From 22f17cf61d5d5c4d2c4e346e3d8792f6fe247d2c Mon Sep 17 00:00:00 2001 From: Prannay Budhraja Date: Wed, 9 Aug 2017 18:39:58 -0700 Subject: [PATCH 001/433] select knob options object keys are strings or numbers only * select knob uses the keys of the "options" object as the selected values, and doesn't support arbitrary types as values. * It only supports arbitrary types for the select->option->child. These are the values in options object. * The value of the select knob or the selected option however, is still either a string or number. Also, since typescript object key signature can only be either "string" or "number" (but not string | number) we need to specify both types explicitly. options : { [s: string | number]: T } does not work. --- types/storybook__addon-knobs/index.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/types/storybook__addon-knobs/index.d.ts b/types/storybook__addon-knobs/index.d.ts index 3e422640c8..11fbfb9cd5 100644 --- a/types/storybook__addon-knobs/index.d.ts +++ b/types/storybook__addon-knobs/index.d.ts @@ -36,8 +36,10 @@ export function color(name: string, value: string): string; export function object(name: string, value: T): T; -export function select(name: string, options: { [s: string]: T }, value: string): T; -export function select(name: string, options: string[], value: string): string; +export function select(name: string, options: { [s: string]: T }, value: string): string; +export function select(name: string, options: { [s: number]: T }, value: number): number; +type SelectValue = string | number; +export function select(name: string, options: T[], value: T): T; export function date(name: string, value?: Date): Date; From 363135abfa412c1bcbc589f85ce6514d0ccac6ca Mon Sep 17 00:00:00 2001 From: Prannay Budhraja Date: Wed, 9 Aug 2017 19:01:06 -0700 Subject: [PATCH 002/433] fix tslint errors --- types/storybook__addon-knobs/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/storybook__addon-knobs/index.d.ts b/types/storybook__addon-knobs/index.d.ts index 11fbfb9cd5..0a83194453 100644 --- a/types/storybook__addon-knobs/index.d.ts +++ b/types/storybook__addon-knobs/index.d.ts @@ -36,9 +36,9 @@ export function color(name: string, value: string): string; export function object(name: string, value: T): T; -export function select(name: string, options: { [s: string]: T }, value: string): string; -export function select(name: string, options: { [s: number]: T }, value: number): number; -type SelectValue = string | number; +export type SelectValue = string | number; +export function select(name: string, options: { [s: string]: string }, value: T): T; +export function select(name: string, options: { [s: number]: string }, value: T): T; export function select(name: string, options: T[], value: T): T; export function date(name: string, value?: Date): Date; From d3e91997e701274c48a089b432000d08926225fe Mon Sep 17 00:00:00 2001 From: Prannay Budhraja Date: Wed, 9 Aug 2017 19:19:54 -0700 Subject: [PATCH 003/433] add tests showing that options object's keys are the values of the React select --- .../storybook__addon-knobs-tests.tsx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/types/storybook__addon-knobs/storybook__addon-knobs-tests.tsx b/types/storybook__addon-knobs/storybook__addon-knobs-tests.tsx index 76c72f1a7d..636dd8cd01 100644 --- a/types/storybook__addon-knobs/storybook__addon-knobs-tests.tsx +++ b/types/storybook__addon-knobs/storybook__addon-knobs-tests.tsx @@ -13,6 +13,11 @@ import { knob, } from '@storybook/addon-knobs'; +enum SomeEnum { + Type1 = 1, + Type2 +}; + const stories = storiesOf('Example of Knobs', module); stories.addDecorator(withKnobs); @@ -38,8 +43,15 @@ stories.add('with all knobs', () => { }); const genericObject: string = object('Some generic object', 'value'); + type X = 'a' | 'b'; - const genericSelect: X = select('Some generic select', { a: 'a', b: 'b'}, 'b'); + const genericSelect: X = select('Some generic select', { 'a': 'type a', 'b': 'type b'}, 'b'); + + const enumSelectOptions: { [s: number]: string } = {}; + enumSelectOptions[SomeEnum.Type1] = "Type 1"; + enumSelectOptions[SomeEnum.Type2] = "Type 2"; + const genericSelect2: SomeEnum = select('Some generic select', enumSelectOptions, SomeEnum.Type1); + const genericKnob: X = knob('Some generic knob', { value: 'a', type: 'text' }); const style = Object.assign({}, customStyle, { From 5cbb71e28c9c0dc7ab2d8716dd37f8611f0cfd2d Mon Sep 17 00:00:00 2001 From: Prannay Budhraja Date: Wed, 9 Aug 2017 19:26:49 -0700 Subject: [PATCH 004/433] tslint errors fixed again --- .../storybook__addon-knobs-tests.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/types/storybook__addon-knobs/storybook__addon-knobs-tests.tsx b/types/storybook__addon-knobs/storybook__addon-knobs-tests.tsx index 636dd8cd01..2600d60850 100644 --- a/types/storybook__addon-knobs/storybook__addon-knobs-tests.tsx +++ b/types/storybook__addon-knobs/storybook__addon-knobs-tests.tsx @@ -16,7 +16,7 @@ import { enum SomeEnum { Type1 = 1, Type2 -}; +} const stories = storiesOf('Example of Knobs', module); @@ -43,15 +43,15 @@ stories.add('with all knobs', () => { }); const genericObject: string = object('Some generic object', 'value'); - + type X = 'a' | 'b'; - const genericSelect: X = select('Some generic select', { 'a': 'type a', 'b': 'type b'}, 'b'); - + const genericSelect: X = select('Some generic select', { a: 'type a', b: 'type b'}, 'b'); + const enumSelectOptions: { [s: number]: string } = {}; enumSelectOptions[SomeEnum.Type1] = "Type 1"; enumSelectOptions[SomeEnum.Type2] = "Type 2"; const genericSelect2: SomeEnum = select('Some generic select', enumSelectOptions, SomeEnum.Type1); - + const genericKnob: X = knob('Some generic knob', { value: 'a', type: 'text' }); const style = Object.assign({}, customStyle, { From c7cba7374e15fed5c8281f50fcc8c309e216d9ad Mon Sep 17 00:00:00 2001 From: Nicolas Penin Date: Thu, 17 Aug 2017 07:08:52 +0200 Subject: [PATCH 005/433] added sequencify --- types/sequencify/index.d.ts | 16 ++++++++++++++ types/sequencify/sequencify-tests.ts | 32 ++++++++++++++++++++++++++++ types/sequencify/tsconfig.json | 19 +++++++++++++++++ types/sequencify/tslint.json | 3 +++ 4 files changed, 70 insertions(+) create mode 100644 types/sequencify/index.d.ts create mode 100644 types/sequencify/sequencify-tests.ts create mode 100644 types/sequencify/tsconfig.json create mode 100644 types/sequencify/tslint.json diff --git a/types/sequencify/index.d.ts b/types/sequencify/index.d.ts new file mode 100644 index 0000000000..dbfdb22e28 --- /dev/null +++ b/types/sequencify/index.d.ts @@ -0,0 +1,16 @@ +// Type definitions for sequencify v0.0 +// Project: https://github.com/robrich/sequencify +// Definitions by: Nicolas Penin +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +// Definition file started by dts-gen + +export = sequencify; + +declare namespace sequencify { + export type Task = { name: string, dep: string[] }; + + export type TaskMap = { [name: string]: Task } +} + +declare function sequencify(tasks: sequencify.TaskMap, names: (keyof sequencify.TaskMap)[], results: string[], nest?: string[]): void; diff --git a/types/sequencify/sequencify-tests.ts b/types/sequencify/sequencify-tests.ts new file mode 100644 index 0000000000..cdb82b3384 --- /dev/null +++ b/types/sequencify/sequencify-tests.ts @@ -0,0 +1,32 @@ +/* Add tests for your definition file here */ + +import * as sequencify from 'sequencify'; + +var items: sequencify.TaskMap = { + a: { + name: 'a', + dep: [] + // other properties as needed + }, + b: { + name: 'b', + dep: ['a'] + }, + c: { + name: 'c', + dep: ['a'] + }, + d: { + name: 'd', + dep: ['c'] + }, +}; + +var names = ['d', 'b', 'c', 'a']; // The names of the items you want arranged, need not be all + +var results: string[] = []; + +sequencify(items, names, results); + +console.log(results); +// ['a','b','c','d']; diff --git a/types/sequencify/tsconfig.json b/types/sequencify/tsconfig.json new file mode 100644 index 0000000000..a0f1b28bcf --- /dev/null +++ b/types/sequencify/tsconfig.json @@ -0,0 +1,19 @@ +{ + "files": [ + "index.d.ts", + "sequencify-tests.ts" + ], + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "strictNullChecks": false, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + } +} \ No newline at end of file diff --git a/types/sequencify/tslint.json b/types/sequencify/tslint.json new file mode 100644 index 0000000000..e60c15844f --- /dev/null +++ b/types/sequencify/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "dtslint/dt.json" +} \ No newline at end of file From 093edfc11f282573bb4c08451b077b60e21cd07e Mon Sep 17 00:00:00 2001 From: Nicolas Penin Date: Thu, 17 Aug 2017 07:18:43 +0200 Subject: [PATCH 006/433] updated tsconfig to match PR rules --- types/sequencify/tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/sequencify/tsconfig.json b/types/sequencify/tsconfig.json index a0f1b28bcf..487ca81db3 100644 --- a/types/sequencify/tsconfig.json +++ b/types/sequencify/tsconfig.json @@ -7,7 +7,8 @@ "module": "commonjs", "target": "es6", "noImplicitAny": true, - "strictNullChecks": false, + "noImplicitThis": true, + "strictNullChecks": true, "baseUrl": "../", "typeRoots": [ "../" From 613daf6bcad03d73c601e8dad2a7a2d9d846d8ed Mon Sep 17 00:00:00 2001 From: Nicolas Penin Date: Thu, 17 Aug 2017 19:52:20 +0200 Subject: [PATCH 007/433] fixed tslint issues --- types/sequencify/index.d.ts | 14 ++++++++++---- types/sequencify/sequencify-tests.ts | 8 +++++--- types/sequencify/tsconfig.json | 3 +++ 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/types/sequencify/index.d.ts b/types/sequencify/index.d.ts index dbfdb22e28..bd514b70ec 100644 --- a/types/sequencify/index.d.ts +++ b/types/sequencify/index.d.ts @@ -1,16 +1,22 @@ -// Type definitions for sequencify v0.0 +// Type definitions for sequencify 0.0 // Project: https://github.com/robrich/sequencify // Definitions by: Nicolas Penin // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // Definition file started by dts-gen +// TypeScript Version: 2.1 export = sequencify; declare namespace sequencify { - export type Task = { name: string, dep: string[] }; + interface Task { + name: string; + dep: string[]; + } - export type TaskMap = { [name: string]: Task } + interface TaskMap { + [name: string]: Task; + } } -declare function sequencify(tasks: sequencify.TaskMap, names: (keyof sequencify.TaskMap)[], results: string[], nest?: string[]): void; +declare function sequencify(tasks: sequencify.TaskMap, names: Array, results: string[], nest?: string[]): void; diff --git a/types/sequencify/sequencify-tests.ts b/types/sequencify/sequencify-tests.ts index cdb82b3384..80907278f1 100644 --- a/types/sequencify/sequencify-tests.ts +++ b/types/sequencify/sequencify-tests.ts @@ -1,8 +1,10 @@ /* Add tests for your definition file here */ +/// + import * as sequencify from 'sequencify'; -var items: sequencify.TaskMap = { +let items: sequencify.TaskMap = { a: { name: 'a', dep: [] @@ -22,9 +24,9 @@ var items: sequencify.TaskMap = { }, }; -var names = ['d', 'b', 'c', 'a']; // The names of the items you want arranged, need not be all +let names = ['d', 'b', 'c', 'a']; // The names of the items you want arranged, need not be all -var results: string[] = []; +let results: string[] = []; sequencify(items, names, results); diff --git a/types/sequencify/tsconfig.json b/types/sequencify/tsconfig.json index 487ca81db3..fb43176f7c 100644 --- a/types/sequencify/tsconfig.json +++ b/types/sequencify/tsconfig.json @@ -13,6 +13,9 @@ "typeRoots": [ "../" ], + "lib": [ + "es6" + ], "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true From 84fe7d96fba63b35930e132e9f94485a7bfb0905 Mon Sep 17 00:00:00 2001 From: Nicolas Penin Date: Tue, 22 Aug 2017 20:36:50 +0200 Subject: [PATCH 008/433] strongly typed function --- types/sequencify/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/sequencify/index.d.ts b/types/sequencify/index.d.ts index bd514b70ec..2755df8bce 100644 --- a/types/sequencify/index.d.ts +++ b/types/sequencify/index.d.ts @@ -19,4 +19,4 @@ declare namespace sequencify { } } -declare function sequencify(tasks: sequencify.TaskMap, names: Array, results: string[], nest?: string[]): void; +declare function sequencify(tasks: T, names: Array, results: Array, nest?: string[]): void; From b2015d021200371aee6a5ee15c6012db043f286d Mon Sep 17 00:00:00 2001 From: Johan Nordberg Date: Thu, 31 Aug 2017 14:37:48 +0200 Subject: [PATCH 009/433] Update VError constructor VError constructor can be called with no arguments --- types/verror/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/verror/index.d.ts b/types/verror/index.d.ts index ec2cb0f698..391a373a6c 100644 --- a/types/verror/index.d.ts +++ b/types/verror/index.d.ts @@ -31,6 +31,7 @@ declare class VError extends Error { cause(): Error | undefined; constructor(options: VError.Options | Error, message: string, ...params: any[]); constructor(message: string, ...params: any[]); + constructor(); } declare namespace VError { From bead197886f9e35acd6901d41081829f46c56ef2 Mon Sep 17 00:00:00 2001 From: David Paz Date: Fri, 15 Sep 2017 16:34:18 +0200 Subject: [PATCH 010/433] Update currency-formatter api Add unformat() function and add missing option to format function options --- types/currency-formatter/index.d.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/types/currency-formatter/index.d.ts b/types/currency-formatter/index.d.ts index 67591738ab..92d7259a56 100644 --- a/types/currency-formatter/index.d.ts +++ b/types/currency-formatter/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for currency-formatter 1.0 // Project: https://github.com/smirzaei/currency-formatter#readme // Definitions by: Mohamed Hegazy +// David Paz // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export interface Currency { @@ -18,6 +19,7 @@ export const defaultCurrency: Currency; export function findCurrency(currencyCode: string): Currency; export function format(value: number, options: { code?: string, + locale?: string, symbol?: string, decimal?: string, thousand?: string, @@ -28,3 +30,17 @@ export function format(value: number, options: { zero: string } }): string; + +export function unformat(value: string, options: { + code?: string, + locale?: string, + symbol?: string, + decimal?: string, + thousand?: string, + precision?: number, + format?: string | { + pos: string, + neg: string, + zero: string + } +}): number; From 39a4cf5261c35a9646f6f94693c86c5212805ea9 Mon Sep 17 00:00:00 2001 From: David Paz Date: Fri, 15 Sep 2017 16:35:36 +0200 Subject: [PATCH 011/433] Update tests for currency-formatter --- types/currency-formatter/currency-formatter-tests.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/types/currency-formatter/currency-formatter-tests.ts b/types/currency-formatter/currency-formatter-tests.ts index f06f53ce05..83617a6404 100644 --- a/types/currency-formatter/currency-formatter-tests.ts +++ b/types/currency-formatter/currency-formatter-tests.ts @@ -3,12 +3,21 @@ import currencyFormatter = require('currency-formatter'); currencyFormatter.format(1000000, { code: 'USD' }); // => '$1,000,000.00' +currencyFormatter.unformat('$1,000,000.00', { code: 'USD' }); +// => 1000000 + currencyFormatter.format(1000000, { code: 'GBP' }); // => '£1,000,000.00' +currencyFormatter.unformat('£1,000,000.00', { code: 'GBP' }); +// => 1000000 + currencyFormatter.format(1000000, { code: 'EUR' }); // => '1 000 000,00 €' +currencyFormatter.unformat('1 000 000,00 €', { code: 'EUR' }); +// => 1000000 + currencyFormatter.findCurrency('USD'); // returns: // { From 4b7c067a36f05c88ff0ebe9b0426a2d8300892d4 Mon Sep 17 00:00:00 2001 From: David Paz Date: Fri, 15 Sep 2017 16:40:49 +0200 Subject: [PATCH 012/433] Update currency-formatter version header --- types/currency-formatter/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/currency-formatter/index.d.ts b/types/currency-formatter/index.d.ts index 92d7259a56..88eb453d2d 100644 --- a/types/currency-formatter/index.d.ts +++ b/types/currency-formatter/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for currency-formatter 1.0 +// Type definitions for currency-formatter 1.3.0 // Project: https://github.com/smirzaei/currency-formatter#readme // Definitions by: Mohamed Hegazy // David Paz From 991abfcd75281e38d02138bb9cabf60c95aa3d7a Mon Sep 17 00:00:00 2001 From: Adi Bardan Date: Sun, 17 Sep 2017 11:20:10 +0200 Subject: [PATCH 013/433] twitter-stream-channels - fix parameters for StreamChannels: stop() --- types/twitter-stream-channels/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/twitter-stream-channels/index.d.ts b/types/twitter-stream-channels/index.d.ts index 486b02edaf..20708c75b1 100644 --- a/types/twitter-stream-channels/index.d.ts +++ b/types/twitter-stream-channels/index.d.ts @@ -48,12 +48,12 @@ declare module 'twitter-stream-channels' { /** * Closes the opened stream with Twitter * @method stop - * @param {StreamChannelsOptions} [options] - * @param {StreamChannelsOptions} [options.removeAllListeners=false] If true removes all the listeners set on the stream + * @param {Object} [options] + * @param {Object} [options.removeAllListeners=false] If true removes all the listeners set on the stream * @returns {StreamChannels} * @see https://github.com/topheman/twitter-stream-channels/blob/master/lib/StreamChannels.js#L120 */ - stop(options?: StreamChannels.StreamChannelsOptions): StreamChannels; + stop(options?: {removeAllListeners: boolean}): StreamChannels; /** From 6407fad3ae4109f4098ad52d0c5322898cebc11c Mon Sep 17 00:00:00 2001 From: huhuanming Date: Tue, 19 Sep 2017 01:10:32 +0800 Subject: [PATCH 014/433] Add Fetch and Remove dom in tsconfig --- types/react-native/globals.d.ts | 2 ++ types/react-native/index.d.ts | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/types/react-native/globals.d.ts b/types/react-native/globals.d.ts index baaaa261d7..4753591ff6 100644 --- a/types/react-native/globals.d.ts +++ b/types/react-native/globals.d.ts @@ -18,3 +18,5 @@ declare function setImmediate(handler: (...args: any[]) => void): number; declare function cancelAnimationFrame(handle: number): void; declare function requestAnimationFrame(callback: (time: number) => void): number; + +declare function fetch(input: RequestInfo, init?: RequestInit): Promise; diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index f02bd5d45e..38f1be82d6 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -8468,11 +8468,6 @@ export interface ImageStoreStatic { ): void } -// Network Polyfill -// TODO: Add proper support for fetch -export type fetch = (url: string, options?: Object) => Promise -export const fetch: fetch; - export interface TabsReducerStatic { JumpToAction(index: number): any; } From c0ccefc056068f557f53d083dc2e8658de5ec6fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20de=20=C3=81vila=20Martins?= Date: Tue, 26 Sep 2017 22:15:59 -0300 Subject: [PATCH 015/433] Change vec2.cross out from vec2 to vec3 There is a mathematical reasoning behind it but I'm in a bit o a hurry to explain. Anyway, it works like this and it's documented like this. http://glmatrix.net/docs/module-vec2.html --- types/gl-matrix/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/gl-matrix/index.d.ts b/types/gl-matrix/index.d.ts index d39496e20d..df55ace30d 100644 --- a/types/gl-matrix/index.d.ts +++ b/types/gl-matrix/index.d.ts @@ -343,7 +343,7 @@ declare module 'gl-matrix' { * @param b the second operand * @returns out */ - public static cross(out: vec2, a: vec2 | number[], b: vec2 | number[]): vec2; + public static cross(out: vec3, a: vec2 | number[], b: vec2 | number[]): vec2; /** * Performs a linear interpolation between two vec2's From 6dbf75088ceb15822d7887469dcd752abd0a3be3 Mon Sep 17 00:00:00 2001 From: Adi Bardan Date: Wed, 27 Sep 2017 22:53:50 +0300 Subject: [PATCH 016/433] twitter-stream-channels - replace Object with object --- types/twitter-stream-channels/index.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/types/twitter-stream-channels/index.d.ts b/types/twitter-stream-channels/index.d.ts index 20708c75b1..367d34ff8a 100644 --- a/types/twitter-stream-channels/index.d.ts +++ b/types/twitter-stream-channels/index.d.ts @@ -18,7 +18,7 @@ declare module 'twitter-stream-channels' { } export interface StreamChannelsOptions { - track?: Object, + track?: object, follow?: string, locations?: string, enableChannelsEvents?: boolean, @@ -48,8 +48,8 @@ declare module 'twitter-stream-channels' { /** * Closes the opened stream with Twitter * @method stop - * @param {Object} [options] - * @param {Object} [options.removeAllListeners=false] If true removes all the listeners set on the stream + * @param {object} [options] + * @param {object} [options.removeAllListeners=false] If true removes all the listeners set on the stream * @returns {StreamChannels} * @see https://github.com/topheman/twitter-stream-channels/blob/master/lib/StreamChannels.js#L120 */ @@ -89,7 +89,7 @@ declare module 'twitter-stream-channels' { /** * @class TwitterStreamChannels - * @param {Object} credentials + * @param {object} credentials * @param {String} credentials.consumer_key * @param {String} credentials.consumer_secret * @param {String} credentials.access_token @@ -115,8 +115,8 @@ declare module 'twitter-stream-channels' { /** * Opens a Twitter Stream and returns you an other one on which you'll be able to attach events for each channels * @method streamChannels - * @param {Object} options You can use the same filter options as described in the Twitter stream API for `statuses/filter` https://dev.twitter.com/docs/api/1.1/post/statuses/filter - * @param {Object|Array} options.track Pass an object describing your channels. If you don't want to use channels, you can pass directly an array of keywords. + * @param {object} options You can use the same filter options as described in the Twitter stream API for `statuses/filter` https://dev.twitter.com/docs/api/1.1/post/statuses/filter + * @param {object|Array} options.track Pass an object describing your channels. If you don't want to use channels, you can pass directly an array of keywords. * @param {String} [options.follow] A comma separated list of user IDs, indicating the users to return statuses for in the stream * @param {String} [options.locations] Specifies a set of bounding boxes to track. More about how to format this parameter here : https://dev.twitter.com/docs/streaming-apis/parameters#locations * @param {Boolean} [options.enableChannelsEvents=true] If true, will fire the events like 'channels/channelName' From 0f7a9b356b0f35a3eb9877bbe191dfe77cea4605 Mon Sep 17 00:00:00 2001 From: Syncfusion-JavaScript Date: Fri, 29 Sep 2017 15:55:41 +0530 Subject: [PATCH 017/433] 15.3.33 added --- types/ej.web.all/ej.web.all-tests.ts | 6603 +++++++++++++------------- types/ej.web.all/index.d.ts | 194 +- 2 files changed, 3452 insertions(+), 3345 deletions(-) diff --git a/types/ej.web.all/ej.web.all-tests.ts b/types/ej.web.all/ej.web.all-tests.ts index 9332c9bf1f..742f54463e 100644 --- a/types/ej.web.all/ej.web.all-tests.ts +++ b/types/ej.web.all/ej.web.all-tests.ts @@ -1,3300 +1,3303 @@ -/* tslint:disable */ - -module AccordionComponent { - $(function () { - var sample = new ej.Accordion($("#basicAccordion"), { - width: "100%", - allowKeyboardNavigation: true, - collapseSpeed: 500, - collapsible: true, - enableAnimation: true, - enableMultipleOpen: true, - events: "click", - expandSpeed: 500, - headerSize: "40px", - htmlAttributes: { title: "Demo" }, - selectedItemIndex: 1, - showCloseButton: true, - showRoundedCorner: true - }); - }); -} - - - -module AutocompleteComponent{ - var carList = [ - "Audi S6", "Austin-Healey", "Alfa Romeo", "Aston Martin", - "BMW 7", "Bentley Mulsanne", "Bugatti Veyron", - "Chevrolet Camaro", "Cadillac", - "Duesenberg J", "Dodge Sprinter", - "Elantra", "Excavator", - "Ford Boss 302", "Ferrari 360", "Ford Thunderbird", - "GAZ Siber", - "Honda S2000", "Hyundai Santro", - "Isuzu Swift", "Infiniti Skyline", - "Jaguar XJS", - "Kia Sedona EX", "Koenigsegg Agera", - "Lotus Esprit", "Lamborghini Diablo", - "Mercedes-Benz", "Mercury Coupe", "Maruti Alto 800", - "Nissan Qashqai", - "Oldsmobile S98", "Opel Superboss", - "Porsche 356", "Pontiac Sunbird", - "Scion SRS/SC/SD", "Saab Sportcombi", "Subaru Sambar", "Suzuki Swift", - "Triumph Spitfire", "Toyota 2000GT", - "Volvo P1800", "Volkswagen Shirako" - ]; - $(function () { - var autocompleteInstance =new ej.Autocomplete($("#selectCar"), { - width: "100%", - watermarkText: "Select a car", - dataSource: carList, - enableAutoFill: true, - showPopupButton: true, - multiSelectMode: "delimiter" - }); - }); -} - - - - - -module Barcodecomponent { - $(function () { - var barcodesample = new ej.datavisualization.Barcode($("#Barcode"), { - text:"http://www.syncfusion.com" - }); - }); -} - - - - - -module Bulletgraphcomponent { - $(function () { - var bulletsample = new ej.datavisualization.BulletGraph($("#BulletGraph"), { - isResponsive: true, - tooltipSettings: { visible: true }, - quantitativeScaleSettings: { - featureMeasures: [{ - value: 8, comparativeMeasureValue:6.7 - }] - }, - qualitativeRanges: [{ - rangeEnd: 4.3, rangeStroke:"#ebebeb", - }, - { - rangeEnd: 7.3, rangeStroke:"#d8d8d8" - }, - { - rangeEnd: 10, rangeStroke: "#7f7f7f" - } - ], - captionSettings: { - textPosition: 'right', text: 'Revenue YTD', - subTitle: { - text: "$ in Thousands", textPosition:"right" - } - } - }); - }); -} - - - - - -module ButtonComponent { - $(function () { - var basicButton = new ej.Button($("#buttonnormal"), { - size: "large", - showRoundedCorner: true, - contentType: "textandimage", - prefixIcon: "e-icon e-save", - text: "Save" - }); - var toggleButton = new ej.ToggleButton($("#TextOnly"), { - showRoundedCorner: true, - size: "large", - contentType: "textandimage", - defaultPrefixIcon: "e-icon e-save", - activePrefixIcon: "e-icon e-delete", - defaultText: "Save", - activeText: "Delete" - }); - var splitbuttonnormal = new ej.SplitButton($("#splitbuttonnormal"), { - showRoundedCorner: true, - size: "large", - prefixIcon: "e-icon e-file-empty", - targetID: "menu1", - contentType: "textandimage", - text: "File" - }); - var groupButton = new ej.GroupButton($("#groupButton"), { - showRoundedCorner: true, - size: "large" - }); - var check1 = new ej.CheckBox($("#check1"), { - size: "medium", enableTriState: true - }); - var check2 = new ej.CheckBox($("#check2"), { - size: "medium", enableTriState: true - }); - var radio1 = new ej.RadioButton($("#radio1"), { - size: "medium" - }); - var radio2 = new ej.RadioButton($("#radio2"), { - size: "medium", checked: true - }); - }); -} - - - - -module ChartComponent { - $(function () { - var chartsample = new ej.datavisualization.Chart($("#Chart"), { - primaryXAxis: { - range: { min: 2005, max: 2011, interval: 1 }, - title: { text: "Year" }, - valueType: "category" - }, - primaryYAxis: { - range: { min: 25, max: 50, interval: 5 }, - labelFormat: "{value}%", - title: { text: "Efficiency" }, - - }, - commonSeriesOptions: - { - type: 'line', enableAnimation: true, - tooltip:{ visible :true, template:'Tooltip'}, - marker: - { - shape: 'circle', - size: - { - height: 10, width: 10 - }, - visible: true - }, - border : {width: 2} - }, - series: - [ - { - points: [{ x: 2005, y: 28 }, { x: 2006, y: 25 },{ x: 2007, y: 26 }, { x: 2008, y: 27 }, - { x: 2009, y: 32 }, { x: 2010, y: 35 }, { x: 2011, y: 30 }], - name: 'India' - }, - { - points: [{ x: 2005, y: 31 }, { x: 2006, y: 28 },{ x: 2007, y: 30 }, { x: 2008, y: 36 }, - { x: 2009, y: 36 }, { x: 2010, y: 39 }, { x: 2011, y: 37 }], - name: 'Germany' - }, - { - points: [{ x: 2005, y: 36 }, { x: 2006, y: 32 },{ x: 2007, y: 34 }, { x: 2008, y: 41 }, - { x: 2009, y: 42 }, { x: 2010, y: 42 }, { x: 2011, y: 43 }], - name: 'England' - }, - { - points: [{ x: 2005, y: 39 }, { x: 2006, y: 36 },{ x: 2007, y: 40 }, { x: 2008, y: 44 }, - { x: 2009, y: 45 }, { x: 2010, y: 48 }, { x: 2011, y: 46 }], - name: 'France' - } - ], - isResponsive: true, - load: function () { - var sender = $("#Chart").data("ejChart"); - if (!!window.orientation && sender) { //to modify chart properties for mobile view - var model = sender.model, - seriesLength = model.series.length; - model.legend.visible = false; - model.size.height = null; - model.size.width = null; - for (var i = 0; i < seriesLength; i++) { - if (!model.series[i].marker) - model.series[i].marker = {}; - if (!model.series[i].marker.size) - model.series[i].marker.size = {}; - model.series[i].marker.size.width = 6; - model.series[i].marker.size.height = 6; - } - model.primaryXAxis.labelIntersectAction = "rotate45"; - if (model.primaryXAxis.title) - model.primaryXAxis.title.text = ""; - if (model.primaryYAxis.title) - model.primaryYAxis.title.text = ""; - model.primaryXAxis.edgeLabelPlacement = "hide"; - model.primaryYAxis.labelIntersectAction = "rotate45"; - model.primaryYAxis.edgeLabelPlacement = "hide"; - } - }, - title: { text: 'Efficiency of oil-fired power production' }, - size: { height: "600" }, - legend: { visible: true} - }); - }); -} - - - - - -module circulargaugecomponent { - $(function () { - var circularsample = new ej.datavisualization.CircularGauge($("#CircularGauge"), { - enableAnimation: false, - isResponsive: true, - backgroundColor: "transparent", width: 500, - scales: [{ - showRanges: true, - startAngle: 122, sweepAngle: 296, radius: 130, showScaleBar: true, size: 1, maximum: 120, majorIntervalValue: 20, minorIntervalValue: 10, - border: { - width: 0.5, - }, - pointers: [{ - value: 60, - showBackNeedle: true, - backNeedleLength: 20, - length: 95, - width: 7 - }], - ticks: [{ - type: "major", - distanceFromScale: 2, - height: 16, - width: 1, color: "#8c8c8c" - }, { type: "minor", height: 8, width: 1, distanceFromScale: 2, color: "#8c8c8c" }], - labels: [{ - color: "#8c8c8c" - }], - ranges: [{ - distanceFromScale: -30, - startValue: 0, - endValue: 70 - }, { - distanceFromScale: -30, - startValue: 70, - endValue: 110, - backgroundColor: "#fc0606", - border: { color: "#fc0606" } - }, - { - distanceFromScale: -30, - startValue: 110, - endValue: 120, - backgroundColor: "#f5b43f", - border: { color: "#f5b43f" } - }] - }] - }); - }); -} - - - - -module ColorPickerComponent { - $(function () { - var colorSample = new ej.ColorPicker($("#colorpick"), { - value: "#278787" - }); - }); -} - - - - -module DatePickerComponent { - $(function () { - var dateSample = new ej.DatePicker($("#datepick"), { - width: "100%" - }); - }); -} - - - - -module DateTimePickerComponent { - $(function () { - var datetimeSample = new ej.DateRangePicker($("#daterangepick"), { - width: "100%" - }); - }); -} - - - -module DateTimePickerComponent { - $(function () { - var datetimeSample = new ej.DateTimePicker($("#datetimepick"), { - width: "100%" - }); - }); -} - - - -$(function () { - var diagram = new ej.datavisualization.Diagram($("#diagram"), { - width: "1000px", - height: "600px", - pageSettings: { - //Sets page size - pageHeight: 500, - pageWidth: 500, - //Customizes the appearance of page - pageBorderWidth: 4, - pageBackgroundColor: "white", - pageBorderColor: "lightgray", - pageMargin: 25, - showPageBreak: true, - multiplePage: true, - pageOrientation: ej.datavisualization.Diagram.PageOrientations.Portrait - }, - scrollSettings: { - horizontalOffset: 0, - verticalOffset: 0 - }, - snapSettings: { - snapConstraints: ej.datavisualization.Diagram.SnapConstraints.ShowLines - }, - nodes: [ - createNode({ name: "NewIdea", width: 150, height: 60, offsetX: 300, offsetY: 60, labels: [createLabel({ "text": "New idea identified" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Terminator }), - createNode({ name: "Meeting", width: 150, height: 60, offsetX: 300, offsetY: 155, labels: [createLabel({ "text": "Meeting with board" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Process }), - createNode({ - name: "BoardDecision", width: 150, height: 110, offsetX: 300, offsetY: 280, labels: [createLabel({ text: "Board decides \nwhether \nto proceed", wrapText: "true", "margin": { left: 20, top: 0, right: 20, bottom: 0 } })], - type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Decision - }), - createNode({ name: "Project", width: 150, height: 100, offsetX: 300, offsetY: 430, labels: [createLabel({ "text": "Find Project \nmanager" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Decision }), - createNode({ - name: "End", width: 150, height: 60, offsetX: 300, offsetY: 555, labels: [createLabel({ "text": "Implement and Deliver" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Process }), - createNode({ name: "Decision", width: 250, height: 60, offsetX: 550, offsetY: 60, labels: [createLabel({ "text": "Decision Process for new software ideas" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Card, fillColor: "#858585", borderColor: "#858585" }), - createNode({ name: "Reject", width: 150, height: 60, offsetX: 550, offsetY: 285, labels: [createLabel({ "text": "Reject and write report" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Process }), - createNode({ name: "Resources", width: 150, height: 60, offsetX: 550, offsetY: 430, labels: [createLabel({ "text": "Hire new resources" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Process }) - ], - connectors: [ - createConnector({ name: "connector1", sourceNode: "NewIdea", targetNode: "Meeting" }), - createConnector({ name: "connector2", sourceNode: "Meeting", targetNode: "BoardDecision" }), - createConnector({ name: "connector3", sourceNode: "BoardDecision", targetNode: "Project", labels: [createLabel({ "text": "Yes" })] }), - createConnector({ name: "connector4", sourceNode: "Project", targetNode: "End", labels: [createLabel({ "text": "Yes" })] }), - createConnector({ name: "connector5", sourceNode: "BoardDecision", targetNode: "Reject", labels: [createLabel({ "text": "No" })] }), - createConnector({ name: "connector6", sourceNode: "Project", targetNode: "Resources", labels: [createLabel({ "text": "No" })] }) - ] - }); - -}); - -function createNode(option: ej.datavisualization.Diagram.Node) { - if (!option.fillColor) { - option.borderColor = "#1BA0E2"; - option.fillColor = "#1BA0E2"; - } - option.labels[0].fontColor = "white"; - return option; -} - -function createConnector(option: ej.datavisualization.Diagram.Connector) { - option.targetDecorator = { shape: ej.datavisualization.Diagram.DecoratorShapes.Arrow, borderColor: "#606060", width: 10, height: 10 }; - option.lineColor = "#606060"; - if (option.labels && option.labels.length > 0) { - option.labels[0].fillColor = "white"; - } - return option; -} - -function createLabel(options : any) { - return options; -} - - - -module DialogComponent { - $(function () { - var dialogInstance = new ej.Dialog($("#basicDialog"), { - width: 550, - minWidth: 310, - minHeight: 215, - target:".control", - close:()=>{ - $("#btnOpen").show();} - }); - var btnInstance = new ej.Button($("#btnOpen"), { - size: "medium", - click: ()=>{ - $("#btnOpen").hide(); - $("#basicDialog").ejDialog("open");}, - type: "button", - height: 30, - width: 150 - }); - }); -} - - - - -module digitalgaugecomponent { - $(function () { - var digitalgaugesample = new ej.datavisualization.DigitalGauge($("#DigitalGauge"), { - width: 525, - height: 305, - isResponsive: true, - items: [{ - segmentSettings: { - width: 1, - spacing: 0, - color: "#8c8c8c" - }, - characterSettings: { - opacity: 0.8, - }, - value: "Syncfusion", - position: { x: 52, y: 52 } - }] - }); - }); -} - - - - - - -module DropDownListComponent { - var BikeList = [ - { empid: "bk1", text: "Apache RTR" }, { empid: "bk2", text: "CBR 150-R" }, { empid: "bk3", text: "CBZ Xtreme" }, - { empid: "bk4", text: "Discover" }, { empid: "bk5", text: "Dazzler" }, { empid: "bk6", text: "Flame" }, - { empid: "bk7", text: "Fazzer" }, { empid: "bk8", text: "FZ-S" }, { empid: "bk9", text: "Pulsar" }, - { empid: "bk10", text: "Shine" }, { empid: "bk11", text: "R15" }, { empid: "bk12", text: "Unicorn" } - ]; - $(function () { - var sample = new ej.DropDownList($("#bikeList"),{ - dataSource: BikeList, - width: "100%", - watermarkText: "Select a bike", - fields: { id: "empid", text: "text", value: "text" }, - enableFilterSearch: true, - caseSensitiveSearch: true, - enableIncrementalSearch: true, - enablePopupResize: true, - delimiterChar: ";", - multiSelectMode: ej.MultiSelectMode.Delimiter, - maxPopupHeight: "300px", - minPopupHeight: "150px", - maxPopupWidth: "500px", - minPopupWidth: "350px", - showCheckbox: true, - showRoundedCorner: true - }); - }); - -} - - - - - - -module ExplorerComponent { - $(function () { - var file = new ej.FileExplorer($("#fileExplorer"), { - path: (window).baseurl + "Content/FileBrowser/", - width: "100%", - minWidth: "150px", - layout: "tile", - isResponsive: true, - ajaxAction: (window).baseurl + "api/FileExplorer/FileOperations" - }); - }); -} - - - - -module GanttComponent { - $(function () { - var ganttInstance = new ej.Gantt($("#GanttContainer"), { - dataSource: (window).projectData, - allowColumnResize: true, - allowSorting: true, - allowSelection: true, - enableContextMenu: true, - taskIdMapping: "taskID", - allowDragAndDrop: true, - taskNameMapping: "taskName", - startDateMapping: "startDate", - showColumnChooser: true, - showColumnOptions: true, - progressMapping: "progress", - durationMapping: "duration", - endDateMapping: "endDate", - childMapping: "subtasks", - scheduleStartDate: "02/01/2014", - scheduleEndDate: "04/09/2014", - //Resources mapping - resourceInfoMapping: "resourceId", - resourceNameMapping: "resourceName", - resourceIdMapping: "resourceId", - resources: (window).projectResources, - predecessorMapping: "predecessor", - showResourceNames: true, - toolbarSettings: { - showToolbar: true, - toolbarItems: ["add","edit","delete","update","cancel","indent","outdent","expandAll","collapseAll","search"] - }, - editSettings: { - allowEditing: true, - allowAdding: true, - allowDeleting: true, - allowIndent: true, - editMode: "cellEditing" - }, - sizeSettings: { - width: "100%", - height: "100%" - }, - dragTooltip: { showTooltip: true }, - showGridCellTooltip: true, - treeColumnIndex: 1, - isResponsive: true, - }); -}); -} - - - -module GridComponent { - $(function () { - var gridInstance = new ej.Grid($("#Grid"), { - dataSource: (window).gridData, - allowGrouping: true, - allowSorting: true, - allowMultiSorting: true, - enableAltRow: true, - allowPaging: true, - allowReordering: true, - allowResizing: true, - allowFiltering: true, - allowScrolling: true, - enableRowHover: true, - selectionType: "multiple", - selectionSettings: { enableToggle: true, selectionMode: ["row", "cell", "column"] }, - allowKeyboardNavigation: true, - editSettings: { allowEditing: true, allowAdding: true, allowDeleting: true, allowEditOnDblClick: true, showDeleteConfirmDialog: true }, - toolbarSettings: { showToolbar: true, toolbarItems: ["add", "edit", "delete", "update", "cancel", "search"] }, - columns: [ - { field: "OrderID", headerText: "Order ID", isPrimaryKey: true, width: 75, textAlign: ej.TextAlign.Right }, - { field: "CustomerID", headerText: "Customer ID", editType: ej.Grid.EditingType.String, width: 80 }, - { field: "EmployeeID", headerText: "Employee ID", width: 75, editType: ej.Grid.EditingType.Dropdown, textAlign: ej.TextAlign.Right, priority: 4 }, - { field: "Freight", width: 75, format: "{0:C}", editType: ej.Grid.EditingType.Numeric, textAlign: ej.TextAlign.Right, priority: 3 }, - { field: "OrderDate", headerText: "Order Date", width: 80, format: "{0:MM/dd/yyyy}", textAlign: ej.TextAlign.Right, priority: 2 }, - { field: "ShipCity", headerText: "Ship City", editType: ej.Grid.EditingType.Dropdown, width: 110, priority: 2 } - ], - isResponsive: true, - minWidth: 700, - showSummary: true, - summaryRows: [{ title: "Sum", summaryColumns: [{ summaryType: ej.Grid.SummaryType.Sum, displayColumn: "Freight", dataMember: "Freight", format: "{0:C2}" }] }] - }); - }); -} - - - -var columns = ["Vegie-spread", "Tofuaa", "Alice Mutton", "Konbu", "Fl�temysost"] -var itemSource: any[] = []; -for (var i = 0; i < columns.length; i++) { - for (var j = 0; j < 6; j++) { - var value = Math.floor((Math.random() * 100) + 1); - itemSource.push({ ProductName: columns[i], Year: "Y" + (2011 + j), Value: value }) - } -} - -$(function () { - var heatmap = new ej.datavisualization.HeatMap($("#heatmap"), { - colorMappingCollection: [ - { value: 0, color: "#8ec8f8", label: { text: "0" } }, - { value: 100, color: "#0d47a1", label: { text: "100" } } - ], - isResponsive: true, - itemsSource: itemSource, - width: "100%", - itemsMapping: { - column: { propertyName: "ProductName", displayName: "Product Name" }, - row: { propertyName: "Year", displayName: "Year" }, - value: { propertyName: "Value" }, - columnMapping: [ - { "propertyName": columns[0], "displayName": columns[0] }, - { "propertyName": columns[1], "displayName": columns[1] }, - { "propertyName": columns[2], "displayName": columns[2] }, - { "propertyName": columns[3], "displayName": columns[3] }, - { "propertyName": columns[4], "displayName": columns[4] }, - { "propertyName": columns[5], "displayName": columns[5] } - ], - headerMapping: { propertyName: "Year", displayName: "Year", columnStyle: { width: 105, textAlign: "right" } }, - }, - legendCollection: ["heatmap_legend"] - }); - var heatmaplegend = new ej.datavisualization.HeatMapLegend($("#heatmap_legend"), { - colorMappingCollection: [ - { value: 0, color: "#8ec8f8", label: { text: "0" } }, - { value: 100, color: "#0d47a1", label: { text: "100" } } - ], - height: "50px", - width: "75%", - isResponsive: true - }); -}); - - - - -declare var window:myWindow; -export interface myWindow extends Window{ -kanbanData:any; -} -module KanbanComponent { - $(function () { - var sample = new ej.Kanban($("#Kanban"), { - dataSource: new ej.DataManager(window["kanbanData"]).executeLocal(new ej.Query().take(20)), - columns: [ - { headerText: "Backlog", key: "Open" }, - { headerText: "In Progress", key: "InProgress" }, - { headerText: "Testing", key: "Testing" }, - { headerText: "Done", key: "Close" } - ], - keyField: "Status", - allowTitle: true, - fields: { - content: "Summary", - primaryKey: "Id", - imageUrl: "ImgUrl" - }, - allowSelection: false - }); - }); -} - - - - -module lineargaugecomponent { - $(function () { - var linearsample = new ej.datavisualization.LinearGauge($("#LinearGauge"), { - labelColor: "#8c8c8c", width: 500, - isResponsive: true, enableAnimation: false, - scales: [{ - width: 4, border: { color: "transparent", width: 0 }, showBarPointers: false, showRanges: true, length: 310, - position: { x: 52, y: 50 }, markerPointers: [{ - value: 50, length: 10, width: 10, backgroundColor: "#4D4D4D", border: { color: "#4D4D4D" } - }], - labels: [{ font: { size: "11px", fontFamily: "Segoe UI", fontStyle: "bold" }, distanceFromScale: { x: -13 } }], - ticks: [{ type: "majorinterval", width: 1, color: "#8c8c8c" }], - ranges: [{ - endValue: 60, - startValue: 0, - backgroundColor: "#F6B53F", - border: { color: "#F6B53F" }, startWidth: 4, endWidth: 4 - }, { - endValue: 100, - startValue: 60, - backgroundColor: "#E94649", - border: { color: "#E94649" }, startWidth: 4, endWidth: 4 - }] - }] - }); - }); -} - - - - - -module ListBoxComponent { - $(function () { - var listboxInstance = new ej.ListBox($("#selectcar"), { - showCheckbox: true - }); - }); -} - - - -module ListviewComponent { - $(function () { - var listviewInstance = new ej.ListView($("#defaultlistview"), { - enableCheckMark: true, - width: 400 - }); - }); -} - - -var world_map= - { - "type": "FeatureCollection", - "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, - "features": [ - { "type": "Feature", "properties": { "admin": "Afghanistan", "name": "Afghanistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[61.21081709172573, 35.650072333309218], [62.230651483005879, 35.270663967422287], [62.984662306576588, 35.404040839167614], [63.193538445900337, 35.857165635718907], [63.982895949158696, 36.007957465146596], [64.546479119733888, 36.31207326918426], [64.746105177677393, 37.111817735333297], [65.588947788357828, 37.305216783185628], [65.745630731066811, 37.661164048812061], [66.217384881459324, 37.393790188133913], [66.518606805288655, 37.362784328758785], [67.075782098259609, 37.35614390720928], [67.829999627559502, 37.144994004864678], [68.135562371701369, 37.023115139304302], [68.859445835245921, 37.344335842430588], [69.196272820924364, 37.15114350030742], [69.518785434857946, 37.608996690413413], [70.116578403610319, 37.588222764632086], [70.270574171840124, 37.73516469985401], [70.376304152309274, 38.138395901027515], [70.806820509732873, 38.486281643216408], [71.348131137990251, 38.258905341132156], [71.239403924448155, 37.953265082341879], [71.541917759084768, 37.905774441065631], [71.448693475230229, 37.065644843080513], [71.84463829945058, 36.738171291646914], [72.193040805962383, 36.94828766534566], [72.636889682917271, 37.047558091778349], [73.260055779924983, 37.495256862938994], [73.948695916646486, 37.421566270490786], [74.980002475895404, 37.419990139305888], [75.158027785140902, 37.13303091078911], [74.575892775372964, 37.02084137628345], [74.067551710917812, 36.836175645488446], [72.920024855444453, 36.720007025696312], [71.846291945283909, 36.509942328429851], [71.262348260385735, 36.074387518857797], [71.498767938121077, 35.650563259415996], [71.613076206350698, 35.153203436822857], [71.115018751921625, 34.733125718722228], [71.156773309213449, 34.348911444632144], [70.881803012988385, 33.988855902638512], [69.93054324735958, 34.020120144175102], [70.323594191371583, 33.358532619758385], [69.687147251264847, 33.105498969041228], [69.262522007122541, 32.501944078088293], [69.317764113242546, 31.901412258424436], [68.926676873657655, 31.620189113892064], [68.556932000609308, 31.713310044882011], [67.792689243444769, 31.582930406209623], [67.683393589147457, 31.303154201781414], [66.938891229118454, 31.304911200479346], [66.38145755398601, 30.738899237586448], [66.346472609324408, 29.88794342703617], [65.046862013616092, 29.472180691031902], [64.350418735618504, 29.560030625928089], [64.148002150331237, 29.340819200145965], [63.550260858011164, 29.468330796826162], [62.549856805272775, 29.318572496044304], [60.874248488208778, 29.829238999952604], [61.78122155136343, 30.735850328081231], [61.699314406180811, 31.379506130492661], [60.941944614511115, 31.548074652628745], [60.863654819588952, 32.182919623334421], [60.536077915290761, 32.981268825811561], [60.963700392505991, 33.528832302376252], [60.528429803311575, 33.676446031217999], [60.80319339380744, 34.404101874319856], [61.21081709172573, 35.650072333309218]]] } }, - { "type": "Feature", "properties": { "admin": "Angola", "name": "Angola", "continent": "Africa" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[16.326528354567042, -5.877470391466217], [16.573179965896141, -6.622644545115092], [16.860190870845226, -7.222297865429978], [17.089995965247166, -7.545688978712474], [17.472970004962288, -8.068551120641656], [18.134221632569048, -7.987677504104865], [18.464175652752683, -7.847014255406475], [19.016751743249664, -7.988245944860138], [19.166613396896079, -7.738183688999724], [19.417502475673214, -7.155428562044277], [20.037723016040214, -7.116361179231658], [20.091621534920616, -6.943090101756949], [20.60182295093832, -6.939317722199688], [20.514748162526526, -7.299605808138663], [21.728110792739752, -7.290872491081315], [21.74645592620336, -7.920084730667113], [21.949130893652033, -8.305900974158304], [21.80180138518795, -8.908706556842985], [21.875181919042397, -9.523707777548564], [22.208753289486417, -9.894796237836529], [22.155268182064326, -11.084801120653777], [22.402798292742428, -10.99307545333569], [22.837345411884762, -11.017621758674334], [23.456790805767461, -10.867863457892481], [23.912215203555743, -10.926826267137541], [24.017893507592614, -11.237298272347115], [23.904153680118235, -11.722281589406332], [24.079905226342895, -12.191296888887305], [23.930922072045373, -12.565847670138821], [24.0161365088947, -12.91104623784855], [21.933886346125941, -12.898437188369353], [21.887842644953871, -16.080310153876891], [22.562478468524283, -16.898451429921831], [23.215048455506086, -17.523116143465952], [21.377176141045592, -17.930636488519706], [18.956186964603628, -17.789094740472233], [18.263309360434217, -17.309950860262003], [14.209706658595049, -17.353100681225708], [14.058501417709035, -17.423380629142653], [13.462362094789963, -16.971211846588741], [12.814081251688405, -16.941342868724075], [12.21546146001938, -17.111668389558059], [11.734198846085146, -17.301889336824498], [11.640096062881609, -16.673142185129205], [11.778537224991563, -15.793816013250687], [12.123580763404444, -14.878316338767927], [12.175618930722264, -14.449143568583889], [12.500095249083014, -13.547699883684398], [12.738478631245439, -13.137905775609934], [13.312913852601834, -12.483630466362511], [13.633721144269824, -12.038644707897189], [13.738727654686924, -11.297863050993142], [13.686379428775293, -10.73107594161584], [13.38732791510216, -10.373578383020726], [13.120987583069873, -9.766897067914112], [12.875369500386567, -9.166933689005488], [12.929061313537797, -8.959091078327573], [13.23643273280987, -8.56262948978434], [12.933040398824314, -7.596538588087752], [12.728298374083916, -6.927122084178803], [12.227347039446441, -6.294447523629372], [12.322431674863562, -6.100092461779651], [12.735171339578695, -5.965682061388476], [13.024869419006988, -5.984388929878106], [13.375597364971892, -5.864241224799555], [16.326528354567042, -5.877470391466217]]], [[[12.436688266660919, -5.684303887559223], [12.182336866920277, -5.789930515163801], [11.914963006242115, -5.037986748884733], [12.318607618873923, -4.606230157086158], [12.620759718484548, -4.438023369976121], [12.995517205465202, -4.781103203961918], [12.631611769265842, -4.991271254092935], [12.468004184629759, -5.248361504744991], [12.436688266660919, -5.684303887559223]]]] } }, - { "type": "Feature", "properties": { "admin": "Albania", "name": "Albania", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[20.590247430104906, 41.855404161133592], [20.463175083099195, 41.515089016275333], [20.605181919037356, 41.086226304685219], [21.020040317476397, 40.842726955725873], [20.99998986174722, 40.580003973953964], [20.67499677906363, 40.43499990494302], [20.61500044117275, 40.110006822259365], [20.150015903410516, 39.624997666983965], [19.980000441170144, 39.694993394523401], [19.9600016618732, 39.915005805006039], [19.40608198413673, 40.250773423822459], [19.319058872157139, 40.727230129553554], [19.403549838954287, 41.409565741535445], [19.540027296637099, 41.71998607031275], [19.371768833094958, 41.87754751237064], [19.304486118250786, 42.195745144207812], [19.738051385179627, 42.688247382165564], [19.801613396898681, 42.500093492190835], [20.0707, 42.58863], [20.28375451018189, 42.320259507815074], [20.52295, 42.21787], [20.590247430104906, 41.855404161133592]]] } }, - { "type": "Feature", "properties": { "admin": "United Arab Emirates", "name": "United Arab Emirates", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[51.579518670463258, 24.245497137951102], [51.757440626844172, 24.294072984305462], [51.794389275932865, 24.019826158132499], [52.577080519425593, 24.177439276622703], [53.404006788960139, 24.151316840099167], [54.008000929587574, 24.121757920828212], [54.693023716048614, 24.797892360935084], [55.439024692614126, 25.439145209244934], [56.070820753814544, 26.055464178973978], [56.261041701080948, 25.714606431576762], [56.396847365143991, 24.924732163995483], [55.886232537667993, 24.92083059335744], [55.804118686756212, 24.269604193615258], [55.981213820220454, 24.130542914317822], [55.528631626208231, 23.933604030853498], [55.525841098864461, 23.524869289640929], [55.234489373602869, 23.110992743415316], [55.208341098863187, 22.708329982997039], [55.006803012924898, 22.496947536707129], [52.000733270074321, 23.001154486578937], [51.617707553926969, 24.014219265228824], [51.579518670463258, 24.245497137951102]]] } }, - { "type": "Feature", "properties": { "admin": "Argentina", "name": "Argentina", "continent": "South America" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-65.5, -55.2], [-66.45, -55.25], [-66.95992, -54.89681], [-67.56244, -54.87001], [-68.63335, -54.8695], [-68.634010227583147, -52.636370458874453], [-68.25, -53.1], [-67.75, -53.85], [-66.45, -54.45], [-65.05, -54.7], [-65.5, -55.2]]], [[[-64.964892137294569, -22.075861504812348], [-64.377021043542257, -22.79809132252354], [-63.986838141522462, -21.993644301035953], [-62.84646847192154, -22.034985446869452], [-62.685057135657885, -22.249029229422401], [-60.846564704009928, -23.880712579038299], [-60.028966030503973, -24.032796319273238], [-58.807128465394939, -24.771459242453268], [-57.777217169817952, -25.162339776309032], [-57.633660040911124, -25.603656508081666], [-58.618173590719707, -27.123718763947117], [-57.609759690976134, -27.395898532828419], [-56.486701626192989, -27.548499037386243], [-55.695845506398186, -27.387837009390815], [-54.788794928595038, -26.621785577096087], [-54.625290696823541, -25.739255466415479], [-54.130049607954412, -25.547639255477243], [-53.628348965048716, -26.12486500417743], [-53.648735317587885, -26.923472588816104], [-54.490725267135517, -27.474756768505767], [-55.162286342984586, -27.881915378533414], [-56.290899624239088, -28.852760512000849], [-57.62513342958291, -30.21629485445424], [-57.874937303281897, -31.016556084926158], [-58.14244035504074, -32.044503676076182], [-58.132647671121404, -33.040566908502008], [-58.349611172098818, -33.263188978815428], [-58.427074144104367, -33.909454441057541], [-58.495442064026541, -34.4314897600701], [-57.225829637263629, -35.288026625307886], [-57.362358771378737, -35.977390232081497], [-56.737487352105447, -36.413125909166574], [-56.788285285048339, -36.901571547189327], [-57.749156867083421, -38.183870538079901], [-59.231857062401865, -38.720220228837199], [-61.2374452378656, -38.92842457454114], [-62.335956997310134, -38.827707208004362], [-62.125763108962914, -39.424104913084868], [-62.33053097191943, -40.172586358400316], [-62.145994432205228, -40.676896661136723], [-62.74580278181697, -41.028761488612083], [-63.770494757732514, -41.166789239263657], [-64.732089809819698, -40.802677097335128], [-65.118035244391578, -41.064314874028874], [-64.97856055363583, -42.058000990569312], [-64.303407965742466, -42.359016208669495], [-63.755947842042339, -42.043686618824495], [-63.458059048095883, -42.563138116222355], [-64.378803880456289, -42.873558444999638], [-65.181803961839691, -43.495380954767782], [-65.328823411710133, -44.501366062193689], [-65.565268927661592, -45.03678557716978], [-66.509965786389344, -45.039627780945843], [-67.293793911392427, -45.551896254255183], [-67.580546434180079, -46.301772963242527], [-66.597066413017259, -47.033924655953804], [-65.641026577401433, -47.23613453551188], [-65.98508826360073, -48.133289076531128], [-67.166178961847649, -48.697337334996931], [-67.816087612566449, -49.869668877970412], [-68.728745083273154, -50.26421843851886], [-69.138539191347789, -50.732510267947788], [-68.815561489523517, -51.771104011594097], [-68.149994879820397, -52.349983406127699], [-68.571545376241332, -52.299443855346247], [-69.498362189396076, -52.142760912637236], [-71.914803839796321, -52.009022305865912], [-72.329403856074023, -51.425956312872394], [-72.309973517532342, -50.677009779666342], [-72.975746832964617, -50.741450290734299], [-73.328050910114456, -50.378785088909865], [-73.415435757120022, -49.318436374712952], [-72.648247443314929, -48.878618259476774], [-72.331160854771937, -48.244238376661819], [-72.44735531278026, -47.738532810253517], [-71.917258470330196, -46.884838148791786], [-71.552009446891233, -45.560732924177117], [-71.659315558545316, -44.973688653341434], [-71.222778896759721, -44.784242852559409], [-71.329800788036195, -44.407521661151677], [-71.793622606071935, -44.207172133156099], [-71.464056159130493, -43.787611179378324], [-71.915423956983901, -43.408564548517404], [-72.148898078078517, -42.254888197601375], [-71.746803758415453, -42.051386407235988], [-71.915734015577542, -40.832339369470716], [-71.680761277946445, -39.808164157878061], [-71.413516608349042, -38.916022230791107], [-70.814664272734703, -38.552995293940732], [-71.118625047475419, -37.576827487947192], [-71.121880662709771, -36.65812387466233], [-70.364769253201658, -36.005088799789931], [-70.388049485949082, -35.169687595359441], [-69.817309129501453, -34.193571465798279], [-69.814776984319209, -33.273886000299839], [-70.074399380153622, -33.09120981214803], [-70.535068935819439, -31.365010267870279], [-69.919008348251921, -30.336339206668306], [-70.013550381129861, -29.367922865518544], [-69.656130337183143, -28.459141127233686], [-69.001234910748266, -27.521213881136127], [-68.295541551370391, -26.899339694935787], [-68.594799770772667, -26.50690886811126], [-68.386001146097342, -26.185016371365229], [-68.417652960876111, -24.518554782816874], [-67.328442959244128, -24.025303236590908], [-66.985233934177629, -22.986348565362825], [-67.106673550063604, -22.735924574476392], [-66.273339402924833, -21.832310479420677], [-64.964892137294569, -22.075861504812348]]]] } }, - { "type": "Feature", "properties": { "admin": "Armenia", "name": "Armenia", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[43.582745802592726, 41.09214325618256], [44.972480096218071, 41.248128567055588], [45.179495883979335, 40.985353908851401], [45.560351189970433, 40.812289537105919], [45.359174839058156, 40.561503811193447], [45.891907179555076, 40.218475653639992], [45.610012241402913, 39.899993801425175], [46.034534132680662, 39.628020738273058], [46.483498976432443, 39.464154771475528], [46.505719842317966, 38.770605373686287], [46.143623081248812, 38.74120148371221], [45.735379266143006, 39.319719143219736], [45.739978468616975, 39.473999131827114], [45.298144972521456, 39.471751207022422], [45.00198733905674, 39.740003567049548], [44.793989699081934, 39.713002631177041], [44.400008579288695, 40.005000311842267], [43.656436395040934, 40.253563951166178], [43.752657911968399, 40.740200914058754], [43.582745802592726, 41.09214325618256]]] } }, - { "type": "Feature", "properties": { "admin": "French Southern and Antarctic Lands", "name": "Fr. S. Antarctic Lands", "continent": "Seven seas (open ocean)" }, "geometry": { "type": "Polygon", "coordinates": [[[68.935, -48.625], [69.58, -48.94], [70.525, -49.065], [70.56, -49.255], [70.28, -49.71], [68.745, -49.775], [68.72, -49.2425], [68.8675, -48.83], [68.935, -48.625]]] } }, - { "type": "Feature", "properties": { "admin": "Australia", "name": "Australia", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[145.397978143494782, -40.792548516605883], [146.364120721623692, -41.137695407883335], [146.908583612250823, -41.000546156580668], [147.689259474884125, -40.808258152022681], [148.289067824495987, -40.875437514002122], [148.359864536735785, -42.062445163746439], [148.017301467073082, -42.40702361426861], [147.914051955353784, -43.211522312188485], [147.564564243763982, -42.937688897473855], [146.87034305235494, -43.634597263362082], [146.663327264593647, -43.580853773778543], [146.048377720320389, -43.54974456153888], [145.431929559510536, -42.693776137056268], [145.295090366801674, -42.03360971452755], [144.7180713238306, -41.162551771815707], [144.743754510679622, -40.703975111657705], [145.397978143494782, -40.792548516605883]]], [[[143.561811151299935, -13.763655694232209], [143.922099237238882, -14.548310642152], [144.563713820574804, -14.171176039285879], [144.894908075133515, -14.594457696188622], [145.374723748963419, -14.984976495018284], [145.271991001567244, -15.428205254785691], [145.48525963763575, -16.285672295804769], [145.637033319276952, -16.784918308176611], [145.888904250267672, -16.906926364817647], [146.160308872664473, -17.76165455492524], [146.063673944278662, -18.280072523677315], [146.387478469019584, -18.958274021075905], [147.471081577747896, -19.480722751546676], [148.177601760042478, -19.955939222902767], [148.848413527623222, -20.391209812097252], [148.717465448195583, -20.633468926681513], [149.289420200802056, -21.260510756111096], [149.678337030230637, -22.342511895438388], [150.07738244038859, -22.122783705333315], [150.482939081015161, -22.556142266533012], [150.727265252891158, -22.402404880464655], [150.899554478152254, -23.462236830338679], [151.609175246384211, -24.076256198830755], [152.07353966695905, -24.45788665130619], [152.855197381805908, -25.267501316023008], [153.136162144176751, -26.071173191026187], [153.161948683890358, -26.641319268502439], [153.09290897034856, -27.260299574494503], [153.569469028944184, -28.110066827102099], [153.512108189100218, -28.995077406532751], [153.339095493787056, -29.458201592732443], [153.069241164358857, -30.350240166954809], [153.089601678681788, -30.923641859665445], [152.891577590139377, -31.640445651985949], [152.450002476205327, -32.550002536755237], [151.709117466436766, -33.041342054986337], [151.343971795862387, -33.816023451473846], [151.010555454715103, -34.310360202777879], [150.714139439089024, -35.173459974916803], [150.328219842733233, -35.671879164371923], [150.075212030232251, -36.420205580390508], [149.946124302367139, -37.109052422841224], [149.997283970336127, -37.425260512035123], [149.423882277625523, -37.772681166333463], [148.304622430615893, -37.809061374666875], [147.38173302631526, -38.219217217767543], [146.922122837511324, -38.606532077795116], [146.317921991154776, -39.035756524411433], [145.489652134380549, -38.593767999019043], [144.876976353128157, -38.41744801203911], [145.032212355732952, -37.896187839510972], [144.485682407814011, -38.085323581699257], [143.609973586196077, -38.809465427405321], [142.745426873952965, -38.538267510737519], [142.17832970598198, -38.380034275059835], [141.606581659104677, -38.308514092767872], [140.638578729413211, -38.019332777662541], [139.992158237874321, -37.402936293285094], [139.806588169514043, -36.643602797188272], [139.574147577065219, -36.138362318670666], [139.082808058834075, -35.732754001611774], [138.120747918856296, -35.612296237939397], [138.449461704664998, -35.127261244447887], [138.207564325106659, -34.384722588845925], [137.719170363516128, -35.07682504653102], [136.829405552314711, -35.260534763328614], [137.352371047108477, -34.707338555644093], [137.503886346588331, -34.130267836240769], [137.890116001537649, -33.640478610978327], [137.810327590079112, -32.900007012668105], [136.996837192940347, -33.752771498348629], [136.372069126531642, -34.094766127256186], [135.98904341038434, -34.89011809666048], [135.208212518454104, -34.478670342752601], [135.239218377829161, -33.947953383114971], [134.613416782774607, -33.222778008763136], [134.085903761939107, -32.848072198214759], [134.273902622617015, -32.617233575166949], [132.990776808809812, -32.011224053680188], [132.288080682504869, -31.982646986622761], [131.326330601120901, -31.495803318001041], [129.535793898639668, -31.590422865527476], [128.240937534702198, -31.948488864877849], [127.102867466338282, -32.282266941051041], [126.148713820501129, -32.2159660784206], [125.088623488465586, -32.728751316052829], [124.22164798390493, -32.959486586236061], [124.028946567888511, -33.483847344701708], [123.65966678273071, -33.890179131812722], [122.811036411633609, -33.914467054989835], [122.18306440642283, -34.003402194964217], [121.299190708502579, -33.821036065406126], [120.580268182458113, -33.930176690406618], [119.893695103028222, -33.976065362281808], [119.298899367348781, -34.50936614353396], [119.007340936357977, -34.464149265278529], [118.505717808100769, -34.746819349915093], [118.024971958489516, -35.064732761374707], [117.295507440257438, -35.025458672832862], [116.62510908413492, -35.025096937806829], [115.564346958479689, -34.386427911111547], [115.026808709779516, -34.196517022438918], [115.048616164206763, -33.623425388322026], [115.545123325667078, -33.487257989232951], [115.714673700016661, -33.259571628554944], [115.679378696761376, -32.900368747694124], [115.801645135563959, -32.205062351207026], [115.689610630355105, -31.612437025683782], [115.160909051576937, -30.601594333622455], [114.99704308477942, -30.030724786094162], [115.040037876446249, -29.461095472940794], [114.64197431850198, -28.810230808224706], [114.61649783738217, -28.516398614213042], [114.173579136208446, -28.118076674107321], [114.048883905088132, -27.33476531342712], [113.477497593236876, -26.543134047147898], [113.338953078262477, -26.116545098578477], [113.77835778204026, -26.549025160429174], [113.440962355606587, -25.621278171493152], [113.936901076311642, -25.911234633082877], [114.232852004047288, -26.298446140245868], [114.216160516417006, -25.786281019801105], [113.721255324357685, -24.998938897402123], [113.625343866024025, -24.683971042583146], [113.393523390762667, -24.384764499613262], [113.502043898575607, -23.80635019297025], [113.706992629045146, -23.56021534596406], [113.843418410295669, -23.059987481378734], [113.736551548316072, -22.475475355725372], [114.149756300921865, -21.755881036061009], [114.225307244932651, -22.51748829517863], [114.64776207891866, -21.829519952076904], [115.460167270979298, -21.495173435148541], [115.94737267462699, -21.068687839443708], [116.711615431791529, -20.701681817306817], [117.166316359527684, -20.623598728113802], [117.441545037914238, -20.746898695562162], [118.229558953932951, -20.374208265873232], [118.836085239742701, -20.263310642174822], [118.987807244951753, -20.044202569257319], [119.252493931150624, -19.952941989829835], [119.805225050944543, -19.976506442954978], [120.856220330896633, -19.683707777589188], [121.399856398607199, -19.239755547769729], [121.655137974129062, -18.70531788500713], [122.241665480641757, -18.197648614171765], [122.286623976735655, -17.798603204013911], [122.312772251475408, -17.254967136303446], [123.012574497571904, -16.405199883695854], [123.433789097183009, -17.268558037996225], [123.859344517106592, -17.069035332917249], [123.503242222183232, -16.596506036040363], [123.817073195491915, -16.11131601325199], [124.258286574399847, -16.32794361741956], [124.379726190285794, -15.567059828353973], [124.926152785340022, -15.07510019293532], [125.167275018413875, -14.680395603090004], [125.670086704613823, -14.510070082256018], [125.685796340030493, -14.230655612853834], [126.125149367376096, -14.347340996968949], [126.142822707219864, -14.095986830301211], [126.582589146023736, -13.95279143642041], [127.065867140817332, -13.817967624570922], [127.804633416861932, -14.276906019755042], [128.359689976108939, -14.869169610252253], [128.985543247595899, -14.875990899314738], [129.621473423379598, -14.969783623924553], [129.409600050982988, -14.420669854391031], [129.888640578328591, -13.618703301653481], [130.339465773642928, -13.357375583553473], [130.183506300985982, -13.107520033422301], [130.617795037966971, -12.536392103732464], [131.223494500859999, -12.183648776908113], [131.73509118054946, -12.302452894747159], [132.575298293183096, -12.114040622611013], [132.557211541881031, -11.603012383676683], [131.824698114143644, -11.273781833545097], [132.357223748911395, -11.128519382372641], [133.019560581596409, -11.376411228076844], [133.550845981989028, -11.786515394745134], [134.393068475481982, -12.042365411022173], [134.678632440327021, -11.9411829565947], [135.298491245667975, -12.248606052299051], [135.882693312727611, -11.962266940969796], [136.258380975489445, -12.049341729381606], [136.492475213771627, -11.857208754120389], [136.951620314684988, -12.351958916882735], [136.685124953355739, -12.887223402562054], [136.305406528875096, -13.291229750219895], [135.961758254134111, -13.324509372615889], [136.077616815332533, -13.72427825282578], [135.783836297753226, -14.223989353088211], [135.4286641786112, -14.715432224183896], [135.500184360903177, -14.997740573794427], [136.295174595281367, -15.550264987859121], [137.065360142159477, -15.870762220933353], [137.580470819244795, -16.215082289294084], [138.303217401278971, -16.807604261952658], [138.58516401586337, -16.806622409739173], [139.108542922115475, -17.062679131745366], [139.260574985918197, -17.371600843986183], [140.215245396078274, -17.710804945550063], [140.875463495039241, -17.36906869880394], [141.071110467696258, -16.832047214426719], [141.274095493738798, -16.388870131091604], [141.398222284103781, -15.840531508042584], [141.702183058844611, -15.044921156476928], [141.563380161708665, -14.561333103089506], [141.635520461188094, -14.270394789286284], [141.519868605718955, -13.698078301653805], [141.650920038011009, -12.944687595270562], [141.842691278246207, -12.741547539931187], [141.68699018775078, -12.407614434461134], [141.928629185147543, -11.877465915578778], [142.118488397387978, -11.328042087451619], [142.14370649634634, -11.04273650476814], [142.51526004452495, -10.668185723516642], [142.797310011974048, -11.157354831591515], [142.866763136974271, -11.784706719614929], [143.11594689348567, -11.90562957117791], [143.158631626558758, -12.325655612846187], [143.522123651299864, -12.834358412327429], [143.597157830987669, -13.400422051652594], [143.561811151299935, -13.763655694232209]]]] } }, - { "type": "Feature", "properties": { "admin": "Austria", "name": "Austria", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[16.979666782304033, 48.123497015976298], [16.903754103267257, 47.714865627628321], [16.340584344150411, 47.712901923201215], [16.534267612380372, 47.496170966169103], [16.202298211337361, 46.852385972676949], [16.011663852612653, 46.683610744811688], [15.137091912504982, 46.658702704447016], [14.632471551174827, 46.431817328469535], [13.806475457421524, 46.509306138691201], [12.376485223040813, 46.767559109069843], [12.153088006243051, 47.115393174826437], [11.164827915093268, 46.941579494812721], [11.048555942436533, 46.751358547546324], [10.442701450246627, 46.893546250997424], [9.932448357796657, 46.920728054382948], [9.479969516649019, 47.102809963563367], [9.632931756232974, 47.347601223329974], [9.594226108446346, 47.525058091820256], [9.896068149463188, 47.58019684507569], [10.402083774465209, 47.302487697939156], [10.544504021861625, 47.566399237653762], [11.426414015354736, 47.523766181012967], [12.141357456112784, 47.703083401065761], [12.620759718484491, 47.672387600284395], [12.932626987365945, 47.467645575543983], [13.025851271220487, 47.637583523135824], [12.884102817443901, 48.289145819687903], [13.243357374736998, 48.41611481382904], [13.595945672264433, 48.877171942737135], [14.33889773932472, 48.555305284207193], [14.901447381254055, 48.964401760445817], [15.253415561593979, 49.039074205107575], [16.029647251050218, 48.733899034207916], [16.49928266771877, 48.785808010445095], [16.960288120194573, 48.596982326850593], [16.879982944412998, 48.470013332709463], [16.979666782304033, 48.123497015976298]]] } }, - { "type": "Feature", "properties": { "admin": "Azerbaijan", "name": "Azerbaijan", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[45.001987339056789, 39.740003567049591], [45.298144972521435, 39.471751207022422], [45.739978468616997, 39.473999131827149], [45.735379266143092, 39.319719143219785], [46.143623081248812, 38.74120148371221], [45.457721795438729, 38.874139105783108], [44.952688022650264, 39.33576467544642], [44.79398969908199, 39.713002631177027], [45.001987339056789, 39.740003567049591]]], [[[47.373315464066216, 41.219732367511249], [47.81566572448471, 41.151416124021338], [47.987283156126033, 41.405819200194223], [48.584352654826283, 41.808869533854669], [49.110263706260653, 41.282286688800518], [49.618914829309588, 40.572924302729966], [50.084829542853093, 40.526157131505776], [50.392821079312704, 40.256561184239096], [49.569202101444795, 40.176100979160701], [49.395259230350419, 39.39948171646224], [49.2232283872507, 39.04921885838791], [48.856532423707584, 38.815486355131775], [48.883249139202533, 38.320245266262638], [48.634375441284831, 38.270377509100925], [48.010744256386502, 38.794014797514528], [48.355529412637928, 39.288764960276886], [48.060095249225256, 39.582235419262439], [47.685079380083117, 39.508363959301185], [46.505719842317966, 38.770605373686251], [46.483498976432443, 39.464154771475528], [46.034534132680697, 39.628020738273044], [45.610012241402913, 39.899993801425175], [45.891907179555133, 40.21847565363997], [45.359174839058156, 40.561503811193482], [45.560351189970469, 40.812289537105947], [45.179495883979392, 40.98535390885143], [44.972480096218156, 41.248128567055623], [45.217426385281634, 41.411451931314041], [45.962600538930438, 41.123872585609789], [46.501637404166978, 41.064444688474104], [46.637908156120567, 41.181672675128219], [46.145431756378983, 41.72280243587263], [46.404950799348818, 41.860675157227341], [46.686070591016652, 41.827137152669899], [47.373315464066216, 41.219732367511249]]]] } }, - { "type": "Feature", "properties": { "admin": "Burundi", "name": "Burundi", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[29.339997592900342, -4.499983412294092], [29.276383904749046, -3.293907159034063], [29.02492638521678, -2.839257907730157], [29.632176141078585, -2.917857761246096], [29.938359002407935, -2.348486830254238], [30.469696079232978, -2.413857517103458], [30.527677036264457, -2.807631931167534], [30.743012729624692, -3.034284763199686], [30.752262811004943, -3.359329522315569], [30.505559523243559, -3.568567396665364], [30.116332635221166, -4.090137627787242], [29.753512404099919, -4.45238941815328], [29.339997592900342, -4.499983412294092]]] } }, - { "type": "Feature", "properties": { "admin": "Belgium", "name": "Belgium", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[3.314971144228536, 51.345780951536071], [4.047071160507527, 51.267258612668556], [4.973991326526913, 51.475023708698124], [5.60697594567, 51.037298488969768], [6.156658155958779, 50.803721015010574], [6.043073357781109, 50.128051662794221], [5.782417433300905, 50.090327867221205], [5.674051954784828, 49.52948354755749], [4.799221632515809, 49.985373033236371], [4.286022983425084, 49.90749664977254], [3.588184441755685, 50.378992418003563], [3.123251580425801, 50.780363267614561], [2.658422071960274, 50.796848049515731], [2.513573032246142, 51.148506171261815], [3.314971144228536, 51.345780951536071]]] } }, - { "type": "Feature", "properties": { "admin": "Benin", "name": "Benin", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[2.691701694356254, 6.258817246928628], [1.865240512712318, 6.14215770102973], [1.618950636409238, 6.832038072126236], [1.664477573258381, 9.128590399609378], [1.46304284018467, 9.334624335157086], [1.425060662450136, 9.825395412632998], [1.077795037448737, 10.175606594275022], [0.772335646171484, 10.470808213742357], [0.899563022474069, 10.997339382364258], [1.243469679376488, 11.11051076908346], [1.447178175471066, 11.547719224488857], [1.93598554851988, 11.641150214072551], [2.154473504249921, 11.940150051313337], [2.49016360841793, 12.233052069543671], [2.84864301922667, 12.235635891158266], [3.611180454125558, 11.660167141155966], [3.572216424177469, 11.327939357951516], [3.797112257511713, 10.734745591673104], [3.600070021182801, 10.332186184119406], [3.705438266625918, 10.063210354040207], [3.220351596702101, 9.4441525333997], [2.912308383810255, 9.13760793704432], [2.723792758809509, 8.506845404489708], [2.74906253420022, 7.870734361192886], [2.691701694356254, 6.258817246928628]]] } }, - { "type": "Feature", "properties": { "admin": "Burkina Faso", "name": "Burkina Faso", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-2.827496303712706, 9.642460842319775], [-3.511898972986272, 9.900326239456216], [-3.980449184576684, 9.862344061721698], [-4.330246954760383, 9.610834865757139], [-4.779883592131966, 9.821984768101741], [-4.954653286143098, 10.152713934769732], [-5.404341599946973, 10.370736802609144], [-5.470564947929004, 10.951269842976044], [-5.197842576508648, 11.375145778850136], [-5.220941941743119, 11.713858954307224], [-4.427166103523802, 12.542645575404292], [-4.280405035814879, 13.228443508349738], [-4.006390753587225, 13.472485459848112], [-3.52280270019986, 13.337661647998612], [-3.103706834312759, 13.54126679122859], [-2.967694464520576, 13.798150336151506], [-2.191824510090384, 14.246417548067352], [-2.001035122068771, 14.559008287000887], [-1.066363491205663, 14.973815009007764], [-0.515854458000348, 15.116157741755725], [-0.26625729003058, 14.924308986872147], [0.374892205414682, 14.928908189346128], [0.295646396495101, 14.444234930880651], [0.429927605805517, 13.988733018443922], [0.993045688490071, 13.335749620003821], [1.024103224297477, 12.851825669806573], [2.177107781593775, 12.625017808477532], [2.154473504249921, 11.940150051313337], [1.93598554851988, 11.641150214072551], [1.447178175471066, 11.547719224488857], [1.243469679376488, 11.11051076908346], [0.899563022474069, 10.997339382364258], [0.023802524423701, 11.018681748900802], [-0.438701544588582, 11.09834096927872], [-0.761575893548183, 10.936929633015053], [-1.203357713211431, 11.009819240762736], [-2.94040930827046, 10.962690334512557], [-2.963896246747111, 10.395334784380081], [-2.827496303712706, 9.642460842319775]]] } }, - { "type": "Feature", "properties": { "admin": "Bangladesh", "name": "Bangladesh", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[92.672720981825549, 22.041238918541247], [92.652257114637976, 21.324047552978481], [92.30323449093865, 21.475485337809815], [92.368553501355606, 20.670883287025344], [92.082886183646124, 21.192195135985767], [92.025215285208361, 21.701569729086764], [91.834890985077408, 22.182935695885561], [91.417087029997646, 22.765019029221218], [90.496006300827247, 22.805016587815125], [90.586956821660948, 22.392793687422863], [90.272970819055544, 21.836367702720107], [89.847467075564268, 22.039146023033421], [89.70204959509492, 21.857115790285299], [89.41886274613546, 21.966178900637296], [89.031961297566198, 22.055708319582973], [88.876311883503064, 22.879146429937826], [88.529769728553759, 23.631141872649163], [88.699940220090895, 24.233714911388557], [88.084422235062405, 24.501657212821918], [88.30637251175601, 24.866079413344199], [88.931553989623069, 25.238692328384769], [88.209789259802477, 25.768065700782707], [88.56304935094974, 26.446525580342716], [89.355094028687276, 26.014407253518065], [89.832480910199592, 25.965082098895476], [89.920692580121838, 25.269749864192171], [90.872210727912105, 25.13260061288954], [91.799595981822065, 25.14743174895731], [92.376201613334786, 24.976692816664961], [91.915092807994398, 24.130413723237108], [91.467729933643668, 24.072639471934789], [91.158963250699713, 23.503526923104381], [91.706475050832083, 22.985263983649183], [91.869927606171302, 23.62434642180278], [92.146034783906799, 23.62749868417259], [92.672720981825549, 22.041238918541247]]] } }, - { "type": "Feature", "properties": { "admin": "Bulgaria", "name": "Bulgaria", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[22.657149692482985, 44.234923000661276], [22.94483239105184, 43.823785305347123], [23.332302280376322, 43.897010809904707], [24.100679152124169, 43.741051337247846], [25.569271681426923, 43.688444729174712], [26.065158725699739, 43.943493760751259], [27.242399529740904, 44.175986029632398], [27.970107049275068, 43.812468166675202], [28.55808149589199, 43.707461656258118], [28.039095086384712, 43.293171698574177], [27.673897739378042, 42.577892361006214], [27.996720411905383, 42.007358710287775], [27.135739373490473, 42.141484890301335], [26.117041863720793, 41.826904608724554], [26.106138136507205, 41.328898830727766], [25.197201368925441, 41.234485988930523], [24.492644891058031, 41.583896185872028], [23.692073601992345, 41.309080918943842], [22.952377150166445, 41.337993882811141], [22.881373732197424, 41.999297186850242], [22.380525750424585, 42.320259507815081], [22.545011834409614, 42.461362006188025], [22.436594679461273, 42.580321153323929], [22.604801466571324, 42.898518785161137], [22.986018507588479, 43.211161200526959], [22.500156691180276, 43.642814439460977], [22.410446404721593, 44.008063462899948], [22.657149692482985, 44.234923000661276]]] } }, - { "type": "Feature", "properties": { "admin": "The Bahamas", "name": "Bahamas", "continent": "North America" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-77.53466, 23.75975], [-77.78, 23.71], [-78.03405, 24.28615], [-78.40848, 24.57564], [-78.19087, 25.2103], [-77.89, 25.17], [-77.54, 24.34], [-77.53466, 23.75975]]], [[[-77.82, 26.58], [-78.91, 26.42], [-78.98, 26.79], [-78.51, 26.87], [-77.85, 26.84], [-77.82, 26.58]]], [[[-77.0, 26.59], [-77.17255, 25.87918], [-77.35641, 26.00735], [-77.34, 26.53], [-77.78802, 26.92516], [-77.79, 27.04], [-77.0, 26.59]]]] } }, - { "type": "Feature", "properties": { "admin": "Bosnia and Herzegovina", "name": "Bosnia and Herz.", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[19.005486281010118, 44.860233669609144], [19.36803, 44.863], [19.11761, 44.42307], [19.59976, 44.03847], [19.454, 43.568100000000115], [19.21852, 43.52384], [19.03165, 43.43253], [18.70648, 43.20011], [18.56, 42.65], [17.674921502358981, 43.028562527023603], [17.297373488034449, 43.446340643887353], [16.916156447017325, 43.667722479825663], [16.456442905348862, 44.041239732431265], [16.239660271884528, 44.351143296885695], [15.750026075918978, 44.81871165626255], [15.959367303133373, 45.233776760430935], [16.318156772535868, 45.004126695325901], [16.534939406000202, 45.211607570977705], [17.00214603035101, 45.233776760430935], [17.861783481526398, 45.067740383477137], [18.553214145591646, 45.08158966733145], [19.005486281010118, 44.860233669609144]]] } }, - { "type": "Feature", "properties": { "admin": "Belarus", "name": "Belarus", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[23.484127638449841, 53.912497667041123], [24.45068362803703, 53.905702216194747], [25.536353794056989, 54.282423407602515], [25.768432651479792, 54.846962592175082], [26.588279249790386, 55.167175604871659], [26.494331495883749, 55.61510691997762], [27.102459751094525, 55.783313707087672], [28.17670942557799, 56.169129950578807], [29.2295133806603, 55.918344224666356], [29.371571893030669, 55.67009064393617], [29.896294386522353, 55.789463202530406], [30.87390913262, 55.550976467503396], [30.971835971813132, 55.081547756564028], [30.75753380709871, 54.811770941784303], [31.384472283663733, 54.157056382862422], [31.791424187962232, 53.974638576872117], [31.731272820774503, 53.794029446012011], [32.405598585751157, 53.618045355842028], [32.693643019346034, 53.351420803432106], [32.304519484188226, 53.132726141972903], [31.497643670382924, 53.167426866256889], [31.30520063652801, 53.073995876673195], [31.540018344862254, 52.742052313846344], [31.78599816257158, 52.10167796488544], [30.927549269338975, 52.042353420614383], [30.619454380014837, 51.822806098022362], [30.55511722181145, 51.319503485715643], [30.157363722460889, 51.416138414101454], [29.254938185347921, 51.368234361366881], [28.992835320763522, 51.602044379271462], [28.617612745892242, 51.427713934934836], [28.241615024536564, 51.572227077839059], [27.454066196408426, 51.59230337178446], [26.337958611768549, 51.832288723347915], [25.327787713327005, 51.910656032918538], [24.553106316839511, 51.888461005249177], [24.005077752384206, 51.617443956094448], [23.52707075368437, 51.578454087930233], [23.508002150168689, 52.023646552124717], [23.19949384938618, 52.486977444053664], [23.799198846133375, 52.691099351606553], [23.804934930117774, 53.08973135030606], [23.527535841574995, 53.47012156840654], [23.484127638449841, 53.912497667041123]]] } }, - { "type": "Feature", "properties": { "admin": "Belize", "name": "Belize", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-89.143080410503302, 17.808318996649316], [-89.150909389995519, 17.955467637600414], [-89.029857347351808, 18.001511338772485], [-88.848343878926585, 17.883198147040229], [-88.490122850279334, 18.486830552641603], [-88.300031094093669, 18.499982204659897], [-88.296336229184803, 18.353272813383263], [-88.106812913754368, 18.348673610909284], [-88.123478563168476, 18.076674709541003], [-88.285354987322776, 17.644142971258031], [-88.197866787452625, 17.489475409408453], [-88.302640753924422, 17.13169363043566], [-88.239517991879893, 17.036066392479551], [-88.355428229510551, 16.530774237529624], [-88.551824510435821, 16.265467434143144], [-88.732433641295927, 16.233634751851351], [-88.930612759135244, 15.887273464415072], [-89.229121670269265, 15.886937567605166], [-89.15080603713092, 17.015576687075832], [-89.143080410503302, 17.808318996649316]]] } }, - { "type": "Feature", "properties": { "admin": "Bolivia", "name": "Bolivia", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-62.84646847192154, -22.034985446869442], [-63.986838141522462, -21.993644301035946], [-64.377021043542243, -22.798091322523533], [-64.964892137294598, -22.07586150481232], [-66.273339402924833, -21.832310479420713], [-67.10667355006359, -22.735924574476414], [-67.82817989772272, -22.872918796482171], [-68.219913092711266, -21.494346612231858], [-68.757167121033731, -20.372657972904459], [-68.442225104430904, -19.405068454671426], [-68.966818406841853, -18.9816834449041], [-69.100246955019472, -18.260125420812674], [-69.590423753524036, -17.580011895419329], [-68.959635382753291, -16.500697930571267], [-69.389764166934697, -15.66012908291165], [-69.160346645774936, -15.323973890853015], [-69.339534674747, -14.953195489158828], [-68.94888668483658, -14.45363941819328], [-68.929223802349526, -13.602683607643007], [-68.880079515239956, -12.89972909917665], [-68.665079718689611, -12.561300144097171], [-69.52967810736493, -10.951734307502193], [-68.786157599549469, -11.036380303596276], [-68.27125362819325, -11.014521172736817], [-68.048192308205373, -10.712059014532484], [-67.173801235610725, -10.30681243249961], [-66.646908331962791, -9.931331475466861], [-65.33843522811641, -9.76198780684639], [-65.444837002205375, -10.51145110437543], [-65.321898769783004, -10.895872084194675], [-65.402281460213018, -11.566270440317151], [-64.31635291203159, -12.461978041232191], [-63.196498786050562, -12.627032565972433], [-62.803060268796372, -13.000653171442682], [-62.127080857986371, -13.19878061284972], [-61.713204311760769, -13.489202162330049], [-61.084121263255646, -13.479383640194595], [-60.503304002511122, -13.775954685117656], [-60.459198167550014, -14.354007256734551], [-60.264326341377355, -14.645979099183638], [-60.251148851142922, -15.077218926659318], [-60.542965664295131, -15.093910414289592], [-60.158389655179022, -16.258283786690082], [-58.241219855366673, -16.299573256091289], [-58.388058437724027, -16.877109063385273], [-58.280804002502244, -17.271710300366014], [-57.734558274960989, -17.552468357007765], [-57.498371141170971, -18.174187513911289], [-57.676008877174297, -18.961839694904025], [-57.949997321185819, -19.400004164306814], [-57.853801642474494, -19.969995212486186], [-58.166392381408038, -20.176700941653674], [-58.183471442280492, -19.868399346600359], [-59.11504248720609, -19.356906019775398], [-60.043564622626477, -19.342746677327419], [-61.786326463453761, -19.633736667562957], [-62.265961269770784, -20.513734633061272], [-62.291179368729203, -21.051634616787389], [-62.685057135657871, -22.24902922942238], [-62.84646847192154, -22.034985446869442]]] } }, - { "type": "Feature", "properties": { "admin": "Brazil", "name": "Brazil", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-57.625133429582945, -30.216294854454258], [-56.290899624239067, -28.852760512000884], [-55.162286342984558, -27.881915378533456], [-54.49072526713551, -27.474756768505785], [-53.648735317587885, -26.923472588816086], [-53.628348965048737, -26.124865004177465], [-54.130049607954376, -25.547639255477247], [-54.625290696823562, -25.739255466415507], [-54.428946092330577, -25.162184747012162], [-54.293476325077435, -24.570799655863958], [-54.292959560754511, -24.021014092710722], [-54.652834235235119, -23.839578138933955], [-55.027901780809543, -24.001273695575225], [-55.400747239795407, -23.956935316668797], [-55.517639329639621, -23.57199757252663], [-55.61068274598113, -22.655619398694839], [-55.797958136606894, -22.356929620047815], [-56.473317430229379, -22.086300144135279], [-56.881509568902885, -22.282153822521476], [-57.937155727761287, -22.090175876557169], [-57.870673997617786, -20.732687676681948], [-58.166392381408038, -20.176700941653674], [-57.853801642474494, -19.969995212486186], [-57.949997321185819, -19.400004164306814], [-57.676008877174297, -18.961839694904025], [-57.498371141170971, -18.174187513911289], [-57.734558274960989, -17.552468357007765], [-58.280804002502244, -17.271710300366014], [-58.388058437724027, -16.877109063385273], [-58.241219855366673, -16.299573256091289], [-60.158389655179022, -16.258283786690082], [-60.542965664295131, -15.093910414289592], [-60.251148851142922, -15.077218926659318], [-60.264326341377355, -14.645979099183638], [-60.459198167550014, -14.354007256734551], [-60.503304002511122, -13.775954685117656], [-61.084121263255646, -13.479383640194595], [-61.713204311760769, -13.489202162330049], [-62.127080857986371, -13.19878061284972], [-62.803060268796372, -13.000653171442682], [-63.196498786050562, -12.627032565972433], [-64.31635291203159, -12.461978041232191], [-65.402281460213018, -11.566270440317151], [-65.321898769783004, -10.895872084194675], [-65.444837002205375, -10.51145110437543], [-65.33843522811641, -9.76198780684639], [-66.646908331962791, -9.931331475466861], [-67.173801235610725, -10.30681243249961], [-68.048192308205373, -10.712059014532484], [-68.27125362819325, -11.014521172736817], [-68.786157599549469, -11.036380303596276], [-69.52967810736493, -10.951734307502193], [-70.093752204046879, -11.123971856331011], [-70.548685675728393, -11.009146823778462], [-70.481893886991159, -9.490118096558842], [-71.302412278921523, -10.079436130415372], [-72.184890713169821, -10.05359791426943], [-72.563033006465631, -9.520193780152715], [-73.226713426390148, -9.462212823121233], [-73.015382656532537, -9.03283334720806], [-73.571059332967053, -8.424446709835832], [-73.987235480429646, -7.523829847853063], [-73.723401455363486, -7.340998630404412], [-73.724486660441627, -6.918595472850638], [-73.120027431923575, -6.629930922068238], [-73.219711269814596, -6.089188734566076], [-72.964507208941185, -5.741251315944892], [-72.891927659787243, -5.274561455916979], [-71.748405727816532, -4.59398284263301], [-70.928843349883564, -4.401591485210367], [-70.79476884630229, -4.251264743673302], [-69.893635219996611, -4.298186944194326], [-69.444101935489599, -1.556287123219817], [-69.420485805932216, -1.122618503426409], [-69.577065395776586, -0.549991957200163], [-70.02065589057004, -0.185156345219539], [-70.015565761989293, 0.541414292804205], [-69.452396002872447, 0.706158758950693], [-69.252434048119042, 0.602650865070075], [-69.218637661400166, 0.985676581217433], [-69.804596727157701, 1.089081122233466], [-69.816973232691609, 1.714805202639624], [-67.868565029558823, 1.692455145673392], [-67.537810024674684, 2.037162787276329], [-67.25999752467358, 1.719998684084956], [-67.065048183852483, 1.130112209473225], [-66.876325853122566, 1.253360500489336], [-66.325765143484944, 0.724452215982012], [-65.548267381437554, 0.78925446207603], [-65.354713304288353, 1.0952822941085], [-64.611011928959854, 1.328730576987041], [-64.199305792890499, 1.49285492594602], [-64.083085496666072, 1.91636912679408], [-63.368788011311644, 2.200899562993129], [-63.422867397705105, 2.411067613124174], [-64.269999152265783, 2.497005520025566], [-64.408827887617903, 3.126786200366623], [-64.368494432214092, 3.797210394705246], [-64.816064012294007, 4.056445217297422], [-64.628659430587533, 4.14848094320925], [-63.888342861574145, 4.020530096854571], [-63.093197597899092, 3.770571193858784], [-62.804533047116692, 4.006965033377951], [-62.085429653559125, 4.162123521334308], [-60.966893276601517, 4.536467596856638], [-60.601179165271922, 4.918098049332129], [-60.733574184803707, 5.2002772078619], [-60.213683437731319, 5.2444863956876], [-59.980958624904865, 5.014061184098138], [-60.111002366767373, 4.574966538914082], [-59.767405768458701, 4.423502915866606], [-59.538039923731219, 3.958802598481937], [-59.815413174057852, 3.606498521332085], [-59.974524909084543, 2.755232652188055], [-59.718545701726732, 2.249630438644359], [-59.646043667221242, 1.786893825686789], [-59.030861579002639, 1.317697658692722], [-58.540012986878288, 1.26808828369252], [-58.429477098205957, 1.46394196207872], [-58.113449876525003, 1.507195135907025], [-57.660971035377358, 1.682584947105638], [-57.33582292339689, 1.948537705895759], [-56.782704230360814, 1.863710842288653], [-56.53938574891454, 1.89952260986692], [-55.995698004771739, 1.817667141116601], [-55.905600145070871, 2.021995754398659], [-56.073341844290283, 2.220794989425499], [-55.973322109589361, 2.510363877773016], [-55.569755011605984, 2.42150625244713], [-55.097587449755125, 2.523748073736612], [-54.524754197799709, 2.311848863123785], [-54.088062506717243, 2.105556545414629], [-53.778520677288903, 2.376702785650081], [-53.554839240113537, 2.33489655192595], [-53.4184651352953, 2.05338918701598], [-52.939657151894949, 2.124857692875636], [-52.556424730018414, 2.504705308437053], [-52.249337531123942, 3.241094468596244], [-51.657797410678882, 4.156232408053028], [-51.317146369010842, 4.203490505383953], [-51.069771287629649, 3.65039765056403], [-50.508875291533641, 1.901563828942456], [-49.974075893745045, 1.736483465986069], [-49.947100796088705, 1.046189683431223], [-50.699251268096901, 0.222984117021681], [-50.388210822132123, -0.078444512536819], [-48.620566779156313, -0.235489190271821], [-48.584496629416577, -1.237805271005001], [-47.824956427590621, -0.5816179337628], [-46.566583624851219, -0.941027520352776], [-44.9057030909904, -1.551739597178134], [-44.417619187993658, -2.137750339367975], [-44.581588507655773, -2.691308282078523], [-43.418791266440188, -2.383110039889793], [-41.47265682632824, -2.912018324397116], [-39.97866533055403, -2.87305429444904], [-38.50038347019656, -3.700652357603394], [-37.223252122535193, -4.820945733258915], [-36.45293738457638, -5.109403578312153], [-35.597795783010454, -5.149504489770648], [-35.235388963347553, -5.464937432480245], [-34.896029832486825, -6.738193047719709], [-34.729993455533027, -7.343220716992965], [-35.128212042774216, -8.996401462442284], [-35.636966518687707, -9.649281508017811], [-37.046518724096991, -11.040721123908799], [-37.683611619607355, -12.17119475672582], [-38.423876512188436, -13.038118584854285], [-38.673887091616507, -13.057652276260615], [-38.953275722802537, -13.79336964280002], [-38.882298143049645, -15.667053724838764], [-39.161092495264306, -17.208406670808468], [-39.267339240056394, -17.867746270420479], [-39.583521491034219, -18.262295830968934], [-39.76082333022763, -19.599113457927402], [-40.774740770010332, -20.90451181405242], [-40.944756232250597, -21.937316989837807], [-41.75416419123821, -22.370675551037454], [-41.988284267736546, -22.970070489190888], [-43.074703742024738, -22.967693373305462], [-44.647811855637798, -23.351959323827838], [-45.35213578955991, -23.796841729428579], [-46.472093268405523, -24.088968601174539], [-47.648972337420645, -24.885199069927715], [-48.495458136577689, -25.877024834905647], [-48.641004808127725, -26.623697605090928], [-48.474735887228647, -27.175911960561887], [-48.661520351747612, -28.186134535435713], [-48.888457404157393, -28.674115085567877], [-49.587329474472668, -29.224469089476333], [-50.696874152211478, -30.984465020472953], [-51.576226162306149, -31.777698256153204], [-52.256081305538032, -32.245369968394662], [-52.71209998229768, -33.196578057591175], [-53.373661668498229, -33.768377780900757], [-53.650543992718084, -33.202004082981823], [-53.209588995971529, -32.727666110974717], [-53.787951626182185, -32.047242526987617], [-54.572451544805105, -31.494511407193745], [-55.601510179249331, -30.853878676071385], [-55.97324459494093, -30.883075860316296], [-56.976025763564721, -30.109686374636119], [-57.625133429582945, -30.216294854454258]]] } }, - { "type": "Feature", "properties": { "admin": "Brunei", "name": "Brunei", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[114.204016554828343, 4.525873928236805], [114.599961379048707, 4.900011298029965], [115.450710483869798, 5.447729803891532], [115.405700311343566, 4.955227565933837], [115.347460972150643, 4.316636053887009], [114.869557326315373, 4.348313706881924], [114.659595981913498, 4.007636826997753], [114.204016554828343, 4.525873928236805]]] } }, - { "type": "Feature", "properties": { "admin": "Bhutan", "name": "Bhutan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[91.69665652869665, 27.771741848251661], [92.10371178585973, 27.4526140406332], [92.033483514375078, 26.838310451763554], [91.217512648486405, 26.808648179628019], [90.37327477413406, 26.875724188742872], [89.744527622438838, 26.71940298105995], [88.835642531289366, 27.098966376243755], [88.814248488320544, 27.299315904239361], [89.475810174521101, 28.04275889740639], [90.015828891971154, 28.296438503527209], [90.730513950567769, 28.064953925075748], [91.258853794319904, 28.040614325466287], [91.69665652869665, 27.771741848251661]]] } }, - { "type": "Feature", "properties": { "admin": "Botswana", "name": "Botswana", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[25.649163445750155, -18.536025892818987], [25.850391473094724, -18.714412937090533], [26.164790887158478, -19.293085625894935], [27.296504754350501, -20.391519870690995], [27.724747348753247, -20.499058526290387], [27.727227817503252, -20.851801853114711], [28.02137007010861, -21.485975030200578], [28.794656202924209, -21.639454034107445], [29.432188348109033, -22.091312758067584], [28.017235955525244, -22.827753594659072], [27.119409620886238, -23.574323011979772], [26.78640669119741, -24.240690606383478], [26.485753208123292, -24.616326592713097], [25.941652052522151, -24.696373386333214], [25.765848829865206, -25.174845472923671], [25.664666375437712, -25.486816094669706], [25.025170525825782, -25.719670098576891], [24.211266717228792, -25.670215752873567], [23.733569777122703, -25.39012948985161], [23.312096795350179, -25.268689873965712], [22.824271274514896, -25.500458672794768], [22.579531691180584, -25.979447523708142], [22.105968865657864, -26.28025603607913], [21.60589603036939, -26.726533705351748], [20.889609002371731, -26.828542982695907], [20.666470167735437, -26.477453301704916], [20.758609246511831, -25.868136488551446], [20.165725538827186, -24.917961928000768], [19.895767856534427, -24.767790215760588], [19.895457797940672, -21.849156996347865], [20.881134067475866, -21.814327080983144], [20.910641310314531, -18.252218926672018], [21.655040317478971, -18.219146010005222], [23.196858351339298, -17.869038181227783], [23.579005568137713, -18.281261081620055], [24.217364536239209, -17.889347019118485], [24.520705193792534, -17.887124932529932], [25.084443393664564, -17.661815687737366], [25.264225701608005, -17.736539808831413], [25.649163445750155, -18.536025892818987]]] } }, - { "type": "Feature", "properties": { "admin": "Central African Republic", "name": "Central African Rep.", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[15.279460483469107, 7.421924546737968], [16.106231723706767, 7.497087917506504], [16.290561557691884, 7.754307359239304], [16.456184523187343, 7.734773667832966], [16.705988396886251, 7.508327541529978], [17.964929640380884, 7.890914008002865], [18.389554884523218, 8.281303615751822], [18.911021762780504, 8.630894680206351], [18.81200971850927, 8.982914536978596], [19.094008009526018, 9.074846910025837], [20.059685499764267, 9.01270600019485], [21.00086836109616, 9.475985215691507], [21.723821648859452, 10.567055568885973], [22.231129184668784, 10.971888739460507], [22.864165480244218, 11.142395127807543], [22.977543572692603, 10.714462591998538], [23.554304233502187, 10.089255275915306], [23.557249790142826, 9.681218166538683], [23.394779087017181, 9.26506785729222], [23.459012892355979, 8.954285793488891], [23.805813429466745, 8.666318874542425], [24.567369012152078, 8.229187933785466], [25.114932488716786, 7.825104071479172], [25.12413089366472, 7.500085150579436], [25.796647983511171, 6.979315904158069], [26.21341840994511, 6.546603298362071], [26.465909458123232, 5.94671743410187], [27.213409051225163, 5.550953477394557], [27.374226108517483, 5.233944403500059], [27.044065382604703, 5.127852688004835], [26.402760857862535, 5.150874538590869], [25.650455356557465, 5.256087754737123], [25.278798455514302, 5.170408229997191], [25.128833449003274, 4.927244777847789], [24.805028924262409, 4.897246608902349], [24.41053104014625, 5.108784084489129], [23.297213982850135, 4.609693101414221], [22.841479526468103, 4.710126247573483], [22.704123569436284, 4.633050848810156], [22.405123732195531, 4.02916006104732], [21.659122755630019, 4.224341945813719], [20.927591180106273, 4.322785549329736], [20.290679152108932, 4.691677761245287], [19.467783644293146, 5.031527818212779], [18.932312452884755, 4.709506130385973], [18.542982211997778, 4.201785183118317], [18.453065219809925, 3.504385891123348], [17.809900343505259, 3.560196437998569], [17.133042433346297, 3.728196519379451], [16.537058139724135, 3.198254706226278], [16.01285241055535, 2.267639675298084], [15.907380812247649, 2.557389431158612], [15.862732374747479, 3.013537298998982], [15.405395948964379, 3.335300604664339], [15.036219516671249, 3.851367295747123], [14.950953403389658, 4.21038930909492], [14.478372430080466, 4.732605495620446], [14.558935988023501, 5.03059764243153], [14.459407179429345, 5.451760565610299], [14.536560092841111, 6.22695872642069], [14.776545444404572, 6.408498033062044], [15.279460483469107, 7.421924546737968]]] } }, - { "type": "Feature", "properties": { "admin": "Canada", "name": "Canada", "continent": "North America" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-63.6645, 46.55001], [-62.9393, 46.41587], [-62.01208, 46.44314], [-62.50391, 46.03339], [-62.87433, 45.96818], [-64.1428, 46.39265], [-64.39261, 46.72747], [-64.01486, 47.03601], [-63.6645, 46.55001]]], [[[-61.806305, 49.10506], [-62.29318, 49.08717], [-63.58926, 49.40069], [-64.51912, 49.87304], [-64.17322, 49.95718], [-62.85829, 49.70641], [-61.835585, 49.28855], [-61.806305, 49.10506]]], [[[-123.510001587551116, 48.51001089130343], [-124.012890788399474, 48.370846259141402], [-125.655012777338342, 48.825004584338494], [-125.954994466792726, 49.179995835967638], [-126.850004435871853, 49.530000311880421], [-127.029993449544392, 49.814995835970073], [-128.059336304366212, 49.994959011426594], [-128.444584107102145, 50.53913768167611], [-128.358413656255408, 50.770648098343678], [-127.308581096029883, 50.552573554071948], [-126.695000977212302, 50.40090322529538], [-125.755006673823161, 50.295018215529367], [-125.415001587558791, 49.950000515332604], [-124.920768189119315, 49.47527497008339], [-123.92250870832099, 49.062483628935794], [-123.510001587551116, 48.51001089130343]]], [[[-56.134035814017111, 50.687009792679298], [-56.795881720595261, 49.812308661490945], [-56.143105027884289, 50.15011749938283], [-55.471492275602934, 49.935815334668447], [-55.822401089080913, 49.587128607779093], [-54.93514258484565, 49.313010972686833], [-54.473775397343772, 49.556691189159167], [-53.47654944519131, 49.24913890237405], [-53.786013759971233, 48.516780503933617], [-53.086133999226249, 48.687803656603528], [-52.95864824076223, 48.157164211614472], [-52.648098720904173, 47.53554840757549], [-53.069158291218336, 46.655498765644936], [-53.521456264853029, 46.618291734394823], [-54.178935512902527, 46.807065741556997], [-53.961868659060471, 47.625207017601909], [-54.240482143762122, 47.752279364607617], [-55.400773078011483, 46.88499380145312], [-55.997480841685835, 46.919720363953289], [-55.291219041552765, 47.389562486350982], [-56.250798712780508, 47.632545070987383], [-57.325229254777085, 47.572807115257987], [-59.26601518414676, 47.603347886742498], [-59.41949418805369, 47.89945384377485], [-58.796586473207398, 48.251525376979473], [-59.23162451845652, 48.523188381537793], [-58.391804979065213, 49.125580552764163], [-57.358689744686025, 50.718274034215845], [-56.738650071831998, 51.287438259478527], [-55.87097693543528, 51.632094224649187], [-55.406974249886602, 51.588272610065722], [-55.600218268442077, 51.317074693397913], [-56.134035814017111, 50.687009792679298]]], [[[-133.180004041711669, 54.169975490935308], [-132.710007884431292, 54.040009315423518], [-131.749989584003259, 54.120004380909208], [-132.049480347350965, 52.984621487024519], [-131.179042521826574, 52.18043284769827], [-131.577829549822894, 52.182370713909236], [-132.180428426778519, 52.639707139692391], [-132.549992432313843, 53.100014960332132], [-133.054611178755493, 53.411468817755363], [-133.239664482792676, 53.851080227262386], [-133.180004041711669, 54.169975490935308]]], [[[-79.26582, 62.158675], [-79.65752, 61.63308], [-80.09956, 61.7181], [-80.36215, 62.01649], [-80.315395, 62.085565], [-79.92939, 62.3856], [-79.52002, 62.36371], [-79.26582, 62.158675]]], [[[-81.89825, 62.7108], [-83.06857, 62.15922], [-83.77462, 62.18231], [-83.99367, 62.4528], [-83.25048, 62.91409], [-81.87699, 62.90458], [-81.89825, 62.7108]]], [[[-85.161307949549851, 65.657284654392797], [-84.975763719405933, 65.217518215588981], [-84.464012010419495, 65.371772365980163], [-83.88262630891974, 65.109617824963536], [-82.78757687043877, 64.766693020274673], [-81.642013719392509, 64.455135809986942], [-81.553440314444245, 63.979609280037131], [-80.817361212878851, 64.057485663500998], [-80.103451300766594, 63.725981350348597], [-80.991019863595653, 63.41124603947496], [-82.547178107416997, 63.651722317145229], [-83.108797573565042, 64.101875718839707], [-84.100416632813847, 63.569711819098004], [-85.523404710618991, 63.052379055424076], [-85.866768764982339, 63.637252916103542], [-87.221983201836721, 63.541238104905212], [-86.352759772471259, 64.035833238370699], [-86.224886440765133, 64.822916978608262], [-85.883847825854858, 65.738778388117041], [-85.161307949549851, 65.657284654392797]]], [[[-75.86588, 67.14886], [-76.98687, 67.09873], [-77.2364, 67.58809], [-76.81166, 68.14856], [-75.89521, 68.28721], [-75.1145, 68.01036], [-75.10333, 67.58202], [-75.21597, 67.44425], [-75.86588, 67.14886]]], [[[-95.647681203800488, 69.107690358321761], [-96.269521203800579, 68.757040358321731], [-97.61740120380054, 69.060030358321782], [-98.431801203800504, 68.950700358321768], [-99.797401203800504, 69.400030358321786], [-98.917401203800523, 69.710030358321788], [-98.218261203800466, 70.143540358321744], [-97.157401203800532, 69.860030358321794], [-96.557401203800524, 69.680030358321758], [-96.257401203800498, 69.490030358321761], [-95.647681203800488, 69.107690358321761]]], [[[-90.5471, 69.49766], [-90.55151, 68.47499], [-89.21515, 69.25873], [-88.01966, 68.61508], [-88.31749, 67.87338], [-87.35017, 67.19872], [-86.30607, 67.92146], [-85.57664, 68.78456], [-85.52197, 69.88211], [-84.10081, 69.80539], [-82.62258, 69.65826], [-81.28043, 69.16202], [-81.2202, 68.66567], [-81.96436, 68.13253], [-81.25928, 67.59716], [-81.38653, 67.11078], [-83.34456, 66.41154], [-84.73542, 66.2573], [-85.76943, 66.55833], [-86.0676, 66.05625], [-87.03143, 65.21297], [-87.32324, 64.77563], [-88.48296, 64.09897], [-89.91444, 64.03273], [-90.70398, 63.61017], [-90.77004, 62.96021], [-91.93342, 62.83508], [-93.15698, 62.02469], [-94.24153, 60.89865], [-94.62931, 60.11021], [-94.6846, 58.94882], [-93.21502, 58.78212], [-92.76462, 57.84571], [-92.297029999999893, 57.08709], [-90.89769, 57.28468], [-89.03953, 56.85172], [-88.03978, 56.47162], [-87.32421, 55.99914], [-86.07121, 55.72383], [-85.01181, 55.3026], [-83.36055, 55.24489], [-82.27285, 55.14832], [-82.4362, 54.28227], [-82.12502, 53.27703], [-81.40075, 52.15788], [-79.91289, 51.20842], [-79.14301, 51.53393], [-78.60191, 52.56208], [-79.12421, 54.14145], [-79.82958, 54.66772], [-78.22874, 55.13645], [-77.0956, 55.83741], [-76.54137, 56.53423], [-76.62319, 57.20263], [-77.30226, 58.05209], [-78.51688, 58.80458], [-77.33676, 59.85261], [-77.77272, 60.75788], [-78.10687, 62.31964], [-77.41067, 62.55053], [-75.69621, 62.2784], [-74.6682, 62.18111], [-73.83988, 62.4438], [-72.90853, 62.10507], [-71.67708, 61.52535], [-71.37369, 61.13717], [-69.59042, 61.06141], [-69.62033, 60.22125], [-69.2879, 58.95736], [-68.37455, 58.80106], [-67.64976, 58.21206], [-66.20178, 58.76731], [-65.24517, 59.87071], [-64.58352, 60.33558], [-63.80475, 59.4426], [-62.50236, 58.16708], [-61.39655, 56.96745], [-61.79866, 56.33945], [-60.46853, 55.77548], [-59.56962, 55.20407], [-57.97508, 54.94549], [-57.3332, 54.6265], [-56.93689, 53.78032], [-56.15811, 53.64749], [-55.75632, 53.27036], [-55.68338, 52.14664], [-56.40916, 51.7707], [-57.12691, 51.41972], [-58.77482, 51.0643], [-60.03309, 50.24277], [-61.72366, 50.08046], [-63.86251, 50.29099], [-65.36331, 50.2982], [-66.39905, 50.22897], [-67.23631, 49.51156], [-68.51114, 49.06836], [-69.95362, 47.74488], [-71.10458, 46.82171], [-70.25522, 46.98606], [-68.65, 48.3], [-66.55243, 49.1331], [-65.05626, 49.23278], [-64.17099, 48.74248], [-65.11545, 48.07085], [-64.79854, 46.99297], [-64.47219, 46.23849], [-63.17329, 45.73902], [-61.52072, 45.88377], [-60.51815, 47.00793], [-60.4486, 46.28264], [-59.80287, 45.9204], [-61.03988, 45.26525], [-63.25471, 44.67014], [-64.24656, 44.26553], [-65.36406, 43.54523], [-66.1234, 43.61867], [-66.16173, 44.46512], [-64.42549, 45.29204], [-66.02605, 45.25931], [-67.13741, 45.13753], [-67.79134, 45.70281], [-67.79046, 47.06636], [-68.23444, 47.35486], [-68.905, 47.185], [-69.237216, 47.447781], [-69.99997, 46.69307], [-70.305, 45.915], [-70.66, 45.46], [-71.08482, 45.30524], [-71.405, 45.255], [-71.50506, 45.0082], [-73.34783, 45.00738], [-74.867, 45.00048], [-75.31821, 44.81645], [-76.375, 44.09631], [-76.5, 44.018458893758712], [-76.820034145805565, 43.628784288093748], [-77.737885097957687, 43.62905558936329], [-78.720279914042365, 43.625089423184868], [-79.171673550111862, 43.466339423184216], [-79.01, 43.27], [-78.92, 42.965], [-78.939362148743683, 42.863611355148031], [-80.247447679347928, 42.366199856122584], [-81.277746548167144, 42.209025987306845], [-82.439277716791608, 41.675105088867149], [-82.690089280920162, 41.675105088867149], [-83.029810146806909, 41.832795722005834], [-83.141999681312555, 41.975681057292825], [-83.12, 42.08], [-82.9, 42.43], [-82.43, 42.98], [-82.137642381503881, 43.571087551439909], [-82.337763125431053, 44.44], [-82.550924648758169, 45.347516587905368], [-83.592850714843067, 45.816893622412373], [-83.469550747394621, 45.994686387712584], [-83.616130947590563, 46.116926988299056], [-83.890765347005726, 46.116926988299056], [-84.091851264161463, 46.27541860613816], [-84.14211951367335, 46.512225857115723], [-84.3367, 46.40877], [-84.6049, 46.4396], [-84.543748745445853, 46.538684190449132], [-84.779238247399888, 46.637101955749038], [-84.876079881514855, 46.900083319682366], [-85.652363247403414, 47.220218817730498], [-86.461990831228249, 47.553338019392037], [-87.439792623300207, 47.94], [-88.378114183286698, 48.302917588893727], [-89.272917446636654, 48.019808254582657], [-89.6, 48.01], [-90.83, 48.27], [-91.64, 48.14], [-92.61, 48.45], [-93.63087, 48.60926], [-94.32914, 48.67074], [-94.64, 48.84], [-94.81758, 49.38905], [-95.15609, 49.38425], [-95.159069509172014, 49.0], [-97.228720000004799, 49.0007], [-100.65, 49.0], [-104.04826, 48.99986], [-107.05, 49.0], [-110.05, 49.0], [-113.0, 49.0], [-116.04818, 49.0], [-117.03121, 49.0], [-120.0, 49.0], [-122.84, 49.0], [-122.97421, 49.002537777777789], [-124.91024, 49.98456], [-125.62461, 50.41656], [-127.43561, 50.83061], [-127.99276, 51.71583], [-127.85032, 52.32961], [-129.12979, 52.75538], [-129.30523, 53.56159], [-130.51497, 54.28757], [-130.53611, 54.80278], [-129.98, 55.285], [-130.00778, 55.91583], [-131.70781, 56.55212], [-132.73042, 57.69289], [-133.35556, 58.41028], [-134.27111, 58.86111], [-134.945, 59.27056], [-135.47583, 59.78778], [-136.47972, 59.46389], [-137.4525, 58.905], [-138.34089, 59.56211], [-139.039, 60.0], [-140.013, 60.27682], [-140.99778, 60.30639], [-140.9925, 66.00003], [-140.986, 69.712], [-139.12052, 69.47102], [-137.54636, 68.99002], [-136.50358, 68.89804], [-135.62576, 69.31512], [-134.41464, 69.62743], [-132.92925, 69.50534], [-131.43136, 69.94451], [-129.79471, 70.19369], [-129.10773, 69.77927], [-128.36156, 70.01286], [-128.13817, 70.48384], [-127.44712, 70.37721], [-125.75632, 69.48058], [-124.42483, 70.1584], [-124.28968, 69.39969], [-123.06108, 69.56372], [-122.6835, 69.85553], [-121.47226, 69.79778], [-119.94288, 69.37786], [-117.60268, 69.01128], [-116.22643, 68.84151], [-115.2469, 68.90591], [-113.89794, 68.3989], [-115.30489, 67.90261], [-113.49727, 67.68815], [-110.798, 67.80612], [-109.94619, 67.98104], [-108.8802, 67.38144], [-107.79239, 67.88736], [-108.81299, 68.31164], [-108.16721, 68.65392], [-106.95, 68.7], [-106.15, 68.8], [-105.34282, 68.56122], [-104.33791, 68.018], [-103.22115, 68.09775], [-101.45433, 67.64689], [-99.90195, 67.80566], [-98.4432, 67.78165], [-98.5586, 68.40394], [-97.66948, 68.57864], [-96.11991, 68.23939], [-96.12588, 67.29338], [-95.48943, 68.0907], [-94.685, 68.06383], [-94.23282, 69.06903], [-95.30408, 69.68571], [-96.47131, 70.08976], [-96.39115, 71.19482], [-95.2088, 71.92053], [-93.88997, 71.76015], [-92.87818, 71.31869], [-91.51964, 70.19129], [-92.40692, 69.69997], [-90.5471, 69.49766]]], [[[-114.167169999999871, 73.12145], [-114.66634, 72.65277], [-112.441019999999867, 72.9554], [-111.05039, 72.4504], [-109.920349999999857, 72.96113], [-109.00654, 72.63335], [-108.188349999999886, 71.65089], [-107.68599, 72.06548], [-108.39639, 73.08953], [-107.51645, 73.23598], [-106.522589999999866, 73.07601], [-105.402459999999877, 72.67259], [-104.77484, 71.6984], [-104.464759999999814, 70.99297], [-102.78537, 70.49776], [-100.980779999999868, 70.02432], [-101.089289999999892, 69.58447000000011], [-102.731159999999875, 69.50402], [-102.09329, 69.11962], [-102.43024, 68.75282], [-104.24, 68.91], [-105.96, 69.180000000000135], [-107.12254, 69.11922], [-108.999999999999872, 68.78], [-111.534148875200117, 68.630059156817921], [-113.3132, 68.53554], [-113.854959999999807, 69.007440000000102], [-115.22, 69.28], [-116.10794, 69.16821], [-117.34, 69.960000000000107], [-116.674729999999869, 70.06655], [-115.13112, 70.2373], [-113.72141, 70.19237], [-112.4161, 70.36638], [-114.35, 70.6], [-116.48684, 70.52045], [-117.9048, 70.540560000000127], [-118.43238, 70.9092], [-116.11311, 71.30918], [-117.65568, 71.2952], [-119.40199, 71.55859], [-118.56267, 72.30785], [-117.866419999999877, 72.70594], [-115.18909, 73.314590000000109], [-114.167169999999871, 73.12145]]], [[[-104.5, 73.42], [-105.38, 72.76], [-106.94, 73.46], [-106.6, 73.6], [-105.26, 73.64], [-104.5, 73.42]]], [[[-76.34, 73.102684989953005], [-76.251403808593736, 72.826385498046861], [-77.314437866210895, 72.85554504394527], [-78.391670227050795, 72.876655578613253], [-79.486251831054645, 72.742202758789062], [-79.775833129882827, 72.80290222167973], [-80.876098632812514, 73.333183288574205], [-80.833885192871051, 73.693183898925767], [-80.353057861328111, 73.75971984863277], [-78.064437866210923, 73.651931762695327], [-76.34, 73.102684989953005]]], [[[-86.562178514334107, 73.157447007938444], [-85.774371304044521, 72.534125881633798], [-84.850112474288224, 73.34027822538711], [-82.315590176100969, 73.750950832810574], [-80.600087653307611, 72.716543687624181], [-80.748941616524391, 72.061906643350753], [-78.770638597310764, 72.352173163534147], [-77.824623989559569, 72.749616604291035], [-75.605844692675717, 72.243678493937381], [-74.228616095664975, 71.767144273557889], [-74.099140794557698, 71.330840155717638], [-72.242225714797641, 71.556924546994495], [-71.200015428335192, 70.920012518997211], [-68.78605424668487, 70.525023708774242], [-67.914970465756923, 70.121947536897594], [-66.969033372654152, 69.18608734809186], [-68.805122850200533, 68.720198472764409], [-66.449866095633851, 68.067163397892003], [-64.862314419195215, 67.847538560651614], [-63.424934454996745, 66.928473212340649], [-61.851981370680569, 66.862120673277829], [-62.163176845942296, 66.160251369889593], [-63.91844438338417, 64.998668524832837], [-65.148860236253611, 65.426032619886669], [-66.72121904159853, 66.388041083432185], [-68.015016038673949, 66.262725735124391], [-68.141287400979152, 65.689789130304362], [-67.089646165623392, 65.108455105236985], [-65.732080451099748, 64.64840566675862], [-65.320167609301265, 64.382737128346051], [-64.669406297449669, 63.392926744227474], [-65.013803880458894, 62.674185085695974], [-66.275044725190455, 62.945098781986069], [-68.783186204692711, 63.745670071051805], [-67.369680752213029, 62.883965562584869], [-66.328297288667201, 62.28007477482204], [-66.165568203380147, 61.930897121825879], [-68.877366502544632, 62.330149237712803], [-71.023437059193824, 62.910708116295829], [-72.23537858751898, 63.397836005295154], [-71.886278449171286, 63.679989325608837], [-73.37830624051837, 64.193963121183813], [-74.834418911422588, 64.679075629323776], [-74.818502570276706, 64.389093329517962], [-77.709979824520019, 64.229542344816778], [-78.55594885935416, 64.572906399180127], [-77.897281053361908, 65.309192206474776], [-76.018274298797181, 65.326968899183143], [-73.95979529488271, 65.454764716240888], [-74.293883429649625, 65.81177134872938], [-73.94491248238262, 66.310578111426722], [-72.65116716173938, 67.284575507263853], [-72.926059943316076, 67.726925767682374], [-73.311617804645721, 68.069437160912898], [-74.8433072577768, 68.554627183701271], [-76.869100918266739, 68.894735622830254], [-76.228649054657339, 69.147769273547411], [-77.28736996123709, 69.769540106883269], [-78.168633999326588, 69.826487535268896], [-78.95724219431672, 70.166880194775402], [-79.492455003563649, 69.871807766388898], [-81.305470954091732, 69.743185126414332], [-84.944706183598456, 69.966634019644388], [-87.060003424817864, 70.260001125765356], [-88.681713223001495, 70.410741278760796], [-89.513419562523012, 70.762037665480975], [-88.467721116880753, 71.218185533321318], [-89.888151211287465, 71.222552191849942], [-90.205160285181989, 72.235074367960792], [-89.43657670770493, 73.129464219852352], [-88.408241543312784, 73.537888902471209], [-85.826151089200906, 73.803815823045213], [-86.562178514334107, 73.157447007938444]]], [[[-100.35642, 73.84389], [-99.16387, 73.63339], [-97.38, 73.76], [-97.12, 73.47], [-98.05359, 72.99052], [-96.54, 72.56], [-96.72, 71.66], [-98.35966, 71.27285], [-99.32286, 71.35639], [-100.01482, 71.73827], [-102.5, 72.51], [-102.48, 72.83], [-100.43836, 72.70588], [-101.54, 73.36], [-100.35642, 73.84389]]], [[[-93.196295539100205, 72.771992499473342], [-94.26904659704725, 72.024596259235949], [-95.409855516322637, 72.061880805134578], [-96.033745083382428, 72.940276801231789], [-96.01826799191096, 73.437429918095788], [-95.495793423224001, 73.862416897264154], [-94.503657599652328, 74.134906724739196], [-92.420012173211745, 74.100025132942179], [-90.509792853542578, 73.85673248971203], [-92.003965216829869, 72.966244208458477], [-93.196295539100205, 72.771992499473342]]], [[[-120.46, 71.383601793087578], [-123.09219, 70.90164], [-123.62, 71.34], [-125.92894873747332, 71.868688463011395], [-125.499999999999872, 72.292260811795003], [-124.80729, 73.02256], [-123.94, 73.680000000000135], [-124.917749999999899, 74.292750000000112], [-121.53788, 74.44893], [-120.10978, 74.24135], [-117.55564, 74.18577], [-116.58442, 73.89607], [-115.51081, 73.47519], [-116.767939999999882, 73.22292], [-119.22, 72.52], [-120.46, 71.82], [-120.46, 71.383601793087578]]], [[[-93.612755906940464, 74.979997260224437], [-94.156908738973812, 74.59234650338685], [-95.60868058956558, 74.666863918751758], [-96.820932176484561, 74.927623196096576], [-96.288587409229791, 75.377828274223333], [-94.850819871789113, 75.647217515760886], [-93.977746548217908, 75.296489569795952], [-93.612755906940464, 74.979997260224437]]], [[[-98.5, 76.72], [-97.735585, 76.25656], [-97.704415, 75.74344], [-98.16, 75.0], [-99.80874, 74.89744], [-100.88366, 75.05736], [-100.86292, 75.64075], [-102.50209, 75.5638], [-102.56552, 76.3366], [-101.48973, 76.30537], [-99.98349, 76.64634], [-98.57699, 76.58859], [-98.5, 76.72]]], [[[-108.21141, 76.20168], [-107.81943, 75.84552], [-106.92893, 76.01282], [-105.881, 75.9694], [-105.70498, 75.47951], [-106.31347, 75.00527], [-109.7, 74.85], [-112.22307, 74.41696], [-113.74381, 74.39427], [-113.87135, 74.72029], [-111.79421, 75.1625], [-116.31221, 75.04343], [-117.7104, 75.2222], [-116.34602, 76.19903], [-115.40487, 76.47887], [-112.59056, 76.14134], [-110.81422, 75.54919], [-109.0671, 75.47321], [-110.49726, 76.42982], [-109.5811, 76.79417], [-108.54859, 76.67832], [-108.21141, 76.20168]]], [[[-94.684085862999439, 77.097878323058367], [-93.573921068073105, 76.776295884906062], [-91.605023159536586, 76.778517971494594], [-90.741845872749209, 76.449597479956807], [-90.969661424507976, 76.074013170059445], [-89.822237921899244, 75.847773749485626], [-89.187082892599776, 75.610165513807615], [-87.838276333349611, 75.566188869927217], [-86.379192267588664, 75.482421373182163], [-84.789625210290595, 75.699204006646497], [-82.753444586910049, 75.784315090631225], [-81.12853084992436, 75.713983466282016], [-80.05751095245914, 75.336848863415867], [-79.833932868148324, 74.923127346487192], [-80.457770758775823, 74.657303778777774], [-81.948842536125511, 74.442459011524321], [-83.2288936022114, 74.564027818490928], [-86.097452358733292, 74.410032050261137], [-88.150350307960196, 74.392307033984977], [-89.764722052758358, 74.515555325001117], [-92.422440965529418, 74.837757880340973], [-92.768285488642789, 75.38681997344213], [-92.889905972041717, 75.882655341282629], [-93.893824022175977, 76.319243679500516], [-95.962457445035795, 76.44138092722244], [-97.121378953829463, 76.751077785947587], [-96.745122850312342, 77.161388658345132], [-94.684085862999439, 77.097878323058367]]], [[[-116.198586595507322, 77.645286770326194], [-116.335813361458349, 76.876961575010554], [-117.106050584768766, 76.530031846819114], [-118.040412157038119, 76.481171780087081], [-119.899317586885687, 76.053213406061971], [-121.499995077126471, 75.900018622532784], [-122.85492448615895, 76.116542873835684], [-122.854925293603188, 76.116542873835684], [-121.157535360328239, 76.864507554828336], [-119.103938971821023, 77.512219957174608], [-117.570130784965954, 77.498318996888102], [-116.198586595507322, 77.645286770326194]]], [[[-93.840003017943971, 77.51999726023449], [-94.295608283245244, 77.491342678528682], [-96.169654100310055, 77.55511139597688], [-96.436304490936109, 77.83462921824362], [-94.422577277386353, 77.820004787904978], [-93.720656297565867, 77.634331366680314], [-93.840003017943971, 77.51999726023449]]], [[[-110.186938035912945, 77.697014879050286], [-112.051191169058455, 77.409228827616843], [-113.534278937619035, 77.732206529441143], [-112.724586758253835, 78.051050116681935], [-111.264443325630822, 78.152956041161545], [-109.854451870547067, 77.996324774884812], [-110.186938035912945, 77.697014879050286]]], [[[-109.663145718202557, 78.601972561345676], [-110.88131425661885, 78.406919867659994], [-112.542091437615142, 78.407901719873493], [-112.525890876091566, 78.550554511215225], [-111.500010342233367, 78.849993598130538], [-110.96366065147599, 78.804440823065207], [-109.663145718202557, 78.601972561345676]]], [[[-95.830294969449312, 78.056941229963243], [-97.309842902397975, 77.85059723582178], [-98.124289313533964, 78.082856960757567], [-98.55286780474664, 78.458105373845086], [-98.631984422585504, 78.871930243638374], [-97.337231411512604, 78.831984361476756], [-96.754398769908761, 78.765812689926989], [-95.559277920294562, 78.41831452098026], [-95.830294969449312, 78.056941229963243]]], [[[-100.060191820052111, 78.324754340315891], [-99.670939093813601, 77.907544664207393], [-101.303940192452984, 78.018984890444798], [-102.949808722733025, 78.343228664860206], [-105.176132778731514, 78.38033234324574], [-104.210429450277147, 78.677420152491777], [-105.419580451258511, 78.918335679836431], [-105.492289191493128, 79.301593939929177], [-103.529282396237917, 79.16534902619162], [-100.8251580472688, 78.80046173777869], [-100.060191820052111, 78.324754340315891]]], [[[-87.02, 79.66], [-85.81435, 79.3369], [-87.18756, 79.0393], [-89.03535, 78.28723], [-90.80436, 78.21533], [-92.87669, 78.34333], [-93.95116, 78.75099], [-93.93574, 79.11373], [-93.14524, 79.3801], [-94.974, 79.37248], [-96.07614, 79.70502], [-96.70972, 80.15777], [-96.01644, 80.60233], [-95.32345, 80.90729], [-94.29843, 80.97727], [-94.73542, 81.20646], [-92.40984, 81.25739], [-91.13289, 80.72345], [-89.45, 80.509322033898258], [-87.81, 80.32], [-87.02, 79.66]]], [[[-68.5, 83.106321516765732], [-65.82735, 83.02801], [-63.68, 82.9], [-61.85, 82.6286], [-61.89388, 82.36165], [-64.334, 81.92775], [-66.75342, 81.72527], [-67.65755, 81.50141], [-65.48031, 81.50657], [-67.84, 80.9], [-69.4697, 80.61683], [-71.18, 79.8], [-73.2428, 79.63415], [-73.88, 79.430162204802073], [-76.90773, 79.32309], [-75.52924, 79.19766], [-76.22046, 79.01907], [-75.39345, 78.52581], [-76.34354, 78.18296], [-77.88851, 77.89991], [-78.36269, 77.50859], [-79.75951, 77.20968], [-79.61965, 76.98336], [-77.91089, 77.022045], [-77.88911, 76.777955], [-80.56125, 76.17812], [-83.17439, 76.45403], [-86.11184, 76.29901], [-87.6, 76.42], [-89.49068, 76.47239], [-89.6161, 76.95213], [-87.76739, 77.17833], [-88.26, 77.9], [-87.65, 77.970222222222205], [-84.97634, 77.53873], [-86.34, 78.18], [-87.96192, 78.37181], [-87.15198, 78.75867], [-85.37868, 78.9969], [-85.09495, 79.34543], [-86.50734, 79.73624], [-86.93179, 80.25145], [-84.19844, 80.20836], [-83.408695652173819, 80.1], [-81.84823, 80.46442], [-84.1, 80.58], [-87.59895, 80.51627], [-89.36663, 80.85569], [-90.2, 81.26], [-91.36786, 81.5531], [-91.58702, 81.89429], [-90.1, 82.085], [-88.93227, 82.11751], [-86.97024, 82.27961], [-85.5, 82.652273458057024], [-84.260005, 82.6], [-83.18, 82.32], [-82.42, 82.86], [-81.1, 83.02], [-79.30664, 83.13056], [-76.25, 83.172058823529369], [-75.71878, 83.06404], [-72.83153, 83.23324], [-70.665765, 83.169780758382828], [-68.5, 83.106321516765732]]]] } }, - { "type": "Feature", "properties": { "admin": "Switzerland", "name": "Switzerland", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[9.594226108446346, 47.525058091820256], [9.632931756232974, 47.347601223329974], [9.479969516649019, 47.102809963563367], [9.932448357796657, 46.920728054382948], [10.442701450246627, 46.893546250997424], [10.36337812667861, 46.483571275409851], [9.922836541390378, 46.314899400409182], [9.182881707403054, 46.440214748716976], [8.966305779667804, 46.036931871111186], [8.489952426801322, 46.005150865251672], [8.316629672894377, 46.163642483090847], [7.755992058959832, 45.824490057959302], [7.273850945676655, 45.776947740250769], [6.843592970414504, 45.991146552100595], [6.500099724970424, 46.429672756529428], [6.022609490593537, 46.272989813820466], [6.037388950229, 46.725778713561859], [6.768713820023605, 47.287708238303686], [6.736571079138058, 47.541801255882838], [7.192202182655505, 47.449765529971003], [7.466759067422228, 47.620581976911794], [8.31730146651415, 47.613579820336255], [8.522611932009765, 47.830827541691285], [9.594226108446346, 47.525058091820256]]] } }, - { "type": "Feature", "properties": { "admin": "Chile", "name": "Chile", "continent": "South America" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-68.634010227583147, -52.636370458874353], [-68.633349999999879, -54.8695], [-67.56244, -54.87001], [-66.95992, -54.89681], [-67.291029999999878, -55.30124], [-68.148629999999841, -55.61183], [-68.639990810811796, -55.580017999086877], [-69.2321, -55.49906], [-69.95809, -55.19843], [-71.00568, -55.05383], [-72.2639, -54.49514], [-73.2852, -53.957519999999874], [-74.66253, -52.83749], [-73.8381, -53.04743], [-72.43418, -53.7154], [-71.10773, -54.07433], [-70.591779999999787, -53.61583], [-70.26748, -52.93123], [-69.345649999999878, -52.5183], [-68.634010227583147, -52.636370458874353]]], [[[-68.219913092711224, -21.49434661223183], [-67.828179897722634, -22.872918796482178], [-67.106673550063604, -22.735924574476392], [-66.985233934177629, -22.986348565362825], [-67.328442959244128, -24.025303236590908], [-68.417652960876111, -24.518554782816874], [-68.386001146097342, -26.185016371365229], [-68.594799770772667, -26.50690886811126], [-68.295541551370391, -26.899339694935787], [-69.001234910748266, -27.521213881136127], [-69.656130337183143, -28.459141127233686], [-70.013550381129861, -29.367922865518544], [-69.919008348251921, -30.336339206668306], [-70.535068935819439, -31.365010267870279], [-70.074399380153622, -33.09120981214803], [-69.814776984319209, -33.273886000299839], [-69.817309129501453, -34.193571465798279], [-70.388049485949082, -35.169687595359441], [-70.364769253201658, -36.005088799789931], [-71.121880662709771, -36.65812387466233], [-71.118625047475419, -37.576827487947192], [-70.814664272734703, -38.552995293940732], [-71.413516608349042, -38.916022230791107], [-71.680761277946445, -39.808164157878061], [-71.915734015577542, -40.832339369470716], [-71.746803758415453, -42.051386407235988], [-72.148898078078517, -42.254888197601375], [-71.915423956983901, -43.408564548517404], [-71.464056159130493, -43.787611179378324], [-71.793622606071935, -44.207172133156099], [-71.329800788036195, -44.407521661151677], [-71.222778896759721, -44.784242852559409], [-71.659315558545316, -44.973688653341434], [-71.552009446891233, -45.560732924177117], [-71.917258470330196, -46.884838148791786], [-72.44735531278026, -47.738532810253517], [-72.331160854771937, -48.244238376661819], [-72.648247443314929, -48.878618259476774], [-73.415435757120022, -49.318436374712952], [-73.328050910114456, -50.378785088909865], [-72.975746832964617, -50.741450290734299], [-72.309973517532342, -50.677009779666342], [-72.329403856074023, -51.425956312872394], [-71.914803839796321, -52.009022305865912], [-69.498362189396076, -52.142760912637236], [-68.571545376241332, -52.299443855346247], [-69.461284349226617, -52.291950772663924], [-69.94277950710611, -52.537930590373243], [-70.8451016913545, -52.899200528525711], [-71.006332160105217, -53.833252042201345], [-71.429794684520928, -53.856454760300373], [-72.557942877884855, -53.531410001184447], [-73.702756720662862, -52.835069268607249], [-73.702756720662862, -52.835070076051487], [-74.946763475225154, -52.262753588419017], [-75.260026007778507, -51.62935475037321], [-74.976632453089806, -51.043395684615675], [-75.47975419788348, -50.378371677451547], [-75.608015102831942, -48.673772881871784], [-75.182769741502128, -47.711919447623153], [-74.126580980104677, -46.939253431995084], [-75.644395311165439, -46.647643324572016], [-74.69215369332305, -45.76397633238097], [-74.351709357384252, -44.10304412208788], [-73.240356004515192, -44.454960625995611], [-72.717803921179765, -42.383355808278985], [-73.388899909138232, -42.117532240569567], [-73.701335618774834, -43.365776462579738], [-74.33194312203257, -43.224958184584395], [-74.017957119427152, -41.794812920906828], [-73.677099372029943, -39.942212823243111], [-73.217592536090663, -39.258688653318508], [-73.505559455037044, -38.282882582351064], [-73.588060879191076, -37.156284681956016], [-73.166717088499283, -37.123780206044351], [-72.553136969681717, -35.508840020491022], [-71.861732143832555, -33.909092706031522], [-71.438450486929895, -32.418899428030819], [-71.668720669222424, -30.920644626592516], [-71.370082567007714, -30.095682061484997], [-71.48989437527645, -28.861442152625909], [-70.905123867461569, -27.640379734001193], [-70.724953986275963, -25.705924167587209], [-70.403965827095035, -23.628996677344542], [-70.091245897080668, -21.393319187101223], [-70.164419725205974, -19.756468194256183], [-70.372572394477714, -18.347975355708879], [-69.858443569605797, -18.092693780187027], [-69.590423753523979, -17.580011895419286], [-69.100246955019401, -18.260125420812653], [-68.966818406841824, -18.981683444904089], [-68.442225104430918, -19.405068454671419], [-68.757167121033703, -20.37265797290447], [-68.219913092711224, -21.49434661223183]]]] } }, - { "type": "Feature", "properties": { "admin": "China", "name": "China", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[110.339187860151526, 18.678395087147603], [109.475209588663702, 18.19770091396861], [108.655207961056135, 18.507681993071397], [108.626217482540426, 19.367887885001974], [109.119055617308007, 19.821038519769385], [110.211598748822837, 20.101253973872073], [110.786550734502228, 20.077534491450077], [111.01005130416462, 19.695929877190732], [110.570646600386794, 19.255879218009305], [110.339187860151526, 18.678395087147603]]], [[[127.657407261262378, 49.760270494172929], [129.397817824420429, 49.440600084015429], [130.58229332898236, 48.729687404976112], [130.987281528853828, 47.790132351261391], [132.506671991099495, 47.788969631534876], [133.373595819228001, 48.183441677434914], [135.026311476786702, 48.478229885443902], [134.500813836810607, 47.578439846377833], [134.112362095272601, 47.212467352886719], [133.76964399631288, 46.116926988299056], [133.097126906466428, 45.14406647397216], [131.883454217659562, 45.32116160743643], [131.025212030156069, 44.967953192721573], [131.288555129115537, 44.111519680348252], [131.144687941614848, 42.929989732426932], [130.633866408409801, 42.903014634770543], [130.640015903852429, 42.39500946712527], [129.994267205933227, 42.985386867843793], [129.596668735879462, 42.424981797854592], [128.05221520397231, 41.994284572917984], [128.208433058790717, 41.466771552082534], [127.343782993683021, 41.503151760415953], [126.869083286649854, 41.816569322266155], [126.18204511932943, 41.107336127276362], [125.079941847840587, 40.569823716792449], [124.265624627785314, 39.928493353834135], [122.86757042856101, 39.637787583976255], [122.131387974130917, 39.170451768544623], [121.054554478032856, 38.89747101496291], [121.585994907722466, 39.360853583324136], [121.376757033372641, 39.750261338859524], [122.168595005381007, 40.422442531896046], [121.640358514493528, 40.946389878903304], [120.768628778161954, 40.593388169917596], [119.639602085449056, 39.898055935214209], [119.023463983233015, 39.252333075511096], [118.042748651197897, 39.204273993479674], [117.532702264477052, 38.73763580988409], [118.05969852098967, 38.061475531561051], [118.878149855628351, 37.897325344385898], [118.911636183753501, 37.448463853498723], [119.702802362142037, 37.156388658185072], [120.823457472823648, 37.870427761377968], [121.711258579597938, 37.481123358707165], [122.357937453298462, 37.454484157860684], [122.519994744965814, 36.930614325501828], [121.104163853033029, 36.651329047180432], [120.63700890511457, 36.111439520811125], [119.66456180224607, 35.609790554337728], [119.151208123858567, 34.909859117160458], [120.227524855633717, 34.360331936168613], [120.620369093916565, 33.37672272392512], [121.229014113450219, 32.460318711877186], [121.908145786630044, 31.692174384074683], [121.891919386890336, 30.949351508095098], [121.264257440273298, 30.676267401648712], [121.503519321784722, 30.14291494396425], [122.092113885589086, 29.832520453403156], [121.93842817595305, 29.018022365834803], [121.684438511238469, 28.225512600206677], [121.125661248866436, 28.135673122667178], [120.395473260582307, 27.053206895449385], [119.585496860839555, 25.740780544532605], [118.656871372554519, 24.547390855400234], [117.281606479970833, 23.624501451099714], [115.890735304835118, 22.782873236578094], [114.763827345846209, 22.668074042241663], [114.152546828265656, 22.223760077396204], [113.806779819800752, 22.548339748621423], [113.241077915501592, 22.051367499270462], [111.843592157032447, 21.550493679281512], [110.78546552942413, 21.39714386645533], [110.444039341271662, 20.34103261970639], [109.88986128137357, 20.282457383703441], [109.627655063924635, 21.008227037026725], [109.864488153118316, 21.395050970947516], [108.522812941524421, 21.715212307211821], [108.050180291782979, 21.552379869060101], [107.043420037872636, 21.8118989120299], [106.567273390735352, 22.21820486092474], [106.725403273548466, 22.794267889898375], [105.811247186305209, 22.976892401617899], [105.329209425886631, 23.352063300056976], [104.476858351664475, 22.819150092046918], [103.504514601660503, 22.703756618739217], [102.706992222100155, 22.708795070887696], [102.170435825613552, 22.464753119389336], [101.652017856861576, 22.318198757409554], [101.803119744882906, 21.174366766845051], [101.27002566936001, 21.201651923095167], [101.180005324307558, 21.436572984294052], [101.150032993578236, 21.849984442629015], [100.416537713627349, 21.558839423096654], [99.983489211021549, 21.742936713136451], [99.240898878987196, 22.118314317304559], [99.53199222208741, 22.949038804612591], [98.898749220782804, 23.142722072842581], [98.66026248575578, 24.063286037690002], [97.604719679762027, 23.897404690033049], [97.724609002679131, 25.083637193293036], [98.671838006589212, 25.91870250091349], [98.712093947344556, 26.743535874940243], [98.682690057370507, 27.508812160750658], [98.246230910233351, 27.747221381129172], [97.91198774616943, 28.335945136014367], [97.327113885490007, 28.261582749946339], [96.248833449287829, 28.411030992134467], [96.586590610747521, 28.830979519154361], [96.117678664131006, 29.452802028922513], [95.404802280664626, 29.031716620392157], [94.565990431702929, 29.27743805593996], [93.413347609432662, 28.640629380807233], [92.503118931043616, 27.896876329046442], [91.696656528696693, 27.771741848251615], [91.258853794319876, 28.040614325466343], [90.730513950567797, 28.064953925075738], [90.015828891971182, 28.296438503527177], [89.475810174521158, 28.042758897406365], [88.814248488320573, 27.299315904239389], [88.730325962278528, 28.086864732367552], [88.120440708369941, 27.876541652939572], [86.954517043000635, 27.974261786403524], [85.823319940131526, 28.203575954698742], [85.011638218123053, 28.642773952747369], [84.23457970575015, 28.839893703724691], [83.89899295444674, 29.320226141877633], [83.337115106137176, 29.463731594352193], [82.327512648450877, 30.115268052688204], [81.525804477874786, 30.422716986608659], [81.111256138029276, 30.183480943313402], [79.721366815107118, 30.882714748654728], [78.738894484374001, 31.515906073527045], [78.458446486326025, 32.61816437431272], [79.176128777995544, 32.483779812137747], [79.208891636068543, 32.994394639613738], [78.811086460285722, 33.506198025032397], [78.912268914713209, 34.321936346975768], [77.83745079947461, 35.494009507787794], [76.192848341785705, 35.89840342868785], [75.896897414050173, 36.666806138651872], [75.158027785140987, 37.133030910789152], [74.980002475895404, 37.419990139305888], [74.829985792952144, 37.990007025701445], [74.864815708316783, 38.378846340481587], [74.25751427602269, 38.606506862943476], [73.928852166646394, 38.505815334622717], [73.675379266254836, 39.431236884105566], [73.960013055318427, 39.660008449861714], [73.822243686828315, 39.893973497063136], [74.776862420556043, 40.366425279291619], [75.467827996730719, 40.56207225194867], [76.526368035797432, 40.427946071935132], [76.90448449087711, 41.066485907549648], [78.187196893226044, 41.185315863604799], [78.543660923175253, 41.582242540038713], [80.119430373051401, 42.12394074153822], [80.259990268885318, 42.34999929459908], [80.180150180994374, 42.920067857426844], [80.866206496101213, 43.180362046881008], [79.966106398441426, 44.917516994804622], [81.947070753918084, 45.317027492853143], [82.458925815769035, 45.539649563166499], [83.180483839860543, 47.330031236350735], [85.164290399113213, 47.000955715516099], [85.720483839870667, 47.452969468773077], [85.76823286330837, 48.455750637396896], [86.59877648310335, 48.549181626980605], [87.359970330762692, 49.214980780629148], [87.751264276076668, 49.297197984405464], [88.013832228551678, 48.599462795600594], [88.854297723346747, 48.069081732773007], [90.280825636763893, 47.693549099307901], [90.970809360724957, 46.88814606382293], [90.585768263718307, 45.719716091487491], [90.945539585334316, 45.286073309910243], [92.133890822318222, 45.115075995456429], [93.480733677141316, 44.97547211362], [94.688928664125356, 44.352331854828456], [95.306875441471504, 44.241330878265458], [95.762454868556688, 43.319449164394619], [96.349395786527808, 42.725635280928643], [97.451757440177971, 42.74888967546007], [99.515817498779995, 42.524691473961688], [100.845865513108279, 42.663804429691417], [101.833040399179936, 42.51487295182627], [103.312278273534787, 41.907468166667613], [104.522281935649005, 41.90834666601662], [104.964993931093431, 41.597409572916334], [106.129315627061658, 42.134327704428891], [107.744772576937976, 42.481515814781908], [109.243595819131428, 42.519446316084149], [110.412103306115299, 42.871233628911014], [111.129682244920218, 43.406834011400171], [111.82958784388137, 43.743118394539486], [111.667737257943202, 44.073175767587706], [111.348376906379428, 44.457441718110047], [111.87330610560025, 45.102079372735112], [112.436062453258842, 45.01164561622425], [113.463906691544196, 44.808893134127111], [114.46033165899604, 45.339816799493875], [115.985096470200133, 45.727235012386004], [116.717868280098855, 46.38820241961524], [117.421701287914246, 46.67273285581421], [118.874325799638711, 46.805412095723646], [119.663269891438745, 46.692679958678944], [119.772823927897562, 47.048058783550132], [118.866574334794947, 47.747060044946195], [118.064142694166719, 48.06673045510373], [117.295507440257438, 47.697709052107385], [116.308952671373234, 47.853410142602812], [115.742837355615734, 47.726544501326273], [115.485282017073018, 48.135382595403442], [116.191802199367601, 49.134598090199056], [116.67880089728618, 49.888531399121398], [117.879244419426371, 49.510983384796944], [119.288460728025839, 50.142882798862033], [119.279365675942358, 50.582907619827282], [120.182049595216924, 51.64356639261802], [120.738191359541972, 51.964115302124547], [120.725789015791975, 52.516226304730814], [120.177088657716865, 52.753886216841195], [121.003084751470226, 53.251401068731226], [122.245747918792858, 53.431725979213681], [123.571506789240843, 53.458804429734627], [125.068211297710434, 53.161044826868832], [125.946348911646169, 52.792798570356936], [126.564399041856959, 51.784255479532689], [126.939156528837657, 51.353894151405896], [127.287455682484904, 50.739797268265434], [127.657407261262378, 49.760270494172929]]]] } }, - { "type": "Feature", "properties": { "admin": "Ivory Coast", "name": "C�te d'Ivoire", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-2.856125047202397, 4.994475816259508], [-3.311084357100071, 4.984295559098014], [-4.008819545904941, 5.179813340674314], [-4.64991736491791, 5.168263658057084], [-5.834496222344525, 4.993700669775135], [-6.528769090185845, 4.705087795425015], [-7.518941209330434, 4.338288479017307], [-7.712159389669749, 4.364565944837721], [-7.63536821128403, 5.188159084489455], [-7.53971513511176, 5.313345241716517], [-7.570152553731686, 5.707352199725903], [-7.993692592795879, 6.126189683451541], [-8.311347622094017, 6.193033148621081], [-8.602880214868618, 6.467564195171659], [-8.385451626000572, 6.911800645368742], [-8.485445522485348, 7.395207831243068], [-8.439298468448696, 7.686042792181736], [-8.280703497744936, 7.687179673692156], [-8.221792364932197, 8.123328762235571], [-8.299048631208562, 8.316443589710302], [-8.203498907900878, 8.455453192575446], [-7.832100389019186, 8.575704250518625], [-8.079113735374348, 9.376223863152033], [-8.309616461612249, 9.789531968622439], [-8.22933712404682, 10.129020290563897], [-8.029943610048617, 10.206534939001711], [-7.89958980959237, 10.297382106970824], [-7.622759161804808, 10.147236232946792], [-6.850506557635057, 10.138993841996237], [-6.666460944027547, 10.430810655148447], [-6.493965013037267, 10.411302801958268], [-6.205222947606429, 10.524060777219132], [-6.050452032892266, 10.096360785355442], [-5.816926235365286, 10.222554633012191], [-5.404341599946973, 10.370736802609144], [-4.954653286143098, 10.152713934769732], [-4.779883592131966, 9.821984768101741], [-4.330246954760383, 9.610834865757139], [-3.980449184576684, 9.862344061721698], [-3.511898972986272, 9.900326239456216], [-2.827496303712706, 9.642460842319775], [-2.56218950032624, 8.219627793811481], [-2.983584967450326, 7.379704901555511], [-3.244370083011261, 6.2504715031135], [-2.810701463217839, 5.389051215024109], [-2.856125047202397, 4.994475816259508]]] } }, - { "type": "Feature", "properties": { "admin": "Cameroon", "name": "Cameroon", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[13.07582238124675, 2.267097072759014], [12.951333855855605, 2.321615708826939], [12.359380323952218, 2.19281220133945], [11.751665480199787, 2.326757513839993], [11.276449008843711, 2.261050930180871], [9.649158155972627, 2.283866075037735], [9.795195753629455, 3.073404445809117], [9.404366896205998, 3.734526882335202], [8.948115675501068, 3.904128933117135], [8.744923943729416, 4.352215277519959], [8.488815545290889, 4.495617377129917], [8.500287713259693, 4.771982937026847], [8.757532993208626, 5.47966583904791], [9.233162876023043, 6.444490668153334], [9.522705926154398, 6.453482367372116], [10.118276808318255, 7.038769639509879], [10.497375115611417, 7.055357774275562], [11.058787876030349, 6.644426784690593], [11.745774366918509, 6.981382961449753], [11.839308709366801, 7.397042344589434], [12.063946160539556, 7.799808457872301], [12.218872104550597, 8.305824082874322], [12.753671502339214, 8.717762762888993], [12.955467970438971, 9.417771714714702], [13.1675997249971, 9.64062632897341], [13.308676385153914, 10.160362046748926], [13.572949659894558, 10.798565985553564], [14.415378859116682, 11.572368882692071], [14.468192172918974, 11.90475169519341], [14.57717776862253, 12.085360826053501], [14.181336297266792, 12.483656927943112], [14.213530714584634, 12.802035427293344], [14.495787387762842, 12.859396267137326], [14.893385857816522, 12.219047756392582], [14.960151808337598, 11.555574042197222], [14.923564894274955, 10.891325181517471], [15.467872755605269, 9.982336737503429], [14.909353875394713, 9.99212942142273], [14.627200555081057, 9.920919297724536], [14.171466098699025, 10.021378282099928], [13.954218377344002, 9.549494940626685], [14.544466586981766, 8.965861314322266], [14.979995558337688, 8.796104234243471], [15.120865512765331, 8.382150173369423], [15.436091749745765, 7.692812404811971], [15.279460483469107, 7.421924546737968], [14.776545444404572, 6.408498033062044], [14.536560092841111, 6.22695872642069], [14.459407179429345, 5.451760565610299], [14.558935988023501, 5.03059764243153], [14.478372430080466, 4.732605495620446], [14.950953403389658, 4.21038930909492], [15.036219516671249, 3.851367295747123], [15.405395948964379, 3.335300604664339], [15.862732374747479, 3.013537298998982], [15.907380812247649, 2.557389431158612], [16.01285241055535, 2.267639675298084], [15.940918816805061, 1.727672634280295], [15.14634199388524, 1.964014797367184], [14.337812534246577, 2.22787466064949], [13.07582238124675, 2.267097072759014]]] } }, - { "type": "Feature", "properties": { "admin": "Democratic Republic of the Congo", "name": "Dem. Rep. Congo", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[30.833859897593801, 3.50916596111034], [30.773346795380036, 2.339883327642127], [31.174149204235807, 2.204465236821263], [30.852670118948048, 1.849396470543809], [30.468507521290292, 1.58380544677972], [30.086153598762703, 1.062312730306288], [29.875778842902488, 0.597379868976304], [29.819503208136634, -0.205310153813372], [29.587837762172164, -0.58740569417948], [29.579466180140876, -1.341313164885626], [29.29188683443661, -1.620055840667987], [29.254834832483336, -2.215109958508911], [29.117478875451546, -2.292211195488384], [29.02492638521678, -2.839257907730157], [29.276383904749046, -3.293907159034063], [29.339997592900342, -4.499983412294092], [29.519986606572925, -5.419978936386313], [29.41999271008816, -5.939998874539432], [29.620032179490003, -6.520015150583424], [30.199996779101692, -7.079980970898161], [30.740015496551781, -8.340007419470913], [30.34608605319081, -8.238256524288216], [29.002912225060467, -8.40703175215347], [28.734866570762495, -8.526559340044576], [28.449871046672818, -9.164918308146083], [28.673681674928922, -9.605924981324931], [28.496069777141763, -10.789883721564044], [28.372253045370421, -11.793646742401389], [28.642417433392346, -11.971568698782312], [29.341547885869087, -12.36074391037241], [29.616001417771223, -12.178894545137307], [29.699613885219485, -13.257226657771827], [28.934285922976834, -13.248958428605132], [28.52356163912102, -12.698604424696679], [28.15510867687998, -12.272480564017894], [27.38879886242378, -12.132747491100663], [27.164419793412456, -11.608748467661071], [26.55308759939961, -11.924439792532125], [25.752309604604726, -11.784965101776356], [25.418118116973197, -11.330935967659958], [24.783169793402948, -11.238693536018962], [24.314516228947948, -11.262826429899269], [24.257155389103982, -10.951992689663655], [23.912215203555714, -10.926826267137512], [23.456790805767433, -10.867863457892481], [22.837345411884733, -11.017621758674329], [22.402798292742371, -10.99307545333569], [22.155268182064304, -11.084801120653768], [22.208753289486388, -9.894796237836507], [21.87518191904234, -9.523707777548564], [21.801801385187897, -8.908706556842978], [21.949130893652036, -8.305900974158275], [21.746455926203303, -7.920084730667147], [21.728110792739695, -7.2908724910813], [20.514748162526498, -7.299605808138629], [20.601822950938292, -6.93931772219968], [20.091621534920645, -6.943090101756993], [20.037723016040214, -7.116361179231644], [19.417502475673157, -7.155428562044297], [19.166613396896107, -7.738183688999753], [19.016751743249664, -7.988245944860132], [18.464175652752683, -7.847014255406442], [18.134221632569048, -7.98767750410492], [17.472970004962232, -8.068551120641699], [17.089995965247166, -7.545688978712525], [16.860190870845198, -7.222297865429984], [16.573179965896141, -6.622644545115087], [16.326528354567042, -5.877470391466267], [13.375597364971892, -5.864241224799548], [13.02486941900696, -5.984388929878157], [12.735171339578695, -5.965682061388497], [12.322431674863507, -6.100092461779658], [12.182336866920249, -5.789930515163837], [12.436688266660866, -5.684303887559245], [12.468004184629734, -5.248361504745003], [12.631611769265788, -4.991271254092935], [12.995517205465173, -4.781103203961883], [13.258240187237044, -4.882957452009165], [13.600234816144676, -4.500138441590969], [14.144956088933295, -4.510008640158715], [14.209034864975219, -4.793092136253597], [14.582603794013179, -4.970238946150139], [15.170991652088441, -4.3435071753143], [15.753540073314749, -3.855164890156096], [16.006289503654298, -3.535132744972528], [15.972803175529149, -2.712392266453612], [16.407091912510051, -1.740927015798682], [16.86530683764212, -1.225816338713287], [17.523716261472853, -0.743830254726987], [17.638644646889983, -0.424831638189246], [17.663552687254676, -0.058083998213817], [17.826540154703245, 0.288923244626105], [17.774191928791563, 0.855658677571085], [17.89883548347958, 1.741831976728278], [18.09427575040743, 2.365721543788055], [18.39379235197114, 2.90044342692822], [18.453065219809925, 3.504385891123348], [18.542982211997778, 4.201785183118317], [18.932312452884755, 4.709506130385973], [19.467783644293146, 5.031527818212779], [20.290679152108932, 4.691677761245287], [20.927591180106273, 4.322785549329736], [21.659122755630019, 4.224341945813719], [22.405123732195531, 4.02916006104732], [22.704123569436284, 4.633050848810156], [22.841479526468103, 4.710126247573483], [23.297213982850135, 4.609693101414221], [24.41053104014625, 5.108784084489129], [24.805028924262409, 4.897246608902349], [25.128833449003274, 4.927244777847789], [25.278798455514302, 5.170408229997191], [25.650455356557465, 5.256087754737123], [26.402760857862535, 5.150874538590869], [27.044065382604703, 5.127852688004835], [27.374226108517483, 5.233944403500059], [27.979977247842807, 4.408413397637373], [28.428993768026906, 4.287154649264493], [28.696677687298795, 4.455077215996936], [29.159078403446497, 4.38926727947323], [29.715995314256013, 4.600804755060024], [29.953500197069467, 4.173699042167683], [30.833859897593801, 3.50916596111034]]] } }, - { "type": "Feature", "properties": { "admin": "Republic of Congo", "name": "Congo", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[12.995517205465173, -4.781103203961883], [12.620759718484491, -4.438023369976135], [12.318607618873923, -4.606230157086187], [11.914963006242086, -5.037986748884789], [11.093772820691923, -3.978826592630546], [11.855121697648114, -3.42687061932105], [11.478038771214299, -2.765618991714241], [11.820963575903189, -2.514161472181982], [12.495702752338159, -2.391688327650242], [12.575284458067639, -1.948511244315134], [13.109618767965626, -2.428740329603513], [13.992407260807706, -2.470804945489099], [14.299210239324564, -1.998275648612213], [14.425455763413593, -1.333406670744971], [14.316418491277741, -0.552627455247048], [13.843320753645653, 0.038757635901149], [14.276265903386953, 1.196929836426619], [14.026668735417214, 1.395677395021153], [13.282631463278816, 1.31418366129688], [13.003113641012074, 1.830896307783319], [13.07582238124675, 2.267097072759014], [14.337812534246577, 2.22787466064949], [15.14634199388524, 1.964014797367184], [15.940918816805061, 1.727672634280295], [16.01285241055535, 2.267639675298084], [16.537058139724135, 3.198254706226278], [17.133042433346297, 3.728196519379451], [17.809900343505259, 3.560196437998569], [18.453065219809925, 3.504385891123348], [18.39379235197114, 2.90044342692822], [18.09427575040743, 2.365721543788055], [17.89883548347958, 1.741831976728278], [17.774191928791563, 0.855658677571085], [17.826540154703245, 0.288923244626105], [17.663552687254676, -0.058083998213817], [17.638644646889983, -0.424831638189246], [17.523716261472853, -0.743830254726987], [16.86530683764212, -1.225816338713287], [16.407091912510051, -1.740927015798682], [15.972803175529149, -2.712392266453612], [16.006289503654298, -3.535132744972528], [15.753540073314749, -3.855164890156096], [15.170991652088441, -4.3435071753143], [14.582603794013179, -4.970238946150139], [14.209034864975219, -4.793092136253597], [14.144956088933295, -4.510008640158715], [13.600234816144676, -4.500138441590969], [13.258240187237044, -4.882957452009165], [12.995517205465173, -4.781103203961883]]] } }, - { "type": "Feature", "properties": { "admin": "Colombia", "name": "Colombia", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-75.373223232713841, -0.15203175212045], [-75.801465827116587, 0.084801337073202], [-76.292314419240938, 0.416047268064119], [-76.576379767549383, 0.256935533037435], [-77.424984300430367, 0.395686753741117], [-77.668612840470416, 0.825893052570961], [-77.855061408179509, 0.809925034992773], [-78.855258755188686, 1.380923773601822], [-78.990935228171026, 1.691369940595251], [-78.617831387023699, 1.766404120283056], [-78.662118089497838, 2.267355454920476], [-78.427610439757302, 2.629555568854215], [-77.931542527971473, 2.696605739752925], [-77.510431281224996, 3.325016994638246], [-77.127689785455246, 3.849636135265356], [-77.496271938776999, 4.087606105969427], [-77.307601284479375, 4.667984117039452], [-77.533220587865713, 5.582811997902496], [-77.318815070286718, 5.845354112161359], [-77.476660732722266, 6.691116441266301], [-77.881571417945239, 7.223771267114783], [-77.75341386586139, 7.709839789252141], [-77.431107957656977, 7.638061224798733], [-77.242566494440069, 7.935278225125442], [-77.474722866511314, 8.524286200388216], [-77.353360765273848, 8.670504665558068], [-76.836673957003541, 8.638749497914715], [-76.086383836557843, 9.336820583529486], [-75.674600185840035, 9.443248195834597], [-75.664704149056149, 9.774003200718736], [-75.480425991503338, 10.618990383339305], [-74.906895107711975, 11.08304474532032], [-74.276752692344871, 11.102035834187586], [-74.197222663047683, 11.310472723836865], [-73.414763963500278, 11.227015285685479], [-72.62783525255962, 11.731971543825519], [-72.238194953078903, 11.955549628136325], [-71.754090135368628, 12.437303168177305], [-71.399822353791691, 12.376040757695289], [-71.137461107045866, 12.112981879113503], [-71.331583624950284, 11.776284084515805], [-71.973921678338272, 11.608671576377116], [-72.227575446242923, 11.108702093953237], [-72.614657762325194, 10.821975409381777], [-72.905286017534692, 10.45034434655477], [-73.027604132769554, 9.736770331252441], [-73.304951544880026, 9.151999823437604], [-72.788729824500379, 9.085027167187331], [-72.660494757768092, 8.62528778730268], [-72.439862230097944, 8.405275376820027], [-72.360900641555958, 8.002638454617893], [-72.479678921178831, 7.632506008327352], [-72.444487270788059, 7.42378489830048], [-72.19835242378187, 7.340430813013682], [-71.960175747348629, 6.991614895043538], [-70.674233567981503, 7.087784735538717], [-70.093312954372408, 6.960376491723109], [-69.389479946557103, 6.099860541198835], [-68.985318569602327, 6.206804917826856], [-68.265052456318216, 6.153268133972473], [-67.695087246355001, 6.267318020040645], [-67.34143958196556, 6.095468044454021], [-67.521531948502741, 5.556870428891968], [-67.744696621355203, 5.221128648291667], [-67.823012254493534, 4.503937282728898], [-67.621835903581271, 3.839481716319994], [-67.33756384954367, 3.542342230641721], [-67.303173183853417, 3.31845408773718], [-67.809938117123693, 2.820655015469569], [-67.447092047786299, 2.600280869960869], [-67.181294318293041, 2.250638129074062], [-66.876325853122566, 1.253360500489336], [-67.065048183852483, 1.130112209473225], [-67.25999752467358, 1.719998684084956], [-67.537810024674684, 2.037162787276329], [-67.868565029558823, 1.692455145673392], [-69.816973232691609, 1.714805202639624], [-69.804596727157701, 1.089081122233466], [-69.218637661400166, 0.985676581217433], [-69.252434048119042, 0.602650865070075], [-69.452396002872447, 0.706158758950693], [-70.015565761989293, 0.541414292804205], [-70.02065589057004, -0.185156345219539], [-69.577065395776586, -0.549991957200163], [-69.420485805932216, -1.122618503426409], [-69.444101935489599, -1.556287123219817], [-69.893635219996611, -4.298186944194326], [-70.394043952094975, -3.766591485207825], [-70.692682054309699, -3.742872002785858], [-70.047708502874841, -2.725156345229699], [-70.813475714791949, -2.256864515800742], [-71.413645799429773, -2.342802422702128], [-71.774760708285385, -2.169789727388937], [-72.325786505813639, -2.434218031426453], [-73.070392218707212, -2.308954359550952], [-73.659503546834586, -1.260491224781134], [-74.122395189089048, -1.002832533373848], [-74.441600511355958, -0.530820000819887], [-75.106624518520064, -0.05720549886486], [-75.373223232713841, -0.15203175212045]]] } }, - { "type": "Feature", "properties": { "admin": "Costa Rica", "name": "Costa Rica", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-82.965783047197348, 8.225027980985983], [-83.508437262694287, 8.446926581247281], [-83.711473965169063, 8.656836249216864], [-83.596313035806631, 8.830443223501417], [-83.632641567707822, 9.051385809765319], [-83.909885626953724, 9.290802720573579], [-84.303401658856345, 9.487354030795712], [-84.64764421256865, 9.615537421095707], [-84.713350796227743, 9.908051866083849], [-84.975660366541319, 10.086723130733004], [-84.911374884770211, 9.795991522658921], [-85.110923428065291, 9.557039699741308], [-85.339488288092255, 9.834542141148658], [-85.660786505866966, 9.93334747969072], [-85.797444831062819, 10.134885565629032], [-85.791708747078417, 10.439337266476612], [-85.65931372754666, 10.754330959511718], [-85.941725430021748, 10.895278428587799], [-85.712540452807289, 11.088444932494822], [-85.561851976244171, 11.217119248901593], [-84.903003302738924, 10.952303371621895], [-84.673069017256239, 11.082657172078139], [-84.355930752281026, 10.999225572142901], [-84.190178595704822, 10.793450018756671], [-83.895054490885926, 10.726839097532444], [-83.655611741861563, 10.938764146361418], [-83.402319708982944, 10.39543813724465], [-83.015676642575158, 9.992982082555553], [-82.546196255203469, 9.566134751824674], [-82.932890998043561, 9.476812038608172], [-82.927154914059145, 9.074330145702914], [-82.719183112300513, 8.925708726431493], [-82.868657192704759, 8.807266343618521], [-82.829770677405151, 8.626295477732368], [-82.9131764391242, 8.423517157419068], [-82.965783047197348, 8.225027980985983]]] } }, - { "type": "Feature", "properties": { "admin": "Cuba", "name": "Cuba", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-82.268151211257035, 23.188610744717703], [-81.404457160146819, 23.117271429938775], [-80.61876868358118, 23.105980129482994], [-79.679523688460222, 22.765303249598823], [-79.281485968732071, 22.399201565027049], [-78.347434455056472, 22.512166246017085], [-77.993295864560253, 22.277193508385928], [-77.146422492161037, 21.657851467367831], [-76.523824835908528, 21.20681956632437], [-76.194620123993175, 21.220565497314006], [-75.598222418912655, 21.01662445727413], [-75.671060350228032, 20.735091254147999], [-74.933896043584483, 20.693905137611381], [-74.178024868451246, 20.284627793859737], [-74.296648118777242, 20.050378526280678], [-74.961594611292924, 19.923435370355687], [-75.634680141894577, 19.873774318923193], [-76.323656175425981, 19.952890936762056], [-77.755480923153044, 19.855480861891873], [-77.085108405246729, 20.413353786698789], [-77.492654588516601, 20.673105373613886], [-78.137292243141573, 20.739948838783427], [-78.482826707661161, 21.028613389565848], [-78.719866502583997, 21.598113511638431], [-79.284999966127913, 21.559175319906497], [-80.217475348618635, 21.827324327069032], [-80.517534552721401, 22.037078965741756], [-81.820943366203167, 22.192056586185068], [-82.169991828118611, 22.387109279870746], [-81.79500179719264, 22.636964830001951], [-82.775897996740838, 22.688150336187057], [-83.494458787759328, 22.168517971276124], [-83.908800421875611, 22.154565334557329], [-84.052150845053248, 21.910575059491251], [-84.547030198896351, 21.801227728761639], [-84.974911058273079, 21.896028143801082], [-84.44706214062775, 22.204949856041903], [-84.23035702181177, 22.56575470630376], [-83.778239915690165, 22.78811839445569], [-83.267547573565736, 22.983041897060641], [-82.510436164057495, 23.078746649665181], [-82.268151211257035, 23.188610744717703]]] } }, - { "type": "Feature", "properties": { "admin": "Northern Cyprus", "name": "N. Cyprus", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[32.731780226377445, 35.14002594658843], [32.802473585752743, 35.145503648411363], [32.946960890440799, 35.38670339613369], [33.667227003724939, 35.373215847305509], [34.576473829900458, 35.671595567358786], [33.900804477684197, 35.245755927057608], [33.973616570783456, 35.058506374647997], [33.866439650210104, 35.093594672174177], [33.675391880027057, 35.017862860650446], [33.525685255677494, 35.038688462864066], [33.475817498515845, 35.000344550103499], [33.45592207208346, 35.101423651666401], [33.383833449036295, 35.162711900364563], [33.190977003723042, 35.173124701471373], [32.919572381326127, 35.087832749973636], [32.731780226377445, 35.14002594658843]]] } }, - { "type": "Feature", "properties": { "admin": "Cyprus", "name": "Cyprus", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[33.973616570783456, 35.058506374647997], [34.004880812320032, 34.978097846001852], [32.97982710137844, 34.571869411755436], [32.490296258277532, 34.701654771456468], [32.256667107885953, 35.103232326796622], [32.731780226377445, 35.14002594658843], [32.919572381326127, 35.087832749973636], [33.190977003723042, 35.173124701471373], [33.383833449036295, 35.162711900364563], [33.45592207208346, 35.101423651666401], [33.475817498515845, 35.000344550103499], [33.525685255677494, 35.038688462864066], [33.675391880027057, 35.017862860650446], [33.866439650210104, 35.093594672174177], [33.973616570783456, 35.058506374647997]]] } }, - { "type": "Feature", "properties": { "admin": "Czech Republic", "name": "Czech Rep.", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[16.960288120194573, 48.596982326850593], [16.49928266771877, 48.785808010445095], [16.029647251050218, 48.733899034207916], [15.253415561593979, 49.039074205107575], [14.901447381254055, 48.964401760445817], [14.33889773932472, 48.555305284207193], [13.595945672264433, 48.877171942737135], [13.031328973043427, 49.307068182973232], [12.52102420416119, 49.54741526956272], [12.415190870827441, 49.96912079528056], [12.240111118222556, 50.266337795607271], [12.96683678554319, 50.484076443069071], [13.338131951560282, 50.733234361364346], [14.05622765468817, 50.926917629594286], [14.307013380600633, 51.117267767941399], [14.570718214586062, 51.002339382524262], [15.016995883858666, 51.106674099321566], [15.490972120839725, 50.7847299261432], [16.238626743238566, 50.697732652379827], [16.176253289462263, 50.4226073268579], [16.719475945714429, 50.215746568393527], [16.868769158605655, 50.473973700556016], [17.554567091551117, 50.36214590107641], [17.649445021238986, 50.049038397819942], [18.392913852622168, 49.988628648470737], [18.85314415861361, 49.496229763377634], [18.554971144289478, 49.495015367218777], [18.399993523846174, 49.315000515330034], [18.170498488037961, 49.271514797556421], [18.104972771891848, 49.043983466175298], [17.913511590250462, 48.996492824899072], [17.886484816161808, 48.903475246773695], [17.545006951577101, 48.800019029325362], [17.101984897538895, 48.8169688991171], [16.960288120194573, 48.596982326850593]]] } }, - { "type": "Feature", "properties": { "admin": "Germany", "name": "Germany", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[9.92190636560923, 54.983104153048025], [9.939579705452898, 54.596641954153242], [10.950112338920517, 54.363607082733147], [10.939466993868447, 54.008693345752583], [11.95625247564328, 54.196485500701144], [12.518440382546711, 54.470370591847988], [13.647467075259495, 54.075510972705885], [14.119686313542555, 53.757029120491026], [14.353315463934164, 53.248171291713092], [14.074521111719431, 52.981262518925334], [14.437599725002197, 52.62485016540829], [14.685026482815713, 52.089947414755208], [14.607098422919645, 51.745188096719964], [15.016995883858781, 51.106674099321701], [14.570718214586119, 51.002339382524369], [14.307013380600662, 51.117267767941364], [14.05622765468831, 50.92691762959435], [13.338131951560397, 50.733234361364268], [12.966836785543249, 50.484076443069164], [12.240111118222668, 50.266337795607214], [12.41519087082747, 49.969120795280602], [12.521024204161332, 49.547415269562741], [13.031328973043513, 49.307068182973232], [13.595945672264575, 48.877171942737156], [13.243357374737112, 48.416114813829026], [12.884102817443873, 48.289145819687846], [13.025851271220514, 47.637583523135945], [12.93262698736606, 47.467645575543983], [12.620759718484519, 47.672387600284409], [12.141357456112869, 47.703083401065768], [11.426414015354847, 47.523766181013045], [10.544504021861597, 47.566399237653783], [10.402083774465321, 47.302487697939164], [9.896068149463188, 47.58019684507569], [9.594226108446376, 47.525058091820185], [8.522611932009793, 47.830827541691342], [8.317301466514092, 47.613579820336263], [7.466759067422286, 47.620581976911907], [7.59367638513106, 48.333019110703724], [8.099278598674855, 49.017783515003423], [6.658229607783709, 49.201958319691627], [6.186320428094176, 49.4638028021145], [6.242751092156992, 49.90222565367872], [6.043073357781109, 50.128051662794221], [6.156658155958779, 50.803721015010574], [5.988658074577812, 51.85161570902504], [6.589396599970825, 51.85202912048338], [6.842869500362381, 52.228440253297542], [7.092053256873895, 53.14404328064488], [6.905139601274128, 53.482162177130633], [7.100424838905268, 53.693932196662658], [7.936239454793961, 53.748295803433777], [8.121706170289483, 53.527792466844275], [8.800734490604667, 54.02078563090889], [8.572117954145368, 54.395646470754045], [8.526229282270206, 54.962743638725144], [9.282048780971136, 54.830865383516297], [9.92190636560923, 54.983104153048025]]] } }, - { "type": "Feature", "properties": { "admin": "Djibouti", "name": "Djibouti", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[43.081226027200152, 12.699638576707112], [43.317852410664663, 12.390148423711022], [43.286381463398911, 11.974928290245883], [42.715873650896519, 11.735640570518338], [43.145304803242126, 11.462039699748853], [42.776851841000948, 10.926878566934416], [42.55493000000012, 11.105110000000193], [42.314140000000116, 11.0342], [41.755570000000191, 11.05091], [41.739590000000177, 11.355110000000137], [41.661760000000122, 11.6312], [42.000000000000107, 12.100000000000133], [42.351560000000106, 12.54223000000013], [42.779642368344739, 12.455415757695672], [43.081226027200152, 12.699638576707112]]] } }, - { "type": "Feature", "properties": { "admin": "Denmark", "name": "Denmark", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[12.690006137755629, 55.60999095318077], [12.089991082414738, 54.800014553437919], [11.043543328504226, 55.36486379660424], [10.90391360845163, 55.779954738988735], [12.370904168353288, 56.111407375708822], [12.690006137755629, 55.60999095318077]]], [[[10.912181837618359, 56.4586213242779], [10.667803989309986, 56.081383368547208], [10.369992710011983, 56.190007229224719], [9.649984978889306, 55.469999498102041], [9.921906365609173, 54.983104153048046], [9.282048780971136, 54.830865383516155], [8.526229282270235, 54.962743638724973], [8.120310906617588, 55.517722683323612], [8.089976840862247, 56.540011705137587], [8.256581658571262, 56.809969387430286], [8.543437534223385, 57.110002753316891], [9.424469028367609, 57.172066148499468], [9.775558709358561, 57.447940782289649], [10.580005730846151, 57.730016587954843], [10.54610599126269, 57.21573273378614], [10.250000034230222, 56.890016181050456], [10.369992710011983, 56.60998159446082], [10.912181837618359, 56.4586213242779]]]] } }, - { "type": "Feature", "properties": { "admin": "Dominican Republic", "name": "Dominican Rep.", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-71.71236141629295, 19.714455878167353], [-71.587304450146604, 19.884910590082093], [-70.806706102161726, 19.880285549391981], [-70.214364997016119, 19.622885240146157], [-69.950815192327568, 19.647999986240002], [-69.769250047470067, 19.293267116772437], [-69.222125820579862, 19.313214219637096], [-69.254346076113819, 19.015196234609871], [-68.809411994080818, 18.979074408437846], [-68.317943284768958, 18.612197577381689], [-68.689315965434503, 18.205142320218609], [-69.164945848248905, 18.422648423735108], [-69.623987596297624, 18.380712998930246], [-69.952933926051529, 18.428306993071057], [-70.133232998317879, 18.245915025296892], [-70.517137213814195, 18.184290879788829], [-70.669298468697619, 18.42688589118303], [-70.999950120717173, 18.283328762276206], [-71.400209927033885, 17.598564357976596], [-71.657661912712001, 17.757572740138695], [-71.708304816358037, 18.044997056546091], [-71.687737596305865, 18.316660061104468], [-71.945112067335543, 18.616900132720257], [-71.701302659782485, 18.785416978424049], [-71.624873216422813, 19.169837958243303], [-71.71236141629295, 19.714455878167353]]] } }, - { "type": "Feature", "properties": { "admin": "Algeria", "name": "Algeria", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[11.99950564947161, 23.471668402596443], [8.572893100629782, 21.565660712159136], [5.677565952180684, 19.601206976799713], [4.267419467800038, 19.155265204336995], [3.158133172222704, 19.057364203360034], [3.146661004253899, 19.693578599521441], [2.683588494486428, 19.856230170160114], [2.060990838233919, 20.142233384679482], [1.823227573259032, 20.61080943448604], [-1.550054897457613, 22.792665920497377], [-4.92333736817423, 24.974574082940993], [-8.684399786809051, 27.395744126895998], [-8.66512447756419, 27.58947907155822], [-8.665589565454805, 27.656425889592349], [-8.674116176782972, 28.841288967396572], [-7.059227667661928, 29.579228420524522], [-6.060632290053772, 29.731699734001687], [-5.242129278982786, 30.000443020135581], [-4.859646165374469, 30.501187649043839], [-3.690441046554695, 30.896951605751152], [-3.647497931320145, 31.637294012980668], [-3.068980271812647, 31.724497992473207], [-2.616604783529567, 32.094346218386143], [-1.30789913573787, 32.262888902306095], [-1.124551153966308, 32.651521511357124], [-1.388049282222567, 32.864015000941301], [-1.733454555661467, 33.91971283623198], [-1.792985805661686, 34.527918606091198], [-2.169913702798624, 35.168396307916673], [-1.208602871089056, 35.71484874118709], [-0.127454392894606, 35.888662421200799], [0.503876580415209, 36.301272894835272], [1.466918572606545, 36.605647081034398], [3.161698846050824, 36.783904934225205], [4.815758090849129, 36.865036932923452], [5.320120070017792, 36.716518866516616], [6.261819695672611, 37.110655015606731], [7.330384962603969, 37.118380642234364], [7.737078484741003, 36.885707505840209], [8.420964389691674, 36.946427313783154], [8.217824334352313, 36.433176988260271], [8.376367628623766, 35.479876003555937], [8.140981479534302, 34.655145982393783], [7.524481642292242, 34.097376410451453], [7.612641635782181, 33.344114895148955], [8.430472853233367, 32.748337307255944], [8.439102817426116, 32.506284898400814], [9.055602654668148, 32.102691962201284], [9.482139926805273, 30.307556057246181], [9.805634392952411, 29.424638373323383], [9.859997999723443, 28.959989732371007], [9.683884718472765, 28.144173895779193], [9.756128370816779, 27.688258571884141], [9.629056023811073, 27.140953477480913], [9.716285841519747, 26.512206325785691], [9.319410841518161, 26.094324856057447], [9.910692579801774, 25.365454616796733], [9.948261346077969, 24.93695364023251], [10.30384687667836, 24.37931325937091], [10.771363559622925, 24.562532050061744], [11.560669386449002, 24.097909247325511], [11.99950564947161, 23.471668402596443]]] } }, - { "type": "Feature", "properties": { "admin": "Ecuador", "name": "Ecuador", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-80.302560594387188, -3.404856459164712], [-79.770293341780913, -2.65751189535964], [-79.986559210922394, -2.220794366061014], [-80.368783942369234, -2.685158786635788], [-80.967765469064332, -2.246942640800703], [-80.764806281238023, -1.965047702648532], [-80.933659023751702, -1.057454522306358], [-80.583370327461239, -0.906662692878683], [-80.39932471385373, -0.283703301600141], [-80.020898200180355, 0.360340074053468], [-80.090609707342097, 0.768428859862396], [-79.542762010399784, 0.982937730305963], [-78.855258755188686, 1.380923773601822], [-77.855061408179509, 0.809925034992773], [-77.668612840470416, 0.825893052570961], [-77.424984300430367, 0.395686753741117], [-76.576379767549383, 0.256935533037435], [-76.292314419240938, 0.416047268064119], [-75.801465827116587, 0.084801337073202], [-75.373223232713841, -0.15203175212045], [-75.233722703741932, -0.911416924649529], [-75.544995693652027, -1.56160979574588], [-76.635394253226707, -2.608677666843817], [-77.83790483265858, -3.003020521663103], [-78.450683966775628, -3.873096612161375], [-78.639897223612323, -4.547784112164072], [-79.205289069317715, -4.959128513207388], [-79.62497921417615, -4.454198093283494], [-80.028908047185581, -4.346090996928893], [-80.442241990872134, -4.425724379090673], [-80.46929460317692, -4.059286797708999], [-80.184014858709645, -3.821161797708043], [-80.302560594387188, -3.404856459164712]]] } }, - { "type": "Feature", "properties": { "admin": "Egypt", "name": "Egypt", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[34.9226, 29.50133], [34.64174, 29.09942], [34.42655, 28.34399], [34.15451, 27.8233], [33.92136, 27.6487], [33.58811, 27.97136], [33.13676, 28.41765], [32.42323, 29.85108], [32.32046, 29.76043], [32.73482, 28.70523], [33.34876, 27.69989], [34.10455, 26.14227], [34.47387, 25.59856], [34.79507, 25.03375], [35.69241, 23.92671], [35.49372, 23.75237], [35.52598, 23.10244], [36.69069, 22.20485], [36.86623, 22.0], [32.9, 22.0], [29.02, 22.0], [25.0, 22.0], [25.0, 25.682499996360992], [25.0, 29.238654529533452], [24.70007, 30.04419], [24.95762, 30.6616], [24.80287, 31.08929], [25.16482, 31.56915], [26.49533, 31.58568], [27.45762, 31.32126], [28.45048, 31.02577], [28.91353, 30.87005], [29.68342, 31.18686], [30.09503, 31.4734], [30.97693, 31.55586], [31.68796, 31.4296], [31.96041, 30.9336], [32.19247, 31.26034], [32.99392, 31.02407], [33.7734, 30.96746], [34.26544, 31.21936], [34.9226, 29.50133]]] } }, - { "type": "Feature", "properties": { "admin": "Eritrea", "name": "Eritrea", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[42.351560000000106, 12.54223000000013], [42.00975, 12.86582], [41.59856, 13.452090000000108], [41.15519371924983, 13.773319810435224], [40.8966, 14.118640000000138], [40.026218702969167, 14.519579169162281], [39.34061, 14.53155], [39.0994, 14.74064], [38.51295, 14.50547], [37.90607, 14.959430000000165], [37.59377, 14.2131], [36.42951, 14.42211], [36.323188917798113, 14.822480577041057], [36.753860304518575, 16.291874091044289], [36.852530000000108, 16.95655], [37.16747, 17.263140000000128], [37.904000000000103, 17.42754], [38.410089959473218, 17.998307399970312], [38.990622999839999, 16.84062612555169], [39.266110060388016, 15.922723496967246], [39.814293654140208, 15.435647284400314], [41.179274936697645, 14.491079616753209], [41.734951613132345, 13.921036892141554], [42.276830682144848, 13.34399201095442], [42.589576450375255, 13.000421250861901], [43.081226027200152, 12.699638576707112], [42.779642368344739, 12.455415757695672], [42.351560000000106, 12.54223000000013]]] } }, - { "type": "Feature", "properties": { "admin": "Spain", "name": "Spain", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[-9.034817674180244, 41.880570583659669], [-8.98443315269567, 42.592775173506261], [-9.392883673530644, 43.026624660812686], [-7.978189663108308, 43.748337714200979], [-6.754491746436754, 43.567909450853918], [-5.411886359061596, 43.574239813809669], [-4.347842779955783, 43.403449205085025], [-3.51753170410609, 43.455900783861296], [-1.901351284177764, 43.422802028978332], [-1.502770961910528, 43.034014390630425], [0.338046909190581, 42.579546006839543], [0.701590610363894, 42.795734361332599], [1.826793247087153, 42.343384711265678], [2.985998976258457, 42.473015041669854], [3.039484083680548, 41.892120266276891], [2.091841668312184, 41.226088568683082], [0.810524529635188, 41.014731960609332], [0.721331007499401, 40.678318386389229], [0.106691521819869, 40.123933620762003], [-0.278711310212941, 39.309978135732713], [0.111290724293838, 38.738514309233032], [-0.467123582349103, 38.292365831041138], [-0.683389451490598, 37.642353827457811], [-1.438382127274849, 37.443063666324214], [-2.146452602538119, 36.674144192037282], [-3.415780808923386, 36.658899644511173], [-4.368900926114718, 36.677839056946141], [-4.995219285492211, 36.32470815687963], [-5.377159796561457, 35.946850083961458], [-5.866432257500902, 36.02981659600605], [-6.236693894872174, 36.367677110330327], [-6.520190802425402, 36.942913316387312], [-7.45372555177809, 37.097787583966053], [-7.537105475281022, 37.428904323876232], [-7.166507941099863, 37.803894354802217], [-7.029281175148794, 38.075764065089757], [-7.374092169616317, 38.373058580064914], [-7.098036668313126, 39.03007274022378], [-7.498632371439724, 39.629571031241802], [-7.066591559263527, 39.711891587882768], [-7.026413133156593, 40.184524237624238], [-6.864019944679383, 40.330871893874821], [-6.851126674822551, 41.111082668617513], [-6.389087693700914, 41.381815497394641], [-6.668605515967655, 41.883386949219577], [-7.251308966490822, 41.91834605566504], [-7.422512986673794, 41.792074693359822], [-8.01317460776991, 41.790886135417118], [-8.26385698081779, 42.280468654950326], [-8.671945766626719, 42.134689439454952], [-9.034817674180244, 41.880570583659669]]] } }, - { "type": "Feature", "properties": { "admin": "Estonia", "name": "Estonia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[24.312862583114615, 57.793423570376966], [24.428927850042154, 58.383413397853275], [24.061198357853179, 58.257374579493394], [23.426560092876681, 58.612753404364618], [23.339795363058641, 59.187240302153363], [24.604214308376182, 59.465853786855007], [25.864189080516631, 59.611090399811324], [26.949135776484518, 59.445803331125767], [27.981114129353237, 59.47538808861286], [28.131699253051742, 59.300825100330904], [27.420166456824941, 58.724581203844224], [27.716685825315714, 57.791899115624354], [27.288184848751509, 57.474528306703817], [26.46353234223778, 57.476388658266316], [25.602809685984365, 57.847528794986559], [25.164593540149262, 57.970156968815175], [24.312862583114615, 57.793423570376966]]] } }, - { "type": "Feature", "properties": { "admin": "Ethiopia", "name": "Ethiopia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[37.90607, 14.959430000000165], [38.51295, 14.50547], [39.0994, 14.74064], [39.34061, 14.53155], [40.026250000000111, 14.51959], [40.8966, 14.118640000000138], [41.1552, 13.77333], [41.59856, 13.452090000000108], [42.00975, 12.86582], [42.351560000000106, 12.54223000000013], [42.000000000000107, 12.100000000000133], [41.661760000000122, 11.6312], [41.739590000000177, 11.355110000000137], [41.755570000000191, 11.05091], [42.314140000000116, 11.0342], [42.55493000000012, 11.105110000000193], [42.776851841000948, 10.926878566934416], [42.55876, 10.572580000000126], [42.92812, 10.021940000000139], [43.29699, 9.540480000000169], [43.67875, 9.183580000000116], [46.94834, 7.99688], [47.78942, 8.003], [44.9636, 5.001620000000115], [43.66087, 4.95755], [42.769670000000119, 4.252590000000223], [42.12861, 4.234130000000163], [41.855083092644108, 3.918911920483764], [41.171800000000125, 3.91909], [40.768480000000118, 4.257020000000124], [39.854940000000106, 3.83879000000013], [39.559384258765917, 3.422060000000215], [38.89251, 3.50074], [38.67114, 3.61607], [38.436970000000137, 3.58851], [38.120915000000132, 3.598605], [36.85509323800823, 4.447864127672857], [36.159078632855646, 4.447864127672857], [35.817447662353622, 4.776965663462021], [35.817447662353622, 5.338232082790852], [35.298007118233095, 5.506], [34.70702, 6.59422000000012], [34.25032, 6.82607], [34.075100000000184, 7.22595], [33.56829, 7.71334], [32.954180000000228, 7.7849700000001], [33.294800000000116, 8.35458], [33.82550000000014, 8.37916], [33.97498, 8.684560000000145], [33.96162, 9.58358], [34.25745, 10.63009], [34.73115000000012, 10.910170000000106], [34.831630000000125, 11.318960000000116], [35.26049, 12.08286], [35.863630000000164, 12.57828], [36.27022, 13.563330000000118], [36.42951, 14.42211], [37.59377, 14.2131], [37.90607, 14.959430000000165]]] } }, - { "type": "Feature", "properties": { "admin": "Finland", "name": "Finland", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[28.591929559043187, 69.064776923286644], [28.445943637818651, 68.36461294216403], [29.9774263852206, 67.698297024192641], [29.054588657352319, 66.944286200621917], [30.21765, 65.80598], [29.544429559046982, 64.948671576590471], [30.444684686003704, 64.204453436939076], [30.035872430142714, 63.552813625738544], [31.516092156711117, 62.867687486412869], [31.139991082490891, 62.357692776124395], [30.211107212044443, 61.780027777749673], [28.06999759289527, 60.503516547275829], [26.25517296723697, 60.423960679762487], [24.496623976344516, 60.057316392651636], [22.869694858499454, 59.846373196036211], [22.290763787533589, 60.391921291741525], [21.322244093519313, 60.720169989659503], [21.544866163832687, 61.705329494871783], [21.059211053153682, 62.607393296958726], [21.536029493910799, 63.189735012455863], [22.442744174903986, 63.817810370531276], [24.730511508897528, 64.902343655040823], [25.398067661243939, 65.111426500093728], [25.2940430030404, 65.53434642197044], [23.903378533633795, 66.006927395279604], [23.565879754335576, 66.396050930437411], [23.539473097434435, 67.936008612735236], [21.978534783626113, 68.616845608180682], [20.645592889089521, 69.106247260200846], [21.244936150810666, 69.370443020293067], [22.356237827247405, 68.841741441514898], [23.662049594830751, 68.891247463650529], [24.735679152126721, 68.649556789821446], [25.689212680776361, 69.092113755969024], [26.179622023226241, 69.825298977326113], [27.732292107867856, 70.164193020296239], [29.015572950971968, 69.766491197377974], [28.591929559043187, 69.064776923286644]]] } }, - { "type": "Feature", "properties": { "admin": "Fiji", "name": "Fiji", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[178.3736, -17.33992], [178.71806, -17.62846], [178.55271, -18.15059], [177.93266, -18.28799], [177.38146, -18.16432], [177.28504, -17.72465], [177.67087, -17.38114], [178.12557, -17.50481], [178.3736, -17.33992]]], [[[179.364142661964223, -16.801354076946847], [178.725059362997058, -17.012041674368017], [178.596838595117021, -16.63915], [179.096609362997128, -16.43398427754742], [179.413509362997075, -16.379054277547393], [180.000000000000114, -16.067132663642436], [180.000000000000114, -16.555216566639157], [179.364142661964223, -16.801354076946847]]], [[[-179.917369384765237, -16.501783135649358], [-180.0, -16.555216566639157], [-180.0, -16.067132663642436], [-179.793320109048551, -16.020882256741228], [-179.917369384765237, -16.501783135649358]]]] } }, - { "type": "Feature", "properties": { "admin": "Falkland Islands", "name": "Falkland Is.", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-61.2, -51.85], [-60.0, -51.25], [-59.15, -51.5], [-58.55, -51.1], [-57.75, -51.55], [-58.05, -51.9], [-59.4, -52.2], [-59.85, -51.85], [-60.7, -52.3], [-61.2, -51.85]]] } }, - { "type": "Feature", "properties": { "admin": "France", "name": "France", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-52.556424730018378, 2.504705308437053], [-52.939657151894963, 2.124857692875622], [-53.41846513529525, 2.053389187016037], [-53.554839240113481, 2.334896551925964], [-53.778520677288881, 2.376702785650053], [-54.088062506717264, 2.105556545414629], [-54.524754197799737, 2.311848863123785], [-54.271229620975781, 2.738747870286942], [-54.184284023644743, 3.194172268075234], [-54.011503872276812, 3.622569891774857], [-54.3995422023565, 4.212611395683481], [-54.478632981979203, 4.896755682795642], [-53.958044603070917, 5.756548163267808], [-53.618452928264837, 5.646529038918401], [-52.882141282754063, 5.409850979021598], [-51.823342861525916, 4.565768133966144], [-51.657797410678874, 4.156232408053028], [-52.249337531123977, 3.241094468596287], [-52.556424730018378, 2.504705308437053]]], [[[9.560016310269132, 42.152491970379558], [9.229752231491771, 41.380006822264441], [8.77572309737536, 41.583611965494427], [8.544212680707828, 42.256516628583078], [8.746009148807586, 42.628121853193946], [9.390000848028901, 43.009984849614725], [9.560016310269132, 42.152491970379558]]], [[[3.588184441755714, 50.378992418003563], [4.28602298342514, 49.90749664977254], [4.799221632515752, 49.985373033236314], [5.674051954784885, 49.529483547557433], [5.897759230176375, 49.442667141307155], [6.186320428094204, 49.463802802114444], [6.658229607783538, 49.201958319691549], [8.09927859867477, 49.017783515003366], [7.59367638513106, 48.333019110703724], [7.466759067422228, 47.620581976911851], [7.192202182655533, 47.449765529970982], [6.736571079138086, 47.541801255882874], [6.768713820023634, 47.287708238303672], [6.037388950228971, 46.725778713561894], [6.022609490593566, 46.272989813820502], [6.500099724970453, 46.429672756529428], [6.84359297041456, 45.991146552100659], [6.80235517744566, 45.708579820328673], [7.096652459347835, 45.333098863295859], [6.749955275101711, 45.028517971367584], [7.007562290076661, 44.254766750661382], [7.549596388386161, 44.127901109384808], [7.435184767291841, 43.693844916349164], [6.529245232783068, 43.12889232031835], [4.556962517931395, 43.399650987311581], [3.100410597352719, 43.075200507167118], [2.985998976258486, 42.473015041669882], [1.826793247087181, 42.343384711265649], [0.701590610363922, 42.795734361332642], [0.338046909190581, 42.57954600683955], [-1.502770961910471, 43.034014390630482], [-1.901351284177735, 43.422802028978332], [-1.384225226232956, 44.022610378590166], [-1.193797573237361, 46.014917710954862], [-2.225724249673788, 47.064362697938201], [-2.963276129559573, 47.570326646507958], [-4.491554938159481, 47.95495433205641], [-4.592349819344746, 48.68416046812694], [-3.295813971357745, 48.901692409859628], [-1.616510789384932, 48.644421291694577], [-1.933494025063254, 49.776341864615759], [-0.98946895995536, 49.347375800160869], [1.338761020522753, 50.127173163445256], [1.6390010921385, 50.9466063502975], [2.51357303224617, 51.14850617126185], [2.65842207196033, 50.796848049515646], [3.123251580425716, 50.780363267614504], [3.588184441755714, 50.378992418003563]]]] } }, - { "type": "Feature", "properties": { "admin": "Gabon", "name": "Gabon", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[11.093772820691923, -3.978826592630546], [10.066135288135738, -2.969482517105681], [9.405245395554969, -2.144313246269042], [8.797995639693168, -1.111301364754496], [8.830086704146423, -0.779073581550037], [9.048419630579586, -0.459351494960217], [9.291350538783687, 0.268666083167687], [9.492888624721981, 1.010119533691494], [9.83028405115564, 1.067893784993799], [11.285078973036461, 1.057661851400013], [11.276449008843711, 2.261050930180871], [11.751665480199787, 2.326757513839993], [12.359380323952218, 2.19281220133945], [12.951333855855605, 2.321615708826939], [13.07582238124675, 2.267097072759014], [13.003113641012074, 1.830896307783319], [13.282631463278816, 1.31418366129688], [14.026668735417214, 1.395677395021153], [14.276265903386953, 1.196929836426619], [13.843320753645653, 0.038757635901149], [14.316418491277741, -0.552627455247048], [14.425455763413593, -1.333406670744971], [14.299210239324564, -1.998275648612213], [13.992407260807706, -2.470804945489099], [13.109618767965626, -2.428740329603513], [12.575284458067639, -1.948511244315134], [12.495702752338159, -2.391688327650242], [11.820963575903189, -2.514161472181982], [11.478038771214299, -2.765618991714241], [11.855121697648114, -3.42687061932105], [11.093772820691923, -3.978826592630546]]] } }, - { "type": "Feature", "properties": { "admin": "United Kingdom", "name": "United Kingdom", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-5.661948614921896, 54.554603176483838], [-6.197884894220976, 53.867565009163329], [-6.953730231137994, 54.073702297575622], [-7.572167934591078, 54.059956366585979], [-7.366030646178785, 54.595840969452688], [-7.572167934591078, 55.131622219454883], [-6.733847011736144, 55.172860012423783], [-5.661948614921896, 54.554603176483838]]], [[[-3.00500484863528, 58.635000108466322], [-4.073828497728015, 57.55302480735525], [-3.055001796877661, 57.690019029360933], [-1.959280564776918, 57.684799709699512], [-2.219988165689301, 56.870017401753515], [-3.119003058271118, 55.97379303651546], [-2.085009324543023, 55.909998480851264], [-2.005675679673856, 55.804902850350217], [-1.11499101399221, 54.624986477265388], [-0.4304849918542, 54.464376125702145], [0.184981316742039, 53.325014146531018], [0.469976840831777, 52.929999498091959], [1.681530795914739, 52.739520168663987], [1.559987827164377, 52.099998480836], [1.050561557630914, 51.806760565795678], [1.4498653499503, 51.289427802121949], [0.550333693045502, 50.765738837275862], [-0.787517462558639, 50.774988918656206], [-2.489997524414377, 50.500018622431227], [-2.956273972984035, 50.696879991247002], [-3.617448085942327, 50.228355617872708], [-4.542507900399243, 50.341837063185658], [-5.245023159191134, 49.959999904981082], [-5.776566941745299, 50.159677639356815], [-4.309989793301837, 51.210001125689146], [-3.414850633142122, 51.426008612669236], [-3.422719467108322, 51.426848167406078], [-4.984367234710873, 51.593466091510962], [-5.267295701508885, 51.991400458374571], [-4.222346564134852, 52.30135569926135], [-4.770013393564112, 52.840004991255611], [-4.579999152026914, 53.495003770555165], [-3.093830673788658, 53.404547400669671], [-3.092079637047106, 53.404440822963544], [-2.945008510744343, 53.98499970154667], [-3.614700825433033, 54.60093677329256], [-3.63000545898933, 54.615012925833], [-4.844169073903003, 54.790971177786837], [-5.082526617849224, 55.061600653699358], [-4.719112107756643, 55.508472601943467], [-5.047980922862108, 55.783985500707516], [-5.586397670911139, 55.311146145236805], [-5.64499874513018, 56.275014960344791], [-6.149980841486352, 56.785009670633528], [-5.78682471355529, 57.818848375064633], [-5.009998745127574, 58.630013332750039], [-4.211494513353555, 58.550845038479153], [-3.00500484863528, 58.635000108466322]]]] } }, - { "type": "Feature", "properties": { "admin": "Georgia", "name": "Georgia", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[41.55408410011065, 41.535656236327561], [41.703170607272703, 41.962942816732912], [41.453470086438379, 42.645123399417926], [40.875469191253785, 43.013628038091277], [40.321394484220313, 43.128633938156831], [39.955008579270917, 43.434997666999216], [40.07696495947976, 43.553104153002309], [40.922184686045618, 43.38215851498078], [42.394394565608806, 43.220307929042619], [43.756016880067378, 42.74082815202248], [43.931199985536828, 42.554973863284758], [44.537622918481979, 42.71199270280362], [45.470279168485703, 42.502780666669963], [45.776410353382758, 42.09244395605635], [46.404950799348818, 41.860675157227298], [46.145431756379004, 41.722802435872573], [46.637908156120574, 41.181672675128219], [46.501637404166921, 41.064444688474104], [45.962600538930381, 41.123872585609767], [45.217426385281577, 41.411451931314041], [44.972480096218071, 41.248128567055588], [43.582745802592726, 41.09214325618256], [42.619548781104484, 41.583172715819934], [41.55408410011065, 41.535656236327561]]] } }, - { "type": "Feature", "properties": { "admin": "Ghana", "name": "Ghana", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[1.060121697604927, 5.928837388528875], [-0.507637905265938, 5.343472601742675], [-1.063624640294193, 5.000547797053811], [-1.964706590167594, 4.71046214438337], [-2.856125047202397, 4.994475816259508], [-2.810701463217839, 5.389051215024109], [-3.244370083011261, 6.2504715031135], [-2.983584967450326, 7.379704901555511], [-2.56218950032624, 8.219627793811481], [-2.827496303712706, 9.642460842319775], [-2.963896246747111, 10.395334784380081], [-2.94040930827046, 10.962690334512557], [-1.203357713211431, 11.009819240762736], [-0.761575893548183, 10.936929633015053], [-0.438701544588582, 11.09834096927872], [0.023802524423701, 11.018681748900802], [-0.049784715159944, 10.706917832883928], [0.367579990245389, 10.191212876827176], [0.365900506195885, 9.46500397382948], [0.461191847342121, 8.677222601756013], [0.712029249686878, 8.312464504423827], [0.490957472342245, 7.411744289576474], [0.570384148774849, 6.914358628767188], [0.836931186536333, 6.279978745952147], [1.060121697604927, 5.928837388528875]]] } }, - { "type": "Feature", "properties": { "admin": "Guinea", "name": "Guinea", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-8.439298468448696, 7.686042792181736], [-8.722123582382123, 7.711674302598509], [-8.926064622422002, 7.309037380396375], [-9.208786383490844, 7.313920803247952], [-9.403348151069748, 7.526905218938906], [-9.33727983238458, 7.928534450711351], [-9.755342169625832, 8.541055202666923], [-10.016566534861253, 8.42850393313523], [-10.230093553091276, 8.406205552601291], [-10.505477260774667, 8.348896389189603], [-10.494315151399629, 8.715540676300433], [-10.65477047366589, 8.977178452994194], [-10.622395188835037, 9.267910061068276], [-10.839151984083299, 9.688246161330367], [-11.117481248407328, 10.045872911006283], [-11.917277390988655, 10.046983954300556], [-12.150338100625003, 9.858571682164378], [-12.425928514037562, 9.835834051955953], [-12.596719122762206, 9.620188300001969], [-12.711957566773076, 9.342711696810765], [-13.246550258832512, 8.903048610871506], [-13.685153977909788, 9.494743760613458], [-14.074044969122278, 9.886166897008248], [-14.330075852912367, 10.015719712763966], [-14.579698859098254, 10.214467271358513], [-14.693231980843501, 10.65630076745404], [-14.83955379887794, 10.876571560098139], [-15.130311245168167, 11.040411688679525], [-14.685687221728896, 11.527823798056485], [-14.382191534878727, 11.509271958863691], [-14.121406419317776, 11.677117010947693], [-13.900799729863772, 11.678718980348744], [-13.743160773157411, 11.811269029177408], [-13.828271857142122, 12.142644151249041], [-13.718743658899511, 12.247185573775507], [-13.700476040084322, 12.586182969610192], [-13.217818162478235, 12.575873521367964], [-12.499050665730561, 12.332089952031053], [-12.278599005573438, 12.354440008997285], [-12.20356482588563, 12.465647691289401], [-11.658300950557928, 12.386582749882834], [-11.513942836950587, 12.442987575729415], [-11.456168585648269, 12.076834214725336], [-11.297573614944508, 12.077971096235768], [-11.036555955438256, 12.211244615116513], [-10.870829637078211, 12.177887478072106], [-10.593223842806278, 11.923975328005977], [-10.165213792348835, 11.844083563682743], [-9.890992804392011, 12.060478623904968], [-9.567911749703212, 12.194243068892472], [-9.327616339546008, 12.334286200403451], [-9.127473517279581, 12.308060411015331], [-8.905264858424529, 12.088358059126433], [-8.786099005559462, 11.812560939984705], [-8.376304897484911, 11.393645941610627], [-8.581305304386772, 11.136245632364801], [-8.620321010767126, 10.810890814655181], [-8.407310756860026, 10.90925690352276], [-8.282357143578279, 10.792597357623842], [-8.335377163109738, 10.494811916541932], [-8.029943610048617, 10.206534939001711], [-8.22933712404682, 10.129020290563897], [-8.309616461612249, 9.789531968622439], [-8.079113735374348, 9.376223863152033], [-7.832100389019186, 8.575704250518625], [-8.203498907900878, 8.455453192575446], [-8.299048631208562, 8.316443589710302], [-8.221792364932197, 8.123328762235571], [-8.280703497744936, 7.687179673692156], [-8.439298468448696, 7.686042792181736]]] } }, - { "type": "Feature", "properties": { "admin": "Gambia", "name": "Gambia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-16.84152462408127, 13.151393947802557], [-16.713728807023468, 13.594958604379853], [-15.624596320039936, 13.623587347869556], [-15.398770310924457, 13.860368760630916], [-15.081735398813816, 13.876491807505982], [-14.687030808968483, 13.63035696049978], [-14.376713833055785, 13.625680243377371], [-14.046992356817478, 13.794067898000446], [-13.844963344772404, 13.505041612191999], [-14.277701788784553, 13.28058502853224], [-14.712197231494626, 13.298206691943774], [-15.141163295949463, 13.509511623585235], [-15.511812506562931, 13.278569647672864], [-15.691000535534991, 13.270353094938455], [-15.931295945692208, 13.130284125211331], [-16.84152462408127, 13.151393947802557]]] } }, - { "type": "Feature", "properties": { "admin": "Guinea Bissau", "name": "Guinea-Bissau", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-15.130311245168167, 11.040411688679525], [-15.664180467175523, 11.458474025920792], [-16.085214199273562, 11.524594021038236], [-16.314786749730199, 11.806514797406548], [-16.308947312881227, 11.958701890506116], [-16.613838263403277, 12.170911159712698], [-16.67745195155457, 12.38485158940105], [-16.147716844130581, 12.547761542201185], [-15.816574266004251, 12.515567124883345], [-15.548476935274005, 12.628170070847343], [-13.700476040084322, 12.586182969610192], [-13.718743658899511, 12.247185573775507], [-13.828271857142122, 12.142644151249041], [-13.743160773157411, 11.811269029177408], [-13.900799729863772, 11.678718980348744], [-14.121406419317776, 11.677117010947693], [-14.382191534878727, 11.509271958863691], [-14.685687221728896, 11.527823798056485], [-15.130311245168167, 11.040411688679525]]] } }, - { "type": "Feature", "properties": { "admin": "Equatorial Guinea", "name": "Eq. Guinea", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[9.492888624721981, 1.010119533691494], [9.305613234096255, 1.160911363119183], [9.649158155972627, 2.283866075037735], [11.276449008843711, 2.261050930180871], [11.285078973036461, 1.057661851400013], [9.83028405115564, 1.067893784993799], [9.492888624721981, 1.010119533691494]]] } }, - { "type": "Feature", "properties": { "admin": "Greece", "name": "Greece", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[23.699980096133, 35.705004380835526], [24.246665073348673, 35.368022365860149], [25.025015496528873, 35.424995632461979], [25.769207797964182, 35.354018052709073], [25.745023227651579, 35.179997666966209], [26.290002882601719, 35.299990342747911], [26.164997592887651, 35.004995429009789], [24.724982130642299, 34.919987697889603], [24.735007358506941, 35.084990546197581], [23.514978468528106, 35.27999156345097], [23.699980096133, 35.705004380835526]]], [[[26.604195590936282, 41.562114569661098], [26.294602085075777, 40.936261298174244], [26.056942172965499, 40.824123440100827], [25.44767703624418, 40.852545477861455], [24.925848422960932, 40.947061672523226], [23.714811232200809, 40.687129218095116], [24.407998894964063, 40.124992987624083], [23.89996788910258, 39.962005520175573], [23.342999301860797, 39.960997829745786], [22.813987664488959, 40.476005153966547], [22.626298862404777, 40.256561184239175], [22.849747755634805, 39.659310818025759], [23.350027296652595, 39.190011298167256], [22.97309939951554, 38.97090322524965], [23.53001631032495, 38.51000112563846], [24.025024855248937, 38.219992987616443], [24.040011020613601, 37.655014553369419], [23.115002882589145, 37.920011298162215], [23.409971958111065, 37.409990749657389], [22.77497195810863, 37.305010077456551], [23.154225294698612, 36.422505804992042], [22.4900281104511, 36.410000108377446], [21.670026482843692, 36.84498647719419], [21.295010613701574, 37.644989325504689], [21.120034213961329, 38.31032339126272], [20.730032179454579, 38.769985256498778], [20.217712029712853, 39.340234686839629], [20.150015903410516, 39.624997666984022], [20.615000441172779, 40.110006822259422], [20.67499677906363, 40.434999904943048], [20.999989861747274, 40.580003973953964], [21.020040317476422, 40.842726955725873], [21.674160597426969, 40.931274522457976], [22.055377638444266, 41.149865831052686], [22.597308383889008, 41.130487168943198], [22.76177, 41.3048], [22.952377150166562, 41.337993882811212], [23.692073601992455, 41.309080918943849], [24.492644891058031, 41.583896185872035], [25.19720136892553, 41.234485988930651], [26.106138136507177, 41.328898830727823], [26.11704186372091, 41.826904608724725], [26.604195590936282, 41.562114569661098]]]] } }, - { "type": "Feature", "properties": { "admin": "Greenland", "name": "Greenland", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-46.76379, 82.62796], [-43.40644, 83.22516], [-39.89753, 83.18018], [-38.62214, 83.54905], [-35.08787, 83.64513], [-27.10046, 83.51966], [-20.84539, 82.72669], [-22.69182, 82.34165], [-26.51753, 82.29765], [-31.9, 82.2], [-31.39646, 82.02154], [-27.85666, 82.13178], [-24.84448, 81.78697], [-22.90328, 82.09317], [-22.07175, 81.73449], [-23.16961, 81.15271], [-20.62363, 81.52462], [-15.76818, 81.91245], [-12.77018, 81.71885], [-12.20855, 81.29154], [-16.28533, 80.58004], [-16.85, 80.35], [-20.04624, 80.17708], [-17.73035, 80.12912], [-18.9, 79.4], [-19.70499, 78.75128], [-19.67353, 77.63859], [-18.47285, 76.98565], [-20.03503, 76.94434], [-21.67944, 76.62795], [-19.83407, 76.09808], [-19.59896, 75.24838], [-20.66818, 75.15585], [-19.37281, 74.29561], [-21.59422, 74.22382], [-20.43454, 73.81713], [-20.76234, 73.46436], [-22.17221, 73.30955], [-23.56593, 73.30663], [-22.31311, 72.62928], [-22.29954, 72.18409], [-24.27834, 72.59788], [-24.79296, 72.3302], [-23.44296, 72.08016], [-22.13281, 71.46898], [-21.75356, 70.66369], [-23.53603, 70.471], [-24.30702, 70.85649], [-25.54341, 71.43094], [-25.20135, 70.75226], [-26.36276, 70.22646], [-23.72742, 70.18401], [-22.34902, 70.12946], [-25.02927, 69.2588], [-27.74737, 68.47046], [-30.67371, 68.12503], [-31.77665, 68.12078], [-32.81105, 67.73547], [-34.20196, 66.67974], [-36.35284, 65.9789], [-37.04378, 65.93768], [-38.37505, 65.69213], [-39.81222, 65.45848], [-40.66899, 64.83997], [-40.68281, 64.13902], [-41.1887, 63.48246], [-42.81938, 62.68233], [-42.41666, 61.90093], [-42.86619, 61.07404], [-43.3784, 60.09772], [-44.7875, 60.03676], [-46.26364, 60.85328], [-48.26294, 60.85843], [-49.23308, 61.40681], [-49.90039, 62.38336], [-51.63325, 63.62691], [-52.14014, 64.27842], [-52.27659, 65.1767], [-53.66166, 66.09957], [-53.30161, 66.8365], [-53.96911, 67.18899], [-52.9804, 68.35759], [-51.47536, 68.72958], [-51.08041, 69.14781], [-50.87122, 69.9291], [-52.013585, 69.574925], [-52.55792, 69.42616], [-53.45629, 69.283625], [-54.68336, 69.61003], [-54.75001, 70.28932], [-54.35884, 70.821315], [-53.431315, 70.835755], [-51.39014, 70.56978], [-53.10937, 71.20485], [-54.00422, 71.54719], [-55.0, 71.406536967272558], [-55.83468, 71.65444], [-54.71819, 72.58625], [-55.32634, 72.95861], [-56.12003, 73.64977], [-57.32363, 74.71026], [-58.59679, 75.09861], [-58.58516, 75.51727], [-61.26861, 76.10238], [-63.39165, 76.1752], [-66.06427, 76.13486], [-68.50438, 76.06141], [-69.66485, 76.37975], [-71.40257, 77.00857], [-68.77671, 77.32312], [-66.76397, 77.37595], [-71.04293, 77.63595], [-73.297, 78.04419], [-73.15938, 78.43271], [-69.37345, 78.91388], [-65.7107, 79.39436], [-65.3239, 79.75814], [-68.02298, 80.11721], [-67.15129, 80.51582], [-63.68925, 81.21396], [-62.23444, 81.3211], [-62.65116, 81.77042], [-60.28249, 82.03363], [-57.20744, 82.19074], [-54.13442, 82.19962], [-53.04328, 81.88833], [-50.39061, 82.43883], [-48.00386, 82.06481], [-46.59984, 81.985945], [-44.523, 81.6607], [-46.9007, 82.19979], [-46.76379, 82.62796]]] } }, - { "type": "Feature", "properties": { "admin": "Guatemala", "name": "Guatemala", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-90.095554572290951, 13.73533763270073], [-90.608624030300817, 13.909771429901948], [-91.232410244496037, 13.927832342987953], [-91.689746670279106, 14.126218166556452], [-92.227750006869812, 14.538828640190925], [-92.203229539747298, 14.830102850804066], [-92.087215949252041, 15.064584662328436], [-92.229248623406249, 15.251446641495857], [-91.747960171255912, 16.066564846251719], [-90.464472622422647, 16.069562079324651], [-90.438866950222021, 16.410109768128091], [-90.600846727240906, 16.470777899638758], [-90.711821865587694, 16.687483018454724], [-91.081670091500641, 16.918476670799404], [-91.453921271515128, 17.252177232324168], [-91.002269253284197, 17.254657701074176], [-91.001519945015943, 17.817594916245707], [-90.067933519230948, 17.819326076727474], [-89.143080410503302, 17.808318996649316], [-89.15080603713092, 17.015576687075832], [-89.229121670269265, 15.886937567605166], [-88.930612759135244, 15.887273464415072], [-88.604586147805833, 15.706380113177358], [-88.518364020526846, 15.855389105690971], [-88.22502275262201, 15.727722479713901], [-88.680679694355618, 15.346247056535301], [-89.15481096063354, 15.066419175674806], [-89.225220099631244, 14.874286200413618], [-89.145535041037149, 14.67801911056908], [-89.353325975282772, 14.424132798719112], [-89.587342698916544, 14.362586167859485], [-89.5342193265205, 14.244815578666302], [-89.7219339668207, 14.134228013561694], [-90.064677903996568, 13.881969509328924], [-90.095554572290951, 13.73533763270073]]] } }, - { "type": "Feature", "properties": { "admin": "Guyana", "name": "Guyana", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-59.758284878159181, 8.367034816924045], [-59.10168412945864, 7.99920197187049], [-58.482962205628041, 7.347691351750696], [-58.454876064677414, 6.832787380394463], [-58.078103196837361, 6.809093736188641], [-57.542218593970631, 6.321268215353355], [-57.147436489476874, 5.973149929219161], [-57.307245856339492, 5.073566595882225], [-57.914288906472123, 4.812626451024413], [-57.860209520078691, 4.576801052260449], [-58.044694383360664, 4.060863552258382], [-57.601568976457848, 3.334654649260684], [-57.281433478409703, 3.333491929534119], [-57.150097825739898, 2.768926906745406], [-56.53938574891454, 1.89952260986692], [-56.782704230360814, 1.863710842288653], [-57.33582292339689, 1.948537705895759], [-57.660971035377358, 1.682584947105638], [-58.113449876525003, 1.507195135907025], [-58.429477098205957, 1.46394196207872], [-58.540012986878288, 1.26808828369252], [-59.030861579002639, 1.317697658692722], [-59.646043667221242, 1.786893825686789], [-59.718545701726732, 2.249630438644359], [-59.974524909084543, 2.755232652188055], [-59.815413174057852, 3.606498521332085], [-59.538039923731219, 3.958802598481937], [-59.767405768458701, 4.423502915866606], [-60.111002366767373, 4.574966538914082], [-59.980958624904865, 5.014061184098138], [-60.213683437731319, 5.2444863956876], [-60.733574184803707, 5.2002772078619], [-61.410302903881941, 5.959068101419616], [-61.139415045807937, 6.234296779806142], [-61.159336310456467, 6.696077378766317], [-60.543999192940966, 6.856584377464881], [-60.295668097562377, 7.043911444522918], [-60.637972785063752, 7.414999904810853], [-60.550587938058186, 7.779602972846178], [-59.758284878159181, 8.367034816924045]]] } }, - { "type": "Feature", "properties": { "admin": "Honduras", "name": "Honduras", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-87.316654425795463, 12.984685777229], [-87.48940873894712, 13.29753489832393], [-87.793111131526501, 13.384480495655165], [-87.723502977229288, 13.785050360565602], [-87.859515347021599, 13.893312486217097], [-88.065342576840109, 13.964625962779788], [-88.503997972349609, 13.845485948130939], [-88.541230841815931, 13.98015473068352], [-88.843072882832743, 14.140506700085208], [-89.058511929057644, 14.340029405164213], [-89.353325975282786, 14.424132798719084], [-89.145535041037164, 14.678019110569149], [-89.22522009963123, 14.874286200413675], [-89.154810960633526, 15.066419175674863], [-88.680679694355575, 15.346247056535386], [-88.225022752621925, 15.727722479714027], [-88.121153123715359, 15.688655096901355], [-87.901812506852394, 15.864458319558194], [-87.615680101252309, 15.878798529519198], [-87.522920905288444, 15.797278957578779], [-87.367762417332116, 15.846940009011286], [-86.903191291028165, 15.756712958229565], [-86.440945604177372, 15.782835394753189], [-86.119233974944322, 15.893448798073958], [-86.00195431185783, 16.005405788634388], [-85.68331743034625, 15.953651841693949], [-85.444003872402547, 15.885749009662444], [-85.182443610357183, 15.909158433490628], [-84.98372188997881, 15.995923163308698], [-84.526979743167118, 15.857223619037423], [-84.36825558138257, 15.835157782448729], [-84.063054572266807, 15.648244126849132], [-83.773976610026111, 15.42407176356687], [-83.410381232420363, 15.27090281825377], [-83.147219000974104, 14.995829169164207], [-83.489988776366005, 15.01626719813566], [-83.628584967772866, 14.880073960830368], [-83.975721401693576, 14.749435939996483], [-84.228341640952394, 14.748764146376626], [-84.449335903648588, 14.62161428472251], [-84.64958207877963, 14.666805324761865], [-84.820036790694289, 14.819586696832628], [-84.924500698572302, 14.790492865452332], [-85.052787441736868, 14.551541042534719], [-85.148750576502877, 14.560196844943615], [-85.165364549484806, 14.354369615125048], [-85.514413011400265, 14.079011745657905], [-85.698665330736944, 13.960078436737998], [-85.801294725268505, 13.8360549992376], [-86.096263800790595, 14.03818736414723], [-86.312142096689826, 13.771356106008223], [-86.520708177419891, 13.778487453664464], [-86.755086636079596, 13.754845485890936], [-86.733821784191463, 13.263092556201398], [-86.880557013684353, 13.254204209847213], [-87.005769009127434, 13.025794379117254], [-87.316654425795463, 12.984685777229]]] } }, - { "type": "Feature", "properties": { "admin": "Croatia", "name": "Croatia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[18.829838087650039, 45.908877671891837], [19.072768995854172, 45.521511135432078], [19.390475701584588, 45.236515611342369], [19.005486281010118, 44.860233669609144], [18.553214145591646, 45.08158966733145], [17.861783481526398, 45.067740383477137], [17.00214603035101, 45.233776760430935], [16.534939406000202, 45.211607570977705], [16.318156772535868, 45.004126695325901], [15.959367303133373, 45.233776760430935], [15.750026075918978, 44.81871165626255], [16.239660271884528, 44.351143296885695], [16.456442905348862, 44.041239732431265], [16.916156447017325, 43.667722479825663], [17.297373488034449, 43.446340643887353], [17.674921502358981, 43.028562527023603], [18.56, 42.65], [18.450016310304814, 42.47999136002931], [17.509970330483323, 42.84999461523914], [16.930005730871638, 43.209998480800373], [16.015384555737679, 43.507215481127204], [15.174453973052094, 44.243191229827907], [15.376250441151793, 44.317915350922064], [14.920309279040504, 44.73848399512945], [14.901602410550874, 45.076060289076104], [14.258747592839992, 45.233776760430935], [13.952254672917032, 44.802123521496853], [13.65697553880119, 45.136935126315947], [13.679403110415816, 45.484149074884996], [13.715059848697248, 45.500323798192419], [14.411968214585496, 45.466165676447403], [14.595109490627916, 45.63494090431282], [14.935243767972961, 45.471695054702757], [15.327674594797424, 45.452316392593325], [15.323953891672428, 45.731782538427687], [15.671529575267638, 45.8341535507979], [15.768732944408608, 46.23810822202352], [16.564808383864939, 46.503750922219794], [16.882515089595412, 46.380631822284428], [17.630066359129554, 45.951769110694087], [18.456062452882858, 45.759481106136143], [18.829838087650039, 45.908877671891837]]] } }, - { "type": "Feature", "properties": { "admin": "Haiti", "name": "Haiti", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-73.189790615517595, 19.915683905511909], [-72.579672817663607, 19.871500555902351], [-71.71236141629295, 19.714455878167353], [-71.624873216422813, 19.169837958243303], [-71.701302659782485, 18.785416978424049], [-71.945112067335543, 18.616900132720257], [-71.687737596305865, 18.316660061104468], [-71.708304816358037, 18.044997056546091], [-72.372476162389333, 18.214960842354053], [-72.844411180294856, 18.145611070218362], [-73.454554816365018, 18.217906398994696], [-73.922433234335642, 18.030992743395], [-74.458033616824764, 18.342549953682703], [-74.369925299767118, 18.664907538319408], [-73.449542202432696, 18.526052964751141], [-72.694937099890623, 18.445799465401858], [-72.334881557896992, 18.66842153571525], [-72.791649542924873, 19.101625067618027], [-72.784104783810264, 19.483591416903405], [-73.41502234566174, 19.639550889560276], [-73.189790615517595, 19.915683905511909]]] } }, - { "type": "Feature", "properties": { "admin": "Hungary", "name": "Hungary", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[16.202298211337361, 46.852385972676949], [16.534267612380372, 47.496170966169103], [16.340584344150411, 47.712901923201215], [16.903754103267257, 47.714865627628321], [16.979666782304033, 48.123497015976298], [17.488472934649813, 47.867466132186209], [17.857132602620023, 47.758428860050365], [18.696512892336923, 47.88095368101439], [18.777024773847668, 48.081768296900627], [19.174364861739885, 48.111378892603859], [19.66136355965849, 48.266614895208647], [19.769470656013109, 48.2026911484636], [20.239054396249344, 48.327567247096916], [20.473562045989862, 48.562850043321809], [20.801293979584919, 48.62385407164237], [21.872236362401729, 48.319970811550007], [22.085608351334848, 48.422264309271782], [22.640819939878746, 48.150239569687351], [22.710531447040488, 47.882193915389394], [22.09976769378283, 47.672439276716695], [21.626514926853869, 46.994237779318148], [21.021952345471245, 46.316087958351886], [20.220192498462833, 46.127468980486547], [19.596044549241579, 46.171729844744533], [18.829838087649957, 45.908877671891915], [18.456062452882858, 45.759481106136121], [17.630066359129554, 45.95176911069418], [16.882515089595298, 46.380631822284428], [16.564808383864854, 46.503750922219822], [16.370504998447412, 46.841327216166498], [16.202298211337361, 46.852385972676949]]] } }, - { "type": "Feature", "properties": { "admin": "Indonesia", "name": "Indonesia", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[120.715608758630438, -10.239581394087862], [120.295014276206871, -10.258649997603525], [118.967808465654684, -9.55796925215803], [119.900309686361609, -9.361340427287514], [120.425755649905398, -9.665921319215796], [120.775501743656719, -9.969675388227456], [120.715608758630438, -10.239581394087862]]], [[[124.435950148619384, -10.14000090906144], [123.579981724136701, -10.359987481327961], [123.459989048354998, -10.239994805546171], [123.55000939340745, -9.900015557497978], [123.980008986508096, -9.290026950724693], [124.96868248911619, -8.892790215697046], [125.070019972840612, -9.089987481322835], [125.088520135601073, -9.393173109579321], [124.435950148619384, -10.14000090906144]]], [[[117.900018345207741, -8.095681247594923], [118.260616489740471, -8.362383314653327], [118.87845991422212, -8.280682875199828], [119.126506789223086, -8.705824883665072], [117.97040164598927, -8.906639499551257], [117.277730747549015, -9.040894870645557], [116.74014082241662, -9.032936700072637], [117.083737420725313, -8.457157891476539], [117.632024367342126, -8.44930307376819], [117.900018345207741, -8.095681247594923]]], [[[122.903537225436082, -8.094234307490735], [122.756982863456287, -8.649807631060638], [121.2544905945701, -8.933666273639941], [119.924390903809567, -8.810417982623873], [119.920928582846102, -8.44485890059107], [120.715091994307542, -8.236964613480863], [121.341668735846554, -8.53673959720602], [122.007364536630405, -8.46062021244016], [122.903537225436082, -8.094234307490735]]], [[[108.623478631628927, -6.777673841990675], [110.539227329553285, -6.877357679881682], [110.759575636845909, -6.465186455921751], [112.614811232556349, -6.946035658397589], [112.978768345188087, -7.594213148634578], [114.478935174621142, -7.776527601760277], [115.705526971501058, -8.370806573116864], [114.564511346496488, -8.75181690840483], [113.464733514460875, -8.348947442257424], [112.559672479301028, -8.376180922075163], [111.522061395312448, -8.302128594600957], [110.586149530074294, -8.122604668819021], [109.427667270955183, -7.740664157749761], [108.693655226681301, -7.641600437046219], [108.277763299596302, -7.766657403192579], [106.454102004016136, -7.354899590690947], [106.280624220812285, -6.924899997590201], [105.365486281355516, -6.851416110871169], [106.051645949327053, -5.895918877794499], [107.265008579540165, -5.954985039904058], [108.072091099074683, -6.345762220895237], [108.486846144649235, -6.421984958525768], [108.623478631628927, -6.777673841990675]]], [[[134.724624465066654, -6.214400730009286], [134.210133905168902, -6.895237725454704], [134.112775506730998, -6.142467136259014], [134.290335728085779, -5.783057549669038], [134.499625278867882, -5.445042006047898], [134.727001580952106, -5.737582289252158], [134.724624465066654, -6.214400730009286]]], [[[127.249215122588893, -3.459065036638889], [126.874922723498855, -3.790982761249579], [126.183802118027302, -3.607376397316556], [125.989033644719257, -3.177273451351325], [127.00065148326496, -3.12931772218441], [127.249215122588893, -3.459065036638889]]], [[[130.471344028851775, -3.09376433676762], [130.834836053592767, -3.858472181822761], [129.990546502808115, -3.446300957862817], [129.155248651242403, -3.362636813982248], [128.590683628453633, -3.428679294451256], [127.898891229362334, -3.393435967628192], [128.135879347852779, -2.843650404474914], [129.370997756060888, -2.802154229344551], [130.471344028851775, -3.09376433676762]]], [[[134.143367954647772, -1.151867364103594], [134.422627394753022, -2.769184665542383], [135.457602980694674, -3.367752780779113], [136.293314243718754, -2.30704233155609], [137.4407377463275, -1.703513278819372], [138.329727411044757, -1.70268645590265], [139.18492068904294, -2.051295668143637], [139.926684198160387, -2.409051608900284], [141.000210402591847, -2.600151055515624], [141.017056919519007, -5.85902190513802], [141.033851760013874, -9.117892754760417], [140.143415155192542, -8.297167657100955], [139.127766554928087, -8.096042982620942], [138.881476678624949, -8.380935153846094], [137.614473911692812, -8.41168263105976], [138.039099155835174, -7.597882175327354], [138.668621454014783, -7.320224704623072], [138.407913853102343, -6.232849216337483], [137.927839797110835, -5.393365573755998], [135.989250116113453, -4.546543877789047], [135.164597609599667, -4.462931410340771], [133.662880487197867, -3.538853448097526], [133.367704705946778, -4.024818617370314], [132.983955519747326, -4.112978610860281], [132.75694095268895, -3.746282647317129], [132.753788690319197, -3.311787204607071], [131.989804315316178, -2.820551039240455], [133.066844517143466, -2.460417982598443], [133.780030959203486, -2.479848321140209], [133.69621178602614, -2.214541517753687], [132.232373488494204, -2.212526136894325], [131.836221958544684, -1.617161960459597], [130.942839797082797, -1.432522067880796], [130.519558140180038, -0.937720228686075], [131.867537876513609, -0.695461114101818], [132.380116408416768, -0.369537855636977], [133.985548130428384, -0.780210463060442], [134.143367954647772, -1.151867364103594]]], [[[125.240500522971573, 1.419836127117605], [124.43703535369734, 0.427881171058971], [123.685504998876695, 0.235593166500877], [122.723083123872854, 0.431136786293337], [121.056724888189081, 0.381217352699451], [120.18308312386273, 0.23724681233422], [120.040869582195455, -0.519657891444851], [120.935905389490699, -1.408905938323372], [121.475820754076167, -0.955962009285116], [123.34056481332847, -0.615672702643081], [123.258399285984481, -1.076213067228337], [122.822715285331597, -0.930950616055881], [122.388529901215364, -1.516858005381124], [121.508273553555455, -1.904482924002422], [122.454572381684272, -3.186058444840881], [122.271896193532541, -3.529500013852696], [123.170962762546537, -4.683693129091707], [123.162332798353759, -5.34060393638596], [122.628515252778683, -5.634591159694494], [122.236394484548057, -5.282933037948281], [122.71956912647704, -4.46417164471579], [121.738233677254357, -4.851331475446499], [121.48946333220124, -4.574552504091215], [121.619171177253861, -4.188477878438674], [120.898181593917684, -3.602105401222828], [120.972388950688767, -2.627642917494909], [120.305452915529884, -2.931603692235725], [120.39004723519173, -4.097579034037223], [120.430716587405371, -5.528241062037778], [119.796543410319487, -5.67340016034565], [119.36690555224493, -5.379878024927804], [119.653606398600104, -4.459417412944958], [119.498835483885969, -3.49441171632651], [119.078344354326987, -3.487021986508764], [118.767768996252869, -2.801999200047688], [119.180973748858662, -2.147103773612798], [119.323393996255049, -1.35314706788047], [119.825998976725828, 0.154254462073496], [120.035701938966341, 0.566477362465804], [120.885779250167687, 1.309222723796835], [121.666816847826965, 1.013943589681076], [122.927566766451818, 0.875192368977465], [124.077522414242836, 0.917101955566139], [125.065989211121803, 1.643259182131558], [125.240500522971573, 1.419836127117605]]], [[[128.688248732620707, 1.132385972494106], [128.635952183141342, 0.258485826006179], [128.120169712436166, 0.356412665199286], [127.968034295768845, -0.252077325037533], [128.379998813999691, -0.780003757331286], [128.100015903842291, -0.899996433112974], [127.69647464407501, -0.266598402511505], [127.399490187693743, 1.011721503092573], [127.600511509309044, 1.81069082275718], [127.932377557487484, 2.174596258956555], [128.004156121940809, 1.628531398928331], [128.594559360875451, 1.540810655112864], [128.688248732620707, 1.132385972494106]]], [[[117.875627069166001, 1.827640692548911], [118.996747267738158, 0.902219143066048], [117.811858351717788, 0.784241848143722], [117.478338657706047, 0.102474676917026], [117.521643507966587, -0.803723239753211], [116.560048455879496, -1.487660821136231], [116.533796828275158, -2.483517347832901], [116.148083937648607, -4.012726332214014], [116.000857782049067, -3.657037448749008], [114.864803094544513, -4.106984144714416], [114.468651564595064, -3.49570362713382], [113.755671828264099, -3.439169610206519], [113.256994256647545, -3.118775729996854], [112.068126255340644, -3.478392022316071], [111.703290643359992, -2.994442233902631], [111.04824018762821, -3.049425957861188], [110.223846063275971, -2.934032484553483], [110.070935500124335, -1.592874037282414], [109.571947869914041, -1.314906507984489], [109.091873813922518, -0.459506524257051], [108.952657505328162, 0.415375474444346], [109.069136183714036, 1.341933905437642], [109.663260125773718, 2.006466986494984], [109.830226678508836, 1.338135687664191], [110.514060907027101, 0.773131415200993], [111.159137811326559, 0.976478176269509], [111.797548455860408, 0.904441229654651], [112.380251906383648, 1.410120957846757], [112.859809198052176, 1.497790025229946], [113.805849644019531, 1.217548732911041], [114.621355422017473, 1.430688177898886], [115.134037306785231, 2.821481838386219], [115.51907840379198, 3.169238389494395], [115.86551720587677, 4.306559149590156], [117.01521447150634, 4.306094061699468], [117.882034946770162, 4.137551377779487], [117.313232456533513, 3.234428208830578], [118.048329705885351, 2.287690131027361], [117.875627069166001, 1.827640692548911]]], [[[105.817655063909356, -5.852355645372411], [104.710384149191498, -5.873284600450644], [103.868213332130736, -5.037314955264974], [102.584260695406897, -4.220258884298203], [102.156173130300999, -3.614146009946765], [101.399113397225051, -2.799777113459171], [100.902502882900137, -2.05026213949786], [100.141980828860596, -0.650347588710957], [99.26373986206022, 0.183141587724663], [98.970011020913319, 1.042882391764536], [98.601351352943084, 1.823506577965616], [97.699597609449881, 2.453183905442116], [97.17694217324987, 3.30879059489861], [96.424016554757316, 3.86885976807791], [95.380876092513475, 4.970782172053673], [95.293026157617305, 5.479820868344816], [95.936862827541745, 5.439513251157108], [97.484882033277088, 5.24632090903401], [98.369169142655679, 4.268370266126366], [99.142558628335792, 3.590349636240915], [99.693997837322399, 3.174328518075156], [100.641433546961665, 2.099381211755798], [101.658012323007313, 2.083697414555189], [102.498271112073212, 1.398700466310217], [103.076840448013002, 0.561361395668854], [103.838396030698348, 0.104541734208666], [103.437645298274973, -0.711945896002845], [104.010788608824001, -1.059211521004229], [104.369991489684878, -1.084843031421016], [104.539490187602155, -1.782371514496716], [104.887892694113987, -2.340425306816655], [105.622111444116982, -2.42884368246807], [106.10859337771268, -3.06177662517895], [105.857445916774111, -4.305524997579723], [105.817655063909356, -5.852355645372411]]]] } }, - { "type": "Feature", "properties": { "admin": "India", "name": "India", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[77.837450799474553, 35.494009507787759], [78.912268914713209, 34.321936346975782], [78.811086460285722, 33.506198025032404], [79.208891636068572, 32.994394639613709], [79.176128777995501, 32.483779812137705], [78.458446486325997, 32.61816437431272], [78.738894484374001, 31.515906073527056], [79.721366815107089, 30.882714748654724], [81.11125613802929, 30.183480943313398], [80.476721225917373, 29.729865220655334], [80.088424513676259, 28.794470119740136], [81.057202589851997, 28.416095282499036], [81.999987420584958, 27.925479234319987], [83.304248895199535, 27.364505723575554], [84.675017938173767, 27.234901231387528], [85.25177859898335, 26.726198431906337], [86.024392938179147, 26.630984605408567], [87.22747195836628, 26.39789805755607], [88.060237664749806, 26.414615383402484], [88.174804315140904, 26.810405178325944], [88.043132765661198, 27.445818589786818], [88.120440708369841, 27.876541652939586], [88.730325962278528, 28.086864732367509], [88.814248488320544, 27.299315904239361], [88.835642531289366, 27.098966376243755], [89.744527622438838, 26.71940298105995], [90.37327477413406, 26.875724188742872], [91.217512648486405, 26.808648179628019], [92.033483514375078, 26.838310451763554], [92.10371178585973, 27.4526140406332], [91.69665652869665, 27.771741848251661], [92.503118931043616, 27.896876329046442], [93.413347609432662, 28.640629380807219], [94.565990431702929, 29.277438055939978], [95.404802280664612, 29.031716620392125], [96.117678664131006, 29.452802028922459], [96.586590610747479, 28.830979519154337], [96.248833449287758, 28.411030992134435], [97.327113885490007, 28.261582749946331], [97.402561476636123, 27.88253611908544], [97.051988559968066, 27.699058946233144], [97.133999058015277, 27.08377350514996], [96.419365675850941, 27.264589341739221], [95.124767694074933, 26.573572089132295], [95.155153436262566, 26.001307277932078], [94.603249139385355, 25.162495428970399], [94.552657912171611, 24.675238348890328], [94.106741977925054, 23.850740871673477], [93.325187615942767, 24.078556423432197], [93.286326938859247, 23.043658352138998], [93.060294224014598, 22.703110663335565], [93.166127557348361, 22.278459580977099], [92.672720981825549, 22.041238918541247], [92.146034783906799, 23.62749868417259], [91.869927606171302, 23.62434642180278], [91.706475050832083, 22.985263983649183], [91.158963250699713, 23.503526923104381], [91.467729933643668, 24.072639471934789], [91.915092807994398, 24.130413723237108], [92.376201613334786, 24.976692816664961], [91.799595981822065, 25.14743174895731], [90.872210727912105, 25.13260061288954], [89.920692580121838, 25.269749864192171], [89.832480910199592, 25.965082098895476], [89.355094028687276, 26.014407253518065], [88.56304935094974, 26.446525580342716], [88.209789259802477, 25.768065700782707], [88.931553989623069, 25.238692328384769], [88.30637251175601, 24.866079413344199], [88.084422235062405, 24.501657212821918], [88.699940220090895, 24.233714911388557], [88.529769728553759, 23.631141872649163], [88.876311883503064, 22.879146429937826], [89.031961297566198, 22.055708319582973], [88.888765903685396, 21.690588487224741], [88.208497348995209, 21.703171698487804], [86.975704380240259, 21.495561631755201], [87.033168572948853, 20.743307806882406], [86.499351027373777, 20.151638495356604], [85.060265740909671, 19.478578802971096], [83.941005893899998, 18.302009792549722], [83.189217156917834, 17.671221421778977], [82.192792189465905, 17.016636053937813], [82.191241896497175, 16.556664130107844], [81.692719354177456, 16.3102192245079], [80.791999139330116, 15.951972357644488], [80.324895867843864, 15.899184882058346], [80.025069207686428, 15.136414903214144], [80.23327355339039, 13.835770778859978], [80.286293572921849, 13.006260687710832], [79.862546828128487, 12.056215318240886], [79.85799930208681, 10.357275091997108], [79.340511509115984, 10.308854274939618], [78.885345493489169, 9.54613597252772], [79.189719679688281, 9.216543687370146], [78.27794070833049, 8.933046779816932], [77.94116539908434, 8.25295909263974], [77.539897902337927, 7.965534776232331], [76.592978957021657, 8.899276231314188], [76.130061476551063, 10.299630031775518], [75.746467319648488, 11.308250637248303], [75.396101108709573, 11.781245022015822], [74.864815708316812, 12.741935736537895], [74.616717156883524, 13.992582912649677], [74.443859490867197, 14.617221787977693], [73.534199253233368, 15.990652167214957], [73.119909295549419, 17.928570054592495], [72.820909458308634, 19.208233547436162], [72.824475132136783, 20.41950328214153], [72.630533481745388, 21.356009426351001], [71.175273471973938, 20.757441311114228], [70.470458611945091, 20.877330634031381], [69.164130080038817, 22.089298000572697], [69.644927606082391, 22.450774644454334], [69.349596795534325, 22.843179633062686], [68.176645135373377, 23.691965033456704], [68.842599318318761, 24.359133612560932], [71.0432401874682, 24.356523952730193], [70.844699334602822, 25.215102037043511], [70.282873162725579, 25.722228705339823], [70.168926629522005, 26.491871649678835], [69.514392938113119, 26.940965684511365], [70.61649620960192, 27.989196275335861], [71.777665643200308, 27.913180243434521], [72.823751662084689, 28.961591701772047], [73.450638462217412, 29.976413479119863], [74.421380242820263, 30.97981476493117], [74.405928989564998, 31.692639471965272], [75.258641798813187, 32.271105455040491], [74.451559279278698, 32.764899603805489], [74.104293654277328, 33.441473293586846], [73.749948358051952, 34.317698879527846], [74.240202671204955, 34.748887030571247], [75.757060988268321, 34.504922593721311], [76.871721632804011, 34.653544012992732], [77.837450799474553, 35.494009507787759]]] } }, - { "type": "Feature", "properties": { "admin": "Ireland", "name": "Ireland", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[-6.197884894220989, 53.86756500916335], [-6.032985398777609, 53.153164170944336], [-6.788856573910847, 52.260117906292322], [-8.561616583683557, 51.669301255899349], [-9.977085740590267, 51.820454820353071], [-9.16628251793078, 52.864628811242667], [-9.688524542672452, 53.881362616585285], [-8.327987433292007, 54.664518947968624], [-7.572167934591064, 55.131622219454854], [-7.366030646178785, 54.595840969452709], [-7.572167934591064, 54.059956366585986], [-6.953730231138065, 54.073702297575622], [-6.197884894220989, 53.86756500916335]]] } }, - { "type": "Feature", "properties": { "admin": "Iran", "name": "Iran", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[53.921597934795543, 37.198918361961255], [54.800303989486558, 37.392420762678178], [55.511578403551894, 37.964117133123153], [56.180374790273319, 37.935126654607423], [56.619366082592805, 38.121394354803478], [57.330433790928964, 38.029229437810933], [58.436154412678192, 37.522309475243794], [59.234761997316795, 37.412987982730336], [60.377637973883864, 36.52738312432836], [61.123070509694131, 36.491597194966239], [61.21081709172573, 35.650072333309218], [60.80319339380744, 34.404101874319856], [60.528429803311575, 33.676446031217999], [60.963700392505991, 33.528832302376252], [60.536077915290761, 32.981268825811561], [60.863654819588952, 32.182919623334421], [60.941944614511115, 31.548074652628745], [61.699314406180811, 31.379506130492661], [61.78122155136343, 30.735850328081231], [60.874248488208778, 29.829238999952604], [61.369308709564926, 29.303276272085917], [61.771868117118615, 28.699333807890792], [62.727830438085974, 28.259644883735383], [62.755425652929851, 27.378923448184985], [63.23389773952028, 27.217047024030702], [63.316631707619578, 26.756532497661659], [61.874187453056535, 26.239974880472097], [61.497362908784183, 25.078237006118492], [59.616134067630831, 25.380156561783775], [58.525761346272297, 25.609961656185725], [57.39725141788238, 25.739902045183634], [56.97076582217754, 26.966106268821356], [56.492138706290199, 27.14330475515019], [55.723710158110059, 26.964633490501036], [54.715089552637252, 26.480657863871507], [53.493096958231334, 26.812368882753042], [52.483597853409599, 27.580849107365488], [51.520762566947404, 27.865689602158291], [50.852948032439528, 28.814520575469377], [50.115008579311571, 30.14777252859971], [49.576850213423988, 29.9857152369324], [48.941333449098536, 30.31709035900403], [48.567971225789748, 29.926778265903515], [48.014568312376085, 30.452456773392594], [48.00469811380831, 30.985137437457237], [47.685286085812258, 30.984853217079621], [47.849203729042095, 31.709175930298663], [47.334661492711895, 32.469155381799105], [46.109361606639304, 33.017287299118998], [45.416690708199035, 33.967797756479577], [45.648459507028079, 34.748137722303007], [46.15178795755093, 35.093258775364284], [46.076340366404786, 35.67738332777548], [45.420618117053202, 35.977545884742817], [44.77267, 37.17045], [44.225755649600522, 37.971584377589345], [44.421402622257538, 38.281281236314534], [44.109225294782334, 39.428136298168091], [44.793989699081934, 39.713002631177041], [44.9526880226503, 39.335764675446363], [45.457721795438765, 38.874139105783051], [46.143623081248812, 38.74120148371221], [46.505719842317966, 38.770605373686287], [47.685079380083081, 39.508363959301207], [48.060095249225235, 39.582235419262453], [48.355529412637871, 39.2887649602769], [48.010744256386474, 38.794014797514514], [48.634375441284803, 38.27037750910096], [48.883249139202483, 38.32024526626261], [49.199612257693332, 37.582874253889877], [50.147771437384606, 37.37456655532133], [50.842354363819695, 36.872814235983384], [52.26402469260141, 36.700421657857696], [53.825789829326411, 36.965030829408228], [53.921597934795543, 37.198918361961255]]] } }, - { "type": "Feature", "properties": { "admin": "Iraq", "name": "Iraq", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[45.420618117053202, 35.977545884742817], [46.076340366404786, 35.67738332777548], [46.15178795755093, 35.093258775364284], [45.648459507028079, 34.748137722303007], [45.416690708199035, 33.967797756479577], [46.109361606639304, 33.017287299118998], [47.334661492711895, 32.469155381799105], [47.849203729042095, 31.709175930298663], [47.685286085812258, 30.984853217079621], [48.00469811380831, 30.985137437457237], [48.014568312376085, 30.452456773392594], [48.567971225789748, 29.926778265903515], [47.974519077349889, 29.975819200148493], [47.302622104690947, 30.059069932570711], [46.568713413281742, 29.099025173452283], [44.709498732284736, 29.178891099559376], [41.889980910007829, 31.190008653278362], [40.399994337736238, 31.889991766887931], [39.195468377444961, 32.16100881604266], [38.792340529136077, 33.378686428352218], [41.00615888851992, 34.419372260062111], [41.383965285005807, 35.628316555314349], [41.289707472505448, 36.358814602192261], [41.837064243340954, 36.605853786763568], [42.349591098811764, 37.22987254490409], [42.779125604021822, 37.385263576805741], [43.942258742047287, 37.256227525372942], [44.293451775902852, 37.001514390606289], [44.772699008977689, 37.170444647768427], [45.420618117053202, 35.977545884742817]]] } }, - { "type": "Feature", "properties": { "admin": "Iceland", "name": "Iceland", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[-14.508695441129232, 66.455892239031414], [-14.739637417041605, 65.808748277440287], [-13.609732224979807, 65.126671047619851], [-14.9098337467949, 64.36408193628867], [-17.794438035543418, 63.67874909123384], [-18.656245896874989, 63.496382961675806], [-19.972754685942757, 63.643634955491514], [-22.762971971110154, 63.960178941495371], [-21.778484259517676, 64.402115790455497], [-23.955043911219104, 64.891129869233481], [-22.184402635170354, 65.084968166760291], [-22.227423265053329, 65.378593655042721], [-24.326184047939332, 65.611189276788451], [-23.650514695723082, 66.262519029395207], [-22.134922451250883, 66.410468655046856], [-20.576283738679543, 65.732112128351417], [-19.056841600001587, 66.276600857194751], [-17.798623826559048, 65.993853257909763], [-16.167818976292121, 66.526792304135853], [-14.508695441129232, 66.455892239031414]]] } }, - { "type": "Feature", "properties": { "admin": "Israel", "name": "Israel", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[35.719918247222743, 32.709192409794859], [35.545665317534535, 32.393992011030569], [35.183930291491428, 32.532510687788935], [34.974640740709319, 31.866582343059715], [35.225891554512422, 31.754341132121759], [34.970506626125989, 31.616778469360803], [34.927408481594554, 31.35343537040141], [35.397560662586038, 31.489086005167572], [35.420918409981958, 31.100065822874349], [34.922602573391423, 29.501326198844517], [34.26543338393568, 31.219360866820146], [34.556371697738903, 31.548823960896989], [34.48810713068135, 31.605538845337314], [34.752587111151165, 32.07292633720116], [34.955417107896771, 32.827376410446369], [35.098457472480668, 33.080539252244257], [35.126052687324538, 33.090900376918775], [35.460709262846699, 33.089040025356276], [35.552796665190805, 33.264274807258012], [35.821100701650231, 33.277426459276292], [35.836396925608618, 32.868123277308506], [35.700797967274745, 32.716013698857374], [35.719918247222743, 32.709192409794859]]] } }, - { "type": "Feature", "properties": { "admin": "Italy", "name": "Italy", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[15.52037601081383, 38.231155096991465], [15.160242954171732, 37.444045518537813], [15.309897902089002, 37.134219468731793], [15.099988234119445, 36.61998729099539], [14.335228712632013, 36.996630967754747], [13.826732618879927, 37.104531358380186], [12.431003859108809, 37.612949937483812], [12.570943637755132, 38.126381130519682], [13.741156447004581, 38.03496552179535], [14.761249220446157, 38.143873602850498], [15.52037601081383, 38.231155096991465]]], [[[9.210011834356264, 41.209991360024212], [9.809975213264973, 40.500008856766094], [9.669518670295671, 39.177376410471787], [9.214817742559486, 39.240473334300127], [8.806935662479729, 38.906617743478471], [8.428302443077113, 39.171847032216611], [8.388253208050939, 40.378310858718798], [8.159998406617659, 40.950007229163774], [8.709990675500107, 40.899984442705225], [9.210011834356264, 41.209991360024212]]], [[[12.376485223040842, 46.767559109069872], [13.806475457421552, 46.50930613869118], [13.698109978905475, 46.016778062517368], [13.937630242578335, 45.59101593686465], [13.141606479554294, 45.736691799495411], [12.328581170306304, 45.38177806251484], [12.383874952858601, 44.885374253919075], [12.261453484759157, 44.600482082694008], [12.589237094786482, 44.091365871754462], [13.526905958722491, 43.587727362637899], [14.029820997787024, 42.761007798832473], [15.142569614327952, 41.955139675456891], [15.926191033601892, 41.961315009115729], [16.169897088290409, 41.740294908203417], [15.889345737377793, 41.541082261718195], [16.785001661860573, 41.179605617836579], [17.519168735431204, 40.877143459632229], [18.376687452882575, 40.355624904942651], [18.4802470231954, 40.168866278639818], [18.293385044028096, 39.810774441073235], [17.738380161213279, 40.277671006830289], [16.869595981522334, 40.442234605463838], [16.448743116937319, 39.795400702466473], [17.171489698971495, 39.424699815420716], [17.052840610429339, 38.902871202137291], [16.635088331781841, 38.843572496082395], [16.100960727613053, 37.985898749334176], [15.684086948314498, 37.908849188787023], [15.687962680736318, 38.214592800441849], [15.891981235424705, 38.750942491199218], [16.109332309644312, 38.964547024077682], [15.718813510814638, 39.544072374014938], [15.413612501698818, 40.048356838535163], [14.998495721098234, 40.172948716790913], [14.703268263414767, 40.604550279292617], [14.06067182786526, 40.786347968095434], [13.627985060285393, 41.188287258461649], [12.888081902730418, 41.253089504555604], [12.106682570044907, 41.7045348170574], [11.191906365614184, 42.355425319989671], [10.511947869517794, 42.93146251074721], [10.200028924204046, 43.920006822274608], [9.702488234097812, 44.036278794931313], [8.888946160526869, 44.366336167979533], [8.428560825238575, 44.23122813575241], [7.8507666357832, 43.767147935555236], [7.435184767291841, 43.693844916349164], [7.549596388386161, 44.127901109384808], [7.007562290076661, 44.254766750661382], [6.749955275101711, 45.028517971367584], [7.096652459347835, 45.333098863295859], [6.80235517744566, 45.708579820328673], [6.84359297041456, 45.991146552100659], [7.273850945676683, 45.776947740250748], [7.755992058959832, 45.824490057959267], [8.316629672894377, 46.16364248309084], [8.489952426801294, 46.005150865251736], [8.966305779667833, 46.03693187111115], [9.18288170740311, 46.440214748716976], [9.92283654139035, 46.314899400409182], [10.363378126678665, 46.48357127540983], [10.4427014502466, 46.893546250997431], [11.048555942436504, 46.751358547546396], [11.164827915093325, 46.941579494812729], [12.153088006243079, 47.115393174826423], [12.376485223040842, 46.767559109069872]]]] } }, - { "type": "Feature", "properties": { "admin": "Jamaica", "name": "Jamaica", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-77.569600796199197, 18.490525417550483], [-76.896618618462114, 18.400866807524078], [-76.365359056285527, 18.16070058844759], [-76.19965857614163, 17.886867173732963], [-76.902561408175671, 17.868237819891743], [-77.206341315403449, 17.701116237859818], [-77.766022915340599, 17.861597398342237], [-78.337719285785596, 18.225967922432226], [-78.217726610003865, 18.454532782459193], [-77.797364671525614, 18.524218451404774], [-77.569600796199197, 18.490525417550483]]] } }, - { "type": "Feature", "properties": { "admin": "Jordan", "name": "Jordan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[35.545665317534535, 32.393992011030569], [35.719918247222743, 32.709192409794859], [36.834062127435537, 32.312937526980768], [38.792340529136077, 33.378686428352218], [39.195468377444961, 32.16100881604266], [39.004885695152545, 32.010216986614971], [37.002165561681004, 31.508412990844736], [37.998848911294367, 30.508499864213128], [37.668119744626374, 30.338665269485894], [37.503581984209028, 30.003776150018396], [36.740527784987243, 29.865283311476183], [36.501214227043583, 29.505253607698702], [36.068940870922049, 29.19749461518445], [34.956037225084252, 29.356554673778835], [34.922602573391423, 29.501326198844517], [35.420918409981958, 31.100065822874349], [35.397560662586038, 31.489086005167572], [35.545251906076196, 31.782504787720832], [35.545665317534535, 32.393992011030569]]] } }, - { "type": "Feature", "properties": { "admin": "Japan", "name": "Japan", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[134.638428176003856, 34.149233710256418], [134.766379022358478, 33.806334743783673], [134.20341596897083, 33.201177883429622], [133.792950067276479, 33.521985175097583], [133.280268182508848, 33.289570420864941], [133.014858026257855, 32.704567369104772], [132.363114862192674, 32.989382025681373], [132.371176385630179, 33.463642483040068], [132.924372593314786, 34.060298570282036], [133.492968377822194, 33.944620876596694], [133.904106073136347, 34.364931138642611], [134.638428176003856, 34.149233710256418]]], [[[140.976387567305267, 37.142074286440156], [140.599769728762084, 36.343983466124534], [140.774074334882641, 35.842877102190229], [140.253279250245072, 35.138113918593653], [138.975527785396196, 34.667600002576101], [137.217598911691198, 34.606285915661843], [135.792983026268871, 33.46480520276662], [135.120982700745401, 33.849071153289053], [135.07943484918269, 34.596544908174813], [133.340316196831964, 34.375938218720755], [132.156770868051296, 33.904933376596503], [130.986144647343451, 33.885761420216276], [132.000036248910021, 33.149992377244608], [131.33279015515734, 31.450354519164836], [130.68631798718593, 31.029579169228235], [130.202419875204953, 31.418237616495411], [130.447676222862128, 32.319474595665717], [129.81469160371887, 32.610309556604385], [129.408463169472554, 33.296055813117583], [130.353935174684636, 33.604150702441693], [130.878450962447118, 34.232742824840031], [131.884229364143891, 34.749713853487911], [132.617672967662486, 35.433393052709413], [134.608300815977771, 35.731617743465812], [135.677537876528902, 35.527134100886819], [136.723830601142424, 37.304984239240376], [137.390611607004473, 36.827390651998819], [138.857602166906247, 37.827484646143454], [139.426404657142882, 38.215962225897634], [140.054790073812057, 39.438807481436378], [139.883379347899847, 40.563312486323682], [140.305782505453664, 41.195005194659551], [141.368973423426667, 41.378559882160282], [141.914263136970476, 39.991616115878678], [141.884600864834965, 39.18086456965149], [140.959489373945729, 38.174000962876583], [140.976387567305267, 37.142074286440156]]], [[[143.910161981379474, 44.174099839853724], [144.613426548439634, 43.960882880217511], [145.320825230083074, 44.384732977875437], [145.543137241802754, 43.262088324550596], [144.059661899999867, 42.988358262700551], [143.183849725517291, 41.995214748699183], [141.611490920172457, 42.678790595056071], [141.067286411706618, 41.58459381770799], [139.95510623592105, 41.56955597591103], [139.817543573159924, 42.563758856774392], [140.312087030193169, 43.333272610032644], [141.380548944259999, 43.388824774746489], [141.671952345953912, 44.772125352551477], [141.967644891527982, 45.551483466161343], [143.142870314709796, 44.510358384776957], [143.910161981379474, 44.174099839853724]]]] } }, - { "type": "Feature", "properties": { "admin": "Kazakhstan", "name": "Kazakhstan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[70.962314894499272, 42.26615428320553], [70.388964878220776, 42.081307684897517], [69.070027296835221, 41.384244289712335], [68.632482944620037, 40.668680731766855], [68.259895867795635, 40.662324530594894], [67.985855747351806, 41.135990708982199], [66.714047072216587, 41.168443508461557], [66.510648634715707, 41.987644151368549], [66.023391554635609, 41.994646307944031], [66.098012322865188, 42.997660020513074], [64.90082441595932, 43.728080552742647], [63.18578698105658, 43.650074978197999], [62.013300408786264, 43.504476630215649], [61.05831994003249, 44.405816962250576], [60.239971958258472, 44.784036770194739], [58.689989048095796, 45.500013739598721], [58.503127068928428, 45.58680430763296], [55.928917270741167, 44.995858466159163], [55.968191359283011, 41.30864166926937], [55.455251092353805, 41.259859117185826], [54.755345493392653, 42.04397146256661], [54.079417759014959, 42.324109402020831], [52.944293247291725, 42.116034247397572], [52.502459751196277, 41.783315538086462], [52.446339145727208, 42.027150783855561], [52.692112257707251, 42.443895372073364], [52.501426222550315, 42.792297878585188], [51.342427199108201, 43.132974758469338], [50.891291945200223, 44.031033637053774], [50.339129266161358, 44.284015611338468], [50.305642938036257, 44.609835516938908], [51.278503452363211, 44.514854234386448], [51.316899041556034, 45.245998236667894], [52.167389764215713, 45.408391425145098], [53.040876499245194, 45.259046535821753], [53.220865512917712, 46.23464590105992], [53.042736850807771, 46.853006089864486], [52.042022739475598, 46.804636949239232], [51.191945428274252, 47.048704738953909], [50.034083286342465, 46.608989976582208], [49.10116, 46.39933000000012], [48.593241001180495, 46.561034247415471], [48.694733514201729, 47.075628160177921], [48.057253045449258, 47.743752753279516], [47.315231154170242, 47.715847479841948], [46.466445753776256, 48.394152330104923], [47.043671502476506, 49.1520388860976], [46.751596307162728, 49.35600576435376], [47.549480421749301, 50.454698391311119], [48.577841424357523, 49.874759629915658], [48.702381626181008, 50.605128485712825], [50.766648390512145, 51.692762356159889], [52.328723585830957, 51.71865224873811], [54.53287845237621, 51.026239732459302], [55.716940545479801, 50.62171662047853], [56.777961053296551, 51.043551337277037], [58.363290643146733, 51.063653469438563], [59.642282342370599, 50.545442206415707], [59.932807244715484, 50.842194118851857], [61.337424350840919, 50.799070136104248], [61.588003371024158, 51.2726587998432], [59.967533807215531, 51.960420437215696], [60.927268507740258, 52.447548326215028], [60.739993117114572, 52.719986477257734], [61.699986199800584, 52.979996446334255], [60.978066440683151, 53.664993394579128], [61.436591424409052, 54.006264553434775], [65.178533563095911, 54.354227810272093], [65.66687584825398, 54.601266994843449], [68.169100376258811, 54.970391750704309], [69.068166945272864, 55.385250149143516], [70.865266554655122, 55.169733588270091], [71.180131056609397, 54.133285224008247], [72.224150018202167, 54.376655381886728], [73.508516066384388, 54.035616766976588], [73.425678745420427, 53.489810289109741], [74.384845005190044, 53.546861070360066], [76.891100294913414, 54.490524400441913], [76.525179477854735, 54.177003485727127], [77.800915561844221, 53.404414984747561], [80.035559523441663, 50.864750881547238], [80.568446893235475, 51.388336493528456], [81.945985548839914, 50.812195949906354], [83.383003778012366, 51.069182847693909], [83.935114780618832, 50.889245510453563], [84.416377394553052, 50.311399644565817], [85.115559523462011, 50.117302964877631], [85.541269972682457, 49.69285858824815], [86.829356723989619, 49.826674709668154], [87.359970330762664, 49.214980780629148], [86.598776483103379, 48.549181626980605], [85.768232863308285, 48.455750637396974], [85.72048383987071, 47.452969468773112], [85.164290399113355, 47.000955715516099], [83.180483839860443, 47.330031236350848], [82.458925815769106, 45.539649563166499], [81.947070753918112, 45.317027492853235], [79.966106398441397, 44.917516994804643], [80.866206496101356, 43.180362046881037], [80.180150180994289, 42.920067857426936], [80.259990268885332, 42.349999294599101], [79.643645460940135, 42.496682847659649], [79.142177361979776, 42.856092434249589], [77.658391961583206, 42.960685533208327], [76.000353631498555, 42.988022365890622], [75.636964959622091, 42.877899888676765], [74.212865838522575, 43.298339341803505], [73.645303582660901, 43.091271877609863], [73.489757521462337, 42.500894476891276], [71.844638299450637, 42.845395412765178], [71.186280552052253, 42.704292914392219], [70.962314894499272, 42.26615428320553]]] } }, - { "type": "Feature", "properties": { "admin": "Kenya", "name": "Kenya", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[40.993, -0.85829], [41.58513, -1.68325], [40.88477, -2.08255], [40.63785, -2.49979], [40.26304, -2.57309], [40.12119, -3.27768], [39.80006, -3.68116], [39.60489, -4.34653], [39.20222, -4.67677], [37.7669, -3.67712], [37.69869, -3.09699], [34.07262, -1.05982], [33.903711197104521, -0.95], [33.893568969666937, 0.109813537861896], [34.18, 0.515], [34.6721, 1.17694], [35.03599, 1.90584], [34.59607, 3.05374], [34.47913, 3.5556], [34.005, 4.249884947362047], [34.620196267853871, 4.847122742081987], [35.298007118232974, 5.506], [35.817447662353501, 5.338232082790795], [35.817447662353501, 4.776965663461889], [36.159078632855639, 4.447864127672768], [36.855093238008116, 4.447864127672768], [38.120915, 3.598605], [38.43697, 3.58851], [38.67114, 3.61607], [38.89251, 3.50074], [39.559384258765846, 3.42206], [39.85494, 3.83879], [40.76848, 4.25702], [41.1718, 3.91909], [41.855083092643966, 3.918911920483726], [40.98105, 2.78452], [40.993, -0.85829]]] } }, - { "type": "Feature", "properties": { "admin": "Kyrgyzstan", "name": "Kyrgyzstan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[70.96231489449913, 42.266154283205481], [71.186280552052111, 42.704292914392127], [71.84463829945058, 42.845395412765093], [73.489757521462337, 42.500894476891311], [73.645303582660901, 43.09127187760982], [74.212865838522546, 43.298339341803363], [75.636964959622006, 42.877899888676673], [76.000353631498442, 42.988022365890664], [77.658391961583206, 42.960685533208256], [79.142177361979762, 42.856092434249511], [79.643645460940107, 42.496682847659514], [80.259990268885289, 42.349999294599044], [80.119430373051358, 42.123940741538235], [78.543660923175295, 41.582242540038685], [78.187196893225959, 41.185315863604792], [76.904484490877067, 41.066485907549634], [76.526368035797432, 40.427946071935111], [75.467827996730691, 40.562072251948663], [74.776862420556043, 40.366425279291619], [73.822243686828287, 39.893973497063179], [73.960013055318413, 39.660008449861721], [73.67537926625478, 39.431236884105594], [71.784693637991992, 39.279463202464363], [70.549161818325601, 39.604197902986492], [69.464886915977516, 39.526683254548693], [69.559609816368507, 40.103211371412968], [70.648018833299957, 39.935753892571157], [71.014198032520156, 40.244365546218226], [71.774875115856545, 40.145844428053763], [73.055417108049156, 40.86603302668945], [71.870114780570447, 41.392900092121259], [71.157858514291576, 41.143587144529107], [70.420022414028196, 41.519998277343134], [71.259247674448218, 42.167710679689456], [70.96231489449913, 42.266154283205481]]] } }, - { "type": "Feature", "properties": { "admin": "Cambodia", "name": "Cambodia", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[103.497279901139677, 10.632555446815926], [103.090689731867229, 11.153660590047162], [102.58493248902667, 12.186594956913279], [102.348099399833004, 13.39424734135822], [102.988422072361601, 14.225721136934464], [104.281418084736586, 14.416743068901363], [105.218776890078871, 14.27321177821069], [106.04394616091551, 13.881091009979952], [106.496373325630856, 14.57058380783428], [107.382727492301058, 14.202440904186968], [107.614547967562402, 13.535530707244202], [107.491403029410861, 12.337205918827944], [105.810523716253101, 11.567614650921225], [106.249670037869436, 10.961811835163585], [105.199914992292321, 10.889309800658094], [104.334334751403446, 10.486543687375228], [103.497279901139677, 10.632555446815926]]] } }, - { "type": "Feature", "properties": { "admin": "South Korea", "name": "Korea", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[128.349716424676586, 38.612242946927843], [129.212919549680038, 37.432392483055942], [129.460449660358137, 36.784189154602821], [129.468304478066472, 35.632140611303939], [129.091376580929563, 35.08248423923142], [128.18585045787907, 34.890377102186385], [127.386519403188373, 34.475673733044111], [126.485747511908713, 34.390045884736473], [126.3739197124291, 34.934560451795939], [126.559231398627773, 35.684540513647896], [126.117397902532261, 36.725484727519252], [126.860143263863364, 36.893924058574612], [126.174758742376213, 37.749685777328033], [126.237338901881742, 37.840377916000271], [126.683719924018888, 37.804772854151174], [127.073308547067342, 38.256114813788393], [127.780035435090966, 38.304535630845884], [128.205745884311426, 38.370397243801882], [128.349716424676586, 38.612242946927843]]] } }, - { "type": "Feature", "properties": { "admin": "Kosovo", "name": "Kosovo", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[20.76216, 42.05186], [20.717310000000108, 41.84711], [20.59023, 41.85541], [20.52295, 42.21787], [20.28374, 42.32025], [20.0707, 42.58863], [20.25758, 42.81275], [20.49679, 42.88469], [20.63508, 43.21671], [20.81448, 43.27205], [20.95651, 43.13094], [21.143395, 43.068685000000123], [21.27421, 42.90959], [21.43866, 42.86255], [21.63302, 42.67717], [21.77505, 42.6827], [21.66292, 42.43922], [21.54332, 42.32025], [21.576635989402117, 42.245224397061847], [21.352700000000134, 42.2068], [20.76216, 42.05186]]] } }, - { "type": "Feature", "properties": { "admin": "Kuwait", "name": "Kuwait", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[47.974519077349889, 29.975819200148493], [48.183188510944483, 29.534476630159759], [48.09394331237641, 29.306299343374999], [48.416094191283939, 28.552004299426663], [47.708850538937376, 28.526062730416136], [47.459821811722819, 29.002519436147217], [46.568713413281742, 29.099025173452283], [47.302622104690947, 30.059069932570711], [47.974519077349889, 29.975819200148493]]] } }, - { "type": "Feature", "properties": { "admin": "Laos", "name": "Lao PDR", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[105.218776890078871, 14.27321177821069], [105.544338413517664, 14.723933620660414], [105.589038527450128, 15.570316066952856], [104.779320509868768, 16.441864935771445], [104.716947056092465, 17.428858954330078], [103.956476678485288, 18.240954087796872], [103.200192091893726, 18.309632066312769], [102.998705682387694, 17.961694647691598], [102.413004998791592, 17.932781683824281], [102.113591750092453, 18.109101670804161], [101.059547560635139, 17.512497259994486], [101.035931431077742, 18.408928330961611], [101.282014601651667, 19.462584947176762], [100.606293573003128, 19.508344427971217], [100.548881056726856, 20.109237982661124], [100.115987583417819, 20.41784963630818], [100.329101190189519, 20.786121731036229], [101.180005324307515, 21.436572984294024], [101.270025669359939, 21.201651923095177], [101.803119744882906, 21.174366766845065], [101.652017856861491, 22.318198757409544], [102.170435825613552, 22.464753119389297], [102.754896274834636, 21.675137233969462], [103.203861118586431, 20.766562201413745], [104.435000441508024, 20.758733221921528], [104.822573683697073, 19.886641750563879], [104.183387892678908, 19.624668077060214], [103.896532017026701, 19.265180975821799], [105.094598423281496, 18.666974595611073], [105.925762160264, 17.485315456608955], [106.55600792849566, 16.604283962464802], [107.312705926545576, 15.908538316303177], [107.564525181103875, 15.202173163305554], [107.382727492301058, 14.202440904186968], [106.496373325630856, 14.57058380783428], [106.04394616091551, 13.881091009979952], [105.218776890078871, 14.27321177821069]]] } }, - { "type": "Feature", "properties": { "admin": "Lebanon", "name": "Lebanon", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[35.821100701650231, 33.277426459276292], [35.552796665190805, 33.264274807258012], [35.460709262846699, 33.089040025356276], [35.126052687324538, 33.090900376918775], [35.48220665868012, 33.905450140919434], [35.979592319489392, 34.610058295219126], [35.998402540843628, 34.644914048799997], [36.448194207512095, 34.59393524834406], [36.611750115715886, 34.201788641897174], [36.066460402172048, 33.824912421192543], [35.821100701650231, 33.277426459276292]]] } }, - { "type": "Feature", "properties": { "admin": "Liberia", "name": "Liberia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-7.712159389669749, 4.364565944837721], [-7.974107224957249, 4.355755113131961], [-9.004793667018673, 4.832418524592199], [-9.913420376006682, 5.593560695819205], [-10.765383876986643, 6.140710760925556], [-11.438779466182053, 6.785916856305746], [-11.199801805048278, 7.105845648624735], [-11.14670427086838, 7.396706447779534], [-10.695594855176477, 7.939464016141085], [-10.230093553091276, 8.406205552601291], [-10.016566534861253, 8.42850393313523], [-9.755342169625832, 8.541055202666923], [-9.33727983238458, 7.928534450711351], [-9.403348151069748, 7.526905218938906], [-9.208786383490844, 7.313920803247952], [-8.926064622422002, 7.309037380396375], [-8.722123582382123, 7.711674302598509], [-8.439298468448696, 7.686042792181736], [-8.485445522485348, 7.395207831243068], [-8.385451626000572, 6.911800645368742], [-8.602880214868618, 6.467564195171659], [-8.311347622094017, 6.193033148621081], [-7.993692592795879, 6.126189683451541], [-7.570152553731686, 5.707352199725903], [-7.53971513511176, 5.313345241716517], [-7.63536821128403, 5.188159084489455], [-7.712159389669749, 4.364565944837721]]] } }, - { "type": "Feature", "properties": { "admin": "Libya", "name": "Libya", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[14.8513, 22.862950000000119], [14.143870883855239, 22.491288967371126], [13.581424594790459, 23.040506089769274], [11.999505649471697, 23.471668402596432], [11.560669386449032, 24.09790924732561], [10.771363559622952, 24.562532050061741], [10.303846876678445, 24.379313259370967], [9.948261346078024, 24.936953640232613], [9.910692579801774, 25.365454616796789], [9.319410841518218, 26.094324856057476], [9.716285841519662, 26.512206325785652], [9.629056023811073, 27.140953477481041], [9.756128370816779, 27.688258571884198], [9.68388471847288, 28.144173895779311], [9.859997999723472, 28.959989732371064], [9.805634392952353, 29.424638373323369], [9.482139926805415, 30.307556057246181], [9.970017124072966, 30.539324856075375], [10.056575148161697, 30.961831366493517], [9.950225050505194, 31.376069647745275], [10.636901482799484, 31.761420803345679], [10.944789666394511, 32.081814683555358], [11.43225345220378, 32.368903103152824], [11.488787469131008, 33.136995754523234], [12.66331, 32.79278], [13.08326, 32.87882], [13.91868, 32.71196], [15.24563, 32.26508], [15.71394, 31.37626], [16.61162, 31.18218], [18.02109, 30.76357], [19.08641, 30.26639], [19.57404, 30.52582], [20.05335, 30.98576], [19.82033, 31.751790000000135], [20.13397, 32.2382], [20.85452, 32.7068], [21.54298, 32.8432], [22.89576, 32.63858], [23.2368, 32.19149], [23.6091300000001, 32.18726], [23.9275, 32.01667], [24.92114, 31.89936], [25.16482, 31.56915], [24.80287, 31.08929], [24.95762, 30.6616], [24.70007, 30.04419], [25.00000000000011, 29.238654529533552], [25.00000000000011, 25.682499996360995], [25.00000000000011, 22.0], [25.00000000000011, 20.00304], [23.850000000000129, 20.0], [23.837660000000135, 19.580470000000101], [19.84926, 21.49509], [15.86085, 23.40972], [14.8513, 22.862950000000119]]] } }, - { "type": "Feature", "properties": { "admin": "Sri Lanka", "name": "Sri Lanka", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[81.787959018891371, 7.523055324733162], [81.637322218760573, 6.481775214051921], [81.218019647144317, 6.197141424988287], [80.348356968104397, 5.968369859232154], [79.872468703128519, 6.763463446474928], [79.6951668639351, 8.200843410673384], [80.147800734379629, 9.824077663609554], [80.838817986986541, 9.268426825391186], [81.304319289071756, 8.564206244333688], [81.787959018891371, 7.523055324733162]]] } }, - { "type": "Feature", "properties": { "admin": "Lesotho", "name": "Lesotho", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[28.978262566857236, -28.955596612261708], [29.325166456832587, -29.257386976846245], [29.018415154748016, -29.743765557577362], [28.848399692507734, -30.070050551068245], [28.291069370239903, -30.226216729454293], [28.107204624145421, -30.545732110314944], [27.749397006956478, -30.645105889612214], [26.999261915807629, -29.875953871379977], [27.532511020627471, -29.242710870075353], [28.07433841320778, -28.851468601193581], [28.541700066855491, -28.647501722937562], [28.978262566857236, -28.955596612261708]]] } }, - { "type": "Feature", "properties": { "admin": "Lithuania", "name": "Lithuania", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[22.731098667092649, 54.327536932993311], [22.651051873472536, 54.582740993866729], [22.757763706155256, 54.856574408581366], [22.31572350433057, 55.01529857036585], [21.26844892750346, 55.190481675835301], [21.05580040862241, 56.031076361711051], [22.201156853939491, 56.337801825579483], [23.878263787539957, 56.273671373105259], [24.860684441840753, 56.372528388079616], [25.000934279080887, 56.164530748104831], [25.533046502390327, 56.100296942766029], [26.494331495883749, 55.61510691997762], [26.588279249790386, 55.167175604871659], [25.768432651479792, 54.846962592175082], [25.536353794056989, 54.282423407602515], [24.45068362803703, 53.905702216194747], [23.484127638449841, 53.912497667041123], [23.243987257589506, 54.220566718149129], [22.731098667092649, 54.327536932993311]]] } }, - { "type": "Feature", "properties": { "admin": "Luxembourg", "name": "Luxembourg", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[6.043073357781109, 50.128051662794221], [6.242751092156992, 49.90222565367872], [6.186320428094176, 49.4638028021145], [5.897759230176403, 49.442667141307012], [5.674051954784828, 49.52948354755749], [5.782417433300905, 50.090327867221205], [6.043073357781109, 50.128051662794221]]] } }, - { "type": "Feature", "properties": { "admin": "Latvia", "name": "Latvia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[21.05580040862241, 56.031076361711051], [21.090423618257965, 56.783872789122924], [21.581866489353668, 57.411870632549913], [22.524341261492872, 57.753374335350756], [23.31845299652209, 57.006236477274854], [24.120729607853423, 57.025692654032753], [24.312862583114615, 57.793423570376966], [25.164593540149262, 57.970156968815175], [25.602809685984365, 57.847528794986559], [26.46353234223778, 57.476388658266316], [27.288184848751509, 57.474528306703817], [27.770015903440925, 57.244258124411218], [27.855282016722519, 56.759326483784278], [28.17670942557799, 56.169129950578807], [27.102459751094525, 55.783313707087672], [26.494331495883749, 55.61510691997762], [25.533046502390327, 56.100296942766029], [25.000934279080887, 56.164530748104831], [24.860684441840753, 56.372528388079616], [23.878263787539957, 56.273671373105259], [22.201156853939491, 56.337801825579483], [21.05580040862241, 56.031076361711051]]] } }, - { "type": "Feature", "properties": { "admin": "Morocco", "name": "Morocco", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-5.193863491222031, 35.755182196590845], [-4.591006232105143, 35.330711981745644], [-3.640056525070007, 35.39985504815197], [-2.604305792644111, 35.17909332940112], [-2.169913702798624, 35.168396307916694], [-1.792985805661658, 34.527918606091298], [-1.73345455566141, 33.919712836232115], [-1.388049282222596, 32.864015000941372], [-1.124551153966195, 32.651521511357195], [-1.30789913573787, 32.262888902306024], [-2.616604783529567, 32.094346218386157], [-3.068980271812648, 31.724497992473285], [-3.647497931320145, 31.637294012980814], [-3.690441046554666, 30.896951605751152], [-4.859646165374442, 30.501187649043874], [-5.242129278982786, 30.00044302013557], [-6.060632290053745, 29.731699734001801], [-7.059227667661899, 29.57922842052465], [-8.67411617678283, 28.841288967396643], [-8.665589565454836, 27.656425889592462], [-8.817809007940523, 27.656425889592462], [-8.817828334986642, 27.656425889592462], [-8.794883999049032, 27.120696316022553], [-9.413037482124507, 27.088476060488539], [-9.735343390328749, 26.860944729107409], [-10.189424200877452, 26.860944729107409], [-10.551262579785258, 26.990807603456879], [-11.392554897496948, 26.883423977154386], [-11.718219773800339, 26.104091701760801], [-12.030758836301654, 26.030866197203121], [-12.500962693725368, 24.770116278578136], [-13.891110398809044, 23.691009019459383], [-14.22116777185715, 22.310163072188338], [-14.630832688850942, 21.860939846274867], [-14.750954555713404, 21.500600083903802], [-17.002961798561071, 21.42073415779668], [-17.020428432675768, 21.422310288981631], [-16.973247849993182, 21.88574453377495], [-16.589136928767626, 22.158234361250091], [-16.26192175949566, 22.679339504481273], [-16.326413946995896, 23.017768459560894], [-15.982610642958059, 23.723358466074096], [-15.426003790742183, 24.359133612561035], [-15.089331834360729, 24.520260728446964], [-14.824645148161689, 25.103532619725307], [-14.800925665739666, 25.636264960222285], [-14.439939947964827, 26.254418443297645], [-13.773804897506462, 26.618892320252279], [-13.13994177901429, 27.640147813420491], [-13.121613369914709, 27.654147671719805], [-12.61883663578311, 28.038185533148656], [-11.688919236690761, 28.148643907172577], [-10.9009569971044, 28.832142238880913], [-10.39959225100864, 29.09858592377778], [-9.564811163765624, 29.933573716749855], [-9.814718390329174, 31.177735500609053], [-9.434793260119362, 32.038096421836478], [-9.300692918321827, 32.564679266890629], [-8.657476365585039, 33.24024526624239], [-7.654178432638217, 33.697064927702506], [-6.912544114601358, 34.11047638603744], [-6.24434200685141, 35.145865383437517], [-5.929994269219832, 35.759988104793983], [-5.193863491222031, 35.755182196590845]]] } }, - { "type": "Feature", "properties": { "admin": "Moldova", "name": "Moldova", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[26.619336785597788, 48.220726223333457], [26.857823520624798, 48.368210761094488], [27.52253746919515, 48.467119452501102], [28.259546746541837, 48.155562242213406], [28.670891147585163, 48.118148505234089], [29.122698195113024, 47.849095160506458], [29.050867954227321, 47.510226955752493], [29.415135125452732, 47.346645209332571], [29.559674106573105, 46.928582872091312], [29.908851759569295, 46.67436066343145], [29.838210076626289, 46.525325832701675], [30.024658644335364, 46.423936672545032], [29.759971958136383, 46.349987697935354], [29.170653924279879, 46.379262396828693], [29.072106967899288, 46.517677720722482], [28.862972446414055, 46.437889309263824], [28.933717482221621, 46.258830471372491], [28.659987420371575, 45.939986884131628], [28.48526940279276, 45.596907050145887], [28.233553501099035, 45.488283189468369], [28.054442986775392, 45.944586086605618], [28.160017937947707, 46.371562608417207], [28.128030226359037, 46.81047638608824], [27.551166212684841, 47.405117092470817], [27.233872918412736, 47.826770941756365], [26.924176059687561, 48.123264472030982], [26.619336785597788, 48.220726223333457]]] } }, - { "type": "Feature", "properties": { "admin": "Madagascar", "name": "Madagascar", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[49.543518914595737, -12.469832858940553], [49.80898074727908, -12.895284925999551], [50.05651085795715, -13.555761407121981], [50.217431268114055, -14.758788750876795], [50.476536899625515, -15.226512139550541], [50.377111443895942, -15.706069431219122], [50.200274692593169, -16.000263360256763], [49.860605503138665, -15.414252618066913], [49.672606642460849, -15.710203545802477], [49.863344354050142, -16.451036879138773], [49.774564243372694, -16.875042006093597], [49.49861209493411, -17.10603565843827], [49.435618523970298, -17.953064060134363], [49.04179243347393, -19.118781019774442], [48.548540887247995, -20.496888116134119], [47.930749139198653, -22.391501153251077], [47.547723423051295, -23.781958916928513], [47.095761346226588, -24.941629733990446], [46.282477654817079, -25.178462823184102], [45.409507684110444, -25.601434421493082], [44.833573846217547, -25.346101169538933], [44.039720493349755, -24.9883452287823], [43.763768344911156, -24.460677178649988], [43.697777540874441, -23.574116306250595], [43.345654331237611, -22.77690398528387], [43.254187046080986, -22.057413018484116], [43.433297560404633, -21.336475111580185], [43.893682895692919, -21.163307386970121], [43.89637007017209, -20.830459486578167], [44.374325392439644, -20.072366224856385], [44.464397413924374, -19.435454196859045], [44.23242190936616, -18.961994724200899], [44.042976108584149, -18.331387220943167], [43.963084344260899, -17.409944756746778], [44.312468702986273, -16.850495700754951], [44.446517368351387, -16.216219170804504], [44.944936557806521, -16.179373874580396], [45.502731967964976, -15.974373467678538], [45.872993605336255, -15.793454278224681], [46.312243279817203, -15.780018405828795], [46.882182651564271, -15.210182386946309], [47.70512983581235, -14.594302666891762], [48.005214878131241, -14.091232598530372], [47.869047479042152, -13.663868503476582], [48.29382775248137, -13.784067884987483], [48.845060255738773, -13.08917489995866], [48.863508742066976, -12.487867933810417], [49.194651320193302, -12.040556735891967], [49.543518914595737, -12.469832858940553]]] } }, - { "type": "Feature", "properties": { "admin": "Mexico", "name": "Mexico", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-97.140008307670684, 25.869997463478395], [-97.528072475966539, 24.992144069920297], [-97.702945522842214, 24.272343044526728], [-97.776041836319024, 22.932579860927653], [-97.872366706111094, 22.444211737553356], [-97.699043952204164, 21.898689480064256], [-97.388959520236739, 21.411018988525818], [-97.189333462293277, 20.635433254473124], [-96.525575527720306, 19.890930894444061], [-96.292127244841737, 19.32037140550954], [-95.90088497595994, 18.828024196848727], [-94.8390634834427, 18.562717393462204], [-94.425729539756205, 18.144370835843343], [-93.548651292682365, 18.423836981677933], [-92.786113857783477, 18.524838568592255], [-92.037348192090391, 18.704569200103432], [-91.407903408559235, 18.876083278880227], [-90.771869879910852, 19.284120388256778], [-90.533589850613026, 19.867418117751292], [-90.451475999701231, 20.707521877520428], [-90.278618333684889, 20.999855454995547], [-89.601321173851474, 21.261725775634485], [-88.543866339862845, 21.493675441976613], [-87.658416510757704, 21.458845526611977], [-87.051890224948053, 21.543543199138295], [-86.811982388032931, 21.331514797444747], [-86.845907965832595, 20.849864610268348], [-87.383291185235848, 20.255404771398727], [-87.621054450210721, 19.646553046135917], [-87.436750454441764, 19.472403469312265], [-87.586560431655911, 19.040130113190738], [-87.837191128271485, 18.259815985583426], [-88.090664028663156, 18.516647854074048], [-88.300031094093626, 18.499982204659997], [-88.490122850279278, 18.486830552641717], [-88.84834387892657, 17.883198147040329], [-89.029857347351737, 18.001511338772556], [-89.150909389995462, 17.955467637600403], [-89.143080410503316, 17.808318996649401], [-90.067933519230891, 17.819326076727517], [-91.001519945015943, 17.817594916245692], [-91.002269253284155, 17.254657701074272], [-91.453921271515114, 17.252177232324183], [-91.08167009150057, 16.918476670799517], [-90.711821865587623, 16.687483018454767], [-90.600846727240921, 16.470777899638787], [-90.438866950221993, 16.410109768128105], [-90.464472622422633, 16.069562079324722], [-91.747960171255926, 16.066564846251762], [-92.229248623406278, 15.251446641495871], [-92.087215949252013, 15.06458466232851], [-92.203229539747255, 14.830102850804108], [-92.227750006869812, 14.538828640190953], [-93.359463874061746, 15.61542959234367], [-93.875168830118511, 15.94016429286591], [-94.691656460330108, 16.20097524664288], [-95.250227016973014, 16.128318182840641], [-96.053382127653293, 15.752087917539592], [-96.557434048228274, 15.653515122942787], [-97.263592495496624, 15.917064927631312], [-98.013029954809596, 16.107311713113912], [-98.947675747456486, 16.566043402568763], [-99.697397427147024, 16.706164048728166], [-100.829498867581293, 17.171071071842047], [-101.666088629954444, 17.649026394109622], [-101.918528001700196, 17.916090196193974], [-102.478132086988907, 17.975750637275095], [-103.500989549558057, 18.292294623278845], [-103.917527432046811, 18.748571682200005], [-104.992009650475467, 19.316133938061679], [-105.493038499761411, 19.946767279535429], [-105.731396043707633, 20.434101874264108], [-105.397772996831321, 20.531718654863422], [-105.500660773524402, 20.816895046466122], [-105.27075232625792, 21.076284898355137], [-105.265817226974022, 21.422103583252348], [-105.603160976975374, 21.871145941652568], [-105.693413865973113, 22.269080308516148], [-106.028716396898943, 22.77375234627862], [-106.909980434988341, 23.767774359628895], [-107.91544877809136, 24.548915310152946], [-108.401904873470954, 25.172313951105931], [-109.260198737406625, 25.580609442644054], [-109.444089321717314, 25.824883938087673], [-109.291643846456267, 26.44293406829842], [-109.801457689231796, 26.676175645447923], [-110.391731737085692, 27.162114976504533], [-110.641018846461606, 27.859876003525521], [-111.178918830187826, 27.941240546169062], [-111.759606899851619, 28.467952582303944], [-112.228234626090369, 28.954408677683482], [-112.27182369672866, 29.266844387320074], [-112.80959448937395, 30.021113593052341], [-113.163810594518651, 30.786880804969424], [-113.148669399857141, 31.170965887978912], [-113.871881069781836, 31.56760834403519], [-114.205736660603506, 31.524045111613123], [-114.776451178835003, 31.79953217216114], [-114.936699795372121, 31.393484605427595], [-114.771231859173483, 30.91361725516526], [-114.673899298951739, 30.162681179315985], [-114.330974494262918, 29.750432440707407], [-113.588875088335413, 29.061611436473008], [-113.424053107540516, 28.826173610951223], [-113.271969367305502, 28.754782619739892], [-113.140039435664363, 28.411289374295954], [-112.962298346796473, 28.425190334582503], [-112.761587083774856, 27.78021678314752], [-112.457910529411635, 27.525813706974752], [-112.24495195193677, 27.171726792910754], [-111.616489020619184, 26.662817287700474], [-111.284674648872993, 25.732589830014426], [-110.987819383572386, 25.294606228124557], [-110.71000688357131, 24.826004340101854], [-110.655048997828871, 24.298594672131113], [-110.17285620811343, 24.265547593680417], [-109.771847093528521, 23.811182562754194], [-109.409104377055698, 23.364672349536242], [-109.433392300232896, 23.185587673428696], [-109.85421932660168, 22.818271592698061], [-110.031391974714424, 22.823077500901199], [-110.295070970483636, 23.430973212166684], [-110.949501309028022, 24.000964260345988], [-111.670568407012681, 24.484423122652508], [-112.182035895621468, 24.73841278736716], [-112.148988817170817, 25.470125230404044], [-112.300710822379671, 26.012004299416613], [-112.777296719191526, 26.321959540303162], [-113.464670783321907, 26.768185533143416], [-113.596729906043805, 26.639459540304465], [-113.848936733844241, 26.900063788352437], [-114.465746629680027, 27.142090358991361], [-115.055142178184965, 27.722726752222904], [-114.982252570437382, 27.798200181585109], [-114.570365566854917, 27.741485297144884], [-114.199328782999231, 28.115002549750553], [-114.162018398884612, 28.566111965442296], [-114.931842210736605, 29.279479275015483], [-115.518653937626965, 29.556361599235395], [-115.887365282029563, 30.180793768834171], [-116.2583503894529, 30.836464341753572], [-116.721526252084956, 31.635743720012037], [-117.127759999999839, 32.53534], [-115.99135, 32.612390000000111], [-114.72139, 32.72083], [-114.815, 32.52528], [-113.30498, 32.03914], [-111.02361, 31.33472], [-109.035, 31.341940000000129], [-108.24194, 31.34222], [-108.24, 31.754853718166366], [-106.507589999999851, 31.75452], [-106.1429, 31.39995], [-105.63159, 31.08383], [-105.03737, 30.64402], [-104.70575, 30.12173], [-104.456969999999885, 29.57196], [-103.94, 29.27], [-103.11, 28.97], [-102.48, 29.76], [-101.6624, 29.7793], [-100.9576, 29.380710000000125], [-100.45584, 28.696120000000118], [-100.11, 28.11000000000012], [-99.52, 27.54], [-99.3, 26.84], [-99.019999999999897, 26.37], [-98.24, 26.06], [-97.529999999999887, 25.84], [-97.140008307670684, 25.869997463478395]]] } }, - { "type": "Feature", "properties": { "admin": "Macedonia", "name": "Macedonia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[20.59023, 41.85541], [20.717310000000108, 41.84711], [20.76216, 42.05186], [21.352700000000134, 42.2068], [21.576635989402117, 42.245224397061847], [21.917080000000105, 42.30364], [22.380525750424674, 42.320259507815074], [22.881373732197339, 41.999297186850349], [22.952377150166505, 41.337993882811176], [22.76177, 41.3048], [22.597308383889008, 41.130487168943198], [22.055377638444266, 41.149865831052686], [21.674160597426969, 40.93127452245794], [21.020040317476397, 40.842726955725873], [20.60518, 41.08622], [20.46315, 41.51509], [20.59023, 41.85541]]] } }, - { "type": "Feature", "properties": { "admin": "Mali", "name": "Mali", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-12.170750291380299, 14.616834214735503], [-11.834207526079465, 14.799096991428936], [-11.666078253617853, 15.388208319556295], [-11.349095017939502, 15.411256008358475], [-10.650791388379414, 15.132745876521422], [-10.086846482778212, 15.330485744686269], [-9.700255092802703, 15.264107367407359], [-9.550238409859388, 15.486496893775435], [-5.537744309908446, 15.501689764869253], [-5.315277268891931, 16.201853745991837], [-5.488522508150438, 16.325102037007962], [-5.971128709324247, 20.640833441647626], [-6.453786586930334, 24.956590684503418], [-4.92333736817423, 24.974574082940993], [-1.550054897457613, 22.792665920497377], [1.823227573259032, 20.61080943448604], [2.060990838233919, 20.142233384679482], [2.683588494486428, 19.856230170160114], [3.146661004253899, 19.693578599521441], [3.158133172222704, 19.057364203360034], [4.267419467800038, 19.155265204336995], [4.270209995143801, 16.852227484601212], [3.723421665063482, 16.184283759012612], [3.638258904646476, 15.568119818580453], [2.749992709981483, 15.409524847876693], [1.385528191746857, 15.323561102759168], [1.01578331869851, 14.968182277887944], [0.374892205414682, 14.928908189346128], [-0.26625729003058, 14.924308986872147], [-0.515854458000348, 15.116157741755725], [-1.066363491205663, 14.973815009007764], [-2.001035122068771, 14.559008287000887], [-2.191824510090384, 14.246417548067352], [-2.967694464520576, 13.798150336151506], [-3.103706834312759, 13.54126679122859], [-3.52280270019986, 13.337661647998612], [-4.006390753587225, 13.472485459848112], [-4.280405035814879, 13.228443508349738], [-4.427166103523802, 12.542645575404292], [-5.220941941743119, 11.713858954307224], [-5.197842576508648, 11.375145778850136], [-5.470564947929004, 10.951269842976044], [-5.404341599946973, 10.370736802609144], [-5.816926235365286, 10.222554633012191], [-6.050452032892266, 10.096360785355442], [-6.205222947606429, 10.524060777219132], [-6.493965013037267, 10.411302801958268], [-6.666460944027547, 10.430810655148447], [-6.850506557635057, 10.138993841996237], [-7.622759161804808, 10.147236232946792], [-7.89958980959237, 10.297382106970824], [-8.029943610048617, 10.206534939001711], [-8.335377163109738, 10.494811916541932], [-8.282357143578279, 10.792597357623842], [-8.407310756860026, 10.90925690352276], [-8.620321010767126, 10.810890814655181], [-8.581305304386772, 11.136245632364801], [-8.376304897484911, 11.393645941610627], [-8.786099005559462, 11.812560939984705], [-8.905264858424529, 12.088358059126433], [-9.127473517279581, 12.308060411015331], [-9.327616339546008, 12.334286200403451], [-9.567911749703212, 12.194243068892472], [-9.890992804392011, 12.060478623904968], [-10.165213792348835, 11.844083563682743], [-10.593223842806278, 11.923975328005977], [-10.870829637078211, 12.177887478072106], [-11.036555955438256, 12.211244615116513], [-11.297573614944508, 12.077971096235768], [-11.456168585648269, 12.076834214725336], [-11.513942836950587, 12.442987575729415], [-11.467899135778522, 12.754518947800973], [-11.553397793005427, 13.141213690641063], [-11.927716030311613, 13.422075100147392], [-12.124887457721256, 13.994727484589784], [-12.170750291380299, 14.616834214735503]]] } }, - { "type": "Feature", "properties": { "admin": "Myanmar", "name": "Myanmar", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[99.543309360759281, 20.186597601802056], [98.959675734454848, 19.752980658440944], [98.253723992915582, 19.708203029860041], [97.797782830804394, 18.627080389881751], [97.375896437573516, 18.445437730375811], [97.859122755934848, 17.567946071843657], [98.493761020911322, 16.837835598207928], [98.90334842325673, 16.177824204976115], [98.537375929765687, 15.308497422746081], [98.192074009191373, 15.123702500870349], [98.430819126379859, 14.622027696180831], [99.097755161538728, 13.827502549693275], [99.212011753336071, 13.269293728076462], [99.196353794351637, 12.804748439988666], [99.587286004639694, 11.892762762901695], [99.038120558673953, 10.960545762572435], [98.553550653073017, 9.932959906448543], [98.457174106848697, 10.675266018105146], [98.764545526120756, 11.441291612183745], [98.428338657629823, 12.032986761925681], [98.509574009192661, 13.122377631070675], [98.103603957107666, 13.64045970301285], [97.777732375075161, 14.837285874892638], [97.597071567782749, 16.100567938699765], [97.164539829499773, 16.928734442609336], [96.505768670642965, 16.427240505432845], [95.369352248112378, 15.714389960182599], [94.808404575584092, 15.803454291237637], [94.188804152404515, 16.037936102762014], [94.533485955791321, 17.277240301985724], [94.324816522196741, 18.213513902249893], [93.540988397193615, 19.366492621330021], [93.663254835996199, 19.726961574781992], [93.078277622452163, 19.855144965081973], [92.368553501355606, 20.670883287025344], [92.30323449093865, 21.475485337809815], [92.652257114637976, 21.324047552978481], [92.672720981825549, 22.041238918541247], [93.166127557348361, 22.278459580977099], [93.060294224014598, 22.703110663335565], [93.286326938859247, 23.043658352138998], [93.325187615942767, 24.078556423432197], [94.106741977925054, 23.850740871673477], [94.552657912171611, 24.675238348890328], [94.603249139385355, 25.162495428970399], [95.155153436262566, 26.001307277932078], [95.124767694074933, 26.573572089132295], [96.419365675850941, 27.264589341739221], [97.133999058015277, 27.08377350514996], [97.051988559968066, 27.699058946233144], [97.402561476636123, 27.88253611908544], [97.327113885490007, 28.261582749946331], [97.91198774616943, 28.335945136014338], [98.24623091023328, 27.747221381129172], [98.682690057370451, 27.508812160750612], [98.712093947344499, 26.74353587494026], [98.671838006589127, 25.918702500913518], [97.724609002679117, 25.083637193292994], [97.604719679761956, 23.897404690033039], [98.660262485755737, 24.063286037689959], [98.898749220782747, 23.142722072842524], [99.531992222087382, 22.949038804612574], [99.240898878987224, 22.118314317304577], [99.983489211021464, 21.742936713136398], [100.416537713627349, 21.558839423096607], [101.150032993578222, 21.849984442629015], [101.180005324307515, 21.436572984294024], [100.329101190189519, 20.786121731036229], [100.115987583417819, 20.41784963630818], [99.543309360759281, 20.186597601802056]]] } }, - { "type": "Feature", "properties": { "admin": "Montenegro", "name": "Montenegro", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[19.801613396898681, 42.500093492190835], [19.738051385179627, 42.688247382165564], [19.30449, 42.19574], [19.371770000000136, 41.87755], [19.16246, 41.95502], [18.88214, 42.28151], [18.45, 42.48], [18.56, 42.65], [18.70648, 43.20011], [19.03165, 43.43253], [19.21852, 43.52384], [19.48389, 43.35229], [19.63, 43.213779970270522], [19.95857, 43.10604], [20.3398, 42.89852], [20.25758, 42.81275], [20.0707, 42.58863], [19.801613396898681, 42.500093492190835]]] } }, - { "type": "Feature", "properties": { "admin": "Mongolia", "name": "Mongolia", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[87.751264276076697, 49.297197984405479], [88.805566847695488, 49.470520738312409], [90.713667433640666, 50.331811835321076], [92.234711541719662, 50.802170722041716], [93.104219191462661, 50.495290228876414], [94.147566359435615, 50.480536607457083], [94.815949334698701, 50.013433335970838], [95.814027947983973, 49.977466539095708], [97.259727817781396, 49.726060695995727], [98.231761509191543, 50.422400621128737], [97.825739780674283, 51.010995184933165], [98.861490513100307, 52.047366034546684], [99.981732212323507, 51.634006252643978], [100.889480421962588, 51.516855780638316], [102.065222609467298, 51.25992055928311], [102.255908644624299, 50.510560614618669], [103.676545444760194, 50.089966132195109], [104.621552362081687, 50.275329494826067], [105.886591424586726, 50.406019192092209], [106.888804152455336, 50.274295966180219], [107.868175897250936, 49.793705145865808], [108.475167270951275, 49.282547715850725], [109.402449171996636, 49.292960516957535], [110.662010532678764, 49.130128078805861], [111.581230910286607, 49.377968248077678], [112.897739699354361, 49.543565375356984], [114.362456496235239, 50.248302720737399], [114.962109816550154, 50.140247300815112], [115.485695428531386, 49.805177313834591], [116.678800897286152, 49.888531399121376], [116.191802199367544, 49.134598090199091], [115.485282017073018, 48.135382595403428], [115.742837355615748, 47.726544501326273], [116.308952671373206, 47.853410142602826], [117.295507440257396, 47.69770905210742], [118.064142694166691, 48.066730455103674], [118.866574334794933, 47.747060044946153], [119.772823927897477, 47.048058783550125], [119.66326989143873, 46.692679958678909], [118.874325799638711, 46.805412095723646], [117.421701287914175, 46.672732855814253], [116.717868280098841, 46.388202419615205], [115.985096470200062, 45.727235012385989], [114.46033165899604, 45.339816799493811], [113.463906691544139, 44.808893134127111], [112.436062453258785, 45.011645616224278], [111.873306105600278, 45.102079372735055], [111.348376906379428, 44.457441718110083], [111.667737257943202, 44.073175767587706], [111.829587843881342, 43.743118394539515], [111.129682244920218, 43.406834011400136], [110.412103306115256, 42.871233628911014], [109.243595819131428, 42.519446316084093], [107.744772576937933, 42.481515814781865], [106.129315627061658, 42.134327704428898], [104.964993931093446, 41.597409572916334], [104.522281935648977, 41.908346666016541], [103.312278273534787, 41.907468166667591], [101.833040399179922, 42.51487295182627], [100.845865513108237, 42.663804429691439], [99.515817498780009, 42.524691473961717], [97.451757440177985, 42.748889675460013], [96.349395786527793, 42.725635280928678], [95.762454868556674, 43.319449164394598], [95.306875441471504, 44.241330878265458], [94.688928664125299, 44.352331854828414], [93.480733677141274, 44.975472113619951], [92.133890822318193, 45.115075995456444], [90.945539585334288, 45.286073309910265], [90.585768263718265, 45.719716091487513], [90.970809360724985, 46.888146063822923], [90.280825636763893, 47.693549099307923], [88.854297723346733, 48.06908173277295], [88.013832228551721, 48.599462795600601], [87.751264276076697, 49.297197984405479]]] } }, - { "type": "Feature", "properties": { "admin": "Mozambique", "name": "Mozambique", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[34.559989047999345, -11.520020033415923], [35.312397902169032, -11.439146416879145], [36.514081658684248, -11.720938002166733], [36.775150994622791, -11.594537448780804], [37.471284214026596, -11.568750909067157], [37.827644891111383, -11.268769219612834], [38.427556593587745, -11.285202325081654], [39.521029900883768, -10.896853936408224], [40.316588576017182, -10.317096042525696], [40.478387485523022, -10.765440769089992], [40.437253045418672, -11.761710707245014], [40.560811395028558, -12.639176527561023], [40.599620395679743, -14.201975192931858], [40.775475294768988, -14.691764418194239], [40.477250604012596, -15.406294447493968], [40.089263950365208, -16.100774021064456], [39.452558628097044, -16.720891208566936], [38.53835086442151, -17.101023044505954], [37.411132846838875, -17.586368096591233], [36.281279331209348, -18.659687595293445], [35.896496616364054, -18.842260430580634], [35.198399692533137, -19.552811374593887], [34.786383497870041, -19.784011732667732], [34.701892531072836, -20.497043145431007], [35.176127150215358, -21.254361260668407], [35.373427768705731, -21.840837090748874], [35.385848253705397, -22.14], [35.562545536369079, -22.09], [35.533934767404297, -23.070787855727751], [35.371774122872374, -23.535358982031692], [35.607470330555621, -23.706563002214676], [35.458745558419615, -24.122609958596545], [35.040734897610655, -24.478350518493798], [34.215824008935463, -24.816314385682652], [33.013210076639005, -25.357573337507731], [32.574632195777859, -25.727318210556088], [32.660363396950082, -26.148584486599443], [32.915955031065685, -26.215867201443459], [32.830120477028878, -26.74219166433619], [32.071665480281062, -26.733820082304902], [31.985779249811962, -26.29177988048022], [31.837777947728057, -25.843331801051342], [31.752408481581874, -25.484283949487406], [31.930588820124242, -24.369416599222532], [31.670397983534645, -23.658969008073861], [31.191409132621278, -22.251509698172395], [32.244988234188007, -21.116488539313689], [32.508693068173436, -20.395292250248303], [32.659743279762573, -20.30429005298231], [32.772707960752619, -19.715592136313294], [32.611994256324884, -19.419382826416268], [32.654885695127142, -18.672089939043492], [32.849860874164385, -17.979057305577175], [32.847638787575839, -16.713398125884613], [32.328238966610222, -16.392074069893749], [31.852040643040592, -16.319417006091374], [31.636498243951188, -16.071990248277881], [31.173063999157673, -15.860943698797868], [30.338954705534537, -15.880839125230242], [30.274255812305103, -15.507786960515208], [30.179481235481827, -14.796099134991525], [33.214024692525207, -13.97186003993615], [33.789700148256678, -14.451830743063068], [34.064825473778619, -14.359950046448118], [34.459633416488536, -14.613009535381421], [34.517666049952304, -15.013708591372609], [34.307291294092089, -15.478641452702592], [34.381291945134045, -16.183559665596039], [35.033810255683527, -16.801299737213089], [35.339062941231639, -16.107440280830108], [35.771904738108347, -15.896858819240721], [35.686845330555926, -14.611045830954328], [35.267956170398001, -13.887834161029563], [34.907151320136158, -13.565424899960565], [34.559989047999345, -13.579997653866872], [34.280006137841973, -12.280025323132504], [34.559989047999345, -11.520020033415923]]] } }, - { "type": "Feature", "properties": { "admin": "Mauritania", "name": "Mauritania", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-12.170750291380299, 14.616834214735503], [-12.830658331747513, 15.303691514542942], [-13.43573767745306, 16.039383042866188], [-14.099521450242175, 16.304302273010489], [-14.577347581428977, 16.598263658102805], [-15.135737270558813, 16.587282416240779], [-15.623666144258689, 16.369337063049809], [-16.120690070041928, 16.45566254319338], [-16.463098110407881, 16.135036119038457], [-16.549707810929061, 16.673892116761959], [-16.270551723688353, 17.166962795474866], [-16.146347418674846, 18.108481553616652], [-16.256883307347163, 19.096715806550304], [-16.377651129613266, 19.593817246981981], [-16.277838100641514, 20.092520656814695], [-16.536323614965465, 20.567866319251486], [-17.063423224342568, 20.99975210213082], [-16.845193650773989, 21.333323472574875], [-12.929101935263528, 21.327070624267559], [-13.118754441774708, 22.771220201096249], [-12.874221564169574, 23.284832261645171], [-11.93722449385332, 23.374594224536164], [-11.969418911171159, 25.933352769468261], [-8.687293667017398, 25.881056219988899], [-8.684399786809051, 27.395744126895998], [-4.92333736817423, 24.974574082940993], [-6.453786586930334, 24.956590684503418], [-5.971128709324247, 20.640833441647626], [-5.488522508150438, 16.325102037007962], [-5.315277268891931, 16.201853745991837], [-5.537744309908446, 15.501689764869253], [-9.550238409859388, 15.486496893775435], [-9.700255092802703, 15.264107367407359], [-10.086846482778212, 15.330485744686269], [-10.650791388379414, 15.132745876521422], [-11.349095017939502, 15.411256008358475], [-11.666078253617853, 15.388208319556295], [-11.834207526079465, 14.799096991428936], [-12.170750291380299, 14.616834214735503]]] } }, - { "type": "Feature", "properties": { "admin": "Malawi", "name": "Malawi", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[34.559989047999345, -11.520020033415923], [34.280006137841973, -12.280025323132504], [34.559989047999345, -13.579997653866872], [34.907151320136158, -13.565424899960565], [35.267956170398001, -13.887834161029563], [35.686845330555926, -14.611045830954328], [35.771904738108347, -15.896858819240721], [35.339062941231639, -16.107440280830108], [35.033810255683527, -16.801299737213089], [34.381291945134045, -16.183559665596039], [34.307291294092089, -15.478641452702592], [34.517666049952304, -15.013708591372609], [34.459633416488536, -14.613009535381421], [34.064825473778619, -14.359950046448118], [33.789700148256678, -14.451830743063068], [33.214024692525207, -13.97186003993615], [32.688165317523122, -13.712857761289273], [32.991764357237876, -12.783870537978272], [33.306422153463068, -12.435778090060214], [33.114289178201908, -11.607198174692311], [33.315310499817279, -10.796549981329695], [33.485687697083584, -10.525558770391111], [33.231387973775291, -9.676721693564799], [32.759375441221316, -9.230599053589058], [33.739729038230443, -9.417150974162722], [33.940837724096532, -9.693673841980292], [34.280006137841973, -10.159999688358402], [34.559989047999345, -11.520020033415923]]] } }, - { "type": "Feature", "properties": { "admin": "Malaysia", "name": "Malaysia", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[101.075515578213299, 6.204867051615891], [101.154218784593809, 5.691384182147713], [101.814281854258013, 5.810808417174228], [102.141186964936423, 6.221636053894655], [102.371147088635212, 6.12820506431096], [102.961705356866673, 5.524495144061077], [103.381214634212142, 4.855001125503746], [103.438575474056165, 4.181605536308381], [103.332122023534851, 3.72669790284297], [103.42942874554052, 3.382868760589019], [103.502447544368877, 2.791018581550204], [103.854674106870334, 2.515454006353763], [104.247931756611479, 1.631141058759055], [104.228811476663523, 1.293048000489534], [103.519707472754433, 1.226333726400682], [102.573615350354771, 1.967115383304744], [101.39063846232915, 2.760813706875623], [101.273539666755838, 3.27029165284118], [100.69543541870668, 3.939139715994869], [100.557407668055092, 4.767280381688279], [100.19670617065772, 5.312492580583678], [100.306260207116509, 6.040561835143875], [100.085756870527078, 6.46448944745029], [100.259596388756918, 6.64282481528957], [101.075515578213299, 6.204867051615891]]], [[[118.618320754064825, 4.47820241944754], [117.882034946770162, 4.137551377779487], [117.01521447150634, 4.306094061699468], [115.86551720587677, 4.306559149590156], [115.51907840379198, 3.169238389494395], [115.134037306785231, 2.821481838386219], [114.621355422017473, 1.430688177898886], [113.805849644019531, 1.217548732911041], [112.859809198052176, 1.497790025229946], [112.380251906383648, 1.410120957846757], [111.797548455860408, 0.904441229654651], [111.159137811326559, 0.976478176269509], [110.514060907027101, 0.773131415200993], [109.830226678508836, 1.338135687664191], [109.663260125773718, 2.006466986494984], [110.396135288537039, 1.663774725751395], [111.168852980597478, 1.850636704918784], [111.370081007942076, 2.697303371588872], [111.796928338672842, 2.885896511238073], [112.995614862115247, 3.102394924324869], [113.712935418758718, 3.893509426281127], [114.204016554828399, 4.525873928236819], [114.659595981913526, 4.00763682699781], [114.869557326315373, 4.348313706881952], [115.347460972150671, 4.316636053887009], [115.405700311343594, 4.955227565933824], [115.450710483869798, 5.447729803891561], [116.220741001450961, 6.143191229675621], [116.725102980619752, 6.924771429873998], [117.129626092600461, 6.928052883324566], [117.643393182446303, 6.422166449403305], [117.689075148592337, 5.98749013918018], [118.347691278152197, 5.708695786965462], [119.181903924639926, 5.407835598162249], [119.110693800941718, 5.016128241389864], [118.439727004064082, 4.966518866389619], [118.618320754064825, 4.47820241944754]]]] } }, - { "type": "Feature", "properties": { "admin": "Namibia", "name": "Namibia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[16.344976840895239, -28.576705010697697], [15.601818068105812, -27.821247247022797], [15.210472446359457, -27.09095590587404], [14.989710727608548, -26.117371921495153], [14.74321414557633, -25.392920017195376], [14.40814415859583, -23.85301401132984], [14.385716586981145, -22.656652927340687], [14.257714064194172, -22.111208184499951], [13.868642205468657, -21.699036960539974], [13.352497999737437, -20.872834161057497], [12.82684533046449, -19.673165785401661], [12.608564080463617, -19.045348809487695], [11.794918654028063, -18.069129327061912], [11.734198846085118, -17.30188933682447], [12.215461460019352, -17.11166838955808], [12.814081251688405, -16.941342868724067], [13.462362094789963, -16.971211846588769], [14.058501417709007, -17.42338062914266], [14.209706658595021, -17.353100681225715], [18.26330936043416, -17.309950860262003], [18.956186964603599, -17.789094740472255], [21.377176141045563, -17.930636488519688], [23.215048455506057, -17.52311614346598], [24.033861525170771, -17.29584319424632], [24.6823490740015, -17.35341073981947], [25.076950310982255, -17.578823337476617], [25.084443393664564, -17.661815687737366], [24.520705193792534, -17.887124932529932], [24.217364536239209, -17.889347019118485], [23.579005568137713, -18.281261081620055], [23.196858351339298, -17.869038181227783], [21.655040317478971, -18.219146010005222], [20.910641310314531, -18.252218926672018], [20.881134067475866, -21.814327080983144], [19.895457797940672, -21.849156996347865], [19.895767856534427, -24.767790215760588], [19.89473432788861, -28.461104831660769], [19.002127312911082, -28.972443129188857], [18.464899122804745, -29.045461928017271], [17.836151971109526, -28.856377862261311], [17.387497185951499, -28.783514092729774], [17.218928663815401, -28.355943291946804], [16.824017368240899, -28.082161553664466], [16.344976840895239, -28.576705010697697]]] } }, - { "type": "Feature", "properties": { "admin": "New Caledonia", "name": "New Caledonia", "continent": "Oceania" }, "geometry": { "type": "Polygon", "coordinates": [[[165.779989862326346, -21.080004978115621], [166.599991489933814, -21.700018812753523], [167.120011428086883, -22.159990736583488], [166.74003462144475, -22.399976088146943], [166.189732293968632, -22.129708347260447], [165.474375441752159, -21.679606621998229], [164.829815301775653, -21.149819838141948], [164.16799523341362, -20.444746595951624], [164.029605747735957, -20.105645847252347], [164.459967075862664, -20.120011895429492], [165.020036249041993, -20.459991143477726], [165.460009393575064, -20.800022067958253], [165.779989862326346, -21.080004978115621]]] } }, - { "type": "Feature", "properties": { "admin": "Niger", "name": "Niger", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[2.154473504249949, 11.940150051313422], [2.177107781593917, 12.625017808477534], [1.024103224297619, 12.851825669806598], [0.993045688490156, 13.335749620003865], [0.429927605805517, 13.988733018443893], [0.295646396495215, 14.444234930880663], [0.374892205414767, 14.928908189346144], [1.015783318698481, 14.968182277887989], [1.385528191746971, 15.323561102759237], [2.74999270998154, 15.409524847876751], [3.63825890464659, 15.56811981858044], [3.723421665063596, 16.184283759012654], [4.270209995143886, 16.852227484601311], [4.267419467800095, 19.155265204337123], [5.677565952180712, 19.601206976799794], [8.572893100629868, 21.565660712159225], [11.999505649471697, 23.471668402596432], [13.581424594790459, 23.040506089769274], [14.143870883855239, 22.491288967371126], [14.8513, 22.862950000000119], [15.096887648181847, 21.308518785074902], [15.471076694407314, 21.048457139565979], [15.487148064850143, 20.730414537025634], [15.90324669766431, 20.387618923417499], [15.68574059414777, 19.957180080642384], [15.300441114979716, 17.927949937405], [15.247731154041842, 16.627305813050778], [13.972201775781681, 15.684365953021139], [13.540393507550785, 14.36713369390122], [13.956698846094124, 13.996691189016925], [13.954476759505607, 13.353448798063765], [14.595781284247604, 13.330426947477859], [14.495787387762899, 12.859396267137353], [14.213530714584746, 12.80203542729333], [14.181336297266906, 12.483656927943169], [13.995352817448289, 12.4615652531383], [13.318701613018558, 13.55635630945795], [13.083987257548809, 13.596147162322492], [12.302071160540546, 13.037189032437535], [11.527803175511504, 13.328980007373556], [10.989593133191532, 13.387322699431191], [10.701031935273816, 13.246917832894038], [10.114814487354748, 13.277251898649464], [9.524928012743088, 12.85110219975456], [9.014933302454436, 12.826659247280414], [7.804671258178869, 13.343526923063731], [7.330746697630046, 13.098038031461213], [6.82044192874781, 13.115091254117598], [6.445426059605721, 13.492768459522718], [5.443058302440135, 13.865923977102225], [4.368343540066006, 13.747481594289408], [4.107945997747378, 13.531215725147941], [3.967282749048933, 12.956108710171574], [3.680633579125924, 12.552903347214167], [3.611180454125587, 11.660167141155965], [2.848643019226585, 12.235635891158207], [2.490163608418015, 12.233052069543588], [2.154473504249949, 11.940150051313422]]] } }, - { "type": "Feature", "properties": { "admin": "Nigeria", "name": "Nigeria", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[8.500287713259693, 4.771982937026847], [7.462108188515939, 4.41210826254624], [7.082596469764438, 4.464689032403228], [6.698072137080598, 4.240594183769516], [5.898172641634686, 4.262453314628984], [5.362804803090881, 4.887970689305957], [5.033574252959368, 5.611802476418233], [4.325607130560683, 6.270651149923466], [3.574180128604552, 6.258300482605717], [2.691701694356254, 6.258817246928628], [2.74906253420022, 7.870734361192886], [2.723792758809509, 8.506845404489708], [2.912308383810255, 9.13760793704432], [3.220351596702101, 9.4441525333997], [3.705438266625918, 10.063210354040207], [3.600070021182801, 10.332186184119406], [3.797112257511713, 10.734745591673104], [3.572216424177469, 11.327939357951516], [3.611180454125558, 11.660167141155966], [3.68063357912581, 12.552903347214222], [3.967282749048848, 12.956108710171572], [4.107945997747321, 13.531215725147829], [4.368343540066063, 13.747481594289324], [5.443058302440163, 13.865923977102295], [6.445426059605636, 13.492768459522676], [6.820441928747753, 13.115091254117514], [7.330746697630017, 13.098038031461199], [7.804671258178784, 13.343526923063745], [9.014933302454462, 12.826659247280427], [9.524928012742945, 12.851102199754477], [10.114814487354689, 13.277251898649409], [10.701031935273702, 13.246917832894081], [10.989593133191532, 13.387322699431108], [11.527803175511393, 13.328980007373584], [12.302071160540521, 13.037189032437521], [13.083987257548866, 13.596147162322563], [13.318701613018558, 13.556356309457824], [13.995352817448346, 12.461565253138343], [14.181336297266792, 12.483656927943112], [14.57717776862253, 12.085360826053501], [14.468192172918974, 11.90475169519341], [14.415378859116682, 11.572368882692071], [13.572949659894558, 10.798565985553564], [13.308676385153914, 10.160362046748926], [13.1675997249971, 9.64062632897341], [12.955467970438971, 9.417771714714702], [12.753671502339214, 8.717762762888993], [12.218872104550597, 8.305824082874322], [12.063946160539556, 7.799808457872301], [11.839308709366801, 7.397042344589434], [11.745774366918509, 6.981382961449753], [11.058787876030349, 6.644426784690593], [10.497375115611417, 7.055357774275562], [10.118276808318255, 7.038769639509879], [9.522705926154398, 6.453482367372116], [9.233162876023043, 6.444490668153334], [8.757532993208626, 5.47966583904791], [8.500287713259693, 4.771982937026847]]] } }, - { "type": "Feature", "properties": { "admin": "Nicaragua", "name": "Nicaragua", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-85.712540452807289, 11.088444932494822], [-86.058488328785245, 11.40343862552994], [-86.525849982432931, 11.806876532432593], [-86.7459915839963, 12.143961900272483], [-87.167516242201131, 12.458257961471656], [-87.668493415054698, 12.909909979702629], [-87.557466600275603, 13.064551703336061], [-87.392386237319201, 12.914018256069836], [-87.316654425795463, 12.984685777228972], [-87.005769009127562, 13.025794379117157], [-86.880557013684339, 13.254204209847241], [-86.733821784191576, 13.263092556201441], [-86.755086636079696, 13.754845485890909], [-86.520708177419877, 13.778487453664436], [-86.312142096689911, 13.771356106008167], [-86.096263800790581, 14.038187364147245], [-85.801294725268576, 13.836054999237586], [-85.698665330736901, 13.960078436738083], [-85.514413011400222, 14.079011745657834], [-85.165364549484792, 14.354369615125076], [-85.148750576502948, 14.560196844943615], [-85.052787441736925, 14.551541042534719], [-84.924500698572388, 14.790492865452348], [-84.820036790694346, 14.819586696832669], [-84.649582078779602, 14.66680532476175], [-84.449335903648588, 14.621614284722494], [-84.228341640952394, 14.748764146376654], [-83.975721401693576, 14.749435939996458], [-83.628584967772895, 14.880073960830298], [-83.489988776366104, 15.016267198135534], [-83.147219000974104, 14.995829169164109], [-83.233234422523907, 14.8998660343981], [-83.28416154654758, 14.676623846897197], [-83.182126430987267, 14.310703029838447], [-83.412499966144424, 13.970077826386554], [-83.519831916014667, 13.56769928634588], [-83.55220720084553, 13.127054348193084], [-83.498515387694255, 12.869292303921226], [-83.473323126951968, 12.419087225794424], [-83.626104499022887, 12.320850328007563], [-83.719613003255034, 11.893124497927724], [-83.650857510090702, 11.629032090700116], [-83.855470343750369, 11.373311265503785], [-83.808935716471538, 11.103043524617274], [-83.655611741861563, 10.938764146361418], [-83.895054490885926, 10.726839097532444], [-84.190178595704822, 10.793450018756671], [-84.355930752281026, 10.999225572142901], [-84.673069017256239, 11.082657172078139], [-84.903003302738924, 10.952303371621895], [-85.561851976244171, 11.217119248901593], [-85.712540452807289, 11.088444932494822]]] } }, - { "type": "Feature", "properties": { "admin": "Netherlands", "name": "Netherlands", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[6.074182570020922, 53.51040334737813], [6.905139601274128, 53.482162177130633], [7.092053256873895, 53.14404328064488], [6.842869500362381, 52.228440253297542], [6.589396599970825, 51.85202912048338], [5.988658074577812, 51.85161570902504], [6.156658155958779, 50.803721015010574], [5.60697594567, 51.037298488969768], [4.973991326526913, 51.475023708698124], [4.047071160507527, 51.267258612668556], [3.314971144228536, 51.345755113319903], [3.830288527043137, 51.620544542031936], [4.705997348661184, 53.091798407597757], [6.074182570020922, 53.51040334737813]]] } }, - { "type": "Feature", "properties": { "admin": "Norway", "name": "Norway", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[28.165547316202911, 71.185474351680497], [31.293418409965472, 70.453787746859902], [30.005435011522785, 70.186258856884876], [31.101078728975118, 69.558080145944857], [29.399580519332879, 69.156916002063056], [28.591929559043187, 69.064776923286686], [29.015572950971968, 69.76649119737796], [27.732292107867885, 70.164193020296281], [26.179622023226298, 69.825298977326142], [25.689212680776389, 69.092113755968995], [24.735679152126714, 68.649556789821432], [23.662049594830759, 68.891247463650515], [22.356237827247405, 68.841741441514941], [21.244936150810723, 69.370443020293109], [20.645592889089581, 69.106247260200846], [20.02526899585791, 69.065138658312705], [19.878559604581248, 68.407194322372604], [17.993868442464386, 68.567391262477329], [17.729181756265344, 68.01055186631622], [16.768878614985535, 68.013936672631374], [16.108712192456832, 67.302455552836889], [15.108411492583055, 66.193866889095418], [13.555689731509087, 64.787027696381458], [13.919905226302202, 64.445420640716108], [13.571916131248766, 64.049114081469654], [12.57993533697393, 64.066218980558332], [11.930569288794228, 63.128317572676977], [11.992064243221531, 61.800362453856557], [12.63114668137524, 61.293571682370079], [12.300365838274896, 60.117932847730046], [11.468271925511173, 59.432393296945989], [11.027368605196925, 58.856149400459394], [10.356556837616095, 59.469807033925363], [8.382000359743641, 58.313288479233265], [7.048748406613297, 58.078884182357271], [5.665835402050418, 58.588155422593658], [5.308234490590733, 59.663231919993805], [4.992078077829005, 61.97099803328426], [5.912900424837885, 62.614472968182682], [8.553411085655766, 63.454008287196459], [10.527709181366784, 64.486038316497471], [12.358346795306371, 65.879725857193151], [14.7611458675816, 67.810641587995121], [16.435927361728968, 68.563205471461671], [19.184028354578512, 69.817444159617807], [21.378416375420606, 70.255169379346043], [23.02374230316158, 70.202071845166259], [24.546543409938515, 71.030496731237221], [26.370049676221807, 70.986261705195361], [28.165547316202911, 71.185474351680497]]], [[[24.72412, 77.85385], [22.49032, 77.44493], [20.72601, 77.67704], [21.41611, 77.93504], [20.8119, 78.25463], [22.88426, 78.45494], [23.28134, 78.07954], [24.72412, 77.85385]]], [[[18.25183, 79.70175], [21.54383, 78.95611], [19.02737, 78.5626], [18.47172, 77.82669], [17.59441, 77.63796], [17.1182, 76.80941], [15.91315, 76.77045], [13.76259, 77.38035], [14.66956, 77.73565], [13.1706, 78.02493], [11.22231, 78.8693], [10.44453, 79.65239], [13.17077, 80.01046], [13.71852, 79.66039], [15.14282, 79.67431], [15.52255, 80.01608], [16.99085, 80.05086], [18.25183, 79.70175]]], [[[25.447625359811887, 80.407340399894494], [27.407505730913492, 80.056405748200447], [25.924650506298171, 79.517833970854539], [23.024465773213613, 79.40001170522909], [20.075188429451877, 79.566823228667232], [19.897266473070907, 79.842361965647498], [18.46226362475792, 79.859880276194403], [17.368015170977454, 80.318896186027004], [20.455992059010693, 80.598155626132225], [21.907944777115397, 80.357679348462071], [22.919252557067431, 80.657144273593488], [25.447625359811887, 80.407340399894494]]]] } }, - { "type": "Feature", "properties": { "admin": "Nepal", "name": "Nepal", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[88.120440708369841, 27.876541652939586], [88.043132765661198, 27.445818589786818], [88.174804315140904, 26.810405178325944], [88.060237664749806, 26.414615383402484], [87.22747195836628, 26.39789805755607], [86.024392938179147, 26.630984605408567], [85.25177859898335, 26.726198431906337], [84.675017938173767, 27.234901231387528], [83.304248895199535, 27.364505723575554], [81.999987420584958, 27.925479234319987], [81.057202589851997, 28.416095282499036], [80.088424513676259, 28.794470119740136], [80.476721225917373, 29.729865220655334], [81.11125613802929, 30.183480943313398], [81.525804477874729, 30.422716986608627], [82.327512648450863, 30.115268052688126], [83.337115106137176, 29.463731594352193], [83.898992954446712, 29.320226141877654], [84.234579705750136, 28.839893703724691], [85.011638218123025, 28.642773952747337], [85.823319940131498, 28.203575954698699], [86.954517043000592, 27.97426178640351], [88.120440708369841, 27.876541652939586]]] } }, - { "type": "Feature", "properties": { "admin": "New Zealand", "name": "New Zealand", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[173.020374790740703, -40.919052422856417], [173.247234328502003, -41.331998793300777], [173.958405389702875, -40.926700534835604], [174.2475867048081, -41.349155368821663], [174.248516880589449, -41.770008233406749], [173.876446568087886, -42.233184096038819], [173.222739699595621, -42.970038344088557], [172.711246372770717, -43.372287693048492], [173.080112746470206, -43.853343601253577], [172.308583612352464, -43.865694268571332], [171.452925246463622, -44.24251881284372], [171.185137974327233, -44.897104180684885], [170.616697219116588, -45.908928724959701], [169.83142215400926, -46.355774834987585], [169.332331170934253, -46.641235446967848], [168.411353794628525, -46.619944756863582], [167.763744745146823, -46.290197442409195], [166.676886021184202, -46.219917494492236], [166.509144321964669, -45.852704766626204], [167.046424188503238, -45.110941257508664], [168.303763462596862, -44.12397307716612], [168.949408807651508, -43.93581918719142], [169.667814569373149, -43.555325616226334], [170.524919875366152, -43.031688327812823], [171.125089960004004, -42.512753594737781], [171.569713983443194, -41.767424411792128], [171.948708937871885, -41.514416599291145], [172.097227004278722, -40.956104424809674], [172.798579543343948, -40.493962090823466], [173.020374790740703, -40.919052422856417]]], [[[174.612008905330526, -36.156397393540537], [175.336615838927173, -37.209097995758263], [175.3575964704375, -36.52619394302112], [175.808886753642469, -36.798942152657681], [175.958490025127475, -37.555381768546063], [176.763195428776555, -37.881253350578696], [177.438813104560495, -37.961248467766488], [178.010354445708657, -37.579824721020124], [178.517093540762801, -37.695373223624792], [178.274731073313802, -38.582812595373092], [177.970460239979332, -39.166342868812968], [177.206992629299123, -39.145775648760839], [176.939980503647007, -39.449736423501562], [177.032946405340113, -39.879942722331471], [176.8858236026052, -40.06597787858216], [176.508017206119348, -40.60480803808958], [176.012440220440283, -41.289624118821493], [175.239567499082966, -41.688307793953236], [175.067898391009408, -41.425894870775075], [174.650972935278418, -41.281820977545443], [175.227630243223615, -40.459235528323397], [174.900156691789959, -39.908933200847216], [173.824046665743992, -39.508854262043506], [173.852261997775315, -39.146602471677461], [174.57480187408035, -38.797683200842748], [174.743473749081033, -38.027807712558378], [174.69701663645057, -37.381128838857954], [174.292028436579187, -36.71109221776144], [174.319003534235549, -36.534823907213884], [173.840996535535766, -36.121980889634109], [173.05417117745958, -35.237125339500331], [172.636005487353714, -34.529106540669382], [173.007042271209457, -34.450661716450334], [173.551298456107475, -35.006183363587958], [174.329390497126241, -35.265495700828616], [174.612008905330526, -36.156397393540537]]]] } }, - { "type": "Feature", "properties": { "admin": "Oman", "name": "Oman", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[58.861141391846573, 21.114034532144299], [58.487985874266961, 20.428985907467101], [58.03431847517659, 20.481437486243347], [57.826372511634098, 20.24300242764863], [57.66576216007094, 19.736004950433109], [57.788700392493368, 19.067570298737646], [57.694390903560667, 18.944709580963799], [57.2342639504338, 18.947991034414255], [56.609650913321971, 18.574267076079476], [56.512189162019482, 18.087113348863934], [56.283520949128011, 17.876066799383945], [55.661491733630683, 17.884128322821535], [55.269939406155189, 17.632309068263194], [55.274900343655091, 17.228354397037659], [54.791002231674113, 16.950696926333357], [54.239252964093751, 17.04498057704998], [53.57050825380459, 16.707662665264674], [53.108572625547502, 16.651051133688977], [52.782184279192066, 17.349742336491229], [52.000009800022227, 19.000003363516068], [54.999981723862405, 19.999994004796118], [55.666659376859869, 22.000001125572307], [55.208341098863187, 22.708329982997007], [55.234489373602869, 23.110992743415348], [55.52584109886449, 23.524869289640911], [55.528631626208288, 23.933604030853498], [55.981213820220503, 24.130542914317854], [55.80411868675624, 24.269604193615287], [55.88623253766805, 24.920830593357486], [56.396847365143984, 24.924732163995508], [56.845140415276049, 24.241673081961487], [57.403452589757428, 23.878594468678834], [58.136947869708322, 23.747930609628835], [58.729211460205427, 23.565667832935414], [59.180501743410346, 22.992395331305456], [59.450097690677033, 22.660270900965592], [59.80806033716285, 22.533611965418199], [59.806148309168087, 22.31052480721419], [59.442191196536399, 21.71454051359208], [59.282407667889871, 21.433885809814875], [58.861141391846573, 21.114034532144299]]], [[[56.391421339753393, 25.895990708921254], [56.261041701080913, 25.714606431576748], [56.070820753814544, 26.055464178973946], [56.362017449779344, 26.395934353128947], [56.485679152253809, 26.309117946878665], [56.391421339753393, 25.895990708921254]]]] } }, - { "type": "Feature", "properties": { "admin": "Pakistan", "name": "Pakistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[75.158027785140902, 37.13303091078911], [75.896897414050116, 36.666806138651829], [76.192848341785677, 35.898403428687821], [77.837450799474553, 35.494009507787759], [76.871721632804011, 34.653544012992732], [75.757060988268321, 34.504922593721311], [74.240202671204955, 34.748887030571247], [73.749948358051952, 34.317698879527846], [74.104293654277328, 33.441473293586846], [74.451559279278698, 32.764899603805489], [75.258641798813187, 32.271105455040491], [74.405928989564998, 31.692639471965272], [74.421380242820263, 30.97981476493117], [73.450638462217412, 29.976413479119863], [72.823751662084689, 28.961591701772047], [71.777665643200308, 27.913180243434521], [70.61649620960192, 27.989196275335861], [69.514392938113119, 26.940965684511365], [70.168926629522005, 26.491871649678835], [70.282873162725579, 25.722228705339823], [70.844699334602822, 25.215102037043511], [71.0432401874682, 24.356523952730193], [68.842599318318761, 24.359133612560932], [68.176645135373377, 23.691965033456704], [67.443666619745457, 23.944843654876983], [67.145441928989058, 24.663611151624639], [66.37282758979326, 25.425140896093847], [64.530407749291115, 25.237038682551425], [62.905700718034595, 25.218409328710202], [61.497362908784183, 25.078237006118492], [61.874187453056535, 26.239974880472097], [63.316631707619578, 26.756532497661659], [63.23389773952028, 27.217047024030702], [62.755425652929851, 27.378923448184985], [62.727830438085974, 28.259644883735383], [61.771868117118615, 28.699333807890792], [61.369308709564926, 29.303276272085917], [60.874248488208778, 29.829238999952604], [62.549856805272775, 29.318572496044304], [63.550260858011164, 29.468330796826162], [64.148002150331237, 29.340819200145965], [64.350418735618504, 29.560030625928089], [65.046862013616092, 29.472180691031902], [66.346472609324408, 29.88794342703617], [66.38145755398601, 30.738899237586448], [66.938891229118454, 31.304911200479346], [67.683393589147457, 31.303154201781414], [67.792689243444769, 31.582930406209623], [68.556932000609308, 31.713310044882011], [68.926676873657655, 31.620189113892064], [69.317764113242546, 31.901412258424436], [69.262522007122541, 32.501944078088293], [69.687147251264847, 33.105498969041228], [70.323594191371583, 33.358532619758385], [69.93054324735958, 34.020120144175102], [70.881803012988385, 33.988855902638512], [71.156773309213449, 34.348911444632144], [71.115018751921625, 34.733125718722228], [71.613076206350698, 35.153203436822857], [71.498767938121077, 35.650563259415996], [71.262348260385735, 36.074387518857797], [71.846291945283909, 36.509942328429851], [72.920024855444453, 36.720007025696312], [74.067551710917812, 36.836175645488446], [74.575892775372964, 37.02084137628345], [75.158027785140902, 37.13303091078911]]] } }, - { "type": "Feature", "properties": { "admin": "Panama", "name": "Panama", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-77.881571417945239, 7.223771267114783], [-78.214936082660103, 7.512254950384159], [-78.429160732726061, 8.052041123888925], [-78.182095709938608, 8.319182440621772], [-78.43546525746568, 8.387705389840788], [-78.622120530903928, 8.718124497915026], [-79.120307176413732, 8.996092027213022], [-79.557877366845176, 8.932374986197145], [-79.760578172510037, 8.584515082224398], [-80.164481167303322, 8.333315944853593], [-80.382659064439608, 8.29840851484043], [-80.480689256497286, 8.090307522001067], [-80.003689948227148, 7.54752411542337], [-80.276670701808982, 7.419754136581713], [-80.421158006497066, 7.271571966984763], [-80.886400926420791, 7.220541490096535], [-81.059542812814698, 7.817921047390596], [-81.189715745757937, 7.647905585150339], [-81.519514736644666, 7.706610012233908], [-81.721311204744453, 8.108962714058434], [-82.131441209628889, 8.175392767769635], [-82.390934414382542, 8.292362372262287], [-82.820081346350406, 8.290863755725821], [-82.850958014644803, 8.073822740099954], [-82.965783047197348, 8.225027980985983], [-82.9131764391242, 8.423517157419068], [-82.829770677405151, 8.626295477732368], [-82.868657192704759, 8.807266343618521], [-82.719183112300513, 8.925708726431493], [-82.927154914059145, 9.074330145702914], [-82.932890998043561, 9.476812038608172], [-82.546196255203469, 9.566134751824674], [-82.187122565423394, 9.207448635286779], [-82.207586432610952, 8.995575262890098], [-81.808566860669259, 8.95061676679617], [-81.714154018872023, 9.031955471223581], [-81.43928707551153, 8.786234035675715], [-80.947301601876745, 8.858503526235905], [-80.521901211250054, 9.11107208906243], [-79.914599778955974, 9.312765204297618], [-79.573302781884294, 9.611610012241526], [-79.021191779277913, 9.552931423374103], [-79.058450486960353, 9.454565334506523], [-78.500887620747164, 9.420458889193879], [-78.055927700497989, 9.247730414258296], [-77.729513515926399, 8.946844387238867], [-77.353360765273848, 8.670504665558068], [-77.474722866511314, 8.524286200388216], [-77.242566494440069, 7.935278225125442], [-77.431107957656977, 7.638061224798733], [-77.75341386586139, 7.709839789252141], [-77.881571417945239, 7.223771267114783]]] } }, - { "type": "Feature", "properties": { "admin": "Peru", "name": "Peru", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-69.590423753524036, -17.580011895419329], [-69.858443569605839, -18.092693780187009], [-70.3725723944777, -18.347975355708861], [-71.375250210236914, -17.77379851651385], [-71.462040778271117, -17.363487644116379], [-73.444529588500401, -16.359362888252992], [-75.23788265654143, -15.26568287522778], [-76.009205084929931, -14.649286390850317], [-76.423469204397733, -13.823186944232431], [-76.259241502574156, -13.535039157772939], [-77.10619238962181, -12.222716159720816], [-78.092152879534623, -10.377712497604062], [-79.036953091126918, -8.38656788496589], [-79.445920376284832, -7.930833428583859], [-79.760578172510037, -7.194340915560081], [-80.537481655586049, -6.541667575713715], [-81.249996304026411, -6.136834405139182], [-80.926346808582423, -5.690556735866563], [-81.410942552399433, -4.736764825055459], [-81.099669562489353, -4.036394138203696], [-80.302560594387188, -3.404856459164712], [-80.184014858709645, -3.821161797708043], [-80.46929460317692, -4.059286797708999], [-80.442241990872134, -4.425724379090673], [-80.028908047185581, -4.346090996928893], [-79.62497921417615, -4.454198093283494], [-79.205289069317715, -4.959128513207388], [-78.639897223612323, -4.547784112164072], [-78.450683966775628, -3.873096612161375], [-77.83790483265858, -3.003020521663103], [-76.635394253226707, -2.608677666843817], [-75.544995693652027, -1.56160979574588], [-75.233722703741932, -0.911416924649529], [-75.373223232713841, -0.15203175212045], [-75.106624518520064, -0.05720549886486], [-74.441600511355958, -0.530820000819887], [-74.122395189089048, -1.002832533373848], [-73.659503546834586, -1.260491224781134], [-73.070392218707212, -2.308954359550952], [-72.325786505813639, -2.434218031426453], [-71.774760708285385, -2.169789727388937], [-71.413645799429773, -2.342802422702128], [-70.813475714791949, -2.256864515800742], [-70.047708502874841, -2.725156345229699], [-70.692682054309699, -3.742872002785858], [-70.394043952094975, -3.766591485207825], [-69.893635219996611, -4.298186944194326], [-70.79476884630229, -4.251264743673302], [-70.928843349883564, -4.401591485210367], [-71.748405727816532, -4.59398284263301], [-72.891927659787243, -5.274561455916979], [-72.964507208941185, -5.741251315944892], [-73.219711269814596, -6.089188734566076], [-73.120027431923575, -6.629930922068238], [-73.724486660441627, -6.918595472850638], [-73.723401455363486, -7.340998630404412], [-73.987235480429646, -7.523829847853063], [-73.571059332967053, -8.424446709835832], [-73.015382656532537, -9.03283334720806], [-73.226713426390148, -9.462212823121233], [-72.563033006465631, -9.520193780152715], [-72.184890713169821, -10.05359791426943], [-71.302412278921523, -10.079436130415372], [-70.481893886991159, -9.490118096558842], [-70.548685675728393, -11.009146823778462], [-70.093752204046879, -11.123971856331011], [-69.52967810736493, -10.951734307502193], [-68.665079718689611, -12.561300144097171], [-68.880079515239956, -12.89972909917665], [-68.929223802349526, -13.602683607643007], [-68.94888668483658, -14.45363941819328], [-69.339534674747, -14.953195489158828], [-69.160346645774936, -15.323973890853015], [-69.389764166934697, -15.66012908291165], [-68.959635382753291, -16.500697930571267], [-69.590423753524036, -17.580011895419329]]] } }, - { "type": "Feature", "properties": { "admin": "Philippines", "name": "Philippines", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[126.376813592637447, 8.414706325713352], [126.478512811387873, 7.750354112168976], [126.537423944200611, 7.189380601424572], [126.19677290253253, 6.274294338400038], [125.831420526229081, 7.293715318221855], [125.363852166852283, 6.78648529706099], [125.683160841983707, 6.049656887227257], [125.396511672060626, 5.581003322772288], [124.219787632342332, 6.16135549562618], [123.938719517106918, 6.88513560630612], [124.243662144061318, 7.360610459823659], [123.610212437027542, 7.833527329942753], [123.29607140512519, 7.418875637232786], [122.825505812675388, 7.457374579290216], [122.085499302255769, 6.899424139834847], [121.919928013192603, 7.192119452336072], [122.312358840017112, 8.034962063016506], [122.94239790251963, 8.316236883981174], [123.487687616063511, 8.693009751821192], [123.841154412939815, 8.240324204944384], [124.6014697612502, 8.514157619659015], [124.764612257995623, 8.960409450715458], [125.471390822451539, 8.986996975129641], [125.412117954612754, 9.760334784377545], [126.222714471543156, 9.28607432701885], [126.306636997585073, 8.782487494334573], [126.376813592637447, 8.414706325713352]]], [[[123.982437778825798, 10.278778591345811], [123.62318322153277, 9.950090643753297], [123.309920688979332, 9.318268744336676], [122.995883009941636, 9.022188625520398], [122.380054966319463, 9.713360907424201], [122.586088901867072, 9.981044826696104], [122.837081333508706, 10.261156927934234], [122.947410516451896, 10.881868394408029], [123.498849725438447, 10.940624497923945], [123.337774285984722, 10.267383938025445], [124.077935825701218, 11.232725531453706], [123.982437778825798, 10.278778591345811]]], [[[118.504580926590336, 9.316382554558087], [117.174274530100675, 8.367499904814663], [117.664477166821371, 9.066888739452933], [118.386913690261736, 9.684499619989223], [118.98734215706105, 10.376292019080507], [119.511496209797528, 11.36966807702721], [119.689676548339889, 10.554291490109872], [119.029458449378978, 10.003653265823869], [118.504580926590336, 9.316382554558087]]], [[[121.883547804859106, 11.891755072471977], [122.483821242361458, 11.582187404827506], [123.120216506035959, 11.583660183147867], [123.100837843926442, 11.165933742716486], [122.637713657726692, 10.741308498574226], [122.002610304859559, 10.441016750526087], [121.967366978036523, 10.905691229694622], [122.038370396005519, 11.415840969280039], [121.883547804859106, 11.891755072471977]]], [[[125.502551711123488, 12.162694606978347], [125.783464797062152, 11.046121934447767], [125.01188398651226, 11.311454576050377], [125.032761265158115, 10.975816148314703], [125.277449172060244, 10.358722032101308], [124.801819289245714, 10.134678859899889], [124.760168084818474, 10.8379951033923], [124.459101190286049, 10.889929917845633], [124.302521600441722, 11.495370998577227], [124.891012811381572, 11.415582587118589], [124.877990350443952, 11.794189968304988], [124.266761509295705, 12.557760931849682], [125.22711632700782, 12.53572093347719], [125.502551711123488, 12.162694606978347]]], [[[121.527393833503481, 13.069590155484516], [121.262190382981544, 12.2055602075644], [120.833896112146533, 12.704496161342416], [120.323436313967477, 13.466413479053866], [121.18012820850214, 13.429697373910439], [121.527393833503481, 13.069590155484516]]], [[[121.321308221523566, 18.504064642811013], [121.937601353036371, 18.21855235439838], [122.246006300954264, 18.478949896717094], [122.336956821787965, 18.224882717354173], [122.174279412933174, 17.810282701076371], [122.51565392465335, 17.09350474697197], [122.252310825693883, 16.262444362854122], [121.662786086108255, 15.931017564350125], [121.505069614753367, 15.124813544164621], [121.728828566577249, 14.328376369682244], [122.258925409027313, 14.218202216035973], [122.701275669445636, 14.336541245984417], [123.950295037940236, 13.782130642141066], [123.855107049658599, 13.237771104378464], [124.181288690284873, 12.997527370653469], [124.077419061378222, 12.536676947474573], [123.298035109552245, 13.027525539598981], [122.928651971529902, 13.552919826710404], [122.671355015148663, 13.185836289925131], [122.034649692880521, 13.784481919810343], [121.126384718918587, 13.636687323455559], [120.628637323083296, 13.857655747935649], [120.679383579593832, 14.271015529838319], [120.99181928923052, 14.525392767795079], [120.693336216312687, 14.756670640517282], [120.564145135582976, 14.396279201713821], [120.070428501466367, 14.970869452367094], [119.920928582846102, 15.406346747290735], [119.883773228028247, 16.363704331929963], [120.286487664878791, 16.034628811095327], [120.39004723519173, 17.599081122299506], [120.7158671407919, 18.505227362537536], [121.321308221523566, 18.504064642811013]]]] } }, - { "type": "Feature", "properties": { "admin": "Papua New Guinea", "name": "Papua New Guinea", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[155.880025669578401, -6.819996840037758], [155.599991082988765, -6.919990736522491], [155.166994256815087, -6.535931491729299], [154.729191522438327, -5.900828138862208], [154.514114211239644, -5.139117526880012], [154.652503696917336, -5.042430922061839], [154.759990676084357, -5.339983819198493], [155.062917922179338, -5.566791680527486], [155.547746209941693, -6.200654799019658], [156.019965448224752, -6.540013929880386], [155.880025669578401, -6.819996840037758]]], [[[151.982795851854462, -5.478063246282344], [151.459106887008659, -5.560280450058739], [151.301390415653884, -5.840728448106701], [150.754447056276661, -6.083762709175387], [150.241196730753813, -6.317753594592984], [149.709963006793316, -6.316513360218051], [148.890064732050462, -6.026040134305432], [148.318936802360696, -5.74714242922613], [148.401825799756864, -5.437755629094722], [149.298411900020824, -5.583741550319216], [149.845561965127217, -5.505503431829339], [149.996250441690279, -5.026101169457674], [150.139755894164921, -5.001348158389788], [150.236907586873485, -5.53222014732428], [150.807467075808063, -5.455842380396886], [151.089672072553981, -5.113692722192368], [151.647880894170811, -4.757073662946168], [151.537861769821518, -4.167807305521889], [152.136791620084352, -4.148790378438519], [152.338743117480988, -4.31296640382976], [152.318692661751754, -4.867661228050748], [151.982795851854462, -5.478063246282344]]], [[[147.191873814074938, -7.388024183789978], [148.084635858349372, -8.044108168167609], [148.734105259393573, -9.104663588093755], [149.306835158484432, -9.071435642130067], [149.266630894161324, -9.514406019736027], [150.038728469034311, -9.684318129111698], [149.738798456012262, -9.872937106977002], [150.801627638959133, -10.29368661869742], [150.690574985963849, -10.582712904505865], [150.028393182575826, -10.652476088099929], [149.782310012001972, -10.393267103723941], [148.923137648717216, -10.28092253992136], [147.913018426707993, -10.130440769087469], [147.135443150012236, -9.492443536012017], [146.567880894150619, -8.942554619994153], [146.048481073184917, -8.067414239131308], [144.74416792213799, -7.630128269077473], [143.897087844009661, -7.915330498896279], [143.286375767184268, -8.245491224809056], [143.413913202080664, -8.983068942910945], [142.628431431244223, -9.326820570516501], [142.068258905200196, -9.159595635620034], [141.033851760013874, -9.117892754760417], [141.017056919519007, -5.85902190513802], [141.000210402591847, -2.600151055515624], [142.735246616791443, -3.289152927263216], [144.583970982033236, -3.861417738463401], [145.27317955950997, -4.373737888205027], [145.829786411725649, -4.876497897972683], [145.981921828392956, -5.465609226100012], [147.648073358347574, -6.083659356310803], [147.891107619416175, -6.614014580922315], [146.970905389594861, -6.721656589386255], [147.191873814074938, -7.388024183789978]]], [[[153.14003787659874, -4.499983412294113], [152.827292108368255, -4.766427097190998], [152.63867313050298, -4.176127211120927], [152.406025832324929, -3.789742526874561], [151.953236932583536, -3.462062269711821], [151.384279413050024, -3.035421644710111], [150.6620495953388, -2.741486097833956], [150.939965448204532, -2.500002129734028], [151.479984165654514, -2.779985039891386], [151.820015090135087, -2.999971612157907], [152.239989455371074, -3.24000864015366], [152.640016717742526, -3.659983005389647], [153.019993524384631, -3.980015150573293], [153.14003787659874, -4.499983412294113]]]] } }, - { "type": "Feature", "properties": { "admin": "Poland", "name": "Poland", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[15.016995883858666, 51.106674099321566], [14.607098422919531, 51.745188096719964], [14.685026482815685, 52.089947414755187], [14.437599725002197, 52.624850165408382], [14.074521111719488, 52.981262518925426], [14.353315463934136, 53.248171291712957], [14.119686313542584, 53.757029120491026], [14.802900424873455, 54.050706285205735], [16.363477003655728, 54.513158677785711], [17.622831658608671, 54.851535956432897], [18.620858595461637, 54.682605699270766], [18.696254510175461, 54.438718777069276], [19.6606400896064, 54.426083889373913], [20.89224450041862, 54.312524929412518], [22.731098667092649, 54.327536932993311], [23.243987257589506, 54.220566718149129], [23.484127638449841, 53.912497667041123], [23.527535841574995, 53.47012156840654], [23.804934930117774, 53.08973135030606], [23.799198846133375, 52.691099351606553], [23.19949384938618, 52.486977444053664], [23.508002150168689, 52.023646552124717], [23.52707075368437, 51.578454087930233], [24.029985792748899, 50.705406602575174], [23.922757195743259, 50.424881089878738], [23.426508416444388, 50.308505764357449], [22.518450148211596, 49.476773586619736], [22.776418898212619, 49.027395331409608], [22.558137648211751, 49.08573802346713], [21.607808058364206, 49.470107326854077], [20.887955356538406, 49.328772284535823], [20.415839471119849, 49.431453355499755], [19.825022820726865, 49.217125352569219], [19.320712517990469, 49.571574001659179], [18.909574822676316, 49.435845852244562], [18.85314415861361, 49.496229763377634], [18.392913852622168, 49.988628648470737], [17.649445021238986, 50.049038397819942], [17.554567091551117, 50.36214590107641], [16.868769158605655, 50.473973700556016], [16.719475945714429, 50.215746568393527], [16.176253289462263, 50.4226073268579], [16.238626743238566, 50.697732652379827], [15.490972120839725, 50.7847299261432], [15.016995883858666, 51.106674099321566]]] } }, - { "type": "Feature", "properties": { "admin": "Puerto Rico", "name": "Puerto Rico", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-66.2824344550082, 18.51476166429536], [-65.771302863209286, 18.426679185453875], [-65.591003790942935, 18.228034979723912], [-65.847163865813755, 17.975905666571855], [-66.599934455009475, 17.98182261806927], [-67.184162360285256, 17.946553453030074], [-67.24242753769434, 18.374460150622934], [-67.100679083917726, 18.520601101144347], [-66.2824344550082, 18.51476166429536]]] } }, - { "type": "Feature", "properties": { "admin": "North Korea", "name": "Dem. Rep. Korea", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[130.640015903852401, 42.39500946712527], [130.780007358931101, 42.220007229168843], [130.400030552288996, 42.280003567059701], [129.965948521037234, 41.941367906251052], [129.667362095254788, 41.601104437825221], [129.705189243692445, 40.882827867184318], [129.188114862179958, 40.661807766271984], [129.010399611528186, 40.485436102859801], [128.633368361526692, 40.189846910150301], [127.967414178581322, 40.025412502597547], [127.533435500194145, 39.756850083976694], [127.502119582225276, 39.323930772451526], [127.385434198110261, 39.213472398427648], [127.783342726757709, 39.050898342437414], [128.349716424676586, 38.612242946927843], [128.205745884311426, 38.370397243801882], [127.780035435090966, 38.304535630845884], [127.073308547067342, 38.256114813788393], [126.683719924018888, 37.804772854151174], [126.237338901881742, 37.840377916000271], [126.174758742376213, 37.749685777328033], [125.689103631697165, 37.940010077459014], [125.568439162295675, 37.752088731429616], [125.275330438336184, 37.66907054295271], [125.24008711151312, 37.857224432927424], [124.981033156433952, 37.948820909164773], [124.712160679219352, 38.108346055649783], [124.985994093933954, 38.548474229479673], [125.221948683778677, 38.665857245430665], [125.13285851450749, 38.848559271798578], [125.386589797060566, 39.387957872061158], [125.321115757346774, 39.551384589184202], [124.737482131042384, 39.660344346671614], [124.265624627785286, 39.928493353834149], [125.079941847840615, 40.569823716792442], [126.182045119329402, 41.107336127276362], [126.86908328664984, 41.816569322266176], [127.343782993682993, 41.50315176041596], [128.208433058790632, 41.466771552082477], [128.052215203972281, 41.994284572917934], [129.59666873587949, 42.424981797854542], [129.994267205933198, 42.985386867843779], [130.640015903852401, 42.39500946712527]]] } }, - { "type": "Feature", "properties": { "admin": "Portugal", "name": "Portugal", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[-9.034817674180244, 41.880570583659669], [-8.671945766626719, 42.134689439454952], [-8.26385698081779, 42.280468654950326], [-8.01317460776991, 41.790886135417118], [-7.422512986673794, 41.792074693359822], [-7.251308966490822, 41.91834605566504], [-6.668605515967655, 41.883386949219577], [-6.389087693700914, 41.381815497394641], [-6.851126674822551, 41.111082668617513], [-6.864019944679383, 40.330871893874821], [-7.026413133156593, 40.184524237624238], [-7.066591559263527, 39.711891587882768], [-7.498632371439724, 39.629571031241802], [-7.098036668313126, 39.03007274022378], [-7.374092169616317, 38.373058580064914], [-7.029281175148794, 38.075764065089757], [-7.166507941099863, 37.803894354802217], [-7.537105475281022, 37.428904323876232], [-7.45372555177809, 37.097787583966053], [-7.855613165711985, 36.838268540996253], [-8.382816127953687, 36.978880113262449], [-8.898856980820325, 36.868809312480771], [-8.746101446965552, 37.6513455266766], [-8.839997524439879, 38.266243394517609], [-9.287463751655221, 38.358485826158592], [-9.526570603869713, 38.737429104154906], [-9.44698889814023, 39.392066148428363], [-9.048305223008425, 39.755093085278766], [-8.977353481471679, 40.159306138665798], [-8.7686840478771, 40.76063894303018], [-8.790853237330309, 41.18433401139125], [-8.990789353867568, 41.543459377603625], [-9.034817674180244, 41.880570583659669]]] } }, - { "type": "Feature", "properties": { "admin": "Paraguay", "name": "Paraguay", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-62.685057135657871, -22.24902922942238], [-62.291179368729203, -21.051634616787389], [-62.265961269770784, -20.513734633061272], [-61.786326463453761, -19.633736667562957], [-60.043564622626477, -19.342746677327419], [-59.11504248720609, -19.356906019775398], [-58.183471442280492, -19.868399346600359], [-58.166392381408038, -20.176700941653674], [-57.870673997617786, -20.732687676681948], [-57.937155727761287, -22.090175876557169], [-56.881509568902885, -22.282153822521476], [-56.473317430229379, -22.086300144135279], [-55.797958136606894, -22.356929620047815], [-55.61068274598113, -22.655619398694839], [-55.517639329639621, -23.57199757252663], [-55.400747239795407, -23.956935316668797], [-55.027901780809543, -24.001273695575225], [-54.652834235235119, -23.839578138933955], [-54.292959560754511, -24.021014092710722], [-54.293476325077435, -24.570799655863958], [-54.428946092330577, -25.162184747012162], [-54.625290696823562, -25.739255466415507], [-54.788794928595038, -26.621785577096126], [-55.695845506398143, -27.387837009390857], [-56.486701626192989, -27.548499037386286], [-57.609759690976134, -27.395898532828383], [-58.618173590719735, -27.123718763947089], [-57.633660040911117, -25.603656508081638], [-57.777217169817924, -25.162339776309032], [-58.807128465394968, -24.771459242453307], [-60.028966030504016, -24.032796319273267], [-60.846564704009907, -23.880712579038288], [-62.685057135657871, -22.24902922942238]]] } }, - { "type": "Feature", "properties": { "admin": "Palestine", "name": "Palestine", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[35.545665317534535, 32.393992011030569], [35.545251906076196, 31.782504787720832], [35.397560662586038, 31.489086005167572], [34.927408481594554, 31.35343537040141], [34.970506626125989, 31.616778469360803], [35.225891554512422, 31.754341132121759], [34.974640740709319, 31.866582343059715], [35.183930291491428, 32.532510687788935], [35.545665317534535, 32.393992011030569]]] } }, - { "type": "Feature", "properties": { "admin": "Qatar", "name": "Qatar", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[50.810108270069563, 24.754742539971371], [50.743910760303677, 25.482424221289389], [51.01335167827348, 26.006991685484191], [51.286461622936045, 26.114582017515865], [51.589078810437243, 25.801112779233375], [51.606700473848804, 25.215670477798735], [51.389607781790623, 24.627385972588051], [51.112415398977006, 24.556330878186721], [50.810108270069563, 24.754742539971371]]] } }, - { "type": "Feature", "properties": { "admin": "Romania", "name": "Romania", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[22.710531447040488, 47.882193915389394], [23.142236362406798, 48.096341050806942], [23.760958286237404, 47.985598456405448], [24.402056105250374, 47.981877753280422], [24.866317172960571, 47.737525743188307], [25.207743361112986, 47.891056423527459], [25.945941196402394, 47.987148749374207], [26.197450392366925, 48.220881252630342], [26.619336785597788, 48.220726223333457], [26.924176059687561, 48.123264472030982], [27.233872918412736, 47.826770941756365], [27.551166212684841, 47.405117092470817], [28.128030226359037, 46.81047638608824], [28.160017937947707, 46.371562608417207], [28.054442986775392, 45.944586086605618], [28.233553501099035, 45.488283189468369], [28.679779493939371, 45.30403087013169], [29.149724969201646, 45.464925442072442], [29.603289015427425, 45.293308010431119], [29.62654340995876, 45.035390936862392], [29.141611769331831, 44.820210272799038], [28.837857700320196, 44.913873806328041], [28.55808149589199, 43.707461656258118], [27.970107049275068, 43.812468166675202], [27.242399529740904, 44.175986029632398], [26.065158725699739, 43.943493760751259], [25.569271681426923, 43.688444729174712], [24.100679152124169, 43.741051337247846], [23.332302280376322, 43.897010809904707], [22.94483239105184, 43.823785305347123], [22.657149692482985, 44.234923000661276], [22.474008416440594, 44.409227606781762], [22.705725538837349, 44.578002834647016], [22.459022251075933, 44.702517198254291], [22.145087924902807, 44.478422349620573], [21.562022739353605, 44.768947251965486], [21.483526238702233, 45.181170152357772], [20.874312778413351, 45.416375433934228], [20.76217492033998, 45.734573065771428], [20.220192498462833, 46.127468980486547], [21.021952345471245, 46.316087958351886], [21.626514926853869, 46.994237779318148], [22.09976769378283, 47.672439276716695], [22.710531447040488, 47.882193915389394]]] } }, - { "type": "Feature", "properties": { "admin": "Russia", "name": "Russia", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[143.648007440362846, 50.747600409541512], [144.65414757708561, 48.976390692737581], [143.173927850517174, 49.306551418650365], [142.558668247650076, 47.861575018904908], [143.533492466404027, 46.836728013692479], [143.505277134372591, 46.137907619809475], [142.747700636973889, 46.740764878926562], [142.092030064054484, 45.966755276058777], [141.906925083585008, 46.805928860046535], [142.018442824470867, 47.780132961612921], [141.904444614835029, 48.859188544299563], [142.135800002205656, 49.615163072297449], [142.179983351815281, 50.952342434281903], [141.594075962490024, 51.935434882202529], [141.682546014573632, 53.301966457728767], [142.606934035410745, 53.762145087287891], [142.209748976815376, 54.225475979216853], [142.654786411712934, 54.365880845753864], [142.914615513276544, 53.704577541714734], [143.260847609632037, 52.740760403039033], [143.235267775647628, 51.756660264688733], [143.648007440362846, 50.747600409541512]]], [[[22.731098667092649, 54.327536932993311], [20.892244500418652, 54.312524929412568], [19.6606400896064, 54.42608388937397], [19.88848147958134, 54.866160386771483], [21.268448927503492, 55.190481675835279], [22.315723504330599, 55.015298570365886], [22.757763706155281, 54.856574408581416], [22.651051873472564, 54.582740993866693], [22.731098667092649, 54.327536932993311]]], [[[180.000000000000114, 70.832199208546669], [178.903425, 70.78114], [178.7253, 71.0988], [180.000000000000114, 71.515714336428246], [180.000000000000114, 70.832199208546669]]], [[[143.60385, 73.21244], [142.08763, 73.20544], [140.038155, 73.31692], [139.86312, 73.36983], [140.81171, 73.76506], [142.06207, 73.85758], [143.48283, 73.47525], [143.60385, 73.21244]]], [[[150.73167, 75.08406], [149.575925, 74.68892], [147.977465, 74.778355], [146.11919, 75.17298], [146.358485, 75.49682], [148.22223, 75.345845], [150.73167, 75.08406]]], [[[145.086285, 75.562625], [144.3, 74.82], [140.61381, 74.84768], [138.95544, 74.61148], [136.97439, 75.26167], [137.51176, 75.94917], [138.831075, 76.13676], [141.471615, 76.09289], [145.086285, 75.562625]]], [[[57.535692579992386, 70.720463975702145], [56.944979282463933, 70.63274323188665], [53.677375115784187, 70.762657782668455], [53.412016635965372, 71.206661688920192], [51.601894565645708, 71.474759019650477], [51.455753615124209, 72.014881089965129], [52.478275180883564, 72.229441636840946], [52.444168735570841, 72.77473135038484], [54.427613559797649, 73.627547512497571], [53.508289829325136, 73.749813951300141], [55.902458937407644, 74.627486477345329], [55.631932814359701, 75.081412258597155], [57.868643833248839, 75.609390367323186], [61.170044386647497, 76.251883450008123], [64.498368361270209, 76.439055487769267], [66.210977003855092, 76.809782213031227], [68.157059767534818, 76.939696763812904], [68.852211134725124, 76.544811306454605], [68.180572544227644, 76.233641669409096], [64.637326287703004, 75.737754625136219], [61.583507521414752, 75.260884507946784], [58.477082147053366, 74.309056301562819], [56.986785516187993, 73.333043524866227], [55.41933597191094, 72.371267605265956], [55.622837762276291, 71.540594794390316], [57.535692579992386, 70.720463975702145]]], [[[106.970130000000111, 76.97419], [107.240000000000123, 76.48], [108.1538, 76.723350000000138], [111.077260000000138, 76.71], [113.33151, 76.22224], [114.13417, 75.84764], [113.88539, 75.327790000000121], [112.77918, 75.03186], [110.151250000000175, 74.47673], [109.4, 74.18], [110.64, 74.04], [112.11919, 73.787740000000113], [113.019540000000234, 73.976930000000138], [113.529580000000294, 73.33505], [113.96881, 73.59488], [115.56782, 73.75285], [118.776330000000215, 73.58772], [119.02, 73.12], [123.20066, 72.97122], [123.257770000000178, 73.73503], [125.380000000000166, 73.56], [126.97644, 73.56549], [128.59126, 73.03871], [129.05157, 72.39872], [128.46, 71.98], [129.715990000000204, 71.19304], [131.288580000000252, 70.786990000000102], [132.253500000000145, 71.8363], [133.857660000000294, 71.386420000000143], [135.56193, 71.655250000000123], [137.49755, 71.34763], [138.234090000000123, 71.62803], [139.86983, 71.487830000000116], [139.14791, 72.4161900000001], [140.46817, 72.849410000000134], [149.5, 72.2], [150.35118000000017, 71.60643], [152.96890000000019, 70.84222], [157.00688, 71.03141], [158.99779, 70.86672], [159.830310000000225, 70.45324], [159.70866, 69.72198], [160.94053000000028, 69.43728], [162.279070000000104, 69.64204], [164.05248, 69.66823], [165.940370000000172, 69.47199], [167.83567, 69.58269], [169.57763000000017, 68.6938], [170.816880000000253, 69.01363], [170.008200000000159, 69.65276], [170.453450000000259, 70.09703], [173.643910000000204, 69.81743], [175.72403000000017, 69.877250000000217], [178.6, 69.4], [180.000000000000114, 68.963636363636553], [180.000000000000114, 64.979708702198465], [179.99281, 64.97433], [178.707200000000199, 64.53493], [177.411280000000147, 64.60821], [178.313000000000187, 64.07593], [178.90825000000018, 63.251970000000128], [179.37034, 62.98262], [179.48636, 62.56894], [179.228250000000116, 62.304100000000133], [177.3643, 62.5219], [174.569290000000194, 61.76915], [173.68013, 61.65261], [172.15, 60.95], [170.6985, 60.33618], [170.330850000000282, 59.88177], [168.90046, 60.57355], [166.294980000000265, 59.7885500000002], [165.840000000000202, 60.16], [164.87674, 59.7316], [163.539290000000108, 59.86871], [163.217110000000218, 59.21101], [162.01733, 58.24328], [162.05297, 57.83912], [163.19191, 57.61503], [163.057940000000144, 56.159240000000111], [162.129580000000203, 56.12219], [161.70146, 55.285680000000148], [162.117490000000117, 54.85514], [160.368770000000325, 54.34433], [160.021730000000218, 53.20257], [158.530940000000157, 52.958680000000236], [158.23118, 51.94269], [156.789790000000266, 51.01105], [156.42000000000013, 51.7], [155.99182, 53.15895], [155.43366, 55.381030000000109], [155.914420000000291, 56.767920000000132], [156.75815, 57.3647], [156.81035, 57.83204], [158.364330000000166, 58.05575], [160.150640000000124, 59.314770000000109], [161.87204, 60.343000000000117], [163.66969, 61.1409], [164.473550000000103, 62.55061], [163.258420000000172, 62.46627], [162.65791, 61.6425], [160.12148, 60.54423], [159.30232, 61.77396], [156.72068, 61.43442], [154.218060000000293, 59.758180000000117], [155.04375, 59.14495], [152.81185, 58.88385], [151.265730000000246, 58.78089], [151.33815, 59.50396], [149.78371, 59.655730000000126], [148.54481, 59.16448], [145.48722, 59.33637], [142.197820000000121, 59.03998], [138.958480000000293, 57.08805], [135.12619, 54.72959], [136.70171, 54.603550000000112], [137.19342, 53.97732], [138.1647, 53.755010000000247], [138.80463, 54.25455], [139.90151, 54.189680000000166], [141.34531, 53.089570000000109], [141.37923, 52.23877], [140.59742000000017, 51.23967], [140.51308, 50.045530000000113], [140.061930000000189, 48.446710000000152], [138.554720000000202, 46.99965], [138.21971, 46.30795], [136.86232, 45.143500000000174], [135.515350000000183, 43.989], [134.869390000000237, 43.39821], [133.536870000000249, 42.81147], [132.90627, 42.79849], [132.278070000000241, 43.284560000000106], [130.935870000000136, 42.55274], [130.78, 42.220000000000191], [130.640000000000157, 42.395], [130.633866408409801, 42.903014634770543], [131.144687941614961, 42.929989732426932], [131.288555129115593, 44.111519680348252], [131.025190000000237, 44.96796], [131.883454217659562, 45.321161607436508], [133.097120000000189, 45.14409], [133.769643996313164, 46.116926988299149], [134.112350000000163, 47.212480000000127], [134.50081, 47.578450000000139], [135.026311476786759, 48.478229885443902], [133.373595819228001, 48.183441677434836], [132.506690000000106, 47.78896], [130.987260000000106, 47.79013], [130.582293328982644, 48.72968740497619], [129.397817824420486, 49.4406000840156], [127.657400000000351, 49.76027], [127.287455682484904, 50.739797268265434], [126.939156528837827, 51.353894151405896], [126.564399041856959, 51.784255479532689], [125.946348911646439, 52.792798570356936], [125.068211297710434, 53.161044826868924], [123.57147, 53.4588], [122.245747918793043, 53.431725979213681], [121.003084751470354, 53.251401068731226], [120.177088657716865, 52.753886216841195], [120.725789015791975, 52.516226304730893], [120.7382, 51.96411], [120.182080000000155, 51.64355], [119.27939, 50.58292], [119.288460728025839, 50.142882798861947], [117.87924441942647, 49.510983384797036], [116.67880089728618, 49.888531399121398], [115.485695428531415, 49.805177313834733], [114.962109816550353, 50.140247300815119], [114.362456496235325, 50.24830272073747], [112.897739699354361, 49.543565375356984], [111.581230910286649, 49.377968248077671], [110.662010532678835, 49.130128078805846], [109.402449171996707, 49.292960516957685], [108.475167270951275, 49.282547715850704], [107.868175897251092, 49.793705145865871], [106.888804152455293, 50.274295966180276], [105.886591424586868, 50.40601919209216], [104.62158, 50.275320000000157], [103.676545444760336, 50.08996613219513], [102.25589, 50.510560000000105], [102.06521, 51.25991], [100.889480421962631, 51.516855780638409], [99.981732212323564, 51.63400625264395], [98.861490513100492, 52.047366034546698], [97.82573978067451, 51.010995184933236], [98.231761509191699, 50.422400621128716], [97.259760000000199, 49.72605], [95.814020000000156, 49.977460000000114], [94.815949334698757, 50.01343333597088], [94.147566359435601, 50.480536607457161], [93.10421, 50.49529], [92.234711541719676, 50.802170722041737], [90.713667433640765, 50.331811835321098], [88.805566847695573, 49.470520738312459], [87.751264276076824, 49.297197984405543], [87.359970330762692, 49.214980780629148], [86.829356723989648, 49.826674709668133], [85.541269972682485, 49.69285858824815], [85.115559523462082, 50.117302964877631], [84.416377394553038, 50.311399644565817], [83.935114780618903, 50.889245510453563], [83.383003778012451, 51.069182847693881], [81.945985548839943, 50.812195949906325], [80.568446893235446, 51.388336493528435], [80.035559523441705, 50.864750881547209], [77.80091556184432, 53.404414984747532], [76.525179477854749, 54.177003485727127], [76.891100294913443, 54.490524400441913], [74.384820000000119, 53.546850000000113], [73.425678745420512, 53.489810289109741], [73.50851606638436, 54.035616766976588], [72.224150018202195, 54.376655381886778], [71.180131056609468, 54.133285224008247], [70.86526655465515, 55.169733588270091], [69.068166945272893, 55.385250149143488], [68.169100376258896, 54.970391750704366], [65.66687, 54.601250000000149], [65.178533563095939, 54.354227810272064], [61.436600000000126, 54.00625], [60.978066440683236, 53.664993394579128], [61.69998619980062, 52.979996446334255], [60.73999311711453, 52.719986477257734], [60.927268507740237, 52.447548326214999], [59.967533807215567, 51.96042043721566], [61.588003371024136, 51.272658799843171], [61.337424350840998, 50.799070136104248], [59.932807244715555, 50.842194118851822], [59.642282342370564, 50.545442206415707], [58.363320000000122, 51.06364], [56.77798, 51.04355], [55.71694, 50.621710000000142], [54.532878452376181, 51.026239732459359], [52.328723585831042, 51.718652248738088], [50.766648390512174, 51.692762356159861], [48.702381626181044, 50.605128485712825], [48.577841424357601, 49.87475962991563], [47.549480421749379, 50.454698391311119], [46.751596307162764, 49.356005764353725], [47.043671502476585, 49.152038886097571], [46.466445753776291, 48.394152330104923], [47.315240000000152, 47.71585], [48.05725, 47.74377], [48.694733514201872, 47.075628160177885], [48.59325000000014, 46.56104], [49.101160000000121, 46.39933], [48.645410000000105, 45.80629], [47.67591, 45.641490000000111], [46.68201, 44.6092], [47.59094, 43.660160000000118], [47.49252, 42.98658], [48.58437000000017, 41.80888], [47.987283156126033, 41.405819200194387], [47.815665724484653, 41.151416124021338], [47.373315464066387, 41.219732367511135], [46.686070591016708, 41.827137152669899], [46.404950799348924, 41.860675157227426], [45.7764, 42.092440000000224], [45.470279168485909, 42.502780666670041], [44.537622918482057, 42.711992702803677], [43.93121, 42.554960000000101], [43.755990000000182, 42.74083], [42.394400000000154, 43.2203], [40.922190000000128, 43.382150000000131], [40.076964959479838, 43.553104153002486], [39.95500857927108, 43.434997666999287], [38.68, 44.28], [37.539120000000104, 44.65721], [36.675460000000122, 45.24469], [37.40317, 45.40451], [38.23295, 46.24087], [37.67372, 46.63657], [39.14767, 47.044750000000128], [39.121200000000123, 47.26336], [38.22353803889947, 47.102189846375971], [38.2551123390298, 47.546400458356956], [38.77057, 47.825620000000228], [39.738277622238982, 47.898937079452068], [39.895620000000136, 48.23241], [39.67465, 48.783820000000127], [40.080789015469477, 49.307429917999364], [40.069040000000108, 49.60105], [38.594988234213552, 49.926461900423718], [38.010631137857068, 49.915661526074715], [37.393459506995228, 50.383953355503664], [36.626167840325387, 50.225590928745127], [35.35611616388811, 50.577197374059139], [35.37791, 50.77394], [35.02218305841793, 51.207572333371495], [34.224815708154402, 51.255993150428921], [34.141978387190612, 51.56641347920619], [34.391730584457228, 51.768881740925892], [33.75269982273587, 52.335074571331646], [32.715760532367163, 52.238465481162159], [32.412058139787767, 52.288694973349763], [32.15944000000021, 52.061250000000101], [31.78597, 52.10168], [31.540018344862254, 52.742052313846429], [31.305200636527978, 53.073995876673301], [31.49764, 53.167430000000124], [32.304519484188368, 53.132726141972839], [32.693643019346119, 53.351420803432141], [32.405598585751157, 53.618045355842], [31.731272820774585, 53.794029446012011], [31.791424187962399, 53.974638576872181], [31.384472283663818, 54.157056382862365], [30.757533807098774, 54.811770941784388], [30.971835971813245, 55.08154775656412], [30.873909132620064, 55.55097646750351], [29.896294386522435, 55.789463202530484], [29.371571893030783, 55.670090643936263], [29.229513380660389, 55.918344224666399], [28.176709425577933, 56.169129950578778], [27.855282016722519, 56.759326483784363], [27.770015903440985, 57.244258124411189], [27.288184848751648, 57.474528306703903], [27.716685825315771, 57.791899115624439], [27.420150000000202, 58.724570000000128], [28.131699253051856, 59.300825100330982], [27.98112, 59.47537], [29.1177, 60.028050000000107], [28.07, 60.503520000000137], [30.211107212044645, 61.780027777749673], [31.139991082491029, 62.357692776124431], [31.516092156711263, 62.867687486412898], [30.035872430142796, 63.552813625738551], [30.444684686003736, 64.204453436939062], [29.544429559047014, 64.948671576590542], [30.21765, 65.80598], [29.054588657352376, 66.944286200622017], [29.977426385220689, 67.69829702419274], [28.445943637818765, 68.364612942163987], [28.591929559043358, 69.064776923286686], [29.39955, 69.15692000000017], [31.101080000000103, 69.55811], [32.132720000000255, 69.905950000000232], [33.77547, 69.301420000000107], [36.51396, 69.06342], [40.292340000000159, 67.9324], [41.059870000000124, 67.457130000000106], [41.125950000000174, 66.79158000000011], [40.01583, 66.266180000000119], [38.38295, 65.99953], [33.918710000000168, 66.75961], [33.18444, 66.63253], [34.81477, 65.900150000000124], [34.87857425307876, 65.436212877048192], [34.943910000000152, 64.414370000000147], [36.23129, 64.10945], [37.012730000000111, 63.84983], [37.141970000000143, 64.33471], [36.539579035089801, 64.76446], [37.176040000000135, 65.143220000000113], [39.59345, 64.520790000000162], [40.4356, 64.76446], [39.762600000000148, 65.49682], [42.09309, 66.47623], [43.01604000000011, 66.41858], [43.94975000000013, 66.06908], [44.53226, 66.756340000000122], [43.69839, 67.35245], [44.187950000000136, 67.95051], [43.45282, 68.57079], [46.250000000000135, 68.25], [46.821340000000156, 67.68997], [45.55517, 67.56652], [45.56202, 67.010050000000192], [46.349150000000137, 66.66767], [47.894160000000248, 66.884550000000146], [48.13876, 67.52238], [50.227660000000142, 67.998670000000132], [53.717430000000164, 68.85738], [54.47171, 68.80815], [53.485820000000118, 68.20131], [54.72628, 68.09702], [55.442680000000124, 68.43866], [57.317020000000149, 68.46628], [58.802000000000206, 68.88082], [59.941420000000178, 68.27844], [61.077840000000165, 68.94069], [60.03, 69.52], [60.55, 69.85], [63.504000000000147, 69.54739], [64.888115, 69.234835000000132], [68.512160000000108, 68.09233000000016], [69.18068, 68.61563000000011], [68.16444, 69.14436], [68.13522, 69.35649], [66.930080000000103, 69.454610000000102], [67.25976, 69.92873], [66.724920000000125, 70.708890000000125], [66.69466, 71.028970000000228], [68.540060000000111, 71.934500000000227], [69.19636, 72.843360000000146], [69.94, 73.04000000000012], [72.58754, 72.77629], [72.79603, 72.22006], [71.84811, 71.40898], [72.47011, 71.09019], [72.79188, 70.39114], [72.564700000000201, 69.02085], [73.66787, 68.4079], [73.2387, 67.7404], [71.280000000000101, 66.320000000000149], [72.423010000000147, 66.172670000000167], [72.82077, 66.53267], [73.920990000000131, 66.789460000000119], [74.186510000000183, 67.28429], [75.052, 67.760470000000154], [74.469260000000148, 68.32899], [74.93584, 68.98918], [73.84236, 69.07146], [73.601870000000204, 69.62763], [74.3998, 70.63175], [73.1011, 71.447170000000241], [74.890820000000204, 72.12119], [74.65926, 72.83227], [75.158010000000175, 72.854970000000108], [75.68351, 72.300560000000118], [75.288980000000109, 71.33556], [76.35911, 71.152870000000135], [75.903130000000161, 71.87401], [77.5766500000001, 72.26717], [79.652020000000107, 72.32011], [81.5, 71.75], [80.61071, 72.582850000000107], [80.51109, 73.6482], [82.25, 73.85], [84.65526, 73.805910000000154], [86.822300000000226, 73.93688], [86.00956, 74.459670000000145], [87.166820000000143, 75.11643], [88.31571, 75.14393], [90.26, 75.64], [92.90058, 75.77333], [93.234210000000132, 76.0472], [95.860000000000127, 76.14], [96.67821, 75.91548], [98.922540000000197, 76.44689], [100.759670000000199, 76.43028], [101.03532, 76.86189], [101.990840000000105, 77.287540000000192], [104.3516, 77.69792], [106.066640000000135, 77.37389], [104.705000000000211, 77.1274], [106.970130000000111, 76.97419]]], [[[105.07547, 78.30689], [99.43814, 77.921], [101.2649, 79.23399], [102.08635, 79.34641], [102.837815, 79.28129], [105.37243, 78.71334], [105.07547, 78.30689]]], [[[51.136186557831266, 80.54728017854093], [49.793684523320692, 80.415427761548202], [48.894411248577526, 80.33956675894369], [48.75493655782175, 80.175468248200829], [47.586119012244147, 80.010181179515328], [46.502825962109647, 80.247246812654339], [47.072455275262897, 80.559424140129451], [44.846958042181107, 80.589809882317169], [46.799138624871226, 80.771917629713627], [48.31847741068465, 80.784009914869927], [48.52280602396668, 80.514568996900138], [49.097189568890897, 80.753985907708412], [50.039767693894603, 80.918885403151791], [51.522932977103679, 80.699725653801906], [51.136186557831266, 80.54728017854093]]], [[[99.93976, 78.88094], [97.75794, 78.7562], [94.97259, 79.044745], [93.31288, 79.4265], [92.5454, 80.14379], [91.18107, 80.34146], [93.77766, 81.0246], [95.940895, 81.2504], [97.88385, 80.746975], [100.186655, 79.780135], [99.93976, 78.88094]]]] } }, - { "type": "Feature", "properties": { "admin": "Rwanda", "name": "Rwanda", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[30.419104852019235, -1.134659112150416], [30.816134881317705, -1.698914076345388], [30.758308953583104, -2.287250257988368], [30.469696079232978, -2.413857517103458], [29.938359002407935, -2.348486830254238], [29.632176141078585, -2.917857761246096], [29.02492638521678, -2.839257907730157], [29.117478875451546, -2.292211195488384], [29.254834832483336, -2.215109958508911], [29.29188683443661, -1.620055840667987], [29.579466180140876, -1.341313164885626], [29.821518588996003, -1.443322442229785], [30.419104852019235, -1.134659112150416]]] } }, - { "type": "Feature", "properties": { "admin": "Western Sahara", "name": "W. Sahara", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-8.794883999049075, 27.120696316022503], [-8.81782833498667, 27.656425889592349], [-8.665589565454805, 27.656425889592349], [-8.66512447756419, 27.58947907155822], [-8.684399786809051, 27.395744126895998], [-8.687293667017398, 25.881056219988899], [-11.969418911171159, 25.933352769468261], [-11.93722449385332, 23.374594224536164], [-12.874221564169574, 23.284832261645171], [-13.118754441774708, 22.771220201096249], [-12.929101935263528, 21.327070624267559], [-16.845193650773989, 21.333323472574875], [-17.063423224342568, 20.99975210213082], [-17.020428432675736, 21.422310288981475], [-17.002961798561085, 21.420734157796574], [-14.750954555713532, 21.50060008390366], [-14.630832688851068, 21.860939846274899], [-14.221167771857251, 22.310163072188153], [-13.891110398809044, 23.691009019459297], [-12.500962693725368, 24.770116278578193], [-12.030758836301613, 26.030866197203036], [-11.718219773800353, 26.104091701760616], [-11.392554897496977, 26.883423977154358], [-10.551262579785272, 26.990807603456879], [-10.18942420087758, 26.860944729107398], [-9.735343390328877, 26.860944729107398], [-9.413037482124464, 27.088476060488514], [-8.794883999049075, 27.120696316022503]]] } }, - { "type": "Feature", "properties": { "admin": "Saudi Arabia", "name": "Saudi Arabia", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[42.779332309750963, 16.34789134364868], [42.64957278826607, 16.77463532151496], [42.347989129410706, 17.075805568911996], [42.270887892431219, 17.474721787989122], [41.754381951673949, 17.833046169500971], [41.221391229015573, 18.671599636301206], [40.939341261566533, 19.486485297111752], [40.247652215339819, 20.174634507726488], [39.801684604660934, 20.338862209550054], [39.139399448408277, 21.29190481209293], [39.023695916506782, 21.986875311770191], [39.066328973147577, 22.579655666590263], [38.492772251140075, 23.688451036060851], [38.023860304523616, 24.078685614512928], [37.483634881344379, 24.285494696545008], [37.154817742671177, 24.858482977797301], [37.209491408035994, 25.084541530858104], [36.931627231602583, 25.602959499610172], [36.639603712721218, 25.826227525327219], [36.249136590323808, 26.570135606384873], [35.640181512196385, 27.376520494083415], [35.130186801907875, 28.063351955674712], [34.632336053207972, 28.058546047471559], [34.787778761541936, 28.607427273059692], [34.832220493312938, 28.957483425404838], [34.956037225084252, 29.356554673778835], [36.068940870922049, 29.19749461518445], [36.501214227043583, 29.505253607698702], [36.740527784987243, 29.865283311476183], [37.503581984209028, 30.003776150018396], [37.668119744626374, 30.338665269485894], [37.998848911294367, 30.508499864213128], [37.002165561681004, 31.508412990844736], [39.004885695152545, 32.010216986614971], [39.195468377444961, 32.16100881604266], [40.399994337736238, 31.889991766887931], [41.889980910007829, 31.190008653278362], [44.709498732284736, 29.178891099559376], [46.568713413281742, 29.099025173452283], [47.459821811722819, 29.002519436147217], [47.708850538937376, 28.526062730416136], [48.416094191283939, 28.552004299426663], [48.807594842327163, 27.689627997339876], [49.299554477745815, 27.461218166609804], [49.470913527225647, 27.109999294538078], [50.152422316290874, 26.689663194275994], [50.212935418504671, 26.277026882425371], [50.113303257045928, 25.943972276304248], [50.23985883972874, 25.608049628190923], [50.527386509000728, 25.327808335872099], [50.660556675016885, 24.999895534764018], [50.810108270069563, 24.754742539971371], [51.112415398977006, 24.556330878186721], [51.389607781790623, 24.627385972588051], [51.579518670463258, 24.245497137951102], [51.617707553926969, 24.014219265228824], [52.000733270074321, 23.001154486578937], [55.006803012924898, 22.496947536707129], [55.208341098863187, 22.708329982997039], [55.666659376859812, 22.000001125572336], [54.999981723862355, 19.999994004796104], [52.000009800022227, 19.000003363516054], [49.116671583864857, 18.616667588774941], [48.183343540241324, 18.166669216377311], [47.466694777217626, 17.116681626854877], [47.000004917189749, 16.949999294497438], [46.749994337761642, 17.283338120996174], [46.366658563020529, 17.233315334537632], [45.399999220568752, 17.333335069238554], [45.216651238797184, 17.43332896572333], [44.062613152855072, 17.410358791569589], [43.791518589051904, 17.319976711491105], [43.380794305196098, 17.579986680567668], [43.115797560403351, 17.088440456607369], [43.218375278502734, 16.666889960186406], [42.779332309750963, 16.34789134364868]]] } }, - { "type": "Feature", "properties": { "admin": "Sudan", "name": "Sudan", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[33.963392794971178, 9.464285229420623], [33.824963480907506, 9.48406084571536], [33.842130853028145, 9.981914637215992], [33.721959248183097, 10.325262079630191], [33.206938084561777, 10.720111638406591], [33.086766479716729, 11.441141267476493], [33.206938084561777, 12.179338268667093], [32.743419037302537, 12.24800775714999], [32.674749548819641, 12.024831919580716], [32.073891524594778, 11.973329803218517], [32.314234734284746, 11.681484477166519], [32.400071594888338, 11.080626452941486], [31.850715687025509, 10.531270545078822], [31.352861895524875, 9.810240916008693], [30.837840731903377, 9.707236683284519], [29.996639497988546, 10.290927335388684], [29.618957311332842, 10.084918869940223], [29.515953078608607, 9.793073543888053], [29.000931914987166, 9.604232450560287], [28.966597170745779, 9.398223985111654], [27.970889587744345, 9.398223985111654], [27.833550610778783, 9.604232450560287], [27.112520981708876, 9.638567194801622], [26.752006167173811, 9.466893473594492], [26.477328213242508, 9.552730334198086], [25.96230704962101, 10.136420986302422], [25.790633328413943, 10.411098940233726], [25.069603699343979, 10.27375996326799], [24.79492574541268, 9.810240916008693], [24.537415163602017, 8.917537565731719], [24.194067721187643, 8.728696472403895], [23.886979580860665, 8.619729712933063], [23.805813429466745, 8.666318874542522], [23.459012892355979, 8.954285793489019], [23.394779087017291, 9.26506785729225], [23.557249790142915, 9.681218166538766], [23.554304233502187, 10.089255275915319], [22.977543572692749, 10.714462591998538], [22.864165480244246, 11.142395127807616], [22.87622, 11.384610000000119], [22.50869, 11.67936], [22.49762, 12.26024], [22.28801, 12.64605], [21.93681, 12.588180000000133], [22.03759, 12.95546], [22.29658, 13.37232], [22.18329, 13.78648], [22.51202, 14.09318], [22.30351, 14.32682], [22.567950000000106, 14.944290000000134], [23.02459, 15.68072], [23.886890000000101, 15.61084], [23.837660000000135, 19.580470000000101], [23.850000000000129, 20.0], [25.00000000000011, 20.00304], [25.00000000000011, 22.0], [29.02, 22.0], [32.9, 22.0], [36.86623, 22.0], [37.18872, 21.01885], [36.96941, 20.837440000000125], [37.114700000000134, 19.80796], [37.48179, 18.61409], [37.86276, 18.36786], [38.410089959473218, 17.998307399970312], [37.904000000000103, 17.42754], [37.16747, 17.263140000000128], [36.852530000000108, 16.95655], [36.75389, 16.29186], [36.32322, 14.82249], [36.42951, 14.42211], [36.27022, 13.563330000000118], [35.86363, 12.57828], [35.26049, 12.08286], [34.831630000000125, 11.318960000000116], [34.73115000000012, 10.910170000000106], [34.25745, 10.63009], [33.96162, 9.58358], [33.963392794971178, 9.464285229420623]]] } }, - { "type": "Feature", "properties": { "admin": "South Sudan", "name": "S. Sudan", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[33.963392794971178, 9.464285229420623], [33.97498, 8.68456], [33.82550000000014, 8.37916], [33.294800000000116, 8.35458], [32.95418, 7.7849700000001], [33.56829, 7.71334], [34.0751, 7.22595], [34.25032, 6.82607], [34.70702, 6.59422000000012], [35.298007118233095, 5.506], [34.620196267853935, 4.847122742082034], [34.005, 4.249884947362147], [33.39, 3.79], [32.68642, 3.79232], [31.881450000000136, 3.55827], [31.24556, 3.7819], [30.83385, 3.50917], [29.95349, 4.1737], [29.715995314256013, 4.600804755060152], [29.159078403446635, 4.389267279473244], [28.696677687298795, 4.455077215996993], [28.428993768026992, 4.287154649264607], [27.979977247842946, 4.408413397637388], [27.374226108517625, 5.233944403500173], [27.213409051225248, 5.550953477394613], [26.465909458123289, 5.946717434101855], [26.213418409945113, 6.546603298362127], [25.796647983511257, 6.979315904158169], [25.124130893664805, 7.500085150579422], [25.114932488716867, 7.825104071479244], [24.567369012152191, 8.229187933785452], [23.886979580860665, 8.619729712933063], [24.194067721187643, 8.728696472403895], [24.537415163602017, 8.917537565731719], [24.79492574541268, 9.810240916008693], [25.069603699343979, 10.27375996326799], [25.790633328413943, 10.411098940233726], [25.96230704962101, 10.136420986302422], [26.477328213242508, 9.552730334198086], [26.752006167173811, 9.466893473594492], [27.112520981708876, 9.638567194801622], [27.833550610778783, 9.604232450560287], [27.970889587744345, 9.398223985111654], [28.966597170745779, 9.398223985111654], [29.000931914987166, 9.604232450560287], [29.515953078608607, 9.793073543888053], [29.618957311332842, 10.084918869940223], [29.996639497988546, 10.290927335388684], [30.837840731903377, 9.707236683284519], [31.352861895524875, 9.810240916008693], [31.850715687025509, 10.531270545078822], [32.400071594888338, 11.080626452941486], [32.314234734284746, 11.681484477166519], [32.073891524594778, 11.973329803218517], [32.674749548819641, 12.024831919580716], [32.743419037302537, 12.24800775714999], [33.206938084561777, 12.179338268667093], [33.086766479716729, 11.441141267476493], [33.206938084561777, 10.720111638406591], [33.721959248183097, 10.325262079630191], [33.842130853028145, 9.981914637215992], [33.824963480907506, 9.48406084571536], [33.963392794971178, 9.464285229420623]]] } }, - { "type": "Feature", "properties": { "admin": "Senegal", "name": "Senegal", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-16.713728807023468, 13.594958604379853], [-17.126106736712611, 14.373515733289221], [-17.625042690490655, 14.72954051356407], [-17.185172898822227, 14.91947724045286], [-16.700706346085919, 15.621527411354107], [-16.463098110407881, 16.135036119038457], [-16.120690070041928, 16.45566254319338], [-15.623666144258689, 16.369337063049809], [-15.135737270558813, 16.587282416240779], [-14.577347581428977, 16.598263658102805], [-14.099521450242175, 16.304302273010489], [-13.43573767745306, 16.039383042866188], [-12.830658331747513, 15.303691514542942], [-12.170750291380299, 14.616834214735503], [-12.124887457721256, 13.994727484589784], [-11.927716030311613, 13.422075100147392], [-11.553397793005427, 13.141213690641063], [-11.467899135778522, 12.754518947800973], [-11.513942836950587, 12.442987575729415], [-11.658300950557928, 12.386582749882834], [-12.20356482588563, 12.465647691289401], [-12.278599005573438, 12.354440008997285], [-12.499050665730561, 12.332089952031053], [-13.217818162478235, 12.575873521367964], [-13.700476040084322, 12.586182969610192], [-15.548476935274005, 12.628170070847343], [-15.816574266004251, 12.515567124883345], [-16.147716844130581, 12.547761542201185], [-16.67745195155457, 12.38485158940105], [-16.84152462408127, 13.151393947802557], [-15.931295945692208, 13.130284125211331], [-15.691000535534991, 13.270353094938455], [-15.511812506562931, 13.278569647672864], [-15.141163295949463, 13.509511623585235], [-14.712197231494626, 13.298206691943774], [-14.277701788784553, 13.28058502853224], [-13.844963344772404, 13.505041612191999], [-14.046992356817478, 13.794067898000446], [-14.376713833055785, 13.625680243377371], [-14.687030808968483, 13.63035696049978], [-15.081735398813816, 13.876491807505982], [-15.398770310924457, 13.860368760630916], [-15.624596320039936, 13.623587347869556], [-16.713728807023468, 13.594958604379853]]] } }, - { "type": "Feature", "properties": { "admin": "Solomon Islands", "name": "Solomon Is.", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[162.119024693040842, -10.482719008021133], [162.398645868172196, -10.826367282762119], [161.700032180018354, -10.820011081590222], [161.319796991214702, -10.204751478723123], [161.917383254237933, -10.446700534713653], [162.119024693040842, -10.482719008021133]]], [[[160.852228631837903, -9.872937106977002], [160.462588332357228, -9.89520964929484], [159.849447463214176, -9.794027194867367], [159.640002883135139, -9.639979750205269], [159.70294477766663, -9.242949720906777], [160.362956170898428, -9.400304457235533], [160.688517694337179, -9.610162448772808], [160.852228631837903, -9.872937106977002]]], [[[161.679981724289121, -9.599982191611373], [161.52939660059053, -9.784312025596433], [160.788253208660507, -8.917543226764918], [160.579997186524338, -8.320008640173965], [160.92002811100491, -8.320008640173965], [161.280006138349961, -9.120011488484449], [161.679981724289121, -9.599982191611373]]], [[[159.875027297198585, -8.337320244991714], [159.917401971677975, -8.538289890174864], [159.133677199539335, -8.114181410355398], [158.586113722974687, -7.754823500197713], [158.211149530264834, -7.421872246941147], [158.359977655265425, -7.320017998893915], [158.820001255527671, -7.56000335045739], [159.640002883135139, -8.020026950719567], [159.875027297198585, -8.337320244991714]]], [[[157.53842573468927, -7.347819919466928], [157.339419793933217, -7.404767347852554], [156.902030471014768, -7.176874281445391], [156.491357863591304, -6.765943291860394], [156.542827590153934, -6.599338474151478], [157.140000441718882, -7.021638278840653], [157.53842573468927, -7.347819919466928]]]] } }, - { "type": "Feature", "properties": { "admin": "Sierra Leone", "name": "Sierra Leone", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-11.438779466182053, 6.785916856305746], [-11.708194545935736, 6.860098374860724], [-12.428098924193815, 7.262942002792029], [-12.949049038128193, 7.798645738145736], [-13.124025437868479, 8.163946438016977], [-13.246550258832512, 8.903048610871506], [-12.711957566773076, 9.342711696810765], [-12.596719122762206, 9.620188300001969], [-12.425928514037562, 9.835834051955953], [-12.150338100625003, 9.858571682164378], [-11.917277390988655, 10.046983954300556], [-11.117481248407328, 10.045872911006283], [-10.839151984083299, 9.688246161330367], [-10.622395188835037, 9.267910061068276], [-10.65477047366589, 8.977178452994194], [-10.494315151399629, 8.715540676300433], [-10.505477260774667, 8.348896389189603], [-10.230093553091276, 8.406205552601291], [-10.695594855176477, 7.939464016141085], [-11.14670427086838, 7.396706447779534], [-11.199801805048278, 7.105845648624735], [-11.438779466182053, 6.785916856305746]]] } }, - { "type": "Feature", "properties": { "admin": "El Salvador", "name": "El Salvador", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-87.793111131526558, 13.384480495655051], [-87.904112108089507, 13.149016831917134], [-88.483301561216791, 13.163951320849488], [-88.843227912129692, 13.259733588102474], [-89.256742723329282, 13.4585328231293], [-89.812393561547637, 13.520622056527994], [-90.095554572290951, 13.73533763270073], [-90.064677903996568, 13.881969509328924], [-89.7219339668207, 14.134228013561694], [-89.5342193265205, 14.244815578666302], [-89.587342698916544, 14.362586167859485], [-89.353325975282772, 14.424132798719112], [-89.058511929057644, 14.340029405164085], [-88.843072882832814, 14.140506700085169], [-88.541230841815974, 13.980154730683475], [-88.50399797234968, 13.845485948130854], [-88.065342576840123, 13.964625962779774], [-87.859515347021585, 13.893312486216979], [-87.723502977229387, 13.785050360565503], [-87.793111131526558, 13.384480495655051]]] } }, - { "type": "Feature", "properties": { "admin": "Somaliland", "name": "Somaliland", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[48.938129510296491, 9.451748968946672], [48.486735874226994, 8.837626247589979], [47.78942, 8.003], [46.948328484897942, 7.996876532417386], [43.67875, 9.183580000000116], [43.296975132018744, 9.540477403191742], [42.92812, 10.021940000000139], [42.55876, 10.572580000000126], [42.776851841000948, 10.926878566934416], [43.145304803242126, 11.462039699748853], [43.470659620951658, 11.27770986576388], [43.666668328634834, 10.864169216348158], [44.117803582542805, 10.445538438351603], [44.614259067570849, 10.442205308468941], [45.556940545439133, 10.698029486529775], [46.645401238802997, 10.816549383991171], [47.525657586462778, 11.127228094929986], [48.021596307167769, 11.193063869669741], [48.378783807169263, 11.375481675660122], [48.948206414593457, 11.410621649618516], [48.942005242718423, 11.394266058798163], [48.938491245322595, 10.982327378783451], [48.938232863161076, 9.973500067581481], [48.938129510296491, 9.451748968946672]]] } }, - { "type": "Feature", "properties": { "admin": "Somalia", "name": "Somalia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[49.72862, 11.5789], [50.25878, 11.67957], [50.73202, 12.0219], [51.1112, 12.02464], [51.13387, 11.74815], [51.04153, 11.16651], [51.04531, 10.6409], [50.83418, 10.27972], [50.55239, 9.19874], [50.07092, 8.08173], [49.4527, 6.80466], [48.59455, 5.33911], [47.74079, 4.2194], [46.56476, 2.85529], [45.56399, 2.04576], [44.06815, 1.05283], [43.13597, 0.2922], [42.04157, -0.91916], [41.81095, -1.44647], [41.58513, -1.68325], [40.993, -0.85829], [40.98105, 2.78452], [41.855083092643966, 3.918911920483726], [42.12861, 4.23413], [42.76967, 4.25259], [43.66087, 4.95755], [44.9636, 5.00162], [47.78942, 8.003], [48.486735874226937, 8.837626247589993], [48.938129510296442, 9.451748968946616], [48.938232863161026, 9.973500067581508], [48.938491245322481, 10.982327378783465], [48.942005242718345, 11.394266058798136], [48.948204758509732, 11.410617281697961], [49.26776, 11.43033], [49.72862, 11.5789]]] } }, - { "type": "Feature", "properties": { "admin": "Republic of Serbia", "name": "Serbia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[20.874312778413408, 45.416375433934306], [21.483526238702204, 45.181170152357865], [21.562022739353718, 44.768947251965635], [22.145087924902892, 44.478422349620573], [22.459022251075961, 44.702517198254426], [22.705725538837434, 44.578002834647002], [22.47400841644065, 44.409227606781762], [22.657149692483067, 44.234923000661347], [22.410446404721593, 44.008063462900047], [22.500156691180219, 43.642814439460999], [22.986018507588479, 43.211161200527094], [22.604801466571352, 42.898518785161109], [22.43659467946139, 42.580321153323943], [22.545011834409642, 42.461362006188025], [22.380525750424674, 42.320259507815074], [21.917080000000105, 42.30364], [21.576635989402117, 42.245224397061847], [21.54332, 42.32025], [21.66292, 42.43922], [21.77505, 42.6827], [21.63302, 42.67717], [21.43866, 42.86255], [21.27421, 42.90959], [21.143395, 43.068685000000123], [20.95651, 43.13094], [20.81448, 43.27205], [20.63508, 43.21671], [20.49679, 42.88469], [20.25758, 42.81275], [20.3398, 42.89852], [19.95857, 43.10604], [19.63, 43.213779970270522], [19.48389, 43.35229], [19.21852, 43.52384], [19.454, 43.568100000000115], [19.59976, 44.03847], [19.11761, 44.42307], [19.36803, 44.863], [19.00548, 44.86023], [19.390475701584588, 45.236515611342369], [19.072768995854172, 45.521511135432078], [18.82982, 45.90888], [19.596044549241636, 46.171729844744547], [20.22019249846289, 46.127468980486569], [20.76217492033998, 45.734573065771478], [20.874312778413408, 45.416375433934306]]] } }, - { "type": "Feature", "properties": { "admin": "Suriname", "name": "Suriname", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-57.147436489476874, 5.973149929219161], [-55.949318406789786, 5.772877915872], [-55.841779751190408, 5.953125311706059], [-55.033250291551759, 6.025291449401662], [-53.958044603070888, 5.756548163267764], [-54.478632981979224, 4.896755682795585], [-54.3995422023565, 4.212611395683466], [-54.006930508018996, 3.620037746592558], [-54.181726040246261, 3.189779771330421], [-54.269705166223183, 2.732391669115046], [-54.524754197799709, 2.311848863123785], [-55.097587449755125, 2.523748073736612], [-55.569755011605984, 2.42150625244713], [-55.973322109589361, 2.510363877773016], [-56.073341844290283, 2.220794989425499], [-55.905600145070871, 2.021995754398659], [-55.995698004771739, 1.817667141116601], [-56.53938574891454, 1.89952260986692], [-57.150097825739898, 2.768926906745406], [-57.281433478409703, 3.333491929534119], [-57.601568976457848, 3.334654649260684], [-58.044694383360664, 4.060863552258382], [-57.860209520078691, 4.576801052260449], [-57.914288906472123, 4.812626451024413], [-57.307245856339492, 5.073566595882225], [-57.147436489476874, 5.973149929219161]]] } }, - { "type": "Feature", "properties": { "admin": "Slovakia", "name": "Slovakia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[18.85314415861361, 49.496229763377634], [18.909574822676316, 49.435845852244562], [19.320712517990469, 49.571574001659179], [19.825022820726865, 49.217125352569219], [20.415839471119849, 49.431453355499755], [20.887955356538406, 49.328772284535823], [21.607808058364206, 49.470107326854077], [22.558137648211751, 49.08573802346713], [22.280841912533553, 48.825392157580659], [22.085608351334848, 48.422264309271782], [21.872236362401729, 48.319970811550007], [20.801293979584919, 48.62385407164237], [20.473562045989862, 48.562850043321809], [20.239054396249344, 48.327567247096916], [19.769470656013109, 48.2026911484636], [19.66136355965849, 48.266614895208647], [19.174364861739885, 48.111378892603859], [18.777024773847668, 48.081768296900627], [18.696512892336923, 47.88095368101439], [17.857132602620023, 47.758428860050365], [17.488472934649813, 47.867466132186209], [16.979666782304033, 48.123497015976298], [16.879982944412998, 48.470013332709463], [16.960288120194573, 48.596982326850593], [17.101984897538895, 48.8169688991171], [17.545006951577101, 48.800019029325362], [17.886484816161808, 48.903475246773695], [17.913511590250462, 48.996492824899072], [18.104972771891848, 49.043983466175298], [18.170498488037961, 49.271514797556421], [18.399993523846174, 49.315000515330034], [18.554971144289478, 49.495015367218777], [18.85314415861361, 49.496229763377634]]] } }, - { "type": "Feature", "properties": { "admin": "Slovenia", "name": "Slovenia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[13.806475457421524, 46.509306138691201], [14.632471551174827, 46.431817328469535], [15.137091912504982, 46.658702704447016], [16.011663852612653, 46.683610744811688], [16.202298211337361, 46.852385972676949], [16.370504998447412, 46.841327216166498], [16.564808383864854, 46.503750922219822], [15.768732944408548, 46.238108222023442], [15.671529575267552, 45.834153550797865], [15.323953891672403, 45.731782538427673], [15.327674594797424, 45.452316392593218], [14.935243767972931, 45.471695054702671], [14.595109490627804, 45.6349409043127], [14.411968214585411, 45.466165676447446], [13.715059848697221, 45.500323798192369], [13.937630242578305, 45.591015936864608], [13.698109978905475, 46.016778062517339], [13.806475457421524, 46.509306138691201]]] } }, - { "type": "Feature", "properties": { "admin": "Sweden", "name": "Sweden", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[22.183173455501922, 65.723740546320158], [21.213516879977213, 65.02600535751526], [21.369631381930954, 64.413587958424273], [19.778875766690216, 63.609554348395022], [17.847779168375208, 62.749400132896803], [17.11955488451812, 61.341165676510954], [17.831346062906388, 60.636583360427394], [18.787721795332086, 60.081914374422581], [17.869224887776337, 58.95376618105869], [16.829185011470084, 58.719826972073385], [16.44770958829147, 57.041118069071871], [15.87978559740378, 56.104301866268649], [14.666681349352071, 56.20088511822216], [14.100721062891461, 55.407781073622637], [12.942910597392054, 55.361737372450563], [12.625100538797025, 56.307080186581956], [11.787942335668671, 57.441817125063061], [11.027368605196866, 58.856149400459344], [11.468271925511145, 59.432393296946024], [12.300365838274896, 60.117932847730025], [12.631146681375181, 61.293571682370121], [11.992064243221559, 61.800362453856543], [11.930569288794228, 63.128317572676963], [12.57993533697393, 64.066218980558318], [13.571916131248711, 64.049114081469696], [13.9199052263022, 64.445420640716065], [13.555689731509087, 64.7870276963815], [15.108411492582999, 66.19386688909546], [16.108712192456775, 67.302455552836875], [16.768878614985478, 68.013936672631388], [17.729181756265344, 68.010551866316263], [17.993868442464329, 68.567391262477344], [19.878559604581248, 68.407194322372561], [20.025268995857882, 69.065138658312691], [20.645592889089521, 69.106247260200846], [21.978534783626113, 68.616845608180682], [23.539473097434435, 67.936008612735236], [23.565879754335576, 66.396050930437411], [23.903378533633795, 66.006927395279604], [22.183173455501922, 65.723740546320158]]] } }, - { "type": "Feature", "properties": { "admin": "Swaziland", "name": "Swaziland", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[32.071665480281062, -26.733820082304902], [31.868060337051073, -27.17792734142127], [31.282773064913325, -27.285879408478991], [30.685961948374477, -26.743845310169526], [30.676608514129633, -26.398078301704604], [30.949666782359905, -26.022649021104144], [31.044079624157146, -25.731452325139436], [31.333157586397899, -25.660190525008943], [31.837777947728057, -25.843331801051342], [31.985779249811962, -26.29177988048022], [32.071665480281062, -26.733820082304902]]] } }, - { "type": "Feature", "properties": { "admin": "Syria", "name": "Syria", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[38.792340529136077, 33.378686428352218], [36.834062127435537, 32.312937526980768], [35.719918247222743, 32.709192409794859], [35.700797967274745, 32.716013698857374], [35.836396925608618, 32.868123277308506], [35.821100701650231, 33.277426459276292], [36.066460402172048, 33.824912421192543], [36.611750115715886, 34.201788641897174], [36.448194207512095, 34.59393524834406], [35.998402540843628, 34.644914048799997], [35.905023227692219, 35.410009467097318], [36.149762811026527, 35.821534735653664], [36.417550083163029, 36.040616970355053], [36.685389031731795, 36.259699205056457], [36.739494256341395, 36.817520453431079], [37.066761102045824, 36.623036200500614], [38.167727492024191, 36.901210435527766], [38.699891391765895, 36.712927354472335], [39.522580193852541, 36.716053778625984], [40.673259311695681, 37.091276353497285], [41.212089471203043, 37.074352321921687], [42.349591098811764, 37.22987254490409], [41.837064243340954, 36.605853786763568], [41.289707472505448, 36.358814602192261], [41.383965285005807, 35.628316555314349], [41.00615888851992, 34.419372260062111], [38.792340529136077, 33.378686428352218]]] } }, - { "type": "Feature", "properties": { "admin": "Chad", "name": "Chad", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[14.495787387762899, 12.859396267137353], [14.595781284247604, 13.330426947477859], [13.954476759505607, 13.353448798063765], [13.956698846094124, 13.996691189016925], [13.540393507550785, 14.36713369390122], [13.97217, 15.68437], [15.247731154041842, 16.627305813050778], [15.300441114979716, 17.927949937405], [15.68574059414777, 19.957180080642384], [15.90324669766431, 20.387618923417499], [15.487148064850143, 20.730414537025634], [15.47106, 21.04845], [15.096887648181847, 21.308518785074902], [14.8513, 22.862950000000119], [15.86085, 23.40972], [19.84926, 21.49509], [23.837660000000135, 19.580470000000101], [23.886890000000101, 15.61084], [23.02459, 15.68072], [22.567950000000106, 14.944290000000134], [22.30351, 14.32682], [22.51202, 14.09318], [22.18329, 13.78648], [22.29658, 13.37232], [22.03759, 12.95546], [21.93681, 12.588180000000133], [22.28801, 12.64605], [22.49762, 12.26024], [22.50869, 11.67936], [22.87622, 11.384610000000119], [22.864165480244246, 11.142395127807616], [22.231129184668756, 10.971888739460608], [21.723821648859538, 10.567055568885959], [21.000868361096305, 9.475985215691479], [20.059685499764267, 9.012706000194838], [19.094008009526071, 9.074846910025768], [18.81200971850927, 8.982914536978623], [18.911021762780589, 8.630894680206435], [18.389554884523303, 8.281303615751879], [17.964929640380884, 7.890914008002992], [16.705988396886365, 7.508327541529978], [16.4561845231874, 7.734773667832938], [16.290561557691884, 7.754307359239417], [16.106231723706738, 7.497087917506461], [15.279460483469164, 7.42192454673801], [15.436091749745737, 7.692812404811887], [15.120865512765302, 8.382150173369437], [14.979995558337688, 8.796104234243442], [14.544466586981851, 8.965861314322238], [13.954218377344088, 9.549494940626685], [14.17146609869911, 10.021378282100043], [14.627200555081057, 9.920919297724591], [14.909353875394796, 9.992129421422758], [15.46787275560524, 9.982336737503543], [14.923564894275042, 10.891325181517514], [14.960151808337679, 11.555574042197234], [14.89336, 12.21905], [14.495787387762899, 12.859396267137353]]] } }, - { "type": "Feature", "properties": { "admin": "Togo", "name": "Togo", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[1.865240512712318, 6.14215770102973], [1.060121697604927, 5.928837388528875], [0.836931186536333, 6.279978745952147], [0.570384148774849, 6.914358628767188], [0.490957472342245, 7.411744289576474], [0.712029249686878, 8.312464504423827], [0.461191847342121, 8.677222601756013], [0.365900506195885, 9.46500397382948], [0.367579990245389, 10.191212876827176], [-0.049784715159944, 10.706917832883928], [0.023802524423701, 11.018681748900802], [0.899563022474069, 10.997339382364258], [0.772335646171484, 10.470808213742357], [1.077795037448737, 10.175606594275022], [1.425060662450136, 9.825395412632998], [1.46304284018467, 9.334624335157086], [1.664477573258381, 9.128590399609378], [1.618950636409238, 6.832038072126236], [1.865240512712318, 6.14215770102973]]] } }, - { "type": "Feature", "properties": { "admin": "Thailand", "name": "Thailand", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[102.58493248902667, 12.186594956913279], [101.687157830819928, 12.645740057826568], [100.831809523524839, 12.627084865769204], [100.978467238369191, 13.412721665902563], [100.097797479251099, 13.406856390837429], [100.018732537844528, 12.307001044153353], [99.478920526123602, 10.846366685423545], [99.153772414143134, 9.963061428258554], [99.222398716226749, 9.239255479362425], [99.873831821698118, 9.207862046745118], [100.279646844486194, 8.29515289960605], [100.45927412313273, 7.429572658717175], [101.017327915452697, 6.856868597842476], [101.623079054778032, 6.740622463401918], [102.141186964936367, 6.221636053894626], [101.81428185425797, 5.810808417174242], [101.154218784593837, 5.691384182147713], [101.075515578213327, 6.20486705161592], [100.259596388756933, 6.642824815289542], [100.085756870527092, 6.46448944745029], [99.690690545655727, 6.848212795433595], [99.519641554769606, 7.343453884302759], [98.988252801512289, 7.907993068875325], [98.503786248775967, 8.382305202666286], [98.339661899816988, 7.794511623562384], [98.150009393305808, 8.350007432483876], [98.259150018306229, 8.973922837759799], [98.553550653073017, 9.932959906448543], [99.038120558673953, 10.960545762572435], [99.587286004639694, 11.892762762901695], [99.196353794351637, 12.804748439988666], [99.212011753336071, 13.269293728076462], [99.097755161538728, 13.827502549693275], [98.430819126379859, 14.622027696180831], [98.192074009191373, 15.123702500870349], [98.537375929765687, 15.308497422746081], [98.90334842325673, 16.177824204976115], [98.493761020911322, 16.837835598207928], [97.859122755934848, 17.567946071843657], [97.375896437573516, 18.445437730375811], [97.797782830804394, 18.627080389881751], [98.253723992915582, 19.708203029860041], [98.959675734454848, 19.752980658440944], [99.543309360759281, 20.186597601802056], [100.115987583417819, 20.41784963630818], [100.548881056726856, 20.109237982661124], [100.606293573003128, 19.508344427971217], [101.282014601651667, 19.462584947176762], [101.035931431077742, 18.408928330961611], [101.059547560635139, 17.512497259994486], [102.113591750092453, 18.109101670804161], [102.413004998791592, 17.932781683824281], [102.998705682387694, 17.961694647691598], [103.200192091893726, 18.309632066312769], [103.956476678485288, 18.240954087796872], [104.716947056092465, 17.428858954330078], [104.779320509868768, 16.441864935771445], [105.589038527450128, 15.570316066952856], [105.544338413517664, 14.723933620660414], [105.218776890078871, 14.27321177821069], [104.281418084736586, 14.416743068901363], [102.988422072361601, 14.225721136934464], [102.348099399833004, 13.39424734135822], [102.58493248902667, 12.186594956913279]]] } }, - { "type": "Feature", "properties": { "admin": "Tajikistan", "name": "Tajikistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[71.014198032520156, 40.244365546218226], [70.648018833299957, 39.935753892571157], [69.559609816368507, 40.103211371412968], [69.464886915977516, 39.526683254548693], [70.549161818325601, 39.604197902986492], [71.784693637991992, 39.279463202464363], [73.67537926625478, 39.431236884105594], [73.928852166646408, 38.505815334622724], [74.257514276022718, 38.606506862943441], [74.864815708316812, 38.378846340481587], [74.829985792952087, 37.990007025701388], [74.980002475895404, 37.419990139305888], [73.948695916646486, 37.421566270490786], [73.260055779924983, 37.495256862938994], [72.636889682917271, 37.047558091778349], [72.193040805962383, 36.94828766534566], [71.84463829945058, 36.738171291646914], [71.448693475230229, 37.065644843080513], [71.541917759084768, 37.905774441065631], [71.239403924448155, 37.953265082341879], [71.348131137990251, 38.258905341132156], [70.806820509732873, 38.486281643216408], [70.376304152309274, 38.138395901027515], [70.270574171840124, 37.73516469985401], [70.116578403610319, 37.588222764632086], [69.518785434857946, 37.608996690413413], [69.196272820924364, 37.15114350030742], [68.859445835245921, 37.344335842430588], [68.135562371701369, 37.023115139304302], [67.829999627559502, 37.144994004864678], [68.392032505165943, 38.157025254868728], [68.176025018185911, 38.901553453113898], [67.442219679641298, 39.140143541005479], [67.701428664017342, 39.580478420564518], [68.536416456989414, 39.533452867178923], [69.011632928345477, 40.086158148756653], [69.329494663372813, 40.727824408524839], [70.666622348925031, 40.960213324541407], [70.458159621059608, 40.49649485937028], [70.601406691372674, 40.218527330072284], [71.014198032520156, 40.244365546218226]]] } }, - { "type": "Feature", "properties": { "admin": "Turkmenistan", "name": "Turkmenistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[61.21081709172573, 35.650072333309218], [61.123070509694131, 36.491597194966239], [60.377637973883864, 36.52738312432836], [59.234761997316795, 37.412987982730336], [58.436154412678192, 37.522309475243794], [57.330433790928964, 38.029229437810933], [56.619366082592805, 38.121394354803478], [56.180374790273319, 37.935126654607423], [55.511578403551894, 37.964117133123153], [54.800303989486558, 37.392420762678178], [53.921597934795543, 37.198918361961255], [53.735511102112504, 37.906136176091685], [53.880928582581831, 38.952093003895349], [53.101027866432894, 39.290573635407121], [53.357808058491216, 39.975286363274442], [52.693972609269807, 40.033629055331964], [52.91525109234361, 40.87652334244472], [53.85813927594112, 40.631034450842165], [54.736845330632136, 40.951014919593455], [54.0083109881813, 41.551210842447404], [53.721713494690576, 42.123191433270016], [52.916749708880069, 41.868116563477322], [52.81468875510361, 41.135370591794704], [52.502459751196135, 41.783315538086356], [52.94429324729164, 42.116034247397586], [54.079417759014937, 42.324109402020817], [54.755345493392625, 42.04397146256656], [55.455251092353755, 41.259859117185826], [55.968191359282898, 41.308641669269356], [57.096391229079089, 41.32231008561056], [56.93221520368779, 41.82602610937559], [57.786529982337065, 42.170552883465511], [58.629010857991453, 42.751551011723045], [59.976422153569771, 42.223081976890199], [60.083340691981654, 41.425146185871391], [60.46595299667068, 41.22032664648254], [61.547178989513547, 41.2663703476546], [61.882714064384679, 41.084856879229392], [62.374260288344992, 40.053886216790382], [63.518014764261018, 39.363256537425627], [64.170223016216752, 38.892406724598231], [65.215998976507379, 38.402695013984292], [66.546150343700205, 37.974684963526855], [66.518606805288655, 37.362784328758785], [66.217384881459324, 37.393790188133913], [65.745630731066811, 37.661164048812061], [65.588947788357828, 37.305216783185628], [64.746105177677393, 37.111817735333297], [64.546479119733888, 36.31207326918426], [63.982895949158696, 36.007957465146596], [63.193538445900337, 35.857165635718907], [62.984662306576588, 35.404040839167614], [62.230651483005879, 35.270663967422287], [61.21081709172573, 35.650072333309218]]] } }, - { "type": "Feature", "properties": { "admin": "East Timor", "name": "Timor-Leste", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[124.96868248911619, -8.892790215697081], [125.086246372580248, -8.656887302284678], [125.947072381698234, -8.432094821815033], [126.64470421763852, -8.39824675866385], [126.957243280139792, -8.273344821814396], [127.335928175974615, -8.397316582882601], [126.967991978056517, -8.668256117388891], [125.925885044458568, -9.106007175333351], [125.088520135601073, -9.393173109579292], [125.070019972840583, -9.08998748132287], [124.96868248911619, -8.892790215697081]]] } }, - { "type": "Feature", "properties": { "admin": "Trinidad and Tobago", "name": "Trinidad and Tobago", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-61.68, 10.76], [-61.105, 10.89], [-60.895, 10.855], [-60.935, 10.11], [-61.77, 10.0], [-61.95, 10.09], [-61.66, 10.365], [-61.68, 10.76]]] } }, - { "type": "Feature", "properties": { "admin": "Tunisia", "name": "Tunisia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[9.482139926805273, 30.307556057246181], [9.055602654668148, 32.102691962201284], [8.439102817426116, 32.506284898400814], [8.430472853233367, 32.748337307255944], [7.612641635782181, 33.344114895148955], [7.524481642292242, 34.097376410451453], [8.140981479534302, 34.655145982393783], [8.376367628623766, 35.479876003555937], [8.217824334352313, 36.433176988260271], [8.420964389691674, 36.946427313783154], [9.509993523810605, 37.349994411766531], [10.210002475636315, 37.230001735984807], [10.180650262094529, 36.724037787415071], [11.028867221733348, 37.09210317641395], [11.100025668999249, 36.899996039368908], [10.600004510143092, 36.410000108377368], [10.593286573945134, 35.947444362932806], [10.939518670300686, 35.698984076473486], [10.807847120821007, 34.833507188449182], [10.149592726287123, 34.330773016897702], [10.339658644256613, 33.785741685515312], [10.856836378633684, 33.768740139291275], [11.108500603895118, 33.293342800422188], [11.488787469131008, 33.136995754523134], [11.432253452203692, 32.368903103152867], [10.944789666394453, 32.081814683555358], [10.636901482799484, 31.761420803345747], [9.950225050505081, 31.376069647745251], [10.056575148161752, 30.961831366493595], [9.97001712407285, 30.539324856075236], [9.482139926805273, 30.307556057246181]]] } }, - { "type": "Feature", "properties": { "admin": "Turkey", "name": "Turkey", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[36.913127068842151, 41.335358384764291], [38.347664829264502, 40.948586127275711], [39.512606642420238, 41.102762763018561], [40.373432651538245, 41.013672593747337], [41.554084100110707, 41.535656236327604], [42.619548781104548, 41.58317271581992], [43.582745802592704, 41.09214325618256], [43.752657911968491, 40.740200914058811], [43.656436395040963, 40.253563951166157], [44.400008579288759, 40.005000311842302], [44.79398969908199, 39.713002631177027], [44.109225294782355, 39.428136298168049], [44.421402622257595, 38.281281236314513], [44.225755649600522, 37.971584377589345], [44.772699008977739, 37.170444647768441], [44.293451775902852, 37.001514390606353], [43.942258742047343, 37.256227525372928], [42.77912560402185, 37.385263576805798], [42.349591098811764, 37.229872544904104], [41.212089471203015, 37.074352321921729], [40.673259311695702, 37.091276353497356], [39.522580193852512, 36.716053778626012], [38.699891391765917, 36.712927354472313], [38.167727492024156, 36.90121043552778], [37.066761102045824, 36.623036200500614], [36.739494256341366, 36.817520453431108], [36.685389031731816, 36.259699205056499], [36.417550083163086, 36.040616970355096], [36.149762811026584, 35.821534735653664], [35.782084995269848, 36.274995429014915], [36.160821567537049, 36.650605577128367], [35.550936313628334, 36.565442816711325], [34.714553256984367, 36.795532131490909], [34.026894972476455, 36.219960028623966], [32.509158156064096, 36.107563788389193], [31.69959516777956, 36.644275214172602], [30.621624790171062, 36.677864895162308], [30.391096225717114, 36.262980658506983], [29.69997562024556, 36.144357408181001], [28.732902866335387, 36.676831366516431], [27.641186557737363, 36.658822129862749], [27.048767937943289, 37.653360907536005], [26.318218214633042, 38.208133246405382], [26.804700148228726, 38.985760199533551], [26.170785353304375, 39.463612168936457], [27.280019972449388, 40.420013739578302], [28.819977654747209, 40.460011298172212], [29.240003696415574, 41.219990749672682], [31.145933872204434, 41.087621568357058], [32.347979363745786, 41.736264146484629], [33.513282911927512, 42.018960069337304], [35.167703891751863, 42.040224921225438], [36.913127068842151, 41.335358384764291]]], [[[27.192376743282406, 40.690565700842448], [26.358009067497782, 40.151993923496477], [26.043351271272535, 40.617753607743161], [26.056942172965332, 40.824123440100735], [26.294602085075692, 40.936261298174166], [26.604195590936282, 41.562114569661013], [26.117041863720825, 41.826904608724554], [27.135739373490505, 42.141484890301307], [27.996720411905407, 42.007358710287768], [28.115524529744441, 41.622886054036279], [28.988442824018779, 41.299934190428175], [28.806438429486743, 41.05496206314853], [27.619017368284112, 40.999823309893102], [27.192376743282406, 40.690565700842448]]]] } }, - { "type": "Feature", "properties": { "admin": "Taiwan", "name": "Taiwan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[121.777817824389899, 24.394273586519393], [121.175632358892713, 22.790857245367164], [120.747079705896198, 21.970571397382106], [120.220083449383651, 22.814860948166732], [120.106188592612369, 23.556262722258229], [120.694679803552233, 24.53845083261373], [121.49504438688875, 25.295458889257379], [121.951243931161429, 24.997595933527034], [121.777817824389899, 24.394273586519393]]] } }, - { "type": "Feature", "properties": { "admin": "United Republic of Tanzania", "name": "Tanzania", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[33.903711197104592, -0.95], [34.07262, -1.05982], [37.69869, -3.09699], [37.7669, -3.67712], [39.20222, -4.67677], [38.74054, -5.90895], [38.79977, -6.47566], [39.44, -6.84], [39.470000000000134, -7.1], [39.19469, -7.7039], [39.25203, -8.00781], [39.18652, -8.48551], [39.53574, -9.112369999999883], [39.9496, -10.0984], [40.31659, -10.317099999999867], [39.521, -10.89688], [38.427556593587767, -11.285202325081626], [37.82764, -11.26879], [37.47129, -11.56876], [36.775150994622884, -11.59453744878078], [36.514081658684397, -11.720938002166745], [35.312397902169145, -11.439146416879165], [34.559989047999451, -11.520020033415845], [34.28, -10.16], [33.940837724096518, -9.693673841980283], [33.73972, -9.41715], [32.759375441221373, -9.230599053589001], [32.191864861791935, -8.930358981973255], [31.556348097466628, -8.762048841998647], [31.157751336950064, -8.594578747317312], [30.74, -8.34], [30.2, -7.08], [29.62, -6.52], [29.419992710088305, -5.939998874539297], [29.519986606573063, -5.419978936386257], [29.339997592900367, -4.499983412294113], [29.753512404099858, -4.452389418153301], [30.11632, -4.09012], [30.50554, -3.56858], [30.75224, -3.35931], [30.74301, -3.03431], [30.52766, -2.80762], [30.46967, -2.41383], [30.758308953583132, -2.287250257988375], [30.816134881317844, -1.698914076345374], [30.419104852019291, -1.134659112150416], [30.769860000000101, -1.01455], [31.86617, -1.02736], [33.903711197104592, -0.95]]] } }, - { "type": "Feature", "properties": { "admin": "Uganda", "name": "Uganda", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[31.86617, -1.02736], [30.769860000000101, -1.01455], [30.419104852019291, -1.134659112150416], [29.821518588996121, -1.443322442229771], [29.579466180141019, -1.341313164885605], [29.587837762172164, -0.587405694179381], [29.8195, -0.2053], [29.875778842902431, 0.597379868976361], [30.086153598762785, 1.062312730306416], [30.468507521290285, 1.583805446779706], [30.852670118948133, 1.849396470543752], [31.174149204235952, 2.204465236821306], [30.77332, 2.339890000000139], [30.83385, 3.50917], [31.24556, 3.7819], [31.88145, 3.55827], [32.68642, 3.79232], [33.39, 3.79], [34.005, 4.249884947362147], [34.47913, 3.5556], [34.59607, 3.053740000000118], [35.03599, 1.90584], [34.6721, 1.17694], [34.18, 0.515], [33.893568969666994, 0.109813537861839], [33.903711197104592, -0.95], [31.86617, -1.02736]]] } }, - { "type": "Feature", "properties": { "admin": "Ukraine", "name": "Ukraine", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[31.78599816257158, 52.10167796488544], [32.159412062312661, 52.061266994833204], [32.412058139787625, 52.288694973349735], [32.715760532366964, 52.238465481162038], [33.7526998227357, 52.335074571331681], [34.391730584457001, 51.768881740925778], [34.141978387190385, 51.566413479206226], [34.22481570815426, 51.255993150428942], [35.022183058417873, 51.207572333371445], [35.377923618315116, 50.773955390010343], [35.35611616388794, 50.577197374059054], [36.62616784032533, 50.225590928745127], [37.393459506995065, 50.383953355503586], [38.01063113785689, 49.915661526074622], [38.59498823421341, 49.926461900423618], [40.069058465339097, 49.601055406281688], [40.080789015469342, 49.307429917999272], [39.674663934087526, 48.783818467801872], [39.895632358567575, 48.232405097031425], [39.738277622238819, 47.898937079451983], [38.770584751141186, 47.825608222029807], [38.255112339029743, 47.546400458356807], [38.223538038899413, 47.102189846375872], [37.42513715998998, 47.022220567404197], [36.759854770664383, 46.698700263040919], [35.823684523264816, 46.645964463887054], [34.962341749823871, 46.273196519549636], [35.020787794745978, 45.65121898048465], [35.51000857925316, 45.409993394546177], [36.529997999830151, 45.46998973243705], [36.334712762199146, 45.113215643893952], [35.239999220528112, 44.939996242851599], [33.882511020652878, 44.361478583344066], [33.326420932760037, 44.564877020844875], [33.546924269349446, 45.034770819674883], [32.454174432105496, 45.327466132176063], [32.630804477679128, 45.519185695978905], [33.588162062318382, 45.851568508480227], [33.298567335754704, 46.08059845639783], [31.744140252415171, 46.333347886737378], [31.675307244602401, 46.706245022155528], [30.748748813609094, 46.583100084003995], [30.37760867688888, 46.032410183285663], [29.603289015427425, 45.293308010431119], [29.149724969201646, 45.464925442072442], [28.679779493939371, 45.30403087013169], [28.233553501099035, 45.488283189468369], [28.48526940279276, 45.596907050145887], [28.659987420371575, 45.939986884131628], [28.933717482221621, 46.258830471372491], [28.862972446414055, 46.437889309263824], [29.072106967899288, 46.517677720722482], [29.170653924279879, 46.379262396828693], [29.759971958136383, 46.349987697935354], [30.024658644335364, 46.423936672545032], [29.838210076626289, 46.525325832701675], [29.908851759569295, 46.67436066343145], [29.559674106573105, 46.928582872091312], [29.415135125452732, 47.346645209332571], [29.050867954227321, 47.510226955752493], [29.122698195113024, 47.849095160506458], [28.670891147585163, 48.118148505234089], [28.259546746541837, 48.155562242213406], [27.52253746919515, 48.467119452501102], [26.857823520624798, 48.368210761094488], [26.619336785597788, 48.220726223333457], [26.197450392366925, 48.220881252630342], [25.945941196402394, 47.987148749374207], [25.207743361112986, 47.891056423527459], [24.866317172960571, 47.737525743188307], [24.402056105250374, 47.981877753280422], [23.760958286237404, 47.985598456405448], [23.142236362406798, 48.096341050806942], [22.710531447040488, 47.882193915389394], [22.640819939878746, 48.150239569687351], [22.085608351334848, 48.422264309271782], [22.280841912533553, 48.825392157580659], [22.558137648211751, 49.08573802346713], [22.776418898212619, 49.027395331409608], [22.518450148211596, 49.476773586619736], [23.426508416444388, 50.308505764357449], [23.922757195743259, 50.424881089878738], [24.029985792748899, 50.705406602575174], [23.52707075368437, 51.578454087930233], [24.005077752384206, 51.617443956094448], [24.553106316839511, 51.888461005249177], [25.327787713327005, 51.910656032918538], [26.337958611768549, 51.832288723347915], [27.454066196408426, 51.59230337178446], [28.241615024536564, 51.572227077839059], [28.617612745892242, 51.427713934934836], [28.992835320763522, 51.602044379271462], [29.254938185347921, 51.368234361366881], [30.157363722460889, 51.416138414101454], [30.55511722181145, 51.319503485715643], [30.619454380014837, 51.822806098022362], [30.927549269338975, 52.042353420614383], [31.78599816257158, 52.10167796488544]]] } }, - { "type": "Feature", "properties": { "admin": "Uruguay", "name": "Uruguay", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-57.625133429582945, -30.216294854454258], [-56.976025763564721, -30.109686374636119], [-55.97324459494093, -30.883075860316296], [-55.601510179249331, -30.853878676071385], [-54.572451544805105, -31.494511407193745], [-53.787951626182185, -32.047242526987617], [-53.209588995971529, -32.727666110974717], [-53.650543992718084, -33.202004082981823], [-53.373661668498229, -33.768377780900757], [-53.806425950726521, -34.396814874002224], [-54.935866054897716, -34.952646579733617], [-55.674089728403274, -34.752658786764066], [-56.215297003796053, -34.85983570733741], [-57.139685024633096, -34.430456231424238], [-57.817860683815489, -34.462547295877492], [-58.427074144104381, -33.909454441057569], [-58.349611172098854, -33.2631889788154], [-58.132647671121433, -33.040566908502008], [-58.142440355040748, -32.044503676076147], [-57.874937303281875, -31.016556084926201], [-57.625133429582945, -30.216294854454258]]] } }, - { "type": "Feature", "properties": { "admin": "United States of America", "name": "United States", "continent": "North America" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-155.54211, 19.08348], [-155.68817, 18.91619], [-155.93665, 19.05939], [-155.90806, 19.33888], [-156.07347, 19.70294], [-156.02368, 19.81422], [-155.85008, 19.97729], [-155.91907, 20.17395], [-155.86108, 20.26721], [-155.78505, 20.2487], [-155.40214, 20.07975], [-155.22452, 19.99302], [-155.06226, 19.8591], [-154.80741, 19.50871], [-154.83147, 19.45328], [-155.222169999999892, 19.23972], [-155.54211, 19.08348]]], [[[-156.07926, 20.64397], [-156.41445, 20.57241], [-156.58673, 20.783], [-156.70167, 20.8643], [-156.71055, 20.92676], [-156.61258, 21.01249], [-156.25711, 20.91745], [-155.99566, 20.76404], [-156.07926, 20.64397]]], [[[-156.75824, 21.17684], [-156.78933, 21.06873], [-157.32521, 21.09777], [-157.25027, 21.21958], [-156.75824, 21.17684]]], [[[-157.65283, 21.32217], [-157.70703, 21.26442], [-157.7786, 21.27729], [-158.12667, 21.31244], [-158.2538, 21.53919], [-158.29265, 21.57912], [-158.0252, 21.71696], [-157.94161, 21.65272], [-157.65283, 21.32217]]], [[[-159.34512, 21.982], [-159.46372, 21.88299], [-159.80051, 22.06533], [-159.74877, 22.1382], [-159.5962, 22.23618], [-159.36569, 22.21494], [-159.34512, 21.982]]], [[[-94.81758, 49.38905], [-94.639999999999858, 48.840000000000103], [-94.32914, 48.67074], [-93.63087, 48.60926], [-92.61, 48.45], [-91.64, 48.14], [-90.829999999999856, 48.27], [-89.6, 48.01], [-89.272917446636654, 48.019808254582834], [-88.378114183286513, 48.302917588893806], [-87.439792623300207, 47.94], [-86.461990831228135, 47.553338019392037], [-85.652363247403215, 47.220218817730498], [-84.876079881514855, 46.900083319682366], [-84.779238247399817, 46.637101955749117], [-84.54374874544564, 46.538684190449224], [-84.6049, 46.4396], [-84.3367, 46.408770000000104], [-84.142119513673279, 46.512225857115723], [-84.091851264161463, 46.275418606138253], [-83.890765347005654, 46.116926988299149], [-83.616130947590491, 46.116926988299149], [-83.469550747394621, 45.994686387712584], [-83.592850714843067, 45.816893622412543], [-82.550924648758169, 45.347516587905446], [-82.337763125431053, 44.44], [-82.137642381503952, 43.571087551439987], [-82.43, 42.98], [-82.899999999999878, 42.430000000000135], [-83.119999999999877, 42.08], [-83.141999681312555, 41.975681057292995], [-83.029810146806909, 41.832795722005997], [-82.690089280920162, 41.675105088867319], [-82.439277716791608, 41.675105088867319], [-81.277746548167059, 42.209025987306845], [-80.247447679347843, 42.36619985612267], [-78.939362148743683, 42.863611355148116], [-78.92, 42.965], [-79.009999999999863, 43.27], [-79.171673550111862, 43.466339423184301], [-78.720279914042365, 43.625089423184953], [-77.737885097957601, 43.629055589363382], [-76.820034145805565, 43.628784288093748], [-76.5, 44.018458893758599], [-76.375, 44.09631], [-75.31821, 44.81645000000016], [-74.867, 45.00048000000011], [-73.347829999999874, 45.00738], [-71.505059999999858, 45.0082], [-71.405, 45.255000000000123], [-71.08482, 45.305240000000154], [-70.659999999999783, 45.46], [-70.305, 45.915], [-69.99997, 46.69307], [-69.237216, 47.447781], [-68.905, 47.185], [-68.23444, 47.35486], [-67.79046, 47.06636], [-67.79134, 45.702810000000134], [-67.13741, 45.13753], [-66.96466, 44.809700000000149], [-68.03252, 44.3252], [-69.059999999999874, 43.98], [-70.116169999999897, 43.684050000000141], [-70.645475633410967, 43.090238348964043], [-70.81489, 42.8653], [-70.825, 42.335], [-70.494999999999891, 41.805], [-70.08, 41.78], [-70.185, 42.145], [-69.88497, 41.922830000000111], [-69.96503, 41.637170000000161], [-70.64, 41.475], [-71.12039, 41.494450000000164], [-71.859999999999829, 41.32], [-72.295, 41.27], [-72.87643, 41.22065], [-73.71, 40.931102351654481], [-72.24126, 41.119480000000138], [-71.944999999999808, 40.93], [-73.345, 40.63], [-73.982, 40.628], [-73.952325, 40.75075], [-74.25671, 40.47351], [-73.96244, 40.42763], [-74.17838, 39.70926], [-74.90604, 38.93954], [-74.98041, 39.1964], [-75.20002, 39.24845], [-75.52805, 39.4985], [-75.32, 38.96], [-75.071834764789784, 38.782032230179276], [-75.05673, 38.404120000000106], [-75.37747, 38.01551], [-75.94023, 37.21689], [-76.03127, 37.2566], [-75.722049999999783, 37.937050000000106], [-76.23287, 38.319215], [-76.35, 39.15], [-76.542725, 38.717615], [-76.32933, 38.08326], [-76.98999793161353, 38.239991766913384], [-76.301619999999886, 37.917945], [-76.25874, 36.9664000000001], [-75.9718, 36.89726], [-75.868039999999809, 36.55125], [-75.72749, 35.550740000000125], [-76.36318, 34.808540000000129], [-77.39763499999988, 34.51201], [-78.05496, 33.92547], [-78.554349999999815, 33.861330000000116], [-79.06067, 33.49395], [-79.20357, 33.15839], [-80.301325, 32.509355], [-80.86498, 32.0333], [-81.33629, 31.44049], [-81.49042, 30.729990000000122], [-81.31371, 30.03552], [-80.98, 29.18000000000011], [-80.53558499999987, 28.47213], [-80.529999999999774, 28.04], [-80.056539284977532, 26.88000000000013], [-80.088015, 26.205765], [-80.131559999999837, 25.816775], [-80.38103, 25.20616], [-80.679999999999879, 25.08], [-81.17213, 25.201260000000126], [-81.33, 25.64], [-81.709999999999795, 25.87], [-82.239999999999895, 26.730000000000125], [-82.70515, 27.49504], [-82.85526, 27.88624], [-82.65, 28.550000000000146], [-82.929999999999865, 29.100000000000129], [-83.70959, 29.93656], [-84.1, 30.090000000000114], [-85.10882, 29.63615], [-85.28784, 29.686120000000127], [-85.7731, 30.152610000000116], [-86.399999999999878, 30.400000000000112], [-87.530359999999831, 30.27433], [-88.41782, 30.3849], [-89.180489999999836, 30.31598], [-89.593831178419748, 30.159994004836843], [-89.413735, 29.89419], [-89.43, 29.48864], [-89.21767, 29.29108], [-89.40823, 29.15961], [-89.77928, 29.307140000000135], [-90.15463, 29.11743], [-90.880224999999896, 29.148535000000116], [-91.626784999999842, 29.677000000000127], [-92.49906, 29.5523], [-93.22637, 29.78375], [-93.84842, 29.71363], [-94.69, 29.480000000000125], [-95.60026, 28.73863], [-96.59404, 28.30748], [-97.139999999999802, 27.83], [-97.37, 27.38], [-97.379999999999853, 26.69], [-97.33, 26.210000000000115], [-97.139999999999802, 25.87], [-97.529999999999859, 25.84], [-98.239999999999895, 26.060000000000109], [-99.019999999999854, 26.37], [-99.3, 26.84], [-99.52, 27.54], [-100.11, 28.11000000000012], [-100.45584, 28.696120000000118], [-100.957599999999886, 29.380710000000125], [-101.6624, 29.779300000000113], [-102.48, 29.76], [-103.11, 28.97], [-103.94, 29.27], [-104.456969999999814, 29.57196], [-104.705749999999895, 30.12173], [-105.03737, 30.64402], [-105.63159, 31.083830000000113], [-106.1429, 31.39995], [-106.507589999999794, 31.75452], [-108.24, 31.754853718166398], [-108.24194, 31.34222], [-109.035, 31.341940000000161], [-111.02361, 31.33472], [-113.30498, 32.03914], [-114.815, 32.52528], [-114.721389999999829, 32.72083], [-115.991349999999869, 32.61239000000014], [-117.127759999999753, 32.53534], [-117.295937691273863, 33.04622461520389], [-117.944, 33.621236431201389], [-118.410602275897475, 33.740909223124497], [-118.519894822799685, 34.027781577575745], [-119.081, 34.078], [-119.438840642016658, 34.348477178284291], [-120.36778, 34.44711], [-120.62286, 34.60855], [-120.74433, 35.156860000000101], [-121.714569999999853, 36.16153], [-122.54747, 37.551760000000101], [-122.51201, 37.783390000000132], [-122.95319, 38.113710000000104], [-123.7272, 38.951660000000111], [-123.865169999999878, 39.766990000000128], [-124.39807, 40.3132], [-124.17886, 41.142020000000109], [-124.2137, 41.999640000000134], [-124.532839999999894, 42.76599], [-124.14214, 43.70838], [-124.020535, 44.615895], [-123.898929999999893, 45.52341], [-124.079635, 46.86475], [-124.395669999999896, 47.72017], [-124.687210083007812, 48.184432983398537], [-124.566101074218736, 48.379714965820384], [-123.12, 48.04], [-122.587359999999876, 47.096], [-122.34, 47.36], [-122.5, 48.18], [-122.84, 49.0], [-120.0, 49.0], [-117.03121, 49.0], [-116.04818, 49.0], [-112.999999999999872, 49.0], [-110.049999999999812, 49.0], [-107.049999999999898, 49.0], [-104.04826, 48.99986], [-100.65, 49.0], [-97.228720000004699, 49.0007], [-95.159069509171943, 49.0], [-95.15609, 49.38425], [-94.81758, 49.38905]]], [[[-153.006314053336837, 57.115842190165878], [-154.0050902984581, 56.734676825581047], [-154.516402757770067, 56.992748928446687], [-154.670992804971092, 57.461195787172493], [-153.762779507441451, 57.816574612043773], [-153.228729417921073, 57.968968410872421], [-152.564790615835108, 57.901427313866961], [-152.141147223906273, 57.591058661521977], [-153.006314053336837, 57.115842190165878]]], [[[-165.579164191733554, 59.909986884187539], [-166.192770148767238, 59.754440822988961], [-166.848337368821944, 59.941406155020942], [-167.455277066090048, 60.213069159579376], [-166.467792121424566, 60.384169826897775], [-165.674429694663644, 60.293606879306232], [-165.579164191733554, 59.909986884187539]]], [[[-171.731656867539357, 63.782515367275906], [-171.114433560245175, 63.592191067144981], [-170.491112433940657, 63.694975490973505], [-169.682505459653555, 63.431115627691142], [-168.689439460300662, 63.297506212000584], [-168.77194088445458, 63.188598130945437], [-169.529439867204985, 62.976931464277882], [-170.290556200215917, 63.194437567794452], [-170.671385667990847, 63.375821845138965], [-171.553063117538642, 63.317789211675077], [-171.791110602891166, 63.40584585230048], [-171.731656867539357, 63.782515367275906]]], [[[-155.067790290324211, 71.147776394323685], [-154.344165208941206, 70.696408596470192], [-153.900006273392563, 70.889988511835682], [-152.210006069935275, 70.829992173944831], [-152.270002407826127, 70.60000621202984], [-150.739992438744508, 70.430016588005699], [-149.720003018167489, 70.530010484490433], [-147.613361579357047, 70.214034939241785], [-145.689989800225248, 70.120009670686741], [-144.920010959076393, 69.989991767040479], [-143.58944618042517, 70.152514146598307], [-142.072510348713365, 69.851938178172631], [-140.985987521560702, 69.711998399526365], [-140.985988329004869, 69.711998399526365], [-140.992498752029377, 66.000028591568665], [-140.997769748123119, 60.306396796298593], [-140.012997816153074, 60.276837877027575], [-139.03900042031583, 60.000007229240012], [-138.340889999999888, 59.562110000000146], [-137.4525, 58.905000000000101], [-136.47972, 59.46389], [-135.47583, 59.78778], [-134.945, 59.270560000000117], [-134.27111, 58.86111], [-133.355548882207188, 58.410285142645151], [-132.73042, 57.692890000000105], [-131.707809999999853, 56.55212], [-130.00778, 55.91583], [-129.979994263358265, 55.284997870497207], [-130.536110189467223, 54.802753404349389], [-131.08581823797212, 55.178906155002025], [-131.967211467142278, 55.497775580459049], [-132.250010742859445, 56.369996242897443], [-133.539181084356386, 57.178887437562125], [-134.07806292029602, 58.123067531966889], [-135.038211032279037, 58.187714748763931], [-136.628062309954629, 58.212209377670447], [-137.800006279686016, 58.499995429103777], [-139.867787041412981, 59.537761542389134], [-140.825273817133024, 59.72751740176507], [-142.574443535564427, 60.084446519604981], [-143.958880994879848, 59.99918040632339], [-145.925556816827822, 60.458609727614274], [-147.114373949146625, 60.884656073644628], [-148.224306200127643, 60.672989406977152], [-148.018065558850736, 59.978328965893631], [-148.570822516860858, 59.914172675203297], [-149.727857835875824, 59.705658270905545], [-150.608243374616421, 59.368211168039487], [-151.716392788683294, 59.155821031319974], [-151.859433153267105, 59.74498403587959], [-151.40971900124714, 60.725802720779392], [-150.346941494732505, 61.033587551509854], [-150.621110806256951, 61.284424953854447], [-151.895839199816834, 60.727197984451273], [-152.578329841095581, 60.061657212964285], [-154.019172126257558, 59.350279446034264], [-153.287511359653166, 58.864727688219787], [-154.232492438758442, 58.146373602930531], [-155.307491421510207, 57.727794501366319], [-156.308334723923082, 57.422774359763636], [-156.556097378546298, 56.979984849670636], [-158.117216559867728, 56.463608099994175], [-158.433321296197136, 55.994153550838533], [-159.603327399717415, 55.566686102920116], [-160.289719611634183, 55.643580634170561], [-161.223047655257773, 55.364734605523481], [-162.23776607974105, 55.024186916720097], [-163.069446581046378, 54.689737046927171], [-164.785569221027174, 54.40417308208216], [-164.942226325520011, 54.572224839895327], [-163.84833960676562, 55.039431464246107], [-162.870001390615897, 55.348043117893198], [-161.804174974596009, 55.894986477270429], [-160.563604702781134, 56.008054511125025], [-160.070559862284483, 56.418055324928744], [-158.684442918919416, 57.016675116597852], [-158.461097378553944, 57.216921291728866], [-157.722770352183858, 57.570000515363056], [-157.550274421193564, 58.328326321030218], [-157.041674974576949, 58.918884589261708], [-158.194731208305427, 58.615802313869828], [-158.517217984023034, 58.787781480537305], [-159.058606126928709, 58.424186102931671], [-159.711667040017318, 58.931390285876333], [-159.981288825500144, 58.572549140041623], [-160.355271165996498, 59.071123358793628], [-161.355003425115001, 58.670837714260742], [-161.968893602526293, 58.671664537177371], [-162.054986538724648, 59.266925360747436], [-161.874170702135331, 59.633621324290587], [-162.518059048492034, 59.989723619213905], [-163.818341437820123, 59.798055731843377], [-164.662217577146407, 60.267484442782639], [-165.346387702474772, 60.507495632562396], [-165.350831875651835, 61.073895168697497], [-166.121379157555907, 61.500019029376212], [-165.734451870770471, 62.074996853271792], [-164.919178636717788, 62.633076483807919], [-164.562507901039339, 63.146378485763044], [-163.753332485996964, 63.219448961023758], [-163.067224494457832, 63.05945872664801], [-162.260555386381697, 63.541935736741159], [-161.534449836248569, 63.455816962326757], [-160.772506680321101, 63.76610810002326], [-160.958335130842528, 64.222798570402759], [-161.518068407212184, 64.402787584075313], [-160.777777676414729, 64.788603827566405], [-161.391926235987597, 64.777235012462327], [-162.453050096668818, 64.559444688568206], [-162.757786017894034, 64.338605455168803], [-163.54639421288428, 64.559160468190484], [-164.960829841145141, 64.446945095468848], [-166.425288255864473, 64.686672064870706], [-166.845004238939026, 65.088895575614529], [-168.110560065767146, 65.669997056736733], [-166.70527116602193, 66.088317776139391], [-164.474709642575448, 66.576660061297488], [-163.652511766595637, 66.576660061297488], [-163.788601651036117, 66.077207343196662], [-161.677774421210131, 66.116119696712403], [-162.489714525379981, 66.735565090595102], [-163.719716966791083, 67.116394558370089], [-164.430991380856511, 67.616338202577779], [-165.390286831706703, 68.042772121850234], [-166.764440680995989, 68.35887685817967], [-166.204707404626561, 68.883030910916162], [-164.430810513343431, 68.915535386827727], [-163.168613654614489, 69.371114813912882], [-162.930566169261965, 69.858061835399255], [-161.908897264635499, 70.333329983187625], [-160.93479651593367, 70.447689927849567], [-159.039175788387126, 70.891642157668926], [-158.119722866833939, 70.824721177851032], [-156.580824551398024, 71.357763576941736], [-155.067790290324211, 71.147776394323685]]]] } }, - { "type": "Feature", "properties": { "admin": "Uzbekistan", "name": "Uzbekistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[66.518606805288655, 37.362784328758785], [66.546150343700205, 37.974684963526855], [65.215998976507379, 38.402695013984292], [64.170223016216752, 38.892406724598231], [63.518014764261018, 39.363256537425627], [62.374260288344992, 40.053886216790382], [61.882714064384679, 41.084856879229392], [61.547178989513547, 41.2663703476546], [60.46595299667068, 41.22032664648254], [60.083340691981654, 41.425146185871391], [59.976422153569771, 42.223081976890199], [58.629010857991453, 42.751551011723045], [57.786529982337065, 42.170552883465511], [56.93221520368779, 41.82602610937559], [57.096391229079089, 41.32231008561056], [55.968191359282898, 41.308641669269356], [55.928917270741081, 44.995858466159099], [58.503127068928457, 45.586804307632818], [58.689989048095882, 45.500013739598621], [60.239971958258316, 44.784036770194717], [61.05831994003244, 44.405816962250505], [62.013300408786236, 43.504476630215642], [63.185786981056559, 43.650074978197999], [64.900824415959264, 43.728080552742576], [66.098012322865074, 42.997660020513088], [66.023391554635609, 41.994646307943974], [66.510648634715707, 41.987644151368436], [66.714047072216502, 41.168443508461493], [67.985855747351806, 41.135990708982213], [68.259895867795606, 40.662324530594894], [68.632482944620008, 40.668680731766798], [69.070027296835306, 41.384244289712363], [70.388964878220776, 42.081307684897439], [70.96231489449913, 42.266154283205481], [71.259247674448218, 42.167710679689456], [70.420022414028196, 41.519998277343134], [71.157858514291576, 41.143587144529107], [71.870114780570447, 41.392900092121259], [73.055417108049156, 40.86603302668945], [71.774875115856545, 40.145844428053763], [71.014198032520156, 40.244365546218226], [70.601406691372674, 40.218527330072284], [70.458159621059608, 40.49649485937028], [70.666622348925031, 40.960213324541407], [69.329494663372813, 40.727824408524839], [69.011632928345477, 40.086158148756653], [68.536416456989414, 39.533452867178923], [67.701428664017342, 39.580478420564518], [67.442219679641298, 39.140143541005479], [68.176025018185911, 38.901553453113898], [68.392032505165943, 38.157025254868728], [67.829999627559502, 37.144994004864678], [67.075782098259609, 37.35614390720928], [66.518606805288655, 37.362784328758785]]] } }, - { "type": "Feature", "properties": { "admin": "Venezuela", "name": "Venezuela", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-71.331583624950284, 11.776284084515805], [-71.36000566271079, 11.53999359786121], [-71.947049933546495, 11.423282375530018], [-71.620868292920164, 10.969459947142791], [-71.633063930941063, 10.446494452349027], [-72.074173956984495, 9.865651353388369], [-71.695644090446521, 9.072263088411246], [-71.26455929226772, 9.137194525585981], [-71.039999355743376, 9.859992784052407], [-71.350083787710773, 10.211935126176213], [-71.400623338492224, 10.968969021036013], [-70.155298834906503, 11.375481675660039], [-70.293843349881016, 11.846822414594211], [-69.943244594996813, 12.162307033736095], [-69.584300096297454, 11.459610907431211], [-68.882999233664435, 11.44338450769156], [-68.233271450458716, 10.885744126829945], [-68.194126552997616, 10.554653225135921], [-67.296248541926317, 10.545868231646306], [-66.227864142507983, 10.648626817258684], [-65.655237596281737, 10.20079885501732], [-64.890452236578156, 10.077214667191296], [-64.329478725833724, 10.389598700395679], [-64.318006557864933, 10.641417954953978], [-63.079322475828725, 10.701724351438598], [-61.880946010980182, 10.7156253117251], [-62.730118984616396, 10.420268662960904], [-62.388511928950969, 9.948204453974636], [-61.588767462801918, 9.873066921422263], [-60.830596686431711, 9.38133982994894], [-60.671252407459718, 8.580174261911877], [-60.150095587796166, 8.602756862823425], [-59.758284878159181, 8.367034816924045], [-60.550587938058186, 7.779602972846178], [-60.637972785063752, 7.414999904810853], [-60.295668097562377, 7.043911444522918], [-60.543999192940966, 6.856584377464881], [-61.159336310456467, 6.696077378766317], [-61.139415045807937, 6.234296779806142], [-61.410302903881941, 5.959068101419616], [-60.733574184803707, 5.2002772078619], [-60.601179165271922, 4.918098049332129], [-60.966893276601517, 4.536467596856638], [-62.085429653559125, 4.162123521334308], [-62.804533047116692, 4.006965033377951], [-63.093197597899092, 3.770571193858784], [-63.888342861574145, 4.020530096854571], [-64.628659430587533, 4.14848094320925], [-64.816064012294007, 4.056445217297422], [-64.368494432214092, 3.797210394705246], [-64.408827887617903, 3.126786200366623], [-64.269999152265783, 2.497005520025566], [-63.422867397705105, 2.411067613124174], [-63.368788011311644, 2.200899562993129], [-64.083085496666072, 1.91636912679408], [-64.199305792890499, 1.49285492594602], [-64.611011928959854, 1.328730576987041], [-65.354713304288353, 1.0952822941085], [-65.548267381437554, 0.78925446207603], [-66.325765143484944, 0.724452215982012], [-66.876325853122566, 1.253360500489336], [-67.181294318293041, 2.250638129074062], [-67.447092047786299, 2.600280869960869], [-67.809938117123693, 2.820655015469569], [-67.303173183853417, 3.31845408773718], [-67.33756384954367, 3.542342230641721], [-67.621835903581271, 3.839481716319994], [-67.823012254493534, 4.503937282728898], [-67.744696621355203, 5.221128648291667], [-67.521531948502741, 5.556870428891968], [-67.34143958196556, 6.095468044454021], [-67.695087246355001, 6.267318020040645], [-68.265052456318216, 6.153268133972473], [-68.985318569602327, 6.206804917826856], [-69.389479946557103, 6.099860541198835], [-70.093312954372408, 6.960376491723109], [-70.674233567981503, 7.087784735538717], [-71.960175747348629, 6.991614895043538], [-72.19835242378187, 7.340430813013682], [-72.444487270788059, 7.42378489830048], [-72.479678921178831, 7.632506008327352], [-72.360900641555958, 8.002638454617893], [-72.439862230097944, 8.405275376820027], [-72.660494757768092, 8.62528778730268], [-72.788729824500379, 9.085027167187331], [-73.304951544880026, 9.151999823437604], [-73.027604132769554, 9.736770331252441], [-72.905286017534692, 10.45034434655477], [-72.614657762325194, 10.821975409381777], [-72.227575446242923, 11.108702093953237], [-71.973921678338272, 11.608671576377116], [-71.331583624950284, 11.776284084515805]]] } }, - { "type": "Feature", "properties": { "admin": "Vietnam", "name": "Vietnam", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[108.050180291782908, 21.552379869060111], [106.715067987090066, 20.696850694252014], [105.881682163519002, 19.752050482659694], [105.662005649846279, 19.058165188060567], [106.426816847765991, 18.004120998603224], [107.36195356651973, 16.697456569887049], [108.269495070429599, 16.079742336486145], [108.877106561317447, 15.276690578670436], [109.335269810017209, 13.42602834721772], [109.200135939573954, 11.666859239137761], [108.366129998815424, 11.00832062422627], [107.22092858279521, 10.36448395430183], [106.4051127462034, 9.530839748569317], [105.158263787865081, 8.599759629750492], [104.795185174582372, 9.2410383162765], [105.076201613385592, 9.918490505406806], [104.334334751403446, 10.486543687375228], [105.199914992292321, 10.889309800658094], [106.249670037869436, 10.961811835163585], [105.810523716253101, 11.567614650921225], [107.491403029410861, 12.337205918827944], [107.614547967562402, 13.535530707244202], [107.382727492301058, 14.202440904186968], [107.564525181103875, 15.202173163305554], [107.312705926545576, 15.908538316303177], [106.55600792849566, 16.604283962464802], [105.925762160264, 17.485315456608955], [105.094598423281496, 18.666974595611073], [103.896532017026701, 19.265180975821799], [104.183387892678908, 19.624668077060214], [104.822573683697073, 19.886641750563879], [104.435000441508024, 20.758733221921528], [103.203861118586431, 20.766562201413745], [102.754896274834636, 21.675137233969462], [102.170435825613552, 22.464753119389297], [102.706992222100084, 22.708795070887668], [103.504514601660546, 22.703756618739202], [104.476858351664447, 22.819150092046961], [105.329209425886603, 23.352063300056908], [105.811247186305209, 22.976892401617899], [106.725403273548451, 22.794267889898414], [106.567273390735295, 22.218204860924768], [107.043420037872608, 21.811898912029907], [108.050180291782908, 21.552379869060111]]] } }, - { "type": "Feature", "properties": { "admin": "Vanuatu", "name": "Vanuatu", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[167.844876743845077, -16.466333103097153], [167.515181105822847, -16.597849623279966], [167.180007765977791, -16.159995212470957], [167.2168013857696, -15.891846205308449], [167.844876743845077, -16.466333103097153]]], [[[167.107712437201485, -14.933920179913951], [167.2700281110302, -15.74002084723487], [167.001207310247935, -15.614602146062492], [166.79315799384085, -15.668810723536719], [166.649859247095549, -15.392703545801192], [166.629136997746429, -14.6264970842096], [167.107712437201485, -14.933920179913951]]]] } }, - { "type": "Feature", "properties": { "admin": "Yemen", "name": "Yemen", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[53.108572625547502, 16.651051133688949], [52.385205926325874, 16.38241120041965], [52.191729363825075, 15.938433132384018], [52.168164910699986, 15.597420355689945], [51.172515089732471, 15.175249742081489], [49.574576450403136, 14.708766587782746], [48.679230584514151, 14.003202419485657], [48.238947381387412, 13.948089504446369], [47.938914015500771, 14.007233181204423], [47.354453566279702, 13.592219753468379], [46.71707645039173, 13.399699204965016], [45.877592807810252, 13.347764390511681], [45.625050083199874, 13.290946153206759], [45.406458774605241, 13.02690542241143], [45.144355910020849, 12.953938300015306], [44.9895333188744, 12.699586900274708], [44.494576450382844, 12.721652736863344], [44.175112745954486, 12.585950425664873], [43.48295861183712, 12.63680003504008], [43.222871128112118, 13.220950425667422], [43.251448195169516, 13.767583726450848], [43.087943963398047, 14.062630316621306], [42.892245314308717, 14.802249253798745], [42.604872674333606, 15.213335272680592], [42.805015496600042, 15.261962795467252], [42.702437778500652, 15.718885809791995], [42.823670688657408, 15.911742255105263], [42.779332309750963, 16.34789134364868], [43.218375278502734, 16.666889960186406], [43.115797560403351, 17.088440456607369], [43.380794305196098, 17.579986680567668], [43.791518589051904, 17.319976711491105], [44.062613152855072, 17.410358791569589], [45.216651238797184, 17.43332896572333], [45.399999220568752, 17.333335069238554], [46.366658563020529, 17.233315334537632], [46.749994337761642, 17.283338120996174], [47.000004917189749, 16.949999294497438], [47.466694777217626, 17.116681626854877], [48.183343540241324, 18.166669216377311], [49.116671583864857, 18.616667588774941], [52.000009800022227, 19.000003363516054], [52.782184279192037, 17.349742336491229], [53.108572625547502, 16.651051133688949]]] } }, - { "type": "Feature", "properties": { "admin": "South Africa", "name": "South Africa", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[31.521001417778869, -29.257386976846245], [31.325561150850994, -29.401977634398907], [30.901762729625336, -29.909956963828034], [30.622813348113816, -30.423775730106122], [30.055716180142774, -31.140269463832951], [28.925552605919535, -32.172041110972494], [28.219755893677092, -32.771952813448848], [27.464608188595967, -33.226963799778794], [26.419452345492818, -33.614950453426175], [25.909664340933482, -33.667040297176392], [25.78062828950069, -33.944646091448334], [25.172861769315965, -33.796851495093577], [24.67785322439212, -33.987175795224537], [23.594043409934635, -33.794474379208147], [22.988188917744729, -33.916430759416976], [22.574157342222232, -33.864082533505304], [21.542799106541022, -34.258838799782922], [20.689052768646999, -34.417175388325226], [20.071261020597628, -34.795136814107984], [19.616405063564567, -34.819166355123706], [19.193278435958714, -34.462598972309777], [18.855314568769867, -34.444305515278458], [18.424643182049376, -33.997872816708963], [18.377410922934612, -34.13652068454806], [18.244499139079917, -33.867751560198023], [18.250080193767442, -33.281430759414434], [17.925190463948436, -32.61129078545342], [18.247909783611185, -32.429131361624563], [18.221761508871477, -31.661632989225662], [17.566917758868861, -30.72572112398754], [17.0644161312627, -29.878641045859158], [17.06291751472622, -29.875953871379977], [16.344976840895239, -28.576705010697697], [16.824017368240899, -28.082161553664466], [17.218928663815401, -28.355943291946804], [17.387497185951499, -28.783514092729774], [17.836151971109526, -28.856377862261311], [18.464899122804745, -29.045461928017271], [19.002127312911082, -28.972443129188857], [19.89473432788861, -28.461104831660769], [19.895767856534427, -24.767790215760588], [20.165725538827186, -24.917961928000768], [20.758609246511831, -25.868136488551446], [20.666470167735437, -26.477453301704916], [20.889609002371731, -26.828542982695907], [21.60589603036939, -26.726533705351748], [22.105968865657864, -26.28025603607913], [22.579531691180584, -25.979447523708142], [22.824271274514896, -25.500458672794768], [23.312096795350179, -25.268689873965712], [23.733569777122703, -25.39012948985161], [24.211266717228792, -25.670215752873567], [25.025170525825782, -25.719670098576891], [25.664666375437712, -25.486816094669706], [25.765848829865206, -25.174845472923671], [25.941652052522151, -24.696373386333214], [26.485753208123292, -24.616326592713097], [26.78640669119741, -24.240690606383478], [27.119409620886238, -23.574323011979772], [28.017235955525244, -22.827753594659072], [29.432188348109033, -22.091312758067584], [29.839036899542965, -22.102216485281172], [30.322883335091767, -22.271611830333931], [30.659865350067083, -22.151567478119912], [31.191409132621278, -22.251509698172395], [31.670397983534645, -23.658969008073861], [31.930588820124242, -24.369416599222532], [31.752408481581874, -25.484283949487406], [31.837777947728057, -25.843331801051342], [31.333157586397899, -25.660190525008943], [31.044079624157146, -25.731452325139436], [30.949666782359905, -26.022649021104144], [30.676608514129633, -26.398078301704604], [30.685961948374477, -26.743845310169526], [31.282773064913325, -27.285879408478991], [31.868060337051073, -27.17792734142127], [32.071665480281062, -26.733820082304902], [32.830120477028878, -26.74219166433619], [32.580264926897677, -27.470157566031808], [32.462132602678444, -28.30101124442055], [32.203388706193032, -28.752404880490065], [31.521001417778869, -29.257386976846245]], [[28.978262566857236, -28.955596612261708], [28.541700066855491, -28.647501722937562], [28.07433841320778, -28.851468601193581], [27.532511020627471, -29.242710870075353], [26.999261915807629, -29.875953871379977], [27.749397006956478, -30.645105889612214], [28.107204624145421, -30.545732110314944], [28.291069370239903, -30.226216729454293], [28.848399692507734, -30.070050551068245], [29.018415154748016, -29.743765557577362], [29.325166456832587, -29.257386976846245], [28.978262566857236, -28.955596612261708]]] } }, - { "type": "Feature", "properties": { "admin": "Zambia", "name": "Zambia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[32.759375441221316, -9.230599053589058], [33.231387973775291, -9.676721693564799], [33.485687697083584, -10.525558770391111], [33.315310499817279, -10.796549981329695], [33.114289178201908, -11.607198174692311], [33.306422153463068, -12.435778090060214], [32.991764357237876, -12.783870537978272], [32.688165317523122, -13.712857761289273], [33.214024692525207, -13.97186003993615], [30.179481235481827, -14.796099134991525], [30.274255812305103, -15.507786960515208], [29.51683434420314, -15.644677829656386], [28.947463413211256, -16.043051446194436], [28.825868768028492, -16.389748630440611], [28.467906121542676, -16.468400160388843], [27.598243442502753, -17.290830580314005], [27.044427117630729, -17.938026218337427], [26.706773309035633, -17.961228936436477], [26.381935255648919, -17.846042168857892], [25.264225701608005, -17.736539808831413], [25.084443393664564, -17.661815687737366], [25.076950310982255, -17.578823337476617], [24.6823490740015, -17.35341073981947], [24.033861525170771, -17.29584319424632], [23.215048455506057, -17.52311614346598], [22.562478468524255, -16.89845142992181], [21.887842644953867, -16.080310153876876], [21.933886346125913, -12.898437188369357], [24.016136508894672, -12.91104623784857], [23.930922072045373, -12.565847670138854], [24.079905226342838, -12.191296888887361], [23.904153680118181, -11.722281589406318], [24.017893507592586, -11.237298272347088], [23.912215203555714, -10.926826267137512], [24.257155389103982, -10.951992689663655], [24.314516228947948, -11.262826429899269], [24.783169793402948, -11.238693536018962], [25.418118116973197, -11.330935967659958], [25.752309604604726, -11.784965101776356], [26.55308759939961, -11.924439792532125], [27.164419793412456, -11.608748467661071], [27.38879886242378, -12.132747491100663], [28.15510867687998, -12.272480564017894], [28.52356163912102, -12.698604424696679], [28.934285922976834, -13.248958428605132], [29.699613885219485, -13.257226657771827], [29.616001417771223, -12.178894545137307], [29.341547885869087, -12.36074391037241], [28.642417433392346, -11.971568698782312], [28.372253045370421, -11.793646742401389], [28.496069777141763, -10.789883721564044], [28.673681674928922, -9.605924981324931], [28.449871046672818, -9.164918308146083], [28.734866570762495, -8.526559340044576], [29.002912225060467, -8.40703175215347], [30.34608605319081, -8.238256524288216], [30.740015496551781, -8.340007419470913], [31.157751336950042, -8.594578747317362], [31.55634809746649, -8.76204884199864], [32.191864861791963, -8.930358981973276], [32.759375441221316, -9.230599053589058]]] } }, - { "type": "Feature", "properties": { "admin": "Zimbabwe", "name": "Zimbabwe", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[31.191409132621278, -22.251509698172395], [30.659865350067083, -22.151567478119912], [30.322883335091767, -22.271611830333931], [29.839036899542965, -22.102216485281172], [29.432188348109033, -22.091312758067584], [28.794656202924209, -21.639454034107445], [28.02137007010861, -21.485975030200578], [27.727227817503252, -20.851801853114711], [27.724747348753247, -20.499058526290387], [27.296504754350501, -20.391519870690995], [26.164790887158478, -19.293085625894935], [25.850391473094724, -18.714412937090533], [25.649163445750155, -18.536025892818987], [25.264225701608005, -17.736539808831413], [26.381935255648919, -17.846042168857892], [26.706773309035633, -17.961228936436477], [27.044427117630729, -17.938026218337427], [27.598243442502753, -17.290830580314005], [28.467906121542676, -16.468400160388843], [28.825868768028492, -16.389748630440611], [28.947463413211256, -16.043051446194436], [29.51683434420314, -15.644677829656386], [30.274255812305103, -15.507786960515208], [30.338954705534537, -15.880839125230242], [31.173063999157673, -15.860943698797868], [31.636498243951188, -16.071990248277881], [31.852040643040592, -16.319417006091374], [32.328238966610222, -16.392074069893749], [32.847638787575839, -16.713398125884613], [32.849860874164385, -17.979057305577175], [32.654885695127142, -18.672089939043492], [32.611994256324884, -19.419382826416268], [32.772707960752619, -19.715592136313294], [32.659743279762573, -20.30429005298231], [32.508693068173436, -20.395292250248303], [32.244988234188007, -21.116488539313689], [31.191409132621278, -22.251509698172395]]] } } - ] - }; - -var randomcountriesData1 = [ - { country: "Iran", "continent": "Asia", "CategoryName": "Books", "Sales": 550 }, - { country: "Benin", "continent": "Africa", "CategoryName": "Books", "Sales": 1000 }, - { country: "China", "continent": "Asia", "CategoryName": "Books", "Sales": 420 }, - { country: "Chile", "continent": "South America", "CategoryName": "Books", "Sales": 1100 }, - { country: "Cuba", "continent": "North America", "CategoryName": "Books", "Sales": 450 }, - { country: "Spain", "continent": "Europe", "CategoryName": "Books", "Sales": 1200 }, - { country: "Fiji", "continent": "Oceania", "CategoryName": "Books", "Sales": 618.0 }, -]; - -module mapcomponenet { - $(function () { - var mapsample = new ej.datavisualization.Map($("#map"), { - enableAnimation: true, - navigationControl: { - enableNavigation: true, - orientation: 'vertical', - absolutePosition: { x: 5, y: 15 }, - dockPosition: 'none' - }, - layers: [ - { - layerType: 'geometry', - enableMouseHover: false, - enableSelection: false, - shapeSettings: { - fill: "#626171", - autoFill: false, - highlightStroke: "white", - stroke: "white", - strokeThickness: 0.5, - highlightColor: "#BFBFBF" - }, - shapeData: world_map, - legendSettings: { dockOnMap: false } - } - ] - }); - }); -} - - - - - - - -module MenuComponent { - $(function () { - var sample = new ej.Menu($("#syncfusionProducts"),{ - width: "100%", - animationType: ej.AnimationType.Default, - cssClass: 'gradient-lime ', - enableAnimation: true, - enableSeparator: true, - height: 40, - htmlAttributes: { "aria-label": "menu" }, - menuType: "normalmenu", - orientation: ej.Orientation.Horizontal, - showRootLevelArrows: true, - showSubLevelArrows: true, - subMenuDirection: ej.Direction.Right, - titleText: "Menu", - - }); - }); - -} - - - - - - - - -module NavigationDrawerComponent { - $(function () { - var navigationdrawerInstance = new ej.NavigationDrawer($("#navpane"), { - targetId: "butdrawer", - contentId: "content_container", - type: "overlay", - direction: "left", - enableListView: true, - listViewSettings: { - width: 300, - selectedItemIndex: 0 - }, - position: "normal" - }); - $("#navpane_listview").click(function(e: any) { - var text=e.target["text"]||$(e.target).closest("li.e-list").text(); - $("#butdrawer").parent().children("h2").text(text); - }); - }); -} - - - -module PDFViewerComponent { - $(function () { - var pdfviewerControl = new ej.PdfViewer($("#pdfviewer"), { - serviceUrl:(window).baseurl+ "api/PdfViewer", - isResponsive: true - }); - }); -} - - - -module PivotChartOlap { - $(function () { - var sample = new ej.PivotChart($("#PivotChart"),{ - dataSource: { - data: "http://bi.syncfusion.com/olap/msmdpump.dll", - catalog: "Adventure Works DW 2008 SE", - cube: "Adventure Works", - rows: [ - { - fieldName: "[Date].[Fiscal]" - } - ], - columns: [ - { - fieldName: "[Customer].[Customer Geography]" - } - ], - values: [ - { - measures: [ - { - fieldName: "[Measures].[Internet Sales Amount]" - } - ], - axis: "columns" - } - ], - filters:[] - }, - isResponsive: true,zooming:{enableScrollbar: true}, - commonSeriesOptions: { - type: "column" - }, - size: { height: "460px", width: "100%" }, - primaryXAxis: { title: { text: "Date - Fiscal" }, labelRotation: 0 }, - primaryYAxis: { title: { text: "Internet Sales Amount" } }, - legend: { visible: true, rowCount: 2 } - }); - }); -} - - - -var pivot_dataset = [ - { Amount: 100, Country: "Canada", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Alberta" }, - { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Van", Quantity: 3, State: "British Columbia" }, - { Amount: 300, Country: "Canada", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Brunswick" }, - { Amount: 150, Country: "Canada", Date: "FY 2008", Product: "Bike", Quantity: 3, State: "Manitoba" }, - { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Car", Quantity: 4, State: "Ontario" }, - { Amount: 100, Country: "Canada", Date: "FY 2007", Product: "Van", Quantity: 1, State: "Quebec" }, - { Amount: 200, Country: "France", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Charente-Maritime" }, - { Amount: 250, Country: "France", Date: "FY 2006", Product: "Van", Quantity: 4, State: "Essonne" }, - { Amount: 300, Country: "France", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Garonne (Haute)" }, - { Amount: 150, Country: "France", Date: "FY 2008", Product: "Van", Quantity: 2, State: "Gers" }, - { Amount: 200, Country: "Germany", Date: "FY 2006", Product: "Van", Quantity: 3, State: "Bayern" }, - { Amount: 250, Country: "Germany", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Brandenburg" }, - { Amount: 150, Country: "Germany", Date: "FY 2008", Product: "Car", Quantity: 4, State: "Hamburg" }, - { Amount: 200, Country: "Germany", Date: "FY 2008", Product: "Bike", Quantity: 4, State: "Hessen" }, - { Amount: 150, Country: "Germany", Date: "FY 2007", Product: "Van", Quantity: 3, State: "Nordrhein-Westfalen" }, - { Amount: 100, Country: "Germany", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Saarland" }, - { Amount: 150, Country: "United Kingdom", Date: "FY 2008", Product: "Bike", Quantity: 5, State: "England" }, - { Amount: 250, Country: "United States", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Alabama" }, - { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Van", Quantity: 4, State: "California" }, - { Amount: 100, Country: "United States", Date: "FY 2006", Product: "Bike", Quantity: 2, State: "Colorado" }, - { Amount: 150, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "New Mexico" }, - { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Bike", Quantity: 4, State: "New York" }, - { Amount: 250, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "North Carolina" }, - { Amount: 300, Country: "United States", Date: "FY 2007", Product: "Van", Quantity: 4, State: "South Carolina" } -] - -module PivotChartRelational { - - $(function () { - var sample = new ej.PivotChart($("#PivotChart"),{ - dataSource: { - data: pivot_dataset, - rows: [ - { - fieldName: "Country", - fieldCaption: "Country" - }, - { - fieldName: "State", - fieldCaption: "State" - }, - { - fieldName: "Date", - fieldCaption: "Date" - } - ], - columns: [ - { - fieldName: "Product", - fieldCaption: "Product" - } - ], - values: [ - { - fieldName: "Amount", - fieldCaption: "Amount" - } - ], - filters:[] - }, - isResponsive: true,zooming:{enableScrollbar: true}, - commonSeriesOptions: { - type: "column" - }, - size: { height: "460px", width: "100%" }, - primaryYAxis: { title: { text: "Amount" } }, - legend: { visible: true } - }); - }); -} - - - -module PivotGaugeOlap { - - $(function () { - var sample = new ej.PivotGauge($("#PivotGauge"),{ - dataSource: { - data: "http://bi.syncfusion.com/olap/msmdpump.dll", - catalog: "Adventure Works DW 2008 SE", - cube: "Adventure Works", - rows: [ - { - fieldName: "[Date].[Fiscal]", - filterItems: { filterType: "include", values: ["[Date].[Fiscal].[Fiscal Year].&[2004]"] } - }, - ], - columns: [ - { - fieldName: "[Customer].[Customer Geography]" - } - ], - values: [ - { - measures: [ - { - fieldName: "[Measures].[Internet Sales Amount]" - }, - { - fieldName: "[Measures].[Internet Revenue Status]" - }, - { - fieldName: "[Measures].[Internet Revenue Trend]" - }, - { - fieldName: "[Measures].[Internet Revenue Goal]" - }, - ], - axis: "columns" - } - ], - filters:[] - }, - enableTooltip: true, isResponsive: true, - labelFormatSettings: { decimalPlaces: 2 }, - scales: [{ - showRanges: true, - radius: 150, showScaleBar: true, size: 1, - border: { - width: 0.5 - }, - showIndicators: true, showLabels: true, - pointers: [{ - showBackNeedle: true, - backNeedleLength: 20, - length: 120, - width: 7 - }, - { - type: "marker", - markerType: "diamond", - distanceFromScale: 5, - placement: "center", - backgroundColor: "#29A4D9", - length: 25, - width: 15 - }], - ticks: [{ - type: "major", - distanceFromScale: 2, - height: 16, - width: 1, color: "#8c8c8c" - }, - { - type: "minor", - height: 6, - width: 1, - distanceFromScale: 2, - color: "#8c8c8c" - }], - labels: [{ - color: "#8c8c8c" - }], - ranges: [{ - distanceFromScale: -5, - backgroundColor: "#fc0606", - border: { color: "#fc0606" } - }, - { - distanceFromScale: -5 - }], - customLabels: [{ - position: { x: 180, y: 290 }, - font: { size: "10px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" - }, - { - position: { x: 180, y: 320 }, - font: { size: "10px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" - }, - { - position: { x: 180, y: 150 }, - font: { size: "12px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" - }] - }] - }); - }); -} - - - -var pivot_dataset = [ - { Amount: 100, Country: "Canada", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Alberta" }, - { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Van", Quantity: 3, State: "British Columbia" }, - { Amount: 300, Country: "Canada", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Brunswick" }, - { Amount: 150, Country: "Canada", Date: "FY 2008", Product: "Bike", Quantity: 3, State: "Manitoba" }, - { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Car", Quantity: 4, State: "Ontario" }, - { Amount: 100, Country: "Canada", Date: "FY 2007", Product: "Van", Quantity: 1, State: "Quebec" }, - { Amount: 200, Country: "France", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Charente-Maritime" }, - { Amount: 250, Country: "France", Date: "FY 2006", Product: "Van", Quantity: 4, State: "Essonne" }, - { Amount: 300, Country: "France", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Garonne (Haute)" }, - { Amount: 150, Country: "France", Date: "FY 2008", Product: "Van", Quantity: 2, State: "Gers" }, - { Amount: 200, Country: "Germany", Date: "FY 2006", Product: "Van", Quantity: 3, State: "Bayern" }, - { Amount: 250, Country: "Germany", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Brandenburg" }, - { Amount: 150, Country: "Germany", Date: "FY 2008", Product: "Car", Quantity: 4, State: "Hamburg" }, - { Amount: 200, Country: "Germany", Date: "FY 2008", Product: "Bike", Quantity: 4, State: "Hessen" }, - { Amount: 150, Country: "Germany", Date: "FY 2007", Product: "Van", Quantity: 3, State: "Nordrhein-Westfalen" }, - { Amount: 100, Country: "Germany", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Saarland" }, - { Amount: 150, Country: "United Kingdom", Date: "FY 2008", Product: "Bike", Quantity: 5, State: "England" }, - { Amount: 250, Country: "United States", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Alabama" }, - { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Van", Quantity: 4, State: "California" }, - { Amount: 100, Country: "United States", Date: "FY 2006", Product: "Bike", Quantity: 2, State: "Colorado" }, - { Amount: 150, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "New Mexico" }, - { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Bike", Quantity: 4, State: "New York" }, - { Amount: 250, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "North Carolina" }, - { Amount: 300, Country: "United States", Date: "FY 2007", Product: "Van", Quantity: 4, State: "South Carolina" } -] - -module PivotGaugeRelational { - $(function () { - var sample = new ej.PivotGauge($("#PivotGauge"),{ - dataSource: { - data: pivot_dataset, - rows: [ - { - fieldName: "Country", - }, - { - fieldName: "State", - } - ], - columns: [ - { - fieldName: "Product", - } - ], - values: [ - { - fieldName: "Amount", - }, - { - fieldName: "Quantity", - } - ] - }, - enableTooltip: true, isResponsive: true, - labelFormatSettings: { decimalPlaces: 2 }, - scales: [{ - showRanges: true, - radius: 150, showScaleBar: true, size: 1, - border: { - width: 0.5 - }, - showIndicators: true, showLabels: true, - pointers: [{ - showBackNeedle: true, - backNeedleLength: 20, - length: 120, - width: 7 - }, - { - type: "marker", - markerType: "diamond", - distanceFromScale: 5, - placement: "center", - backgroundColor: "#29A4D9", - length: 25, - width: 15 - }], - ticks: [{ - type: "major", - distanceFromScale: 2, - height: 16, - width: 1, color: "#8c8c8c" - }, - { - type: "minor", - height: 6, - width: 1, - distanceFromScale: 2, - color: "#8c8c8c" - }], - labels: [{ - color: "#8c8c8c" - }], - ranges: [{ - distanceFromScale: -5, - backgroundColor: "#fc0606", - border: { color: "#fc0606" } - }, - { - distanceFromScale: -5 - }], - customLabels: [{ - position: { x: 180, y: 290 }, - font: { size: "10px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" - }, - { - position: { x: 180, y: 320 }, - font: { size: "10px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" - }, - { - position: { x: 180, y: 150 }, - font: { size: "12px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" - }] - }] - }); - }); -} - - - -module PivotGridOlap { - - $(function () { - var sample = new ej.PivotGrid($("#PivotGrid"),{ - dataSource: { - data: "http://bi.syncfusion.com/olap/msmdpump.dll", - catalog: "Adventure Works DW 2008 SE", - cube: "Adventure Works", - rows: [ - { - fieldName: "[Date].[Fiscal]" - } - ], - columns: [ - { - fieldName: "[Customer].[Customer Geography]" - } - ], - values: [ - { - measures: [ - { - fieldName: "[Measures].[Internet Sales Amount]", - } - ], - axis: "columns" - } - ], - filters:[] - }, - enableGroupingBar: true, - pivotTableFieldListID:"PivotSchemaDesigner" - }); - $("#PivotSchemaDesigner").ejPivotSchemaDesigner(); - }); -} - - - -var pivot_dataset = [ - { Amount: 100, Country: "Canada", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Alberta" }, - { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Van", Quantity: 3, State: "British Columbia" }, - { Amount: 300, Country: "Canada", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Brunswick" }, - { Amount: 150, Country: "Canada", Date: "FY 2008", Product: "Bike", Quantity: 3, State: "Manitoba" }, - { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Car", Quantity: 4, State: "Ontario" }, - { Amount: 100, Country: "Canada", Date: "FY 2007", Product: "Van", Quantity: 1, State: "Quebec" }, - { Amount: 200, Country: "France", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Charente-Maritime" }, - { Amount: 250, Country: "France", Date: "FY 2006", Product: "Van", Quantity: 4, State: "Essonne" }, - { Amount: 300, Country: "France", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Garonne (Haute)" }, - { Amount: 150, Country: "France", Date: "FY 2008", Product: "Van", Quantity: 2, State: "Gers" }, - { Amount: 200, Country: "Germany", Date: "FY 2006", Product: "Van", Quantity: 3, State: "Bayern" }, - { Amount: 250, Country: "Germany", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Brandenburg" }, - { Amount: 150, Country: "Germany", Date: "FY 2008", Product: "Car", Quantity: 4, State: "Hamburg" }, - { Amount: 200, Country: "Germany", Date: "FY 2008", Product: "Bike", Quantity: 4, State: "Hessen" }, - { Amount: 150, Country: "Germany", Date: "FY 2007", Product: "Van", Quantity: 3, State: "Nordrhein-Westfalen" }, - { Amount: 100, Country: "Germany", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Saarland" }, - { Amount: 150, Country: "United Kingdom", Date: "FY 2008", Product: "Bike", Quantity: 5, State: "England" }, - { Amount: 250, Country: "United States", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Alabama" }, - { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Van", Quantity: 4, State: "California" }, - { Amount: 100, Country: "United States", Date: "FY 2006", Product: "Bike", Quantity: 2, State: "Colorado" }, - { Amount: 150, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "New Mexico" }, - { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Bike", Quantity: 4, State: "New York" }, - { Amount: 250, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "North Carolina" }, - { Amount: 300, Country: "United States", Date: "FY 2007", Product: "Van", Quantity: 4, State: "South Carolina" } -] - -module PivotGridRelational { - $(function () { - var sample = new ej.PivotGrid($("#PivotGrid"),{ - dataSource: { - data: pivot_dataset, - rows: [ - { - fieldName: "Country", - fieldCaption: "Country" - }, - { - fieldName: "State", - fieldCaption: "State" - } - ], - columns: - [{ - fieldName: "Product", - fieldCaption: "Product" - } - ], - values: [ - { - fieldName: "Amount", - fieldCaption: "Amount" - }, - { - fieldName: "Quantity", - fieldCaption: "Quantity" - } - ], - filters:[] - }, - enableGroupingBar: true, - pivotTableFieldListID:"PivotSchemaDesigner" - }); - $("#PivotSchemaDesigner").ejPivotSchemaDesigner(); - - }); -} - - - -module PivotTreeMap { - $(function () { - var sample = new ej.PivotTreeMap($("#PivotTreeMap"),{ - dataSource: { - data: "http://bi.syncfusion.com/olap/msmdpump.dll;Locale Identifier=1033;", - catalog: "Adventure Works DW 2008 SE", - cube: "Adventure Works", - rows: [ - { - fieldName: "[Customer].[Customer Geography]" - } - ], - columns: [ - { - fieldName: "[Date].[Fiscal]" - } - ], - values: [ - { - measures: [ - { - fieldName: "[Measures].[Customer Count]", - } - ], - axis: "columns" - } - ], - filters:[] - } - }); - }); -} - - - -module ProgressBarComponent { - $(function () { - var sample = new ej.ProgressBar($("#progressBar"),{ - width: 200, - value: 45, - height: 20, - enablePersistence: true, - maxValue: 200, - minValue: 0, - showRoundedCorner: true, - text: 'loading...' - }); - }); - -} - - - - -declare var rteObj: any; -declare var data: any; -var radialEle = $('#defaultradialmenu'), action = 0, forRedo = 0; -var rteEle = $("#rteSample1"); -module RadialMenuComponent { - $(function () { - - if (!(ej.browserInfo().name == "msie" && parseInt(ej.browserInfo().version) < 9)) { - var radialmenuInstance = new ej.RadialMenu($("#defaultradialmenu"), { - imageClass: "imageclass", - backImageClass: "backimageclass", - targetElementId: "radialtarget1" - }); - $("#radialtarget1").parent().css("position", "relative"); - } - else { - $("#contentDiv").html("Radial Menu is only supported from Internet Explorer Versioned 9 and above.").css({ "font-size": "20px", "color": "red" }); - } - var rteInstance = new ej.RTE($("#rteSample1"), { - width: "100%", - minWidth: "10px", - change: (e) => { radialEle.ejRadialMenu("enableItem", "Undo"); }, - select: (e) => { - var target = $("#radialtarget1"), radialRadius = 150, radialDiameter = 2 * radialRadius, - // To get Iframe positions - iframeY = e.event.clientY, iframeX = e.event.clientX, - // To set Radial Menu position within target - x = iframeX > target.width() - radialRadius ? target.width() - radialDiameter : (iframeX > radialRadius ? iframeX - radialRadius : 0), - y = iframeY > target.height() - radialRadius ? target.height() - radialDiameter : (iframeY > radialRadius ? iframeY - radialRadius : 0); - radialEle.ejRadialMenu("setPosition", x, y); - radialEle.focus(); - $('iframe').contents().find('body').blur(); - }, - showToolbar: false, - showContextMenu: false - }); - $(window).resize(function () { - if (ej.isMobile() && ej.isPortrait()) - $('#defaultradialmenu').css({ "left": 25 }); - }); - }); -} - - -function bold(e: any) { - - rteObj = rteEle.data("ejRTE"); - rteObj.executeCommand("bold"); - data = rteObj._getSelectedHtmlString() ? true : false; - if (data) action += 1; - forRedo = action; - radialEle.focus(); -} -function italic(e: any) { - rteObj = rteEle.data("ejRTE"); - rteObj.executeCommand("italic"); - data = rteObj._getSelectedHtmlString() ? true : false; - if (data) action += 1; - forRedo = action; - radialEle.focus(); -} -function undo(e: any) { - rteObj = rteEle.data("ejRTE"); - rteObj.executeCommand("undo"); - action -= 1; - if (action == 0) - radialEle.ejRadialMenu("disableItem", "Undo"); - radialEle.ejRadialMenu("enableItem", "Redo"); - radialEle.focus(); -} -function redo(e: any) { - rteObj = rteEle.data("ejRTE"); - rteObj.executeCommand("redo"); - action += 1; - if (forRedo == action) radialEle.ejRadialMenu("disableItem", "Redo"); - radialEle.ejRadialMenu("enableItem", "Undo"); - radialEle.focus(); -} - - - - -module RadialSliderComponent { - $(function () { - var radialsliderInstance = new ej.RadialSlider($("#radialSlider"), { - innerCircleImageUrl: "images/radialslider/chevron-right.png" - }); - }); -} - - -module rangecomponent { - $(function () { - var linearsample = new ej.datavisualization.RangeNavigator($("#RangeNavigator"), { - enableDeferredUpdate: true, - padding: "15", - allowSnapping: true, - selectedRangeSettings: { - start: "2010/5/1", end: "2011/10/1" - }, - isResponsive: true, - tooltipSettings: { - visible: true, labelFormat: "MM/dd/yyyy", backgroundColor: "gray", tooltipDisplayMode: "ondemand" - }, - load: () => { - var rn = $("#RangeNavigator").data("ejRangeNavigator"); - rn.model.series = [ - { - type: 'line', - dataSource: data.Open, xName: "XValue", yName: "YValue", - fill: '#69D2E7' - } - ]; - } - - }); - }); -} -var data; -data = GetData(); - -function GetData() { - var series1:any[]=[]; - var series2:any[]= []; - var value = 100; - var value1 = 120; - for (var i = 1; i < 730; i++) { - - if (Math.random() > .5) { - value += Math.random(); - value1 += Math.random(); - } else { - value -= Math.random(); - value1 -= Math.random(); - } - var point1 = { XValue: new Date(2010, 0, i), YValue: value }; - var point2 = { XValue: new Date(2010, 0, i), YValue: value1 }; - series1.push(point1); - series2.push(point2); - } - - data = { Open: series1, Close: series2 }; - return data; -}; - - - -module RatingComponent { - $(function () { - - var sample1 = new ej.Rating($("#fullRating"),{ - value: 4, - precision: ej.Rating.Precision.Full, - allowReset: true, - cssClass: "gradient-lime", - enabled: true, - enablePersistence: true, - incrementStep: 2, - maxValue: 10, - minValue: 0, - orientation: ej.Orientation.Horizontal, - shapeHeight: 25, - shapeWidth: 25, - showTooltip: true - }); - - var sample2 = new ej.Rating($("#halfRating"),{ - precision: ej.Rating.Precision.Half, - value: 3.5, - allowReset: true, - cssClass: "gradient-lime", - enabled: true, - enablePersistence: true, - incrementStep: 2, - maxValue: 10, - minValue: 0, - orientation: "horizontal", - shapeHeight: 25, - shapeWidth: 25, - showTooltip: true - }); - - var sample3 = new ej.Rating($("#exactRating"),{ - precision: ej.Rating.Precision.Exact, - value: 3.7, - allowReset: true, - cssClass: "gradient-lime", - enabled: true, - enablePersistence: true, - incrementStep: 2, - maxValue: 10, - minValue: 0, - orientation: "horizontal", - shapeHeight: 25, - shapeWidth: 25, - showTooltip: true - }); - }); - -} - - - -module ReportViewerComponent { - $(function () { - var report = new ej.ReportViewer($("#territoryReportViewer"), { - reportServiceUrl: (window).baseurl + 'api/ReportViewer', - reportServerUrl: 'http://mvc.syncfusion.com/reportserver', - processingMode: ej.ReportViewer.ProcessingMode.Remote, - reportPath: "/SSRSSamples2/Territory Sales new", - isResponsive: true - }); - }); -} - - - -var fontfamily = ["Segoe UI", "Arial", "Times New Roman", "Tahoma", "Helvetica"], fontsize = ["1pt", "2pt", "3pt", "4pt", "5pt"], action1 = ["New", "Clear"], action2 = ["Bold", "Italic", "Underline", "strikethrough", "superscript", "subscript", "JustifyLeft", "JustifyCenter", "JustifyRight", "JustifyFull", "Undo", "Redo"]; -module RibbonComponent { - $(function () { - var sample = new ej.Ribbon($("#defaultRibbon"), { - width: "100%", - expandPinSettings: { - toolTip: "Collapse the Ribbon" - }, - collapsePinSettings: { - toolTip: "Pin the Ribbon" - }, - applicationTab: { - type: ej.Ribbon.ApplicationTabType.Menu, menuItemID: "ribbonmenu", menuSettings: { openOnClick: false } - }, - tabs: [{ - id: "home", text: "HOME", groups: [{ - text: "New", alignType: ej.Ribbon.AlignType.Rows, content: [{ - groups: [{ - id: "new", - text: "New", - toolTip: "New", - buttonSettings: { - contentType: ej.ContentType.ImageOnly, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-new", - click: "onClick" - } - } - ], - defaults: { - type: "button", - width: 60, - height: 70 - } - }] - }, - { - text: "Clipboard", alignType: ej.Ribbon.AlignType.Columns, content: [{ - groups: [{ - id: "paste", - text: "paste", - toolTip: "Paste", - splitButtonSettings: { - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-ribbonpaste", - targetID: "pasteSplit", - buttonMode: "dropdown", - click: "onClick", - arrowPosition: ej.ArrowPosition.Bottom - } - } - ], - defaults: { - type: "splitbutton", - width: 50, - height: 70 - } - }, - { - groups: [{ - id: "cut", - text: "Cut", - toolTip: "Cut", - buttonSettings: { - contentType: ej.ContentType.TextAndImage, - click: "onClick", - prefixIcon: "e-icon e-ribbon e-ribboncut" - } - }, - { - id: "copy", - text: "Copy", - toolTip: "Copy", - buttonSettings: { - contentType: ej.ContentType.TextAndImage, - click: "onClick", - prefixIcon: "e-icon e-ribbon e-ribboncopy" - } - }, - { - id: "clear", - text: "Clear", - toolTip: "Clear All", - buttonSettings: { - contentType: ej.ContentType.TextAndImage, - click: "onClick", - prefixIcon: "e-icon e-ribbon clearAll" - } - }], - defaults: { - type: "button", - width: 60, - isBig: false - } - }] - }, - { - text: "Font", alignType: "rows", content: [{ - groups: [{ - id: "fontfamily", - toolTip: "Font", - dropdownSettings: { - dataSource: fontfamily, - text: "Segoe UI", - select: "onClick", - width: 150 - } - }, - { - id: "fontsize", - toolTip: "FontSize", - dropdownSettings: { - dataSource: fontsize, - text: "1pt", - select: "onClick", - width: 65 - } - }], - defaults: { - type: "dropdownlist", - height: 28 - } - }, - { - groups: [{ - id: "bold", - toolTip: "Bold", - type: ej.Ribbon.Type.ToggleButton, - toggleButtonSettings: { - contentType: ej.ContentType.ImageOnly, - defaultText: "Bold", - activeText: "Bold", - click: "onClick", - defaultPrefixIcon: "e-icon e-ribbon bold", - activePrefixIcon: "e-icon e-ribbon bold" - } - }, - { - id: "italic", - toolTip: "Italic", - type: ej.Ribbon.Type.ToggleButton, - toggleButtonSettings: { - contentType: ej.ContentType.ImageOnly, - defaultText: "Italic", - activeText: "Italic", - click: "onClick", - defaultPrefixIcon: "e-icon e-ribbon e-ribbonitalic", - activePrefixIcon: "e-icon e-ribbon e-ribbonitalic" - } - }, - { - id: "underline", - text: "Underline", - toolTip: "Underline", - type: ej.Ribbon.Type.ToggleButton, - toggleButtonSettings: { - contentType: ej.ContentType.ImageOnly, - defaultText: "Underline", - activeText: "Underline", - click: "onClick", - defaultPrefixIcon: "e-icon e-ribbon e-ribbonunderline", - activePrefixIcon: "e-icon e-ribbon e-ribbonunderline" - } - }, - { - id: "strikethrough", - text: "strikethrough", - toolTip: "Strikethrough", - type: ej.Ribbon.Type.ToggleButton, - toggleButtonSettings: { - contentType: ej.ContentType.ImageOnly, - defaultText: "Strikethrough", - activeText: "Strikethrough", - click: "onClick", - defaultPrefixIcon: "e-icon e-ribbon strikethrough", - activePrefixIcon: "e-icon e-ribbon strikethrough" - } - }, - { - id: "superscript", - text: "superscript", - toolTip: "Superscript", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-superscripticon" - } - }, - { - id: "subscript", - text: "subscript", - toolTip: "Subscript", - enableSeparator: true, - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-subscripticon" - } - }, - { - id: "fontcolor", - text: "Font Color", - toolTip: "Font Color", - type: ej.Ribbon.Type.Custom, - contentID: "fontcolor" - }, - { - id: "fillcolor", - text: "Fill Color", - toolTip: "Fill Color", - type: ej.Ribbon.Type.Custom, - contentID: "fillcolor" - } - ], - defaults: { - isBig: false - } - }] - }, - { - text: "Alignment", alignType: ej.Ribbon.AlignType.Rows, content: [ - { - groups: [{ - id: "bullet", - text: "Bullet Format", - toolTip: "Bullets", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-bullet" - } - }, - { - id: "number", - text: "Number Format", - toolTip: "Numbering", - enableSeparator: true, - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-numbericon" - } - }, - { - id: "textindent", - text: "Indent", - toolTip: "Text Indent", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-indent" - } - }, - { - id: "textoudent", - text: "Outdent", - toolTip: "Text Outdent", - enableSeparator: true, - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-outdent" - } - }, - { - id: "sortascending", - text: "Sort", - toolTip: "Sort", - enableSeparator: true, - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-sort" - } - }, - { - id: "border", - text: "Border", - toolTip: "Border", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-border" - } - }], - defaults: { - type: "button", - isBig: false - } - }, - { - groups: [{ - id: "alignleft", - text: "JustifyLeft", - toolTip: "Align Left", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon alignleft" - } - }, - { - id: "aligncenter", - text: "JustifyCenter", - toolTip: "Align Center", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon aligncenter" - } - }, - { - id: "alignright", - text: "JustifyRight", - toolTip: "Align Right", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon alignright" - } - }, - { - id: "justify", - text: "JustifyFull", - toolTip: "Justify", - enableSeparator: true, - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon justify" - } - }, - { - id: "uppercase", - text: "Upper Case", - toolTip: "Upper Case", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-uppercase" - } - }, - { - id: "lowercase", - text: "Lower Case", - toolTip: "Lower Case", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-lowercase" - } - }], - defaults: { - type: "button", - isBig: false - } - }] - }, - { - text: "Actions", alignType: ej.Ribbon.AlignType.Rows, content: [{ - groups: [{ - id: "undo", - text: "Undo", - toolTip: "Undo", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-undo" - } - }, - { - id: "redo", - text: "Redo", - toolTip: "Redo", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-redo" - } - } - ], - defaults: { - type: "button", - width: 40, - height: 70 - } - }] - }, - { - text: "View", alignType: ej.Ribbon.AlignType.Rows, content: [{ - groups: [{ - id: "zoomin", - text: "Zoom In", - toolTip: "Zoom In", - buttonSettings: { - width: 58, - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-zoomin" - } - }, - { - id: "zoomout", - text: "Zoom Out", - toolTip: "Zoom Out", - buttonSettings: { - width: 70, - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-zoomout" - } - }, - { - id: "fullscreen", - text: "Full Screen", - toolTip: "Full Screen", - buttonSettings: { - width: 73, - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-fullscreen" - } - } - ], - defaults: { - type: "button", - height: 70 - } - }] - }] - },{ - id: "insert", text: "INSERT", groups: [{ - text: "Tables", alignType: ej.Ribbon.AlignType.Columns, content: [{ - groups: [{ - id: "tables", - text: "Tables", - toolTip: "Tables", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-table" - } - } - ], - defaults: { - type: "button", - width: 50, - height: 70 - } - }] - }, - { - text: "Illustrations", alignType: ej.Ribbon.AlignType.Rows, content: [{ - groups: [{ - id: "pictures", - text: "Pictures", - toolTip: "Pictures", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-picture" - } - }, - { - id: "videos", - text: "Videos", - toolTip: "Videos", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-video" - } - }, - { - id: "shapes", - text: "Shapes", - toolTip: "Shapes", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-shape" - } - }, - { - id: "charts", - text: "Charts", - toolTip: "Charts", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-chart" - } - } - ], - defaults: { - type: "button", - width: 56, - height: 70 - } - }] - }, - { - text: "Comments", alignType: ej.Ribbon.AlignType.Rows, content: [{ - groups: [{ - id: "comments", - text: "Comments", - toolTip: "Comments", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-comment" - } - } - ], - defaults: { - type: "button", - width: 70, - height: 70 - } - }] - }, - { - text: "Text", alignType: ej.Ribbon.AlignType.Rows, content: [{ - groups: [{ - id: "text", - text: "Text", - toolTip: "Text", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-text", - width: 50 - } - }, - { - id: "datetime", - text: "Date Time", - toolTip: "DateTime", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-datetimenew" - } - } - ], - defaults: { - type: "button", - width: 70, - height: 70 - } - }] - }, - { - text: "Hyperlink", alignType: ej.Ribbon.AlignType.Rows, content: [{ - groups: [{ - id: "hyperlink", - text: "Hyperlink", - toolTip: "Hyperlink", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-hyperlink" - } - } - ], - defaults: { - type: "button", - width: 70, - height: 70 - } - }] - }, - { - text: "Equation", alignType: ej.Ribbon.AlignType.Rows, content: [{ - groups: [{ - id: "equation", - text: "Equation", - toolTip: "Equation", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-equation" - } - } - ], - defaults: { - type: "button", - width: 60, - height: 70 - } - }] - }, - { - text: "Print Layout", alignType: ej.Ribbon.AlignType.Rows, content: [{ - groups: [{ - id: "printlayout", - text: "Print Layout", - toolTip: "Print Layout", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-printlayout" - } - } - ], - defaults: { - type: "button", - width: 80, - height: 70 - } - }] - }, - { - text: "Save", alignType: ej.Ribbon.AlignType.Rows, content: [{ - groups: [{ - id: "print", - text: "Print", - toolTip: "Print", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-print" - } - }, - { - id: "save", - text: "Save", - toolTip: "Save", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-save" - } - } - ], - defaults: { - type: "button", - width: 50, - height: 70 - } - }] - } - ] - } - ], - create: function createControl(args) { - var ribbon = $("#defaultRibbon").data("ejRibbon"); - $("#fontcolor").ejColorPicker({ value: "#FFFF00", modelType: "palette", cssClass: "e-ribbon", toolIcon: "e-fontcoloricon", select: colorHandler }); - $("#fillcolor").ejColorPicker({ value: "#FF0000", modelType: "palette", cssClass: "e-ribbon", toolIcon: "e-fillcoloricon", select: colorHandler }); - } - }); - }); -} -function colorHandler(args:any) { - (this._id.indexOf("fillcolor") != -1) ? $("#contenteditor").css('background-color', args.value) : document.execCommand('forecolor', false, args.value); -} -function onClick(args) { - var val, prop = args.text; - val = (ej.isNullOrUndefined(args.model.text)) ? args.model.activeText : args.model.text; - if (action1.indexOf(val) != -1) - $("#contenteditor").empty(); - else if (action2.indexOf(val) != -1) - document.execCommand(val, false, null); - else if (fontfamily.indexOf(prop) != -1) - document.execCommand("FontName", false, prop); - else if (fontsize.indexOf(prop) != -1) - document.execCommand("FontSize", false, prop.replace("pt", "")); - else - $("#contenteditor").append("

Action: " + val + " Triggered

"); -} - - - - - - -module RotatorComponent { - $(function () { - var rotatorInstance = new ej.Rotator($("#sliderContent"), { - slideWidth: "100%", - frameSpace: "0px", - slideHeight: "auto", - displayItemsCount: "1", - navigateSteps: "1", - pagerPosition:"outside", - orientation: "horizontal", - showPager: true, - enabled: true, - showCaption: true, - allowKeyboardNavigation: true, - showPlayButton: true, - isResponsive:true, - animationType: "slide", - }); - }); -} - - - -module RTEComponent { - $(function () { - var sample = new ej.RTE($("#rteSample"),{ - width: "100%", - minWidth: "150px", - showFooter: true, - showHtmlSource: true, - allowEditing: true, - allowKeyboardNavigation: true, - autoFocus: true, - autoHeight: true, - colorPaletteColumns: 10, - colorPaletteRows: 5, - cssClass: 'gradient-lime', - enableResize: true, - enableTabKeyNavigation: true, - fileBrowser: { - filePath: (window).baseurl + "Content/FileBrowser/", - extensionAllow: "*.png, *.doc, *.pdf, *.txt, *.docx", - ajaxAction: (window).baseurl + "api/FileExplorer/FileOperations" - }, - imageBrowser: { - filePath: (window).baseurl + "Content/FileBrowser/", - extensionAllow: "*.png, *.gif, *.jpg, *.jpeg, *.docx", - ajaxAction: (window).baseurl + "api/FileExplorer/FileOperations" - }, - isResponsive: true, - showClearAll: true, - showClearFormat: true, - showDimensions: true, - showCharCount: true, - tools: { - formatStyle: ["format"], - edit: ["findAndReplace"], - font: ["fontName", "fontSize", "fontColor", "backgroundColor"], - style: ["bold", "italic", "underline", "strikethrough"], - alignment: ["justifyLeft", "justifyCenter", "justifyRight", "justifyFull"], - lists: ["unorderedList", "orderedList"], - clipboard: ["cut", "copy", "paste"], - doAction: ["undo", "redo"], - indenting: ["outdent", "indent"], - clear: ["clearFormat", "clearAll"], - links: ["createLink", "removeLink"], - images: ["image"], - media: ["video"], - tables: ["createTable", "addRowAbove", "addRowBelow", "addColumnLeft", "addColumnRight", "deleteRow", "deleteColumn", "deleteTable"], - effects: ["superscript", "subscript"], - casing: ["upperCase", "lowerCase"], - view: ["fullScreen", "zoomIn", "zoomOut"], - print: ["print"], - customUnorderedList: [{ - name: "unOrderInsert", - tooltip: "Custom UnOrderList", - css: "e-rte-toolbar-icon e-rte-unlistitems customUnOrder", - text: "Smiley", - listImage: "url('../content/images/rte/Smiley-GIF.gif')" - }], - customOrderedList: [{ - name: "orderInsert", - tooltip: "Custom OrderList", - css: "e-rte-toolbar-icon e-rte-listitems customOrder", - text: "Lower-Greek", - listStyle: "lower-greek" - }] - } - }); - }); - -} - - - -module ScheduleComponent { - $(function () { - var sample = new ej.Schedule($("#Schedule1"), { - width: "100%", - height: "525px", - currentDate: new Date(2017, 5, 5), - timeScale: { - minorSlotCount: 4, - majorSlot: 60 - }, - contextMenuSettings: { - enable: true, - menuItems: { - appointment: [ - { id: "open", text: "Open Appointment" }, - { id: "delete", text: "Delete Appointment" }, - { id: "customMenu3", text: "Menu Item 3" }, - { id: "customMenu4", text: "Menu Item 4" } - ], - cells: [ - { id: "new", text: "New Appointment" }, - { id: "recurrence", text: "New Recurring Appointment" }, - { id: "today", text: "Today" }, - { id: "gotodate", text: "Go to date" }, - { id: "settings", text: "Settings" }, - { id: "view", text: "View", parentId: "settings" }, - { id: "timemode", text: "TimeMode", parentId: "settings" }, - { id: "view_Day", text: "Day", parentId: "view" }, - { id: "view_Week", text: "Week", parentId: "view" }, - { id: "view_Workweek", text: "Workweek", parentId: "view" }, - { id: "view_Month", text: "Month", parentId: "view" }, - { id: "timemode_Hour12", text: "12 Hours", parentId: "timemode" }, - { id: "timemode_Hour24", text: "24 Hours", parentId: "timemode" }, - { id: "workhours", text: "Work Hours", parentId: "settings" }, - { id: "customMenu1", text: "Menu Item 1" }, - { id: "customMenu2", text: "Menu Item 2" } - ] - } - }, - resources: [{ - field: "ownerId", - title: "Owner", - name: "Owners", allowMultiple: true, - resourceSettings: { - dataSource: [ - { text: "Nancy", id: 1, groupId: 1, color: "#f8a398" }, - { text: "Steven", id: 3, groupId: 2, color: "#56ca85" }, - { text: "Michael", id: 5, groupId: 1, color: "#51a0ed" } - ], - text: "text", id: "id", groupId: "groupId", color: "color" - } - }], - appointmentSettings: { - dataSource: new ej.DataManager((window).ResourcesData).executeLocal(new ej.Query().take(10)), - id: "Id", - subject: "Subject", - startTime: "StartTime", - endTime: "EndTime", - description: "Description", - allDay: "AllDay", - recurrence: "Recurrence", - recurrenceRule: "RecurrenceRule", - resourceFields: "ownerId" - } - }); - }); -} - - - -module ScrollerComponent { - $(function () { - var scrollerSample = new ej.Scroller($("#scrollcontent"), { - height: "300px", - width: "100%" - }); - $(window).bind('resize', function () { - scrollerSample.refresh(); - }); - - }); -} - - - -module SignatureComponent { - $(function () { - var basicSignature = new ej.Signature($("#signature"), { - height: "400px", - isResponsive: true, - strokeWidth: 3 - }); - }); -} - - - - -module SliderComponent { - $(function () { - var slider = new ej.Slider($("#minSlider"), { - sliderType: "MinRange", - value: 60, - minValue: 0, - maxValue: 100 - }); - var rangeslider = new ej.Slider($("#rangeSlider"), { - sliderType: "Range", - values: [30, 60], - minValue: 0 - }); - - }); -} - - - - - - -module linesparkline { - $(function () { - - var sparklinesample = new ej.Sparkline($("#line"), { - dataSource: [12, 14, 11, 12, 11, 15, 12, 10, 11, 12, 15, 13, 12, 11, 10, 13, 15, 12, 14, 16, 14, 12, 11], - tooltip: { - visible: true, - font: { size:"12px" } - }, - type: "line", - size: { height: "40", width:"170" }, - }); - }); -} - -module columnsparkline { - $(function () { - var sparkcolumnsample = new ej.Sparkline($("#column"), { - dataSource: [2, 6, -1, 1, 12, 5, -2, 7, -3, 5, 8, 10,], - negativePointColor: "red", - highPointColor: "blue", - tooltip: { - visible: true, - font: { - size: "12px", - } - }, - type: "column", - size: { height: "100", width: "150" }, - }); - }); -} - -module areasparkline { - $(function () { - var sparkareasample = new ej.Sparkline($("#area"), { - dataSource: [12, -10, 11, 8, 17, 6, 2, -17, 13, -6, 8, 10,], - markerSettings: { visible: true }, - highPointColor: "blue", - lowPointColor: "orange", - type: "area", - opacity: 0.5, - tooltip: { - visible: true, - font: { - size: "12px", - } - }, - size: { height: "100", width: "150" }, - }); - }); -} - -module windlosssparkline { - $(function () { - var sparkwinlosssample = new ej.Sparkline($("#winloss"), { - dataSource: [12, 15, -11, 13, 17, 0, -12, 17, 13, -15, 8, 10,], - type: "winloss", - size: { height: "100", width: "150" }, - }); - }); -} - -module piesparkline1 { - $(function () { - var sparkpiesample1 = new ej.Sparkline($("#pie1"), { - dataSource: [4, 6, 7], - type: "pie", - tooltip: { - visible: true, - font: { - size: "12px", - } - }, - size: { height: "40", width: "40" }, - }); - }); -} - -module piesparkline2 { - $(function () { - var sparkpiesample2 = new ej.Sparkline($("#pie2"), { - dataSource: [8, 9, 1,], - type: "pie", - tooltip: { - visible: true, - font: { - size: "12px", - } - }, - size: { height: "40", width: "40" }, - }); - }); -} - -module piesparkline3 { - $(function () { - var sparkpiesample3 = new ej.Sparkline($("#pie3"), { - dataSource: [2, 3, 5], - type: "pie", - tooltip: { - visible: true, - font: { - size: "12px", - } - }, - size: { height: "40", width: "40" }, - }); - }); -} - -module piesparkline4 { - $(function () { - var sparkpiesample4 = new ej.Sparkline($("#pie4"), { - dataSource: [10, 12, 11], - type: "pie", - tooltip: { - visible: true, - font: { - size: "12px", - } - }, - size: { height: "40", width: "40" }, - }); - }); -} - - - - - - -module SplitterComponent { - $(function () { - var splitterInstance = new ej.Splitter($("#outterSpliter"), { - height: "250px", - width: "50%", - orientation: ej.Orientation.Vertical, - properties: [{}, { paneSize: 80 }], - isResponsive:true - }); - var splitterInstance1 = new ej.Splitter($("#innerSpliter"), { - isResponsive:true, - }); - }); -} - - - -module SpreadsheetComponent { -$(function () { - var sample = new ej.Spreadsheet($("#basicSpreadsheet"), { - scrollSettings: { - height: 550, - }, - importSettings: { - importMapper: (window).baseurl + "api/Spreadsheet/Import" - }, - exportSettings: { - excelUrl: (window).baseurl + "api/Spreadsheet/ExcelExport", - csvUrl: (window).baseurl + "api/Spreadsheet/CsvExport", - pdfUrl: (window).baseurl + "api/Spreadsheet/PdfExport" - }, - sheets: [{ rangeSettings: [{ dataSource: (window).defaultData, startCell: "A1" }] }], - loadComplete: () => { - var spreadsheet = $("#basicSpreadsheet").data("ejSpreadsheet"), xlFormat = spreadsheet.XLFormat; - if (!(spreadsheet).isImport) { - spreadsheet.setWidthToColumns([140, 128, 105, 100, 100, 110, 120, 120, 100]); - xlFormat.format({ "style": { "font-weight": "bold" } }, "A1:H1"); - xlFormat.format({ "type": "currency" }, "E2:H11"); - spreadsheet.XLRibbon.updateRibbonIcons(); - }} - }); - }); -} - - - - -var default_data: Array = [ - { Category : "Employees", Country : "USA", JobDescription : "Sales", JobGroup:"Executive", EmployeesCount : 50 }, - { Category : "Employees", Country : "USA", JobDescription : "Sales", JobGroup : "Analyst", EmployeesCount : 40 }, - { Category : "Employees", Country : "USA", JobDescription : "Marketing", EmployeesCount : 40 }, - { Category : "Employees", Country : "USA", JobDescription : "Technical", JobGroup : "Testers", EmployeesCount : 55 }, - { Category : "Employees", Country : "USA", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Windows", EmployeesCount : 175}, - { Category : "Employees", Country : "USA", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Web", EmployeesCount : 70 }, - { Category : "Employees", Country : "USA", JobDescription : "Management", EmployeesCount : 40 }, - { Category : "Employees", Country : "USA", JobDescription : "Accounts", EmployeesCount : 60 }, - - { Category : "Employees", Country : "India", JobDescription : "Technical", JobGroup : "Testers", EmployeesCount : 43 }, - { Category : "Employees", Country : "India", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Windows", EmployeesCount : 125}, - { Category : "Employees", Country : "India", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Web", EmployeesCount : 60 }, - { Category : "Employees", Country : "India", JobDescription : "HR Executives", EmployeesCount : 70 }, - { Category : "Employees", Country : "India", JobDescription : "Accounts", EmployeesCount : 45 }, - - { Category : "Employees", Country : "Germany", JobDescription : "Sales", JobGroup : "Executive", EmployeesCount : 30 }, - { Category : "Employees", Country : "Germany", JobDescription : "Sales", JobGroup : "Analyst", EmployeesCount : 40 }, - { Category : "Employees", Country : "Germany", JobDescription : "Marketing", EmployeesCount : 50 }, - { Category : "Employees", Country : "Germany", JobDescription : "Technical", JobGroup : "Testers", EmployeesCount : 40 }, - { Category : "Employees", Country : "Germany", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Windows", EmployeesCount : 65 }, - { Category : "Employees", Country : "Germany", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Web", EmployeesCount : 27 }, - { Category : "Employees", Country : "Germany", JobDescription : "Management", EmployeesCount : 33 }, - { Category : "Employees", Country : "Germany", JobDescription : "Accounts", EmployeesCount : 55 }, - - { Category : "Employees", Country : "UK", JobDescription : "Technical", JobGroup : "Testers", EmployeesCount : 45 }, - { Category : "Employees", Country : "UK", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Windows", EmployeesCount : 96 }, - { Category : "Employees", Country : "UK", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Web", EmployeesCount : 55 }, - { Category : "Employees", Country : "UK", JobDescription : "HR Executives", EmployeesCount : 60 }, - { Category : "Employees", Country : "UK", JobDescription: "Accounts", EmployeesCount: 30 }, - - { Category : "Employees", Country : "France", JobDescription : "Technical", JobGroup : "Testers", EmployeesCount : 40 }, - { Category : "Employees", Country : "France", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Windows", EmployeesCount : 65 }, - { Category : "Employees", Country : "France", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Web", EmployeesCount : 27 }, - { Category : "Employees", Country : "France", JobDescription: "Marketing", EmployeesCount: 50 } -]; - -module sunburstcomponent { - $(function () { - var sunburstsample = new ej.SunburstChart($("#Sunburst"), { - valueMemberPath: "EmployeesCount", - levels: [ - {groupMemberPath: "Country"}, - {groupMemberPath: "JobDescription"}, - {groupMemberPath: "JobGroup"}, - {groupMemberPath: "JobRole"} - ], - dataSource: default_data, - dataLabelSettings:{visible:true}, - tooltip:{visible:false}, - enableAnimation:false, - size:{height:"600"}, - innerRadius:0.2, - title:{text:"Employees Count"}, - zoomSettings:{enable:false}, - legend:{visible:true,position:'top'} - }); - }); -} - - - - -module TabComponent { - $(function () { - var sample = new ej.Tab($("#defaultTab"),{ - width: "500px", - collapsible: true, - events: "click", - heightAdjustMode: ej.Tab.HeightAdjustMode.Content, - showCloseButton: true, - showRoundedCorner: false - }); - }); -} - - - -module TagCloudComponent { - - - var websiteCollection = [ - { text: "Google", url: "http://www.google.com", frequency: 12 }, - { text: "All Things Digital", url: "http://allthingsd.com/", frequency: 3 }, - { text: "Arts Technica", url: "http://arstechnica.com/", frequency: 8 }, - { text: "Business Week", url: "http://www.businessweek.com/", frequency: 2 }, - { text: "Yahoo", url: "http://in.yahoo.com/", frequency: 12 }, - { text: "Center Networks", url: "http://www.centernetworks.com/", frequency: 5 }, - { text: "Crave", url: "http://news.cnet.com/crave/", frequency: 8 }, - { text: "Crunch Gear", url: "http://techcrunch.com/gadgets/", frequency: 20 }, - { text: "Daily Tech", url: "http://www.dailytech.com/", frequency: 1 }, - { text: "Electronista", url: "http://www.electronista.com/", frequency: 3 }, - { text: "Engadget", url: "http://www.engadget.com/", frequency: 5 }, - { text: "Gearlog", url: "http://www.gearlog.com/", frequency: 9 }, - { text: "Information Week", url: "http://www.informationweek.com/", frequency: 0 }, - { text: "PCWorld", url: "http://www.pcworld.com/", frequency: 11 }, - { text: "Tech Republic", url: "http://techrepublic.com/", frequency: 3 }, - { text: "Valleywag", url: "http://valleywag.gawker.com/", frequency: 6 }, - { text: "Rediff", url: "http://in.rediff.com/", frequency: 9 }, - { text: "WebProNews", url: "http://www.webpronews.com/", frequency: 2 } - ]; - - $(function () { - var sample = new ej.TagCloud($("#techWebList"), { - titleText: "Tech Sites", - dataSource: websiteCollection, - cssClass: "gradient-lime", - fields: { - text: "text", url: "url", frequency: "frequency" - } - }); - - }); -} - - - -module EditorComponent { - $(function () { - var num = new ej.NumericTextbox($("#numeric"), { - value: 30, - minValue: 1, - maxValue: 100, - name: "numeric", - width: "100%" - }); - var per = new ej.PercentageTextbox($("#percent"), { - value: 60, - minValue: 10, - maxValue: 1000, - name: "percent", - width: "100%" - }); - var cur = new ej.CurrencyTextbox($("#currency"), { - value: 100, - minValue: 10, - maxValue: 1000, - name: "currency", - width: "100%" - }); - var mask = new ej.MaskEdit($("#maskedit"), { - name: "mask", - value: "4242422424", - maskFormat: "99 999-99999", - width: "100%" - }) - }); -} - - - - - -module TileViewComponent { - $(function () { - var tile1 = new ej.Tile($("#tile1"), { - imagePosition:"fill", - caption:{text:"People"}, - tileSize:"medium", - imageUrl:'content/images/tile/windows/people_1.png' - }); - var tile2 = new ej.Tile($("#tile2"), { - imagePosition:"center", - tileSize:"small", - imageUrl:'content/images/tile/windows/alerts.png', - - }); - var tile3 = new ej.Tile($("#tile3"), { - imagePosition:"center", - tileSize:"small", - imageUrl:'content/images/tile/windows/bing.png', - }); - var tile4 = new ej.Tile($("#tile4"), { - tileSize:"small", - imageUrl:'content/images/tile/windows/camera.png', - }); - var tile5 = new ej.Tile($("#tile5"), { - imagePosition:"center", - tileSize:"small", - imageUrl:'content/images/tile/windows/messages.png', - }); - var tile6 = new ej.Tile($("#tile6"), { - imagePosition:"center", - tileSize:"medium", - imageUrl:'content/images/tile/windows/games.png', - caption:{text:"Play"} - }); - var tile7 = new ej.Tile($("#tile7"), { - tileSize:"medium", - imageUrl:'content/images/tile/windows/map.png', - caption:{text:"Maps"} - }); - var tile8 = new ej.Tile($("#tile8"), { - imagePosition:"fill", - tileSize:"wide", - imageUrl:'content/images/tile/windows/sports.png', - caption:{text:"Sports"} - }); - var tile9 = new ej.Tile($("#tile9"), { - imagePosition:"fill", - tileSize:"medium", - imageUrl:'content/images/tile/windows/people_2.png', - caption:{text:"People"} - }); - var tile10 = new ej.Tile($("#tile10"), { - imagePosition:"center", - tileSize:"medium", - imageUrl:'content/images/tile/windows/pictures.png', - caption:{text:"Photo"} - }); - var tile11 = new ej.Tile($("#tile11"), { - imagePosition:"center", - tileSize:"wide", - imageUrl:'content/images/tile/windows/weather.png', - caption:{text:"Weather"} - }); - var tile12 = new ej.Tile($("#tile12"), { - imagePosition:"center", - tileSize:"medium", - imageUrl:'content/images/tile/windows/music.png', - caption:{text:"Music"} - }); - var tile13 = new ej.Tile($("#tile13"), { - imagePosition:"center", - tileSize:"medium", - imageUrl:'content/images/tile/windows/favs.png', - caption:{text:"Favorites"} - }); - }); -} - - - -module TimePickerComponent { - $(function () { - var timeSample = new ej.TimePicker($("#timepick"), { - width: "100%" - }); - }); -} - - - - -module ToolbarComponent { - - $(function () { - var sample = new ej.Toolbar($("#editingToolbar"),{ - width: "100%", - cssClass: "gradient-lime", - enableSeparator: true, - - isResponsive: true, - orientation: ej.Orientation.Horizontal, - showRoundedCorner: true - }); - }); - -} - - - - -module TooltipComponent { - - $(function () { - - var sample1 = new ej.Tooltip($("#link1"),{ - content: "ECMAScript (or ES) is a trademarked scripting-language specification standardized by Ecma International in ECMA-262 and ISO/IEC 16262.", - associate: "mousefollow", - autoCloseTimeout: 5000, - collision: "fit", - containment: ".frame", - showRoundedCorner: true, - showShadow: true - }); - - var sample2 = new ej.Tooltip($("#link2"),{ - content: "The World Wide Web (WWW) is an information space where documents and other web resources are identified by URLs, interlinked by hypertext links, and can be accessed via the Internet.", - position: { - stem: { - horizontal: "right", - vertical: "center" - }, - target: { - horizontal: "left", - vertical: "center" - } - }, - autoCloseTimeout: 5000, - collision: "fit", - containment: ".frame", - showRoundedCorner: true, - showShadow: true - }); - - var sample3 = new ej.Tooltip($("#link3"),{ - content: 'Object-oriented programming (OOP) is a programming language model organized around objects rather than "actions" and data rather than logic.', - position: { - stem: { - horizontal: "right", - vertical: "center" - }, - target: { - horizontal: "left", - vertical: "center", - }, - }, - associate: "mousefollow", - autoCloseTimeout: 5000, - collision: "fit", - containment: ".frame", - showRoundedCorner: true, - showShadow: true - }); - }); -} - - - -module TreeGridComponent { - $(function () { - var treegridInstance = new ej.TreeGrid($("#TreeGridContainer"), { - dataSource: (window).treeGridData, - childMapping: "subtasks", - allowSorting: true, - allowMultiSorting: true, - enableAltRow: true, - allowFiltering: true, - treeColumnIndex: 1, - allowKeyboardNavigation: true, - showColumnChooser: true, - showColumnOptions: true, - contextMenuSettings: { - showContextMenu: true, - contextMenuItems: ["add", "edit", "delete"] - }, - columnDialogFields: ["field", "headerText", "editType", "width", "visible", "allowSorting", "textAlign", "headerTextAlign"], - editSettings: { - allowAdding: true, - allowEditing: true, - allowDeleting: true, - editMode: "cellEditing", - rowPosition: "belowSelectedRow" - }, - toolbarSettings: { - showToolbar: true, - toolbarItems: ["add","edit","delete","update","cancel","expandAll","collapseAll"] - }, - columns: [ - { field: "taskID", headerText: "Task Id", allowFiltering: false, editType: "numericedit", filterEditType: "numericedit" }, - { field: "taskName", headerText: "Task Name", editType: "stringedit", filterEditType: "stringedit" }, - { field: "startDate", headerText: "Start Date", editType: "datepicker", filterEditType: "datepicker", format:"{0:MM/dd/yyyy}" }, - { field: "endDate", headerText: "End Date", editType: "datepicker", filterEditType: "datepicker", format:"{0:MM/dd/yyyy}" }, - { field: "progress", headerText: "Progress", editType: "numericedit", filterEditType: "numericedit" } - ], - isResponsive: true, - }); -}); -} - - - - -var population_data: Array = [ - { Continent: "Asia", Country: "Indonesia", Growth: 3, Population: 237641326 }, - { Continent: "Asia", Country: "Russia", Growth: 2, Population: 152518015 }, - { Continent: "Asia", Country: "Malaysia", Growth: 1, Population: 29672000 }, - { Continent: "North America", Country: "United States", Growth: 4, Population: 315645000 }, - { Continent: "North America", Country: "Mexico", Growth: 2, Population: 112336538 }, - { Continent: "North America", Country: "Canada", Growth: 1, Population: 39056064 }, - { Continent: "South America", Country: "Colombia", Growth: 1, Population: 47000000 }, - { Continent: "South America", Country: "Brazil", Growth: 3, Population: 193946886 }, - { Continent: "Africa", Country: "Nigeria", Growth: 2, Population: 170901000 }, - { Continent: "Africa", Country: "Egypt", Growth: 1, Population: 83661000 }, - { Continent: "Europe", Country: "Germany", Growth: 1, Population: 81993000 }, - { Continent: "Europe", Country: "France", Growth: 1, Population: 65605000 }, - { Continent: "Europe", Country: "UK", Growth: 1, Population: 63181775 } -]; - -module treemapcomponent { - $(function () { - var treemapsample = new ej.datavisualization.TreeMap($("#treemap"), { - leafItemSettings: { showLabels: true, labelPath: "Country" }, - rangeColorMapping: [ - { color: "#77D8D8", legendLabel: "1% Growth", from: 0, to: 1 }, - { color: "#AED960", from: 0, legendLabel: "2% Growth", to: 2 }, - { color: "#FFAF51", from: 0, legendLabel: "3% Growth", to: 3 }, - { color: "#F3D240", from: 0, legendLabel: "4% Growth", to: 4 } - ], - levels: [ - { groupPath: "Continent", groupGap: 5, headerHeight: 25, showHeader: true, headerTemplate: 'headertemplate' } - ], - dataSource: population_data, - colorValuePath: "Growth", - weightValuePath: "Population", - borderThickness: 0, - showLegend: true - }); - }); -} - - - - - -module TreeViewComponent { - $(function () { - var tree = new ej.TreeView($("#treeView"), { - allowEditing: true, - allowDragAndDrop: true, - allowDropChild: true, - allowDropSibling: true, - }); - }); -} - - - - -module UploadboxComponent { - - $(function () { - var sample = new ej.Uploadbox($("#UploadDefault"),{ - saveUrl: (window).baseurl + "api/uploadbox/Save", - removeUrl: (window).baseurl + "api/uploadbox/Remove", - buttonText: { - browse: "Choose File", upload: "Upload", cancel: "Cancel" - }, - cssClass: "gradient- purple", - dialogAction: { - modal: false, closeOnComplete: false, drag: true - }, - extensionsAllow: ".zip", - multipleFilesSelection: true, - showFileDetails: true - }); - }); - -} - - - - -module WaitingPopupComponent { - $(function () { - var sample = new ej.WaitingPopup($("#target"),{ - showOnInit: true, - showImage: true, - text: 'waiting…', - target: "#target", - appendTo: "#waiting" - }); - }); - -} +/// +/// + + + + +module AccordionComponent { + $(function () { + var sample = new ej.Accordion($("#basicAccordion"), { + width: "100%", + allowKeyboardNavigation: true, + collapseSpeed: 500, + collapsible: true, + enableAnimation: true, + enableMultipleOpen: true, + events: "click", + expandSpeed: 500, + headerSize: "40px", + htmlAttributes: { title: "Demo" }, + selectedItemIndex: 1, + showCloseButton: true, + showRoundedCorner: true + }); + }); +} + + + +module AutocompleteComponent{ + var carList = [ + "Audi S6", "Austin-Healey", "Alfa Romeo", "Aston Martin", + "BMW 7", "Bentley Mulsanne", "Bugatti Veyron", + "Chevrolet Camaro", "Cadillac", + "Duesenberg J", "Dodge Sprinter", + "Elantra", "Excavator", + "Ford Boss 302", "Ferrari 360", "Ford Thunderbird", + "GAZ Siber", + "Honda S2000", "Hyundai Santro", + "Isuzu Swift", "Infiniti Skyline", + "Jaguar XJS", + "Kia Sedona EX", "Koenigsegg Agera", + "Lotus Esprit", "Lamborghini Diablo", + "Mercedes-Benz", "Mercury Coupe", "Maruti Alto 800", + "Nissan Qashqai", + "Oldsmobile S98", "Opel Superboss", + "Porsche 356", "Pontiac Sunbird", + "Scion SRS/SC/SD", "Saab Sportcombi", "Subaru Sambar", "Suzuki Swift", + "Triumph Spitfire", "Toyota 2000GT", + "Volvo P1800", "Volkswagen Shirako" + ]; + $(function () { + var autocompleteInstance =new ej.Autocomplete($("#selectCar"), { + width: "100%", + watermarkText: "Select a car", + dataSource: carList, + enableAutoFill: true, + showPopupButton: true, + multiSelectMode: "delimiter" + }); + }); +} + + + + + +module Barcodecomponent { + $(function () { + var barcodesample = new ej.datavisualization.Barcode($("#Barcode"), { + text:"http://www.syncfusion.com" + }); + }); +} + + + + + +module Bulletgraphcomponent { + $(function () { + var bulletsample = new ej.datavisualization.BulletGraph($("#BulletGraph"), { + isResponsive: true, + tooltipSettings: { visible: true }, + quantitativeScaleSettings: { + featureMeasures: [{ + value: 8, comparativeMeasureValue:6.7 + }] + }, + qualitativeRanges: [{ + rangeEnd: 4.3, rangeStroke:"#ebebeb", + }, + { + rangeEnd: 7.3, rangeStroke:"#d8d8d8" + }, + { + rangeEnd: 10, rangeStroke: "#7f7f7f" + } + ], + captionSettings: { + textPosition: 'right', text: 'Revenue YTD', + subTitle: { + text: "$ in Thousands", textPosition:"right" + } + } + }); + }); +} + + + + + +module ButtonComponent { + $(function () { + var basicButton = new ej.Button($("#buttonnormal"), { + size: "large", + showRoundedCorner: true, + contentType: "textandimage", + prefixIcon: "e-icon e-save", + text: "Save" + }); + var toggleButton = new ej.ToggleButton($("#TextOnly"), { + showRoundedCorner: true, + size: "large", + contentType: "textandimage", + defaultPrefixIcon: "e-icon e-save", + activePrefixIcon: "e-icon e-delete", + defaultText: "Save", + activeText: "Delete" + }); + var splitbuttonnormal = new ej.SplitButton($("#splitbuttonnormal"), { + showRoundedCorner: true, + size: "large", + prefixIcon: "e-icon e-file-empty", + targetID: "menu1", + contentType: "textandimage", + text: "File" + }); + var groupButton = new ej.GroupButton($("#groupButton"), { + showRoundedCorner: true, + size: "large" + }); + var check1 = new ej.CheckBox($("#check1"), { + size: "medium", enableTriState: true + }); + var check2 = new ej.CheckBox($("#check2"), { + size: "medium", enableTriState: true + }); + var radio1 = new ej.RadioButton($("#radio1"), { + size: "medium" + }); + var radio2 = new ej.RadioButton($("#radio2"), { + size: "medium", checked: true + }); + }); +} + + + + +module ChartComponent { + $(function () { + var chartsample = new ej.datavisualization.Chart($("#Chart"), { + primaryXAxis: { + range: { min: 2005, max: 2011, interval: 1 }, + title: { text: "Year" }, + valueType: "category" + }, + primaryYAxis: { + range: { min: 25, max: 50, interval: 5 }, + labelFormat: "{value}%", + title: { text: "Efficiency" }, + + }, + commonSeriesOptions: + { + type: 'line', enableAnimation: true, + tooltip:{ visible :true, template:'Tooltip'}, + marker: + { + shape: 'circle', + size: + { + height: 10, width: 10 + }, + visible: true + }, + border : {width: 2} + }, + series: + [ + { + points: [{ x: 2005, y: 28 }, { x: 2006, y: 25 },{ x: 2007, y: 26 }, { x: 2008, y: 27 }, + { x: 2009, y: 32 }, { x: 2010, y: 35 }, { x: 2011, y: 30 }], + name: 'India' + }, + { + points: [{ x: 2005, y: 31 }, { x: 2006, y: 28 },{ x: 2007, y: 30 }, { x: 2008, y: 36 }, + { x: 2009, y: 36 }, { x: 2010, y: 39 }, { x: 2011, y: 37 }], + name: 'Germany' + }, + { + points: [{ x: 2005, y: 36 }, { x: 2006, y: 32 },{ x: 2007, y: 34 }, { x: 2008, y: 41 }, + { x: 2009, y: 42 }, { x: 2010, y: 42 }, { x: 2011, y: 43 }], + name: 'England' + }, + { + points: [{ x: 2005, y: 39 }, { x: 2006, y: 36 },{ x: 2007, y: 40 }, { x: 2008, y: 44 }, + { x: 2009, y: 45 }, { x: 2010, y: 48 }, { x: 2011, y: 46 }], + name: 'France' + } + ], + isResponsive: true, + load: function () { + var sender = $("#Chart").data("ejChart"); + if (!!window.orientation && sender) { //to modify chart properties for mobile view + var model = sender.model, + seriesLength = model.series.length; + model.legend.visible = false; + model.size.height = null; + model.size.width = null; + for (var i = 0; i < seriesLength; i++) { + if (!model.series[i].marker) + model.series[i].marker = {}; + if (!model.series[i].marker.size) + model.series[i].marker.size = {}; + model.series[i].marker.size.width = 6; + model.series[i].marker.size.height = 6; + } + model.primaryXAxis.labelIntersectAction = "rotate45"; + if (model.primaryXAxis.title) + model.primaryXAxis.title.text = ""; + if (model.primaryYAxis.title) + model.primaryYAxis.title.text = ""; + model.primaryXAxis.edgeLabelPlacement = "hide"; + model.primaryYAxis.labelIntersectAction = "rotate45"; + model.primaryYAxis.edgeLabelPlacement = "hide"; + } + }, + title: { text: 'Efficiency of oil-fired power production' }, + size: { height: "600" }, + legend: { visible: true} + }); + }); +} + + + + + +module circulargaugecomponent { + $(function () { + var circularsample = new ej.datavisualization.CircularGauge($("#CircularGauge"), { + enableAnimation: false, + isResponsive: true, + backgroundColor: "transparent", width: 500, + scales: [{ + showRanges: true, + startAngle: 122, sweepAngle: 296, radius: 130, showScaleBar: true, size: 1, maximum: 120, majorIntervalValue: 20, minorIntervalValue: 10, + border: { + width: 0.5, + }, + pointers: [{ + value: 60, + showBackNeedle: true, + backNeedleLength: 20, + length: 95, + width: 7 + }], + ticks: [{ + type: "major", + distanceFromScale: 2, + height: 16, + width: 1, color: "#8c8c8c" + }, { type: "minor", height: 8, width: 1, distanceFromScale: 2, color: "#8c8c8c" }], + labels: [{ + color: "#8c8c8c" + }], + ranges: [{ + distanceFromScale: -30, + startValue: 0, + endValue: 70 + }, { + distanceFromScale: -30, + startValue: 70, + endValue: 110, + backgroundColor: "#fc0606", + border: { color: "#fc0606" } + }, + { + distanceFromScale: -30, + startValue: 110, + endValue: 120, + backgroundColor: "#f5b43f", + border: { color: "#f5b43f" } + }] + }] + }); + }); +} + + + + +module ColorPickerComponent { + $(function () { + var colorSample = new ej.ColorPicker($("#colorpick"), { + value: "#278787" + }); + }); +} + + + + +module DatePickerComponent { + $(function () { + var dateSample = new ej.DatePicker($("#datepick"), { + width: "100%" + }); + }); +} + + + + +module DateTimePickerComponent { + $(function () { + var datetimeSample = new ej.DateRangePicker($("#daterangepick"), { + width: "100%" + }); + }); +} + + + +module DateTimePickerComponent { + $(function () { + var datetimeSample = new ej.DateTimePicker($("#datetimepick"), { + width: "100%" + }); + }); +} + + + +$(function () { + var diagram = new ej.datavisualization.Diagram($("#diagram"), { + width: "1000px", + height: "600px", + pageSettings: { + //Sets page size + pageHeight: 500, + pageWidth: 500, + //Customizes the appearance of page + pageBorderWidth: 4, + pageBackgroundColor: "white", + pageBorderColor: "lightgray", + pageMargin: 25, + showPageBreak: true, + multiplePage: true, + pageOrientation: ej.datavisualization.Diagram.PageOrientations.Portrait + }, + scrollSettings: { + horizontalOffset: 0, + verticalOffset: 0 + }, + snapSettings: { + snapConstraints: ej.datavisualization.Diagram.SnapConstraints.ShowLines + }, + nodes: [ + createNode({ name: "NewIdea", width: 150, height: 60, offsetX: 300, offsetY: 60, labels: [createLabel({ "text": "New idea identified" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Terminator }), + createNode({ name: "Meeting", width: 150, height: 60, offsetX: 300, offsetY: 155, labels: [createLabel({ "text": "Meeting with board" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Process }), + createNode({ + name: "BoardDecision", width: 150, height: 110, offsetX: 300, offsetY: 280, labels: [createLabel({ text: "Board decides \nwhether \nto proceed", wrapText: "true", "margin": { left: 20, top: 0, right: 20, bottom: 0 } })], + type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Decision + }), + createNode({ name: "Project", width: 150, height: 100, offsetX: 300, offsetY: 430, labels: [createLabel({ "text": "Find Project \nmanager" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Decision }), + createNode({ + name: "End", width: 150, height: 60, offsetX: 300, offsetY: 555, labels: [createLabel({ "text": "Implement and Deliver" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Process }), + createNode({ name: "Decision", width: 250, height: 60, offsetX: 550, offsetY: 60, labels: [createLabel({ "text": "Decision Process for new software ideas" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Card, fillColor: "#858585", borderColor: "#858585" }), + createNode({ name: "Reject", width: 150, height: 60, offsetX: 550, offsetY: 285, labels: [createLabel({ "text": "Reject and write report" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Process }), + createNode({ name: "Resources", width: 150, height: 60, offsetX: 550, offsetY: 430, labels: [createLabel({ "text": "Hire new resources" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Process }) + ], + connectors: [ + createConnector({ name: "connector1", sourceNode: "NewIdea", targetNode: "Meeting" }), + createConnector({ name: "connector2", sourceNode: "Meeting", targetNode: "BoardDecision" }), + createConnector({ name: "connector3", sourceNode: "BoardDecision", targetNode: "Project", labels: [createLabel({ "text": "Yes" })] }), + createConnector({ name: "connector4", sourceNode: "Project", targetNode: "End", labels: [createLabel({ "text": "Yes" })] }), + createConnector({ name: "connector5", sourceNode: "BoardDecision", targetNode: "Reject", labels: [createLabel({ "text": "No" })] }), + createConnector({ name: "connector6", sourceNode: "Project", targetNode: "Resources", labels: [createLabel({ "text": "No" })] }) + ] + }); + +}); + +function createNode(option: ej.datavisualization.Diagram.Node) { + if (!option.fillColor) { + option.borderColor = "#1BA0E2"; + option.fillColor = "#1BA0E2"; + } + option.labels[0].fontColor = "white"; + return option; +} + +function createConnector(option: ej.datavisualization.Diagram.Connector) { + option.targetDecorator = { shape: ej.datavisualization.Diagram.DecoratorShapes.Arrow, borderColor: "#606060", width: 10, height: 10 }; + option.lineColor = "#606060"; + if (option.labels && option.labels.length > 0) { + option.labels[0].fillColor = "white"; + } + return option; +} + +function createLabel(options : any) { + return options; +} + + + +module DialogComponent { + $(function () { + var dialogInstance = new ej.Dialog($("#basicDialog"), { + width: 550, + minWidth: 310, + minHeight: 215, + target:".control", + close:()=>{ + $("#btnOpen").show();} + }); + var btnInstance = new ej.Button($("#btnOpen"), { + size: "medium", + click: ()=>{ + $("#btnOpen").hide(); + $("#basicDialog").ejDialog("open");}, + type: "button", + height: 30, + width: 150 + }); + }); +} + + + + +module digitalgaugecomponent { + $(function () { + var digitalgaugesample = new ej.datavisualization.DigitalGauge($("#DigitalGauge"), { + width: 525, + height: 305, + isResponsive: true, + items: [{ + segmentSettings: { + width: 1, + spacing: 0, + color: "#8c8c8c" + }, + characterSettings: { + opacity: 0.8, + }, + value: "Syncfusion", + position: { x: 52, y: 52 } + }] + }); + }); +} + + + + + + +module DropDownListComponent { + var BikeList = [ + { empid: "bk1", text: "Apache RTR" }, { empid: "bk2", text: "CBR 150-R" }, { empid: "bk3", text: "CBZ Xtreme" }, + { empid: "bk4", text: "Discover" }, { empid: "bk5", text: "Dazzler" }, { empid: "bk6", text: "Flame" }, + { empid: "bk7", text: "Fazzer" }, { empid: "bk8", text: "FZ-S" }, { empid: "bk9", text: "Pulsar" }, + { empid: "bk10", text: "Shine" }, { empid: "bk11", text: "R15" }, { empid: "bk12", text: "Unicorn" } + ]; + $(function () { + var sample = new ej.DropDownList($("#bikeList"),{ + dataSource: BikeList, + width: "100%", + watermarkText: "Select a bike", + fields: { id: "empid", text: "text", value: "text" }, + enableFilterSearch: true, + caseSensitiveSearch: true, + enableIncrementalSearch: true, + enablePopupResize: true, + delimiterChar: ";", + multiSelectMode: ej.MultiSelectMode.Delimiter, + maxPopupHeight: "300px", + minPopupHeight: "150px", + maxPopupWidth: "500px", + minPopupWidth: "350px", + showCheckbox: true, + showRoundedCorner: true + }); + }); + +} + + + + + + +module ExplorerComponent { + $(function () { + var file = new ej.FileExplorer($("#fileExplorer"), { + path: (window).baseurl + "Content/FileBrowser/", + width: "100%", + minWidth: "150px", + layout: "tile", + isResponsive: true, + ajaxAction: (window).baseurl + "api/FileExplorer/FileOperations" + }); + }); +} + + + + +module GanttComponent { + $(function () { + var ganttInstance = new ej.Gantt($("#GanttContainer"), { + dataSource: (window).projectData, + allowColumnResize: true, + allowSorting: true, + allowSelection: true, + enableContextMenu: true, + taskIdMapping: "taskID", + allowDragAndDrop: true, + taskNameMapping: "taskName", + startDateMapping: "startDate", + showColumnChooser: true, + showColumnOptions: true, + progressMapping: "progress", + durationMapping: "duration", + endDateMapping: "endDate", + childMapping: "subtasks", + scheduleStartDate: "02/01/2014", + scheduleEndDate: "04/09/2014", + //Resources mapping + resourceInfoMapping: "resourceId", + resourceNameMapping: "resourceName", + resourceIdMapping: "resourceId", + resources: (window).projectResources, + predecessorMapping: "predecessor", + showResourceNames: true, + toolbarSettings: { + showToolbar: true, + toolbarItems: ["add","edit","delete","update","cancel","indent","outdent","expandAll","collapseAll","search"] + }, + editSettings: { + allowEditing: true, + allowAdding: true, + allowDeleting: true, + allowIndent: true, + editMode: "cellEditing" + }, + sizeSettings: { + width: "100%", + height: "100%" + }, + dragTooltip: { showTooltip: true }, + showGridCellTooltip: true, + treeColumnIndex: 1, + isResponsive: true, + }); +}); +} + + + +module GridComponent { + $(function () { + var gridInstance = new ej.Grid($("#Grid"), { + dataSource: (window).gridData, + allowGrouping: true, + allowSorting: true, + allowMultiSorting: true, + enableAltRow: true, + allowPaging: true, + allowReordering: true, + allowResizing: true, + allowFiltering: true, + allowScrolling: true, + enableRowHover: true, + selectionType: "multiple", + selectionSettings: { enableToggle: true, selectionMode: ["row", "cell", "column"] }, + allowKeyboardNavigation: true, + editSettings: { allowEditing: true, allowAdding: true, allowDeleting: true, allowEditOnDblClick: true, showDeleteConfirmDialog: true }, + toolbarSettings: { showToolbar: true, toolbarItems: ["add", "edit", "delete", "update", "cancel", "search"] }, + columns: [ + { field: "OrderID", headerText: "Order ID", isPrimaryKey: true, width: 75, textAlign: ej.TextAlign.Right }, + { field: "CustomerID", headerText: "Customer ID", editType: ej.Grid.EditingType.String, width: 80 }, + { field: "EmployeeID", headerText: "Employee ID", width: 75, editType: ej.Grid.EditingType.Dropdown, textAlign: ej.TextAlign.Right, priority: 4 }, + { field: "Freight", width: 75, format: "{0:C}", editType: ej.Grid.EditingType.Numeric, textAlign: ej.TextAlign.Right, priority: 3 }, + { field: "OrderDate", headerText: "Order Date", width: 80, format: "{0:MM/dd/yyyy}", textAlign: ej.TextAlign.Right, priority: 2 }, + { field: "ShipCity", headerText: "Ship City", editType: ej.Grid.EditingType.Dropdown, width: 110, priority: 2 } + ], + isResponsive: true, + minWidth: 700, + showSummary: true, + summaryRows: [{ title: "Sum", summaryColumns: [{ summaryType: ej.Grid.SummaryType.Sum, displayColumn: "Freight", dataMember: "Freight", format: "{0:C2}" }] }] + }); + }); +} + + + +var columns = ["Vegie-spread", "Tofuaa", "Alice Mutton", "Konbu", "Fltemysost"] +var itemSource: any[] = []; +for (var i = 0; i < columns.length; i++) { + for (var j = 0; j < 6; j++) { + var value = Math.floor((Math.random() * 100) + 1); + itemSource.push({ ProductName: columns[i], Year: "Y" + (2011 + j), Value: value }) + } +} + +$(function () { + var heatmap = new ej.datavisualization.HeatMap($("#heatmap"), { + colorMappingCollection: [ + { value: 0, color: "#8ec8f8", label: { text: "0" } }, + { value: 100, color: "#0d47a1", label: { text: "100" } } + ], + isResponsive: true, + itemsSource: itemSource, + width: "100%", + itemsMapping: { + column: { propertyName: "ProductName", displayName: "Product Name" }, + row: { propertyName: "Year", displayName: "Year" }, + value: { propertyName: "Value" }, + columnMapping: [ + { "propertyName": columns[0], "displayName": columns[0] }, + { "propertyName": columns[1], "displayName": columns[1] }, + { "propertyName": columns[2], "displayName": columns[2] }, + { "propertyName": columns[3], "displayName": columns[3] }, + { "propertyName": columns[4], "displayName": columns[4] }, + { "propertyName": columns[5], "displayName": columns[5] } + ], + headerMapping: { propertyName: "Year", displayName: "Year", columnStyle: { width: 105, textAlign: "right" } }, + }, + legendCollection: ["heatmap_legend"] + }); + var heatmaplegend = new ej.datavisualization.HeatMapLegend($("#heatmap_legend"), { + colorMappingCollection: [ + { value: 0, color: "#8ec8f8", label: { text: "0" } }, + { value: 100, color: "#0d47a1", label: { text: "100" } } + ], + height: "50px", + width: "75%", + isResponsive: true + }); +}); + + + + +declare var window:myWindow; +export interface myWindow extends Window{ +kanbanData:any; +} +module KanbanComponent { + $(function () { + var sample = new ej.Kanban($("#Kanban"), { + dataSource: new ej.DataManager(window["kanbanData"]).executeLocal(new ej.Query().take(20)), + columns: [ + { headerText: "Backlog", key: "Open" }, + { headerText: "In Progress", key: "InProgress" }, + { headerText: "Testing", key: "Testing" }, + { headerText: "Done", key: "Close" } + ], + keyField: "Status", + allowTitle: true, + fields: { + content: "Summary", + primaryKey: "Id", + imageUrl: "ImgUrl" + }, + allowSelection: false + }); + }); +} + + + + +module lineargaugecomponent { + $(function () { + var linearsample = new ej.datavisualization.LinearGauge($("#LinearGauge"), { + labelColor: "#8c8c8c", width: 500, + isResponsive: true, enableAnimation: false, + scales: [{ + width: 4, border: { color: "transparent", width: 0 }, showBarPointers: false, showRanges: true, length: 310, + position: { x: 52, y: 50 }, markerPointers: [{ + value: 50, length: 10, width: 10, backgroundColor: "#4D4D4D", border: { color: "#4D4D4D" } + }], + labels: [{ font: { size: "11px", fontFamily: "Segoe UI", fontStyle: "bold" }, distanceFromScale: { x: -13 } }], + ticks: [{ type: "majorinterval", width: 1, color: "#8c8c8c" }], + ranges: [{ + endValue: 60, + startValue: 0, + backgroundColor: "#F6B53F", + border: { color: "#F6B53F" }, startWidth: 4, endWidth: 4 + }, { + endValue: 100, + startValue: 60, + backgroundColor: "#E94649", + border: { color: "#E94649" }, startWidth: 4, endWidth: 4 + }] + }] + }); + }); +} + + + + + +module ListBoxComponent { + $(function () { + var listboxInstance = new ej.ListBox($("#selectcar"), { + showCheckbox: true + }); + }); +} + + + +module ListviewComponent { + $(function () { + var listviewInstance = new ej.ListView($("#defaultlistview"), { + enableCheckMark: true, + width: 400 + }); + }); +} + + +var world_map= + { + "type": "FeatureCollection", + "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, + "features": [ + { "type": "Feature", "properties": { "admin": "Afghanistan", "name": "Afghanistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[61.21081709172573, 35.650072333309218], [62.230651483005879, 35.270663967422287], [62.984662306576588, 35.404040839167614], [63.193538445900337, 35.857165635718907], [63.982895949158696, 36.007957465146596], [64.546479119733888, 36.31207326918426], [64.746105177677393, 37.111817735333297], [65.588947788357828, 37.305216783185628], [65.745630731066811, 37.661164048812061], [66.217384881459324, 37.393790188133913], [66.518606805288655, 37.362784328758785], [67.075782098259609, 37.35614390720928], [67.829999627559502, 37.144994004864678], [68.135562371701369, 37.023115139304302], [68.859445835245921, 37.344335842430588], [69.196272820924364, 37.15114350030742], [69.518785434857946, 37.608996690413413], [70.116578403610319, 37.588222764632086], [70.270574171840124, 37.73516469985401], [70.376304152309274, 38.138395901027515], [70.806820509732873, 38.486281643216408], [71.348131137990251, 38.258905341132156], [71.239403924448155, 37.953265082341879], [71.541917759084768, 37.905774441065631], [71.448693475230229, 37.065644843080513], [71.84463829945058, 36.738171291646914], [72.193040805962383, 36.94828766534566], [72.636889682917271, 37.047558091778349], [73.260055779924983, 37.495256862938994], [73.948695916646486, 37.421566270490786], [74.980002475895404, 37.419990139305888], [75.158027785140902, 37.13303091078911], [74.575892775372964, 37.02084137628345], [74.067551710917812, 36.836175645488446], [72.920024855444453, 36.720007025696312], [71.846291945283909, 36.509942328429851], [71.262348260385735, 36.074387518857797], [71.498767938121077, 35.650563259415996], [71.613076206350698, 35.153203436822857], [71.115018751921625, 34.733125718722228], [71.156773309213449, 34.348911444632144], [70.881803012988385, 33.988855902638512], [69.93054324735958, 34.020120144175102], [70.323594191371583, 33.358532619758385], [69.687147251264847, 33.105498969041228], [69.262522007122541, 32.501944078088293], [69.317764113242546, 31.901412258424436], [68.926676873657655, 31.620189113892064], [68.556932000609308, 31.713310044882011], [67.792689243444769, 31.582930406209623], [67.683393589147457, 31.303154201781414], [66.938891229118454, 31.304911200479346], [66.38145755398601, 30.738899237586448], [66.346472609324408, 29.88794342703617], [65.046862013616092, 29.472180691031902], [64.350418735618504, 29.560030625928089], [64.148002150331237, 29.340819200145965], [63.550260858011164, 29.468330796826162], [62.549856805272775, 29.318572496044304], [60.874248488208778, 29.829238999952604], [61.78122155136343, 30.735850328081231], [61.699314406180811, 31.379506130492661], [60.941944614511115, 31.548074652628745], [60.863654819588952, 32.182919623334421], [60.536077915290761, 32.981268825811561], [60.963700392505991, 33.528832302376252], [60.528429803311575, 33.676446031217999], [60.80319339380744, 34.404101874319856], [61.21081709172573, 35.650072333309218]]] } }, + { "type": "Feature", "properties": { "admin": "Angola", "name": "Angola", "continent": "Africa" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[16.326528354567042, -5.877470391466217], [16.573179965896141, -6.622644545115092], [16.860190870845226, -7.222297865429978], [17.089995965247166, -7.545688978712474], [17.472970004962288, -8.068551120641656], [18.134221632569048, -7.987677504104865], [18.464175652752683, -7.847014255406475], [19.016751743249664, -7.988245944860138], [19.166613396896079, -7.738183688999724], [19.417502475673214, -7.155428562044277], [20.037723016040214, -7.116361179231658], [20.091621534920616, -6.943090101756949], [20.60182295093832, -6.939317722199688], [20.514748162526526, -7.299605808138663], [21.728110792739752, -7.290872491081315], [21.74645592620336, -7.920084730667113], [21.949130893652033, -8.305900974158304], [21.80180138518795, -8.908706556842985], [21.875181919042397, -9.523707777548564], [22.208753289486417, -9.894796237836529], [22.155268182064326, -11.084801120653777], [22.402798292742428, -10.99307545333569], [22.837345411884762, -11.017621758674334], [23.456790805767461, -10.867863457892481], [23.912215203555743, -10.926826267137541], [24.017893507592614, -11.237298272347115], [23.904153680118235, -11.722281589406332], [24.079905226342895, -12.191296888887305], [23.930922072045373, -12.565847670138821], [24.0161365088947, -12.91104623784855], [21.933886346125941, -12.898437188369353], [21.887842644953871, -16.080310153876891], [22.562478468524283, -16.898451429921831], [23.215048455506086, -17.523116143465952], [21.377176141045592, -17.930636488519706], [18.956186964603628, -17.789094740472233], [18.263309360434217, -17.309950860262003], [14.209706658595049, -17.353100681225708], [14.058501417709035, -17.423380629142653], [13.462362094789963, -16.971211846588741], [12.814081251688405, -16.941342868724075], [12.21546146001938, -17.111668389558059], [11.734198846085146, -17.301889336824498], [11.640096062881609, -16.673142185129205], [11.778537224991563, -15.793816013250687], [12.123580763404444, -14.878316338767927], [12.175618930722264, -14.449143568583889], [12.500095249083014, -13.547699883684398], [12.738478631245439, -13.137905775609934], [13.312913852601834, -12.483630466362511], [13.633721144269824, -12.038644707897189], [13.738727654686924, -11.297863050993142], [13.686379428775293, -10.73107594161584], [13.38732791510216, -10.373578383020726], [13.120987583069873, -9.766897067914112], [12.875369500386567, -9.166933689005488], [12.929061313537797, -8.959091078327573], [13.23643273280987, -8.56262948978434], [12.933040398824314, -7.596538588087752], [12.728298374083916, -6.927122084178803], [12.227347039446441, -6.294447523629372], [12.322431674863562, -6.100092461779651], [12.735171339578695, -5.965682061388476], [13.024869419006988, -5.984388929878106], [13.375597364971892, -5.864241224799555], [16.326528354567042, -5.877470391466217]]], [[[12.436688266660919, -5.684303887559223], [12.182336866920277, -5.789930515163801], [11.914963006242115, -5.037986748884733], [12.318607618873923, -4.606230157086158], [12.620759718484548, -4.438023369976121], [12.995517205465202, -4.781103203961918], [12.631611769265842, -4.991271254092935], [12.468004184629759, -5.248361504744991], [12.436688266660919, -5.684303887559223]]]] } }, + { "type": "Feature", "properties": { "admin": "Albania", "name": "Albania", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[20.590247430104906, 41.855404161133592], [20.463175083099195, 41.515089016275333], [20.605181919037356, 41.086226304685219], [21.020040317476397, 40.842726955725873], [20.99998986174722, 40.580003973953964], [20.67499677906363, 40.43499990494302], [20.61500044117275, 40.110006822259365], [20.150015903410516, 39.624997666983965], [19.980000441170144, 39.694993394523401], [19.9600016618732, 39.915005805006039], [19.40608198413673, 40.250773423822459], [19.319058872157139, 40.727230129553554], [19.403549838954287, 41.409565741535445], [19.540027296637099, 41.71998607031275], [19.371768833094958, 41.87754751237064], [19.304486118250786, 42.195745144207812], [19.738051385179627, 42.688247382165564], [19.801613396898681, 42.500093492190835], [20.0707, 42.58863], [20.28375451018189, 42.320259507815074], [20.52295, 42.21787], [20.590247430104906, 41.855404161133592]]] } }, + { "type": "Feature", "properties": { "admin": "United Arab Emirates", "name": "United Arab Emirates", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[51.579518670463258, 24.245497137951102], [51.757440626844172, 24.294072984305462], [51.794389275932865, 24.019826158132499], [52.577080519425593, 24.177439276622703], [53.404006788960139, 24.151316840099167], [54.008000929587574, 24.121757920828212], [54.693023716048614, 24.797892360935084], [55.439024692614126, 25.439145209244934], [56.070820753814544, 26.055464178973978], [56.261041701080948, 25.714606431576762], [56.396847365143991, 24.924732163995483], [55.886232537667993, 24.92083059335744], [55.804118686756212, 24.269604193615258], [55.981213820220454, 24.130542914317822], [55.528631626208231, 23.933604030853498], [55.525841098864461, 23.524869289640929], [55.234489373602869, 23.110992743415316], [55.208341098863187, 22.708329982997039], [55.006803012924898, 22.496947536707129], [52.000733270074321, 23.001154486578937], [51.617707553926969, 24.014219265228824], [51.579518670463258, 24.245497137951102]]] } }, + { "type": "Feature", "properties": { "admin": "Argentina", "name": "Argentina", "continent": "South America" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-65.5, -55.2], [-66.45, -55.25], [-66.95992, -54.89681], [-67.56244, -54.87001], [-68.63335, -54.8695], [-68.634010227583147, -52.636370458874453], [-68.25, -53.1], [-67.75, -53.85], [-66.45, -54.45], [-65.05, -54.7], [-65.5, -55.2]]], [[[-64.964892137294569, -22.075861504812348], [-64.377021043542257, -22.79809132252354], [-63.986838141522462, -21.993644301035953], [-62.84646847192154, -22.034985446869452], [-62.685057135657885, -22.249029229422401], [-60.846564704009928, -23.880712579038299], [-60.028966030503973, -24.032796319273238], [-58.807128465394939, -24.771459242453268], [-57.777217169817952, -25.162339776309032], [-57.633660040911124, -25.603656508081666], [-58.618173590719707, -27.123718763947117], [-57.609759690976134, -27.395898532828419], [-56.486701626192989, -27.548499037386243], [-55.695845506398186, -27.387837009390815], [-54.788794928595038, -26.621785577096087], [-54.625290696823541, -25.739255466415479], [-54.130049607954412, -25.547639255477243], [-53.628348965048716, -26.12486500417743], [-53.648735317587885, -26.923472588816104], [-54.490725267135517, -27.474756768505767], [-55.162286342984586, -27.881915378533414], [-56.290899624239088, -28.852760512000849], [-57.62513342958291, -30.21629485445424], [-57.874937303281897, -31.016556084926158], [-58.14244035504074, -32.044503676076182], [-58.132647671121404, -33.040566908502008], [-58.349611172098818, -33.263188978815428], [-58.427074144104367, -33.909454441057541], [-58.495442064026541, -34.4314897600701], [-57.225829637263629, -35.288026625307886], [-57.362358771378737, -35.977390232081497], [-56.737487352105447, -36.413125909166574], [-56.788285285048339, -36.901571547189327], [-57.749156867083421, -38.183870538079901], [-59.231857062401865, -38.720220228837199], [-61.2374452378656, -38.92842457454114], [-62.335956997310134, -38.827707208004362], [-62.125763108962914, -39.424104913084868], [-62.33053097191943, -40.172586358400316], [-62.145994432205228, -40.676896661136723], [-62.74580278181697, -41.028761488612083], [-63.770494757732514, -41.166789239263657], [-64.732089809819698, -40.802677097335128], [-65.118035244391578, -41.064314874028874], [-64.97856055363583, -42.058000990569312], [-64.303407965742466, -42.359016208669495], [-63.755947842042339, -42.043686618824495], [-63.458059048095883, -42.563138116222355], [-64.378803880456289, -42.873558444999638], [-65.181803961839691, -43.495380954767782], [-65.328823411710133, -44.501366062193689], [-65.565268927661592, -45.03678557716978], [-66.509965786389344, -45.039627780945843], [-67.293793911392427, -45.551896254255183], [-67.580546434180079, -46.301772963242527], [-66.597066413017259, -47.033924655953804], [-65.641026577401433, -47.23613453551188], [-65.98508826360073, -48.133289076531128], [-67.166178961847649, -48.697337334996931], [-67.816087612566449, -49.869668877970412], [-68.728745083273154, -50.26421843851886], [-69.138539191347789, -50.732510267947788], [-68.815561489523517, -51.771104011594097], [-68.149994879820397, -52.349983406127699], [-68.571545376241332, -52.299443855346247], [-69.498362189396076, -52.142760912637236], [-71.914803839796321, -52.009022305865912], [-72.329403856074023, -51.425956312872394], [-72.309973517532342, -50.677009779666342], [-72.975746832964617, -50.741450290734299], [-73.328050910114456, -50.378785088909865], [-73.415435757120022, -49.318436374712952], [-72.648247443314929, -48.878618259476774], [-72.331160854771937, -48.244238376661819], [-72.44735531278026, -47.738532810253517], [-71.917258470330196, -46.884838148791786], [-71.552009446891233, -45.560732924177117], [-71.659315558545316, -44.973688653341434], [-71.222778896759721, -44.784242852559409], [-71.329800788036195, -44.407521661151677], [-71.793622606071935, -44.207172133156099], [-71.464056159130493, -43.787611179378324], [-71.915423956983901, -43.408564548517404], [-72.148898078078517, -42.254888197601375], [-71.746803758415453, -42.051386407235988], [-71.915734015577542, -40.832339369470716], [-71.680761277946445, -39.808164157878061], [-71.413516608349042, -38.916022230791107], [-70.814664272734703, -38.552995293940732], [-71.118625047475419, -37.576827487947192], [-71.121880662709771, -36.65812387466233], [-70.364769253201658, -36.005088799789931], [-70.388049485949082, -35.169687595359441], [-69.817309129501453, -34.193571465798279], [-69.814776984319209, -33.273886000299839], [-70.074399380153622, -33.09120981214803], [-70.535068935819439, -31.365010267870279], [-69.919008348251921, -30.336339206668306], [-70.013550381129861, -29.367922865518544], [-69.656130337183143, -28.459141127233686], [-69.001234910748266, -27.521213881136127], [-68.295541551370391, -26.899339694935787], [-68.594799770772667, -26.50690886811126], [-68.386001146097342, -26.185016371365229], [-68.417652960876111, -24.518554782816874], [-67.328442959244128, -24.025303236590908], [-66.985233934177629, -22.986348565362825], [-67.106673550063604, -22.735924574476392], [-66.273339402924833, -21.832310479420677], [-64.964892137294569, -22.075861504812348]]]] } }, + { "type": "Feature", "properties": { "admin": "Armenia", "name": "Armenia", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[43.582745802592726, 41.09214325618256], [44.972480096218071, 41.248128567055588], [45.179495883979335, 40.985353908851401], [45.560351189970433, 40.812289537105919], [45.359174839058156, 40.561503811193447], [45.891907179555076, 40.218475653639992], [45.610012241402913, 39.899993801425175], [46.034534132680662, 39.628020738273058], [46.483498976432443, 39.464154771475528], [46.505719842317966, 38.770605373686287], [46.143623081248812, 38.74120148371221], [45.735379266143006, 39.319719143219736], [45.739978468616975, 39.473999131827114], [45.298144972521456, 39.471751207022422], [45.00198733905674, 39.740003567049548], [44.793989699081934, 39.713002631177041], [44.400008579288695, 40.005000311842267], [43.656436395040934, 40.253563951166178], [43.752657911968399, 40.740200914058754], [43.582745802592726, 41.09214325618256]]] } }, + { "type": "Feature", "properties": { "admin": "French Southern and Antarctic Lands", "name": "Fr. S. Antarctic Lands", "continent": "Seven seas (open ocean)" }, "geometry": { "type": "Polygon", "coordinates": [[[68.935, -48.625], [69.58, -48.94], [70.525, -49.065], [70.56, -49.255], [70.28, -49.71], [68.745, -49.775], [68.72, -49.2425], [68.8675, -48.83], [68.935, -48.625]]] } }, + { "type": "Feature", "properties": { "admin": "Australia", "name": "Australia", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[145.397978143494782, -40.792548516605883], [146.364120721623692, -41.137695407883335], [146.908583612250823, -41.000546156580668], [147.689259474884125, -40.808258152022681], [148.289067824495987, -40.875437514002122], [148.359864536735785, -42.062445163746439], [148.017301467073082, -42.40702361426861], [147.914051955353784, -43.211522312188485], [147.564564243763982, -42.937688897473855], [146.87034305235494, -43.634597263362082], [146.663327264593647, -43.580853773778543], [146.048377720320389, -43.54974456153888], [145.431929559510536, -42.693776137056268], [145.295090366801674, -42.03360971452755], [144.7180713238306, -41.162551771815707], [144.743754510679622, -40.703975111657705], [145.397978143494782, -40.792548516605883]]], [[[143.561811151299935, -13.763655694232209], [143.922099237238882, -14.548310642152], [144.563713820574804, -14.171176039285879], [144.894908075133515, -14.594457696188622], [145.374723748963419, -14.984976495018284], [145.271991001567244, -15.428205254785691], [145.48525963763575, -16.285672295804769], [145.637033319276952, -16.784918308176611], [145.888904250267672, -16.906926364817647], [146.160308872664473, -17.76165455492524], [146.063673944278662, -18.280072523677315], [146.387478469019584, -18.958274021075905], [147.471081577747896, -19.480722751546676], [148.177601760042478, -19.955939222902767], [148.848413527623222, -20.391209812097252], [148.717465448195583, -20.633468926681513], [149.289420200802056, -21.260510756111096], [149.678337030230637, -22.342511895438388], [150.07738244038859, -22.122783705333315], [150.482939081015161, -22.556142266533012], [150.727265252891158, -22.402404880464655], [150.899554478152254, -23.462236830338679], [151.609175246384211, -24.076256198830755], [152.07353966695905, -24.45788665130619], [152.855197381805908, -25.267501316023008], [153.136162144176751, -26.071173191026187], [153.161948683890358, -26.641319268502439], [153.09290897034856, -27.260299574494503], [153.569469028944184, -28.110066827102099], [153.512108189100218, -28.995077406532751], [153.339095493787056, -29.458201592732443], [153.069241164358857, -30.350240166954809], [153.089601678681788, -30.923641859665445], [152.891577590139377, -31.640445651985949], [152.450002476205327, -32.550002536755237], [151.709117466436766, -33.041342054986337], [151.343971795862387, -33.816023451473846], [151.010555454715103, -34.310360202777879], [150.714139439089024, -35.173459974916803], [150.328219842733233, -35.671879164371923], [150.075212030232251, -36.420205580390508], [149.946124302367139, -37.109052422841224], [149.997283970336127, -37.425260512035123], [149.423882277625523, -37.772681166333463], [148.304622430615893, -37.809061374666875], [147.38173302631526, -38.219217217767543], [146.922122837511324, -38.606532077795116], [146.317921991154776, -39.035756524411433], [145.489652134380549, -38.593767999019043], [144.876976353128157, -38.41744801203911], [145.032212355732952, -37.896187839510972], [144.485682407814011, -38.085323581699257], [143.609973586196077, -38.809465427405321], [142.745426873952965, -38.538267510737519], [142.17832970598198, -38.380034275059835], [141.606581659104677, -38.308514092767872], [140.638578729413211, -38.019332777662541], [139.992158237874321, -37.402936293285094], [139.806588169514043, -36.643602797188272], [139.574147577065219, -36.138362318670666], [139.082808058834075, -35.732754001611774], [138.120747918856296, -35.612296237939397], [138.449461704664998, -35.127261244447887], [138.207564325106659, -34.384722588845925], [137.719170363516128, -35.07682504653102], [136.829405552314711, -35.260534763328614], [137.352371047108477, -34.707338555644093], [137.503886346588331, -34.130267836240769], [137.890116001537649, -33.640478610978327], [137.810327590079112, -32.900007012668105], [136.996837192940347, -33.752771498348629], [136.372069126531642, -34.094766127256186], [135.98904341038434, -34.89011809666048], [135.208212518454104, -34.478670342752601], [135.239218377829161, -33.947953383114971], [134.613416782774607, -33.222778008763136], [134.085903761939107, -32.848072198214759], [134.273902622617015, -32.617233575166949], [132.990776808809812, -32.011224053680188], [132.288080682504869, -31.982646986622761], [131.326330601120901, -31.495803318001041], [129.535793898639668, -31.590422865527476], [128.240937534702198, -31.948488864877849], [127.102867466338282, -32.282266941051041], [126.148713820501129, -32.2159660784206], [125.088623488465586, -32.728751316052829], [124.22164798390493, -32.959486586236061], [124.028946567888511, -33.483847344701708], [123.65966678273071, -33.890179131812722], [122.811036411633609, -33.914467054989835], [122.18306440642283, -34.003402194964217], [121.299190708502579, -33.821036065406126], [120.580268182458113, -33.930176690406618], [119.893695103028222, -33.976065362281808], [119.298899367348781, -34.50936614353396], [119.007340936357977, -34.464149265278529], [118.505717808100769, -34.746819349915093], [118.024971958489516, -35.064732761374707], [117.295507440257438, -35.025458672832862], [116.62510908413492, -35.025096937806829], [115.564346958479689, -34.386427911111547], [115.026808709779516, -34.196517022438918], [115.048616164206763, -33.623425388322026], [115.545123325667078, -33.487257989232951], [115.714673700016661, -33.259571628554944], [115.679378696761376, -32.900368747694124], [115.801645135563959, -32.205062351207026], [115.689610630355105, -31.612437025683782], [115.160909051576937, -30.601594333622455], [114.99704308477942, -30.030724786094162], [115.040037876446249, -29.461095472940794], [114.64197431850198, -28.810230808224706], [114.61649783738217, -28.516398614213042], [114.173579136208446, -28.118076674107321], [114.048883905088132, -27.33476531342712], [113.477497593236876, -26.543134047147898], [113.338953078262477, -26.116545098578477], [113.77835778204026, -26.549025160429174], [113.440962355606587, -25.621278171493152], [113.936901076311642, -25.911234633082877], [114.232852004047288, -26.298446140245868], [114.216160516417006, -25.786281019801105], [113.721255324357685, -24.998938897402123], [113.625343866024025, -24.683971042583146], [113.393523390762667, -24.384764499613262], [113.502043898575607, -23.80635019297025], [113.706992629045146, -23.56021534596406], [113.843418410295669, -23.059987481378734], [113.736551548316072, -22.475475355725372], [114.149756300921865, -21.755881036061009], [114.225307244932651, -22.51748829517863], [114.64776207891866, -21.829519952076904], [115.460167270979298, -21.495173435148541], [115.94737267462699, -21.068687839443708], [116.711615431791529, -20.701681817306817], [117.166316359527684, -20.623598728113802], [117.441545037914238, -20.746898695562162], [118.229558953932951, -20.374208265873232], [118.836085239742701, -20.263310642174822], [118.987807244951753, -20.044202569257319], [119.252493931150624, -19.952941989829835], [119.805225050944543, -19.976506442954978], [120.856220330896633, -19.683707777589188], [121.399856398607199, -19.239755547769729], [121.655137974129062, -18.70531788500713], [122.241665480641757, -18.197648614171765], [122.286623976735655, -17.798603204013911], [122.312772251475408, -17.254967136303446], [123.012574497571904, -16.405199883695854], [123.433789097183009, -17.268558037996225], [123.859344517106592, -17.069035332917249], [123.503242222183232, -16.596506036040363], [123.817073195491915, -16.11131601325199], [124.258286574399847, -16.32794361741956], [124.379726190285794, -15.567059828353973], [124.926152785340022, -15.07510019293532], [125.167275018413875, -14.680395603090004], [125.670086704613823, -14.510070082256018], [125.685796340030493, -14.230655612853834], [126.125149367376096, -14.347340996968949], [126.142822707219864, -14.095986830301211], [126.582589146023736, -13.95279143642041], [127.065867140817332, -13.817967624570922], [127.804633416861932, -14.276906019755042], [128.359689976108939, -14.869169610252253], [128.985543247595899, -14.875990899314738], [129.621473423379598, -14.969783623924553], [129.409600050982988, -14.420669854391031], [129.888640578328591, -13.618703301653481], [130.339465773642928, -13.357375583553473], [130.183506300985982, -13.107520033422301], [130.617795037966971, -12.536392103732464], [131.223494500859999, -12.183648776908113], [131.73509118054946, -12.302452894747159], [132.575298293183096, -12.114040622611013], [132.557211541881031, -11.603012383676683], [131.824698114143644, -11.273781833545097], [132.357223748911395, -11.128519382372641], [133.019560581596409, -11.376411228076844], [133.550845981989028, -11.786515394745134], [134.393068475481982, -12.042365411022173], [134.678632440327021, -11.9411829565947], [135.298491245667975, -12.248606052299051], [135.882693312727611, -11.962266940969796], [136.258380975489445, -12.049341729381606], [136.492475213771627, -11.857208754120389], [136.951620314684988, -12.351958916882735], [136.685124953355739, -12.887223402562054], [136.305406528875096, -13.291229750219895], [135.961758254134111, -13.324509372615889], [136.077616815332533, -13.72427825282578], [135.783836297753226, -14.223989353088211], [135.4286641786112, -14.715432224183896], [135.500184360903177, -14.997740573794427], [136.295174595281367, -15.550264987859121], [137.065360142159477, -15.870762220933353], [137.580470819244795, -16.215082289294084], [138.303217401278971, -16.807604261952658], [138.58516401586337, -16.806622409739173], [139.108542922115475, -17.062679131745366], [139.260574985918197, -17.371600843986183], [140.215245396078274, -17.710804945550063], [140.875463495039241, -17.36906869880394], [141.071110467696258, -16.832047214426719], [141.274095493738798, -16.388870131091604], [141.398222284103781, -15.840531508042584], [141.702183058844611, -15.044921156476928], [141.563380161708665, -14.561333103089506], [141.635520461188094, -14.270394789286284], [141.519868605718955, -13.698078301653805], [141.650920038011009, -12.944687595270562], [141.842691278246207, -12.741547539931187], [141.68699018775078, -12.407614434461134], [141.928629185147543, -11.877465915578778], [142.118488397387978, -11.328042087451619], [142.14370649634634, -11.04273650476814], [142.51526004452495, -10.668185723516642], [142.797310011974048, -11.157354831591515], [142.866763136974271, -11.784706719614929], [143.11594689348567, -11.90562957117791], [143.158631626558758, -12.325655612846187], [143.522123651299864, -12.834358412327429], [143.597157830987669, -13.400422051652594], [143.561811151299935, -13.763655694232209]]]] } }, + { "type": "Feature", "properties": { "admin": "Austria", "name": "Austria", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[16.979666782304033, 48.123497015976298], [16.903754103267257, 47.714865627628321], [16.340584344150411, 47.712901923201215], [16.534267612380372, 47.496170966169103], [16.202298211337361, 46.852385972676949], [16.011663852612653, 46.683610744811688], [15.137091912504982, 46.658702704447016], [14.632471551174827, 46.431817328469535], [13.806475457421524, 46.509306138691201], [12.376485223040813, 46.767559109069843], [12.153088006243051, 47.115393174826437], [11.164827915093268, 46.941579494812721], [11.048555942436533, 46.751358547546324], [10.442701450246627, 46.893546250997424], [9.932448357796657, 46.920728054382948], [9.479969516649019, 47.102809963563367], [9.632931756232974, 47.347601223329974], [9.594226108446346, 47.525058091820256], [9.896068149463188, 47.58019684507569], [10.402083774465209, 47.302487697939156], [10.544504021861625, 47.566399237653762], [11.426414015354736, 47.523766181012967], [12.141357456112784, 47.703083401065761], [12.620759718484491, 47.672387600284395], [12.932626987365945, 47.467645575543983], [13.025851271220487, 47.637583523135824], [12.884102817443901, 48.289145819687903], [13.243357374736998, 48.41611481382904], [13.595945672264433, 48.877171942737135], [14.33889773932472, 48.555305284207193], [14.901447381254055, 48.964401760445817], [15.253415561593979, 49.039074205107575], [16.029647251050218, 48.733899034207916], [16.49928266771877, 48.785808010445095], [16.960288120194573, 48.596982326850593], [16.879982944412998, 48.470013332709463], [16.979666782304033, 48.123497015976298]]] } }, + { "type": "Feature", "properties": { "admin": "Azerbaijan", "name": "Azerbaijan", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[45.001987339056789, 39.740003567049591], [45.298144972521435, 39.471751207022422], [45.739978468616997, 39.473999131827149], [45.735379266143092, 39.319719143219785], [46.143623081248812, 38.74120148371221], [45.457721795438729, 38.874139105783108], [44.952688022650264, 39.33576467544642], [44.79398969908199, 39.713002631177027], [45.001987339056789, 39.740003567049591]]], [[[47.373315464066216, 41.219732367511249], [47.81566572448471, 41.151416124021338], [47.987283156126033, 41.405819200194223], [48.584352654826283, 41.808869533854669], [49.110263706260653, 41.282286688800518], [49.618914829309588, 40.572924302729966], [50.084829542853093, 40.526157131505776], [50.392821079312704, 40.256561184239096], [49.569202101444795, 40.176100979160701], [49.395259230350419, 39.39948171646224], [49.2232283872507, 39.04921885838791], [48.856532423707584, 38.815486355131775], [48.883249139202533, 38.320245266262638], [48.634375441284831, 38.270377509100925], [48.010744256386502, 38.794014797514528], [48.355529412637928, 39.288764960276886], [48.060095249225256, 39.582235419262439], [47.685079380083117, 39.508363959301185], [46.505719842317966, 38.770605373686251], [46.483498976432443, 39.464154771475528], [46.034534132680697, 39.628020738273044], [45.610012241402913, 39.899993801425175], [45.891907179555133, 40.21847565363997], [45.359174839058156, 40.561503811193482], [45.560351189970469, 40.812289537105947], [45.179495883979392, 40.98535390885143], [44.972480096218156, 41.248128567055623], [45.217426385281634, 41.411451931314041], [45.962600538930438, 41.123872585609789], [46.501637404166978, 41.064444688474104], [46.637908156120567, 41.181672675128219], [46.145431756378983, 41.72280243587263], [46.404950799348818, 41.860675157227341], [46.686070591016652, 41.827137152669899], [47.373315464066216, 41.219732367511249]]]] } }, + { "type": "Feature", "properties": { "admin": "Burundi", "name": "Burundi", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[29.339997592900342, -4.499983412294092], [29.276383904749046, -3.293907159034063], [29.02492638521678, -2.839257907730157], [29.632176141078585, -2.917857761246096], [29.938359002407935, -2.348486830254238], [30.469696079232978, -2.413857517103458], [30.527677036264457, -2.807631931167534], [30.743012729624692, -3.034284763199686], [30.752262811004943, -3.359329522315569], [30.505559523243559, -3.568567396665364], [30.116332635221166, -4.090137627787242], [29.753512404099919, -4.45238941815328], [29.339997592900342, -4.499983412294092]]] } }, + { "type": "Feature", "properties": { "admin": "Belgium", "name": "Belgium", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[3.314971144228536, 51.345780951536071], [4.047071160507527, 51.267258612668556], [4.973991326526913, 51.475023708698124], [5.60697594567, 51.037298488969768], [6.156658155958779, 50.803721015010574], [6.043073357781109, 50.128051662794221], [5.782417433300905, 50.090327867221205], [5.674051954784828, 49.52948354755749], [4.799221632515809, 49.985373033236371], [4.286022983425084, 49.90749664977254], [3.588184441755685, 50.378992418003563], [3.123251580425801, 50.780363267614561], [2.658422071960274, 50.796848049515731], [2.513573032246142, 51.148506171261815], [3.314971144228536, 51.345780951536071]]] } }, + { "type": "Feature", "properties": { "admin": "Benin", "name": "Benin", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[2.691701694356254, 6.258817246928628], [1.865240512712318, 6.14215770102973], [1.618950636409238, 6.832038072126236], [1.664477573258381, 9.128590399609378], [1.46304284018467, 9.334624335157086], [1.425060662450136, 9.825395412632998], [1.077795037448737, 10.175606594275022], [0.772335646171484, 10.470808213742357], [0.899563022474069, 10.997339382364258], [1.243469679376488, 11.11051076908346], [1.447178175471066, 11.547719224488857], [1.93598554851988, 11.641150214072551], [2.154473504249921, 11.940150051313337], [2.49016360841793, 12.233052069543671], [2.84864301922667, 12.235635891158266], [3.611180454125558, 11.660167141155966], [3.572216424177469, 11.327939357951516], [3.797112257511713, 10.734745591673104], [3.600070021182801, 10.332186184119406], [3.705438266625918, 10.063210354040207], [3.220351596702101, 9.4441525333997], [2.912308383810255, 9.13760793704432], [2.723792758809509, 8.506845404489708], [2.74906253420022, 7.870734361192886], [2.691701694356254, 6.258817246928628]]] } }, + { "type": "Feature", "properties": { "admin": "Burkina Faso", "name": "Burkina Faso", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-2.827496303712706, 9.642460842319775], [-3.511898972986272, 9.900326239456216], [-3.980449184576684, 9.862344061721698], [-4.330246954760383, 9.610834865757139], [-4.779883592131966, 9.821984768101741], [-4.954653286143098, 10.152713934769732], [-5.404341599946973, 10.370736802609144], [-5.470564947929004, 10.951269842976044], [-5.197842576508648, 11.375145778850136], [-5.220941941743119, 11.713858954307224], [-4.427166103523802, 12.542645575404292], [-4.280405035814879, 13.228443508349738], [-4.006390753587225, 13.472485459848112], [-3.52280270019986, 13.337661647998612], [-3.103706834312759, 13.54126679122859], [-2.967694464520576, 13.798150336151506], [-2.191824510090384, 14.246417548067352], [-2.001035122068771, 14.559008287000887], [-1.066363491205663, 14.973815009007764], [-0.515854458000348, 15.116157741755725], [-0.26625729003058, 14.924308986872147], [0.374892205414682, 14.928908189346128], [0.295646396495101, 14.444234930880651], [0.429927605805517, 13.988733018443922], [0.993045688490071, 13.335749620003821], [1.024103224297477, 12.851825669806573], [2.177107781593775, 12.625017808477532], [2.154473504249921, 11.940150051313337], [1.93598554851988, 11.641150214072551], [1.447178175471066, 11.547719224488857], [1.243469679376488, 11.11051076908346], [0.899563022474069, 10.997339382364258], [0.023802524423701, 11.018681748900802], [-0.438701544588582, 11.09834096927872], [-0.761575893548183, 10.936929633015053], [-1.203357713211431, 11.009819240762736], [-2.94040930827046, 10.962690334512557], [-2.963896246747111, 10.395334784380081], [-2.827496303712706, 9.642460842319775]]] } }, + { "type": "Feature", "properties": { "admin": "Bangladesh", "name": "Bangladesh", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[92.672720981825549, 22.041238918541247], [92.652257114637976, 21.324047552978481], [92.30323449093865, 21.475485337809815], [92.368553501355606, 20.670883287025344], [92.082886183646124, 21.192195135985767], [92.025215285208361, 21.701569729086764], [91.834890985077408, 22.182935695885561], [91.417087029997646, 22.765019029221218], [90.496006300827247, 22.805016587815125], [90.586956821660948, 22.392793687422863], [90.272970819055544, 21.836367702720107], [89.847467075564268, 22.039146023033421], [89.70204959509492, 21.857115790285299], [89.41886274613546, 21.966178900637296], [89.031961297566198, 22.055708319582973], [88.876311883503064, 22.879146429937826], [88.529769728553759, 23.631141872649163], [88.699940220090895, 24.233714911388557], [88.084422235062405, 24.501657212821918], [88.30637251175601, 24.866079413344199], [88.931553989623069, 25.238692328384769], [88.209789259802477, 25.768065700782707], [88.56304935094974, 26.446525580342716], [89.355094028687276, 26.014407253518065], [89.832480910199592, 25.965082098895476], [89.920692580121838, 25.269749864192171], [90.872210727912105, 25.13260061288954], [91.799595981822065, 25.14743174895731], [92.376201613334786, 24.976692816664961], [91.915092807994398, 24.130413723237108], [91.467729933643668, 24.072639471934789], [91.158963250699713, 23.503526923104381], [91.706475050832083, 22.985263983649183], [91.869927606171302, 23.62434642180278], [92.146034783906799, 23.62749868417259], [92.672720981825549, 22.041238918541247]]] } }, + { "type": "Feature", "properties": { "admin": "Bulgaria", "name": "Bulgaria", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[22.657149692482985, 44.234923000661276], [22.94483239105184, 43.823785305347123], [23.332302280376322, 43.897010809904707], [24.100679152124169, 43.741051337247846], [25.569271681426923, 43.688444729174712], [26.065158725699739, 43.943493760751259], [27.242399529740904, 44.175986029632398], [27.970107049275068, 43.812468166675202], [28.55808149589199, 43.707461656258118], [28.039095086384712, 43.293171698574177], [27.673897739378042, 42.577892361006214], [27.996720411905383, 42.007358710287775], [27.135739373490473, 42.141484890301335], [26.117041863720793, 41.826904608724554], [26.106138136507205, 41.328898830727766], [25.197201368925441, 41.234485988930523], [24.492644891058031, 41.583896185872028], [23.692073601992345, 41.309080918943842], [22.952377150166445, 41.337993882811141], [22.881373732197424, 41.999297186850242], [22.380525750424585, 42.320259507815081], [22.545011834409614, 42.461362006188025], [22.436594679461273, 42.580321153323929], [22.604801466571324, 42.898518785161137], [22.986018507588479, 43.211161200526959], [22.500156691180276, 43.642814439460977], [22.410446404721593, 44.008063462899948], [22.657149692482985, 44.234923000661276]]] } }, + { "type": "Feature", "properties": { "admin": "The Bahamas", "name": "Bahamas", "continent": "North America" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-77.53466, 23.75975], [-77.78, 23.71], [-78.03405, 24.28615], [-78.40848, 24.57564], [-78.19087, 25.2103], [-77.89, 25.17], [-77.54, 24.34], [-77.53466, 23.75975]]], [[[-77.82, 26.58], [-78.91, 26.42], [-78.98, 26.79], [-78.51, 26.87], [-77.85, 26.84], [-77.82, 26.58]]], [[[-77.0, 26.59], [-77.17255, 25.87918], [-77.35641, 26.00735], [-77.34, 26.53], [-77.78802, 26.92516], [-77.79, 27.04], [-77.0, 26.59]]]] } }, + { "type": "Feature", "properties": { "admin": "Bosnia and Herzegovina", "name": "Bosnia and Herz.", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[19.005486281010118, 44.860233669609144], [19.36803, 44.863], [19.11761, 44.42307], [19.59976, 44.03847], [19.454, 43.568100000000115], [19.21852, 43.52384], [19.03165, 43.43253], [18.70648, 43.20011], [18.56, 42.65], [17.674921502358981, 43.028562527023603], [17.297373488034449, 43.446340643887353], [16.916156447017325, 43.667722479825663], [16.456442905348862, 44.041239732431265], [16.239660271884528, 44.351143296885695], [15.750026075918978, 44.81871165626255], [15.959367303133373, 45.233776760430935], [16.318156772535868, 45.004126695325901], [16.534939406000202, 45.211607570977705], [17.00214603035101, 45.233776760430935], [17.861783481526398, 45.067740383477137], [18.553214145591646, 45.08158966733145], [19.005486281010118, 44.860233669609144]]] } }, + { "type": "Feature", "properties": { "admin": "Belarus", "name": "Belarus", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[23.484127638449841, 53.912497667041123], [24.45068362803703, 53.905702216194747], [25.536353794056989, 54.282423407602515], [25.768432651479792, 54.846962592175082], [26.588279249790386, 55.167175604871659], [26.494331495883749, 55.61510691997762], [27.102459751094525, 55.783313707087672], [28.17670942557799, 56.169129950578807], [29.2295133806603, 55.918344224666356], [29.371571893030669, 55.67009064393617], [29.896294386522353, 55.789463202530406], [30.87390913262, 55.550976467503396], [30.971835971813132, 55.081547756564028], [30.75753380709871, 54.811770941784303], [31.384472283663733, 54.157056382862422], [31.791424187962232, 53.974638576872117], [31.731272820774503, 53.794029446012011], [32.405598585751157, 53.618045355842028], [32.693643019346034, 53.351420803432106], [32.304519484188226, 53.132726141972903], [31.497643670382924, 53.167426866256889], [31.30520063652801, 53.073995876673195], [31.540018344862254, 52.742052313846344], [31.78599816257158, 52.10167796488544], [30.927549269338975, 52.042353420614383], [30.619454380014837, 51.822806098022362], [30.55511722181145, 51.319503485715643], [30.157363722460889, 51.416138414101454], [29.254938185347921, 51.368234361366881], [28.992835320763522, 51.602044379271462], [28.617612745892242, 51.427713934934836], [28.241615024536564, 51.572227077839059], [27.454066196408426, 51.59230337178446], [26.337958611768549, 51.832288723347915], [25.327787713327005, 51.910656032918538], [24.553106316839511, 51.888461005249177], [24.005077752384206, 51.617443956094448], [23.52707075368437, 51.578454087930233], [23.508002150168689, 52.023646552124717], [23.19949384938618, 52.486977444053664], [23.799198846133375, 52.691099351606553], [23.804934930117774, 53.08973135030606], [23.527535841574995, 53.47012156840654], [23.484127638449841, 53.912497667041123]]] } }, + { "type": "Feature", "properties": { "admin": "Belize", "name": "Belize", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-89.143080410503302, 17.808318996649316], [-89.150909389995519, 17.955467637600414], [-89.029857347351808, 18.001511338772485], [-88.848343878926585, 17.883198147040229], [-88.490122850279334, 18.486830552641603], [-88.300031094093669, 18.499982204659897], [-88.296336229184803, 18.353272813383263], [-88.106812913754368, 18.348673610909284], [-88.123478563168476, 18.076674709541003], [-88.285354987322776, 17.644142971258031], [-88.197866787452625, 17.489475409408453], [-88.302640753924422, 17.13169363043566], [-88.239517991879893, 17.036066392479551], [-88.355428229510551, 16.530774237529624], [-88.551824510435821, 16.265467434143144], [-88.732433641295927, 16.233634751851351], [-88.930612759135244, 15.887273464415072], [-89.229121670269265, 15.886937567605166], [-89.15080603713092, 17.015576687075832], [-89.143080410503302, 17.808318996649316]]] } }, + { "type": "Feature", "properties": { "admin": "Bolivia", "name": "Bolivia", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-62.84646847192154, -22.034985446869442], [-63.986838141522462, -21.993644301035946], [-64.377021043542243, -22.798091322523533], [-64.964892137294598, -22.07586150481232], [-66.273339402924833, -21.832310479420713], [-67.10667355006359, -22.735924574476414], [-67.82817989772272, -22.872918796482171], [-68.219913092711266, -21.494346612231858], [-68.757167121033731, -20.372657972904459], [-68.442225104430904, -19.405068454671426], [-68.966818406841853, -18.9816834449041], [-69.100246955019472, -18.260125420812674], [-69.590423753524036, -17.580011895419329], [-68.959635382753291, -16.500697930571267], [-69.389764166934697, -15.66012908291165], [-69.160346645774936, -15.323973890853015], [-69.339534674747, -14.953195489158828], [-68.94888668483658, -14.45363941819328], [-68.929223802349526, -13.602683607643007], [-68.880079515239956, -12.89972909917665], [-68.665079718689611, -12.561300144097171], [-69.52967810736493, -10.951734307502193], [-68.786157599549469, -11.036380303596276], [-68.27125362819325, -11.014521172736817], [-68.048192308205373, -10.712059014532484], [-67.173801235610725, -10.30681243249961], [-66.646908331962791, -9.931331475466861], [-65.33843522811641, -9.76198780684639], [-65.444837002205375, -10.51145110437543], [-65.321898769783004, -10.895872084194675], [-65.402281460213018, -11.566270440317151], [-64.31635291203159, -12.461978041232191], [-63.196498786050562, -12.627032565972433], [-62.803060268796372, -13.000653171442682], [-62.127080857986371, -13.19878061284972], [-61.713204311760769, -13.489202162330049], [-61.084121263255646, -13.479383640194595], [-60.503304002511122, -13.775954685117656], [-60.459198167550014, -14.354007256734551], [-60.264326341377355, -14.645979099183638], [-60.251148851142922, -15.077218926659318], [-60.542965664295131, -15.093910414289592], [-60.158389655179022, -16.258283786690082], [-58.241219855366673, -16.299573256091289], [-58.388058437724027, -16.877109063385273], [-58.280804002502244, -17.271710300366014], [-57.734558274960989, -17.552468357007765], [-57.498371141170971, -18.174187513911289], [-57.676008877174297, -18.961839694904025], [-57.949997321185819, -19.400004164306814], [-57.853801642474494, -19.969995212486186], [-58.166392381408038, -20.176700941653674], [-58.183471442280492, -19.868399346600359], [-59.11504248720609, -19.356906019775398], [-60.043564622626477, -19.342746677327419], [-61.786326463453761, -19.633736667562957], [-62.265961269770784, -20.513734633061272], [-62.291179368729203, -21.051634616787389], [-62.685057135657871, -22.24902922942238], [-62.84646847192154, -22.034985446869442]]] } }, + { "type": "Feature", "properties": { "admin": "Brazil", "name": "Brazil", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-57.625133429582945, -30.216294854454258], [-56.290899624239067, -28.852760512000884], [-55.162286342984558, -27.881915378533456], [-54.49072526713551, -27.474756768505785], [-53.648735317587885, -26.923472588816086], [-53.628348965048737, -26.124865004177465], [-54.130049607954376, -25.547639255477247], [-54.625290696823562, -25.739255466415507], [-54.428946092330577, -25.162184747012162], [-54.293476325077435, -24.570799655863958], [-54.292959560754511, -24.021014092710722], [-54.652834235235119, -23.839578138933955], [-55.027901780809543, -24.001273695575225], [-55.400747239795407, -23.956935316668797], [-55.517639329639621, -23.57199757252663], [-55.61068274598113, -22.655619398694839], [-55.797958136606894, -22.356929620047815], [-56.473317430229379, -22.086300144135279], [-56.881509568902885, -22.282153822521476], [-57.937155727761287, -22.090175876557169], [-57.870673997617786, -20.732687676681948], [-58.166392381408038, -20.176700941653674], [-57.853801642474494, -19.969995212486186], [-57.949997321185819, -19.400004164306814], [-57.676008877174297, -18.961839694904025], [-57.498371141170971, -18.174187513911289], [-57.734558274960989, -17.552468357007765], [-58.280804002502244, -17.271710300366014], [-58.388058437724027, -16.877109063385273], [-58.241219855366673, -16.299573256091289], [-60.158389655179022, -16.258283786690082], [-60.542965664295131, -15.093910414289592], [-60.251148851142922, -15.077218926659318], [-60.264326341377355, -14.645979099183638], [-60.459198167550014, -14.354007256734551], [-60.503304002511122, -13.775954685117656], [-61.084121263255646, -13.479383640194595], [-61.713204311760769, -13.489202162330049], [-62.127080857986371, -13.19878061284972], [-62.803060268796372, -13.000653171442682], [-63.196498786050562, -12.627032565972433], [-64.31635291203159, -12.461978041232191], [-65.402281460213018, -11.566270440317151], [-65.321898769783004, -10.895872084194675], [-65.444837002205375, -10.51145110437543], [-65.33843522811641, -9.76198780684639], [-66.646908331962791, -9.931331475466861], [-67.173801235610725, -10.30681243249961], [-68.048192308205373, -10.712059014532484], [-68.27125362819325, -11.014521172736817], [-68.786157599549469, -11.036380303596276], [-69.52967810736493, -10.951734307502193], [-70.093752204046879, -11.123971856331011], [-70.548685675728393, -11.009146823778462], [-70.481893886991159, -9.490118096558842], [-71.302412278921523, -10.079436130415372], [-72.184890713169821, -10.05359791426943], [-72.563033006465631, -9.520193780152715], [-73.226713426390148, -9.462212823121233], [-73.015382656532537, -9.03283334720806], [-73.571059332967053, -8.424446709835832], [-73.987235480429646, -7.523829847853063], [-73.723401455363486, -7.340998630404412], [-73.724486660441627, -6.918595472850638], [-73.120027431923575, -6.629930922068238], [-73.219711269814596, -6.089188734566076], [-72.964507208941185, -5.741251315944892], [-72.891927659787243, -5.274561455916979], [-71.748405727816532, -4.59398284263301], [-70.928843349883564, -4.401591485210367], [-70.79476884630229, -4.251264743673302], [-69.893635219996611, -4.298186944194326], [-69.444101935489599, -1.556287123219817], [-69.420485805932216, -1.122618503426409], [-69.577065395776586, -0.549991957200163], [-70.02065589057004, -0.185156345219539], [-70.015565761989293, 0.541414292804205], [-69.452396002872447, 0.706158758950693], [-69.252434048119042, 0.602650865070075], [-69.218637661400166, 0.985676581217433], [-69.804596727157701, 1.089081122233466], [-69.816973232691609, 1.714805202639624], [-67.868565029558823, 1.692455145673392], [-67.537810024674684, 2.037162787276329], [-67.25999752467358, 1.719998684084956], [-67.065048183852483, 1.130112209473225], [-66.876325853122566, 1.253360500489336], [-66.325765143484944, 0.724452215982012], [-65.548267381437554, 0.78925446207603], [-65.354713304288353, 1.0952822941085], [-64.611011928959854, 1.328730576987041], [-64.199305792890499, 1.49285492594602], [-64.083085496666072, 1.91636912679408], [-63.368788011311644, 2.200899562993129], [-63.422867397705105, 2.411067613124174], [-64.269999152265783, 2.497005520025566], [-64.408827887617903, 3.126786200366623], [-64.368494432214092, 3.797210394705246], [-64.816064012294007, 4.056445217297422], [-64.628659430587533, 4.14848094320925], [-63.888342861574145, 4.020530096854571], [-63.093197597899092, 3.770571193858784], [-62.804533047116692, 4.006965033377951], [-62.085429653559125, 4.162123521334308], [-60.966893276601517, 4.536467596856638], [-60.601179165271922, 4.918098049332129], [-60.733574184803707, 5.2002772078619], [-60.213683437731319, 5.2444863956876], [-59.980958624904865, 5.014061184098138], [-60.111002366767373, 4.574966538914082], [-59.767405768458701, 4.423502915866606], [-59.538039923731219, 3.958802598481937], [-59.815413174057852, 3.606498521332085], [-59.974524909084543, 2.755232652188055], [-59.718545701726732, 2.249630438644359], [-59.646043667221242, 1.786893825686789], [-59.030861579002639, 1.317697658692722], [-58.540012986878288, 1.26808828369252], [-58.429477098205957, 1.46394196207872], [-58.113449876525003, 1.507195135907025], [-57.660971035377358, 1.682584947105638], [-57.33582292339689, 1.948537705895759], [-56.782704230360814, 1.863710842288653], [-56.53938574891454, 1.89952260986692], [-55.995698004771739, 1.817667141116601], [-55.905600145070871, 2.021995754398659], [-56.073341844290283, 2.220794989425499], [-55.973322109589361, 2.510363877773016], [-55.569755011605984, 2.42150625244713], [-55.097587449755125, 2.523748073736612], [-54.524754197799709, 2.311848863123785], [-54.088062506717243, 2.105556545414629], [-53.778520677288903, 2.376702785650081], [-53.554839240113537, 2.33489655192595], [-53.4184651352953, 2.05338918701598], [-52.939657151894949, 2.124857692875636], [-52.556424730018414, 2.504705308437053], [-52.249337531123942, 3.241094468596244], [-51.657797410678882, 4.156232408053028], [-51.317146369010842, 4.203490505383953], [-51.069771287629649, 3.65039765056403], [-50.508875291533641, 1.901563828942456], [-49.974075893745045, 1.736483465986069], [-49.947100796088705, 1.046189683431223], [-50.699251268096901, 0.222984117021681], [-50.388210822132123, -0.078444512536819], [-48.620566779156313, -0.235489190271821], [-48.584496629416577, -1.237805271005001], [-47.824956427590621, -0.5816179337628], [-46.566583624851219, -0.941027520352776], [-44.9057030909904, -1.551739597178134], [-44.417619187993658, -2.137750339367975], [-44.581588507655773, -2.691308282078523], [-43.418791266440188, -2.383110039889793], [-41.47265682632824, -2.912018324397116], [-39.97866533055403, -2.87305429444904], [-38.50038347019656, -3.700652357603394], [-37.223252122535193, -4.820945733258915], [-36.45293738457638, -5.109403578312153], [-35.597795783010454, -5.149504489770648], [-35.235388963347553, -5.464937432480245], [-34.896029832486825, -6.738193047719709], [-34.729993455533027, -7.343220716992965], [-35.128212042774216, -8.996401462442284], [-35.636966518687707, -9.649281508017811], [-37.046518724096991, -11.040721123908799], [-37.683611619607355, -12.17119475672582], [-38.423876512188436, -13.038118584854285], [-38.673887091616507, -13.057652276260615], [-38.953275722802537, -13.79336964280002], [-38.882298143049645, -15.667053724838764], [-39.161092495264306, -17.208406670808468], [-39.267339240056394, -17.867746270420479], [-39.583521491034219, -18.262295830968934], [-39.76082333022763, -19.599113457927402], [-40.774740770010332, -20.90451181405242], [-40.944756232250597, -21.937316989837807], [-41.75416419123821, -22.370675551037454], [-41.988284267736546, -22.970070489190888], [-43.074703742024738, -22.967693373305462], [-44.647811855637798, -23.351959323827838], [-45.35213578955991, -23.796841729428579], [-46.472093268405523, -24.088968601174539], [-47.648972337420645, -24.885199069927715], [-48.495458136577689, -25.877024834905647], [-48.641004808127725, -26.623697605090928], [-48.474735887228647, -27.175911960561887], [-48.661520351747612, -28.186134535435713], [-48.888457404157393, -28.674115085567877], [-49.587329474472668, -29.224469089476333], [-50.696874152211478, -30.984465020472953], [-51.576226162306149, -31.777698256153204], [-52.256081305538032, -32.245369968394662], [-52.71209998229768, -33.196578057591175], [-53.373661668498229, -33.768377780900757], [-53.650543992718084, -33.202004082981823], [-53.209588995971529, -32.727666110974717], [-53.787951626182185, -32.047242526987617], [-54.572451544805105, -31.494511407193745], [-55.601510179249331, -30.853878676071385], [-55.97324459494093, -30.883075860316296], [-56.976025763564721, -30.109686374636119], [-57.625133429582945, -30.216294854454258]]] } }, + { "type": "Feature", "properties": { "admin": "Brunei", "name": "Brunei", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[114.204016554828343, 4.525873928236805], [114.599961379048707, 4.900011298029965], [115.450710483869798, 5.447729803891532], [115.405700311343566, 4.955227565933837], [115.347460972150643, 4.316636053887009], [114.869557326315373, 4.348313706881924], [114.659595981913498, 4.007636826997753], [114.204016554828343, 4.525873928236805]]] } }, + { "type": "Feature", "properties": { "admin": "Bhutan", "name": "Bhutan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[91.69665652869665, 27.771741848251661], [92.10371178585973, 27.4526140406332], [92.033483514375078, 26.838310451763554], [91.217512648486405, 26.808648179628019], [90.37327477413406, 26.875724188742872], [89.744527622438838, 26.71940298105995], [88.835642531289366, 27.098966376243755], [88.814248488320544, 27.299315904239361], [89.475810174521101, 28.04275889740639], [90.015828891971154, 28.296438503527209], [90.730513950567769, 28.064953925075748], [91.258853794319904, 28.040614325466287], [91.69665652869665, 27.771741848251661]]] } }, + { "type": "Feature", "properties": { "admin": "Botswana", "name": "Botswana", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[25.649163445750155, -18.536025892818987], [25.850391473094724, -18.714412937090533], [26.164790887158478, -19.293085625894935], [27.296504754350501, -20.391519870690995], [27.724747348753247, -20.499058526290387], [27.727227817503252, -20.851801853114711], [28.02137007010861, -21.485975030200578], [28.794656202924209, -21.639454034107445], [29.432188348109033, -22.091312758067584], [28.017235955525244, -22.827753594659072], [27.119409620886238, -23.574323011979772], [26.78640669119741, -24.240690606383478], [26.485753208123292, -24.616326592713097], [25.941652052522151, -24.696373386333214], [25.765848829865206, -25.174845472923671], [25.664666375437712, -25.486816094669706], [25.025170525825782, -25.719670098576891], [24.211266717228792, -25.670215752873567], [23.733569777122703, -25.39012948985161], [23.312096795350179, -25.268689873965712], [22.824271274514896, -25.500458672794768], [22.579531691180584, -25.979447523708142], [22.105968865657864, -26.28025603607913], [21.60589603036939, -26.726533705351748], [20.889609002371731, -26.828542982695907], [20.666470167735437, -26.477453301704916], [20.758609246511831, -25.868136488551446], [20.165725538827186, -24.917961928000768], [19.895767856534427, -24.767790215760588], [19.895457797940672, -21.849156996347865], [20.881134067475866, -21.814327080983144], [20.910641310314531, -18.252218926672018], [21.655040317478971, -18.219146010005222], [23.196858351339298, -17.869038181227783], [23.579005568137713, -18.281261081620055], [24.217364536239209, -17.889347019118485], [24.520705193792534, -17.887124932529932], [25.084443393664564, -17.661815687737366], [25.264225701608005, -17.736539808831413], [25.649163445750155, -18.536025892818987]]] } }, + { "type": "Feature", "properties": { "admin": "Central African Republic", "name": "Central African Rep.", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[15.279460483469107, 7.421924546737968], [16.106231723706767, 7.497087917506504], [16.290561557691884, 7.754307359239304], [16.456184523187343, 7.734773667832966], [16.705988396886251, 7.508327541529978], [17.964929640380884, 7.890914008002865], [18.389554884523218, 8.281303615751822], [18.911021762780504, 8.630894680206351], [18.81200971850927, 8.982914536978596], [19.094008009526018, 9.074846910025837], [20.059685499764267, 9.01270600019485], [21.00086836109616, 9.475985215691507], [21.723821648859452, 10.567055568885973], [22.231129184668784, 10.971888739460507], [22.864165480244218, 11.142395127807543], [22.977543572692603, 10.714462591998538], [23.554304233502187, 10.089255275915306], [23.557249790142826, 9.681218166538683], [23.394779087017181, 9.26506785729222], [23.459012892355979, 8.954285793488891], [23.805813429466745, 8.666318874542425], [24.567369012152078, 8.229187933785466], [25.114932488716786, 7.825104071479172], [25.12413089366472, 7.500085150579436], [25.796647983511171, 6.979315904158069], [26.21341840994511, 6.546603298362071], [26.465909458123232, 5.94671743410187], [27.213409051225163, 5.550953477394557], [27.374226108517483, 5.233944403500059], [27.044065382604703, 5.127852688004835], [26.402760857862535, 5.150874538590869], [25.650455356557465, 5.256087754737123], [25.278798455514302, 5.170408229997191], [25.128833449003274, 4.927244777847789], [24.805028924262409, 4.897246608902349], [24.41053104014625, 5.108784084489129], [23.297213982850135, 4.609693101414221], [22.841479526468103, 4.710126247573483], [22.704123569436284, 4.633050848810156], [22.405123732195531, 4.02916006104732], [21.659122755630019, 4.224341945813719], [20.927591180106273, 4.322785549329736], [20.290679152108932, 4.691677761245287], [19.467783644293146, 5.031527818212779], [18.932312452884755, 4.709506130385973], [18.542982211997778, 4.201785183118317], [18.453065219809925, 3.504385891123348], [17.809900343505259, 3.560196437998569], [17.133042433346297, 3.728196519379451], [16.537058139724135, 3.198254706226278], [16.01285241055535, 2.267639675298084], [15.907380812247649, 2.557389431158612], [15.862732374747479, 3.013537298998982], [15.405395948964379, 3.335300604664339], [15.036219516671249, 3.851367295747123], [14.950953403389658, 4.21038930909492], [14.478372430080466, 4.732605495620446], [14.558935988023501, 5.03059764243153], [14.459407179429345, 5.451760565610299], [14.536560092841111, 6.22695872642069], [14.776545444404572, 6.408498033062044], [15.279460483469107, 7.421924546737968]]] } }, + { "type": "Feature", "properties": { "admin": "Canada", "name": "Canada", "continent": "North America" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-63.6645, 46.55001], [-62.9393, 46.41587], [-62.01208, 46.44314], [-62.50391, 46.03339], [-62.87433, 45.96818], [-64.1428, 46.39265], [-64.39261, 46.72747], [-64.01486, 47.03601], [-63.6645, 46.55001]]], [[[-61.806305, 49.10506], [-62.29318, 49.08717], [-63.58926, 49.40069], [-64.51912, 49.87304], [-64.17322, 49.95718], [-62.85829, 49.70641], [-61.835585, 49.28855], [-61.806305, 49.10506]]], [[[-123.510001587551116, 48.51001089130343], [-124.012890788399474, 48.370846259141402], [-125.655012777338342, 48.825004584338494], [-125.954994466792726, 49.179995835967638], [-126.850004435871853, 49.530000311880421], [-127.029993449544392, 49.814995835970073], [-128.059336304366212, 49.994959011426594], [-128.444584107102145, 50.53913768167611], [-128.358413656255408, 50.770648098343678], [-127.308581096029883, 50.552573554071948], [-126.695000977212302, 50.40090322529538], [-125.755006673823161, 50.295018215529367], [-125.415001587558791, 49.950000515332604], [-124.920768189119315, 49.47527497008339], [-123.92250870832099, 49.062483628935794], [-123.510001587551116, 48.51001089130343]]], [[[-56.134035814017111, 50.687009792679298], [-56.795881720595261, 49.812308661490945], [-56.143105027884289, 50.15011749938283], [-55.471492275602934, 49.935815334668447], [-55.822401089080913, 49.587128607779093], [-54.93514258484565, 49.313010972686833], [-54.473775397343772, 49.556691189159167], [-53.47654944519131, 49.24913890237405], [-53.786013759971233, 48.516780503933617], [-53.086133999226249, 48.687803656603528], [-52.95864824076223, 48.157164211614472], [-52.648098720904173, 47.53554840757549], [-53.069158291218336, 46.655498765644936], [-53.521456264853029, 46.618291734394823], [-54.178935512902527, 46.807065741556997], [-53.961868659060471, 47.625207017601909], [-54.240482143762122, 47.752279364607617], [-55.400773078011483, 46.88499380145312], [-55.997480841685835, 46.919720363953289], [-55.291219041552765, 47.389562486350982], [-56.250798712780508, 47.632545070987383], [-57.325229254777085, 47.572807115257987], [-59.26601518414676, 47.603347886742498], [-59.41949418805369, 47.89945384377485], [-58.796586473207398, 48.251525376979473], [-59.23162451845652, 48.523188381537793], [-58.391804979065213, 49.125580552764163], [-57.358689744686025, 50.718274034215845], [-56.738650071831998, 51.287438259478527], [-55.87097693543528, 51.632094224649187], [-55.406974249886602, 51.588272610065722], [-55.600218268442077, 51.317074693397913], [-56.134035814017111, 50.687009792679298]]], [[[-133.180004041711669, 54.169975490935308], [-132.710007884431292, 54.040009315423518], [-131.749989584003259, 54.120004380909208], [-132.049480347350965, 52.984621487024519], [-131.179042521826574, 52.18043284769827], [-131.577829549822894, 52.182370713909236], [-132.180428426778519, 52.639707139692391], [-132.549992432313843, 53.100014960332132], [-133.054611178755493, 53.411468817755363], [-133.239664482792676, 53.851080227262386], [-133.180004041711669, 54.169975490935308]]], [[[-79.26582, 62.158675], [-79.65752, 61.63308], [-80.09956, 61.7181], [-80.36215, 62.01649], [-80.315395, 62.085565], [-79.92939, 62.3856], [-79.52002, 62.36371], [-79.26582, 62.158675]]], [[[-81.89825, 62.7108], [-83.06857, 62.15922], [-83.77462, 62.18231], [-83.99367, 62.4528], [-83.25048, 62.91409], [-81.87699, 62.90458], [-81.89825, 62.7108]]], [[[-85.161307949549851, 65.657284654392797], [-84.975763719405933, 65.217518215588981], [-84.464012010419495, 65.371772365980163], [-83.88262630891974, 65.109617824963536], [-82.78757687043877, 64.766693020274673], [-81.642013719392509, 64.455135809986942], [-81.553440314444245, 63.979609280037131], [-80.817361212878851, 64.057485663500998], [-80.103451300766594, 63.725981350348597], [-80.991019863595653, 63.41124603947496], [-82.547178107416997, 63.651722317145229], [-83.108797573565042, 64.101875718839707], [-84.100416632813847, 63.569711819098004], [-85.523404710618991, 63.052379055424076], [-85.866768764982339, 63.637252916103542], [-87.221983201836721, 63.541238104905212], [-86.352759772471259, 64.035833238370699], [-86.224886440765133, 64.822916978608262], [-85.883847825854858, 65.738778388117041], [-85.161307949549851, 65.657284654392797]]], [[[-75.86588, 67.14886], [-76.98687, 67.09873], [-77.2364, 67.58809], [-76.81166, 68.14856], [-75.89521, 68.28721], [-75.1145, 68.01036], [-75.10333, 67.58202], [-75.21597, 67.44425], [-75.86588, 67.14886]]], [[[-95.647681203800488, 69.107690358321761], [-96.269521203800579, 68.757040358321731], [-97.61740120380054, 69.060030358321782], [-98.431801203800504, 68.950700358321768], [-99.797401203800504, 69.400030358321786], [-98.917401203800523, 69.710030358321788], [-98.218261203800466, 70.143540358321744], [-97.157401203800532, 69.860030358321794], [-96.557401203800524, 69.680030358321758], [-96.257401203800498, 69.490030358321761], [-95.647681203800488, 69.107690358321761]]], [[[-90.5471, 69.49766], [-90.55151, 68.47499], [-89.21515, 69.25873], [-88.01966, 68.61508], [-88.31749, 67.87338], [-87.35017, 67.19872], [-86.30607, 67.92146], [-85.57664, 68.78456], [-85.52197, 69.88211], [-84.10081, 69.80539], [-82.62258, 69.65826], [-81.28043, 69.16202], [-81.2202, 68.66567], [-81.96436, 68.13253], [-81.25928, 67.59716], [-81.38653, 67.11078], [-83.34456, 66.41154], [-84.73542, 66.2573], [-85.76943, 66.55833], [-86.0676, 66.05625], [-87.03143, 65.21297], [-87.32324, 64.77563], [-88.48296, 64.09897], [-89.91444, 64.03273], [-90.70398, 63.61017], [-90.77004, 62.96021], [-91.93342, 62.83508], [-93.15698, 62.02469], [-94.24153, 60.89865], [-94.62931, 60.11021], [-94.6846, 58.94882], [-93.21502, 58.78212], [-92.76462, 57.84571], [-92.297029999999893, 57.08709], [-90.89769, 57.28468], [-89.03953, 56.85172], [-88.03978, 56.47162], [-87.32421, 55.99914], [-86.07121, 55.72383], [-85.01181, 55.3026], [-83.36055, 55.24489], [-82.27285, 55.14832], [-82.4362, 54.28227], [-82.12502, 53.27703], [-81.40075, 52.15788], [-79.91289, 51.20842], [-79.14301, 51.53393], [-78.60191, 52.56208], [-79.12421, 54.14145], [-79.82958, 54.66772], [-78.22874, 55.13645], [-77.0956, 55.83741], [-76.54137, 56.53423], [-76.62319, 57.20263], [-77.30226, 58.05209], [-78.51688, 58.80458], [-77.33676, 59.85261], [-77.77272, 60.75788], [-78.10687, 62.31964], [-77.41067, 62.55053], [-75.69621, 62.2784], [-74.6682, 62.18111], [-73.83988, 62.4438], [-72.90853, 62.10507], [-71.67708, 61.52535], [-71.37369, 61.13717], [-69.59042, 61.06141], [-69.62033, 60.22125], [-69.2879, 58.95736], [-68.37455, 58.80106], [-67.64976, 58.21206], [-66.20178, 58.76731], [-65.24517, 59.87071], [-64.58352, 60.33558], [-63.80475, 59.4426], [-62.50236, 58.16708], [-61.39655, 56.96745], [-61.79866, 56.33945], [-60.46853, 55.77548], [-59.56962, 55.20407], [-57.97508, 54.94549], [-57.3332, 54.6265], [-56.93689, 53.78032], [-56.15811, 53.64749], [-55.75632, 53.27036], [-55.68338, 52.14664], [-56.40916, 51.7707], [-57.12691, 51.41972], [-58.77482, 51.0643], [-60.03309, 50.24277], [-61.72366, 50.08046], [-63.86251, 50.29099], [-65.36331, 50.2982], [-66.39905, 50.22897], [-67.23631, 49.51156], [-68.51114, 49.06836], [-69.95362, 47.74488], [-71.10458, 46.82171], [-70.25522, 46.98606], [-68.65, 48.3], [-66.55243, 49.1331], [-65.05626, 49.23278], [-64.17099, 48.74248], [-65.11545, 48.07085], [-64.79854, 46.99297], [-64.47219, 46.23849], [-63.17329, 45.73902], [-61.52072, 45.88377], [-60.51815, 47.00793], [-60.4486, 46.28264], [-59.80287, 45.9204], [-61.03988, 45.26525], [-63.25471, 44.67014], [-64.24656, 44.26553], [-65.36406, 43.54523], [-66.1234, 43.61867], [-66.16173, 44.46512], [-64.42549, 45.29204], [-66.02605, 45.25931], [-67.13741, 45.13753], [-67.79134, 45.70281], [-67.79046, 47.06636], [-68.23444, 47.35486], [-68.905, 47.185], [-69.237216, 47.447781], [-69.99997, 46.69307], [-70.305, 45.915], [-70.66, 45.46], [-71.08482, 45.30524], [-71.405, 45.255], [-71.50506, 45.0082], [-73.34783, 45.00738], [-74.867, 45.00048], [-75.31821, 44.81645], [-76.375, 44.09631], [-76.5, 44.018458893758712], [-76.820034145805565, 43.628784288093748], [-77.737885097957687, 43.62905558936329], [-78.720279914042365, 43.625089423184868], [-79.171673550111862, 43.466339423184216], [-79.01, 43.27], [-78.92, 42.965], [-78.939362148743683, 42.863611355148031], [-80.247447679347928, 42.366199856122584], [-81.277746548167144, 42.209025987306845], [-82.439277716791608, 41.675105088867149], [-82.690089280920162, 41.675105088867149], [-83.029810146806909, 41.832795722005834], [-83.141999681312555, 41.975681057292825], [-83.12, 42.08], [-82.9, 42.43], [-82.43, 42.98], [-82.137642381503881, 43.571087551439909], [-82.337763125431053, 44.44], [-82.550924648758169, 45.347516587905368], [-83.592850714843067, 45.816893622412373], [-83.469550747394621, 45.994686387712584], [-83.616130947590563, 46.116926988299056], [-83.890765347005726, 46.116926988299056], [-84.091851264161463, 46.27541860613816], [-84.14211951367335, 46.512225857115723], [-84.3367, 46.40877], [-84.6049, 46.4396], [-84.543748745445853, 46.538684190449132], [-84.779238247399888, 46.637101955749038], [-84.876079881514855, 46.900083319682366], [-85.652363247403414, 47.220218817730498], [-86.461990831228249, 47.553338019392037], [-87.439792623300207, 47.94], [-88.378114183286698, 48.302917588893727], [-89.272917446636654, 48.019808254582657], [-89.6, 48.01], [-90.83, 48.27], [-91.64, 48.14], [-92.61, 48.45], [-93.63087, 48.60926], [-94.32914, 48.67074], [-94.64, 48.84], [-94.81758, 49.38905], [-95.15609, 49.38425], [-95.159069509172014, 49.0], [-97.228720000004799, 49.0007], [-100.65, 49.0], [-104.04826, 48.99986], [-107.05, 49.0], [-110.05, 49.0], [-113.0, 49.0], [-116.04818, 49.0], [-117.03121, 49.0], [-120.0, 49.0], [-122.84, 49.0], [-122.97421, 49.002537777777789], [-124.91024, 49.98456], [-125.62461, 50.41656], [-127.43561, 50.83061], [-127.99276, 51.71583], [-127.85032, 52.32961], [-129.12979, 52.75538], [-129.30523, 53.56159], [-130.51497, 54.28757], [-130.53611, 54.80278], [-129.98, 55.285], [-130.00778, 55.91583], [-131.70781, 56.55212], [-132.73042, 57.69289], [-133.35556, 58.41028], [-134.27111, 58.86111], [-134.945, 59.27056], [-135.47583, 59.78778], [-136.47972, 59.46389], [-137.4525, 58.905], [-138.34089, 59.56211], [-139.039, 60.0], [-140.013, 60.27682], [-140.99778, 60.30639], [-140.9925, 66.00003], [-140.986, 69.712], [-139.12052, 69.47102], [-137.54636, 68.99002], [-136.50358, 68.89804], [-135.62576, 69.31512], [-134.41464, 69.62743], [-132.92925, 69.50534], [-131.43136, 69.94451], [-129.79471, 70.19369], [-129.10773, 69.77927], [-128.36156, 70.01286], [-128.13817, 70.48384], [-127.44712, 70.37721], [-125.75632, 69.48058], [-124.42483, 70.1584], [-124.28968, 69.39969], [-123.06108, 69.56372], [-122.6835, 69.85553], [-121.47226, 69.79778], [-119.94288, 69.37786], [-117.60268, 69.01128], [-116.22643, 68.84151], [-115.2469, 68.90591], [-113.89794, 68.3989], [-115.30489, 67.90261], [-113.49727, 67.68815], [-110.798, 67.80612], [-109.94619, 67.98104], [-108.8802, 67.38144], [-107.79239, 67.88736], [-108.81299, 68.31164], [-108.16721, 68.65392], [-106.95, 68.7], [-106.15, 68.8], [-105.34282, 68.56122], [-104.33791, 68.018], [-103.22115, 68.09775], [-101.45433, 67.64689], [-99.90195, 67.80566], [-98.4432, 67.78165], [-98.5586, 68.40394], [-97.66948, 68.57864], [-96.11991, 68.23939], [-96.12588, 67.29338], [-95.48943, 68.0907], [-94.685, 68.06383], [-94.23282, 69.06903], [-95.30408, 69.68571], [-96.47131, 70.08976], [-96.39115, 71.19482], [-95.2088, 71.92053], [-93.88997, 71.76015], [-92.87818, 71.31869], [-91.51964, 70.19129], [-92.40692, 69.69997], [-90.5471, 69.49766]]], [[[-114.167169999999871, 73.12145], [-114.66634, 72.65277], [-112.441019999999867, 72.9554], [-111.05039, 72.4504], [-109.920349999999857, 72.96113], [-109.00654, 72.63335], [-108.188349999999886, 71.65089], [-107.68599, 72.06548], [-108.39639, 73.08953], [-107.51645, 73.23598], [-106.522589999999866, 73.07601], [-105.402459999999877, 72.67259], [-104.77484, 71.6984], [-104.464759999999814, 70.99297], [-102.78537, 70.49776], [-100.980779999999868, 70.02432], [-101.089289999999892, 69.58447000000011], [-102.731159999999875, 69.50402], [-102.09329, 69.11962], [-102.43024, 68.75282], [-104.24, 68.91], [-105.96, 69.180000000000135], [-107.12254, 69.11922], [-108.999999999999872, 68.78], [-111.534148875200117, 68.630059156817921], [-113.3132, 68.53554], [-113.854959999999807, 69.007440000000102], [-115.22, 69.28], [-116.10794, 69.16821], [-117.34, 69.960000000000107], [-116.674729999999869, 70.06655], [-115.13112, 70.2373], [-113.72141, 70.19237], [-112.4161, 70.36638], [-114.35, 70.6], [-116.48684, 70.52045], [-117.9048, 70.540560000000127], [-118.43238, 70.9092], [-116.11311, 71.30918], [-117.65568, 71.2952], [-119.40199, 71.55859], [-118.56267, 72.30785], [-117.866419999999877, 72.70594], [-115.18909, 73.314590000000109], [-114.167169999999871, 73.12145]]], [[[-104.5, 73.42], [-105.38, 72.76], [-106.94, 73.46], [-106.6, 73.6], [-105.26, 73.64], [-104.5, 73.42]]], [[[-76.34, 73.102684989953005], [-76.251403808593736, 72.826385498046861], [-77.314437866210895, 72.85554504394527], [-78.391670227050795, 72.876655578613253], [-79.486251831054645, 72.742202758789062], [-79.775833129882827, 72.80290222167973], [-80.876098632812514, 73.333183288574205], [-80.833885192871051, 73.693183898925767], [-80.353057861328111, 73.75971984863277], [-78.064437866210923, 73.651931762695327], [-76.34, 73.102684989953005]]], [[[-86.562178514334107, 73.157447007938444], [-85.774371304044521, 72.534125881633798], [-84.850112474288224, 73.34027822538711], [-82.315590176100969, 73.750950832810574], [-80.600087653307611, 72.716543687624181], [-80.748941616524391, 72.061906643350753], [-78.770638597310764, 72.352173163534147], [-77.824623989559569, 72.749616604291035], [-75.605844692675717, 72.243678493937381], [-74.228616095664975, 71.767144273557889], [-74.099140794557698, 71.330840155717638], [-72.242225714797641, 71.556924546994495], [-71.200015428335192, 70.920012518997211], [-68.78605424668487, 70.525023708774242], [-67.914970465756923, 70.121947536897594], [-66.969033372654152, 69.18608734809186], [-68.805122850200533, 68.720198472764409], [-66.449866095633851, 68.067163397892003], [-64.862314419195215, 67.847538560651614], [-63.424934454996745, 66.928473212340649], [-61.851981370680569, 66.862120673277829], [-62.163176845942296, 66.160251369889593], [-63.91844438338417, 64.998668524832837], [-65.148860236253611, 65.426032619886669], [-66.72121904159853, 66.388041083432185], [-68.015016038673949, 66.262725735124391], [-68.141287400979152, 65.689789130304362], [-67.089646165623392, 65.108455105236985], [-65.732080451099748, 64.64840566675862], [-65.320167609301265, 64.382737128346051], [-64.669406297449669, 63.392926744227474], [-65.013803880458894, 62.674185085695974], [-66.275044725190455, 62.945098781986069], [-68.783186204692711, 63.745670071051805], [-67.369680752213029, 62.883965562584869], [-66.328297288667201, 62.28007477482204], [-66.165568203380147, 61.930897121825879], [-68.877366502544632, 62.330149237712803], [-71.023437059193824, 62.910708116295829], [-72.23537858751898, 63.397836005295154], [-71.886278449171286, 63.679989325608837], [-73.37830624051837, 64.193963121183813], [-74.834418911422588, 64.679075629323776], [-74.818502570276706, 64.389093329517962], [-77.709979824520019, 64.229542344816778], [-78.55594885935416, 64.572906399180127], [-77.897281053361908, 65.309192206474776], [-76.018274298797181, 65.326968899183143], [-73.95979529488271, 65.454764716240888], [-74.293883429649625, 65.81177134872938], [-73.94491248238262, 66.310578111426722], [-72.65116716173938, 67.284575507263853], [-72.926059943316076, 67.726925767682374], [-73.311617804645721, 68.069437160912898], [-74.8433072577768, 68.554627183701271], [-76.869100918266739, 68.894735622830254], [-76.228649054657339, 69.147769273547411], [-77.28736996123709, 69.769540106883269], [-78.168633999326588, 69.826487535268896], [-78.95724219431672, 70.166880194775402], [-79.492455003563649, 69.871807766388898], [-81.305470954091732, 69.743185126414332], [-84.944706183598456, 69.966634019644388], [-87.060003424817864, 70.260001125765356], [-88.681713223001495, 70.410741278760796], [-89.513419562523012, 70.762037665480975], [-88.467721116880753, 71.218185533321318], [-89.888151211287465, 71.222552191849942], [-90.205160285181989, 72.235074367960792], [-89.43657670770493, 73.129464219852352], [-88.408241543312784, 73.537888902471209], [-85.826151089200906, 73.803815823045213], [-86.562178514334107, 73.157447007938444]]], [[[-100.35642, 73.84389], [-99.16387, 73.63339], [-97.38, 73.76], [-97.12, 73.47], [-98.05359, 72.99052], [-96.54, 72.56], [-96.72, 71.66], [-98.35966, 71.27285], [-99.32286, 71.35639], [-100.01482, 71.73827], [-102.5, 72.51], [-102.48, 72.83], [-100.43836, 72.70588], [-101.54, 73.36], [-100.35642, 73.84389]]], [[[-93.196295539100205, 72.771992499473342], [-94.26904659704725, 72.024596259235949], [-95.409855516322637, 72.061880805134578], [-96.033745083382428, 72.940276801231789], [-96.01826799191096, 73.437429918095788], [-95.495793423224001, 73.862416897264154], [-94.503657599652328, 74.134906724739196], [-92.420012173211745, 74.100025132942179], [-90.509792853542578, 73.85673248971203], [-92.003965216829869, 72.966244208458477], [-93.196295539100205, 72.771992499473342]]], [[[-120.46, 71.383601793087578], [-123.09219, 70.90164], [-123.62, 71.34], [-125.92894873747332, 71.868688463011395], [-125.499999999999872, 72.292260811795003], [-124.80729, 73.02256], [-123.94, 73.680000000000135], [-124.917749999999899, 74.292750000000112], [-121.53788, 74.44893], [-120.10978, 74.24135], [-117.55564, 74.18577], [-116.58442, 73.89607], [-115.51081, 73.47519], [-116.767939999999882, 73.22292], [-119.22, 72.52], [-120.46, 71.82], [-120.46, 71.383601793087578]]], [[[-93.612755906940464, 74.979997260224437], [-94.156908738973812, 74.59234650338685], [-95.60868058956558, 74.666863918751758], [-96.820932176484561, 74.927623196096576], [-96.288587409229791, 75.377828274223333], [-94.850819871789113, 75.647217515760886], [-93.977746548217908, 75.296489569795952], [-93.612755906940464, 74.979997260224437]]], [[[-98.5, 76.72], [-97.735585, 76.25656], [-97.704415, 75.74344], [-98.16, 75.0], [-99.80874, 74.89744], [-100.88366, 75.05736], [-100.86292, 75.64075], [-102.50209, 75.5638], [-102.56552, 76.3366], [-101.48973, 76.30537], [-99.98349, 76.64634], [-98.57699, 76.58859], [-98.5, 76.72]]], [[[-108.21141, 76.20168], [-107.81943, 75.84552], [-106.92893, 76.01282], [-105.881, 75.9694], [-105.70498, 75.47951], [-106.31347, 75.00527], [-109.7, 74.85], [-112.22307, 74.41696], [-113.74381, 74.39427], [-113.87135, 74.72029], [-111.79421, 75.1625], [-116.31221, 75.04343], [-117.7104, 75.2222], [-116.34602, 76.19903], [-115.40487, 76.47887], [-112.59056, 76.14134], [-110.81422, 75.54919], [-109.0671, 75.47321], [-110.49726, 76.42982], [-109.5811, 76.79417], [-108.54859, 76.67832], [-108.21141, 76.20168]]], [[[-94.684085862999439, 77.097878323058367], [-93.573921068073105, 76.776295884906062], [-91.605023159536586, 76.778517971494594], [-90.741845872749209, 76.449597479956807], [-90.969661424507976, 76.074013170059445], [-89.822237921899244, 75.847773749485626], [-89.187082892599776, 75.610165513807615], [-87.838276333349611, 75.566188869927217], [-86.379192267588664, 75.482421373182163], [-84.789625210290595, 75.699204006646497], [-82.753444586910049, 75.784315090631225], [-81.12853084992436, 75.713983466282016], [-80.05751095245914, 75.336848863415867], [-79.833932868148324, 74.923127346487192], [-80.457770758775823, 74.657303778777774], [-81.948842536125511, 74.442459011524321], [-83.2288936022114, 74.564027818490928], [-86.097452358733292, 74.410032050261137], [-88.150350307960196, 74.392307033984977], [-89.764722052758358, 74.515555325001117], [-92.422440965529418, 74.837757880340973], [-92.768285488642789, 75.38681997344213], [-92.889905972041717, 75.882655341282629], [-93.893824022175977, 76.319243679500516], [-95.962457445035795, 76.44138092722244], [-97.121378953829463, 76.751077785947587], [-96.745122850312342, 77.161388658345132], [-94.684085862999439, 77.097878323058367]]], [[[-116.198586595507322, 77.645286770326194], [-116.335813361458349, 76.876961575010554], [-117.106050584768766, 76.530031846819114], [-118.040412157038119, 76.481171780087081], [-119.899317586885687, 76.053213406061971], [-121.499995077126471, 75.900018622532784], [-122.85492448615895, 76.116542873835684], [-122.854925293603188, 76.116542873835684], [-121.157535360328239, 76.864507554828336], [-119.103938971821023, 77.512219957174608], [-117.570130784965954, 77.498318996888102], [-116.198586595507322, 77.645286770326194]]], [[[-93.840003017943971, 77.51999726023449], [-94.295608283245244, 77.491342678528682], [-96.169654100310055, 77.55511139597688], [-96.436304490936109, 77.83462921824362], [-94.422577277386353, 77.820004787904978], [-93.720656297565867, 77.634331366680314], [-93.840003017943971, 77.51999726023449]]], [[[-110.186938035912945, 77.697014879050286], [-112.051191169058455, 77.409228827616843], [-113.534278937619035, 77.732206529441143], [-112.724586758253835, 78.051050116681935], [-111.264443325630822, 78.152956041161545], [-109.854451870547067, 77.996324774884812], [-110.186938035912945, 77.697014879050286]]], [[[-109.663145718202557, 78.601972561345676], [-110.88131425661885, 78.406919867659994], [-112.542091437615142, 78.407901719873493], [-112.525890876091566, 78.550554511215225], [-111.500010342233367, 78.849993598130538], [-110.96366065147599, 78.804440823065207], [-109.663145718202557, 78.601972561345676]]], [[[-95.830294969449312, 78.056941229963243], [-97.309842902397975, 77.85059723582178], [-98.124289313533964, 78.082856960757567], [-98.55286780474664, 78.458105373845086], [-98.631984422585504, 78.871930243638374], [-97.337231411512604, 78.831984361476756], [-96.754398769908761, 78.765812689926989], [-95.559277920294562, 78.41831452098026], [-95.830294969449312, 78.056941229963243]]], [[[-100.060191820052111, 78.324754340315891], [-99.670939093813601, 77.907544664207393], [-101.303940192452984, 78.018984890444798], [-102.949808722733025, 78.343228664860206], [-105.176132778731514, 78.38033234324574], [-104.210429450277147, 78.677420152491777], [-105.419580451258511, 78.918335679836431], [-105.492289191493128, 79.301593939929177], [-103.529282396237917, 79.16534902619162], [-100.8251580472688, 78.80046173777869], [-100.060191820052111, 78.324754340315891]]], [[[-87.02, 79.66], [-85.81435, 79.3369], [-87.18756, 79.0393], [-89.03535, 78.28723], [-90.80436, 78.21533], [-92.87669, 78.34333], [-93.95116, 78.75099], [-93.93574, 79.11373], [-93.14524, 79.3801], [-94.974, 79.37248], [-96.07614, 79.70502], [-96.70972, 80.15777], [-96.01644, 80.60233], [-95.32345, 80.90729], [-94.29843, 80.97727], [-94.73542, 81.20646], [-92.40984, 81.25739], [-91.13289, 80.72345], [-89.45, 80.509322033898258], [-87.81, 80.32], [-87.02, 79.66]]], [[[-68.5, 83.106321516765732], [-65.82735, 83.02801], [-63.68, 82.9], [-61.85, 82.6286], [-61.89388, 82.36165], [-64.334, 81.92775], [-66.75342, 81.72527], [-67.65755, 81.50141], [-65.48031, 81.50657], [-67.84, 80.9], [-69.4697, 80.61683], [-71.18, 79.8], [-73.2428, 79.63415], [-73.88, 79.430162204802073], [-76.90773, 79.32309], [-75.52924, 79.19766], [-76.22046, 79.01907], [-75.39345, 78.52581], [-76.34354, 78.18296], [-77.88851, 77.89991], [-78.36269, 77.50859], [-79.75951, 77.20968], [-79.61965, 76.98336], [-77.91089, 77.022045], [-77.88911, 76.777955], [-80.56125, 76.17812], [-83.17439, 76.45403], [-86.11184, 76.29901], [-87.6, 76.42], [-89.49068, 76.47239], [-89.6161, 76.95213], [-87.76739, 77.17833], [-88.26, 77.9], [-87.65, 77.970222222222205], [-84.97634, 77.53873], [-86.34, 78.18], [-87.96192, 78.37181], [-87.15198, 78.75867], [-85.37868, 78.9969], [-85.09495, 79.34543], [-86.50734, 79.73624], [-86.93179, 80.25145], [-84.19844, 80.20836], [-83.408695652173819, 80.1], [-81.84823, 80.46442], [-84.1, 80.58], [-87.59895, 80.51627], [-89.36663, 80.85569], [-90.2, 81.26], [-91.36786, 81.5531], [-91.58702, 81.89429], [-90.1, 82.085], [-88.93227, 82.11751], [-86.97024, 82.27961], [-85.5, 82.652273458057024], [-84.260005, 82.6], [-83.18, 82.32], [-82.42, 82.86], [-81.1, 83.02], [-79.30664, 83.13056], [-76.25, 83.172058823529369], [-75.71878, 83.06404], [-72.83153, 83.23324], [-70.665765, 83.169780758382828], [-68.5, 83.106321516765732]]]] } }, + { "type": "Feature", "properties": { "admin": "Switzerland", "name": "Switzerland", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[9.594226108446346, 47.525058091820256], [9.632931756232974, 47.347601223329974], [9.479969516649019, 47.102809963563367], [9.932448357796657, 46.920728054382948], [10.442701450246627, 46.893546250997424], [10.36337812667861, 46.483571275409851], [9.922836541390378, 46.314899400409182], [9.182881707403054, 46.440214748716976], [8.966305779667804, 46.036931871111186], [8.489952426801322, 46.005150865251672], [8.316629672894377, 46.163642483090847], [7.755992058959832, 45.824490057959302], [7.273850945676655, 45.776947740250769], [6.843592970414504, 45.991146552100595], [6.500099724970424, 46.429672756529428], [6.022609490593537, 46.272989813820466], [6.037388950229, 46.725778713561859], [6.768713820023605, 47.287708238303686], [6.736571079138058, 47.541801255882838], [7.192202182655505, 47.449765529971003], [7.466759067422228, 47.620581976911794], [8.31730146651415, 47.613579820336255], [8.522611932009765, 47.830827541691285], [9.594226108446346, 47.525058091820256]]] } }, + { "type": "Feature", "properties": { "admin": "Chile", "name": "Chile", "continent": "South America" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-68.634010227583147, -52.636370458874353], [-68.633349999999879, -54.8695], [-67.56244, -54.87001], [-66.95992, -54.89681], [-67.291029999999878, -55.30124], [-68.148629999999841, -55.61183], [-68.639990810811796, -55.580017999086877], [-69.2321, -55.49906], [-69.95809, -55.19843], [-71.00568, -55.05383], [-72.2639, -54.49514], [-73.2852, -53.957519999999874], [-74.66253, -52.83749], [-73.8381, -53.04743], [-72.43418, -53.7154], [-71.10773, -54.07433], [-70.591779999999787, -53.61583], [-70.26748, -52.93123], [-69.345649999999878, -52.5183], [-68.634010227583147, -52.636370458874353]]], [[[-68.219913092711224, -21.49434661223183], [-67.828179897722634, -22.872918796482178], [-67.106673550063604, -22.735924574476392], [-66.985233934177629, -22.986348565362825], [-67.328442959244128, -24.025303236590908], [-68.417652960876111, -24.518554782816874], [-68.386001146097342, -26.185016371365229], [-68.594799770772667, -26.50690886811126], [-68.295541551370391, -26.899339694935787], [-69.001234910748266, -27.521213881136127], [-69.656130337183143, -28.459141127233686], [-70.013550381129861, -29.367922865518544], [-69.919008348251921, -30.336339206668306], [-70.535068935819439, -31.365010267870279], [-70.074399380153622, -33.09120981214803], [-69.814776984319209, -33.273886000299839], [-69.817309129501453, -34.193571465798279], [-70.388049485949082, -35.169687595359441], [-70.364769253201658, -36.005088799789931], [-71.121880662709771, -36.65812387466233], [-71.118625047475419, -37.576827487947192], [-70.814664272734703, -38.552995293940732], [-71.413516608349042, -38.916022230791107], [-71.680761277946445, -39.808164157878061], [-71.915734015577542, -40.832339369470716], [-71.746803758415453, -42.051386407235988], [-72.148898078078517, -42.254888197601375], [-71.915423956983901, -43.408564548517404], [-71.464056159130493, -43.787611179378324], [-71.793622606071935, -44.207172133156099], [-71.329800788036195, -44.407521661151677], [-71.222778896759721, -44.784242852559409], [-71.659315558545316, -44.973688653341434], [-71.552009446891233, -45.560732924177117], [-71.917258470330196, -46.884838148791786], [-72.44735531278026, -47.738532810253517], [-72.331160854771937, -48.244238376661819], [-72.648247443314929, -48.878618259476774], [-73.415435757120022, -49.318436374712952], [-73.328050910114456, -50.378785088909865], [-72.975746832964617, -50.741450290734299], [-72.309973517532342, -50.677009779666342], [-72.329403856074023, -51.425956312872394], [-71.914803839796321, -52.009022305865912], [-69.498362189396076, -52.142760912637236], [-68.571545376241332, -52.299443855346247], [-69.461284349226617, -52.291950772663924], [-69.94277950710611, -52.537930590373243], [-70.8451016913545, -52.899200528525711], [-71.006332160105217, -53.833252042201345], [-71.429794684520928, -53.856454760300373], [-72.557942877884855, -53.531410001184447], [-73.702756720662862, -52.835069268607249], [-73.702756720662862, -52.835070076051487], [-74.946763475225154, -52.262753588419017], [-75.260026007778507, -51.62935475037321], [-74.976632453089806, -51.043395684615675], [-75.47975419788348, -50.378371677451547], [-75.608015102831942, -48.673772881871784], [-75.182769741502128, -47.711919447623153], [-74.126580980104677, -46.939253431995084], [-75.644395311165439, -46.647643324572016], [-74.69215369332305, -45.76397633238097], [-74.351709357384252, -44.10304412208788], [-73.240356004515192, -44.454960625995611], [-72.717803921179765, -42.383355808278985], [-73.388899909138232, -42.117532240569567], [-73.701335618774834, -43.365776462579738], [-74.33194312203257, -43.224958184584395], [-74.017957119427152, -41.794812920906828], [-73.677099372029943, -39.942212823243111], [-73.217592536090663, -39.258688653318508], [-73.505559455037044, -38.282882582351064], [-73.588060879191076, -37.156284681956016], [-73.166717088499283, -37.123780206044351], [-72.553136969681717, -35.508840020491022], [-71.861732143832555, -33.909092706031522], [-71.438450486929895, -32.418899428030819], [-71.668720669222424, -30.920644626592516], [-71.370082567007714, -30.095682061484997], [-71.48989437527645, -28.861442152625909], [-70.905123867461569, -27.640379734001193], [-70.724953986275963, -25.705924167587209], [-70.403965827095035, -23.628996677344542], [-70.091245897080668, -21.393319187101223], [-70.164419725205974, -19.756468194256183], [-70.372572394477714, -18.347975355708879], [-69.858443569605797, -18.092693780187027], [-69.590423753523979, -17.580011895419286], [-69.100246955019401, -18.260125420812653], [-68.966818406841824, -18.981683444904089], [-68.442225104430918, -19.405068454671419], [-68.757167121033703, -20.37265797290447], [-68.219913092711224, -21.49434661223183]]]] } }, + { "type": "Feature", "properties": { "admin": "China", "name": "China", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[110.339187860151526, 18.678395087147603], [109.475209588663702, 18.19770091396861], [108.655207961056135, 18.507681993071397], [108.626217482540426, 19.367887885001974], [109.119055617308007, 19.821038519769385], [110.211598748822837, 20.101253973872073], [110.786550734502228, 20.077534491450077], [111.01005130416462, 19.695929877190732], [110.570646600386794, 19.255879218009305], [110.339187860151526, 18.678395087147603]]], [[[127.657407261262378, 49.760270494172929], [129.397817824420429, 49.440600084015429], [130.58229332898236, 48.729687404976112], [130.987281528853828, 47.790132351261391], [132.506671991099495, 47.788969631534876], [133.373595819228001, 48.183441677434914], [135.026311476786702, 48.478229885443902], [134.500813836810607, 47.578439846377833], [134.112362095272601, 47.212467352886719], [133.76964399631288, 46.116926988299056], [133.097126906466428, 45.14406647397216], [131.883454217659562, 45.32116160743643], [131.025212030156069, 44.967953192721573], [131.288555129115537, 44.111519680348252], [131.144687941614848, 42.929989732426932], [130.633866408409801, 42.903014634770543], [130.640015903852429, 42.39500946712527], [129.994267205933227, 42.985386867843793], [129.596668735879462, 42.424981797854592], [128.05221520397231, 41.994284572917984], [128.208433058790717, 41.466771552082534], [127.343782993683021, 41.503151760415953], [126.869083286649854, 41.816569322266155], [126.18204511932943, 41.107336127276362], [125.079941847840587, 40.569823716792449], [124.265624627785314, 39.928493353834135], [122.86757042856101, 39.637787583976255], [122.131387974130917, 39.170451768544623], [121.054554478032856, 38.89747101496291], [121.585994907722466, 39.360853583324136], [121.376757033372641, 39.750261338859524], [122.168595005381007, 40.422442531896046], [121.640358514493528, 40.946389878903304], [120.768628778161954, 40.593388169917596], [119.639602085449056, 39.898055935214209], [119.023463983233015, 39.252333075511096], [118.042748651197897, 39.204273993479674], [117.532702264477052, 38.73763580988409], [118.05969852098967, 38.061475531561051], [118.878149855628351, 37.897325344385898], [118.911636183753501, 37.448463853498723], [119.702802362142037, 37.156388658185072], [120.823457472823648, 37.870427761377968], [121.711258579597938, 37.481123358707165], [122.357937453298462, 37.454484157860684], [122.519994744965814, 36.930614325501828], [121.104163853033029, 36.651329047180432], [120.63700890511457, 36.111439520811125], [119.66456180224607, 35.609790554337728], [119.151208123858567, 34.909859117160458], [120.227524855633717, 34.360331936168613], [120.620369093916565, 33.37672272392512], [121.229014113450219, 32.460318711877186], [121.908145786630044, 31.692174384074683], [121.891919386890336, 30.949351508095098], [121.264257440273298, 30.676267401648712], [121.503519321784722, 30.14291494396425], [122.092113885589086, 29.832520453403156], [121.93842817595305, 29.018022365834803], [121.684438511238469, 28.225512600206677], [121.125661248866436, 28.135673122667178], [120.395473260582307, 27.053206895449385], [119.585496860839555, 25.740780544532605], [118.656871372554519, 24.547390855400234], [117.281606479970833, 23.624501451099714], [115.890735304835118, 22.782873236578094], [114.763827345846209, 22.668074042241663], [114.152546828265656, 22.223760077396204], [113.806779819800752, 22.548339748621423], [113.241077915501592, 22.051367499270462], [111.843592157032447, 21.550493679281512], [110.78546552942413, 21.39714386645533], [110.444039341271662, 20.34103261970639], [109.88986128137357, 20.282457383703441], [109.627655063924635, 21.008227037026725], [109.864488153118316, 21.395050970947516], [108.522812941524421, 21.715212307211821], [108.050180291782979, 21.552379869060101], [107.043420037872636, 21.8118989120299], [106.567273390735352, 22.21820486092474], [106.725403273548466, 22.794267889898375], [105.811247186305209, 22.976892401617899], [105.329209425886631, 23.352063300056976], [104.476858351664475, 22.819150092046918], [103.504514601660503, 22.703756618739217], [102.706992222100155, 22.708795070887696], [102.170435825613552, 22.464753119389336], [101.652017856861576, 22.318198757409554], [101.803119744882906, 21.174366766845051], [101.27002566936001, 21.201651923095167], [101.180005324307558, 21.436572984294052], [101.150032993578236, 21.849984442629015], [100.416537713627349, 21.558839423096654], [99.983489211021549, 21.742936713136451], [99.240898878987196, 22.118314317304559], [99.53199222208741, 22.949038804612591], [98.898749220782804, 23.142722072842581], [98.66026248575578, 24.063286037690002], [97.604719679762027, 23.897404690033049], [97.724609002679131, 25.083637193293036], [98.671838006589212, 25.91870250091349], [98.712093947344556, 26.743535874940243], [98.682690057370507, 27.508812160750658], [98.246230910233351, 27.747221381129172], [97.91198774616943, 28.335945136014367], [97.327113885490007, 28.261582749946339], [96.248833449287829, 28.411030992134467], [96.586590610747521, 28.830979519154361], [96.117678664131006, 29.452802028922513], [95.404802280664626, 29.031716620392157], [94.565990431702929, 29.27743805593996], [93.413347609432662, 28.640629380807233], [92.503118931043616, 27.896876329046442], [91.696656528696693, 27.771741848251615], [91.258853794319876, 28.040614325466343], [90.730513950567797, 28.064953925075738], [90.015828891971182, 28.296438503527177], [89.475810174521158, 28.042758897406365], [88.814248488320573, 27.299315904239389], [88.730325962278528, 28.086864732367552], [88.120440708369941, 27.876541652939572], [86.954517043000635, 27.974261786403524], [85.823319940131526, 28.203575954698742], [85.011638218123053, 28.642773952747369], [84.23457970575015, 28.839893703724691], [83.89899295444674, 29.320226141877633], [83.337115106137176, 29.463731594352193], [82.327512648450877, 30.115268052688204], [81.525804477874786, 30.422716986608659], [81.111256138029276, 30.183480943313402], [79.721366815107118, 30.882714748654728], [78.738894484374001, 31.515906073527045], [78.458446486326025, 32.61816437431272], [79.176128777995544, 32.483779812137747], [79.208891636068543, 32.994394639613738], [78.811086460285722, 33.506198025032397], [78.912268914713209, 34.321936346975768], [77.83745079947461, 35.494009507787794], [76.192848341785705, 35.89840342868785], [75.896897414050173, 36.666806138651872], [75.158027785140987, 37.133030910789152], [74.980002475895404, 37.419990139305888], [74.829985792952144, 37.990007025701445], [74.864815708316783, 38.378846340481587], [74.25751427602269, 38.606506862943476], [73.928852166646394, 38.505815334622717], [73.675379266254836, 39.431236884105566], [73.960013055318427, 39.660008449861714], [73.822243686828315, 39.893973497063136], [74.776862420556043, 40.366425279291619], [75.467827996730719, 40.56207225194867], [76.526368035797432, 40.427946071935132], [76.90448449087711, 41.066485907549648], [78.187196893226044, 41.185315863604799], [78.543660923175253, 41.582242540038713], [80.119430373051401, 42.12394074153822], [80.259990268885318, 42.34999929459908], [80.180150180994374, 42.920067857426844], [80.866206496101213, 43.180362046881008], [79.966106398441426, 44.917516994804622], [81.947070753918084, 45.317027492853143], [82.458925815769035, 45.539649563166499], [83.180483839860543, 47.330031236350735], [85.164290399113213, 47.000955715516099], [85.720483839870667, 47.452969468773077], [85.76823286330837, 48.455750637396896], [86.59877648310335, 48.549181626980605], [87.359970330762692, 49.214980780629148], [87.751264276076668, 49.297197984405464], [88.013832228551678, 48.599462795600594], [88.854297723346747, 48.069081732773007], [90.280825636763893, 47.693549099307901], [90.970809360724957, 46.88814606382293], [90.585768263718307, 45.719716091487491], [90.945539585334316, 45.286073309910243], [92.133890822318222, 45.115075995456429], [93.480733677141316, 44.97547211362], [94.688928664125356, 44.352331854828456], [95.306875441471504, 44.241330878265458], [95.762454868556688, 43.319449164394619], [96.349395786527808, 42.725635280928643], [97.451757440177971, 42.74888967546007], [99.515817498779995, 42.524691473961688], [100.845865513108279, 42.663804429691417], [101.833040399179936, 42.51487295182627], [103.312278273534787, 41.907468166667613], [104.522281935649005, 41.90834666601662], [104.964993931093431, 41.597409572916334], [106.129315627061658, 42.134327704428891], [107.744772576937976, 42.481515814781908], [109.243595819131428, 42.519446316084149], [110.412103306115299, 42.871233628911014], [111.129682244920218, 43.406834011400171], [111.82958784388137, 43.743118394539486], [111.667737257943202, 44.073175767587706], [111.348376906379428, 44.457441718110047], [111.87330610560025, 45.102079372735112], [112.436062453258842, 45.01164561622425], [113.463906691544196, 44.808893134127111], [114.46033165899604, 45.339816799493875], [115.985096470200133, 45.727235012386004], [116.717868280098855, 46.38820241961524], [117.421701287914246, 46.67273285581421], [118.874325799638711, 46.805412095723646], [119.663269891438745, 46.692679958678944], [119.772823927897562, 47.048058783550132], [118.866574334794947, 47.747060044946195], [118.064142694166719, 48.06673045510373], [117.295507440257438, 47.697709052107385], [116.308952671373234, 47.853410142602812], [115.742837355615734, 47.726544501326273], [115.485282017073018, 48.135382595403442], [116.191802199367601, 49.134598090199056], [116.67880089728618, 49.888531399121398], [117.879244419426371, 49.510983384796944], [119.288460728025839, 50.142882798862033], [119.279365675942358, 50.582907619827282], [120.182049595216924, 51.64356639261802], [120.738191359541972, 51.964115302124547], [120.725789015791975, 52.516226304730814], [120.177088657716865, 52.753886216841195], [121.003084751470226, 53.251401068731226], [122.245747918792858, 53.431725979213681], [123.571506789240843, 53.458804429734627], [125.068211297710434, 53.161044826868832], [125.946348911646169, 52.792798570356936], [126.564399041856959, 51.784255479532689], [126.939156528837657, 51.353894151405896], [127.287455682484904, 50.739797268265434], [127.657407261262378, 49.760270494172929]]]] } }, + { "type": "Feature", "properties": { "admin": "Ivory Coast", "name": "Cte d'Ivoire", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-2.856125047202397, 4.994475816259508], [-3.311084357100071, 4.984295559098014], [-4.008819545904941, 5.179813340674314], [-4.64991736491791, 5.168263658057084], [-5.834496222344525, 4.993700669775135], [-6.528769090185845, 4.705087795425015], [-7.518941209330434, 4.338288479017307], [-7.712159389669749, 4.364565944837721], [-7.63536821128403, 5.188159084489455], [-7.53971513511176, 5.313345241716517], [-7.570152553731686, 5.707352199725903], [-7.993692592795879, 6.126189683451541], [-8.311347622094017, 6.193033148621081], [-8.602880214868618, 6.467564195171659], [-8.385451626000572, 6.911800645368742], [-8.485445522485348, 7.395207831243068], [-8.439298468448696, 7.686042792181736], [-8.280703497744936, 7.687179673692156], [-8.221792364932197, 8.123328762235571], [-8.299048631208562, 8.316443589710302], [-8.203498907900878, 8.455453192575446], [-7.832100389019186, 8.575704250518625], [-8.079113735374348, 9.376223863152033], [-8.309616461612249, 9.789531968622439], [-8.22933712404682, 10.129020290563897], [-8.029943610048617, 10.206534939001711], [-7.89958980959237, 10.297382106970824], [-7.622759161804808, 10.147236232946792], [-6.850506557635057, 10.138993841996237], [-6.666460944027547, 10.430810655148447], [-6.493965013037267, 10.411302801958268], [-6.205222947606429, 10.524060777219132], [-6.050452032892266, 10.096360785355442], [-5.816926235365286, 10.222554633012191], [-5.404341599946973, 10.370736802609144], [-4.954653286143098, 10.152713934769732], [-4.779883592131966, 9.821984768101741], [-4.330246954760383, 9.610834865757139], [-3.980449184576684, 9.862344061721698], [-3.511898972986272, 9.900326239456216], [-2.827496303712706, 9.642460842319775], [-2.56218950032624, 8.219627793811481], [-2.983584967450326, 7.379704901555511], [-3.244370083011261, 6.2504715031135], [-2.810701463217839, 5.389051215024109], [-2.856125047202397, 4.994475816259508]]] } }, + { "type": "Feature", "properties": { "admin": "Cameroon", "name": "Cameroon", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[13.07582238124675, 2.267097072759014], [12.951333855855605, 2.321615708826939], [12.359380323952218, 2.19281220133945], [11.751665480199787, 2.326757513839993], [11.276449008843711, 2.261050930180871], [9.649158155972627, 2.283866075037735], [9.795195753629455, 3.073404445809117], [9.404366896205998, 3.734526882335202], [8.948115675501068, 3.904128933117135], [8.744923943729416, 4.352215277519959], [8.488815545290889, 4.495617377129917], [8.500287713259693, 4.771982937026847], [8.757532993208626, 5.47966583904791], [9.233162876023043, 6.444490668153334], [9.522705926154398, 6.453482367372116], [10.118276808318255, 7.038769639509879], [10.497375115611417, 7.055357774275562], [11.058787876030349, 6.644426784690593], [11.745774366918509, 6.981382961449753], [11.839308709366801, 7.397042344589434], [12.063946160539556, 7.799808457872301], [12.218872104550597, 8.305824082874322], [12.753671502339214, 8.717762762888993], [12.955467970438971, 9.417771714714702], [13.1675997249971, 9.64062632897341], [13.308676385153914, 10.160362046748926], [13.572949659894558, 10.798565985553564], [14.415378859116682, 11.572368882692071], [14.468192172918974, 11.90475169519341], [14.57717776862253, 12.085360826053501], [14.181336297266792, 12.483656927943112], [14.213530714584634, 12.802035427293344], [14.495787387762842, 12.859396267137326], [14.893385857816522, 12.219047756392582], [14.960151808337598, 11.555574042197222], [14.923564894274955, 10.891325181517471], [15.467872755605269, 9.982336737503429], [14.909353875394713, 9.99212942142273], [14.627200555081057, 9.920919297724536], [14.171466098699025, 10.021378282099928], [13.954218377344002, 9.549494940626685], [14.544466586981766, 8.965861314322266], [14.979995558337688, 8.796104234243471], [15.120865512765331, 8.382150173369423], [15.436091749745765, 7.692812404811971], [15.279460483469107, 7.421924546737968], [14.776545444404572, 6.408498033062044], [14.536560092841111, 6.22695872642069], [14.459407179429345, 5.451760565610299], [14.558935988023501, 5.03059764243153], [14.478372430080466, 4.732605495620446], [14.950953403389658, 4.21038930909492], [15.036219516671249, 3.851367295747123], [15.405395948964379, 3.335300604664339], [15.862732374747479, 3.013537298998982], [15.907380812247649, 2.557389431158612], [16.01285241055535, 2.267639675298084], [15.940918816805061, 1.727672634280295], [15.14634199388524, 1.964014797367184], [14.337812534246577, 2.22787466064949], [13.07582238124675, 2.267097072759014]]] } }, + { "type": "Feature", "properties": { "admin": "Democratic Republic of the Congo", "name": "Dem. Rep. Congo", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[30.833859897593801, 3.50916596111034], [30.773346795380036, 2.339883327642127], [31.174149204235807, 2.204465236821263], [30.852670118948048, 1.849396470543809], [30.468507521290292, 1.58380544677972], [30.086153598762703, 1.062312730306288], [29.875778842902488, 0.597379868976304], [29.819503208136634, -0.205310153813372], [29.587837762172164, -0.58740569417948], [29.579466180140876, -1.341313164885626], [29.29188683443661, -1.620055840667987], [29.254834832483336, -2.215109958508911], [29.117478875451546, -2.292211195488384], [29.02492638521678, -2.839257907730157], [29.276383904749046, -3.293907159034063], [29.339997592900342, -4.499983412294092], [29.519986606572925, -5.419978936386313], [29.41999271008816, -5.939998874539432], [29.620032179490003, -6.520015150583424], [30.199996779101692, -7.079980970898161], [30.740015496551781, -8.340007419470913], [30.34608605319081, -8.238256524288216], [29.002912225060467, -8.40703175215347], [28.734866570762495, -8.526559340044576], [28.449871046672818, -9.164918308146083], [28.673681674928922, -9.605924981324931], [28.496069777141763, -10.789883721564044], [28.372253045370421, -11.793646742401389], [28.642417433392346, -11.971568698782312], [29.341547885869087, -12.36074391037241], [29.616001417771223, -12.178894545137307], [29.699613885219485, -13.257226657771827], [28.934285922976834, -13.248958428605132], [28.52356163912102, -12.698604424696679], [28.15510867687998, -12.272480564017894], [27.38879886242378, -12.132747491100663], [27.164419793412456, -11.608748467661071], [26.55308759939961, -11.924439792532125], [25.752309604604726, -11.784965101776356], [25.418118116973197, -11.330935967659958], [24.783169793402948, -11.238693536018962], [24.314516228947948, -11.262826429899269], [24.257155389103982, -10.951992689663655], [23.912215203555714, -10.926826267137512], [23.456790805767433, -10.867863457892481], [22.837345411884733, -11.017621758674329], [22.402798292742371, -10.99307545333569], [22.155268182064304, -11.084801120653768], [22.208753289486388, -9.894796237836507], [21.87518191904234, -9.523707777548564], [21.801801385187897, -8.908706556842978], [21.949130893652036, -8.305900974158275], [21.746455926203303, -7.920084730667147], [21.728110792739695, -7.2908724910813], [20.514748162526498, -7.299605808138629], [20.601822950938292, -6.93931772219968], [20.091621534920645, -6.943090101756993], [20.037723016040214, -7.116361179231644], [19.417502475673157, -7.155428562044297], [19.166613396896107, -7.738183688999753], [19.016751743249664, -7.988245944860132], [18.464175652752683, -7.847014255406442], [18.134221632569048, -7.98767750410492], [17.472970004962232, -8.068551120641699], [17.089995965247166, -7.545688978712525], [16.860190870845198, -7.222297865429984], [16.573179965896141, -6.622644545115087], [16.326528354567042, -5.877470391466267], [13.375597364971892, -5.864241224799548], [13.02486941900696, -5.984388929878157], [12.735171339578695, -5.965682061388497], [12.322431674863507, -6.100092461779658], [12.182336866920249, -5.789930515163837], [12.436688266660866, -5.684303887559245], [12.468004184629734, -5.248361504745003], [12.631611769265788, -4.991271254092935], [12.995517205465173, -4.781103203961883], [13.258240187237044, -4.882957452009165], [13.600234816144676, -4.500138441590969], [14.144956088933295, -4.510008640158715], [14.209034864975219, -4.793092136253597], [14.582603794013179, -4.970238946150139], [15.170991652088441, -4.3435071753143], [15.753540073314749, -3.855164890156096], [16.006289503654298, -3.535132744972528], [15.972803175529149, -2.712392266453612], [16.407091912510051, -1.740927015798682], [16.86530683764212, -1.225816338713287], [17.523716261472853, -0.743830254726987], [17.638644646889983, -0.424831638189246], [17.663552687254676, -0.058083998213817], [17.826540154703245, 0.288923244626105], [17.774191928791563, 0.855658677571085], [17.89883548347958, 1.741831976728278], [18.09427575040743, 2.365721543788055], [18.39379235197114, 2.90044342692822], [18.453065219809925, 3.504385891123348], [18.542982211997778, 4.201785183118317], [18.932312452884755, 4.709506130385973], [19.467783644293146, 5.031527818212779], [20.290679152108932, 4.691677761245287], [20.927591180106273, 4.322785549329736], [21.659122755630019, 4.224341945813719], [22.405123732195531, 4.02916006104732], [22.704123569436284, 4.633050848810156], [22.841479526468103, 4.710126247573483], [23.297213982850135, 4.609693101414221], [24.41053104014625, 5.108784084489129], [24.805028924262409, 4.897246608902349], [25.128833449003274, 4.927244777847789], [25.278798455514302, 5.170408229997191], [25.650455356557465, 5.256087754737123], [26.402760857862535, 5.150874538590869], [27.044065382604703, 5.127852688004835], [27.374226108517483, 5.233944403500059], [27.979977247842807, 4.408413397637373], [28.428993768026906, 4.287154649264493], [28.696677687298795, 4.455077215996936], [29.159078403446497, 4.38926727947323], [29.715995314256013, 4.600804755060024], [29.953500197069467, 4.173699042167683], [30.833859897593801, 3.50916596111034]]] } }, + { "type": "Feature", "properties": { "admin": "Republic of Congo", "name": "Congo", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[12.995517205465173, -4.781103203961883], [12.620759718484491, -4.438023369976135], [12.318607618873923, -4.606230157086187], [11.914963006242086, -5.037986748884789], [11.093772820691923, -3.978826592630546], [11.855121697648114, -3.42687061932105], [11.478038771214299, -2.765618991714241], [11.820963575903189, -2.514161472181982], [12.495702752338159, -2.391688327650242], [12.575284458067639, -1.948511244315134], [13.109618767965626, -2.428740329603513], [13.992407260807706, -2.470804945489099], [14.299210239324564, -1.998275648612213], [14.425455763413593, -1.333406670744971], [14.316418491277741, -0.552627455247048], [13.843320753645653, 0.038757635901149], [14.276265903386953, 1.196929836426619], [14.026668735417214, 1.395677395021153], [13.282631463278816, 1.31418366129688], [13.003113641012074, 1.830896307783319], [13.07582238124675, 2.267097072759014], [14.337812534246577, 2.22787466064949], [15.14634199388524, 1.964014797367184], [15.940918816805061, 1.727672634280295], [16.01285241055535, 2.267639675298084], [16.537058139724135, 3.198254706226278], [17.133042433346297, 3.728196519379451], [17.809900343505259, 3.560196437998569], [18.453065219809925, 3.504385891123348], [18.39379235197114, 2.90044342692822], [18.09427575040743, 2.365721543788055], [17.89883548347958, 1.741831976728278], [17.774191928791563, 0.855658677571085], [17.826540154703245, 0.288923244626105], [17.663552687254676, -0.058083998213817], [17.638644646889983, -0.424831638189246], [17.523716261472853, -0.743830254726987], [16.86530683764212, -1.225816338713287], [16.407091912510051, -1.740927015798682], [15.972803175529149, -2.712392266453612], [16.006289503654298, -3.535132744972528], [15.753540073314749, -3.855164890156096], [15.170991652088441, -4.3435071753143], [14.582603794013179, -4.970238946150139], [14.209034864975219, -4.793092136253597], [14.144956088933295, -4.510008640158715], [13.600234816144676, -4.500138441590969], [13.258240187237044, -4.882957452009165], [12.995517205465173, -4.781103203961883]]] } }, + { "type": "Feature", "properties": { "admin": "Colombia", "name": "Colombia", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-75.373223232713841, -0.15203175212045], [-75.801465827116587, 0.084801337073202], [-76.292314419240938, 0.416047268064119], [-76.576379767549383, 0.256935533037435], [-77.424984300430367, 0.395686753741117], [-77.668612840470416, 0.825893052570961], [-77.855061408179509, 0.809925034992773], [-78.855258755188686, 1.380923773601822], [-78.990935228171026, 1.691369940595251], [-78.617831387023699, 1.766404120283056], [-78.662118089497838, 2.267355454920476], [-78.427610439757302, 2.629555568854215], [-77.931542527971473, 2.696605739752925], [-77.510431281224996, 3.325016994638246], [-77.127689785455246, 3.849636135265356], [-77.496271938776999, 4.087606105969427], [-77.307601284479375, 4.667984117039452], [-77.533220587865713, 5.582811997902496], [-77.318815070286718, 5.845354112161359], [-77.476660732722266, 6.691116441266301], [-77.881571417945239, 7.223771267114783], [-77.75341386586139, 7.709839789252141], [-77.431107957656977, 7.638061224798733], [-77.242566494440069, 7.935278225125442], [-77.474722866511314, 8.524286200388216], [-77.353360765273848, 8.670504665558068], [-76.836673957003541, 8.638749497914715], [-76.086383836557843, 9.336820583529486], [-75.674600185840035, 9.443248195834597], [-75.664704149056149, 9.774003200718736], [-75.480425991503338, 10.618990383339305], [-74.906895107711975, 11.08304474532032], [-74.276752692344871, 11.102035834187586], [-74.197222663047683, 11.310472723836865], [-73.414763963500278, 11.227015285685479], [-72.62783525255962, 11.731971543825519], [-72.238194953078903, 11.955549628136325], [-71.754090135368628, 12.437303168177305], [-71.399822353791691, 12.376040757695289], [-71.137461107045866, 12.112981879113503], [-71.331583624950284, 11.776284084515805], [-71.973921678338272, 11.608671576377116], [-72.227575446242923, 11.108702093953237], [-72.614657762325194, 10.821975409381777], [-72.905286017534692, 10.45034434655477], [-73.027604132769554, 9.736770331252441], [-73.304951544880026, 9.151999823437604], [-72.788729824500379, 9.085027167187331], [-72.660494757768092, 8.62528778730268], [-72.439862230097944, 8.405275376820027], [-72.360900641555958, 8.002638454617893], [-72.479678921178831, 7.632506008327352], [-72.444487270788059, 7.42378489830048], [-72.19835242378187, 7.340430813013682], [-71.960175747348629, 6.991614895043538], [-70.674233567981503, 7.087784735538717], [-70.093312954372408, 6.960376491723109], [-69.389479946557103, 6.099860541198835], [-68.985318569602327, 6.206804917826856], [-68.265052456318216, 6.153268133972473], [-67.695087246355001, 6.267318020040645], [-67.34143958196556, 6.095468044454021], [-67.521531948502741, 5.556870428891968], [-67.744696621355203, 5.221128648291667], [-67.823012254493534, 4.503937282728898], [-67.621835903581271, 3.839481716319994], [-67.33756384954367, 3.542342230641721], [-67.303173183853417, 3.31845408773718], [-67.809938117123693, 2.820655015469569], [-67.447092047786299, 2.600280869960869], [-67.181294318293041, 2.250638129074062], [-66.876325853122566, 1.253360500489336], [-67.065048183852483, 1.130112209473225], [-67.25999752467358, 1.719998684084956], [-67.537810024674684, 2.037162787276329], [-67.868565029558823, 1.692455145673392], [-69.816973232691609, 1.714805202639624], [-69.804596727157701, 1.089081122233466], [-69.218637661400166, 0.985676581217433], [-69.252434048119042, 0.602650865070075], [-69.452396002872447, 0.706158758950693], [-70.015565761989293, 0.541414292804205], [-70.02065589057004, -0.185156345219539], [-69.577065395776586, -0.549991957200163], [-69.420485805932216, -1.122618503426409], [-69.444101935489599, -1.556287123219817], [-69.893635219996611, -4.298186944194326], [-70.394043952094975, -3.766591485207825], [-70.692682054309699, -3.742872002785858], [-70.047708502874841, -2.725156345229699], [-70.813475714791949, -2.256864515800742], [-71.413645799429773, -2.342802422702128], [-71.774760708285385, -2.169789727388937], [-72.325786505813639, -2.434218031426453], [-73.070392218707212, -2.308954359550952], [-73.659503546834586, -1.260491224781134], [-74.122395189089048, -1.002832533373848], [-74.441600511355958, -0.530820000819887], [-75.106624518520064, -0.05720549886486], [-75.373223232713841, -0.15203175212045]]] } }, + { "type": "Feature", "properties": { "admin": "Costa Rica", "name": "Costa Rica", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-82.965783047197348, 8.225027980985983], [-83.508437262694287, 8.446926581247281], [-83.711473965169063, 8.656836249216864], [-83.596313035806631, 8.830443223501417], [-83.632641567707822, 9.051385809765319], [-83.909885626953724, 9.290802720573579], [-84.303401658856345, 9.487354030795712], [-84.64764421256865, 9.615537421095707], [-84.713350796227743, 9.908051866083849], [-84.975660366541319, 10.086723130733004], [-84.911374884770211, 9.795991522658921], [-85.110923428065291, 9.557039699741308], [-85.339488288092255, 9.834542141148658], [-85.660786505866966, 9.93334747969072], [-85.797444831062819, 10.134885565629032], [-85.791708747078417, 10.439337266476612], [-85.65931372754666, 10.754330959511718], [-85.941725430021748, 10.895278428587799], [-85.712540452807289, 11.088444932494822], [-85.561851976244171, 11.217119248901593], [-84.903003302738924, 10.952303371621895], [-84.673069017256239, 11.082657172078139], [-84.355930752281026, 10.999225572142901], [-84.190178595704822, 10.793450018756671], [-83.895054490885926, 10.726839097532444], [-83.655611741861563, 10.938764146361418], [-83.402319708982944, 10.39543813724465], [-83.015676642575158, 9.992982082555553], [-82.546196255203469, 9.566134751824674], [-82.932890998043561, 9.476812038608172], [-82.927154914059145, 9.074330145702914], [-82.719183112300513, 8.925708726431493], [-82.868657192704759, 8.807266343618521], [-82.829770677405151, 8.626295477732368], [-82.9131764391242, 8.423517157419068], [-82.965783047197348, 8.225027980985983]]] } }, + { "type": "Feature", "properties": { "admin": "Cuba", "name": "Cuba", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-82.268151211257035, 23.188610744717703], [-81.404457160146819, 23.117271429938775], [-80.61876868358118, 23.105980129482994], [-79.679523688460222, 22.765303249598823], [-79.281485968732071, 22.399201565027049], [-78.347434455056472, 22.512166246017085], [-77.993295864560253, 22.277193508385928], [-77.146422492161037, 21.657851467367831], [-76.523824835908528, 21.20681956632437], [-76.194620123993175, 21.220565497314006], [-75.598222418912655, 21.01662445727413], [-75.671060350228032, 20.735091254147999], [-74.933896043584483, 20.693905137611381], [-74.178024868451246, 20.284627793859737], [-74.296648118777242, 20.050378526280678], [-74.961594611292924, 19.923435370355687], [-75.634680141894577, 19.873774318923193], [-76.323656175425981, 19.952890936762056], [-77.755480923153044, 19.855480861891873], [-77.085108405246729, 20.413353786698789], [-77.492654588516601, 20.673105373613886], [-78.137292243141573, 20.739948838783427], [-78.482826707661161, 21.028613389565848], [-78.719866502583997, 21.598113511638431], [-79.284999966127913, 21.559175319906497], [-80.217475348618635, 21.827324327069032], [-80.517534552721401, 22.037078965741756], [-81.820943366203167, 22.192056586185068], [-82.169991828118611, 22.387109279870746], [-81.79500179719264, 22.636964830001951], [-82.775897996740838, 22.688150336187057], [-83.494458787759328, 22.168517971276124], [-83.908800421875611, 22.154565334557329], [-84.052150845053248, 21.910575059491251], [-84.547030198896351, 21.801227728761639], [-84.974911058273079, 21.896028143801082], [-84.44706214062775, 22.204949856041903], [-84.23035702181177, 22.56575470630376], [-83.778239915690165, 22.78811839445569], [-83.267547573565736, 22.983041897060641], [-82.510436164057495, 23.078746649665181], [-82.268151211257035, 23.188610744717703]]] } }, + { "type": "Feature", "properties": { "admin": "Northern Cyprus", "name": "N. Cyprus", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[32.731780226377445, 35.14002594658843], [32.802473585752743, 35.145503648411363], [32.946960890440799, 35.38670339613369], [33.667227003724939, 35.373215847305509], [34.576473829900458, 35.671595567358786], [33.900804477684197, 35.245755927057608], [33.973616570783456, 35.058506374647997], [33.866439650210104, 35.093594672174177], [33.675391880027057, 35.017862860650446], [33.525685255677494, 35.038688462864066], [33.475817498515845, 35.000344550103499], [33.45592207208346, 35.101423651666401], [33.383833449036295, 35.162711900364563], [33.190977003723042, 35.173124701471373], [32.919572381326127, 35.087832749973636], [32.731780226377445, 35.14002594658843]]] } }, + { "type": "Feature", "properties": { "admin": "Cyprus", "name": "Cyprus", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[33.973616570783456, 35.058506374647997], [34.004880812320032, 34.978097846001852], [32.97982710137844, 34.571869411755436], [32.490296258277532, 34.701654771456468], [32.256667107885953, 35.103232326796622], [32.731780226377445, 35.14002594658843], [32.919572381326127, 35.087832749973636], [33.190977003723042, 35.173124701471373], [33.383833449036295, 35.162711900364563], [33.45592207208346, 35.101423651666401], [33.475817498515845, 35.000344550103499], [33.525685255677494, 35.038688462864066], [33.675391880027057, 35.017862860650446], [33.866439650210104, 35.093594672174177], [33.973616570783456, 35.058506374647997]]] } }, + { "type": "Feature", "properties": { "admin": "Czech Republic", "name": "Czech Rep.", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[16.960288120194573, 48.596982326850593], [16.49928266771877, 48.785808010445095], [16.029647251050218, 48.733899034207916], [15.253415561593979, 49.039074205107575], [14.901447381254055, 48.964401760445817], [14.33889773932472, 48.555305284207193], [13.595945672264433, 48.877171942737135], [13.031328973043427, 49.307068182973232], [12.52102420416119, 49.54741526956272], [12.415190870827441, 49.96912079528056], [12.240111118222556, 50.266337795607271], [12.96683678554319, 50.484076443069071], [13.338131951560282, 50.733234361364346], [14.05622765468817, 50.926917629594286], [14.307013380600633, 51.117267767941399], [14.570718214586062, 51.002339382524262], [15.016995883858666, 51.106674099321566], [15.490972120839725, 50.7847299261432], [16.238626743238566, 50.697732652379827], [16.176253289462263, 50.4226073268579], [16.719475945714429, 50.215746568393527], [16.868769158605655, 50.473973700556016], [17.554567091551117, 50.36214590107641], [17.649445021238986, 50.049038397819942], [18.392913852622168, 49.988628648470737], [18.85314415861361, 49.496229763377634], [18.554971144289478, 49.495015367218777], [18.399993523846174, 49.315000515330034], [18.170498488037961, 49.271514797556421], [18.104972771891848, 49.043983466175298], [17.913511590250462, 48.996492824899072], [17.886484816161808, 48.903475246773695], [17.545006951577101, 48.800019029325362], [17.101984897538895, 48.8169688991171], [16.960288120194573, 48.596982326850593]]] } }, + { "type": "Feature", "properties": { "admin": "Germany", "name": "Germany", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[9.92190636560923, 54.983104153048025], [9.939579705452898, 54.596641954153242], [10.950112338920517, 54.363607082733147], [10.939466993868447, 54.008693345752583], [11.95625247564328, 54.196485500701144], [12.518440382546711, 54.470370591847988], [13.647467075259495, 54.075510972705885], [14.119686313542555, 53.757029120491026], [14.353315463934164, 53.248171291713092], [14.074521111719431, 52.981262518925334], [14.437599725002197, 52.62485016540829], [14.685026482815713, 52.089947414755208], [14.607098422919645, 51.745188096719964], [15.016995883858781, 51.106674099321701], [14.570718214586119, 51.002339382524369], [14.307013380600662, 51.117267767941364], [14.05622765468831, 50.92691762959435], [13.338131951560397, 50.733234361364268], [12.966836785543249, 50.484076443069164], [12.240111118222668, 50.266337795607214], [12.41519087082747, 49.969120795280602], [12.521024204161332, 49.547415269562741], [13.031328973043513, 49.307068182973232], [13.595945672264575, 48.877171942737156], [13.243357374737112, 48.416114813829026], [12.884102817443873, 48.289145819687846], [13.025851271220514, 47.637583523135945], [12.93262698736606, 47.467645575543983], [12.620759718484519, 47.672387600284409], [12.141357456112869, 47.703083401065768], [11.426414015354847, 47.523766181013045], [10.544504021861597, 47.566399237653783], [10.402083774465321, 47.302487697939164], [9.896068149463188, 47.58019684507569], [9.594226108446376, 47.525058091820185], [8.522611932009793, 47.830827541691342], [8.317301466514092, 47.613579820336263], [7.466759067422286, 47.620581976911907], [7.59367638513106, 48.333019110703724], [8.099278598674855, 49.017783515003423], [6.658229607783709, 49.201958319691627], [6.186320428094176, 49.4638028021145], [6.242751092156992, 49.90222565367872], [6.043073357781109, 50.128051662794221], [6.156658155958779, 50.803721015010574], [5.988658074577812, 51.85161570902504], [6.589396599970825, 51.85202912048338], [6.842869500362381, 52.228440253297542], [7.092053256873895, 53.14404328064488], [6.905139601274128, 53.482162177130633], [7.100424838905268, 53.693932196662658], [7.936239454793961, 53.748295803433777], [8.121706170289483, 53.527792466844275], [8.800734490604667, 54.02078563090889], [8.572117954145368, 54.395646470754045], [8.526229282270206, 54.962743638725144], [9.282048780971136, 54.830865383516297], [9.92190636560923, 54.983104153048025]]] } }, + { "type": "Feature", "properties": { "admin": "Djibouti", "name": "Djibouti", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[43.081226027200152, 12.699638576707112], [43.317852410664663, 12.390148423711022], [43.286381463398911, 11.974928290245883], [42.715873650896519, 11.735640570518338], [43.145304803242126, 11.462039699748853], [42.776851841000948, 10.926878566934416], [42.55493000000012, 11.105110000000193], [42.314140000000116, 11.0342], [41.755570000000191, 11.05091], [41.739590000000177, 11.355110000000137], [41.661760000000122, 11.6312], [42.000000000000107, 12.100000000000133], [42.351560000000106, 12.54223000000013], [42.779642368344739, 12.455415757695672], [43.081226027200152, 12.699638576707112]]] } }, + { "type": "Feature", "properties": { "admin": "Denmark", "name": "Denmark", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[12.690006137755629, 55.60999095318077], [12.089991082414738, 54.800014553437919], [11.043543328504226, 55.36486379660424], [10.90391360845163, 55.779954738988735], [12.370904168353288, 56.111407375708822], [12.690006137755629, 55.60999095318077]]], [[[10.912181837618359, 56.4586213242779], [10.667803989309986, 56.081383368547208], [10.369992710011983, 56.190007229224719], [9.649984978889306, 55.469999498102041], [9.921906365609173, 54.983104153048046], [9.282048780971136, 54.830865383516155], [8.526229282270235, 54.962743638724973], [8.120310906617588, 55.517722683323612], [8.089976840862247, 56.540011705137587], [8.256581658571262, 56.809969387430286], [8.543437534223385, 57.110002753316891], [9.424469028367609, 57.172066148499468], [9.775558709358561, 57.447940782289649], [10.580005730846151, 57.730016587954843], [10.54610599126269, 57.21573273378614], [10.250000034230222, 56.890016181050456], [10.369992710011983, 56.60998159446082], [10.912181837618359, 56.4586213242779]]]] } }, + { "type": "Feature", "properties": { "admin": "Dominican Republic", "name": "Dominican Rep.", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-71.71236141629295, 19.714455878167353], [-71.587304450146604, 19.884910590082093], [-70.806706102161726, 19.880285549391981], [-70.214364997016119, 19.622885240146157], [-69.950815192327568, 19.647999986240002], [-69.769250047470067, 19.293267116772437], [-69.222125820579862, 19.313214219637096], [-69.254346076113819, 19.015196234609871], [-68.809411994080818, 18.979074408437846], [-68.317943284768958, 18.612197577381689], [-68.689315965434503, 18.205142320218609], [-69.164945848248905, 18.422648423735108], [-69.623987596297624, 18.380712998930246], [-69.952933926051529, 18.428306993071057], [-70.133232998317879, 18.245915025296892], [-70.517137213814195, 18.184290879788829], [-70.669298468697619, 18.42688589118303], [-70.999950120717173, 18.283328762276206], [-71.400209927033885, 17.598564357976596], [-71.657661912712001, 17.757572740138695], [-71.708304816358037, 18.044997056546091], [-71.687737596305865, 18.316660061104468], [-71.945112067335543, 18.616900132720257], [-71.701302659782485, 18.785416978424049], [-71.624873216422813, 19.169837958243303], [-71.71236141629295, 19.714455878167353]]] } }, + { "type": "Feature", "properties": { "admin": "Algeria", "name": "Algeria", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[11.99950564947161, 23.471668402596443], [8.572893100629782, 21.565660712159136], [5.677565952180684, 19.601206976799713], [4.267419467800038, 19.155265204336995], [3.158133172222704, 19.057364203360034], [3.146661004253899, 19.693578599521441], [2.683588494486428, 19.856230170160114], [2.060990838233919, 20.142233384679482], [1.823227573259032, 20.61080943448604], [-1.550054897457613, 22.792665920497377], [-4.92333736817423, 24.974574082940993], [-8.684399786809051, 27.395744126895998], [-8.66512447756419, 27.58947907155822], [-8.665589565454805, 27.656425889592349], [-8.674116176782972, 28.841288967396572], [-7.059227667661928, 29.579228420524522], [-6.060632290053772, 29.731699734001687], [-5.242129278982786, 30.000443020135581], [-4.859646165374469, 30.501187649043839], [-3.690441046554695, 30.896951605751152], [-3.647497931320145, 31.637294012980668], [-3.068980271812647, 31.724497992473207], [-2.616604783529567, 32.094346218386143], [-1.30789913573787, 32.262888902306095], [-1.124551153966308, 32.651521511357124], [-1.388049282222567, 32.864015000941301], [-1.733454555661467, 33.91971283623198], [-1.792985805661686, 34.527918606091198], [-2.169913702798624, 35.168396307916673], [-1.208602871089056, 35.71484874118709], [-0.127454392894606, 35.888662421200799], [0.503876580415209, 36.301272894835272], [1.466918572606545, 36.605647081034398], [3.161698846050824, 36.783904934225205], [4.815758090849129, 36.865036932923452], [5.320120070017792, 36.716518866516616], [6.261819695672611, 37.110655015606731], [7.330384962603969, 37.118380642234364], [7.737078484741003, 36.885707505840209], [8.420964389691674, 36.946427313783154], [8.217824334352313, 36.433176988260271], [8.376367628623766, 35.479876003555937], [8.140981479534302, 34.655145982393783], [7.524481642292242, 34.097376410451453], [7.612641635782181, 33.344114895148955], [8.430472853233367, 32.748337307255944], [8.439102817426116, 32.506284898400814], [9.055602654668148, 32.102691962201284], [9.482139926805273, 30.307556057246181], [9.805634392952411, 29.424638373323383], [9.859997999723443, 28.959989732371007], [9.683884718472765, 28.144173895779193], [9.756128370816779, 27.688258571884141], [9.629056023811073, 27.140953477480913], [9.716285841519747, 26.512206325785691], [9.319410841518161, 26.094324856057447], [9.910692579801774, 25.365454616796733], [9.948261346077969, 24.93695364023251], [10.30384687667836, 24.37931325937091], [10.771363559622925, 24.562532050061744], [11.560669386449002, 24.097909247325511], [11.99950564947161, 23.471668402596443]]] } }, + { "type": "Feature", "properties": { "admin": "Ecuador", "name": "Ecuador", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-80.302560594387188, -3.404856459164712], [-79.770293341780913, -2.65751189535964], [-79.986559210922394, -2.220794366061014], [-80.368783942369234, -2.685158786635788], [-80.967765469064332, -2.246942640800703], [-80.764806281238023, -1.965047702648532], [-80.933659023751702, -1.057454522306358], [-80.583370327461239, -0.906662692878683], [-80.39932471385373, -0.283703301600141], [-80.020898200180355, 0.360340074053468], [-80.090609707342097, 0.768428859862396], [-79.542762010399784, 0.982937730305963], [-78.855258755188686, 1.380923773601822], [-77.855061408179509, 0.809925034992773], [-77.668612840470416, 0.825893052570961], [-77.424984300430367, 0.395686753741117], [-76.576379767549383, 0.256935533037435], [-76.292314419240938, 0.416047268064119], [-75.801465827116587, 0.084801337073202], [-75.373223232713841, -0.15203175212045], [-75.233722703741932, -0.911416924649529], [-75.544995693652027, -1.56160979574588], [-76.635394253226707, -2.608677666843817], [-77.83790483265858, -3.003020521663103], [-78.450683966775628, -3.873096612161375], [-78.639897223612323, -4.547784112164072], [-79.205289069317715, -4.959128513207388], [-79.62497921417615, -4.454198093283494], [-80.028908047185581, -4.346090996928893], [-80.442241990872134, -4.425724379090673], [-80.46929460317692, -4.059286797708999], [-80.184014858709645, -3.821161797708043], [-80.302560594387188, -3.404856459164712]]] } }, + { "type": "Feature", "properties": { "admin": "Egypt", "name": "Egypt", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[34.9226, 29.50133], [34.64174, 29.09942], [34.42655, 28.34399], [34.15451, 27.8233], [33.92136, 27.6487], [33.58811, 27.97136], [33.13676, 28.41765], [32.42323, 29.85108], [32.32046, 29.76043], [32.73482, 28.70523], [33.34876, 27.69989], [34.10455, 26.14227], [34.47387, 25.59856], [34.79507, 25.03375], [35.69241, 23.92671], [35.49372, 23.75237], [35.52598, 23.10244], [36.69069, 22.20485], [36.86623, 22.0], [32.9, 22.0], [29.02, 22.0], [25.0, 22.0], [25.0, 25.682499996360992], [25.0, 29.238654529533452], [24.70007, 30.04419], [24.95762, 30.6616], [24.80287, 31.08929], [25.16482, 31.56915], [26.49533, 31.58568], [27.45762, 31.32126], [28.45048, 31.02577], [28.91353, 30.87005], [29.68342, 31.18686], [30.09503, 31.4734], [30.97693, 31.55586], [31.68796, 31.4296], [31.96041, 30.9336], [32.19247, 31.26034], [32.99392, 31.02407], [33.7734, 30.96746], [34.26544, 31.21936], [34.9226, 29.50133]]] } }, + { "type": "Feature", "properties": { "admin": "Eritrea", "name": "Eritrea", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[42.351560000000106, 12.54223000000013], [42.00975, 12.86582], [41.59856, 13.452090000000108], [41.15519371924983, 13.773319810435224], [40.8966, 14.118640000000138], [40.026218702969167, 14.519579169162281], [39.34061, 14.53155], [39.0994, 14.74064], [38.51295, 14.50547], [37.90607, 14.959430000000165], [37.59377, 14.2131], [36.42951, 14.42211], [36.323188917798113, 14.822480577041057], [36.753860304518575, 16.291874091044289], [36.852530000000108, 16.95655], [37.16747, 17.263140000000128], [37.904000000000103, 17.42754], [38.410089959473218, 17.998307399970312], [38.990622999839999, 16.84062612555169], [39.266110060388016, 15.922723496967246], [39.814293654140208, 15.435647284400314], [41.179274936697645, 14.491079616753209], [41.734951613132345, 13.921036892141554], [42.276830682144848, 13.34399201095442], [42.589576450375255, 13.000421250861901], [43.081226027200152, 12.699638576707112], [42.779642368344739, 12.455415757695672], [42.351560000000106, 12.54223000000013]]] } }, + { "type": "Feature", "properties": { "admin": "Spain", "name": "Spain", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[-9.034817674180244, 41.880570583659669], [-8.98443315269567, 42.592775173506261], [-9.392883673530644, 43.026624660812686], [-7.978189663108308, 43.748337714200979], [-6.754491746436754, 43.567909450853918], [-5.411886359061596, 43.574239813809669], [-4.347842779955783, 43.403449205085025], [-3.51753170410609, 43.455900783861296], [-1.901351284177764, 43.422802028978332], [-1.502770961910528, 43.034014390630425], [0.338046909190581, 42.579546006839543], [0.701590610363894, 42.795734361332599], [1.826793247087153, 42.343384711265678], [2.985998976258457, 42.473015041669854], [3.039484083680548, 41.892120266276891], [2.091841668312184, 41.226088568683082], [0.810524529635188, 41.014731960609332], [0.721331007499401, 40.678318386389229], [0.106691521819869, 40.123933620762003], [-0.278711310212941, 39.309978135732713], [0.111290724293838, 38.738514309233032], [-0.467123582349103, 38.292365831041138], [-0.683389451490598, 37.642353827457811], [-1.438382127274849, 37.443063666324214], [-2.146452602538119, 36.674144192037282], [-3.415780808923386, 36.658899644511173], [-4.368900926114718, 36.677839056946141], [-4.995219285492211, 36.32470815687963], [-5.377159796561457, 35.946850083961458], [-5.866432257500902, 36.02981659600605], [-6.236693894872174, 36.367677110330327], [-6.520190802425402, 36.942913316387312], [-7.45372555177809, 37.097787583966053], [-7.537105475281022, 37.428904323876232], [-7.166507941099863, 37.803894354802217], [-7.029281175148794, 38.075764065089757], [-7.374092169616317, 38.373058580064914], [-7.098036668313126, 39.03007274022378], [-7.498632371439724, 39.629571031241802], [-7.066591559263527, 39.711891587882768], [-7.026413133156593, 40.184524237624238], [-6.864019944679383, 40.330871893874821], [-6.851126674822551, 41.111082668617513], [-6.389087693700914, 41.381815497394641], [-6.668605515967655, 41.883386949219577], [-7.251308966490822, 41.91834605566504], [-7.422512986673794, 41.792074693359822], [-8.01317460776991, 41.790886135417118], [-8.26385698081779, 42.280468654950326], [-8.671945766626719, 42.134689439454952], [-9.034817674180244, 41.880570583659669]]] } }, + { "type": "Feature", "properties": { "admin": "Estonia", "name": "Estonia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[24.312862583114615, 57.793423570376966], [24.428927850042154, 58.383413397853275], [24.061198357853179, 58.257374579493394], [23.426560092876681, 58.612753404364618], [23.339795363058641, 59.187240302153363], [24.604214308376182, 59.465853786855007], [25.864189080516631, 59.611090399811324], [26.949135776484518, 59.445803331125767], [27.981114129353237, 59.47538808861286], [28.131699253051742, 59.300825100330904], [27.420166456824941, 58.724581203844224], [27.716685825315714, 57.791899115624354], [27.288184848751509, 57.474528306703817], [26.46353234223778, 57.476388658266316], [25.602809685984365, 57.847528794986559], [25.164593540149262, 57.970156968815175], [24.312862583114615, 57.793423570376966]]] } }, + { "type": "Feature", "properties": { "admin": "Ethiopia", "name": "Ethiopia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[37.90607, 14.959430000000165], [38.51295, 14.50547], [39.0994, 14.74064], [39.34061, 14.53155], [40.026250000000111, 14.51959], [40.8966, 14.118640000000138], [41.1552, 13.77333], [41.59856, 13.452090000000108], [42.00975, 12.86582], [42.351560000000106, 12.54223000000013], [42.000000000000107, 12.100000000000133], [41.661760000000122, 11.6312], [41.739590000000177, 11.355110000000137], [41.755570000000191, 11.05091], [42.314140000000116, 11.0342], [42.55493000000012, 11.105110000000193], [42.776851841000948, 10.926878566934416], [42.55876, 10.572580000000126], [42.92812, 10.021940000000139], [43.29699, 9.540480000000169], [43.67875, 9.183580000000116], [46.94834, 7.99688], [47.78942, 8.003], [44.9636, 5.001620000000115], [43.66087, 4.95755], [42.769670000000119, 4.252590000000223], [42.12861, 4.234130000000163], [41.855083092644108, 3.918911920483764], [41.171800000000125, 3.91909], [40.768480000000118, 4.257020000000124], [39.854940000000106, 3.83879000000013], [39.559384258765917, 3.422060000000215], [38.89251, 3.50074], [38.67114, 3.61607], [38.436970000000137, 3.58851], [38.120915000000132, 3.598605], [36.85509323800823, 4.447864127672857], [36.159078632855646, 4.447864127672857], [35.817447662353622, 4.776965663462021], [35.817447662353622, 5.338232082790852], [35.298007118233095, 5.506], [34.70702, 6.59422000000012], [34.25032, 6.82607], [34.075100000000184, 7.22595], [33.56829, 7.71334], [32.954180000000228, 7.7849700000001], [33.294800000000116, 8.35458], [33.82550000000014, 8.37916], [33.97498, 8.684560000000145], [33.96162, 9.58358], [34.25745, 10.63009], [34.73115000000012, 10.910170000000106], [34.831630000000125, 11.318960000000116], [35.26049, 12.08286], [35.863630000000164, 12.57828], [36.27022, 13.563330000000118], [36.42951, 14.42211], [37.59377, 14.2131], [37.90607, 14.959430000000165]]] } }, + { "type": "Feature", "properties": { "admin": "Finland", "name": "Finland", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[28.591929559043187, 69.064776923286644], [28.445943637818651, 68.36461294216403], [29.9774263852206, 67.698297024192641], [29.054588657352319, 66.944286200621917], [30.21765, 65.80598], [29.544429559046982, 64.948671576590471], [30.444684686003704, 64.204453436939076], [30.035872430142714, 63.552813625738544], [31.516092156711117, 62.867687486412869], [31.139991082490891, 62.357692776124395], [30.211107212044443, 61.780027777749673], [28.06999759289527, 60.503516547275829], [26.25517296723697, 60.423960679762487], [24.496623976344516, 60.057316392651636], [22.869694858499454, 59.846373196036211], [22.290763787533589, 60.391921291741525], [21.322244093519313, 60.720169989659503], [21.544866163832687, 61.705329494871783], [21.059211053153682, 62.607393296958726], [21.536029493910799, 63.189735012455863], [22.442744174903986, 63.817810370531276], [24.730511508897528, 64.902343655040823], [25.398067661243939, 65.111426500093728], [25.2940430030404, 65.53434642197044], [23.903378533633795, 66.006927395279604], [23.565879754335576, 66.396050930437411], [23.539473097434435, 67.936008612735236], [21.978534783626113, 68.616845608180682], [20.645592889089521, 69.106247260200846], [21.244936150810666, 69.370443020293067], [22.356237827247405, 68.841741441514898], [23.662049594830751, 68.891247463650529], [24.735679152126721, 68.649556789821446], [25.689212680776361, 69.092113755969024], [26.179622023226241, 69.825298977326113], [27.732292107867856, 70.164193020296239], [29.015572950971968, 69.766491197377974], [28.591929559043187, 69.064776923286644]]] } }, + { "type": "Feature", "properties": { "admin": "Fiji", "name": "Fiji", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[178.3736, -17.33992], [178.71806, -17.62846], [178.55271, -18.15059], [177.93266, -18.28799], [177.38146, -18.16432], [177.28504, -17.72465], [177.67087, -17.38114], [178.12557, -17.50481], [178.3736, -17.33992]]], [[[179.364142661964223, -16.801354076946847], [178.725059362997058, -17.012041674368017], [178.596838595117021, -16.63915], [179.096609362997128, -16.43398427754742], [179.413509362997075, -16.379054277547393], [180.000000000000114, -16.067132663642436], [180.000000000000114, -16.555216566639157], [179.364142661964223, -16.801354076946847]]], [[[-179.917369384765237, -16.501783135649358], [-180.0, -16.555216566639157], [-180.0, -16.067132663642436], [-179.793320109048551, -16.020882256741228], [-179.917369384765237, -16.501783135649358]]]] } }, + { "type": "Feature", "properties": { "admin": "Falkland Islands", "name": "Falkland Is.", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-61.2, -51.85], [-60.0, -51.25], [-59.15, -51.5], [-58.55, -51.1], [-57.75, -51.55], [-58.05, -51.9], [-59.4, -52.2], [-59.85, -51.85], [-60.7, -52.3], [-61.2, -51.85]]] } }, + { "type": "Feature", "properties": { "admin": "France", "name": "France", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-52.556424730018378, 2.504705308437053], [-52.939657151894963, 2.124857692875622], [-53.41846513529525, 2.053389187016037], [-53.554839240113481, 2.334896551925964], [-53.778520677288881, 2.376702785650053], [-54.088062506717264, 2.105556545414629], [-54.524754197799737, 2.311848863123785], [-54.271229620975781, 2.738747870286942], [-54.184284023644743, 3.194172268075234], [-54.011503872276812, 3.622569891774857], [-54.3995422023565, 4.212611395683481], [-54.478632981979203, 4.896755682795642], [-53.958044603070917, 5.756548163267808], [-53.618452928264837, 5.646529038918401], [-52.882141282754063, 5.409850979021598], [-51.823342861525916, 4.565768133966144], [-51.657797410678874, 4.156232408053028], [-52.249337531123977, 3.241094468596287], [-52.556424730018378, 2.504705308437053]]], [[[9.560016310269132, 42.152491970379558], [9.229752231491771, 41.380006822264441], [8.77572309737536, 41.583611965494427], [8.544212680707828, 42.256516628583078], [8.746009148807586, 42.628121853193946], [9.390000848028901, 43.009984849614725], [9.560016310269132, 42.152491970379558]]], [[[3.588184441755714, 50.378992418003563], [4.28602298342514, 49.90749664977254], [4.799221632515752, 49.985373033236314], [5.674051954784885, 49.529483547557433], [5.897759230176375, 49.442667141307155], [6.186320428094204, 49.463802802114444], [6.658229607783538, 49.201958319691549], [8.09927859867477, 49.017783515003366], [7.59367638513106, 48.333019110703724], [7.466759067422228, 47.620581976911851], [7.192202182655533, 47.449765529970982], [6.736571079138086, 47.541801255882874], [6.768713820023634, 47.287708238303672], [6.037388950228971, 46.725778713561894], [6.022609490593566, 46.272989813820502], [6.500099724970453, 46.429672756529428], [6.84359297041456, 45.991146552100659], [6.80235517744566, 45.708579820328673], [7.096652459347835, 45.333098863295859], [6.749955275101711, 45.028517971367584], [7.007562290076661, 44.254766750661382], [7.549596388386161, 44.127901109384808], [7.435184767291841, 43.693844916349164], [6.529245232783068, 43.12889232031835], [4.556962517931395, 43.399650987311581], [3.100410597352719, 43.075200507167118], [2.985998976258486, 42.473015041669882], [1.826793247087181, 42.343384711265649], [0.701590610363922, 42.795734361332642], [0.338046909190581, 42.57954600683955], [-1.502770961910471, 43.034014390630482], [-1.901351284177735, 43.422802028978332], [-1.384225226232956, 44.022610378590166], [-1.193797573237361, 46.014917710954862], [-2.225724249673788, 47.064362697938201], [-2.963276129559573, 47.570326646507958], [-4.491554938159481, 47.95495433205641], [-4.592349819344746, 48.68416046812694], [-3.295813971357745, 48.901692409859628], [-1.616510789384932, 48.644421291694577], [-1.933494025063254, 49.776341864615759], [-0.98946895995536, 49.347375800160869], [1.338761020522753, 50.127173163445256], [1.6390010921385, 50.9466063502975], [2.51357303224617, 51.14850617126185], [2.65842207196033, 50.796848049515646], [3.123251580425716, 50.780363267614504], [3.588184441755714, 50.378992418003563]]]] } }, + { "type": "Feature", "properties": { "admin": "Gabon", "name": "Gabon", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[11.093772820691923, -3.978826592630546], [10.066135288135738, -2.969482517105681], [9.405245395554969, -2.144313246269042], [8.797995639693168, -1.111301364754496], [8.830086704146423, -0.779073581550037], [9.048419630579586, -0.459351494960217], [9.291350538783687, 0.268666083167687], [9.492888624721981, 1.010119533691494], [9.83028405115564, 1.067893784993799], [11.285078973036461, 1.057661851400013], [11.276449008843711, 2.261050930180871], [11.751665480199787, 2.326757513839993], [12.359380323952218, 2.19281220133945], [12.951333855855605, 2.321615708826939], [13.07582238124675, 2.267097072759014], [13.003113641012074, 1.830896307783319], [13.282631463278816, 1.31418366129688], [14.026668735417214, 1.395677395021153], [14.276265903386953, 1.196929836426619], [13.843320753645653, 0.038757635901149], [14.316418491277741, -0.552627455247048], [14.425455763413593, -1.333406670744971], [14.299210239324564, -1.998275648612213], [13.992407260807706, -2.470804945489099], [13.109618767965626, -2.428740329603513], [12.575284458067639, -1.948511244315134], [12.495702752338159, -2.391688327650242], [11.820963575903189, -2.514161472181982], [11.478038771214299, -2.765618991714241], [11.855121697648114, -3.42687061932105], [11.093772820691923, -3.978826592630546]]] } }, + { "type": "Feature", "properties": { "admin": "United Kingdom", "name": "United Kingdom", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-5.661948614921896, 54.554603176483838], [-6.197884894220976, 53.867565009163329], [-6.953730231137994, 54.073702297575622], [-7.572167934591078, 54.059956366585979], [-7.366030646178785, 54.595840969452688], [-7.572167934591078, 55.131622219454883], [-6.733847011736144, 55.172860012423783], [-5.661948614921896, 54.554603176483838]]], [[[-3.00500484863528, 58.635000108466322], [-4.073828497728015, 57.55302480735525], [-3.055001796877661, 57.690019029360933], [-1.959280564776918, 57.684799709699512], [-2.219988165689301, 56.870017401753515], [-3.119003058271118, 55.97379303651546], [-2.085009324543023, 55.909998480851264], [-2.005675679673856, 55.804902850350217], [-1.11499101399221, 54.624986477265388], [-0.4304849918542, 54.464376125702145], [0.184981316742039, 53.325014146531018], [0.469976840831777, 52.929999498091959], [1.681530795914739, 52.739520168663987], [1.559987827164377, 52.099998480836], [1.050561557630914, 51.806760565795678], [1.4498653499503, 51.289427802121949], [0.550333693045502, 50.765738837275862], [-0.787517462558639, 50.774988918656206], [-2.489997524414377, 50.500018622431227], [-2.956273972984035, 50.696879991247002], [-3.617448085942327, 50.228355617872708], [-4.542507900399243, 50.341837063185658], [-5.245023159191134, 49.959999904981082], [-5.776566941745299, 50.159677639356815], [-4.309989793301837, 51.210001125689146], [-3.414850633142122, 51.426008612669236], [-3.422719467108322, 51.426848167406078], [-4.984367234710873, 51.593466091510962], [-5.267295701508885, 51.991400458374571], [-4.222346564134852, 52.30135569926135], [-4.770013393564112, 52.840004991255611], [-4.579999152026914, 53.495003770555165], [-3.093830673788658, 53.404547400669671], [-3.092079637047106, 53.404440822963544], [-2.945008510744343, 53.98499970154667], [-3.614700825433033, 54.60093677329256], [-3.63000545898933, 54.615012925833], [-4.844169073903003, 54.790971177786837], [-5.082526617849224, 55.061600653699358], [-4.719112107756643, 55.508472601943467], [-5.047980922862108, 55.783985500707516], [-5.586397670911139, 55.311146145236805], [-5.64499874513018, 56.275014960344791], [-6.149980841486352, 56.785009670633528], [-5.78682471355529, 57.818848375064633], [-5.009998745127574, 58.630013332750039], [-4.211494513353555, 58.550845038479153], [-3.00500484863528, 58.635000108466322]]]] } }, + { "type": "Feature", "properties": { "admin": "Georgia", "name": "Georgia", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[41.55408410011065, 41.535656236327561], [41.703170607272703, 41.962942816732912], [41.453470086438379, 42.645123399417926], [40.875469191253785, 43.013628038091277], [40.321394484220313, 43.128633938156831], [39.955008579270917, 43.434997666999216], [40.07696495947976, 43.553104153002309], [40.922184686045618, 43.38215851498078], [42.394394565608806, 43.220307929042619], [43.756016880067378, 42.74082815202248], [43.931199985536828, 42.554973863284758], [44.537622918481979, 42.71199270280362], [45.470279168485703, 42.502780666669963], [45.776410353382758, 42.09244395605635], [46.404950799348818, 41.860675157227298], [46.145431756379004, 41.722802435872573], [46.637908156120574, 41.181672675128219], [46.501637404166921, 41.064444688474104], [45.962600538930381, 41.123872585609767], [45.217426385281577, 41.411451931314041], [44.972480096218071, 41.248128567055588], [43.582745802592726, 41.09214325618256], [42.619548781104484, 41.583172715819934], [41.55408410011065, 41.535656236327561]]] } }, + { "type": "Feature", "properties": { "admin": "Ghana", "name": "Ghana", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[1.060121697604927, 5.928837388528875], [-0.507637905265938, 5.343472601742675], [-1.063624640294193, 5.000547797053811], [-1.964706590167594, 4.71046214438337], [-2.856125047202397, 4.994475816259508], [-2.810701463217839, 5.389051215024109], [-3.244370083011261, 6.2504715031135], [-2.983584967450326, 7.379704901555511], [-2.56218950032624, 8.219627793811481], [-2.827496303712706, 9.642460842319775], [-2.963896246747111, 10.395334784380081], [-2.94040930827046, 10.962690334512557], [-1.203357713211431, 11.009819240762736], [-0.761575893548183, 10.936929633015053], [-0.438701544588582, 11.09834096927872], [0.023802524423701, 11.018681748900802], [-0.049784715159944, 10.706917832883928], [0.367579990245389, 10.191212876827176], [0.365900506195885, 9.46500397382948], [0.461191847342121, 8.677222601756013], [0.712029249686878, 8.312464504423827], [0.490957472342245, 7.411744289576474], [0.570384148774849, 6.914358628767188], [0.836931186536333, 6.279978745952147], [1.060121697604927, 5.928837388528875]]] } }, + { "type": "Feature", "properties": { "admin": "Guinea", "name": "Guinea", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-8.439298468448696, 7.686042792181736], [-8.722123582382123, 7.711674302598509], [-8.926064622422002, 7.309037380396375], [-9.208786383490844, 7.313920803247952], [-9.403348151069748, 7.526905218938906], [-9.33727983238458, 7.928534450711351], [-9.755342169625832, 8.541055202666923], [-10.016566534861253, 8.42850393313523], [-10.230093553091276, 8.406205552601291], [-10.505477260774667, 8.348896389189603], [-10.494315151399629, 8.715540676300433], [-10.65477047366589, 8.977178452994194], [-10.622395188835037, 9.267910061068276], [-10.839151984083299, 9.688246161330367], [-11.117481248407328, 10.045872911006283], [-11.917277390988655, 10.046983954300556], [-12.150338100625003, 9.858571682164378], [-12.425928514037562, 9.835834051955953], [-12.596719122762206, 9.620188300001969], [-12.711957566773076, 9.342711696810765], [-13.246550258832512, 8.903048610871506], [-13.685153977909788, 9.494743760613458], [-14.074044969122278, 9.886166897008248], [-14.330075852912367, 10.015719712763966], [-14.579698859098254, 10.214467271358513], [-14.693231980843501, 10.65630076745404], [-14.83955379887794, 10.876571560098139], [-15.130311245168167, 11.040411688679525], [-14.685687221728896, 11.527823798056485], [-14.382191534878727, 11.509271958863691], [-14.121406419317776, 11.677117010947693], [-13.900799729863772, 11.678718980348744], [-13.743160773157411, 11.811269029177408], [-13.828271857142122, 12.142644151249041], [-13.718743658899511, 12.247185573775507], [-13.700476040084322, 12.586182969610192], [-13.217818162478235, 12.575873521367964], [-12.499050665730561, 12.332089952031053], [-12.278599005573438, 12.354440008997285], [-12.20356482588563, 12.465647691289401], [-11.658300950557928, 12.386582749882834], [-11.513942836950587, 12.442987575729415], [-11.456168585648269, 12.076834214725336], [-11.297573614944508, 12.077971096235768], [-11.036555955438256, 12.211244615116513], [-10.870829637078211, 12.177887478072106], [-10.593223842806278, 11.923975328005977], [-10.165213792348835, 11.844083563682743], [-9.890992804392011, 12.060478623904968], [-9.567911749703212, 12.194243068892472], [-9.327616339546008, 12.334286200403451], [-9.127473517279581, 12.308060411015331], [-8.905264858424529, 12.088358059126433], [-8.786099005559462, 11.812560939984705], [-8.376304897484911, 11.393645941610627], [-8.581305304386772, 11.136245632364801], [-8.620321010767126, 10.810890814655181], [-8.407310756860026, 10.90925690352276], [-8.282357143578279, 10.792597357623842], [-8.335377163109738, 10.494811916541932], [-8.029943610048617, 10.206534939001711], [-8.22933712404682, 10.129020290563897], [-8.309616461612249, 9.789531968622439], [-8.079113735374348, 9.376223863152033], [-7.832100389019186, 8.575704250518625], [-8.203498907900878, 8.455453192575446], [-8.299048631208562, 8.316443589710302], [-8.221792364932197, 8.123328762235571], [-8.280703497744936, 7.687179673692156], [-8.439298468448696, 7.686042792181736]]] } }, + { "type": "Feature", "properties": { "admin": "Gambia", "name": "Gambia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-16.84152462408127, 13.151393947802557], [-16.713728807023468, 13.594958604379853], [-15.624596320039936, 13.623587347869556], [-15.398770310924457, 13.860368760630916], [-15.081735398813816, 13.876491807505982], [-14.687030808968483, 13.63035696049978], [-14.376713833055785, 13.625680243377371], [-14.046992356817478, 13.794067898000446], [-13.844963344772404, 13.505041612191999], [-14.277701788784553, 13.28058502853224], [-14.712197231494626, 13.298206691943774], [-15.141163295949463, 13.509511623585235], [-15.511812506562931, 13.278569647672864], [-15.691000535534991, 13.270353094938455], [-15.931295945692208, 13.130284125211331], [-16.84152462408127, 13.151393947802557]]] } }, + { "type": "Feature", "properties": { "admin": "Guinea Bissau", "name": "Guinea-Bissau", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-15.130311245168167, 11.040411688679525], [-15.664180467175523, 11.458474025920792], [-16.085214199273562, 11.524594021038236], [-16.314786749730199, 11.806514797406548], [-16.308947312881227, 11.958701890506116], [-16.613838263403277, 12.170911159712698], [-16.67745195155457, 12.38485158940105], [-16.147716844130581, 12.547761542201185], [-15.816574266004251, 12.515567124883345], [-15.548476935274005, 12.628170070847343], [-13.700476040084322, 12.586182969610192], [-13.718743658899511, 12.247185573775507], [-13.828271857142122, 12.142644151249041], [-13.743160773157411, 11.811269029177408], [-13.900799729863772, 11.678718980348744], [-14.121406419317776, 11.677117010947693], [-14.382191534878727, 11.509271958863691], [-14.685687221728896, 11.527823798056485], [-15.130311245168167, 11.040411688679525]]] } }, + { "type": "Feature", "properties": { "admin": "Equatorial Guinea", "name": "Eq. Guinea", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[9.492888624721981, 1.010119533691494], [9.305613234096255, 1.160911363119183], [9.649158155972627, 2.283866075037735], [11.276449008843711, 2.261050930180871], [11.285078973036461, 1.057661851400013], [9.83028405115564, 1.067893784993799], [9.492888624721981, 1.010119533691494]]] } }, + { "type": "Feature", "properties": { "admin": "Greece", "name": "Greece", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[23.699980096133, 35.705004380835526], [24.246665073348673, 35.368022365860149], [25.025015496528873, 35.424995632461979], [25.769207797964182, 35.354018052709073], [25.745023227651579, 35.179997666966209], [26.290002882601719, 35.299990342747911], [26.164997592887651, 35.004995429009789], [24.724982130642299, 34.919987697889603], [24.735007358506941, 35.084990546197581], [23.514978468528106, 35.27999156345097], [23.699980096133, 35.705004380835526]]], [[[26.604195590936282, 41.562114569661098], [26.294602085075777, 40.936261298174244], [26.056942172965499, 40.824123440100827], [25.44767703624418, 40.852545477861455], [24.925848422960932, 40.947061672523226], [23.714811232200809, 40.687129218095116], [24.407998894964063, 40.124992987624083], [23.89996788910258, 39.962005520175573], [23.342999301860797, 39.960997829745786], [22.813987664488959, 40.476005153966547], [22.626298862404777, 40.256561184239175], [22.849747755634805, 39.659310818025759], [23.350027296652595, 39.190011298167256], [22.97309939951554, 38.97090322524965], [23.53001631032495, 38.51000112563846], [24.025024855248937, 38.219992987616443], [24.040011020613601, 37.655014553369419], [23.115002882589145, 37.920011298162215], [23.409971958111065, 37.409990749657389], [22.77497195810863, 37.305010077456551], [23.154225294698612, 36.422505804992042], [22.4900281104511, 36.410000108377446], [21.670026482843692, 36.84498647719419], [21.295010613701574, 37.644989325504689], [21.120034213961329, 38.31032339126272], [20.730032179454579, 38.769985256498778], [20.217712029712853, 39.340234686839629], [20.150015903410516, 39.624997666984022], [20.615000441172779, 40.110006822259422], [20.67499677906363, 40.434999904943048], [20.999989861747274, 40.580003973953964], [21.020040317476422, 40.842726955725873], [21.674160597426969, 40.931274522457976], [22.055377638444266, 41.149865831052686], [22.597308383889008, 41.130487168943198], [22.76177, 41.3048], [22.952377150166562, 41.337993882811212], [23.692073601992455, 41.309080918943849], [24.492644891058031, 41.583896185872035], [25.19720136892553, 41.234485988930651], [26.106138136507177, 41.328898830727823], [26.11704186372091, 41.826904608724725], [26.604195590936282, 41.562114569661098]]]] } }, + { "type": "Feature", "properties": { "admin": "Greenland", "name": "Greenland", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-46.76379, 82.62796], [-43.40644, 83.22516], [-39.89753, 83.18018], [-38.62214, 83.54905], [-35.08787, 83.64513], [-27.10046, 83.51966], [-20.84539, 82.72669], [-22.69182, 82.34165], [-26.51753, 82.29765], [-31.9, 82.2], [-31.39646, 82.02154], [-27.85666, 82.13178], [-24.84448, 81.78697], [-22.90328, 82.09317], [-22.07175, 81.73449], [-23.16961, 81.15271], [-20.62363, 81.52462], [-15.76818, 81.91245], [-12.77018, 81.71885], [-12.20855, 81.29154], [-16.28533, 80.58004], [-16.85, 80.35], [-20.04624, 80.17708], [-17.73035, 80.12912], [-18.9, 79.4], [-19.70499, 78.75128], [-19.67353, 77.63859], [-18.47285, 76.98565], [-20.03503, 76.94434], [-21.67944, 76.62795], [-19.83407, 76.09808], [-19.59896, 75.24838], [-20.66818, 75.15585], [-19.37281, 74.29561], [-21.59422, 74.22382], [-20.43454, 73.81713], [-20.76234, 73.46436], [-22.17221, 73.30955], [-23.56593, 73.30663], [-22.31311, 72.62928], [-22.29954, 72.18409], [-24.27834, 72.59788], [-24.79296, 72.3302], [-23.44296, 72.08016], [-22.13281, 71.46898], [-21.75356, 70.66369], [-23.53603, 70.471], [-24.30702, 70.85649], [-25.54341, 71.43094], [-25.20135, 70.75226], [-26.36276, 70.22646], [-23.72742, 70.18401], [-22.34902, 70.12946], [-25.02927, 69.2588], [-27.74737, 68.47046], [-30.67371, 68.12503], [-31.77665, 68.12078], [-32.81105, 67.73547], [-34.20196, 66.67974], [-36.35284, 65.9789], [-37.04378, 65.93768], [-38.37505, 65.69213], [-39.81222, 65.45848], [-40.66899, 64.83997], [-40.68281, 64.13902], [-41.1887, 63.48246], [-42.81938, 62.68233], [-42.41666, 61.90093], [-42.86619, 61.07404], [-43.3784, 60.09772], [-44.7875, 60.03676], [-46.26364, 60.85328], [-48.26294, 60.85843], [-49.23308, 61.40681], [-49.90039, 62.38336], [-51.63325, 63.62691], [-52.14014, 64.27842], [-52.27659, 65.1767], [-53.66166, 66.09957], [-53.30161, 66.8365], [-53.96911, 67.18899], [-52.9804, 68.35759], [-51.47536, 68.72958], [-51.08041, 69.14781], [-50.87122, 69.9291], [-52.013585, 69.574925], [-52.55792, 69.42616], [-53.45629, 69.283625], [-54.68336, 69.61003], [-54.75001, 70.28932], [-54.35884, 70.821315], [-53.431315, 70.835755], [-51.39014, 70.56978], [-53.10937, 71.20485], [-54.00422, 71.54719], [-55.0, 71.406536967272558], [-55.83468, 71.65444], [-54.71819, 72.58625], [-55.32634, 72.95861], [-56.12003, 73.64977], [-57.32363, 74.71026], [-58.59679, 75.09861], [-58.58516, 75.51727], [-61.26861, 76.10238], [-63.39165, 76.1752], [-66.06427, 76.13486], [-68.50438, 76.06141], [-69.66485, 76.37975], [-71.40257, 77.00857], [-68.77671, 77.32312], [-66.76397, 77.37595], [-71.04293, 77.63595], [-73.297, 78.04419], [-73.15938, 78.43271], [-69.37345, 78.91388], [-65.7107, 79.39436], [-65.3239, 79.75814], [-68.02298, 80.11721], [-67.15129, 80.51582], [-63.68925, 81.21396], [-62.23444, 81.3211], [-62.65116, 81.77042], [-60.28249, 82.03363], [-57.20744, 82.19074], [-54.13442, 82.19962], [-53.04328, 81.88833], [-50.39061, 82.43883], [-48.00386, 82.06481], [-46.59984, 81.985945], [-44.523, 81.6607], [-46.9007, 82.19979], [-46.76379, 82.62796]]] } }, + { "type": "Feature", "properties": { "admin": "Guatemala", "name": "Guatemala", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-90.095554572290951, 13.73533763270073], [-90.608624030300817, 13.909771429901948], [-91.232410244496037, 13.927832342987953], [-91.689746670279106, 14.126218166556452], [-92.227750006869812, 14.538828640190925], [-92.203229539747298, 14.830102850804066], [-92.087215949252041, 15.064584662328436], [-92.229248623406249, 15.251446641495857], [-91.747960171255912, 16.066564846251719], [-90.464472622422647, 16.069562079324651], [-90.438866950222021, 16.410109768128091], [-90.600846727240906, 16.470777899638758], [-90.711821865587694, 16.687483018454724], [-91.081670091500641, 16.918476670799404], [-91.453921271515128, 17.252177232324168], [-91.002269253284197, 17.254657701074176], [-91.001519945015943, 17.817594916245707], [-90.067933519230948, 17.819326076727474], [-89.143080410503302, 17.808318996649316], [-89.15080603713092, 17.015576687075832], [-89.229121670269265, 15.886937567605166], [-88.930612759135244, 15.887273464415072], [-88.604586147805833, 15.706380113177358], [-88.518364020526846, 15.855389105690971], [-88.22502275262201, 15.727722479713901], [-88.680679694355618, 15.346247056535301], [-89.15481096063354, 15.066419175674806], [-89.225220099631244, 14.874286200413618], [-89.145535041037149, 14.67801911056908], [-89.353325975282772, 14.424132798719112], [-89.587342698916544, 14.362586167859485], [-89.5342193265205, 14.244815578666302], [-89.7219339668207, 14.134228013561694], [-90.064677903996568, 13.881969509328924], [-90.095554572290951, 13.73533763270073]]] } }, + { "type": "Feature", "properties": { "admin": "Guyana", "name": "Guyana", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-59.758284878159181, 8.367034816924045], [-59.10168412945864, 7.99920197187049], [-58.482962205628041, 7.347691351750696], [-58.454876064677414, 6.832787380394463], [-58.078103196837361, 6.809093736188641], [-57.542218593970631, 6.321268215353355], [-57.147436489476874, 5.973149929219161], [-57.307245856339492, 5.073566595882225], [-57.914288906472123, 4.812626451024413], [-57.860209520078691, 4.576801052260449], [-58.044694383360664, 4.060863552258382], [-57.601568976457848, 3.334654649260684], [-57.281433478409703, 3.333491929534119], [-57.150097825739898, 2.768926906745406], [-56.53938574891454, 1.89952260986692], [-56.782704230360814, 1.863710842288653], [-57.33582292339689, 1.948537705895759], [-57.660971035377358, 1.682584947105638], [-58.113449876525003, 1.507195135907025], [-58.429477098205957, 1.46394196207872], [-58.540012986878288, 1.26808828369252], [-59.030861579002639, 1.317697658692722], [-59.646043667221242, 1.786893825686789], [-59.718545701726732, 2.249630438644359], [-59.974524909084543, 2.755232652188055], [-59.815413174057852, 3.606498521332085], [-59.538039923731219, 3.958802598481937], [-59.767405768458701, 4.423502915866606], [-60.111002366767373, 4.574966538914082], [-59.980958624904865, 5.014061184098138], [-60.213683437731319, 5.2444863956876], [-60.733574184803707, 5.2002772078619], [-61.410302903881941, 5.959068101419616], [-61.139415045807937, 6.234296779806142], [-61.159336310456467, 6.696077378766317], [-60.543999192940966, 6.856584377464881], [-60.295668097562377, 7.043911444522918], [-60.637972785063752, 7.414999904810853], [-60.550587938058186, 7.779602972846178], [-59.758284878159181, 8.367034816924045]]] } }, + { "type": "Feature", "properties": { "admin": "Honduras", "name": "Honduras", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-87.316654425795463, 12.984685777229], [-87.48940873894712, 13.29753489832393], [-87.793111131526501, 13.384480495655165], [-87.723502977229288, 13.785050360565602], [-87.859515347021599, 13.893312486217097], [-88.065342576840109, 13.964625962779788], [-88.503997972349609, 13.845485948130939], [-88.541230841815931, 13.98015473068352], [-88.843072882832743, 14.140506700085208], [-89.058511929057644, 14.340029405164213], [-89.353325975282786, 14.424132798719084], [-89.145535041037164, 14.678019110569149], [-89.22522009963123, 14.874286200413675], [-89.154810960633526, 15.066419175674863], [-88.680679694355575, 15.346247056535386], [-88.225022752621925, 15.727722479714027], [-88.121153123715359, 15.688655096901355], [-87.901812506852394, 15.864458319558194], [-87.615680101252309, 15.878798529519198], [-87.522920905288444, 15.797278957578779], [-87.367762417332116, 15.846940009011286], [-86.903191291028165, 15.756712958229565], [-86.440945604177372, 15.782835394753189], [-86.119233974944322, 15.893448798073958], [-86.00195431185783, 16.005405788634388], [-85.68331743034625, 15.953651841693949], [-85.444003872402547, 15.885749009662444], [-85.182443610357183, 15.909158433490628], [-84.98372188997881, 15.995923163308698], [-84.526979743167118, 15.857223619037423], [-84.36825558138257, 15.835157782448729], [-84.063054572266807, 15.648244126849132], [-83.773976610026111, 15.42407176356687], [-83.410381232420363, 15.27090281825377], [-83.147219000974104, 14.995829169164207], [-83.489988776366005, 15.01626719813566], [-83.628584967772866, 14.880073960830368], [-83.975721401693576, 14.749435939996483], [-84.228341640952394, 14.748764146376626], [-84.449335903648588, 14.62161428472251], [-84.64958207877963, 14.666805324761865], [-84.820036790694289, 14.819586696832628], [-84.924500698572302, 14.790492865452332], [-85.052787441736868, 14.551541042534719], [-85.148750576502877, 14.560196844943615], [-85.165364549484806, 14.354369615125048], [-85.514413011400265, 14.079011745657905], [-85.698665330736944, 13.960078436737998], [-85.801294725268505, 13.8360549992376], [-86.096263800790595, 14.03818736414723], [-86.312142096689826, 13.771356106008223], [-86.520708177419891, 13.778487453664464], [-86.755086636079596, 13.754845485890936], [-86.733821784191463, 13.263092556201398], [-86.880557013684353, 13.254204209847213], [-87.005769009127434, 13.025794379117254], [-87.316654425795463, 12.984685777229]]] } }, + { "type": "Feature", "properties": { "admin": "Croatia", "name": "Croatia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[18.829838087650039, 45.908877671891837], [19.072768995854172, 45.521511135432078], [19.390475701584588, 45.236515611342369], [19.005486281010118, 44.860233669609144], [18.553214145591646, 45.08158966733145], [17.861783481526398, 45.067740383477137], [17.00214603035101, 45.233776760430935], [16.534939406000202, 45.211607570977705], [16.318156772535868, 45.004126695325901], [15.959367303133373, 45.233776760430935], [15.750026075918978, 44.81871165626255], [16.239660271884528, 44.351143296885695], [16.456442905348862, 44.041239732431265], [16.916156447017325, 43.667722479825663], [17.297373488034449, 43.446340643887353], [17.674921502358981, 43.028562527023603], [18.56, 42.65], [18.450016310304814, 42.47999136002931], [17.509970330483323, 42.84999461523914], [16.930005730871638, 43.209998480800373], [16.015384555737679, 43.507215481127204], [15.174453973052094, 44.243191229827907], [15.376250441151793, 44.317915350922064], [14.920309279040504, 44.73848399512945], [14.901602410550874, 45.076060289076104], [14.258747592839992, 45.233776760430935], [13.952254672917032, 44.802123521496853], [13.65697553880119, 45.136935126315947], [13.679403110415816, 45.484149074884996], [13.715059848697248, 45.500323798192419], [14.411968214585496, 45.466165676447403], [14.595109490627916, 45.63494090431282], [14.935243767972961, 45.471695054702757], [15.327674594797424, 45.452316392593325], [15.323953891672428, 45.731782538427687], [15.671529575267638, 45.8341535507979], [15.768732944408608, 46.23810822202352], [16.564808383864939, 46.503750922219794], [16.882515089595412, 46.380631822284428], [17.630066359129554, 45.951769110694087], [18.456062452882858, 45.759481106136143], [18.829838087650039, 45.908877671891837]]] } }, + { "type": "Feature", "properties": { "admin": "Haiti", "name": "Haiti", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-73.189790615517595, 19.915683905511909], [-72.579672817663607, 19.871500555902351], [-71.71236141629295, 19.714455878167353], [-71.624873216422813, 19.169837958243303], [-71.701302659782485, 18.785416978424049], [-71.945112067335543, 18.616900132720257], [-71.687737596305865, 18.316660061104468], [-71.708304816358037, 18.044997056546091], [-72.372476162389333, 18.214960842354053], [-72.844411180294856, 18.145611070218362], [-73.454554816365018, 18.217906398994696], [-73.922433234335642, 18.030992743395], [-74.458033616824764, 18.342549953682703], [-74.369925299767118, 18.664907538319408], [-73.449542202432696, 18.526052964751141], [-72.694937099890623, 18.445799465401858], [-72.334881557896992, 18.66842153571525], [-72.791649542924873, 19.101625067618027], [-72.784104783810264, 19.483591416903405], [-73.41502234566174, 19.639550889560276], [-73.189790615517595, 19.915683905511909]]] } }, + { "type": "Feature", "properties": { "admin": "Hungary", "name": "Hungary", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[16.202298211337361, 46.852385972676949], [16.534267612380372, 47.496170966169103], [16.340584344150411, 47.712901923201215], [16.903754103267257, 47.714865627628321], [16.979666782304033, 48.123497015976298], [17.488472934649813, 47.867466132186209], [17.857132602620023, 47.758428860050365], [18.696512892336923, 47.88095368101439], [18.777024773847668, 48.081768296900627], [19.174364861739885, 48.111378892603859], [19.66136355965849, 48.266614895208647], [19.769470656013109, 48.2026911484636], [20.239054396249344, 48.327567247096916], [20.473562045989862, 48.562850043321809], [20.801293979584919, 48.62385407164237], [21.872236362401729, 48.319970811550007], [22.085608351334848, 48.422264309271782], [22.640819939878746, 48.150239569687351], [22.710531447040488, 47.882193915389394], [22.09976769378283, 47.672439276716695], [21.626514926853869, 46.994237779318148], [21.021952345471245, 46.316087958351886], [20.220192498462833, 46.127468980486547], [19.596044549241579, 46.171729844744533], [18.829838087649957, 45.908877671891915], [18.456062452882858, 45.759481106136121], [17.630066359129554, 45.95176911069418], [16.882515089595298, 46.380631822284428], [16.564808383864854, 46.503750922219822], [16.370504998447412, 46.841327216166498], [16.202298211337361, 46.852385972676949]]] } }, + { "type": "Feature", "properties": { "admin": "Indonesia", "name": "Indonesia", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[120.715608758630438, -10.239581394087862], [120.295014276206871, -10.258649997603525], [118.967808465654684, -9.55796925215803], [119.900309686361609, -9.361340427287514], [120.425755649905398, -9.665921319215796], [120.775501743656719, -9.969675388227456], [120.715608758630438, -10.239581394087862]]], [[[124.435950148619384, -10.14000090906144], [123.579981724136701, -10.359987481327961], [123.459989048354998, -10.239994805546171], [123.55000939340745, -9.900015557497978], [123.980008986508096, -9.290026950724693], [124.96868248911619, -8.892790215697046], [125.070019972840612, -9.089987481322835], [125.088520135601073, -9.393173109579321], [124.435950148619384, -10.14000090906144]]], [[[117.900018345207741, -8.095681247594923], [118.260616489740471, -8.362383314653327], [118.87845991422212, -8.280682875199828], [119.126506789223086, -8.705824883665072], [117.97040164598927, -8.906639499551257], [117.277730747549015, -9.040894870645557], [116.74014082241662, -9.032936700072637], [117.083737420725313, -8.457157891476539], [117.632024367342126, -8.44930307376819], [117.900018345207741, -8.095681247594923]]], [[[122.903537225436082, -8.094234307490735], [122.756982863456287, -8.649807631060638], [121.2544905945701, -8.933666273639941], [119.924390903809567, -8.810417982623873], [119.920928582846102, -8.44485890059107], [120.715091994307542, -8.236964613480863], [121.341668735846554, -8.53673959720602], [122.007364536630405, -8.46062021244016], [122.903537225436082, -8.094234307490735]]], [[[108.623478631628927, -6.777673841990675], [110.539227329553285, -6.877357679881682], [110.759575636845909, -6.465186455921751], [112.614811232556349, -6.946035658397589], [112.978768345188087, -7.594213148634578], [114.478935174621142, -7.776527601760277], [115.705526971501058, -8.370806573116864], [114.564511346496488, -8.75181690840483], [113.464733514460875, -8.348947442257424], [112.559672479301028, -8.376180922075163], [111.522061395312448, -8.302128594600957], [110.586149530074294, -8.122604668819021], [109.427667270955183, -7.740664157749761], [108.693655226681301, -7.641600437046219], [108.277763299596302, -7.766657403192579], [106.454102004016136, -7.354899590690947], [106.280624220812285, -6.924899997590201], [105.365486281355516, -6.851416110871169], [106.051645949327053, -5.895918877794499], [107.265008579540165, -5.954985039904058], [108.072091099074683, -6.345762220895237], [108.486846144649235, -6.421984958525768], [108.623478631628927, -6.777673841990675]]], [[[134.724624465066654, -6.214400730009286], [134.210133905168902, -6.895237725454704], [134.112775506730998, -6.142467136259014], [134.290335728085779, -5.783057549669038], [134.499625278867882, -5.445042006047898], [134.727001580952106, -5.737582289252158], [134.724624465066654, -6.214400730009286]]], [[[127.249215122588893, -3.459065036638889], [126.874922723498855, -3.790982761249579], [126.183802118027302, -3.607376397316556], [125.989033644719257, -3.177273451351325], [127.00065148326496, -3.12931772218441], [127.249215122588893, -3.459065036638889]]], [[[130.471344028851775, -3.09376433676762], [130.834836053592767, -3.858472181822761], [129.990546502808115, -3.446300957862817], [129.155248651242403, -3.362636813982248], [128.590683628453633, -3.428679294451256], [127.898891229362334, -3.393435967628192], [128.135879347852779, -2.843650404474914], [129.370997756060888, -2.802154229344551], [130.471344028851775, -3.09376433676762]]], [[[134.143367954647772, -1.151867364103594], [134.422627394753022, -2.769184665542383], [135.457602980694674, -3.367752780779113], [136.293314243718754, -2.30704233155609], [137.4407377463275, -1.703513278819372], [138.329727411044757, -1.70268645590265], [139.18492068904294, -2.051295668143637], [139.926684198160387, -2.409051608900284], [141.000210402591847, -2.600151055515624], [141.017056919519007, -5.85902190513802], [141.033851760013874, -9.117892754760417], [140.143415155192542, -8.297167657100955], [139.127766554928087, -8.096042982620942], [138.881476678624949, -8.380935153846094], [137.614473911692812, -8.41168263105976], [138.039099155835174, -7.597882175327354], [138.668621454014783, -7.320224704623072], [138.407913853102343, -6.232849216337483], [137.927839797110835, -5.393365573755998], [135.989250116113453, -4.546543877789047], [135.164597609599667, -4.462931410340771], [133.662880487197867, -3.538853448097526], [133.367704705946778, -4.024818617370314], [132.983955519747326, -4.112978610860281], [132.75694095268895, -3.746282647317129], [132.753788690319197, -3.311787204607071], [131.989804315316178, -2.820551039240455], [133.066844517143466, -2.460417982598443], [133.780030959203486, -2.479848321140209], [133.69621178602614, -2.214541517753687], [132.232373488494204, -2.212526136894325], [131.836221958544684, -1.617161960459597], [130.942839797082797, -1.432522067880796], [130.519558140180038, -0.937720228686075], [131.867537876513609, -0.695461114101818], [132.380116408416768, -0.369537855636977], [133.985548130428384, -0.780210463060442], [134.143367954647772, -1.151867364103594]]], [[[125.240500522971573, 1.419836127117605], [124.43703535369734, 0.427881171058971], [123.685504998876695, 0.235593166500877], [122.723083123872854, 0.431136786293337], [121.056724888189081, 0.381217352699451], [120.18308312386273, 0.23724681233422], [120.040869582195455, -0.519657891444851], [120.935905389490699, -1.408905938323372], [121.475820754076167, -0.955962009285116], [123.34056481332847, -0.615672702643081], [123.258399285984481, -1.076213067228337], [122.822715285331597, -0.930950616055881], [122.388529901215364, -1.516858005381124], [121.508273553555455, -1.904482924002422], [122.454572381684272, -3.186058444840881], [122.271896193532541, -3.529500013852696], [123.170962762546537, -4.683693129091707], [123.162332798353759, -5.34060393638596], [122.628515252778683, -5.634591159694494], [122.236394484548057, -5.282933037948281], [122.71956912647704, -4.46417164471579], [121.738233677254357, -4.851331475446499], [121.48946333220124, -4.574552504091215], [121.619171177253861, -4.188477878438674], [120.898181593917684, -3.602105401222828], [120.972388950688767, -2.627642917494909], [120.305452915529884, -2.931603692235725], [120.39004723519173, -4.097579034037223], [120.430716587405371, -5.528241062037778], [119.796543410319487, -5.67340016034565], [119.36690555224493, -5.379878024927804], [119.653606398600104, -4.459417412944958], [119.498835483885969, -3.49441171632651], [119.078344354326987, -3.487021986508764], [118.767768996252869, -2.801999200047688], [119.180973748858662, -2.147103773612798], [119.323393996255049, -1.35314706788047], [119.825998976725828, 0.154254462073496], [120.035701938966341, 0.566477362465804], [120.885779250167687, 1.309222723796835], [121.666816847826965, 1.013943589681076], [122.927566766451818, 0.875192368977465], [124.077522414242836, 0.917101955566139], [125.065989211121803, 1.643259182131558], [125.240500522971573, 1.419836127117605]]], [[[128.688248732620707, 1.132385972494106], [128.635952183141342, 0.258485826006179], [128.120169712436166, 0.356412665199286], [127.968034295768845, -0.252077325037533], [128.379998813999691, -0.780003757331286], [128.100015903842291, -0.899996433112974], [127.69647464407501, -0.266598402511505], [127.399490187693743, 1.011721503092573], [127.600511509309044, 1.81069082275718], [127.932377557487484, 2.174596258956555], [128.004156121940809, 1.628531398928331], [128.594559360875451, 1.540810655112864], [128.688248732620707, 1.132385972494106]]], [[[117.875627069166001, 1.827640692548911], [118.996747267738158, 0.902219143066048], [117.811858351717788, 0.784241848143722], [117.478338657706047, 0.102474676917026], [117.521643507966587, -0.803723239753211], [116.560048455879496, -1.487660821136231], [116.533796828275158, -2.483517347832901], [116.148083937648607, -4.012726332214014], [116.000857782049067, -3.657037448749008], [114.864803094544513, -4.106984144714416], [114.468651564595064, -3.49570362713382], [113.755671828264099, -3.439169610206519], [113.256994256647545, -3.118775729996854], [112.068126255340644, -3.478392022316071], [111.703290643359992, -2.994442233902631], [111.04824018762821, -3.049425957861188], [110.223846063275971, -2.934032484553483], [110.070935500124335, -1.592874037282414], [109.571947869914041, -1.314906507984489], [109.091873813922518, -0.459506524257051], [108.952657505328162, 0.415375474444346], [109.069136183714036, 1.341933905437642], [109.663260125773718, 2.006466986494984], [109.830226678508836, 1.338135687664191], [110.514060907027101, 0.773131415200993], [111.159137811326559, 0.976478176269509], [111.797548455860408, 0.904441229654651], [112.380251906383648, 1.410120957846757], [112.859809198052176, 1.497790025229946], [113.805849644019531, 1.217548732911041], [114.621355422017473, 1.430688177898886], [115.134037306785231, 2.821481838386219], [115.51907840379198, 3.169238389494395], [115.86551720587677, 4.306559149590156], [117.01521447150634, 4.306094061699468], [117.882034946770162, 4.137551377779487], [117.313232456533513, 3.234428208830578], [118.048329705885351, 2.287690131027361], [117.875627069166001, 1.827640692548911]]], [[[105.817655063909356, -5.852355645372411], [104.710384149191498, -5.873284600450644], [103.868213332130736, -5.037314955264974], [102.584260695406897, -4.220258884298203], [102.156173130300999, -3.614146009946765], [101.399113397225051, -2.799777113459171], [100.902502882900137, -2.05026213949786], [100.141980828860596, -0.650347588710957], [99.26373986206022, 0.183141587724663], [98.970011020913319, 1.042882391764536], [98.601351352943084, 1.823506577965616], [97.699597609449881, 2.453183905442116], [97.17694217324987, 3.30879059489861], [96.424016554757316, 3.86885976807791], [95.380876092513475, 4.970782172053673], [95.293026157617305, 5.479820868344816], [95.936862827541745, 5.439513251157108], [97.484882033277088, 5.24632090903401], [98.369169142655679, 4.268370266126366], [99.142558628335792, 3.590349636240915], [99.693997837322399, 3.174328518075156], [100.641433546961665, 2.099381211755798], [101.658012323007313, 2.083697414555189], [102.498271112073212, 1.398700466310217], [103.076840448013002, 0.561361395668854], [103.838396030698348, 0.104541734208666], [103.437645298274973, -0.711945896002845], [104.010788608824001, -1.059211521004229], [104.369991489684878, -1.084843031421016], [104.539490187602155, -1.782371514496716], [104.887892694113987, -2.340425306816655], [105.622111444116982, -2.42884368246807], [106.10859337771268, -3.06177662517895], [105.857445916774111, -4.305524997579723], [105.817655063909356, -5.852355645372411]]]] } }, + { "type": "Feature", "properties": { "admin": "India", "name": "India", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[77.837450799474553, 35.494009507787759], [78.912268914713209, 34.321936346975782], [78.811086460285722, 33.506198025032404], [79.208891636068572, 32.994394639613709], [79.176128777995501, 32.483779812137705], [78.458446486325997, 32.61816437431272], [78.738894484374001, 31.515906073527056], [79.721366815107089, 30.882714748654724], [81.11125613802929, 30.183480943313398], [80.476721225917373, 29.729865220655334], [80.088424513676259, 28.794470119740136], [81.057202589851997, 28.416095282499036], [81.999987420584958, 27.925479234319987], [83.304248895199535, 27.364505723575554], [84.675017938173767, 27.234901231387528], [85.25177859898335, 26.726198431906337], [86.024392938179147, 26.630984605408567], [87.22747195836628, 26.39789805755607], [88.060237664749806, 26.414615383402484], [88.174804315140904, 26.810405178325944], [88.043132765661198, 27.445818589786818], [88.120440708369841, 27.876541652939586], [88.730325962278528, 28.086864732367509], [88.814248488320544, 27.299315904239361], [88.835642531289366, 27.098966376243755], [89.744527622438838, 26.71940298105995], [90.37327477413406, 26.875724188742872], [91.217512648486405, 26.808648179628019], [92.033483514375078, 26.838310451763554], [92.10371178585973, 27.4526140406332], [91.69665652869665, 27.771741848251661], [92.503118931043616, 27.896876329046442], [93.413347609432662, 28.640629380807219], [94.565990431702929, 29.277438055939978], [95.404802280664612, 29.031716620392125], [96.117678664131006, 29.452802028922459], [96.586590610747479, 28.830979519154337], [96.248833449287758, 28.411030992134435], [97.327113885490007, 28.261582749946331], [97.402561476636123, 27.88253611908544], [97.051988559968066, 27.699058946233144], [97.133999058015277, 27.08377350514996], [96.419365675850941, 27.264589341739221], [95.124767694074933, 26.573572089132295], [95.155153436262566, 26.001307277932078], [94.603249139385355, 25.162495428970399], [94.552657912171611, 24.675238348890328], [94.106741977925054, 23.850740871673477], [93.325187615942767, 24.078556423432197], [93.286326938859247, 23.043658352138998], [93.060294224014598, 22.703110663335565], [93.166127557348361, 22.278459580977099], [92.672720981825549, 22.041238918541247], [92.146034783906799, 23.62749868417259], [91.869927606171302, 23.62434642180278], [91.706475050832083, 22.985263983649183], [91.158963250699713, 23.503526923104381], [91.467729933643668, 24.072639471934789], [91.915092807994398, 24.130413723237108], [92.376201613334786, 24.976692816664961], [91.799595981822065, 25.14743174895731], [90.872210727912105, 25.13260061288954], [89.920692580121838, 25.269749864192171], [89.832480910199592, 25.965082098895476], [89.355094028687276, 26.014407253518065], [88.56304935094974, 26.446525580342716], [88.209789259802477, 25.768065700782707], [88.931553989623069, 25.238692328384769], [88.30637251175601, 24.866079413344199], [88.084422235062405, 24.501657212821918], [88.699940220090895, 24.233714911388557], [88.529769728553759, 23.631141872649163], [88.876311883503064, 22.879146429937826], [89.031961297566198, 22.055708319582973], [88.888765903685396, 21.690588487224741], [88.208497348995209, 21.703171698487804], [86.975704380240259, 21.495561631755201], [87.033168572948853, 20.743307806882406], [86.499351027373777, 20.151638495356604], [85.060265740909671, 19.478578802971096], [83.941005893899998, 18.302009792549722], [83.189217156917834, 17.671221421778977], [82.192792189465905, 17.016636053937813], [82.191241896497175, 16.556664130107844], [81.692719354177456, 16.3102192245079], [80.791999139330116, 15.951972357644488], [80.324895867843864, 15.899184882058346], [80.025069207686428, 15.136414903214144], [80.23327355339039, 13.835770778859978], [80.286293572921849, 13.006260687710832], [79.862546828128487, 12.056215318240886], [79.85799930208681, 10.357275091997108], [79.340511509115984, 10.308854274939618], [78.885345493489169, 9.54613597252772], [79.189719679688281, 9.216543687370146], [78.27794070833049, 8.933046779816932], [77.94116539908434, 8.25295909263974], [77.539897902337927, 7.965534776232331], [76.592978957021657, 8.899276231314188], [76.130061476551063, 10.299630031775518], [75.746467319648488, 11.308250637248303], [75.396101108709573, 11.781245022015822], [74.864815708316812, 12.741935736537895], [74.616717156883524, 13.992582912649677], [74.443859490867197, 14.617221787977693], [73.534199253233368, 15.990652167214957], [73.119909295549419, 17.928570054592495], [72.820909458308634, 19.208233547436162], [72.824475132136783, 20.41950328214153], [72.630533481745388, 21.356009426351001], [71.175273471973938, 20.757441311114228], [70.470458611945091, 20.877330634031381], [69.164130080038817, 22.089298000572697], [69.644927606082391, 22.450774644454334], [69.349596795534325, 22.843179633062686], [68.176645135373377, 23.691965033456704], [68.842599318318761, 24.359133612560932], [71.0432401874682, 24.356523952730193], [70.844699334602822, 25.215102037043511], [70.282873162725579, 25.722228705339823], [70.168926629522005, 26.491871649678835], [69.514392938113119, 26.940965684511365], [70.61649620960192, 27.989196275335861], [71.777665643200308, 27.913180243434521], [72.823751662084689, 28.961591701772047], [73.450638462217412, 29.976413479119863], [74.421380242820263, 30.97981476493117], [74.405928989564998, 31.692639471965272], [75.258641798813187, 32.271105455040491], [74.451559279278698, 32.764899603805489], [74.104293654277328, 33.441473293586846], [73.749948358051952, 34.317698879527846], [74.240202671204955, 34.748887030571247], [75.757060988268321, 34.504922593721311], [76.871721632804011, 34.653544012992732], [77.837450799474553, 35.494009507787759]]] } }, + { "type": "Feature", "properties": { "admin": "Ireland", "name": "Ireland", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[-6.197884894220989, 53.86756500916335], [-6.032985398777609, 53.153164170944336], [-6.788856573910847, 52.260117906292322], [-8.561616583683557, 51.669301255899349], [-9.977085740590267, 51.820454820353071], [-9.16628251793078, 52.864628811242667], [-9.688524542672452, 53.881362616585285], [-8.327987433292007, 54.664518947968624], [-7.572167934591064, 55.131622219454854], [-7.366030646178785, 54.595840969452709], [-7.572167934591064, 54.059956366585986], [-6.953730231138065, 54.073702297575622], [-6.197884894220989, 53.86756500916335]]] } }, + { "type": "Feature", "properties": { "admin": "Iran", "name": "Iran", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[53.921597934795543, 37.198918361961255], [54.800303989486558, 37.392420762678178], [55.511578403551894, 37.964117133123153], [56.180374790273319, 37.935126654607423], [56.619366082592805, 38.121394354803478], [57.330433790928964, 38.029229437810933], [58.436154412678192, 37.522309475243794], [59.234761997316795, 37.412987982730336], [60.377637973883864, 36.52738312432836], [61.123070509694131, 36.491597194966239], [61.21081709172573, 35.650072333309218], [60.80319339380744, 34.404101874319856], [60.528429803311575, 33.676446031217999], [60.963700392505991, 33.528832302376252], [60.536077915290761, 32.981268825811561], [60.863654819588952, 32.182919623334421], [60.941944614511115, 31.548074652628745], [61.699314406180811, 31.379506130492661], [61.78122155136343, 30.735850328081231], [60.874248488208778, 29.829238999952604], [61.369308709564926, 29.303276272085917], [61.771868117118615, 28.699333807890792], [62.727830438085974, 28.259644883735383], [62.755425652929851, 27.378923448184985], [63.23389773952028, 27.217047024030702], [63.316631707619578, 26.756532497661659], [61.874187453056535, 26.239974880472097], [61.497362908784183, 25.078237006118492], [59.616134067630831, 25.380156561783775], [58.525761346272297, 25.609961656185725], [57.39725141788238, 25.739902045183634], [56.97076582217754, 26.966106268821356], [56.492138706290199, 27.14330475515019], [55.723710158110059, 26.964633490501036], [54.715089552637252, 26.480657863871507], [53.493096958231334, 26.812368882753042], [52.483597853409599, 27.580849107365488], [51.520762566947404, 27.865689602158291], [50.852948032439528, 28.814520575469377], [50.115008579311571, 30.14777252859971], [49.576850213423988, 29.9857152369324], [48.941333449098536, 30.31709035900403], [48.567971225789748, 29.926778265903515], [48.014568312376085, 30.452456773392594], [48.00469811380831, 30.985137437457237], [47.685286085812258, 30.984853217079621], [47.849203729042095, 31.709175930298663], [47.334661492711895, 32.469155381799105], [46.109361606639304, 33.017287299118998], [45.416690708199035, 33.967797756479577], [45.648459507028079, 34.748137722303007], [46.15178795755093, 35.093258775364284], [46.076340366404786, 35.67738332777548], [45.420618117053202, 35.977545884742817], [44.77267, 37.17045], [44.225755649600522, 37.971584377589345], [44.421402622257538, 38.281281236314534], [44.109225294782334, 39.428136298168091], [44.793989699081934, 39.713002631177041], [44.9526880226503, 39.335764675446363], [45.457721795438765, 38.874139105783051], [46.143623081248812, 38.74120148371221], [46.505719842317966, 38.770605373686287], [47.685079380083081, 39.508363959301207], [48.060095249225235, 39.582235419262453], [48.355529412637871, 39.2887649602769], [48.010744256386474, 38.794014797514514], [48.634375441284803, 38.27037750910096], [48.883249139202483, 38.32024526626261], [49.199612257693332, 37.582874253889877], [50.147771437384606, 37.37456655532133], [50.842354363819695, 36.872814235983384], [52.26402469260141, 36.700421657857696], [53.825789829326411, 36.965030829408228], [53.921597934795543, 37.198918361961255]]] } }, + { "type": "Feature", "properties": { "admin": "Iraq", "name": "Iraq", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[45.420618117053202, 35.977545884742817], [46.076340366404786, 35.67738332777548], [46.15178795755093, 35.093258775364284], [45.648459507028079, 34.748137722303007], [45.416690708199035, 33.967797756479577], [46.109361606639304, 33.017287299118998], [47.334661492711895, 32.469155381799105], [47.849203729042095, 31.709175930298663], [47.685286085812258, 30.984853217079621], [48.00469811380831, 30.985137437457237], [48.014568312376085, 30.452456773392594], [48.567971225789748, 29.926778265903515], [47.974519077349889, 29.975819200148493], [47.302622104690947, 30.059069932570711], [46.568713413281742, 29.099025173452283], [44.709498732284736, 29.178891099559376], [41.889980910007829, 31.190008653278362], [40.399994337736238, 31.889991766887931], [39.195468377444961, 32.16100881604266], [38.792340529136077, 33.378686428352218], [41.00615888851992, 34.419372260062111], [41.383965285005807, 35.628316555314349], [41.289707472505448, 36.358814602192261], [41.837064243340954, 36.605853786763568], [42.349591098811764, 37.22987254490409], [42.779125604021822, 37.385263576805741], [43.942258742047287, 37.256227525372942], [44.293451775902852, 37.001514390606289], [44.772699008977689, 37.170444647768427], [45.420618117053202, 35.977545884742817]]] } }, + { "type": "Feature", "properties": { "admin": "Iceland", "name": "Iceland", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[-14.508695441129232, 66.455892239031414], [-14.739637417041605, 65.808748277440287], [-13.609732224979807, 65.126671047619851], [-14.9098337467949, 64.36408193628867], [-17.794438035543418, 63.67874909123384], [-18.656245896874989, 63.496382961675806], [-19.972754685942757, 63.643634955491514], [-22.762971971110154, 63.960178941495371], [-21.778484259517676, 64.402115790455497], [-23.955043911219104, 64.891129869233481], [-22.184402635170354, 65.084968166760291], [-22.227423265053329, 65.378593655042721], [-24.326184047939332, 65.611189276788451], [-23.650514695723082, 66.262519029395207], [-22.134922451250883, 66.410468655046856], [-20.576283738679543, 65.732112128351417], [-19.056841600001587, 66.276600857194751], [-17.798623826559048, 65.993853257909763], [-16.167818976292121, 66.526792304135853], [-14.508695441129232, 66.455892239031414]]] } }, + { "type": "Feature", "properties": { "admin": "Israel", "name": "Israel", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[35.719918247222743, 32.709192409794859], [35.545665317534535, 32.393992011030569], [35.183930291491428, 32.532510687788935], [34.974640740709319, 31.866582343059715], [35.225891554512422, 31.754341132121759], [34.970506626125989, 31.616778469360803], [34.927408481594554, 31.35343537040141], [35.397560662586038, 31.489086005167572], [35.420918409981958, 31.100065822874349], [34.922602573391423, 29.501326198844517], [34.26543338393568, 31.219360866820146], [34.556371697738903, 31.548823960896989], [34.48810713068135, 31.605538845337314], [34.752587111151165, 32.07292633720116], [34.955417107896771, 32.827376410446369], [35.098457472480668, 33.080539252244257], [35.126052687324538, 33.090900376918775], [35.460709262846699, 33.089040025356276], [35.552796665190805, 33.264274807258012], [35.821100701650231, 33.277426459276292], [35.836396925608618, 32.868123277308506], [35.700797967274745, 32.716013698857374], [35.719918247222743, 32.709192409794859]]] } }, + { "type": "Feature", "properties": { "admin": "Italy", "name": "Italy", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[15.52037601081383, 38.231155096991465], [15.160242954171732, 37.444045518537813], [15.309897902089002, 37.134219468731793], [15.099988234119445, 36.61998729099539], [14.335228712632013, 36.996630967754747], [13.826732618879927, 37.104531358380186], [12.431003859108809, 37.612949937483812], [12.570943637755132, 38.126381130519682], [13.741156447004581, 38.03496552179535], [14.761249220446157, 38.143873602850498], [15.52037601081383, 38.231155096991465]]], [[[9.210011834356264, 41.209991360024212], [9.809975213264973, 40.500008856766094], [9.669518670295671, 39.177376410471787], [9.214817742559486, 39.240473334300127], [8.806935662479729, 38.906617743478471], [8.428302443077113, 39.171847032216611], [8.388253208050939, 40.378310858718798], [8.159998406617659, 40.950007229163774], [8.709990675500107, 40.899984442705225], [9.210011834356264, 41.209991360024212]]], [[[12.376485223040842, 46.767559109069872], [13.806475457421552, 46.50930613869118], [13.698109978905475, 46.016778062517368], [13.937630242578335, 45.59101593686465], [13.141606479554294, 45.736691799495411], [12.328581170306304, 45.38177806251484], [12.383874952858601, 44.885374253919075], [12.261453484759157, 44.600482082694008], [12.589237094786482, 44.091365871754462], [13.526905958722491, 43.587727362637899], [14.029820997787024, 42.761007798832473], [15.142569614327952, 41.955139675456891], [15.926191033601892, 41.961315009115729], [16.169897088290409, 41.740294908203417], [15.889345737377793, 41.541082261718195], [16.785001661860573, 41.179605617836579], [17.519168735431204, 40.877143459632229], [18.376687452882575, 40.355624904942651], [18.4802470231954, 40.168866278639818], [18.293385044028096, 39.810774441073235], [17.738380161213279, 40.277671006830289], [16.869595981522334, 40.442234605463838], [16.448743116937319, 39.795400702466473], [17.171489698971495, 39.424699815420716], [17.052840610429339, 38.902871202137291], [16.635088331781841, 38.843572496082395], [16.100960727613053, 37.985898749334176], [15.684086948314498, 37.908849188787023], [15.687962680736318, 38.214592800441849], [15.891981235424705, 38.750942491199218], [16.109332309644312, 38.964547024077682], [15.718813510814638, 39.544072374014938], [15.413612501698818, 40.048356838535163], [14.998495721098234, 40.172948716790913], [14.703268263414767, 40.604550279292617], [14.06067182786526, 40.786347968095434], [13.627985060285393, 41.188287258461649], [12.888081902730418, 41.253089504555604], [12.106682570044907, 41.7045348170574], [11.191906365614184, 42.355425319989671], [10.511947869517794, 42.93146251074721], [10.200028924204046, 43.920006822274608], [9.702488234097812, 44.036278794931313], [8.888946160526869, 44.366336167979533], [8.428560825238575, 44.23122813575241], [7.8507666357832, 43.767147935555236], [7.435184767291841, 43.693844916349164], [7.549596388386161, 44.127901109384808], [7.007562290076661, 44.254766750661382], [6.749955275101711, 45.028517971367584], [7.096652459347835, 45.333098863295859], [6.80235517744566, 45.708579820328673], [6.84359297041456, 45.991146552100659], [7.273850945676683, 45.776947740250748], [7.755992058959832, 45.824490057959267], [8.316629672894377, 46.16364248309084], [8.489952426801294, 46.005150865251736], [8.966305779667833, 46.03693187111115], [9.18288170740311, 46.440214748716976], [9.92283654139035, 46.314899400409182], [10.363378126678665, 46.48357127540983], [10.4427014502466, 46.893546250997431], [11.048555942436504, 46.751358547546396], [11.164827915093325, 46.941579494812729], [12.153088006243079, 47.115393174826423], [12.376485223040842, 46.767559109069872]]]] } }, + { "type": "Feature", "properties": { "admin": "Jamaica", "name": "Jamaica", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-77.569600796199197, 18.490525417550483], [-76.896618618462114, 18.400866807524078], [-76.365359056285527, 18.16070058844759], [-76.19965857614163, 17.886867173732963], [-76.902561408175671, 17.868237819891743], [-77.206341315403449, 17.701116237859818], [-77.766022915340599, 17.861597398342237], [-78.337719285785596, 18.225967922432226], [-78.217726610003865, 18.454532782459193], [-77.797364671525614, 18.524218451404774], [-77.569600796199197, 18.490525417550483]]] } }, + { "type": "Feature", "properties": { "admin": "Jordan", "name": "Jordan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[35.545665317534535, 32.393992011030569], [35.719918247222743, 32.709192409794859], [36.834062127435537, 32.312937526980768], [38.792340529136077, 33.378686428352218], [39.195468377444961, 32.16100881604266], [39.004885695152545, 32.010216986614971], [37.002165561681004, 31.508412990844736], [37.998848911294367, 30.508499864213128], [37.668119744626374, 30.338665269485894], [37.503581984209028, 30.003776150018396], [36.740527784987243, 29.865283311476183], [36.501214227043583, 29.505253607698702], [36.068940870922049, 29.19749461518445], [34.956037225084252, 29.356554673778835], [34.922602573391423, 29.501326198844517], [35.420918409981958, 31.100065822874349], [35.397560662586038, 31.489086005167572], [35.545251906076196, 31.782504787720832], [35.545665317534535, 32.393992011030569]]] } }, + { "type": "Feature", "properties": { "admin": "Japan", "name": "Japan", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[134.638428176003856, 34.149233710256418], [134.766379022358478, 33.806334743783673], [134.20341596897083, 33.201177883429622], [133.792950067276479, 33.521985175097583], [133.280268182508848, 33.289570420864941], [133.014858026257855, 32.704567369104772], [132.363114862192674, 32.989382025681373], [132.371176385630179, 33.463642483040068], [132.924372593314786, 34.060298570282036], [133.492968377822194, 33.944620876596694], [133.904106073136347, 34.364931138642611], [134.638428176003856, 34.149233710256418]]], [[[140.976387567305267, 37.142074286440156], [140.599769728762084, 36.343983466124534], [140.774074334882641, 35.842877102190229], [140.253279250245072, 35.138113918593653], [138.975527785396196, 34.667600002576101], [137.217598911691198, 34.606285915661843], [135.792983026268871, 33.46480520276662], [135.120982700745401, 33.849071153289053], [135.07943484918269, 34.596544908174813], [133.340316196831964, 34.375938218720755], [132.156770868051296, 33.904933376596503], [130.986144647343451, 33.885761420216276], [132.000036248910021, 33.149992377244608], [131.33279015515734, 31.450354519164836], [130.68631798718593, 31.029579169228235], [130.202419875204953, 31.418237616495411], [130.447676222862128, 32.319474595665717], [129.81469160371887, 32.610309556604385], [129.408463169472554, 33.296055813117583], [130.353935174684636, 33.604150702441693], [130.878450962447118, 34.232742824840031], [131.884229364143891, 34.749713853487911], [132.617672967662486, 35.433393052709413], [134.608300815977771, 35.731617743465812], [135.677537876528902, 35.527134100886819], [136.723830601142424, 37.304984239240376], [137.390611607004473, 36.827390651998819], [138.857602166906247, 37.827484646143454], [139.426404657142882, 38.215962225897634], [140.054790073812057, 39.438807481436378], [139.883379347899847, 40.563312486323682], [140.305782505453664, 41.195005194659551], [141.368973423426667, 41.378559882160282], [141.914263136970476, 39.991616115878678], [141.884600864834965, 39.18086456965149], [140.959489373945729, 38.174000962876583], [140.976387567305267, 37.142074286440156]]], [[[143.910161981379474, 44.174099839853724], [144.613426548439634, 43.960882880217511], [145.320825230083074, 44.384732977875437], [145.543137241802754, 43.262088324550596], [144.059661899999867, 42.988358262700551], [143.183849725517291, 41.995214748699183], [141.611490920172457, 42.678790595056071], [141.067286411706618, 41.58459381770799], [139.95510623592105, 41.56955597591103], [139.817543573159924, 42.563758856774392], [140.312087030193169, 43.333272610032644], [141.380548944259999, 43.388824774746489], [141.671952345953912, 44.772125352551477], [141.967644891527982, 45.551483466161343], [143.142870314709796, 44.510358384776957], [143.910161981379474, 44.174099839853724]]]] } }, + { "type": "Feature", "properties": { "admin": "Kazakhstan", "name": "Kazakhstan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[70.962314894499272, 42.26615428320553], [70.388964878220776, 42.081307684897517], [69.070027296835221, 41.384244289712335], [68.632482944620037, 40.668680731766855], [68.259895867795635, 40.662324530594894], [67.985855747351806, 41.135990708982199], [66.714047072216587, 41.168443508461557], [66.510648634715707, 41.987644151368549], [66.023391554635609, 41.994646307944031], [66.098012322865188, 42.997660020513074], [64.90082441595932, 43.728080552742647], [63.18578698105658, 43.650074978197999], [62.013300408786264, 43.504476630215649], [61.05831994003249, 44.405816962250576], [60.239971958258472, 44.784036770194739], [58.689989048095796, 45.500013739598721], [58.503127068928428, 45.58680430763296], [55.928917270741167, 44.995858466159163], [55.968191359283011, 41.30864166926937], [55.455251092353805, 41.259859117185826], [54.755345493392653, 42.04397146256661], [54.079417759014959, 42.324109402020831], [52.944293247291725, 42.116034247397572], [52.502459751196277, 41.783315538086462], [52.446339145727208, 42.027150783855561], [52.692112257707251, 42.443895372073364], [52.501426222550315, 42.792297878585188], [51.342427199108201, 43.132974758469338], [50.891291945200223, 44.031033637053774], [50.339129266161358, 44.284015611338468], [50.305642938036257, 44.609835516938908], [51.278503452363211, 44.514854234386448], [51.316899041556034, 45.245998236667894], [52.167389764215713, 45.408391425145098], [53.040876499245194, 45.259046535821753], [53.220865512917712, 46.23464590105992], [53.042736850807771, 46.853006089864486], [52.042022739475598, 46.804636949239232], [51.191945428274252, 47.048704738953909], [50.034083286342465, 46.608989976582208], [49.10116, 46.39933000000012], [48.593241001180495, 46.561034247415471], [48.694733514201729, 47.075628160177921], [48.057253045449258, 47.743752753279516], [47.315231154170242, 47.715847479841948], [46.466445753776256, 48.394152330104923], [47.043671502476506, 49.1520388860976], [46.751596307162728, 49.35600576435376], [47.549480421749301, 50.454698391311119], [48.577841424357523, 49.874759629915658], [48.702381626181008, 50.605128485712825], [50.766648390512145, 51.692762356159889], [52.328723585830957, 51.71865224873811], [54.53287845237621, 51.026239732459302], [55.716940545479801, 50.62171662047853], [56.777961053296551, 51.043551337277037], [58.363290643146733, 51.063653469438563], [59.642282342370599, 50.545442206415707], [59.932807244715484, 50.842194118851857], [61.337424350840919, 50.799070136104248], [61.588003371024158, 51.2726587998432], [59.967533807215531, 51.960420437215696], [60.927268507740258, 52.447548326215028], [60.739993117114572, 52.719986477257734], [61.699986199800584, 52.979996446334255], [60.978066440683151, 53.664993394579128], [61.436591424409052, 54.006264553434775], [65.178533563095911, 54.354227810272093], [65.66687584825398, 54.601266994843449], [68.169100376258811, 54.970391750704309], [69.068166945272864, 55.385250149143516], [70.865266554655122, 55.169733588270091], [71.180131056609397, 54.133285224008247], [72.224150018202167, 54.376655381886728], [73.508516066384388, 54.035616766976588], [73.425678745420427, 53.489810289109741], [74.384845005190044, 53.546861070360066], [76.891100294913414, 54.490524400441913], [76.525179477854735, 54.177003485727127], [77.800915561844221, 53.404414984747561], [80.035559523441663, 50.864750881547238], [80.568446893235475, 51.388336493528456], [81.945985548839914, 50.812195949906354], [83.383003778012366, 51.069182847693909], [83.935114780618832, 50.889245510453563], [84.416377394553052, 50.311399644565817], [85.115559523462011, 50.117302964877631], [85.541269972682457, 49.69285858824815], [86.829356723989619, 49.826674709668154], [87.359970330762664, 49.214980780629148], [86.598776483103379, 48.549181626980605], [85.768232863308285, 48.455750637396974], [85.72048383987071, 47.452969468773112], [85.164290399113355, 47.000955715516099], [83.180483839860443, 47.330031236350848], [82.458925815769106, 45.539649563166499], [81.947070753918112, 45.317027492853235], [79.966106398441397, 44.917516994804643], [80.866206496101356, 43.180362046881037], [80.180150180994289, 42.920067857426936], [80.259990268885332, 42.349999294599101], [79.643645460940135, 42.496682847659649], [79.142177361979776, 42.856092434249589], [77.658391961583206, 42.960685533208327], [76.000353631498555, 42.988022365890622], [75.636964959622091, 42.877899888676765], [74.212865838522575, 43.298339341803505], [73.645303582660901, 43.091271877609863], [73.489757521462337, 42.500894476891276], [71.844638299450637, 42.845395412765178], [71.186280552052253, 42.704292914392219], [70.962314894499272, 42.26615428320553]]] } }, + { "type": "Feature", "properties": { "admin": "Kenya", "name": "Kenya", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[40.993, -0.85829], [41.58513, -1.68325], [40.88477, -2.08255], [40.63785, -2.49979], [40.26304, -2.57309], [40.12119, -3.27768], [39.80006, -3.68116], [39.60489, -4.34653], [39.20222, -4.67677], [37.7669, -3.67712], [37.69869, -3.09699], [34.07262, -1.05982], [33.903711197104521, -0.95], [33.893568969666937, 0.109813537861896], [34.18, 0.515], [34.6721, 1.17694], [35.03599, 1.90584], [34.59607, 3.05374], [34.47913, 3.5556], [34.005, 4.249884947362047], [34.620196267853871, 4.847122742081987], [35.298007118232974, 5.506], [35.817447662353501, 5.338232082790795], [35.817447662353501, 4.776965663461889], [36.159078632855639, 4.447864127672768], [36.855093238008116, 4.447864127672768], [38.120915, 3.598605], [38.43697, 3.58851], [38.67114, 3.61607], [38.89251, 3.50074], [39.559384258765846, 3.42206], [39.85494, 3.83879], [40.76848, 4.25702], [41.1718, 3.91909], [41.855083092643966, 3.918911920483726], [40.98105, 2.78452], [40.993, -0.85829]]] } }, + { "type": "Feature", "properties": { "admin": "Kyrgyzstan", "name": "Kyrgyzstan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[70.96231489449913, 42.266154283205481], [71.186280552052111, 42.704292914392127], [71.84463829945058, 42.845395412765093], [73.489757521462337, 42.500894476891311], [73.645303582660901, 43.09127187760982], [74.212865838522546, 43.298339341803363], [75.636964959622006, 42.877899888676673], [76.000353631498442, 42.988022365890664], [77.658391961583206, 42.960685533208256], [79.142177361979762, 42.856092434249511], [79.643645460940107, 42.496682847659514], [80.259990268885289, 42.349999294599044], [80.119430373051358, 42.123940741538235], [78.543660923175295, 41.582242540038685], [78.187196893225959, 41.185315863604792], [76.904484490877067, 41.066485907549634], [76.526368035797432, 40.427946071935111], [75.467827996730691, 40.562072251948663], [74.776862420556043, 40.366425279291619], [73.822243686828287, 39.893973497063179], [73.960013055318413, 39.660008449861721], [73.67537926625478, 39.431236884105594], [71.784693637991992, 39.279463202464363], [70.549161818325601, 39.604197902986492], [69.464886915977516, 39.526683254548693], [69.559609816368507, 40.103211371412968], [70.648018833299957, 39.935753892571157], [71.014198032520156, 40.244365546218226], [71.774875115856545, 40.145844428053763], [73.055417108049156, 40.86603302668945], [71.870114780570447, 41.392900092121259], [71.157858514291576, 41.143587144529107], [70.420022414028196, 41.519998277343134], [71.259247674448218, 42.167710679689456], [70.96231489449913, 42.266154283205481]]] } }, + { "type": "Feature", "properties": { "admin": "Cambodia", "name": "Cambodia", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[103.497279901139677, 10.632555446815926], [103.090689731867229, 11.153660590047162], [102.58493248902667, 12.186594956913279], [102.348099399833004, 13.39424734135822], [102.988422072361601, 14.225721136934464], [104.281418084736586, 14.416743068901363], [105.218776890078871, 14.27321177821069], [106.04394616091551, 13.881091009979952], [106.496373325630856, 14.57058380783428], [107.382727492301058, 14.202440904186968], [107.614547967562402, 13.535530707244202], [107.491403029410861, 12.337205918827944], [105.810523716253101, 11.567614650921225], [106.249670037869436, 10.961811835163585], [105.199914992292321, 10.889309800658094], [104.334334751403446, 10.486543687375228], [103.497279901139677, 10.632555446815926]]] } }, + { "type": "Feature", "properties": { "admin": "South Korea", "name": "Korea", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[128.349716424676586, 38.612242946927843], [129.212919549680038, 37.432392483055942], [129.460449660358137, 36.784189154602821], [129.468304478066472, 35.632140611303939], [129.091376580929563, 35.08248423923142], [128.18585045787907, 34.890377102186385], [127.386519403188373, 34.475673733044111], [126.485747511908713, 34.390045884736473], [126.3739197124291, 34.934560451795939], [126.559231398627773, 35.684540513647896], [126.117397902532261, 36.725484727519252], [126.860143263863364, 36.893924058574612], [126.174758742376213, 37.749685777328033], [126.237338901881742, 37.840377916000271], [126.683719924018888, 37.804772854151174], [127.073308547067342, 38.256114813788393], [127.780035435090966, 38.304535630845884], [128.205745884311426, 38.370397243801882], [128.349716424676586, 38.612242946927843]]] } }, + { "type": "Feature", "properties": { "admin": "Kosovo", "name": "Kosovo", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[20.76216, 42.05186], [20.717310000000108, 41.84711], [20.59023, 41.85541], [20.52295, 42.21787], [20.28374, 42.32025], [20.0707, 42.58863], [20.25758, 42.81275], [20.49679, 42.88469], [20.63508, 43.21671], [20.81448, 43.27205], [20.95651, 43.13094], [21.143395, 43.068685000000123], [21.27421, 42.90959], [21.43866, 42.86255], [21.63302, 42.67717], [21.77505, 42.6827], [21.66292, 42.43922], [21.54332, 42.32025], [21.576635989402117, 42.245224397061847], [21.352700000000134, 42.2068], [20.76216, 42.05186]]] } }, + { "type": "Feature", "properties": { "admin": "Kuwait", "name": "Kuwait", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[47.974519077349889, 29.975819200148493], [48.183188510944483, 29.534476630159759], [48.09394331237641, 29.306299343374999], [48.416094191283939, 28.552004299426663], [47.708850538937376, 28.526062730416136], [47.459821811722819, 29.002519436147217], [46.568713413281742, 29.099025173452283], [47.302622104690947, 30.059069932570711], [47.974519077349889, 29.975819200148493]]] } }, + { "type": "Feature", "properties": { "admin": "Laos", "name": "Lao PDR", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[105.218776890078871, 14.27321177821069], [105.544338413517664, 14.723933620660414], [105.589038527450128, 15.570316066952856], [104.779320509868768, 16.441864935771445], [104.716947056092465, 17.428858954330078], [103.956476678485288, 18.240954087796872], [103.200192091893726, 18.309632066312769], [102.998705682387694, 17.961694647691598], [102.413004998791592, 17.932781683824281], [102.113591750092453, 18.109101670804161], [101.059547560635139, 17.512497259994486], [101.035931431077742, 18.408928330961611], [101.282014601651667, 19.462584947176762], [100.606293573003128, 19.508344427971217], [100.548881056726856, 20.109237982661124], [100.115987583417819, 20.41784963630818], [100.329101190189519, 20.786121731036229], [101.180005324307515, 21.436572984294024], [101.270025669359939, 21.201651923095177], [101.803119744882906, 21.174366766845065], [101.652017856861491, 22.318198757409544], [102.170435825613552, 22.464753119389297], [102.754896274834636, 21.675137233969462], [103.203861118586431, 20.766562201413745], [104.435000441508024, 20.758733221921528], [104.822573683697073, 19.886641750563879], [104.183387892678908, 19.624668077060214], [103.896532017026701, 19.265180975821799], [105.094598423281496, 18.666974595611073], [105.925762160264, 17.485315456608955], [106.55600792849566, 16.604283962464802], [107.312705926545576, 15.908538316303177], [107.564525181103875, 15.202173163305554], [107.382727492301058, 14.202440904186968], [106.496373325630856, 14.57058380783428], [106.04394616091551, 13.881091009979952], [105.218776890078871, 14.27321177821069]]] } }, + { "type": "Feature", "properties": { "admin": "Lebanon", "name": "Lebanon", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[35.821100701650231, 33.277426459276292], [35.552796665190805, 33.264274807258012], [35.460709262846699, 33.089040025356276], [35.126052687324538, 33.090900376918775], [35.48220665868012, 33.905450140919434], [35.979592319489392, 34.610058295219126], [35.998402540843628, 34.644914048799997], [36.448194207512095, 34.59393524834406], [36.611750115715886, 34.201788641897174], [36.066460402172048, 33.824912421192543], [35.821100701650231, 33.277426459276292]]] } }, + { "type": "Feature", "properties": { "admin": "Liberia", "name": "Liberia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-7.712159389669749, 4.364565944837721], [-7.974107224957249, 4.355755113131961], [-9.004793667018673, 4.832418524592199], [-9.913420376006682, 5.593560695819205], [-10.765383876986643, 6.140710760925556], [-11.438779466182053, 6.785916856305746], [-11.199801805048278, 7.105845648624735], [-11.14670427086838, 7.396706447779534], [-10.695594855176477, 7.939464016141085], [-10.230093553091276, 8.406205552601291], [-10.016566534861253, 8.42850393313523], [-9.755342169625832, 8.541055202666923], [-9.33727983238458, 7.928534450711351], [-9.403348151069748, 7.526905218938906], [-9.208786383490844, 7.313920803247952], [-8.926064622422002, 7.309037380396375], [-8.722123582382123, 7.711674302598509], [-8.439298468448696, 7.686042792181736], [-8.485445522485348, 7.395207831243068], [-8.385451626000572, 6.911800645368742], [-8.602880214868618, 6.467564195171659], [-8.311347622094017, 6.193033148621081], [-7.993692592795879, 6.126189683451541], [-7.570152553731686, 5.707352199725903], [-7.53971513511176, 5.313345241716517], [-7.63536821128403, 5.188159084489455], [-7.712159389669749, 4.364565944837721]]] } }, + { "type": "Feature", "properties": { "admin": "Libya", "name": "Libya", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[14.8513, 22.862950000000119], [14.143870883855239, 22.491288967371126], [13.581424594790459, 23.040506089769274], [11.999505649471697, 23.471668402596432], [11.560669386449032, 24.09790924732561], [10.771363559622952, 24.562532050061741], [10.303846876678445, 24.379313259370967], [9.948261346078024, 24.936953640232613], [9.910692579801774, 25.365454616796789], [9.319410841518218, 26.094324856057476], [9.716285841519662, 26.512206325785652], [9.629056023811073, 27.140953477481041], [9.756128370816779, 27.688258571884198], [9.68388471847288, 28.144173895779311], [9.859997999723472, 28.959989732371064], [9.805634392952353, 29.424638373323369], [9.482139926805415, 30.307556057246181], [9.970017124072966, 30.539324856075375], [10.056575148161697, 30.961831366493517], [9.950225050505194, 31.376069647745275], [10.636901482799484, 31.761420803345679], [10.944789666394511, 32.081814683555358], [11.43225345220378, 32.368903103152824], [11.488787469131008, 33.136995754523234], [12.66331, 32.79278], [13.08326, 32.87882], [13.91868, 32.71196], [15.24563, 32.26508], [15.71394, 31.37626], [16.61162, 31.18218], [18.02109, 30.76357], [19.08641, 30.26639], [19.57404, 30.52582], [20.05335, 30.98576], [19.82033, 31.751790000000135], [20.13397, 32.2382], [20.85452, 32.7068], [21.54298, 32.8432], [22.89576, 32.63858], [23.2368, 32.19149], [23.6091300000001, 32.18726], [23.9275, 32.01667], [24.92114, 31.89936], [25.16482, 31.56915], [24.80287, 31.08929], [24.95762, 30.6616], [24.70007, 30.04419], [25.00000000000011, 29.238654529533552], [25.00000000000011, 25.682499996360995], [25.00000000000011, 22.0], [25.00000000000011, 20.00304], [23.850000000000129, 20.0], [23.837660000000135, 19.580470000000101], [19.84926, 21.49509], [15.86085, 23.40972], [14.8513, 22.862950000000119]]] } }, + { "type": "Feature", "properties": { "admin": "Sri Lanka", "name": "Sri Lanka", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[81.787959018891371, 7.523055324733162], [81.637322218760573, 6.481775214051921], [81.218019647144317, 6.197141424988287], [80.348356968104397, 5.968369859232154], [79.872468703128519, 6.763463446474928], [79.6951668639351, 8.200843410673384], [80.147800734379629, 9.824077663609554], [80.838817986986541, 9.268426825391186], [81.304319289071756, 8.564206244333688], [81.787959018891371, 7.523055324733162]]] } }, + { "type": "Feature", "properties": { "admin": "Lesotho", "name": "Lesotho", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[28.978262566857236, -28.955596612261708], [29.325166456832587, -29.257386976846245], [29.018415154748016, -29.743765557577362], [28.848399692507734, -30.070050551068245], [28.291069370239903, -30.226216729454293], [28.107204624145421, -30.545732110314944], [27.749397006956478, -30.645105889612214], [26.999261915807629, -29.875953871379977], [27.532511020627471, -29.242710870075353], [28.07433841320778, -28.851468601193581], [28.541700066855491, -28.647501722937562], [28.978262566857236, -28.955596612261708]]] } }, + { "type": "Feature", "properties": { "admin": "Lithuania", "name": "Lithuania", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[22.731098667092649, 54.327536932993311], [22.651051873472536, 54.582740993866729], [22.757763706155256, 54.856574408581366], [22.31572350433057, 55.01529857036585], [21.26844892750346, 55.190481675835301], [21.05580040862241, 56.031076361711051], [22.201156853939491, 56.337801825579483], [23.878263787539957, 56.273671373105259], [24.860684441840753, 56.372528388079616], [25.000934279080887, 56.164530748104831], [25.533046502390327, 56.100296942766029], [26.494331495883749, 55.61510691997762], [26.588279249790386, 55.167175604871659], [25.768432651479792, 54.846962592175082], [25.536353794056989, 54.282423407602515], [24.45068362803703, 53.905702216194747], [23.484127638449841, 53.912497667041123], [23.243987257589506, 54.220566718149129], [22.731098667092649, 54.327536932993311]]] } }, + { "type": "Feature", "properties": { "admin": "Luxembourg", "name": "Luxembourg", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[6.043073357781109, 50.128051662794221], [6.242751092156992, 49.90222565367872], [6.186320428094176, 49.4638028021145], [5.897759230176403, 49.442667141307012], [5.674051954784828, 49.52948354755749], [5.782417433300905, 50.090327867221205], [6.043073357781109, 50.128051662794221]]] } }, + { "type": "Feature", "properties": { "admin": "Latvia", "name": "Latvia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[21.05580040862241, 56.031076361711051], [21.090423618257965, 56.783872789122924], [21.581866489353668, 57.411870632549913], [22.524341261492872, 57.753374335350756], [23.31845299652209, 57.006236477274854], [24.120729607853423, 57.025692654032753], [24.312862583114615, 57.793423570376966], [25.164593540149262, 57.970156968815175], [25.602809685984365, 57.847528794986559], [26.46353234223778, 57.476388658266316], [27.288184848751509, 57.474528306703817], [27.770015903440925, 57.244258124411218], [27.855282016722519, 56.759326483784278], [28.17670942557799, 56.169129950578807], [27.102459751094525, 55.783313707087672], [26.494331495883749, 55.61510691997762], [25.533046502390327, 56.100296942766029], [25.000934279080887, 56.164530748104831], [24.860684441840753, 56.372528388079616], [23.878263787539957, 56.273671373105259], [22.201156853939491, 56.337801825579483], [21.05580040862241, 56.031076361711051]]] } }, + { "type": "Feature", "properties": { "admin": "Morocco", "name": "Morocco", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-5.193863491222031, 35.755182196590845], [-4.591006232105143, 35.330711981745644], [-3.640056525070007, 35.39985504815197], [-2.604305792644111, 35.17909332940112], [-2.169913702798624, 35.168396307916694], [-1.792985805661658, 34.527918606091298], [-1.73345455566141, 33.919712836232115], [-1.388049282222596, 32.864015000941372], [-1.124551153966195, 32.651521511357195], [-1.30789913573787, 32.262888902306024], [-2.616604783529567, 32.094346218386157], [-3.068980271812648, 31.724497992473285], [-3.647497931320145, 31.637294012980814], [-3.690441046554666, 30.896951605751152], [-4.859646165374442, 30.501187649043874], [-5.242129278982786, 30.00044302013557], [-6.060632290053745, 29.731699734001801], [-7.059227667661899, 29.57922842052465], [-8.67411617678283, 28.841288967396643], [-8.665589565454836, 27.656425889592462], [-8.817809007940523, 27.656425889592462], [-8.817828334986642, 27.656425889592462], [-8.794883999049032, 27.120696316022553], [-9.413037482124507, 27.088476060488539], [-9.735343390328749, 26.860944729107409], [-10.189424200877452, 26.860944729107409], [-10.551262579785258, 26.990807603456879], [-11.392554897496948, 26.883423977154386], [-11.718219773800339, 26.104091701760801], [-12.030758836301654, 26.030866197203121], [-12.500962693725368, 24.770116278578136], [-13.891110398809044, 23.691009019459383], [-14.22116777185715, 22.310163072188338], [-14.630832688850942, 21.860939846274867], [-14.750954555713404, 21.500600083903802], [-17.002961798561071, 21.42073415779668], [-17.020428432675768, 21.422310288981631], [-16.973247849993182, 21.88574453377495], [-16.589136928767626, 22.158234361250091], [-16.26192175949566, 22.679339504481273], [-16.326413946995896, 23.017768459560894], [-15.982610642958059, 23.723358466074096], [-15.426003790742183, 24.359133612561035], [-15.089331834360729, 24.520260728446964], [-14.824645148161689, 25.103532619725307], [-14.800925665739666, 25.636264960222285], [-14.439939947964827, 26.254418443297645], [-13.773804897506462, 26.618892320252279], [-13.13994177901429, 27.640147813420491], [-13.121613369914709, 27.654147671719805], [-12.61883663578311, 28.038185533148656], [-11.688919236690761, 28.148643907172577], [-10.9009569971044, 28.832142238880913], [-10.39959225100864, 29.09858592377778], [-9.564811163765624, 29.933573716749855], [-9.814718390329174, 31.177735500609053], [-9.434793260119362, 32.038096421836478], [-9.300692918321827, 32.564679266890629], [-8.657476365585039, 33.24024526624239], [-7.654178432638217, 33.697064927702506], [-6.912544114601358, 34.11047638603744], [-6.24434200685141, 35.145865383437517], [-5.929994269219832, 35.759988104793983], [-5.193863491222031, 35.755182196590845]]] } }, + { "type": "Feature", "properties": { "admin": "Moldova", "name": "Moldova", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[26.619336785597788, 48.220726223333457], [26.857823520624798, 48.368210761094488], [27.52253746919515, 48.467119452501102], [28.259546746541837, 48.155562242213406], [28.670891147585163, 48.118148505234089], [29.122698195113024, 47.849095160506458], [29.050867954227321, 47.510226955752493], [29.415135125452732, 47.346645209332571], [29.559674106573105, 46.928582872091312], [29.908851759569295, 46.67436066343145], [29.838210076626289, 46.525325832701675], [30.024658644335364, 46.423936672545032], [29.759971958136383, 46.349987697935354], [29.170653924279879, 46.379262396828693], [29.072106967899288, 46.517677720722482], [28.862972446414055, 46.437889309263824], [28.933717482221621, 46.258830471372491], [28.659987420371575, 45.939986884131628], [28.48526940279276, 45.596907050145887], [28.233553501099035, 45.488283189468369], [28.054442986775392, 45.944586086605618], [28.160017937947707, 46.371562608417207], [28.128030226359037, 46.81047638608824], [27.551166212684841, 47.405117092470817], [27.233872918412736, 47.826770941756365], [26.924176059687561, 48.123264472030982], [26.619336785597788, 48.220726223333457]]] } }, + { "type": "Feature", "properties": { "admin": "Madagascar", "name": "Madagascar", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[49.543518914595737, -12.469832858940553], [49.80898074727908, -12.895284925999551], [50.05651085795715, -13.555761407121981], [50.217431268114055, -14.758788750876795], [50.476536899625515, -15.226512139550541], [50.377111443895942, -15.706069431219122], [50.200274692593169, -16.000263360256763], [49.860605503138665, -15.414252618066913], [49.672606642460849, -15.710203545802477], [49.863344354050142, -16.451036879138773], [49.774564243372694, -16.875042006093597], [49.49861209493411, -17.10603565843827], [49.435618523970298, -17.953064060134363], [49.04179243347393, -19.118781019774442], [48.548540887247995, -20.496888116134119], [47.930749139198653, -22.391501153251077], [47.547723423051295, -23.781958916928513], [47.095761346226588, -24.941629733990446], [46.282477654817079, -25.178462823184102], [45.409507684110444, -25.601434421493082], [44.833573846217547, -25.346101169538933], [44.039720493349755, -24.9883452287823], [43.763768344911156, -24.460677178649988], [43.697777540874441, -23.574116306250595], [43.345654331237611, -22.77690398528387], [43.254187046080986, -22.057413018484116], [43.433297560404633, -21.336475111580185], [43.893682895692919, -21.163307386970121], [43.89637007017209, -20.830459486578167], [44.374325392439644, -20.072366224856385], [44.464397413924374, -19.435454196859045], [44.23242190936616, -18.961994724200899], [44.042976108584149, -18.331387220943167], [43.963084344260899, -17.409944756746778], [44.312468702986273, -16.850495700754951], [44.446517368351387, -16.216219170804504], [44.944936557806521, -16.179373874580396], [45.502731967964976, -15.974373467678538], [45.872993605336255, -15.793454278224681], [46.312243279817203, -15.780018405828795], [46.882182651564271, -15.210182386946309], [47.70512983581235, -14.594302666891762], [48.005214878131241, -14.091232598530372], [47.869047479042152, -13.663868503476582], [48.29382775248137, -13.784067884987483], [48.845060255738773, -13.08917489995866], [48.863508742066976, -12.487867933810417], [49.194651320193302, -12.040556735891967], [49.543518914595737, -12.469832858940553]]] } }, + { "type": "Feature", "properties": { "admin": "Mexico", "name": "Mexico", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-97.140008307670684, 25.869997463478395], [-97.528072475966539, 24.992144069920297], [-97.702945522842214, 24.272343044526728], [-97.776041836319024, 22.932579860927653], [-97.872366706111094, 22.444211737553356], [-97.699043952204164, 21.898689480064256], [-97.388959520236739, 21.411018988525818], [-97.189333462293277, 20.635433254473124], [-96.525575527720306, 19.890930894444061], [-96.292127244841737, 19.32037140550954], [-95.90088497595994, 18.828024196848727], [-94.8390634834427, 18.562717393462204], [-94.425729539756205, 18.144370835843343], [-93.548651292682365, 18.423836981677933], [-92.786113857783477, 18.524838568592255], [-92.037348192090391, 18.704569200103432], [-91.407903408559235, 18.876083278880227], [-90.771869879910852, 19.284120388256778], [-90.533589850613026, 19.867418117751292], [-90.451475999701231, 20.707521877520428], [-90.278618333684889, 20.999855454995547], [-89.601321173851474, 21.261725775634485], [-88.543866339862845, 21.493675441976613], [-87.658416510757704, 21.458845526611977], [-87.051890224948053, 21.543543199138295], [-86.811982388032931, 21.331514797444747], [-86.845907965832595, 20.849864610268348], [-87.383291185235848, 20.255404771398727], [-87.621054450210721, 19.646553046135917], [-87.436750454441764, 19.472403469312265], [-87.586560431655911, 19.040130113190738], [-87.837191128271485, 18.259815985583426], [-88.090664028663156, 18.516647854074048], [-88.300031094093626, 18.499982204659997], [-88.490122850279278, 18.486830552641717], [-88.84834387892657, 17.883198147040329], [-89.029857347351737, 18.001511338772556], [-89.150909389995462, 17.955467637600403], [-89.143080410503316, 17.808318996649401], [-90.067933519230891, 17.819326076727517], [-91.001519945015943, 17.817594916245692], [-91.002269253284155, 17.254657701074272], [-91.453921271515114, 17.252177232324183], [-91.08167009150057, 16.918476670799517], [-90.711821865587623, 16.687483018454767], [-90.600846727240921, 16.470777899638787], [-90.438866950221993, 16.410109768128105], [-90.464472622422633, 16.069562079324722], [-91.747960171255926, 16.066564846251762], [-92.229248623406278, 15.251446641495871], [-92.087215949252013, 15.06458466232851], [-92.203229539747255, 14.830102850804108], [-92.227750006869812, 14.538828640190953], [-93.359463874061746, 15.61542959234367], [-93.875168830118511, 15.94016429286591], [-94.691656460330108, 16.20097524664288], [-95.250227016973014, 16.128318182840641], [-96.053382127653293, 15.752087917539592], [-96.557434048228274, 15.653515122942787], [-97.263592495496624, 15.917064927631312], [-98.013029954809596, 16.107311713113912], [-98.947675747456486, 16.566043402568763], [-99.697397427147024, 16.706164048728166], [-100.829498867581293, 17.171071071842047], [-101.666088629954444, 17.649026394109622], [-101.918528001700196, 17.916090196193974], [-102.478132086988907, 17.975750637275095], [-103.500989549558057, 18.292294623278845], [-103.917527432046811, 18.748571682200005], [-104.992009650475467, 19.316133938061679], [-105.493038499761411, 19.946767279535429], [-105.731396043707633, 20.434101874264108], [-105.397772996831321, 20.531718654863422], [-105.500660773524402, 20.816895046466122], [-105.27075232625792, 21.076284898355137], [-105.265817226974022, 21.422103583252348], [-105.603160976975374, 21.871145941652568], [-105.693413865973113, 22.269080308516148], [-106.028716396898943, 22.77375234627862], [-106.909980434988341, 23.767774359628895], [-107.91544877809136, 24.548915310152946], [-108.401904873470954, 25.172313951105931], [-109.260198737406625, 25.580609442644054], [-109.444089321717314, 25.824883938087673], [-109.291643846456267, 26.44293406829842], [-109.801457689231796, 26.676175645447923], [-110.391731737085692, 27.162114976504533], [-110.641018846461606, 27.859876003525521], [-111.178918830187826, 27.941240546169062], [-111.759606899851619, 28.467952582303944], [-112.228234626090369, 28.954408677683482], [-112.27182369672866, 29.266844387320074], [-112.80959448937395, 30.021113593052341], [-113.163810594518651, 30.786880804969424], [-113.148669399857141, 31.170965887978912], [-113.871881069781836, 31.56760834403519], [-114.205736660603506, 31.524045111613123], [-114.776451178835003, 31.79953217216114], [-114.936699795372121, 31.393484605427595], [-114.771231859173483, 30.91361725516526], [-114.673899298951739, 30.162681179315985], [-114.330974494262918, 29.750432440707407], [-113.588875088335413, 29.061611436473008], [-113.424053107540516, 28.826173610951223], [-113.271969367305502, 28.754782619739892], [-113.140039435664363, 28.411289374295954], [-112.962298346796473, 28.425190334582503], [-112.761587083774856, 27.78021678314752], [-112.457910529411635, 27.525813706974752], [-112.24495195193677, 27.171726792910754], [-111.616489020619184, 26.662817287700474], [-111.284674648872993, 25.732589830014426], [-110.987819383572386, 25.294606228124557], [-110.71000688357131, 24.826004340101854], [-110.655048997828871, 24.298594672131113], [-110.17285620811343, 24.265547593680417], [-109.771847093528521, 23.811182562754194], [-109.409104377055698, 23.364672349536242], [-109.433392300232896, 23.185587673428696], [-109.85421932660168, 22.818271592698061], [-110.031391974714424, 22.823077500901199], [-110.295070970483636, 23.430973212166684], [-110.949501309028022, 24.000964260345988], [-111.670568407012681, 24.484423122652508], [-112.182035895621468, 24.73841278736716], [-112.148988817170817, 25.470125230404044], [-112.300710822379671, 26.012004299416613], [-112.777296719191526, 26.321959540303162], [-113.464670783321907, 26.768185533143416], [-113.596729906043805, 26.639459540304465], [-113.848936733844241, 26.900063788352437], [-114.465746629680027, 27.142090358991361], [-115.055142178184965, 27.722726752222904], [-114.982252570437382, 27.798200181585109], [-114.570365566854917, 27.741485297144884], [-114.199328782999231, 28.115002549750553], [-114.162018398884612, 28.566111965442296], [-114.931842210736605, 29.279479275015483], [-115.518653937626965, 29.556361599235395], [-115.887365282029563, 30.180793768834171], [-116.2583503894529, 30.836464341753572], [-116.721526252084956, 31.635743720012037], [-117.127759999999839, 32.53534], [-115.99135, 32.612390000000111], [-114.72139, 32.72083], [-114.815, 32.52528], [-113.30498, 32.03914], [-111.02361, 31.33472], [-109.035, 31.341940000000129], [-108.24194, 31.34222], [-108.24, 31.754853718166366], [-106.507589999999851, 31.75452], [-106.1429, 31.39995], [-105.63159, 31.08383], [-105.03737, 30.64402], [-104.70575, 30.12173], [-104.456969999999885, 29.57196], [-103.94, 29.27], [-103.11, 28.97], [-102.48, 29.76], [-101.6624, 29.7793], [-100.9576, 29.380710000000125], [-100.45584, 28.696120000000118], [-100.11, 28.11000000000012], [-99.52, 27.54], [-99.3, 26.84], [-99.019999999999897, 26.37], [-98.24, 26.06], [-97.529999999999887, 25.84], [-97.140008307670684, 25.869997463478395]]] } }, + { "type": "Feature", "properties": { "admin": "Macedonia", "name": "Macedonia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[20.59023, 41.85541], [20.717310000000108, 41.84711], [20.76216, 42.05186], [21.352700000000134, 42.2068], [21.576635989402117, 42.245224397061847], [21.917080000000105, 42.30364], [22.380525750424674, 42.320259507815074], [22.881373732197339, 41.999297186850349], [22.952377150166505, 41.337993882811176], [22.76177, 41.3048], [22.597308383889008, 41.130487168943198], [22.055377638444266, 41.149865831052686], [21.674160597426969, 40.93127452245794], [21.020040317476397, 40.842726955725873], [20.60518, 41.08622], [20.46315, 41.51509], [20.59023, 41.85541]]] } }, + { "type": "Feature", "properties": { "admin": "Mali", "name": "Mali", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-12.170750291380299, 14.616834214735503], [-11.834207526079465, 14.799096991428936], [-11.666078253617853, 15.388208319556295], [-11.349095017939502, 15.411256008358475], [-10.650791388379414, 15.132745876521422], [-10.086846482778212, 15.330485744686269], [-9.700255092802703, 15.264107367407359], [-9.550238409859388, 15.486496893775435], [-5.537744309908446, 15.501689764869253], [-5.315277268891931, 16.201853745991837], [-5.488522508150438, 16.325102037007962], [-5.971128709324247, 20.640833441647626], [-6.453786586930334, 24.956590684503418], [-4.92333736817423, 24.974574082940993], [-1.550054897457613, 22.792665920497377], [1.823227573259032, 20.61080943448604], [2.060990838233919, 20.142233384679482], [2.683588494486428, 19.856230170160114], [3.146661004253899, 19.693578599521441], [3.158133172222704, 19.057364203360034], [4.267419467800038, 19.155265204336995], [4.270209995143801, 16.852227484601212], [3.723421665063482, 16.184283759012612], [3.638258904646476, 15.568119818580453], [2.749992709981483, 15.409524847876693], [1.385528191746857, 15.323561102759168], [1.01578331869851, 14.968182277887944], [0.374892205414682, 14.928908189346128], [-0.26625729003058, 14.924308986872147], [-0.515854458000348, 15.116157741755725], [-1.066363491205663, 14.973815009007764], [-2.001035122068771, 14.559008287000887], [-2.191824510090384, 14.246417548067352], [-2.967694464520576, 13.798150336151506], [-3.103706834312759, 13.54126679122859], [-3.52280270019986, 13.337661647998612], [-4.006390753587225, 13.472485459848112], [-4.280405035814879, 13.228443508349738], [-4.427166103523802, 12.542645575404292], [-5.220941941743119, 11.713858954307224], [-5.197842576508648, 11.375145778850136], [-5.470564947929004, 10.951269842976044], [-5.404341599946973, 10.370736802609144], [-5.816926235365286, 10.222554633012191], [-6.050452032892266, 10.096360785355442], [-6.205222947606429, 10.524060777219132], [-6.493965013037267, 10.411302801958268], [-6.666460944027547, 10.430810655148447], [-6.850506557635057, 10.138993841996237], [-7.622759161804808, 10.147236232946792], [-7.89958980959237, 10.297382106970824], [-8.029943610048617, 10.206534939001711], [-8.335377163109738, 10.494811916541932], [-8.282357143578279, 10.792597357623842], [-8.407310756860026, 10.90925690352276], [-8.620321010767126, 10.810890814655181], [-8.581305304386772, 11.136245632364801], [-8.376304897484911, 11.393645941610627], [-8.786099005559462, 11.812560939984705], [-8.905264858424529, 12.088358059126433], [-9.127473517279581, 12.308060411015331], [-9.327616339546008, 12.334286200403451], [-9.567911749703212, 12.194243068892472], [-9.890992804392011, 12.060478623904968], [-10.165213792348835, 11.844083563682743], [-10.593223842806278, 11.923975328005977], [-10.870829637078211, 12.177887478072106], [-11.036555955438256, 12.211244615116513], [-11.297573614944508, 12.077971096235768], [-11.456168585648269, 12.076834214725336], [-11.513942836950587, 12.442987575729415], [-11.467899135778522, 12.754518947800973], [-11.553397793005427, 13.141213690641063], [-11.927716030311613, 13.422075100147392], [-12.124887457721256, 13.994727484589784], [-12.170750291380299, 14.616834214735503]]] } }, + { "type": "Feature", "properties": { "admin": "Myanmar", "name": "Myanmar", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[99.543309360759281, 20.186597601802056], [98.959675734454848, 19.752980658440944], [98.253723992915582, 19.708203029860041], [97.797782830804394, 18.627080389881751], [97.375896437573516, 18.445437730375811], [97.859122755934848, 17.567946071843657], [98.493761020911322, 16.837835598207928], [98.90334842325673, 16.177824204976115], [98.537375929765687, 15.308497422746081], [98.192074009191373, 15.123702500870349], [98.430819126379859, 14.622027696180831], [99.097755161538728, 13.827502549693275], [99.212011753336071, 13.269293728076462], [99.196353794351637, 12.804748439988666], [99.587286004639694, 11.892762762901695], [99.038120558673953, 10.960545762572435], [98.553550653073017, 9.932959906448543], [98.457174106848697, 10.675266018105146], [98.764545526120756, 11.441291612183745], [98.428338657629823, 12.032986761925681], [98.509574009192661, 13.122377631070675], [98.103603957107666, 13.64045970301285], [97.777732375075161, 14.837285874892638], [97.597071567782749, 16.100567938699765], [97.164539829499773, 16.928734442609336], [96.505768670642965, 16.427240505432845], [95.369352248112378, 15.714389960182599], [94.808404575584092, 15.803454291237637], [94.188804152404515, 16.037936102762014], [94.533485955791321, 17.277240301985724], [94.324816522196741, 18.213513902249893], [93.540988397193615, 19.366492621330021], [93.663254835996199, 19.726961574781992], [93.078277622452163, 19.855144965081973], [92.368553501355606, 20.670883287025344], [92.30323449093865, 21.475485337809815], [92.652257114637976, 21.324047552978481], [92.672720981825549, 22.041238918541247], [93.166127557348361, 22.278459580977099], [93.060294224014598, 22.703110663335565], [93.286326938859247, 23.043658352138998], [93.325187615942767, 24.078556423432197], [94.106741977925054, 23.850740871673477], [94.552657912171611, 24.675238348890328], [94.603249139385355, 25.162495428970399], [95.155153436262566, 26.001307277932078], [95.124767694074933, 26.573572089132295], [96.419365675850941, 27.264589341739221], [97.133999058015277, 27.08377350514996], [97.051988559968066, 27.699058946233144], [97.402561476636123, 27.88253611908544], [97.327113885490007, 28.261582749946331], [97.91198774616943, 28.335945136014338], [98.24623091023328, 27.747221381129172], [98.682690057370451, 27.508812160750612], [98.712093947344499, 26.74353587494026], [98.671838006589127, 25.918702500913518], [97.724609002679117, 25.083637193292994], [97.604719679761956, 23.897404690033039], [98.660262485755737, 24.063286037689959], [98.898749220782747, 23.142722072842524], [99.531992222087382, 22.949038804612574], [99.240898878987224, 22.118314317304577], [99.983489211021464, 21.742936713136398], [100.416537713627349, 21.558839423096607], [101.150032993578222, 21.849984442629015], [101.180005324307515, 21.436572984294024], [100.329101190189519, 20.786121731036229], [100.115987583417819, 20.41784963630818], [99.543309360759281, 20.186597601802056]]] } }, + { "type": "Feature", "properties": { "admin": "Montenegro", "name": "Montenegro", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[19.801613396898681, 42.500093492190835], [19.738051385179627, 42.688247382165564], [19.30449, 42.19574], [19.371770000000136, 41.87755], [19.16246, 41.95502], [18.88214, 42.28151], [18.45, 42.48], [18.56, 42.65], [18.70648, 43.20011], [19.03165, 43.43253], [19.21852, 43.52384], [19.48389, 43.35229], [19.63, 43.213779970270522], [19.95857, 43.10604], [20.3398, 42.89852], [20.25758, 42.81275], [20.0707, 42.58863], [19.801613396898681, 42.500093492190835]]] } }, + { "type": "Feature", "properties": { "admin": "Mongolia", "name": "Mongolia", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[87.751264276076697, 49.297197984405479], [88.805566847695488, 49.470520738312409], [90.713667433640666, 50.331811835321076], [92.234711541719662, 50.802170722041716], [93.104219191462661, 50.495290228876414], [94.147566359435615, 50.480536607457083], [94.815949334698701, 50.013433335970838], [95.814027947983973, 49.977466539095708], [97.259727817781396, 49.726060695995727], [98.231761509191543, 50.422400621128737], [97.825739780674283, 51.010995184933165], [98.861490513100307, 52.047366034546684], [99.981732212323507, 51.634006252643978], [100.889480421962588, 51.516855780638316], [102.065222609467298, 51.25992055928311], [102.255908644624299, 50.510560614618669], [103.676545444760194, 50.089966132195109], [104.621552362081687, 50.275329494826067], [105.886591424586726, 50.406019192092209], [106.888804152455336, 50.274295966180219], [107.868175897250936, 49.793705145865808], [108.475167270951275, 49.282547715850725], [109.402449171996636, 49.292960516957535], [110.662010532678764, 49.130128078805861], [111.581230910286607, 49.377968248077678], [112.897739699354361, 49.543565375356984], [114.362456496235239, 50.248302720737399], [114.962109816550154, 50.140247300815112], [115.485695428531386, 49.805177313834591], [116.678800897286152, 49.888531399121376], [116.191802199367544, 49.134598090199091], [115.485282017073018, 48.135382595403428], [115.742837355615748, 47.726544501326273], [116.308952671373206, 47.853410142602826], [117.295507440257396, 47.69770905210742], [118.064142694166691, 48.066730455103674], [118.866574334794933, 47.747060044946153], [119.772823927897477, 47.048058783550125], [119.66326989143873, 46.692679958678909], [118.874325799638711, 46.805412095723646], [117.421701287914175, 46.672732855814253], [116.717868280098841, 46.388202419615205], [115.985096470200062, 45.727235012385989], [114.46033165899604, 45.339816799493811], [113.463906691544139, 44.808893134127111], [112.436062453258785, 45.011645616224278], [111.873306105600278, 45.102079372735055], [111.348376906379428, 44.457441718110083], [111.667737257943202, 44.073175767587706], [111.829587843881342, 43.743118394539515], [111.129682244920218, 43.406834011400136], [110.412103306115256, 42.871233628911014], [109.243595819131428, 42.519446316084093], [107.744772576937933, 42.481515814781865], [106.129315627061658, 42.134327704428898], [104.964993931093446, 41.597409572916334], [104.522281935648977, 41.908346666016541], [103.312278273534787, 41.907468166667591], [101.833040399179922, 42.51487295182627], [100.845865513108237, 42.663804429691439], [99.515817498780009, 42.524691473961717], [97.451757440177985, 42.748889675460013], [96.349395786527793, 42.725635280928678], [95.762454868556674, 43.319449164394598], [95.306875441471504, 44.241330878265458], [94.688928664125299, 44.352331854828414], [93.480733677141274, 44.975472113619951], [92.133890822318193, 45.115075995456444], [90.945539585334288, 45.286073309910265], [90.585768263718265, 45.719716091487513], [90.970809360724985, 46.888146063822923], [90.280825636763893, 47.693549099307923], [88.854297723346733, 48.06908173277295], [88.013832228551721, 48.599462795600601], [87.751264276076697, 49.297197984405479]]] } }, + { "type": "Feature", "properties": { "admin": "Mozambique", "name": "Mozambique", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[34.559989047999345, -11.520020033415923], [35.312397902169032, -11.439146416879145], [36.514081658684248, -11.720938002166733], [36.775150994622791, -11.594537448780804], [37.471284214026596, -11.568750909067157], [37.827644891111383, -11.268769219612834], [38.427556593587745, -11.285202325081654], [39.521029900883768, -10.896853936408224], [40.316588576017182, -10.317096042525696], [40.478387485523022, -10.765440769089992], [40.437253045418672, -11.761710707245014], [40.560811395028558, -12.639176527561023], [40.599620395679743, -14.201975192931858], [40.775475294768988, -14.691764418194239], [40.477250604012596, -15.406294447493968], [40.089263950365208, -16.100774021064456], [39.452558628097044, -16.720891208566936], [38.53835086442151, -17.101023044505954], [37.411132846838875, -17.586368096591233], [36.281279331209348, -18.659687595293445], [35.896496616364054, -18.842260430580634], [35.198399692533137, -19.552811374593887], [34.786383497870041, -19.784011732667732], [34.701892531072836, -20.497043145431007], [35.176127150215358, -21.254361260668407], [35.373427768705731, -21.840837090748874], [35.385848253705397, -22.14], [35.562545536369079, -22.09], [35.533934767404297, -23.070787855727751], [35.371774122872374, -23.535358982031692], [35.607470330555621, -23.706563002214676], [35.458745558419615, -24.122609958596545], [35.040734897610655, -24.478350518493798], [34.215824008935463, -24.816314385682652], [33.013210076639005, -25.357573337507731], [32.574632195777859, -25.727318210556088], [32.660363396950082, -26.148584486599443], [32.915955031065685, -26.215867201443459], [32.830120477028878, -26.74219166433619], [32.071665480281062, -26.733820082304902], [31.985779249811962, -26.29177988048022], [31.837777947728057, -25.843331801051342], [31.752408481581874, -25.484283949487406], [31.930588820124242, -24.369416599222532], [31.670397983534645, -23.658969008073861], [31.191409132621278, -22.251509698172395], [32.244988234188007, -21.116488539313689], [32.508693068173436, -20.395292250248303], [32.659743279762573, -20.30429005298231], [32.772707960752619, -19.715592136313294], [32.611994256324884, -19.419382826416268], [32.654885695127142, -18.672089939043492], [32.849860874164385, -17.979057305577175], [32.847638787575839, -16.713398125884613], [32.328238966610222, -16.392074069893749], [31.852040643040592, -16.319417006091374], [31.636498243951188, -16.071990248277881], [31.173063999157673, -15.860943698797868], [30.338954705534537, -15.880839125230242], [30.274255812305103, -15.507786960515208], [30.179481235481827, -14.796099134991525], [33.214024692525207, -13.97186003993615], [33.789700148256678, -14.451830743063068], [34.064825473778619, -14.359950046448118], [34.459633416488536, -14.613009535381421], [34.517666049952304, -15.013708591372609], [34.307291294092089, -15.478641452702592], [34.381291945134045, -16.183559665596039], [35.033810255683527, -16.801299737213089], [35.339062941231639, -16.107440280830108], [35.771904738108347, -15.896858819240721], [35.686845330555926, -14.611045830954328], [35.267956170398001, -13.887834161029563], [34.907151320136158, -13.565424899960565], [34.559989047999345, -13.579997653866872], [34.280006137841973, -12.280025323132504], [34.559989047999345, -11.520020033415923]]] } }, + { "type": "Feature", "properties": { "admin": "Mauritania", "name": "Mauritania", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-12.170750291380299, 14.616834214735503], [-12.830658331747513, 15.303691514542942], [-13.43573767745306, 16.039383042866188], [-14.099521450242175, 16.304302273010489], [-14.577347581428977, 16.598263658102805], [-15.135737270558813, 16.587282416240779], [-15.623666144258689, 16.369337063049809], [-16.120690070041928, 16.45566254319338], [-16.463098110407881, 16.135036119038457], [-16.549707810929061, 16.673892116761959], [-16.270551723688353, 17.166962795474866], [-16.146347418674846, 18.108481553616652], [-16.256883307347163, 19.096715806550304], [-16.377651129613266, 19.593817246981981], [-16.277838100641514, 20.092520656814695], [-16.536323614965465, 20.567866319251486], [-17.063423224342568, 20.99975210213082], [-16.845193650773989, 21.333323472574875], [-12.929101935263528, 21.327070624267559], [-13.118754441774708, 22.771220201096249], [-12.874221564169574, 23.284832261645171], [-11.93722449385332, 23.374594224536164], [-11.969418911171159, 25.933352769468261], [-8.687293667017398, 25.881056219988899], [-8.684399786809051, 27.395744126895998], [-4.92333736817423, 24.974574082940993], [-6.453786586930334, 24.956590684503418], [-5.971128709324247, 20.640833441647626], [-5.488522508150438, 16.325102037007962], [-5.315277268891931, 16.201853745991837], [-5.537744309908446, 15.501689764869253], [-9.550238409859388, 15.486496893775435], [-9.700255092802703, 15.264107367407359], [-10.086846482778212, 15.330485744686269], [-10.650791388379414, 15.132745876521422], [-11.349095017939502, 15.411256008358475], [-11.666078253617853, 15.388208319556295], [-11.834207526079465, 14.799096991428936], [-12.170750291380299, 14.616834214735503]]] } }, + { "type": "Feature", "properties": { "admin": "Malawi", "name": "Malawi", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[34.559989047999345, -11.520020033415923], [34.280006137841973, -12.280025323132504], [34.559989047999345, -13.579997653866872], [34.907151320136158, -13.565424899960565], [35.267956170398001, -13.887834161029563], [35.686845330555926, -14.611045830954328], [35.771904738108347, -15.896858819240721], [35.339062941231639, -16.107440280830108], [35.033810255683527, -16.801299737213089], [34.381291945134045, -16.183559665596039], [34.307291294092089, -15.478641452702592], [34.517666049952304, -15.013708591372609], [34.459633416488536, -14.613009535381421], [34.064825473778619, -14.359950046448118], [33.789700148256678, -14.451830743063068], [33.214024692525207, -13.97186003993615], [32.688165317523122, -13.712857761289273], [32.991764357237876, -12.783870537978272], [33.306422153463068, -12.435778090060214], [33.114289178201908, -11.607198174692311], [33.315310499817279, -10.796549981329695], [33.485687697083584, -10.525558770391111], [33.231387973775291, -9.676721693564799], [32.759375441221316, -9.230599053589058], [33.739729038230443, -9.417150974162722], [33.940837724096532, -9.693673841980292], [34.280006137841973, -10.159999688358402], [34.559989047999345, -11.520020033415923]]] } }, + { "type": "Feature", "properties": { "admin": "Malaysia", "name": "Malaysia", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[101.075515578213299, 6.204867051615891], [101.154218784593809, 5.691384182147713], [101.814281854258013, 5.810808417174228], [102.141186964936423, 6.221636053894655], [102.371147088635212, 6.12820506431096], [102.961705356866673, 5.524495144061077], [103.381214634212142, 4.855001125503746], [103.438575474056165, 4.181605536308381], [103.332122023534851, 3.72669790284297], [103.42942874554052, 3.382868760589019], [103.502447544368877, 2.791018581550204], [103.854674106870334, 2.515454006353763], [104.247931756611479, 1.631141058759055], [104.228811476663523, 1.293048000489534], [103.519707472754433, 1.226333726400682], [102.573615350354771, 1.967115383304744], [101.39063846232915, 2.760813706875623], [101.273539666755838, 3.27029165284118], [100.69543541870668, 3.939139715994869], [100.557407668055092, 4.767280381688279], [100.19670617065772, 5.312492580583678], [100.306260207116509, 6.040561835143875], [100.085756870527078, 6.46448944745029], [100.259596388756918, 6.64282481528957], [101.075515578213299, 6.204867051615891]]], [[[118.618320754064825, 4.47820241944754], [117.882034946770162, 4.137551377779487], [117.01521447150634, 4.306094061699468], [115.86551720587677, 4.306559149590156], [115.51907840379198, 3.169238389494395], [115.134037306785231, 2.821481838386219], [114.621355422017473, 1.430688177898886], [113.805849644019531, 1.217548732911041], [112.859809198052176, 1.497790025229946], [112.380251906383648, 1.410120957846757], [111.797548455860408, 0.904441229654651], [111.159137811326559, 0.976478176269509], [110.514060907027101, 0.773131415200993], [109.830226678508836, 1.338135687664191], [109.663260125773718, 2.006466986494984], [110.396135288537039, 1.663774725751395], [111.168852980597478, 1.850636704918784], [111.370081007942076, 2.697303371588872], [111.796928338672842, 2.885896511238073], [112.995614862115247, 3.102394924324869], [113.712935418758718, 3.893509426281127], [114.204016554828399, 4.525873928236819], [114.659595981913526, 4.00763682699781], [114.869557326315373, 4.348313706881952], [115.347460972150671, 4.316636053887009], [115.405700311343594, 4.955227565933824], [115.450710483869798, 5.447729803891561], [116.220741001450961, 6.143191229675621], [116.725102980619752, 6.924771429873998], [117.129626092600461, 6.928052883324566], [117.643393182446303, 6.422166449403305], [117.689075148592337, 5.98749013918018], [118.347691278152197, 5.708695786965462], [119.181903924639926, 5.407835598162249], [119.110693800941718, 5.016128241389864], [118.439727004064082, 4.966518866389619], [118.618320754064825, 4.47820241944754]]]] } }, + { "type": "Feature", "properties": { "admin": "Namibia", "name": "Namibia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[16.344976840895239, -28.576705010697697], [15.601818068105812, -27.821247247022797], [15.210472446359457, -27.09095590587404], [14.989710727608548, -26.117371921495153], [14.74321414557633, -25.392920017195376], [14.40814415859583, -23.85301401132984], [14.385716586981145, -22.656652927340687], [14.257714064194172, -22.111208184499951], [13.868642205468657, -21.699036960539974], [13.352497999737437, -20.872834161057497], [12.82684533046449, -19.673165785401661], [12.608564080463617, -19.045348809487695], [11.794918654028063, -18.069129327061912], [11.734198846085118, -17.30188933682447], [12.215461460019352, -17.11166838955808], [12.814081251688405, -16.941342868724067], [13.462362094789963, -16.971211846588769], [14.058501417709007, -17.42338062914266], [14.209706658595021, -17.353100681225715], [18.26330936043416, -17.309950860262003], [18.956186964603599, -17.789094740472255], [21.377176141045563, -17.930636488519688], [23.215048455506057, -17.52311614346598], [24.033861525170771, -17.29584319424632], [24.6823490740015, -17.35341073981947], [25.076950310982255, -17.578823337476617], [25.084443393664564, -17.661815687737366], [24.520705193792534, -17.887124932529932], [24.217364536239209, -17.889347019118485], [23.579005568137713, -18.281261081620055], [23.196858351339298, -17.869038181227783], [21.655040317478971, -18.219146010005222], [20.910641310314531, -18.252218926672018], [20.881134067475866, -21.814327080983144], [19.895457797940672, -21.849156996347865], [19.895767856534427, -24.767790215760588], [19.89473432788861, -28.461104831660769], [19.002127312911082, -28.972443129188857], [18.464899122804745, -29.045461928017271], [17.836151971109526, -28.856377862261311], [17.387497185951499, -28.783514092729774], [17.218928663815401, -28.355943291946804], [16.824017368240899, -28.082161553664466], [16.344976840895239, -28.576705010697697]]] } }, + { "type": "Feature", "properties": { "admin": "New Caledonia", "name": "New Caledonia", "continent": "Oceania" }, "geometry": { "type": "Polygon", "coordinates": [[[165.779989862326346, -21.080004978115621], [166.599991489933814, -21.700018812753523], [167.120011428086883, -22.159990736583488], [166.74003462144475, -22.399976088146943], [166.189732293968632, -22.129708347260447], [165.474375441752159, -21.679606621998229], [164.829815301775653, -21.149819838141948], [164.16799523341362, -20.444746595951624], [164.029605747735957, -20.105645847252347], [164.459967075862664, -20.120011895429492], [165.020036249041993, -20.459991143477726], [165.460009393575064, -20.800022067958253], [165.779989862326346, -21.080004978115621]]] } }, + { "type": "Feature", "properties": { "admin": "Niger", "name": "Niger", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[2.154473504249949, 11.940150051313422], [2.177107781593917, 12.625017808477534], [1.024103224297619, 12.851825669806598], [0.993045688490156, 13.335749620003865], [0.429927605805517, 13.988733018443893], [0.295646396495215, 14.444234930880663], [0.374892205414767, 14.928908189346144], [1.015783318698481, 14.968182277887989], [1.385528191746971, 15.323561102759237], [2.74999270998154, 15.409524847876751], [3.63825890464659, 15.56811981858044], [3.723421665063596, 16.184283759012654], [4.270209995143886, 16.852227484601311], [4.267419467800095, 19.155265204337123], [5.677565952180712, 19.601206976799794], [8.572893100629868, 21.565660712159225], [11.999505649471697, 23.471668402596432], [13.581424594790459, 23.040506089769274], [14.143870883855239, 22.491288967371126], [14.8513, 22.862950000000119], [15.096887648181847, 21.308518785074902], [15.471076694407314, 21.048457139565979], [15.487148064850143, 20.730414537025634], [15.90324669766431, 20.387618923417499], [15.68574059414777, 19.957180080642384], [15.300441114979716, 17.927949937405], [15.247731154041842, 16.627305813050778], [13.972201775781681, 15.684365953021139], [13.540393507550785, 14.36713369390122], [13.956698846094124, 13.996691189016925], [13.954476759505607, 13.353448798063765], [14.595781284247604, 13.330426947477859], [14.495787387762899, 12.859396267137353], [14.213530714584746, 12.80203542729333], [14.181336297266906, 12.483656927943169], [13.995352817448289, 12.4615652531383], [13.318701613018558, 13.55635630945795], [13.083987257548809, 13.596147162322492], [12.302071160540546, 13.037189032437535], [11.527803175511504, 13.328980007373556], [10.989593133191532, 13.387322699431191], [10.701031935273816, 13.246917832894038], [10.114814487354748, 13.277251898649464], [9.524928012743088, 12.85110219975456], [9.014933302454436, 12.826659247280414], [7.804671258178869, 13.343526923063731], [7.330746697630046, 13.098038031461213], [6.82044192874781, 13.115091254117598], [6.445426059605721, 13.492768459522718], [5.443058302440135, 13.865923977102225], [4.368343540066006, 13.747481594289408], [4.107945997747378, 13.531215725147941], [3.967282749048933, 12.956108710171574], [3.680633579125924, 12.552903347214167], [3.611180454125587, 11.660167141155965], [2.848643019226585, 12.235635891158207], [2.490163608418015, 12.233052069543588], [2.154473504249949, 11.940150051313422]]] } }, + { "type": "Feature", "properties": { "admin": "Nigeria", "name": "Nigeria", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[8.500287713259693, 4.771982937026847], [7.462108188515939, 4.41210826254624], [7.082596469764438, 4.464689032403228], [6.698072137080598, 4.240594183769516], [5.898172641634686, 4.262453314628984], [5.362804803090881, 4.887970689305957], [5.033574252959368, 5.611802476418233], [4.325607130560683, 6.270651149923466], [3.574180128604552, 6.258300482605717], [2.691701694356254, 6.258817246928628], [2.74906253420022, 7.870734361192886], [2.723792758809509, 8.506845404489708], [2.912308383810255, 9.13760793704432], [3.220351596702101, 9.4441525333997], [3.705438266625918, 10.063210354040207], [3.600070021182801, 10.332186184119406], [3.797112257511713, 10.734745591673104], [3.572216424177469, 11.327939357951516], [3.611180454125558, 11.660167141155966], [3.68063357912581, 12.552903347214222], [3.967282749048848, 12.956108710171572], [4.107945997747321, 13.531215725147829], [4.368343540066063, 13.747481594289324], [5.443058302440163, 13.865923977102295], [6.445426059605636, 13.492768459522676], [6.820441928747753, 13.115091254117514], [7.330746697630017, 13.098038031461199], [7.804671258178784, 13.343526923063745], [9.014933302454462, 12.826659247280427], [9.524928012742945, 12.851102199754477], [10.114814487354689, 13.277251898649409], [10.701031935273702, 13.246917832894081], [10.989593133191532, 13.387322699431108], [11.527803175511393, 13.328980007373584], [12.302071160540521, 13.037189032437521], [13.083987257548866, 13.596147162322563], [13.318701613018558, 13.556356309457824], [13.995352817448346, 12.461565253138343], [14.181336297266792, 12.483656927943112], [14.57717776862253, 12.085360826053501], [14.468192172918974, 11.90475169519341], [14.415378859116682, 11.572368882692071], [13.572949659894558, 10.798565985553564], [13.308676385153914, 10.160362046748926], [13.1675997249971, 9.64062632897341], [12.955467970438971, 9.417771714714702], [12.753671502339214, 8.717762762888993], [12.218872104550597, 8.305824082874322], [12.063946160539556, 7.799808457872301], [11.839308709366801, 7.397042344589434], [11.745774366918509, 6.981382961449753], [11.058787876030349, 6.644426784690593], [10.497375115611417, 7.055357774275562], [10.118276808318255, 7.038769639509879], [9.522705926154398, 6.453482367372116], [9.233162876023043, 6.444490668153334], [8.757532993208626, 5.47966583904791], [8.500287713259693, 4.771982937026847]]] } }, + { "type": "Feature", "properties": { "admin": "Nicaragua", "name": "Nicaragua", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-85.712540452807289, 11.088444932494822], [-86.058488328785245, 11.40343862552994], [-86.525849982432931, 11.806876532432593], [-86.7459915839963, 12.143961900272483], [-87.167516242201131, 12.458257961471656], [-87.668493415054698, 12.909909979702629], [-87.557466600275603, 13.064551703336061], [-87.392386237319201, 12.914018256069836], [-87.316654425795463, 12.984685777228972], [-87.005769009127562, 13.025794379117157], [-86.880557013684339, 13.254204209847241], [-86.733821784191576, 13.263092556201441], [-86.755086636079696, 13.754845485890909], [-86.520708177419877, 13.778487453664436], [-86.312142096689911, 13.771356106008167], [-86.096263800790581, 14.038187364147245], [-85.801294725268576, 13.836054999237586], [-85.698665330736901, 13.960078436738083], [-85.514413011400222, 14.079011745657834], [-85.165364549484792, 14.354369615125076], [-85.148750576502948, 14.560196844943615], [-85.052787441736925, 14.551541042534719], [-84.924500698572388, 14.790492865452348], [-84.820036790694346, 14.819586696832669], [-84.649582078779602, 14.66680532476175], [-84.449335903648588, 14.621614284722494], [-84.228341640952394, 14.748764146376654], [-83.975721401693576, 14.749435939996458], [-83.628584967772895, 14.880073960830298], [-83.489988776366104, 15.016267198135534], [-83.147219000974104, 14.995829169164109], [-83.233234422523907, 14.8998660343981], [-83.28416154654758, 14.676623846897197], [-83.182126430987267, 14.310703029838447], [-83.412499966144424, 13.970077826386554], [-83.519831916014667, 13.56769928634588], [-83.55220720084553, 13.127054348193084], [-83.498515387694255, 12.869292303921226], [-83.473323126951968, 12.419087225794424], [-83.626104499022887, 12.320850328007563], [-83.719613003255034, 11.893124497927724], [-83.650857510090702, 11.629032090700116], [-83.855470343750369, 11.373311265503785], [-83.808935716471538, 11.103043524617274], [-83.655611741861563, 10.938764146361418], [-83.895054490885926, 10.726839097532444], [-84.190178595704822, 10.793450018756671], [-84.355930752281026, 10.999225572142901], [-84.673069017256239, 11.082657172078139], [-84.903003302738924, 10.952303371621895], [-85.561851976244171, 11.217119248901593], [-85.712540452807289, 11.088444932494822]]] } }, + { "type": "Feature", "properties": { "admin": "Netherlands", "name": "Netherlands", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[6.074182570020922, 53.51040334737813], [6.905139601274128, 53.482162177130633], [7.092053256873895, 53.14404328064488], [6.842869500362381, 52.228440253297542], [6.589396599970825, 51.85202912048338], [5.988658074577812, 51.85161570902504], [6.156658155958779, 50.803721015010574], [5.60697594567, 51.037298488969768], [4.973991326526913, 51.475023708698124], [4.047071160507527, 51.267258612668556], [3.314971144228536, 51.345755113319903], [3.830288527043137, 51.620544542031936], [4.705997348661184, 53.091798407597757], [6.074182570020922, 53.51040334737813]]] } }, + { "type": "Feature", "properties": { "admin": "Norway", "name": "Norway", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[28.165547316202911, 71.185474351680497], [31.293418409965472, 70.453787746859902], [30.005435011522785, 70.186258856884876], [31.101078728975118, 69.558080145944857], [29.399580519332879, 69.156916002063056], [28.591929559043187, 69.064776923286686], [29.015572950971968, 69.76649119737796], [27.732292107867885, 70.164193020296281], [26.179622023226298, 69.825298977326142], [25.689212680776389, 69.092113755968995], [24.735679152126714, 68.649556789821432], [23.662049594830759, 68.891247463650515], [22.356237827247405, 68.841741441514941], [21.244936150810723, 69.370443020293109], [20.645592889089581, 69.106247260200846], [20.02526899585791, 69.065138658312705], [19.878559604581248, 68.407194322372604], [17.993868442464386, 68.567391262477329], [17.729181756265344, 68.01055186631622], [16.768878614985535, 68.013936672631374], [16.108712192456832, 67.302455552836889], [15.108411492583055, 66.193866889095418], [13.555689731509087, 64.787027696381458], [13.919905226302202, 64.445420640716108], [13.571916131248766, 64.049114081469654], [12.57993533697393, 64.066218980558332], [11.930569288794228, 63.128317572676977], [11.992064243221531, 61.800362453856557], [12.63114668137524, 61.293571682370079], [12.300365838274896, 60.117932847730046], [11.468271925511173, 59.432393296945989], [11.027368605196925, 58.856149400459394], [10.356556837616095, 59.469807033925363], [8.382000359743641, 58.313288479233265], [7.048748406613297, 58.078884182357271], [5.665835402050418, 58.588155422593658], [5.308234490590733, 59.663231919993805], [4.992078077829005, 61.97099803328426], [5.912900424837885, 62.614472968182682], [8.553411085655766, 63.454008287196459], [10.527709181366784, 64.486038316497471], [12.358346795306371, 65.879725857193151], [14.7611458675816, 67.810641587995121], [16.435927361728968, 68.563205471461671], [19.184028354578512, 69.817444159617807], [21.378416375420606, 70.255169379346043], [23.02374230316158, 70.202071845166259], [24.546543409938515, 71.030496731237221], [26.370049676221807, 70.986261705195361], [28.165547316202911, 71.185474351680497]]], [[[24.72412, 77.85385], [22.49032, 77.44493], [20.72601, 77.67704], [21.41611, 77.93504], [20.8119, 78.25463], [22.88426, 78.45494], [23.28134, 78.07954], [24.72412, 77.85385]]], [[[18.25183, 79.70175], [21.54383, 78.95611], [19.02737, 78.5626], [18.47172, 77.82669], [17.59441, 77.63796], [17.1182, 76.80941], [15.91315, 76.77045], [13.76259, 77.38035], [14.66956, 77.73565], [13.1706, 78.02493], [11.22231, 78.8693], [10.44453, 79.65239], [13.17077, 80.01046], [13.71852, 79.66039], [15.14282, 79.67431], [15.52255, 80.01608], [16.99085, 80.05086], [18.25183, 79.70175]]], [[[25.447625359811887, 80.407340399894494], [27.407505730913492, 80.056405748200447], [25.924650506298171, 79.517833970854539], [23.024465773213613, 79.40001170522909], [20.075188429451877, 79.566823228667232], [19.897266473070907, 79.842361965647498], [18.46226362475792, 79.859880276194403], [17.368015170977454, 80.318896186027004], [20.455992059010693, 80.598155626132225], [21.907944777115397, 80.357679348462071], [22.919252557067431, 80.657144273593488], [25.447625359811887, 80.407340399894494]]]] } }, + { "type": "Feature", "properties": { "admin": "Nepal", "name": "Nepal", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[88.120440708369841, 27.876541652939586], [88.043132765661198, 27.445818589786818], [88.174804315140904, 26.810405178325944], [88.060237664749806, 26.414615383402484], [87.22747195836628, 26.39789805755607], [86.024392938179147, 26.630984605408567], [85.25177859898335, 26.726198431906337], [84.675017938173767, 27.234901231387528], [83.304248895199535, 27.364505723575554], [81.999987420584958, 27.925479234319987], [81.057202589851997, 28.416095282499036], [80.088424513676259, 28.794470119740136], [80.476721225917373, 29.729865220655334], [81.11125613802929, 30.183480943313398], [81.525804477874729, 30.422716986608627], [82.327512648450863, 30.115268052688126], [83.337115106137176, 29.463731594352193], [83.898992954446712, 29.320226141877654], [84.234579705750136, 28.839893703724691], [85.011638218123025, 28.642773952747337], [85.823319940131498, 28.203575954698699], [86.954517043000592, 27.97426178640351], [88.120440708369841, 27.876541652939586]]] } }, + { "type": "Feature", "properties": { "admin": "New Zealand", "name": "New Zealand", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[173.020374790740703, -40.919052422856417], [173.247234328502003, -41.331998793300777], [173.958405389702875, -40.926700534835604], [174.2475867048081, -41.349155368821663], [174.248516880589449, -41.770008233406749], [173.876446568087886, -42.233184096038819], [173.222739699595621, -42.970038344088557], [172.711246372770717, -43.372287693048492], [173.080112746470206, -43.853343601253577], [172.308583612352464, -43.865694268571332], [171.452925246463622, -44.24251881284372], [171.185137974327233, -44.897104180684885], [170.616697219116588, -45.908928724959701], [169.83142215400926, -46.355774834987585], [169.332331170934253, -46.641235446967848], [168.411353794628525, -46.619944756863582], [167.763744745146823, -46.290197442409195], [166.676886021184202, -46.219917494492236], [166.509144321964669, -45.852704766626204], [167.046424188503238, -45.110941257508664], [168.303763462596862, -44.12397307716612], [168.949408807651508, -43.93581918719142], [169.667814569373149, -43.555325616226334], [170.524919875366152, -43.031688327812823], [171.125089960004004, -42.512753594737781], [171.569713983443194, -41.767424411792128], [171.948708937871885, -41.514416599291145], [172.097227004278722, -40.956104424809674], [172.798579543343948, -40.493962090823466], [173.020374790740703, -40.919052422856417]]], [[[174.612008905330526, -36.156397393540537], [175.336615838927173, -37.209097995758263], [175.3575964704375, -36.52619394302112], [175.808886753642469, -36.798942152657681], [175.958490025127475, -37.555381768546063], [176.763195428776555, -37.881253350578696], [177.438813104560495, -37.961248467766488], [178.010354445708657, -37.579824721020124], [178.517093540762801, -37.695373223624792], [178.274731073313802, -38.582812595373092], [177.970460239979332, -39.166342868812968], [177.206992629299123, -39.145775648760839], [176.939980503647007, -39.449736423501562], [177.032946405340113, -39.879942722331471], [176.8858236026052, -40.06597787858216], [176.508017206119348, -40.60480803808958], [176.012440220440283, -41.289624118821493], [175.239567499082966, -41.688307793953236], [175.067898391009408, -41.425894870775075], [174.650972935278418, -41.281820977545443], [175.227630243223615, -40.459235528323397], [174.900156691789959, -39.908933200847216], [173.824046665743992, -39.508854262043506], [173.852261997775315, -39.146602471677461], [174.57480187408035, -38.797683200842748], [174.743473749081033, -38.027807712558378], [174.69701663645057, -37.381128838857954], [174.292028436579187, -36.71109221776144], [174.319003534235549, -36.534823907213884], [173.840996535535766, -36.121980889634109], [173.05417117745958, -35.237125339500331], [172.636005487353714, -34.529106540669382], [173.007042271209457, -34.450661716450334], [173.551298456107475, -35.006183363587958], [174.329390497126241, -35.265495700828616], [174.612008905330526, -36.156397393540537]]]] } }, + { "type": "Feature", "properties": { "admin": "Oman", "name": "Oman", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[58.861141391846573, 21.114034532144299], [58.487985874266961, 20.428985907467101], [58.03431847517659, 20.481437486243347], [57.826372511634098, 20.24300242764863], [57.66576216007094, 19.736004950433109], [57.788700392493368, 19.067570298737646], [57.694390903560667, 18.944709580963799], [57.2342639504338, 18.947991034414255], [56.609650913321971, 18.574267076079476], [56.512189162019482, 18.087113348863934], [56.283520949128011, 17.876066799383945], [55.661491733630683, 17.884128322821535], [55.269939406155189, 17.632309068263194], [55.274900343655091, 17.228354397037659], [54.791002231674113, 16.950696926333357], [54.239252964093751, 17.04498057704998], [53.57050825380459, 16.707662665264674], [53.108572625547502, 16.651051133688977], [52.782184279192066, 17.349742336491229], [52.000009800022227, 19.000003363516068], [54.999981723862405, 19.999994004796118], [55.666659376859869, 22.000001125572307], [55.208341098863187, 22.708329982997007], [55.234489373602869, 23.110992743415348], [55.52584109886449, 23.524869289640911], [55.528631626208288, 23.933604030853498], [55.981213820220503, 24.130542914317854], [55.80411868675624, 24.269604193615287], [55.88623253766805, 24.920830593357486], [56.396847365143984, 24.924732163995508], [56.845140415276049, 24.241673081961487], [57.403452589757428, 23.878594468678834], [58.136947869708322, 23.747930609628835], [58.729211460205427, 23.565667832935414], [59.180501743410346, 22.992395331305456], [59.450097690677033, 22.660270900965592], [59.80806033716285, 22.533611965418199], [59.806148309168087, 22.31052480721419], [59.442191196536399, 21.71454051359208], [59.282407667889871, 21.433885809814875], [58.861141391846573, 21.114034532144299]]], [[[56.391421339753393, 25.895990708921254], [56.261041701080913, 25.714606431576748], [56.070820753814544, 26.055464178973946], [56.362017449779344, 26.395934353128947], [56.485679152253809, 26.309117946878665], [56.391421339753393, 25.895990708921254]]]] } }, + { "type": "Feature", "properties": { "admin": "Pakistan", "name": "Pakistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[75.158027785140902, 37.13303091078911], [75.896897414050116, 36.666806138651829], [76.192848341785677, 35.898403428687821], [77.837450799474553, 35.494009507787759], [76.871721632804011, 34.653544012992732], [75.757060988268321, 34.504922593721311], [74.240202671204955, 34.748887030571247], [73.749948358051952, 34.317698879527846], [74.104293654277328, 33.441473293586846], [74.451559279278698, 32.764899603805489], [75.258641798813187, 32.271105455040491], [74.405928989564998, 31.692639471965272], [74.421380242820263, 30.97981476493117], [73.450638462217412, 29.976413479119863], [72.823751662084689, 28.961591701772047], [71.777665643200308, 27.913180243434521], [70.61649620960192, 27.989196275335861], [69.514392938113119, 26.940965684511365], [70.168926629522005, 26.491871649678835], [70.282873162725579, 25.722228705339823], [70.844699334602822, 25.215102037043511], [71.0432401874682, 24.356523952730193], [68.842599318318761, 24.359133612560932], [68.176645135373377, 23.691965033456704], [67.443666619745457, 23.944843654876983], [67.145441928989058, 24.663611151624639], [66.37282758979326, 25.425140896093847], [64.530407749291115, 25.237038682551425], [62.905700718034595, 25.218409328710202], [61.497362908784183, 25.078237006118492], [61.874187453056535, 26.239974880472097], [63.316631707619578, 26.756532497661659], [63.23389773952028, 27.217047024030702], [62.755425652929851, 27.378923448184985], [62.727830438085974, 28.259644883735383], [61.771868117118615, 28.699333807890792], [61.369308709564926, 29.303276272085917], [60.874248488208778, 29.829238999952604], [62.549856805272775, 29.318572496044304], [63.550260858011164, 29.468330796826162], [64.148002150331237, 29.340819200145965], [64.350418735618504, 29.560030625928089], [65.046862013616092, 29.472180691031902], [66.346472609324408, 29.88794342703617], [66.38145755398601, 30.738899237586448], [66.938891229118454, 31.304911200479346], [67.683393589147457, 31.303154201781414], [67.792689243444769, 31.582930406209623], [68.556932000609308, 31.713310044882011], [68.926676873657655, 31.620189113892064], [69.317764113242546, 31.901412258424436], [69.262522007122541, 32.501944078088293], [69.687147251264847, 33.105498969041228], [70.323594191371583, 33.358532619758385], [69.93054324735958, 34.020120144175102], [70.881803012988385, 33.988855902638512], [71.156773309213449, 34.348911444632144], [71.115018751921625, 34.733125718722228], [71.613076206350698, 35.153203436822857], [71.498767938121077, 35.650563259415996], [71.262348260385735, 36.074387518857797], [71.846291945283909, 36.509942328429851], [72.920024855444453, 36.720007025696312], [74.067551710917812, 36.836175645488446], [74.575892775372964, 37.02084137628345], [75.158027785140902, 37.13303091078911]]] } }, + { "type": "Feature", "properties": { "admin": "Panama", "name": "Panama", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-77.881571417945239, 7.223771267114783], [-78.214936082660103, 7.512254950384159], [-78.429160732726061, 8.052041123888925], [-78.182095709938608, 8.319182440621772], [-78.43546525746568, 8.387705389840788], [-78.622120530903928, 8.718124497915026], [-79.120307176413732, 8.996092027213022], [-79.557877366845176, 8.932374986197145], [-79.760578172510037, 8.584515082224398], [-80.164481167303322, 8.333315944853593], [-80.382659064439608, 8.29840851484043], [-80.480689256497286, 8.090307522001067], [-80.003689948227148, 7.54752411542337], [-80.276670701808982, 7.419754136581713], [-80.421158006497066, 7.271571966984763], [-80.886400926420791, 7.220541490096535], [-81.059542812814698, 7.817921047390596], [-81.189715745757937, 7.647905585150339], [-81.519514736644666, 7.706610012233908], [-81.721311204744453, 8.108962714058434], [-82.131441209628889, 8.175392767769635], [-82.390934414382542, 8.292362372262287], [-82.820081346350406, 8.290863755725821], [-82.850958014644803, 8.073822740099954], [-82.965783047197348, 8.225027980985983], [-82.9131764391242, 8.423517157419068], [-82.829770677405151, 8.626295477732368], [-82.868657192704759, 8.807266343618521], [-82.719183112300513, 8.925708726431493], [-82.927154914059145, 9.074330145702914], [-82.932890998043561, 9.476812038608172], [-82.546196255203469, 9.566134751824674], [-82.187122565423394, 9.207448635286779], [-82.207586432610952, 8.995575262890098], [-81.808566860669259, 8.95061676679617], [-81.714154018872023, 9.031955471223581], [-81.43928707551153, 8.786234035675715], [-80.947301601876745, 8.858503526235905], [-80.521901211250054, 9.11107208906243], [-79.914599778955974, 9.312765204297618], [-79.573302781884294, 9.611610012241526], [-79.021191779277913, 9.552931423374103], [-79.058450486960353, 9.454565334506523], [-78.500887620747164, 9.420458889193879], [-78.055927700497989, 9.247730414258296], [-77.729513515926399, 8.946844387238867], [-77.353360765273848, 8.670504665558068], [-77.474722866511314, 8.524286200388216], [-77.242566494440069, 7.935278225125442], [-77.431107957656977, 7.638061224798733], [-77.75341386586139, 7.709839789252141], [-77.881571417945239, 7.223771267114783]]] } }, + { "type": "Feature", "properties": { "admin": "Peru", "name": "Peru", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-69.590423753524036, -17.580011895419329], [-69.858443569605839, -18.092693780187009], [-70.3725723944777, -18.347975355708861], [-71.375250210236914, -17.77379851651385], [-71.462040778271117, -17.363487644116379], [-73.444529588500401, -16.359362888252992], [-75.23788265654143, -15.26568287522778], [-76.009205084929931, -14.649286390850317], [-76.423469204397733, -13.823186944232431], [-76.259241502574156, -13.535039157772939], [-77.10619238962181, -12.222716159720816], [-78.092152879534623, -10.377712497604062], [-79.036953091126918, -8.38656788496589], [-79.445920376284832, -7.930833428583859], [-79.760578172510037, -7.194340915560081], [-80.537481655586049, -6.541667575713715], [-81.249996304026411, -6.136834405139182], [-80.926346808582423, -5.690556735866563], [-81.410942552399433, -4.736764825055459], [-81.099669562489353, -4.036394138203696], [-80.302560594387188, -3.404856459164712], [-80.184014858709645, -3.821161797708043], [-80.46929460317692, -4.059286797708999], [-80.442241990872134, -4.425724379090673], [-80.028908047185581, -4.346090996928893], [-79.62497921417615, -4.454198093283494], [-79.205289069317715, -4.959128513207388], [-78.639897223612323, -4.547784112164072], [-78.450683966775628, -3.873096612161375], [-77.83790483265858, -3.003020521663103], [-76.635394253226707, -2.608677666843817], [-75.544995693652027, -1.56160979574588], [-75.233722703741932, -0.911416924649529], [-75.373223232713841, -0.15203175212045], [-75.106624518520064, -0.05720549886486], [-74.441600511355958, -0.530820000819887], [-74.122395189089048, -1.002832533373848], [-73.659503546834586, -1.260491224781134], [-73.070392218707212, -2.308954359550952], [-72.325786505813639, -2.434218031426453], [-71.774760708285385, -2.169789727388937], [-71.413645799429773, -2.342802422702128], [-70.813475714791949, -2.256864515800742], [-70.047708502874841, -2.725156345229699], [-70.692682054309699, -3.742872002785858], [-70.394043952094975, -3.766591485207825], [-69.893635219996611, -4.298186944194326], [-70.79476884630229, -4.251264743673302], [-70.928843349883564, -4.401591485210367], [-71.748405727816532, -4.59398284263301], [-72.891927659787243, -5.274561455916979], [-72.964507208941185, -5.741251315944892], [-73.219711269814596, -6.089188734566076], [-73.120027431923575, -6.629930922068238], [-73.724486660441627, -6.918595472850638], [-73.723401455363486, -7.340998630404412], [-73.987235480429646, -7.523829847853063], [-73.571059332967053, -8.424446709835832], [-73.015382656532537, -9.03283334720806], [-73.226713426390148, -9.462212823121233], [-72.563033006465631, -9.520193780152715], [-72.184890713169821, -10.05359791426943], [-71.302412278921523, -10.079436130415372], [-70.481893886991159, -9.490118096558842], [-70.548685675728393, -11.009146823778462], [-70.093752204046879, -11.123971856331011], [-69.52967810736493, -10.951734307502193], [-68.665079718689611, -12.561300144097171], [-68.880079515239956, -12.89972909917665], [-68.929223802349526, -13.602683607643007], [-68.94888668483658, -14.45363941819328], [-69.339534674747, -14.953195489158828], [-69.160346645774936, -15.323973890853015], [-69.389764166934697, -15.66012908291165], [-68.959635382753291, -16.500697930571267], [-69.590423753524036, -17.580011895419329]]] } }, + { "type": "Feature", "properties": { "admin": "Philippines", "name": "Philippines", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[126.376813592637447, 8.414706325713352], [126.478512811387873, 7.750354112168976], [126.537423944200611, 7.189380601424572], [126.19677290253253, 6.274294338400038], [125.831420526229081, 7.293715318221855], [125.363852166852283, 6.78648529706099], [125.683160841983707, 6.049656887227257], [125.396511672060626, 5.581003322772288], [124.219787632342332, 6.16135549562618], [123.938719517106918, 6.88513560630612], [124.243662144061318, 7.360610459823659], [123.610212437027542, 7.833527329942753], [123.29607140512519, 7.418875637232786], [122.825505812675388, 7.457374579290216], [122.085499302255769, 6.899424139834847], [121.919928013192603, 7.192119452336072], [122.312358840017112, 8.034962063016506], [122.94239790251963, 8.316236883981174], [123.487687616063511, 8.693009751821192], [123.841154412939815, 8.240324204944384], [124.6014697612502, 8.514157619659015], [124.764612257995623, 8.960409450715458], [125.471390822451539, 8.986996975129641], [125.412117954612754, 9.760334784377545], [126.222714471543156, 9.28607432701885], [126.306636997585073, 8.782487494334573], [126.376813592637447, 8.414706325713352]]], [[[123.982437778825798, 10.278778591345811], [123.62318322153277, 9.950090643753297], [123.309920688979332, 9.318268744336676], [122.995883009941636, 9.022188625520398], [122.380054966319463, 9.713360907424201], [122.586088901867072, 9.981044826696104], [122.837081333508706, 10.261156927934234], [122.947410516451896, 10.881868394408029], [123.498849725438447, 10.940624497923945], [123.337774285984722, 10.267383938025445], [124.077935825701218, 11.232725531453706], [123.982437778825798, 10.278778591345811]]], [[[118.504580926590336, 9.316382554558087], [117.174274530100675, 8.367499904814663], [117.664477166821371, 9.066888739452933], [118.386913690261736, 9.684499619989223], [118.98734215706105, 10.376292019080507], [119.511496209797528, 11.36966807702721], [119.689676548339889, 10.554291490109872], [119.029458449378978, 10.003653265823869], [118.504580926590336, 9.316382554558087]]], [[[121.883547804859106, 11.891755072471977], [122.483821242361458, 11.582187404827506], [123.120216506035959, 11.583660183147867], [123.100837843926442, 11.165933742716486], [122.637713657726692, 10.741308498574226], [122.002610304859559, 10.441016750526087], [121.967366978036523, 10.905691229694622], [122.038370396005519, 11.415840969280039], [121.883547804859106, 11.891755072471977]]], [[[125.502551711123488, 12.162694606978347], [125.783464797062152, 11.046121934447767], [125.01188398651226, 11.311454576050377], [125.032761265158115, 10.975816148314703], [125.277449172060244, 10.358722032101308], [124.801819289245714, 10.134678859899889], [124.760168084818474, 10.8379951033923], [124.459101190286049, 10.889929917845633], [124.302521600441722, 11.495370998577227], [124.891012811381572, 11.415582587118589], [124.877990350443952, 11.794189968304988], [124.266761509295705, 12.557760931849682], [125.22711632700782, 12.53572093347719], [125.502551711123488, 12.162694606978347]]], [[[121.527393833503481, 13.069590155484516], [121.262190382981544, 12.2055602075644], [120.833896112146533, 12.704496161342416], [120.323436313967477, 13.466413479053866], [121.18012820850214, 13.429697373910439], [121.527393833503481, 13.069590155484516]]], [[[121.321308221523566, 18.504064642811013], [121.937601353036371, 18.21855235439838], [122.246006300954264, 18.478949896717094], [122.336956821787965, 18.224882717354173], [122.174279412933174, 17.810282701076371], [122.51565392465335, 17.09350474697197], [122.252310825693883, 16.262444362854122], [121.662786086108255, 15.931017564350125], [121.505069614753367, 15.124813544164621], [121.728828566577249, 14.328376369682244], [122.258925409027313, 14.218202216035973], [122.701275669445636, 14.336541245984417], [123.950295037940236, 13.782130642141066], [123.855107049658599, 13.237771104378464], [124.181288690284873, 12.997527370653469], [124.077419061378222, 12.536676947474573], [123.298035109552245, 13.027525539598981], [122.928651971529902, 13.552919826710404], [122.671355015148663, 13.185836289925131], [122.034649692880521, 13.784481919810343], [121.126384718918587, 13.636687323455559], [120.628637323083296, 13.857655747935649], [120.679383579593832, 14.271015529838319], [120.99181928923052, 14.525392767795079], [120.693336216312687, 14.756670640517282], [120.564145135582976, 14.396279201713821], [120.070428501466367, 14.970869452367094], [119.920928582846102, 15.406346747290735], [119.883773228028247, 16.363704331929963], [120.286487664878791, 16.034628811095327], [120.39004723519173, 17.599081122299506], [120.7158671407919, 18.505227362537536], [121.321308221523566, 18.504064642811013]]]] } }, + { "type": "Feature", "properties": { "admin": "Papua New Guinea", "name": "Papua New Guinea", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[155.880025669578401, -6.819996840037758], [155.599991082988765, -6.919990736522491], [155.166994256815087, -6.535931491729299], [154.729191522438327, -5.900828138862208], [154.514114211239644, -5.139117526880012], [154.652503696917336, -5.042430922061839], [154.759990676084357, -5.339983819198493], [155.062917922179338, -5.566791680527486], [155.547746209941693, -6.200654799019658], [156.019965448224752, -6.540013929880386], [155.880025669578401, -6.819996840037758]]], [[[151.982795851854462, -5.478063246282344], [151.459106887008659, -5.560280450058739], [151.301390415653884, -5.840728448106701], [150.754447056276661, -6.083762709175387], [150.241196730753813, -6.317753594592984], [149.709963006793316, -6.316513360218051], [148.890064732050462, -6.026040134305432], [148.318936802360696, -5.74714242922613], [148.401825799756864, -5.437755629094722], [149.298411900020824, -5.583741550319216], [149.845561965127217, -5.505503431829339], [149.996250441690279, -5.026101169457674], [150.139755894164921, -5.001348158389788], [150.236907586873485, -5.53222014732428], [150.807467075808063, -5.455842380396886], [151.089672072553981, -5.113692722192368], [151.647880894170811, -4.757073662946168], [151.537861769821518, -4.167807305521889], [152.136791620084352, -4.148790378438519], [152.338743117480988, -4.31296640382976], [152.318692661751754, -4.867661228050748], [151.982795851854462, -5.478063246282344]]], [[[147.191873814074938, -7.388024183789978], [148.084635858349372, -8.044108168167609], [148.734105259393573, -9.104663588093755], [149.306835158484432, -9.071435642130067], [149.266630894161324, -9.514406019736027], [150.038728469034311, -9.684318129111698], [149.738798456012262, -9.872937106977002], [150.801627638959133, -10.29368661869742], [150.690574985963849, -10.582712904505865], [150.028393182575826, -10.652476088099929], [149.782310012001972, -10.393267103723941], [148.923137648717216, -10.28092253992136], [147.913018426707993, -10.130440769087469], [147.135443150012236, -9.492443536012017], [146.567880894150619, -8.942554619994153], [146.048481073184917, -8.067414239131308], [144.74416792213799, -7.630128269077473], [143.897087844009661, -7.915330498896279], [143.286375767184268, -8.245491224809056], [143.413913202080664, -8.983068942910945], [142.628431431244223, -9.326820570516501], [142.068258905200196, -9.159595635620034], [141.033851760013874, -9.117892754760417], [141.017056919519007, -5.85902190513802], [141.000210402591847, -2.600151055515624], [142.735246616791443, -3.289152927263216], [144.583970982033236, -3.861417738463401], [145.27317955950997, -4.373737888205027], [145.829786411725649, -4.876497897972683], [145.981921828392956, -5.465609226100012], [147.648073358347574, -6.083659356310803], [147.891107619416175, -6.614014580922315], [146.970905389594861, -6.721656589386255], [147.191873814074938, -7.388024183789978]]], [[[153.14003787659874, -4.499983412294113], [152.827292108368255, -4.766427097190998], [152.63867313050298, -4.176127211120927], [152.406025832324929, -3.789742526874561], [151.953236932583536, -3.462062269711821], [151.384279413050024, -3.035421644710111], [150.6620495953388, -2.741486097833956], [150.939965448204532, -2.500002129734028], [151.479984165654514, -2.779985039891386], [151.820015090135087, -2.999971612157907], [152.239989455371074, -3.24000864015366], [152.640016717742526, -3.659983005389647], [153.019993524384631, -3.980015150573293], [153.14003787659874, -4.499983412294113]]]] } }, + { "type": "Feature", "properties": { "admin": "Poland", "name": "Poland", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[15.016995883858666, 51.106674099321566], [14.607098422919531, 51.745188096719964], [14.685026482815685, 52.089947414755187], [14.437599725002197, 52.624850165408382], [14.074521111719488, 52.981262518925426], [14.353315463934136, 53.248171291712957], [14.119686313542584, 53.757029120491026], [14.802900424873455, 54.050706285205735], [16.363477003655728, 54.513158677785711], [17.622831658608671, 54.851535956432897], [18.620858595461637, 54.682605699270766], [18.696254510175461, 54.438718777069276], [19.6606400896064, 54.426083889373913], [20.89224450041862, 54.312524929412518], [22.731098667092649, 54.327536932993311], [23.243987257589506, 54.220566718149129], [23.484127638449841, 53.912497667041123], [23.527535841574995, 53.47012156840654], [23.804934930117774, 53.08973135030606], [23.799198846133375, 52.691099351606553], [23.19949384938618, 52.486977444053664], [23.508002150168689, 52.023646552124717], [23.52707075368437, 51.578454087930233], [24.029985792748899, 50.705406602575174], [23.922757195743259, 50.424881089878738], [23.426508416444388, 50.308505764357449], [22.518450148211596, 49.476773586619736], [22.776418898212619, 49.027395331409608], [22.558137648211751, 49.08573802346713], [21.607808058364206, 49.470107326854077], [20.887955356538406, 49.328772284535823], [20.415839471119849, 49.431453355499755], [19.825022820726865, 49.217125352569219], [19.320712517990469, 49.571574001659179], [18.909574822676316, 49.435845852244562], [18.85314415861361, 49.496229763377634], [18.392913852622168, 49.988628648470737], [17.649445021238986, 50.049038397819942], [17.554567091551117, 50.36214590107641], [16.868769158605655, 50.473973700556016], [16.719475945714429, 50.215746568393527], [16.176253289462263, 50.4226073268579], [16.238626743238566, 50.697732652379827], [15.490972120839725, 50.7847299261432], [15.016995883858666, 51.106674099321566]]] } }, + { "type": "Feature", "properties": { "admin": "Puerto Rico", "name": "Puerto Rico", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-66.2824344550082, 18.51476166429536], [-65.771302863209286, 18.426679185453875], [-65.591003790942935, 18.228034979723912], [-65.847163865813755, 17.975905666571855], [-66.599934455009475, 17.98182261806927], [-67.184162360285256, 17.946553453030074], [-67.24242753769434, 18.374460150622934], [-67.100679083917726, 18.520601101144347], [-66.2824344550082, 18.51476166429536]]] } }, + { "type": "Feature", "properties": { "admin": "North Korea", "name": "Dem. Rep. Korea", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[130.640015903852401, 42.39500946712527], [130.780007358931101, 42.220007229168843], [130.400030552288996, 42.280003567059701], [129.965948521037234, 41.941367906251052], [129.667362095254788, 41.601104437825221], [129.705189243692445, 40.882827867184318], [129.188114862179958, 40.661807766271984], [129.010399611528186, 40.485436102859801], [128.633368361526692, 40.189846910150301], [127.967414178581322, 40.025412502597547], [127.533435500194145, 39.756850083976694], [127.502119582225276, 39.323930772451526], [127.385434198110261, 39.213472398427648], [127.783342726757709, 39.050898342437414], [128.349716424676586, 38.612242946927843], [128.205745884311426, 38.370397243801882], [127.780035435090966, 38.304535630845884], [127.073308547067342, 38.256114813788393], [126.683719924018888, 37.804772854151174], [126.237338901881742, 37.840377916000271], [126.174758742376213, 37.749685777328033], [125.689103631697165, 37.940010077459014], [125.568439162295675, 37.752088731429616], [125.275330438336184, 37.66907054295271], [125.24008711151312, 37.857224432927424], [124.981033156433952, 37.948820909164773], [124.712160679219352, 38.108346055649783], [124.985994093933954, 38.548474229479673], [125.221948683778677, 38.665857245430665], [125.13285851450749, 38.848559271798578], [125.386589797060566, 39.387957872061158], [125.321115757346774, 39.551384589184202], [124.737482131042384, 39.660344346671614], [124.265624627785286, 39.928493353834149], [125.079941847840615, 40.569823716792442], [126.182045119329402, 41.107336127276362], [126.86908328664984, 41.816569322266176], [127.343782993682993, 41.50315176041596], [128.208433058790632, 41.466771552082477], [128.052215203972281, 41.994284572917934], [129.59666873587949, 42.424981797854542], [129.994267205933198, 42.985386867843779], [130.640015903852401, 42.39500946712527]]] } }, + { "type": "Feature", "properties": { "admin": "Portugal", "name": "Portugal", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[-9.034817674180244, 41.880570583659669], [-8.671945766626719, 42.134689439454952], [-8.26385698081779, 42.280468654950326], [-8.01317460776991, 41.790886135417118], [-7.422512986673794, 41.792074693359822], [-7.251308966490822, 41.91834605566504], [-6.668605515967655, 41.883386949219577], [-6.389087693700914, 41.381815497394641], [-6.851126674822551, 41.111082668617513], [-6.864019944679383, 40.330871893874821], [-7.026413133156593, 40.184524237624238], [-7.066591559263527, 39.711891587882768], [-7.498632371439724, 39.629571031241802], [-7.098036668313126, 39.03007274022378], [-7.374092169616317, 38.373058580064914], [-7.029281175148794, 38.075764065089757], [-7.166507941099863, 37.803894354802217], [-7.537105475281022, 37.428904323876232], [-7.45372555177809, 37.097787583966053], [-7.855613165711985, 36.838268540996253], [-8.382816127953687, 36.978880113262449], [-8.898856980820325, 36.868809312480771], [-8.746101446965552, 37.6513455266766], [-8.839997524439879, 38.266243394517609], [-9.287463751655221, 38.358485826158592], [-9.526570603869713, 38.737429104154906], [-9.44698889814023, 39.392066148428363], [-9.048305223008425, 39.755093085278766], [-8.977353481471679, 40.159306138665798], [-8.7686840478771, 40.76063894303018], [-8.790853237330309, 41.18433401139125], [-8.990789353867568, 41.543459377603625], [-9.034817674180244, 41.880570583659669]]] } }, + { "type": "Feature", "properties": { "admin": "Paraguay", "name": "Paraguay", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-62.685057135657871, -22.24902922942238], [-62.291179368729203, -21.051634616787389], [-62.265961269770784, -20.513734633061272], [-61.786326463453761, -19.633736667562957], [-60.043564622626477, -19.342746677327419], [-59.11504248720609, -19.356906019775398], [-58.183471442280492, -19.868399346600359], [-58.166392381408038, -20.176700941653674], [-57.870673997617786, -20.732687676681948], [-57.937155727761287, -22.090175876557169], [-56.881509568902885, -22.282153822521476], [-56.473317430229379, -22.086300144135279], [-55.797958136606894, -22.356929620047815], [-55.61068274598113, -22.655619398694839], [-55.517639329639621, -23.57199757252663], [-55.400747239795407, -23.956935316668797], [-55.027901780809543, -24.001273695575225], [-54.652834235235119, -23.839578138933955], [-54.292959560754511, -24.021014092710722], [-54.293476325077435, -24.570799655863958], [-54.428946092330577, -25.162184747012162], [-54.625290696823562, -25.739255466415507], [-54.788794928595038, -26.621785577096126], [-55.695845506398143, -27.387837009390857], [-56.486701626192989, -27.548499037386286], [-57.609759690976134, -27.395898532828383], [-58.618173590719735, -27.123718763947089], [-57.633660040911117, -25.603656508081638], [-57.777217169817924, -25.162339776309032], [-58.807128465394968, -24.771459242453307], [-60.028966030504016, -24.032796319273267], [-60.846564704009907, -23.880712579038288], [-62.685057135657871, -22.24902922942238]]] } }, + { "type": "Feature", "properties": { "admin": "Palestine", "name": "Palestine", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[35.545665317534535, 32.393992011030569], [35.545251906076196, 31.782504787720832], [35.397560662586038, 31.489086005167572], [34.927408481594554, 31.35343537040141], [34.970506626125989, 31.616778469360803], [35.225891554512422, 31.754341132121759], [34.974640740709319, 31.866582343059715], [35.183930291491428, 32.532510687788935], [35.545665317534535, 32.393992011030569]]] } }, + { "type": "Feature", "properties": { "admin": "Qatar", "name": "Qatar", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[50.810108270069563, 24.754742539971371], [50.743910760303677, 25.482424221289389], [51.01335167827348, 26.006991685484191], [51.286461622936045, 26.114582017515865], [51.589078810437243, 25.801112779233375], [51.606700473848804, 25.215670477798735], [51.389607781790623, 24.627385972588051], [51.112415398977006, 24.556330878186721], [50.810108270069563, 24.754742539971371]]] } }, + { "type": "Feature", "properties": { "admin": "Romania", "name": "Romania", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[22.710531447040488, 47.882193915389394], [23.142236362406798, 48.096341050806942], [23.760958286237404, 47.985598456405448], [24.402056105250374, 47.981877753280422], [24.866317172960571, 47.737525743188307], [25.207743361112986, 47.891056423527459], [25.945941196402394, 47.987148749374207], [26.197450392366925, 48.220881252630342], [26.619336785597788, 48.220726223333457], [26.924176059687561, 48.123264472030982], [27.233872918412736, 47.826770941756365], [27.551166212684841, 47.405117092470817], [28.128030226359037, 46.81047638608824], [28.160017937947707, 46.371562608417207], [28.054442986775392, 45.944586086605618], [28.233553501099035, 45.488283189468369], [28.679779493939371, 45.30403087013169], [29.149724969201646, 45.464925442072442], [29.603289015427425, 45.293308010431119], [29.62654340995876, 45.035390936862392], [29.141611769331831, 44.820210272799038], [28.837857700320196, 44.913873806328041], [28.55808149589199, 43.707461656258118], [27.970107049275068, 43.812468166675202], [27.242399529740904, 44.175986029632398], [26.065158725699739, 43.943493760751259], [25.569271681426923, 43.688444729174712], [24.100679152124169, 43.741051337247846], [23.332302280376322, 43.897010809904707], [22.94483239105184, 43.823785305347123], [22.657149692482985, 44.234923000661276], [22.474008416440594, 44.409227606781762], [22.705725538837349, 44.578002834647016], [22.459022251075933, 44.702517198254291], [22.145087924902807, 44.478422349620573], [21.562022739353605, 44.768947251965486], [21.483526238702233, 45.181170152357772], [20.874312778413351, 45.416375433934228], [20.76217492033998, 45.734573065771428], [20.220192498462833, 46.127468980486547], [21.021952345471245, 46.316087958351886], [21.626514926853869, 46.994237779318148], [22.09976769378283, 47.672439276716695], [22.710531447040488, 47.882193915389394]]] } }, + { "type": "Feature", "properties": { "admin": "Russia", "name": "Russia", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[143.648007440362846, 50.747600409541512], [144.65414757708561, 48.976390692737581], [143.173927850517174, 49.306551418650365], [142.558668247650076, 47.861575018904908], [143.533492466404027, 46.836728013692479], [143.505277134372591, 46.137907619809475], [142.747700636973889, 46.740764878926562], [142.092030064054484, 45.966755276058777], [141.906925083585008, 46.805928860046535], [142.018442824470867, 47.780132961612921], [141.904444614835029, 48.859188544299563], [142.135800002205656, 49.615163072297449], [142.179983351815281, 50.952342434281903], [141.594075962490024, 51.935434882202529], [141.682546014573632, 53.301966457728767], [142.606934035410745, 53.762145087287891], [142.209748976815376, 54.225475979216853], [142.654786411712934, 54.365880845753864], [142.914615513276544, 53.704577541714734], [143.260847609632037, 52.740760403039033], [143.235267775647628, 51.756660264688733], [143.648007440362846, 50.747600409541512]]], [[[22.731098667092649, 54.327536932993311], [20.892244500418652, 54.312524929412568], [19.6606400896064, 54.42608388937397], [19.88848147958134, 54.866160386771483], [21.268448927503492, 55.190481675835279], [22.315723504330599, 55.015298570365886], [22.757763706155281, 54.856574408581416], [22.651051873472564, 54.582740993866693], [22.731098667092649, 54.327536932993311]]], [[[180.000000000000114, 70.832199208546669], [178.903425, 70.78114], [178.7253, 71.0988], [180.000000000000114, 71.515714336428246], [180.000000000000114, 70.832199208546669]]], [[[143.60385, 73.21244], [142.08763, 73.20544], [140.038155, 73.31692], [139.86312, 73.36983], [140.81171, 73.76506], [142.06207, 73.85758], [143.48283, 73.47525], [143.60385, 73.21244]]], [[[150.73167, 75.08406], [149.575925, 74.68892], [147.977465, 74.778355], [146.11919, 75.17298], [146.358485, 75.49682], [148.22223, 75.345845], [150.73167, 75.08406]]], [[[145.086285, 75.562625], [144.3, 74.82], [140.61381, 74.84768], [138.95544, 74.61148], [136.97439, 75.26167], [137.51176, 75.94917], [138.831075, 76.13676], [141.471615, 76.09289], [145.086285, 75.562625]]], [[[57.535692579992386, 70.720463975702145], [56.944979282463933, 70.63274323188665], [53.677375115784187, 70.762657782668455], [53.412016635965372, 71.206661688920192], [51.601894565645708, 71.474759019650477], [51.455753615124209, 72.014881089965129], [52.478275180883564, 72.229441636840946], [52.444168735570841, 72.77473135038484], [54.427613559797649, 73.627547512497571], [53.508289829325136, 73.749813951300141], [55.902458937407644, 74.627486477345329], [55.631932814359701, 75.081412258597155], [57.868643833248839, 75.609390367323186], [61.170044386647497, 76.251883450008123], [64.498368361270209, 76.439055487769267], [66.210977003855092, 76.809782213031227], [68.157059767534818, 76.939696763812904], [68.852211134725124, 76.544811306454605], [68.180572544227644, 76.233641669409096], [64.637326287703004, 75.737754625136219], [61.583507521414752, 75.260884507946784], [58.477082147053366, 74.309056301562819], [56.986785516187993, 73.333043524866227], [55.41933597191094, 72.371267605265956], [55.622837762276291, 71.540594794390316], [57.535692579992386, 70.720463975702145]]], [[[106.970130000000111, 76.97419], [107.240000000000123, 76.48], [108.1538, 76.723350000000138], [111.077260000000138, 76.71], [113.33151, 76.22224], [114.13417, 75.84764], [113.88539, 75.327790000000121], [112.77918, 75.03186], [110.151250000000175, 74.47673], [109.4, 74.18], [110.64, 74.04], [112.11919, 73.787740000000113], [113.019540000000234, 73.976930000000138], [113.529580000000294, 73.33505], [113.96881, 73.59488], [115.56782, 73.75285], [118.776330000000215, 73.58772], [119.02, 73.12], [123.20066, 72.97122], [123.257770000000178, 73.73503], [125.380000000000166, 73.56], [126.97644, 73.56549], [128.59126, 73.03871], [129.05157, 72.39872], [128.46, 71.98], [129.715990000000204, 71.19304], [131.288580000000252, 70.786990000000102], [132.253500000000145, 71.8363], [133.857660000000294, 71.386420000000143], [135.56193, 71.655250000000123], [137.49755, 71.34763], [138.234090000000123, 71.62803], [139.86983, 71.487830000000116], [139.14791, 72.4161900000001], [140.46817, 72.849410000000134], [149.5, 72.2], [150.35118000000017, 71.60643], [152.96890000000019, 70.84222], [157.00688, 71.03141], [158.99779, 70.86672], [159.830310000000225, 70.45324], [159.70866, 69.72198], [160.94053000000028, 69.43728], [162.279070000000104, 69.64204], [164.05248, 69.66823], [165.940370000000172, 69.47199], [167.83567, 69.58269], [169.57763000000017, 68.6938], [170.816880000000253, 69.01363], [170.008200000000159, 69.65276], [170.453450000000259, 70.09703], [173.643910000000204, 69.81743], [175.72403000000017, 69.877250000000217], [178.6, 69.4], [180.000000000000114, 68.963636363636553], [180.000000000000114, 64.979708702198465], [179.99281, 64.97433], [178.707200000000199, 64.53493], [177.411280000000147, 64.60821], [178.313000000000187, 64.07593], [178.90825000000018, 63.251970000000128], [179.37034, 62.98262], [179.48636, 62.56894], [179.228250000000116, 62.304100000000133], [177.3643, 62.5219], [174.569290000000194, 61.76915], [173.68013, 61.65261], [172.15, 60.95], [170.6985, 60.33618], [170.330850000000282, 59.88177], [168.90046, 60.57355], [166.294980000000265, 59.7885500000002], [165.840000000000202, 60.16], [164.87674, 59.7316], [163.539290000000108, 59.86871], [163.217110000000218, 59.21101], [162.01733, 58.24328], [162.05297, 57.83912], [163.19191, 57.61503], [163.057940000000144, 56.159240000000111], [162.129580000000203, 56.12219], [161.70146, 55.285680000000148], [162.117490000000117, 54.85514], [160.368770000000325, 54.34433], [160.021730000000218, 53.20257], [158.530940000000157, 52.958680000000236], [158.23118, 51.94269], [156.789790000000266, 51.01105], [156.42000000000013, 51.7], [155.99182, 53.15895], [155.43366, 55.381030000000109], [155.914420000000291, 56.767920000000132], [156.75815, 57.3647], [156.81035, 57.83204], [158.364330000000166, 58.05575], [160.150640000000124, 59.314770000000109], [161.87204, 60.343000000000117], [163.66969, 61.1409], [164.473550000000103, 62.55061], [163.258420000000172, 62.46627], [162.65791, 61.6425], [160.12148, 60.54423], [159.30232, 61.77396], [156.72068, 61.43442], [154.218060000000293, 59.758180000000117], [155.04375, 59.14495], [152.81185, 58.88385], [151.265730000000246, 58.78089], [151.33815, 59.50396], [149.78371, 59.655730000000126], [148.54481, 59.16448], [145.48722, 59.33637], [142.197820000000121, 59.03998], [138.958480000000293, 57.08805], [135.12619, 54.72959], [136.70171, 54.603550000000112], [137.19342, 53.97732], [138.1647, 53.755010000000247], [138.80463, 54.25455], [139.90151, 54.189680000000166], [141.34531, 53.089570000000109], [141.37923, 52.23877], [140.59742000000017, 51.23967], [140.51308, 50.045530000000113], [140.061930000000189, 48.446710000000152], [138.554720000000202, 46.99965], [138.21971, 46.30795], [136.86232, 45.143500000000174], [135.515350000000183, 43.989], [134.869390000000237, 43.39821], [133.536870000000249, 42.81147], [132.90627, 42.79849], [132.278070000000241, 43.284560000000106], [130.935870000000136, 42.55274], [130.78, 42.220000000000191], [130.640000000000157, 42.395], [130.633866408409801, 42.903014634770543], [131.144687941614961, 42.929989732426932], [131.288555129115593, 44.111519680348252], [131.025190000000237, 44.96796], [131.883454217659562, 45.321161607436508], [133.097120000000189, 45.14409], [133.769643996313164, 46.116926988299149], [134.112350000000163, 47.212480000000127], [134.50081, 47.578450000000139], [135.026311476786759, 48.478229885443902], [133.373595819228001, 48.183441677434836], [132.506690000000106, 47.78896], [130.987260000000106, 47.79013], [130.582293328982644, 48.72968740497619], [129.397817824420486, 49.4406000840156], [127.657400000000351, 49.76027], [127.287455682484904, 50.739797268265434], [126.939156528837827, 51.353894151405896], [126.564399041856959, 51.784255479532689], [125.946348911646439, 52.792798570356936], [125.068211297710434, 53.161044826868924], [123.57147, 53.4588], [122.245747918793043, 53.431725979213681], [121.003084751470354, 53.251401068731226], [120.177088657716865, 52.753886216841195], [120.725789015791975, 52.516226304730893], [120.7382, 51.96411], [120.182080000000155, 51.64355], [119.27939, 50.58292], [119.288460728025839, 50.142882798861947], [117.87924441942647, 49.510983384797036], [116.67880089728618, 49.888531399121398], [115.485695428531415, 49.805177313834733], [114.962109816550353, 50.140247300815119], [114.362456496235325, 50.24830272073747], [112.897739699354361, 49.543565375356984], [111.581230910286649, 49.377968248077671], [110.662010532678835, 49.130128078805846], [109.402449171996707, 49.292960516957685], [108.475167270951275, 49.282547715850704], [107.868175897251092, 49.793705145865871], [106.888804152455293, 50.274295966180276], [105.886591424586868, 50.40601919209216], [104.62158, 50.275320000000157], [103.676545444760336, 50.08996613219513], [102.25589, 50.510560000000105], [102.06521, 51.25991], [100.889480421962631, 51.516855780638409], [99.981732212323564, 51.63400625264395], [98.861490513100492, 52.047366034546698], [97.82573978067451, 51.010995184933236], [98.231761509191699, 50.422400621128716], [97.259760000000199, 49.72605], [95.814020000000156, 49.977460000000114], [94.815949334698757, 50.01343333597088], [94.147566359435601, 50.480536607457161], [93.10421, 50.49529], [92.234711541719676, 50.802170722041737], [90.713667433640765, 50.331811835321098], [88.805566847695573, 49.470520738312459], [87.751264276076824, 49.297197984405543], [87.359970330762692, 49.214980780629148], [86.829356723989648, 49.826674709668133], [85.541269972682485, 49.69285858824815], [85.115559523462082, 50.117302964877631], [84.416377394553038, 50.311399644565817], [83.935114780618903, 50.889245510453563], [83.383003778012451, 51.069182847693881], [81.945985548839943, 50.812195949906325], [80.568446893235446, 51.388336493528435], [80.035559523441705, 50.864750881547209], [77.80091556184432, 53.404414984747532], [76.525179477854749, 54.177003485727127], [76.891100294913443, 54.490524400441913], [74.384820000000119, 53.546850000000113], [73.425678745420512, 53.489810289109741], [73.50851606638436, 54.035616766976588], [72.224150018202195, 54.376655381886778], [71.180131056609468, 54.133285224008247], [70.86526655465515, 55.169733588270091], [69.068166945272893, 55.385250149143488], [68.169100376258896, 54.970391750704366], [65.66687, 54.601250000000149], [65.178533563095939, 54.354227810272064], [61.436600000000126, 54.00625], [60.978066440683236, 53.664993394579128], [61.69998619980062, 52.979996446334255], [60.73999311711453, 52.719986477257734], [60.927268507740237, 52.447548326214999], [59.967533807215567, 51.96042043721566], [61.588003371024136, 51.272658799843171], [61.337424350840998, 50.799070136104248], [59.932807244715555, 50.842194118851822], [59.642282342370564, 50.545442206415707], [58.363320000000122, 51.06364], [56.77798, 51.04355], [55.71694, 50.621710000000142], [54.532878452376181, 51.026239732459359], [52.328723585831042, 51.718652248738088], [50.766648390512174, 51.692762356159861], [48.702381626181044, 50.605128485712825], [48.577841424357601, 49.87475962991563], [47.549480421749379, 50.454698391311119], [46.751596307162764, 49.356005764353725], [47.043671502476585, 49.152038886097571], [46.466445753776291, 48.394152330104923], [47.315240000000152, 47.71585], [48.05725, 47.74377], [48.694733514201872, 47.075628160177885], [48.59325000000014, 46.56104], [49.101160000000121, 46.39933], [48.645410000000105, 45.80629], [47.67591, 45.641490000000111], [46.68201, 44.6092], [47.59094, 43.660160000000118], [47.49252, 42.98658], [48.58437000000017, 41.80888], [47.987283156126033, 41.405819200194387], [47.815665724484653, 41.151416124021338], [47.373315464066387, 41.219732367511135], [46.686070591016708, 41.827137152669899], [46.404950799348924, 41.860675157227426], [45.7764, 42.092440000000224], [45.470279168485909, 42.502780666670041], [44.537622918482057, 42.711992702803677], [43.93121, 42.554960000000101], [43.755990000000182, 42.74083], [42.394400000000154, 43.2203], [40.922190000000128, 43.382150000000131], [40.076964959479838, 43.553104153002486], [39.95500857927108, 43.434997666999287], [38.68, 44.28], [37.539120000000104, 44.65721], [36.675460000000122, 45.24469], [37.40317, 45.40451], [38.23295, 46.24087], [37.67372, 46.63657], [39.14767, 47.044750000000128], [39.121200000000123, 47.26336], [38.22353803889947, 47.102189846375971], [38.2551123390298, 47.546400458356956], [38.77057, 47.825620000000228], [39.738277622238982, 47.898937079452068], [39.895620000000136, 48.23241], [39.67465, 48.783820000000127], [40.080789015469477, 49.307429917999364], [40.069040000000108, 49.60105], [38.594988234213552, 49.926461900423718], [38.010631137857068, 49.915661526074715], [37.393459506995228, 50.383953355503664], [36.626167840325387, 50.225590928745127], [35.35611616388811, 50.577197374059139], [35.37791, 50.77394], [35.02218305841793, 51.207572333371495], [34.224815708154402, 51.255993150428921], [34.141978387190612, 51.56641347920619], [34.391730584457228, 51.768881740925892], [33.75269982273587, 52.335074571331646], [32.715760532367163, 52.238465481162159], [32.412058139787767, 52.288694973349763], [32.15944000000021, 52.061250000000101], [31.78597, 52.10168], [31.540018344862254, 52.742052313846429], [31.305200636527978, 53.073995876673301], [31.49764, 53.167430000000124], [32.304519484188368, 53.132726141972839], [32.693643019346119, 53.351420803432141], [32.405598585751157, 53.618045355842], [31.731272820774585, 53.794029446012011], [31.791424187962399, 53.974638576872181], [31.384472283663818, 54.157056382862365], [30.757533807098774, 54.811770941784388], [30.971835971813245, 55.08154775656412], [30.873909132620064, 55.55097646750351], [29.896294386522435, 55.789463202530484], [29.371571893030783, 55.670090643936263], [29.229513380660389, 55.918344224666399], [28.176709425577933, 56.169129950578778], [27.855282016722519, 56.759326483784363], [27.770015903440985, 57.244258124411189], [27.288184848751648, 57.474528306703903], [27.716685825315771, 57.791899115624439], [27.420150000000202, 58.724570000000128], [28.131699253051856, 59.300825100330982], [27.98112, 59.47537], [29.1177, 60.028050000000107], [28.07, 60.503520000000137], [30.211107212044645, 61.780027777749673], [31.139991082491029, 62.357692776124431], [31.516092156711263, 62.867687486412898], [30.035872430142796, 63.552813625738551], [30.444684686003736, 64.204453436939062], [29.544429559047014, 64.948671576590542], [30.21765, 65.80598], [29.054588657352376, 66.944286200622017], [29.977426385220689, 67.69829702419274], [28.445943637818765, 68.364612942163987], [28.591929559043358, 69.064776923286686], [29.39955, 69.15692000000017], [31.101080000000103, 69.55811], [32.132720000000255, 69.905950000000232], [33.77547, 69.301420000000107], [36.51396, 69.06342], [40.292340000000159, 67.9324], [41.059870000000124, 67.457130000000106], [41.125950000000174, 66.79158000000011], [40.01583, 66.266180000000119], [38.38295, 65.99953], [33.918710000000168, 66.75961], [33.18444, 66.63253], [34.81477, 65.900150000000124], [34.87857425307876, 65.436212877048192], [34.943910000000152, 64.414370000000147], [36.23129, 64.10945], [37.012730000000111, 63.84983], [37.141970000000143, 64.33471], [36.539579035089801, 64.76446], [37.176040000000135, 65.143220000000113], [39.59345, 64.520790000000162], [40.4356, 64.76446], [39.762600000000148, 65.49682], [42.09309, 66.47623], [43.01604000000011, 66.41858], [43.94975000000013, 66.06908], [44.53226, 66.756340000000122], [43.69839, 67.35245], [44.187950000000136, 67.95051], [43.45282, 68.57079], [46.250000000000135, 68.25], [46.821340000000156, 67.68997], [45.55517, 67.56652], [45.56202, 67.010050000000192], [46.349150000000137, 66.66767], [47.894160000000248, 66.884550000000146], [48.13876, 67.52238], [50.227660000000142, 67.998670000000132], [53.717430000000164, 68.85738], [54.47171, 68.80815], [53.485820000000118, 68.20131], [54.72628, 68.09702], [55.442680000000124, 68.43866], [57.317020000000149, 68.46628], [58.802000000000206, 68.88082], [59.941420000000178, 68.27844], [61.077840000000165, 68.94069], [60.03, 69.52], [60.55, 69.85], [63.504000000000147, 69.54739], [64.888115, 69.234835000000132], [68.512160000000108, 68.09233000000016], [69.18068, 68.61563000000011], [68.16444, 69.14436], [68.13522, 69.35649], [66.930080000000103, 69.454610000000102], [67.25976, 69.92873], [66.724920000000125, 70.708890000000125], [66.69466, 71.028970000000228], [68.540060000000111, 71.934500000000227], [69.19636, 72.843360000000146], [69.94, 73.04000000000012], [72.58754, 72.77629], [72.79603, 72.22006], [71.84811, 71.40898], [72.47011, 71.09019], [72.79188, 70.39114], [72.564700000000201, 69.02085], [73.66787, 68.4079], [73.2387, 67.7404], [71.280000000000101, 66.320000000000149], [72.423010000000147, 66.172670000000167], [72.82077, 66.53267], [73.920990000000131, 66.789460000000119], [74.186510000000183, 67.28429], [75.052, 67.760470000000154], [74.469260000000148, 68.32899], [74.93584, 68.98918], [73.84236, 69.07146], [73.601870000000204, 69.62763], [74.3998, 70.63175], [73.1011, 71.447170000000241], [74.890820000000204, 72.12119], [74.65926, 72.83227], [75.158010000000175, 72.854970000000108], [75.68351, 72.300560000000118], [75.288980000000109, 71.33556], [76.35911, 71.152870000000135], [75.903130000000161, 71.87401], [77.5766500000001, 72.26717], [79.652020000000107, 72.32011], [81.5, 71.75], [80.61071, 72.582850000000107], [80.51109, 73.6482], [82.25, 73.85], [84.65526, 73.805910000000154], [86.822300000000226, 73.93688], [86.00956, 74.459670000000145], [87.166820000000143, 75.11643], [88.31571, 75.14393], [90.26, 75.64], [92.90058, 75.77333], [93.234210000000132, 76.0472], [95.860000000000127, 76.14], [96.67821, 75.91548], [98.922540000000197, 76.44689], [100.759670000000199, 76.43028], [101.03532, 76.86189], [101.990840000000105, 77.287540000000192], [104.3516, 77.69792], [106.066640000000135, 77.37389], [104.705000000000211, 77.1274], [106.970130000000111, 76.97419]]], [[[105.07547, 78.30689], [99.43814, 77.921], [101.2649, 79.23399], [102.08635, 79.34641], [102.837815, 79.28129], [105.37243, 78.71334], [105.07547, 78.30689]]], [[[51.136186557831266, 80.54728017854093], [49.793684523320692, 80.415427761548202], [48.894411248577526, 80.33956675894369], [48.75493655782175, 80.175468248200829], [47.586119012244147, 80.010181179515328], [46.502825962109647, 80.247246812654339], [47.072455275262897, 80.559424140129451], [44.846958042181107, 80.589809882317169], [46.799138624871226, 80.771917629713627], [48.31847741068465, 80.784009914869927], [48.52280602396668, 80.514568996900138], [49.097189568890897, 80.753985907708412], [50.039767693894603, 80.918885403151791], [51.522932977103679, 80.699725653801906], [51.136186557831266, 80.54728017854093]]], [[[99.93976, 78.88094], [97.75794, 78.7562], [94.97259, 79.044745], [93.31288, 79.4265], [92.5454, 80.14379], [91.18107, 80.34146], [93.77766, 81.0246], [95.940895, 81.2504], [97.88385, 80.746975], [100.186655, 79.780135], [99.93976, 78.88094]]]] } }, + { "type": "Feature", "properties": { "admin": "Rwanda", "name": "Rwanda", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[30.419104852019235, -1.134659112150416], [30.816134881317705, -1.698914076345388], [30.758308953583104, -2.287250257988368], [30.469696079232978, -2.413857517103458], [29.938359002407935, -2.348486830254238], [29.632176141078585, -2.917857761246096], [29.02492638521678, -2.839257907730157], [29.117478875451546, -2.292211195488384], [29.254834832483336, -2.215109958508911], [29.29188683443661, -1.620055840667987], [29.579466180140876, -1.341313164885626], [29.821518588996003, -1.443322442229785], [30.419104852019235, -1.134659112150416]]] } }, + { "type": "Feature", "properties": { "admin": "Western Sahara", "name": "W. Sahara", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-8.794883999049075, 27.120696316022503], [-8.81782833498667, 27.656425889592349], [-8.665589565454805, 27.656425889592349], [-8.66512447756419, 27.58947907155822], [-8.684399786809051, 27.395744126895998], [-8.687293667017398, 25.881056219988899], [-11.969418911171159, 25.933352769468261], [-11.93722449385332, 23.374594224536164], [-12.874221564169574, 23.284832261645171], [-13.118754441774708, 22.771220201096249], [-12.929101935263528, 21.327070624267559], [-16.845193650773989, 21.333323472574875], [-17.063423224342568, 20.99975210213082], [-17.020428432675736, 21.422310288981475], [-17.002961798561085, 21.420734157796574], [-14.750954555713532, 21.50060008390366], [-14.630832688851068, 21.860939846274899], [-14.221167771857251, 22.310163072188153], [-13.891110398809044, 23.691009019459297], [-12.500962693725368, 24.770116278578193], [-12.030758836301613, 26.030866197203036], [-11.718219773800353, 26.104091701760616], [-11.392554897496977, 26.883423977154358], [-10.551262579785272, 26.990807603456879], [-10.18942420087758, 26.860944729107398], [-9.735343390328877, 26.860944729107398], [-9.413037482124464, 27.088476060488514], [-8.794883999049075, 27.120696316022503]]] } }, + { "type": "Feature", "properties": { "admin": "Saudi Arabia", "name": "Saudi Arabia", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[42.779332309750963, 16.34789134364868], [42.64957278826607, 16.77463532151496], [42.347989129410706, 17.075805568911996], [42.270887892431219, 17.474721787989122], [41.754381951673949, 17.833046169500971], [41.221391229015573, 18.671599636301206], [40.939341261566533, 19.486485297111752], [40.247652215339819, 20.174634507726488], [39.801684604660934, 20.338862209550054], [39.139399448408277, 21.29190481209293], [39.023695916506782, 21.986875311770191], [39.066328973147577, 22.579655666590263], [38.492772251140075, 23.688451036060851], [38.023860304523616, 24.078685614512928], [37.483634881344379, 24.285494696545008], [37.154817742671177, 24.858482977797301], [37.209491408035994, 25.084541530858104], [36.931627231602583, 25.602959499610172], [36.639603712721218, 25.826227525327219], [36.249136590323808, 26.570135606384873], [35.640181512196385, 27.376520494083415], [35.130186801907875, 28.063351955674712], [34.632336053207972, 28.058546047471559], [34.787778761541936, 28.607427273059692], [34.832220493312938, 28.957483425404838], [34.956037225084252, 29.356554673778835], [36.068940870922049, 29.19749461518445], [36.501214227043583, 29.505253607698702], [36.740527784987243, 29.865283311476183], [37.503581984209028, 30.003776150018396], [37.668119744626374, 30.338665269485894], [37.998848911294367, 30.508499864213128], [37.002165561681004, 31.508412990844736], [39.004885695152545, 32.010216986614971], [39.195468377444961, 32.16100881604266], [40.399994337736238, 31.889991766887931], [41.889980910007829, 31.190008653278362], [44.709498732284736, 29.178891099559376], [46.568713413281742, 29.099025173452283], [47.459821811722819, 29.002519436147217], [47.708850538937376, 28.526062730416136], [48.416094191283939, 28.552004299426663], [48.807594842327163, 27.689627997339876], [49.299554477745815, 27.461218166609804], [49.470913527225647, 27.109999294538078], [50.152422316290874, 26.689663194275994], [50.212935418504671, 26.277026882425371], [50.113303257045928, 25.943972276304248], [50.23985883972874, 25.608049628190923], [50.527386509000728, 25.327808335872099], [50.660556675016885, 24.999895534764018], [50.810108270069563, 24.754742539971371], [51.112415398977006, 24.556330878186721], [51.389607781790623, 24.627385972588051], [51.579518670463258, 24.245497137951102], [51.617707553926969, 24.014219265228824], [52.000733270074321, 23.001154486578937], [55.006803012924898, 22.496947536707129], [55.208341098863187, 22.708329982997039], [55.666659376859812, 22.000001125572336], [54.999981723862355, 19.999994004796104], [52.000009800022227, 19.000003363516054], [49.116671583864857, 18.616667588774941], [48.183343540241324, 18.166669216377311], [47.466694777217626, 17.116681626854877], [47.000004917189749, 16.949999294497438], [46.749994337761642, 17.283338120996174], [46.366658563020529, 17.233315334537632], [45.399999220568752, 17.333335069238554], [45.216651238797184, 17.43332896572333], [44.062613152855072, 17.410358791569589], [43.791518589051904, 17.319976711491105], [43.380794305196098, 17.579986680567668], [43.115797560403351, 17.088440456607369], [43.218375278502734, 16.666889960186406], [42.779332309750963, 16.34789134364868]]] } }, + { "type": "Feature", "properties": { "admin": "Sudan", "name": "Sudan", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[33.963392794971178, 9.464285229420623], [33.824963480907506, 9.48406084571536], [33.842130853028145, 9.981914637215992], [33.721959248183097, 10.325262079630191], [33.206938084561777, 10.720111638406591], [33.086766479716729, 11.441141267476493], [33.206938084561777, 12.179338268667093], [32.743419037302537, 12.24800775714999], [32.674749548819641, 12.024831919580716], [32.073891524594778, 11.973329803218517], [32.314234734284746, 11.681484477166519], [32.400071594888338, 11.080626452941486], [31.850715687025509, 10.531270545078822], [31.352861895524875, 9.810240916008693], [30.837840731903377, 9.707236683284519], [29.996639497988546, 10.290927335388684], [29.618957311332842, 10.084918869940223], [29.515953078608607, 9.793073543888053], [29.000931914987166, 9.604232450560287], [28.966597170745779, 9.398223985111654], [27.970889587744345, 9.398223985111654], [27.833550610778783, 9.604232450560287], [27.112520981708876, 9.638567194801622], [26.752006167173811, 9.466893473594492], [26.477328213242508, 9.552730334198086], [25.96230704962101, 10.136420986302422], [25.790633328413943, 10.411098940233726], [25.069603699343979, 10.27375996326799], [24.79492574541268, 9.810240916008693], [24.537415163602017, 8.917537565731719], [24.194067721187643, 8.728696472403895], [23.886979580860665, 8.619729712933063], [23.805813429466745, 8.666318874542522], [23.459012892355979, 8.954285793489019], [23.394779087017291, 9.26506785729225], [23.557249790142915, 9.681218166538766], [23.554304233502187, 10.089255275915319], [22.977543572692749, 10.714462591998538], [22.864165480244246, 11.142395127807616], [22.87622, 11.384610000000119], [22.50869, 11.67936], [22.49762, 12.26024], [22.28801, 12.64605], [21.93681, 12.588180000000133], [22.03759, 12.95546], [22.29658, 13.37232], [22.18329, 13.78648], [22.51202, 14.09318], [22.30351, 14.32682], [22.567950000000106, 14.944290000000134], [23.02459, 15.68072], [23.886890000000101, 15.61084], [23.837660000000135, 19.580470000000101], [23.850000000000129, 20.0], [25.00000000000011, 20.00304], [25.00000000000011, 22.0], [29.02, 22.0], [32.9, 22.0], [36.86623, 22.0], [37.18872, 21.01885], [36.96941, 20.837440000000125], [37.114700000000134, 19.80796], [37.48179, 18.61409], [37.86276, 18.36786], [38.410089959473218, 17.998307399970312], [37.904000000000103, 17.42754], [37.16747, 17.263140000000128], [36.852530000000108, 16.95655], [36.75389, 16.29186], [36.32322, 14.82249], [36.42951, 14.42211], [36.27022, 13.563330000000118], [35.86363, 12.57828], [35.26049, 12.08286], [34.831630000000125, 11.318960000000116], [34.73115000000012, 10.910170000000106], [34.25745, 10.63009], [33.96162, 9.58358], [33.963392794971178, 9.464285229420623]]] } }, + { "type": "Feature", "properties": { "admin": "South Sudan", "name": "S. Sudan", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[33.963392794971178, 9.464285229420623], [33.97498, 8.68456], [33.82550000000014, 8.37916], [33.294800000000116, 8.35458], [32.95418, 7.7849700000001], [33.56829, 7.71334], [34.0751, 7.22595], [34.25032, 6.82607], [34.70702, 6.59422000000012], [35.298007118233095, 5.506], [34.620196267853935, 4.847122742082034], [34.005, 4.249884947362147], [33.39, 3.79], [32.68642, 3.79232], [31.881450000000136, 3.55827], [31.24556, 3.7819], [30.83385, 3.50917], [29.95349, 4.1737], [29.715995314256013, 4.600804755060152], [29.159078403446635, 4.389267279473244], [28.696677687298795, 4.455077215996993], [28.428993768026992, 4.287154649264607], [27.979977247842946, 4.408413397637388], [27.374226108517625, 5.233944403500173], [27.213409051225248, 5.550953477394613], [26.465909458123289, 5.946717434101855], [26.213418409945113, 6.546603298362127], [25.796647983511257, 6.979315904158169], [25.124130893664805, 7.500085150579422], [25.114932488716867, 7.825104071479244], [24.567369012152191, 8.229187933785452], [23.886979580860665, 8.619729712933063], [24.194067721187643, 8.728696472403895], [24.537415163602017, 8.917537565731719], [24.79492574541268, 9.810240916008693], [25.069603699343979, 10.27375996326799], [25.790633328413943, 10.411098940233726], [25.96230704962101, 10.136420986302422], [26.477328213242508, 9.552730334198086], [26.752006167173811, 9.466893473594492], [27.112520981708876, 9.638567194801622], [27.833550610778783, 9.604232450560287], [27.970889587744345, 9.398223985111654], [28.966597170745779, 9.398223985111654], [29.000931914987166, 9.604232450560287], [29.515953078608607, 9.793073543888053], [29.618957311332842, 10.084918869940223], [29.996639497988546, 10.290927335388684], [30.837840731903377, 9.707236683284519], [31.352861895524875, 9.810240916008693], [31.850715687025509, 10.531270545078822], [32.400071594888338, 11.080626452941486], [32.314234734284746, 11.681484477166519], [32.073891524594778, 11.973329803218517], [32.674749548819641, 12.024831919580716], [32.743419037302537, 12.24800775714999], [33.206938084561777, 12.179338268667093], [33.086766479716729, 11.441141267476493], [33.206938084561777, 10.720111638406591], [33.721959248183097, 10.325262079630191], [33.842130853028145, 9.981914637215992], [33.824963480907506, 9.48406084571536], [33.963392794971178, 9.464285229420623]]] } }, + { "type": "Feature", "properties": { "admin": "Senegal", "name": "Senegal", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-16.713728807023468, 13.594958604379853], [-17.126106736712611, 14.373515733289221], [-17.625042690490655, 14.72954051356407], [-17.185172898822227, 14.91947724045286], [-16.700706346085919, 15.621527411354107], [-16.463098110407881, 16.135036119038457], [-16.120690070041928, 16.45566254319338], [-15.623666144258689, 16.369337063049809], [-15.135737270558813, 16.587282416240779], [-14.577347581428977, 16.598263658102805], [-14.099521450242175, 16.304302273010489], [-13.43573767745306, 16.039383042866188], [-12.830658331747513, 15.303691514542942], [-12.170750291380299, 14.616834214735503], [-12.124887457721256, 13.994727484589784], [-11.927716030311613, 13.422075100147392], [-11.553397793005427, 13.141213690641063], [-11.467899135778522, 12.754518947800973], [-11.513942836950587, 12.442987575729415], [-11.658300950557928, 12.386582749882834], [-12.20356482588563, 12.465647691289401], [-12.278599005573438, 12.354440008997285], [-12.499050665730561, 12.332089952031053], [-13.217818162478235, 12.575873521367964], [-13.700476040084322, 12.586182969610192], [-15.548476935274005, 12.628170070847343], [-15.816574266004251, 12.515567124883345], [-16.147716844130581, 12.547761542201185], [-16.67745195155457, 12.38485158940105], [-16.84152462408127, 13.151393947802557], [-15.931295945692208, 13.130284125211331], [-15.691000535534991, 13.270353094938455], [-15.511812506562931, 13.278569647672864], [-15.141163295949463, 13.509511623585235], [-14.712197231494626, 13.298206691943774], [-14.277701788784553, 13.28058502853224], [-13.844963344772404, 13.505041612191999], [-14.046992356817478, 13.794067898000446], [-14.376713833055785, 13.625680243377371], [-14.687030808968483, 13.63035696049978], [-15.081735398813816, 13.876491807505982], [-15.398770310924457, 13.860368760630916], [-15.624596320039936, 13.623587347869556], [-16.713728807023468, 13.594958604379853]]] } }, + { "type": "Feature", "properties": { "admin": "Solomon Islands", "name": "Solomon Is.", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[162.119024693040842, -10.482719008021133], [162.398645868172196, -10.826367282762119], [161.700032180018354, -10.820011081590222], [161.319796991214702, -10.204751478723123], [161.917383254237933, -10.446700534713653], [162.119024693040842, -10.482719008021133]]], [[[160.852228631837903, -9.872937106977002], [160.462588332357228, -9.89520964929484], [159.849447463214176, -9.794027194867367], [159.640002883135139, -9.639979750205269], [159.70294477766663, -9.242949720906777], [160.362956170898428, -9.400304457235533], [160.688517694337179, -9.610162448772808], [160.852228631837903, -9.872937106977002]]], [[[161.679981724289121, -9.599982191611373], [161.52939660059053, -9.784312025596433], [160.788253208660507, -8.917543226764918], [160.579997186524338, -8.320008640173965], [160.92002811100491, -8.320008640173965], [161.280006138349961, -9.120011488484449], [161.679981724289121, -9.599982191611373]]], [[[159.875027297198585, -8.337320244991714], [159.917401971677975, -8.538289890174864], [159.133677199539335, -8.114181410355398], [158.586113722974687, -7.754823500197713], [158.211149530264834, -7.421872246941147], [158.359977655265425, -7.320017998893915], [158.820001255527671, -7.56000335045739], [159.640002883135139, -8.020026950719567], [159.875027297198585, -8.337320244991714]]], [[[157.53842573468927, -7.347819919466928], [157.339419793933217, -7.404767347852554], [156.902030471014768, -7.176874281445391], [156.491357863591304, -6.765943291860394], [156.542827590153934, -6.599338474151478], [157.140000441718882, -7.021638278840653], [157.53842573468927, -7.347819919466928]]]] } }, + { "type": "Feature", "properties": { "admin": "Sierra Leone", "name": "Sierra Leone", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-11.438779466182053, 6.785916856305746], [-11.708194545935736, 6.860098374860724], [-12.428098924193815, 7.262942002792029], [-12.949049038128193, 7.798645738145736], [-13.124025437868479, 8.163946438016977], [-13.246550258832512, 8.903048610871506], [-12.711957566773076, 9.342711696810765], [-12.596719122762206, 9.620188300001969], [-12.425928514037562, 9.835834051955953], [-12.150338100625003, 9.858571682164378], [-11.917277390988655, 10.046983954300556], [-11.117481248407328, 10.045872911006283], [-10.839151984083299, 9.688246161330367], [-10.622395188835037, 9.267910061068276], [-10.65477047366589, 8.977178452994194], [-10.494315151399629, 8.715540676300433], [-10.505477260774667, 8.348896389189603], [-10.230093553091276, 8.406205552601291], [-10.695594855176477, 7.939464016141085], [-11.14670427086838, 7.396706447779534], [-11.199801805048278, 7.105845648624735], [-11.438779466182053, 6.785916856305746]]] } }, + { "type": "Feature", "properties": { "admin": "El Salvador", "name": "El Salvador", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-87.793111131526558, 13.384480495655051], [-87.904112108089507, 13.149016831917134], [-88.483301561216791, 13.163951320849488], [-88.843227912129692, 13.259733588102474], [-89.256742723329282, 13.4585328231293], [-89.812393561547637, 13.520622056527994], [-90.095554572290951, 13.73533763270073], [-90.064677903996568, 13.881969509328924], [-89.7219339668207, 14.134228013561694], [-89.5342193265205, 14.244815578666302], [-89.587342698916544, 14.362586167859485], [-89.353325975282772, 14.424132798719112], [-89.058511929057644, 14.340029405164085], [-88.843072882832814, 14.140506700085169], [-88.541230841815974, 13.980154730683475], [-88.50399797234968, 13.845485948130854], [-88.065342576840123, 13.964625962779774], [-87.859515347021585, 13.893312486216979], [-87.723502977229387, 13.785050360565503], [-87.793111131526558, 13.384480495655051]]] } }, + { "type": "Feature", "properties": { "admin": "Somaliland", "name": "Somaliland", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[48.938129510296491, 9.451748968946672], [48.486735874226994, 8.837626247589979], [47.78942, 8.003], [46.948328484897942, 7.996876532417386], [43.67875, 9.183580000000116], [43.296975132018744, 9.540477403191742], [42.92812, 10.021940000000139], [42.55876, 10.572580000000126], [42.776851841000948, 10.926878566934416], [43.145304803242126, 11.462039699748853], [43.470659620951658, 11.27770986576388], [43.666668328634834, 10.864169216348158], [44.117803582542805, 10.445538438351603], [44.614259067570849, 10.442205308468941], [45.556940545439133, 10.698029486529775], [46.645401238802997, 10.816549383991171], [47.525657586462778, 11.127228094929986], [48.021596307167769, 11.193063869669741], [48.378783807169263, 11.375481675660122], [48.948206414593457, 11.410621649618516], [48.942005242718423, 11.394266058798163], [48.938491245322595, 10.982327378783451], [48.938232863161076, 9.973500067581481], [48.938129510296491, 9.451748968946672]]] } }, + { "type": "Feature", "properties": { "admin": "Somalia", "name": "Somalia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[49.72862, 11.5789], [50.25878, 11.67957], [50.73202, 12.0219], [51.1112, 12.02464], [51.13387, 11.74815], [51.04153, 11.16651], [51.04531, 10.6409], [50.83418, 10.27972], [50.55239, 9.19874], [50.07092, 8.08173], [49.4527, 6.80466], [48.59455, 5.33911], [47.74079, 4.2194], [46.56476, 2.85529], [45.56399, 2.04576], [44.06815, 1.05283], [43.13597, 0.2922], [42.04157, -0.91916], [41.81095, -1.44647], [41.58513, -1.68325], [40.993, -0.85829], [40.98105, 2.78452], [41.855083092643966, 3.918911920483726], [42.12861, 4.23413], [42.76967, 4.25259], [43.66087, 4.95755], [44.9636, 5.00162], [47.78942, 8.003], [48.486735874226937, 8.837626247589993], [48.938129510296442, 9.451748968946616], [48.938232863161026, 9.973500067581508], [48.938491245322481, 10.982327378783465], [48.942005242718345, 11.394266058798136], [48.948204758509732, 11.410617281697961], [49.26776, 11.43033], [49.72862, 11.5789]]] } }, + { "type": "Feature", "properties": { "admin": "Republic of Serbia", "name": "Serbia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[20.874312778413408, 45.416375433934306], [21.483526238702204, 45.181170152357865], [21.562022739353718, 44.768947251965635], [22.145087924902892, 44.478422349620573], [22.459022251075961, 44.702517198254426], [22.705725538837434, 44.578002834647002], [22.47400841644065, 44.409227606781762], [22.657149692483067, 44.234923000661347], [22.410446404721593, 44.008063462900047], [22.500156691180219, 43.642814439460999], [22.986018507588479, 43.211161200527094], [22.604801466571352, 42.898518785161109], [22.43659467946139, 42.580321153323943], [22.545011834409642, 42.461362006188025], [22.380525750424674, 42.320259507815074], [21.917080000000105, 42.30364], [21.576635989402117, 42.245224397061847], [21.54332, 42.32025], [21.66292, 42.43922], [21.77505, 42.6827], [21.63302, 42.67717], [21.43866, 42.86255], [21.27421, 42.90959], [21.143395, 43.068685000000123], [20.95651, 43.13094], [20.81448, 43.27205], [20.63508, 43.21671], [20.49679, 42.88469], [20.25758, 42.81275], [20.3398, 42.89852], [19.95857, 43.10604], [19.63, 43.213779970270522], [19.48389, 43.35229], [19.21852, 43.52384], [19.454, 43.568100000000115], [19.59976, 44.03847], [19.11761, 44.42307], [19.36803, 44.863], [19.00548, 44.86023], [19.390475701584588, 45.236515611342369], [19.072768995854172, 45.521511135432078], [18.82982, 45.90888], [19.596044549241636, 46.171729844744547], [20.22019249846289, 46.127468980486569], [20.76217492033998, 45.734573065771478], [20.874312778413408, 45.416375433934306]]] } }, + { "type": "Feature", "properties": { "admin": "Suriname", "name": "Suriname", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-57.147436489476874, 5.973149929219161], [-55.949318406789786, 5.772877915872], [-55.841779751190408, 5.953125311706059], [-55.033250291551759, 6.025291449401662], [-53.958044603070888, 5.756548163267764], [-54.478632981979224, 4.896755682795585], [-54.3995422023565, 4.212611395683466], [-54.006930508018996, 3.620037746592558], [-54.181726040246261, 3.189779771330421], [-54.269705166223183, 2.732391669115046], [-54.524754197799709, 2.311848863123785], [-55.097587449755125, 2.523748073736612], [-55.569755011605984, 2.42150625244713], [-55.973322109589361, 2.510363877773016], [-56.073341844290283, 2.220794989425499], [-55.905600145070871, 2.021995754398659], [-55.995698004771739, 1.817667141116601], [-56.53938574891454, 1.89952260986692], [-57.150097825739898, 2.768926906745406], [-57.281433478409703, 3.333491929534119], [-57.601568976457848, 3.334654649260684], [-58.044694383360664, 4.060863552258382], [-57.860209520078691, 4.576801052260449], [-57.914288906472123, 4.812626451024413], [-57.307245856339492, 5.073566595882225], [-57.147436489476874, 5.973149929219161]]] } }, + { "type": "Feature", "properties": { "admin": "Slovakia", "name": "Slovakia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[18.85314415861361, 49.496229763377634], [18.909574822676316, 49.435845852244562], [19.320712517990469, 49.571574001659179], [19.825022820726865, 49.217125352569219], [20.415839471119849, 49.431453355499755], [20.887955356538406, 49.328772284535823], [21.607808058364206, 49.470107326854077], [22.558137648211751, 49.08573802346713], [22.280841912533553, 48.825392157580659], [22.085608351334848, 48.422264309271782], [21.872236362401729, 48.319970811550007], [20.801293979584919, 48.62385407164237], [20.473562045989862, 48.562850043321809], [20.239054396249344, 48.327567247096916], [19.769470656013109, 48.2026911484636], [19.66136355965849, 48.266614895208647], [19.174364861739885, 48.111378892603859], [18.777024773847668, 48.081768296900627], [18.696512892336923, 47.88095368101439], [17.857132602620023, 47.758428860050365], [17.488472934649813, 47.867466132186209], [16.979666782304033, 48.123497015976298], [16.879982944412998, 48.470013332709463], [16.960288120194573, 48.596982326850593], [17.101984897538895, 48.8169688991171], [17.545006951577101, 48.800019029325362], [17.886484816161808, 48.903475246773695], [17.913511590250462, 48.996492824899072], [18.104972771891848, 49.043983466175298], [18.170498488037961, 49.271514797556421], [18.399993523846174, 49.315000515330034], [18.554971144289478, 49.495015367218777], [18.85314415861361, 49.496229763377634]]] } }, + { "type": "Feature", "properties": { "admin": "Slovenia", "name": "Slovenia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[13.806475457421524, 46.509306138691201], [14.632471551174827, 46.431817328469535], [15.137091912504982, 46.658702704447016], [16.011663852612653, 46.683610744811688], [16.202298211337361, 46.852385972676949], [16.370504998447412, 46.841327216166498], [16.564808383864854, 46.503750922219822], [15.768732944408548, 46.238108222023442], [15.671529575267552, 45.834153550797865], [15.323953891672403, 45.731782538427673], [15.327674594797424, 45.452316392593218], [14.935243767972931, 45.471695054702671], [14.595109490627804, 45.6349409043127], [14.411968214585411, 45.466165676447446], [13.715059848697221, 45.500323798192369], [13.937630242578305, 45.591015936864608], [13.698109978905475, 46.016778062517339], [13.806475457421524, 46.509306138691201]]] } }, + { "type": "Feature", "properties": { "admin": "Sweden", "name": "Sweden", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[22.183173455501922, 65.723740546320158], [21.213516879977213, 65.02600535751526], [21.369631381930954, 64.413587958424273], [19.778875766690216, 63.609554348395022], [17.847779168375208, 62.749400132896803], [17.11955488451812, 61.341165676510954], [17.831346062906388, 60.636583360427394], [18.787721795332086, 60.081914374422581], [17.869224887776337, 58.95376618105869], [16.829185011470084, 58.719826972073385], [16.44770958829147, 57.041118069071871], [15.87978559740378, 56.104301866268649], [14.666681349352071, 56.20088511822216], [14.100721062891461, 55.407781073622637], [12.942910597392054, 55.361737372450563], [12.625100538797025, 56.307080186581956], [11.787942335668671, 57.441817125063061], [11.027368605196866, 58.856149400459344], [11.468271925511145, 59.432393296946024], [12.300365838274896, 60.117932847730025], [12.631146681375181, 61.293571682370121], [11.992064243221559, 61.800362453856543], [11.930569288794228, 63.128317572676963], [12.57993533697393, 64.066218980558318], [13.571916131248711, 64.049114081469696], [13.9199052263022, 64.445420640716065], [13.555689731509087, 64.7870276963815], [15.108411492582999, 66.19386688909546], [16.108712192456775, 67.302455552836875], [16.768878614985478, 68.013936672631388], [17.729181756265344, 68.010551866316263], [17.993868442464329, 68.567391262477344], [19.878559604581248, 68.407194322372561], [20.025268995857882, 69.065138658312691], [20.645592889089521, 69.106247260200846], [21.978534783626113, 68.616845608180682], [23.539473097434435, 67.936008612735236], [23.565879754335576, 66.396050930437411], [23.903378533633795, 66.006927395279604], [22.183173455501922, 65.723740546320158]]] } }, + { "type": "Feature", "properties": { "admin": "Swaziland", "name": "Swaziland", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[32.071665480281062, -26.733820082304902], [31.868060337051073, -27.17792734142127], [31.282773064913325, -27.285879408478991], [30.685961948374477, -26.743845310169526], [30.676608514129633, -26.398078301704604], [30.949666782359905, -26.022649021104144], [31.044079624157146, -25.731452325139436], [31.333157586397899, -25.660190525008943], [31.837777947728057, -25.843331801051342], [31.985779249811962, -26.29177988048022], [32.071665480281062, -26.733820082304902]]] } }, + { "type": "Feature", "properties": { "admin": "Syria", "name": "Syria", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[38.792340529136077, 33.378686428352218], [36.834062127435537, 32.312937526980768], [35.719918247222743, 32.709192409794859], [35.700797967274745, 32.716013698857374], [35.836396925608618, 32.868123277308506], [35.821100701650231, 33.277426459276292], [36.066460402172048, 33.824912421192543], [36.611750115715886, 34.201788641897174], [36.448194207512095, 34.59393524834406], [35.998402540843628, 34.644914048799997], [35.905023227692219, 35.410009467097318], [36.149762811026527, 35.821534735653664], [36.417550083163029, 36.040616970355053], [36.685389031731795, 36.259699205056457], [36.739494256341395, 36.817520453431079], [37.066761102045824, 36.623036200500614], [38.167727492024191, 36.901210435527766], [38.699891391765895, 36.712927354472335], [39.522580193852541, 36.716053778625984], [40.673259311695681, 37.091276353497285], [41.212089471203043, 37.074352321921687], [42.349591098811764, 37.22987254490409], [41.837064243340954, 36.605853786763568], [41.289707472505448, 36.358814602192261], [41.383965285005807, 35.628316555314349], [41.00615888851992, 34.419372260062111], [38.792340529136077, 33.378686428352218]]] } }, + { "type": "Feature", "properties": { "admin": "Chad", "name": "Chad", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[14.495787387762899, 12.859396267137353], [14.595781284247604, 13.330426947477859], [13.954476759505607, 13.353448798063765], [13.956698846094124, 13.996691189016925], [13.540393507550785, 14.36713369390122], [13.97217, 15.68437], [15.247731154041842, 16.627305813050778], [15.300441114979716, 17.927949937405], [15.68574059414777, 19.957180080642384], [15.90324669766431, 20.387618923417499], [15.487148064850143, 20.730414537025634], [15.47106, 21.04845], [15.096887648181847, 21.308518785074902], [14.8513, 22.862950000000119], [15.86085, 23.40972], [19.84926, 21.49509], [23.837660000000135, 19.580470000000101], [23.886890000000101, 15.61084], [23.02459, 15.68072], [22.567950000000106, 14.944290000000134], [22.30351, 14.32682], [22.51202, 14.09318], [22.18329, 13.78648], [22.29658, 13.37232], [22.03759, 12.95546], [21.93681, 12.588180000000133], [22.28801, 12.64605], [22.49762, 12.26024], [22.50869, 11.67936], [22.87622, 11.384610000000119], [22.864165480244246, 11.142395127807616], [22.231129184668756, 10.971888739460608], [21.723821648859538, 10.567055568885959], [21.000868361096305, 9.475985215691479], [20.059685499764267, 9.012706000194838], [19.094008009526071, 9.074846910025768], [18.81200971850927, 8.982914536978623], [18.911021762780589, 8.630894680206435], [18.389554884523303, 8.281303615751879], [17.964929640380884, 7.890914008002992], [16.705988396886365, 7.508327541529978], [16.4561845231874, 7.734773667832938], [16.290561557691884, 7.754307359239417], [16.106231723706738, 7.497087917506461], [15.279460483469164, 7.42192454673801], [15.436091749745737, 7.692812404811887], [15.120865512765302, 8.382150173369437], [14.979995558337688, 8.796104234243442], [14.544466586981851, 8.965861314322238], [13.954218377344088, 9.549494940626685], [14.17146609869911, 10.021378282100043], [14.627200555081057, 9.920919297724591], [14.909353875394796, 9.992129421422758], [15.46787275560524, 9.982336737503543], [14.923564894275042, 10.891325181517514], [14.960151808337679, 11.555574042197234], [14.89336, 12.21905], [14.495787387762899, 12.859396267137353]]] } }, + { "type": "Feature", "properties": { "admin": "Togo", "name": "Togo", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[1.865240512712318, 6.14215770102973], [1.060121697604927, 5.928837388528875], [0.836931186536333, 6.279978745952147], [0.570384148774849, 6.914358628767188], [0.490957472342245, 7.411744289576474], [0.712029249686878, 8.312464504423827], [0.461191847342121, 8.677222601756013], [0.365900506195885, 9.46500397382948], [0.367579990245389, 10.191212876827176], [-0.049784715159944, 10.706917832883928], [0.023802524423701, 11.018681748900802], [0.899563022474069, 10.997339382364258], [0.772335646171484, 10.470808213742357], [1.077795037448737, 10.175606594275022], [1.425060662450136, 9.825395412632998], [1.46304284018467, 9.334624335157086], [1.664477573258381, 9.128590399609378], [1.618950636409238, 6.832038072126236], [1.865240512712318, 6.14215770102973]]] } }, + { "type": "Feature", "properties": { "admin": "Thailand", "name": "Thailand", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[102.58493248902667, 12.186594956913279], [101.687157830819928, 12.645740057826568], [100.831809523524839, 12.627084865769204], [100.978467238369191, 13.412721665902563], [100.097797479251099, 13.406856390837429], [100.018732537844528, 12.307001044153353], [99.478920526123602, 10.846366685423545], [99.153772414143134, 9.963061428258554], [99.222398716226749, 9.239255479362425], [99.873831821698118, 9.207862046745118], [100.279646844486194, 8.29515289960605], [100.45927412313273, 7.429572658717175], [101.017327915452697, 6.856868597842476], [101.623079054778032, 6.740622463401918], [102.141186964936367, 6.221636053894626], [101.81428185425797, 5.810808417174242], [101.154218784593837, 5.691384182147713], [101.075515578213327, 6.20486705161592], [100.259596388756933, 6.642824815289542], [100.085756870527092, 6.46448944745029], [99.690690545655727, 6.848212795433595], [99.519641554769606, 7.343453884302759], [98.988252801512289, 7.907993068875325], [98.503786248775967, 8.382305202666286], [98.339661899816988, 7.794511623562384], [98.150009393305808, 8.350007432483876], [98.259150018306229, 8.973922837759799], [98.553550653073017, 9.932959906448543], [99.038120558673953, 10.960545762572435], [99.587286004639694, 11.892762762901695], [99.196353794351637, 12.804748439988666], [99.212011753336071, 13.269293728076462], [99.097755161538728, 13.827502549693275], [98.430819126379859, 14.622027696180831], [98.192074009191373, 15.123702500870349], [98.537375929765687, 15.308497422746081], [98.90334842325673, 16.177824204976115], [98.493761020911322, 16.837835598207928], [97.859122755934848, 17.567946071843657], [97.375896437573516, 18.445437730375811], [97.797782830804394, 18.627080389881751], [98.253723992915582, 19.708203029860041], [98.959675734454848, 19.752980658440944], [99.543309360759281, 20.186597601802056], [100.115987583417819, 20.41784963630818], [100.548881056726856, 20.109237982661124], [100.606293573003128, 19.508344427971217], [101.282014601651667, 19.462584947176762], [101.035931431077742, 18.408928330961611], [101.059547560635139, 17.512497259994486], [102.113591750092453, 18.109101670804161], [102.413004998791592, 17.932781683824281], [102.998705682387694, 17.961694647691598], [103.200192091893726, 18.309632066312769], [103.956476678485288, 18.240954087796872], [104.716947056092465, 17.428858954330078], [104.779320509868768, 16.441864935771445], [105.589038527450128, 15.570316066952856], [105.544338413517664, 14.723933620660414], [105.218776890078871, 14.27321177821069], [104.281418084736586, 14.416743068901363], [102.988422072361601, 14.225721136934464], [102.348099399833004, 13.39424734135822], [102.58493248902667, 12.186594956913279]]] } }, + { "type": "Feature", "properties": { "admin": "Tajikistan", "name": "Tajikistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[71.014198032520156, 40.244365546218226], [70.648018833299957, 39.935753892571157], [69.559609816368507, 40.103211371412968], [69.464886915977516, 39.526683254548693], [70.549161818325601, 39.604197902986492], [71.784693637991992, 39.279463202464363], [73.67537926625478, 39.431236884105594], [73.928852166646408, 38.505815334622724], [74.257514276022718, 38.606506862943441], [74.864815708316812, 38.378846340481587], [74.829985792952087, 37.990007025701388], [74.980002475895404, 37.419990139305888], [73.948695916646486, 37.421566270490786], [73.260055779924983, 37.495256862938994], [72.636889682917271, 37.047558091778349], [72.193040805962383, 36.94828766534566], [71.84463829945058, 36.738171291646914], [71.448693475230229, 37.065644843080513], [71.541917759084768, 37.905774441065631], [71.239403924448155, 37.953265082341879], [71.348131137990251, 38.258905341132156], [70.806820509732873, 38.486281643216408], [70.376304152309274, 38.138395901027515], [70.270574171840124, 37.73516469985401], [70.116578403610319, 37.588222764632086], [69.518785434857946, 37.608996690413413], [69.196272820924364, 37.15114350030742], [68.859445835245921, 37.344335842430588], [68.135562371701369, 37.023115139304302], [67.829999627559502, 37.144994004864678], [68.392032505165943, 38.157025254868728], [68.176025018185911, 38.901553453113898], [67.442219679641298, 39.140143541005479], [67.701428664017342, 39.580478420564518], [68.536416456989414, 39.533452867178923], [69.011632928345477, 40.086158148756653], [69.329494663372813, 40.727824408524839], [70.666622348925031, 40.960213324541407], [70.458159621059608, 40.49649485937028], [70.601406691372674, 40.218527330072284], [71.014198032520156, 40.244365546218226]]] } }, + { "type": "Feature", "properties": { "admin": "Turkmenistan", "name": "Turkmenistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[61.21081709172573, 35.650072333309218], [61.123070509694131, 36.491597194966239], [60.377637973883864, 36.52738312432836], [59.234761997316795, 37.412987982730336], [58.436154412678192, 37.522309475243794], [57.330433790928964, 38.029229437810933], [56.619366082592805, 38.121394354803478], [56.180374790273319, 37.935126654607423], [55.511578403551894, 37.964117133123153], [54.800303989486558, 37.392420762678178], [53.921597934795543, 37.198918361961255], [53.735511102112504, 37.906136176091685], [53.880928582581831, 38.952093003895349], [53.101027866432894, 39.290573635407121], [53.357808058491216, 39.975286363274442], [52.693972609269807, 40.033629055331964], [52.91525109234361, 40.87652334244472], [53.85813927594112, 40.631034450842165], [54.736845330632136, 40.951014919593455], [54.0083109881813, 41.551210842447404], [53.721713494690576, 42.123191433270016], [52.916749708880069, 41.868116563477322], [52.81468875510361, 41.135370591794704], [52.502459751196135, 41.783315538086356], [52.94429324729164, 42.116034247397586], [54.079417759014937, 42.324109402020817], [54.755345493392625, 42.04397146256656], [55.455251092353755, 41.259859117185826], [55.968191359282898, 41.308641669269356], [57.096391229079089, 41.32231008561056], [56.93221520368779, 41.82602610937559], [57.786529982337065, 42.170552883465511], [58.629010857991453, 42.751551011723045], [59.976422153569771, 42.223081976890199], [60.083340691981654, 41.425146185871391], [60.46595299667068, 41.22032664648254], [61.547178989513547, 41.2663703476546], [61.882714064384679, 41.084856879229392], [62.374260288344992, 40.053886216790382], [63.518014764261018, 39.363256537425627], [64.170223016216752, 38.892406724598231], [65.215998976507379, 38.402695013984292], [66.546150343700205, 37.974684963526855], [66.518606805288655, 37.362784328758785], [66.217384881459324, 37.393790188133913], [65.745630731066811, 37.661164048812061], [65.588947788357828, 37.305216783185628], [64.746105177677393, 37.111817735333297], [64.546479119733888, 36.31207326918426], [63.982895949158696, 36.007957465146596], [63.193538445900337, 35.857165635718907], [62.984662306576588, 35.404040839167614], [62.230651483005879, 35.270663967422287], [61.21081709172573, 35.650072333309218]]] } }, + { "type": "Feature", "properties": { "admin": "East Timor", "name": "Timor-Leste", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[124.96868248911619, -8.892790215697081], [125.086246372580248, -8.656887302284678], [125.947072381698234, -8.432094821815033], [126.64470421763852, -8.39824675866385], [126.957243280139792, -8.273344821814396], [127.335928175974615, -8.397316582882601], [126.967991978056517, -8.668256117388891], [125.925885044458568, -9.106007175333351], [125.088520135601073, -9.393173109579292], [125.070019972840583, -9.08998748132287], [124.96868248911619, -8.892790215697081]]] } }, + { "type": "Feature", "properties": { "admin": "Trinidad and Tobago", "name": "Trinidad and Tobago", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-61.68, 10.76], [-61.105, 10.89], [-60.895, 10.855], [-60.935, 10.11], [-61.77, 10.0], [-61.95, 10.09], [-61.66, 10.365], [-61.68, 10.76]]] } }, + { "type": "Feature", "properties": { "admin": "Tunisia", "name": "Tunisia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[9.482139926805273, 30.307556057246181], [9.055602654668148, 32.102691962201284], [8.439102817426116, 32.506284898400814], [8.430472853233367, 32.748337307255944], [7.612641635782181, 33.344114895148955], [7.524481642292242, 34.097376410451453], [8.140981479534302, 34.655145982393783], [8.376367628623766, 35.479876003555937], [8.217824334352313, 36.433176988260271], [8.420964389691674, 36.946427313783154], [9.509993523810605, 37.349994411766531], [10.210002475636315, 37.230001735984807], [10.180650262094529, 36.724037787415071], [11.028867221733348, 37.09210317641395], [11.100025668999249, 36.899996039368908], [10.600004510143092, 36.410000108377368], [10.593286573945134, 35.947444362932806], [10.939518670300686, 35.698984076473486], [10.807847120821007, 34.833507188449182], [10.149592726287123, 34.330773016897702], [10.339658644256613, 33.785741685515312], [10.856836378633684, 33.768740139291275], [11.108500603895118, 33.293342800422188], [11.488787469131008, 33.136995754523134], [11.432253452203692, 32.368903103152867], [10.944789666394453, 32.081814683555358], [10.636901482799484, 31.761420803345747], [9.950225050505081, 31.376069647745251], [10.056575148161752, 30.961831366493595], [9.97001712407285, 30.539324856075236], [9.482139926805273, 30.307556057246181]]] } }, + { "type": "Feature", "properties": { "admin": "Turkey", "name": "Turkey", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[36.913127068842151, 41.335358384764291], [38.347664829264502, 40.948586127275711], [39.512606642420238, 41.102762763018561], [40.373432651538245, 41.013672593747337], [41.554084100110707, 41.535656236327604], [42.619548781104548, 41.58317271581992], [43.582745802592704, 41.09214325618256], [43.752657911968491, 40.740200914058811], [43.656436395040963, 40.253563951166157], [44.400008579288759, 40.005000311842302], [44.79398969908199, 39.713002631177027], [44.109225294782355, 39.428136298168049], [44.421402622257595, 38.281281236314513], [44.225755649600522, 37.971584377589345], [44.772699008977739, 37.170444647768441], [44.293451775902852, 37.001514390606353], [43.942258742047343, 37.256227525372928], [42.77912560402185, 37.385263576805798], [42.349591098811764, 37.229872544904104], [41.212089471203015, 37.074352321921729], [40.673259311695702, 37.091276353497356], [39.522580193852512, 36.716053778626012], [38.699891391765917, 36.712927354472313], [38.167727492024156, 36.90121043552778], [37.066761102045824, 36.623036200500614], [36.739494256341366, 36.817520453431108], [36.685389031731816, 36.259699205056499], [36.417550083163086, 36.040616970355096], [36.149762811026584, 35.821534735653664], [35.782084995269848, 36.274995429014915], [36.160821567537049, 36.650605577128367], [35.550936313628334, 36.565442816711325], [34.714553256984367, 36.795532131490909], [34.026894972476455, 36.219960028623966], [32.509158156064096, 36.107563788389193], [31.69959516777956, 36.644275214172602], [30.621624790171062, 36.677864895162308], [30.391096225717114, 36.262980658506983], [29.69997562024556, 36.144357408181001], [28.732902866335387, 36.676831366516431], [27.641186557737363, 36.658822129862749], [27.048767937943289, 37.653360907536005], [26.318218214633042, 38.208133246405382], [26.804700148228726, 38.985760199533551], [26.170785353304375, 39.463612168936457], [27.280019972449388, 40.420013739578302], [28.819977654747209, 40.460011298172212], [29.240003696415574, 41.219990749672682], [31.145933872204434, 41.087621568357058], [32.347979363745786, 41.736264146484629], [33.513282911927512, 42.018960069337304], [35.167703891751863, 42.040224921225438], [36.913127068842151, 41.335358384764291]]], [[[27.192376743282406, 40.690565700842448], [26.358009067497782, 40.151993923496477], [26.043351271272535, 40.617753607743161], [26.056942172965332, 40.824123440100735], [26.294602085075692, 40.936261298174166], [26.604195590936282, 41.562114569661013], [26.117041863720825, 41.826904608724554], [27.135739373490505, 42.141484890301307], [27.996720411905407, 42.007358710287768], [28.115524529744441, 41.622886054036279], [28.988442824018779, 41.299934190428175], [28.806438429486743, 41.05496206314853], [27.619017368284112, 40.999823309893102], [27.192376743282406, 40.690565700842448]]]] } }, + { "type": "Feature", "properties": { "admin": "Taiwan", "name": "Taiwan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[121.777817824389899, 24.394273586519393], [121.175632358892713, 22.790857245367164], [120.747079705896198, 21.970571397382106], [120.220083449383651, 22.814860948166732], [120.106188592612369, 23.556262722258229], [120.694679803552233, 24.53845083261373], [121.49504438688875, 25.295458889257379], [121.951243931161429, 24.997595933527034], [121.777817824389899, 24.394273586519393]]] } }, + { "type": "Feature", "properties": { "admin": "United Republic of Tanzania", "name": "Tanzania", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[33.903711197104592, -0.95], [34.07262, -1.05982], [37.69869, -3.09699], [37.7669, -3.67712], [39.20222, -4.67677], [38.74054, -5.90895], [38.79977, -6.47566], [39.44, -6.84], [39.470000000000134, -7.1], [39.19469, -7.7039], [39.25203, -8.00781], [39.18652, -8.48551], [39.53574, -9.112369999999883], [39.9496, -10.0984], [40.31659, -10.317099999999867], [39.521, -10.89688], [38.427556593587767, -11.285202325081626], [37.82764, -11.26879], [37.47129, -11.56876], [36.775150994622884, -11.59453744878078], [36.514081658684397, -11.720938002166745], [35.312397902169145, -11.439146416879165], [34.559989047999451, -11.520020033415845], [34.28, -10.16], [33.940837724096518, -9.693673841980283], [33.73972, -9.41715], [32.759375441221373, -9.230599053589001], [32.191864861791935, -8.930358981973255], [31.556348097466628, -8.762048841998647], [31.157751336950064, -8.594578747317312], [30.74, -8.34], [30.2, -7.08], [29.62, -6.52], [29.419992710088305, -5.939998874539297], [29.519986606573063, -5.419978936386257], [29.339997592900367, -4.499983412294113], [29.753512404099858, -4.452389418153301], [30.11632, -4.09012], [30.50554, -3.56858], [30.75224, -3.35931], [30.74301, -3.03431], [30.52766, -2.80762], [30.46967, -2.41383], [30.758308953583132, -2.287250257988375], [30.816134881317844, -1.698914076345374], [30.419104852019291, -1.134659112150416], [30.769860000000101, -1.01455], [31.86617, -1.02736], [33.903711197104592, -0.95]]] } }, + { "type": "Feature", "properties": { "admin": "Uganda", "name": "Uganda", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[31.86617, -1.02736], [30.769860000000101, -1.01455], [30.419104852019291, -1.134659112150416], [29.821518588996121, -1.443322442229771], [29.579466180141019, -1.341313164885605], [29.587837762172164, -0.587405694179381], [29.8195, -0.2053], [29.875778842902431, 0.597379868976361], [30.086153598762785, 1.062312730306416], [30.468507521290285, 1.583805446779706], [30.852670118948133, 1.849396470543752], [31.174149204235952, 2.204465236821306], [30.77332, 2.339890000000139], [30.83385, 3.50917], [31.24556, 3.7819], [31.88145, 3.55827], [32.68642, 3.79232], [33.39, 3.79], [34.005, 4.249884947362147], [34.47913, 3.5556], [34.59607, 3.053740000000118], [35.03599, 1.90584], [34.6721, 1.17694], [34.18, 0.515], [33.893568969666994, 0.109813537861839], [33.903711197104592, -0.95], [31.86617, -1.02736]]] } }, + { "type": "Feature", "properties": { "admin": "Ukraine", "name": "Ukraine", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[31.78599816257158, 52.10167796488544], [32.159412062312661, 52.061266994833204], [32.412058139787625, 52.288694973349735], [32.715760532366964, 52.238465481162038], [33.7526998227357, 52.335074571331681], [34.391730584457001, 51.768881740925778], [34.141978387190385, 51.566413479206226], [34.22481570815426, 51.255993150428942], [35.022183058417873, 51.207572333371445], [35.377923618315116, 50.773955390010343], [35.35611616388794, 50.577197374059054], [36.62616784032533, 50.225590928745127], [37.393459506995065, 50.383953355503586], [38.01063113785689, 49.915661526074622], [38.59498823421341, 49.926461900423618], [40.069058465339097, 49.601055406281688], [40.080789015469342, 49.307429917999272], [39.674663934087526, 48.783818467801872], [39.895632358567575, 48.232405097031425], [39.738277622238819, 47.898937079451983], [38.770584751141186, 47.825608222029807], [38.255112339029743, 47.546400458356807], [38.223538038899413, 47.102189846375872], [37.42513715998998, 47.022220567404197], [36.759854770664383, 46.698700263040919], [35.823684523264816, 46.645964463887054], [34.962341749823871, 46.273196519549636], [35.020787794745978, 45.65121898048465], [35.51000857925316, 45.409993394546177], [36.529997999830151, 45.46998973243705], [36.334712762199146, 45.113215643893952], [35.239999220528112, 44.939996242851599], [33.882511020652878, 44.361478583344066], [33.326420932760037, 44.564877020844875], [33.546924269349446, 45.034770819674883], [32.454174432105496, 45.327466132176063], [32.630804477679128, 45.519185695978905], [33.588162062318382, 45.851568508480227], [33.298567335754704, 46.08059845639783], [31.744140252415171, 46.333347886737378], [31.675307244602401, 46.706245022155528], [30.748748813609094, 46.583100084003995], [30.37760867688888, 46.032410183285663], [29.603289015427425, 45.293308010431119], [29.149724969201646, 45.464925442072442], [28.679779493939371, 45.30403087013169], [28.233553501099035, 45.488283189468369], [28.48526940279276, 45.596907050145887], [28.659987420371575, 45.939986884131628], [28.933717482221621, 46.258830471372491], [28.862972446414055, 46.437889309263824], [29.072106967899288, 46.517677720722482], [29.170653924279879, 46.379262396828693], [29.759971958136383, 46.349987697935354], [30.024658644335364, 46.423936672545032], [29.838210076626289, 46.525325832701675], [29.908851759569295, 46.67436066343145], [29.559674106573105, 46.928582872091312], [29.415135125452732, 47.346645209332571], [29.050867954227321, 47.510226955752493], [29.122698195113024, 47.849095160506458], [28.670891147585163, 48.118148505234089], [28.259546746541837, 48.155562242213406], [27.52253746919515, 48.467119452501102], [26.857823520624798, 48.368210761094488], [26.619336785597788, 48.220726223333457], [26.197450392366925, 48.220881252630342], [25.945941196402394, 47.987148749374207], [25.207743361112986, 47.891056423527459], [24.866317172960571, 47.737525743188307], [24.402056105250374, 47.981877753280422], [23.760958286237404, 47.985598456405448], [23.142236362406798, 48.096341050806942], [22.710531447040488, 47.882193915389394], [22.640819939878746, 48.150239569687351], [22.085608351334848, 48.422264309271782], [22.280841912533553, 48.825392157580659], [22.558137648211751, 49.08573802346713], [22.776418898212619, 49.027395331409608], [22.518450148211596, 49.476773586619736], [23.426508416444388, 50.308505764357449], [23.922757195743259, 50.424881089878738], [24.029985792748899, 50.705406602575174], [23.52707075368437, 51.578454087930233], [24.005077752384206, 51.617443956094448], [24.553106316839511, 51.888461005249177], [25.327787713327005, 51.910656032918538], [26.337958611768549, 51.832288723347915], [27.454066196408426, 51.59230337178446], [28.241615024536564, 51.572227077839059], [28.617612745892242, 51.427713934934836], [28.992835320763522, 51.602044379271462], [29.254938185347921, 51.368234361366881], [30.157363722460889, 51.416138414101454], [30.55511722181145, 51.319503485715643], [30.619454380014837, 51.822806098022362], [30.927549269338975, 52.042353420614383], [31.78599816257158, 52.10167796488544]]] } }, + { "type": "Feature", "properties": { "admin": "Uruguay", "name": "Uruguay", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-57.625133429582945, -30.216294854454258], [-56.976025763564721, -30.109686374636119], [-55.97324459494093, -30.883075860316296], [-55.601510179249331, -30.853878676071385], [-54.572451544805105, -31.494511407193745], [-53.787951626182185, -32.047242526987617], [-53.209588995971529, -32.727666110974717], [-53.650543992718084, -33.202004082981823], [-53.373661668498229, -33.768377780900757], [-53.806425950726521, -34.396814874002224], [-54.935866054897716, -34.952646579733617], [-55.674089728403274, -34.752658786764066], [-56.215297003796053, -34.85983570733741], [-57.139685024633096, -34.430456231424238], [-57.817860683815489, -34.462547295877492], [-58.427074144104381, -33.909454441057569], [-58.349611172098854, -33.2631889788154], [-58.132647671121433, -33.040566908502008], [-58.142440355040748, -32.044503676076147], [-57.874937303281875, -31.016556084926201], [-57.625133429582945, -30.216294854454258]]] } }, + { "type": "Feature", "properties": { "admin": "United States of America", "name": "United States", "continent": "North America" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-155.54211, 19.08348], [-155.68817, 18.91619], [-155.93665, 19.05939], [-155.90806, 19.33888], [-156.07347, 19.70294], [-156.02368, 19.81422], [-155.85008, 19.97729], [-155.91907, 20.17395], [-155.86108, 20.26721], [-155.78505, 20.2487], [-155.40214, 20.07975], [-155.22452, 19.99302], [-155.06226, 19.8591], [-154.80741, 19.50871], [-154.83147, 19.45328], [-155.222169999999892, 19.23972], [-155.54211, 19.08348]]], [[[-156.07926, 20.64397], [-156.41445, 20.57241], [-156.58673, 20.783], [-156.70167, 20.8643], [-156.71055, 20.92676], [-156.61258, 21.01249], [-156.25711, 20.91745], [-155.99566, 20.76404], [-156.07926, 20.64397]]], [[[-156.75824, 21.17684], [-156.78933, 21.06873], [-157.32521, 21.09777], [-157.25027, 21.21958], [-156.75824, 21.17684]]], [[[-157.65283, 21.32217], [-157.70703, 21.26442], [-157.7786, 21.27729], [-158.12667, 21.31244], [-158.2538, 21.53919], [-158.29265, 21.57912], [-158.0252, 21.71696], [-157.94161, 21.65272], [-157.65283, 21.32217]]], [[[-159.34512, 21.982], [-159.46372, 21.88299], [-159.80051, 22.06533], [-159.74877, 22.1382], [-159.5962, 22.23618], [-159.36569, 22.21494], [-159.34512, 21.982]]], [[[-94.81758, 49.38905], [-94.639999999999858, 48.840000000000103], [-94.32914, 48.67074], [-93.63087, 48.60926], [-92.61, 48.45], [-91.64, 48.14], [-90.829999999999856, 48.27], [-89.6, 48.01], [-89.272917446636654, 48.019808254582834], [-88.378114183286513, 48.302917588893806], [-87.439792623300207, 47.94], [-86.461990831228135, 47.553338019392037], [-85.652363247403215, 47.220218817730498], [-84.876079881514855, 46.900083319682366], [-84.779238247399817, 46.637101955749117], [-84.54374874544564, 46.538684190449224], [-84.6049, 46.4396], [-84.3367, 46.408770000000104], [-84.142119513673279, 46.512225857115723], [-84.091851264161463, 46.275418606138253], [-83.890765347005654, 46.116926988299149], [-83.616130947590491, 46.116926988299149], [-83.469550747394621, 45.994686387712584], [-83.592850714843067, 45.816893622412543], [-82.550924648758169, 45.347516587905446], [-82.337763125431053, 44.44], [-82.137642381503952, 43.571087551439987], [-82.43, 42.98], [-82.899999999999878, 42.430000000000135], [-83.119999999999877, 42.08], [-83.141999681312555, 41.975681057292995], [-83.029810146806909, 41.832795722005997], [-82.690089280920162, 41.675105088867319], [-82.439277716791608, 41.675105088867319], [-81.277746548167059, 42.209025987306845], [-80.247447679347843, 42.36619985612267], [-78.939362148743683, 42.863611355148116], [-78.92, 42.965], [-79.009999999999863, 43.27], [-79.171673550111862, 43.466339423184301], [-78.720279914042365, 43.625089423184953], [-77.737885097957601, 43.629055589363382], [-76.820034145805565, 43.628784288093748], [-76.5, 44.018458893758599], [-76.375, 44.09631], [-75.31821, 44.81645000000016], [-74.867, 45.00048000000011], [-73.347829999999874, 45.00738], [-71.505059999999858, 45.0082], [-71.405, 45.255000000000123], [-71.08482, 45.305240000000154], [-70.659999999999783, 45.46], [-70.305, 45.915], [-69.99997, 46.69307], [-69.237216, 47.447781], [-68.905, 47.185], [-68.23444, 47.35486], [-67.79046, 47.06636], [-67.79134, 45.702810000000134], [-67.13741, 45.13753], [-66.96466, 44.809700000000149], [-68.03252, 44.3252], [-69.059999999999874, 43.98], [-70.116169999999897, 43.684050000000141], [-70.645475633410967, 43.090238348964043], [-70.81489, 42.8653], [-70.825, 42.335], [-70.494999999999891, 41.805], [-70.08, 41.78], [-70.185, 42.145], [-69.88497, 41.922830000000111], [-69.96503, 41.637170000000161], [-70.64, 41.475], [-71.12039, 41.494450000000164], [-71.859999999999829, 41.32], [-72.295, 41.27], [-72.87643, 41.22065], [-73.71, 40.931102351654481], [-72.24126, 41.119480000000138], [-71.944999999999808, 40.93], [-73.345, 40.63], [-73.982, 40.628], [-73.952325, 40.75075], [-74.25671, 40.47351], [-73.96244, 40.42763], [-74.17838, 39.70926], [-74.90604, 38.93954], [-74.98041, 39.1964], [-75.20002, 39.24845], [-75.52805, 39.4985], [-75.32, 38.96], [-75.071834764789784, 38.782032230179276], [-75.05673, 38.404120000000106], [-75.37747, 38.01551], [-75.94023, 37.21689], [-76.03127, 37.2566], [-75.722049999999783, 37.937050000000106], [-76.23287, 38.319215], [-76.35, 39.15], [-76.542725, 38.717615], [-76.32933, 38.08326], [-76.98999793161353, 38.239991766913384], [-76.301619999999886, 37.917945], [-76.25874, 36.9664000000001], [-75.9718, 36.89726], [-75.868039999999809, 36.55125], [-75.72749, 35.550740000000125], [-76.36318, 34.808540000000129], [-77.39763499999988, 34.51201], [-78.05496, 33.92547], [-78.554349999999815, 33.861330000000116], [-79.06067, 33.49395], [-79.20357, 33.15839], [-80.301325, 32.509355], [-80.86498, 32.0333], [-81.33629, 31.44049], [-81.49042, 30.729990000000122], [-81.31371, 30.03552], [-80.98, 29.18000000000011], [-80.53558499999987, 28.47213], [-80.529999999999774, 28.04], [-80.056539284977532, 26.88000000000013], [-80.088015, 26.205765], [-80.131559999999837, 25.816775], [-80.38103, 25.20616], [-80.679999999999879, 25.08], [-81.17213, 25.201260000000126], [-81.33, 25.64], [-81.709999999999795, 25.87], [-82.239999999999895, 26.730000000000125], [-82.70515, 27.49504], [-82.85526, 27.88624], [-82.65, 28.550000000000146], [-82.929999999999865, 29.100000000000129], [-83.70959, 29.93656], [-84.1, 30.090000000000114], [-85.10882, 29.63615], [-85.28784, 29.686120000000127], [-85.7731, 30.152610000000116], [-86.399999999999878, 30.400000000000112], [-87.530359999999831, 30.27433], [-88.41782, 30.3849], [-89.180489999999836, 30.31598], [-89.593831178419748, 30.159994004836843], [-89.413735, 29.89419], [-89.43, 29.48864], [-89.21767, 29.29108], [-89.40823, 29.15961], [-89.77928, 29.307140000000135], [-90.15463, 29.11743], [-90.880224999999896, 29.148535000000116], [-91.626784999999842, 29.677000000000127], [-92.49906, 29.5523], [-93.22637, 29.78375], [-93.84842, 29.71363], [-94.69, 29.480000000000125], [-95.60026, 28.73863], [-96.59404, 28.30748], [-97.139999999999802, 27.83], [-97.37, 27.38], [-97.379999999999853, 26.69], [-97.33, 26.210000000000115], [-97.139999999999802, 25.87], [-97.529999999999859, 25.84], [-98.239999999999895, 26.060000000000109], [-99.019999999999854, 26.37], [-99.3, 26.84], [-99.52, 27.54], [-100.11, 28.11000000000012], [-100.45584, 28.696120000000118], [-100.957599999999886, 29.380710000000125], [-101.6624, 29.779300000000113], [-102.48, 29.76], [-103.11, 28.97], [-103.94, 29.27], [-104.456969999999814, 29.57196], [-104.705749999999895, 30.12173], [-105.03737, 30.64402], [-105.63159, 31.083830000000113], [-106.1429, 31.39995], [-106.507589999999794, 31.75452], [-108.24, 31.754853718166398], [-108.24194, 31.34222], [-109.035, 31.341940000000161], [-111.02361, 31.33472], [-113.30498, 32.03914], [-114.815, 32.52528], [-114.721389999999829, 32.72083], [-115.991349999999869, 32.61239000000014], [-117.127759999999753, 32.53534], [-117.295937691273863, 33.04622461520389], [-117.944, 33.621236431201389], [-118.410602275897475, 33.740909223124497], [-118.519894822799685, 34.027781577575745], [-119.081, 34.078], [-119.438840642016658, 34.348477178284291], [-120.36778, 34.44711], [-120.62286, 34.60855], [-120.74433, 35.156860000000101], [-121.714569999999853, 36.16153], [-122.54747, 37.551760000000101], [-122.51201, 37.783390000000132], [-122.95319, 38.113710000000104], [-123.7272, 38.951660000000111], [-123.865169999999878, 39.766990000000128], [-124.39807, 40.3132], [-124.17886, 41.142020000000109], [-124.2137, 41.999640000000134], [-124.532839999999894, 42.76599], [-124.14214, 43.70838], [-124.020535, 44.615895], [-123.898929999999893, 45.52341], [-124.079635, 46.86475], [-124.395669999999896, 47.72017], [-124.687210083007812, 48.184432983398537], [-124.566101074218736, 48.379714965820384], [-123.12, 48.04], [-122.587359999999876, 47.096], [-122.34, 47.36], [-122.5, 48.18], [-122.84, 49.0], [-120.0, 49.0], [-117.03121, 49.0], [-116.04818, 49.0], [-112.999999999999872, 49.0], [-110.049999999999812, 49.0], [-107.049999999999898, 49.0], [-104.04826, 48.99986], [-100.65, 49.0], [-97.228720000004699, 49.0007], [-95.159069509171943, 49.0], [-95.15609, 49.38425], [-94.81758, 49.38905]]], [[[-153.006314053336837, 57.115842190165878], [-154.0050902984581, 56.734676825581047], [-154.516402757770067, 56.992748928446687], [-154.670992804971092, 57.461195787172493], [-153.762779507441451, 57.816574612043773], [-153.228729417921073, 57.968968410872421], [-152.564790615835108, 57.901427313866961], [-152.141147223906273, 57.591058661521977], [-153.006314053336837, 57.115842190165878]]], [[[-165.579164191733554, 59.909986884187539], [-166.192770148767238, 59.754440822988961], [-166.848337368821944, 59.941406155020942], [-167.455277066090048, 60.213069159579376], [-166.467792121424566, 60.384169826897775], [-165.674429694663644, 60.293606879306232], [-165.579164191733554, 59.909986884187539]]], [[[-171.731656867539357, 63.782515367275906], [-171.114433560245175, 63.592191067144981], [-170.491112433940657, 63.694975490973505], [-169.682505459653555, 63.431115627691142], [-168.689439460300662, 63.297506212000584], [-168.77194088445458, 63.188598130945437], [-169.529439867204985, 62.976931464277882], [-170.290556200215917, 63.194437567794452], [-170.671385667990847, 63.375821845138965], [-171.553063117538642, 63.317789211675077], [-171.791110602891166, 63.40584585230048], [-171.731656867539357, 63.782515367275906]]], [[[-155.067790290324211, 71.147776394323685], [-154.344165208941206, 70.696408596470192], [-153.900006273392563, 70.889988511835682], [-152.210006069935275, 70.829992173944831], [-152.270002407826127, 70.60000621202984], [-150.739992438744508, 70.430016588005699], [-149.720003018167489, 70.530010484490433], [-147.613361579357047, 70.214034939241785], [-145.689989800225248, 70.120009670686741], [-144.920010959076393, 69.989991767040479], [-143.58944618042517, 70.152514146598307], [-142.072510348713365, 69.851938178172631], [-140.985987521560702, 69.711998399526365], [-140.985988329004869, 69.711998399526365], [-140.992498752029377, 66.000028591568665], [-140.997769748123119, 60.306396796298593], [-140.012997816153074, 60.276837877027575], [-139.03900042031583, 60.000007229240012], [-138.340889999999888, 59.562110000000146], [-137.4525, 58.905000000000101], [-136.47972, 59.46389], [-135.47583, 59.78778], [-134.945, 59.270560000000117], [-134.27111, 58.86111], [-133.355548882207188, 58.410285142645151], [-132.73042, 57.692890000000105], [-131.707809999999853, 56.55212], [-130.00778, 55.91583], [-129.979994263358265, 55.284997870497207], [-130.536110189467223, 54.802753404349389], [-131.08581823797212, 55.178906155002025], [-131.967211467142278, 55.497775580459049], [-132.250010742859445, 56.369996242897443], [-133.539181084356386, 57.178887437562125], [-134.07806292029602, 58.123067531966889], [-135.038211032279037, 58.187714748763931], [-136.628062309954629, 58.212209377670447], [-137.800006279686016, 58.499995429103777], [-139.867787041412981, 59.537761542389134], [-140.825273817133024, 59.72751740176507], [-142.574443535564427, 60.084446519604981], [-143.958880994879848, 59.99918040632339], [-145.925556816827822, 60.458609727614274], [-147.114373949146625, 60.884656073644628], [-148.224306200127643, 60.672989406977152], [-148.018065558850736, 59.978328965893631], [-148.570822516860858, 59.914172675203297], [-149.727857835875824, 59.705658270905545], [-150.608243374616421, 59.368211168039487], [-151.716392788683294, 59.155821031319974], [-151.859433153267105, 59.74498403587959], [-151.40971900124714, 60.725802720779392], [-150.346941494732505, 61.033587551509854], [-150.621110806256951, 61.284424953854447], [-151.895839199816834, 60.727197984451273], [-152.578329841095581, 60.061657212964285], [-154.019172126257558, 59.350279446034264], [-153.287511359653166, 58.864727688219787], [-154.232492438758442, 58.146373602930531], [-155.307491421510207, 57.727794501366319], [-156.308334723923082, 57.422774359763636], [-156.556097378546298, 56.979984849670636], [-158.117216559867728, 56.463608099994175], [-158.433321296197136, 55.994153550838533], [-159.603327399717415, 55.566686102920116], [-160.289719611634183, 55.643580634170561], [-161.223047655257773, 55.364734605523481], [-162.23776607974105, 55.024186916720097], [-163.069446581046378, 54.689737046927171], [-164.785569221027174, 54.40417308208216], [-164.942226325520011, 54.572224839895327], [-163.84833960676562, 55.039431464246107], [-162.870001390615897, 55.348043117893198], [-161.804174974596009, 55.894986477270429], [-160.563604702781134, 56.008054511125025], [-160.070559862284483, 56.418055324928744], [-158.684442918919416, 57.016675116597852], [-158.461097378553944, 57.216921291728866], [-157.722770352183858, 57.570000515363056], [-157.550274421193564, 58.328326321030218], [-157.041674974576949, 58.918884589261708], [-158.194731208305427, 58.615802313869828], [-158.517217984023034, 58.787781480537305], [-159.058606126928709, 58.424186102931671], [-159.711667040017318, 58.931390285876333], [-159.981288825500144, 58.572549140041623], [-160.355271165996498, 59.071123358793628], [-161.355003425115001, 58.670837714260742], [-161.968893602526293, 58.671664537177371], [-162.054986538724648, 59.266925360747436], [-161.874170702135331, 59.633621324290587], [-162.518059048492034, 59.989723619213905], [-163.818341437820123, 59.798055731843377], [-164.662217577146407, 60.267484442782639], [-165.346387702474772, 60.507495632562396], [-165.350831875651835, 61.073895168697497], [-166.121379157555907, 61.500019029376212], [-165.734451870770471, 62.074996853271792], [-164.919178636717788, 62.633076483807919], [-164.562507901039339, 63.146378485763044], [-163.753332485996964, 63.219448961023758], [-163.067224494457832, 63.05945872664801], [-162.260555386381697, 63.541935736741159], [-161.534449836248569, 63.455816962326757], [-160.772506680321101, 63.76610810002326], [-160.958335130842528, 64.222798570402759], [-161.518068407212184, 64.402787584075313], [-160.777777676414729, 64.788603827566405], [-161.391926235987597, 64.777235012462327], [-162.453050096668818, 64.559444688568206], [-162.757786017894034, 64.338605455168803], [-163.54639421288428, 64.559160468190484], [-164.960829841145141, 64.446945095468848], [-166.425288255864473, 64.686672064870706], [-166.845004238939026, 65.088895575614529], [-168.110560065767146, 65.669997056736733], [-166.70527116602193, 66.088317776139391], [-164.474709642575448, 66.576660061297488], [-163.652511766595637, 66.576660061297488], [-163.788601651036117, 66.077207343196662], [-161.677774421210131, 66.116119696712403], [-162.489714525379981, 66.735565090595102], [-163.719716966791083, 67.116394558370089], [-164.430991380856511, 67.616338202577779], [-165.390286831706703, 68.042772121850234], [-166.764440680995989, 68.35887685817967], [-166.204707404626561, 68.883030910916162], [-164.430810513343431, 68.915535386827727], [-163.168613654614489, 69.371114813912882], [-162.930566169261965, 69.858061835399255], [-161.908897264635499, 70.333329983187625], [-160.93479651593367, 70.447689927849567], [-159.039175788387126, 70.891642157668926], [-158.119722866833939, 70.824721177851032], [-156.580824551398024, 71.357763576941736], [-155.067790290324211, 71.147776394323685]]]] } }, + { "type": "Feature", "properties": { "admin": "Uzbekistan", "name": "Uzbekistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[66.518606805288655, 37.362784328758785], [66.546150343700205, 37.974684963526855], [65.215998976507379, 38.402695013984292], [64.170223016216752, 38.892406724598231], [63.518014764261018, 39.363256537425627], [62.374260288344992, 40.053886216790382], [61.882714064384679, 41.084856879229392], [61.547178989513547, 41.2663703476546], [60.46595299667068, 41.22032664648254], [60.083340691981654, 41.425146185871391], [59.976422153569771, 42.223081976890199], [58.629010857991453, 42.751551011723045], [57.786529982337065, 42.170552883465511], [56.93221520368779, 41.82602610937559], [57.096391229079089, 41.32231008561056], [55.968191359282898, 41.308641669269356], [55.928917270741081, 44.995858466159099], [58.503127068928457, 45.586804307632818], [58.689989048095882, 45.500013739598621], [60.239971958258316, 44.784036770194717], [61.05831994003244, 44.405816962250505], [62.013300408786236, 43.504476630215642], [63.185786981056559, 43.650074978197999], [64.900824415959264, 43.728080552742576], [66.098012322865074, 42.997660020513088], [66.023391554635609, 41.994646307943974], [66.510648634715707, 41.987644151368436], [66.714047072216502, 41.168443508461493], [67.985855747351806, 41.135990708982213], [68.259895867795606, 40.662324530594894], [68.632482944620008, 40.668680731766798], [69.070027296835306, 41.384244289712363], [70.388964878220776, 42.081307684897439], [70.96231489449913, 42.266154283205481], [71.259247674448218, 42.167710679689456], [70.420022414028196, 41.519998277343134], [71.157858514291576, 41.143587144529107], [71.870114780570447, 41.392900092121259], [73.055417108049156, 40.86603302668945], [71.774875115856545, 40.145844428053763], [71.014198032520156, 40.244365546218226], [70.601406691372674, 40.218527330072284], [70.458159621059608, 40.49649485937028], [70.666622348925031, 40.960213324541407], [69.329494663372813, 40.727824408524839], [69.011632928345477, 40.086158148756653], [68.536416456989414, 39.533452867178923], [67.701428664017342, 39.580478420564518], [67.442219679641298, 39.140143541005479], [68.176025018185911, 38.901553453113898], [68.392032505165943, 38.157025254868728], [67.829999627559502, 37.144994004864678], [67.075782098259609, 37.35614390720928], [66.518606805288655, 37.362784328758785]]] } }, + { "type": "Feature", "properties": { "admin": "Venezuela", "name": "Venezuela", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-71.331583624950284, 11.776284084515805], [-71.36000566271079, 11.53999359786121], [-71.947049933546495, 11.423282375530018], [-71.620868292920164, 10.969459947142791], [-71.633063930941063, 10.446494452349027], [-72.074173956984495, 9.865651353388369], [-71.695644090446521, 9.072263088411246], [-71.26455929226772, 9.137194525585981], [-71.039999355743376, 9.859992784052407], [-71.350083787710773, 10.211935126176213], [-71.400623338492224, 10.968969021036013], [-70.155298834906503, 11.375481675660039], [-70.293843349881016, 11.846822414594211], [-69.943244594996813, 12.162307033736095], [-69.584300096297454, 11.459610907431211], [-68.882999233664435, 11.44338450769156], [-68.233271450458716, 10.885744126829945], [-68.194126552997616, 10.554653225135921], [-67.296248541926317, 10.545868231646306], [-66.227864142507983, 10.648626817258684], [-65.655237596281737, 10.20079885501732], [-64.890452236578156, 10.077214667191296], [-64.329478725833724, 10.389598700395679], [-64.318006557864933, 10.641417954953978], [-63.079322475828725, 10.701724351438598], [-61.880946010980182, 10.7156253117251], [-62.730118984616396, 10.420268662960904], [-62.388511928950969, 9.948204453974636], [-61.588767462801918, 9.873066921422263], [-60.830596686431711, 9.38133982994894], [-60.671252407459718, 8.580174261911877], [-60.150095587796166, 8.602756862823425], [-59.758284878159181, 8.367034816924045], [-60.550587938058186, 7.779602972846178], [-60.637972785063752, 7.414999904810853], [-60.295668097562377, 7.043911444522918], [-60.543999192940966, 6.856584377464881], [-61.159336310456467, 6.696077378766317], [-61.139415045807937, 6.234296779806142], [-61.410302903881941, 5.959068101419616], [-60.733574184803707, 5.2002772078619], [-60.601179165271922, 4.918098049332129], [-60.966893276601517, 4.536467596856638], [-62.085429653559125, 4.162123521334308], [-62.804533047116692, 4.006965033377951], [-63.093197597899092, 3.770571193858784], [-63.888342861574145, 4.020530096854571], [-64.628659430587533, 4.14848094320925], [-64.816064012294007, 4.056445217297422], [-64.368494432214092, 3.797210394705246], [-64.408827887617903, 3.126786200366623], [-64.269999152265783, 2.497005520025566], [-63.422867397705105, 2.411067613124174], [-63.368788011311644, 2.200899562993129], [-64.083085496666072, 1.91636912679408], [-64.199305792890499, 1.49285492594602], [-64.611011928959854, 1.328730576987041], [-65.354713304288353, 1.0952822941085], [-65.548267381437554, 0.78925446207603], [-66.325765143484944, 0.724452215982012], [-66.876325853122566, 1.253360500489336], [-67.181294318293041, 2.250638129074062], [-67.447092047786299, 2.600280869960869], [-67.809938117123693, 2.820655015469569], [-67.303173183853417, 3.31845408773718], [-67.33756384954367, 3.542342230641721], [-67.621835903581271, 3.839481716319994], [-67.823012254493534, 4.503937282728898], [-67.744696621355203, 5.221128648291667], [-67.521531948502741, 5.556870428891968], [-67.34143958196556, 6.095468044454021], [-67.695087246355001, 6.267318020040645], [-68.265052456318216, 6.153268133972473], [-68.985318569602327, 6.206804917826856], [-69.389479946557103, 6.099860541198835], [-70.093312954372408, 6.960376491723109], [-70.674233567981503, 7.087784735538717], [-71.960175747348629, 6.991614895043538], [-72.19835242378187, 7.340430813013682], [-72.444487270788059, 7.42378489830048], [-72.479678921178831, 7.632506008327352], [-72.360900641555958, 8.002638454617893], [-72.439862230097944, 8.405275376820027], [-72.660494757768092, 8.62528778730268], [-72.788729824500379, 9.085027167187331], [-73.304951544880026, 9.151999823437604], [-73.027604132769554, 9.736770331252441], [-72.905286017534692, 10.45034434655477], [-72.614657762325194, 10.821975409381777], [-72.227575446242923, 11.108702093953237], [-71.973921678338272, 11.608671576377116], [-71.331583624950284, 11.776284084515805]]] } }, + { "type": "Feature", "properties": { "admin": "Vietnam", "name": "Vietnam", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[108.050180291782908, 21.552379869060111], [106.715067987090066, 20.696850694252014], [105.881682163519002, 19.752050482659694], [105.662005649846279, 19.058165188060567], [106.426816847765991, 18.004120998603224], [107.36195356651973, 16.697456569887049], [108.269495070429599, 16.079742336486145], [108.877106561317447, 15.276690578670436], [109.335269810017209, 13.42602834721772], [109.200135939573954, 11.666859239137761], [108.366129998815424, 11.00832062422627], [107.22092858279521, 10.36448395430183], [106.4051127462034, 9.530839748569317], [105.158263787865081, 8.599759629750492], [104.795185174582372, 9.2410383162765], [105.076201613385592, 9.918490505406806], [104.334334751403446, 10.486543687375228], [105.199914992292321, 10.889309800658094], [106.249670037869436, 10.961811835163585], [105.810523716253101, 11.567614650921225], [107.491403029410861, 12.337205918827944], [107.614547967562402, 13.535530707244202], [107.382727492301058, 14.202440904186968], [107.564525181103875, 15.202173163305554], [107.312705926545576, 15.908538316303177], [106.55600792849566, 16.604283962464802], [105.925762160264, 17.485315456608955], [105.094598423281496, 18.666974595611073], [103.896532017026701, 19.265180975821799], [104.183387892678908, 19.624668077060214], [104.822573683697073, 19.886641750563879], [104.435000441508024, 20.758733221921528], [103.203861118586431, 20.766562201413745], [102.754896274834636, 21.675137233969462], [102.170435825613552, 22.464753119389297], [102.706992222100084, 22.708795070887668], [103.504514601660546, 22.703756618739202], [104.476858351664447, 22.819150092046961], [105.329209425886603, 23.352063300056908], [105.811247186305209, 22.976892401617899], [106.725403273548451, 22.794267889898414], [106.567273390735295, 22.218204860924768], [107.043420037872608, 21.811898912029907], [108.050180291782908, 21.552379869060111]]] } }, + { "type": "Feature", "properties": { "admin": "Vanuatu", "name": "Vanuatu", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[167.844876743845077, -16.466333103097153], [167.515181105822847, -16.597849623279966], [167.180007765977791, -16.159995212470957], [167.2168013857696, -15.891846205308449], [167.844876743845077, -16.466333103097153]]], [[[167.107712437201485, -14.933920179913951], [167.2700281110302, -15.74002084723487], [167.001207310247935, -15.614602146062492], [166.79315799384085, -15.668810723536719], [166.649859247095549, -15.392703545801192], [166.629136997746429, -14.6264970842096], [167.107712437201485, -14.933920179913951]]]] } }, + { "type": "Feature", "properties": { "admin": "Yemen", "name": "Yemen", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[53.108572625547502, 16.651051133688949], [52.385205926325874, 16.38241120041965], [52.191729363825075, 15.938433132384018], [52.168164910699986, 15.597420355689945], [51.172515089732471, 15.175249742081489], [49.574576450403136, 14.708766587782746], [48.679230584514151, 14.003202419485657], [48.238947381387412, 13.948089504446369], [47.938914015500771, 14.007233181204423], [47.354453566279702, 13.592219753468379], [46.71707645039173, 13.399699204965016], [45.877592807810252, 13.347764390511681], [45.625050083199874, 13.290946153206759], [45.406458774605241, 13.02690542241143], [45.144355910020849, 12.953938300015306], [44.9895333188744, 12.699586900274708], [44.494576450382844, 12.721652736863344], [44.175112745954486, 12.585950425664873], [43.48295861183712, 12.63680003504008], [43.222871128112118, 13.220950425667422], [43.251448195169516, 13.767583726450848], [43.087943963398047, 14.062630316621306], [42.892245314308717, 14.802249253798745], [42.604872674333606, 15.213335272680592], [42.805015496600042, 15.261962795467252], [42.702437778500652, 15.718885809791995], [42.823670688657408, 15.911742255105263], [42.779332309750963, 16.34789134364868], [43.218375278502734, 16.666889960186406], [43.115797560403351, 17.088440456607369], [43.380794305196098, 17.579986680567668], [43.791518589051904, 17.319976711491105], [44.062613152855072, 17.410358791569589], [45.216651238797184, 17.43332896572333], [45.399999220568752, 17.333335069238554], [46.366658563020529, 17.233315334537632], [46.749994337761642, 17.283338120996174], [47.000004917189749, 16.949999294497438], [47.466694777217626, 17.116681626854877], [48.183343540241324, 18.166669216377311], [49.116671583864857, 18.616667588774941], [52.000009800022227, 19.000003363516054], [52.782184279192037, 17.349742336491229], [53.108572625547502, 16.651051133688949]]] } }, + { "type": "Feature", "properties": { "admin": "South Africa", "name": "South Africa", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[31.521001417778869, -29.257386976846245], [31.325561150850994, -29.401977634398907], [30.901762729625336, -29.909956963828034], [30.622813348113816, -30.423775730106122], [30.055716180142774, -31.140269463832951], [28.925552605919535, -32.172041110972494], [28.219755893677092, -32.771952813448848], [27.464608188595967, -33.226963799778794], [26.419452345492818, -33.614950453426175], [25.909664340933482, -33.667040297176392], [25.78062828950069, -33.944646091448334], [25.172861769315965, -33.796851495093577], [24.67785322439212, -33.987175795224537], [23.594043409934635, -33.794474379208147], [22.988188917744729, -33.916430759416976], [22.574157342222232, -33.864082533505304], [21.542799106541022, -34.258838799782922], [20.689052768646999, -34.417175388325226], [20.071261020597628, -34.795136814107984], [19.616405063564567, -34.819166355123706], [19.193278435958714, -34.462598972309777], [18.855314568769867, -34.444305515278458], [18.424643182049376, -33.997872816708963], [18.377410922934612, -34.13652068454806], [18.244499139079917, -33.867751560198023], [18.250080193767442, -33.281430759414434], [17.925190463948436, -32.61129078545342], [18.247909783611185, -32.429131361624563], [18.221761508871477, -31.661632989225662], [17.566917758868861, -30.72572112398754], [17.0644161312627, -29.878641045859158], [17.06291751472622, -29.875953871379977], [16.344976840895239, -28.576705010697697], [16.824017368240899, -28.082161553664466], [17.218928663815401, -28.355943291946804], [17.387497185951499, -28.783514092729774], [17.836151971109526, -28.856377862261311], [18.464899122804745, -29.045461928017271], [19.002127312911082, -28.972443129188857], [19.89473432788861, -28.461104831660769], [19.895767856534427, -24.767790215760588], [20.165725538827186, -24.917961928000768], [20.758609246511831, -25.868136488551446], [20.666470167735437, -26.477453301704916], [20.889609002371731, -26.828542982695907], [21.60589603036939, -26.726533705351748], [22.105968865657864, -26.28025603607913], [22.579531691180584, -25.979447523708142], [22.824271274514896, -25.500458672794768], [23.312096795350179, -25.268689873965712], [23.733569777122703, -25.39012948985161], [24.211266717228792, -25.670215752873567], [25.025170525825782, -25.719670098576891], [25.664666375437712, -25.486816094669706], [25.765848829865206, -25.174845472923671], [25.941652052522151, -24.696373386333214], [26.485753208123292, -24.616326592713097], [26.78640669119741, -24.240690606383478], [27.119409620886238, -23.574323011979772], [28.017235955525244, -22.827753594659072], [29.432188348109033, -22.091312758067584], [29.839036899542965, -22.102216485281172], [30.322883335091767, -22.271611830333931], [30.659865350067083, -22.151567478119912], [31.191409132621278, -22.251509698172395], [31.670397983534645, -23.658969008073861], [31.930588820124242, -24.369416599222532], [31.752408481581874, -25.484283949487406], [31.837777947728057, -25.843331801051342], [31.333157586397899, -25.660190525008943], [31.044079624157146, -25.731452325139436], [30.949666782359905, -26.022649021104144], [30.676608514129633, -26.398078301704604], [30.685961948374477, -26.743845310169526], [31.282773064913325, -27.285879408478991], [31.868060337051073, -27.17792734142127], [32.071665480281062, -26.733820082304902], [32.830120477028878, -26.74219166433619], [32.580264926897677, -27.470157566031808], [32.462132602678444, -28.30101124442055], [32.203388706193032, -28.752404880490065], [31.521001417778869, -29.257386976846245]], [[28.978262566857236, -28.955596612261708], [28.541700066855491, -28.647501722937562], [28.07433841320778, -28.851468601193581], [27.532511020627471, -29.242710870075353], [26.999261915807629, -29.875953871379977], [27.749397006956478, -30.645105889612214], [28.107204624145421, -30.545732110314944], [28.291069370239903, -30.226216729454293], [28.848399692507734, -30.070050551068245], [29.018415154748016, -29.743765557577362], [29.325166456832587, -29.257386976846245], [28.978262566857236, -28.955596612261708]]] } }, + { "type": "Feature", "properties": { "admin": "Zambia", "name": "Zambia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[32.759375441221316, -9.230599053589058], [33.231387973775291, -9.676721693564799], [33.485687697083584, -10.525558770391111], [33.315310499817279, -10.796549981329695], [33.114289178201908, -11.607198174692311], [33.306422153463068, -12.435778090060214], [32.991764357237876, -12.783870537978272], [32.688165317523122, -13.712857761289273], [33.214024692525207, -13.97186003993615], [30.179481235481827, -14.796099134991525], [30.274255812305103, -15.507786960515208], [29.51683434420314, -15.644677829656386], [28.947463413211256, -16.043051446194436], [28.825868768028492, -16.389748630440611], [28.467906121542676, -16.468400160388843], [27.598243442502753, -17.290830580314005], [27.044427117630729, -17.938026218337427], [26.706773309035633, -17.961228936436477], [26.381935255648919, -17.846042168857892], [25.264225701608005, -17.736539808831413], [25.084443393664564, -17.661815687737366], [25.076950310982255, -17.578823337476617], [24.6823490740015, -17.35341073981947], [24.033861525170771, -17.29584319424632], [23.215048455506057, -17.52311614346598], [22.562478468524255, -16.89845142992181], [21.887842644953867, -16.080310153876876], [21.933886346125913, -12.898437188369357], [24.016136508894672, -12.91104623784857], [23.930922072045373, -12.565847670138854], [24.079905226342838, -12.191296888887361], [23.904153680118181, -11.722281589406318], [24.017893507592586, -11.237298272347088], [23.912215203555714, -10.926826267137512], [24.257155389103982, -10.951992689663655], [24.314516228947948, -11.262826429899269], [24.783169793402948, -11.238693536018962], [25.418118116973197, -11.330935967659958], [25.752309604604726, -11.784965101776356], [26.55308759939961, -11.924439792532125], [27.164419793412456, -11.608748467661071], [27.38879886242378, -12.132747491100663], [28.15510867687998, -12.272480564017894], [28.52356163912102, -12.698604424696679], [28.934285922976834, -13.248958428605132], [29.699613885219485, -13.257226657771827], [29.616001417771223, -12.178894545137307], [29.341547885869087, -12.36074391037241], [28.642417433392346, -11.971568698782312], [28.372253045370421, -11.793646742401389], [28.496069777141763, -10.789883721564044], [28.673681674928922, -9.605924981324931], [28.449871046672818, -9.164918308146083], [28.734866570762495, -8.526559340044576], [29.002912225060467, -8.40703175215347], [30.34608605319081, -8.238256524288216], [30.740015496551781, -8.340007419470913], [31.157751336950042, -8.594578747317362], [31.55634809746649, -8.76204884199864], [32.191864861791963, -8.930358981973276], [32.759375441221316, -9.230599053589058]]] } }, + { "type": "Feature", "properties": { "admin": "Zimbabwe", "name": "Zimbabwe", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[31.191409132621278, -22.251509698172395], [30.659865350067083, -22.151567478119912], [30.322883335091767, -22.271611830333931], [29.839036899542965, -22.102216485281172], [29.432188348109033, -22.091312758067584], [28.794656202924209, -21.639454034107445], [28.02137007010861, -21.485975030200578], [27.727227817503252, -20.851801853114711], [27.724747348753247, -20.499058526290387], [27.296504754350501, -20.391519870690995], [26.164790887158478, -19.293085625894935], [25.850391473094724, -18.714412937090533], [25.649163445750155, -18.536025892818987], [25.264225701608005, -17.736539808831413], [26.381935255648919, -17.846042168857892], [26.706773309035633, -17.961228936436477], [27.044427117630729, -17.938026218337427], [27.598243442502753, -17.290830580314005], [28.467906121542676, -16.468400160388843], [28.825868768028492, -16.389748630440611], [28.947463413211256, -16.043051446194436], [29.51683434420314, -15.644677829656386], [30.274255812305103, -15.507786960515208], [30.338954705534537, -15.880839125230242], [31.173063999157673, -15.860943698797868], [31.636498243951188, -16.071990248277881], [31.852040643040592, -16.319417006091374], [32.328238966610222, -16.392074069893749], [32.847638787575839, -16.713398125884613], [32.849860874164385, -17.979057305577175], [32.654885695127142, -18.672089939043492], [32.611994256324884, -19.419382826416268], [32.772707960752619, -19.715592136313294], [32.659743279762573, -20.30429005298231], [32.508693068173436, -20.395292250248303], [32.244988234188007, -21.116488539313689], [31.191409132621278, -22.251509698172395]]] } } + ] + }; + +var randomcountriesData1 = [ + { country: "Iran", "continent": "Asia", "CategoryName": "Books", "Sales": 550 }, + { country: "Benin", "continent": "Africa", "CategoryName": "Books", "Sales": 1000 }, + { country: "China", "continent": "Asia", "CategoryName": "Books", "Sales": 420 }, + { country: "Chile", "continent": "South America", "CategoryName": "Books", "Sales": 1100 }, + { country: "Cuba", "continent": "North America", "CategoryName": "Books", "Sales": 450 }, + { country: "Spain", "continent": "Europe", "CategoryName": "Books", "Sales": 1200 }, + { country: "Fiji", "continent": "Oceania", "CategoryName": "Books", "Sales": 618.0 }, +]; + +module mapcomponenet { + $(function () { + var mapsample = new ej.datavisualization.Map($("#map"), { + enableAnimation: true, + navigationControl: { + enableNavigation: true, + orientation: 'vertical', + absolutePosition: { x: 5, y: 15 }, + dockPosition: 'none' + }, + layers: [ + { + layerType: 'geometry', + enableMouseHover: false, + enableSelection: false, + shapeSettings: { + fill: "#626171", + autoFill: false, + highlightStroke: "white", + stroke: "white", + strokeThickness: 0.5, + highlightColor: "#BFBFBF" + }, + shapeData: world_map, + legendSettings: { dockOnMap: false } + } + ] + }); + }); +} + + + + + + + +module MenuComponent { + $(function () { + var sample = new ej.Menu($("#syncfusionProducts"),{ + width: "100%", + animationType: ej.AnimationType.Default, + cssClass: 'gradient-lime ', + enableAnimation: true, + enableSeparator: true, + height: 40, + htmlAttributes: { "aria-label": "menu" }, + menuType: "normalmenu", + orientation: ej.Orientation.Horizontal, + showRootLevelArrows: true, + showSubLevelArrows: true, + subMenuDirection: ej.Direction.Right, + titleText: "Menu", + + }); + }); + +} + + + + + + + + +module NavigationDrawerComponent { + $(function () { + var navigationdrawerInstance = new ej.NavigationDrawer($("#navpane"), { + targetId: "butdrawer", + contentId: "content_container", + type: "overlay", + direction: "left", + enableListView: true, + listViewSettings: { + width: 300, + selectedItemIndex: 0 + }, + position: "normal" + }); + $("#navpane_listview").click(function(e: any) { + var text=e.target["text"]||$(e.target).closest("li.e-list").text(); + $("#butdrawer").parent().children("h2").text(text); + }); + }); +} + + + +module PDFViewerComponent { + $(function () { + var pdfviewerControl = new ej.PdfViewer($("#pdfviewer"), { + serviceUrl:(window).baseurl+ "api/PdfViewer", + isResponsive: true + }); + }); +} + + + +module PivotChartOlap { + $(function () { + var sample = new ej.PivotChart($("#PivotChart"),{ + dataSource: { + data: "http://bi.syncfusion.com/olap/msmdpump.dll", + catalog: "Adventure Works DW 2008 SE", + cube: "Adventure Works", + rows: [ + { + fieldName: "[Date].[Fiscal]" + } + ], + columns: [ + { + fieldName: "[Customer].[Customer Geography]" + } + ], + values: [ + { + measures: [ + { + fieldName: "[Measures].[Internet Sales Amount]" + } + ], + axis: "columns" + } + ], + filters:[] + }, + isResponsive: true,zooming:{enableScrollbar: true}, + commonSeriesOptions: { + type: "column" + }, + size: { height: "460px", width: "100%" }, + primaryXAxis: { title: { text: "Date - Fiscal" }, labelRotation: 0 }, + primaryYAxis: { title: { text: "Internet Sales Amount" } }, + legend: { visible: true, rowCount: 2 } + }); + }); +} + + + +var pivot_dataset = [ + { Amount: 100, Country: "Canada", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Alberta" }, + { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Van", Quantity: 3, State: "British Columbia" }, + { Amount: 300, Country: "Canada", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Brunswick" }, + { Amount: 150, Country: "Canada", Date: "FY 2008", Product: "Bike", Quantity: 3, State: "Manitoba" }, + { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Car", Quantity: 4, State: "Ontario" }, + { Amount: 100, Country: "Canada", Date: "FY 2007", Product: "Van", Quantity: 1, State: "Quebec" }, + { Amount: 200, Country: "France", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Charente-Maritime" }, + { Amount: 250, Country: "France", Date: "FY 2006", Product: "Van", Quantity: 4, State: "Essonne" }, + { Amount: 300, Country: "France", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Garonne (Haute)" }, + { Amount: 150, Country: "France", Date: "FY 2008", Product: "Van", Quantity: 2, State: "Gers" }, + { Amount: 200, Country: "Germany", Date: "FY 2006", Product: "Van", Quantity: 3, State: "Bayern" }, + { Amount: 250, Country: "Germany", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Brandenburg" }, + { Amount: 150, Country: "Germany", Date: "FY 2008", Product: "Car", Quantity: 4, State: "Hamburg" }, + { Amount: 200, Country: "Germany", Date: "FY 2008", Product: "Bike", Quantity: 4, State: "Hessen" }, + { Amount: 150, Country: "Germany", Date: "FY 2007", Product: "Van", Quantity: 3, State: "Nordrhein-Westfalen" }, + { Amount: 100, Country: "Germany", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Saarland" }, + { Amount: 150, Country: "United Kingdom", Date: "FY 2008", Product: "Bike", Quantity: 5, State: "England" }, + { Amount: 250, Country: "United States", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Alabama" }, + { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Van", Quantity: 4, State: "California" }, + { Amount: 100, Country: "United States", Date: "FY 2006", Product: "Bike", Quantity: 2, State: "Colorado" }, + { Amount: 150, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "New Mexico" }, + { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Bike", Quantity: 4, State: "New York" }, + { Amount: 250, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "North Carolina" }, + { Amount: 300, Country: "United States", Date: "FY 2007", Product: "Van", Quantity: 4, State: "South Carolina" } +] + +module PivotChartRelational { + + $(function () { + var sample = new ej.PivotChart($("#PivotChart"),{ + dataSource: { + data: pivot_dataset, + rows: [ + { + fieldName: "Country", + fieldCaption: "Country" + }, + { + fieldName: "State", + fieldCaption: "State" + }, + { + fieldName: "Date", + fieldCaption: "Date" + } + ], + columns: [ + { + fieldName: "Product", + fieldCaption: "Product" + } + ], + values: [ + { + fieldName: "Amount", + fieldCaption: "Amount" + } + ], + filters:[] + }, + isResponsive: true,zooming:{enableScrollbar: true}, + commonSeriesOptions: { + type: "column" + }, + size: { height: "460px", width: "100%" }, + primaryYAxis: { title: { text: "Amount" } }, + legend: { visible: true } + }); + }); +} + + + +module PivotGaugeOlap { + + $(function () { + var sample = new ej.PivotGauge($("#PivotGauge"),{ + dataSource: { + data: "http://bi.syncfusion.com/olap/msmdpump.dll", + catalog: "Adventure Works DW 2008 SE", + cube: "Adventure Works", + rows: [ + { + fieldName: "[Date].[Fiscal]", + filterItems: { filterType: "include", values: ["[Date].[Fiscal].[Fiscal Year].&[2004]"] } + }, + ], + columns: [ + { + fieldName: "[Customer].[Customer Geography]" + } + ], + values: [ + { + measures: [ + { + fieldName: "[Measures].[Internet Sales Amount]" + }, + { + fieldName: "[Measures].[Internet Revenue Status]" + }, + { + fieldName: "[Measures].[Internet Revenue Trend]" + }, + { + fieldName: "[Measures].[Internet Revenue Goal]" + }, + ], + axis: "columns" + } + ], + filters:[] + }, + enableTooltip: true, isResponsive: true, + labelFormatSettings: { decimalPlaces: 2 }, + scales: [{ + showRanges: true, + radius: 150, showScaleBar: true, size: 1, + border: { + width: 0.5 + }, + showIndicators: true, showLabels: true, + pointers: [{ + showBackNeedle: true, + backNeedleLength: 20, + length: 120, + width: 7 + }, + { + type: "marker", + markerType: "diamond", + distanceFromScale: 5, + placement: "center", + backgroundColor: "#29A4D9", + length: 25, + width: 15 + }], + ticks: [{ + type: "major", + distanceFromScale: 2, + height: 16, + width: 1, color: "#8c8c8c" + }, + { + type: "minor", + height: 6, + width: 1, + distanceFromScale: 2, + color: "#8c8c8c" + }], + labels: [{ + color: "#8c8c8c" + }], + ranges: [{ + distanceFromScale: -5, + backgroundColor: "#fc0606", + border: { color: "#fc0606" } + }, + { + distanceFromScale: -5 + }], + customLabels: [{ + position: { x: 180, y: 290 }, + font: { size: "10px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" + }, + { + position: { x: 180, y: 320 }, + font: { size: "10px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" + }, + { + position: { x: 180, y: 150 }, + font: { size: "12px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" + }] + }] + }); + }); +} + + + +var pivot_dataset = [ + { Amount: 100, Country: "Canada", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Alberta" }, + { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Van", Quantity: 3, State: "British Columbia" }, + { Amount: 300, Country: "Canada", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Brunswick" }, + { Amount: 150, Country: "Canada", Date: "FY 2008", Product: "Bike", Quantity: 3, State: "Manitoba" }, + { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Car", Quantity: 4, State: "Ontario" }, + { Amount: 100, Country: "Canada", Date: "FY 2007", Product: "Van", Quantity: 1, State: "Quebec" }, + { Amount: 200, Country: "France", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Charente-Maritime" }, + { Amount: 250, Country: "France", Date: "FY 2006", Product: "Van", Quantity: 4, State: "Essonne" }, + { Amount: 300, Country: "France", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Garonne (Haute)" }, + { Amount: 150, Country: "France", Date: "FY 2008", Product: "Van", Quantity: 2, State: "Gers" }, + { Amount: 200, Country: "Germany", Date: "FY 2006", Product: "Van", Quantity: 3, State: "Bayern" }, + { Amount: 250, Country: "Germany", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Brandenburg" }, + { Amount: 150, Country: "Germany", Date: "FY 2008", Product: "Car", Quantity: 4, State: "Hamburg" }, + { Amount: 200, Country: "Germany", Date: "FY 2008", Product: "Bike", Quantity: 4, State: "Hessen" }, + { Amount: 150, Country: "Germany", Date: "FY 2007", Product: "Van", Quantity: 3, State: "Nordrhein-Westfalen" }, + { Amount: 100, Country: "Germany", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Saarland" }, + { Amount: 150, Country: "United Kingdom", Date: "FY 2008", Product: "Bike", Quantity: 5, State: "England" }, + { Amount: 250, Country: "United States", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Alabama" }, + { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Van", Quantity: 4, State: "California" }, + { Amount: 100, Country: "United States", Date: "FY 2006", Product: "Bike", Quantity: 2, State: "Colorado" }, + { Amount: 150, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "New Mexico" }, + { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Bike", Quantity: 4, State: "New York" }, + { Amount: 250, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "North Carolina" }, + { Amount: 300, Country: "United States", Date: "FY 2007", Product: "Van", Quantity: 4, State: "South Carolina" } +] + +module PivotGaugeRelational { + $(function () { + var sample = new ej.PivotGauge($("#PivotGauge"),{ + dataSource: { + data: pivot_dataset, + rows: [ + { + fieldName: "Country", + }, + { + fieldName: "State", + } + ], + columns: [ + { + fieldName: "Product", + } + ], + values: [ + { + fieldName: "Amount", + }, + { + fieldName: "Quantity", + } + ] + }, + enableTooltip: true, isResponsive: true, + labelFormatSettings: { decimalPlaces: 2 }, + scales: [{ + showRanges: true, + radius: 150, showScaleBar: true, size: 1, + border: { + width: 0.5 + }, + showIndicators: true, showLabels: true, + pointers: [{ + showBackNeedle: true, + backNeedleLength: 20, + length: 120, + width: 7 + }, + { + type: "marker", + markerType: "diamond", + distanceFromScale: 5, + placement: "center", + backgroundColor: "#29A4D9", + length: 25, + width: 15 + }], + ticks: [{ + type: "major", + distanceFromScale: 2, + height: 16, + width: 1, color: "#8c8c8c" + }, + { + type: "minor", + height: 6, + width: 1, + distanceFromScale: 2, + color: "#8c8c8c" + }], + labels: [{ + color: "#8c8c8c" + }], + ranges: [{ + distanceFromScale: -5, + backgroundColor: "#fc0606", + border: { color: "#fc0606" } + }, + { + distanceFromScale: -5 + }], + customLabels: [{ + position: { x: 180, y: 290 }, + font: { size: "10px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" + }, + { + position: { x: 180, y: 320 }, + font: { size: "10px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" + }, + { + position: { x: 180, y: 150 }, + font: { size: "12px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" + }] + }] + }); + }); +} + + + +module PivotGridOlap { + + $(function () { + var sample = new ej.PivotGrid($("#PivotGrid"),{ + dataSource: { + data: "http://bi.syncfusion.com/olap/msmdpump.dll", + catalog: "Adventure Works DW 2008 SE", + cube: "Adventure Works", + rows: [ + { + fieldName: "[Date].[Fiscal]" + } + ], + columns: [ + { + fieldName: "[Customer].[Customer Geography]" + } + ], + values: [ + { + measures: [ + { + fieldName: "[Measures].[Internet Sales Amount]", + } + ], + axis: "columns" + } + ], + filters:[] + }, + enableGroupingBar: true, + pivotTableFieldListID:"PivotSchemaDesigner" + }); + $("#PivotSchemaDesigner").ejPivotSchemaDesigner(); + }); +} + + + +var pivot_dataset = [ + { Amount: 100, Country: "Canada", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Alberta" }, + { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Van", Quantity: 3, State: "British Columbia" }, + { Amount: 300, Country: "Canada", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Brunswick" }, + { Amount: 150, Country: "Canada", Date: "FY 2008", Product: "Bike", Quantity: 3, State: "Manitoba" }, + { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Car", Quantity: 4, State: "Ontario" }, + { Amount: 100, Country: "Canada", Date: "FY 2007", Product: "Van", Quantity: 1, State: "Quebec" }, + { Amount: 200, Country: "France", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Charente-Maritime" }, + { Amount: 250, Country: "France", Date: "FY 2006", Product: "Van", Quantity: 4, State: "Essonne" }, + { Amount: 300, Country: "France", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Garonne (Haute)" }, + { Amount: 150, Country: "France", Date: "FY 2008", Product: "Van", Quantity: 2, State: "Gers" }, + { Amount: 200, Country: "Germany", Date: "FY 2006", Product: "Van", Quantity: 3, State: "Bayern" }, + { Amount: 250, Country: "Germany", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Brandenburg" }, + { Amount: 150, Country: "Germany", Date: "FY 2008", Product: "Car", Quantity: 4, State: "Hamburg" }, + { Amount: 200, Country: "Germany", Date: "FY 2008", Product: "Bike", Quantity: 4, State: "Hessen" }, + { Amount: 150, Country: "Germany", Date: "FY 2007", Product: "Van", Quantity: 3, State: "Nordrhein-Westfalen" }, + { Amount: 100, Country: "Germany", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Saarland" }, + { Amount: 150, Country: "United Kingdom", Date: "FY 2008", Product: "Bike", Quantity: 5, State: "England" }, + { Amount: 250, Country: "United States", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Alabama" }, + { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Van", Quantity: 4, State: "California" }, + { Amount: 100, Country: "United States", Date: "FY 2006", Product: "Bike", Quantity: 2, State: "Colorado" }, + { Amount: 150, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "New Mexico" }, + { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Bike", Quantity: 4, State: "New York" }, + { Amount: 250, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "North Carolina" }, + { Amount: 300, Country: "United States", Date: "FY 2007", Product: "Van", Quantity: 4, State: "South Carolina" } +] + +module PivotGridRelational { + $(function () { + var sample = new ej.PivotGrid($("#PivotGrid"),{ + dataSource: { + data: pivot_dataset, + rows: [ + { + fieldName: "Country", + fieldCaption: "Country" + }, + { + fieldName: "State", + fieldCaption: "State" + } + ], + columns: + [{ + fieldName: "Product", + fieldCaption: "Product" + } + ], + values: [ + { + fieldName: "Amount", + fieldCaption: "Amount" + }, + { + fieldName: "Quantity", + fieldCaption: "Quantity" + } + ], + filters:[] + }, + enableGroupingBar: true, + pivotTableFieldListID:"PivotSchemaDesigner" + }); + $("#PivotSchemaDesigner").ejPivotSchemaDesigner(); + + }); +} + + + +module PivotTreeMap { + $(function () { + var sample = new ej.PivotTreeMap($("#PivotTreeMap"),{ + dataSource: { + data: "http://bi.syncfusion.com/olap/msmdpump.dll;Locale Identifier=1033;", + catalog: "Adventure Works DW 2008 SE", + cube: "Adventure Works", + rows: [ + { + fieldName: "[Customer].[Customer Geography]" + } + ], + columns: [ + { + fieldName: "[Date].[Fiscal]" + } + ], + values: [ + { + measures: [ + { + fieldName: "[Measures].[Customer Count]", + } + ], + axis: "columns" + } + ], + filters:[] + } + }); + }); +} + + + +module ProgressBarComponent { + $(function () { + var sample = new ej.ProgressBar($("#progressBar"),{ + width: 200, + value: 45, + height: 20, + enablePersistence: true, + maxValue: 200, + minValue: 0, + showRoundedCorner: true, + text: 'loading...' + }); + }); + +} + + + + +declare var rteObj: any; +declare var data: any; +var radialEle = $('#defaultradialmenu'), action = 0, forRedo = 0; +var rteEle = $("#rteSample1"); +module RadialMenuComponent { + $(function () { + + if (!(ej.browserInfo().name == "msie" && parseInt(ej.browserInfo().version) < 9)) { + var radialmenuInstance = new ej.RadialMenu($("#defaultradialmenu"), { + imageClass: "imageclass", + backImageClass: "backimageclass", + targetElementId: "radialtarget1" + }); + $("#radialtarget1").parent().css("position", "relative"); + } + else { + $("#contentDiv").html("Radial Menu is only supported from Internet Explorer Versioned 9 and above.").css({ "font-size": "20px", "color": "red" }); + } + var rteInstance = new ej.RTE($("#rteSample1"), { + width: "100%", + minWidth: "10px", + change: (e) => { radialEle.ejRadialMenu("enableItem", "Undo"); }, + select: (e) => { + var target = $("#radialtarget1"), radialRadius = 150, radialDiameter = 2 * radialRadius, + // To get Iframe positions + iframeY = e.event.clientY, iframeX = e.event.clientX, + // To set Radial Menu position within target + x = iframeX > target.width() - radialRadius ? target.width() - radialDiameter : (iframeX > radialRadius ? iframeX - radialRadius : 0), + y = iframeY > target.height() - radialRadius ? target.height() - radialDiameter : (iframeY > radialRadius ? iframeY - radialRadius : 0); + radialEle.ejRadialMenu("setPosition", x, y); + radialEle.focus(); + $('iframe').contents().find('body').blur(); + }, + showToolbar: false, + showContextMenu: false + }); + $(window).resize(function () { + if (ej.isMobile() && ej.isPortrait()) + $('#defaultradialmenu').css({ "left": 25 }); + }); + }); +} + + +function bold(e: any) { + + rteObj = rteEle.data("ejRTE"); + rteObj.executeCommand("bold"); + data = rteObj._getSelectedHtmlString() ? true : false; + if (data) action += 1; + forRedo = action; + radialEle.focus(); +} +function italic(e: any) { + rteObj = rteEle.data("ejRTE"); + rteObj.executeCommand("italic"); + data = rteObj._getSelectedHtmlString() ? true : false; + if (data) action += 1; + forRedo = action; + radialEle.focus(); +} +function undo(e: any) { + rteObj = rteEle.data("ejRTE"); + rteObj.executeCommand("undo"); + action -= 1; + if (action == 0) + radialEle.ejRadialMenu("disableItem", "Undo"); + radialEle.ejRadialMenu("enableItem", "Redo"); + radialEle.focus(); +} +function redo(e: any) { + rteObj = rteEle.data("ejRTE"); + rteObj.executeCommand("redo"); + action += 1; + if (forRedo == action) radialEle.ejRadialMenu("disableItem", "Redo"); + radialEle.ejRadialMenu("enableItem", "Undo"); + radialEle.focus(); +} + + + + +module RadialSliderComponent { + $(function () { + var radialsliderInstance = new ej.RadialSlider($("#radialSlider"), { + innerCircleImageUrl: "images/radialslider/chevron-right.png" + }); + }); +} + + +module rangecomponent { + $(function () { + var linearsample = new ej.datavisualization.RangeNavigator($("#RangeNavigator"), { + enableDeferredUpdate: true, + padding: "15", + allowSnapping: true, + selectedRangeSettings: { + start: "2010/5/1", end: "2011/10/1" + }, + isResponsive: true, + tooltipSettings: { + visible: true, labelFormat: "MM/dd/yyyy", backgroundColor: "gray", tooltipDisplayMode: "ondemand" + }, + load: () => { + var rn = $("#RangeNavigator").data("ejRangeNavigator"); + rn.model.series = [ + { + type: 'line', + dataSource: data.Open, xName: "XValue", yName: "YValue", + fill: '#69D2E7' + } + ]; + } + + }); + }); +} +var data; +data = GetData(); + +function GetData() { + var series1:any[]=[]; + var series2:any[]= []; + var value = 100; + var value1 = 120; + for (var i = 1; i < 730; i++) { + + if (Math.random() > .5) { + value += Math.random(); + value1 += Math.random(); + } else { + value -= Math.random(); + value1 -= Math.random(); + } + var point1 = { XValue: new Date(2010, 0, i), YValue: value }; + var point2 = { XValue: new Date(2010, 0, i), YValue: value1 }; + series1.push(point1); + series2.push(point2); + } + + data = { Open: series1, Close: series2 }; + return data; +}; + + + +module RatingComponent { + $(function () { + + var sample1 = new ej.Rating($("#fullRating"),{ + value: 4, + precision: ej.Rating.Precision.Full, + allowReset: true, + cssClass: "gradient-lime", + enabled: true, + enablePersistence: true, + incrementStep: 2, + maxValue: 10, + minValue: 0, + orientation: ej.Orientation.Horizontal, + shapeHeight: 25, + shapeWidth: 25, + showTooltip: true + }); + + var sample2 = new ej.Rating($("#halfRating"),{ + precision: ej.Rating.Precision.Half, + value: 3.5, + allowReset: true, + cssClass: "gradient-lime", + enabled: true, + enablePersistence: true, + incrementStep: 2, + maxValue: 10, + minValue: 0, + orientation: "horizontal", + shapeHeight: 25, + shapeWidth: 25, + showTooltip: true + }); + + var sample3 = new ej.Rating($("#exactRating"),{ + precision: ej.Rating.Precision.Exact, + value: 3.7, + allowReset: true, + cssClass: "gradient-lime", + enabled: true, + enablePersistence: true, + incrementStep: 2, + maxValue: 10, + minValue: 0, + orientation: "horizontal", + shapeHeight: 25, + shapeWidth: 25, + showTooltip: true + }); + }); + +} + + + +module ReportViewerComponent { + $(function () { + var report = new ej.ReportViewer($("#territoryReportViewer"), { + reportServiceUrl: (window).baseurl + 'api/ReportViewer', + reportServerUrl: 'http://mvc.syncfusion.com/reportserver', + processingMode: ej.ReportViewer.ProcessingMode.Remote, + reportPath: "/SSRSSamples2/Territory Sales new", + isResponsive: true + }); + }); +} + + + +var fontfamily = ["Segoe UI", "Arial", "Times New Roman", "Tahoma", "Helvetica"], fontsize = ["1pt", "2pt", "3pt", "4pt", "5pt"], action1 = ["New", "Clear"], action2 = ["Bold", "Italic", "Underline", "strikethrough", "superscript", "subscript", "JustifyLeft", "JustifyCenter", "JustifyRight", "JustifyFull", "Undo", "Redo"]; +module RibbonComponent { + $(function () { + var sample = new ej.Ribbon($("#defaultRibbon"), { + width: "100%", + expandPinSettings: { + toolTip: "Collapse the Ribbon" + }, + collapsePinSettings: { + toolTip: "Pin the Ribbon" + }, + applicationTab: { + type: ej.Ribbon.ApplicationTabType.Menu, menuItemID: "ribbonmenu", menuSettings: { openOnClick: false } + }, + tabs: [{ + id: "home", text: "HOME", groups: [{ + text: "New", alignType: ej.Ribbon.AlignType.Rows, content: [{ + groups: [{ + id: "new", + text: "New", + toolTip: "New", + buttonSettings: { + contentType: ej.ContentType.ImageOnly, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-new", + click: "onClick" + } + } + ], + defaults: { + type: "button", + width: 60, + height: 70 + } + }] + }, + { + text: "Clipboard", alignType: ej.Ribbon.AlignType.Columns, content: [{ + groups: [{ + id: "paste", + text: "paste", + toolTip: "Paste", + splitButtonSettings: { + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-ribbonpaste", + targetID: "pasteSplit", + buttonMode: "dropdown", + click: "onClick", + arrowPosition: ej.ArrowPosition.Bottom + } + } + ], + defaults: { + type: "splitbutton", + width: 50, + height: 70 + } + }, + { + groups: [{ + id: "cut", + text: "Cut", + toolTip: "Cut", + buttonSettings: { + contentType: ej.ContentType.TextAndImage, + click: "onClick", + prefixIcon: "e-icon e-ribbon e-ribboncut" + } + }, + { + id: "copy", + text: "Copy", + toolTip: "Copy", + buttonSettings: { + contentType: ej.ContentType.TextAndImage, + click: "onClick", + prefixIcon: "e-icon e-ribbon e-ribboncopy" + } + }, + { + id: "clear", + text: "Clear", + toolTip: "Clear All", + buttonSettings: { + contentType: ej.ContentType.TextAndImage, + click: "onClick", + prefixIcon: "e-icon e-ribbon clearAll" + } + }], + defaults: { + type: "button", + width: 60, + isBig: false + } + }] + }, + { + text: "Font", alignType: "rows", content: [{ + groups: [{ + id: "fontfamily", + toolTip: "Font", + dropdownSettings: { + dataSource: fontfamily, + text: "Segoe UI", + select: "onClick", + width: 150 + } + }, + { + id: "fontsize", + toolTip: "FontSize", + dropdownSettings: { + dataSource: fontsize, + text: "1pt", + select: "onClick", + width: 65 + } + }], + defaults: { + type: "dropdownlist", + height: 28 + } + }, + { + groups: [{ + id: "bold", + toolTip: "Bold", + type: ej.Ribbon.Type.ToggleButton, + toggleButtonSettings: { + contentType: ej.ContentType.ImageOnly, + defaultText: "Bold", + activeText: "Bold", + click: "onClick", + defaultPrefixIcon: "e-icon e-ribbon bold", + activePrefixIcon: "e-icon e-ribbon bold" + } + }, + { + id: "italic", + toolTip: "Italic", + type: ej.Ribbon.Type.ToggleButton, + toggleButtonSettings: { + contentType: ej.ContentType.ImageOnly, + defaultText: "Italic", + activeText: "Italic", + click: "onClick", + defaultPrefixIcon: "e-icon e-ribbon e-ribbonitalic", + activePrefixIcon: "e-icon e-ribbon e-ribbonitalic" + } + }, + { + id: "underline", + text: "Underline", + toolTip: "Underline", + type: ej.Ribbon.Type.ToggleButton, + toggleButtonSettings: { + contentType: ej.ContentType.ImageOnly, + defaultText: "Underline", + activeText: "Underline", + click: "onClick", + defaultPrefixIcon: "e-icon e-ribbon e-ribbonunderline", + activePrefixIcon: "e-icon e-ribbon e-ribbonunderline" + } + }, + { + id: "strikethrough", + text: "strikethrough", + toolTip: "Strikethrough", + type: ej.Ribbon.Type.ToggleButton, + toggleButtonSettings: { + contentType: ej.ContentType.ImageOnly, + defaultText: "Strikethrough", + activeText: "Strikethrough", + click: "onClick", + defaultPrefixIcon: "e-icon e-ribbon strikethrough", + activePrefixIcon: "e-icon e-ribbon strikethrough" + } + }, + { + id: "superscript", + text: "superscript", + toolTip: "Superscript", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-superscripticon" + } + }, + { + id: "subscript", + text: "subscript", + toolTip: "Subscript", + enableSeparator: true, + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-subscripticon" + } + }, + { + id: "fontcolor", + text: "Font Color", + toolTip: "Font Color", + type: ej.Ribbon.Type.Custom, + contentID: "fontcolor" + }, + { + id: "fillcolor", + text: "Fill Color", + toolTip: "Fill Color", + type: ej.Ribbon.Type.Custom, + contentID: "fillcolor" + } + ], + defaults: { + isBig: false + } + }] + }, + { + text: "Alignment", alignType: ej.Ribbon.AlignType.Rows, content: [ + { + groups: [{ + id: "bullet", + text: "Bullet Format", + toolTip: "Bullets", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-bullet" + } + }, + { + id: "number", + text: "Number Format", + toolTip: "Numbering", + enableSeparator: true, + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-numbericon" + } + }, + { + id: "textindent", + text: "Indent", + toolTip: "Text Indent", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-indent" + } + }, + { + id: "textoudent", + text: "Outdent", + toolTip: "Text Outdent", + enableSeparator: true, + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-outdent" + } + }, + { + id: "sortascending", + text: "Sort", + toolTip: "Sort", + enableSeparator: true, + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-sort" + } + }, + { + id: "border", + text: "Border", + toolTip: "Border", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-border" + } + }], + defaults: { + type: "button", + isBig: false + } + }, + { + groups: [{ + id: "alignleft", + text: "JustifyLeft", + toolTip: "Align Left", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon alignleft" + } + }, + { + id: "aligncenter", + text: "JustifyCenter", + toolTip: "Align Center", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon aligncenter" + } + }, + { + id: "alignright", + text: "JustifyRight", + toolTip: "Align Right", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon alignright" + } + }, + { + id: "justify", + text: "JustifyFull", + toolTip: "Justify", + enableSeparator: true, + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon justify" + } + }, + { + id: "uppercase", + text: "Upper Case", + toolTip: "Upper Case", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-uppercase" + } + }, + { + id: "lowercase", + text: "Lower Case", + toolTip: "Lower Case", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-lowercase" + } + }], + defaults: { + type: "button", + isBig: false + } + }] + }, + { + text: "Actions", alignType: ej.Ribbon.AlignType.Rows, content: [{ + groups: [{ + id: "undo", + text: "Undo", + toolTip: "Undo", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-undo" + } + }, + { + id: "redo", + text: "Redo", + toolTip: "Redo", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-redo" + } + } + ], + defaults: { + type: "button", + width: 40, + height: 70 + } + }] + }, + { + text: "View", alignType: ej.Ribbon.AlignType.Rows, content: [{ + groups: [{ + id: "zoomin", + text: "Zoom In", + toolTip: "Zoom In", + buttonSettings: { + width: 58, + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-zoomin" + } + }, + { + id: "zoomout", + text: "Zoom Out", + toolTip: "Zoom Out", + buttonSettings: { + width: 70, + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-zoomout" + } + }, + { + id: "fullscreen", + text: "Full Screen", + toolTip: "Full Screen", + buttonSettings: { + width: 73, + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-fullscreen" + } + } + ], + defaults: { + type: "button", + height: 70 + } + }] + }] + },{ + id: "insert", text: "INSERT", groups: [{ + text: "Tables", alignType: ej.Ribbon.AlignType.Columns, content: [{ + groups: [{ + id: "tables", + text: "Tables", + toolTip: "Tables", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-table" + } + } + ], + defaults: { + type: "button", + width: 50, + height: 70 + } + }] + }, + { + text: "Illustrations", alignType: ej.Ribbon.AlignType.Rows, content: [{ + groups: [{ + id: "pictures", + text: "Pictures", + toolTip: "Pictures", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-picture" + } + }, + { + id: "videos", + text: "Videos", + toolTip: "Videos", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-video" + } + }, + { + id: "shapes", + text: "Shapes", + toolTip: "Shapes", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-shape" + } + }, + { + id: "charts", + text: "Charts", + toolTip: "Charts", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-chart" + } + } + ], + defaults: { + type: "button", + width: 56, + height: 70 + } + }] + }, + { + text: "Comments", alignType: ej.Ribbon.AlignType.Rows, content: [{ + groups: [{ + id: "comments", + text: "Comments", + toolTip: "Comments", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-comment" + } + } + ], + defaults: { + type: "button", + width: 70, + height: 70 + } + }] + }, + { + text: "Text", alignType: ej.Ribbon.AlignType.Rows, content: [{ + groups: [{ + id: "text", + text: "Text", + toolTip: "Text", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-text", + width: 50 + } + }, + { + id: "datetime", + text: "Date Time", + toolTip: "DateTime", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-datetimenew" + } + } + ], + defaults: { + type: "button", + width: 70, + height: 70 + } + }] + }, + { + text: "Hyperlink", alignType: ej.Ribbon.AlignType.Rows, content: [{ + groups: [{ + id: "hyperlink", + text: "Hyperlink", + toolTip: "Hyperlink", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-hyperlink" + } + } + ], + defaults: { + type: "button", + width: 70, + height: 70 + } + }] + }, + { + text: "Equation", alignType: ej.Ribbon.AlignType.Rows, content: [{ + groups: [{ + id: "equation", + text: "Equation", + toolTip: "Equation", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-equation" + } + } + ], + defaults: { + type: "button", + width: 60, + height: 70 + } + }] + }, + { + text: "Print Layout", alignType: ej.Ribbon.AlignType.Rows, content: [{ + groups: [{ + id: "printlayout", + text: "Print Layout", + toolTip: "Print Layout", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-printlayout" + } + } + ], + defaults: { + type: "button", + width: 80, + height: 70 + } + }] + }, + { + text: "Save", alignType: ej.Ribbon.AlignType.Rows, content: [{ + groups: [{ + id: "print", + text: "Print", + toolTip: "Print", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-print" + } + }, + { + id: "save", + text: "Save", + toolTip: "Save", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-save" + } + } + ], + defaults: { + type: "button", + width: 50, + height: 70 + } + }] + } + ] + } + ], + create: function createControl(args) { + var ribbon = $("#defaultRibbon").data("ejRibbon"); + $("#fontcolor").ejColorPicker({ value: "#FFFF00", modelType: "palette", cssClass: "e-ribbon", toolIcon: "e-fontcoloricon", select: colorHandler }); + $("#fillcolor").ejColorPicker({ value: "#FF0000", modelType: "palette", cssClass: "e-ribbon", toolIcon: "e-fillcoloricon", select: colorHandler }); + } + }); + }); +} +function colorHandler(args:any) { + (this._id.indexOf("fillcolor") != -1) ? $("#contenteditor").css('background-color', args.value) : document.execCommand('forecolor', false, args.value); +} +function onClick(args) { + var val, prop = args.text; + val = (ej.isNullOrUndefined(args.model.text)) ? args.model.activeText : args.model.text; + if (action1.indexOf(val) != -1) + $("#contenteditor").empty(); + else if (action2.indexOf(val) != -1) + document.execCommand(val, false, null); + else if (fontfamily.indexOf(prop) != -1) + document.execCommand("FontName", false, prop); + else if (fontsize.indexOf(prop) != -1) + document.execCommand("FontSize", false, prop.replace("pt", "")); + else + $("#contenteditor").append("

Action: " + val + " Triggered

"); +} + + + + + + +module RotatorComponent { + $(function () { + var rotatorInstance = new ej.Rotator($("#sliderContent"), { + slideWidth: "100%", + frameSpace: "0px", + slideHeight: "auto", + displayItemsCount: "1", + navigateSteps: "1", + pagerPosition:"outside", + orientation: "horizontal", + showPager: true, + enabled: true, + showCaption: true, + allowKeyboardNavigation: true, + showPlayButton: true, + isResponsive:true, + animationType: "slide", + }); + }); +} + + + +module RTEComponent { + $(function () { + var sample = new ej.RTE($("#rteSample"),{ + width: "100%", + minWidth: "150px", + showFooter: true, + showHtmlSource: true, + allowEditing: true, + allowKeyboardNavigation: true, + autoFocus: true, + autoHeight: true, + colorPaletteColumns: 10, + colorPaletteRows: 5, + cssClass: 'gradient-lime', + enableResize: true, + enableTabKeyNavigation: true, + fileBrowser: { + filePath: (window).baseurl + "Content/FileBrowser/", + extensionAllow: "*.png, *.doc, *.pdf, *.txt, *.docx", + ajaxAction: (window).baseurl + "api/FileExplorer/FileOperations" + }, + imageBrowser: { + filePath: (window).baseurl + "Content/FileBrowser/", + extensionAllow: "*.png, *.gif, *.jpg, *.jpeg, *.docx", + ajaxAction: (window).baseurl + "api/FileExplorer/FileOperations" + }, + isResponsive: true, + showClearAll: true, + showClearFormat: true, + showDimensions: true, + showCharCount: true, + tools: { + formatStyle: ["format"], + edit: ["findAndReplace"], + font: ["fontName", "fontSize", "fontColor", "backgroundColor"], + style: ["bold", "italic", "underline", "strikethrough"], + alignment: ["justifyLeft", "justifyCenter", "justifyRight", "justifyFull"], + lists: ["unorderedList", "orderedList"], + clipboard: ["cut", "copy", "paste"], + doAction: ["undo", "redo"], + indenting: ["outdent", "indent"], + clear: ["clearFormat", "clearAll"], + links: ["createLink", "removeLink"], + images: ["image"], + media: ["video"], + tables: ["createTable", "addRowAbove", "addRowBelow", "addColumnLeft", "addColumnRight", "deleteRow", "deleteColumn", "deleteTable"], + effects: ["superscript", "subscript"], + casing: ["upperCase", "lowerCase"], + view: ["fullScreen", "zoomIn", "zoomOut"], + print: ["print"], + customUnorderedList: [{ + name: "unOrderInsert", + tooltip: "Custom UnOrderList", + css: "e-rte-toolbar-icon e-rte-unlistitems customUnOrder", + text: "Smiley", + listImage: "url('../content/images/rte/Smiley-GIF.gif')" + }], + customOrderedList: [{ + name: "orderInsert", + tooltip: "Custom OrderList", + css: "e-rte-toolbar-icon e-rte-listitems customOrder", + text: "Lower-Greek", + listStyle: "lower-greek" + }] + } + }); + }); + +} + + + +module ScheduleComponent { + $(function () { + var sample = new ej.Schedule($("#Schedule1"), { + width: "100%", + height: "525px", + currentDate: new Date(2017, 5, 5), + timeScale: { + minorSlotCount: 4, + majorSlot: 60 + }, + contextMenuSettings: { + enable: true, + menuItems: { + appointment: [ + { id: "open", text: "Open Appointment" }, + { id: "delete", text: "Delete Appointment" }, + { id: "customMenu3", text: "Menu Item 3" }, + { id: "customMenu4", text: "Menu Item 4" } + ], + cells: [ + { id: "new", text: "New Appointment" }, + { id: "recurrence", text: "New Recurring Appointment" }, + { id: "today", text: "Today" }, + { id: "gotodate", text: "Go to date" }, + { id: "settings", text: "Settings" }, + { id: "view", text: "View", parentId: "settings" }, + { id: "timemode", text: "TimeMode", parentId: "settings" }, + { id: "view_Day", text: "Day", parentId: "view" }, + { id: "view_Week", text: "Week", parentId: "view" }, + { id: "view_Workweek", text: "Workweek", parentId: "view" }, + { id: "view_Month", text: "Month", parentId: "view" }, + { id: "timemode_Hour12", text: "12 Hours", parentId: "timemode" }, + { id: "timemode_Hour24", text: "24 Hours", parentId: "timemode" }, + { id: "workhours", text: "Work Hours", parentId: "settings" }, + { id: "customMenu1", text: "Menu Item 1" }, + { id: "customMenu2", text: "Menu Item 2" } + ] + } + }, + resources: [{ + field: "ownerId", + title: "Owner", + name: "Owners", allowMultiple: true, + resourceSettings: { + dataSource: [ + { text: "Nancy", id: 1, groupId: 1, color: "#f8a398" }, + { text: "Steven", id: 3, groupId: 2, color: "#56ca85" }, + { text: "Michael", id: 5, groupId: 1, color: "#51a0ed" } + ], + text: "text", id: "id", groupId: "groupId", color: "color" + } + }], + appointmentSettings: { + dataSource: new ej.DataManager((window).ResourcesData).executeLocal(new ej.Query().take(10)), + id: "Id", + subject: "Subject", + startTime: "StartTime", + endTime: "EndTime", + description: "Description", + allDay: "AllDay", + recurrence: "Recurrence", + recurrenceRule: "RecurrenceRule", + resourceFields: "ownerId" + } + }); + }); +} + + + +module ScrollerComponent { + $(function () { + var scrollerSample = new ej.Scroller($("#scrollcontent"), { + height: "300px", + width: "100%" + }); + $(window).bind('resize', function () { + scrollerSample.refresh(); + }); + }); +} + + + +module SignatureComponent { + $(function () { + var basicSignature = new ej.Signature($("#signature"), { + height: "400px", + isResponsive: true, + strokeWidth: 3 + }); + }); +} + + + + +module SliderComponent { + $(function () { + var slider = new ej.Slider($("#minSlider"), { + sliderType: "MinRange", + value: 60, + minValue: 0, + maxValue: 100 + }); + var rangeslider = new ej.Slider($("#rangeSlider"), { + sliderType: "Range", + values: [30, 60], + minValue: 0 + }); + + }); +} + + + + + + +module linesparkline { + $(function () { + + var sparklinesample = new ej.Sparkline($("#line"), { + dataSource: [12, 14, 11, 12, 11, 15, 12, 10, 11, 12, 15, 13, 12, 11, 10, 13, 15, 12, 14, 16, 14, 12, 11], + tooltip: { + visible: true, + font: { size:"12px" } + }, + type: "line", + size: { height: "40", width:"170" }, + }); + }); +} + +module columnsparkline { + $(function () { + var sparkcolumnsample = new ej.Sparkline($("#column"), { + dataSource: [2, 6, -1, 1, 12, 5, -2, 7, -3, 5, 8, 10,], + negativePointColor: "red", + highPointColor: "blue", + tooltip: { + visible: true, + font: { + size: "12px", + } + }, + type: "column", + size: { height: "100", width: "150" }, + }); + }); +} + +module areasparkline { + $(function () { + var sparkareasample = new ej.Sparkline($("#area"), { + dataSource: [12, -10, 11, 8, 17, 6, 2, -17, 13, -6, 8, 10,], + markerSettings: { visible: true }, + highPointColor: "blue", + lowPointColor: "orange", + type: "area", + opacity: 0.5, + tooltip: { + visible: true, + font: { + size: "12px", + } + }, + size: { height: "100", width: "150" }, + }); + }); +} + +module windlosssparkline { + $(function () { + var sparkwinlosssample = new ej.Sparkline($("#winloss"), { + dataSource: [12, 15, -11, 13, 17, 0, -12, 17, 13, -15, 8, 10,], + type: "winloss", + size: { height: "100", width: "150" }, + }); + }); +} + +module piesparkline1 { + $(function () { + var sparkpiesample1 = new ej.Sparkline($("#pie1"), { + dataSource: [4, 6, 7], + type: "pie", + tooltip: { + visible: true, + font: { + size: "12px", + } + }, + size: { height: "40", width: "40" }, + }); + }); +} + +module piesparkline2 { + $(function () { + var sparkpiesample2 = new ej.Sparkline($("#pie2"), { + dataSource: [8, 9, 1,], + type: "pie", + tooltip: { + visible: true, + font: { + size: "12px", + } + }, + size: { height: "40", width: "40" }, + }); + }); +} + +module piesparkline3 { + $(function () { + var sparkpiesample3 = new ej.Sparkline($("#pie3"), { + dataSource: [2, 3, 5], + type: "pie", + tooltip: { + visible: true, + font: { + size: "12px", + } + }, + size: { height: "40", width: "40" }, + }); + }); +} + +module piesparkline4 { + $(function () { + var sparkpiesample4 = new ej.Sparkline($("#pie4"), { + dataSource: [10, 12, 11], + type: "pie", + tooltip: { + visible: true, + font: { + size: "12px", + } + }, + size: { height: "40", width: "40" }, + }); + }); +} + + + + + + +module SplitterComponent { + $(function () { + var splitterInstance = new ej.Splitter($("#outterSpliter"), { + height: "250px", + width: "50%", + orientation: ej.Orientation.Vertical, + properties: [{}, { paneSize: 80 }], + isResponsive:true + }); + var splitterInstance1 = new ej.Splitter($("#innerSpliter"), { + isResponsive:true, + }); + }); +} + + + +module SpreadsheetComponent { +$(function () { + var sample = new ej.Spreadsheet($("#basicSpreadsheet"), { + scrollSettings: { + height: 550, + }, + importSettings: { + importMapper: (window).baseurl + "api/Spreadsheet/Import" + }, + exportSettings: { + excelUrl: (window).baseurl + "api/Spreadsheet/ExcelExport", + csvUrl: (window).baseurl + "api/Spreadsheet/CsvExport", + pdfUrl: (window).baseurl + "api/Spreadsheet/PdfExport" + }, + sheets: [{ rangeSettings: [{ dataSource: (window).defaultData, startCell: "A1" }] }], + loadComplete: () => { + var spreadsheet = $("#basicSpreadsheet").data("ejSpreadsheet"), xlFormat = spreadsheet.XLFormat; + if (!(spreadsheet).isImport) { + spreadsheet.setWidthToColumns([140, 128, 105, 100, 100, 110, 120, 120, 100]); + xlFormat.format({ "style": { "font-weight": "bold" } }, "A1:H1"); + xlFormat.format({ "type": "currency" }, "E2:H11"); + spreadsheet.XLRibbon.updateRibbonIcons(); + }} + }); + }); +} + + + + +var default_data: Array = [ + { Category : "Employees", Country : "USA", JobDescription : "Sales", JobGroup:"Executive", EmployeesCount : 50 }, + { Category : "Employees", Country : "USA", JobDescription : "Sales", JobGroup : "Analyst", EmployeesCount : 40 }, + { Category : "Employees", Country : "USA", JobDescription : "Marketing", EmployeesCount : 40 }, + { Category : "Employees", Country : "USA", JobDescription : "Technical", JobGroup : "Testers", EmployeesCount : 55 }, + { Category : "Employees", Country : "USA", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Windows", EmployeesCount : 175}, + { Category : "Employees", Country : "USA", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Web", EmployeesCount : 70 }, + { Category : "Employees", Country : "USA", JobDescription : "Management", EmployeesCount : 40 }, + { Category : "Employees", Country : "USA", JobDescription : "Accounts", EmployeesCount : 60 }, + + { Category : "Employees", Country : "India", JobDescription : "Technical", JobGroup : "Testers", EmployeesCount : 43 }, + { Category : "Employees", Country : "India", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Windows", EmployeesCount : 125}, + { Category : "Employees", Country : "India", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Web", EmployeesCount : 60 }, + { Category : "Employees", Country : "India", JobDescription : "HR Executives", EmployeesCount : 70 }, + { Category : "Employees", Country : "India", JobDescription : "Accounts", EmployeesCount : 45 }, + + { Category : "Employees", Country : "Germany", JobDescription : "Sales", JobGroup : "Executive", EmployeesCount : 30 }, + { Category : "Employees", Country : "Germany", JobDescription : "Sales", JobGroup : "Analyst", EmployeesCount : 40 }, + { Category : "Employees", Country : "Germany", JobDescription : "Marketing", EmployeesCount : 50 }, + { Category : "Employees", Country : "Germany", JobDescription : "Technical", JobGroup : "Testers", EmployeesCount : 40 }, + { Category : "Employees", Country : "Germany", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Windows", EmployeesCount : 65 }, + { Category : "Employees", Country : "Germany", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Web", EmployeesCount : 27 }, + { Category : "Employees", Country : "Germany", JobDescription : "Management", EmployeesCount : 33 }, + { Category : "Employees", Country : "Germany", JobDescription : "Accounts", EmployeesCount : 55 }, + + { Category : "Employees", Country : "UK", JobDescription : "Technical", JobGroup : "Testers", EmployeesCount : 45 }, + { Category : "Employees", Country : "UK", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Windows", EmployeesCount : 96 }, + { Category : "Employees", Country : "UK", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Web", EmployeesCount : 55 }, + { Category : "Employees", Country : "UK", JobDescription : "HR Executives", EmployeesCount : 60 }, + { Category : "Employees", Country : "UK", JobDescription: "Accounts", EmployeesCount: 30 }, + + { Category : "Employees", Country : "France", JobDescription : "Technical", JobGroup : "Testers", EmployeesCount : 40 }, + { Category : "Employees", Country : "France", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Windows", EmployeesCount : 65 }, + { Category : "Employees", Country : "France", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Web", EmployeesCount : 27 }, + { Category : "Employees", Country : "France", JobDescription: "Marketing", EmployeesCount: 50 } +]; + +module sunburstcomponent { + $(function () { + var sunburstsample = new ej.SunburstChart($("#Sunburst"), { + valueMemberPath: "EmployeesCount", + levels: [ + {groupMemberPath: "Country"}, + {groupMemberPath: "JobDescription"}, + {groupMemberPath: "JobGroup"}, + {groupMemberPath: "JobRole"} + ], + dataSource: default_data, + dataLabelSettings:{visible:true}, + tooltip:{visible:false}, + enableAnimation:false, + size:{height:"600"}, + innerRadius:0.2, + title:{text:"Employees Count"}, + zoomSettings:{enable:false}, + legend:{visible:true,position:'top'} + }); + }); +} + + + + +module TabComponent { + $(function () { + var sample = new ej.Tab($("#defaultTab"),{ + width: "500px", + collapsible: true, + events: "click", + heightAdjustMode: ej.Tab.HeightAdjustMode.Content, + showCloseButton: true, + showRoundedCorner: false + }); + }); +} + + + +module TagCloudComponent { + + + var websiteCollection = [ + { text: "Google", url: "http://www.google.com", frequency: 12 }, + { text: "All Things Digital", url: "http://allthingsd.com/", frequency: 3 }, + { text: "Arts Technica", url: "http://arstechnica.com/", frequency: 8 }, + { text: "Business Week", url: "http://www.businessweek.com/", frequency: 2 }, + { text: "Yahoo", url: "http://in.yahoo.com/", frequency: 12 }, + { text: "Center Networks", url: "http://www.centernetworks.com/", frequency: 5 }, + { text: "Crave", url: "http://news.cnet.com/crave/", frequency: 8 }, + { text: "Crunch Gear", url: "http://techcrunch.com/gadgets/", frequency: 20 }, + { text: "Daily Tech", url: "http://www.dailytech.com/", frequency: 1 }, + { text: "Electronista", url: "http://www.electronista.com/", frequency: 3 }, + { text: "Engadget", url: "http://www.engadget.com/", frequency: 5 }, + { text: "Gearlog", url: "http://www.gearlog.com/", frequency: 9 }, + { text: "Information Week", url: "http://www.informationweek.com/", frequency: 0 }, + { text: "PCWorld", url: "http://www.pcworld.com/", frequency: 11 }, + { text: "Tech Republic", url: "http://techrepublic.com/", frequency: 3 }, + { text: "Valleywag", url: "http://valleywag.gawker.com/", frequency: 6 }, + { text: "Rediff", url: "http://in.rediff.com/", frequency: 9 }, + { text: "WebProNews", url: "http://www.webpronews.com/", frequency: 2 } + ]; + + $(function () { + var sample = new ej.TagCloud($("#techWebList"), { + titleText: "Tech Sites", + dataSource: websiteCollection, + cssClass: "gradient-lime", + fields: { + text: "text", url: "url", frequency: "frequency" + } + }); + + }); +} + + + +module EditorComponent { + $(function () { + var num = new ej.NumericTextbox($("#numeric"), { + value: 30, + minValue: 1, + maxValue: 100, + name: "numeric", + width: "100%" + }); + var per = new ej.PercentageTextbox($("#percent"), { + value: 60, + minValue: 10, + maxValue: 1000, + name: "percent", + width: "100%" + }); + var cur = new ej.CurrencyTextbox($("#currency"), { + value: 100, + minValue: 10, + maxValue: 1000, + name: "currency", + width: "100%" + }); + var mask = new ej.MaskEdit($("#maskedit"), { + name: "mask", + value: "4242422424", + maskFormat: "99 999-99999", + width: "100%" + }) + }); +} + + + + + +module TileViewComponent { + $(function () { + var tile1 = new ej.Tile($("#tile1"), { + imagePosition:"fill", + caption:{text:"People"}, + tileSize:"medium", + imageUrl:'content/images/tile/windows/people_1.png' + }); + var tile2 = new ej.Tile($("#tile2"), { + imagePosition:"center", + tileSize:"small", + imageUrl:'content/images/tile/windows/alerts.png', + + }); + var tile3 = new ej.Tile($("#tile3"), { + imagePosition:"center", + tileSize:"small", + imageUrl:'content/images/tile/windows/bing.png', + }); + var tile4 = new ej.Tile($("#tile4"), { + tileSize:"small", + imageUrl:'content/images/tile/windows/camera.png', + }); + var tile5 = new ej.Tile($("#tile5"), { + imagePosition:"center", + tileSize:"small", + imageUrl:'content/images/tile/windows/messages.png', + }); + var tile6 = new ej.Tile($("#tile6"), { + imagePosition:"center", + tileSize:"medium", + imageUrl:'content/images/tile/windows/games.png', + caption:{text:"Play"} + }); + var tile7 = new ej.Tile($("#tile7"), { + tileSize:"medium", + imageUrl:'content/images/tile/windows/map.png', + caption:{text:"Maps"} + }); + var tile8 = new ej.Tile($("#tile8"), { + imagePosition:"fill", + tileSize:"wide", + imageUrl:'content/images/tile/windows/sports.png', + caption:{text:"Sports"} + }); + var tile9 = new ej.Tile($("#tile9"), { + imagePosition:"fill", + tileSize:"medium", + imageUrl:'content/images/tile/windows/people_2.png', + caption:{text:"People"} + }); + var tile10 = new ej.Tile($("#tile10"), { + imagePosition:"center", + tileSize:"medium", + imageUrl:'content/images/tile/windows/pictures.png', + caption:{text:"Photo"} + }); + var tile11 = new ej.Tile($("#tile11"), { + imagePosition:"center", + tileSize:"wide", + imageUrl:'content/images/tile/windows/weather.png', + caption:{text:"Weather"} + }); + var tile12 = new ej.Tile($("#tile12"), { + imagePosition:"center", + tileSize:"medium", + imageUrl:'content/images/tile/windows/music.png', + caption:{text:"Music"} + }); + var tile13 = new ej.Tile($("#tile13"), { + imagePosition:"center", + tileSize:"medium", + imageUrl:'content/images/tile/windows/favs.png', + caption:{text:"Favorites"} + }); + }); +} + + + +module TimePickerComponent { + $(function () { + var timeSample = new ej.TimePicker($("#timepick"), { + width: "100%" + }); + }); +} + + + + +module ToolbarComponent { + + $(function () { + var sample = new ej.Toolbar($("#editingToolbar"),{ + width: "100%", + cssClass: "gradient-lime", + enableSeparator: true, + + isResponsive: true, + orientation: ej.Orientation.Horizontal, + showRoundedCorner: true + }); + }); + +} + + + + +module TooltipComponent { + + $(function () { + + var sample1 = new ej.Tooltip($("#link1"),{ + content: "ECMAScript (or ES) is a trademarked scripting-language specification standardized by Ecma International in ECMA-262 and ISO/IEC 16262.", + associate: "mousefollow", + autoCloseTimeout: 5000, + collision: "fit", + containment: ".frame", + showRoundedCorner: true, + showShadow: true + }); + + var sample2 = new ej.Tooltip($("#link2"),{ + content: "The World Wide Web (WWW) is an information space where documents and other web resources are identified by URLs, interlinked by hypertext links, and can be accessed via the Internet.", + position: { + stem: { + horizontal: "right", + vertical: "center" + }, + target: { + horizontal: "left", + vertical: "center" + } + }, + autoCloseTimeout: 5000, + collision: "fit", + containment: ".frame", + showRoundedCorner: true, + showShadow: true + }); + + var sample3 = new ej.Tooltip($("#link3"),{ + content: 'Object-oriented programming (OOP) is a programming language model organized around objects rather than "actions" and data rather than logic.', + position: { + stem: { + horizontal: "right", + vertical: "center" + }, + target: { + horizontal: "left", + vertical: "center", + }, + }, + associate: "mousefollow", + autoCloseTimeout: 5000, + collision: "fit", + containment: ".frame", + showRoundedCorner: true, + showShadow: true + }); + }); +} + + + +module TreeGridComponent { + $(function () { + var treegridInstance = new ej.TreeGrid($("#TreeGridContainer"), { + dataSource: (window).treeGridData, + childMapping: "subtasks", + allowSorting: true, + allowMultiSorting: true, + enableAltRow: true, + allowFiltering: true, + treeColumnIndex: 1, + allowKeyboardNavigation: true, + showColumnChooser: true, + showColumnOptions: true, + contextMenuSettings: { + showContextMenu: true, + contextMenuItems: ["add", "edit", "delete"] + }, + columnDialogFields: ["field", "headerText", "editType", "width", "visible", "allowSorting", "textAlign", "headerTextAlign"], + editSettings: { + allowAdding: true, + allowEditing: true, + allowDeleting: true, + editMode: "cellEditing", + rowPosition: "belowSelectedRow" + }, + toolbarSettings: { + showToolbar: true, + toolbarItems: ["add","edit","delete","update","cancel","expandAll","collapseAll"] + }, + columns: [ + { field: "taskID", headerText: "Task Id", allowFiltering: false, editType: "numericedit", filterEditType: "numericedit" }, + { field: "taskName", headerText: "Task Name", editType: "stringedit", filterEditType: "stringedit" }, + { field: "startDate", headerText: "Start Date", editType: "datepicker", filterEditType: "datepicker", format:"{0:MM/dd/yyyy}" }, + { field: "endDate", headerText: "End Date", editType: "datepicker", filterEditType: "datepicker", format:"{0:MM/dd/yyyy}" }, + { field: "progress", headerText: "Progress", editType: "numericedit", filterEditType: "numericedit" } + ], + isResponsive: true, + }); +}); +} + + + + +var population_data: Array = [ + { Continent: "Asia", Country: "Indonesia", Growth: 3, Population: 237641326 }, + { Continent: "Asia", Country: "Russia", Growth: 2, Population: 152518015 }, + { Continent: "Asia", Country: "Malaysia", Growth: 1, Population: 29672000 }, + { Continent: "North America", Country: "United States", Growth: 4, Population: 315645000 }, + { Continent: "North America", Country: "Mexico", Growth: 2, Population: 112336538 }, + { Continent: "North America", Country: "Canada", Growth: 1, Population: 39056064 }, + { Continent: "South America", Country: "Colombia", Growth: 1, Population: 47000000 }, + { Continent: "South America", Country: "Brazil", Growth: 3, Population: 193946886 }, + { Continent: "Africa", Country: "Nigeria", Growth: 2, Population: 170901000 }, + { Continent: "Africa", Country: "Egypt", Growth: 1, Population: 83661000 }, + { Continent: "Europe", Country: "Germany", Growth: 1, Population: 81993000 }, + { Continent: "Europe", Country: "France", Growth: 1, Population: 65605000 }, + { Continent: "Europe", Country: "UK", Growth: 1, Population: 63181775 } +]; + +module treemapcomponent { + $(function () { + var treemapsample = new ej.datavisualization.TreeMap($("#treemap"), { + leafItemSettings: { showLabels: true, labelPath: "Country" }, + rangeColorMapping: [ + { color: "#77D8D8", legendLabel: "1% Growth", from: 0, to: 1 }, + { color: "#AED960", from: 0, legendLabel: "2% Growth", to: 2 }, + { color: "#FFAF51", from: 0, legendLabel: "3% Growth", to: 3 }, + { color: "#F3D240", from: 0, legendLabel: "4% Growth", to: 4 } + ], + levels: [ + { groupPath: "Continent", groupGap: 5, headerHeight: 25, showHeader: true, headerTemplate: 'headertemplate' } + ], + dataSource: population_data, + colorValuePath: "Growth", + weightValuePath: "Population", + borderThickness: 0, + showLegend: true + }); + }); +} + + + + + +module TreeViewComponent { + $(function () { + var tree = new ej.TreeView($("#treeView"), { + allowEditing: true, + allowDragAndDrop: true, + allowDropChild: true, + allowDropSibling: true, + }); + }); +} + + + + +module UploadboxComponent { + + $(function () { + var sample = new ej.Uploadbox($("#UploadDefault"),{ + saveUrl: (window).baseurl + "api/uploadbox/Save", + removeUrl: (window).baseurl + "api/uploadbox/Remove", + buttonText: { + browse: "Choose File", upload: "Upload", cancel: "Cancel" + }, + cssClass: "gradient- purple", + dialogAction: { + modal: false, closeOnComplete: false, drag: true + }, + extensionsAllow: ".zip", + multipleFilesSelection: true, + showFileDetails: true + }); + }); + +} + + + + +module WaitingPopupComponent { + $(function () { + var sample = new ej.WaitingPopup($("#target"),{ + showOnInit: true, + showImage: true, + text: 'waiting…', + target: "#target", + appendTo: "#waiting" + }); + }); + +} diff --git a/types/ej.web.all/index.d.ts b/types/ej.web.all/index.d.ts index ebbe57194d..cccbf5887c 100644 --- a/types/ej.web.all/index.d.ts +++ b/types/ej.web.all/index.d.ts @@ -8,7 +8,7 @@ /*! * filename: ej.web.all.d.ts -* version : 15.3.0.29 +* version : 15.3.0.33 * Copyright Syncfusion Inc. 2001 - 2017. All rights reserved. * Use of this code is subject to the terms of our license. * A copy of the current license can be obtained at any time by e-mailing @@ -7732,7 +7732,7 @@ declare namespace ej { */ enableRTL?: boolean; - /** The CSS class name to display the favicon in the dialog header. In order to display favicon, you need to set "showHeader" as true since the favicon will be displayed in the dialog + /** The CSS class name to display the favicon in the dialog header. In order to display favicon, you need to set showHeader as true since the favicon will be displayed in the dialog * header. */ faviconCSS?: string; @@ -7791,7 +7791,7 @@ declare namespace ej { */ target?: string; - /** The title text to be displayed in the dialog header. In order to set title, you need to set "showHeader" as true since the title will be displayed in the dialog header. + /** The title text to be displayed in the dialog header. In order to set title, you need to set showHeader as true since the title will be displayed in the dialog header. */ title?: string; @@ -8443,6 +8443,12 @@ declare namespace ej { */ enableFilterSearch?: boolean; + /** The serverfiltering is to perform filter action when text is typed in the search box and filtering will be done based on the collection which contains the matched item from entire + * datasource. Serverfiltering will be done based on the entire items in DataSource. + * @Default {false} + */ + enableServerFiltering?: boolean; + /** Saves the current model value to the browser cookies for state maintenance. While refreshing the DropDownList control page, it retains the model value and it is applied from the * browser cookies. * @Default {false} @@ -10273,7 +10279,7 @@ declare namespace ej { /** Specifies the field settings to map the datasource. */ - fieldSettings?: any; + fieldSettings?: FieldSettings; /** Contains the array of items to be added in ListView. * @Default {[]} @@ -10644,6 +10650,61 @@ declare namespace ej { */ type?: string; } + + export interface FieldSettings { + + /** Defines the specific field name which contains Boolean values to specify whether the list items to be checked by default or not. + */ + checked?: boolean; + + /** Defines the URL to be navigated while clicking the list item. + */ + navigateUrl?: string; + + /** Defines the HTML attributes such as id, class, styles for the specific list item. + */ + attributes?: any; + + /** Defines the specific field name which contains id values for the list items. + */ + id?: string; + + /** Defines the URL for the image to be displayed in the list item. + */ + imageUrl?: string; + + /** Defines the class name for image in that specific list items. + */ + imageClass?: string; + + /** Specifies whether to prevent the selection of the list item. + */ + preventSelection?: boolean; + + /** Specifies whether to retain the selection of the list item. + */ + persistSelection?: boolean; + + /** To define the first level of list items. + */ + primaryKey?: string; + + /** To define the child level of list items inside the parent items. + */ + parentPrimaryKey?: string; + + /** Defines the specific field name in the data source to load the list with data. + */ + text?: string; + + /** To trigger the mouseup event for specific list items. + */ + mouseUP?: string; + + /** To trigger the mousedown event for specific list items. + */ + mouseDown?: string; + } } class MaskEdit extends ej.Widget { @@ -10721,6 +10782,11 @@ declare namespace ej { */ inputMode?: ej.InputMode|string; + /** Defines the localization culture for MaskEdit. + * @Default {en-US} + */ + locale?: string; + /** Specifies the input mask. * @Default {null} */ @@ -11741,7 +11807,7 @@ declare namespace ej { */ externalStyles?: string; - /** Prepend a doctype to the document frame. + /** Prepend a docType to the document frame. * @Default {<!doctype html>} */ docType?: string; @@ -15901,7 +15967,7 @@ declare namespace ej { /** Performs the action value based on the given command. * @param {string} Command Name. * @param {any} Content to be inserted as argument. - * @param {boolean} Boolean value to specify whether the argument is textnode or not, this is optional. + * @param {boolean} Boolean value to specify whether the argument is textNode or not, this is optional. * @returns {void} */ executeCommand(cmdName: string, args: any, textnodeType?: boolean): void; @@ -22044,6 +22110,19 @@ declare namespace ej { */ cancelEditCell(): void; + /** Returns the total page size need to be displayed in grid based on the given container height. This method will also work when the property allowTextWrap as true only when wrap + * mode is header. + * @param {number} When passing the container height as integer or percentage, it will returns the page size that need to be displayed for grid. + * @returns {number} + */ + calculatePageSizeByParentHeight(containerHeight: number): number; + + /** It is used to change the number of records displayed per page in grid based on the given page size. + * @param {number} When passing the page size, it will change the number of records displayed per page in grid. + * @returns {void} + */ + changePageSize(pageSize: number): void; + /** It is used to clear all the cell selection. * @returns {boolean} */ @@ -22169,7 +22248,7 @@ declare namespace ej { export(action?: string, serverEvent?: string, multipleExport?: boolean, gridIds?: any[]): void; /** Send a filtering request to filter one column in grid. - * @param {any[]} Pass the field name of the column + * @param {any[]|string} Pass the field name of the column * @param {string} string/integer/dateTime operator * @param {string} Pass the value to be filtered in a column * @param {string} Pass the predicate as and/or @@ -22177,7 +22256,7 @@ declare namespace ej { * @param {any} optionalactualFilterValue denote the filter object of current filtered columns.Pass the value to filtered in a column * @returns {void} */ - filterColumn(fieldName: any[], filterOperator: string, filterValue: string, predicate: string, matchcase?: boolean, actualFilterValue?: any): void; + filterColumn(fieldName: any[]|string, filterOperator: string, filterValue: string, predicate: string, matchcase?: boolean, actualFilterValue?: any): void; /** Send a filtering request to filter single or multiple column in grid. * @param {any[]} Pass array of filterColumn query for performing filter operation @@ -25152,7 +25231,7 @@ declare namespace ej { /** Gets or sets a value that indicates to display a column value as checkbox or string * @Default {true} */ - displayAsCheckBox?: boolean; + displayAsCheckbox?: boolean; /** Gets or sets a value that indicates to customize ejNumericTextbox of an editable column. See editingType */ @@ -25288,6 +25367,11 @@ declare namespace ej { * @Default {[]} */ subMenu?: any[]; + + /** Used to get or set the sub menu items to the custom context menu item using JsRender template. + * @Default {null} + */ + template?: string; } export interface ContextMenuSettings { @@ -51454,6 +51538,11 @@ declare namespace ej.datavisualization { /** Name of the event */ type?: string; + + /** location - X and Y co-ordinate of the points with respect to chart area.id - ID of the target element. size - Width and height of the chart. pageX - x-coordinate of the + * pointer, relative to the page pageY - y-coordinate of the pointer, relative to the page + */ + data?: any; } export interface ChartDoubleClickEventArgs { @@ -51469,6 +51558,11 @@ declare namespace ej.datavisualization { /** Name of the event */ type?: string; + + /** location - X and Y co-ordinate of the points with respect to chart area.id - ID of the target element. size - Width and height of the chart. pageX - x-coordinate of the + * pointer, relative to the page pageY - y-coordinate of the pointer, relative to the page + */ + data?: any; } export interface ChartMouseLeaveEventArgs { @@ -51564,7 +51658,7 @@ declare namespace ej.datavisualization { */ type?: string; - /** errorbar - Error bar Object + /** errorBar - Error bar Object */ data?: any; } @@ -51583,7 +51677,7 @@ declare namespace ej.datavisualization { */ type?: string; - /** multilevellabels - MultiLevel Label Object + /** MultiLevelLabels - MultiLevel Label Object */ data?: any; } @@ -51996,7 +52090,7 @@ declare namespace ej.datavisualization { export interface CommonSeriesOptionsBubbleOptions { /** Used for the calculation of the bubble radius based on the mode selected - * @Default {minmax} + * @Default {minMax} */ radiusMode?: ej.datavisualization.Chart.RadiusMode|string; @@ -52980,7 +53074,7 @@ declare namespace ej.datavisualization { */ pieOfPieCoefficient?: number; - /** Split Value of pieofpie series. + /** Split Value of pieOfPie series. * @Default {null} */ splitValue?: string; @@ -55968,7 +56062,7 @@ declare namespace ej.datavisualization { export interface SeriesBubbleOptions { /** Used for the calculation of the bubble radius based on the mode selected - * @Default {minmax .See RadiusMode} + * @Default {minMax .See RadiusMode} */ radiusMode?: ej.datavisualization.Chart.RadiusMode|string; @@ -57257,7 +57351,7 @@ declare namespace ej.datavisualization { */ pieOfPieCoefficient?: number; - /** Split Value of pieofpie series. + /** Split Value of pieOfPie series. * @Default {null} */ splitValue?: string; @@ -61343,7 +61437,7 @@ declare namespace ej.datavisualization { valuePath?: string; } - export interface LayersSublayersBubbleSettingsColorMappingsRangeColorMapping { + export interface LayersSubLayersBubbleSettingsColorMappingsRangeColorMapping { /** Start range colorMappings in the bubble layer. * @Default {null} @@ -61365,15 +61459,15 @@ declare namespace ej.datavisualization { color?: string; } - export interface LayersSublayersBubbleSettingsColorMappings { + export interface LayersSubLayersBubbleSettingsColorMappings { /** Specifies the range colorMappings in the bubble layer. * @Default {null} */ - rangeColorMapping?: LayersSublayersBubbleSettingsColorMappingsRangeColorMapping[]; + rangeColorMapping?: LayersSubLayersBubbleSettingsColorMappingsRangeColorMapping[]; } - export interface LayersSublayersBubbleSettings { + export interface LayersSubLayersBubbleSettings { /** Specifies the bubble Opacity value of bubbles for shape layer in map * @Default {0.9} @@ -61388,7 +61482,7 @@ declare namespace ej.datavisualization { /** Specifies the colorMappings of the shape layer in map * @Default {null} */ - colorMappings?: LayersSublayersBubbleSettingsColorMappings; + colorMappings?: LayersSubLayersBubbleSettingsColorMappings; /** Specifies the bubble color valuePath of the shape layer in map * @Default {null} @@ -61426,7 +61520,7 @@ declare namespace ej.datavisualization { valuePath?: string; } - export interface LayersSublayersLabelSettings { + export interface LayersSubLayersLabelSettings { /** enable or disable the enableSmartLabel property * @Default {false} @@ -61454,7 +61548,7 @@ declare namespace ej.datavisualization { smartLabelSize?: ej.datavisualization.Map.LabelSize|string; } - export interface LayersSublayersLegendSettings { + export interface LayersSubLayersLegendSettings { /** Determines whether the legend should be placed outside or inside the map bounds * @Default {false} @@ -61547,7 +61641,7 @@ declare namespace ej.datavisualization { width?: number; } - export interface LayersSublayersShapeSettingsColorMappingsRangeColorMapping { + export interface LayersSubLayersShapeSettingsColorMappingsRangeColorMapping { /** Specifies the start range colorMappings in the shape layer of map. * @Default {null} @@ -61565,7 +61659,7 @@ declare namespace ej.datavisualization { gradientColors?: any[]; } - export interface LayersSublayersShapeSettingsColorMappingsEqualColorMapping { + export interface LayersSubLayersShapeSettingsColorMappingsEqualColorMapping { /** Specifies the equalColorMapping value in the shape layer of map. * @Default {null} @@ -61578,20 +61672,20 @@ declare namespace ej.datavisualization { color?: string; } - export interface LayersSublayersShapeSettingsColorMappings { + export interface LayersSubLayersShapeSettingsColorMappings { /** Specifies the range colorMappings in the shape layer of map. * @Default {null} */ - rangeColorMapping?: LayersSublayersShapeSettingsColorMappingsRangeColorMapping[]; + rangeColorMapping?: LayersSubLayersShapeSettingsColorMappingsRangeColorMapping[]; /** Specifies the equalColorMapping in the shape layer of map. * @Default {null} */ - equalColorMapping?: LayersSublayersShapeSettingsColorMappingsEqualColorMapping[]; + equalColorMapping?: LayersSubLayersShapeSettingsColorMappingsEqualColorMapping[]; } - export interface LayersSublayersShapeSettings { + export interface LayersSubLayersShapeSettings { /** Enables or Disables the auto fill colors for shape layer in map. When this property value set to true, shapes will be filled with palette colors. * @Default {false} @@ -61601,7 +61695,7 @@ declare namespace ej.datavisualization { /** Specifies the colorMappings of the shape layer in map * @Default {null} */ - colorMappings?: LayersSublayersShapeSettingsColorMappings; + colorMappings?: LayersSubLayersShapeSettingsColorMappings; /** Specifies the shape color palette value of the shape layer in map. Accepted colorPalette values are palette1, palette2, palette3 and custompalette. * @Default {palette1} @@ -61669,7 +61763,7 @@ declare namespace ej.datavisualization { valuePath?: string; } - export interface LayersSublayer { + export interface LayersSubLayer { /** to get the type of bing map. * @Default {aerial} @@ -61678,7 +61772,7 @@ declare namespace ej.datavisualization { /** Specifies the bubble settings for map */ - bubbleSettings?: LayersSublayersBubbleSettings; + bubbleSettings?: LayersSubLayersBubbleSettings; /** Specifies the datasource for the shape layer */ @@ -61709,7 +61803,7 @@ declare namespace ej.datavisualization { /** Options for enabling and configuring labelSettings labelPath, smartLabelSize, labelLength etc., */ - labelSettings?: LayersSublayersLabelSettings; + labelSettings?: LayersSubLayersLabelSettings; /** Specifies the map view type. * @Default {'geographic'} @@ -61723,7 +61817,7 @@ declare namespace ej.datavisualization { /** Options for enabling and configuring legendSettings position, height, width, mode, type etc., */ - legendSettings?: LayersSublayersLegendSettings; + legendSettings?: LayersSubLayersLegendSettings; /** Specifies the map items template for shapes. */ @@ -61754,7 +61848,7 @@ declare namespace ej.datavisualization { /** Specifies the shape settings of map layer */ - shapeSettings?: LayersSublayersShapeSettings; + shapeSettings?: LayersSubLayersShapeSettings; /** Shows or hides the map items. * @Default {false} @@ -61884,7 +61978,7 @@ declare namespace ej.datavisualization { /** Sublayer is the collection of shape Layer */ - sublayers?: LayersSublayer[]; + subLayers?: LayersSubLayer[]; } } namespace Map { @@ -62606,7 +62700,7 @@ declare namespace ej.datavisualization { //Wrap the label by letter when its width exceeds grid width Wrap, //Wrap the label by word when its width exceeds grid width - Wrapbyword, + WrapByWord, } } namespace TreeMap { @@ -64075,11 +64169,11 @@ declare namespace ej.datavisualization { /** A method that defines whether the command is executable at the moment or not. */ - canExecute?: '() => void'; + canExecute?: any; /** A method that defines what to be executed when the key combination is recognized. */ - execute?: '() => void'; + execute?: any; /** Defines a combination of keys and key modifiers, on recognition of which the command will be executed */ @@ -64871,24 +64965,24 @@ declare namespace ej.datavisualization { /** A method that takes a history entry as argument and returns whether the specific entry can be popped or not */ - canPop?: '() => void'; + canPop?: any; /** A method that ends grouping the changes */ - closeGroupAction?: '() => void'; + closeGroupAction?: any; /** A method that removes the history of a recent change made in diagram */ - pop?: '() => void'; + pop?: any; /** A method that allows to track the custom changes made in diagram */ - push?: '() => void'; + push?: any; /** Defines what should be happened while trying to restore a custom change * @Default {null} */ - redo?: '() => void'; + redo?: any; /** The redoStack property is used to get the number of redo actions to be stored on the history manager. Its an read-only property and the collection should not be modified. * @Default {[]} @@ -64902,11 +64996,11 @@ declare namespace ej.datavisualization { /** A method that starts to group the changes to revert/restore them in a single undo or redo */ - startGroupAction?: '() => void'; + startGroupAction?: any; /** Defines what should be happened while trying to revert a custom change */ - undo?: '() => void'; + undo?: any; /** The undoStack property is used to get the number of undo actions to be stored on the history manager. Its an read-only property and the collection should not be modified. * @Default {[]} @@ -65197,6 +65291,11 @@ declare namespace ej.datavisualization { */ stops?: any[]; + /** Defines the type of gradient + * @Default {linear} + */ + type?: string; + /** Defines the left most position(relative to node) of the rectangular region that needs to be painted * @Default {0} */ @@ -65220,6 +65319,11 @@ declare namespace ej.datavisualization { export interface NodesGradientRadialGradient { + /** Defines the type of gradient + * @Default {radial} + */ + type?: string; + /** Defines the position of the outermost circle * @Default {0} */ From 3440d433cad9e0d921d9c28c9b2a253ae1dd68b9 Mon Sep 17 00:00:00 2001 From: Syncfusion-JavaScript Date: Fri, 29 Sep 2017 16:10:54 +0530 Subject: [PATCH 018/433] Lint Error Fixed --- types/ej.web.all/ej.web.all-tests.ts | 6599 +++++++++++++------------- 1 file changed, 3296 insertions(+), 3303 deletions(-) diff --git a/types/ej.web.all/ej.web.all-tests.ts b/types/ej.web.all/ej.web.all-tests.ts index 742f54463e..3090492136 100644 --- a/types/ej.web.all/ej.web.all-tests.ts +++ b/types/ej.web.all/ej.web.all-tests.ts @@ -1,3303 +1,3296 @@ -/// -/// - - - - -module AccordionComponent { - $(function () { - var sample = new ej.Accordion($("#basicAccordion"), { - width: "100%", - allowKeyboardNavigation: true, - collapseSpeed: 500, - collapsible: true, - enableAnimation: true, - enableMultipleOpen: true, - events: "click", - expandSpeed: 500, - headerSize: "40px", - htmlAttributes: { title: "Demo" }, - selectedItemIndex: 1, - showCloseButton: true, - showRoundedCorner: true - }); - }); -} - - - -module AutocompleteComponent{ - var carList = [ - "Audi S6", "Austin-Healey", "Alfa Romeo", "Aston Martin", - "BMW 7", "Bentley Mulsanne", "Bugatti Veyron", - "Chevrolet Camaro", "Cadillac", - "Duesenberg J", "Dodge Sprinter", - "Elantra", "Excavator", - "Ford Boss 302", "Ferrari 360", "Ford Thunderbird", - "GAZ Siber", - "Honda S2000", "Hyundai Santro", - "Isuzu Swift", "Infiniti Skyline", - "Jaguar XJS", - "Kia Sedona EX", "Koenigsegg Agera", - "Lotus Esprit", "Lamborghini Diablo", - "Mercedes-Benz", "Mercury Coupe", "Maruti Alto 800", - "Nissan Qashqai", - "Oldsmobile S98", "Opel Superboss", - "Porsche 356", "Pontiac Sunbird", - "Scion SRS/SC/SD", "Saab Sportcombi", "Subaru Sambar", "Suzuki Swift", - "Triumph Spitfire", "Toyota 2000GT", - "Volvo P1800", "Volkswagen Shirako" - ]; - $(function () { - var autocompleteInstance =new ej.Autocomplete($("#selectCar"), { - width: "100%", - watermarkText: "Select a car", - dataSource: carList, - enableAutoFill: true, - showPopupButton: true, - multiSelectMode: "delimiter" - }); - }); -} - - - - - -module Barcodecomponent { - $(function () { - var barcodesample = new ej.datavisualization.Barcode($("#Barcode"), { - text:"http://www.syncfusion.com" - }); - }); -} - - - - - -module Bulletgraphcomponent { - $(function () { - var bulletsample = new ej.datavisualization.BulletGraph($("#BulletGraph"), { - isResponsive: true, - tooltipSettings: { visible: true }, - quantitativeScaleSettings: { - featureMeasures: [{ - value: 8, comparativeMeasureValue:6.7 - }] - }, - qualitativeRanges: [{ - rangeEnd: 4.3, rangeStroke:"#ebebeb", - }, - { - rangeEnd: 7.3, rangeStroke:"#d8d8d8" - }, - { - rangeEnd: 10, rangeStroke: "#7f7f7f" - } - ], - captionSettings: { - textPosition: 'right', text: 'Revenue YTD', - subTitle: { - text: "$ in Thousands", textPosition:"right" - } - } - }); - }); -} - - - - - -module ButtonComponent { - $(function () { - var basicButton = new ej.Button($("#buttonnormal"), { - size: "large", - showRoundedCorner: true, - contentType: "textandimage", - prefixIcon: "e-icon e-save", - text: "Save" - }); - var toggleButton = new ej.ToggleButton($("#TextOnly"), { - showRoundedCorner: true, - size: "large", - contentType: "textandimage", - defaultPrefixIcon: "e-icon e-save", - activePrefixIcon: "e-icon e-delete", - defaultText: "Save", - activeText: "Delete" - }); - var splitbuttonnormal = new ej.SplitButton($("#splitbuttonnormal"), { - showRoundedCorner: true, - size: "large", - prefixIcon: "e-icon e-file-empty", - targetID: "menu1", - contentType: "textandimage", - text: "File" - }); - var groupButton = new ej.GroupButton($("#groupButton"), { - showRoundedCorner: true, - size: "large" - }); - var check1 = new ej.CheckBox($("#check1"), { - size: "medium", enableTriState: true - }); - var check2 = new ej.CheckBox($("#check2"), { - size: "medium", enableTriState: true - }); - var radio1 = new ej.RadioButton($("#radio1"), { - size: "medium" - }); - var radio2 = new ej.RadioButton($("#radio2"), { - size: "medium", checked: true - }); - }); -} - - - - -module ChartComponent { - $(function () { - var chartsample = new ej.datavisualization.Chart($("#Chart"), { - primaryXAxis: { - range: { min: 2005, max: 2011, interval: 1 }, - title: { text: "Year" }, - valueType: "category" - }, - primaryYAxis: { - range: { min: 25, max: 50, interval: 5 }, - labelFormat: "{value}%", - title: { text: "Efficiency" }, - - }, - commonSeriesOptions: - { - type: 'line', enableAnimation: true, - tooltip:{ visible :true, template:'Tooltip'}, - marker: - { - shape: 'circle', - size: - { - height: 10, width: 10 - }, - visible: true - }, - border : {width: 2} - }, - series: - [ - { - points: [{ x: 2005, y: 28 }, { x: 2006, y: 25 },{ x: 2007, y: 26 }, { x: 2008, y: 27 }, - { x: 2009, y: 32 }, { x: 2010, y: 35 }, { x: 2011, y: 30 }], - name: 'India' - }, - { - points: [{ x: 2005, y: 31 }, { x: 2006, y: 28 },{ x: 2007, y: 30 }, { x: 2008, y: 36 }, - { x: 2009, y: 36 }, { x: 2010, y: 39 }, { x: 2011, y: 37 }], - name: 'Germany' - }, - { - points: [{ x: 2005, y: 36 }, { x: 2006, y: 32 },{ x: 2007, y: 34 }, { x: 2008, y: 41 }, - { x: 2009, y: 42 }, { x: 2010, y: 42 }, { x: 2011, y: 43 }], - name: 'England' - }, - { - points: [{ x: 2005, y: 39 }, { x: 2006, y: 36 },{ x: 2007, y: 40 }, { x: 2008, y: 44 }, - { x: 2009, y: 45 }, { x: 2010, y: 48 }, { x: 2011, y: 46 }], - name: 'France' - } - ], - isResponsive: true, - load: function () { - var sender = $("#Chart").data("ejChart"); - if (!!window.orientation && sender) { //to modify chart properties for mobile view - var model = sender.model, - seriesLength = model.series.length; - model.legend.visible = false; - model.size.height = null; - model.size.width = null; - for (var i = 0; i < seriesLength; i++) { - if (!model.series[i].marker) - model.series[i].marker = {}; - if (!model.series[i].marker.size) - model.series[i].marker.size = {}; - model.series[i].marker.size.width = 6; - model.series[i].marker.size.height = 6; - } - model.primaryXAxis.labelIntersectAction = "rotate45"; - if (model.primaryXAxis.title) - model.primaryXAxis.title.text = ""; - if (model.primaryYAxis.title) - model.primaryYAxis.title.text = ""; - model.primaryXAxis.edgeLabelPlacement = "hide"; - model.primaryYAxis.labelIntersectAction = "rotate45"; - model.primaryYAxis.edgeLabelPlacement = "hide"; - } - }, - title: { text: 'Efficiency of oil-fired power production' }, - size: { height: "600" }, - legend: { visible: true} - }); - }); -} - - - - - -module circulargaugecomponent { - $(function () { - var circularsample = new ej.datavisualization.CircularGauge($("#CircularGauge"), { - enableAnimation: false, - isResponsive: true, - backgroundColor: "transparent", width: 500, - scales: [{ - showRanges: true, - startAngle: 122, sweepAngle: 296, radius: 130, showScaleBar: true, size: 1, maximum: 120, majorIntervalValue: 20, minorIntervalValue: 10, - border: { - width: 0.5, - }, - pointers: [{ - value: 60, - showBackNeedle: true, - backNeedleLength: 20, - length: 95, - width: 7 - }], - ticks: [{ - type: "major", - distanceFromScale: 2, - height: 16, - width: 1, color: "#8c8c8c" - }, { type: "minor", height: 8, width: 1, distanceFromScale: 2, color: "#8c8c8c" }], - labels: [{ - color: "#8c8c8c" - }], - ranges: [{ - distanceFromScale: -30, - startValue: 0, - endValue: 70 - }, { - distanceFromScale: -30, - startValue: 70, - endValue: 110, - backgroundColor: "#fc0606", - border: { color: "#fc0606" } - }, - { - distanceFromScale: -30, - startValue: 110, - endValue: 120, - backgroundColor: "#f5b43f", - border: { color: "#f5b43f" } - }] - }] - }); - }); -} - - - - -module ColorPickerComponent { - $(function () { - var colorSample = new ej.ColorPicker($("#colorpick"), { - value: "#278787" - }); - }); -} - - - - -module DatePickerComponent { - $(function () { - var dateSample = new ej.DatePicker($("#datepick"), { - width: "100%" - }); - }); -} - - - - -module DateTimePickerComponent { - $(function () { - var datetimeSample = new ej.DateRangePicker($("#daterangepick"), { - width: "100%" - }); - }); -} - - - -module DateTimePickerComponent { - $(function () { - var datetimeSample = new ej.DateTimePicker($("#datetimepick"), { - width: "100%" - }); - }); -} - - - -$(function () { - var diagram = new ej.datavisualization.Diagram($("#diagram"), { - width: "1000px", - height: "600px", - pageSettings: { - //Sets page size - pageHeight: 500, - pageWidth: 500, - //Customizes the appearance of page - pageBorderWidth: 4, - pageBackgroundColor: "white", - pageBorderColor: "lightgray", - pageMargin: 25, - showPageBreak: true, - multiplePage: true, - pageOrientation: ej.datavisualization.Diagram.PageOrientations.Portrait - }, - scrollSettings: { - horizontalOffset: 0, - verticalOffset: 0 - }, - snapSettings: { - snapConstraints: ej.datavisualization.Diagram.SnapConstraints.ShowLines - }, - nodes: [ - createNode({ name: "NewIdea", width: 150, height: 60, offsetX: 300, offsetY: 60, labels: [createLabel({ "text": "New idea identified" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Terminator }), - createNode({ name: "Meeting", width: 150, height: 60, offsetX: 300, offsetY: 155, labels: [createLabel({ "text": "Meeting with board" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Process }), - createNode({ - name: "BoardDecision", width: 150, height: 110, offsetX: 300, offsetY: 280, labels: [createLabel({ text: "Board decides \nwhether \nto proceed", wrapText: "true", "margin": { left: 20, top: 0, right: 20, bottom: 0 } })], - type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Decision - }), - createNode({ name: "Project", width: 150, height: 100, offsetX: 300, offsetY: 430, labels: [createLabel({ "text": "Find Project \nmanager" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Decision }), - createNode({ - name: "End", width: 150, height: 60, offsetX: 300, offsetY: 555, labels: [createLabel({ "text": "Implement and Deliver" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Process }), - createNode({ name: "Decision", width: 250, height: 60, offsetX: 550, offsetY: 60, labels: [createLabel({ "text": "Decision Process for new software ideas" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Card, fillColor: "#858585", borderColor: "#858585" }), - createNode({ name: "Reject", width: 150, height: 60, offsetX: 550, offsetY: 285, labels: [createLabel({ "text": "Reject and write report" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Process }), - createNode({ name: "Resources", width: 150, height: 60, offsetX: 550, offsetY: 430, labels: [createLabel({ "text": "Hire new resources" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Process }) - ], - connectors: [ - createConnector({ name: "connector1", sourceNode: "NewIdea", targetNode: "Meeting" }), - createConnector({ name: "connector2", sourceNode: "Meeting", targetNode: "BoardDecision" }), - createConnector({ name: "connector3", sourceNode: "BoardDecision", targetNode: "Project", labels: [createLabel({ "text": "Yes" })] }), - createConnector({ name: "connector4", sourceNode: "Project", targetNode: "End", labels: [createLabel({ "text": "Yes" })] }), - createConnector({ name: "connector5", sourceNode: "BoardDecision", targetNode: "Reject", labels: [createLabel({ "text": "No" })] }), - createConnector({ name: "connector6", sourceNode: "Project", targetNode: "Resources", labels: [createLabel({ "text": "No" })] }) - ] - }); - -}); - -function createNode(option: ej.datavisualization.Diagram.Node) { - if (!option.fillColor) { - option.borderColor = "#1BA0E2"; - option.fillColor = "#1BA0E2"; - } - option.labels[0].fontColor = "white"; - return option; -} - -function createConnector(option: ej.datavisualization.Diagram.Connector) { - option.targetDecorator = { shape: ej.datavisualization.Diagram.DecoratorShapes.Arrow, borderColor: "#606060", width: 10, height: 10 }; - option.lineColor = "#606060"; - if (option.labels && option.labels.length > 0) { - option.labels[0].fillColor = "white"; - } - return option; -} - -function createLabel(options : any) { - return options; -} - - - -module DialogComponent { - $(function () { - var dialogInstance = new ej.Dialog($("#basicDialog"), { - width: 550, - minWidth: 310, - minHeight: 215, - target:".control", - close:()=>{ - $("#btnOpen").show();} - }); - var btnInstance = new ej.Button($("#btnOpen"), { - size: "medium", - click: ()=>{ - $("#btnOpen").hide(); - $("#basicDialog").ejDialog("open");}, - type: "button", - height: 30, - width: 150 - }); - }); -} - - - - -module digitalgaugecomponent { - $(function () { - var digitalgaugesample = new ej.datavisualization.DigitalGauge($("#DigitalGauge"), { - width: 525, - height: 305, - isResponsive: true, - items: [{ - segmentSettings: { - width: 1, - spacing: 0, - color: "#8c8c8c" - }, - characterSettings: { - opacity: 0.8, - }, - value: "Syncfusion", - position: { x: 52, y: 52 } - }] - }); - }); -} - - - - - - -module DropDownListComponent { - var BikeList = [ - { empid: "bk1", text: "Apache RTR" }, { empid: "bk2", text: "CBR 150-R" }, { empid: "bk3", text: "CBZ Xtreme" }, - { empid: "bk4", text: "Discover" }, { empid: "bk5", text: "Dazzler" }, { empid: "bk6", text: "Flame" }, - { empid: "bk7", text: "Fazzer" }, { empid: "bk8", text: "FZ-S" }, { empid: "bk9", text: "Pulsar" }, - { empid: "bk10", text: "Shine" }, { empid: "bk11", text: "R15" }, { empid: "bk12", text: "Unicorn" } - ]; - $(function () { - var sample = new ej.DropDownList($("#bikeList"),{ - dataSource: BikeList, - width: "100%", - watermarkText: "Select a bike", - fields: { id: "empid", text: "text", value: "text" }, - enableFilterSearch: true, - caseSensitiveSearch: true, - enableIncrementalSearch: true, - enablePopupResize: true, - delimiterChar: ";", - multiSelectMode: ej.MultiSelectMode.Delimiter, - maxPopupHeight: "300px", - minPopupHeight: "150px", - maxPopupWidth: "500px", - minPopupWidth: "350px", - showCheckbox: true, - showRoundedCorner: true - }); - }); - -} - - - - - - -module ExplorerComponent { - $(function () { - var file = new ej.FileExplorer($("#fileExplorer"), { - path: (window).baseurl + "Content/FileBrowser/", - width: "100%", - minWidth: "150px", - layout: "tile", - isResponsive: true, - ajaxAction: (window).baseurl + "api/FileExplorer/FileOperations" - }); - }); -} - - - - -module GanttComponent { - $(function () { - var ganttInstance = new ej.Gantt($("#GanttContainer"), { - dataSource: (window).projectData, - allowColumnResize: true, - allowSorting: true, - allowSelection: true, - enableContextMenu: true, - taskIdMapping: "taskID", - allowDragAndDrop: true, - taskNameMapping: "taskName", - startDateMapping: "startDate", - showColumnChooser: true, - showColumnOptions: true, - progressMapping: "progress", - durationMapping: "duration", - endDateMapping: "endDate", - childMapping: "subtasks", - scheduleStartDate: "02/01/2014", - scheduleEndDate: "04/09/2014", - //Resources mapping - resourceInfoMapping: "resourceId", - resourceNameMapping: "resourceName", - resourceIdMapping: "resourceId", - resources: (window).projectResources, - predecessorMapping: "predecessor", - showResourceNames: true, - toolbarSettings: { - showToolbar: true, - toolbarItems: ["add","edit","delete","update","cancel","indent","outdent","expandAll","collapseAll","search"] - }, - editSettings: { - allowEditing: true, - allowAdding: true, - allowDeleting: true, - allowIndent: true, - editMode: "cellEditing" - }, - sizeSettings: { - width: "100%", - height: "100%" - }, - dragTooltip: { showTooltip: true }, - showGridCellTooltip: true, - treeColumnIndex: 1, - isResponsive: true, - }); -}); -} - - - -module GridComponent { - $(function () { - var gridInstance = new ej.Grid($("#Grid"), { - dataSource: (window).gridData, - allowGrouping: true, - allowSorting: true, - allowMultiSorting: true, - enableAltRow: true, - allowPaging: true, - allowReordering: true, - allowResizing: true, - allowFiltering: true, - allowScrolling: true, - enableRowHover: true, - selectionType: "multiple", - selectionSettings: { enableToggle: true, selectionMode: ["row", "cell", "column"] }, - allowKeyboardNavigation: true, - editSettings: { allowEditing: true, allowAdding: true, allowDeleting: true, allowEditOnDblClick: true, showDeleteConfirmDialog: true }, - toolbarSettings: { showToolbar: true, toolbarItems: ["add", "edit", "delete", "update", "cancel", "search"] }, - columns: [ - { field: "OrderID", headerText: "Order ID", isPrimaryKey: true, width: 75, textAlign: ej.TextAlign.Right }, - { field: "CustomerID", headerText: "Customer ID", editType: ej.Grid.EditingType.String, width: 80 }, - { field: "EmployeeID", headerText: "Employee ID", width: 75, editType: ej.Grid.EditingType.Dropdown, textAlign: ej.TextAlign.Right, priority: 4 }, - { field: "Freight", width: 75, format: "{0:C}", editType: ej.Grid.EditingType.Numeric, textAlign: ej.TextAlign.Right, priority: 3 }, - { field: "OrderDate", headerText: "Order Date", width: 80, format: "{0:MM/dd/yyyy}", textAlign: ej.TextAlign.Right, priority: 2 }, - { field: "ShipCity", headerText: "Ship City", editType: ej.Grid.EditingType.Dropdown, width: 110, priority: 2 } - ], - isResponsive: true, - minWidth: 700, - showSummary: true, - summaryRows: [{ title: "Sum", summaryColumns: [{ summaryType: ej.Grid.SummaryType.Sum, displayColumn: "Freight", dataMember: "Freight", format: "{0:C2}" }] }] - }); - }); -} - - - -var columns = ["Vegie-spread", "Tofuaa", "Alice Mutton", "Konbu", "Fltemysost"] -var itemSource: any[] = []; -for (var i = 0; i < columns.length; i++) { - for (var j = 0; j < 6; j++) { - var value = Math.floor((Math.random() * 100) + 1); - itemSource.push({ ProductName: columns[i], Year: "Y" + (2011 + j), Value: value }) - } -} - -$(function () { - var heatmap = new ej.datavisualization.HeatMap($("#heatmap"), { - colorMappingCollection: [ - { value: 0, color: "#8ec8f8", label: { text: "0" } }, - { value: 100, color: "#0d47a1", label: { text: "100" } } - ], - isResponsive: true, - itemsSource: itemSource, - width: "100%", - itemsMapping: { - column: { propertyName: "ProductName", displayName: "Product Name" }, - row: { propertyName: "Year", displayName: "Year" }, - value: { propertyName: "Value" }, - columnMapping: [ - { "propertyName": columns[0], "displayName": columns[0] }, - { "propertyName": columns[1], "displayName": columns[1] }, - { "propertyName": columns[2], "displayName": columns[2] }, - { "propertyName": columns[3], "displayName": columns[3] }, - { "propertyName": columns[4], "displayName": columns[4] }, - { "propertyName": columns[5], "displayName": columns[5] } - ], - headerMapping: { propertyName: "Year", displayName: "Year", columnStyle: { width: 105, textAlign: "right" } }, - }, - legendCollection: ["heatmap_legend"] - }); - var heatmaplegend = new ej.datavisualization.HeatMapLegend($("#heatmap_legend"), { - colorMappingCollection: [ - { value: 0, color: "#8ec8f8", label: { text: "0" } }, - { value: 100, color: "#0d47a1", label: { text: "100" } } - ], - height: "50px", - width: "75%", - isResponsive: true - }); -}); - - - - -declare var window:myWindow; -export interface myWindow extends Window{ -kanbanData:any; -} -module KanbanComponent { - $(function () { - var sample = new ej.Kanban($("#Kanban"), { - dataSource: new ej.DataManager(window["kanbanData"]).executeLocal(new ej.Query().take(20)), - columns: [ - { headerText: "Backlog", key: "Open" }, - { headerText: "In Progress", key: "InProgress" }, - { headerText: "Testing", key: "Testing" }, - { headerText: "Done", key: "Close" } - ], - keyField: "Status", - allowTitle: true, - fields: { - content: "Summary", - primaryKey: "Id", - imageUrl: "ImgUrl" - }, - allowSelection: false - }); - }); -} - - - - -module lineargaugecomponent { - $(function () { - var linearsample = new ej.datavisualization.LinearGauge($("#LinearGauge"), { - labelColor: "#8c8c8c", width: 500, - isResponsive: true, enableAnimation: false, - scales: [{ - width: 4, border: { color: "transparent", width: 0 }, showBarPointers: false, showRanges: true, length: 310, - position: { x: 52, y: 50 }, markerPointers: [{ - value: 50, length: 10, width: 10, backgroundColor: "#4D4D4D", border: { color: "#4D4D4D" } - }], - labels: [{ font: { size: "11px", fontFamily: "Segoe UI", fontStyle: "bold" }, distanceFromScale: { x: -13 } }], - ticks: [{ type: "majorinterval", width: 1, color: "#8c8c8c" }], - ranges: [{ - endValue: 60, - startValue: 0, - backgroundColor: "#F6B53F", - border: { color: "#F6B53F" }, startWidth: 4, endWidth: 4 - }, { - endValue: 100, - startValue: 60, - backgroundColor: "#E94649", - border: { color: "#E94649" }, startWidth: 4, endWidth: 4 - }] - }] - }); - }); -} - - - - - -module ListBoxComponent { - $(function () { - var listboxInstance = new ej.ListBox($("#selectcar"), { - showCheckbox: true - }); - }); -} - - - -module ListviewComponent { - $(function () { - var listviewInstance = new ej.ListView($("#defaultlistview"), { - enableCheckMark: true, - width: 400 - }); - }); -} - - -var world_map= - { - "type": "FeatureCollection", - "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, - "features": [ - { "type": "Feature", "properties": { "admin": "Afghanistan", "name": "Afghanistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[61.21081709172573, 35.650072333309218], [62.230651483005879, 35.270663967422287], [62.984662306576588, 35.404040839167614], [63.193538445900337, 35.857165635718907], [63.982895949158696, 36.007957465146596], [64.546479119733888, 36.31207326918426], [64.746105177677393, 37.111817735333297], [65.588947788357828, 37.305216783185628], [65.745630731066811, 37.661164048812061], [66.217384881459324, 37.393790188133913], [66.518606805288655, 37.362784328758785], [67.075782098259609, 37.35614390720928], [67.829999627559502, 37.144994004864678], [68.135562371701369, 37.023115139304302], [68.859445835245921, 37.344335842430588], [69.196272820924364, 37.15114350030742], [69.518785434857946, 37.608996690413413], [70.116578403610319, 37.588222764632086], [70.270574171840124, 37.73516469985401], [70.376304152309274, 38.138395901027515], [70.806820509732873, 38.486281643216408], [71.348131137990251, 38.258905341132156], [71.239403924448155, 37.953265082341879], [71.541917759084768, 37.905774441065631], [71.448693475230229, 37.065644843080513], [71.84463829945058, 36.738171291646914], [72.193040805962383, 36.94828766534566], [72.636889682917271, 37.047558091778349], [73.260055779924983, 37.495256862938994], [73.948695916646486, 37.421566270490786], [74.980002475895404, 37.419990139305888], [75.158027785140902, 37.13303091078911], [74.575892775372964, 37.02084137628345], [74.067551710917812, 36.836175645488446], [72.920024855444453, 36.720007025696312], [71.846291945283909, 36.509942328429851], [71.262348260385735, 36.074387518857797], [71.498767938121077, 35.650563259415996], [71.613076206350698, 35.153203436822857], [71.115018751921625, 34.733125718722228], [71.156773309213449, 34.348911444632144], [70.881803012988385, 33.988855902638512], [69.93054324735958, 34.020120144175102], [70.323594191371583, 33.358532619758385], [69.687147251264847, 33.105498969041228], [69.262522007122541, 32.501944078088293], [69.317764113242546, 31.901412258424436], [68.926676873657655, 31.620189113892064], [68.556932000609308, 31.713310044882011], [67.792689243444769, 31.582930406209623], [67.683393589147457, 31.303154201781414], [66.938891229118454, 31.304911200479346], [66.38145755398601, 30.738899237586448], [66.346472609324408, 29.88794342703617], [65.046862013616092, 29.472180691031902], [64.350418735618504, 29.560030625928089], [64.148002150331237, 29.340819200145965], [63.550260858011164, 29.468330796826162], [62.549856805272775, 29.318572496044304], [60.874248488208778, 29.829238999952604], [61.78122155136343, 30.735850328081231], [61.699314406180811, 31.379506130492661], [60.941944614511115, 31.548074652628745], [60.863654819588952, 32.182919623334421], [60.536077915290761, 32.981268825811561], [60.963700392505991, 33.528832302376252], [60.528429803311575, 33.676446031217999], [60.80319339380744, 34.404101874319856], [61.21081709172573, 35.650072333309218]]] } }, - { "type": "Feature", "properties": { "admin": "Angola", "name": "Angola", "continent": "Africa" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[16.326528354567042, -5.877470391466217], [16.573179965896141, -6.622644545115092], [16.860190870845226, -7.222297865429978], [17.089995965247166, -7.545688978712474], [17.472970004962288, -8.068551120641656], [18.134221632569048, -7.987677504104865], [18.464175652752683, -7.847014255406475], [19.016751743249664, -7.988245944860138], [19.166613396896079, -7.738183688999724], [19.417502475673214, -7.155428562044277], [20.037723016040214, -7.116361179231658], [20.091621534920616, -6.943090101756949], [20.60182295093832, -6.939317722199688], [20.514748162526526, -7.299605808138663], [21.728110792739752, -7.290872491081315], [21.74645592620336, -7.920084730667113], [21.949130893652033, -8.305900974158304], [21.80180138518795, -8.908706556842985], [21.875181919042397, -9.523707777548564], [22.208753289486417, -9.894796237836529], [22.155268182064326, -11.084801120653777], [22.402798292742428, -10.99307545333569], [22.837345411884762, -11.017621758674334], [23.456790805767461, -10.867863457892481], [23.912215203555743, -10.926826267137541], [24.017893507592614, -11.237298272347115], [23.904153680118235, -11.722281589406332], [24.079905226342895, -12.191296888887305], [23.930922072045373, -12.565847670138821], [24.0161365088947, -12.91104623784855], [21.933886346125941, -12.898437188369353], [21.887842644953871, -16.080310153876891], [22.562478468524283, -16.898451429921831], [23.215048455506086, -17.523116143465952], [21.377176141045592, -17.930636488519706], [18.956186964603628, -17.789094740472233], [18.263309360434217, -17.309950860262003], [14.209706658595049, -17.353100681225708], [14.058501417709035, -17.423380629142653], [13.462362094789963, -16.971211846588741], [12.814081251688405, -16.941342868724075], [12.21546146001938, -17.111668389558059], [11.734198846085146, -17.301889336824498], [11.640096062881609, -16.673142185129205], [11.778537224991563, -15.793816013250687], [12.123580763404444, -14.878316338767927], [12.175618930722264, -14.449143568583889], [12.500095249083014, -13.547699883684398], [12.738478631245439, -13.137905775609934], [13.312913852601834, -12.483630466362511], [13.633721144269824, -12.038644707897189], [13.738727654686924, -11.297863050993142], [13.686379428775293, -10.73107594161584], [13.38732791510216, -10.373578383020726], [13.120987583069873, -9.766897067914112], [12.875369500386567, -9.166933689005488], [12.929061313537797, -8.959091078327573], [13.23643273280987, -8.56262948978434], [12.933040398824314, -7.596538588087752], [12.728298374083916, -6.927122084178803], [12.227347039446441, -6.294447523629372], [12.322431674863562, -6.100092461779651], [12.735171339578695, -5.965682061388476], [13.024869419006988, -5.984388929878106], [13.375597364971892, -5.864241224799555], [16.326528354567042, -5.877470391466217]]], [[[12.436688266660919, -5.684303887559223], [12.182336866920277, -5.789930515163801], [11.914963006242115, -5.037986748884733], [12.318607618873923, -4.606230157086158], [12.620759718484548, -4.438023369976121], [12.995517205465202, -4.781103203961918], [12.631611769265842, -4.991271254092935], [12.468004184629759, -5.248361504744991], [12.436688266660919, -5.684303887559223]]]] } }, - { "type": "Feature", "properties": { "admin": "Albania", "name": "Albania", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[20.590247430104906, 41.855404161133592], [20.463175083099195, 41.515089016275333], [20.605181919037356, 41.086226304685219], [21.020040317476397, 40.842726955725873], [20.99998986174722, 40.580003973953964], [20.67499677906363, 40.43499990494302], [20.61500044117275, 40.110006822259365], [20.150015903410516, 39.624997666983965], [19.980000441170144, 39.694993394523401], [19.9600016618732, 39.915005805006039], [19.40608198413673, 40.250773423822459], [19.319058872157139, 40.727230129553554], [19.403549838954287, 41.409565741535445], [19.540027296637099, 41.71998607031275], [19.371768833094958, 41.87754751237064], [19.304486118250786, 42.195745144207812], [19.738051385179627, 42.688247382165564], [19.801613396898681, 42.500093492190835], [20.0707, 42.58863], [20.28375451018189, 42.320259507815074], [20.52295, 42.21787], [20.590247430104906, 41.855404161133592]]] } }, - { "type": "Feature", "properties": { "admin": "United Arab Emirates", "name": "United Arab Emirates", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[51.579518670463258, 24.245497137951102], [51.757440626844172, 24.294072984305462], [51.794389275932865, 24.019826158132499], [52.577080519425593, 24.177439276622703], [53.404006788960139, 24.151316840099167], [54.008000929587574, 24.121757920828212], [54.693023716048614, 24.797892360935084], [55.439024692614126, 25.439145209244934], [56.070820753814544, 26.055464178973978], [56.261041701080948, 25.714606431576762], [56.396847365143991, 24.924732163995483], [55.886232537667993, 24.92083059335744], [55.804118686756212, 24.269604193615258], [55.981213820220454, 24.130542914317822], [55.528631626208231, 23.933604030853498], [55.525841098864461, 23.524869289640929], [55.234489373602869, 23.110992743415316], [55.208341098863187, 22.708329982997039], [55.006803012924898, 22.496947536707129], [52.000733270074321, 23.001154486578937], [51.617707553926969, 24.014219265228824], [51.579518670463258, 24.245497137951102]]] } }, - { "type": "Feature", "properties": { "admin": "Argentina", "name": "Argentina", "continent": "South America" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-65.5, -55.2], [-66.45, -55.25], [-66.95992, -54.89681], [-67.56244, -54.87001], [-68.63335, -54.8695], [-68.634010227583147, -52.636370458874453], [-68.25, -53.1], [-67.75, -53.85], [-66.45, -54.45], [-65.05, -54.7], [-65.5, -55.2]]], [[[-64.964892137294569, -22.075861504812348], [-64.377021043542257, -22.79809132252354], [-63.986838141522462, -21.993644301035953], [-62.84646847192154, -22.034985446869452], [-62.685057135657885, -22.249029229422401], [-60.846564704009928, -23.880712579038299], [-60.028966030503973, -24.032796319273238], [-58.807128465394939, -24.771459242453268], [-57.777217169817952, -25.162339776309032], [-57.633660040911124, -25.603656508081666], [-58.618173590719707, -27.123718763947117], [-57.609759690976134, -27.395898532828419], [-56.486701626192989, -27.548499037386243], [-55.695845506398186, -27.387837009390815], [-54.788794928595038, -26.621785577096087], [-54.625290696823541, -25.739255466415479], [-54.130049607954412, -25.547639255477243], [-53.628348965048716, -26.12486500417743], [-53.648735317587885, -26.923472588816104], [-54.490725267135517, -27.474756768505767], [-55.162286342984586, -27.881915378533414], [-56.290899624239088, -28.852760512000849], [-57.62513342958291, -30.21629485445424], [-57.874937303281897, -31.016556084926158], [-58.14244035504074, -32.044503676076182], [-58.132647671121404, -33.040566908502008], [-58.349611172098818, -33.263188978815428], [-58.427074144104367, -33.909454441057541], [-58.495442064026541, -34.4314897600701], [-57.225829637263629, -35.288026625307886], [-57.362358771378737, -35.977390232081497], [-56.737487352105447, -36.413125909166574], [-56.788285285048339, -36.901571547189327], [-57.749156867083421, -38.183870538079901], [-59.231857062401865, -38.720220228837199], [-61.2374452378656, -38.92842457454114], [-62.335956997310134, -38.827707208004362], [-62.125763108962914, -39.424104913084868], [-62.33053097191943, -40.172586358400316], [-62.145994432205228, -40.676896661136723], [-62.74580278181697, -41.028761488612083], [-63.770494757732514, -41.166789239263657], [-64.732089809819698, -40.802677097335128], [-65.118035244391578, -41.064314874028874], [-64.97856055363583, -42.058000990569312], [-64.303407965742466, -42.359016208669495], [-63.755947842042339, -42.043686618824495], [-63.458059048095883, -42.563138116222355], [-64.378803880456289, -42.873558444999638], [-65.181803961839691, -43.495380954767782], [-65.328823411710133, -44.501366062193689], [-65.565268927661592, -45.03678557716978], [-66.509965786389344, -45.039627780945843], [-67.293793911392427, -45.551896254255183], [-67.580546434180079, -46.301772963242527], [-66.597066413017259, -47.033924655953804], [-65.641026577401433, -47.23613453551188], [-65.98508826360073, -48.133289076531128], [-67.166178961847649, -48.697337334996931], [-67.816087612566449, -49.869668877970412], [-68.728745083273154, -50.26421843851886], [-69.138539191347789, -50.732510267947788], [-68.815561489523517, -51.771104011594097], [-68.149994879820397, -52.349983406127699], [-68.571545376241332, -52.299443855346247], [-69.498362189396076, -52.142760912637236], [-71.914803839796321, -52.009022305865912], [-72.329403856074023, -51.425956312872394], [-72.309973517532342, -50.677009779666342], [-72.975746832964617, -50.741450290734299], [-73.328050910114456, -50.378785088909865], [-73.415435757120022, -49.318436374712952], [-72.648247443314929, -48.878618259476774], [-72.331160854771937, -48.244238376661819], [-72.44735531278026, -47.738532810253517], [-71.917258470330196, -46.884838148791786], [-71.552009446891233, -45.560732924177117], [-71.659315558545316, -44.973688653341434], [-71.222778896759721, -44.784242852559409], [-71.329800788036195, -44.407521661151677], [-71.793622606071935, -44.207172133156099], [-71.464056159130493, -43.787611179378324], [-71.915423956983901, -43.408564548517404], [-72.148898078078517, -42.254888197601375], [-71.746803758415453, -42.051386407235988], [-71.915734015577542, -40.832339369470716], [-71.680761277946445, -39.808164157878061], [-71.413516608349042, -38.916022230791107], [-70.814664272734703, -38.552995293940732], [-71.118625047475419, -37.576827487947192], [-71.121880662709771, -36.65812387466233], [-70.364769253201658, -36.005088799789931], [-70.388049485949082, -35.169687595359441], [-69.817309129501453, -34.193571465798279], [-69.814776984319209, -33.273886000299839], [-70.074399380153622, -33.09120981214803], [-70.535068935819439, -31.365010267870279], [-69.919008348251921, -30.336339206668306], [-70.013550381129861, -29.367922865518544], [-69.656130337183143, -28.459141127233686], [-69.001234910748266, -27.521213881136127], [-68.295541551370391, -26.899339694935787], [-68.594799770772667, -26.50690886811126], [-68.386001146097342, -26.185016371365229], [-68.417652960876111, -24.518554782816874], [-67.328442959244128, -24.025303236590908], [-66.985233934177629, -22.986348565362825], [-67.106673550063604, -22.735924574476392], [-66.273339402924833, -21.832310479420677], [-64.964892137294569, -22.075861504812348]]]] } }, - { "type": "Feature", "properties": { "admin": "Armenia", "name": "Armenia", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[43.582745802592726, 41.09214325618256], [44.972480096218071, 41.248128567055588], [45.179495883979335, 40.985353908851401], [45.560351189970433, 40.812289537105919], [45.359174839058156, 40.561503811193447], [45.891907179555076, 40.218475653639992], [45.610012241402913, 39.899993801425175], [46.034534132680662, 39.628020738273058], [46.483498976432443, 39.464154771475528], [46.505719842317966, 38.770605373686287], [46.143623081248812, 38.74120148371221], [45.735379266143006, 39.319719143219736], [45.739978468616975, 39.473999131827114], [45.298144972521456, 39.471751207022422], [45.00198733905674, 39.740003567049548], [44.793989699081934, 39.713002631177041], [44.400008579288695, 40.005000311842267], [43.656436395040934, 40.253563951166178], [43.752657911968399, 40.740200914058754], [43.582745802592726, 41.09214325618256]]] } }, - { "type": "Feature", "properties": { "admin": "French Southern and Antarctic Lands", "name": "Fr. S. Antarctic Lands", "continent": "Seven seas (open ocean)" }, "geometry": { "type": "Polygon", "coordinates": [[[68.935, -48.625], [69.58, -48.94], [70.525, -49.065], [70.56, -49.255], [70.28, -49.71], [68.745, -49.775], [68.72, -49.2425], [68.8675, -48.83], [68.935, -48.625]]] } }, - { "type": "Feature", "properties": { "admin": "Australia", "name": "Australia", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[145.397978143494782, -40.792548516605883], [146.364120721623692, -41.137695407883335], [146.908583612250823, -41.000546156580668], [147.689259474884125, -40.808258152022681], [148.289067824495987, -40.875437514002122], [148.359864536735785, -42.062445163746439], [148.017301467073082, -42.40702361426861], [147.914051955353784, -43.211522312188485], [147.564564243763982, -42.937688897473855], [146.87034305235494, -43.634597263362082], [146.663327264593647, -43.580853773778543], [146.048377720320389, -43.54974456153888], [145.431929559510536, -42.693776137056268], [145.295090366801674, -42.03360971452755], [144.7180713238306, -41.162551771815707], [144.743754510679622, -40.703975111657705], [145.397978143494782, -40.792548516605883]]], [[[143.561811151299935, -13.763655694232209], [143.922099237238882, -14.548310642152], [144.563713820574804, -14.171176039285879], [144.894908075133515, -14.594457696188622], [145.374723748963419, -14.984976495018284], [145.271991001567244, -15.428205254785691], [145.48525963763575, -16.285672295804769], [145.637033319276952, -16.784918308176611], [145.888904250267672, -16.906926364817647], [146.160308872664473, -17.76165455492524], [146.063673944278662, -18.280072523677315], [146.387478469019584, -18.958274021075905], [147.471081577747896, -19.480722751546676], [148.177601760042478, -19.955939222902767], [148.848413527623222, -20.391209812097252], [148.717465448195583, -20.633468926681513], [149.289420200802056, -21.260510756111096], [149.678337030230637, -22.342511895438388], [150.07738244038859, -22.122783705333315], [150.482939081015161, -22.556142266533012], [150.727265252891158, -22.402404880464655], [150.899554478152254, -23.462236830338679], [151.609175246384211, -24.076256198830755], [152.07353966695905, -24.45788665130619], [152.855197381805908, -25.267501316023008], [153.136162144176751, -26.071173191026187], [153.161948683890358, -26.641319268502439], [153.09290897034856, -27.260299574494503], [153.569469028944184, -28.110066827102099], [153.512108189100218, -28.995077406532751], [153.339095493787056, -29.458201592732443], [153.069241164358857, -30.350240166954809], [153.089601678681788, -30.923641859665445], [152.891577590139377, -31.640445651985949], [152.450002476205327, -32.550002536755237], [151.709117466436766, -33.041342054986337], [151.343971795862387, -33.816023451473846], [151.010555454715103, -34.310360202777879], [150.714139439089024, -35.173459974916803], [150.328219842733233, -35.671879164371923], [150.075212030232251, -36.420205580390508], [149.946124302367139, -37.109052422841224], [149.997283970336127, -37.425260512035123], [149.423882277625523, -37.772681166333463], [148.304622430615893, -37.809061374666875], [147.38173302631526, -38.219217217767543], [146.922122837511324, -38.606532077795116], [146.317921991154776, -39.035756524411433], [145.489652134380549, -38.593767999019043], [144.876976353128157, -38.41744801203911], [145.032212355732952, -37.896187839510972], [144.485682407814011, -38.085323581699257], [143.609973586196077, -38.809465427405321], [142.745426873952965, -38.538267510737519], [142.17832970598198, -38.380034275059835], [141.606581659104677, -38.308514092767872], [140.638578729413211, -38.019332777662541], [139.992158237874321, -37.402936293285094], [139.806588169514043, -36.643602797188272], [139.574147577065219, -36.138362318670666], [139.082808058834075, -35.732754001611774], [138.120747918856296, -35.612296237939397], [138.449461704664998, -35.127261244447887], [138.207564325106659, -34.384722588845925], [137.719170363516128, -35.07682504653102], [136.829405552314711, -35.260534763328614], [137.352371047108477, -34.707338555644093], [137.503886346588331, -34.130267836240769], [137.890116001537649, -33.640478610978327], [137.810327590079112, -32.900007012668105], [136.996837192940347, -33.752771498348629], [136.372069126531642, -34.094766127256186], [135.98904341038434, -34.89011809666048], [135.208212518454104, -34.478670342752601], [135.239218377829161, -33.947953383114971], [134.613416782774607, -33.222778008763136], [134.085903761939107, -32.848072198214759], [134.273902622617015, -32.617233575166949], [132.990776808809812, -32.011224053680188], [132.288080682504869, -31.982646986622761], [131.326330601120901, -31.495803318001041], [129.535793898639668, -31.590422865527476], [128.240937534702198, -31.948488864877849], [127.102867466338282, -32.282266941051041], [126.148713820501129, -32.2159660784206], [125.088623488465586, -32.728751316052829], [124.22164798390493, -32.959486586236061], [124.028946567888511, -33.483847344701708], [123.65966678273071, -33.890179131812722], [122.811036411633609, -33.914467054989835], [122.18306440642283, -34.003402194964217], [121.299190708502579, -33.821036065406126], [120.580268182458113, -33.930176690406618], [119.893695103028222, -33.976065362281808], [119.298899367348781, -34.50936614353396], [119.007340936357977, -34.464149265278529], [118.505717808100769, -34.746819349915093], [118.024971958489516, -35.064732761374707], [117.295507440257438, -35.025458672832862], [116.62510908413492, -35.025096937806829], [115.564346958479689, -34.386427911111547], [115.026808709779516, -34.196517022438918], [115.048616164206763, -33.623425388322026], [115.545123325667078, -33.487257989232951], [115.714673700016661, -33.259571628554944], [115.679378696761376, -32.900368747694124], [115.801645135563959, -32.205062351207026], [115.689610630355105, -31.612437025683782], [115.160909051576937, -30.601594333622455], [114.99704308477942, -30.030724786094162], [115.040037876446249, -29.461095472940794], [114.64197431850198, -28.810230808224706], [114.61649783738217, -28.516398614213042], [114.173579136208446, -28.118076674107321], [114.048883905088132, -27.33476531342712], [113.477497593236876, -26.543134047147898], [113.338953078262477, -26.116545098578477], [113.77835778204026, -26.549025160429174], [113.440962355606587, -25.621278171493152], [113.936901076311642, -25.911234633082877], [114.232852004047288, -26.298446140245868], [114.216160516417006, -25.786281019801105], [113.721255324357685, -24.998938897402123], [113.625343866024025, -24.683971042583146], [113.393523390762667, -24.384764499613262], [113.502043898575607, -23.80635019297025], [113.706992629045146, -23.56021534596406], [113.843418410295669, -23.059987481378734], [113.736551548316072, -22.475475355725372], [114.149756300921865, -21.755881036061009], [114.225307244932651, -22.51748829517863], [114.64776207891866, -21.829519952076904], [115.460167270979298, -21.495173435148541], [115.94737267462699, -21.068687839443708], [116.711615431791529, -20.701681817306817], [117.166316359527684, -20.623598728113802], [117.441545037914238, -20.746898695562162], [118.229558953932951, -20.374208265873232], [118.836085239742701, -20.263310642174822], [118.987807244951753, -20.044202569257319], [119.252493931150624, -19.952941989829835], [119.805225050944543, -19.976506442954978], [120.856220330896633, -19.683707777589188], [121.399856398607199, -19.239755547769729], [121.655137974129062, -18.70531788500713], [122.241665480641757, -18.197648614171765], [122.286623976735655, -17.798603204013911], [122.312772251475408, -17.254967136303446], [123.012574497571904, -16.405199883695854], [123.433789097183009, -17.268558037996225], [123.859344517106592, -17.069035332917249], [123.503242222183232, -16.596506036040363], [123.817073195491915, -16.11131601325199], [124.258286574399847, -16.32794361741956], [124.379726190285794, -15.567059828353973], [124.926152785340022, -15.07510019293532], [125.167275018413875, -14.680395603090004], [125.670086704613823, -14.510070082256018], [125.685796340030493, -14.230655612853834], [126.125149367376096, -14.347340996968949], [126.142822707219864, -14.095986830301211], [126.582589146023736, -13.95279143642041], [127.065867140817332, -13.817967624570922], [127.804633416861932, -14.276906019755042], [128.359689976108939, -14.869169610252253], [128.985543247595899, -14.875990899314738], [129.621473423379598, -14.969783623924553], [129.409600050982988, -14.420669854391031], [129.888640578328591, -13.618703301653481], [130.339465773642928, -13.357375583553473], [130.183506300985982, -13.107520033422301], [130.617795037966971, -12.536392103732464], [131.223494500859999, -12.183648776908113], [131.73509118054946, -12.302452894747159], [132.575298293183096, -12.114040622611013], [132.557211541881031, -11.603012383676683], [131.824698114143644, -11.273781833545097], [132.357223748911395, -11.128519382372641], [133.019560581596409, -11.376411228076844], [133.550845981989028, -11.786515394745134], [134.393068475481982, -12.042365411022173], [134.678632440327021, -11.9411829565947], [135.298491245667975, -12.248606052299051], [135.882693312727611, -11.962266940969796], [136.258380975489445, -12.049341729381606], [136.492475213771627, -11.857208754120389], [136.951620314684988, -12.351958916882735], [136.685124953355739, -12.887223402562054], [136.305406528875096, -13.291229750219895], [135.961758254134111, -13.324509372615889], [136.077616815332533, -13.72427825282578], [135.783836297753226, -14.223989353088211], [135.4286641786112, -14.715432224183896], [135.500184360903177, -14.997740573794427], [136.295174595281367, -15.550264987859121], [137.065360142159477, -15.870762220933353], [137.580470819244795, -16.215082289294084], [138.303217401278971, -16.807604261952658], [138.58516401586337, -16.806622409739173], [139.108542922115475, -17.062679131745366], [139.260574985918197, -17.371600843986183], [140.215245396078274, -17.710804945550063], [140.875463495039241, -17.36906869880394], [141.071110467696258, -16.832047214426719], [141.274095493738798, -16.388870131091604], [141.398222284103781, -15.840531508042584], [141.702183058844611, -15.044921156476928], [141.563380161708665, -14.561333103089506], [141.635520461188094, -14.270394789286284], [141.519868605718955, -13.698078301653805], [141.650920038011009, -12.944687595270562], [141.842691278246207, -12.741547539931187], [141.68699018775078, -12.407614434461134], [141.928629185147543, -11.877465915578778], [142.118488397387978, -11.328042087451619], [142.14370649634634, -11.04273650476814], [142.51526004452495, -10.668185723516642], [142.797310011974048, -11.157354831591515], [142.866763136974271, -11.784706719614929], [143.11594689348567, -11.90562957117791], [143.158631626558758, -12.325655612846187], [143.522123651299864, -12.834358412327429], [143.597157830987669, -13.400422051652594], [143.561811151299935, -13.763655694232209]]]] } }, - { "type": "Feature", "properties": { "admin": "Austria", "name": "Austria", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[16.979666782304033, 48.123497015976298], [16.903754103267257, 47.714865627628321], [16.340584344150411, 47.712901923201215], [16.534267612380372, 47.496170966169103], [16.202298211337361, 46.852385972676949], [16.011663852612653, 46.683610744811688], [15.137091912504982, 46.658702704447016], [14.632471551174827, 46.431817328469535], [13.806475457421524, 46.509306138691201], [12.376485223040813, 46.767559109069843], [12.153088006243051, 47.115393174826437], [11.164827915093268, 46.941579494812721], [11.048555942436533, 46.751358547546324], [10.442701450246627, 46.893546250997424], [9.932448357796657, 46.920728054382948], [9.479969516649019, 47.102809963563367], [9.632931756232974, 47.347601223329974], [9.594226108446346, 47.525058091820256], [9.896068149463188, 47.58019684507569], [10.402083774465209, 47.302487697939156], [10.544504021861625, 47.566399237653762], [11.426414015354736, 47.523766181012967], [12.141357456112784, 47.703083401065761], [12.620759718484491, 47.672387600284395], [12.932626987365945, 47.467645575543983], [13.025851271220487, 47.637583523135824], [12.884102817443901, 48.289145819687903], [13.243357374736998, 48.41611481382904], [13.595945672264433, 48.877171942737135], [14.33889773932472, 48.555305284207193], [14.901447381254055, 48.964401760445817], [15.253415561593979, 49.039074205107575], [16.029647251050218, 48.733899034207916], [16.49928266771877, 48.785808010445095], [16.960288120194573, 48.596982326850593], [16.879982944412998, 48.470013332709463], [16.979666782304033, 48.123497015976298]]] } }, - { "type": "Feature", "properties": { "admin": "Azerbaijan", "name": "Azerbaijan", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[45.001987339056789, 39.740003567049591], [45.298144972521435, 39.471751207022422], [45.739978468616997, 39.473999131827149], [45.735379266143092, 39.319719143219785], [46.143623081248812, 38.74120148371221], [45.457721795438729, 38.874139105783108], [44.952688022650264, 39.33576467544642], [44.79398969908199, 39.713002631177027], [45.001987339056789, 39.740003567049591]]], [[[47.373315464066216, 41.219732367511249], [47.81566572448471, 41.151416124021338], [47.987283156126033, 41.405819200194223], [48.584352654826283, 41.808869533854669], [49.110263706260653, 41.282286688800518], [49.618914829309588, 40.572924302729966], [50.084829542853093, 40.526157131505776], [50.392821079312704, 40.256561184239096], [49.569202101444795, 40.176100979160701], [49.395259230350419, 39.39948171646224], [49.2232283872507, 39.04921885838791], [48.856532423707584, 38.815486355131775], [48.883249139202533, 38.320245266262638], [48.634375441284831, 38.270377509100925], [48.010744256386502, 38.794014797514528], [48.355529412637928, 39.288764960276886], [48.060095249225256, 39.582235419262439], [47.685079380083117, 39.508363959301185], [46.505719842317966, 38.770605373686251], [46.483498976432443, 39.464154771475528], [46.034534132680697, 39.628020738273044], [45.610012241402913, 39.899993801425175], [45.891907179555133, 40.21847565363997], [45.359174839058156, 40.561503811193482], [45.560351189970469, 40.812289537105947], [45.179495883979392, 40.98535390885143], [44.972480096218156, 41.248128567055623], [45.217426385281634, 41.411451931314041], [45.962600538930438, 41.123872585609789], [46.501637404166978, 41.064444688474104], [46.637908156120567, 41.181672675128219], [46.145431756378983, 41.72280243587263], [46.404950799348818, 41.860675157227341], [46.686070591016652, 41.827137152669899], [47.373315464066216, 41.219732367511249]]]] } }, - { "type": "Feature", "properties": { "admin": "Burundi", "name": "Burundi", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[29.339997592900342, -4.499983412294092], [29.276383904749046, -3.293907159034063], [29.02492638521678, -2.839257907730157], [29.632176141078585, -2.917857761246096], [29.938359002407935, -2.348486830254238], [30.469696079232978, -2.413857517103458], [30.527677036264457, -2.807631931167534], [30.743012729624692, -3.034284763199686], [30.752262811004943, -3.359329522315569], [30.505559523243559, -3.568567396665364], [30.116332635221166, -4.090137627787242], [29.753512404099919, -4.45238941815328], [29.339997592900342, -4.499983412294092]]] } }, - { "type": "Feature", "properties": { "admin": "Belgium", "name": "Belgium", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[3.314971144228536, 51.345780951536071], [4.047071160507527, 51.267258612668556], [4.973991326526913, 51.475023708698124], [5.60697594567, 51.037298488969768], [6.156658155958779, 50.803721015010574], [6.043073357781109, 50.128051662794221], [5.782417433300905, 50.090327867221205], [5.674051954784828, 49.52948354755749], [4.799221632515809, 49.985373033236371], [4.286022983425084, 49.90749664977254], [3.588184441755685, 50.378992418003563], [3.123251580425801, 50.780363267614561], [2.658422071960274, 50.796848049515731], [2.513573032246142, 51.148506171261815], [3.314971144228536, 51.345780951536071]]] } }, - { "type": "Feature", "properties": { "admin": "Benin", "name": "Benin", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[2.691701694356254, 6.258817246928628], [1.865240512712318, 6.14215770102973], [1.618950636409238, 6.832038072126236], [1.664477573258381, 9.128590399609378], [1.46304284018467, 9.334624335157086], [1.425060662450136, 9.825395412632998], [1.077795037448737, 10.175606594275022], [0.772335646171484, 10.470808213742357], [0.899563022474069, 10.997339382364258], [1.243469679376488, 11.11051076908346], [1.447178175471066, 11.547719224488857], [1.93598554851988, 11.641150214072551], [2.154473504249921, 11.940150051313337], [2.49016360841793, 12.233052069543671], [2.84864301922667, 12.235635891158266], [3.611180454125558, 11.660167141155966], [3.572216424177469, 11.327939357951516], [3.797112257511713, 10.734745591673104], [3.600070021182801, 10.332186184119406], [3.705438266625918, 10.063210354040207], [3.220351596702101, 9.4441525333997], [2.912308383810255, 9.13760793704432], [2.723792758809509, 8.506845404489708], [2.74906253420022, 7.870734361192886], [2.691701694356254, 6.258817246928628]]] } }, - { "type": "Feature", "properties": { "admin": "Burkina Faso", "name": "Burkina Faso", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-2.827496303712706, 9.642460842319775], [-3.511898972986272, 9.900326239456216], [-3.980449184576684, 9.862344061721698], [-4.330246954760383, 9.610834865757139], [-4.779883592131966, 9.821984768101741], [-4.954653286143098, 10.152713934769732], [-5.404341599946973, 10.370736802609144], [-5.470564947929004, 10.951269842976044], [-5.197842576508648, 11.375145778850136], [-5.220941941743119, 11.713858954307224], [-4.427166103523802, 12.542645575404292], [-4.280405035814879, 13.228443508349738], [-4.006390753587225, 13.472485459848112], [-3.52280270019986, 13.337661647998612], [-3.103706834312759, 13.54126679122859], [-2.967694464520576, 13.798150336151506], [-2.191824510090384, 14.246417548067352], [-2.001035122068771, 14.559008287000887], [-1.066363491205663, 14.973815009007764], [-0.515854458000348, 15.116157741755725], [-0.26625729003058, 14.924308986872147], [0.374892205414682, 14.928908189346128], [0.295646396495101, 14.444234930880651], [0.429927605805517, 13.988733018443922], [0.993045688490071, 13.335749620003821], [1.024103224297477, 12.851825669806573], [2.177107781593775, 12.625017808477532], [2.154473504249921, 11.940150051313337], [1.93598554851988, 11.641150214072551], [1.447178175471066, 11.547719224488857], [1.243469679376488, 11.11051076908346], [0.899563022474069, 10.997339382364258], [0.023802524423701, 11.018681748900802], [-0.438701544588582, 11.09834096927872], [-0.761575893548183, 10.936929633015053], [-1.203357713211431, 11.009819240762736], [-2.94040930827046, 10.962690334512557], [-2.963896246747111, 10.395334784380081], [-2.827496303712706, 9.642460842319775]]] } }, - { "type": "Feature", "properties": { "admin": "Bangladesh", "name": "Bangladesh", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[92.672720981825549, 22.041238918541247], [92.652257114637976, 21.324047552978481], [92.30323449093865, 21.475485337809815], [92.368553501355606, 20.670883287025344], [92.082886183646124, 21.192195135985767], [92.025215285208361, 21.701569729086764], [91.834890985077408, 22.182935695885561], [91.417087029997646, 22.765019029221218], [90.496006300827247, 22.805016587815125], [90.586956821660948, 22.392793687422863], [90.272970819055544, 21.836367702720107], [89.847467075564268, 22.039146023033421], [89.70204959509492, 21.857115790285299], [89.41886274613546, 21.966178900637296], [89.031961297566198, 22.055708319582973], [88.876311883503064, 22.879146429937826], [88.529769728553759, 23.631141872649163], [88.699940220090895, 24.233714911388557], [88.084422235062405, 24.501657212821918], [88.30637251175601, 24.866079413344199], [88.931553989623069, 25.238692328384769], [88.209789259802477, 25.768065700782707], [88.56304935094974, 26.446525580342716], [89.355094028687276, 26.014407253518065], [89.832480910199592, 25.965082098895476], [89.920692580121838, 25.269749864192171], [90.872210727912105, 25.13260061288954], [91.799595981822065, 25.14743174895731], [92.376201613334786, 24.976692816664961], [91.915092807994398, 24.130413723237108], [91.467729933643668, 24.072639471934789], [91.158963250699713, 23.503526923104381], [91.706475050832083, 22.985263983649183], [91.869927606171302, 23.62434642180278], [92.146034783906799, 23.62749868417259], [92.672720981825549, 22.041238918541247]]] } }, - { "type": "Feature", "properties": { "admin": "Bulgaria", "name": "Bulgaria", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[22.657149692482985, 44.234923000661276], [22.94483239105184, 43.823785305347123], [23.332302280376322, 43.897010809904707], [24.100679152124169, 43.741051337247846], [25.569271681426923, 43.688444729174712], [26.065158725699739, 43.943493760751259], [27.242399529740904, 44.175986029632398], [27.970107049275068, 43.812468166675202], [28.55808149589199, 43.707461656258118], [28.039095086384712, 43.293171698574177], [27.673897739378042, 42.577892361006214], [27.996720411905383, 42.007358710287775], [27.135739373490473, 42.141484890301335], [26.117041863720793, 41.826904608724554], [26.106138136507205, 41.328898830727766], [25.197201368925441, 41.234485988930523], [24.492644891058031, 41.583896185872028], [23.692073601992345, 41.309080918943842], [22.952377150166445, 41.337993882811141], [22.881373732197424, 41.999297186850242], [22.380525750424585, 42.320259507815081], [22.545011834409614, 42.461362006188025], [22.436594679461273, 42.580321153323929], [22.604801466571324, 42.898518785161137], [22.986018507588479, 43.211161200526959], [22.500156691180276, 43.642814439460977], [22.410446404721593, 44.008063462899948], [22.657149692482985, 44.234923000661276]]] } }, - { "type": "Feature", "properties": { "admin": "The Bahamas", "name": "Bahamas", "continent": "North America" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-77.53466, 23.75975], [-77.78, 23.71], [-78.03405, 24.28615], [-78.40848, 24.57564], [-78.19087, 25.2103], [-77.89, 25.17], [-77.54, 24.34], [-77.53466, 23.75975]]], [[[-77.82, 26.58], [-78.91, 26.42], [-78.98, 26.79], [-78.51, 26.87], [-77.85, 26.84], [-77.82, 26.58]]], [[[-77.0, 26.59], [-77.17255, 25.87918], [-77.35641, 26.00735], [-77.34, 26.53], [-77.78802, 26.92516], [-77.79, 27.04], [-77.0, 26.59]]]] } }, - { "type": "Feature", "properties": { "admin": "Bosnia and Herzegovina", "name": "Bosnia and Herz.", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[19.005486281010118, 44.860233669609144], [19.36803, 44.863], [19.11761, 44.42307], [19.59976, 44.03847], [19.454, 43.568100000000115], [19.21852, 43.52384], [19.03165, 43.43253], [18.70648, 43.20011], [18.56, 42.65], [17.674921502358981, 43.028562527023603], [17.297373488034449, 43.446340643887353], [16.916156447017325, 43.667722479825663], [16.456442905348862, 44.041239732431265], [16.239660271884528, 44.351143296885695], [15.750026075918978, 44.81871165626255], [15.959367303133373, 45.233776760430935], [16.318156772535868, 45.004126695325901], [16.534939406000202, 45.211607570977705], [17.00214603035101, 45.233776760430935], [17.861783481526398, 45.067740383477137], [18.553214145591646, 45.08158966733145], [19.005486281010118, 44.860233669609144]]] } }, - { "type": "Feature", "properties": { "admin": "Belarus", "name": "Belarus", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[23.484127638449841, 53.912497667041123], [24.45068362803703, 53.905702216194747], [25.536353794056989, 54.282423407602515], [25.768432651479792, 54.846962592175082], [26.588279249790386, 55.167175604871659], [26.494331495883749, 55.61510691997762], [27.102459751094525, 55.783313707087672], [28.17670942557799, 56.169129950578807], [29.2295133806603, 55.918344224666356], [29.371571893030669, 55.67009064393617], [29.896294386522353, 55.789463202530406], [30.87390913262, 55.550976467503396], [30.971835971813132, 55.081547756564028], [30.75753380709871, 54.811770941784303], [31.384472283663733, 54.157056382862422], [31.791424187962232, 53.974638576872117], [31.731272820774503, 53.794029446012011], [32.405598585751157, 53.618045355842028], [32.693643019346034, 53.351420803432106], [32.304519484188226, 53.132726141972903], [31.497643670382924, 53.167426866256889], [31.30520063652801, 53.073995876673195], [31.540018344862254, 52.742052313846344], [31.78599816257158, 52.10167796488544], [30.927549269338975, 52.042353420614383], [30.619454380014837, 51.822806098022362], [30.55511722181145, 51.319503485715643], [30.157363722460889, 51.416138414101454], [29.254938185347921, 51.368234361366881], [28.992835320763522, 51.602044379271462], [28.617612745892242, 51.427713934934836], [28.241615024536564, 51.572227077839059], [27.454066196408426, 51.59230337178446], [26.337958611768549, 51.832288723347915], [25.327787713327005, 51.910656032918538], [24.553106316839511, 51.888461005249177], [24.005077752384206, 51.617443956094448], [23.52707075368437, 51.578454087930233], [23.508002150168689, 52.023646552124717], [23.19949384938618, 52.486977444053664], [23.799198846133375, 52.691099351606553], [23.804934930117774, 53.08973135030606], [23.527535841574995, 53.47012156840654], [23.484127638449841, 53.912497667041123]]] } }, - { "type": "Feature", "properties": { "admin": "Belize", "name": "Belize", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-89.143080410503302, 17.808318996649316], [-89.150909389995519, 17.955467637600414], [-89.029857347351808, 18.001511338772485], [-88.848343878926585, 17.883198147040229], [-88.490122850279334, 18.486830552641603], [-88.300031094093669, 18.499982204659897], [-88.296336229184803, 18.353272813383263], [-88.106812913754368, 18.348673610909284], [-88.123478563168476, 18.076674709541003], [-88.285354987322776, 17.644142971258031], [-88.197866787452625, 17.489475409408453], [-88.302640753924422, 17.13169363043566], [-88.239517991879893, 17.036066392479551], [-88.355428229510551, 16.530774237529624], [-88.551824510435821, 16.265467434143144], [-88.732433641295927, 16.233634751851351], [-88.930612759135244, 15.887273464415072], [-89.229121670269265, 15.886937567605166], [-89.15080603713092, 17.015576687075832], [-89.143080410503302, 17.808318996649316]]] } }, - { "type": "Feature", "properties": { "admin": "Bolivia", "name": "Bolivia", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-62.84646847192154, -22.034985446869442], [-63.986838141522462, -21.993644301035946], [-64.377021043542243, -22.798091322523533], [-64.964892137294598, -22.07586150481232], [-66.273339402924833, -21.832310479420713], [-67.10667355006359, -22.735924574476414], [-67.82817989772272, -22.872918796482171], [-68.219913092711266, -21.494346612231858], [-68.757167121033731, -20.372657972904459], [-68.442225104430904, -19.405068454671426], [-68.966818406841853, -18.9816834449041], [-69.100246955019472, -18.260125420812674], [-69.590423753524036, -17.580011895419329], [-68.959635382753291, -16.500697930571267], [-69.389764166934697, -15.66012908291165], [-69.160346645774936, -15.323973890853015], [-69.339534674747, -14.953195489158828], [-68.94888668483658, -14.45363941819328], [-68.929223802349526, -13.602683607643007], [-68.880079515239956, -12.89972909917665], [-68.665079718689611, -12.561300144097171], [-69.52967810736493, -10.951734307502193], [-68.786157599549469, -11.036380303596276], [-68.27125362819325, -11.014521172736817], [-68.048192308205373, -10.712059014532484], [-67.173801235610725, -10.30681243249961], [-66.646908331962791, -9.931331475466861], [-65.33843522811641, -9.76198780684639], [-65.444837002205375, -10.51145110437543], [-65.321898769783004, -10.895872084194675], [-65.402281460213018, -11.566270440317151], [-64.31635291203159, -12.461978041232191], [-63.196498786050562, -12.627032565972433], [-62.803060268796372, -13.000653171442682], [-62.127080857986371, -13.19878061284972], [-61.713204311760769, -13.489202162330049], [-61.084121263255646, -13.479383640194595], [-60.503304002511122, -13.775954685117656], [-60.459198167550014, -14.354007256734551], [-60.264326341377355, -14.645979099183638], [-60.251148851142922, -15.077218926659318], [-60.542965664295131, -15.093910414289592], [-60.158389655179022, -16.258283786690082], [-58.241219855366673, -16.299573256091289], [-58.388058437724027, -16.877109063385273], [-58.280804002502244, -17.271710300366014], [-57.734558274960989, -17.552468357007765], [-57.498371141170971, -18.174187513911289], [-57.676008877174297, -18.961839694904025], [-57.949997321185819, -19.400004164306814], [-57.853801642474494, -19.969995212486186], [-58.166392381408038, -20.176700941653674], [-58.183471442280492, -19.868399346600359], [-59.11504248720609, -19.356906019775398], [-60.043564622626477, -19.342746677327419], [-61.786326463453761, -19.633736667562957], [-62.265961269770784, -20.513734633061272], [-62.291179368729203, -21.051634616787389], [-62.685057135657871, -22.24902922942238], [-62.84646847192154, -22.034985446869442]]] } }, - { "type": "Feature", "properties": { "admin": "Brazil", "name": "Brazil", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-57.625133429582945, -30.216294854454258], [-56.290899624239067, -28.852760512000884], [-55.162286342984558, -27.881915378533456], [-54.49072526713551, -27.474756768505785], [-53.648735317587885, -26.923472588816086], [-53.628348965048737, -26.124865004177465], [-54.130049607954376, -25.547639255477247], [-54.625290696823562, -25.739255466415507], [-54.428946092330577, -25.162184747012162], [-54.293476325077435, -24.570799655863958], [-54.292959560754511, -24.021014092710722], [-54.652834235235119, -23.839578138933955], [-55.027901780809543, -24.001273695575225], [-55.400747239795407, -23.956935316668797], [-55.517639329639621, -23.57199757252663], [-55.61068274598113, -22.655619398694839], [-55.797958136606894, -22.356929620047815], [-56.473317430229379, -22.086300144135279], [-56.881509568902885, -22.282153822521476], [-57.937155727761287, -22.090175876557169], [-57.870673997617786, -20.732687676681948], [-58.166392381408038, -20.176700941653674], [-57.853801642474494, -19.969995212486186], [-57.949997321185819, -19.400004164306814], [-57.676008877174297, -18.961839694904025], [-57.498371141170971, -18.174187513911289], [-57.734558274960989, -17.552468357007765], [-58.280804002502244, -17.271710300366014], [-58.388058437724027, -16.877109063385273], [-58.241219855366673, -16.299573256091289], [-60.158389655179022, -16.258283786690082], [-60.542965664295131, -15.093910414289592], [-60.251148851142922, -15.077218926659318], [-60.264326341377355, -14.645979099183638], [-60.459198167550014, -14.354007256734551], [-60.503304002511122, -13.775954685117656], [-61.084121263255646, -13.479383640194595], [-61.713204311760769, -13.489202162330049], [-62.127080857986371, -13.19878061284972], [-62.803060268796372, -13.000653171442682], [-63.196498786050562, -12.627032565972433], [-64.31635291203159, -12.461978041232191], [-65.402281460213018, -11.566270440317151], [-65.321898769783004, -10.895872084194675], [-65.444837002205375, -10.51145110437543], [-65.33843522811641, -9.76198780684639], [-66.646908331962791, -9.931331475466861], [-67.173801235610725, -10.30681243249961], [-68.048192308205373, -10.712059014532484], [-68.27125362819325, -11.014521172736817], [-68.786157599549469, -11.036380303596276], [-69.52967810736493, -10.951734307502193], [-70.093752204046879, -11.123971856331011], [-70.548685675728393, -11.009146823778462], [-70.481893886991159, -9.490118096558842], [-71.302412278921523, -10.079436130415372], [-72.184890713169821, -10.05359791426943], [-72.563033006465631, -9.520193780152715], [-73.226713426390148, -9.462212823121233], [-73.015382656532537, -9.03283334720806], [-73.571059332967053, -8.424446709835832], [-73.987235480429646, -7.523829847853063], [-73.723401455363486, -7.340998630404412], [-73.724486660441627, -6.918595472850638], [-73.120027431923575, -6.629930922068238], [-73.219711269814596, -6.089188734566076], [-72.964507208941185, -5.741251315944892], [-72.891927659787243, -5.274561455916979], [-71.748405727816532, -4.59398284263301], [-70.928843349883564, -4.401591485210367], [-70.79476884630229, -4.251264743673302], [-69.893635219996611, -4.298186944194326], [-69.444101935489599, -1.556287123219817], [-69.420485805932216, -1.122618503426409], [-69.577065395776586, -0.549991957200163], [-70.02065589057004, -0.185156345219539], [-70.015565761989293, 0.541414292804205], [-69.452396002872447, 0.706158758950693], [-69.252434048119042, 0.602650865070075], [-69.218637661400166, 0.985676581217433], [-69.804596727157701, 1.089081122233466], [-69.816973232691609, 1.714805202639624], [-67.868565029558823, 1.692455145673392], [-67.537810024674684, 2.037162787276329], [-67.25999752467358, 1.719998684084956], [-67.065048183852483, 1.130112209473225], [-66.876325853122566, 1.253360500489336], [-66.325765143484944, 0.724452215982012], [-65.548267381437554, 0.78925446207603], [-65.354713304288353, 1.0952822941085], [-64.611011928959854, 1.328730576987041], [-64.199305792890499, 1.49285492594602], [-64.083085496666072, 1.91636912679408], [-63.368788011311644, 2.200899562993129], [-63.422867397705105, 2.411067613124174], [-64.269999152265783, 2.497005520025566], [-64.408827887617903, 3.126786200366623], [-64.368494432214092, 3.797210394705246], [-64.816064012294007, 4.056445217297422], [-64.628659430587533, 4.14848094320925], [-63.888342861574145, 4.020530096854571], [-63.093197597899092, 3.770571193858784], [-62.804533047116692, 4.006965033377951], [-62.085429653559125, 4.162123521334308], [-60.966893276601517, 4.536467596856638], [-60.601179165271922, 4.918098049332129], [-60.733574184803707, 5.2002772078619], [-60.213683437731319, 5.2444863956876], [-59.980958624904865, 5.014061184098138], [-60.111002366767373, 4.574966538914082], [-59.767405768458701, 4.423502915866606], [-59.538039923731219, 3.958802598481937], [-59.815413174057852, 3.606498521332085], [-59.974524909084543, 2.755232652188055], [-59.718545701726732, 2.249630438644359], [-59.646043667221242, 1.786893825686789], [-59.030861579002639, 1.317697658692722], [-58.540012986878288, 1.26808828369252], [-58.429477098205957, 1.46394196207872], [-58.113449876525003, 1.507195135907025], [-57.660971035377358, 1.682584947105638], [-57.33582292339689, 1.948537705895759], [-56.782704230360814, 1.863710842288653], [-56.53938574891454, 1.89952260986692], [-55.995698004771739, 1.817667141116601], [-55.905600145070871, 2.021995754398659], [-56.073341844290283, 2.220794989425499], [-55.973322109589361, 2.510363877773016], [-55.569755011605984, 2.42150625244713], [-55.097587449755125, 2.523748073736612], [-54.524754197799709, 2.311848863123785], [-54.088062506717243, 2.105556545414629], [-53.778520677288903, 2.376702785650081], [-53.554839240113537, 2.33489655192595], [-53.4184651352953, 2.05338918701598], [-52.939657151894949, 2.124857692875636], [-52.556424730018414, 2.504705308437053], [-52.249337531123942, 3.241094468596244], [-51.657797410678882, 4.156232408053028], [-51.317146369010842, 4.203490505383953], [-51.069771287629649, 3.65039765056403], [-50.508875291533641, 1.901563828942456], [-49.974075893745045, 1.736483465986069], [-49.947100796088705, 1.046189683431223], [-50.699251268096901, 0.222984117021681], [-50.388210822132123, -0.078444512536819], [-48.620566779156313, -0.235489190271821], [-48.584496629416577, -1.237805271005001], [-47.824956427590621, -0.5816179337628], [-46.566583624851219, -0.941027520352776], [-44.9057030909904, -1.551739597178134], [-44.417619187993658, -2.137750339367975], [-44.581588507655773, -2.691308282078523], [-43.418791266440188, -2.383110039889793], [-41.47265682632824, -2.912018324397116], [-39.97866533055403, -2.87305429444904], [-38.50038347019656, -3.700652357603394], [-37.223252122535193, -4.820945733258915], [-36.45293738457638, -5.109403578312153], [-35.597795783010454, -5.149504489770648], [-35.235388963347553, -5.464937432480245], [-34.896029832486825, -6.738193047719709], [-34.729993455533027, -7.343220716992965], [-35.128212042774216, -8.996401462442284], [-35.636966518687707, -9.649281508017811], [-37.046518724096991, -11.040721123908799], [-37.683611619607355, -12.17119475672582], [-38.423876512188436, -13.038118584854285], [-38.673887091616507, -13.057652276260615], [-38.953275722802537, -13.79336964280002], [-38.882298143049645, -15.667053724838764], [-39.161092495264306, -17.208406670808468], [-39.267339240056394, -17.867746270420479], [-39.583521491034219, -18.262295830968934], [-39.76082333022763, -19.599113457927402], [-40.774740770010332, -20.90451181405242], [-40.944756232250597, -21.937316989837807], [-41.75416419123821, -22.370675551037454], [-41.988284267736546, -22.970070489190888], [-43.074703742024738, -22.967693373305462], [-44.647811855637798, -23.351959323827838], [-45.35213578955991, -23.796841729428579], [-46.472093268405523, -24.088968601174539], [-47.648972337420645, -24.885199069927715], [-48.495458136577689, -25.877024834905647], [-48.641004808127725, -26.623697605090928], [-48.474735887228647, -27.175911960561887], [-48.661520351747612, -28.186134535435713], [-48.888457404157393, -28.674115085567877], [-49.587329474472668, -29.224469089476333], [-50.696874152211478, -30.984465020472953], [-51.576226162306149, -31.777698256153204], [-52.256081305538032, -32.245369968394662], [-52.71209998229768, -33.196578057591175], [-53.373661668498229, -33.768377780900757], [-53.650543992718084, -33.202004082981823], [-53.209588995971529, -32.727666110974717], [-53.787951626182185, -32.047242526987617], [-54.572451544805105, -31.494511407193745], [-55.601510179249331, -30.853878676071385], [-55.97324459494093, -30.883075860316296], [-56.976025763564721, -30.109686374636119], [-57.625133429582945, -30.216294854454258]]] } }, - { "type": "Feature", "properties": { "admin": "Brunei", "name": "Brunei", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[114.204016554828343, 4.525873928236805], [114.599961379048707, 4.900011298029965], [115.450710483869798, 5.447729803891532], [115.405700311343566, 4.955227565933837], [115.347460972150643, 4.316636053887009], [114.869557326315373, 4.348313706881924], [114.659595981913498, 4.007636826997753], [114.204016554828343, 4.525873928236805]]] } }, - { "type": "Feature", "properties": { "admin": "Bhutan", "name": "Bhutan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[91.69665652869665, 27.771741848251661], [92.10371178585973, 27.4526140406332], [92.033483514375078, 26.838310451763554], [91.217512648486405, 26.808648179628019], [90.37327477413406, 26.875724188742872], [89.744527622438838, 26.71940298105995], [88.835642531289366, 27.098966376243755], [88.814248488320544, 27.299315904239361], [89.475810174521101, 28.04275889740639], [90.015828891971154, 28.296438503527209], [90.730513950567769, 28.064953925075748], [91.258853794319904, 28.040614325466287], [91.69665652869665, 27.771741848251661]]] } }, - { "type": "Feature", "properties": { "admin": "Botswana", "name": "Botswana", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[25.649163445750155, -18.536025892818987], [25.850391473094724, -18.714412937090533], [26.164790887158478, -19.293085625894935], [27.296504754350501, -20.391519870690995], [27.724747348753247, -20.499058526290387], [27.727227817503252, -20.851801853114711], [28.02137007010861, -21.485975030200578], [28.794656202924209, -21.639454034107445], [29.432188348109033, -22.091312758067584], [28.017235955525244, -22.827753594659072], [27.119409620886238, -23.574323011979772], [26.78640669119741, -24.240690606383478], [26.485753208123292, -24.616326592713097], [25.941652052522151, -24.696373386333214], [25.765848829865206, -25.174845472923671], [25.664666375437712, -25.486816094669706], [25.025170525825782, -25.719670098576891], [24.211266717228792, -25.670215752873567], [23.733569777122703, -25.39012948985161], [23.312096795350179, -25.268689873965712], [22.824271274514896, -25.500458672794768], [22.579531691180584, -25.979447523708142], [22.105968865657864, -26.28025603607913], [21.60589603036939, -26.726533705351748], [20.889609002371731, -26.828542982695907], [20.666470167735437, -26.477453301704916], [20.758609246511831, -25.868136488551446], [20.165725538827186, -24.917961928000768], [19.895767856534427, -24.767790215760588], [19.895457797940672, -21.849156996347865], [20.881134067475866, -21.814327080983144], [20.910641310314531, -18.252218926672018], [21.655040317478971, -18.219146010005222], [23.196858351339298, -17.869038181227783], [23.579005568137713, -18.281261081620055], [24.217364536239209, -17.889347019118485], [24.520705193792534, -17.887124932529932], [25.084443393664564, -17.661815687737366], [25.264225701608005, -17.736539808831413], [25.649163445750155, -18.536025892818987]]] } }, - { "type": "Feature", "properties": { "admin": "Central African Republic", "name": "Central African Rep.", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[15.279460483469107, 7.421924546737968], [16.106231723706767, 7.497087917506504], [16.290561557691884, 7.754307359239304], [16.456184523187343, 7.734773667832966], [16.705988396886251, 7.508327541529978], [17.964929640380884, 7.890914008002865], [18.389554884523218, 8.281303615751822], [18.911021762780504, 8.630894680206351], [18.81200971850927, 8.982914536978596], [19.094008009526018, 9.074846910025837], [20.059685499764267, 9.01270600019485], [21.00086836109616, 9.475985215691507], [21.723821648859452, 10.567055568885973], [22.231129184668784, 10.971888739460507], [22.864165480244218, 11.142395127807543], [22.977543572692603, 10.714462591998538], [23.554304233502187, 10.089255275915306], [23.557249790142826, 9.681218166538683], [23.394779087017181, 9.26506785729222], [23.459012892355979, 8.954285793488891], [23.805813429466745, 8.666318874542425], [24.567369012152078, 8.229187933785466], [25.114932488716786, 7.825104071479172], [25.12413089366472, 7.500085150579436], [25.796647983511171, 6.979315904158069], [26.21341840994511, 6.546603298362071], [26.465909458123232, 5.94671743410187], [27.213409051225163, 5.550953477394557], [27.374226108517483, 5.233944403500059], [27.044065382604703, 5.127852688004835], [26.402760857862535, 5.150874538590869], [25.650455356557465, 5.256087754737123], [25.278798455514302, 5.170408229997191], [25.128833449003274, 4.927244777847789], [24.805028924262409, 4.897246608902349], [24.41053104014625, 5.108784084489129], [23.297213982850135, 4.609693101414221], [22.841479526468103, 4.710126247573483], [22.704123569436284, 4.633050848810156], [22.405123732195531, 4.02916006104732], [21.659122755630019, 4.224341945813719], [20.927591180106273, 4.322785549329736], [20.290679152108932, 4.691677761245287], [19.467783644293146, 5.031527818212779], [18.932312452884755, 4.709506130385973], [18.542982211997778, 4.201785183118317], [18.453065219809925, 3.504385891123348], [17.809900343505259, 3.560196437998569], [17.133042433346297, 3.728196519379451], [16.537058139724135, 3.198254706226278], [16.01285241055535, 2.267639675298084], [15.907380812247649, 2.557389431158612], [15.862732374747479, 3.013537298998982], [15.405395948964379, 3.335300604664339], [15.036219516671249, 3.851367295747123], [14.950953403389658, 4.21038930909492], [14.478372430080466, 4.732605495620446], [14.558935988023501, 5.03059764243153], [14.459407179429345, 5.451760565610299], [14.536560092841111, 6.22695872642069], [14.776545444404572, 6.408498033062044], [15.279460483469107, 7.421924546737968]]] } }, - { "type": "Feature", "properties": { "admin": "Canada", "name": "Canada", "continent": "North America" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-63.6645, 46.55001], [-62.9393, 46.41587], [-62.01208, 46.44314], [-62.50391, 46.03339], [-62.87433, 45.96818], [-64.1428, 46.39265], [-64.39261, 46.72747], [-64.01486, 47.03601], [-63.6645, 46.55001]]], [[[-61.806305, 49.10506], [-62.29318, 49.08717], [-63.58926, 49.40069], [-64.51912, 49.87304], [-64.17322, 49.95718], [-62.85829, 49.70641], [-61.835585, 49.28855], [-61.806305, 49.10506]]], [[[-123.510001587551116, 48.51001089130343], [-124.012890788399474, 48.370846259141402], [-125.655012777338342, 48.825004584338494], [-125.954994466792726, 49.179995835967638], [-126.850004435871853, 49.530000311880421], [-127.029993449544392, 49.814995835970073], [-128.059336304366212, 49.994959011426594], [-128.444584107102145, 50.53913768167611], [-128.358413656255408, 50.770648098343678], [-127.308581096029883, 50.552573554071948], [-126.695000977212302, 50.40090322529538], [-125.755006673823161, 50.295018215529367], [-125.415001587558791, 49.950000515332604], [-124.920768189119315, 49.47527497008339], [-123.92250870832099, 49.062483628935794], [-123.510001587551116, 48.51001089130343]]], [[[-56.134035814017111, 50.687009792679298], [-56.795881720595261, 49.812308661490945], [-56.143105027884289, 50.15011749938283], [-55.471492275602934, 49.935815334668447], [-55.822401089080913, 49.587128607779093], [-54.93514258484565, 49.313010972686833], [-54.473775397343772, 49.556691189159167], [-53.47654944519131, 49.24913890237405], [-53.786013759971233, 48.516780503933617], [-53.086133999226249, 48.687803656603528], [-52.95864824076223, 48.157164211614472], [-52.648098720904173, 47.53554840757549], [-53.069158291218336, 46.655498765644936], [-53.521456264853029, 46.618291734394823], [-54.178935512902527, 46.807065741556997], [-53.961868659060471, 47.625207017601909], [-54.240482143762122, 47.752279364607617], [-55.400773078011483, 46.88499380145312], [-55.997480841685835, 46.919720363953289], [-55.291219041552765, 47.389562486350982], [-56.250798712780508, 47.632545070987383], [-57.325229254777085, 47.572807115257987], [-59.26601518414676, 47.603347886742498], [-59.41949418805369, 47.89945384377485], [-58.796586473207398, 48.251525376979473], [-59.23162451845652, 48.523188381537793], [-58.391804979065213, 49.125580552764163], [-57.358689744686025, 50.718274034215845], [-56.738650071831998, 51.287438259478527], [-55.87097693543528, 51.632094224649187], [-55.406974249886602, 51.588272610065722], [-55.600218268442077, 51.317074693397913], [-56.134035814017111, 50.687009792679298]]], [[[-133.180004041711669, 54.169975490935308], [-132.710007884431292, 54.040009315423518], [-131.749989584003259, 54.120004380909208], [-132.049480347350965, 52.984621487024519], [-131.179042521826574, 52.18043284769827], [-131.577829549822894, 52.182370713909236], [-132.180428426778519, 52.639707139692391], [-132.549992432313843, 53.100014960332132], [-133.054611178755493, 53.411468817755363], [-133.239664482792676, 53.851080227262386], [-133.180004041711669, 54.169975490935308]]], [[[-79.26582, 62.158675], [-79.65752, 61.63308], [-80.09956, 61.7181], [-80.36215, 62.01649], [-80.315395, 62.085565], [-79.92939, 62.3856], [-79.52002, 62.36371], [-79.26582, 62.158675]]], [[[-81.89825, 62.7108], [-83.06857, 62.15922], [-83.77462, 62.18231], [-83.99367, 62.4528], [-83.25048, 62.91409], [-81.87699, 62.90458], [-81.89825, 62.7108]]], [[[-85.161307949549851, 65.657284654392797], [-84.975763719405933, 65.217518215588981], [-84.464012010419495, 65.371772365980163], [-83.88262630891974, 65.109617824963536], [-82.78757687043877, 64.766693020274673], [-81.642013719392509, 64.455135809986942], [-81.553440314444245, 63.979609280037131], [-80.817361212878851, 64.057485663500998], [-80.103451300766594, 63.725981350348597], [-80.991019863595653, 63.41124603947496], [-82.547178107416997, 63.651722317145229], [-83.108797573565042, 64.101875718839707], [-84.100416632813847, 63.569711819098004], [-85.523404710618991, 63.052379055424076], [-85.866768764982339, 63.637252916103542], [-87.221983201836721, 63.541238104905212], [-86.352759772471259, 64.035833238370699], [-86.224886440765133, 64.822916978608262], [-85.883847825854858, 65.738778388117041], [-85.161307949549851, 65.657284654392797]]], [[[-75.86588, 67.14886], [-76.98687, 67.09873], [-77.2364, 67.58809], [-76.81166, 68.14856], [-75.89521, 68.28721], [-75.1145, 68.01036], [-75.10333, 67.58202], [-75.21597, 67.44425], [-75.86588, 67.14886]]], [[[-95.647681203800488, 69.107690358321761], [-96.269521203800579, 68.757040358321731], [-97.61740120380054, 69.060030358321782], [-98.431801203800504, 68.950700358321768], [-99.797401203800504, 69.400030358321786], [-98.917401203800523, 69.710030358321788], [-98.218261203800466, 70.143540358321744], [-97.157401203800532, 69.860030358321794], [-96.557401203800524, 69.680030358321758], [-96.257401203800498, 69.490030358321761], [-95.647681203800488, 69.107690358321761]]], [[[-90.5471, 69.49766], [-90.55151, 68.47499], [-89.21515, 69.25873], [-88.01966, 68.61508], [-88.31749, 67.87338], [-87.35017, 67.19872], [-86.30607, 67.92146], [-85.57664, 68.78456], [-85.52197, 69.88211], [-84.10081, 69.80539], [-82.62258, 69.65826], [-81.28043, 69.16202], [-81.2202, 68.66567], [-81.96436, 68.13253], [-81.25928, 67.59716], [-81.38653, 67.11078], [-83.34456, 66.41154], [-84.73542, 66.2573], [-85.76943, 66.55833], [-86.0676, 66.05625], [-87.03143, 65.21297], [-87.32324, 64.77563], [-88.48296, 64.09897], [-89.91444, 64.03273], [-90.70398, 63.61017], [-90.77004, 62.96021], [-91.93342, 62.83508], [-93.15698, 62.02469], [-94.24153, 60.89865], [-94.62931, 60.11021], [-94.6846, 58.94882], [-93.21502, 58.78212], [-92.76462, 57.84571], [-92.297029999999893, 57.08709], [-90.89769, 57.28468], [-89.03953, 56.85172], [-88.03978, 56.47162], [-87.32421, 55.99914], [-86.07121, 55.72383], [-85.01181, 55.3026], [-83.36055, 55.24489], [-82.27285, 55.14832], [-82.4362, 54.28227], [-82.12502, 53.27703], [-81.40075, 52.15788], [-79.91289, 51.20842], [-79.14301, 51.53393], [-78.60191, 52.56208], [-79.12421, 54.14145], [-79.82958, 54.66772], [-78.22874, 55.13645], [-77.0956, 55.83741], [-76.54137, 56.53423], [-76.62319, 57.20263], [-77.30226, 58.05209], [-78.51688, 58.80458], [-77.33676, 59.85261], [-77.77272, 60.75788], [-78.10687, 62.31964], [-77.41067, 62.55053], [-75.69621, 62.2784], [-74.6682, 62.18111], [-73.83988, 62.4438], [-72.90853, 62.10507], [-71.67708, 61.52535], [-71.37369, 61.13717], [-69.59042, 61.06141], [-69.62033, 60.22125], [-69.2879, 58.95736], [-68.37455, 58.80106], [-67.64976, 58.21206], [-66.20178, 58.76731], [-65.24517, 59.87071], [-64.58352, 60.33558], [-63.80475, 59.4426], [-62.50236, 58.16708], [-61.39655, 56.96745], [-61.79866, 56.33945], [-60.46853, 55.77548], [-59.56962, 55.20407], [-57.97508, 54.94549], [-57.3332, 54.6265], [-56.93689, 53.78032], [-56.15811, 53.64749], [-55.75632, 53.27036], [-55.68338, 52.14664], [-56.40916, 51.7707], [-57.12691, 51.41972], [-58.77482, 51.0643], [-60.03309, 50.24277], [-61.72366, 50.08046], [-63.86251, 50.29099], [-65.36331, 50.2982], [-66.39905, 50.22897], [-67.23631, 49.51156], [-68.51114, 49.06836], [-69.95362, 47.74488], [-71.10458, 46.82171], [-70.25522, 46.98606], [-68.65, 48.3], [-66.55243, 49.1331], [-65.05626, 49.23278], [-64.17099, 48.74248], [-65.11545, 48.07085], [-64.79854, 46.99297], [-64.47219, 46.23849], [-63.17329, 45.73902], [-61.52072, 45.88377], [-60.51815, 47.00793], [-60.4486, 46.28264], [-59.80287, 45.9204], [-61.03988, 45.26525], [-63.25471, 44.67014], [-64.24656, 44.26553], [-65.36406, 43.54523], [-66.1234, 43.61867], [-66.16173, 44.46512], [-64.42549, 45.29204], [-66.02605, 45.25931], [-67.13741, 45.13753], [-67.79134, 45.70281], [-67.79046, 47.06636], [-68.23444, 47.35486], [-68.905, 47.185], [-69.237216, 47.447781], [-69.99997, 46.69307], [-70.305, 45.915], [-70.66, 45.46], [-71.08482, 45.30524], [-71.405, 45.255], [-71.50506, 45.0082], [-73.34783, 45.00738], [-74.867, 45.00048], [-75.31821, 44.81645], [-76.375, 44.09631], [-76.5, 44.018458893758712], [-76.820034145805565, 43.628784288093748], [-77.737885097957687, 43.62905558936329], [-78.720279914042365, 43.625089423184868], [-79.171673550111862, 43.466339423184216], [-79.01, 43.27], [-78.92, 42.965], [-78.939362148743683, 42.863611355148031], [-80.247447679347928, 42.366199856122584], [-81.277746548167144, 42.209025987306845], [-82.439277716791608, 41.675105088867149], [-82.690089280920162, 41.675105088867149], [-83.029810146806909, 41.832795722005834], [-83.141999681312555, 41.975681057292825], [-83.12, 42.08], [-82.9, 42.43], [-82.43, 42.98], [-82.137642381503881, 43.571087551439909], [-82.337763125431053, 44.44], [-82.550924648758169, 45.347516587905368], [-83.592850714843067, 45.816893622412373], [-83.469550747394621, 45.994686387712584], [-83.616130947590563, 46.116926988299056], [-83.890765347005726, 46.116926988299056], [-84.091851264161463, 46.27541860613816], [-84.14211951367335, 46.512225857115723], [-84.3367, 46.40877], [-84.6049, 46.4396], [-84.543748745445853, 46.538684190449132], [-84.779238247399888, 46.637101955749038], [-84.876079881514855, 46.900083319682366], [-85.652363247403414, 47.220218817730498], [-86.461990831228249, 47.553338019392037], [-87.439792623300207, 47.94], [-88.378114183286698, 48.302917588893727], [-89.272917446636654, 48.019808254582657], [-89.6, 48.01], [-90.83, 48.27], [-91.64, 48.14], [-92.61, 48.45], [-93.63087, 48.60926], [-94.32914, 48.67074], [-94.64, 48.84], [-94.81758, 49.38905], [-95.15609, 49.38425], [-95.159069509172014, 49.0], [-97.228720000004799, 49.0007], [-100.65, 49.0], [-104.04826, 48.99986], [-107.05, 49.0], [-110.05, 49.0], [-113.0, 49.0], [-116.04818, 49.0], [-117.03121, 49.0], [-120.0, 49.0], [-122.84, 49.0], [-122.97421, 49.002537777777789], [-124.91024, 49.98456], [-125.62461, 50.41656], [-127.43561, 50.83061], [-127.99276, 51.71583], [-127.85032, 52.32961], [-129.12979, 52.75538], [-129.30523, 53.56159], [-130.51497, 54.28757], [-130.53611, 54.80278], [-129.98, 55.285], [-130.00778, 55.91583], [-131.70781, 56.55212], [-132.73042, 57.69289], [-133.35556, 58.41028], [-134.27111, 58.86111], [-134.945, 59.27056], [-135.47583, 59.78778], [-136.47972, 59.46389], [-137.4525, 58.905], [-138.34089, 59.56211], [-139.039, 60.0], [-140.013, 60.27682], [-140.99778, 60.30639], [-140.9925, 66.00003], [-140.986, 69.712], [-139.12052, 69.47102], [-137.54636, 68.99002], [-136.50358, 68.89804], [-135.62576, 69.31512], [-134.41464, 69.62743], [-132.92925, 69.50534], [-131.43136, 69.94451], [-129.79471, 70.19369], [-129.10773, 69.77927], [-128.36156, 70.01286], [-128.13817, 70.48384], [-127.44712, 70.37721], [-125.75632, 69.48058], [-124.42483, 70.1584], [-124.28968, 69.39969], [-123.06108, 69.56372], [-122.6835, 69.85553], [-121.47226, 69.79778], [-119.94288, 69.37786], [-117.60268, 69.01128], [-116.22643, 68.84151], [-115.2469, 68.90591], [-113.89794, 68.3989], [-115.30489, 67.90261], [-113.49727, 67.68815], [-110.798, 67.80612], [-109.94619, 67.98104], [-108.8802, 67.38144], [-107.79239, 67.88736], [-108.81299, 68.31164], [-108.16721, 68.65392], [-106.95, 68.7], [-106.15, 68.8], [-105.34282, 68.56122], [-104.33791, 68.018], [-103.22115, 68.09775], [-101.45433, 67.64689], [-99.90195, 67.80566], [-98.4432, 67.78165], [-98.5586, 68.40394], [-97.66948, 68.57864], [-96.11991, 68.23939], [-96.12588, 67.29338], [-95.48943, 68.0907], [-94.685, 68.06383], [-94.23282, 69.06903], [-95.30408, 69.68571], [-96.47131, 70.08976], [-96.39115, 71.19482], [-95.2088, 71.92053], [-93.88997, 71.76015], [-92.87818, 71.31869], [-91.51964, 70.19129], [-92.40692, 69.69997], [-90.5471, 69.49766]]], [[[-114.167169999999871, 73.12145], [-114.66634, 72.65277], [-112.441019999999867, 72.9554], [-111.05039, 72.4504], [-109.920349999999857, 72.96113], [-109.00654, 72.63335], [-108.188349999999886, 71.65089], [-107.68599, 72.06548], [-108.39639, 73.08953], [-107.51645, 73.23598], [-106.522589999999866, 73.07601], [-105.402459999999877, 72.67259], [-104.77484, 71.6984], [-104.464759999999814, 70.99297], [-102.78537, 70.49776], [-100.980779999999868, 70.02432], [-101.089289999999892, 69.58447000000011], [-102.731159999999875, 69.50402], [-102.09329, 69.11962], [-102.43024, 68.75282], [-104.24, 68.91], [-105.96, 69.180000000000135], [-107.12254, 69.11922], [-108.999999999999872, 68.78], [-111.534148875200117, 68.630059156817921], [-113.3132, 68.53554], [-113.854959999999807, 69.007440000000102], [-115.22, 69.28], [-116.10794, 69.16821], [-117.34, 69.960000000000107], [-116.674729999999869, 70.06655], [-115.13112, 70.2373], [-113.72141, 70.19237], [-112.4161, 70.36638], [-114.35, 70.6], [-116.48684, 70.52045], [-117.9048, 70.540560000000127], [-118.43238, 70.9092], [-116.11311, 71.30918], [-117.65568, 71.2952], [-119.40199, 71.55859], [-118.56267, 72.30785], [-117.866419999999877, 72.70594], [-115.18909, 73.314590000000109], [-114.167169999999871, 73.12145]]], [[[-104.5, 73.42], [-105.38, 72.76], [-106.94, 73.46], [-106.6, 73.6], [-105.26, 73.64], [-104.5, 73.42]]], [[[-76.34, 73.102684989953005], [-76.251403808593736, 72.826385498046861], [-77.314437866210895, 72.85554504394527], [-78.391670227050795, 72.876655578613253], [-79.486251831054645, 72.742202758789062], [-79.775833129882827, 72.80290222167973], [-80.876098632812514, 73.333183288574205], [-80.833885192871051, 73.693183898925767], [-80.353057861328111, 73.75971984863277], [-78.064437866210923, 73.651931762695327], [-76.34, 73.102684989953005]]], [[[-86.562178514334107, 73.157447007938444], [-85.774371304044521, 72.534125881633798], [-84.850112474288224, 73.34027822538711], [-82.315590176100969, 73.750950832810574], [-80.600087653307611, 72.716543687624181], [-80.748941616524391, 72.061906643350753], [-78.770638597310764, 72.352173163534147], [-77.824623989559569, 72.749616604291035], [-75.605844692675717, 72.243678493937381], [-74.228616095664975, 71.767144273557889], [-74.099140794557698, 71.330840155717638], [-72.242225714797641, 71.556924546994495], [-71.200015428335192, 70.920012518997211], [-68.78605424668487, 70.525023708774242], [-67.914970465756923, 70.121947536897594], [-66.969033372654152, 69.18608734809186], [-68.805122850200533, 68.720198472764409], [-66.449866095633851, 68.067163397892003], [-64.862314419195215, 67.847538560651614], [-63.424934454996745, 66.928473212340649], [-61.851981370680569, 66.862120673277829], [-62.163176845942296, 66.160251369889593], [-63.91844438338417, 64.998668524832837], [-65.148860236253611, 65.426032619886669], [-66.72121904159853, 66.388041083432185], [-68.015016038673949, 66.262725735124391], [-68.141287400979152, 65.689789130304362], [-67.089646165623392, 65.108455105236985], [-65.732080451099748, 64.64840566675862], [-65.320167609301265, 64.382737128346051], [-64.669406297449669, 63.392926744227474], [-65.013803880458894, 62.674185085695974], [-66.275044725190455, 62.945098781986069], [-68.783186204692711, 63.745670071051805], [-67.369680752213029, 62.883965562584869], [-66.328297288667201, 62.28007477482204], [-66.165568203380147, 61.930897121825879], [-68.877366502544632, 62.330149237712803], [-71.023437059193824, 62.910708116295829], [-72.23537858751898, 63.397836005295154], [-71.886278449171286, 63.679989325608837], [-73.37830624051837, 64.193963121183813], [-74.834418911422588, 64.679075629323776], [-74.818502570276706, 64.389093329517962], [-77.709979824520019, 64.229542344816778], [-78.55594885935416, 64.572906399180127], [-77.897281053361908, 65.309192206474776], [-76.018274298797181, 65.326968899183143], [-73.95979529488271, 65.454764716240888], [-74.293883429649625, 65.81177134872938], [-73.94491248238262, 66.310578111426722], [-72.65116716173938, 67.284575507263853], [-72.926059943316076, 67.726925767682374], [-73.311617804645721, 68.069437160912898], [-74.8433072577768, 68.554627183701271], [-76.869100918266739, 68.894735622830254], [-76.228649054657339, 69.147769273547411], [-77.28736996123709, 69.769540106883269], [-78.168633999326588, 69.826487535268896], [-78.95724219431672, 70.166880194775402], [-79.492455003563649, 69.871807766388898], [-81.305470954091732, 69.743185126414332], [-84.944706183598456, 69.966634019644388], [-87.060003424817864, 70.260001125765356], [-88.681713223001495, 70.410741278760796], [-89.513419562523012, 70.762037665480975], [-88.467721116880753, 71.218185533321318], [-89.888151211287465, 71.222552191849942], [-90.205160285181989, 72.235074367960792], [-89.43657670770493, 73.129464219852352], [-88.408241543312784, 73.537888902471209], [-85.826151089200906, 73.803815823045213], [-86.562178514334107, 73.157447007938444]]], [[[-100.35642, 73.84389], [-99.16387, 73.63339], [-97.38, 73.76], [-97.12, 73.47], [-98.05359, 72.99052], [-96.54, 72.56], [-96.72, 71.66], [-98.35966, 71.27285], [-99.32286, 71.35639], [-100.01482, 71.73827], [-102.5, 72.51], [-102.48, 72.83], [-100.43836, 72.70588], [-101.54, 73.36], [-100.35642, 73.84389]]], [[[-93.196295539100205, 72.771992499473342], [-94.26904659704725, 72.024596259235949], [-95.409855516322637, 72.061880805134578], [-96.033745083382428, 72.940276801231789], [-96.01826799191096, 73.437429918095788], [-95.495793423224001, 73.862416897264154], [-94.503657599652328, 74.134906724739196], [-92.420012173211745, 74.100025132942179], [-90.509792853542578, 73.85673248971203], [-92.003965216829869, 72.966244208458477], [-93.196295539100205, 72.771992499473342]]], [[[-120.46, 71.383601793087578], [-123.09219, 70.90164], [-123.62, 71.34], [-125.92894873747332, 71.868688463011395], [-125.499999999999872, 72.292260811795003], [-124.80729, 73.02256], [-123.94, 73.680000000000135], [-124.917749999999899, 74.292750000000112], [-121.53788, 74.44893], [-120.10978, 74.24135], [-117.55564, 74.18577], [-116.58442, 73.89607], [-115.51081, 73.47519], [-116.767939999999882, 73.22292], [-119.22, 72.52], [-120.46, 71.82], [-120.46, 71.383601793087578]]], [[[-93.612755906940464, 74.979997260224437], [-94.156908738973812, 74.59234650338685], [-95.60868058956558, 74.666863918751758], [-96.820932176484561, 74.927623196096576], [-96.288587409229791, 75.377828274223333], [-94.850819871789113, 75.647217515760886], [-93.977746548217908, 75.296489569795952], [-93.612755906940464, 74.979997260224437]]], [[[-98.5, 76.72], [-97.735585, 76.25656], [-97.704415, 75.74344], [-98.16, 75.0], [-99.80874, 74.89744], [-100.88366, 75.05736], [-100.86292, 75.64075], [-102.50209, 75.5638], [-102.56552, 76.3366], [-101.48973, 76.30537], [-99.98349, 76.64634], [-98.57699, 76.58859], [-98.5, 76.72]]], [[[-108.21141, 76.20168], [-107.81943, 75.84552], [-106.92893, 76.01282], [-105.881, 75.9694], [-105.70498, 75.47951], [-106.31347, 75.00527], [-109.7, 74.85], [-112.22307, 74.41696], [-113.74381, 74.39427], [-113.87135, 74.72029], [-111.79421, 75.1625], [-116.31221, 75.04343], [-117.7104, 75.2222], [-116.34602, 76.19903], [-115.40487, 76.47887], [-112.59056, 76.14134], [-110.81422, 75.54919], [-109.0671, 75.47321], [-110.49726, 76.42982], [-109.5811, 76.79417], [-108.54859, 76.67832], [-108.21141, 76.20168]]], [[[-94.684085862999439, 77.097878323058367], [-93.573921068073105, 76.776295884906062], [-91.605023159536586, 76.778517971494594], [-90.741845872749209, 76.449597479956807], [-90.969661424507976, 76.074013170059445], [-89.822237921899244, 75.847773749485626], [-89.187082892599776, 75.610165513807615], [-87.838276333349611, 75.566188869927217], [-86.379192267588664, 75.482421373182163], [-84.789625210290595, 75.699204006646497], [-82.753444586910049, 75.784315090631225], [-81.12853084992436, 75.713983466282016], [-80.05751095245914, 75.336848863415867], [-79.833932868148324, 74.923127346487192], [-80.457770758775823, 74.657303778777774], [-81.948842536125511, 74.442459011524321], [-83.2288936022114, 74.564027818490928], [-86.097452358733292, 74.410032050261137], [-88.150350307960196, 74.392307033984977], [-89.764722052758358, 74.515555325001117], [-92.422440965529418, 74.837757880340973], [-92.768285488642789, 75.38681997344213], [-92.889905972041717, 75.882655341282629], [-93.893824022175977, 76.319243679500516], [-95.962457445035795, 76.44138092722244], [-97.121378953829463, 76.751077785947587], [-96.745122850312342, 77.161388658345132], [-94.684085862999439, 77.097878323058367]]], [[[-116.198586595507322, 77.645286770326194], [-116.335813361458349, 76.876961575010554], [-117.106050584768766, 76.530031846819114], [-118.040412157038119, 76.481171780087081], [-119.899317586885687, 76.053213406061971], [-121.499995077126471, 75.900018622532784], [-122.85492448615895, 76.116542873835684], [-122.854925293603188, 76.116542873835684], [-121.157535360328239, 76.864507554828336], [-119.103938971821023, 77.512219957174608], [-117.570130784965954, 77.498318996888102], [-116.198586595507322, 77.645286770326194]]], [[[-93.840003017943971, 77.51999726023449], [-94.295608283245244, 77.491342678528682], [-96.169654100310055, 77.55511139597688], [-96.436304490936109, 77.83462921824362], [-94.422577277386353, 77.820004787904978], [-93.720656297565867, 77.634331366680314], [-93.840003017943971, 77.51999726023449]]], [[[-110.186938035912945, 77.697014879050286], [-112.051191169058455, 77.409228827616843], [-113.534278937619035, 77.732206529441143], [-112.724586758253835, 78.051050116681935], [-111.264443325630822, 78.152956041161545], [-109.854451870547067, 77.996324774884812], [-110.186938035912945, 77.697014879050286]]], [[[-109.663145718202557, 78.601972561345676], [-110.88131425661885, 78.406919867659994], [-112.542091437615142, 78.407901719873493], [-112.525890876091566, 78.550554511215225], [-111.500010342233367, 78.849993598130538], [-110.96366065147599, 78.804440823065207], [-109.663145718202557, 78.601972561345676]]], [[[-95.830294969449312, 78.056941229963243], [-97.309842902397975, 77.85059723582178], [-98.124289313533964, 78.082856960757567], [-98.55286780474664, 78.458105373845086], [-98.631984422585504, 78.871930243638374], [-97.337231411512604, 78.831984361476756], [-96.754398769908761, 78.765812689926989], [-95.559277920294562, 78.41831452098026], [-95.830294969449312, 78.056941229963243]]], [[[-100.060191820052111, 78.324754340315891], [-99.670939093813601, 77.907544664207393], [-101.303940192452984, 78.018984890444798], [-102.949808722733025, 78.343228664860206], [-105.176132778731514, 78.38033234324574], [-104.210429450277147, 78.677420152491777], [-105.419580451258511, 78.918335679836431], [-105.492289191493128, 79.301593939929177], [-103.529282396237917, 79.16534902619162], [-100.8251580472688, 78.80046173777869], [-100.060191820052111, 78.324754340315891]]], [[[-87.02, 79.66], [-85.81435, 79.3369], [-87.18756, 79.0393], [-89.03535, 78.28723], [-90.80436, 78.21533], [-92.87669, 78.34333], [-93.95116, 78.75099], [-93.93574, 79.11373], [-93.14524, 79.3801], [-94.974, 79.37248], [-96.07614, 79.70502], [-96.70972, 80.15777], [-96.01644, 80.60233], [-95.32345, 80.90729], [-94.29843, 80.97727], [-94.73542, 81.20646], [-92.40984, 81.25739], [-91.13289, 80.72345], [-89.45, 80.509322033898258], [-87.81, 80.32], [-87.02, 79.66]]], [[[-68.5, 83.106321516765732], [-65.82735, 83.02801], [-63.68, 82.9], [-61.85, 82.6286], [-61.89388, 82.36165], [-64.334, 81.92775], [-66.75342, 81.72527], [-67.65755, 81.50141], [-65.48031, 81.50657], [-67.84, 80.9], [-69.4697, 80.61683], [-71.18, 79.8], [-73.2428, 79.63415], [-73.88, 79.430162204802073], [-76.90773, 79.32309], [-75.52924, 79.19766], [-76.22046, 79.01907], [-75.39345, 78.52581], [-76.34354, 78.18296], [-77.88851, 77.89991], [-78.36269, 77.50859], [-79.75951, 77.20968], [-79.61965, 76.98336], [-77.91089, 77.022045], [-77.88911, 76.777955], [-80.56125, 76.17812], [-83.17439, 76.45403], [-86.11184, 76.29901], [-87.6, 76.42], [-89.49068, 76.47239], [-89.6161, 76.95213], [-87.76739, 77.17833], [-88.26, 77.9], [-87.65, 77.970222222222205], [-84.97634, 77.53873], [-86.34, 78.18], [-87.96192, 78.37181], [-87.15198, 78.75867], [-85.37868, 78.9969], [-85.09495, 79.34543], [-86.50734, 79.73624], [-86.93179, 80.25145], [-84.19844, 80.20836], [-83.408695652173819, 80.1], [-81.84823, 80.46442], [-84.1, 80.58], [-87.59895, 80.51627], [-89.36663, 80.85569], [-90.2, 81.26], [-91.36786, 81.5531], [-91.58702, 81.89429], [-90.1, 82.085], [-88.93227, 82.11751], [-86.97024, 82.27961], [-85.5, 82.652273458057024], [-84.260005, 82.6], [-83.18, 82.32], [-82.42, 82.86], [-81.1, 83.02], [-79.30664, 83.13056], [-76.25, 83.172058823529369], [-75.71878, 83.06404], [-72.83153, 83.23324], [-70.665765, 83.169780758382828], [-68.5, 83.106321516765732]]]] } }, - { "type": "Feature", "properties": { "admin": "Switzerland", "name": "Switzerland", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[9.594226108446346, 47.525058091820256], [9.632931756232974, 47.347601223329974], [9.479969516649019, 47.102809963563367], [9.932448357796657, 46.920728054382948], [10.442701450246627, 46.893546250997424], [10.36337812667861, 46.483571275409851], [9.922836541390378, 46.314899400409182], [9.182881707403054, 46.440214748716976], [8.966305779667804, 46.036931871111186], [8.489952426801322, 46.005150865251672], [8.316629672894377, 46.163642483090847], [7.755992058959832, 45.824490057959302], [7.273850945676655, 45.776947740250769], [6.843592970414504, 45.991146552100595], [6.500099724970424, 46.429672756529428], [6.022609490593537, 46.272989813820466], [6.037388950229, 46.725778713561859], [6.768713820023605, 47.287708238303686], [6.736571079138058, 47.541801255882838], [7.192202182655505, 47.449765529971003], [7.466759067422228, 47.620581976911794], [8.31730146651415, 47.613579820336255], [8.522611932009765, 47.830827541691285], [9.594226108446346, 47.525058091820256]]] } }, - { "type": "Feature", "properties": { "admin": "Chile", "name": "Chile", "continent": "South America" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-68.634010227583147, -52.636370458874353], [-68.633349999999879, -54.8695], [-67.56244, -54.87001], [-66.95992, -54.89681], [-67.291029999999878, -55.30124], [-68.148629999999841, -55.61183], [-68.639990810811796, -55.580017999086877], [-69.2321, -55.49906], [-69.95809, -55.19843], [-71.00568, -55.05383], [-72.2639, -54.49514], [-73.2852, -53.957519999999874], [-74.66253, -52.83749], [-73.8381, -53.04743], [-72.43418, -53.7154], [-71.10773, -54.07433], [-70.591779999999787, -53.61583], [-70.26748, -52.93123], [-69.345649999999878, -52.5183], [-68.634010227583147, -52.636370458874353]]], [[[-68.219913092711224, -21.49434661223183], [-67.828179897722634, -22.872918796482178], [-67.106673550063604, -22.735924574476392], [-66.985233934177629, -22.986348565362825], [-67.328442959244128, -24.025303236590908], [-68.417652960876111, -24.518554782816874], [-68.386001146097342, -26.185016371365229], [-68.594799770772667, -26.50690886811126], [-68.295541551370391, -26.899339694935787], [-69.001234910748266, -27.521213881136127], [-69.656130337183143, -28.459141127233686], [-70.013550381129861, -29.367922865518544], [-69.919008348251921, -30.336339206668306], [-70.535068935819439, -31.365010267870279], [-70.074399380153622, -33.09120981214803], [-69.814776984319209, -33.273886000299839], [-69.817309129501453, -34.193571465798279], [-70.388049485949082, -35.169687595359441], [-70.364769253201658, -36.005088799789931], [-71.121880662709771, -36.65812387466233], [-71.118625047475419, -37.576827487947192], [-70.814664272734703, -38.552995293940732], [-71.413516608349042, -38.916022230791107], [-71.680761277946445, -39.808164157878061], [-71.915734015577542, -40.832339369470716], [-71.746803758415453, -42.051386407235988], [-72.148898078078517, -42.254888197601375], [-71.915423956983901, -43.408564548517404], [-71.464056159130493, -43.787611179378324], [-71.793622606071935, -44.207172133156099], [-71.329800788036195, -44.407521661151677], [-71.222778896759721, -44.784242852559409], [-71.659315558545316, -44.973688653341434], [-71.552009446891233, -45.560732924177117], [-71.917258470330196, -46.884838148791786], [-72.44735531278026, -47.738532810253517], [-72.331160854771937, -48.244238376661819], [-72.648247443314929, -48.878618259476774], [-73.415435757120022, -49.318436374712952], [-73.328050910114456, -50.378785088909865], [-72.975746832964617, -50.741450290734299], [-72.309973517532342, -50.677009779666342], [-72.329403856074023, -51.425956312872394], [-71.914803839796321, -52.009022305865912], [-69.498362189396076, -52.142760912637236], [-68.571545376241332, -52.299443855346247], [-69.461284349226617, -52.291950772663924], [-69.94277950710611, -52.537930590373243], [-70.8451016913545, -52.899200528525711], [-71.006332160105217, -53.833252042201345], [-71.429794684520928, -53.856454760300373], [-72.557942877884855, -53.531410001184447], [-73.702756720662862, -52.835069268607249], [-73.702756720662862, -52.835070076051487], [-74.946763475225154, -52.262753588419017], [-75.260026007778507, -51.62935475037321], [-74.976632453089806, -51.043395684615675], [-75.47975419788348, -50.378371677451547], [-75.608015102831942, -48.673772881871784], [-75.182769741502128, -47.711919447623153], [-74.126580980104677, -46.939253431995084], [-75.644395311165439, -46.647643324572016], [-74.69215369332305, -45.76397633238097], [-74.351709357384252, -44.10304412208788], [-73.240356004515192, -44.454960625995611], [-72.717803921179765, -42.383355808278985], [-73.388899909138232, -42.117532240569567], [-73.701335618774834, -43.365776462579738], [-74.33194312203257, -43.224958184584395], [-74.017957119427152, -41.794812920906828], [-73.677099372029943, -39.942212823243111], [-73.217592536090663, -39.258688653318508], [-73.505559455037044, -38.282882582351064], [-73.588060879191076, -37.156284681956016], [-73.166717088499283, -37.123780206044351], [-72.553136969681717, -35.508840020491022], [-71.861732143832555, -33.909092706031522], [-71.438450486929895, -32.418899428030819], [-71.668720669222424, -30.920644626592516], [-71.370082567007714, -30.095682061484997], [-71.48989437527645, -28.861442152625909], [-70.905123867461569, -27.640379734001193], [-70.724953986275963, -25.705924167587209], [-70.403965827095035, -23.628996677344542], [-70.091245897080668, -21.393319187101223], [-70.164419725205974, -19.756468194256183], [-70.372572394477714, -18.347975355708879], [-69.858443569605797, -18.092693780187027], [-69.590423753523979, -17.580011895419286], [-69.100246955019401, -18.260125420812653], [-68.966818406841824, -18.981683444904089], [-68.442225104430918, -19.405068454671419], [-68.757167121033703, -20.37265797290447], [-68.219913092711224, -21.49434661223183]]]] } }, - { "type": "Feature", "properties": { "admin": "China", "name": "China", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[110.339187860151526, 18.678395087147603], [109.475209588663702, 18.19770091396861], [108.655207961056135, 18.507681993071397], [108.626217482540426, 19.367887885001974], [109.119055617308007, 19.821038519769385], [110.211598748822837, 20.101253973872073], [110.786550734502228, 20.077534491450077], [111.01005130416462, 19.695929877190732], [110.570646600386794, 19.255879218009305], [110.339187860151526, 18.678395087147603]]], [[[127.657407261262378, 49.760270494172929], [129.397817824420429, 49.440600084015429], [130.58229332898236, 48.729687404976112], [130.987281528853828, 47.790132351261391], [132.506671991099495, 47.788969631534876], [133.373595819228001, 48.183441677434914], [135.026311476786702, 48.478229885443902], [134.500813836810607, 47.578439846377833], [134.112362095272601, 47.212467352886719], [133.76964399631288, 46.116926988299056], [133.097126906466428, 45.14406647397216], [131.883454217659562, 45.32116160743643], [131.025212030156069, 44.967953192721573], [131.288555129115537, 44.111519680348252], [131.144687941614848, 42.929989732426932], [130.633866408409801, 42.903014634770543], [130.640015903852429, 42.39500946712527], [129.994267205933227, 42.985386867843793], [129.596668735879462, 42.424981797854592], [128.05221520397231, 41.994284572917984], [128.208433058790717, 41.466771552082534], [127.343782993683021, 41.503151760415953], [126.869083286649854, 41.816569322266155], [126.18204511932943, 41.107336127276362], [125.079941847840587, 40.569823716792449], [124.265624627785314, 39.928493353834135], [122.86757042856101, 39.637787583976255], [122.131387974130917, 39.170451768544623], [121.054554478032856, 38.89747101496291], [121.585994907722466, 39.360853583324136], [121.376757033372641, 39.750261338859524], [122.168595005381007, 40.422442531896046], [121.640358514493528, 40.946389878903304], [120.768628778161954, 40.593388169917596], [119.639602085449056, 39.898055935214209], [119.023463983233015, 39.252333075511096], [118.042748651197897, 39.204273993479674], [117.532702264477052, 38.73763580988409], [118.05969852098967, 38.061475531561051], [118.878149855628351, 37.897325344385898], [118.911636183753501, 37.448463853498723], [119.702802362142037, 37.156388658185072], [120.823457472823648, 37.870427761377968], [121.711258579597938, 37.481123358707165], [122.357937453298462, 37.454484157860684], [122.519994744965814, 36.930614325501828], [121.104163853033029, 36.651329047180432], [120.63700890511457, 36.111439520811125], [119.66456180224607, 35.609790554337728], [119.151208123858567, 34.909859117160458], [120.227524855633717, 34.360331936168613], [120.620369093916565, 33.37672272392512], [121.229014113450219, 32.460318711877186], [121.908145786630044, 31.692174384074683], [121.891919386890336, 30.949351508095098], [121.264257440273298, 30.676267401648712], [121.503519321784722, 30.14291494396425], [122.092113885589086, 29.832520453403156], [121.93842817595305, 29.018022365834803], [121.684438511238469, 28.225512600206677], [121.125661248866436, 28.135673122667178], [120.395473260582307, 27.053206895449385], [119.585496860839555, 25.740780544532605], [118.656871372554519, 24.547390855400234], [117.281606479970833, 23.624501451099714], [115.890735304835118, 22.782873236578094], [114.763827345846209, 22.668074042241663], [114.152546828265656, 22.223760077396204], [113.806779819800752, 22.548339748621423], [113.241077915501592, 22.051367499270462], [111.843592157032447, 21.550493679281512], [110.78546552942413, 21.39714386645533], [110.444039341271662, 20.34103261970639], [109.88986128137357, 20.282457383703441], [109.627655063924635, 21.008227037026725], [109.864488153118316, 21.395050970947516], [108.522812941524421, 21.715212307211821], [108.050180291782979, 21.552379869060101], [107.043420037872636, 21.8118989120299], [106.567273390735352, 22.21820486092474], [106.725403273548466, 22.794267889898375], [105.811247186305209, 22.976892401617899], [105.329209425886631, 23.352063300056976], [104.476858351664475, 22.819150092046918], [103.504514601660503, 22.703756618739217], [102.706992222100155, 22.708795070887696], [102.170435825613552, 22.464753119389336], [101.652017856861576, 22.318198757409554], [101.803119744882906, 21.174366766845051], [101.27002566936001, 21.201651923095167], [101.180005324307558, 21.436572984294052], [101.150032993578236, 21.849984442629015], [100.416537713627349, 21.558839423096654], [99.983489211021549, 21.742936713136451], [99.240898878987196, 22.118314317304559], [99.53199222208741, 22.949038804612591], [98.898749220782804, 23.142722072842581], [98.66026248575578, 24.063286037690002], [97.604719679762027, 23.897404690033049], [97.724609002679131, 25.083637193293036], [98.671838006589212, 25.91870250091349], [98.712093947344556, 26.743535874940243], [98.682690057370507, 27.508812160750658], [98.246230910233351, 27.747221381129172], [97.91198774616943, 28.335945136014367], [97.327113885490007, 28.261582749946339], [96.248833449287829, 28.411030992134467], [96.586590610747521, 28.830979519154361], [96.117678664131006, 29.452802028922513], [95.404802280664626, 29.031716620392157], [94.565990431702929, 29.27743805593996], [93.413347609432662, 28.640629380807233], [92.503118931043616, 27.896876329046442], [91.696656528696693, 27.771741848251615], [91.258853794319876, 28.040614325466343], [90.730513950567797, 28.064953925075738], [90.015828891971182, 28.296438503527177], [89.475810174521158, 28.042758897406365], [88.814248488320573, 27.299315904239389], [88.730325962278528, 28.086864732367552], [88.120440708369941, 27.876541652939572], [86.954517043000635, 27.974261786403524], [85.823319940131526, 28.203575954698742], [85.011638218123053, 28.642773952747369], [84.23457970575015, 28.839893703724691], [83.89899295444674, 29.320226141877633], [83.337115106137176, 29.463731594352193], [82.327512648450877, 30.115268052688204], [81.525804477874786, 30.422716986608659], [81.111256138029276, 30.183480943313402], [79.721366815107118, 30.882714748654728], [78.738894484374001, 31.515906073527045], [78.458446486326025, 32.61816437431272], [79.176128777995544, 32.483779812137747], [79.208891636068543, 32.994394639613738], [78.811086460285722, 33.506198025032397], [78.912268914713209, 34.321936346975768], [77.83745079947461, 35.494009507787794], [76.192848341785705, 35.89840342868785], [75.896897414050173, 36.666806138651872], [75.158027785140987, 37.133030910789152], [74.980002475895404, 37.419990139305888], [74.829985792952144, 37.990007025701445], [74.864815708316783, 38.378846340481587], [74.25751427602269, 38.606506862943476], [73.928852166646394, 38.505815334622717], [73.675379266254836, 39.431236884105566], [73.960013055318427, 39.660008449861714], [73.822243686828315, 39.893973497063136], [74.776862420556043, 40.366425279291619], [75.467827996730719, 40.56207225194867], [76.526368035797432, 40.427946071935132], [76.90448449087711, 41.066485907549648], [78.187196893226044, 41.185315863604799], [78.543660923175253, 41.582242540038713], [80.119430373051401, 42.12394074153822], [80.259990268885318, 42.34999929459908], [80.180150180994374, 42.920067857426844], [80.866206496101213, 43.180362046881008], [79.966106398441426, 44.917516994804622], [81.947070753918084, 45.317027492853143], [82.458925815769035, 45.539649563166499], [83.180483839860543, 47.330031236350735], [85.164290399113213, 47.000955715516099], [85.720483839870667, 47.452969468773077], [85.76823286330837, 48.455750637396896], [86.59877648310335, 48.549181626980605], [87.359970330762692, 49.214980780629148], [87.751264276076668, 49.297197984405464], [88.013832228551678, 48.599462795600594], [88.854297723346747, 48.069081732773007], [90.280825636763893, 47.693549099307901], [90.970809360724957, 46.88814606382293], [90.585768263718307, 45.719716091487491], [90.945539585334316, 45.286073309910243], [92.133890822318222, 45.115075995456429], [93.480733677141316, 44.97547211362], [94.688928664125356, 44.352331854828456], [95.306875441471504, 44.241330878265458], [95.762454868556688, 43.319449164394619], [96.349395786527808, 42.725635280928643], [97.451757440177971, 42.74888967546007], [99.515817498779995, 42.524691473961688], [100.845865513108279, 42.663804429691417], [101.833040399179936, 42.51487295182627], [103.312278273534787, 41.907468166667613], [104.522281935649005, 41.90834666601662], [104.964993931093431, 41.597409572916334], [106.129315627061658, 42.134327704428891], [107.744772576937976, 42.481515814781908], [109.243595819131428, 42.519446316084149], [110.412103306115299, 42.871233628911014], [111.129682244920218, 43.406834011400171], [111.82958784388137, 43.743118394539486], [111.667737257943202, 44.073175767587706], [111.348376906379428, 44.457441718110047], [111.87330610560025, 45.102079372735112], [112.436062453258842, 45.01164561622425], [113.463906691544196, 44.808893134127111], [114.46033165899604, 45.339816799493875], [115.985096470200133, 45.727235012386004], [116.717868280098855, 46.38820241961524], [117.421701287914246, 46.67273285581421], [118.874325799638711, 46.805412095723646], [119.663269891438745, 46.692679958678944], [119.772823927897562, 47.048058783550132], [118.866574334794947, 47.747060044946195], [118.064142694166719, 48.06673045510373], [117.295507440257438, 47.697709052107385], [116.308952671373234, 47.853410142602812], [115.742837355615734, 47.726544501326273], [115.485282017073018, 48.135382595403442], [116.191802199367601, 49.134598090199056], [116.67880089728618, 49.888531399121398], [117.879244419426371, 49.510983384796944], [119.288460728025839, 50.142882798862033], [119.279365675942358, 50.582907619827282], [120.182049595216924, 51.64356639261802], [120.738191359541972, 51.964115302124547], [120.725789015791975, 52.516226304730814], [120.177088657716865, 52.753886216841195], [121.003084751470226, 53.251401068731226], [122.245747918792858, 53.431725979213681], [123.571506789240843, 53.458804429734627], [125.068211297710434, 53.161044826868832], [125.946348911646169, 52.792798570356936], [126.564399041856959, 51.784255479532689], [126.939156528837657, 51.353894151405896], [127.287455682484904, 50.739797268265434], [127.657407261262378, 49.760270494172929]]]] } }, - { "type": "Feature", "properties": { "admin": "Ivory Coast", "name": "Cte d'Ivoire", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-2.856125047202397, 4.994475816259508], [-3.311084357100071, 4.984295559098014], [-4.008819545904941, 5.179813340674314], [-4.64991736491791, 5.168263658057084], [-5.834496222344525, 4.993700669775135], [-6.528769090185845, 4.705087795425015], [-7.518941209330434, 4.338288479017307], [-7.712159389669749, 4.364565944837721], [-7.63536821128403, 5.188159084489455], [-7.53971513511176, 5.313345241716517], [-7.570152553731686, 5.707352199725903], [-7.993692592795879, 6.126189683451541], [-8.311347622094017, 6.193033148621081], [-8.602880214868618, 6.467564195171659], [-8.385451626000572, 6.911800645368742], [-8.485445522485348, 7.395207831243068], [-8.439298468448696, 7.686042792181736], [-8.280703497744936, 7.687179673692156], [-8.221792364932197, 8.123328762235571], [-8.299048631208562, 8.316443589710302], [-8.203498907900878, 8.455453192575446], [-7.832100389019186, 8.575704250518625], [-8.079113735374348, 9.376223863152033], [-8.309616461612249, 9.789531968622439], [-8.22933712404682, 10.129020290563897], [-8.029943610048617, 10.206534939001711], [-7.89958980959237, 10.297382106970824], [-7.622759161804808, 10.147236232946792], [-6.850506557635057, 10.138993841996237], [-6.666460944027547, 10.430810655148447], [-6.493965013037267, 10.411302801958268], [-6.205222947606429, 10.524060777219132], [-6.050452032892266, 10.096360785355442], [-5.816926235365286, 10.222554633012191], [-5.404341599946973, 10.370736802609144], [-4.954653286143098, 10.152713934769732], [-4.779883592131966, 9.821984768101741], [-4.330246954760383, 9.610834865757139], [-3.980449184576684, 9.862344061721698], [-3.511898972986272, 9.900326239456216], [-2.827496303712706, 9.642460842319775], [-2.56218950032624, 8.219627793811481], [-2.983584967450326, 7.379704901555511], [-3.244370083011261, 6.2504715031135], [-2.810701463217839, 5.389051215024109], [-2.856125047202397, 4.994475816259508]]] } }, - { "type": "Feature", "properties": { "admin": "Cameroon", "name": "Cameroon", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[13.07582238124675, 2.267097072759014], [12.951333855855605, 2.321615708826939], [12.359380323952218, 2.19281220133945], [11.751665480199787, 2.326757513839993], [11.276449008843711, 2.261050930180871], [9.649158155972627, 2.283866075037735], [9.795195753629455, 3.073404445809117], [9.404366896205998, 3.734526882335202], [8.948115675501068, 3.904128933117135], [8.744923943729416, 4.352215277519959], [8.488815545290889, 4.495617377129917], [8.500287713259693, 4.771982937026847], [8.757532993208626, 5.47966583904791], [9.233162876023043, 6.444490668153334], [9.522705926154398, 6.453482367372116], [10.118276808318255, 7.038769639509879], [10.497375115611417, 7.055357774275562], [11.058787876030349, 6.644426784690593], [11.745774366918509, 6.981382961449753], [11.839308709366801, 7.397042344589434], [12.063946160539556, 7.799808457872301], [12.218872104550597, 8.305824082874322], [12.753671502339214, 8.717762762888993], [12.955467970438971, 9.417771714714702], [13.1675997249971, 9.64062632897341], [13.308676385153914, 10.160362046748926], [13.572949659894558, 10.798565985553564], [14.415378859116682, 11.572368882692071], [14.468192172918974, 11.90475169519341], [14.57717776862253, 12.085360826053501], [14.181336297266792, 12.483656927943112], [14.213530714584634, 12.802035427293344], [14.495787387762842, 12.859396267137326], [14.893385857816522, 12.219047756392582], [14.960151808337598, 11.555574042197222], [14.923564894274955, 10.891325181517471], [15.467872755605269, 9.982336737503429], [14.909353875394713, 9.99212942142273], [14.627200555081057, 9.920919297724536], [14.171466098699025, 10.021378282099928], [13.954218377344002, 9.549494940626685], [14.544466586981766, 8.965861314322266], [14.979995558337688, 8.796104234243471], [15.120865512765331, 8.382150173369423], [15.436091749745765, 7.692812404811971], [15.279460483469107, 7.421924546737968], [14.776545444404572, 6.408498033062044], [14.536560092841111, 6.22695872642069], [14.459407179429345, 5.451760565610299], [14.558935988023501, 5.03059764243153], [14.478372430080466, 4.732605495620446], [14.950953403389658, 4.21038930909492], [15.036219516671249, 3.851367295747123], [15.405395948964379, 3.335300604664339], [15.862732374747479, 3.013537298998982], [15.907380812247649, 2.557389431158612], [16.01285241055535, 2.267639675298084], [15.940918816805061, 1.727672634280295], [15.14634199388524, 1.964014797367184], [14.337812534246577, 2.22787466064949], [13.07582238124675, 2.267097072759014]]] } }, - { "type": "Feature", "properties": { "admin": "Democratic Republic of the Congo", "name": "Dem. Rep. Congo", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[30.833859897593801, 3.50916596111034], [30.773346795380036, 2.339883327642127], [31.174149204235807, 2.204465236821263], [30.852670118948048, 1.849396470543809], [30.468507521290292, 1.58380544677972], [30.086153598762703, 1.062312730306288], [29.875778842902488, 0.597379868976304], [29.819503208136634, -0.205310153813372], [29.587837762172164, -0.58740569417948], [29.579466180140876, -1.341313164885626], [29.29188683443661, -1.620055840667987], [29.254834832483336, -2.215109958508911], [29.117478875451546, -2.292211195488384], [29.02492638521678, -2.839257907730157], [29.276383904749046, -3.293907159034063], [29.339997592900342, -4.499983412294092], [29.519986606572925, -5.419978936386313], [29.41999271008816, -5.939998874539432], [29.620032179490003, -6.520015150583424], [30.199996779101692, -7.079980970898161], [30.740015496551781, -8.340007419470913], [30.34608605319081, -8.238256524288216], [29.002912225060467, -8.40703175215347], [28.734866570762495, -8.526559340044576], [28.449871046672818, -9.164918308146083], [28.673681674928922, -9.605924981324931], [28.496069777141763, -10.789883721564044], [28.372253045370421, -11.793646742401389], [28.642417433392346, -11.971568698782312], [29.341547885869087, -12.36074391037241], [29.616001417771223, -12.178894545137307], [29.699613885219485, -13.257226657771827], [28.934285922976834, -13.248958428605132], [28.52356163912102, -12.698604424696679], [28.15510867687998, -12.272480564017894], [27.38879886242378, -12.132747491100663], [27.164419793412456, -11.608748467661071], [26.55308759939961, -11.924439792532125], [25.752309604604726, -11.784965101776356], [25.418118116973197, -11.330935967659958], [24.783169793402948, -11.238693536018962], [24.314516228947948, -11.262826429899269], [24.257155389103982, -10.951992689663655], [23.912215203555714, -10.926826267137512], [23.456790805767433, -10.867863457892481], [22.837345411884733, -11.017621758674329], [22.402798292742371, -10.99307545333569], [22.155268182064304, -11.084801120653768], [22.208753289486388, -9.894796237836507], [21.87518191904234, -9.523707777548564], [21.801801385187897, -8.908706556842978], [21.949130893652036, -8.305900974158275], [21.746455926203303, -7.920084730667147], [21.728110792739695, -7.2908724910813], [20.514748162526498, -7.299605808138629], [20.601822950938292, -6.93931772219968], [20.091621534920645, -6.943090101756993], [20.037723016040214, -7.116361179231644], [19.417502475673157, -7.155428562044297], [19.166613396896107, -7.738183688999753], [19.016751743249664, -7.988245944860132], [18.464175652752683, -7.847014255406442], [18.134221632569048, -7.98767750410492], [17.472970004962232, -8.068551120641699], [17.089995965247166, -7.545688978712525], [16.860190870845198, -7.222297865429984], [16.573179965896141, -6.622644545115087], [16.326528354567042, -5.877470391466267], [13.375597364971892, -5.864241224799548], [13.02486941900696, -5.984388929878157], [12.735171339578695, -5.965682061388497], [12.322431674863507, -6.100092461779658], [12.182336866920249, -5.789930515163837], [12.436688266660866, -5.684303887559245], [12.468004184629734, -5.248361504745003], [12.631611769265788, -4.991271254092935], [12.995517205465173, -4.781103203961883], [13.258240187237044, -4.882957452009165], [13.600234816144676, -4.500138441590969], [14.144956088933295, -4.510008640158715], [14.209034864975219, -4.793092136253597], [14.582603794013179, -4.970238946150139], [15.170991652088441, -4.3435071753143], [15.753540073314749, -3.855164890156096], [16.006289503654298, -3.535132744972528], [15.972803175529149, -2.712392266453612], [16.407091912510051, -1.740927015798682], [16.86530683764212, -1.225816338713287], [17.523716261472853, -0.743830254726987], [17.638644646889983, -0.424831638189246], [17.663552687254676, -0.058083998213817], [17.826540154703245, 0.288923244626105], [17.774191928791563, 0.855658677571085], [17.89883548347958, 1.741831976728278], [18.09427575040743, 2.365721543788055], [18.39379235197114, 2.90044342692822], [18.453065219809925, 3.504385891123348], [18.542982211997778, 4.201785183118317], [18.932312452884755, 4.709506130385973], [19.467783644293146, 5.031527818212779], [20.290679152108932, 4.691677761245287], [20.927591180106273, 4.322785549329736], [21.659122755630019, 4.224341945813719], [22.405123732195531, 4.02916006104732], [22.704123569436284, 4.633050848810156], [22.841479526468103, 4.710126247573483], [23.297213982850135, 4.609693101414221], [24.41053104014625, 5.108784084489129], [24.805028924262409, 4.897246608902349], [25.128833449003274, 4.927244777847789], [25.278798455514302, 5.170408229997191], [25.650455356557465, 5.256087754737123], [26.402760857862535, 5.150874538590869], [27.044065382604703, 5.127852688004835], [27.374226108517483, 5.233944403500059], [27.979977247842807, 4.408413397637373], [28.428993768026906, 4.287154649264493], [28.696677687298795, 4.455077215996936], [29.159078403446497, 4.38926727947323], [29.715995314256013, 4.600804755060024], [29.953500197069467, 4.173699042167683], [30.833859897593801, 3.50916596111034]]] } }, - { "type": "Feature", "properties": { "admin": "Republic of Congo", "name": "Congo", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[12.995517205465173, -4.781103203961883], [12.620759718484491, -4.438023369976135], [12.318607618873923, -4.606230157086187], [11.914963006242086, -5.037986748884789], [11.093772820691923, -3.978826592630546], [11.855121697648114, -3.42687061932105], [11.478038771214299, -2.765618991714241], [11.820963575903189, -2.514161472181982], [12.495702752338159, -2.391688327650242], [12.575284458067639, -1.948511244315134], [13.109618767965626, -2.428740329603513], [13.992407260807706, -2.470804945489099], [14.299210239324564, -1.998275648612213], [14.425455763413593, -1.333406670744971], [14.316418491277741, -0.552627455247048], [13.843320753645653, 0.038757635901149], [14.276265903386953, 1.196929836426619], [14.026668735417214, 1.395677395021153], [13.282631463278816, 1.31418366129688], [13.003113641012074, 1.830896307783319], [13.07582238124675, 2.267097072759014], [14.337812534246577, 2.22787466064949], [15.14634199388524, 1.964014797367184], [15.940918816805061, 1.727672634280295], [16.01285241055535, 2.267639675298084], [16.537058139724135, 3.198254706226278], [17.133042433346297, 3.728196519379451], [17.809900343505259, 3.560196437998569], [18.453065219809925, 3.504385891123348], [18.39379235197114, 2.90044342692822], [18.09427575040743, 2.365721543788055], [17.89883548347958, 1.741831976728278], [17.774191928791563, 0.855658677571085], [17.826540154703245, 0.288923244626105], [17.663552687254676, -0.058083998213817], [17.638644646889983, -0.424831638189246], [17.523716261472853, -0.743830254726987], [16.86530683764212, -1.225816338713287], [16.407091912510051, -1.740927015798682], [15.972803175529149, -2.712392266453612], [16.006289503654298, -3.535132744972528], [15.753540073314749, -3.855164890156096], [15.170991652088441, -4.3435071753143], [14.582603794013179, -4.970238946150139], [14.209034864975219, -4.793092136253597], [14.144956088933295, -4.510008640158715], [13.600234816144676, -4.500138441590969], [13.258240187237044, -4.882957452009165], [12.995517205465173, -4.781103203961883]]] } }, - { "type": "Feature", "properties": { "admin": "Colombia", "name": "Colombia", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-75.373223232713841, -0.15203175212045], [-75.801465827116587, 0.084801337073202], [-76.292314419240938, 0.416047268064119], [-76.576379767549383, 0.256935533037435], [-77.424984300430367, 0.395686753741117], [-77.668612840470416, 0.825893052570961], [-77.855061408179509, 0.809925034992773], [-78.855258755188686, 1.380923773601822], [-78.990935228171026, 1.691369940595251], [-78.617831387023699, 1.766404120283056], [-78.662118089497838, 2.267355454920476], [-78.427610439757302, 2.629555568854215], [-77.931542527971473, 2.696605739752925], [-77.510431281224996, 3.325016994638246], [-77.127689785455246, 3.849636135265356], [-77.496271938776999, 4.087606105969427], [-77.307601284479375, 4.667984117039452], [-77.533220587865713, 5.582811997902496], [-77.318815070286718, 5.845354112161359], [-77.476660732722266, 6.691116441266301], [-77.881571417945239, 7.223771267114783], [-77.75341386586139, 7.709839789252141], [-77.431107957656977, 7.638061224798733], [-77.242566494440069, 7.935278225125442], [-77.474722866511314, 8.524286200388216], [-77.353360765273848, 8.670504665558068], [-76.836673957003541, 8.638749497914715], [-76.086383836557843, 9.336820583529486], [-75.674600185840035, 9.443248195834597], [-75.664704149056149, 9.774003200718736], [-75.480425991503338, 10.618990383339305], [-74.906895107711975, 11.08304474532032], [-74.276752692344871, 11.102035834187586], [-74.197222663047683, 11.310472723836865], [-73.414763963500278, 11.227015285685479], [-72.62783525255962, 11.731971543825519], [-72.238194953078903, 11.955549628136325], [-71.754090135368628, 12.437303168177305], [-71.399822353791691, 12.376040757695289], [-71.137461107045866, 12.112981879113503], [-71.331583624950284, 11.776284084515805], [-71.973921678338272, 11.608671576377116], [-72.227575446242923, 11.108702093953237], [-72.614657762325194, 10.821975409381777], [-72.905286017534692, 10.45034434655477], [-73.027604132769554, 9.736770331252441], [-73.304951544880026, 9.151999823437604], [-72.788729824500379, 9.085027167187331], [-72.660494757768092, 8.62528778730268], [-72.439862230097944, 8.405275376820027], [-72.360900641555958, 8.002638454617893], [-72.479678921178831, 7.632506008327352], [-72.444487270788059, 7.42378489830048], [-72.19835242378187, 7.340430813013682], [-71.960175747348629, 6.991614895043538], [-70.674233567981503, 7.087784735538717], [-70.093312954372408, 6.960376491723109], [-69.389479946557103, 6.099860541198835], [-68.985318569602327, 6.206804917826856], [-68.265052456318216, 6.153268133972473], [-67.695087246355001, 6.267318020040645], [-67.34143958196556, 6.095468044454021], [-67.521531948502741, 5.556870428891968], [-67.744696621355203, 5.221128648291667], [-67.823012254493534, 4.503937282728898], [-67.621835903581271, 3.839481716319994], [-67.33756384954367, 3.542342230641721], [-67.303173183853417, 3.31845408773718], [-67.809938117123693, 2.820655015469569], [-67.447092047786299, 2.600280869960869], [-67.181294318293041, 2.250638129074062], [-66.876325853122566, 1.253360500489336], [-67.065048183852483, 1.130112209473225], [-67.25999752467358, 1.719998684084956], [-67.537810024674684, 2.037162787276329], [-67.868565029558823, 1.692455145673392], [-69.816973232691609, 1.714805202639624], [-69.804596727157701, 1.089081122233466], [-69.218637661400166, 0.985676581217433], [-69.252434048119042, 0.602650865070075], [-69.452396002872447, 0.706158758950693], [-70.015565761989293, 0.541414292804205], [-70.02065589057004, -0.185156345219539], [-69.577065395776586, -0.549991957200163], [-69.420485805932216, -1.122618503426409], [-69.444101935489599, -1.556287123219817], [-69.893635219996611, -4.298186944194326], [-70.394043952094975, -3.766591485207825], [-70.692682054309699, -3.742872002785858], [-70.047708502874841, -2.725156345229699], [-70.813475714791949, -2.256864515800742], [-71.413645799429773, -2.342802422702128], [-71.774760708285385, -2.169789727388937], [-72.325786505813639, -2.434218031426453], [-73.070392218707212, -2.308954359550952], [-73.659503546834586, -1.260491224781134], [-74.122395189089048, -1.002832533373848], [-74.441600511355958, -0.530820000819887], [-75.106624518520064, -0.05720549886486], [-75.373223232713841, -0.15203175212045]]] } }, - { "type": "Feature", "properties": { "admin": "Costa Rica", "name": "Costa Rica", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-82.965783047197348, 8.225027980985983], [-83.508437262694287, 8.446926581247281], [-83.711473965169063, 8.656836249216864], [-83.596313035806631, 8.830443223501417], [-83.632641567707822, 9.051385809765319], [-83.909885626953724, 9.290802720573579], [-84.303401658856345, 9.487354030795712], [-84.64764421256865, 9.615537421095707], [-84.713350796227743, 9.908051866083849], [-84.975660366541319, 10.086723130733004], [-84.911374884770211, 9.795991522658921], [-85.110923428065291, 9.557039699741308], [-85.339488288092255, 9.834542141148658], [-85.660786505866966, 9.93334747969072], [-85.797444831062819, 10.134885565629032], [-85.791708747078417, 10.439337266476612], [-85.65931372754666, 10.754330959511718], [-85.941725430021748, 10.895278428587799], [-85.712540452807289, 11.088444932494822], [-85.561851976244171, 11.217119248901593], [-84.903003302738924, 10.952303371621895], [-84.673069017256239, 11.082657172078139], [-84.355930752281026, 10.999225572142901], [-84.190178595704822, 10.793450018756671], [-83.895054490885926, 10.726839097532444], [-83.655611741861563, 10.938764146361418], [-83.402319708982944, 10.39543813724465], [-83.015676642575158, 9.992982082555553], [-82.546196255203469, 9.566134751824674], [-82.932890998043561, 9.476812038608172], [-82.927154914059145, 9.074330145702914], [-82.719183112300513, 8.925708726431493], [-82.868657192704759, 8.807266343618521], [-82.829770677405151, 8.626295477732368], [-82.9131764391242, 8.423517157419068], [-82.965783047197348, 8.225027980985983]]] } }, - { "type": "Feature", "properties": { "admin": "Cuba", "name": "Cuba", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-82.268151211257035, 23.188610744717703], [-81.404457160146819, 23.117271429938775], [-80.61876868358118, 23.105980129482994], [-79.679523688460222, 22.765303249598823], [-79.281485968732071, 22.399201565027049], [-78.347434455056472, 22.512166246017085], [-77.993295864560253, 22.277193508385928], [-77.146422492161037, 21.657851467367831], [-76.523824835908528, 21.20681956632437], [-76.194620123993175, 21.220565497314006], [-75.598222418912655, 21.01662445727413], [-75.671060350228032, 20.735091254147999], [-74.933896043584483, 20.693905137611381], [-74.178024868451246, 20.284627793859737], [-74.296648118777242, 20.050378526280678], [-74.961594611292924, 19.923435370355687], [-75.634680141894577, 19.873774318923193], [-76.323656175425981, 19.952890936762056], [-77.755480923153044, 19.855480861891873], [-77.085108405246729, 20.413353786698789], [-77.492654588516601, 20.673105373613886], [-78.137292243141573, 20.739948838783427], [-78.482826707661161, 21.028613389565848], [-78.719866502583997, 21.598113511638431], [-79.284999966127913, 21.559175319906497], [-80.217475348618635, 21.827324327069032], [-80.517534552721401, 22.037078965741756], [-81.820943366203167, 22.192056586185068], [-82.169991828118611, 22.387109279870746], [-81.79500179719264, 22.636964830001951], [-82.775897996740838, 22.688150336187057], [-83.494458787759328, 22.168517971276124], [-83.908800421875611, 22.154565334557329], [-84.052150845053248, 21.910575059491251], [-84.547030198896351, 21.801227728761639], [-84.974911058273079, 21.896028143801082], [-84.44706214062775, 22.204949856041903], [-84.23035702181177, 22.56575470630376], [-83.778239915690165, 22.78811839445569], [-83.267547573565736, 22.983041897060641], [-82.510436164057495, 23.078746649665181], [-82.268151211257035, 23.188610744717703]]] } }, - { "type": "Feature", "properties": { "admin": "Northern Cyprus", "name": "N. Cyprus", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[32.731780226377445, 35.14002594658843], [32.802473585752743, 35.145503648411363], [32.946960890440799, 35.38670339613369], [33.667227003724939, 35.373215847305509], [34.576473829900458, 35.671595567358786], [33.900804477684197, 35.245755927057608], [33.973616570783456, 35.058506374647997], [33.866439650210104, 35.093594672174177], [33.675391880027057, 35.017862860650446], [33.525685255677494, 35.038688462864066], [33.475817498515845, 35.000344550103499], [33.45592207208346, 35.101423651666401], [33.383833449036295, 35.162711900364563], [33.190977003723042, 35.173124701471373], [32.919572381326127, 35.087832749973636], [32.731780226377445, 35.14002594658843]]] } }, - { "type": "Feature", "properties": { "admin": "Cyprus", "name": "Cyprus", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[33.973616570783456, 35.058506374647997], [34.004880812320032, 34.978097846001852], [32.97982710137844, 34.571869411755436], [32.490296258277532, 34.701654771456468], [32.256667107885953, 35.103232326796622], [32.731780226377445, 35.14002594658843], [32.919572381326127, 35.087832749973636], [33.190977003723042, 35.173124701471373], [33.383833449036295, 35.162711900364563], [33.45592207208346, 35.101423651666401], [33.475817498515845, 35.000344550103499], [33.525685255677494, 35.038688462864066], [33.675391880027057, 35.017862860650446], [33.866439650210104, 35.093594672174177], [33.973616570783456, 35.058506374647997]]] } }, - { "type": "Feature", "properties": { "admin": "Czech Republic", "name": "Czech Rep.", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[16.960288120194573, 48.596982326850593], [16.49928266771877, 48.785808010445095], [16.029647251050218, 48.733899034207916], [15.253415561593979, 49.039074205107575], [14.901447381254055, 48.964401760445817], [14.33889773932472, 48.555305284207193], [13.595945672264433, 48.877171942737135], [13.031328973043427, 49.307068182973232], [12.52102420416119, 49.54741526956272], [12.415190870827441, 49.96912079528056], [12.240111118222556, 50.266337795607271], [12.96683678554319, 50.484076443069071], [13.338131951560282, 50.733234361364346], [14.05622765468817, 50.926917629594286], [14.307013380600633, 51.117267767941399], [14.570718214586062, 51.002339382524262], [15.016995883858666, 51.106674099321566], [15.490972120839725, 50.7847299261432], [16.238626743238566, 50.697732652379827], [16.176253289462263, 50.4226073268579], [16.719475945714429, 50.215746568393527], [16.868769158605655, 50.473973700556016], [17.554567091551117, 50.36214590107641], [17.649445021238986, 50.049038397819942], [18.392913852622168, 49.988628648470737], [18.85314415861361, 49.496229763377634], [18.554971144289478, 49.495015367218777], [18.399993523846174, 49.315000515330034], [18.170498488037961, 49.271514797556421], [18.104972771891848, 49.043983466175298], [17.913511590250462, 48.996492824899072], [17.886484816161808, 48.903475246773695], [17.545006951577101, 48.800019029325362], [17.101984897538895, 48.8169688991171], [16.960288120194573, 48.596982326850593]]] } }, - { "type": "Feature", "properties": { "admin": "Germany", "name": "Germany", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[9.92190636560923, 54.983104153048025], [9.939579705452898, 54.596641954153242], [10.950112338920517, 54.363607082733147], [10.939466993868447, 54.008693345752583], [11.95625247564328, 54.196485500701144], [12.518440382546711, 54.470370591847988], [13.647467075259495, 54.075510972705885], [14.119686313542555, 53.757029120491026], [14.353315463934164, 53.248171291713092], [14.074521111719431, 52.981262518925334], [14.437599725002197, 52.62485016540829], [14.685026482815713, 52.089947414755208], [14.607098422919645, 51.745188096719964], [15.016995883858781, 51.106674099321701], [14.570718214586119, 51.002339382524369], [14.307013380600662, 51.117267767941364], [14.05622765468831, 50.92691762959435], [13.338131951560397, 50.733234361364268], [12.966836785543249, 50.484076443069164], [12.240111118222668, 50.266337795607214], [12.41519087082747, 49.969120795280602], [12.521024204161332, 49.547415269562741], [13.031328973043513, 49.307068182973232], [13.595945672264575, 48.877171942737156], [13.243357374737112, 48.416114813829026], [12.884102817443873, 48.289145819687846], [13.025851271220514, 47.637583523135945], [12.93262698736606, 47.467645575543983], [12.620759718484519, 47.672387600284409], [12.141357456112869, 47.703083401065768], [11.426414015354847, 47.523766181013045], [10.544504021861597, 47.566399237653783], [10.402083774465321, 47.302487697939164], [9.896068149463188, 47.58019684507569], [9.594226108446376, 47.525058091820185], [8.522611932009793, 47.830827541691342], [8.317301466514092, 47.613579820336263], [7.466759067422286, 47.620581976911907], [7.59367638513106, 48.333019110703724], [8.099278598674855, 49.017783515003423], [6.658229607783709, 49.201958319691627], [6.186320428094176, 49.4638028021145], [6.242751092156992, 49.90222565367872], [6.043073357781109, 50.128051662794221], [6.156658155958779, 50.803721015010574], [5.988658074577812, 51.85161570902504], [6.589396599970825, 51.85202912048338], [6.842869500362381, 52.228440253297542], [7.092053256873895, 53.14404328064488], [6.905139601274128, 53.482162177130633], [7.100424838905268, 53.693932196662658], [7.936239454793961, 53.748295803433777], [8.121706170289483, 53.527792466844275], [8.800734490604667, 54.02078563090889], [8.572117954145368, 54.395646470754045], [8.526229282270206, 54.962743638725144], [9.282048780971136, 54.830865383516297], [9.92190636560923, 54.983104153048025]]] } }, - { "type": "Feature", "properties": { "admin": "Djibouti", "name": "Djibouti", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[43.081226027200152, 12.699638576707112], [43.317852410664663, 12.390148423711022], [43.286381463398911, 11.974928290245883], [42.715873650896519, 11.735640570518338], [43.145304803242126, 11.462039699748853], [42.776851841000948, 10.926878566934416], [42.55493000000012, 11.105110000000193], [42.314140000000116, 11.0342], [41.755570000000191, 11.05091], [41.739590000000177, 11.355110000000137], [41.661760000000122, 11.6312], [42.000000000000107, 12.100000000000133], [42.351560000000106, 12.54223000000013], [42.779642368344739, 12.455415757695672], [43.081226027200152, 12.699638576707112]]] } }, - { "type": "Feature", "properties": { "admin": "Denmark", "name": "Denmark", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[12.690006137755629, 55.60999095318077], [12.089991082414738, 54.800014553437919], [11.043543328504226, 55.36486379660424], [10.90391360845163, 55.779954738988735], [12.370904168353288, 56.111407375708822], [12.690006137755629, 55.60999095318077]]], [[[10.912181837618359, 56.4586213242779], [10.667803989309986, 56.081383368547208], [10.369992710011983, 56.190007229224719], [9.649984978889306, 55.469999498102041], [9.921906365609173, 54.983104153048046], [9.282048780971136, 54.830865383516155], [8.526229282270235, 54.962743638724973], [8.120310906617588, 55.517722683323612], [8.089976840862247, 56.540011705137587], [8.256581658571262, 56.809969387430286], [8.543437534223385, 57.110002753316891], [9.424469028367609, 57.172066148499468], [9.775558709358561, 57.447940782289649], [10.580005730846151, 57.730016587954843], [10.54610599126269, 57.21573273378614], [10.250000034230222, 56.890016181050456], [10.369992710011983, 56.60998159446082], [10.912181837618359, 56.4586213242779]]]] } }, - { "type": "Feature", "properties": { "admin": "Dominican Republic", "name": "Dominican Rep.", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-71.71236141629295, 19.714455878167353], [-71.587304450146604, 19.884910590082093], [-70.806706102161726, 19.880285549391981], [-70.214364997016119, 19.622885240146157], [-69.950815192327568, 19.647999986240002], [-69.769250047470067, 19.293267116772437], [-69.222125820579862, 19.313214219637096], [-69.254346076113819, 19.015196234609871], [-68.809411994080818, 18.979074408437846], [-68.317943284768958, 18.612197577381689], [-68.689315965434503, 18.205142320218609], [-69.164945848248905, 18.422648423735108], [-69.623987596297624, 18.380712998930246], [-69.952933926051529, 18.428306993071057], [-70.133232998317879, 18.245915025296892], [-70.517137213814195, 18.184290879788829], [-70.669298468697619, 18.42688589118303], [-70.999950120717173, 18.283328762276206], [-71.400209927033885, 17.598564357976596], [-71.657661912712001, 17.757572740138695], [-71.708304816358037, 18.044997056546091], [-71.687737596305865, 18.316660061104468], [-71.945112067335543, 18.616900132720257], [-71.701302659782485, 18.785416978424049], [-71.624873216422813, 19.169837958243303], [-71.71236141629295, 19.714455878167353]]] } }, - { "type": "Feature", "properties": { "admin": "Algeria", "name": "Algeria", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[11.99950564947161, 23.471668402596443], [8.572893100629782, 21.565660712159136], [5.677565952180684, 19.601206976799713], [4.267419467800038, 19.155265204336995], [3.158133172222704, 19.057364203360034], [3.146661004253899, 19.693578599521441], [2.683588494486428, 19.856230170160114], [2.060990838233919, 20.142233384679482], [1.823227573259032, 20.61080943448604], [-1.550054897457613, 22.792665920497377], [-4.92333736817423, 24.974574082940993], [-8.684399786809051, 27.395744126895998], [-8.66512447756419, 27.58947907155822], [-8.665589565454805, 27.656425889592349], [-8.674116176782972, 28.841288967396572], [-7.059227667661928, 29.579228420524522], [-6.060632290053772, 29.731699734001687], [-5.242129278982786, 30.000443020135581], [-4.859646165374469, 30.501187649043839], [-3.690441046554695, 30.896951605751152], [-3.647497931320145, 31.637294012980668], [-3.068980271812647, 31.724497992473207], [-2.616604783529567, 32.094346218386143], [-1.30789913573787, 32.262888902306095], [-1.124551153966308, 32.651521511357124], [-1.388049282222567, 32.864015000941301], [-1.733454555661467, 33.91971283623198], [-1.792985805661686, 34.527918606091198], [-2.169913702798624, 35.168396307916673], [-1.208602871089056, 35.71484874118709], [-0.127454392894606, 35.888662421200799], [0.503876580415209, 36.301272894835272], [1.466918572606545, 36.605647081034398], [3.161698846050824, 36.783904934225205], [4.815758090849129, 36.865036932923452], [5.320120070017792, 36.716518866516616], [6.261819695672611, 37.110655015606731], [7.330384962603969, 37.118380642234364], [7.737078484741003, 36.885707505840209], [8.420964389691674, 36.946427313783154], [8.217824334352313, 36.433176988260271], [8.376367628623766, 35.479876003555937], [8.140981479534302, 34.655145982393783], [7.524481642292242, 34.097376410451453], [7.612641635782181, 33.344114895148955], [8.430472853233367, 32.748337307255944], [8.439102817426116, 32.506284898400814], [9.055602654668148, 32.102691962201284], [9.482139926805273, 30.307556057246181], [9.805634392952411, 29.424638373323383], [9.859997999723443, 28.959989732371007], [9.683884718472765, 28.144173895779193], [9.756128370816779, 27.688258571884141], [9.629056023811073, 27.140953477480913], [9.716285841519747, 26.512206325785691], [9.319410841518161, 26.094324856057447], [9.910692579801774, 25.365454616796733], [9.948261346077969, 24.93695364023251], [10.30384687667836, 24.37931325937091], [10.771363559622925, 24.562532050061744], [11.560669386449002, 24.097909247325511], [11.99950564947161, 23.471668402596443]]] } }, - { "type": "Feature", "properties": { "admin": "Ecuador", "name": "Ecuador", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-80.302560594387188, -3.404856459164712], [-79.770293341780913, -2.65751189535964], [-79.986559210922394, -2.220794366061014], [-80.368783942369234, -2.685158786635788], [-80.967765469064332, -2.246942640800703], [-80.764806281238023, -1.965047702648532], [-80.933659023751702, -1.057454522306358], [-80.583370327461239, -0.906662692878683], [-80.39932471385373, -0.283703301600141], [-80.020898200180355, 0.360340074053468], [-80.090609707342097, 0.768428859862396], [-79.542762010399784, 0.982937730305963], [-78.855258755188686, 1.380923773601822], [-77.855061408179509, 0.809925034992773], [-77.668612840470416, 0.825893052570961], [-77.424984300430367, 0.395686753741117], [-76.576379767549383, 0.256935533037435], [-76.292314419240938, 0.416047268064119], [-75.801465827116587, 0.084801337073202], [-75.373223232713841, -0.15203175212045], [-75.233722703741932, -0.911416924649529], [-75.544995693652027, -1.56160979574588], [-76.635394253226707, -2.608677666843817], [-77.83790483265858, -3.003020521663103], [-78.450683966775628, -3.873096612161375], [-78.639897223612323, -4.547784112164072], [-79.205289069317715, -4.959128513207388], [-79.62497921417615, -4.454198093283494], [-80.028908047185581, -4.346090996928893], [-80.442241990872134, -4.425724379090673], [-80.46929460317692, -4.059286797708999], [-80.184014858709645, -3.821161797708043], [-80.302560594387188, -3.404856459164712]]] } }, - { "type": "Feature", "properties": { "admin": "Egypt", "name": "Egypt", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[34.9226, 29.50133], [34.64174, 29.09942], [34.42655, 28.34399], [34.15451, 27.8233], [33.92136, 27.6487], [33.58811, 27.97136], [33.13676, 28.41765], [32.42323, 29.85108], [32.32046, 29.76043], [32.73482, 28.70523], [33.34876, 27.69989], [34.10455, 26.14227], [34.47387, 25.59856], [34.79507, 25.03375], [35.69241, 23.92671], [35.49372, 23.75237], [35.52598, 23.10244], [36.69069, 22.20485], [36.86623, 22.0], [32.9, 22.0], [29.02, 22.0], [25.0, 22.0], [25.0, 25.682499996360992], [25.0, 29.238654529533452], [24.70007, 30.04419], [24.95762, 30.6616], [24.80287, 31.08929], [25.16482, 31.56915], [26.49533, 31.58568], [27.45762, 31.32126], [28.45048, 31.02577], [28.91353, 30.87005], [29.68342, 31.18686], [30.09503, 31.4734], [30.97693, 31.55586], [31.68796, 31.4296], [31.96041, 30.9336], [32.19247, 31.26034], [32.99392, 31.02407], [33.7734, 30.96746], [34.26544, 31.21936], [34.9226, 29.50133]]] } }, - { "type": "Feature", "properties": { "admin": "Eritrea", "name": "Eritrea", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[42.351560000000106, 12.54223000000013], [42.00975, 12.86582], [41.59856, 13.452090000000108], [41.15519371924983, 13.773319810435224], [40.8966, 14.118640000000138], [40.026218702969167, 14.519579169162281], [39.34061, 14.53155], [39.0994, 14.74064], [38.51295, 14.50547], [37.90607, 14.959430000000165], [37.59377, 14.2131], [36.42951, 14.42211], [36.323188917798113, 14.822480577041057], [36.753860304518575, 16.291874091044289], [36.852530000000108, 16.95655], [37.16747, 17.263140000000128], [37.904000000000103, 17.42754], [38.410089959473218, 17.998307399970312], [38.990622999839999, 16.84062612555169], [39.266110060388016, 15.922723496967246], [39.814293654140208, 15.435647284400314], [41.179274936697645, 14.491079616753209], [41.734951613132345, 13.921036892141554], [42.276830682144848, 13.34399201095442], [42.589576450375255, 13.000421250861901], [43.081226027200152, 12.699638576707112], [42.779642368344739, 12.455415757695672], [42.351560000000106, 12.54223000000013]]] } }, - { "type": "Feature", "properties": { "admin": "Spain", "name": "Spain", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[-9.034817674180244, 41.880570583659669], [-8.98443315269567, 42.592775173506261], [-9.392883673530644, 43.026624660812686], [-7.978189663108308, 43.748337714200979], [-6.754491746436754, 43.567909450853918], [-5.411886359061596, 43.574239813809669], [-4.347842779955783, 43.403449205085025], [-3.51753170410609, 43.455900783861296], [-1.901351284177764, 43.422802028978332], [-1.502770961910528, 43.034014390630425], [0.338046909190581, 42.579546006839543], [0.701590610363894, 42.795734361332599], [1.826793247087153, 42.343384711265678], [2.985998976258457, 42.473015041669854], [3.039484083680548, 41.892120266276891], [2.091841668312184, 41.226088568683082], [0.810524529635188, 41.014731960609332], [0.721331007499401, 40.678318386389229], [0.106691521819869, 40.123933620762003], [-0.278711310212941, 39.309978135732713], [0.111290724293838, 38.738514309233032], [-0.467123582349103, 38.292365831041138], [-0.683389451490598, 37.642353827457811], [-1.438382127274849, 37.443063666324214], [-2.146452602538119, 36.674144192037282], [-3.415780808923386, 36.658899644511173], [-4.368900926114718, 36.677839056946141], [-4.995219285492211, 36.32470815687963], [-5.377159796561457, 35.946850083961458], [-5.866432257500902, 36.02981659600605], [-6.236693894872174, 36.367677110330327], [-6.520190802425402, 36.942913316387312], [-7.45372555177809, 37.097787583966053], [-7.537105475281022, 37.428904323876232], [-7.166507941099863, 37.803894354802217], [-7.029281175148794, 38.075764065089757], [-7.374092169616317, 38.373058580064914], [-7.098036668313126, 39.03007274022378], [-7.498632371439724, 39.629571031241802], [-7.066591559263527, 39.711891587882768], [-7.026413133156593, 40.184524237624238], [-6.864019944679383, 40.330871893874821], [-6.851126674822551, 41.111082668617513], [-6.389087693700914, 41.381815497394641], [-6.668605515967655, 41.883386949219577], [-7.251308966490822, 41.91834605566504], [-7.422512986673794, 41.792074693359822], [-8.01317460776991, 41.790886135417118], [-8.26385698081779, 42.280468654950326], [-8.671945766626719, 42.134689439454952], [-9.034817674180244, 41.880570583659669]]] } }, - { "type": "Feature", "properties": { "admin": "Estonia", "name": "Estonia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[24.312862583114615, 57.793423570376966], [24.428927850042154, 58.383413397853275], [24.061198357853179, 58.257374579493394], [23.426560092876681, 58.612753404364618], [23.339795363058641, 59.187240302153363], [24.604214308376182, 59.465853786855007], [25.864189080516631, 59.611090399811324], [26.949135776484518, 59.445803331125767], [27.981114129353237, 59.47538808861286], [28.131699253051742, 59.300825100330904], [27.420166456824941, 58.724581203844224], [27.716685825315714, 57.791899115624354], [27.288184848751509, 57.474528306703817], [26.46353234223778, 57.476388658266316], [25.602809685984365, 57.847528794986559], [25.164593540149262, 57.970156968815175], [24.312862583114615, 57.793423570376966]]] } }, - { "type": "Feature", "properties": { "admin": "Ethiopia", "name": "Ethiopia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[37.90607, 14.959430000000165], [38.51295, 14.50547], [39.0994, 14.74064], [39.34061, 14.53155], [40.026250000000111, 14.51959], [40.8966, 14.118640000000138], [41.1552, 13.77333], [41.59856, 13.452090000000108], [42.00975, 12.86582], [42.351560000000106, 12.54223000000013], [42.000000000000107, 12.100000000000133], [41.661760000000122, 11.6312], [41.739590000000177, 11.355110000000137], [41.755570000000191, 11.05091], [42.314140000000116, 11.0342], [42.55493000000012, 11.105110000000193], [42.776851841000948, 10.926878566934416], [42.55876, 10.572580000000126], [42.92812, 10.021940000000139], [43.29699, 9.540480000000169], [43.67875, 9.183580000000116], [46.94834, 7.99688], [47.78942, 8.003], [44.9636, 5.001620000000115], [43.66087, 4.95755], [42.769670000000119, 4.252590000000223], [42.12861, 4.234130000000163], [41.855083092644108, 3.918911920483764], [41.171800000000125, 3.91909], [40.768480000000118, 4.257020000000124], [39.854940000000106, 3.83879000000013], [39.559384258765917, 3.422060000000215], [38.89251, 3.50074], [38.67114, 3.61607], [38.436970000000137, 3.58851], [38.120915000000132, 3.598605], [36.85509323800823, 4.447864127672857], [36.159078632855646, 4.447864127672857], [35.817447662353622, 4.776965663462021], [35.817447662353622, 5.338232082790852], [35.298007118233095, 5.506], [34.70702, 6.59422000000012], [34.25032, 6.82607], [34.075100000000184, 7.22595], [33.56829, 7.71334], [32.954180000000228, 7.7849700000001], [33.294800000000116, 8.35458], [33.82550000000014, 8.37916], [33.97498, 8.684560000000145], [33.96162, 9.58358], [34.25745, 10.63009], [34.73115000000012, 10.910170000000106], [34.831630000000125, 11.318960000000116], [35.26049, 12.08286], [35.863630000000164, 12.57828], [36.27022, 13.563330000000118], [36.42951, 14.42211], [37.59377, 14.2131], [37.90607, 14.959430000000165]]] } }, - { "type": "Feature", "properties": { "admin": "Finland", "name": "Finland", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[28.591929559043187, 69.064776923286644], [28.445943637818651, 68.36461294216403], [29.9774263852206, 67.698297024192641], [29.054588657352319, 66.944286200621917], [30.21765, 65.80598], [29.544429559046982, 64.948671576590471], [30.444684686003704, 64.204453436939076], [30.035872430142714, 63.552813625738544], [31.516092156711117, 62.867687486412869], [31.139991082490891, 62.357692776124395], [30.211107212044443, 61.780027777749673], [28.06999759289527, 60.503516547275829], [26.25517296723697, 60.423960679762487], [24.496623976344516, 60.057316392651636], [22.869694858499454, 59.846373196036211], [22.290763787533589, 60.391921291741525], [21.322244093519313, 60.720169989659503], [21.544866163832687, 61.705329494871783], [21.059211053153682, 62.607393296958726], [21.536029493910799, 63.189735012455863], [22.442744174903986, 63.817810370531276], [24.730511508897528, 64.902343655040823], [25.398067661243939, 65.111426500093728], [25.2940430030404, 65.53434642197044], [23.903378533633795, 66.006927395279604], [23.565879754335576, 66.396050930437411], [23.539473097434435, 67.936008612735236], [21.978534783626113, 68.616845608180682], [20.645592889089521, 69.106247260200846], [21.244936150810666, 69.370443020293067], [22.356237827247405, 68.841741441514898], [23.662049594830751, 68.891247463650529], [24.735679152126721, 68.649556789821446], [25.689212680776361, 69.092113755969024], [26.179622023226241, 69.825298977326113], [27.732292107867856, 70.164193020296239], [29.015572950971968, 69.766491197377974], [28.591929559043187, 69.064776923286644]]] } }, - { "type": "Feature", "properties": { "admin": "Fiji", "name": "Fiji", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[178.3736, -17.33992], [178.71806, -17.62846], [178.55271, -18.15059], [177.93266, -18.28799], [177.38146, -18.16432], [177.28504, -17.72465], [177.67087, -17.38114], [178.12557, -17.50481], [178.3736, -17.33992]]], [[[179.364142661964223, -16.801354076946847], [178.725059362997058, -17.012041674368017], [178.596838595117021, -16.63915], [179.096609362997128, -16.43398427754742], [179.413509362997075, -16.379054277547393], [180.000000000000114, -16.067132663642436], [180.000000000000114, -16.555216566639157], [179.364142661964223, -16.801354076946847]]], [[[-179.917369384765237, -16.501783135649358], [-180.0, -16.555216566639157], [-180.0, -16.067132663642436], [-179.793320109048551, -16.020882256741228], [-179.917369384765237, -16.501783135649358]]]] } }, - { "type": "Feature", "properties": { "admin": "Falkland Islands", "name": "Falkland Is.", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-61.2, -51.85], [-60.0, -51.25], [-59.15, -51.5], [-58.55, -51.1], [-57.75, -51.55], [-58.05, -51.9], [-59.4, -52.2], [-59.85, -51.85], [-60.7, -52.3], [-61.2, -51.85]]] } }, - { "type": "Feature", "properties": { "admin": "France", "name": "France", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-52.556424730018378, 2.504705308437053], [-52.939657151894963, 2.124857692875622], [-53.41846513529525, 2.053389187016037], [-53.554839240113481, 2.334896551925964], [-53.778520677288881, 2.376702785650053], [-54.088062506717264, 2.105556545414629], [-54.524754197799737, 2.311848863123785], [-54.271229620975781, 2.738747870286942], [-54.184284023644743, 3.194172268075234], [-54.011503872276812, 3.622569891774857], [-54.3995422023565, 4.212611395683481], [-54.478632981979203, 4.896755682795642], [-53.958044603070917, 5.756548163267808], [-53.618452928264837, 5.646529038918401], [-52.882141282754063, 5.409850979021598], [-51.823342861525916, 4.565768133966144], [-51.657797410678874, 4.156232408053028], [-52.249337531123977, 3.241094468596287], [-52.556424730018378, 2.504705308437053]]], [[[9.560016310269132, 42.152491970379558], [9.229752231491771, 41.380006822264441], [8.77572309737536, 41.583611965494427], [8.544212680707828, 42.256516628583078], [8.746009148807586, 42.628121853193946], [9.390000848028901, 43.009984849614725], [9.560016310269132, 42.152491970379558]]], [[[3.588184441755714, 50.378992418003563], [4.28602298342514, 49.90749664977254], [4.799221632515752, 49.985373033236314], [5.674051954784885, 49.529483547557433], [5.897759230176375, 49.442667141307155], [6.186320428094204, 49.463802802114444], [6.658229607783538, 49.201958319691549], [8.09927859867477, 49.017783515003366], [7.59367638513106, 48.333019110703724], [7.466759067422228, 47.620581976911851], [7.192202182655533, 47.449765529970982], [6.736571079138086, 47.541801255882874], [6.768713820023634, 47.287708238303672], [6.037388950228971, 46.725778713561894], [6.022609490593566, 46.272989813820502], [6.500099724970453, 46.429672756529428], [6.84359297041456, 45.991146552100659], [6.80235517744566, 45.708579820328673], [7.096652459347835, 45.333098863295859], [6.749955275101711, 45.028517971367584], [7.007562290076661, 44.254766750661382], [7.549596388386161, 44.127901109384808], [7.435184767291841, 43.693844916349164], [6.529245232783068, 43.12889232031835], [4.556962517931395, 43.399650987311581], [3.100410597352719, 43.075200507167118], [2.985998976258486, 42.473015041669882], [1.826793247087181, 42.343384711265649], [0.701590610363922, 42.795734361332642], [0.338046909190581, 42.57954600683955], [-1.502770961910471, 43.034014390630482], [-1.901351284177735, 43.422802028978332], [-1.384225226232956, 44.022610378590166], [-1.193797573237361, 46.014917710954862], [-2.225724249673788, 47.064362697938201], [-2.963276129559573, 47.570326646507958], [-4.491554938159481, 47.95495433205641], [-4.592349819344746, 48.68416046812694], [-3.295813971357745, 48.901692409859628], [-1.616510789384932, 48.644421291694577], [-1.933494025063254, 49.776341864615759], [-0.98946895995536, 49.347375800160869], [1.338761020522753, 50.127173163445256], [1.6390010921385, 50.9466063502975], [2.51357303224617, 51.14850617126185], [2.65842207196033, 50.796848049515646], [3.123251580425716, 50.780363267614504], [3.588184441755714, 50.378992418003563]]]] } }, - { "type": "Feature", "properties": { "admin": "Gabon", "name": "Gabon", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[11.093772820691923, -3.978826592630546], [10.066135288135738, -2.969482517105681], [9.405245395554969, -2.144313246269042], [8.797995639693168, -1.111301364754496], [8.830086704146423, -0.779073581550037], [9.048419630579586, -0.459351494960217], [9.291350538783687, 0.268666083167687], [9.492888624721981, 1.010119533691494], [9.83028405115564, 1.067893784993799], [11.285078973036461, 1.057661851400013], [11.276449008843711, 2.261050930180871], [11.751665480199787, 2.326757513839993], [12.359380323952218, 2.19281220133945], [12.951333855855605, 2.321615708826939], [13.07582238124675, 2.267097072759014], [13.003113641012074, 1.830896307783319], [13.282631463278816, 1.31418366129688], [14.026668735417214, 1.395677395021153], [14.276265903386953, 1.196929836426619], [13.843320753645653, 0.038757635901149], [14.316418491277741, -0.552627455247048], [14.425455763413593, -1.333406670744971], [14.299210239324564, -1.998275648612213], [13.992407260807706, -2.470804945489099], [13.109618767965626, -2.428740329603513], [12.575284458067639, -1.948511244315134], [12.495702752338159, -2.391688327650242], [11.820963575903189, -2.514161472181982], [11.478038771214299, -2.765618991714241], [11.855121697648114, -3.42687061932105], [11.093772820691923, -3.978826592630546]]] } }, - { "type": "Feature", "properties": { "admin": "United Kingdom", "name": "United Kingdom", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-5.661948614921896, 54.554603176483838], [-6.197884894220976, 53.867565009163329], [-6.953730231137994, 54.073702297575622], [-7.572167934591078, 54.059956366585979], [-7.366030646178785, 54.595840969452688], [-7.572167934591078, 55.131622219454883], [-6.733847011736144, 55.172860012423783], [-5.661948614921896, 54.554603176483838]]], [[[-3.00500484863528, 58.635000108466322], [-4.073828497728015, 57.55302480735525], [-3.055001796877661, 57.690019029360933], [-1.959280564776918, 57.684799709699512], [-2.219988165689301, 56.870017401753515], [-3.119003058271118, 55.97379303651546], [-2.085009324543023, 55.909998480851264], [-2.005675679673856, 55.804902850350217], [-1.11499101399221, 54.624986477265388], [-0.4304849918542, 54.464376125702145], [0.184981316742039, 53.325014146531018], [0.469976840831777, 52.929999498091959], [1.681530795914739, 52.739520168663987], [1.559987827164377, 52.099998480836], [1.050561557630914, 51.806760565795678], [1.4498653499503, 51.289427802121949], [0.550333693045502, 50.765738837275862], [-0.787517462558639, 50.774988918656206], [-2.489997524414377, 50.500018622431227], [-2.956273972984035, 50.696879991247002], [-3.617448085942327, 50.228355617872708], [-4.542507900399243, 50.341837063185658], [-5.245023159191134, 49.959999904981082], [-5.776566941745299, 50.159677639356815], [-4.309989793301837, 51.210001125689146], [-3.414850633142122, 51.426008612669236], [-3.422719467108322, 51.426848167406078], [-4.984367234710873, 51.593466091510962], [-5.267295701508885, 51.991400458374571], [-4.222346564134852, 52.30135569926135], [-4.770013393564112, 52.840004991255611], [-4.579999152026914, 53.495003770555165], [-3.093830673788658, 53.404547400669671], [-3.092079637047106, 53.404440822963544], [-2.945008510744343, 53.98499970154667], [-3.614700825433033, 54.60093677329256], [-3.63000545898933, 54.615012925833], [-4.844169073903003, 54.790971177786837], [-5.082526617849224, 55.061600653699358], [-4.719112107756643, 55.508472601943467], [-5.047980922862108, 55.783985500707516], [-5.586397670911139, 55.311146145236805], [-5.64499874513018, 56.275014960344791], [-6.149980841486352, 56.785009670633528], [-5.78682471355529, 57.818848375064633], [-5.009998745127574, 58.630013332750039], [-4.211494513353555, 58.550845038479153], [-3.00500484863528, 58.635000108466322]]]] } }, - { "type": "Feature", "properties": { "admin": "Georgia", "name": "Georgia", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[41.55408410011065, 41.535656236327561], [41.703170607272703, 41.962942816732912], [41.453470086438379, 42.645123399417926], [40.875469191253785, 43.013628038091277], [40.321394484220313, 43.128633938156831], [39.955008579270917, 43.434997666999216], [40.07696495947976, 43.553104153002309], [40.922184686045618, 43.38215851498078], [42.394394565608806, 43.220307929042619], [43.756016880067378, 42.74082815202248], [43.931199985536828, 42.554973863284758], [44.537622918481979, 42.71199270280362], [45.470279168485703, 42.502780666669963], [45.776410353382758, 42.09244395605635], [46.404950799348818, 41.860675157227298], [46.145431756379004, 41.722802435872573], [46.637908156120574, 41.181672675128219], [46.501637404166921, 41.064444688474104], [45.962600538930381, 41.123872585609767], [45.217426385281577, 41.411451931314041], [44.972480096218071, 41.248128567055588], [43.582745802592726, 41.09214325618256], [42.619548781104484, 41.583172715819934], [41.55408410011065, 41.535656236327561]]] } }, - { "type": "Feature", "properties": { "admin": "Ghana", "name": "Ghana", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[1.060121697604927, 5.928837388528875], [-0.507637905265938, 5.343472601742675], [-1.063624640294193, 5.000547797053811], [-1.964706590167594, 4.71046214438337], [-2.856125047202397, 4.994475816259508], [-2.810701463217839, 5.389051215024109], [-3.244370083011261, 6.2504715031135], [-2.983584967450326, 7.379704901555511], [-2.56218950032624, 8.219627793811481], [-2.827496303712706, 9.642460842319775], [-2.963896246747111, 10.395334784380081], [-2.94040930827046, 10.962690334512557], [-1.203357713211431, 11.009819240762736], [-0.761575893548183, 10.936929633015053], [-0.438701544588582, 11.09834096927872], [0.023802524423701, 11.018681748900802], [-0.049784715159944, 10.706917832883928], [0.367579990245389, 10.191212876827176], [0.365900506195885, 9.46500397382948], [0.461191847342121, 8.677222601756013], [0.712029249686878, 8.312464504423827], [0.490957472342245, 7.411744289576474], [0.570384148774849, 6.914358628767188], [0.836931186536333, 6.279978745952147], [1.060121697604927, 5.928837388528875]]] } }, - { "type": "Feature", "properties": { "admin": "Guinea", "name": "Guinea", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-8.439298468448696, 7.686042792181736], [-8.722123582382123, 7.711674302598509], [-8.926064622422002, 7.309037380396375], [-9.208786383490844, 7.313920803247952], [-9.403348151069748, 7.526905218938906], [-9.33727983238458, 7.928534450711351], [-9.755342169625832, 8.541055202666923], [-10.016566534861253, 8.42850393313523], [-10.230093553091276, 8.406205552601291], [-10.505477260774667, 8.348896389189603], [-10.494315151399629, 8.715540676300433], [-10.65477047366589, 8.977178452994194], [-10.622395188835037, 9.267910061068276], [-10.839151984083299, 9.688246161330367], [-11.117481248407328, 10.045872911006283], [-11.917277390988655, 10.046983954300556], [-12.150338100625003, 9.858571682164378], [-12.425928514037562, 9.835834051955953], [-12.596719122762206, 9.620188300001969], [-12.711957566773076, 9.342711696810765], [-13.246550258832512, 8.903048610871506], [-13.685153977909788, 9.494743760613458], [-14.074044969122278, 9.886166897008248], [-14.330075852912367, 10.015719712763966], [-14.579698859098254, 10.214467271358513], [-14.693231980843501, 10.65630076745404], [-14.83955379887794, 10.876571560098139], [-15.130311245168167, 11.040411688679525], [-14.685687221728896, 11.527823798056485], [-14.382191534878727, 11.509271958863691], [-14.121406419317776, 11.677117010947693], [-13.900799729863772, 11.678718980348744], [-13.743160773157411, 11.811269029177408], [-13.828271857142122, 12.142644151249041], [-13.718743658899511, 12.247185573775507], [-13.700476040084322, 12.586182969610192], [-13.217818162478235, 12.575873521367964], [-12.499050665730561, 12.332089952031053], [-12.278599005573438, 12.354440008997285], [-12.20356482588563, 12.465647691289401], [-11.658300950557928, 12.386582749882834], [-11.513942836950587, 12.442987575729415], [-11.456168585648269, 12.076834214725336], [-11.297573614944508, 12.077971096235768], [-11.036555955438256, 12.211244615116513], [-10.870829637078211, 12.177887478072106], [-10.593223842806278, 11.923975328005977], [-10.165213792348835, 11.844083563682743], [-9.890992804392011, 12.060478623904968], [-9.567911749703212, 12.194243068892472], [-9.327616339546008, 12.334286200403451], [-9.127473517279581, 12.308060411015331], [-8.905264858424529, 12.088358059126433], [-8.786099005559462, 11.812560939984705], [-8.376304897484911, 11.393645941610627], [-8.581305304386772, 11.136245632364801], [-8.620321010767126, 10.810890814655181], [-8.407310756860026, 10.90925690352276], [-8.282357143578279, 10.792597357623842], [-8.335377163109738, 10.494811916541932], [-8.029943610048617, 10.206534939001711], [-8.22933712404682, 10.129020290563897], [-8.309616461612249, 9.789531968622439], [-8.079113735374348, 9.376223863152033], [-7.832100389019186, 8.575704250518625], [-8.203498907900878, 8.455453192575446], [-8.299048631208562, 8.316443589710302], [-8.221792364932197, 8.123328762235571], [-8.280703497744936, 7.687179673692156], [-8.439298468448696, 7.686042792181736]]] } }, - { "type": "Feature", "properties": { "admin": "Gambia", "name": "Gambia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-16.84152462408127, 13.151393947802557], [-16.713728807023468, 13.594958604379853], [-15.624596320039936, 13.623587347869556], [-15.398770310924457, 13.860368760630916], [-15.081735398813816, 13.876491807505982], [-14.687030808968483, 13.63035696049978], [-14.376713833055785, 13.625680243377371], [-14.046992356817478, 13.794067898000446], [-13.844963344772404, 13.505041612191999], [-14.277701788784553, 13.28058502853224], [-14.712197231494626, 13.298206691943774], [-15.141163295949463, 13.509511623585235], [-15.511812506562931, 13.278569647672864], [-15.691000535534991, 13.270353094938455], [-15.931295945692208, 13.130284125211331], [-16.84152462408127, 13.151393947802557]]] } }, - { "type": "Feature", "properties": { "admin": "Guinea Bissau", "name": "Guinea-Bissau", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-15.130311245168167, 11.040411688679525], [-15.664180467175523, 11.458474025920792], [-16.085214199273562, 11.524594021038236], [-16.314786749730199, 11.806514797406548], [-16.308947312881227, 11.958701890506116], [-16.613838263403277, 12.170911159712698], [-16.67745195155457, 12.38485158940105], [-16.147716844130581, 12.547761542201185], [-15.816574266004251, 12.515567124883345], [-15.548476935274005, 12.628170070847343], [-13.700476040084322, 12.586182969610192], [-13.718743658899511, 12.247185573775507], [-13.828271857142122, 12.142644151249041], [-13.743160773157411, 11.811269029177408], [-13.900799729863772, 11.678718980348744], [-14.121406419317776, 11.677117010947693], [-14.382191534878727, 11.509271958863691], [-14.685687221728896, 11.527823798056485], [-15.130311245168167, 11.040411688679525]]] } }, - { "type": "Feature", "properties": { "admin": "Equatorial Guinea", "name": "Eq. Guinea", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[9.492888624721981, 1.010119533691494], [9.305613234096255, 1.160911363119183], [9.649158155972627, 2.283866075037735], [11.276449008843711, 2.261050930180871], [11.285078973036461, 1.057661851400013], [9.83028405115564, 1.067893784993799], [9.492888624721981, 1.010119533691494]]] } }, - { "type": "Feature", "properties": { "admin": "Greece", "name": "Greece", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[23.699980096133, 35.705004380835526], [24.246665073348673, 35.368022365860149], [25.025015496528873, 35.424995632461979], [25.769207797964182, 35.354018052709073], [25.745023227651579, 35.179997666966209], [26.290002882601719, 35.299990342747911], [26.164997592887651, 35.004995429009789], [24.724982130642299, 34.919987697889603], [24.735007358506941, 35.084990546197581], [23.514978468528106, 35.27999156345097], [23.699980096133, 35.705004380835526]]], [[[26.604195590936282, 41.562114569661098], [26.294602085075777, 40.936261298174244], [26.056942172965499, 40.824123440100827], [25.44767703624418, 40.852545477861455], [24.925848422960932, 40.947061672523226], [23.714811232200809, 40.687129218095116], [24.407998894964063, 40.124992987624083], [23.89996788910258, 39.962005520175573], [23.342999301860797, 39.960997829745786], [22.813987664488959, 40.476005153966547], [22.626298862404777, 40.256561184239175], [22.849747755634805, 39.659310818025759], [23.350027296652595, 39.190011298167256], [22.97309939951554, 38.97090322524965], [23.53001631032495, 38.51000112563846], [24.025024855248937, 38.219992987616443], [24.040011020613601, 37.655014553369419], [23.115002882589145, 37.920011298162215], [23.409971958111065, 37.409990749657389], [22.77497195810863, 37.305010077456551], [23.154225294698612, 36.422505804992042], [22.4900281104511, 36.410000108377446], [21.670026482843692, 36.84498647719419], [21.295010613701574, 37.644989325504689], [21.120034213961329, 38.31032339126272], [20.730032179454579, 38.769985256498778], [20.217712029712853, 39.340234686839629], [20.150015903410516, 39.624997666984022], [20.615000441172779, 40.110006822259422], [20.67499677906363, 40.434999904943048], [20.999989861747274, 40.580003973953964], [21.020040317476422, 40.842726955725873], [21.674160597426969, 40.931274522457976], [22.055377638444266, 41.149865831052686], [22.597308383889008, 41.130487168943198], [22.76177, 41.3048], [22.952377150166562, 41.337993882811212], [23.692073601992455, 41.309080918943849], [24.492644891058031, 41.583896185872035], [25.19720136892553, 41.234485988930651], [26.106138136507177, 41.328898830727823], [26.11704186372091, 41.826904608724725], [26.604195590936282, 41.562114569661098]]]] } }, - { "type": "Feature", "properties": { "admin": "Greenland", "name": "Greenland", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-46.76379, 82.62796], [-43.40644, 83.22516], [-39.89753, 83.18018], [-38.62214, 83.54905], [-35.08787, 83.64513], [-27.10046, 83.51966], [-20.84539, 82.72669], [-22.69182, 82.34165], [-26.51753, 82.29765], [-31.9, 82.2], [-31.39646, 82.02154], [-27.85666, 82.13178], [-24.84448, 81.78697], [-22.90328, 82.09317], [-22.07175, 81.73449], [-23.16961, 81.15271], [-20.62363, 81.52462], [-15.76818, 81.91245], [-12.77018, 81.71885], [-12.20855, 81.29154], [-16.28533, 80.58004], [-16.85, 80.35], [-20.04624, 80.17708], [-17.73035, 80.12912], [-18.9, 79.4], [-19.70499, 78.75128], [-19.67353, 77.63859], [-18.47285, 76.98565], [-20.03503, 76.94434], [-21.67944, 76.62795], [-19.83407, 76.09808], [-19.59896, 75.24838], [-20.66818, 75.15585], [-19.37281, 74.29561], [-21.59422, 74.22382], [-20.43454, 73.81713], [-20.76234, 73.46436], [-22.17221, 73.30955], [-23.56593, 73.30663], [-22.31311, 72.62928], [-22.29954, 72.18409], [-24.27834, 72.59788], [-24.79296, 72.3302], [-23.44296, 72.08016], [-22.13281, 71.46898], [-21.75356, 70.66369], [-23.53603, 70.471], [-24.30702, 70.85649], [-25.54341, 71.43094], [-25.20135, 70.75226], [-26.36276, 70.22646], [-23.72742, 70.18401], [-22.34902, 70.12946], [-25.02927, 69.2588], [-27.74737, 68.47046], [-30.67371, 68.12503], [-31.77665, 68.12078], [-32.81105, 67.73547], [-34.20196, 66.67974], [-36.35284, 65.9789], [-37.04378, 65.93768], [-38.37505, 65.69213], [-39.81222, 65.45848], [-40.66899, 64.83997], [-40.68281, 64.13902], [-41.1887, 63.48246], [-42.81938, 62.68233], [-42.41666, 61.90093], [-42.86619, 61.07404], [-43.3784, 60.09772], [-44.7875, 60.03676], [-46.26364, 60.85328], [-48.26294, 60.85843], [-49.23308, 61.40681], [-49.90039, 62.38336], [-51.63325, 63.62691], [-52.14014, 64.27842], [-52.27659, 65.1767], [-53.66166, 66.09957], [-53.30161, 66.8365], [-53.96911, 67.18899], [-52.9804, 68.35759], [-51.47536, 68.72958], [-51.08041, 69.14781], [-50.87122, 69.9291], [-52.013585, 69.574925], [-52.55792, 69.42616], [-53.45629, 69.283625], [-54.68336, 69.61003], [-54.75001, 70.28932], [-54.35884, 70.821315], [-53.431315, 70.835755], [-51.39014, 70.56978], [-53.10937, 71.20485], [-54.00422, 71.54719], [-55.0, 71.406536967272558], [-55.83468, 71.65444], [-54.71819, 72.58625], [-55.32634, 72.95861], [-56.12003, 73.64977], [-57.32363, 74.71026], [-58.59679, 75.09861], [-58.58516, 75.51727], [-61.26861, 76.10238], [-63.39165, 76.1752], [-66.06427, 76.13486], [-68.50438, 76.06141], [-69.66485, 76.37975], [-71.40257, 77.00857], [-68.77671, 77.32312], [-66.76397, 77.37595], [-71.04293, 77.63595], [-73.297, 78.04419], [-73.15938, 78.43271], [-69.37345, 78.91388], [-65.7107, 79.39436], [-65.3239, 79.75814], [-68.02298, 80.11721], [-67.15129, 80.51582], [-63.68925, 81.21396], [-62.23444, 81.3211], [-62.65116, 81.77042], [-60.28249, 82.03363], [-57.20744, 82.19074], [-54.13442, 82.19962], [-53.04328, 81.88833], [-50.39061, 82.43883], [-48.00386, 82.06481], [-46.59984, 81.985945], [-44.523, 81.6607], [-46.9007, 82.19979], [-46.76379, 82.62796]]] } }, - { "type": "Feature", "properties": { "admin": "Guatemala", "name": "Guatemala", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-90.095554572290951, 13.73533763270073], [-90.608624030300817, 13.909771429901948], [-91.232410244496037, 13.927832342987953], [-91.689746670279106, 14.126218166556452], [-92.227750006869812, 14.538828640190925], [-92.203229539747298, 14.830102850804066], [-92.087215949252041, 15.064584662328436], [-92.229248623406249, 15.251446641495857], [-91.747960171255912, 16.066564846251719], [-90.464472622422647, 16.069562079324651], [-90.438866950222021, 16.410109768128091], [-90.600846727240906, 16.470777899638758], [-90.711821865587694, 16.687483018454724], [-91.081670091500641, 16.918476670799404], [-91.453921271515128, 17.252177232324168], [-91.002269253284197, 17.254657701074176], [-91.001519945015943, 17.817594916245707], [-90.067933519230948, 17.819326076727474], [-89.143080410503302, 17.808318996649316], [-89.15080603713092, 17.015576687075832], [-89.229121670269265, 15.886937567605166], [-88.930612759135244, 15.887273464415072], [-88.604586147805833, 15.706380113177358], [-88.518364020526846, 15.855389105690971], [-88.22502275262201, 15.727722479713901], [-88.680679694355618, 15.346247056535301], [-89.15481096063354, 15.066419175674806], [-89.225220099631244, 14.874286200413618], [-89.145535041037149, 14.67801911056908], [-89.353325975282772, 14.424132798719112], [-89.587342698916544, 14.362586167859485], [-89.5342193265205, 14.244815578666302], [-89.7219339668207, 14.134228013561694], [-90.064677903996568, 13.881969509328924], [-90.095554572290951, 13.73533763270073]]] } }, - { "type": "Feature", "properties": { "admin": "Guyana", "name": "Guyana", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-59.758284878159181, 8.367034816924045], [-59.10168412945864, 7.99920197187049], [-58.482962205628041, 7.347691351750696], [-58.454876064677414, 6.832787380394463], [-58.078103196837361, 6.809093736188641], [-57.542218593970631, 6.321268215353355], [-57.147436489476874, 5.973149929219161], [-57.307245856339492, 5.073566595882225], [-57.914288906472123, 4.812626451024413], [-57.860209520078691, 4.576801052260449], [-58.044694383360664, 4.060863552258382], [-57.601568976457848, 3.334654649260684], [-57.281433478409703, 3.333491929534119], [-57.150097825739898, 2.768926906745406], [-56.53938574891454, 1.89952260986692], [-56.782704230360814, 1.863710842288653], [-57.33582292339689, 1.948537705895759], [-57.660971035377358, 1.682584947105638], [-58.113449876525003, 1.507195135907025], [-58.429477098205957, 1.46394196207872], [-58.540012986878288, 1.26808828369252], [-59.030861579002639, 1.317697658692722], [-59.646043667221242, 1.786893825686789], [-59.718545701726732, 2.249630438644359], [-59.974524909084543, 2.755232652188055], [-59.815413174057852, 3.606498521332085], [-59.538039923731219, 3.958802598481937], [-59.767405768458701, 4.423502915866606], [-60.111002366767373, 4.574966538914082], [-59.980958624904865, 5.014061184098138], [-60.213683437731319, 5.2444863956876], [-60.733574184803707, 5.2002772078619], [-61.410302903881941, 5.959068101419616], [-61.139415045807937, 6.234296779806142], [-61.159336310456467, 6.696077378766317], [-60.543999192940966, 6.856584377464881], [-60.295668097562377, 7.043911444522918], [-60.637972785063752, 7.414999904810853], [-60.550587938058186, 7.779602972846178], [-59.758284878159181, 8.367034816924045]]] } }, - { "type": "Feature", "properties": { "admin": "Honduras", "name": "Honduras", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-87.316654425795463, 12.984685777229], [-87.48940873894712, 13.29753489832393], [-87.793111131526501, 13.384480495655165], [-87.723502977229288, 13.785050360565602], [-87.859515347021599, 13.893312486217097], [-88.065342576840109, 13.964625962779788], [-88.503997972349609, 13.845485948130939], [-88.541230841815931, 13.98015473068352], [-88.843072882832743, 14.140506700085208], [-89.058511929057644, 14.340029405164213], [-89.353325975282786, 14.424132798719084], [-89.145535041037164, 14.678019110569149], [-89.22522009963123, 14.874286200413675], [-89.154810960633526, 15.066419175674863], [-88.680679694355575, 15.346247056535386], [-88.225022752621925, 15.727722479714027], [-88.121153123715359, 15.688655096901355], [-87.901812506852394, 15.864458319558194], [-87.615680101252309, 15.878798529519198], [-87.522920905288444, 15.797278957578779], [-87.367762417332116, 15.846940009011286], [-86.903191291028165, 15.756712958229565], [-86.440945604177372, 15.782835394753189], [-86.119233974944322, 15.893448798073958], [-86.00195431185783, 16.005405788634388], [-85.68331743034625, 15.953651841693949], [-85.444003872402547, 15.885749009662444], [-85.182443610357183, 15.909158433490628], [-84.98372188997881, 15.995923163308698], [-84.526979743167118, 15.857223619037423], [-84.36825558138257, 15.835157782448729], [-84.063054572266807, 15.648244126849132], [-83.773976610026111, 15.42407176356687], [-83.410381232420363, 15.27090281825377], [-83.147219000974104, 14.995829169164207], [-83.489988776366005, 15.01626719813566], [-83.628584967772866, 14.880073960830368], [-83.975721401693576, 14.749435939996483], [-84.228341640952394, 14.748764146376626], [-84.449335903648588, 14.62161428472251], [-84.64958207877963, 14.666805324761865], [-84.820036790694289, 14.819586696832628], [-84.924500698572302, 14.790492865452332], [-85.052787441736868, 14.551541042534719], [-85.148750576502877, 14.560196844943615], [-85.165364549484806, 14.354369615125048], [-85.514413011400265, 14.079011745657905], [-85.698665330736944, 13.960078436737998], [-85.801294725268505, 13.8360549992376], [-86.096263800790595, 14.03818736414723], [-86.312142096689826, 13.771356106008223], [-86.520708177419891, 13.778487453664464], [-86.755086636079596, 13.754845485890936], [-86.733821784191463, 13.263092556201398], [-86.880557013684353, 13.254204209847213], [-87.005769009127434, 13.025794379117254], [-87.316654425795463, 12.984685777229]]] } }, - { "type": "Feature", "properties": { "admin": "Croatia", "name": "Croatia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[18.829838087650039, 45.908877671891837], [19.072768995854172, 45.521511135432078], [19.390475701584588, 45.236515611342369], [19.005486281010118, 44.860233669609144], [18.553214145591646, 45.08158966733145], [17.861783481526398, 45.067740383477137], [17.00214603035101, 45.233776760430935], [16.534939406000202, 45.211607570977705], [16.318156772535868, 45.004126695325901], [15.959367303133373, 45.233776760430935], [15.750026075918978, 44.81871165626255], [16.239660271884528, 44.351143296885695], [16.456442905348862, 44.041239732431265], [16.916156447017325, 43.667722479825663], [17.297373488034449, 43.446340643887353], [17.674921502358981, 43.028562527023603], [18.56, 42.65], [18.450016310304814, 42.47999136002931], [17.509970330483323, 42.84999461523914], [16.930005730871638, 43.209998480800373], [16.015384555737679, 43.507215481127204], [15.174453973052094, 44.243191229827907], [15.376250441151793, 44.317915350922064], [14.920309279040504, 44.73848399512945], [14.901602410550874, 45.076060289076104], [14.258747592839992, 45.233776760430935], [13.952254672917032, 44.802123521496853], [13.65697553880119, 45.136935126315947], [13.679403110415816, 45.484149074884996], [13.715059848697248, 45.500323798192419], [14.411968214585496, 45.466165676447403], [14.595109490627916, 45.63494090431282], [14.935243767972961, 45.471695054702757], [15.327674594797424, 45.452316392593325], [15.323953891672428, 45.731782538427687], [15.671529575267638, 45.8341535507979], [15.768732944408608, 46.23810822202352], [16.564808383864939, 46.503750922219794], [16.882515089595412, 46.380631822284428], [17.630066359129554, 45.951769110694087], [18.456062452882858, 45.759481106136143], [18.829838087650039, 45.908877671891837]]] } }, - { "type": "Feature", "properties": { "admin": "Haiti", "name": "Haiti", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-73.189790615517595, 19.915683905511909], [-72.579672817663607, 19.871500555902351], [-71.71236141629295, 19.714455878167353], [-71.624873216422813, 19.169837958243303], [-71.701302659782485, 18.785416978424049], [-71.945112067335543, 18.616900132720257], [-71.687737596305865, 18.316660061104468], [-71.708304816358037, 18.044997056546091], [-72.372476162389333, 18.214960842354053], [-72.844411180294856, 18.145611070218362], [-73.454554816365018, 18.217906398994696], [-73.922433234335642, 18.030992743395], [-74.458033616824764, 18.342549953682703], [-74.369925299767118, 18.664907538319408], [-73.449542202432696, 18.526052964751141], [-72.694937099890623, 18.445799465401858], [-72.334881557896992, 18.66842153571525], [-72.791649542924873, 19.101625067618027], [-72.784104783810264, 19.483591416903405], [-73.41502234566174, 19.639550889560276], [-73.189790615517595, 19.915683905511909]]] } }, - { "type": "Feature", "properties": { "admin": "Hungary", "name": "Hungary", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[16.202298211337361, 46.852385972676949], [16.534267612380372, 47.496170966169103], [16.340584344150411, 47.712901923201215], [16.903754103267257, 47.714865627628321], [16.979666782304033, 48.123497015976298], [17.488472934649813, 47.867466132186209], [17.857132602620023, 47.758428860050365], [18.696512892336923, 47.88095368101439], [18.777024773847668, 48.081768296900627], [19.174364861739885, 48.111378892603859], [19.66136355965849, 48.266614895208647], [19.769470656013109, 48.2026911484636], [20.239054396249344, 48.327567247096916], [20.473562045989862, 48.562850043321809], [20.801293979584919, 48.62385407164237], [21.872236362401729, 48.319970811550007], [22.085608351334848, 48.422264309271782], [22.640819939878746, 48.150239569687351], [22.710531447040488, 47.882193915389394], [22.09976769378283, 47.672439276716695], [21.626514926853869, 46.994237779318148], [21.021952345471245, 46.316087958351886], [20.220192498462833, 46.127468980486547], [19.596044549241579, 46.171729844744533], [18.829838087649957, 45.908877671891915], [18.456062452882858, 45.759481106136121], [17.630066359129554, 45.95176911069418], [16.882515089595298, 46.380631822284428], [16.564808383864854, 46.503750922219822], [16.370504998447412, 46.841327216166498], [16.202298211337361, 46.852385972676949]]] } }, - { "type": "Feature", "properties": { "admin": "Indonesia", "name": "Indonesia", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[120.715608758630438, -10.239581394087862], [120.295014276206871, -10.258649997603525], [118.967808465654684, -9.55796925215803], [119.900309686361609, -9.361340427287514], [120.425755649905398, -9.665921319215796], [120.775501743656719, -9.969675388227456], [120.715608758630438, -10.239581394087862]]], [[[124.435950148619384, -10.14000090906144], [123.579981724136701, -10.359987481327961], [123.459989048354998, -10.239994805546171], [123.55000939340745, -9.900015557497978], [123.980008986508096, -9.290026950724693], [124.96868248911619, -8.892790215697046], [125.070019972840612, -9.089987481322835], [125.088520135601073, -9.393173109579321], [124.435950148619384, -10.14000090906144]]], [[[117.900018345207741, -8.095681247594923], [118.260616489740471, -8.362383314653327], [118.87845991422212, -8.280682875199828], [119.126506789223086, -8.705824883665072], [117.97040164598927, -8.906639499551257], [117.277730747549015, -9.040894870645557], [116.74014082241662, -9.032936700072637], [117.083737420725313, -8.457157891476539], [117.632024367342126, -8.44930307376819], [117.900018345207741, -8.095681247594923]]], [[[122.903537225436082, -8.094234307490735], [122.756982863456287, -8.649807631060638], [121.2544905945701, -8.933666273639941], [119.924390903809567, -8.810417982623873], [119.920928582846102, -8.44485890059107], [120.715091994307542, -8.236964613480863], [121.341668735846554, -8.53673959720602], [122.007364536630405, -8.46062021244016], [122.903537225436082, -8.094234307490735]]], [[[108.623478631628927, -6.777673841990675], [110.539227329553285, -6.877357679881682], [110.759575636845909, -6.465186455921751], [112.614811232556349, -6.946035658397589], [112.978768345188087, -7.594213148634578], [114.478935174621142, -7.776527601760277], [115.705526971501058, -8.370806573116864], [114.564511346496488, -8.75181690840483], [113.464733514460875, -8.348947442257424], [112.559672479301028, -8.376180922075163], [111.522061395312448, -8.302128594600957], [110.586149530074294, -8.122604668819021], [109.427667270955183, -7.740664157749761], [108.693655226681301, -7.641600437046219], [108.277763299596302, -7.766657403192579], [106.454102004016136, -7.354899590690947], [106.280624220812285, -6.924899997590201], [105.365486281355516, -6.851416110871169], [106.051645949327053, -5.895918877794499], [107.265008579540165, -5.954985039904058], [108.072091099074683, -6.345762220895237], [108.486846144649235, -6.421984958525768], [108.623478631628927, -6.777673841990675]]], [[[134.724624465066654, -6.214400730009286], [134.210133905168902, -6.895237725454704], [134.112775506730998, -6.142467136259014], [134.290335728085779, -5.783057549669038], [134.499625278867882, -5.445042006047898], [134.727001580952106, -5.737582289252158], [134.724624465066654, -6.214400730009286]]], [[[127.249215122588893, -3.459065036638889], [126.874922723498855, -3.790982761249579], [126.183802118027302, -3.607376397316556], [125.989033644719257, -3.177273451351325], [127.00065148326496, -3.12931772218441], [127.249215122588893, -3.459065036638889]]], [[[130.471344028851775, -3.09376433676762], [130.834836053592767, -3.858472181822761], [129.990546502808115, -3.446300957862817], [129.155248651242403, -3.362636813982248], [128.590683628453633, -3.428679294451256], [127.898891229362334, -3.393435967628192], [128.135879347852779, -2.843650404474914], [129.370997756060888, -2.802154229344551], [130.471344028851775, -3.09376433676762]]], [[[134.143367954647772, -1.151867364103594], [134.422627394753022, -2.769184665542383], [135.457602980694674, -3.367752780779113], [136.293314243718754, -2.30704233155609], [137.4407377463275, -1.703513278819372], [138.329727411044757, -1.70268645590265], [139.18492068904294, -2.051295668143637], [139.926684198160387, -2.409051608900284], [141.000210402591847, -2.600151055515624], [141.017056919519007, -5.85902190513802], [141.033851760013874, -9.117892754760417], [140.143415155192542, -8.297167657100955], [139.127766554928087, -8.096042982620942], [138.881476678624949, -8.380935153846094], [137.614473911692812, -8.41168263105976], [138.039099155835174, -7.597882175327354], [138.668621454014783, -7.320224704623072], [138.407913853102343, -6.232849216337483], [137.927839797110835, -5.393365573755998], [135.989250116113453, -4.546543877789047], [135.164597609599667, -4.462931410340771], [133.662880487197867, -3.538853448097526], [133.367704705946778, -4.024818617370314], [132.983955519747326, -4.112978610860281], [132.75694095268895, -3.746282647317129], [132.753788690319197, -3.311787204607071], [131.989804315316178, -2.820551039240455], [133.066844517143466, -2.460417982598443], [133.780030959203486, -2.479848321140209], [133.69621178602614, -2.214541517753687], [132.232373488494204, -2.212526136894325], [131.836221958544684, -1.617161960459597], [130.942839797082797, -1.432522067880796], [130.519558140180038, -0.937720228686075], [131.867537876513609, -0.695461114101818], [132.380116408416768, -0.369537855636977], [133.985548130428384, -0.780210463060442], [134.143367954647772, -1.151867364103594]]], [[[125.240500522971573, 1.419836127117605], [124.43703535369734, 0.427881171058971], [123.685504998876695, 0.235593166500877], [122.723083123872854, 0.431136786293337], [121.056724888189081, 0.381217352699451], [120.18308312386273, 0.23724681233422], [120.040869582195455, -0.519657891444851], [120.935905389490699, -1.408905938323372], [121.475820754076167, -0.955962009285116], [123.34056481332847, -0.615672702643081], [123.258399285984481, -1.076213067228337], [122.822715285331597, -0.930950616055881], [122.388529901215364, -1.516858005381124], [121.508273553555455, -1.904482924002422], [122.454572381684272, -3.186058444840881], [122.271896193532541, -3.529500013852696], [123.170962762546537, -4.683693129091707], [123.162332798353759, -5.34060393638596], [122.628515252778683, -5.634591159694494], [122.236394484548057, -5.282933037948281], [122.71956912647704, -4.46417164471579], [121.738233677254357, -4.851331475446499], [121.48946333220124, -4.574552504091215], [121.619171177253861, -4.188477878438674], [120.898181593917684, -3.602105401222828], [120.972388950688767, -2.627642917494909], [120.305452915529884, -2.931603692235725], [120.39004723519173, -4.097579034037223], [120.430716587405371, -5.528241062037778], [119.796543410319487, -5.67340016034565], [119.36690555224493, -5.379878024927804], [119.653606398600104, -4.459417412944958], [119.498835483885969, -3.49441171632651], [119.078344354326987, -3.487021986508764], [118.767768996252869, -2.801999200047688], [119.180973748858662, -2.147103773612798], [119.323393996255049, -1.35314706788047], [119.825998976725828, 0.154254462073496], [120.035701938966341, 0.566477362465804], [120.885779250167687, 1.309222723796835], [121.666816847826965, 1.013943589681076], [122.927566766451818, 0.875192368977465], [124.077522414242836, 0.917101955566139], [125.065989211121803, 1.643259182131558], [125.240500522971573, 1.419836127117605]]], [[[128.688248732620707, 1.132385972494106], [128.635952183141342, 0.258485826006179], [128.120169712436166, 0.356412665199286], [127.968034295768845, -0.252077325037533], [128.379998813999691, -0.780003757331286], [128.100015903842291, -0.899996433112974], [127.69647464407501, -0.266598402511505], [127.399490187693743, 1.011721503092573], [127.600511509309044, 1.81069082275718], [127.932377557487484, 2.174596258956555], [128.004156121940809, 1.628531398928331], [128.594559360875451, 1.540810655112864], [128.688248732620707, 1.132385972494106]]], [[[117.875627069166001, 1.827640692548911], [118.996747267738158, 0.902219143066048], [117.811858351717788, 0.784241848143722], [117.478338657706047, 0.102474676917026], [117.521643507966587, -0.803723239753211], [116.560048455879496, -1.487660821136231], [116.533796828275158, -2.483517347832901], [116.148083937648607, -4.012726332214014], [116.000857782049067, -3.657037448749008], [114.864803094544513, -4.106984144714416], [114.468651564595064, -3.49570362713382], [113.755671828264099, -3.439169610206519], [113.256994256647545, -3.118775729996854], [112.068126255340644, -3.478392022316071], [111.703290643359992, -2.994442233902631], [111.04824018762821, -3.049425957861188], [110.223846063275971, -2.934032484553483], [110.070935500124335, -1.592874037282414], [109.571947869914041, -1.314906507984489], [109.091873813922518, -0.459506524257051], [108.952657505328162, 0.415375474444346], [109.069136183714036, 1.341933905437642], [109.663260125773718, 2.006466986494984], [109.830226678508836, 1.338135687664191], [110.514060907027101, 0.773131415200993], [111.159137811326559, 0.976478176269509], [111.797548455860408, 0.904441229654651], [112.380251906383648, 1.410120957846757], [112.859809198052176, 1.497790025229946], [113.805849644019531, 1.217548732911041], [114.621355422017473, 1.430688177898886], [115.134037306785231, 2.821481838386219], [115.51907840379198, 3.169238389494395], [115.86551720587677, 4.306559149590156], [117.01521447150634, 4.306094061699468], [117.882034946770162, 4.137551377779487], [117.313232456533513, 3.234428208830578], [118.048329705885351, 2.287690131027361], [117.875627069166001, 1.827640692548911]]], [[[105.817655063909356, -5.852355645372411], [104.710384149191498, -5.873284600450644], [103.868213332130736, -5.037314955264974], [102.584260695406897, -4.220258884298203], [102.156173130300999, -3.614146009946765], [101.399113397225051, -2.799777113459171], [100.902502882900137, -2.05026213949786], [100.141980828860596, -0.650347588710957], [99.26373986206022, 0.183141587724663], [98.970011020913319, 1.042882391764536], [98.601351352943084, 1.823506577965616], [97.699597609449881, 2.453183905442116], [97.17694217324987, 3.30879059489861], [96.424016554757316, 3.86885976807791], [95.380876092513475, 4.970782172053673], [95.293026157617305, 5.479820868344816], [95.936862827541745, 5.439513251157108], [97.484882033277088, 5.24632090903401], [98.369169142655679, 4.268370266126366], [99.142558628335792, 3.590349636240915], [99.693997837322399, 3.174328518075156], [100.641433546961665, 2.099381211755798], [101.658012323007313, 2.083697414555189], [102.498271112073212, 1.398700466310217], [103.076840448013002, 0.561361395668854], [103.838396030698348, 0.104541734208666], [103.437645298274973, -0.711945896002845], [104.010788608824001, -1.059211521004229], [104.369991489684878, -1.084843031421016], [104.539490187602155, -1.782371514496716], [104.887892694113987, -2.340425306816655], [105.622111444116982, -2.42884368246807], [106.10859337771268, -3.06177662517895], [105.857445916774111, -4.305524997579723], [105.817655063909356, -5.852355645372411]]]] } }, - { "type": "Feature", "properties": { "admin": "India", "name": "India", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[77.837450799474553, 35.494009507787759], [78.912268914713209, 34.321936346975782], [78.811086460285722, 33.506198025032404], [79.208891636068572, 32.994394639613709], [79.176128777995501, 32.483779812137705], [78.458446486325997, 32.61816437431272], [78.738894484374001, 31.515906073527056], [79.721366815107089, 30.882714748654724], [81.11125613802929, 30.183480943313398], [80.476721225917373, 29.729865220655334], [80.088424513676259, 28.794470119740136], [81.057202589851997, 28.416095282499036], [81.999987420584958, 27.925479234319987], [83.304248895199535, 27.364505723575554], [84.675017938173767, 27.234901231387528], [85.25177859898335, 26.726198431906337], [86.024392938179147, 26.630984605408567], [87.22747195836628, 26.39789805755607], [88.060237664749806, 26.414615383402484], [88.174804315140904, 26.810405178325944], [88.043132765661198, 27.445818589786818], [88.120440708369841, 27.876541652939586], [88.730325962278528, 28.086864732367509], [88.814248488320544, 27.299315904239361], [88.835642531289366, 27.098966376243755], [89.744527622438838, 26.71940298105995], [90.37327477413406, 26.875724188742872], [91.217512648486405, 26.808648179628019], [92.033483514375078, 26.838310451763554], [92.10371178585973, 27.4526140406332], [91.69665652869665, 27.771741848251661], [92.503118931043616, 27.896876329046442], [93.413347609432662, 28.640629380807219], [94.565990431702929, 29.277438055939978], [95.404802280664612, 29.031716620392125], [96.117678664131006, 29.452802028922459], [96.586590610747479, 28.830979519154337], [96.248833449287758, 28.411030992134435], [97.327113885490007, 28.261582749946331], [97.402561476636123, 27.88253611908544], [97.051988559968066, 27.699058946233144], [97.133999058015277, 27.08377350514996], [96.419365675850941, 27.264589341739221], [95.124767694074933, 26.573572089132295], [95.155153436262566, 26.001307277932078], [94.603249139385355, 25.162495428970399], [94.552657912171611, 24.675238348890328], [94.106741977925054, 23.850740871673477], [93.325187615942767, 24.078556423432197], [93.286326938859247, 23.043658352138998], [93.060294224014598, 22.703110663335565], [93.166127557348361, 22.278459580977099], [92.672720981825549, 22.041238918541247], [92.146034783906799, 23.62749868417259], [91.869927606171302, 23.62434642180278], [91.706475050832083, 22.985263983649183], [91.158963250699713, 23.503526923104381], [91.467729933643668, 24.072639471934789], [91.915092807994398, 24.130413723237108], [92.376201613334786, 24.976692816664961], [91.799595981822065, 25.14743174895731], [90.872210727912105, 25.13260061288954], [89.920692580121838, 25.269749864192171], [89.832480910199592, 25.965082098895476], [89.355094028687276, 26.014407253518065], [88.56304935094974, 26.446525580342716], [88.209789259802477, 25.768065700782707], [88.931553989623069, 25.238692328384769], [88.30637251175601, 24.866079413344199], [88.084422235062405, 24.501657212821918], [88.699940220090895, 24.233714911388557], [88.529769728553759, 23.631141872649163], [88.876311883503064, 22.879146429937826], [89.031961297566198, 22.055708319582973], [88.888765903685396, 21.690588487224741], [88.208497348995209, 21.703171698487804], [86.975704380240259, 21.495561631755201], [87.033168572948853, 20.743307806882406], [86.499351027373777, 20.151638495356604], [85.060265740909671, 19.478578802971096], [83.941005893899998, 18.302009792549722], [83.189217156917834, 17.671221421778977], [82.192792189465905, 17.016636053937813], [82.191241896497175, 16.556664130107844], [81.692719354177456, 16.3102192245079], [80.791999139330116, 15.951972357644488], [80.324895867843864, 15.899184882058346], [80.025069207686428, 15.136414903214144], [80.23327355339039, 13.835770778859978], [80.286293572921849, 13.006260687710832], [79.862546828128487, 12.056215318240886], [79.85799930208681, 10.357275091997108], [79.340511509115984, 10.308854274939618], [78.885345493489169, 9.54613597252772], [79.189719679688281, 9.216543687370146], [78.27794070833049, 8.933046779816932], [77.94116539908434, 8.25295909263974], [77.539897902337927, 7.965534776232331], [76.592978957021657, 8.899276231314188], [76.130061476551063, 10.299630031775518], [75.746467319648488, 11.308250637248303], [75.396101108709573, 11.781245022015822], [74.864815708316812, 12.741935736537895], [74.616717156883524, 13.992582912649677], [74.443859490867197, 14.617221787977693], [73.534199253233368, 15.990652167214957], [73.119909295549419, 17.928570054592495], [72.820909458308634, 19.208233547436162], [72.824475132136783, 20.41950328214153], [72.630533481745388, 21.356009426351001], [71.175273471973938, 20.757441311114228], [70.470458611945091, 20.877330634031381], [69.164130080038817, 22.089298000572697], [69.644927606082391, 22.450774644454334], [69.349596795534325, 22.843179633062686], [68.176645135373377, 23.691965033456704], [68.842599318318761, 24.359133612560932], [71.0432401874682, 24.356523952730193], [70.844699334602822, 25.215102037043511], [70.282873162725579, 25.722228705339823], [70.168926629522005, 26.491871649678835], [69.514392938113119, 26.940965684511365], [70.61649620960192, 27.989196275335861], [71.777665643200308, 27.913180243434521], [72.823751662084689, 28.961591701772047], [73.450638462217412, 29.976413479119863], [74.421380242820263, 30.97981476493117], [74.405928989564998, 31.692639471965272], [75.258641798813187, 32.271105455040491], [74.451559279278698, 32.764899603805489], [74.104293654277328, 33.441473293586846], [73.749948358051952, 34.317698879527846], [74.240202671204955, 34.748887030571247], [75.757060988268321, 34.504922593721311], [76.871721632804011, 34.653544012992732], [77.837450799474553, 35.494009507787759]]] } }, - { "type": "Feature", "properties": { "admin": "Ireland", "name": "Ireland", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[-6.197884894220989, 53.86756500916335], [-6.032985398777609, 53.153164170944336], [-6.788856573910847, 52.260117906292322], [-8.561616583683557, 51.669301255899349], [-9.977085740590267, 51.820454820353071], [-9.16628251793078, 52.864628811242667], [-9.688524542672452, 53.881362616585285], [-8.327987433292007, 54.664518947968624], [-7.572167934591064, 55.131622219454854], [-7.366030646178785, 54.595840969452709], [-7.572167934591064, 54.059956366585986], [-6.953730231138065, 54.073702297575622], [-6.197884894220989, 53.86756500916335]]] } }, - { "type": "Feature", "properties": { "admin": "Iran", "name": "Iran", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[53.921597934795543, 37.198918361961255], [54.800303989486558, 37.392420762678178], [55.511578403551894, 37.964117133123153], [56.180374790273319, 37.935126654607423], [56.619366082592805, 38.121394354803478], [57.330433790928964, 38.029229437810933], [58.436154412678192, 37.522309475243794], [59.234761997316795, 37.412987982730336], [60.377637973883864, 36.52738312432836], [61.123070509694131, 36.491597194966239], [61.21081709172573, 35.650072333309218], [60.80319339380744, 34.404101874319856], [60.528429803311575, 33.676446031217999], [60.963700392505991, 33.528832302376252], [60.536077915290761, 32.981268825811561], [60.863654819588952, 32.182919623334421], [60.941944614511115, 31.548074652628745], [61.699314406180811, 31.379506130492661], [61.78122155136343, 30.735850328081231], [60.874248488208778, 29.829238999952604], [61.369308709564926, 29.303276272085917], [61.771868117118615, 28.699333807890792], [62.727830438085974, 28.259644883735383], [62.755425652929851, 27.378923448184985], [63.23389773952028, 27.217047024030702], [63.316631707619578, 26.756532497661659], [61.874187453056535, 26.239974880472097], [61.497362908784183, 25.078237006118492], [59.616134067630831, 25.380156561783775], [58.525761346272297, 25.609961656185725], [57.39725141788238, 25.739902045183634], [56.97076582217754, 26.966106268821356], [56.492138706290199, 27.14330475515019], [55.723710158110059, 26.964633490501036], [54.715089552637252, 26.480657863871507], [53.493096958231334, 26.812368882753042], [52.483597853409599, 27.580849107365488], [51.520762566947404, 27.865689602158291], [50.852948032439528, 28.814520575469377], [50.115008579311571, 30.14777252859971], [49.576850213423988, 29.9857152369324], [48.941333449098536, 30.31709035900403], [48.567971225789748, 29.926778265903515], [48.014568312376085, 30.452456773392594], [48.00469811380831, 30.985137437457237], [47.685286085812258, 30.984853217079621], [47.849203729042095, 31.709175930298663], [47.334661492711895, 32.469155381799105], [46.109361606639304, 33.017287299118998], [45.416690708199035, 33.967797756479577], [45.648459507028079, 34.748137722303007], [46.15178795755093, 35.093258775364284], [46.076340366404786, 35.67738332777548], [45.420618117053202, 35.977545884742817], [44.77267, 37.17045], [44.225755649600522, 37.971584377589345], [44.421402622257538, 38.281281236314534], [44.109225294782334, 39.428136298168091], [44.793989699081934, 39.713002631177041], [44.9526880226503, 39.335764675446363], [45.457721795438765, 38.874139105783051], [46.143623081248812, 38.74120148371221], [46.505719842317966, 38.770605373686287], [47.685079380083081, 39.508363959301207], [48.060095249225235, 39.582235419262453], [48.355529412637871, 39.2887649602769], [48.010744256386474, 38.794014797514514], [48.634375441284803, 38.27037750910096], [48.883249139202483, 38.32024526626261], [49.199612257693332, 37.582874253889877], [50.147771437384606, 37.37456655532133], [50.842354363819695, 36.872814235983384], [52.26402469260141, 36.700421657857696], [53.825789829326411, 36.965030829408228], [53.921597934795543, 37.198918361961255]]] } }, - { "type": "Feature", "properties": { "admin": "Iraq", "name": "Iraq", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[45.420618117053202, 35.977545884742817], [46.076340366404786, 35.67738332777548], [46.15178795755093, 35.093258775364284], [45.648459507028079, 34.748137722303007], [45.416690708199035, 33.967797756479577], [46.109361606639304, 33.017287299118998], [47.334661492711895, 32.469155381799105], [47.849203729042095, 31.709175930298663], [47.685286085812258, 30.984853217079621], [48.00469811380831, 30.985137437457237], [48.014568312376085, 30.452456773392594], [48.567971225789748, 29.926778265903515], [47.974519077349889, 29.975819200148493], [47.302622104690947, 30.059069932570711], [46.568713413281742, 29.099025173452283], [44.709498732284736, 29.178891099559376], [41.889980910007829, 31.190008653278362], [40.399994337736238, 31.889991766887931], [39.195468377444961, 32.16100881604266], [38.792340529136077, 33.378686428352218], [41.00615888851992, 34.419372260062111], [41.383965285005807, 35.628316555314349], [41.289707472505448, 36.358814602192261], [41.837064243340954, 36.605853786763568], [42.349591098811764, 37.22987254490409], [42.779125604021822, 37.385263576805741], [43.942258742047287, 37.256227525372942], [44.293451775902852, 37.001514390606289], [44.772699008977689, 37.170444647768427], [45.420618117053202, 35.977545884742817]]] } }, - { "type": "Feature", "properties": { "admin": "Iceland", "name": "Iceland", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[-14.508695441129232, 66.455892239031414], [-14.739637417041605, 65.808748277440287], [-13.609732224979807, 65.126671047619851], [-14.9098337467949, 64.36408193628867], [-17.794438035543418, 63.67874909123384], [-18.656245896874989, 63.496382961675806], [-19.972754685942757, 63.643634955491514], [-22.762971971110154, 63.960178941495371], [-21.778484259517676, 64.402115790455497], [-23.955043911219104, 64.891129869233481], [-22.184402635170354, 65.084968166760291], [-22.227423265053329, 65.378593655042721], [-24.326184047939332, 65.611189276788451], [-23.650514695723082, 66.262519029395207], [-22.134922451250883, 66.410468655046856], [-20.576283738679543, 65.732112128351417], [-19.056841600001587, 66.276600857194751], [-17.798623826559048, 65.993853257909763], [-16.167818976292121, 66.526792304135853], [-14.508695441129232, 66.455892239031414]]] } }, - { "type": "Feature", "properties": { "admin": "Israel", "name": "Israel", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[35.719918247222743, 32.709192409794859], [35.545665317534535, 32.393992011030569], [35.183930291491428, 32.532510687788935], [34.974640740709319, 31.866582343059715], [35.225891554512422, 31.754341132121759], [34.970506626125989, 31.616778469360803], [34.927408481594554, 31.35343537040141], [35.397560662586038, 31.489086005167572], [35.420918409981958, 31.100065822874349], [34.922602573391423, 29.501326198844517], [34.26543338393568, 31.219360866820146], [34.556371697738903, 31.548823960896989], [34.48810713068135, 31.605538845337314], [34.752587111151165, 32.07292633720116], [34.955417107896771, 32.827376410446369], [35.098457472480668, 33.080539252244257], [35.126052687324538, 33.090900376918775], [35.460709262846699, 33.089040025356276], [35.552796665190805, 33.264274807258012], [35.821100701650231, 33.277426459276292], [35.836396925608618, 32.868123277308506], [35.700797967274745, 32.716013698857374], [35.719918247222743, 32.709192409794859]]] } }, - { "type": "Feature", "properties": { "admin": "Italy", "name": "Italy", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[15.52037601081383, 38.231155096991465], [15.160242954171732, 37.444045518537813], [15.309897902089002, 37.134219468731793], [15.099988234119445, 36.61998729099539], [14.335228712632013, 36.996630967754747], [13.826732618879927, 37.104531358380186], [12.431003859108809, 37.612949937483812], [12.570943637755132, 38.126381130519682], [13.741156447004581, 38.03496552179535], [14.761249220446157, 38.143873602850498], [15.52037601081383, 38.231155096991465]]], [[[9.210011834356264, 41.209991360024212], [9.809975213264973, 40.500008856766094], [9.669518670295671, 39.177376410471787], [9.214817742559486, 39.240473334300127], [8.806935662479729, 38.906617743478471], [8.428302443077113, 39.171847032216611], [8.388253208050939, 40.378310858718798], [8.159998406617659, 40.950007229163774], [8.709990675500107, 40.899984442705225], [9.210011834356264, 41.209991360024212]]], [[[12.376485223040842, 46.767559109069872], [13.806475457421552, 46.50930613869118], [13.698109978905475, 46.016778062517368], [13.937630242578335, 45.59101593686465], [13.141606479554294, 45.736691799495411], [12.328581170306304, 45.38177806251484], [12.383874952858601, 44.885374253919075], [12.261453484759157, 44.600482082694008], [12.589237094786482, 44.091365871754462], [13.526905958722491, 43.587727362637899], [14.029820997787024, 42.761007798832473], [15.142569614327952, 41.955139675456891], [15.926191033601892, 41.961315009115729], [16.169897088290409, 41.740294908203417], [15.889345737377793, 41.541082261718195], [16.785001661860573, 41.179605617836579], [17.519168735431204, 40.877143459632229], [18.376687452882575, 40.355624904942651], [18.4802470231954, 40.168866278639818], [18.293385044028096, 39.810774441073235], [17.738380161213279, 40.277671006830289], [16.869595981522334, 40.442234605463838], [16.448743116937319, 39.795400702466473], [17.171489698971495, 39.424699815420716], [17.052840610429339, 38.902871202137291], [16.635088331781841, 38.843572496082395], [16.100960727613053, 37.985898749334176], [15.684086948314498, 37.908849188787023], [15.687962680736318, 38.214592800441849], [15.891981235424705, 38.750942491199218], [16.109332309644312, 38.964547024077682], [15.718813510814638, 39.544072374014938], [15.413612501698818, 40.048356838535163], [14.998495721098234, 40.172948716790913], [14.703268263414767, 40.604550279292617], [14.06067182786526, 40.786347968095434], [13.627985060285393, 41.188287258461649], [12.888081902730418, 41.253089504555604], [12.106682570044907, 41.7045348170574], [11.191906365614184, 42.355425319989671], [10.511947869517794, 42.93146251074721], [10.200028924204046, 43.920006822274608], [9.702488234097812, 44.036278794931313], [8.888946160526869, 44.366336167979533], [8.428560825238575, 44.23122813575241], [7.8507666357832, 43.767147935555236], [7.435184767291841, 43.693844916349164], [7.549596388386161, 44.127901109384808], [7.007562290076661, 44.254766750661382], [6.749955275101711, 45.028517971367584], [7.096652459347835, 45.333098863295859], [6.80235517744566, 45.708579820328673], [6.84359297041456, 45.991146552100659], [7.273850945676683, 45.776947740250748], [7.755992058959832, 45.824490057959267], [8.316629672894377, 46.16364248309084], [8.489952426801294, 46.005150865251736], [8.966305779667833, 46.03693187111115], [9.18288170740311, 46.440214748716976], [9.92283654139035, 46.314899400409182], [10.363378126678665, 46.48357127540983], [10.4427014502466, 46.893546250997431], [11.048555942436504, 46.751358547546396], [11.164827915093325, 46.941579494812729], [12.153088006243079, 47.115393174826423], [12.376485223040842, 46.767559109069872]]]] } }, - { "type": "Feature", "properties": { "admin": "Jamaica", "name": "Jamaica", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-77.569600796199197, 18.490525417550483], [-76.896618618462114, 18.400866807524078], [-76.365359056285527, 18.16070058844759], [-76.19965857614163, 17.886867173732963], [-76.902561408175671, 17.868237819891743], [-77.206341315403449, 17.701116237859818], [-77.766022915340599, 17.861597398342237], [-78.337719285785596, 18.225967922432226], [-78.217726610003865, 18.454532782459193], [-77.797364671525614, 18.524218451404774], [-77.569600796199197, 18.490525417550483]]] } }, - { "type": "Feature", "properties": { "admin": "Jordan", "name": "Jordan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[35.545665317534535, 32.393992011030569], [35.719918247222743, 32.709192409794859], [36.834062127435537, 32.312937526980768], [38.792340529136077, 33.378686428352218], [39.195468377444961, 32.16100881604266], [39.004885695152545, 32.010216986614971], [37.002165561681004, 31.508412990844736], [37.998848911294367, 30.508499864213128], [37.668119744626374, 30.338665269485894], [37.503581984209028, 30.003776150018396], [36.740527784987243, 29.865283311476183], [36.501214227043583, 29.505253607698702], [36.068940870922049, 29.19749461518445], [34.956037225084252, 29.356554673778835], [34.922602573391423, 29.501326198844517], [35.420918409981958, 31.100065822874349], [35.397560662586038, 31.489086005167572], [35.545251906076196, 31.782504787720832], [35.545665317534535, 32.393992011030569]]] } }, - { "type": "Feature", "properties": { "admin": "Japan", "name": "Japan", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[134.638428176003856, 34.149233710256418], [134.766379022358478, 33.806334743783673], [134.20341596897083, 33.201177883429622], [133.792950067276479, 33.521985175097583], [133.280268182508848, 33.289570420864941], [133.014858026257855, 32.704567369104772], [132.363114862192674, 32.989382025681373], [132.371176385630179, 33.463642483040068], [132.924372593314786, 34.060298570282036], [133.492968377822194, 33.944620876596694], [133.904106073136347, 34.364931138642611], [134.638428176003856, 34.149233710256418]]], [[[140.976387567305267, 37.142074286440156], [140.599769728762084, 36.343983466124534], [140.774074334882641, 35.842877102190229], [140.253279250245072, 35.138113918593653], [138.975527785396196, 34.667600002576101], [137.217598911691198, 34.606285915661843], [135.792983026268871, 33.46480520276662], [135.120982700745401, 33.849071153289053], [135.07943484918269, 34.596544908174813], [133.340316196831964, 34.375938218720755], [132.156770868051296, 33.904933376596503], [130.986144647343451, 33.885761420216276], [132.000036248910021, 33.149992377244608], [131.33279015515734, 31.450354519164836], [130.68631798718593, 31.029579169228235], [130.202419875204953, 31.418237616495411], [130.447676222862128, 32.319474595665717], [129.81469160371887, 32.610309556604385], [129.408463169472554, 33.296055813117583], [130.353935174684636, 33.604150702441693], [130.878450962447118, 34.232742824840031], [131.884229364143891, 34.749713853487911], [132.617672967662486, 35.433393052709413], [134.608300815977771, 35.731617743465812], [135.677537876528902, 35.527134100886819], [136.723830601142424, 37.304984239240376], [137.390611607004473, 36.827390651998819], [138.857602166906247, 37.827484646143454], [139.426404657142882, 38.215962225897634], [140.054790073812057, 39.438807481436378], [139.883379347899847, 40.563312486323682], [140.305782505453664, 41.195005194659551], [141.368973423426667, 41.378559882160282], [141.914263136970476, 39.991616115878678], [141.884600864834965, 39.18086456965149], [140.959489373945729, 38.174000962876583], [140.976387567305267, 37.142074286440156]]], [[[143.910161981379474, 44.174099839853724], [144.613426548439634, 43.960882880217511], [145.320825230083074, 44.384732977875437], [145.543137241802754, 43.262088324550596], [144.059661899999867, 42.988358262700551], [143.183849725517291, 41.995214748699183], [141.611490920172457, 42.678790595056071], [141.067286411706618, 41.58459381770799], [139.95510623592105, 41.56955597591103], [139.817543573159924, 42.563758856774392], [140.312087030193169, 43.333272610032644], [141.380548944259999, 43.388824774746489], [141.671952345953912, 44.772125352551477], [141.967644891527982, 45.551483466161343], [143.142870314709796, 44.510358384776957], [143.910161981379474, 44.174099839853724]]]] } }, - { "type": "Feature", "properties": { "admin": "Kazakhstan", "name": "Kazakhstan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[70.962314894499272, 42.26615428320553], [70.388964878220776, 42.081307684897517], [69.070027296835221, 41.384244289712335], [68.632482944620037, 40.668680731766855], [68.259895867795635, 40.662324530594894], [67.985855747351806, 41.135990708982199], [66.714047072216587, 41.168443508461557], [66.510648634715707, 41.987644151368549], [66.023391554635609, 41.994646307944031], [66.098012322865188, 42.997660020513074], [64.90082441595932, 43.728080552742647], [63.18578698105658, 43.650074978197999], [62.013300408786264, 43.504476630215649], [61.05831994003249, 44.405816962250576], [60.239971958258472, 44.784036770194739], [58.689989048095796, 45.500013739598721], [58.503127068928428, 45.58680430763296], [55.928917270741167, 44.995858466159163], [55.968191359283011, 41.30864166926937], [55.455251092353805, 41.259859117185826], [54.755345493392653, 42.04397146256661], [54.079417759014959, 42.324109402020831], [52.944293247291725, 42.116034247397572], [52.502459751196277, 41.783315538086462], [52.446339145727208, 42.027150783855561], [52.692112257707251, 42.443895372073364], [52.501426222550315, 42.792297878585188], [51.342427199108201, 43.132974758469338], [50.891291945200223, 44.031033637053774], [50.339129266161358, 44.284015611338468], [50.305642938036257, 44.609835516938908], [51.278503452363211, 44.514854234386448], [51.316899041556034, 45.245998236667894], [52.167389764215713, 45.408391425145098], [53.040876499245194, 45.259046535821753], [53.220865512917712, 46.23464590105992], [53.042736850807771, 46.853006089864486], [52.042022739475598, 46.804636949239232], [51.191945428274252, 47.048704738953909], [50.034083286342465, 46.608989976582208], [49.10116, 46.39933000000012], [48.593241001180495, 46.561034247415471], [48.694733514201729, 47.075628160177921], [48.057253045449258, 47.743752753279516], [47.315231154170242, 47.715847479841948], [46.466445753776256, 48.394152330104923], [47.043671502476506, 49.1520388860976], [46.751596307162728, 49.35600576435376], [47.549480421749301, 50.454698391311119], [48.577841424357523, 49.874759629915658], [48.702381626181008, 50.605128485712825], [50.766648390512145, 51.692762356159889], [52.328723585830957, 51.71865224873811], [54.53287845237621, 51.026239732459302], [55.716940545479801, 50.62171662047853], [56.777961053296551, 51.043551337277037], [58.363290643146733, 51.063653469438563], [59.642282342370599, 50.545442206415707], [59.932807244715484, 50.842194118851857], [61.337424350840919, 50.799070136104248], [61.588003371024158, 51.2726587998432], [59.967533807215531, 51.960420437215696], [60.927268507740258, 52.447548326215028], [60.739993117114572, 52.719986477257734], [61.699986199800584, 52.979996446334255], [60.978066440683151, 53.664993394579128], [61.436591424409052, 54.006264553434775], [65.178533563095911, 54.354227810272093], [65.66687584825398, 54.601266994843449], [68.169100376258811, 54.970391750704309], [69.068166945272864, 55.385250149143516], [70.865266554655122, 55.169733588270091], [71.180131056609397, 54.133285224008247], [72.224150018202167, 54.376655381886728], [73.508516066384388, 54.035616766976588], [73.425678745420427, 53.489810289109741], [74.384845005190044, 53.546861070360066], [76.891100294913414, 54.490524400441913], [76.525179477854735, 54.177003485727127], [77.800915561844221, 53.404414984747561], [80.035559523441663, 50.864750881547238], [80.568446893235475, 51.388336493528456], [81.945985548839914, 50.812195949906354], [83.383003778012366, 51.069182847693909], [83.935114780618832, 50.889245510453563], [84.416377394553052, 50.311399644565817], [85.115559523462011, 50.117302964877631], [85.541269972682457, 49.69285858824815], [86.829356723989619, 49.826674709668154], [87.359970330762664, 49.214980780629148], [86.598776483103379, 48.549181626980605], [85.768232863308285, 48.455750637396974], [85.72048383987071, 47.452969468773112], [85.164290399113355, 47.000955715516099], [83.180483839860443, 47.330031236350848], [82.458925815769106, 45.539649563166499], [81.947070753918112, 45.317027492853235], [79.966106398441397, 44.917516994804643], [80.866206496101356, 43.180362046881037], [80.180150180994289, 42.920067857426936], [80.259990268885332, 42.349999294599101], [79.643645460940135, 42.496682847659649], [79.142177361979776, 42.856092434249589], [77.658391961583206, 42.960685533208327], [76.000353631498555, 42.988022365890622], [75.636964959622091, 42.877899888676765], [74.212865838522575, 43.298339341803505], [73.645303582660901, 43.091271877609863], [73.489757521462337, 42.500894476891276], [71.844638299450637, 42.845395412765178], [71.186280552052253, 42.704292914392219], [70.962314894499272, 42.26615428320553]]] } }, - { "type": "Feature", "properties": { "admin": "Kenya", "name": "Kenya", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[40.993, -0.85829], [41.58513, -1.68325], [40.88477, -2.08255], [40.63785, -2.49979], [40.26304, -2.57309], [40.12119, -3.27768], [39.80006, -3.68116], [39.60489, -4.34653], [39.20222, -4.67677], [37.7669, -3.67712], [37.69869, -3.09699], [34.07262, -1.05982], [33.903711197104521, -0.95], [33.893568969666937, 0.109813537861896], [34.18, 0.515], [34.6721, 1.17694], [35.03599, 1.90584], [34.59607, 3.05374], [34.47913, 3.5556], [34.005, 4.249884947362047], [34.620196267853871, 4.847122742081987], [35.298007118232974, 5.506], [35.817447662353501, 5.338232082790795], [35.817447662353501, 4.776965663461889], [36.159078632855639, 4.447864127672768], [36.855093238008116, 4.447864127672768], [38.120915, 3.598605], [38.43697, 3.58851], [38.67114, 3.61607], [38.89251, 3.50074], [39.559384258765846, 3.42206], [39.85494, 3.83879], [40.76848, 4.25702], [41.1718, 3.91909], [41.855083092643966, 3.918911920483726], [40.98105, 2.78452], [40.993, -0.85829]]] } }, - { "type": "Feature", "properties": { "admin": "Kyrgyzstan", "name": "Kyrgyzstan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[70.96231489449913, 42.266154283205481], [71.186280552052111, 42.704292914392127], [71.84463829945058, 42.845395412765093], [73.489757521462337, 42.500894476891311], [73.645303582660901, 43.09127187760982], [74.212865838522546, 43.298339341803363], [75.636964959622006, 42.877899888676673], [76.000353631498442, 42.988022365890664], [77.658391961583206, 42.960685533208256], [79.142177361979762, 42.856092434249511], [79.643645460940107, 42.496682847659514], [80.259990268885289, 42.349999294599044], [80.119430373051358, 42.123940741538235], [78.543660923175295, 41.582242540038685], [78.187196893225959, 41.185315863604792], [76.904484490877067, 41.066485907549634], [76.526368035797432, 40.427946071935111], [75.467827996730691, 40.562072251948663], [74.776862420556043, 40.366425279291619], [73.822243686828287, 39.893973497063179], [73.960013055318413, 39.660008449861721], [73.67537926625478, 39.431236884105594], [71.784693637991992, 39.279463202464363], [70.549161818325601, 39.604197902986492], [69.464886915977516, 39.526683254548693], [69.559609816368507, 40.103211371412968], [70.648018833299957, 39.935753892571157], [71.014198032520156, 40.244365546218226], [71.774875115856545, 40.145844428053763], [73.055417108049156, 40.86603302668945], [71.870114780570447, 41.392900092121259], [71.157858514291576, 41.143587144529107], [70.420022414028196, 41.519998277343134], [71.259247674448218, 42.167710679689456], [70.96231489449913, 42.266154283205481]]] } }, - { "type": "Feature", "properties": { "admin": "Cambodia", "name": "Cambodia", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[103.497279901139677, 10.632555446815926], [103.090689731867229, 11.153660590047162], [102.58493248902667, 12.186594956913279], [102.348099399833004, 13.39424734135822], [102.988422072361601, 14.225721136934464], [104.281418084736586, 14.416743068901363], [105.218776890078871, 14.27321177821069], [106.04394616091551, 13.881091009979952], [106.496373325630856, 14.57058380783428], [107.382727492301058, 14.202440904186968], [107.614547967562402, 13.535530707244202], [107.491403029410861, 12.337205918827944], [105.810523716253101, 11.567614650921225], [106.249670037869436, 10.961811835163585], [105.199914992292321, 10.889309800658094], [104.334334751403446, 10.486543687375228], [103.497279901139677, 10.632555446815926]]] } }, - { "type": "Feature", "properties": { "admin": "South Korea", "name": "Korea", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[128.349716424676586, 38.612242946927843], [129.212919549680038, 37.432392483055942], [129.460449660358137, 36.784189154602821], [129.468304478066472, 35.632140611303939], [129.091376580929563, 35.08248423923142], [128.18585045787907, 34.890377102186385], [127.386519403188373, 34.475673733044111], [126.485747511908713, 34.390045884736473], [126.3739197124291, 34.934560451795939], [126.559231398627773, 35.684540513647896], [126.117397902532261, 36.725484727519252], [126.860143263863364, 36.893924058574612], [126.174758742376213, 37.749685777328033], [126.237338901881742, 37.840377916000271], [126.683719924018888, 37.804772854151174], [127.073308547067342, 38.256114813788393], [127.780035435090966, 38.304535630845884], [128.205745884311426, 38.370397243801882], [128.349716424676586, 38.612242946927843]]] } }, - { "type": "Feature", "properties": { "admin": "Kosovo", "name": "Kosovo", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[20.76216, 42.05186], [20.717310000000108, 41.84711], [20.59023, 41.85541], [20.52295, 42.21787], [20.28374, 42.32025], [20.0707, 42.58863], [20.25758, 42.81275], [20.49679, 42.88469], [20.63508, 43.21671], [20.81448, 43.27205], [20.95651, 43.13094], [21.143395, 43.068685000000123], [21.27421, 42.90959], [21.43866, 42.86255], [21.63302, 42.67717], [21.77505, 42.6827], [21.66292, 42.43922], [21.54332, 42.32025], [21.576635989402117, 42.245224397061847], [21.352700000000134, 42.2068], [20.76216, 42.05186]]] } }, - { "type": "Feature", "properties": { "admin": "Kuwait", "name": "Kuwait", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[47.974519077349889, 29.975819200148493], [48.183188510944483, 29.534476630159759], [48.09394331237641, 29.306299343374999], [48.416094191283939, 28.552004299426663], [47.708850538937376, 28.526062730416136], [47.459821811722819, 29.002519436147217], [46.568713413281742, 29.099025173452283], [47.302622104690947, 30.059069932570711], [47.974519077349889, 29.975819200148493]]] } }, - { "type": "Feature", "properties": { "admin": "Laos", "name": "Lao PDR", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[105.218776890078871, 14.27321177821069], [105.544338413517664, 14.723933620660414], [105.589038527450128, 15.570316066952856], [104.779320509868768, 16.441864935771445], [104.716947056092465, 17.428858954330078], [103.956476678485288, 18.240954087796872], [103.200192091893726, 18.309632066312769], [102.998705682387694, 17.961694647691598], [102.413004998791592, 17.932781683824281], [102.113591750092453, 18.109101670804161], [101.059547560635139, 17.512497259994486], [101.035931431077742, 18.408928330961611], [101.282014601651667, 19.462584947176762], [100.606293573003128, 19.508344427971217], [100.548881056726856, 20.109237982661124], [100.115987583417819, 20.41784963630818], [100.329101190189519, 20.786121731036229], [101.180005324307515, 21.436572984294024], [101.270025669359939, 21.201651923095177], [101.803119744882906, 21.174366766845065], [101.652017856861491, 22.318198757409544], [102.170435825613552, 22.464753119389297], [102.754896274834636, 21.675137233969462], [103.203861118586431, 20.766562201413745], [104.435000441508024, 20.758733221921528], [104.822573683697073, 19.886641750563879], [104.183387892678908, 19.624668077060214], [103.896532017026701, 19.265180975821799], [105.094598423281496, 18.666974595611073], [105.925762160264, 17.485315456608955], [106.55600792849566, 16.604283962464802], [107.312705926545576, 15.908538316303177], [107.564525181103875, 15.202173163305554], [107.382727492301058, 14.202440904186968], [106.496373325630856, 14.57058380783428], [106.04394616091551, 13.881091009979952], [105.218776890078871, 14.27321177821069]]] } }, - { "type": "Feature", "properties": { "admin": "Lebanon", "name": "Lebanon", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[35.821100701650231, 33.277426459276292], [35.552796665190805, 33.264274807258012], [35.460709262846699, 33.089040025356276], [35.126052687324538, 33.090900376918775], [35.48220665868012, 33.905450140919434], [35.979592319489392, 34.610058295219126], [35.998402540843628, 34.644914048799997], [36.448194207512095, 34.59393524834406], [36.611750115715886, 34.201788641897174], [36.066460402172048, 33.824912421192543], [35.821100701650231, 33.277426459276292]]] } }, - { "type": "Feature", "properties": { "admin": "Liberia", "name": "Liberia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-7.712159389669749, 4.364565944837721], [-7.974107224957249, 4.355755113131961], [-9.004793667018673, 4.832418524592199], [-9.913420376006682, 5.593560695819205], [-10.765383876986643, 6.140710760925556], [-11.438779466182053, 6.785916856305746], [-11.199801805048278, 7.105845648624735], [-11.14670427086838, 7.396706447779534], [-10.695594855176477, 7.939464016141085], [-10.230093553091276, 8.406205552601291], [-10.016566534861253, 8.42850393313523], [-9.755342169625832, 8.541055202666923], [-9.33727983238458, 7.928534450711351], [-9.403348151069748, 7.526905218938906], [-9.208786383490844, 7.313920803247952], [-8.926064622422002, 7.309037380396375], [-8.722123582382123, 7.711674302598509], [-8.439298468448696, 7.686042792181736], [-8.485445522485348, 7.395207831243068], [-8.385451626000572, 6.911800645368742], [-8.602880214868618, 6.467564195171659], [-8.311347622094017, 6.193033148621081], [-7.993692592795879, 6.126189683451541], [-7.570152553731686, 5.707352199725903], [-7.53971513511176, 5.313345241716517], [-7.63536821128403, 5.188159084489455], [-7.712159389669749, 4.364565944837721]]] } }, - { "type": "Feature", "properties": { "admin": "Libya", "name": "Libya", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[14.8513, 22.862950000000119], [14.143870883855239, 22.491288967371126], [13.581424594790459, 23.040506089769274], [11.999505649471697, 23.471668402596432], [11.560669386449032, 24.09790924732561], [10.771363559622952, 24.562532050061741], [10.303846876678445, 24.379313259370967], [9.948261346078024, 24.936953640232613], [9.910692579801774, 25.365454616796789], [9.319410841518218, 26.094324856057476], [9.716285841519662, 26.512206325785652], [9.629056023811073, 27.140953477481041], [9.756128370816779, 27.688258571884198], [9.68388471847288, 28.144173895779311], [9.859997999723472, 28.959989732371064], [9.805634392952353, 29.424638373323369], [9.482139926805415, 30.307556057246181], [9.970017124072966, 30.539324856075375], [10.056575148161697, 30.961831366493517], [9.950225050505194, 31.376069647745275], [10.636901482799484, 31.761420803345679], [10.944789666394511, 32.081814683555358], [11.43225345220378, 32.368903103152824], [11.488787469131008, 33.136995754523234], [12.66331, 32.79278], [13.08326, 32.87882], [13.91868, 32.71196], [15.24563, 32.26508], [15.71394, 31.37626], [16.61162, 31.18218], [18.02109, 30.76357], [19.08641, 30.26639], [19.57404, 30.52582], [20.05335, 30.98576], [19.82033, 31.751790000000135], [20.13397, 32.2382], [20.85452, 32.7068], [21.54298, 32.8432], [22.89576, 32.63858], [23.2368, 32.19149], [23.6091300000001, 32.18726], [23.9275, 32.01667], [24.92114, 31.89936], [25.16482, 31.56915], [24.80287, 31.08929], [24.95762, 30.6616], [24.70007, 30.04419], [25.00000000000011, 29.238654529533552], [25.00000000000011, 25.682499996360995], [25.00000000000011, 22.0], [25.00000000000011, 20.00304], [23.850000000000129, 20.0], [23.837660000000135, 19.580470000000101], [19.84926, 21.49509], [15.86085, 23.40972], [14.8513, 22.862950000000119]]] } }, - { "type": "Feature", "properties": { "admin": "Sri Lanka", "name": "Sri Lanka", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[81.787959018891371, 7.523055324733162], [81.637322218760573, 6.481775214051921], [81.218019647144317, 6.197141424988287], [80.348356968104397, 5.968369859232154], [79.872468703128519, 6.763463446474928], [79.6951668639351, 8.200843410673384], [80.147800734379629, 9.824077663609554], [80.838817986986541, 9.268426825391186], [81.304319289071756, 8.564206244333688], [81.787959018891371, 7.523055324733162]]] } }, - { "type": "Feature", "properties": { "admin": "Lesotho", "name": "Lesotho", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[28.978262566857236, -28.955596612261708], [29.325166456832587, -29.257386976846245], [29.018415154748016, -29.743765557577362], [28.848399692507734, -30.070050551068245], [28.291069370239903, -30.226216729454293], [28.107204624145421, -30.545732110314944], [27.749397006956478, -30.645105889612214], [26.999261915807629, -29.875953871379977], [27.532511020627471, -29.242710870075353], [28.07433841320778, -28.851468601193581], [28.541700066855491, -28.647501722937562], [28.978262566857236, -28.955596612261708]]] } }, - { "type": "Feature", "properties": { "admin": "Lithuania", "name": "Lithuania", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[22.731098667092649, 54.327536932993311], [22.651051873472536, 54.582740993866729], [22.757763706155256, 54.856574408581366], [22.31572350433057, 55.01529857036585], [21.26844892750346, 55.190481675835301], [21.05580040862241, 56.031076361711051], [22.201156853939491, 56.337801825579483], [23.878263787539957, 56.273671373105259], [24.860684441840753, 56.372528388079616], [25.000934279080887, 56.164530748104831], [25.533046502390327, 56.100296942766029], [26.494331495883749, 55.61510691997762], [26.588279249790386, 55.167175604871659], [25.768432651479792, 54.846962592175082], [25.536353794056989, 54.282423407602515], [24.45068362803703, 53.905702216194747], [23.484127638449841, 53.912497667041123], [23.243987257589506, 54.220566718149129], [22.731098667092649, 54.327536932993311]]] } }, - { "type": "Feature", "properties": { "admin": "Luxembourg", "name": "Luxembourg", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[6.043073357781109, 50.128051662794221], [6.242751092156992, 49.90222565367872], [6.186320428094176, 49.4638028021145], [5.897759230176403, 49.442667141307012], [5.674051954784828, 49.52948354755749], [5.782417433300905, 50.090327867221205], [6.043073357781109, 50.128051662794221]]] } }, - { "type": "Feature", "properties": { "admin": "Latvia", "name": "Latvia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[21.05580040862241, 56.031076361711051], [21.090423618257965, 56.783872789122924], [21.581866489353668, 57.411870632549913], [22.524341261492872, 57.753374335350756], [23.31845299652209, 57.006236477274854], [24.120729607853423, 57.025692654032753], [24.312862583114615, 57.793423570376966], [25.164593540149262, 57.970156968815175], [25.602809685984365, 57.847528794986559], [26.46353234223778, 57.476388658266316], [27.288184848751509, 57.474528306703817], [27.770015903440925, 57.244258124411218], [27.855282016722519, 56.759326483784278], [28.17670942557799, 56.169129950578807], [27.102459751094525, 55.783313707087672], [26.494331495883749, 55.61510691997762], [25.533046502390327, 56.100296942766029], [25.000934279080887, 56.164530748104831], [24.860684441840753, 56.372528388079616], [23.878263787539957, 56.273671373105259], [22.201156853939491, 56.337801825579483], [21.05580040862241, 56.031076361711051]]] } }, - { "type": "Feature", "properties": { "admin": "Morocco", "name": "Morocco", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-5.193863491222031, 35.755182196590845], [-4.591006232105143, 35.330711981745644], [-3.640056525070007, 35.39985504815197], [-2.604305792644111, 35.17909332940112], [-2.169913702798624, 35.168396307916694], [-1.792985805661658, 34.527918606091298], [-1.73345455566141, 33.919712836232115], [-1.388049282222596, 32.864015000941372], [-1.124551153966195, 32.651521511357195], [-1.30789913573787, 32.262888902306024], [-2.616604783529567, 32.094346218386157], [-3.068980271812648, 31.724497992473285], [-3.647497931320145, 31.637294012980814], [-3.690441046554666, 30.896951605751152], [-4.859646165374442, 30.501187649043874], [-5.242129278982786, 30.00044302013557], [-6.060632290053745, 29.731699734001801], [-7.059227667661899, 29.57922842052465], [-8.67411617678283, 28.841288967396643], [-8.665589565454836, 27.656425889592462], [-8.817809007940523, 27.656425889592462], [-8.817828334986642, 27.656425889592462], [-8.794883999049032, 27.120696316022553], [-9.413037482124507, 27.088476060488539], [-9.735343390328749, 26.860944729107409], [-10.189424200877452, 26.860944729107409], [-10.551262579785258, 26.990807603456879], [-11.392554897496948, 26.883423977154386], [-11.718219773800339, 26.104091701760801], [-12.030758836301654, 26.030866197203121], [-12.500962693725368, 24.770116278578136], [-13.891110398809044, 23.691009019459383], [-14.22116777185715, 22.310163072188338], [-14.630832688850942, 21.860939846274867], [-14.750954555713404, 21.500600083903802], [-17.002961798561071, 21.42073415779668], [-17.020428432675768, 21.422310288981631], [-16.973247849993182, 21.88574453377495], [-16.589136928767626, 22.158234361250091], [-16.26192175949566, 22.679339504481273], [-16.326413946995896, 23.017768459560894], [-15.982610642958059, 23.723358466074096], [-15.426003790742183, 24.359133612561035], [-15.089331834360729, 24.520260728446964], [-14.824645148161689, 25.103532619725307], [-14.800925665739666, 25.636264960222285], [-14.439939947964827, 26.254418443297645], [-13.773804897506462, 26.618892320252279], [-13.13994177901429, 27.640147813420491], [-13.121613369914709, 27.654147671719805], [-12.61883663578311, 28.038185533148656], [-11.688919236690761, 28.148643907172577], [-10.9009569971044, 28.832142238880913], [-10.39959225100864, 29.09858592377778], [-9.564811163765624, 29.933573716749855], [-9.814718390329174, 31.177735500609053], [-9.434793260119362, 32.038096421836478], [-9.300692918321827, 32.564679266890629], [-8.657476365585039, 33.24024526624239], [-7.654178432638217, 33.697064927702506], [-6.912544114601358, 34.11047638603744], [-6.24434200685141, 35.145865383437517], [-5.929994269219832, 35.759988104793983], [-5.193863491222031, 35.755182196590845]]] } }, - { "type": "Feature", "properties": { "admin": "Moldova", "name": "Moldova", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[26.619336785597788, 48.220726223333457], [26.857823520624798, 48.368210761094488], [27.52253746919515, 48.467119452501102], [28.259546746541837, 48.155562242213406], [28.670891147585163, 48.118148505234089], [29.122698195113024, 47.849095160506458], [29.050867954227321, 47.510226955752493], [29.415135125452732, 47.346645209332571], [29.559674106573105, 46.928582872091312], [29.908851759569295, 46.67436066343145], [29.838210076626289, 46.525325832701675], [30.024658644335364, 46.423936672545032], [29.759971958136383, 46.349987697935354], [29.170653924279879, 46.379262396828693], [29.072106967899288, 46.517677720722482], [28.862972446414055, 46.437889309263824], [28.933717482221621, 46.258830471372491], [28.659987420371575, 45.939986884131628], [28.48526940279276, 45.596907050145887], [28.233553501099035, 45.488283189468369], [28.054442986775392, 45.944586086605618], [28.160017937947707, 46.371562608417207], [28.128030226359037, 46.81047638608824], [27.551166212684841, 47.405117092470817], [27.233872918412736, 47.826770941756365], [26.924176059687561, 48.123264472030982], [26.619336785597788, 48.220726223333457]]] } }, - { "type": "Feature", "properties": { "admin": "Madagascar", "name": "Madagascar", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[49.543518914595737, -12.469832858940553], [49.80898074727908, -12.895284925999551], [50.05651085795715, -13.555761407121981], [50.217431268114055, -14.758788750876795], [50.476536899625515, -15.226512139550541], [50.377111443895942, -15.706069431219122], [50.200274692593169, -16.000263360256763], [49.860605503138665, -15.414252618066913], [49.672606642460849, -15.710203545802477], [49.863344354050142, -16.451036879138773], [49.774564243372694, -16.875042006093597], [49.49861209493411, -17.10603565843827], [49.435618523970298, -17.953064060134363], [49.04179243347393, -19.118781019774442], [48.548540887247995, -20.496888116134119], [47.930749139198653, -22.391501153251077], [47.547723423051295, -23.781958916928513], [47.095761346226588, -24.941629733990446], [46.282477654817079, -25.178462823184102], [45.409507684110444, -25.601434421493082], [44.833573846217547, -25.346101169538933], [44.039720493349755, -24.9883452287823], [43.763768344911156, -24.460677178649988], [43.697777540874441, -23.574116306250595], [43.345654331237611, -22.77690398528387], [43.254187046080986, -22.057413018484116], [43.433297560404633, -21.336475111580185], [43.893682895692919, -21.163307386970121], [43.89637007017209, -20.830459486578167], [44.374325392439644, -20.072366224856385], [44.464397413924374, -19.435454196859045], [44.23242190936616, -18.961994724200899], [44.042976108584149, -18.331387220943167], [43.963084344260899, -17.409944756746778], [44.312468702986273, -16.850495700754951], [44.446517368351387, -16.216219170804504], [44.944936557806521, -16.179373874580396], [45.502731967964976, -15.974373467678538], [45.872993605336255, -15.793454278224681], [46.312243279817203, -15.780018405828795], [46.882182651564271, -15.210182386946309], [47.70512983581235, -14.594302666891762], [48.005214878131241, -14.091232598530372], [47.869047479042152, -13.663868503476582], [48.29382775248137, -13.784067884987483], [48.845060255738773, -13.08917489995866], [48.863508742066976, -12.487867933810417], [49.194651320193302, -12.040556735891967], [49.543518914595737, -12.469832858940553]]] } }, - { "type": "Feature", "properties": { "admin": "Mexico", "name": "Mexico", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-97.140008307670684, 25.869997463478395], [-97.528072475966539, 24.992144069920297], [-97.702945522842214, 24.272343044526728], [-97.776041836319024, 22.932579860927653], [-97.872366706111094, 22.444211737553356], [-97.699043952204164, 21.898689480064256], [-97.388959520236739, 21.411018988525818], [-97.189333462293277, 20.635433254473124], [-96.525575527720306, 19.890930894444061], [-96.292127244841737, 19.32037140550954], [-95.90088497595994, 18.828024196848727], [-94.8390634834427, 18.562717393462204], [-94.425729539756205, 18.144370835843343], [-93.548651292682365, 18.423836981677933], [-92.786113857783477, 18.524838568592255], [-92.037348192090391, 18.704569200103432], [-91.407903408559235, 18.876083278880227], [-90.771869879910852, 19.284120388256778], [-90.533589850613026, 19.867418117751292], [-90.451475999701231, 20.707521877520428], [-90.278618333684889, 20.999855454995547], [-89.601321173851474, 21.261725775634485], [-88.543866339862845, 21.493675441976613], [-87.658416510757704, 21.458845526611977], [-87.051890224948053, 21.543543199138295], [-86.811982388032931, 21.331514797444747], [-86.845907965832595, 20.849864610268348], [-87.383291185235848, 20.255404771398727], [-87.621054450210721, 19.646553046135917], [-87.436750454441764, 19.472403469312265], [-87.586560431655911, 19.040130113190738], [-87.837191128271485, 18.259815985583426], [-88.090664028663156, 18.516647854074048], [-88.300031094093626, 18.499982204659997], [-88.490122850279278, 18.486830552641717], [-88.84834387892657, 17.883198147040329], [-89.029857347351737, 18.001511338772556], [-89.150909389995462, 17.955467637600403], [-89.143080410503316, 17.808318996649401], [-90.067933519230891, 17.819326076727517], [-91.001519945015943, 17.817594916245692], [-91.002269253284155, 17.254657701074272], [-91.453921271515114, 17.252177232324183], [-91.08167009150057, 16.918476670799517], [-90.711821865587623, 16.687483018454767], [-90.600846727240921, 16.470777899638787], [-90.438866950221993, 16.410109768128105], [-90.464472622422633, 16.069562079324722], [-91.747960171255926, 16.066564846251762], [-92.229248623406278, 15.251446641495871], [-92.087215949252013, 15.06458466232851], [-92.203229539747255, 14.830102850804108], [-92.227750006869812, 14.538828640190953], [-93.359463874061746, 15.61542959234367], [-93.875168830118511, 15.94016429286591], [-94.691656460330108, 16.20097524664288], [-95.250227016973014, 16.128318182840641], [-96.053382127653293, 15.752087917539592], [-96.557434048228274, 15.653515122942787], [-97.263592495496624, 15.917064927631312], [-98.013029954809596, 16.107311713113912], [-98.947675747456486, 16.566043402568763], [-99.697397427147024, 16.706164048728166], [-100.829498867581293, 17.171071071842047], [-101.666088629954444, 17.649026394109622], [-101.918528001700196, 17.916090196193974], [-102.478132086988907, 17.975750637275095], [-103.500989549558057, 18.292294623278845], [-103.917527432046811, 18.748571682200005], [-104.992009650475467, 19.316133938061679], [-105.493038499761411, 19.946767279535429], [-105.731396043707633, 20.434101874264108], [-105.397772996831321, 20.531718654863422], [-105.500660773524402, 20.816895046466122], [-105.27075232625792, 21.076284898355137], [-105.265817226974022, 21.422103583252348], [-105.603160976975374, 21.871145941652568], [-105.693413865973113, 22.269080308516148], [-106.028716396898943, 22.77375234627862], [-106.909980434988341, 23.767774359628895], [-107.91544877809136, 24.548915310152946], [-108.401904873470954, 25.172313951105931], [-109.260198737406625, 25.580609442644054], [-109.444089321717314, 25.824883938087673], [-109.291643846456267, 26.44293406829842], [-109.801457689231796, 26.676175645447923], [-110.391731737085692, 27.162114976504533], [-110.641018846461606, 27.859876003525521], [-111.178918830187826, 27.941240546169062], [-111.759606899851619, 28.467952582303944], [-112.228234626090369, 28.954408677683482], [-112.27182369672866, 29.266844387320074], [-112.80959448937395, 30.021113593052341], [-113.163810594518651, 30.786880804969424], [-113.148669399857141, 31.170965887978912], [-113.871881069781836, 31.56760834403519], [-114.205736660603506, 31.524045111613123], [-114.776451178835003, 31.79953217216114], [-114.936699795372121, 31.393484605427595], [-114.771231859173483, 30.91361725516526], [-114.673899298951739, 30.162681179315985], [-114.330974494262918, 29.750432440707407], [-113.588875088335413, 29.061611436473008], [-113.424053107540516, 28.826173610951223], [-113.271969367305502, 28.754782619739892], [-113.140039435664363, 28.411289374295954], [-112.962298346796473, 28.425190334582503], [-112.761587083774856, 27.78021678314752], [-112.457910529411635, 27.525813706974752], [-112.24495195193677, 27.171726792910754], [-111.616489020619184, 26.662817287700474], [-111.284674648872993, 25.732589830014426], [-110.987819383572386, 25.294606228124557], [-110.71000688357131, 24.826004340101854], [-110.655048997828871, 24.298594672131113], [-110.17285620811343, 24.265547593680417], [-109.771847093528521, 23.811182562754194], [-109.409104377055698, 23.364672349536242], [-109.433392300232896, 23.185587673428696], [-109.85421932660168, 22.818271592698061], [-110.031391974714424, 22.823077500901199], [-110.295070970483636, 23.430973212166684], [-110.949501309028022, 24.000964260345988], [-111.670568407012681, 24.484423122652508], [-112.182035895621468, 24.73841278736716], [-112.148988817170817, 25.470125230404044], [-112.300710822379671, 26.012004299416613], [-112.777296719191526, 26.321959540303162], [-113.464670783321907, 26.768185533143416], [-113.596729906043805, 26.639459540304465], [-113.848936733844241, 26.900063788352437], [-114.465746629680027, 27.142090358991361], [-115.055142178184965, 27.722726752222904], [-114.982252570437382, 27.798200181585109], [-114.570365566854917, 27.741485297144884], [-114.199328782999231, 28.115002549750553], [-114.162018398884612, 28.566111965442296], [-114.931842210736605, 29.279479275015483], [-115.518653937626965, 29.556361599235395], [-115.887365282029563, 30.180793768834171], [-116.2583503894529, 30.836464341753572], [-116.721526252084956, 31.635743720012037], [-117.127759999999839, 32.53534], [-115.99135, 32.612390000000111], [-114.72139, 32.72083], [-114.815, 32.52528], [-113.30498, 32.03914], [-111.02361, 31.33472], [-109.035, 31.341940000000129], [-108.24194, 31.34222], [-108.24, 31.754853718166366], [-106.507589999999851, 31.75452], [-106.1429, 31.39995], [-105.63159, 31.08383], [-105.03737, 30.64402], [-104.70575, 30.12173], [-104.456969999999885, 29.57196], [-103.94, 29.27], [-103.11, 28.97], [-102.48, 29.76], [-101.6624, 29.7793], [-100.9576, 29.380710000000125], [-100.45584, 28.696120000000118], [-100.11, 28.11000000000012], [-99.52, 27.54], [-99.3, 26.84], [-99.019999999999897, 26.37], [-98.24, 26.06], [-97.529999999999887, 25.84], [-97.140008307670684, 25.869997463478395]]] } }, - { "type": "Feature", "properties": { "admin": "Macedonia", "name": "Macedonia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[20.59023, 41.85541], [20.717310000000108, 41.84711], [20.76216, 42.05186], [21.352700000000134, 42.2068], [21.576635989402117, 42.245224397061847], [21.917080000000105, 42.30364], [22.380525750424674, 42.320259507815074], [22.881373732197339, 41.999297186850349], [22.952377150166505, 41.337993882811176], [22.76177, 41.3048], [22.597308383889008, 41.130487168943198], [22.055377638444266, 41.149865831052686], [21.674160597426969, 40.93127452245794], [21.020040317476397, 40.842726955725873], [20.60518, 41.08622], [20.46315, 41.51509], [20.59023, 41.85541]]] } }, - { "type": "Feature", "properties": { "admin": "Mali", "name": "Mali", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-12.170750291380299, 14.616834214735503], [-11.834207526079465, 14.799096991428936], [-11.666078253617853, 15.388208319556295], [-11.349095017939502, 15.411256008358475], [-10.650791388379414, 15.132745876521422], [-10.086846482778212, 15.330485744686269], [-9.700255092802703, 15.264107367407359], [-9.550238409859388, 15.486496893775435], [-5.537744309908446, 15.501689764869253], [-5.315277268891931, 16.201853745991837], [-5.488522508150438, 16.325102037007962], [-5.971128709324247, 20.640833441647626], [-6.453786586930334, 24.956590684503418], [-4.92333736817423, 24.974574082940993], [-1.550054897457613, 22.792665920497377], [1.823227573259032, 20.61080943448604], [2.060990838233919, 20.142233384679482], [2.683588494486428, 19.856230170160114], [3.146661004253899, 19.693578599521441], [3.158133172222704, 19.057364203360034], [4.267419467800038, 19.155265204336995], [4.270209995143801, 16.852227484601212], [3.723421665063482, 16.184283759012612], [3.638258904646476, 15.568119818580453], [2.749992709981483, 15.409524847876693], [1.385528191746857, 15.323561102759168], [1.01578331869851, 14.968182277887944], [0.374892205414682, 14.928908189346128], [-0.26625729003058, 14.924308986872147], [-0.515854458000348, 15.116157741755725], [-1.066363491205663, 14.973815009007764], [-2.001035122068771, 14.559008287000887], [-2.191824510090384, 14.246417548067352], [-2.967694464520576, 13.798150336151506], [-3.103706834312759, 13.54126679122859], [-3.52280270019986, 13.337661647998612], [-4.006390753587225, 13.472485459848112], [-4.280405035814879, 13.228443508349738], [-4.427166103523802, 12.542645575404292], [-5.220941941743119, 11.713858954307224], [-5.197842576508648, 11.375145778850136], [-5.470564947929004, 10.951269842976044], [-5.404341599946973, 10.370736802609144], [-5.816926235365286, 10.222554633012191], [-6.050452032892266, 10.096360785355442], [-6.205222947606429, 10.524060777219132], [-6.493965013037267, 10.411302801958268], [-6.666460944027547, 10.430810655148447], [-6.850506557635057, 10.138993841996237], [-7.622759161804808, 10.147236232946792], [-7.89958980959237, 10.297382106970824], [-8.029943610048617, 10.206534939001711], [-8.335377163109738, 10.494811916541932], [-8.282357143578279, 10.792597357623842], [-8.407310756860026, 10.90925690352276], [-8.620321010767126, 10.810890814655181], [-8.581305304386772, 11.136245632364801], [-8.376304897484911, 11.393645941610627], [-8.786099005559462, 11.812560939984705], [-8.905264858424529, 12.088358059126433], [-9.127473517279581, 12.308060411015331], [-9.327616339546008, 12.334286200403451], [-9.567911749703212, 12.194243068892472], [-9.890992804392011, 12.060478623904968], [-10.165213792348835, 11.844083563682743], [-10.593223842806278, 11.923975328005977], [-10.870829637078211, 12.177887478072106], [-11.036555955438256, 12.211244615116513], [-11.297573614944508, 12.077971096235768], [-11.456168585648269, 12.076834214725336], [-11.513942836950587, 12.442987575729415], [-11.467899135778522, 12.754518947800973], [-11.553397793005427, 13.141213690641063], [-11.927716030311613, 13.422075100147392], [-12.124887457721256, 13.994727484589784], [-12.170750291380299, 14.616834214735503]]] } }, - { "type": "Feature", "properties": { "admin": "Myanmar", "name": "Myanmar", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[99.543309360759281, 20.186597601802056], [98.959675734454848, 19.752980658440944], [98.253723992915582, 19.708203029860041], [97.797782830804394, 18.627080389881751], [97.375896437573516, 18.445437730375811], [97.859122755934848, 17.567946071843657], [98.493761020911322, 16.837835598207928], [98.90334842325673, 16.177824204976115], [98.537375929765687, 15.308497422746081], [98.192074009191373, 15.123702500870349], [98.430819126379859, 14.622027696180831], [99.097755161538728, 13.827502549693275], [99.212011753336071, 13.269293728076462], [99.196353794351637, 12.804748439988666], [99.587286004639694, 11.892762762901695], [99.038120558673953, 10.960545762572435], [98.553550653073017, 9.932959906448543], [98.457174106848697, 10.675266018105146], [98.764545526120756, 11.441291612183745], [98.428338657629823, 12.032986761925681], [98.509574009192661, 13.122377631070675], [98.103603957107666, 13.64045970301285], [97.777732375075161, 14.837285874892638], [97.597071567782749, 16.100567938699765], [97.164539829499773, 16.928734442609336], [96.505768670642965, 16.427240505432845], [95.369352248112378, 15.714389960182599], [94.808404575584092, 15.803454291237637], [94.188804152404515, 16.037936102762014], [94.533485955791321, 17.277240301985724], [94.324816522196741, 18.213513902249893], [93.540988397193615, 19.366492621330021], [93.663254835996199, 19.726961574781992], [93.078277622452163, 19.855144965081973], [92.368553501355606, 20.670883287025344], [92.30323449093865, 21.475485337809815], [92.652257114637976, 21.324047552978481], [92.672720981825549, 22.041238918541247], [93.166127557348361, 22.278459580977099], [93.060294224014598, 22.703110663335565], [93.286326938859247, 23.043658352138998], [93.325187615942767, 24.078556423432197], [94.106741977925054, 23.850740871673477], [94.552657912171611, 24.675238348890328], [94.603249139385355, 25.162495428970399], [95.155153436262566, 26.001307277932078], [95.124767694074933, 26.573572089132295], [96.419365675850941, 27.264589341739221], [97.133999058015277, 27.08377350514996], [97.051988559968066, 27.699058946233144], [97.402561476636123, 27.88253611908544], [97.327113885490007, 28.261582749946331], [97.91198774616943, 28.335945136014338], [98.24623091023328, 27.747221381129172], [98.682690057370451, 27.508812160750612], [98.712093947344499, 26.74353587494026], [98.671838006589127, 25.918702500913518], [97.724609002679117, 25.083637193292994], [97.604719679761956, 23.897404690033039], [98.660262485755737, 24.063286037689959], [98.898749220782747, 23.142722072842524], [99.531992222087382, 22.949038804612574], [99.240898878987224, 22.118314317304577], [99.983489211021464, 21.742936713136398], [100.416537713627349, 21.558839423096607], [101.150032993578222, 21.849984442629015], [101.180005324307515, 21.436572984294024], [100.329101190189519, 20.786121731036229], [100.115987583417819, 20.41784963630818], [99.543309360759281, 20.186597601802056]]] } }, - { "type": "Feature", "properties": { "admin": "Montenegro", "name": "Montenegro", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[19.801613396898681, 42.500093492190835], [19.738051385179627, 42.688247382165564], [19.30449, 42.19574], [19.371770000000136, 41.87755], [19.16246, 41.95502], [18.88214, 42.28151], [18.45, 42.48], [18.56, 42.65], [18.70648, 43.20011], [19.03165, 43.43253], [19.21852, 43.52384], [19.48389, 43.35229], [19.63, 43.213779970270522], [19.95857, 43.10604], [20.3398, 42.89852], [20.25758, 42.81275], [20.0707, 42.58863], [19.801613396898681, 42.500093492190835]]] } }, - { "type": "Feature", "properties": { "admin": "Mongolia", "name": "Mongolia", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[87.751264276076697, 49.297197984405479], [88.805566847695488, 49.470520738312409], [90.713667433640666, 50.331811835321076], [92.234711541719662, 50.802170722041716], [93.104219191462661, 50.495290228876414], [94.147566359435615, 50.480536607457083], [94.815949334698701, 50.013433335970838], [95.814027947983973, 49.977466539095708], [97.259727817781396, 49.726060695995727], [98.231761509191543, 50.422400621128737], [97.825739780674283, 51.010995184933165], [98.861490513100307, 52.047366034546684], [99.981732212323507, 51.634006252643978], [100.889480421962588, 51.516855780638316], [102.065222609467298, 51.25992055928311], [102.255908644624299, 50.510560614618669], [103.676545444760194, 50.089966132195109], [104.621552362081687, 50.275329494826067], [105.886591424586726, 50.406019192092209], [106.888804152455336, 50.274295966180219], [107.868175897250936, 49.793705145865808], [108.475167270951275, 49.282547715850725], [109.402449171996636, 49.292960516957535], [110.662010532678764, 49.130128078805861], [111.581230910286607, 49.377968248077678], [112.897739699354361, 49.543565375356984], [114.362456496235239, 50.248302720737399], [114.962109816550154, 50.140247300815112], [115.485695428531386, 49.805177313834591], [116.678800897286152, 49.888531399121376], [116.191802199367544, 49.134598090199091], [115.485282017073018, 48.135382595403428], [115.742837355615748, 47.726544501326273], [116.308952671373206, 47.853410142602826], [117.295507440257396, 47.69770905210742], [118.064142694166691, 48.066730455103674], [118.866574334794933, 47.747060044946153], [119.772823927897477, 47.048058783550125], [119.66326989143873, 46.692679958678909], [118.874325799638711, 46.805412095723646], [117.421701287914175, 46.672732855814253], [116.717868280098841, 46.388202419615205], [115.985096470200062, 45.727235012385989], [114.46033165899604, 45.339816799493811], [113.463906691544139, 44.808893134127111], [112.436062453258785, 45.011645616224278], [111.873306105600278, 45.102079372735055], [111.348376906379428, 44.457441718110083], [111.667737257943202, 44.073175767587706], [111.829587843881342, 43.743118394539515], [111.129682244920218, 43.406834011400136], [110.412103306115256, 42.871233628911014], [109.243595819131428, 42.519446316084093], [107.744772576937933, 42.481515814781865], [106.129315627061658, 42.134327704428898], [104.964993931093446, 41.597409572916334], [104.522281935648977, 41.908346666016541], [103.312278273534787, 41.907468166667591], [101.833040399179922, 42.51487295182627], [100.845865513108237, 42.663804429691439], [99.515817498780009, 42.524691473961717], [97.451757440177985, 42.748889675460013], [96.349395786527793, 42.725635280928678], [95.762454868556674, 43.319449164394598], [95.306875441471504, 44.241330878265458], [94.688928664125299, 44.352331854828414], [93.480733677141274, 44.975472113619951], [92.133890822318193, 45.115075995456444], [90.945539585334288, 45.286073309910265], [90.585768263718265, 45.719716091487513], [90.970809360724985, 46.888146063822923], [90.280825636763893, 47.693549099307923], [88.854297723346733, 48.06908173277295], [88.013832228551721, 48.599462795600601], [87.751264276076697, 49.297197984405479]]] } }, - { "type": "Feature", "properties": { "admin": "Mozambique", "name": "Mozambique", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[34.559989047999345, -11.520020033415923], [35.312397902169032, -11.439146416879145], [36.514081658684248, -11.720938002166733], [36.775150994622791, -11.594537448780804], [37.471284214026596, -11.568750909067157], [37.827644891111383, -11.268769219612834], [38.427556593587745, -11.285202325081654], [39.521029900883768, -10.896853936408224], [40.316588576017182, -10.317096042525696], [40.478387485523022, -10.765440769089992], [40.437253045418672, -11.761710707245014], [40.560811395028558, -12.639176527561023], [40.599620395679743, -14.201975192931858], [40.775475294768988, -14.691764418194239], [40.477250604012596, -15.406294447493968], [40.089263950365208, -16.100774021064456], [39.452558628097044, -16.720891208566936], [38.53835086442151, -17.101023044505954], [37.411132846838875, -17.586368096591233], [36.281279331209348, -18.659687595293445], [35.896496616364054, -18.842260430580634], [35.198399692533137, -19.552811374593887], [34.786383497870041, -19.784011732667732], [34.701892531072836, -20.497043145431007], [35.176127150215358, -21.254361260668407], [35.373427768705731, -21.840837090748874], [35.385848253705397, -22.14], [35.562545536369079, -22.09], [35.533934767404297, -23.070787855727751], [35.371774122872374, -23.535358982031692], [35.607470330555621, -23.706563002214676], [35.458745558419615, -24.122609958596545], [35.040734897610655, -24.478350518493798], [34.215824008935463, -24.816314385682652], [33.013210076639005, -25.357573337507731], [32.574632195777859, -25.727318210556088], [32.660363396950082, -26.148584486599443], [32.915955031065685, -26.215867201443459], [32.830120477028878, -26.74219166433619], [32.071665480281062, -26.733820082304902], [31.985779249811962, -26.29177988048022], [31.837777947728057, -25.843331801051342], [31.752408481581874, -25.484283949487406], [31.930588820124242, -24.369416599222532], [31.670397983534645, -23.658969008073861], [31.191409132621278, -22.251509698172395], [32.244988234188007, -21.116488539313689], [32.508693068173436, -20.395292250248303], [32.659743279762573, -20.30429005298231], [32.772707960752619, -19.715592136313294], [32.611994256324884, -19.419382826416268], [32.654885695127142, -18.672089939043492], [32.849860874164385, -17.979057305577175], [32.847638787575839, -16.713398125884613], [32.328238966610222, -16.392074069893749], [31.852040643040592, -16.319417006091374], [31.636498243951188, -16.071990248277881], [31.173063999157673, -15.860943698797868], [30.338954705534537, -15.880839125230242], [30.274255812305103, -15.507786960515208], [30.179481235481827, -14.796099134991525], [33.214024692525207, -13.97186003993615], [33.789700148256678, -14.451830743063068], [34.064825473778619, -14.359950046448118], [34.459633416488536, -14.613009535381421], [34.517666049952304, -15.013708591372609], [34.307291294092089, -15.478641452702592], [34.381291945134045, -16.183559665596039], [35.033810255683527, -16.801299737213089], [35.339062941231639, -16.107440280830108], [35.771904738108347, -15.896858819240721], [35.686845330555926, -14.611045830954328], [35.267956170398001, -13.887834161029563], [34.907151320136158, -13.565424899960565], [34.559989047999345, -13.579997653866872], [34.280006137841973, -12.280025323132504], [34.559989047999345, -11.520020033415923]]] } }, - { "type": "Feature", "properties": { "admin": "Mauritania", "name": "Mauritania", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-12.170750291380299, 14.616834214735503], [-12.830658331747513, 15.303691514542942], [-13.43573767745306, 16.039383042866188], [-14.099521450242175, 16.304302273010489], [-14.577347581428977, 16.598263658102805], [-15.135737270558813, 16.587282416240779], [-15.623666144258689, 16.369337063049809], [-16.120690070041928, 16.45566254319338], [-16.463098110407881, 16.135036119038457], [-16.549707810929061, 16.673892116761959], [-16.270551723688353, 17.166962795474866], [-16.146347418674846, 18.108481553616652], [-16.256883307347163, 19.096715806550304], [-16.377651129613266, 19.593817246981981], [-16.277838100641514, 20.092520656814695], [-16.536323614965465, 20.567866319251486], [-17.063423224342568, 20.99975210213082], [-16.845193650773989, 21.333323472574875], [-12.929101935263528, 21.327070624267559], [-13.118754441774708, 22.771220201096249], [-12.874221564169574, 23.284832261645171], [-11.93722449385332, 23.374594224536164], [-11.969418911171159, 25.933352769468261], [-8.687293667017398, 25.881056219988899], [-8.684399786809051, 27.395744126895998], [-4.92333736817423, 24.974574082940993], [-6.453786586930334, 24.956590684503418], [-5.971128709324247, 20.640833441647626], [-5.488522508150438, 16.325102037007962], [-5.315277268891931, 16.201853745991837], [-5.537744309908446, 15.501689764869253], [-9.550238409859388, 15.486496893775435], [-9.700255092802703, 15.264107367407359], [-10.086846482778212, 15.330485744686269], [-10.650791388379414, 15.132745876521422], [-11.349095017939502, 15.411256008358475], [-11.666078253617853, 15.388208319556295], [-11.834207526079465, 14.799096991428936], [-12.170750291380299, 14.616834214735503]]] } }, - { "type": "Feature", "properties": { "admin": "Malawi", "name": "Malawi", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[34.559989047999345, -11.520020033415923], [34.280006137841973, -12.280025323132504], [34.559989047999345, -13.579997653866872], [34.907151320136158, -13.565424899960565], [35.267956170398001, -13.887834161029563], [35.686845330555926, -14.611045830954328], [35.771904738108347, -15.896858819240721], [35.339062941231639, -16.107440280830108], [35.033810255683527, -16.801299737213089], [34.381291945134045, -16.183559665596039], [34.307291294092089, -15.478641452702592], [34.517666049952304, -15.013708591372609], [34.459633416488536, -14.613009535381421], [34.064825473778619, -14.359950046448118], [33.789700148256678, -14.451830743063068], [33.214024692525207, -13.97186003993615], [32.688165317523122, -13.712857761289273], [32.991764357237876, -12.783870537978272], [33.306422153463068, -12.435778090060214], [33.114289178201908, -11.607198174692311], [33.315310499817279, -10.796549981329695], [33.485687697083584, -10.525558770391111], [33.231387973775291, -9.676721693564799], [32.759375441221316, -9.230599053589058], [33.739729038230443, -9.417150974162722], [33.940837724096532, -9.693673841980292], [34.280006137841973, -10.159999688358402], [34.559989047999345, -11.520020033415923]]] } }, - { "type": "Feature", "properties": { "admin": "Malaysia", "name": "Malaysia", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[101.075515578213299, 6.204867051615891], [101.154218784593809, 5.691384182147713], [101.814281854258013, 5.810808417174228], [102.141186964936423, 6.221636053894655], [102.371147088635212, 6.12820506431096], [102.961705356866673, 5.524495144061077], [103.381214634212142, 4.855001125503746], [103.438575474056165, 4.181605536308381], [103.332122023534851, 3.72669790284297], [103.42942874554052, 3.382868760589019], [103.502447544368877, 2.791018581550204], [103.854674106870334, 2.515454006353763], [104.247931756611479, 1.631141058759055], [104.228811476663523, 1.293048000489534], [103.519707472754433, 1.226333726400682], [102.573615350354771, 1.967115383304744], [101.39063846232915, 2.760813706875623], [101.273539666755838, 3.27029165284118], [100.69543541870668, 3.939139715994869], [100.557407668055092, 4.767280381688279], [100.19670617065772, 5.312492580583678], [100.306260207116509, 6.040561835143875], [100.085756870527078, 6.46448944745029], [100.259596388756918, 6.64282481528957], [101.075515578213299, 6.204867051615891]]], [[[118.618320754064825, 4.47820241944754], [117.882034946770162, 4.137551377779487], [117.01521447150634, 4.306094061699468], [115.86551720587677, 4.306559149590156], [115.51907840379198, 3.169238389494395], [115.134037306785231, 2.821481838386219], [114.621355422017473, 1.430688177898886], [113.805849644019531, 1.217548732911041], [112.859809198052176, 1.497790025229946], [112.380251906383648, 1.410120957846757], [111.797548455860408, 0.904441229654651], [111.159137811326559, 0.976478176269509], [110.514060907027101, 0.773131415200993], [109.830226678508836, 1.338135687664191], [109.663260125773718, 2.006466986494984], [110.396135288537039, 1.663774725751395], [111.168852980597478, 1.850636704918784], [111.370081007942076, 2.697303371588872], [111.796928338672842, 2.885896511238073], [112.995614862115247, 3.102394924324869], [113.712935418758718, 3.893509426281127], [114.204016554828399, 4.525873928236819], [114.659595981913526, 4.00763682699781], [114.869557326315373, 4.348313706881952], [115.347460972150671, 4.316636053887009], [115.405700311343594, 4.955227565933824], [115.450710483869798, 5.447729803891561], [116.220741001450961, 6.143191229675621], [116.725102980619752, 6.924771429873998], [117.129626092600461, 6.928052883324566], [117.643393182446303, 6.422166449403305], [117.689075148592337, 5.98749013918018], [118.347691278152197, 5.708695786965462], [119.181903924639926, 5.407835598162249], [119.110693800941718, 5.016128241389864], [118.439727004064082, 4.966518866389619], [118.618320754064825, 4.47820241944754]]]] } }, - { "type": "Feature", "properties": { "admin": "Namibia", "name": "Namibia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[16.344976840895239, -28.576705010697697], [15.601818068105812, -27.821247247022797], [15.210472446359457, -27.09095590587404], [14.989710727608548, -26.117371921495153], [14.74321414557633, -25.392920017195376], [14.40814415859583, -23.85301401132984], [14.385716586981145, -22.656652927340687], [14.257714064194172, -22.111208184499951], [13.868642205468657, -21.699036960539974], [13.352497999737437, -20.872834161057497], [12.82684533046449, -19.673165785401661], [12.608564080463617, -19.045348809487695], [11.794918654028063, -18.069129327061912], [11.734198846085118, -17.30188933682447], [12.215461460019352, -17.11166838955808], [12.814081251688405, -16.941342868724067], [13.462362094789963, -16.971211846588769], [14.058501417709007, -17.42338062914266], [14.209706658595021, -17.353100681225715], [18.26330936043416, -17.309950860262003], [18.956186964603599, -17.789094740472255], [21.377176141045563, -17.930636488519688], [23.215048455506057, -17.52311614346598], [24.033861525170771, -17.29584319424632], [24.6823490740015, -17.35341073981947], [25.076950310982255, -17.578823337476617], [25.084443393664564, -17.661815687737366], [24.520705193792534, -17.887124932529932], [24.217364536239209, -17.889347019118485], [23.579005568137713, -18.281261081620055], [23.196858351339298, -17.869038181227783], [21.655040317478971, -18.219146010005222], [20.910641310314531, -18.252218926672018], [20.881134067475866, -21.814327080983144], [19.895457797940672, -21.849156996347865], [19.895767856534427, -24.767790215760588], [19.89473432788861, -28.461104831660769], [19.002127312911082, -28.972443129188857], [18.464899122804745, -29.045461928017271], [17.836151971109526, -28.856377862261311], [17.387497185951499, -28.783514092729774], [17.218928663815401, -28.355943291946804], [16.824017368240899, -28.082161553664466], [16.344976840895239, -28.576705010697697]]] } }, - { "type": "Feature", "properties": { "admin": "New Caledonia", "name": "New Caledonia", "continent": "Oceania" }, "geometry": { "type": "Polygon", "coordinates": [[[165.779989862326346, -21.080004978115621], [166.599991489933814, -21.700018812753523], [167.120011428086883, -22.159990736583488], [166.74003462144475, -22.399976088146943], [166.189732293968632, -22.129708347260447], [165.474375441752159, -21.679606621998229], [164.829815301775653, -21.149819838141948], [164.16799523341362, -20.444746595951624], [164.029605747735957, -20.105645847252347], [164.459967075862664, -20.120011895429492], [165.020036249041993, -20.459991143477726], [165.460009393575064, -20.800022067958253], [165.779989862326346, -21.080004978115621]]] } }, - { "type": "Feature", "properties": { "admin": "Niger", "name": "Niger", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[2.154473504249949, 11.940150051313422], [2.177107781593917, 12.625017808477534], [1.024103224297619, 12.851825669806598], [0.993045688490156, 13.335749620003865], [0.429927605805517, 13.988733018443893], [0.295646396495215, 14.444234930880663], [0.374892205414767, 14.928908189346144], [1.015783318698481, 14.968182277887989], [1.385528191746971, 15.323561102759237], [2.74999270998154, 15.409524847876751], [3.63825890464659, 15.56811981858044], [3.723421665063596, 16.184283759012654], [4.270209995143886, 16.852227484601311], [4.267419467800095, 19.155265204337123], [5.677565952180712, 19.601206976799794], [8.572893100629868, 21.565660712159225], [11.999505649471697, 23.471668402596432], [13.581424594790459, 23.040506089769274], [14.143870883855239, 22.491288967371126], [14.8513, 22.862950000000119], [15.096887648181847, 21.308518785074902], [15.471076694407314, 21.048457139565979], [15.487148064850143, 20.730414537025634], [15.90324669766431, 20.387618923417499], [15.68574059414777, 19.957180080642384], [15.300441114979716, 17.927949937405], [15.247731154041842, 16.627305813050778], [13.972201775781681, 15.684365953021139], [13.540393507550785, 14.36713369390122], [13.956698846094124, 13.996691189016925], [13.954476759505607, 13.353448798063765], [14.595781284247604, 13.330426947477859], [14.495787387762899, 12.859396267137353], [14.213530714584746, 12.80203542729333], [14.181336297266906, 12.483656927943169], [13.995352817448289, 12.4615652531383], [13.318701613018558, 13.55635630945795], [13.083987257548809, 13.596147162322492], [12.302071160540546, 13.037189032437535], [11.527803175511504, 13.328980007373556], [10.989593133191532, 13.387322699431191], [10.701031935273816, 13.246917832894038], [10.114814487354748, 13.277251898649464], [9.524928012743088, 12.85110219975456], [9.014933302454436, 12.826659247280414], [7.804671258178869, 13.343526923063731], [7.330746697630046, 13.098038031461213], [6.82044192874781, 13.115091254117598], [6.445426059605721, 13.492768459522718], [5.443058302440135, 13.865923977102225], [4.368343540066006, 13.747481594289408], [4.107945997747378, 13.531215725147941], [3.967282749048933, 12.956108710171574], [3.680633579125924, 12.552903347214167], [3.611180454125587, 11.660167141155965], [2.848643019226585, 12.235635891158207], [2.490163608418015, 12.233052069543588], [2.154473504249949, 11.940150051313422]]] } }, - { "type": "Feature", "properties": { "admin": "Nigeria", "name": "Nigeria", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[8.500287713259693, 4.771982937026847], [7.462108188515939, 4.41210826254624], [7.082596469764438, 4.464689032403228], [6.698072137080598, 4.240594183769516], [5.898172641634686, 4.262453314628984], [5.362804803090881, 4.887970689305957], [5.033574252959368, 5.611802476418233], [4.325607130560683, 6.270651149923466], [3.574180128604552, 6.258300482605717], [2.691701694356254, 6.258817246928628], [2.74906253420022, 7.870734361192886], [2.723792758809509, 8.506845404489708], [2.912308383810255, 9.13760793704432], [3.220351596702101, 9.4441525333997], [3.705438266625918, 10.063210354040207], [3.600070021182801, 10.332186184119406], [3.797112257511713, 10.734745591673104], [3.572216424177469, 11.327939357951516], [3.611180454125558, 11.660167141155966], [3.68063357912581, 12.552903347214222], [3.967282749048848, 12.956108710171572], [4.107945997747321, 13.531215725147829], [4.368343540066063, 13.747481594289324], [5.443058302440163, 13.865923977102295], [6.445426059605636, 13.492768459522676], [6.820441928747753, 13.115091254117514], [7.330746697630017, 13.098038031461199], [7.804671258178784, 13.343526923063745], [9.014933302454462, 12.826659247280427], [9.524928012742945, 12.851102199754477], [10.114814487354689, 13.277251898649409], [10.701031935273702, 13.246917832894081], [10.989593133191532, 13.387322699431108], [11.527803175511393, 13.328980007373584], [12.302071160540521, 13.037189032437521], [13.083987257548866, 13.596147162322563], [13.318701613018558, 13.556356309457824], [13.995352817448346, 12.461565253138343], [14.181336297266792, 12.483656927943112], [14.57717776862253, 12.085360826053501], [14.468192172918974, 11.90475169519341], [14.415378859116682, 11.572368882692071], [13.572949659894558, 10.798565985553564], [13.308676385153914, 10.160362046748926], [13.1675997249971, 9.64062632897341], [12.955467970438971, 9.417771714714702], [12.753671502339214, 8.717762762888993], [12.218872104550597, 8.305824082874322], [12.063946160539556, 7.799808457872301], [11.839308709366801, 7.397042344589434], [11.745774366918509, 6.981382961449753], [11.058787876030349, 6.644426784690593], [10.497375115611417, 7.055357774275562], [10.118276808318255, 7.038769639509879], [9.522705926154398, 6.453482367372116], [9.233162876023043, 6.444490668153334], [8.757532993208626, 5.47966583904791], [8.500287713259693, 4.771982937026847]]] } }, - { "type": "Feature", "properties": { "admin": "Nicaragua", "name": "Nicaragua", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-85.712540452807289, 11.088444932494822], [-86.058488328785245, 11.40343862552994], [-86.525849982432931, 11.806876532432593], [-86.7459915839963, 12.143961900272483], [-87.167516242201131, 12.458257961471656], [-87.668493415054698, 12.909909979702629], [-87.557466600275603, 13.064551703336061], [-87.392386237319201, 12.914018256069836], [-87.316654425795463, 12.984685777228972], [-87.005769009127562, 13.025794379117157], [-86.880557013684339, 13.254204209847241], [-86.733821784191576, 13.263092556201441], [-86.755086636079696, 13.754845485890909], [-86.520708177419877, 13.778487453664436], [-86.312142096689911, 13.771356106008167], [-86.096263800790581, 14.038187364147245], [-85.801294725268576, 13.836054999237586], [-85.698665330736901, 13.960078436738083], [-85.514413011400222, 14.079011745657834], [-85.165364549484792, 14.354369615125076], [-85.148750576502948, 14.560196844943615], [-85.052787441736925, 14.551541042534719], [-84.924500698572388, 14.790492865452348], [-84.820036790694346, 14.819586696832669], [-84.649582078779602, 14.66680532476175], [-84.449335903648588, 14.621614284722494], [-84.228341640952394, 14.748764146376654], [-83.975721401693576, 14.749435939996458], [-83.628584967772895, 14.880073960830298], [-83.489988776366104, 15.016267198135534], [-83.147219000974104, 14.995829169164109], [-83.233234422523907, 14.8998660343981], [-83.28416154654758, 14.676623846897197], [-83.182126430987267, 14.310703029838447], [-83.412499966144424, 13.970077826386554], [-83.519831916014667, 13.56769928634588], [-83.55220720084553, 13.127054348193084], [-83.498515387694255, 12.869292303921226], [-83.473323126951968, 12.419087225794424], [-83.626104499022887, 12.320850328007563], [-83.719613003255034, 11.893124497927724], [-83.650857510090702, 11.629032090700116], [-83.855470343750369, 11.373311265503785], [-83.808935716471538, 11.103043524617274], [-83.655611741861563, 10.938764146361418], [-83.895054490885926, 10.726839097532444], [-84.190178595704822, 10.793450018756671], [-84.355930752281026, 10.999225572142901], [-84.673069017256239, 11.082657172078139], [-84.903003302738924, 10.952303371621895], [-85.561851976244171, 11.217119248901593], [-85.712540452807289, 11.088444932494822]]] } }, - { "type": "Feature", "properties": { "admin": "Netherlands", "name": "Netherlands", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[6.074182570020922, 53.51040334737813], [6.905139601274128, 53.482162177130633], [7.092053256873895, 53.14404328064488], [6.842869500362381, 52.228440253297542], [6.589396599970825, 51.85202912048338], [5.988658074577812, 51.85161570902504], [6.156658155958779, 50.803721015010574], [5.60697594567, 51.037298488969768], [4.973991326526913, 51.475023708698124], [4.047071160507527, 51.267258612668556], [3.314971144228536, 51.345755113319903], [3.830288527043137, 51.620544542031936], [4.705997348661184, 53.091798407597757], [6.074182570020922, 53.51040334737813]]] } }, - { "type": "Feature", "properties": { "admin": "Norway", "name": "Norway", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[28.165547316202911, 71.185474351680497], [31.293418409965472, 70.453787746859902], [30.005435011522785, 70.186258856884876], [31.101078728975118, 69.558080145944857], [29.399580519332879, 69.156916002063056], [28.591929559043187, 69.064776923286686], [29.015572950971968, 69.76649119737796], [27.732292107867885, 70.164193020296281], [26.179622023226298, 69.825298977326142], [25.689212680776389, 69.092113755968995], [24.735679152126714, 68.649556789821432], [23.662049594830759, 68.891247463650515], [22.356237827247405, 68.841741441514941], [21.244936150810723, 69.370443020293109], [20.645592889089581, 69.106247260200846], [20.02526899585791, 69.065138658312705], [19.878559604581248, 68.407194322372604], [17.993868442464386, 68.567391262477329], [17.729181756265344, 68.01055186631622], [16.768878614985535, 68.013936672631374], [16.108712192456832, 67.302455552836889], [15.108411492583055, 66.193866889095418], [13.555689731509087, 64.787027696381458], [13.919905226302202, 64.445420640716108], [13.571916131248766, 64.049114081469654], [12.57993533697393, 64.066218980558332], [11.930569288794228, 63.128317572676977], [11.992064243221531, 61.800362453856557], [12.63114668137524, 61.293571682370079], [12.300365838274896, 60.117932847730046], [11.468271925511173, 59.432393296945989], [11.027368605196925, 58.856149400459394], [10.356556837616095, 59.469807033925363], [8.382000359743641, 58.313288479233265], [7.048748406613297, 58.078884182357271], [5.665835402050418, 58.588155422593658], [5.308234490590733, 59.663231919993805], [4.992078077829005, 61.97099803328426], [5.912900424837885, 62.614472968182682], [8.553411085655766, 63.454008287196459], [10.527709181366784, 64.486038316497471], [12.358346795306371, 65.879725857193151], [14.7611458675816, 67.810641587995121], [16.435927361728968, 68.563205471461671], [19.184028354578512, 69.817444159617807], [21.378416375420606, 70.255169379346043], [23.02374230316158, 70.202071845166259], [24.546543409938515, 71.030496731237221], [26.370049676221807, 70.986261705195361], [28.165547316202911, 71.185474351680497]]], [[[24.72412, 77.85385], [22.49032, 77.44493], [20.72601, 77.67704], [21.41611, 77.93504], [20.8119, 78.25463], [22.88426, 78.45494], [23.28134, 78.07954], [24.72412, 77.85385]]], [[[18.25183, 79.70175], [21.54383, 78.95611], [19.02737, 78.5626], [18.47172, 77.82669], [17.59441, 77.63796], [17.1182, 76.80941], [15.91315, 76.77045], [13.76259, 77.38035], [14.66956, 77.73565], [13.1706, 78.02493], [11.22231, 78.8693], [10.44453, 79.65239], [13.17077, 80.01046], [13.71852, 79.66039], [15.14282, 79.67431], [15.52255, 80.01608], [16.99085, 80.05086], [18.25183, 79.70175]]], [[[25.447625359811887, 80.407340399894494], [27.407505730913492, 80.056405748200447], [25.924650506298171, 79.517833970854539], [23.024465773213613, 79.40001170522909], [20.075188429451877, 79.566823228667232], [19.897266473070907, 79.842361965647498], [18.46226362475792, 79.859880276194403], [17.368015170977454, 80.318896186027004], [20.455992059010693, 80.598155626132225], [21.907944777115397, 80.357679348462071], [22.919252557067431, 80.657144273593488], [25.447625359811887, 80.407340399894494]]]] } }, - { "type": "Feature", "properties": { "admin": "Nepal", "name": "Nepal", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[88.120440708369841, 27.876541652939586], [88.043132765661198, 27.445818589786818], [88.174804315140904, 26.810405178325944], [88.060237664749806, 26.414615383402484], [87.22747195836628, 26.39789805755607], [86.024392938179147, 26.630984605408567], [85.25177859898335, 26.726198431906337], [84.675017938173767, 27.234901231387528], [83.304248895199535, 27.364505723575554], [81.999987420584958, 27.925479234319987], [81.057202589851997, 28.416095282499036], [80.088424513676259, 28.794470119740136], [80.476721225917373, 29.729865220655334], [81.11125613802929, 30.183480943313398], [81.525804477874729, 30.422716986608627], [82.327512648450863, 30.115268052688126], [83.337115106137176, 29.463731594352193], [83.898992954446712, 29.320226141877654], [84.234579705750136, 28.839893703724691], [85.011638218123025, 28.642773952747337], [85.823319940131498, 28.203575954698699], [86.954517043000592, 27.97426178640351], [88.120440708369841, 27.876541652939586]]] } }, - { "type": "Feature", "properties": { "admin": "New Zealand", "name": "New Zealand", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[173.020374790740703, -40.919052422856417], [173.247234328502003, -41.331998793300777], [173.958405389702875, -40.926700534835604], [174.2475867048081, -41.349155368821663], [174.248516880589449, -41.770008233406749], [173.876446568087886, -42.233184096038819], [173.222739699595621, -42.970038344088557], [172.711246372770717, -43.372287693048492], [173.080112746470206, -43.853343601253577], [172.308583612352464, -43.865694268571332], [171.452925246463622, -44.24251881284372], [171.185137974327233, -44.897104180684885], [170.616697219116588, -45.908928724959701], [169.83142215400926, -46.355774834987585], [169.332331170934253, -46.641235446967848], [168.411353794628525, -46.619944756863582], [167.763744745146823, -46.290197442409195], [166.676886021184202, -46.219917494492236], [166.509144321964669, -45.852704766626204], [167.046424188503238, -45.110941257508664], [168.303763462596862, -44.12397307716612], [168.949408807651508, -43.93581918719142], [169.667814569373149, -43.555325616226334], [170.524919875366152, -43.031688327812823], [171.125089960004004, -42.512753594737781], [171.569713983443194, -41.767424411792128], [171.948708937871885, -41.514416599291145], [172.097227004278722, -40.956104424809674], [172.798579543343948, -40.493962090823466], [173.020374790740703, -40.919052422856417]]], [[[174.612008905330526, -36.156397393540537], [175.336615838927173, -37.209097995758263], [175.3575964704375, -36.52619394302112], [175.808886753642469, -36.798942152657681], [175.958490025127475, -37.555381768546063], [176.763195428776555, -37.881253350578696], [177.438813104560495, -37.961248467766488], [178.010354445708657, -37.579824721020124], [178.517093540762801, -37.695373223624792], [178.274731073313802, -38.582812595373092], [177.970460239979332, -39.166342868812968], [177.206992629299123, -39.145775648760839], [176.939980503647007, -39.449736423501562], [177.032946405340113, -39.879942722331471], [176.8858236026052, -40.06597787858216], [176.508017206119348, -40.60480803808958], [176.012440220440283, -41.289624118821493], [175.239567499082966, -41.688307793953236], [175.067898391009408, -41.425894870775075], [174.650972935278418, -41.281820977545443], [175.227630243223615, -40.459235528323397], [174.900156691789959, -39.908933200847216], [173.824046665743992, -39.508854262043506], [173.852261997775315, -39.146602471677461], [174.57480187408035, -38.797683200842748], [174.743473749081033, -38.027807712558378], [174.69701663645057, -37.381128838857954], [174.292028436579187, -36.71109221776144], [174.319003534235549, -36.534823907213884], [173.840996535535766, -36.121980889634109], [173.05417117745958, -35.237125339500331], [172.636005487353714, -34.529106540669382], [173.007042271209457, -34.450661716450334], [173.551298456107475, -35.006183363587958], [174.329390497126241, -35.265495700828616], [174.612008905330526, -36.156397393540537]]]] } }, - { "type": "Feature", "properties": { "admin": "Oman", "name": "Oman", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[58.861141391846573, 21.114034532144299], [58.487985874266961, 20.428985907467101], [58.03431847517659, 20.481437486243347], [57.826372511634098, 20.24300242764863], [57.66576216007094, 19.736004950433109], [57.788700392493368, 19.067570298737646], [57.694390903560667, 18.944709580963799], [57.2342639504338, 18.947991034414255], [56.609650913321971, 18.574267076079476], [56.512189162019482, 18.087113348863934], [56.283520949128011, 17.876066799383945], [55.661491733630683, 17.884128322821535], [55.269939406155189, 17.632309068263194], [55.274900343655091, 17.228354397037659], [54.791002231674113, 16.950696926333357], [54.239252964093751, 17.04498057704998], [53.57050825380459, 16.707662665264674], [53.108572625547502, 16.651051133688977], [52.782184279192066, 17.349742336491229], [52.000009800022227, 19.000003363516068], [54.999981723862405, 19.999994004796118], [55.666659376859869, 22.000001125572307], [55.208341098863187, 22.708329982997007], [55.234489373602869, 23.110992743415348], [55.52584109886449, 23.524869289640911], [55.528631626208288, 23.933604030853498], [55.981213820220503, 24.130542914317854], [55.80411868675624, 24.269604193615287], [55.88623253766805, 24.920830593357486], [56.396847365143984, 24.924732163995508], [56.845140415276049, 24.241673081961487], [57.403452589757428, 23.878594468678834], [58.136947869708322, 23.747930609628835], [58.729211460205427, 23.565667832935414], [59.180501743410346, 22.992395331305456], [59.450097690677033, 22.660270900965592], [59.80806033716285, 22.533611965418199], [59.806148309168087, 22.31052480721419], [59.442191196536399, 21.71454051359208], [59.282407667889871, 21.433885809814875], [58.861141391846573, 21.114034532144299]]], [[[56.391421339753393, 25.895990708921254], [56.261041701080913, 25.714606431576748], [56.070820753814544, 26.055464178973946], [56.362017449779344, 26.395934353128947], [56.485679152253809, 26.309117946878665], [56.391421339753393, 25.895990708921254]]]] } }, - { "type": "Feature", "properties": { "admin": "Pakistan", "name": "Pakistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[75.158027785140902, 37.13303091078911], [75.896897414050116, 36.666806138651829], [76.192848341785677, 35.898403428687821], [77.837450799474553, 35.494009507787759], [76.871721632804011, 34.653544012992732], [75.757060988268321, 34.504922593721311], [74.240202671204955, 34.748887030571247], [73.749948358051952, 34.317698879527846], [74.104293654277328, 33.441473293586846], [74.451559279278698, 32.764899603805489], [75.258641798813187, 32.271105455040491], [74.405928989564998, 31.692639471965272], [74.421380242820263, 30.97981476493117], [73.450638462217412, 29.976413479119863], [72.823751662084689, 28.961591701772047], [71.777665643200308, 27.913180243434521], [70.61649620960192, 27.989196275335861], [69.514392938113119, 26.940965684511365], [70.168926629522005, 26.491871649678835], [70.282873162725579, 25.722228705339823], [70.844699334602822, 25.215102037043511], [71.0432401874682, 24.356523952730193], [68.842599318318761, 24.359133612560932], [68.176645135373377, 23.691965033456704], [67.443666619745457, 23.944843654876983], [67.145441928989058, 24.663611151624639], [66.37282758979326, 25.425140896093847], [64.530407749291115, 25.237038682551425], [62.905700718034595, 25.218409328710202], [61.497362908784183, 25.078237006118492], [61.874187453056535, 26.239974880472097], [63.316631707619578, 26.756532497661659], [63.23389773952028, 27.217047024030702], [62.755425652929851, 27.378923448184985], [62.727830438085974, 28.259644883735383], [61.771868117118615, 28.699333807890792], [61.369308709564926, 29.303276272085917], [60.874248488208778, 29.829238999952604], [62.549856805272775, 29.318572496044304], [63.550260858011164, 29.468330796826162], [64.148002150331237, 29.340819200145965], [64.350418735618504, 29.560030625928089], [65.046862013616092, 29.472180691031902], [66.346472609324408, 29.88794342703617], [66.38145755398601, 30.738899237586448], [66.938891229118454, 31.304911200479346], [67.683393589147457, 31.303154201781414], [67.792689243444769, 31.582930406209623], [68.556932000609308, 31.713310044882011], [68.926676873657655, 31.620189113892064], [69.317764113242546, 31.901412258424436], [69.262522007122541, 32.501944078088293], [69.687147251264847, 33.105498969041228], [70.323594191371583, 33.358532619758385], [69.93054324735958, 34.020120144175102], [70.881803012988385, 33.988855902638512], [71.156773309213449, 34.348911444632144], [71.115018751921625, 34.733125718722228], [71.613076206350698, 35.153203436822857], [71.498767938121077, 35.650563259415996], [71.262348260385735, 36.074387518857797], [71.846291945283909, 36.509942328429851], [72.920024855444453, 36.720007025696312], [74.067551710917812, 36.836175645488446], [74.575892775372964, 37.02084137628345], [75.158027785140902, 37.13303091078911]]] } }, - { "type": "Feature", "properties": { "admin": "Panama", "name": "Panama", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-77.881571417945239, 7.223771267114783], [-78.214936082660103, 7.512254950384159], [-78.429160732726061, 8.052041123888925], [-78.182095709938608, 8.319182440621772], [-78.43546525746568, 8.387705389840788], [-78.622120530903928, 8.718124497915026], [-79.120307176413732, 8.996092027213022], [-79.557877366845176, 8.932374986197145], [-79.760578172510037, 8.584515082224398], [-80.164481167303322, 8.333315944853593], [-80.382659064439608, 8.29840851484043], [-80.480689256497286, 8.090307522001067], [-80.003689948227148, 7.54752411542337], [-80.276670701808982, 7.419754136581713], [-80.421158006497066, 7.271571966984763], [-80.886400926420791, 7.220541490096535], [-81.059542812814698, 7.817921047390596], [-81.189715745757937, 7.647905585150339], [-81.519514736644666, 7.706610012233908], [-81.721311204744453, 8.108962714058434], [-82.131441209628889, 8.175392767769635], [-82.390934414382542, 8.292362372262287], [-82.820081346350406, 8.290863755725821], [-82.850958014644803, 8.073822740099954], [-82.965783047197348, 8.225027980985983], [-82.9131764391242, 8.423517157419068], [-82.829770677405151, 8.626295477732368], [-82.868657192704759, 8.807266343618521], [-82.719183112300513, 8.925708726431493], [-82.927154914059145, 9.074330145702914], [-82.932890998043561, 9.476812038608172], [-82.546196255203469, 9.566134751824674], [-82.187122565423394, 9.207448635286779], [-82.207586432610952, 8.995575262890098], [-81.808566860669259, 8.95061676679617], [-81.714154018872023, 9.031955471223581], [-81.43928707551153, 8.786234035675715], [-80.947301601876745, 8.858503526235905], [-80.521901211250054, 9.11107208906243], [-79.914599778955974, 9.312765204297618], [-79.573302781884294, 9.611610012241526], [-79.021191779277913, 9.552931423374103], [-79.058450486960353, 9.454565334506523], [-78.500887620747164, 9.420458889193879], [-78.055927700497989, 9.247730414258296], [-77.729513515926399, 8.946844387238867], [-77.353360765273848, 8.670504665558068], [-77.474722866511314, 8.524286200388216], [-77.242566494440069, 7.935278225125442], [-77.431107957656977, 7.638061224798733], [-77.75341386586139, 7.709839789252141], [-77.881571417945239, 7.223771267114783]]] } }, - { "type": "Feature", "properties": { "admin": "Peru", "name": "Peru", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-69.590423753524036, -17.580011895419329], [-69.858443569605839, -18.092693780187009], [-70.3725723944777, -18.347975355708861], [-71.375250210236914, -17.77379851651385], [-71.462040778271117, -17.363487644116379], [-73.444529588500401, -16.359362888252992], [-75.23788265654143, -15.26568287522778], [-76.009205084929931, -14.649286390850317], [-76.423469204397733, -13.823186944232431], [-76.259241502574156, -13.535039157772939], [-77.10619238962181, -12.222716159720816], [-78.092152879534623, -10.377712497604062], [-79.036953091126918, -8.38656788496589], [-79.445920376284832, -7.930833428583859], [-79.760578172510037, -7.194340915560081], [-80.537481655586049, -6.541667575713715], [-81.249996304026411, -6.136834405139182], [-80.926346808582423, -5.690556735866563], [-81.410942552399433, -4.736764825055459], [-81.099669562489353, -4.036394138203696], [-80.302560594387188, -3.404856459164712], [-80.184014858709645, -3.821161797708043], [-80.46929460317692, -4.059286797708999], [-80.442241990872134, -4.425724379090673], [-80.028908047185581, -4.346090996928893], [-79.62497921417615, -4.454198093283494], [-79.205289069317715, -4.959128513207388], [-78.639897223612323, -4.547784112164072], [-78.450683966775628, -3.873096612161375], [-77.83790483265858, -3.003020521663103], [-76.635394253226707, -2.608677666843817], [-75.544995693652027, -1.56160979574588], [-75.233722703741932, -0.911416924649529], [-75.373223232713841, -0.15203175212045], [-75.106624518520064, -0.05720549886486], [-74.441600511355958, -0.530820000819887], [-74.122395189089048, -1.002832533373848], [-73.659503546834586, -1.260491224781134], [-73.070392218707212, -2.308954359550952], [-72.325786505813639, -2.434218031426453], [-71.774760708285385, -2.169789727388937], [-71.413645799429773, -2.342802422702128], [-70.813475714791949, -2.256864515800742], [-70.047708502874841, -2.725156345229699], [-70.692682054309699, -3.742872002785858], [-70.394043952094975, -3.766591485207825], [-69.893635219996611, -4.298186944194326], [-70.79476884630229, -4.251264743673302], [-70.928843349883564, -4.401591485210367], [-71.748405727816532, -4.59398284263301], [-72.891927659787243, -5.274561455916979], [-72.964507208941185, -5.741251315944892], [-73.219711269814596, -6.089188734566076], [-73.120027431923575, -6.629930922068238], [-73.724486660441627, -6.918595472850638], [-73.723401455363486, -7.340998630404412], [-73.987235480429646, -7.523829847853063], [-73.571059332967053, -8.424446709835832], [-73.015382656532537, -9.03283334720806], [-73.226713426390148, -9.462212823121233], [-72.563033006465631, -9.520193780152715], [-72.184890713169821, -10.05359791426943], [-71.302412278921523, -10.079436130415372], [-70.481893886991159, -9.490118096558842], [-70.548685675728393, -11.009146823778462], [-70.093752204046879, -11.123971856331011], [-69.52967810736493, -10.951734307502193], [-68.665079718689611, -12.561300144097171], [-68.880079515239956, -12.89972909917665], [-68.929223802349526, -13.602683607643007], [-68.94888668483658, -14.45363941819328], [-69.339534674747, -14.953195489158828], [-69.160346645774936, -15.323973890853015], [-69.389764166934697, -15.66012908291165], [-68.959635382753291, -16.500697930571267], [-69.590423753524036, -17.580011895419329]]] } }, - { "type": "Feature", "properties": { "admin": "Philippines", "name": "Philippines", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[126.376813592637447, 8.414706325713352], [126.478512811387873, 7.750354112168976], [126.537423944200611, 7.189380601424572], [126.19677290253253, 6.274294338400038], [125.831420526229081, 7.293715318221855], [125.363852166852283, 6.78648529706099], [125.683160841983707, 6.049656887227257], [125.396511672060626, 5.581003322772288], [124.219787632342332, 6.16135549562618], [123.938719517106918, 6.88513560630612], [124.243662144061318, 7.360610459823659], [123.610212437027542, 7.833527329942753], [123.29607140512519, 7.418875637232786], [122.825505812675388, 7.457374579290216], [122.085499302255769, 6.899424139834847], [121.919928013192603, 7.192119452336072], [122.312358840017112, 8.034962063016506], [122.94239790251963, 8.316236883981174], [123.487687616063511, 8.693009751821192], [123.841154412939815, 8.240324204944384], [124.6014697612502, 8.514157619659015], [124.764612257995623, 8.960409450715458], [125.471390822451539, 8.986996975129641], [125.412117954612754, 9.760334784377545], [126.222714471543156, 9.28607432701885], [126.306636997585073, 8.782487494334573], [126.376813592637447, 8.414706325713352]]], [[[123.982437778825798, 10.278778591345811], [123.62318322153277, 9.950090643753297], [123.309920688979332, 9.318268744336676], [122.995883009941636, 9.022188625520398], [122.380054966319463, 9.713360907424201], [122.586088901867072, 9.981044826696104], [122.837081333508706, 10.261156927934234], [122.947410516451896, 10.881868394408029], [123.498849725438447, 10.940624497923945], [123.337774285984722, 10.267383938025445], [124.077935825701218, 11.232725531453706], [123.982437778825798, 10.278778591345811]]], [[[118.504580926590336, 9.316382554558087], [117.174274530100675, 8.367499904814663], [117.664477166821371, 9.066888739452933], [118.386913690261736, 9.684499619989223], [118.98734215706105, 10.376292019080507], [119.511496209797528, 11.36966807702721], [119.689676548339889, 10.554291490109872], [119.029458449378978, 10.003653265823869], [118.504580926590336, 9.316382554558087]]], [[[121.883547804859106, 11.891755072471977], [122.483821242361458, 11.582187404827506], [123.120216506035959, 11.583660183147867], [123.100837843926442, 11.165933742716486], [122.637713657726692, 10.741308498574226], [122.002610304859559, 10.441016750526087], [121.967366978036523, 10.905691229694622], [122.038370396005519, 11.415840969280039], [121.883547804859106, 11.891755072471977]]], [[[125.502551711123488, 12.162694606978347], [125.783464797062152, 11.046121934447767], [125.01188398651226, 11.311454576050377], [125.032761265158115, 10.975816148314703], [125.277449172060244, 10.358722032101308], [124.801819289245714, 10.134678859899889], [124.760168084818474, 10.8379951033923], [124.459101190286049, 10.889929917845633], [124.302521600441722, 11.495370998577227], [124.891012811381572, 11.415582587118589], [124.877990350443952, 11.794189968304988], [124.266761509295705, 12.557760931849682], [125.22711632700782, 12.53572093347719], [125.502551711123488, 12.162694606978347]]], [[[121.527393833503481, 13.069590155484516], [121.262190382981544, 12.2055602075644], [120.833896112146533, 12.704496161342416], [120.323436313967477, 13.466413479053866], [121.18012820850214, 13.429697373910439], [121.527393833503481, 13.069590155484516]]], [[[121.321308221523566, 18.504064642811013], [121.937601353036371, 18.21855235439838], [122.246006300954264, 18.478949896717094], [122.336956821787965, 18.224882717354173], [122.174279412933174, 17.810282701076371], [122.51565392465335, 17.09350474697197], [122.252310825693883, 16.262444362854122], [121.662786086108255, 15.931017564350125], [121.505069614753367, 15.124813544164621], [121.728828566577249, 14.328376369682244], [122.258925409027313, 14.218202216035973], [122.701275669445636, 14.336541245984417], [123.950295037940236, 13.782130642141066], [123.855107049658599, 13.237771104378464], [124.181288690284873, 12.997527370653469], [124.077419061378222, 12.536676947474573], [123.298035109552245, 13.027525539598981], [122.928651971529902, 13.552919826710404], [122.671355015148663, 13.185836289925131], [122.034649692880521, 13.784481919810343], [121.126384718918587, 13.636687323455559], [120.628637323083296, 13.857655747935649], [120.679383579593832, 14.271015529838319], [120.99181928923052, 14.525392767795079], [120.693336216312687, 14.756670640517282], [120.564145135582976, 14.396279201713821], [120.070428501466367, 14.970869452367094], [119.920928582846102, 15.406346747290735], [119.883773228028247, 16.363704331929963], [120.286487664878791, 16.034628811095327], [120.39004723519173, 17.599081122299506], [120.7158671407919, 18.505227362537536], [121.321308221523566, 18.504064642811013]]]] } }, - { "type": "Feature", "properties": { "admin": "Papua New Guinea", "name": "Papua New Guinea", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[155.880025669578401, -6.819996840037758], [155.599991082988765, -6.919990736522491], [155.166994256815087, -6.535931491729299], [154.729191522438327, -5.900828138862208], [154.514114211239644, -5.139117526880012], [154.652503696917336, -5.042430922061839], [154.759990676084357, -5.339983819198493], [155.062917922179338, -5.566791680527486], [155.547746209941693, -6.200654799019658], [156.019965448224752, -6.540013929880386], [155.880025669578401, -6.819996840037758]]], [[[151.982795851854462, -5.478063246282344], [151.459106887008659, -5.560280450058739], [151.301390415653884, -5.840728448106701], [150.754447056276661, -6.083762709175387], [150.241196730753813, -6.317753594592984], [149.709963006793316, -6.316513360218051], [148.890064732050462, -6.026040134305432], [148.318936802360696, -5.74714242922613], [148.401825799756864, -5.437755629094722], [149.298411900020824, -5.583741550319216], [149.845561965127217, -5.505503431829339], [149.996250441690279, -5.026101169457674], [150.139755894164921, -5.001348158389788], [150.236907586873485, -5.53222014732428], [150.807467075808063, -5.455842380396886], [151.089672072553981, -5.113692722192368], [151.647880894170811, -4.757073662946168], [151.537861769821518, -4.167807305521889], [152.136791620084352, -4.148790378438519], [152.338743117480988, -4.31296640382976], [152.318692661751754, -4.867661228050748], [151.982795851854462, -5.478063246282344]]], [[[147.191873814074938, -7.388024183789978], [148.084635858349372, -8.044108168167609], [148.734105259393573, -9.104663588093755], [149.306835158484432, -9.071435642130067], [149.266630894161324, -9.514406019736027], [150.038728469034311, -9.684318129111698], [149.738798456012262, -9.872937106977002], [150.801627638959133, -10.29368661869742], [150.690574985963849, -10.582712904505865], [150.028393182575826, -10.652476088099929], [149.782310012001972, -10.393267103723941], [148.923137648717216, -10.28092253992136], [147.913018426707993, -10.130440769087469], [147.135443150012236, -9.492443536012017], [146.567880894150619, -8.942554619994153], [146.048481073184917, -8.067414239131308], [144.74416792213799, -7.630128269077473], [143.897087844009661, -7.915330498896279], [143.286375767184268, -8.245491224809056], [143.413913202080664, -8.983068942910945], [142.628431431244223, -9.326820570516501], [142.068258905200196, -9.159595635620034], [141.033851760013874, -9.117892754760417], [141.017056919519007, -5.85902190513802], [141.000210402591847, -2.600151055515624], [142.735246616791443, -3.289152927263216], [144.583970982033236, -3.861417738463401], [145.27317955950997, -4.373737888205027], [145.829786411725649, -4.876497897972683], [145.981921828392956, -5.465609226100012], [147.648073358347574, -6.083659356310803], [147.891107619416175, -6.614014580922315], [146.970905389594861, -6.721656589386255], [147.191873814074938, -7.388024183789978]]], [[[153.14003787659874, -4.499983412294113], [152.827292108368255, -4.766427097190998], [152.63867313050298, -4.176127211120927], [152.406025832324929, -3.789742526874561], [151.953236932583536, -3.462062269711821], [151.384279413050024, -3.035421644710111], [150.6620495953388, -2.741486097833956], [150.939965448204532, -2.500002129734028], [151.479984165654514, -2.779985039891386], [151.820015090135087, -2.999971612157907], [152.239989455371074, -3.24000864015366], [152.640016717742526, -3.659983005389647], [153.019993524384631, -3.980015150573293], [153.14003787659874, -4.499983412294113]]]] } }, - { "type": "Feature", "properties": { "admin": "Poland", "name": "Poland", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[15.016995883858666, 51.106674099321566], [14.607098422919531, 51.745188096719964], [14.685026482815685, 52.089947414755187], [14.437599725002197, 52.624850165408382], [14.074521111719488, 52.981262518925426], [14.353315463934136, 53.248171291712957], [14.119686313542584, 53.757029120491026], [14.802900424873455, 54.050706285205735], [16.363477003655728, 54.513158677785711], [17.622831658608671, 54.851535956432897], [18.620858595461637, 54.682605699270766], [18.696254510175461, 54.438718777069276], [19.6606400896064, 54.426083889373913], [20.89224450041862, 54.312524929412518], [22.731098667092649, 54.327536932993311], [23.243987257589506, 54.220566718149129], [23.484127638449841, 53.912497667041123], [23.527535841574995, 53.47012156840654], [23.804934930117774, 53.08973135030606], [23.799198846133375, 52.691099351606553], [23.19949384938618, 52.486977444053664], [23.508002150168689, 52.023646552124717], [23.52707075368437, 51.578454087930233], [24.029985792748899, 50.705406602575174], [23.922757195743259, 50.424881089878738], [23.426508416444388, 50.308505764357449], [22.518450148211596, 49.476773586619736], [22.776418898212619, 49.027395331409608], [22.558137648211751, 49.08573802346713], [21.607808058364206, 49.470107326854077], [20.887955356538406, 49.328772284535823], [20.415839471119849, 49.431453355499755], [19.825022820726865, 49.217125352569219], [19.320712517990469, 49.571574001659179], [18.909574822676316, 49.435845852244562], [18.85314415861361, 49.496229763377634], [18.392913852622168, 49.988628648470737], [17.649445021238986, 50.049038397819942], [17.554567091551117, 50.36214590107641], [16.868769158605655, 50.473973700556016], [16.719475945714429, 50.215746568393527], [16.176253289462263, 50.4226073268579], [16.238626743238566, 50.697732652379827], [15.490972120839725, 50.7847299261432], [15.016995883858666, 51.106674099321566]]] } }, - { "type": "Feature", "properties": { "admin": "Puerto Rico", "name": "Puerto Rico", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-66.2824344550082, 18.51476166429536], [-65.771302863209286, 18.426679185453875], [-65.591003790942935, 18.228034979723912], [-65.847163865813755, 17.975905666571855], [-66.599934455009475, 17.98182261806927], [-67.184162360285256, 17.946553453030074], [-67.24242753769434, 18.374460150622934], [-67.100679083917726, 18.520601101144347], [-66.2824344550082, 18.51476166429536]]] } }, - { "type": "Feature", "properties": { "admin": "North Korea", "name": "Dem. Rep. Korea", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[130.640015903852401, 42.39500946712527], [130.780007358931101, 42.220007229168843], [130.400030552288996, 42.280003567059701], [129.965948521037234, 41.941367906251052], [129.667362095254788, 41.601104437825221], [129.705189243692445, 40.882827867184318], [129.188114862179958, 40.661807766271984], [129.010399611528186, 40.485436102859801], [128.633368361526692, 40.189846910150301], [127.967414178581322, 40.025412502597547], [127.533435500194145, 39.756850083976694], [127.502119582225276, 39.323930772451526], [127.385434198110261, 39.213472398427648], [127.783342726757709, 39.050898342437414], [128.349716424676586, 38.612242946927843], [128.205745884311426, 38.370397243801882], [127.780035435090966, 38.304535630845884], [127.073308547067342, 38.256114813788393], [126.683719924018888, 37.804772854151174], [126.237338901881742, 37.840377916000271], [126.174758742376213, 37.749685777328033], [125.689103631697165, 37.940010077459014], [125.568439162295675, 37.752088731429616], [125.275330438336184, 37.66907054295271], [125.24008711151312, 37.857224432927424], [124.981033156433952, 37.948820909164773], [124.712160679219352, 38.108346055649783], [124.985994093933954, 38.548474229479673], [125.221948683778677, 38.665857245430665], [125.13285851450749, 38.848559271798578], [125.386589797060566, 39.387957872061158], [125.321115757346774, 39.551384589184202], [124.737482131042384, 39.660344346671614], [124.265624627785286, 39.928493353834149], [125.079941847840615, 40.569823716792442], [126.182045119329402, 41.107336127276362], [126.86908328664984, 41.816569322266176], [127.343782993682993, 41.50315176041596], [128.208433058790632, 41.466771552082477], [128.052215203972281, 41.994284572917934], [129.59666873587949, 42.424981797854542], [129.994267205933198, 42.985386867843779], [130.640015903852401, 42.39500946712527]]] } }, - { "type": "Feature", "properties": { "admin": "Portugal", "name": "Portugal", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[-9.034817674180244, 41.880570583659669], [-8.671945766626719, 42.134689439454952], [-8.26385698081779, 42.280468654950326], [-8.01317460776991, 41.790886135417118], [-7.422512986673794, 41.792074693359822], [-7.251308966490822, 41.91834605566504], [-6.668605515967655, 41.883386949219577], [-6.389087693700914, 41.381815497394641], [-6.851126674822551, 41.111082668617513], [-6.864019944679383, 40.330871893874821], [-7.026413133156593, 40.184524237624238], [-7.066591559263527, 39.711891587882768], [-7.498632371439724, 39.629571031241802], [-7.098036668313126, 39.03007274022378], [-7.374092169616317, 38.373058580064914], [-7.029281175148794, 38.075764065089757], [-7.166507941099863, 37.803894354802217], [-7.537105475281022, 37.428904323876232], [-7.45372555177809, 37.097787583966053], [-7.855613165711985, 36.838268540996253], [-8.382816127953687, 36.978880113262449], [-8.898856980820325, 36.868809312480771], [-8.746101446965552, 37.6513455266766], [-8.839997524439879, 38.266243394517609], [-9.287463751655221, 38.358485826158592], [-9.526570603869713, 38.737429104154906], [-9.44698889814023, 39.392066148428363], [-9.048305223008425, 39.755093085278766], [-8.977353481471679, 40.159306138665798], [-8.7686840478771, 40.76063894303018], [-8.790853237330309, 41.18433401139125], [-8.990789353867568, 41.543459377603625], [-9.034817674180244, 41.880570583659669]]] } }, - { "type": "Feature", "properties": { "admin": "Paraguay", "name": "Paraguay", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-62.685057135657871, -22.24902922942238], [-62.291179368729203, -21.051634616787389], [-62.265961269770784, -20.513734633061272], [-61.786326463453761, -19.633736667562957], [-60.043564622626477, -19.342746677327419], [-59.11504248720609, -19.356906019775398], [-58.183471442280492, -19.868399346600359], [-58.166392381408038, -20.176700941653674], [-57.870673997617786, -20.732687676681948], [-57.937155727761287, -22.090175876557169], [-56.881509568902885, -22.282153822521476], [-56.473317430229379, -22.086300144135279], [-55.797958136606894, -22.356929620047815], [-55.61068274598113, -22.655619398694839], [-55.517639329639621, -23.57199757252663], [-55.400747239795407, -23.956935316668797], [-55.027901780809543, -24.001273695575225], [-54.652834235235119, -23.839578138933955], [-54.292959560754511, -24.021014092710722], [-54.293476325077435, -24.570799655863958], [-54.428946092330577, -25.162184747012162], [-54.625290696823562, -25.739255466415507], [-54.788794928595038, -26.621785577096126], [-55.695845506398143, -27.387837009390857], [-56.486701626192989, -27.548499037386286], [-57.609759690976134, -27.395898532828383], [-58.618173590719735, -27.123718763947089], [-57.633660040911117, -25.603656508081638], [-57.777217169817924, -25.162339776309032], [-58.807128465394968, -24.771459242453307], [-60.028966030504016, -24.032796319273267], [-60.846564704009907, -23.880712579038288], [-62.685057135657871, -22.24902922942238]]] } }, - { "type": "Feature", "properties": { "admin": "Palestine", "name": "Palestine", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[35.545665317534535, 32.393992011030569], [35.545251906076196, 31.782504787720832], [35.397560662586038, 31.489086005167572], [34.927408481594554, 31.35343537040141], [34.970506626125989, 31.616778469360803], [35.225891554512422, 31.754341132121759], [34.974640740709319, 31.866582343059715], [35.183930291491428, 32.532510687788935], [35.545665317534535, 32.393992011030569]]] } }, - { "type": "Feature", "properties": { "admin": "Qatar", "name": "Qatar", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[50.810108270069563, 24.754742539971371], [50.743910760303677, 25.482424221289389], [51.01335167827348, 26.006991685484191], [51.286461622936045, 26.114582017515865], [51.589078810437243, 25.801112779233375], [51.606700473848804, 25.215670477798735], [51.389607781790623, 24.627385972588051], [51.112415398977006, 24.556330878186721], [50.810108270069563, 24.754742539971371]]] } }, - { "type": "Feature", "properties": { "admin": "Romania", "name": "Romania", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[22.710531447040488, 47.882193915389394], [23.142236362406798, 48.096341050806942], [23.760958286237404, 47.985598456405448], [24.402056105250374, 47.981877753280422], [24.866317172960571, 47.737525743188307], [25.207743361112986, 47.891056423527459], [25.945941196402394, 47.987148749374207], [26.197450392366925, 48.220881252630342], [26.619336785597788, 48.220726223333457], [26.924176059687561, 48.123264472030982], [27.233872918412736, 47.826770941756365], [27.551166212684841, 47.405117092470817], [28.128030226359037, 46.81047638608824], [28.160017937947707, 46.371562608417207], [28.054442986775392, 45.944586086605618], [28.233553501099035, 45.488283189468369], [28.679779493939371, 45.30403087013169], [29.149724969201646, 45.464925442072442], [29.603289015427425, 45.293308010431119], [29.62654340995876, 45.035390936862392], [29.141611769331831, 44.820210272799038], [28.837857700320196, 44.913873806328041], [28.55808149589199, 43.707461656258118], [27.970107049275068, 43.812468166675202], [27.242399529740904, 44.175986029632398], [26.065158725699739, 43.943493760751259], [25.569271681426923, 43.688444729174712], [24.100679152124169, 43.741051337247846], [23.332302280376322, 43.897010809904707], [22.94483239105184, 43.823785305347123], [22.657149692482985, 44.234923000661276], [22.474008416440594, 44.409227606781762], [22.705725538837349, 44.578002834647016], [22.459022251075933, 44.702517198254291], [22.145087924902807, 44.478422349620573], [21.562022739353605, 44.768947251965486], [21.483526238702233, 45.181170152357772], [20.874312778413351, 45.416375433934228], [20.76217492033998, 45.734573065771428], [20.220192498462833, 46.127468980486547], [21.021952345471245, 46.316087958351886], [21.626514926853869, 46.994237779318148], [22.09976769378283, 47.672439276716695], [22.710531447040488, 47.882193915389394]]] } }, - { "type": "Feature", "properties": { "admin": "Russia", "name": "Russia", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[143.648007440362846, 50.747600409541512], [144.65414757708561, 48.976390692737581], [143.173927850517174, 49.306551418650365], [142.558668247650076, 47.861575018904908], [143.533492466404027, 46.836728013692479], [143.505277134372591, 46.137907619809475], [142.747700636973889, 46.740764878926562], [142.092030064054484, 45.966755276058777], [141.906925083585008, 46.805928860046535], [142.018442824470867, 47.780132961612921], [141.904444614835029, 48.859188544299563], [142.135800002205656, 49.615163072297449], [142.179983351815281, 50.952342434281903], [141.594075962490024, 51.935434882202529], [141.682546014573632, 53.301966457728767], [142.606934035410745, 53.762145087287891], [142.209748976815376, 54.225475979216853], [142.654786411712934, 54.365880845753864], [142.914615513276544, 53.704577541714734], [143.260847609632037, 52.740760403039033], [143.235267775647628, 51.756660264688733], [143.648007440362846, 50.747600409541512]]], [[[22.731098667092649, 54.327536932993311], [20.892244500418652, 54.312524929412568], [19.6606400896064, 54.42608388937397], [19.88848147958134, 54.866160386771483], [21.268448927503492, 55.190481675835279], [22.315723504330599, 55.015298570365886], [22.757763706155281, 54.856574408581416], [22.651051873472564, 54.582740993866693], [22.731098667092649, 54.327536932993311]]], [[[180.000000000000114, 70.832199208546669], [178.903425, 70.78114], [178.7253, 71.0988], [180.000000000000114, 71.515714336428246], [180.000000000000114, 70.832199208546669]]], [[[143.60385, 73.21244], [142.08763, 73.20544], [140.038155, 73.31692], [139.86312, 73.36983], [140.81171, 73.76506], [142.06207, 73.85758], [143.48283, 73.47525], [143.60385, 73.21244]]], [[[150.73167, 75.08406], [149.575925, 74.68892], [147.977465, 74.778355], [146.11919, 75.17298], [146.358485, 75.49682], [148.22223, 75.345845], [150.73167, 75.08406]]], [[[145.086285, 75.562625], [144.3, 74.82], [140.61381, 74.84768], [138.95544, 74.61148], [136.97439, 75.26167], [137.51176, 75.94917], [138.831075, 76.13676], [141.471615, 76.09289], [145.086285, 75.562625]]], [[[57.535692579992386, 70.720463975702145], [56.944979282463933, 70.63274323188665], [53.677375115784187, 70.762657782668455], [53.412016635965372, 71.206661688920192], [51.601894565645708, 71.474759019650477], [51.455753615124209, 72.014881089965129], [52.478275180883564, 72.229441636840946], [52.444168735570841, 72.77473135038484], [54.427613559797649, 73.627547512497571], [53.508289829325136, 73.749813951300141], [55.902458937407644, 74.627486477345329], [55.631932814359701, 75.081412258597155], [57.868643833248839, 75.609390367323186], [61.170044386647497, 76.251883450008123], [64.498368361270209, 76.439055487769267], [66.210977003855092, 76.809782213031227], [68.157059767534818, 76.939696763812904], [68.852211134725124, 76.544811306454605], [68.180572544227644, 76.233641669409096], [64.637326287703004, 75.737754625136219], [61.583507521414752, 75.260884507946784], [58.477082147053366, 74.309056301562819], [56.986785516187993, 73.333043524866227], [55.41933597191094, 72.371267605265956], [55.622837762276291, 71.540594794390316], [57.535692579992386, 70.720463975702145]]], [[[106.970130000000111, 76.97419], [107.240000000000123, 76.48], [108.1538, 76.723350000000138], [111.077260000000138, 76.71], [113.33151, 76.22224], [114.13417, 75.84764], [113.88539, 75.327790000000121], [112.77918, 75.03186], [110.151250000000175, 74.47673], [109.4, 74.18], [110.64, 74.04], [112.11919, 73.787740000000113], [113.019540000000234, 73.976930000000138], [113.529580000000294, 73.33505], [113.96881, 73.59488], [115.56782, 73.75285], [118.776330000000215, 73.58772], [119.02, 73.12], [123.20066, 72.97122], [123.257770000000178, 73.73503], [125.380000000000166, 73.56], [126.97644, 73.56549], [128.59126, 73.03871], [129.05157, 72.39872], [128.46, 71.98], [129.715990000000204, 71.19304], [131.288580000000252, 70.786990000000102], [132.253500000000145, 71.8363], [133.857660000000294, 71.386420000000143], [135.56193, 71.655250000000123], [137.49755, 71.34763], [138.234090000000123, 71.62803], [139.86983, 71.487830000000116], [139.14791, 72.4161900000001], [140.46817, 72.849410000000134], [149.5, 72.2], [150.35118000000017, 71.60643], [152.96890000000019, 70.84222], [157.00688, 71.03141], [158.99779, 70.86672], [159.830310000000225, 70.45324], [159.70866, 69.72198], [160.94053000000028, 69.43728], [162.279070000000104, 69.64204], [164.05248, 69.66823], [165.940370000000172, 69.47199], [167.83567, 69.58269], [169.57763000000017, 68.6938], [170.816880000000253, 69.01363], [170.008200000000159, 69.65276], [170.453450000000259, 70.09703], [173.643910000000204, 69.81743], [175.72403000000017, 69.877250000000217], [178.6, 69.4], [180.000000000000114, 68.963636363636553], [180.000000000000114, 64.979708702198465], [179.99281, 64.97433], [178.707200000000199, 64.53493], [177.411280000000147, 64.60821], [178.313000000000187, 64.07593], [178.90825000000018, 63.251970000000128], [179.37034, 62.98262], [179.48636, 62.56894], [179.228250000000116, 62.304100000000133], [177.3643, 62.5219], [174.569290000000194, 61.76915], [173.68013, 61.65261], [172.15, 60.95], [170.6985, 60.33618], [170.330850000000282, 59.88177], [168.90046, 60.57355], [166.294980000000265, 59.7885500000002], [165.840000000000202, 60.16], [164.87674, 59.7316], [163.539290000000108, 59.86871], [163.217110000000218, 59.21101], [162.01733, 58.24328], [162.05297, 57.83912], [163.19191, 57.61503], [163.057940000000144, 56.159240000000111], [162.129580000000203, 56.12219], [161.70146, 55.285680000000148], [162.117490000000117, 54.85514], [160.368770000000325, 54.34433], [160.021730000000218, 53.20257], [158.530940000000157, 52.958680000000236], [158.23118, 51.94269], [156.789790000000266, 51.01105], [156.42000000000013, 51.7], [155.99182, 53.15895], [155.43366, 55.381030000000109], [155.914420000000291, 56.767920000000132], [156.75815, 57.3647], [156.81035, 57.83204], [158.364330000000166, 58.05575], [160.150640000000124, 59.314770000000109], [161.87204, 60.343000000000117], [163.66969, 61.1409], [164.473550000000103, 62.55061], [163.258420000000172, 62.46627], [162.65791, 61.6425], [160.12148, 60.54423], [159.30232, 61.77396], [156.72068, 61.43442], [154.218060000000293, 59.758180000000117], [155.04375, 59.14495], [152.81185, 58.88385], [151.265730000000246, 58.78089], [151.33815, 59.50396], [149.78371, 59.655730000000126], [148.54481, 59.16448], [145.48722, 59.33637], [142.197820000000121, 59.03998], [138.958480000000293, 57.08805], [135.12619, 54.72959], [136.70171, 54.603550000000112], [137.19342, 53.97732], [138.1647, 53.755010000000247], [138.80463, 54.25455], [139.90151, 54.189680000000166], [141.34531, 53.089570000000109], [141.37923, 52.23877], [140.59742000000017, 51.23967], [140.51308, 50.045530000000113], [140.061930000000189, 48.446710000000152], [138.554720000000202, 46.99965], [138.21971, 46.30795], [136.86232, 45.143500000000174], [135.515350000000183, 43.989], [134.869390000000237, 43.39821], [133.536870000000249, 42.81147], [132.90627, 42.79849], [132.278070000000241, 43.284560000000106], [130.935870000000136, 42.55274], [130.78, 42.220000000000191], [130.640000000000157, 42.395], [130.633866408409801, 42.903014634770543], [131.144687941614961, 42.929989732426932], [131.288555129115593, 44.111519680348252], [131.025190000000237, 44.96796], [131.883454217659562, 45.321161607436508], [133.097120000000189, 45.14409], [133.769643996313164, 46.116926988299149], [134.112350000000163, 47.212480000000127], [134.50081, 47.578450000000139], [135.026311476786759, 48.478229885443902], [133.373595819228001, 48.183441677434836], [132.506690000000106, 47.78896], [130.987260000000106, 47.79013], [130.582293328982644, 48.72968740497619], [129.397817824420486, 49.4406000840156], [127.657400000000351, 49.76027], [127.287455682484904, 50.739797268265434], [126.939156528837827, 51.353894151405896], [126.564399041856959, 51.784255479532689], [125.946348911646439, 52.792798570356936], [125.068211297710434, 53.161044826868924], [123.57147, 53.4588], [122.245747918793043, 53.431725979213681], [121.003084751470354, 53.251401068731226], [120.177088657716865, 52.753886216841195], [120.725789015791975, 52.516226304730893], [120.7382, 51.96411], [120.182080000000155, 51.64355], [119.27939, 50.58292], [119.288460728025839, 50.142882798861947], [117.87924441942647, 49.510983384797036], [116.67880089728618, 49.888531399121398], [115.485695428531415, 49.805177313834733], [114.962109816550353, 50.140247300815119], [114.362456496235325, 50.24830272073747], [112.897739699354361, 49.543565375356984], [111.581230910286649, 49.377968248077671], [110.662010532678835, 49.130128078805846], [109.402449171996707, 49.292960516957685], [108.475167270951275, 49.282547715850704], [107.868175897251092, 49.793705145865871], [106.888804152455293, 50.274295966180276], [105.886591424586868, 50.40601919209216], [104.62158, 50.275320000000157], [103.676545444760336, 50.08996613219513], [102.25589, 50.510560000000105], [102.06521, 51.25991], [100.889480421962631, 51.516855780638409], [99.981732212323564, 51.63400625264395], [98.861490513100492, 52.047366034546698], [97.82573978067451, 51.010995184933236], [98.231761509191699, 50.422400621128716], [97.259760000000199, 49.72605], [95.814020000000156, 49.977460000000114], [94.815949334698757, 50.01343333597088], [94.147566359435601, 50.480536607457161], [93.10421, 50.49529], [92.234711541719676, 50.802170722041737], [90.713667433640765, 50.331811835321098], [88.805566847695573, 49.470520738312459], [87.751264276076824, 49.297197984405543], [87.359970330762692, 49.214980780629148], [86.829356723989648, 49.826674709668133], [85.541269972682485, 49.69285858824815], [85.115559523462082, 50.117302964877631], [84.416377394553038, 50.311399644565817], [83.935114780618903, 50.889245510453563], [83.383003778012451, 51.069182847693881], [81.945985548839943, 50.812195949906325], [80.568446893235446, 51.388336493528435], [80.035559523441705, 50.864750881547209], [77.80091556184432, 53.404414984747532], [76.525179477854749, 54.177003485727127], [76.891100294913443, 54.490524400441913], [74.384820000000119, 53.546850000000113], [73.425678745420512, 53.489810289109741], [73.50851606638436, 54.035616766976588], [72.224150018202195, 54.376655381886778], [71.180131056609468, 54.133285224008247], [70.86526655465515, 55.169733588270091], [69.068166945272893, 55.385250149143488], [68.169100376258896, 54.970391750704366], [65.66687, 54.601250000000149], [65.178533563095939, 54.354227810272064], [61.436600000000126, 54.00625], [60.978066440683236, 53.664993394579128], [61.69998619980062, 52.979996446334255], [60.73999311711453, 52.719986477257734], [60.927268507740237, 52.447548326214999], [59.967533807215567, 51.96042043721566], [61.588003371024136, 51.272658799843171], [61.337424350840998, 50.799070136104248], [59.932807244715555, 50.842194118851822], [59.642282342370564, 50.545442206415707], [58.363320000000122, 51.06364], [56.77798, 51.04355], [55.71694, 50.621710000000142], [54.532878452376181, 51.026239732459359], [52.328723585831042, 51.718652248738088], [50.766648390512174, 51.692762356159861], [48.702381626181044, 50.605128485712825], [48.577841424357601, 49.87475962991563], [47.549480421749379, 50.454698391311119], [46.751596307162764, 49.356005764353725], [47.043671502476585, 49.152038886097571], [46.466445753776291, 48.394152330104923], [47.315240000000152, 47.71585], [48.05725, 47.74377], [48.694733514201872, 47.075628160177885], [48.59325000000014, 46.56104], [49.101160000000121, 46.39933], [48.645410000000105, 45.80629], [47.67591, 45.641490000000111], [46.68201, 44.6092], [47.59094, 43.660160000000118], [47.49252, 42.98658], [48.58437000000017, 41.80888], [47.987283156126033, 41.405819200194387], [47.815665724484653, 41.151416124021338], [47.373315464066387, 41.219732367511135], [46.686070591016708, 41.827137152669899], [46.404950799348924, 41.860675157227426], [45.7764, 42.092440000000224], [45.470279168485909, 42.502780666670041], [44.537622918482057, 42.711992702803677], [43.93121, 42.554960000000101], [43.755990000000182, 42.74083], [42.394400000000154, 43.2203], [40.922190000000128, 43.382150000000131], [40.076964959479838, 43.553104153002486], [39.95500857927108, 43.434997666999287], [38.68, 44.28], [37.539120000000104, 44.65721], [36.675460000000122, 45.24469], [37.40317, 45.40451], [38.23295, 46.24087], [37.67372, 46.63657], [39.14767, 47.044750000000128], [39.121200000000123, 47.26336], [38.22353803889947, 47.102189846375971], [38.2551123390298, 47.546400458356956], [38.77057, 47.825620000000228], [39.738277622238982, 47.898937079452068], [39.895620000000136, 48.23241], [39.67465, 48.783820000000127], [40.080789015469477, 49.307429917999364], [40.069040000000108, 49.60105], [38.594988234213552, 49.926461900423718], [38.010631137857068, 49.915661526074715], [37.393459506995228, 50.383953355503664], [36.626167840325387, 50.225590928745127], [35.35611616388811, 50.577197374059139], [35.37791, 50.77394], [35.02218305841793, 51.207572333371495], [34.224815708154402, 51.255993150428921], [34.141978387190612, 51.56641347920619], [34.391730584457228, 51.768881740925892], [33.75269982273587, 52.335074571331646], [32.715760532367163, 52.238465481162159], [32.412058139787767, 52.288694973349763], [32.15944000000021, 52.061250000000101], [31.78597, 52.10168], [31.540018344862254, 52.742052313846429], [31.305200636527978, 53.073995876673301], [31.49764, 53.167430000000124], [32.304519484188368, 53.132726141972839], [32.693643019346119, 53.351420803432141], [32.405598585751157, 53.618045355842], [31.731272820774585, 53.794029446012011], [31.791424187962399, 53.974638576872181], [31.384472283663818, 54.157056382862365], [30.757533807098774, 54.811770941784388], [30.971835971813245, 55.08154775656412], [30.873909132620064, 55.55097646750351], [29.896294386522435, 55.789463202530484], [29.371571893030783, 55.670090643936263], [29.229513380660389, 55.918344224666399], [28.176709425577933, 56.169129950578778], [27.855282016722519, 56.759326483784363], [27.770015903440985, 57.244258124411189], [27.288184848751648, 57.474528306703903], [27.716685825315771, 57.791899115624439], [27.420150000000202, 58.724570000000128], [28.131699253051856, 59.300825100330982], [27.98112, 59.47537], [29.1177, 60.028050000000107], [28.07, 60.503520000000137], [30.211107212044645, 61.780027777749673], [31.139991082491029, 62.357692776124431], [31.516092156711263, 62.867687486412898], [30.035872430142796, 63.552813625738551], [30.444684686003736, 64.204453436939062], [29.544429559047014, 64.948671576590542], [30.21765, 65.80598], [29.054588657352376, 66.944286200622017], [29.977426385220689, 67.69829702419274], [28.445943637818765, 68.364612942163987], [28.591929559043358, 69.064776923286686], [29.39955, 69.15692000000017], [31.101080000000103, 69.55811], [32.132720000000255, 69.905950000000232], [33.77547, 69.301420000000107], [36.51396, 69.06342], [40.292340000000159, 67.9324], [41.059870000000124, 67.457130000000106], [41.125950000000174, 66.79158000000011], [40.01583, 66.266180000000119], [38.38295, 65.99953], [33.918710000000168, 66.75961], [33.18444, 66.63253], [34.81477, 65.900150000000124], [34.87857425307876, 65.436212877048192], [34.943910000000152, 64.414370000000147], [36.23129, 64.10945], [37.012730000000111, 63.84983], [37.141970000000143, 64.33471], [36.539579035089801, 64.76446], [37.176040000000135, 65.143220000000113], [39.59345, 64.520790000000162], [40.4356, 64.76446], [39.762600000000148, 65.49682], [42.09309, 66.47623], [43.01604000000011, 66.41858], [43.94975000000013, 66.06908], [44.53226, 66.756340000000122], [43.69839, 67.35245], [44.187950000000136, 67.95051], [43.45282, 68.57079], [46.250000000000135, 68.25], [46.821340000000156, 67.68997], [45.55517, 67.56652], [45.56202, 67.010050000000192], [46.349150000000137, 66.66767], [47.894160000000248, 66.884550000000146], [48.13876, 67.52238], [50.227660000000142, 67.998670000000132], [53.717430000000164, 68.85738], [54.47171, 68.80815], [53.485820000000118, 68.20131], [54.72628, 68.09702], [55.442680000000124, 68.43866], [57.317020000000149, 68.46628], [58.802000000000206, 68.88082], [59.941420000000178, 68.27844], [61.077840000000165, 68.94069], [60.03, 69.52], [60.55, 69.85], [63.504000000000147, 69.54739], [64.888115, 69.234835000000132], [68.512160000000108, 68.09233000000016], [69.18068, 68.61563000000011], [68.16444, 69.14436], [68.13522, 69.35649], [66.930080000000103, 69.454610000000102], [67.25976, 69.92873], [66.724920000000125, 70.708890000000125], [66.69466, 71.028970000000228], [68.540060000000111, 71.934500000000227], [69.19636, 72.843360000000146], [69.94, 73.04000000000012], [72.58754, 72.77629], [72.79603, 72.22006], [71.84811, 71.40898], [72.47011, 71.09019], [72.79188, 70.39114], [72.564700000000201, 69.02085], [73.66787, 68.4079], [73.2387, 67.7404], [71.280000000000101, 66.320000000000149], [72.423010000000147, 66.172670000000167], [72.82077, 66.53267], [73.920990000000131, 66.789460000000119], [74.186510000000183, 67.28429], [75.052, 67.760470000000154], [74.469260000000148, 68.32899], [74.93584, 68.98918], [73.84236, 69.07146], [73.601870000000204, 69.62763], [74.3998, 70.63175], [73.1011, 71.447170000000241], [74.890820000000204, 72.12119], [74.65926, 72.83227], [75.158010000000175, 72.854970000000108], [75.68351, 72.300560000000118], [75.288980000000109, 71.33556], [76.35911, 71.152870000000135], [75.903130000000161, 71.87401], [77.5766500000001, 72.26717], [79.652020000000107, 72.32011], [81.5, 71.75], [80.61071, 72.582850000000107], [80.51109, 73.6482], [82.25, 73.85], [84.65526, 73.805910000000154], [86.822300000000226, 73.93688], [86.00956, 74.459670000000145], [87.166820000000143, 75.11643], [88.31571, 75.14393], [90.26, 75.64], [92.90058, 75.77333], [93.234210000000132, 76.0472], [95.860000000000127, 76.14], [96.67821, 75.91548], [98.922540000000197, 76.44689], [100.759670000000199, 76.43028], [101.03532, 76.86189], [101.990840000000105, 77.287540000000192], [104.3516, 77.69792], [106.066640000000135, 77.37389], [104.705000000000211, 77.1274], [106.970130000000111, 76.97419]]], [[[105.07547, 78.30689], [99.43814, 77.921], [101.2649, 79.23399], [102.08635, 79.34641], [102.837815, 79.28129], [105.37243, 78.71334], [105.07547, 78.30689]]], [[[51.136186557831266, 80.54728017854093], [49.793684523320692, 80.415427761548202], [48.894411248577526, 80.33956675894369], [48.75493655782175, 80.175468248200829], [47.586119012244147, 80.010181179515328], [46.502825962109647, 80.247246812654339], [47.072455275262897, 80.559424140129451], [44.846958042181107, 80.589809882317169], [46.799138624871226, 80.771917629713627], [48.31847741068465, 80.784009914869927], [48.52280602396668, 80.514568996900138], [49.097189568890897, 80.753985907708412], [50.039767693894603, 80.918885403151791], [51.522932977103679, 80.699725653801906], [51.136186557831266, 80.54728017854093]]], [[[99.93976, 78.88094], [97.75794, 78.7562], [94.97259, 79.044745], [93.31288, 79.4265], [92.5454, 80.14379], [91.18107, 80.34146], [93.77766, 81.0246], [95.940895, 81.2504], [97.88385, 80.746975], [100.186655, 79.780135], [99.93976, 78.88094]]]] } }, - { "type": "Feature", "properties": { "admin": "Rwanda", "name": "Rwanda", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[30.419104852019235, -1.134659112150416], [30.816134881317705, -1.698914076345388], [30.758308953583104, -2.287250257988368], [30.469696079232978, -2.413857517103458], [29.938359002407935, -2.348486830254238], [29.632176141078585, -2.917857761246096], [29.02492638521678, -2.839257907730157], [29.117478875451546, -2.292211195488384], [29.254834832483336, -2.215109958508911], [29.29188683443661, -1.620055840667987], [29.579466180140876, -1.341313164885626], [29.821518588996003, -1.443322442229785], [30.419104852019235, -1.134659112150416]]] } }, - { "type": "Feature", "properties": { "admin": "Western Sahara", "name": "W. Sahara", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-8.794883999049075, 27.120696316022503], [-8.81782833498667, 27.656425889592349], [-8.665589565454805, 27.656425889592349], [-8.66512447756419, 27.58947907155822], [-8.684399786809051, 27.395744126895998], [-8.687293667017398, 25.881056219988899], [-11.969418911171159, 25.933352769468261], [-11.93722449385332, 23.374594224536164], [-12.874221564169574, 23.284832261645171], [-13.118754441774708, 22.771220201096249], [-12.929101935263528, 21.327070624267559], [-16.845193650773989, 21.333323472574875], [-17.063423224342568, 20.99975210213082], [-17.020428432675736, 21.422310288981475], [-17.002961798561085, 21.420734157796574], [-14.750954555713532, 21.50060008390366], [-14.630832688851068, 21.860939846274899], [-14.221167771857251, 22.310163072188153], [-13.891110398809044, 23.691009019459297], [-12.500962693725368, 24.770116278578193], [-12.030758836301613, 26.030866197203036], [-11.718219773800353, 26.104091701760616], [-11.392554897496977, 26.883423977154358], [-10.551262579785272, 26.990807603456879], [-10.18942420087758, 26.860944729107398], [-9.735343390328877, 26.860944729107398], [-9.413037482124464, 27.088476060488514], [-8.794883999049075, 27.120696316022503]]] } }, - { "type": "Feature", "properties": { "admin": "Saudi Arabia", "name": "Saudi Arabia", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[42.779332309750963, 16.34789134364868], [42.64957278826607, 16.77463532151496], [42.347989129410706, 17.075805568911996], [42.270887892431219, 17.474721787989122], [41.754381951673949, 17.833046169500971], [41.221391229015573, 18.671599636301206], [40.939341261566533, 19.486485297111752], [40.247652215339819, 20.174634507726488], [39.801684604660934, 20.338862209550054], [39.139399448408277, 21.29190481209293], [39.023695916506782, 21.986875311770191], [39.066328973147577, 22.579655666590263], [38.492772251140075, 23.688451036060851], [38.023860304523616, 24.078685614512928], [37.483634881344379, 24.285494696545008], [37.154817742671177, 24.858482977797301], [37.209491408035994, 25.084541530858104], [36.931627231602583, 25.602959499610172], [36.639603712721218, 25.826227525327219], [36.249136590323808, 26.570135606384873], [35.640181512196385, 27.376520494083415], [35.130186801907875, 28.063351955674712], [34.632336053207972, 28.058546047471559], [34.787778761541936, 28.607427273059692], [34.832220493312938, 28.957483425404838], [34.956037225084252, 29.356554673778835], [36.068940870922049, 29.19749461518445], [36.501214227043583, 29.505253607698702], [36.740527784987243, 29.865283311476183], [37.503581984209028, 30.003776150018396], [37.668119744626374, 30.338665269485894], [37.998848911294367, 30.508499864213128], [37.002165561681004, 31.508412990844736], [39.004885695152545, 32.010216986614971], [39.195468377444961, 32.16100881604266], [40.399994337736238, 31.889991766887931], [41.889980910007829, 31.190008653278362], [44.709498732284736, 29.178891099559376], [46.568713413281742, 29.099025173452283], [47.459821811722819, 29.002519436147217], [47.708850538937376, 28.526062730416136], [48.416094191283939, 28.552004299426663], [48.807594842327163, 27.689627997339876], [49.299554477745815, 27.461218166609804], [49.470913527225647, 27.109999294538078], [50.152422316290874, 26.689663194275994], [50.212935418504671, 26.277026882425371], [50.113303257045928, 25.943972276304248], [50.23985883972874, 25.608049628190923], [50.527386509000728, 25.327808335872099], [50.660556675016885, 24.999895534764018], [50.810108270069563, 24.754742539971371], [51.112415398977006, 24.556330878186721], [51.389607781790623, 24.627385972588051], [51.579518670463258, 24.245497137951102], [51.617707553926969, 24.014219265228824], [52.000733270074321, 23.001154486578937], [55.006803012924898, 22.496947536707129], [55.208341098863187, 22.708329982997039], [55.666659376859812, 22.000001125572336], [54.999981723862355, 19.999994004796104], [52.000009800022227, 19.000003363516054], [49.116671583864857, 18.616667588774941], [48.183343540241324, 18.166669216377311], [47.466694777217626, 17.116681626854877], [47.000004917189749, 16.949999294497438], [46.749994337761642, 17.283338120996174], [46.366658563020529, 17.233315334537632], [45.399999220568752, 17.333335069238554], [45.216651238797184, 17.43332896572333], [44.062613152855072, 17.410358791569589], [43.791518589051904, 17.319976711491105], [43.380794305196098, 17.579986680567668], [43.115797560403351, 17.088440456607369], [43.218375278502734, 16.666889960186406], [42.779332309750963, 16.34789134364868]]] } }, - { "type": "Feature", "properties": { "admin": "Sudan", "name": "Sudan", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[33.963392794971178, 9.464285229420623], [33.824963480907506, 9.48406084571536], [33.842130853028145, 9.981914637215992], [33.721959248183097, 10.325262079630191], [33.206938084561777, 10.720111638406591], [33.086766479716729, 11.441141267476493], [33.206938084561777, 12.179338268667093], [32.743419037302537, 12.24800775714999], [32.674749548819641, 12.024831919580716], [32.073891524594778, 11.973329803218517], [32.314234734284746, 11.681484477166519], [32.400071594888338, 11.080626452941486], [31.850715687025509, 10.531270545078822], [31.352861895524875, 9.810240916008693], [30.837840731903377, 9.707236683284519], [29.996639497988546, 10.290927335388684], [29.618957311332842, 10.084918869940223], [29.515953078608607, 9.793073543888053], [29.000931914987166, 9.604232450560287], [28.966597170745779, 9.398223985111654], [27.970889587744345, 9.398223985111654], [27.833550610778783, 9.604232450560287], [27.112520981708876, 9.638567194801622], [26.752006167173811, 9.466893473594492], [26.477328213242508, 9.552730334198086], [25.96230704962101, 10.136420986302422], [25.790633328413943, 10.411098940233726], [25.069603699343979, 10.27375996326799], [24.79492574541268, 9.810240916008693], [24.537415163602017, 8.917537565731719], [24.194067721187643, 8.728696472403895], [23.886979580860665, 8.619729712933063], [23.805813429466745, 8.666318874542522], [23.459012892355979, 8.954285793489019], [23.394779087017291, 9.26506785729225], [23.557249790142915, 9.681218166538766], [23.554304233502187, 10.089255275915319], [22.977543572692749, 10.714462591998538], [22.864165480244246, 11.142395127807616], [22.87622, 11.384610000000119], [22.50869, 11.67936], [22.49762, 12.26024], [22.28801, 12.64605], [21.93681, 12.588180000000133], [22.03759, 12.95546], [22.29658, 13.37232], [22.18329, 13.78648], [22.51202, 14.09318], [22.30351, 14.32682], [22.567950000000106, 14.944290000000134], [23.02459, 15.68072], [23.886890000000101, 15.61084], [23.837660000000135, 19.580470000000101], [23.850000000000129, 20.0], [25.00000000000011, 20.00304], [25.00000000000011, 22.0], [29.02, 22.0], [32.9, 22.0], [36.86623, 22.0], [37.18872, 21.01885], [36.96941, 20.837440000000125], [37.114700000000134, 19.80796], [37.48179, 18.61409], [37.86276, 18.36786], [38.410089959473218, 17.998307399970312], [37.904000000000103, 17.42754], [37.16747, 17.263140000000128], [36.852530000000108, 16.95655], [36.75389, 16.29186], [36.32322, 14.82249], [36.42951, 14.42211], [36.27022, 13.563330000000118], [35.86363, 12.57828], [35.26049, 12.08286], [34.831630000000125, 11.318960000000116], [34.73115000000012, 10.910170000000106], [34.25745, 10.63009], [33.96162, 9.58358], [33.963392794971178, 9.464285229420623]]] } }, - { "type": "Feature", "properties": { "admin": "South Sudan", "name": "S. Sudan", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[33.963392794971178, 9.464285229420623], [33.97498, 8.68456], [33.82550000000014, 8.37916], [33.294800000000116, 8.35458], [32.95418, 7.7849700000001], [33.56829, 7.71334], [34.0751, 7.22595], [34.25032, 6.82607], [34.70702, 6.59422000000012], [35.298007118233095, 5.506], [34.620196267853935, 4.847122742082034], [34.005, 4.249884947362147], [33.39, 3.79], [32.68642, 3.79232], [31.881450000000136, 3.55827], [31.24556, 3.7819], [30.83385, 3.50917], [29.95349, 4.1737], [29.715995314256013, 4.600804755060152], [29.159078403446635, 4.389267279473244], [28.696677687298795, 4.455077215996993], [28.428993768026992, 4.287154649264607], [27.979977247842946, 4.408413397637388], [27.374226108517625, 5.233944403500173], [27.213409051225248, 5.550953477394613], [26.465909458123289, 5.946717434101855], [26.213418409945113, 6.546603298362127], [25.796647983511257, 6.979315904158169], [25.124130893664805, 7.500085150579422], [25.114932488716867, 7.825104071479244], [24.567369012152191, 8.229187933785452], [23.886979580860665, 8.619729712933063], [24.194067721187643, 8.728696472403895], [24.537415163602017, 8.917537565731719], [24.79492574541268, 9.810240916008693], [25.069603699343979, 10.27375996326799], [25.790633328413943, 10.411098940233726], [25.96230704962101, 10.136420986302422], [26.477328213242508, 9.552730334198086], [26.752006167173811, 9.466893473594492], [27.112520981708876, 9.638567194801622], [27.833550610778783, 9.604232450560287], [27.970889587744345, 9.398223985111654], [28.966597170745779, 9.398223985111654], [29.000931914987166, 9.604232450560287], [29.515953078608607, 9.793073543888053], [29.618957311332842, 10.084918869940223], [29.996639497988546, 10.290927335388684], [30.837840731903377, 9.707236683284519], [31.352861895524875, 9.810240916008693], [31.850715687025509, 10.531270545078822], [32.400071594888338, 11.080626452941486], [32.314234734284746, 11.681484477166519], [32.073891524594778, 11.973329803218517], [32.674749548819641, 12.024831919580716], [32.743419037302537, 12.24800775714999], [33.206938084561777, 12.179338268667093], [33.086766479716729, 11.441141267476493], [33.206938084561777, 10.720111638406591], [33.721959248183097, 10.325262079630191], [33.842130853028145, 9.981914637215992], [33.824963480907506, 9.48406084571536], [33.963392794971178, 9.464285229420623]]] } }, - { "type": "Feature", "properties": { "admin": "Senegal", "name": "Senegal", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-16.713728807023468, 13.594958604379853], [-17.126106736712611, 14.373515733289221], [-17.625042690490655, 14.72954051356407], [-17.185172898822227, 14.91947724045286], [-16.700706346085919, 15.621527411354107], [-16.463098110407881, 16.135036119038457], [-16.120690070041928, 16.45566254319338], [-15.623666144258689, 16.369337063049809], [-15.135737270558813, 16.587282416240779], [-14.577347581428977, 16.598263658102805], [-14.099521450242175, 16.304302273010489], [-13.43573767745306, 16.039383042866188], [-12.830658331747513, 15.303691514542942], [-12.170750291380299, 14.616834214735503], [-12.124887457721256, 13.994727484589784], [-11.927716030311613, 13.422075100147392], [-11.553397793005427, 13.141213690641063], [-11.467899135778522, 12.754518947800973], [-11.513942836950587, 12.442987575729415], [-11.658300950557928, 12.386582749882834], [-12.20356482588563, 12.465647691289401], [-12.278599005573438, 12.354440008997285], [-12.499050665730561, 12.332089952031053], [-13.217818162478235, 12.575873521367964], [-13.700476040084322, 12.586182969610192], [-15.548476935274005, 12.628170070847343], [-15.816574266004251, 12.515567124883345], [-16.147716844130581, 12.547761542201185], [-16.67745195155457, 12.38485158940105], [-16.84152462408127, 13.151393947802557], [-15.931295945692208, 13.130284125211331], [-15.691000535534991, 13.270353094938455], [-15.511812506562931, 13.278569647672864], [-15.141163295949463, 13.509511623585235], [-14.712197231494626, 13.298206691943774], [-14.277701788784553, 13.28058502853224], [-13.844963344772404, 13.505041612191999], [-14.046992356817478, 13.794067898000446], [-14.376713833055785, 13.625680243377371], [-14.687030808968483, 13.63035696049978], [-15.081735398813816, 13.876491807505982], [-15.398770310924457, 13.860368760630916], [-15.624596320039936, 13.623587347869556], [-16.713728807023468, 13.594958604379853]]] } }, - { "type": "Feature", "properties": { "admin": "Solomon Islands", "name": "Solomon Is.", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[162.119024693040842, -10.482719008021133], [162.398645868172196, -10.826367282762119], [161.700032180018354, -10.820011081590222], [161.319796991214702, -10.204751478723123], [161.917383254237933, -10.446700534713653], [162.119024693040842, -10.482719008021133]]], [[[160.852228631837903, -9.872937106977002], [160.462588332357228, -9.89520964929484], [159.849447463214176, -9.794027194867367], [159.640002883135139, -9.639979750205269], [159.70294477766663, -9.242949720906777], [160.362956170898428, -9.400304457235533], [160.688517694337179, -9.610162448772808], [160.852228631837903, -9.872937106977002]]], [[[161.679981724289121, -9.599982191611373], [161.52939660059053, -9.784312025596433], [160.788253208660507, -8.917543226764918], [160.579997186524338, -8.320008640173965], [160.92002811100491, -8.320008640173965], [161.280006138349961, -9.120011488484449], [161.679981724289121, -9.599982191611373]]], [[[159.875027297198585, -8.337320244991714], [159.917401971677975, -8.538289890174864], [159.133677199539335, -8.114181410355398], [158.586113722974687, -7.754823500197713], [158.211149530264834, -7.421872246941147], [158.359977655265425, -7.320017998893915], [158.820001255527671, -7.56000335045739], [159.640002883135139, -8.020026950719567], [159.875027297198585, -8.337320244991714]]], [[[157.53842573468927, -7.347819919466928], [157.339419793933217, -7.404767347852554], [156.902030471014768, -7.176874281445391], [156.491357863591304, -6.765943291860394], [156.542827590153934, -6.599338474151478], [157.140000441718882, -7.021638278840653], [157.53842573468927, -7.347819919466928]]]] } }, - { "type": "Feature", "properties": { "admin": "Sierra Leone", "name": "Sierra Leone", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-11.438779466182053, 6.785916856305746], [-11.708194545935736, 6.860098374860724], [-12.428098924193815, 7.262942002792029], [-12.949049038128193, 7.798645738145736], [-13.124025437868479, 8.163946438016977], [-13.246550258832512, 8.903048610871506], [-12.711957566773076, 9.342711696810765], [-12.596719122762206, 9.620188300001969], [-12.425928514037562, 9.835834051955953], [-12.150338100625003, 9.858571682164378], [-11.917277390988655, 10.046983954300556], [-11.117481248407328, 10.045872911006283], [-10.839151984083299, 9.688246161330367], [-10.622395188835037, 9.267910061068276], [-10.65477047366589, 8.977178452994194], [-10.494315151399629, 8.715540676300433], [-10.505477260774667, 8.348896389189603], [-10.230093553091276, 8.406205552601291], [-10.695594855176477, 7.939464016141085], [-11.14670427086838, 7.396706447779534], [-11.199801805048278, 7.105845648624735], [-11.438779466182053, 6.785916856305746]]] } }, - { "type": "Feature", "properties": { "admin": "El Salvador", "name": "El Salvador", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-87.793111131526558, 13.384480495655051], [-87.904112108089507, 13.149016831917134], [-88.483301561216791, 13.163951320849488], [-88.843227912129692, 13.259733588102474], [-89.256742723329282, 13.4585328231293], [-89.812393561547637, 13.520622056527994], [-90.095554572290951, 13.73533763270073], [-90.064677903996568, 13.881969509328924], [-89.7219339668207, 14.134228013561694], [-89.5342193265205, 14.244815578666302], [-89.587342698916544, 14.362586167859485], [-89.353325975282772, 14.424132798719112], [-89.058511929057644, 14.340029405164085], [-88.843072882832814, 14.140506700085169], [-88.541230841815974, 13.980154730683475], [-88.50399797234968, 13.845485948130854], [-88.065342576840123, 13.964625962779774], [-87.859515347021585, 13.893312486216979], [-87.723502977229387, 13.785050360565503], [-87.793111131526558, 13.384480495655051]]] } }, - { "type": "Feature", "properties": { "admin": "Somaliland", "name": "Somaliland", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[48.938129510296491, 9.451748968946672], [48.486735874226994, 8.837626247589979], [47.78942, 8.003], [46.948328484897942, 7.996876532417386], [43.67875, 9.183580000000116], [43.296975132018744, 9.540477403191742], [42.92812, 10.021940000000139], [42.55876, 10.572580000000126], [42.776851841000948, 10.926878566934416], [43.145304803242126, 11.462039699748853], [43.470659620951658, 11.27770986576388], [43.666668328634834, 10.864169216348158], [44.117803582542805, 10.445538438351603], [44.614259067570849, 10.442205308468941], [45.556940545439133, 10.698029486529775], [46.645401238802997, 10.816549383991171], [47.525657586462778, 11.127228094929986], [48.021596307167769, 11.193063869669741], [48.378783807169263, 11.375481675660122], [48.948206414593457, 11.410621649618516], [48.942005242718423, 11.394266058798163], [48.938491245322595, 10.982327378783451], [48.938232863161076, 9.973500067581481], [48.938129510296491, 9.451748968946672]]] } }, - { "type": "Feature", "properties": { "admin": "Somalia", "name": "Somalia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[49.72862, 11.5789], [50.25878, 11.67957], [50.73202, 12.0219], [51.1112, 12.02464], [51.13387, 11.74815], [51.04153, 11.16651], [51.04531, 10.6409], [50.83418, 10.27972], [50.55239, 9.19874], [50.07092, 8.08173], [49.4527, 6.80466], [48.59455, 5.33911], [47.74079, 4.2194], [46.56476, 2.85529], [45.56399, 2.04576], [44.06815, 1.05283], [43.13597, 0.2922], [42.04157, -0.91916], [41.81095, -1.44647], [41.58513, -1.68325], [40.993, -0.85829], [40.98105, 2.78452], [41.855083092643966, 3.918911920483726], [42.12861, 4.23413], [42.76967, 4.25259], [43.66087, 4.95755], [44.9636, 5.00162], [47.78942, 8.003], [48.486735874226937, 8.837626247589993], [48.938129510296442, 9.451748968946616], [48.938232863161026, 9.973500067581508], [48.938491245322481, 10.982327378783465], [48.942005242718345, 11.394266058798136], [48.948204758509732, 11.410617281697961], [49.26776, 11.43033], [49.72862, 11.5789]]] } }, - { "type": "Feature", "properties": { "admin": "Republic of Serbia", "name": "Serbia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[20.874312778413408, 45.416375433934306], [21.483526238702204, 45.181170152357865], [21.562022739353718, 44.768947251965635], [22.145087924902892, 44.478422349620573], [22.459022251075961, 44.702517198254426], [22.705725538837434, 44.578002834647002], [22.47400841644065, 44.409227606781762], [22.657149692483067, 44.234923000661347], [22.410446404721593, 44.008063462900047], [22.500156691180219, 43.642814439460999], [22.986018507588479, 43.211161200527094], [22.604801466571352, 42.898518785161109], [22.43659467946139, 42.580321153323943], [22.545011834409642, 42.461362006188025], [22.380525750424674, 42.320259507815074], [21.917080000000105, 42.30364], [21.576635989402117, 42.245224397061847], [21.54332, 42.32025], [21.66292, 42.43922], [21.77505, 42.6827], [21.63302, 42.67717], [21.43866, 42.86255], [21.27421, 42.90959], [21.143395, 43.068685000000123], [20.95651, 43.13094], [20.81448, 43.27205], [20.63508, 43.21671], [20.49679, 42.88469], [20.25758, 42.81275], [20.3398, 42.89852], [19.95857, 43.10604], [19.63, 43.213779970270522], [19.48389, 43.35229], [19.21852, 43.52384], [19.454, 43.568100000000115], [19.59976, 44.03847], [19.11761, 44.42307], [19.36803, 44.863], [19.00548, 44.86023], [19.390475701584588, 45.236515611342369], [19.072768995854172, 45.521511135432078], [18.82982, 45.90888], [19.596044549241636, 46.171729844744547], [20.22019249846289, 46.127468980486569], [20.76217492033998, 45.734573065771478], [20.874312778413408, 45.416375433934306]]] } }, - { "type": "Feature", "properties": { "admin": "Suriname", "name": "Suriname", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-57.147436489476874, 5.973149929219161], [-55.949318406789786, 5.772877915872], [-55.841779751190408, 5.953125311706059], [-55.033250291551759, 6.025291449401662], [-53.958044603070888, 5.756548163267764], [-54.478632981979224, 4.896755682795585], [-54.3995422023565, 4.212611395683466], [-54.006930508018996, 3.620037746592558], [-54.181726040246261, 3.189779771330421], [-54.269705166223183, 2.732391669115046], [-54.524754197799709, 2.311848863123785], [-55.097587449755125, 2.523748073736612], [-55.569755011605984, 2.42150625244713], [-55.973322109589361, 2.510363877773016], [-56.073341844290283, 2.220794989425499], [-55.905600145070871, 2.021995754398659], [-55.995698004771739, 1.817667141116601], [-56.53938574891454, 1.89952260986692], [-57.150097825739898, 2.768926906745406], [-57.281433478409703, 3.333491929534119], [-57.601568976457848, 3.334654649260684], [-58.044694383360664, 4.060863552258382], [-57.860209520078691, 4.576801052260449], [-57.914288906472123, 4.812626451024413], [-57.307245856339492, 5.073566595882225], [-57.147436489476874, 5.973149929219161]]] } }, - { "type": "Feature", "properties": { "admin": "Slovakia", "name": "Slovakia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[18.85314415861361, 49.496229763377634], [18.909574822676316, 49.435845852244562], [19.320712517990469, 49.571574001659179], [19.825022820726865, 49.217125352569219], [20.415839471119849, 49.431453355499755], [20.887955356538406, 49.328772284535823], [21.607808058364206, 49.470107326854077], [22.558137648211751, 49.08573802346713], [22.280841912533553, 48.825392157580659], [22.085608351334848, 48.422264309271782], [21.872236362401729, 48.319970811550007], [20.801293979584919, 48.62385407164237], [20.473562045989862, 48.562850043321809], [20.239054396249344, 48.327567247096916], [19.769470656013109, 48.2026911484636], [19.66136355965849, 48.266614895208647], [19.174364861739885, 48.111378892603859], [18.777024773847668, 48.081768296900627], [18.696512892336923, 47.88095368101439], [17.857132602620023, 47.758428860050365], [17.488472934649813, 47.867466132186209], [16.979666782304033, 48.123497015976298], [16.879982944412998, 48.470013332709463], [16.960288120194573, 48.596982326850593], [17.101984897538895, 48.8169688991171], [17.545006951577101, 48.800019029325362], [17.886484816161808, 48.903475246773695], [17.913511590250462, 48.996492824899072], [18.104972771891848, 49.043983466175298], [18.170498488037961, 49.271514797556421], [18.399993523846174, 49.315000515330034], [18.554971144289478, 49.495015367218777], [18.85314415861361, 49.496229763377634]]] } }, - { "type": "Feature", "properties": { "admin": "Slovenia", "name": "Slovenia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[13.806475457421524, 46.509306138691201], [14.632471551174827, 46.431817328469535], [15.137091912504982, 46.658702704447016], [16.011663852612653, 46.683610744811688], [16.202298211337361, 46.852385972676949], [16.370504998447412, 46.841327216166498], [16.564808383864854, 46.503750922219822], [15.768732944408548, 46.238108222023442], [15.671529575267552, 45.834153550797865], [15.323953891672403, 45.731782538427673], [15.327674594797424, 45.452316392593218], [14.935243767972931, 45.471695054702671], [14.595109490627804, 45.6349409043127], [14.411968214585411, 45.466165676447446], [13.715059848697221, 45.500323798192369], [13.937630242578305, 45.591015936864608], [13.698109978905475, 46.016778062517339], [13.806475457421524, 46.509306138691201]]] } }, - { "type": "Feature", "properties": { "admin": "Sweden", "name": "Sweden", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[22.183173455501922, 65.723740546320158], [21.213516879977213, 65.02600535751526], [21.369631381930954, 64.413587958424273], [19.778875766690216, 63.609554348395022], [17.847779168375208, 62.749400132896803], [17.11955488451812, 61.341165676510954], [17.831346062906388, 60.636583360427394], [18.787721795332086, 60.081914374422581], [17.869224887776337, 58.95376618105869], [16.829185011470084, 58.719826972073385], [16.44770958829147, 57.041118069071871], [15.87978559740378, 56.104301866268649], [14.666681349352071, 56.20088511822216], [14.100721062891461, 55.407781073622637], [12.942910597392054, 55.361737372450563], [12.625100538797025, 56.307080186581956], [11.787942335668671, 57.441817125063061], [11.027368605196866, 58.856149400459344], [11.468271925511145, 59.432393296946024], [12.300365838274896, 60.117932847730025], [12.631146681375181, 61.293571682370121], [11.992064243221559, 61.800362453856543], [11.930569288794228, 63.128317572676963], [12.57993533697393, 64.066218980558318], [13.571916131248711, 64.049114081469696], [13.9199052263022, 64.445420640716065], [13.555689731509087, 64.7870276963815], [15.108411492582999, 66.19386688909546], [16.108712192456775, 67.302455552836875], [16.768878614985478, 68.013936672631388], [17.729181756265344, 68.010551866316263], [17.993868442464329, 68.567391262477344], [19.878559604581248, 68.407194322372561], [20.025268995857882, 69.065138658312691], [20.645592889089521, 69.106247260200846], [21.978534783626113, 68.616845608180682], [23.539473097434435, 67.936008612735236], [23.565879754335576, 66.396050930437411], [23.903378533633795, 66.006927395279604], [22.183173455501922, 65.723740546320158]]] } }, - { "type": "Feature", "properties": { "admin": "Swaziland", "name": "Swaziland", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[32.071665480281062, -26.733820082304902], [31.868060337051073, -27.17792734142127], [31.282773064913325, -27.285879408478991], [30.685961948374477, -26.743845310169526], [30.676608514129633, -26.398078301704604], [30.949666782359905, -26.022649021104144], [31.044079624157146, -25.731452325139436], [31.333157586397899, -25.660190525008943], [31.837777947728057, -25.843331801051342], [31.985779249811962, -26.29177988048022], [32.071665480281062, -26.733820082304902]]] } }, - { "type": "Feature", "properties": { "admin": "Syria", "name": "Syria", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[38.792340529136077, 33.378686428352218], [36.834062127435537, 32.312937526980768], [35.719918247222743, 32.709192409794859], [35.700797967274745, 32.716013698857374], [35.836396925608618, 32.868123277308506], [35.821100701650231, 33.277426459276292], [36.066460402172048, 33.824912421192543], [36.611750115715886, 34.201788641897174], [36.448194207512095, 34.59393524834406], [35.998402540843628, 34.644914048799997], [35.905023227692219, 35.410009467097318], [36.149762811026527, 35.821534735653664], [36.417550083163029, 36.040616970355053], [36.685389031731795, 36.259699205056457], [36.739494256341395, 36.817520453431079], [37.066761102045824, 36.623036200500614], [38.167727492024191, 36.901210435527766], [38.699891391765895, 36.712927354472335], [39.522580193852541, 36.716053778625984], [40.673259311695681, 37.091276353497285], [41.212089471203043, 37.074352321921687], [42.349591098811764, 37.22987254490409], [41.837064243340954, 36.605853786763568], [41.289707472505448, 36.358814602192261], [41.383965285005807, 35.628316555314349], [41.00615888851992, 34.419372260062111], [38.792340529136077, 33.378686428352218]]] } }, - { "type": "Feature", "properties": { "admin": "Chad", "name": "Chad", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[14.495787387762899, 12.859396267137353], [14.595781284247604, 13.330426947477859], [13.954476759505607, 13.353448798063765], [13.956698846094124, 13.996691189016925], [13.540393507550785, 14.36713369390122], [13.97217, 15.68437], [15.247731154041842, 16.627305813050778], [15.300441114979716, 17.927949937405], [15.68574059414777, 19.957180080642384], [15.90324669766431, 20.387618923417499], [15.487148064850143, 20.730414537025634], [15.47106, 21.04845], [15.096887648181847, 21.308518785074902], [14.8513, 22.862950000000119], [15.86085, 23.40972], [19.84926, 21.49509], [23.837660000000135, 19.580470000000101], [23.886890000000101, 15.61084], [23.02459, 15.68072], [22.567950000000106, 14.944290000000134], [22.30351, 14.32682], [22.51202, 14.09318], [22.18329, 13.78648], [22.29658, 13.37232], [22.03759, 12.95546], [21.93681, 12.588180000000133], [22.28801, 12.64605], [22.49762, 12.26024], [22.50869, 11.67936], [22.87622, 11.384610000000119], [22.864165480244246, 11.142395127807616], [22.231129184668756, 10.971888739460608], [21.723821648859538, 10.567055568885959], [21.000868361096305, 9.475985215691479], [20.059685499764267, 9.012706000194838], [19.094008009526071, 9.074846910025768], [18.81200971850927, 8.982914536978623], [18.911021762780589, 8.630894680206435], [18.389554884523303, 8.281303615751879], [17.964929640380884, 7.890914008002992], [16.705988396886365, 7.508327541529978], [16.4561845231874, 7.734773667832938], [16.290561557691884, 7.754307359239417], [16.106231723706738, 7.497087917506461], [15.279460483469164, 7.42192454673801], [15.436091749745737, 7.692812404811887], [15.120865512765302, 8.382150173369437], [14.979995558337688, 8.796104234243442], [14.544466586981851, 8.965861314322238], [13.954218377344088, 9.549494940626685], [14.17146609869911, 10.021378282100043], [14.627200555081057, 9.920919297724591], [14.909353875394796, 9.992129421422758], [15.46787275560524, 9.982336737503543], [14.923564894275042, 10.891325181517514], [14.960151808337679, 11.555574042197234], [14.89336, 12.21905], [14.495787387762899, 12.859396267137353]]] } }, - { "type": "Feature", "properties": { "admin": "Togo", "name": "Togo", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[1.865240512712318, 6.14215770102973], [1.060121697604927, 5.928837388528875], [0.836931186536333, 6.279978745952147], [0.570384148774849, 6.914358628767188], [0.490957472342245, 7.411744289576474], [0.712029249686878, 8.312464504423827], [0.461191847342121, 8.677222601756013], [0.365900506195885, 9.46500397382948], [0.367579990245389, 10.191212876827176], [-0.049784715159944, 10.706917832883928], [0.023802524423701, 11.018681748900802], [0.899563022474069, 10.997339382364258], [0.772335646171484, 10.470808213742357], [1.077795037448737, 10.175606594275022], [1.425060662450136, 9.825395412632998], [1.46304284018467, 9.334624335157086], [1.664477573258381, 9.128590399609378], [1.618950636409238, 6.832038072126236], [1.865240512712318, 6.14215770102973]]] } }, - { "type": "Feature", "properties": { "admin": "Thailand", "name": "Thailand", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[102.58493248902667, 12.186594956913279], [101.687157830819928, 12.645740057826568], [100.831809523524839, 12.627084865769204], [100.978467238369191, 13.412721665902563], [100.097797479251099, 13.406856390837429], [100.018732537844528, 12.307001044153353], [99.478920526123602, 10.846366685423545], [99.153772414143134, 9.963061428258554], [99.222398716226749, 9.239255479362425], [99.873831821698118, 9.207862046745118], [100.279646844486194, 8.29515289960605], [100.45927412313273, 7.429572658717175], [101.017327915452697, 6.856868597842476], [101.623079054778032, 6.740622463401918], [102.141186964936367, 6.221636053894626], [101.81428185425797, 5.810808417174242], [101.154218784593837, 5.691384182147713], [101.075515578213327, 6.20486705161592], [100.259596388756933, 6.642824815289542], [100.085756870527092, 6.46448944745029], [99.690690545655727, 6.848212795433595], [99.519641554769606, 7.343453884302759], [98.988252801512289, 7.907993068875325], [98.503786248775967, 8.382305202666286], [98.339661899816988, 7.794511623562384], [98.150009393305808, 8.350007432483876], [98.259150018306229, 8.973922837759799], [98.553550653073017, 9.932959906448543], [99.038120558673953, 10.960545762572435], [99.587286004639694, 11.892762762901695], [99.196353794351637, 12.804748439988666], [99.212011753336071, 13.269293728076462], [99.097755161538728, 13.827502549693275], [98.430819126379859, 14.622027696180831], [98.192074009191373, 15.123702500870349], [98.537375929765687, 15.308497422746081], [98.90334842325673, 16.177824204976115], [98.493761020911322, 16.837835598207928], [97.859122755934848, 17.567946071843657], [97.375896437573516, 18.445437730375811], [97.797782830804394, 18.627080389881751], [98.253723992915582, 19.708203029860041], [98.959675734454848, 19.752980658440944], [99.543309360759281, 20.186597601802056], [100.115987583417819, 20.41784963630818], [100.548881056726856, 20.109237982661124], [100.606293573003128, 19.508344427971217], [101.282014601651667, 19.462584947176762], [101.035931431077742, 18.408928330961611], [101.059547560635139, 17.512497259994486], [102.113591750092453, 18.109101670804161], [102.413004998791592, 17.932781683824281], [102.998705682387694, 17.961694647691598], [103.200192091893726, 18.309632066312769], [103.956476678485288, 18.240954087796872], [104.716947056092465, 17.428858954330078], [104.779320509868768, 16.441864935771445], [105.589038527450128, 15.570316066952856], [105.544338413517664, 14.723933620660414], [105.218776890078871, 14.27321177821069], [104.281418084736586, 14.416743068901363], [102.988422072361601, 14.225721136934464], [102.348099399833004, 13.39424734135822], [102.58493248902667, 12.186594956913279]]] } }, - { "type": "Feature", "properties": { "admin": "Tajikistan", "name": "Tajikistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[71.014198032520156, 40.244365546218226], [70.648018833299957, 39.935753892571157], [69.559609816368507, 40.103211371412968], [69.464886915977516, 39.526683254548693], [70.549161818325601, 39.604197902986492], [71.784693637991992, 39.279463202464363], [73.67537926625478, 39.431236884105594], [73.928852166646408, 38.505815334622724], [74.257514276022718, 38.606506862943441], [74.864815708316812, 38.378846340481587], [74.829985792952087, 37.990007025701388], [74.980002475895404, 37.419990139305888], [73.948695916646486, 37.421566270490786], [73.260055779924983, 37.495256862938994], [72.636889682917271, 37.047558091778349], [72.193040805962383, 36.94828766534566], [71.84463829945058, 36.738171291646914], [71.448693475230229, 37.065644843080513], [71.541917759084768, 37.905774441065631], [71.239403924448155, 37.953265082341879], [71.348131137990251, 38.258905341132156], [70.806820509732873, 38.486281643216408], [70.376304152309274, 38.138395901027515], [70.270574171840124, 37.73516469985401], [70.116578403610319, 37.588222764632086], [69.518785434857946, 37.608996690413413], [69.196272820924364, 37.15114350030742], [68.859445835245921, 37.344335842430588], [68.135562371701369, 37.023115139304302], [67.829999627559502, 37.144994004864678], [68.392032505165943, 38.157025254868728], [68.176025018185911, 38.901553453113898], [67.442219679641298, 39.140143541005479], [67.701428664017342, 39.580478420564518], [68.536416456989414, 39.533452867178923], [69.011632928345477, 40.086158148756653], [69.329494663372813, 40.727824408524839], [70.666622348925031, 40.960213324541407], [70.458159621059608, 40.49649485937028], [70.601406691372674, 40.218527330072284], [71.014198032520156, 40.244365546218226]]] } }, - { "type": "Feature", "properties": { "admin": "Turkmenistan", "name": "Turkmenistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[61.21081709172573, 35.650072333309218], [61.123070509694131, 36.491597194966239], [60.377637973883864, 36.52738312432836], [59.234761997316795, 37.412987982730336], [58.436154412678192, 37.522309475243794], [57.330433790928964, 38.029229437810933], [56.619366082592805, 38.121394354803478], [56.180374790273319, 37.935126654607423], [55.511578403551894, 37.964117133123153], [54.800303989486558, 37.392420762678178], [53.921597934795543, 37.198918361961255], [53.735511102112504, 37.906136176091685], [53.880928582581831, 38.952093003895349], [53.101027866432894, 39.290573635407121], [53.357808058491216, 39.975286363274442], [52.693972609269807, 40.033629055331964], [52.91525109234361, 40.87652334244472], [53.85813927594112, 40.631034450842165], [54.736845330632136, 40.951014919593455], [54.0083109881813, 41.551210842447404], [53.721713494690576, 42.123191433270016], [52.916749708880069, 41.868116563477322], [52.81468875510361, 41.135370591794704], [52.502459751196135, 41.783315538086356], [52.94429324729164, 42.116034247397586], [54.079417759014937, 42.324109402020817], [54.755345493392625, 42.04397146256656], [55.455251092353755, 41.259859117185826], [55.968191359282898, 41.308641669269356], [57.096391229079089, 41.32231008561056], [56.93221520368779, 41.82602610937559], [57.786529982337065, 42.170552883465511], [58.629010857991453, 42.751551011723045], [59.976422153569771, 42.223081976890199], [60.083340691981654, 41.425146185871391], [60.46595299667068, 41.22032664648254], [61.547178989513547, 41.2663703476546], [61.882714064384679, 41.084856879229392], [62.374260288344992, 40.053886216790382], [63.518014764261018, 39.363256537425627], [64.170223016216752, 38.892406724598231], [65.215998976507379, 38.402695013984292], [66.546150343700205, 37.974684963526855], [66.518606805288655, 37.362784328758785], [66.217384881459324, 37.393790188133913], [65.745630731066811, 37.661164048812061], [65.588947788357828, 37.305216783185628], [64.746105177677393, 37.111817735333297], [64.546479119733888, 36.31207326918426], [63.982895949158696, 36.007957465146596], [63.193538445900337, 35.857165635718907], [62.984662306576588, 35.404040839167614], [62.230651483005879, 35.270663967422287], [61.21081709172573, 35.650072333309218]]] } }, - { "type": "Feature", "properties": { "admin": "East Timor", "name": "Timor-Leste", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[124.96868248911619, -8.892790215697081], [125.086246372580248, -8.656887302284678], [125.947072381698234, -8.432094821815033], [126.64470421763852, -8.39824675866385], [126.957243280139792, -8.273344821814396], [127.335928175974615, -8.397316582882601], [126.967991978056517, -8.668256117388891], [125.925885044458568, -9.106007175333351], [125.088520135601073, -9.393173109579292], [125.070019972840583, -9.08998748132287], [124.96868248911619, -8.892790215697081]]] } }, - { "type": "Feature", "properties": { "admin": "Trinidad and Tobago", "name": "Trinidad and Tobago", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-61.68, 10.76], [-61.105, 10.89], [-60.895, 10.855], [-60.935, 10.11], [-61.77, 10.0], [-61.95, 10.09], [-61.66, 10.365], [-61.68, 10.76]]] } }, - { "type": "Feature", "properties": { "admin": "Tunisia", "name": "Tunisia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[9.482139926805273, 30.307556057246181], [9.055602654668148, 32.102691962201284], [8.439102817426116, 32.506284898400814], [8.430472853233367, 32.748337307255944], [7.612641635782181, 33.344114895148955], [7.524481642292242, 34.097376410451453], [8.140981479534302, 34.655145982393783], [8.376367628623766, 35.479876003555937], [8.217824334352313, 36.433176988260271], [8.420964389691674, 36.946427313783154], [9.509993523810605, 37.349994411766531], [10.210002475636315, 37.230001735984807], [10.180650262094529, 36.724037787415071], [11.028867221733348, 37.09210317641395], [11.100025668999249, 36.899996039368908], [10.600004510143092, 36.410000108377368], [10.593286573945134, 35.947444362932806], [10.939518670300686, 35.698984076473486], [10.807847120821007, 34.833507188449182], [10.149592726287123, 34.330773016897702], [10.339658644256613, 33.785741685515312], [10.856836378633684, 33.768740139291275], [11.108500603895118, 33.293342800422188], [11.488787469131008, 33.136995754523134], [11.432253452203692, 32.368903103152867], [10.944789666394453, 32.081814683555358], [10.636901482799484, 31.761420803345747], [9.950225050505081, 31.376069647745251], [10.056575148161752, 30.961831366493595], [9.97001712407285, 30.539324856075236], [9.482139926805273, 30.307556057246181]]] } }, - { "type": "Feature", "properties": { "admin": "Turkey", "name": "Turkey", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[36.913127068842151, 41.335358384764291], [38.347664829264502, 40.948586127275711], [39.512606642420238, 41.102762763018561], [40.373432651538245, 41.013672593747337], [41.554084100110707, 41.535656236327604], [42.619548781104548, 41.58317271581992], [43.582745802592704, 41.09214325618256], [43.752657911968491, 40.740200914058811], [43.656436395040963, 40.253563951166157], [44.400008579288759, 40.005000311842302], [44.79398969908199, 39.713002631177027], [44.109225294782355, 39.428136298168049], [44.421402622257595, 38.281281236314513], [44.225755649600522, 37.971584377589345], [44.772699008977739, 37.170444647768441], [44.293451775902852, 37.001514390606353], [43.942258742047343, 37.256227525372928], [42.77912560402185, 37.385263576805798], [42.349591098811764, 37.229872544904104], [41.212089471203015, 37.074352321921729], [40.673259311695702, 37.091276353497356], [39.522580193852512, 36.716053778626012], [38.699891391765917, 36.712927354472313], [38.167727492024156, 36.90121043552778], [37.066761102045824, 36.623036200500614], [36.739494256341366, 36.817520453431108], [36.685389031731816, 36.259699205056499], [36.417550083163086, 36.040616970355096], [36.149762811026584, 35.821534735653664], [35.782084995269848, 36.274995429014915], [36.160821567537049, 36.650605577128367], [35.550936313628334, 36.565442816711325], [34.714553256984367, 36.795532131490909], [34.026894972476455, 36.219960028623966], [32.509158156064096, 36.107563788389193], [31.69959516777956, 36.644275214172602], [30.621624790171062, 36.677864895162308], [30.391096225717114, 36.262980658506983], [29.69997562024556, 36.144357408181001], [28.732902866335387, 36.676831366516431], [27.641186557737363, 36.658822129862749], [27.048767937943289, 37.653360907536005], [26.318218214633042, 38.208133246405382], [26.804700148228726, 38.985760199533551], [26.170785353304375, 39.463612168936457], [27.280019972449388, 40.420013739578302], [28.819977654747209, 40.460011298172212], [29.240003696415574, 41.219990749672682], [31.145933872204434, 41.087621568357058], [32.347979363745786, 41.736264146484629], [33.513282911927512, 42.018960069337304], [35.167703891751863, 42.040224921225438], [36.913127068842151, 41.335358384764291]]], [[[27.192376743282406, 40.690565700842448], [26.358009067497782, 40.151993923496477], [26.043351271272535, 40.617753607743161], [26.056942172965332, 40.824123440100735], [26.294602085075692, 40.936261298174166], [26.604195590936282, 41.562114569661013], [26.117041863720825, 41.826904608724554], [27.135739373490505, 42.141484890301307], [27.996720411905407, 42.007358710287768], [28.115524529744441, 41.622886054036279], [28.988442824018779, 41.299934190428175], [28.806438429486743, 41.05496206314853], [27.619017368284112, 40.999823309893102], [27.192376743282406, 40.690565700842448]]]] } }, - { "type": "Feature", "properties": { "admin": "Taiwan", "name": "Taiwan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[121.777817824389899, 24.394273586519393], [121.175632358892713, 22.790857245367164], [120.747079705896198, 21.970571397382106], [120.220083449383651, 22.814860948166732], [120.106188592612369, 23.556262722258229], [120.694679803552233, 24.53845083261373], [121.49504438688875, 25.295458889257379], [121.951243931161429, 24.997595933527034], [121.777817824389899, 24.394273586519393]]] } }, - { "type": "Feature", "properties": { "admin": "United Republic of Tanzania", "name": "Tanzania", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[33.903711197104592, -0.95], [34.07262, -1.05982], [37.69869, -3.09699], [37.7669, -3.67712], [39.20222, -4.67677], [38.74054, -5.90895], [38.79977, -6.47566], [39.44, -6.84], [39.470000000000134, -7.1], [39.19469, -7.7039], [39.25203, -8.00781], [39.18652, -8.48551], [39.53574, -9.112369999999883], [39.9496, -10.0984], [40.31659, -10.317099999999867], [39.521, -10.89688], [38.427556593587767, -11.285202325081626], [37.82764, -11.26879], [37.47129, -11.56876], [36.775150994622884, -11.59453744878078], [36.514081658684397, -11.720938002166745], [35.312397902169145, -11.439146416879165], [34.559989047999451, -11.520020033415845], [34.28, -10.16], [33.940837724096518, -9.693673841980283], [33.73972, -9.41715], [32.759375441221373, -9.230599053589001], [32.191864861791935, -8.930358981973255], [31.556348097466628, -8.762048841998647], [31.157751336950064, -8.594578747317312], [30.74, -8.34], [30.2, -7.08], [29.62, -6.52], [29.419992710088305, -5.939998874539297], [29.519986606573063, -5.419978936386257], [29.339997592900367, -4.499983412294113], [29.753512404099858, -4.452389418153301], [30.11632, -4.09012], [30.50554, -3.56858], [30.75224, -3.35931], [30.74301, -3.03431], [30.52766, -2.80762], [30.46967, -2.41383], [30.758308953583132, -2.287250257988375], [30.816134881317844, -1.698914076345374], [30.419104852019291, -1.134659112150416], [30.769860000000101, -1.01455], [31.86617, -1.02736], [33.903711197104592, -0.95]]] } }, - { "type": "Feature", "properties": { "admin": "Uganda", "name": "Uganda", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[31.86617, -1.02736], [30.769860000000101, -1.01455], [30.419104852019291, -1.134659112150416], [29.821518588996121, -1.443322442229771], [29.579466180141019, -1.341313164885605], [29.587837762172164, -0.587405694179381], [29.8195, -0.2053], [29.875778842902431, 0.597379868976361], [30.086153598762785, 1.062312730306416], [30.468507521290285, 1.583805446779706], [30.852670118948133, 1.849396470543752], [31.174149204235952, 2.204465236821306], [30.77332, 2.339890000000139], [30.83385, 3.50917], [31.24556, 3.7819], [31.88145, 3.55827], [32.68642, 3.79232], [33.39, 3.79], [34.005, 4.249884947362147], [34.47913, 3.5556], [34.59607, 3.053740000000118], [35.03599, 1.90584], [34.6721, 1.17694], [34.18, 0.515], [33.893568969666994, 0.109813537861839], [33.903711197104592, -0.95], [31.86617, -1.02736]]] } }, - { "type": "Feature", "properties": { "admin": "Ukraine", "name": "Ukraine", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[31.78599816257158, 52.10167796488544], [32.159412062312661, 52.061266994833204], [32.412058139787625, 52.288694973349735], [32.715760532366964, 52.238465481162038], [33.7526998227357, 52.335074571331681], [34.391730584457001, 51.768881740925778], [34.141978387190385, 51.566413479206226], [34.22481570815426, 51.255993150428942], [35.022183058417873, 51.207572333371445], [35.377923618315116, 50.773955390010343], [35.35611616388794, 50.577197374059054], [36.62616784032533, 50.225590928745127], [37.393459506995065, 50.383953355503586], [38.01063113785689, 49.915661526074622], [38.59498823421341, 49.926461900423618], [40.069058465339097, 49.601055406281688], [40.080789015469342, 49.307429917999272], [39.674663934087526, 48.783818467801872], [39.895632358567575, 48.232405097031425], [39.738277622238819, 47.898937079451983], [38.770584751141186, 47.825608222029807], [38.255112339029743, 47.546400458356807], [38.223538038899413, 47.102189846375872], [37.42513715998998, 47.022220567404197], [36.759854770664383, 46.698700263040919], [35.823684523264816, 46.645964463887054], [34.962341749823871, 46.273196519549636], [35.020787794745978, 45.65121898048465], [35.51000857925316, 45.409993394546177], [36.529997999830151, 45.46998973243705], [36.334712762199146, 45.113215643893952], [35.239999220528112, 44.939996242851599], [33.882511020652878, 44.361478583344066], [33.326420932760037, 44.564877020844875], [33.546924269349446, 45.034770819674883], [32.454174432105496, 45.327466132176063], [32.630804477679128, 45.519185695978905], [33.588162062318382, 45.851568508480227], [33.298567335754704, 46.08059845639783], [31.744140252415171, 46.333347886737378], [31.675307244602401, 46.706245022155528], [30.748748813609094, 46.583100084003995], [30.37760867688888, 46.032410183285663], [29.603289015427425, 45.293308010431119], [29.149724969201646, 45.464925442072442], [28.679779493939371, 45.30403087013169], [28.233553501099035, 45.488283189468369], [28.48526940279276, 45.596907050145887], [28.659987420371575, 45.939986884131628], [28.933717482221621, 46.258830471372491], [28.862972446414055, 46.437889309263824], [29.072106967899288, 46.517677720722482], [29.170653924279879, 46.379262396828693], [29.759971958136383, 46.349987697935354], [30.024658644335364, 46.423936672545032], [29.838210076626289, 46.525325832701675], [29.908851759569295, 46.67436066343145], [29.559674106573105, 46.928582872091312], [29.415135125452732, 47.346645209332571], [29.050867954227321, 47.510226955752493], [29.122698195113024, 47.849095160506458], [28.670891147585163, 48.118148505234089], [28.259546746541837, 48.155562242213406], [27.52253746919515, 48.467119452501102], [26.857823520624798, 48.368210761094488], [26.619336785597788, 48.220726223333457], [26.197450392366925, 48.220881252630342], [25.945941196402394, 47.987148749374207], [25.207743361112986, 47.891056423527459], [24.866317172960571, 47.737525743188307], [24.402056105250374, 47.981877753280422], [23.760958286237404, 47.985598456405448], [23.142236362406798, 48.096341050806942], [22.710531447040488, 47.882193915389394], [22.640819939878746, 48.150239569687351], [22.085608351334848, 48.422264309271782], [22.280841912533553, 48.825392157580659], [22.558137648211751, 49.08573802346713], [22.776418898212619, 49.027395331409608], [22.518450148211596, 49.476773586619736], [23.426508416444388, 50.308505764357449], [23.922757195743259, 50.424881089878738], [24.029985792748899, 50.705406602575174], [23.52707075368437, 51.578454087930233], [24.005077752384206, 51.617443956094448], [24.553106316839511, 51.888461005249177], [25.327787713327005, 51.910656032918538], [26.337958611768549, 51.832288723347915], [27.454066196408426, 51.59230337178446], [28.241615024536564, 51.572227077839059], [28.617612745892242, 51.427713934934836], [28.992835320763522, 51.602044379271462], [29.254938185347921, 51.368234361366881], [30.157363722460889, 51.416138414101454], [30.55511722181145, 51.319503485715643], [30.619454380014837, 51.822806098022362], [30.927549269338975, 52.042353420614383], [31.78599816257158, 52.10167796488544]]] } }, - { "type": "Feature", "properties": { "admin": "Uruguay", "name": "Uruguay", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-57.625133429582945, -30.216294854454258], [-56.976025763564721, -30.109686374636119], [-55.97324459494093, -30.883075860316296], [-55.601510179249331, -30.853878676071385], [-54.572451544805105, -31.494511407193745], [-53.787951626182185, -32.047242526987617], [-53.209588995971529, -32.727666110974717], [-53.650543992718084, -33.202004082981823], [-53.373661668498229, -33.768377780900757], [-53.806425950726521, -34.396814874002224], [-54.935866054897716, -34.952646579733617], [-55.674089728403274, -34.752658786764066], [-56.215297003796053, -34.85983570733741], [-57.139685024633096, -34.430456231424238], [-57.817860683815489, -34.462547295877492], [-58.427074144104381, -33.909454441057569], [-58.349611172098854, -33.2631889788154], [-58.132647671121433, -33.040566908502008], [-58.142440355040748, -32.044503676076147], [-57.874937303281875, -31.016556084926201], [-57.625133429582945, -30.216294854454258]]] } }, - { "type": "Feature", "properties": { "admin": "United States of America", "name": "United States", "continent": "North America" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-155.54211, 19.08348], [-155.68817, 18.91619], [-155.93665, 19.05939], [-155.90806, 19.33888], [-156.07347, 19.70294], [-156.02368, 19.81422], [-155.85008, 19.97729], [-155.91907, 20.17395], [-155.86108, 20.26721], [-155.78505, 20.2487], [-155.40214, 20.07975], [-155.22452, 19.99302], [-155.06226, 19.8591], [-154.80741, 19.50871], [-154.83147, 19.45328], [-155.222169999999892, 19.23972], [-155.54211, 19.08348]]], [[[-156.07926, 20.64397], [-156.41445, 20.57241], [-156.58673, 20.783], [-156.70167, 20.8643], [-156.71055, 20.92676], [-156.61258, 21.01249], [-156.25711, 20.91745], [-155.99566, 20.76404], [-156.07926, 20.64397]]], [[[-156.75824, 21.17684], [-156.78933, 21.06873], [-157.32521, 21.09777], [-157.25027, 21.21958], [-156.75824, 21.17684]]], [[[-157.65283, 21.32217], [-157.70703, 21.26442], [-157.7786, 21.27729], [-158.12667, 21.31244], [-158.2538, 21.53919], [-158.29265, 21.57912], [-158.0252, 21.71696], [-157.94161, 21.65272], [-157.65283, 21.32217]]], [[[-159.34512, 21.982], [-159.46372, 21.88299], [-159.80051, 22.06533], [-159.74877, 22.1382], [-159.5962, 22.23618], [-159.36569, 22.21494], [-159.34512, 21.982]]], [[[-94.81758, 49.38905], [-94.639999999999858, 48.840000000000103], [-94.32914, 48.67074], [-93.63087, 48.60926], [-92.61, 48.45], [-91.64, 48.14], [-90.829999999999856, 48.27], [-89.6, 48.01], [-89.272917446636654, 48.019808254582834], [-88.378114183286513, 48.302917588893806], [-87.439792623300207, 47.94], [-86.461990831228135, 47.553338019392037], [-85.652363247403215, 47.220218817730498], [-84.876079881514855, 46.900083319682366], [-84.779238247399817, 46.637101955749117], [-84.54374874544564, 46.538684190449224], [-84.6049, 46.4396], [-84.3367, 46.408770000000104], [-84.142119513673279, 46.512225857115723], [-84.091851264161463, 46.275418606138253], [-83.890765347005654, 46.116926988299149], [-83.616130947590491, 46.116926988299149], [-83.469550747394621, 45.994686387712584], [-83.592850714843067, 45.816893622412543], [-82.550924648758169, 45.347516587905446], [-82.337763125431053, 44.44], [-82.137642381503952, 43.571087551439987], [-82.43, 42.98], [-82.899999999999878, 42.430000000000135], [-83.119999999999877, 42.08], [-83.141999681312555, 41.975681057292995], [-83.029810146806909, 41.832795722005997], [-82.690089280920162, 41.675105088867319], [-82.439277716791608, 41.675105088867319], [-81.277746548167059, 42.209025987306845], [-80.247447679347843, 42.36619985612267], [-78.939362148743683, 42.863611355148116], [-78.92, 42.965], [-79.009999999999863, 43.27], [-79.171673550111862, 43.466339423184301], [-78.720279914042365, 43.625089423184953], [-77.737885097957601, 43.629055589363382], [-76.820034145805565, 43.628784288093748], [-76.5, 44.018458893758599], [-76.375, 44.09631], [-75.31821, 44.81645000000016], [-74.867, 45.00048000000011], [-73.347829999999874, 45.00738], [-71.505059999999858, 45.0082], [-71.405, 45.255000000000123], [-71.08482, 45.305240000000154], [-70.659999999999783, 45.46], [-70.305, 45.915], [-69.99997, 46.69307], [-69.237216, 47.447781], [-68.905, 47.185], [-68.23444, 47.35486], [-67.79046, 47.06636], [-67.79134, 45.702810000000134], [-67.13741, 45.13753], [-66.96466, 44.809700000000149], [-68.03252, 44.3252], [-69.059999999999874, 43.98], [-70.116169999999897, 43.684050000000141], [-70.645475633410967, 43.090238348964043], [-70.81489, 42.8653], [-70.825, 42.335], [-70.494999999999891, 41.805], [-70.08, 41.78], [-70.185, 42.145], [-69.88497, 41.922830000000111], [-69.96503, 41.637170000000161], [-70.64, 41.475], [-71.12039, 41.494450000000164], [-71.859999999999829, 41.32], [-72.295, 41.27], [-72.87643, 41.22065], [-73.71, 40.931102351654481], [-72.24126, 41.119480000000138], [-71.944999999999808, 40.93], [-73.345, 40.63], [-73.982, 40.628], [-73.952325, 40.75075], [-74.25671, 40.47351], [-73.96244, 40.42763], [-74.17838, 39.70926], [-74.90604, 38.93954], [-74.98041, 39.1964], [-75.20002, 39.24845], [-75.52805, 39.4985], [-75.32, 38.96], [-75.071834764789784, 38.782032230179276], [-75.05673, 38.404120000000106], [-75.37747, 38.01551], [-75.94023, 37.21689], [-76.03127, 37.2566], [-75.722049999999783, 37.937050000000106], [-76.23287, 38.319215], [-76.35, 39.15], [-76.542725, 38.717615], [-76.32933, 38.08326], [-76.98999793161353, 38.239991766913384], [-76.301619999999886, 37.917945], [-76.25874, 36.9664000000001], [-75.9718, 36.89726], [-75.868039999999809, 36.55125], [-75.72749, 35.550740000000125], [-76.36318, 34.808540000000129], [-77.39763499999988, 34.51201], [-78.05496, 33.92547], [-78.554349999999815, 33.861330000000116], [-79.06067, 33.49395], [-79.20357, 33.15839], [-80.301325, 32.509355], [-80.86498, 32.0333], [-81.33629, 31.44049], [-81.49042, 30.729990000000122], [-81.31371, 30.03552], [-80.98, 29.18000000000011], [-80.53558499999987, 28.47213], [-80.529999999999774, 28.04], [-80.056539284977532, 26.88000000000013], [-80.088015, 26.205765], [-80.131559999999837, 25.816775], [-80.38103, 25.20616], [-80.679999999999879, 25.08], [-81.17213, 25.201260000000126], [-81.33, 25.64], [-81.709999999999795, 25.87], [-82.239999999999895, 26.730000000000125], [-82.70515, 27.49504], [-82.85526, 27.88624], [-82.65, 28.550000000000146], [-82.929999999999865, 29.100000000000129], [-83.70959, 29.93656], [-84.1, 30.090000000000114], [-85.10882, 29.63615], [-85.28784, 29.686120000000127], [-85.7731, 30.152610000000116], [-86.399999999999878, 30.400000000000112], [-87.530359999999831, 30.27433], [-88.41782, 30.3849], [-89.180489999999836, 30.31598], [-89.593831178419748, 30.159994004836843], [-89.413735, 29.89419], [-89.43, 29.48864], [-89.21767, 29.29108], [-89.40823, 29.15961], [-89.77928, 29.307140000000135], [-90.15463, 29.11743], [-90.880224999999896, 29.148535000000116], [-91.626784999999842, 29.677000000000127], [-92.49906, 29.5523], [-93.22637, 29.78375], [-93.84842, 29.71363], [-94.69, 29.480000000000125], [-95.60026, 28.73863], [-96.59404, 28.30748], [-97.139999999999802, 27.83], [-97.37, 27.38], [-97.379999999999853, 26.69], [-97.33, 26.210000000000115], [-97.139999999999802, 25.87], [-97.529999999999859, 25.84], [-98.239999999999895, 26.060000000000109], [-99.019999999999854, 26.37], [-99.3, 26.84], [-99.52, 27.54], [-100.11, 28.11000000000012], [-100.45584, 28.696120000000118], [-100.957599999999886, 29.380710000000125], [-101.6624, 29.779300000000113], [-102.48, 29.76], [-103.11, 28.97], [-103.94, 29.27], [-104.456969999999814, 29.57196], [-104.705749999999895, 30.12173], [-105.03737, 30.64402], [-105.63159, 31.083830000000113], [-106.1429, 31.39995], [-106.507589999999794, 31.75452], [-108.24, 31.754853718166398], [-108.24194, 31.34222], [-109.035, 31.341940000000161], [-111.02361, 31.33472], [-113.30498, 32.03914], [-114.815, 32.52528], [-114.721389999999829, 32.72083], [-115.991349999999869, 32.61239000000014], [-117.127759999999753, 32.53534], [-117.295937691273863, 33.04622461520389], [-117.944, 33.621236431201389], [-118.410602275897475, 33.740909223124497], [-118.519894822799685, 34.027781577575745], [-119.081, 34.078], [-119.438840642016658, 34.348477178284291], [-120.36778, 34.44711], [-120.62286, 34.60855], [-120.74433, 35.156860000000101], [-121.714569999999853, 36.16153], [-122.54747, 37.551760000000101], [-122.51201, 37.783390000000132], [-122.95319, 38.113710000000104], [-123.7272, 38.951660000000111], [-123.865169999999878, 39.766990000000128], [-124.39807, 40.3132], [-124.17886, 41.142020000000109], [-124.2137, 41.999640000000134], [-124.532839999999894, 42.76599], [-124.14214, 43.70838], [-124.020535, 44.615895], [-123.898929999999893, 45.52341], [-124.079635, 46.86475], [-124.395669999999896, 47.72017], [-124.687210083007812, 48.184432983398537], [-124.566101074218736, 48.379714965820384], [-123.12, 48.04], [-122.587359999999876, 47.096], [-122.34, 47.36], [-122.5, 48.18], [-122.84, 49.0], [-120.0, 49.0], [-117.03121, 49.0], [-116.04818, 49.0], [-112.999999999999872, 49.0], [-110.049999999999812, 49.0], [-107.049999999999898, 49.0], [-104.04826, 48.99986], [-100.65, 49.0], [-97.228720000004699, 49.0007], [-95.159069509171943, 49.0], [-95.15609, 49.38425], [-94.81758, 49.38905]]], [[[-153.006314053336837, 57.115842190165878], [-154.0050902984581, 56.734676825581047], [-154.516402757770067, 56.992748928446687], [-154.670992804971092, 57.461195787172493], [-153.762779507441451, 57.816574612043773], [-153.228729417921073, 57.968968410872421], [-152.564790615835108, 57.901427313866961], [-152.141147223906273, 57.591058661521977], [-153.006314053336837, 57.115842190165878]]], [[[-165.579164191733554, 59.909986884187539], [-166.192770148767238, 59.754440822988961], [-166.848337368821944, 59.941406155020942], [-167.455277066090048, 60.213069159579376], [-166.467792121424566, 60.384169826897775], [-165.674429694663644, 60.293606879306232], [-165.579164191733554, 59.909986884187539]]], [[[-171.731656867539357, 63.782515367275906], [-171.114433560245175, 63.592191067144981], [-170.491112433940657, 63.694975490973505], [-169.682505459653555, 63.431115627691142], [-168.689439460300662, 63.297506212000584], [-168.77194088445458, 63.188598130945437], [-169.529439867204985, 62.976931464277882], [-170.290556200215917, 63.194437567794452], [-170.671385667990847, 63.375821845138965], [-171.553063117538642, 63.317789211675077], [-171.791110602891166, 63.40584585230048], [-171.731656867539357, 63.782515367275906]]], [[[-155.067790290324211, 71.147776394323685], [-154.344165208941206, 70.696408596470192], [-153.900006273392563, 70.889988511835682], [-152.210006069935275, 70.829992173944831], [-152.270002407826127, 70.60000621202984], [-150.739992438744508, 70.430016588005699], [-149.720003018167489, 70.530010484490433], [-147.613361579357047, 70.214034939241785], [-145.689989800225248, 70.120009670686741], [-144.920010959076393, 69.989991767040479], [-143.58944618042517, 70.152514146598307], [-142.072510348713365, 69.851938178172631], [-140.985987521560702, 69.711998399526365], [-140.985988329004869, 69.711998399526365], [-140.992498752029377, 66.000028591568665], [-140.997769748123119, 60.306396796298593], [-140.012997816153074, 60.276837877027575], [-139.03900042031583, 60.000007229240012], [-138.340889999999888, 59.562110000000146], [-137.4525, 58.905000000000101], [-136.47972, 59.46389], [-135.47583, 59.78778], [-134.945, 59.270560000000117], [-134.27111, 58.86111], [-133.355548882207188, 58.410285142645151], [-132.73042, 57.692890000000105], [-131.707809999999853, 56.55212], [-130.00778, 55.91583], [-129.979994263358265, 55.284997870497207], [-130.536110189467223, 54.802753404349389], [-131.08581823797212, 55.178906155002025], [-131.967211467142278, 55.497775580459049], [-132.250010742859445, 56.369996242897443], [-133.539181084356386, 57.178887437562125], [-134.07806292029602, 58.123067531966889], [-135.038211032279037, 58.187714748763931], [-136.628062309954629, 58.212209377670447], [-137.800006279686016, 58.499995429103777], [-139.867787041412981, 59.537761542389134], [-140.825273817133024, 59.72751740176507], [-142.574443535564427, 60.084446519604981], [-143.958880994879848, 59.99918040632339], [-145.925556816827822, 60.458609727614274], [-147.114373949146625, 60.884656073644628], [-148.224306200127643, 60.672989406977152], [-148.018065558850736, 59.978328965893631], [-148.570822516860858, 59.914172675203297], [-149.727857835875824, 59.705658270905545], [-150.608243374616421, 59.368211168039487], [-151.716392788683294, 59.155821031319974], [-151.859433153267105, 59.74498403587959], [-151.40971900124714, 60.725802720779392], [-150.346941494732505, 61.033587551509854], [-150.621110806256951, 61.284424953854447], [-151.895839199816834, 60.727197984451273], [-152.578329841095581, 60.061657212964285], [-154.019172126257558, 59.350279446034264], [-153.287511359653166, 58.864727688219787], [-154.232492438758442, 58.146373602930531], [-155.307491421510207, 57.727794501366319], [-156.308334723923082, 57.422774359763636], [-156.556097378546298, 56.979984849670636], [-158.117216559867728, 56.463608099994175], [-158.433321296197136, 55.994153550838533], [-159.603327399717415, 55.566686102920116], [-160.289719611634183, 55.643580634170561], [-161.223047655257773, 55.364734605523481], [-162.23776607974105, 55.024186916720097], [-163.069446581046378, 54.689737046927171], [-164.785569221027174, 54.40417308208216], [-164.942226325520011, 54.572224839895327], [-163.84833960676562, 55.039431464246107], [-162.870001390615897, 55.348043117893198], [-161.804174974596009, 55.894986477270429], [-160.563604702781134, 56.008054511125025], [-160.070559862284483, 56.418055324928744], [-158.684442918919416, 57.016675116597852], [-158.461097378553944, 57.216921291728866], [-157.722770352183858, 57.570000515363056], [-157.550274421193564, 58.328326321030218], [-157.041674974576949, 58.918884589261708], [-158.194731208305427, 58.615802313869828], [-158.517217984023034, 58.787781480537305], [-159.058606126928709, 58.424186102931671], [-159.711667040017318, 58.931390285876333], [-159.981288825500144, 58.572549140041623], [-160.355271165996498, 59.071123358793628], [-161.355003425115001, 58.670837714260742], [-161.968893602526293, 58.671664537177371], [-162.054986538724648, 59.266925360747436], [-161.874170702135331, 59.633621324290587], [-162.518059048492034, 59.989723619213905], [-163.818341437820123, 59.798055731843377], [-164.662217577146407, 60.267484442782639], [-165.346387702474772, 60.507495632562396], [-165.350831875651835, 61.073895168697497], [-166.121379157555907, 61.500019029376212], [-165.734451870770471, 62.074996853271792], [-164.919178636717788, 62.633076483807919], [-164.562507901039339, 63.146378485763044], [-163.753332485996964, 63.219448961023758], [-163.067224494457832, 63.05945872664801], [-162.260555386381697, 63.541935736741159], [-161.534449836248569, 63.455816962326757], [-160.772506680321101, 63.76610810002326], [-160.958335130842528, 64.222798570402759], [-161.518068407212184, 64.402787584075313], [-160.777777676414729, 64.788603827566405], [-161.391926235987597, 64.777235012462327], [-162.453050096668818, 64.559444688568206], [-162.757786017894034, 64.338605455168803], [-163.54639421288428, 64.559160468190484], [-164.960829841145141, 64.446945095468848], [-166.425288255864473, 64.686672064870706], [-166.845004238939026, 65.088895575614529], [-168.110560065767146, 65.669997056736733], [-166.70527116602193, 66.088317776139391], [-164.474709642575448, 66.576660061297488], [-163.652511766595637, 66.576660061297488], [-163.788601651036117, 66.077207343196662], [-161.677774421210131, 66.116119696712403], [-162.489714525379981, 66.735565090595102], [-163.719716966791083, 67.116394558370089], [-164.430991380856511, 67.616338202577779], [-165.390286831706703, 68.042772121850234], [-166.764440680995989, 68.35887685817967], [-166.204707404626561, 68.883030910916162], [-164.430810513343431, 68.915535386827727], [-163.168613654614489, 69.371114813912882], [-162.930566169261965, 69.858061835399255], [-161.908897264635499, 70.333329983187625], [-160.93479651593367, 70.447689927849567], [-159.039175788387126, 70.891642157668926], [-158.119722866833939, 70.824721177851032], [-156.580824551398024, 71.357763576941736], [-155.067790290324211, 71.147776394323685]]]] } }, - { "type": "Feature", "properties": { "admin": "Uzbekistan", "name": "Uzbekistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[66.518606805288655, 37.362784328758785], [66.546150343700205, 37.974684963526855], [65.215998976507379, 38.402695013984292], [64.170223016216752, 38.892406724598231], [63.518014764261018, 39.363256537425627], [62.374260288344992, 40.053886216790382], [61.882714064384679, 41.084856879229392], [61.547178989513547, 41.2663703476546], [60.46595299667068, 41.22032664648254], [60.083340691981654, 41.425146185871391], [59.976422153569771, 42.223081976890199], [58.629010857991453, 42.751551011723045], [57.786529982337065, 42.170552883465511], [56.93221520368779, 41.82602610937559], [57.096391229079089, 41.32231008561056], [55.968191359282898, 41.308641669269356], [55.928917270741081, 44.995858466159099], [58.503127068928457, 45.586804307632818], [58.689989048095882, 45.500013739598621], [60.239971958258316, 44.784036770194717], [61.05831994003244, 44.405816962250505], [62.013300408786236, 43.504476630215642], [63.185786981056559, 43.650074978197999], [64.900824415959264, 43.728080552742576], [66.098012322865074, 42.997660020513088], [66.023391554635609, 41.994646307943974], [66.510648634715707, 41.987644151368436], [66.714047072216502, 41.168443508461493], [67.985855747351806, 41.135990708982213], [68.259895867795606, 40.662324530594894], [68.632482944620008, 40.668680731766798], [69.070027296835306, 41.384244289712363], [70.388964878220776, 42.081307684897439], [70.96231489449913, 42.266154283205481], [71.259247674448218, 42.167710679689456], [70.420022414028196, 41.519998277343134], [71.157858514291576, 41.143587144529107], [71.870114780570447, 41.392900092121259], [73.055417108049156, 40.86603302668945], [71.774875115856545, 40.145844428053763], [71.014198032520156, 40.244365546218226], [70.601406691372674, 40.218527330072284], [70.458159621059608, 40.49649485937028], [70.666622348925031, 40.960213324541407], [69.329494663372813, 40.727824408524839], [69.011632928345477, 40.086158148756653], [68.536416456989414, 39.533452867178923], [67.701428664017342, 39.580478420564518], [67.442219679641298, 39.140143541005479], [68.176025018185911, 38.901553453113898], [68.392032505165943, 38.157025254868728], [67.829999627559502, 37.144994004864678], [67.075782098259609, 37.35614390720928], [66.518606805288655, 37.362784328758785]]] } }, - { "type": "Feature", "properties": { "admin": "Venezuela", "name": "Venezuela", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-71.331583624950284, 11.776284084515805], [-71.36000566271079, 11.53999359786121], [-71.947049933546495, 11.423282375530018], [-71.620868292920164, 10.969459947142791], [-71.633063930941063, 10.446494452349027], [-72.074173956984495, 9.865651353388369], [-71.695644090446521, 9.072263088411246], [-71.26455929226772, 9.137194525585981], [-71.039999355743376, 9.859992784052407], [-71.350083787710773, 10.211935126176213], [-71.400623338492224, 10.968969021036013], [-70.155298834906503, 11.375481675660039], [-70.293843349881016, 11.846822414594211], [-69.943244594996813, 12.162307033736095], [-69.584300096297454, 11.459610907431211], [-68.882999233664435, 11.44338450769156], [-68.233271450458716, 10.885744126829945], [-68.194126552997616, 10.554653225135921], [-67.296248541926317, 10.545868231646306], [-66.227864142507983, 10.648626817258684], [-65.655237596281737, 10.20079885501732], [-64.890452236578156, 10.077214667191296], [-64.329478725833724, 10.389598700395679], [-64.318006557864933, 10.641417954953978], [-63.079322475828725, 10.701724351438598], [-61.880946010980182, 10.7156253117251], [-62.730118984616396, 10.420268662960904], [-62.388511928950969, 9.948204453974636], [-61.588767462801918, 9.873066921422263], [-60.830596686431711, 9.38133982994894], [-60.671252407459718, 8.580174261911877], [-60.150095587796166, 8.602756862823425], [-59.758284878159181, 8.367034816924045], [-60.550587938058186, 7.779602972846178], [-60.637972785063752, 7.414999904810853], [-60.295668097562377, 7.043911444522918], [-60.543999192940966, 6.856584377464881], [-61.159336310456467, 6.696077378766317], [-61.139415045807937, 6.234296779806142], [-61.410302903881941, 5.959068101419616], [-60.733574184803707, 5.2002772078619], [-60.601179165271922, 4.918098049332129], [-60.966893276601517, 4.536467596856638], [-62.085429653559125, 4.162123521334308], [-62.804533047116692, 4.006965033377951], [-63.093197597899092, 3.770571193858784], [-63.888342861574145, 4.020530096854571], [-64.628659430587533, 4.14848094320925], [-64.816064012294007, 4.056445217297422], [-64.368494432214092, 3.797210394705246], [-64.408827887617903, 3.126786200366623], [-64.269999152265783, 2.497005520025566], [-63.422867397705105, 2.411067613124174], [-63.368788011311644, 2.200899562993129], [-64.083085496666072, 1.91636912679408], [-64.199305792890499, 1.49285492594602], [-64.611011928959854, 1.328730576987041], [-65.354713304288353, 1.0952822941085], [-65.548267381437554, 0.78925446207603], [-66.325765143484944, 0.724452215982012], [-66.876325853122566, 1.253360500489336], [-67.181294318293041, 2.250638129074062], [-67.447092047786299, 2.600280869960869], [-67.809938117123693, 2.820655015469569], [-67.303173183853417, 3.31845408773718], [-67.33756384954367, 3.542342230641721], [-67.621835903581271, 3.839481716319994], [-67.823012254493534, 4.503937282728898], [-67.744696621355203, 5.221128648291667], [-67.521531948502741, 5.556870428891968], [-67.34143958196556, 6.095468044454021], [-67.695087246355001, 6.267318020040645], [-68.265052456318216, 6.153268133972473], [-68.985318569602327, 6.206804917826856], [-69.389479946557103, 6.099860541198835], [-70.093312954372408, 6.960376491723109], [-70.674233567981503, 7.087784735538717], [-71.960175747348629, 6.991614895043538], [-72.19835242378187, 7.340430813013682], [-72.444487270788059, 7.42378489830048], [-72.479678921178831, 7.632506008327352], [-72.360900641555958, 8.002638454617893], [-72.439862230097944, 8.405275376820027], [-72.660494757768092, 8.62528778730268], [-72.788729824500379, 9.085027167187331], [-73.304951544880026, 9.151999823437604], [-73.027604132769554, 9.736770331252441], [-72.905286017534692, 10.45034434655477], [-72.614657762325194, 10.821975409381777], [-72.227575446242923, 11.108702093953237], [-71.973921678338272, 11.608671576377116], [-71.331583624950284, 11.776284084515805]]] } }, - { "type": "Feature", "properties": { "admin": "Vietnam", "name": "Vietnam", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[108.050180291782908, 21.552379869060111], [106.715067987090066, 20.696850694252014], [105.881682163519002, 19.752050482659694], [105.662005649846279, 19.058165188060567], [106.426816847765991, 18.004120998603224], [107.36195356651973, 16.697456569887049], [108.269495070429599, 16.079742336486145], [108.877106561317447, 15.276690578670436], [109.335269810017209, 13.42602834721772], [109.200135939573954, 11.666859239137761], [108.366129998815424, 11.00832062422627], [107.22092858279521, 10.36448395430183], [106.4051127462034, 9.530839748569317], [105.158263787865081, 8.599759629750492], [104.795185174582372, 9.2410383162765], [105.076201613385592, 9.918490505406806], [104.334334751403446, 10.486543687375228], [105.199914992292321, 10.889309800658094], [106.249670037869436, 10.961811835163585], [105.810523716253101, 11.567614650921225], [107.491403029410861, 12.337205918827944], [107.614547967562402, 13.535530707244202], [107.382727492301058, 14.202440904186968], [107.564525181103875, 15.202173163305554], [107.312705926545576, 15.908538316303177], [106.55600792849566, 16.604283962464802], [105.925762160264, 17.485315456608955], [105.094598423281496, 18.666974595611073], [103.896532017026701, 19.265180975821799], [104.183387892678908, 19.624668077060214], [104.822573683697073, 19.886641750563879], [104.435000441508024, 20.758733221921528], [103.203861118586431, 20.766562201413745], [102.754896274834636, 21.675137233969462], [102.170435825613552, 22.464753119389297], [102.706992222100084, 22.708795070887668], [103.504514601660546, 22.703756618739202], [104.476858351664447, 22.819150092046961], [105.329209425886603, 23.352063300056908], [105.811247186305209, 22.976892401617899], [106.725403273548451, 22.794267889898414], [106.567273390735295, 22.218204860924768], [107.043420037872608, 21.811898912029907], [108.050180291782908, 21.552379869060111]]] } }, - { "type": "Feature", "properties": { "admin": "Vanuatu", "name": "Vanuatu", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[167.844876743845077, -16.466333103097153], [167.515181105822847, -16.597849623279966], [167.180007765977791, -16.159995212470957], [167.2168013857696, -15.891846205308449], [167.844876743845077, -16.466333103097153]]], [[[167.107712437201485, -14.933920179913951], [167.2700281110302, -15.74002084723487], [167.001207310247935, -15.614602146062492], [166.79315799384085, -15.668810723536719], [166.649859247095549, -15.392703545801192], [166.629136997746429, -14.6264970842096], [167.107712437201485, -14.933920179913951]]]] } }, - { "type": "Feature", "properties": { "admin": "Yemen", "name": "Yemen", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[53.108572625547502, 16.651051133688949], [52.385205926325874, 16.38241120041965], [52.191729363825075, 15.938433132384018], [52.168164910699986, 15.597420355689945], [51.172515089732471, 15.175249742081489], [49.574576450403136, 14.708766587782746], [48.679230584514151, 14.003202419485657], [48.238947381387412, 13.948089504446369], [47.938914015500771, 14.007233181204423], [47.354453566279702, 13.592219753468379], [46.71707645039173, 13.399699204965016], [45.877592807810252, 13.347764390511681], [45.625050083199874, 13.290946153206759], [45.406458774605241, 13.02690542241143], [45.144355910020849, 12.953938300015306], [44.9895333188744, 12.699586900274708], [44.494576450382844, 12.721652736863344], [44.175112745954486, 12.585950425664873], [43.48295861183712, 12.63680003504008], [43.222871128112118, 13.220950425667422], [43.251448195169516, 13.767583726450848], [43.087943963398047, 14.062630316621306], [42.892245314308717, 14.802249253798745], [42.604872674333606, 15.213335272680592], [42.805015496600042, 15.261962795467252], [42.702437778500652, 15.718885809791995], [42.823670688657408, 15.911742255105263], [42.779332309750963, 16.34789134364868], [43.218375278502734, 16.666889960186406], [43.115797560403351, 17.088440456607369], [43.380794305196098, 17.579986680567668], [43.791518589051904, 17.319976711491105], [44.062613152855072, 17.410358791569589], [45.216651238797184, 17.43332896572333], [45.399999220568752, 17.333335069238554], [46.366658563020529, 17.233315334537632], [46.749994337761642, 17.283338120996174], [47.000004917189749, 16.949999294497438], [47.466694777217626, 17.116681626854877], [48.183343540241324, 18.166669216377311], [49.116671583864857, 18.616667588774941], [52.000009800022227, 19.000003363516054], [52.782184279192037, 17.349742336491229], [53.108572625547502, 16.651051133688949]]] } }, - { "type": "Feature", "properties": { "admin": "South Africa", "name": "South Africa", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[31.521001417778869, -29.257386976846245], [31.325561150850994, -29.401977634398907], [30.901762729625336, -29.909956963828034], [30.622813348113816, -30.423775730106122], [30.055716180142774, -31.140269463832951], [28.925552605919535, -32.172041110972494], [28.219755893677092, -32.771952813448848], [27.464608188595967, -33.226963799778794], [26.419452345492818, -33.614950453426175], [25.909664340933482, -33.667040297176392], [25.78062828950069, -33.944646091448334], [25.172861769315965, -33.796851495093577], [24.67785322439212, -33.987175795224537], [23.594043409934635, -33.794474379208147], [22.988188917744729, -33.916430759416976], [22.574157342222232, -33.864082533505304], [21.542799106541022, -34.258838799782922], [20.689052768646999, -34.417175388325226], [20.071261020597628, -34.795136814107984], [19.616405063564567, -34.819166355123706], [19.193278435958714, -34.462598972309777], [18.855314568769867, -34.444305515278458], [18.424643182049376, -33.997872816708963], [18.377410922934612, -34.13652068454806], [18.244499139079917, -33.867751560198023], [18.250080193767442, -33.281430759414434], [17.925190463948436, -32.61129078545342], [18.247909783611185, -32.429131361624563], [18.221761508871477, -31.661632989225662], [17.566917758868861, -30.72572112398754], [17.0644161312627, -29.878641045859158], [17.06291751472622, -29.875953871379977], [16.344976840895239, -28.576705010697697], [16.824017368240899, -28.082161553664466], [17.218928663815401, -28.355943291946804], [17.387497185951499, -28.783514092729774], [17.836151971109526, -28.856377862261311], [18.464899122804745, -29.045461928017271], [19.002127312911082, -28.972443129188857], [19.89473432788861, -28.461104831660769], [19.895767856534427, -24.767790215760588], [20.165725538827186, -24.917961928000768], [20.758609246511831, -25.868136488551446], [20.666470167735437, -26.477453301704916], [20.889609002371731, -26.828542982695907], [21.60589603036939, -26.726533705351748], [22.105968865657864, -26.28025603607913], [22.579531691180584, -25.979447523708142], [22.824271274514896, -25.500458672794768], [23.312096795350179, -25.268689873965712], [23.733569777122703, -25.39012948985161], [24.211266717228792, -25.670215752873567], [25.025170525825782, -25.719670098576891], [25.664666375437712, -25.486816094669706], [25.765848829865206, -25.174845472923671], [25.941652052522151, -24.696373386333214], [26.485753208123292, -24.616326592713097], [26.78640669119741, -24.240690606383478], [27.119409620886238, -23.574323011979772], [28.017235955525244, -22.827753594659072], [29.432188348109033, -22.091312758067584], [29.839036899542965, -22.102216485281172], [30.322883335091767, -22.271611830333931], [30.659865350067083, -22.151567478119912], [31.191409132621278, -22.251509698172395], [31.670397983534645, -23.658969008073861], [31.930588820124242, -24.369416599222532], [31.752408481581874, -25.484283949487406], [31.837777947728057, -25.843331801051342], [31.333157586397899, -25.660190525008943], [31.044079624157146, -25.731452325139436], [30.949666782359905, -26.022649021104144], [30.676608514129633, -26.398078301704604], [30.685961948374477, -26.743845310169526], [31.282773064913325, -27.285879408478991], [31.868060337051073, -27.17792734142127], [32.071665480281062, -26.733820082304902], [32.830120477028878, -26.74219166433619], [32.580264926897677, -27.470157566031808], [32.462132602678444, -28.30101124442055], [32.203388706193032, -28.752404880490065], [31.521001417778869, -29.257386976846245]], [[28.978262566857236, -28.955596612261708], [28.541700066855491, -28.647501722937562], [28.07433841320778, -28.851468601193581], [27.532511020627471, -29.242710870075353], [26.999261915807629, -29.875953871379977], [27.749397006956478, -30.645105889612214], [28.107204624145421, -30.545732110314944], [28.291069370239903, -30.226216729454293], [28.848399692507734, -30.070050551068245], [29.018415154748016, -29.743765557577362], [29.325166456832587, -29.257386976846245], [28.978262566857236, -28.955596612261708]]] } }, - { "type": "Feature", "properties": { "admin": "Zambia", "name": "Zambia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[32.759375441221316, -9.230599053589058], [33.231387973775291, -9.676721693564799], [33.485687697083584, -10.525558770391111], [33.315310499817279, -10.796549981329695], [33.114289178201908, -11.607198174692311], [33.306422153463068, -12.435778090060214], [32.991764357237876, -12.783870537978272], [32.688165317523122, -13.712857761289273], [33.214024692525207, -13.97186003993615], [30.179481235481827, -14.796099134991525], [30.274255812305103, -15.507786960515208], [29.51683434420314, -15.644677829656386], [28.947463413211256, -16.043051446194436], [28.825868768028492, -16.389748630440611], [28.467906121542676, -16.468400160388843], [27.598243442502753, -17.290830580314005], [27.044427117630729, -17.938026218337427], [26.706773309035633, -17.961228936436477], [26.381935255648919, -17.846042168857892], [25.264225701608005, -17.736539808831413], [25.084443393664564, -17.661815687737366], [25.076950310982255, -17.578823337476617], [24.6823490740015, -17.35341073981947], [24.033861525170771, -17.29584319424632], [23.215048455506057, -17.52311614346598], [22.562478468524255, -16.89845142992181], [21.887842644953867, -16.080310153876876], [21.933886346125913, -12.898437188369357], [24.016136508894672, -12.91104623784857], [23.930922072045373, -12.565847670138854], [24.079905226342838, -12.191296888887361], [23.904153680118181, -11.722281589406318], [24.017893507592586, -11.237298272347088], [23.912215203555714, -10.926826267137512], [24.257155389103982, -10.951992689663655], [24.314516228947948, -11.262826429899269], [24.783169793402948, -11.238693536018962], [25.418118116973197, -11.330935967659958], [25.752309604604726, -11.784965101776356], [26.55308759939961, -11.924439792532125], [27.164419793412456, -11.608748467661071], [27.38879886242378, -12.132747491100663], [28.15510867687998, -12.272480564017894], [28.52356163912102, -12.698604424696679], [28.934285922976834, -13.248958428605132], [29.699613885219485, -13.257226657771827], [29.616001417771223, -12.178894545137307], [29.341547885869087, -12.36074391037241], [28.642417433392346, -11.971568698782312], [28.372253045370421, -11.793646742401389], [28.496069777141763, -10.789883721564044], [28.673681674928922, -9.605924981324931], [28.449871046672818, -9.164918308146083], [28.734866570762495, -8.526559340044576], [29.002912225060467, -8.40703175215347], [30.34608605319081, -8.238256524288216], [30.740015496551781, -8.340007419470913], [31.157751336950042, -8.594578747317362], [31.55634809746649, -8.76204884199864], [32.191864861791963, -8.930358981973276], [32.759375441221316, -9.230599053589058]]] } }, - { "type": "Feature", "properties": { "admin": "Zimbabwe", "name": "Zimbabwe", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[31.191409132621278, -22.251509698172395], [30.659865350067083, -22.151567478119912], [30.322883335091767, -22.271611830333931], [29.839036899542965, -22.102216485281172], [29.432188348109033, -22.091312758067584], [28.794656202924209, -21.639454034107445], [28.02137007010861, -21.485975030200578], [27.727227817503252, -20.851801853114711], [27.724747348753247, -20.499058526290387], [27.296504754350501, -20.391519870690995], [26.164790887158478, -19.293085625894935], [25.850391473094724, -18.714412937090533], [25.649163445750155, -18.536025892818987], [25.264225701608005, -17.736539808831413], [26.381935255648919, -17.846042168857892], [26.706773309035633, -17.961228936436477], [27.044427117630729, -17.938026218337427], [27.598243442502753, -17.290830580314005], [28.467906121542676, -16.468400160388843], [28.825868768028492, -16.389748630440611], [28.947463413211256, -16.043051446194436], [29.51683434420314, -15.644677829656386], [30.274255812305103, -15.507786960515208], [30.338954705534537, -15.880839125230242], [31.173063999157673, -15.860943698797868], [31.636498243951188, -16.071990248277881], [31.852040643040592, -16.319417006091374], [32.328238966610222, -16.392074069893749], [32.847638787575839, -16.713398125884613], [32.849860874164385, -17.979057305577175], [32.654885695127142, -18.672089939043492], [32.611994256324884, -19.419382826416268], [32.772707960752619, -19.715592136313294], [32.659743279762573, -20.30429005298231], [32.508693068173436, -20.395292250248303], [32.244988234188007, -21.116488539313689], [31.191409132621278, -22.251509698172395]]] } } - ] - }; - -var randomcountriesData1 = [ - { country: "Iran", "continent": "Asia", "CategoryName": "Books", "Sales": 550 }, - { country: "Benin", "continent": "Africa", "CategoryName": "Books", "Sales": 1000 }, - { country: "China", "continent": "Asia", "CategoryName": "Books", "Sales": 420 }, - { country: "Chile", "continent": "South America", "CategoryName": "Books", "Sales": 1100 }, - { country: "Cuba", "continent": "North America", "CategoryName": "Books", "Sales": 450 }, - { country: "Spain", "continent": "Europe", "CategoryName": "Books", "Sales": 1200 }, - { country: "Fiji", "continent": "Oceania", "CategoryName": "Books", "Sales": 618.0 }, -]; - -module mapcomponenet { - $(function () { - var mapsample = new ej.datavisualization.Map($("#map"), { - enableAnimation: true, - navigationControl: { - enableNavigation: true, - orientation: 'vertical', - absolutePosition: { x: 5, y: 15 }, - dockPosition: 'none' - }, - layers: [ - { - layerType: 'geometry', - enableMouseHover: false, - enableSelection: false, - shapeSettings: { - fill: "#626171", - autoFill: false, - highlightStroke: "white", - stroke: "white", - strokeThickness: 0.5, - highlightColor: "#BFBFBF" - }, - shapeData: world_map, - legendSettings: { dockOnMap: false } - } - ] - }); - }); -} - - - - - - - -module MenuComponent { - $(function () { - var sample = new ej.Menu($("#syncfusionProducts"),{ - width: "100%", - animationType: ej.AnimationType.Default, - cssClass: 'gradient-lime ', - enableAnimation: true, - enableSeparator: true, - height: 40, - htmlAttributes: { "aria-label": "menu" }, - menuType: "normalmenu", - orientation: ej.Orientation.Horizontal, - showRootLevelArrows: true, - showSubLevelArrows: true, - subMenuDirection: ej.Direction.Right, - titleText: "Menu", - - }); - }); - -} - - - - - - - - -module NavigationDrawerComponent { - $(function () { - var navigationdrawerInstance = new ej.NavigationDrawer($("#navpane"), { - targetId: "butdrawer", - contentId: "content_container", - type: "overlay", - direction: "left", - enableListView: true, - listViewSettings: { - width: 300, - selectedItemIndex: 0 - }, - position: "normal" - }); - $("#navpane_listview").click(function(e: any) { - var text=e.target["text"]||$(e.target).closest("li.e-list").text(); - $("#butdrawer").parent().children("h2").text(text); - }); - }); -} - - - -module PDFViewerComponent { - $(function () { - var pdfviewerControl = new ej.PdfViewer($("#pdfviewer"), { - serviceUrl:(window).baseurl+ "api/PdfViewer", - isResponsive: true - }); - }); -} - - - -module PivotChartOlap { - $(function () { - var sample = new ej.PivotChart($("#PivotChart"),{ - dataSource: { - data: "http://bi.syncfusion.com/olap/msmdpump.dll", - catalog: "Adventure Works DW 2008 SE", - cube: "Adventure Works", - rows: [ - { - fieldName: "[Date].[Fiscal]" - } - ], - columns: [ - { - fieldName: "[Customer].[Customer Geography]" - } - ], - values: [ - { - measures: [ - { - fieldName: "[Measures].[Internet Sales Amount]" - } - ], - axis: "columns" - } - ], - filters:[] - }, - isResponsive: true,zooming:{enableScrollbar: true}, - commonSeriesOptions: { - type: "column" - }, - size: { height: "460px", width: "100%" }, - primaryXAxis: { title: { text: "Date - Fiscal" }, labelRotation: 0 }, - primaryYAxis: { title: { text: "Internet Sales Amount" } }, - legend: { visible: true, rowCount: 2 } - }); - }); -} - - - -var pivot_dataset = [ - { Amount: 100, Country: "Canada", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Alberta" }, - { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Van", Quantity: 3, State: "British Columbia" }, - { Amount: 300, Country: "Canada", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Brunswick" }, - { Amount: 150, Country: "Canada", Date: "FY 2008", Product: "Bike", Quantity: 3, State: "Manitoba" }, - { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Car", Quantity: 4, State: "Ontario" }, - { Amount: 100, Country: "Canada", Date: "FY 2007", Product: "Van", Quantity: 1, State: "Quebec" }, - { Amount: 200, Country: "France", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Charente-Maritime" }, - { Amount: 250, Country: "France", Date: "FY 2006", Product: "Van", Quantity: 4, State: "Essonne" }, - { Amount: 300, Country: "France", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Garonne (Haute)" }, - { Amount: 150, Country: "France", Date: "FY 2008", Product: "Van", Quantity: 2, State: "Gers" }, - { Amount: 200, Country: "Germany", Date: "FY 2006", Product: "Van", Quantity: 3, State: "Bayern" }, - { Amount: 250, Country: "Germany", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Brandenburg" }, - { Amount: 150, Country: "Germany", Date: "FY 2008", Product: "Car", Quantity: 4, State: "Hamburg" }, - { Amount: 200, Country: "Germany", Date: "FY 2008", Product: "Bike", Quantity: 4, State: "Hessen" }, - { Amount: 150, Country: "Germany", Date: "FY 2007", Product: "Van", Quantity: 3, State: "Nordrhein-Westfalen" }, - { Amount: 100, Country: "Germany", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Saarland" }, - { Amount: 150, Country: "United Kingdom", Date: "FY 2008", Product: "Bike", Quantity: 5, State: "England" }, - { Amount: 250, Country: "United States", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Alabama" }, - { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Van", Quantity: 4, State: "California" }, - { Amount: 100, Country: "United States", Date: "FY 2006", Product: "Bike", Quantity: 2, State: "Colorado" }, - { Amount: 150, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "New Mexico" }, - { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Bike", Quantity: 4, State: "New York" }, - { Amount: 250, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "North Carolina" }, - { Amount: 300, Country: "United States", Date: "FY 2007", Product: "Van", Quantity: 4, State: "South Carolina" } -] - -module PivotChartRelational { - - $(function () { - var sample = new ej.PivotChart($("#PivotChart"),{ - dataSource: { - data: pivot_dataset, - rows: [ - { - fieldName: "Country", - fieldCaption: "Country" - }, - { - fieldName: "State", - fieldCaption: "State" - }, - { - fieldName: "Date", - fieldCaption: "Date" - } - ], - columns: [ - { - fieldName: "Product", - fieldCaption: "Product" - } - ], - values: [ - { - fieldName: "Amount", - fieldCaption: "Amount" - } - ], - filters:[] - }, - isResponsive: true,zooming:{enableScrollbar: true}, - commonSeriesOptions: { - type: "column" - }, - size: { height: "460px", width: "100%" }, - primaryYAxis: { title: { text: "Amount" } }, - legend: { visible: true } - }); - }); -} - - - -module PivotGaugeOlap { - - $(function () { - var sample = new ej.PivotGauge($("#PivotGauge"),{ - dataSource: { - data: "http://bi.syncfusion.com/olap/msmdpump.dll", - catalog: "Adventure Works DW 2008 SE", - cube: "Adventure Works", - rows: [ - { - fieldName: "[Date].[Fiscal]", - filterItems: { filterType: "include", values: ["[Date].[Fiscal].[Fiscal Year].&[2004]"] } - }, - ], - columns: [ - { - fieldName: "[Customer].[Customer Geography]" - } - ], - values: [ - { - measures: [ - { - fieldName: "[Measures].[Internet Sales Amount]" - }, - { - fieldName: "[Measures].[Internet Revenue Status]" - }, - { - fieldName: "[Measures].[Internet Revenue Trend]" - }, - { - fieldName: "[Measures].[Internet Revenue Goal]" - }, - ], - axis: "columns" - } - ], - filters:[] - }, - enableTooltip: true, isResponsive: true, - labelFormatSettings: { decimalPlaces: 2 }, - scales: [{ - showRanges: true, - radius: 150, showScaleBar: true, size: 1, - border: { - width: 0.5 - }, - showIndicators: true, showLabels: true, - pointers: [{ - showBackNeedle: true, - backNeedleLength: 20, - length: 120, - width: 7 - }, - { - type: "marker", - markerType: "diamond", - distanceFromScale: 5, - placement: "center", - backgroundColor: "#29A4D9", - length: 25, - width: 15 - }], - ticks: [{ - type: "major", - distanceFromScale: 2, - height: 16, - width: 1, color: "#8c8c8c" - }, - { - type: "minor", - height: 6, - width: 1, - distanceFromScale: 2, - color: "#8c8c8c" - }], - labels: [{ - color: "#8c8c8c" - }], - ranges: [{ - distanceFromScale: -5, - backgroundColor: "#fc0606", - border: { color: "#fc0606" } - }, - { - distanceFromScale: -5 - }], - customLabels: [{ - position: { x: 180, y: 290 }, - font: { size: "10px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" - }, - { - position: { x: 180, y: 320 }, - font: { size: "10px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" - }, - { - position: { x: 180, y: 150 }, - font: { size: "12px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" - }] - }] - }); - }); -} - - - -var pivot_dataset = [ - { Amount: 100, Country: "Canada", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Alberta" }, - { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Van", Quantity: 3, State: "British Columbia" }, - { Amount: 300, Country: "Canada", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Brunswick" }, - { Amount: 150, Country: "Canada", Date: "FY 2008", Product: "Bike", Quantity: 3, State: "Manitoba" }, - { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Car", Quantity: 4, State: "Ontario" }, - { Amount: 100, Country: "Canada", Date: "FY 2007", Product: "Van", Quantity: 1, State: "Quebec" }, - { Amount: 200, Country: "France", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Charente-Maritime" }, - { Amount: 250, Country: "France", Date: "FY 2006", Product: "Van", Quantity: 4, State: "Essonne" }, - { Amount: 300, Country: "France", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Garonne (Haute)" }, - { Amount: 150, Country: "France", Date: "FY 2008", Product: "Van", Quantity: 2, State: "Gers" }, - { Amount: 200, Country: "Germany", Date: "FY 2006", Product: "Van", Quantity: 3, State: "Bayern" }, - { Amount: 250, Country: "Germany", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Brandenburg" }, - { Amount: 150, Country: "Germany", Date: "FY 2008", Product: "Car", Quantity: 4, State: "Hamburg" }, - { Amount: 200, Country: "Germany", Date: "FY 2008", Product: "Bike", Quantity: 4, State: "Hessen" }, - { Amount: 150, Country: "Germany", Date: "FY 2007", Product: "Van", Quantity: 3, State: "Nordrhein-Westfalen" }, - { Amount: 100, Country: "Germany", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Saarland" }, - { Amount: 150, Country: "United Kingdom", Date: "FY 2008", Product: "Bike", Quantity: 5, State: "England" }, - { Amount: 250, Country: "United States", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Alabama" }, - { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Van", Quantity: 4, State: "California" }, - { Amount: 100, Country: "United States", Date: "FY 2006", Product: "Bike", Quantity: 2, State: "Colorado" }, - { Amount: 150, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "New Mexico" }, - { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Bike", Quantity: 4, State: "New York" }, - { Amount: 250, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "North Carolina" }, - { Amount: 300, Country: "United States", Date: "FY 2007", Product: "Van", Quantity: 4, State: "South Carolina" } -] - -module PivotGaugeRelational { - $(function () { - var sample = new ej.PivotGauge($("#PivotGauge"),{ - dataSource: { - data: pivot_dataset, - rows: [ - { - fieldName: "Country", - }, - { - fieldName: "State", - } - ], - columns: [ - { - fieldName: "Product", - } - ], - values: [ - { - fieldName: "Amount", - }, - { - fieldName: "Quantity", - } - ] - }, - enableTooltip: true, isResponsive: true, - labelFormatSettings: { decimalPlaces: 2 }, - scales: [{ - showRanges: true, - radius: 150, showScaleBar: true, size: 1, - border: { - width: 0.5 - }, - showIndicators: true, showLabels: true, - pointers: [{ - showBackNeedle: true, - backNeedleLength: 20, - length: 120, - width: 7 - }, - { - type: "marker", - markerType: "diamond", - distanceFromScale: 5, - placement: "center", - backgroundColor: "#29A4D9", - length: 25, - width: 15 - }], - ticks: [{ - type: "major", - distanceFromScale: 2, - height: 16, - width: 1, color: "#8c8c8c" - }, - { - type: "minor", - height: 6, - width: 1, - distanceFromScale: 2, - color: "#8c8c8c" - }], - labels: [{ - color: "#8c8c8c" - }], - ranges: [{ - distanceFromScale: -5, - backgroundColor: "#fc0606", - border: { color: "#fc0606" } - }, - { - distanceFromScale: -5 - }], - customLabels: [{ - position: { x: 180, y: 290 }, - font: { size: "10px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" - }, - { - position: { x: 180, y: 320 }, - font: { size: "10px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" - }, - { - position: { x: 180, y: 150 }, - font: { size: "12px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" - }] - }] - }); - }); -} - - - -module PivotGridOlap { - - $(function () { - var sample = new ej.PivotGrid($("#PivotGrid"),{ - dataSource: { - data: "http://bi.syncfusion.com/olap/msmdpump.dll", - catalog: "Adventure Works DW 2008 SE", - cube: "Adventure Works", - rows: [ - { - fieldName: "[Date].[Fiscal]" - } - ], - columns: [ - { - fieldName: "[Customer].[Customer Geography]" - } - ], - values: [ - { - measures: [ - { - fieldName: "[Measures].[Internet Sales Amount]", - } - ], - axis: "columns" - } - ], - filters:[] - }, - enableGroupingBar: true, - pivotTableFieldListID:"PivotSchemaDesigner" - }); - $("#PivotSchemaDesigner").ejPivotSchemaDesigner(); - }); -} - - - -var pivot_dataset = [ - { Amount: 100, Country: "Canada", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Alberta" }, - { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Van", Quantity: 3, State: "British Columbia" }, - { Amount: 300, Country: "Canada", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Brunswick" }, - { Amount: 150, Country: "Canada", Date: "FY 2008", Product: "Bike", Quantity: 3, State: "Manitoba" }, - { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Car", Quantity: 4, State: "Ontario" }, - { Amount: 100, Country: "Canada", Date: "FY 2007", Product: "Van", Quantity: 1, State: "Quebec" }, - { Amount: 200, Country: "France", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Charente-Maritime" }, - { Amount: 250, Country: "France", Date: "FY 2006", Product: "Van", Quantity: 4, State: "Essonne" }, - { Amount: 300, Country: "France", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Garonne (Haute)" }, - { Amount: 150, Country: "France", Date: "FY 2008", Product: "Van", Quantity: 2, State: "Gers" }, - { Amount: 200, Country: "Germany", Date: "FY 2006", Product: "Van", Quantity: 3, State: "Bayern" }, - { Amount: 250, Country: "Germany", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Brandenburg" }, - { Amount: 150, Country: "Germany", Date: "FY 2008", Product: "Car", Quantity: 4, State: "Hamburg" }, - { Amount: 200, Country: "Germany", Date: "FY 2008", Product: "Bike", Quantity: 4, State: "Hessen" }, - { Amount: 150, Country: "Germany", Date: "FY 2007", Product: "Van", Quantity: 3, State: "Nordrhein-Westfalen" }, - { Amount: 100, Country: "Germany", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Saarland" }, - { Amount: 150, Country: "United Kingdom", Date: "FY 2008", Product: "Bike", Quantity: 5, State: "England" }, - { Amount: 250, Country: "United States", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Alabama" }, - { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Van", Quantity: 4, State: "California" }, - { Amount: 100, Country: "United States", Date: "FY 2006", Product: "Bike", Quantity: 2, State: "Colorado" }, - { Amount: 150, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "New Mexico" }, - { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Bike", Quantity: 4, State: "New York" }, - { Amount: 250, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "North Carolina" }, - { Amount: 300, Country: "United States", Date: "FY 2007", Product: "Van", Quantity: 4, State: "South Carolina" } -] - -module PivotGridRelational { - $(function () { - var sample = new ej.PivotGrid($("#PivotGrid"),{ - dataSource: { - data: pivot_dataset, - rows: [ - { - fieldName: "Country", - fieldCaption: "Country" - }, - { - fieldName: "State", - fieldCaption: "State" - } - ], - columns: - [{ - fieldName: "Product", - fieldCaption: "Product" - } - ], - values: [ - { - fieldName: "Amount", - fieldCaption: "Amount" - }, - { - fieldName: "Quantity", - fieldCaption: "Quantity" - } - ], - filters:[] - }, - enableGroupingBar: true, - pivotTableFieldListID:"PivotSchemaDesigner" - }); - $("#PivotSchemaDesigner").ejPivotSchemaDesigner(); - - }); -} - - - -module PivotTreeMap { - $(function () { - var sample = new ej.PivotTreeMap($("#PivotTreeMap"),{ - dataSource: { - data: "http://bi.syncfusion.com/olap/msmdpump.dll;Locale Identifier=1033;", - catalog: "Adventure Works DW 2008 SE", - cube: "Adventure Works", - rows: [ - { - fieldName: "[Customer].[Customer Geography]" - } - ], - columns: [ - { - fieldName: "[Date].[Fiscal]" - } - ], - values: [ - { - measures: [ - { - fieldName: "[Measures].[Customer Count]", - } - ], - axis: "columns" - } - ], - filters:[] - } - }); - }); -} - - - -module ProgressBarComponent { - $(function () { - var sample = new ej.ProgressBar($("#progressBar"),{ - width: 200, - value: 45, - height: 20, - enablePersistence: true, - maxValue: 200, - minValue: 0, - showRoundedCorner: true, - text: 'loading...' - }); - }); - -} - - - - -declare var rteObj: any; -declare var data: any; -var radialEle = $('#defaultradialmenu'), action = 0, forRedo = 0; -var rteEle = $("#rteSample1"); -module RadialMenuComponent { - $(function () { - - if (!(ej.browserInfo().name == "msie" && parseInt(ej.browserInfo().version) < 9)) { - var radialmenuInstance = new ej.RadialMenu($("#defaultradialmenu"), { - imageClass: "imageclass", - backImageClass: "backimageclass", - targetElementId: "radialtarget1" - }); - $("#radialtarget1").parent().css("position", "relative"); - } - else { - $("#contentDiv").html("Radial Menu is only supported from Internet Explorer Versioned 9 and above.").css({ "font-size": "20px", "color": "red" }); - } - var rteInstance = new ej.RTE($("#rteSample1"), { - width: "100%", - minWidth: "10px", - change: (e) => { radialEle.ejRadialMenu("enableItem", "Undo"); }, - select: (e) => { - var target = $("#radialtarget1"), radialRadius = 150, radialDiameter = 2 * radialRadius, - // To get Iframe positions - iframeY = e.event.clientY, iframeX = e.event.clientX, - // To set Radial Menu position within target - x = iframeX > target.width() - radialRadius ? target.width() - radialDiameter : (iframeX > radialRadius ? iframeX - radialRadius : 0), - y = iframeY > target.height() - radialRadius ? target.height() - radialDiameter : (iframeY > radialRadius ? iframeY - radialRadius : 0); - radialEle.ejRadialMenu("setPosition", x, y); - radialEle.focus(); - $('iframe').contents().find('body').blur(); - }, - showToolbar: false, - showContextMenu: false - }); - $(window).resize(function () { - if (ej.isMobile() && ej.isPortrait()) - $('#defaultradialmenu').css({ "left": 25 }); - }); - }); -} - - -function bold(e: any) { - - rteObj = rteEle.data("ejRTE"); - rteObj.executeCommand("bold"); - data = rteObj._getSelectedHtmlString() ? true : false; - if (data) action += 1; - forRedo = action; - radialEle.focus(); -} -function italic(e: any) { - rteObj = rteEle.data("ejRTE"); - rteObj.executeCommand("italic"); - data = rteObj._getSelectedHtmlString() ? true : false; - if (data) action += 1; - forRedo = action; - radialEle.focus(); -} -function undo(e: any) { - rteObj = rteEle.data("ejRTE"); - rteObj.executeCommand("undo"); - action -= 1; - if (action == 0) - radialEle.ejRadialMenu("disableItem", "Undo"); - radialEle.ejRadialMenu("enableItem", "Redo"); - radialEle.focus(); -} -function redo(e: any) { - rteObj = rteEle.data("ejRTE"); - rteObj.executeCommand("redo"); - action += 1; - if (forRedo == action) radialEle.ejRadialMenu("disableItem", "Redo"); - radialEle.ejRadialMenu("enableItem", "Undo"); - radialEle.focus(); -} - - - - -module RadialSliderComponent { - $(function () { - var radialsliderInstance = new ej.RadialSlider($("#radialSlider"), { - innerCircleImageUrl: "images/radialslider/chevron-right.png" - }); - }); -} - - -module rangecomponent { - $(function () { - var linearsample = new ej.datavisualization.RangeNavigator($("#RangeNavigator"), { - enableDeferredUpdate: true, - padding: "15", - allowSnapping: true, - selectedRangeSettings: { - start: "2010/5/1", end: "2011/10/1" - }, - isResponsive: true, - tooltipSettings: { - visible: true, labelFormat: "MM/dd/yyyy", backgroundColor: "gray", tooltipDisplayMode: "ondemand" - }, - load: () => { - var rn = $("#RangeNavigator").data("ejRangeNavigator"); - rn.model.series = [ - { - type: 'line', - dataSource: data.Open, xName: "XValue", yName: "YValue", - fill: '#69D2E7' - } - ]; - } - - }); - }); -} -var data; -data = GetData(); - -function GetData() { - var series1:any[]=[]; - var series2:any[]= []; - var value = 100; - var value1 = 120; - for (var i = 1; i < 730; i++) { - - if (Math.random() > .5) { - value += Math.random(); - value1 += Math.random(); - } else { - value -= Math.random(); - value1 -= Math.random(); - } - var point1 = { XValue: new Date(2010, 0, i), YValue: value }; - var point2 = { XValue: new Date(2010, 0, i), YValue: value1 }; - series1.push(point1); - series2.push(point2); - } - - data = { Open: series1, Close: series2 }; - return data; -}; - - - -module RatingComponent { - $(function () { - - var sample1 = new ej.Rating($("#fullRating"),{ - value: 4, - precision: ej.Rating.Precision.Full, - allowReset: true, - cssClass: "gradient-lime", - enabled: true, - enablePersistence: true, - incrementStep: 2, - maxValue: 10, - minValue: 0, - orientation: ej.Orientation.Horizontal, - shapeHeight: 25, - shapeWidth: 25, - showTooltip: true - }); - - var sample2 = new ej.Rating($("#halfRating"),{ - precision: ej.Rating.Precision.Half, - value: 3.5, - allowReset: true, - cssClass: "gradient-lime", - enabled: true, - enablePersistence: true, - incrementStep: 2, - maxValue: 10, - minValue: 0, - orientation: "horizontal", - shapeHeight: 25, - shapeWidth: 25, - showTooltip: true - }); - - var sample3 = new ej.Rating($("#exactRating"),{ - precision: ej.Rating.Precision.Exact, - value: 3.7, - allowReset: true, - cssClass: "gradient-lime", - enabled: true, - enablePersistence: true, - incrementStep: 2, - maxValue: 10, - minValue: 0, - orientation: "horizontal", - shapeHeight: 25, - shapeWidth: 25, - showTooltip: true - }); - }); - -} - - - -module ReportViewerComponent { - $(function () { - var report = new ej.ReportViewer($("#territoryReportViewer"), { - reportServiceUrl: (window).baseurl + 'api/ReportViewer', - reportServerUrl: 'http://mvc.syncfusion.com/reportserver', - processingMode: ej.ReportViewer.ProcessingMode.Remote, - reportPath: "/SSRSSamples2/Territory Sales new", - isResponsive: true - }); - }); -} - - - -var fontfamily = ["Segoe UI", "Arial", "Times New Roman", "Tahoma", "Helvetica"], fontsize = ["1pt", "2pt", "3pt", "4pt", "5pt"], action1 = ["New", "Clear"], action2 = ["Bold", "Italic", "Underline", "strikethrough", "superscript", "subscript", "JustifyLeft", "JustifyCenter", "JustifyRight", "JustifyFull", "Undo", "Redo"]; -module RibbonComponent { - $(function () { - var sample = new ej.Ribbon($("#defaultRibbon"), { - width: "100%", - expandPinSettings: { - toolTip: "Collapse the Ribbon" - }, - collapsePinSettings: { - toolTip: "Pin the Ribbon" - }, - applicationTab: { - type: ej.Ribbon.ApplicationTabType.Menu, menuItemID: "ribbonmenu", menuSettings: { openOnClick: false } - }, - tabs: [{ - id: "home", text: "HOME", groups: [{ - text: "New", alignType: ej.Ribbon.AlignType.Rows, content: [{ - groups: [{ - id: "new", - text: "New", - toolTip: "New", - buttonSettings: { - contentType: ej.ContentType.ImageOnly, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-new", - click: "onClick" - } - } - ], - defaults: { - type: "button", - width: 60, - height: 70 - } - }] - }, - { - text: "Clipboard", alignType: ej.Ribbon.AlignType.Columns, content: [{ - groups: [{ - id: "paste", - text: "paste", - toolTip: "Paste", - splitButtonSettings: { - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-ribbonpaste", - targetID: "pasteSplit", - buttonMode: "dropdown", - click: "onClick", - arrowPosition: ej.ArrowPosition.Bottom - } - } - ], - defaults: { - type: "splitbutton", - width: 50, - height: 70 - } - }, - { - groups: [{ - id: "cut", - text: "Cut", - toolTip: "Cut", - buttonSettings: { - contentType: ej.ContentType.TextAndImage, - click: "onClick", - prefixIcon: "e-icon e-ribbon e-ribboncut" - } - }, - { - id: "copy", - text: "Copy", - toolTip: "Copy", - buttonSettings: { - contentType: ej.ContentType.TextAndImage, - click: "onClick", - prefixIcon: "e-icon e-ribbon e-ribboncopy" - } - }, - { - id: "clear", - text: "Clear", - toolTip: "Clear All", - buttonSettings: { - contentType: ej.ContentType.TextAndImage, - click: "onClick", - prefixIcon: "e-icon e-ribbon clearAll" - } - }], - defaults: { - type: "button", - width: 60, - isBig: false - } - }] - }, - { - text: "Font", alignType: "rows", content: [{ - groups: [{ - id: "fontfamily", - toolTip: "Font", - dropdownSettings: { - dataSource: fontfamily, - text: "Segoe UI", - select: "onClick", - width: 150 - } - }, - { - id: "fontsize", - toolTip: "FontSize", - dropdownSettings: { - dataSource: fontsize, - text: "1pt", - select: "onClick", - width: 65 - } - }], - defaults: { - type: "dropdownlist", - height: 28 - } - }, - { - groups: [{ - id: "bold", - toolTip: "Bold", - type: ej.Ribbon.Type.ToggleButton, - toggleButtonSettings: { - contentType: ej.ContentType.ImageOnly, - defaultText: "Bold", - activeText: "Bold", - click: "onClick", - defaultPrefixIcon: "e-icon e-ribbon bold", - activePrefixIcon: "e-icon e-ribbon bold" - } - }, - { - id: "italic", - toolTip: "Italic", - type: ej.Ribbon.Type.ToggleButton, - toggleButtonSettings: { - contentType: ej.ContentType.ImageOnly, - defaultText: "Italic", - activeText: "Italic", - click: "onClick", - defaultPrefixIcon: "e-icon e-ribbon e-ribbonitalic", - activePrefixIcon: "e-icon e-ribbon e-ribbonitalic" - } - }, - { - id: "underline", - text: "Underline", - toolTip: "Underline", - type: ej.Ribbon.Type.ToggleButton, - toggleButtonSettings: { - contentType: ej.ContentType.ImageOnly, - defaultText: "Underline", - activeText: "Underline", - click: "onClick", - defaultPrefixIcon: "e-icon e-ribbon e-ribbonunderline", - activePrefixIcon: "e-icon e-ribbon e-ribbonunderline" - } - }, - { - id: "strikethrough", - text: "strikethrough", - toolTip: "Strikethrough", - type: ej.Ribbon.Type.ToggleButton, - toggleButtonSettings: { - contentType: ej.ContentType.ImageOnly, - defaultText: "Strikethrough", - activeText: "Strikethrough", - click: "onClick", - defaultPrefixIcon: "e-icon e-ribbon strikethrough", - activePrefixIcon: "e-icon e-ribbon strikethrough" - } - }, - { - id: "superscript", - text: "superscript", - toolTip: "Superscript", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-superscripticon" - } - }, - { - id: "subscript", - text: "subscript", - toolTip: "Subscript", - enableSeparator: true, - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-subscripticon" - } - }, - { - id: "fontcolor", - text: "Font Color", - toolTip: "Font Color", - type: ej.Ribbon.Type.Custom, - contentID: "fontcolor" - }, - { - id: "fillcolor", - text: "Fill Color", - toolTip: "Fill Color", - type: ej.Ribbon.Type.Custom, - contentID: "fillcolor" - } - ], - defaults: { - isBig: false - } - }] - }, - { - text: "Alignment", alignType: ej.Ribbon.AlignType.Rows, content: [ - { - groups: [{ - id: "bullet", - text: "Bullet Format", - toolTip: "Bullets", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-bullet" - } - }, - { - id: "number", - text: "Number Format", - toolTip: "Numbering", - enableSeparator: true, - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-numbericon" - } - }, - { - id: "textindent", - text: "Indent", - toolTip: "Text Indent", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-indent" - } - }, - { - id: "textoudent", - text: "Outdent", - toolTip: "Text Outdent", - enableSeparator: true, - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-outdent" - } - }, - { - id: "sortascending", - text: "Sort", - toolTip: "Sort", - enableSeparator: true, - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-sort" - } - }, - { - id: "border", - text: "Border", - toolTip: "Border", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-border" - } - }], - defaults: { - type: "button", - isBig: false - } - }, - { - groups: [{ - id: "alignleft", - text: "JustifyLeft", - toolTip: "Align Left", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon alignleft" - } - }, - { - id: "aligncenter", - text: "JustifyCenter", - toolTip: "Align Center", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon aligncenter" - } - }, - { - id: "alignright", - text: "JustifyRight", - toolTip: "Align Right", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon alignright" - } - }, - { - id: "justify", - text: "JustifyFull", - toolTip: "Justify", - enableSeparator: true, - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon justify" - } - }, - { - id: "uppercase", - text: "Upper Case", - toolTip: "Upper Case", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-uppercase" - } - }, - { - id: "lowercase", - text: "Lower Case", - toolTip: "Lower Case", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.ImageOnly, - prefixIcon: "e-icon e-ribbon e-lowercase" - } - }], - defaults: { - type: "button", - isBig: false - } - }] - }, - { - text: "Actions", alignType: ej.Ribbon.AlignType.Rows, content: [{ - groups: [{ - id: "undo", - text: "Undo", - toolTip: "Undo", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-undo" - } - }, - { - id: "redo", - text: "Redo", - toolTip: "Redo", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-redo" - } - } - ], - defaults: { - type: "button", - width: 40, - height: 70 - } - }] - }, - { - text: "View", alignType: ej.Ribbon.AlignType.Rows, content: [{ - groups: [{ - id: "zoomin", - text: "Zoom In", - toolTip: "Zoom In", - buttonSettings: { - width: 58, - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-zoomin" - } - }, - { - id: "zoomout", - text: "Zoom Out", - toolTip: "Zoom Out", - buttonSettings: { - width: 70, - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-zoomout" - } - }, - { - id: "fullscreen", - text: "Full Screen", - toolTip: "Full Screen", - buttonSettings: { - width: 73, - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-fullscreen" - } - } - ], - defaults: { - type: "button", - height: 70 - } - }] - }] - },{ - id: "insert", text: "INSERT", groups: [{ - text: "Tables", alignType: ej.Ribbon.AlignType.Columns, content: [{ - groups: [{ - id: "tables", - text: "Tables", - toolTip: "Tables", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-table" - } - } - ], - defaults: { - type: "button", - width: 50, - height: 70 - } - }] - }, - { - text: "Illustrations", alignType: ej.Ribbon.AlignType.Rows, content: [{ - groups: [{ - id: "pictures", - text: "Pictures", - toolTip: "Pictures", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-picture" - } - }, - { - id: "videos", - text: "Videos", - toolTip: "Videos", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-video" - } - }, - { - id: "shapes", - text: "Shapes", - toolTip: "Shapes", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-shape" - } - }, - { - id: "charts", - text: "Charts", - toolTip: "Charts", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-chart" - } - } - ], - defaults: { - type: "button", - width: 56, - height: 70 - } - }] - }, - { - text: "Comments", alignType: ej.Ribbon.AlignType.Rows, content: [{ - groups: [{ - id: "comments", - text: "Comments", - toolTip: "Comments", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-comment" - } - } - ], - defaults: { - type: "button", - width: 70, - height: 70 - } - }] - }, - { - text: "Text", alignType: ej.Ribbon.AlignType.Rows, content: [{ - groups: [{ - id: "text", - text: "Text", - toolTip: "Text", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-text", - width: 50 - } - }, - { - id: "datetime", - text: "Date Time", - toolTip: "DateTime", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-datetimenew" - } - } - ], - defaults: { - type: "button", - width: 70, - height: 70 - } - }] - }, - { - text: "Hyperlink", alignType: ej.Ribbon.AlignType.Rows, content: [{ - groups: [{ - id: "hyperlink", - text: "Hyperlink", - toolTip: "Hyperlink", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-hyperlink" - } - } - ], - defaults: { - type: "button", - width: 70, - height: 70 - } - }] - }, - { - text: "Equation", alignType: ej.Ribbon.AlignType.Rows, content: [{ - groups: [{ - id: "equation", - text: "Equation", - toolTip: "Equation", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-equation" - } - } - ], - defaults: { - type: "button", - width: 60, - height: 70 - } - }] - }, - { - text: "Print Layout", alignType: ej.Ribbon.AlignType.Rows, content: [{ - groups: [{ - id: "printlayout", - text: "Print Layout", - toolTip: "Print Layout", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-printlayout" - } - } - ], - defaults: { - type: "button", - width: 80, - height: 70 - } - }] - }, - { - text: "Save", alignType: ej.Ribbon.AlignType.Rows, content: [{ - groups: [{ - id: "print", - text: "Print", - toolTip: "Print", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-print" - } - }, - { - id: "save", - text: "Save", - toolTip: "Save", - buttonSettings: { - click: "onClick", - contentType: ej.ContentType.TextAndImage, - imagePosition: ej.ImagePosition.ImageTop, - prefixIcon: "e-icon e-ribbon e-save" - } - } - ], - defaults: { - type: "button", - width: 50, - height: 70 - } - }] - } - ] - } - ], - create: function createControl(args) { - var ribbon = $("#defaultRibbon").data("ejRibbon"); - $("#fontcolor").ejColorPicker({ value: "#FFFF00", modelType: "palette", cssClass: "e-ribbon", toolIcon: "e-fontcoloricon", select: colorHandler }); - $("#fillcolor").ejColorPicker({ value: "#FF0000", modelType: "palette", cssClass: "e-ribbon", toolIcon: "e-fillcoloricon", select: colorHandler }); - } - }); - }); -} -function colorHandler(args:any) { - (this._id.indexOf("fillcolor") != -1) ? $("#contenteditor").css('background-color', args.value) : document.execCommand('forecolor', false, args.value); -} -function onClick(args) { - var val, prop = args.text; - val = (ej.isNullOrUndefined(args.model.text)) ? args.model.activeText : args.model.text; - if (action1.indexOf(val) != -1) - $("#contenteditor").empty(); - else if (action2.indexOf(val) != -1) - document.execCommand(val, false, null); - else if (fontfamily.indexOf(prop) != -1) - document.execCommand("FontName", false, prop); - else if (fontsize.indexOf(prop) != -1) - document.execCommand("FontSize", false, prop.replace("pt", "")); - else - $("#contenteditor").append("

Action: " + val + " Triggered

"); -} - - - - - - -module RotatorComponent { - $(function () { - var rotatorInstance = new ej.Rotator($("#sliderContent"), { - slideWidth: "100%", - frameSpace: "0px", - slideHeight: "auto", - displayItemsCount: "1", - navigateSteps: "1", - pagerPosition:"outside", - orientation: "horizontal", - showPager: true, - enabled: true, - showCaption: true, - allowKeyboardNavigation: true, - showPlayButton: true, - isResponsive:true, - animationType: "slide", - }); - }); -} - - - -module RTEComponent { - $(function () { - var sample = new ej.RTE($("#rteSample"),{ - width: "100%", - minWidth: "150px", - showFooter: true, - showHtmlSource: true, - allowEditing: true, - allowKeyboardNavigation: true, - autoFocus: true, - autoHeight: true, - colorPaletteColumns: 10, - colorPaletteRows: 5, - cssClass: 'gradient-lime', - enableResize: true, - enableTabKeyNavigation: true, - fileBrowser: { - filePath: (window).baseurl + "Content/FileBrowser/", - extensionAllow: "*.png, *.doc, *.pdf, *.txt, *.docx", - ajaxAction: (window).baseurl + "api/FileExplorer/FileOperations" - }, - imageBrowser: { - filePath: (window).baseurl + "Content/FileBrowser/", - extensionAllow: "*.png, *.gif, *.jpg, *.jpeg, *.docx", - ajaxAction: (window).baseurl + "api/FileExplorer/FileOperations" - }, - isResponsive: true, - showClearAll: true, - showClearFormat: true, - showDimensions: true, - showCharCount: true, - tools: { - formatStyle: ["format"], - edit: ["findAndReplace"], - font: ["fontName", "fontSize", "fontColor", "backgroundColor"], - style: ["bold", "italic", "underline", "strikethrough"], - alignment: ["justifyLeft", "justifyCenter", "justifyRight", "justifyFull"], - lists: ["unorderedList", "orderedList"], - clipboard: ["cut", "copy", "paste"], - doAction: ["undo", "redo"], - indenting: ["outdent", "indent"], - clear: ["clearFormat", "clearAll"], - links: ["createLink", "removeLink"], - images: ["image"], - media: ["video"], - tables: ["createTable", "addRowAbove", "addRowBelow", "addColumnLeft", "addColumnRight", "deleteRow", "deleteColumn", "deleteTable"], - effects: ["superscript", "subscript"], - casing: ["upperCase", "lowerCase"], - view: ["fullScreen", "zoomIn", "zoomOut"], - print: ["print"], - customUnorderedList: [{ - name: "unOrderInsert", - tooltip: "Custom UnOrderList", - css: "e-rte-toolbar-icon e-rte-unlistitems customUnOrder", - text: "Smiley", - listImage: "url('../content/images/rte/Smiley-GIF.gif')" - }], - customOrderedList: [{ - name: "orderInsert", - tooltip: "Custom OrderList", - css: "e-rte-toolbar-icon e-rte-listitems customOrder", - text: "Lower-Greek", - listStyle: "lower-greek" - }] - } - }); - }); - -} - - - -module ScheduleComponent { - $(function () { - var sample = new ej.Schedule($("#Schedule1"), { - width: "100%", - height: "525px", - currentDate: new Date(2017, 5, 5), - timeScale: { - minorSlotCount: 4, - majorSlot: 60 - }, - contextMenuSettings: { - enable: true, - menuItems: { - appointment: [ - { id: "open", text: "Open Appointment" }, - { id: "delete", text: "Delete Appointment" }, - { id: "customMenu3", text: "Menu Item 3" }, - { id: "customMenu4", text: "Menu Item 4" } - ], - cells: [ - { id: "new", text: "New Appointment" }, - { id: "recurrence", text: "New Recurring Appointment" }, - { id: "today", text: "Today" }, - { id: "gotodate", text: "Go to date" }, - { id: "settings", text: "Settings" }, - { id: "view", text: "View", parentId: "settings" }, - { id: "timemode", text: "TimeMode", parentId: "settings" }, - { id: "view_Day", text: "Day", parentId: "view" }, - { id: "view_Week", text: "Week", parentId: "view" }, - { id: "view_Workweek", text: "Workweek", parentId: "view" }, - { id: "view_Month", text: "Month", parentId: "view" }, - { id: "timemode_Hour12", text: "12 Hours", parentId: "timemode" }, - { id: "timemode_Hour24", text: "24 Hours", parentId: "timemode" }, - { id: "workhours", text: "Work Hours", parentId: "settings" }, - { id: "customMenu1", text: "Menu Item 1" }, - { id: "customMenu2", text: "Menu Item 2" } - ] - } - }, - resources: [{ - field: "ownerId", - title: "Owner", - name: "Owners", allowMultiple: true, - resourceSettings: { - dataSource: [ - { text: "Nancy", id: 1, groupId: 1, color: "#f8a398" }, - { text: "Steven", id: 3, groupId: 2, color: "#56ca85" }, - { text: "Michael", id: 5, groupId: 1, color: "#51a0ed" } - ], - text: "text", id: "id", groupId: "groupId", color: "color" - } - }], - appointmentSettings: { - dataSource: new ej.DataManager((window).ResourcesData).executeLocal(new ej.Query().take(10)), - id: "Id", - subject: "Subject", - startTime: "StartTime", - endTime: "EndTime", - description: "Description", - allDay: "AllDay", - recurrence: "Recurrence", - recurrenceRule: "RecurrenceRule", - resourceFields: "ownerId" - } - }); - }); -} - - - -module ScrollerComponent { - $(function () { - var scrollerSample = new ej.Scroller($("#scrollcontent"), { - height: "300px", - width: "100%" - }); - $(window).bind('resize', function () { - scrollerSample.refresh(); - }); - }); -} - - - -module SignatureComponent { - $(function () { - var basicSignature = new ej.Signature($("#signature"), { - height: "400px", - isResponsive: true, - strokeWidth: 3 - }); - }); -} - - - - -module SliderComponent { - $(function () { - var slider = new ej.Slider($("#minSlider"), { - sliderType: "MinRange", - value: 60, - minValue: 0, - maxValue: 100 - }); - var rangeslider = new ej.Slider($("#rangeSlider"), { - sliderType: "Range", - values: [30, 60], - minValue: 0 - }); - - }); -} - - - - - - -module linesparkline { - $(function () { - - var sparklinesample = new ej.Sparkline($("#line"), { - dataSource: [12, 14, 11, 12, 11, 15, 12, 10, 11, 12, 15, 13, 12, 11, 10, 13, 15, 12, 14, 16, 14, 12, 11], - tooltip: { - visible: true, - font: { size:"12px" } - }, - type: "line", - size: { height: "40", width:"170" }, - }); - }); -} - -module columnsparkline { - $(function () { - var sparkcolumnsample = new ej.Sparkline($("#column"), { - dataSource: [2, 6, -1, 1, 12, 5, -2, 7, -3, 5, 8, 10,], - negativePointColor: "red", - highPointColor: "blue", - tooltip: { - visible: true, - font: { - size: "12px", - } - }, - type: "column", - size: { height: "100", width: "150" }, - }); - }); -} - -module areasparkline { - $(function () { - var sparkareasample = new ej.Sparkline($("#area"), { - dataSource: [12, -10, 11, 8, 17, 6, 2, -17, 13, -6, 8, 10,], - markerSettings: { visible: true }, - highPointColor: "blue", - lowPointColor: "orange", - type: "area", - opacity: 0.5, - tooltip: { - visible: true, - font: { - size: "12px", - } - }, - size: { height: "100", width: "150" }, - }); - }); -} - -module windlosssparkline { - $(function () { - var sparkwinlosssample = new ej.Sparkline($("#winloss"), { - dataSource: [12, 15, -11, 13, 17, 0, -12, 17, 13, -15, 8, 10,], - type: "winloss", - size: { height: "100", width: "150" }, - }); - }); -} - -module piesparkline1 { - $(function () { - var sparkpiesample1 = new ej.Sparkline($("#pie1"), { - dataSource: [4, 6, 7], - type: "pie", - tooltip: { - visible: true, - font: { - size: "12px", - } - }, - size: { height: "40", width: "40" }, - }); - }); -} - -module piesparkline2 { - $(function () { - var sparkpiesample2 = new ej.Sparkline($("#pie2"), { - dataSource: [8, 9, 1,], - type: "pie", - tooltip: { - visible: true, - font: { - size: "12px", - } - }, - size: { height: "40", width: "40" }, - }); - }); -} - -module piesparkline3 { - $(function () { - var sparkpiesample3 = new ej.Sparkline($("#pie3"), { - dataSource: [2, 3, 5], - type: "pie", - tooltip: { - visible: true, - font: { - size: "12px", - } - }, - size: { height: "40", width: "40" }, - }); - }); -} - -module piesparkline4 { - $(function () { - var sparkpiesample4 = new ej.Sparkline($("#pie4"), { - dataSource: [10, 12, 11], - type: "pie", - tooltip: { - visible: true, - font: { - size: "12px", - } - }, - size: { height: "40", width: "40" }, - }); - }); -} - - - - - - -module SplitterComponent { - $(function () { - var splitterInstance = new ej.Splitter($("#outterSpliter"), { - height: "250px", - width: "50%", - orientation: ej.Orientation.Vertical, - properties: [{}, { paneSize: 80 }], - isResponsive:true - }); - var splitterInstance1 = new ej.Splitter($("#innerSpliter"), { - isResponsive:true, - }); - }); -} - - - -module SpreadsheetComponent { -$(function () { - var sample = new ej.Spreadsheet($("#basicSpreadsheet"), { - scrollSettings: { - height: 550, - }, - importSettings: { - importMapper: (window).baseurl + "api/Spreadsheet/Import" - }, - exportSettings: { - excelUrl: (window).baseurl + "api/Spreadsheet/ExcelExport", - csvUrl: (window).baseurl + "api/Spreadsheet/CsvExport", - pdfUrl: (window).baseurl + "api/Spreadsheet/PdfExport" - }, - sheets: [{ rangeSettings: [{ dataSource: (window).defaultData, startCell: "A1" }] }], - loadComplete: () => { - var spreadsheet = $("#basicSpreadsheet").data("ejSpreadsheet"), xlFormat = spreadsheet.XLFormat; - if (!(spreadsheet).isImport) { - spreadsheet.setWidthToColumns([140, 128, 105, 100, 100, 110, 120, 120, 100]); - xlFormat.format({ "style": { "font-weight": "bold" } }, "A1:H1"); - xlFormat.format({ "type": "currency" }, "E2:H11"); - spreadsheet.XLRibbon.updateRibbonIcons(); - }} - }); - }); -} - - - - -var default_data: Array = [ - { Category : "Employees", Country : "USA", JobDescription : "Sales", JobGroup:"Executive", EmployeesCount : 50 }, - { Category : "Employees", Country : "USA", JobDescription : "Sales", JobGroup : "Analyst", EmployeesCount : 40 }, - { Category : "Employees", Country : "USA", JobDescription : "Marketing", EmployeesCount : 40 }, - { Category : "Employees", Country : "USA", JobDescription : "Technical", JobGroup : "Testers", EmployeesCount : 55 }, - { Category : "Employees", Country : "USA", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Windows", EmployeesCount : 175}, - { Category : "Employees", Country : "USA", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Web", EmployeesCount : 70 }, - { Category : "Employees", Country : "USA", JobDescription : "Management", EmployeesCount : 40 }, - { Category : "Employees", Country : "USA", JobDescription : "Accounts", EmployeesCount : 60 }, - - { Category : "Employees", Country : "India", JobDescription : "Technical", JobGroup : "Testers", EmployeesCount : 43 }, - { Category : "Employees", Country : "India", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Windows", EmployeesCount : 125}, - { Category : "Employees", Country : "India", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Web", EmployeesCount : 60 }, - { Category : "Employees", Country : "India", JobDescription : "HR Executives", EmployeesCount : 70 }, - { Category : "Employees", Country : "India", JobDescription : "Accounts", EmployeesCount : 45 }, - - { Category : "Employees", Country : "Germany", JobDescription : "Sales", JobGroup : "Executive", EmployeesCount : 30 }, - { Category : "Employees", Country : "Germany", JobDescription : "Sales", JobGroup : "Analyst", EmployeesCount : 40 }, - { Category : "Employees", Country : "Germany", JobDescription : "Marketing", EmployeesCount : 50 }, - { Category : "Employees", Country : "Germany", JobDescription : "Technical", JobGroup : "Testers", EmployeesCount : 40 }, - { Category : "Employees", Country : "Germany", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Windows", EmployeesCount : 65 }, - { Category : "Employees", Country : "Germany", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Web", EmployeesCount : 27 }, - { Category : "Employees", Country : "Germany", JobDescription : "Management", EmployeesCount : 33 }, - { Category : "Employees", Country : "Germany", JobDescription : "Accounts", EmployeesCount : 55 }, - - { Category : "Employees", Country : "UK", JobDescription : "Technical", JobGroup : "Testers", EmployeesCount : 45 }, - { Category : "Employees", Country : "UK", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Windows", EmployeesCount : 96 }, - { Category : "Employees", Country : "UK", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Web", EmployeesCount : 55 }, - { Category : "Employees", Country : "UK", JobDescription : "HR Executives", EmployeesCount : 60 }, - { Category : "Employees", Country : "UK", JobDescription: "Accounts", EmployeesCount: 30 }, - - { Category : "Employees", Country : "France", JobDescription : "Technical", JobGroup : "Testers", EmployeesCount : 40 }, - { Category : "Employees", Country : "France", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Windows", EmployeesCount : 65 }, - { Category : "Employees", Country : "France", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Web", EmployeesCount : 27 }, - { Category : "Employees", Country : "France", JobDescription: "Marketing", EmployeesCount: 50 } -]; - -module sunburstcomponent { - $(function () { - var sunburstsample = new ej.SunburstChart($("#Sunburst"), { - valueMemberPath: "EmployeesCount", - levels: [ - {groupMemberPath: "Country"}, - {groupMemberPath: "JobDescription"}, - {groupMemberPath: "JobGroup"}, - {groupMemberPath: "JobRole"} - ], - dataSource: default_data, - dataLabelSettings:{visible:true}, - tooltip:{visible:false}, - enableAnimation:false, - size:{height:"600"}, - innerRadius:0.2, - title:{text:"Employees Count"}, - zoomSettings:{enable:false}, - legend:{visible:true,position:'top'} - }); - }); -} - - - - -module TabComponent { - $(function () { - var sample = new ej.Tab($("#defaultTab"),{ - width: "500px", - collapsible: true, - events: "click", - heightAdjustMode: ej.Tab.HeightAdjustMode.Content, - showCloseButton: true, - showRoundedCorner: false - }); - }); -} - - - -module TagCloudComponent { - - - var websiteCollection = [ - { text: "Google", url: "http://www.google.com", frequency: 12 }, - { text: "All Things Digital", url: "http://allthingsd.com/", frequency: 3 }, - { text: "Arts Technica", url: "http://arstechnica.com/", frequency: 8 }, - { text: "Business Week", url: "http://www.businessweek.com/", frequency: 2 }, - { text: "Yahoo", url: "http://in.yahoo.com/", frequency: 12 }, - { text: "Center Networks", url: "http://www.centernetworks.com/", frequency: 5 }, - { text: "Crave", url: "http://news.cnet.com/crave/", frequency: 8 }, - { text: "Crunch Gear", url: "http://techcrunch.com/gadgets/", frequency: 20 }, - { text: "Daily Tech", url: "http://www.dailytech.com/", frequency: 1 }, - { text: "Electronista", url: "http://www.electronista.com/", frequency: 3 }, - { text: "Engadget", url: "http://www.engadget.com/", frequency: 5 }, - { text: "Gearlog", url: "http://www.gearlog.com/", frequency: 9 }, - { text: "Information Week", url: "http://www.informationweek.com/", frequency: 0 }, - { text: "PCWorld", url: "http://www.pcworld.com/", frequency: 11 }, - { text: "Tech Republic", url: "http://techrepublic.com/", frequency: 3 }, - { text: "Valleywag", url: "http://valleywag.gawker.com/", frequency: 6 }, - { text: "Rediff", url: "http://in.rediff.com/", frequency: 9 }, - { text: "WebProNews", url: "http://www.webpronews.com/", frequency: 2 } - ]; - - $(function () { - var sample = new ej.TagCloud($("#techWebList"), { - titleText: "Tech Sites", - dataSource: websiteCollection, - cssClass: "gradient-lime", - fields: { - text: "text", url: "url", frequency: "frequency" - } - }); - - }); -} - - - -module EditorComponent { - $(function () { - var num = new ej.NumericTextbox($("#numeric"), { - value: 30, - minValue: 1, - maxValue: 100, - name: "numeric", - width: "100%" - }); - var per = new ej.PercentageTextbox($("#percent"), { - value: 60, - minValue: 10, - maxValue: 1000, - name: "percent", - width: "100%" - }); - var cur = new ej.CurrencyTextbox($("#currency"), { - value: 100, - minValue: 10, - maxValue: 1000, - name: "currency", - width: "100%" - }); - var mask = new ej.MaskEdit($("#maskedit"), { - name: "mask", - value: "4242422424", - maskFormat: "99 999-99999", - width: "100%" - }) - }); -} - - - - - -module TileViewComponent { - $(function () { - var tile1 = new ej.Tile($("#tile1"), { - imagePosition:"fill", - caption:{text:"People"}, - tileSize:"medium", - imageUrl:'content/images/tile/windows/people_1.png' - }); - var tile2 = new ej.Tile($("#tile2"), { - imagePosition:"center", - tileSize:"small", - imageUrl:'content/images/tile/windows/alerts.png', - - }); - var tile3 = new ej.Tile($("#tile3"), { - imagePosition:"center", - tileSize:"small", - imageUrl:'content/images/tile/windows/bing.png', - }); - var tile4 = new ej.Tile($("#tile4"), { - tileSize:"small", - imageUrl:'content/images/tile/windows/camera.png', - }); - var tile5 = new ej.Tile($("#tile5"), { - imagePosition:"center", - tileSize:"small", - imageUrl:'content/images/tile/windows/messages.png', - }); - var tile6 = new ej.Tile($("#tile6"), { - imagePosition:"center", - tileSize:"medium", - imageUrl:'content/images/tile/windows/games.png', - caption:{text:"Play"} - }); - var tile7 = new ej.Tile($("#tile7"), { - tileSize:"medium", - imageUrl:'content/images/tile/windows/map.png', - caption:{text:"Maps"} - }); - var tile8 = new ej.Tile($("#tile8"), { - imagePosition:"fill", - tileSize:"wide", - imageUrl:'content/images/tile/windows/sports.png', - caption:{text:"Sports"} - }); - var tile9 = new ej.Tile($("#tile9"), { - imagePosition:"fill", - tileSize:"medium", - imageUrl:'content/images/tile/windows/people_2.png', - caption:{text:"People"} - }); - var tile10 = new ej.Tile($("#tile10"), { - imagePosition:"center", - tileSize:"medium", - imageUrl:'content/images/tile/windows/pictures.png', - caption:{text:"Photo"} - }); - var tile11 = new ej.Tile($("#tile11"), { - imagePosition:"center", - tileSize:"wide", - imageUrl:'content/images/tile/windows/weather.png', - caption:{text:"Weather"} - }); - var tile12 = new ej.Tile($("#tile12"), { - imagePosition:"center", - tileSize:"medium", - imageUrl:'content/images/tile/windows/music.png', - caption:{text:"Music"} - }); - var tile13 = new ej.Tile($("#tile13"), { - imagePosition:"center", - tileSize:"medium", - imageUrl:'content/images/tile/windows/favs.png', - caption:{text:"Favorites"} - }); - }); -} - - - -module TimePickerComponent { - $(function () { - var timeSample = new ej.TimePicker($("#timepick"), { - width: "100%" - }); - }); -} - - - - -module ToolbarComponent { - - $(function () { - var sample = new ej.Toolbar($("#editingToolbar"),{ - width: "100%", - cssClass: "gradient-lime", - enableSeparator: true, - - isResponsive: true, - orientation: ej.Orientation.Horizontal, - showRoundedCorner: true - }); - }); - -} - - - - -module TooltipComponent { - - $(function () { - - var sample1 = new ej.Tooltip($("#link1"),{ - content: "ECMAScript (or ES) is a trademarked scripting-language specification standardized by Ecma International in ECMA-262 and ISO/IEC 16262.", - associate: "mousefollow", - autoCloseTimeout: 5000, - collision: "fit", - containment: ".frame", - showRoundedCorner: true, - showShadow: true - }); - - var sample2 = new ej.Tooltip($("#link2"),{ - content: "The World Wide Web (WWW) is an information space where documents and other web resources are identified by URLs, interlinked by hypertext links, and can be accessed via the Internet.", - position: { - stem: { - horizontal: "right", - vertical: "center" - }, - target: { - horizontal: "left", - vertical: "center" - } - }, - autoCloseTimeout: 5000, - collision: "fit", - containment: ".frame", - showRoundedCorner: true, - showShadow: true - }); - - var sample3 = new ej.Tooltip($("#link3"),{ - content: 'Object-oriented programming (OOP) is a programming language model organized around objects rather than "actions" and data rather than logic.', - position: { - stem: { - horizontal: "right", - vertical: "center" - }, - target: { - horizontal: "left", - vertical: "center", - }, - }, - associate: "mousefollow", - autoCloseTimeout: 5000, - collision: "fit", - containment: ".frame", - showRoundedCorner: true, - showShadow: true - }); - }); -} - - - -module TreeGridComponent { - $(function () { - var treegridInstance = new ej.TreeGrid($("#TreeGridContainer"), { - dataSource: (window).treeGridData, - childMapping: "subtasks", - allowSorting: true, - allowMultiSorting: true, - enableAltRow: true, - allowFiltering: true, - treeColumnIndex: 1, - allowKeyboardNavigation: true, - showColumnChooser: true, - showColumnOptions: true, - contextMenuSettings: { - showContextMenu: true, - contextMenuItems: ["add", "edit", "delete"] - }, - columnDialogFields: ["field", "headerText", "editType", "width", "visible", "allowSorting", "textAlign", "headerTextAlign"], - editSettings: { - allowAdding: true, - allowEditing: true, - allowDeleting: true, - editMode: "cellEditing", - rowPosition: "belowSelectedRow" - }, - toolbarSettings: { - showToolbar: true, - toolbarItems: ["add","edit","delete","update","cancel","expandAll","collapseAll"] - }, - columns: [ - { field: "taskID", headerText: "Task Id", allowFiltering: false, editType: "numericedit", filterEditType: "numericedit" }, - { field: "taskName", headerText: "Task Name", editType: "stringedit", filterEditType: "stringedit" }, - { field: "startDate", headerText: "Start Date", editType: "datepicker", filterEditType: "datepicker", format:"{0:MM/dd/yyyy}" }, - { field: "endDate", headerText: "End Date", editType: "datepicker", filterEditType: "datepicker", format:"{0:MM/dd/yyyy}" }, - { field: "progress", headerText: "Progress", editType: "numericedit", filterEditType: "numericedit" } - ], - isResponsive: true, - }); -}); -} - - - - -var population_data: Array = [ - { Continent: "Asia", Country: "Indonesia", Growth: 3, Population: 237641326 }, - { Continent: "Asia", Country: "Russia", Growth: 2, Population: 152518015 }, - { Continent: "Asia", Country: "Malaysia", Growth: 1, Population: 29672000 }, - { Continent: "North America", Country: "United States", Growth: 4, Population: 315645000 }, - { Continent: "North America", Country: "Mexico", Growth: 2, Population: 112336538 }, - { Continent: "North America", Country: "Canada", Growth: 1, Population: 39056064 }, - { Continent: "South America", Country: "Colombia", Growth: 1, Population: 47000000 }, - { Continent: "South America", Country: "Brazil", Growth: 3, Population: 193946886 }, - { Continent: "Africa", Country: "Nigeria", Growth: 2, Population: 170901000 }, - { Continent: "Africa", Country: "Egypt", Growth: 1, Population: 83661000 }, - { Continent: "Europe", Country: "Germany", Growth: 1, Population: 81993000 }, - { Continent: "Europe", Country: "France", Growth: 1, Population: 65605000 }, - { Continent: "Europe", Country: "UK", Growth: 1, Population: 63181775 } -]; - -module treemapcomponent { - $(function () { - var treemapsample = new ej.datavisualization.TreeMap($("#treemap"), { - leafItemSettings: { showLabels: true, labelPath: "Country" }, - rangeColorMapping: [ - { color: "#77D8D8", legendLabel: "1% Growth", from: 0, to: 1 }, - { color: "#AED960", from: 0, legendLabel: "2% Growth", to: 2 }, - { color: "#FFAF51", from: 0, legendLabel: "3% Growth", to: 3 }, - { color: "#F3D240", from: 0, legendLabel: "4% Growth", to: 4 } - ], - levels: [ - { groupPath: "Continent", groupGap: 5, headerHeight: 25, showHeader: true, headerTemplate: 'headertemplate' } - ], - dataSource: population_data, - colorValuePath: "Growth", - weightValuePath: "Population", - borderThickness: 0, - showLegend: true - }); - }); -} - - - - - -module TreeViewComponent { - $(function () { - var tree = new ej.TreeView($("#treeView"), { - allowEditing: true, - allowDragAndDrop: true, - allowDropChild: true, - allowDropSibling: true, - }); - }); -} - - - - -module UploadboxComponent { - - $(function () { - var sample = new ej.Uploadbox($("#UploadDefault"),{ - saveUrl: (window).baseurl + "api/uploadbox/Save", - removeUrl: (window).baseurl + "api/uploadbox/Remove", - buttonText: { - browse: "Choose File", upload: "Upload", cancel: "Cancel" - }, - cssClass: "gradient- purple", - dialogAction: { - modal: false, closeOnComplete: false, drag: true - }, - extensionsAllow: ".zip", - multipleFilesSelection: true, - showFileDetails: true - }); - }); - -} - - - - -module WaitingPopupComponent { - $(function () { - var sample = new ej.WaitingPopup($("#target"),{ - showOnInit: true, - showImage: true, - text: 'waiting…', - target: "#target", - appendTo: "#waiting" - }); - }); - -} +module AccordionComponent { + $(function () { + var sample = new ej.Accordion($("#basicAccordion"), { + width: "100%", + allowKeyboardNavigation: true, + collapseSpeed: 500, + collapsible: true, + enableAnimation: true, + enableMultipleOpen: true, + events: "click", + expandSpeed: 500, + headerSize: "40px", + htmlAttributes: { title: "Demo" }, + selectedItemIndex: 1, + showCloseButton: true, + showRoundedCorner: true + }); + }); +} + + + +module AutocompleteComponent{ + var carList = [ + "Audi S6", "Austin-Healey", "Alfa Romeo", "Aston Martin", + "BMW 7", "Bentley Mulsanne", "Bugatti Veyron", + "Chevrolet Camaro", "Cadillac", + "Duesenberg J", "Dodge Sprinter", + "Elantra", "Excavator", + "Ford Boss 302", "Ferrari 360", "Ford Thunderbird", + "GAZ Siber", + "Honda S2000", "Hyundai Santro", + "Isuzu Swift", "Infiniti Skyline", + "Jaguar XJS", + "Kia Sedona EX", "Koenigsegg Agera", + "Lotus Esprit", "Lamborghini Diablo", + "Mercedes-Benz", "Mercury Coupe", "Maruti Alto 800", + "Nissan Qashqai", + "Oldsmobile S98", "Opel Superboss", + "Porsche 356", "Pontiac Sunbird", + "Scion SRS/SC/SD", "Saab Sportcombi", "Subaru Sambar", "Suzuki Swift", + "Triumph Spitfire", "Toyota 2000GT", + "Volvo P1800", "Volkswagen Shirako" + ]; + $(function () { + var autocompleteInstance =new ej.Autocomplete($("#selectCar"), { + width: "100%", + watermarkText: "Select a car", + dataSource: carList, + enableAutoFill: true, + showPopupButton: true, + multiSelectMode: "delimiter" + }); + }); +} + + + + + +module Barcodecomponent { + $(function () { + var barcodesample = new ej.datavisualization.Barcode($("#Barcode"), { + text:"http://www.syncfusion.com" + }); + }); +} + + + + + +module Bulletgraphcomponent { + $(function () { + var bulletsample = new ej.datavisualization.BulletGraph($("#BulletGraph"), { + isResponsive: true, + tooltipSettings: { visible: true }, + quantitativeScaleSettings: { + featureMeasures: [{ + value: 8, comparativeMeasureValue:6.7 + }] + }, + qualitativeRanges: [{ + rangeEnd: 4.3, rangeStroke:"#ebebeb", + }, + { + rangeEnd: 7.3, rangeStroke:"#d8d8d8" + }, + { + rangeEnd: 10, rangeStroke: "#7f7f7f" + } + ], + captionSettings: { + textPosition: 'right', text: 'Revenue YTD', + subTitle: { + text: "$ in Thousands", textPosition:"right" + } + } + }); + }); +} + + + + + +module ButtonComponent { + $(function () { + var basicButton = new ej.Button($("#buttonnormal"), { + size: "large", + showRoundedCorner: true, + contentType: "textandimage", + prefixIcon: "e-icon e-save", + text: "Save" + }); + var toggleButton = new ej.ToggleButton($("#TextOnly"), { + showRoundedCorner: true, + size: "large", + contentType: "textandimage", + defaultPrefixIcon: "e-icon e-save", + activePrefixIcon: "e-icon e-delete", + defaultText: "Save", + activeText: "Delete" + }); + var splitbuttonnormal = new ej.SplitButton($("#splitbuttonnormal"), { + showRoundedCorner: true, + size: "large", + prefixIcon: "e-icon e-file-empty", + targetID: "menu1", + contentType: "textandimage", + text: "File" + }); + var groupButton = new ej.GroupButton($("#groupButton"), { + showRoundedCorner: true, + size: "large" + }); + var check1 = new ej.CheckBox($("#check1"), { + size: "medium", enableTriState: true + }); + var check2 = new ej.CheckBox($("#check2"), { + size: "medium", enableTriState: true + }); + var radio1 = new ej.RadioButton($("#radio1"), { + size: "medium" + }); + var radio2 = new ej.RadioButton($("#radio2"), { + size: "medium", checked: true + }); + }); +} + + + + +module ChartComponent { + $(function () { + var chartsample = new ej.datavisualization.Chart($("#Chart"), { + primaryXAxis: { + range: { min: 2005, max: 2011, interval: 1 }, + title: { text: "Year" }, + valueType: "category" + }, + primaryYAxis: { + range: { min: 25, max: 50, interval: 5 }, + labelFormat: "{value}%", + title: { text: "Efficiency" }, + + }, + commonSeriesOptions: + { + type: 'line', enableAnimation: true, + tooltip:{ visible :true, template:'Tooltip'}, + marker: + { + shape: 'circle', + size: + { + height: 10, width: 10 + }, + visible: true + }, + border : {width: 2} + }, + series: + [ + { + points: [{ x: 2005, y: 28 }, { x: 2006, y: 25 },{ x: 2007, y: 26 }, { x: 2008, y: 27 }, + { x: 2009, y: 32 }, { x: 2010, y: 35 }, { x: 2011, y: 30 }], + name: 'India' + }, + { + points: [{ x: 2005, y: 31 }, { x: 2006, y: 28 },{ x: 2007, y: 30 }, { x: 2008, y: 36 }, + { x: 2009, y: 36 }, { x: 2010, y: 39 }, { x: 2011, y: 37 }], + name: 'Germany' + }, + { + points: [{ x: 2005, y: 36 }, { x: 2006, y: 32 },{ x: 2007, y: 34 }, { x: 2008, y: 41 }, + { x: 2009, y: 42 }, { x: 2010, y: 42 }, { x: 2011, y: 43 }], + name: 'England' + }, + { + points: [{ x: 2005, y: 39 }, { x: 2006, y: 36 },{ x: 2007, y: 40 }, { x: 2008, y: 44 }, + { x: 2009, y: 45 }, { x: 2010, y: 48 }, { x: 2011, y: 46 }], + name: 'France' + } + ], + isResponsive: true, + load: function () { + var sender = $("#Chart").data("ejChart"); + if (!!window.orientation && sender) { //to modify chart properties for mobile view + var model = sender.model, + seriesLength = model.series.length; + model.legend.visible = false; + model.size.height = null; + model.size.width = null; + for (var i = 0; i < seriesLength; i++) { + if (!model.series[i].marker) + model.series[i].marker = {}; + if (!model.series[i].marker.size) + model.series[i].marker.size = {}; + model.series[i].marker.size.width = 6; + model.series[i].marker.size.height = 6; + } + model.primaryXAxis.labelIntersectAction = "rotate45"; + if (model.primaryXAxis.title) + model.primaryXAxis.title.text = ""; + if (model.primaryYAxis.title) + model.primaryYAxis.title.text = ""; + model.primaryXAxis.edgeLabelPlacement = "hide"; + model.primaryYAxis.labelIntersectAction = "rotate45"; + model.primaryYAxis.edgeLabelPlacement = "hide"; + } + }, + title: { text: 'Efficiency of oil-fired power production' }, + size: { height: "600" }, + legend: { visible: true} + }); + }); +} + + + + + +module circulargaugecomponent { + $(function () { + var circularsample = new ej.datavisualization.CircularGauge($("#CircularGauge"), { + enableAnimation: false, + isResponsive: true, + backgroundColor: "transparent", width: 500, + scales: [{ + showRanges: true, + startAngle: 122, sweepAngle: 296, radius: 130, showScaleBar: true, size: 1, maximum: 120, majorIntervalValue: 20, minorIntervalValue: 10, + border: { + width: 0.5, + }, + pointers: [{ + value: 60, + showBackNeedle: true, + backNeedleLength: 20, + length: 95, + width: 7 + }], + ticks: [{ + type: "major", + distanceFromScale: 2, + height: 16, + width: 1, color: "#8c8c8c" + }, { type: "minor", height: 8, width: 1, distanceFromScale: 2, color: "#8c8c8c" }], + labels: [{ + color: "#8c8c8c" + }], + ranges: [{ + distanceFromScale: -30, + startValue: 0, + endValue: 70 + }, { + distanceFromScale: -30, + startValue: 70, + endValue: 110, + backgroundColor: "#fc0606", + border: { color: "#fc0606" } + }, + { + distanceFromScale: -30, + startValue: 110, + endValue: 120, + backgroundColor: "#f5b43f", + border: { color: "#f5b43f" } + }] + }] + }); + }); +} + + + + +module ColorPickerComponent { + $(function () { + var colorSample = new ej.ColorPicker($("#colorpick"), { + value: "#278787" + }); + }); +} + + + + +module DatePickerComponent { + $(function () { + var dateSample = new ej.DatePicker($("#datepick"), { + width: "100%" + }); + }); +} + + + + +module DateTimePickerComponent { + $(function () { + var datetimeSample = new ej.DateRangePicker($("#daterangepick"), { + width: "100%" + }); + }); +} + + + +module DateTimePickerComponent { + $(function () { + var datetimeSample = new ej.DateTimePicker($("#datetimepick"), { + width: "100%" + }); + }); +} + + + +$(function () { + var diagram = new ej.datavisualization.Diagram($("#diagram"), { + width: "1000px", + height: "600px", + pageSettings: { + //Sets page size + pageHeight: 500, + pageWidth: 500, + //Customizes the appearance of page + pageBorderWidth: 4, + pageBackgroundColor: "white", + pageBorderColor: "lightgray", + pageMargin: 25, + showPageBreak: true, + multiplePage: true, + pageOrientation: ej.datavisualization.Diagram.PageOrientations.Portrait + }, + scrollSettings: { + horizontalOffset: 0, + verticalOffset: 0 + }, + snapSettings: { + snapConstraints: ej.datavisualization.Diagram.SnapConstraints.ShowLines + }, + nodes: [ + createNode({ name: "NewIdea", width: 150, height: 60, offsetX: 300, offsetY: 60, labels: [createLabel({ "text": "New idea identified" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Terminator }), + createNode({ name: "Meeting", width: 150, height: 60, offsetX: 300, offsetY: 155, labels: [createLabel({ "text": "Meeting with board" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Process }), + createNode({ + name: "BoardDecision", width: 150, height: 110, offsetX: 300, offsetY: 280, labels: [createLabel({ text: "Board decides \nwhether \nto proceed", wrapText: "true", "margin": { left: 20, top: 0, right: 20, bottom: 0 } })], + type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Decision + }), + createNode({ name: "Project", width: 150, height: 100, offsetX: 300, offsetY: 430, labels: [createLabel({ "text": "Find Project \nmanager" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Decision }), + createNode({ + name: "End", width: 150, height: 60, offsetX: 300, offsetY: 555, labels: [createLabel({ "text": "Implement and Deliver" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Process }), + createNode({ name: "Decision", width: 250, height: 60, offsetX: 550, offsetY: 60, labels: [createLabel({ "text": "Decision Process for new software ideas" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Card, fillColor: "#858585", borderColor: "#858585" }), + createNode({ name: "Reject", width: 150, height: 60, offsetX: 550, offsetY: 285, labels: [createLabel({ "text": "Reject and write report" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Process }), + createNode({ name: "Resources", width: 150, height: 60, offsetX: 550, offsetY: 430, labels: [createLabel({ "text": "Hire new resources" })], type: "flow", shape: ej.datavisualization.Diagram.FlowShapes.Process }) + ], + connectors: [ + createConnector({ name: "connector1", sourceNode: "NewIdea", targetNode: "Meeting" }), + createConnector({ name: "connector2", sourceNode: "Meeting", targetNode: "BoardDecision" }), + createConnector({ name: "connector3", sourceNode: "BoardDecision", targetNode: "Project", labels: [createLabel({ "text": "Yes" })] }), + createConnector({ name: "connector4", sourceNode: "Project", targetNode: "End", labels: [createLabel({ "text": "Yes" })] }), + createConnector({ name: "connector5", sourceNode: "BoardDecision", targetNode: "Reject", labels: [createLabel({ "text": "No" })] }), + createConnector({ name: "connector6", sourceNode: "Project", targetNode: "Resources", labels: [createLabel({ "text": "No" })] }) + ] + }); + +}); + +function createNode(option: ej.datavisualization.Diagram.Node) { + if (!option.fillColor) { + option.borderColor = "#1BA0E2"; + option.fillColor = "#1BA0E2"; + } + option.labels[0].fontColor = "white"; + return option; +} + +function createConnector(option: ej.datavisualization.Diagram.Connector) { + option.targetDecorator = { shape: ej.datavisualization.Diagram.DecoratorShapes.Arrow, borderColor: "#606060", width: 10, height: 10 }; + option.lineColor = "#606060"; + if (option.labels && option.labels.length > 0) { + option.labels[0].fillColor = "white"; + } + return option; +} + +function createLabel(options : any) { + return options; +} + + + +module DialogComponent { + $(function () { + var dialogInstance = new ej.Dialog($("#basicDialog"), { + width: 550, + minWidth: 310, + minHeight: 215, + target:".control", + close:()=>{ + $("#btnOpen").show();} + }); + var btnInstance = new ej.Button($("#btnOpen"), { + size: "medium", + click: ()=>{ + $("#btnOpen").hide(); + $("#basicDialog").ejDialog("open");}, + type: "button", + height: 30, + width: 150 + }); + }); +} + + + + +module digitalgaugecomponent { + $(function () { + var digitalgaugesample = new ej.datavisualization.DigitalGauge($("#DigitalGauge"), { + width: 525, + height: 305, + isResponsive: true, + items: [{ + segmentSettings: { + width: 1, + spacing: 0, + color: "#8c8c8c" + }, + characterSettings: { + opacity: 0.8, + }, + value: "Syncfusion", + position: { x: 52, y: 52 } + }] + }); + }); +} + + + + + + +module DropDownListComponent { + var BikeList = [ + { empid: "bk1", text: "Apache RTR" }, { empid: "bk2", text: "CBR 150-R" }, { empid: "bk3", text: "CBZ Xtreme" }, + { empid: "bk4", text: "Discover" }, { empid: "bk5", text: "Dazzler" }, { empid: "bk6", text: "Flame" }, + { empid: "bk7", text: "Fazzer" }, { empid: "bk8", text: "FZ-S" }, { empid: "bk9", text: "Pulsar" }, + { empid: "bk10", text: "Shine" }, { empid: "bk11", text: "R15" }, { empid: "bk12", text: "Unicorn" } + ]; + $(function () { + var sample = new ej.DropDownList($("#bikeList"),{ + dataSource: BikeList, + width: "100%", + watermarkText: "Select a bike", + fields: { id: "empid", text: "text", value: "text" }, + enableFilterSearch: true, + caseSensitiveSearch: true, + enableIncrementalSearch: true, + enablePopupResize: true, + delimiterChar: ";", + multiSelectMode: ej.MultiSelectMode.Delimiter, + maxPopupHeight: "300px", + minPopupHeight: "150px", + maxPopupWidth: "500px", + minPopupWidth: "350px", + showCheckbox: true, + showRoundedCorner: true + }); + }); + +} + + + + + + +module ExplorerComponent { + $(function () { + var file = new ej.FileExplorer($("#fileExplorer"), { + path: (window).baseurl + "Content/FileBrowser/", + width: "100%", + minWidth: "150px", + layout: "tile", + isResponsive: true, + ajaxAction: (window).baseurl + "api/FileExplorer/FileOperations" + }); + }); +} + + + + +module GanttComponent { + $(function () { + var ganttInstance = new ej.Gantt($("#GanttContainer"), { + dataSource: (window).projectData, + allowColumnResize: true, + allowSorting: true, + allowSelection: true, + enableContextMenu: true, + taskIdMapping: "taskID", + allowDragAndDrop: true, + taskNameMapping: "taskName", + startDateMapping: "startDate", + showColumnChooser: true, + showColumnOptions: true, + progressMapping: "progress", + durationMapping: "duration", + endDateMapping: "endDate", + childMapping: "subtasks", + scheduleStartDate: "02/01/2014", + scheduleEndDate: "04/09/2014", + //Resources mapping + resourceInfoMapping: "resourceId", + resourceNameMapping: "resourceName", + resourceIdMapping: "resourceId", + resources: (window).projectResources, + predecessorMapping: "predecessor", + showResourceNames: true, + toolbarSettings: { + showToolbar: true, + toolbarItems: ["add","edit","delete","update","cancel","indent","outdent","expandAll","collapseAll","search"] + }, + editSettings: { + allowEditing: true, + allowAdding: true, + allowDeleting: true, + allowIndent: true, + editMode: "cellEditing" + }, + sizeSettings: { + width: "100%", + height: "100%" + }, + dragTooltip: { showTooltip: true }, + showGridCellTooltip: true, + treeColumnIndex: 1, + isResponsive: true, + }); +}); +} + + + +module GridComponent { + $(function () { + var gridInstance = new ej.Grid($("#Grid"), { + dataSource: (window).gridData, + allowGrouping: true, + allowSorting: true, + allowMultiSorting: true, + enableAltRow: true, + allowPaging: true, + allowReordering: true, + allowResizing: true, + allowFiltering: true, + allowScrolling: true, + enableRowHover: true, + selectionType: "multiple", + selectionSettings: { enableToggle: true, selectionMode: ["row", "cell", "column"] }, + allowKeyboardNavigation: true, + editSettings: { allowEditing: true, allowAdding: true, allowDeleting: true, allowEditOnDblClick: true, showDeleteConfirmDialog: true }, + toolbarSettings: { showToolbar: true, toolbarItems: ["add", "edit", "delete", "update", "cancel", "search"] }, + columns: [ + { field: "OrderID", headerText: "Order ID", isPrimaryKey: true, width: 75, textAlign: ej.TextAlign.Right }, + { field: "CustomerID", headerText: "Customer ID", editType: ej.Grid.EditingType.String, width: 80 }, + { field: "EmployeeID", headerText: "Employee ID", width: 75, editType: ej.Grid.EditingType.Dropdown, textAlign: ej.TextAlign.Right, priority: 4 }, + { field: "Freight", width: 75, format: "{0:C}", editType: ej.Grid.EditingType.Numeric, textAlign: ej.TextAlign.Right, priority: 3 }, + { field: "OrderDate", headerText: "Order Date", width: 80, format: "{0:MM/dd/yyyy}", textAlign: ej.TextAlign.Right, priority: 2 }, + { field: "ShipCity", headerText: "Ship City", editType: ej.Grid.EditingType.Dropdown, width: 110, priority: 2 } + ], + isResponsive: true, + minWidth: 700, + showSummary: true, + summaryRows: [{ title: "Sum", summaryColumns: [{ summaryType: ej.Grid.SummaryType.Sum, displayColumn: "Freight", dataMember: "Freight", format: "{0:C2}" }] }] + }); + }); +} + + + +var columns = ["Vegie-spread", "Tofuaa", "Alice Mutton", "Konbu", "Fltemysost"] +var itemSource: any[] = []; +for (var i = 0; i < columns.length; i++) { + for (var j = 0; j < 6; j++) { + var value = Math.floor((Math.random() * 100) + 1); + itemSource.push({ ProductName: columns[i], Year: "Y" + (2011 + j), Value: value }) + } +} + +$(function () { + var heatmap = new ej.datavisualization.HeatMap($("#heatmap"), { + colorMappingCollection: [ + { value: 0, color: "#8ec8f8", label: { text: "0" } }, + { value: 100, color: "#0d47a1", label: { text: "100" } } + ], + isResponsive: true, + itemsSource: itemSource, + width: "100%", + itemsMapping: { + column: { propertyName: "ProductName", displayName: "Product Name" }, + row: { propertyName: "Year", displayName: "Year" }, + value: { propertyName: "Value" }, + columnMapping: [ + { "propertyName": columns[0], "displayName": columns[0] }, + { "propertyName": columns[1], "displayName": columns[1] }, + { "propertyName": columns[2], "displayName": columns[2] }, + { "propertyName": columns[3], "displayName": columns[3] }, + { "propertyName": columns[4], "displayName": columns[4] }, + { "propertyName": columns[5], "displayName": columns[5] } + ], + headerMapping: { propertyName: "Year", displayName: "Year", columnStyle: { width: 105, textAlign: "right" } }, + }, + legendCollection: ["heatmap_legend"] + }); + var heatmaplegend = new ej.datavisualization.HeatMapLegend($("#heatmap_legend"), { + colorMappingCollection: [ + { value: 0, color: "#8ec8f8", label: { text: "0" } }, + { value: 100, color: "#0d47a1", label: { text: "100" } } + ], + height: "50px", + width: "75%", + isResponsive: true + }); +}); + + + + +declare var window:myWindow; +export interface myWindow extends Window{ +kanbanData:any; +} +module KanbanComponent { + $(function () { + var sample = new ej.Kanban($("#Kanban"), { + dataSource: new ej.DataManager(window["kanbanData"]).executeLocal(new ej.Query().take(20)), + columns: [ + { headerText: "Backlog", key: "Open" }, + { headerText: "In Progress", key: "InProgress" }, + { headerText: "Testing", key: "Testing" }, + { headerText: "Done", key: "Close" } + ], + keyField: "Status", + allowTitle: true, + fields: { + content: "Summary", + primaryKey: "Id", + imageUrl: "ImgUrl" + }, + allowSelection: false + }); + }); +} + + + + +module lineargaugecomponent { + $(function () { + var linearsample = new ej.datavisualization.LinearGauge($("#LinearGauge"), { + labelColor: "#8c8c8c", width: 500, + isResponsive: true, enableAnimation: false, + scales: [{ + width: 4, border: { color: "transparent", width: 0 }, showBarPointers: false, showRanges: true, length: 310, + position: { x: 52, y: 50 }, markerPointers: [{ + value: 50, length: 10, width: 10, backgroundColor: "#4D4D4D", border: { color: "#4D4D4D" } + }], + labels: [{ font: { size: "11px", fontFamily: "Segoe UI", fontStyle: "bold" }, distanceFromScale: { x: -13 } }], + ticks: [{ type: "majorinterval", width: 1, color: "#8c8c8c" }], + ranges: [{ + endValue: 60, + startValue: 0, + backgroundColor: "#F6B53F", + border: { color: "#F6B53F" }, startWidth: 4, endWidth: 4 + }, { + endValue: 100, + startValue: 60, + backgroundColor: "#E94649", + border: { color: "#E94649" }, startWidth: 4, endWidth: 4 + }] + }] + }); + }); +} + + + + + +module ListBoxComponent { + $(function () { + var listboxInstance = new ej.ListBox($("#selectcar"), { + showCheckbox: true + }); + }); +} + + + +module ListviewComponent { + $(function () { + var listviewInstance = new ej.ListView($("#defaultlistview"), { + enableCheckMark: true, + width: 400 + }); + }); +} + + +var world_map= + { + "type": "FeatureCollection", + "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, + "features": [ + { "type": "Feature", "properties": { "admin": "Afghanistan", "name": "Afghanistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[61.21081709172573, 35.650072333309218], [62.230651483005879, 35.270663967422287], [62.984662306576588, 35.404040839167614], [63.193538445900337, 35.857165635718907], [63.982895949158696, 36.007957465146596], [64.546479119733888, 36.31207326918426], [64.746105177677393, 37.111817735333297], [65.588947788357828, 37.305216783185628], [65.745630731066811, 37.661164048812061], [66.217384881459324, 37.393790188133913], [66.518606805288655, 37.362784328758785], [67.075782098259609, 37.35614390720928], [67.829999627559502, 37.144994004864678], [68.135562371701369, 37.023115139304302], [68.859445835245921, 37.344335842430588], [69.196272820924364, 37.15114350030742], [69.518785434857946, 37.608996690413413], [70.116578403610319, 37.588222764632086], [70.270574171840124, 37.73516469985401], [70.376304152309274, 38.138395901027515], [70.806820509732873, 38.486281643216408], [71.348131137990251, 38.258905341132156], [71.239403924448155, 37.953265082341879], [71.541917759084768, 37.905774441065631], [71.448693475230229, 37.065644843080513], [71.84463829945058, 36.738171291646914], [72.193040805962383, 36.94828766534566], [72.636889682917271, 37.047558091778349], [73.260055779924983, 37.495256862938994], [73.948695916646486, 37.421566270490786], [74.980002475895404, 37.419990139305888], [75.158027785140902, 37.13303091078911], [74.575892775372964, 37.02084137628345], [74.067551710917812, 36.836175645488446], [72.920024855444453, 36.720007025696312], [71.846291945283909, 36.509942328429851], [71.262348260385735, 36.074387518857797], [71.498767938121077, 35.650563259415996], [71.613076206350698, 35.153203436822857], [71.115018751921625, 34.733125718722228], [71.156773309213449, 34.348911444632144], [70.881803012988385, 33.988855902638512], [69.93054324735958, 34.020120144175102], [70.323594191371583, 33.358532619758385], [69.687147251264847, 33.105498969041228], [69.262522007122541, 32.501944078088293], [69.317764113242546, 31.901412258424436], [68.926676873657655, 31.620189113892064], [68.556932000609308, 31.713310044882011], [67.792689243444769, 31.582930406209623], [67.683393589147457, 31.303154201781414], [66.938891229118454, 31.304911200479346], [66.38145755398601, 30.738899237586448], [66.346472609324408, 29.88794342703617], [65.046862013616092, 29.472180691031902], [64.350418735618504, 29.560030625928089], [64.148002150331237, 29.340819200145965], [63.550260858011164, 29.468330796826162], [62.549856805272775, 29.318572496044304], [60.874248488208778, 29.829238999952604], [61.78122155136343, 30.735850328081231], [61.699314406180811, 31.379506130492661], [60.941944614511115, 31.548074652628745], [60.863654819588952, 32.182919623334421], [60.536077915290761, 32.981268825811561], [60.963700392505991, 33.528832302376252], [60.528429803311575, 33.676446031217999], [60.80319339380744, 34.404101874319856], [61.21081709172573, 35.650072333309218]]] } }, + { "type": "Feature", "properties": { "admin": "Angola", "name": "Angola", "continent": "Africa" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[16.326528354567042, -5.877470391466217], [16.573179965896141, -6.622644545115092], [16.860190870845226, -7.222297865429978], [17.089995965247166, -7.545688978712474], [17.472970004962288, -8.068551120641656], [18.134221632569048, -7.987677504104865], [18.464175652752683, -7.847014255406475], [19.016751743249664, -7.988245944860138], [19.166613396896079, -7.738183688999724], [19.417502475673214, -7.155428562044277], [20.037723016040214, -7.116361179231658], [20.091621534920616, -6.943090101756949], [20.60182295093832, -6.939317722199688], [20.514748162526526, -7.299605808138663], [21.728110792739752, -7.290872491081315], [21.74645592620336, -7.920084730667113], [21.949130893652033, -8.305900974158304], [21.80180138518795, -8.908706556842985], [21.875181919042397, -9.523707777548564], [22.208753289486417, -9.894796237836529], [22.155268182064326, -11.084801120653777], [22.402798292742428, -10.99307545333569], [22.837345411884762, -11.017621758674334], [23.456790805767461, -10.867863457892481], [23.912215203555743, -10.926826267137541], [24.017893507592614, -11.237298272347115], [23.904153680118235, -11.722281589406332], [24.079905226342895, -12.191296888887305], [23.930922072045373, -12.565847670138821], [24.0161365088947, -12.91104623784855], [21.933886346125941, -12.898437188369353], [21.887842644953871, -16.080310153876891], [22.562478468524283, -16.898451429921831], [23.215048455506086, -17.523116143465952], [21.377176141045592, -17.930636488519706], [18.956186964603628, -17.789094740472233], [18.263309360434217, -17.309950860262003], [14.209706658595049, -17.353100681225708], [14.058501417709035, -17.423380629142653], [13.462362094789963, -16.971211846588741], [12.814081251688405, -16.941342868724075], [12.21546146001938, -17.111668389558059], [11.734198846085146, -17.301889336824498], [11.640096062881609, -16.673142185129205], [11.778537224991563, -15.793816013250687], [12.123580763404444, -14.878316338767927], [12.175618930722264, -14.449143568583889], [12.500095249083014, -13.547699883684398], [12.738478631245439, -13.137905775609934], [13.312913852601834, -12.483630466362511], [13.633721144269824, -12.038644707897189], [13.738727654686924, -11.297863050993142], [13.686379428775293, -10.73107594161584], [13.38732791510216, -10.373578383020726], [13.120987583069873, -9.766897067914112], [12.875369500386567, -9.166933689005488], [12.929061313537797, -8.959091078327573], [13.23643273280987, -8.56262948978434], [12.933040398824314, -7.596538588087752], [12.728298374083916, -6.927122084178803], [12.227347039446441, -6.294447523629372], [12.322431674863562, -6.100092461779651], [12.735171339578695, -5.965682061388476], [13.024869419006988, -5.984388929878106], [13.375597364971892, -5.864241224799555], [16.326528354567042, -5.877470391466217]]], [[[12.436688266660919, -5.684303887559223], [12.182336866920277, -5.789930515163801], [11.914963006242115, -5.037986748884733], [12.318607618873923, -4.606230157086158], [12.620759718484548, -4.438023369976121], [12.995517205465202, -4.781103203961918], [12.631611769265842, -4.991271254092935], [12.468004184629759, -5.248361504744991], [12.436688266660919, -5.684303887559223]]]] } }, + { "type": "Feature", "properties": { "admin": "Albania", "name": "Albania", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[20.590247430104906, 41.855404161133592], [20.463175083099195, 41.515089016275333], [20.605181919037356, 41.086226304685219], [21.020040317476397, 40.842726955725873], [20.99998986174722, 40.580003973953964], [20.67499677906363, 40.43499990494302], [20.61500044117275, 40.110006822259365], [20.150015903410516, 39.624997666983965], [19.980000441170144, 39.694993394523401], [19.9600016618732, 39.915005805006039], [19.40608198413673, 40.250773423822459], [19.319058872157139, 40.727230129553554], [19.403549838954287, 41.409565741535445], [19.540027296637099, 41.71998607031275], [19.371768833094958, 41.87754751237064], [19.304486118250786, 42.195745144207812], [19.738051385179627, 42.688247382165564], [19.801613396898681, 42.500093492190835], [20.0707, 42.58863], [20.28375451018189, 42.320259507815074], [20.52295, 42.21787], [20.590247430104906, 41.855404161133592]]] } }, + { "type": "Feature", "properties": { "admin": "United Arab Emirates", "name": "United Arab Emirates", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[51.579518670463258, 24.245497137951102], [51.757440626844172, 24.294072984305462], [51.794389275932865, 24.019826158132499], [52.577080519425593, 24.177439276622703], [53.404006788960139, 24.151316840099167], [54.008000929587574, 24.121757920828212], [54.693023716048614, 24.797892360935084], [55.439024692614126, 25.439145209244934], [56.070820753814544, 26.055464178973978], [56.261041701080948, 25.714606431576762], [56.396847365143991, 24.924732163995483], [55.886232537667993, 24.92083059335744], [55.804118686756212, 24.269604193615258], [55.981213820220454, 24.130542914317822], [55.528631626208231, 23.933604030853498], [55.525841098864461, 23.524869289640929], [55.234489373602869, 23.110992743415316], [55.208341098863187, 22.708329982997039], [55.006803012924898, 22.496947536707129], [52.000733270074321, 23.001154486578937], [51.617707553926969, 24.014219265228824], [51.579518670463258, 24.245497137951102]]] } }, + { "type": "Feature", "properties": { "admin": "Argentina", "name": "Argentina", "continent": "South America" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-65.5, -55.2], [-66.45, -55.25], [-66.95992, -54.89681], [-67.56244, -54.87001], [-68.63335, -54.8695], [-68.634010227583147, -52.636370458874453], [-68.25, -53.1], [-67.75, -53.85], [-66.45, -54.45], [-65.05, -54.7], [-65.5, -55.2]]], [[[-64.964892137294569, -22.075861504812348], [-64.377021043542257, -22.79809132252354], [-63.986838141522462, -21.993644301035953], [-62.84646847192154, -22.034985446869452], [-62.685057135657885, -22.249029229422401], [-60.846564704009928, -23.880712579038299], [-60.028966030503973, -24.032796319273238], [-58.807128465394939, -24.771459242453268], [-57.777217169817952, -25.162339776309032], [-57.633660040911124, -25.603656508081666], [-58.618173590719707, -27.123718763947117], [-57.609759690976134, -27.395898532828419], [-56.486701626192989, -27.548499037386243], [-55.695845506398186, -27.387837009390815], [-54.788794928595038, -26.621785577096087], [-54.625290696823541, -25.739255466415479], [-54.130049607954412, -25.547639255477243], [-53.628348965048716, -26.12486500417743], [-53.648735317587885, -26.923472588816104], [-54.490725267135517, -27.474756768505767], [-55.162286342984586, -27.881915378533414], [-56.290899624239088, -28.852760512000849], [-57.62513342958291, -30.21629485445424], [-57.874937303281897, -31.016556084926158], [-58.14244035504074, -32.044503676076182], [-58.132647671121404, -33.040566908502008], [-58.349611172098818, -33.263188978815428], [-58.427074144104367, -33.909454441057541], [-58.495442064026541, -34.4314897600701], [-57.225829637263629, -35.288026625307886], [-57.362358771378737, -35.977390232081497], [-56.737487352105447, -36.413125909166574], [-56.788285285048339, -36.901571547189327], [-57.749156867083421, -38.183870538079901], [-59.231857062401865, -38.720220228837199], [-61.2374452378656, -38.92842457454114], [-62.335956997310134, -38.827707208004362], [-62.125763108962914, -39.424104913084868], [-62.33053097191943, -40.172586358400316], [-62.145994432205228, -40.676896661136723], [-62.74580278181697, -41.028761488612083], [-63.770494757732514, -41.166789239263657], [-64.732089809819698, -40.802677097335128], [-65.118035244391578, -41.064314874028874], [-64.97856055363583, -42.058000990569312], [-64.303407965742466, -42.359016208669495], [-63.755947842042339, -42.043686618824495], [-63.458059048095883, -42.563138116222355], [-64.378803880456289, -42.873558444999638], [-65.181803961839691, -43.495380954767782], [-65.328823411710133, -44.501366062193689], [-65.565268927661592, -45.03678557716978], [-66.509965786389344, -45.039627780945843], [-67.293793911392427, -45.551896254255183], [-67.580546434180079, -46.301772963242527], [-66.597066413017259, -47.033924655953804], [-65.641026577401433, -47.23613453551188], [-65.98508826360073, -48.133289076531128], [-67.166178961847649, -48.697337334996931], [-67.816087612566449, -49.869668877970412], [-68.728745083273154, -50.26421843851886], [-69.138539191347789, -50.732510267947788], [-68.815561489523517, -51.771104011594097], [-68.149994879820397, -52.349983406127699], [-68.571545376241332, -52.299443855346247], [-69.498362189396076, -52.142760912637236], [-71.914803839796321, -52.009022305865912], [-72.329403856074023, -51.425956312872394], [-72.309973517532342, -50.677009779666342], [-72.975746832964617, -50.741450290734299], [-73.328050910114456, -50.378785088909865], [-73.415435757120022, -49.318436374712952], [-72.648247443314929, -48.878618259476774], [-72.331160854771937, -48.244238376661819], [-72.44735531278026, -47.738532810253517], [-71.917258470330196, -46.884838148791786], [-71.552009446891233, -45.560732924177117], [-71.659315558545316, -44.973688653341434], [-71.222778896759721, -44.784242852559409], [-71.329800788036195, -44.407521661151677], [-71.793622606071935, -44.207172133156099], [-71.464056159130493, -43.787611179378324], [-71.915423956983901, -43.408564548517404], [-72.148898078078517, -42.254888197601375], [-71.746803758415453, -42.051386407235988], [-71.915734015577542, -40.832339369470716], [-71.680761277946445, -39.808164157878061], [-71.413516608349042, -38.916022230791107], [-70.814664272734703, -38.552995293940732], [-71.118625047475419, -37.576827487947192], [-71.121880662709771, -36.65812387466233], [-70.364769253201658, -36.005088799789931], [-70.388049485949082, -35.169687595359441], [-69.817309129501453, -34.193571465798279], [-69.814776984319209, -33.273886000299839], [-70.074399380153622, -33.09120981214803], [-70.535068935819439, -31.365010267870279], [-69.919008348251921, -30.336339206668306], [-70.013550381129861, -29.367922865518544], [-69.656130337183143, -28.459141127233686], [-69.001234910748266, -27.521213881136127], [-68.295541551370391, -26.899339694935787], [-68.594799770772667, -26.50690886811126], [-68.386001146097342, -26.185016371365229], [-68.417652960876111, -24.518554782816874], [-67.328442959244128, -24.025303236590908], [-66.985233934177629, -22.986348565362825], [-67.106673550063604, -22.735924574476392], [-66.273339402924833, -21.832310479420677], [-64.964892137294569, -22.075861504812348]]]] } }, + { "type": "Feature", "properties": { "admin": "Armenia", "name": "Armenia", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[43.582745802592726, 41.09214325618256], [44.972480096218071, 41.248128567055588], [45.179495883979335, 40.985353908851401], [45.560351189970433, 40.812289537105919], [45.359174839058156, 40.561503811193447], [45.891907179555076, 40.218475653639992], [45.610012241402913, 39.899993801425175], [46.034534132680662, 39.628020738273058], [46.483498976432443, 39.464154771475528], [46.505719842317966, 38.770605373686287], [46.143623081248812, 38.74120148371221], [45.735379266143006, 39.319719143219736], [45.739978468616975, 39.473999131827114], [45.298144972521456, 39.471751207022422], [45.00198733905674, 39.740003567049548], [44.793989699081934, 39.713002631177041], [44.400008579288695, 40.005000311842267], [43.656436395040934, 40.253563951166178], [43.752657911968399, 40.740200914058754], [43.582745802592726, 41.09214325618256]]] } }, + { "type": "Feature", "properties": { "admin": "French Southern and Antarctic Lands", "name": "Fr. S. Antarctic Lands", "continent": "Seven seas (open ocean)" }, "geometry": { "type": "Polygon", "coordinates": [[[68.935, -48.625], [69.58, -48.94], [70.525, -49.065], [70.56, -49.255], [70.28, -49.71], [68.745, -49.775], [68.72, -49.2425], [68.8675, -48.83], [68.935, -48.625]]] } }, + { "type": "Feature", "properties": { "admin": "Australia", "name": "Australia", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[145.397978143494782, -40.792548516605883], [146.364120721623692, -41.137695407883335], [146.908583612250823, -41.000546156580668], [147.689259474884125, -40.808258152022681], [148.289067824495987, -40.875437514002122], [148.359864536735785, -42.062445163746439], [148.017301467073082, -42.40702361426861], [147.914051955353784, -43.211522312188485], [147.564564243763982, -42.937688897473855], [146.87034305235494, -43.634597263362082], [146.663327264593647, -43.580853773778543], [146.048377720320389, -43.54974456153888], [145.431929559510536, -42.693776137056268], [145.295090366801674, -42.03360971452755], [144.7180713238306, -41.162551771815707], [144.743754510679622, -40.703975111657705], [145.397978143494782, -40.792548516605883]]], [[[143.561811151299935, -13.763655694232209], [143.922099237238882, -14.548310642152], [144.563713820574804, -14.171176039285879], [144.894908075133515, -14.594457696188622], [145.374723748963419, -14.984976495018284], [145.271991001567244, -15.428205254785691], [145.48525963763575, -16.285672295804769], [145.637033319276952, -16.784918308176611], [145.888904250267672, -16.906926364817647], [146.160308872664473, -17.76165455492524], [146.063673944278662, -18.280072523677315], [146.387478469019584, -18.958274021075905], [147.471081577747896, -19.480722751546676], [148.177601760042478, -19.955939222902767], [148.848413527623222, -20.391209812097252], [148.717465448195583, -20.633468926681513], [149.289420200802056, -21.260510756111096], [149.678337030230637, -22.342511895438388], [150.07738244038859, -22.122783705333315], [150.482939081015161, -22.556142266533012], [150.727265252891158, -22.402404880464655], [150.899554478152254, -23.462236830338679], [151.609175246384211, -24.076256198830755], [152.07353966695905, -24.45788665130619], [152.855197381805908, -25.267501316023008], [153.136162144176751, -26.071173191026187], [153.161948683890358, -26.641319268502439], [153.09290897034856, -27.260299574494503], [153.569469028944184, -28.110066827102099], [153.512108189100218, -28.995077406532751], [153.339095493787056, -29.458201592732443], [153.069241164358857, -30.350240166954809], [153.089601678681788, -30.923641859665445], [152.891577590139377, -31.640445651985949], [152.450002476205327, -32.550002536755237], [151.709117466436766, -33.041342054986337], [151.343971795862387, -33.816023451473846], [151.010555454715103, -34.310360202777879], [150.714139439089024, -35.173459974916803], [150.328219842733233, -35.671879164371923], [150.075212030232251, -36.420205580390508], [149.946124302367139, -37.109052422841224], [149.997283970336127, -37.425260512035123], [149.423882277625523, -37.772681166333463], [148.304622430615893, -37.809061374666875], [147.38173302631526, -38.219217217767543], [146.922122837511324, -38.606532077795116], [146.317921991154776, -39.035756524411433], [145.489652134380549, -38.593767999019043], [144.876976353128157, -38.41744801203911], [145.032212355732952, -37.896187839510972], [144.485682407814011, -38.085323581699257], [143.609973586196077, -38.809465427405321], [142.745426873952965, -38.538267510737519], [142.17832970598198, -38.380034275059835], [141.606581659104677, -38.308514092767872], [140.638578729413211, -38.019332777662541], [139.992158237874321, -37.402936293285094], [139.806588169514043, -36.643602797188272], [139.574147577065219, -36.138362318670666], [139.082808058834075, -35.732754001611774], [138.120747918856296, -35.612296237939397], [138.449461704664998, -35.127261244447887], [138.207564325106659, -34.384722588845925], [137.719170363516128, -35.07682504653102], [136.829405552314711, -35.260534763328614], [137.352371047108477, -34.707338555644093], [137.503886346588331, -34.130267836240769], [137.890116001537649, -33.640478610978327], [137.810327590079112, -32.900007012668105], [136.996837192940347, -33.752771498348629], [136.372069126531642, -34.094766127256186], [135.98904341038434, -34.89011809666048], [135.208212518454104, -34.478670342752601], [135.239218377829161, -33.947953383114971], [134.613416782774607, -33.222778008763136], [134.085903761939107, -32.848072198214759], [134.273902622617015, -32.617233575166949], [132.990776808809812, -32.011224053680188], [132.288080682504869, -31.982646986622761], [131.326330601120901, -31.495803318001041], [129.535793898639668, -31.590422865527476], [128.240937534702198, -31.948488864877849], [127.102867466338282, -32.282266941051041], [126.148713820501129, -32.2159660784206], [125.088623488465586, -32.728751316052829], [124.22164798390493, -32.959486586236061], [124.028946567888511, -33.483847344701708], [123.65966678273071, -33.890179131812722], [122.811036411633609, -33.914467054989835], [122.18306440642283, -34.003402194964217], [121.299190708502579, -33.821036065406126], [120.580268182458113, -33.930176690406618], [119.893695103028222, -33.976065362281808], [119.298899367348781, -34.50936614353396], [119.007340936357977, -34.464149265278529], [118.505717808100769, -34.746819349915093], [118.024971958489516, -35.064732761374707], [117.295507440257438, -35.025458672832862], [116.62510908413492, -35.025096937806829], [115.564346958479689, -34.386427911111547], [115.026808709779516, -34.196517022438918], [115.048616164206763, -33.623425388322026], [115.545123325667078, -33.487257989232951], [115.714673700016661, -33.259571628554944], [115.679378696761376, -32.900368747694124], [115.801645135563959, -32.205062351207026], [115.689610630355105, -31.612437025683782], [115.160909051576937, -30.601594333622455], [114.99704308477942, -30.030724786094162], [115.040037876446249, -29.461095472940794], [114.64197431850198, -28.810230808224706], [114.61649783738217, -28.516398614213042], [114.173579136208446, -28.118076674107321], [114.048883905088132, -27.33476531342712], [113.477497593236876, -26.543134047147898], [113.338953078262477, -26.116545098578477], [113.77835778204026, -26.549025160429174], [113.440962355606587, -25.621278171493152], [113.936901076311642, -25.911234633082877], [114.232852004047288, -26.298446140245868], [114.216160516417006, -25.786281019801105], [113.721255324357685, -24.998938897402123], [113.625343866024025, -24.683971042583146], [113.393523390762667, -24.384764499613262], [113.502043898575607, -23.80635019297025], [113.706992629045146, -23.56021534596406], [113.843418410295669, -23.059987481378734], [113.736551548316072, -22.475475355725372], [114.149756300921865, -21.755881036061009], [114.225307244932651, -22.51748829517863], [114.64776207891866, -21.829519952076904], [115.460167270979298, -21.495173435148541], [115.94737267462699, -21.068687839443708], [116.711615431791529, -20.701681817306817], [117.166316359527684, -20.623598728113802], [117.441545037914238, -20.746898695562162], [118.229558953932951, -20.374208265873232], [118.836085239742701, -20.263310642174822], [118.987807244951753, -20.044202569257319], [119.252493931150624, -19.952941989829835], [119.805225050944543, -19.976506442954978], [120.856220330896633, -19.683707777589188], [121.399856398607199, -19.239755547769729], [121.655137974129062, -18.70531788500713], [122.241665480641757, -18.197648614171765], [122.286623976735655, -17.798603204013911], [122.312772251475408, -17.254967136303446], [123.012574497571904, -16.405199883695854], [123.433789097183009, -17.268558037996225], [123.859344517106592, -17.069035332917249], [123.503242222183232, -16.596506036040363], [123.817073195491915, -16.11131601325199], [124.258286574399847, -16.32794361741956], [124.379726190285794, -15.567059828353973], [124.926152785340022, -15.07510019293532], [125.167275018413875, -14.680395603090004], [125.670086704613823, -14.510070082256018], [125.685796340030493, -14.230655612853834], [126.125149367376096, -14.347340996968949], [126.142822707219864, -14.095986830301211], [126.582589146023736, -13.95279143642041], [127.065867140817332, -13.817967624570922], [127.804633416861932, -14.276906019755042], [128.359689976108939, -14.869169610252253], [128.985543247595899, -14.875990899314738], [129.621473423379598, -14.969783623924553], [129.409600050982988, -14.420669854391031], [129.888640578328591, -13.618703301653481], [130.339465773642928, -13.357375583553473], [130.183506300985982, -13.107520033422301], [130.617795037966971, -12.536392103732464], [131.223494500859999, -12.183648776908113], [131.73509118054946, -12.302452894747159], [132.575298293183096, -12.114040622611013], [132.557211541881031, -11.603012383676683], [131.824698114143644, -11.273781833545097], [132.357223748911395, -11.128519382372641], [133.019560581596409, -11.376411228076844], [133.550845981989028, -11.786515394745134], [134.393068475481982, -12.042365411022173], [134.678632440327021, -11.9411829565947], [135.298491245667975, -12.248606052299051], [135.882693312727611, -11.962266940969796], [136.258380975489445, -12.049341729381606], [136.492475213771627, -11.857208754120389], [136.951620314684988, -12.351958916882735], [136.685124953355739, -12.887223402562054], [136.305406528875096, -13.291229750219895], [135.961758254134111, -13.324509372615889], [136.077616815332533, -13.72427825282578], [135.783836297753226, -14.223989353088211], [135.4286641786112, -14.715432224183896], [135.500184360903177, -14.997740573794427], [136.295174595281367, -15.550264987859121], [137.065360142159477, -15.870762220933353], [137.580470819244795, -16.215082289294084], [138.303217401278971, -16.807604261952658], [138.58516401586337, -16.806622409739173], [139.108542922115475, -17.062679131745366], [139.260574985918197, -17.371600843986183], [140.215245396078274, -17.710804945550063], [140.875463495039241, -17.36906869880394], [141.071110467696258, -16.832047214426719], [141.274095493738798, -16.388870131091604], [141.398222284103781, -15.840531508042584], [141.702183058844611, -15.044921156476928], [141.563380161708665, -14.561333103089506], [141.635520461188094, -14.270394789286284], [141.519868605718955, -13.698078301653805], [141.650920038011009, -12.944687595270562], [141.842691278246207, -12.741547539931187], [141.68699018775078, -12.407614434461134], [141.928629185147543, -11.877465915578778], [142.118488397387978, -11.328042087451619], [142.14370649634634, -11.04273650476814], [142.51526004452495, -10.668185723516642], [142.797310011974048, -11.157354831591515], [142.866763136974271, -11.784706719614929], [143.11594689348567, -11.90562957117791], [143.158631626558758, -12.325655612846187], [143.522123651299864, -12.834358412327429], [143.597157830987669, -13.400422051652594], [143.561811151299935, -13.763655694232209]]]] } }, + { "type": "Feature", "properties": { "admin": "Austria", "name": "Austria", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[16.979666782304033, 48.123497015976298], [16.903754103267257, 47.714865627628321], [16.340584344150411, 47.712901923201215], [16.534267612380372, 47.496170966169103], [16.202298211337361, 46.852385972676949], [16.011663852612653, 46.683610744811688], [15.137091912504982, 46.658702704447016], [14.632471551174827, 46.431817328469535], [13.806475457421524, 46.509306138691201], [12.376485223040813, 46.767559109069843], [12.153088006243051, 47.115393174826437], [11.164827915093268, 46.941579494812721], [11.048555942436533, 46.751358547546324], [10.442701450246627, 46.893546250997424], [9.932448357796657, 46.920728054382948], [9.479969516649019, 47.102809963563367], [9.632931756232974, 47.347601223329974], [9.594226108446346, 47.525058091820256], [9.896068149463188, 47.58019684507569], [10.402083774465209, 47.302487697939156], [10.544504021861625, 47.566399237653762], [11.426414015354736, 47.523766181012967], [12.141357456112784, 47.703083401065761], [12.620759718484491, 47.672387600284395], [12.932626987365945, 47.467645575543983], [13.025851271220487, 47.637583523135824], [12.884102817443901, 48.289145819687903], [13.243357374736998, 48.41611481382904], [13.595945672264433, 48.877171942737135], [14.33889773932472, 48.555305284207193], [14.901447381254055, 48.964401760445817], [15.253415561593979, 49.039074205107575], [16.029647251050218, 48.733899034207916], [16.49928266771877, 48.785808010445095], [16.960288120194573, 48.596982326850593], [16.879982944412998, 48.470013332709463], [16.979666782304033, 48.123497015976298]]] } }, + { "type": "Feature", "properties": { "admin": "Azerbaijan", "name": "Azerbaijan", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[45.001987339056789, 39.740003567049591], [45.298144972521435, 39.471751207022422], [45.739978468616997, 39.473999131827149], [45.735379266143092, 39.319719143219785], [46.143623081248812, 38.74120148371221], [45.457721795438729, 38.874139105783108], [44.952688022650264, 39.33576467544642], [44.79398969908199, 39.713002631177027], [45.001987339056789, 39.740003567049591]]], [[[47.373315464066216, 41.219732367511249], [47.81566572448471, 41.151416124021338], [47.987283156126033, 41.405819200194223], [48.584352654826283, 41.808869533854669], [49.110263706260653, 41.282286688800518], [49.618914829309588, 40.572924302729966], [50.084829542853093, 40.526157131505776], [50.392821079312704, 40.256561184239096], [49.569202101444795, 40.176100979160701], [49.395259230350419, 39.39948171646224], [49.2232283872507, 39.04921885838791], [48.856532423707584, 38.815486355131775], [48.883249139202533, 38.320245266262638], [48.634375441284831, 38.270377509100925], [48.010744256386502, 38.794014797514528], [48.355529412637928, 39.288764960276886], [48.060095249225256, 39.582235419262439], [47.685079380083117, 39.508363959301185], [46.505719842317966, 38.770605373686251], [46.483498976432443, 39.464154771475528], [46.034534132680697, 39.628020738273044], [45.610012241402913, 39.899993801425175], [45.891907179555133, 40.21847565363997], [45.359174839058156, 40.561503811193482], [45.560351189970469, 40.812289537105947], [45.179495883979392, 40.98535390885143], [44.972480096218156, 41.248128567055623], [45.217426385281634, 41.411451931314041], [45.962600538930438, 41.123872585609789], [46.501637404166978, 41.064444688474104], [46.637908156120567, 41.181672675128219], [46.145431756378983, 41.72280243587263], [46.404950799348818, 41.860675157227341], [46.686070591016652, 41.827137152669899], [47.373315464066216, 41.219732367511249]]]] } }, + { "type": "Feature", "properties": { "admin": "Burundi", "name": "Burundi", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[29.339997592900342, -4.499983412294092], [29.276383904749046, -3.293907159034063], [29.02492638521678, -2.839257907730157], [29.632176141078585, -2.917857761246096], [29.938359002407935, -2.348486830254238], [30.469696079232978, -2.413857517103458], [30.527677036264457, -2.807631931167534], [30.743012729624692, -3.034284763199686], [30.752262811004943, -3.359329522315569], [30.505559523243559, -3.568567396665364], [30.116332635221166, -4.090137627787242], [29.753512404099919, -4.45238941815328], [29.339997592900342, -4.499983412294092]]] } }, + { "type": "Feature", "properties": { "admin": "Belgium", "name": "Belgium", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[3.314971144228536, 51.345780951536071], [4.047071160507527, 51.267258612668556], [4.973991326526913, 51.475023708698124], [5.60697594567, 51.037298488969768], [6.156658155958779, 50.803721015010574], [6.043073357781109, 50.128051662794221], [5.782417433300905, 50.090327867221205], [5.674051954784828, 49.52948354755749], [4.799221632515809, 49.985373033236371], [4.286022983425084, 49.90749664977254], [3.588184441755685, 50.378992418003563], [3.123251580425801, 50.780363267614561], [2.658422071960274, 50.796848049515731], [2.513573032246142, 51.148506171261815], [3.314971144228536, 51.345780951536071]]] } }, + { "type": "Feature", "properties": { "admin": "Benin", "name": "Benin", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[2.691701694356254, 6.258817246928628], [1.865240512712318, 6.14215770102973], [1.618950636409238, 6.832038072126236], [1.664477573258381, 9.128590399609378], [1.46304284018467, 9.334624335157086], [1.425060662450136, 9.825395412632998], [1.077795037448737, 10.175606594275022], [0.772335646171484, 10.470808213742357], [0.899563022474069, 10.997339382364258], [1.243469679376488, 11.11051076908346], [1.447178175471066, 11.547719224488857], [1.93598554851988, 11.641150214072551], [2.154473504249921, 11.940150051313337], [2.49016360841793, 12.233052069543671], [2.84864301922667, 12.235635891158266], [3.611180454125558, 11.660167141155966], [3.572216424177469, 11.327939357951516], [3.797112257511713, 10.734745591673104], [3.600070021182801, 10.332186184119406], [3.705438266625918, 10.063210354040207], [3.220351596702101, 9.4441525333997], [2.912308383810255, 9.13760793704432], [2.723792758809509, 8.506845404489708], [2.74906253420022, 7.870734361192886], [2.691701694356254, 6.258817246928628]]] } }, + { "type": "Feature", "properties": { "admin": "Burkina Faso", "name": "Burkina Faso", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-2.827496303712706, 9.642460842319775], [-3.511898972986272, 9.900326239456216], [-3.980449184576684, 9.862344061721698], [-4.330246954760383, 9.610834865757139], [-4.779883592131966, 9.821984768101741], [-4.954653286143098, 10.152713934769732], [-5.404341599946973, 10.370736802609144], [-5.470564947929004, 10.951269842976044], [-5.197842576508648, 11.375145778850136], [-5.220941941743119, 11.713858954307224], [-4.427166103523802, 12.542645575404292], [-4.280405035814879, 13.228443508349738], [-4.006390753587225, 13.472485459848112], [-3.52280270019986, 13.337661647998612], [-3.103706834312759, 13.54126679122859], [-2.967694464520576, 13.798150336151506], [-2.191824510090384, 14.246417548067352], [-2.001035122068771, 14.559008287000887], [-1.066363491205663, 14.973815009007764], [-0.515854458000348, 15.116157741755725], [-0.26625729003058, 14.924308986872147], [0.374892205414682, 14.928908189346128], [0.295646396495101, 14.444234930880651], [0.429927605805517, 13.988733018443922], [0.993045688490071, 13.335749620003821], [1.024103224297477, 12.851825669806573], [2.177107781593775, 12.625017808477532], [2.154473504249921, 11.940150051313337], [1.93598554851988, 11.641150214072551], [1.447178175471066, 11.547719224488857], [1.243469679376488, 11.11051076908346], [0.899563022474069, 10.997339382364258], [0.023802524423701, 11.018681748900802], [-0.438701544588582, 11.09834096927872], [-0.761575893548183, 10.936929633015053], [-1.203357713211431, 11.009819240762736], [-2.94040930827046, 10.962690334512557], [-2.963896246747111, 10.395334784380081], [-2.827496303712706, 9.642460842319775]]] } }, + { "type": "Feature", "properties": { "admin": "Bangladesh", "name": "Bangladesh", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[92.672720981825549, 22.041238918541247], [92.652257114637976, 21.324047552978481], [92.30323449093865, 21.475485337809815], [92.368553501355606, 20.670883287025344], [92.082886183646124, 21.192195135985767], [92.025215285208361, 21.701569729086764], [91.834890985077408, 22.182935695885561], [91.417087029997646, 22.765019029221218], [90.496006300827247, 22.805016587815125], [90.586956821660948, 22.392793687422863], [90.272970819055544, 21.836367702720107], [89.847467075564268, 22.039146023033421], [89.70204959509492, 21.857115790285299], [89.41886274613546, 21.966178900637296], [89.031961297566198, 22.055708319582973], [88.876311883503064, 22.879146429937826], [88.529769728553759, 23.631141872649163], [88.699940220090895, 24.233714911388557], [88.084422235062405, 24.501657212821918], [88.30637251175601, 24.866079413344199], [88.931553989623069, 25.238692328384769], [88.209789259802477, 25.768065700782707], [88.56304935094974, 26.446525580342716], [89.355094028687276, 26.014407253518065], [89.832480910199592, 25.965082098895476], [89.920692580121838, 25.269749864192171], [90.872210727912105, 25.13260061288954], [91.799595981822065, 25.14743174895731], [92.376201613334786, 24.976692816664961], [91.915092807994398, 24.130413723237108], [91.467729933643668, 24.072639471934789], [91.158963250699713, 23.503526923104381], [91.706475050832083, 22.985263983649183], [91.869927606171302, 23.62434642180278], [92.146034783906799, 23.62749868417259], [92.672720981825549, 22.041238918541247]]] } }, + { "type": "Feature", "properties": { "admin": "Bulgaria", "name": "Bulgaria", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[22.657149692482985, 44.234923000661276], [22.94483239105184, 43.823785305347123], [23.332302280376322, 43.897010809904707], [24.100679152124169, 43.741051337247846], [25.569271681426923, 43.688444729174712], [26.065158725699739, 43.943493760751259], [27.242399529740904, 44.175986029632398], [27.970107049275068, 43.812468166675202], [28.55808149589199, 43.707461656258118], [28.039095086384712, 43.293171698574177], [27.673897739378042, 42.577892361006214], [27.996720411905383, 42.007358710287775], [27.135739373490473, 42.141484890301335], [26.117041863720793, 41.826904608724554], [26.106138136507205, 41.328898830727766], [25.197201368925441, 41.234485988930523], [24.492644891058031, 41.583896185872028], [23.692073601992345, 41.309080918943842], [22.952377150166445, 41.337993882811141], [22.881373732197424, 41.999297186850242], [22.380525750424585, 42.320259507815081], [22.545011834409614, 42.461362006188025], [22.436594679461273, 42.580321153323929], [22.604801466571324, 42.898518785161137], [22.986018507588479, 43.211161200526959], [22.500156691180276, 43.642814439460977], [22.410446404721593, 44.008063462899948], [22.657149692482985, 44.234923000661276]]] } }, + { "type": "Feature", "properties": { "admin": "The Bahamas", "name": "Bahamas", "continent": "North America" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-77.53466, 23.75975], [-77.78, 23.71], [-78.03405, 24.28615], [-78.40848, 24.57564], [-78.19087, 25.2103], [-77.89, 25.17], [-77.54, 24.34], [-77.53466, 23.75975]]], [[[-77.82, 26.58], [-78.91, 26.42], [-78.98, 26.79], [-78.51, 26.87], [-77.85, 26.84], [-77.82, 26.58]]], [[[-77.0, 26.59], [-77.17255, 25.87918], [-77.35641, 26.00735], [-77.34, 26.53], [-77.78802, 26.92516], [-77.79, 27.04], [-77.0, 26.59]]]] } }, + { "type": "Feature", "properties": { "admin": "Bosnia and Herzegovina", "name": "Bosnia and Herz.", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[19.005486281010118, 44.860233669609144], [19.36803, 44.863], [19.11761, 44.42307], [19.59976, 44.03847], [19.454, 43.568100000000115], [19.21852, 43.52384], [19.03165, 43.43253], [18.70648, 43.20011], [18.56, 42.65], [17.674921502358981, 43.028562527023603], [17.297373488034449, 43.446340643887353], [16.916156447017325, 43.667722479825663], [16.456442905348862, 44.041239732431265], [16.239660271884528, 44.351143296885695], [15.750026075918978, 44.81871165626255], [15.959367303133373, 45.233776760430935], [16.318156772535868, 45.004126695325901], [16.534939406000202, 45.211607570977705], [17.00214603035101, 45.233776760430935], [17.861783481526398, 45.067740383477137], [18.553214145591646, 45.08158966733145], [19.005486281010118, 44.860233669609144]]] } }, + { "type": "Feature", "properties": { "admin": "Belarus", "name": "Belarus", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[23.484127638449841, 53.912497667041123], [24.45068362803703, 53.905702216194747], [25.536353794056989, 54.282423407602515], [25.768432651479792, 54.846962592175082], [26.588279249790386, 55.167175604871659], [26.494331495883749, 55.61510691997762], [27.102459751094525, 55.783313707087672], [28.17670942557799, 56.169129950578807], [29.2295133806603, 55.918344224666356], [29.371571893030669, 55.67009064393617], [29.896294386522353, 55.789463202530406], [30.87390913262, 55.550976467503396], [30.971835971813132, 55.081547756564028], [30.75753380709871, 54.811770941784303], [31.384472283663733, 54.157056382862422], [31.791424187962232, 53.974638576872117], [31.731272820774503, 53.794029446012011], [32.405598585751157, 53.618045355842028], [32.693643019346034, 53.351420803432106], [32.304519484188226, 53.132726141972903], [31.497643670382924, 53.167426866256889], [31.30520063652801, 53.073995876673195], [31.540018344862254, 52.742052313846344], [31.78599816257158, 52.10167796488544], [30.927549269338975, 52.042353420614383], [30.619454380014837, 51.822806098022362], [30.55511722181145, 51.319503485715643], [30.157363722460889, 51.416138414101454], [29.254938185347921, 51.368234361366881], [28.992835320763522, 51.602044379271462], [28.617612745892242, 51.427713934934836], [28.241615024536564, 51.572227077839059], [27.454066196408426, 51.59230337178446], [26.337958611768549, 51.832288723347915], [25.327787713327005, 51.910656032918538], [24.553106316839511, 51.888461005249177], [24.005077752384206, 51.617443956094448], [23.52707075368437, 51.578454087930233], [23.508002150168689, 52.023646552124717], [23.19949384938618, 52.486977444053664], [23.799198846133375, 52.691099351606553], [23.804934930117774, 53.08973135030606], [23.527535841574995, 53.47012156840654], [23.484127638449841, 53.912497667041123]]] } }, + { "type": "Feature", "properties": { "admin": "Belize", "name": "Belize", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-89.143080410503302, 17.808318996649316], [-89.150909389995519, 17.955467637600414], [-89.029857347351808, 18.001511338772485], [-88.848343878926585, 17.883198147040229], [-88.490122850279334, 18.486830552641603], [-88.300031094093669, 18.499982204659897], [-88.296336229184803, 18.353272813383263], [-88.106812913754368, 18.348673610909284], [-88.123478563168476, 18.076674709541003], [-88.285354987322776, 17.644142971258031], [-88.197866787452625, 17.489475409408453], [-88.302640753924422, 17.13169363043566], [-88.239517991879893, 17.036066392479551], [-88.355428229510551, 16.530774237529624], [-88.551824510435821, 16.265467434143144], [-88.732433641295927, 16.233634751851351], [-88.930612759135244, 15.887273464415072], [-89.229121670269265, 15.886937567605166], [-89.15080603713092, 17.015576687075832], [-89.143080410503302, 17.808318996649316]]] } }, + { "type": "Feature", "properties": { "admin": "Bolivia", "name": "Bolivia", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-62.84646847192154, -22.034985446869442], [-63.986838141522462, -21.993644301035946], [-64.377021043542243, -22.798091322523533], [-64.964892137294598, -22.07586150481232], [-66.273339402924833, -21.832310479420713], [-67.10667355006359, -22.735924574476414], [-67.82817989772272, -22.872918796482171], [-68.219913092711266, -21.494346612231858], [-68.757167121033731, -20.372657972904459], [-68.442225104430904, -19.405068454671426], [-68.966818406841853, -18.9816834449041], [-69.100246955019472, -18.260125420812674], [-69.590423753524036, -17.580011895419329], [-68.959635382753291, -16.500697930571267], [-69.389764166934697, -15.66012908291165], [-69.160346645774936, -15.323973890853015], [-69.339534674747, -14.953195489158828], [-68.94888668483658, -14.45363941819328], [-68.929223802349526, -13.602683607643007], [-68.880079515239956, -12.89972909917665], [-68.665079718689611, -12.561300144097171], [-69.52967810736493, -10.951734307502193], [-68.786157599549469, -11.036380303596276], [-68.27125362819325, -11.014521172736817], [-68.048192308205373, -10.712059014532484], [-67.173801235610725, -10.30681243249961], [-66.646908331962791, -9.931331475466861], [-65.33843522811641, -9.76198780684639], [-65.444837002205375, -10.51145110437543], [-65.321898769783004, -10.895872084194675], [-65.402281460213018, -11.566270440317151], [-64.31635291203159, -12.461978041232191], [-63.196498786050562, -12.627032565972433], [-62.803060268796372, -13.000653171442682], [-62.127080857986371, -13.19878061284972], [-61.713204311760769, -13.489202162330049], [-61.084121263255646, -13.479383640194595], [-60.503304002511122, -13.775954685117656], [-60.459198167550014, -14.354007256734551], [-60.264326341377355, -14.645979099183638], [-60.251148851142922, -15.077218926659318], [-60.542965664295131, -15.093910414289592], [-60.158389655179022, -16.258283786690082], [-58.241219855366673, -16.299573256091289], [-58.388058437724027, -16.877109063385273], [-58.280804002502244, -17.271710300366014], [-57.734558274960989, -17.552468357007765], [-57.498371141170971, -18.174187513911289], [-57.676008877174297, -18.961839694904025], [-57.949997321185819, -19.400004164306814], [-57.853801642474494, -19.969995212486186], [-58.166392381408038, -20.176700941653674], [-58.183471442280492, -19.868399346600359], [-59.11504248720609, -19.356906019775398], [-60.043564622626477, -19.342746677327419], [-61.786326463453761, -19.633736667562957], [-62.265961269770784, -20.513734633061272], [-62.291179368729203, -21.051634616787389], [-62.685057135657871, -22.24902922942238], [-62.84646847192154, -22.034985446869442]]] } }, + { "type": "Feature", "properties": { "admin": "Brazil", "name": "Brazil", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-57.625133429582945, -30.216294854454258], [-56.290899624239067, -28.852760512000884], [-55.162286342984558, -27.881915378533456], [-54.49072526713551, -27.474756768505785], [-53.648735317587885, -26.923472588816086], [-53.628348965048737, -26.124865004177465], [-54.130049607954376, -25.547639255477247], [-54.625290696823562, -25.739255466415507], [-54.428946092330577, -25.162184747012162], [-54.293476325077435, -24.570799655863958], [-54.292959560754511, -24.021014092710722], [-54.652834235235119, -23.839578138933955], [-55.027901780809543, -24.001273695575225], [-55.400747239795407, -23.956935316668797], [-55.517639329639621, -23.57199757252663], [-55.61068274598113, -22.655619398694839], [-55.797958136606894, -22.356929620047815], [-56.473317430229379, -22.086300144135279], [-56.881509568902885, -22.282153822521476], [-57.937155727761287, -22.090175876557169], [-57.870673997617786, -20.732687676681948], [-58.166392381408038, -20.176700941653674], [-57.853801642474494, -19.969995212486186], [-57.949997321185819, -19.400004164306814], [-57.676008877174297, -18.961839694904025], [-57.498371141170971, -18.174187513911289], [-57.734558274960989, -17.552468357007765], [-58.280804002502244, -17.271710300366014], [-58.388058437724027, -16.877109063385273], [-58.241219855366673, -16.299573256091289], [-60.158389655179022, -16.258283786690082], [-60.542965664295131, -15.093910414289592], [-60.251148851142922, -15.077218926659318], [-60.264326341377355, -14.645979099183638], [-60.459198167550014, -14.354007256734551], [-60.503304002511122, -13.775954685117656], [-61.084121263255646, -13.479383640194595], [-61.713204311760769, -13.489202162330049], [-62.127080857986371, -13.19878061284972], [-62.803060268796372, -13.000653171442682], [-63.196498786050562, -12.627032565972433], [-64.31635291203159, -12.461978041232191], [-65.402281460213018, -11.566270440317151], [-65.321898769783004, -10.895872084194675], [-65.444837002205375, -10.51145110437543], [-65.33843522811641, -9.76198780684639], [-66.646908331962791, -9.931331475466861], [-67.173801235610725, -10.30681243249961], [-68.048192308205373, -10.712059014532484], [-68.27125362819325, -11.014521172736817], [-68.786157599549469, -11.036380303596276], [-69.52967810736493, -10.951734307502193], [-70.093752204046879, -11.123971856331011], [-70.548685675728393, -11.009146823778462], [-70.481893886991159, -9.490118096558842], [-71.302412278921523, -10.079436130415372], [-72.184890713169821, -10.05359791426943], [-72.563033006465631, -9.520193780152715], [-73.226713426390148, -9.462212823121233], [-73.015382656532537, -9.03283334720806], [-73.571059332967053, -8.424446709835832], [-73.987235480429646, -7.523829847853063], [-73.723401455363486, -7.340998630404412], [-73.724486660441627, -6.918595472850638], [-73.120027431923575, -6.629930922068238], [-73.219711269814596, -6.089188734566076], [-72.964507208941185, -5.741251315944892], [-72.891927659787243, -5.274561455916979], [-71.748405727816532, -4.59398284263301], [-70.928843349883564, -4.401591485210367], [-70.79476884630229, -4.251264743673302], [-69.893635219996611, -4.298186944194326], [-69.444101935489599, -1.556287123219817], [-69.420485805932216, -1.122618503426409], [-69.577065395776586, -0.549991957200163], [-70.02065589057004, -0.185156345219539], [-70.015565761989293, 0.541414292804205], [-69.452396002872447, 0.706158758950693], [-69.252434048119042, 0.602650865070075], [-69.218637661400166, 0.985676581217433], [-69.804596727157701, 1.089081122233466], [-69.816973232691609, 1.714805202639624], [-67.868565029558823, 1.692455145673392], [-67.537810024674684, 2.037162787276329], [-67.25999752467358, 1.719998684084956], [-67.065048183852483, 1.130112209473225], [-66.876325853122566, 1.253360500489336], [-66.325765143484944, 0.724452215982012], [-65.548267381437554, 0.78925446207603], [-65.354713304288353, 1.0952822941085], [-64.611011928959854, 1.328730576987041], [-64.199305792890499, 1.49285492594602], [-64.083085496666072, 1.91636912679408], [-63.368788011311644, 2.200899562993129], [-63.422867397705105, 2.411067613124174], [-64.269999152265783, 2.497005520025566], [-64.408827887617903, 3.126786200366623], [-64.368494432214092, 3.797210394705246], [-64.816064012294007, 4.056445217297422], [-64.628659430587533, 4.14848094320925], [-63.888342861574145, 4.020530096854571], [-63.093197597899092, 3.770571193858784], [-62.804533047116692, 4.006965033377951], [-62.085429653559125, 4.162123521334308], [-60.966893276601517, 4.536467596856638], [-60.601179165271922, 4.918098049332129], [-60.733574184803707, 5.2002772078619], [-60.213683437731319, 5.2444863956876], [-59.980958624904865, 5.014061184098138], [-60.111002366767373, 4.574966538914082], [-59.767405768458701, 4.423502915866606], [-59.538039923731219, 3.958802598481937], [-59.815413174057852, 3.606498521332085], [-59.974524909084543, 2.755232652188055], [-59.718545701726732, 2.249630438644359], [-59.646043667221242, 1.786893825686789], [-59.030861579002639, 1.317697658692722], [-58.540012986878288, 1.26808828369252], [-58.429477098205957, 1.46394196207872], [-58.113449876525003, 1.507195135907025], [-57.660971035377358, 1.682584947105638], [-57.33582292339689, 1.948537705895759], [-56.782704230360814, 1.863710842288653], [-56.53938574891454, 1.89952260986692], [-55.995698004771739, 1.817667141116601], [-55.905600145070871, 2.021995754398659], [-56.073341844290283, 2.220794989425499], [-55.973322109589361, 2.510363877773016], [-55.569755011605984, 2.42150625244713], [-55.097587449755125, 2.523748073736612], [-54.524754197799709, 2.311848863123785], [-54.088062506717243, 2.105556545414629], [-53.778520677288903, 2.376702785650081], [-53.554839240113537, 2.33489655192595], [-53.4184651352953, 2.05338918701598], [-52.939657151894949, 2.124857692875636], [-52.556424730018414, 2.504705308437053], [-52.249337531123942, 3.241094468596244], [-51.657797410678882, 4.156232408053028], [-51.317146369010842, 4.203490505383953], [-51.069771287629649, 3.65039765056403], [-50.508875291533641, 1.901563828942456], [-49.974075893745045, 1.736483465986069], [-49.947100796088705, 1.046189683431223], [-50.699251268096901, 0.222984117021681], [-50.388210822132123, -0.078444512536819], [-48.620566779156313, -0.235489190271821], [-48.584496629416577, -1.237805271005001], [-47.824956427590621, -0.5816179337628], [-46.566583624851219, -0.941027520352776], [-44.9057030909904, -1.551739597178134], [-44.417619187993658, -2.137750339367975], [-44.581588507655773, -2.691308282078523], [-43.418791266440188, -2.383110039889793], [-41.47265682632824, -2.912018324397116], [-39.97866533055403, -2.87305429444904], [-38.50038347019656, -3.700652357603394], [-37.223252122535193, -4.820945733258915], [-36.45293738457638, -5.109403578312153], [-35.597795783010454, -5.149504489770648], [-35.235388963347553, -5.464937432480245], [-34.896029832486825, -6.738193047719709], [-34.729993455533027, -7.343220716992965], [-35.128212042774216, -8.996401462442284], [-35.636966518687707, -9.649281508017811], [-37.046518724096991, -11.040721123908799], [-37.683611619607355, -12.17119475672582], [-38.423876512188436, -13.038118584854285], [-38.673887091616507, -13.057652276260615], [-38.953275722802537, -13.79336964280002], [-38.882298143049645, -15.667053724838764], [-39.161092495264306, -17.208406670808468], [-39.267339240056394, -17.867746270420479], [-39.583521491034219, -18.262295830968934], [-39.76082333022763, -19.599113457927402], [-40.774740770010332, -20.90451181405242], [-40.944756232250597, -21.937316989837807], [-41.75416419123821, -22.370675551037454], [-41.988284267736546, -22.970070489190888], [-43.074703742024738, -22.967693373305462], [-44.647811855637798, -23.351959323827838], [-45.35213578955991, -23.796841729428579], [-46.472093268405523, -24.088968601174539], [-47.648972337420645, -24.885199069927715], [-48.495458136577689, -25.877024834905647], [-48.641004808127725, -26.623697605090928], [-48.474735887228647, -27.175911960561887], [-48.661520351747612, -28.186134535435713], [-48.888457404157393, -28.674115085567877], [-49.587329474472668, -29.224469089476333], [-50.696874152211478, -30.984465020472953], [-51.576226162306149, -31.777698256153204], [-52.256081305538032, -32.245369968394662], [-52.71209998229768, -33.196578057591175], [-53.373661668498229, -33.768377780900757], [-53.650543992718084, -33.202004082981823], [-53.209588995971529, -32.727666110974717], [-53.787951626182185, -32.047242526987617], [-54.572451544805105, -31.494511407193745], [-55.601510179249331, -30.853878676071385], [-55.97324459494093, -30.883075860316296], [-56.976025763564721, -30.109686374636119], [-57.625133429582945, -30.216294854454258]]] } }, + { "type": "Feature", "properties": { "admin": "Brunei", "name": "Brunei", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[114.204016554828343, 4.525873928236805], [114.599961379048707, 4.900011298029965], [115.450710483869798, 5.447729803891532], [115.405700311343566, 4.955227565933837], [115.347460972150643, 4.316636053887009], [114.869557326315373, 4.348313706881924], [114.659595981913498, 4.007636826997753], [114.204016554828343, 4.525873928236805]]] } }, + { "type": "Feature", "properties": { "admin": "Bhutan", "name": "Bhutan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[91.69665652869665, 27.771741848251661], [92.10371178585973, 27.4526140406332], [92.033483514375078, 26.838310451763554], [91.217512648486405, 26.808648179628019], [90.37327477413406, 26.875724188742872], [89.744527622438838, 26.71940298105995], [88.835642531289366, 27.098966376243755], [88.814248488320544, 27.299315904239361], [89.475810174521101, 28.04275889740639], [90.015828891971154, 28.296438503527209], [90.730513950567769, 28.064953925075748], [91.258853794319904, 28.040614325466287], [91.69665652869665, 27.771741848251661]]] } }, + { "type": "Feature", "properties": { "admin": "Botswana", "name": "Botswana", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[25.649163445750155, -18.536025892818987], [25.850391473094724, -18.714412937090533], [26.164790887158478, -19.293085625894935], [27.296504754350501, -20.391519870690995], [27.724747348753247, -20.499058526290387], [27.727227817503252, -20.851801853114711], [28.02137007010861, -21.485975030200578], [28.794656202924209, -21.639454034107445], [29.432188348109033, -22.091312758067584], [28.017235955525244, -22.827753594659072], [27.119409620886238, -23.574323011979772], [26.78640669119741, -24.240690606383478], [26.485753208123292, -24.616326592713097], [25.941652052522151, -24.696373386333214], [25.765848829865206, -25.174845472923671], [25.664666375437712, -25.486816094669706], [25.025170525825782, -25.719670098576891], [24.211266717228792, -25.670215752873567], [23.733569777122703, -25.39012948985161], [23.312096795350179, -25.268689873965712], [22.824271274514896, -25.500458672794768], [22.579531691180584, -25.979447523708142], [22.105968865657864, -26.28025603607913], [21.60589603036939, -26.726533705351748], [20.889609002371731, -26.828542982695907], [20.666470167735437, -26.477453301704916], [20.758609246511831, -25.868136488551446], [20.165725538827186, -24.917961928000768], [19.895767856534427, -24.767790215760588], [19.895457797940672, -21.849156996347865], [20.881134067475866, -21.814327080983144], [20.910641310314531, -18.252218926672018], [21.655040317478971, -18.219146010005222], [23.196858351339298, -17.869038181227783], [23.579005568137713, -18.281261081620055], [24.217364536239209, -17.889347019118485], [24.520705193792534, -17.887124932529932], [25.084443393664564, -17.661815687737366], [25.264225701608005, -17.736539808831413], [25.649163445750155, -18.536025892818987]]] } }, + { "type": "Feature", "properties": { "admin": "Central African Republic", "name": "Central African Rep.", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[15.279460483469107, 7.421924546737968], [16.106231723706767, 7.497087917506504], [16.290561557691884, 7.754307359239304], [16.456184523187343, 7.734773667832966], [16.705988396886251, 7.508327541529978], [17.964929640380884, 7.890914008002865], [18.389554884523218, 8.281303615751822], [18.911021762780504, 8.630894680206351], [18.81200971850927, 8.982914536978596], [19.094008009526018, 9.074846910025837], [20.059685499764267, 9.01270600019485], [21.00086836109616, 9.475985215691507], [21.723821648859452, 10.567055568885973], [22.231129184668784, 10.971888739460507], [22.864165480244218, 11.142395127807543], [22.977543572692603, 10.714462591998538], [23.554304233502187, 10.089255275915306], [23.557249790142826, 9.681218166538683], [23.394779087017181, 9.26506785729222], [23.459012892355979, 8.954285793488891], [23.805813429466745, 8.666318874542425], [24.567369012152078, 8.229187933785466], [25.114932488716786, 7.825104071479172], [25.12413089366472, 7.500085150579436], [25.796647983511171, 6.979315904158069], [26.21341840994511, 6.546603298362071], [26.465909458123232, 5.94671743410187], [27.213409051225163, 5.550953477394557], [27.374226108517483, 5.233944403500059], [27.044065382604703, 5.127852688004835], [26.402760857862535, 5.150874538590869], [25.650455356557465, 5.256087754737123], [25.278798455514302, 5.170408229997191], [25.128833449003274, 4.927244777847789], [24.805028924262409, 4.897246608902349], [24.41053104014625, 5.108784084489129], [23.297213982850135, 4.609693101414221], [22.841479526468103, 4.710126247573483], [22.704123569436284, 4.633050848810156], [22.405123732195531, 4.02916006104732], [21.659122755630019, 4.224341945813719], [20.927591180106273, 4.322785549329736], [20.290679152108932, 4.691677761245287], [19.467783644293146, 5.031527818212779], [18.932312452884755, 4.709506130385973], [18.542982211997778, 4.201785183118317], [18.453065219809925, 3.504385891123348], [17.809900343505259, 3.560196437998569], [17.133042433346297, 3.728196519379451], [16.537058139724135, 3.198254706226278], [16.01285241055535, 2.267639675298084], [15.907380812247649, 2.557389431158612], [15.862732374747479, 3.013537298998982], [15.405395948964379, 3.335300604664339], [15.036219516671249, 3.851367295747123], [14.950953403389658, 4.21038930909492], [14.478372430080466, 4.732605495620446], [14.558935988023501, 5.03059764243153], [14.459407179429345, 5.451760565610299], [14.536560092841111, 6.22695872642069], [14.776545444404572, 6.408498033062044], [15.279460483469107, 7.421924546737968]]] } }, + { "type": "Feature", "properties": { "admin": "Canada", "name": "Canada", "continent": "North America" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-63.6645, 46.55001], [-62.9393, 46.41587], [-62.01208, 46.44314], [-62.50391, 46.03339], [-62.87433, 45.96818], [-64.1428, 46.39265], [-64.39261, 46.72747], [-64.01486, 47.03601], [-63.6645, 46.55001]]], [[[-61.806305, 49.10506], [-62.29318, 49.08717], [-63.58926, 49.40069], [-64.51912, 49.87304], [-64.17322, 49.95718], [-62.85829, 49.70641], [-61.835585, 49.28855], [-61.806305, 49.10506]]], [[[-123.510001587551116, 48.51001089130343], [-124.012890788399474, 48.370846259141402], [-125.655012777338342, 48.825004584338494], [-125.954994466792726, 49.179995835967638], [-126.850004435871853, 49.530000311880421], [-127.029993449544392, 49.814995835970073], [-128.059336304366212, 49.994959011426594], [-128.444584107102145, 50.53913768167611], [-128.358413656255408, 50.770648098343678], [-127.308581096029883, 50.552573554071948], [-126.695000977212302, 50.40090322529538], [-125.755006673823161, 50.295018215529367], [-125.415001587558791, 49.950000515332604], [-124.920768189119315, 49.47527497008339], [-123.92250870832099, 49.062483628935794], [-123.510001587551116, 48.51001089130343]]], [[[-56.134035814017111, 50.687009792679298], [-56.795881720595261, 49.812308661490945], [-56.143105027884289, 50.15011749938283], [-55.471492275602934, 49.935815334668447], [-55.822401089080913, 49.587128607779093], [-54.93514258484565, 49.313010972686833], [-54.473775397343772, 49.556691189159167], [-53.47654944519131, 49.24913890237405], [-53.786013759971233, 48.516780503933617], [-53.086133999226249, 48.687803656603528], [-52.95864824076223, 48.157164211614472], [-52.648098720904173, 47.53554840757549], [-53.069158291218336, 46.655498765644936], [-53.521456264853029, 46.618291734394823], [-54.178935512902527, 46.807065741556997], [-53.961868659060471, 47.625207017601909], [-54.240482143762122, 47.752279364607617], [-55.400773078011483, 46.88499380145312], [-55.997480841685835, 46.919720363953289], [-55.291219041552765, 47.389562486350982], [-56.250798712780508, 47.632545070987383], [-57.325229254777085, 47.572807115257987], [-59.26601518414676, 47.603347886742498], [-59.41949418805369, 47.89945384377485], [-58.796586473207398, 48.251525376979473], [-59.23162451845652, 48.523188381537793], [-58.391804979065213, 49.125580552764163], [-57.358689744686025, 50.718274034215845], [-56.738650071831998, 51.287438259478527], [-55.87097693543528, 51.632094224649187], [-55.406974249886602, 51.588272610065722], [-55.600218268442077, 51.317074693397913], [-56.134035814017111, 50.687009792679298]]], [[[-133.180004041711669, 54.169975490935308], [-132.710007884431292, 54.040009315423518], [-131.749989584003259, 54.120004380909208], [-132.049480347350965, 52.984621487024519], [-131.179042521826574, 52.18043284769827], [-131.577829549822894, 52.182370713909236], [-132.180428426778519, 52.639707139692391], [-132.549992432313843, 53.100014960332132], [-133.054611178755493, 53.411468817755363], [-133.239664482792676, 53.851080227262386], [-133.180004041711669, 54.169975490935308]]], [[[-79.26582, 62.158675], [-79.65752, 61.63308], [-80.09956, 61.7181], [-80.36215, 62.01649], [-80.315395, 62.085565], [-79.92939, 62.3856], [-79.52002, 62.36371], [-79.26582, 62.158675]]], [[[-81.89825, 62.7108], [-83.06857, 62.15922], [-83.77462, 62.18231], [-83.99367, 62.4528], [-83.25048, 62.91409], [-81.87699, 62.90458], [-81.89825, 62.7108]]], [[[-85.161307949549851, 65.657284654392797], [-84.975763719405933, 65.217518215588981], [-84.464012010419495, 65.371772365980163], [-83.88262630891974, 65.109617824963536], [-82.78757687043877, 64.766693020274673], [-81.642013719392509, 64.455135809986942], [-81.553440314444245, 63.979609280037131], [-80.817361212878851, 64.057485663500998], [-80.103451300766594, 63.725981350348597], [-80.991019863595653, 63.41124603947496], [-82.547178107416997, 63.651722317145229], [-83.108797573565042, 64.101875718839707], [-84.100416632813847, 63.569711819098004], [-85.523404710618991, 63.052379055424076], [-85.866768764982339, 63.637252916103542], [-87.221983201836721, 63.541238104905212], [-86.352759772471259, 64.035833238370699], [-86.224886440765133, 64.822916978608262], [-85.883847825854858, 65.738778388117041], [-85.161307949549851, 65.657284654392797]]], [[[-75.86588, 67.14886], [-76.98687, 67.09873], [-77.2364, 67.58809], [-76.81166, 68.14856], [-75.89521, 68.28721], [-75.1145, 68.01036], [-75.10333, 67.58202], [-75.21597, 67.44425], [-75.86588, 67.14886]]], [[[-95.647681203800488, 69.107690358321761], [-96.269521203800579, 68.757040358321731], [-97.61740120380054, 69.060030358321782], [-98.431801203800504, 68.950700358321768], [-99.797401203800504, 69.400030358321786], [-98.917401203800523, 69.710030358321788], [-98.218261203800466, 70.143540358321744], [-97.157401203800532, 69.860030358321794], [-96.557401203800524, 69.680030358321758], [-96.257401203800498, 69.490030358321761], [-95.647681203800488, 69.107690358321761]]], [[[-90.5471, 69.49766], [-90.55151, 68.47499], [-89.21515, 69.25873], [-88.01966, 68.61508], [-88.31749, 67.87338], [-87.35017, 67.19872], [-86.30607, 67.92146], [-85.57664, 68.78456], [-85.52197, 69.88211], [-84.10081, 69.80539], [-82.62258, 69.65826], [-81.28043, 69.16202], [-81.2202, 68.66567], [-81.96436, 68.13253], [-81.25928, 67.59716], [-81.38653, 67.11078], [-83.34456, 66.41154], [-84.73542, 66.2573], [-85.76943, 66.55833], [-86.0676, 66.05625], [-87.03143, 65.21297], [-87.32324, 64.77563], [-88.48296, 64.09897], [-89.91444, 64.03273], [-90.70398, 63.61017], [-90.77004, 62.96021], [-91.93342, 62.83508], [-93.15698, 62.02469], [-94.24153, 60.89865], [-94.62931, 60.11021], [-94.6846, 58.94882], [-93.21502, 58.78212], [-92.76462, 57.84571], [-92.297029999999893, 57.08709], [-90.89769, 57.28468], [-89.03953, 56.85172], [-88.03978, 56.47162], [-87.32421, 55.99914], [-86.07121, 55.72383], [-85.01181, 55.3026], [-83.36055, 55.24489], [-82.27285, 55.14832], [-82.4362, 54.28227], [-82.12502, 53.27703], [-81.40075, 52.15788], [-79.91289, 51.20842], [-79.14301, 51.53393], [-78.60191, 52.56208], [-79.12421, 54.14145], [-79.82958, 54.66772], [-78.22874, 55.13645], [-77.0956, 55.83741], [-76.54137, 56.53423], [-76.62319, 57.20263], [-77.30226, 58.05209], [-78.51688, 58.80458], [-77.33676, 59.85261], [-77.77272, 60.75788], [-78.10687, 62.31964], [-77.41067, 62.55053], [-75.69621, 62.2784], [-74.6682, 62.18111], [-73.83988, 62.4438], [-72.90853, 62.10507], [-71.67708, 61.52535], [-71.37369, 61.13717], [-69.59042, 61.06141], [-69.62033, 60.22125], [-69.2879, 58.95736], [-68.37455, 58.80106], [-67.64976, 58.21206], [-66.20178, 58.76731], [-65.24517, 59.87071], [-64.58352, 60.33558], [-63.80475, 59.4426], [-62.50236, 58.16708], [-61.39655, 56.96745], [-61.79866, 56.33945], [-60.46853, 55.77548], [-59.56962, 55.20407], [-57.97508, 54.94549], [-57.3332, 54.6265], [-56.93689, 53.78032], [-56.15811, 53.64749], [-55.75632, 53.27036], [-55.68338, 52.14664], [-56.40916, 51.7707], [-57.12691, 51.41972], [-58.77482, 51.0643], [-60.03309, 50.24277], [-61.72366, 50.08046], [-63.86251, 50.29099], [-65.36331, 50.2982], [-66.39905, 50.22897], [-67.23631, 49.51156], [-68.51114, 49.06836], [-69.95362, 47.74488], [-71.10458, 46.82171], [-70.25522, 46.98606], [-68.65, 48.3], [-66.55243, 49.1331], [-65.05626, 49.23278], [-64.17099, 48.74248], [-65.11545, 48.07085], [-64.79854, 46.99297], [-64.47219, 46.23849], [-63.17329, 45.73902], [-61.52072, 45.88377], [-60.51815, 47.00793], [-60.4486, 46.28264], [-59.80287, 45.9204], [-61.03988, 45.26525], [-63.25471, 44.67014], [-64.24656, 44.26553], [-65.36406, 43.54523], [-66.1234, 43.61867], [-66.16173, 44.46512], [-64.42549, 45.29204], [-66.02605, 45.25931], [-67.13741, 45.13753], [-67.79134, 45.70281], [-67.79046, 47.06636], [-68.23444, 47.35486], [-68.905, 47.185], [-69.237216, 47.447781], [-69.99997, 46.69307], [-70.305, 45.915], [-70.66, 45.46], [-71.08482, 45.30524], [-71.405, 45.255], [-71.50506, 45.0082], [-73.34783, 45.00738], [-74.867, 45.00048], [-75.31821, 44.81645], [-76.375, 44.09631], [-76.5, 44.018458893758712], [-76.820034145805565, 43.628784288093748], [-77.737885097957687, 43.62905558936329], [-78.720279914042365, 43.625089423184868], [-79.171673550111862, 43.466339423184216], [-79.01, 43.27], [-78.92, 42.965], [-78.939362148743683, 42.863611355148031], [-80.247447679347928, 42.366199856122584], [-81.277746548167144, 42.209025987306845], [-82.439277716791608, 41.675105088867149], [-82.690089280920162, 41.675105088867149], [-83.029810146806909, 41.832795722005834], [-83.141999681312555, 41.975681057292825], [-83.12, 42.08], [-82.9, 42.43], [-82.43, 42.98], [-82.137642381503881, 43.571087551439909], [-82.337763125431053, 44.44], [-82.550924648758169, 45.347516587905368], [-83.592850714843067, 45.816893622412373], [-83.469550747394621, 45.994686387712584], [-83.616130947590563, 46.116926988299056], [-83.890765347005726, 46.116926988299056], [-84.091851264161463, 46.27541860613816], [-84.14211951367335, 46.512225857115723], [-84.3367, 46.40877], [-84.6049, 46.4396], [-84.543748745445853, 46.538684190449132], [-84.779238247399888, 46.637101955749038], [-84.876079881514855, 46.900083319682366], [-85.652363247403414, 47.220218817730498], [-86.461990831228249, 47.553338019392037], [-87.439792623300207, 47.94], [-88.378114183286698, 48.302917588893727], [-89.272917446636654, 48.019808254582657], [-89.6, 48.01], [-90.83, 48.27], [-91.64, 48.14], [-92.61, 48.45], [-93.63087, 48.60926], [-94.32914, 48.67074], [-94.64, 48.84], [-94.81758, 49.38905], [-95.15609, 49.38425], [-95.159069509172014, 49.0], [-97.228720000004799, 49.0007], [-100.65, 49.0], [-104.04826, 48.99986], [-107.05, 49.0], [-110.05, 49.0], [-113.0, 49.0], [-116.04818, 49.0], [-117.03121, 49.0], [-120.0, 49.0], [-122.84, 49.0], [-122.97421, 49.002537777777789], [-124.91024, 49.98456], [-125.62461, 50.41656], [-127.43561, 50.83061], [-127.99276, 51.71583], [-127.85032, 52.32961], [-129.12979, 52.75538], [-129.30523, 53.56159], [-130.51497, 54.28757], [-130.53611, 54.80278], [-129.98, 55.285], [-130.00778, 55.91583], [-131.70781, 56.55212], [-132.73042, 57.69289], [-133.35556, 58.41028], [-134.27111, 58.86111], [-134.945, 59.27056], [-135.47583, 59.78778], [-136.47972, 59.46389], [-137.4525, 58.905], [-138.34089, 59.56211], [-139.039, 60.0], [-140.013, 60.27682], [-140.99778, 60.30639], [-140.9925, 66.00003], [-140.986, 69.712], [-139.12052, 69.47102], [-137.54636, 68.99002], [-136.50358, 68.89804], [-135.62576, 69.31512], [-134.41464, 69.62743], [-132.92925, 69.50534], [-131.43136, 69.94451], [-129.79471, 70.19369], [-129.10773, 69.77927], [-128.36156, 70.01286], [-128.13817, 70.48384], [-127.44712, 70.37721], [-125.75632, 69.48058], [-124.42483, 70.1584], [-124.28968, 69.39969], [-123.06108, 69.56372], [-122.6835, 69.85553], [-121.47226, 69.79778], [-119.94288, 69.37786], [-117.60268, 69.01128], [-116.22643, 68.84151], [-115.2469, 68.90591], [-113.89794, 68.3989], [-115.30489, 67.90261], [-113.49727, 67.68815], [-110.798, 67.80612], [-109.94619, 67.98104], [-108.8802, 67.38144], [-107.79239, 67.88736], [-108.81299, 68.31164], [-108.16721, 68.65392], [-106.95, 68.7], [-106.15, 68.8], [-105.34282, 68.56122], [-104.33791, 68.018], [-103.22115, 68.09775], [-101.45433, 67.64689], [-99.90195, 67.80566], [-98.4432, 67.78165], [-98.5586, 68.40394], [-97.66948, 68.57864], [-96.11991, 68.23939], [-96.12588, 67.29338], [-95.48943, 68.0907], [-94.685, 68.06383], [-94.23282, 69.06903], [-95.30408, 69.68571], [-96.47131, 70.08976], [-96.39115, 71.19482], [-95.2088, 71.92053], [-93.88997, 71.76015], [-92.87818, 71.31869], [-91.51964, 70.19129], [-92.40692, 69.69997], [-90.5471, 69.49766]]], [[[-114.167169999999871, 73.12145], [-114.66634, 72.65277], [-112.441019999999867, 72.9554], [-111.05039, 72.4504], [-109.920349999999857, 72.96113], [-109.00654, 72.63335], [-108.188349999999886, 71.65089], [-107.68599, 72.06548], [-108.39639, 73.08953], [-107.51645, 73.23598], [-106.522589999999866, 73.07601], [-105.402459999999877, 72.67259], [-104.77484, 71.6984], [-104.464759999999814, 70.99297], [-102.78537, 70.49776], [-100.980779999999868, 70.02432], [-101.089289999999892, 69.58447000000011], [-102.731159999999875, 69.50402], [-102.09329, 69.11962], [-102.43024, 68.75282], [-104.24, 68.91], [-105.96, 69.180000000000135], [-107.12254, 69.11922], [-108.999999999999872, 68.78], [-111.534148875200117, 68.630059156817921], [-113.3132, 68.53554], [-113.854959999999807, 69.007440000000102], [-115.22, 69.28], [-116.10794, 69.16821], [-117.34, 69.960000000000107], [-116.674729999999869, 70.06655], [-115.13112, 70.2373], [-113.72141, 70.19237], [-112.4161, 70.36638], [-114.35, 70.6], [-116.48684, 70.52045], [-117.9048, 70.540560000000127], [-118.43238, 70.9092], [-116.11311, 71.30918], [-117.65568, 71.2952], [-119.40199, 71.55859], [-118.56267, 72.30785], [-117.866419999999877, 72.70594], [-115.18909, 73.314590000000109], [-114.167169999999871, 73.12145]]], [[[-104.5, 73.42], [-105.38, 72.76], [-106.94, 73.46], [-106.6, 73.6], [-105.26, 73.64], [-104.5, 73.42]]], [[[-76.34, 73.102684989953005], [-76.251403808593736, 72.826385498046861], [-77.314437866210895, 72.85554504394527], [-78.391670227050795, 72.876655578613253], [-79.486251831054645, 72.742202758789062], [-79.775833129882827, 72.80290222167973], [-80.876098632812514, 73.333183288574205], [-80.833885192871051, 73.693183898925767], [-80.353057861328111, 73.75971984863277], [-78.064437866210923, 73.651931762695327], [-76.34, 73.102684989953005]]], [[[-86.562178514334107, 73.157447007938444], [-85.774371304044521, 72.534125881633798], [-84.850112474288224, 73.34027822538711], [-82.315590176100969, 73.750950832810574], [-80.600087653307611, 72.716543687624181], [-80.748941616524391, 72.061906643350753], [-78.770638597310764, 72.352173163534147], [-77.824623989559569, 72.749616604291035], [-75.605844692675717, 72.243678493937381], [-74.228616095664975, 71.767144273557889], [-74.099140794557698, 71.330840155717638], [-72.242225714797641, 71.556924546994495], [-71.200015428335192, 70.920012518997211], [-68.78605424668487, 70.525023708774242], [-67.914970465756923, 70.121947536897594], [-66.969033372654152, 69.18608734809186], [-68.805122850200533, 68.720198472764409], [-66.449866095633851, 68.067163397892003], [-64.862314419195215, 67.847538560651614], [-63.424934454996745, 66.928473212340649], [-61.851981370680569, 66.862120673277829], [-62.163176845942296, 66.160251369889593], [-63.91844438338417, 64.998668524832837], [-65.148860236253611, 65.426032619886669], [-66.72121904159853, 66.388041083432185], [-68.015016038673949, 66.262725735124391], [-68.141287400979152, 65.689789130304362], [-67.089646165623392, 65.108455105236985], [-65.732080451099748, 64.64840566675862], [-65.320167609301265, 64.382737128346051], [-64.669406297449669, 63.392926744227474], [-65.013803880458894, 62.674185085695974], [-66.275044725190455, 62.945098781986069], [-68.783186204692711, 63.745670071051805], [-67.369680752213029, 62.883965562584869], [-66.328297288667201, 62.28007477482204], [-66.165568203380147, 61.930897121825879], [-68.877366502544632, 62.330149237712803], [-71.023437059193824, 62.910708116295829], [-72.23537858751898, 63.397836005295154], [-71.886278449171286, 63.679989325608837], [-73.37830624051837, 64.193963121183813], [-74.834418911422588, 64.679075629323776], [-74.818502570276706, 64.389093329517962], [-77.709979824520019, 64.229542344816778], [-78.55594885935416, 64.572906399180127], [-77.897281053361908, 65.309192206474776], [-76.018274298797181, 65.326968899183143], [-73.95979529488271, 65.454764716240888], [-74.293883429649625, 65.81177134872938], [-73.94491248238262, 66.310578111426722], [-72.65116716173938, 67.284575507263853], [-72.926059943316076, 67.726925767682374], [-73.311617804645721, 68.069437160912898], [-74.8433072577768, 68.554627183701271], [-76.869100918266739, 68.894735622830254], [-76.228649054657339, 69.147769273547411], [-77.28736996123709, 69.769540106883269], [-78.168633999326588, 69.826487535268896], [-78.95724219431672, 70.166880194775402], [-79.492455003563649, 69.871807766388898], [-81.305470954091732, 69.743185126414332], [-84.944706183598456, 69.966634019644388], [-87.060003424817864, 70.260001125765356], [-88.681713223001495, 70.410741278760796], [-89.513419562523012, 70.762037665480975], [-88.467721116880753, 71.218185533321318], [-89.888151211287465, 71.222552191849942], [-90.205160285181989, 72.235074367960792], [-89.43657670770493, 73.129464219852352], [-88.408241543312784, 73.537888902471209], [-85.826151089200906, 73.803815823045213], [-86.562178514334107, 73.157447007938444]]], [[[-100.35642, 73.84389], [-99.16387, 73.63339], [-97.38, 73.76], [-97.12, 73.47], [-98.05359, 72.99052], [-96.54, 72.56], [-96.72, 71.66], [-98.35966, 71.27285], [-99.32286, 71.35639], [-100.01482, 71.73827], [-102.5, 72.51], [-102.48, 72.83], [-100.43836, 72.70588], [-101.54, 73.36], [-100.35642, 73.84389]]], [[[-93.196295539100205, 72.771992499473342], [-94.26904659704725, 72.024596259235949], [-95.409855516322637, 72.061880805134578], [-96.033745083382428, 72.940276801231789], [-96.01826799191096, 73.437429918095788], [-95.495793423224001, 73.862416897264154], [-94.503657599652328, 74.134906724739196], [-92.420012173211745, 74.100025132942179], [-90.509792853542578, 73.85673248971203], [-92.003965216829869, 72.966244208458477], [-93.196295539100205, 72.771992499473342]]], [[[-120.46, 71.383601793087578], [-123.09219, 70.90164], [-123.62, 71.34], [-125.92894873747332, 71.868688463011395], [-125.499999999999872, 72.292260811795003], [-124.80729, 73.02256], [-123.94, 73.680000000000135], [-124.917749999999899, 74.292750000000112], [-121.53788, 74.44893], [-120.10978, 74.24135], [-117.55564, 74.18577], [-116.58442, 73.89607], [-115.51081, 73.47519], [-116.767939999999882, 73.22292], [-119.22, 72.52], [-120.46, 71.82], [-120.46, 71.383601793087578]]], [[[-93.612755906940464, 74.979997260224437], [-94.156908738973812, 74.59234650338685], [-95.60868058956558, 74.666863918751758], [-96.820932176484561, 74.927623196096576], [-96.288587409229791, 75.377828274223333], [-94.850819871789113, 75.647217515760886], [-93.977746548217908, 75.296489569795952], [-93.612755906940464, 74.979997260224437]]], [[[-98.5, 76.72], [-97.735585, 76.25656], [-97.704415, 75.74344], [-98.16, 75.0], [-99.80874, 74.89744], [-100.88366, 75.05736], [-100.86292, 75.64075], [-102.50209, 75.5638], [-102.56552, 76.3366], [-101.48973, 76.30537], [-99.98349, 76.64634], [-98.57699, 76.58859], [-98.5, 76.72]]], [[[-108.21141, 76.20168], [-107.81943, 75.84552], [-106.92893, 76.01282], [-105.881, 75.9694], [-105.70498, 75.47951], [-106.31347, 75.00527], [-109.7, 74.85], [-112.22307, 74.41696], [-113.74381, 74.39427], [-113.87135, 74.72029], [-111.79421, 75.1625], [-116.31221, 75.04343], [-117.7104, 75.2222], [-116.34602, 76.19903], [-115.40487, 76.47887], [-112.59056, 76.14134], [-110.81422, 75.54919], [-109.0671, 75.47321], [-110.49726, 76.42982], [-109.5811, 76.79417], [-108.54859, 76.67832], [-108.21141, 76.20168]]], [[[-94.684085862999439, 77.097878323058367], [-93.573921068073105, 76.776295884906062], [-91.605023159536586, 76.778517971494594], [-90.741845872749209, 76.449597479956807], [-90.969661424507976, 76.074013170059445], [-89.822237921899244, 75.847773749485626], [-89.187082892599776, 75.610165513807615], [-87.838276333349611, 75.566188869927217], [-86.379192267588664, 75.482421373182163], [-84.789625210290595, 75.699204006646497], [-82.753444586910049, 75.784315090631225], [-81.12853084992436, 75.713983466282016], [-80.05751095245914, 75.336848863415867], [-79.833932868148324, 74.923127346487192], [-80.457770758775823, 74.657303778777774], [-81.948842536125511, 74.442459011524321], [-83.2288936022114, 74.564027818490928], [-86.097452358733292, 74.410032050261137], [-88.150350307960196, 74.392307033984977], [-89.764722052758358, 74.515555325001117], [-92.422440965529418, 74.837757880340973], [-92.768285488642789, 75.38681997344213], [-92.889905972041717, 75.882655341282629], [-93.893824022175977, 76.319243679500516], [-95.962457445035795, 76.44138092722244], [-97.121378953829463, 76.751077785947587], [-96.745122850312342, 77.161388658345132], [-94.684085862999439, 77.097878323058367]]], [[[-116.198586595507322, 77.645286770326194], [-116.335813361458349, 76.876961575010554], [-117.106050584768766, 76.530031846819114], [-118.040412157038119, 76.481171780087081], [-119.899317586885687, 76.053213406061971], [-121.499995077126471, 75.900018622532784], [-122.85492448615895, 76.116542873835684], [-122.854925293603188, 76.116542873835684], [-121.157535360328239, 76.864507554828336], [-119.103938971821023, 77.512219957174608], [-117.570130784965954, 77.498318996888102], [-116.198586595507322, 77.645286770326194]]], [[[-93.840003017943971, 77.51999726023449], [-94.295608283245244, 77.491342678528682], [-96.169654100310055, 77.55511139597688], [-96.436304490936109, 77.83462921824362], [-94.422577277386353, 77.820004787904978], [-93.720656297565867, 77.634331366680314], [-93.840003017943971, 77.51999726023449]]], [[[-110.186938035912945, 77.697014879050286], [-112.051191169058455, 77.409228827616843], [-113.534278937619035, 77.732206529441143], [-112.724586758253835, 78.051050116681935], [-111.264443325630822, 78.152956041161545], [-109.854451870547067, 77.996324774884812], [-110.186938035912945, 77.697014879050286]]], [[[-109.663145718202557, 78.601972561345676], [-110.88131425661885, 78.406919867659994], [-112.542091437615142, 78.407901719873493], [-112.525890876091566, 78.550554511215225], [-111.500010342233367, 78.849993598130538], [-110.96366065147599, 78.804440823065207], [-109.663145718202557, 78.601972561345676]]], [[[-95.830294969449312, 78.056941229963243], [-97.309842902397975, 77.85059723582178], [-98.124289313533964, 78.082856960757567], [-98.55286780474664, 78.458105373845086], [-98.631984422585504, 78.871930243638374], [-97.337231411512604, 78.831984361476756], [-96.754398769908761, 78.765812689926989], [-95.559277920294562, 78.41831452098026], [-95.830294969449312, 78.056941229963243]]], [[[-100.060191820052111, 78.324754340315891], [-99.670939093813601, 77.907544664207393], [-101.303940192452984, 78.018984890444798], [-102.949808722733025, 78.343228664860206], [-105.176132778731514, 78.38033234324574], [-104.210429450277147, 78.677420152491777], [-105.419580451258511, 78.918335679836431], [-105.492289191493128, 79.301593939929177], [-103.529282396237917, 79.16534902619162], [-100.8251580472688, 78.80046173777869], [-100.060191820052111, 78.324754340315891]]], [[[-87.02, 79.66], [-85.81435, 79.3369], [-87.18756, 79.0393], [-89.03535, 78.28723], [-90.80436, 78.21533], [-92.87669, 78.34333], [-93.95116, 78.75099], [-93.93574, 79.11373], [-93.14524, 79.3801], [-94.974, 79.37248], [-96.07614, 79.70502], [-96.70972, 80.15777], [-96.01644, 80.60233], [-95.32345, 80.90729], [-94.29843, 80.97727], [-94.73542, 81.20646], [-92.40984, 81.25739], [-91.13289, 80.72345], [-89.45, 80.509322033898258], [-87.81, 80.32], [-87.02, 79.66]]], [[[-68.5, 83.106321516765732], [-65.82735, 83.02801], [-63.68, 82.9], [-61.85, 82.6286], [-61.89388, 82.36165], [-64.334, 81.92775], [-66.75342, 81.72527], [-67.65755, 81.50141], [-65.48031, 81.50657], [-67.84, 80.9], [-69.4697, 80.61683], [-71.18, 79.8], [-73.2428, 79.63415], [-73.88, 79.430162204802073], [-76.90773, 79.32309], [-75.52924, 79.19766], [-76.22046, 79.01907], [-75.39345, 78.52581], [-76.34354, 78.18296], [-77.88851, 77.89991], [-78.36269, 77.50859], [-79.75951, 77.20968], [-79.61965, 76.98336], [-77.91089, 77.022045], [-77.88911, 76.777955], [-80.56125, 76.17812], [-83.17439, 76.45403], [-86.11184, 76.29901], [-87.6, 76.42], [-89.49068, 76.47239], [-89.6161, 76.95213], [-87.76739, 77.17833], [-88.26, 77.9], [-87.65, 77.970222222222205], [-84.97634, 77.53873], [-86.34, 78.18], [-87.96192, 78.37181], [-87.15198, 78.75867], [-85.37868, 78.9969], [-85.09495, 79.34543], [-86.50734, 79.73624], [-86.93179, 80.25145], [-84.19844, 80.20836], [-83.408695652173819, 80.1], [-81.84823, 80.46442], [-84.1, 80.58], [-87.59895, 80.51627], [-89.36663, 80.85569], [-90.2, 81.26], [-91.36786, 81.5531], [-91.58702, 81.89429], [-90.1, 82.085], [-88.93227, 82.11751], [-86.97024, 82.27961], [-85.5, 82.652273458057024], [-84.260005, 82.6], [-83.18, 82.32], [-82.42, 82.86], [-81.1, 83.02], [-79.30664, 83.13056], [-76.25, 83.172058823529369], [-75.71878, 83.06404], [-72.83153, 83.23324], [-70.665765, 83.169780758382828], [-68.5, 83.106321516765732]]]] } }, + { "type": "Feature", "properties": { "admin": "Switzerland", "name": "Switzerland", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[9.594226108446346, 47.525058091820256], [9.632931756232974, 47.347601223329974], [9.479969516649019, 47.102809963563367], [9.932448357796657, 46.920728054382948], [10.442701450246627, 46.893546250997424], [10.36337812667861, 46.483571275409851], [9.922836541390378, 46.314899400409182], [9.182881707403054, 46.440214748716976], [8.966305779667804, 46.036931871111186], [8.489952426801322, 46.005150865251672], [8.316629672894377, 46.163642483090847], [7.755992058959832, 45.824490057959302], [7.273850945676655, 45.776947740250769], [6.843592970414504, 45.991146552100595], [6.500099724970424, 46.429672756529428], [6.022609490593537, 46.272989813820466], [6.037388950229, 46.725778713561859], [6.768713820023605, 47.287708238303686], [6.736571079138058, 47.541801255882838], [7.192202182655505, 47.449765529971003], [7.466759067422228, 47.620581976911794], [8.31730146651415, 47.613579820336255], [8.522611932009765, 47.830827541691285], [9.594226108446346, 47.525058091820256]]] } }, + { "type": "Feature", "properties": { "admin": "Chile", "name": "Chile", "continent": "South America" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-68.634010227583147, -52.636370458874353], [-68.633349999999879, -54.8695], [-67.56244, -54.87001], [-66.95992, -54.89681], [-67.291029999999878, -55.30124], [-68.148629999999841, -55.61183], [-68.639990810811796, -55.580017999086877], [-69.2321, -55.49906], [-69.95809, -55.19843], [-71.00568, -55.05383], [-72.2639, -54.49514], [-73.2852, -53.957519999999874], [-74.66253, -52.83749], [-73.8381, -53.04743], [-72.43418, -53.7154], [-71.10773, -54.07433], [-70.591779999999787, -53.61583], [-70.26748, -52.93123], [-69.345649999999878, -52.5183], [-68.634010227583147, -52.636370458874353]]], [[[-68.219913092711224, -21.49434661223183], [-67.828179897722634, -22.872918796482178], [-67.106673550063604, -22.735924574476392], [-66.985233934177629, -22.986348565362825], [-67.328442959244128, -24.025303236590908], [-68.417652960876111, -24.518554782816874], [-68.386001146097342, -26.185016371365229], [-68.594799770772667, -26.50690886811126], [-68.295541551370391, -26.899339694935787], [-69.001234910748266, -27.521213881136127], [-69.656130337183143, -28.459141127233686], [-70.013550381129861, -29.367922865518544], [-69.919008348251921, -30.336339206668306], [-70.535068935819439, -31.365010267870279], [-70.074399380153622, -33.09120981214803], [-69.814776984319209, -33.273886000299839], [-69.817309129501453, -34.193571465798279], [-70.388049485949082, -35.169687595359441], [-70.364769253201658, -36.005088799789931], [-71.121880662709771, -36.65812387466233], [-71.118625047475419, -37.576827487947192], [-70.814664272734703, -38.552995293940732], [-71.413516608349042, -38.916022230791107], [-71.680761277946445, -39.808164157878061], [-71.915734015577542, -40.832339369470716], [-71.746803758415453, -42.051386407235988], [-72.148898078078517, -42.254888197601375], [-71.915423956983901, -43.408564548517404], [-71.464056159130493, -43.787611179378324], [-71.793622606071935, -44.207172133156099], [-71.329800788036195, -44.407521661151677], [-71.222778896759721, -44.784242852559409], [-71.659315558545316, -44.973688653341434], [-71.552009446891233, -45.560732924177117], [-71.917258470330196, -46.884838148791786], [-72.44735531278026, -47.738532810253517], [-72.331160854771937, -48.244238376661819], [-72.648247443314929, -48.878618259476774], [-73.415435757120022, -49.318436374712952], [-73.328050910114456, -50.378785088909865], [-72.975746832964617, -50.741450290734299], [-72.309973517532342, -50.677009779666342], [-72.329403856074023, -51.425956312872394], [-71.914803839796321, -52.009022305865912], [-69.498362189396076, -52.142760912637236], [-68.571545376241332, -52.299443855346247], [-69.461284349226617, -52.291950772663924], [-69.94277950710611, -52.537930590373243], [-70.8451016913545, -52.899200528525711], [-71.006332160105217, -53.833252042201345], [-71.429794684520928, -53.856454760300373], [-72.557942877884855, -53.531410001184447], [-73.702756720662862, -52.835069268607249], [-73.702756720662862, -52.835070076051487], [-74.946763475225154, -52.262753588419017], [-75.260026007778507, -51.62935475037321], [-74.976632453089806, -51.043395684615675], [-75.47975419788348, -50.378371677451547], [-75.608015102831942, -48.673772881871784], [-75.182769741502128, -47.711919447623153], [-74.126580980104677, -46.939253431995084], [-75.644395311165439, -46.647643324572016], [-74.69215369332305, -45.76397633238097], [-74.351709357384252, -44.10304412208788], [-73.240356004515192, -44.454960625995611], [-72.717803921179765, -42.383355808278985], [-73.388899909138232, -42.117532240569567], [-73.701335618774834, -43.365776462579738], [-74.33194312203257, -43.224958184584395], [-74.017957119427152, -41.794812920906828], [-73.677099372029943, -39.942212823243111], [-73.217592536090663, -39.258688653318508], [-73.505559455037044, -38.282882582351064], [-73.588060879191076, -37.156284681956016], [-73.166717088499283, -37.123780206044351], [-72.553136969681717, -35.508840020491022], [-71.861732143832555, -33.909092706031522], [-71.438450486929895, -32.418899428030819], [-71.668720669222424, -30.920644626592516], [-71.370082567007714, -30.095682061484997], [-71.48989437527645, -28.861442152625909], [-70.905123867461569, -27.640379734001193], [-70.724953986275963, -25.705924167587209], [-70.403965827095035, -23.628996677344542], [-70.091245897080668, -21.393319187101223], [-70.164419725205974, -19.756468194256183], [-70.372572394477714, -18.347975355708879], [-69.858443569605797, -18.092693780187027], [-69.590423753523979, -17.580011895419286], [-69.100246955019401, -18.260125420812653], [-68.966818406841824, -18.981683444904089], [-68.442225104430918, -19.405068454671419], [-68.757167121033703, -20.37265797290447], [-68.219913092711224, -21.49434661223183]]]] } }, + { "type": "Feature", "properties": { "admin": "China", "name": "China", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[110.339187860151526, 18.678395087147603], [109.475209588663702, 18.19770091396861], [108.655207961056135, 18.507681993071397], [108.626217482540426, 19.367887885001974], [109.119055617308007, 19.821038519769385], [110.211598748822837, 20.101253973872073], [110.786550734502228, 20.077534491450077], [111.01005130416462, 19.695929877190732], [110.570646600386794, 19.255879218009305], [110.339187860151526, 18.678395087147603]]], [[[127.657407261262378, 49.760270494172929], [129.397817824420429, 49.440600084015429], [130.58229332898236, 48.729687404976112], [130.987281528853828, 47.790132351261391], [132.506671991099495, 47.788969631534876], [133.373595819228001, 48.183441677434914], [135.026311476786702, 48.478229885443902], [134.500813836810607, 47.578439846377833], [134.112362095272601, 47.212467352886719], [133.76964399631288, 46.116926988299056], [133.097126906466428, 45.14406647397216], [131.883454217659562, 45.32116160743643], [131.025212030156069, 44.967953192721573], [131.288555129115537, 44.111519680348252], [131.144687941614848, 42.929989732426932], [130.633866408409801, 42.903014634770543], [130.640015903852429, 42.39500946712527], [129.994267205933227, 42.985386867843793], [129.596668735879462, 42.424981797854592], [128.05221520397231, 41.994284572917984], [128.208433058790717, 41.466771552082534], [127.343782993683021, 41.503151760415953], [126.869083286649854, 41.816569322266155], [126.18204511932943, 41.107336127276362], [125.079941847840587, 40.569823716792449], [124.265624627785314, 39.928493353834135], [122.86757042856101, 39.637787583976255], [122.131387974130917, 39.170451768544623], [121.054554478032856, 38.89747101496291], [121.585994907722466, 39.360853583324136], [121.376757033372641, 39.750261338859524], [122.168595005381007, 40.422442531896046], [121.640358514493528, 40.946389878903304], [120.768628778161954, 40.593388169917596], [119.639602085449056, 39.898055935214209], [119.023463983233015, 39.252333075511096], [118.042748651197897, 39.204273993479674], [117.532702264477052, 38.73763580988409], [118.05969852098967, 38.061475531561051], [118.878149855628351, 37.897325344385898], [118.911636183753501, 37.448463853498723], [119.702802362142037, 37.156388658185072], [120.823457472823648, 37.870427761377968], [121.711258579597938, 37.481123358707165], [122.357937453298462, 37.454484157860684], [122.519994744965814, 36.930614325501828], [121.104163853033029, 36.651329047180432], [120.63700890511457, 36.111439520811125], [119.66456180224607, 35.609790554337728], [119.151208123858567, 34.909859117160458], [120.227524855633717, 34.360331936168613], [120.620369093916565, 33.37672272392512], [121.229014113450219, 32.460318711877186], [121.908145786630044, 31.692174384074683], [121.891919386890336, 30.949351508095098], [121.264257440273298, 30.676267401648712], [121.503519321784722, 30.14291494396425], [122.092113885589086, 29.832520453403156], [121.93842817595305, 29.018022365834803], [121.684438511238469, 28.225512600206677], [121.125661248866436, 28.135673122667178], [120.395473260582307, 27.053206895449385], [119.585496860839555, 25.740780544532605], [118.656871372554519, 24.547390855400234], [117.281606479970833, 23.624501451099714], [115.890735304835118, 22.782873236578094], [114.763827345846209, 22.668074042241663], [114.152546828265656, 22.223760077396204], [113.806779819800752, 22.548339748621423], [113.241077915501592, 22.051367499270462], [111.843592157032447, 21.550493679281512], [110.78546552942413, 21.39714386645533], [110.444039341271662, 20.34103261970639], [109.88986128137357, 20.282457383703441], [109.627655063924635, 21.008227037026725], [109.864488153118316, 21.395050970947516], [108.522812941524421, 21.715212307211821], [108.050180291782979, 21.552379869060101], [107.043420037872636, 21.8118989120299], [106.567273390735352, 22.21820486092474], [106.725403273548466, 22.794267889898375], [105.811247186305209, 22.976892401617899], [105.329209425886631, 23.352063300056976], [104.476858351664475, 22.819150092046918], [103.504514601660503, 22.703756618739217], [102.706992222100155, 22.708795070887696], [102.170435825613552, 22.464753119389336], [101.652017856861576, 22.318198757409554], [101.803119744882906, 21.174366766845051], [101.27002566936001, 21.201651923095167], [101.180005324307558, 21.436572984294052], [101.150032993578236, 21.849984442629015], [100.416537713627349, 21.558839423096654], [99.983489211021549, 21.742936713136451], [99.240898878987196, 22.118314317304559], [99.53199222208741, 22.949038804612591], [98.898749220782804, 23.142722072842581], [98.66026248575578, 24.063286037690002], [97.604719679762027, 23.897404690033049], [97.724609002679131, 25.083637193293036], [98.671838006589212, 25.91870250091349], [98.712093947344556, 26.743535874940243], [98.682690057370507, 27.508812160750658], [98.246230910233351, 27.747221381129172], [97.91198774616943, 28.335945136014367], [97.327113885490007, 28.261582749946339], [96.248833449287829, 28.411030992134467], [96.586590610747521, 28.830979519154361], [96.117678664131006, 29.452802028922513], [95.404802280664626, 29.031716620392157], [94.565990431702929, 29.27743805593996], [93.413347609432662, 28.640629380807233], [92.503118931043616, 27.896876329046442], [91.696656528696693, 27.771741848251615], [91.258853794319876, 28.040614325466343], [90.730513950567797, 28.064953925075738], [90.015828891971182, 28.296438503527177], [89.475810174521158, 28.042758897406365], [88.814248488320573, 27.299315904239389], [88.730325962278528, 28.086864732367552], [88.120440708369941, 27.876541652939572], [86.954517043000635, 27.974261786403524], [85.823319940131526, 28.203575954698742], [85.011638218123053, 28.642773952747369], [84.23457970575015, 28.839893703724691], [83.89899295444674, 29.320226141877633], [83.337115106137176, 29.463731594352193], [82.327512648450877, 30.115268052688204], [81.525804477874786, 30.422716986608659], [81.111256138029276, 30.183480943313402], [79.721366815107118, 30.882714748654728], [78.738894484374001, 31.515906073527045], [78.458446486326025, 32.61816437431272], [79.176128777995544, 32.483779812137747], [79.208891636068543, 32.994394639613738], [78.811086460285722, 33.506198025032397], [78.912268914713209, 34.321936346975768], [77.83745079947461, 35.494009507787794], [76.192848341785705, 35.89840342868785], [75.896897414050173, 36.666806138651872], [75.158027785140987, 37.133030910789152], [74.980002475895404, 37.419990139305888], [74.829985792952144, 37.990007025701445], [74.864815708316783, 38.378846340481587], [74.25751427602269, 38.606506862943476], [73.928852166646394, 38.505815334622717], [73.675379266254836, 39.431236884105566], [73.960013055318427, 39.660008449861714], [73.822243686828315, 39.893973497063136], [74.776862420556043, 40.366425279291619], [75.467827996730719, 40.56207225194867], [76.526368035797432, 40.427946071935132], [76.90448449087711, 41.066485907549648], [78.187196893226044, 41.185315863604799], [78.543660923175253, 41.582242540038713], [80.119430373051401, 42.12394074153822], [80.259990268885318, 42.34999929459908], [80.180150180994374, 42.920067857426844], [80.866206496101213, 43.180362046881008], [79.966106398441426, 44.917516994804622], [81.947070753918084, 45.317027492853143], [82.458925815769035, 45.539649563166499], [83.180483839860543, 47.330031236350735], [85.164290399113213, 47.000955715516099], [85.720483839870667, 47.452969468773077], [85.76823286330837, 48.455750637396896], [86.59877648310335, 48.549181626980605], [87.359970330762692, 49.214980780629148], [87.751264276076668, 49.297197984405464], [88.013832228551678, 48.599462795600594], [88.854297723346747, 48.069081732773007], [90.280825636763893, 47.693549099307901], [90.970809360724957, 46.88814606382293], [90.585768263718307, 45.719716091487491], [90.945539585334316, 45.286073309910243], [92.133890822318222, 45.115075995456429], [93.480733677141316, 44.97547211362], [94.688928664125356, 44.352331854828456], [95.306875441471504, 44.241330878265458], [95.762454868556688, 43.319449164394619], [96.349395786527808, 42.725635280928643], [97.451757440177971, 42.74888967546007], [99.515817498779995, 42.524691473961688], [100.845865513108279, 42.663804429691417], [101.833040399179936, 42.51487295182627], [103.312278273534787, 41.907468166667613], [104.522281935649005, 41.90834666601662], [104.964993931093431, 41.597409572916334], [106.129315627061658, 42.134327704428891], [107.744772576937976, 42.481515814781908], [109.243595819131428, 42.519446316084149], [110.412103306115299, 42.871233628911014], [111.129682244920218, 43.406834011400171], [111.82958784388137, 43.743118394539486], [111.667737257943202, 44.073175767587706], [111.348376906379428, 44.457441718110047], [111.87330610560025, 45.102079372735112], [112.436062453258842, 45.01164561622425], [113.463906691544196, 44.808893134127111], [114.46033165899604, 45.339816799493875], [115.985096470200133, 45.727235012386004], [116.717868280098855, 46.38820241961524], [117.421701287914246, 46.67273285581421], [118.874325799638711, 46.805412095723646], [119.663269891438745, 46.692679958678944], [119.772823927897562, 47.048058783550132], [118.866574334794947, 47.747060044946195], [118.064142694166719, 48.06673045510373], [117.295507440257438, 47.697709052107385], [116.308952671373234, 47.853410142602812], [115.742837355615734, 47.726544501326273], [115.485282017073018, 48.135382595403442], [116.191802199367601, 49.134598090199056], [116.67880089728618, 49.888531399121398], [117.879244419426371, 49.510983384796944], [119.288460728025839, 50.142882798862033], [119.279365675942358, 50.582907619827282], [120.182049595216924, 51.64356639261802], [120.738191359541972, 51.964115302124547], [120.725789015791975, 52.516226304730814], [120.177088657716865, 52.753886216841195], [121.003084751470226, 53.251401068731226], [122.245747918792858, 53.431725979213681], [123.571506789240843, 53.458804429734627], [125.068211297710434, 53.161044826868832], [125.946348911646169, 52.792798570356936], [126.564399041856959, 51.784255479532689], [126.939156528837657, 51.353894151405896], [127.287455682484904, 50.739797268265434], [127.657407261262378, 49.760270494172929]]]] } }, + { "type": "Feature", "properties": { "admin": "Ivory Coast", "name": "Cte d'Ivoire", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-2.856125047202397, 4.994475816259508], [-3.311084357100071, 4.984295559098014], [-4.008819545904941, 5.179813340674314], [-4.64991736491791, 5.168263658057084], [-5.834496222344525, 4.993700669775135], [-6.528769090185845, 4.705087795425015], [-7.518941209330434, 4.338288479017307], [-7.712159389669749, 4.364565944837721], [-7.63536821128403, 5.188159084489455], [-7.53971513511176, 5.313345241716517], [-7.570152553731686, 5.707352199725903], [-7.993692592795879, 6.126189683451541], [-8.311347622094017, 6.193033148621081], [-8.602880214868618, 6.467564195171659], [-8.385451626000572, 6.911800645368742], [-8.485445522485348, 7.395207831243068], [-8.439298468448696, 7.686042792181736], [-8.280703497744936, 7.687179673692156], [-8.221792364932197, 8.123328762235571], [-8.299048631208562, 8.316443589710302], [-8.203498907900878, 8.455453192575446], [-7.832100389019186, 8.575704250518625], [-8.079113735374348, 9.376223863152033], [-8.309616461612249, 9.789531968622439], [-8.22933712404682, 10.129020290563897], [-8.029943610048617, 10.206534939001711], [-7.89958980959237, 10.297382106970824], [-7.622759161804808, 10.147236232946792], [-6.850506557635057, 10.138993841996237], [-6.666460944027547, 10.430810655148447], [-6.493965013037267, 10.411302801958268], [-6.205222947606429, 10.524060777219132], [-6.050452032892266, 10.096360785355442], [-5.816926235365286, 10.222554633012191], [-5.404341599946973, 10.370736802609144], [-4.954653286143098, 10.152713934769732], [-4.779883592131966, 9.821984768101741], [-4.330246954760383, 9.610834865757139], [-3.980449184576684, 9.862344061721698], [-3.511898972986272, 9.900326239456216], [-2.827496303712706, 9.642460842319775], [-2.56218950032624, 8.219627793811481], [-2.983584967450326, 7.379704901555511], [-3.244370083011261, 6.2504715031135], [-2.810701463217839, 5.389051215024109], [-2.856125047202397, 4.994475816259508]]] } }, + { "type": "Feature", "properties": { "admin": "Cameroon", "name": "Cameroon", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[13.07582238124675, 2.267097072759014], [12.951333855855605, 2.321615708826939], [12.359380323952218, 2.19281220133945], [11.751665480199787, 2.326757513839993], [11.276449008843711, 2.261050930180871], [9.649158155972627, 2.283866075037735], [9.795195753629455, 3.073404445809117], [9.404366896205998, 3.734526882335202], [8.948115675501068, 3.904128933117135], [8.744923943729416, 4.352215277519959], [8.488815545290889, 4.495617377129917], [8.500287713259693, 4.771982937026847], [8.757532993208626, 5.47966583904791], [9.233162876023043, 6.444490668153334], [9.522705926154398, 6.453482367372116], [10.118276808318255, 7.038769639509879], [10.497375115611417, 7.055357774275562], [11.058787876030349, 6.644426784690593], [11.745774366918509, 6.981382961449753], [11.839308709366801, 7.397042344589434], [12.063946160539556, 7.799808457872301], [12.218872104550597, 8.305824082874322], [12.753671502339214, 8.717762762888993], [12.955467970438971, 9.417771714714702], [13.1675997249971, 9.64062632897341], [13.308676385153914, 10.160362046748926], [13.572949659894558, 10.798565985553564], [14.415378859116682, 11.572368882692071], [14.468192172918974, 11.90475169519341], [14.57717776862253, 12.085360826053501], [14.181336297266792, 12.483656927943112], [14.213530714584634, 12.802035427293344], [14.495787387762842, 12.859396267137326], [14.893385857816522, 12.219047756392582], [14.960151808337598, 11.555574042197222], [14.923564894274955, 10.891325181517471], [15.467872755605269, 9.982336737503429], [14.909353875394713, 9.99212942142273], [14.627200555081057, 9.920919297724536], [14.171466098699025, 10.021378282099928], [13.954218377344002, 9.549494940626685], [14.544466586981766, 8.965861314322266], [14.979995558337688, 8.796104234243471], [15.120865512765331, 8.382150173369423], [15.436091749745765, 7.692812404811971], [15.279460483469107, 7.421924546737968], [14.776545444404572, 6.408498033062044], [14.536560092841111, 6.22695872642069], [14.459407179429345, 5.451760565610299], [14.558935988023501, 5.03059764243153], [14.478372430080466, 4.732605495620446], [14.950953403389658, 4.21038930909492], [15.036219516671249, 3.851367295747123], [15.405395948964379, 3.335300604664339], [15.862732374747479, 3.013537298998982], [15.907380812247649, 2.557389431158612], [16.01285241055535, 2.267639675298084], [15.940918816805061, 1.727672634280295], [15.14634199388524, 1.964014797367184], [14.337812534246577, 2.22787466064949], [13.07582238124675, 2.267097072759014]]] } }, + { "type": "Feature", "properties": { "admin": "Democratic Republic of the Congo", "name": "Dem. Rep. Congo", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[30.833859897593801, 3.50916596111034], [30.773346795380036, 2.339883327642127], [31.174149204235807, 2.204465236821263], [30.852670118948048, 1.849396470543809], [30.468507521290292, 1.58380544677972], [30.086153598762703, 1.062312730306288], [29.875778842902488, 0.597379868976304], [29.819503208136634, -0.205310153813372], [29.587837762172164, -0.58740569417948], [29.579466180140876, -1.341313164885626], [29.29188683443661, -1.620055840667987], [29.254834832483336, -2.215109958508911], [29.117478875451546, -2.292211195488384], [29.02492638521678, -2.839257907730157], [29.276383904749046, -3.293907159034063], [29.339997592900342, -4.499983412294092], [29.519986606572925, -5.419978936386313], [29.41999271008816, -5.939998874539432], [29.620032179490003, -6.520015150583424], [30.199996779101692, -7.079980970898161], [30.740015496551781, -8.340007419470913], [30.34608605319081, -8.238256524288216], [29.002912225060467, -8.40703175215347], [28.734866570762495, -8.526559340044576], [28.449871046672818, -9.164918308146083], [28.673681674928922, -9.605924981324931], [28.496069777141763, -10.789883721564044], [28.372253045370421, -11.793646742401389], [28.642417433392346, -11.971568698782312], [29.341547885869087, -12.36074391037241], [29.616001417771223, -12.178894545137307], [29.699613885219485, -13.257226657771827], [28.934285922976834, -13.248958428605132], [28.52356163912102, -12.698604424696679], [28.15510867687998, -12.272480564017894], [27.38879886242378, -12.132747491100663], [27.164419793412456, -11.608748467661071], [26.55308759939961, -11.924439792532125], [25.752309604604726, -11.784965101776356], [25.418118116973197, -11.330935967659958], [24.783169793402948, -11.238693536018962], [24.314516228947948, -11.262826429899269], [24.257155389103982, -10.951992689663655], [23.912215203555714, -10.926826267137512], [23.456790805767433, -10.867863457892481], [22.837345411884733, -11.017621758674329], [22.402798292742371, -10.99307545333569], [22.155268182064304, -11.084801120653768], [22.208753289486388, -9.894796237836507], [21.87518191904234, -9.523707777548564], [21.801801385187897, -8.908706556842978], [21.949130893652036, -8.305900974158275], [21.746455926203303, -7.920084730667147], [21.728110792739695, -7.2908724910813], [20.514748162526498, -7.299605808138629], [20.601822950938292, -6.93931772219968], [20.091621534920645, -6.943090101756993], [20.037723016040214, -7.116361179231644], [19.417502475673157, -7.155428562044297], [19.166613396896107, -7.738183688999753], [19.016751743249664, -7.988245944860132], [18.464175652752683, -7.847014255406442], [18.134221632569048, -7.98767750410492], [17.472970004962232, -8.068551120641699], [17.089995965247166, -7.545688978712525], [16.860190870845198, -7.222297865429984], [16.573179965896141, -6.622644545115087], [16.326528354567042, -5.877470391466267], [13.375597364971892, -5.864241224799548], [13.02486941900696, -5.984388929878157], [12.735171339578695, -5.965682061388497], [12.322431674863507, -6.100092461779658], [12.182336866920249, -5.789930515163837], [12.436688266660866, -5.684303887559245], [12.468004184629734, -5.248361504745003], [12.631611769265788, -4.991271254092935], [12.995517205465173, -4.781103203961883], [13.258240187237044, -4.882957452009165], [13.600234816144676, -4.500138441590969], [14.144956088933295, -4.510008640158715], [14.209034864975219, -4.793092136253597], [14.582603794013179, -4.970238946150139], [15.170991652088441, -4.3435071753143], [15.753540073314749, -3.855164890156096], [16.006289503654298, -3.535132744972528], [15.972803175529149, -2.712392266453612], [16.407091912510051, -1.740927015798682], [16.86530683764212, -1.225816338713287], [17.523716261472853, -0.743830254726987], [17.638644646889983, -0.424831638189246], [17.663552687254676, -0.058083998213817], [17.826540154703245, 0.288923244626105], [17.774191928791563, 0.855658677571085], [17.89883548347958, 1.741831976728278], [18.09427575040743, 2.365721543788055], [18.39379235197114, 2.90044342692822], [18.453065219809925, 3.504385891123348], [18.542982211997778, 4.201785183118317], [18.932312452884755, 4.709506130385973], [19.467783644293146, 5.031527818212779], [20.290679152108932, 4.691677761245287], [20.927591180106273, 4.322785549329736], [21.659122755630019, 4.224341945813719], [22.405123732195531, 4.02916006104732], [22.704123569436284, 4.633050848810156], [22.841479526468103, 4.710126247573483], [23.297213982850135, 4.609693101414221], [24.41053104014625, 5.108784084489129], [24.805028924262409, 4.897246608902349], [25.128833449003274, 4.927244777847789], [25.278798455514302, 5.170408229997191], [25.650455356557465, 5.256087754737123], [26.402760857862535, 5.150874538590869], [27.044065382604703, 5.127852688004835], [27.374226108517483, 5.233944403500059], [27.979977247842807, 4.408413397637373], [28.428993768026906, 4.287154649264493], [28.696677687298795, 4.455077215996936], [29.159078403446497, 4.38926727947323], [29.715995314256013, 4.600804755060024], [29.953500197069467, 4.173699042167683], [30.833859897593801, 3.50916596111034]]] } }, + { "type": "Feature", "properties": { "admin": "Republic of Congo", "name": "Congo", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[12.995517205465173, -4.781103203961883], [12.620759718484491, -4.438023369976135], [12.318607618873923, -4.606230157086187], [11.914963006242086, -5.037986748884789], [11.093772820691923, -3.978826592630546], [11.855121697648114, -3.42687061932105], [11.478038771214299, -2.765618991714241], [11.820963575903189, -2.514161472181982], [12.495702752338159, -2.391688327650242], [12.575284458067639, -1.948511244315134], [13.109618767965626, -2.428740329603513], [13.992407260807706, -2.470804945489099], [14.299210239324564, -1.998275648612213], [14.425455763413593, -1.333406670744971], [14.316418491277741, -0.552627455247048], [13.843320753645653, 0.038757635901149], [14.276265903386953, 1.196929836426619], [14.026668735417214, 1.395677395021153], [13.282631463278816, 1.31418366129688], [13.003113641012074, 1.830896307783319], [13.07582238124675, 2.267097072759014], [14.337812534246577, 2.22787466064949], [15.14634199388524, 1.964014797367184], [15.940918816805061, 1.727672634280295], [16.01285241055535, 2.267639675298084], [16.537058139724135, 3.198254706226278], [17.133042433346297, 3.728196519379451], [17.809900343505259, 3.560196437998569], [18.453065219809925, 3.504385891123348], [18.39379235197114, 2.90044342692822], [18.09427575040743, 2.365721543788055], [17.89883548347958, 1.741831976728278], [17.774191928791563, 0.855658677571085], [17.826540154703245, 0.288923244626105], [17.663552687254676, -0.058083998213817], [17.638644646889983, -0.424831638189246], [17.523716261472853, -0.743830254726987], [16.86530683764212, -1.225816338713287], [16.407091912510051, -1.740927015798682], [15.972803175529149, -2.712392266453612], [16.006289503654298, -3.535132744972528], [15.753540073314749, -3.855164890156096], [15.170991652088441, -4.3435071753143], [14.582603794013179, -4.970238946150139], [14.209034864975219, -4.793092136253597], [14.144956088933295, -4.510008640158715], [13.600234816144676, -4.500138441590969], [13.258240187237044, -4.882957452009165], [12.995517205465173, -4.781103203961883]]] } }, + { "type": "Feature", "properties": { "admin": "Colombia", "name": "Colombia", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-75.373223232713841, -0.15203175212045], [-75.801465827116587, 0.084801337073202], [-76.292314419240938, 0.416047268064119], [-76.576379767549383, 0.256935533037435], [-77.424984300430367, 0.395686753741117], [-77.668612840470416, 0.825893052570961], [-77.855061408179509, 0.809925034992773], [-78.855258755188686, 1.380923773601822], [-78.990935228171026, 1.691369940595251], [-78.617831387023699, 1.766404120283056], [-78.662118089497838, 2.267355454920476], [-78.427610439757302, 2.629555568854215], [-77.931542527971473, 2.696605739752925], [-77.510431281224996, 3.325016994638246], [-77.127689785455246, 3.849636135265356], [-77.496271938776999, 4.087606105969427], [-77.307601284479375, 4.667984117039452], [-77.533220587865713, 5.582811997902496], [-77.318815070286718, 5.845354112161359], [-77.476660732722266, 6.691116441266301], [-77.881571417945239, 7.223771267114783], [-77.75341386586139, 7.709839789252141], [-77.431107957656977, 7.638061224798733], [-77.242566494440069, 7.935278225125442], [-77.474722866511314, 8.524286200388216], [-77.353360765273848, 8.670504665558068], [-76.836673957003541, 8.638749497914715], [-76.086383836557843, 9.336820583529486], [-75.674600185840035, 9.443248195834597], [-75.664704149056149, 9.774003200718736], [-75.480425991503338, 10.618990383339305], [-74.906895107711975, 11.08304474532032], [-74.276752692344871, 11.102035834187586], [-74.197222663047683, 11.310472723836865], [-73.414763963500278, 11.227015285685479], [-72.62783525255962, 11.731971543825519], [-72.238194953078903, 11.955549628136325], [-71.754090135368628, 12.437303168177305], [-71.399822353791691, 12.376040757695289], [-71.137461107045866, 12.112981879113503], [-71.331583624950284, 11.776284084515805], [-71.973921678338272, 11.608671576377116], [-72.227575446242923, 11.108702093953237], [-72.614657762325194, 10.821975409381777], [-72.905286017534692, 10.45034434655477], [-73.027604132769554, 9.736770331252441], [-73.304951544880026, 9.151999823437604], [-72.788729824500379, 9.085027167187331], [-72.660494757768092, 8.62528778730268], [-72.439862230097944, 8.405275376820027], [-72.360900641555958, 8.002638454617893], [-72.479678921178831, 7.632506008327352], [-72.444487270788059, 7.42378489830048], [-72.19835242378187, 7.340430813013682], [-71.960175747348629, 6.991614895043538], [-70.674233567981503, 7.087784735538717], [-70.093312954372408, 6.960376491723109], [-69.389479946557103, 6.099860541198835], [-68.985318569602327, 6.206804917826856], [-68.265052456318216, 6.153268133972473], [-67.695087246355001, 6.267318020040645], [-67.34143958196556, 6.095468044454021], [-67.521531948502741, 5.556870428891968], [-67.744696621355203, 5.221128648291667], [-67.823012254493534, 4.503937282728898], [-67.621835903581271, 3.839481716319994], [-67.33756384954367, 3.542342230641721], [-67.303173183853417, 3.31845408773718], [-67.809938117123693, 2.820655015469569], [-67.447092047786299, 2.600280869960869], [-67.181294318293041, 2.250638129074062], [-66.876325853122566, 1.253360500489336], [-67.065048183852483, 1.130112209473225], [-67.25999752467358, 1.719998684084956], [-67.537810024674684, 2.037162787276329], [-67.868565029558823, 1.692455145673392], [-69.816973232691609, 1.714805202639624], [-69.804596727157701, 1.089081122233466], [-69.218637661400166, 0.985676581217433], [-69.252434048119042, 0.602650865070075], [-69.452396002872447, 0.706158758950693], [-70.015565761989293, 0.541414292804205], [-70.02065589057004, -0.185156345219539], [-69.577065395776586, -0.549991957200163], [-69.420485805932216, -1.122618503426409], [-69.444101935489599, -1.556287123219817], [-69.893635219996611, -4.298186944194326], [-70.394043952094975, -3.766591485207825], [-70.692682054309699, -3.742872002785858], [-70.047708502874841, -2.725156345229699], [-70.813475714791949, -2.256864515800742], [-71.413645799429773, -2.342802422702128], [-71.774760708285385, -2.169789727388937], [-72.325786505813639, -2.434218031426453], [-73.070392218707212, -2.308954359550952], [-73.659503546834586, -1.260491224781134], [-74.122395189089048, -1.002832533373848], [-74.441600511355958, -0.530820000819887], [-75.106624518520064, -0.05720549886486], [-75.373223232713841, -0.15203175212045]]] } }, + { "type": "Feature", "properties": { "admin": "Costa Rica", "name": "Costa Rica", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-82.965783047197348, 8.225027980985983], [-83.508437262694287, 8.446926581247281], [-83.711473965169063, 8.656836249216864], [-83.596313035806631, 8.830443223501417], [-83.632641567707822, 9.051385809765319], [-83.909885626953724, 9.290802720573579], [-84.303401658856345, 9.487354030795712], [-84.64764421256865, 9.615537421095707], [-84.713350796227743, 9.908051866083849], [-84.975660366541319, 10.086723130733004], [-84.911374884770211, 9.795991522658921], [-85.110923428065291, 9.557039699741308], [-85.339488288092255, 9.834542141148658], [-85.660786505866966, 9.93334747969072], [-85.797444831062819, 10.134885565629032], [-85.791708747078417, 10.439337266476612], [-85.65931372754666, 10.754330959511718], [-85.941725430021748, 10.895278428587799], [-85.712540452807289, 11.088444932494822], [-85.561851976244171, 11.217119248901593], [-84.903003302738924, 10.952303371621895], [-84.673069017256239, 11.082657172078139], [-84.355930752281026, 10.999225572142901], [-84.190178595704822, 10.793450018756671], [-83.895054490885926, 10.726839097532444], [-83.655611741861563, 10.938764146361418], [-83.402319708982944, 10.39543813724465], [-83.015676642575158, 9.992982082555553], [-82.546196255203469, 9.566134751824674], [-82.932890998043561, 9.476812038608172], [-82.927154914059145, 9.074330145702914], [-82.719183112300513, 8.925708726431493], [-82.868657192704759, 8.807266343618521], [-82.829770677405151, 8.626295477732368], [-82.9131764391242, 8.423517157419068], [-82.965783047197348, 8.225027980985983]]] } }, + { "type": "Feature", "properties": { "admin": "Cuba", "name": "Cuba", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-82.268151211257035, 23.188610744717703], [-81.404457160146819, 23.117271429938775], [-80.61876868358118, 23.105980129482994], [-79.679523688460222, 22.765303249598823], [-79.281485968732071, 22.399201565027049], [-78.347434455056472, 22.512166246017085], [-77.993295864560253, 22.277193508385928], [-77.146422492161037, 21.657851467367831], [-76.523824835908528, 21.20681956632437], [-76.194620123993175, 21.220565497314006], [-75.598222418912655, 21.01662445727413], [-75.671060350228032, 20.735091254147999], [-74.933896043584483, 20.693905137611381], [-74.178024868451246, 20.284627793859737], [-74.296648118777242, 20.050378526280678], [-74.961594611292924, 19.923435370355687], [-75.634680141894577, 19.873774318923193], [-76.323656175425981, 19.952890936762056], [-77.755480923153044, 19.855480861891873], [-77.085108405246729, 20.413353786698789], [-77.492654588516601, 20.673105373613886], [-78.137292243141573, 20.739948838783427], [-78.482826707661161, 21.028613389565848], [-78.719866502583997, 21.598113511638431], [-79.284999966127913, 21.559175319906497], [-80.217475348618635, 21.827324327069032], [-80.517534552721401, 22.037078965741756], [-81.820943366203167, 22.192056586185068], [-82.169991828118611, 22.387109279870746], [-81.79500179719264, 22.636964830001951], [-82.775897996740838, 22.688150336187057], [-83.494458787759328, 22.168517971276124], [-83.908800421875611, 22.154565334557329], [-84.052150845053248, 21.910575059491251], [-84.547030198896351, 21.801227728761639], [-84.974911058273079, 21.896028143801082], [-84.44706214062775, 22.204949856041903], [-84.23035702181177, 22.56575470630376], [-83.778239915690165, 22.78811839445569], [-83.267547573565736, 22.983041897060641], [-82.510436164057495, 23.078746649665181], [-82.268151211257035, 23.188610744717703]]] } }, + { "type": "Feature", "properties": { "admin": "Northern Cyprus", "name": "N. Cyprus", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[32.731780226377445, 35.14002594658843], [32.802473585752743, 35.145503648411363], [32.946960890440799, 35.38670339613369], [33.667227003724939, 35.373215847305509], [34.576473829900458, 35.671595567358786], [33.900804477684197, 35.245755927057608], [33.973616570783456, 35.058506374647997], [33.866439650210104, 35.093594672174177], [33.675391880027057, 35.017862860650446], [33.525685255677494, 35.038688462864066], [33.475817498515845, 35.000344550103499], [33.45592207208346, 35.101423651666401], [33.383833449036295, 35.162711900364563], [33.190977003723042, 35.173124701471373], [32.919572381326127, 35.087832749973636], [32.731780226377445, 35.14002594658843]]] } }, + { "type": "Feature", "properties": { "admin": "Cyprus", "name": "Cyprus", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[33.973616570783456, 35.058506374647997], [34.004880812320032, 34.978097846001852], [32.97982710137844, 34.571869411755436], [32.490296258277532, 34.701654771456468], [32.256667107885953, 35.103232326796622], [32.731780226377445, 35.14002594658843], [32.919572381326127, 35.087832749973636], [33.190977003723042, 35.173124701471373], [33.383833449036295, 35.162711900364563], [33.45592207208346, 35.101423651666401], [33.475817498515845, 35.000344550103499], [33.525685255677494, 35.038688462864066], [33.675391880027057, 35.017862860650446], [33.866439650210104, 35.093594672174177], [33.973616570783456, 35.058506374647997]]] } }, + { "type": "Feature", "properties": { "admin": "Czech Republic", "name": "Czech Rep.", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[16.960288120194573, 48.596982326850593], [16.49928266771877, 48.785808010445095], [16.029647251050218, 48.733899034207916], [15.253415561593979, 49.039074205107575], [14.901447381254055, 48.964401760445817], [14.33889773932472, 48.555305284207193], [13.595945672264433, 48.877171942737135], [13.031328973043427, 49.307068182973232], [12.52102420416119, 49.54741526956272], [12.415190870827441, 49.96912079528056], [12.240111118222556, 50.266337795607271], [12.96683678554319, 50.484076443069071], [13.338131951560282, 50.733234361364346], [14.05622765468817, 50.926917629594286], [14.307013380600633, 51.117267767941399], [14.570718214586062, 51.002339382524262], [15.016995883858666, 51.106674099321566], [15.490972120839725, 50.7847299261432], [16.238626743238566, 50.697732652379827], [16.176253289462263, 50.4226073268579], [16.719475945714429, 50.215746568393527], [16.868769158605655, 50.473973700556016], [17.554567091551117, 50.36214590107641], [17.649445021238986, 50.049038397819942], [18.392913852622168, 49.988628648470737], [18.85314415861361, 49.496229763377634], [18.554971144289478, 49.495015367218777], [18.399993523846174, 49.315000515330034], [18.170498488037961, 49.271514797556421], [18.104972771891848, 49.043983466175298], [17.913511590250462, 48.996492824899072], [17.886484816161808, 48.903475246773695], [17.545006951577101, 48.800019029325362], [17.101984897538895, 48.8169688991171], [16.960288120194573, 48.596982326850593]]] } }, + { "type": "Feature", "properties": { "admin": "Germany", "name": "Germany", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[9.92190636560923, 54.983104153048025], [9.939579705452898, 54.596641954153242], [10.950112338920517, 54.363607082733147], [10.939466993868447, 54.008693345752583], [11.95625247564328, 54.196485500701144], [12.518440382546711, 54.470370591847988], [13.647467075259495, 54.075510972705885], [14.119686313542555, 53.757029120491026], [14.353315463934164, 53.248171291713092], [14.074521111719431, 52.981262518925334], [14.437599725002197, 52.62485016540829], [14.685026482815713, 52.089947414755208], [14.607098422919645, 51.745188096719964], [15.016995883858781, 51.106674099321701], [14.570718214586119, 51.002339382524369], [14.307013380600662, 51.117267767941364], [14.05622765468831, 50.92691762959435], [13.338131951560397, 50.733234361364268], [12.966836785543249, 50.484076443069164], [12.240111118222668, 50.266337795607214], [12.41519087082747, 49.969120795280602], [12.521024204161332, 49.547415269562741], [13.031328973043513, 49.307068182973232], [13.595945672264575, 48.877171942737156], [13.243357374737112, 48.416114813829026], [12.884102817443873, 48.289145819687846], [13.025851271220514, 47.637583523135945], [12.93262698736606, 47.467645575543983], [12.620759718484519, 47.672387600284409], [12.141357456112869, 47.703083401065768], [11.426414015354847, 47.523766181013045], [10.544504021861597, 47.566399237653783], [10.402083774465321, 47.302487697939164], [9.896068149463188, 47.58019684507569], [9.594226108446376, 47.525058091820185], [8.522611932009793, 47.830827541691342], [8.317301466514092, 47.613579820336263], [7.466759067422286, 47.620581976911907], [7.59367638513106, 48.333019110703724], [8.099278598674855, 49.017783515003423], [6.658229607783709, 49.201958319691627], [6.186320428094176, 49.4638028021145], [6.242751092156992, 49.90222565367872], [6.043073357781109, 50.128051662794221], [6.156658155958779, 50.803721015010574], [5.988658074577812, 51.85161570902504], [6.589396599970825, 51.85202912048338], [6.842869500362381, 52.228440253297542], [7.092053256873895, 53.14404328064488], [6.905139601274128, 53.482162177130633], [7.100424838905268, 53.693932196662658], [7.936239454793961, 53.748295803433777], [8.121706170289483, 53.527792466844275], [8.800734490604667, 54.02078563090889], [8.572117954145368, 54.395646470754045], [8.526229282270206, 54.962743638725144], [9.282048780971136, 54.830865383516297], [9.92190636560923, 54.983104153048025]]] } }, + { "type": "Feature", "properties": { "admin": "Djibouti", "name": "Djibouti", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[43.081226027200152, 12.699638576707112], [43.317852410664663, 12.390148423711022], [43.286381463398911, 11.974928290245883], [42.715873650896519, 11.735640570518338], [43.145304803242126, 11.462039699748853], [42.776851841000948, 10.926878566934416], [42.55493000000012, 11.105110000000193], [42.314140000000116, 11.0342], [41.755570000000191, 11.05091], [41.739590000000177, 11.355110000000137], [41.661760000000122, 11.6312], [42.000000000000107, 12.100000000000133], [42.351560000000106, 12.54223000000013], [42.779642368344739, 12.455415757695672], [43.081226027200152, 12.699638576707112]]] } }, + { "type": "Feature", "properties": { "admin": "Denmark", "name": "Denmark", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[12.690006137755629, 55.60999095318077], [12.089991082414738, 54.800014553437919], [11.043543328504226, 55.36486379660424], [10.90391360845163, 55.779954738988735], [12.370904168353288, 56.111407375708822], [12.690006137755629, 55.60999095318077]]], [[[10.912181837618359, 56.4586213242779], [10.667803989309986, 56.081383368547208], [10.369992710011983, 56.190007229224719], [9.649984978889306, 55.469999498102041], [9.921906365609173, 54.983104153048046], [9.282048780971136, 54.830865383516155], [8.526229282270235, 54.962743638724973], [8.120310906617588, 55.517722683323612], [8.089976840862247, 56.540011705137587], [8.256581658571262, 56.809969387430286], [8.543437534223385, 57.110002753316891], [9.424469028367609, 57.172066148499468], [9.775558709358561, 57.447940782289649], [10.580005730846151, 57.730016587954843], [10.54610599126269, 57.21573273378614], [10.250000034230222, 56.890016181050456], [10.369992710011983, 56.60998159446082], [10.912181837618359, 56.4586213242779]]]] } }, + { "type": "Feature", "properties": { "admin": "Dominican Republic", "name": "Dominican Rep.", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-71.71236141629295, 19.714455878167353], [-71.587304450146604, 19.884910590082093], [-70.806706102161726, 19.880285549391981], [-70.214364997016119, 19.622885240146157], [-69.950815192327568, 19.647999986240002], [-69.769250047470067, 19.293267116772437], [-69.222125820579862, 19.313214219637096], [-69.254346076113819, 19.015196234609871], [-68.809411994080818, 18.979074408437846], [-68.317943284768958, 18.612197577381689], [-68.689315965434503, 18.205142320218609], [-69.164945848248905, 18.422648423735108], [-69.623987596297624, 18.380712998930246], [-69.952933926051529, 18.428306993071057], [-70.133232998317879, 18.245915025296892], [-70.517137213814195, 18.184290879788829], [-70.669298468697619, 18.42688589118303], [-70.999950120717173, 18.283328762276206], [-71.400209927033885, 17.598564357976596], [-71.657661912712001, 17.757572740138695], [-71.708304816358037, 18.044997056546091], [-71.687737596305865, 18.316660061104468], [-71.945112067335543, 18.616900132720257], [-71.701302659782485, 18.785416978424049], [-71.624873216422813, 19.169837958243303], [-71.71236141629295, 19.714455878167353]]] } }, + { "type": "Feature", "properties": { "admin": "Algeria", "name": "Algeria", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[11.99950564947161, 23.471668402596443], [8.572893100629782, 21.565660712159136], [5.677565952180684, 19.601206976799713], [4.267419467800038, 19.155265204336995], [3.158133172222704, 19.057364203360034], [3.146661004253899, 19.693578599521441], [2.683588494486428, 19.856230170160114], [2.060990838233919, 20.142233384679482], [1.823227573259032, 20.61080943448604], [-1.550054897457613, 22.792665920497377], [-4.92333736817423, 24.974574082940993], [-8.684399786809051, 27.395744126895998], [-8.66512447756419, 27.58947907155822], [-8.665589565454805, 27.656425889592349], [-8.674116176782972, 28.841288967396572], [-7.059227667661928, 29.579228420524522], [-6.060632290053772, 29.731699734001687], [-5.242129278982786, 30.000443020135581], [-4.859646165374469, 30.501187649043839], [-3.690441046554695, 30.896951605751152], [-3.647497931320145, 31.637294012980668], [-3.068980271812647, 31.724497992473207], [-2.616604783529567, 32.094346218386143], [-1.30789913573787, 32.262888902306095], [-1.124551153966308, 32.651521511357124], [-1.388049282222567, 32.864015000941301], [-1.733454555661467, 33.91971283623198], [-1.792985805661686, 34.527918606091198], [-2.169913702798624, 35.168396307916673], [-1.208602871089056, 35.71484874118709], [-0.127454392894606, 35.888662421200799], [0.503876580415209, 36.301272894835272], [1.466918572606545, 36.605647081034398], [3.161698846050824, 36.783904934225205], [4.815758090849129, 36.865036932923452], [5.320120070017792, 36.716518866516616], [6.261819695672611, 37.110655015606731], [7.330384962603969, 37.118380642234364], [7.737078484741003, 36.885707505840209], [8.420964389691674, 36.946427313783154], [8.217824334352313, 36.433176988260271], [8.376367628623766, 35.479876003555937], [8.140981479534302, 34.655145982393783], [7.524481642292242, 34.097376410451453], [7.612641635782181, 33.344114895148955], [8.430472853233367, 32.748337307255944], [8.439102817426116, 32.506284898400814], [9.055602654668148, 32.102691962201284], [9.482139926805273, 30.307556057246181], [9.805634392952411, 29.424638373323383], [9.859997999723443, 28.959989732371007], [9.683884718472765, 28.144173895779193], [9.756128370816779, 27.688258571884141], [9.629056023811073, 27.140953477480913], [9.716285841519747, 26.512206325785691], [9.319410841518161, 26.094324856057447], [9.910692579801774, 25.365454616796733], [9.948261346077969, 24.93695364023251], [10.30384687667836, 24.37931325937091], [10.771363559622925, 24.562532050061744], [11.560669386449002, 24.097909247325511], [11.99950564947161, 23.471668402596443]]] } }, + { "type": "Feature", "properties": { "admin": "Ecuador", "name": "Ecuador", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-80.302560594387188, -3.404856459164712], [-79.770293341780913, -2.65751189535964], [-79.986559210922394, -2.220794366061014], [-80.368783942369234, -2.685158786635788], [-80.967765469064332, -2.246942640800703], [-80.764806281238023, -1.965047702648532], [-80.933659023751702, -1.057454522306358], [-80.583370327461239, -0.906662692878683], [-80.39932471385373, -0.283703301600141], [-80.020898200180355, 0.360340074053468], [-80.090609707342097, 0.768428859862396], [-79.542762010399784, 0.982937730305963], [-78.855258755188686, 1.380923773601822], [-77.855061408179509, 0.809925034992773], [-77.668612840470416, 0.825893052570961], [-77.424984300430367, 0.395686753741117], [-76.576379767549383, 0.256935533037435], [-76.292314419240938, 0.416047268064119], [-75.801465827116587, 0.084801337073202], [-75.373223232713841, -0.15203175212045], [-75.233722703741932, -0.911416924649529], [-75.544995693652027, -1.56160979574588], [-76.635394253226707, -2.608677666843817], [-77.83790483265858, -3.003020521663103], [-78.450683966775628, -3.873096612161375], [-78.639897223612323, -4.547784112164072], [-79.205289069317715, -4.959128513207388], [-79.62497921417615, -4.454198093283494], [-80.028908047185581, -4.346090996928893], [-80.442241990872134, -4.425724379090673], [-80.46929460317692, -4.059286797708999], [-80.184014858709645, -3.821161797708043], [-80.302560594387188, -3.404856459164712]]] } }, + { "type": "Feature", "properties": { "admin": "Egypt", "name": "Egypt", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[34.9226, 29.50133], [34.64174, 29.09942], [34.42655, 28.34399], [34.15451, 27.8233], [33.92136, 27.6487], [33.58811, 27.97136], [33.13676, 28.41765], [32.42323, 29.85108], [32.32046, 29.76043], [32.73482, 28.70523], [33.34876, 27.69989], [34.10455, 26.14227], [34.47387, 25.59856], [34.79507, 25.03375], [35.69241, 23.92671], [35.49372, 23.75237], [35.52598, 23.10244], [36.69069, 22.20485], [36.86623, 22.0], [32.9, 22.0], [29.02, 22.0], [25.0, 22.0], [25.0, 25.682499996360992], [25.0, 29.238654529533452], [24.70007, 30.04419], [24.95762, 30.6616], [24.80287, 31.08929], [25.16482, 31.56915], [26.49533, 31.58568], [27.45762, 31.32126], [28.45048, 31.02577], [28.91353, 30.87005], [29.68342, 31.18686], [30.09503, 31.4734], [30.97693, 31.55586], [31.68796, 31.4296], [31.96041, 30.9336], [32.19247, 31.26034], [32.99392, 31.02407], [33.7734, 30.96746], [34.26544, 31.21936], [34.9226, 29.50133]]] } }, + { "type": "Feature", "properties": { "admin": "Eritrea", "name": "Eritrea", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[42.351560000000106, 12.54223000000013], [42.00975, 12.86582], [41.59856, 13.452090000000108], [41.15519371924983, 13.773319810435224], [40.8966, 14.118640000000138], [40.026218702969167, 14.519579169162281], [39.34061, 14.53155], [39.0994, 14.74064], [38.51295, 14.50547], [37.90607, 14.959430000000165], [37.59377, 14.2131], [36.42951, 14.42211], [36.323188917798113, 14.822480577041057], [36.753860304518575, 16.291874091044289], [36.852530000000108, 16.95655], [37.16747, 17.263140000000128], [37.904000000000103, 17.42754], [38.410089959473218, 17.998307399970312], [38.990622999839999, 16.84062612555169], [39.266110060388016, 15.922723496967246], [39.814293654140208, 15.435647284400314], [41.179274936697645, 14.491079616753209], [41.734951613132345, 13.921036892141554], [42.276830682144848, 13.34399201095442], [42.589576450375255, 13.000421250861901], [43.081226027200152, 12.699638576707112], [42.779642368344739, 12.455415757695672], [42.351560000000106, 12.54223000000013]]] } }, + { "type": "Feature", "properties": { "admin": "Spain", "name": "Spain", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[-9.034817674180244, 41.880570583659669], [-8.98443315269567, 42.592775173506261], [-9.392883673530644, 43.026624660812686], [-7.978189663108308, 43.748337714200979], [-6.754491746436754, 43.567909450853918], [-5.411886359061596, 43.574239813809669], [-4.347842779955783, 43.403449205085025], [-3.51753170410609, 43.455900783861296], [-1.901351284177764, 43.422802028978332], [-1.502770961910528, 43.034014390630425], [0.338046909190581, 42.579546006839543], [0.701590610363894, 42.795734361332599], [1.826793247087153, 42.343384711265678], [2.985998976258457, 42.473015041669854], [3.039484083680548, 41.892120266276891], [2.091841668312184, 41.226088568683082], [0.810524529635188, 41.014731960609332], [0.721331007499401, 40.678318386389229], [0.106691521819869, 40.123933620762003], [-0.278711310212941, 39.309978135732713], [0.111290724293838, 38.738514309233032], [-0.467123582349103, 38.292365831041138], [-0.683389451490598, 37.642353827457811], [-1.438382127274849, 37.443063666324214], [-2.146452602538119, 36.674144192037282], [-3.415780808923386, 36.658899644511173], [-4.368900926114718, 36.677839056946141], [-4.995219285492211, 36.32470815687963], [-5.377159796561457, 35.946850083961458], [-5.866432257500902, 36.02981659600605], [-6.236693894872174, 36.367677110330327], [-6.520190802425402, 36.942913316387312], [-7.45372555177809, 37.097787583966053], [-7.537105475281022, 37.428904323876232], [-7.166507941099863, 37.803894354802217], [-7.029281175148794, 38.075764065089757], [-7.374092169616317, 38.373058580064914], [-7.098036668313126, 39.03007274022378], [-7.498632371439724, 39.629571031241802], [-7.066591559263527, 39.711891587882768], [-7.026413133156593, 40.184524237624238], [-6.864019944679383, 40.330871893874821], [-6.851126674822551, 41.111082668617513], [-6.389087693700914, 41.381815497394641], [-6.668605515967655, 41.883386949219577], [-7.251308966490822, 41.91834605566504], [-7.422512986673794, 41.792074693359822], [-8.01317460776991, 41.790886135417118], [-8.26385698081779, 42.280468654950326], [-8.671945766626719, 42.134689439454952], [-9.034817674180244, 41.880570583659669]]] } }, + { "type": "Feature", "properties": { "admin": "Estonia", "name": "Estonia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[24.312862583114615, 57.793423570376966], [24.428927850042154, 58.383413397853275], [24.061198357853179, 58.257374579493394], [23.426560092876681, 58.612753404364618], [23.339795363058641, 59.187240302153363], [24.604214308376182, 59.465853786855007], [25.864189080516631, 59.611090399811324], [26.949135776484518, 59.445803331125767], [27.981114129353237, 59.47538808861286], [28.131699253051742, 59.300825100330904], [27.420166456824941, 58.724581203844224], [27.716685825315714, 57.791899115624354], [27.288184848751509, 57.474528306703817], [26.46353234223778, 57.476388658266316], [25.602809685984365, 57.847528794986559], [25.164593540149262, 57.970156968815175], [24.312862583114615, 57.793423570376966]]] } }, + { "type": "Feature", "properties": { "admin": "Ethiopia", "name": "Ethiopia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[37.90607, 14.959430000000165], [38.51295, 14.50547], [39.0994, 14.74064], [39.34061, 14.53155], [40.026250000000111, 14.51959], [40.8966, 14.118640000000138], [41.1552, 13.77333], [41.59856, 13.452090000000108], [42.00975, 12.86582], [42.351560000000106, 12.54223000000013], [42.000000000000107, 12.100000000000133], [41.661760000000122, 11.6312], [41.739590000000177, 11.355110000000137], [41.755570000000191, 11.05091], [42.314140000000116, 11.0342], [42.55493000000012, 11.105110000000193], [42.776851841000948, 10.926878566934416], [42.55876, 10.572580000000126], [42.92812, 10.021940000000139], [43.29699, 9.540480000000169], [43.67875, 9.183580000000116], [46.94834, 7.99688], [47.78942, 8.003], [44.9636, 5.001620000000115], [43.66087, 4.95755], [42.769670000000119, 4.252590000000223], [42.12861, 4.234130000000163], [41.855083092644108, 3.918911920483764], [41.171800000000125, 3.91909], [40.768480000000118, 4.257020000000124], [39.854940000000106, 3.83879000000013], [39.559384258765917, 3.422060000000215], [38.89251, 3.50074], [38.67114, 3.61607], [38.436970000000137, 3.58851], [38.120915000000132, 3.598605], [36.85509323800823, 4.447864127672857], [36.159078632855646, 4.447864127672857], [35.817447662353622, 4.776965663462021], [35.817447662353622, 5.338232082790852], [35.298007118233095, 5.506], [34.70702, 6.59422000000012], [34.25032, 6.82607], [34.075100000000184, 7.22595], [33.56829, 7.71334], [32.954180000000228, 7.7849700000001], [33.294800000000116, 8.35458], [33.82550000000014, 8.37916], [33.97498, 8.684560000000145], [33.96162, 9.58358], [34.25745, 10.63009], [34.73115000000012, 10.910170000000106], [34.831630000000125, 11.318960000000116], [35.26049, 12.08286], [35.863630000000164, 12.57828], [36.27022, 13.563330000000118], [36.42951, 14.42211], [37.59377, 14.2131], [37.90607, 14.959430000000165]]] } }, + { "type": "Feature", "properties": { "admin": "Finland", "name": "Finland", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[28.591929559043187, 69.064776923286644], [28.445943637818651, 68.36461294216403], [29.9774263852206, 67.698297024192641], [29.054588657352319, 66.944286200621917], [30.21765, 65.80598], [29.544429559046982, 64.948671576590471], [30.444684686003704, 64.204453436939076], [30.035872430142714, 63.552813625738544], [31.516092156711117, 62.867687486412869], [31.139991082490891, 62.357692776124395], [30.211107212044443, 61.780027777749673], [28.06999759289527, 60.503516547275829], [26.25517296723697, 60.423960679762487], [24.496623976344516, 60.057316392651636], [22.869694858499454, 59.846373196036211], [22.290763787533589, 60.391921291741525], [21.322244093519313, 60.720169989659503], [21.544866163832687, 61.705329494871783], [21.059211053153682, 62.607393296958726], [21.536029493910799, 63.189735012455863], [22.442744174903986, 63.817810370531276], [24.730511508897528, 64.902343655040823], [25.398067661243939, 65.111426500093728], [25.2940430030404, 65.53434642197044], [23.903378533633795, 66.006927395279604], [23.565879754335576, 66.396050930437411], [23.539473097434435, 67.936008612735236], [21.978534783626113, 68.616845608180682], [20.645592889089521, 69.106247260200846], [21.244936150810666, 69.370443020293067], [22.356237827247405, 68.841741441514898], [23.662049594830751, 68.891247463650529], [24.735679152126721, 68.649556789821446], [25.689212680776361, 69.092113755969024], [26.179622023226241, 69.825298977326113], [27.732292107867856, 70.164193020296239], [29.015572950971968, 69.766491197377974], [28.591929559043187, 69.064776923286644]]] } }, + { "type": "Feature", "properties": { "admin": "Fiji", "name": "Fiji", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[178.3736, -17.33992], [178.71806, -17.62846], [178.55271, -18.15059], [177.93266, -18.28799], [177.38146, -18.16432], [177.28504, -17.72465], [177.67087, -17.38114], [178.12557, -17.50481], [178.3736, -17.33992]]], [[[179.364142661964223, -16.801354076946847], [178.725059362997058, -17.012041674368017], [178.596838595117021, -16.63915], [179.096609362997128, -16.43398427754742], [179.413509362997075, -16.379054277547393], [180.000000000000114, -16.067132663642436], [180.000000000000114, -16.555216566639157], [179.364142661964223, -16.801354076946847]]], [[[-179.917369384765237, -16.501783135649358], [-180.0, -16.555216566639157], [-180.0, -16.067132663642436], [-179.793320109048551, -16.020882256741228], [-179.917369384765237, -16.501783135649358]]]] } }, + { "type": "Feature", "properties": { "admin": "Falkland Islands", "name": "Falkland Is.", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-61.2, -51.85], [-60.0, -51.25], [-59.15, -51.5], [-58.55, -51.1], [-57.75, -51.55], [-58.05, -51.9], [-59.4, -52.2], [-59.85, -51.85], [-60.7, -52.3], [-61.2, -51.85]]] } }, + { "type": "Feature", "properties": { "admin": "France", "name": "France", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-52.556424730018378, 2.504705308437053], [-52.939657151894963, 2.124857692875622], [-53.41846513529525, 2.053389187016037], [-53.554839240113481, 2.334896551925964], [-53.778520677288881, 2.376702785650053], [-54.088062506717264, 2.105556545414629], [-54.524754197799737, 2.311848863123785], [-54.271229620975781, 2.738747870286942], [-54.184284023644743, 3.194172268075234], [-54.011503872276812, 3.622569891774857], [-54.3995422023565, 4.212611395683481], [-54.478632981979203, 4.896755682795642], [-53.958044603070917, 5.756548163267808], [-53.618452928264837, 5.646529038918401], [-52.882141282754063, 5.409850979021598], [-51.823342861525916, 4.565768133966144], [-51.657797410678874, 4.156232408053028], [-52.249337531123977, 3.241094468596287], [-52.556424730018378, 2.504705308437053]]], [[[9.560016310269132, 42.152491970379558], [9.229752231491771, 41.380006822264441], [8.77572309737536, 41.583611965494427], [8.544212680707828, 42.256516628583078], [8.746009148807586, 42.628121853193946], [9.390000848028901, 43.009984849614725], [9.560016310269132, 42.152491970379558]]], [[[3.588184441755714, 50.378992418003563], [4.28602298342514, 49.90749664977254], [4.799221632515752, 49.985373033236314], [5.674051954784885, 49.529483547557433], [5.897759230176375, 49.442667141307155], [6.186320428094204, 49.463802802114444], [6.658229607783538, 49.201958319691549], [8.09927859867477, 49.017783515003366], [7.59367638513106, 48.333019110703724], [7.466759067422228, 47.620581976911851], [7.192202182655533, 47.449765529970982], [6.736571079138086, 47.541801255882874], [6.768713820023634, 47.287708238303672], [6.037388950228971, 46.725778713561894], [6.022609490593566, 46.272989813820502], [6.500099724970453, 46.429672756529428], [6.84359297041456, 45.991146552100659], [6.80235517744566, 45.708579820328673], [7.096652459347835, 45.333098863295859], [6.749955275101711, 45.028517971367584], [7.007562290076661, 44.254766750661382], [7.549596388386161, 44.127901109384808], [7.435184767291841, 43.693844916349164], [6.529245232783068, 43.12889232031835], [4.556962517931395, 43.399650987311581], [3.100410597352719, 43.075200507167118], [2.985998976258486, 42.473015041669882], [1.826793247087181, 42.343384711265649], [0.701590610363922, 42.795734361332642], [0.338046909190581, 42.57954600683955], [-1.502770961910471, 43.034014390630482], [-1.901351284177735, 43.422802028978332], [-1.384225226232956, 44.022610378590166], [-1.193797573237361, 46.014917710954862], [-2.225724249673788, 47.064362697938201], [-2.963276129559573, 47.570326646507958], [-4.491554938159481, 47.95495433205641], [-4.592349819344746, 48.68416046812694], [-3.295813971357745, 48.901692409859628], [-1.616510789384932, 48.644421291694577], [-1.933494025063254, 49.776341864615759], [-0.98946895995536, 49.347375800160869], [1.338761020522753, 50.127173163445256], [1.6390010921385, 50.9466063502975], [2.51357303224617, 51.14850617126185], [2.65842207196033, 50.796848049515646], [3.123251580425716, 50.780363267614504], [3.588184441755714, 50.378992418003563]]]] } }, + { "type": "Feature", "properties": { "admin": "Gabon", "name": "Gabon", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[11.093772820691923, -3.978826592630546], [10.066135288135738, -2.969482517105681], [9.405245395554969, -2.144313246269042], [8.797995639693168, -1.111301364754496], [8.830086704146423, -0.779073581550037], [9.048419630579586, -0.459351494960217], [9.291350538783687, 0.268666083167687], [9.492888624721981, 1.010119533691494], [9.83028405115564, 1.067893784993799], [11.285078973036461, 1.057661851400013], [11.276449008843711, 2.261050930180871], [11.751665480199787, 2.326757513839993], [12.359380323952218, 2.19281220133945], [12.951333855855605, 2.321615708826939], [13.07582238124675, 2.267097072759014], [13.003113641012074, 1.830896307783319], [13.282631463278816, 1.31418366129688], [14.026668735417214, 1.395677395021153], [14.276265903386953, 1.196929836426619], [13.843320753645653, 0.038757635901149], [14.316418491277741, -0.552627455247048], [14.425455763413593, -1.333406670744971], [14.299210239324564, -1.998275648612213], [13.992407260807706, -2.470804945489099], [13.109618767965626, -2.428740329603513], [12.575284458067639, -1.948511244315134], [12.495702752338159, -2.391688327650242], [11.820963575903189, -2.514161472181982], [11.478038771214299, -2.765618991714241], [11.855121697648114, -3.42687061932105], [11.093772820691923, -3.978826592630546]]] } }, + { "type": "Feature", "properties": { "admin": "United Kingdom", "name": "United Kingdom", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-5.661948614921896, 54.554603176483838], [-6.197884894220976, 53.867565009163329], [-6.953730231137994, 54.073702297575622], [-7.572167934591078, 54.059956366585979], [-7.366030646178785, 54.595840969452688], [-7.572167934591078, 55.131622219454883], [-6.733847011736144, 55.172860012423783], [-5.661948614921896, 54.554603176483838]]], [[[-3.00500484863528, 58.635000108466322], [-4.073828497728015, 57.55302480735525], [-3.055001796877661, 57.690019029360933], [-1.959280564776918, 57.684799709699512], [-2.219988165689301, 56.870017401753515], [-3.119003058271118, 55.97379303651546], [-2.085009324543023, 55.909998480851264], [-2.005675679673856, 55.804902850350217], [-1.11499101399221, 54.624986477265388], [-0.4304849918542, 54.464376125702145], [0.184981316742039, 53.325014146531018], [0.469976840831777, 52.929999498091959], [1.681530795914739, 52.739520168663987], [1.559987827164377, 52.099998480836], [1.050561557630914, 51.806760565795678], [1.4498653499503, 51.289427802121949], [0.550333693045502, 50.765738837275862], [-0.787517462558639, 50.774988918656206], [-2.489997524414377, 50.500018622431227], [-2.956273972984035, 50.696879991247002], [-3.617448085942327, 50.228355617872708], [-4.542507900399243, 50.341837063185658], [-5.245023159191134, 49.959999904981082], [-5.776566941745299, 50.159677639356815], [-4.309989793301837, 51.210001125689146], [-3.414850633142122, 51.426008612669236], [-3.422719467108322, 51.426848167406078], [-4.984367234710873, 51.593466091510962], [-5.267295701508885, 51.991400458374571], [-4.222346564134852, 52.30135569926135], [-4.770013393564112, 52.840004991255611], [-4.579999152026914, 53.495003770555165], [-3.093830673788658, 53.404547400669671], [-3.092079637047106, 53.404440822963544], [-2.945008510744343, 53.98499970154667], [-3.614700825433033, 54.60093677329256], [-3.63000545898933, 54.615012925833], [-4.844169073903003, 54.790971177786837], [-5.082526617849224, 55.061600653699358], [-4.719112107756643, 55.508472601943467], [-5.047980922862108, 55.783985500707516], [-5.586397670911139, 55.311146145236805], [-5.64499874513018, 56.275014960344791], [-6.149980841486352, 56.785009670633528], [-5.78682471355529, 57.818848375064633], [-5.009998745127574, 58.630013332750039], [-4.211494513353555, 58.550845038479153], [-3.00500484863528, 58.635000108466322]]]] } }, + { "type": "Feature", "properties": { "admin": "Georgia", "name": "Georgia", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[41.55408410011065, 41.535656236327561], [41.703170607272703, 41.962942816732912], [41.453470086438379, 42.645123399417926], [40.875469191253785, 43.013628038091277], [40.321394484220313, 43.128633938156831], [39.955008579270917, 43.434997666999216], [40.07696495947976, 43.553104153002309], [40.922184686045618, 43.38215851498078], [42.394394565608806, 43.220307929042619], [43.756016880067378, 42.74082815202248], [43.931199985536828, 42.554973863284758], [44.537622918481979, 42.71199270280362], [45.470279168485703, 42.502780666669963], [45.776410353382758, 42.09244395605635], [46.404950799348818, 41.860675157227298], [46.145431756379004, 41.722802435872573], [46.637908156120574, 41.181672675128219], [46.501637404166921, 41.064444688474104], [45.962600538930381, 41.123872585609767], [45.217426385281577, 41.411451931314041], [44.972480096218071, 41.248128567055588], [43.582745802592726, 41.09214325618256], [42.619548781104484, 41.583172715819934], [41.55408410011065, 41.535656236327561]]] } }, + { "type": "Feature", "properties": { "admin": "Ghana", "name": "Ghana", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[1.060121697604927, 5.928837388528875], [-0.507637905265938, 5.343472601742675], [-1.063624640294193, 5.000547797053811], [-1.964706590167594, 4.71046214438337], [-2.856125047202397, 4.994475816259508], [-2.810701463217839, 5.389051215024109], [-3.244370083011261, 6.2504715031135], [-2.983584967450326, 7.379704901555511], [-2.56218950032624, 8.219627793811481], [-2.827496303712706, 9.642460842319775], [-2.963896246747111, 10.395334784380081], [-2.94040930827046, 10.962690334512557], [-1.203357713211431, 11.009819240762736], [-0.761575893548183, 10.936929633015053], [-0.438701544588582, 11.09834096927872], [0.023802524423701, 11.018681748900802], [-0.049784715159944, 10.706917832883928], [0.367579990245389, 10.191212876827176], [0.365900506195885, 9.46500397382948], [0.461191847342121, 8.677222601756013], [0.712029249686878, 8.312464504423827], [0.490957472342245, 7.411744289576474], [0.570384148774849, 6.914358628767188], [0.836931186536333, 6.279978745952147], [1.060121697604927, 5.928837388528875]]] } }, + { "type": "Feature", "properties": { "admin": "Guinea", "name": "Guinea", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-8.439298468448696, 7.686042792181736], [-8.722123582382123, 7.711674302598509], [-8.926064622422002, 7.309037380396375], [-9.208786383490844, 7.313920803247952], [-9.403348151069748, 7.526905218938906], [-9.33727983238458, 7.928534450711351], [-9.755342169625832, 8.541055202666923], [-10.016566534861253, 8.42850393313523], [-10.230093553091276, 8.406205552601291], [-10.505477260774667, 8.348896389189603], [-10.494315151399629, 8.715540676300433], [-10.65477047366589, 8.977178452994194], [-10.622395188835037, 9.267910061068276], [-10.839151984083299, 9.688246161330367], [-11.117481248407328, 10.045872911006283], [-11.917277390988655, 10.046983954300556], [-12.150338100625003, 9.858571682164378], [-12.425928514037562, 9.835834051955953], [-12.596719122762206, 9.620188300001969], [-12.711957566773076, 9.342711696810765], [-13.246550258832512, 8.903048610871506], [-13.685153977909788, 9.494743760613458], [-14.074044969122278, 9.886166897008248], [-14.330075852912367, 10.015719712763966], [-14.579698859098254, 10.214467271358513], [-14.693231980843501, 10.65630076745404], [-14.83955379887794, 10.876571560098139], [-15.130311245168167, 11.040411688679525], [-14.685687221728896, 11.527823798056485], [-14.382191534878727, 11.509271958863691], [-14.121406419317776, 11.677117010947693], [-13.900799729863772, 11.678718980348744], [-13.743160773157411, 11.811269029177408], [-13.828271857142122, 12.142644151249041], [-13.718743658899511, 12.247185573775507], [-13.700476040084322, 12.586182969610192], [-13.217818162478235, 12.575873521367964], [-12.499050665730561, 12.332089952031053], [-12.278599005573438, 12.354440008997285], [-12.20356482588563, 12.465647691289401], [-11.658300950557928, 12.386582749882834], [-11.513942836950587, 12.442987575729415], [-11.456168585648269, 12.076834214725336], [-11.297573614944508, 12.077971096235768], [-11.036555955438256, 12.211244615116513], [-10.870829637078211, 12.177887478072106], [-10.593223842806278, 11.923975328005977], [-10.165213792348835, 11.844083563682743], [-9.890992804392011, 12.060478623904968], [-9.567911749703212, 12.194243068892472], [-9.327616339546008, 12.334286200403451], [-9.127473517279581, 12.308060411015331], [-8.905264858424529, 12.088358059126433], [-8.786099005559462, 11.812560939984705], [-8.376304897484911, 11.393645941610627], [-8.581305304386772, 11.136245632364801], [-8.620321010767126, 10.810890814655181], [-8.407310756860026, 10.90925690352276], [-8.282357143578279, 10.792597357623842], [-8.335377163109738, 10.494811916541932], [-8.029943610048617, 10.206534939001711], [-8.22933712404682, 10.129020290563897], [-8.309616461612249, 9.789531968622439], [-8.079113735374348, 9.376223863152033], [-7.832100389019186, 8.575704250518625], [-8.203498907900878, 8.455453192575446], [-8.299048631208562, 8.316443589710302], [-8.221792364932197, 8.123328762235571], [-8.280703497744936, 7.687179673692156], [-8.439298468448696, 7.686042792181736]]] } }, + { "type": "Feature", "properties": { "admin": "Gambia", "name": "Gambia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-16.84152462408127, 13.151393947802557], [-16.713728807023468, 13.594958604379853], [-15.624596320039936, 13.623587347869556], [-15.398770310924457, 13.860368760630916], [-15.081735398813816, 13.876491807505982], [-14.687030808968483, 13.63035696049978], [-14.376713833055785, 13.625680243377371], [-14.046992356817478, 13.794067898000446], [-13.844963344772404, 13.505041612191999], [-14.277701788784553, 13.28058502853224], [-14.712197231494626, 13.298206691943774], [-15.141163295949463, 13.509511623585235], [-15.511812506562931, 13.278569647672864], [-15.691000535534991, 13.270353094938455], [-15.931295945692208, 13.130284125211331], [-16.84152462408127, 13.151393947802557]]] } }, + { "type": "Feature", "properties": { "admin": "Guinea Bissau", "name": "Guinea-Bissau", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-15.130311245168167, 11.040411688679525], [-15.664180467175523, 11.458474025920792], [-16.085214199273562, 11.524594021038236], [-16.314786749730199, 11.806514797406548], [-16.308947312881227, 11.958701890506116], [-16.613838263403277, 12.170911159712698], [-16.67745195155457, 12.38485158940105], [-16.147716844130581, 12.547761542201185], [-15.816574266004251, 12.515567124883345], [-15.548476935274005, 12.628170070847343], [-13.700476040084322, 12.586182969610192], [-13.718743658899511, 12.247185573775507], [-13.828271857142122, 12.142644151249041], [-13.743160773157411, 11.811269029177408], [-13.900799729863772, 11.678718980348744], [-14.121406419317776, 11.677117010947693], [-14.382191534878727, 11.509271958863691], [-14.685687221728896, 11.527823798056485], [-15.130311245168167, 11.040411688679525]]] } }, + { "type": "Feature", "properties": { "admin": "Equatorial Guinea", "name": "Eq. Guinea", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[9.492888624721981, 1.010119533691494], [9.305613234096255, 1.160911363119183], [9.649158155972627, 2.283866075037735], [11.276449008843711, 2.261050930180871], [11.285078973036461, 1.057661851400013], [9.83028405115564, 1.067893784993799], [9.492888624721981, 1.010119533691494]]] } }, + { "type": "Feature", "properties": { "admin": "Greece", "name": "Greece", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[23.699980096133, 35.705004380835526], [24.246665073348673, 35.368022365860149], [25.025015496528873, 35.424995632461979], [25.769207797964182, 35.354018052709073], [25.745023227651579, 35.179997666966209], [26.290002882601719, 35.299990342747911], [26.164997592887651, 35.004995429009789], [24.724982130642299, 34.919987697889603], [24.735007358506941, 35.084990546197581], [23.514978468528106, 35.27999156345097], [23.699980096133, 35.705004380835526]]], [[[26.604195590936282, 41.562114569661098], [26.294602085075777, 40.936261298174244], [26.056942172965499, 40.824123440100827], [25.44767703624418, 40.852545477861455], [24.925848422960932, 40.947061672523226], [23.714811232200809, 40.687129218095116], [24.407998894964063, 40.124992987624083], [23.89996788910258, 39.962005520175573], [23.342999301860797, 39.960997829745786], [22.813987664488959, 40.476005153966547], [22.626298862404777, 40.256561184239175], [22.849747755634805, 39.659310818025759], [23.350027296652595, 39.190011298167256], [22.97309939951554, 38.97090322524965], [23.53001631032495, 38.51000112563846], [24.025024855248937, 38.219992987616443], [24.040011020613601, 37.655014553369419], [23.115002882589145, 37.920011298162215], [23.409971958111065, 37.409990749657389], [22.77497195810863, 37.305010077456551], [23.154225294698612, 36.422505804992042], [22.4900281104511, 36.410000108377446], [21.670026482843692, 36.84498647719419], [21.295010613701574, 37.644989325504689], [21.120034213961329, 38.31032339126272], [20.730032179454579, 38.769985256498778], [20.217712029712853, 39.340234686839629], [20.150015903410516, 39.624997666984022], [20.615000441172779, 40.110006822259422], [20.67499677906363, 40.434999904943048], [20.999989861747274, 40.580003973953964], [21.020040317476422, 40.842726955725873], [21.674160597426969, 40.931274522457976], [22.055377638444266, 41.149865831052686], [22.597308383889008, 41.130487168943198], [22.76177, 41.3048], [22.952377150166562, 41.337993882811212], [23.692073601992455, 41.309080918943849], [24.492644891058031, 41.583896185872035], [25.19720136892553, 41.234485988930651], [26.106138136507177, 41.328898830727823], [26.11704186372091, 41.826904608724725], [26.604195590936282, 41.562114569661098]]]] } }, + { "type": "Feature", "properties": { "admin": "Greenland", "name": "Greenland", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-46.76379, 82.62796], [-43.40644, 83.22516], [-39.89753, 83.18018], [-38.62214, 83.54905], [-35.08787, 83.64513], [-27.10046, 83.51966], [-20.84539, 82.72669], [-22.69182, 82.34165], [-26.51753, 82.29765], [-31.9, 82.2], [-31.39646, 82.02154], [-27.85666, 82.13178], [-24.84448, 81.78697], [-22.90328, 82.09317], [-22.07175, 81.73449], [-23.16961, 81.15271], [-20.62363, 81.52462], [-15.76818, 81.91245], [-12.77018, 81.71885], [-12.20855, 81.29154], [-16.28533, 80.58004], [-16.85, 80.35], [-20.04624, 80.17708], [-17.73035, 80.12912], [-18.9, 79.4], [-19.70499, 78.75128], [-19.67353, 77.63859], [-18.47285, 76.98565], [-20.03503, 76.94434], [-21.67944, 76.62795], [-19.83407, 76.09808], [-19.59896, 75.24838], [-20.66818, 75.15585], [-19.37281, 74.29561], [-21.59422, 74.22382], [-20.43454, 73.81713], [-20.76234, 73.46436], [-22.17221, 73.30955], [-23.56593, 73.30663], [-22.31311, 72.62928], [-22.29954, 72.18409], [-24.27834, 72.59788], [-24.79296, 72.3302], [-23.44296, 72.08016], [-22.13281, 71.46898], [-21.75356, 70.66369], [-23.53603, 70.471], [-24.30702, 70.85649], [-25.54341, 71.43094], [-25.20135, 70.75226], [-26.36276, 70.22646], [-23.72742, 70.18401], [-22.34902, 70.12946], [-25.02927, 69.2588], [-27.74737, 68.47046], [-30.67371, 68.12503], [-31.77665, 68.12078], [-32.81105, 67.73547], [-34.20196, 66.67974], [-36.35284, 65.9789], [-37.04378, 65.93768], [-38.37505, 65.69213], [-39.81222, 65.45848], [-40.66899, 64.83997], [-40.68281, 64.13902], [-41.1887, 63.48246], [-42.81938, 62.68233], [-42.41666, 61.90093], [-42.86619, 61.07404], [-43.3784, 60.09772], [-44.7875, 60.03676], [-46.26364, 60.85328], [-48.26294, 60.85843], [-49.23308, 61.40681], [-49.90039, 62.38336], [-51.63325, 63.62691], [-52.14014, 64.27842], [-52.27659, 65.1767], [-53.66166, 66.09957], [-53.30161, 66.8365], [-53.96911, 67.18899], [-52.9804, 68.35759], [-51.47536, 68.72958], [-51.08041, 69.14781], [-50.87122, 69.9291], [-52.013585, 69.574925], [-52.55792, 69.42616], [-53.45629, 69.283625], [-54.68336, 69.61003], [-54.75001, 70.28932], [-54.35884, 70.821315], [-53.431315, 70.835755], [-51.39014, 70.56978], [-53.10937, 71.20485], [-54.00422, 71.54719], [-55.0, 71.406536967272558], [-55.83468, 71.65444], [-54.71819, 72.58625], [-55.32634, 72.95861], [-56.12003, 73.64977], [-57.32363, 74.71026], [-58.59679, 75.09861], [-58.58516, 75.51727], [-61.26861, 76.10238], [-63.39165, 76.1752], [-66.06427, 76.13486], [-68.50438, 76.06141], [-69.66485, 76.37975], [-71.40257, 77.00857], [-68.77671, 77.32312], [-66.76397, 77.37595], [-71.04293, 77.63595], [-73.297, 78.04419], [-73.15938, 78.43271], [-69.37345, 78.91388], [-65.7107, 79.39436], [-65.3239, 79.75814], [-68.02298, 80.11721], [-67.15129, 80.51582], [-63.68925, 81.21396], [-62.23444, 81.3211], [-62.65116, 81.77042], [-60.28249, 82.03363], [-57.20744, 82.19074], [-54.13442, 82.19962], [-53.04328, 81.88833], [-50.39061, 82.43883], [-48.00386, 82.06481], [-46.59984, 81.985945], [-44.523, 81.6607], [-46.9007, 82.19979], [-46.76379, 82.62796]]] } }, + { "type": "Feature", "properties": { "admin": "Guatemala", "name": "Guatemala", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-90.095554572290951, 13.73533763270073], [-90.608624030300817, 13.909771429901948], [-91.232410244496037, 13.927832342987953], [-91.689746670279106, 14.126218166556452], [-92.227750006869812, 14.538828640190925], [-92.203229539747298, 14.830102850804066], [-92.087215949252041, 15.064584662328436], [-92.229248623406249, 15.251446641495857], [-91.747960171255912, 16.066564846251719], [-90.464472622422647, 16.069562079324651], [-90.438866950222021, 16.410109768128091], [-90.600846727240906, 16.470777899638758], [-90.711821865587694, 16.687483018454724], [-91.081670091500641, 16.918476670799404], [-91.453921271515128, 17.252177232324168], [-91.002269253284197, 17.254657701074176], [-91.001519945015943, 17.817594916245707], [-90.067933519230948, 17.819326076727474], [-89.143080410503302, 17.808318996649316], [-89.15080603713092, 17.015576687075832], [-89.229121670269265, 15.886937567605166], [-88.930612759135244, 15.887273464415072], [-88.604586147805833, 15.706380113177358], [-88.518364020526846, 15.855389105690971], [-88.22502275262201, 15.727722479713901], [-88.680679694355618, 15.346247056535301], [-89.15481096063354, 15.066419175674806], [-89.225220099631244, 14.874286200413618], [-89.145535041037149, 14.67801911056908], [-89.353325975282772, 14.424132798719112], [-89.587342698916544, 14.362586167859485], [-89.5342193265205, 14.244815578666302], [-89.7219339668207, 14.134228013561694], [-90.064677903996568, 13.881969509328924], [-90.095554572290951, 13.73533763270073]]] } }, + { "type": "Feature", "properties": { "admin": "Guyana", "name": "Guyana", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-59.758284878159181, 8.367034816924045], [-59.10168412945864, 7.99920197187049], [-58.482962205628041, 7.347691351750696], [-58.454876064677414, 6.832787380394463], [-58.078103196837361, 6.809093736188641], [-57.542218593970631, 6.321268215353355], [-57.147436489476874, 5.973149929219161], [-57.307245856339492, 5.073566595882225], [-57.914288906472123, 4.812626451024413], [-57.860209520078691, 4.576801052260449], [-58.044694383360664, 4.060863552258382], [-57.601568976457848, 3.334654649260684], [-57.281433478409703, 3.333491929534119], [-57.150097825739898, 2.768926906745406], [-56.53938574891454, 1.89952260986692], [-56.782704230360814, 1.863710842288653], [-57.33582292339689, 1.948537705895759], [-57.660971035377358, 1.682584947105638], [-58.113449876525003, 1.507195135907025], [-58.429477098205957, 1.46394196207872], [-58.540012986878288, 1.26808828369252], [-59.030861579002639, 1.317697658692722], [-59.646043667221242, 1.786893825686789], [-59.718545701726732, 2.249630438644359], [-59.974524909084543, 2.755232652188055], [-59.815413174057852, 3.606498521332085], [-59.538039923731219, 3.958802598481937], [-59.767405768458701, 4.423502915866606], [-60.111002366767373, 4.574966538914082], [-59.980958624904865, 5.014061184098138], [-60.213683437731319, 5.2444863956876], [-60.733574184803707, 5.2002772078619], [-61.410302903881941, 5.959068101419616], [-61.139415045807937, 6.234296779806142], [-61.159336310456467, 6.696077378766317], [-60.543999192940966, 6.856584377464881], [-60.295668097562377, 7.043911444522918], [-60.637972785063752, 7.414999904810853], [-60.550587938058186, 7.779602972846178], [-59.758284878159181, 8.367034816924045]]] } }, + { "type": "Feature", "properties": { "admin": "Honduras", "name": "Honduras", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-87.316654425795463, 12.984685777229], [-87.48940873894712, 13.29753489832393], [-87.793111131526501, 13.384480495655165], [-87.723502977229288, 13.785050360565602], [-87.859515347021599, 13.893312486217097], [-88.065342576840109, 13.964625962779788], [-88.503997972349609, 13.845485948130939], [-88.541230841815931, 13.98015473068352], [-88.843072882832743, 14.140506700085208], [-89.058511929057644, 14.340029405164213], [-89.353325975282786, 14.424132798719084], [-89.145535041037164, 14.678019110569149], [-89.22522009963123, 14.874286200413675], [-89.154810960633526, 15.066419175674863], [-88.680679694355575, 15.346247056535386], [-88.225022752621925, 15.727722479714027], [-88.121153123715359, 15.688655096901355], [-87.901812506852394, 15.864458319558194], [-87.615680101252309, 15.878798529519198], [-87.522920905288444, 15.797278957578779], [-87.367762417332116, 15.846940009011286], [-86.903191291028165, 15.756712958229565], [-86.440945604177372, 15.782835394753189], [-86.119233974944322, 15.893448798073958], [-86.00195431185783, 16.005405788634388], [-85.68331743034625, 15.953651841693949], [-85.444003872402547, 15.885749009662444], [-85.182443610357183, 15.909158433490628], [-84.98372188997881, 15.995923163308698], [-84.526979743167118, 15.857223619037423], [-84.36825558138257, 15.835157782448729], [-84.063054572266807, 15.648244126849132], [-83.773976610026111, 15.42407176356687], [-83.410381232420363, 15.27090281825377], [-83.147219000974104, 14.995829169164207], [-83.489988776366005, 15.01626719813566], [-83.628584967772866, 14.880073960830368], [-83.975721401693576, 14.749435939996483], [-84.228341640952394, 14.748764146376626], [-84.449335903648588, 14.62161428472251], [-84.64958207877963, 14.666805324761865], [-84.820036790694289, 14.819586696832628], [-84.924500698572302, 14.790492865452332], [-85.052787441736868, 14.551541042534719], [-85.148750576502877, 14.560196844943615], [-85.165364549484806, 14.354369615125048], [-85.514413011400265, 14.079011745657905], [-85.698665330736944, 13.960078436737998], [-85.801294725268505, 13.8360549992376], [-86.096263800790595, 14.03818736414723], [-86.312142096689826, 13.771356106008223], [-86.520708177419891, 13.778487453664464], [-86.755086636079596, 13.754845485890936], [-86.733821784191463, 13.263092556201398], [-86.880557013684353, 13.254204209847213], [-87.005769009127434, 13.025794379117254], [-87.316654425795463, 12.984685777229]]] } }, + { "type": "Feature", "properties": { "admin": "Croatia", "name": "Croatia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[18.829838087650039, 45.908877671891837], [19.072768995854172, 45.521511135432078], [19.390475701584588, 45.236515611342369], [19.005486281010118, 44.860233669609144], [18.553214145591646, 45.08158966733145], [17.861783481526398, 45.067740383477137], [17.00214603035101, 45.233776760430935], [16.534939406000202, 45.211607570977705], [16.318156772535868, 45.004126695325901], [15.959367303133373, 45.233776760430935], [15.750026075918978, 44.81871165626255], [16.239660271884528, 44.351143296885695], [16.456442905348862, 44.041239732431265], [16.916156447017325, 43.667722479825663], [17.297373488034449, 43.446340643887353], [17.674921502358981, 43.028562527023603], [18.56, 42.65], [18.450016310304814, 42.47999136002931], [17.509970330483323, 42.84999461523914], [16.930005730871638, 43.209998480800373], [16.015384555737679, 43.507215481127204], [15.174453973052094, 44.243191229827907], [15.376250441151793, 44.317915350922064], [14.920309279040504, 44.73848399512945], [14.901602410550874, 45.076060289076104], [14.258747592839992, 45.233776760430935], [13.952254672917032, 44.802123521496853], [13.65697553880119, 45.136935126315947], [13.679403110415816, 45.484149074884996], [13.715059848697248, 45.500323798192419], [14.411968214585496, 45.466165676447403], [14.595109490627916, 45.63494090431282], [14.935243767972961, 45.471695054702757], [15.327674594797424, 45.452316392593325], [15.323953891672428, 45.731782538427687], [15.671529575267638, 45.8341535507979], [15.768732944408608, 46.23810822202352], [16.564808383864939, 46.503750922219794], [16.882515089595412, 46.380631822284428], [17.630066359129554, 45.951769110694087], [18.456062452882858, 45.759481106136143], [18.829838087650039, 45.908877671891837]]] } }, + { "type": "Feature", "properties": { "admin": "Haiti", "name": "Haiti", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-73.189790615517595, 19.915683905511909], [-72.579672817663607, 19.871500555902351], [-71.71236141629295, 19.714455878167353], [-71.624873216422813, 19.169837958243303], [-71.701302659782485, 18.785416978424049], [-71.945112067335543, 18.616900132720257], [-71.687737596305865, 18.316660061104468], [-71.708304816358037, 18.044997056546091], [-72.372476162389333, 18.214960842354053], [-72.844411180294856, 18.145611070218362], [-73.454554816365018, 18.217906398994696], [-73.922433234335642, 18.030992743395], [-74.458033616824764, 18.342549953682703], [-74.369925299767118, 18.664907538319408], [-73.449542202432696, 18.526052964751141], [-72.694937099890623, 18.445799465401858], [-72.334881557896992, 18.66842153571525], [-72.791649542924873, 19.101625067618027], [-72.784104783810264, 19.483591416903405], [-73.41502234566174, 19.639550889560276], [-73.189790615517595, 19.915683905511909]]] } }, + { "type": "Feature", "properties": { "admin": "Hungary", "name": "Hungary", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[16.202298211337361, 46.852385972676949], [16.534267612380372, 47.496170966169103], [16.340584344150411, 47.712901923201215], [16.903754103267257, 47.714865627628321], [16.979666782304033, 48.123497015976298], [17.488472934649813, 47.867466132186209], [17.857132602620023, 47.758428860050365], [18.696512892336923, 47.88095368101439], [18.777024773847668, 48.081768296900627], [19.174364861739885, 48.111378892603859], [19.66136355965849, 48.266614895208647], [19.769470656013109, 48.2026911484636], [20.239054396249344, 48.327567247096916], [20.473562045989862, 48.562850043321809], [20.801293979584919, 48.62385407164237], [21.872236362401729, 48.319970811550007], [22.085608351334848, 48.422264309271782], [22.640819939878746, 48.150239569687351], [22.710531447040488, 47.882193915389394], [22.09976769378283, 47.672439276716695], [21.626514926853869, 46.994237779318148], [21.021952345471245, 46.316087958351886], [20.220192498462833, 46.127468980486547], [19.596044549241579, 46.171729844744533], [18.829838087649957, 45.908877671891915], [18.456062452882858, 45.759481106136121], [17.630066359129554, 45.95176911069418], [16.882515089595298, 46.380631822284428], [16.564808383864854, 46.503750922219822], [16.370504998447412, 46.841327216166498], [16.202298211337361, 46.852385972676949]]] } }, + { "type": "Feature", "properties": { "admin": "Indonesia", "name": "Indonesia", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[120.715608758630438, -10.239581394087862], [120.295014276206871, -10.258649997603525], [118.967808465654684, -9.55796925215803], [119.900309686361609, -9.361340427287514], [120.425755649905398, -9.665921319215796], [120.775501743656719, -9.969675388227456], [120.715608758630438, -10.239581394087862]]], [[[124.435950148619384, -10.14000090906144], [123.579981724136701, -10.359987481327961], [123.459989048354998, -10.239994805546171], [123.55000939340745, -9.900015557497978], [123.980008986508096, -9.290026950724693], [124.96868248911619, -8.892790215697046], [125.070019972840612, -9.089987481322835], [125.088520135601073, -9.393173109579321], [124.435950148619384, -10.14000090906144]]], [[[117.900018345207741, -8.095681247594923], [118.260616489740471, -8.362383314653327], [118.87845991422212, -8.280682875199828], [119.126506789223086, -8.705824883665072], [117.97040164598927, -8.906639499551257], [117.277730747549015, -9.040894870645557], [116.74014082241662, -9.032936700072637], [117.083737420725313, -8.457157891476539], [117.632024367342126, -8.44930307376819], [117.900018345207741, -8.095681247594923]]], [[[122.903537225436082, -8.094234307490735], [122.756982863456287, -8.649807631060638], [121.2544905945701, -8.933666273639941], [119.924390903809567, -8.810417982623873], [119.920928582846102, -8.44485890059107], [120.715091994307542, -8.236964613480863], [121.341668735846554, -8.53673959720602], [122.007364536630405, -8.46062021244016], [122.903537225436082, -8.094234307490735]]], [[[108.623478631628927, -6.777673841990675], [110.539227329553285, -6.877357679881682], [110.759575636845909, -6.465186455921751], [112.614811232556349, -6.946035658397589], [112.978768345188087, -7.594213148634578], [114.478935174621142, -7.776527601760277], [115.705526971501058, -8.370806573116864], [114.564511346496488, -8.75181690840483], [113.464733514460875, -8.348947442257424], [112.559672479301028, -8.376180922075163], [111.522061395312448, -8.302128594600957], [110.586149530074294, -8.122604668819021], [109.427667270955183, -7.740664157749761], [108.693655226681301, -7.641600437046219], [108.277763299596302, -7.766657403192579], [106.454102004016136, -7.354899590690947], [106.280624220812285, -6.924899997590201], [105.365486281355516, -6.851416110871169], [106.051645949327053, -5.895918877794499], [107.265008579540165, -5.954985039904058], [108.072091099074683, -6.345762220895237], [108.486846144649235, -6.421984958525768], [108.623478631628927, -6.777673841990675]]], [[[134.724624465066654, -6.214400730009286], [134.210133905168902, -6.895237725454704], [134.112775506730998, -6.142467136259014], [134.290335728085779, -5.783057549669038], [134.499625278867882, -5.445042006047898], [134.727001580952106, -5.737582289252158], [134.724624465066654, -6.214400730009286]]], [[[127.249215122588893, -3.459065036638889], [126.874922723498855, -3.790982761249579], [126.183802118027302, -3.607376397316556], [125.989033644719257, -3.177273451351325], [127.00065148326496, -3.12931772218441], [127.249215122588893, -3.459065036638889]]], [[[130.471344028851775, -3.09376433676762], [130.834836053592767, -3.858472181822761], [129.990546502808115, -3.446300957862817], [129.155248651242403, -3.362636813982248], [128.590683628453633, -3.428679294451256], [127.898891229362334, -3.393435967628192], [128.135879347852779, -2.843650404474914], [129.370997756060888, -2.802154229344551], [130.471344028851775, -3.09376433676762]]], [[[134.143367954647772, -1.151867364103594], [134.422627394753022, -2.769184665542383], [135.457602980694674, -3.367752780779113], [136.293314243718754, -2.30704233155609], [137.4407377463275, -1.703513278819372], [138.329727411044757, -1.70268645590265], [139.18492068904294, -2.051295668143637], [139.926684198160387, -2.409051608900284], [141.000210402591847, -2.600151055515624], [141.017056919519007, -5.85902190513802], [141.033851760013874, -9.117892754760417], [140.143415155192542, -8.297167657100955], [139.127766554928087, -8.096042982620942], [138.881476678624949, -8.380935153846094], [137.614473911692812, -8.41168263105976], [138.039099155835174, -7.597882175327354], [138.668621454014783, -7.320224704623072], [138.407913853102343, -6.232849216337483], [137.927839797110835, -5.393365573755998], [135.989250116113453, -4.546543877789047], [135.164597609599667, -4.462931410340771], [133.662880487197867, -3.538853448097526], [133.367704705946778, -4.024818617370314], [132.983955519747326, -4.112978610860281], [132.75694095268895, -3.746282647317129], [132.753788690319197, -3.311787204607071], [131.989804315316178, -2.820551039240455], [133.066844517143466, -2.460417982598443], [133.780030959203486, -2.479848321140209], [133.69621178602614, -2.214541517753687], [132.232373488494204, -2.212526136894325], [131.836221958544684, -1.617161960459597], [130.942839797082797, -1.432522067880796], [130.519558140180038, -0.937720228686075], [131.867537876513609, -0.695461114101818], [132.380116408416768, -0.369537855636977], [133.985548130428384, -0.780210463060442], [134.143367954647772, -1.151867364103594]]], [[[125.240500522971573, 1.419836127117605], [124.43703535369734, 0.427881171058971], [123.685504998876695, 0.235593166500877], [122.723083123872854, 0.431136786293337], [121.056724888189081, 0.381217352699451], [120.18308312386273, 0.23724681233422], [120.040869582195455, -0.519657891444851], [120.935905389490699, -1.408905938323372], [121.475820754076167, -0.955962009285116], [123.34056481332847, -0.615672702643081], [123.258399285984481, -1.076213067228337], [122.822715285331597, -0.930950616055881], [122.388529901215364, -1.516858005381124], [121.508273553555455, -1.904482924002422], [122.454572381684272, -3.186058444840881], [122.271896193532541, -3.529500013852696], [123.170962762546537, -4.683693129091707], [123.162332798353759, -5.34060393638596], [122.628515252778683, -5.634591159694494], [122.236394484548057, -5.282933037948281], [122.71956912647704, -4.46417164471579], [121.738233677254357, -4.851331475446499], [121.48946333220124, -4.574552504091215], [121.619171177253861, -4.188477878438674], [120.898181593917684, -3.602105401222828], [120.972388950688767, -2.627642917494909], [120.305452915529884, -2.931603692235725], [120.39004723519173, -4.097579034037223], [120.430716587405371, -5.528241062037778], [119.796543410319487, -5.67340016034565], [119.36690555224493, -5.379878024927804], [119.653606398600104, -4.459417412944958], [119.498835483885969, -3.49441171632651], [119.078344354326987, -3.487021986508764], [118.767768996252869, -2.801999200047688], [119.180973748858662, -2.147103773612798], [119.323393996255049, -1.35314706788047], [119.825998976725828, 0.154254462073496], [120.035701938966341, 0.566477362465804], [120.885779250167687, 1.309222723796835], [121.666816847826965, 1.013943589681076], [122.927566766451818, 0.875192368977465], [124.077522414242836, 0.917101955566139], [125.065989211121803, 1.643259182131558], [125.240500522971573, 1.419836127117605]]], [[[128.688248732620707, 1.132385972494106], [128.635952183141342, 0.258485826006179], [128.120169712436166, 0.356412665199286], [127.968034295768845, -0.252077325037533], [128.379998813999691, -0.780003757331286], [128.100015903842291, -0.899996433112974], [127.69647464407501, -0.266598402511505], [127.399490187693743, 1.011721503092573], [127.600511509309044, 1.81069082275718], [127.932377557487484, 2.174596258956555], [128.004156121940809, 1.628531398928331], [128.594559360875451, 1.540810655112864], [128.688248732620707, 1.132385972494106]]], [[[117.875627069166001, 1.827640692548911], [118.996747267738158, 0.902219143066048], [117.811858351717788, 0.784241848143722], [117.478338657706047, 0.102474676917026], [117.521643507966587, -0.803723239753211], [116.560048455879496, -1.487660821136231], [116.533796828275158, -2.483517347832901], [116.148083937648607, -4.012726332214014], [116.000857782049067, -3.657037448749008], [114.864803094544513, -4.106984144714416], [114.468651564595064, -3.49570362713382], [113.755671828264099, -3.439169610206519], [113.256994256647545, -3.118775729996854], [112.068126255340644, -3.478392022316071], [111.703290643359992, -2.994442233902631], [111.04824018762821, -3.049425957861188], [110.223846063275971, -2.934032484553483], [110.070935500124335, -1.592874037282414], [109.571947869914041, -1.314906507984489], [109.091873813922518, -0.459506524257051], [108.952657505328162, 0.415375474444346], [109.069136183714036, 1.341933905437642], [109.663260125773718, 2.006466986494984], [109.830226678508836, 1.338135687664191], [110.514060907027101, 0.773131415200993], [111.159137811326559, 0.976478176269509], [111.797548455860408, 0.904441229654651], [112.380251906383648, 1.410120957846757], [112.859809198052176, 1.497790025229946], [113.805849644019531, 1.217548732911041], [114.621355422017473, 1.430688177898886], [115.134037306785231, 2.821481838386219], [115.51907840379198, 3.169238389494395], [115.86551720587677, 4.306559149590156], [117.01521447150634, 4.306094061699468], [117.882034946770162, 4.137551377779487], [117.313232456533513, 3.234428208830578], [118.048329705885351, 2.287690131027361], [117.875627069166001, 1.827640692548911]]], [[[105.817655063909356, -5.852355645372411], [104.710384149191498, -5.873284600450644], [103.868213332130736, -5.037314955264974], [102.584260695406897, -4.220258884298203], [102.156173130300999, -3.614146009946765], [101.399113397225051, -2.799777113459171], [100.902502882900137, -2.05026213949786], [100.141980828860596, -0.650347588710957], [99.26373986206022, 0.183141587724663], [98.970011020913319, 1.042882391764536], [98.601351352943084, 1.823506577965616], [97.699597609449881, 2.453183905442116], [97.17694217324987, 3.30879059489861], [96.424016554757316, 3.86885976807791], [95.380876092513475, 4.970782172053673], [95.293026157617305, 5.479820868344816], [95.936862827541745, 5.439513251157108], [97.484882033277088, 5.24632090903401], [98.369169142655679, 4.268370266126366], [99.142558628335792, 3.590349636240915], [99.693997837322399, 3.174328518075156], [100.641433546961665, 2.099381211755798], [101.658012323007313, 2.083697414555189], [102.498271112073212, 1.398700466310217], [103.076840448013002, 0.561361395668854], [103.838396030698348, 0.104541734208666], [103.437645298274973, -0.711945896002845], [104.010788608824001, -1.059211521004229], [104.369991489684878, -1.084843031421016], [104.539490187602155, -1.782371514496716], [104.887892694113987, -2.340425306816655], [105.622111444116982, -2.42884368246807], [106.10859337771268, -3.06177662517895], [105.857445916774111, -4.305524997579723], [105.817655063909356, -5.852355645372411]]]] } }, + { "type": "Feature", "properties": { "admin": "India", "name": "India", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[77.837450799474553, 35.494009507787759], [78.912268914713209, 34.321936346975782], [78.811086460285722, 33.506198025032404], [79.208891636068572, 32.994394639613709], [79.176128777995501, 32.483779812137705], [78.458446486325997, 32.61816437431272], [78.738894484374001, 31.515906073527056], [79.721366815107089, 30.882714748654724], [81.11125613802929, 30.183480943313398], [80.476721225917373, 29.729865220655334], [80.088424513676259, 28.794470119740136], [81.057202589851997, 28.416095282499036], [81.999987420584958, 27.925479234319987], [83.304248895199535, 27.364505723575554], [84.675017938173767, 27.234901231387528], [85.25177859898335, 26.726198431906337], [86.024392938179147, 26.630984605408567], [87.22747195836628, 26.39789805755607], [88.060237664749806, 26.414615383402484], [88.174804315140904, 26.810405178325944], [88.043132765661198, 27.445818589786818], [88.120440708369841, 27.876541652939586], [88.730325962278528, 28.086864732367509], [88.814248488320544, 27.299315904239361], [88.835642531289366, 27.098966376243755], [89.744527622438838, 26.71940298105995], [90.37327477413406, 26.875724188742872], [91.217512648486405, 26.808648179628019], [92.033483514375078, 26.838310451763554], [92.10371178585973, 27.4526140406332], [91.69665652869665, 27.771741848251661], [92.503118931043616, 27.896876329046442], [93.413347609432662, 28.640629380807219], [94.565990431702929, 29.277438055939978], [95.404802280664612, 29.031716620392125], [96.117678664131006, 29.452802028922459], [96.586590610747479, 28.830979519154337], [96.248833449287758, 28.411030992134435], [97.327113885490007, 28.261582749946331], [97.402561476636123, 27.88253611908544], [97.051988559968066, 27.699058946233144], [97.133999058015277, 27.08377350514996], [96.419365675850941, 27.264589341739221], [95.124767694074933, 26.573572089132295], [95.155153436262566, 26.001307277932078], [94.603249139385355, 25.162495428970399], [94.552657912171611, 24.675238348890328], [94.106741977925054, 23.850740871673477], [93.325187615942767, 24.078556423432197], [93.286326938859247, 23.043658352138998], [93.060294224014598, 22.703110663335565], [93.166127557348361, 22.278459580977099], [92.672720981825549, 22.041238918541247], [92.146034783906799, 23.62749868417259], [91.869927606171302, 23.62434642180278], [91.706475050832083, 22.985263983649183], [91.158963250699713, 23.503526923104381], [91.467729933643668, 24.072639471934789], [91.915092807994398, 24.130413723237108], [92.376201613334786, 24.976692816664961], [91.799595981822065, 25.14743174895731], [90.872210727912105, 25.13260061288954], [89.920692580121838, 25.269749864192171], [89.832480910199592, 25.965082098895476], [89.355094028687276, 26.014407253518065], [88.56304935094974, 26.446525580342716], [88.209789259802477, 25.768065700782707], [88.931553989623069, 25.238692328384769], [88.30637251175601, 24.866079413344199], [88.084422235062405, 24.501657212821918], [88.699940220090895, 24.233714911388557], [88.529769728553759, 23.631141872649163], [88.876311883503064, 22.879146429937826], [89.031961297566198, 22.055708319582973], [88.888765903685396, 21.690588487224741], [88.208497348995209, 21.703171698487804], [86.975704380240259, 21.495561631755201], [87.033168572948853, 20.743307806882406], [86.499351027373777, 20.151638495356604], [85.060265740909671, 19.478578802971096], [83.941005893899998, 18.302009792549722], [83.189217156917834, 17.671221421778977], [82.192792189465905, 17.016636053937813], [82.191241896497175, 16.556664130107844], [81.692719354177456, 16.3102192245079], [80.791999139330116, 15.951972357644488], [80.324895867843864, 15.899184882058346], [80.025069207686428, 15.136414903214144], [80.23327355339039, 13.835770778859978], [80.286293572921849, 13.006260687710832], [79.862546828128487, 12.056215318240886], [79.85799930208681, 10.357275091997108], [79.340511509115984, 10.308854274939618], [78.885345493489169, 9.54613597252772], [79.189719679688281, 9.216543687370146], [78.27794070833049, 8.933046779816932], [77.94116539908434, 8.25295909263974], [77.539897902337927, 7.965534776232331], [76.592978957021657, 8.899276231314188], [76.130061476551063, 10.299630031775518], [75.746467319648488, 11.308250637248303], [75.396101108709573, 11.781245022015822], [74.864815708316812, 12.741935736537895], [74.616717156883524, 13.992582912649677], [74.443859490867197, 14.617221787977693], [73.534199253233368, 15.990652167214957], [73.119909295549419, 17.928570054592495], [72.820909458308634, 19.208233547436162], [72.824475132136783, 20.41950328214153], [72.630533481745388, 21.356009426351001], [71.175273471973938, 20.757441311114228], [70.470458611945091, 20.877330634031381], [69.164130080038817, 22.089298000572697], [69.644927606082391, 22.450774644454334], [69.349596795534325, 22.843179633062686], [68.176645135373377, 23.691965033456704], [68.842599318318761, 24.359133612560932], [71.0432401874682, 24.356523952730193], [70.844699334602822, 25.215102037043511], [70.282873162725579, 25.722228705339823], [70.168926629522005, 26.491871649678835], [69.514392938113119, 26.940965684511365], [70.61649620960192, 27.989196275335861], [71.777665643200308, 27.913180243434521], [72.823751662084689, 28.961591701772047], [73.450638462217412, 29.976413479119863], [74.421380242820263, 30.97981476493117], [74.405928989564998, 31.692639471965272], [75.258641798813187, 32.271105455040491], [74.451559279278698, 32.764899603805489], [74.104293654277328, 33.441473293586846], [73.749948358051952, 34.317698879527846], [74.240202671204955, 34.748887030571247], [75.757060988268321, 34.504922593721311], [76.871721632804011, 34.653544012992732], [77.837450799474553, 35.494009507787759]]] } }, + { "type": "Feature", "properties": { "admin": "Ireland", "name": "Ireland", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[-6.197884894220989, 53.86756500916335], [-6.032985398777609, 53.153164170944336], [-6.788856573910847, 52.260117906292322], [-8.561616583683557, 51.669301255899349], [-9.977085740590267, 51.820454820353071], [-9.16628251793078, 52.864628811242667], [-9.688524542672452, 53.881362616585285], [-8.327987433292007, 54.664518947968624], [-7.572167934591064, 55.131622219454854], [-7.366030646178785, 54.595840969452709], [-7.572167934591064, 54.059956366585986], [-6.953730231138065, 54.073702297575622], [-6.197884894220989, 53.86756500916335]]] } }, + { "type": "Feature", "properties": { "admin": "Iran", "name": "Iran", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[53.921597934795543, 37.198918361961255], [54.800303989486558, 37.392420762678178], [55.511578403551894, 37.964117133123153], [56.180374790273319, 37.935126654607423], [56.619366082592805, 38.121394354803478], [57.330433790928964, 38.029229437810933], [58.436154412678192, 37.522309475243794], [59.234761997316795, 37.412987982730336], [60.377637973883864, 36.52738312432836], [61.123070509694131, 36.491597194966239], [61.21081709172573, 35.650072333309218], [60.80319339380744, 34.404101874319856], [60.528429803311575, 33.676446031217999], [60.963700392505991, 33.528832302376252], [60.536077915290761, 32.981268825811561], [60.863654819588952, 32.182919623334421], [60.941944614511115, 31.548074652628745], [61.699314406180811, 31.379506130492661], [61.78122155136343, 30.735850328081231], [60.874248488208778, 29.829238999952604], [61.369308709564926, 29.303276272085917], [61.771868117118615, 28.699333807890792], [62.727830438085974, 28.259644883735383], [62.755425652929851, 27.378923448184985], [63.23389773952028, 27.217047024030702], [63.316631707619578, 26.756532497661659], [61.874187453056535, 26.239974880472097], [61.497362908784183, 25.078237006118492], [59.616134067630831, 25.380156561783775], [58.525761346272297, 25.609961656185725], [57.39725141788238, 25.739902045183634], [56.97076582217754, 26.966106268821356], [56.492138706290199, 27.14330475515019], [55.723710158110059, 26.964633490501036], [54.715089552637252, 26.480657863871507], [53.493096958231334, 26.812368882753042], [52.483597853409599, 27.580849107365488], [51.520762566947404, 27.865689602158291], [50.852948032439528, 28.814520575469377], [50.115008579311571, 30.14777252859971], [49.576850213423988, 29.9857152369324], [48.941333449098536, 30.31709035900403], [48.567971225789748, 29.926778265903515], [48.014568312376085, 30.452456773392594], [48.00469811380831, 30.985137437457237], [47.685286085812258, 30.984853217079621], [47.849203729042095, 31.709175930298663], [47.334661492711895, 32.469155381799105], [46.109361606639304, 33.017287299118998], [45.416690708199035, 33.967797756479577], [45.648459507028079, 34.748137722303007], [46.15178795755093, 35.093258775364284], [46.076340366404786, 35.67738332777548], [45.420618117053202, 35.977545884742817], [44.77267, 37.17045], [44.225755649600522, 37.971584377589345], [44.421402622257538, 38.281281236314534], [44.109225294782334, 39.428136298168091], [44.793989699081934, 39.713002631177041], [44.9526880226503, 39.335764675446363], [45.457721795438765, 38.874139105783051], [46.143623081248812, 38.74120148371221], [46.505719842317966, 38.770605373686287], [47.685079380083081, 39.508363959301207], [48.060095249225235, 39.582235419262453], [48.355529412637871, 39.2887649602769], [48.010744256386474, 38.794014797514514], [48.634375441284803, 38.27037750910096], [48.883249139202483, 38.32024526626261], [49.199612257693332, 37.582874253889877], [50.147771437384606, 37.37456655532133], [50.842354363819695, 36.872814235983384], [52.26402469260141, 36.700421657857696], [53.825789829326411, 36.965030829408228], [53.921597934795543, 37.198918361961255]]] } }, + { "type": "Feature", "properties": { "admin": "Iraq", "name": "Iraq", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[45.420618117053202, 35.977545884742817], [46.076340366404786, 35.67738332777548], [46.15178795755093, 35.093258775364284], [45.648459507028079, 34.748137722303007], [45.416690708199035, 33.967797756479577], [46.109361606639304, 33.017287299118998], [47.334661492711895, 32.469155381799105], [47.849203729042095, 31.709175930298663], [47.685286085812258, 30.984853217079621], [48.00469811380831, 30.985137437457237], [48.014568312376085, 30.452456773392594], [48.567971225789748, 29.926778265903515], [47.974519077349889, 29.975819200148493], [47.302622104690947, 30.059069932570711], [46.568713413281742, 29.099025173452283], [44.709498732284736, 29.178891099559376], [41.889980910007829, 31.190008653278362], [40.399994337736238, 31.889991766887931], [39.195468377444961, 32.16100881604266], [38.792340529136077, 33.378686428352218], [41.00615888851992, 34.419372260062111], [41.383965285005807, 35.628316555314349], [41.289707472505448, 36.358814602192261], [41.837064243340954, 36.605853786763568], [42.349591098811764, 37.22987254490409], [42.779125604021822, 37.385263576805741], [43.942258742047287, 37.256227525372942], [44.293451775902852, 37.001514390606289], [44.772699008977689, 37.170444647768427], [45.420618117053202, 35.977545884742817]]] } }, + { "type": "Feature", "properties": { "admin": "Iceland", "name": "Iceland", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[-14.508695441129232, 66.455892239031414], [-14.739637417041605, 65.808748277440287], [-13.609732224979807, 65.126671047619851], [-14.9098337467949, 64.36408193628867], [-17.794438035543418, 63.67874909123384], [-18.656245896874989, 63.496382961675806], [-19.972754685942757, 63.643634955491514], [-22.762971971110154, 63.960178941495371], [-21.778484259517676, 64.402115790455497], [-23.955043911219104, 64.891129869233481], [-22.184402635170354, 65.084968166760291], [-22.227423265053329, 65.378593655042721], [-24.326184047939332, 65.611189276788451], [-23.650514695723082, 66.262519029395207], [-22.134922451250883, 66.410468655046856], [-20.576283738679543, 65.732112128351417], [-19.056841600001587, 66.276600857194751], [-17.798623826559048, 65.993853257909763], [-16.167818976292121, 66.526792304135853], [-14.508695441129232, 66.455892239031414]]] } }, + { "type": "Feature", "properties": { "admin": "Israel", "name": "Israel", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[35.719918247222743, 32.709192409794859], [35.545665317534535, 32.393992011030569], [35.183930291491428, 32.532510687788935], [34.974640740709319, 31.866582343059715], [35.225891554512422, 31.754341132121759], [34.970506626125989, 31.616778469360803], [34.927408481594554, 31.35343537040141], [35.397560662586038, 31.489086005167572], [35.420918409981958, 31.100065822874349], [34.922602573391423, 29.501326198844517], [34.26543338393568, 31.219360866820146], [34.556371697738903, 31.548823960896989], [34.48810713068135, 31.605538845337314], [34.752587111151165, 32.07292633720116], [34.955417107896771, 32.827376410446369], [35.098457472480668, 33.080539252244257], [35.126052687324538, 33.090900376918775], [35.460709262846699, 33.089040025356276], [35.552796665190805, 33.264274807258012], [35.821100701650231, 33.277426459276292], [35.836396925608618, 32.868123277308506], [35.700797967274745, 32.716013698857374], [35.719918247222743, 32.709192409794859]]] } }, + { "type": "Feature", "properties": { "admin": "Italy", "name": "Italy", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[15.52037601081383, 38.231155096991465], [15.160242954171732, 37.444045518537813], [15.309897902089002, 37.134219468731793], [15.099988234119445, 36.61998729099539], [14.335228712632013, 36.996630967754747], [13.826732618879927, 37.104531358380186], [12.431003859108809, 37.612949937483812], [12.570943637755132, 38.126381130519682], [13.741156447004581, 38.03496552179535], [14.761249220446157, 38.143873602850498], [15.52037601081383, 38.231155096991465]]], [[[9.210011834356264, 41.209991360024212], [9.809975213264973, 40.500008856766094], [9.669518670295671, 39.177376410471787], [9.214817742559486, 39.240473334300127], [8.806935662479729, 38.906617743478471], [8.428302443077113, 39.171847032216611], [8.388253208050939, 40.378310858718798], [8.159998406617659, 40.950007229163774], [8.709990675500107, 40.899984442705225], [9.210011834356264, 41.209991360024212]]], [[[12.376485223040842, 46.767559109069872], [13.806475457421552, 46.50930613869118], [13.698109978905475, 46.016778062517368], [13.937630242578335, 45.59101593686465], [13.141606479554294, 45.736691799495411], [12.328581170306304, 45.38177806251484], [12.383874952858601, 44.885374253919075], [12.261453484759157, 44.600482082694008], [12.589237094786482, 44.091365871754462], [13.526905958722491, 43.587727362637899], [14.029820997787024, 42.761007798832473], [15.142569614327952, 41.955139675456891], [15.926191033601892, 41.961315009115729], [16.169897088290409, 41.740294908203417], [15.889345737377793, 41.541082261718195], [16.785001661860573, 41.179605617836579], [17.519168735431204, 40.877143459632229], [18.376687452882575, 40.355624904942651], [18.4802470231954, 40.168866278639818], [18.293385044028096, 39.810774441073235], [17.738380161213279, 40.277671006830289], [16.869595981522334, 40.442234605463838], [16.448743116937319, 39.795400702466473], [17.171489698971495, 39.424699815420716], [17.052840610429339, 38.902871202137291], [16.635088331781841, 38.843572496082395], [16.100960727613053, 37.985898749334176], [15.684086948314498, 37.908849188787023], [15.687962680736318, 38.214592800441849], [15.891981235424705, 38.750942491199218], [16.109332309644312, 38.964547024077682], [15.718813510814638, 39.544072374014938], [15.413612501698818, 40.048356838535163], [14.998495721098234, 40.172948716790913], [14.703268263414767, 40.604550279292617], [14.06067182786526, 40.786347968095434], [13.627985060285393, 41.188287258461649], [12.888081902730418, 41.253089504555604], [12.106682570044907, 41.7045348170574], [11.191906365614184, 42.355425319989671], [10.511947869517794, 42.93146251074721], [10.200028924204046, 43.920006822274608], [9.702488234097812, 44.036278794931313], [8.888946160526869, 44.366336167979533], [8.428560825238575, 44.23122813575241], [7.8507666357832, 43.767147935555236], [7.435184767291841, 43.693844916349164], [7.549596388386161, 44.127901109384808], [7.007562290076661, 44.254766750661382], [6.749955275101711, 45.028517971367584], [7.096652459347835, 45.333098863295859], [6.80235517744566, 45.708579820328673], [6.84359297041456, 45.991146552100659], [7.273850945676683, 45.776947740250748], [7.755992058959832, 45.824490057959267], [8.316629672894377, 46.16364248309084], [8.489952426801294, 46.005150865251736], [8.966305779667833, 46.03693187111115], [9.18288170740311, 46.440214748716976], [9.92283654139035, 46.314899400409182], [10.363378126678665, 46.48357127540983], [10.4427014502466, 46.893546250997431], [11.048555942436504, 46.751358547546396], [11.164827915093325, 46.941579494812729], [12.153088006243079, 47.115393174826423], [12.376485223040842, 46.767559109069872]]]] } }, + { "type": "Feature", "properties": { "admin": "Jamaica", "name": "Jamaica", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-77.569600796199197, 18.490525417550483], [-76.896618618462114, 18.400866807524078], [-76.365359056285527, 18.16070058844759], [-76.19965857614163, 17.886867173732963], [-76.902561408175671, 17.868237819891743], [-77.206341315403449, 17.701116237859818], [-77.766022915340599, 17.861597398342237], [-78.337719285785596, 18.225967922432226], [-78.217726610003865, 18.454532782459193], [-77.797364671525614, 18.524218451404774], [-77.569600796199197, 18.490525417550483]]] } }, + { "type": "Feature", "properties": { "admin": "Jordan", "name": "Jordan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[35.545665317534535, 32.393992011030569], [35.719918247222743, 32.709192409794859], [36.834062127435537, 32.312937526980768], [38.792340529136077, 33.378686428352218], [39.195468377444961, 32.16100881604266], [39.004885695152545, 32.010216986614971], [37.002165561681004, 31.508412990844736], [37.998848911294367, 30.508499864213128], [37.668119744626374, 30.338665269485894], [37.503581984209028, 30.003776150018396], [36.740527784987243, 29.865283311476183], [36.501214227043583, 29.505253607698702], [36.068940870922049, 29.19749461518445], [34.956037225084252, 29.356554673778835], [34.922602573391423, 29.501326198844517], [35.420918409981958, 31.100065822874349], [35.397560662586038, 31.489086005167572], [35.545251906076196, 31.782504787720832], [35.545665317534535, 32.393992011030569]]] } }, + { "type": "Feature", "properties": { "admin": "Japan", "name": "Japan", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[134.638428176003856, 34.149233710256418], [134.766379022358478, 33.806334743783673], [134.20341596897083, 33.201177883429622], [133.792950067276479, 33.521985175097583], [133.280268182508848, 33.289570420864941], [133.014858026257855, 32.704567369104772], [132.363114862192674, 32.989382025681373], [132.371176385630179, 33.463642483040068], [132.924372593314786, 34.060298570282036], [133.492968377822194, 33.944620876596694], [133.904106073136347, 34.364931138642611], [134.638428176003856, 34.149233710256418]]], [[[140.976387567305267, 37.142074286440156], [140.599769728762084, 36.343983466124534], [140.774074334882641, 35.842877102190229], [140.253279250245072, 35.138113918593653], [138.975527785396196, 34.667600002576101], [137.217598911691198, 34.606285915661843], [135.792983026268871, 33.46480520276662], [135.120982700745401, 33.849071153289053], [135.07943484918269, 34.596544908174813], [133.340316196831964, 34.375938218720755], [132.156770868051296, 33.904933376596503], [130.986144647343451, 33.885761420216276], [132.000036248910021, 33.149992377244608], [131.33279015515734, 31.450354519164836], [130.68631798718593, 31.029579169228235], [130.202419875204953, 31.418237616495411], [130.447676222862128, 32.319474595665717], [129.81469160371887, 32.610309556604385], [129.408463169472554, 33.296055813117583], [130.353935174684636, 33.604150702441693], [130.878450962447118, 34.232742824840031], [131.884229364143891, 34.749713853487911], [132.617672967662486, 35.433393052709413], [134.608300815977771, 35.731617743465812], [135.677537876528902, 35.527134100886819], [136.723830601142424, 37.304984239240376], [137.390611607004473, 36.827390651998819], [138.857602166906247, 37.827484646143454], [139.426404657142882, 38.215962225897634], [140.054790073812057, 39.438807481436378], [139.883379347899847, 40.563312486323682], [140.305782505453664, 41.195005194659551], [141.368973423426667, 41.378559882160282], [141.914263136970476, 39.991616115878678], [141.884600864834965, 39.18086456965149], [140.959489373945729, 38.174000962876583], [140.976387567305267, 37.142074286440156]]], [[[143.910161981379474, 44.174099839853724], [144.613426548439634, 43.960882880217511], [145.320825230083074, 44.384732977875437], [145.543137241802754, 43.262088324550596], [144.059661899999867, 42.988358262700551], [143.183849725517291, 41.995214748699183], [141.611490920172457, 42.678790595056071], [141.067286411706618, 41.58459381770799], [139.95510623592105, 41.56955597591103], [139.817543573159924, 42.563758856774392], [140.312087030193169, 43.333272610032644], [141.380548944259999, 43.388824774746489], [141.671952345953912, 44.772125352551477], [141.967644891527982, 45.551483466161343], [143.142870314709796, 44.510358384776957], [143.910161981379474, 44.174099839853724]]]] } }, + { "type": "Feature", "properties": { "admin": "Kazakhstan", "name": "Kazakhstan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[70.962314894499272, 42.26615428320553], [70.388964878220776, 42.081307684897517], [69.070027296835221, 41.384244289712335], [68.632482944620037, 40.668680731766855], [68.259895867795635, 40.662324530594894], [67.985855747351806, 41.135990708982199], [66.714047072216587, 41.168443508461557], [66.510648634715707, 41.987644151368549], [66.023391554635609, 41.994646307944031], [66.098012322865188, 42.997660020513074], [64.90082441595932, 43.728080552742647], [63.18578698105658, 43.650074978197999], [62.013300408786264, 43.504476630215649], [61.05831994003249, 44.405816962250576], [60.239971958258472, 44.784036770194739], [58.689989048095796, 45.500013739598721], [58.503127068928428, 45.58680430763296], [55.928917270741167, 44.995858466159163], [55.968191359283011, 41.30864166926937], [55.455251092353805, 41.259859117185826], [54.755345493392653, 42.04397146256661], [54.079417759014959, 42.324109402020831], [52.944293247291725, 42.116034247397572], [52.502459751196277, 41.783315538086462], [52.446339145727208, 42.027150783855561], [52.692112257707251, 42.443895372073364], [52.501426222550315, 42.792297878585188], [51.342427199108201, 43.132974758469338], [50.891291945200223, 44.031033637053774], [50.339129266161358, 44.284015611338468], [50.305642938036257, 44.609835516938908], [51.278503452363211, 44.514854234386448], [51.316899041556034, 45.245998236667894], [52.167389764215713, 45.408391425145098], [53.040876499245194, 45.259046535821753], [53.220865512917712, 46.23464590105992], [53.042736850807771, 46.853006089864486], [52.042022739475598, 46.804636949239232], [51.191945428274252, 47.048704738953909], [50.034083286342465, 46.608989976582208], [49.10116, 46.39933000000012], [48.593241001180495, 46.561034247415471], [48.694733514201729, 47.075628160177921], [48.057253045449258, 47.743752753279516], [47.315231154170242, 47.715847479841948], [46.466445753776256, 48.394152330104923], [47.043671502476506, 49.1520388860976], [46.751596307162728, 49.35600576435376], [47.549480421749301, 50.454698391311119], [48.577841424357523, 49.874759629915658], [48.702381626181008, 50.605128485712825], [50.766648390512145, 51.692762356159889], [52.328723585830957, 51.71865224873811], [54.53287845237621, 51.026239732459302], [55.716940545479801, 50.62171662047853], [56.777961053296551, 51.043551337277037], [58.363290643146733, 51.063653469438563], [59.642282342370599, 50.545442206415707], [59.932807244715484, 50.842194118851857], [61.337424350840919, 50.799070136104248], [61.588003371024158, 51.2726587998432], [59.967533807215531, 51.960420437215696], [60.927268507740258, 52.447548326215028], [60.739993117114572, 52.719986477257734], [61.699986199800584, 52.979996446334255], [60.978066440683151, 53.664993394579128], [61.436591424409052, 54.006264553434775], [65.178533563095911, 54.354227810272093], [65.66687584825398, 54.601266994843449], [68.169100376258811, 54.970391750704309], [69.068166945272864, 55.385250149143516], [70.865266554655122, 55.169733588270091], [71.180131056609397, 54.133285224008247], [72.224150018202167, 54.376655381886728], [73.508516066384388, 54.035616766976588], [73.425678745420427, 53.489810289109741], [74.384845005190044, 53.546861070360066], [76.891100294913414, 54.490524400441913], [76.525179477854735, 54.177003485727127], [77.800915561844221, 53.404414984747561], [80.035559523441663, 50.864750881547238], [80.568446893235475, 51.388336493528456], [81.945985548839914, 50.812195949906354], [83.383003778012366, 51.069182847693909], [83.935114780618832, 50.889245510453563], [84.416377394553052, 50.311399644565817], [85.115559523462011, 50.117302964877631], [85.541269972682457, 49.69285858824815], [86.829356723989619, 49.826674709668154], [87.359970330762664, 49.214980780629148], [86.598776483103379, 48.549181626980605], [85.768232863308285, 48.455750637396974], [85.72048383987071, 47.452969468773112], [85.164290399113355, 47.000955715516099], [83.180483839860443, 47.330031236350848], [82.458925815769106, 45.539649563166499], [81.947070753918112, 45.317027492853235], [79.966106398441397, 44.917516994804643], [80.866206496101356, 43.180362046881037], [80.180150180994289, 42.920067857426936], [80.259990268885332, 42.349999294599101], [79.643645460940135, 42.496682847659649], [79.142177361979776, 42.856092434249589], [77.658391961583206, 42.960685533208327], [76.000353631498555, 42.988022365890622], [75.636964959622091, 42.877899888676765], [74.212865838522575, 43.298339341803505], [73.645303582660901, 43.091271877609863], [73.489757521462337, 42.500894476891276], [71.844638299450637, 42.845395412765178], [71.186280552052253, 42.704292914392219], [70.962314894499272, 42.26615428320553]]] } }, + { "type": "Feature", "properties": { "admin": "Kenya", "name": "Kenya", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[40.993, -0.85829], [41.58513, -1.68325], [40.88477, -2.08255], [40.63785, -2.49979], [40.26304, -2.57309], [40.12119, -3.27768], [39.80006, -3.68116], [39.60489, -4.34653], [39.20222, -4.67677], [37.7669, -3.67712], [37.69869, -3.09699], [34.07262, -1.05982], [33.903711197104521, -0.95], [33.893568969666937, 0.109813537861896], [34.18, 0.515], [34.6721, 1.17694], [35.03599, 1.90584], [34.59607, 3.05374], [34.47913, 3.5556], [34.005, 4.249884947362047], [34.620196267853871, 4.847122742081987], [35.298007118232974, 5.506], [35.817447662353501, 5.338232082790795], [35.817447662353501, 4.776965663461889], [36.159078632855639, 4.447864127672768], [36.855093238008116, 4.447864127672768], [38.120915, 3.598605], [38.43697, 3.58851], [38.67114, 3.61607], [38.89251, 3.50074], [39.559384258765846, 3.42206], [39.85494, 3.83879], [40.76848, 4.25702], [41.1718, 3.91909], [41.855083092643966, 3.918911920483726], [40.98105, 2.78452], [40.993, -0.85829]]] } }, + { "type": "Feature", "properties": { "admin": "Kyrgyzstan", "name": "Kyrgyzstan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[70.96231489449913, 42.266154283205481], [71.186280552052111, 42.704292914392127], [71.84463829945058, 42.845395412765093], [73.489757521462337, 42.500894476891311], [73.645303582660901, 43.09127187760982], [74.212865838522546, 43.298339341803363], [75.636964959622006, 42.877899888676673], [76.000353631498442, 42.988022365890664], [77.658391961583206, 42.960685533208256], [79.142177361979762, 42.856092434249511], [79.643645460940107, 42.496682847659514], [80.259990268885289, 42.349999294599044], [80.119430373051358, 42.123940741538235], [78.543660923175295, 41.582242540038685], [78.187196893225959, 41.185315863604792], [76.904484490877067, 41.066485907549634], [76.526368035797432, 40.427946071935111], [75.467827996730691, 40.562072251948663], [74.776862420556043, 40.366425279291619], [73.822243686828287, 39.893973497063179], [73.960013055318413, 39.660008449861721], [73.67537926625478, 39.431236884105594], [71.784693637991992, 39.279463202464363], [70.549161818325601, 39.604197902986492], [69.464886915977516, 39.526683254548693], [69.559609816368507, 40.103211371412968], [70.648018833299957, 39.935753892571157], [71.014198032520156, 40.244365546218226], [71.774875115856545, 40.145844428053763], [73.055417108049156, 40.86603302668945], [71.870114780570447, 41.392900092121259], [71.157858514291576, 41.143587144529107], [70.420022414028196, 41.519998277343134], [71.259247674448218, 42.167710679689456], [70.96231489449913, 42.266154283205481]]] } }, + { "type": "Feature", "properties": { "admin": "Cambodia", "name": "Cambodia", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[103.497279901139677, 10.632555446815926], [103.090689731867229, 11.153660590047162], [102.58493248902667, 12.186594956913279], [102.348099399833004, 13.39424734135822], [102.988422072361601, 14.225721136934464], [104.281418084736586, 14.416743068901363], [105.218776890078871, 14.27321177821069], [106.04394616091551, 13.881091009979952], [106.496373325630856, 14.57058380783428], [107.382727492301058, 14.202440904186968], [107.614547967562402, 13.535530707244202], [107.491403029410861, 12.337205918827944], [105.810523716253101, 11.567614650921225], [106.249670037869436, 10.961811835163585], [105.199914992292321, 10.889309800658094], [104.334334751403446, 10.486543687375228], [103.497279901139677, 10.632555446815926]]] } }, + { "type": "Feature", "properties": { "admin": "South Korea", "name": "Korea", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[128.349716424676586, 38.612242946927843], [129.212919549680038, 37.432392483055942], [129.460449660358137, 36.784189154602821], [129.468304478066472, 35.632140611303939], [129.091376580929563, 35.08248423923142], [128.18585045787907, 34.890377102186385], [127.386519403188373, 34.475673733044111], [126.485747511908713, 34.390045884736473], [126.3739197124291, 34.934560451795939], [126.559231398627773, 35.684540513647896], [126.117397902532261, 36.725484727519252], [126.860143263863364, 36.893924058574612], [126.174758742376213, 37.749685777328033], [126.237338901881742, 37.840377916000271], [126.683719924018888, 37.804772854151174], [127.073308547067342, 38.256114813788393], [127.780035435090966, 38.304535630845884], [128.205745884311426, 38.370397243801882], [128.349716424676586, 38.612242946927843]]] } }, + { "type": "Feature", "properties": { "admin": "Kosovo", "name": "Kosovo", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[20.76216, 42.05186], [20.717310000000108, 41.84711], [20.59023, 41.85541], [20.52295, 42.21787], [20.28374, 42.32025], [20.0707, 42.58863], [20.25758, 42.81275], [20.49679, 42.88469], [20.63508, 43.21671], [20.81448, 43.27205], [20.95651, 43.13094], [21.143395, 43.068685000000123], [21.27421, 42.90959], [21.43866, 42.86255], [21.63302, 42.67717], [21.77505, 42.6827], [21.66292, 42.43922], [21.54332, 42.32025], [21.576635989402117, 42.245224397061847], [21.352700000000134, 42.2068], [20.76216, 42.05186]]] } }, + { "type": "Feature", "properties": { "admin": "Kuwait", "name": "Kuwait", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[47.974519077349889, 29.975819200148493], [48.183188510944483, 29.534476630159759], [48.09394331237641, 29.306299343374999], [48.416094191283939, 28.552004299426663], [47.708850538937376, 28.526062730416136], [47.459821811722819, 29.002519436147217], [46.568713413281742, 29.099025173452283], [47.302622104690947, 30.059069932570711], [47.974519077349889, 29.975819200148493]]] } }, + { "type": "Feature", "properties": { "admin": "Laos", "name": "Lao PDR", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[105.218776890078871, 14.27321177821069], [105.544338413517664, 14.723933620660414], [105.589038527450128, 15.570316066952856], [104.779320509868768, 16.441864935771445], [104.716947056092465, 17.428858954330078], [103.956476678485288, 18.240954087796872], [103.200192091893726, 18.309632066312769], [102.998705682387694, 17.961694647691598], [102.413004998791592, 17.932781683824281], [102.113591750092453, 18.109101670804161], [101.059547560635139, 17.512497259994486], [101.035931431077742, 18.408928330961611], [101.282014601651667, 19.462584947176762], [100.606293573003128, 19.508344427971217], [100.548881056726856, 20.109237982661124], [100.115987583417819, 20.41784963630818], [100.329101190189519, 20.786121731036229], [101.180005324307515, 21.436572984294024], [101.270025669359939, 21.201651923095177], [101.803119744882906, 21.174366766845065], [101.652017856861491, 22.318198757409544], [102.170435825613552, 22.464753119389297], [102.754896274834636, 21.675137233969462], [103.203861118586431, 20.766562201413745], [104.435000441508024, 20.758733221921528], [104.822573683697073, 19.886641750563879], [104.183387892678908, 19.624668077060214], [103.896532017026701, 19.265180975821799], [105.094598423281496, 18.666974595611073], [105.925762160264, 17.485315456608955], [106.55600792849566, 16.604283962464802], [107.312705926545576, 15.908538316303177], [107.564525181103875, 15.202173163305554], [107.382727492301058, 14.202440904186968], [106.496373325630856, 14.57058380783428], [106.04394616091551, 13.881091009979952], [105.218776890078871, 14.27321177821069]]] } }, + { "type": "Feature", "properties": { "admin": "Lebanon", "name": "Lebanon", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[35.821100701650231, 33.277426459276292], [35.552796665190805, 33.264274807258012], [35.460709262846699, 33.089040025356276], [35.126052687324538, 33.090900376918775], [35.48220665868012, 33.905450140919434], [35.979592319489392, 34.610058295219126], [35.998402540843628, 34.644914048799997], [36.448194207512095, 34.59393524834406], [36.611750115715886, 34.201788641897174], [36.066460402172048, 33.824912421192543], [35.821100701650231, 33.277426459276292]]] } }, + { "type": "Feature", "properties": { "admin": "Liberia", "name": "Liberia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-7.712159389669749, 4.364565944837721], [-7.974107224957249, 4.355755113131961], [-9.004793667018673, 4.832418524592199], [-9.913420376006682, 5.593560695819205], [-10.765383876986643, 6.140710760925556], [-11.438779466182053, 6.785916856305746], [-11.199801805048278, 7.105845648624735], [-11.14670427086838, 7.396706447779534], [-10.695594855176477, 7.939464016141085], [-10.230093553091276, 8.406205552601291], [-10.016566534861253, 8.42850393313523], [-9.755342169625832, 8.541055202666923], [-9.33727983238458, 7.928534450711351], [-9.403348151069748, 7.526905218938906], [-9.208786383490844, 7.313920803247952], [-8.926064622422002, 7.309037380396375], [-8.722123582382123, 7.711674302598509], [-8.439298468448696, 7.686042792181736], [-8.485445522485348, 7.395207831243068], [-8.385451626000572, 6.911800645368742], [-8.602880214868618, 6.467564195171659], [-8.311347622094017, 6.193033148621081], [-7.993692592795879, 6.126189683451541], [-7.570152553731686, 5.707352199725903], [-7.53971513511176, 5.313345241716517], [-7.63536821128403, 5.188159084489455], [-7.712159389669749, 4.364565944837721]]] } }, + { "type": "Feature", "properties": { "admin": "Libya", "name": "Libya", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[14.8513, 22.862950000000119], [14.143870883855239, 22.491288967371126], [13.581424594790459, 23.040506089769274], [11.999505649471697, 23.471668402596432], [11.560669386449032, 24.09790924732561], [10.771363559622952, 24.562532050061741], [10.303846876678445, 24.379313259370967], [9.948261346078024, 24.936953640232613], [9.910692579801774, 25.365454616796789], [9.319410841518218, 26.094324856057476], [9.716285841519662, 26.512206325785652], [9.629056023811073, 27.140953477481041], [9.756128370816779, 27.688258571884198], [9.68388471847288, 28.144173895779311], [9.859997999723472, 28.959989732371064], [9.805634392952353, 29.424638373323369], [9.482139926805415, 30.307556057246181], [9.970017124072966, 30.539324856075375], [10.056575148161697, 30.961831366493517], [9.950225050505194, 31.376069647745275], [10.636901482799484, 31.761420803345679], [10.944789666394511, 32.081814683555358], [11.43225345220378, 32.368903103152824], [11.488787469131008, 33.136995754523234], [12.66331, 32.79278], [13.08326, 32.87882], [13.91868, 32.71196], [15.24563, 32.26508], [15.71394, 31.37626], [16.61162, 31.18218], [18.02109, 30.76357], [19.08641, 30.26639], [19.57404, 30.52582], [20.05335, 30.98576], [19.82033, 31.751790000000135], [20.13397, 32.2382], [20.85452, 32.7068], [21.54298, 32.8432], [22.89576, 32.63858], [23.2368, 32.19149], [23.6091300000001, 32.18726], [23.9275, 32.01667], [24.92114, 31.89936], [25.16482, 31.56915], [24.80287, 31.08929], [24.95762, 30.6616], [24.70007, 30.04419], [25.00000000000011, 29.238654529533552], [25.00000000000011, 25.682499996360995], [25.00000000000011, 22.0], [25.00000000000011, 20.00304], [23.850000000000129, 20.0], [23.837660000000135, 19.580470000000101], [19.84926, 21.49509], [15.86085, 23.40972], [14.8513, 22.862950000000119]]] } }, + { "type": "Feature", "properties": { "admin": "Sri Lanka", "name": "Sri Lanka", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[81.787959018891371, 7.523055324733162], [81.637322218760573, 6.481775214051921], [81.218019647144317, 6.197141424988287], [80.348356968104397, 5.968369859232154], [79.872468703128519, 6.763463446474928], [79.6951668639351, 8.200843410673384], [80.147800734379629, 9.824077663609554], [80.838817986986541, 9.268426825391186], [81.304319289071756, 8.564206244333688], [81.787959018891371, 7.523055324733162]]] } }, + { "type": "Feature", "properties": { "admin": "Lesotho", "name": "Lesotho", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[28.978262566857236, -28.955596612261708], [29.325166456832587, -29.257386976846245], [29.018415154748016, -29.743765557577362], [28.848399692507734, -30.070050551068245], [28.291069370239903, -30.226216729454293], [28.107204624145421, -30.545732110314944], [27.749397006956478, -30.645105889612214], [26.999261915807629, -29.875953871379977], [27.532511020627471, -29.242710870075353], [28.07433841320778, -28.851468601193581], [28.541700066855491, -28.647501722937562], [28.978262566857236, -28.955596612261708]]] } }, + { "type": "Feature", "properties": { "admin": "Lithuania", "name": "Lithuania", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[22.731098667092649, 54.327536932993311], [22.651051873472536, 54.582740993866729], [22.757763706155256, 54.856574408581366], [22.31572350433057, 55.01529857036585], [21.26844892750346, 55.190481675835301], [21.05580040862241, 56.031076361711051], [22.201156853939491, 56.337801825579483], [23.878263787539957, 56.273671373105259], [24.860684441840753, 56.372528388079616], [25.000934279080887, 56.164530748104831], [25.533046502390327, 56.100296942766029], [26.494331495883749, 55.61510691997762], [26.588279249790386, 55.167175604871659], [25.768432651479792, 54.846962592175082], [25.536353794056989, 54.282423407602515], [24.45068362803703, 53.905702216194747], [23.484127638449841, 53.912497667041123], [23.243987257589506, 54.220566718149129], [22.731098667092649, 54.327536932993311]]] } }, + { "type": "Feature", "properties": { "admin": "Luxembourg", "name": "Luxembourg", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[6.043073357781109, 50.128051662794221], [6.242751092156992, 49.90222565367872], [6.186320428094176, 49.4638028021145], [5.897759230176403, 49.442667141307012], [5.674051954784828, 49.52948354755749], [5.782417433300905, 50.090327867221205], [6.043073357781109, 50.128051662794221]]] } }, + { "type": "Feature", "properties": { "admin": "Latvia", "name": "Latvia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[21.05580040862241, 56.031076361711051], [21.090423618257965, 56.783872789122924], [21.581866489353668, 57.411870632549913], [22.524341261492872, 57.753374335350756], [23.31845299652209, 57.006236477274854], [24.120729607853423, 57.025692654032753], [24.312862583114615, 57.793423570376966], [25.164593540149262, 57.970156968815175], [25.602809685984365, 57.847528794986559], [26.46353234223778, 57.476388658266316], [27.288184848751509, 57.474528306703817], [27.770015903440925, 57.244258124411218], [27.855282016722519, 56.759326483784278], [28.17670942557799, 56.169129950578807], [27.102459751094525, 55.783313707087672], [26.494331495883749, 55.61510691997762], [25.533046502390327, 56.100296942766029], [25.000934279080887, 56.164530748104831], [24.860684441840753, 56.372528388079616], [23.878263787539957, 56.273671373105259], [22.201156853939491, 56.337801825579483], [21.05580040862241, 56.031076361711051]]] } }, + { "type": "Feature", "properties": { "admin": "Morocco", "name": "Morocco", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-5.193863491222031, 35.755182196590845], [-4.591006232105143, 35.330711981745644], [-3.640056525070007, 35.39985504815197], [-2.604305792644111, 35.17909332940112], [-2.169913702798624, 35.168396307916694], [-1.792985805661658, 34.527918606091298], [-1.73345455566141, 33.919712836232115], [-1.388049282222596, 32.864015000941372], [-1.124551153966195, 32.651521511357195], [-1.30789913573787, 32.262888902306024], [-2.616604783529567, 32.094346218386157], [-3.068980271812648, 31.724497992473285], [-3.647497931320145, 31.637294012980814], [-3.690441046554666, 30.896951605751152], [-4.859646165374442, 30.501187649043874], [-5.242129278982786, 30.00044302013557], [-6.060632290053745, 29.731699734001801], [-7.059227667661899, 29.57922842052465], [-8.67411617678283, 28.841288967396643], [-8.665589565454836, 27.656425889592462], [-8.817809007940523, 27.656425889592462], [-8.817828334986642, 27.656425889592462], [-8.794883999049032, 27.120696316022553], [-9.413037482124507, 27.088476060488539], [-9.735343390328749, 26.860944729107409], [-10.189424200877452, 26.860944729107409], [-10.551262579785258, 26.990807603456879], [-11.392554897496948, 26.883423977154386], [-11.718219773800339, 26.104091701760801], [-12.030758836301654, 26.030866197203121], [-12.500962693725368, 24.770116278578136], [-13.891110398809044, 23.691009019459383], [-14.22116777185715, 22.310163072188338], [-14.630832688850942, 21.860939846274867], [-14.750954555713404, 21.500600083903802], [-17.002961798561071, 21.42073415779668], [-17.020428432675768, 21.422310288981631], [-16.973247849993182, 21.88574453377495], [-16.589136928767626, 22.158234361250091], [-16.26192175949566, 22.679339504481273], [-16.326413946995896, 23.017768459560894], [-15.982610642958059, 23.723358466074096], [-15.426003790742183, 24.359133612561035], [-15.089331834360729, 24.520260728446964], [-14.824645148161689, 25.103532619725307], [-14.800925665739666, 25.636264960222285], [-14.439939947964827, 26.254418443297645], [-13.773804897506462, 26.618892320252279], [-13.13994177901429, 27.640147813420491], [-13.121613369914709, 27.654147671719805], [-12.61883663578311, 28.038185533148656], [-11.688919236690761, 28.148643907172577], [-10.9009569971044, 28.832142238880913], [-10.39959225100864, 29.09858592377778], [-9.564811163765624, 29.933573716749855], [-9.814718390329174, 31.177735500609053], [-9.434793260119362, 32.038096421836478], [-9.300692918321827, 32.564679266890629], [-8.657476365585039, 33.24024526624239], [-7.654178432638217, 33.697064927702506], [-6.912544114601358, 34.11047638603744], [-6.24434200685141, 35.145865383437517], [-5.929994269219832, 35.759988104793983], [-5.193863491222031, 35.755182196590845]]] } }, + { "type": "Feature", "properties": { "admin": "Moldova", "name": "Moldova", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[26.619336785597788, 48.220726223333457], [26.857823520624798, 48.368210761094488], [27.52253746919515, 48.467119452501102], [28.259546746541837, 48.155562242213406], [28.670891147585163, 48.118148505234089], [29.122698195113024, 47.849095160506458], [29.050867954227321, 47.510226955752493], [29.415135125452732, 47.346645209332571], [29.559674106573105, 46.928582872091312], [29.908851759569295, 46.67436066343145], [29.838210076626289, 46.525325832701675], [30.024658644335364, 46.423936672545032], [29.759971958136383, 46.349987697935354], [29.170653924279879, 46.379262396828693], [29.072106967899288, 46.517677720722482], [28.862972446414055, 46.437889309263824], [28.933717482221621, 46.258830471372491], [28.659987420371575, 45.939986884131628], [28.48526940279276, 45.596907050145887], [28.233553501099035, 45.488283189468369], [28.054442986775392, 45.944586086605618], [28.160017937947707, 46.371562608417207], [28.128030226359037, 46.81047638608824], [27.551166212684841, 47.405117092470817], [27.233872918412736, 47.826770941756365], [26.924176059687561, 48.123264472030982], [26.619336785597788, 48.220726223333457]]] } }, + { "type": "Feature", "properties": { "admin": "Madagascar", "name": "Madagascar", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[49.543518914595737, -12.469832858940553], [49.80898074727908, -12.895284925999551], [50.05651085795715, -13.555761407121981], [50.217431268114055, -14.758788750876795], [50.476536899625515, -15.226512139550541], [50.377111443895942, -15.706069431219122], [50.200274692593169, -16.000263360256763], [49.860605503138665, -15.414252618066913], [49.672606642460849, -15.710203545802477], [49.863344354050142, -16.451036879138773], [49.774564243372694, -16.875042006093597], [49.49861209493411, -17.10603565843827], [49.435618523970298, -17.953064060134363], [49.04179243347393, -19.118781019774442], [48.548540887247995, -20.496888116134119], [47.930749139198653, -22.391501153251077], [47.547723423051295, -23.781958916928513], [47.095761346226588, -24.941629733990446], [46.282477654817079, -25.178462823184102], [45.409507684110444, -25.601434421493082], [44.833573846217547, -25.346101169538933], [44.039720493349755, -24.9883452287823], [43.763768344911156, -24.460677178649988], [43.697777540874441, -23.574116306250595], [43.345654331237611, -22.77690398528387], [43.254187046080986, -22.057413018484116], [43.433297560404633, -21.336475111580185], [43.893682895692919, -21.163307386970121], [43.89637007017209, -20.830459486578167], [44.374325392439644, -20.072366224856385], [44.464397413924374, -19.435454196859045], [44.23242190936616, -18.961994724200899], [44.042976108584149, -18.331387220943167], [43.963084344260899, -17.409944756746778], [44.312468702986273, -16.850495700754951], [44.446517368351387, -16.216219170804504], [44.944936557806521, -16.179373874580396], [45.502731967964976, -15.974373467678538], [45.872993605336255, -15.793454278224681], [46.312243279817203, -15.780018405828795], [46.882182651564271, -15.210182386946309], [47.70512983581235, -14.594302666891762], [48.005214878131241, -14.091232598530372], [47.869047479042152, -13.663868503476582], [48.29382775248137, -13.784067884987483], [48.845060255738773, -13.08917489995866], [48.863508742066976, -12.487867933810417], [49.194651320193302, -12.040556735891967], [49.543518914595737, -12.469832858940553]]] } }, + { "type": "Feature", "properties": { "admin": "Mexico", "name": "Mexico", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-97.140008307670684, 25.869997463478395], [-97.528072475966539, 24.992144069920297], [-97.702945522842214, 24.272343044526728], [-97.776041836319024, 22.932579860927653], [-97.872366706111094, 22.444211737553356], [-97.699043952204164, 21.898689480064256], [-97.388959520236739, 21.411018988525818], [-97.189333462293277, 20.635433254473124], [-96.525575527720306, 19.890930894444061], [-96.292127244841737, 19.32037140550954], [-95.90088497595994, 18.828024196848727], [-94.8390634834427, 18.562717393462204], [-94.425729539756205, 18.144370835843343], [-93.548651292682365, 18.423836981677933], [-92.786113857783477, 18.524838568592255], [-92.037348192090391, 18.704569200103432], [-91.407903408559235, 18.876083278880227], [-90.771869879910852, 19.284120388256778], [-90.533589850613026, 19.867418117751292], [-90.451475999701231, 20.707521877520428], [-90.278618333684889, 20.999855454995547], [-89.601321173851474, 21.261725775634485], [-88.543866339862845, 21.493675441976613], [-87.658416510757704, 21.458845526611977], [-87.051890224948053, 21.543543199138295], [-86.811982388032931, 21.331514797444747], [-86.845907965832595, 20.849864610268348], [-87.383291185235848, 20.255404771398727], [-87.621054450210721, 19.646553046135917], [-87.436750454441764, 19.472403469312265], [-87.586560431655911, 19.040130113190738], [-87.837191128271485, 18.259815985583426], [-88.090664028663156, 18.516647854074048], [-88.300031094093626, 18.499982204659997], [-88.490122850279278, 18.486830552641717], [-88.84834387892657, 17.883198147040329], [-89.029857347351737, 18.001511338772556], [-89.150909389995462, 17.955467637600403], [-89.143080410503316, 17.808318996649401], [-90.067933519230891, 17.819326076727517], [-91.001519945015943, 17.817594916245692], [-91.002269253284155, 17.254657701074272], [-91.453921271515114, 17.252177232324183], [-91.08167009150057, 16.918476670799517], [-90.711821865587623, 16.687483018454767], [-90.600846727240921, 16.470777899638787], [-90.438866950221993, 16.410109768128105], [-90.464472622422633, 16.069562079324722], [-91.747960171255926, 16.066564846251762], [-92.229248623406278, 15.251446641495871], [-92.087215949252013, 15.06458466232851], [-92.203229539747255, 14.830102850804108], [-92.227750006869812, 14.538828640190953], [-93.359463874061746, 15.61542959234367], [-93.875168830118511, 15.94016429286591], [-94.691656460330108, 16.20097524664288], [-95.250227016973014, 16.128318182840641], [-96.053382127653293, 15.752087917539592], [-96.557434048228274, 15.653515122942787], [-97.263592495496624, 15.917064927631312], [-98.013029954809596, 16.107311713113912], [-98.947675747456486, 16.566043402568763], [-99.697397427147024, 16.706164048728166], [-100.829498867581293, 17.171071071842047], [-101.666088629954444, 17.649026394109622], [-101.918528001700196, 17.916090196193974], [-102.478132086988907, 17.975750637275095], [-103.500989549558057, 18.292294623278845], [-103.917527432046811, 18.748571682200005], [-104.992009650475467, 19.316133938061679], [-105.493038499761411, 19.946767279535429], [-105.731396043707633, 20.434101874264108], [-105.397772996831321, 20.531718654863422], [-105.500660773524402, 20.816895046466122], [-105.27075232625792, 21.076284898355137], [-105.265817226974022, 21.422103583252348], [-105.603160976975374, 21.871145941652568], [-105.693413865973113, 22.269080308516148], [-106.028716396898943, 22.77375234627862], [-106.909980434988341, 23.767774359628895], [-107.91544877809136, 24.548915310152946], [-108.401904873470954, 25.172313951105931], [-109.260198737406625, 25.580609442644054], [-109.444089321717314, 25.824883938087673], [-109.291643846456267, 26.44293406829842], [-109.801457689231796, 26.676175645447923], [-110.391731737085692, 27.162114976504533], [-110.641018846461606, 27.859876003525521], [-111.178918830187826, 27.941240546169062], [-111.759606899851619, 28.467952582303944], [-112.228234626090369, 28.954408677683482], [-112.27182369672866, 29.266844387320074], [-112.80959448937395, 30.021113593052341], [-113.163810594518651, 30.786880804969424], [-113.148669399857141, 31.170965887978912], [-113.871881069781836, 31.56760834403519], [-114.205736660603506, 31.524045111613123], [-114.776451178835003, 31.79953217216114], [-114.936699795372121, 31.393484605427595], [-114.771231859173483, 30.91361725516526], [-114.673899298951739, 30.162681179315985], [-114.330974494262918, 29.750432440707407], [-113.588875088335413, 29.061611436473008], [-113.424053107540516, 28.826173610951223], [-113.271969367305502, 28.754782619739892], [-113.140039435664363, 28.411289374295954], [-112.962298346796473, 28.425190334582503], [-112.761587083774856, 27.78021678314752], [-112.457910529411635, 27.525813706974752], [-112.24495195193677, 27.171726792910754], [-111.616489020619184, 26.662817287700474], [-111.284674648872993, 25.732589830014426], [-110.987819383572386, 25.294606228124557], [-110.71000688357131, 24.826004340101854], [-110.655048997828871, 24.298594672131113], [-110.17285620811343, 24.265547593680417], [-109.771847093528521, 23.811182562754194], [-109.409104377055698, 23.364672349536242], [-109.433392300232896, 23.185587673428696], [-109.85421932660168, 22.818271592698061], [-110.031391974714424, 22.823077500901199], [-110.295070970483636, 23.430973212166684], [-110.949501309028022, 24.000964260345988], [-111.670568407012681, 24.484423122652508], [-112.182035895621468, 24.73841278736716], [-112.148988817170817, 25.470125230404044], [-112.300710822379671, 26.012004299416613], [-112.777296719191526, 26.321959540303162], [-113.464670783321907, 26.768185533143416], [-113.596729906043805, 26.639459540304465], [-113.848936733844241, 26.900063788352437], [-114.465746629680027, 27.142090358991361], [-115.055142178184965, 27.722726752222904], [-114.982252570437382, 27.798200181585109], [-114.570365566854917, 27.741485297144884], [-114.199328782999231, 28.115002549750553], [-114.162018398884612, 28.566111965442296], [-114.931842210736605, 29.279479275015483], [-115.518653937626965, 29.556361599235395], [-115.887365282029563, 30.180793768834171], [-116.2583503894529, 30.836464341753572], [-116.721526252084956, 31.635743720012037], [-117.127759999999839, 32.53534], [-115.99135, 32.612390000000111], [-114.72139, 32.72083], [-114.815, 32.52528], [-113.30498, 32.03914], [-111.02361, 31.33472], [-109.035, 31.341940000000129], [-108.24194, 31.34222], [-108.24, 31.754853718166366], [-106.507589999999851, 31.75452], [-106.1429, 31.39995], [-105.63159, 31.08383], [-105.03737, 30.64402], [-104.70575, 30.12173], [-104.456969999999885, 29.57196], [-103.94, 29.27], [-103.11, 28.97], [-102.48, 29.76], [-101.6624, 29.7793], [-100.9576, 29.380710000000125], [-100.45584, 28.696120000000118], [-100.11, 28.11000000000012], [-99.52, 27.54], [-99.3, 26.84], [-99.019999999999897, 26.37], [-98.24, 26.06], [-97.529999999999887, 25.84], [-97.140008307670684, 25.869997463478395]]] } }, + { "type": "Feature", "properties": { "admin": "Macedonia", "name": "Macedonia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[20.59023, 41.85541], [20.717310000000108, 41.84711], [20.76216, 42.05186], [21.352700000000134, 42.2068], [21.576635989402117, 42.245224397061847], [21.917080000000105, 42.30364], [22.380525750424674, 42.320259507815074], [22.881373732197339, 41.999297186850349], [22.952377150166505, 41.337993882811176], [22.76177, 41.3048], [22.597308383889008, 41.130487168943198], [22.055377638444266, 41.149865831052686], [21.674160597426969, 40.93127452245794], [21.020040317476397, 40.842726955725873], [20.60518, 41.08622], [20.46315, 41.51509], [20.59023, 41.85541]]] } }, + { "type": "Feature", "properties": { "admin": "Mali", "name": "Mali", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-12.170750291380299, 14.616834214735503], [-11.834207526079465, 14.799096991428936], [-11.666078253617853, 15.388208319556295], [-11.349095017939502, 15.411256008358475], [-10.650791388379414, 15.132745876521422], [-10.086846482778212, 15.330485744686269], [-9.700255092802703, 15.264107367407359], [-9.550238409859388, 15.486496893775435], [-5.537744309908446, 15.501689764869253], [-5.315277268891931, 16.201853745991837], [-5.488522508150438, 16.325102037007962], [-5.971128709324247, 20.640833441647626], [-6.453786586930334, 24.956590684503418], [-4.92333736817423, 24.974574082940993], [-1.550054897457613, 22.792665920497377], [1.823227573259032, 20.61080943448604], [2.060990838233919, 20.142233384679482], [2.683588494486428, 19.856230170160114], [3.146661004253899, 19.693578599521441], [3.158133172222704, 19.057364203360034], [4.267419467800038, 19.155265204336995], [4.270209995143801, 16.852227484601212], [3.723421665063482, 16.184283759012612], [3.638258904646476, 15.568119818580453], [2.749992709981483, 15.409524847876693], [1.385528191746857, 15.323561102759168], [1.01578331869851, 14.968182277887944], [0.374892205414682, 14.928908189346128], [-0.26625729003058, 14.924308986872147], [-0.515854458000348, 15.116157741755725], [-1.066363491205663, 14.973815009007764], [-2.001035122068771, 14.559008287000887], [-2.191824510090384, 14.246417548067352], [-2.967694464520576, 13.798150336151506], [-3.103706834312759, 13.54126679122859], [-3.52280270019986, 13.337661647998612], [-4.006390753587225, 13.472485459848112], [-4.280405035814879, 13.228443508349738], [-4.427166103523802, 12.542645575404292], [-5.220941941743119, 11.713858954307224], [-5.197842576508648, 11.375145778850136], [-5.470564947929004, 10.951269842976044], [-5.404341599946973, 10.370736802609144], [-5.816926235365286, 10.222554633012191], [-6.050452032892266, 10.096360785355442], [-6.205222947606429, 10.524060777219132], [-6.493965013037267, 10.411302801958268], [-6.666460944027547, 10.430810655148447], [-6.850506557635057, 10.138993841996237], [-7.622759161804808, 10.147236232946792], [-7.89958980959237, 10.297382106970824], [-8.029943610048617, 10.206534939001711], [-8.335377163109738, 10.494811916541932], [-8.282357143578279, 10.792597357623842], [-8.407310756860026, 10.90925690352276], [-8.620321010767126, 10.810890814655181], [-8.581305304386772, 11.136245632364801], [-8.376304897484911, 11.393645941610627], [-8.786099005559462, 11.812560939984705], [-8.905264858424529, 12.088358059126433], [-9.127473517279581, 12.308060411015331], [-9.327616339546008, 12.334286200403451], [-9.567911749703212, 12.194243068892472], [-9.890992804392011, 12.060478623904968], [-10.165213792348835, 11.844083563682743], [-10.593223842806278, 11.923975328005977], [-10.870829637078211, 12.177887478072106], [-11.036555955438256, 12.211244615116513], [-11.297573614944508, 12.077971096235768], [-11.456168585648269, 12.076834214725336], [-11.513942836950587, 12.442987575729415], [-11.467899135778522, 12.754518947800973], [-11.553397793005427, 13.141213690641063], [-11.927716030311613, 13.422075100147392], [-12.124887457721256, 13.994727484589784], [-12.170750291380299, 14.616834214735503]]] } }, + { "type": "Feature", "properties": { "admin": "Myanmar", "name": "Myanmar", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[99.543309360759281, 20.186597601802056], [98.959675734454848, 19.752980658440944], [98.253723992915582, 19.708203029860041], [97.797782830804394, 18.627080389881751], [97.375896437573516, 18.445437730375811], [97.859122755934848, 17.567946071843657], [98.493761020911322, 16.837835598207928], [98.90334842325673, 16.177824204976115], [98.537375929765687, 15.308497422746081], [98.192074009191373, 15.123702500870349], [98.430819126379859, 14.622027696180831], [99.097755161538728, 13.827502549693275], [99.212011753336071, 13.269293728076462], [99.196353794351637, 12.804748439988666], [99.587286004639694, 11.892762762901695], [99.038120558673953, 10.960545762572435], [98.553550653073017, 9.932959906448543], [98.457174106848697, 10.675266018105146], [98.764545526120756, 11.441291612183745], [98.428338657629823, 12.032986761925681], [98.509574009192661, 13.122377631070675], [98.103603957107666, 13.64045970301285], [97.777732375075161, 14.837285874892638], [97.597071567782749, 16.100567938699765], [97.164539829499773, 16.928734442609336], [96.505768670642965, 16.427240505432845], [95.369352248112378, 15.714389960182599], [94.808404575584092, 15.803454291237637], [94.188804152404515, 16.037936102762014], [94.533485955791321, 17.277240301985724], [94.324816522196741, 18.213513902249893], [93.540988397193615, 19.366492621330021], [93.663254835996199, 19.726961574781992], [93.078277622452163, 19.855144965081973], [92.368553501355606, 20.670883287025344], [92.30323449093865, 21.475485337809815], [92.652257114637976, 21.324047552978481], [92.672720981825549, 22.041238918541247], [93.166127557348361, 22.278459580977099], [93.060294224014598, 22.703110663335565], [93.286326938859247, 23.043658352138998], [93.325187615942767, 24.078556423432197], [94.106741977925054, 23.850740871673477], [94.552657912171611, 24.675238348890328], [94.603249139385355, 25.162495428970399], [95.155153436262566, 26.001307277932078], [95.124767694074933, 26.573572089132295], [96.419365675850941, 27.264589341739221], [97.133999058015277, 27.08377350514996], [97.051988559968066, 27.699058946233144], [97.402561476636123, 27.88253611908544], [97.327113885490007, 28.261582749946331], [97.91198774616943, 28.335945136014338], [98.24623091023328, 27.747221381129172], [98.682690057370451, 27.508812160750612], [98.712093947344499, 26.74353587494026], [98.671838006589127, 25.918702500913518], [97.724609002679117, 25.083637193292994], [97.604719679761956, 23.897404690033039], [98.660262485755737, 24.063286037689959], [98.898749220782747, 23.142722072842524], [99.531992222087382, 22.949038804612574], [99.240898878987224, 22.118314317304577], [99.983489211021464, 21.742936713136398], [100.416537713627349, 21.558839423096607], [101.150032993578222, 21.849984442629015], [101.180005324307515, 21.436572984294024], [100.329101190189519, 20.786121731036229], [100.115987583417819, 20.41784963630818], [99.543309360759281, 20.186597601802056]]] } }, + { "type": "Feature", "properties": { "admin": "Montenegro", "name": "Montenegro", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[19.801613396898681, 42.500093492190835], [19.738051385179627, 42.688247382165564], [19.30449, 42.19574], [19.371770000000136, 41.87755], [19.16246, 41.95502], [18.88214, 42.28151], [18.45, 42.48], [18.56, 42.65], [18.70648, 43.20011], [19.03165, 43.43253], [19.21852, 43.52384], [19.48389, 43.35229], [19.63, 43.213779970270522], [19.95857, 43.10604], [20.3398, 42.89852], [20.25758, 42.81275], [20.0707, 42.58863], [19.801613396898681, 42.500093492190835]]] } }, + { "type": "Feature", "properties": { "admin": "Mongolia", "name": "Mongolia", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[87.751264276076697, 49.297197984405479], [88.805566847695488, 49.470520738312409], [90.713667433640666, 50.331811835321076], [92.234711541719662, 50.802170722041716], [93.104219191462661, 50.495290228876414], [94.147566359435615, 50.480536607457083], [94.815949334698701, 50.013433335970838], [95.814027947983973, 49.977466539095708], [97.259727817781396, 49.726060695995727], [98.231761509191543, 50.422400621128737], [97.825739780674283, 51.010995184933165], [98.861490513100307, 52.047366034546684], [99.981732212323507, 51.634006252643978], [100.889480421962588, 51.516855780638316], [102.065222609467298, 51.25992055928311], [102.255908644624299, 50.510560614618669], [103.676545444760194, 50.089966132195109], [104.621552362081687, 50.275329494826067], [105.886591424586726, 50.406019192092209], [106.888804152455336, 50.274295966180219], [107.868175897250936, 49.793705145865808], [108.475167270951275, 49.282547715850725], [109.402449171996636, 49.292960516957535], [110.662010532678764, 49.130128078805861], [111.581230910286607, 49.377968248077678], [112.897739699354361, 49.543565375356984], [114.362456496235239, 50.248302720737399], [114.962109816550154, 50.140247300815112], [115.485695428531386, 49.805177313834591], [116.678800897286152, 49.888531399121376], [116.191802199367544, 49.134598090199091], [115.485282017073018, 48.135382595403428], [115.742837355615748, 47.726544501326273], [116.308952671373206, 47.853410142602826], [117.295507440257396, 47.69770905210742], [118.064142694166691, 48.066730455103674], [118.866574334794933, 47.747060044946153], [119.772823927897477, 47.048058783550125], [119.66326989143873, 46.692679958678909], [118.874325799638711, 46.805412095723646], [117.421701287914175, 46.672732855814253], [116.717868280098841, 46.388202419615205], [115.985096470200062, 45.727235012385989], [114.46033165899604, 45.339816799493811], [113.463906691544139, 44.808893134127111], [112.436062453258785, 45.011645616224278], [111.873306105600278, 45.102079372735055], [111.348376906379428, 44.457441718110083], [111.667737257943202, 44.073175767587706], [111.829587843881342, 43.743118394539515], [111.129682244920218, 43.406834011400136], [110.412103306115256, 42.871233628911014], [109.243595819131428, 42.519446316084093], [107.744772576937933, 42.481515814781865], [106.129315627061658, 42.134327704428898], [104.964993931093446, 41.597409572916334], [104.522281935648977, 41.908346666016541], [103.312278273534787, 41.907468166667591], [101.833040399179922, 42.51487295182627], [100.845865513108237, 42.663804429691439], [99.515817498780009, 42.524691473961717], [97.451757440177985, 42.748889675460013], [96.349395786527793, 42.725635280928678], [95.762454868556674, 43.319449164394598], [95.306875441471504, 44.241330878265458], [94.688928664125299, 44.352331854828414], [93.480733677141274, 44.975472113619951], [92.133890822318193, 45.115075995456444], [90.945539585334288, 45.286073309910265], [90.585768263718265, 45.719716091487513], [90.970809360724985, 46.888146063822923], [90.280825636763893, 47.693549099307923], [88.854297723346733, 48.06908173277295], [88.013832228551721, 48.599462795600601], [87.751264276076697, 49.297197984405479]]] } }, + { "type": "Feature", "properties": { "admin": "Mozambique", "name": "Mozambique", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[34.559989047999345, -11.520020033415923], [35.312397902169032, -11.439146416879145], [36.514081658684248, -11.720938002166733], [36.775150994622791, -11.594537448780804], [37.471284214026596, -11.568750909067157], [37.827644891111383, -11.268769219612834], [38.427556593587745, -11.285202325081654], [39.521029900883768, -10.896853936408224], [40.316588576017182, -10.317096042525696], [40.478387485523022, -10.765440769089992], [40.437253045418672, -11.761710707245014], [40.560811395028558, -12.639176527561023], [40.599620395679743, -14.201975192931858], [40.775475294768988, -14.691764418194239], [40.477250604012596, -15.406294447493968], [40.089263950365208, -16.100774021064456], [39.452558628097044, -16.720891208566936], [38.53835086442151, -17.101023044505954], [37.411132846838875, -17.586368096591233], [36.281279331209348, -18.659687595293445], [35.896496616364054, -18.842260430580634], [35.198399692533137, -19.552811374593887], [34.786383497870041, -19.784011732667732], [34.701892531072836, -20.497043145431007], [35.176127150215358, -21.254361260668407], [35.373427768705731, -21.840837090748874], [35.385848253705397, -22.14], [35.562545536369079, -22.09], [35.533934767404297, -23.070787855727751], [35.371774122872374, -23.535358982031692], [35.607470330555621, -23.706563002214676], [35.458745558419615, -24.122609958596545], [35.040734897610655, -24.478350518493798], [34.215824008935463, -24.816314385682652], [33.013210076639005, -25.357573337507731], [32.574632195777859, -25.727318210556088], [32.660363396950082, -26.148584486599443], [32.915955031065685, -26.215867201443459], [32.830120477028878, -26.74219166433619], [32.071665480281062, -26.733820082304902], [31.985779249811962, -26.29177988048022], [31.837777947728057, -25.843331801051342], [31.752408481581874, -25.484283949487406], [31.930588820124242, -24.369416599222532], [31.670397983534645, -23.658969008073861], [31.191409132621278, -22.251509698172395], [32.244988234188007, -21.116488539313689], [32.508693068173436, -20.395292250248303], [32.659743279762573, -20.30429005298231], [32.772707960752619, -19.715592136313294], [32.611994256324884, -19.419382826416268], [32.654885695127142, -18.672089939043492], [32.849860874164385, -17.979057305577175], [32.847638787575839, -16.713398125884613], [32.328238966610222, -16.392074069893749], [31.852040643040592, -16.319417006091374], [31.636498243951188, -16.071990248277881], [31.173063999157673, -15.860943698797868], [30.338954705534537, -15.880839125230242], [30.274255812305103, -15.507786960515208], [30.179481235481827, -14.796099134991525], [33.214024692525207, -13.97186003993615], [33.789700148256678, -14.451830743063068], [34.064825473778619, -14.359950046448118], [34.459633416488536, -14.613009535381421], [34.517666049952304, -15.013708591372609], [34.307291294092089, -15.478641452702592], [34.381291945134045, -16.183559665596039], [35.033810255683527, -16.801299737213089], [35.339062941231639, -16.107440280830108], [35.771904738108347, -15.896858819240721], [35.686845330555926, -14.611045830954328], [35.267956170398001, -13.887834161029563], [34.907151320136158, -13.565424899960565], [34.559989047999345, -13.579997653866872], [34.280006137841973, -12.280025323132504], [34.559989047999345, -11.520020033415923]]] } }, + { "type": "Feature", "properties": { "admin": "Mauritania", "name": "Mauritania", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-12.170750291380299, 14.616834214735503], [-12.830658331747513, 15.303691514542942], [-13.43573767745306, 16.039383042866188], [-14.099521450242175, 16.304302273010489], [-14.577347581428977, 16.598263658102805], [-15.135737270558813, 16.587282416240779], [-15.623666144258689, 16.369337063049809], [-16.120690070041928, 16.45566254319338], [-16.463098110407881, 16.135036119038457], [-16.549707810929061, 16.673892116761959], [-16.270551723688353, 17.166962795474866], [-16.146347418674846, 18.108481553616652], [-16.256883307347163, 19.096715806550304], [-16.377651129613266, 19.593817246981981], [-16.277838100641514, 20.092520656814695], [-16.536323614965465, 20.567866319251486], [-17.063423224342568, 20.99975210213082], [-16.845193650773989, 21.333323472574875], [-12.929101935263528, 21.327070624267559], [-13.118754441774708, 22.771220201096249], [-12.874221564169574, 23.284832261645171], [-11.93722449385332, 23.374594224536164], [-11.969418911171159, 25.933352769468261], [-8.687293667017398, 25.881056219988899], [-8.684399786809051, 27.395744126895998], [-4.92333736817423, 24.974574082940993], [-6.453786586930334, 24.956590684503418], [-5.971128709324247, 20.640833441647626], [-5.488522508150438, 16.325102037007962], [-5.315277268891931, 16.201853745991837], [-5.537744309908446, 15.501689764869253], [-9.550238409859388, 15.486496893775435], [-9.700255092802703, 15.264107367407359], [-10.086846482778212, 15.330485744686269], [-10.650791388379414, 15.132745876521422], [-11.349095017939502, 15.411256008358475], [-11.666078253617853, 15.388208319556295], [-11.834207526079465, 14.799096991428936], [-12.170750291380299, 14.616834214735503]]] } }, + { "type": "Feature", "properties": { "admin": "Malawi", "name": "Malawi", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[34.559989047999345, -11.520020033415923], [34.280006137841973, -12.280025323132504], [34.559989047999345, -13.579997653866872], [34.907151320136158, -13.565424899960565], [35.267956170398001, -13.887834161029563], [35.686845330555926, -14.611045830954328], [35.771904738108347, -15.896858819240721], [35.339062941231639, -16.107440280830108], [35.033810255683527, -16.801299737213089], [34.381291945134045, -16.183559665596039], [34.307291294092089, -15.478641452702592], [34.517666049952304, -15.013708591372609], [34.459633416488536, -14.613009535381421], [34.064825473778619, -14.359950046448118], [33.789700148256678, -14.451830743063068], [33.214024692525207, -13.97186003993615], [32.688165317523122, -13.712857761289273], [32.991764357237876, -12.783870537978272], [33.306422153463068, -12.435778090060214], [33.114289178201908, -11.607198174692311], [33.315310499817279, -10.796549981329695], [33.485687697083584, -10.525558770391111], [33.231387973775291, -9.676721693564799], [32.759375441221316, -9.230599053589058], [33.739729038230443, -9.417150974162722], [33.940837724096532, -9.693673841980292], [34.280006137841973, -10.159999688358402], [34.559989047999345, -11.520020033415923]]] } }, + { "type": "Feature", "properties": { "admin": "Malaysia", "name": "Malaysia", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[101.075515578213299, 6.204867051615891], [101.154218784593809, 5.691384182147713], [101.814281854258013, 5.810808417174228], [102.141186964936423, 6.221636053894655], [102.371147088635212, 6.12820506431096], [102.961705356866673, 5.524495144061077], [103.381214634212142, 4.855001125503746], [103.438575474056165, 4.181605536308381], [103.332122023534851, 3.72669790284297], [103.42942874554052, 3.382868760589019], [103.502447544368877, 2.791018581550204], [103.854674106870334, 2.515454006353763], [104.247931756611479, 1.631141058759055], [104.228811476663523, 1.293048000489534], [103.519707472754433, 1.226333726400682], [102.573615350354771, 1.967115383304744], [101.39063846232915, 2.760813706875623], [101.273539666755838, 3.27029165284118], [100.69543541870668, 3.939139715994869], [100.557407668055092, 4.767280381688279], [100.19670617065772, 5.312492580583678], [100.306260207116509, 6.040561835143875], [100.085756870527078, 6.46448944745029], [100.259596388756918, 6.64282481528957], [101.075515578213299, 6.204867051615891]]], [[[118.618320754064825, 4.47820241944754], [117.882034946770162, 4.137551377779487], [117.01521447150634, 4.306094061699468], [115.86551720587677, 4.306559149590156], [115.51907840379198, 3.169238389494395], [115.134037306785231, 2.821481838386219], [114.621355422017473, 1.430688177898886], [113.805849644019531, 1.217548732911041], [112.859809198052176, 1.497790025229946], [112.380251906383648, 1.410120957846757], [111.797548455860408, 0.904441229654651], [111.159137811326559, 0.976478176269509], [110.514060907027101, 0.773131415200993], [109.830226678508836, 1.338135687664191], [109.663260125773718, 2.006466986494984], [110.396135288537039, 1.663774725751395], [111.168852980597478, 1.850636704918784], [111.370081007942076, 2.697303371588872], [111.796928338672842, 2.885896511238073], [112.995614862115247, 3.102394924324869], [113.712935418758718, 3.893509426281127], [114.204016554828399, 4.525873928236819], [114.659595981913526, 4.00763682699781], [114.869557326315373, 4.348313706881952], [115.347460972150671, 4.316636053887009], [115.405700311343594, 4.955227565933824], [115.450710483869798, 5.447729803891561], [116.220741001450961, 6.143191229675621], [116.725102980619752, 6.924771429873998], [117.129626092600461, 6.928052883324566], [117.643393182446303, 6.422166449403305], [117.689075148592337, 5.98749013918018], [118.347691278152197, 5.708695786965462], [119.181903924639926, 5.407835598162249], [119.110693800941718, 5.016128241389864], [118.439727004064082, 4.966518866389619], [118.618320754064825, 4.47820241944754]]]] } }, + { "type": "Feature", "properties": { "admin": "Namibia", "name": "Namibia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[16.344976840895239, -28.576705010697697], [15.601818068105812, -27.821247247022797], [15.210472446359457, -27.09095590587404], [14.989710727608548, -26.117371921495153], [14.74321414557633, -25.392920017195376], [14.40814415859583, -23.85301401132984], [14.385716586981145, -22.656652927340687], [14.257714064194172, -22.111208184499951], [13.868642205468657, -21.699036960539974], [13.352497999737437, -20.872834161057497], [12.82684533046449, -19.673165785401661], [12.608564080463617, -19.045348809487695], [11.794918654028063, -18.069129327061912], [11.734198846085118, -17.30188933682447], [12.215461460019352, -17.11166838955808], [12.814081251688405, -16.941342868724067], [13.462362094789963, -16.971211846588769], [14.058501417709007, -17.42338062914266], [14.209706658595021, -17.353100681225715], [18.26330936043416, -17.309950860262003], [18.956186964603599, -17.789094740472255], [21.377176141045563, -17.930636488519688], [23.215048455506057, -17.52311614346598], [24.033861525170771, -17.29584319424632], [24.6823490740015, -17.35341073981947], [25.076950310982255, -17.578823337476617], [25.084443393664564, -17.661815687737366], [24.520705193792534, -17.887124932529932], [24.217364536239209, -17.889347019118485], [23.579005568137713, -18.281261081620055], [23.196858351339298, -17.869038181227783], [21.655040317478971, -18.219146010005222], [20.910641310314531, -18.252218926672018], [20.881134067475866, -21.814327080983144], [19.895457797940672, -21.849156996347865], [19.895767856534427, -24.767790215760588], [19.89473432788861, -28.461104831660769], [19.002127312911082, -28.972443129188857], [18.464899122804745, -29.045461928017271], [17.836151971109526, -28.856377862261311], [17.387497185951499, -28.783514092729774], [17.218928663815401, -28.355943291946804], [16.824017368240899, -28.082161553664466], [16.344976840895239, -28.576705010697697]]] } }, + { "type": "Feature", "properties": { "admin": "New Caledonia", "name": "New Caledonia", "continent": "Oceania" }, "geometry": { "type": "Polygon", "coordinates": [[[165.779989862326346, -21.080004978115621], [166.599991489933814, -21.700018812753523], [167.120011428086883, -22.159990736583488], [166.74003462144475, -22.399976088146943], [166.189732293968632, -22.129708347260447], [165.474375441752159, -21.679606621998229], [164.829815301775653, -21.149819838141948], [164.16799523341362, -20.444746595951624], [164.029605747735957, -20.105645847252347], [164.459967075862664, -20.120011895429492], [165.020036249041993, -20.459991143477726], [165.460009393575064, -20.800022067958253], [165.779989862326346, -21.080004978115621]]] } }, + { "type": "Feature", "properties": { "admin": "Niger", "name": "Niger", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[2.154473504249949, 11.940150051313422], [2.177107781593917, 12.625017808477534], [1.024103224297619, 12.851825669806598], [0.993045688490156, 13.335749620003865], [0.429927605805517, 13.988733018443893], [0.295646396495215, 14.444234930880663], [0.374892205414767, 14.928908189346144], [1.015783318698481, 14.968182277887989], [1.385528191746971, 15.323561102759237], [2.74999270998154, 15.409524847876751], [3.63825890464659, 15.56811981858044], [3.723421665063596, 16.184283759012654], [4.270209995143886, 16.852227484601311], [4.267419467800095, 19.155265204337123], [5.677565952180712, 19.601206976799794], [8.572893100629868, 21.565660712159225], [11.999505649471697, 23.471668402596432], [13.581424594790459, 23.040506089769274], [14.143870883855239, 22.491288967371126], [14.8513, 22.862950000000119], [15.096887648181847, 21.308518785074902], [15.471076694407314, 21.048457139565979], [15.487148064850143, 20.730414537025634], [15.90324669766431, 20.387618923417499], [15.68574059414777, 19.957180080642384], [15.300441114979716, 17.927949937405], [15.247731154041842, 16.627305813050778], [13.972201775781681, 15.684365953021139], [13.540393507550785, 14.36713369390122], [13.956698846094124, 13.996691189016925], [13.954476759505607, 13.353448798063765], [14.595781284247604, 13.330426947477859], [14.495787387762899, 12.859396267137353], [14.213530714584746, 12.80203542729333], [14.181336297266906, 12.483656927943169], [13.995352817448289, 12.4615652531383], [13.318701613018558, 13.55635630945795], [13.083987257548809, 13.596147162322492], [12.302071160540546, 13.037189032437535], [11.527803175511504, 13.328980007373556], [10.989593133191532, 13.387322699431191], [10.701031935273816, 13.246917832894038], [10.114814487354748, 13.277251898649464], [9.524928012743088, 12.85110219975456], [9.014933302454436, 12.826659247280414], [7.804671258178869, 13.343526923063731], [7.330746697630046, 13.098038031461213], [6.82044192874781, 13.115091254117598], [6.445426059605721, 13.492768459522718], [5.443058302440135, 13.865923977102225], [4.368343540066006, 13.747481594289408], [4.107945997747378, 13.531215725147941], [3.967282749048933, 12.956108710171574], [3.680633579125924, 12.552903347214167], [3.611180454125587, 11.660167141155965], [2.848643019226585, 12.235635891158207], [2.490163608418015, 12.233052069543588], [2.154473504249949, 11.940150051313422]]] } }, + { "type": "Feature", "properties": { "admin": "Nigeria", "name": "Nigeria", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[8.500287713259693, 4.771982937026847], [7.462108188515939, 4.41210826254624], [7.082596469764438, 4.464689032403228], [6.698072137080598, 4.240594183769516], [5.898172641634686, 4.262453314628984], [5.362804803090881, 4.887970689305957], [5.033574252959368, 5.611802476418233], [4.325607130560683, 6.270651149923466], [3.574180128604552, 6.258300482605717], [2.691701694356254, 6.258817246928628], [2.74906253420022, 7.870734361192886], [2.723792758809509, 8.506845404489708], [2.912308383810255, 9.13760793704432], [3.220351596702101, 9.4441525333997], [3.705438266625918, 10.063210354040207], [3.600070021182801, 10.332186184119406], [3.797112257511713, 10.734745591673104], [3.572216424177469, 11.327939357951516], [3.611180454125558, 11.660167141155966], [3.68063357912581, 12.552903347214222], [3.967282749048848, 12.956108710171572], [4.107945997747321, 13.531215725147829], [4.368343540066063, 13.747481594289324], [5.443058302440163, 13.865923977102295], [6.445426059605636, 13.492768459522676], [6.820441928747753, 13.115091254117514], [7.330746697630017, 13.098038031461199], [7.804671258178784, 13.343526923063745], [9.014933302454462, 12.826659247280427], [9.524928012742945, 12.851102199754477], [10.114814487354689, 13.277251898649409], [10.701031935273702, 13.246917832894081], [10.989593133191532, 13.387322699431108], [11.527803175511393, 13.328980007373584], [12.302071160540521, 13.037189032437521], [13.083987257548866, 13.596147162322563], [13.318701613018558, 13.556356309457824], [13.995352817448346, 12.461565253138343], [14.181336297266792, 12.483656927943112], [14.57717776862253, 12.085360826053501], [14.468192172918974, 11.90475169519341], [14.415378859116682, 11.572368882692071], [13.572949659894558, 10.798565985553564], [13.308676385153914, 10.160362046748926], [13.1675997249971, 9.64062632897341], [12.955467970438971, 9.417771714714702], [12.753671502339214, 8.717762762888993], [12.218872104550597, 8.305824082874322], [12.063946160539556, 7.799808457872301], [11.839308709366801, 7.397042344589434], [11.745774366918509, 6.981382961449753], [11.058787876030349, 6.644426784690593], [10.497375115611417, 7.055357774275562], [10.118276808318255, 7.038769639509879], [9.522705926154398, 6.453482367372116], [9.233162876023043, 6.444490668153334], [8.757532993208626, 5.47966583904791], [8.500287713259693, 4.771982937026847]]] } }, + { "type": "Feature", "properties": { "admin": "Nicaragua", "name": "Nicaragua", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-85.712540452807289, 11.088444932494822], [-86.058488328785245, 11.40343862552994], [-86.525849982432931, 11.806876532432593], [-86.7459915839963, 12.143961900272483], [-87.167516242201131, 12.458257961471656], [-87.668493415054698, 12.909909979702629], [-87.557466600275603, 13.064551703336061], [-87.392386237319201, 12.914018256069836], [-87.316654425795463, 12.984685777228972], [-87.005769009127562, 13.025794379117157], [-86.880557013684339, 13.254204209847241], [-86.733821784191576, 13.263092556201441], [-86.755086636079696, 13.754845485890909], [-86.520708177419877, 13.778487453664436], [-86.312142096689911, 13.771356106008167], [-86.096263800790581, 14.038187364147245], [-85.801294725268576, 13.836054999237586], [-85.698665330736901, 13.960078436738083], [-85.514413011400222, 14.079011745657834], [-85.165364549484792, 14.354369615125076], [-85.148750576502948, 14.560196844943615], [-85.052787441736925, 14.551541042534719], [-84.924500698572388, 14.790492865452348], [-84.820036790694346, 14.819586696832669], [-84.649582078779602, 14.66680532476175], [-84.449335903648588, 14.621614284722494], [-84.228341640952394, 14.748764146376654], [-83.975721401693576, 14.749435939996458], [-83.628584967772895, 14.880073960830298], [-83.489988776366104, 15.016267198135534], [-83.147219000974104, 14.995829169164109], [-83.233234422523907, 14.8998660343981], [-83.28416154654758, 14.676623846897197], [-83.182126430987267, 14.310703029838447], [-83.412499966144424, 13.970077826386554], [-83.519831916014667, 13.56769928634588], [-83.55220720084553, 13.127054348193084], [-83.498515387694255, 12.869292303921226], [-83.473323126951968, 12.419087225794424], [-83.626104499022887, 12.320850328007563], [-83.719613003255034, 11.893124497927724], [-83.650857510090702, 11.629032090700116], [-83.855470343750369, 11.373311265503785], [-83.808935716471538, 11.103043524617274], [-83.655611741861563, 10.938764146361418], [-83.895054490885926, 10.726839097532444], [-84.190178595704822, 10.793450018756671], [-84.355930752281026, 10.999225572142901], [-84.673069017256239, 11.082657172078139], [-84.903003302738924, 10.952303371621895], [-85.561851976244171, 11.217119248901593], [-85.712540452807289, 11.088444932494822]]] } }, + { "type": "Feature", "properties": { "admin": "Netherlands", "name": "Netherlands", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[6.074182570020922, 53.51040334737813], [6.905139601274128, 53.482162177130633], [7.092053256873895, 53.14404328064488], [6.842869500362381, 52.228440253297542], [6.589396599970825, 51.85202912048338], [5.988658074577812, 51.85161570902504], [6.156658155958779, 50.803721015010574], [5.60697594567, 51.037298488969768], [4.973991326526913, 51.475023708698124], [4.047071160507527, 51.267258612668556], [3.314971144228536, 51.345755113319903], [3.830288527043137, 51.620544542031936], [4.705997348661184, 53.091798407597757], [6.074182570020922, 53.51040334737813]]] } }, + { "type": "Feature", "properties": { "admin": "Norway", "name": "Norway", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[28.165547316202911, 71.185474351680497], [31.293418409965472, 70.453787746859902], [30.005435011522785, 70.186258856884876], [31.101078728975118, 69.558080145944857], [29.399580519332879, 69.156916002063056], [28.591929559043187, 69.064776923286686], [29.015572950971968, 69.76649119737796], [27.732292107867885, 70.164193020296281], [26.179622023226298, 69.825298977326142], [25.689212680776389, 69.092113755968995], [24.735679152126714, 68.649556789821432], [23.662049594830759, 68.891247463650515], [22.356237827247405, 68.841741441514941], [21.244936150810723, 69.370443020293109], [20.645592889089581, 69.106247260200846], [20.02526899585791, 69.065138658312705], [19.878559604581248, 68.407194322372604], [17.993868442464386, 68.567391262477329], [17.729181756265344, 68.01055186631622], [16.768878614985535, 68.013936672631374], [16.108712192456832, 67.302455552836889], [15.108411492583055, 66.193866889095418], [13.555689731509087, 64.787027696381458], [13.919905226302202, 64.445420640716108], [13.571916131248766, 64.049114081469654], [12.57993533697393, 64.066218980558332], [11.930569288794228, 63.128317572676977], [11.992064243221531, 61.800362453856557], [12.63114668137524, 61.293571682370079], [12.300365838274896, 60.117932847730046], [11.468271925511173, 59.432393296945989], [11.027368605196925, 58.856149400459394], [10.356556837616095, 59.469807033925363], [8.382000359743641, 58.313288479233265], [7.048748406613297, 58.078884182357271], [5.665835402050418, 58.588155422593658], [5.308234490590733, 59.663231919993805], [4.992078077829005, 61.97099803328426], [5.912900424837885, 62.614472968182682], [8.553411085655766, 63.454008287196459], [10.527709181366784, 64.486038316497471], [12.358346795306371, 65.879725857193151], [14.7611458675816, 67.810641587995121], [16.435927361728968, 68.563205471461671], [19.184028354578512, 69.817444159617807], [21.378416375420606, 70.255169379346043], [23.02374230316158, 70.202071845166259], [24.546543409938515, 71.030496731237221], [26.370049676221807, 70.986261705195361], [28.165547316202911, 71.185474351680497]]], [[[24.72412, 77.85385], [22.49032, 77.44493], [20.72601, 77.67704], [21.41611, 77.93504], [20.8119, 78.25463], [22.88426, 78.45494], [23.28134, 78.07954], [24.72412, 77.85385]]], [[[18.25183, 79.70175], [21.54383, 78.95611], [19.02737, 78.5626], [18.47172, 77.82669], [17.59441, 77.63796], [17.1182, 76.80941], [15.91315, 76.77045], [13.76259, 77.38035], [14.66956, 77.73565], [13.1706, 78.02493], [11.22231, 78.8693], [10.44453, 79.65239], [13.17077, 80.01046], [13.71852, 79.66039], [15.14282, 79.67431], [15.52255, 80.01608], [16.99085, 80.05086], [18.25183, 79.70175]]], [[[25.447625359811887, 80.407340399894494], [27.407505730913492, 80.056405748200447], [25.924650506298171, 79.517833970854539], [23.024465773213613, 79.40001170522909], [20.075188429451877, 79.566823228667232], [19.897266473070907, 79.842361965647498], [18.46226362475792, 79.859880276194403], [17.368015170977454, 80.318896186027004], [20.455992059010693, 80.598155626132225], [21.907944777115397, 80.357679348462071], [22.919252557067431, 80.657144273593488], [25.447625359811887, 80.407340399894494]]]] } }, + { "type": "Feature", "properties": { "admin": "Nepal", "name": "Nepal", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[88.120440708369841, 27.876541652939586], [88.043132765661198, 27.445818589786818], [88.174804315140904, 26.810405178325944], [88.060237664749806, 26.414615383402484], [87.22747195836628, 26.39789805755607], [86.024392938179147, 26.630984605408567], [85.25177859898335, 26.726198431906337], [84.675017938173767, 27.234901231387528], [83.304248895199535, 27.364505723575554], [81.999987420584958, 27.925479234319987], [81.057202589851997, 28.416095282499036], [80.088424513676259, 28.794470119740136], [80.476721225917373, 29.729865220655334], [81.11125613802929, 30.183480943313398], [81.525804477874729, 30.422716986608627], [82.327512648450863, 30.115268052688126], [83.337115106137176, 29.463731594352193], [83.898992954446712, 29.320226141877654], [84.234579705750136, 28.839893703724691], [85.011638218123025, 28.642773952747337], [85.823319940131498, 28.203575954698699], [86.954517043000592, 27.97426178640351], [88.120440708369841, 27.876541652939586]]] } }, + { "type": "Feature", "properties": { "admin": "New Zealand", "name": "New Zealand", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[173.020374790740703, -40.919052422856417], [173.247234328502003, -41.331998793300777], [173.958405389702875, -40.926700534835604], [174.2475867048081, -41.349155368821663], [174.248516880589449, -41.770008233406749], [173.876446568087886, -42.233184096038819], [173.222739699595621, -42.970038344088557], [172.711246372770717, -43.372287693048492], [173.080112746470206, -43.853343601253577], [172.308583612352464, -43.865694268571332], [171.452925246463622, -44.24251881284372], [171.185137974327233, -44.897104180684885], [170.616697219116588, -45.908928724959701], [169.83142215400926, -46.355774834987585], [169.332331170934253, -46.641235446967848], [168.411353794628525, -46.619944756863582], [167.763744745146823, -46.290197442409195], [166.676886021184202, -46.219917494492236], [166.509144321964669, -45.852704766626204], [167.046424188503238, -45.110941257508664], [168.303763462596862, -44.12397307716612], [168.949408807651508, -43.93581918719142], [169.667814569373149, -43.555325616226334], [170.524919875366152, -43.031688327812823], [171.125089960004004, -42.512753594737781], [171.569713983443194, -41.767424411792128], [171.948708937871885, -41.514416599291145], [172.097227004278722, -40.956104424809674], [172.798579543343948, -40.493962090823466], [173.020374790740703, -40.919052422856417]]], [[[174.612008905330526, -36.156397393540537], [175.336615838927173, -37.209097995758263], [175.3575964704375, -36.52619394302112], [175.808886753642469, -36.798942152657681], [175.958490025127475, -37.555381768546063], [176.763195428776555, -37.881253350578696], [177.438813104560495, -37.961248467766488], [178.010354445708657, -37.579824721020124], [178.517093540762801, -37.695373223624792], [178.274731073313802, -38.582812595373092], [177.970460239979332, -39.166342868812968], [177.206992629299123, -39.145775648760839], [176.939980503647007, -39.449736423501562], [177.032946405340113, -39.879942722331471], [176.8858236026052, -40.06597787858216], [176.508017206119348, -40.60480803808958], [176.012440220440283, -41.289624118821493], [175.239567499082966, -41.688307793953236], [175.067898391009408, -41.425894870775075], [174.650972935278418, -41.281820977545443], [175.227630243223615, -40.459235528323397], [174.900156691789959, -39.908933200847216], [173.824046665743992, -39.508854262043506], [173.852261997775315, -39.146602471677461], [174.57480187408035, -38.797683200842748], [174.743473749081033, -38.027807712558378], [174.69701663645057, -37.381128838857954], [174.292028436579187, -36.71109221776144], [174.319003534235549, -36.534823907213884], [173.840996535535766, -36.121980889634109], [173.05417117745958, -35.237125339500331], [172.636005487353714, -34.529106540669382], [173.007042271209457, -34.450661716450334], [173.551298456107475, -35.006183363587958], [174.329390497126241, -35.265495700828616], [174.612008905330526, -36.156397393540537]]]] } }, + { "type": "Feature", "properties": { "admin": "Oman", "name": "Oman", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[58.861141391846573, 21.114034532144299], [58.487985874266961, 20.428985907467101], [58.03431847517659, 20.481437486243347], [57.826372511634098, 20.24300242764863], [57.66576216007094, 19.736004950433109], [57.788700392493368, 19.067570298737646], [57.694390903560667, 18.944709580963799], [57.2342639504338, 18.947991034414255], [56.609650913321971, 18.574267076079476], [56.512189162019482, 18.087113348863934], [56.283520949128011, 17.876066799383945], [55.661491733630683, 17.884128322821535], [55.269939406155189, 17.632309068263194], [55.274900343655091, 17.228354397037659], [54.791002231674113, 16.950696926333357], [54.239252964093751, 17.04498057704998], [53.57050825380459, 16.707662665264674], [53.108572625547502, 16.651051133688977], [52.782184279192066, 17.349742336491229], [52.000009800022227, 19.000003363516068], [54.999981723862405, 19.999994004796118], [55.666659376859869, 22.000001125572307], [55.208341098863187, 22.708329982997007], [55.234489373602869, 23.110992743415348], [55.52584109886449, 23.524869289640911], [55.528631626208288, 23.933604030853498], [55.981213820220503, 24.130542914317854], [55.80411868675624, 24.269604193615287], [55.88623253766805, 24.920830593357486], [56.396847365143984, 24.924732163995508], [56.845140415276049, 24.241673081961487], [57.403452589757428, 23.878594468678834], [58.136947869708322, 23.747930609628835], [58.729211460205427, 23.565667832935414], [59.180501743410346, 22.992395331305456], [59.450097690677033, 22.660270900965592], [59.80806033716285, 22.533611965418199], [59.806148309168087, 22.31052480721419], [59.442191196536399, 21.71454051359208], [59.282407667889871, 21.433885809814875], [58.861141391846573, 21.114034532144299]]], [[[56.391421339753393, 25.895990708921254], [56.261041701080913, 25.714606431576748], [56.070820753814544, 26.055464178973946], [56.362017449779344, 26.395934353128947], [56.485679152253809, 26.309117946878665], [56.391421339753393, 25.895990708921254]]]] } }, + { "type": "Feature", "properties": { "admin": "Pakistan", "name": "Pakistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[75.158027785140902, 37.13303091078911], [75.896897414050116, 36.666806138651829], [76.192848341785677, 35.898403428687821], [77.837450799474553, 35.494009507787759], [76.871721632804011, 34.653544012992732], [75.757060988268321, 34.504922593721311], [74.240202671204955, 34.748887030571247], [73.749948358051952, 34.317698879527846], [74.104293654277328, 33.441473293586846], [74.451559279278698, 32.764899603805489], [75.258641798813187, 32.271105455040491], [74.405928989564998, 31.692639471965272], [74.421380242820263, 30.97981476493117], [73.450638462217412, 29.976413479119863], [72.823751662084689, 28.961591701772047], [71.777665643200308, 27.913180243434521], [70.61649620960192, 27.989196275335861], [69.514392938113119, 26.940965684511365], [70.168926629522005, 26.491871649678835], [70.282873162725579, 25.722228705339823], [70.844699334602822, 25.215102037043511], [71.0432401874682, 24.356523952730193], [68.842599318318761, 24.359133612560932], [68.176645135373377, 23.691965033456704], [67.443666619745457, 23.944843654876983], [67.145441928989058, 24.663611151624639], [66.37282758979326, 25.425140896093847], [64.530407749291115, 25.237038682551425], [62.905700718034595, 25.218409328710202], [61.497362908784183, 25.078237006118492], [61.874187453056535, 26.239974880472097], [63.316631707619578, 26.756532497661659], [63.23389773952028, 27.217047024030702], [62.755425652929851, 27.378923448184985], [62.727830438085974, 28.259644883735383], [61.771868117118615, 28.699333807890792], [61.369308709564926, 29.303276272085917], [60.874248488208778, 29.829238999952604], [62.549856805272775, 29.318572496044304], [63.550260858011164, 29.468330796826162], [64.148002150331237, 29.340819200145965], [64.350418735618504, 29.560030625928089], [65.046862013616092, 29.472180691031902], [66.346472609324408, 29.88794342703617], [66.38145755398601, 30.738899237586448], [66.938891229118454, 31.304911200479346], [67.683393589147457, 31.303154201781414], [67.792689243444769, 31.582930406209623], [68.556932000609308, 31.713310044882011], [68.926676873657655, 31.620189113892064], [69.317764113242546, 31.901412258424436], [69.262522007122541, 32.501944078088293], [69.687147251264847, 33.105498969041228], [70.323594191371583, 33.358532619758385], [69.93054324735958, 34.020120144175102], [70.881803012988385, 33.988855902638512], [71.156773309213449, 34.348911444632144], [71.115018751921625, 34.733125718722228], [71.613076206350698, 35.153203436822857], [71.498767938121077, 35.650563259415996], [71.262348260385735, 36.074387518857797], [71.846291945283909, 36.509942328429851], [72.920024855444453, 36.720007025696312], [74.067551710917812, 36.836175645488446], [74.575892775372964, 37.02084137628345], [75.158027785140902, 37.13303091078911]]] } }, + { "type": "Feature", "properties": { "admin": "Panama", "name": "Panama", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-77.881571417945239, 7.223771267114783], [-78.214936082660103, 7.512254950384159], [-78.429160732726061, 8.052041123888925], [-78.182095709938608, 8.319182440621772], [-78.43546525746568, 8.387705389840788], [-78.622120530903928, 8.718124497915026], [-79.120307176413732, 8.996092027213022], [-79.557877366845176, 8.932374986197145], [-79.760578172510037, 8.584515082224398], [-80.164481167303322, 8.333315944853593], [-80.382659064439608, 8.29840851484043], [-80.480689256497286, 8.090307522001067], [-80.003689948227148, 7.54752411542337], [-80.276670701808982, 7.419754136581713], [-80.421158006497066, 7.271571966984763], [-80.886400926420791, 7.220541490096535], [-81.059542812814698, 7.817921047390596], [-81.189715745757937, 7.647905585150339], [-81.519514736644666, 7.706610012233908], [-81.721311204744453, 8.108962714058434], [-82.131441209628889, 8.175392767769635], [-82.390934414382542, 8.292362372262287], [-82.820081346350406, 8.290863755725821], [-82.850958014644803, 8.073822740099954], [-82.965783047197348, 8.225027980985983], [-82.9131764391242, 8.423517157419068], [-82.829770677405151, 8.626295477732368], [-82.868657192704759, 8.807266343618521], [-82.719183112300513, 8.925708726431493], [-82.927154914059145, 9.074330145702914], [-82.932890998043561, 9.476812038608172], [-82.546196255203469, 9.566134751824674], [-82.187122565423394, 9.207448635286779], [-82.207586432610952, 8.995575262890098], [-81.808566860669259, 8.95061676679617], [-81.714154018872023, 9.031955471223581], [-81.43928707551153, 8.786234035675715], [-80.947301601876745, 8.858503526235905], [-80.521901211250054, 9.11107208906243], [-79.914599778955974, 9.312765204297618], [-79.573302781884294, 9.611610012241526], [-79.021191779277913, 9.552931423374103], [-79.058450486960353, 9.454565334506523], [-78.500887620747164, 9.420458889193879], [-78.055927700497989, 9.247730414258296], [-77.729513515926399, 8.946844387238867], [-77.353360765273848, 8.670504665558068], [-77.474722866511314, 8.524286200388216], [-77.242566494440069, 7.935278225125442], [-77.431107957656977, 7.638061224798733], [-77.75341386586139, 7.709839789252141], [-77.881571417945239, 7.223771267114783]]] } }, + { "type": "Feature", "properties": { "admin": "Peru", "name": "Peru", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-69.590423753524036, -17.580011895419329], [-69.858443569605839, -18.092693780187009], [-70.3725723944777, -18.347975355708861], [-71.375250210236914, -17.77379851651385], [-71.462040778271117, -17.363487644116379], [-73.444529588500401, -16.359362888252992], [-75.23788265654143, -15.26568287522778], [-76.009205084929931, -14.649286390850317], [-76.423469204397733, -13.823186944232431], [-76.259241502574156, -13.535039157772939], [-77.10619238962181, -12.222716159720816], [-78.092152879534623, -10.377712497604062], [-79.036953091126918, -8.38656788496589], [-79.445920376284832, -7.930833428583859], [-79.760578172510037, -7.194340915560081], [-80.537481655586049, -6.541667575713715], [-81.249996304026411, -6.136834405139182], [-80.926346808582423, -5.690556735866563], [-81.410942552399433, -4.736764825055459], [-81.099669562489353, -4.036394138203696], [-80.302560594387188, -3.404856459164712], [-80.184014858709645, -3.821161797708043], [-80.46929460317692, -4.059286797708999], [-80.442241990872134, -4.425724379090673], [-80.028908047185581, -4.346090996928893], [-79.62497921417615, -4.454198093283494], [-79.205289069317715, -4.959128513207388], [-78.639897223612323, -4.547784112164072], [-78.450683966775628, -3.873096612161375], [-77.83790483265858, -3.003020521663103], [-76.635394253226707, -2.608677666843817], [-75.544995693652027, -1.56160979574588], [-75.233722703741932, -0.911416924649529], [-75.373223232713841, -0.15203175212045], [-75.106624518520064, -0.05720549886486], [-74.441600511355958, -0.530820000819887], [-74.122395189089048, -1.002832533373848], [-73.659503546834586, -1.260491224781134], [-73.070392218707212, -2.308954359550952], [-72.325786505813639, -2.434218031426453], [-71.774760708285385, -2.169789727388937], [-71.413645799429773, -2.342802422702128], [-70.813475714791949, -2.256864515800742], [-70.047708502874841, -2.725156345229699], [-70.692682054309699, -3.742872002785858], [-70.394043952094975, -3.766591485207825], [-69.893635219996611, -4.298186944194326], [-70.79476884630229, -4.251264743673302], [-70.928843349883564, -4.401591485210367], [-71.748405727816532, -4.59398284263301], [-72.891927659787243, -5.274561455916979], [-72.964507208941185, -5.741251315944892], [-73.219711269814596, -6.089188734566076], [-73.120027431923575, -6.629930922068238], [-73.724486660441627, -6.918595472850638], [-73.723401455363486, -7.340998630404412], [-73.987235480429646, -7.523829847853063], [-73.571059332967053, -8.424446709835832], [-73.015382656532537, -9.03283334720806], [-73.226713426390148, -9.462212823121233], [-72.563033006465631, -9.520193780152715], [-72.184890713169821, -10.05359791426943], [-71.302412278921523, -10.079436130415372], [-70.481893886991159, -9.490118096558842], [-70.548685675728393, -11.009146823778462], [-70.093752204046879, -11.123971856331011], [-69.52967810736493, -10.951734307502193], [-68.665079718689611, -12.561300144097171], [-68.880079515239956, -12.89972909917665], [-68.929223802349526, -13.602683607643007], [-68.94888668483658, -14.45363941819328], [-69.339534674747, -14.953195489158828], [-69.160346645774936, -15.323973890853015], [-69.389764166934697, -15.66012908291165], [-68.959635382753291, -16.500697930571267], [-69.590423753524036, -17.580011895419329]]] } }, + { "type": "Feature", "properties": { "admin": "Philippines", "name": "Philippines", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[126.376813592637447, 8.414706325713352], [126.478512811387873, 7.750354112168976], [126.537423944200611, 7.189380601424572], [126.19677290253253, 6.274294338400038], [125.831420526229081, 7.293715318221855], [125.363852166852283, 6.78648529706099], [125.683160841983707, 6.049656887227257], [125.396511672060626, 5.581003322772288], [124.219787632342332, 6.16135549562618], [123.938719517106918, 6.88513560630612], [124.243662144061318, 7.360610459823659], [123.610212437027542, 7.833527329942753], [123.29607140512519, 7.418875637232786], [122.825505812675388, 7.457374579290216], [122.085499302255769, 6.899424139834847], [121.919928013192603, 7.192119452336072], [122.312358840017112, 8.034962063016506], [122.94239790251963, 8.316236883981174], [123.487687616063511, 8.693009751821192], [123.841154412939815, 8.240324204944384], [124.6014697612502, 8.514157619659015], [124.764612257995623, 8.960409450715458], [125.471390822451539, 8.986996975129641], [125.412117954612754, 9.760334784377545], [126.222714471543156, 9.28607432701885], [126.306636997585073, 8.782487494334573], [126.376813592637447, 8.414706325713352]]], [[[123.982437778825798, 10.278778591345811], [123.62318322153277, 9.950090643753297], [123.309920688979332, 9.318268744336676], [122.995883009941636, 9.022188625520398], [122.380054966319463, 9.713360907424201], [122.586088901867072, 9.981044826696104], [122.837081333508706, 10.261156927934234], [122.947410516451896, 10.881868394408029], [123.498849725438447, 10.940624497923945], [123.337774285984722, 10.267383938025445], [124.077935825701218, 11.232725531453706], [123.982437778825798, 10.278778591345811]]], [[[118.504580926590336, 9.316382554558087], [117.174274530100675, 8.367499904814663], [117.664477166821371, 9.066888739452933], [118.386913690261736, 9.684499619989223], [118.98734215706105, 10.376292019080507], [119.511496209797528, 11.36966807702721], [119.689676548339889, 10.554291490109872], [119.029458449378978, 10.003653265823869], [118.504580926590336, 9.316382554558087]]], [[[121.883547804859106, 11.891755072471977], [122.483821242361458, 11.582187404827506], [123.120216506035959, 11.583660183147867], [123.100837843926442, 11.165933742716486], [122.637713657726692, 10.741308498574226], [122.002610304859559, 10.441016750526087], [121.967366978036523, 10.905691229694622], [122.038370396005519, 11.415840969280039], [121.883547804859106, 11.891755072471977]]], [[[125.502551711123488, 12.162694606978347], [125.783464797062152, 11.046121934447767], [125.01188398651226, 11.311454576050377], [125.032761265158115, 10.975816148314703], [125.277449172060244, 10.358722032101308], [124.801819289245714, 10.134678859899889], [124.760168084818474, 10.8379951033923], [124.459101190286049, 10.889929917845633], [124.302521600441722, 11.495370998577227], [124.891012811381572, 11.415582587118589], [124.877990350443952, 11.794189968304988], [124.266761509295705, 12.557760931849682], [125.22711632700782, 12.53572093347719], [125.502551711123488, 12.162694606978347]]], [[[121.527393833503481, 13.069590155484516], [121.262190382981544, 12.2055602075644], [120.833896112146533, 12.704496161342416], [120.323436313967477, 13.466413479053866], [121.18012820850214, 13.429697373910439], [121.527393833503481, 13.069590155484516]]], [[[121.321308221523566, 18.504064642811013], [121.937601353036371, 18.21855235439838], [122.246006300954264, 18.478949896717094], [122.336956821787965, 18.224882717354173], [122.174279412933174, 17.810282701076371], [122.51565392465335, 17.09350474697197], [122.252310825693883, 16.262444362854122], [121.662786086108255, 15.931017564350125], [121.505069614753367, 15.124813544164621], [121.728828566577249, 14.328376369682244], [122.258925409027313, 14.218202216035973], [122.701275669445636, 14.336541245984417], [123.950295037940236, 13.782130642141066], [123.855107049658599, 13.237771104378464], [124.181288690284873, 12.997527370653469], [124.077419061378222, 12.536676947474573], [123.298035109552245, 13.027525539598981], [122.928651971529902, 13.552919826710404], [122.671355015148663, 13.185836289925131], [122.034649692880521, 13.784481919810343], [121.126384718918587, 13.636687323455559], [120.628637323083296, 13.857655747935649], [120.679383579593832, 14.271015529838319], [120.99181928923052, 14.525392767795079], [120.693336216312687, 14.756670640517282], [120.564145135582976, 14.396279201713821], [120.070428501466367, 14.970869452367094], [119.920928582846102, 15.406346747290735], [119.883773228028247, 16.363704331929963], [120.286487664878791, 16.034628811095327], [120.39004723519173, 17.599081122299506], [120.7158671407919, 18.505227362537536], [121.321308221523566, 18.504064642811013]]]] } }, + { "type": "Feature", "properties": { "admin": "Papua New Guinea", "name": "Papua New Guinea", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[155.880025669578401, -6.819996840037758], [155.599991082988765, -6.919990736522491], [155.166994256815087, -6.535931491729299], [154.729191522438327, -5.900828138862208], [154.514114211239644, -5.139117526880012], [154.652503696917336, -5.042430922061839], [154.759990676084357, -5.339983819198493], [155.062917922179338, -5.566791680527486], [155.547746209941693, -6.200654799019658], [156.019965448224752, -6.540013929880386], [155.880025669578401, -6.819996840037758]]], [[[151.982795851854462, -5.478063246282344], [151.459106887008659, -5.560280450058739], [151.301390415653884, -5.840728448106701], [150.754447056276661, -6.083762709175387], [150.241196730753813, -6.317753594592984], [149.709963006793316, -6.316513360218051], [148.890064732050462, -6.026040134305432], [148.318936802360696, -5.74714242922613], [148.401825799756864, -5.437755629094722], [149.298411900020824, -5.583741550319216], [149.845561965127217, -5.505503431829339], [149.996250441690279, -5.026101169457674], [150.139755894164921, -5.001348158389788], [150.236907586873485, -5.53222014732428], [150.807467075808063, -5.455842380396886], [151.089672072553981, -5.113692722192368], [151.647880894170811, -4.757073662946168], [151.537861769821518, -4.167807305521889], [152.136791620084352, -4.148790378438519], [152.338743117480988, -4.31296640382976], [152.318692661751754, -4.867661228050748], [151.982795851854462, -5.478063246282344]]], [[[147.191873814074938, -7.388024183789978], [148.084635858349372, -8.044108168167609], [148.734105259393573, -9.104663588093755], [149.306835158484432, -9.071435642130067], [149.266630894161324, -9.514406019736027], [150.038728469034311, -9.684318129111698], [149.738798456012262, -9.872937106977002], [150.801627638959133, -10.29368661869742], [150.690574985963849, -10.582712904505865], [150.028393182575826, -10.652476088099929], [149.782310012001972, -10.393267103723941], [148.923137648717216, -10.28092253992136], [147.913018426707993, -10.130440769087469], [147.135443150012236, -9.492443536012017], [146.567880894150619, -8.942554619994153], [146.048481073184917, -8.067414239131308], [144.74416792213799, -7.630128269077473], [143.897087844009661, -7.915330498896279], [143.286375767184268, -8.245491224809056], [143.413913202080664, -8.983068942910945], [142.628431431244223, -9.326820570516501], [142.068258905200196, -9.159595635620034], [141.033851760013874, -9.117892754760417], [141.017056919519007, -5.85902190513802], [141.000210402591847, -2.600151055515624], [142.735246616791443, -3.289152927263216], [144.583970982033236, -3.861417738463401], [145.27317955950997, -4.373737888205027], [145.829786411725649, -4.876497897972683], [145.981921828392956, -5.465609226100012], [147.648073358347574, -6.083659356310803], [147.891107619416175, -6.614014580922315], [146.970905389594861, -6.721656589386255], [147.191873814074938, -7.388024183789978]]], [[[153.14003787659874, -4.499983412294113], [152.827292108368255, -4.766427097190998], [152.63867313050298, -4.176127211120927], [152.406025832324929, -3.789742526874561], [151.953236932583536, -3.462062269711821], [151.384279413050024, -3.035421644710111], [150.6620495953388, -2.741486097833956], [150.939965448204532, -2.500002129734028], [151.479984165654514, -2.779985039891386], [151.820015090135087, -2.999971612157907], [152.239989455371074, -3.24000864015366], [152.640016717742526, -3.659983005389647], [153.019993524384631, -3.980015150573293], [153.14003787659874, -4.499983412294113]]]] } }, + { "type": "Feature", "properties": { "admin": "Poland", "name": "Poland", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[15.016995883858666, 51.106674099321566], [14.607098422919531, 51.745188096719964], [14.685026482815685, 52.089947414755187], [14.437599725002197, 52.624850165408382], [14.074521111719488, 52.981262518925426], [14.353315463934136, 53.248171291712957], [14.119686313542584, 53.757029120491026], [14.802900424873455, 54.050706285205735], [16.363477003655728, 54.513158677785711], [17.622831658608671, 54.851535956432897], [18.620858595461637, 54.682605699270766], [18.696254510175461, 54.438718777069276], [19.6606400896064, 54.426083889373913], [20.89224450041862, 54.312524929412518], [22.731098667092649, 54.327536932993311], [23.243987257589506, 54.220566718149129], [23.484127638449841, 53.912497667041123], [23.527535841574995, 53.47012156840654], [23.804934930117774, 53.08973135030606], [23.799198846133375, 52.691099351606553], [23.19949384938618, 52.486977444053664], [23.508002150168689, 52.023646552124717], [23.52707075368437, 51.578454087930233], [24.029985792748899, 50.705406602575174], [23.922757195743259, 50.424881089878738], [23.426508416444388, 50.308505764357449], [22.518450148211596, 49.476773586619736], [22.776418898212619, 49.027395331409608], [22.558137648211751, 49.08573802346713], [21.607808058364206, 49.470107326854077], [20.887955356538406, 49.328772284535823], [20.415839471119849, 49.431453355499755], [19.825022820726865, 49.217125352569219], [19.320712517990469, 49.571574001659179], [18.909574822676316, 49.435845852244562], [18.85314415861361, 49.496229763377634], [18.392913852622168, 49.988628648470737], [17.649445021238986, 50.049038397819942], [17.554567091551117, 50.36214590107641], [16.868769158605655, 50.473973700556016], [16.719475945714429, 50.215746568393527], [16.176253289462263, 50.4226073268579], [16.238626743238566, 50.697732652379827], [15.490972120839725, 50.7847299261432], [15.016995883858666, 51.106674099321566]]] } }, + { "type": "Feature", "properties": { "admin": "Puerto Rico", "name": "Puerto Rico", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-66.2824344550082, 18.51476166429536], [-65.771302863209286, 18.426679185453875], [-65.591003790942935, 18.228034979723912], [-65.847163865813755, 17.975905666571855], [-66.599934455009475, 17.98182261806927], [-67.184162360285256, 17.946553453030074], [-67.24242753769434, 18.374460150622934], [-67.100679083917726, 18.520601101144347], [-66.2824344550082, 18.51476166429536]]] } }, + { "type": "Feature", "properties": { "admin": "North Korea", "name": "Dem. Rep. Korea", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[130.640015903852401, 42.39500946712527], [130.780007358931101, 42.220007229168843], [130.400030552288996, 42.280003567059701], [129.965948521037234, 41.941367906251052], [129.667362095254788, 41.601104437825221], [129.705189243692445, 40.882827867184318], [129.188114862179958, 40.661807766271984], [129.010399611528186, 40.485436102859801], [128.633368361526692, 40.189846910150301], [127.967414178581322, 40.025412502597547], [127.533435500194145, 39.756850083976694], [127.502119582225276, 39.323930772451526], [127.385434198110261, 39.213472398427648], [127.783342726757709, 39.050898342437414], [128.349716424676586, 38.612242946927843], [128.205745884311426, 38.370397243801882], [127.780035435090966, 38.304535630845884], [127.073308547067342, 38.256114813788393], [126.683719924018888, 37.804772854151174], [126.237338901881742, 37.840377916000271], [126.174758742376213, 37.749685777328033], [125.689103631697165, 37.940010077459014], [125.568439162295675, 37.752088731429616], [125.275330438336184, 37.66907054295271], [125.24008711151312, 37.857224432927424], [124.981033156433952, 37.948820909164773], [124.712160679219352, 38.108346055649783], [124.985994093933954, 38.548474229479673], [125.221948683778677, 38.665857245430665], [125.13285851450749, 38.848559271798578], [125.386589797060566, 39.387957872061158], [125.321115757346774, 39.551384589184202], [124.737482131042384, 39.660344346671614], [124.265624627785286, 39.928493353834149], [125.079941847840615, 40.569823716792442], [126.182045119329402, 41.107336127276362], [126.86908328664984, 41.816569322266176], [127.343782993682993, 41.50315176041596], [128.208433058790632, 41.466771552082477], [128.052215203972281, 41.994284572917934], [129.59666873587949, 42.424981797854542], [129.994267205933198, 42.985386867843779], [130.640015903852401, 42.39500946712527]]] } }, + { "type": "Feature", "properties": { "admin": "Portugal", "name": "Portugal", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[-9.034817674180244, 41.880570583659669], [-8.671945766626719, 42.134689439454952], [-8.26385698081779, 42.280468654950326], [-8.01317460776991, 41.790886135417118], [-7.422512986673794, 41.792074693359822], [-7.251308966490822, 41.91834605566504], [-6.668605515967655, 41.883386949219577], [-6.389087693700914, 41.381815497394641], [-6.851126674822551, 41.111082668617513], [-6.864019944679383, 40.330871893874821], [-7.026413133156593, 40.184524237624238], [-7.066591559263527, 39.711891587882768], [-7.498632371439724, 39.629571031241802], [-7.098036668313126, 39.03007274022378], [-7.374092169616317, 38.373058580064914], [-7.029281175148794, 38.075764065089757], [-7.166507941099863, 37.803894354802217], [-7.537105475281022, 37.428904323876232], [-7.45372555177809, 37.097787583966053], [-7.855613165711985, 36.838268540996253], [-8.382816127953687, 36.978880113262449], [-8.898856980820325, 36.868809312480771], [-8.746101446965552, 37.6513455266766], [-8.839997524439879, 38.266243394517609], [-9.287463751655221, 38.358485826158592], [-9.526570603869713, 38.737429104154906], [-9.44698889814023, 39.392066148428363], [-9.048305223008425, 39.755093085278766], [-8.977353481471679, 40.159306138665798], [-8.7686840478771, 40.76063894303018], [-8.790853237330309, 41.18433401139125], [-8.990789353867568, 41.543459377603625], [-9.034817674180244, 41.880570583659669]]] } }, + { "type": "Feature", "properties": { "admin": "Paraguay", "name": "Paraguay", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-62.685057135657871, -22.24902922942238], [-62.291179368729203, -21.051634616787389], [-62.265961269770784, -20.513734633061272], [-61.786326463453761, -19.633736667562957], [-60.043564622626477, -19.342746677327419], [-59.11504248720609, -19.356906019775398], [-58.183471442280492, -19.868399346600359], [-58.166392381408038, -20.176700941653674], [-57.870673997617786, -20.732687676681948], [-57.937155727761287, -22.090175876557169], [-56.881509568902885, -22.282153822521476], [-56.473317430229379, -22.086300144135279], [-55.797958136606894, -22.356929620047815], [-55.61068274598113, -22.655619398694839], [-55.517639329639621, -23.57199757252663], [-55.400747239795407, -23.956935316668797], [-55.027901780809543, -24.001273695575225], [-54.652834235235119, -23.839578138933955], [-54.292959560754511, -24.021014092710722], [-54.293476325077435, -24.570799655863958], [-54.428946092330577, -25.162184747012162], [-54.625290696823562, -25.739255466415507], [-54.788794928595038, -26.621785577096126], [-55.695845506398143, -27.387837009390857], [-56.486701626192989, -27.548499037386286], [-57.609759690976134, -27.395898532828383], [-58.618173590719735, -27.123718763947089], [-57.633660040911117, -25.603656508081638], [-57.777217169817924, -25.162339776309032], [-58.807128465394968, -24.771459242453307], [-60.028966030504016, -24.032796319273267], [-60.846564704009907, -23.880712579038288], [-62.685057135657871, -22.24902922942238]]] } }, + { "type": "Feature", "properties": { "admin": "Palestine", "name": "Palestine", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[35.545665317534535, 32.393992011030569], [35.545251906076196, 31.782504787720832], [35.397560662586038, 31.489086005167572], [34.927408481594554, 31.35343537040141], [34.970506626125989, 31.616778469360803], [35.225891554512422, 31.754341132121759], [34.974640740709319, 31.866582343059715], [35.183930291491428, 32.532510687788935], [35.545665317534535, 32.393992011030569]]] } }, + { "type": "Feature", "properties": { "admin": "Qatar", "name": "Qatar", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[50.810108270069563, 24.754742539971371], [50.743910760303677, 25.482424221289389], [51.01335167827348, 26.006991685484191], [51.286461622936045, 26.114582017515865], [51.589078810437243, 25.801112779233375], [51.606700473848804, 25.215670477798735], [51.389607781790623, 24.627385972588051], [51.112415398977006, 24.556330878186721], [50.810108270069563, 24.754742539971371]]] } }, + { "type": "Feature", "properties": { "admin": "Romania", "name": "Romania", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[22.710531447040488, 47.882193915389394], [23.142236362406798, 48.096341050806942], [23.760958286237404, 47.985598456405448], [24.402056105250374, 47.981877753280422], [24.866317172960571, 47.737525743188307], [25.207743361112986, 47.891056423527459], [25.945941196402394, 47.987148749374207], [26.197450392366925, 48.220881252630342], [26.619336785597788, 48.220726223333457], [26.924176059687561, 48.123264472030982], [27.233872918412736, 47.826770941756365], [27.551166212684841, 47.405117092470817], [28.128030226359037, 46.81047638608824], [28.160017937947707, 46.371562608417207], [28.054442986775392, 45.944586086605618], [28.233553501099035, 45.488283189468369], [28.679779493939371, 45.30403087013169], [29.149724969201646, 45.464925442072442], [29.603289015427425, 45.293308010431119], [29.62654340995876, 45.035390936862392], [29.141611769331831, 44.820210272799038], [28.837857700320196, 44.913873806328041], [28.55808149589199, 43.707461656258118], [27.970107049275068, 43.812468166675202], [27.242399529740904, 44.175986029632398], [26.065158725699739, 43.943493760751259], [25.569271681426923, 43.688444729174712], [24.100679152124169, 43.741051337247846], [23.332302280376322, 43.897010809904707], [22.94483239105184, 43.823785305347123], [22.657149692482985, 44.234923000661276], [22.474008416440594, 44.409227606781762], [22.705725538837349, 44.578002834647016], [22.459022251075933, 44.702517198254291], [22.145087924902807, 44.478422349620573], [21.562022739353605, 44.768947251965486], [21.483526238702233, 45.181170152357772], [20.874312778413351, 45.416375433934228], [20.76217492033998, 45.734573065771428], [20.220192498462833, 46.127468980486547], [21.021952345471245, 46.316087958351886], [21.626514926853869, 46.994237779318148], [22.09976769378283, 47.672439276716695], [22.710531447040488, 47.882193915389394]]] } }, + { "type": "Feature", "properties": { "admin": "Russia", "name": "Russia", "continent": "Europe" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[143.648007440362846, 50.747600409541512], [144.65414757708561, 48.976390692737581], [143.173927850517174, 49.306551418650365], [142.558668247650076, 47.861575018904908], [143.533492466404027, 46.836728013692479], [143.505277134372591, 46.137907619809475], [142.747700636973889, 46.740764878926562], [142.092030064054484, 45.966755276058777], [141.906925083585008, 46.805928860046535], [142.018442824470867, 47.780132961612921], [141.904444614835029, 48.859188544299563], [142.135800002205656, 49.615163072297449], [142.179983351815281, 50.952342434281903], [141.594075962490024, 51.935434882202529], [141.682546014573632, 53.301966457728767], [142.606934035410745, 53.762145087287891], [142.209748976815376, 54.225475979216853], [142.654786411712934, 54.365880845753864], [142.914615513276544, 53.704577541714734], [143.260847609632037, 52.740760403039033], [143.235267775647628, 51.756660264688733], [143.648007440362846, 50.747600409541512]]], [[[22.731098667092649, 54.327536932993311], [20.892244500418652, 54.312524929412568], [19.6606400896064, 54.42608388937397], [19.88848147958134, 54.866160386771483], [21.268448927503492, 55.190481675835279], [22.315723504330599, 55.015298570365886], [22.757763706155281, 54.856574408581416], [22.651051873472564, 54.582740993866693], [22.731098667092649, 54.327536932993311]]], [[[180.000000000000114, 70.832199208546669], [178.903425, 70.78114], [178.7253, 71.0988], [180.000000000000114, 71.515714336428246], [180.000000000000114, 70.832199208546669]]], [[[143.60385, 73.21244], [142.08763, 73.20544], [140.038155, 73.31692], [139.86312, 73.36983], [140.81171, 73.76506], [142.06207, 73.85758], [143.48283, 73.47525], [143.60385, 73.21244]]], [[[150.73167, 75.08406], [149.575925, 74.68892], [147.977465, 74.778355], [146.11919, 75.17298], [146.358485, 75.49682], [148.22223, 75.345845], [150.73167, 75.08406]]], [[[145.086285, 75.562625], [144.3, 74.82], [140.61381, 74.84768], [138.95544, 74.61148], [136.97439, 75.26167], [137.51176, 75.94917], [138.831075, 76.13676], [141.471615, 76.09289], [145.086285, 75.562625]]], [[[57.535692579992386, 70.720463975702145], [56.944979282463933, 70.63274323188665], [53.677375115784187, 70.762657782668455], [53.412016635965372, 71.206661688920192], [51.601894565645708, 71.474759019650477], [51.455753615124209, 72.014881089965129], [52.478275180883564, 72.229441636840946], [52.444168735570841, 72.77473135038484], [54.427613559797649, 73.627547512497571], [53.508289829325136, 73.749813951300141], [55.902458937407644, 74.627486477345329], [55.631932814359701, 75.081412258597155], [57.868643833248839, 75.609390367323186], [61.170044386647497, 76.251883450008123], [64.498368361270209, 76.439055487769267], [66.210977003855092, 76.809782213031227], [68.157059767534818, 76.939696763812904], [68.852211134725124, 76.544811306454605], [68.180572544227644, 76.233641669409096], [64.637326287703004, 75.737754625136219], [61.583507521414752, 75.260884507946784], [58.477082147053366, 74.309056301562819], [56.986785516187993, 73.333043524866227], [55.41933597191094, 72.371267605265956], [55.622837762276291, 71.540594794390316], [57.535692579992386, 70.720463975702145]]], [[[106.970130000000111, 76.97419], [107.240000000000123, 76.48], [108.1538, 76.723350000000138], [111.077260000000138, 76.71], [113.33151, 76.22224], [114.13417, 75.84764], [113.88539, 75.327790000000121], [112.77918, 75.03186], [110.151250000000175, 74.47673], [109.4, 74.18], [110.64, 74.04], [112.11919, 73.787740000000113], [113.019540000000234, 73.976930000000138], [113.529580000000294, 73.33505], [113.96881, 73.59488], [115.56782, 73.75285], [118.776330000000215, 73.58772], [119.02, 73.12], [123.20066, 72.97122], [123.257770000000178, 73.73503], [125.380000000000166, 73.56], [126.97644, 73.56549], [128.59126, 73.03871], [129.05157, 72.39872], [128.46, 71.98], [129.715990000000204, 71.19304], [131.288580000000252, 70.786990000000102], [132.253500000000145, 71.8363], [133.857660000000294, 71.386420000000143], [135.56193, 71.655250000000123], [137.49755, 71.34763], [138.234090000000123, 71.62803], [139.86983, 71.487830000000116], [139.14791, 72.4161900000001], [140.46817, 72.849410000000134], [149.5, 72.2], [150.35118000000017, 71.60643], [152.96890000000019, 70.84222], [157.00688, 71.03141], [158.99779, 70.86672], [159.830310000000225, 70.45324], [159.70866, 69.72198], [160.94053000000028, 69.43728], [162.279070000000104, 69.64204], [164.05248, 69.66823], [165.940370000000172, 69.47199], [167.83567, 69.58269], [169.57763000000017, 68.6938], [170.816880000000253, 69.01363], [170.008200000000159, 69.65276], [170.453450000000259, 70.09703], [173.643910000000204, 69.81743], [175.72403000000017, 69.877250000000217], [178.6, 69.4], [180.000000000000114, 68.963636363636553], [180.000000000000114, 64.979708702198465], [179.99281, 64.97433], [178.707200000000199, 64.53493], [177.411280000000147, 64.60821], [178.313000000000187, 64.07593], [178.90825000000018, 63.251970000000128], [179.37034, 62.98262], [179.48636, 62.56894], [179.228250000000116, 62.304100000000133], [177.3643, 62.5219], [174.569290000000194, 61.76915], [173.68013, 61.65261], [172.15, 60.95], [170.6985, 60.33618], [170.330850000000282, 59.88177], [168.90046, 60.57355], [166.294980000000265, 59.7885500000002], [165.840000000000202, 60.16], [164.87674, 59.7316], [163.539290000000108, 59.86871], [163.217110000000218, 59.21101], [162.01733, 58.24328], [162.05297, 57.83912], [163.19191, 57.61503], [163.057940000000144, 56.159240000000111], [162.129580000000203, 56.12219], [161.70146, 55.285680000000148], [162.117490000000117, 54.85514], [160.368770000000325, 54.34433], [160.021730000000218, 53.20257], [158.530940000000157, 52.958680000000236], [158.23118, 51.94269], [156.789790000000266, 51.01105], [156.42000000000013, 51.7], [155.99182, 53.15895], [155.43366, 55.381030000000109], [155.914420000000291, 56.767920000000132], [156.75815, 57.3647], [156.81035, 57.83204], [158.364330000000166, 58.05575], [160.150640000000124, 59.314770000000109], [161.87204, 60.343000000000117], [163.66969, 61.1409], [164.473550000000103, 62.55061], [163.258420000000172, 62.46627], [162.65791, 61.6425], [160.12148, 60.54423], [159.30232, 61.77396], [156.72068, 61.43442], [154.218060000000293, 59.758180000000117], [155.04375, 59.14495], [152.81185, 58.88385], [151.265730000000246, 58.78089], [151.33815, 59.50396], [149.78371, 59.655730000000126], [148.54481, 59.16448], [145.48722, 59.33637], [142.197820000000121, 59.03998], [138.958480000000293, 57.08805], [135.12619, 54.72959], [136.70171, 54.603550000000112], [137.19342, 53.97732], [138.1647, 53.755010000000247], [138.80463, 54.25455], [139.90151, 54.189680000000166], [141.34531, 53.089570000000109], [141.37923, 52.23877], [140.59742000000017, 51.23967], [140.51308, 50.045530000000113], [140.061930000000189, 48.446710000000152], [138.554720000000202, 46.99965], [138.21971, 46.30795], [136.86232, 45.143500000000174], [135.515350000000183, 43.989], [134.869390000000237, 43.39821], [133.536870000000249, 42.81147], [132.90627, 42.79849], [132.278070000000241, 43.284560000000106], [130.935870000000136, 42.55274], [130.78, 42.220000000000191], [130.640000000000157, 42.395], [130.633866408409801, 42.903014634770543], [131.144687941614961, 42.929989732426932], [131.288555129115593, 44.111519680348252], [131.025190000000237, 44.96796], [131.883454217659562, 45.321161607436508], [133.097120000000189, 45.14409], [133.769643996313164, 46.116926988299149], [134.112350000000163, 47.212480000000127], [134.50081, 47.578450000000139], [135.026311476786759, 48.478229885443902], [133.373595819228001, 48.183441677434836], [132.506690000000106, 47.78896], [130.987260000000106, 47.79013], [130.582293328982644, 48.72968740497619], [129.397817824420486, 49.4406000840156], [127.657400000000351, 49.76027], [127.287455682484904, 50.739797268265434], [126.939156528837827, 51.353894151405896], [126.564399041856959, 51.784255479532689], [125.946348911646439, 52.792798570356936], [125.068211297710434, 53.161044826868924], [123.57147, 53.4588], [122.245747918793043, 53.431725979213681], [121.003084751470354, 53.251401068731226], [120.177088657716865, 52.753886216841195], [120.725789015791975, 52.516226304730893], [120.7382, 51.96411], [120.182080000000155, 51.64355], [119.27939, 50.58292], [119.288460728025839, 50.142882798861947], [117.87924441942647, 49.510983384797036], [116.67880089728618, 49.888531399121398], [115.485695428531415, 49.805177313834733], [114.962109816550353, 50.140247300815119], [114.362456496235325, 50.24830272073747], [112.897739699354361, 49.543565375356984], [111.581230910286649, 49.377968248077671], [110.662010532678835, 49.130128078805846], [109.402449171996707, 49.292960516957685], [108.475167270951275, 49.282547715850704], [107.868175897251092, 49.793705145865871], [106.888804152455293, 50.274295966180276], [105.886591424586868, 50.40601919209216], [104.62158, 50.275320000000157], [103.676545444760336, 50.08996613219513], [102.25589, 50.510560000000105], [102.06521, 51.25991], [100.889480421962631, 51.516855780638409], [99.981732212323564, 51.63400625264395], [98.861490513100492, 52.047366034546698], [97.82573978067451, 51.010995184933236], [98.231761509191699, 50.422400621128716], [97.259760000000199, 49.72605], [95.814020000000156, 49.977460000000114], [94.815949334698757, 50.01343333597088], [94.147566359435601, 50.480536607457161], [93.10421, 50.49529], [92.234711541719676, 50.802170722041737], [90.713667433640765, 50.331811835321098], [88.805566847695573, 49.470520738312459], [87.751264276076824, 49.297197984405543], [87.359970330762692, 49.214980780629148], [86.829356723989648, 49.826674709668133], [85.541269972682485, 49.69285858824815], [85.115559523462082, 50.117302964877631], [84.416377394553038, 50.311399644565817], [83.935114780618903, 50.889245510453563], [83.383003778012451, 51.069182847693881], [81.945985548839943, 50.812195949906325], [80.568446893235446, 51.388336493528435], [80.035559523441705, 50.864750881547209], [77.80091556184432, 53.404414984747532], [76.525179477854749, 54.177003485727127], [76.891100294913443, 54.490524400441913], [74.384820000000119, 53.546850000000113], [73.425678745420512, 53.489810289109741], [73.50851606638436, 54.035616766976588], [72.224150018202195, 54.376655381886778], [71.180131056609468, 54.133285224008247], [70.86526655465515, 55.169733588270091], [69.068166945272893, 55.385250149143488], [68.169100376258896, 54.970391750704366], [65.66687, 54.601250000000149], [65.178533563095939, 54.354227810272064], [61.436600000000126, 54.00625], [60.978066440683236, 53.664993394579128], [61.69998619980062, 52.979996446334255], [60.73999311711453, 52.719986477257734], [60.927268507740237, 52.447548326214999], [59.967533807215567, 51.96042043721566], [61.588003371024136, 51.272658799843171], [61.337424350840998, 50.799070136104248], [59.932807244715555, 50.842194118851822], [59.642282342370564, 50.545442206415707], [58.363320000000122, 51.06364], [56.77798, 51.04355], [55.71694, 50.621710000000142], [54.532878452376181, 51.026239732459359], [52.328723585831042, 51.718652248738088], [50.766648390512174, 51.692762356159861], [48.702381626181044, 50.605128485712825], [48.577841424357601, 49.87475962991563], [47.549480421749379, 50.454698391311119], [46.751596307162764, 49.356005764353725], [47.043671502476585, 49.152038886097571], [46.466445753776291, 48.394152330104923], [47.315240000000152, 47.71585], [48.05725, 47.74377], [48.694733514201872, 47.075628160177885], [48.59325000000014, 46.56104], [49.101160000000121, 46.39933], [48.645410000000105, 45.80629], [47.67591, 45.641490000000111], [46.68201, 44.6092], [47.59094, 43.660160000000118], [47.49252, 42.98658], [48.58437000000017, 41.80888], [47.987283156126033, 41.405819200194387], [47.815665724484653, 41.151416124021338], [47.373315464066387, 41.219732367511135], [46.686070591016708, 41.827137152669899], [46.404950799348924, 41.860675157227426], [45.7764, 42.092440000000224], [45.470279168485909, 42.502780666670041], [44.537622918482057, 42.711992702803677], [43.93121, 42.554960000000101], [43.755990000000182, 42.74083], [42.394400000000154, 43.2203], [40.922190000000128, 43.382150000000131], [40.076964959479838, 43.553104153002486], [39.95500857927108, 43.434997666999287], [38.68, 44.28], [37.539120000000104, 44.65721], [36.675460000000122, 45.24469], [37.40317, 45.40451], [38.23295, 46.24087], [37.67372, 46.63657], [39.14767, 47.044750000000128], [39.121200000000123, 47.26336], [38.22353803889947, 47.102189846375971], [38.2551123390298, 47.546400458356956], [38.77057, 47.825620000000228], [39.738277622238982, 47.898937079452068], [39.895620000000136, 48.23241], [39.67465, 48.783820000000127], [40.080789015469477, 49.307429917999364], [40.069040000000108, 49.60105], [38.594988234213552, 49.926461900423718], [38.010631137857068, 49.915661526074715], [37.393459506995228, 50.383953355503664], [36.626167840325387, 50.225590928745127], [35.35611616388811, 50.577197374059139], [35.37791, 50.77394], [35.02218305841793, 51.207572333371495], [34.224815708154402, 51.255993150428921], [34.141978387190612, 51.56641347920619], [34.391730584457228, 51.768881740925892], [33.75269982273587, 52.335074571331646], [32.715760532367163, 52.238465481162159], [32.412058139787767, 52.288694973349763], [32.15944000000021, 52.061250000000101], [31.78597, 52.10168], [31.540018344862254, 52.742052313846429], [31.305200636527978, 53.073995876673301], [31.49764, 53.167430000000124], [32.304519484188368, 53.132726141972839], [32.693643019346119, 53.351420803432141], [32.405598585751157, 53.618045355842], [31.731272820774585, 53.794029446012011], [31.791424187962399, 53.974638576872181], [31.384472283663818, 54.157056382862365], [30.757533807098774, 54.811770941784388], [30.971835971813245, 55.08154775656412], [30.873909132620064, 55.55097646750351], [29.896294386522435, 55.789463202530484], [29.371571893030783, 55.670090643936263], [29.229513380660389, 55.918344224666399], [28.176709425577933, 56.169129950578778], [27.855282016722519, 56.759326483784363], [27.770015903440985, 57.244258124411189], [27.288184848751648, 57.474528306703903], [27.716685825315771, 57.791899115624439], [27.420150000000202, 58.724570000000128], [28.131699253051856, 59.300825100330982], [27.98112, 59.47537], [29.1177, 60.028050000000107], [28.07, 60.503520000000137], [30.211107212044645, 61.780027777749673], [31.139991082491029, 62.357692776124431], [31.516092156711263, 62.867687486412898], [30.035872430142796, 63.552813625738551], [30.444684686003736, 64.204453436939062], [29.544429559047014, 64.948671576590542], [30.21765, 65.80598], [29.054588657352376, 66.944286200622017], [29.977426385220689, 67.69829702419274], [28.445943637818765, 68.364612942163987], [28.591929559043358, 69.064776923286686], [29.39955, 69.15692000000017], [31.101080000000103, 69.55811], [32.132720000000255, 69.905950000000232], [33.77547, 69.301420000000107], [36.51396, 69.06342], [40.292340000000159, 67.9324], [41.059870000000124, 67.457130000000106], [41.125950000000174, 66.79158000000011], [40.01583, 66.266180000000119], [38.38295, 65.99953], [33.918710000000168, 66.75961], [33.18444, 66.63253], [34.81477, 65.900150000000124], [34.87857425307876, 65.436212877048192], [34.943910000000152, 64.414370000000147], [36.23129, 64.10945], [37.012730000000111, 63.84983], [37.141970000000143, 64.33471], [36.539579035089801, 64.76446], [37.176040000000135, 65.143220000000113], [39.59345, 64.520790000000162], [40.4356, 64.76446], [39.762600000000148, 65.49682], [42.09309, 66.47623], [43.01604000000011, 66.41858], [43.94975000000013, 66.06908], [44.53226, 66.756340000000122], [43.69839, 67.35245], [44.187950000000136, 67.95051], [43.45282, 68.57079], [46.250000000000135, 68.25], [46.821340000000156, 67.68997], [45.55517, 67.56652], [45.56202, 67.010050000000192], [46.349150000000137, 66.66767], [47.894160000000248, 66.884550000000146], [48.13876, 67.52238], [50.227660000000142, 67.998670000000132], [53.717430000000164, 68.85738], [54.47171, 68.80815], [53.485820000000118, 68.20131], [54.72628, 68.09702], [55.442680000000124, 68.43866], [57.317020000000149, 68.46628], [58.802000000000206, 68.88082], [59.941420000000178, 68.27844], [61.077840000000165, 68.94069], [60.03, 69.52], [60.55, 69.85], [63.504000000000147, 69.54739], [64.888115, 69.234835000000132], [68.512160000000108, 68.09233000000016], [69.18068, 68.61563000000011], [68.16444, 69.14436], [68.13522, 69.35649], [66.930080000000103, 69.454610000000102], [67.25976, 69.92873], [66.724920000000125, 70.708890000000125], [66.69466, 71.028970000000228], [68.540060000000111, 71.934500000000227], [69.19636, 72.843360000000146], [69.94, 73.04000000000012], [72.58754, 72.77629], [72.79603, 72.22006], [71.84811, 71.40898], [72.47011, 71.09019], [72.79188, 70.39114], [72.564700000000201, 69.02085], [73.66787, 68.4079], [73.2387, 67.7404], [71.280000000000101, 66.320000000000149], [72.423010000000147, 66.172670000000167], [72.82077, 66.53267], [73.920990000000131, 66.789460000000119], [74.186510000000183, 67.28429], [75.052, 67.760470000000154], [74.469260000000148, 68.32899], [74.93584, 68.98918], [73.84236, 69.07146], [73.601870000000204, 69.62763], [74.3998, 70.63175], [73.1011, 71.447170000000241], [74.890820000000204, 72.12119], [74.65926, 72.83227], [75.158010000000175, 72.854970000000108], [75.68351, 72.300560000000118], [75.288980000000109, 71.33556], [76.35911, 71.152870000000135], [75.903130000000161, 71.87401], [77.5766500000001, 72.26717], [79.652020000000107, 72.32011], [81.5, 71.75], [80.61071, 72.582850000000107], [80.51109, 73.6482], [82.25, 73.85], [84.65526, 73.805910000000154], [86.822300000000226, 73.93688], [86.00956, 74.459670000000145], [87.166820000000143, 75.11643], [88.31571, 75.14393], [90.26, 75.64], [92.90058, 75.77333], [93.234210000000132, 76.0472], [95.860000000000127, 76.14], [96.67821, 75.91548], [98.922540000000197, 76.44689], [100.759670000000199, 76.43028], [101.03532, 76.86189], [101.990840000000105, 77.287540000000192], [104.3516, 77.69792], [106.066640000000135, 77.37389], [104.705000000000211, 77.1274], [106.970130000000111, 76.97419]]], [[[105.07547, 78.30689], [99.43814, 77.921], [101.2649, 79.23399], [102.08635, 79.34641], [102.837815, 79.28129], [105.37243, 78.71334], [105.07547, 78.30689]]], [[[51.136186557831266, 80.54728017854093], [49.793684523320692, 80.415427761548202], [48.894411248577526, 80.33956675894369], [48.75493655782175, 80.175468248200829], [47.586119012244147, 80.010181179515328], [46.502825962109647, 80.247246812654339], [47.072455275262897, 80.559424140129451], [44.846958042181107, 80.589809882317169], [46.799138624871226, 80.771917629713627], [48.31847741068465, 80.784009914869927], [48.52280602396668, 80.514568996900138], [49.097189568890897, 80.753985907708412], [50.039767693894603, 80.918885403151791], [51.522932977103679, 80.699725653801906], [51.136186557831266, 80.54728017854093]]], [[[99.93976, 78.88094], [97.75794, 78.7562], [94.97259, 79.044745], [93.31288, 79.4265], [92.5454, 80.14379], [91.18107, 80.34146], [93.77766, 81.0246], [95.940895, 81.2504], [97.88385, 80.746975], [100.186655, 79.780135], [99.93976, 78.88094]]]] } }, + { "type": "Feature", "properties": { "admin": "Rwanda", "name": "Rwanda", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[30.419104852019235, -1.134659112150416], [30.816134881317705, -1.698914076345388], [30.758308953583104, -2.287250257988368], [30.469696079232978, -2.413857517103458], [29.938359002407935, -2.348486830254238], [29.632176141078585, -2.917857761246096], [29.02492638521678, -2.839257907730157], [29.117478875451546, -2.292211195488384], [29.254834832483336, -2.215109958508911], [29.29188683443661, -1.620055840667987], [29.579466180140876, -1.341313164885626], [29.821518588996003, -1.443322442229785], [30.419104852019235, -1.134659112150416]]] } }, + { "type": "Feature", "properties": { "admin": "Western Sahara", "name": "W. Sahara", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-8.794883999049075, 27.120696316022503], [-8.81782833498667, 27.656425889592349], [-8.665589565454805, 27.656425889592349], [-8.66512447756419, 27.58947907155822], [-8.684399786809051, 27.395744126895998], [-8.687293667017398, 25.881056219988899], [-11.969418911171159, 25.933352769468261], [-11.93722449385332, 23.374594224536164], [-12.874221564169574, 23.284832261645171], [-13.118754441774708, 22.771220201096249], [-12.929101935263528, 21.327070624267559], [-16.845193650773989, 21.333323472574875], [-17.063423224342568, 20.99975210213082], [-17.020428432675736, 21.422310288981475], [-17.002961798561085, 21.420734157796574], [-14.750954555713532, 21.50060008390366], [-14.630832688851068, 21.860939846274899], [-14.221167771857251, 22.310163072188153], [-13.891110398809044, 23.691009019459297], [-12.500962693725368, 24.770116278578193], [-12.030758836301613, 26.030866197203036], [-11.718219773800353, 26.104091701760616], [-11.392554897496977, 26.883423977154358], [-10.551262579785272, 26.990807603456879], [-10.18942420087758, 26.860944729107398], [-9.735343390328877, 26.860944729107398], [-9.413037482124464, 27.088476060488514], [-8.794883999049075, 27.120696316022503]]] } }, + { "type": "Feature", "properties": { "admin": "Saudi Arabia", "name": "Saudi Arabia", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[42.779332309750963, 16.34789134364868], [42.64957278826607, 16.77463532151496], [42.347989129410706, 17.075805568911996], [42.270887892431219, 17.474721787989122], [41.754381951673949, 17.833046169500971], [41.221391229015573, 18.671599636301206], [40.939341261566533, 19.486485297111752], [40.247652215339819, 20.174634507726488], [39.801684604660934, 20.338862209550054], [39.139399448408277, 21.29190481209293], [39.023695916506782, 21.986875311770191], [39.066328973147577, 22.579655666590263], [38.492772251140075, 23.688451036060851], [38.023860304523616, 24.078685614512928], [37.483634881344379, 24.285494696545008], [37.154817742671177, 24.858482977797301], [37.209491408035994, 25.084541530858104], [36.931627231602583, 25.602959499610172], [36.639603712721218, 25.826227525327219], [36.249136590323808, 26.570135606384873], [35.640181512196385, 27.376520494083415], [35.130186801907875, 28.063351955674712], [34.632336053207972, 28.058546047471559], [34.787778761541936, 28.607427273059692], [34.832220493312938, 28.957483425404838], [34.956037225084252, 29.356554673778835], [36.068940870922049, 29.19749461518445], [36.501214227043583, 29.505253607698702], [36.740527784987243, 29.865283311476183], [37.503581984209028, 30.003776150018396], [37.668119744626374, 30.338665269485894], [37.998848911294367, 30.508499864213128], [37.002165561681004, 31.508412990844736], [39.004885695152545, 32.010216986614971], [39.195468377444961, 32.16100881604266], [40.399994337736238, 31.889991766887931], [41.889980910007829, 31.190008653278362], [44.709498732284736, 29.178891099559376], [46.568713413281742, 29.099025173452283], [47.459821811722819, 29.002519436147217], [47.708850538937376, 28.526062730416136], [48.416094191283939, 28.552004299426663], [48.807594842327163, 27.689627997339876], [49.299554477745815, 27.461218166609804], [49.470913527225647, 27.109999294538078], [50.152422316290874, 26.689663194275994], [50.212935418504671, 26.277026882425371], [50.113303257045928, 25.943972276304248], [50.23985883972874, 25.608049628190923], [50.527386509000728, 25.327808335872099], [50.660556675016885, 24.999895534764018], [50.810108270069563, 24.754742539971371], [51.112415398977006, 24.556330878186721], [51.389607781790623, 24.627385972588051], [51.579518670463258, 24.245497137951102], [51.617707553926969, 24.014219265228824], [52.000733270074321, 23.001154486578937], [55.006803012924898, 22.496947536707129], [55.208341098863187, 22.708329982997039], [55.666659376859812, 22.000001125572336], [54.999981723862355, 19.999994004796104], [52.000009800022227, 19.000003363516054], [49.116671583864857, 18.616667588774941], [48.183343540241324, 18.166669216377311], [47.466694777217626, 17.116681626854877], [47.000004917189749, 16.949999294497438], [46.749994337761642, 17.283338120996174], [46.366658563020529, 17.233315334537632], [45.399999220568752, 17.333335069238554], [45.216651238797184, 17.43332896572333], [44.062613152855072, 17.410358791569589], [43.791518589051904, 17.319976711491105], [43.380794305196098, 17.579986680567668], [43.115797560403351, 17.088440456607369], [43.218375278502734, 16.666889960186406], [42.779332309750963, 16.34789134364868]]] } }, + { "type": "Feature", "properties": { "admin": "Sudan", "name": "Sudan", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[33.963392794971178, 9.464285229420623], [33.824963480907506, 9.48406084571536], [33.842130853028145, 9.981914637215992], [33.721959248183097, 10.325262079630191], [33.206938084561777, 10.720111638406591], [33.086766479716729, 11.441141267476493], [33.206938084561777, 12.179338268667093], [32.743419037302537, 12.24800775714999], [32.674749548819641, 12.024831919580716], [32.073891524594778, 11.973329803218517], [32.314234734284746, 11.681484477166519], [32.400071594888338, 11.080626452941486], [31.850715687025509, 10.531270545078822], [31.352861895524875, 9.810240916008693], [30.837840731903377, 9.707236683284519], [29.996639497988546, 10.290927335388684], [29.618957311332842, 10.084918869940223], [29.515953078608607, 9.793073543888053], [29.000931914987166, 9.604232450560287], [28.966597170745779, 9.398223985111654], [27.970889587744345, 9.398223985111654], [27.833550610778783, 9.604232450560287], [27.112520981708876, 9.638567194801622], [26.752006167173811, 9.466893473594492], [26.477328213242508, 9.552730334198086], [25.96230704962101, 10.136420986302422], [25.790633328413943, 10.411098940233726], [25.069603699343979, 10.27375996326799], [24.79492574541268, 9.810240916008693], [24.537415163602017, 8.917537565731719], [24.194067721187643, 8.728696472403895], [23.886979580860665, 8.619729712933063], [23.805813429466745, 8.666318874542522], [23.459012892355979, 8.954285793489019], [23.394779087017291, 9.26506785729225], [23.557249790142915, 9.681218166538766], [23.554304233502187, 10.089255275915319], [22.977543572692749, 10.714462591998538], [22.864165480244246, 11.142395127807616], [22.87622, 11.384610000000119], [22.50869, 11.67936], [22.49762, 12.26024], [22.28801, 12.64605], [21.93681, 12.588180000000133], [22.03759, 12.95546], [22.29658, 13.37232], [22.18329, 13.78648], [22.51202, 14.09318], [22.30351, 14.32682], [22.567950000000106, 14.944290000000134], [23.02459, 15.68072], [23.886890000000101, 15.61084], [23.837660000000135, 19.580470000000101], [23.850000000000129, 20.0], [25.00000000000011, 20.00304], [25.00000000000011, 22.0], [29.02, 22.0], [32.9, 22.0], [36.86623, 22.0], [37.18872, 21.01885], [36.96941, 20.837440000000125], [37.114700000000134, 19.80796], [37.48179, 18.61409], [37.86276, 18.36786], [38.410089959473218, 17.998307399970312], [37.904000000000103, 17.42754], [37.16747, 17.263140000000128], [36.852530000000108, 16.95655], [36.75389, 16.29186], [36.32322, 14.82249], [36.42951, 14.42211], [36.27022, 13.563330000000118], [35.86363, 12.57828], [35.26049, 12.08286], [34.831630000000125, 11.318960000000116], [34.73115000000012, 10.910170000000106], [34.25745, 10.63009], [33.96162, 9.58358], [33.963392794971178, 9.464285229420623]]] } }, + { "type": "Feature", "properties": { "admin": "South Sudan", "name": "S. Sudan", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[33.963392794971178, 9.464285229420623], [33.97498, 8.68456], [33.82550000000014, 8.37916], [33.294800000000116, 8.35458], [32.95418, 7.7849700000001], [33.56829, 7.71334], [34.0751, 7.22595], [34.25032, 6.82607], [34.70702, 6.59422000000012], [35.298007118233095, 5.506], [34.620196267853935, 4.847122742082034], [34.005, 4.249884947362147], [33.39, 3.79], [32.68642, 3.79232], [31.881450000000136, 3.55827], [31.24556, 3.7819], [30.83385, 3.50917], [29.95349, 4.1737], [29.715995314256013, 4.600804755060152], [29.159078403446635, 4.389267279473244], [28.696677687298795, 4.455077215996993], [28.428993768026992, 4.287154649264607], [27.979977247842946, 4.408413397637388], [27.374226108517625, 5.233944403500173], [27.213409051225248, 5.550953477394613], [26.465909458123289, 5.946717434101855], [26.213418409945113, 6.546603298362127], [25.796647983511257, 6.979315904158169], [25.124130893664805, 7.500085150579422], [25.114932488716867, 7.825104071479244], [24.567369012152191, 8.229187933785452], [23.886979580860665, 8.619729712933063], [24.194067721187643, 8.728696472403895], [24.537415163602017, 8.917537565731719], [24.79492574541268, 9.810240916008693], [25.069603699343979, 10.27375996326799], [25.790633328413943, 10.411098940233726], [25.96230704962101, 10.136420986302422], [26.477328213242508, 9.552730334198086], [26.752006167173811, 9.466893473594492], [27.112520981708876, 9.638567194801622], [27.833550610778783, 9.604232450560287], [27.970889587744345, 9.398223985111654], [28.966597170745779, 9.398223985111654], [29.000931914987166, 9.604232450560287], [29.515953078608607, 9.793073543888053], [29.618957311332842, 10.084918869940223], [29.996639497988546, 10.290927335388684], [30.837840731903377, 9.707236683284519], [31.352861895524875, 9.810240916008693], [31.850715687025509, 10.531270545078822], [32.400071594888338, 11.080626452941486], [32.314234734284746, 11.681484477166519], [32.073891524594778, 11.973329803218517], [32.674749548819641, 12.024831919580716], [32.743419037302537, 12.24800775714999], [33.206938084561777, 12.179338268667093], [33.086766479716729, 11.441141267476493], [33.206938084561777, 10.720111638406591], [33.721959248183097, 10.325262079630191], [33.842130853028145, 9.981914637215992], [33.824963480907506, 9.48406084571536], [33.963392794971178, 9.464285229420623]]] } }, + { "type": "Feature", "properties": { "admin": "Senegal", "name": "Senegal", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-16.713728807023468, 13.594958604379853], [-17.126106736712611, 14.373515733289221], [-17.625042690490655, 14.72954051356407], [-17.185172898822227, 14.91947724045286], [-16.700706346085919, 15.621527411354107], [-16.463098110407881, 16.135036119038457], [-16.120690070041928, 16.45566254319338], [-15.623666144258689, 16.369337063049809], [-15.135737270558813, 16.587282416240779], [-14.577347581428977, 16.598263658102805], [-14.099521450242175, 16.304302273010489], [-13.43573767745306, 16.039383042866188], [-12.830658331747513, 15.303691514542942], [-12.170750291380299, 14.616834214735503], [-12.124887457721256, 13.994727484589784], [-11.927716030311613, 13.422075100147392], [-11.553397793005427, 13.141213690641063], [-11.467899135778522, 12.754518947800973], [-11.513942836950587, 12.442987575729415], [-11.658300950557928, 12.386582749882834], [-12.20356482588563, 12.465647691289401], [-12.278599005573438, 12.354440008997285], [-12.499050665730561, 12.332089952031053], [-13.217818162478235, 12.575873521367964], [-13.700476040084322, 12.586182969610192], [-15.548476935274005, 12.628170070847343], [-15.816574266004251, 12.515567124883345], [-16.147716844130581, 12.547761542201185], [-16.67745195155457, 12.38485158940105], [-16.84152462408127, 13.151393947802557], [-15.931295945692208, 13.130284125211331], [-15.691000535534991, 13.270353094938455], [-15.511812506562931, 13.278569647672864], [-15.141163295949463, 13.509511623585235], [-14.712197231494626, 13.298206691943774], [-14.277701788784553, 13.28058502853224], [-13.844963344772404, 13.505041612191999], [-14.046992356817478, 13.794067898000446], [-14.376713833055785, 13.625680243377371], [-14.687030808968483, 13.63035696049978], [-15.081735398813816, 13.876491807505982], [-15.398770310924457, 13.860368760630916], [-15.624596320039936, 13.623587347869556], [-16.713728807023468, 13.594958604379853]]] } }, + { "type": "Feature", "properties": { "admin": "Solomon Islands", "name": "Solomon Is.", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[162.119024693040842, -10.482719008021133], [162.398645868172196, -10.826367282762119], [161.700032180018354, -10.820011081590222], [161.319796991214702, -10.204751478723123], [161.917383254237933, -10.446700534713653], [162.119024693040842, -10.482719008021133]]], [[[160.852228631837903, -9.872937106977002], [160.462588332357228, -9.89520964929484], [159.849447463214176, -9.794027194867367], [159.640002883135139, -9.639979750205269], [159.70294477766663, -9.242949720906777], [160.362956170898428, -9.400304457235533], [160.688517694337179, -9.610162448772808], [160.852228631837903, -9.872937106977002]]], [[[161.679981724289121, -9.599982191611373], [161.52939660059053, -9.784312025596433], [160.788253208660507, -8.917543226764918], [160.579997186524338, -8.320008640173965], [160.92002811100491, -8.320008640173965], [161.280006138349961, -9.120011488484449], [161.679981724289121, -9.599982191611373]]], [[[159.875027297198585, -8.337320244991714], [159.917401971677975, -8.538289890174864], [159.133677199539335, -8.114181410355398], [158.586113722974687, -7.754823500197713], [158.211149530264834, -7.421872246941147], [158.359977655265425, -7.320017998893915], [158.820001255527671, -7.56000335045739], [159.640002883135139, -8.020026950719567], [159.875027297198585, -8.337320244991714]]], [[[157.53842573468927, -7.347819919466928], [157.339419793933217, -7.404767347852554], [156.902030471014768, -7.176874281445391], [156.491357863591304, -6.765943291860394], [156.542827590153934, -6.599338474151478], [157.140000441718882, -7.021638278840653], [157.53842573468927, -7.347819919466928]]]] } }, + { "type": "Feature", "properties": { "admin": "Sierra Leone", "name": "Sierra Leone", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[-11.438779466182053, 6.785916856305746], [-11.708194545935736, 6.860098374860724], [-12.428098924193815, 7.262942002792029], [-12.949049038128193, 7.798645738145736], [-13.124025437868479, 8.163946438016977], [-13.246550258832512, 8.903048610871506], [-12.711957566773076, 9.342711696810765], [-12.596719122762206, 9.620188300001969], [-12.425928514037562, 9.835834051955953], [-12.150338100625003, 9.858571682164378], [-11.917277390988655, 10.046983954300556], [-11.117481248407328, 10.045872911006283], [-10.839151984083299, 9.688246161330367], [-10.622395188835037, 9.267910061068276], [-10.65477047366589, 8.977178452994194], [-10.494315151399629, 8.715540676300433], [-10.505477260774667, 8.348896389189603], [-10.230093553091276, 8.406205552601291], [-10.695594855176477, 7.939464016141085], [-11.14670427086838, 7.396706447779534], [-11.199801805048278, 7.105845648624735], [-11.438779466182053, 6.785916856305746]]] } }, + { "type": "Feature", "properties": { "admin": "El Salvador", "name": "El Salvador", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-87.793111131526558, 13.384480495655051], [-87.904112108089507, 13.149016831917134], [-88.483301561216791, 13.163951320849488], [-88.843227912129692, 13.259733588102474], [-89.256742723329282, 13.4585328231293], [-89.812393561547637, 13.520622056527994], [-90.095554572290951, 13.73533763270073], [-90.064677903996568, 13.881969509328924], [-89.7219339668207, 14.134228013561694], [-89.5342193265205, 14.244815578666302], [-89.587342698916544, 14.362586167859485], [-89.353325975282772, 14.424132798719112], [-89.058511929057644, 14.340029405164085], [-88.843072882832814, 14.140506700085169], [-88.541230841815974, 13.980154730683475], [-88.50399797234968, 13.845485948130854], [-88.065342576840123, 13.964625962779774], [-87.859515347021585, 13.893312486216979], [-87.723502977229387, 13.785050360565503], [-87.793111131526558, 13.384480495655051]]] } }, + { "type": "Feature", "properties": { "admin": "Somaliland", "name": "Somaliland", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[48.938129510296491, 9.451748968946672], [48.486735874226994, 8.837626247589979], [47.78942, 8.003], [46.948328484897942, 7.996876532417386], [43.67875, 9.183580000000116], [43.296975132018744, 9.540477403191742], [42.92812, 10.021940000000139], [42.55876, 10.572580000000126], [42.776851841000948, 10.926878566934416], [43.145304803242126, 11.462039699748853], [43.470659620951658, 11.27770986576388], [43.666668328634834, 10.864169216348158], [44.117803582542805, 10.445538438351603], [44.614259067570849, 10.442205308468941], [45.556940545439133, 10.698029486529775], [46.645401238802997, 10.816549383991171], [47.525657586462778, 11.127228094929986], [48.021596307167769, 11.193063869669741], [48.378783807169263, 11.375481675660122], [48.948206414593457, 11.410621649618516], [48.942005242718423, 11.394266058798163], [48.938491245322595, 10.982327378783451], [48.938232863161076, 9.973500067581481], [48.938129510296491, 9.451748968946672]]] } }, + { "type": "Feature", "properties": { "admin": "Somalia", "name": "Somalia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[49.72862, 11.5789], [50.25878, 11.67957], [50.73202, 12.0219], [51.1112, 12.02464], [51.13387, 11.74815], [51.04153, 11.16651], [51.04531, 10.6409], [50.83418, 10.27972], [50.55239, 9.19874], [50.07092, 8.08173], [49.4527, 6.80466], [48.59455, 5.33911], [47.74079, 4.2194], [46.56476, 2.85529], [45.56399, 2.04576], [44.06815, 1.05283], [43.13597, 0.2922], [42.04157, -0.91916], [41.81095, -1.44647], [41.58513, -1.68325], [40.993, -0.85829], [40.98105, 2.78452], [41.855083092643966, 3.918911920483726], [42.12861, 4.23413], [42.76967, 4.25259], [43.66087, 4.95755], [44.9636, 5.00162], [47.78942, 8.003], [48.486735874226937, 8.837626247589993], [48.938129510296442, 9.451748968946616], [48.938232863161026, 9.973500067581508], [48.938491245322481, 10.982327378783465], [48.942005242718345, 11.394266058798136], [48.948204758509732, 11.410617281697961], [49.26776, 11.43033], [49.72862, 11.5789]]] } }, + { "type": "Feature", "properties": { "admin": "Republic of Serbia", "name": "Serbia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[20.874312778413408, 45.416375433934306], [21.483526238702204, 45.181170152357865], [21.562022739353718, 44.768947251965635], [22.145087924902892, 44.478422349620573], [22.459022251075961, 44.702517198254426], [22.705725538837434, 44.578002834647002], [22.47400841644065, 44.409227606781762], [22.657149692483067, 44.234923000661347], [22.410446404721593, 44.008063462900047], [22.500156691180219, 43.642814439460999], [22.986018507588479, 43.211161200527094], [22.604801466571352, 42.898518785161109], [22.43659467946139, 42.580321153323943], [22.545011834409642, 42.461362006188025], [22.380525750424674, 42.320259507815074], [21.917080000000105, 42.30364], [21.576635989402117, 42.245224397061847], [21.54332, 42.32025], [21.66292, 42.43922], [21.77505, 42.6827], [21.63302, 42.67717], [21.43866, 42.86255], [21.27421, 42.90959], [21.143395, 43.068685000000123], [20.95651, 43.13094], [20.81448, 43.27205], [20.63508, 43.21671], [20.49679, 42.88469], [20.25758, 42.81275], [20.3398, 42.89852], [19.95857, 43.10604], [19.63, 43.213779970270522], [19.48389, 43.35229], [19.21852, 43.52384], [19.454, 43.568100000000115], [19.59976, 44.03847], [19.11761, 44.42307], [19.36803, 44.863], [19.00548, 44.86023], [19.390475701584588, 45.236515611342369], [19.072768995854172, 45.521511135432078], [18.82982, 45.90888], [19.596044549241636, 46.171729844744547], [20.22019249846289, 46.127468980486569], [20.76217492033998, 45.734573065771478], [20.874312778413408, 45.416375433934306]]] } }, + { "type": "Feature", "properties": { "admin": "Suriname", "name": "Suriname", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-57.147436489476874, 5.973149929219161], [-55.949318406789786, 5.772877915872], [-55.841779751190408, 5.953125311706059], [-55.033250291551759, 6.025291449401662], [-53.958044603070888, 5.756548163267764], [-54.478632981979224, 4.896755682795585], [-54.3995422023565, 4.212611395683466], [-54.006930508018996, 3.620037746592558], [-54.181726040246261, 3.189779771330421], [-54.269705166223183, 2.732391669115046], [-54.524754197799709, 2.311848863123785], [-55.097587449755125, 2.523748073736612], [-55.569755011605984, 2.42150625244713], [-55.973322109589361, 2.510363877773016], [-56.073341844290283, 2.220794989425499], [-55.905600145070871, 2.021995754398659], [-55.995698004771739, 1.817667141116601], [-56.53938574891454, 1.89952260986692], [-57.150097825739898, 2.768926906745406], [-57.281433478409703, 3.333491929534119], [-57.601568976457848, 3.334654649260684], [-58.044694383360664, 4.060863552258382], [-57.860209520078691, 4.576801052260449], [-57.914288906472123, 4.812626451024413], [-57.307245856339492, 5.073566595882225], [-57.147436489476874, 5.973149929219161]]] } }, + { "type": "Feature", "properties": { "admin": "Slovakia", "name": "Slovakia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[18.85314415861361, 49.496229763377634], [18.909574822676316, 49.435845852244562], [19.320712517990469, 49.571574001659179], [19.825022820726865, 49.217125352569219], [20.415839471119849, 49.431453355499755], [20.887955356538406, 49.328772284535823], [21.607808058364206, 49.470107326854077], [22.558137648211751, 49.08573802346713], [22.280841912533553, 48.825392157580659], [22.085608351334848, 48.422264309271782], [21.872236362401729, 48.319970811550007], [20.801293979584919, 48.62385407164237], [20.473562045989862, 48.562850043321809], [20.239054396249344, 48.327567247096916], [19.769470656013109, 48.2026911484636], [19.66136355965849, 48.266614895208647], [19.174364861739885, 48.111378892603859], [18.777024773847668, 48.081768296900627], [18.696512892336923, 47.88095368101439], [17.857132602620023, 47.758428860050365], [17.488472934649813, 47.867466132186209], [16.979666782304033, 48.123497015976298], [16.879982944412998, 48.470013332709463], [16.960288120194573, 48.596982326850593], [17.101984897538895, 48.8169688991171], [17.545006951577101, 48.800019029325362], [17.886484816161808, 48.903475246773695], [17.913511590250462, 48.996492824899072], [18.104972771891848, 49.043983466175298], [18.170498488037961, 49.271514797556421], [18.399993523846174, 49.315000515330034], [18.554971144289478, 49.495015367218777], [18.85314415861361, 49.496229763377634]]] } }, + { "type": "Feature", "properties": { "admin": "Slovenia", "name": "Slovenia", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[13.806475457421524, 46.509306138691201], [14.632471551174827, 46.431817328469535], [15.137091912504982, 46.658702704447016], [16.011663852612653, 46.683610744811688], [16.202298211337361, 46.852385972676949], [16.370504998447412, 46.841327216166498], [16.564808383864854, 46.503750922219822], [15.768732944408548, 46.238108222023442], [15.671529575267552, 45.834153550797865], [15.323953891672403, 45.731782538427673], [15.327674594797424, 45.452316392593218], [14.935243767972931, 45.471695054702671], [14.595109490627804, 45.6349409043127], [14.411968214585411, 45.466165676447446], [13.715059848697221, 45.500323798192369], [13.937630242578305, 45.591015936864608], [13.698109978905475, 46.016778062517339], [13.806475457421524, 46.509306138691201]]] } }, + { "type": "Feature", "properties": { "admin": "Sweden", "name": "Sweden", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[22.183173455501922, 65.723740546320158], [21.213516879977213, 65.02600535751526], [21.369631381930954, 64.413587958424273], [19.778875766690216, 63.609554348395022], [17.847779168375208, 62.749400132896803], [17.11955488451812, 61.341165676510954], [17.831346062906388, 60.636583360427394], [18.787721795332086, 60.081914374422581], [17.869224887776337, 58.95376618105869], [16.829185011470084, 58.719826972073385], [16.44770958829147, 57.041118069071871], [15.87978559740378, 56.104301866268649], [14.666681349352071, 56.20088511822216], [14.100721062891461, 55.407781073622637], [12.942910597392054, 55.361737372450563], [12.625100538797025, 56.307080186581956], [11.787942335668671, 57.441817125063061], [11.027368605196866, 58.856149400459344], [11.468271925511145, 59.432393296946024], [12.300365838274896, 60.117932847730025], [12.631146681375181, 61.293571682370121], [11.992064243221559, 61.800362453856543], [11.930569288794228, 63.128317572676963], [12.57993533697393, 64.066218980558318], [13.571916131248711, 64.049114081469696], [13.9199052263022, 64.445420640716065], [13.555689731509087, 64.7870276963815], [15.108411492582999, 66.19386688909546], [16.108712192456775, 67.302455552836875], [16.768878614985478, 68.013936672631388], [17.729181756265344, 68.010551866316263], [17.993868442464329, 68.567391262477344], [19.878559604581248, 68.407194322372561], [20.025268995857882, 69.065138658312691], [20.645592889089521, 69.106247260200846], [21.978534783626113, 68.616845608180682], [23.539473097434435, 67.936008612735236], [23.565879754335576, 66.396050930437411], [23.903378533633795, 66.006927395279604], [22.183173455501922, 65.723740546320158]]] } }, + { "type": "Feature", "properties": { "admin": "Swaziland", "name": "Swaziland", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[32.071665480281062, -26.733820082304902], [31.868060337051073, -27.17792734142127], [31.282773064913325, -27.285879408478991], [30.685961948374477, -26.743845310169526], [30.676608514129633, -26.398078301704604], [30.949666782359905, -26.022649021104144], [31.044079624157146, -25.731452325139436], [31.333157586397899, -25.660190525008943], [31.837777947728057, -25.843331801051342], [31.985779249811962, -26.29177988048022], [32.071665480281062, -26.733820082304902]]] } }, + { "type": "Feature", "properties": { "admin": "Syria", "name": "Syria", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[38.792340529136077, 33.378686428352218], [36.834062127435537, 32.312937526980768], [35.719918247222743, 32.709192409794859], [35.700797967274745, 32.716013698857374], [35.836396925608618, 32.868123277308506], [35.821100701650231, 33.277426459276292], [36.066460402172048, 33.824912421192543], [36.611750115715886, 34.201788641897174], [36.448194207512095, 34.59393524834406], [35.998402540843628, 34.644914048799997], [35.905023227692219, 35.410009467097318], [36.149762811026527, 35.821534735653664], [36.417550083163029, 36.040616970355053], [36.685389031731795, 36.259699205056457], [36.739494256341395, 36.817520453431079], [37.066761102045824, 36.623036200500614], [38.167727492024191, 36.901210435527766], [38.699891391765895, 36.712927354472335], [39.522580193852541, 36.716053778625984], [40.673259311695681, 37.091276353497285], [41.212089471203043, 37.074352321921687], [42.349591098811764, 37.22987254490409], [41.837064243340954, 36.605853786763568], [41.289707472505448, 36.358814602192261], [41.383965285005807, 35.628316555314349], [41.00615888851992, 34.419372260062111], [38.792340529136077, 33.378686428352218]]] } }, + { "type": "Feature", "properties": { "admin": "Chad", "name": "Chad", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[14.495787387762899, 12.859396267137353], [14.595781284247604, 13.330426947477859], [13.954476759505607, 13.353448798063765], [13.956698846094124, 13.996691189016925], [13.540393507550785, 14.36713369390122], [13.97217, 15.68437], [15.247731154041842, 16.627305813050778], [15.300441114979716, 17.927949937405], [15.68574059414777, 19.957180080642384], [15.90324669766431, 20.387618923417499], [15.487148064850143, 20.730414537025634], [15.47106, 21.04845], [15.096887648181847, 21.308518785074902], [14.8513, 22.862950000000119], [15.86085, 23.40972], [19.84926, 21.49509], [23.837660000000135, 19.580470000000101], [23.886890000000101, 15.61084], [23.02459, 15.68072], [22.567950000000106, 14.944290000000134], [22.30351, 14.32682], [22.51202, 14.09318], [22.18329, 13.78648], [22.29658, 13.37232], [22.03759, 12.95546], [21.93681, 12.588180000000133], [22.28801, 12.64605], [22.49762, 12.26024], [22.50869, 11.67936], [22.87622, 11.384610000000119], [22.864165480244246, 11.142395127807616], [22.231129184668756, 10.971888739460608], [21.723821648859538, 10.567055568885959], [21.000868361096305, 9.475985215691479], [20.059685499764267, 9.012706000194838], [19.094008009526071, 9.074846910025768], [18.81200971850927, 8.982914536978623], [18.911021762780589, 8.630894680206435], [18.389554884523303, 8.281303615751879], [17.964929640380884, 7.890914008002992], [16.705988396886365, 7.508327541529978], [16.4561845231874, 7.734773667832938], [16.290561557691884, 7.754307359239417], [16.106231723706738, 7.497087917506461], [15.279460483469164, 7.42192454673801], [15.436091749745737, 7.692812404811887], [15.120865512765302, 8.382150173369437], [14.979995558337688, 8.796104234243442], [14.544466586981851, 8.965861314322238], [13.954218377344088, 9.549494940626685], [14.17146609869911, 10.021378282100043], [14.627200555081057, 9.920919297724591], [14.909353875394796, 9.992129421422758], [15.46787275560524, 9.982336737503543], [14.923564894275042, 10.891325181517514], [14.960151808337679, 11.555574042197234], [14.89336, 12.21905], [14.495787387762899, 12.859396267137353]]] } }, + { "type": "Feature", "properties": { "admin": "Togo", "name": "Togo", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[1.865240512712318, 6.14215770102973], [1.060121697604927, 5.928837388528875], [0.836931186536333, 6.279978745952147], [0.570384148774849, 6.914358628767188], [0.490957472342245, 7.411744289576474], [0.712029249686878, 8.312464504423827], [0.461191847342121, 8.677222601756013], [0.365900506195885, 9.46500397382948], [0.367579990245389, 10.191212876827176], [-0.049784715159944, 10.706917832883928], [0.023802524423701, 11.018681748900802], [0.899563022474069, 10.997339382364258], [0.772335646171484, 10.470808213742357], [1.077795037448737, 10.175606594275022], [1.425060662450136, 9.825395412632998], [1.46304284018467, 9.334624335157086], [1.664477573258381, 9.128590399609378], [1.618950636409238, 6.832038072126236], [1.865240512712318, 6.14215770102973]]] } }, + { "type": "Feature", "properties": { "admin": "Thailand", "name": "Thailand", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[102.58493248902667, 12.186594956913279], [101.687157830819928, 12.645740057826568], [100.831809523524839, 12.627084865769204], [100.978467238369191, 13.412721665902563], [100.097797479251099, 13.406856390837429], [100.018732537844528, 12.307001044153353], [99.478920526123602, 10.846366685423545], [99.153772414143134, 9.963061428258554], [99.222398716226749, 9.239255479362425], [99.873831821698118, 9.207862046745118], [100.279646844486194, 8.29515289960605], [100.45927412313273, 7.429572658717175], [101.017327915452697, 6.856868597842476], [101.623079054778032, 6.740622463401918], [102.141186964936367, 6.221636053894626], [101.81428185425797, 5.810808417174242], [101.154218784593837, 5.691384182147713], [101.075515578213327, 6.20486705161592], [100.259596388756933, 6.642824815289542], [100.085756870527092, 6.46448944745029], [99.690690545655727, 6.848212795433595], [99.519641554769606, 7.343453884302759], [98.988252801512289, 7.907993068875325], [98.503786248775967, 8.382305202666286], [98.339661899816988, 7.794511623562384], [98.150009393305808, 8.350007432483876], [98.259150018306229, 8.973922837759799], [98.553550653073017, 9.932959906448543], [99.038120558673953, 10.960545762572435], [99.587286004639694, 11.892762762901695], [99.196353794351637, 12.804748439988666], [99.212011753336071, 13.269293728076462], [99.097755161538728, 13.827502549693275], [98.430819126379859, 14.622027696180831], [98.192074009191373, 15.123702500870349], [98.537375929765687, 15.308497422746081], [98.90334842325673, 16.177824204976115], [98.493761020911322, 16.837835598207928], [97.859122755934848, 17.567946071843657], [97.375896437573516, 18.445437730375811], [97.797782830804394, 18.627080389881751], [98.253723992915582, 19.708203029860041], [98.959675734454848, 19.752980658440944], [99.543309360759281, 20.186597601802056], [100.115987583417819, 20.41784963630818], [100.548881056726856, 20.109237982661124], [100.606293573003128, 19.508344427971217], [101.282014601651667, 19.462584947176762], [101.035931431077742, 18.408928330961611], [101.059547560635139, 17.512497259994486], [102.113591750092453, 18.109101670804161], [102.413004998791592, 17.932781683824281], [102.998705682387694, 17.961694647691598], [103.200192091893726, 18.309632066312769], [103.956476678485288, 18.240954087796872], [104.716947056092465, 17.428858954330078], [104.779320509868768, 16.441864935771445], [105.589038527450128, 15.570316066952856], [105.544338413517664, 14.723933620660414], [105.218776890078871, 14.27321177821069], [104.281418084736586, 14.416743068901363], [102.988422072361601, 14.225721136934464], [102.348099399833004, 13.39424734135822], [102.58493248902667, 12.186594956913279]]] } }, + { "type": "Feature", "properties": { "admin": "Tajikistan", "name": "Tajikistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[71.014198032520156, 40.244365546218226], [70.648018833299957, 39.935753892571157], [69.559609816368507, 40.103211371412968], [69.464886915977516, 39.526683254548693], [70.549161818325601, 39.604197902986492], [71.784693637991992, 39.279463202464363], [73.67537926625478, 39.431236884105594], [73.928852166646408, 38.505815334622724], [74.257514276022718, 38.606506862943441], [74.864815708316812, 38.378846340481587], [74.829985792952087, 37.990007025701388], [74.980002475895404, 37.419990139305888], [73.948695916646486, 37.421566270490786], [73.260055779924983, 37.495256862938994], [72.636889682917271, 37.047558091778349], [72.193040805962383, 36.94828766534566], [71.84463829945058, 36.738171291646914], [71.448693475230229, 37.065644843080513], [71.541917759084768, 37.905774441065631], [71.239403924448155, 37.953265082341879], [71.348131137990251, 38.258905341132156], [70.806820509732873, 38.486281643216408], [70.376304152309274, 38.138395901027515], [70.270574171840124, 37.73516469985401], [70.116578403610319, 37.588222764632086], [69.518785434857946, 37.608996690413413], [69.196272820924364, 37.15114350030742], [68.859445835245921, 37.344335842430588], [68.135562371701369, 37.023115139304302], [67.829999627559502, 37.144994004864678], [68.392032505165943, 38.157025254868728], [68.176025018185911, 38.901553453113898], [67.442219679641298, 39.140143541005479], [67.701428664017342, 39.580478420564518], [68.536416456989414, 39.533452867178923], [69.011632928345477, 40.086158148756653], [69.329494663372813, 40.727824408524839], [70.666622348925031, 40.960213324541407], [70.458159621059608, 40.49649485937028], [70.601406691372674, 40.218527330072284], [71.014198032520156, 40.244365546218226]]] } }, + { "type": "Feature", "properties": { "admin": "Turkmenistan", "name": "Turkmenistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[61.21081709172573, 35.650072333309218], [61.123070509694131, 36.491597194966239], [60.377637973883864, 36.52738312432836], [59.234761997316795, 37.412987982730336], [58.436154412678192, 37.522309475243794], [57.330433790928964, 38.029229437810933], [56.619366082592805, 38.121394354803478], [56.180374790273319, 37.935126654607423], [55.511578403551894, 37.964117133123153], [54.800303989486558, 37.392420762678178], [53.921597934795543, 37.198918361961255], [53.735511102112504, 37.906136176091685], [53.880928582581831, 38.952093003895349], [53.101027866432894, 39.290573635407121], [53.357808058491216, 39.975286363274442], [52.693972609269807, 40.033629055331964], [52.91525109234361, 40.87652334244472], [53.85813927594112, 40.631034450842165], [54.736845330632136, 40.951014919593455], [54.0083109881813, 41.551210842447404], [53.721713494690576, 42.123191433270016], [52.916749708880069, 41.868116563477322], [52.81468875510361, 41.135370591794704], [52.502459751196135, 41.783315538086356], [52.94429324729164, 42.116034247397586], [54.079417759014937, 42.324109402020817], [54.755345493392625, 42.04397146256656], [55.455251092353755, 41.259859117185826], [55.968191359282898, 41.308641669269356], [57.096391229079089, 41.32231008561056], [56.93221520368779, 41.82602610937559], [57.786529982337065, 42.170552883465511], [58.629010857991453, 42.751551011723045], [59.976422153569771, 42.223081976890199], [60.083340691981654, 41.425146185871391], [60.46595299667068, 41.22032664648254], [61.547178989513547, 41.2663703476546], [61.882714064384679, 41.084856879229392], [62.374260288344992, 40.053886216790382], [63.518014764261018, 39.363256537425627], [64.170223016216752, 38.892406724598231], [65.215998976507379, 38.402695013984292], [66.546150343700205, 37.974684963526855], [66.518606805288655, 37.362784328758785], [66.217384881459324, 37.393790188133913], [65.745630731066811, 37.661164048812061], [65.588947788357828, 37.305216783185628], [64.746105177677393, 37.111817735333297], [64.546479119733888, 36.31207326918426], [63.982895949158696, 36.007957465146596], [63.193538445900337, 35.857165635718907], [62.984662306576588, 35.404040839167614], [62.230651483005879, 35.270663967422287], [61.21081709172573, 35.650072333309218]]] } }, + { "type": "Feature", "properties": { "admin": "East Timor", "name": "Timor-Leste", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[124.96868248911619, -8.892790215697081], [125.086246372580248, -8.656887302284678], [125.947072381698234, -8.432094821815033], [126.64470421763852, -8.39824675866385], [126.957243280139792, -8.273344821814396], [127.335928175974615, -8.397316582882601], [126.967991978056517, -8.668256117388891], [125.925885044458568, -9.106007175333351], [125.088520135601073, -9.393173109579292], [125.070019972840583, -9.08998748132287], [124.96868248911619, -8.892790215697081]]] } }, + { "type": "Feature", "properties": { "admin": "Trinidad and Tobago", "name": "Trinidad and Tobago", "continent": "North America" }, "geometry": { "type": "Polygon", "coordinates": [[[-61.68, 10.76], [-61.105, 10.89], [-60.895, 10.855], [-60.935, 10.11], [-61.77, 10.0], [-61.95, 10.09], [-61.66, 10.365], [-61.68, 10.76]]] } }, + { "type": "Feature", "properties": { "admin": "Tunisia", "name": "Tunisia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[9.482139926805273, 30.307556057246181], [9.055602654668148, 32.102691962201284], [8.439102817426116, 32.506284898400814], [8.430472853233367, 32.748337307255944], [7.612641635782181, 33.344114895148955], [7.524481642292242, 34.097376410451453], [8.140981479534302, 34.655145982393783], [8.376367628623766, 35.479876003555937], [8.217824334352313, 36.433176988260271], [8.420964389691674, 36.946427313783154], [9.509993523810605, 37.349994411766531], [10.210002475636315, 37.230001735984807], [10.180650262094529, 36.724037787415071], [11.028867221733348, 37.09210317641395], [11.100025668999249, 36.899996039368908], [10.600004510143092, 36.410000108377368], [10.593286573945134, 35.947444362932806], [10.939518670300686, 35.698984076473486], [10.807847120821007, 34.833507188449182], [10.149592726287123, 34.330773016897702], [10.339658644256613, 33.785741685515312], [10.856836378633684, 33.768740139291275], [11.108500603895118, 33.293342800422188], [11.488787469131008, 33.136995754523134], [11.432253452203692, 32.368903103152867], [10.944789666394453, 32.081814683555358], [10.636901482799484, 31.761420803345747], [9.950225050505081, 31.376069647745251], [10.056575148161752, 30.961831366493595], [9.97001712407285, 30.539324856075236], [9.482139926805273, 30.307556057246181]]] } }, + { "type": "Feature", "properties": { "admin": "Turkey", "name": "Turkey", "continent": "Asia" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[36.913127068842151, 41.335358384764291], [38.347664829264502, 40.948586127275711], [39.512606642420238, 41.102762763018561], [40.373432651538245, 41.013672593747337], [41.554084100110707, 41.535656236327604], [42.619548781104548, 41.58317271581992], [43.582745802592704, 41.09214325618256], [43.752657911968491, 40.740200914058811], [43.656436395040963, 40.253563951166157], [44.400008579288759, 40.005000311842302], [44.79398969908199, 39.713002631177027], [44.109225294782355, 39.428136298168049], [44.421402622257595, 38.281281236314513], [44.225755649600522, 37.971584377589345], [44.772699008977739, 37.170444647768441], [44.293451775902852, 37.001514390606353], [43.942258742047343, 37.256227525372928], [42.77912560402185, 37.385263576805798], [42.349591098811764, 37.229872544904104], [41.212089471203015, 37.074352321921729], [40.673259311695702, 37.091276353497356], [39.522580193852512, 36.716053778626012], [38.699891391765917, 36.712927354472313], [38.167727492024156, 36.90121043552778], [37.066761102045824, 36.623036200500614], [36.739494256341366, 36.817520453431108], [36.685389031731816, 36.259699205056499], [36.417550083163086, 36.040616970355096], [36.149762811026584, 35.821534735653664], [35.782084995269848, 36.274995429014915], [36.160821567537049, 36.650605577128367], [35.550936313628334, 36.565442816711325], [34.714553256984367, 36.795532131490909], [34.026894972476455, 36.219960028623966], [32.509158156064096, 36.107563788389193], [31.69959516777956, 36.644275214172602], [30.621624790171062, 36.677864895162308], [30.391096225717114, 36.262980658506983], [29.69997562024556, 36.144357408181001], [28.732902866335387, 36.676831366516431], [27.641186557737363, 36.658822129862749], [27.048767937943289, 37.653360907536005], [26.318218214633042, 38.208133246405382], [26.804700148228726, 38.985760199533551], [26.170785353304375, 39.463612168936457], [27.280019972449388, 40.420013739578302], [28.819977654747209, 40.460011298172212], [29.240003696415574, 41.219990749672682], [31.145933872204434, 41.087621568357058], [32.347979363745786, 41.736264146484629], [33.513282911927512, 42.018960069337304], [35.167703891751863, 42.040224921225438], [36.913127068842151, 41.335358384764291]]], [[[27.192376743282406, 40.690565700842448], [26.358009067497782, 40.151993923496477], [26.043351271272535, 40.617753607743161], [26.056942172965332, 40.824123440100735], [26.294602085075692, 40.936261298174166], [26.604195590936282, 41.562114569661013], [26.117041863720825, 41.826904608724554], [27.135739373490505, 42.141484890301307], [27.996720411905407, 42.007358710287768], [28.115524529744441, 41.622886054036279], [28.988442824018779, 41.299934190428175], [28.806438429486743, 41.05496206314853], [27.619017368284112, 40.999823309893102], [27.192376743282406, 40.690565700842448]]]] } }, + { "type": "Feature", "properties": { "admin": "Taiwan", "name": "Taiwan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[121.777817824389899, 24.394273586519393], [121.175632358892713, 22.790857245367164], [120.747079705896198, 21.970571397382106], [120.220083449383651, 22.814860948166732], [120.106188592612369, 23.556262722258229], [120.694679803552233, 24.53845083261373], [121.49504438688875, 25.295458889257379], [121.951243931161429, 24.997595933527034], [121.777817824389899, 24.394273586519393]]] } }, + { "type": "Feature", "properties": { "admin": "United Republic of Tanzania", "name": "Tanzania", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[33.903711197104592, -0.95], [34.07262, -1.05982], [37.69869, -3.09699], [37.7669, -3.67712], [39.20222, -4.67677], [38.74054, -5.90895], [38.79977, -6.47566], [39.44, -6.84], [39.470000000000134, -7.1], [39.19469, -7.7039], [39.25203, -8.00781], [39.18652, -8.48551], [39.53574, -9.112369999999883], [39.9496, -10.0984], [40.31659, -10.317099999999867], [39.521, -10.89688], [38.427556593587767, -11.285202325081626], [37.82764, -11.26879], [37.47129, -11.56876], [36.775150994622884, -11.59453744878078], [36.514081658684397, -11.720938002166745], [35.312397902169145, -11.439146416879165], [34.559989047999451, -11.520020033415845], [34.28, -10.16], [33.940837724096518, -9.693673841980283], [33.73972, -9.41715], [32.759375441221373, -9.230599053589001], [32.191864861791935, -8.930358981973255], [31.556348097466628, -8.762048841998647], [31.157751336950064, -8.594578747317312], [30.74, -8.34], [30.2, -7.08], [29.62, -6.52], [29.419992710088305, -5.939998874539297], [29.519986606573063, -5.419978936386257], [29.339997592900367, -4.499983412294113], [29.753512404099858, -4.452389418153301], [30.11632, -4.09012], [30.50554, -3.56858], [30.75224, -3.35931], [30.74301, -3.03431], [30.52766, -2.80762], [30.46967, -2.41383], [30.758308953583132, -2.287250257988375], [30.816134881317844, -1.698914076345374], [30.419104852019291, -1.134659112150416], [30.769860000000101, -1.01455], [31.86617, -1.02736], [33.903711197104592, -0.95]]] } }, + { "type": "Feature", "properties": { "admin": "Uganda", "name": "Uganda", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[31.86617, -1.02736], [30.769860000000101, -1.01455], [30.419104852019291, -1.134659112150416], [29.821518588996121, -1.443322442229771], [29.579466180141019, -1.341313164885605], [29.587837762172164, -0.587405694179381], [29.8195, -0.2053], [29.875778842902431, 0.597379868976361], [30.086153598762785, 1.062312730306416], [30.468507521290285, 1.583805446779706], [30.852670118948133, 1.849396470543752], [31.174149204235952, 2.204465236821306], [30.77332, 2.339890000000139], [30.83385, 3.50917], [31.24556, 3.7819], [31.88145, 3.55827], [32.68642, 3.79232], [33.39, 3.79], [34.005, 4.249884947362147], [34.47913, 3.5556], [34.59607, 3.053740000000118], [35.03599, 1.90584], [34.6721, 1.17694], [34.18, 0.515], [33.893568969666994, 0.109813537861839], [33.903711197104592, -0.95], [31.86617, -1.02736]]] } }, + { "type": "Feature", "properties": { "admin": "Ukraine", "name": "Ukraine", "continent": "Europe" }, "geometry": { "type": "Polygon", "coordinates": [[[31.78599816257158, 52.10167796488544], [32.159412062312661, 52.061266994833204], [32.412058139787625, 52.288694973349735], [32.715760532366964, 52.238465481162038], [33.7526998227357, 52.335074571331681], [34.391730584457001, 51.768881740925778], [34.141978387190385, 51.566413479206226], [34.22481570815426, 51.255993150428942], [35.022183058417873, 51.207572333371445], [35.377923618315116, 50.773955390010343], [35.35611616388794, 50.577197374059054], [36.62616784032533, 50.225590928745127], [37.393459506995065, 50.383953355503586], [38.01063113785689, 49.915661526074622], [38.59498823421341, 49.926461900423618], [40.069058465339097, 49.601055406281688], [40.080789015469342, 49.307429917999272], [39.674663934087526, 48.783818467801872], [39.895632358567575, 48.232405097031425], [39.738277622238819, 47.898937079451983], [38.770584751141186, 47.825608222029807], [38.255112339029743, 47.546400458356807], [38.223538038899413, 47.102189846375872], [37.42513715998998, 47.022220567404197], [36.759854770664383, 46.698700263040919], [35.823684523264816, 46.645964463887054], [34.962341749823871, 46.273196519549636], [35.020787794745978, 45.65121898048465], [35.51000857925316, 45.409993394546177], [36.529997999830151, 45.46998973243705], [36.334712762199146, 45.113215643893952], [35.239999220528112, 44.939996242851599], [33.882511020652878, 44.361478583344066], [33.326420932760037, 44.564877020844875], [33.546924269349446, 45.034770819674883], [32.454174432105496, 45.327466132176063], [32.630804477679128, 45.519185695978905], [33.588162062318382, 45.851568508480227], [33.298567335754704, 46.08059845639783], [31.744140252415171, 46.333347886737378], [31.675307244602401, 46.706245022155528], [30.748748813609094, 46.583100084003995], [30.37760867688888, 46.032410183285663], [29.603289015427425, 45.293308010431119], [29.149724969201646, 45.464925442072442], [28.679779493939371, 45.30403087013169], [28.233553501099035, 45.488283189468369], [28.48526940279276, 45.596907050145887], [28.659987420371575, 45.939986884131628], [28.933717482221621, 46.258830471372491], [28.862972446414055, 46.437889309263824], [29.072106967899288, 46.517677720722482], [29.170653924279879, 46.379262396828693], [29.759971958136383, 46.349987697935354], [30.024658644335364, 46.423936672545032], [29.838210076626289, 46.525325832701675], [29.908851759569295, 46.67436066343145], [29.559674106573105, 46.928582872091312], [29.415135125452732, 47.346645209332571], [29.050867954227321, 47.510226955752493], [29.122698195113024, 47.849095160506458], [28.670891147585163, 48.118148505234089], [28.259546746541837, 48.155562242213406], [27.52253746919515, 48.467119452501102], [26.857823520624798, 48.368210761094488], [26.619336785597788, 48.220726223333457], [26.197450392366925, 48.220881252630342], [25.945941196402394, 47.987148749374207], [25.207743361112986, 47.891056423527459], [24.866317172960571, 47.737525743188307], [24.402056105250374, 47.981877753280422], [23.760958286237404, 47.985598456405448], [23.142236362406798, 48.096341050806942], [22.710531447040488, 47.882193915389394], [22.640819939878746, 48.150239569687351], [22.085608351334848, 48.422264309271782], [22.280841912533553, 48.825392157580659], [22.558137648211751, 49.08573802346713], [22.776418898212619, 49.027395331409608], [22.518450148211596, 49.476773586619736], [23.426508416444388, 50.308505764357449], [23.922757195743259, 50.424881089878738], [24.029985792748899, 50.705406602575174], [23.52707075368437, 51.578454087930233], [24.005077752384206, 51.617443956094448], [24.553106316839511, 51.888461005249177], [25.327787713327005, 51.910656032918538], [26.337958611768549, 51.832288723347915], [27.454066196408426, 51.59230337178446], [28.241615024536564, 51.572227077839059], [28.617612745892242, 51.427713934934836], [28.992835320763522, 51.602044379271462], [29.254938185347921, 51.368234361366881], [30.157363722460889, 51.416138414101454], [30.55511722181145, 51.319503485715643], [30.619454380014837, 51.822806098022362], [30.927549269338975, 52.042353420614383], [31.78599816257158, 52.10167796488544]]] } }, + { "type": "Feature", "properties": { "admin": "Uruguay", "name": "Uruguay", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-57.625133429582945, -30.216294854454258], [-56.976025763564721, -30.109686374636119], [-55.97324459494093, -30.883075860316296], [-55.601510179249331, -30.853878676071385], [-54.572451544805105, -31.494511407193745], [-53.787951626182185, -32.047242526987617], [-53.209588995971529, -32.727666110974717], [-53.650543992718084, -33.202004082981823], [-53.373661668498229, -33.768377780900757], [-53.806425950726521, -34.396814874002224], [-54.935866054897716, -34.952646579733617], [-55.674089728403274, -34.752658786764066], [-56.215297003796053, -34.85983570733741], [-57.139685024633096, -34.430456231424238], [-57.817860683815489, -34.462547295877492], [-58.427074144104381, -33.909454441057569], [-58.349611172098854, -33.2631889788154], [-58.132647671121433, -33.040566908502008], [-58.142440355040748, -32.044503676076147], [-57.874937303281875, -31.016556084926201], [-57.625133429582945, -30.216294854454258]]] } }, + { "type": "Feature", "properties": { "admin": "United States of America", "name": "United States", "continent": "North America" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[-155.54211, 19.08348], [-155.68817, 18.91619], [-155.93665, 19.05939], [-155.90806, 19.33888], [-156.07347, 19.70294], [-156.02368, 19.81422], [-155.85008, 19.97729], [-155.91907, 20.17395], [-155.86108, 20.26721], [-155.78505, 20.2487], [-155.40214, 20.07975], [-155.22452, 19.99302], [-155.06226, 19.8591], [-154.80741, 19.50871], [-154.83147, 19.45328], [-155.222169999999892, 19.23972], [-155.54211, 19.08348]]], [[[-156.07926, 20.64397], [-156.41445, 20.57241], [-156.58673, 20.783], [-156.70167, 20.8643], [-156.71055, 20.92676], [-156.61258, 21.01249], [-156.25711, 20.91745], [-155.99566, 20.76404], [-156.07926, 20.64397]]], [[[-156.75824, 21.17684], [-156.78933, 21.06873], [-157.32521, 21.09777], [-157.25027, 21.21958], [-156.75824, 21.17684]]], [[[-157.65283, 21.32217], [-157.70703, 21.26442], [-157.7786, 21.27729], [-158.12667, 21.31244], [-158.2538, 21.53919], [-158.29265, 21.57912], [-158.0252, 21.71696], [-157.94161, 21.65272], [-157.65283, 21.32217]]], [[[-159.34512, 21.982], [-159.46372, 21.88299], [-159.80051, 22.06533], [-159.74877, 22.1382], [-159.5962, 22.23618], [-159.36569, 22.21494], [-159.34512, 21.982]]], [[[-94.81758, 49.38905], [-94.639999999999858, 48.840000000000103], [-94.32914, 48.67074], [-93.63087, 48.60926], [-92.61, 48.45], [-91.64, 48.14], [-90.829999999999856, 48.27], [-89.6, 48.01], [-89.272917446636654, 48.019808254582834], [-88.378114183286513, 48.302917588893806], [-87.439792623300207, 47.94], [-86.461990831228135, 47.553338019392037], [-85.652363247403215, 47.220218817730498], [-84.876079881514855, 46.900083319682366], [-84.779238247399817, 46.637101955749117], [-84.54374874544564, 46.538684190449224], [-84.6049, 46.4396], [-84.3367, 46.408770000000104], [-84.142119513673279, 46.512225857115723], [-84.091851264161463, 46.275418606138253], [-83.890765347005654, 46.116926988299149], [-83.616130947590491, 46.116926988299149], [-83.469550747394621, 45.994686387712584], [-83.592850714843067, 45.816893622412543], [-82.550924648758169, 45.347516587905446], [-82.337763125431053, 44.44], [-82.137642381503952, 43.571087551439987], [-82.43, 42.98], [-82.899999999999878, 42.430000000000135], [-83.119999999999877, 42.08], [-83.141999681312555, 41.975681057292995], [-83.029810146806909, 41.832795722005997], [-82.690089280920162, 41.675105088867319], [-82.439277716791608, 41.675105088867319], [-81.277746548167059, 42.209025987306845], [-80.247447679347843, 42.36619985612267], [-78.939362148743683, 42.863611355148116], [-78.92, 42.965], [-79.009999999999863, 43.27], [-79.171673550111862, 43.466339423184301], [-78.720279914042365, 43.625089423184953], [-77.737885097957601, 43.629055589363382], [-76.820034145805565, 43.628784288093748], [-76.5, 44.018458893758599], [-76.375, 44.09631], [-75.31821, 44.81645000000016], [-74.867, 45.00048000000011], [-73.347829999999874, 45.00738], [-71.505059999999858, 45.0082], [-71.405, 45.255000000000123], [-71.08482, 45.305240000000154], [-70.659999999999783, 45.46], [-70.305, 45.915], [-69.99997, 46.69307], [-69.237216, 47.447781], [-68.905, 47.185], [-68.23444, 47.35486], [-67.79046, 47.06636], [-67.79134, 45.702810000000134], [-67.13741, 45.13753], [-66.96466, 44.809700000000149], [-68.03252, 44.3252], [-69.059999999999874, 43.98], [-70.116169999999897, 43.684050000000141], [-70.645475633410967, 43.090238348964043], [-70.81489, 42.8653], [-70.825, 42.335], [-70.494999999999891, 41.805], [-70.08, 41.78], [-70.185, 42.145], [-69.88497, 41.922830000000111], [-69.96503, 41.637170000000161], [-70.64, 41.475], [-71.12039, 41.494450000000164], [-71.859999999999829, 41.32], [-72.295, 41.27], [-72.87643, 41.22065], [-73.71, 40.931102351654481], [-72.24126, 41.119480000000138], [-71.944999999999808, 40.93], [-73.345, 40.63], [-73.982, 40.628], [-73.952325, 40.75075], [-74.25671, 40.47351], [-73.96244, 40.42763], [-74.17838, 39.70926], [-74.90604, 38.93954], [-74.98041, 39.1964], [-75.20002, 39.24845], [-75.52805, 39.4985], [-75.32, 38.96], [-75.071834764789784, 38.782032230179276], [-75.05673, 38.404120000000106], [-75.37747, 38.01551], [-75.94023, 37.21689], [-76.03127, 37.2566], [-75.722049999999783, 37.937050000000106], [-76.23287, 38.319215], [-76.35, 39.15], [-76.542725, 38.717615], [-76.32933, 38.08326], [-76.98999793161353, 38.239991766913384], [-76.301619999999886, 37.917945], [-76.25874, 36.9664000000001], [-75.9718, 36.89726], [-75.868039999999809, 36.55125], [-75.72749, 35.550740000000125], [-76.36318, 34.808540000000129], [-77.39763499999988, 34.51201], [-78.05496, 33.92547], [-78.554349999999815, 33.861330000000116], [-79.06067, 33.49395], [-79.20357, 33.15839], [-80.301325, 32.509355], [-80.86498, 32.0333], [-81.33629, 31.44049], [-81.49042, 30.729990000000122], [-81.31371, 30.03552], [-80.98, 29.18000000000011], [-80.53558499999987, 28.47213], [-80.529999999999774, 28.04], [-80.056539284977532, 26.88000000000013], [-80.088015, 26.205765], [-80.131559999999837, 25.816775], [-80.38103, 25.20616], [-80.679999999999879, 25.08], [-81.17213, 25.201260000000126], [-81.33, 25.64], [-81.709999999999795, 25.87], [-82.239999999999895, 26.730000000000125], [-82.70515, 27.49504], [-82.85526, 27.88624], [-82.65, 28.550000000000146], [-82.929999999999865, 29.100000000000129], [-83.70959, 29.93656], [-84.1, 30.090000000000114], [-85.10882, 29.63615], [-85.28784, 29.686120000000127], [-85.7731, 30.152610000000116], [-86.399999999999878, 30.400000000000112], [-87.530359999999831, 30.27433], [-88.41782, 30.3849], [-89.180489999999836, 30.31598], [-89.593831178419748, 30.159994004836843], [-89.413735, 29.89419], [-89.43, 29.48864], [-89.21767, 29.29108], [-89.40823, 29.15961], [-89.77928, 29.307140000000135], [-90.15463, 29.11743], [-90.880224999999896, 29.148535000000116], [-91.626784999999842, 29.677000000000127], [-92.49906, 29.5523], [-93.22637, 29.78375], [-93.84842, 29.71363], [-94.69, 29.480000000000125], [-95.60026, 28.73863], [-96.59404, 28.30748], [-97.139999999999802, 27.83], [-97.37, 27.38], [-97.379999999999853, 26.69], [-97.33, 26.210000000000115], [-97.139999999999802, 25.87], [-97.529999999999859, 25.84], [-98.239999999999895, 26.060000000000109], [-99.019999999999854, 26.37], [-99.3, 26.84], [-99.52, 27.54], [-100.11, 28.11000000000012], [-100.45584, 28.696120000000118], [-100.957599999999886, 29.380710000000125], [-101.6624, 29.779300000000113], [-102.48, 29.76], [-103.11, 28.97], [-103.94, 29.27], [-104.456969999999814, 29.57196], [-104.705749999999895, 30.12173], [-105.03737, 30.64402], [-105.63159, 31.083830000000113], [-106.1429, 31.39995], [-106.507589999999794, 31.75452], [-108.24, 31.754853718166398], [-108.24194, 31.34222], [-109.035, 31.341940000000161], [-111.02361, 31.33472], [-113.30498, 32.03914], [-114.815, 32.52528], [-114.721389999999829, 32.72083], [-115.991349999999869, 32.61239000000014], [-117.127759999999753, 32.53534], [-117.295937691273863, 33.04622461520389], [-117.944, 33.621236431201389], [-118.410602275897475, 33.740909223124497], [-118.519894822799685, 34.027781577575745], [-119.081, 34.078], [-119.438840642016658, 34.348477178284291], [-120.36778, 34.44711], [-120.62286, 34.60855], [-120.74433, 35.156860000000101], [-121.714569999999853, 36.16153], [-122.54747, 37.551760000000101], [-122.51201, 37.783390000000132], [-122.95319, 38.113710000000104], [-123.7272, 38.951660000000111], [-123.865169999999878, 39.766990000000128], [-124.39807, 40.3132], [-124.17886, 41.142020000000109], [-124.2137, 41.999640000000134], [-124.532839999999894, 42.76599], [-124.14214, 43.70838], [-124.020535, 44.615895], [-123.898929999999893, 45.52341], [-124.079635, 46.86475], [-124.395669999999896, 47.72017], [-124.687210083007812, 48.184432983398537], [-124.566101074218736, 48.379714965820384], [-123.12, 48.04], [-122.587359999999876, 47.096], [-122.34, 47.36], [-122.5, 48.18], [-122.84, 49.0], [-120.0, 49.0], [-117.03121, 49.0], [-116.04818, 49.0], [-112.999999999999872, 49.0], [-110.049999999999812, 49.0], [-107.049999999999898, 49.0], [-104.04826, 48.99986], [-100.65, 49.0], [-97.228720000004699, 49.0007], [-95.159069509171943, 49.0], [-95.15609, 49.38425], [-94.81758, 49.38905]]], [[[-153.006314053336837, 57.115842190165878], [-154.0050902984581, 56.734676825581047], [-154.516402757770067, 56.992748928446687], [-154.670992804971092, 57.461195787172493], [-153.762779507441451, 57.816574612043773], [-153.228729417921073, 57.968968410872421], [-152.564790615835108, 57.901427313866961], [-152.141147223906273, 57.591058661521977], [-153.006314053336837, 57.115842190165878]]], [[[-165.579164191733554, 59.909986884187539], [-166.192770148767238, 59.754440822988961], [-166.848337368821944, 59.941406155020942], [-167.455277066090048, 60.213069159579376], [-166.467792121424566, 60.384169826897775], [-165.674429694663644, 60.293606879306232], [-165.579164191733554, 59.909986884187539]]], [[[-171.731656867539357, 63.782515367275906], [-171.114433560245175, 63.592191067144981], [-170.491112433940657, 63.694975490973505], [-169.682505459653555, 63.431115627691142], [-168.689439460300662, 63.297506212000584], [-168.77194088445458, 63.188598130945437], [-169.529439867204985, 62.976931464277882], [-170.290556200215917, 63.194437567794452], [-170.671385667990847, 63.375821845138965], [-171.553063117538642, 63.317789211675077], [-171.791110602891166, 63.40584585230048], [-171.731656867539357, 63.782515367275906]]], [[[-155.067790290324211, 71.147776394323685], [-154.344165208941206, 70.696408596470192], [-153.900006273392563, 70.889988511835682], [-152.210006069935275, 70.829992173944831], [-152.270002407826127, 70.60000621202984], [-150.739992438744508, 70.430016588005699], [-149.720003018167489, 70.530010484490433], [-147.613361579357047, 70.214034939241785], [-145.689989800225248, 70.120009670686741], [-144.920010959076393, 69.989991767040479], [-143.58944618042517, 70.152514146598307], [-142.072510348713365, 69.851938178172631], [-140.985987521560702, 69.711998399526365], [-140.985988329004869, 69.711998399526365], [-140.992498752029377, 66.000028591568665], [-140.997769748123119, 60.306396796298593], [-140.012997816153074, 60.276837877027575], [-139.03900042031583, 60.000007229240012], [-138.340889999999888, 59.562110000000146], [-137.4525, 58.905000000000101], [-136.47972, 59.46389], [-135.47583, 59.78778], [-134.945, 59.270560000000117], [-134.27111, 58.86111], [-133.355548882207188, 58.410285142645151], [-132.73042, 57.692890000000105], [-131.707809999999853, 56.55212], [-130.00778, 55.91583], [-129.979994263358265, 55.284997870497207], [-130.536110189467223, 54.802753404349389], [-131.08581823797212, 55.178906155002025], [-131.967211467142278, 55.497775580459049], [-132.250010742859445, 56.369996242897443], [-133.539181084356386, 57.178887437562125], [-134.07806292029602, 58.123067531966889], [-135.038211032279037, 58.187714748763931], [-136.628062309954629, 58.212209377670447], [-137.800006279686016, 58.499995429103777], [-139.867787041412981, 59.537761542389134], [-140.825273817133024, 59.72751740176507], [-142.574443535564427, 60.084446519604981], [-143.958880994879848, 59.99918040632339], [-145.925556816827822, 60.458609727614274], [-147.114373949146625, 60.884656073644628], [-148.224306200127643, 60.672989406977152], [-148.018065558850736, 59.978328965893631], [-148.570822516860858, 59.914172675203297], [-149.727857835875824, 59.705658270905545], [-150.608243374616421, 59.368211168039487], [-151.716392788683294, 59.155821031319974], [-151.859433153267105, 59.74498403587959], [-151.40971900124714, 60.725802720779392], [-150.346941494732505, 61.033587551509854], [-150.621110806256951, 61.284424953854447], [-151.895839199816834, 60.727197984451273], [-152.578329841095581, 60.061657212964285], [-154.019172126257558, 59.350279446034264], [-153.287511359653166, 58.864727688219787], [-154.232492438758442, 58.146373602930531], [-155.307491421510207, 57.727794501366319], [-156.308334723923082, 57.422774359763636], [-156.556097378546298, 56.979984849670636], [-158.117216559867728, 56.463608099994175], [-158.433321296197136, 55.994153550838533], [-159.603327399717415, 55.566686102920116], [-160.289719611634183, 55.643580634170561], [-161.223047655257773, 55.364734605523481], [-162.23776607974105, 55.024186916720097], [-163.069446581046378, 54.689737046927171], [-164.785569221027174, 54.40417308208216], [-164.942226325520011, 54.572224839895327], [-163.84833960676562, 55.039431464246107], [-162.870001390615897, 55.348043117893198], [-161.804174974596009, 55.894986477270429], [-160.563604702781134, 56.008054511125025], [-160.070559862284483, 56.418055324928744], [-158.684442918919416, 57.016675116597852], [-158.461097378553944, 57.216921291728866], [-157.722770352183858, 57.570000515363056], [-157.550274421193564, 58.328326321030218], [-157.041674974576949, 58.918884589261708], [-158.194731208305427, 58.615802313869828], [-158.517217984023034, 58.787781480537305], [-159.058606126928709, 58.424186102931671], [-159.711667040017318, 58.931390285876333], [-159.981288825500144, 58.572549140041623], [-160.355271165996498, 59.071123358793628], [-161.355003425115001, 58.670837714260742], [-161.968893602526293, 58.671664537177371], [-162.054986538724648, 59.266925360747436], [-161.874170702135331, 59.633621324290587], [-162.518059048492034, 59.989723619213905], [-163.818341437820123, 59.798055731843377], [-164.662217577146407, 60.267484442782639], [-165.346387702474772, 60.507495632562396], [-165.350831875651835, 61.073895168697497], [-166.121379157555907, 61.500019029376212], [-165.734451870770471, 62.074996853271792], [-164.919178636717788, 62.633076483807919], [-164.562507901039339, 63.146378485763044], [-163.753332485996964, 63.219448961023758], [-163.067224494457832, 63.05945872664801], [-162.260555386381697, 63.541935736741159], [-161.534449836248569, 63.455816962326757], [-160.772506680321101, 63.76610810002326], [-160.958335130842528, 64.222798570402759], [-161.518068407212184, 64.402787584075313], [-160.777777676414729, 64.788603827566405], [-161.391926235987597, 64.777235012462327], [-162.453050096668818, 64.559444688568206], [-162.757786017894034, 64.338605455168803], [-163.54639421288428, 64.559160468190484], [-164.960829841145141, 64.446945095468848], [-166.425288255864473, 64.686672064870706], [-166.845004238939026, 65.088895575614529], [-168.110560065767146, 65.669997056736733], [-166.70527116602193, 66.088317776139391], [-164.474709642575448, 66.576660061297488], [-163.652511766595637, 66.576660061297488], [-163.788601651036117, 66.077207343196662], [-161.677774421210131, 66.116119696712403], [-162.489714525379981, 66.735565090595102], [-163.719716966791083, 67.116394558370089], [-164.430991380856511, 67.616338202577779], [-165.390286831706703, 68.042772121850234], [-166.764440680995989, 68.35887685817967], [-166.204707404626561, 68.883030910916162], [-164.430810513343431, 68.915535386827727], [-163.168613654614489, 69.371114813912882], [-162.930566169261965, 69.858061835399255], [-161.908897264635499, 70.333329983187625], [-160.93479651593367, 70.447689927849567], [-159.039175788387126, 70.891642157668926], [-158.119722866833939, 70.824721177851032], [-156.580824551398024, 71.357763576941736], [-155.067790290324211, 71.147776394323685]]]] } }, + { "type": "Feature", "properties": { "admin": "Uzbekistan", "name": "Uzbekistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[66.518606805288655, 37.362784328758785], [66.546150343700205, 37.974684963526855], [65.215998976507379, 38.402695013984292], [64.170223016216752, 38.892406724598231], [63.518014764261018, 39.363256537425627], [62.374260288344992, 40.053886216790382], [61.882714064384679, 41.084856879229392], [61.547178989513547, 41.2663703476546], [60.46595299667068, 41.22032664648254], [60.083340691981654, 41.425146185871391], [59.976422153569771, 42.223081976890199], [58.629010857991453, 42.751551011723045], [57.786529982337065, 42.170552883465511], [56.93221520368779, 41.82602610937559], [57.096391229079089, 41.32231008561056], [55.968191359282898, 41.308641669269356], [55.928917270741081, 44.995858466159099], [58.503127068928457, 45.586804307632818], [58.689989048095882, 45.500013739598621], [60.239971958258316, 44.784036770194717], [61.05831994003244, 44.405816962250505], [62.013300408786236, 43.504476630215642], [63.185786981056559, 43.650074978197999], [64.900824415959264, 43.728080552742576], [66.098012322865074, 42.997660020513088], [66.023391554635609, 41.994646307943974], [66.510648634715707, 41.987644151368436], [66.714047072216502, 41.168443508461493], [67.985855747351806, 41.135990708982213], [68.259895867795606, 40.662324530594894], [68.632482944620008, 40.668680731766798], [69.070027296835306, 41.384244289712363], [70.388964878220776, 42.081307684897439], [70.96231489449913, 42.266154283205481], [71.259247674448218, 42.167710679689456], [70.420022414028196, 41.519998277343134], [71.157858514291576, 41.143587144529107], [71.870114780570447, 41.392900092121259], [73.055417108049156, 40.86603302668945], [71.774875115856545, 40.145844428053763], [71.014198032520156, 40.244365546218226], [70.601406691372674, 40.218527330072284], [70.458159621059608, 40.49649485937028], [70.666622348925031, 40.960213324541407], [69.329494663372813, 40.727824408524839], [69.011632928345477, 40.086158148756653], [68.536416456989414, 39.533452867178923], [67.701428664017342, 39.580478420564518], [67.442219679641298, 39.140143541005479], [68.176025018185911, 38.901553453113898], [68.392032505165943, 38.157025254868728], [67.829999627559502, 37.144994004864678], [67.075782098259609, 37.35614390720928], [66.518606805288655, 37.362784328758785]]] } }, + { "type": "Feature", "properties": { "admin": "Venezuela", "name": "Venezuela", "continent": "South America" }, "geometry": { "type": "Polygon", "coordinates": [[[-71.331583624950284, 11.776284084515805], [-71.36000566271079, 11.53999359786121], [-71.947049933546495, 11.423282375530018], [-71.620868292920164, 10.969459947142791], [-71.633063930941063, 10.446494452349027], [-72.074173956984495, 9.865651353388369], [-71.695644090446521, 9.072263088411246], [-71.26455929226772, 9.137194525585981], [-71.039999355743376, 9.859992784052407], [-71.350083787710773, 10.211935126176213], [-71.400623338492224, 10.968969021036013], [-70.155298834906503, 11.375481675660039], [-70.293843349881016, 11.846822414594211], [-69.943244594996813, 12.162307033736095], [-69.584300096297454, 11.459610907431211], [-68.882999233664435, 11.44338450769156], [-68.233271450458716, 10.885744126829945], [-68.194126552997616, 10.554653225135921], [-67.296248541926317, 10.545868231646306], [-66.227864142507983, 10.648626817258684], [-65.655237596281737, 10.20079885501732], [-64.890452236578156, 10.077214667191296], [-64.329478725833724, 10.389598700395679], [-64.318006557864933, 10.641417954953978], [-63.079322475828725, 10.701724351438598], [-61.880946010980182, 10.7156253117251], [-62.730118984616396, 10.420268662960904], [-62.388511928950969, 9.948204453974636], [-61.588767462801918, 9.873066921422263], [-60.830596686431711, 9.38133982994894], [-60.671252407459718, 8.580174261911877], [-60.150095587796166, 8.602756862823425], [-59.758284878159181, 8.367034816924045], [-60.550587938058186, 7.779602972846178], [-60.637972785063752, 7.414999904810853], [-60.295668097562377, 7.043911444522918], [-60.543999192940966, 6.856584377464881], [-61.159336310456467, 6.696077378766317], [-61.139415045807937, 6.234296779806142], [-61.410302903881941, 5.959068101419616], [-60.733574184803707, 5.2002772078619], [-60.601179165271922, 4.918098049332129], [-60.966893276601517, 4.536467596856638], [-62.085429653559125, 4.162123521334308], [-62.804533047116692, 4.006965033377951], [-63.093197597899092, 3.770571193858784], [-63.888342861574145, 4.020530096854571], [-64.628659430587533, 4.14848094320925], [-64.816064012294007, 4.056445217297422], [-64.368494432214092, 3.797210394705246], [-64.408827887617903, 3.126786200366623], [-64.269999152265783, 2.497005520025566], [-63.422867397705105, 2.411067613124174], [-63.368788011311644, 2.200899562993129], [-64.083085496666072, 1.91636912679408], [-64.199305792890499, 1.49285492594602], [-64.611011928959854, 1.328730576987041], [-65.354713304288353, 1.0952822941085], [-65.548267381437554, 0.78925446207603], [-66.325765143484944, 0.724452215982012], [-66.876325853122566, 1.253360500489336], [-67.181294318293041, 2.250638129074062], [-67.447092047786299, 2.600280869960869], [-67.809938117123693, 2.820655015469569], [-67.303173183853417, 3.31845408773718], [-67.33756384954367, 3.542342230641721], [-67.621835903581271, 3.839481716319994], [-67.823012254493534, 4.503937282728898], [-67.744696621355203, 5.221128648291667], [-67.521531948502741, 5.556870428891968], [-67.34143958196556, 6.095468044454021], [-67.695087246355001, 6.267318020040645], [-68.265052456318216, 6.153268133972473], [-68.985318569602327, 6.206804917826856], [-69.389479946557103, 6.099860541198835], [-70.093312954372408, 6.960376491723109], [-70.674233567981503, 7.087784735538717], [-71.960175747348629, 6.991614895043538], [-72.19835242378187, 7.340430813013682], [-72.444487270788059, 7.42378489830048], [-72.479678921178831, 7.632506008327352], [-72.360900641555958, 8.002638454617893], [-72.439862230097944, 8.405275376820027], [-72.660494757768092, 8.62528778730268], [-72.788729824500379, 9.085027167187331], [-73.304951544880026, 9.151999823437604], [-73.027604132769554, 9.736770331252441], [-72.905286017534692, 10.45034434655477], [-72.614657762325194, 10.821975409381777], [-72.227575446242923, 11.108702093953237], [-71.973921678338272, 11.608671576377116], [-71.331583624950284, 11.776284084515805]]] } }, + { "type": "Feature", "properties": { "admin": "Vietnam", "name": "Vietnam", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[108.050180291782908, 21.552379869060111], [106.715067987090066, 20.696850694252014], [105.881682163519002, 19.752050482659694], [105.662005649846279, 19.058165188060567], [106.426816847765991, 18.004120998603224], [107.36195356651973, 16.697456569887049], [108.269495070429599, 16.079742336486145], [108.877106561317447, 15.276690578670436], [109.335269810017209, 13.42602834721772], [109.200135939573954, 11.666859239137761], [108.366129998815424, 11.00832062422627], [107.22092858279521, 10.36448395430183], [106.4051127462034, 9.530839748569317], [105.158263787865081, 8.599759629750492], [104.795185174582372, 9.2410383162765], [105.076201613385592, 9.918490505406806], [104.334334751403446, 10.486543687375228], [105.199914992292321, 10.889309800658094], [106.249670037869436, 10.961811835163585], [105.810523716253101, 11.567614650921225], [107.491403029410861, 12.337205918827944], [107.614547967562402, 13.535530707244202], [107.382727492301058, 14.202440904186968], [107.564525181103875, 15.202173163305554], [107.312705926545576, 15.908538316303177], [106.55600792849566, 16.604283962464802], [105.925762160264, 17.485315456608955], [105.094598423281496, 18.666974595611073], [103.896532017026701, 19.265180975821799], [104.183387892678908, 19.624668077060214], [104.822573683697073, 19.886641750563879], [104.435000441508024, 20.758733221921528], [103.203861118586431, 20.766562201413745], [102.754896274834636, 21.675137233969462], [102.170435825613552, 22.464753119389297], [102.706992222100084, 22.708795070887668], [103.504514601660546, 22.703756618739202], [104.476858351664447, 22.819150092046961], [105.329209425886603, 23.352063300056908], [105.811247186305209, 22.976892401617899], [106.725403273548451, 22.794267889898414], [106.567273390735295, 22.218204860924768], [107.043420037872608, 21.811898912029907], [108.050180291782908, 21.552379869060111]]] } }, + { "type": "Feature", "properties": { "admin": "Vanuatu", "name": "Vanuatu", "continent": "Oceania" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[167.844876743845077, -16.466333103097153], [167.515181105822847, -16.597849623279966], [167.180007765977791, -16.159995212470957], [167.2168013857696, -15.891846205308449], [167.844876743845077, -16.466333103097153]]], [[[167.107712437201485, -14.933920179913951], [167.2700281110302, -15.74002084723487], [167.001207310247935, -15.614602146062492], [166.79315799384085, -15.668810723536719], [166.649859247095549, -15.392703545801192], [166.629136997746429, -14.6264970842096], [167.107712437201485, -14.933920179913951]]]] } }, + { "type": "Feature", "properties": { "admin": "Yemen", "name": "Yemen", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[53.108572625547502, 16.651051133688949], [52.385205926325874, 16.38241120041965], [52.191729363825075, 15.938433132384018], [52.168164910699986, 15.597420355689945], [51.172515089732471, 15.175249742081489], [49.574576450403136, 14.708766587782746], [48.679230584514151, 14.003202419485657], [48.238947381387412, 13.948089504446369], [47.938914015500771, 14.007233181204423], [47.354453566279702, 13.592219753468379], [46.71707645039173, 13.399699204965016], [45.877592807810252, 13.347764390511681], [45.625050083199874, 13.290946153206759], [45.406458774605241, 13.02690542241143], [45.144355910020849, 12.953938300015306], [44.9895333188744, 12.699586900274708], [44.494576450382844, 12.721652736863344], [44.175112745954486, 12.585950425664873], [43.48295861183712, 12.63680003504008], [43.222871128112118, 13.220950425667422], [43.251448195169516, 13.767583726450848], [43.087943963398047, 14.062630316621306], [42.892245314308717, 14.802249253798745], [42.604872674333606, 15.213335272680592], [42.805015496600042, 15.261962795467252], [42.702437778500652, 15.718885809791995], [42.823670688657408, 15.911742255105263], [42.779332309750963, 16.34789134364868], [43.218375278502734, 16.666889960186406], [43.115797560403351, 17.088440456607369], [43.380794305196098, 17.579986680567668], [43.791518589051904, 17.319976711491105], [44.062613152855072, 17.410358791569589], [45.216651238797184, 17.43332896572333], [45.399999220568752, 17.333335069238554], [46.366658563020529, 17.233315334537632], [46.749994337761642, 17.283338120996174], [47.000004917189749, 16.949999294497438], [47.466694777217626, 17.116681626854877], [48.183343540241324, 18.166669216377311], [49.116671583864857, 18.616667588774941], [52.000009800022227, 19.000003363516054], [52.782184279192037, 17.349742336491229], [53.108572625547502, 16.651051133688949]]] } }, + { "type": "Feature", "properties": { "admin": "South Africa", "name": "South Africa", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[31.521001417778869, -29.257386976846245], [31.325561150850994, -29.401977634398907], [30.901762729625336, -29.909956963828034], [30.622813348113816, -30.423775730106122], [30.055716180142774, -31.140269463832951], [28.925552605919535, -32.172041110972494], [28.219755893677092, -32.771952813448848], [27.464608188595967, -33.226963799778794], [26.419452345492818, -33.614950453426175], [25.909664340933482, -33.667040297176392], [25.78062828950069, -33.944646091448334], [25.172861769315965, -33.796851495093577], [24.67785322439212, -33.987175795224537], [23.594043409934635, -33.794474379208147], [22.988188917744729, -33.916430759416976], [22.574157342222232, -33.864082533505304], [21.542799106541022, -34.258838799782922], [20.689052768646999, -34.417175388325226], [20.071261020597628, -34.795136814107984], [19.616405063564567, -34.819166355123706], [19.193278435958714, -34.462598972309777], [18.855314568769867, -34.444305515278458], [18.424643182049376, -33.997872816708963], [18.377410922934612, -34.13652068454806], [18.244499139079917, -33.867751560198023], [18.250080193767442, -33.281430759414434], [17.925190463948436, -32.61129078545342], [18.247909783611185, -32.429131361624563], [18.221761508871477, -31.661632989225662], [17.566917758868861, -30.72572112398754], [17.0644161312627, -29.878641045859158], [17.06291751472622, -29.875953871379977], [16.344976840895239, -28.576705010697697], [16.824017368240899, -28.082161553664466], [17.218928663815401, -28.355943291946804], [17.387497185951499, -28.783514092729774], [17.836151971109526, -28.856377862261311], [18.464899122804745, -29.045461928017271], [19.002127312911082, -28.972443129188857], [19.89473432788861, -28.461104831660769], [19.895767856534427, -24.767790215760588], [20.165725538827186, -24.917961928000768], [20.758609246511831, -25.868136488551446], [20.666470167735437, -26.477453301704916], [20.889609002371731, -26.828542982695907], [21.60589603036939, -26.726533705351748], [22.105968865657864, -26.28025603607913], [22.579531691180584, -25.979447523708142], [22.824271274514896, -25.500458672794768], [23.312096795350179, -25.268689873965712], [23.733569777122703, -25.39012948985161], [24.211266717228792, -25.670215752873567], [25.025170525825782, -25.719670098576891], [25.664666375437712, -25.486816094669706], [25.765848829865206, -25.174845472923671], [25.941652052522151, -24.696373386333214], [26.485753208123292, -24.616326592713097], [26.78640669119741, -24.240690606383478], [27.119409620886238, -23.574323011979772], [28.017235955525244, -22.827753594659072], [29.432188348109033, -22.091312758067584], [29.839036899542965, -22.102216485281172], [30.322883335091767, -22.271611830333931], [30.659865350067083, -22.151567478119912], [31.191409132621278, -22.251509698172395], [31.670397983534645, -23.658969008073861], [31.930588820124242, -24.369416599222532], [31.752408481581874, -25.484283949487406], [31.837777947728057, -25.843331801051342], [31.333157586397899, -25.660190525008943], [31.044079624157146, -25.731452325139436], [30.949666782359905, -26.022649021104144], [30.676608514129633, -26.398078301704604], [30.685961948374477, -26.743845310169526], [31.282773064913325, -27.285879408478991], [31.868060337051073, -27.17792734142127], [32.071665480281062, -26.733820082304902], [32.830120477028878, -26.74219166433619], [32.580264926897677, -27.470157566031808], [32.462132602678444, -28.30101124442055], [32.203388706193032, -28.752404880490065], [31.521001417778869, -29.257386976846245]], [[28.978262566857236, -28.955596612261708], [28.541700066855491, -28.647501722937562], [28.07433841320778, -28.851468601193581], [27.532511020627471, -29.242710870075353], [26.999261915807629, -29.875953871379977], [27.749397006956478, -30.645105889612214], [28.107204624145421, -30.545732110314944], [28.291069370239903, -30.226216729454293], [28.848399692507734, -30.070050551068245], [29.018415154748016, -29.743765557577362], [29.325166456832587, -29.257386976846245], [28.978262566857236, -28.955596612261708]]] } }, + { "type": "Feature", "properties": { "admin": "Zambia", "name": "Zambia", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[32.759375441221316, -9.230599053589058], [33.231387973775291, -9.676721693564799], [33.485687697083584, -10.525558770391111], [33.315310499817279, -10.796549981329695], [33.114289178201908, -11.607198174692311], [33.306422153463068, -12.435778090060214], [32.991764357237876, -12.783870537978272], [32.688165317523122, -13.712857761289273], [33.214024692525207, -13.97186003993615], [30.179481235481827, -14.796099134991525], [30.274255812305103, -15.507786960515208], [29.51683434420314, -15.644677829656386], [28.947463413211256, -16.043051446194436], [28.825868768028492, -16.389748630440611], [28.467906121542676, -16.468400160388843], [27.598243442502753, -17.290830580314005], [27.044427117630729, -17.938026218337427], [26.706773309035633, -17.961228936436477], [26.381935255648919, -17.846042168857892], [25.264225701608005, -17.736539808831413], [25.084443393664564, -17.661815687737366], [25.076950310982255, -17.578823337476617], [24.6823490740015, -17.35341073981947], [24.033861525170771, -17.29584319424632], [23.215048455506057, -17.52311614346598], [22.562478468524255, -16.89845142992181], [21.887842644953867, -16.080310153876876], [21.933886346125913, -12.898437188369357], [24.016136508894672, -12.91104623784857], [23.930922072045373, -12.565847670138854], [24.079905226342838, -12.191296888887361], [23.904153680118181, -11.722281589406318], [24.017893507592586, -11.237298272347088], [23.912215203555714, -10.926826267137512], [24.257155389103982, -10.951992689663655], [24.314516228947948, -11.262826429899269], [24.783169793402948, -11.238693536018962], [25.418118116973197, -11.330935967659958], [25.752309604604726, -11.784965101776356], [26.55308759939961, -11.924439792532125], [27.164419793412456, -11.608748467661071], [27.38879886242378, -12.132747491100663], [28.15510867687998, -12.272480564017894], [28.52356163912102, -12.698604424696679], [28.934285922976834, -13.248958428605132], [29.699613885219485, -13.257226657771827], [29.616001417771223, -12.178894545137307], [29.341547885869087, -12.36074391037241], [28.642417433392346, -11.971568698782312], [28.372253045370421, -11.793646742401389], [28.496069777141763, -10.789883721564044], [28.673681674928922, -9.605924981324931], [28.449871046672818, -9.164918308146083], [28.734866570762495, -8.526559340044576], [29.002912225060467, -8.40703175215347], [30.34608605319081, -8.238256524288216], [30.740015496551781, -8.340007419470913], [31.157751336950042, -8.594578747317362], [31.55634809746649, -8.76204884199864], [32.191864861791963, -8.930358981973276], [32.759375441221316, -9.230599053589058]]] } }, + { "type": "Feature", "properties": { "admin": "Zimbabwe", "name": "Zimbabwe", "continent": "Africa" }, "geometry": { "type": "Polygon", "coordinates": [[[31.191409132621278, -22.251509698172395], [30.659865350067083, -22.151567478119912], [30.322883335091767, -22.271611830333931], [29.839036899542965, -22.102216485281172], [29.432188348109033, -22.091312758067584], [28.794656202924209, -21.639454034107445], [28.02137007010861, -21.485975030200578], [27.727227817503252, -20.851801853114711], [27.724747348753247, -20.499058526290387], [27.296504754350501, -20.391519870690995], [26.164790887158478, -19.293085625894935], [25.850391473094724, -18.714412937090533], [25.649163445750155, -18.536025892818987], [25.264225701608005, -17.736539808831413], [26.381935255648919, -17.846042168857892], [26.706773309035633, -17.961228936436477], [27.044427117630729, -17.938026218337427], [27.598243442502753, -17.290830580314005], [28.467906121542676, -16.468400160388843], [28.825868768028492, -16.389748630440611], [28.947463413211256, -16.043051446194436], [29.51683434420314, -15.644677829656386], [30.274255812305103, -15.507786960515208], [30.338954705534537, -15.880839125230242], [31.173063999157673, -15.860943698797868], [31.636498243951188, -16.071990248277881], [31.852040643040592, -16.319417006091374], [32.328238966610222, -16.392074069893749], [32.847638787575839, -16.713398125884613], [32.849860874164385, -17.979057305577175], [32.654885695127142, -18.672089939043492], [32.611994256324884, -19.419382826416268], [32.772707960752619, -19.715592136313294], [32.659743279762573, -20.30429005298231], [32.508693068173436, -20.395292250248303], [32.244988234188007, -21.116488539313689], [31.191409132621278, -22.251509698172395]]] } } + ] + }; + +var randomcountriesData1 = [ + { country: "Iran", "continent": "Asia", "CategoryName": "Books", "Sales": 550 }, + { country: "Benin", "continent": "Africa", "CategoryName": "Books", "Sales": 1000 }, + { country: "China", "continent": "Asia", "CategoryName": "Books", "Sales": 420 }, + { country: "Chile", "continent": "South America", "CategoryName": "Books", "Sales": 1100 }, + { country: "Cuba", "continent": "North America", "CategoryName": "Books", "Sales": 450 }, + { country: "Spain", "continent": "Europe", "CategoryName": "Books", "Sales": 1200 }, + { country: "Fiji", "continent": "Oceania", "CategoryName": "Books", "Sales": 618.0 }, +]; + +module mapcomponenet { + $(function () { + var mapsample = new ej.datavisualization.Map($("#map"), { + enableAnimation: true, + navigationControl: { + enableNavigation: true, + orientation: 'vertical', + absolutePosition: { x: 5, y: 15 }, + dockPosition: 'none' + }, + layers: [ + { + layerType: 'geometry', + enableMouseHover: false, + enableSelection: false, + shapeSettings: { + fill: "#626171", + autoFill: false, + highlightStroke: "white", + stroke: "white", + strokeThickness: 0.5, + highlightColor: "#BFBFBF" + }, + shapeData: world_map, + legendSettings: { dockOnMap: false } + } + ] + }); + }); +} + + + + + + + +module MenuComponent { + $(function () { + var sample = new ej.Menu($("#syncfusionProducts"),{ + width: "100%", + animationType: ej.AnimationType.Default, + cssClass: 'gradient-lime ', + enableAnimation: true, + enableSeparator: true, + height: 40, + htmlAttributes: { "aria-label": "menu" }, + menuType: "normalmenu", + orientation: ej.Orientation.Horizontal, + showRootLevelArrows: true, + showSubLevelArrows: true, + subMenuDirection: ej.Direction.Right, + titleText: "Menu", + + }); + }); + +} + + + + + + + + +module NavigationDrawerComponent { + $(function () { + var navigationdrawerInstance = new ej.NavigationDrawer($("#navpane"), { + targetId: "butdrawer", + contentId: "content_container", + type: "overlay", + direction: "left", + enableListView: true, + listViewSettings: { + width: 300, + selectedItemIndex: 0 + }, + position: "normal" + }); + $("#navpane_listview").click(function(e: any) { + var text=e.target["text"]||$(e.target).closest("li.e-list").text(); + $("#butdrawer").parent().children("h2").text(text); + }); + }); +} + + + +module PDFViewerComponent { + $(function () { + var pdfviewerControl = new ej.PdfViewer($("#pdfviewer"), { + serviceUrl:(window).baseurl+ "api/PdfViewer", + isResponsive: true + }); + }); +} + + + +module PivotChartOlap { + $(function () { + var sample = new ej.PivotChart($("#PivotChart"),{ + dataSource: { + data: "http://bi.syncfusion.com/olap/msmdpump.dll", + catalog: "Adventure Works DW 2008 SE", + cube: "Adventure Works", + rows: [ + { + fieldName: "[Date].[Fiscal]" + } + ], + columns: [ + { + fieldName: "[Customer].[Customer Geography]" + } + ], + values: [ + { + measures: [ + { + fieldName: "[Measures].[Internet Sales Amount]" + } + ], + axis: "columns" + } + ], + filters:[] + }, + isResponsive: true,zooming:{enableScrollbar: true}, + commonSeriesOptions: { + type: "column" + }, + size: { height: "460px", width: "100%" }, + primaryXAxis: { title: { text: "Date - Fiscal" }, labelRotation: 0 }, + primaryYAxis: { title: { text: "Internet Sales Amount" } }, + legend: { visible: true, rowCount: 2 } + }); + }); +} + + + +var pivot_dataset = [ + { Amount: 100, Country: "Canada", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Alberta" }, + { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Van", Quantity: 3, State: "British Columbia" }, + { Amount: 300, Country: "Canada", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Brunswick" }, + { Amount: 150, Country: "Canada", Date: "FY 2008", Product: "Bike", Quantity: 3, State: "Manitoba" }, + { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Car", Quantity: 4, State: "Ontario" }, + { Amount: 100, Country: "Canada", Date: "FY 2007", Product: "Van", Quantity: 1, State: "Quebec" }, + { Amount: 200, Country: "France", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Charente-Maritime" }, + { Amount: 250, Country: "France", Date: "FY 2006", Product: "Van", Quantity: 4, State: "Essonne" }, + { Amount: 300, Country: "France", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Garonne (Haute)" }, + { Amount: 150, Country: "France", Date: "FY 2008", Product: "Van", Quantity: 2, State: "Gers" }, + { Amount: 200, Country: "Germany", Date: "FY 2006", Product: "Van", Quantity: 3, State: "Bayern" }, + { Amount: 250, Country: "Germany", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Brandenburg" }, + { Amount: 150, Country: "Germany", Date: "FY 2008", Product: "Car", Quantity: 4, State: "Hamburg" }, + { Amount: 200, Country: "Germany", Date: "FY 2008", Product: "Bike", Quantity: 4, State: "Hessen" }, + { Amount: 150, Country: "Germany", Date: "FY 2007", Product: "Van", Quantity: 3, State: "Nordrhein-Westfalen" }, + { Amount: 100, Country: "Germany", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Saarland" }, + { Amount: 150, Country: "United Kingdom", Date: "FY 2008", Product: "Bike", Quantity: 5, State: "England" }, + { Amount: 250, Country: "United States", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Alabama" }, + { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Van", Quantity: 4, State: "California" }, + { Amount: 100, Country: "United States", Date: "FY 2006", Product: "Bike", Quantity: 2, State: "Colorado" }, + { Amount: 150, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "New Mexico" }, + { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Bike", Quantity: 4, State: "New York" }, + { Amount: 250, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "North Carolina" }, + { Amount: 300, Country: "United States", Date: "FY 2007", Product: "Van", Quantity: 4, State: "South Carolina" } +] + +module PivotChartRelational { + + $(function () { + var sample = new ej.PivotChart($("#PivotChart"),{ + dataSource: { + data: pivot_dataset, + rows: [ + { + fieldName: "Country", + fieldCaption: "Country" + }, + { + fieldName: "State", + fieldCaption: "State" + }, + { + fieldName: "Date", + fieldCaption: "Date" + } + ], + columns: [ + { + fieldName: "Product", + fieldCaption: "Product" + } + ], + values: [ + { + fieldName: "Amount", + fieldCaption: "Amount" + } + ], + filters:[] + }, + isResponsive: true,zooming:{enableScrollbar: true}, + commonSeriesOptions: { + type: "column" + }, + size: { height: "460px", width: "100%" }, + primaryYAxis: { title: { text: "Amount" } }, + legend: { visible: true } + }); + }); +} + + + +module PivotGaugeOlap { + + $(function () { + var sample = new ej.PivotGauge($("#PivotGauge"),{ + dataSource: { + data: "http://bi.syncfusion.com/olap/msmdpump.dll", + catalog: "Adventure Works DW 2008 SE", + cube: "Adventure Works", + rows: [ + { + fieldName: "[Date].[Fiscal]", + filterItems: { filterType: "include", values: ["[Date].[Fiscal].[Fiscal Year].&[2004]"] } + }, + ], + columns: [ + { + fieldName: "[Customer].[Customer Geography]" + } + ], + values: [ + { + measures: [ + { + fieldName: "[Measures].[Internet Sales Amount]" + }, + { + fieldName: "[Measures].[Internet Revenue Status]" + }, + { + fieldName: "[Measures].[Internet Revenue Trend]" + }, + { + fieldName: "[Measures].[Internet Revenue Goal]" + }, + ], + axis: "columns" + } + ], + filters:[] + }, + enableTooltip: true, isResponsive: true, + labelFormatSettings: { decimalPlaces: 2 }, + scales: [{ + showRanges: true, + radius: 150, showScaleBar: true, size: 1, + border: { + width: 0.5 + }, + showIndicators: true, showLabels: true, + pointers: [{ + showBackNeedle: true, + backNeedleLength: 20, + length: 120, + width: 7 + }, + { + type: "marker", + markerType: "diamond", + distanceFromScale: 5, + placement: "center", + backgroundColor: "#29A4D9", + length: 25, + width: 15 + }], + ticks: [{ + type: "major", + distanceFromScale: 2, + height: 16, + width: 1, color: "#8c8c8c" + }, + { + type: "minor", + height: 6, + width: 1, + distanceFromScale: 2, + color: "#8c8c8c" + }], + labels: [{ + color: "#8c8c8c" + }], + ranges: [{ + distanceFromScale: -5, + backgroundColor: "#fc0606", + border: { color: "#fc0606" } + }, + { + distanceFromScale: -5 + }], + customLabels: [{ + position: { x: 180, y: 290 }, + font: { size: "10px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" + }, + { + position: { x: 180, y: 320 }, + font: { size: "10px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" + }, + { + position: { x: 180, y: 150 }, + font: { size: "12px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" + }] + }] + }); + }); +} + + + +var pivot_dataset = [ + { Amount: 100, Country: "Canada", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Alberta" }, + { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Van", Quantity: 3, State: "British Columbia" }, + { Amount: 300, Country: "Canada", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Brunswick" }, + { Amount: 150, Country: "Canada", Date: "FY 2008", Product: "Bike", Quantity: 3, State: "Manitoba" }, + { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Car", Quantity: 4, State: "Ontario" }, + { Amount: 100, Country: "Canada", Date: "FY 2007", Product: "Van", Quantity: 1, State: "Quebec" }, + { Amount: 200, Country: "France", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Charente-Maritime" }, + { Amount: 250, Country: "France", Date: "FY 2006", Product: "Van", Quantity: 4, State: "Essonne" }, + { Amount: 300, Country: "France", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Garonne (Haute)" }, + { Amount: 150, Country: "France", Date: "FY 2008", Product: "Van", Quantity: 2, State: "Gers" }, + { Amount: 200, Country: "Germany", Date: "FY 2006", Product: "Van", Quantity: 3, State: "Bayern" }, + { Amount: 250, Country: "Germany", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Brandenburg" }, + { Amount: 150, Country: "Germany", Date: "FY 2008", Product: "Car", Quantity: 4, State: "Hamburg" }, + { Amount: 200, Country: "Germany", Date: "FY 2008", Product: "Bike", Quantity: 4, State: "Hessen" }, + { Amount: 150, Country: "Germany", Date: "FY 2007", Product: "Van", Quantity: 3, State: "Nordrhein-Westfalen" }, + { Amount: 100, Country: "Germany", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Saarland" }, + { Amount: 150, Country: "United Kingdom", Date: "FY 2008", Product: "Bike", Quantity: 5, State: "England" }, + { Amount: 250, Country: "United States", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Alabama" }, + { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Van", Quantity: 4, State: "California" }, + { Amount: 100, Country: "United States", Date: "FY 2006", Product: "Bike", Quantity: 2, State: "Colorado" }, + { Amount: 150, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "New Mexico" }, + { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Bike", Quantity: 4, State: "New York" }, + { Amount: 250, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "North Carolina" }, + { Amount: 300, Country: "United States", Date: "FY 2007", Product: "Van", Quantity: 4, State: "South Carolina" } +] + +module PivotGaugeRelational { + $(function () { + var sample = new ej.PivotGauge($("#PivotGauge"),{ + dataSource: { + data: pivot_dataset, + rows: [ + { + fieldName: "Country", + }, + { + fieldName: "State", + } + ], + columns: [ + { + fieldName: "Product", + } + ], + values: [ + { + fieldName: "Amount", + }, + { + fieldName: "Quantity", + } + ] + }, + enableTooltip: true, isResponsive: true, + labelFormatSettings: { decimalPlaces: 2 }, + scales: [{ + showRanges: true, + radius: 150, showScaleBar: true, size: 1, + border: { + width: 0.5 + }, + showIndicators: true, showLabels: true, + pointers: [{ + showBackNeedle: true, + backNeedleLength: 20, + length: 120, + width: 7 + }, + { + type: "marker", + markerType: "diamond", + distanceFromScale: 5, + placement: "center", + backgroundColor: "#29A4D9", + length: 25, + width: 15 + }], + ticks: [{ + type: "major", + distanceFromScale: 2, + height: 16, + width: 1, color: "#8c8c8c" + }, + { + type: "minor", + height: 6, + width: 1, + distanceFromScale: 2, + color: "#8c8c8c" + }], + labels: [{ + color: "#8c8c8c" + }], + ranges: [{ + distanceFromScale: -5, + backgroundColor: "#fc0606", + border: { color: "#fc0606" } + }, + { + distanceFromScale: -5 + }], + customLabels: [{ + position: { x: 180, y: 290 }, + font: { size: "10px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" + }, + { + position: { x: 180, y: 320 }, + font: { size: "10px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" + }, + { + position: { x: 180, y: 150 }, + font: { size: "12px", fontFamily: "Segoe UI", fontStyle: "Normal" }, color: "#666666" + }] + }] + }); + }); +} + + + +module PivotGridOlap { + + $(function () { + var sample = new ej.PivotGrid($("#PivotGrid"),{ + dataSource: { + data: "http://bi.syncfusion.com/olap/msmdpump.dll", + catalog: "Adventure Works DW 2008 SE", + cube: "Adventure Works", + rows: [ + { + fieldName: "[Date].[Fiscal]" + } + ], + columns: [ + { + fieldName: "[Customer].[Customer Geography]" + } + ], + values: [ + { + measures: [ + { + fieldName: "[Measures].[Internet Sales Amount]", + } + ], + axis: "columns" + } + ], + filters:[] + }, + enableGroupingBar: true, + pivotTableFieldListID:"PivotSchemaDesigner" + }); + $("#PivotSchemaDesigner").ejPivotSchemaDesigner(); + }); +} + + + +var pivot_dataset = [ + { Amount: 100, Country: "Canada", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Alberta" }, + { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Van", Quantity: 3, State: "British Columbia" }, + { Amount: 300, Country: "Canada", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Brunswick" }, + { Amount: 150, Country: "Canada", Date: "FY 2008", Product: "Bike", Quantity: 3, State: "Manitoba" }, + { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Car", Quantity: 4, State: "Ontario" }, + { Amount: 100, Country: "Canada", Date: "FY 2007", Product: "Van", Quantity: 1, State: "Quebec" }, + { Amount: 200, Country: "France", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Charente-Maritime" }, + { Amount: 250, Country: "France", Date: "FY 2006", Product: "Van", Quantity: 4, State: "Essonne" }, + { Amount: 300, Country: "France", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Garonne (Haute)" }, + { Amount: 150, Country: "France", Date: "FY 2008", Product: "Van", Quantity: 2, State: "Gers" }, + { Amount: 200, Country: "Germany", Date: "FY 2006", Product: "Van", Quantity: 3, State: "Bayern" }, + { Amount: 250, Country: "Germany", Date: "FY 2007", Product: "Car", Quantity: 3, State: "Brandenburg" }, + { Amount: 150, Country: "Germany", Date: "FY 2008", Product: "Car", Quantity: 4, State: "Hamburg" }, + { Amount: 200, Country: "Germany", Date: "FY 2008", Product: "Bike", Quantity: 4, State: "Hessen" }, + { Amount: 150, Country: "Germany", Date: "FY 2007", Product: "Van", Quantity: 3, State: "Nordrhein-Westfalen" }, + { Amount: 100, Country: "Germany", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Saarland" }, + { Amount: 150, Country: "United Kingdom", Date: "FY 2008", Product: "Bike", Quantity: 5, State: "England" }, + { Amount: 250, Country: "United States", Date: "FY 2007", Product: "Car", Quantity: 4, State: "Alabama" }, + { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Van", Quantity: 4, State: "California" }, + { Amount: 100, Country: "United States", Date: "FY 2006", Product: "Bike", Quantity: 2, State: "Colorado" }, + { Amount: 150, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "New Mexico" }, + { Amount: 200, Country: "United States", Date: "FY 2005", Product: "Bike", Quantity: 4, State: "New York" }, + { Amount: 250, Country: "United States", Date: "FY 2008", Product: "Car", Quantity: 3, State: "North Carolina" }, + { Amount: 300, Country: "United States", Date: "FY 2007", Product: "Van", Quantity: 4, State: "South Carolina" } +] + +module PivotGridRelational { + $(function () { + var sample = new ej.PivotGrid($("#PivotGrid"),{ + dataSource: { + data: pivot_dataset, + rows: [ + { + fieldName: "Country", + fieldCaption: "Country" + }, + { + fieldName: "State", + fieldCaption: "State" + } + ], + columns: + [{ + fieldName: "Product", + fieldCaption: "Product" + } + ], + values: [ + { + fieldName: "Amount", + fieldCaption: "Amount" + }, + { + fieldName: "Quantity", + fieldCaption: "Quantity" + } + ], + filters:[] + }, + enableGroupingBar: true, + pivotTableFieldListID:"PivotSchemaDesigner" + }); + $("#PivotSchemaDesigner").ejPivotSchemaDesigner(); + + }); +} + + + +module PivotTreeMap { + $(function () { + var sample = new ej.PivotTreeMap($("#PivotTreeMap"),{ + dataSource: { + data: "http://bi.syncfusion.com/olap/msmdpump.dll;Locale Identifier=1033;", + catalog: "Adventure Works DW 2008 SE", + cube: "Adventure Works", + rows: [ + { + fieldName: "[Customer].[Customer Geography]" + } + ], + columns: [ + { + fieldName: "[Date].[Fiscal]" + } + ], + values: [ + { + measures: [ + { + fieldName: "[Measures].[Customer Count]", + } + ], + axis: "columns" + } + ], + filters:[] + } + }); + }); +} + + + +module ProgressBarComponent { + $(function () { + var sample = new ej.ProgressBar($("#progressBar"),{ + width: 200, + value: 45, + height: 20, + enablePersistence: true, + maxValue: 200, + minValue: 0, + showRoundedCorner: true, + text: 'loading...' + }); + }); + +} + + + + +declare var rteObj: any; +declare var data: any; +var radialEle = $('#defaultradialmenu'), action = 0, forRedo = 0; +var rteEle = $("#rteSample1"); +module RadialMenuComponent { + $(function () { + + if (!(ej.browserInfo().name == "msie" && parseInt(ej.browserInfo().version) < 9)) { + var radialmenuInstance = new ej.RadialMenu($("#defaultradialmenu"), { + imageClass: "imageclass", + backImageClass: "backimageclass", + targetElementId: "radialtarget1" + }); + $("#radialtarget1").parent().css("position", "relative"); + } + else { + $("#contentDiv").html("Radial Menu is only supported from Internet Explorer Versioned 9 and above.").css({ "font-size": "20px", "color": "red" }); + } + var rteInstance = new ej.RTE($("#rteSample1"), { + width: "100%", + minWidth: "10px", + change: (e) => { radialEle.ejRadialMenu("enableItem", "Undo"); }, + select: (e) => { + var target = $("#radialtarget1"), radialRadius = 150, radialDiameter = 2 * radialRadius, + // To get Iframe positions + iframeY = e.event.clientY, iframeX = e.event.clientX, + // To set Radial Menu position within target + x = iframeX > target.width() - radialRadius ? target.width() - radialDiameter : (iframeX > radialRadius ? iframeX - radialRadius : 0), + y = iframeY > target.height() - radialRadius ? target.height() - radialDiameter : (iframeY > radialRadius ? iframeY - radialRadius : 0); + radialEle.ejRadialMenu("setPosition", x, y); + radialEle.focus(); + $('iframe').contents().find('body').blur(); + }, + showToolbar: false, + showContextMenu: false + }); + $(window).resize(function () { + if (ej.isMobile() && ej.isPortrait()) + $('#defaultradialmenu').css({ "left": 25 }); + }); + }); +} + + +function bold(e: any) { + + rteObj = rteEle.data("ejRTE"); + rteObj.executeCommand("bold"); + data = rteObj._getSelectedHtmlString() ? true : false; + if (data) action += 1; + forRedo = action; + radialEle.focus(); +} +function italic(e: any) { + rteObj = rteEle.data("ejRTE"); + rteObj.executeCommand("italic"); + data = rteObj._getSelectedHtmlString() ? true : false; + if (data) action += 1; + forRedo = action; + radialEle.focus(); +} +function undo(e: any) { + rteObj = rteEle.data("ejRTE"); + rteObj.executeCommand("undo"); + action -= 1; + if (action == 0) + radialEle.ejRadialMenu("disableItem", "Undo"); + radialEle.ejRadialMenu("enableItem", "Redo"); + radialEle.focus(); +} +function redo(e: any) { + rteObj = rteEle.data("ejRTE"); + rteObj.executeCommand("redo"); + action += 1; + if (forRedo == action) radialEle.ejRadialMenu("disableItem", "Redo"); + radialEle.ejRadialMenu("enableItem", "Undo"); + radialEle.focus(); +} + + + + +module RadialSliderComponent { + $(function () { + var radialsliderInstance = new ej.RadialSlider($("#radialSlider"), { + innerCircleImageUrl: "images/radialslider/chevron-right.png" + }); + }); +} + + +module rangecomponent { + $(function () { + var linearsample = new ej.datavisualization.RangeNavigator($("#RangeNavigator"), { + enableDeferredUpdate: true, + padding: "15", + allowSnapping: true, + selectedRangeSettings: { + start: "2010/5/1", end: "2011/10/1" + }, + isResponsive: true, + tooltipSettings: { + visible: true, labelFormat: "MM/dd/yyyy", backgroundColor: "gray", tooltipDisplayMode: "ondemand" + }, + load: () => { + var rn = $("#RangeNavigator").data("ejRangeNavigator"); + rn.model.series = [ + { + type: 'line', + dataSource: data.Open, xName: "XValue", yName: "YValue", + fill: '#69D2E7' + } + ]; + } + + }); + }); +} +var data; +data = GetData(); + +function GetData() { + var series1:any[]=[]; + var series2:any[]= []; + var value = 100; + var value1 = 120; + for (var i = 1; i < 730; i++) { + + if (Math.random() > .5) { + value += Math.random(); + value1 += Math.random(); + } else { + value -= Math.random(); + value1 -= Math.random(); + } + var point1 = { XValue: new Date(2010, 0, i), YValue: value }; + var point2 = { XValue: new Date(2010, 0, i), YValue: value1 }; + series1.push(point1); + series2.push(point2); + } + + data = { Open: series1, Close: series2 }; + return data; +}; + + + +module RatingComponent { + $(function () { + + var sample1 = new ej.Rating($("#fullRating"),{ + value: 4, + precision: ej.Rating.Precision.Full, + allowReset: true, + cssClass: "gradient-lime", + enabled: true, + enablePersistence: true, + incrementStep: 2, + maxValue: 10, + minValue: 0, + orientation: ej.Orientation.Horizontal, + shapeHeight: 25, + shapeWidth: 25, + showTooltip: true + }); + + var sample2 = new ej.Rating($("#halfRating"),{ + precision: ej.Rating.Precision.Half, + value: 3.5, + allowReset: true, + cssClass: "gradient-lime", + enabled: true, + enablePersistence: true, + incrementStep: 2, + maxValue: 10, + minValue: 0, + orientation: "horizontal", + shapeHeight: 25, + shapeWidth: 25, + showTooltip: true + }); + + var sample3 = new ej.Rating($("#exactRating"),{ + precision: ej.Rating.Precision.Exact, + value: 3.7, + allowReset: true, + cssClass: "gradient-lime", + enabled: true, + enablePersistence: true, + incrementStep: 2, + maxValue: 10, + minValue: 0, + orientation: "horizontal", + shapeHeight: 25, + shapeWidth: 25, + showTooltip: true + }); + }); + +} + + + +module ReportViewerComponent { + $(function () { + var report = new ej.ReportViewer($("#territoryReportViewer"), { + reportServiceUrl: (window).baseurl + 'api/ReportViewer', + reportServerUrl: 'http://mvc.syncfusion.com/reportserver', + processingMode: ej.ReportViewer.ProcessingMode.Remote, + reportPath: "/SSRSSamples2/Territory Sales new", + isResponsive: true + }); + }); +} + + + +var fontfamily = ["Segoe UI", "Arial", "Times New Roman", "Tahoma", "Helvetica"], fontsize = ["1pt", "2pt", "3pt", "4pt", "5pt"], action1 = ["New", "Clear"], action2 = ["Bold", "Italic", "Underline", "strikethrough", "superscript", "subscript", "JustifyLeft", "JustifyCenter", "JustifyRight", "JustifyFull", "Undo", "Redo"]; +module RibbonComponent { + $(function () { + var sample = new ej.Ribbon($("#defaultRibbon"), { + width: "100%", + expandPinSettings: { + toolTip: "Collapse the Ribbon" + }, + collapsePinSettings: { + toolTip: "Pin the Ribbon" + }, + applicationTab: { + type: ej.Ribbon.ApplicationTabType.Menu, menuItemID: "ribbonmenu", menuSettings: { openOnClick: false } + }, + tabs: [{ + id: "home", text: "HOME", groups: [{ + text: "New", alignType: ej.Ribbon.AlignType.Rows, content: [{ + groups: [{ + id: "new", + text: "New", + toolTip: "New", + buttonSettings: { + contentType: ej.ContentType.ImageOnly, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-new", + click: "onClick" + } + } + ], + defaults: { + type: "button", + width: 60, + height: 70 + } + }] + }, + { + text: "Clipboard", alignType: ej.Ribbon.AlignType.Columns, content: [{ + groups: [{ + id: "paste", + text: "paste", + toolTip: "Paste", + splitButtonSettings: { + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-ribbonpaste", + targetID: "pasteSplit", + buttonMode: "dropdown", + click: "onClick", + arrowPosition: ej.ArrowPosition.Bottom + } + } + ], + defaults: { + type: "splitbutton", + width: 50, + height: 70 + } + }, + { + groups: [{ + id: "cut", + text: "Cut", + toolTip: "Cut", + buttonSettings: { + contentType: ej.ContentType.TextAndImage, + click: "onClick", + prefixIcon: "e-icon e-ribbon e-ribboncut" + } + }, + { + id: "copy", + text: "Copy", + toolTip: "Copy", + buttonSettings: { + contentType: ej.ContentType.TextAndImage, + click: "onClick", + prefixIcon: "e-icon e-ribbon e-ribboncopy" + } + }, + { + id: "clear", + text: "Clear", + toolTip: "Clear All", + buttonSettings: { + contentType: ej.ContentType.TextAndImage, + click: "onClick", + prefixIcon: "e-icon e-ribbon clearAll" + } + }], + defaults: { + type: "button", + width: 60, + isBig: false + } + }] + }, + { + text: "Font", alignType: "rows", content: [{ + groups: [{ + id: "fontfamily", + toolTip: "Font", + dropdownSettings: { + dataSource: fontfamily, + text: "Segoe UI", + select: "onClick", + width: 150 + } + }, + { + id: "fontsize", + toolTip: "FontSize", + dropdownSettings: { + dataSource: fontsize, + text: "1pt", + select: "onClick", + width: 65 + } + }], + defaults: { + type: "dropdownlist", + height: 28 + } + }, + { + groups: [{ + id: "bold", + toolTip: "Bold", + type: ej.Ribbon.Type.ToggleButton, + toggleButtonSettings: { + contentType: ej.ContentType.ImageOnly, + defaultText: "Bold", + activeText: "Bold", + click: "onClick", + defaultPrefixIcon: "e-icon e-ribbon bold", + activePrefixIcon: "e-icon e-ribbon bold" + } + }, + { + id: "italic", + toolTip: "Italic", + type: ej.Ribbon.Type.ToggleButton, + toggleButtonSettings: { + contentType: ej.ContentType.ImageOnly, + defaultText: "Italic", + activeText: "Italic", + click: "onClick", + defaultPrefixIcon: "e-icon e-ribbon e-ribbonitalic", + activePrefixIcon: "e-icon e-ribbon e-ribbonitalic" + } + }, + { + id: "underline", + text: "Underline", + toolTip: "Underline", + type: ej.Ribbon.Type.ToggleButton, + toggleButtonSettings: { + contentType: ej.ContentType.ImageOnly, + defaultText: "Underline", + activeText: "Underline", + click: "onClick", + defaultPrefixIcon: "e-icon e-ribbon e-ribbonunderline", + activePrefixIcon: "e-icon e-ribbon e-ribbonunderline" + } + }, + { + id: "strikethrough", + text: "strikethrough", + toolTip: "Strikethrough", + type: ej.Ribbon.Type.ToggleButton, + toggleButtonSettings: { + contentType: ej.ContentType.ImageOnly, + defaultText: "Strikethrough", + activeText: "Strikethrough", + click: "onClick", + defaultPrefixIcon: "e-icon e-ribbon strikethrough", + activePrefixIcon: "e-icon e-ribbon strikethrough" + } + }, + { + id: "superscript", + text: "superscript", + toolTip: "Superscript", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-superscripticon" + } + }, + { + id: "subscript", + text: "subscript", + toolTip: "Subscript", + enableSeparator: true, + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-subscripticon" + } + }, + { + id: "fontcolor", + text: "Font Color", + toolTip: "Font Color", + type: ej.Ribbon.Type.Custom, + contentID: "fontcolor" + }, + { + id: "fillcolor", + text: "Fill Color", + toolTip: "Fill Color", + type: ej.Ribbon.Type.Custom, + contentID: "fillcolor" + } + ], + defaults: { + isBig: false + } + }] + }, + { + text: "Alignment", alignType: ej.Ribbon.AlignType.Rows, content: [ + { + groups: [{ + id: "bullet", + text: "Bullet Format", + toolTip: "Bullets", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-bullet" + } + }, + { + id: "number", + text: "Number Format", + toolTip: "Numbering", + enableSeparator: true, + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-numbericon" + } + }, + { + id: "textindent", + text: "Indent", + toolTip: "Text Indent", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-indent" + } + }, + { + id: "textoudent", + text: "Outdent", + toolTip: "Text Outdent", + enableSeparator: true, + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-outdent" + } + }, + { + id: "sortascending", + text: "Sort", + toolTip: "Sort", + enableSeparator: true, + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-sort" + } + }, + { + id: "border", + text: "Border", + toolTip: "Border", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-border" + } + }], + defaults: { + type: "button", + isBig: false + } + }, + { + groups: [{ + id: "alignleft", + text: "JustifyLeft", + toolTip: "Align Left", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon alignleft" + } + }, + { + id: "aligncenter", + text: "JustifyCenter", + toolTip: "Align Center", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon aligncenter" + } + }, + { + id: "alignright", + text: "JustifyRight", + toolTip: "Align Right", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon alignright" + } + }, + { + id: "justify", + text: "JustifyFull", + toolTip: "Justify", + enableSeparator: true, + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon justify" + } + }, + { + id: "uppercase", + text: "Upper Case", + toolTip: "Upper Case", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-uppercase" + } + }, + { + id: "lowercase", + text: "Lower Case", + toolTip: "Lower Case", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.ImageOnly, + prefixIcon: "e-icon e-ribbon e-lowercase" + } + }], + defaults: { + type: "button", + isBig: false + } + }] + }, + { + text: "Actions", alignType: ej.Ribbon.AlignType.Rows, content: [{ + groups: [{ + id: "undo", + text: "Undo", + toolTip: "Undo", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-undo" + } + }, + { + id: "redo", + text: "Redo", + toolTip: "Redo", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-redo" + } + } + ], + defaults: { + type: "button", + width: 40, + height: 70 + } + }] + }, + { + text: "View", alignType: ej.Ribbon.AlignType.Rows, content: [{ + groups: [{ + id: "zoomin", + text: "Zoom In", + toolTip: "Zoom In", + buttonSettings: { + width: 58, + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-zoomin" + } + }, + { + id: "zoomout", + text: "Zoom Out", + toolTip: "Zoom Out", + buttonSettings: { + width: 70, + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-zoomout" + } + }, + { + id: "fullscreen", + text: "Full Screen", + toolTip: "Full Screen", + buttonSettings: { + width: 73, + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-fullscreen" + } + } + ], + defaults: { + type: "button", + height: 70 + } + }] + }] + },{ + id: "insert", text: "INSERT", groups: [{ + text: "Tables", alignType: ej.Ribbon.AlignType.Columns, content: [{ + groups: [{ + id: "tables", + text: "Tables", + toolTip: "Tables", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-table" + } + } + ], + defaults: { + type: "button", + width: 50, + height: 70 + } + }] + }, + { + text: "Illustrations", alignType: ej.Ribbon.AlignType.Rows, content: [{ + groups: [{ + id: "pictures", + text: "Pictures", + toolTip: "Pictures", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-picture" + } + }, + { + id: "videos", + text: "Videos", + toolTip: "Videos", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-video" + } + }, + { + id: "shapes", + text: "Shapes", + toolTip: "Shapes", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-shape" + } + }, + { + id: "charts", + text: "Charts", + toolTip: "Charts", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-chart" + } + } + ], + defaults: { + type: "button", + width: 56, + height: 70 + } + }] + }, + { + text: "Comments", alignType: ej.Ribbon.AlignType.Rows, content: [{ + groups: [{ + id: "comments", + text: "Comments", + toolTip: "Comments", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-comment" + } + } + ], + defaults: { + type: "button", + width: 70, + height: 70 + } + }] + }, + { + text: "Text", alignType: ej.Ribbon.AlignType.Rows, content: [{ + groups: [{ + id: "text", + text: "Text", + toolTip: "Text", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-text", + width: 50 + } + }, + { + id: "datetime", + text: "Date Time", + toolTip: "DateTime", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-datetimenew" + } + } + ], + defaults: { + type: "button", + width: 70, + height: 70 + } + }] + }, + { + text: "Hyperlink", alignType: ej.Ribbon.AlignType.Rows, content: [{ + groups: [{ + id: "hyperlink", + text: "Hyperlink", + toolTip: "Hyperlink", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-hyperlink" + } + } + ], + defaults: { + type: "button", + width: 70, + height: 70 + } + }] + }, + { + text: "Equation", alignType: ej.Ribbon.AlignType.Rows, content: [{ + groups: [{ + id: "equation", + text: "Equation", + toolTip: "Equation", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-equation" + } + } + ], + defaults: { + type: "button", + width: 60, + height: 70 + } + }] + }, + { + text: "Print Layout", alignType: ej.Ribbon.AlignType.Rows, content: [{ + groups: [{ + id: "printlayout", + text: "Print Layout", + toolTip: "Print Layout", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-printlayout" + } + } + ], + defaults: { + type: "button", + width: 80, + height: 70 + } + }] + }, + { + text: "Save", alignType: ej.Ribbon.AlignType.Rows, content: [{ + groups: [{ + id: "print", + text: "Print", + toolTip: "Print", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-print" + } + }, + { + id: "save", + text: "Save", + toolTip: "Save", + buttonSettings: { + click: "onClick", + contentType: ej.ContentType.TextAndImage, + imagePosition: ej.ImagePosition.ImageTop, + prefixIcon: "e-icon e-ribbon e-save" + } + } + ], + defaults: { + type: "button", + width: 50, + height: 70 + } + }] + } + ] + } + ], + create: function createControl(args) { + var ribbon = $("#defaultRibbon").data("ejRibbon"); + $("#fontcolor").ejColorPicker({ value: "#FFFF00", modelType: "palette", cssClass: "e-ribbon", toolIcon: "e-fontcoloricon", select: colorHandler }); + $("#fillcolor").ejColorPicker({ value: "#FF0000", modelType: "palette", cssClass: "e-ribbon", toolIcon: "e-fillcoloricon", select: colorHandler }); + } + }); + }); +} +function colorHandler(args:any) { + (this._id.indexOf("fillcolor") != -1) ? $("#contenteditor").css('background-color', args.value) : document.execCommand('forecolor', false, args.value); +} +function onClick(args) { + var val, prop = args.text; + val = (ej.isNullOrUndefined(args.model.text)) ? args.model.activeText : args.model.text; + if (action1.indexOf(val) != -1) + $("#contenteditor").empty(); + else if (action2.indexOf(val) != -1) + document.execCommand(val, false, null); + else if (fontfamily.indexOf(prop) != -1) + document.execCommand("FontName", false, prop); + else if (fontsize.indexOf(prop) != -1) + document.execCommand("FontSize", false, prop.replace("pt", "")); + else + $("#contenteditor").append("

Action: " + val + " Triggered

"); +} + + + + + + +module RotatorComponent { + $(function () { + var rotatorInstance = new ej.Rotator($("#sliderContent"), { + slideWidth: "100%", + frameSpace: "0px", + slideHeight: "auto", + displayItemsCount: "1", + navigateSteps: "1", + pagerPosition:"outside", + orientation: "horizontal", + showPager: true, + enabled: true, + showCaption: true, + allowKeyboardNavigation: true, + showPlayButton: true, + isResponsive:true, + animationType: "slide", + }); + }); +} + + + +module RTEComponent { + $(function () { + var sample = new ej.RTE($("#rteSample"),{ + width: "100%", + minWidth: "150px", + showFooter: true, + showHtmlSource: true, + allowEditing: true, + allowKeyboardNavigation: true, + autoFocus: true, + autoHeight: true, + colorPaletteColumns: 10, + colorPaletteRows: 5, + cssClass: 'gradient-lime', + enableResize: true, + enableTabKeyNavigation: true, + fileBrowser: { + filePath: (window).baseurl + "Content/FileBrowser/", + extensionAllow: "*.png, *.doc, *.pdf, *.txt, *.docx", + ajaxAction: (window).baseurl + "api/FileExplorer/FileOperations" + }, + imageBrowser: { + filePath: (window).baseurl + "Content/FileBrowser/", + extensionAllow: "*.png, *.gif, *.jpg, *.jpeg, *.docx", + ajaxAction: (window).baseurl + "api/FileExplorer/FileOperations" + }, + isResponsive: true, + showClearAll: true, + showClearFormat: true, + showDimensions: true, + showCharCount: true, + tools: { + formatStyle: ["format"], + edit: ["findAndReplace"], + font: ["fontName", "fontSize", "fontColor", "backgroundColor"], + style: ["bold", "italic", "underline", "strikethrough"], + alignment: ["justifyLeft", "justifyCenter", "justifyRight", "justifyFull"], + lists: ["unorderedList", "orderedList"], + clipboard: ["cut", "copy", "paste"], + doAction: ["undo", "redo"], + indenting: ["outdent", "indent"], + clear: ["clearFormat", "clearAll"], + links: ["createLink", "removeLink"], + images: ["image"], + media: ["video"], + tables: ["createTable", "addRowAbove", "addRowBelow", "addColumnLeft", "addColumnRight", "deleteRow", "deleteColumn", "deleteTable"], + effects: ["superscript", "subscript"], + casing: ["upperCase", "lowerCase"], + view: ["fullScreen", "zoomIn", "zoomOut"], + print: ["print"], + customUnorderedList: [{ + name: "unOrderInsert", + tooltip: "Custom UnOrderList", + css: "e-rte-toolbar-icon e-rte-unlistitems customUnOrder", + text: "Smiley", + listImage: "url('../content/images/rte/Smiley-GIF.gif')" + }], + customOrderedList: [{ + name: "orderInsert", + tooltip: "Custom OrderList", + css: "e-rte-toolbar-icon e-rte-listitems customOrder", + text: "Lower-Greek", + listStyle: "lower-greek" + }] + } + }); + }); + +} + + + +module ScheduleComponent { + $(function () { + var sample = new ej.Schedule($("#Schedule1"), { + width: "100%", + height: "525px", + currentDate: new Date(2017, 5, 5), + timeScale: { + minorSlotCount: 4, + majorSlot: 60 + }, + contextMenuSettings: { + enable: true, + menuItems: { + appointment: [ + { id: "open", text: "Open Appointment" }, + { id: "delete", text: "Delete Appointment" }, + { id: "customMenu3", text: "Menu Item 3" }, + { id: "customMenu4", text: "Menu Item 4" } + ], + cells: [ + { id: "new", text: "New Appointment" }, + { id: "recurrence", text: "New Recurring Appointment" }, + { id: "today", text: "Today" }, + { id: "gotodate", text: "Go to date" }, + { id: "settings", text: "Settings" }, + { id: "view", text: "View", parentId: "settings" }, + { id: "timemode", text: "TimeMode", parentId: "settings" }, + { id: "view_Day", text: "Day", parentId: "view" }, + { id: "view_Week", text: "Week", parentId: "view" }, + { id: "view_Workweek", text: "Workweek", parentId: "view" }, + { id: "view_Month", text: "Month", parentId: "view" }, + { id: "timemode_Hour12", text: "12 Hours", parentId: "timemode" }, + { id: "timemode_Hour24", text: "24 Hours", parentId: "timemode" }, + { id: "workhours", text: "Work Hours", parentId: "settings" }, + { id: "customMenu1", text: "Menu Item 1" }, + { id: "customMenu2", text: "Menu Item 2" } + ] + } + }, + resources: [{ + field: "ownerId", + title: "Owner", + name: "Owners", allowMultiple: true, + resourceSettings: { + dataSource: [ + { text: "Nancy", id: 1, groupId: 1, color: "#f8a398" }, + { text: "Steven", id: 3, groupId: 2, color: "#56ca85" }, + { text: "Michael", id: 5, groupId: 1, color: "#51a0ed" } + ], + text: "text", id: "id", groupId: "groupId", color: "color" + } + }], + appointmentSettings: { + dataSource: new ej.DataManager((window).ResourcesData).executeLocal(new ej.Query().take(10)), + id: "Id", + subject: "Subject", + startTime: "StartTime", + endTime: "EndTime", + description: "Description", + allDay: "AllDay", + recurrence: "Recurrence", + recurrenceRule: "RecurrenceRule", + resourceFields: "ownerId" + } + }); + }); +} + + + +module ScrollerComponent { + $(function () { + var scrollerSample = new ej.Scroller($("#scrollcontent"), { + height: "300px", + width: "100%" + }); + $(window).bind('resize', function () { + scrollerSample.refresh(); + }); }); +} + + + +module SignatureComponent { + $(function () { + var basicSignature = new ej.Signature($("#signature"), { + height: "400px", + isResponsive: true, + strokeWidth: 3 + }); + }); +} + + + + +module SliderComponent { + $(function () { + var slider = new ej.Slider($("#minSlider"), { + sliderType: "MinRange", + value: 60, + minValue: 0, + maxValue: 100 + }); + var rangeslider = new ej.Slider($("#rangeSlider"), { + sliderType: "Range", + values: [30, 60], + minValue: 0 + }); + + }); +} + + + + + + +module linesparkline { + $(function () { + + var sparklinesample = new ej.Sparkline($("#line"), { + dataSource: [12, 14, 11, 12, 11, 15, 12, 10, 11, 12, 15, 13, 12, 11, 10, 13, 15, 12, 14, 16, 14, 12, 11], + tooltip: { + visible: true, + font: { size:"12px" } + }, + type: "line", + size: { height: "40", width:"170" }, + }); + }); +} + +module columnsparkline { + $(function () { + var sparkcolumnsample = new ej.Sparkline($("#column"), { + dataSource: [2, 6, -1, 1, 12, 5, -2, 7, -3, 5, 8, 10,], + negativePointColor: "red", + highPointColor: "blue", + tooltip: { + visible: true, + font: { + size: "12px", + } + }, + type: "column", + size: { height: "100", width: "150" }, + }); + }); +} + +module areasparkline { + $(function () { + var sparkareasample = new ej.Sparkline($("#area"), { + dataSource: [12, -10, 11, 8, 17, 6, 2, -17, 13, -6, 8, 10,], + markerSettings: { visible: true }, + highPointColor: "blue", + lowPointColor: "orange", + type: "area", + opacity: 0.5, + tooltip: { + visible: true, + font: { + size: "12px", + } + }, + size: { height: "100", width: "150" }, + }); + }); +} + +module windlosssparkline { + $(function () { + var sparkwinlosssample = new ej.Sparkline($("#winloss"), { + dataSource: [12, 15, -11, 13, 17, 0, -12, 17, 13, -15, 8, 10,], + type: "winloss", + size: { height: "100", width: "150" }, + }); + }); +} + +module piesparkline1 { + $(function () { + var sparkpiesample1 = new ej.Sparkline($("#pie1"), { + dataSource: [4, 6, 7], + type: "pie", + tooltip: { + visible: true, + font: { + size: "12px", + } + }, + size: { height: "40", width: "40" }, + }); + }); +} + +module piesparkline2 { + $(function () { + var sparkpiesample2 = new ej.Sparkline($("#pie2"), { + dataSource: [8, 9, 1,], + type: "pie", + tooltip: { + visible: true, + font: { + size: "12px", + } + }, + size: { height: "40", width: "40" }, + }); + }); +} + +module piesparkline3 { + $(function () { + var sparkpiesample3 = new ej.Sparkline($("#pie3"), { + dataSource: [2, 3, 5], + type: "pie", + tooltip: { + visible: true, + font: { + size: "12px", + } + }, + size: { height: "40", width: "40" }, + }); + }); +} + +module piesparkline4 { + $(function () { + var sparkpiesample4 = new ej.Sparkline($("#pie4"), { + dataSource: [10, 12, 11], + type: "pie", + tooltip: { + visible: true, + font: { + size: "12px", + } + }, + size: { height: "40", width: "40" }, + }); + }); +} + + + + + + +module SplitterComponent { + $(function () { + var splitterInstance = new ej.Splitter($("#outterSpliter"), { + height: "250px", + width: "50%", + orientation: ej.Orientation.Vertical, + properties: [{}, { paneSize: 80 }], + isResponsive:true + }); + var splitterInstance1 = new ej.Splitter($("#innerSpliter"), { + isResponsive:true, + }); + }); +} + + + +module SpreadsheetComponent { +$(function () { + var sample = new ej.Spreadsheet($("#basicSpreadsheet"), { + scrollSettings: { + height: 550, + }, + importSettings: { + importMapper: (window).baseurl + "api/Spreadsheet/Import" + }, + exportSettings: { + excelUrl: (window).baseurl + "api/Spreadsheet/ExcelExport", + csvUrl: (window).baseurl + "api/Spreadsheet/CsvExport", + pdfUrl: (window).baseurl + "api/Spreadsheet/PdfExport" + }, + sheets: [{ rangeSettings: [{ dataSource: (window).defaultData, startCell: "A1" }] }], + loadComplete: () => { + var spreadsheet = $("#basicSpreadsheet").data("ejSpreadsheet"), xlFormat = spreadsheet.XLFormat; + if (!(spreadsheet).isImport) { + spreadsheet.setWidthToColumns([140, 128, 105, 100, 100, 110, 120, 120, 100]); + xlFormat.format({ "style": { "font-weight": "bold" } }, "A1:H1"); + xlFormat.format({ "type": "currency" }, "E2:H11"); + spreadsheet.XLRibbon.updateRibbonIcons(); + }} + }); + }); +} + + + + +var default_data: Array = [ + { Category : "Employees", Country : "USA", JobDescription : "Sales", JobGroup:"Executive", EmployeesCount : 50 }, + { Category : "Employees", Country : "USA", JobDescription : "Sales", JobGroup : "Analyst", EmployeesCount : 40 }, + { Category : "Employees", Country : "USA", JobDescription : "Marketing", EmployeesCount : 40 }, + { Category : "Employees", Country : "USA", JobDescription : "Technical", JobGroup : "Testers", EmployeesCount : 55 }, + { Category : "Employees", Country : "USA", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Windows", EmployeesCount : 175}, + { Category : "Employees", Country : "USA", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Web", EmployeesCount : 70 }, + { Category : "Employees", Country : "USA", JobDescription : "Management", EmployeesCount : 40 }, + { Category : "Employees", Country : "USA", JobDescription : "Accounts", EmployeesCount : 60 }, + + { Category : "Employees", Country : "India", JobDescription : "Technical", JobGroup : "Testers", EmployeesCount : 43 }, + { Category : "Employees", Country : "India", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Windows", EmployeesCount : 125}, + { Category : "Employees", Country : "India", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Web", EmployeesCount : 60 }, + { Category : "Employees", Country : "India", JobDescription : "HR Executives", EmployeesCount : 70 }, + { Category : "Employees", Country : "India", JobDescription : "Accounts", EmployeesCount : 45 }, + + { Category : "Employees", Country : "Germany", JobDescription : "Sales", JobGroup : "Executive", EmployeesCount : 30 }, + { Category : "Employees", Country : "Germany", JobDescription : "Sales", JobGroup : "Analyst", EmployeesCount : 40 }, + { Category : "Employees", Country : "Germany", JobDescription : "Marketing", EmployeesCount : 50 }, + { Category : "Employees", Country : "Germany", JobDescription : "Technical", JobGroup : "Testers", EmployeesCount : 40 }, + { Category : "Employees", Country : "Germany", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Windows", EmployeesCount : 65 }, + { Category : "Employees", Country : "Germany", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Web", EmployeesCount : 27 }, + { Category : "Employees", Country : "Germany", JobDescription : "Management", EmployeesCount : 33 }, + { Category : "Employees", Country : "Germany", JobDescription : "Accounts", EmployeesCount : 55 }, + + { Category : "Employees", Country : "UK", JobDescription : "Technical", JobGroup : "Testers", EmployeesCount : 45 }, + { Category : "Employees", Country : "UK", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Windows", EmployeesCount : 96 }, + { Category : "Employees", Country : "UK", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Web", EmployeesCount : 55 }, + { Category : "Employees", Country : "UK", JobDescription : "HR Executives", EmployeesCount : 60 }, + { Category : "Employees", Country : "UK", JobDescription: "Accounts", EmployeesCount: 30 }, + + { Category : "Employees", Country : "France", JobDescription : "Technical", JobGroup : "Testers", EmployeesCount : 40 }, + { Category : "Employees", Country : "France", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Windows", EmployeesCount : 65 }, + { Category : "Employees", Country : "France", JobDescription : "Technical", JobGroup : "Developers", JobRole : "Web", EmployeesCount : 27 }, + { Category : "Employees", Country : "France", JobDescription: "Marketing", EmployeesCount: 50 } +]; + +module sunburstcomponent { + $(function () { + var sunburstsample = new ej.SunburstChart($("#Sunburst"), { + valueMemberPath: "EmployeesCount", + levels: [ + {groupMemberPath: "Country"}, + {groupMemberPath: "JobDescription"}, + {groupMemberPath: "JobGroup"}, + {groupMemberPath: "JobRole"} + ], + dataSource: default_data, + dataLabelSettings:{visible:true}, + tooltip:{visible:false}, + enableAnimation:false, + size:{height:"600"}, + innerRadius:0.2, + title:{text:"Employees Count"}, + zoomSettings:{enable:false}, + legend:{visible:true,position:'top'} + }); + }); +} + + + + +module TabComponent { + $(function () { + var sample = new ej.Tab($("#defaultTab"),{ + width: "500px", + collapsible: true, + events: "click", + heightAdjustMode: ej.Tab.HeightAdjustMode.Content, + showCloseButton: true, + showRoundedCorner: false + }); + }); +} + + + +module TagCloudComponent { + + + var websiteCollection = [ + { text: "Google", url: "http://www.google.com", frequency: 12 }, + { text: "All Things Digital", url: "http://allthingsd.com/", frequency: 3 }, + { text: "Arts Technica", url: "http://arstechnica.com/", frequency: 8 }, + { text: "Business Week", url: "http://www.businessweek.com/", frequency: 2 }, + { text: "Yahoo", url: "http://in.yahoo.com/", frequency: 12 }, + { text: "Center Networks", url: "http://www.centernetworks.com/", frequency: 5 }, + { text: "Crave", url: "http://news.cnet.com/crave/", frequency: 8 }, + { text: "Crunch Gear", url: "http://techcrunch.com/gadgets/", frequency: 20 }, + { text: "Daily Tech", url: "http://www.dailytech.com/", frequency: 1 }, + { text: "Electronista", url: "http://www.electronista.com/", frequency: 3 }, + { text: "Engadget", url: "http://www.engadget.com/", frequency: 5 }, + { text: "Gearlog", url: "http://www.gearlog.com/", frequency: 9 }, + { text: "Information Week", url: "http://www.informationweek.com/", frequency: 0 }, + { text: "PCWorld", url: "http://www.pcworld.com/", frequency: 11 }, + { text: "Tech Republic", url: "http://techrepublic.com/", frequency: 3 }, + { text: "Valleywag", url: "http://valleywag.gawker.com/", frequency: 6 }, + { text: "Rediff", url: "http://in.rediff.com/", frequency: 9 }, + { text: "WebProNews", url: "http://www.webpronews.com/", frequency: 2 } + ]; + + $(function () { + var sample = new ej.TagCloud($("#techWebList"), { + titleText: "Tech Sites", + dataSource: websiteCollection, + cssClass: "gradient-lime", + fields: { + text: "text", url: "url", frequency: "frequency" + } + }); + + }); +} + + + +module EditorComponent { + $(function () { + var num = new ej.NumericTextbox($("#numeric"), { + value: 30, + minValue: 1, + maxValue: 100, + name: "numeric", + width: "100%" + }); + var per = new ej.PercentageTextbox($("#percent"), { + value: 60, + minValue: 10, + maxValue: 1000, + name: "percent", + width: "100%" + }); + var cur = new ej.CurrencyTextbox($("#currency"), { + value: 100, + minValue: 10, + maxValue: 1000, + name: "currency", + width: "100%" + }); + var mask = new ej.MaskEdit($("#maskedit"), { + name: "mask", + value: "4242422424", + maskFormat: "99 999-99999", + width: "100%" + }) + }); +} + + + + + +module TileViewComponent { + $(function () { + var tile1 = new ej.Tile($("#tile1"), { + imagePosition:"fill", + caption:{text:"People"}, + tileSize:"medium", + imageUrl:'content/images/tile/windows/people_1.png' + }); + var tile2 = new ej.Tile($("#tile2"), { + imagePosition:"center", + tileSize:"small", + imageUrl:'content/images/tile/windows/alerts.png', + + }); + var tile3 = new ej.Tile($("#tile3"), { + imagePosition:"center", + tileSize:"small", + imageUrl:'content/images/tile/windows/bing.png', + }); + var tile4 = new ej.Tile($("#tile4"), { + tileSize:"small", + imageUrl:'content/images/tile/windows/camera.png', + }); + var tile5 = new ej.Tile($("#tile5"), { + imagePosition:"center", + tileSize:"small", + imageUrl:'content/images/tile/windows/messages.png', + }); + var tile6 = new ej.Tile($("#tile6"), { + imagePosition:"center", + tileSize:"medium", + imageUrl:'content/images/tile/windows/games.png', + caption:{text:"Play"} + }); + var tile7 = new ej.Tile($("#tile7"), { + tileSize:"medium", + imageUrl:'content/images/tile/windows/map.png', + caption:{text:"Maps"} + }); + var tile8 = new ej.Tile($("#tile8"), { + imagePosition:"fill", + tileSize:"wide", + imageUrl:'content/images/tile/windows/sports.png', + caption:{text:"Sports"} + }); + var tile9 = new ej.Tile($("#tile9"), { + imagePosition:"fill", + tileSize:"medium", + imageUrl:'content/images/tile/windows/people_2.png', + caption:{text:"People"} + }); + var tile10 = new ej.Tile($("#tile10"), { + imagePosition:"center", + tileSize:"medium", + imageUrl:'content/images/tile/windows/pictures.png', + caption:{text:"Photo"} + }); + var tile11 = new ej.Tile($("#tile11"), { + imagePosition:"center", + tileSize:"wide", + imageUrl:'content/images/tile/windows/weather.png', + caption:{text:"Weather"} + }); + var tile12 = new ej.Tile($("#tile12"), { + imagePosition:"center", + tileSize:"medium", + imageUrl:'content/images/tile/windows/music.png', + caption:{text:"Music"} + }); + var tile13 = new ej.Tile($("#tile13"), { + imagePosition:"center", + tileSize:"medium", + imageUrl:'content/images/tile/windows/favs.png', + caption:{text:"Favorites"} + }); + }); +} + + + +module TimePickerComponent { + $(function () { + var timeSample = new ej.TimePicker($("#timepick"), { + width: "100%" + }); + }); +} + + + + +module ToolbarComponent { + + $(function () { + var sample = new ej.Toolbar($("#editingToolbar"),{ + width: "100%", + cssClass: "gradient-lime", + enableSeparator: true, + + isResponsive: true, + orientation: ej.Orientation.Horizontal, + showRoundedCorner: true + }); + }); + +} + + + + +module TooltipComponent { + + $(function () { + + var sample1 = new ej.Tooltip($("#link1"),{ + content: "ECMAScript (or ES) is a trademarked scripting-language specification standardized by Ecma International in ECMA-262 and ISO/IEC 16262.", + associate: "mousefollow", + autoCloseTimeout: 5000, + collision: "fit", + containment: ".frame", + showRoundedCorner: true, + showShadow: true + }); + + var sample2 = new ej.Tooltip($("#link2"),{ + content: "The World Wide Web (WWW) is an information space where documents and other web resources are identified by URLs, interlinked by hypertext links, and can be accessed via the Internet.", + position: { + stem: { + horizontal: "right", + vertical: "center" + }, + target: { + horizontal: "left", + vertical: "center" + } + }, + autoCloseTimeout: 5000, + collision: "fit", + containment: ".frame", + showRoundedCorner: true, + showShadow: true + }); + + var sample3 = new ej.Tooltip($("#link3"),{ + content: 'Object-oriented programming (OOP) is a programming language model organized around objects rather than "actions" and data rather than logic.', + position: { + stem: { + horizontal: "right", + vertical: "center" + }, + target: { + horizontal: "left", + vertical: "center", + }, + }, + associate: "mousefollow", + autoCloseTimeout: 5000, + collision: "fit", + containment: ".frame", + showRoundedCorner: true, + showShadow: true + }); + }); +} + + + +module TreeGridComponent { + $(function () { + var treegridInstance = new ej.TreeGrid($("#TreeGridContainer"), { + dataSource: (window).treeGridData, + childMapping: "subtasks", + allowSorting: true, + allowMultiSorting: true, + enableAltRow: true, + allowFiltering: true, + treeColumnIndex: 1, + allowKeyboardNavigation: true, + showColumnChooser: true, + showColumnOptions: true, + contextMenuSettings: { + showContextMenu: true, + contextMenuItems: ["add", "edit", "delete"] + }, + columnDialogFields: ["field", "headerText", "editType", "width", "visible", "allowSorting", "textAlign", "headerTextAlign"], + editSettings: { + allowAdding: true, + allowEditing: true, + allowDeleting: true, + editMode: "cellEditing", + rowPosition: "belowSelectedRow" + }, + toolbarSettings: { + showToolbar: true, + toolbarItems: ["add","edit","delete","update","cancel","expandAll","collapseAll"] + }, + columns: [ + { field: "taskID", headerText: "Task Id", allowFiltering: false, editType: "numericedit", filterEditType: "numericedit" }, + { field: "taskName", headerText: "Task Name", editType: "stringedit", filterEditType: "stringedit" }, + { field: "startDate", headerText: "Start Date", editType: "datepicker", filterEditType: "datepicker", format:"{0:MM/dd/yyyy}" }, + { field: "endDate", headerText: "End Date", editType: "datepicker", filterEditType: "datepicker", format:"{0:MM/dd/yyyy}" }, + { field: "progress", headerText: "Progress", editType: "numericedit", filterEditType: "numericedit" } + ], + isResponsive: true, + }); +}); +} + + + + +var population_data: Array = [ + { Continent: "Asia", Country: "Indonesia", Growth: 3, Population: 237641326 }, + { Continent: "Asia", Country: "Russia", Growth: 2, Population: 152518015 }, + { Continent: "Asia", Country: "Malaysia", Growth: 1, Population: 29672000 }, + { Continent: "North America", Country: "United States", Growth: 4, Population: 315645000 }, + { Continent: "North America", Country: "Mexico", Growth: 2, Population: 112336538 }, + { Continent: "North America", Country: "Canada", Growth: 1, Population: 39056064 }, + { Continent: "South America", Country: "Colombia", Growth: 1, Population: 47000000 }, + { Continent: "South America", Country: "Brazil", Growth: 3, Population: 193946886 }, + { Continent: "Africa", Country: "Nigeria", Growth: 2, Population: 170901000 }, + { Continent: "Africa", Country: "Egypt", Growth: 1, Population: 83661000 }, + { Continent: "Europe", Country: "Germany", Growth: 1, Population: 81993000 }, + { Continent: "Europe", Country: "France", Growth: 1, Population: 65605000 }, + { Continent: "Europe", Country: "UK", Growth: 1, Population: 63181775 } +]; + +module treemapcomponent { + $(function () { + var treemapsample = new ej.datavisualization.TreeMap($("#treemap"), { + leafItemSettings: { showLabels: true, labelPath: "Country" }, + rangeColorMapping: [ + { color: "#77D8D8", legendLabel: "1% Growth", from: 0, to: 1 }, + { color: "#AED960", from: 0, legendLabel: "2% Growth", to: 2 }, + { color: "#FFAF51", from: 0, legendLabel: "3% Growth", to: 3 }, + { color: "#F3D240", from: 0, legendLabel: "4% Growth", to: 4 } + ], + levels: [ + { groupPath: "Continent", groupGap: 5, headerHeight: 25, showHeader: true, headerTemplate: 'headertemplate' } + ], + dataSource: population_data, + colorValuePath: "Growth", + weightValuePath: "Population", + borderThickness: 0, + showLegend: true + }); + }); +} + + + + + +module TreeViewComponent { + $(function () { + var tree = new ej.TreeView($("#treeView"), { + allowEditing: true, + allowDragAndDrop: true, + allowDropChild: true, + allowDropSibling: true, + }); + }); +} + + + + +module UploadboxComponent { + + $(function () { + var sample = new ej.Uploadbox($("#UploadDefault"),{ + saveUrl: (window).baseurl + "api/uploadbox/Save", + removeUrl: (window).baseurl + "api/uploadbox/Remove", + buttonText: { + browse: "Choose File", upload: "Upload", cancel: "Cancel" + }, + cssClass: "gradient- purple", + dialogAction: { + modal: false, closeOnComplete: false, drag: true + }, + extensionsAllow: ".zip", + multipleFilesSelection: true, + showFileDetails: true + }); + }); + +} + + + + +module WaitingPopupComponent { + $(function () { + var sample = new ej.WaitingPopup($("#target"),{ + showOnInit: true, + showImage: true, + text: 'waiting…', + target: "#target", + appendTo: "#waiting" + }); + }); + +} From a3634e47964baaabcaffe5f62bb43829f3e8b1a0 Mon Sep 17 00:00:00 2001 From: Alexis Mangin Date: Fri, 29 Sep 2017 15:10:15 +0100 Subject: [PATCH 019/433] react-native: Add support for Pad and TVOS in Platform --- types/react-native/index.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 2d6d569570..9bde519670 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -5614,7 +5614,7 @@ export interface PixelRatioStatic { */ export type PlatformOSType = 'ios' | 'android' | 'windows' | 'web' -interface PlatformStatic { +interface PlatformStatic extends PlatformIOSStatic { OS: PlatformOSType Version: number @@ -5624,6 +5624,11 @@ interface PlatformStatic { select( specifics: { ios?: T, android?: T} ): T; } +interface PlatformIOSStatic { + isPad: boolean + isTVOS: boolean +} + /** * Deprecated - subclass NativeEventEmitter to create granular event modules instead of * adding all event listeners directly to RCTDeviceEventEmitter. From cf42e47abb9a1f573655f6d84c59e1f3a65b5bb4 Mon Sep 17 00:00:00 2001 From: Fred Morel Date: Fri, 29 Sep 2017 15:12:10 -0400 Subject: [PATCH 020/433] Replace String with string --- .../google-apps-script.cache.d.ts | 4 +- .../google-apps-script.calendar.d.ts | 8 +-- .../google-apps-script.charts.d.ts | 14 ++--- .../google-apps-script.contacts.d.ts | 2 +- .../google-apps-script.document.d.ts | 22 +++---- .../google-apps-script.drive.d.ts | 10 +-- .../google-apps-script.forms.d.ts | 22 +++---- .../google-apps-script.gmail.d.ts | 2 +- .../google-apps-script.jdbc.d.ts | 26 ++++---- .../google-apps-script.properties.d.ts | 6 +- .../google-apps-script.sites.d.ts | 14 ++--- .../google-apps-script.spreadsheet.d.ts | 62 +++++++++---------- .../google-apps-script.types.d.ts | 2 +- .../google-apps-script.ui.d.ts | 12 ++-- .../google-apps-script.utilities.d.ts | 4 +- 15 files changed, 105 insertions(+), 105 deletions(-) diff --git a/types/google-apps-script/google-apps-script.cache.d.ts b/types/google-apps-script/google-apps-script.cache.d.ts index c0cf592b43..23a9b19c34 100644 --- a/types/google-apps-script/google-apps-script.cache.d.ts +++ b/types/google-apps-script/google-apps-script.cache.d.ts @@ -29,13 +29,13 @@ declare namespace GoogleAppsScript { */ export interface Cache { get(key: string): string; - getAll(keys: String[]): Object; + getAll(keys: string[]): Object; put(key: string, value: string): void; put(key: string, value: string, expirationInSeconds: Integer): void; putAll(values: Object): void; putAll(values: Object, expirationInSeconds: Integer): void; remove(key: string): void; - removeAll(keys: String[]): void; + removeAll(keys: string[]): void; } /** diff --git a/types/google-apps-script/google-apps-script.calendar.d.ts b/types/google-apps-script/google-apps-script.calendar.d.ts index d94ec25ad3..34a3d46a11 100644 --- a/types/google-apps-script/google-apps-script.calendar.d.ts +++ b/types/google-apps-script/google-apps-script.calendar.d.ts @@ -113,9 +113,9 @@ declare namespace GoogleAppsScript { deleteTag(key: string): CalendarEvent; getAllDayEndDate(): Date; getAllDayStartDate(): Date; - getAllTagKeys(): String[]; + getAllTagKeys(): string[]; getColor(): string; - getCreators(): String[]; + getCreators(): string[]; getDateCreated(): Date; getDescription(): string; getEmailReminders(): Integer[]; @@ -170,9 +170,9 @@ declare namespace GoogleAppsScript { anyoneCanAddSelf(): boolean; deleteEventSeries(): void; deleteTag(key: string): CalendarEventSeries; - getAllTagKeys(): String[]; + getAllTagKeys(): string[]; getColor(): string; - getCreators(): String[]; + getCreators(): string[]; getDateCreated(): Date; getDescription(): string; getEmailReminders(): Integer[]; diff --git a/types/google-apps-script/google-apps-script.charts.d.ts b/types/google-apps-script/google-apps-script.charts.d.ts index de6de7b767..5e3b51436c 100644 --- a/types/google-apps-script/google-apps-script.charts.d.ts +++ b/types/google-apps-script/google-apps-script.charts.d.ts @@ -52,7 +52,7 @@ declare namespace GoogleAppsScript { build(): Chart; reverseCategories(): AreaChartBuilder; setBackgroundColor(cssValue: string): AreaChartBuilder; - setColors(cssValues: String[]): AreaChartBuilder; + setColors(cssValues: string[]): AreaChartBuilder; setDataSourceUrl(url: string): AreaChartBuilder; setDataTable(tableBuilder: DataTableBuilder): AreaChartBuilder; setDataTable(table: DataTableSource): AreaChartBuilder; @@ -105,7 +105,7 @@ declare namespace GoogleAppsScript { reverseCategories(): BarChartBuilder; reverseDirection(): BarChartBuilder; setBackgroundColor(cssValue: string): BarChartBuilder; - setColors(cssValues: String[]): BarChartBuilder; + setColors(cssValues: string[]): BarChartBuilder; setDataSourceUrl(url: string): BarChartBuilder; setDataTable(tableBuilder: DataTableBuilder): BarChartBuilder; setDataTable(table: DataTableSource): BarChartBuilder; @@ -199,7 +199,7 @@ declare namespace GoogleAppsScript { setLabelStacking(orientation: Orientation): CategoryFilterBuilder; setSelectedValuesLayout(layout: PickerValuesLayout): CategoryFilterBuilder; setSortValues(sortValues: boolean): CategoryFilterBuilder; - setValues(values: String[]): CategoryFilterBuilder; + setValues(values: string[]): CategoryFilterBuilder; } /** @@ -326,7 +326,7 @@ declare namespace GoogleAppsScript { build(): Chart; reverseCategories(): ColumnChartBuilder; setBackgroundColor(cssValue: string): ColumnChartBuilder; - setColors(cssValues: String[]): ColumnChartBuilder; + setColors(cssValues: string[]): ColumnChartBuilder; setDataSourceUrl(url: string): ColumnChartBuilder; setDataTable(tableBuilder: DataTableBuilder): ColumnChartBuilder; setDataTable(table: DataTableSource): ColumnChartBuilder; @@ -590,7 +590,7 @@ declare namespace GoogleAppsScript { build(): Chart; reverseCategories(): LineChartBuilder; setBackgroundColor(cssValue: string): LineChartBuilder; - setColors(cssValues: String[]): LineChartBuilder; + setColors(cssValues: string[]): LineChartBuilder; setCurveStyle(style: CurveStyle): LineChartBuilder; setDataSourceUrl(url: string): LineChartBuilder; setDataTable(tableBuilder: DataTableBuilder): LineChartBuilder; @@ -723,7 +723,7 @@ declare namespace GoogleAppsScript { reverseCategories(): PieChartBuilder; set3D(): PieChartBuilder; setBackgroundColor(cssValue: string): PieChartBuilder; - setColors(cssValues: String[]): PieChartBuilder; + setColors(cssValues: string[]): PieChartBuilder; setDataSourceUrl(url: string): PieChartBuilder; setDataTable(tableBuilder: DataTableBuilder): PieChartBuilder; setDataTable(table: DataTableSource): PieChartBuilder; @@ -773,7 +773,7 @@ declare namespace GoogleAppsScript { export interface ScatterChartBuilder { build(): Chart; setBackgroundColor(cssValue: string): ScatterChartBuilder; - setColors(cssValues: String[]): ScatterChartBuilder; + setColors(cssValues: string[]): ScatterChartBuilder; setDataSourceUrl(url: string): ScatterChartBuilder; setDataTable(tableBuilder: DataTableBuilder): ScatterChartBuilder; setDataTable(table: DataTableSource): ScatterChartBuilder; diff --git a/types/google-apps-script/google-apps-script.contacts.d.ts b/types/google-apps-script/google-apps-script.contacts.d.ts index 46337d87d5..e0fa82d371 100644 --- a/types/google-apps-script/google-apps-script.contacts.d.ts +++ b/types/google-apps-script/google-apps-script.contacts.d.ts @@ -91,7 +91,7 @@ declare namespace GoogleAppsScript { setPrefix(prefix: string): Contact; setShortName(shortName: string): Contact; setSuffix(suffix: string): Contact; - getEmailAddresses(): String[]; + getEmailAddresses(): string[]; getHomeAddress(): string; getHomeFax(): string; getHomePhone(): string; diff --git a/types/google-apps-script/google-apps-script.document.d.ts b/types/google-apps-script/google-apps-script.document.d.ts index bee604636a..b0cc1c4e2a 100644 --- a/types/google-apps-script/google-apps-script.document.d.ts +++ b/types/google-apps-script/google-apps-script.document.d.ts @@ -52,7 +52,7 @@ declare namespace GoogleAppsScript { appendParagraph(paragraph: Paragraph): Paragraph; appendParagraph(text: string): Paragraph; appendTable(): Table; - appendTable(cells: String[][]): Table; + appendTable(cells: string[][]): Table; appendTable(table: Table): Table; clear(): Body; copy(): Body; @@ -90,7 +90,7 @@ declare namespace GoogleAppsScript { insertParagraph(childIndex: Integer, paragraph: Paragraph): Paragraph; insertParagraph(childIndex: Integer, text: string): Paragraph; insertTable(childIndex: Integer): Table; - insertTable(childIndex: Integer, cells: String[][]): Table; + insertTable(childIndex: Integer, cells: string[][]): Table; insertTable(childIndex: Integer, table: Table): Table; removeChild(child: Element): Body; replaceText(searchPattern: string, replacement: string): Element; @@ -185,13 +185,13 @@ declare namespace GoogleAppsScript { addBookmark(position: Position): Bookmark; addEditor(emailAddress: string): Document; addEditor(user: Base.User): Document; - addEditors(emailAddresses: String[]): Document; + addEditors(emailAddresses: string[]): Document; addFooter(): FooterSection; addHeader(): HeaderSection; addNamedRange(name: string, range: Range): NamedRange; addViewer(emailAddress: string): Document; addViewer(user: Base.User): Document; - addViewers(emailAddresses: String[]): Document; + addViewers(emailAddresses: string[]): Document; getAs(contentType: string): Base.Blob; getBlob(): Base.Blob; getBody(): Body; @@ -459,7 +459,7 @@ declare namespace GoogleAppsScript { /** * - * Deprecated. The methods getFontFamily() and setFontFamily(String) now use string + * Deprecated. The methods getFontFamily() and setFontFamily(string) now use string * names for fonts instead of this enum. Although this enum is deprecated, it will remain * available for compatibility with older scripts. * An enumeration of the supported fonts. @@ -502,7 +502,7 @@ declare namespace GoogleAppsScript { appendParagraph(paragraph: Paragraph): Paragraph; appendParagraph(text: string): Paragraph; appendTable(): Table; - appendTable(cells: String[][]): Table; + appendTable(cells: string[][]): Table; appendTable(table: Table): Table; clear(): FooterSection; copy(): FooterSection; @@ -531,7 +531,7 @@ declare namespace GoogleAppsScript { insertParagraph(childIndex: Integer, paragraph: Paragraph): Paragraph; insertParagraph(childIndex: Integer, text: string): Paragraph; insertTable(childIndex: Integer): Table; - insertTable(childIndex: Integer, cells: String[][]): Table; + insertTable(childIndex: Integer, cells: string[][]): Table; insertTable(childIndex: Integer, table: Table): Table; removeChild(child: Element): FooterSection; removeFromParent(): FooterSection; @@ -643,7 +643,7 @@ declare namespace GoogleAppsScript { appendParagraph(paragraph: Paragraph): Paragraph; appendParagraph(text: string): Paragraph; appendTable(): Table; - appendTable(cells: String[][]): Table; + appendTable(cells: string[][]): Table; appendTable(table: Table): Table; clear(): HeaderSection; copy(): HeaderSection; @@ -672,7 +672,7 @@ declare namespace GoogleAppsScript { insertParagraph(childIndex: Integer, paragraph: Paragraph): Paragraph; insertParagraph(childIndex: Integer, text: string): Paragraph; insertTable(childIndex: Integer): Table; - insertTable(childIndex: Integer, cells: String[][]): Table; + insertTable(childIndex: Integer, cells: string[][]): Table; insertTable(childIndex: Integer, table: Table): Table; removeChild(child: Element): HeaderSection; removeFromParent(): HeaderSection; @@ -1269,7 +1269,7 @@ declare namespace GoogleAppsScript { appendParagraph(paragraph: Paragraph): Paragraph; appendParagraph(text: string): Paragraph; appendTable(): Table; - appendTable(cells: String[][]): Table; + appendTable(cells: string[][]): Table; appendTable(table: Table): Table; clear(): TableCell; copy(): TableCell; @@ -1308,7 +1308,7 @@ declare namespace GoogleAppsScript { insertParagraph(childIndex: Integer, paragraph: Paragraph): Paragraph; insertParagraph(childIndex: Integer, text: string): Paragraph; insertTable(childIndex: Integer): Table; - insertTable(childIndex: Integer, cells: String[][]): Table; + insertTable(childIndex: Integer, cells: string[][]): Table; insertTable(childIndex: Integer, table: Table): Table; isAtDocumentEnd(): boolean; merge(): TableCell; diff --git a/types/google-apps-script/google-apps-script.drive.d.ts b/types/google-apps-script/google-apps-script.drive.d.ts index 36693eaf9f..96968f1002 100644 --- a/types/google-apps-script/google-apps-script.drive.d.ts +++ b/types/google-apps-script/google-apps-script.drive.d.ts @@ -74,13 +74,13 @@ declare namespace GoogleAppsScript { export interface File { addCommenter(emailAddress: string): File; addCommenter(user: Base.User): File; - addCommenters(emailAddresses: String[]): File; + addCommenters(emailAddresses: string[]): File; addEditor(emailAddress: string): File; addEditor(user: Base.User): File; - addEditors(emailAddresses: String[]): File; + addEditors(emailAddresses: string[]): File; addViewer(emailAddress: string): File; addViewer(user: Base.User): File; - addViewers(emailAddresses: String[]): File; + addViewers(emailAddresses: string[]): File; getAccess(email: string): Permission; getAccess(user: Base.User): Permission; getAs(contentType: string): Base.Blob; @@ -157,12 +157,12 @@ declare namespace GoogleAppsScript { export interface Folder { addEditor(emailAddress: string): Folder; addEditor(user: Base.User): Folder; - addEditors(emailAddresses: String[]): Folder; + addEditors(emailAddresses: string[]): Folder; addFile(child: File): Folder; addFolder(child: Folder): Folder; addViewer(emailAddress: string): Folder; addViewer(user: Base.User): Folder; - addViewers(emailAddresses: String[]): Folder; + addViewers(emailAddresses: string[]): Folder; createFile(blob: Base.BlobSource): File; createFile(name: string, content: string): File; createFile(name: string, content: string, mimeType: string): File; diff --git a/types/google-apps-script/google-apps-script.forms.d.ts b/types/google-apps-script/google-apps-script.forms.d.ts index e10c47b169..cdfbfbd1ef 100644 --- a/types/google-apps-script/google-apps-script.forms.d.ts +++ b/types/google-apps-script/google-apps-script.forms.d.ts @@ -41,7 +41,7 @@ declare namespace GoogleAppsScript { clearValidation(): CheckboxItem; createChoice(value: string): Choice; createChoice(value: string, isCorrect: boolean): Choice; - createResponse(responses: String[]): ItemResponse; + createResponse(responses: string[]): ItemResponse; duplicate(): CheckboxItem; getChoices(): Choice[]; getFeedbackForCorrect(): QuizFeedback; @@ -54,7 +54,7 @@ declare namespace GoogleAppsScript { getType(): ItemType; hasOtherOption(): boolean; isRequired(): boolean; - setChoiceValues(values: String[]): CheckboxItem; + setChoiceValues(values: string[]): CheckboxItem; setChoices(choices: Choice[]): CheckboxItem; setFeedbackForCorrect(feedback: QuizFeedback): CheckboxItem; setFeedbackForIncorrect(feedback: QuizFeedback): CheckboxItem; @@ -323,7 +323,7 @@ declare namespace GoogleAppsScript { addDurationItem(): DurationItem; addEditor(emailAddress: string): Form; addEditor(user: Base.User): Form; - addEditors(emailAddresses: String[]): Form; + addEditors(emailAddresses: string[]): Form; addGridItem(): GridItem; addImageItem(): ImageItem; addListItem(): ListItem; @@ -468,20 +468,20 @@ declare namespace GoogleAppsScript { */ export interface GridItem { clearValidation(): GridItem; - createResponse(responses: String[]): ItemResponse; + createResponse(responses: string[]): ItemResponse; duplicate(): GridItem; - getColumns(): String[]; + getColumns(): string[]; getHelpText(): string; getId(): Integer; getIndex(): Integer; - getRows(): String[]; + getRows(): string[]; getTitle(): string; getType(): ItemType; isRequired(): boolean; - setColumns(columns: String[]): GridItem; + setColumns(columns: string[]): GridItem; setHelpText(text: string): GridItem; setRequired(enabled: boolean): GridItem; - setRows(rows: String[]): GridItem; + setRows(rows: string[]): GridItem; setTitle(title: string): GridItem; setValidation(validation: GridValidation): GridItem; } @@ -676,7 +676,7 @@ declare namespace GoogleAppsScript { getTitle(): string; getType(): ItemType; isRequired(): boolean; - setChoiceValues(values: String[]): ListItem; + setChoiceValues(values: string[]): ListItem; setChoices(choices: Choice[]): ListItem; setFeedbackForCorrect(feedback: QuizFeedback): ListItem; setFeedbackForIncorrect(feedback: QuizFeedback): ListItem; @@ -719,7 +719,7 @@ declare namespace GoogleAppsScript { getType(): ItemType; hasOtherOption(): boolean; isRequired(): boolean; - setChoiceValues(values: String[]): MultipleChoiceItem; + setChoiceValues(values: string[]): MultipleChoiceItem; setChoices(choices: Choice[]): MultipleChoiceItem; setFeedbackForCorrect(feedback: QuizFeedback): MultipleChoiceItem; setFeedbackForIncorrect(feedback: QuizFeedback): MultipleChoiceItem; @@ -867,7 +867,7 @@ declare namespace GoogleAppsScript { * textItem.setFeedbackForIncorrect(feedback); */ export interface QuizFeedback { - getLinkUrls(): String[]; + getLinkUrls(): string[]; getText(): string; } diff --git a/types/google-apps-script/google-apps-script.gmail.d.ts b/types/google-apps-script/google-apps-script.gmail.d.ts index fd0bda2b13..41be4dbb56 100644 --- a/types/google-apps-script/google-apps-script.gmail.d.ts +++ b/types/google-apps-script/google-apps-script.gmail.d.ts @@ -14,7 +14,7 @@ declare namespace GoogleAppsScript { export interface GmailApp { createLabel(name: string): GmailLabel; deleteLabel(label: GmailLabel): GmailApp; - getAliases(): String[]; + getAliases(): string[]; getChatThreads(): GmailThread[]; getChatThreads(start: Integer, max: Integer): GmailThread[]; getDraftMessages(): GmailMessage[]; 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 ff1a0baf13..96ae94abac 100644 --- a/types/google-apps-script/google-apps-script.jdbc.d.ts +++ b/types/google-apps-script/google-apps-script.jdbc.d.ts @@ -78,7 +78,7 @@ declare namespace GoogleAppsScript { execute(sql: string): boolean; execute(sql: string, autoGeneratedKeys: Integer, sql_: string, columnIndexes: Integer[]): boolean; execute(sql: string, autoGeneratedKeys: Integer, sql_: string, columnIndexes: Integer[]): boolean; - execute(sql: string, columnNames: String[]): boolean; + execute(sql: string, columnNames: string[]): boolean; executeBatch(): Integer[]; executeQuery(): JdbcResultSet; executeQuery(sql: string): JdbcResultSet; @@ -86,7 +86,7 @@ declare namespace GoogleAppsScript { executeUpdate(sql: string): Integer; executeUpdate(sql: string, autoGeneratedKeys: Integer, sql_: string, columnIndexes: Integer[]): Integer; executeUpdate(sql: string, autoGeneratedKeys: Integer, sql_: string, columnIndexes: Integer[]): Integer; - executeUpdate(sql: string, columnNames: String[]): Integer; + executeUpdate(sql: string, columnNames: string[]): Integer; getArray(parameterIndex: Integer): JdbcArray; getArray(parameterName: string): JdbcArray; getBigDecimal(parameterIndex: Integer): BigNumber; @@ -155,7 +155,7 @@ declare namespace GoogleAppsScript { getURL(parameterIndex: Integer): string; getURL(parameterName: string): string; getUpdateCount(): Integer; - getWarnings(): String[]; + getWarnings(): string[]; isClosed(): boolean; isPoolable(): boolean; registerOutParameter(parameterIndex: Integer, sqlType: Integer): void; @@ -272,7 +272,7 @@ declare namespace GoogleAppsScript { getHoldability(): Integer; getMetaData(): JdbcDatabaseMetaData; getTransactionIsolation(): Integer; - getWarnings(): String[]; + getWarnings(): string[]; isClosed(): boolean; isReadOnly(): boolean; isValid(timeout: Integer): boolean; @@ -285,7 +285,7 @@ declare namespace GoogleAppsScript { prepareStatement(sql: string, resultSetType: Integer, resultSetConcurrency: Integer): JdbcPreparedStatement; prepareStatement(sql: string, resultSetType: Integer, resultSetConcurrency: Integer, resultSetHoldability: Integer): JdbcPreparedStatement; prepareStatementByIndex(sql: string, indices: Integer[]): JdbcPreparedStatement; - prepareStatementByName(sql: string, columnNames: String[]): JdbcPreparedStatement; + prepareStatementByName(sql: string, columnNames: string[]): JdbcPreparedStatement; releaseSavepoint(savepoint: JdbcSavepoint): void; rollback(): void; rollback(savepoint: JdbcSavepoint): void; @@ -377,7 +377,7 @@ declare namespace GoogleAppsScript { getSystemFunctions(): string; getTablePrivileges(catalog: string, schemaPattern: string, tableNamePattern: string): JdbcResultSet; getTableTypes(): JdbcResultSet; - getTables(catalog: string, schemaPattern: string, tableNamePattern: string, types: String[]): JdbcResultSet; + getTables(catalog: string, schemaPattern: string, tableNamePattern: string, types: string[]): JdbcResultSet; getTimeDateFunctions(): string; getTypeInfo(): JdbcResultSet; getUDTs(catalog: string, schemaPattern: string, typeNamePattern: string, types: Integer[]): JdbcResultSet; @@ -525,7 +525,7 @@ declare namespace GoogleAppsScript { execute(sql: string): boolean; execute(sql: string, autoGeneratedKeys: Integer, sql_: string, columnIndexes: Integer[]): boolean; execute(sql: string, autoGeneratedKeys: Integer, sql_: string, columnIndexes: Integer[]): boolean; - execute(sql: string, columnNames: String[]): boolean; + execute(sql: string, columnNames: string[]): boolean; executeBatch(): Integer[]; executeQuery(): JdbcResultSet; executeQuery(sql: string): JdbcResultSet; @@ -533,7 +533,7 @@ declare namespace GoogleAppsScript { executeUpdate(sql: string): Integer; executeUpdate(sql: string, autoGeneratedKeys: Integer, sql_: string, columnIndexes: Integer[]): Integer; executeUpdate(sql: string, autoGeneratedKeys: Integer, sql_: string, columnIndexes: Integer[]): Integer; - executeUpdate(sql: string, columnNames: String[]): Integer; + executeUpdate(sql: string, columnNames: string[]): Integer; getConnection(): JdbcConnection; getFetchDirection(): Integer; getFetchSize(): Integer; @@ -550,7 +550,7 @@ declare namespace GoogleAppsScript { getResultSetHoldability(): Integer; getResultSetType(): Integer; getUpdateCount(): Integer; - getWarnings(): String[]; + getWarnings(): string[]; isClosed(): boolean; isPoolable(): boolean; setArray(parameterIndex: Integer, x: JdbcArray): void; @@ -676,7 +676,7 @@ declare namespace GoogleAppsScript { getType(): Integer; getURL(columnIndex: Integer): string; getURL(columnLabel: string): string; - getWarnings(): String[]; + getWarnings(): string[]; insertRow(): void; isAfterLast(): boolean; isBeforeFirst(): boolean; @@ -814,13 +814,13 @@ declare namespace GoogleAppsScript { execute(sql: string): boolean; execute(sql: string, autoGeneratedKeys: Integer, sql_: string, columnIndexes: Integer[]): boolean; execute(sql: string, autoGeneratedKeys: Integer, sql_: string, columnIndexes: Integer[]): boolean; - execute(sql: string, columnNames: String[]): boolean; + execute(sql: string, columnNames: string[]): boolean; executeBatch(): Integer[]; executeQuery(sql: string): JdbcResultSet; executeUpdate(sql: string): Integer; executeUpdate(sql: string, autoGeneratedKeys: Integer, sql_: string, columnIndexes: Integer[]): Integer; executeUpdate(sql: string, autoGeneratedKeys: Integer, sql_: string, columnIndexes: Integer[]): Integer; - executeUpdate(sql: string, columnNames: String[]): Integer; + executeUpdate(sql: string, columnNames: string[]): Integer; getConnection(): JdbcConnection; getFetchDirection(): Integer; getFetchSize(): Integer; @@ -835,7 +835,7 @@ declare namespace GoogleAppsScript { getResultSetHoldability(): Integer; getResultSetType(): Integer; getUpdateCount(): Integer; - getWarnings(): String[]; + getWarnings(): string[]; isClosed(): boolean; isPoolable(): boolean; setCursorName(name: string): void; diff --git a/types/google-apps-script/google-apps-script.properties.d.ts b/types/google-apps-script/google-apps-script.properties.d.ts index a53a3cbaf4..fada88d73b 100644 --- a/types/google-apps-script/google-apps-script.properties.d.ts +++ b/types/google-apps-script/google-apps-script.properties.d.ts @@ -20,7 +20,7 @@ declare namespace GoogleAppsScript { export interface Properties { deleteAllProperties(): Properties; deleteProperty(key: string): Properties; - getKeys(): String[]; + getKeys(): string[]; getProperties(): Object; getProperty(key: string): string | null; setProperties(properties: Object): Properties; @@ -58,7 +58,7 @@ declare namespace GoogleAppsScript { export interface ScriptProperties { deleteAllProperties(): ScriptProperties; deleteProperty(key: string): ScriptProperties; - getKeys(): String[]; + getKeys(): string[]; getProperties(): Object; getProperty(key: string): string | null; setProperties(properties: Object): ScriptProperties; @@ -75,7 +75,7 @@ declare namespace GoogleAppsScript { export interface UserProperties { deleteAllProperties(): UserProperties; deleteProperty(key: string): UserProperties; - getKeys(): String[]; + getKeys(): string[]; getProperties(): Object; getProperty(key: string): string | null; setProperties(properties: Object): UserProperties; diff --git a/types/google-apps-script/google-apps-script.sites.d.ts b/types/google-apps-script/google-apps-script.sites.d.ts index 6b21ffe529..5bbe126750 100644 --- a/types/google-apps-script/google-apps-script.sites.d.ts +++ b/types/google-apps-script/google-apps-script.sites.d.ts @@ -128,13 +128,13 @@ declare namespace GoogleAppsScript { addColumn(name: string): Column; addHostedAttachment(blob: Base.BlobSource): Attachment; addHostedAttachment(blob: Base.BlobSource, description: string): Attachment; - addListItem(values: String[]): ListItem; + addListItem(values: string[]): ListItem; addWebAttachment(title: string, description: string, url: string): Attachment; createAnnouncement(title: string, html: string): Page; createAnnouncement(title: string, html: string, asDraft: boolean): Page; createAnnouncementsPage(title: string, name: string, html: string): Page; createFileCabinetPage(title: string, name: string, html: string): Page; - createListPage(title: string, name: string, html: string, columnNames: String[]): Page; + createListPage(title: string, name: string, html: string, columnNames: string[]): Page; createPageFromTemplate(title: string, name: string, template: Page): Page; createWebPage(title: string, name: string, html: string): Page; deletePage(): void; @@ -144,7 +144,7 @@ declare namespace GoogleAppsScript { getAnnouncements(optOptions: Object): Page[]; getAttachments(): Attachment[]; getAttachments(optOptions: Object): Attachment[]; - getAuthors(): String[]; + getAuthors(): string[]; getChildByName(name: string): Page; getChildren(): Page[]; getChildren(options: Object): Page[]; @@ -202,15 +202,15 @@ declare namespace GoogleAppsScript { export interface Site { addEditor(emailAddress: string): Site; addEditor(user: Base.User): Site; - addEditors(emailAddresses: String[]): Site; + addEditors(emailAddresses: string[]): Site; addOwner(email: string): Site; addOwner(user: Base.User): Site; addViewer(emailAddress: string): Site; addViewer(user: Base.User): Site; - addViewers(emailAddresses: String[]): Site; + addViewers(emailAddresses: string[]): Site; createAnnouncementsPage(title: string, name: string, html: string): Page; createFileCabinetPage(title: string, name: string, html: string): Page; - createListPage(title: string, name: string, html: string, columnNames: String[]): Page; + createListPage(title: string, name: string, html: string, columnNames: string[]): Page; createPageFromTemplate(title: string, name: string, template: Page): Page; createWebPage(title: string, name: string, html: string): Page; getAllDescendants(): Page[]; @@ -242,7 +242,7 @@ declare namespace GoogleAppsScript { addCollaborator(user: Base.User): Site; createAnnouncement(title: string, html: string, parent: Page): Page; createComment(inReplyTo: string, html: string, parent: Page): Comment; - createListItem(html: string, columnNames: String[], values: String[], parent: Page): ListItem; + createListItem(html: string, columnNames: string[], values: string[], parent: Page): ListItem; createWebAttachment(title: string, url: string, parent: Page): Attachment; deleteSite(): void; getAnnouncements(): Page[]; diff --git a/types/google-apps-script/google-apps-script.spreadsheet.d.ts b/types/google-apps-script/google-apps-script.spreadsheet.d.ts index e710fcfb4a..5296f1ee6e 100644 --- a/types/google-apps-script/google-apps-script.spreadsheet.d.ts +++ b/types/google-apps-script/google-apps-script.spreadsheet.d.ts @@ -113,8 +113,8 @@ declare namespace GoogleAppsScript { requireTextEqualTo(text: string): DataValidationBuilder; requireTextIsEmail(): DataValidationBuilder; requireTextIsUrl(): DataValidationBuilder; - requireValueInList(values: String[]): DataValidationBuilder; - requireValueInList(values: String[], showDropdown: boolean): DataValidationBuilder; + requireValueInList(values: string[]): DataValidationBuilder; + requireValueInList(values: string[], showDropdown: boolean): DataValidationBuilder; requireValueInRange(range: Range): DataValidationBuilder; requireValueInRange(range: Range, showDropdown: boolean): DataValidationBuilder; setAllowInvalid(allowInvalidData: boolean): DataValidationBuilder; @@ -176,7 +176,7 @@ declare namespace GoogleAppsScript { reverseCategories(): EmbeddedAreaChartBuilder; setBackgroundColor(cssValue: string): EmbeddedAreaChartBuilder; setChartType(type: Charts.ChartType): EmbeddedChartBuilder; - setColors(cssValues: String[]): EmbeddedAreaChartBuilder; + setColors(cssValues: string[]): EmbeddedAreaChartBuilder; setLegendPosition(position: Charts.Position): EmbeddedAreaChartBuilder; setLegendTextStyle(textStyle: Charts.TextStyle): EmbeddedAreaChartBuilder; setOption(option: string, value: Object): EmbeddedChartBuilder; @@ -219,7 +219,7 @@ declare namespace GoogleAppsScript { reverseDirection(): EmbeddedBarChartBuilder; setBackgroundColor(cssValue: string): EmbeddedBarChartBuilder; setChartType(type: Charts.ChartType): EmbeddedChartBuilder; - setColors(cssValues: String[]): EmbeddedBarChartBuilder; + setColors(cssValues: string[]): EmbeddedBarChartBuilder; setLegendPosition(position: Charts.Position): EmbeddedBarChartBuilder; setLegendTextStyle(textStyle: Charts.TextStyle): EmbeddedBarChartBuilder; setOption(option: string, value: Object): EmbeddedChartBuilder; @@ -335,7 +335,7 @@ declare namespace GoogleAppsScript { reverseCategories(): EmbeddedColumnChartBuilder; setBackgroundColor(cssValue: string): EmbeddedColumnChartBuilder; setChartType(type: Charts.ChartType): EmbeddedChartBuilder; - setColors(cssValues: String[]): EmbeddedColumnChartBuilder; + setColors(cssValues: string[]): EmbeddedColumnChartBuilder; setLegendPosition(position: Charts.Position): EmbeddedColumnChartBuilder; setLegendTextStyle(textStyle: Charts.TextStyle): EmbeddedColumnChartBuilder; setOption(option: string, value: Object): EmbeddedChartBuilder; @@ -376,7 +376,7 @@ declare namespace GoogleAppsScript { reverseCategories(): EmbeddedComboChartBuilder; setBackgroundColor(cssValue: string): EmbeddedComboChartBuilder; setChartType(type: Charts.ChartType): EmbeddedChartBuilder; - setColors(cssValues: String[]): EmbeddedComboChartBuilder; + setColors(cssValues: string[]): EmbeddedComboChartBuilder; setLegendPosition(position: Charts.Position): EmbeddedComboChartBuilder; setLegendTextStyle(textStyle: Charts.TextStyle): EmbeddedComboChartBuilder; setOption(option: string, value: Object): EmbeddedChartBuilder; @@ -417,7 +417,7 @@ declare namespace GoogleAppsScript { reverseCategories(): EmbeddedHistogramChartBuilder; setBackgroundColor(cssValue: string): EmbeddedHistogramChartBuilder; setChartType(type: Charts.ChartType): EmbeddedChartBuilder; - setColors(cssValues: String[]): EmbeddedHistogramChartBuilder; + setColors(cssValues: string[]): EmbeddedHistogramChartBuilder; setLegendPosition(position: Charts.Position): EmbeddedHistogramChartBuilder; setLegendTextStyle(textStyle: Charts.TextStyle): EmbeddedHistogramChartBuilder; setOption(option: string, value: Object): EmbeddedChartBuilder; @@ -458,7 +458,7 @@ declare namespace GoogleAppsScript { reverseCategories(): EmbeddedLineChartBuilder; setBackgroundColor(cssValue: string): EmbeddedLineChartBuilder; setChartType(type: Charts.ChartType): EmbeddedChartBuilder; - setColors(cssValues: String[]): EmbeddedLineChartBuilder; + setColors(cssValues: string[]): EmbeddedLineChartBuilder; setCurveStyle(style: Charts.CurveStyle): EmbeddedLineChartBuilder; setLegendPosition(position: Charts.Position): EmbeddedLineChartBuilder; setLegendTextStyle(textStyle: Charts.TextStyle): EmbeddedLineChartBuilder; @@ -501,7 +501,7 @@ declare namespace GoogleAppsScript { set3D(): EmbeddedPieChartBuilder; setBackgroundColor(cssValue: string): EmbeddedPieChartBuilder; setChartType(type: Charts.ChartType): EmbeddedChartBuilder; - setColors(cssValues: String[]): EmbeddedPieChartBuilder; + setColors(cssValues: string[]): EmbeddedPieChartBuilder; setLegendPosition(position: Charts.Position): EmbeddedPieChartBuilder; setLegendTextStyle(textStyle: Charts.TextStyle): EmbeddedPieChartBuilder; setOption(option: string, value: Object): EmbeddedChartBuilder; @@ -532,7 +532,7 @@ declare namespace GoogleAppsScript { removeRange(range: Range): EmbeddedChartBuilder; setBackgroundColor(cssValue: string): EmbeddedScatterChartBuilder; setChartType(type: Charts.ChartType): EmbeddedChartBuilder; - setColors(cssValues: String[]): EmbeddedScatterChartBuilder; + setColors(cssValues: string[]): EmbeddedScatterChartBuilder; setLegendPosition(position: Charts.Position): EmbeddedScatterChartBuilder; setLegendTextStyle(textStyle: Charts.TextStyle): EmbeddedScatterChartBuilder; setOption(option: string, value: Object): EmbeddedChartBuilder; @@ -625,7 +625,7 @@ declare namespace GoogleAppsScript { */ export interface PageProtection { addUser(email: string): void; - getUsers(): String[]; + getUsers(): string[]; isProtected(): boolean; removeUser(user: string): void; setProtected(protection: boolean): void; @@ -677,7 +677,7 @@ declare namespace GoogleAppsScript { export interface Protection { addEditor(emailAddress: string): Protection; addEditor(user: Base.User): Protection; - addEditors(emailAddresses: String[]): Protection; + addEditors(emailAddresses: string[]): Protection; canDomainEdit(): boolean; canEdit(): boolean; getDescription(): string; @@ -690,7 +690,7 @@ declare namespace GoogleAppsScript { remove(): void; removeEditor(emailAddress: string): Protection; removeEditor(user: Base.User): Protection; - removeEditors(emailAddresses: String[]): Protection; + removeEditors(emailAddresses: string[]): Protection; setDescription(description: string): Protection; setDomainEdit(editable: boolean): Protection; setNamedRange(namedRange: NamedRange): Protection; @@ -746,7 +746,7 @@ declare namespace GoogleAppsScript { copyValuesToRange(sheet: Sheet, column: Integer, columnEnd: Integer, row: Integer, rowEnd: Integer): void; getA1Notation(): string; getBackground(): string; - getBackgrounds(): String[][]; + getBackgrounds(): string[][]; getCell(row: Integer, column: Integer): Range; getColumn(): Integer; getColumnIndex(): Integer; @@ -756,43 +756,43 @@ declare namespace GoogleAppsScript { getDataValidation(): DataValidation; getDataValidations(): DataValidation[][]; getDisplayValue(): string; - getDisplayValues(): String[][]; + getDisplayValues(): string[][]; getFontColor(): string; - getFontColors(): String[][]; - getFontFamilies(): String[][]; + getFontColors(): string[][]; + getFontFamilies(): string[][]; getFontFamily(): string; getFontLine(): string; - getFontLines(): String[][]; + getFontLines(): string[][]; getFontSize(): Integer; getFontSizes(): Integer[][]; getFontStyle(): string; - getFontStyles(): String[][]; + getFontStyles(): string[][]; getFontWeight(): string; - getFontWeights(): String[][]; + getFontWeights(): string[][]; getFormula(): string; getFormulaR1C1(): string; - getFormulas(): String[][]; - getFormulasR1C1(): String[][]; + getFormulas(): string[][]; + getFormulasR1C1(): string[][]; getGridId(): Integer; getHeight(): Integer; getHorizontalAlignment(): string; - getHorizontalAlignments(): String[][]; + getHorizontalAlignments(): string[][]; getLastColumn(): Integer; getLastRow(): Integer; getMergedRanges(): Range[]; getNote(): string; - getNotes(): String[][]; + getNotes(): string[][]; getNumColumns(): Integer; getNumRows(): Integer; getNumberFormat(): string; - getNumberFormats(): String[][]; + getNumberFormats(): string[][]; getRow(): Integer; getRowIndex(): Integer; getSheet(): Sheet; getValue(): Object; getValues(): Object[][]; getVerticalAlignment(): string; - getVerticalAlignments(): String[][]; + getVerticalAlignments(): string[][]; getWidth(): Integer; getWrap(): boolean; getWraps(): Boolean[][]; @@ -812,7 +812,7 @@ declare namespace GoogleAppsScript { protect(): Protection; setBackground(color: string): Range; setBackgroundRGB(red: Integer, green: Integer, blue: Integer): Range; - setBackgrounds(color: String[][]): Range; + setBackgrounds(color: string[][]): Range; setBorder(top: boolean, left: boolean, bottom: boolean, right: boolean, vertical: boolean, horizontal: boolean): Range; setBorder(top: boolean, left: boolean, bottom: boolean, right: boolean, vertical: boolean, horizontal: boolean, color: string, style: BorderStyle): Range; setDataValidation(rule: DataValidation): Range; @@ -831,8 +831,8 @@ declare namespace GoogleAppsScript { setFontWeights(fontWeights: Object[][]): Range; setFormula(formula: string): Range; setFormulaR1C1(formula: string): Range; - setFormulas(formulas: String[][]): Range; - setFormulasR1C1(formulas: String[][]): Range; + setFormulas(formulas: string[][]): Range; + setFormulasR1C1(formulas: string[][]): Range; setHorizontalAlignment(alignment: string): Range; setHorizontalAlignments(alignments: Object[][]): Range; setNote(note: string): Range; @@ -949,11 +949,11 @@ declare namespace GoogleAppsScript { export interface Spreadsheet { addEditor(emailAddress: string): Spreadsheet; addEditor(user: Base.User): Spreadsheet; - addEditors(emailAddresses: String[]): Spreadsheet; + addEditors(emailAddresses: string[]): Spreadsheet; addMenu(name: string, subMenus: Object[]): void; addViewer(emailAddress: string): Spreadsheet; addViewer(user: Base.User): Spreadsheet; - addViewers(emailAddresses: String[]): Spreadsheet; + addViewers(emailAddresses: string[]): Spreadsheet; appendRow(rowContents: Object[]): Sheet; autoResizeColumn(columnPosition: Integer): Sheet; copy(name: string): Spreadsheet; diff --git a/types/google-apps-script/google-apps-script.types.d.ts b/types/google-apps-script/google-apps-script.types.d.ts index 3c7bfb550c..b2c67e5e2f 100644 --- a/types/google-apps-script/google-apps-script.types.d.ts +++ b/types/google-apps-script/google-apps-script.types.d.ts @@ -8,6 +8,6 @@ declare module GoogleAppsScript { type Byte = number; type Integer = number; type Char = string; - type String = string; + type String = string;// Should be unnecessary now that I replaced all String with string type JdbcSQL_XML = any; } diff --git a/types/google-apps-script/google-apps-script.ui.d.ts b/types/google-apps-script/google-apps-script.ui.d.ts index bd4424351e..f44218a866 100644 --- a/types/google-apps-script/google-apps-script.ui.d.ts +++ b/types/google-apps-script/google-apps-script.ui.d.ts @@ -395,11 +395,11 @@ declare namespace GoogleAppsScript { validateNotMatches(widget: Widget, pattern: string): ClientHandler; validateNotMatches(widget: Widget, pattern: string, flags: string): ClientHandler; validateNotNumber(widget: Widget): ClientHandler; - validateNotOptions(widget: Widget, options: String[]): ClientHandler; + validateNotOptions(widget: Widget, options: string[]): ClientHandler; validateNotRange(widget: Widget, min: Number, max: Number): ClientHandler; validateNotSum(widgets: Widget[], sum: Integer): ClientHandler; validateNumber(widget: Widget): ClientHandler; - validateOptions(widget: Widget, options: String[]): ClientHandler; + validateOptions(widget: Widget, options: string[]): ClientHandler; validateRange(widget: Widget, min: Number, max: Number): ClientHandler; validateSum(widgets: Widget[], sum: Integer): ClientHandler; } @@ -1477,11 +1477,11 @@ declare namespace GoogleAppsScript { validateNotMatches(widget: Widget, pattern: string): Handler; validateNotMatches(widget: Widget, pattern: string, flags: string): Handler; validateNotNumber(widget: Widget): Handler; - validateNotOptions(widget: Widget, options: String[]): Handler; + validateNotOptions(widget: Widget, options: string[]): Handler; validateNotRange(widget: Widget, min: Number, max: Number): Handler; validateNotSum(widgets: Widget[], sum: Integer): Handler; validateNumber(widget: Widget): Handler; - validateOptions(widget: Widget, options: String[]): Handler; + validateOptions(widget: Widget, options: string[]): Handler; validateRange(widget: Widget, min: Number, max: Number): Handler; validateSum(widgets: Widget[], sum: Integer): Handler; } @@ -2482,11 +2482,11 @@ declare namespace GoogleAppsScript { validateNotMatches(widget: Widget, pattern: string): ServerHandler; validateNotMatches(widget: Widget, pattern: string, flags: string): ServerHandler; validateNotNumber(widget: Widget): ServerHandler; - validateNotOptions(widget: Widget, options: String[]): ServerHandler; + validateNotOptions(widget: Widget, options: string[]): ServerHandler; validateNotRange(widget: Widget, min: Number, max: Number): ServerHandler; validateNotSum(widgets: Widget[], sum: Integer): ServerHandler; validateNumber(widget: Widget): ServerHandler; - validateOptions(widget: Widget, options: String[]): ServerHandler; + validateOptions(widget: Widget, options: string[]): ServerHandler; validateRange(widget: Widget, min: Number, max: Number): ServerHandler; validateSum(widgets: Widget[], sum: Integer): ServerHandler; } diff --git a/types/google-apps-script/google-apps-script.utilities.d.ts b/types/google-apps-script/google-apps-script.utilities.d.ts index 2beda0bfc1..c8fde9349c 100644 --- a/types/google-apps-script/google-apps-script.utilities.d.ts +++ b/types/google-apps-script/google-apps-script.utilities.d.ts @@ -58,8 +58,8 @@ declare namespace GoogleAppsScript { newBlob(data: string): Base.Blob; newBlob(data: string, contentType: string): Base.Blob; newBlob(data: string, contentType: string, name: string): Base.Blob; - parseCsv(csv: string): String[][]; - parseCsv(csv: string, delimiter: Char): String[][]; + parseCsv(csv: string): string[][]; + parseCsv(csv: string, delimiter: Char): string[][]; sleep(milliseconds: Integer): void; unzip(blob: Base.BlobSource): Base.Blob[]; zip(blobs: Base.BlobSource[]): Base.Blob; From 89b36cf6b989a4e57eb4466543900e0265fc56fa Mon Sep 17 00:00:00 2001 From: Fred Morel Date: Fri, 29 Sep 2017 15:27:11 -0400 Subject: [PATCH 021/433] Add documentation for most Drive methods --- .../google-apps-script.drive.d.ts | 137 ++++++++++++++++-- 1 file changed, 123 insertions(+), 14 deletions(-) diff --git a/types/google-apps-script/google-apps-script.drive.d.ts b/types/google-apps-script/google-apps-script.drive.d.ts index 96968f1002..6d5e6d3da3 100644 --- a/types/google-apps-script/google-apps-script.drive.d.ts +++ b/types/google-apps-script/google-apps-script.drive.d.ts @@ -20,6 +20,18 @@ declare namespace GoogleAppsScript { */ export enum Access { ANYONE, ANYONE_WITH_LINK, DOMAIN, DOMAIN_WITH_LINK, PRIVATE } + /** + * An enum representing the permissions granted to users who can access a file or folder, besides + * any individual users who have been explicitly given access. These properties can be accessed from + * DriveApp.Permission. + * + * // Creates a folder that anyone on the Internet can read from and write to. (Domain + * // administrators can prohibit this setting for users of a G Suite domain.) + * var folder = DriveApp.createFolder('Shared Folder'); + * folder.setSharing(DriveApp.Access.ANYONE, DriveApp.Permission.EDIT); + */ + export enum Permission { VIEW, EDIT, COMMENT, OWNER, ORGANIZER, NONE } + /** * Allows scripts to create, find, and modify files and folders in Google Drive. * @@ -33,29 +45,104 @@ declare namespace GoogleAppsScript { export interface DriveApp { Access: typeof Access; Permission: typeof Permission; + /** + * Adds the given file to the root of the user's Drive. + * This method does not move the file out of its existing parent folder; + * a file can have more than one parent simultaneously. + */ addFile(child: File): Folder; + /** + * Adds the given folder to the root of the user's Drive. + * This method does not move the folder out of its existing parent folder; + * a folder can have more than one parent simultaneously. + */ addFolder(child: Folder): Folder; + /** + * Resumes a file iteration using a continuation token from a previous iterator. + * This method is useful if processing an iterator in one execution would exceed + * the maximum execution time. Continuation tokens are generally valid for one week. + */ continueFileIterator(continuationToken: string): FileIterator; + /** + * Resumes a folder iteration using a continuation token from a previous iterator. + * This method is useful if processing an iterator in one execution would exceed + * the maximum execution time. Continuation tokens are generally valid for one week. + */ continueFolderIterator(continuationToken: string): FolderIterator; + /** Creates a file in the root of the user's Drive from a given Blob of arbitrary data. */ createFile(blob: Base.BlobSource): File; + /** + * Creates a text file in the root of the user's Drive with the given name + * and contents. Throws an exception if content is larger than 50 MB. + */ createFile(name: string, content: string): File; + /** + * Creates a file in the root of the user's Drive with the given name, contents, and MIME type. + * Throws an exception if content is larger than 10MB. + */ createFile(name: string, content: string, mimeType: string): File; + /** Creates a folder in the root of the user's Drive with the given name. */ createFolder(name: string): Folder; + /** + * Gets the file with the given ID. + * Throws a scripting exception if the file does not exist or + * the user does not have permission to access it. + */ getFileById(id: string): File; + /** Gets a collection of all files in the user's Drive. */ getFiles(): FileIterator; + /** Gets a collection of all files in the user's Drive that have the given name. */ getFilesByName(name: string): FileIterator; + /** Gets a collection of all files in the user's Drive that have the given MIME type. */ getFilesByType(mimeType: string): FileIterator; + /** + * Gets the folder with the given ID. Throws a scripting exception if the folder + * does not exist or the user does not have permission to access it. + */ getFolderById(id: string): Folder; + /** Gets a collection of all folders in the user's Drive. */ getFolders(): FolderIterator; + /** Gets a collection of all folders in the user's Drive that have the given name. */ getFoldersByName(name: string): FolderIterator; + /** Gets the folder at the root of the user's Drive. */ getRootFolder(): Folder; + /** Gets the number of bytes the user is allowed to store in Drive. */ getStorageLimit(): Integer; + /** Gets the number of bytes the user is currently storing in Drive. */ getStorageUsed(): Integer; + /** Gets a collection of all the files in the trash of the user's Drive. */ getTrashedFiles(): FileIterator; + /** Gets a collection of all the folders in the trash of the user's Drive. */ getTrashedFolders(): FolderIterator; + /** + * Removes the given file from the root of the user's Drive. + * This method does not delete the file, but if a file is removed from all + * of its parents, it cannot be seen in Drive except by searching for it + * or using the "All items" view. + */ removeFile(child: File): Folder; + /** + * Removes the given folder from the root of the user's Drive. + * This method does not delete the folder or its contents, but if a folder + * is removed from all of its parents, it cannot be seen in Drive except + * by searching for it or using the "All items" view. + */ removeFolder(child: Folder): Folder; + /** + * Gets a collection of all files in the user's Drive that match the given search criteria. + * The search criteria are detailed the Google Drive SDK documentation. + * Note that the params argument is a query string that may contain string values, + * so take care to escape quotation marks correctly + * (for example "title contains 'Gulliver\\'s Travels'" or 'title contains "Gulliver\'s Travels"'). + */ searchFiles(params: string): FileIterator; + /** + * Gets a collection of all folders in the user's Drive that match the given search criteria. + * The search criteria are detailed the Google Drive SDK documentation. + * Note that the params argument is a query string that may contain string values, + * so take care to escape quotation marks correctly + * (for example "title contains 'Gulliver\\'s Travels'" or 'title contains "Gulliver\'s Travels"'). + */ searchFolders(params: string): FolderIterator; } @@ -139,8 +226,18 @@ declare namespace GoogleAppsScript { * } */ export interface FileIterator { + /** + * Gets a token that can be used to resume this iteration at a later time. + * This method is useful if processing an iterator in one execution would + * exceed the maximum execution time. Continuation tokens are generally valid for one week. + */ getContinuationToken(): string; + /** Determines whether calling next() will return an item. */ hasNext(): boolean; + /** + * Gets the next item in the collection of files or folders. + * Throws an exception if no items remain. + */ next(): File; } @@ -222,23 +319,21 @@ declare namespace GoogleAppsScript { * } */ export interface FolderIterator { + /** + * Gets a token that can be used to resume this iteration at a later time. + * This method is useful if processing an iterator in one execution would + * exceed the maximum execution time. Continuation tokens are generally valid for one week. + */ getContinuationToken(): string; + /** Determines whether calling next() will return an item. */ hasNext(): boolean; + /** + * Gets the next item in the collection of files or folders. + * Throws an exception if no items remain. + */ next(): Folder; } - /** - * An enum representing the permissions granted to users who can access a file or folder, besides - * any individual users who have been explicitly given access. These properties can be accessed from - * DriveApp.Permission. - * - * // Creates a folder that anyone on the Internet can read from and write to. (Domain - * // administrators can prohibit this setting for users of a G Suite domain.) - * var folder = DriveApp.createFolder('Shared Folder'); - * folder.setSharing(DriveApp.Access.ANYONE, DriveApp.Permission.EDIT); - */ - export enum Permission { VIEW, EDIT, COMMENT, OWNER, ORGANIZER, NONE } - /** * A user associated with a file in Google Drive. Users can be accessed from * File.getEditors(), Folder.getViewers(), and other methods. @@ -251,10 +346,24 @@ declare namespace GoogleAppsScript { * } */ export interface User { + /** Gets the domain name associated with the user's account. */ getDomain(): string; + /** + * Gets the user's email address. The user's email address is only available + * if the user has chosen to share the address from the Google+ account settings + * page, or if the user belongs to the same domain as the user running the script + * and the domain administrator has allowed all users within the domain to see + * other users' email addresses. + */ getEmail(): string; - getName(): string; - getPhotoUrl(): string; + /** Gets the user's name. This method returns null if the user's name is not available. */ + getName(): string | null; + /** Gets the URL for the user's photo. This method returns null if the user's photo is not available. */ + getPhotoUrl(): string | null; + /** + * Gets the user's email address. + * @deprecated As of June 24, 2013, replaced by getEmail() + */ getUserLoginId(): string; } From 3be08fd7f2545b0a84ed27d754aa94b04873441b Mon Sep 17 00:00:00 2001 From: Nicolas Penin Date: Sat, 30 Sep 2017 08:00:24 +0200 Subject: [PATCH 022/433] fixed CI failures --- types/sequencify/sequencify-tests.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/sequencify/sequencify-tests.ts b/types/sequencify/sequencify-tests.ts index 80907278f1..a39d58c28c 100644 --- a/types/sequencify/sequencify-tests.ts +++ b/types/sequencify/sequencify-tests.ts @@ -4,7 +4,7 @@ import * as sequencify from 'sequencify'; -let items: sequencify.TaskMap = { +const items: sequencify.TaskMap = { a: { name: 'a', dep: [] @@ -24,9 +24,9 @@ let items: sequencify.TaskMap = { }, }; -let names = ['d', 'b', 'c', 'a']; // The names of the items you want arranged, need not be all +const names = ['d', 'b', 'c', 'a']; // The names of the items you want arranged, need not be all -let results: string[] = []; +const results: string[] = []; sequencify(items, names, results); From f0e1cf4cd41fb2c5e2d8b9225e4812c06abb9d59 Mon Sep 17 00:00:00 2001 From: nrlquaker Date: Sat, 30 Sep 2017 11:45:47 +0300 Subject: [PATCH 023/433] Add blob-to-buffer --- types/blob-to-buffer/blob-to-buffer-tests.ts | 6 +++++ types/blob-to-buffer/index.d.ts | 11 ++++++++++ types/blob-to-buffer/tsconfig.json | 23 ++++++++++++++++++++ types/blob-to-buffer/tslint.json | 3 +++ 4 files changed, 43 insertions(+) create mode 100644 types/blob-to-buffer/blob-to-buffer-tests.ts create mode 100644 types/blob-to-buffer/index.d.ts create mode 100644 types/blob-to-buffer/tsconfig.json create mode 100644 types/blob-to-buffer/tslint.json diff --git a/types/blob-to-buffer/blob-to-buffer-tests.ts b/types/blob-to-buffer/blob-to-buffer-tests.ts new file mode 100644 index 0000000000..1be7e54e7f --- /dev/null +++ b/types/blob-to-buffer/blob-to-buffer-tests.ts @@ -0,0 +1,6 @@ +import * as blobToBuffer from "blob-to-buffer"; + +blobToBuffer(new Blob(), (error, buffer) => { + console.log(error); + console.log(buffer); +}); diff --git a/types/blob-to-buffer/index.d.ts b/types/blob-to-buffer/index.d.ts new file mode 100644 index 0000000000..8c8156963e --- /dev/null +++ b/types/blob-to-buffer/index.d.ts @@ -0,0 +1,11 @@ +// Type definitions for blob-to-buffer 1.2 +// Project: https://github.com/feross/blob-to-buffer +// Definitions by: nrlquaker +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 + +/// + +declare function blobToBuffer(blob: Blob, callback: (error: any, buffer: Buffer) => void): void; +declare namespace blobToBuffer {} +export = blobToBuffer; diff --git a/types/blob-to-buffer/tsconfig.json b/types/blob-to-buffer/tsconfig.json new file mode 100644 index 0000000000..8861d219a1 --- /dev/null +++ b/types/blob-to-buffer/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "blob-to-buffer-tests.ts" + ] +} diff --git a/types/blob-to-buffer/tslint.json b/types/blob-to-buffer/tslint.json new file mode 100644 index 0000000000..f93cf8562a --- /dev/null +++ b/types/blob-to-buffer/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "dtslint/dt.json" +} From a3b1c4af47b56bcff4c88ca86397180302df2510 Mon Sep 17 00:00:00 2001 From: Alexis Mangin Date: Mon, 2 Oct 2017 10:00:45 +0100 Subject: [PATCH 024/433] react-native: Update support for Pad and TVOS in Platform --- types/react-native/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 9bde519670..42a1601612 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -5614,7 +5614,7 @@ export interface PixelRatioStatic { */ export type PlatformOSType = 'ios' | 'android' | 'windows' | 'web' -interface PlatformStatic extends PlatformIOSStatic { +interface PlatformStatic { OS: PlatformOSType Version: number @@ -5624,7 +5624,7 @@ interface PlatformStatic extends PlatformIOSStatic { select( specifics: { ios?: T, android?: T} ): T; } -interface PlatformIOSStatic { +interface PlatformIOSStatic extends PlatformStatic { isPad: boolean isTVOS: boolean } @@ -9176,6 +9176,7 @@ interface NativeModulesStatic { */ export var NativeModules: NativeModulesStatic export var Platform: PlatformStatic +export var PlatformIOS: PlatformIOSStatic export var PixelRatio: PixelRatioStatic export interface ComponentInterface

{ From 7d9561b8f2923ec71c0a50ee009b75f8ca057ff6 Mon Sep 17 00:00:00 2001 From: John Reilly Date: Mon, 2 Oct 2017 12:00:54 +0100 Subject: [PATCH 025/433] react-icons now exposes via lib as well (#20191) react-icons now exposes via lib as well as per https://gorangajic.github.io/react-icons/#usage --- types/react-icons/index.d.ts | 1 + types/react-icons/lib/fa/500px.d.ts | 3 + types/react-icons/lib/fa/adjust.d.ts | 3 + types/react-icons/lib/fa/adn.d.ts | 3 + types/react-icons/lib/fa/align-center.d.ts | 3 + types/react-icons/lib/fa/align-justify.d.ts | 3 + types/react-icons/lib/fa/align-left.d.ts | 3 + types/react-icons/lib/fa/align-right.d.ts | 3 + types/react-icons/lib/fa/amazon.d.ts | 3 + types/react-icons/lib/fa/ambulance.d.ts | 3 + .../american-sign-language-interpreting.d.ts | 3 + types/react-icons/lib/fa/anchor.d.ts | 3 + types/react-icons/lib/fa/android.d.ts | 3 + types/react-icons/lib/fa/angellist.d.ts | 3 + .../react-icons/lib/fa/angle-double-down.d.ts | 3 + .../react-icons/lib/fa/angle-double-left.d.ts | 3 + .../lib/fa/angle-double-right.d.ts | 3 + types/react-icons/lib/fa/angle-double-up.d.ts | 3 + types/react-icons/lib/fa/angle-down.d.ts | 3 + types/react-icons/lib/fa/angle-left.d.ts | 3 + types/react-icons/lib/fa/angle-right.d.ts | 3 + types/react-icons/lib/fa/angle-up.d.ts | 3 + types/react-icons/lib/fa/apple.d.ts | 3 + types/react-icons/lib/fa/archive.d.ts | 3 + types/react-icons/lib/fa/area-chart.d.ts | 3 + .../react-icons/lib/fa/arrow-circle-down.d.ts | 3 + .../react-icons/lib/fa/arrow-circle-left.d.ts | 3 + .../lib/fa/arrow-circle-o-down.d.ts | 3 + .../lib/fa/arrow-circle-o-left.d.ts | 3 + .../lib/fa/arrow-circle-o-right.d.ts | 3 + .../react-icons/lib/fa/arrow-circle-o-up.d.ts | 3 + .../lib/fa/arrow-circle-right.d.ts | 3 + types/react-icons/lib/fa/arrow-circle-up.d.ts | 3 + types/react-icons/lib/fa/arrow-down.d.ts | 3 + types/react-icons/lib/fa/arrow-left.d.ts | 3 + types/react-icons/lib/fa/arrow-right.d.ts | 3 + types/react-icons/lib/fa/arrow-up.d.ts | 3 + types/react-icons/lib/fa/arrows-alt.d.ts | 3 + types/react-icons/lib/fa/arrows-h.d.ts | 3 + types/react-icons/lib/fa/arrows-v.d.ts | 3 + types/react-icons/lib/fa/arrows.d.ts | 3 + .../lib/fa/assistive-listening-systems.d.ts | 3 + types/react-icons/lib/fa/asterisk.d.ts | 3 + types/react-icons/lib/fa/at.d.ts | 3 + .../react-icons/lib/fa/audio-description.d.ts | 3 + types/react-icons/lib/fa/automobile.d.ts | 3 + types/react-icons/lib/fa/backward.d.ts | 3 + types/react-icons/lib/fa/balance-scale.d.ts | 3 + types/react-icons/lib/fa/ban.d.ts | 3 + types/react-icons/lib/fa/bank.d.ts | 3 + types/react-icons/lib/fa/bar-chart.d.ts | 3 + types/react-icons/lib/fa/barcode.d.ts | 3 + types/react-icons/lib/fa/bars.d.ts | 3 + types/react-icons/lib/fa/battery-0.d.ts | 3 + types/react-icons/lib/fa/battery-1.d.ts | 3 + types/react-icons/lib/fa/battery-2.d.ts | 3 + types/react-icons/lib/fa/battery-3.d.ts | 3 + types/react-icons/lib/fa/battery-4.d.ts | 3 + types/react-icons/lib/fa/bed.d.ts | 3 + types/react-icons/lib/fa/beer.d.ts | 3 + types/react-icons/lib/fa/behance-square.d.ts | 3 + types/react-icons/lib/fa/behance.d.ts | 3 + types/react-icons/lib/fa/bell-o.d.ts | 3 + types/react-icons/lib/fa/bell-slash-o.d.ts | 3 + types/react-icons/lib/fa/bell-slash.d.ts | 3 + types/react-icons/lib/fa/bell.d.ts | 3 + types/react-icons/lib/fa/bicycle.d.ts | 3 + types/react-icons/lib/fa/binoculars.d.ts | 3 + types/react-icons/lib/fa/birthday-cake.d.ts | 3 + .../react-icons/lib/fa/bitbucket-square.d.ts | 3 + types/react-icons/lib/fa/bitbucket.d.ts | 3 + types/react-icons/lib/fa/bitcoin.d.ts | 3 + types/react-icons/lib/fa/black-tie.d.ts | 3 + types/react-icons/lib/fa/blind.d.ts | 3 + types/react-icons/lib/fa/bluetooth-b.d.ts | 3 + types/react-icons/lib/fa/bluetooth.d.ts | 3 + types/react-icons/lib/fa/bold.d.ts | 3 + types/react-icons/lib/fa/bolt.d.ts | 3 + types/react-icons/lib/fa/bomb.d.ts | 3 + types/react-icons/lib/fa/book.d.ts | 3 + types/react-icons/lib/fa/bookmark-o.d.ts | 3 + types/react-icons/lib/fa/bookmark.d.ts | 3 + types/react-icons/lib/fa/braille.d.ts | 3 + types/react-icons/lib/fa/briefcase.d.ts | 3 + types/react-icons/lib/fa/bug.d.ts | 3 + types/react-icons/lib/fa/building-o.d.ts | 3 + types/react-icons/lib/fa/building.d.ts | 3 + types/react-icons/lib/fa/bullhorn.d.ts | 3 + types/react-icons/lib/fa/bullseye.d.ts | 3 + types/react-icons/lib/fa/bus.d.ts | 3 + types/react-icons/lib/fa/buysellads.d.ts | 3 + types/react-icons/lib/fa/cab.d.ts | 3 + types/react-icons/lib/fa/calculator.d.ts | 3 + .../react-icons/lib/fa/calendar-check-o.d.ts | 3 + .../react-icons/lib/fa/calendar-minus-o.d.ts | 3 + types/react-icons/lib/fa/calendar-o.d.ts | 3 + types/react-icons/lib/fa/calendar-plus-o.d.ts | 3 + .../react-icons/lib/fa/calendar-times-o.d.ts | 3 + types/react-icons/lib/fa/calendar.d.ts | 3 + types/react-icons/lib/fa/camera-retro.d.ts | 3 + types/react-icons/lib/fa/camera.d.ts | 3 + types/react-icons/lib/fa/caret-down.d.ts | 3 + types/react-icons/lib/fa/caret-left.d.ts | 3 + types/react-icons/lib/fa/caret-right.d.ts | 3 + .../lib/fa/caret-square-o-down.d.ts | 3 + .../lib/fa/caret-square-o-left.d.ts | 3 + .../lib/fa/caret-square-o-right.d.ts | 3 + .../react-icons/lib/fa/caret-square-o-up.d.ts | 3 + types/react-icons/lib/fa/caret-up.d.ts | 3 + types/react-icons/lib/fa/cart-arrow-down.d.ts | 3 + types/react-icons/lib/fa/cart-plus.d.ts | 3 + types/react-icons/lib/fa/cc-amex.d.ts | 3 + types/react-icons/lib/fa/cc-diners-club.d.ts | 3 + types/react-icons/lib/fa/cc-discover.d.ts | 3 + types/react-icons/lib/fa/cc-jcb.d.ts | 3 + types/react-icons/lib/fa/cc-mastercard.d.ts | 3 + types/react-icons/lib/fa/cc-paypal.d.ts | 3 + types/react-icons/lib/fa/cc-stripe.d.ts | 3 + types/react-icons/lib/fa/cc-visa.d.ts | 3 + types/react-icons/lib/fa/cc.d.ts | 3 + types/react-icons/lib/fa/certificate.d.ts | 3 + types/react-icons/lib/fa/chain-broken.d.ts | 3 + types/react-icons/lib/fa/chain.d.ts | 3 + types/react-icons/lib/fa/check-circle-o.d.ts | 3 + types/react-icons/lib/fa/check-circle.d.ts | 3 + types/react-icons/lib/fa/check-square-o.d.ts | 3 + types/react-icons/lib/fa/check-square.d.ts | 3 + types/react-icons/lib/fa/check.d.ts | 3 + .../lib/fa/chevron-circle-down.d.ts | 3 + .../lib/fa/chevron-circle-left.d.ts | 3 + .../lib/fa/chevron-circle-right.d.ts | 3 + .../react-icons/lib/fa/chevron-circle-up.d.ts | 3 + types/react-icons/lib/fa/chevron-down.d.ts | 3 + types/react-icons/lib/fa/chevron-left.d.ts | 3 + types/react-icons/lib/fa/chevron-right.d.ts | 3 + types/react-icons/lib/fa/chevron-up.d.ts | 3 + types/react-icons/lib/fa/child.d.ts | 3 + types/react-icons/lib/fa/chrome.d.ts | 3 + types/react-icons/lib/fa/circle-o-notch.d.ts | 3 + types/react-icons/lib/fa/circle-o.d.ts | 3 + types/react-icons/lib/fa/circle-thin.d.ts | 3 + types/react-icons/lib/fa/circle.d.ts | 3 + types/react-icons/lib/fa/clipboard.d.ts | 3 + types/react-icons/lib/fa/clock-o.d.ts | 3 + types/react-icons/lib/fa/clone.d.ts | 3 + types/react-icons/lib/fa/close.d.ts | 3 + types/react-icons/lib/fa/cloud-download.d.ts | 3 + types/react-icons/lib/fa/cloud-upload.d.ts | 3 + types/react-icons/lib/fa/cloud.d.ts | 3 + types/react-icons/lib/fa/cny.d.ts | 3 + types/react-icons/lib/fa/code-fork.d.ts | 3 + types/react-icons/lib/fa/code.d.ts | 3 + types/react-icons/lib/fa/codepen.d.ts | 3 + types/react-icons/lib/fa/codiepie.d.ts | 3 + types/react-icons/lib/fa/coffee.d.ts | 3 + types/react-icons/lib/fa/cog.d.ts | 3 + types/react-icons/lib/fa/cogs.d.ts | 3 + types/react-icons/lib/fa/columns.d.ts | 3 + types/react-icons/lib/fa/comment-o.d.ts | 3 + types/react-icons/lib/fa/comment.d.ts | 3 + types/react-icons/lib/fa/commenting-o.d.ts | 3 + types/react-icons/lib/fa/commenting.d.ts | 3 + types/react-icons/lib/fa/comments-o.d.ts | 3 + types/react-icons/lib/fa/comments.d.ts | 3 + types/react-icons/lib/fa/compass.d.ts | 3 + types/react-icons/lib/fa/compress.d.ts | 3 + types/react-icons/lib/fa/connectdevelop.d.ts | 3 + types/react-icons/lib/fa/contao.d.ts | 3 + types/react-icons/lib/fa/copy.d.ts | 3 + types/react-icons/lib/fa/copyright.d.ts | 3 + .../react-icons/lib/fa/creative-commons.d.ts | 3 + types/react-icons/lib/fa/credit-card-alt.d.ts | 3 + types/react-icons/lib/fa/credit-card.d.ts | 3 + types/react-icons/lib/fa/crop.d.ts | 3 + types/react-icons/lib/fa/crosshairs.d.ts | 3 + types/react-icons/lib/fa/css3.d.ts | 3 + types/react-icons/lib/fa/cube.d.ts | 3 + types/react-icons/lib/fa/cubes.d.ts | 3 + types/react-icons/lib/fa/cut.d.ts | 3 + types/react-icons/lib/fa/cutlery.d.ts | 3 + types/react-icons/lib/fa/dashboard.d.ts | 3 + types/react-icons/lib/fa/dashcube.d.ts | 3 + types/react-icons/lib/fa/database.d.ts | 3 + types/react-icons/lib/fa/deaf.d.ts | 3 + types/react-icons/lib/fa/dedent.d.ts | 3 + types/react-icons/lib/fa/delicious.d.ts | 3 + types/react-icons/lib/fa/desktop.d.ts | 3 + types/react-icons/lib/fa/deviantart.d.ts | 3 + types/react-icons/lib/fa/diamond.d.ts | 3 + types/react-icons/lib/fa/digg.d.ts | 3 + types/react-icons/lib/fa/dollar.d.ts | 3 + types/react-icons/lib/fa/dot-circle-o.d.ts | 3 + types/react-icons/lib/fa/download.d.ts | 3 + types/react-icons/lib/fa/dribbble.d.ts | 3 + types/react-icons/lib/fa/dropbox.d.ts | 3 + types/react-icons/lib/fa/drupal.d.ts | 3 + types/react-icons/lib/fa/edge.d.ts | 3 + types/react-icons/lib/fa/edit.d.ts | 3 + types/react-icons/lib/fa/eject.d.ts | 3 + types/react-icons/lib/fa/ellipsis-h.d.ts | 3 + types/react-icons/lib/fa/ellipsis-v.d.ts | 3 + types/react-icons/lib/fa/empire.d.ts | 3 + types/react-icons/lib/fa/envelope-o.d.ts | 3 + types/react-icons/lib/fa/envelope-square.d.ts | 3 + types/react-icons/lib/fa/envelope.d.ts | 3 + types/react-icons/lib/fa/envira.d.ts | 3 + types/react-icons/lib/fa/eraser.d.ts | 3 + types/react-icons/lib/fa/eur.d.ts | 3 + types/react-icons/lib/fa/exchange.d.ts | 3 + .../lib/fa/exclamation-circle.d.ts | 3 + .../lib/fa/exclamation-triangle.d.ts | 3 + types/react-icons/lib/fa/exclamation.d.ts | 3 + types/react-icons/lib/fa/expand.d.ts | 3 + types/react-icons/lib/fa/expeditedssl.d.ts | 3 + .../lib/fa/external-link-square.d.ts | 3 + types/react-icons/lib/fa/external-link.d.ts | 3 + types/react-icons/lib/fa/eye-slash.d.ts | 3 + types/react-icons/lib/fa/eye.d.ts | 3 + types/react-icons/lib/fa/eyedropper.d.ts | 3 + .../react-icons/lib/fa/facebook-official.d.ts | 3 + types/react-icons/lib/fa/facebook-square.d.ts | 3 + types/react-icons/lib/fa/facebook.d.ts | 3 + types/react-icons/lib/fa/fast-backward.d.ts | 3 + types/react-icons/lib/fa/fast-forward.d.ts | 3 + types/react-icons/lib/fa/fax.d.ts | 3 + types/react-icons/lib/fa/feed.d.ts | 3 + types/react-icons/lib/fa/female.d.ts | 3 + types/react-icons/lib/fa/fighter-jet.d.ts | 3 + types/react-icons/lib/fa/file-archive-o.d.ts | 3 + types/react-icons/lib/fa/file-audio-o.d.ts | 3 + types/react-icons/lib/fa/file-code-o.d.ts | 3 + types/react-icons/lib/fa/file-excel-o.d.ts | 3 + types/react-icons/lib/fa/file-image-o.d.ts | 3 + types/react-icons/lib/fa/file-movie-o.d.ts | 3 + types/react-icons/lib/fa/file-o.d.ts | 3 + types/react-icons/lib/fa/file-pdf-o.d.ts | 3 + .../react-icons/lib/fa/file-powerpoint-o.d.ts | 3 + types/react-icons/lib/fa/file-text-o.d.ts | 3 + types/react-icons/lib/fa/file-text.d.ts | 3 + types/react-icons/lib/fa/file-word-o.d.ts | 3 + types/react-icons/lib/fa/file.d.ts | 3 + types/react-icons/lib/fa/film.d.ts | 3 + types/react-icons/lib/fa/filter.d.ts | 3 + .../react-icons/lib/fa/fire-extinguisher.d.ts | 3 + types/react-icons/lib/fa/fire.d.ts | 3 + types/react-icons/lib/fa/firefox.d.ts | 3 + types/react-icons/lib/fa/flag-checkered.d.ts | 3 + types/react-icons/lib/fa/flag-o.d.ts | 3 + types/react-icons/lib/fa/flag.d.ts | 3 + types/react-icons/lib/fa/flask.d.ts | 3 + types/react-icons/lib/fa/flickr.d.ts | 3 + types/react-icons/lib/fa/floppy-o.d.ts | 3 + types/react-icons/lib/fa/folder-o.d.ts | 3 + types/react-icons/lib/fa/folder-open-o.d.ts | 3 + types/react-icons/lib/fa/folder-open.d.ts | 3 + types/react-icons/lib/fa/folder.d.ts | 3 + types/react-icons/lib/fa/font.d.ts | 3 + types/react-icons/lib/fa/fonticons.d.ts | 3 + types/react-icons/lib/fa/fort-awesome.d.ts | 3 + types/react-icons/lib/fa/forumbee.d.ts | 3 + types/react-icons/lib/fa/forward.d.ts | 3 + types/react-icons/lib/fa/foursquare.d.ts | 3 + types/react-icons/lib/fa/frown-o.d.ts | 3 + types/react-icons/lib/fa/futbol-o.d.ts | 3 + types/react-icons/lib/fa/gamepad.d.ts | 3 + types/react-icons/lib/fa/gavel.d.ts | 3 + types/react-icons/lib/fa/gbp.d.ts | 3 + types/react-icons/lib/fa/genderless.d.ts | 3 + types/react-icons/lib/fa/get-pocket.d.ts | 3 + types/react-icons/lib/fa/gg-circle.d.ts | 3 + types/react-icons/lib/fa/gg.d.ts | 3 + types/react-icons/lib/fa/gift.d.ts | 3 + types/react-icons/lib/fa/git-square.d.ts | 3 + types/react-icons/lib/fa/git.d.ts | 3 + types/react-icons/lib/fa/github-alt.d.ts | 3 + types/react-icons/lib/fa/github-square.d.ts | 3 + types/react-icons/lib/fa/github.d.ts | 3 + types/react-icons/lib/fa/gitlab.d.ts | 3 + types/react-icons/lib/fa/gittip.d.ts | 3 + types/react-icons/lib/fa/glass.d.ts | 3 + types/react-icons/lib/fa/glide-g.d.ts | 3 + types/react-icons/lib/fa/glide.d.ts | 3 + types/react-icons/lib/fa/globe.d.ts | 3 + .../lib/fa/google-plus-square.d.ts | 3 + types/react-icons/lib/fa/google-plus.d.ts | 3 + types/react-icons/lib/fa/google-wallet.d.ts | 3 + types/react-icons/lib/fa/google.d.ts | 3 + types/react-icons/lib/fa/graduation-cap.d.ts | 3 + types/react-icons/lib/fa/group.d.ts | 3 + types/react-icons/lib/fa/h-square.d.ts | 3 + types/react-icons/lib/fa/hacker-news.d.ts | 3 + types/react-icons/lib/fa/hand-grab-o.d.ts | 3 + types/react-icons/lib/fa/hand-lizard-o.d.ts | 3 + types/react-icons/lib/fa/hand-o-down.d.ts | 3 + types/react-icons/lib/fa/hand-o-left.d.ts | 3 + types/react-icons/lib/fa/hand-o-right.d.ts | 3 + types/react-icons/lib/fa/hand-o-up.d.ts | 3 + types/react-icons/lib/fa/hand-paper-o.d.ts | 3 + types/react-icons/lib/fa/hand-peace-o.d.ts | 3 + types/react-icons/lib/fa/hand-pointer-o.d.ts | 3 + types/react-icons/lib/fa/hand-scissors-o.d.ts | 3 + types/react-icons/lib/fa/hand-spock-o.d.ts | 3 + types/react-icons/lib/fa/hashtag.d.ts | 3 + types/react-icons/lib/fa/hdd-o.d.ts | 3 + types/react-icons/lib/fa/header.d.ts | 3 + types/react-icons/lib/fa/headphones.d.ts | 3 + types/react-icons/lib/fa/heart-o.d.ts | 3 + types/react-icons/lib/fa/heart.d.ts | 3 + types/react-icons/lib/fa/heartbeat.d.ts | 3 + types/react-icons/lib/fa/history.d.ts | 3 + types/react-icons/lib/fa/home.d.ts | 3 + types/react-icons/lib/fa/hospital-o.d.ts | 3 + types/react-icons/lib/fa/hourglass-1.d.ts | 3 + types/react-icons/lib/fa/hourglass-2.d.ts | 3 + types/react-icons/lib/fa/hourglass-3.d.ts | 3 + types/react-icons/lib/fa/hourglass-o.d.ts | 3 + types/react-icons/lib/fa/hourglass.d.ts | 3 + types/react-icons/lib/fa/houzz.d.ts | 3 + types/react-icons/lib/fa/html5.d.ts | 3 + types/react-icons/lib/fa/i-cursor.d.ts | 3 + types/react-icons/lib/fa/ils.d.ts | 3 + types/react-icons/lib/fa/image.d.ts | 3 + types/react-icons/lib/fa/inbox.d.ts | 3 + types/react-icons/lib/fa/indent.d.ts | 3 + types/react-icons/lib/fa/index.d.ts | 628 ++++ types/react-icons/lib/fa/industry.d.ts | 3 + types/react-icons/lib/fa/info-circle.d.ts | 3 + types/react-icons/lib/fa/info.d.ts | 3 + types/react-icons/lib/fa/inr.d.ts | 3 + types/react-icons/lib/fa/instagram.d.ts | 3 + .../react-icons/lib/fa/internet-explorer.d.ts | 3 + types/react-icons/lib/fa/intersex.d.ts | 3 + types/react-icons/lib/fa/ioxhost.d.ts | 3 + types/react-icons/lib/fa/italic.d.ts | 3 + types/react-icons/lib/fa/joomla.d.ts | 3 + types/react-icons/lib/fa/jsfiddle.d.ts | 3 + types/react-icons/lib/fa/key.d.ts | 3 + types/react-icons/lib/fa/keyboard-o.d.ts | 3 + types/react-icons/lib/fa/krw.d.ts | 3 + types/react-icons/lib/fa/language.d.ts | 3 + types/react-icons/lib/fa/laptop.d.ts | 3 + types/react-icons/lib/fa/lastfm-square.d.ts | 3 + types/react-icons/lib/fa/lastfm.d.ts | 3 + types/react-icons/lib/fa/leaf.d.ts | 3 + types/react-icons/lib/fa/leanpub.d.ts | 3 + types/react-icons/lib/fa/lemon-o.d.ts | 3 + types/react-icons/lib/fa/level-down.d.ts | 3 + types/react-icons/lib/fa/level-up.d.ts | 3 + types/react-icons/lib/fa/life-bouy.d.ts | 3 + types/react-icons/lib/fa/lightbulb-o.d.ts | 3 + types/react-icons/lib/fa/line-chart.d.ts | 3 + types/react-icons/lib/fa/linkedin-square.d.ts | 3 + types/react-icons/lib/fa/linkedin.d.ts | 3 + types/react-icons/lib/fa/linux.d.ts | 3 + types/react-icons/lib/fa/list-alt.d.ts | 3 + types/react-icons/lib/fa/list-ol.d.ts | 3 + types/react-icons/lib/fa/list-ul.d.ts | 3 + types/react-icons/lib/fa/list.d.ts | 3 + types/react-icons/lib/fa/location-arrow.d.ts | 3 + types/react-icons/lib/fa/lock.d.ts | 3 + types/react-icons/lib/fa/long-arrow-down.d.ts | 3 + types/react-icons/lib/fa/long-arrow-left.d.ts | 3 + .../react-icons/lib/fa/long-arrow-right.d.ts | 3 + types/react-icons/lib/fa/long-arrow-up.d.ts | 3 + types/react-icons/lib/fa/low-vision.d.ts | 3 + types/react-icons/lib/fa/magic.d.ts | 3 + types/react-icons/lib/fa/magnet.d.ts | 3 + types/react-icons/lib/fa/mail-forward.d.ts | 3 + types/react-icons/lib/fa/mail-reply-all.d.ts | 3 + types/react-icons/lib/fa/mail-reply.d.ts | 3 + types/react-icons/lib/fa/male.d.ts | 3 + types/react-icons/lib/fa/map-marker.d.ts | 3 + types/react-icons/lib/fa/map-o.d.ts | 3 + types/react-icons/lib/fa/map-pin.d.ts | 3 + types/react-icons/lib/fa/map-signs.d.ts | 3 + types/react-icons/lib/fa/map.d.ts | 3 + types/react-icons/lib/fa/mars-double.d.ts | 3 + types/react-icons/lib/fa/mars-stroke-h.d.ts | 3 + types/react-icons/lib/fa/mars-stroke-v.d.ts | 3 + types/react-icons/lib/fa/mars-stroke.d.ts | 3 + types/react-icons/lib/fa/mars.d.ts | 3 + types/react-icons/lib/fa/maxcdn.d.ts | 3 + types/react-icons/lib/fa/meanpath.d.ts | 3 + types/react-icons/lib/fa/medium.d.ts | 3 + types/react-icons/lib/fa/medkit.d.ts | 3 + types/react-icons/lib/fa/meh-o.d.ts | 3 + types/react-icons/lib/fa/mercury.d.ts | 3 + .../react-icons/lib/fa/microphone-slash.d.ts | 3 + types/react-icons/lib/fa/microphone.d.ts | 3 + types/react-icons/lib/fa/minus-circle.d.ts | 3 + types/react-icons/lib/fa/minus-square-o.d.ts | 3 + types/react-icons/lib/fa/minus-square.d.ts | 3 + types/react-icons/lib/fa/minus.d.ts | 3 + types/react-icons/lib/fa/mixcloud.d.ts | 3 + types/react-icons/lib/fa/mobile.d.ts | 3 + types/react-icons/lib/fa/modx.d.ts | 3 + types/react-icons/lib/fa/money.d.ts | 3 + types/react-icons/lib/fa/moon-o.d.ts | 3 + types/react-icons/lib/fa/motorcycle.d.ts | 3 + types/react-icons/lib/fa/mouse-pointer.d.ts | 3 + types/react-icons/lib/fa/music.d.ts | 3 + types/react-icons/lib/fa/neuter.d.ts | 3 + types/react-icons/lib/fa/newspaper-o.d.ts | 3 + types/react-icons/lib/fa/object-group.d.ts | 3 + types/react-icons/lib/fa/object-ungroup.d.ts | 3 + .../lib/fa/odnoklassniki-square.d.ts | 3 + types/react-icons/lib/fa/odnoklassniki.d.ts | 3 + types/react-icons/lib/fa/opencart.d.ts | 3 + types/react-icons/lib/fa/openid.d.ts | 3 + types/react-icons/lib/fa/opera.d.ts | 3 + types/react-icons/lib/fa/optin-monster.d.ts | 3 + types/react-icons/lib/fa/pagelines.d.ts | 3 + types/react-icons/lib/fa/paint-brush.d.ts | 3 + types/react-icons/lib/fa/paper-plane-o.d.ts | 3 + types/react-icons/lib/fa/paper-plane.d.ts | 3 + types/react-icons/lib/fa/paperclip.d.ts | 3 + types/react-icons/lib/fa/paragraph.d.ts | 3 + types/react-icons/lib/fa/pause-circle-o.d.ts | 3 + types/react-icons/lib/fa/pause-circle.d.ts | 3 + types/react-icons/lib/fa/pause.d.ts | 3 + types/react-icons/lib/fa/paw.d.ts | 3 + types/react-icons/lib/fa/paypal.d.ts | 3 + types/react-icons/lib/fa/pencil-square.d.ts | 3 + types/react-icons/lib/fa/pencil.d.ts | 3 + types/react-icons/lib/fa/percent.d.ts | 3 + types/react-icons/lib/fa/phone-square.d.ts | 3 + types/react-icons/lib/fa/phone.d.ts | 3 + types/react-icons/lib/fa/pie-chart.d.ts | 3 + types/react-icons/lib/fa/pied-piper-alt.d.ts | 3 + types/react-icons/lib/fa/pied-piper.d.ts | 3 + types/react-icons/lib/fa/pinterest-p.d.ts | 3 + .../react-icons/lib/fa/pinterest-square.d.ts | 3 + types/react-icons/lib/fa/pinterest.d.ts | 3 + types/react-icons/lib/fa/plane.d.ts | 3 + types/react-icons/lib/fa/play-circle-o.d.ts | 3 + types/react-icons/lib/fa/play-circle.d.ts | 3 + types/react-icons/lib/fa/play.d.ts | 3 + types/react-icons/lib/fa/plug.d.ts | 3 + types/react-icons/lib/fa/plus-circle.d.ts | 3 + types/react-icons/lib/fa/plus-square-o.d.ts | 3 + types/react-icons/lib/fa/plus-square.d.ts | 3 + types/react-icons/lib/fa/plus.d.ts | 3 + types/react-icons/lib/fa/power-off.d.ts | 3 + types/react-icons/lib/fa/print.d.ts | 3 + types/react-icons/lib/fa/product-hunt.d.ts | 3 + types/react-icons/lib/fa/puzzle-piece.d.ts | 3 + types/react-icons/lib/fa/qq.d.ts | 3 + types/react-icons/lib/fa/qrcode.d.ts | 3 + .../react-icons/lib/fa/question-circle-o.d.ts | 3 + types/react-icons/lib/fa/question-circle.d.ts | 3 + types/react-icons/lib/fa/question.d.ts | 3 + types/react-icons/lib/fa/quote-left.d.ts | 3 + types/react-icons/lib/fa/quote-right.d.ts | 3 + types/react-icons/lib/fa/ra.d.ts | 3 + types/react-icons/lib/fa/random.d.ts | 3 + types/react-icons/lib/fa/recycle.d.ts | 3 + types/react-icons/lib/fa/reddit-alien.d.ts | 3 + types/react-icons/lib/fa/reddit-square.d.ts | 3 + types/react-icons/lib/fa/reddit.d.ts | 3 + types/react-icons/lib/fa/refresh.d.ts | 3 + types/react-icons/lib/fa/registered.d.ts | 3 + types/react-icons/lib/fa/renren.d.ts | 3 + types/react-icons/lib/fa/repeat.d.ts | 3 + types/react-icons/lib/fa/retweet.d.ts | 3 + types/react-icons/lib/fa/road.d.ts | 3 + types/react-icons/lib/fa/rocket.d.ts | 3 + types/react-icons/lib/fa/rotate-left.d.ts | 3 + types/react-icons/lib/fa/rouble.d.ts | 3 + types/react-icons/lib/fa/rss-square.d.ts | 3 + types/react-icons/lib/fa/safari.d.ts | 3 + types/react-icons/lib/fa/scribd.d.ts | 3 + types/react-icons/lib/fa/search-minus.d.ts | 3 + types/react-icons/lib/fa/search-plus.d.ts | 3 + types/react-icons/lib/fa/search.d.ts | 3 + types/react-icons/lib/fa/sellsy.d.ts | 3 + types/react-icons/lib/fa/server.d.ts | 3 + .../react-icons/lib/fa/share-alt-square.d.ts | 3 + types/react-icons/lib/fa/share-alt.d.ts | 3 + types/react-icons/lib/fa/share-square-o.d.ts | 3 + types/react-icons/lib/fa/share-square.d.ts | 3 + types/react-icons/lib/fa/shield.d.ts | 3 + types/react-icons/lib/fa/ship.d.ts | 3 + types/react-icons/lib/fa/shirtsinbulk.d.ts | 3 + types/react-icons/lib/fa/shopping-bag.d.ts | 3 + types/react-icons/lib/fa/shopping-basket.d.ts | 3 + types/react-icons/lib/fa/shopping-cart.d.ts | 3 + types/react-icons/lib/fa/sign-in.d.ts | 3 + types/react-icons/lib/fa/sign-language.d.ts | 3 + types/react-icons/lib/fa/sign-out.d.ts | 3 + types/react-icons/lib/fa/signal.d.ts | 3 + types/react-icons/lib/fa/simplybuilt.d.ts | 3 + types/react-icons/lib/fa/sitemap.d.ts | 3 + types/react-icons/lib/fa/skyatlas.d.ts | 3 + types/react-icons/lib/fa/skype.d.ts | 3 + types/react-icons/lib/fa/slack.d.ts | 3 + types/react-icons/lib/fa/sliders.d.ts | 3 + types/react-icons/lib/fa/slideshare.d.ts | 3 + types/react-icons/lib/fa/smile-o.d.ts | 3 + types/react-icons/lib/fa/snapchat-ghost.d.ts | 3 + types/react-icons/lib/fa/snapchat-square.d.ts | 3 + types/react-icons/lib/fa/snapchat.d.ts | 3 + types/react-icons/lib/fa/sort-alpha-asc.d.ts | 3 + types/react-icons/lib/fa/sort-alpha-desc.d.ts | 3 + types/react-icons/lib/fa/sort-amount-asc.d.ts | 3 + .../react-icons/lib/fa/sort-amount-desc.d.ts | 3 + types/react-icons/lib/fa/sort-asc.d.ts | 3 + types/react-icons/lib/fa/sort-desc.d.ts | 3 + .../react-icons/lib/fa/sort-numeric-asc.d.ts | 3 + .../react-icons/lib/fa/sort-numeric-desc.d.ts | 3 + types/react-icons/lib/fa/sort.d.ts | 3 + types/react-icons/lib/fa/soundcloud.d.ts | 3 + types/react-icons/lib/fa/space-shuttle.d.ts | 3 + types/react-icons/lib/fa/spinner.d.ts | 3 + types/react-icons/lib/fa/spoon.d.ts | 3 + types/react-icons/lib/fa/spotify.d.ts | 3 + types/react-icons/lib/fa/square-o.d.ts | 3 + types/react-icons/lib/fa/square.d.ts | 3 + types/react-icons/lib/fa/stack-exchange.d.ts | 3 + types/react-icons/lib/fa/stack-overflow.d.ts | 3 + types/react-icons/lib/fa/star-half-empty.d.ts | 3 + types/react-icons/lib/fa/star-half.d.ts | 3 + types/react-icons/lib/fa/star-o.d.ts | 3 + types/react-icons/lib/fa/star.d.ts | 3 + types/react-icons/lib/fa/steam-square.d.ts | 3 + types/react-icons/lib/fa/steam.d.ts | 3 + types/react-icons/lib/fa/step-backward.d.ts | 3 + types/react-icons/lib/fa/step-forward.d.ts | 3 + types/react-icons/lib/fa/stethoscope.d.ts | 3 + types/react-icons/lib/fa/sticky-note-o.d.ts | 3 + types/react-icons/lib/fa/sticky-note.d.ts | 3 + types/react-icons/lib/fa/stop-circle-o.d.ts | 3 + types/react-icons/lib/fa/stop-circle.d.ts | 3 + types/react-icons/lib/fa/stop.d.ts | 3 + types/react-icons/lib/fa/street-view.d.ts | 3 + types/react-icons/lib/fa/strikethrough.d.ts | 3 + .../lib/fa/stumbleupon-circle.d.ts | 3 + types/react-icons/lib/fa/stumbleupon.d.ts | 3 + types/react-icons/lib/fa/subscript.d.ts | 3 + types/react-icons/lib/fa/subway.d.ts | 3 + types/react-icons/lib/fa/suitcase.d.ts | 3 + types/react-icons/lib/fa/sun-o.d.ts | 3 + types/react-icons/lib/fa/superscript.d.ts | 3 + types/react-icons/lib/fa/table.d.ts | 3 + types/react-icons/lib/fa/tablet.d.ts | 3 + types/react-icons/lib/fa/tag.d.ts | 3 + types/react-icons/lib/fa/tags.d.ts | 3 + types/react-icons/lib/fa/tasks.d.ts | 3 + types/react-icons/lib/fa/television.d.ts | 3 + types/react-icons/lib/fa/tencent-weibo.d.ts | 3 + types/react-icons/lib/fa/terminal.d.ts | 3 + types/react-icons/lib/fa/text-height.d.ts | 3 + types/react-icons/lib/fa/text-width.d.ts | 3 + types/react-icons/lib/fa/th-large.d.ts | 3 + types/react-icons/lib/fa/th-list.d.ts | 3 + types/react-icons/lib/fa/th.d.ts | 3 + types/react-icons/lib/fa/thumb-tack.d.ts | 3 + types/react-icons/lib/fa/thumbs-down.d.ts | 3 + types/react-icons/lib/fa/thumbs-o-down.d.ts | 3 + types/react-icons/lib/fa/thumbs-o-up.d.ts | 3 + types/react-icons/lib/fa/thumbs-up.d.ts | 3 + types/react-icons/lib/fa/ticket.d.ts | 3 + types/react-icons/lib/fa/times-circle-o.d.ts | 3 + types/react-icons/lib/fa/times-circle.d.ts | 3 + types/react-icons/lib/fa/tint.d.ts | 3 + types/react-icons/lib/fa/toggle-off.d.ts | 3 + types/react-icons/lib/fa/toggle-on.d.ts | 3 + types/react-icons/lib/fa/trademark.d.ts | 3 + types/react-icons/lib/fa/train.d.ts | 3 + types/react-icons/lib/fa/transgender-alt.d.ts | 3 + types/react-icons/lib/fa/trash-o.d.ts | 3 + types/react-icons/lib/fa/trash.d.ts | 3 + types/react-icons/lib/fa/tree.d.ts | 3 + types/react-icons/lib/fa/trello.d.ts | 3 + types/react-icons/lib/fa/tripadvisor.d.ts | 3 + types/react-icons/lib/fa/trophy.d.ts | 3 + types/react-icons/lib/fa/truck.d.ts | 3 + types/react-icons/lib/fa/try.d.ts | 3 + types/react-icons/lib/fa/tty.d.ts | 3 + types/react-icons/lib/fa/tumblr-square.d.ts | 3 + types/react-icons/lib/fa/tumblr.d.ts | 3 + types/react-icons/lib/fa/twitch.d.ts | 3 + types/react-icons/lib/fa/twitter-square.d.ts | 3 + types/react-icons/lib/fa/twitter.d.ts | 3 + types/react-icons/lib/fa/umbrella.d.ts | 3 + types/react-icons/lib/fa/underline.d.ts | 3 + .../react-icons/lib/fa/universal-access.d.ts | 3 + types/react-icons/lib/fa/unlock-alt.d.ts | 3 + types/react-icons/lib/fa/unlock.d.ts | 3 + types/react-icons/lib/fa/upload.d.ts | 3 + types/react-icons/lib/fa/usb.d.ts | 3 + types/react-icons/lib/fa/user-md.d.ts | 3 + types/react-icons/lib/fa/user-plus.d.ts | 3 + types/react-icons/lib/fa/user-secret.d.ts | 3 + types/react-icons/lib/fa/user-times.d.ts | 3 + types/react-icons/lib/fa/user.d.ts | 3 + types/react-icons/lib/fa/venus-double.d.ts | 3 + types/react-icons/lib/fa/venus-mars.d.ts | 3 + types/react-icons/lib/fa/venus.d.ts | 3 + types/react-icons/lib/fa/viacoin.d.ts | 3 + types/react-icons/lib/fa/viadeo-square.d.ts | 3 + types/react-icons/lib/fa/viadeo.d.ts | 3 + types/react-icons/lib/fa/video-camera.d.ts | 3 + types/react-icons/lib/fa/vimeo-square.d.ts | 3 + types/react-icons/lib/fa/vimeo.d.ts | 3 + types/react-icons/lib/fa/vine.d.ts | 3 + types/react-icons/lib/fa/vk.d.ts | 3 + .../lib/fa/volume-control-phone.d.ts | 3 + types/react-icons/lib/fa/volume-down.d.ts | 3 + types/react-icons/lib/fa/volume-off.d.ts | 3 + types/react-icons/lib/fa/volume-up.d.ts | 3 + types/react-icons/lib/fa/wechat.d.ts | 3 + types/react-icons/lib/fa/weibo.d.ts | 3 + types/react-icons/lib/fa/whatsapp.d.ts | 3 + types/react-icons/lib/fa/wheelchair-alt.d.ts | 3 + types/react-icons/lib/fa/wheelchair.d.ts | 3 + types/react-icons/lib/fa/wifi.d.ts | 3 + types/react-icons/lib/fa/wikipedia-w.d.ts | 3 + types/react-icons/lib/fa/windows.d.ts | 3 + types/react-icons/lib/fa/wordpress.d.ts | 3 + types/react-icons/lib/fa/wpbeginner.d.ts | 3 + types/react-icons/lib/fa/wpforms.d.ts | 3 + types/react-icons/lib/fa/wrench.d.ts | 3 + types/react-icons/lib/fa/xing-square.d.ts | 3 + types/react-icons/lib/fa/xing.d.ts | 3 + types/react-icons/lib/fa/y-combinator.d.ts | 3 + types/react-icons/lib/fa/yahoo.d.ts | 3 + types/react-icons/lib/fa/yelp.d.ts | 3 + types/react-icons/lib/fa/youtube-play.d.ts | 3 + types/react-icons/lib/fa/youtube-square.d.ts | 3 + types/react-icons/lib/fa/youtube.d.ts | 3 + types/react-icons/lib/go/alert.d.ts | 3 + types/react-icons/lib/go/alignment-align.d.ts | 3 + .../lib/go/alignment-aligned-to.d.ts | 3 + .../react-icons/lib/go/alignment-unalign.d.ts | 3 + types/react-icons/lib/go/arrow-down.d.ts | 3 + types/react-icons/lib/go/arrow-left.d.ts | 3 + types/react-icons/lib/go/arrow-right.d.ts | 3 + .../react-icons/lib/go/arrow-small-down.d.ts | 3 + .../react-icons/lib/go/arrow-small-left.d.ts | 3 + .../react-icons/lib/go/arrow-small-right.d.ts | 3 + types/react-icons/lib/go/arrow-small-up.d.ts | 3 + types/react-icons/lib/go/arrow-up.d.ts | 3 + types/react-icons/lib/go/beer.d.ts | 3 + types/react-icons/lib/go/book.d.ts | 3 + types/react-icons/lib/go/bookmark.d.ts | 3 + types/react-icons/lib/go/briefcase.d.ts | 3 + types/react-icons/lib/go/broadcast.d.ts | 3 + types/react-icons/lib/go/browser.d.ts | 3 + types/react-icons/lib/go/bug.d.ts | 3 + types/react-icons/lib/go/calendar.d.ts | 3 + types/react-icons/lib/go/check.d.ts | 3 + types/react-icons/lib/go/checklist.d.ts | 3 + types/react-icons/lib/go/chevron-down.d.ts | 3 + types/react-icons/lib/go/chevron-left.d.ts | 3 + types/react-icons/lib/go/chevron-right.d.ts | 3 + types/react-icons/lib/go/chevron-up.d.ts | 3 + types/react-icons/lib/go/circle-slash.d.ts | 3 + types/react-icons/lib/go/circuit-board.d.ts | 3 + types/react-icons/lib/go/clippy.d.ts | 3 + types/react-icons/lib/go/clock.d.ts | 3 + types/react-icons/lib/go/cloud-download.d.ts | 3 + types/react-icons/lib/go/cloud-upload.d.ts | 3 + types/react-icons/lib/go/code.d.ts | 3 + types/react-icons/lib/go/color-mode.d.ts | 3 + .../lib/go/comment-discussion.d.ts | 3 + types/react-icons/lib/go/comment.d.ts | 3 + types/react-icons/lib/go/credit-card.d.ts | 3 + types/react-icons/lib/go/dash.d.ts | 3 + types/react-icons/lib/go/dashboard.d.ts | 3 + types/react-icons/lib/go/database.d.ts | 3 + .../lib/go/device-camera-video.d.ts | 3 + types/react-icons/lib/go/device-camera.d.ts | 3 + types/react-icons/lib/go/device-desktop.d.ts | 3 + types/react-icons/lib/go/device-mobile.d.ts | 3 + types/react-icons/lib/go/diff-added.d.ts | 3 + types/react-icons/lib/go/diff-ignored.d.ts | 3 + types/react-icons/lib/go/diff-modified.d.ts | 3 + types/react-icons/lib/go/diff-removed.d.ts | 3 + types/react-icons/lib/go/diff-renamed.d.ts | 3 + types/react-icons/lib/go/diff.d.ts | 3 + types/react-icons/lib/go/ellipsis.d.ts | 3 + types/react-icons/lib/go/eye.d.ts | 3 + types/react-icons/lib/go/file-binary.d.ts | 3 + types/react-icons/lib/go/file-code.d.ts | 3 + types/react-icons/lib/go/file-directory.d.ts | 3 + types/react-icons/lib/go/file-media.d.ts | 3 + types/react-icons/lib/go/file-pdf.d.ts | 3 + types/react-icons/lib/go/file-submodule.d.ts | 3 + .../lib/go/file-symlink-directory.d.ts | 3 + .../react-icons/lib/go/file-symlink-file.d.ts | 3 + types/react-icons/lib/go/file-text.d.ts | 3 + types/react-icons/lib/go/file-zip.d.ts | 3 + types/react-icons/lib/go/flame.d.ts | 3 + types/react-icons/lib/go/fold.d.ts | 3 + types/react-icons/lib/go/gear.d.ts | 3 + types/react-icons/lib/go/gift.d.ts | 3 + types/react-icons/lib/go/gist-secret.d.ts | 3 + types/react-icons/lib/go/gist.d.ts | 3 + types/react-icons/lib/go/git-branch.d.ts | 3 + types/react-icons/lib/go/git-commit.d.ts | 3 + types/react-icons/lib/go/git-compare.d.ts | 3 + types/react-icons/lib/go/git-merge.d.ts | 3 + .../react-icons/lib/go/git-pull-request.d.ts | 3 + types/react-icons/lib/go/globe.d.ts | 3 + types/react-icons/lib/go/graph.d.ts | 3 + types/react-icons/lib/go/heart.d.ts | 3 + types/react-icons/lib/go/history.d.ts | 3 + types/react-icons/lib/go/home.d.ts | 3 + types/react-icons/lib/go/horizontal-rule.d.ts | 3 + types/react-icons/lib/go/hourglass.d.ts | 3 + types/react-icons/lib/go/hubot.d.ts | 3 + types/react-icons/lib/go/inbox.d.ts | 3 + types/react-icons/lib/go/index.d.ts | 177 ++ types/react-icons/lib/go/info.d.ts | 3 + types/react-icons/lib/go/issue-closed.d.ts | 3 + types/react-icons/lib/go/issue-opened.d.ts | 3 + types/react-icons/lib/go/issue-reopened.d.ts | 3 + types/react-icons/lib/go/jersey.d.ts | 3 + types/react-icons/lib/go/jump-down.d.ts | 3 + types/react-icons/lib/go/jump-left.d.ts | 3 + types/react-icons/lib/go/jump-right.d.ts | 3 + types/react-icons/lib/go/jump-up.d.ts | 3 + types/react-icons/lib/go/key.d.ts | 3 + types/react-icons/lib/go/keyboard.d.ts | 3 + types/react-icons/lib/go/law.d.ts | 3 + types/react-icons/lib/go/light-bulb.d.ts | 3 + types/react-icons/lib/go/link-external.d.ts | 3 + types/react-icons/lib/go/link.d.ts | 3 + types/react-icons/lib/go/list-ordered.d.ts | 3 + types/react-icons/lib/go/list-unordered.d.ts | 3 + types/react-icons/lib/go/location.d.ts | 3 + types/react-icons/lib/go/lock.d.ts | 3 + types/react-icons/lib/go/logo-github.d.ts | 3 + types/react-icons/lib/go/mail-read.d.ts | 3 + types/react-icons/lib/go/mail-reply.d.ts | 3 + types/react-icons/lib/go/mail.d.ts | 3 + types/react-icons/lib/go/mark-github.d.ts | 3 + types/react-icons/lib/go/markdown.d.ts | 3 + types/react-icons/lib/go/megaphone.d.ts | 3 + types/react-icons/lib/go/mention.d.ts | 3 + types/react-icons/lib/go/microscope.d.ts | 3 + types/react-icons/lib/go/milestone.d.ts | 3 + types/react-icons/lib/go/mirror.d.ts | 3 + types/react-icons/lib/go/mortar-board.d.ts | 3 + types/react-icons/lib/go/move-down.d.ts | 3 + types/react-icons/lib/go/move-left.d.ts | 3 + types/react-icons/lib/go/move-right.d.ts | 3 + types/react-icons/lib/go/move-up.d.ts | 3 + types/react-icons/lib/go/mute.d.ts | 3 + types/react-icons/lib/go/no-newline.d.ts | 3 + types/react-icons/lib/go/octoface.d.ts | 3 + types/react-icons/lib/go/organization.d.ts | 3 + types/react-icons/lib/go/package.d.ts | 3 + types/react-icons/lib/go/paintcan.d.ts | 3 + types/react-icons/lib/go/pencil.d.ts | 3 + types/react-icons/lib/go/person.d.ts | 3 + types/react-icons/lib/go/pin.d.ts | 3 + .../lib/go/playback-fast-forward.d.ts | 3 + types/react-icons/lib/go/playback-pause.d.ts | 3 + types/react-icons/lib/go/playback-play.d.ts | 3 + types/react-icons/lib/go/playback-rewind.d.ts | 3 + types/react-icons/lib/go/plug.d.ts | 3 + types/react-icons/lib/go/plus.d.ts | 3 + types/react-icons/lib/go/podium.d.ts | 3 + types/react-icons/lib/go/primitive-dot.d.ts | 3 + .../react-icons/lib/go/primitive-square.d.ts | 3 + types/react-icons/lib/go/pulse.d.ts | 3 + types/react-icons/lib/go/puzzle.d.ts | 3 + types/react-icons/lib/go/question.d.ts | 3 + types/react-icons/lib/go/quote.d.ts | 3 + types/react-icons/lib/go/radio-tower.d.ts | 3 + types/react-icons/lib/go/repo-clone.d.ts | 3 + types/react-icons/lib/go/repo-force-push.d.ts | 3 + types/react-icons/lib/go/repo-forked.d.ts | 3 + types/react-icons/lib/go/repo-pull.d.ts | 3 + types/react-icons/lib/go/repo-push.d.ts | 3 + types/react-icons/lib/go/repo.d.ts | 3 + types/react-icons/lib/go/rocket.d.ts | 3 + types/react-icons/lib/go/rss.d.ts | 3 + types/react-icons/lib/go/ruby.d.ts | 3 + types/react-icons/lib/go/screen-full.d.ts | 3 + types/react-icons/lib/go/screen-normal.d.ts | 3 + types/react-icons/lib/go/search.d.ts | 3 + types/react-icons/lib/go/server.d.ts | 3 + types/react-icons/lib/go/settings.d.ts | 3 + types/react-icons/lib/go/sign-in.d.ts | 3 + types/react-icons/lib/go/sign-out.d.ts | 3 + types/react-icons/lib/go/split.d.ts | 3 + types/react-icons/lib/go/squirrel.d.ts | 3 + types/react-icons/lib/go/star.d.ts | 3 + types/react-icons/lib/go/steps.d.ts | 3 + types/react-icons/lib/go/stop.d.ts | 3 + types/react-icons/lib/go/sync.d.ts | 3 + types/react-icons/lib/go/tag.d.ts | 3 + types/react-icons/lib/go/telescope.d.ts | 3 + types/react-icons/lib/go/terminal.d.ts | 3 + types/react-icons/lib/go/three-bars.d.ts | 3 + types/react-icons/lib/go/tools.d.ts | 3 + types/react-icons/lib/go/trashcan.d.ts | 3 + types/react-icons/lib/go/triangle-down.d.ts | 3 + types/react-icons/lib/go/triangle-left.d.ts | 3 + types/react-icons/lib/go/triangle-right.d.ts | 3 + types/react-icons/lib/go/triangle-up.d.ts | 3 + types/react-icons/lib/go/unfold.d.ts | 3 + types/react-icons/lib/go/unmute.d.ts | 3 + types/react-icons/lib/go/versions.d.ts | 3 + types/react-icons/lib/go/x.d.ts | 3 + types/react-icons/lib/go/zap.d.ts | 3 + types/react-icons/lib/io/alert-circled.d.ts | 3 + types/react-icons/lib/io/alert.d.ts | 3 + .../lib/io/android-add-circle.d.ts | 3 + types/react-icons/lib/io/android-add.d.ts | 3 + .../lib/io/android-alarm-clock.d.ts | 3 + types/react-icons/lib/io/android-alert.d.ts | 3 + types/react-icons/lib/io/android-apps.d.ts | 3 + types/react-icons/lib/io/android-archive.d.ts | 3 + .../lib/io/android-arrow-back.d.ts | 3 + .../lib/io/android-arrow-down.d.ts | 3 + .../lib/io/android-arrow-dropdown-circle.d.ts | 3 + .../lib/io/android-arrow-dropdown.d.ts | 3 + .../lib/io/android-arrow-dropleft-circle.d.ts | 3 + .../lib/io/android-arrow-dropleft.d.ts | 3 + .../io/android-arrow-dropright-circle.d.ts | 3 + .../lib/io/android-arrow-dropright.d.ts | 3 + .../lib/io/android-arrow-dropup-circle.d.ts | 3 + .../lib/io/android-arrow-dropup.d.ts | 3 + .../lib/io/android-arrow-forward.d.ts | 3 + .../react-icons/lib/io/android-arrow-up.d.ts | 3 + types/react-icons/lib/io/android-attach.d.ts | 3 + types/react-icons/lib/io/android-bar.d.ts | 3 + types/react-icons/lib/io/android-bicycle.d.ts | 3 + types/react-icons/lib/io/android-boat.d.ts | 3 + .../react-icons/lib/io/android-bookmark.d.ts | 3 + types/react-icons/lib/io/android-bulb.d.ts | 3 + types/react-icons/lib/io/android-bus.d.ts | 3 + .../react-icons/lib/io/android-calendar.d.ts | 3 + types/react-icons/lib/io/android-call.d.ts | 3 + types/react-icons/lib/io/android-camera.d.ts | 3 + types/react-icons/lib/io/android-cancel.d.ts | 3 + types/react-icons/lib/io/android-car.d.ts | 3 + types/react-icons/lib/io/android-cart.d.ts | 3 + types/react-icons/lib/io/android-chat.d.ts | 3 + .../lib/io/android-checkbox-blank.d.ts | 3 + .../io/android-checkbox-outline-blank.d.ts | 3 + .../lib/io/android-checkbox-outline.d.ts | 3 + .../react-icons/lib/io/android-checkbox.d.ts | 3 + .../lib/io/android-checkmark-circle.d.ts | 3 + .../react-icons/lib/io/android-clipboard.d.ts | 3 + types/react-icons/lib/io/android-close.d.ts | 3 + .../lib/io/android-cloud-circle.d.ts | 3 + .../lib/io/android-cloud-done.d.ts | 3 + .../lib/io/android-cloud-outline.d.ts | 3 + types/react-icons/lib/io/android-cloud.d.ts | 3 + .../lib/io/android-color-palette.d.ts | 3 + types/react-icons/lib/io/android-compass.d.ts | 3 + types/react-icons/lib/io/android-contact.d.ts | 3 + .../react-icons/lib/io/android-contacts.d.ts | 3 + .../react-icons/lib/io/android-contract.d.ts | 3 + types/react-icons/lib/io/android-create.d.ts | 3 + types/react-icons/lib/io/android-delete.d.ts | 3 + types/react-icons/lib/io/android-desktop.d.ts | 3 + .../react-icons/lib/io/android-document.d.ts | 3 + .../react-icons/lib/io/android-done-all.d.ts | 3 + types/react-icons/lib/io/android-done.d.ts | 3 + .../react-icons/lib/io/android-download.d.ts | 3 + types/react-icons/lib/io/android-drafts.d.ts | 3 + types/react-icons/lib/io/android-exit.d.ts | 3 + types/react-icons/lib/io/android-expand.d.ts | 3 + .../lib/io/android-favorite-outline.d.ts | 3 + .../react-icons/lib/io/android-favorite.d.ts | 3 + types/react-icons/lib/io/android-film.d.ts | 3 + .../lib/io/android-folder-open.d.ts | 3 + types/react-icons/lib/io/android-folder.d.ts | 3 + types/react-icons/lib/io/android-funnel.d.ts | 3 + types/react-icons/lib/io/android-globe.d.ts | 3 + types/react-icons/lib/io/android-hand.d.ts | 3 + types/react-icons/lib/io/android-hangout.d.ts | 3 + types/react-icons/lib/io/android-happy.d.ts | 3 + types/react-icons/lib/io/android-home.d.ts | 3 + types/react-icons/lib/io/android-image.d.ts | 3 + types/react-icons/lib/io/android-laptop.d.ts | 3 + types/react-icons/lib/io/android-list.d.ts | 3 + types/react-icons/lib/io/android-locate.d.ts | 3 + types/react-icons/lib/io/android-lock.d.ts | 3 + types/react-icons/lib/io/android-mail.d.ts | 3 + types/react-icons/lib/io/android-map.d.ts | 3 + types/react-icons/lib/io/android-menu.d.ts | 3 + .../lib/io/android-microphone-off.d.ts | 3 + .../lib/io/android-microphone.d.ts | 3 + .../lib/io/android-more-horizontal.d.ts | 3 + .../lib/io/android-more-vertical.d.ts | 3 + .../react-icons/lib/io/android-navigate.d.ts | 3 + .../lib/io/android-notifications-none.d.ts | 3 + .../lib/io/android-notifications-off.d.ts | 3 + .../lib/io/android-notifications.d.ts | 3 + types/react-icons/lib/io/android-open.d.ts | 3 + types/react-icons/lib/io/android-options.d.ts | 3 + types/react-icons/lib/io/android-people.d.ts | 3 + .../lib/io/android-person-add.d.ts | 3 + types/react-icons/lib/io/android-person.d.ts | 3 + .../lib/io/android-phone-landscape.d.ts | 3 + .../lib/io/android-phone-portrait.d.ts | 3 + types/react-icons/lib/io/android-pin.d.ts | 3 + types/react-icons/lib/io/android-plane.d.ts | 3 + .../react-icons/lib/io/android-playstore.d.ts | 3 + types/react-icons/lib/io/android-print.d.ts | 3 + .../lib/io/android-radio-button-off.d.ts | 3 + .../lib/io/android-radio-button-on.d.ts | 3 + types/react-icons/lib/io/android-refresh.d.ts | 3 + .../lib/io/android-remove-circle.d.ts | 3 + types/react-icons/lib/io/android-remove.d.ts | 3 + .../lib/io/android-restaurant.d.ts | 3 + types/react-icons/lib/io/android-sad.d.ts | 3 + types/react-icons/lib/io/android-search.d.ts | 3 + types/react-icons/lib/io/android-send.d.ts | 3 + .../react-icons/lib/io/android-settings.d.ts | 3 + .../react-icons/lib/io/android-share-alt.d.ts | 3 + types/react-icons/lib/io/android-share.d.ts | 3 + .../react-icons/lib/io/android-star-half.d.ts | 3 + .../lib/io/android-star-outline.d.ts | 3 + types/react-icons/lib/io/android-star.d.ts | 3 + .../react-icons/lib/io/android-stopwatch.d.ts | 3 + types/react-icons/lib/io/android-subway.d.ts | 3 + types/react-icons/lib/io/android-sunny.d.ts | 3 + types/react-icons/lib/io/android-sync.d.ts | 3 + types/react-icons/lib/io/android-textsms.d.ts | 3 + types/react-icons/lib/io/android-time.d.ts | 3 + types/react-icons/lib/io/android-train.d.ts | 3 + types/react-icons/lib/io/android-unlock.d.ts | 3 + types/react-icons/lib/io/android-upload.d.ts | 3 + .../lib/io/android-volume-down.d.ts | 3 + .../lib/io/android-volume-mute.d.ts | 3 + .../lib/io/android-volume-off.d.ts | 3 + .../react-icons/lib/io/android-volume-up.d.ts | 3 + types/react-icons/lib/io/android-walk.d.ts | 3 + types/react-icons/lib/io/android-warning.d.ts | 3 + types/react-icons/lib/io/android-watch.d.ts | 3 + types/react-icons/lib/io/android-wifi.d.ts | 3 + types/react-icons/lib/io/aperture.d.ts | 3 + types/react-icons/lib/io/archive.d.ts | 3 + types/react-icons/lib/io/arrow-down-a.d.ts | 3 + types/react-icons/lib/io/arrow-down-b.d.ts | 3 + types/react-icons/lib/io/arrow-down-c.d.ts | 3 + types/react-icons/lib/io/arrow-expand.d.ts | 3 + .../lib/io/arrow-graph-down-left.d.ts | 3 + .../lib/io/arrow-graph-down-right.d.ts | 3 + .../lib/io/arrow-graph-up-left.d.ts | 3 + .../lib/io/arrow-graph-up-right.d.ts | 3 + types/react-icons/lib/io/arrow-left-a.d.ts | 3 + types/react-icons/lib/io/arrow-left-b.d.ts | 3 + types/react-icons/lib/io/arrow-left-c.d.ts | 3 + types/react-icons/lib/io/arrow-move.d.ts | 3 + types/react-icons/lib/io/arrow-resize.d.ts | 3 + .../react-icons/lib/io/arrow-return-left.d.ts | 3 + .../lib/io/arrow-return-right.d.ts | 3 + types/react-icons/lib/io/arrow-right-a.d.ts | 3 + types/react-icons/lib/io/arrow-right-b.d.ts | 3 + types/react-icons/lib/io/arrow-right-c.d.ts | 3 + types/react-icons/lib/io/arrow-shrink.d.ts | 3 + types/react-icons/lib/io/arrow-swap.d.ts | 3 + types/react-icons/lib/io/arrow-up-a.d.ts | 3 + types/react-icons/lib/io/arrow-up-b.d.ts | 3 + types/react-icons/lib/io/arrow-up-c.d.ts | 3 + types/react-icons/lib/io/asterisk.d.ts | 3 + types/react-icons/lib/io/at.d.ts | 3 + .../react-icons/lib/io/backspace-outline.d.ts | 3 + types/react-icons/lib/io/backspace.d.ts | 3 + types/react-icons/lib/io/bag.d.ts | 3 + .../react-icons/lib/io/battery-charging.d.ts | 3 + types/react-icons/lib/io/battery-empty.d.ts | 3 + types/react-icons/lib/io/battery-full.d.ts | 3 + types/react-icons/lib/io/battery-half.d.ts | 3 + types/react-icons/lib/io/battery-low.d.ts | 3 + types/react-icons/lib/io/beaker.d.ts | 3 + types/react-icons/lib/io/beer.d.ts | 3 + types/react-icons/lib/io/bluetooth.d.ts | 3 + types/react-icons/lib/io/bonfire.d.ts | 3 + types/react-icons/lib/io/bookmark.d.ts | 3 + types/react-icons/lib/io/bowtie.d.ts | 3 + types/react-icons/lib/io/briefcase.d.ts | 3 + types/react-icons/lib/io/bug.d.ts | 3 + types/react-icons/lib/io/calculator.d.ts | 3 + types/react-icons/lib/io/calendar.d.ts | 3 + types/react-icons/lib/io/camera.d.ts | 3 + types/react-icons/lib/io/card.d.ts | 3 + types/react-icons/lib/io/cash.d.ts | 3 + types/react-icons/lib/io/chatbox-working.d.ts | 3 + types/react-icons/lib/io/chatbox.d.ts | 3 + types/react-icons/lib/io/chatboxes.d.ts | 3 + .../lib/io/chatbubble-working.d.ts | 3 + types/react-icons/lib/io/chatbubble.d.ts | 3 + types/react-icons/lib/io/chatbubbles.d.ts | 3 + .../react-icons/lib/io/checkmark-circled.d.ts | 3 + types/react-icons/lib/io/checkmark-round.d.ts | 3 + types/react-icons/lib/io/checkmark.d.ts | 3 + types/react-icons/lib/io/chevron-down.d.ts | 3 + types/react-icons/lib/io/chevron-left.d.ts | 3 + types/react-icons/lib/io/chevron-right.d.ts | 3 + types/react-icons/lib/io/chevron-up.d.ts | 3 + types/react-icons/lib/io/clipboard.d.ts | 3 + types/react-icons/lib/io/clock.d.ts | 3 + types/react-icons/lib/io/close-circled.d.ts | 3 + types/react-icons/lib/io/close-round.d.ts | 3 + types/react-icons/lib/io/close.d.ts | 3 + .../react-icons/lib/io/closed-captioning.d.ts | 3 + types/react-icons/lib/io/cloud.d.ts | 3 + types/react-icons/lib/io/code-download.d.ts | 3 + types/react-icons/lib/io/code-working.d.ts | 3 + types/react-icons/lib/io/code.d.ts | 3 + types/react-icons/lib/io/coffee.d.ts | 3 + types/react-icons/lib/io/compass.d.ts | 3 + types/react-icons/lib/io/compose.d.ts | 3 + types/react-icons/lib/io/connectbars.d.ts | 3 + types/react-icons/lib/io/contrast.d.ts | 3 + types/react-icons/lib/io/crop.d.ts | 3 + types/react-icons/lib/io/cube.d.ts | 3 + types/react-icons/lib/io/disc.d.ts | 3 + types/react-icons/lib/io/document-text.d.ts | 3 + types/react-icons/lib/io/document.d.ts | 3 + types/react-icons/lib/io/drag.d.ts | 3 + types/react-icons/lib/io/earth.d.ts | 3 + types/react-icons/lib/io/easel.d.ts | 3 + types/react-icons/lib/io/edit.d.ts | 3 + types/react-icons/lib/io/egg.d.ts | 3 + types/react-icons/lib/io/eject.d.ts | 3 + types/react-icons/lib/io/email-unread.d.ts | 3 + types/react-icons/lib/io/email.d.ts | 3 + .../lib/io/erlenmeyer-flask-bubbles.d.ts | 3 + .../react-icons/lib/io/erlenmeyer-flask.d.ts | 3 + types/react-icons/lib/io/eye-disabled.d.ts | 3 + types/react-icons/lib/io/eye.d.ts | 3 + types/react-icons/lib/io/female.d.ts | 3 + types/react-icons/lib/io/filing.d.ts | 3 + types/react-icons/lib/io/film-marker.d.ts | 3 + types/react-icons/lib/io/fireball.d.ts | 3 + types/react-icons/lib/io/flag.d.ts | 3 + types/react-icons/lib/io/flame.d.ts | 3 + types/react-icons/lib/io/flash-off.d.ts | 3 + types/react-icons/lib/io/flash.d.ts | 3 + types/react-icons/lib/io/folder.d.ts | 3 + types/react-icons/lib/io/fork-repo.d.ts | 3 + types/react-icons/lib/io/fork.d.ts | 3 + types/react-icons/lib/io/forward.d.ts | 3 + types/react-icons/lib/io/funnel.d.ts | 3 + types/react-icons/lib/io/gear-a.d.ts | 3 + types/react-icons/lib/io/gear-b.d.ts | 3 + types/react-icons/lib/io/grid.d.ts | 3 + types/react-icons/lib/io/hammer.d.ts | 3 + types/react-icons/lib/io/happy-outline.d.ts | 3 + types/react-icons/lib/io/happy.d.ts | 3 + types/react-icons/lib/io/headphone.d.ts | 3 + types/react-icons/lib/io/heart-broken.d.ts | 3 + types/react-icons/lib/io/heart.d.ts | 3 + types/react-icons/lib/io/help-buoy.d.ts | 3 + types/react-icons/lib/io/help-circled.d.ts | 3 + types/react-icons/lib/io/help.d.ts | 3 + types/react-icons/lib/io/home.d.ts | 3 + types/react-icons/lib/io/icecream.d.ts | 3 + types/react-icons/lib/io/image.d.ts | 3 + types/react-icons/lib/io/images.d.ts | 3 + types/react-icons/lib/io/index.d.ts | 733 +++++ types/react-icons/lib/io/informatcircled.d.ts | 3 + types/react-icons/lib/io/information.d.ts | 3 + types/react-icons/lib/io/ionic.d.ts | 3 + .../react-icons/lib/io/ios-alarm-outline.d.ts | 3 + types/react-icons/lib/io/ios-alarm.d.ts | 3 + .../lib/io/ios-albums-outline.d.ts | 3 + types/react-icons/lib/io/ios-albums.d.ts | 3 + .../lib/io/ios-americanfootball-outline.d.ts | 3 + .../lib/io/ios-americanfootball.d.ts | 3 + .../lib/io/ios-analytics-outline.d.ts | 3 + types/react-icons/lib/io/ios-analytics.d.ts | 3 + types/react-icons/lib/io/ios-arrow-back.d.ts | 3 + types/react-icons/lib/io/ios-arrow-down.d.ts | 3 + .../react-icons/lib/io/ios-arrow-forward.d.ts | 3 + types/react-icons/lib/io/ios-arrow-left.d.ts | 3 + types/react-icons/lib/io/ios-arrow-right.d.ts | 3 + .../lib/io/ios-arrow-thin-down.d.ts | 3 + .../lib/io/ios-arrow-thin-left.d.ts | 3 + .../lib/io/ios-arrow-thin-right.d.ts | 3 + .../react-icons/lib/io/ios-arrow-thin-up.d.ts | 3 + types/react-icons/lib/io/ios-arrow-up.d.ts | 3 + types/react-icons/lib/io/ios-at-outline.d.ts | 3 + types/react-icons/lib/io/ios-at.d.ts | 3 + .../lib/io/ios-barcode-outline.d.ts | 3 + types/react-icons/lib/io/ios-barcode.d.ts | 3 + .../lib/io/ios-baseball-outline.d.ts | 3 + types/react-icons/lib/io/ios-baseball.d.ts | 3 + .../lib/io/ios-basketball-outline.d.ts | 3 + types/react-icons/lib/io/ios-basketball.d.ts | 3 + .../react-icons/lib/io/ios-bell-outline.d.ts | 3 + types/react-icons/lib/io/ios-bell.d.ts | 3 + .../react-icons/lib/io/ios-body-outline.d.ts | 3 + types/react-icons/lib/io/ios-body.d.ts | 3 + .../react-icons/lib/io/ios-bolt-outline.d.ts | 3 + types/react-icons/lib/io/ios-bolt.d.ts | 3 + .../react-icons/lib/io/ios-book-outline.d.ts | 3 + types/react-icons/lib/io/ios-book.d.ts | 3 + .../lib/io/ios-bookmarks-outline.d.ts | 3 + types/react-icons/lib/io/ios-bookmarks.d.ts | 3 + types/react-icons/lib/io/ios-box-outline.d.ts | 3 + types/react-icons/lib/io/ios-box.d.ts | 3 + .../lib/io/ios-briefcase-outline.d.ts | 3 + types/react-icons/lib/io/ios-briefcase.d.ts | 3 + .../lib/io/ios-browsers-outline.d.ts | 3 + types/react-icons/lib/io/ios-browsers.d.ts | 3 + .../lib/io/ios-calculator-outline.d.ts | 3 + types/react-icons/lib/io/ios-calculator.d.ts | 3 + .../lib/io/ios-calendar-outline.d.ts | 3 + types/react-icons/lib/io/ios-calendar.d.ts | 3 + .../lib/io/ios-camera-outline.d.ts | 3 + types/react-icons/lib/io/ios-camera.d.ts | 3 + .../react-icons/lib/io/ios-cart-outline.d.ts | 3 + types/react-icons/lib/io/ios-cart.d.ts | 3 + .../lib/io/ios-chatboxes-outline.d.ts | 3 + types/react-icons/lib/io/ios-chatboxes.d.ts | 3 + .../lib/io/ios-chatbubble-outline.d.ts | 3 + types/react-icons/lib/io/ios-chatbubble.d.ts | 3 + .../lib/io/ios-checkmark-empty.d.ts | 3 + .../lib/io/ios-checkmark-outline.d.ts | 3 + types/react-icons/lib/io/ios-checkmark.d.ts | 3 + .../react-icons/lib/io/ios-circle-filled.d.ts | 3 + .../lib/io/ios-circle-outline.d.ts | 3 + .../react-icons/lib/io/ios-clock-outline.d.ts | 3 + types/react-icons/lib/io/ios-clock.d.ts | 3 + types/react-icons/lib/io/ios-close-empty.d.ts | 3 + .../react-icons/lib/io/ios-close-outline.d.ts | 3 + types/react-icons/lib/io/ios-close.d.ts | 3 + .../lib/io/ios-cloud-download-outline.d.ts | 3 + .../lib/io/ios-cloud-download.d.ts | 3 + .../react-icons/lib/io/ios-cloud-outline.d.ts | 3 + .../lib/io/ios-cloud-upload-outline.d.ts | 3 + .../react-icons/lib/io/ios-cloud-upload.d.ts | 3 + types/react-icons/lib/io/ios-cloud.d.ts | 3 + .../lib/io/ios-cloudy-night-outline.d.ts | 3 + .../react-icons/lib/io/ios-cloudy-night.d.ts | 3 + .../lib/io/ios-cloudy-outline.d.ts | 3 + types/react-icons/lib/io/ios-cloudy.d.ts | 3 + types/react-icons/lib/io/ios-cog-outline.d.ts | 3 + types/react-icons/lib/io/ios-cog.d.ts | 3 + .../lib/io/ios-color-filter-outline.d.ts | 3 + .../react-icons/lib/io/ios-color-filter.d.ts | 3 + .../lib/io/ios-color-wand-outline.d.ts | 3 + types/react-icons/lib/io/ios-color-wand.d.ts | 3 + .../lib/io/ios-compose-outline.d.ts | 3 + types/react-icons/lib/io/ios-compose.d.ts | 3 + .../lib/io/ios-contact-outline.d.ts | 3 + types/react-icons/lib/io/ios-contact.d.ts | 3 + .../react-icons/lib/io/ios-copy-outline.d.ts | 3 + types/react-icons/lib/io/ios-copy.d.ts | 3 + types/react-icons/lib/io/ios-crop-strong.d.ts | 3 + types/react-icons/lib/io/ios-crop.d.ts | 3 + .../lib/io/ios-download-outline.d.ts | 3 + types/react-icons/lib/io/ios-download.d.ts | 3 + types/react-icons/lib/io/ios-drag.d.ts | 3 + .../react-icons/lib/io/ios-email-outline.d.ts | 3 + types/react-icons/lib/io/ios-email.d.ts | 3 + types/react-icons/lib/io/ios-eye-outline.d.ts | 3 + types/react-icons/lib/io/ios-eye.d.ts | 3 + .../lib/io/ios-fastforward-outline.d.ts | 3 + types/react-icons/lib/io/ios-fastforward.d.ts | 3 + .../lib/io/ios-filing-outline.d.ts | 3 + types/react-icons/lib/io/ios-filing.d.ts | 3 + .../react-icons/lib/io/ios-film-outline.d.ts | 3 + types/react-icons/lib/io/ios-film.d.ts | 3 + .../react-icons/lib/io/ios-flag-outline.d.ts | 3 + types/react-icons/lib/io/ios-flag.d.ts | 3 + .../react-icons/lib/io/ios-flame-outline.d.ts | 3 + types/react-icons/lib/io/ios-flame.d.ts | 3 + .../react-icons/lib/io/ios-flask-outline.d.ts | 3 + types/react-icons/lib/io/ios-flask.d.ts | 3 + .../lib/io/ios-flower-outline.d.ts | 3 + types/react-icons/lib/io/ios-flower.d.ts | 3 + .../lib/io/ios-folder-outline.d.ts | 3 + types/react-icons/lib/io/ios-folder.d.ts | 3 + .../lib/io/ios-football-outline.d.ts | 3 + types/react-icons/lib/io/ios-football.d.ts | 3 + .../lib/io/ios-game-controller-a-outline.d.ts | 3 + .../lib/io/ios-game-controller-a.d.ts | 3 + .../lib/io/ios-game-controller-b-outline.d.ts | 3 + .../lib/io/ios-game-controller-b.d.ts | 3 + .../react-icons/lib/io/ios-gear-outline.d.ts | 3 + types/react-icons/lib/io/ios-gear.d.ts | 3 + .../lib/io/ios-glasses-outline.d.ts | 3 + types/react-icons/lib/io/ios-glasses.d.ts | 3 + .../lib/io/ios-grid-view-outline.d.ts | 3 + types/react-icons/lib/io/ios-grid-view.d.ts | 3 + .../react-icons/lib/io/ios-heart-outline.d.ts | 3 + types/react-icons/lib/io/ios-heart.d.ts | 3 + types/react-icons/lib/io/ios-help-empty.d.ts | 3 + .../react-icons/lib/io/ios-help-outline.d.ts | 3 + types/react-icons/lib/io/ios-help.d.ts | 3 + .../react-icons/lib/io/ios-home-outline.d.ts | 3 + types/react-icons/lib/io/ios-home.d.ts | 3 + .../lib/io/ios-infinite-outline.d.ts | 3 + types/react-icons/lib/io/ios-infinite.d.ts | 3 + .../react-icons/lib/io/ios-informatempty.d.ts | 3 + types/react-icons/lib/io/ios-information.d.ts | 3 + .../lib/io/ios-informatoutline.d.ts | 3 + .../react-icons/lib/io/ios-ionic-outline.d.ts | 3 + .../lib/io/ios-keypad-outline.d.ts | 3 + types/react-icons/lib/io/ios-keypad.d.ts | 3 + .../lib/io/ios-lightbulb-outline.d.ts | 3 + types/react-icons/lib/io/ios-lightbulb.d.ts | 3 + .../react-icons/lib/io/ios-list-outline.d.ts | 3 + types/react-icons/lib/io/ios-list.d.ts | 3 + types/react-icons/lib/io/ios-location.d.ts | 3 + .../react-icons/lib/io/ios-locatoutline.d.ts | 3 + .../lib/io/ios-locked-outline.d.ts | 3 + types/react-icons/lib/io/ios-locked.d.ts | 3 + types/react-icons/lib/io/ios-loop-strong.d.ts | 3 + types/react-icons/lib/io/ios-loop.d.ts | 3 + .../lib/io/ios-medical-outline.d.ts | 3 + types/react-icons/lib/io/ios-medical.d.ts | 3 + .../lib/io/ios-medkit-outline.d.ts | 3 + types/react-icons/lib/io/ios-medkit.d.ts | 3 + types/react-icons/lib/io/ios-mic-off.d.ts | 3 + types/react-icons/lib/io/ios-mic-outline.d.ts | 3 + types/react-icons/lib/io/ios-mic.d.ts | 3 + types/react-icons/lib/io/ios-minus-empty.d.ts | 3 + .../react-icons/lib/io/ios-minus-outline.d.ts | 3 + types/react-icons/lib/io/ios-minus.d.ts | 3 + .../lib/io/ios-monitor-outline.d.ts | 3 + types/react-icons/lib/io/ios-monitor.d.ts | 3 + .../react-icons/lib/io/ios-moon-outline.d.ts | 3 + types/react-icons/lib/io/ios-moon.d.ts | 3 + .../react-icons/lib/io/ios-more-outline.d.ts | 3 + types/react-icons/lib/io/ios-more.d.ts | 3 + .../react-icons/lib/io/ios-musical-note.d.ts | 3 + .../react-icons/lib/io/ios-musical-notes.d.ts | 3 + .../lib/io/ios-navigate-outline.d.ts | 3 + types/react-icons/lib/io/ios-navigate.d.ts | 3 + types/react-icons/lib/io/ios-nutrition.d.ts | 3 + .../react-icons/lib/io/ios-nutritoutline.d.ts | 3 + .../react-icons/lib/io/ios-paper-outline.d.ts | 3 + types/react-icons/lib/io/ios-paper.d.ts | 3 + .../lib/io/ios-paperplane-outline.d.ts | 3 + types/react-icons/lib/io/ios-paperplane.d.ts | 3 + .../lib/io/ios-partlysunny-outline.d.ts | 3 + types/react-icons/lib/io/ios-partlysunny.d.ts | 3 + .../react-icons/lib/io/ios-pause-outline.d.ts | 3 + types/react-icons/lib/io/ios-pause.d.ts | 3 + types/react-icons/lib/io/ios-paw-outline.d.ts | 3 + types/react-icons/lib/io/ios-paw.d.ts | 3 + .../lib/io/ios-people-outline.d.ts | 3 + types/react-icons/lib/io/ios-people.d.ts | 3 + .../lib/io/ios-person-outline.d.ts | 3 + types/react-icons/lib/io/ios-person.d.ts | 3 + .../lib/io/ios-personadd-outline.d.ts | 3 + types/react-icons/lib/io/ios-personadd.d.ts | 3 + .../lib/io/ios-photos-outline.d.ts | 3 + types/react-icons/lib/io/ios-photos.d.ts | 3 + types/react-icons/lib/io/ios-pie-outline.d.ts | 3 + types/react-icons/lib/io/ios-pie.d.ts | 3 + .../react-icons/lib/io/ios-pint-outline.d.ts | 3 + types/react-icons/lib/io/ios-pint.d.ts | 3 + .../react-icons/lib/io/ios-play-outline.d.ts | 3 + types/react-icons/lib/io/ios-play.d.ts | 3 + types/react-icons/lib/io/ios-plus-empty.d.ts | 3 + .../react-icons/lib/io/ios-plus-outline.d.ts | 3 + types/react-icons/lib/io/ios-plus.d.ts | 3 + .../lib/io/ios-pricetag-outline.d.ts | 3 + types/react-icons/lib/io/ios-pricetag.d.ts | 3 + .../lib/io/ios-pricetags-outline.d.ts | 3 + types/react-icons/lib/io/ios-pricetags.d.ts | 3 + .../lib/io/ios-printer-outline.d.ts | 3 + types/react-icons/lib/io/ios-printer.d.ts | 3 + .../react-icons/lib/io/ios-pulse-strong.d.ts | 3 + types/react-icons/lib/io/ios-pulse.d.ts | 3 + .../react-icons/lib/io/ios-rainy-outline.d.ts | 3 + types/react-icons/lib/io/ios-rainy.d.ts | 3 + .../lib/io/ios-recording-outline.d.ts | 3 + types/react-icons/lib/io/ios-recording.d.ts | 3 + .../react-icons/lib/io/ios-redo-outline.d.ts | 3 + types/react-icons/lib/io/ios-redo.d.ts | 3 + .../react-icons/lib/io/ios-refresh-empty.d.ts | 3 + .../lib/io/ios-refresh-outline.d.ts | 3 + types/react-icons/lib/io/ios-refresh.d.ts | 3 + types/react-icons/lib/io/ios-reload.d.ts | 3 + .../lib/io/ios-reverse-camera-outline.d.ts | 3 + .../lib/io/ios-reverse-camera.d.ts | 3 + .../lib/io/ios-rewind-outline.d.ts | 3 + types/react-icons/lib/io/ios-rewind.d.ts | 3 + .../react-icons/lib/io/ios-rose-outline.d.ts | 3 + types/react-icons/lib/io/ios-rose.d.ts | 3 + .../react-icons/lib/io/ios-search-strong.d.ts | 3 + types/react-icons/lib/io/ios-search.d.ts | 3 + .../lib/io/ios-settings-strong.d.ts | 3 + types/react-icons/lib/io/ios-settings.d.ts | 3 + .../lib/io/ios-shuffle-strong.d.ts | 3 + types/react-icons/lib/io/ios-shuffle.d.ts | 3 + .../lib/io/ios-skipbackward-outline.d.ts | 3 + .../react-icons/lib/io/ios-skipbackward.d.ts | 3 + .../lib/io/ios-skipforward-outline.d.ts | 3 + types/react-icons/lib/io/ios-skipforward.d.ts | 3 + types/react-icons/lib/io/ios-snowy.d.ts | 3 + .../lib/io/ios-speedometer-outline.d.ts | 3 + types/react-icons/lib/io/ios-speedometer.d.ts | 3 + types/react-icons/lib/io/ios-star-half.d.ts | 3 + .../react-icons/lib/io/ios-star-outline.d.ts | 3 + types/react-icons/lib/io/ios-star.d.ts | 3 + .../lib/io/ios-stopwatch-outline.d.ts | 3 + types/react-icons/lib/io/ios-stopwatch.d.ts | 3 + .../react-icons/lib/io/ios-sunny-outline.d.ts | 3 + types/react-icons/lib/io/ios-sunny.d.ts | 3 + .../lib/io/ios-telephone-outline.d.ts | 3 + types/react-icons/lib/io/ios-telephone.d.ts | 3 + .../lib/io/ios-tennisball-outline.d.ts | 3 + types/react-icons/lib/io/ios-tennisball.d.ts | 3 + .../lib/io/ios-thunderstorm-outline.d.ts | 3 + .../react-icons/lib/io/ios-thunderstorm.d.ts | 3 + .../react-icons/lib/io/ios-time-outline.d.ts | 3 + types/react-icons/lib/io/ios-time.d.ts | 3 + .../react-icons/lib/io/ios-timer-outline.d.ts | 3 + types/react-icons/lib/io/ios-timer.d.ts | 3 + .../lib/io/ios-toggle-outline.d.ts | 3 + types/react-icons/lib/io/ios-toggle.d.ts | 3 + .../react-icons/lib/io/ios-trash-outline.d.ts | 3 + types/react-icons/lib/io/ios-trash.d.ts | 3 + .../react-icons/lib/io/ios-undo-outline.d.ts | 3 + types/react-icons/lib/io/ios-undo.d.ts | 3 + .../lib/io/ios-unlocked-outline.d.ts | 3 + types/react-icons/lib/io/ios-unlocked.d.ts | 3 + .../lib/io/ios-upload-outline.d.ts | 3 + types/react-icons/lib/io/ios-upload.d.ts | 3 + .../lib/io/ios-videocam-outline.d.ts | 3 + types/react-icons/lib/io/ios-videocam.d.ts | 3 + types/react-icons/lib/io/ios-volume-high.d.ts | 3 + types/react-icons/lib/io/ios-volume-low.d.ts | 3 + .../lib/io/ios-wineglass-outline.d.ts | 3 + types/react-icons/lib/io/ios-wineglass.d.ts | 3 + .../react-icons/lib/io/ios-world-outline.d.ts | 3 + types/react-icons/lib/io/ios-world.d.ts | 3 + types/react-icons/lib/io/ipad.d.ts | 3 + types/react-icons/lib/io/iphone.d.ts | 3 + types/react-icons/lib/io/ipod.d.ts | 3 + types/react-icons/lib/io/jet.d.ts | 3 + types/react-icons/lib/io/key.d.ts | 3 + types/react-icons/lib/io/knife.d.ts | 3 + types/react-icons/lib/io/laptop.d.ts | 3 + types/react-icons/lib/io/leaf.d.ts | 3 + types/react-icons/lib/io/levels.d.ts | 3 + types/react-icons/lib/io/lightbulb.d.ts | 3 + types/react-icons/lib/io/link.d.ts | 3 + types/react-icons/lib/io/load-a.d.ts | 3 + types/react-icons/lib/io/load-b.d.ts | 3 + types/react-icons/lib/io/load-c.d.ts | 3 + types/react-icons/lib/io/load-d.d.ts | 3 + types/react-icons/lib/io/location.d.ts | 3 + .../react-icons/lib/io/lock-combination.d.ts | 3 + types/react-icons/lib/io/locked.d.ts | 3 + types/react-icons/lib/io/log-in.d.ts | 3 + types/react-icons/lib/io/log-out.d.ts | 3 + types/react-icons/lib/io/loop.d.ts | 3 + types/react-icons/lib/io/magnet.d.ts | 3 + types/react-icons/lib/io/male.d.ts | 3 + types/react-icons/lib/io/man.d.ts | 3 + types/react-icons/lib/io/map.d.ts | 3 + types/react-icons/lib/io/medkit.d.ts | 3 + types/react-icons/lib/io/merge.d.ts | 3 + types/react-icons/lib/io/mic-a.d.ts | 3 + types/react-icons/lib/io/mic-b.d.ts | 3 + types/react-icons/lib/io/mic-c.d.ts | 3 + types/react-icons/lib/io/minus-circled.d.ts | 3 + types/react-icons/lib/io/minus-round.d.ts | 3 + types/react-icons/lib/io/minus.d.ts | 3 + types/react-icons/lib/io/model-s.d.ts | 3 + types/react-icons/lib/io/monitor.d.ts | 3 + types/react-icons/lib/io/more.d.ts | 3 + types/react-icons/lib/io/mouse.d.ts | 3 + types/react-icons/lib/io/music-note.d.ts | 3 + types/react-icons/lib/io/navicon-round.d.ts | 3 + types/react-icons/lib/io/navicon.d.ts | 3 + types/react-icons/lib/io/navigate.d.ts | 3 + types/react-icons/lib/io/network.d.ts | 3 + types/react-icons/lib/io/no-smoking.d.ts | 3 + types/react-icons/lib/io/nuclear.d.ts | 3 + types/react-icons/lib/io/outlet.d.ts | 3 + types/react-icons/lib/io/paintbrush.d.ts | 3 + types/react-icons/lib/io/paintbucket.d.ts | 3 + types/react-icons/lib/io/paper-airplane.d.ts | 3 + types/react-icons/lib/io/paperclip.d.ts | 3 + types/react-icons/lib/io/pause.d.ts | 3 + types/react-icons/lib/io/person-add.d.ts | 3 + types/react-icons/lib/io/person-stalker.d.ts | 3 + types/react-icons/lib/io/person.d.ts | 3 + types/react-icons/lib/io/pie-graph.d.ts | 3 + types/react-icons/lib/io/pin.d.ts | 3 + types/react-icons/lib/io/pinpoint.d.ts | 3 + types/react-icons/lib/io/pizza.d.ts | 3 + types/react-icons/lib/io/plane.d.ts | 3 + types/react-icons/lib/io/planet.d.ts | 3 + types/react-icons/lib/io/play.d.ts | 3 + types/react-icons/lib/io/playstation.d.ts | 3 + types/react-icons/lib/io/plus-circled.d.ts | 3 + types/react-icons/lib/io/plus-round.d.ts | 3 + types/react-icons/lib/io/plus.d.ts | 3 + types/react-icons/lib/io/podium.d.ts | 3 + types/react-icons/lib/io/pound.d.ts | 3 + types/react-icons/lib/io/power.d.ts | 3 + types/react-icons/lib/io/pricetag.d.ts | 3 + types/react-icons/lib/io/pricetags.d.ts | 3 + types/react-icons/lib/io/printer.d.ts | 3 + types/react-icons/lib/io/pull-request.d.ts | 3 + types/react-icons/lib/io/qr-scanner.d.ts | 3 + types/react-icons/lib/io/quote.d.ts | 3 + types/react-icons/lib/io/radio-waves.d.ts | 3 + types/react-icons/lib/io/record.d.ts | 3 + types/react-icons/lib/io/refresh.d.ts | 3 + types/react-icons/lib/io/reply-all.d.ts | 3 + types/react-icons/lib/io/reply.d.ts | 3 + types/react-icons/lib/io/ribbon-a.d.ts | 3 + types/react-icons/lib/io/ribbon-b.d.ts | 3 + types/react-icons/lib/io/sad-outline.d.ts | 3 + types/react-icons/lib/io/sad.d.ts | 3 + types/react-icons/lib/io/scissors.d.ts | 3 + types/react-icons/lib/io/search.d.ts | 3 + types/react-icons/lib/io/settings.d.ts | 3 + types/react-icons/lib/io/share.d.ts | 3 + types/react-icons/lib/io/shuffle.d.ts | 3 + types/react-icons/lib/io/skip-backward.d.ts | 3 + types/react-icons/lib/io/skip-forward.d.ts | 3 + .../lib/io/social-android-outline.d.ts | 3 + types/react-icons/lib/io/social-android.d.ts | 3 + .../lib/io/social-angular-outline.d.ts | 3 + types/react-icons/lib/io/social-angular.d.ts | 3 + .../lib/io/social-apple-outline.d.ts | 3 + types/react-icons/lib/io/social-apple.d.ts | 3 + .../lib/io/social-bitcoin-outline.d.ts | 3 + types/react-icons/lib/io/social-bitcoin.d.ts | 3 + .../lib/io/social-buffer-outline.d.ts | 3 + types/react-icons/lib/io/social-buffer.d.ts | 3 + .../lib/io/social-chrome-outline.d.ts | 3 + types/react-icons/lib/io/social-chrome.d.ts | 3 + .../lib/io/social-codepen-outline.d.ts | 3 + types/react-icons/lib/io/social-codepen.d.ts | 3 + .../lib/io/social-css3-outline.d.ts | 3 + types/react-icons/lib/io/social-css3.d.ts | 3 + .../lib/io/social-designernews-outline.d.ts | 3 + .../lib/io/social-designernews.d.ts | 3 + .../lib/io/social-dribbble-outline.d.ts | 3 + types/react-icons/lib/io/social-dribbble.d.ts | 3 + .../lib/io/social-dropbox-outline.d.ts | 3 + types/react-icons/lib/io/social-dropbox.d.ts | 3 + .../lib/io/social-euro-outline.d.ts | 3 + types/react-icons/lib/io/social-euro.d.ts | 3 + .../lib/io/social-facebook-outline.d.ts | 3 + types/react-icons/lib/io/social-facebook.d.ts | 3 + .../lib/io/social-foursquare-outline.d.ts | 3 + .../react-icons/lib/io/social-foursquare.d.ts | 3 + .../lib/io/social-freebsd-devil.d.ts | 3 + .../lib/io/social-github-outline.d.ts | 3 + types/react-icons/lib/io/social-github.d.ts | 3 + .../lib/io/social-google-outline.d.ts | 3 + types/react-icons/lib/io/social-google.d.ts | 3 + .../lib/io/social-googleplus-outline.d.ts | 3 + .../react-icons/lib/io/social-googleplus.d.ts | 3 + .../lib/io/social-hackernews-outline.d.ts | 3 + .../react-icons/lib/io/social-hackernews.d.ts | 3 + .../lib/io/social-html5-outline.d.ts | 3 + types/react-icons/lib/io/social-html5.d.ts | 3 + .../lib/io/social-instagram-outline.d.ts | 3 + .../react-icons/lib/io/social-instagram.d.ts | 3 + .../lib/io/social-javascript-outline.d.ts | 3 + .../react-icons/lib/io/social-javascript.d.ts | 3 + .../lib/io/social-linkedin-outline.d.ts | 3 + types/react-icons/lib/io/social-linkedin.d.ts | 3 + types/react-icons/lib/io/social-markdown.d.ts | 3 + types/react-icons/lib/io/social-nodejs.d.ts | 3 + types/react-icons/lib/io/social-octocat.d.ts | 3 + .../lib/io/social-pinterest-outline.d.ts | 3 + .../react-icons/lib/io/social-pinterest.d.ts | 3 + types/react-icons/lib/io/social-python.d.ts | 3 + .../lib/io/social-reddit-outline.d.ts | 3 + types/react-icons/lib/io/social-reddit.d.ts | 3 + .../lib/io/social-rss-outline.d.ts | 3 + types/react-icons/lib/io/social-rss.d.ts | 3 + types/react-icons/lib/io/social-sass.d.ts | 3 + .../lib/io/social-skype-outline.d.ts | 3 + types/react-icons/lib/io/social-skype.d.ts | 3 + .../lib/io/social-snapchat-outline.d.ts | 3 + types/react-icons/lib/io/social-snapchat.d.ts | 3 + .../lib/io/social-tumblr-outline.d.ts | 3 + types/react-icons/lib/io/social-tumblr.d.ts | 3 + types/react-icons/lib/io/social-tux.d.ts | 3 + .../lib/io/social-twitch-outline.d.ts | 3 + types/react-icons/lib/io/social-twitch.d.ts | 3 + .../lib/io/social-twitter-outline.d.ts | 3 + types/react-icons/lib/io/social-twitter.d.ts | 3 + .../lib/io/social-usd-outline.d.ts | 3 + types/react-icons/lib/io/social-usd.d.ts | 3 + .../lib/io/social-vimeo-outline.d.ts | 3 + types/react-icons/lib/io/social-vimeo.d.ts | 3 + .../lib/io/social-whatsapp-outline.d.ts | 3 + types/react-icons/lib/io/social-whatsapp.d.ts | 3 + .../lib/io/social-windows-outline.d.ts | 3 + types/react-icons/lib/io/social-windows.d.ts | 3 + .../lib/io/social-wordpress-outline.d.ts | 3 + .../react-icons/lib/io/social-wordpress.d.ts | 3 + .../lib/io/social-yahoo-outline.d.ts | 3 + types/react-icons/lib/io/social-yahoo.d.ts | 3 + .../lib/io/social-yen-outline.d.ts | 3 + types/react-icons/lib/io/social-yen.d.ts | 3 + .../lib/io/social-youtube-outline.d.ts | 3 + types/react-icons/lib/io/social-youtube.d.ts | 3 + .../react-icons/lib/io/soup-can-outline.d.ts | 3 + types/react-icons/lib/io/soup-can.d.ts | 3 + types/react-icons/lib/io/speakerphone.d.ts | 3 + types/react-icons/lib/io/speedometer.d.ts | 3 + types/react-icons/lib/io/spoon.d.ts | 3 + types/react-icons/lib/io/star.d.ts | 3 + types/react-icons/lib/io/stats-bars.d.ts | 3 + types/react-icons/lib/io/steam.d.ts | 3 + types/react-icons/lib/io/stop.d.ts | 3 + types/react-icons/lib/io/thermometer.d.ts | 3 + types/react-icons/lib/io/thumbsdown.d.ts | 3 + types/react-icons/lib/io/thumbsup.d.ts | 3 + types/react-icons/lib/io/toggle-filled.d.ts | 3 + types/react-icons/lib/io/toggle.d.ts | 3 + types/react-icons/lib/io/transgender.d.ts | 3 + types/react-icons/lib/io/trash-a.d.ts | 3 + types/react-icons/lib/io/trash-b.d.ts | 3 + types/react-icons/lib/io/trophy.d.ts | 3 + types/react-icons/lib/io/tshirt-outline.d.ts | 3 + types/react-icons/lib/io/tshirt.d.ts | 3 + types/react-icons/lib/io/umbrella.d.ts | 3 + types/react-icons/lib/io/university.d.ts | 3 + types/react-icons/lib/io/unlocked.d.ts | 3 + types/react-icons/lib/io/upload.d.ts | 3 + types/react-icons/lib/io/usb.d.ts | 3 + types/react-icons/lib/io/videocamera.d.ts | 3 + types/react-icons/lib/io/volume-high.d.ts | 3 + types/react-icons/lib/io/volume-low.d.ts | 3 + types/react-icons/lib/io/volume-medium.d.ts | 3 + types/react-icons/lib/io/volume-mute.d.ts | 3 + types/react-icons/lib/io/wand.d.ts | 3 + types/react-icons/lib/io/waterdrop.d.ts | 3 + types/react-icons/lib/io/wifi.d.ts | 3 + types/react-icons/lib/io/wineglass.d.ts | 3 + types/react-icons/lib/io/woman.d.ts | 3 + types/react-icons/lib/io/wrench.d.ts | 3 + types/react-icons/lib/io/xbox.d.ts | 3 + types/react-icons/lib/md/3d-rotation.d.ts | 3 + types/react-icons/lib/md/ac-unit.d.ts | 3 + types/react-icons/lib/md/access-alarm.d.ts | 3 + types/react-icons/lib/md/access-alarms.d.ts | 3 + types/react-icons/lib/md/access-time.d.ts | 3 + types/react-icons/lib/md/accessibility.d.ts | 3 + types/react-icons/lib/md/accessible.d.ts | 3 + .../lib/md/account-balance-wallet.d.ts | 3 + types/react-icons/lib/md/account-balance.d.ts | 3 + types/react-icons/lib/md/account-box.d.ts | 3 + types/react-icons/lib/md/account-circle.d.ts | 3 + types/react-icons/lib/md/adb.d.ts | 3 + types/react-icons/lib/md/add-a-photo.d.ts | 3 + types/react-icons/lib/md/add-alarm.d.ts | 3 + types/react-icons/lib/md/add-alert.d.ts | 3 + types/react-icons/lib/md/add-box.d.ts | 3 + .../lib/md/add-circle-outline.d.ts | 3 + types/react-icons/lib/md/add-circle.d.ts | 3 + types/react-icons/lib/md/add-location.d.ts | 3 + .../react-icons/lib/md/add-shopping-cart.d.ts | 3 + types/react-icons/lib/md/add-to-photos.d.ts | 3 + types/react-icons/lib/md/add-to-queue.d.ts | 3 + types/react-icons/lib/md/add.d.ts | 3 + types/react-icons/lib/md/adjust.d.ts | 3 + .../lib/md/airline-seat-flat-angled.d.ts | 3 + .../react-icons/lib/md/airline-seat-flat.d.ts | 3 + .../lib/md/airline-seat-individual-suite.d.ts | 3 + .../lib/md/airline-seat-legroom-extra.d.ts | 3 + .../lib/md/airline-seat-legroom-normal.d.ts | 3 + .../lib/md/airline-seat-legroom-reduced.d.ts | 3 + .../lib/md/airline-seat-recline-extra.d.ts | 3 + .../lib/md/airline-seat-recline-normal.d.ts | 3 + .../lib/md/airplanemode-active.d.ts | 3 + .../lib/md/airplanemode-inactive.d.ts | 3 + types/react-icons/lib/md/airplay.d.ts | 3 + types/react-icons/lib/md/airport-shuttle.d.ts | 3 + types/react-icons/lib/md/alarm-add.d.ts | 3 + types/react-icons/lib/md/alarm-off.d.ts | 3 + types/react-icons/lib/md/alarm-on.d.ts | 3 + types/react-icons/lib/md/alarm.d.ts | 3 + types/react-icons/lib/md/album.d.ts | 3 + types/react-icons/lib/md/all-inclusive.d.ts | 3 + types/react-icons/lib/md/all-out.d.ts | 3 + types/react-icons/lib/md/android.d.ts | 3 + types/react-icons/lib/md/announcement.d.ts | 3 + types/react-icons/lib/md/apps.d.ts | 3 + types/react-icons/lib/md/archive.d.ts | 3 + types/react-icons/lib/md/arrow-back.d.ts | 3 + types/react-icons/lib/md/arrow-downward.d.ts | 3 + .../lib/md/arrow-drop-down-circle.d.ts | 3 + types/react-icons/lib/md/arrow-drop-down.d.ts | 3 + types/react-icons/lib/md/arrow-drop-up.d.ts | 3 + types/react-icons/lib/md/arrow-forward.d.ts | 3 + types/react-icons/lib/md/arrow-upward.d.ts | 3 + types/react-icons/lib/md/art-track.d.ts | 3 + types/react-icons/lib/md/aspect-ratio.d.ts | 3 + types/react-icons/lib/md/assessment.d.ts | 3 + types/react-icons/lib/md/assignment-ind.d.ts | 3 + types/react-icons/lib/md/assignment-late.d.ts | 3 + .../react-icons/lib/md/assignment-return.d.ts | 3 + .../lib/md/assignment-returned.d.ts | 3 + .../lib/md/assignment-turned-in.d.ts | 3 + types/react-icons/lib/md/assignment.d.ts | 3 + types/react-icons/lib/md/assistant-photo.d.ts | 3 + types/react-icons/lib/md/assistant.d.ts | 3 + types/react-icons/lib/md/attach-file.d.ts | 3 + types/react-icons/lib/md/attach-money.d.ts | 3 + types/react-icons/lib/md/attachment.d.ts | 3 + types/react-icons/lib/md/audiotrack.d.ts | 3 + types/react-icons/lib/md/autorenew.d.ts | 3 + types/react-icons/lib/md/av-timer.d.ts | 3 + types/react-icons/lib/md/backspace.d.ts | 3 + types/react-icons/lib/md/backup.d.ts | 3 + types/react-icons/lib/md/battery-alert.d.ts | 3 + .../lib/md/battery-charging-full.d.ts | 3 + types/react-icons/lib/md/battery-full.d.ts | 3 + types/react-icons/lib/md/battery-std.d.ts | 3 + types/react-icons/lib/md/battery-unknown.d.ts | 3 + types/react-icons/lib/md/beach-access.d.ts | 3 + types/react-icons/lib/md/beenhere.d.ts | 3 + types/react-icons/lib/md/block.d.ts | 3 + types/react-icons/lib/md/bluetooth-audio.d.ts | 3 + .../lib/md/bluetooth-connected.d.ts | 3 + .../lib/md/bluetooth-disabled.d.ts | 3 + .../lib/md/bluetooth-searching.d.ts | 3 + types/react-icons/lib/md/bluetooth.d.ts | 3 + types/react-icons/lib/md/blur-circular.d.ts | 3 + types/react-icons/lib/md/blur-linear.d.ts | 3 + types/react-icons/lib/md/blur-off.d.ts | 3 + types/react-icons/lib/md/blur-on.d.ts | 3 + types/react-icons/lib/md/book.d.ts | 3 + .../react-icons/lib/md/bookmark-outline.d.ts | 3 + types/react-icons/lib/md/bookmark.d.ts | 3 + types/react-icons/lib/md/border-all.d.ts | 3 + types/react-icons/lib/md/border-bottom.d.ts | 3 + types/react-icons/lib/md/border-clear.d.ts | 3 + types/react-icons/lib/md/border-color.d.ts | 3 + .../react-icons/lib/md/border-horizontal.d.ts | 3 + types/react-icons/lib/md/border-inner.d.ts | 3 + types/react-icons/lib/md/border-left.d.ts | 3 + types/react-icons/lib/md/border-outer.d.ts | 3 + types/react-icons/lib/md/border-right.d.ts | 3 + types/react-icons/lib/md/border-style.d.ts | 3 + types/react-icons/lib/md/border-top.d.ts | 3 + types/react-icons/lib/md/border-vertical.d.ts | 3 + .../lib/md/branding-watermark.d.ts | 3 + types/react-icons/lib/md/brightness-1.d.ts | 3 + types/react-icons/lib/md/brightness-2.d.ts | 3 + types/react-icons/lib/md/brightness-3.d.ts | 3 + types/react-icons/lib/md/brightness-4.d.ts | 3 + types/react-icons/lib/md/brightness-5.d.ts | 3 + types/react-icons/lib/md/brightness-6.d.ts | 3 + types/react-icons/lib/md/brightness-7.d.ts | 3 + types/react-icons/lib/md/brightness-auto.d.ts | 3 + types/react-icons/lib/md/brightness-high.d.ts | 3 + types/react-icons/lib/md/brightness-low.d.ts | 3 + .../react-icons/lib/md/brightness-medium.d.ts | 3 + types/react-icons/lib/md/broken-image.d.ts | 3 + types/react-icons/lib/md/brush.d.ts | 3 + types/react-icons/lib/md/bubble-chart.d.ts | 3 + types/react-icons/lib/md/bug-report.d.ts | 3 + types/react-icons/lib/md/build.d.ts | 3 + types/react-icons/lib/md/burst-mode.d.ts | 3 + types/react-icons/lib/md/business-center.d.ts | 3 + types/react-icons/lib/md/business.d.ts | 3 + types/react-icons/lib/md/cached.d.ts | 3 + types/react-icons/lib/md/cake.d.ts | 3 + types/react-icons/lib/md/call-end.d.ts | 3 + types/react-icons/lib/md/call-made.d.ts | 3 + types/react-icons/lib/md/call-merge.d.ts | 3 + .../lib/md/call-missed-outgoing.d.ts | 3 + types/react-icons/lib/md/call-missed.d.ts | 3 + types/react-icons/lib/md/call-received.d.ts | 3 + types/react-icons/lib/md/call-split.d.ts | 3 + types/react-icons/lib/md/call-to-action.d.ts | 3 + types/react-icons/lib/md/call.d.ts | 3 + types/react-icons/lib/md/camera-alt.d.ts | 3 + types/react-icons/lib/md/camera-enhance.d.ts | 3 + types/react-icons/lib/md/camera-front.d.ts | 3 + types/react-icons/lib/md/camera-rear.d.ts | 3 + types/react-icons/lib/md/camera-roll.d.ts | 3 + types/react-icons/lib/md/camera.d.ts | 3 + types/react-icons/lib/md/cancel.d.ts | 3 + types/react-icons/lib/md/card-giftcard.d.ts | 3 + types/react-icons/lib/md/card-membership.d.ts | 3 + types/react-icons/lib/md/card-travel.d.ts | 3 + types/react-icons/lib/md/casino.d.ts | 3 + types/react-icons/lib/md/cast-connected.d.ts | 3 + types/react-icons/lib/md/cast.d.ts | 3 + .../lib/md/center-focus-strong.d.ts | 3 + .../react-icons/lib/md/center-focus-weak.d.ts | 3 + types/react-icons/lib/md/change-history.d.ts | 3 + .../lib/md/chat-bubble-outline.d.ts | 3 + types/react-icons/lib/md/chat-bubble.d.ts | 3 + types/react-icons/lib/md/chat.d.ts | 3 + .../lib/md/check-box-outline-blank.d.ts | 3 + types/react-icons/lib/md/check-box.d.ts | 3 + types/react-icons/lib/md/check-circle.d.ts | 3 + types/react-icons/lib/md/check.d.ts | 3 + types/react-icons/lib/md/chevron-left.d.ts | 3 + types/react-icons/lib/md/chevron-right.d.ts | 3 + types/react-icons/lib/md/child-care.d.ts | 3 + types/react-icons/lib/md/child-friendly.d.ts | 3 + .../lib/md/chrome-reader-mode.d.ts | 3 + types/react-icons/lib/md/class.d.ts | 3 + types/react-icons/lib/md/clear-all.d.ts | 3 + types/react-icons/lib/md/clear.d.ts | 3 + types/react-icons/lib/md/close.d.ts | 3 + types/react-icons/lib/md/closed-caption.d.ts | 3 + types/react-icons/lib/md/cloud-circle.d.ts | 3 + types/react-icons/lib/md/cloud-done.d.ts | 3 + types/react-icons/lib/md/cloud-download.d.ts | 3 + types/react-icons/lib/md/cloud-off.d.ts | 3 + types/react-icons/lib/md/cloud-queue.d.ts | 3 + types/react-icons/lib/md/cloud-upload.d.ts | 3 + types/react-icons/lib/md/cloud.d.ts | 3 + types/react-icons/lib/md/code.d.ts | 3 + .../lib/md/collections-bookmark.d.ts | 3 + types/react-icons/lib/md/collections.d.ts | 3 + types/react-icons/lib/md/color-lens.d.ts | 3 + types/react-icons/lib/md/colorize.d.ts | 3 + types/react-icons/lib/md/comment.d.ts | 3 + types/react-icons/lib/md/compare-arrows.d.ts | 3 + types/react-icons/lib/md/compare.d.ts | 3 + types/react-icons/lib/md/computer.d.ts | 3 + .../lib/md/confirmation-number.d.ts | 3 + types/react-icons/lib/md/contact-mail.d.ts | 3 + types/react-icons/lib/md/contact-phone.d.ts | 3 + types/react-icons/lib/md/contacts.d.ts | 3 + types/react-icons/lib/md/content-copy.d.ts | 3 + types/react-icons/lib/md/content-cut.d.ts | 3 + types/react-icons/lib/md/content-paste.d.ts | 3 + .../lib/md/control-point-duplicate.d.ts | 3 + types/react-icons/lib/md/control-point.d.ts | 3 + types/react-icons/lib/md/copyright.d.ts | 3 + .../react-icons/lib/md/create-new-folder.d.ts | 3 + types/react-icons/lib/md/create.d.ts | 3 + types/react-icons/lib/md/credit-card.d.ts | 3 + types/react-icons/lib/md/crop-16-9.d.ts | 3 + types/react-icons/lib/md/crop-3-2.d.ts | 3 + types/react-icons/lib/md/crop-5-4.d.ts | 3 + types/react-icons/lib/md/crop-7-5.d.ts | 3 + types/react-icons/lib/md/crop-din.d.ts | 3 + types/react-icons/lib/md/crop-free.d.ts | 3 + types/react-icons/lib/md/crop-landscape.d.ts | 3 + types/react-icons/lib/md/crop-original.d.ts | 3 + types/react-icons/lib/md/crop-portrait.d.ts | 3 + types/react-icons/lib/md/crop-rotate.d.ts | 3 + types/react-icons/lib/md/crop-square.d.ts | 3 + types/react-icons/lib/md/crop.d.ts | 3 + types/react-icons/lib/md/dashboard.d.ts | 3 + types/react-icons/lib/md/data-usage.d.ts | 3 + types/react-icons/lib/md/date-range.d.ts | 3 + types/react-icons/lib/md/dehaze.d.ts | 3 + types/react-icons/lib/md/delete-forever.d.ts | 3 + types/react-icons/lib/md/delete-sweep.d.ts | 3 + types/react-icons/lib/md/delete.d.ts | 3 + types/react-icons/lib/md/description.d.ts | 3 + types/react-icons/lib/md/desktop-mac.d.ts | 3 + types/react-icons/lib/md/desktop-windows.d.ts | 3 + types/react-icons/lib/md/details.d.ts | 3 + types/react-icons/lib/md/developer-board.d.ts | 3 + types/react-icons/lib/md/developer-mode.d.ts | 3 + types/react-icons/lib/md/device-hub.d.ts | 3 + types/react-icons/lib/md/devices-other.d.ts | 3 + types/react-icons/lib/md/devices.d.ts | 3 + types/react-icons/lib/md/dialer-sip.d.ts | 3 + types/react-icons/lib/md/dialpad.d.ts | 3 + types/react-icons/lib/md/directions-bike.d.ts | 3 + types/react-icons/lib/md/directions-boat.d.ts | 3 + types/react-icons/lib/md/directions-bus.d.ts | 3 + types/react-icons/lib/md/directions-car.d.ts | 3 + .../react-icons/lib/md/directions-ferry.d.ts | 3 + .../lib/md/directions-railway.d.ts | 3 + types/react-icons/lib/md/directions-run.d.ts | 3 + .../react-icons/lib/md/directions-subway.d.ts | 3 + .../lib/md/directions-transit.d.ts | 3 + types/react-icons/lib/md/directions-walk.d.ts | 3 + types/react-icons/lib/md/directions.d.ts | 3 + types/react-icons/lib/md/disc-full.d.ts | 3 + types/react-icons/lib/md/dns.d.ts | 3 + .../lib/md/do-not-disturb-alt.d.ts | 3 + .../lib/md/do-not-disturb-off.d.ts | 3 + types/react-icons/lib/md/do-not-disturb.d.ts | 3 + types/react-icons/lib/md/dock.d.ts | 3 + types/react-icons/lib/md/domain.d.ts | 3 + types/react-icons/lib/md/done-all.d.ts | 3 + types/react-icons/lib/md/done.d.ts | 3 + types/react-icons/lib/md/donut-large.d.ts | 3 + types/react-icons/lib/md/donut-small.d.ts | 3 + types/react-icons/lib/md/drafts.d.ts | 3 + types/react-icons/lib/md/drag-handle.d.ts | 3 + types/react-icons/lib/md/drive-eta.d.ts | 3 + types/react-icons/lib/md/dvr.d.ts | 3 + types/react-icons/lib/md/edit-location.d.ts | 3 + types/react-icons/lib/md/edit.d.ts | 3 + types/react-icons/lib/md/eject.d.ts | 3 + types/react-icons/lib/md/email.d.ts | 3 + .../lib/md/enhanced-encryption.d.ts | 3 + types/react-icons/lib/md/equalizer.d.ts | 3 + types/react-icons/lib/md/error-outline.d.ts | 3 + types/react-icons/lib/md/error.d.ts | 3 + types/react-icons/lib/md/euro-symbol.d.ts | 3 + types/react-icons/lib/md/ev-station.d.ts | 3 + types/react-icons/lib/md/event-available.d.ts | 3 + types/react-icons/lib/md/event-busy.d.ts | 3 + types/react-icons/lib/md/event-note.d.ts | 3 + types/react-icons/lib/md/event-seat.d.ts | 3 + types/react-icons/lib/md/event.d.ts | 3 + types/react-icons/lib/md/exit-to-app.d.ts | 3 + types/react-icons/lib/md/expand-less.d.ts | 3 + types/react-icons/lib/md/expand-more.d.ts | 3 + types/react-icons/lib/md/explicit.d.ts | 3 + types/react-icons/lib/md/explore.d.ts | 3 + .../react-icons/lib/md/exposure-minus-1.d.ts | 3 + .../react-icons/lib/md/exposure-minus-2.d.ts | 3 + types/react-icons/lib/md/exposure-neg-1.d.ts | 3 + types/react-icons/lib/md/exposure-neg-2.d.ts | 3 + types/react-icons/lib/md/exposure-plus-1.d.ts | 3 + types/react-icons/lib/md/exposure-plus-2.d.ts | 3 + types/react-icons/lib/md/exposure-zero.d.ts | 3 + types/react-icons/lib/md/exposure.d.ts | 3 + types/react-icons/lib/md/extension.d.ts | 3 + types/react-icons/lib/md/face.d.ts | 3 + types/react-icons/lib/md/fast-forward.d.ts | 3 + types/react-icons/lib/md/fast-rewind.d.ts | 3 + types/react-icons/lib/md/favorite-border.d.ts | 3 + .../react-icons/lib/md/favorite-outline.d.ts | 3 + types/react-icons/lib/md/favorite.d.ts | 3 + .../lib/md/featured-play-list.d.ts | 3 + types/react-icons/lib/md/featured-video.d.ts | 3 + types/react-icons/lib/md/feedback.d.ts | 3 + types/react-icons/lib/md/fiber-dvr.d.ts | 3 + .../lib/md/fiber-manual-record.d.ts | 3 + types/react-icons/lib/md/fiber-new.d.ts | 3 + types/react-icons/lib/md/fiber-pin.d.ts | 3 + .../lib/md/fiber-smart-record.d.ts | 3 + types/react-icons/lib/md/file-download.d.ts | 3 + types/react-icons/lib/md/file-upload.d.ts | 3 + types/react-icons/lib/md/filter-1.d.ts | 3 + types/react-icons/lib/md/filter-2.d.ts | 3 + types/react-icons/lib/md/filter-3.d.ts | 3 + types/react-icons/lib/md/filter-4.d.ts | 3 + types/react-icons/lib/md/filter-5.d.ts | 3 + types/react-icons/lib/md/filter-6.d.ts | 3 + types/react-icons/lib/md/filter-7.d.ts | 3 + types/react-icons/lib/md/filter-8.d.ts | 3 + types/react-icons/lib/md/filter-9-plus.d.ts | 3 + types/react-icons/lib/md/filter-9.d.ts | 3 + types/react-icons/lib/md/filter-b-and-w.d.ts | 3 + .../lib/md/filter-center-focus.d.ts | 3 + types/react-icons/lib/md/filter-drama.d.ts | 3 + types/react-icons/lib/md/filter-frames.d.ts | 3 + types/react-icons/lib/md/filter-hdr.d.ts | 3 + types/react-icons/lib/md/filter-list.d.ts | 3 + types/react-icons/lib/md/filter-none.d.ts | 3 + .../react-icons/lib/md/filter-tilt-shift.d.ts | 3 + types/react-icons/lib/md/filter-vintage.d.ts | 3 + types/react-icons/lib/md/filter.d.ts | 3 + types/react-icons/lib/md/find-in-page.d.ts | 3 + types/react-icons/lib/md/find-replace.d.ts | 3 + types/react-icons/lib/md/fingerprint.d.ts | 3 + types/react-icons/lib/md/first-page.d.ts | 3 + types/react-icons/lib/md/fitness-center.d.ts | 3 + types/react-icons/lib/md/flag.d.ts | 3 + types/react-icons/lib/md/flare.d.ts | 3 + types/react-icons/lib/md/flash-auto.d.ts | 3 + types/react-icons/lib/md/flash-off.d.ts | 3 + types/react-icons/lib/md/flash-on.d.ts | 3 + types/react-icons/lib/md/flight-land.d.ts | 3 + types/react-icons/lib/md/flight-takeoff.d.ts | 3 + types/react-icons/lib/md/flight.d.ts | 3 + types/react-icons/lib/md/flip-to-back.d.ts | 3 + types/react-icons/lib/md/flip-to-front.d.ts | 3 + types/react-icons/lib/md/flip.d.ts | 3 + types/react-icons/lib/md/folder-open.d.ts | 3 + types/react-icons/lib/md/folder-shared.d.ts | 3 + types/react-icons/lib/md/folder-special.d.ts | 3 + types/react-icons/lib/md/folder.d.ts | 3 + types/react-icons/lib/md/font-download.d.ts | 3 + .../lib/md/format-align-center.d.ts | 3 + .../lib/md/format-align-justify.d.ts | 3 + .../react-icons/lib/md/format-align-left.d.ts | 3 + .../lib/md/format-align-right.d.ts | 3 + types/react-icons/lib/md/format-bold.d.ts | 3 + types/react-icons/lib/md/format-clear.d.ts | 3 + .../react-icons/lib/md/format-color-fill.d.ts | 3 + .../lib/md/format-color-reset.d.ts | 3 + .../react-icons/lib/md/format-color-text.d.ts | 3 + .../lib/md/format-indent-decrease.d.ts | 3 + .../lib/md/format-indent-increase.d.ts | 3 + types/react-icons/lib/md/format-italic.d.ts | 3 + .../lib/md/format-line-spacing.d.ts | 3 + .../lib/md/format-list-bulleted.d.ts | 3 + .../lib/md/format-list-numbered.d.ts | 3 + types/react-icons/lib/md/format-paint.d.ts | 3 + types/react-icons/lib/md/format-quote.d.ts | 3 + types/react-icons/lib/md/format-shapes.d.ts | 3 + types/react-icons/lib/md/format-size.d.ts | 3 + .../lib/md/format-strikethrough.d.ts | 3 + .../lib/md/format-textdirection-l-to-r.d.ts | 3 + .../lib/md/format-textdirection-r-to-l.d.ts | 3 + .../react-icons/lib/md/format-underlined.d.ts | 3 + types/react-icons/lib/md/forum.d.ts | 3 + types/react-icons/lib/md/forward-10.d.ts | 3 + types/react-icons/lib/md/forward-30.d.ts | 3 + types/react-icons/lib/md/forward-5.d.ts | 3 + types/react-icons/lib/md/forward.d.ts | 3 + types/react-icons/lib/md/free-breakfast.d.ts | 3 + types/react-icons/lib/md/fullscreen-exit.d.ts | 3 + types/react-icons/lib/md/fullscreen.d.ts | 3 + types/react-icons/lib/md/functions.d.ts | 3 + types/react-icons/lib/md/g-translate.d.ts | 3 + types/react-icons/lib/md/gamepad.d.ts | 3 + types/react-icons/lib/md/games.d.ts | 3 + types/react-icons/lib/md/gavel.d.ts | 3 + types/react-icons/lib/md/gesture.d.ts | 3 + types/react-icons/lib/md/get-app.d.ts | 3 + types/react-icons/lib/md/gif.d.ts | 3 + types/react-icons/lib/md/goat.d.ts | 3 + types/react-icons/lib/md/golf-course.d.ts | 3 + types/react-icons/lib/md/gps-fixed.d.ts | 3 + types/react-icons/lib/md/gps-not-fixed.d.ts | 3 + types/react-icons/lib/md/gps-off.d.ts | 3 + types/react-icons/lib/md/grade.d.ts | 3 + types/react-icons/lib/md/gradient.d.ts | 3 + types/react-icons/lib/md/grain.d.ts | 3 + types/react-icons/lib/md/graphic-eq.d.ts | 3 + types/react-icons/lib/md/grid-off.d.ts | 3 + types/react-icons/lib/md/grid-on.d.ts | 3 + types/react-icons/lib/md/group-add.d.ts | 3 + types/react-icons/lib/md/group-work.d.ts | 3 + types/react-icons/lib/md/group.d.ts | 3 + types/react-icons/lib/md/hd.d.ts | 3 + types/react-icons/lib/md/hdr-off.d.ts | 3 + types/react-icons/lib/md/hdr-on.d.ts | 3 + types/react-icons/lib/md/hdr-strong.d.ts | 3 + types/react-icons/lib/md/hdr-weak.d.ts | 3 + types/react-icons/lib/md/headset-mic.d.ts | 3 + types/react-icons/lib/md/headset.d.ts | 3 + types/react-icons/lib/md/healing.d.ts | 3 + types/react-icons/lib/md/hearing.d.ts | 3 + types/react-icons/lib/md/help-outline.d.ts | 3 + types/react-icons/lib/md/help.d.ts | 3 + types/react-icons/lib/md/high-quality.d.ts | 3 + types/react-icons/lib/md/highlight-off.d.ts | 3 + .../react-icons/lib/md/highlight-remove.d.ts | 3 + types/react-icons/lib/md/highlight.d.ts | 3 + types/react-icons/lib/md/history.d.ts | 3 + types/react-icons/lib/md/home.d.ts | 3 + types/react-icons/lib/md/hot-tub.d.ts | 3 + types/react-icons/lib/md/hotel.d.ts | 3 + types/react-icons/lib/md/hourglass-empty.d.ts | 3 + types/react-icons/lib/md/hourglass-full.d.ts | 3 + types/react-icons/lib/md/http.d.ts | 3 + types/react-icons/lib/md/https.d.ts | 3 + .../lib/md/image-aspect-ratio.d.ts | 3 + types/react-icons/lib/md/image.d.ts | 3 + types/react-icons/lib/md/import-contacts.d.ts | 3 + types/react-icons/lib/md/import-export.d.ts | 3 + .../react-icons/lib/md/important-devices.d.ts | 3 + types/react-icons/lib/md/inbox.d.ts | 3 + .../lib/md/indeterminate-check-box.d.ts | 3 + types/react-icons/lib/md/index.d.ts | 946 ++++++ types/react-icons/lib/md/info-outline.d.ts | 3 + types/react-icons/lib/md/info.d.ts | 3 + types/react-icons/lib/md/input.d.ts | 3 + types/react-icons/lib/md/insert-chart.d.ts | 3 + types/react-icons/lib/md/insert-comment.d.ts | 3 + .../react-icons/lib/md/insert-drive-file.d.ts | 3 + types/react-icons/lib/md/insert-emoticon.d.ts | 3 + .../react-icons/lib/md/insert-invitation.d.ts | 3 + types/react-icons/lib/md/insert-link.d.ts | 3 + types/react-icons/lib/md/insert-photo.d.ts | 3 + .../react-icons/lib/md/invert-colors-off.d.ts | 3 + .../react-icons/lib/md/invert-colors-on.d.ts | 3 + types/react-icons/lib/md/invert-colors.d.ts | 3 + types/react-icons/lib/md/iso.d.ts | 3 + .../lib/md/keyboard-arrow-down.d.ts | 3 + .../lib/md/keyboard-arrow-left.d.ts | 3 + .../lib/md/keyboard-arrow-right.d.ts | 3 + .../react-icons/lib/md/keyboard-arrow-up.d.ts | 3 + .../lib/md/keyboard-backspace.d.ts | 3 + .../react-icons/lib/md/keyboard-capslock.d.ts | 3 + .../react-icons/lib/md/keyboard-control.d.ts | 3 + types/react-icons/lib/md/keyboard-hide.d.ts | 3 + types/react-icons/lib/md/keyboard-return.d.ts | 3 + types/react-icons/lib/md/keyboard-tab.d.ts | 3 + types/react-icons/lib/md/keyboard-voice.d.ts | 3 + types/react-icons/lib/md/keyboard.d.ts | 3 + types/react-icons/lib/md/kitchen.d.ts | 3 + types/react-icons/lib/md/label-outline.d.ts | 3 + types/react-icons/lib/md/label.d.ts | 3 + types/react-icons/lib/md/landscape.d.ts | 3 + types/react-icons/lib/md/language.d.ts | 3 + .../react-icons/lib/md/laptop-chromebook.d.ts | 3 + types/react-icons/lib/md/laptop-mac.d.ts | 3 + types/react-icons/lib/md/laptop-windows.d.ts | 3 + types/react-icons/lib/md/laptop.d.ts | 3 + types/react-icons/lib/md/last-page.d.ts | 3 + types/react-icons/lib/md/launch.d.ts | 3 + types/react-icons/lib/md/layers-clear.d.ts | 3 + types/react-icons/lib/md/layers.d.ts | 3 + types/react-icons/lib/md/leak-add.d.ts | 3 + types/react-icons/lib/md/leak-remove.d.ts | 3 + types/react-icons/lib/md/lens.d.ts | 3 + types/react-icons/lib/md/library-add.d.ts | 3 + types/react-icons/lib/md/library-books.d.ts | 3 + types/react-icons/lib/md/library-music.d.ts | 3 + .../react-icons/lib/md/lightbulb-outline.d.ts | 3 + types/react-icons/lib/md/line-style.d.ts | 3 + types/react-icons/lib/md/line-weight.d.ts | 3 + types/react-icons/lib/md/linear-scale.d.ts | 3 + types/react-icons/lib/md/link.d.ts | 3 + types/react-icons/lib/md/linked-camera.d.ts | 3 + types/react-icons/lib/md/list.d.ts | 3 + types/react-icons/lib/md/live-help.d.ts | 3 + types/react-icons/lib/md/live-tv.d.ts | 3 + types/react-icons/lib/md/local-airport.d.ts | 3 + types/react-icons/lib/md/local-atm.d.ts | 3 + .../react-icons/lib/md/local-attraction.d.ts | 3 + types/react-icons/lib/md/local-bar.d.ts | 3 + types/react-icons/lib/md/local-cafe.d.ts | 3 + types/react-icons/lib/md/local-car-wash.d.ts | 3 + .../lib/md/local-convenience-store.d.ts | 3 + types/react-icons/lib/md/local-drink.d.ts | 3 + types/react-icons/lib/md/local-florist.d.ts | 3 + .../react-icons/lib/md/local-gas-station.d.ts | 3 + .../lib/md/local-grocery-store.d.ts | 3 + types/react-icons/lib/md/local-hospital.d.ts | 3 + types/react-icons/lib/md/local-hotel.d.ts | 3 + .../lib/md/local-laundry-service.d.ts | 3 + types/react-icons/lib/md/local-library.d.ts | 3 + types/react-icons/lib/md/local-mall.d.ts | 3 + types/react-icons/lib/md/local-movies.d.ts | 3 + types/react-icons/lib/md/local-offer.d.ts | 3 + types/react-icons/lib/md/local-parking.d.ts | 3 + types/react-icons/lib/md/local-pharmacy.d.ts | 3 + types/react-icons/lib/md/local-phone.d.ts | 3 + types/react-icons/lib/md/local-pizza.d.ts | 3 + types/react-icons/lib/md/local-play.d.ts | 3 + .../react-icons/lib/md/local-post-office.d.ts | 3 + .../react-icons/lib/md/local-print-shop.d.ts | 3 + .../react-icons/lib/md/local-restaurant.d.ts | 3 + types/react-icons/lib/md/local-see.d.ts | 3 + types/react-icons/lib/md/local-shipping.d.ts | 3 + types/react-icons/lib/md/local-taxi.d.ts | 3 + types/react-icons/lib/md/location-city.d.ts | 3 + .../react-icons/lib/md/location-disabled.d.ts | 3 + .../react-icons/lib/md/location-history.d.ts | 3 + types/react-icons/lib/md/location-off.d.ts | 3 + types/react-icons/lib/md/location-on.d.ts | 3 + .../lib/md/location-searching.d.ts | 3 + types/react-icons/lib/md/lock-open.d.ts | 3 + types/react-icons/lib/md/lock-outline.d.ts | 3 + types/react-icons/lib/md/lock.d.ts | 3 + types/react-icons/lib/md/looks-3.d.ts | 3 + types/react-icons/lib/md/looks-4.d.ts | 3 + types/react-icons/lib/md/looks-5.d.ts | 3 + types/react-icons/lib/md/looks-6.d.ts | 3 + types/react-icons/lib/md/looks-one.d.ts | 3 + types/react-icons/lib/md/looks-two.d.ts | 3 + types/react-icons/lib/md/looks.d.ts | 3 + types/react-icons/lib/md/loop.d.ts | 3 + types/react-icons/lib/md/loupe.d.ts | 3 + types/react-icons/lib/md/low-priority.d.ts | 3 + types/react-icons/lib/md/loyalty.d.ts | 3 + types/react-icons/lib/md/mail-outline.d.ts | 3 + types/react-icons/lib/md/mail.d.ts | 3 + types/react-icons/lib/md/map.d.ts | 3 + .../lib/md/markunread-mailbox.d.ts | 3 + types/react-icons/lib/md/markunread.d.ts | 3 + types/react-icons/lib/md/memory.d.ts | 3 + types/react-icons/lib/md/menu.d.ts | 3 + types/react-icons/lib/md/merge-type.d.ts | 3 + types/react-icons/lib/md/message.d.ts | 3 + types/react-icons/lib/md/mic-none.d.ts | 3 + types/react-icons/lib/md/mic-off.d.ts | 3 + types/react-icons/lib/md/mic.d.ts | 3 + types/react-icons/lib/md/mms.d.ts | 3 + types/react-icons/lib/md/mode-comment.d.ts | 3 + types/react-icons/lib/md/mode-edit.d.ts | 3 + types/react-icons/lib/md/monetization-on.d.ts | 3 + types/react-icons/lib/md/money-off.d.ts | 3 + .../react-icons/lib/md/monochrome-photos.d.ts | 3 + types/react-icons/lib/md/mood-bad.d.ts | 3 + types/react-icons/lib/md/mood.d.ts | 3 + types/react-icons/lib/md/more-horiz.d.ts | 3 + types/react-icons/lib/md/more-vert.d.ts | 3 + types/react-icons/lib/md/more.d.ts | 3 + types/react-icons/lib/md/motorcycle.d.ts | 3 + types/react-icons/lib/md/mouse.d.ts | 3 + types/react-icons/lib/md/move-to-inbox.d.ts | 3 + types/react-icons/lib/md/movie-creation.d.ts | 3 + types/react-icons/lib/md/movie-filter.d.ts | 3 + types/react-icons/lib/md/movie.d.ts | 3 + types/react-icons/lib/md/multiline-chart.d.ts | 3 + types/react-icons/lib/md/music-note.d.ts | 3 + types/react-icons/lib/md/music-video.d.ts | 3 + types/react-icons/lib/md/my-location.d.ts | 3 + types/react-icons/lib/md/nature-people.d.ts | 3 + types/react-icons/lib/md/nature.d.ts | 3 + types/react-icons/lib/md/navigate-before.d.ts | 3 + types/react-icons/lib/md/navigate-next.d.ts | 3 + types/react-icons/lib/md/navigation.d.ts | 3 + types/react-icons/lib/md/near-me.d.ts | 3 + types/react-icons/lib/md/network-cell.d.ts | 3 + types/react-icons/lib/md/network-check.d.ts | 3 + types/react-icons/lib/md/network-locked.d.ts | 3 + types/react-icons/lib/md/network-wifi.d.ts | 3 + types/react-icons/lib/md/new-releases.d.ts | 3 + types/react-icons/lib/md/next-week.d.ts | 3 + types/react-icons/lib/md/nfc.d.ts | 3 + types/react-icons/lib/md/no-encryption.d.ts | 3 + types/react-icons/lib/md/no-sim.d.ts | 3 + types/react-icons/lib/md/not-interested.d.ts | 3 + types/react-icons/lib/md/note-add.d.ts | 3 + types/react-icons/lib/md/note.d.ts | 3 + .../lib/md/notifications-active.d.ts | 3 + .../lib/md/notifications-none.d.ts | 3 + .../react-icons/lib/md/notifications-off.d.ts | 3 + .../lib/md/notifications-paused.d.ts | 3 + types/react-icons/lib/md/notifications.d.ts | 3 + types/react-icons/lib/md/now-wallpaper.d.ts | 3 + types/react-icons/lib/md/now-widgets.d.ts | 3 + types/react-icons/lib/md/offline-pin.d.ts | 3 + types/react-icons/lib/md/ondemand-video.d.ts | 3 + types/react-icons/lib/md/opacity.d.ts | 3 + types/react-icons/lib/md/open-in-browser.d.ts | 3 + types/react-icons/lib/md/open-in-new.d.ts | 3 + types/react-icons/lib/md/open-with.d.ts | 3 + types/react-icons/lib/md/pages.d.ts | 3 + types/react-icons/lib/md/pageview.d.ts | 3 + types/react-icons/lib/md/palette.d.ts | 3 + types/react-icons/lib/md/pan-tool.d.ts | 3 + .../react-icons/lib/md/panorama-fish-eye.d.ts | 3 + .../lib/md/panorama-horizontal.d.ts | 3 + .../react-icons/lib/md/panorama-vertical.d.ts | 3 + .../lib/md/panorama-wide-angle.d.ts | 3 + types/react-icons/lib/md/panorama.d.ts | 3 + types/react-icons/lib/md/party-mode.d.ts | 3 + .../lib/md/pause-circle-filled.d.ts | 3 + .../lib/md/pause-circle-outline.d.ts | 3 + types/react-icons/lib/md/pause.d.ts | 3 + types/react-icons/lib/md/payment.d.ts | 3 + types/react-icons/lib/md/people-outline.d.ts | 3 + types/react-icons/lib/md/people.d.ts | 3 + types/react-icons/lib/md/perm-camera-mic.d.ts | 3 + .../lib/md/perm-contact-calendar.d.ts | 3 + .../react-icons/lib/md/perm-data-setting.d.ts | 3 + .../lib/md/perm-device-information.d.ts | 3 + types/react-icons/lib/md/perm-identity.d.ts | 3 + types/react-icons/lib/md/perm-media.d.ts | 3 + types/react-icons/lib/md/perm-phone-msg.d.ts | 3 + types/react-icons/lib/md/perm-scan-wifi.d.ts | 3 + types/react-icons/lib/md/person-add.d.ts | 3 + types/react-icons/lib/md/person-outline.d.ts | 3 + .../react-icons/lib/md/person-pin-circle.d.ts | 3 + types/react-icons/lib/md/person-pin.d.ts | 3 + types/react-icons/lib/md/person.d.ts | 3 + types/react-icons/lib/md/personal-video.d.ts | 3 + types/react-icons/lib/md/pets.d.ts | 3 + types/react-icons/lib/md/phone-android.d.ts | 3 + .../lib/md/phone-bluetooth-speaker.d.ts | 3 + types/react-icons/lib/md/phone-forwarded.d.ts | 3 + types/react-icons/lib/md/phone-in-talk.d.ts | 3 + types/react-icons/lib/md/phone-iphone.d.ts | 3 + types/react-icons/lib/md/phone-locked.d.ts | 3 + types/react-icons/lib/md/phone-missed.d.ts | 3 + types/react-icons/lib/md/phone-paused.d.ts | 3 + types/react-icons/lib/md/phone.d.ts | 3 + types/react-icons/lib/md/phonelink-erase.d.ts | 3 + types/react-icons/lib/md/phonelink-lock.d.ts | 3 + types/react-icons/lib/md/phonelink-off.d.ts | 3 + types/react-icons/lib/md/phonelink-ring.d.ts | 3 + types/react-icons/lib/md/phonelink-setup.d.ts | 3 + types/react-icons/lib/md/phonelink.d.ts | 3 + types/react-icons/lib/md/photo-album.d.ts | 3 + types/react-icons/lib/md/photo-camera.d.ts | 3 + types/react-icons/lib/md/photo-filter.d.ts | 3 + types/react-icons/lib/md/photo-library.d.ts | 3 + .../lib/md/photo-size-select-actual.d.ts | 3 + .../lib/md/photo-size-select-large.d.ts | 3 + .../lib/md/photo-size-select-small.d.ts | 3 + types/react-icons/lib/md/photo.d.ts | 3 + types/react-icons/lib/md/picture-as-pdf.d.ts | 3 + .../lib/md/picture-in-picture-alt.d.ts | 3 + .../lib/md/picture-in-picture.d.ts | 3 + .../lib/md/pie-chart-outlined.d.ts | 3 + types/react-icons/lib/md/pie-chart.d.ts | 3 + types/react-icons/lib/md/pin-drop.d.ts | 3 + types/react-icons/lib/md/place.d.ts | 3 + types/react-icons/lib/md/play-arrow.d.ts | 3 + .../lib/md/play-circle-filled.d.ts | 3 + .../lib/md/play-circle-outline.d.ts | 3 + types/react-icons/lib/md/play-for-work.d.ts | 3 + .../lib/md/playlist-add-check.d.ts | 3 + types/react-icons/lib/md/playlist-add.d.ts | 3 + types/react-icons/lib/md/playlist-play.d.ts | 3 + types/react-icons/lib/md/plus-one.d.ts | 3 + types/react-icons/lib/md/poll.d.ts | 3 + types/react-icons/lib/md/polymer.d.ts | 3 + types/react-icons/lib/md/pool.d.ts | 3 + .../react-icons/lib/md/portable-wifi-off.d.ts | 3 + types/react-icons/lib/md/portrait.d.ts | 3 + types/react-icons/lib/md/power-input.d.ts | 3 + .../lib/md/power-settings-new.d.ts | 3 + types/react-icons/lib/md/power.d.ts | 3 + types/react-icons/lib/md/pregnant-woman.d.ts | 3 + types/react-icons/lib/md/present-to-all.d.ts | 3 + types/react-icons/lib/md/print.d.ts | 3 + types/react-icons/lib/md/priority-high.d.ts | 3 + types/react-icons/lib/md/public.d.ts | 3 + types/react-icons/lib/md/publish.d.ts | 3 + types/react-icons/lib/md/query-builder.d.ts | 3 + types/react-icons/lib/md/question-answer.d.ts | 3 + types/react-icons/lib/md/queue-music.d.ts | 3 + types/react-icons/lib/md/queue-play-next.d.ts | 3 + types/react-icons/lib/md/queue.d.ts | 3 + .../lib/md/radio-button-checked.d.ts | 3 + .../lib/md/radio-button-unchecked.d.ts | 3 + types/react-icons/lib/md/radio.d.ts | 3 + types/react-icons/lib/md/rate-review.d.ts | 3 + types/react-icons/lib/md/receipt.d.ts | 3 + types/react-icons/lib/md/recent-actors.d.ts | 3 + .../react-icons/lib/md/record-voice-over.d.ts | 3 + types/react-icons/lib/md/redeem.d.ts | 3 + types/react-icons/lib/md/redo.d.ts | 3 + types/react-icons/lib/md/refresh.d.ts | 3 + .../lib/md/remove-circle-outline.d.ts | 3 + types/react-icons/lib/md/remove-circle.d.ts | 3 + .../react-icons/lib/md/remove-from-queue.d.ts | 3 + types/react-icons/lib/md/remove-red-eye.d.ts | 3 + .../lib/md/remove-shopping-cart.d.ts | 3 + types/react-icons/lib/md/remove.d.ts | 3 + types/react-icons/lib/md/reorder.d.ts | 3 + types/react-icons/lib/md/repeat-one.d.ts | 3 + types/react-icons/lib/md/repeat.d.ts | 3 + types/react-icons/lib/md/replay-10.d.ts | 3 + types/react-icons/lib/md/replay-30.d.ts | 3 + types/react-icons/lib/md/replay-5.d.ts | 3 + types/react-icons/lib/md/replay.d.ts | 3 + types/react-icons/lib/md/reply-all.d.ts | 3 + types/react-icons/lib/md/reply.d.ts | 3 + types/react-icons/lib/md/report-problem.d.ts | 3 + types/react-icons/lib/md/report.d.ts | 3 + types/react-icons/lib/md/restaurant-menu.d.ts | 3 + types/react-icons/lib/md/restaurant.d.ts | 3 + types/react-icons/lib/md/restore-page.d.ts | 3 + types/react-icons/lib/md/restore.d.ts | 3 + types/react-icons/lib/md/ring-volume.d.ts | 3 + types/react-icons/lib/md/room-service.d.ts | 3 + types/react-icons/lib/md/room.d.ts | 3 + .../lib/md/rotate-90-degrees-ccw.d.ts | 3 + types/react-icons/lib/md/rotate-left.d.ts | 3 + types/react-icons/lib/md/rotate-right.d.ts | 3 + types/react-icons/lib/md/rounded-corner.d.ts | 3 + types/react-icons/lib/md/router.d.ts | 3 + types/react-icons/lib/md/rowing.d.ts | 3 + types/react-icons/lib/md/rss-feed.d.ts | 3 + types/react-icons/lib/md/rv-hookup.d.ts | 3 + types/react-icons/lib/md/satellite.d.ts | 3 + types/react-icons/lib/md/save.d.ts | 3 + types/react-icons/lib/md/scanner.d.ts | 3 + types/react-icons/lib/md/schedule.d.ts | 3 + types/react-icons/lib/md/school.d.ts | 3 + .../lib/md/screen-lock-landscape.d.ts | 3 + .../lib/md/screen-lock-portrait.d.ts | 3 + .../lib/md/screen-lock-rotation.d.ts | 3 + types/react-icons/lib/md/screen-rotation.d.ts | 3 + types/react-icons/lib/md/screen-share.d.ts | 3 + types/react-icons/lib/md/sd-card.d.ts | 3 + types/react-icons/lib/md/sd-storage.d.ts | 3 + types/react-icons/lib/md/search.d.ts | 3 + types/react-icons/lib/md/security.d.ts | 3 + types/react-icons/lib/md/select-all.d.ts | 3 + types/react-icons/lib/md/send.d.ts | 3 + .../lib/md/sentiment-dissatisfied.d.ts | 3 + .../react-icons/lib/md/sentiment-neutral.d.ts | 3 + .../lib/md/sentiment-satisfied.d.ts | 3 + .../lib/md/sentiment-very-dissatisfied.d.ts | 3 + .../lib/md/sentiment-very-satisfied.d.ts | 3 + .../lib/md/settings-applications.d.ts | 3 + .../lib/md/settings-backup-restore.d.ts | 3 + .../lib/md/settings-bluetooth.d.ts | 3 + .../lib/md/settings-brightness.d.ts | 3 + types/react-icons/lib/md/settings-cell.d.ts | 3 + .../react-icons/lib/md/settings-ethernet.d.ts | 3 + .../lib/md/settings-input-antenna.d.ts | 3 + .../lib/md/settings-input-component.d.ts | 3 + .../lib/md/settings-input-composite.d.ts | 3 + .../lib/md/settings-input-hdmi.d.ts | 3 + .../lib/md/settings-input-svideo.d.ts | 3 + .../react-icons/lib/md/settings-overscan.d.ts | 3 + types/react-icons/lib/md/settings-phone.d.ts | 3 + types/react-icons/lib/md/settings-power.d.ts | 3 + types/react-icons/lib/md/settings-remote.d.ts | 3 + .../lib/md/settings-system-daydream.d.ts | 3 + types/react-icons/lib/md/settings-voice.d.ts | 3 + types/react-icons/lib/md/settings.d.ts | 3 + types/react-icons/lib/md/share.d.ts | 3 + types/react-icons/lib/md/shop-two.d.ts | 3 + types/react-icons/lib/md/shop.d.ts | 3 + types/react-icons/lib/md/shopping-basket.d.ts | 3 + types/react-icons/lib/md/shopping-cart.d.ts | 3 + types/react-icons/lib/md/short-text.d.ts | 3 + types/react-icons/lib/md/show-chart.d.ts | 3 + types/react-icons/lib/md/shuffle.d.ts | 3 + .../lib/md/signal-cellular-4-bar.d.ts | 3 + ...-cellular-connected-no-internet-4-bar.d.ts | 3 + .../lib/md/signal-cellular-no-sim.d.ts | 3 + .../lib/md/signal-cellular-null.d.ts | 3 + .../lib/md/signal-cellular-off.d.ts | 3 + .../lib/md/signal-wifi-4-bar-lock.d.ts | 3 + .../react-icons/lib/md/signal-wifi-4-bar.d.ts | 3 + types/react-icons/lib/md/signal-wifi-off.d.ts | 3 + types/react-icons/lib/md/sim-card-alert.d.ts | 3 + types/react-icons/lib/md/sim-card.d.ts | 3 + types/react-icons/lib/md/skip-next.d.ts | 3 + types/react-icons/lib/md/skip-previous.d.ts | 3 + types/react-icons/lib/md/slideshow.d.ts | 3 + .../react-icons/lib/md/slow-motion-video.d.ts | 3 + types/react-icons/lib/md/smartphone.d.ts | 3 + types/react-icons/lib/md/smoke-free.d.ts | 3 + types/react-icons/lib/md/smoking-rooms.d.ts | 3 + types/react-icons/lib/md/sms-failed.d.ts | 3 + types/react-icons/lib/md/sms.d.ts | 3 + types/react-icons/lib/md/snooze.d.ts | 3 + types/react-icons/lib/md/sort-by-alpha.d.ts | 3 + types/react-icons/lib/md/sort.d.ts | 3 + types/react-icons/lib/md/spa.d.ts | 3 + types/react-icons/lib/md/space-bar.d.ts | 3 + types/react-icons/lib/md/speaker-group.d.ts | 3 + .../react-icons/lib/md/speaker-notes-off.d.ts | 3 + types/react-icons/lib/md/speaker-notes.d.ts | 3 + types/react-icons/lib/md/speaker-phone.d.ts | 3 + types/react-icons/lib/md/speaker.d.ts | 3 + types/react-icons/lib/md/spellcheck.d.ts | 3 + types/react-icons/lib/md/star-border.d.ts | 3 + types/react-icons/lib/md/star-half.d.ts | 3 + types/react-icons/lib/md/star-outline.d.ts | 3 + types/react-icons/lib/md/star.d.ts | 3 + types/react-icons/lib/md/stars.d.ts | 3 + .../lib/md/stay-current-landscape.d.ts | 3 + .../lib/md/stay-current-portrait.d.ts | 3 + .../lib/md/stay-primary-landscape.d.ts | 3 + .../lib/md/stay-primary-portrait.d.ts | 3 + .../react-icons/lib/md/stop-screen-share.d.ts | 3 + types/react-icons/lib/md/stop.d.ts | 3 + types/react-icons/lib/md/storage.d.ts | 3 + .../lib/md/store-mall-directory.d.ts | 3 + types/react-icons/lib/md/store.d.ts | 3 + types/react-icons/lib/md/straighten.d.ts | 3 + types/react-icons/lib/md/streetview.d.ts | 3 + types/react-icons/lib/md/strikethrough-s.d.ts | 3 + types/react-icons/lib/md/style.d.ts | 3 + .../lib/md/subdirectory-arrow-left.d.ts | 3 + .../lib/md/subdirectory-arrow-right.d.ts | 3 + types/react-icons/lib/md/subject.d.ts | 3 + types/react-icons/lib/md/subscriptions.d.ts | 3 + types/react-icons/lib/md/subtitles.d.ts | 3 + types/react-icons/lib/md/subway.d.ts | 3 + .../lib/md/supervisor-account.d.ts | 3 + types/react-icons/lib/md/surround-sound.d.ts | 3 + types/react-icons/lib/md/swap-calls.d.ts | 3 + types/react-icons/lib/md/swap-horiz.d.ts | 3 + types/react-icons/lib/md/swap-vert.d.ts | 3 + .../lib/md/swap-vertical-circle.d.ts | 3 + types/react-icons/lib/md/switch-camera.d.ts | 3 + types/react-icons/lib/md/switch-video.d.ts | 3 + types/react-icons/lib/md/sync-disabled.d.ts | 3 + types/react-icons/lib/md/sync-problem.d.ts | 3 + types/react-icons/lib/md/sync.d.ts | 3 + .../react-icons/lib/md/system-update-alt.d.ts | 3 + types/react-icons/lib/md/system-update.d.ts | 3 + types/react-icons/lib/md/tab-unselected.d.ts | 3 + types/react-icons/lib/md/tab.d.ts | 3 + types/react-icons/lib/md/tablet-android.d.ts | 3 + types/react-icons/lib/md/tablet-mac.d.ts | 3 + types/react-icons/lib/md/tablet.d.ts | 3 + types/react-icons/lib/md/tag-faces.d.ts | 3 + types/react-icons/lib/md/tap-and-play.d.ts | 3 + types/react-icons/lib/md/terrain.d.ts | 3 + types/react-icons/lib/md/text-fields.d.ts | 3 + types/react-icons/lib/md/text-format.d.ts | 3 + types/react-icons/lib/md/textsms.d.ts | 3 + types/react-icons/lib/md/texture.d.ts | 3 + types/react-icons/lib/md/theaters.d.ts | 3 + types/react-icons/lib/md/thumb-down.d.ts | 3 + types/react-icons/lib/md/thumb-up.d.ts | 3 + types/react-icons/lib/md/thumbs-up-down.d.ts | 3 + types/react-icons/lib/md/time-to-leave.d.ts | 3 + types/react-icons/lib/md/timelapse.d.ts | 3 + types/react-icons/lib/md/timeline.d.ts | 3 + types/react-icons/lib/md/timer-10.d.ts | 3 + types/react-icons/lib/md/timer-3.d.ts | 3 + types/react-icons/lib/md/timer-off.d.ts | 3 + types/react-icons/lib/md/timer.d.ts | 3 + types/react-icons/lib/md/title.d.ts | 3 + types/react-icons/lib/md/toc.d.ts | 3 + types/react-icons/lib/md/today.d.ts | 3 + types/react-icons/lib/md/toll.d.ts | 3 + types/react-icons/lib/md/tonality.d.ts | 3 + types/react-icons/lib/md/touch-app.d.ts | 3 + types/react-icons/lib/md/toys.d.ts | 3 + types/react-icons/lib/md/track-changes.d.ts | 3 + types/react-icons/lib/md/traffic.d.ts | 3 + types/react-icons/lib/md/train.d.ts | 3 + types/react-icons/lib/md/tram.d.ts | 3 + .../lib/md/transfer-within-a-station.d.ts | 3 + types/react-icons/lib/md/transform.d.ts | 3 + types/react-icons/lib/md/translate.d.ts | 3 + types/react-icons/lib/md/trending-down.d.ts | 3 + types/react-icons/lib/md/trending-flat.d.ts | 3 + .../react-icons/lib/md/trending-neutral.d.ts | 3 + types/react-icons/lib/md/trending-up.d.ts | 3 + types/react-icons/lib/md/tune.d.ts | 3 + types/react-icons/lib/md/turned-in-not.d.ts | 3 + types/react-icons/lib/md/turned-in.d.ts | 3 + types/react-icons/lib/md/tv.d.ts | 3 + types/react-icons/lib/md/unarchive.d.ts | 3 + types/react-icons/lib/md/undo.d.ts | 3 + types/react-icons/lib/md/unfold-less.d.ts | 3 + types/react-icons/lib/md/unfold-more.d.ts | 3 + types/react-icons/lib/md/update.d.ts | 3 + types/react-icons/lib/md/usb.d.ts | 3 + types/react-icons/lib/md/verified-user.d.ts | 3 + .../lib/md/vertical-align-bottom.d.ts | 3 + .../lib/md/vertical-align-center.d.ts | 3 + .../lib/md/vertical-align-top.d.ts | 3 + types/react-icons/lib/md/vibration.d.ts | 3 + types/react-icons/lib/md/video-call.d.ts | 3 + .../react-icons/lib/md/video-collection.d.ts | 3 + types/react-icons/lib/md/video-label.d.ts | 3 + types/react-icons/lib/md/video-library.d.ts | 3 + types/react-icons/lib/md/videocam-off.d.ts | 3 + types/react-icons/lib/md/videocam.d.ts | 3 + types/react-icons/lib/md/videogame-asset.d.ts | 3 + types/react-icons/lib/md/view-agenda.d.ts | 3 + types/react-icons/lib/md/view-array.d.ts | 3 + types/react-icons/lib/md/view-carousel.d.ts | 3 + types/react-icons/lib/md/view-column.d.ts | 3 + .../react-icons/lib/md/view-comfortable.d.ts | 3 + types/react-icons/lib/md/view-comfy.d.ts | 3 + types/react-icons/lib/md/view-compact.d.ts | 3 + types/react-icons/lib/md/view-day.d.ts | 3 + types/react-icons/lib/md/view-headline.d.ts | 3 + types/react-icons/lib/md/view-list.d.ts | 3 + types/react-icons/lib/md/view-module.d.ts | 3 + types/react-icons/lib/md/view-quilt.d.ts | 3 + types/react-icons/lib/md/view-stream.d.ts | 3 + types/react-icons/lib/md/view-week.d.ts | 3 + types/react-icons/lib/md/vignette.d.ts | 3 + types/react-icons/lib/md/visibility-off.d.ts | 3 + types/react-icons/lib/md/visibility.d.ts | 3 + types/react-icons/lib/md/voice-chat.d.ts | 3 + types/react-icons/lib/md/voicemail.d.ts | 3 + types/react-icons/lib/md/volume-down.d.ts | 3 + types/react-icons/lib/md/volume-mute.d.ts | 3 + types/react-icons/lib/md/volume-off.d.ts | 3 + types/react-icons/lib/md/volume-up.d.ts | 3 + types/react-icons/lib/md/vpn-key.d.ts | 3 + types/react-icons/lib/md/vpn-lock.d.ts | 3 + types/react-icons/lib/md/wallpaper.d.ts | 3 + types/react-icons/lib/md/warning.d.ts | 3 + types/react-icons/lib/md/watch-later.d.ts | 3 + types/react-icons/lib/md/watch.d.ts | 3 + types/react-icons/lib/md/wb-auto.d.ts | 3 + types/react-icons/lib/md/wb-cloudy.d.ts | 3 + types/react-icons/lib/md/wb-incandescent.d.ts | 3 + types/react-icons/lib/md/wb-iridescent.d.ts | 3 + types/react-icons/lib/md/wb-sunny.d.ts | 3 + types/react-icons/lib/md/wc.d.ts | 3 + types/react-icons/lib/md/web-asset.d.ts | 3 + types/react-icons/lib/md/web.d.ts | 3 + types/react-icons/lib/md/weekend.d.ts | 3 + types/react-icons/lib/md/whatshot.d.ts | 3 + types/react-icons/lib/md/widgets.d.ts | 3 + types/react-icons/lib/md/wifi-lock.d.ts | 3 + types/react-icons/lib/md/wifi-tethering.d.ts | 3 + types/react-icons/lib/md/wifi.d.ts | 3 + types/react-icons/lib/md/work.d.ts | 3 + types/react-icons/lib/md/wrap-text.d.ts | 3 + .../lib/md/youtube-searched-for.d.ts | 3 + types/react-icons/lib/md/zoom-in.d.ts | 3 + types/react-icons/lib/md/zoom-out-map.d.ts | 3 + types/react-icons/lib/md/zoom-out.d.ts | 3 + .../react-icons/lib/ti/adjust-brightness.d.ts | 3 + types/react-icons/lib/ti/adjust-contrast.d.ts | 3 + types/react-icons/lib/ti/anchor-outline.d.ts | 3 + types/react-icons/lib/ti/anchor.d.ts | 3 + types/react-icons/lib/ti/archive.d.ts | 3 + .../lib/ti/arrow-back-outline.d.ts | 3 + types/react-icons/lib/ti/arrow-back.d.ts | 3 + .../lib/ti/arrow-down-outline.d.ts | 3 + .../react-icons/lib/ti/arrow-down-thick.d.ts | 3 + types/react-icons/lib/ti/arrow-down.d.ts | 3 + .../lib/ti/arrow-forward-outline.d.ts | 3 + types/react-icons/lib/ti/arrow-forward.d.ts | 3 + .../lib/ti/arrow-left-outline.d.ts | 3 + .../react-icons/lib/ti/arrow-left-thick.d.ts | 3 + types/react-icons/lib/ti/arrow-left.d.ts | 3 + .../lib/ti/arrow-loop-outline.d.ts | 3 + types/react-icons/lib/ti/arrow-loop.d.ts | 3 + .../lib/ti/arrow-maximise-outline.d.ts | 3 + types/react-icons/lib/ti/arrow-maximise.d.ts | 3 + .../lib/ti/arrow-minimise-outline.d.ts | 3 + types/react-icons/lib/ti/arrow-minimise.d.ts | 3 + .../lib/ti/arrow-move-outline.d.ts | 3 + types/react-icons/lib/ti/arrow-move.d.ts | 3 + .../lib/ti/arrow-repeat-outline.d.ts | 3 + types/react-icons/lib/ti/arrow-repeat.d.ts | 3 + .../lib/ti/arrow-right-outline.d.ts | 3 + .../react-icons/lib/ti/arrow-right-thick.d.ts | 3 + types/react-icons/lib/ti/arrow-right.d.ts | 3 + types/react-icons/lib/ti/arrow-shuffle.d.ts | 3 + .../react-icons/lib/ti/arrow-sorted-down.d.ts | 3 + types/react-icons/lib/ti/arrow-sorted-up.d.ts | 3 + .../lib/ti/arrow-sync-outline.d.ts | 3 + types/react-icons/lib/ti/arrow-sync.d.ts | 3 + types/react-icons/lib/ti/arrow-unsorted.d.ts | 3 + .../react-icons/lib/ti/arrow-up-outline.d.ts | 3 + types/react-icons/lib/ti/arrow-up-thick.d.ts | 3 + types/react-icons/lib/ti/arrow-up.d.ts | 3 + types/react-icons/lib/ti/at.d.ts | 3 + .../lib/ti/attachment-outline.d.ts | 3 + types/react-icons/lib/ti/attachment.d.ts | 3 + .../react-icons/lib/ti/backspace-outline.d.ts | 3 + types/react-icons/lib/ti/backspace.d.ts | 3 + types/react-icons/lib/ti/battery-charge.d.ts | 3 + types/react-icons/lib/ti/battery-full.d.ts | 3 + types/react-icons/lib/ti/battery-high.d.ts | 3 + types/react-icons/lib/ti/battery-low.d.ts | 3 + types/react-icons/lib/ti/battery-mid.d.ts | 3 + types/react-icons/lib/ti/beaker.d.ts | 3 + types/react-icons/lib/ti/beer.d.ts | 3 + types/react-icons/lib/ti/bell.d.ts | 3 + types/react-icons/lib/ti/book.d.ts | 3 + types/react-icons/lib/ti/bookmark.d.ts | 3 + types/react-icons/lib/ti/briefcase.d.ts | 3 + types/react-icons/lib/ti/brush.d.ts | 3 + types/react-icons/lib/ti/business-card.d.ts | 3 + types/react-icons/lib/ti/calculator.d.ts | 3 + .../react-icons/lib/ti/calendar-outline.d.ts | 3 + types/react-icons/lib/ti/calendar.d.ts | 3 + .../react-icons/lib/ti/calender-outline.d.ts | 3 + types/react-icons/lib/ti/calender.d.ts | 3 + types/react-icons/lib/ti/camera-outline.d.ts | 3 + types/react-icons/lib/ti/camera.d.ts | 3 + types/react-icons/lib/ti/cancel-outline.d.ts | 3 + types/react-icons/lib/ti/cancel.d.ts | 3 + .../lib/ti/chart-area-outline.d.ts | 3 + types/react-icons/lib/ti/chart-area.d.ts | 3 + .../react-icons/lib/ti/chart-bar-outline.d.ts | 3 + types/react-icons/lib/ti/chart-bar.d.ts | 3 + .../lib/ti/chart-line-outline.d.ts | 3 + types/react-icons/lib/ti/chart-line.d.ts | 3 + .../react-icons/lib/ti/chart-pie-outline.d.ts | 3 + types/react-icons/lib/ti/chart-pie.d.ts | 3 + .../lib/ti/chevron-left-outline.d.ts | 3 + types/react-icons/lib/ti/chevron-left.d.ts | 3 + .../lib/ti/chevron-right-outline.d.ts | 3 + types/react-icons/lib/ti/chevron-right.d.ts | 3 + types/react-icons/lib/ti/clipboard.d.ts | 3 + .../lib/ti/cloud-storage-outline.d.ts | 3 + types/react-icons/lib/ti/cloud-storage.d.ts | 3 + types/react-icons/lib/ti/code-outline.d.ts | 3 + types/react-icons/lib/ti/code.d.ts | 3 + types/react-icons/lib/ti/coffee.d.ts | 3 + types/react-icons/lib/ti/cog-outline.d.ts | 3 + types/react-icons/lib/ti/cog.d.ts | 3 + types/react-icons/lib/ti/compass.d.ts | 3 + types/react-icons/lib/ti/contacts.d.ts | 3 + types/react-icons/lib/ti/credit-card.d.ts | 3 + types/react-icons/lib/ti/cross.d.ts | 3 + types/react-icons/lib/ti/css3.d.ts | 3 + types/react-icons/lib/ti/database.d.ts | 3 + types/react-icons/lib/ti/delete-outline.d.ts | 3 + types/react-icons/lib/ti/delete.d.ts | 3 + types/react-icons/lib/ti/device-desktop.d.ts | 3 + types/react-icons/lib/ti/device-laptop.d.ts | 3 + types/react-icons/lib/ti/device-phone.d.ts | 3 + types/react-icons/lib/ti/device-tablet.d.ts | 3 + types/react-icons/lib/ti/directions.d.ts | 3 + types/react-icons/lib/ti/divide-outline.d.ts | 3 + types/react-icons/lib/ti/divide.d.ts | 3 + types/react-icons/lib/ti/document-add.d.ts | 3 + types/react-icons/lib/ti/document-delete.d.ts | 3 + types/react-icons/lib/ti/document-text.d.ts | 3 + types/react-icons/lib/ti/document.d.ts | 3 + .../react-icons/lib/ti/download-outline.d.ts | 3 + types/react-icons/lib/ti/download.d.ts | 3 + types/react-icons/lib/ti/dropbox.d.ts | 3 + types/react-icons/lib/ti/edit.d.ts | 3 + types/react-icons/lib/ti/eject-outline.d.ts | 3 + types/react-icons/lib/ti/eject.d.ts | 3 + types/react-icons/lib/ti/equals-outline.d.ts | 3 + types/react-icons/lib/ti/equals.d.ts | 3 + types/react-icons/lib/ti/export-outline.d.ts | 3 + types/react-icons/lib/ti/export.d.ts | 3 + types/react-icons/lib/ti/eye-outline.d.ts | 3 + types/react-icons/lib/ti/eye.d.ts | 3 + types/react-icons/lib/ti/feather.d.ts | 3 + types/react-icons/lib/ti/film.d.ts | 3 + types/react-icons/lib/ti/filter.d.ts | 3 + types/react-icons/lib/ti/flag-outline.d.ts | 3 + types/react-icons/lib/ti/flag.d.ts | 3 + types/react-icons/lib/ti/flash-outline.d.ts | 3 + types/react-icons/lib/ti/flash.d.ts | 3 + types/react-icons/lib/ti/flow-children.d.ts | 3 + types/react-icons/lib/ti/flow-merge.d.ts | 3 + types/react-icons/lib/ti/flow-parallel.d.ts | 3 + types/react-icons/lib/ti/flow-switch.d.ts | 3 + types/react-icons/lib/ti/folder-add.d.ts | 3 + types/react-icons/lib/ti/folder-delete.d.ts | 3 + types/react-icons/lib/ti/folder-open.d.ts | 3 + types/react-icons/lib/ti/folder.d.ts | 3 + types/react-icons/lib/ti/gift.d.ts | 3 + types/react-icons/lib/ti/globe-outline.d.ts | 3 + types/react-icons/lib/ti/globe.d.ts | 3 + types/react-icons/lib/ti/group-outline.d.ts | 3 + types/react-icons/lib/ti/group.d.ts | 3 + types/react-icons/lib/ti/headphones.d.ts | 3 + .../lib/ti/heart-full-outline.d.ts | 3 + .../lib/ti/heart-half-outline.d.ts | 3 + types/react-icons/lib/ti/heart-outline.d.ts | 3 + types/react-icons/lib/ti/heart.d.ts | 3 + types/react-icons/lib/ti/home-outline.d.ts | 3 + types/react-icons/lib/ti/home.d.ts | 3 + types/react-icons/lib/ti/html5.d.ts | 3 + types/react-icons/lib/ti/image-outline.d.ts | 3 + types/react-icons/lib/ti/image.d.ts | 3 + types/react-icons/lib/ti/index.d.ts | 339 ++ .../react-icons/lib/ti/infinity-outline.d.ts | 3 + types/react-icons/lib/ti/infinity.d.ts | 3 + .../lib/ti/info-large-outline.d.ts | 3 + types/react-icons/lib/ti/info-large.d.ts | 3 + types/react-icons/lib/ti/info-outline.d.ts | 3 + types/react-icons/lib/ti/info.d.ts | 3 + .../lib/ti/input-checked-outline.d.ts | 3 + types/react-icons/lib/ti/input-checked.d.ts | 3 + types/react-icons/lib/ti/key-outline.d.ts | 3 + types/react-icons/lib/ti/key.d.ts | 3 + types/react-icons/lib/ti/keyboard.d.ts | 3 + types/react-icons/lib/ti/leaf.d.ts | 3 + types/react-icons/lib/ti/lightbulb.d.ts | 3 + types/react-icons/lib/ti/link-outline.d.ts | 3 + types/react-icons/lib/ti/link.d.ts | 3 + .../lib/ti/location-arrow-outline.d.ts | 3 + types/react-icons/lib/ti/location-arrow.d.ts | 3 + .../react-icons/lib/ti/location-outline.d.ts | 3 + types/react-icons/lib/ti/location.d.ts | 3 + .../lib/ti/lock-closed-outline.d.ts | 3 + types/react-icons/lib/ti/lock-closed.d.ts | 3 + .../react-icons/lib/ti/lock-open-outline.d.ts | 3 + types/react-icons/lib/ti/lock-open.d.ts | 3 + types/react-icons/lib/ti/mail.d.ts | 3 + types/react-icons/lib/ti/map.d.ts | 3 + .../lib/ti/media-eject-outline.d.ts | 3 + types/react-icons/lib/ti/media-eject.d.ts | 3 + .../lib/ti/media-fast-forward-outline.d.ts | 3 + .../lib/ti/media-fast-forward.d.ts | 3 + .../lib/ti/media-pause-outline.d.ts | 3 + types/react-icons/lib/ti/media-pause.d.ts | 3 + .../lib/ti/media-play-outline.d.ts | 3 + .../lib/ti/media-play-reverse-outline.d.ts | 3 + .../lib/ti/media-play-reverse.d.ts | 3 + types/react-icons/lib/ti/media-play.d.ts | 3 + .../lib/ti/media-record-outline.d.ts | 3 + types/react-icons/lib/ti/media-record.d.ts | 3 + .../lib/ti/media-rewind-outline.d.ts | 3 + types/react-icons/lib/ti/media-rewind.d.ts | 3 + .../lib/ti/media-stop-outline.d.ts | 3 + types/react-icons/lib/ti/media-stop.d.ts | 3 + types/react-icons/lib/ti/message-typing.d.ts | 3 + types/react-icons/lib/ti/message.d.ts | 3 + types/react-icons/lib/ti/messages.d.ts | 3 + .../lib/ti/microphone-outline.d.ts | 3 + types/react-icons/lib/ti/microphone.d.ts | 3 + types/react-icons/lib/ti/minus-outline.d.ts | 3 + types/react-icons/lib/ti/minus.d.ts | 3 + types/react-icons/lib/ti/mortar-board.d.ts | 3 + types/react-icons/lib/ti/news.d.ts | 3 + types/react-icons/lib/ti/notes-outline.d.ts | 3 + types/react-icons/lib/ti/notes.d.ts | 3 + types/react-icons/lib/ti/pen.d.ts | 3 + types/react-icons/lib/ti/pencil.d.ts | 3 + types/react-icons/lib/ti/phone-outline.d.ts | 3 + types/react-icons/lib/ti/phone.d.ts | 3 + types/react-icons/lib/ti/pi-outline.d.ts | 3 + types/react-icons/lib/ti/pi.d.ts | 3 + types/react-icons/lib/ti/pin-outline.d.ts | 3 + types/react-icons/lib/ti/pin.d.ts | 3 + types/react-icons/lib/ti/pipette.d.ts | 3 + types/react-icons/lib/ti/plane-outline.d.ts | 3 + types/react-icons/lib/ti/plane.d.ts | 3 + types/react-icons/lib/ti/plug.d.ts | 3 + types/react-icons/lib/ti/plus-outline.d.ts | 3 + types/react-icons/lib/ti/plus.d.ts | 3 + .../lib/ti/point-of-interest-outline.d.ts | 3 + .../react-icons/lib/ti/point-of-interest.d.ts | 3 + types/react-icons/lib/ti/power-outline.d.ts | 3 + types/react-icons/lib/ti/power.d.ts | 3 + types/react-icons/lib/ti/printer.d.ts | 3 + types/react-icons/lib/ti/puzzle-outline.d.ts | 3 + types/react-icons/lib/ti/puzzle.d.ts | 3 + types/react-icons/lib/ti/radar-outline.d.ts | 3 + types/react-icons/lib/ti/radar.d.ts | 3 + types/react-icons/lib/ti/refresh-outline.d.ts | 3 + types/react-icons/lib/ti/refresh.d.ts | 3 + types/react-icons/lib/ti/rss-outline.d.ts | 3 + types/react-icons/lib/ti/rss.d.ts | 3 + .../react-icons/lib/ti/scissors-outline.d.ts | 3 + types/react-icons/lib/ti/scissors.d.ts | 3 + types/react-icons/lib/ti/shopping-bag.d.ts | 3 + types/react-icons/lib/ti/shopping-cart.d.ts | 3 + .../lib/ti/social-at-circular.d.ts | 3 + .../lib/ti/social-dribbble-circular.d.ts | 3 + types/react-icons/lib/ti/social-dribbble.d.ts | 3 + .../lib/ti/social-facebook-circular.d.ts | 3 + types/react-icons/lib/ti/social-facebook.d.ts | 3 + .../lib/ti/social-flickr-circular.d.ts | 3 + types/react-icons/lib/ti/social-flickr.d.ts | 3 + .../lib/ti/social-github-circular.d.ts | 3 + types/react-icons/lib/ti/social-github.d.ts | 3 + .../lib/ti/social-google-plus-circular.d.ts | 3 + .../lib/ti/social-google-plus.d.ts | 3 + .../lib/ti/social-instagram-circular.d.ts | 3 + .../react-icons/lib/ti/social-instagram.d.ts | 3 + .../lib/ti/social-last-fm-circular.d.ts | 3 + types/react-icons/lib/ti/social-last-fm.d.ts | 3 + .../lib/ti/social-linkedin-circular.d.ts | 3 + types/react-icons/lib/ti/social-linkedin.d.ts | 3 + .../lib/ti/social-pinterest-circular.d.ts | 3 + .../react-icons/lib/ti/social-pinterest.d.ts | 3 + .../lib/ti/social-skype-outline.d.ts | 3 + types/react-icons/lib/ti/social-skype.d.ts | 3 + .../lib/ti/social-tumbler-circular.d.ts | 3 + types/react-icons/lib/ti/social-tumbler.d.ts | 3 + .../lib/ti/social-twitter-circular.d.ts | 3 + types/react-icons/lib/ti/social-twitter.d.ts | 3 + .../lib/ti/social-vimeo-circular.d.ts | 3 + types/react-icons/lib/ti/social-vimeo.d.ts | 3 + .../lib/ti/social-youtube-circular.d.ts | 3 + types/react-icons/lib/ti/social-youtube.d.ts | 3 + .../lib/ti/sort-alphabetically-outline.d.ts | 3 + .../lib/ti/sort-alphabetically.d.ts | 3 + .../lib/ti/sort-numerically-outline.d.ts | 3 + .../react-icons/lib/ti/sort-numerically.d.ts | 3 + types/react-icons/lib/ti/spanner-outline.d.ts | 3 + types/react-icons/lib/ti/spanner.d.ts | 3 + types/react-icons/lib/ti/spiral.d.ts | 3 + .../react-icons/lib/ti/star-full-outline.d.ts | 3 + .../react-icons/lib/ti/star-half-outline.d.ts | 3 + types/react-icons/lib/ti/star-half.d.ts | 3 + types/react-icons/lib/ti/star-outline.d.ts | 3 + types/react-icons/lib/ti/star.d.ts | 3 + .../react-icons/lib/ti/starburst-outline.d.ts | 3 + types/react-icons/lib/ti/starburst.d.ts | 3 + types/react-icons/lib/ti/stopwatch.d.ts | 3 + types/react-icons/lib/ti/support.d.ts | 3 + types/react-icons/lib/ti/tabs-outline.d.ts | 3 + types/react-icons/lib/ti/tag.d.ts | 3 + types/react-icons/lib/ti/tags.d.ts | 3 + .../react-icons/lib/ti/th-large-outline.d.ts | 3 + types/react-icons/lib/ti/th-large.d.ts | 3 + types/react-icons/lib/ti/th-list-outline.d.ts | 3 + types/react-icons/lib/ti/th-list.d.ts | 3 + types/react-icons/lib/ti/th-menu-outline.d.ts | 3 + types/react-icons/lib/ti/th-menu.d.ts | 3 + .../react-icons/lib/ti/th-small-outline.d.ts | 3 + types/react-icons/lib/ti/th-small.d.ts | 3 + types/react-icons/lib/ti/thermometer.d.ts | 3 + types/react-icons/lib/ti/thumbs-down.d.ts | 3 + types/react-icons/lib/ti/thumbs-ok.d.ts | 3 + types/react-icons/lib/ti/thumbs-up.d.ts | 3 + types/react-icons/lib/ti/tick-outline.d.ts | 3 + types/react-icons/lib/ti/tick.d.ts | 3 + types/react-icons/lib/ti/ticket.d.ts | 3 + types/react-icons/lib/ti/time.d.ts | 3 + types/react-icons/lib/ti/times-outline.d.ts | 3 + types/react-icons/lib/ti/times.d.ts | 3 + types/react-icons/lib/ti/trash.d.ts | 3 + types/react-icons/lib/ti/tree.d.ts | 3 + types/react-icons/lib/ti/upload-outline.d.ts | 3 + types/react-icons/lib/ti/upload.d.ts | 3 + .../react-icons/lib/ti/user-add-outline.d.ts | 3 + types/react-icons/lib/ti/user-add.d.ts | 3 + .../lib/ti/user-delete-outline.d.ts | 3 + types/react-icons/lib/ti/user-delete.d.ts | 3 + types/react-icons/lib/ti/user-outline.d.ts | 3 + types/react-icons/lib/ti/user.d.ts | 3 + types/react-icons/lib/ti/vendor-android.d.ts | 3 + types/react-icons/lib/ti/vendor-apple.d.ts | 3 + .../react-icons/lib/ti/vendor-microsoft.d.ts | 3 + types/react-icons/lib/ti/video-outline.d.ts | 3 + types/react-icons/lib/ti/video.d.ts | 3 + types/react-icons/lib/ti/volume-down.d.ts | 3 + types/react-icons/lib/ti/volume-mute.d.ts | 3 + types/react-icons/lib/ti/volume-up.d.ts | 3 + types/react-icons/lib/ti/volume.d.ts | 3 + types/react-icons/lib/ti/warning-outline.d.ts | 3 + types/react-icons/lib/ti/warning.d.ts | 3 + types/react-icons/lib/ti/watch.d.ts | 3 + types/react-icons/lib/ti/waves-outline.d.ts | 3 + types/react-icons/lib/ti/waves.d.ts | 3 + types/react-icons/lib/ti/weather-cloudy.d.ts | 3 + .../react-icons/lib/ti/weather-downpour.d.ts | 3 + types/react-icons/lib/ti/weather-night.d.ts | 3 + .../lib/ti/weather-partly-sunny.d.ts | 3 + types/react-icons/lib/ti/weather-shower.d.ts | 3 + types/react-icons/lib/ti/weather-snow.d.ts | 3 + types/react-icons/lib/ti/weather-stormy.d.ts | 3 + types/react-icons/lib/ti/weather-sunny.d.ts | 3 + .../lib/ti/weather-windy-cloudy.d.ts | 3 + types/react-icons/lib/ti/weather-windy.d.ts | 3 + types/react-icons/lib/ti/wi-fi-outline.d.ts | 3 + types/react-icons/lib/ti/wi-fi.d.ts | 3 + types/react-icons/lib/ti/wine.d.ts | 3 + types/react-icons/lib/ti/world-outline.d.ts | 3 + types/react-icons/lib/ti/world.d.ts | 3 + types/react-icons/lib/ti/zoom-in-outline.d.ts | 3 + types/react-icons/lib/ti/zoom-in.d.ts | 3 + .../react-icons/lib/ti/zoom-out-outline.d.ts | 3 + types/react-icons/lib/ti/zoom-out.d.ts | 3 + types/react-icons/lib/ti/zoom-outline.d.ts | 3 + types/react-icons/lib/ti/zoom.d.ts | 3 + types/react-icons/react-icons-tests.tsx | 4 +- types/react-icons/scripts/generate.ts | 21 +- types/react-icons/tsconfig.json | 2830 ++++++++++++++++- 2832 files changed, 14145 insertions(+), 3 deletions(-) create mode 100644 types/react-icons/lib/fa/500px.d.ts create mode 100644 types/react-icons/lib/fa/adjust.d.ts create mode 100644 types/react-icons/lib/fa/adn.d.ts create mode 100644 types/react-icons/lib/fa/align-center.d.ts create mode 100644 types/react-icons/lib/fa/align-justify.d.ts create mode 100644 types/react-icons/lib/fa/align-left.d.ts create mode 100644 types/react-icons/lib/fa/align-right.d.ts create mode 100644 types/react-icons/lib/fa/amazon.d.ts create mode 100644 types/react-icons/lib/fa/ambulance.d.ts create mode 100644 types/react-icons/lib/fa/american-sign-language-interpreting.d.ts create mode 100644 types/react-icons/lib/fa/anchor.d.ts create mode 100644 types/react-icons/lib/fa/android.d.ts create mode 100644 types/react-icons/lib/fa/angellist.d.ts create mode 100644 types/react-icons/lib/fa/angle-double-down.d.ts create mode 100644 types/react-icons/lib/fa/angle-double-left.d.ts create mode 100644 types/react-icons/lib/fa/angle-double-right.d.ts create mode 100644 types/react-icons/lib/fa/angle-double-up.d.ts create mode 100644 types/react-icons/lib/fa/angle-down.d.ts create mode 100644 types/react-icons/lib/fa/angle-left.d.ts create mode 100644 types/react-icons/lib/fa/angle-right.d.ts create mode 100644 types/react-icons/lib/fa/angle-up.d.ts create mode 100644 types/react-icons/lib/fa/apple.d.ts create mode 100644 types/react-icons/lib/fa/archive.d.ts create mode 100644 types/react-icons/lib/fa/area-chart.d.ts create mode 100644 types/react-icons/lib/fa/arrow-circle-down.d.ts create mode 100644 types/react-icons/lib/fa/arrow-circle-left.d.ts create mode 100644 types/react-icons/lib/fa/arrow-circle-o-down.d.ts create mode 100644 types/react-icons/lib/fa/arrow-circle-o-left.d.ts create mode 100644 types/react-icons/lib/fa/arrow-circle-o-right.d.ts create mode 100644 types/react-icons/lib/fa/arrow-circle-o-up.d.ts create mode 100644 types/react-icons/lib/fa/arrow-circle-right.d.ts create mode 100644 types/react-icons/lib/fa/arrow-circle-up.d.ts create mode 100644 types/react-icons/lib/fa/arrow-down.d.ts create mode 100644 types/react-icons/lib/fa/arrow-left.d.ts create mode 100644 types/react-icons/lib/fa/arrow-right.d.ts create mode 100644 types/react-icons/lib/fa/arrow-up.d.ts create mode 100644 types/react-icons/lib/fa/arrows-alt.d.ts create mode 100644 types/react-icons/lib/fa/arrows-h.d.ts create mode 100644 types/react-icons/lib/fa/arrows-v.d.ts create mode 100644 types/react-icons/lib/fa/arrows.d.ts create mode 100644 types/react-icons/lib/fa/assistive-listening-systems.d.ts create mode 100644 types/react-icons/lib/fa/asterisk.d.ts create mode 100644 types/react-icons/lib/fa/at.d.ts create mode 100644 types/react-icons/lib/fa/audio-description.d.ts create mode 100644 types/react-icons/lib/fa/automobile.d.ts create mode 100644 types/react-icons/lib/fa/backward.d.ts create mode 100644 types/react-icons/lib/fa/balance-scale.d.ts create mode 100644 types/react-icons/lib/fa/ban.d.ts create mode 100644 types/react-icons/lib/fa/bank.d.ts create mode 100644 types/react-icons/lib/fa/bar-chart.d.ts create mode 100644 types/react-icons/lib/fa/barcode.d.ts create mode 100644 types/react-icons/lib/fa/bars.d.ts create mode 100644 types/react-icons/lib/fa/battery-0.d.ts create mode 100644 types/react-icons/lib/fa/battery-1.d.ts create mode 100644 types/react-icons/lib/fa/battery-2.d.ts create mode 100644 types/react-icons/lib/fa/battery-3.d.ts create mode 100644 types/react-icons/lib/fa/battery-4.d.ts create mode 100644 types/react-icons/lib/fa/bed.d.ts create mode 100644 types/react-icons/lib/fa/beer.d.ts create mode 100644 types/react-icons/lib/fa/behance-square.d.ts create mode 100644 types/react-icons/lib/fa/behance.d.ts create mode 100644 types/react-icons/lib/fa/bell-o.d.ts create mode 100644 types/react-icons/lib/fa/bell-slash-o.d.ts create mode 100644 types/react-icons/lib/fa/bell-slash.d.ts create mode 100644 types/react-icons/lib/fa/bell.d.ts create mode 100644 types/react-icons/lib/fa/bicycle.d.ts create mode 100644 types/react-icons/lib/fa/binoculars.d.ts create mode 100644 types/react-icons/lib/fa/birthday-cake.d.ts create mode 100644 types/react-icons/lib/fa/bitbucket-square.d.ts create mode 100644 types/react-icons/lib/fa/bitbucket.d.ts create mode 100644 types/react-icons/lib/fa/bitcoin.d.ts create mode 100644 types/react-icons/lib/fa/black-tie.d.ts create mode 100644 types/react-icons/lib/fa/blind.d.ts create mode 100644 types/react-icons/lib/fa/bluetooth-b.d.ts create mode 100644 types/react-icons/lib/fa/bluetooth.d.ts create mode 100644 types/react-icons/lib/fa/bold.d.ts create mode 100644 types/react-icons/lib/fa/bolt.d.ts create mode 100644 types/react-icons/lib/fa/bomb.d.ts create mode 100644 types/react-icons/lib/fa/book.d.ts create mode 100644 types/react-icons/lib/fa/bookmark-o.d.ts create mode 100644 types/react-icons/lib/fa/bookmark.d.ts create mode 100644 types/react-icons/lib/fa/braille.d.ts create mode 100644 types/react-icons/lib/fa/briefcase.d.ts create mode 100644 types/react-icons/lib/fa/bug.d.ts create mode 100644 types/react-icons/lib/fa/building-o.d.ts create mode 100644 types/react-icons/lib/fa/building.d.ts create mode 100644 types/react-icons/lib/fa/bullhorn.d.ts create mode 100644 types/react-icons/lib/fa/bullseye.d.ts create mode 100644 types/react-icons/lib/fa/bus.d.ts create mode 100644 types/react-icons/lib/fa/buysellads.d.ts create mode 100644 types/react-icons/lib/fa/cab.d.ts create mode 100644 types/react-icons/lib/fa/calculator.d.ts create mode 100644 types/react-icons/lib/fa/calendar-check-o.d.ts create mode 100644 types/react-icons/lib/fa/calendar-minus-o.d.ts create mode 100644 types/react-icons/lib/fa/calendar-o.d.ts create mode 100644 types/react-icons/lib/fa/calendar-plus-o.d.ts create mode 100644 types/react-icons/lib/fa/calendar-times-o.d.ts create mode 100644 types/react-icons/lib/fa/calendar.d.ts create mode 100644 types/react-icons/lib/fa/camera-retro.d.ts create mode 100644 types/react-icons/lib/fa/camera.d.ts create mode 100644 types/react-icons/lib/fa/caret-down.d.ts create mode 100644 types/react-icons/lib/fa/caret-left.d.ts create mode 100644 types/react-icons/lib/fa/caret-right.d.ts create mode 100644 types/react-icons/lib/fa/caret-square-o-down.d.ts create mode 100644 types/react-icons/lib/fa/caret-square-o-left.d.ts create mode 100644 types/react-icons/lib/fa/caret-square-o-right.d.ts create mode 100644 types/react-icons/lib/fa/caret-square-o-up.d.ts create mode 100644 types/react-icons/lib/fa/caret-up.d.ts create mode 100644 types/react-icons/lib/fa/cart-arrow-down.d.ts create mode 100644 types/react-icons/lib/fa/cart-plus.d.ts create mode 100644 types/react-icons/lib/fa/cc-amex.d.ts create mode 100644 types/react-icons/lib/fa/cc-diners-club.d.ts create mode 100644 types/react-icons/lib/fa/cc-discover.d.ts create mode 100644 types/react-icons/lib/fa/cc-jcb.d.ts create mode 100644 types/react-icons/lib/fa/cc-mastercard.d.ts create mode 100644 types/react-icons/lib/fa/cc-paypal.d.ts create mode 100644 types/react-icons/lib/fa/cc-stripe.d.ts create mode 100644 types/react-icons/lib/fa/cc-visa.d.ts create mode 100644 types/react-icons/lib/fa/cc.d.ts create mode 100644 types/react-icons/lib/fa/certificate.d.ts create mode 100644 types/react-icons/lib/fa/chain-broken.d.ts create mode 100644 types/react-icons/lib/fa/chain.d.ts create mode 100644 types/react-icons/lib/fa/check-circle-o.d.ts create mode 100644 types/react-icons/lib/fa/check-circle.d.ts create mode 100644 types/react-icons/lib/fa/check-square-o.d.ts create mode 100644 types/react-icons/lib/fa/check-square.d.ts create mode 100644 types/react-icons/lib/fa/check.d.ts create mode 100644 types/react-icons/lib/fa/chevron-circle-down.d.ts create mode 100644 types/react-icons/lib/fa/chevron-circle-left.d.ts create mode 100644 types/react-icons/lib/fa/chevron-circle-right.d.ts create mode 100644 types/react-icons/lib/fa/chevron-circle-up.d.ts create mode 100644 types/react-icons/lib/fa/chevron-down.d.ts create mode 100644 types/react-icons/lib/fa/chevron-left.d.ts create mode 100644 types/react-icons/lib/fa/chevron-right.d.ts create mode 100644 types/react-icons/lib/fa/chevron-up.d.ts create mode 100644 types/react-icons/lib/fa/child.d.ts create mode 100644 types/react-icons/lib/fa/chrome.d.ts create mode 100644 types/react-icons/lib/fa/circle-o-notch.d.ts create mode 100644 types/react-icons/lib/fa/circle-o.d.ts create mode 100644 types/react-icons/lib/fa/circle-thin.d.ts create mode 100644 types/react-icons/lib/fa/circle.d.ts create mode 100644 types/react-icons/lib/fa/clipboard.d.ts create mode 100644 types/react-icons/lib/fa/clock-o.d.ts create mode 100644 types/react-icons/lib/fa/clone.d.ts create mode 100644 types/react-icons/lib/fa/close.d.ts create mode 100644 types/react-icons/lib/fa/cloud-download.d.ts create mode 100644 types/react-icons/lib/fa/cloud-upload.d.ts create mode 100644 types/react-icons/lib/fa/cloud.d.ts create mode 100644 types/react-icons/lib/fa/cny.d.ts create mode 100644 types/react-icons/lib/fa/code-fork.d.ts create mode 100644 types/react-icons/lib/fa/code.d.ts create mode 100644 types/react-icons/lib/fa/codepen.d.ts create mode 100644 types/react-icons/lib/fa/codiepie.d.ts create mode 100644 types/react-icons/lib/fa/coffee.d.ts create mode 100644 types/react-icons/lib/fa/cog.d.ts create mode 100644 types/react-icons/lib/fa/cogs.d.ts create mode 100644 types/react-icons/lib/fa/columns.d.ts create mode 100644 types/react-icons/lib/fa/comment-o.d.ts create mode 100644 types/react-icons/lib/fa/comment.d.ts create mode 100644 types/react-icons/lib/fa/commenting-o.d.ts create mode 100644 types/react-icons/lib/fa/commenting.d.ts create mode 100644 types/react-icons/lib/fa/comments-o.d.ts create mode 100644 types/react-icons/lib/fa/comments.d.ts create mode 100644 types/react-icons/lib/fa/compass.d.ts create mode 100644 types/react-icons/lib/fa/compress.d.ts create mode 100644 types/react-icons/lib/fa/connectdevelop.d.ts create mode 100644 types/react-icons/lib/fa/contao.d.ts create mode 100644 types/react-icons/lib/fa/copy.d.ts create mode 100644 types/react-icons/lib/fa/copyright.d.ts create mode 100644 types/react-icons/lib/fa/creative-commons.d.ts create mode 100644 types/react-icons/lib/fa/credit-card-alt.d.ts create mode 100644 types/react-icons/lib/fa/credit-card.d.ts create mode 100644 types/react-icons/lib/fa/crop.d.ts create mode 100644 types/react-icons/lib/fa/crosshairs.d.ts create mode 100644 types/react-icons/lib/fa/css3.d.ts create mode 100644 types/react-icons/lib/fa/cube.d.ts create mode 100644 types/react-icons/lib/fa/cubes.d.ts create mode 100644 types/react-icons/lib/fa/cut.d.ts create mode 100644 types/react-icons/lib/fa/cutlery.d.ts create mode 100644 types/react-icons/lib/fa/dashboard.d.ts create mode 100644 types/react-icons/lib/fa/dashcube.d.ts create mode 100644 types/react-icons/lib/fa/database.d.ts create mode 100644 types/react-icons/lib/fa/deaf.d.ts create mode 100644 types/react-icons/lib/fa/dedent.d.ts create mode 100644 types/react-icons/lib/fa/delicious.d.ts create mode 100644 types/react-icons/lib/fa/desktop.d.ts create mode 100644 types/react-icons/lib/fa/deviantart.d.ts create mode 100644 types/react-icons/lib/fa/diamond.d.ts create mode 100644 types/react-icons/lib/fa/digg.d.ts create mode 100644 types/react-icons/lib/fa/dollar.d.ts create mode 100644 types/react-icons/lib/fa/dot-circle-o.d.ts create mode 100644 types/react-icons/lib/fa/download.d.ts create mode 100644 types/react-icons/lib/fa/dribbble.d.ts create mode 100644 types/react-icons/lib/fa/dropbox.d.ts create mode 100644 types/react-icons/lib/fa/drupal.d.ts create mode 100644 types/react-icons/lib/fa/edge.d.ts create mode 100644 types/react-icons/lib/fa/edit.d.ts create mode 100644 types/react-icons/lib/fa/eject.d.ts create mode 100644 types/react-icons/lib/fa/ellipsis-h.d.ts create mode 100644 types/react-icons/lib/fa/ellipsis-v.d.ts create mode 100644 types/react-icons/lib/fa/empire.d.ts create mode 100644 types/react-icons/lib/fa/envelope-o.d.ts create mode 100644 types/react-icons/lib/fa/envelope-square.d.ts create mode 100644 types/react-icons/lib/fa/envelope.d.ts create mode 100644 types/react-icons/lib/fa/envira.d.ts create mode 100644 types/react-icons/lib/fa/eraser.d.ts create mode 100644 types/react-icons/lib/fa/eur.d.ts create mode 100644 types/react-icons/lib/fa/exchange.d.ts create mode 100644 types/react-icons/lib/fa/exclamation-circle.d.ts create mode 100644 types/react-icons/lib/fa/exclamation-triangle.d.ts create mode 100644 types/react-icons/lib/fa/exclamation.d.ts create mode 100644 types/react-icons/lib/fa/expand.d.ts create mode 100644 types/react-icons/lib/fa/expeditedssl.d.ts create mode 100644 types/react-icons/lib/fa/external-link-square.d.ts create mode 100644 types/react-icons/lib/fa/external-link.d.ts create mode 100644 types/react-icons/lib/fa/eye-slash.d.ts create mode 100644 types/react-icons/lib/fa/eye.d.ts create mode 100644 types/react-icons/lib/fa/eyedropper.d.ts create mode 100644 types/react-icons/lib/fa/facebook-official.d.ts create mode 100644 types/react-icons/lib/fa/facebook-square.d.ts create mode 100644 types/react-icons/lib/fa/facebook.d.ts create mode 100644 types/react-icons/lib/fa/fast-backward.d.ts create mode 100644 types/react-icons/lib/fa/fast-forward.d.ts create mode 100644 types/react-icons/lib/fa/fax.d.ts create mode 100644 types/react-icons/lib/fa/feed.d.ts create mode 100644 types/react-icons/lib/fa/female.d.ts create mode 100644 types/react-icons/lib/fa/fighter-jet.d.ts create mode 100644 types/react-icons/lib/fa/file-archive-o.d.ts create mode 100644 types/react-icons/lib/fa/file-audio-o.d.ts create mode 100644 types/react-icons/lib/fa/file-code-o.d.ts create mode 100644 types/react-icons/lib/fa/file-excel-o.d.ts create mode 100644 types/react-icons/lib/fa/file-image-o.d.ts create mode 100644 types/react-icons/lib/fa/file-movie-o.d.ts create mode 100644 types/react-icons/lib/fa/file-o.d.ts create mode 100644 types/react-icons/lib/fa/file-pdf-o.d.ts create mode 100644 types/react-icons/lib/fa/file-powerpoint-o.d.ts create mode 100644 types/react-icons/lib/fa/file-text-o.d.ts create mode 100644 types/react-icons/lib/fa/file-text.d.ts create mode 100644 types/react-icons/lib/fa/file-word-o.d.ts create mode 100644 types/react-icons/lib/fa/file.d.ts create mode 100644 types/react-icons/lib/fa/film.d.ts create mode 100644 types/react-icons/lib/fa/filter.d.ts create mode 100644 types/react-icons/lib/fa/fire-extinguisher.d.ts create mode 100644 types/react-icons/lib/fa/fire.d.ts create mode 100644 types/react-icons/lib/fa/firefox.d.ts create mode 100644 types/react-icons/lib/fa/flag-checkered.d.ts create mode 100644 types/react-icons/lib/fa/flag-o.d.ts create mode 100644 types/react-icons/lib/fa/flag.d.ts create mode 100644 types/react-icons/lib/fa/flask.d.ts create mode 100644 types/react-icons/lib/fa/flickr.d.ts create mode 100644 types/react-icons/lib/fa/floppy-o.d.ts create mode 100644 types/react-icons/lib/fa/folder-o.d.ts create mode 100644 types/react-icons/lib/fa/folder-open-o.d.ts create mode 100644 types/react-icons/lib/fa/folder-open.d.ts create mode 100644 types/react-icons/lib/fa/folder.d.ts create mode 100644 types/react-icons/lib/fa/font.d.ts create mode 100644 types/react-icons/lib/fa/fonticons.d.ts create mode 100644 types/react-icons/lib/fa/fort-awesome.d.ts create mode 100644 types/react-icons/lib/fa/forumbee.d.ts create mode 100644 types/react-icons/lib/fa/forward.d.ts create mode 100644 types/react-icons/lib/fa/foursquare.d.ts create mode 100644 types/react-icons/lib/fa/frown-o.d.ts create mode 100644 types/react-icons/lib/fa/futbol-o.d.ts create mode 100644 types/react-icons/lib/fa/gamepad.d.ts create mode 100644 types/react-icons/lib/fa/gavel.d.ts create mode 100644 types/react-icons/lib/fa/gbp.d.ts create mode 100644 types/react-icons/lib/fa/genderless.d.ts create mode 100644 types/react-icons/lib/fa/get-pocket.d.ts create mode 100644 types/react-icons/lib/fa/gg-circle.d.ts create mode 100644 types/react-icons/lib/fa/gg.d.ts create mode 100644 types/react-icons/lib/fa/gift.d.ts create mode 100644 types/react-icons/lib/fa/git-square.d.ts create mode 100644 types/react-icons/lib/fa/git.d.ts create mode 100644 types/react-icons/lib/fa/github-alt.d.ts create mode 100644 types/react-icons/lib/fa/github-square.d.ts create mode 100644 types/react-icons/lib/fa/github.d.ts create mode 100644 types/react-icons/lib/fa/gitlab.d.ts create mode 100644 types/react-icons/lib/fa/gittip.d.ts create mode 100644 types/react-icons/lib/fa/glass.d.ts create mode 100644 types/react-icons/lib/fa/glide-g.d.ts create mode 100644 types/react-icons/lib/fa/glide.d.ts create mode 100644 types/react-icons/lib/fa/globe.d.ts create mode 100644 types/react-icons/lib/fa/google-plus-square.d.ts create mode 100644 types/react-icons/lib/fa/google-plus.d.ts create mode 100644 types/react-icons/lib/fa/google-wallet.d.ts create mode 100644 types/react-icons/lib/fa/google.d.ts create mode 100644 types/react-icons/lib/fa/graduation-cap.d.ts create mode 100644 types/react-icons/lib/fa/group.d.ts create mode 100644 types/react-icons/lib/fa/h-square.d.ts create mode 100644 types/react-icons/lib/fa/hacker-news.d.ts create mode 100644 types/react-icons/lib/fa/hand-grab-o.d.ts create mode 100644 types/react-icons/lib/fa/hand-lizard-o.d.ts create mode 100644 types/react-icons/lib/fa/hand-o-down.d.ts create mode 100644 types/react-icons/lib/fa/hand-o-left.d.ts create mode 100644 types/react-icons/lib/fa/hand-o-right.d.ts create mode 100644 types/react-icons/lib/fa/hand-o-up.d.ts create mode 100644 types/react-icons/lib/fa/hand-paper-o.d.ts create mode 100644 types/react-icons/lib/fa/hand-peace-o.d.ts create mode 100644 types/react-icons/lib/fa/hand-pointer-o.d.ts create mode 100644 types/react-icons/lib/fa/hand-scissors-o.d.ts create mode 100644 types/react-icons/lib/fa/hand-spock-o.d.ts create mode 100644 types/react-icons/lib/fa/hashtag.d.ts create mode 100644 types/react-icons/lib/fa/hdd-o.d.ts create mode 100644 types/react-icons/lib/fa/header.d.ts create mode 100644 types/react-icons/lib/fa/headphones.d.ts create mode 100644 types/react-icons/lib/fa/heart-o.d.ts create mode 100644 types/react-icons/lib/fa/heart.d.ts create mode 100644 types/react-icons/lib/fa/heartbeat.d.ts create mode 100644 types/react-icons/lib/fa/history.d.ts create mode 100644 types/react-icons/lib/fa/home.d.ts create mode 100644 types/react-icons/lib/fa/hospital-o.d.ts create mode 100644 types/react-icons/lib/fa/hourglass-1.d.ts create mode 100644 types/react-icons/lib/fa/hourglass-2.d.ts create mode 100644 types/react-icons/lib/fa/hourglass-3.d.ts create mode 100644 types/react-icons/lib/fa/hourglass-o.d.ts create mode 100644 types/react-icons/lib/fa/hourglass.d.ts create mode 100644 types/react-icons/lib/fa/houzz.d.ts create mode 100644 types/react-icons/lib/fa/html5.d.ts create mode 100644 types/react-icons/lib/fa/i-cursor.d.ts create mode 100644 types/react-icons/lib/fa/ils.d.ts create mode 100644 types/react-icons/lib/fa/image.d.ts create mode 100644 types/react-icons/lib/fa/inbox.d.ts create mode 100644 types/react-icons/lib/fa/indent.d.ts create mode 100644 types/react-icons/lib/fa/index.d.ts create mode 100644 types/react-icons/lib/fa/industry.d.ts create mode 100644 types/react-icons/lib/fa/info-circle.d.ts create mode 100644 types/react-icons/lib/fa/info.d.ts create mode 100644 types/react-icons/lib/fa/inr.d.ts create mode 100644 types/react-icons/lib/fa/instagram.d.ts create mode 100644 types/react-icons/lib/fa/internet-explorer.d.ts create mode 100644 types/react-icons/lib/fa/intersex.d.ts create mode 100644 types/react-icons/lib/fa/ioxhost.d.ts create mode 100644 types/react-icons/lib/fa/italic.d.ts create mode 100644 types/react-icons/lib/fa/joomla.d.ts create mode 100644 types/react-icons/lib/fa/jsfiddle.d.ts create mode 100644 types/react-icons/lib/fa/key.d.ts create mode 100644 types/react-icons/lib/fa/keyboard-o.d.ts create mode 100644 types/react-icons/lib/fa/krw.d.ts create mode 100644 types/react-icons/lib/fa/language.d.ts create mode 100644 types/react-icons/lib/fa/laptop.d.ts create mode 100644 types/react-icons/lib/fa/lastfm-square.d.ts create mode 100644 types/react-icons/lib/fa/lastfm.d.ts create mode 100644 types/react-icons/lib/fa/leaf.d.ts create mode 100644 types/react-icons/lib/fa/leanpub.d.ts create mode 100644 types/react-icons/lib/fa/lemon-o.d.ts create mode 100644 types/react-icons/lib/fa/level-down.d.ts create mode 100644 types/react-icons/lib/fa/level-up.d.ts create mode 100644 types/react-icons/lib/fa/life-bouy.d.ts create mode 100644 types/react-icons/lib/fa/lightbulb-o.d.ts create mode 100644 types/react-icons/lib/fa/line-chart.d.ts create mode 100644 types/react-icons/lib/fa/linkedin-square.d.ts create mode 100644 types/react-icons/lib/fa/linkedin.d.ts create mode 100644 types/react-icons/lib/fa/linux.d.ts create mode 100644 types/react-icons/lib/fa/list-alt.d.ts create mode 100644 types/react-icons/lib/fa/list-ol.d.ts create mode 100644 types/react-icons/lib/fa/list-ul.d.ts create mode 100644 types/react-icons/lib/fa/list.d.ts create mode 100644 types/react-icons/lib/fa/location-arrow.d.ts create mode 100644 types/react-icons/lib/fa/lock.d.ts create mode 100644 types/react-icons/lib/fa/long-arrow-down.d.ts create mode 100644 types/react-icons/lib/fa/long-arrow-left.d.ts create mode 100644 types/react-icons/lib/fa/long-arrow-right.d.ts create mode 100644 types/react-icons/lib/fa/long-arrow-up.d.ts create mode 100644 types/react-icons/lib/fa/low-vision.d.ts create mode 100644 types/react-icons/lib/fa/magic.d.ts create mode 100644 types/react-icons/lib/fa/magnet.d.ts create mode 100644 types/react-icons/lib/fa/mail-forward.d.ts create mode 100644 types/react-icons/lib/fa/mail-reply-all.d.ts create mode 100644 types/react-icons/lib/fa/mail-reply.d.ts create mode 100644 types/react-icons/lib/fa/male.d.ts create mode 100644 types/react-icons/lib/fa/map-marker.d.ts create mode 100644 types/react-icons/lib/fa/map-o.d.ts create mode 100644 types/react-icons/lib/fa/map-pin.d.ts create mode 100644 types/react-icons/lib/fa/map-signs.d.ts create mode 100644 types/react-icons/lib/fa/map.d.ts create mode 100644 types/react-icons/lib/fa/mars-double.d.ts create mode 100644 types/react-icons/lib/fa/mars-stroke-h.d.ts create mode 100644 types/react-icons/lib/fa/mars-stroke-v.d.ts create mode 100644 types/react-icons/lib/fa/mars-stroke.d.ts create mode 100644 types/react-icons/lib/fa/mars.d.ts create mode 100644 types/react-icons/lib/fa/maxcdn.d.ts create mode 100644 types/react-icons/lib/fa/meanpath.d.ts create mode 100644 types/react-icons/lib/fa/medium.d.ts create mode 100644 types/react-icons/lib/fa/medkit.d.ts create mode 100644 types/react-icons/lib/fa/meh-o.d.ts create mode 100644 types/react-icons/lib/fa/mercury.d.ts create mode 100644 types/react-icons/lib/fa/microphone-slash.d.ts create mode 100644 types/react-icons/lib/fa/microphone.d.ts create mode 100644 types/react-icons/lib/fa/minus-circle.d.ts create mode 100644 types/react-icons/lib/fa/minus-square-o.d.ts create mode 100644 types/react-icons/lib/fa/minus-square.d.ts create mode 100644 types/react-icons/lib/fa/minus.d.ts create mode 100644 types/react-icons/lib/fa/mixcloud.d.ts create mode 100644 types/react-icons/lib/fa/mobile.d.ts create mode 100644 types/react-icons/lib/fa/modx.d.ts create mode 100644 types/react-icons/lib/fa/money.d.ts create mode 100644 types/react-icons/lib/fa/moon-o.d.ts create mode 100644 types/react-icons/lib/fa/motorcycle.d.ts create mode 100644 types/react-icons/lib/fa/mouse-pointer.d.ts create mode 100644 types/react-icons/lib/fa/music.d.ts create mode 100644 types/react-icons/lib/fa/neuter.d.ts create mode 100644 types/react-icons/lib/fa/newspaper-o.d.ts create mode 100644 types/react-icons/lib/fa/object-group.d.ts create mode 100644 types/react-icons/lib/fa/object-ungroup.d.ts create mode 100644 types/react-icons/lib/fa/odnoklassniki-square.d.ts create mode 100644 types/react-icons/lib/fa/odnoklassniki.d.ts create mode 100644 types/react-icons/lib/fa/opencart.d.ts create mode 100644 types/react-icons/lib/fa/openid.d.ts create mode 100644 types/react-icons/lib/fa/opera.d.ts create mode 100644 types/react-icons/lib/fa/optin-monster.d.ts create mode 100644 types/react-icons/lib/fa/pagelines.d.ts create mode 100644 types/react-icons/lib/fa/paint-brush.d.ts create mode 100644 types/react-icons/lib/fa/paper-plane-o.d.ts create mode 100644 types/react-icons/lib/fa/paper-plane.d.ts create mode 100644 types/react-icons/lib/fa/paperclip.d.ts create mode 100644 types/react-icons/lib/fa/paragraph.d.ts create mode 100644 types/react-icons/lib/fa/pause-circle-o.d.ts create mode 100644 types/react-icons/lib/fa/pause-circle.d.ts create mode 100644 types/react-icons/lib/fa/pause.d.ts create mode 100644 types/react-icons/lib/fa/paw.d.ts create mode 100644 types/react-icons/lib/fa/paypal.d.ts create mode 100644 types/react-icons/lib/fa/pencil-square.d.ts create mode 100644 types/react-icons/lib/fa/pencil.d.ts create mode 100644 types/react-icons/lib/fa/percent.d.ts create mode 100644 types/react-icons/lib/fa/phone-square.d.ts create mode 100644 types/react-icons/lib/fa/phone.d.ts create mode 100644 types/react-icons/lib/fa/pie-chart.d.ts create mode 100644 types/react-icons/lib/fa/pied-piper-alt.d.ts create mode 100644 types/react-icons/lib/fa/pied-piper.d.ts create mode 100644 types/react-icons/lib/fa/pinterest-p.d.ts create mode 100644 types/react-icons/lib/fa/pinterest-square.d.ts create mode 100644 types/react-icons/lib/fa/pinterest.d.ts create mode 100644 types/react-icons/lib/fa/plane.d.ts create mode 100644 types/react-icons/lib/fa/play-circle-o.d.ts create mode 100644 types/react-icons/lib/fa/play-circle.d.ts create mode 100644 types/react-icons/lib/fa/play.d.ts create mode 100644 types/react-icons/lib/fa/plug.d.ts create mode 100644 types/react-icons/lib/fa/plus-circle.d.ts create mode 100644 types/react-icons/lib/fa/plus-square-o.d.ts create mode 100644 types/react-icons/lib/fa/plus-square.d.ts create mode 100644 types/react-icons/lib/fa/plus.d.ts create mode 100644 types/react-icons/lib/fa/power-off.d.ts create mode 100644 types/react-icons/lib/fa/print.d.ts create mode 100644 types/react-icons/lib/fa/product-hunt.d.ts create mode 100644 types/react-icons/lib/fa/puzzle-piece.d.ts create mode 100644 types/react-icons/lib/fa/qq.d.ts create mode 100644 types/react-icons/lib/fa/qrcode.d.ts create mode 100644 types/react-icons/lib/fa/question-circle-o.d.ts create mode 100644 types/react-icons/lib/fa/question-circle.d.ts create mode 100644 types/react-icons/lib/fa/question.d.ts create mode 100644 types/react-icons/lib/fa/quote-left.d.ts create mode 100644 types/react-icons/lib/fa/quote-right.d.ts create mode 100644 types/react-icons/lib/fa/ra.d.ts create mode 100644 types/react-icons/lib/fa/random.d.ts create mode 100644 types/react-icons/lib/fa/recycle.d.ts create mode 100644 types/react-icons/lib/fa/reddit-alien.d.ts create mode 100644 types/react-icons/lib/fa/reddit-square.d.ts create mode 100644 types/react-icons/lib/fa/reddit.d.ts create mode 100644 types/react-icons/lib/fa/refresh.d.ts create mode 100644 types/react-icons/lib/fa/registered.d.ts create mode 100644 types/react-icons/lib/fa/renren.d.ts create mode 100644 types/react-icons/lib/fa/repeat.d.ts create mode 100644 types/react-icons/lib/fa/retweet.d.ts create mode 100644 types/react-icons/lib/fa/road.d.ts create mode 100644 types/react-icons/lib/fa/rocket.d.ts create mode 100644 types/react-icons/lib/fa/rotate-left.d.ts create mode 100644 types/react-icons/lib/fa/rouble.d.ts create mode 100644 types/react-icons/lib/fa/rss-square.d.ts create mode 100644 types/react-icons/lib/fa/safari.d.ts create mode 100644 types/react-icons/lib/fa/scribd.d.ts create mode 100644 types/react-icons/lib/fa/search-minus.d.ts create mode 100644 types/react-icons/lib/fa/search-plus.d.ts create mode 100644 types/react-icons/lib/fa/search.d.ts create mode 100644 types/react-icons/lib/fa/sellsy.d.ts create mode 100644 types/react-icons/lib/fa/server.d.ts create mode 100644 types/react-icons/lib/fa/share-alt-square.d.ts create mode 100644 types/react-icons/lib/fa/share-alt.d.ts create mode 100644 types/react-icons/lib/fa/share-square-o.d.ts create mode 100644 types/react-icons/lib/fa/share-square.d.ts create mode 100644 types/react-icons/lib/fa/shield.d.ts create mode 100644 types/react-icons/lib/fa/ship.d.ts create mode 100644 types/react-icons/lib/fa/shirtsinbulk.d.ts create mode 100644 types/react-icons/lib/fa/shopping-bag.d.ts create mode 100644 types/react-icons/lib/fa/shopping-basket.d.ts create mode 100644 types/react-icons/lib/fa/shopping-cart.d.ts create mode 100644 types/react-icons/lib/fa/sign-in.d.ts create mode 100644 types/react-icons/lib/fa/sign-language.d.ts create mode 100644 types/react-icons/lib/fa/sign-out.d.ts create mode 100644 types/react-icons/lib/fa/signal.d.ts create mode 100644 types/react-icons/lib/fa/simplybuilt.d.ts create mode 100644 types/react-icons/lib/fa/sitemap.d.ts create mode 100644 types/react-icons/lib/fa/skyatlas.d.ts create mode 100644 types/react-icons/lib/fa/skype.d.ts create mode 100644 types/react-icons/lib/fa/slack.d.ts create mode 100644 types/react-icons/lib/fa/sliders.d.ts create mode 100644 types/react-icons/lib/fa/slideshare.d.ts create mode 100644 types/react-icons/lib/fa/smile-o.d.ts create mode 100644 types/react-icons/lib/fa/snapchat-ghost.d.ts create mode 100644 types/react-icons/lib/fa/snapchat-square.d.ts create mode 100644 types/react-icons/lib/fa/snapchat.d.ts create mode 100644 types/react-icons/lib/fa/sort-alpha-asc.d.ts create mode 100644 types/react-icons/lib/fa/sort-alpha-desc.d.ts create mode 100644 types/react-icons/lib/fa/sort-amount-asc.d.ts create mode 100644 types/react-icons/lib/fa/sort-amount-desc.d.ts create mode 100644 types/react-icons/lib/fa/sort-asc.d.ts create mode 100644 types/react-icons/lib/fa/sort-desc.d.ts create mode 100644 types/react-icons/lib/fa/sort-numeric-asc.d.ts create mode 100644 types/react-icons/lib/fa/sort-numeric-desc.d.ts create mode 100644 types/react-icons/lib/fa/sort.d.ts create mode 100644 types/react-icons/lib/fa/soundcloud.d.ts create mode 100644 types/react-icons/lib/fa/space-shuttle.d.ts create mode 100644 types/react-icons/lib/fa/spinner.d.ts create mode 100644 types/react-icons/lib/fa/spoon.d.ts create mode 100644 types/react-icons/lib/fa/spotify.d.ts create mode 100644 types/react-icons/lib/fa/square-o.d.ts create mode 100644 types/react-icons/lib/fa/square.d.ts create mode 100644 types/react-icons/lib/fa/stack-exchange.d.ts create mode 100644 types/react-icons/lib/fa/stack-overflow.d.ts create mode 100644 types/react-icons/lib/fa/star-half-empty.d.ts create mode 100644 types/react-icons/lib/fa/star-half.d.ts create mode 100644 types/react-icons/lib/fa/star-o.d.ts create mode 100644 types/react-icons/lib/fa/star.d.ts create mode 100644 types/react-icons/lib/fa/steam-square.d.ts create mode 100644 types/react-icons/lib/fa/steam.d.ts create mode 100644 types/react-icons/lib/fa/step-backward.d.ts create mode 100644 types/react-icons/lib/fa/step-forward.d.ts create mode 100644 types/react-icons/lib/fa/stethoscope.d.ts create mode 100644 types/react-icons/lib/fa/sticky-note-o.d.ts create mode 100644 types/react-icons/lib/fa/sticky-note.d.ts create mode 100644 types/react-icons/lib/fa/stop-circle-o.d.ts create mode 100644 types/react-icons/lib/fa/stop-circle.d.ts create mode 100644 types/react-icons/lib/fa/stop.d.ts create mode 100644 types/react-icons/lib/fa/street-view.d.ts create mode 100644 types/react-icons/lib/fa/strikethrough.d.ts create mode 100644 types/react-icons/lib/fa/stumbleupon-circle.d.ts create mode 100644 types/react-icons/lib/fa/stumbleupon.d.ts create mode 100644 types/react-icons/lib/fa/subscript.d.ts create mode 100644 types/react-icons/lib/fa/subway.d.ts create mode 100644 types/react-icons/lib/fa/suitcase.d.ts create mode 100644 types/react-icons/lib/fa/sun-o.d.ts create mode 100644 types/react-icons/lib/fa/superscript.d.ts create mode 100644 types/react-icons/lib/fa/table.d.ts create mode 100644 types/react-icons/lib/fa/tablet.d.ts create mode 100644 types/react-icons/lib/fa/tag.d.ts create mode 100644 types/react-icons/lib/fa/tags.d.ts create mode 100644 types/react-icons/lib/fa/tasks.d.ts create mode 100644 types/react-icons/lib/fa/television.d.ts create mode 100644 types/react-icons/lib/fa/tencent-weibo.d.ts create mode 100644 types/react-icons/lib/fa/terminal.d.ts create mode 100644 types/react-icons/lib/fa/text-height.d.ts create mode 100644 types/react-icons/lib/fa/text-width.d.ts create mode 100644 types/react-icons/lib/fa/th-large.d.ts create mode 100644 types/react-icons/lib/fa/th-list.d.ts create mode 100644 types/react-icons/lib/fa/th.d.ts create mode 100644 types/react-icons/lib/fa/thumb-tack.d.ts create mode 100644 types/react-icons/lib/fa/thumbs-down.d.ts create mode 100644 types/react-icons/lib/fa/thumbs-o-down.d.ts create mode 100644 types/react-icons/lib/fa/thumbs-o-up.d.ts create mode 100644 types/react-icons/lib/fa/thumbs-up.d.ts create mode 100644 types/react-icons/lib/fa/ticket.d.ts create mode 100644 types/react-icons/lib/fa/times-circle-o.d.ts create mode 100644 types/react-icons/lib/fa/times-circle.d.ts create mode 100644 types/react-icons/lib/fa/tint.d.ts create mode 100644 types/react-icons/lib/fa/toggle-off.d.ts create mode 100644 types/react-icons/lib/fa/toggle-on.d.ts create mode 100644 types/react-icons/lib/fa/trademark.d.ts create mode 100644 types/react-icons/lib/fa/train.d.ts create mode 100644 types/react-icons/lib/fa/transgender-alt.d.ts create mode 100644 types/react-icons/lib/fa/trash-o.d.ts create mode 100644 types/react-icons/lib/fa/trash.d.ts create mode 100644 types/react-icons/lib/fa/tree.d.ts create mode 100644 types/react-icons/lib/fa/trello.d.ts create mode 100644 types/react-icons/lib/fa/tripadvisor.d.ts create mode 100644 types/react-icons/lib/fa/trophy.d.ts create mode 100644 types/react-icons/lib/fa/truck.d.ts create mode 100644 types/react-icons/lib/fa/try.d.ts create mode 100644 types/react-icons/lib/fa/tty.d.ts create mode 100644 types/react-icons/lib/fa/tumblr-square.d.ts create mode 100644 types/react-icons/lib/fa/tumblr.d.ts create mode 100644 types/react-icons/lib/fa/twitch.d.ts create mode 100644 types/react-icons/lib/fa/twitter-square.d.ts create mode 100644 types/react-icons/lib/fa/twitter.d.ts create mode 100644 types/react-icons/lib/fa/umbrella.d.ts create mode 100644 types/react-icons/lib/fa/underline.d.ts create mode 100644 types/react-icons/lib/fa/universal-access.d.ts create mode 100644 types/react-icons/lib/fa/unlock-alt.d.ts create mode 100644 types/react-icons/lib/fa/unlock.d.ts create mode 100644 types/react-icons/lib/fa/upload.d.ts create mode 100644 types/react-icons/lib/fa/usb.d.ts create mode 100644 types/react-icons/lib/fa/user-md.d.ts create mode 100644 types/react-icons/lib/fa/user-plus.d.ts create mode 100644 types/react-icons/lib/fa/user-secret.d.ts create mode 100644 types/react-icons/lib/fa/user-times.d.ts create mode 100644 types/react-icons/lib/fa/user.d.ts create mode 100644 types/react-icons/lib/fa/venus-double.d.ts create mode 100644 types/react-icons/lib/fa/venus-mars.d.ts create mode 100644 types/react-icons/lib/fa/venus.d.ts create mode 100644 types/react-icons/lib/fa/viacoin.d.ts create mode 100644 types/react-icons/lib/fa/viadeo-square.d.ts create mode 100644 types/react-icons/lib/fa/viadeo.d.ts create mode 100644 types/react-icons/lib/fa/video-camera.d.ts create mode 100644 types/react-icons/lib/fa/vimeo-square.d.ts create mode 100644 types/react-icons/lib/fa/vimeo.d.ts create mode 100644 types/react-icons/lib/fa/vine.d.ts create mode 100644 types/react-icons/lib/fa/vk.d.ts create mode 100644 types/react-icons/lib/fa/volume-control-phone.d.ts create mode 100644 types/react-icons/lib/fa/volume-down.d.ts create mode 100644 types/react-icons/lib/fa/volume-off.d.ts create mode 100644 types/react-icons/lib/fa/volume-up.d.ts create mode 100644 types/react-icons/lib/fa/wechat.d.ts create mode 100644 types/react-icons/lib/fa/weibo.d.ts create mode 100644 types/react-icons/lib/fa/whatsapp.d.ts create mode 100644 types/react-icons/lib/fa/wheelchair-alt.d.ts create mode 100644 types/react-icons/lib/fa/wheelchair.d.ts create mode 100644 types/react-icons/lib/fa/wifi.d.ts create mode 100644 types/react-icons/lib/fa/wikipedia-w.d.ts create mode 100644 types/react-icons/lib/fa/windows.d.ts create mode 100644 types/react-icons/lib/fa/wordpress.d.ts create mode 100644 types/react-icons/lib/fa/wpbeginner.d.ts create mode 100644 types/react-icons/lib/fa/wpforms.d.ts create mode 100644 types/react-icons/lib/fa/wrench.d.ts create mode 100644 types/react-icons/lib/fa/xing-square.d.ts create mode 100644 types/react-icons/lib/fa/xing.d.ts create mode 100644 types/react-icons/lib/fa/y-combinator.d.ts create mode 100644 types/react-icons/lib/fa/yahoo.d.ts create mode 100644 types/react-icons/lib/fa/yelp.d.ts create mode 100644 types/react-icons/lib/fa/youtube-play.d.ts create mode 100644 types/react-icons/lib/fa/youtube-square.d.ts create mode 100644 types/react-icons/lib/fa/youtube.d.ts create mode 100644 types/react-icons/lib/go/alert.d.ts create mode 100644 types/react-icons/lib/go/alignment-align.d.ts create mode 100644 types/react-icons/lib/go/alignment-aligned-to.d.ts create mode 100644 types/react-icons/lib/go/alignment-unalign.d.ts create mode 100644 types/react-icons/lib/go/arrow-down.d.ts create mode 100644 types/react-icons/lib/go/arrow-left.d.ts create mode 100644 types/react-icons/lib/go/arrow-right.d.ts create mode 100644 types/react-icons/lib/go/arrow-small-down.d.ts create mode 100644 types/react-icons/lib/go/arrow-small-left.d.ts create mode 100644 types/react-icons/lib/go/arrow-small-right.d.ts create mode 100644 types/react-icons/lib/go/arrow-small-up.d.ts create mode 100644 types/react-icons/lib/go/arrow-up.d.ts create mode 100644 types/react-icons/lib/go/beer.d.ts create mode 100644 types/react-icons/lib/go/book.d.ts create mode 100644 types/react-icons/lib/go/bookmark.d.ts create mode 100644 types/react-icons/lib/go/briefcase.d.ts create mode 100644 types/react-icons/lib/go/broadcast.d.ts create mode 100644 types/react-icons/lib/go/browser.d.ts create mode 100644 types/react-icons/lib/go/bug.d.ts create mode 100644 types/react-icons/lib/go/calendar.d.ts create mode 100644 types/react-icons/lib/go/check.d.ts create mode 100644 types/react-icons/lib/go/checklist.d.ts create mode 100644 types/react-icons/lib/go/chevron-down.d.ts create mode 100644 types/react-icons/lib/go/chevron-left.d.ts create mode 100644 types/react-icons/lib/go/chevron-right.d.ts create mode 100644 types/react-icons/lib/go/chevron-up.d.ts create mode 100644 types/react-icons/lib/go/circle-slash.d.ts create mode 100644 types/react-icons/lib/go/circuit-board.d.ts create mode 100644 types/react-icons/lib/go/clippy.d.ts create mode 100644 types/react-icons/lib/go/clock.d.ts create mode 100644 types/react-icons/lib/go/cloud-download.d.ts create mode 100644 types/react-icons/lib/go/cloud-upload.d.ts create mode 100644 types/react-icons/lib/go/code.d.ts create mode 100644 types/react-icons/lib/go/color-mode.d.ts create mode 100644 types/react-icons/lib/go/comment-discussion.d.ts create mode 100644 types/react-icons/lib/go/comment.d.ts create mode 100644 types/react-icons/lib/go/credit-card.d.ts create mode 100644 types/react-icons/lib/go/dash.d.ts create mode 100644 types/react-icons/lib/go/dashboard.d.ts create mode 100644 types/react-icons/lib/go/database.d.ts create mode 100644 types/react-icons/lib/go/device-camera-video.d.ts create mode 100644 types/react-icons/lib/go/device-camera.d.ts create mode 100644 types/react-icons/lib/go/device-desktop.d.ts create mode 100644 types/react-icons/lib/go/device-mobile.d.ts create mode 100644 types/react-icons/lib/go/diff-added.d.ts create mode 100644 types/react-icons/lib/go/diff-ignored.d.ts create mode 100644 types/react-icons/lib/go/diff-modified.d.ts create mode 100644 types/react-icons/lib/go/diff-removed.d.ts create mode 100644 types/react-icons/lib/go/diff-renamed.d.ts create mode 100644 types/react-icons/lib/go/diff.d.ts create mode 100644 types/react-icons/lib/go/ellipsis.d.ts create mode 100644 types/react-icons/lib/go/eye.d.ts create mode 100644 types/react-icons/lib/go/file-binary.d.ts create mode 100644 types/react-icons/lib/go/file-code.d.ts create mode 100644 types/react-icons/lib/go/file-directory.d.ts create mode 100644 types/react-icons/lib/go/file-media.d.ts create mode 100644 types/react-icons/lib/go/file-pdf.d.ts create mode 100644 types/react-icons/lib/go/file-submodule.d.ts create mode 100644 types/react-icons/lib/go/file-symlink-directory.d.ts create mode 100644 types/react-icons/lib/go/file-symlink-file.d.ts create mode 100644 types/react-icons/lib/go/file-text.d.ts create mode 100644 types/react-icons/lib/go/file-zip.d.ts create mode 100644 types/react-icons/lib/go/flame.d.ts create mode 100644 types/react-icons/lib/go/fold.d.ts create mode 100644 types/react-icons/lib/go/gear.d.ts create mode 100644 types/react-icons/lib/go/gift.d.ts create mode 100644 types/react-icons/lib/go/gist-secret.d.ts create mode 100644 types/react-icons/lib/go/gist.d.ts create mode 100644 types/react-icons/lib/go/git-branch.d.ts create mode 100644 types/react-icons/lib/go/git-commit.d.ts create mode 100644 types/react-icons/lib/go/git-compare.d.ts create mode 100644 types/react-icons/lib/go/git-merge.d.ts create mode 100644 types/react-icons/lib/go/git-pull-request.d.ts create mode 100644 types/react-icons/lib/go/globe.d.ts create mode 100644 types/react-icons/lib/go/graph.d.ts create mode 100644 types/react-icons/lib/go/heart.d.ts create mode 100644 types/react-icons/lib/go/history.d.ts create mode 100644 types/react-icons/lib/go/home.d.ts create mode 100644 types/react-icons/lib/go/horizontal-rule.d.ts create mode 100644 types/react-icons/lib/go/hourglass.d.ts create mode 100644 types/react-icons/lib/go/hubot.d.ts create mode 100644 types/react-icons/lib/go/inbox.d.ts create mode 100644 types/react-icons/lib/go/index.d.ts create mode 100644 types/react-icons/lib/go/info.d.ts create mode 100644 types/react-icons/lib/go/issue-closed.d.ts create mode 100644 types/react-icons/lib/go/issue-opened.d.ts create mode 100644 types/react-icons/lib/go/issue-reopened.d.ts create mode 100644 types/react-icons/lib/go/jersey.d.ts create mode 100644 types/react-icons/lib/go/jump-down.d.ts create mode 100644 types/react-icons/lib/go/jump-left.d.ts create mode 100644 types/react-icons/lib/go/jump-right.d.ts create mode 100644 types/react-icons/lib/go/jump-up.d.ts create mode 100644 types/react-icons/lib/go/key.d.ts create mode 100644 types/react-icons/lib/go/keyboard.d.ts create mode 100644 types/react-icons/lib/go/law.d.ts create mode 100644 types/react-icons/lib/go/light-bulb.d.ts create mode 100644 types/react-icons/lib/go/link-external.d.ts create mode 100644 types/react-icons/lib/go/link.d.ts create mode 100644 types/react-icons/lib/go/list-ordered.d.ts create mode 100644 types/react-icons/lib/go/list-unordered.d.ts create mode 100644 types/react-icons/lib/go/location.d.ts create mode 100644 types/react-icons/lib/go/lock.d.ts create mode 100644 types/react-icons/lib/go/logo-github.d.ts create mode 100644 types/react-icons/lib/go/mail-read.d.ts create mode 100644 types/react-icons/lib/go/mail-reply.d.ts create mode 100644 types/react-icons/lib/go/mail.d.ts create mode 100644 types/react-icons/lib/go/mark-github.d.ts create mode 100644 types/react-icons/lib/go/markdown.d.ts create mode 100644 types/react-icons/lib/go/megaphone.d.ts create mode 100644 types/react-icons/lib/go/mention.d.ts create mode 100644 types/react-icons/lib/go/microscope.d.ts create mode 100644 types/react-icons/lib/go/milestone.d.ts create mode 100644 types/react-icons/lib/go/mirror.d.ts create mode 100644 types/react-icons/lib/go/mortar-board.d.ts create mode 100644 types/react-icons/lib/go/move-down.d.ts create mode 100644 types/react-icons/lib/go/move-left.d.ts create mode 100644 types/react-icons/lib/go/move-right.d.ts create mode 100644 types/react-icons/lib/go/move-up.d.ts create mode 100644 types/react-icons/lib/go/mute.d.ts create mode 100644 types/react-icons/lib/go/no-newline.d.ts create mode 100644 types/react-icons/lib/go/octoface.d.ts create mode 100644 types/react-icons/lib/go/organization.d.ts create mode 100644 types/react-icons/lib/go/package.d.ts create mode 100644 types/react-icons/lib/go/paintcan.d.ts create mode 100644 types/react-icons/lib/go/pencil.d.ts create mode 100644 types/react-icons/lib/go/person.d.ts create mode 100644 types/react-icons/lib/go/pin.d.ts create mode 100644 types/react-icons/lib/go/playback-fast-forward.d.ts create mode 100644 types/react-icons/lib/go/playback-pause.d.ts create mode 100644 types/react-icons/lib/go/playback-play.d.ts create mode 100644 types/react-icons/lib/go/playback-rewind.d.ts create mode 100644 types/react-icons/lib/go/plug.d.ts create mode 100644 types/react-icons/lib/go/plus.d.ts create mode 100644 types/react-icons/lib/go/podium.d.ts create mode 100644 types/react-icons/lib/go/primitive-dot.d.ts create mode 100644 types/react-icons/lib/go/primitive-square.d.ts create mode 100644 types/react-icons/lib/go/pulse.d.ts create mode 100644 types/react-icons/lib/go/puzzle.d.ts create mode 100644 types/react-icons/lib/go/question.d.ts create mode 100644 types/react-icons/lib/go/quote.d.ts create mode 100644 types/react-icons/lib/go/radio-tower.d.ts create mode 100644 types/react-icons/lib/go/repo-clone.d.ts create mode 100644 types/react-icons/lib/go/repo-force-push.d.ts create mode 100644 types/react-icons/lib/go/repo-forked.d.ts create mode 100644 types/react-icons/lib/go/repo-pull.d.ts create mode 100644 types/react-icons/lib/go/repo-push.d.ts create mode 100644 types/react-icons/lib/go/repo.d.ts create mode 100644 types/react-icons/lib/go/rocket.d.ts create mode 100644 types/react-icons/lib/go/rss.d.ts create mode 100644 types/react-icons/lib/go/ruby.d.ts create mode 100644 types/react-icons/lib/go/screen-full.d.ts create mode 100644 types/react-icons/lib/go/screen-normal.d.ts create mode 100644 types/react-icons/lib/go/search.d.ts create mode 100644 types/react-icons/lib/go/server.d.ts create mode 100644 types/react-icons/lib/go/settings.d.ts create mode 100644 types/react-icons/lib/go/sign-in.d.ts create mode 100644 types/react-icons/lib/go/sign-out.d.ts create mode 100644 types/react-icons/lib/go/split.d.ts create mode 100644 types/react-icons/lib/go/squirrel.d.ts create mode 100644 types/react-icons/lib/go/star.d.ts create mode 100644 types/react-icons/lib/go/steps.d.ts create mode 100644 types/react-icons/lib/go/stop.d.ts create mode 100644 types/react-icons/lib/go/sync.d.ts create mode 100644 types/react-icons/lib/go/tag.d.ts create mode 100644 types/react-icons/lib/go/telescope.d.ts create mode 100644 types/react-icons/lib/go/terminal.d.ts create mode 100644 types/react-icons/lib/go/three-bars.d.ts create mode 100644 types/react-icons/lib/go/tools.d.ts create mode 100644 types/react-icons/lib/go/trashcan.d.ts create mode 100644 types/react-icons/lib/go/triangle-down.d.ts create mode 100644 types/react-icons/lib/go/triangle-left.d.ts create mode 100644 types/react-icons/lib/go/triangle-right.d.ts create mode 100644 types/react-icons/lib/go/triangle-up.d.ts create mode 100644 types/react-icons/lib/go/unfold.d.ts create mode 100644 types/react-icons/lib/go/unmute.d.ts create mode 100644 types/react-icons/lib/go/versions.d.ts create mode 100644 types/react-icons/lib/go/x.d.ts create mode 100644 types/react-icons/lib/go/zap.d.ts create mode 100644 types/react-icons/lib/io/alert-circled.d.ts create mode 100644 types/react-icons/lib/io/alert.d.ts create mode 100644 types/react-icons/lib/io/android-add-circle.d.ts create mode 100644 types/react-icons/lib/io/android-add.d.ts create mode 100644 types/react-icons/lib/io/android-alarm-clock.d.ts create mode 100644 types/react-icons/lib/io/android-alert.d.ts create mode 100644 types/react-icons/lib/io/android-apps.d.ts create mode 100644 types/react-icons/lib/io/android-archive.d.ts create mode 100644 types/react-icons/lib/io/android-arrow-back.d.ts create mode 100644 types/react-icons/lib/io/android-arrow-down.d.ts create mode 100644 types/react-icons/lib/io/android-arrow-dropdown-circle.d.ts create mode 100644 types/react-icons/lib/io/android-arrow-dropdown.d.ts create mode 100644 types/react-icons/lib/io/android-arrow-dropleft-circle.d.ts create mode 100644 types/react-icons/lib/io/android-arrow-dropleft.d.ts create mode 100644 types/react-icons/lib/io/android-arrow-dropright-circle.d.ts create mode 100644 types/react-icons/lib/io/android-arrow-dropright.d.ts create mode 100644 types/react-icons/lib/io/android-arrow-dropup-circle.d.ts create mode 100644 types/react-icons/lib/io/android-arrow-dropup.d.ts create mode 100644 types/react-icons/lib/io/android-arrow-forward.d.ts create mode 100644 types/react-icons/lib/io/android-arrow-up.d.ts create mode 100644 types/react-icons/lib/io/android-attach.d.ts create mode 100644 types/react-icons/lib/io/android-bar.d.ts create mode 100644 types/react-icons/lib/io/android-bicycle.d.ts create mode 100644 types/react-icons/lib/io/android-boat.d.ts create mode 100644 types/react-icons/lib/io/android-bookmark.d.ts create mode 100644 types/react-icons/lib/io/android-bulb.d.ts create mode 100644 types/react-icons/lib/io/android-bus.d.ts create mode 100644 types/react-icons/lib/io/android-calendar.d.ts create mode 100644 types/react-icons/lib/io/android-call.d.ts create mode 100644 types/react-icons/lib/io/android-camera.d.ts create mode 100644 types/react-icons/lib/io/android-cancel.d.ts create mode 100644 types/react-icons/lib/io/android-car.d.ts create mode 100644 types/react-icons/lib/io/android-cart.d.ts create mode 100644 types/react-icons/lib/io/android-chat.d.ts create mode 100644 types/react-icons/lib/io/android-checkbox-blank.d.ts create mode 100644 types/react-icons/lib/io/android-checkbox-outline-blank.d.ts create mode 100644 types/react-icons/lib/io/android-checkbox-outline.d.ts create mode 100644 types/react-icons/lib/io/android-checkbox.d.ts create mode 100644 types/react-icons/lib/io/android-checkmark-circle.d.ts create mode 100644 types/react-icons/lib/io/android-clipboard.d.ts create mode 100644 types/react-icons/lib/io/android-close.d.ts create mode 100644 types/react-icons/lib/io/android-cloud-circle.d.ts create mode 100644 types/react-icons/lib/io/android-cloud-done.d.ts create mode 100644 types/react-icons/lib/io/android-cloud-outline.d.ts create mode 100644 types/react-icons/lib/io/android-cloud.d.ts create mode 100644 types/react-icons/lib/io/android-color-palette.d.ts create mode 100644 types/react-icons/lib/io/android-compass.d.ts create mode 100644 types/react-icons/lib/io/android-contact.d.ts create mode 100644 types/react-icons/lib/io/android-contacts.d.ts create mode 100644 types/react-icons/lib/io/android-contract.d.ts create mode 100644 types/react-icons/lib/io/android-create.d.ts create mode 100644 types/react-icons/lib/io/android-delete.d.ts create mode 100644 types/react-icons/lib/io/android-desktop.d.ts create mode 100644 types/react-icons/lib/io/android-document.d.ts create mode 100644 types/react-icons/lib/io/android-done-all.d.ts create mode 100644 types/react-icons/lib/io/android-done.d.ts create mode 100644 types/react-icons/lib/io/android-download.d.ts create mode 100644 types/react-icons/lib/io/android-drafts.d.ts create mode 100644 types/react-icons/lib/io/android-exit.d.ts create mode 100644 types/react-icons/lib/io/android-expand.d.ts create mode 100644 types/react-icons/lib/io/android-favorite-outline.d.ts create mode 100644 types/react-icons/lib/io/android-favorite.d.ts create mode 100644 types/react-icons/lib/io/android-film.d.ts create mode 100644 types/react-icons/lib/io/android-folder-open.d.ts create mode 100644 types/react-icons/lib/io/android-folder.d.ts create mode 100644 types/react-icons/lib/io/android-funnel.d.ts create mode 100644 types/react-icons/lib/io/android-globe.d.ts create mode 100644 types/react-icons/lib/io/android-hand.d.ts create mode 100644 types/react-icons/lib/io/android-hangout.d.ts create mode 100644 types/react-icons/lib/io/android-happy.d.ts create mode 100644 types/react-icons/lib/io/android-home.d.ts create mode 100644 types/react-icons/lib/io/android-image.d.ts create mode 100644 types/react-icons/lib/io/android-laptop.d.ts create mode 100644 types/react-icons/lib/io/android-list.d.ts create mode 100644 types/react-icons/lib/io/android-locate.d.ts create mode 100644 types/react-icons/lib/io/android-lock.d.ts create mode 100644 types/react-icons/lib/io/android-mail.d.ts create mode 100644 types/react-icons/lib/io/android-map.d.ts create mode 100644 types/react-icons/lib/io/android-menu.d.ts create mode 100644 types/react-icons/lib/io/android-microphone-off.d.ts create mode 100644 types/react-icons/lib/io/android-microphone.d.ts create mode 100644 types/react-icons/lib/io/android-more-horizontal.d.ts create mode 100644 types/react-icons/lib/io/android-more-vertical.d.ts create mode 100644 types/react-icons/lib/io/android-navigate.d.ts create mode 100644 types/react-icons/lib/io/android-notifications-none.d.ts create mode 100644 types/react-icons/lib/io/android-notifications-off.d.ts create mode 100644 types/react-icons/lib/io/android-notifications.d.ts create mode 100644 types/react-icons/lib/io/android-open.d.ts create mode 100644 types/react-icons/lib/io/android-options.d.ts create mode 100644 types/react-icons/lib/io/android-people.d.ts create mode 100644 types/react-icons/lib/io/android-person-add.d.ts create mode 100644 types/react-icons/lib/io/android-person.d.ts create mode 100644 types/react-icons/lib/io/android-phone-landscape.d.ts create mode 100644 types/react-icons/lib/io/android-phone-portrait.d.ts create mode 100644 types/react-icons/lib/io/android-pin.d.ts create mode 100644 types/react-icons/lib/io/android-plane.d.ts create mode 100644 types/react-icons/lib/io/android-playstore.d.ts create mode 100644 types/react-icons/lib/io/android-print.d.ts create mode 100644 types/react-icons/lib/io/android-radio-button-off.d.ts create mode 100644 types/react-icons/lib/io/android-radio-button-on.d.ts create mode 100644 types/react-icons/lib/io/android-refresh.d.ts create mode 100644 types/react-icons/lib/io/android-remove-circle.d.ts create mode 100644 types/react-icons/lib/io/android-remove.d.ts create mode 100644 types/react-icons/lib/io/android-restaurant.d.ts create mode 100644 types/react-icons/lib/io/android-sad.d.ts create mode 100644 types/react-icons/lib/io/android-search.d.ts create mode 100644 types/react-icons/lib/io/android-send.d.ts create mode 100644 types/react-icons/lib/io/android-settings.d.ts create mode 100644 types/react-icons/lib/io/android-share-alt.d.ts create mode 100644 types/react-icons/lib/io/android-share.d.ts create mode 100644 types/react-icons/lib/io/android-star-half.d.ts create mode 100644 types/react-icons/lib/io/android-star-outline.d.ts create mode 100644 types/react-icons/lib/io/android-star.d.ts create mode 100644 types/react-icons/lib/io/android-stopwatch.d.ts create mode 100644 types/react-icons/lib/io/android-subway.d.ts create mode 100644 types/react-icons/lib/io/android-sunny.d.ts create mode 100644 types/react-icons/lib/io/android-sync.d.ts create mode 100644 types/react-icons/lib/io/android-textsms.d.ts create mode 100644 types/react-icons/lib/io/android-time.d.ts create mode 100644 types/react-icons/lib/io/android-train.d.ts create mode 100644 types/react-icons/lib/io/android-unlock.d.ts create mode 100644 types/react-icons/lib/io/android-upload.d.ts create mode 100644 types/react-icons/lib/io/android-volume-down.d.ts create mode 100644 types/react-icons/lib/io/android-volume-mute.d.ts create mode 100644 types/react-icons/lib/io/android-volume-off.d.ts create mode 100644 types/react-icons/lib/io/android-volume-up.d.ts create mode 100644 types/react-icons/lib/io/android-walk.d.ts create mode 100644 types/react-icons/lib/io/android-warning.d.ts create mode 100644 types/react-icons/lib/io/android-watch.d.ts create mode 100644 types/react-icons/lib/io/android-wifi.d.ts create mode 100644 types/react-icons/lib/io/aperture.d.ts create mode 100644 types/react-icons/lib/io/archive.d.ts create mode 100644 types/react-icons/lib/io/arrow-down-a.d.ts create mode 100644 types/react-icons/lib/io/arrow-down-b.d.ts create mode 100644 types/react-icons/lib/io/arrow-down-c.d.ts create mode 100644 types/react-icons/lib/io/arrow-expand.d.ts create mode 100644 types/react-icons/lib/io/arrow-graph-down-left.d.ts create mode 100644 types/react-icons/lib/io/arrow-graph-down-right.d.ts create mode 100644 types/react-icons/lib/io/arrow-graph-up-left.d.ts create mode 100644 types/react-icons/lib/io/arrow-graph-up-right.d.ts create mode 100644 types/react-icons/lib/io/arrow-left-a.d.ts create mode 100644 types/react-icons/lib/io/arrow-left-b.d.ts create mode 100644 types/react-icons/lib/io/arrow-left-c.d.ts create mode 100644 types/react-icons/lib/io/arrow-move.d.ts create mode 100644 types/react-icons/lib/io/arrow-resize.d.ts create mode 100644 types/react-icons/lib/io/arrow-return-left.d.ts create mode 100644 types/react-icons/lib/io/arrow-return-right.d.ts create mode 100644 types/react-icons/lib/io/arrow-right-a.d.ts create mode 100644 types/react-icons/lib/io/arrow-right-b.d.ts create mode 100644 types/react-icons/lib/io/arrow-right-c.d.ts create mode 100644 types/react-icons/lib/io/arrow-shrink.d.ts create mode 100644 types/react-icons/lib/io/arrow-swap.d.ts create mode 100644 types/react-icons/lib/io/arrow-up-a.d.ts create mode 100644 types/react-icons/lib/io/arrow-up-b.d.ts create mode 100644 types/react-icons/lib/io/arrow-up-c.d.ts create mode 100644 types/react-icons/lib/io/asterisk.d.ts create mode 100644 types/react-icons/lib/io/at.d.ts create mode 100644 types/react-icons/lib/io/backspace-outline.d.ts create mode 100644 types/react-icons/lib/io/backspace.d.ts create mode 100644 types/react-icons/lib/io/bag.d.ts create mode 100644 types/react-icons/lib/io/battery-charging.d.ts create mode 100644 types/react-icons/lib/io/battery-empty.d.ts create mode 100644 types/react-icons/lib/io/battery-full.d.ts create mode 100644 types/react-icons/lib/io/battery-half.d.ts create mode 100644 types/react-icons/lib/io/battery-low.d.ts create mode 100644 types/react-icons/lib/io/beaker.d.ts create mode 100644 types/react-icons/lib/io/beer.d.ts create mode 100644 types/react-icons/lib/io/bluetooth.d.ts create mode 100644 types/react-icons/lib/io/bonfire.d.ts create mode 100644 types/react-icons/lib/io/bookmark.d.ts create mode 100644 types/react-icons/lib/io/bowtie.d.ts create mode 100644 types/react-icons/lib/io/briefcase.d.ts create mode 100644 types/react-icons/lib/io/bug.d.ts create mode 100644 types/react-icons/lib/io/calculator.d.ts create mode 100644 types/react-icons/lib/io/calendar.d.ts create mode 100644 types/react-icons/lib/io/camera.d.ts create mode 100644 types/react-icons/lib/io/card.d.ts create mode 100644 types/react-icons/lib/io/cash.d.ts create mode 100644 types/react-icons/lib/io/chatbox-working.d.ts create mode 100644 types/react-icons/lib/io/chatbox.d.ts create mode 100644 types/react-icons/lib/io/chatboxes.d.ts create mode 100644 types/react-icons/lib/io/chatbubble-working.d.ts create mode 100644 types/react-icons/lib/io/chatbubble.d.ts create mode 100644 types/react-icons/lib/io/chatbubbles.d.ts create mode 100644 types/react-icons/lib/io/checkmark-circled.d.ts create mode 100644 types/react-icons/lib/io/checkmark-round.d.ts create mode 100644 types/react-icons/lib/io/checkmark.d.ts create mode 100644 types/react-icons/lib/io/chevron-down.d.ts create mode 100644 types/react-icons/lib/io/chevron-left.d.ts create mode 100644 types/react-icons/lib/io/chevron-right.d.ts create mode 100644 types/react-icons/lib/io/chevron-up.d.ts create mode 100644 types/react-icons/lib/io/clipboard.d.ts create mode 100644 types/react-icons/lib/io/clock.d.ts create mode 100644 types/react-icons/lib/io/close-circled.d.ts create mode 100644 types/react-icons/lib/io/close-round.d.ts create mode 100644 types/react-icons/lib/io/close.d.ts create mode 100644 types/react-icons/lib/io/closed-captioning.d.ts create mode 100644 types/react-icons/lib/io/cloud.d.ts create mode 100644 types/react-icons/lib/io/code-download.d.ts create mode 100644 types/react-icons/lib/io/code-working.d.ts create mode 100644 types/react-icons/lib/io/code.d.ts create mode 100644 types/react-icons/lib/io/coffee.d.ts create mode 100644 types/react-icons/lib/io/compass.d.ts create mode 100644 types/react-icons/lib/io/compose.d.ts create mode 100644 types/react-icons/lib/io/connectbars.d.ts create mode 100644 types/react-icons/lib/io/contrast.d.ts create mode 100644 types/react-icons/lib/io/crop.d.ts create mode 100644 types/react-icons/lib/io/cube.d.ts create mode 100644 types/react-icons/lib/io/disc.d.ts create mode 100644 types/react-icons/lib/io/document-text.d.ts create mode 100644 types/react-icons/lib/io/document.d.ts create mode 100644 types/react-icons/lib/io/drag.d.ts create mode 100644 types/react-icons/lib/io/earth.d.ts create mode 100644 types/react-icons/lib/io/easel.d.ts create mode 100644 types/react-icons/lib/io/edit.d.ts create mode 100644 types/react-icons/lib/io/egg.d.ts create mode 100644 types/react-icons/lib/io/eject.d.ts create mode 100644 types/react-icons/lib/io/email-unread.d.ts create mode 100644 types/react-icons/lib/io/email.d.ts create mode 100644 types/react-icons/lib/io/erlenmeyer-flask-bubbles.d.ts create mode 100644 types/react-icons/lib/io/erlenmeyer-flask.d.ts create mode 100644 types/react-icons/lib/io/eye-disabled.d.ts create mode 100644 types/react-icons/lib/io/eye.d.ts create mode 100644 types/react-icons/lib/io/female.d.ts create mode 100644 types/react-icons/lib/io/filing.d.ts create mode 100644 types/react-icons/lib/io/film-marker.d.ts create mode 100644 types/react-icons/lib/io/fireball.d.ts create mode 100644 types/react-icons/lib/io/flag.d.ts create mode 100644 types/react-icons/lib/io/flame.d.ts create mode 100644 types/react-icons/lib/io/flash-off.d.ts create mode 100644 types/react-icons/lib/io/flash.d.ts create mode 100644 types/react-icons/lib/io/folder.d.ts create mode 100644 types/react-icons/lib/io/fork-repo.d.ts create mode 100644 types/react-icons/lib/io/fork.d.ts create mode 100644 types/react-icons/lib/io/forward.d.ts create mode 100644 types/react-icons/lib/io/funnel.d.ts create mode 100644 types/react-icons/lib/io/gear-a.d.ts create mode 100644 types/react-icons/lib/io/gear-b.d.ts create mode 100644 types/react-icons/lib/io/grid.d.ts create mode 100644 types/react-icons/lib/io/hammer.d.ts create mode 100644 types/react-icons/lib/io/happy-outline.d.ts create mode 100644 types/react-icons/lib/io/happy.d.ts create mode 100644 types/react-icons/lib/io/headphone.d.ts create mode 100644 types/react-icons/lib/io/heart-broken.d.ts create mode 100644 types/react-icons/lib/io/heart.d.ts create mode 100644 types/react-icons/lib/io/help-buoy.d.ts create mode 100644 types/react-icons/lib/io/help-circled.d.ts create mode 100644 types/react-icons/lib/io/help.d.ts create mode 100644 types/react-icons/lib/io/home.d.ts create mode 100644 types/react-icons/lib/io/icecream.d.ts create mode 100644 types/react-icons/lib/io/image.d.ts create mode 100644 types/react-icons/lib/io/images.d.ts create mode 100644 types/react-icons/lib/io/index.d.ts create mode 100644 types/react-icons/lib/io/informatcircled.d.ts create mode 100644 types/react-icons/lib/io/information.d.ts create mode 100644 types/react-icons/lib/io/ionic.d.ts create mode 100644 types/react-icons/lib/io/ios-alarm-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-alarm.d.ts create mode 100644 types/react-icons/lib/io/ios-albums-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-albums.d.ts create mode 100644 types/react-icons/lib/io/ios-americanfootball-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-americanfootball.d.ts create mode 100644 types/react-icons/lib/io/ios-analytics-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-analytics.d.ts create mode 100644 types/react-icons/lib/io/ios-arrow-back.d.ts create mode 100644 types/react-icons/lib/io/ios-arrow-down.d.ts create mode 100644 types/react-icons/lib/io/ios-arrow-forward.d.ts create mode 100644 types/react-icons/lib/io/ios-arrow-left.d.ts create mode 100644 types/react-icons/lib/io/ios-arrow-right.d.ts create mode 100644 types/react-icons/lib/io/ios-arrow-thin-down.d.ts create mode 100644 types/react-icons/lib/io/ios-arrow-thin-left.d.ts create mode 100644 types/react-icons/lib/io/ios-arrow-thin-right.d.ts create mode 100644 types/react-icons/lib/io/ios-arrow-thin-up.d.ts create mode 100644 types/react-icons/lib/io/ios-arrow-up.d.ts create mode 100644 types/react-icons/lib/io/ios-at-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-at.d.ts create mode 100644 types/react-icons/lib/io/ios-barcode-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-barcode.d.ts create mode 100644 types/react-icons/lib/io/ios-baseball-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-baseball.d.ts create mode 100644 types/react-icons/lib/io/ios-basketball-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-basketball.d.ts create mode 100644 types/react-icons/lib/io/ios-bell-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-bell.d.ts create mode 100644 types/react-icons/lib/io/ios-body-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-body.d.ts create mode 100644 types/react-icons/lib/io/ios-bolt-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-bolt.d.ts create mode 100644 types/react-icons/lib/io/ios-book-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-book.d.ts create mode 100644 types/react-icons/lib/io/ios-bookmarks-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-bookmarks.d.ts create mode 100644 types/react-icons/lib/io/ios-box-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-box.d.ts create mode 100644 types/react-icons/lib/io/ios-briefcase-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-briefcase.d.ts create mode 100644 types/react-icons/lib/io/ios-browsers-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-browsers.d.ts create mode 100644 types/react-icons/lib/io/ios-calculator-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-calculator.d.ts create mode 100644 types/react-icons/lib/io/ios-calendar-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-calendar.d.ts create mode 100644 types/react-icons/lib/io/ios-camera-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-camera.d.ts create mode 100644 types/react-icons/lib/io/ios-cart-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-cart.d.ts create mode 100644 types/react-icons/lib/io/ios-chatboxes-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-chatboxes.d.ts create mode 100644 types/react-icons/lib/io/ios-chatbubble-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-chatbubble.d.ts create mode 100644 types/react-icons/lib/io/ios-checkmark-empty.d.ts create mode 100644 types/react-icons/lib/io/ios-checkmark-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-checkmark.d.ts create mode 100644 types/react-icons/lib/io/ios-circle-filled.d.ts create mode 100644 types/react-icons/lib/io/ios-circle-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-clock-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-clock.d.ts create mode 100644 types/react-icons/lib/io/ios-close-empty.d.ts create mode 100644 types/react-icons/lib/io/ios-close-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-close.d.ts create mode 100644 types/react-icons/lib/io/ios-cloud-download-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-cloud-download.d.ts create mode 100644 types/react-icons/lib/io/ios-cloud-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-cloud-upload-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-cloud-upload.d.ts create mode 100644 types/react-icons/lib/io/ios-cloud.d.ts create mode 100644 types/react-icons/lib/io/ios-cloudy-night-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-cloudy-night.d.ts create mode 100644 types/react-icons/lib/io/ios-cloudy-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-cloudy.d.ts create mode 100644 types/react-icons/lib/io/ios-cog-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-cog.d.ts create mode 100644 types/react-icons/lib/io/ios-color-filter-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-color-filter.d.ts create mode 100644 types/react-icons/lib/io/ios-color-wand-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-color-wand.d.ts create mode 100644 types/react-icons/lib/io/ios-compose-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-compose.d.ts create mode 100644 types/react-icons/lib/io/ios-contact-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-contact.d.ts create mode 100644 types/react-icons/lib/io/ios-copy-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-copy.d.ts create mode 100644 types/react-icons/lib/io/ios-crop-strong.d.ts create mode 100644 types/react-icons/lib/io/ios-crop.d.ts create mode 100644 types/react-icons/lib/io/ios-download-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-download.d.ts create mode 100644 types/react-icons/lib/io/ios-drag.d.ts create mode 100644 types/react-icons/lib/io/ios-email-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-email.d.ts create mode 100644 types/react-icons/lib/io/ios-eye-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-eye.d.ts create mode 100644 types/react-icons/lib/io/ios-fastforward-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-fastforward.d.ts create mode 100644 types/react-icons/lib/io/ios-filing-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-filing.d.ts create mode 100644 types/react-icons/lib/io/ios-film-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-film.d.ts create mode 100644 types/react-icons/lib/io/ios-flag-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-flag.d.ts create mode 100644 types/react-icons/lib/io/ios-flame-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-flame.d.ts create mode 100644 types/react-icons/lib/io/ios-flask-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-flask.d.ts create mode 100644 types/react-icons/lib/io/ios-flower-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-flower.d.ts create mode 100644 types/react-icons/lib/io/ios-folder-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-folder.d.ts create mode 100644 types/react-icons/lib/io/ios-football-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-football.d.ts create mode 100644 types/react-icons/lib/io/ios-game-controller-a-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-game-controller-a.d.ts create mode 100644 types/react-icons/lib/io/ios-game-controller-b-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-game-controller-b.d.ts create mode 100644 types/react-icons/lib/io/ios-gear-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-gear.d.ts create mode 100644 types/react-icons/lib/io/ios-glasses-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-glasses.d.ts create mode 100644 types/react-icons/lib/io/ios-grid-view-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-grid-view.d.ts create mode 100644 types/react-icons/lib/io/ios-heart-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-heart.d.ts create mode 100644 types/react-icons/lib/io/ios-help-empty.d.ts create mode 100644 types/react-icons/lib/io/ios-help-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-help.d.ts create mode 100644 types/react-icons/lib/io/ios-home-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-home.d.ts create mode 100644 types/react-icons/lib/io/ios-infinite-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-infinite.d.ts create mode 100644 types/react-icons/lib/io/ios-informatempty.d.ts create mode 100644 types/react-icons/lib/io/ios-information.d.ts create mode 100644 types/react-icons/lib/io/ios-informatoutline.d.ts create mode 100644 types/react-icons/lib/io/ios-ionic-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-keypad-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-keypad.d.ts create mode 100644 types/react-icons/lib/io/ios-lightbulb-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-lightbulb.d.ts create mode 100644 types/react-icons/lib/io/ios-list-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-list.d.ts create mode 100644 types/react-icons/lib/io/ios-location.d.ts create mode 100644 types/react-icons/lib/io/ios-locatoutline.d.ts create mode 100644 types/react-icons/lib/io/ios-locked-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-locked.d.ts create mode 100644 types/react-icons/lib/io/ios-loop-strong.d.ts create mode 100644 types/react-icons/lib/io/ios-loop.d.ts create mode 100644 types/react-icons/lib/io/ios-medical-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-medical.d.ts create mode 100644 types/react-icons/lib/io/ios-medkit-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-medkit.d.ts create mode 100644 types/react-icons/lib/io/ios-mic-off.d.ts create mode 100644 types/react-icons/lib/io/ios-mic-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-mic.d.ts create mode 100644 types/react-icons/lib/io/ios-minus-empty.d.ts create mode 100644 types/react-icons/lib/io/ios-minus-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-minus.d.ts create mode 100644 types/react-icons/lib/io/ios-monitor-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-monitor.d.ts create mode 100644 types/react-icons/lib/io/ios-moon-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-moon.d.ts create mode 100644 types/react-icons/lib/io/ios-more-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-more.d.ts create mode 100644 types/react-icons/lib/io/ios-musical-note.d.ts create mode 100644 types/react-icons/lib/io/ios-musical-notes.d.ts create mode 100644 types/react-icons/lib/io/ios-navigate-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-navigate.d.ts create mode 100644 types/react-icons/lib/io/ios-nutrition.d.ts create mode 100644 types/react-icons/lib/io/ios-nutritoutline.d.ts create mode 100644 types/react-icons/lib/io/ios-paper-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-paper.d.ts create mode 100644 types/react-icons/lib/io/ios-paperplane-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-paperplane.d.ts create mode 100644 types/react-icons/lib/io/ios-partlysunny-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-partlysunny.d.ts create mode 100644 types/react-icons/lib/io/ios-pause-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-pause.d.ts create mode 100644 types/react-icons/lib/io/ios-paw-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-paw.d.ts create mode 100644 types/react-icons/lib/io/ios-people-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-people.d.ts create mode 100644 types/react-icons/lib/io/ios-person-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-person.d.ts create mode 100644 types/react-icons/lib/io/ios-personadd-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-personadd.d.ts create mode 100644 types/react-icons/lib/io/ios-photos-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-photos.d.ts create mode 100644 types/react-icons/lib/io/ios-pie-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-pie.d.ts create mode 100644 types/react-icons/lib/io/ios-pint-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-pint.d.ts create mode 100644 types/react-icons/lib/io/ios-play-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-play.d.ts create mode 100644 types/react-icons/lib/io/ios-plus-empty.d.ts create mode 100644 types/react-icons/lib/io/ios-plus-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-plus.d.ts create mode 100644 types/react-icons/lib/io/ios-pricetag-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-pricetag.d.ts create mode 100644 types/react-icons/lib/io/ios-pricetags-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-pricetags.d.ts create mode 100644 types/react-icons/lib/io/ios-printer-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-printer.d.ts create mode 100644 types/react-icons/lib/io/ios-pulse-strong.d.ts create mode 100644 types/react-icons/lib/io/ios-pulse.d.ts create mode 100644 types/react-icons/lib/io/ios-rainy-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-rainy.d.ts create mode 100644 types/react-icons/lib/io/ios-recording-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-recording.d.ts create mode 100644 types/react-icons/lib/io/ios-redo-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-redo.d.ts create mode 100644 types/react-icons/lib/io/ios-refresh-empty.d.ts create mode 100644 types/react-icons/lib/io/ios-refresh-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-refresh.d.ts create mode 100644 types/react-icons/lib/io/ios-reload.d.ts create mode 100644 types/react-icons/lib/io/ios-reverse-camera-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-reverse-camera.d.ts create mode 100644 types/react-icons/lib/io/ios-rewind-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-rewind.d.ts create mode 100644 types/react-icons/lib/io/ios-rose-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-rose.d.ts create mode 100644 types/react-icons/lib/io/ios-search-strong.d.ts create mode 100644 types/react-icons/lib/io/ios-search.d.ts create mode 100644 types/react-icons/lib/io/ios-settings-strong.d.ts create mode 100644 types/react-icons/lib/io/ios-settings.d.ts create mode 100644 types/react-icons/lib/io/ios-shuffle-strong.d.ts create mode 100644 types/react-icons/lib/io/ios-shuffle.d.ts create mode 100644 types/react-icons/lib/io/ios-skipbackward-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-skipbackward.d.ts create mode 100644 types/react-icons/lib/io/ios-skipforward-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-skipforward.d.ts create mode 100644 types/react-icons/lib/io/ios-snowy.d.ts create mode 100644 types/react-icons/lib/io/ios-speedometer-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-speedometer.d.ts create mode 100644 types/react-icons/lib/io/ios-star-half.d.ts create mode 100644 types/react-icons/lib/io/ios-star-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-star.d.ts create mode 100644 types/react-icons/lib/io/ios-stopwatch-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-stopwatch.d.ts create mode 100644 types/react-icons/lib/io/ios-sunny-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-sunny.d.ts create mode 100644 types/react-icons/lib/io/ios-telephone-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-telephone.d.ts create mode 100644 types/react-icons/lib/io/ios-tennisball-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-tennisball.d.ts create mode 100644 types/react-icons/lib/io/ios-thunderstorm-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-thunderstorm.d.ts create mode 100644 types/react-icons/lib/io/ios-time-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-time.d.ts create mode 100644 types/react-icons/lib/io/ios-timer-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-timer.d.ts create mode 100644 types/react-icons/lib/io/ios-toggle-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-toggle.d.ts create mode 100644 types/react-icons/lib/io/ios-trash-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-trash.d.ts create mode 100644 types/react-icons/lib/io/ios-undo-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-undo.d.ts create mode 100644 types/react-icons/lib/io/ios-unlocked-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-unlocked.d.ts create mode 100644 types/react-icons/lib/io/ios-upload-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-upload.d.ts create mode 100644 types/react-icons/lib/io/ios-videocam-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-videocam.d.ts create mode 100644 types/react-icons/lib/io/ios-volume-high.d.ts create mode 100644 types/react-icons/lib/io/ios-volume-low.d.ts create mode 100644 types/react-icons/lib/io/ios-wineglass-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-wineglass.d.ts create mode 100644 types/react-icons/lib/io/ios-world-outline.d.ts create mode 100644 types/react-icons/lib/io/ios-world.d.ts create mode 100644 types/react-icons/lib/io/ipad.d.ts create mode 100644 types/react-icons/lib/io/iphone.d.ts create mode 100644 types/react-icons/lib/io/ipod.d.ts create mode 100644 types/react-icons/lib/io/jet.d.ts create mode 100644 types/react-icons/lib/io/key.d.ts create mode 100644 types/react-icons/lib/io/knife.d.ts create mode 100644 types/react-icons/lib/io/laptop.d.ts create mode 100644 types/react-icons/lib/io/leaf.d.ts create mode 100644 types/react-icons/lib/io/levels.d.ts create mode 100644 types/react-icons/lib/io/lightbulb.d.ts create mode 100644 types/react-icons/lib/io/link.d.ts create mode 100644 types/react-icons/lib/io/load-a.d.ts create mode 100644 types/react-icons/lib/io/load-b.d.ts create mode 100644 types/react-icons/lib/io/load-c.d.ts create mode 100644 types/react-icons/lib/io/load-d.d.ts create mode 100644 types/react-icons/lib/io/location.d.ts create mode 100644 types/react-icons/lib/io/lock-combination.d.ts create mode 100644 types/react-icons/lib/io/locked.d.ts create mode 100644 types/react-icons/lib/io/log-in.d.ts create mode 100644 types/react-icons/lib/io/log-out.d.ts create mode 100644 types/react-icons/lib/io/loop.d.ts create mode 100644 types/react-icons/lib/io/magnet.d.ts create mode 100644 types/react-icons/lib/io/male.d.ts create mode 100644 types/react-icons/lib/io/man.d.ts create mode 100644 types/react-icons/lib/io/map.d.ts create mode 100644 types/react-icons/lib/io/medkit.d.ts create mode 100644 types/react-icons/lib/io/merge.d.ts create mode 100644 types/react-icons/lib/io/mic-a.d.ts create mode 100644 types/react-icons/lib/io/mic-b.d.ts create mode 100644 types/react-icons/lib/io/mic-c.d.ts create mode 100644 types/react-icons/lib/io/minus-circled.d.ts create mode 100644 types/react-icons/lib/io/minus-round.d.ts create mode 100644 types/react-icons/lib/io/minus.d.ts create mode 100644 types/react-icons/lib/io/model-s.d.ts create mode 100644 types/react-icons/lib/io/monitor.d.ts create mode 100644 types/react-icons/lib/io/more.d.ts create mode 100644 types/react-icons/lib/io/mouse.d.ts create mode 100644 types/react-icons/lib/io/music-note.d.ts create mode 100644 types/react-icons/lib/io/navicon-round.d.ts create mode 100644 types/react-icons/lib/io/navicon.d.ts create mode 100644 types/react-icons/lib/io/navigate.d.ts create mode 100644 types/react-icons/lib/io/network.d.ts create mode 100644 types/react-icons/lib/io/no-smoking.d.ts create mode 100644 types/react-icons/lib/io/nuclear.d.ts create mode 100644 types/react-icons/lib/io/outlet.d.ts create mode 100644 types/react-icons/lib/io/paintbrush.d.ts create mode 100644 types/react-icons/lib/io/paintbucket.d.ts create mode 100644 types/react-icons/lib/io/paper-airplane.d.ts create mode 100644 types/react-icons/lib/io/paperclip.d.ts create mode 100644 types/react-icons/lib/io/pause.d.ts create mode 100644 types/react-icons/lib/io/person-add.d.ts create mode 100644 types/react-icons/lib/io/person-stalker.d.ts create mode 100644 types/react-icons/lib/io/person.d.ts create mode 100644 types/react-icons/lib/io/pie-graph.d.ts create mode 100644 types/react-icons/lib/io/pin.d.ts create mode 100644 types/react-icons/lib/io/pinpoint.d.ts create mode 100644 types/react-icons/lib/io/pizza.d.ts create mode 100644 types/react-icons/lib/io/plane.d.ts create mode 100644 types/react-icons/lib/io/planet.d.ts create mode 100644 types/react-icons/lib/io/play.d.ts create mode 100644 types/react-icons/lib/io/playstation.d.ts create mode 100644 types/react-icons/lib/io/plus-circled.d.ts create mode 100644 types/react-icons/lib/io/plus-round.d.ts create mode 100644 types/react-icons/lib/io/plus.d.ts create mode 100644 types/react-icons/lib/io/podium.d.ts create mode 100644 types/react-icons/lib/io/pound.d.ts create mode 100644 types/react-icons/lib/io/power.d.ts create mode 100644 types/react-icons/lib/io/pricetag.d.ts create mode 100644 types/react-icons/lib/io/pricetags.d.ts create mode 100644 types/react-icons/lib/io/printer.d.ts create mode 100644 types/react-icons/lib/io/pull-request.d.ts create mode 100644 types/react-icons/lib/io/qr-scanner.d.ts create mode 100644 types/react-icons/lib/io/quote.d.ts create mode 100644 types/react-icons/lib/io/radio-waves.d.ts create mode 100644 types/react-icons/lib/io/record.d.ts create mode 100644 types/react-icons/lib/io/refresh.d.ts create mode 100644 types/react-icons/lib/io/reply-all.d.ts create mode 100644 types/react-icons/lib/io/reply.d.ts create mode 100644 types/react-icons/lib/io/ribbon-a.d.ts create mode 100644 types/react-icons/lib/io/ribbon-b.d.ts create mode 100644 types/react-icons/lib/io/sad-outline.d.ts create mode 100644 types/react-icons/lib/io/sad.d.ts create mode 100644 types/react-icons/lib/io/scissors.d.ts create mode 100644 types/react-icons/lib/io/search.d.ts create mode 100644 types/react-icons/lib/io/settings.d.ts create mode 100644 types/react-icons/lib/io/share.d.ts create mode 100644 types/react-icons/lib/io/shuffle.d.ts create mode 100644 types/react-icons/lib/io/skip-backward.d.ts create mode 100644 types/react-icons/lib/io/skip-forward.d.ts create mode 100644 types/react-icons/lib/io/social-android-outline.d.ts create mode 100644 types/react-icons/lib/io/social-android.d.ts create mode 100644 types/react-icons/lib/io/social-angular-outline.d.ts create mode 100644 types/react-icons/lib/io/social-angular.d.ts create mode 100644 types/react-icons/lib/io/social-apple-outline.d.ts create mode 100644 types/react-icons/lib/io/social-apple.d.ts create mode 100644 types/react-icons/lib/io/social-bitcoin-outline.d.ts create mode 100644 types/react-icons/lib/io/social-bitcoin.d.ts create mode 100644 types/react-icons/lib/io/social-buffer-outline.d.ts create mode 100644 types/react-icons/lib/io/social-buffer.d.ts create mode 100644 types/react-icons/lib/io/social-chrome-outline.d.ts create mode 100644 types/react-icons/lib/io/social-chrome.d.ts create mode 100644 types/react-icons/lib/io/social-codepen-outline.d.ts create mode 100644 types/react-icons/lib/io/social-codepen.d.ts create mode 100644 types/react-icons/lib/io/social-css3-outline.d.ts create mode 100644 types/react-icons/lib/io/social-css3.d.ts create mode 100644 types/react-icons/lib/io/social-designernews-outline.d.ts create mode 100644 types/react-icons/lib/io/social-designernews.d.ts create mode 100644 types/react-icons/lib/io/social-dribbble-outline.d.ts create mode 100644 types/react-icons/lib/io/social-dribbble.d.ts create mode 100644 types/react-icons/lib/io/social-dropbox-outline.d.ts create mode 100644 types/react-icons/lib/io/social-dropbox.d.ts create mode 100644 types/react-icons/lib/io/social-euro-outline.d.ts create mode 100644 types/react-icons/lib/io/social-euro.d.ts create mode 100644 types/react-icons/lib/io/social-facebook-outline.d.ts create mode 100644 types/react-icons/lib/io/social-facebook.d.ts create mode 100644 types/react-icons/lib/io/social-foursquare-outline.d.ts create mode 100644 types/react-icons/lib/io/social-foursquare.d.ts create mode 100644 types/react-icons/lib/io/social-freebsd-devil.d.ts create mode 100644 types/react-icons/lib/io/social-github-outline.d.ts create mode 100644 types/react-icons/lib/io/social-github.d.ts create mode 100644 types/react-icons/lib/io/social-google-outline.d.ts create mode 100644 types/react-icons/lib/io/social-google.d.ts create mode 100644 types/react-icons/lib/io/social-googleplus-outline.d.ts create mode 100644 types/react-icons/lib/io/social-googleplus.d.ts create mode 100644 types/react-icons/lib/io/social-hackernews-outline.d.ts create mode 100644 types/react-icons/lib/io/social-hackernews.d.ts create mode 100644 types/react-icons/lib/io/social-html5-outline.d.ts create mode 100644 types/react-icons/lib/io/social-html5.d.ts create mode 100644 types/react-icons/lib/io/social-instagram-outline.d.ts create mode 100644 types/react-icons/lib/io/social-instagram.d.ts create mode 100644 types/react-icons/lib/io/social-javascript-outline.d.ts create mode 100644 types/react-icons/lib/io/social-javascript.d.ts create mode 100644 types/react-icons/lib/io/social-linkedin-outline.d.ts create mode 100644 types/react-icons/lib/io/social-linkedin.d.ts create mode 100644 types/react-icons/lib/io/social-markdown.d.ts create mode 100644 types/react-icons/lib/io/social-nodejs.d.ts create mode 100644 types/react-icons/lib/io/social-octocat.d.ts create mode 100644 types/react-icons/lib/io/social-pinterest-outline.d.ts create mode 100644 types/react-icons/lib/io/social-pinterest.d.ts create mode 100644 types/react-icons/lib/io/social-python.d.ts create mode 100644 types/react-icons/lib/io/social-reddit-outline.d.ts create mode 100644 types/react-icons/lib/io/social-reddit.d.ts create mode 100644 types/react-icons/lib/io/social-rss-outline.d.ts create mode 100644 types/react-icons/lib/io/social-rss.d.ts create mode 100644 types/react-icons/lib/io/social-sass.d.ts create mode 100644 types/react-icons/lib/io/social-skype-outline.d.ts create mode 100644 types/react-icons/lib/io/social-skype.d.ts create mode 100644 types/react-icons/lib/io/social-snapchat-outline.d.ts create mode 100644 types/react-icons/lib/io/social-snapchat.d.ts create mode 100644 types/react-icons/lib/io/social-tumblr-outline.d.ts create mode 100644 types/react-icons/lib/io/social-tumblr.d.ts create mode 100644 types/react-icons/lib/io/social-tux.d.ts create mode 100644 types/react-icons/lib/io/social-twitch-outline.d.ts create mode 100644 types/react-icons/lib/io/social-twitch.d.ts create mode 100644 types/react-icons/lib/io/social-twitter-outline.d.ts create mode 100644 types/react-icons/lib/io/social-twitter.d.ts create mode 100644 types/react-icons/lib/io/social-usd-outline.d.ts create mode 100644 types/react-icons/lib/io/social-usd.d.ts create mode 100644 types/react-icons/lib/io/social-vimeo-outline.d.ts create mode 100644 types/react-icons/lib/io/social-vimeo.d.ts create mode 100644 types/react-icons/lib/io/social-whatsapp-outline.d.ts create mode 100644 types/react-icons/lib/io/social-whatsapp.d.ts create mode 100644 types/react-icons/lib/io/social-windows-outline.d.ts create mode 100644 types/react-icons/lib/io/social-windows.d.ts create mode 100644 types/react-icons/lib/io/social-wordpress-outline.d.ts create mode 100644 types/react-icons/lib/io/social-wordpress.d.ts create mode 100644 types/react-icons/lib/io/social-yahoo-outline.d.ts create mode 100644 types/react-icons/lib/io/social-yahoo.d.ts create mode 100644 types/react-icons/lib/io/social-yen-outline.d.ts create mode 100644 types/react-icons/lib/io/social-yen.d.ts create mode 100644 types/react-icons/lib/io/social-youtube-outline.d.ts create mode 100644 types/react-icons/lib/io/social-youtube.d.ts create mode 100644 types/react-icons/lib/io/soup-can-outline.d.ts create mode 100644 types/react-icons/lib/io/soup-can.d.ts create mode 100644 types/react-icons/lib/io/speakerphone.d.ts create mode 100644 types/react-icons/lib/io/speedometer.d.ts create mode 100644 types/react-icons/lib/io/spoon.d.ts create mode 100644 types/react-icons/lib/io/star.d.ts create mode 100644 types/react-icons/lib/io/stats-bars.d.ts create mode 100644 types/react-icons/lib/io/steam.d.ts create mode 100644 types/react-icons/lib/io/stop.d.ts create mode 100644 types/react-icons/lib/io/thermometer.d.ts create mode 100644 types/react-icons/lib/io/thumbsdown.d.ts create mode 100644 types/react-icons/lib/io/thumbsup.d.ts create mode 100644 types/react-icons/lib/io/toggle-filled.d.ts create mode 100644 types/react-icons/lib/io/toggle.d.ts create mode 100644 types/react-icons/lib/io/transgender.d.ts create mode 100644 types/react-icons/lib/io/trash-a.d.ts create mode 100644 types/react-icons/lib/io/trash-b.d.ts create mode 100644 types/react-icons/lib/io/trophy.d.ts create mode 100644 types/react-icons/lib/io/tshirt-outline.d.ts create mode 100644 types/react-icons/lib/io/tshirt.d.ts create mode 100644 types/react-icons/lib/io/umbrella.d.ts create mode 100644 types/react-icons/lib/io/university.d.ts create mode 100644 types/react-icons/lib/io/unlocked.d.ts create mode 100644 types/react-icons/lib/io/upload.d.ts create mode 100644 types/react-icons/lib/io/usb.d.ts create mode 100644 types/react-icons/lib/io/videocamera.d.ts create mode 100644 types/react-icons/lib/io/volume-high.d.ts create mode 100644 types/react-icons/lib/io/volume-low.d.ts create mode 100644 types/react-icons/lib/io/volume-medium.d.ts create mode 100644 types/react-icons/lib/io/volume-mute.d.ts create mode 100644 types/react-icons/lib/io/wand.d.ts create mode 100644 types/react-icons/lib/io/waterdrop.d.ts create mode 100644 types/react-icons/lib/io/wifi.d.ts create mode 100644 types/react-icons/lib/io/wineglass.d.ts create mode 100644 types/react-icons/lib/io/woman.d.ts create mode 100644 types/react-icons/lib/io/wrench.d.ts create mode 100644 types/react-icons/lib/io/xbox.d.ts create mode 100644 types/react-icons/lib/md/3d-rotation.d.ts create mode 100644 types/react-icons/lib/md/ac-unit.d.ts create mode 100644 types/react-icons/lib/md/access-alarm.d.ts create mode 100644 types/react-icons/lib/md/access-alarms.d.ts create mode 100644 types/react-icons/lib/md/access-time.d.ts create mode 100644 types/react-icons/lib/md/accessibility.d.ts create mode 100644 types/react-icons/lib/md/accessible.d.ts create mode 100644 types/react-icons/lib/md/account-balance-wallet.d.ts create mode 100644 types/react-icons/lib/md/account-balance.d.ts create mode 100644 types/react-icons/lib/md/account-box.d.ts create mode 100644 types/react-icons/lib/md/account-circle.d.ts create mode 100644 types/react-icons/lib/md/adb.d.ts create mode 100644 types/react-icons/lib/md/add-a-photo.d.ts create mode 100644 types/react-icons/lib/md/add-alarm.d.ts create mode 100644 types/react-icons/lib/md/add-alert.d.ts create mode 100644 types/react-icons/lib/md/add-box.d.ts create mode 100644 types/react-icons/lib/md/add-circle-outline.d.ts create mode 100644 types/react-icons/lib/md/add-circle.d.ts create mode 100644 types/react-icons/lib/md/add-location.d.ts create mode 100644 types/react-icons/lib/md/add-shopping-cart.d.ts create mode 100644 types/react-icons/lib/md/add-to-photos.d.ts create mode 100644 types/react-icons/lib/md/add-to-queue.d.ts create mode 100644 types/react-icons/lib/md/add.d.ts create mode 100644 types/react-icons/lib/md/adjust.d.ts create mode 100644 types/react-icons/lib/md/airline-seat-flat-angled.d.ts create mode 100644 types/react-icons/lib/md/airline-seat-flat.d.ts create mode 100644 types/react-icons/lib/md/airline-seat-individual-suite.d.ts create mode 100644 types/react-icons/lib/md/airline-seat-legroom-extra.d.ts create mode 100644 types/react-icons/lib/md/airline-seat-legroom-normal.d.ts create mode 100644 types/react-icons/lib/md/airline-seat-legroom-reduced.d.ts create mode 100644 types/react-icons/lib/md/airline-seat-recline-extra.d.ts create mode 100644 types/react-icons/lib/md/airline-seat-recline-normal.d.ts create mode 100644 types/react-icons/lib/md/airplanemode-active.d.ts create mode 100644 types/react-icons/lib/md/airplanemode-inactive.d.ts create mode 100644 types/react-icons/lib/md/airplay.d.ts create mode 100644 types/react-icons/lib/md/airport-shuttle.d.ts create mode 100644 types/react-icons/lib/md/alarm-add.d.ts create mode 100644 types/react-icons/lib/md/alarm-off.d.ts create mode 100644 types/react-icons/lib/md/alarm-on.d.ts create mode 100644 types/react-icons/lib/md/alarm.d.ts create mode 100644 types/react-icons/lib/md/album.d.ts create mode 100644 types/react-icons/lib/md/all-inclusive.d.ts create mode 100644 types/react-icons/lib/md/all-out.d.ts create mode 100644 types/react-icons/lib/md/android.d.ts create mode 100644 types/react-icons/lib/md/announcement.d.ts create mode 100644 types/react-icons/lib/md/apps.d.ts create mode 100644 types/react-icons/lib/md/archive.d.ts create mode 100644 types/react-icons/lib/md/arrow-back.d.ts create mode 100644 types/react-icons/lib/md/arrow-downward.d.ts create mode 100644 types/react-icons/lib/md/arrow-drop-down-circle.d.ts create mode 100644 types/react-icons/lib/md/arrow-drop-down.d.ts create mode 100644 types/react-icons/lib/md/arrow-drop-up.d.ts create mode 100644 types/react-icons/lib/md/arrow-forward.d.ts create mode 100644 types/react-icons/lib/md/arrow-upward.d.ts create mode 100644 types/react-icons/lib/md/art-track.d.ts create mode 100644 types/react-icons/lib/md/aspect-ratio.d.ts create mode 100644 types/react-icons/lib/md/assessment.d.ts create mode 100644 types/react-icons/lib/md/assignment-ind.d.ts create mode 100644 types/react-icons/lib/md/assignment-late.d.ts create mode 100644 types/react-icons/lib/md/assignment-return.d.ts create mode 100644 types/react-icons/lib/md/assignment-returned.d.ts create mode 100644 types/react-icons/lib/md/assignment-turned-in.d.ts create mode 100644 types/react-icons/lib/md/assignment.d.ts create mode 100644 types/react-icons/lib/md/assistant-photo.d.ts create mode 100644 types/react-icons/lib/md/assistant.d.ts create mode 100644 types/react-icons/lib/md/attach-file.d.ts create mode 100644 types/react-icons/lib/md/attach-money.d.ts create mode 100644 types/react-icons/lib/md/attachment.d.ts create mode 100644 types/react-icons/lib/md/audiotrack.d.ts create mode 100644 types/react-icons/lib/md/autorenew.d.ts create mode 100644 types/react-icons/lib/md/av-timer.d.ts create mode 100644 types/react-icons/lib/md/backspace.d.ts create mode 100644 types/react-icons/lib/md/backup.d.ts create mode 100644 types/react-icons/lib/md/battery-alert.d.ts create mode 100644 types/react-icons/lib/md/battery-charging-full.d.ts create mode 100644 types/react-icons/lib/md/battery-full.d.ts create mode 100644 types/react-icons/lib/md/battery-std.d.ts create mode 100644 types/react-icons/lib/md/battery-unknown.d.ts create mode 100644 types/react-icons/lib/md/beach-access.d.ts create mode 100644 types/react-icons/lib/md/beenhere.d.ts create mode 100644 types/react-icons/lib/md/block.d.ts create mode 100644 types/react-icons/lib/md/bluetooth-audio.d.ts create mode 100644 types/react-icons/lib/md/bluetooth-connected.d.ts create mode 100644 types/react-icons/lib/md/bluetooth-disabled.d.ts create mode 100644 types/react-icons/lib/md/bluetooth-searching.d.ts create mode 100644 types/react-icons/lib/md/bluetooth.d.ts create mode 100644 types/react-icons/lib/md/blur-circular.d.ts create mode 100644 types/react-icons/lib/md/blur-linear.d.ts create mode 100644 types/react-icons/lib/md/blur-off.d.ts create mode 100644 types/react-icons/lib/md/blur-on.d.ts create mode 100644 types/react-icons/lib/md/book.d.ts create mode 100644 types/react-icons/lib/md/bookmark-outline.d.ts create mode 100644 types/react-icons/lib/md/bookmark.d.ts create mode 100644 types/react-icons/lib/md/border-all.d.ts create mode 100644 types/react-icons/lib/md/border-bottom.d.ts create mode 100644 types/react-icons/lib/md/border-clear.d.ts create mode 100644 types/react-icons/lib/md/border-color.d.ts create mode 100644 types/react-icons/lib/md/border-horizontal.d.ts create mode 100644 types/react-icons/lib/md/border-inner.d.ts create mode 100644 types/react-icons/lib/md/border-left.d.ts create mode 100644 types/react-icons/lib/md/border-outer.d.ts create mode 100644 types/react-icons/lib/md/border-right.d.ts create mode 100644 types/react-icons/lib/md/border-style.d.ts create mode 100644 types/react-icons/lib/md/border-top.d.ts create mode 100644 types/react-icons/lib/md/border-vertical.d.ts create mode 100644 types/react-icons/lib/md/branding-watermark.d.ts create mode 100644 types/react-icons/lib/md/brightness-1.d.ts create mode 100644 types/react-icons/lib/md/brightness-2.d.ts create mode 100644 types/react-icons/lib/md/brightness-3.d.ts create mode 100644 types/react-icons/lib/md/brightness-4.d.ts create mode 100644 types/react-icons/lib/md/brightness-5.d.ts create mode 100644 types/react-icons/lib/md/brightness-6.d.ts create mode 100644 types/react-icons/lib/md/brightness-7.d.ts create mode 100644 types/react-icons/lib/md/brightness-auto.d.ts create mode 100644 types/react-icons/lib/md/brightness-high.d.ts create mode 100644 types/react-icons/lib/md/brightness-low.d.ts create mode 100644 types/react-icons/lib/md/brightness-medium.d.ts create mode 100644 types/react-icons/lib/md/broken-image.d.ts create mode 100644 types/react-icons/lib/md/brush.d.ts create mode 100644 types/react-icons/lib/md/bubble-chart.d.ts create mode 100644 types/react-icons/lib/md/bug-report.d.ts create mode 100644 types/react-icons/lib/md/build.d.ts create mode 100644 types/react-icons/lib/md/burst-mode.d.ts create mode 100644 types/react-icons/lib/md/business-center.d.ts create mode 100644 types/react-icons/lib/md/business.d.ts create mode 100644 types/react-icons/lib/md/cached.d.ts create mode 100644 types/react-icons/lib/md/cake.d.ts create mode 100644 types/react-icons/lib/md/call-end.d.ts create mode 100644 types/react-icons/lib/md/call-made.d.ts create mode 100644 types/react-icons/lib/md/call-merge.d.ts create mode 100644 types/react-icons/lib/md/call-missed-outgoing.d.ts create mode 100644 types/react-icons/lib/md/call-missed.d.ts create mode 100644 types/react-icons/lib/md/call-received.d.ts create mode 100644 types/react-icons/lib/md/call-split.d.ts create mode 100644 types/react-icons/lib/md/call-to-action.d.ts create mode 100644 types/react-icons/lib/md/call.d.ts create mode 100644 types/react-icons/lib/md/camera-alt.d.ts create mode 100644 types/react-icons/lib/md/camera-enhance.d.ts create mode 100644 types/react-icons/lib/md/camera-front.d.ts create mode 100644 types/react-icons/lib/md/camera-rear.d.ts create mode 100644 types/react-icons/lib/md/camera-roll.d.ts create mode 100644 types/react-icons/lib/md/camera.d.ts create mode 100644 types/react-icons/lib/md/cancel.d.ts create mode 100644 types/react-icons/lib/md/card-giftcard.d.ts create mode 100644 types/react-icons/lib/md/card-membership.d.ts create mode 100644 types/react-icons/lib/md/card-travel.d.ts create mode 100644 types/react-icons/lib/md/casino.d.ts create mode 100644 types/react-icons/lib/md/cast-connected.d.ts create mode 100644 types/react-icons/lib/md/cast.d.ts create mode 100644 types/react-icons/lib/md/center-focus-strong.d.ts create mode 100644 types/react-icons/lib/md/center-focus-weak.d.ts create mode 100644 types/react-icons/lib/md/change-history.d.ts create mode 100644 types/react-icons/lib/md/chat-bubble-outline.d.ts create mode 100644 types/react-icons/lib/md/chat-bubble.d.ts create mode 100644 types/react-icons/lib/md/chat.d.ts create mode 100644 types/react-icons/lib/md/check-box-outline-blank.d.ts create mode 100644 types/react-icons/lib/md/check-box.d.ts create mode 100644 types/react-icons/lib/md/check-circle.d.ts create mode 100644 types/react-icons/lib/md/check.d.ts create mode 100644 types/react-icons/lib/md/chevron-left.d.ts create mode 100644 types/react-icons/lib/md/chevron-right.d.ts create mode 100644 types/react-icons/lib/md/child-care.d.ts create mode 100644 types/react-icons/lib/md/child-friendly.d.ts create mode 100644 types/react-icons/lib/md/chrome-reader-mode.d.ts create mode 100644 types/react-icons/lib/md/class.d.ts create mode 100644 types/react-icons/lib/md/clear-all.d.ts create mode 100644 types/react-icons/lib/md/clear.d.ts create mode 100644 types/react-icons/lib/md/close.d.ts create mode 100644 types/react-icons/lib/md/closed-caption.d.ts create mode 100644 types/react-icons/lib/md/cloud-circle.d.ts create mode 100644 types/react-icons/lib/md/cloud-done.d.ts create mode 100644 types/react-icons/lib/md/cloud-download.d.ts create mode 100644 types/react-icons/lib/md/cloud-off.d.ts create mode 100644 types/react-icons/lib/md/cloud-queue.d.ts create mode 100644 types/react-icons/lib/md/cloud-upload.d.ts create mode 100644 types/react-icons/lib/md/cloud.d.ts create mode 100644 types/react-icons/lib/md/code.d.ts create mode 100644 types/react-icons/lib/md/collections-bookmark.d.ts create mode 100644 types/react-icons/lib/md/collections.d.ts create mode 100644 types/react-icons/lib/md/color-lens.d.ts create mode 100644 types/react-icons/lib/md/colorize.d.ts create mode 100644 types/react-icons/lib/md/comment.d.ts create mode 100644 types/react-icons/lib/md/compare-arrows.d.ts create mode 100644 types/react-icons/lib/md/compare.d.ts create mode 100644 types/react-icons/lib/md/computer.d.ts create mode 100644 types/react-icons/lib/md/confirmation-number.d.ts create mode 100644 types/react-icons/lib/md/contact-mail.d.ts create mode 100644 types/react-icons/lib/md/contact-phone.d.ts create mode 100644 types/react-icons/lib/md/contacts.d.ts create mode 100644 types/react-icons/lib/md/content-copy.d.ts create mode 100644 types/react-icons/lib/md/content-cut.d.ts create mode 100644 types/react-icons/lib/md/content-paste.d.ts create mode 100644 types/react-icons/lib/md/control-point-duplicate.d.ts create mode 100644 types/react-icons/lib/md/control-point.d.ts create mode 100644 types/react-icons/lib/md/copyright.d.ts create mode 100644 types/react-icons/lib/md/create-new-folder.d.ts create mode 100644 types/react-icons/lib/md/create.d.ts create mode 100644 types/react-icons/lib/md/credit-card.d.ts create mode 100644 types/react-icons/lib/md/crop-16-9.d.ts create mode 100644 types/react-icons/lib/md/crop-3-2.d.ts create mode 100644 types/react-icons/lib/md/crop-5-4.d.ts create mode 100644 types/react-icons/lib/md/crop-7-5.d.ts create mode 100644 types/react-icons/lib/md/crop-din.d.ts create mode 100644 types/react-icons/lib/md/crop-free.d.ts create mode 100644 types/react-icons/lib/md/crop-landscape.d.ts create mode 100644 types/react-icons/lib/md/crop-original.d.ts create mode 100644 types/react-icons/lib/md/crop-portrait.d.ts create mode 100644 types/react-icons/lib/md/crop-rotate.d.ts create mode 100644 types/react-icons/lib/md/crop-square.d.ts create mode 100644 types/react-icons/lib/md/crop.d.ts create mode 100644 types/react-icons/lib/md/dashboard.d.ts create mode 100644 types/react-icons/lib/md/data-usage.d.ts create mode 100644 types/react-icons/lib/md/date-range.d.ts create mode 100644 types/react-icons/lib/md/dehaze.d.ts create mode 100644 types/react-icons/lib/md/delete-forever.d.ts create mode 100644 types/react-icons/lib/md/delete-sweep.d.ts create mode 100644 types/react-icons/lib/md/delete.d.ts create mode 100644 types/react-icons/lib/md/description.d.ts create mode 100644 types/react-icons/lib/md/desktop-mac.d.ts create mode 100644 types/react-icons/lib/md/desktop-windows.d.ts create mode 100644 types/react-icons/lib/md/details.d.ts create mode 100644 types/react-icons/lib/md/developer-board.d.ts create mode 100644 types/react-icons/lib/md/developer-mode.d.ts create mode 100644 types/react-icons/lib/md/device-hub.d.ts create mode 100644 types/react-icons/lib/md/devices-other.d.ts create mode 100644 types/react-icons/lib/md/devices.d.ts create mode 100644 types/react-icons/lib/md/dialer-sip.d.ts create mode 100644 types/react-icons/lib/md/dialpad.d.ts create mode 100644 types/react-icons/lib/md/directions-bike.d.ts create mode 100644 types/react-icons/lib/md/directions-boat.d.ts create mode 100644 types/react-icons/lib/md/directions-bus.d.ts create mode 100644 types/react-icons/lib/md/directions-car.d.ts create mode 100644 types/react-icons/lib/md/directions-ferry.d.ts create mode 100644 types/react-icons/lib/md/directions-railway.d.ts create mode 100644 types/react-icons/lib/md/directions-run.d.ts create mode 100644 types/react-icons/lib/md/directions-subway.d.ts create mode 100644 types/react-icons/lib/md/directions-transit.d.ts create mode 100644 types/react-icons/lib/md/directions-walk.d.ts create mode 100644 types/react-icons/lib/md/directions.d.ts create mode 100644 types/react-icons/lib/md/disc-full.d.ts create mode 100644 types/react-icons/lib/md/dns.d.ts create mode 100644 types/react-icons/lib/md/do-not-disturb-alt.d.ts create mode 100644 types/react-icons/lib/md/do-not-disturb-off.d.ts create mode 100644 types/react-icons/lib/md/do-not-disturb.d.ts create mode 100644 types/react-icons/lib/md/dock.d.ts create mode 100644 types/react-icons/lib/md/domain.d.ts create mode 100644 types/react-icons/lib/md/done-all.d.ts create mode 100644 types/react-icons/lib/md/done.d.ts create mode 100644 types/react-icons/lib/md/donut-large.d.ts create mode 100644 types/react-icons/lib/md/donut-small.d.ts create mode 100644 types/react-icons/lib/md/drafts.d.ts create mode 100644 types/react-icons/lib/md/drag-handle.d.ts create mode 100644 types/react-icons/lib/md/drive-eta.d.ts create mode 100644 types/react-icons/lib/md/dvr.d.ts create mode 100644 types/react-icons/lib/md/edit-location.d.ts create mode 100644 types/react-icons/lib/md/edit.d.ts create mode 100644 types/react-icons/lib/md/eject.d.ts create mode 100644 types/react-icons/lib/md/email.d.ts create mode 100644 types/react-icons/lib/md/enhanced-encryption.d.ts create mode 100644 types/react-icons/lib/md/equalizer.d.ts create mode 100644 types/react-icons/lib/md/error-outline.d.ts create mode 100644 types/react-icons/lib/md/error.d.ts create mode 100644 types/react-icons/lib/md/euro-symbol.d.ts create mode 100644 types/react-icons/lib/md/ev-station.d.ts create mode 100644 types/react-icons/lib/md/event-available.d.ts create mode 100644 types/react-icons/lib/md/event-busy.d.ts create mode 100644 types/react-icons/lib/md/event-note.d.ts create mode 100644 types/react-icons/lib/md/event-seat.d.ts create mode 100644 types/react-icons/lib/md/event.d.ts create mode 100644 types/react-icons/lib/md/exit-to-app.d.ts create mode 100644 types/react-icons/lib/md/expand-less.d.ts create mode 100644 types/react-icons/lib/md/expand-more.d.ts create mode 100644 types/react-icons/lib/md/explicit.d.ts create mode 100644 types/react-icons/lib/md/explore.d.ts create mode 100644 types/react-icons/lib/md/exposure-minus-1.d.ts create mode 100644 types/react-icons/lib/md/exposure-minus-2.d.ts create mode 100644 types/react-icons/lib/md/exposure-neg-1.d.ts create mode 100644 types/react-icons/lib/md/exposure-neg-2.d.ts create mode 100644 types/react-icons/lib/md/exposure-plus-1.d.ts create mode 100644 types/react-icons/lib/md/exposure-plus-2.d.ts create mode 100644 types/react-icons/lib/md/exposure-zero.d.ts create mode 100644 types/react-icons/lib/md/exposure.d.ts create mode 100644 types/react-icons/lib/md/extension.d.ts create mode 100644 types/react-icons/lib/md/face.d.ts create mode 100644 types/react-icons/lib/md/fast-forward.d.ts create mode 100644 types/react-icons/lib/md/fast-rewind.d.ts create mode 100644 types/react-icons/lib/md/favorite-border.d.ts create mode 100644 types/react-icons/lib/md/favorite-outline.d.ts create mode 100644 types/react-icons/lib/md/favorite.d.ts create mode 100644 types/react-icons/lib/md/featured-play-list.d.ts create mode 100644 types/react-icons/lib/md/featured-video.d.ts create mode 100644 types/react-icons/lib/md/feedback.d.ts create mode 100644 types/react-icons/lib/md/fiber-dvr.d.ts create mode 100644 types/react-icons/lib/md/fiber-manual-record.d.ts create mode 100644 types/react-icons/lib/md/fiber-new.d.ts create mode 100644 types/react-icons/lib/md/fiber-pin.d.ts create mode 100644 types/react-icons/lib/md/fiber-smart-record.d.ts create mode 100644 types/react-icons/lib/md/file-download.d.ts create mode 100644 types/react-icons/lib/md/file-upload.d.ts create mode 100644 types/react-icons/lib/md/filter-1.d.ts create mode 100644 types/react-icons/lib/md/filter-2.d.ts create mode 100644 types/react-icons/lib/md/filter-3.d.ts create mode 100644 types/react-icons/lib/md/filter-4.d.ts create mode 100644 types/react-icons/lib/md/filter-5.d.ts create mode 100644 types/react-icons/lib/md/filter-6.d.ts create mode 100644 types/react-icons/lib/md/filter-7.d.ts create mode 100644 types/react-icons/lib/md/filter-8.d.ts create mode 100644 types/react-icons/lib/md/filter-9-plus.d.ts create mode 100644 types/react-icons/lib/md/filter-9.d.ts create mode 100644 types/react-icons/lib/md/filter-b-and-w.d.ts create mode 100644 types/react-icons/lib/md/filter-center-focus.d.ts create mode 100644 types/react-icons/lib/md/filter-drama.d.ts create mode 100644 types/react-icons/lib/md/filter-frames.d.ts create mode 100644 types/react-icons/lib/md/filter-hdr.d.ts create mode 100644 types/react-icons/lib/md/filter-list.d.ts create mode 100644 types/react-icons/lib/md/filter-none.d.ts create mode 100644 types/react-icons/lib/md/filter-tilt-shift.d.ts create mode 100644 types/react-icons/lib/md/filter-vintage.d.ts create mode 100644 types/react-icons/lib/md/filter.d.ts create mode 100644 types/react-icons/lib/md/find-in-page.d.ts create mode 100644 types/react-icons/lib/md/find-replace.d.ts create mode 100644 types/react-icons/lib/md/fingerprint.d.ts create mode 100644 types/react-icons/lib/md/first-page.d.ts create mode 100644 types/react-icons/lib/md/fitness-center.d.ts create mode 100644 types/react-icons/lib/md/flag.d.ts create mode 100644 types/react-icons/lib/md/flare.d.ts create mode 100644 types/react-icons/lib/md/flash-auto.d.ts create mode 100644 types/react-icons/lib/md/flash-off.d.ts create mode 100644 types/react-icons/lib/md/flash-on.d.ts create mode 100644 types/react-icons/lib/md/flight-land.d.ts create mode 100644 types/react-icons/lib/md/flight-takeoff.d.ts create mode 100644 types/react-icons/lib/md/flight.d.ts create mode 100644 types/react-icons/lib/md/flip-to-back.d.ts create mode 100644 types/react-icons/lib/md/flip-to-front.d.ts create mode 100644 types/react-icons/lib/md/flip.d.ts create mode 100644 types/react-icons/lib/md/folder-open.d.ts create mode 100644 types/react-icons/lib/md/folder-shared.d.ts create mode 100644 types/react-icons/lib/md/folder-special.d.ts create mode 100644 types/react-icons/lib/md/folder.d.ts create mode 100644 types/react-icons/lib/md/font-download.d.ts create mode 100644 types/react-icons/lib/md/format-align-center.d.ts create mode 100644 types/react-icons/lib/md/format-align-justify.d.ts create mode 100644 types/react-icons/lib/md/format-align-left.d.ts create mode 100644 types/react-icons/lib/md/format-align-right.d.ts create mode 100644 types/react-icons/lib/md/format-bold.d.ts create mode 100644 types/react-icons/lib/md/format-clear.d.ts create mode 100644 types/react-icons/lib/md/format-color-fill.d.ts create mode 100644 types/react-icons/lib/md/format-color-reset.d.ts create mode 100644 types/react-icons/lib/md/format-color-text.d.ts create mode 100644 types/react-icons/lib/md/format-indent-decrease.d.ts create mode 100644 types/react-icons/lib/md/format-indent-increase.d.ts create mode 100644 types/react-icons/lib/md/format-italic.d.ts create mode 100644 types/react-icons/lib/md/format-line-spacing.d.ts create mode 100644 types/react-icons/lib/md/format-list-bulleted.d.ts create mode 100644 types/react-icons/lib/md/format-list-numbered.d.ts create mode 100644 types/react-icons/lib/md/format-paint.d.ts create mode 100644 types/react-icons/lib/md/format-quote.d.ts create mode 100644 types/react-icons/lib/md/format-shapes.d.ts create mode 100644 types/react-icons/lib/md/format-size.d.ts create mode 100644 types/react-icons/lib/md/format-strikethrough.d.ts create mode 100644 types/react-icons/lib/md/format-textdirection-l-to-r.d.ts create mode 100644 types/react-icons/lib/md/format-textdirection-r-to-l.d.ts create mode 100644 types/react-icons/lib/md/format-underlined.d.ts create mode 100644 types/react-icons/lib/md/forum.d.ts create mode 100644 types/react-icons/lib/md/forward-10.d.ts create mode 100644 types/react-icons/lib/md/forward-30.d.ts create mode 100644 types/react-icons/lib/md/forward-5.d.ts create mode 100644 types/react-icons/lib/md/forward.d.ts create mode 100644 types/react-icons/lib/md/free-breakfast.d.ts create mode 100644 types/react-icons/lib/md/fullscreen-exit.d.ts create mode 100644 types/react-icons/lib/md/fullscreen.d.ts create mode 100644 types/react-icons/lib/md/functions.d.ts create mode 100644 types/react-icons/lib/md/g-translate.d.ts create mode 100644 types/react-icons/lib/md/gamepad.d.ts create mode 100644 types/react-icons/lib/md/games.d.ts create mode 100644 types/react-icons/lib/md/gavel.d.ts create mode 100644 types/react-icons/lib/md/gesture.d.ts create mode 100644 types/react-icons/lib/md/get-app.d.ts create mode 100644 types/react-icons/lib/md/gif.d.ts create mode 100644 types/react-icons/lib/md/goat.d.ts create mode 100644 types/react-icons/lib/md/golf-course.d.ts create mode 100644 types/react-icons/lib/md/gps-fixed.d.ts create mode 100644 types/react-icons/lib/md/gps-not-fixed.d.ts create mode 100644 types/react-icons/lib/md/gps-off.d.ts create mode 100644 types/react-icons/lib/md/grade.d.ts create mode 100644 types/react-icons/lib/md/gradient.d.ts create mode 100644 types/react-icons/lib/md/grain.d.ts create mode 100644 types/react-icons/lib/md/graphic-eq.d.ts create mode 100644 types/react-icons/lib/md/grid-off.d.ts create mode 100644 types/react-icons/lib/md/grid-on.d.ts create mode 100644 types/react-icons/lib/md/group-add.d.ts create mode 100644 types/react-icons/lib/md/group-work.d.ts create mode 100644 types/react-icons/lib/md/group.d.ts create mode 100644 types/react-icons/lib/md/hd.d.ts create mode 100644 types/react-icons/lib/md/hdr-off.d.ts create mode 100644 types/react-icons/lib/md/hdr-on.d.ts create mode 100644 types/react-icons/lib/md/hdr-strong.d.ts create mode 100644 types/react-icons/lib/md/hdr-weak.d.ts create mode 100644 types/react-icons/lib/md/headset-mic.d.ts create mode 100644 types/react-icons/lib/md/headset.d.ts create mode 100644 types/react-icons/lib/md/healing.d.ts create mode 100644 types/react-icons/lib/md/hearing.d.ts create mode 100644 types/react-icons/lib/md/help-outline.d.ts create mode 100644 types/react-icons/lib/md/help.d.ts create mode 100644 types/react-icons/lib/md/high-quality.d.ts create mode 100644 types/react-icons/lib/md/highlight-off.d.ts create mode 100644 types/react-icons/lib/md/highlight-remove.d.ts create mode 100644 types/react-icons/lib/md/highlight.d.ts create mode 100644 types/react-icons/lib/md/history.d.ts create mode 100644 types/react-icons/lib/md/home.d.ts create mode 100644 types/react-icons/lib/md/hot-tub.d.ts create mode 100644 types/react-icons/lib/md/hotel.d.ts create mode 100644 types/react-icons/lib/md/hourglass-empty.d.ts create mode 100644 types/react-icons/lib/md/hourglass-full.d.ts create mode 100644 types/react-icons/lib/md/http.d.ts create mode 100644 types/react-icons/lib/md/https.d.ts create mode 100644 types/react-icons/lib/md/image-aspect-ratio.d.ts create mode 100644 types/react-icons/lib/md/image.d.ts create mode 100644 types/react-icons/lib/md/import-contacts.d.ts create mode 100644 types/react-icons/lib/md/import-export.d.ts create mode 100644 types/react-icons/lib/md/important-devices.d.ts create mode 100644 types/react-icons/lib/md/inbox.d.ts create mode 100644 types/react-icons/lib/md/indeterminate-check-box.d.ts create mode 100644 types/react-icons/lib/md/index.d.ts create mode 100644 types/react-icons/lib/md/info-outline.d.ts create mode 100644 types/react-icons/lib/md/info.d.ts create mode 100644 types/react-icons/lib/md/input.d.ts create mode 100644 types/react-icons/lib/md/insert-chart.d.ts create mode 100644 types/react-icons/lib/md/insert-comment.d.ts create mode 100644 types/react-icons/lib/md/insert-drive-file.d.ts create mode 100644 types/react-icons/lib/md/insert-emoticon.d.ts create mode 100644 types/react-icons/lib/md/insert-invitation.d.ts create mode 100644 types/react-icons/lib/md/insert-link.d.ts create mode 100644 types/react-icons/lib/md/insert-photo.d.ts create mode 100644 types/react-icons/lib/md/invert-colors-off.d.ts create mode 100644 types/react-icons/lib/md/invert-colors-on.d.ts create mode 100644 types/react-icons/lib/md/invert-colors.d.ts create mode 100644 types/react-icons/lib/md/iso.d.ts create mode 100644 types/react-icons/lib/md/keyboard-arrow-down.d.ts create mode 100644 types/react-icons/lib/md/keyboard-arrow-left.d.ts create mode 100644 types/react-icons/lib/md/keyboard-arrow-right.d.ts create mode 100644 types/react-icons/lib/md/keyboard-arrow-up.d.ts create mode 100644 types/react-icons/lib/md/keyboard-backspace.d.ts create mode 100644 types/react-icons/lib/md/keyboard-capslock.d.ts create mode 100644 types/react-icons/lib/md/keyboard-control.d.ts create mode 100644 types/react-icons/lib/md/keyboard-hide.d.ts create mode 100644 types/react-icons/lib/md/keyboard-return.d.ts create mode 100644 types/react-icons/lib/md/keyboard-tab.d.ts create mode 100644 types/react-icons/lib/md/keyboard-voice.d.ts create mode 100644 types/react-icons/lib/md/keyboard.d.ts create mode 100644 types/react-icons/lib/md/kitchen.d.ts create mode 100644 types/react-icons/lib/md/label-outline.d.ts create mode 100644 types/react-icons/lib/md/label.d.ts create mode 100644 types/react-icons/lib/md/landscape.d.ts create mode 100644 types/react-icons/lib/md/language.d.ts create mode 100644 types/react-icons/lib/md/laptop-chromebook.d.ts create mode 100644 types/react-icons/lib/md/laptop-mac.d.ts create mode 100644 types/react-icons/lib/md/laptop-windows.d.ts create mode 100644 types/react-icons/lib/md/laptop.d.ts create mode 100644 types/react-icons/lib/md/last-page.d.ts create mode 100644 types/react-icons/lib/md/launch.d.ts create mode 100644 types/react-icons/lib/md/layers-clear.d.ts create mode 100644 types/react-icons/lib/md/layers.d.ts create mode 100644 types/react-icons/lib/md/leak-add.d.ts create mode 100644 types/react-icons/lib/md/leak-remove.d.ts create mode 100644 types/react-icons/lib/md/lens.d.ts create mode 100644 types/react-icons/lib/md/library-add.d.ts create mode 100644 types/react-icons/lib/md/library-books.d.ts create mode 100644 types/react-icons/lib/md/library-music.d.ts create mode 100644 types/react-icons/lib/md/lightbulb-outline.d.ts create mode 100644 types/react-icons/lib/md/line-style.d.ts create mode 100644 types/react-icons/lib/md/line-weight.d.ts create mode 100644 types/react-icons/lib/md/linear-scale.d.ts create mode 100644 types/react-icons/lib/md/link.d.ts create mode 100644 types/react-icons/lib/md/linked-camera.d.ts create mode 100644 types/react-icons/lib/md/list.d.ts create mode 100644 types/react-icons/lib/md/live-help.d.ts create mode 100644 types/react-icons/lib/md/live-tv.d.ts create mode 100644 types/react-icons/lib/md/local-airport.d.ts create mode 100644 types/react-icons/lib/md/local-atm.d.ts create mode 100644 types/react-icons/lib/md/local-attraction.d.ts create mode 100644 types/react-icons/lib/md/local-bar.d.ts create mode 100644 types/react-icons/lib/md/local-cafe.d.ts create mode 100644 types/react-icons/lib/md/local-car-wash.d.ts create mode 100644 types/react-icons/lib/md/local-convenience-store.d.ts create mode 100644 types/react-icons/lib/md/local-drink.d.ts create mode 100644 types/react-icons/lib/md/local-florist.d.ts create mode 100644 types/react-icons/lib/md/local-gas-station.d.ts create mode 100644 types/react-icons/lib/md/local-grocery-store.d.ts create mode 100644 types/react-icons/lib/md/local-hospital.d.ts create mode 100644 types/react-icons/lib/md/local-hotel.d.ts create mode 100644 types/react-icons/lib/md/local-laundry-service.d.ts create mode 100644 types/react-icons/lib/md/local-library.d.ts create mode 100644 types/react-icons/lib/md/local-mall.d.ts create mode 100644 types/react-icons/lib/md/local-movies.d.ts create mode 100644 types/react-icons/lib/md/local-offer.d.ts create mode 100644 types/react-icons/lib/md/local-parking.d.ts create mode 100644 types/react-icons/lib/md/local-pharmacy.d.ts create mode 100644 types/react-icons/lib/md/local-phone.d.ts create mode 100644 types/react-icons/lib/md/local-pizza.d.ts create mode 100644 types/react-icons/lib/md/local-play.d.ts create mode 100644 types/react-icons/lib/md/local-post-office.d.ts create mode 100644 types/react-icons/lib/md/local-print-shop.d.ts create mode 100644 types/react-icons/lib/md/local-restaurant.d.ts create mode 100644 types/react-icons/lib/md/local-see.d.ts create mode 100644 types/react-icons/lib/md/local-shipping.d.ts create mode 100644 types/react-icons/lib/md/local-taxi.d.ts create mode 100644 types/react-icons/lib/md/location-city.d.ts create mode 100644 types/react-icons/lib/md/location-disabled.d.ts create mode 100644 types/react-icons/lib/md/location-history.d.ts create mode 100644 types/react-icons/lib/md/location-off.d.ts create mode 100644 types/react-icons/lib/md/location-on.d.ts create mode 100644 types/react-icons/lib/md/location-searching.d.ts create mode 100644 types/react-icons/lib/md/lock-open.d.ts create mode 100644 types/react-icons/lib/md/lock-outline.d.ts create mode 100644 types/react-icons/lib/md/lock.d.ts create mode 100644 types/react-icons/lib/md/looks-3.d.ts create mode 100644 types/react-icons/lib/md/looks-4.d.ts create mode 100644 types/react-icons/lib/md/looks-5.d.ts create mode 100644 types/react-icons/lib/md/looks-6.d.ts create mode 100644 types/react-icons/lib/md/looks-one.d.ts create mode 100644 types/react-icons/lib/md/looks-two.d.ts create mode 100644 types/react-icons/lib/md/looks.d.ts create mode 100644 types/react-icons/lib/md/loop.d.ts create mode 100644 types/react-icons/lib/md/loupe.d.ts create mode 100644 types/react-icons/lib/md/low-priority.d.ts create mode 100644 types/react-icons/lib/md/loyalty.d.ts create mode 100644 types/react-icons/lib/md/mail-outline.d.ts create mode 100644 types/react-icons/lib/md/mail.d.ts create mode 100644 types/react-icons/lib/md/map.d.ts create mode 100644 types/react-icons/lib/md/markunread-mailbox.d.ts create mode 100644 types/react-icons/lib/md/markunread.d.ts create mode 100644 types/react-icons/lib/md/memory.d.ts create mode 100644 types/react-icons/lib/md/menu.d.ts create mode 100644 types/react-icons/lib/md/merge-type.d.ts create mode 100644 types/react-icons/lib/md/message.d.ts create mode 100644 types/react-icons/lib/md/mic-none.d.ts create mode 100644 types/react-icons/lib/md/mic-off.d.ts create mode 100644 types/react-icons/lib/md/mic.d.ts create mode 100644 types/react-icons/lib/md/mms.d.ts create mode 100644 types/react-icons/lib/md/mode-comment.d.ts create mode 100644 types/react-icons/lib/md/mode-edit.d.ts create mode 100644 types/react-icons/lib/md/monetization-on.d.ts create mode 100644 types/react-icons/lib/md/money-off.d.ts create mode 100644 types/react-icons/lib/md/monochrome-photos.d.ts create mode 100644 types/react-icons/lib/md/mood-bad.d.ts create mode 100644 types/react-icons/lib/md/mood.d.ts create mode 100644 types/react-icons/lib/md/more-horiz.d.ts create mode 100644 types/react-icons/lib/md/more-vert.d.ts create mode 100644 types/react-icons/lib/md/more.d.ts create mode 100644 types/react-icons/lib/md/motorcycle.d.ts create mode 100644 types/react-icons/lib/md/mouse.d.ts create mode 100644 types/react-icons/lib/md/move-to-inbox.d.ts create mode 100644 types/react-icons/lib/md/movie-creation.d.ts create mode 100644 types/react-icons/lib/md/movie-filter.d.ts create mode 100644 types/react-icons/lib/md/movie.d.ts create mode 100644 types/react-icons/lib/md/multiline-chart.d.ts create mode 100644 types/react-icons/lib/md/music-note.d.ts create mode 100644 types/react-icons/lib/md/music-video.d.ts create mode 100644 types/react-icons/lib/md/my-location.d.ts create mode 100644 types/react-icons/lib/md/nature-people.d.ts create mode 100644 types/react-icons/lib/md/nature.d.ts create mode 100644 types/react-icons/lib/md/navigate-before.d.ts create mode 100644 types/react-icons/lib/md/navigate-next.d.ts create mode 100644 types/react-icons/lib/md/navigation.d.ts create mode 100644 types/react-icons/lib/md/near-me.d.ts create mode 100644 types/react-icons/lib/md/network-cell.d.ts create mode 100644 types/react-icons/lib/md/network-check.d.ts create mode 100644 types/react-icons/lib/md/network-locked.d.ts create mode 100644 types/react-icons/lib/md/network-wifi.d.ts create mode 100644 types/react-icons/lib/md/new-releases.d.ts create mode 100644 types/react-icons/lib/md/next-week.d.ts create mode 100644 types/react-icons/lib/md/nfc.d.ts create mode 100644 types/react-icons/lib/md/no-encryption.d.ts create mode 100644 types/react-icons/lib/md/no-sim.d.ts create mode 100644 types/react-icons/lib/md/not-interested.d.ts create mode 100644 types/react-icons/lib/md/note-add.d.ts create mode 100644 types/react-icons/lib/md/note.d.ts create mode 100644 types/react-icons/lib/md/notifications-active.d.ts create mode 100644 types/react-icons/lib/md/notifications-none.d.ts create mode 100644 types/react-icons/lib/md/notifications-off.d.ts create mode 100644 types/react-icons/lib/md/notifications-paused.d.ts create mode 100644 types/react-icons/lib/md/notifications.d.ts create mode 100644 types/react-icons/lib/md/now-wallpaper.d.ts create mode 100644 types/react-icons/lib/md/now-widgets.d.ts create mode 100644 types/react-icons/lib/md/offline-pin.d.ts create mode 100644 types/react-icons/lib/md/ondemand-video.d.ts create mode 100644 types/react-icons/lib/md/opacity.d.ts create mode 100644 types/react-icons/lib/md/open-in-browser.d.ts create mode 100644 types/react-icons/lib/md/open-in-new.d.ts create mode 100644 types/react-icons/lib/md/open-with.d.ts create mode 100644 types/react-icons/lib/md/pages.d.ts create mode 100644 types/react-icons/lib/md/pageview.d.ts create mode 100644 types/react-icons/lib/md/palette.d.ts create mode 100644 types/react-icons/lib/md/pan-tool.d.ts create mode 100644 types/react-icons/lib/md/panorama-fish-eye.d.ts create mode 100644 types/react-icons/lib/md/panorama-horizontal.d.ts create mode 100644 types/react-icons/lib/md/panorama-vertical.d.ts create mode 100644 types/react-icons/lib/md/panorama-wide-angle.d.ts create mode 100644 types/react-icons/lib/md/panorama.d.ts create mode 100644 types/react-icons/lib/md/party-mode.d.ts create mode 100644 types/react-icons/lib/md/pause-circle-filled.d.ts create mode 100644 types/react-icons/lib/md/pause-circle-outline.d.ts create mode 100644 types/react-icons/lib/md/pause.d.ts create mode 100644 types/react-icons/lib/md/payment.d.ts create mode 100644 types/react-icons/lib/md/people-outline.d.ts create mode 100644 types/react-icons/lib/md/people.d.ts create mode 100644 types/react-icons/lib/md/perm-camera-mic.d.ts create mode 100644 types/react-icons/lib/md/perm-contact-calendar.d.ts create mode 100644 types/react-icons/lib/md/perm-data-setting.d.ts create mode 100644 types/react-icons/lib/md/perm-device-information.d.ts create mode 100644 types/react-icons/lib/md/perm-identity.d.ts create mode 100644 types/react-icons/lib/md/perm-media.d.ts create mode 100644 types/react-icons/lib/md/perm-phone-msg.d.ts create mode 100644 types/react-icons/lib/md/perm-scan-wifi.d.ts create mode 100644 types/react-icons/lib/md/person-add.d.ts create mode 100644 types/react-icons/lib/md/person-outline.d.ts create mode 100644 types/react-icons/lib/md/person-pin-circle.d.ts create mode 100644 types/react-icons/lib/md/person-pin.d.ts create mode 100644 types/react-icons/lib/md/person.d.ts create mode 100644 types/react-icons/lib/md/personal-video.d.ts create mode 100644 types/react-icons/lib/md/pets.d.ts create mode 100644 types/react-icons/lib/md/phone-android.d.ts create mode 100644 types/react-icons/lib/md/phone-bluetooth-speaker.d.ts create mode 100644 types/react-icons/lib/md/phone-forwarded.d.ts create mode 100644 types/react-icons/lib/md/phone-in-talk.d.ts create mode 100644 types/react-icons/lib/md/phone-iphone.d.ts create mode 100644 types/react-icons/lib/md/phone-locked.d.ts create mode 100644 types/react-icons/lib/md/phone-missed.d.ts create mode 100644 types/react-icons/lib/md/phone-paused.d.ts create mode 100644 types/react-icons/lib/md/phone.d.ts create mode 100644 types/react-icons/lib/md/phonelink-erase.d.ts create mode 100644 types/react-icons/lib/md/phonelink-lock.d.ts create mode 100644 types/react-icons/lib/md/phonelink-off.d.ts create mode 100644 types/react-icons/lib/md/phonelink-ring.d.ts create mode 100644 types/react-icons/lib/md/phonelink-setup.d.ts create mode 100644 types/react-icons/lib/md/phonelink.d.ts create mode 100644 types/react-icons/lib/md/photo-album.d.ts create mode 100644 types/react-icons/lib/md/photo-camera.d.ts create mode 100644 types/react-icons/lib/md/photo-filter.d.ts create mode 100644 types/react-icons/lib/md/photo-library.d.ts create mode 100644 types/react-icons/lib/md/photo-size-select-actual.d.ts create mode 100644 types/react-icons/lib/md/photo-size-select-large.d.ts create mode 100644 types/react-icons/lib/md/photo-size-select-small.d.ts create mode 100644 types/react-icons/lib/md/photo.d.ts create mode 100644 types/react-icons/lib/md/picture-as-pdf.d.ts create mode 100644 types/react-icons/lib/md/picture-in-picture-alt.d.ts create mode 100644 types/react-icons/lib/md/picture-in-picture.d.ts create mode 100644 types/react-icons/lib/md/pie-chart-outlined.d.ts create mode 100644 types/react-icons/lib/md/pie-chart.d.ts create mode 100644 types/react-icons/lib/md/pin-drop.d.ts create mode 100644 types/react-icons/lib/md/place.d.ts create mode 100644 types/react-icons/lib/md/play-arrow.d.ts create mode 100644 types/react-icons/lib/md/play-circle-filled.d.ts create mode 100644 types/react-icons/lib/md/play-circle-outline.d.ts create mode 100644 types/react-icons/lib/md/play-for-work.d.ts create mode 100644 types/react-icons/lib/md/playlist-add-check.d.ts create mode 100644 types/react-icons/lib/md/playlist-add.d.ts create mode 100644 types/react-icons/lib/md/playlist-play.d.ts create mode 100644 types/react-icons/lib/md/plus-one.d.ts create mode 100644 types/react-icons/lib/md/poll.d.ts create mode 100644 types/react-icons/lib/md/polymer.d.ts create mode 100644 types/react-icons/lib/md/pool.d.ts create mode 100644 types/react-icons/lib/md/portable-wifi-off.d.ts create mode 100644 types/react-icons/lib/md/portrait.d.ts create mode 100644 types/react-icons/lib/md/power-input.d.ts create mode 100644 types/react-icons/lib/md/power-settings-new.d.ts create mode 100644 types/react-icons/lib/md/power.d.ts create mode 100644 types/react-icons/lib/md/pregnant-woman.d.ts create mode 100644 types/react-icons/lib/md/present-to-all.d.ts create mode 100644 types/react-icons/lib/md/print.d.ts create mode 100644 types/react-icons/lib/md/priority-high.d.ts create mode 100644 types/react-icons/lib/md/public.d.ts create mode 100644 types/react-icons/lib/md/publish.d.ts create mode 100644 types/react-icons/lib/md/query-builder.d.ts create mode 100644 types/react-icons/lib/md/question-answer.d.ts create mode 100644 types/react-icons/lib/md/queue-music.d.ts create mode 100644 types/react-icons/lib/md/queue-play-next.d.ts create mode 100644 types/react-icons/lib/md/queue.d.ts create mode 100644 types/react-icons/lib/md/radio-button-checked.d.ts create mode 100644 types/react-icons/lib/md/radio-button-unchecked.d.ts create mode 100644 types/react-icons/lib/md/radio.d.ts create mode 100644 types/react-icons/lib/md/rate-review.d.ts create mode 100644 types/react-icons/lib/md/receipt.d.ts create mode 100644 types/react-icons/lib/md/recent-actors.d.ts create mode 100644 types/react-icons/lib/md/record-voice-over.d.ts create mode 100644 types/react-icons/lib/md/redeem.d.ts create mode 100644 types/react-icons/lib/md/redo.d.ts create mode 100644 types/react-icons/lib/md/refresh.d.ts create mode 100644 types/react-icons/lib/md/remove-circle-outline.d.ts create mode 100644 types/react-icons/lib/md/remove-circle.d.ts create mode 100644 types/react-icons/lib/md/remove-from-queue.d.ts create mode 100644 types/react-icons/lib/md/remove-red-eye.d.ts create mode 100644 types/react-icons/lib/md/remove-shopping-cart.d.ts create mode 100644 types/react-icons/lib/md/remove.d.ts create mode 100644 types/react-icons/lib/md/reorder.d.ts create mode 100644 types/react-icons/lib/md/repeat-one.d.ts create mode 100644 types/react-icons/lib/md/repeat.d.ts create mode 100644 types/react-icons/lib/md/replay-10.d.ts create mode 100644 types/react-icons/lib/md/replay-30.d.ts create mode 100644 types/react-icons/lib/md/replay-5.d.ts create mode 100644 types/react-icons/lib/md/replay.d.ts create mode 100644 types/react-icons/lib/md/reply-all.d.ts create mode 100644 types/react-icons/lib/md/reply.d.ts create mode 100644 types/react-icons/lib/md/report-problem.d.ts create mode 100644 types/react-icons/lib/md/report.d.ts create mode 100644 types/react-icons/lib/md/restaurant-menu.d.ts create mode 100644 types/react-icons/lib/md/restaurant.d.ts create mode 100644 types/react-icons/lib/md/restore-page.d.ts create mode 100644 types/react-icons/lib/md/restore.d.ts create mode 100644 types/react-icons/lib/md/ring-volume.d.ts create mode 100644 types/react-icons/lib/md/room-service.d.ts create mode 100644 types/react-icons/lib/md/room.d.ts create mode 100644 types/react-icons/lib/md/rotate-90-degrees-ccw.d.ts create mode 100644 types/react-icons/lib/md/rotate-left.d.ts create mode 100644 types/react-icons/lib/md/rotate-right.d.ts create mode 100644 types/react-icons/lib/md/rounded-corner.d.ts create mode 100644 types/react-icons/lib/md/router.d.ts create mode 100644 types/react-icons/lib/md/rowing.d.ts create mode 100644 types/react-icons/lib/md/rss-feed.d.ts create mode 100644 types/react-icons/lib/md/rv-hookup.d.ts create mode 100644 types/react-icons/lib/md/satellite.d.ts create mode 100644 types/react-icons/lib/md/save.d.ts create mode 100644 types/react-icons/lib/md/scanner.d.ts create mode 100644 types/react-icons/lib/md/schedule.d.ts create mode 100644 types/react-icons/lib/md/school.d.ts create mode 100644 types/react-icons/lib/md/screen-lock-landscape.d.ts create mode 100644 types/react-icons/lib/md/screen-lock-portrait.d.ts create mode 100644 types/react-icons/lib/md/screen-lock-rotation.d.ts create mode 100644 types/react-icons/lib/md/screen-rotation.d.ts create mode 100644 types/react-icons/lib/md/screen-share.d.ts create mode 100644 types/react-icons/lib/md/sd-card.d.ts create mode 100644 types/react-icons/lib/md/sd-storage.d.ts create mode 100644 types/react-icons/lib/md/search.d.ts create mode 100644 types/react-icons/lib/md/security.d.ts create mode 100644 types/react-icons/lib/md/select-all.d.ts create mode 100644 types/react-icons/lib/md/send.d.ts create mode 100644 types/react-icons/lib/md/sentiment-dissatisfied.d.ts create mode 100644 types/react-icons/lib/md/sentiment-neutral.d.ts create mode 100644 types/react-icons/lib/md/sentiment-satisfied.d.ts create mode 100644 types/react-icons/lib/md/sentiment-very-dissatisfied.d.ts create mode 100644 types/react-icons/lib/md/sentiment-very-satisfied.d.ts create mode 100644 types/react-icons/lib/md/settings-applications.d.ts create mode 100644 types/react-icons/lib/md/settings-backup-restore.d.ts create mode 100644 types/react-icons/lib/md/settings-bluetooth.d.ts create mode 100644 types/react-icons/lib/md/settings-brightness.d.ts create mode 100644 types/react-icons/lib/md/settings-cell.d.ts create mode 100644 types/react-icons/lib/md/settings-ethernet.d.ts create mode 100644 types/react-icons/lib/md/settings-input-antenna.d.ts create mode 100644 types/react-icons/lib/md/settings-input-component.d.ts create mode 100644 types/react-icons/lib/md/settings-input-composite.d.ts create mode 100644 types/react-icons/lib/md/settings-input-hdmi.d.ts create mode 100644 types/react-icons/lib/md/settings-input-svideo.d.ts create mode 100644 types/react-icons/lib/md/settings-overscan.d.ts create mode 100644 types/react-icons/lib/md/settings-phone.d.ts create mode 100644 types/react-icons/lib/md/settings-power.d.ts create mode 100644 types/react-icons/lib/md/settings-remote.d.ts create mode 100644 types/react-icons/lib/md/settings-system-daydream.d.ts create mode 100644 types/react-icons/lib/md/settings-voice.d.ts create mode 100644 types/react-icons/lib/md/settings.d.ts create mode 100644 types/react-icons/lib/md/share.d.ts create mode 100644 types/react-icons/lib/md/shop-two.d.ts create mode 100644 types/react-icons/lib/md/shop.d.ts create mode 100644 types/react-icons/lib/md/shopping-basket.d.ts create mode 100644 types/react-icons/lib/md/shopping-cart.d.ts create mode 100644 types/react-icons/lib/md/short-text.d.ts create mode 100644 types/react-icons/lib/md/show-chart.d.ts create mode 100644 types/react-icons/lib/md/shuffle.d.ts create mode 100644 types/react-icons/lib/md/signal-cellular-4-bar.d.ts create mode 100644 types/react-icons/lib/md/signal-cellular-connected-no-internet-4-bar.d.ts create mode 100644 types/react-icons/lib/md/signal-cellular-no-sim.d.ts create mode 100644 types/react-icons/lib/md/signal-cellular-null.d.ts create mode 100644 types/react-icons/lib/md/signal-cellular-off.d.ts create mode 100644 types/react-icons/lib/md/signal-wifi-4-bar-lock.d.ts create mode 100644 types/react-icons/lib/md/signal-wifi-4-bar.d.ts create mode 100644 types/react-icons/lib/md/signal-wifi-off.d.ts create mode 100644 types/react-icons/lib/md/sim-card-alert.d.ts create mode 100644 types/react-icons/lib/md/sim-card.d.ts create mode 100644 types/react-icons/lib/md/skip-next.d.ts create mode 100644 types/react-icons/lib/md/skip-previous.d.ts create mode 100644 types/react-icons/lib/md/slideshow.d.ts create mode 100644 types/react-icons/lib/md/slow-motion-video.d.ts create mode 100644 types/react-icons/lib/md/smartphone.d.ts create mode 100644 types/react-icons/lib/md/smoke-free.d.ts create mode 100644 types/react-icons/lib/md/smoking-rooms.d.ts create mode 100644 types/react-icons/lib/md/sms-failed.d.ts create mode 100644 types/react-icons/lib/md/sms.d.ts create mode 100644 types/react-icons/lib/md/snooze.d.ts create mode 100644 types/react-icons/lib/md/sort-by-alpha.d.ts create mode 100644 types/react-icons/lib/md/sort.d.ts create mode 100644 types/react-icons/lib/md/spa.d.ts create mode 100644 types/react-icons/lib/md/space-bar.d.ts create mode 100644 types/react-icons/lib/md/speaker-group.d.ts create mode 100644 types/react-icons/lib/md/speaker-notes-off.d.ts create mode 100644 types/react-icons/lib/md/speaker-notes.d.ts create mode 100644 types/react-icons/lib/md/speaker-phone.d.ts create mode 100644 types/react-icons/lib/md/speaker.d.ts create mode 100644 types/react-icons/lib/md/spellcheck.d.ts create mode 100644 types/react-icons/lib/md/star-border.d.ts create mode 100644 types/react-icons/lib/md/star-half.d.ts create mode 100644 types/react-icons/lib/md/star-outline.d.ts create mode 100644 types/react-icons/lib/md/star.d.ts create mode 100644 types/react-icons/lib/md/stars.d.ts create mode 100644 types/react-icons/lib/md/stay-current-landscape.d.ts create mode 100644 types/react-icons/lib/md/stay-current-portrait.d.ts create mode 100644 types/react-icons/lib/md/stay-primary-landscape.d.ts create mode 100644 types/react-icons/lib/md/stay-primary-portrait.d.ts create mode 100644 types/react-icons/lib/md/stop-screen-share.d.ts create mode 100644 types/react-icons/lib/md/stop.d.ts create mode 100644 types/react-icons/lib/md/storage.d.ts create mode 100644 types/react-icons/lib/md/store-mall-directory.d.ts create mode 100644 types/react-icons/lib/md/store.d.ts create mode 100644 types/react-icons/lib/md/straighten.d.ts create mode 100644 types/react-icons/lib/md/streetview.d.ts create mode 100644 types/react-icons/lib/md/strikethrough-s.d.ts create mode 100644 types/react-icons/lib/md/style.d.ts create mode 100644 types/react-icons/lib/md/subdirectory-arrow-left.d.ts create mode 100644 types/react-icons/lib/md/subdirectory-arrow-right.d.ts create mode 100644 types/react-icons/lib/md/subject.d.ts create mode 100644 types/react-icons/lib/md/subscriptions.d.ts create mode 100644 types/react-icons/lib/md/subtitles.d.ts create mode 100644 types/react-icons/lib/md/subway.d.ts create mode 100644 types/react-icons/lib/md/supervisor-account.d.ts create mode 100644 types/react-icons/lib/md/surround-sound.d.ts create mode 100644 types/react-icons/lib/md/swap-calls.d.ts create mode 100644 types/react-icons/lib/md/swap-horiz.d.ts create mode 100644 types/react-icons/lib/md/swap-vert.d.ts create mode 100644 types/react-icons/lib/md/swap-vertical-circle.d.ts create mode 100644 types/react-icons/lib/md/switch-camera.d.ts create mode 100644 types/react-icons/lib/md/switch-video.d.ts create mode 100644 types/react-icons/lib/md/sync-disabled.d.ts create mode 100644 types/react-icons/lib/md/sync-problem.d.ts create mode 100644 types/react-icons/lib/md/sync.d.ts create mode 100644 types/react-icons/lib/md/system-update-alt.d.ts create mode 100644 types/react-icons/lib/md/system-update.d.ts create mode 100644 types/react-icons/lib/md/tab-unselected.d.ts create mode 100644 types/react-icons/lib/md/tab.d.ts create mode 100644 types/react-icons/lib/md/tablet-android.d.ts create mode 100644 types/react-icons/lib/md/tablet-mac.d.ts create mode 100644 types/react-icons/lib/md/tablet.d.ts create mode 100644 types/react-icons/lib/md/tag-faces.d.ts create mode 100644 types/react-icons/lib/md/tap-and-play.d.ts create mode 100644 types/react-icons/lib/md/terrain.d.ts create mode 100644 types/react-icons/lib/md/text-fields.d.ts create mode 100644 types/react-icons/lib/md/text-format.d.ts create mode 100644 types/react-icons/lib/md/textsms.d.ts create mode 100644 types/react-icons/lib/md/texture.d.ts create mode 100644 types/react-icons/lib/md/theaters.d.ts create mode 100644 types/react-icons/lib/md/thumb-down.d.ts create mode 100644 types/react-icons/lib/md/thumb-up.d.ts create mode 100644 types/react-icons/lib/md/thumbs-up-down.d.ts create mode 100644 types/react-icons/lib/md/time-to-leave.d.ts create mode 100644 types/react-icons/lib/md/timelapse.d.ts create mode 100644 types/react-icons/lib/md/timeline.d.ts create mode 100644 types/react-icons/lib/md/timer-10.d.ts create mode 100644 types/react-icons/lib/md/timer-3.d.ts create mode 100644 types/react-icons/lib/md/timer-off.d.ts create mode 100644 types/react-icons/lib/md/timer.d.ts create mode 100644 types/react-icons/lib/md/title.d.ts create mode 100644 types/react-icons/lib/md/toc.d.ts create mode 100644 types/react-icons/lib/md/today.d.ts create mode 100644 types/react-icons/lib/md/toll.d.ts create mode 100644 types/react-icons/lib/md/tonality.d.ts create mode 100644 types/react-icons/lib/md/touch-app.d.ts create mode 100644 types/react-icons/lib/md/toys.d.ts create mode 100644 types/react-icons/lib/md/track-changes.d.ts create mode 100644 types/react-icons/lib/md/traffic.d.ts create mode 100644 types/react-icons/lib/md/train.d.ts create mode 100644 types/react-icons/lib/md/tram.d.ts create mode 100644 types/react-icons/lib/md/transfer-within-a-station.d.ts create mode 100644 types/react-icons/lib/md/transform.d.ts create mode 100644 types/react-icons/lib/md/translate.d.ts create mode 100644 types/react-icons/lib/md/trending-down.d.ts create mode 100644 types/react-icons/lib/md/trending-flat.d.ts create mode 100644 types/react-icons/lib/md/trending-neutral.d.ts create mode 100644 types/react-icons/lib/md/trending-up.d.ts create mode 100644 types/react-icons/lib/md/tune.d.ts create mode 100644 types/react-icons/lib/md/turned-in-not.d.ts create mode 100644 types/react-icons/lib/md/turned-in.d.ts create mode 100644 types/react-icons/lib/md/tv.d.ts create mode 100644 types/react-icons/lib/md/unarchive.d.ts create mode 100644 types/react-icons/lib/md/undo.d.ts create mode 100644 types/react-icons/lib/md/unfold-less.d.ts create mode 100644 types/react-icons/lib/md/unfold-more.d.ts create mode 100644 types/react-icons/lib/md/update.d.ts create mode 100644 types/react-icons/lib/md/usb.d.ts create mode 100644 types/react-icons/lib/md/verified-user.d.ts create mode 100644 types/react-icons/lib/md/vertical-align-bottom.d.ts create mode 100644 types/react-icons/lib/md/vertical-align-center.d.ts create mode 100644 types/react-icons/lib/md/vertical-align-top.d.ts create mode 100644 types/react-icons/lib/md/vibration.d.ts create mode 100644 types/react-icons/lib/md/video-call.d.ts create mode 100644 types/react-icons/lib/md/video-collection.d.ts create mode 100644 types/react-icons/lib/md/video-label.d.ts create mode 100644 types/react-icons/lib/md/video-library.d.ts create mode 100644 types/react-icons/lib/md/videocam-off.d.ts create mode 100644 types/react-icons/lib/md/videocam.d.ts create mode 100644 types/react-icons/lib/md/videogame-asset.d.ts create mode 100644 types/react-icons/lib/md/view-agenda.d.ts create mode 100644 types/react-icons/lib/md/view-array.d.ts create mode 100644 types/react-icons/lib/md/view-carousel.d.ts create mode 100644 types/react-icons/lib/md/view-column.d.ts create mode 100644 types/react-icons/lib/md/view-comfortable.d.ts create mode 100644 types/react-icons/lib/md/view-comfy.d.ts create mode 100644 types/react-icons/lib/md/view-compact.d.ts create mode 100644 types/react-icons/lib/md/view-day.d.ts create mode 100644 types/react-icons/lib/md/view-headline.d.ts create mode 100644 types/react-icons/lib/md/view-list.d.ts create mode 100644 types/react-icons/lib/md/view-module.d.ts create mode 100644 types/react-icons/lib/md/view-quilt.d.ts create mode 100644 types/react-icons/lib/md/view-stream.d.ts create mode 100644 types/react-icons/lib/md/view-week.d.ts create mode 100644 types/react-icons/lib/md/vignette.d.ts create mode 100644 types/react-icons/lib/md/visibility-off.d.ts create mode 100644 types/react-icons/lib/md/visibility.d.ts create mode 100644 types/react-icons/lib/md/voice-chat.d.ts create mode 100644 types/react-icons/lib/md/voicemail.d.ts create mode 100644 types/react-icons/lib/md/volume-down.d.ts create mode 100644 types/react-icons/lib/md/volume-mute.d.ts create mode 100644 types/react-icons/lib/md/volume-off.d.ts create mode 100644 types/react-icons/lib/md/volume-up.d.ts create mode 100644 types/react-icons/lib/md/vpn-key.d.ts create mode 100644 types/react-icons/lib/md/vpn-lock.d.ts create mode 100644 types/react-icons/lib/md/wallpaper.d.ts create mode 100644 types/react-icons/lib/md/warning.d.ts create mode 100644 types/react-icons/lib/md/watch-later.d.ts create mode 100644 types/react-icons/lib/md/watch.d.ts create mode 100644 types/react-icons/lib/md/wb-auto.d.ts create mode 100644 types/react-icons/lib/md/wb-cloudy.d.ts create mode 100644 types/react-icons/lib/md/wb-incandescent.d.ts create mode 100644 types/react-icons/lib/md/wb-iridescent.d.ts create mode 100644 types/react-icons/lib/md/wb-sunny.d.ts create mode 100644 types/react-icons/lib/md/wc.d.ts create mode 100644 types/react-icons/lib/md/web-asset.d.ts create mode 100644 types/react-icons/lib/md/web.d.ts create mode 100644 types/react-icons/lib/md/weekend.d.ts create mode 100644 types/react-icons/lib/md/whatshot.d.ts create mode 100644 types/react-icons/lib/md/widgets.d.ts create mode 100644 types/react-icons/lib/md/wifi-lock.d.ts create mode 100644 types/react-icons/lib/md/wifi-tethering.d.ts create mode 100644 types/react-icons/lib/md/wifi.d.ts create mode 100644 types/react-icons/lib/md/work.d.ts create mode 100644 types/react-icons/lib/md/wrap-text.d.ts create mode 100644 types/react-icons/lib/md/youtube-searched-for.d.ts create mode 100644 types/react-icons/lib/md/zoom-in.d.ts create mode 100644 types/react-icons/lib/md/zoom-out-map.d.ts create mode 100644 types/react-icons/lib/md/zoom-out.d.ts create mode 100644 types/react-icons/lib/ti/adjust-brightness.d.ts create mode 100644 types/react-icons/lib/ti/adjust-contrast.d.ts create mode 100644 types/react-icons/lib/ti/anchor-outline.d.ts create mode 100644 types/react-icons/lib/ti/anchor.d.ts create mode 100644 types/react-icons/lib/ti/archive.d.ts create mode 100644 types/react-icons/lib/ti/arrow-back-outline.d.ts create mode 100644 types/react-icons/lib/ti/arrow-back.d.ts create mode 100644 types/react-icons/lib/ti/arrow-down-outline.d.ts create mode 100644 types/react-icons/lib/ti/arrow-down-thick.d.ts create mode 100644 types/react-icons/lib/ti/arrow-down.d.ts create mode 100644 types/react-icons/lib/ti/arrow-forward-outline.d.ts create mode 100644 types/react-icons/lib/ti/arrow-forward.d.ts create mode 100644 types/react-icons/lib/ti/arrow-left-outline.d.ts create mode 100644 types/react-icons/lib/ti/arrow-left-thick.d.ts create mode 100644 types/react-icons/lib/ti/arrow-left.d.ts create mode 100644 types/react-icons/lib/ti/arrow-loop-outline.d.ts create mode 100644 types/react-icons/lib/ti/arrow-loop.d.ts create mode 100644 types/react-icons/lib/ti/arrow-maximise-outline.d.ts create mode 100644 types/react-icons/lib/ti/arrow-maximise.d.ts create mode 100644 types/react-icons/lib/ti/arrow-minimise-outline.d.ts create mode 100644 types/react-icons/lib/ti/arrow-minimise.d.ts create mode 100644 types/react-icons/lib/ti/arrow-move-outline.d.ts create mode 100644 types/react-icons/lib/ti/arrow-move.d.ts create mode 100644 types/react-icons/lib/ti/arrow-repeat-outline.d.ts create mode 100644 types/react-icons/lib/ti/arrow-repeat.d.ts create mode 100644 types/react-icons/lib/ti/arrow-right-outline.d.ts create mode 100644 types/react-icons/lib/ti/arrow-right-thick.d.ts create mode 100644 types/react-icons/lib/ti/arrow-right.d.ts create mode 100644 types/react-icons/lib/ti/arrow-shuffle.d.ts create mode 100644 types/react-icons/lib/ti/arrow-sorted-down.d.ts create mode 100644 types/react-icons/lib/ti/arrow-sorted-up.d.ts create mode 100644 types/react-icons/lib/ti/arrow-sync-outline.d.ts create mode 100644 types/react-icons/lib/ti/arrow-sync.d.ts create mode 100644 types/react-icons/lib/ti/arrow-unsorted.d.ts create mode 100644 types/react-icons/lib/ti/arrow-up-outline.d.ts create mode 100644 types/react-icons/lib/ti/arrow-up-thick.d.ts create mode 100644 types/react-icons/lib/ti/arrow-up.d.ts create mode 100644 types/react-icons/lib/ti/at.d.ts create mode 100644 types/react-icons/lib/ti/attachment-outline.d.ts create mode 100644 types/react-icons/lib/ti/attachment.d.ts create mode 100644 types/react-icons/lib/ti/backspace-outline.d.ts create mode 100644 types/react-icons/lib/ti/backspace.d.ts create mode 100644 types/react-icons/lib/ti/battery-charge.d.ts create mode 100644 types/react-icons/lib/ti/battery-full.d.ts create mode 100644 types/react-icons/lib/ti/battery-high.d.ts create mode 100644 types/react-icons/lib/ti/battery-low.d.ts create mode 100644 types/react-icons/lib/ti/battery-mid.d.ts create mode 100644 types/react-icons/lib/ti/beaker.d.ts create mode 100644 types/react-icons/lib/ti/beer.d.ts create mode 100644 types/react-icons/lib/ti/bell.d.ts create mode 100644 types/react-icons/lib/ti/book.d.ts create mode 100644 types/react-icons/lib/ti/bookmark.d.ts create mode 100644 types/react-icons/lib/ti/briefcase.d.ts create mode 100644 types/react-icons/lib/ti/brush.d.ts create mode 100644 types/react-icons/lib/ti/business-card.d.ts create mode 100644 types/react-icons/lib/ti/calculator.d.ts create mode 100644 types/react-icons/lib/ti/calendar-outline.d.ts create mode 100644 types/react-icons/lib/ti/calendar.d.ts create mode 100644 types/react-icons/lib/ti/calender-outline.d.ts create mode 100644 types/react-icons/lib/ti/calender.d.ts create mode 100644 types/react-icons/lib/ti/camera-outline.d.ts create mode 100644 types/react-icons/lib/ti/camera.d.ts create mode 100644 types/react-icons/lib/ti/cancel-outline.d.ts create mode 100644 types/react-icons/lib/ti/cancel.d.ts create mode 100644 types/react-icons/lib/ti/chart-area-outline.d.ts create mode 100644 types/react-icons/lib/ti/chart-area.d.ts create mode 100644 types/react-icons/lib/ti/chart-bar-outline.d.ts create mode 100644 types/react-icons/lib/ti/chart-bar.d.ts create mode 100644 types/react-icons/lib/ti/chart-line-outline.d.ts create mode 100644 types/react-icons/lib/ti/chart-line.d.ts create mode 100644 types/react-icons/lib/ti/chart-pie-outline.d.ts create mode 100644 types/react-icons/lib/ti/chart-pie.d.ts create mode 100644 types/react-icons/lib/ti/chevron-left-outline.d.ts create mode 100644 types/react-icons/lib/ti/chevron-left.d.ts create mode 100644 types/react-icons/lib/ti/chevron-right-outline.d.ts create mode 100644 types/react-icons/lib/ti/chevron-right.d.ts create mode 100644 types/react-icons/lib/ti/clipboard.d.ts create mode 100644 types/react-icons/lib/ti/cloud-storage-outline.d.ts create mode 100644 types/react-icons/lib/ti/cloud-storage.d.ts create mode 100644 types/react-icons/lib/ti/code-outline.d.ts create mode 100644 types/react-icons/lib/ti/code.d.ts create mode 100644 types/react-icons/lib/ti/coffee.d.ts create mode 100644 types/react-icons/lib/ti/cog-outline.d.ts create mode 100644 types/react-icons/lib/ti/cog.d.ts create mode 100644 types/react-icons/lib/ti/compass.d.ts create mode 100644 types/react-icons/lib/ti/contacts.d.ts create mode 100644 types/react-icons/lib/ti/credit-card.d.ts create mode 100644 types/react-icons/lib/ti/cross.d.ts create mode 100644 types/react-icons/lib/ti/css3.d.ts create mode 100644 types/react-icons/lib/ti/database.d.ts create mode 100644 types/react-icons/lib/ti/delete-outline.d.ts create mode 100644 types/react-icons/lib/ti/delete.d.ts create mode 100644 types/react-icons/lib/ti/device-desktop.d.ts create mode 100644 types/react-icons/lib/ti/device-laptop.d.ts create mode 100644 types/react-icons/lib/ti/device-phone.d.ts create mode 100644 types/react-icons/lib/ti/device-tablet.d.ts create mode 100644 types/react-icons/lib/ti/directions.d.ts create mode 100644 types/react-icons/lib/ti/divide-outline.d.ts create mode 100644 types/react-icons/lib/ti/divide.d.ts create mode 100644 types/react-icons/lib/ti/document-add.d.ts create mode 100644 types/react-icons/lib/ti/document-delete.d.ts create mode 100644 types/react-icons/lib/ti/document-text.d.ts create mode 100644 types/react-icons/lib/ti/document.d.ts create mode 100644 types/react-icons/lib/ti/download-outline.d.ts create mode 100644 types/react-icons/lib/ti/download.d.ts create mode 100644 types/react-icons/lib/ti/dropbox.d.ts create mode 100644 types/react-icons/lib/ti/edit.d.ts create mode 100644 types/react-icons/lib/ti/eject-outline.d.ts create mode 100644 types/react-icons/lib/ti/eject.d.ts create mode 100644 types/react-icons/lib/ti/equals-outline.d.ts create mode 100644 types/react-icons/lib/ti/equals.d.ts create mode 100644 types/react-icons/lib/ti/export-outline.d.ts create mode 100644 types/react-icons/lib/ti/export.d.ts create mode 100644 types/react-icons/lib/ti/eye-outline.d.ts create mode 100644 types/react-icons/lib/ti/eye.d.ts create mode 100644 types/react-icons/lib/ti/feather.d.ts create mode 100644 types/react-icons/lib/ti/film.d.ts create mode 100644 types/react-icons/lib/ti/filter.d.ts create mode 100644 types/react-icons/lib/ti/flag-outline.d.ts create mode 100644 types/react-icons/lib/ti/flag.d.ts create mode 100644 types/react-icons/lib/ti/flash-outline.d.ts create mode 100644 types/react-icons/lib/ti/flash.d.ts create mode 100644 types/react-icons/lib/ti/flow-children.d.ts create mode 100644 types/react-icons/lib/ti/flow-merge.d.ts create mode 100644 types/react-icons/lib/ti/flow-parallel.d.ts create mode 100644 types/react-icons/lib/ti/flow-switch.d.ts create mode 100644 types/react-icons/lib/ti/folder-add.d.ts create mode 100644 types/react-icons/lib/ti/folder-delete.d.ts create mode 100644 types/react-icons/lib/ti/folder-open.d.ts create mode 100644 types/react-icons/lib/ti/folder.d.ts create mode 100644 types/react-icons/lib/ti/gift.d.ts create mode 100644 types/react-icons/lib/ti/globe-outline.d.ts create mode 100644 types/react-icons/lib/ti/globe.d.ts create mode 100644 types/react-icons/lib/ti/group-outline.d.ts create mode 100644 types/react-icons/lib/ti/group.d.ts create mode 100644 types/react-icons/lib/ti/headphones.d.ts create mode 100644 types/react-icons/lib/ti/heart-full-outline.d.ts create mode 100644 types/react-icons/lib/ti/heart-half-outline.d.ts create mode 100644 types/react-icons/lib/ti/heart-outline.d.ts create mode 100644 types/react-icons/lib/ti/heart.d.ts create mode 100644 types/react-icons/lib/ti/home-outline.d.ts create mode 100644 types/react-icons/lib/ti/home.d.ts create mode 100644 types/react-icons/lib/ti/html5.d.ts create mode 100644 types/react-icons/lib/ti/image-outline.d.ts create mode 100644 types/react-icons/lib/ti/image.d.ts create mode 100644 types/react-icons/lib/ti/index.d.ts create mode 100644 types/react-icons/lib/ti/infinity-outline.d.ts create mode 100644 types/react-icons/lib/ti/infinity.d.ts create mode 100644 types/react-icons/lib/ti/info-large-outline.d.ts create mode 100644 types/react-icons/lib/ti/info-large.d.ts create mode 100644 types/react-icons/lib/ti/info-outline.d.ts create mode 100644 types/react-icons/lib/ti/info.d.ts create mode 100644 types/react-icons/lib/ti/input-checked-outline.d.ts create mode 100644 types/react-icons/lib/ti/input-checked.d.ts create mode 100644 types/react-icons/lib/ti/key-outline.d.ts create mode 100644 types/react-icons/lib/ti/key.d.ts create mode 100644 types/react-icons/lib/ti/keyboard.d.ts create mode 100644 types/react-icons/lib/ti/leaf.d.ts create mode 100644 types/react-icons/lib/ti/lightbulb.d.ts create mode 100644 types/react-icons/lib/ti/link-outline.d.ts create mode 100644 types/react-icons/lib/ti/link.d.ts create mode 100644 types/react-icons/lib/ti/location-arrow-outline.d.ts create mode 100644 types/react-icons/lib/ti/location-arrow.d.ts create mode 100644 types/react-icons/lib/ti/location-outline.d.ts create mode 100644 types/react-icons/lib/ti/location.d.ts create mode 100644 types/react-icons/lib/ti/lock-closed-outline.d.ts create mode 100644 types/react-icons/lib/ti/lock-closed.d.ts create mode 100644 types/react-icons/lib/ti/lock-open-outline.d.ts create mode 100644 types/react-icons/lib/ti/lock-open.d.ts create mode 100644 types/react-icons/lib/ti/mail.d.ts create mode 100644 types/react-icons/lib/ti/map.d.ts create mode 100644 types/react-icons/lib/ti/media-eject-outline.d.ts create mode 100644 types/react-icons/lib/ti/media-eject.d.ts create mode 100644 types/react-icons/lib/ti/media-fast-forward-outline.d.ts create mode 100644 types/react-icons/lib/ti/media-fast-forward.d.ts create mode 100644 types/react-icons/lib/ti/media-pause-outline.d.ts create mode 100644 types/react-icons/lib/ti/media-pause.d.ts create mode 100644 types/react-icons/lib/ti/media-play-outline.d.ts create mode 100644 types/react-icons/lib/ti/media-play-reverse-outline.d.ts create mode 100644 types/react-icons/lib/ti/media-play-reverse.d.ts create mode 100644 types/react-icons/lib/ti/media-play.d.ts create mode 100644 types/react-icons/lib/ti/media-record-outline.d.ts create mode 100644 types/react-icons/lib/ti/media-record.d.ts create mode 100644 types/react-icons/lib/ti/media-rewind-outline.d.ts create mode 100644 types/react-icons/lib/ti/media-rewind.d.ts create mode 100644 types/react-icons/lib/ti/media-stop-outline.d.ts create mode 100644 types/react-icons/lib/ti/media-stop.d.ts create mode 100644 types/react-icons/lib/ti/message-typing.d.ts create mode 100644 types/react-icons/lib/ti/message.d.ts create mode 100644 types/react-icons/lib/ti/messages.d.ts create mode 100644 types/react-icons/lib/ti/microphone-outline.d.ts create mode 100644 types/react-icons/lib/ti/microphone.d.ts create mode 100644 types/react-icons/lib/ti/minus-outline.d.ts create mode 100644 types/react-icons/lib/ti/minus.d.ts create mode 100644 types/react-icons/lib/ti/mortar-board.d.ts create mode 100644 types/react-icons/lib/ti/news.d.ts create mode 100644 types/react-icons/lib/ti/notes-outline.d.ts create mode 100644 types/react-icons/lib/ti/notes.d.ts create mode 100644 types/react-icons/lib/ti/pen.d.ts create mode 100644 types/react-icons/lib/ti/pencil.d.ts create mode 100644 types/react-icons/lib/ti/phone-outline.d.ts create mode 100644 types/react-icons/lib/ti/phone.d.ts create mode 100644 types/react-icons/lib/ti/pi-outline.d.ts create mode 100644 types/react-icons/lib/ti/pi.d.ts create mode 100644 types/react-icons/lib/ti/pin-outline.d.ts create mode 100644 types/react-icons/lib/ti/pin.d.ts create mode 100644 types/react-icons/lib/ti/pipette.d.ts create mode 100644 types/react-icons/lib/ti/plane-outline.d.ts create mode 100644 types/react-icons/lib/ti/plane.d.ts create mode 100644 types/react-icons/lib/ti/plug.d.ts create mode 100644 types/react-icons/lib/ti/plus-outline.d.ts create mode 100644 types/react-icons/lib/ti/plus.d.ts create mode 100644 types/react-icons/lib/ti/point-of-interest-outline.d.ts create mode 100644 types/react-icons/lib/ti/point-of-interest.d.ts create mode 100644 types/react-icons/lib/ti/power-outline.d.ts create mode 100644 types/react-icons/lib/ti/power.d.ts create mode 100644 types/react-icons/lib/ti/printer.d.ts create mode 100644 types/react-icons/lib/ti/puzzle-outline.d.ts create mode 100644 types/react-icons/lib/ti/puzzle.d.ts create mode 100644 types/react-icons/lib/ti/radar-outline.d.ts create mode 100644 types/react-icons/lib/ti/radar.d.ts create mode 100644 types/react-icons/lib/ti/refresh-outline.d.ts create mode 100644 types/react-icons/lib/ti/refresh.d.ts create mode 100644 types/react-icons/lib/ti/rss-outline.d.ts create mode 100644 types/react-icons/lib/ti/rss.d.ts create mode 100644 types/react-icons/lib/ti/scissors-outline.d.ts create mode 100644 types/react-icons/lib/ti/scissors.d.ts create mode 100644 types/react-icons/lib/ti/shopping-bag.d.ts create mode 100644 types/react-icons/lib/ti/shopping-cart.d.ts create mode 100644 types/react-icons/lib/ti/social-at-circular.d.ts create mode 100644 types/react-icons/lib/ti/social-dribbble-circular.d.ts create mode 100644 types/react-icons/lib/ti/social-dribbble.d.ts create mode 100644 types/react-icons/lib/ti/social-facebook-circular.d.ts create mode 100644 types/react-icons/lib/ti/social-facebook.d.ts create mode 100644 types/react-icons/lib/ti/social-flickr-circular.d.ts create mode 100644 types/react-icons/lib/ti/social-flickr.d.ts create mode 100644 types/react-icons/lib/ti/social-github-circular.d.ts create mode 100644 types/react-icons/lib/ti/social-github.d.ts create mode 100644 types/react-icons/lib/ti/social-google-plus-circular.d.ts create mode 100644 types/react-icons/lib/ti/social-google-plus.d.ts create mode 100644 types/react-icons/lib/ti/social-instagram-circular.d.ts create mode 100644 types/react-icons/lib/ti/social-instagram.d.ts create mode 100644 types/react-icons/lib/ti/social-last-fm-circular.d.ts create mode 100644 types/react-icons/lib/ti/social-last-fm.d.ts create mode 100644 types/react-icons/lib/ti/social-linkedin-circular.d.ts create mode 100644 types/react-icons/lib/ti/social-linkedin.d.ts create mode 100644 types/react-icons/lib/ti/social-pinterest-circular.d.ts create mode 100644 types/react-icons/lib/ti/social-pinterest.d.ts create mode 100644 types/react-icons/lib/ti/social-skype-outline.d.ts create mode 100644 types/react-icons/lib/ti/social-skype.d.ts create mode 100644 types/react-icons/lib/ti/social-tumbler-circular.d.ts create mode 100644 types/react-icons/lib/ti/social-tumbler.d.ts create mode 100644 types/react-icons/lib/ti/social-twitter-circular.d.ts create mode 100644 types/react-icons/lib/ti/social-twitter.d.ts create mode 100644 types/react-icons/lib/ti/social-vimeo-circular.d.ts create mode 100644 types/react-icons/lib/ti/social-vimeo.d.ts create mode 100644 types/react-icons/lib/ti/social-youtube-circular.d.ts create mode 100644 types/react-icons/lib/ti/social-youtube.d.ts create mode 100644 types/react-icons/lib/ti/sort-alphabetically-outline.d.ts create mode 100644 types/react-icons/lib/ti/sort-alphabetically.d.ts create mode 100644 types/react-icons/lib/ti/sort-numerically-outline.d.ts create mode 100644 types/react-icons/lib/ti/sort-numerically.d.ts create mode 100644 types/react-icons/lib/ti/spanner-outline.d.ts create mode 100644 types/react-icons/lib/ti/spanner.d.ts create mode 100644 types/react-icons/lib/ti/spiral.d.ts create mode 100644 types/react-icons/lib/ti/star-full-outline.d.ts create mode 100644 types/react-icons/lib/ti/star-half-outline.d.ts create mode 100644 types/react-icons/lib/ti/star-half.d.ts create mode 100644 types/react-icons/lib/ti/star-outline.d.ts create mode 100644 types/react-icons/lib/ti/star.d.ts create mode 100644 types/react-icons/lib/ti/starburst-outline.d.ts create mode 100644 types/react-icons/lib/ti/starburst.d.ts create mode 100644 types/react-icons/lib/ti/stopwatch.d.ts create mode 100644 types/react-icons/lib/ti/support.d.ts create mode 100644 types/react-icons/lib/ti/tabs-outline.d.ts create mode 100644 types/react-icons/lib/ti/tag.d.ts create mode 100644 types/react-icons/lib/ti/tags.d.ts create mode 100644 types/react-icons/lib/ti/th-large-outline.d.ts create mode 100644 types/react-icons/lib/ti/th-large.d.ts create mode 100644 types/react-icons/lib/ti/th-list-outline.d.ts create mode 100644 types/react-icons/lib/ti/th-list.d.ts create mode 100644 types/react-icons/lib/ti/th-menu-outline.d.ts create mode 100644 types/react-icons/lib/ti/th-menu.d.ts create mode 100644 types/react-icons/lib/ti/th-small-outline.d.ts create mode 100644 types/react-icons/lib/ti/th-small.d.ts create mode 100644 types/react-icons/lib/ti/thermometer.d.ts create mode 100644 types/react-icons/lib/ti/thumbs-down.d.ts create mode 100644 types/react-icons/lib/ti/thumbs-ok.d.ts create mode 100644 types/react-icons/lib/ti/thumbs-up.d.ts create mode 100644 types/react-icons/lib/ti/tick-outline.d.ts create mode 100644 types/react-icons/lib/ti/tick.d.ts create mode 100644 types/react-icons/lib/ti/ticket.d.ts create mode 100644 types/react-icons/lib/ti/time.d.ts create mode 100644 types/react-icons/lib/ti/times-outline.d.ts create mode 100644 types/react-icons/lib/ti/times.d.ts create mode 100644 types/react-icons/lib/ti/trash.d.ts create mode 100644 types/react-icons/lib/ti/tree.d.ts create mode 100644 types/react-icons/lib/ti/upload-outline.d.ts create mode 100644 types/react-icons/lib/ti/upload.d.ts create mode 100644 types/react-icons/lib/ti/user-add-outline.d.ts create mode 100644 types/react-icons/lib/ti/user-add.d.ts create mode 100644 types/react-icons/lib/ti/user-delete-outline.d.ts create mode 100644 types/react-icons/lib/ti/user-delete.d.ts create mode 100644 types/react-icons/lib/ti/user-outline.d.ts create mode 100644 types/react-icons/lib/ti/user.d.ts create mode 100644 types/react-icons/lib/ti/vendor-android.d.ts create mode 100644 types/react-icons/lib/ti/vendor-apple.d.ts create mode 100644 types/react-icons/lib/ti/vendor-microsoft.d.ts create mode 100644 types/react-icons/lib/ti/video-outline.d.ts create mode 100644 types/react-icons/lib/ti/video.d.ts create mode 100644 types/react-icons/lib/ti/volume-down.d.ts create mode 100644 types/react-icons/lib/ti/volume-mute.d.ts create mode 100644 types/react-icons/lib/ti/volume-up.d.ts create mode 100644 types/react-icons/lib/ti/volume.d.ts create mode 100644 types/react-icons/lib/ti/warning-outline.d.ts create mode 100644 types/react-icons/lib/ti/warning.d.ts create mode 100644 types/react-icons/lib/ti/watch.d.ts create mode 100644 types/react-icons/lib/ti/waves-outline.d.ts create mode 100644 types/react-icons/lib/ti/waves.d.ts create mode 100644 types/react-icons/lib/ti/weather-cloudy.d.ts create mode 100644 types/react-icons/lib/ti/weather-downpour.d.ts create mode 100644 types/react-icons/lib/ti/weather-night.d.ts create mode 100644 types/react-icons/lib/ti/weather-partly-sunny.d.ts create mode 100644 types/react-icons/lib/ti/weather-shower.d.ts create mode 100644 types/react-icons/lib/ti/weather-snow.d.ts create mode 100644 types/react-icons/lib/ti/weather-stormy.d.ts create mode 100644 types/react-icons/lib/ti/weather-sunny.d.ts create mode 100644 types/react-icons/lib/ti/weather-windy-cloudy.d.ts create mode 100644 types/react-icons/lib/ti/weather-windy.d.ts create mode 100644 types/react-icons/lib/ti/wi-fi-outline.d.ts create mode 100644 types/react-icons/lib/ti/wi-fi.d.ts create mode 100644 types/react-icons/lib/ti/wine.d.ts create mode 100644 types/react-icons/lib/ti/world-outline.d.ts create mode 100644 types/react-icons/lib/ti/world.d.ts create mode 100644 types/react-icons/lib/ti/zoom-in-outline.d.ts create mode 100644 types/react-icons/lib/ti/zoom-in.d.ts create mode 100644 types/react-icons/lib/ti/zoom-out-outline.d.ts create mode 100644 types/react-icons/lib/ti/zoom-out.d.ts create mode 100644 types/react-icons/lib/ti/zoom-outline.d.ts create mode 100644 types/react-icons/lib/ti/zoom.d.ts diff --git a/types/react-icons/index.d.ts b/types/react-icons/index.d.ts index 5068bb226b..7c926b347f 100644 --- a/types/react-icons/index.d.ts +++ b/types/react-icons/index.d.ts @@ -1,5 +1,6 @@ // Type definitions for react-icons 2.2 // Project: https://github.com/gorangajic/react-icons#readme // Definitions by: Alexandre Paré +// John Reilly // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 diff --git a/types/react-icons/lib/fa/500px.d.ts b/types/react-icons/lib/fa/500px.d.ts new file mode 100644 index 0000000000..29c3f639f8 --- /dev/null +++ b/types/react-icons/lib/fa/500px.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class Fa500px extends React.Component { } diff --git a/types/react-icons/lib/fa/adjust.d.ts b/types/react-icons/lib/fa/adjust.d.ts new file mode 100644 index 0000000000..7ca3d2cf03 --- /dev/null +++ b/types/react-icons/lib/fa/adjust.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAdjust extends React.Component { } diff --git a/types/react-icons/lib/fa/adn.d.ts b/types/react-icons/lib/fa/adn.d.ts new file mode 100644 index 0000000000..c2c5676047 --- /dev/null +++ b/types/react-icons/lib/fa/adn.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAdn extends React.Component { } diff --git a/types/react-icons/lib/fa/align-center.d.ts b/types/react-icons/lib/fa/align-center.d.ts new file mode 100644 index 0000000000..718d401bcc --- /dev/null +++ b/types/react-icons/lib/fa/align-center.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAlignCenter extends React.Component { } diff --git a/types/react-icons/lib/fa/align-justify.d.ts b/types/react-icons/lib/fa/align-justify.d.ts new file mode 100644 index 0000000000..87df2f26fc --- /dev/null +++ b/types/react-icons/lib/fa/align-justify.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAlignJustify extends React.Component { } diff --git a/types/react-icons/lib/fa/align-left.d.ts b/types/react-icons/lib/fa/align-left.d.ts new file mode 100644 index 0000000000..7a1c956b3f --- /dev/null +++ b/types/react-icons/lib/fa/align-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAlignLeft extends React.Component { } diff --git a/types/react-icons/lib/fa/align-right.d.ts b/types/react-icons/lib/fa/align-right.d.ts new file mode 100644 index 0000000000..0ec0226c13 --- /dev/null +++ b/types/react-icons/lib/fa/align-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAlignRight extends React.Component { } diff --git a/types/react-icons/lib/fa/amazon.d.ts b/types/react-icons/lib/fa/amazon.d.ts new file mode 100644 index 0000000000..d514c69672 --- /dev/null +++ b/types/react-icons/lib/fa/amazon.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAmazon extends React.Component { } diff --git a/types/react-icons/lib/fa/ambulance.d.ts b/types/react-icons/lib/fa/ambulance.d.ts new file mode 100644 index 0000000000..fbaa0eec3b --- /dev/null +++ b/types/react-icons/lib/fa/ambulance.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAmbulance extends React.Component { } diff --git a/types/react-icons/lib/fa/american-sign-language-interpreting.d.ts b/types/react-icons/lib/fa/american-sign-language-interpreting.d.ts new file mode 100644 index 0000000000..06925c79e5 --- /dev/null +++ b/types/react-icons/lib/fa/american-sign-language-interpreting.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAmericanSignLanguageInterpreting extends React.Component { } diff --git a/types/react-icons/lib/fa/anchor.d.ts b/types/react-icons/lib/fa/anchor.d.ts new file mode 100644 index 0000000000..8812734dc4 --- /dev/null +++ b/types/react-icons/lib/fa/anchor.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAnchor extends React.Component { } diff --git a/types/react-icons/lib/fa/android.d.ts b/types/react-icons/lib/fa/android.d.ts new file mode 100644 index 0000000000..2ee9f5fb18 --- /dev/null +++ b/types/react-icons/lib/fa/android.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAndroid extends React.Component { } diff --git a/types/react-icons/lib/fa/angellist.d.ts b/types/react-icons/lib/fa/angellist.d.ts new file mode 100644 index 0000000000..ce8afe7eda --- /dev/null +++ b/types/react-icons/lib/fa/angellist.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAngellist extends React.Component { } diff --git a/types/react-icons/lib/fa/angle-double-down.d.ts b/types/react-icons/lib/fa/angle-double-down.d.ts new file mode 100644 index 0000000000..93ce66d6b4 --- /dev/null +++ b/types/react-icons/lib/fa/angle-double-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAngleDoubleDown extends React.Component { } diff --git a/types/react-icons/lib/fa/angle-double-left.d.ts b/types/react-icons/lib/fa/angle-double-left.d.ts new file mode 100644 index 0000000000..ff9d38e1ad --- /dev/null +++ b/types/react-icons/lib/fa/angle-double-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAngleDoubleLeft extends React.Component { } diff --git a/types/react-icons/lib/fa/angle-double-right.d.ts b/types/react-icons/lib/fa/angle-double-right.d.ts new file mode 100644 index 0000000000..2642210681 --- /dev/null +++ b/types/react-icons/lib/fa/angle-double-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAngleDoubleRight extends React.Component { } diff --git a/types/react-icons/lib/fa/angle-double-up.d.ts b/types/react-icons/lib/fa/angle-double-up.d.ts new file mode 100644 index 0000000000..9a3af8e4bf --- /dev/null +++ b/types/react-icons/lib/fa/angle-double-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAngleDoubleUp extends React.Component { } diff --git a/types/react-icons/lib/fa/angle-down.d.ts b/types/react-icons/lib/fa/angle-down.d.ts new file mode 100644 index 0000000000..d9e5083f2a --- /dev/null +++ b/types/react-icons/lib/fa/angle-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAngleDown extends React.Component { } diff --git a/types/react-icons/lib/fa/angle-left.d.ts b/types/react-icons/lib/fa/angle-left.d.ts new file mode 100644 index 0000000000..bea87f2edd --- /dev/null +++ b/types/react-icons/lib/fa/angle-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAngleLeft extends React.Component { } diff --git a/types/react-icons/lib/fa/angle-right.d.ts b/types/react-icons/lib/fa/angle-right.d.ts new file mode 100644 index 0000000000..c5ecf220c6 --- /dev/null +++ b/types/react-icons/lib/fa/angle-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAngleRight extends React.Component { } diff --git a/types/react-icons/lib/fa/angle-up.d.ts b/types/react-icons/lib/fa/angle-up.d.ts new file mode 100644 index 0000000000..cdbc2fd506 --- /dev/null +++ b/types/react-icons/lib/fa/angle-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAngleUp extends React.Component { } diff --git a/types/react-icons/lib/fa/apple.d.ts b/types/react-icons/lib/fa/apple.d.ts new file mode 100644 index 0000000000..81a903285f --- /dev/null +++ b/types/react-icons/lib/fa/apple.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaApple extends React.Component { } diff --git a/types/react-icons/lib/fa/archive.d.ts b/types/react-icons/lib/fa/archive.d.ts new file mode 100644 index 0000000000..a86eaae4d2 --- /dev/null +++ b/types/react-icons/lib/fa/archive.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaArchive extends React.Component { } diff --git a/types/react-icons/lib/fa/area-chart.d.ts b/types/react-icons/lib/fa/area-chart.d.ts new file mode 100644 index 0000000000..989eaa3b5d --- /dev/null +++ b/types/react-icons/lib/fa/area-chart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAreaChart extends React.Component { } diff --git a/types/react-icons/lib/fa/arrow-circle-down.d.ts b/types/react-icons/lib/fa/arrow-circle-down.d.ts new file mode 100644 index 0000000000..e5551c84a8 --- /dev/null +++ b/types/react-icons/lib/fa/arrow-circle-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaArrowCircleDown extends React.Component { } diff --git a/types/react-icons/lib/fa/arrow-circle-left.d.ts b/types/react-icons/lib/fa/arrow-circle-left.d.ts new file mode 100644 index 0000000000..af722a058d --- /dev/null +++ b/types/react-icons/lib/fa/arrow-circle-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaArrowCircleLeft extends React.Component { } diff --git a/types/react-icons/lib/fa/arrow-circle-o-down.d.ts b/types/react-icons/lib/fa/arrow-circle-o-down.d.ts new file mode 100644 index 0000000000..3e06f22917 --- /dev/null +++ b/types/react-icons/lib/fa/arrow-circle-o-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaArrowCircleODown extends React.Component { } diff --git a/types/react-icons/lib/fa/arrow-circle-o-left.d.ts b/types/react-icons/lib/fa/arrow-circle-o-left.d.ts new file mode 100644 index 0000000000..687373f29c --- /dev/null +++ b/types/react-icons/lib/fa/arrow-circle-o-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaArrowCircleOLeft extends React.Component { } diff --git a/types/react-icons/lib/fa/arrow-circle-o-right.d.ts b/types/react-icons/lib/fa/arrow-circle-o-right.d.ts new file mode 100644 index 0000000000..c1378c89b6 --- /dev/null +++ b/types/react-icons/lib/fa/arrow-circle-o-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaArrowCircleORight extends React.Component { } diff --git a/types/react-icons/lib/fa/arrow-circle-o-up.d.ts b/types/react-icons/lib/fa/arrow-circle-o-up.d.ts new file mode 100644 index 0000000000..6d67c2f160 --- /dev/null +++ b/types/react-icons/lib/fa/arrow-circle-o-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaArrowCircleOUp extends React.Component { } diff --git a/types/react-icons/lib/fa/arrow-circle-right.d.ts b/types/react-icons/lib/fa/arrow-circle-right.d.ts new file mode 100644 index 0000000000..0916b5328d --- /dev/null +++ b/types/react-icons/lib/fa/arrow-circle-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaArrowCircleRight extends React.Component { } diff --git a/types/react-icons/lib/fa/arrow-circle-up.d.ts b/types/react-icons/lib/fa/arrow-circle-up.d.ts new file mode 100644 index 0000000000..1d4af5320c --- /dev/null +++ b/types/react-icons/lib/fa/arrow-circle-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaArrowCircleUp extends React.Component { } diff --git a/types/react-icons/lib/fa/arrow-down.d.ts b/types/react-icons/lib/fa/arrow-down.d.ts new file mode 100644 index 0000000000..845ae5bda7 --- /dev/null +++ b/types/react-icons/lib/fa/arrow-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaArrowDown extends React.Component { } diff --git a/types/react-icons/lib/fa/arrow-left.d.ts b/types/react-icons/lib/fa/arrow-left.d.ts new file mode 100644 index 0000000000..b5333dd62c --- /dev/null +++ b/types/react-icons/lib/fa/arrow-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaArrowLeft extends React.Component { } diff --git a/types/react-icons/lib/fa/arrow-right.d.ts b/types/react-icons/lib/fa/arrow-right.d.ts new file mode 100644 index 0000000000..7cad9380d5 --- /dev/null +++ b/types/react-icons/lib/fa/arrow-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaArrowRight extends React.Component { } diff --git a/types/react-icons/lib/fa/arrow-up.d.ts b/types/react-icons/lib/fa/arrow-up.d.ts new file mode 100644 index 0000000000..eb96f4b47d --- /dev/null +++ b/types/react-icons/lib/fa/arrow-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaArrowUp extends React.Component { } diff --git a/types/react-icons/lib/fa/arrows-alt.d.ts b/types/react-icons/lib/fa/arrows-alt.d.ts new file mode 100644 index 0000000000..0497e59469 --- /dev/null +++ b/types/react-icons/lib/fa/arrows-alt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaArrowsAlt extends React.Component { } diff --git a/types/react-icons/lib/fa/arrows-h.d.ts b/types/react-icons/lib/fa/arrows-h.d.ts new file mode 100644 index 0000000000..53e31e5671 --- /dev/null +++ b/types/react-icons/lib/fa/arrows-h.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaArrowsH extends React.Component { } diff --git a/types/react-icons/lib/fa/arrows-v.d.ts b/types/react-icons/lib/fa/arrows-v.d.ts new file mode 100644 index 0000000000..6b4cb60249 --- /dev/null +++ b/types/react-icons/lib/fa/arrows-v.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaArrowsV extends React.Component { } diff --git a/types/react-icons/lib/fa/arrows.d.ts b/types/react-icons/lib/fa/arrows.d.ts new file mode 100644 index 0000000000..16175f7688 --- /dev/null +++ b/types/react-icons/lib/fa/arrows.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaArrows extends React.Component { } diff --git a/types/react-icons/lib/fa/assistive-listening-systems.d.ts b/types/react-icons/lib/fa/assistive-listening-systems.d.ts new file mode 100644 index 0000000000..f6e1649de6 --- /dev/null +++ b/types/react-icons/lib/fa/assistive-listening-systems.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAssistiveListeningSystems extends React.Component { } diff --git a/types/react-icons/lib/fa/asterisk.d.ts b/types/react-icons/lib/fa/asterisk.d.ts new file mode 100644 index 0000000000..89fc42ca05 --- /dev/null +++ b/types/react-icons/lib/fa/asterisk.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAsterisk extends React.Component { } diff --git a/types/react-icons/lib/fa/at.d.ts b/types/react-icons/lib/fa/at.d.ts new file mode 100644 index 0000000000..a871055990 --- /dev/null +++ b/types/react-icons/lib/fa/at.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAt extends React.Component { } diff --git a/types/react-icons/lib/fa/audio-description.d.ts b/types/react-icons/lib/fa/audio-description.d.ts new file mode 100644 index 0000000000..476ef84b6a --- /dev/null +++ b/types/react-icons/lib/fa/audio-description.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAudioDescription extends React.Component { } diff --git a/types/react-icons/lib/fa/automobile.d.ts b/types/react-icons/lib/fa/automobile.d.ts new file mode 100644 index 0000000000..4a6a259ff3 --- /dev/null +++ b/types/react-icons/lib/fa/automobile.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaAutomobile extends React.Component { } diff --git a/types/react-icons/lib/fa/backward.d.ts b/types/react-icons/lib/fa/backward.d.ts new file mode 100644 index 0000000000..ac9bc7b820 --- /dev/null +++ b/types/react-icons/lib/fa/backward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBackward extends React.Component { } diff --git a/types/react-icons/lib/fa/balance-scale.d.ts b/types/react-icons/lib/fa/balance-scale.d.ts new file mode 100644 index 0000000000..ae8446ed1b --- /dev/null +++ b/types/react-icons/lib/fa/balance-scale.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBalanceScale extends React.Component { } diff --git a/types/react-icons/lib/fa/ban.d.ts b/types/react-icons/lib/fa/ban.d.ts new file mode 100644 index 0000000000..b2f668bcef --- /dev/null +++ b/types/react-icons/lib/fa/ban.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBan extends React.Component { } diff --git a/types/react-icons/lib/fa/bank.d.ts b/types/react-icons/lib/fa/bank.d.ts new file mode 100644 index 0000000000..0d3a14ebf8 --- /dev/null +++ b/types/react-icons/lib/fa/bank.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBank extends React.Component { } diff --git a/types/react-icons/lib/fa/bar-chart.d.ts b/types/react-icons/lib/fa/bar-chart.d.ts new file mode 100644 index 0000000000..b184edbda5 --- /dev/null +++ b/types/react-icons/lib/fa/bar-chart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBarChart extends React.Component { } diff --git a/types/react-icons/lib/fa/barcode.d.ts b/types/react-icons/lib/fa/barcode.d.ts new file mode 100644 index 0000000000..4f764358a7 --- /dev/null +++ b/types/react-icons/lib/fa/barcode.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBarcode extends React.Component { } diff --git a/types/react-icons/lib/fa/bars.d.ts b/types/react-icons/lib/fa/bars.d.ts new file mode 100644 index 0000000000..5a3272c896 --- /dev/null +++ b/types/react-icons/lib/fa/bars.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBars extends React.Component { } diff --git a/types/react-icons/lib/fa/battery-0.d.ts b/types/react-icons/lib/fa/battery-0.d.ts new file mode 100644 index 0000000000..c7ad0b12b1 --- /dev/null +++ b/types/react-icons/lib/fa/battery-0.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBattery0 extends React.Component { } diff --git a/types/react-icons/lib/fa/battery-1.d.ts b/types/react-icons/lib/fa/battery-1.d.ts new file mode 100644 index 0000000000..a7db7a950f --- /dev/null +++ b/types/react-icons/lib/fa/battery-1.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBattery1 extends React.Component { } diff --git a/types/react-icons/lib/fa/battery-2.d.ts b/types/react-icons/lib/fa/battery-2.d.ts new file mode 100644 index 0000000000..345d261889 --- /dev/null +++ b/types/react-icons/lib/fa/battery-2.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBattery2 extends React.Component { } diff --git a/types/react-icons/lib/fa/battery-3.d.ts b/types/react-icons/lib/fa/battery-3.d.ts new file mode 100644 index 0000000000..bc2a62de56 --- /dev/null +++ b/types/react-icons/lib/fa/battery-3.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBattery3 extends React.Component { } diff --git a/types/react-icons/lib/fa/battery-4.d.ts b/types/react-icons/lib/fa/battery-4.d.ts new file mode 100644 index 0000000000..0541fd5f79 --- /dev/null +++ b/types/react-icons/lib/fa/battery-4.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBattery4 extends React.Component { } diff --git a/types/react-icons/lib/fa/bed.d.ts b/types/react-icons/lib/fa/bed.d.ts new file mode 100644 index 0000000000..5eab8918d4 --- /dev/null +++ b/types/react-icons/lib/fa/bed.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBed extends React.Component { } diff --git a/types/react-icons/lib/fa/beer.d.ts b/types/react-icons/lib/fa/beer.d.ts new file mode 100644 index 0000000000..79bbeb09d2 --- /dev/null +++ b/types/react-icons/lib/fa/beer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBeer extends React.Component { } diff --git a/types/react-icons/lib/fa/behance-square.d.ts b/types/react-icons/lib/fa/behance-square.d.ts new file mode 100644 index 0000000000..550cb6b841 --- /dev/null +++ b/types/react-icons/lib/fa/behance-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBehanceSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/behance.d.ts b/types/react-icons/lib/fa/behance.d.ts new file mode 100644 index 0000000000..e51df4de64 --- /dev/null +++ b/types/react-icons/lib/fa/behance.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBehance extends React.Component { } diff --git a/types/react-icons/lib/fa/bell-o.d.ts b/types/react-icons/lib/fa/bell-o.d.ts new file mode 100644 index 0000000000..13f162cd71 --- /dev/null +++ b/types/react-icons/lib/fa/bell-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBellO extends React.Component { } diff --git a/types/react-icons/lib/fa/bell-slash-o.d.ts b/types/react-icons/lib/fa/bell-slash-o.d.ts new file mode 100644 index 0000000000..49ae89d8d4 --- /dev/null +++ b/types/react-icons/lib/fa/bell-slash-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBellSlashO extends React.Component { } diff --git a/types/react-icons/lib/fa/bell-slash.d.ts b/types/react-icons/lib/fa/bell-slash.d.ts new file mode 100644 index 0000000000..305b77912b --- /dev/null +++ b/types/react-icons/lib/fa/bell-slash.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBellSlash extends React.Component { } diff --git a/types/react-icons/lib/fa/bell.d.ts b/types/react-icons/lib/fa/bell.d.ts new file mode 100644 index 0000000000..4ec0031ae6 --- /dev/null +++ b/types/react-icons/lib/fa/bell.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBell extends React.Component { } diff --git a/types/react-icons/lib/fa/bicycle.d.ts b/types/react-icons/lib/fa/bicycle.d.ts new file mode 100644 index 0000000000..e0017c15ca --- /dev/null +++ b/types/react-icons/lib/fa/bicycle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBicycle extends React.Component { } diff --git a/types/react-icons/lib/fa/binoculars.d.ts b/types/react-icons/lib/fa/binoculars.d.ts new file mode 100644 index 0000000000..5dd06d8ed4 --- /dev/null +++ b/types/react-icons/lib/fa/binoculars.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBinoculars extends React.Component { } diff --git a/types/react-icons/lib/fa/birthday-cake.d.ts b/types/react-icons/lib/fa/birthday-cake.d.ts new file mode 100644 index 0000000000..24af4a13f7 --- /dev/null +++ b/types/react-icons/lib/fa/birthday-cake.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBirthdayCake extends React.Component { } diff --git a/types/react-icons/lib/fa/bitbucket-square.d.ts b/types/react-icons/lib/fa/bitbucket-square.d.ts new file mode 100644 index 0000000000..e9c80979f9 --- /dev/null +++ b/types/react-icons/lib/fa/bitbucket-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBitbucketSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/bitbucket.d.ts b/types/react-icons/lib/fa/bitbucket.d.ts new file mode 100644 index 0000000000..3e46e9e0a9 --- /dev/null +++ b/types/react-icons/lib/fa/bitbucket.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBitbucket extends React.Component { } diff --git a/types/react-icons/lib/fa/bitcoin.d.ts b/types/react-icons/lib/fa/bitcoin.d.ts new file mode 100644 index 0000000000..34e0ee64b3 --- /dev/null +++ b/types/react-icons/lib/fa/bitcoin.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBitcoin extends React.Component { } diff --git a/types/react-icons/lib/fa/black-tie.d.ts b/types/react-icons/lib/fa/black-tie.d.ts new file mode 100644 index 0000000000..4586a07039 --- /dev/null +++ b/types/react-icons/lib/fa/black-tie.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBlackTie extends React.Component { } diff --git a/types/react-icons/lib/fa/blind.d.ts b/types/react-icons/lib/fa/blind.d.ts new file mode 100644 index 0000000000..eb3606ac4c --- /dev/null +++ b/types/react-icons/lib/fa/blind.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBlind extends React.Component { } diff --git a/types/react-icons/lib/fa/bluetooth-b.d.ts b/types/react-icons/lib/fa/bluetooth-b.d.ts new file mode 100644 index 0000000000..4ca6448c1a --- /dev/null +++ b/types/react-icons/lib/fa/bluetooth-b.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBluetoothB extends React.Component { } diff --git a/types/react-icons/lib/fa/bluetooth.d.ts b/types/react-icons/lib/fa/bluetooth.d.ts new file mode 100644 index 0000000000..0aba8d08f5 --- /dev/null +++ b/types/react-icons/lib/fa/bluetooth.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBluetooth extends React.Component { } diff --git a/types/react-icons/lib/fa/bold.d.ts b/types/react-icons/lib/fa/bold.d.ts new file mode 100644 index 0000000000..65c28daedc --- /dev/null +++ b/types/react-icons/lib/fa/bold.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBold extends React.Component { } diff --git a/types/react-icons/lib/fa/bolt.d.ts b/types/react-icons/lib/fa/bolt.d.ts new file mode 100644 index 0000000000..f4ecb5e36e --- /dev/null +++ b/types/react-icons/lib/fa/bolt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBolt extends React.Component { } diff --git a/types/react-icons/lib/fa/bomb.d.ts b/types/react-icons/lib/fa/bomb.d.ts new file mode 100644 index 0000000000..7d8f3fff70 --- /dev/null +++ b/types/react-icons/lib/fa/bomb.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBomb extends React.Component { } diff --git a/types/react-icons/lib/fa/book.d.ts b/types/react-icons/lib/fa/book.d.ts new file mode 100644 index 0000000000..2925f2f925 --- /dev/null +++ b/types/react-icons/lib/fa/book.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBook extends React.Component { } diff --git a/types/react-icons/lib/fa/bookmark-o.d.ts b/types/react-icons/lib/fa/bookmark-o.d.ts new file mode 100644 index 0000000000..07b10ae683 --- /dev/null +++ b/types/react-icons/lib/fa/bookmark-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBookmarkO extends React.Component { } diff --git a/types/react-icons/lib/fa/bookmark.d.ts b/types/react-icons/lib/fa/bookmark.d.ts new file mode 100644 index 0000000000..60f758e9ae --- /dev/null +++ b/types/react-icons/lib/fa/bookmark.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBookmark extends React.Component { } diff --git a/types/react-icons/lib/fa/braille.d.ts b/types/react-icons/lib/fa/braille.d.ts new file mode 100644 index 0000000000..4619546218 --- /dev/null +++ b/types/react-icons/lib/fa/braille.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBraille extends React.Component { } diff --git a/types/react-icons/lib/fa/briefcase.d.ts b/types/react-icons/lib/fa/briefcase.d.ts new file mode 100644 index 0000000000..ef7d7a3e67 --- /dev/null +++ b/types/react-icons/lib/fa/briefcase.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBriefcase extends React.Component { } diff --git a/types/react-icons/lib/fa/bug.d.ts b/types/react-icons/lib/fa/bug.d.ts new file mode 100644 index 0000000000..3a386909a9 --- /dev/null +++ b/types/react-icons/lib/fa/bug.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBug extends React.Component { } diff --git a/types/react-icons/lib/fa/building-o.d.ts b/types/react-icons/lib/fa/building-o.d.ts new file mode 100644 index 0000000000..1dab73f883 --- /dev/null +++ b/types/react-icons/lib/fa/building-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBuildingO extends React.Component { } diff --git a/types/react-icons/lib/fa/building.d.ts b/types/react-icons/lib/fa/building.d.ts new file mode 100644 index 0000000000..1094d0547b --- /dev/null +++ b/types/react-icons/lib/fa/building.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBuilding extends React.Component { } diff --git a/types/react-icons/lib/fa/bullhorn.d.ts b/types/react-icons/lib/fa/bullhorn.d.ts new file mode 100644 index 0000000000..83424c5116 --- /dev/null +++ b/types/react-icons/lib/fa/bullhorn.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBullhorn extends React.Component { } diff --git a/types/react-icons/lib/fa/bullseye.d.ts b/types/react-icons/lib/fa/bullseye.d.ts new file mode 100644 index 0000000000..eaa9ba66fe --- /dev/null +++ b/types/react-icons/lib/fa/bullseye.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBullseye extends React.Component { } diff --git a/types/react-icons/lib/fa/bus.d.ts b/types/react-icons/lib/fa/bus.d.ts new file mode 100644 index 0000000000..7fc2f7bfc5 --- /dev/null +++ b/types/react-icons/lib/fa/bus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBus extends React.Component { } diff --git a/types/react-icons/lib/fa/buysellads.d.ts b/types/react-icons/lib/fa/buysellads.d.ts new file mode 100644 index 0000000000..304c070cce --- /dev/null +++ b/types/react-icons/lib/fa/buysellads.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaBuysellads extends React.Component { } diff --git a/types/react-icons/lib/fa/cab.d.ts b/types/react-icons/lib/fa/cab.d.ts new file mode 100644 index 0000000000..cd6af6ddd4 --- /dev/null +++ b/types/react-icons/lib/fa/cab.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCab extends React.Component { } diff --git a/types/react-icons/lib/fa/calculator.d.ts b/types/react-icons/lib/fa/calculator.d.ts new file mode 100644 index 0000000000..ed26af229f --- /dev/null +++ b/types/react-icons/lib/fa/calculator.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCalculator extends React.Component { } diff --git a/types/react-icons/lib/fa/calendar-check-o.d.ts b/types/react-icons/lib/fa/calendar-check-o.d.ts new file mode 100644 index 0000000000..9829dc60c3 --- /dev/null +++ b/types/react-icons/lib/fa/calendar-check-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCalendarCheckO extends React.Component { } diff --git a/types/react-icons/lib/fa/calendar-minus-o.d.ts b/types/react-icons/lib/fa/calendar-minus-o.d.ts new file mode 100644 index 0000000000..64a2d3a3e3 --- /dev/null +++ b/types/react-icons/lib/fa/calendar-minus-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCalendarMinusO extends React.Component { } diff --git a/types/react-icons/lib/fa/calendar-o.d.ts b/types/react-icons/lib/fa/calendar-o.d.ts new file mode 100644 index 0000000000..8a70d1c368 --- /dev/null +++ b/types/react-icons/lib/fa/calendar-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCalendarO extends React.Component { } diff --git a/types/react-icons/lib/fa/calendar-plus-o.d.ts b/types/react-icons/lib/fa/calendar-plus-o.d.ts new file mode 100644 index 0000000000..0ff42b4d29 --- /dev/null +++ b/types/react-icons/lib/fa/calendar-plus-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCalendarPlusO extends React.Component { } diff --git a/types/react-icons/lib/fa/calendar-times-o.d.ts b/types/react-icons/lib/fa/calendar-times-o.d.ts new file mode 100644 index 0000000000..2a81539d66 --- /dev/null +++ b/types/react-icons/lib/fa/calendar-times-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCalendarTimesO extends React.Component { } diff --git a/types/react-icons/lib/fa/calendar.d.ts b/types/react-icons/lib/fa/calendar.d.ts new file mode 100644 index 0000000000..deec1eaeb4 --- /dev/null +++ b/types/react-icons/lib/fa/calendar.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCalendar extends React.Component { } diff --git a/types/react-icons/lib/fa/camera-retro.d.ts b/types/react-icons/lib/fa/camera-retro.d.ts new file mode 100644 index 0000000000..64821f1f67 --- /dev/null +++ b/types/react-icons/lib/fa/camera-retro.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCameraRetro extends React.Component { } diff --git a/types/react-icons/lib/fa/camera.d.ts b/types/react-icons/lib/fa/camera.d.ts new file mode 100644 index 0000000000..4928697191 --- /dev/null +++ b/types/react-icons/lib/fa/camera.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCamera extends React.Component { } diff --git a/types/react-icons/lib/fa/caret-down.d.ts b/types/react-icons/lib/fa/caret-down.d.ts new file mode 100644 index 0000000000..dbc43f0466 --- /dev/null +++ b/types/react-icons/lib/fa/caret-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCaretDown extends React.Component { } diff --git a/types/react-icons/lib/fa/caret-left.d.ts b/types/react-icons/lib/fa/caret-left.d.ts new file mode 100644 index 0000000000..420ce16ba3 --- /dev/null +++ b/types/react-icons/lib/fa/caret-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCaretLeft extends React.Component { } diff --git a/types/react-icons/lib/fa/caret-right.d.ts b/types/react-icons/lib/fa/caret-right.d.ts new file mode 100644 index 0000000000..44e7429916 --- /dev/null +++ b/types/react-icons/lib/fa/caret-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCaretRight extends React.Component { } diff --git a/types/react-icons/lib/fa/caret-square-o-down.d.ts b/types/react-icons/lib/fa/caret-square-o-down.d.ts new file mode 100644 index 0000000000..dd6d132183 --- /dev/null +++ b/types/react-icons/lib/fa/caret-square-o-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCaretSquareODown extends React.Component { } diff --git a/types/react-icons/lib/fa/caret-square-o-left.d.ts b/types/react-icons/lib/fa/caret-square-o-left.d.ts new file mode 100644 index 0000000000..042ada389c --- /dev/null +++ b/types/react-icons/lib/fa/caret-square-o-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCaretSquareOLeft extends React.Component { } diff --git a/types/react-icons/lib/fa/caret-square-o-right.d.ts b/types/react-icons/lib/fa/caret-square-o-right.d.ts new file mode 100644 index 0000000000..12cee8faf7 --- /dev/null +++ b/types/react-icons/lib/fa/caret-square-o-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCaretSquareORight extends React.Component { } diff --git a/types/react-icons/lib/fa/caret-square-o-up.d.ts b/types/react-icons/lib/fa/caret-square-o-up.d.ts new file mode 100644 index 0000000000..36e0c7bee6 --- /dev/null +++ b/types/react-icons/lib/fa/caret-square-o-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCaretSquareOUp extends React.Component { } diff --git a/types/react-icons/lib/fa/caret-up.d.ts b/types/react-icons/lib/fa/caret-up.d.ts new file mode 100644 index 0000000000..4eaad4bb41 --- /dev/null +++ b/types/react-icons/lib/fa/caret-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCaretUp extends React.Component { } diff --git a/types/react-icons/lib/fa/cart-arrow-down.d.ts b/types/react-icons/lib/fa/cart-arrow-down.d.ts new file mode 100644 index 0000000000..539933f702 --- /dev/null +++ b/types/react-icons/lib/fa/cart-arrow-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCartArrowDown extends React.Component { } diff --git a/types/react-icons/lib/fa/cart-plus.d.ts b/types/react-icons/lib/fa/cart-plus.d.ts new file mode 100644 index 0000000000..00e645e840 --- /dev/null +++ b/types/react-icons/lib/fa/cart-plus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCartPlus extends React.Component { } diff --git a/types/react-icons/lib/fa/cc-amex.d.ts b/types/react-icons/lib/fa/cc-amex.d.ts new file mode 100644 index 0000000000..daede8980e --- /dev/null +++ b/types/react-icons/lib/fa/cc-amex.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCcAmex extends React.Component { } diff --git a/types/react-icons/lib/fa/cc-diners-club.d.ts b/types/react-icons/lib/fa/cc-diners-club.d.ts new file mode 100644 index 0000000000..5263120cb0 --- /dev/null +++ b/types/react-icons/lib/fa/cc-diners-club.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCcDinersClub extends React.Component { } diff --git a/types/react-icons/lib/fa/cc-discover.d.ts b/types/react-icons/lib/fa/cc-discover.d.ts new file mode 100644 index 0000000000..0d5e5d6daa --- /dev/null +++ b/types/react-icons/lib/fa/cc-discover.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCcDiscover extends React.Component { } diff --git a/types/react-icons/lib/fa/cc-jcb.d.ts b/types/react-icons/lib/fa/cc-jcb.d.ts new file mode 100644 index 0000000000..3aeb4c483f --- /dev/null +++ b/types/react-icons/lib/fa/cc-jcb.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCcJcb extends React.Component { } diff --git a/types/react-icons/lib/fa/cc-mastercard.d.ts b/types/react-icons/lib/fa/cc-mastercard.d.ts new file mode 100644 index 0000000000..58e0e375c0 --- /dev/null +++ b/types/react-icons/lib/fa/cc-mastercard.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCcMastercard extends React.Component { } diff --git a/types/react-icons/lib/fa/cc-paypal.d.ts b/types/react-icons/lib/fa/cc-paypal.d.ts new file mode 100644 index 0000000000..4fb116f8ab --- /dev/null +++ b/types/react-icons/lib/fa/cc-paypal.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCcPaypal extends React.Component { } diff --git a/types/react-icons/lib/fa/cc-stripe.d.ts b/types/react-icons/lib/fa/cc-stripe.d.ts new file mode 100644 index 0000000000..afb2d4cac8 --- /dev/null +++ b/types/react-icons/lib/fa/cc-stripe.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCcStripe extends React.Component { } diff --git a/types/react-icons/lib/fa/cc-visa.d.ts b/types/react-icons/lib/fa/cc-visa.d.ts new file mode 100644 index 0000000000..4e5b06b45f --- /dev/null +++ b/types/react-icons/lib/fa/cc-visa.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCcVisa extends React.Component { } diff --git a/types/react-icons/lib/fa/cc.d.ts b/types/react-icons/lib/fa/cc.d.ts new file mode 100644 index 0000000000..e2c4036439 --- /dev/null +++ b/types/react-icons/lib/fa/cc.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCc extends React.Component { } diff --git a/types/react-icons/lib/fa/certificate.d.ts b/types/react-icons/lib/fa/certificate.d.ts new file mode 100644 index 0000000000..c8845fb117 --- /dev/null +++ b/types/react-icons/lib/fa/certificate.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCertificate extends React.Component { } diff --git a/types/react-icons/lib/fa/chain-broken.d.ts b/types/react-icons/lib/fa/chain-broken.d.ts new file mode 100644 index 0000000000..87a8310d0a --- /dev/null +++ b/types/react-icons/lib/fa/chain-broken.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaChainBroken extends React.Component { } diff --git a/types/react-icons/lib/fa/chain.d.ts b/types/react-icons/lib/fa/chain.d.ts new file mode 100644 index 0000000000..8359a5f773 --- /dev/null +++ b/types/react-icons/lib/fa/chain.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaChain extends React.Component { } diff --git a/types/react-icons/lib/fa/check-circle-o.d.ts b/types/react-icons/lib/fa/check-circle-o.d.ts new file mode 100644 index 0000000000..32390d5c4c --- /dev/null +++ b/types/react-icons/lib/fa/check-circle-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCheckCircleO extends React.Component { } diff --git a/types/react-icons/lib/fa/check-circle.d.ts b/types/react-icons/lib/fa/check-circle.d.ts new file mode 100644 index 0000000000..c30263a3be --- /dev/null +++ b/types/react-icons/lib/fa/check-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCheckCircle extends React.Component { } diff --git a/types/react-icons/lib/fa/check-square-o.d.ts b/types/react-icons/lib/fa/check-square-o.d.ts new file mode 100644 index 0000000000..b4aef21d8c --- /dev/null +++ b/types/react-icons/lib/fa/check-square-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCheckSquareO extends React.Component { } diff --git a/types/react-icons/lib/fa/check-square.d.ts b/types/react-icons/lib/fa/check-square.d.ts new file mode 100644 index 0000000000..f6ba4ce0bd --- /dev/null +++ b/types/react-icons/lib/fa/check-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCheckSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/check.d.ts b/types/react-icons/lib/fa/check.d.ts new file mode 100644 index 0000000000..b30727c61c --- /dev/null +++ b/types/react-icons/lib/fa/check.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCheck extends React.Component { } diff --git a/types/react-icons/lib/fa/chevron-circle-down.d.ts b/types/react-icons/lib/fa/chevron-circle-down.d.ts new file mode 100644 index 0000000000..35eb978aec --- /dev/null +++ b/types/react-icons/lib/fa/chevron-circle-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaChevronCircleDown extends React.Component { } diff --git a/types/react-icons/lib/fa/chevron-circle-left.d.ts b/types/react-icons/lib/fa/chevron-circle-left.d.ts new file mode 100644 index 0000000000..e84cdd9146 --- /dev/null +++ b/types/react-icons/lib/fa/chevron-circle-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaChevronCircleLeft extends React.Component { } diff --git a/types/react-icons/lib/fa/chevron-circle-right.d.ts b/types/react-icons/lib/fa/chevron-circle-right.d.ts new file mode 100644 index 0000000000..d5e4d2429c --- /dev/null +++ b/types/react-icons/lib/fa/chevron-circle-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaChevronCircleRight extends React.Component { } diff --git a/types/react-icons/lib/fa/chevron-circle-up.d.ts b/types/react-icons/lib/fa/chevron-circle-up.d.ts new file mode 100644 index 0000000000..bedcb877d6 --- /dev/null +++ b/types/react-icons/lib/fa/chevron-circle-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaChevronCircleUp extends React.Component { } diff --git a/types/react-icons/lib/fa/chevron-down.d.ts b/types/react-icons/lib/fa/chevron-down.d.ts new file mode 100644 index 0000000000..5c9ae23cf8 --- /dev/null +++ b/types/react-icons/lib/fa/chevron-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaChevronDown extends React.Component { } diff --git a/types/react-icons/lib/fa/chevron-left.d.ts b/types/react-icons/lib/fa/chevron-left.d.ts new file mode 100644 index 0000000000..b07fae8a5e --- /dev/null +++ b/types/react-icons/lib/fa/chevron-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaChevronLeft extends React.Component { } diff --git a/types/react-icons/lib/fa/chevron-right.d.ts b/types/react-icons/lib/fa/chevron-right.d.ts new file mode 100644 index 0000000000..27f6264560 --- /dev/null +++ b/types/react-icons/lib/fa/chevron-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaChevronRight extends React.Component { } diff --git a/types/react-icons/lib/fa/chevron-up.d.ts b/types/react-icons/lib/fa/chevron-up.d.ts new file mode 100644 index 0000000000..3847054d06 --- /dev/null +++ b/types/react-icons/lib/fa/chevron-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaChevronUp extends React.Component { } diff --git a/types/react-icons/lib/fa/child.d.ts b/types/react-icons/lib/fa/child.d.ts new file mode 100644 index 0000000000..08209ee585 --- /dev/null +++ b/types/react-icons/lib/fa/child.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaChild extends React.Component { } diff --git a/types/react-icons/lib/fa/chrome.d.ts b/types/react-icons/lib/fa/chrome.d.ts new file mode 100644 index 0000000000..703caadb19 --- /dev/null +++ b/types/react-icons/lib/fa/chrome.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaChrome extends React.Component { } diff --git a/types/react-icons/lib/fa/circle-o-notch.d.ts b/types/react-icons/lib/fa/circle-o-notch.d.ts new file mode 100644 index 0000000000..ed18a9f78d --- /dev/null +++ b/types/react-icons/lib/fa/circle-o-notch.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCircleONotch extends React.Component { } diff --git a/types/react-icons/lib/fa/circle-o.d.ts b/types/react-icons/lib/fa/circle-o.d.ts new file mode 100644 index 0000000000..05001b7669 --- /dev/null +++ b/types/react-icons/lib/fa/circle-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCircleO extends React.Component { } diff --git a/types/react-icons/lib/fa/circle-thin.d.ts b/types/react-icons/lib/fa/circle-thin.d.ts new file mode 100644 index 0000000000..017b8a0e4d --- /dev/null +++ b/types/react-icons/lib/fa/circle-thin.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCircleThin extends React.Component { } diff --git a/types/react-icons/lib/fa/circle.d.ts b/types/react-icons/lib/fa/circle.d.ts new file mode 100644 index 0000000000..14b042ae0b --- /dev/null +++ b/types/react-icons/lib/fa/circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCircle extends React.Component { } diff --git a/types/react-icons/lib/fa/clipboard.d.ts b/types/react-icons/lib/fa/clipboard.d.ts new file mode 100644 index 0000000000..6a15d300fb --- /dev/null +++ b/types/react-icons/lib/fa/clipboard.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaClipboard extends React.Component { } diff --git a/types/react-icons/lib/fa/clock-o.d.ts b/types/react-icons/lib/fa/clock-o.d.ts new file mode 100644 index 0000000000..021deeb65e --- /dev/null +++ b/types/react-icons/lib/fa/clock-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaClockO extends React.Component { } diff --git a/types/react-icons/lib/fa/clone.d.ts b/types/react-icons/lib/fa/clone.d.ts new file mode 100644 index 0000000000..60b8d9d0b9 --- /dev/null +++ b/types/react-icons/lib/fa/clone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaClone extends React.Component { } diff --git a/types/react-icons/lib/fa/close.d.ts b/types/react-icons/lib/fa/close.d.ts new file mode 100644 index 0000000000..81b3c24102 --- /dev/null +++ b/types/react-icons/lib/fa/close.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaClose extends React.Component { } diff --git a/types/react-icons/lib/fa/cloud-download.d.ts b/types/react-icons/lib/fa/cloud-download.d.ts new file mode 100644 index 0000000000..76834995ef --- /dev/null +++ b/types/react-icons/lib/fa/cloud-download.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCloudDownload extends React.Component { } diff --git a/types/react-icons/lib/fa/cloud-upload.d.ts b/types/react-icons/lib/fa/cloud-upload.d.ts new file mode 100644 index 0000000000..68e7a59934 --- /dev/null +++ b/types/react-icons/lib/fa/cloud-upload.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCloudUpload extends React.Component { } diff --git a/types/react-icons/lib/fa/cloud.d.ts b/types/react-icons/lib/fa/cloud.d.ts new file mode 100644 index 0000000000..555b3f5a09 --- /dev/null +++ b/types/react-icons/lib/fa/cloud.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCloud extends React.Component { } diff --git a/types/react-icons/lib/fa/cny.d.ts b/types/react-icons/lib/fa/cny.d.ts new file mode 100644 index 0000000000..816523c44e --- /dev/null +++ b/types/react-icons/lib/fa/cny.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCny extends React.Component { } diff --git a/types/react-icons/lib/fa/code-fork.d.ts b/types/react-icons/lib/fa/code-fork.d.ts new file mode 100644 index 0000000000..520f347006 --- /dev/null +++ b/types/react-icons/lib/fa/code-fork.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCodeFork extends React.Component { } diff --git a/types/react-icons/lib/fa/code.d.ts b/types/react-icons/lib/fa/code.d.ts new file mode 100644 index 0000000000..5a9b025804 --- /dev/null +++ b/types/react-icons/lib/fa/code.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCode extends React.Component { } diff --git a/types/react-icons/lib/fa/codepen.d.ts b/types/react-icons/lib/fa/codepen.d.ts new file mode 100644 index 0000000000..e317fd7e6e --- /dev/null +++ b/types/react-icons/lib/fa/codepen.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCodepen extends React.Component { } diff --git a/types/react-icons/lib/fa/codiepie.d.ts b/types/react-icons/lib/fa/codiepie.d.ts new file mode 100644 index 0000000000..74deac600a --- /dev/null +++ b/types/react-icons/lib/fa/codiepie.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCodiepie extends React.Component { } diff --git a/types/react-icons/lib/fa/coffee.d.ts b/types/react-icons/lib/fa/coffee.d.ts new file mode 100644 index 0000000000..defdc05087 --- /dev/null +++ b/types/react-icons/lib/fa/coffee.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCoffee extends React.Component { } diff --git a/types/react-icons/lib/fa/cog.d.ts b/types/react-icons/lib/fa/cog.d.ts new file mode 100644 index 0000000000..1fe2c08345 --- /dev/null +++ b/types/react-icons/lib/fa/cog.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCog extends React.Component { } diff --git a/types/react-icons/lib/fa/cogs.d.ts b/types/react-icons/lib/fa/cogs.d.ts new file mode 100644 index 0000000000..daf4b449d3 --- /dev/null +++ b/types/react-icons/lib/fa/cogs.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCogs extends React.Component { } diff --git a/types/react-icons/lib/fa/columns.d.ts b/types/react-icons/lib/fa/columns.d.ts new file mode 100644 index 0000000000..8e88628b63 --- /dev/null +++ b/types/react-icons/lib/fa/columns.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaColumns extends React.Component { } diff --git a/types/react-icons/lib/fa/comment-o.d.ts b/types/react-icons/lib/fa/comment-o.d.ts new file mode 100644 index 0000000000..e627ec6248 --- /dev/null +++ b/types/react-icons/lib/fa/comment-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCommentO extends React.Component { } diff --git a/types/react-icons/lib/fa/comment.d.ts b/types/react-icons/lib/fa/comment.d.ts new file mode 100644 index 0000000000..82043adb6a --- /dev/null +++ b/types/react-icons/lib/fa/comment.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaComment extends React.Component { } diff --git a/types/react-icons/lib/fa/commenting-o.d.ts b/types/react-icons/lib/fa/commenting-o.d.ts new file mode 100644 index 0000000000..40a4c3f058 --- /dev/null +++ b/types/react-icons/lib/fa/commenting-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCommentingO extends React.Component { } diff --git a/types/react-icons/lib/fa/commenting.d.ts b/types/react-icons/lib/fa/commenting.d.ts new file mode 100644 index 0000000000..1031cc0ad6 --- /dev/null +++ b/types/react-icons/lib/fa/commenting.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCommenting extends React.Component { } diff --git a/types/react-icons/lib/fa/comments-o.d.ts b/types/react-icons/lib/fa/comments-o.d.ts new file mode 100644 index 0000000000..191de8b6a3 --- /dev/null +++ b/types/react-icons/lib/fa/comments-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCommentsO extends React.Component { } diff --git a/types/react-icons/lib/fa/comments.d.ts b/types/react-icons/lib/fa/comments.d.ts new file mode 100644 index 0000000000..e77e9f4b42 --- /dev/null +++ b/types/react-icons/lib/fa/comments.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaComments extends React.Component { } diff --git a/types/react-icons/lib/fa/compass.d.ts b/types/react-icons/lib/fa/compass.d.ts new file mode 100644 index 0000000000..36d4843b21 --- /dev/null +++ b/types/react-icons/lib/fa/compass.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCompass extends React.Component { } diff --git a/types/react-icons/lib/fa/compress.d.ts b/types/react-icons/lib/fa/compress.d.ts new file mode 100644 index 0000000000..7f2f48ca22 --- /dev/null +++ b/types/react-icons/lib/fa/compress.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCompress extends React.Component { } diff --git a/types/react-icons/lib/fa/connectdevelop.d.ts b/types/react-icons/lib/fa/connectdevelop.d.ts new file mode 100644 index 0000000000..aae5bfa48c --- /dev/null +++ b/types/react-icons/lib/fa/connectdevelop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaConnectdevelop extends React.Component { } diff --git a/types/react-icons/lib/fa/contao.d.ts b/types/react-icons/lib/fa/contao.d.ts new file mode 100644 index 0000000000..c99ab675b4 --- /dev/null +++ b/types/react-icons/lib/fa/contao.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaContao extends React.Component { } diff --git a/types/react-icons/lib/fa/copy.d.ts b/types/react-icons/lib/fa/copy.d.ts new file mode 100644 index 0000000000..3e6e11bf31 --- /dev/null +++ b/types/react-icons/lib/fa/copy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCopy extends React.Component { } diff --git a/types/react-icons/lib/fa/copyright.d.ts b/types/react-icons/lib/fa/copyright.d.ts new file mode 100644 index 0000000000..630383979f --- /dev/null +++ b/types/react-icons/lib/fa/copyright.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCopyright extends React.Component { } diff --git a/types/react-icons/lib/fa/creative-commons.d.ts b/types/react-icons/lib/fa/creative-commons.d.ts new file mode 100644 index 0000000000..eecacfd23c --- /dev/null +++ b/types/react-icons/lib/fa/creative-commons.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCreativeCommons extends React.Component { } diff --git a/types/react-icons/lib/fa/credit-card-alt.d.ts b/types/react-icons/lib/fa/credit-card-alt.d.ts new file mode 100644 index 0000000000..c9d2f20993 --- /dev/null +++ b/types/react-icons/lib/fa/credit-card-alt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCreditCardAlt extends React.Component { } diff --git a/types/react-icons/lib/fa/credit-card.d.ts b/types/react-icons/lib/fa/credit-card.d.ts new file mode 100644 index 0000000000..374f9efdda --- /dev/null +++ b/types/react-icons/lib/fa/credit-card.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCreditCard extends React.Component { } diff --git a/types/react-icons/lib/fa/crop.d.ts b/types/react-icons/lib/fa/crop.d.ts new file mode 100644 index 0000000000..aa47690da9 --- /dev/null +++ b/types/react-icons/lib/fa/crop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCrop extends React.Component { } diff --git a/types/react-icons/lib/fa/crosshairs.d.ts b/types/react-icons/lib/fa/crosshairs.d.ts new file mode 100644 index 0000000000..c54203bb33 --- /dev/null +++ b/types/react-icons/lib/fa/crosshairs.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCrosshairs extends React.Component { } diff --git a/types/react-icons/lib/fa/css3.d.ts b/types/react-icons/lib/fa/css3.d.ts new file mode 100644 index 0000000000..361b20e295 --- /dev/null +++ b/types/react-icons/lib/fa/css3.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCss3 extends React.Component { } diff --git a/types/react-icons/lib/fa/cube.d.ts b/types/react-icons/lib/fa/cube.d.ts new file mode 100644 index 0000000000..ad9dc6b033 --- /dev/null +++ b/types/react-icons/lib/fa/cube.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCube extends React.Component { } diff --git a/types/react-icons/lib/fa/cubes.d.ts b/types/react-icons/lib/fa/cubes.d.ts new file mode 100644 index 0000000000..a2cdf49c8c --- /dev/null +++ b/types/react-icons/lib/fa/cubes.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCubes extends React.Component { } diff --git a/types/react-icons/lib/fa/cut.d.ts b/types/react-icons/lib/fa/cut.d.ts new file mode 100644 index 0000000000..0c93d3cbc2 --- /dev/null +++ b/types/react-icons/lib/fa/cut.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCut extends React.Component { } diff --git a/types/react-icons/lib/fa/cutlery.d.ts b/types/react-icons/lib/fa/cutlery.d.ts new file mode 100644 index 0000000000..f4496c61e3 --- /dev/null +++ b/types/react-icons/lib/fa/cutlery.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaCutlery extends React.Component { } diff --git a/types/react-icons/lib/fa/dashboard.d.ts b/types/react-icons/lib/fa/dashboard.d.ts new file mode 100644 index 0000000000..d763edb50d --- /dev/null +++ b/types/react-icons/lib/fa/dashboard.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaDashboard extends React.Component { } diff --git a/types/react-icons/lib/fa/dashcube.d.ts b/types/react-icons/lib/fa/dashcube.d.ts new file mode 100644 index 0000000000..ed15f887b2 --- /dev/null +++ b/types/react-icons/lib/fa/dashcube.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaDashcube extends React.Component { } diff --git a/types/react-icons/lib/fa/database.d.ts b/types/react-icons/lib/fa/database.d.ts new file mode 100644 index 0000000000..cfb7bcbedd --- /dev/null +++ b/types/react-icons/lib/fa/database.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaDatabase extends React.Component { } diff --git a/types/react-icons/lib/fa/deaf.d.ts b/types/react-icons/lib/fa/deaf.d.ts new file mode 100644 index 0000000000..a53c48b057 --- /dev/null +++ b/types/react-icons/lib/fa/deaf.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaDeaf extends React.Component { } diff --git a/types/react-icons/lib/fa/dedent.d.ts b/types/react-icons/lib/fa/dedent.d.ts new file mode 100644 index 0000000000..30db3c96d4 --- /dev/null +++ b/types/react-icons/lib/fa/dedent.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaDedent extends React.Component { } diff --git a/types/react-icons/lib/fa/delicious.d.ts b/types/react-icons/lib/fa/delicious.d.ts new file mode 100644 index 0000000000..7a069105b3 --- /dev/null +++ b/types/react-icons/lib/fa/delicious.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaDelicious extends React.Component { } diff --git a/types/react-icons/lib/fa/desktop.d.ts b/types/react-icons/lib/fa/desktop.d.ts new file mode 100644 index 0000000000..7ada5afec8 --- /dev/null +++ b/types/react-icons/lib/fa/desktop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaDesktop extends React.Component { } diff --git a/types/react-icons/lib/fa/deviantart.d.ts b/types/react-icons/lib/fa/deviantart.d.ts new file mode 100644 index 0000000000..d3d8521e04 --- /dev/null +++ b/types/react-icons/lib/fa/deviantart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaDeviantart extends React.Component { } diff --git a/types/react-icons/lib/fa/diamond.d.ts b/types/react-icons/lib/fa/diamond.d.ts new file mode 100644 index 0000000000..1d54c78101 --- /dev/null +++ b/types/react-icons/lib/fa/diamond.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaDiamond extends React.Component { } diff --git a/types/react-icons/lib/fa/digg.d.ts b/types/react-icons/lib/fa/digg.d.ts new file mode 100644 index 0000000000..7ba32cbe41 --- /dev/null +++ b/types/react-icons/lib/fa/digg.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaDigg extends React.Component { } diff --git a/types/react-icons/lib/fa/dollar.d.ts b/types/react-icons/lib/fa/dollar.d.ts new file mode 100644 index 0000000000..339fc41f86 --- /dev/null +++ b/types/react-icons/lib/fa/dollar.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaDollar extends React.Component { } diff --git a/types/react-icons/lib/fa/dot-circle-o.d.ts b/types/react-icons/lib/fa/dot-circle-o.d.ts new file mode 100644 index 0000000000..8479c5a1c1 --- /dev/null +++ b/types/react-icons/lib/fa/dot-circle-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaDotCircleO extends React.Component { } diff --git a/types/react-icons/lib/fa/download.d.ts b/types/react-icons/lib/fa/download.d.ts new file mode 100644 index 0000000000..bd458b4c21 --- /dev/null +++ b/types/react-icons/lib/fa/download.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaDownload extends React.Component { } diff --git a/types/react-icons/lib/fa/dribbble.d.ts b/types/react-icons/lib/fa/dribbble.d.ts new file mode 100644 index 0000000000..97c095c7f0 --- /dev/null +++ b/types/react-icons/lib/fa/dribbble.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaDribbble extends React.Component { } diff --git a/types/react-icons/lib/fa/dropbox.d.ts b/types/react-icons/lib/fa/dropbox.d.ts new file mode 100644 index 0000000000..1534075582 --- /dev/null +++ b/types/react-icons/lib/fa/dropbox.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaDropbox extends React.Component { } diff --git a/types/react-icons/lib/fa/drupal.d.ts b/types/react-icons/lib/fa/drupal.d.ts new file mode 100644 index 0000000000..c4318c69ed --- /dev/null +++ b/types/react-icons/lib/fa/drupal.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaDrupal extends React.Component { } diff --git a/types/react-icons/lib/fa/edge.d.ts b/types/react-icons/lib/fa/edge.d.ts new file mode 100644 index 0000000000..bfe0ccba18 --- /dev/null +++ b/types/react-icons/lib/fa/edge.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaEdge extends React.Component { } diff --git a/types/react-icons/lib/fa/edit.d.ts b/types/react-icons/lib/fa/edit.d.ts new file mode 100644 index 0000000000..e207eca02c --- /dev/null +++ b/types/react-icons/lib/fa/edit.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaEdit extends React.Component { } diff --git a/types/react-icons/lib/fa/eject.d.ts b/types/react-icons/lib/fa/eject.d.ts new file mode 100644 index 0000000000..6a8ba89e5b --- /dev/null +++ b/types/react-icons/lib/fa/eject.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaEject extends React.Component { } diff --git a/types/react-icons/lib/fa/ellipsis-h.d.ts b/types/react-icons/lib/fa/ellipsis-h.d.ts new file mode 100644 index 0000000000..6c97cce7ac --- /dev/null +++ b/types/react-icons/lib/fa/ellipsis-h.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaEllipsisH extends React.Component { } diff --git a/types/react-icons/lib/fa/ellipsis-v.d.ts b/types/react-icons/lib/fa/ellipsis-v.d.ts new file mode 100644 index 0000000000..a6a862fcc0 --- /dev/null +++ b/types/react-icons/lib/fa/ellipsis-v.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaEllipsisV extends React.Component { } diff --git a/types/react-icons/lib/fa/empire.d.ts b/types/react-icons/lib/fa/empire.d.ts new file mode 100644 index 0000000000..c898a570aa --- /dev/null +++ b/types/react-icons/lib/fa/empire.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaEmpire extends React.Component { } diff --git a/types/react-icons/lib/fa/envelope-o.d.ts b/types/react-icons/lib/fa/envelope-o.d.ts new file mode 100644 index 0000000000..91552afcb2 --- /dev/null +++ b/types/react-icons/lib/fa/envelope-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaEnvelopeO extends React.Component { } diff --git a/types/react-icons/lib/fa/envelope-square.d.ts b/types/react-icons/lib/fa/envelope-square.d.ts new file mode 100644 index 0000000000..c984bceac4 --- /dev/null +++ b/types/react-icons/lib/fa/envelope-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaEnvelopeSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/envelope.d.ts b/types/react-icons/lib/fa/envelope.d.ts new file mode 100644 index 0000000000..c93f0c144b --- /dev/null +++ b/types/react-icons/lib/fa/envelope.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaEnvelope extends React.Component { } diff --git a/types/react-icons/lib/fa/envira.d.ts b/types/react-icons/lib/fa/envira.d.ts new file mode 100644 index 0000000000..8ccf1e8183 --- /dev/null +++ b/types/react-icons/lib/fa/envira.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaEnvira extends React.Component { } diff --git a/types/react-icons/lib/fa/eraser.d.ts b/types/react-icons/lib/fa/eraser.d.ts new file mode 100644 index 0000000000..1751f58630 --- /dev/null +++ b/types/react-icons/lib/fa/eraser.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaEraser extends React.Component { } diff --git a/types/react-icons/lib/fa/eur.d.ts b/types/react-icons/lib/fa/eur.d.ts new file mode 100644 index 0000000000..466c340a42 --- /dev/null +++ b/types/react-icons/lib/fa/eur.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaEur extends React.Component { } diff --git a/types/react-icons/lib/fa/exchange.d.ts b/types/react-icons/lib/fa/exchange.d.ts new file mode 100644 index 0000000000..61f666fcc6 --- /dev/null +++ b/types/react-icons/lib/fa/exchange.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaExchange extends React.Component { } diff --git a/types/react-icons/lib/fa/exclamation-circle.d.ts b/types/react-icons/lib/fa/exclamation-circle.d.ts new file mode 100644 index 0000000000..074285abc3 --- /dev/null +++ b/types/react-icons/lib/fa/exclamation-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaExclamationCircle extends React.Component { } diff --git a/types/react-icons/lib/fa/exclamation-triangle.d.ts b/types/react-icons/lib/fa/exclamation-triangle.d.ts new file mode 100644 index 0000000000..0e6a2039ef --- /dev/null +++ b/types/react-icons/lib/fa/exclamation-triangle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaExclamationTriangle extends React.Component { } diff --git a/types/react-icons/lib/fa/exclamation.d.ts b/types/react-icons/lib/fa/exclamation.d.ts new file mode 100644 index 0000000000..822c50b207 --- /dev/null +++ b/types/react-icons/lib/fa/exclamation.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaExclamation extends React.Component { } diff --git a/types/react-icons/lib/fa/expand.d.ts b/types/react-icons/lib/fa/expand.d.ts new file mode 100644 index 0000000000..4648b519b9 --- /dev/null +++ b/types/react-icons/lib/fa/expand.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaExpand extends React.Component { } diff --git a/types/react-icons/lib/fa/expeditedssl.d.ts b/types/react-icons/lib/fa/expeditedssl.d.ts new file mode 100644 index 0000000000..e30594333e --- /dev/null +++ b/types/react-icons/lib/fa/expeditedssl.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaExpeditedssl extends React.Component { } diff --git a/types/react-icons/lib/fa/external-link-square.d.ts b/types/react-icons/lib/fa/external-link-square.d.ts new file mode 100644 index 0000000000..f49858db95 --- /dev/null +++ b/types/react-icons/lib/fa/external-link-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaExternalLinkSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/external-link.d.ts b/types/react-icons/lib/fa/external-link.d.ts new file mode 100644 index 0000000000..69b539a542 --- /dev/null +++ b/types/react-icons/lib/fa/external-link.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaExternalLink extends React.Component { } diff --git a/types/react-icons/lib/fa/eye-slash.d.ts b/types/react-icons/lib/fa/eye-slash.d.ts new file mode 100644 index 0000000000..cbf60ac206 --- /dev/null +++ b/types/react-icons/lib/fa/eye-slash.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaEyeSlash extends React.Component { } diff --git a/types/react-icons/lib/fa/eye.d.ts b/types/react-icons/lib/fa/eye.d.ts new file mode 100644 index 0000000000..bec2d41708 --- /dev/null +++ b/types/react-icons/lib/fa/eye.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaEye extends React.Component { } diff --git a/types/react-icons/lib/fa/eyedropper.d.ts b/types/react-icons/lib/fa/eyedropper.d.ts new file mode 100644 index 0000000000..87b2d74f41 --- /dev/null +++ b/types/react-icons/lib/fa/eyedropper.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaEyedropper extends React.Component { } diff --git a/types/react-icons/lib/fa/facebook-official.d.ts b/types/react-icons/lib/fa/facebook-official.d.ts new file mode 100644 index 0000000000..3424fb90dd --- /dev/null +++ b/types/react-icons/lib/fa/facebook-official.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFacebookOfficial extends React.Component { } diff --git a/types/react-icons/lib/fa/facebook-square.d.ts b/types/react-icons/lib/fa/facebook-square.d.ts new file mode 100644 index 0000000000..fb5c101a6b --- /dev/null +++ b/types/react-icons/lib/fa/facebook-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFacebookSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/facebook.d.ts b/types/react-icons/lib/fa/facebook.d.ts new file mode 100644 index 0000000000..d837e533dd --- /dev/null +++ b/types/react-icons/lib/fa/facebook.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFacebook extends React.Component { } diff --git a/types/react-icons/lib/fa/fast-backward.d.ts b/types/react-icons/lib/fa/fast-backward.d.ts new file mode 100644 index 0000000000..73f95fd419 --- /dev/null +++ b/types/react-icons/lib/fa/fast-backward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFastBackward extends React.Component { } diff --git a/types/react-icons/lib/fa/fast-forward.d.ts b/types/react-icons/lib/fa/fast-forward.d.ts new file mode 100644 index 0000000000..c28ea39eb7 --- /dev/null +++ b/types/react-icons/lib/fa/fast-forward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFastForward extends React.Component { } diff --git a/types/react-icons/lib/fa/fax.d.ts b/types/react-icons/lib/fa/fax.d.ts new file mode 100644 index 0000000000..9ca411f7f9 --- /dev/null +++ b/types/react-icons/lib/fa/fax.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFax extends React.Component { } diff --git a/types/react-icons/lib/fa/feed.d.ts b/types/react-icons/lib/fa/feed.d.ts new file mode 100644 index 0000000000..448c3a2e24 --- /dev/null +++ b/types/react-icons/lib/fa/feed.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFeed extends React.Component { } diff --git a/types/react-icons/lib/fa/female.d.ts b/types/react-icons/lib/fa/female.d.ts new file mode 100644 index 0000000000..d18a20d305 --- /dev/null +++ b/types/react-icons/lib/fa/female.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFemale extends React.Component { } diff --git a/types/react-icons/lib/fa/fighter-jet.d.ts b/types/react-icons/lib/fa/fighter-jet.d.ts new file mode 100644 index 0000000000..124b4d63e3 --- /dev/null +++ b/types/react-icons/lib/fa/fighter-jet.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFighterJet extends React.Component { } diff --git a/types/react-icons/lib/fa/file-archive-o.d.ts b/types/react-icons/lib/fa/file-archive-o.d.ts new file mode 100644 index 0000000000..6a3390c936 --- /dev/null +++ b/types/react-icons/lib/fa/file-archive-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFileArchiveO extends React.Component { } diff --git a/types/react-icons/lib/fa/file-audio-o.d.ts b/types/react-icons/lib/fa/file-audio-o.d.ts new file mode 100644 index 0000000000..a360a79960 --- /dev/null +++ b/types/react-icons/lib/fa/file-audio-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFileAudioO extends React.Component { } diff --git a/types/react-icons/lib/fa/file-code-o.d.ts b/types/react-icons/lib/fa/file-code-o.d.ts new file mode 100644 index 0000000000..754fcb2d04 --- /dev/null +++ b/types/react-icons/lib/fa/file-code-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFileCodeO extends React.Component { } diff --git a/types/react-icons/lib/fa/file-excel-o.d.ts b/types/react-icons/lib/fa/file-excel-o.d.ts new file mode 100644 index 0000000000..dd41811e82 --- /dev/null +++ b/types/react-icons/lib/fa/file-excel-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFileExcelO extends React.Component { } diff --git a/types/react-icons/lib/fa/file-image-o.d.ts b/types/react-icons/lib/fa/file-image-o.d.ts new file mode 100644 index 0000000000..7c6b77a296 --- /dev/null +++ b/types/react-icons/lib/fa/file-image-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFileImageO extends React.Component { } diff --git a/types/react-icons/lib/fa/file-movie-o.d.ts b/types/react-icons/lib/fa/file-movie-o.d.ts new file mode 100644 index 0000000000..ec9a9e0e0d --- /dev/null +++ b/types/react-icons/lib/fa/file-movie-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFileMovieO extends React.Component { } diff --git a/types/react-icons/lib/fa/file-o.d.ts b/types/react-icons/lib/fa/file-o.d.ts new file mode 100644 index 0000000000..726de80769 --- /dev/null +++ b/types/react-icons/lib/fa/file-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFileO extends React.Component { } diff --git a/types/react-icons/lib/fa/file-pdf-o.d.ts b/types/react-icons/lib/fa/file-pdf-o.d.ts new file mode 100644 index 0000000000..79ae492b23 --- /dev/null +++ b/types/react-icons/lib/fa/file-pdf-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFilePdfO extends React.Component { } diff --git a/types/react-icons/lib/fa/file-powerpoint-o.d.ts b/types/react-icons/lib/fa/file-powerpoint-o.d.ts new file mode 100644 index 0000000000..fd4016615c --- /dev/null +++ b/types/react-icons/lib/fa/file-powerpoint-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFilePowerpointO extends React.Component { } diff --git a/types/react-icons/lib/fa/file-text-o.d.ts b/types/react-icons/lib/fa/file-text-o.d.ts new file mode 100644 index 0000000000..5bf9475839 --- /dev/null +++ b/types/react-icons/lib/fa/file-text-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFileTextO extends React.Component { } diff --git a/types/react-icons/lib/fa/file-text.d.ts b/types/react-icons/lib/fa/file-text.d.ts new file mode 100644 index 0000000000..287aa5d5e9 --- /dev/null +++ b/types/react-icons/lib/fa/file-text.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFileText extends React.Component { } diff --git a/types/react-icons/lib/fa/file-word-o.d.ts b/types/react-icons/lib/fa/file-word-o.d.ts new file mode 100644 index 0000000000..e8790d5988 --- /dev/null +++ b/types/react-icons/lib/fa/file-word-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFileWordO extends React.Component { } diff --git a/types/react-icons/lib/fa/file.d.ts b/types/react-icons/lib/fa/file.d.ts new file mode 100644 index 0000000000..92fb6d073a --- /dev/null +++ b/types/react-icons/lib/fa/file.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFile extends React.Component { } diff --git a/types/react-icons/lib/fa/film.d.ts b/types/react-icons/lib/fa/film.d.ts new file mode 100644 index 0000000000..639ec938b8 --- /dev/null +++ b/types/react-icons/lib/fa/film.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFilm extends React.Component { } diff --git a/types/react-icons/lib/fa/filter.d.ts b/types/react-icons/lib/fa/filter.d.ts new file mode 100644 index 0000000000..971ec8a2ab --- /dev/null +++ b/types/react-icons/lib/fa/filter.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFilter extends React.Component { } diff --git a/types/react-icons/lib/fa/fire-extinguisher.d.ts b/types/react-icons/lib/fa/fire-extinguisher.d.ts new file mode 100644 index 0000000000..347abc3091 --- /dev/null +++ b/types/react-icons/lib/fa/fire-extinguisher.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFireExtinguisher extends React.Component { } diff --git a/types/react-icons/lib/fa/fire.d.ts b/types/react-icons/lib/fa/fire.d.ts new file mode 100644 index 0000000000..361e6b3f2a --- /dev/null +++ b/types/react-icons/lib/fa/fire.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFire extends React.Component { } diff --git a/types/react-icons/lib/fa/firefox.d.ts b/types/react-icons/lib/fa/firefox.d.ts new file mode 100644 index 0000000000..fb5b6faf5b --- /dev/null +++ b/types/react-icons/lib/fa/firefox.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFirefox extends React.Component { } diff --git a/types/react-icons/lib/fa/flag-checkered.d.ts b/types/react-icons/lib/fa/flag-checkered.d.ts new file mode 100644 index 0000000000..ad9439fe74 --- /dev/null +++ b/types/react-icons/lib/fa/flag-checkered.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFlagCheckered extends React.Component { } diff --git a/types/react-icons/lib/fa/flag-o.d.ts b/types/react-icons/lib/fa/flag-o.d.ts new file mode 100644 index 0000000000..4af124ebe3 --- /dev/null +++ b/types/react-icons/lib/fa/flag-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFlagO extends React.Component { } diff --git a/types/react-icons/lib/fa/flag.d.ts b/types/react-icons/lib/fa/flag.d.ts new file mode 100644 index 0000000000..05b3a41500 --- /dev/null +++ b/types/react-icons/lib/fa/flag.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFlag extends React.Component { } diff --git a/types/react-icons/lib/fa/flask.d.ts b/types/react-icons/lib/fa/flask.d.ts new file mode 100644 index 0000000000..53edd95b1c --- /dev/null +++ b/types/react-icons/lib/fa/flask.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFlask extends React.Component { } diff --git a/types/react-icons/lib/fa/flickr.d.ts b/types/react-icons/lib/fa/flickr.d.ts new file mode 100644 index 0000000000..0642e63424 --- /dev/null +++ b/types/react-icons/lib/fa/flickr.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFlickr extends React.Component { } diff --git a/types/react-icons/lib/fa/floppy-o.d.ts b/types/react-icons/lib/fa/floppy-o.d.ts new file mode 100644 index 0000000000..a36898567d --- /dev/null +++ b/types/react-icons/lib/fa/floppy-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFloppyO extends React.Component { } diff --git a/types/react-icons/lib/fa/folder-o.d.ts b/types/react-icons/lib/fa/folder-o.d.ts new file mode 100644 index 0000000000..86c2f0853c --- /dev/null +++ b/types/react-icons/lib/fa/folder-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFolderO extends React.Component { } diff --git a/types/react-icons/lib/fa/folder-open-o.d.ts b/types/react-icons/lib/fa/folder-open-o.d.ts new file mode 100644 index 0000000000..13c270457c --- /dev/null +++ b/types/react-icons/lib/fa/folder-open-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFolderOpenO extends React.Component { } diff --git a/types/react-icons/lib/fa/folder-open.d.ts b/types/react-icons/lib/fa/folder-open.d.ts new file mode 100644 index 0000000000..27eefcf390 --- /dev/null +++ b/types/react-icons/lib/fa/folder-open.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFolderOpen extends React.Component { } diff --git a/types/react-icons/lib/fa/folder.d.ts b/types/react-icons/lib/fa/folder.d.ts new file mode 100644 index 0000000000..348ac25522 --- /dev/null +++ b/types/react-icons/lib/fa/folder.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFolder extends React.Component { } diff --git a/types/react-icons/lib/fa/font.d.ts b/types/react-icons/lib/fa/font.d.ts new file mode 100644 index 0000000000..70459022df --- /dev/null +++ b/types/react-icons/lib/fa/font.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFont extends React.Component { } diff --git a/types/react-icons/lib/fa/fonticons.d.ts b/types/react-icons/lib/fa/fonticons.d.ts new file mode 100644 index 0000000000..a124cfb0c2 --- /dev/null +++ b/types/react-icons/lib/fa/fonticons.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFonticons extends React.Component { } diff --git a/types/react-icons/lib/fa/fort-awesome.d.ts b/types/react-icons/lib/fa/fort-awesome.d.ts new file mode 100644 index 0000000000..a88e6a0118 --- /dev/null +++ b/types/react-icons/lib/fa/fort-awesome.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFortAwesome extends React.Component { } diff --git a/types/react-icons/lib/fa/forumbee.d.ts b/types/react-icons/lib/fa/forumbee.d.ts new file mode 100644 index 0000000000..58b96a9d83 --- /dev/null +++ b/types/react-icons/lib/fa/forumbee.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaForumbee extends React.Component { } diff --git a/types/react-icons/lib/fa/forward.d.ts b/types/react-icons/lib/fa/forward.d.ts new file mode 100644 index 0000000000..12eacceb4b --- /dev/null +++ b/types/react-icons/lib/fa/forward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaForward extends React.Component { } diff --git a/types/react-icons/lib/fa/foursquare.d.ts b/types/react-icons/lib/fa/foursquare.d.ts new file mode 100644 index 0000000000..8c2bf2cbf5 --- /dev/null +++ b/types/react-icons/lib/fa/foursquare.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFoursquare extends React.Component { } diff --git a/types/react-icons/lib/fa/frown-o.d.ts b/types/react-icons/lib/fa/frown-o.d.ts new file mode 100644 index 0000000000..06ebd02274 --- /dev/null +++ b/types/react-icons/lib/fa/frown-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFrownO extends React.Component { } diff --git a/types/react-icons/lib/fa/futbol-o.d.ts b/types/react-icons/lib/fa/futbol-o.d.ts new file mode 100644 index 0000000000..eaa4922a85 --- /dev/null +++ b/types/react-icons/lib/fa/futbol-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaFutbolO extends React.Component { } diff --git a/types/react-icons/lib/fa/gamepad.d.ts b/types/react-icons/lib/fa/gamepad.d.ts new file mode 100644 index 0000000000..9acea2828f --- /dev/null +++ b/types/react-icons/lib/fa/gamepad.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGamepad extends React.Component { } diff --git a/types/react-icons/lib/fa/gavel.d.ts b/types/react-icons/lib/fa/gavel.d.ts new file mode 100644 index 0000000000..66e5593ffa --- /dev/null +++ b/types/react-icons/lib/fa/gavel.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGavel extends React.Component { } diff --git a/types/react-icons/lib/fa/gbp.d.ts b/types/react-icons/lib/fa/gbp.d.ts new file mode 100644 index 0000000000..1fb48290e3 --- /dev/null +++ b/types/react-icons/lib/fa/gbp.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGbp extends React.Component { } diff --git a/types/react-icons/lib/fa/genderless.d.ts b/types/react-icons/lib/fa/genderless.d.ts new file mode 100644 index 0000000000..5ad672ddb3 --- /dev/null +++ b/types/react-icons/lib/fa/genderless.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGenderless extends React.Component { } diff --git a/types/react-icons/lib/fa/get-pocket.d.ts b/types/react-icons/lib/fa/get-pocket.d.ts new file mode 100644 index 0000000000..1f04b2974b --- /dev/null +++ b/types/react-icons/lib/fa/get-pocket.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGetPocket extends React.Component { } diff --git a/types/react-icons/lib/fa/gg-circle.d.ts b/types/react-icons/lib/fa/gg-circle.d.ts new file mode 100644 index 0000000000..580b37668c --- /dev/null +++ b/types/react-icons/lib/fa/gg-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGgCircle extends React.Component { } diff --git a/types/react-icons/lib/fa/gg.d.ts b/types/react-icons/lib/fa/gg.d.ts new file mode 100644 index 0000000000..2aaf1c7b23 --- /dev/null +++ b/types/react-icons/lib/fa/gg.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGg extends React.Component { } diff --git a/types/react-icons/lib/fa/gift.d.ts b/types/react-icons/lib/fa/gift.d.ts new file mode 100644 index 0000000000..79b22324f5 --- /dev/null +++ b/types/react-icons/lib/fa/gift.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGift extends React.Component { } diff --git a/types/react-icons/lib/fa/git-square.d.ts b/types/react-icons/lib/fa/git-square.d.ts new file mode 100644 index 0000000000..28cf85a92a --- /dev/null +++ b/types/react-icons/lib/fa/git-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGitSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/git.d.ts b/types/react-icons/lib/fa/git.d.ts new file mode 100644 index 0000000000..427ad2a4b8 --- /dev/null +++ b/types/react-icons/lib/fa/git.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGit extends React.Component { } diff --git a/types/react-icons/lib/fa/github-alt.d.ts b/types/react-icons/lib/fa/github-alt.d.ts new file mode 100644 index 0000000000..8f3b4c4175 --- /dev/null +++ b/types/react-icons/lib/fa/github-alt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGithubAlt extends React.Component { } diff --git a/types/react-icons/lib/fa/github-square.d.ts b/types/react-icons/lib/fa/github-square.d.ts new file mode 100644 index 0000000000..8feea6aea6 --- /dev/null +++ b/types/react-icons/lib/fa/github-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGithubSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/github.d.ts b/types/react-icons/lib/fa/github.d.ts new file mode 100644 index 0000000000..6e5ff98328 --- /dev/null +++ b/types/react-icons/lib/fa/github.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGithub extends React.Component { } diff --git a/types/react-icons/lib/fa/gitlab.d.ts b/types/react-icons/lib/fa/gitlab.d.ts new file mode 100644 index 0000000000..1d185afb32 --- /dev/null +++ b/types/react-icons/lib/fa/gitlab.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGitlab extends React.Component { } diff --git a/types/react-icons/lib/fa/gittip.d.ts b/types/react-icons/lib/fa/gittip.d.ts new file mode 100644 index 0000000000..c96eaa0026 --- /dev/null +++ b/types/react-icons/lib/fa/gittip.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGittip extends React.Component { } diff --git a/types/react-icons/lib/fa/glass.d.ts b/types/react-icons/lib/fa/glass.d.ts new file mode 100644 index 0000000000..7f0fa030d9 --- /dev/null +++ b/types/react-icons/lib/fa/glass.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGlass extends React.Component { } diff --git a/types/react-icons/lib/fa/glide-g.d.ts b/types/react-icons/lib/fa/glide-g.d.ts new file mode 100644 index 0000000000..c5601a2e6f --- /dev/null +++ b/types/react-icons/lib/fa/glide-g.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGlideG extends React.Component { } diff --git a/types/react-icons/lib/fa/glide.d.ts b/types/react-icons/lib/fa/glide.d.ts new file mode 100644 index 0000000000..7a7e2300f7 --- /dev/null +++ b/types/react-icons/lib/fa/glide.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGlide extends React.Component { } diff --git a/types/react-icons/lib/fa/globe.d.ts b/types/react-icons/lib/fa/globe.d.ts new file mode 100644 index 0000000000..e71a1f6bd9 --- /dev/null +++ b/types/react-icons/lib/fa/globe.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGlobe extends React.Component { } diff --git a/types/react-icons/lib/fa/google-plus-square.d.ts b/types/react-icons/lib/fa/google-plus-square.d.ts new file mode 100644 index 0000000000..9d3428ec25 --- /dev/null +++ b/types/react-icons/lib/fa/google-plus-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGooglePlusSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/google-plus.d.ts b/types/react-icons/lib/fa/google-plus.d.ts new file mode 100644 index 0000000000..3c1eba715e --- /dev/null +++ b/types/react-icons/lib/fa/google-plus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGooglePlus extends React.Component { } diff --git a/types/react-icons/lib/fa/google-wallet.d.ts b/types/react-icons/lib/fa/google-wallet.d.ts new file mode 100644 index 0000000000..8ab0d78a56 --- /dev/null +++ b/types/react-icons/lib/fa/google-wallet.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGoogleWallet extends React.Component { } diff --git a/types/react-icons/lib/fa/google.d.ts b/types/react-icons/lib/fa/google.d.ts new file mode 100644 index 0000000000..3879f1c233 --- /dev/null +++ b/types/react-icons/lib/fa/google.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGoogle extends React.Component { } diff --git a/types/react-icons/lib/fa/graduation-cap.d.ts b/types/react-icons/lib/fa/graduation-cap.d.ts new file mode 100644 index 0000000000..5c489d1118 --- /dev/null +++ b/types/react-icons/lib/fa/graduation-cap.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGraduationCap extends React.Component { } diff --git a/types/react-icons/lib/fa/group.d.ts b/types/react-icons/lib/fa/group.d.ts new file mode 100644 index 0000000000..554bfb5fe6 --- /dev/null +++ b/types/react-icons/lib/fa/group.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaGroup extends React.Component { } diff --git a/types/react-icons/lib/fa/h-square.d.ts b/types/react-icons/lib/fa/h-square.d.ts new file mode 100644 index 0000000000..0269ea9ebf --- /dev/null +++ b/types/react-icons/lib/fa/h-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/hacker-news.d.ts b/types/react-icons/lib/fa/hacker-news.d.ts new file mode 100644 index 0000000000..70ce441a26 --- /dev/null +++ b/types/react-icons/lib/fa/hacker-news.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHackerNews extends React.Component { } diff --git a/types/react-icons/lib/fa/hand-grab-o.d.ts b/types/react-icons/lib/fa/hand-grab-o.d.ts new file mode 100644 index 0000000000..44d508b041 --- /dev/null +++ b/types/react-icons/lib/fa/hand-grab-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHandGrabO extends React.Component { } diff --git a/types/react-icons/lib/fa/hand-lizard-o.d.ts b/types/react-icons/lib/fa/hand-lizard-o.d.ts new file mode 100644 index 0000000000..633375b976 --- /dev/null +++ b/types/react-icons/lib/fa/hand-lizard-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHandLizardO extends React.Component { } diff --git a/types/react-icons/lib/fa/hand-o-down.d.ts b/types/react-icons/lib/fa/hand-o-down.d.ts new file mode 100644 index 0000000000..d2a8580c81 --- /dev/null +++ b/types/react-icons/lib/fa/hand-o-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHandODown extends React.Component { } diff --git a/types/react-icons/lib/fa/hand-o-left.d.ts b/types/react-icons/lib/fa/hand-o-left.d.ts new file mode 100644 index 0000000000..ffce9da58b --- /dev/null +++ b/types/react-icons/lib/fa/hand-o-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHandOLeft extends React.Component { } diff --git a/types/react-icons/lib/fa/hand-o-right.d.ts b/types/react-icons/lib/fa/hand-o-right.d.ts new file mode 100644 index 0000000000..4cc734bfe4 --- /dev/null +++ b/types/react-icons/lib/fa/hand-o-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHandORight extends React.Component { } diff --git a/types/react-icons/lib/fa/hand-o-up.d.ts b/types/react-icons/lib/fa/hand-o-up.d.ts new file mode 100644 index 0000000000..4c108e1765 --- /dev/null +++ b/types/react-icons/lib/fa/hand-o-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHandOUp extends React.Component { } diff --git a/types/react-icons/lib/fa/hand-paper-o.d.ts b/types/react-icons/lib/fa/hand-paper-o.d.ts new file mode 100644 index 0000000000..634685b3ba --- /dev/null +++ b/types/react-icons/lib/fa/hand-paper-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHandPaperO extends React.Component { } diff --git a/types/react-icons/lib/fa/hand-peace-o.d.ts b/types/react-icons/lib/fa/hand-peace-o.d.ts new file mode 100644 index 0000000000..f5f4c083e0 --- /dev/null +++ b/types/react-icons/lib/fa/hand-peace-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHandPeaceO extends React.Component { } diff --git a/types/react-icons/lib/fa/hand-pointer-o.d.ts b/types/react-icons/lib/fa/hand-pointer-o.d.ts new file mode 100644 index 0000000000..98d03e1641 --- /dev/null +++ b/types/react-icons/lib/fa/hand-pointer-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHandPointerO extends React.Component { } diff --git a/types/react-icons/lib/fa/hand-scissors-o.d.ts b/types/react-icons/lib/fa/hand-scissors-o.d.ts new file mode 100644 index 0000000000..8f95ce7463 --- /dev/null +++ b/types/react-icons/lib/fa/hand-scissors-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHandScissorsO extends React.Component { } diff --git a/types/react-icons/lib/fa/hand-spock-o.d.ts b/types/react-icons/lib/fa/hand-spock-o.d.ts new file mode 100644 index 0000000000..e1ae444a79 --- /dev/null +++ b/types/react-icons/lib/fa/hand-spock-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHandSpockO extends React.Component { } diff --git a/types/react-icons/lib/fa/hashtag.d.ts b/types/react-icons/lib/fa/hashtag.d.ts new file mode 100644 index 0000000000..c7c9be99a9 --- /dev/null +++ b/types/react-icons/lib/fa/hashtag.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHashtag extends React.Component { } diff --git a/types/react-icons/lib/fa/hdd-o.d.ts b/types/react-icons/lib/fa/hdd-o.d.ts new file mode 100644 index 0000000000..1a04908493 --- /dev/null +++ b/types/react-icons/lib/fa/hdd-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHddO extends React.Component { } diff --git a/types/react-icons/lib/fa/header.d.ts b/types/react-icons/lib/fa/header.d.ts new file mode 100644 index 0000000000..6f2e5d9137 --- /dev/null +++ b/types/react-icons/lib/fa/header.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHeader extends React.Component { } diff --git a/types/react-icons/lib/fa/headphones.d.ts b/types/react-icons/lib/fa/headphones.d.ts new file mode 100644 index 0000000000..9e6b4dc42a --- /dev/null +++ b/types/react-icons/lib/fa/headphones.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHeadphones extends React.Component { } diff --git a/types/react-icons/lib/fa/heart-o.d.ts b/types/react-icons/lib/fa/heart-o.d.ts new file mode 100644 index 0000000000..e965f0636c --- /dev/null +++ b/types/react-icons/lib/fa/heart-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHeartO extends React.Component { } diff --git a/types/react-icons/lib/fa/heart.d.ts b/types/react-icons/lib/fa/heart.d.ts new file mode 100644 index 0000000000..495c26a5b3 --- /dev/null +++ b/types/react-icons/lib/fa/heart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHeart extends React.Component { } diff --git a/types/react-icons/lib/fa/heartbeat.d.ts b/types/react-icons/lib/fa/heartbeat.d.ts new file mode 100644 index 0000000000..74d47f94b1 --- /dev/null +++ b/types/react-icons/lib/fa/heartbeat.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHeartbeat extends React.Component { } diff --git a/types/react-icons/lib/fa/history.d.ts b/types/react-icons/lib/fa/history.d.ts new file mode 100644 index 0000000000..8af7a784c9 --- /dev/null +++ b/types/react-icons/lib/fa/history.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHistory extends React.Component { } diff --git a/types/react-icons/lib/fa/home.d.ts b/types/react-icons/lib/fa/home.d.ts new file mode 100644 index 0000000000..404898ad6c --- /dev/null +++ b/types/react-icons/lib/fa/home.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHome extends React.Component { } diff --git a/types/react-icons/lib/fa/hospital-o.d.ts b/types/react-icons/lib/fa/hospital-o.d.ts new file mode 100644 index 0000000000..1016140f7a --- /dev/null +++ b/types/react-icons/lib/fa/hospital-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHospitalO extends React.Component { } diff --git a/types/react-icons/lib/fa/hourglass-1.d.ts b/types/react-icons/lib/fa/hourglass-1.d.ts new file mode 100644 index 0000000000..8ec87f4877 --- /dev/null +++ b/types/react-icons/lib/fa/hourglass-1.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHourglass1 extends React.Component { } diff --git a/types/react-icons/lib/fa/hourglass-2.d.ts b/types/react-icons/lib/fa/hourglass-2.d.ts new file mode 100644 index 0000000000..600933c5e6 --- /dev/null +++ b/types/react-icons/lib/fa/hourglass-2.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHourglass2 extends React.Component { } diff --git a/types/react-icons/lib/fa/hourglass-3.d.ts b/types/react-icons/lib/fa/hourglass-3.d.ts new file mode 100644 index 0000000000..31e8de7b99 --- /dev/null +++ b/types/react-icons/lib/fa/hourglass-3.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHourglass3 extends React.Component { } diff --git a/types/react-icons/lib/fa/hourglass-o.d.ts b/types/react-icons/lib/fa/hourglass-o.d.ts new file mode 100644 index 0000000000..5f2962e102 --- /dev/null +++ b/types/react-icons/lib/fa/hourglass-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHourglassO extends React.Component { } diff --git a/types/react-icons/lib/fa/hourglass.d.ts b/types/react-icons/lib/fa/hourglass.d.ts new file mode 100644 index 0000000000..8bdcd7c8db --- /dev/null +++ b/types/react-icons/lib/fa/hourglass.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHourglass extends React.Component { } diff --git a/types/react-icons/lib/fa/houzz.d.ts b/types/react-icons/lib/fa/houzz.d.ts new file mode 100644 index 0000000000..ec4c55aecb --- /dev/null +++ b/types/react-icons/lib/fa/houzz.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHouzz extends React.Component { } diff --git a/types/react-icons/lib/fa/html5.d.ts b/types/react-icons/lib/fa/html5.d.ts new file mode 100644 index 0000000000..3b8bfcacbe --- /dev/null +++ b/types/react-icons/lib/fa/html5.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaHtml5 extends React.Component { } diff --git a/types/react-icons/lib/fa/i-cursor.d.ts b/types/react-icons/lib/fa/i-cursor.d.ts new file mode 100644 index 0000000000..77e0964814 --- /dev/null +++ b/types/react-icons/lib/fa/i-cursor.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaICursor extends React.Component { } diff --git a/types/react-icons/lib/fa/ils.d.ts b/types/react-icons/lib/fa/ils.d.ts new file mode 100644 index 0000000000..966e8bb384 --- /dev/null +++ b/types/react-icons/lib/fa/ils.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaIls extends React.Component { } diff --git a/types/react-icons/lib/fa/image.d.ts b/types/react-icons/lib/fa/image.d.ts new file mode 100644 index 0000000000..69e435b56a --- /dev/null +++ b/types/react-icons/lib/fa/image.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaImage extends React.Component { } diff --git a/types/react-icons/lib/fa/inbox.d.ts b/types/react-icons/lib/fa/inbox.d.ts new file mode 100644 index 0000000000..401aba5577 --- /dev/null +++ b/types/react-icons/lib/fa/inbox.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaInbox extends React.Component { } diff --git a/types/react-icons/lib/fa/indent.d.ts b/types/react-icons/lib/fa/indent.d.ts new file mode 100644 index 0000000000..c3022d3fc3 --- /dev/null +++ b/types/react-icons/lib/fa/indent.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaIndent extends React.Component { } diff --git a/types/react-icons/lib/fa/index.d.ts b/types/react-icons/lib/fa/index.d.ts new file mode 100644 index 0000000000..04750fc303 --- /dev/null +++ b/types/react-icons/lib/fa/index.d.ts @@ -0,0 +1,628 @@ +export { default as Fa500px } from "./500px"; +export { default as FaAdjust } from "./adjust"; +export { default as FaAdn } from "./adn"; +export { default as FaAlignCenter } from "./align-center"; +export { default as FaAlignJustify } from "./align-justify"; +export { default as FaAlignLeft } from "./align-left"; +export { default as FaAlignRight } from "./align-right"; +export { default as FaAmazon } from "./amazon"; +export { default as FaAmbulance } from "./ambulance"; +export { default as FaAmericanSignLanguageInterpreting } from "./american-sign-language-interpreting"; +export { default as FaAnchor } from "./anchor"; +export { default as FaAndroid } from "./android"; +export { default as FaAngellist } from "./angellist"; +export { default as FaAngleDoubleDown } from "./angle-double-down"; +export { default as FaAngleDoubleLeft } from "./angle-double-left"; +export { default as FaAngleDoubleRight } from "./angle-double-right"; +export { default as FaAngleDoubleUp } from "./angle-double-up"; +export { default as FaAngleDown } from "./angle-down"; +export { default as FaAngleLeft } from "./angle-left"; +export { default as FaAngleRight } from "./angle-right"; +export { default as FaAngleUp } from "./angle-up"; +export { default as FaApple } from "./apple"; +export { default as FaArchive } from "./archive"; +export { default as FaAreaChart } from "./area-chart"; +export { default as FaArrowCircleDown } from "./arrow-circle-down"; +export { default as FaArrowCircleLeft } from "./arrow-circle-left"; +export { default as FaArrowCircleODown } from "./arrow-circle-o-down"; +export { default as FaArrowCircleOLeft } from "./arrow-circle-o-left"; +export { default as FaArrowCircleORight } from "./arrow-circle-o-right"; +export { default as FaArrowCircleOUp } from "./arrow-circle-o-up"; +export { default as FaArrowCircleRight } from "./arrow-circle-right"; +export { default as FaArrowCircleUp } from "./arrow-circle-up"; +export { default as FaArrowDown } from "./arrow-down"; +export { default as FaArrowLeft } from "./arrow-left"; +export { default as FaArrowRight } from "./arrow-right"; +export { default as FaArrowUp } from "./arrow-up"; +export { default as FaArrowsAlt } from "./arrows-alt"; +export { default as FaArrowsH } from "./arrows-h"; +export { default as FaArrowsV } from "./arrows-v"; +export { default as FaArrows } from "./arrows"; +export { default as FaAssistiveListeningSystems } from "./assistive-listening-systems"; +export { default as FaAsterisk } from "./asterisk"; +export { default as FaAt } from "./at"; +export { default as FaAudioDescription } from "./audio-description"; +export { default as FaAutomobile } from "./automobile"; +export { default as FaBackward } from "./backward"; +export { default as FaBalanceScale } from "./balance-scale"; +export { default as FaBan } from "./ban"; +export { default as FaBank } from "./bank"; +export { default as FaBarChart } from "./bar-chart"; +export { default as FaBarcode } from "./barcode"; +export { default as FaBars } from "./bars"; +export { default as FaBattery0 } from "./battery-0"; +export { default as FaBattery1 } from "./battery-1"; +export { default as FaBattery2 } from "./battery-2"; +export { default as FaBattery3 } from "./battery-3"; +export { default as FaBattery4 } from "./battery-4"; +export { default as FaBed } from "./bed"; +export { default as FaBeer } from "./beer"; +export { default as FaBehanceSquare } from "./behance-square"; +export { default as FaBehance } from "./behance"; +export { default as FaBellO } from "./bell-o"; +export { default as FaBellSlashO } from "./bell-slash-o"; +export { default as FaBellSlash } from "./bell-slash"; +export { default as FaBell } from "./bell"; +export { default as FaBicycle } from "./bicycle"; +export { default as FaBinoculars } from "./binoculars"; +export { default as FaBirthdayCake } from "./birthday-cake"; +export { default as FaBitbucketSquare } from "./bitbucket-square"; +export { default as FaBitbucket } from "./bitbucket"; +export { default as FaBitcoin } from "./bitcoin"; +export { default as FaBlackTie } from "./black-tie"; +export { default as FaBlind } from "./blind"; +export { default as FaBluetoothB } from "./bluetooth-b"; +export { default as FaBluetooth } from "./bluetooth"; +export { default as FaBold } from "./bold"; +export { default as FaBolt } from "./bolt"; +export { default as FaBomb } from "./bomb"; +export { default as FaBook } from "./book"; +export { default as FaBookmarkO } from "./bookmark-o"; +export { default as FaBookmark } from "./bookmark"; +export { default as FaBraille } from "./braille"; +export { default as FaBriefcase } from "./briefcase"; +export { default as FaBug } from "./bug"; +export { default as FaBuildingO } from "./building-o"; +export { default as FaBuilding } from "./building"; +export { default as FaBullhorn } from "./bullhorn"; +export { default as FaBullseye } from "./bullseye"; +export { default as FaBus } from "./bus"; +export { default as FaBuysellads } from "./buysellads"; +export { default as FaCab } from "./cab"; +export { default as FaCalculator } from "./calculator"; +export { default as FaCalendarCheckO } from "./calendar-check-o"; +export { default as FaCalendarMinusO } from "./calendar-minus-o"; +export { default as FaCalendarO } from "./calendar-o"; +export { default as FaCalendarPlusO } from "./calendar-plus-o"; +export { default as FaCalendarTimesO } from "./calendar-times-o"; +export { default as FaCalendar } from "./calendar"; +export { default as FaCameraRetro } from "./camera-retro"; +export { default as FaCamera } from "./camera"; +export { default as FaCaretDown } from "./caret-down"; +export { default as FaCaretLeft } from "./caret-left"; +export { default as FaCaretRight } from "./caret-right"; +export { default as FaCaretSquareODown } from "./caret-square-o-down"; +export { default as FaCaretSquareOLeft } from "./caret-square-o-left"; +export { default as FaCaretSquareORight } from "./caret-square-o-right"; +export { default as FaCaretSquareOUp } from "./caret-square-o-up"; +export { default as FaCaretUp } from "./caret-up"; +export { default as FaCartArrowDown } from "./cart-arrow-down"; +export { default as FaCartPlus } from "./cart-plus"; +export { default as FaCcAmex } from "./cc-amex"; +export { default as FaCcDinersClub } from "./cc-diners-club"; +export { default as FaCcDiscover } from "./cc-discover"; +export { default as FaCcJcb } from "./cc-jcb"; +export { default as FaCcMastercard } from "./cc-mastercard"; +export { default as FaCcPaypal } from "./cc-paypal"; +export { default as FaCcStripe } from "./cc-stripe"; +export { default as FaCcVisa } from "./cc-visa"; +export { default as FaCc } from "./cc"; +export { default as FaCertificate } from "./certificate"; +export { default as FaChainBroken } from "./chain-broken"; +export { default as FaChain } from "./chain"; +export { default as FaCheckCircleO } from "./check-circle-o"; +export { default as FaCheckCircle } from "./check-circle"; +export { default as FaCheckSquareO } from "./check-square-o"; +export { default as FaCheckSquare } from "./check-square"; +export { default as FaCheck } from "./check"; +export { default as FaChevronCircleDown } from "./chevron-circle-down"; +export { default as FaChevronCircleLeft } from "./chevron-circle-left"; +export { default as FaChevronCircleRight } from "./chevron-circle-right"; +export { default as FaChevronCircleUp } from "./chevron-circle-up"; +export { default as FaChevronDown } from "./chevron-down"; +export { default as FaChevronLeft } from "./chevron-left"; +export { default as FaChevronRight } from "./chevron-right"; +export { default as FaChevronUp } from "./chevron-up"; +export { default as FaChild } from "./child"; +export { default as FaChrome } from "./chrome"; +export { default as FaCircleONotch } from "./circle-o-notch"; +export { default as FaCircleO } from "./circle-o"; +export { default as FaCircleThin } from "./circle-thin"; +export { default as FaCircle } from "./circle"; +export { default as FaClipboard } from "./clipboard"; +export { default as FaClockO } from "./clock-o"; +export { default as FaClone } from "./clone"; +export { default as FaClose } from "./close"; +export { default as FaCloudDownload } from "./cloud-download"; +export { default as FaCloudUpload } from "./cloud-upload"; +export { default as FaCloud } from "./cloud"; +export { default as FaCny } from "./cny"; +export { default as FaCodeFork } from "./code-fork"; +export { default as FaCode } from "./code"; +export { default as FaCodepen } from "./codepen"; +export { default as FaCodiepie } from "./codiepie"; +export { default as FaCoffee } from "./coffee"; +export { default as FaCog } from "./cog"; +export { default as FaCogs } from "./cogs"; +export { default as FaColumns } from "./columns"; +export { default as FaCommentO } from "./comment-o"; +export { default as FaComment } from "./comment"; +export { default as FaCommentingO } from "./commenting-o"; +export { default as FaCommenting } from "./commenting"; +export { default as FaCommentsO } from "./comments-o"; +export { default as FaComments } from "./comments"; +export { default as FaCompass } from "./compass"; +export { default as FaCompress } from "./compress"; +export { default as FaConnectdevelop } from "./connectdevelop"; +export { default as FaContao } from "./contao"; +export { default as FaCopy } from "./copy"; +export { default as FaCopyright } from "./copyright"; +export { default as FaCreativeCommons } from "./creative-commons"; +export { default as FaCreditCardAlt } from "./credit-card-alt"; +export { default as FaCreditCard } from "./credit-card"; +export { default as FaCrop } from "./crop"; +export { default as FaCrosshairs } from "./crosshairs"; +export { default as FaCss3 } from "./css3"; +export { default as FaCube } from "./cube"; +export { default as FaCubes } from "./cubes"; +export { default as FaCut } from "./cut"; +export { default as FaCutlery } from "./cutlery"; +export { default as FaDashboard } from "./dashboard"; +export { default as FaDashcube } from "./dashcube"; +export { default as FaDatabase } from "./database"; +export { default as FaDeaf } from "./deaf"; +export { default as FaDedent } from "./dedent"; +export { default as FaDelicious } from "./delicious"; +export { default as FaDesktop } from "./desktop"; +export { default as FaDeviantart } from "./deviantart"; +export { default as FaDiamond } from "./diamond"; +export { default as FaDigg } from "./digg"; +export { default as FaDollar } from "./dollar"; +export { default as FaDotCircleO } from "./dot-circle-o"; +export { default as FaDownload } from "./download"; +export { default as FaDribbble } from "./dribbble"; +export { default as FaDropbox } from "./dropbox"; +export { default as FaDrupal } from "./drupal"; +export { default as FaEdge } from "./edge"; +export { default as FaEdit } from "./edit"; +export { default as FaEject } from "./eject"; +export { default as FaEllipsisH } from "./ellipsis-h"; +export { default as FaEllipsisV } from "./ellipsis-v"; +export { default as FaEmpire } from "./empire"; +export { default as FaEnvelopeO } from "./envelope-o"; +export { default as FaEnvelopeSquare } from "./envelope-square"; +export { default as FaEnvelope } from "./envelope"; +export { default as FaEnvira } from "./envira"; +export { default as FaEraser } from "./eraser"; +export { default as FaEur } from "./eur"; +export { default as FaExchange } from "./exchange"; +export { default as FaExclamationCircle } from "./exclamation-circle"; +export { default as FaExclamationTriangle } from "./exclamation-triangle"; +export { default as FaExclamation } from "./exclamation"; +export { default as FaExpand } from "./expand"; +export { default as FaExpeditedssl } from "./expeditedssl"; +export { default as FaExternalLinkSquare } from "./external-link-square"; +export { default as FaExternalLink } from "./external-link"; +export { default as FaEyeSlash } from "./eye-slash"; +export { default as FaEye } from "./eye"; +export { default as FaEyedropper } from "./eyedropper"; +export { default as FaFacebookOfficial } from "./facebook-official"; +export { default as FaFacebookSquare } from "./facebook-square"; +export { default as FaFacebook } from "./facebook"; +export { default as FaFastBackward } from "./fast-backward"; +export { default as FaFastForward } from "./fast-forward"; +export { default as FaFax } from "./fax"; +export { default as FaFeed } from "./feed"; +export { default as FaFemale } from "./female"; +export { default as FaFighterJet } from "./fighter-jet"; +export { default as FaFileArchiveO } from "./file-archive-o"; +export { default as FaFileAudioO } from "./file-audio-o"; +export { default as FaFileCodeO } from "./file-code-o"; +export { default as FaFileExcelO } from "./file-excel-o"; +export { default as FaFileImageO } from "./file-image-o"; +export { default as FaFileMovieO } from "./file-movie-o"; +export { default as FaFileO } from "./file-o"; +export { default as FaFilePdfO } from "./file-pdf-o"; +export { default as FaFilePowerpointO } from "./file-powerpoint-o"; +export { default as FaFileTextO } from "./file-text-o"; +export { default as FaFileText } from "./file-text"; +export { default as FaFileWordO } from "./file-word-o"; +export { default as FaFile } from "./file"; +export { default as FaFilm } from "./film"; +export { default as FaFilter } from "./filter"; +export { default as FaFireExtinguisher } from "./fire-extinguisher"; +export { default as FaFire } from "./fire"; +export { default as FaFirefox } from "./firefox"; +export { default as FaFlagCheckered } from "./flag-checkered"; +export { default as FaFlagO } from "./flag-o"; +export { default as FaFlag } from "./flag"; +export { default as FaFlask } from "./flask"; +export { default as FaFlickr } from "./flickr"; +export { default as FaFloppyO } from "./floppy-o"; +export { default as FaFolderO } from "./folder-o"; +export { default as FaFolderOpenO } from "./folder-open-o"; +export { default as FaFolderOpen } from "./folder-open"; +export { default as FaFolder } from "./folder"; +export { default as FaFont } from "./font"; +export { default as FaFonticons } from "./fonticons"; +export { default as FaFortAwesome } from "./fort-awesome"; +export { default as FaForumbee } from "./forumbee"; +export { default as FaForward } from "./forward"; +export { default as FaFoursquare } from "./foursquare"; +export { default as FaFrownO } from "./frown-o"; +export { default as FaFutbolO } from "./futbol-o"; +export { default as FaGamepad } from "./gamepad"; +export { default as FaGavel } from "./gavel"; +export { default as FaGbp } from "./gbp"; +export { default as FaGenderless } from "./genderless"; +export { default as FaGetPocket } from "./get-pocket"; +export { default as FaGgCircle } from "./gg-circle"; +export { default as FaGg } from "./gg"; +export { default as FaGift } from "./gift"; +export { default as FaGitSquare } from "./git-square"; +export { default as FaGit } from "./git"; +export { default as FaGithubAlt } from "./github-alt"; +export { default as FaGithubSquare } from "./github-square"; +export { default as FaGithub } from "./github"; +export { default as FaGitlab } from "./gitlab"; +export { default as FaGittip } from "./gittip"; +export { default as FaGlass } from "./glass"; +export { default as FaGlideG } from "./glide-g"; +export { default as FaGlide } from "./glide"; +export { default as FaGlobe } from "./globe"; +export { default as FaGooglePlusSquare } from "./google-plus-square"; +export { default as FaGooglePlus } from "./google-plus"; +export { default as FaGoogleWallet } from "./google-wallet"; +export { default as FaGoogle } from "./google"; +export { default as FaGraduationCap } from "./graduation-cap"; +export { default as FaGroup } from "./group"; +export { default as FaHSquare } from "./h-square"; +export { default as FaHackerNews } from "./hacker-news"; +export { default as FaHandGrabO } from "./hand-grab-o"; +export { default as FaHandLizardO } from "./hand-lizard-o"; +export { default as FaHandODown } from "./hand-o-down"; +export { default as FaHandOLeft } from "./hand-o-left"; +export { default as FaHandORight } from "./hand-o-right"; +export { default as FaHandOUp } from "./hand-o-up"; +export { default as FaHandPaperO } from "./hand-paper-o"; +export { default as FaHandPeaceO } from "./hand-peace-o"; +export { default as FaHandPointerO } from "./hand-pointer-o"; +export { default as FaHandScissorsO } from "./hand-scissors-o"; +export { default as FaHandSpockO } from "./hand-spock-o"; +export { default as FaHashtag } from "./hashtag"; +export { default as FaHddO } from "./hdd-o"; +export { default as FaHeader } from "./header"; +export { default as FaHeadphones } from "./headphones"; +export { default as FaHeartO } from "./heart-o"; +export { default as FaHeart } from "./heart"; +export { default as FaHeartbeat } from "./heartbeat"; +export { default as FaHistory } from "./history"; +export { default as FaHome } from "./home"; +export { default as FaHospitalO } from "./hospital-o"; +export { default as FaHourglass1 } from "./hourglass-1"; +export { default as FaHourglass2 } from "./hourglass-2"; +export { default as FaHourglass3 } from "./hourglass-3"; +export { default as FaHourglassO } from "./hourglass-o"; +export { default as FaHourglass } from "./hourglass"; +export { default as FaHouzz } from "./houzz"; +export { default as FaHtml5 } from "./html5"; +export { default as FaICursor } from "./i-cursor"; +export { default as FaIls } from "./ils"; +export { default as FaImage } from "./image"; +export { default as FaInbox } from "./inbox"; +export { default as FaIndent } from "./indent"; +export { default as FaIndustry } from "./industry"; +export { default as FaInfoCircle } from "./info-circle"; +export { default as FaInfo } from "./info"; +export { default as FaInr } from "./inr"; +export { default as FaInstagram } from "./instagram"; +export { default as FaInternetExplorer } from "./internet-explorer"; +export { default as FaIntersex } from "./intersex"; +export { default as FaIoxhost } from "./ioxhost"; +export { default as FaItalic } from "./italic"; +export { default as FaJoomla } from "./joomla"; +export { default as FaJsfiddle } from "./jsfiddle"; +export { default as FaKey } from "./key"; +export { default as FaKeyboardO } from "./keyboard-o"; +export { default as FaKrw } from "./krw"; +export { default as FaLanguage } from "./language"; +export { default as FaLaptop } from "./laptop"; +export { default as FaLastfmSquare } from "./lastfm-square"; +export { default as FaLastfm } from "./lastfm"; +export { default as FaLeaf } from "./leaf"; +export { default as FaLeanpub } from "./leanpub"; +export { default as FaLemonO } from "./lemon-o"; +export { default as FaLevelDown } from "./level-down"; +export { default as FaLevelUp } from "./level-up"; +export { default as FaLifeBouy } from "./life-bouy"; +export { default as FaLightbulbO } from "./lightbulb-o"; +export { default as FaLineChart } from "./line-chart"; +export { default as FaLinkedinSquare } from "./linkedin-square"; +export { default as FaLinkedin } from "./linkedin"; +export { default as FaLinux } from "./linux"; +export { default as FaListAlt } from "./list-alt"; +export { default as FaListOl } from "./list-ol"; +export { default as FaListUl } from "./list-ul"; +export { default as FaList } from "./list"; +export { default as FaLocationArrow } from "./location-arrow"; +export { default as FaLock } from "./lock"; +export { default as FaLongArrowDown } from "./long-arrow-down"; +export { default as FaLongArrowLeft } from "./long-arrow-left"; +export { default as FaLongArrowRight } from "./long-arrow-right"; +export { default as FaLongArrowUp } from "./long-arrow-up"; +export { default as FaLowVision } from "./low-vision"; +export { default as FaMagic } from "./magic"; +export { default as FaMagnet } from "./magnet"; +export { default as FaMailForward } from "./mail-forward"; +export { default as FaMailReplyAll } from "./mail-reply-all"; +export { default as FaMailReply } from "./mail-reply"; +export { default as FaMale } from "./male"; +export { default as FaMapMarker } from "./map-marker"; +export { default as FaMapO } from "./map-o"; +export { default as FaMapPin } from "./map-pin"; +export { default as FaMapSigns } from "./map-signs"; +export { default as FaMap } from "./map"; +export { default as FaMarsDouble } from "./mars-double"; +export { default as FaMarsStrokeH } from "./mars-stroke-h"; +export { default as FaMarsStrokeV } from "./mars-stroke-v"; +export { default as FaMarsStroke } from "./mars-stroke"; +export { default as FaMars } from "./mars"; +export { default as FaMaxcdn } from "./maxcdn"; +export { default as FaMeanpath } from "./meanpath"; +export { default as FaMedium } from "./medium"; +export { default as FaMedkit } from "./medkit"; +export { default as FaMehO } from "./meh-o"; +export { default as FaMercury } from "./mercury"; +export { default as FaMicrophoneSlash } from "./microphone-slash"; +export { default as FaMicrophone } from "./microphone"; +export { default as FaMinusCircle } from "./minus-circle"; +export { default as FaMinusSquareO } from "./minus-square-o"; +export { default as FaMinusSquare } from "./minus-square"; +export { default as FaMinus } from "./minus"; +export { default as FaMixcloud } from "./mixcloud"; +export { default as FaMobile } from "./mobile"; +export { default as FaModx } from "./modx"; +export { default as FaMoney } from "./money"; +export { default as FaMoonO } from "./moon-o"; +export { default as FaMotorcycle } from "./motorcycle"; +export { default as FaMousePointer } from "./mouse-pointer"; +export { default as FaMusic } from "./music"; +export { default as FaNeuter } from "./neuter"; +export { default as FaNewspaperO } from "./newspaper-o"; +export { default as FaObjectGroup } from "./object-group"; +export { default as FaObjectUngroup } from "./object-ungroup"; +export { default as FaOdnoklassnikiSquare } from "./odnoklassniki-square"; +export { default as FaOdnoklassniki } from "./odnoklassniki"; +export { default as FaOpencart } from "./opencart"; +export { default as FaOpenid } from "./openid"; +export { default as FaOpera } from "./opera"; +export { default as FaOptinMonster } from "./optin-monster"; +export { default as FaPagelines } from "./pagelines"; +export { default as FaPaintBrush } from "./paint-brush"; +export { default as FaPaperPlaneO } from "./paper-plane-o"; +export { default as FaPaperPlane } from "./paper-plane"; +export { default as FaPaperclip } from "./paperclip"; +export { default as FaParagraph } from "./paragraph"; +export { default as FaPauseCircleO } from "./pause-circle-o"; +export { default as FaPauseCircle } from "./pause-circle"; +export { default as FaPause } from "./pause"; +export { default as FaPaw } from "./paw"; +export { default as FaPaypal } from "./paypal"; +export { default as FaPencilSquare } from "./pencil-square"; +export { default as FaPencil } from "./pencil"; +export { default as FaPercent } from "./percent"; +export { default as FaPhoneSquare } from "./phone-square"; +export { default as FaPhone } from "./phone"; +export { default as FaPieChart } from "./pie-chart"; +export { default as FaPiedPiperAlt } from "./pied-piper-alt"; +export { default as FaPiedPiper } from "./pied-piper"; +export { default as FaPinterestP } from "./pinterest-p"; +export { default as FaPinterestSquare } from "./pinterest-square"; +export { default as FaPinterest } from "./pinterest"; +export { default as FaPlane } from "./plane"; +export { default as FaPlayCircleO } from "./play-circle-o"; +export { default as FaPlayCircle } from "./play-circle"; +export { default as FaPlay } from "./play"; +export { default as FaPlug } from "./plug"; +export { default as FaPlusCircle } from "./plus-circle"; +export { default as FaPlusSquareO } from "./plus-square-o"; +export { default as FaPlusSquare } from "./plus-square"; +export { default as FaPlus } from "./plus"; +export { default as FaPowerOff } from "./power-off"; +export { default as FaPrint } from "./print"; +export { default as FaProductHunt } from "./product-hunt"; +export { default as FaPuzzlePiece } from "./puzzle-piece"; +export { default as FaQq } from "./qq"; +export { default as FaQrcode } from "./qrcode"; +export { default as FaQuestionCircleO } from "./question-circle-o"; +export { default as FaQuestionCircle } from "./question-circle"; +export { default as FaQuestion } from "./question"; +export { default as FaQuoteLeft } from "./quote-left"; +export { default as FaQuoteRight } from "./quote-right"; +export { default as FaRa } from "./ra"; +export { default as FaRandom } from "./random"; +export { default as FaRecycle } from "./recycle"; +export { default as FaRedditAlien } from "./reddit-alien"; +export { default as FaRedditSquare } from "./reddit-square"; +export { default as FaReddit } from "./reddit"; +export { default as FaRefresh } from "./refresh"; +export { default as FaRegistered } from "./registered"; +export { default as FaRenren } from "./renren"; +export { default as FaRepeat } from "./repeat"; +export { default as FaRetweet } from "./retweet"; +export { default as FaRoad } from "./road"; +export { default as FaRocket } from "./rocket"; +export { default as FaRotateLeft } from "./rotate-left"; +export { default as FaRouble } from "./rouble"; +export { default as FaRssSquare } from "./rss-square"; +export { default as FaSafari } from "./safari"; +export { default as FaScribd } from "./scribd"; +export { default as FaSearchMinus } from "./search-minus"; +export { default as FaSearchPlus } from "./search-plus"; +export { default as FaSearch } from "./search"; +export { default as FaSellsy } from "./sellsy"; +export { default as FaServer } from "./server"; +export { default as FaShareAltSquare } from "./share-alt-square"; +export { default as FaShareAlt } from "./share-alt"; +export { default as FaShareSquareO } from "./share-square-o"; +export { default as FaShareSquare } from "./share-square"; +export { default as FaShield } from "./shield"; +export { default as FaShip } from "./ship"; +export { default as FaShirtsinbulk } from "./shirtsinbulk"; +export { default as FaShoppingBag } from "./shopping-bag"; +export { default as FaShoppingBasket } from "./shopping-basket"; +export { default as FaShoppingCart } from "./shopping-cart"; +export { default as FaSignIn } from "./sign-in"; +export { default as FaSignLanguage } from "./sign-language"; +export { default as FaSignOut } from "./sign-out"; +export { default as FaSignal } from "./signal"; +export { default as FaSimplybuilt } from "./simplybuilt"; +export { default as FaSitemap } from "./sitemap"; +export { default as FaSkyatlas } from "./skyatlas"; +export { default as FaSkype } from "./skype"; +export { default as FaSlack } from "./slack"; +export { default as FaSliders } from "./sliders"; +export { default as FaSlideshare } from "./slideshare"; +export { default as FaSmileO } from "./smile-o"; +export { default as FaSnapchatGhost } from "./snapchat-ghost"; +export { default as FaSnapchatSquare } from "./snapchat-square"; +export { default as FaSnapchat } from "./snapchat"; +export { default as FaSortAlphaAsc } from "./sort-alpha-asc"; +export { default as FaSortAlphaDesc } from "./sort-alpha-desc"; +export { default as FaSortAmountAsc } from "./sort-amount-asc"; +export { default as FaSortAmountDesc } from "./sort-amount-desc"; +export { default as FaSortAsc } from "./sort-asc"; +export { default as FaSortDesc } from "./sort-desc"; +export { default as FaSortNumericAsc } from "./sort-numeric-asc"; +export { default as FaSortNumericDesc } from "./sort-numeric-desc"; +export { default as FaSort } from "./sort"; +export { default as FaSoundcloud } from "./soundcloud"; +export { default as FaSpaceShuttle } from "./space-shuttle"; +export { default as FaSpinner } from "./spinner"; +export { default as FaSpoon } from "./spoon"; +export { default as FaSpotify } from "./spotify"; +export { default as FaSquareO } from "./square-o"; +export { default as FaSquare } from "./square"; +export { default as FaStackExchange } from "./stack-exchange"; +export { default as FaStackOverflow } from "./stack-overflow"; +export { default as FaStarHalfEmpty } from "./star-half-empty"; +export { default as FaStarHalf } from "./star-half"; +export { default as FaStarO } from "./star-o"; +export { default as FaStar } from "./star"; +export { default as FaSteamSquare } from "./steam-square"; +export { default as FaSteam } from "./steam"; +export { default as FaStepBackward } from "./step-backward"; +export { default as FaStepForward } from "./step-forward"; +export { default as FaStethoscope } from "./stethoscope"; +export { default as FaStickyNoteO } from "./sticky-note-o"; +export { default as FaStickyNote } from "./sticky-note"; +export { default as FaStopCircleO } from "./stop-circle-o"; +export { default as FaStopCircle } from "./stop-circle"; +export { default as FaStop } from "./stop"; +export { default as FaStreetView } from "./street-view"; +export { default as FaStrikethrough } from "./strikethrough"; +export { default as FaStumbleuponCircle } from "./stumbleupon-circle"; +export { default as FaStumbleupon } from "./stumbleupon"; +export { default as FaSubscript } from "./subscript"; +export { default as FaSubway } from "./subway"; +export { default as FaSuitcase } from "./suitcase"; +export { default as FaSunO } from "./sun-o"; +export { default as FaSuperscript } from "./superscript"; +export { default as FaTable } from "./table"; +export { default as FaTablet } from "./tablet"; +export { default as FaTag } from "./tag"; +export { default as FaTags } from "./tags"; +export { default as FaTasks } from "./tasks"; +export { default as FaTelevision } from "./television"; +export { default as FaTencentWeibo } from "./tencent-weibo"; +export { default as FaTerminal } from "./terminal"; +export { default as FaTextHeight } from "./text-height"; +export { default as FaTextWidth } from "./text-width"; +export { default as FaThLarge } from "./th-large"; +export { default as FaThList } from "./th-list"; +export { default as FaTh } from "./th"; +export { default as FaThumbTack } from "./thumb-tack"; +export { default as FaThumbsDown } from "./thumbs-down"; +export { default as FaThumbsODown } from "./thumbs-o-down"; +export { default as FaThumbsOUp } from "./thumbs-o-up"; +export { default as FaThumbsUp } from "./thumbs-up"; +export { default as FaTicket } from "./ticket"; +export { default as FaTimesCircleO } from "./times-circle-o"; +export { default as FaTimesCircle } from "./times-circle"; +export { default as FaTint } from "./tint"; +export { default as FaToggleOff } from "./toggle-off"; +export { default as FaToggleOn } from "./toggle-on"; +export { default as FaTrademark } from "./trademark"; +export { default as FaTrain } from "./train"; +export { default as FaTransgenderAlt } from "./transgender-alt"; +export { default as FaTrashO } from "./trash-o"; +export { default as FaTrash } from "./trash"; +export { default as FaTree } from "./tree"; +export { default as FaTrello } from "./trello"; +export { default as FaTripadvisor } from "./tripadvisor"; +export { default as FaTrophy } from "./trophy"; +export { default as FaTruck } from "./truck"; +export { default as FaTry } from "./try"; +export { default as FaTty } from "./tty"; +export { default as FaTumblrSquare } from "./tumblr-square"; +export { default as FaTumblr } from "./tumblr"; +export { default as FaTwitch } from "./twitch"; +export { default as FaTwitterSquare } from "./twitter-square"; +export { default as FaTwitter } from "./twitter"; +export { default as FaUmbrella } from "./umbrella"; +export { default as FaUnderline } from "./underline"; +export { default as FaUniversalAccess } from "./universal-access"; +export { default as FaUnlockAlt } from "./unlock-alt"; +export { default as FaUnlock } from "./unlock"; +export { default as FaUpload } from "./upload"; +export { default as FaUsb } from "./usb"; +export { default as FaUserMd } from "./user-md"; +export { default as FaUserPlus } from "./user-plus"; +export { default as FaUserSecret } from "./user-secret"; +export { default as FaUserTimes } from "./user-times"; +export { default as FaUser } from "./user"; +export { default as FaVenusDouble } from "./venus-double"; +export { default as FaVenusMars } from "./venus-mars"; +export { default as FaVenus } from "./venus"; +export { default as FaViacoin } from "./viacoin"; +export { default as FaViadeoSquare } from "./viadeo-square"; +export { default as FaViadeo } from "./viadeo"; +export { default as FaVideoCamera } from "./video-camera"; +export { default as FaVimeoSquare } from "./vimeo-square"; +export { default as FaVimeo } from "./vimeo"; +export { default as FaVine } from "./vine"; +export { default as FaVk } from "./vk"; +export { default as FaVolumeControlPhone } from "./volume-control-phone"; +export { default as FaVolumeDown } from "./volume-down"; +export { default as FaVolumeOff } from "./volume-off"; +export { default as FaVolumeUp } from "./volume-up"; +export { default as FaWechat } from "./wechat"; +export { default as FaWeibo } from "./weibo"; +export { default as FaWhatsapp } from "./whatsapp"; +export { default as FaWheelchairAlt } from "./wheelchair-alt"; +export { default as FaWheelchair } from "./wheelchair"; +export { default as FaWifi } from "./wifi"; +export { default as FaWikipediaW } from "./wikipedia-w"; +export { default as FaWindows } from "./windows"; +export { default as FaWordpress } from "./wordpress"; +export { default as FaWpbeginner } from "./wpbeginner"; +export { default as FaWpforms } from "./wpforms"; +export { default as FaWrench } from "./wrench"; +export { default as FaXingSquare } from "./xing-square"; +export { default as FaXing } from "./xing"; +export { default as FaYCombinator } from "./y-combinator"; +export { default as FaYahoo } from "./yahoo"; +export { default as FaYelp } from "./yelp"; +export { default as FaYoutubePlay } from "./youtube-play"; +export { default as FaYoutubeSquare } from "./youtube-square"; +export { default as FaYoutube } from "./youtube"; diff --git a/types/react-icons/lib/fa/industry.d.ts b/types/react-icons/lib/fa/industry.d.ts new file mode 100644 index 0000000000..70d7057743 --- /dev/null +++ b/types/react-icons/lib/fa/industry.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaIndustry extends React.Component { } diff --git a/types/react-icons/lib/fa/info-circle.d.ts b/types/react-icons/lib/fa/info-circle.d.ts new file mode 100644 index 0000000000..7ed29e6eec --- /dev/null +++ b/types/react-icons/lib/fa/info-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaInfoCircle extends React.Component { } diff --git a/types/react-icons/lib/fa/info.d.ts b/types/react-icons/lib/fa/info.d.ts new file mode 100644 index 0000000000..c67b3190a9 --- /dev/null +++ b/types/react-icons/lib/fa/info.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaInfo extends React.Component { } diff --git a/types/react-icons/lib/fa/inr.d.ts b/types/react-icons/lib/fa/inr.d.ts new file mode 100644 index 0000000000..b47cb31531 --- /dev/null +++ b/types/react-icons/lib/fa/inr.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaInr extends React.Component { } diff --git a/types/react-icons/lib/fa/instagram.d.ts b/types/react-icons/lib/fa/instagram.d.ts new file mode 100644 index 0000000000..7770e19043 --- /dev/null +++ b/types/react-icons/lib/fa/instagram.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaInstagram extends React.Component { } diff --git a/types/react-icons/lib/fa/internet-explorer.d.ts b/types/react-icons/lib/fa/internet-explorer.d.ts new file mode 100644 index 0000000000..924654fee2 --- /dev/null +++ b/types/react-icons/lib/fa/internet-explorer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaInternetExplorer extends React.Component { } diff --git a/types/react-icons/lib/fa/intersex.d.ts b/types/react-icons/lib/fa/intersex.d.ts new file mode 100644 index 0000000000..77580bbb2d --- /dev/null +++ b/types/react-icons/lib/fa/intersex.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaIntersex extends React.Component { } diff --git a/types/react-icons/lib/fa/ioxhost.d.ts b/types/react-icons/lib/fa/ioxhost.d.ts new file mode 100644 index 0000000000..b713d2c54a --- /dev/null +++ b/types/react-icons/lib/fa/ioxhost.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaIoxhost extends React.Component { } diff --git a/types/react-icons/lib/fa/italic.d.ts b/types/react-icons/lib/fa/italic.d.ts new file mode 100644 index 0000000000..57572f5dbc --- /dev/null +++ b/types/react-icons/lib/fa/italic.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaItalic extends React.Component { } diff --git a/types/react-icons/lib/fa/joomla.d.ts b/types/react-icons/lib/fa/joomla.d.ts new file mode 100644 index 0000000000..cdf3539275 --- /dev/null +++ b/types/react-icons/lib/fa/joomla.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaJoomla extends React.Component { } diff --git a/types/react-icons/lib/fa/jsfiddle.d.ts b/types/react-icons/lib/fa/jsfiddle.d.ts new file mode 100644 index 0000000000..e17414bd20 --- /dev/null +++ b/types/react-icons/lib/fa/jsfiddle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaJsfiddle extends React.Component { } diff --git a/types/react-icons/lib/fa/key.d.ts b/types/react-icons/lib/fa/key.d.ts new file mode 100644 index 0000000000..b1fc11d702 --- /dev/null +++ b/types/react-icons/lib/fa/key.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaKey extends React.Component { } diff --git a/types/react-icons/lib/fa/keyboard-o.d.ts b/types/react-icons/lib/fa/keyboard-o.d.ts new file mode 100644 index 0000000000..d8676809fd --- /dev/null +++ b/types/react-icons/lib/fa/keyboard-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaKeyboardO extends React.Component { } diff --git a/types/react-icons/lib/fa/krw.d.ts b/types/react-icons/lib/fa/krw.d.ts new file mode 100644 index 0000000000..a23710bcfd --- /dev/null +++ b/types/react-icons/lib/fa/krw.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaKrw extends React.Component { } diff --git a/types/react-icons/lib/fa/language.d.ts b/types/react-icons/lib/fa/language.d.ts new file mode 100644 index 0000000000..a04950506c --- /dev/null +++ b/types/react-icons/lib/fa/language.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLanguage extends React.Component { } diff --git a/types/react-icons/lib/fa/laptop.d.ts b/types/react-icons/lib/fa/laptop.d.ts new file mode 100644 index 0000000000..d13d583fb7 --- /dev/null +++ b/types/react-icons/lib/fa/laptop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLaptop extends React.Component { } diff --git a/types/react-icons/lib/fa/lastfm-square.d.ts b/types/react-icons/lib/fa/lastfm-square.d.ts new file mode 100644 index 0000000000..057f801895 --- /dev/null +++ b/types/react-icons/lib/fa/lastfm-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLastfmSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/lastfm.d.ts b/types/react-icons/lib/fa/lastfm.d.ts new file mode 100644 index 0000000000..c8124c95ce --- /dev/null +++ b/types/react-icons/lib/fa/lastfm.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLastfm extends React.Component { } diff --git a/types/react-icons/lib/fa/leaf.d.ts b/types/react-icons/lib/fa/leaf.d.ts new file mode 100644 index 0000000000..9c4514a54f --- /dev/null +++ b/types/react-icons/lib/fa/leaf.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLeaf extends React.Component { } diff --git a/types/react-icons/lib/fa/leanpub.d.ts b/types/react-icons/lib/fa/leanpub.d.ts new file mode 100644 index 0000000000..de2024c7a8 --- /dev/null +++ b/types/react-icons/lib/fa/leanpub.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLeanpub extends React.Component { } diff --git a/types/react-icons/lib/fa/lemon-o.d.ts b/types/react-icons/lib/fa/lemon-o.d.ts new file mode 100644 index 0000000000..74886cb79c --- /dev/null +++ b/types/react-icons/lib/fa/lemon-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLemonO extends React.Component { } diff --git a/types/react-icons/lib/fa/level-down.d.ts b/types/react-icons/lib/fa/level-down.d.ts new file mode 100644 index 0000000000..caba9cef44 --- /dev/null +++ b/types/react-icons/lib/fa/level-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLevelDown extends React.Component { } diff --git a/types/react-icons/lib/fa/level-up.d.ts b/types/react-icons/lib/fa/level-up.d.ts new file mode 100644 index 0000000000..977a2d2c97 --- /dev/null +++ b/types/react-icons/lib/fa/level-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLevelUp extends React.Component { } diff --git a/types/react-icons/lib/fa/life-bouy.d.ts b/types/react-icons/lib/fa/life-bouy.d.ts new file mode 100644 index 0000000000..85205b3e62 --- /dev/null +++ b/types/react-icons/lib/fa/life-bouy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLifeBouy extends React.Component { } diff --git a/types/react-icons/lib/fa/lightbulb-o.d.ts b/types/react-icons/lib/fa/lightbulb-o.d.ts new file mode 100644 index 0000000000..48646e6261 --- /dev/null +++ b/types/react-icons/lib/fa/lightbulb-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLightbulbO extends React.Component { } diff --git a/types/react-icons/lib/fa/line-chart.d.ts b/types/react-icons/lib/fa/line-chart.d.ts new file mode 100644 index 0000000000..f0109467e2 --- /dev/null +++ b/types/react-icons/lib/fa/line-chart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLineChart extends React.Component { } diff --git a/types/react-icons/lib/fa/linkedin-square.d.ts b/types/react-icons/lib/fa/linkedin-square.d.ts new file mode 100644 index 0000000000..2c538f5349 --- /dev/null +++ b/types/react-icons/lib/fa/linkedin-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLinkedinSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/linkedin.d.ts b/types/react-icons/lib/fa/linkedin.d.ts new file mode 100644 index 0000000000..7e011b8f8f --- /dev/null +++ b/types/react-icons/lib/fa/linkedin.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLinkedin extends React.Component { } diff --git a/types/react-icons/lib/fa/linux.d.ts b/types/react-icons/lib/fa/linux.d.ts new file mode 100644 index 0000000000..55eb44cddb --- /dev/null +++ b/types/react-icons/lib/fa/linux.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLinux extends React.Component { } diff --git a/types/react-icons/lib/fa/list-alt.d.ts b/types/react-icons/lib/fa/list-alt.d.ts new file mode 100644 index 0000000000..4987907f75 --- /dev/null +++ b/types/react-icons/lib/fa/list-alt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaListAlt extends React.Component { } diff --git a/types/react-icons/lib/fa/list-ol.d.ts b/types/react-icons/lib/fa/list-ol.d.ts new file mode 100644 index 0000000000..25c4509dd8 --- /dev/null +++ b/types/react-icons/lib/fa/list-ol.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaListOl extends React.Component { } diff --git a/types/react-icons/lib/fa/list-ul.d.ts b/types/react-icons/lib/fa/list-ul.d.ts new file mode 100644 index 0000000000..be0d49470c --- /dev/null +++ b/types/react-icons/lib/fa/list-ul.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaListUl extends React.Component { } diff --git a/types/react-icons/lib/fa/list.d.ts b/types/react-icons/lib/fa/list.d.ts new file mode 100644 index 0000000000..9b98e5d332 --- /dev/null +++ b/types/react-icons/lib/fa/list.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaList extends React.Component { } diff --git a/types/react-icons/lib/fa/location-arrow.d.ts b/types/react-icons/lib/fa/location-arrow.d.ts new file mode 100644 index 0000000000..67e69c5917 --- /dev/null +++ b/types/react-icons/lib/fa/location-arrow.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLocationArrow extends React.Component { } diff --git a/types/react-icons/lib/fa/lock.d.ts b/types/react-icons/lib/fa/lock.d.ts new file mode 100644 index 0000000000..751ba49fd6 --- /dev/null +++ b/types/react-icons/lib/fa/lock.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLock extends React.Component { } diff --git a/types/react-icons/lib/fa/long-arrow-down.d.ts b/types/react-icons/lib/fa/long-arrow-down.d.ts new file mode 100644 index 0000000000..81282ef698 --- /dev/null +++ b/types/react-icons/lib/fa/long-arrow-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLongArrowDown extends React.Component { } diff --git a/types/react-icons/lib/fa/long-arrow-left.d.ts b/types/react-icons/lib/fa/long-arrow-left.d.ts new file mode 100644 index 0000000000..673d2e6a36 --- /dev/null +++ b/types/react-icons/lib/fa/long-arrow-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLongArrowLeft extends React.Component { } diff --git a/types/react-icons/lib/fa/long-arrow-right.d.ts b/types/react-icons/lib/fa/long-arrow-right.d.ts new file mode 100644 index 0000000000..1fafea7de3 --- /dev/null +++ b/types/react-icons/lib/fa/long-arrow-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLongArrowRight extends React.Component { } diff --git a/types/react-icons/lib/fa/long-arrow-up.d.ts b/types/react-icons/lib/fa/long-arrow-up.d.ts new file mode 100644 index 0000000000..6982118eef --- /dev/null +++ b/types/react-icons/lib/fa/long-arrow-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLongArrowUp extends React.Component { } diff --git a/types/react-icons/lib/fa/low-vision.d.ts b/types/react-icons/lib/fa/low-vision.d.ts new file mode 100644 index 0000000000..60f19827fa --- /dev/null +++ b/types/react-icons/lib/fa/low-vision.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaLowVision extends React.Component { } diff --git a/types/react-icons/lib/fa/magic.d.ts b/types/react-icons/lib/fa/magic.d.ts new file mode 100644 index 0000000000..7dca91beb2 --- /dev/null +++ b/types/react-icons/lib/fa/magic.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMagic extends React.Component { } diff --git a/types/react-icons/lib/fa/magnet.d.ts b/types/react-icons/lib/fa/magnet.d.ts new file mode 100644 index 0000000000..11cc56ef42 --- /dev/null +++ b/types/react-icons/lib/fa/magnet.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMagnet extends React.Component { } diff --git a/types/react-icons/lib/fa/mail-forward.d.ts b/types/react-icons/lib/fa/mail-forward.d.ts new file mode 100644 index 0000000000..84585713b8 --- /dev/null +++ b/types/react-icons/lib/fa/mail-forward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMailForward extends React.Component { } diff --git a/types/react-icons/lib/fa/mail-reply-all.d.ts b/types/react-icons/lib/fa/mail-reply-all.d.ts new file mode 100644 index 0000000000..7c8c4ed7eb --- /dev/null +++ b/types/react-icons/lib/fa/mail-reply-all.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMailReplyAll extends React.Component { } diff --git a/types/react-icons/lib/fa/mail-reply.d.ts b/types/react-icons/lib/fa/mail-reply.d.ts new file mode 100644 index 0000000000..571aa76b4f --- /dev/null +++ b/types/react-icons/lib/fa/mail-reply.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMailReply extends React.Component { } diff --git a/types/react-icons/lib/fa/male.d.ts b/types/react-icons/lib/fa/male.d.ts new file mode 100644 index 0000000000..9bb9f216af --- /dev/null +++ b/types/react-icons/lib/fa/male.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMale extends React.Component { } diff --git a/types/react-icons/lib/fa/map-marker.d.ts b/types/react-icons/lib/fa/map-marker.d.ts new file mode 100644 index 0000000000..116680b4b7 --- /dev/null +++ b/types/react-icons/lib/fa/map-marker.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMapMarker extends React.Component { } diff --git a/types/react-icons/lib/fa/map-o.d.ts b/types/react-icons/lib/fa/map-o.d.ts new file mode 100644 index 0000000000..366c05d45b --- /dev/null +++ b/types/react-icons/lib/fa/map-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMapO extends React.Component { } diff --git a/types/react-icons/lib/fa/map-pin.d.ts b/types/react-icons/lib/fa/map-pin.d.ts new file mode 100644 index 0000000000..e46a8ca0e3 --- /dev/null +++ b/types/react-icons/lib/fa/map-pin.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMapPin extends React.Component { } diff --git a/types/react-icons/lib/fa/map-signs.d.ts b/types/react-icons/lib/fa/map-signs.d.ts new file mode 100644 index 0000000000..4c4a9c2f69 --- /dev/null +++ b/types/react-icons/lib/fa/map-signs.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMapSigns extends React.Component { } diff --git a/types/react-icons/lib/fa/map.d.ts b/types/react-icons/lib/fa/map.d.ts new file mode 100644 index 0000000000..52c55baf7f --- /dev/null +++ b/types/react-icons/lib/fa/map.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMap extends React.Component { } diff --git a/types/react-icons/lib/fa/mars-double.d.ts b/types/react-icons/lib/fa/mars-double.d.ts new file mode 100644 index 0000000000..c6f7f4aa5d --- /dev/null +++ b/types/react-icons/lib/fa/mars-double.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMarsDouble extends React.Component { } diff --git a/types/react-icons/lib/fa/mars-stroke-h.d.ts b/types/react-icons/lib/fa/mars-stroke-h.d.ts new file mode 100644 index 0000000000..e6d9f035d0 --- /dev/null +++ b/types/react-icons/lib/fa/mars-stroke-h.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMarsStrokeH extends React.Component { } diff --git a/types/react-icons/lib/fa/mars-stroke-v.d.ts b/types/react-icons/lib/fa/mars-stroke-v.d.ts new file mode 100644 index 0000000000..cc1a01a592 --- /dev/null +++ b/types/react-icons/lib/fa/mars-stroke-v.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMarsStrokeV extends React.Component { } diff --git a/types/react-icons/lib/fa/mars-stroke.d.ts b/types/react-icons/lib/fa/mars-stroke.d.ts new file mode 100644 index 0000000000..69e9aec8b5 --- /dev/null +++ b/types/react-icons/lib/fa/mars-stroke.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMarsStroke extends React.Component { } diff --git a/types/react-icons/lib/fa/mars.d.ts b/types/react-icons/lib/fa/mars.d.ts new file mode 100644 index 0000000000..7e21f481b4 --- /dev/null +++ b/types/react-icons/lib/fa/mars.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMars extends React.Component { } diff --git a/types/react-icons/lib/fa/maxcdn.d.ts b/types/react-icons/lib/fa/maxcdn.d.ts new file mode 100644 index 0000000000..ee9c0b0546 --- /dev/null +++ b/types/react-icons/lib/fa/maxcdn.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMaxcdn extends React.Component { } diff --git a/types/react-icons/lib/fa/meanpath.d.ts b/types/react-icons/lib/fa/meanpath.d.ts new file mode 100644 index 0000000000..f479c77a85 --- /dev/null +++ b/types/react-icons/lib/fa/meanpath.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMeanpath extends React.Component { } diff --git a/types/react-icons/lib/fa/medium.d.ts b/types/react-icons/lib/fa/medium.d.ts new file mode 100644 index 0000000000..a272177d20 --- /dev/null +++ b/types/react-icons/lib/fa/medium.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMedium extends React.Component { } diff --git a/types/react-icons/lib/fa/medkit.d.ts b/types/react-icons/lib/fa/medkit.d.ts new file mode 100644 index 0000000000..4de9fc61f9 --- /dev/null +++ b/types/react-icons/lib/fa/medkit.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMedkit extends React.Component { } diff --git a/types/react-icons/lib/fa/meh-o.d.ts b/types/react-icons/lib/fa/meh-o.d.ts new file mode 100644 index 0000000000..2a07cde429 --- /dev/null +++ b/types/react-icons/lib/fa/meh-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMehO extends React.Component { } diff --git a/types/react-icons/lib/fa/mercury.d.ts b/types/react-icons/lib/fa/mercury.d.ts new file mode 100644 index 0000000000..616714b2fb --- /dev/null +++ b/types/react-icons/lib/fa/mercury.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMercury extends React.Component { } diff --git a/types/react-icons/lib/fa/microphone-slash.d.ts b/types/react-icons/lib/fa/microphone-slash.d.ts new file mode 100644 index 0000000000..39ddcefe4b --- /dev/null +++ b/types/react-icons/lib/fa/microphone-slash.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMicrophoneSlash extends React.Component { } diff --git a/types/react-icons/lib/fa/microphone.d.ts b/types/react-icons/lib/fa/microphone.d.ts new file mode 100644 index 0000000000..b12fcd389c --- /dev/null +++ b/types/react-icons/lib/fa/microphone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMicrophone extends React.Component { } diff --git a/types/react-icons/lib/fa/minus-circle.d.ts b/types/react-icons/lib/fa/minus-circle.d.ts new file mode 100644 index 0000000000..839cee0dbe --- /dev/null +++ b/types/react-icons/lib/fa/minus-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMinusCircle extends React.Component { } diff --git a/types/react-icons/lib/fa/minus-square-o.d.ts b/types/react-icons/lib/fa/minus-square-o.d.ts new file mode 100644 index 0000000000..d2bfd3dbba --- /dev/null +++ b/types/react-icons/lib/fa/minus-square-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMinusSquareO extends React.Component { } diff --git a/types/react-icons/lib/fa/minus-square.d.ts b/types/react-icons/lib/fa/minus-square.d.ts new file mode 100644 index 0000000000..8946d33f30 --- /dev/null +++ b/types/react-icons/lib/fa/minus-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMinusSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/minus.d.ts b/types/react-icons/lib/fa/minus.d.ts new file mode 100644 index 0000000000..e7ae38ca8e --- /dev/null +++ b/types/react-icons/lib/fa/minus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMinus extends React.Component { } diff --git a/types/react-icons/lib/fa/mixcloud.d.ts b/types/react-icons/lib/fa/mixcloud.d.ts new file mode 100644 index 0000000000..51b4f23bf2 --- /dev/null +++ b/types/react-icons/lib/fa/mixcloud.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMixcloud extends React.Component { } diff --git a/types/react-icons/lib/fa/mobile.d.ts b/types/react-icons/lib/fa/mobile.d.ts new file mode 100644 index 0000000000..e15d976418 --- /dev/null +++ b/types/react-icons/lib/fa/mobile.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMobile extends React.Component { } diff --git a/types/react-icons/lib/fa/modx.d.ts b/types/react-icons/lib/fa/modx.d.ts new file mode 100644 index 0000000000..c08b2d39fa --- /dev/null +++ b/types/react-icons/lib/fa/modx.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaModx extends React.Component { } diff --git a/types/react-icons/lib/fa/money.d.ts b/types/react-icons/lib/fa/money.d.ts new file mode 100644 index 0000000000..4e14ce5956 --- /dev/null +++ b/types/react-icons/lib/fa/money.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMoney extends React.Component { } diff --git a/types/react-icons/lib/fa/moon-o.d.ts b/types/react-icons/lib/fa/moon-o.d.ts new file mode 100644 index 0000000000..c1c2371ed0 --- /dev/null +++ b/types/react-icons/lib/fa/moon-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMoonO extends React.Component { } diff --git a/types/react-icons/lib/fa/motorcycle.d.ts b/types/react-icons/lib/fa/motorcycle.d.ts new file mode 100644 index 0000000000..2fd0d87361 --- /dev/null +++ b/types/react-icons/lib/fa/motorcycle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMotorcycle extends React.Component { } diff --git a/types/react-icons/lib/fa/mouse-pointer.d.ts b/types/react-icons/lib/fa/mouse-pointer.d.ts new file mode 100644 index 0000000000..8c220aa32b --- /dev/null +++ b/types/react-icons/lib/fa/mouse-pointer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMousePointer extends React.Component { } diff --git a/types/react-icons/lib/fa/music.d.ts b/types/react-icons/lib/fa/music.d.ts new file mode 100644 index 0000000000..711455b587 --- /dev/null +++ b/types/react-icons/lib/fa/music.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaMusic extends React.Component { } diff --git a/types/react-icons/lib/fa/neuter.d.ts b/types/react-icons/lib/fa/neuter.d.ts new file mode 100644 index 0000000000..a5ce0a9c93 --- /dev/null +++ b/types/react-icons/lib/fa/neuter.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaNeuter extends React.Component { } diff --git a/types/react-icons/lib/fa/newspaper-o.d.ts b/types/react-icons/lib/fa/newspaper-o.d.ts new file mode 100644 index 0000000000..6f7f62737e --- /dev/null +++ b/types/react-icons/lib/fa/newspaper-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaNewspaperO extends React.Component { } diff --git a/types/react-icons/lib/fa/object-group.d.ts b/types/react-icons/lib/fa/object-group.d.ts new file mode 100644 index 0000000000..5454030a44 --- /dev/null +++ b/types/react-icons/lib/fa/object-group.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaObjectGroup extends React.Component { } diff --git a/types/react-icons/lib/fa/object-ungroup.d.ts b/types/react-icons/lib/fa/object-ungroup.d.ts new file mode 100644 index 0000000000..705abb0623 --- /dev/null +++ b/types/react-icons/lib/fa/object-ungroup.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaObjectUngroup extends React.Component { } diff --git a/types/react-icons/lib/fa/odnoklassniki-square.d.ts b/types/react-icons/lib/fa/odnoklassniki-square.d.ts new file mode 100644 index 0000000000..d6d1c3fb5e --- /dev/null +++ b/types/react-icons/lib/fa/odnoklassniki-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaOdnoklassnikiSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/odnoklassniki.d.ts b/types/react-icons/lib/fa/odnoklassniki.d.ts new file mode 100644 index 0000000000..c9cdfc3f99 --- /dev/null +++ b/types/react-icons/lib/fa/odnoklassniki.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaOdnoklassniki extends React.Component { } diff --git a/types/react-icons/lib/fa/opencart.d.ts b/types/react-icons/lib/fa/opencart.d.ts new file mode 100644 index 0000000000..dde7963cd7 --- /dev/null +++ b/types/react-icons/lib/fa/opencart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaOpencart extends React.Component { } diff --git a/types/react-icons/lib/fa/openid.d.ts b/types/react-icons/lib/fa/openid.d.ts new file mode 100644 index 0000000000..763d13e24d --- /dev/null +++ b/types/react-icons/lib/fa/openid.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaOpenid extends React.Component { } diff --git a/types/react-icons/lib/fa/opera.d.ts b/types/react-icons/lib/fa/opera.d.ts new file mode 100644 index 0000000000..c66bee6dca --- /dev/null +++ b/types/react-icons/lib/fa/opera.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaOpera extends React.Component { } diff --git a/types/react-icons/lib/fa/optin-monster.d.ts b/types/react-icons/lib/fa/optin-monster.d.ts new file mode 100644 index 0000000000..3a4973ca67 --- /dev/null +++ b/types/react-icons/lib/fa/optin-monster.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaOptinMonster extends React.Component { } diff --git a/types/react-icons/lib/fa/pagelines.d.ts b/types/react-icons/lib/fa/pagelines.d.ts new file mode 100644 index 0000000000..b9db5fd4ab --- /dev/null +++ b/types/react-icons/lib/fa/pagelines.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPagelines extends React.Component { } diff --git a/types/react-icons/lib/fa/paint-brush.d.ts b/types/react-icons/lib/fa/paint-brush.d.ts new file mode 100644 index 0000000000..4d56d06006 --- /dev/null +++ b/types/react-icons/lib/fa/paint-brush.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPaintBrush extends React.Component { } diff --git a/types/react-icons/lib/fa/paper-plane-o.d.ts b/types/react-icons/lib/fa/paper-plane-o.d.ts new file mode 100644 index 0000000000..5fa53c13f7 --- /dev/null +++ b/types/react-icons/lib/fa/paper-plane-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPaperPlaneO extends React.Component { } diff --git a/types/react-icons/lib/fa/paper-plane.d.ts b/types/react-icons/lib/fa/paper-plane.d.ts new file mode 100644 index 0000000000..18d0a9fada --- /dev/null +++ b/types/react-icons/lib/fa/paper-plane.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPaperPlane extends React.Component { } diff --git a/types/react-icons/lib/fa/paperclip.d.ts b/types/react-icons/lib/fa/paperclip.d.ts new file mode 100644 index 0000000000..e037d9d2a9 --- /dev/null +++ b/types/react-icons/lib/fa/paperclip.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPaperclip extends React.Component { } diff --git a/types/react-icons/lib/fa/paragraph.d.ts b/types/react-icons/lib/fa/paragraph.d.ts new file mode 100644 index 0000000000..2895b28ecb --- /dev/null +++ b/types/react-icons/lib/fa/paragraph.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaParagraph extends React.Component { } diff --git a/types/react-icons/lib/fa/pause-circle-o.d.ts b/types/react-icons/lib/fa/pause-circle-o.d.ts new file mode 100644 index 0000000000..4b02099cf7 --- /dev/null +++ b/types/react-icons/lib/fa/pause-circle-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPauseCircleO extends React.Component { } diff --git a/types/react-icons/lib/fa/pause-circle.d.ts b/types/react-icons/lib/fa/pause-circle.d.ts new file mode 100644 index 0000000000..96fcbf12d2 --- /dev/null +++ b/types/react-icons/lib/fa/pause-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPauseCircle extends React.Component { } diff --git a/types/react-icons/lib/fa/pause.d.ts b/types/react-icons/lib/fa/pause.d.ts new file mode 100644 index 0000000000..87af546f21 --- /dev/null +++ b/types/react-icons/lib/fa/pause.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPause extends React.Component { } diff --git a/types/react-icons/lib/fa/paw.d.ts b/types/react-icons/lib/fa/paw.d.ts new file mode 100644 index 0000000000..6f88ab466f --- /dev/null +++ b/types/react-icons/lib/fa/paw.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPaw extends React.Component { } diff --git a/types/react-icons/lib/fa/paypal.d.ts b/types/react-icons/lib/fa/paypal.d.ts new file mode 100644 index 0000000000..d2878fe144 --- /dev/null +++ b/types/react-icons/lib/fa/paypal.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPaypal extends React.Component { } diff --git a/types/react-icons/lib/fa/pencil-square.d.ts b/types/react-icons/lib/fa/pencil-square.d.ts new file mode 100644 index 0000000000..ae8d368315 --- /dev/null +++ b/types/react-icons/lib/fa/pencil-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPencilSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/pencil.d.ts b/types/react-icons/lib/fa/pencil.d.ts new file mode 100644 index 0000000000..bae947d1d9 --- /dev/null +++ b/types/react-icons/lib/fa/pencil.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPencil extends React.Component { } diff --git a/types/react-icons/lib/fa/percent.d.ts b/types/react-icons/lib/fa/percent.d.ts new file mode 100644 index 0000000000..447838a4d4 --- /dev/null +++ b/types/react-icons/lib/fa/percent.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPercent extends React.Component { } diff --git a/types/react-icons/lib/fa/phone-square.d.ts b/types/react-icons/lib/fa/phone-square.d.ts new file mode 100644 index 0000000000..8595e9338b --- /dev/null +++ b/types/react-icons/lib/fa/phone-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPhoneSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/phone.d.ts b/types/react-icons/lib/fa/phone.d.ts new file mode 100644 index 0000000000..985d9a8867 --- /dev/null +++ b/types/react-icons/lib/fa/phone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPhone extends React.Component { } diff --git a/types/react-icons/lib/fa/pie-chart.d.ts b/types/react-icons/lib/fa/pie-chart.d.ts new file mode 100644 index 0000000000..b5bd5b2c5c --- /dev/null +++ b/types/react-icons/lib/fa/pie-chart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPieChart extends React.Component { } diff --git a/types/react-icons/lib/fa/pied-piper-alt.d.ts b/types/react-icons/lib/fa/pied-piper-alt.d.ts new file mode 100644 index 0000000000..8a23255cad --- /dev/null +++ b/types/react-icons/lib/fa/pied-piper-alt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPiedPiperAlt extends React.Component { } diff --git a/types/react-icons/lib/fa/pied-piper.d.ts b/types/react-icons/lib/fa/pied-piper.d.ts new file mode 100644 index 0000000000..e925634cd2 --- /dev/null +++ b/types/react-icons/lib/fa/pied-piper.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPiedPiper extends React.Component { } diff --git a/types/react-icons/lib/fa/pinterest-p.d.ts b/types/react-icons/lib/fa/pinterest-p.d.ts new file mode 100644 index 0000000000..c53adc8749 --- /dev/null +++ b/types/react-icons/lib/fa/pinterest-p.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPinterestP extends React.Component { } diff --git a/types/react-icons/lib/fa/pinterest-square.d.ts b/types/react-icons/lib/fa/pinterest-square.d.ts new file mode 100644 index 0000000000..a90c930b91 --- /dev/null +++ b/types/react-icons/lib/fa/pinterest-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPinterestSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/pinterest.d.ts b/types/react-icons/lib/fa/pinterest.d.ts new file mode 100644 index 0000000000..c380cf2092 --- /dev/null +++ b/types/react-icons/lib/fa/pinterest.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPinterest extends React.Component { } diff --git a/types/react-icons/lib/fa/plane.d.ts b/types/react-icons/lib/fa/plane.d.ts new file mode 100644 index 0000000000..13373d06d7 --- /dev/null +++ b/types/react-icons/lib/fa/plane.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPlane extends React.Component { } diff --git a/types/react-icons/lib/fa/play-circle-o.d.ts b/types/react-icons/lib/fa/play-circle-o.d.ts new file mode 100644 index 0000000000..7fa9627c4c --- /dev/null +++ b/types/react-icons/lib/fa/play-circle-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPlayCircleO extends React.Component { } diff --git a/types/react-icons/lib/fa/play-circle.d.ts b/types/react-icons/lib/fa/play-circle.d.ts new file mode 100644 index 0000000000..ea4f568b34 --- /dev/null +++ b/types/react-icons/lib/fa/play-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPlayCircle extends React.Component { } diff --git a/types/react-icons/lib/fa/play.d.ts b/types/react-icons/lib/fa/play.d.ts new file mode 100644 index 0000000000..f6c6dafb12 --- /dev/null +++ b/types/react-icons/lib/fa/play.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPlay extends React.Component { } diff --git a/types/react-icons/lib/fa/plug.d.ts b/types/react-icons/lib/fa/plug.d.ts new file mode 100644 index 0000000000..e88fc8c2ae --- /dev/null +++ b/types/react-icons/lib/fa/plug.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPlug extends React.Component { } diff --git a/types/react-icons/lib/fa/plus-circle.d.ts b/types/react-icons/lib/fa/plus-circle.d.ts new file mode 100644 index 0000000000..9bf8af4e8d --- /dev/null +++ b/types/react-icons/lib/fa/plus-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPlusCircle extends React.Component { } diff --git a/types/react-icons/lib/fa/plus-square-o.d.ts b/types/react-icons/lib/fa/plus-square-o.d.ts new file mode 100644 index 0000000000..e9b582ec2d --- /dev/null +++ b/types/react-icons/lib/fa/plus-square-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPlusSquareO extends React.Component { } diff --git a/types/react-icons/lib/fa/plus-square.d.ts b/types/react-icons/lib/fa/plus-square.d.ts new file mode 100644 index 0000000000..b69d337311 --- /dev/null +++ b/types/react-icons/lib/fa/plus-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPlusSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/plus.d.ts b/types/react-icons/lib/fa/plus.d.ts new file mode 100644 index 0000000000..f6649123fb --- /dev/null +++ b/types/react-icons/lib/fa/plus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPlus extends React.Component { } diff --git a/types/react-icons/lib/fa/power-off.d.ts b/types/react-icons/lib/fa/power-off.d.ts new file mode 100644 index 0000000000..538e8c9886 --- /dev/null +++ b/types/react-icons/lib/fa/power-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPowerOff extends React.Component { } diff --git a/types/react-icons/lib/fa/print.d.ts b/types/react-icons/lib/fa/print.d.ts new file mode 100644 index 0000000000..5e49c43315 --- /dev/null +++ b/types/react-icons/lib/fa/print.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPrint extends React.Component { } diff --git a/types/react-icons/lib/fa/product-hunt.d.ts b/types/react-icons/lib/fa/product-hunt.d.ts new file mode 100644 index 0000000000..2d790f199c --- /dev/null +++ b/types/react-icons/lib/fa/product-hunt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaProductHunt extends React.Component { } diff --git a/types/react-icons/lib/fa/puzzle-piece.d.ts b/types/react-icons/lib/fa/puzzle-piece.d.ts new file mode 100644 index 0000000000..f25059cc09 --- /dev/null +++ b/types/react-icons/lib/fa/puzzle-piece.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaPuzzlePiece extends React.Component { } diff --git a/types/react-icons/lib/fa/qq.d.ts b/types/react-icons/lib/fa/qq.d.ts new file mode 100644 index 0000000000..ff62c8cf78 --- /dev/null +++ b/types/react-icons/lib/fa/qq.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaQq extends React.Component { } diff --git a/types/react-icons/lib/fa/qrcode.d.ts b/types/react-icons/lib/fa/qrcode.d.ts new file mode 100644 index 0000000000..23c52561db --- /dev/null +++ b/types/react-icons/lib/fa/qrcode.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaQrcode extends React.Component { } diff --git a/types/react-icons/lib/fa/question-circle-o.d.ts b/types/react-icons/lib/fa/question-circle-o.d.ts new file mode 100644 index 0000000000..e3176c764b --- /dev/null +++ b/types/react-icons/lib/fa/question-circle-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaQuestionCircleO extends React.Component { } diff --git a/types/react-icons/lib/fa/question-circle.d.ts b/types/react-icons/lib/fa/question-circle.d.ts new file mode 100644 index 0000000000..a3474eab77 --- /dev/null +++ b/types/react-icons/lib/fa/question-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaQuestionCircle extends React.Component { } diff --git a/types/react-icons/lib/fa/question.d.ts b/types/react-icons/lib/fa/question.d.ts new file mode 100644 index 0000000000..c825b26b4f --- /dev/null +++ b/types/react-icons/lib/fa/question.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaQuestion extends React.Component { } diff --git a/types/react-icons/lib/fa/quote-left.d.ts b/types/react-icons/lib/fa/quote-left.d.ts new file mode 100644 index 0000000000..904a81703f --- /dev/null +++ b/types/react-icons/lib/fa/quote-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaQuoteLeft extends React.Component { } diff --git a/types/react-icons/lib/fa/quote-right.d.ts b/types/react-icons/lib/fa/quote-right.d.ts new file mode 100644 index 0000000000..3a4e38743d --- /dev/null +++ b/types/react-icons/lib/fa/quote-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaQuoteRight extends React.Component { } diff --git a/types/react-icons/lib/fa/ra.d.ts b/types/react-icons/lib/fa/ra.d.ts new file mode 100644 index 0000000000..da2bd43b87 --- /dev/null +++ b/types/react-icons/lib/fa/ra.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaRa extends React.Component { } diff --git a/types/react-icons/lib/fa/random.d.ts b/types/react-icons/lib/fa/random.d.ts new file mode 100644 index 0000000000..02c7c7465e --- /dev/null +++ b/types/react-icons/lib/fa/random.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaRandom extends React.Component { } diff --git a/types/react-icons/lib/fa/recycle.d.ts b/types/react-icons/lib/fa/recycle.d.ts new file mode 100644 index 0000000000..3f2c35bb45 --- /dev/null +++ b/types/react-icons/lib/fa/recycle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaRecycle extends React.Component { } diff --git a/types/react-icons/lib/fa/reddit-alien.d.ts b/types/react-icons/lib/fa/reddit-alien.d.ts new file mode 100644 index 0000000000..0c6152a524 --- /dev/null +++ b/types/react-icons/lib/fa/reddit-alien.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaRedditAlien extends React.Component { } diff --git a/types/react-icons/lib/fa/reddit-square.d.ts b/types/react-icons/lib/fa/reddit-square.d.ts new file mode 100644 index 0000000000..2fe217fd2f --- /dev/null +++ b/types/react-icons/lib/fa/reddit-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaRedditSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/reddit.d.ts b/types/react-icons/lib/fa/reddit.d.ts new file mode 100644 index 0000000000..485e46b5b0 --- /dev/null +++ b/types/react-icons/lib/fa/reddit.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaReddit extends React.Component { } diff --git a/types/react-icons/lib/fa/refresh.d.ts b/types/react-icons/lib/fa/refresh.d.ts new file mode 100644 index 0000000000..ebf74b1515 --- /dev/null +++ b/types/react-icons/lib/fa/refresh.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaRefresh extends React.Component { } diff --git a/types/react-icons/lib/fa/registered.d.ts b/types/react-icons/lib/fa/registered.d.ts new file mode 100644 index 0000000000..801dc66200 --- /dev/null +++ b/types/react-icons/lib/fa/registered.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaRegistered extends React.Component { } diff --git a/types/react-icons/lib/fa/renren.d.ts b/types/react-icons/lib/fa/renren.d.ts new file mode 100644 index 0000000000..25055289d9 --- /dev/null +++ b/types/react-icons/lib/fa/renren.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaRenren extends React.Component { } diff --git a/types/react-icons/lib/fa/repeat.d.ts b/types/react-icons/lib/fa/repeat.d.ts new file mode 100644 index 0000000000..c3f51ad288 --- /dev/null +++ b/types/react-icons/lib/fa/repeat.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaRepeat extends React.Component { } diff --git a/types/react-icons/lib/fa/retweet.d.ts b/types/react-icons/lib/fa/retweet.d.ts new file mode 100644 index 0000000000..f18d4bda7b --- /dev/null +++ b/types/react-icons/lib/fa/retweet.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaRetweet extends React.Component { } diff --git a/types/react-icons/lib/fa/road.d.ts b/types/react-icons/lib/fa/road.d.ts new file mode 100644 index 0000000000..0715ec2e7e --- /dev/null +++ b/types/react-icons/lib/fa/road.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaRoad extends React.Component { } diff --git a/types/react-icons/lib/fa/rocket.d.ts b/types/react-icons/lib/fa/rocket.d.ts new file mode 100644 index 0000000000..2f1c2dc834 --- /dev/null +++ b/types/react-icons/lib/fa/rocket.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaRocket extends React.Component { } diff --git a/types/react-icons/lib/fa/rotate-left.d.ts b/types/react-icons/lib/fa/rotate-left.d.ts new file mode 100644 index 0000000000..2a93784c4e --- /dev/null +++ b/types/react-icons/lib/fa/rotate-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaRotateLeft extends React.Component { } diff --git a/types/react-icons/lib/fa/rouble.d.ts b/types/react-icons/lib/fa/rouble.d.ts new file mode 100644 index 0000000000..9e61df412e --- /dev/null +++ b/types/react-icons/lib/fa/rouble.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaRouble extends React.Component { } diff --git a/types/react-icons/lib/fa/rss-square.d.ts b/types/react-icons/lib/fa/rss-square.d.ts new file mode 100644 index 0000000000..c840ec5513 --- /dev/null +++ b/types/react-icons/lib/fa/rss-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaRssSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/safari.d.ts b/types/react-icons/lib/fa/safari.d.ts new file mode 100644 index 0000000000..6bb95a70f0 --- /dev/null +++ b/types/react-icons/lib/fa/safari.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSafari extends React.Component { } diff --git a/types/react-icons/lib/fa/scribd.d.ts b/types/react-icons/lib/fa/scribd.d.ts new file mode 100644 index 0000000000..39fc8c40a6 --- /dev/null +++ b/types/react-icons/lib/fa/scribd.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaScribd extends React.Component { } diff --git a/types/react-icons/lib/fa/search-minus.d.ts b/types/react-icons/lib/fa/search-minus.d.ts new file mode 100644 index 0000000000..b0045c94f4 --- /dev/null +++ b/types/react-icons/lib/fa/search-minus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSearchMinus extends React.Component { } diff --git a/types/react-icons/lib/fa/search-plus.d.ts b/types/react-icons/lib/fa/search-plus.d.ts new file mode 100644 index 0000000000..3aaacffaea --- /dev/null +++ b/types/react-icons/lib/fa/search-plus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSearchPlus extends React.Component { } diff --git a/types/react-icons/lib/fa/search.d.ts b/types/react-icons/lib/fa/search.d.ts new file mode 100644 index 0000000000..14c1b8eb87 --- /dev/null +++ b/types/react-icons/lib/fa/search.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSearch extends React.Component { } diff --git a/types/react-icons/lib/fa/sellsy.d.ts b/types/react-icons/lib/fa/sellsy.d.ts new file mode 100644 index 0000000000..9eb86d3b41 --- /dev/null +++ b/types/react-icons/lib/fa/sellsy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSellsy extends React.Component { } diff --git a/types/react-icons/lib/fa/server.d.ts b/types/react-icons/lib/fa/server.d.ts new file mode 100644 index 0000000000..f34b2bef92 --- /dev/null +++ b/types/react-icons/lib/fa/server.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaServer extends React.Component { } diff --git a/types/react-icons/lib/fa/share-alt-square.d.ts b/types/react-icons/lib/fa/share-alt-square.d.ts new file mode 100644 index 0000000000..31dc918f6c --- /dev/null +++ b/types/react-icons/lib/fa/share-alt-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaShareAltSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/share-alt.d.ts b/types/react-icons/lib/fa/share-alt.d.ts new file mode 100644 index 0000000000..e95e1b249e --- /dev/null +++ b/types/react-icons/lib/fa/share-alt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaShareAlt extends React.Component { } diff --git a/types/react-icons/lib/fa/share-square-o.d.ts b/types/react-icons/lib/fa/share-square-o.d.ts new file mode 100644 index 0000000000..fbe2893547 --- /dev/null +++ b/types/react-icons/lib/fa/share-square-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaShareSquareO extends React.Component { } diff --git a/types/react-icons/lib/fa/share-square.d.ts b/types/react-icons/lib/fa/share-square.d.ts new file mode 100644 index 0000000000..553b8b7d88 --- /dev/null +++ b/types/react-icons/lib/fa/share-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaShareSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/shield.d.ts b/types/react-icons/lib/fa/shield.d.ts new file mode 100644 index 0000000000..0358946bb0 --- /dev/null +++ b/types/react-icons/lib/fa/shield.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaShield extends React.Component { } diff --git a/types/react-icons/lib/fa/ship.d.ts b/types/react-icons/lib/fa/ship.d.ts new file mode 100644 index 0000000000..bbac7fa963 --- /dev/null +++ b/types/react-icons/lib/fa/ship.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaShip extends React.Component { } diff --git a/types/react-icons/lib/fa/shirtsinbulk.d.ts b/types/react-icons/lib/fa/shirtsinbulk.d.ts new file mode 100644 index 0000000000..1cdac4b3b2 --- /dev/null +++ b/types/react-icons/lib/fa/shirtsinbulk.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaShirtsinbulk extends React.Component { } diff --git a/types/react-icons/lib/fa/shopping-bag.d.ts b/types/react-icons/lib/fa/shopping-bag.d.ts new file mode 100644 index 0000000000..0e9ec2fd0d --- /dev/null +++ b/types/react-icons/lib/fa/shopping-bag.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaShoppingBag extends React.Component { } diff --git a/types/react-icons/lib/fa/shopping-basket.d.ts b/types/react-icons/lib/fa/shopping-basket.d.ts new file mode 100644 index 0000000000..05b7d1417d --- /dev/null +++ b/types/react-icons/lib/fa/shopping-basket.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaShoppingBasket extends React.Component { } diff --git a/types/react-icons/lib/fa/shopping-cart.d.ts b/types/react-icons/lib/fa/shopping-cart.d.ts new file mode 100644 index 0000000000..17d623f44d --- /dev/null +++ b/types/react-icons/lib/fa/shopping-cart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaShoppingCart extends React.Component { } diff --git a/types/react-icons/lib/fa/sign-in.d.ts b/types/react-icons/lib/fa/sign-in.d.ts new file mode 100644 index 0000000000..6122e57cab --- /dev/null +++ b/types/react-icons/lib/fa/sign-in.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSignIn extends React.Component { } diff --git a/types/react-icons/lib/fa/sign-language.d.ts b/types/react-icons/lib/fa/sign-language.d.ts new file mode 100644 index 0000000000..92f5afb348 --- /dev/null +++ b/types/react-icons/lib/fa/sign-language.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSignLanguage extends React.Component { } diff --git a/types/react-icons/lib/fa/sign-out.d.ts b/types/react-icons/lib/fa/sign-out.d.ts new file mode 100644 index 0000000000..0432e2a806 --- /dev/null +++ b/types/react-icons/lib/fa/sign-out.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSignOut extends React.Component { } diff --git a/types/react-icons/lib/fa/signal.d.ts b/types/react-icons/lib/fa/signal.d.ts new file mode 100644 index 0000000000..ff8c9215db --- /dev/null +++ b/types/react-icons/lib/fa/signal.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSignal extends React.Component { } diff --git a/types/react-icons/lib/fa/simplybuilt.d.ts b/types/react-icons/lib/fa/simplybuilt.d.ts new file mode 100644 index 0000000000..2f6a53cab7 --- /dev/null +++ b/types/react-icons/lib/fa/simplybuilt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSimplybuilt extends React.Component { } diff --git a/types/react-icons/lib/fa/sitemap.d.ts b/types/react-icons/lib/fa/sitemap.d.ts new file mode 100644 index 0000000000..e6a3891028 --- /dev/null +++ b/types/react-icons/lib/fa/sitemap.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSitemap extends React.Component { } diff --git a/types/react-icons/lib/fa/skyatlas.d.ts b/types/react-icons/lib/fa/skyatlas.d.ts new file mode 100644 index 0000000000..58a376bec4 --- /dev/null +++ b/types/react-icons/lib/fa/skyatlas.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSkyatlas extends React.Component { } diff --git a/types/react-icons/lib/fa/skype.d.ts b/types/react-icons/lib/fa/skype.d.ts new file mode 100644 index 0000000000..3e4b8465ce --- /dev/null +++ b/types/react-icons/lib/fa/skype.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSkype extends React.Component { } diff --git a/types/react-icons/lib/fa/slack.d.ts b/types/react-icons/lib/fa/slack.d.ts new file mode 100644 index 0000000000..05ae812154 --- /dev/null +++ b/types/react-icons/lib/fa/slack.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSlack extends React.Component { } diff --git a/types/react-icons/lib/fa/sliders.d.ts b/types/react-icons/lib/fa/sliders.d.ts new file mode 100644 index 0000000000..5b77a2c246 --- /dev/null +++ b/types/react-icons/lib/fa/sliders.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSliders extends React.Component { } diff --git a/types/react-icons/lib/fa/slideshare.d.ts b/types/react-icons/lib/fa/slideshare.d.ts new file mode 100644 index 0000000000..678418e560 --- /dev/null +++ b/types/react-icons/lib/fa/slideshare.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSlideshare extends React.Component { } diff --git a/types/react-icons/lib/fa/smile-o.d.ts b/types/react-icons/lib/fa/smile-o.d.ts new file mode 100644 index 0000000000..8db866e669 --- /dev/null +++ b/types/react-icons/lib/fa/smile-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSmileO extends React.Component { } diff --git a/types/react-icons/lib/fa/snapchat-ghost.d.ts b/types/react-icons/lib/fa/snapchat-ghost.d.ts new file mode 100644 index 0000000000..83ca65e891 --- /dev/null +++ b/types/react-icons/lib/fa/snapchat-ghost.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSnapchatGhost extends React.Component { } diff --git a/types/react-icons/lib/fa/snapchat-square.d.ts b/types/react-icons/lib/fa/snapchat-square.d.ts new file mode 100644 index 0000000000..7c1ac2dbc4 --- /dev/null +++ b/types/react-icons/lib/fa/snapchat-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSnapchatSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/snapchat.d.ts b/types/react-icons/lib/fa/snapchat.d.ts new file mode 100644 index 0000000000..bbc8bb62e3 --- /dev/null +++ b/types/react-icons/lib/fa/snapchat.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSnapchat extends React.Component { } diff --git a/types/react-icons/lib/fa/sort-alpha-asc.d.ts b/types/react-icons/lib/fa/sort-alpha-asc.d.ts new file mode 100644 index 0000000000..6b44132473 --- /dev/null +++ b/types/react-icons/lib/fa/sort-alpha-asc.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSortAlphaAsc extends React.Component { } diff --git a/types/react-icons/lib/fa/sort-alpha-desc.d.ts b/types/react-icons/lib/fa/sort-alpha-desc.d.ts new file mode 100644 index 0000000000..2830f1986e --- /dev/null +++ b/types/react-icons/lib/fa/sort-alpha-desc.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSortAlphaDesc extends React.Component { } diff --git a/types/react-icons/lib/fa/sort-amount-asc.d.ts b/types/react-icons/lib/fa/sort-amount-asc.d.ts new file mode 100644 index 0000000000..05da03032c --- /dev/null +++ b/types/react-icons/lib/fa/sort-amount-asc.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSortAmountAsc extends React.Component { } diff --git a/types/react-icons/lib/fa/sort-amount-desc.d.ts b/types/react-icons/lib/fa/sort-amount-desc.d.ts new file mode 100644 index 0000000000..c7e7242565 --- /dev/null +++ b/types/react-icons/lib/fa/sort-amount-desc.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSortAmountDesc extends React.Component { } diff --git a/types/react-icons/lib/fa/sort-asc.d.ts b/types/react-icons/lib/fa/sort-asc.d.ts new file mode 100644 index 0000000000..ce2c9fe0a2 --- /dev/null +++ b/types/react-icons/lib/fa/sort-asc.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSortAsc extends React.Component { } diff --git a/types/react-icons/lib/fa/sort-desc.d.ts b/types/react-icons/lib/fa/sort-desc.d.ts new file mode 100644 index 0000000000..0b4842a8f9 --- /dev/null +++ b/types/react-icons/lib/fa/sort-desc.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSortDesc extends React.Component { } diff --git a/types/react-icons/lib/fa/sort-numeric-asc.d.ts b/types/react-icons/lib/fa/sort-numeric-asc.d.ts new file mode 100644 index 0000000000..b7fa62fe1c --- /dev/null +++ b/types/react-icons/lib/fa/sort-numeric-asc.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSortNumericAsc extends React.Component { } diff --git a/types/react-icons/lib/fa/sort-numeric-desc.d.ts b/types/react-icons/lib/fa/sort-numeric-desc.d.ts new file mode 100644 index 0000000000..2c124abd75 --- /dev/null +++ b/types/react-icons/lib/fa/sort-numeric-desc.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSortNumericDesc extends React.Component { } diff --git a/types/react-icons/lib/fa/sort.d.ts b/types/react-icons/lib/fa/sort.d.ts new file mode 100644 index 0000000000..ad64fd0c52 --- /dev/null +++ b/types/react-icons/lib/fa/sort.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSort extends React.Component { } diff --git a/types/react-icons/lib/fa/soundcloud.d.ts b/types/react-icons/lib/fa/soundcloud.d.ts new file mode 100644 index 0000000000..c357e174b0 --- /dev/null +++ b/types/react-icons/lib/fa/soundcloud.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSoundcloud extends React.Component { } diff --git a/types/react-icons/lib/fa/space-shuttle.d.ts b/types/react-icons/lib/fa/space-shuttle.d.ts new file mode 100644 index 0000000000..0ce2f24916 --- /dev/null +++ b/types/react-icons/lib/fa/space-shuttle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSpaceShuttle extends React.Component { } diff --git a/types/react-icons/lib/fa/spinner.d.ts b/types/react-icons/lib/fa/spinner.d.ts new file mode 100644 index 0000000000..36e2dd9285 --- /dev/null +++ b/types/react-icons/lib/fa/spinner.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSpinner extends React.Component { } diff --git a/types/react-icons/lib/fa/spoon.d.ts b/types/react-icons/lib/fa/spoon.d.ts new file mode 100644 index 0000000000..1112916912 --- /dev/null +++ b/types/react-icons/lib/fa/spoon.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSpoon extends React.Component { } diff --git a/types/react-icons/lib/fa/spotify.d.ts b/types/react-icons/lib/fa/spotify.d.ts new file mode 100644 index 0000000000..94c862a866 --- /dev/null +++ b/types/react-icons/lib/fa/spotify.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSpotify extends React.Component { } diff --git a/types/react-icons/lib/fa/square-o.d.ts b/types/react-icons/lib/fa/square-o.d.ts new file mode 100644 index 0000000000..0d49bd6c23 --- /dev/null +++ b/types/react-icons/lib/fa/square-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSquareO extends React.Component { } diff --git a/types/react-icons/lib/fa/square.d.ts b/types/react-icons/lib/fa/square.d.ts new file mode 100644 index 0000000000..d95485831d --- /dev/null +++ b/types/react-icons/lib/fa/square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/stack-exchange.d.ts b/types/react-icons/lib/fa/stack-exchange.d.ts new file mode 100644 index 0000000000..a1f2d0e265 --- /dev/null +++ b/types/react-icons/lib/fa/stack-exchange.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaStackExchange extends React.Component { } diff --git a/types/react-icons/lib/fa/stack-overflow.d.ts b/types/react-icons/lib/fa/stack-overflow.d.ts new file mode 100644 index 0000000000..fd71beea7f --- /dev/null +++ b/types/react-icons/lib/fa/stack-overflow.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaStackOverflow extends React.Component { } diff --git a/types/react-icons/lib/fa/star-half-empty.d.ts b/types/react-icons/lib/fa/star-half-empty.d.ts new file mode 100644 index 0000000000..6e4b26ad53 --- /dev/null +++ b/types/react-icons/lib/fa/star-half-empty.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaStarHalfEmpty extends React.Component { } diff --git a/types/react-icons/lib/fa/star-half.d.ts b/types/react-icons/lib/fa/star-half.d.ts new file mode 100644 index 0000000000..d373ba6a07 --- /dev/null +++ b/types/react-icons/lib/fa/star-half.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaStarHalf extends React.Component { } diff --git a/types/react-icons/lib/fa/star-o.d.ts b/types/react-icons/lib/fa/star-o.d.ts new file mode 100644 index 0000000000..cf950d4867 --- /dev/null +++ b/types/react-icons/lib/fa/star-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaStarO extends React.Component { } diff --git a/types/react-icons/lib/fa/star.d.ts b/types/react-icons/lib/fa/star.d.ts new file mode 100644 index 0000000000..3113155a96 --- /dev/null +++ b/types/react-icons/lib/fa/star.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaStar extends React.Component { } diff --git a/types/react-icons/lib/fa/steam-square.d.ts b/types/react-icons/lib/fa/steam-square.d.ts new file mode 100644 index 0000000000..3ac2c21b30 --- /dev/null +++ b/types/react-icons/lib/fa/steam-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSteamSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/steam.d.ts b/types/react-icons/lib/fa/steam.d.ts new file mode 100644 index 0000000000..e1aa2f3313 --- /dev/null +++ b/types/react-icons/lib/fa/steam.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSteam extends React.Component { } diff --git a/types/react-icons/lib/fa/step-backward.d.ts b/types/react-icons/lib/fa/step-backward.d.ts new file mode 100644 index 0000000000..fe571ab271 --- /dev/null +++ b/types/react-icons/lib/fa/step-backward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaStepBackward extends React.Component { } diff --git a/types/react-icons/lib/fa/step-forward.d.ts b/types/react-icons/lib/fa/step-forward.d.ts new file mode 100644 index 0000000000..b8b01f06a8 --- /dev/null +++ b/types/react-icons/lib/fa/step-forward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaStepForward extends React.Component { } diff --git a/types/react-icons/lib/fa/stethoscope.d.ts b/types/react-icons/lib/fa/stethoscope.d.ts new file mode 100644 index 0000000000..3f8cdcba2e --- /dev/null +++ b/types/react-icons/lib/fa/stethoscope.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaStethoscope extends React.Component { } diff --git a/types/react-icons/lib/fa/sticky-note-o.d.ts b/types/react-icons/lib/fa/sticky-note-o.d.ts new file mode 100644 index 0000000000..5d54ced4ec --- /dev/null +++ b/types/react-icons/lib/fa/sticky-note-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaStickyNoteO extends React.Component { } diff --git a/types/react-icons/lib/fa/sticky-note.d.ts b/types/react-icons/lib/fa/sticky-note.d.ts new file mode 100644 index 0000000000..d30fedcdd7 --- /dev/null +++ b/types/react-icons/lib/fa/sticky-note.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaStickyNote extends React.Component { } diff --git a/types/react-icons/lib/fa/stop-circle-o.d.ts b/types/react-icons/lib/fa/stop-circle-o.d.ts new file mode 100644 index 0000000000..244ffeb6cc --- /dev/null +++ b/types/react-icons/lib/fa/stop-circle-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaStopCircleO extends React.Component { } diff --git a/types/react-icons/lib/fa/stop-circle.d.ts b/types/react-icons/lib/fa/stop-circle.d.ts new file mode 100644 index 0000000000..ef7a92d310 --- /dev/null +++ b/types/react-icons/lib/fa/stop-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaStopCircle extends React.Component { } diff --git a/types/react-icons/lib/fa/stop.d.ts b/types/react-icons/lib/fa/stop.d.ts new file mode 100644 index 0000000000..fd4356c3df --- /dev/null +++ b/types/react-icons/lib/fa/stop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaStop extends React.Component { } diff --git a/types/react-icons/lib/fa/street-view.d.ts b/types/react-icons/lib/fa/street-view.d.ts new file mode 100644 index 0000000000..d989035bde --- /dev/null +++ b/types/react-icons/lib/fa/street-view.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaStreetView extends React.Component { } diff --git a/types/react-icons/lib/fa/strikethrough.d.ts b/types/react-icons/lib/fa/strikethrough.d.ts new file mode 100644 index 0000000000..f472c0fd77 --- /dev/null +++ b/types/react-icons/lib/fa/strikethrough.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaStrikethrough extends React.Component { } diff --git a/types/react-icons/lib/fa/stumbleupon-circle.d.ts b/types/react-icons/lib/fa/stumbleupon-circle.d.ts new file mode 100644 index 0000000000..ecc4d2122e --- /dev/null +++ b/types/react-icons/lib/fa/stumbleupon-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaStumbleuponCircle extends React.Component { } diff --git a/types/react-icons/lib/fa/stumbleupon.d.ts b/types/react-icons/lib/fa/stumbleupon.d.ts new file mode 100644 index 0000000000..64185df0f3 --- /dev/null +++ b/types/react-icons/lib/fa/stumbleupon.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaStumbleupon extends React.Component { } diff --git a/types/react-icons/lib/fa/subscript.d.ts b/types/react-icons/lib/fa/subscript.d.ts new file mode 100644 index 0000000000..ac03fe6b89 --- /dev/null +++ b/types/react-icons/lib/fa/subscript.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSubscript extends React.Component { } diff --git a/types/react-icons/lib/fa/subway.d.ts b/types/react-icons/lib/fa/subway.d.ts new file mode 100644 index 0000000000..ce4b09edbf --- /dev/null +++ b/types/react-icons/lib/fa/subway.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSubway extends React.Component { } diff --git a/types/react-icons/lib/fa/suitcase.d.ts b/types/react-icons/lib/fa/suitcase.d.ts new file mode 100644 index 0000000000..0bf3807780 --- /dev/null +++ b/types/react-icons/lib/fa/suitcase.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSuitcase extends React.Component { } diff --git a/types/react-icons/lib/fa/sun-o.d.ts b/types/react-icons/lib/fa/sun-o.d.ts new file mode 100644 index 0000000000..3ac6bfbdd3 --- /dev/null +++ b/types/react-icons/lib/fa/sun-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSunO extends React.Component { } diff --git a/types/react-icons/lib/fa/superscript.d.ts b/types/react-icons/lib/fa/superscript.d.ts new file mode 100644 index 0000000000..07a901912e --- /dev/null +++ b/types/react-icons/lib/fa/superscript.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaSuperscript extends React.Component { } diff --git a/types/react-icons/lib/fa/table.d.ts b/types/react-icons/lib/fa/table.d.ts new file mode 100644 index 0000000000..a8ff4e9bf5 --- /dev/null +++ b/types/react-icons/lib/fa/table.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTable extends React.Component { } diff --git a/types/react-icons/lib/fa/tablet.d.ts b/types/react-icons/lib/fa/tablet.d.ts new file mode 100644 index 0000000000..37ea453d17 --- /dev/null +++ b/types/react-icons/lib/fa/tablet.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTablet extends React.Component { } diff --git a/types/react-icons/lib/fa/tag.d.ts b/types/react-icons/lib/fa/tag.d.ts new file mode 100644 index 0000000000..247756142e --- /dev/null +++ b/types/react-icons/lib/fa/tag.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTag extends React.Component { } diff --git a/types/react-icons/lib/fa/tags.d.ts b/types/react-icons/lib/fa/tags.d.ts new file mode 100644 index 0000000000..3518af839a --- /dev/null +++ b/types/react-icons/lib/fa/tags.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTags extends React.Component { } diff --git a/types/react-icons/lib/fa/tasks.d.ts b/types/react-icons/lib/fa/tasks.d.ts new file mode 100644 index 0000000000..f0b59f374e --- /dev/null +++ b/types/react-icons/lib/fa/tasks.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTasks extends React.Component { } diff --git a/types/react-icons/lib/fa/television.d.ts b/types/react-icons/lib/fa/television.d.ts new file mode 100644 index 0000000000..88b8693a6a --- /dev/null +++ b/types/react-icons/lib/fa/television.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTelevision extends React.Component { } diff --git a/types/react-icons/lib/fa/tencent-weibo.d.ts b/types/react-icons/lib/fa/tencent-weibo.d.ts new file mode 100644 index 0000000000..ce9a04848c --- /dev/null +++ b/types/react-icons/lib/fa/tencent-weibo.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTencentWeibo extends React.Component { } diff --git a/types/react-icons/lib/fa/terminal.d.ts b/types/react-icons/lib/fa/terminal.d.ts new file mode 100644 index 0000000000..75daa58c87 --- /dev/null +++ b/types/react-icons/lib/fa/terminal.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTerminal extends React.Component { } diff --git a/types/react-icons/lib/fa/text-height.d.ts b/types/react-icons/lib/fa/text-height.d.ts new file mode 100644 index 0000000000..69271e359f --- /dev/null +++ b/types/react-icons/lib/fa/text-height.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTextHeight extends React.Component { } diff --git a/types/react-icons/lib/fa/text-width.d.ts b/types/react-icons/lib/fa/text-width.d.ts new file mode 100644 index 0000000000..820357df60 --- /dev/null +++ b/types/react-icons/lib/fa/text-width.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTextWidth extends React.Component { } diff --git a/types/react-icons/lib/fa/th-large.d.ts b/types/react-icons/lib/fa/th-large.d.ts new file mode 100644 index 0000000000..f059da9990 --- /dev/null +++ b/types/react-icons/lib/fa/th-large.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaThLarge extends React.Component { } diff --git a/types/react-icons/lib/fa/th-list.d.ts b/types/react-icons/lib/fa/th-list.d.ts new file mode 100644 index 0000000000..09ef167885 --- /dev/null +++ b/types/react-icons/lib/fa/th-list.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaThList extends React.Component { } diff --git a/types/react-icons/lib/fa/th.d.ts b/types/react-icons/lib/fa/th.d.ts new file mode 100644 index 0000000000..9d6674b5d3 --- /dev/null +++ b/types/react-icons/lib/fa/th.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTh extends React.Component { } diff --git a/types/react-icons/lib/fa/thumb-tack.d.ts b/types/react-icons/lib/fa/thumb-tack.d.ts new file mode 100644 index 0000000000..b84e262f77 --- /dev/null +++ b/types/react-icons/lib/fa/thumb-tack.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaThumbTack extends React.Component { } diff --git a/types/react-icons/lib/fa/thumbs-down.d.ts b/types/react-icons/lib/fa/thumbs-down.d.ts new file mode 100644 index 0000000000..c684e7ad5c --- /dev/null +++ b/types/react-icons/lib/fa/thumbs-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaThumbsDown extends React.Component { } diff --git a/types/react-icons/lib/fa/thumbs-o-down.d.ts b/types/react-icons/lib/fa/thumbs-o-down.d.ts new file mode 100644 index 0000000000..0c9f640d18 --- /dev/null +++ b/types/react-icons/lib/fa/thumbs-o-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaThumbsODown extends React.Component { } diff --git a/types/react-icons/lib/fa/thumbs-o-up.d.ts b/types/react-icons/lib/fa/thumbs-o-up.d.ts new file mode 100644 index 0000000000..9d5a487ae1 --- /dev/null +++ b/types/react-icons/lib/fa/thumbs-o-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaThumbsOUp extends React.Component { } diff --git a/types/react-icons/lib/fa/thumbs-up.d.ts b/types/react-icons/lib/fa/thumbs-up.d.ts new file mode 100644 index 0000000000..84348d3ac2 --- /dev/null +++ b/types/react-icons/lib/fa/thumbs-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaThumbsUp extends React.Component { } diff --git a/types/react-icons/lib/fa/ticket.d.ts b/types/react-icons/lib/fa/ticket.d.ts new file mode 100644 index 0000000000..275a38e4dd --- /dev/null +++ b/types/react-icons/lib/fa/ticket.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTicket extends React.Component { } diff --git a/types/react-icons/lib/fa/times-circle-o.d.ts b/types/react-icons/lib/fa/times-circle-o.d.ts new file mode 100644 index 0000000000..5a96466de6 --- /dev/null +++ b/types/react-icons/lib/fa/times-circle-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTimesCircleO extends React.Component { } diff --git a/types/react-icons/lib/fa/times-circle.d.ts b/types/react-icons/lib/fa/times-circle.d.ts new file mode 100644 index 0000000000..d73596cfb8 --- /dev/null +++ b/types/react-icons/lib/fa/times-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTimesCircle extends React.Component { } diff --git a/types/react-icons/lib/fa/tint.d.ts b/types/react-icons/lib/fa/tint.d.ts new file mode 100644 index 0000000000..b4155f948c --- /dev/null +++ b/types/react-icons/lib/fa/tint.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTint extends React.Component { } diff --git a/types/react-icons/lib/fa/toggle-off.d.ts b/types/react-icons/lib/fa/toggle-off.d.ts new file mode 100644 index 0000000000..e4bd987307 --- /dev/null +++ b/types/react-icons/lib/fa/toggle-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaToggleOff extends React.Component { } diff --git a/types/react-icons/lib/fa/toggle-on.d.ts b/types/react-icons/lib/fa/toggle-on.d.ts new file mode 100644 index 0000000000..69324fdd13 --- /dev/null +++ b/types/react-icons/lib/fa/toggle-on.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaToggleOn extends React.Component { } diff --git a/types/react-icons/lib/fa/trademark.d.ts b/types/react-icons/lib/fa/trademark.d.ts new file mode 100644 index 0000000000..c8ddb8dbf6 --- /dev/null +++ b/types/react-icons/lib/fa/trademark.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTrademark extends React.Component { } diff --git a/types/react-icons/lib/fa/train.d.ts b/types/react-icons/lib/fa/train.d.ts new file mode 100644 index 0000000000..a686d3a677 --- /dev/null +++ b/types/react-icons/lib/fa/train.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTrain extends React.Component { } diff --git a/types/react-icons/lib/fa/transgender-alt.d.ts b/types/react-icons/lib/fa/transgender-alt.d.ts new file mode 100644 index 0000000000..0794285d19 --- /dev/null +++ b/types/react-icons/lib/fa/transgender-alt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTransgenderAlt extends React.Component { } diff --git a/types/react-icons/lib/fa/trash-o.d.ts b/types/react-icons/lib/fa/trash-o.d.ts new file mode 100644 index 0000000000..c76a07e3f8 --- /dev/null +++ b/types/react-icons/lib/fa/trash-o.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTrashO extends React.Component { } diff --git a/types/react-icons/lib/fa/trash.d.ts b/types/react-icons/lib/fa/trash.d.ts new file mode 100644 index 0000000000..f2f4ce4117 --- /dev/null +++ b/types/react-icons/lib/fa/trash.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTrash extends React.Component { } diff --git a/types/react-icons/lib/fa/tree.d.ts b/types/react-icons/lib/fa/tree.d.ts new file mode 100644 index 0000000000..7b94f9f52e --- /dev/null +++ b/types/react-icons/lib/fa/tree.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTree extends React.Component { } diff --git a/types/react-icons/lib/fa/trello.d.ts b/types/react-icons/lib/fa/trello.d.ts new file mode 100644 index 0000000000..a231c272aa --- /dev/null +++ b/types/react-icons/lib/fa/trello.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTrello extends React.Component { } diff --git a/types/react-icons/lib/fa/tripadvisor.d.ts b/types/react-icons/lib/fa/tripadvisor.d.ts new file mode 100644 index 0000000000..95ad22d7eb --- /dev/null +++ b/types/react-icons/lib/fa/tripadvisor.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTripadvisor extends React.Component { } diff --git a/types/react-icons/lib/fa/trophy.d.ts b/types/react-icons/lib/fa/trophy.d.ts new file mode 100644 index 0000000000..48f48edec1 --- /dev/null +++ b/types/react-icons/lib/fa/trophy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTrophy extends React.Component { } diff --git a/types/react-icons/lib/fa/truck.d.ts b/types/react-icons/lib/fa/truck.d.ts new file mode 100644 index 0000000000..00bc370441 --- /dev/null +++ b/types/react-icons/lib/fa/truck.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTruck extends React.Component { } diff --git a/types/react-icons/lib/fa/try.d.ts b/types/react-icons/lib/fa/try.d.ts new file mode 100644 index 0000000000..fa4492d24b --- /dev/null +++ b/types/react-icons/lib/fa/try.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTry extends React.Component { } diff --git a/types/react-icons/lib/fa/tty.d.ts b/types/react-icons/lib/fa/tty.d.ts new file mode 100644 index 0000000000..76ec94f74e --- /dev/null +++ b/types/react-icons/lib/fa/tty.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTty extends React.Component { } diff --git a/types/react-icons/lib/fa/tumblr-square.d.ts b/types/react-icons/lib/fa/tumblr-square.d.ts new file mode 100644 index 0000000000..2bf15bf460 --- /dev/null +++ b/types/react-icons/lib/fa/tumblr-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTumblrSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/tumblr.d.ts b/types/react-icons/lib/fa/tumblr.d.ts new file mode 100644 index 0000000000..c60ae76806 --- /dev/null +++ b/types/react-icons/lib/fa/tumblr.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTumblr extends React.Component { } diff --git a/types/react-icons/lib/fa/twitch.d.ts b/types/react-icons/lib/fa/twitch.d.ts new file mode 100644 index 0000000000..3e46ebac6c --- /dev/null +++ b/types/react-icons/lib/fa/twitch.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTwitch extends React.Component { } diff --git a/types/react-icons/lib/fa/twitter-square.d.ts b/types/react-icons/lib/fa/twitter-square.d.ts new file mode 100644 index 0000000000..fb77d182e6 --- /dev/null +++ b/types/react-icons/lib/fa/twitter-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTwitterSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/twitter.d.ts b/types/react-icons/lib/fa/twitter.d.ts new file mode 100644 index 0000000000..e3d5259918 --- /dev/null +++ b/types/react-icons/lib/fa/twitter.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaTwitter extends React.Component { } diff --git a/types/react-icons/lib/fa/umbrella.d.ts b/types/react-icons/lib/fa/umbrella.d.ts new file mode 100644 index 0000000000..74fefd9404 --- /dev/null +++ b/types/react-icons/lib/fa/umbrella.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaUmbrella extends React.Component { } diff --git a/types/react-icons/lib/fa/underline.d.ts b/types/react-icons/lib/fa/underline.d.ts new file mode 100644 index 0000000000..af907eba18 --- /dev/null +++ b/types/react-icons/lib/fa/underline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaUnderline extends React.Component { } diff --git a/types/react-icons/lib/fa/universal-access.d.ts b/types/react-icons/lib/fa/universal-access.d.ts new file mode 100644 index 0000000000..a02ba6c3be --- /dev/null +++ b/types/react-icons/lib/fa/universal-access.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaUniversalAccess extends React.Component { } diff --git a/types/react-icons/lib/fa/unlock-alt.d.ts b/types/react-icons/lib/fa/unlock-alt.d.ts new file mode 100644 index 0000000000..9d84986727 --- /dev/null +++ b/types/react-icons/lib/fa/unlock-alt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaUnlockAlt extends React.Component { } diff --git a/types/react-icons/lib/fa/unlock.d.ts b/types/react-icons/lib/fa/unlock.d.ts new file mode 100644 index 0000000000..5b1979f0cd --- /dev/null +++ b/types/react-icons/lib/fa/unlock.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaUnlock extends React.Component { } diff --git a/types/react-icons/lib/fa/upload.d.ts b/types/react-icons/lib/fa/upload.d.ts new file mode 100644 index 0000000000..566ab8a65d --- /dev/null +++ b/types/react-icons/lib/fa/upload.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaUpload extends React.Component { } diff --git a/types/react-icons/lib/fa/usb.d.ts b/types/react-icons/lib/fa/usb.d.ts new file mode 100644 index 0000000000..6ca16d94e8 --- /dev/null +++ b/types/react-icons/lib/fa/usb.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaUsb extends React.Component { } diff --git a/types/react-icons/lib/fa/user-md.d.ts b/types/react-icons/lib/fa/user-md.d.ts new file mode 100644 index 0000000000..0d6f2d9781 --- /dev/null +++ b/types/react-icons/lib/fa/user-md.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaUserMd extends React.Component { } diff --git a/types/react-icons/lib/fa/user-plus.d.ts b/types/react-icons/lib/fa/user-plus.d.ts new file mode 100644 index 0000000000..659b2ecb13 --- /dev/null +++ b/types/react-icons/lib/fa/user-plus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaUserPlus extends React.Component { } diff --git a/types/react-icons/lib/fa/user-secret.d.ts b/types/react-icons/lib/fa/user-secret.d.ts new file mode 100644 index 0000000000..43bf4e4ac3 --- /dev/null +++ b/types/react-icons/lib/fa/user-secret.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaUserSecret extends React.Component { } diff --git a/types/react-icons/lib/fa/user-times.d.ts b/types/react-icons/lib/fa/user-times.d.ts new file mode 100644 index 0000000000..d235fd5463 --- /dev/null +++ b/types/react-icons/lib/fa/user-times.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaUserTimes extends React.Component { } diff --git a/types/react-icons/lib/fa/user.d.ts b/types/react-icons/lib/fa/user.d.ts new file mode 100644 index 0000000000..cf7b5ac689 --- /dev/null +++ b/types/react-icons/lib/fa/user.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaUser extends React.Component { } diff --git a/types/react-icons/lib/fa/venus-double.d.ts b/types/react-icons/lib/fa/venus-double.d.ts new file mode 100644 index 0000000000..5a3602b516 --- /dev/null +++ b/types/react-icons/lib/fa/venus-double.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaVenusDouble extends React.Component { } diff --git a/types/react-icons/lib/fa/venus-mars.d.ts b/types/react-icons/lib/fa/venus-mars.d.ts new file mode 100644 index 0000000000..70d7448d7e --- /dev/null +++ b/types/react-icons/lib/fa/venus-mars.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaVenusMars extends React.Component { } diff --git a/types/react-icons/lib/fa/venus.d.ts b/types/react-icons/lib/fa/venus.d.ts new file mode 100644 index 0000000000..e80ab6053c --- /dev/null +++ b/types/react-icons/lib/fa/venus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaVenus extends React.Component { } diff --git a/types/react-icons/lib/fa/viacoin.d.ts b/types/react-icons/lib/fa/viacoin.d.ts new file mode 100644 index 0000000000..c9f1bef6f3 --- /dev/null +++ b/types/react-icons/lib/fa/viacoin.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaViacoin extends React.Component { } diff --git a/types/react-icons/lib/fa/viadeo-square.d.ts b/types/react-icons/lib/fa/viadeo-square.d.ts new file mode 100644 index 0000000000..7f10d8302f --- /dev/null +++ b/types/react-icons/lib/fa/viadeo-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaViadeoSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/viadeo.d.ts b/types/react-icons/lib/fa/viadeo.d.ts new file mode 100644 index 0000000000..551545f5cc --- /dev/null +++ b/types/react-icons/lib/fa/viadeo.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaViadeo extends React.Component { } diff --git a/types/react-icons/lib/fa/video-camera.d.ts b/types/react-icons/lib/fa/video-camera.d.ts new file mode 100644 index 0000000000..f3cf036582 --- /dev/null +++ b/types/react-icons/lib/fa/video-camera.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaVideoCamera extends React.Component { } diff --git a/types/react-icons/lib/fa/vimeo-square.d.ts b/types/react-icons/lib/fa/vimeo-square.d.ts new file mode 100644 index 0000000000..9b0357e7ca --- /dev/null +++ b/types/react-icons/lib/fa/vimeo-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaVimeoSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/vimeo.d.ts b/types/react-icons/lib/fa/vimeo.d.ts new file mode 100644 index 0000000000..7331ef98e8 --- /dev/null +++ b/types/react-icons/lib/fa/vimeo.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaVimeo extends React.Component { } diff --git a/types/react-icons/lib/fa/vine.d.ts b/types/react-icons/lib/fa/vine.d.ts new file mode 100644 index 0000000000..b329619d15 --- /dev/null +++ b/types/react-icons/lib/fa/vine.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaVine extends React.Component { } diff --git a/types/react-icons/lib/fa/vk.d.ts b/types/react-icons/lib/fa/vk.d.ts new file mode 100644 index 0000000000..07b3cdb5a9 --- /dev/null +++ b/types/react-icons/lib/fa/vk.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaVk extends React.Component { } diff --git a/types/react-icons/lib/fa/volume-control-phone.d.ts b/types/react-icons/lib/fa/volume-control-phone.d.ts new file mode 100644 index 0000000000..5212a54d80 --- /dev/null +++ b/types/react-icons/lib/fa/volume-control-phone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaVolumeControlPhone extends React.Component { } diff --git a/types/react-icons/lib/fa/volume-down.d.ts b/types/react-icons/lib/fa/volume-down.d.ts new file mode 100644 index 0000000000..31c63f8901 --- /dev/null +++ b/types/react-icons/lib/fa/volume-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaVolumeDown extends React.Component { } diff --git a/types/react-icons/lib/fa/volume-off.d.ts b/types/react-icons/lib/fa/volume-off.d.ts new file mode 100644 index 0000000000..c0e0d7605e --- /dev/null +++ b/types/react-icons/lib/fa/volume-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaVolumeOff extends React.Component { } diff --git a/types/react-icons/lib/fa/volume-up.d.ts b/types/react-icons/lib/fa/volume-up.d.ts new file mode 100644 index 0000000000..957cdc648b --- /dev/null +++ b/types/react-icons/lib/fa/volume-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaVolumeUp extends React.Component { } diff --git a/types/react-icons/lib/fa/wechat.d.ts b/types/react-icons/lib/fa/wechat.d.ts new file mode 100644 index 0000000000..35b902956e --- /dev/null +++ b/types/react-icons/lib/fa/wechat.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaWechat extends React.Component { } diff --git a/types/react-icons/lib/fa/weibo.d.ts b/types/react-icons/lib/fa/weibo.d.ts new file mode 100644 index 0000000000..afbebd68a5 --- /dev/null +++ b/types/react-icons/lib/fa/weibo.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaWeibo extends React.Component { } diff --git a/types/react-icons/lib/fa/whatsapp.d.ts b/types/react-icons/lib/fa/whatsapp.d.ts new file mode 100644 index 0000000000..d4491b527e --- /dev/null +++ b/types/react-icons/lib/fa/whatsapp.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaWhatsapp extends React.Component { } diff --git a/types/react-icons/lib/fa/wheelchair-alt.d.ts b/types/react-icons/lib/fa/wheelchair-alt.d.ts new file mode 100644 index 0000000000..beb76b7b56 --- /dev/null +++ b/types/react-icons/lib/fa/wheelchair-alt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaWheelchairAlt extends React.Component { } diff --git a/types/react-icons/lib/fa/wheelchair.d.ts b/types/react-icons/lib/fa/wheelchair.d.ts new file mode 100644 index 0000000000..b93d14b52d --- /dev/null +++ b/types/react-icons/lib/fa/wheelchair.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaWheelchair extends React.Component { } diff --git a/types/react-icons/lib/fa/wifi.d.ts b/types/react-icons/lib/fa/wifi.d.ts new file mode 100644 index 0000000000..001d3cfc85 --- /dev/null +++ b/types/react-icons/lib/fa/wifi.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaWifi extends React.Component { } diff --git a/types/react-icons/lib/fa/wikipedia-w.d.ts b/types/react-icons/lib/fa/wikipedia-w.d.ts new file mode 100644 index 0000000000..279a74f1af --- /dev/null +++ b/types/react-icons/lib/fa/wikipedia-w.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaWikipediaW extends React.Component { } diff --git a/types/react-icons/lib/fa/windows.d.ts b/types/react-icons/lib/fa/windows.d.ts new file mode 100644 index 0000000000..7e201a440e --- /dev/null +++ b/types/react-icons/lib/fa/windows.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaWindows extends React.Component { } diff --git a/types/react-icons/lib/fa/wordpress.d.ts b/types/react-icons/lib/fa/wordpress.d.ts new file mode 100644 index 0000000000..6419cd1638 --- /dev/null +++ b/types/react-icons/lib/fa/wordpress.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaWordpress extends React.Component { } diff --git a/types/react-icons/lib/fa/wpbeginner.d.ts b/types/react-icons/lib/fa/wpbeginner.d.ts new file mode 100644 index 0000000000..cccbdae9db --- /dev/null +++ b/types/react-icons/lib/fa/wpbeginner.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaWpbeginner extends React.Component { } diff --git a/types/react-icons/lib/fa/wpforms.d.ts b/types/react-icons/lib/fa/wpforms.d.ts new file mode 100644 index 0000000000..1ec4e76460 --- /dev/null +++ b/types/react-icons/lib/fa/wpforms.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaWpforms extends React.Component { } diff --git a/types/react-icons/lib/fa/wrench.d.ts b/types/react-icons/lib/fa/wrench.d.ts new file mode 100644 index 0000000000..0264b8d26b --- /dev/null +++ b/types/react-icons/lib/fa/wrench.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaWrench extends React.Component { } diff --git a/types/react-icons/lib/fa/xing-square.d.ts b/types/react-icons/lib/fa/xing-square.d.ts new file mode 100644 index 0000000000..5f462112ea --- /dev/null +++ b/types/react-icons/lib/fa/xing-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaXingSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/xing.d.ts b/types/react-icons/lib/fa/xing.d.ts new file mode 100644 index 0000000000..1974b8c345 --- /dev/null +++ b/types/react-icons/lib/fa/xing.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaXing extends React.Component { } diff --git a/types/react-icons/lib/fa/y-combinator.d.ts b/types/react-icons/lib/fa/y-combinator.d.ts new file mode 100644 index 0000000000..00fbccab76 --- /dev/null +++ b/types/react-icons/lib/fa/y-combinator.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaYCombinator extends React.Component { } diff --git a/types/react-icons/lib/fa/yahoo.d.ts b/types/react-icons/lib/fa/yahoo.d.ts new file mode 100644 index 0000000000..20c14e5e13 --- /dev/null +++ b/types/react-icons/lib/fa/yahoo.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaYahoo extends React.Component { } diff --git a/types/react-icons/lib/fa/yelp.d.ts b/types/react-icons/lib/fa/yelp.d.ts new file mode 100644 index 0000000000..72ade5360d --- /dev/null +++ b/types/react-icons/lib/fa/yelp.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaYelp extends React.Component { } diff --git a/types/react-icons/lib/fa/youtube-play.d.ts b/types/react-icons/lib/fa/youtube-play.d.ts new file mode 100644 index 0000000000..f1829960cf --- /dev/null +++ b/types/react-icons/lib/fa/youtube-play.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaYoutubePlay extends React.Component { } diff --git a/types/react-icons/lib/fa/youtube-square.d.ts b/types/react-icons/lib/fa/youtube-square.d.ts new file mode 100644 index 0000000000..c0ccac4e45 --- /dev/null +++ b/types/react-icons/lib/fa/youtube-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaYoutubeSquare extends React.Component { } diff --git a/types/react-icons/lib/fa/youtube.d.ts b/types/react-icons/lib/fa/youtube.d.ts new file mode 100644 index 0000000000..7aee8011f5 --- /dev/null +++ b/types/react-icons/lib/fa/youtube.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class FaYoutube extends React.Component { } diff --git a/types/react-icons/lib/go/alert.d.ts b/types/react-icons/lib/go/alert.d.ts new file mode 100644 index 0000000000..7380b75f13 --- /dev/null +++ b/types/react-icons/lib/go/alert.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoAlert extends React.Component { } diff --git a/types/react-icons/lib/go/alignment-align.d.ts b/types/react-icons/lib/go/alignment-align.d.ts new file mode 100644 index 0000000000..b0279982e2 --- /dev/null +++ b/types/react-icons/lib/go/alignment-align.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoAlignmentAlign extends React.Component { } diff --git a/types/react-icons/lib/go/alignment-aligned-to.d.ts b/types/react-icons/lib/go/alignment-aligned-to.d.ts new file mode 100644 index 0000000000..4d42f9aff5 --- /dev/null +++ b/types/react-icons/lib/go/alignment-aligned-to.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoAlignmentAlignedTo extends React.Component { } diff --git a/types/react-icons/lib/go/alignment-unalign.d.ts b/types/react-icons/lib/go/alignment-unalign.d.ts new file mode 100644 index 0000000000..fcc4e84501 --- /dev/null +++ b/types/react-icons/lib/go/alignment-unalign.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoAlignmentUnalign extends React.Component { } diff --git a/types/react-icons/lib/go/arrow-down.d.ts b/types/react-icons/lib/go/arrow-down.d.ts new file mode 100644 index 0000000000..88395ee5f4 --- /dev/null +++ b/types/react-icons/lib/go/arrow-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoArrowDown extends React.Component { } diff --git a/types/react-icons/lib/go/arrow-left.d.ts b/types/react-icons/lib/go/arrow-left.d.ts new file mode 100644 index 0000000000..4bbebb5f65 --- /dev/null +++ b/types/react-icons/lib/go/arrow-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoArrowLeft extends React.Component { } diff --git a/types/react-icons/lib/go/arrow-right.d.ts b/types/react-icons/lib/go/arrow-right.d.ts new file mode 100644 index 0000000000..484a4f9317 --- /dev/null +++ b/types/react-icons/lib/go/arrow-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoArrowRight extends React.Component { } diff --git a/types/react-icons/lib/go/arrow-small-down.d.ts b/types/react-icons/lib/go/arrow-small-down.d.ts new file mode 100644 index 0000000000..d4aa907034 --- /dev/null +++ b/types/react-icons/lib/go/arrow-small-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoArrowSmallDown extends React.Component { } diff --git a/types/react-icons/lib/go/arrow-small-left.d.ts b/types/react-icons/lib/go/arrow-small-left.d.ts new file mode 100644 index 0000000000..a3700b5837 --- /dev/null +++ b/types/react-icons/lib/go/arrow-small-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoArrowSmallLeft extends React.Component { } diff --git a/types/react-icons/lib/go/arrow-small-right.d.ts b/types/react-icons/lib/go/arrow-small-right.d.ts new file mode 100644 index 0000000000..0ada4d71ee --- /dev/null +++ b/types/react-icons/lib/go/arrow-small-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoArrowSmallRight extends React.Component { } diff --git a/types/react-icons/lib/go/arrow-small-up.d.ts b/types/react-icons/lib/go/arrow-small-up.d.ts new file mode 100644 index 0000000000..2bd6cdb4f3 --- /dev/null +++ b/types/react-icons/lib/go/arrow-small-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoArrowSmallUp extends React.Component { } diff --git a/types/react-icons/lib/go/arrow-up.d.ts b/types/react-icons/lib/go/arrow-up.d.ts new file mode 100644 index 0000000000..67a6866297 --- /dev/null +++ b/types/react-icons/lib/go/arrow-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoArrowUp extends React.Component { } diff --git a/types/react-icons/lib/go/beer.d.ts b/types/react-icons/lib/go/beer.d.ts new file mode 100644 index 0000000000..71baf9a3ac --- /dev/null +++ b/types/react-icons/lib/go/beer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoBeer extends React.Component { } diff --git a/types/react-icons/lib/go/book.d.ts b/types/react-icons/lib/go/book.d.ts new file mode 100644 index 0000000000..cd181328b6 --- /dev/null +++ b/types/react-icons/lib/go/book.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoBook extends React.Component { } diff --git a/types/react-icons/lib/go/bookmark.d.ts b/types/react-icons/lib/go/bookmark.d.ts new file mode 100644 index 0000000000..d3b156181f --- /dev/null +++ b/types/react-icons/lib/go/bookmark.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoBookmark extends React.Component { } diff --git a/types/react-icons/lib/go/briefcase.d.ts b/types/react-icons/lib/go/briefcase.d.ts new file mode 100644 index 0000000000..984092ba9b --- /dev/null +++ b/types/react-icons/lib/go/briefcase.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoBriefcase extends React.Component { } diff --git a/types/react-icons/lib/go/broadcast.d.ts b/types/react-icons/lib/go/broadcast.d.ts new file mode 100644 index 0000000000..6c40834a02 --- /dev/null +++ b/types/react-icons/lib/go/broadcast.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoBroadcast extends React.Component { } diff --git a/types/react-icons/lib/go/browser.d.ts b/types/react-icons/lib/go/browser.d.ts new file mode 100644 index 0000000000..c268f36ec0 --- /dev/null +++ b/types/react-icons/lib/go/browser.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoBrowser extends React.Component { } diff --git a/types/react-icons/lib/go/bug.d.ts b/types/react-icons/lib/go/bug.d.ts new file mode 100644 index 0000000000..8159ff886d --- /dev/null +++ b/types/react-icons/lib/go/bug.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoBug extends React.Component { } diff --git a/types/react-icons/lib/go/calendar.d.ts b/types/react-icons/lib/go/calendar.d.ts new file mode 100644 index 0000000000..5c52a2bf67 --- /dev/null +++ b/types/react-icons/lib/go/calendar.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoCalendar extends React.Component { } diff --git a/types/react-icons/lib/go/check.d.ts b/types/react-icons/lib/go/check.d.ts new file mode 100644 index 0000000000..f1f9c1536b --- /dev/null +++ b/types/react-icons/lib/go/check.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoCheck extends React.Component { } diff --git a/types/react-icons/lib/go/checklist.d.ts b/types/react-icons/lib/go/checklist.d.ts new file mode 100644 index 0000000000..e1bfc3a76e --- /dev/null +++ b/types/react-icons/lib/go/checklist.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoChecklist extends React.Component { } diff --git a/types/react-icons/lib/go/chevron-down.d.ts b/types/react-icons/lib/go/chevron-down.d.ts new file mode 100644 index 0000000000..4879ed7129 --- /dev/null +++ b/types/react-icons/lib/go/chevron-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoChevronDown extends React.Component { } diff --git a/types/react-icons/lib/go/chevron-left.d.ts b/types/react-icons/lib/go/chevron-left.d.ts new file mode 100644 index 0000000000..36a6c0f96a --- /dev/null +++ b/types/react-icons/lib/go/chevron-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoChevronLeft extends React.Component { } diff --git a/types/react-icons/lib/go/chevron-right.d.ts b/types/react-icons/lib/go/chevron-right.d.ts new file mode 100644 index 0000000000..55e19d951a --- /dev/null +++ b/types/react-icons/lib/go/chevron-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoChevronRight extends React.Component { } diff --git a/types/react-icons/lib/go/chevron-up.d.ts b/types/react-icons/lib/go/chevron-up.d.ts new file mode 100644 index 0000000000..2eba9e55c4 --- /dev/null +++ b/types/react-icons/lib/go/chevron-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoChevronUp extends React.Component { } diff --git a/types/react-icons/lib/go/circle-slash.d.ts b/types/react-icons/lib/go/circle-slash.d.ts new file mode 100644 index 0000000000..4400a217f6 --- /dev/null +++ b/types/react-icons/lib/go/circle-slash.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoCircleSlash extends React.Component { } diff --git a/types/react-icons/lib/go/circuit-board.d.ts b/types/react-icons/lib/go/circuit-board.d.ts new file mode 100644 index 0000000000..396c2dc8e8 --- /dev/null +++ b/types/react-icons/lib/go/circuit-board.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoCircuitBoard extends React.Component { } diff --git a/types/react-icons/lib/go/clippy.d.ts b/types/react-icons/lib/go/clippy.d.ts new file mode 100644 index 0000000000..3483e7754e --- /dev/null +++ b/types/react-icons/lib/go/clippy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoClippy extends React.Component { } diff --git a/types/react-icons/lib/go/clock.d.ts b/types/react-icons/lib/go/clock.d.ts new file mode 100644 index 0000000000..3cac2ddd8a --- /dev/null +++ b/types/react-icons/lib/go/clock.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoClock extends React.Component { } diff --git a/types/react-icons/lib/go/cloud-download.d.ts b/types/react-icons/lib/go/cloud-download.d.ts new file mode 100644 index 0000000000..a04b70acac --- /dev/null +++ b/types/react-icons/lib/go/cloud-download.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoCloudDownload extends React.Component { } diff --git a/types/react-icons/lib/go/cloud-upload.d.ts b/types/react-icons/lib/go/cloud-upload.d.ts new file mode 100644 index 0000000000..07ac4f6286 --- /dev/null +++ b/types/react-icons/lib/go/cloud-upload.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoCloudUpload extends React.Component { } diff --git a/types/react-icons/lib/go/code.d.ts b/types/react-icons/lib/go/code.d.ts new file mode 100644 index 0000000000..7bbb2b7348 --- /dev/null +++ b/types/react-icons/lib/go/code.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoCode extends React.Component { } diff --git a/types/react-icons/lib/go/color-mode.d.ts b/types/react-icons/lib/go/color-mode.d.ts new file mode 100644 index 0000000000..f047381423 --- /dev/null +++ b/types/react-icons/lib/go/color-mode.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoColorMode extends React.Component { } diff --git a/types/react-icons/lib/go/comment-discussion.d.ts b/types/react-icons/lib/go/comment-discussion.d.ts new file mode 100644 index 0000000000..62be81f952 --- /dev/null +++ b/types/react-icons/lib/go/comment-discussion.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoCommentDiscussion extends React.Component { } diff --git a/types/react-icons/lib/go/comment.d.ts b/types/react-icons/lib/go/comment.d.ts new file mode 100644 index 0000000000..2e14daa806 --- /dev/null +++ b/types/react-icons/lib/go/comment.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoComment extends React.Component { } diff --git a/types/react-icons/lib/go/credit-card.d.ts b/types/react-icons/lib/go/credit-card.d.ts new file mode 100644 index 0000000000..d7dbb4127c --- /dev/null +++ b/types/react-icons/lib/go/credit-card.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoCreditCard extends React.Component { } diff --git a/types/react-icons/lib/go/dash.d.ts b/types/react-icons/lib/go/dash.d.ts new file mode 100644 index 0000000000..c7c6ca094f --- /dev/null +++ b/types/react-icons/lib/go/dash.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoDash extends React.Component { } diff --git a/types/react-icons/lib/go/dashboard.d.ts b/types/react-icons/lib/go/dashboard.d.ts new file mode 100644 index 0000000000..ab328f0213 --- /dev/null +++ b/types/react-icons/lib/go/dashboard.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoDashboard extends React.Component { } diff --git a/types/react-icons/lib/go/database.d.ts b/types/react-icons/lib/go/database.d.ts new file mode 100644 index 0000000000..34758c332d --- /dev/null +++ b/types/react-icons/lib/go/database.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoDatabase extends React.Component { } diff --git a/types/react-icons/lib/go/device-camera-video.d.ts b/types/react-icons/lib/go/device-camera-video.d.ts new file mode 100644 index 0000000000..9274c81fdd --- /dev/null +++ b/types/react-icons/lib/go/device-camera-video.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoDeviceCameraVideo extends React.Component { } diff --git a/types/react-icons/lib/go/device-camera.d.ts b/types/react-icons/lib/go/device-camera.d.ts new file mode 100644 index 0000000000..65a3f9aa8c --- /dev/null +++ b/types/react-icons/lib/go/device-camera.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoDeviceCamera extends React.Component { } diff --git a/types/react-icons/lib/go/device-desktop.d.ts b/types/react-icons/lib/go/device-desktop.d.ts new file mode 100644 index 0000000000..7c75dfe2f1 --- /dev/null +++ b/types/react-icons/lib/go/device-desktop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoDeviceDesktop extends React.Component { } diff --git a/types/react-icons/lib/go/device-mobile.d.ts b/types/react-icons/lib/go/device-mobile.d.ts new file mode 100644 index 0000000000..046f63558d --- /dev/null +++ b/types/react-icons/lib/go/device-mobile.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoDeviceMobile extends React.Component { } diff --git a/types/react-icons/lib/go/diff-added.d.ts b/types/react-icons/lib/go/diff-added.d.ts new file mode 100644 index 0000000000..bde41f0f53 --- /dev/null +++ b/types/react-icons/lib/go/diff-added.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoDiffAdded extends React.Component { } diff --git a/types/react-icons/lib/go/diff-ignored.d.ts b/types/react-icons/lib/go/diff-ignored.d.ts new file mode 100644 index 0000000000..2508e07fa9 --- /dev/null +++ b/types/react-icons/lib/go/diff-ignored.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoDiffIgnored extends React.Component { } diff --git a/types/react-icons/lib/go/diff-modified.d.ts b/types/react-icons/lib/go/diff-modified.d.ts new file mode 100644 index 0000000000..af95e1337d --- /dev/null +++ b/types/react-icons/lib/go/diff-modified.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoDiffModified extends React.Component { } diff --git a/types/react-icons/lib/go/diff-removed.d.ts b/types/react-icons/lib/go/diff-removed.d.ts new file mode 100644 index 0000000000..46b1e78387 --- /dev/null +++ b/types/react-icons/lib/go/diff-removed.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoDiffRemoved extends React.Component { } diff --git a/types/react-icons/lib/go/diff-renamed.d.ts b/types/react-icons/lib/go/diff-renamed.d.ts new file mode 100644 index 0000000000..c73850d52c --- /dev/null +++ b/types/react-icons/lib/go/diff-renamed.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoDiffRenamed extends React.Component { } diff --git a/types/react-icons/lib/go/diff.d.ts b/types/react-icons/lib/go/diff.d.ts new file mode 100644 index 0000000000..ebc0f14e2d --- /dev/null +++ b/types/react-icons/lib/go/diff.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoDiff extends React.Component { } diff --git a/types/react-icons/lib/go/ellipsis.d.ts b/types/react-icons/lib/go/ellipsis.d.ts new file mode 100644 index 0000000000..b8a40f3e30 --- /dev/null +++ b/types/react-icons/lib/go/ellipsis.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoEllipsis extends React.Component { } diff --git a/types/react-icons/lib/go/eye.d.ts b/types/react-icons/lib/go/eye.d.ts new file mode 100644 index 0000000000..91e5fe5385 --- /dev/null +++ b/types/react-icons/lib/go/eye.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoEye extends React.Component { } diff --git a/types/react-icons/lib/go/file-binary.d.ts b/types/react-icons/lib/go/file-binary.d.ts new file mode 100644 index 0000000000..b5ab33f79a --- /dev/null +++ b/types/react-icons/lib/go/file-binary.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoFileBinary extends React.Component { } diff --git a/types/react-icons/lib/go/file-code.d.ts b/types/react-icons/lib/go/file-code.d.ts new file mode 100644 index 0000000000..297e89de52 --- /dev/null +++ b/types/react-icons/lib/go/file-code.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoFileCode extends React.Component { } diff --git a/types/react-icons/lib/go/file-directory.d.ts b/types/react-icons/lib/go/file-directory.d.ts new file mode 100644 index 0000000000..a64af8f137 --- /dev/null +++ b/types/react-icons/lib/go/file-directory.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoFileDirectory extends React.Component { } diff --git a/types/react-icons/lib/go/file-media.d.ts b/types/react-icons/lib/go/file-media.d.ts new file mode 100644 index 0000000000..8cf5535220 --- /dev/null +++ b/types/react-icons/lib/go/file-media.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoFileMedia extends React.Component { } diff --git a/types/react-icons/lib/go/file-pdf.d.ts b/types/react-icons/lib/go/file-pdf.d.ts new file mode 100644 index 0000000000..43ae39d5a7 --- /dev/null +++ b/types/react-icons/lib/go/file-pdf.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoFilePdf extends React.Component { } diff --git a/types/react-icons/lib/go/file-submodule.d.ts b/types/react-icons/lib/go/file-submodule.d.ts new file mode 100644 index 0000000000..5a9499dbac --- /dev/null +++ b/types/react-icons/lib/go/file-submodule.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoFileSubmodule extends React.Component { } diff --git a/types/react-icons/lib/go/file-symlink-directory.d.ts b/types/react-icons/lib/go/file-symlink-directory.d.ts new file mode 100644 index 0000000000..5337059393 --- /dev/null +++ b/types/react-icons/lib/go/file-symlink-directory.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoFileSymlinkDirectory extends React.Component { } diff --git a/types/react-icons/lib/go/file-symlink-file.d.ts b/types/react-icons/lib/go/file-symlink-file.d.ts new file mode 100644 index 0000000000..0116f9d2f0 --- /dev/null +++ b/types/react-icons/lib/go/file-symlink-file.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoFileSymlinkFile extends React.Component { } diff --git a/types/react-icons/lib/go/file-text.d.ts b/types/react-icons/lib/go/file-text.d.ts new file mode 100644 index 0000000000..23b59dfcfd --- /dev/null +++ b/types/react-icons/lib/go/file-text.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoFileText extends React.Component { } diff --git a/types/react-icons/lib/go/file-zip.d.ts b/types/react-icons/lib/go/file-zip.d.ts new file mode 100644 index 0000000000..e4f588b5db --- /dev/null +++ b/types/react-icons/lib/go/file-zip.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoFileZip extends React.Component { } diff --git a/types/react-icons/lib/go/flame.d.ts b/types/react-icons/lib/go/flame.d.ts new file mode 100644 index 0000000000..baa5aa3739 --- /dev/null +++ b/types/react-icons/lib/go/flame.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoFlame extends React.Component { } diff --git a/types/react-icons/lib/go/fold.d.ts b/types/react-icons/lib/go/fold.d.ts new file mode 100644 index 0000000000..7ae869e942 --- /dev/null +++ b/types/react-icons/lib/go/fold.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoFold extends React.Component { } diff --git a/types/react-icons/lib/go/gear.d.ts b/types/react-icons/lib/go/gear.d.ts new file mode 100644 index 0000000000..7fd837ffbc --- /dev/null +++ b/types/react-icons/lib/go/gear.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoGear extends React.Component { } diff --git a/types/react-icons/lib/go/gift.d.ts b/types/react-icons/lib/go/gift.d.ts new file mode 100644 index 0000000000..98b9deb223 --- /dev/null +++ b/types/react-icons/lib/go/gift.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoGift extends React.Component { } diff --git a/types/react-icons/lib/go/gist-secret.d.ts b/types/react-icons/lib/go/gist-secret.d.ts new file mode 100644 index 0000000000..c69f135efd --- /dev/null +++ b/types/react-icons/lib/go/gist-secret.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoGistSecret extends React.Component { } diff --git a/types/react-icons/lib/go/gist.d.ts b/types/react-icons/lib/go/gist.d.ts new file mode 100644 index 0000000000..8f1ff4e827 --- /dev/null +++ b/types/react-icons/lib/go/gist.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoGist extends React.Component { } diff --git a/types/react-icons/lib/go/git-branch.d.ts b/types/react-icons/lib/go/git-branch.d.ts new file mode 100644 index 0000000000..52a90bd2a5 --- /dev/null +++ b/types/react-icons/lib/go/git-branch.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoGitBranch extends React.Component { } diff --git a/types/react-icons/lib/go/git-commit.d.ts b/types/react-icons/lib/go/git-commit.d.ts new file mode 100644 index 0000000000..a1ad866ee2 --- /dev/null +++ b/types/react-icons/lib/go/git-commit.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoGitCommit extends React.Component { } diff --git a/types/react-icons/lib/go/git-compare.d.ts b/types/react-icons/lib/go/git-compare.d.ts new file mode 100644 index 0000000000..4336af1b22 --- /dev/null +++ b/types/react-icons/lib/go/git-compare.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoGitCompare extends React.Component { } diff --git a/types/react-icons/lib/go/git-merge.d.ts b/types/react-icons/lib/go/git-merge.d.ts new file mode 100644 index 0000000000..f7d3457db7 --- /dev/null +++ b/types/react-icons/lib/go/git-merge.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoGitMerge extends React.Component { } diff --git a/types/react-icons/lib/go/git-pull-request.d.ts b/types/react-icons/lib/go/git-pull-request.d.ts new file mode 100644 index 0000000000..0c79ca8175 --- /dev/null +++ b/types/react-icons/lib/go/git-pull-request.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoGitPullRequest extends React.Component { } diff --git a/types/react-icons/lib/go/globe.d.ts b/types/react-icons/lib/go/globe.d.ts new file mode 100644 index 0000000000..b1893d7685 --- /dev/null +++ b/types/react-icons/lib/go/globe.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoGlobe extends React.Component { } diff --git a/types/react-icons/lib/go/graph.d.ts b/types/react-icons/lib/go/graph.d.ts new file mode 100644 index 0000000000..8f1c24ba75 --- /dev/null +++ b/types/react-icons/lib/go/graph.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoGraph extends React.Component { } diff --git a/types/react-icons/lib/go/heart.d.ts b/types/react-icons/lib/go/heart.d.ts new file mode 100644 index 0000000000..8f56d447ef --- /dev/null +++ b/types/react-icons/lib/go/heart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoHeart extends React.Component { } diff --git a/types/react-icons/lib/go/history.d.ts b/types/react-icons/lib/go/history.d.ts new file mode 100644 index 0000000000..c91e923a69 --- /dev/null +++ b/types/react-icons/lib/go/history.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoHistory extends React.Component { } diff --git a/types/react-icons/lib/go/home.d.ts b/types/react-icons/lib/go/home.d.ts new file mode 100644 index 0000000000..97d032716f --- /dev/null +++ b/types/react-icons/lib/go/home.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoHome extends React.Component { } diff --git a/types/react-icons/lib/go/horizontal-rule.d.ts b/types/react-icons/lib/go/horizontal-rule.d.ts new file mode 100644 index 0000000000..336e1f4eeb --- /dev/null +++ b/types/react-icons/lib/go/horizontal-rule.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoHorizontalRule extends React.Component { } diff --git a/types/react-icons/lib/go/hourglass.d.ts b/types/react-icons/lib/go/hourglass.d.ts new file mode 100644 index 0000000000..ad0fdf8563 --- /dev/null +++ b/types/react-icons/lib/go/hourglass.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoHourglass extends React.Component { } diff --git a/types/react-icons/lib/go/hubot.d.ts b/types/react-icons/lib/go/hubot.d.ts new file mode 100644 index 0000000000..984cc59a02 --- /dev/null +++ b/types/react-icons/lib/go/hubot.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoHubot extends React.Component { } diff --git a/types/react-icons/lib/go/inbox.d.ts b/types/react-icons/lib/go/inbox.d.ts new file mode 100644 index 0000000000..fe75bf017e --- /dev/null +++ b/types/react-icons/lib/go/inbox.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoInbox extends React.Component { } diff --git a/types/react-icons/lib/go/index.d.ts b/types/react-icons/lib/go/index.d.ts new file mode 100644 index 0000000000..285be47453 --- /dev/null +++ b/types/react-icons/lib/go/index.d.ts @@ -0,0 +1,177 @@ +export { default as GoAlert } from "./alert"; +export { default as GoAlignmentAlign } from "./alignment-align"; +export { default as GoAlignmentAlignedTo } from "./alignment-aligned-to"; +export { default as GoAlignmentUnalign } from "./alignment-unalign"; +export { default as GoArrowDown } from "./arrow-down"; +export { default as GoArrowLeft } from "./arrow-left"; +export { default as GoArrowRight } from "./arrow-right"; +export { default as GoArrowSmallDown } from "./arrow-small-down"; +export { default as GoArrowSmallLeft } from "./arrow-small-left"; +export { default as GoArrowSmallRight } from "./arrow-small-right"; +export { default as GoArrowSmallUp } from "./arrow-small-up"; +export { default as GoArrowUp } from "./arrow-up"; +export { default as GoBeer } from "./beer"; +export { default as GoBook } from "./book"; +export { default as GoBookmark } from "./bookmark"; +export { default as GoBriefcase } from "./briefcase"; +export { default as GoBroadcast } from "./broadcast"; +export { default as GoBrowser } from "./browser"; +export { default as GoBug } from "./bug"; +export { default as GoCalendar } from "./calendar"; +export { default as GoCheck } from "./check"; +export { default as GoChecklist } from "./checklist"; +export { default as GoChevronDown } from "./chevron-down"; +export { default as GoChevronLeft } from "./chevron-left"; +export { default as GoChevronRight } from "./chevron-right"; +export { default as GoChevronUp } from "./chevron-up"; +export { default as GoCircleSlash } from "./circle-slash"; +export { default as GoCircuitBoard } from "./circuit-board"; +export { default as GoClippy } from "./clippy"; +export { default as GoClock } from "./clock"; +export { default as GoCloudDownload } from "./cloud-download"; +export { default as GoCloudUpload } from "./cloud-upload"; +export { default as GoCode } from "./code"; +export { default as GoColorMode } from "./color-mode"; +export { default as GoCommentDiscussion } from "./comment-discussion"; +export { default as GoComment } from "./comment"; +export { default as GoCreditCard } from "./credit-card"; +export { default as GoDash } from "./dash"; +export { default as GoDashboard } from "./dashboard"; +export { default as GoDatabase } from "./database"; +export { default as GoDeviceCameraVideo } from "./device-camera-video"; +export { default as GoDeviceCamera } from "./device-camera"; +export { default as GoDeviceDesktop } from "./device-desktop"; +export { default as GoDeviceMobile } from "./device-mobile"; +export { default as GoDiffAdded } from "./diff-added"; +export { default as GoDiffIgnored } from "./diff-ignored"; +export { default as GoDiffModified } from "./diff-modified"; +export { default as GoDiffRemoved } from "./diff-removed"; +export { default as GoDiffRenamed } from "./diff-renamed"; +export { default as GoDiff } from "./diff"; +export { default as GoEllipsis } from "./ellipsis"; +export { default as GoEye } from "./eye"; +export { default as GoFileBinary } from "./file-binary"; +export { default as GoFileCode } from "./file-code"; +export { default as GoFileDirectory } from "./file-directory"; +export { default as GoFileMedia } from "./file-media"; +export { default as GoFilePdf } from "./file-pdf"; +export { default as GoFileSubmodule } from "./file-submodule"; +export { default as GoFileSymlinkDirectory } from "./file-symlink-directory"; +export { default as GoFileSymlinkFile } from "./file-symlink-file"; +export { default as GoFileText } from "./file-text"; +export { default as GoFileZip } from "./file-zip"; +export { default as GoFlame } from "./flame"; +export { default as GoFold } from "./fold"; +export { default as GoGear } from "./gear"; +export { default as GoGift } from "./gift"; +export { default as GoGistSecret } from "./gist-secret"; +export { default as GoGist } from "./gist"; +export { default as GoGitBranch } from "./git-branch"; +export { default as GoGitCommit } from "./git-commit"; +export { default as GoGitCompare } from "./git-compare"; +export { default as GoGitMerge } from "./git-merge"; +export { default as GoGitPullRequest } from "./git-pull-request"; +export { default as GoGlobe } from "./globe"; +export { default as GoGraph } from "./graph"; +export { default as GoHeart } from "./heart"; +export { default as GoHistory } from "./history"; +export { default as GoHome } from "./home"; +export { default as GoHorizontalRule } from "./horizontal-rule"; +export { default as GoHourglass } from "./hourglass"; +export { default as GoHubot } from "./hubot"; +export { default as GoInbox } from "./inbox"; +export { default as GoInfo } from "./info"; +export { default as GoIssueClosed } from "./issue-closed"; +export { default as GoIssueOpened } from "./issue-opened"; +export { default as GoIssueReopened } from "./issue-reopened"; +export { default as GoJersey } from "./jersey"; +export { default as GoJumpDown } from "./jump-down"; +export { default as GoJumpLeft } from "./jump-left"; +export { default as GoJumpRight } from "./jump-right"; +export { default as GoJumpUp } from "./jump-up"; +export { default as GoKey } from "./key"; +export { default as GoKeyboard } from "./keyboard"; +export { default as GoLaw } from "./law"; +export { default as GoLightBulb } from "./light-bulb"; +export { default as GoLinkExternal } from "./link-external"; +export { default as GoLink } from "./link"; +export { default as GoListOrdered } from "./list-ordered"; +export { default as GoListUnordered } from "./list-unordered"; +export { default as GoLocation } from "./location"; +export { default as GoLock } from "./lock"; +export { default as GoLogoGithub } from "./logo-github"; +export { default as GoMailRead } from "./mail-read"; +export { default as GoMailReply } from "./mail-reply"; +export { default as GoMail } from "./mail"; +export { default as GoMarkGithub } from "./mark-github"; +export { default as GoMarkdown } from "./markdown"; +export { default as GoMegaphone } from "./megaphone"; +export { default as GoMention } from "./mention"; +export { default as GoMicroscope } from "./microscope"; +export { default as GoMilestone } from "./milestone"; +export { default as GoMirror } from "./mirror"; +export { default as GoMortarBoard } from "./mortar-board"; +export { default as GoMoveDown } from "./move-down"; +export { default as GoMoveLeft } from "./move-left"; +export { default as GoMoveRight } from "./move-right"; +export { default as GoMoveUp } from "./move-up"; +export { default as GoMute } from "./mute"; +export { default as GoNoNewline } from "./no-newline"; +export { default as GoOctoface } from "./octoface"; +export { default as GoOrganization } from "./organization"; +export { default as GoPackage } from "./package"; +export { default as GoPaintcan } from "./paintcan"; +export { default as GoPencil } from "./pencil"; +export { default as GoPerson } from "./person"; +export { default as GoPin } from "./pin"; +export { default as GoPlaybackFastForward } from "./playback-fast-forward"; +export { default as GoPlaybackPause } from "./playback-pause"; +export { default as GoPlaybackPlay } from "./playback-play"; +export { default as GoPlaybackRewind } from "./playback-rewind"; +export { default as GoPlug } from "./plug"; +export { default as GoPlus } from "./plus"; +export { default as GoPodium } from "./podium"; +export { default as GoPrimitiveDot } from "./primitive-dot"; +export { default as GoPrimitiveSquare } from "./primitive-square"; +export { default as GoPulse } from "./pulse"; +export { default as GoPuzzle } from "./puzzle"; +export { default as GoQuestion } from "./question"; +export { default as GoQuote } from "./quote"; +export { default as GoRadioTower } from "./radio-tower"; +export { default as GoRepoClone } from "./repo-clone"; +export { default as GoRepoForcePush } from "./repo-force-push"; +export { default as GoRepoForked } from "./repo-forked"; +export { default as GoRepoPull } from "./repo-pull"; +export { default as GoRepoPush } from "./repo-push"; +export { default as GoRepo } from "./repo"; +export { default as GoRocket } from "./rocket"; +export { default as GoRss } from "./rss"; +export { default as GoRuby } from "./ruby"; +export { default as GoScreenFull } from "./screen-full"; +export { default as GoScreenNormal } from "./screen-normal"; +export { default as GoSearch } from "./search"; +export { default as GoServer } from "./server"; +export { default as GoSettings } from "./settings"; +export { default as GoSignIn } from "./sign-in"; +export { default as GoSignOut } from "./sign-out"; +export { default as GoSplit } from "./split"; +export { default as GoSquirrel } from "./squirrel"; +export { default as GoStar } from "./star"; +export { default as GoSteps } from "./steps"; +export { default as GoStop } from "./stop"; +export { default as GoSync } from "./sync"; +export { default as GoTag } from "./tag"; +export { default as GoTelescope } from "./telescope"; +export { default as GoTerminal } from "./terminal"; +export { default as GoThreeBars } from "./three-bars"; +export { default as GoTools } from "./tools"; +export { default as GoTrashcan } from "./trashcan"; +export { default as GoTriangleDown } from "./triangle-down"; +export { default as GoTriangleLeft } from "./triangle-left"; +export { default as GoTriangleRight } from "./triangle-right"; +export { default as GoTriangleUp } from "./triangle-up"; +export { default as GoUnfold } from "./unfold"; +export { default as GoUnmute } from "./unmute"; +export { default as GoVersions } from "./versions"; +export { default as GoX } from "./x"; +export { default as GoZap } from "./zap"; diff --git a/types/react-icons/lib/go/info.d.ts b/types/react-icons/lib/go/info.d.ts new file mode 100644 index 0000000000..2359f0e299 --- /dev/null +++ b/types/react-icons/lib/go/info.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoInfo extends React.Component { } diff --git a/types/react-icons/lib/go/issue-closed.d.ts b/types/react-icons/lib/go/issue-closed.d.ts new file mode 100644 index 0000000000..b06460c581 --- /dev/null +++ b/types/react-icons/lib/go/issue-closed.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoIssueClosed extends React.Component { } diff --git a/types/react-icons/lib/go/issue-opened.d.ts b/types/react-icons/lib/go/issue-opened.d.ts new file mode 100644 index 0000000000..331e3754a9 --- /dev/null +++ b/types/react-icons/lib/go/issue-opened.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoIssueOpened extends React.Component { } diff --git a/types/react-icons/lib/go/issue-reopened.d.ts b/types/react-icons/lib/go/issue-reopened.d.ts new file mode 100644 index 0000000000..460fb426c8 --- /dev/null +++ b/types/react-icons/lib/go/issue-reopened.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoIssueReopened extends React.Component { } diff --git a/types/react-icons/lib/go/jersey.d.ts b/types/react-icons/lib/go/jersey.d.ts new file mode 100644 index 0000000000..2c85c72ff0 --- /dev/null +++ b/types/react-icons/lib/go/jersey.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoJersey extends React.Component { } diff --git a/types/react-icons/lib/go/jump-down.d.ts b/types/react-icons/lib/go/jump-down.d.ts new file mode 100644 index 0000000000..8d0497969e --- /dev/null +++ b/types/react-icons/lib/go/jump-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoJumpDown extends React.Component { } diff --git a/types/react-icons/lib/go/jump-left.d.ts b/types/react-icons/lib/go/jump-left.d.ts new file mode 100644 index 0000000000..9be1e1ded5 --- /dev/null +++ b/types/react-icons/lib/go/jump-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoJumpLeft extends React.Component { } diff --git a/types/react-icons/lib/go/jump-right.d.ts b/types/react-icons/lib/go/jump-right.d.ts new file mode 100644 index 0000000000..efdbf77170 --- /dev/null +++ b/types/react-icons/lib/go/jump-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoJumpRight extends React.Component { } diff --git a/types/react-icons/lib/go/jump-up.d.ts b/types/react-icons/lib/go/jump-up.d.ts new file mode 100644 index 0000000000..f8ee7030f0 --- /dev/null +++ b/types/react-icons/lib/go/jump-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoJumpUp extends React.Component { } diff --git a/types/react-icons/lib/go/key.d.ts b/types/react-icons/lib/go/key.d.ts new file mode 100644 index 0000000000..635b754f56 --- /dev/null +++ b/types/react-icons/lib/go/key.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoKey extends React.Component { } diff --git a/types/react-icons/lib/go/keyboard.d.ts b/types/react-icons/lib/go/keyboard.d.ts new file mode 100644 index 0000000000..48e2f695ed --- /dev/null +++ b/types/react-icons/lib/go/keyboard.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoKeyboard extends React.Component { } diff --git a/types/react-icons/lib/go/law.d.ts b/types/react-icons/lib/go/law.d.ts new file mode 100644 index 0000000000..59e6dd09c6 --- /dev/null +++ b/types/react-icons/lib/go/law.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoLaw extends React.Component { } diff --git a/types/react-icons/lib/go/light-bulb.d.ts b/types/react-icons/lib/go/light-bulb.d.ts new file mode 100644 index 0000000000..b020b05d25 --- /dev/null +++ b/types/react-icons/lib/go/light-bulb.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoLightBulb extends React.Component { } diff --git a/types/react-icons/lib/go/link-external.d.ts b/types/react-icons/lib/go/link-external.d.ts new file mode 100644 index 0000000000..9e93717352 --- /dev/null +++ b/types/react-icons/lib/go/link-external.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoLinkExternal extends React.Component { } diff --git a/types/react-icons/lib/go/link.d.ts b/types/react-icons/lib/go/link.d.ts new file mode 100644 index 0000000000..7def9d9bd3 --- /dev/null +++ b/types/react-icons/lib/go/link.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoLink extends React.Component { } diff --git a/types/react-icons/lib/go/list-ordered.d.ts b/types/react-icons/lib/go/list-ordered.d.ts new file mode 100644 index 0000000000..31a2859733 --- /dev/null +++ b/types/react-icons/lib/go/list-ordered.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoListOrdered extends React.Component { } diff --git a/types/react-icons/lib/go/list-unordered.d.ts b/types/react-icons/lib/go/list-unordered.d.ts new file mode 100644 index 0000000000..59b89e921e --- /dev/null +++ b/types/react-icons/lib/go/list-unordered.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoListUnordered extends React.Component { } diff --git a/types/react-icons/lib/go/location.d.ts b/types/react-icons/lib/go/location.d.ts new file mode 100644 index 0000000000..a382326479 --- /dev/null +++ b/types/react-icons/lib/go/location.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoLocation extends React.Component { } diff --git a/types/react-icons/lib/go/lock.d.ts b/types/react-icons/lib/go/lock.d.ts new file mode 100644 index 0000000000..623ec47b53 --- /dev/null +++ b/types/react-icons/lib/go/lock.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoLock extends React.Component { } diff --git a/types/react-icons/lib/go/logo-github.d.ts b/types/react-icons/lib/go/logo-github.d.ts new file mode 100644 index 0000000000..f57a2d07f7 --- /dev/null +++ b/types/react-icons/lib/go/logo-github.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoLogoGithub extends React.Component { } diff --git a/types/react-icons/lib/go/mail-read.d.ts b/types/react-icons/lib/go/mail-read.d.ts new file mode 100644 index 0000000000..e6820b2732 --- /dev/null +++ b/types/react-icons/lib/go/mail-read.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoMailRead extends React.Component { } diff --git a/types/react-icons/lib/go/mail-reply.d.ts b/types/react-icons/lib/go/mail-reply.d.ts new file mode 100644 index 0000000000..794cc6dca4 --- /dev/null +++ b/types/react-icons/lib/go/mail-reply.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoMailReply extends React.Component { } diff --git a/types/react-icons/lib/go/mail.d.ts b/types/react-icons/lib/go/mail.d.ts new file mode 100644 index 0000000000..bca60de455 --- /dev/null +++ b/types/react-icons/lib/go/mail.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoMail extends React.Component { } diff --git a/types/react-icons/lib/go/mark-github.d.ts b/types/react-icons/lib/go/mark-github.d.ts new file mode 100644 index 0000000000..999521b725 --- /dev/null +++ b/types/react-icons/lib/go/mark-github.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoMarkGithub extends React.Component { } diff --git a/types/react-icons/lib/go/markdown.d.ts b/types/react-icons/lib/go/markdown.d.ts new file mode 100644 index 0000000000..5533fd8deb --- /dev/null +++ b/types/react-icons/lib/go/markdown.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoMarkdown extends React.Component { } diff --git a/types/react-icons/lib/go/megaphone.d.ts b/types/react-icons/lib/go/megaphone.d.ts new file mode 100644 index 0000000000..c76f98d900 --- /dev/null +++ b/types/react-icons/lib/go/megaphone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoMegaphone extends React.Component { } diff --git a/types/react-icons/lib/go/mention.d.ts b/types/react-icons/lib/go/mention.d.ts new file mode 100644 index 0000000000..988f97ec6f --- /dev/null +++ b/types/react-icons/lib/go/mention.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoMention extends React.Component { } diff --git a/types/react-icons/lib/go/microscope.d.ts b/types/react-icons/lib/go/microscope.d.ts new file mode 100644 index 0000000000..79f91de4ab --- /dev/null +++ b/types/react-icons/lib/go/microscope.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoMicroscope extends React.Component { } diff --git a/types/react-icons/lib/go/milestone.d.ts b/types/react-icons/lib/go/milestone.d.ts new file mode 100644 index 0000000000..a5df7c65b1 --- /dev/null +++ b/types/react-icons/lib/go/milestone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoMilestone extends React.Component { } diff --git a/types/react-icons/lib/go/mirror.d.ts b/types/react-icons/lib/go/mirror.d.ts new file mode 100644 index 0000000000..c8f5f3a988 --- /dev/null +++ b/types/react-icons/lib/go/mirror.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoMirror extends React.Component { } diff --git a/types/react-icons/lib/go/mortar-board.d.ts b/types/react-icons/lib/go/mortar-board.d.ts new file mode 100644 index 0000000000..e435c2f899 --- /dev/null +++ b/types/react-icons/lib/go/mortar-board.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoMortarBoard extends React.Component { } diff --git a/types/react-icons/lib/go/move-down.d.ts b/types/react-icons/lib/go/move-down.d.ts new file mode 100644 index 0000000000..cceb4a2fc6 --- /dev/null +++ b/types/react-icons/lib/go/move-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoMoveDown extends React.Component { } diff --git a/types/react-icons/lib/go/move-left.d.ts b/types/react-icons/lib/go/move-left.d.ts new file mode 100644 index 0000000000..81c57b58d1 --- /dev/null +++ b/types/react-icons/lib/go/move-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoMoveLeft extends React.Component { } diff --git a/types/react-icons/lib/go/move-right.d.ts b/types/react-icons/lib/go/move-right.d.ts new file mode 100644 index 0000000000..b9baed854c --- /dev/null +++ b/types/react-icons/lib/go/move-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoMoveRight extends React.Component { } diff --git a/types/react-icons/lib/go/move-up.d.ts b/types/react-icons/lib/go/move-up.d.ts new file mode 100644 index 0000000000..b649bd2bca --- /dev/null +++ b/types/react-icons/lib/go/move-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoMoveUp extends React.Component { } diff --git a/types/react-icons/lib/go/mute.d.ts b/types/react-icons/lib/go/mute.d.ts new file mode 100644 index 0000000000..96aa49027f --- /dev/null +++ b/types/react-icons/lib/go/mute.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoMute extends React.Component { } diff --git a/types/react-icons/lib/go/no-newline.d.ts b/types/react-icons/lib/go/no-newline.d.ts new file mode 100644 index 0000000000..2953cea8b0 --- /dev/null +++ b/types/react-icons/lib/go/no-newline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoNoNewline extends React.Component { } diff --git a/types/react-icons/lib/go/octoface.d.ts b/types/react-icons/lib/go/octoface.d.ts new file mode 100644 index 0000000000..466708f844 --- /dev/null +++ b/types/react-icons/lib/go/octoface.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoOctoface extends React.Component { } diff --git a/types/react-icons/lib/go/organization.d.ts b/types/react-icons/lib/go/organization.d.ts new file mode 100644 index 0000000000..321899f2bd --- /dev/null +++ b/types/react-icons/lib/go/organization.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoOrganization extends React.Component { } diff --git a/types/react-icons/lib/go/package.d.ts b/types/react-icons/lib/go/package.d.ts new file mode 100644 index 0000000000..ecea623c3b --- /dev/null +++ b/types/react-icons/lib/go/package.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoPackage extends React.Component { } diff --git a/types/react-icons/lib/go/paintcan.d.ts b/types/react-icons/lib/go/paintcan.d.ts new file mode 100644 index 0000000000..b38f9aa673 --- /dev/null +++ b/types/react-icons/lib/go/paintcan.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoPaintcan extends React.Component { } diff --git a/types/react-icons/lib/go/pencil.d.ts b/types/react-icons/lib/go/pencil.d.ts new file mode 100644 index 0000000000..9a2cc3fe1c --- /dev/null +++ b/types/react-icons/lib/go/pencil.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoPencil extends React.Component { } diff --git a/types/react-icons/lib/go/person.d.ts b/types/react-icons/lib/go/person.d.ts new file mode 100644 index 0000000000..177c738660 --- /dev/null +++ b/types/react-icons/lib/go/person.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoPerson extends React.Component { } diff --git a/types/react-icons/lib/go/pin.d.ts b/types/react-icons/lib/go/pin.d.ts new file mode 100644 index 0000000000..f083f58df7 --- /dev/null +++ b/types/react-icons/lib/go/pin.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoPin extends React.Component { } diff --git a/types/react-icons/lib/go/playback-fast-forward.d.ts b/types/react-icons/lib/go/playback-fast-forward.d.ts new file mode 100644 index 0000000000..faa2293f90 --- /dev/null +++ b/types/react-icons/lib/go/playback-fast-forward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoPlaybackFastForward extends React.Component { } diff --git a/types/react-icons/lib/go/playback-pause.d.ts b/types/react-icons/lib/go/playback-pause.d.ts new file mode 100644 index 0000000000..43c3830eae --- /dev/null +++ b/types/react-icons/lib/go/playback-pause.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoPlaybackPause extends React.Component { } diff --git a/types/react-icons/lib/go/playback-play.d.ts b/types/react-icons/lib/go/playback-play.d.ts new file mode 100644 index 0000000000..6d90eadb63 --- /dev/null +++ b/types/react-icons/lib/go/playback-play.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoPlaybackPlay extends React.Component { } diff --git a/types/react-icons/lib/go/playback-rewind.d.ts b/types/react-icons/lib/go/playback-rewind.d.ts new file mode 100644 index 0000000000..92080152af --- /dev/null +++ b/types/react-icons/lib/go/playback-rewind.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoPlaybackRewind extends React.Component { } diff --git a/types/react-icons/lib/go/plug.d.ts b/types/react-icons/lib/go/plug.d.ts new file mode 100644 index 0000000000..da0ec12aa1 --- /dev/null +++ b/types/react-icons/lib/go/plug.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoPlug extends React.Component { } diff --git a/types/react-icons/lib/go/plus.d.ts b/types/react-icons/lib/go/plus.d.ts new file mode 100644 index 0000000000..867c30b643 --- /dev/null +++ b/types/react-icons/lib/go/plus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoPlus extends React.Component { } diff --git a/types/react-icons/lib/go/podium.d.ts b/types/react-icons/lib/go/podium.d.ts new file mode 100644 index 0000000000..1c16142450 --- /dev/null +++ b/types/react-icons/lib/go/podium.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoPodium extends React.Component { } diff --git a/types/react-icons/lib/go/primitive-dot.d.ts b/types/react-icons/lib/go/primitive-dot.d.ts new file mode 100644 index 0000000000..9a74108de7 --- /dev/null +++ b/types/react-icons/lib/go/primitive-dot.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoPrimitiveDot extends React.Component { } diff --git a/types/react-icons/lib/go/primitive-square.d.ts b/types/react-icons/lib/go/primitive-square.d.ts new file mode 100644 index 0000000000..4a387621dd --- /dev/null +++ b/types/react-icons/lib/go/primitive-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoPrimitiveSquare extends React.Component { } diff --git a/types/react-icons/lib/go/pulse.d.ts b/types/react-icons/lib/go/pulse.d.ts new file mode 100644 index 0000000000..111540b6ea --- /dev/null +++ b/types/react-icons/lib/go/pulse.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoPulse extends React.Component { } diff --git a/types/react-icons/lib/go/puzzle.d.ts b/types/react-icons/lib/go/puzzle.d.ts new file mode 100644 index 0000000000..759922a96d --- /dev/null +++ b/types/react-icons/lib/go/puzzle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoPuzzle extends React.Component { } diff --git a/types/react-icons/lib/go/question.d.ts b/types/react-icons/lib/go/question.d.ts new file mode 100644 index 0000000000..7dd4302a96 --- /dev/null +++ b/types/react-icons/lib/go/question.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoQuestion extends React.Component { } diff --git a/types/react-icons/lib/go/quote.d.ts b/types/react-icons/lib/go/quote.d.ts new file mode 100644 index 0000000000..47a6f2765a --- /dev/null +++ b/types/react-icons/lib/go/quote.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoQuote extends React.Component { } diff --git a/types/react-icons/lib/go/radio-tower.d.ts b/types/react-icons/lib/go/radio-tower.d.ts new file mode 100644 index 0000000000..fee3702338 --- /dev/null +++ b/types/react-icons/lib/go/radio-tower.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoRadioTower extends React.Component { } diff --git a/types/react-icons/lib/go/repo-clone.d.ts b/types/react-icons/lib/go/repo-clone.d.ts new file mode 100644 index 0000000000..fb9957a21d --- /dev/null +++ b/types/react-icons/lib/go/repo-clone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoRepoClone extends React.Component { } diff --git a/types/react-icons/lib/go/repo-force-push.d.ts b/types/react-icons/lib/go/repo-force-push.d.ts new file mode 100644 index 0000000000..6b1bf3a2c1 --- /dev/null +++ b/types/react-icons/lib/go/repo-force-push.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoRepoForcePush extends React.Component { } diff --git a/types/react-icons/lib/go/repo-forked.d.ts b/types/react-icons/lib/go/repo-forked.d.ts new file mode 100644 index 0000000000..e68f5a3df6 --- /dev/null +++ b/types/react-icons/lib/go/repo-forked.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoRepoForked extends React.Component { } diff --git a/types/react-icons/lib/go/repo-pull.d.ts b/types/react-icons/lib/go/repo-pull.d.ts new file mode 100644 index 0000000000..916310f2bc --- /dev/null +++ b/types/react-icons/lib/go/repo-pull.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoRepoPull extends React.Component { } diff --git a/types/react-icons/lib/go/repo-push.d.ts b/types/react-icons/lib/go/repo-push.d.ts new file mode 100644 index 0000000000..5e9a25d3a6 --- /dev/null +++ b/types/react-icons/lib/go/repo-push.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoRepoPush extends React.Component { } diff --git a/types/react-icons/lib/go/repo.d.ts b/types/react-icons/lib/go/repo.d.ts new file mode 100644 index 0000000000..87dd983849 --- /dev/null +++ b/types/react-icons/lib/go/repo.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoRepo extends React.Component { } diff --git a/types/react-icons/lib/go/rocket.d.ts b/types/react-icons/lib/go/rocket.d.ts new file mode 100644 index 0000000000..04a9f8fbbb --- /dev/null +++ b/types/react-icons/lib/go/rocket.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoRocket extends React.Component { } diff --git a/types/react-icons/lib/go/rss.d.ts b/types/react-icons/lib/go/rss.d.ts new file mode 100644 index 0000000000..d18a40a2fb --- /dev/null +++ b/types/react-icons/lib/go/rss.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoRss extends React.Component { } diff --git a/types/react-icons/lib/go/ruby.d.ts b/types/react-icons/lib/go/ruby.d.ts new file mode 100644 index 0000000000..467aecdce6 --- /dev/null +++ b/types/react-icons/lib/go/ruby.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoRuby extends React.Component { } diff --git a/types/react-icons/lib/go/screen-full.d.ts b/types/react-icons/lib/go/screen-full.d.ts new file mode 100644 index 0000000000..f3eae2a63e --- /dev/null +++ b/types/react-icons/lib/go/screen-full.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoScreenFull extends React.Component { } diff --git a/types/react-icons/lib/go/screen-normal.d.ts b/types/react-icons/lib/go/screen-normal.d.ts new file mode 100644 index 0000000000..59e38edc81 --- /dev/null +++ b/types/react-icons/lib/go/screen-normal.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoScreenNormal extends React.Component { } diff --git a/types/react-icons/lib/go/search.d.ts b/types/react-icons/lib/go/search.d.ts new file mode 100644 index 0000000000..54d1144369 --- /dev/null +++ b/types/react-icons/lib/go/search.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoSearch extends React.Component { } diff --git a/types/react-icons/lib/go/server.d.ts b/types/react-icons/lib/go/server.d.ts new file mode 100644 index 0000000000..1de141c1a2 --- /dev/null +++ b/types/react-icons/lib/go/server.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoServer extends React.Component { } diff --git a/types/react-icons/lib/go/settings.d.ts b/types/react-icons/lib/go/settings.d.ts new file mode 100644 index 0000000000..a583ebe0fe --- /dev/null +++ b/types/react-icons/lib/go/settings.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoSettings extends React.Component { } diff --git a/types/react-icons/lib/go/sign-in.d.ts b/types/react-icons/lib/go/sign-in.d.ts new file mode 100644 index 0000000000..f1788d6395 --- /dev/null +++ b/types/react-icons/lib/go/sign-in.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoSignIn extends React.Component { } diff --git a/types/react-icons/lib/go/sign-out.d.ts b/types/react-icons/lib/go/sign-out.d.ts new file mode 100644 index 0000000000..dd87a41f43 --- /dev/null +++ b/types/react-icons/lib/go/sign-out.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoSignOut extends React.Component { } diff --git a/types/react-icons/lib/go/split.d.ts b/types/react-icons/lib/go/split.d.ts new file mode 100644 index 0000000000..4b930df74c --- /dev/null +++ b/types/react-icons/lib/go/split.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoSplit extends React.Component { } diff --git a/types/react-icons/lib/go/squirrel.d.ts b/types/react-icons/lib/go/squirrel.d.ts new file mode 100644 index 0000000000..2c1bfdc544 --- /dev/null +++ b/types/react-icons/lib/go/squirrel.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoSquirrel extends React.Component { } diff --git a/types/react-icons/lib/go/star.d.ts b/types/react-icons/lib/go/star.d.ts new file mode 100644 index 0000000000..a5f1a3718e --- /dev/null +++ b/types/react-icons/lib/go/star.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoStar extends React.Component { } diff --git a/types/react-icons/lib/go/steps.d.ts b/types/react-icons/lib/go/steps.d.ts new file mode 100644 index 0000000000..ae1bd0f758 --- /dev/null +++ b/types/react-icons/lib/go/steps.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoSteps extends React.Component { } diff --git a/types/react-icons/lib/go/stop.d.ts b/types/react-icons/lib/go/stop.d.ts new file mode 100644 index 0000000000..6036ca3c7f --- /dev/null +++ b/types/react-icons/lib/go/stop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoStop extends React.Component { } diff --git a/types/react-icons/lib/go/sync.d.ts b/types/react-icons/lib/go/sync.d.ts new file mode 100644 index 0000000000..7a0ab4e316 --- /dev/null +++ b/types/react-icons/lib/go/sync.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoSync extends React.Component { } diff --git a/types/react-icons/lib/go/tag.d.ts b/types/react-icons/lib/go/tag.d.ts new file mode 100644 index 0000000000..ff161ead97 --- /dev/null +++ b/types/react-icons/lib/go/tag.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoTag extends React.Component { } diff --git a/types/react-icons/lib/go/telescope.d.ts b/types/react-icons/lib/go/telescope.d.ts new file mode 100644 index 0000000000..943c1764db --- /dev/null +++ b/types/react-icons/lib/go/telescope.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoTelescope extends React.Component { } diff --git a/types/react-icons/lib/go/terminal.d.ts b/types/react-icons/lib/go/terminal.d.ts new file mode 100644 index 0000000000..e21c5a9461 --- /dev/null +++ b/types/react-icons/lib/go/terminal.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoTerminal extends React.Component { } diff --git a/types/react-icons/lib/go/three-bars.d.ts b/types/react-icons/lib/go/three-bars.d.ts new file mode 100644 index 0000000000..75fe787e3f --- /dev/null +++ b/types/react-icons/lib/go/three-bars.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoThreeBars extends React.Component { } diff --git a/types/react-icons/lib/go/tools.d.ts b/types/react-icons/lib/go/tools.d.ts new file mode 100644 index 0000000000..8229abce20 --- /dev/null +++ b/types/react-icons/lib/go/tools.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoTools extends React.Component { } diff --git a/types/react-icons/lib/go/trashcan.d.ts b/types/react-icons/lib/go/trashcan.d.ts new file mode 100644 index 0000000000..4b27fba299 --- /dev/null +++ b/types/react-icons/lib/go/trashcan.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoTrashcan extends React.Component { } diff --git a/types/react-icons/lib/go/triangle-down.d.ts b/types/react-icons/lib/go/triangle-down.d.ts new file mode 100644 index 0000000000..de19ba459a --- /dev/null +++ b/types/react-icons/lib/go/triangle-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoTriangleDown extends React.Component { } diff --git a/types/react-icons/lib/go/triangle-left.d.ts b/types/react-icons/lib/go/triangle-left.d.ts new file mode 100644 index 0000000000..309b832111 --- /dev/null +++ b/types/react-icons/lib/go/triangle-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoTriangleLeft extends React.Component { } diff --git a/types/react-icons/lib/go/triangle-right.d.ts b/types/react-icons/lib/go/triangle-right.d.ts new file mode 100644 index 0000000000..989f428fb3 --- /dev/null +++ b/types/react-icons/lib/go/triangle-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoTriangleRight extends React.Component { } diff --git a/types/react-icons/lib/go/triangle-up.d.ts b/types/react-icons/lib/go/triangle-up.d.ts new file mode 100644 index 0000000000..fae4ac1c25 --- /dev/null +++ b/types/react-icons/lib/go/triangle-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoTriangleUp extends React.Component { } diff --git a/types/react-icons/lib/go/unfold.d.ts b/types/react-icons/lib/go/unfold.d.ts new file mode 100644 index 0000000000..1c00f170d5 --- /dev/null +++ b/types/react-icons/lib/go/unfold.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoUnfold extends React.Component { } diff --git a/types/react-icons/lib/go/unmute.d.ts b/types/react-icons/lib/go/unmute.d.ts new file mode 100644 index 0000000000..90eda20972 --- /dev/null +++ b/types/react-icons/lib/go/unmute.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoUnmute extends React.Component { } diff --git a/types/react-icons/lib/go/versions.d.ts b/types/react-icons/lib/go/versions.d.ts new file mode 100644 index 0000000000..d11586398f --- /dev/null +++ b/types/react-icons/lib/go/versions.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoVersions extends React.Component { } diff --git a/types/react-icons/lib/go/x.d.ts b/types/react-icons/lib/go/x.d.ts new file mode 100644 index 0000000000..379cb94d5c --- /dev/null +++ b/types/react-icons/lib/go/x.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoX extends React.Component { } diff --git a/types/react-icons/lib/go/zap.d.ts b/types/react-icons/lib/go/zap.d.ts new file mode 100644 index 0000000000..9dafc26355 --- /dev/null +++ b/types/react-icons/lib/go/zap.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class GoZap extends React.Component { } diff --git a/types/react-icons/lib/io/alert-circled.d.ts b/types/react-icons/lib/io/alert-circled.d.ts new file mode 100644 index 0000000000..1fc164cf30 --- /dev/null +++ b/types/react-icons/lib/io/alert-circled.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAlertCircled extends React.Component { } diff --git a/types/react-icons/lib/io/alert.d.ts b/types/react-icons/lib/io/alert.d.ts new file mode 100644 index 0000000000..f3f236a07b --- /dev/null +++ b/types/react-icons/lib/io/alert.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAlert extends React.Component { } diff --git a/types/react-icons/lib/io/android-add-circle.d.ts b/types/react-icons/lib/io/android-add-circle.d.ts new file mode 100644 index 0000000000..83301fe5b9 --- /dev/null +++ b/types/react-icons/lib/io/android-add-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidAddCircle extends React.Component { } diff --git a/types/react-icons/lib/io/android-add.d.ts b/types/react-icons/lib/io/android-add.d.ts new file mode 100644 index 0000000000..d6ec32e120 --- /dev/null +++ b/types/react-icons/lib/io/android-add.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidAdd extends React.Component { } diff --git a/types/react-icons/lib/io/android-alarm-clock.d.ts b/types/react-icons/lib/io/android-alarm-clock.d.ts new file mode 100644 index 0000000000..ba7424414a --- /dev/null +++ b/types/react-icons/lib/io/android-alarm-clock.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidAlarmClock extends React.Component { } diff --git a/types/react-icons/lib/io/android-alert.d.ts b/types/react-icons/lib/io/android-alert.d.ts new file mode 100644 index 0000000000..23f9c0fc85 --- /dev/null +++ b/types/react-icons/lib/io/android-alert.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidAlert extends React.Component { } diff --git a/types/react-icons/lib/io/android-apps.d.ts b/types/react-icons/lib/io/android-apps.d.ts new file mode 100644 index 0000000000..4ce9dca7c6 --- /dev/null +++ b/types/react-icons/lib/io/android-apps.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidApps extends React.Component { } diff --git a/types/react-icons/lib/io/android-archive.d.ts b/types/react-icons/lib/io/android-archive.d.ts new file mode 100644 index 0000000000..bd86f53213 --- /dev/null +++ b/types/react-icons/lib/io/android-archive.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidArchive extends React.Component { } diff --git a/types/react-icons/lib/io/android-arrow-back.d.ts b/types/react-icons/lib/io/android-arrow-back.d.ts new file mode 100644 index 0000000000..ccf8a5dc52 --- /dev/null +++ b/types/react-icons/lib/io/android-arrow-back.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidArrowBack extends React.Component { } diff --git a/types/react-icons/lib/io/android-arrow-down.d.ts b/types/react-icons/lib/io/android-arrow-down.d.ts new file mode 100644 index 0000000000..71d5471bb6 --- /dev/null +++ b/types/react-icons/lib/io/android-arrow-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidArrowDown extends React.Component { } diff --git a/types/react-icons/lib/io/android-arrow-dropdown-circle.d.ts b/types/react-icons/lib/io/android-arrow-dropdown-circle.d.ts new file mode 100644 index 0000000000..6a11a88c20 --- /dev/null +++ b/types/react-icons/lib/io/android-arrow-dropdown-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidArrowDropdownCircle extends React.Component { } diff --git a/types/react-icons/lib/io/android-arrow-dropdown.d.ts b/types/react-icons/lib/io/android-arrow-dropdown.d.ts new file mode 100644 index 0000000000..ec91403322 --- /dev/null +++ b/types/react-icons/lib/io/android-arrow-dropdown.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidArrowDropdown extends React.Component { } diff --git a/types/react-icons/lib/io/android-arrow-dropleft-circle.d.ts b/types/react-icons/lib/io/android-arrow-dropleft-circle.d.ts new file mode 100644 index 0000000000..a972b89ae8 --- /dev/null +++ b/types/react-icons/lib/io/android-arrow-dropleft-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidArrowDropleftCircle extends React.Component { } diff --git a/types/react-icons/lib/io/android-arrow-dropleft.d.ts b/types/react-icons/lib/io/android-arrow-dropleft.d.ts new file mode 100644 index 0000000000..0477b93c0b --- /dev/null +++ b/types/react-icons/lib/io/android-arrow-dropleft.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidArrowDropleft extends React.Component { } diff --git a/types/react-icons/lib/io/android-arrow-dropright-circle.d.ts b/types/react-icons/lib/io/android-arrow-dropright-circle.d.ts new file mode 100644 index 0000000000..2e53387d79 --- /dev/null +++ b/types/react-icons/lib/io/android-arrow-dropright-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidArrowDroprightCircle extends React.Component { } diff --git a/types/react-icons/lib/io/android-arrow-dropright.d.ts b/types/react-icons/lib/io/android-arrow-dropright.d.ts new file mode 100644 index 0000000000..b1ebcac3a3 --- /dev/null +++ b/types/react-icons/lib/io/android-arrow-dropright.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidArrowDropright extends React.Component { } diff --git a/types/react-icons/lib/io/android-arrow-dropup-circle.d.ts b/types/react-icons/lib/io/android-arrow-dropup-circle.d.ts new file mode 100644 index 0000000000..cb8d87c3b7 --- /dev/null +++ b/types/react-icons/lib/io/android-arrow-dropup-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidArrowDropupCircle extends React.Component { } diff --git a/types/react-icons/lib/io/android-arrow-dropup.d.ts b/types/react-icons/lib/io/android-arrow-dropup.d.ts new file mode 100644 index 0000000000..b52c196650 --- /dev/null +++ b/types/react-icons/lib/io/android-arrow-dropup.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidArrowDropup extends React.Component { } diff --git a/types/react-icons/lib/io/android-arrow-forward.d.ts b/types/react-icons/lib/io/android-arrow-forward.d.ts new file mode 100644 index 0000000000..a2e4cfcf3c --- /dev/null +++ b/types/react-icons/lib/io/android-arrow-forward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidArrowForward extends React.Component { } diff --git a/types/react-icons/lib/io/android-arrow-up.d.ts b/types/react-icons/lib/io/android-arrow-up.d.ts new file mode 100644 index 0000000000..8d30e1f1d6 --- /dev/null +++ b/types/react-icons/lib/io/android-arrow-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidArrowUp extends React.Component { } diff --git a/types/react-icons/lib/io/android-attach.d.ts b/types/react-icons/lib/io/android-attach.d.ts new file mode 100644 index 0000000000..42b704ef71 --- /dev/null +++ b/types/react-icons/lib/io/android-attach.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidAttach extends React.Component { } diff --git a/types/react-icons/lib/io/android-bar.d.ts b/types/react-icons/lib/io/android-bar.d.ts new file mode 100644 index 0000000000..0dbc0148db --- /dev/null +++ b/types/react-icons/lib/io/android-bar.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidBar extends React.Component { } diff --git a/types/react-icons/lib/io/android-bicycle.d.ts b/types/react-icons/lib/io/android-bicycle.d.ts new file mode 100644 index 0000000000..7e8c1ef911 --- /dev/null +++ b/types/react-icons/lib/io/android-bicycle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidBicycle extends React.Component { } diff --git a/types/react-icons/lib/io/android-boat.d.ts b/types/react-icons/lib/io/android-boat.d.ts new file mode 100644 index 0000000000..59bf285c2b --- /dev/null +++ b/types/react-icons/lib/io/android-boat.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidBoat extends React.Component { } diff --git a/types/react-icons/lib/io/android-bookmark.d.ts b/types/react-icons/lib/io/android-bookmark.d.ts new file mode 100644 index 0000000000..1585e691ac --- /dev/null +++ b/types/react-icons/lib/io/android-bookmark.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidBookmark extends React.Component { } diff --git a/types/react-icons/lib/io/android-bulb.d.ts b/types/react-icons/lib/io/android-bulb.d.ts new file mode 100644 index 0000000000..04b9d70acb --- /dev/null +++ b/types/react-icons/lib/io/android-bulb.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidBulb extends React.Component { } diff --git a/types/react-icons/lib/io/android-bus.d.ts b/types/react-icons/lib/io/android-bus.d.ts new file mode 100644 index 0000000000..2e93dc479b --- /dev/null +++ b/types/react-icons/lib/io/android-bus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidBus extends React.Component { } diff --git a/types/react-icons/lib/io/android-calendar.d.ts b/types/react-icons/lib/io/android-calendar.d.ts new file mode 100644 index 0000000000..a884f3ff51 --- /dev/null +++ b/types/react-icons/lib/io/android-calendar.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidCalendar extends React.Component { } diff --git a/types/react-icons/lib/io/android-call.d.ts b/types/react-icons/lib/io/android-call.d.ts new file mode 100644 index 0000000000..2b13615abf --- /dev/null +++ b/types/react-icons/lib/io/android-call.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidCall extends React.Component { } diff --git a/types/react-icons/lib/io/android-camera.d.ts b/types/react-icons/lib/io/android-camera.d.ts new file mode 100644 index 0000000000..042a0b2694 --- /dev/null +++ b/types/react-icons/lib/io/android-camera.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidCamera extends React.Component { } diff --git a/types/react-icons/lib/io/android-cancel.d.ts b/types/react-icons/lib/io/android-cancel.d.ts new file mode 100644 index 0000000000..067a2a32f0 --- /dev/null +++ b/types/react-icons/lib/io/android-cancel.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidCancel extends React.Component { } diff --git a/types/react-icons/lib/io/android-car.d.ts b/types/react-icons/lib/io/android-car.d.ts new file mode 100644 index 0000000000..fcb7c849d8 --- /dev/null +++ b/types/react-icons/lib/io/android-car.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidCar extends React.Component { } diff --git a/types/react-icons/lib/io/android-cart.d.ts b/types/react-icons/lib/io/android-cart.d.ts new file mode 100644 index 0000000000..7d944a55c5 --- /dev/null +++ b/types/react-icons/lib/io/android-cart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidCart extends React.Component { } diff --git a/types/react-icons/lib/io/android-chat.d.ts b/types/react-icons/lib/io/android-chat.d.ts new file mode 100644 index 0000000000..8789c4f12b --- /dev/null +++ b/types/react-icons/lib/io/android-chat.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidChat extends React.Component { } diff --git a/types/react-icons/lib/io/android-checkbox-blank.d.ts b/types/react-icons/lib/io/android-checkbox-blank.d.ts new file mode 100644 index 0000000000..2651183ba1 --- /dev/null +++ b/types/react-icons/lib/io/android-checkbox-blank.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidCheckboxBlank extends React.Component { } diff --git a/types/react-icons/lib/io/android-checkbox-outline-blank.d.ts b/types/react-icons/lib/io/android-checkbox-outline-blank.d.ts new file mode 100644 index 0000000000..cf6a3a3d5e --- /dev/null +++ b/types/react-icons/lib/io/android-checkbox-outline-blank.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidCheckboxOutlineBlank extends React.Component { } diff --git a/types/react-icons/lib/io/android-checkbox-outline.d.ts b/types/react-icons/lib/io/android-checkbox-outline.d.ts new file mode 100644 index 0000000000..3a6347a302 --- /dev/null +++ b/types/react-icons/lib/io/android-checkbox-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidCheckboxOutline extends React.Component { } diff --git a/types/react-icons/lib/io/android-checkbox.d.ts b/types/react-icons/lib/io/android-checkbox.d.ts new file mode 100644 index 0000000000..cb21d62e65 --- /dev/null +++ b/types/react-icons/lib/io/android-checkbox.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidCheckbox extends React.Component { } diff --git a/types/react-icons/lib/io/android-checkmark-circle.d.ts b/types/react-icons/lib/io/android-checkmark-circle.d.ts new file mode 100644 index 0000000000..3671ada3d0 --- /dev/null +++ b/types/react-icons/lib/io/android-checkmark-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidCheckmarkCircle extends React.Component { } diff --git a/types/react-icons/lib/io/android-clipboard.d.ts b/types/react-icons/lib/io/android-clipboard.d.ts new file mode 100644 index 0000000000..3d93506b17 --- /dev/null +++ b/types/react-icons/lib/io/android-clipboard.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidClipboard extends React.Component { } diff --git a/types/react-icons/lib/io/android-close.d.ts b/types/react-icons/lib/io/android-close.d.ts new file mode 100644 index 0000000000..ad32b8b302 --- /dev/null +++ b/types/react-icons/lib/io/android-close.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidClose extends React.Component { } diff --git a/types/react-icons/lib/io/android-cloud-circle.d.ts b/types/react-icons/lib/io/android-cloud-circle.d.ts new file mode 100644 index 0000000000..9c30f64677 --- /dev/null +++ b/types/react-icons/lib/io/android-cloud-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidCloudCircle extends React.Component { } diff --git a/types/react-icons/lib/io/android-cloud-done.d.ts b/types/react-icons/lib/io/android-cloud-done.d.ts new file mode 100644 index 0000000000..6900251eec --- /dev/null +++ b/types/react-icons/lib/io/android-cloud-done.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidCloudDone extends React.Component { } diff --git a/types/react-icons/lib/io/android-cloud-outline.d.ts b/types/react-icons/lib/io/android-cloud-outline.d.ts new file mode 100644 index 0000000000..a8144aad15 --- /dev/null +++ b/types/react-icons/lib/io/android-cloud-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidCloudOutline extends React.Component { } diff --git a/types/react-icons/lib/io/android-cloud.d.ts b/types/react-icons/lib/io/android-cloud.d.ts new file mode 100644 index 0000000000..e0fc48bfd5 --- /dev/null +++ b/types/react-icons/lib/io/android-cloud.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidCloud extends React.Component { } diff --git a/types/react-icons/lib/io/android-color-palette.d.ts b/types/react-icons/lib/io/android-color-palette.d.ts new file mode 100644 index 0000000000..79ddef8b10 --- /dev/null +++ b/types/react-icons/lib/io/android-color-palette.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidColorPalette extends React.Component { } diff --git a/types/react-icons/lib/io/android-compass.d.ts b/types/react-icons/lib/io/android-compass.d.ts new file mode 100644 index 0000000000..c577a6a3fd --- /dev/null +++ b/types/react-icons/lib/io/android-compass.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidCompass extends React.Component { } diff --git a/types/react-icons/lib/io/android-contact.d.ts b/types/react-icons/lib/io/android-contact.d.ts new file mode 100644 index 0000000000..933faca311 --- /dev/null +++ b/types/react-icons/lib/io/android-contact.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidContact extends React.Component { } diff --git a/types/react-icons/lib/io/android-contacts.d.ts b/types/react-icons/lib/io/android-contacts.d.ts new file mode 100644 index 0000000000..22f23054ff --- /dev/null +++ b/types/react-icons/lib/io/android-contacts.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidContacts extends React.Component { } diff --git a/types/react-icons/lib/io/android-contract.d.ts b/types/react-icons/lib/io/android-contract.d.ts new file mode 100644 index 0000000000..87c6a88fa1 --- /dev/null +++ b/types/react-icons/lib/io/android-contract.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidContract extends React.Component { } diff --git a/types/react-icons/lib/io/android-create.d.ts b/types/react-icons/lib/io/android-create.d.ts new file mode 100644 index 0000000000..38c4a7fa79 --- /dev/null +++ b/types/react-icons/lib/io/android-create.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidCreate extends React.Component { } diff --git a/types/react-icons/lib/io/android-delete.d.ts b/types/react-icons/lib/io/android-delete.d.ts new file mode 100644 index 0000000000..1863649507 --- /dev/null +++ b/types/react-icons/lib/io/android-delete.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidDelete extends React.Component { } diff --git a/types/react-icons/lib/io/android-desktop.d.ts b/types/react-icons/lib/io/android-desktop.d.ts new file mode 100644 index 0000000000..a8233e4c61 --- /dev/null +++ b/types/react-icons/lib/io/android-desktop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidDesktop extends React.Component { } diff --git a/types/react-icons/lib/io/android-document.d.ts b/types/react-icons/lib/io/android-document.d.ts new file mode 100644 index 0000000000..b2a4c4d5a3 --- /dev/null +++ b/types/react-icons/lib/io/android-document.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidDocument extends React.Component { } diff --git a/types/react-icons/lib/io/android-done-all.d.ts b/types/react-icons/lib/io/android-done-all.d.ts new file mode 100644 index 0000000000..9759331f5e --- /dev/null +++ b/types/react-icons/lib/io/android-done-all.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidDoneAll extends React.Component { } diff --git a/types/react-icons/lib/io/android-done.d.ts b/types/react-icons/lib/io/android-done.d.ts new file mode 100644 index 0000000000..ef68fc8e34 --- /dev/null +++ b/types/react-icons/lib/io/android-done.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidDone extends React.Component { } diff --git a/types/react-icons/lib/io/android-download.d.ts b/types/react-icons/lib/io/android-download.d.ts new file mode 100644 index 0000000000..35caf226ba --- /dev/null +++ b/types/react-icons/lib/io/android-download.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidDownload extends React.Component { } diff --git a/types/react-icons/lib/io/android-drafts.d.ts b/types/react-icons/lib/io/android-drafts.d.ts new file mode 100644 index 0000000000..c143e50a3d --- /dev/null +++ b/types/react-icons/lib/io/android-drafts.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidDrafts extends React.Component { } diff --git a/types/react-icons/lib/io/android-exit.d.ts b/types/react-icons/lib/io/android-exit.d.ts new file mode 100644 index 0000000000..ad1c1fa91e --- /dev/null +++ b/types/react-icons/lib/io/android-exit.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidExit extends React.Component { } diff --git a/types/react-icons/lib/io/android-expand.d.ts b/types/react-icons/lib/io/android-expand.d.ts new file mode 100644 index 0000000000..01e32a17c5 --- /dev/null +++ b/types/react-icons/lib/io/android-expand.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidExpand extends React.Component { } diff --git a/types/react-icons/lib/io/android-favorite-outline.d.ts b/types/react-icons/lib/io/android-favorite-outline.d.ts new file mode 100644 index 0000000000..9d26146836 --- /dev/null +++ b/types/react-icons/lib/io/android-favorite-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidFavoriteOutline extends React.Component { } diff --git a/types/react-icons/lib/io/android-favorite.d.ts b/types/react-icons/lib/io/android-favorite.d.ts new file mode 100644 index 0000000000..17fd1ebcb0 --- /dev/null +++ b/types/react-icons/lib/io/android-favorite.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidFavorite extends React.Component { } diff --git a/types/react-icons/lib/io/android-film.d.ts b/types/react-icons/lib/io/android-film.d.ts new file mode 100644 index 0000000000..d78bd6bf92 --- /dev/null +++ b/types/react-icons/lib/io/android-film.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidFilm extends React.Component { } diff --git a/types/react-icons/lib/io/android-folder-open.d.ts b/types/react-icons/lib/io/android-folder-open.d.ts new file mode 100644 index 0000000000..b494784e58 --- /dev/null +++ b/types/react-icons/lib/io/android-folder-open.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidFolderOpen extends React.Component { } diff --git a/types/react-icons/lib/io/android-folder.d.ts b/types/react-icons/lib/io/android-folder.d.ts new file mode 100644 index 0000000000..19fa386920 --- /dev/null +++ b/types/react-icons/lib/io/android-folder.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidFolder extends React.Component { } diff --git a/types/react-icons/lib/io/android-funnel.d.ts b/types/react-icons/lib/io/android-funnel.d.ts new file mode 100644 index 0000000000..a43e13c0e5 --- /dev/null +++ b/types/react-icons/lib/io/android-funnel.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidFunnel extends React.Component { } diff --git a/types/react-icons/lib/io/android-globe.d.ts b/types/react-icons/lib/io/android-globe.d.ts new file mode 100644 index 0000000000..7d27e58cc1 --- /dev/null +++ b/types/react-icons/lib/io/android-globe.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidGlobe extends React.Component { } diff --git a/types/react-icons/lib/io/android-hand.d.ts b/types/react-icons/lib/io/android-hand.d.ts new file mode 100644 index 0000000000..280652d333 --- /dev/null +++ b/types/react-icons/lib/io/android-hand.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidHand extends React.Component { } diff --git a/types/react-icons/lib/io/android-hangout.d.ts b/types/react-icons/lib/io/android-hangout.d.ts new file mode 100644 index 0000000000..452158902c --- /dev/null +++ b/types/react-icons/lib/io/android-hangout.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidHangout extends React.Component { } diff --git a/types/react-icons/lib/io/android-happy.d.ts b/types/react-icons/lib/io/android-happy.d.ts new file mode 100644 index 0000000000..7343ceb5dd --- /dev/null +++ b/types/react-icons/lib/io/android-happy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidHappy extends React.Component { } diff --git a/types/react-icons/lib/io/android-home.d.ts b/types/react-icons/lib/io/android-home.d.ts new file mode 100644 index 0000000000..75cc1ed488 --- /dev/null +++ b/types/react-icons/lib/io/android-home.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidHome extends React.Component { } diff --git a/types/react-icons/lib/io/android-image.d.ts b/types/react-icons/lib/io/android-image.d.ts new file mode 100644 index 0000000000..46d20ffdc2 --- /dev/null +++ b/types/react-icons/lib/io/android-image.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidImage extends React.Component { } diff --git a/types/react-icons/lib/io/android-laptop.d.ts b/types/react-icons/lib/io/android-laptop.d.ts new file mode 100644 index 0000000000..749f603ebc --- /dev/null +++ b/types/react-icons/lib/io/android-laptop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidLaptop extends React.Component { } diff --git a/types/react-icons/lib/io/android-list.d.ts b/types/react-icons/lib/io/android-list.d.ts new file mode 100644 index 0000000000..d366495d98 --- /dev/null +++ b/types/react-icons/lib/io/android-list.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidList extends React.Component { } diff --git a/types/react-icons/lib/io/android-locate.d.ts b/types/react-icons/lib/io/android-locate.d.ts new file mode 100644 index 0000000000..b99c14cf66 --- /dev/null +++ b/types/react-icons/lib/io/android-locate.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidLocate extends React.Component { } diff --git a/types/react-icons/lib/io/android-lock.d.ts b/types/react-icons/lib/io/android-lock.d.ts new file mode 100644 index 0000000000..5447214ecf --- /dev/null +++ b/types/react-icons/lib/io/android-lock.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidLock extends React.Component { } diff --git a/types/react-icons/lib/io/android-mail.d.ts b/types/react-icons/lib/io/android-mail.d.ts new file mode 100644 index 0000000000..29529c349f --- /dev/null +++ b/types/react-icons/lib/io/android-mail.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidMail extends React.Component { } diff --git a/types/react-icons/lib/io/android-map.d.ts b/types/react-icons/lib/io/android-map.d.ts new file mode 100644 index 0000000000..521561d56e --- /dev/null +++ b/types/react-icons/lib/io/android-map.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidMap extends React.Component { } diff --git a/types/react-icons/lib/io/android-menu.d.ts b/types/react-icons/lib/io/android-menu.d.ts new file mode 100644 index 0000000000..f14d3f29fa --- /dev/null +++ b/types/react-icons/lib/io/android-menu.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidMenu extends React.Component { } diff --git a/types/react-icons/lib/io/android-microphone-off.d.ts b/types/react-icons/lib/io/android-microphone-off.d.ts new file mode 100644 index 0000000000..57ea0597db --- /dev/null +++ b/types/react-icons/lib/io/android-microphone-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidMicrophoneOff extends React.Component { } diff --git a/types/react-icons/lib/io/android-microphone.d.ts b/types/react-icons/lib/io/android-microphone.d.ts new file mode 100644 index 0000000000..2e9105f34a --- /dev/null +++ b/types/react-icons/lib/io/android-microphone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidMicrophone extends React.Component { } diff --git a/types/react-icons/lib/io/android-more-horizontal.d.ts b/types/react-icons/lib/io/android-more-horizontal.d.ts new file mode 100644 index 0000000000..4bdb7f35fd --- /dev/null +++ b/types/react-icons/lib/io/android-more-horizontal.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidMoreHorizontal extends React.Component { } diff --git a/types/react-icons/lib/io/android-more-vertical.d.ts b/types/react-icons/lib/io/android-more-vertical.d.ts new file mode 100644 index 0000000000..f3b900b03a --- /dev/null +++ b/types/react-icons/lib/io/android-more-vertical.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidMoreVertical extends React.Component { } diff --git a/types/react-icons/lib/io/android-navigate.d.ts b/types/react-icons/lib/io/android-navigate.d.ts new file mode 100644 index 0000000000..c062fdb9a2 --- /dev/null +++ b/types/react-icons/lib/io/android-navigate.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidNavigate extends React.Component { } diff --git a/types/react-icons/lib/io/android-notifications-none.d.ts b/types/react-icons/lib/io/android-notifications-none.d.ts new file mode 100644 index 0000000000..a5df08d48a --- /dev/null +++ b/types/react-icons/lib/io/android-notifications-none.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidNotificationsNone extends React.Component { } diff --git a/types/react-icons/lib/io/android-notifications-off.d.ts b/types/react-icons/lib/io/android-notifications-off.d.ts new file mode 100644 index 0000000000..38e64be76b --- /dev/null +++ b/types/react-icons/lib/io/android-notifications-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidNotificationsOff extends React.Component { } diff --git a/types/react-icons/lib/io/android-notifications.d.ts b/types/react-icons/lib/io/android-notifications.d.ts new file mode 100644 index 0000000000..f3fdc7b4fe --- /dev/null +++ b/types/react-icons/lib/io/android-notifications.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidNotifications extends React.Component { } diff --git a/types/react-icons/lib/io/android-open.d.ts b/types/react-icons/lib/io/android-open.d.ts new file mode 100644 index 0000000000..8ef0abebde --- /dev/null +++ b/types/react-icons/lib/io/android-open.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidOpen extends React.Component { } diff --git a/types/react-icons/lib/io/android-options.d.ts b/types/react-icons/lib/io/android-options.d.ts new file mode 100644 index 0000000000..61640a419f --- /dev/null +++ b/types/react-icons/lib/io/android-options.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidOptions extends React.Component { } diff --git a/types/react-icons/lib/io/android-people.d.ts b/types/react-icons/lib/io/android-people.d.ts new file mode 100644 index 0000000000..4f19a67eda --- /dev/null +++ b/types/react-icons/lib/io/android-people.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidPeople extends React.Component { } diff --git a/types/react-icons/lib/io/android-person-add.d.ts b/types/react-icons/lib/io/android-person-add.d.ts new file mode 100644 index 0000000000..4fe6408fe0 --- /dev/null +++ b/types/react-icons/lib/io/android-person-add.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidPersonAdd extends React.Component { } diff --git a/types/react-icons/lib/io/android-person.d.ts b/types/react-icons/lib/io/android-person.d.ts new file mode 100644 index 0000000000..ad0e00481a --- /dev/null +++ b/types/react-icons/lib/io/android-person.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidPerson extends React.Component { } diff --git a/types/react-icons/lib/io/android-phone-landscape.d.ts b/types/react-icons/lib/io/android-phone-landscape.d.ts new file mode 100644 index 0000000000..bfff8ac323 --- /dev/null +++ b/types/react-icons/lib/io/android-phone-landscape.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidPhoneLandscape extends React.Component { } diff --git a/types/react-icons/lib/io/android-phone-portrait.d.ts b/types/react-icons/lib/io/android-phone-portrait.d.ts new file mode 100644 index 0000000000..4a14130c8d --- /dev/null +++ b/types/react-icons/lib/io/android-phone-portrait.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidPhonePortrait extends React.Component { } diff --git a/types/react-icons/lib/io/android-pin.d.ts b/types/react-icons/lib/io/android-pin.d.ts new file mode 100644 index 0000000000..5819b33b52 --- /dev/null +++ b/types/react-icons/lib/io/android-pin.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidPin extends React.Component { } diff --git a/types/react-icons/lib/io/android-plane.d.ts b/types/react-icons/lib/io/android-plane.d.ts new file mode 100644 index 0000000000..4b436e096b --- /dev/null +++ b/types/react-icons/lib/io/android-plane.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidPlane extends React.Component { } diff --git a/types/react-icons/lib/io/android-playstore.d.ts b/types/react-icons/lib/io/android-playstore.d.ts new file mode 100644 index 0000000000..99174ccab2 --- /dev/null +++ b/types/react-icons/lib/io/android-playstore.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidPlaystore extends React.Component { } diff --git a/types/react-icons/lib/io/android-print.d.ts b/types/react-icons/lib/io/android-print.d.ts new file mode 100644 index 0000000000..b2f5807f06 --- /dev/null +++ b/types/react-icons/lib/io/android-print.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidPrint extends React.Component { } diff --git a/types/react-icons/lib/io/android-radio-button-off.d.ts b/types/react-icons/lib/io/android-radio-button-off.d.ts new file mode 100644 index 0000000000..fc2f705ff1 --- /dev/null +++ b/types/react-icons/lib/io/android-radio-button-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidRadioButtonOff extends React.Component { } diff --git a/types/react-icons/lib/io/android-radio-button-on.d.ts b/types/react-icons/lib/io/android-radio-button-on.d.ts new file mode 100644 index 0000000000..be28d7626e --- /dev/null +++ b/types/react-icons/lib/io/android-radio-button-on.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidRadioButtonOn extends React.Component { } diff --git a/types/react-icons/lib/io/android-refresh.d.ts b/types/react-icons/lib/io/android-refresh.d.ts new file mode 100644 index 0000000000..eee0a2b96f --- /dev/null +++ b/types/react-icons/lib/io/android-refresh.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidRefresh extends React.Component { } diff --git a/types/react-icons/lib/io/android-remove-circle.d.ts b/types/react-icons/lib/io/android-remove-circle.d.ts new file mode 100644 index 0000000000..7c525668f8 --- /dev/null +++ b/types/react-icons/lib/io/android-remove-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidRemoveCircle extends React.Component { } diff --git a/types/react-icons/lib/io/android-remove.d.ts b/types/react-icons/lib/io/android-remove.d.ts new file mode 100644 index 0000000000..3767b079d3 --- /dev/null +++ b/types/react-icons/lib/io/android-remove.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidRemove extends React.Component { } diff --git a/types/react-icons/lib/io/android-restaurant.d.ts b/types/react-icons/lib/io/android-restaurant.d.ts new file mode 100644 index 0000000000..5bb7a6ef15 --- /dev/null +++ b/types/react-icons/lib/io/android-restaurant.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidRestaurant extends React.Component { } diff --git a/types/react-icons/lib/io/android-sad.d.ts b/types/react-icons/lib/io/android-sad.d.ts new file mode 100644 index 0000000000..dc45162222 --- /dev/null +++ b/types/react-icons/lib/io/android-sad.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidSad extends React.Component { } diff --git a/types/react-icons/lib/io/android-search.d.ts b/types/react-icons/lib/io/android-search.d.ts new file mode 100644 index 0000000000..b5158286a1 --- /dev/null +++ b/types/react-icons/lib/io/android-search.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidSearch extends React.Component { } diff --git a/types/react-icons/lib/io/android-send.d.ts b/types/react-icons/lib/io/android-send.d.ts new file mode 100644 index 0000000000..eebec03631 --- /dev/null +++ b/types/react-icons/lib/io/android-send.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidSend extends React.Component { } diff --git a/types/react-icons/lib/io/android-settings.d.ts b/types/react-icons/lib/io/android-settings.d.ts new file mode 100644 index 0000000000..c302aedf0c --- /dev/null +++ b/types/react-icons/lib/io/android-settings.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidSettings extends React.Component { } diff --git a/types/react-icons/lib/io/android-share-alt.d.ts b/types/react-icons/lib/io/android-share-alt.d.ts new file mode 100644 index 0000000000..dcdb8a648c --- /dev/null +++ b/types/react-icons/lib/io/android-share-alt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidShareAlt extends React.Component { } diff --git a/types/react-icons/lib/io/android-share.d.ts b/types/react-icons/lib/io/android-share.d.ts new file mode 100644 index 0000000000..6b61e7c4e9 --- /dev/null +++ b/types/react-icons/lib/io/android-share.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidShare extends React.Component { } diff --git a/types/react-icons/lib/io/android-star-half.d.ts b/types/react-icons/lib/io/android-star-half.d.ts new file mode 100644 index 0000000000..6a9ce4048a --- /dev/null +++ b/types/react-icons/lib/io/android-star-half.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidStarHalf extends React.Component { } diff --git a/types/react-icons/lib/io/android-star-outline.d.ts b/types/react-icons/lib/io/android-star-outline.d.ts new file mode 100644 index 0000000000..3413a8803c --- /dev/null +++ b/types/react-icons/lib/io/android-star-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidStarOutline extends React.Component { } diff --git a/types/react-icons/lib/io/android-star.d.ts b/types/react-icons/lib/io/android-star.d.ts new file mode 100644 index 0000000000..0c6beadab5 --- /dev/null +++ b/types/react-icons/lib/io/android-star.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidStar extends React.Component { } diff --git a/types/react-icons/lib/io/android-stopwatch.d.ts b/types/react-icons/lib/io/android-stopwatch.d.ts new file mode 100644 index 0000000000..1094ca3036 --- /dev/null +++ b/types/react-icons/lib/io/android-stopwatch.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidStopwatch extends React.Component { } diff --git a/types/react-icons/lib/io/android-subway.d.ts b/types/react-icons/lib/io/android-subway.d.ts new file mode 100644 index 0000000000..1939fd06d3 --- /dev/null +++ b/types/react-icons/lib/io/android-subway.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidSubway extends React.Component { } diff --git a/types/react-icons/lib/io/android-sunny.d.ts b/types/react-icons/lib/io/android-sunny.d.ts new file mode 100644 index 0000000000..382cc921aa --- /dev/null +++ b/types/react-icons/lib/io/android-sunny.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidSunny extends React.Component { } diff --git a/types/react-icons/lib/io/android-sync.d.ts b/types/react-icons/lib/io/android-sync.d.ts new file mode 100644 index 0000000000..27b8493ecf --- /dev/null +++ b/types/react-icons/lib/io/android-sync.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidSync extends React.Component { } diff --git a/types/react-icons/lib/io/android-textsms.d.ts b/types/react-icons/lib/io/android-textsms.d.ts new file mode 100644 index 0000000000..8020ed572a --- /dev/null +++ b/types/react-icons/lib/io/android-textsms.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidTextsms extends React.Component { } diff --git a/types/react-icons/lib/io/android-time.d.ts b/types/react-icons/lib/io/android-time.d.ts new file mode 100644 index 0000000000..741d66a005 --- /dev/null +++ b/types/react-icons/lib/io/android-time.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidTime extends React.Component { } diff --git a/types/react-icons/lib/io/android-train.d.ts b/types/react-icons/lib/io/android-train.d.ts new file mode 100644 index 0000000000..c55e985bdd --- /dev/null +++ b/types/react-icons/lib/io/android-train.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidTrain extends React.Component { } diff --git a/types/react-icons/lib/io/android-unlock.d.ts b/types/react-icons/lib/io/android-unlock.d.ts new file mode 100644 index 0000000000..5eec9a875c --- /dev/null +++ b/types/react-icons/lib/io/android-unlock.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidUnlock extends React.Component { } diff --git a/types/react-icons/lib/io/android-upload.d.ts b/types/react-icons/lib/io/android-upload.d.ts new file mode 100644 index 0000000000..d5e092172f --- /dev/null +++ b/types/react-icons/lib/io/android-upload.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidUpload extends React.Component { } diff --git a/types/react-icons/lib/io/android-volume-down.d.ts b/types/react-icons/lib/io/android-volume-down.d.ts new file mode 100644 index 0000000000..ce256873be --- /dev/null +++ b/types/react-icons/lib/io/android-volume-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidVolumeDown extends React.Component { } diff --git a/types/react-icons/lib/io/android-volume-mute.d.ts b/types/react-icons/lib/io/android-volume-mute.d.ts new file mode 100644 index 0000000000..0675809779 --- /dev/null +++ b/types/react-icons/lib/io/android-volume-mute.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidVolumeMute extends React.Component { } diff --git a/types/react-icons/lib/io/android-volume-off.d.ts b/types/react-icons/lib/io/android-volume-off.d.ts new file mode 100644 index 0000000000..76cbb85947 --- /dev/null +++ b/types/react-icons/lib/io/android-volume-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidVolumeOff extends React.Component { } diff --git a/types/react-icons/lib/io/android-volume-up.d.ts b/types/react-icons/lib/io/android-volume-up.d.ts new file mode 100644 index 0000000000..ff3531cf02 --- /dev/null +++ b/types/react-icons/lib/io/android-volume-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidVolumeUp extends React.Component { } diff --git a/types/react-icons/lib/io/android-walk.d.ts b/types/react-icons/lib/io/android-walk.d.ts new file mode 100644 index 0000000000..2d9c9fdfeb --- /dev/null +++ b/types/react-icons/lib/io/android-walk.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidWalk extends React.Component { } diff --git a/types/react-icons/lib/io/android-warning.d.ts b/types/react-icons/lib/io/android-warning.d.ts new file mode 100644 index 0000000000..ae0512a305 --- /dev/null +++ b/types/react-icons/lib/io/android-warning.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidWarning extends React.Component { } diff --git a/types/react-icons/lib/io/android-watch.d.ts b/types/react-icons/lib/io/android-watch.d.ts new file mode 100644 index 0000000000..fd4f03a21d --- /dev/null +++ b/types/react-icons/lib/io/android-watch.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidWatch extends React.Component { } diff --git a/types/react-icons/lib/io/android-wifi.d.ts b/types/react-icons/lib/io/android-wifi.d.ts new file mode 100644 index 0000000000..52f56bfd92 --- /dev/null +++ b/types/react-icons/lib/io/android-wifi.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAndroidWifi extends React.Component { } diff --git a/types/react-icons/lib/io/aperture.d.ts b/types/react-icons/lib/io/aperture.d.ts new file mode 100644 index 0000000000..433117938f --- /dev/null +++ b/types/react-icons/lib/io/aperture.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAperture extends React.Component { } diff --git a/types/react-icons/lib/io/archive.d.ts b/types/react-icons/lib/io/archive.d.ts new file mode 100644 index 0000000000..90863a6615 --- /dev/null +++ b/types/react-icons/lib/io/archive.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArchive extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-down-a.d.ts b/types/react-icons/lib/io/arrow-down-a.d.ts new file mode 100644 index 0000000000..eadf0800bb --- /dev/null +++ b/types/react-icons/lib/io/arrow-down-a.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowDownA extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-down-b.d.ts b/types/react-icons/lib/io/arrow-down-b.d.ts new file mode 100644 index 0000000000..281147e627 --- /dev/null +++ b/types/react-icons/lib/io/arrow-down-b.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowDownB extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-down-c.d.ts b/types/react-icons/lib/io/arrow-down-c.d.ts new file mode 100644 index 0000000000..ab561572b2 --- /dev/null +++ b/types/react-icons/lib/io/arrow-down-c.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowDownC extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-expand.d.ts b/types/react-icons/lib/io/arrow-expand.d.ts new file mode 100644 index 0000000000..273819c731 --- /dev/null +++ b/types/react-icons/lib/io/arrow-expand.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowExpand extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-graph-down-left.d.ts b/types/react-icons/lib/io/arrow-graph-down-left.d.ts new file mode 100644 index 0000000000..db6c5aed00 --- /dev/null +++ b/types/react-icons/lib/io/arrow-graph-down-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowGraphDownLeft extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-graph-down-right.d.ts b/types/react-icons/lib/io/arrow-graph-down-right.d.ts new file mode 100644 index 0000000000..f64ec5a4b5 --- /dev/null +++ b/types/react-icons/lib/io/arrow-graph-down-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowGraphDownRight extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-graph-up-left.d.ts b/types/react-icons/lib/io/arrow-graph-up-left.d.ts new file mode 100644 index 0000000000..d4c1f87aee --- /dev/null +++ b/types/react-icons/lib/io/arrow-graph-up-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowGraphUpLeft extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-graph-up-right.d.ts b/types/react-icons/lib/io/arrow-graph-up-right.d.ts new file mode 100644 index 0000000000..2b79959860 --- /dev/null +++ b/types/react-icons/lib/io/arrow-graph-up-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowGraphUpRight extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-left-a.d.ts b/types/react-icons/lib/io/arrow-left-a.d.ts new file mode 100644 index 0000000000..3e7fb51bdd --- /dev/null +++ b/types/react-icons/lib/io/arrow-left-a.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowLeftA extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-left-b.d.ts b/types/react-icons/lib/io/arrow-left-b.d.ts new file mode 100644 index 0000000000..537365c037 --- /dev/null +++ b/types/react-icons/lib/io/arrow-left-b.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowLeftB extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-left-c.d.ts b/types/react-icons/lib/io/arrow-left-c.d.ts new file mode 100644 index 0000000000..a831c73c50 --- /dev/null +++ b/types/react-icons/lib/io/arrow-left-c.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowLeftC extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-move.d.ts b/types/react-icons/lib/io/arrow-move.d.ts new file mode 100644 index 0000000000..1a61a6c75c --- /dev/null +++ b/types/react-icons/lib/io/arrow-move.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowMove extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-resize.d.ts b/types/react-icons/lib/io/arrow-resize.d.ts new file mode 100644 index 0000000000..a8efbc36cf --- /dev/null +++ b/types/react-icons/lib/io/arrow-resize.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowResize extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-return-left.d.ts b/types/react-icons/lib/io/arrow-return-left.d.ts new file mode 100644 index 0000000000..9e0a076927 --- /dev/null +++ b/types/react-icons/lib/io/arrow-return-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowReturnLeft extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-return-right.d.ts b/types/react-icons/lib/io/arrow-return-right.d.ts new file mode 100644 index 0000000000..0bab75e6e9 --- /dev/null +++ b/types/react-icons/lib/io/arrow-return-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowReturnRight extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-right-a.d.ts b/types/react-icons/lib/io/arrow-right-a.d.ts new file mode 100644 index 0000000000..e91a2984da --- /dev/null +++ b/types/react-icons/lib/io/arrow-right-a.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowRightA extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-right-b.d.ts b/types/react-icons/lib/io/arrow-right-b.d.ts new file mode 100644 index 0000000000..e85dce6f12 --- /dev/null +++ b/types/react-icons/lib/io/arrow-right-b.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowRightB extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-right-c.d.ts b/types/react-icons/lib/io/arrow-right-c.d.ts new file mode 100644 index 0000000000..5673e8df4c --- /dev/null +++ b/types/react-icons/lib/io/arrow-right-c.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowRightC extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-shrink.d.ts b/types/react-icons/lib/io/arrow-shrink.d.ts new file mode 100644 index 0000000000..5fa8093af3 --- /dev/null +++ b/types/react-icons/lib/io/arrow-shrink.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowShrink extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-swap.d.ts b/types/react-icons/lib/io/arrow-swap.d.ts new file mode 100644 index 0000000000..885a2c27ad --- /dev/null +++ b/types/react-icons/lib/io/arrow-swap.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowSwap extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-up-a.d.ts b/types/react-icons/lib/io/arrow-up-a.d.ts new file mode 100644 index 0000000000..a3967e9d42 --- /dev/null +++ b/types/react-icons/lib/io/arrow-up-a.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowUpA extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-up-b.d.ts b/types/react-icons/lib/io/arrow-up-b.d.ts new file mode 100644 index 0000000000..1c91d058f7 --- /dev/null +++ b/types/react-icons/lib/io/arrow-up-b.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowUpB extends React.Component { } diff --git a/types/react-icons/lib/io/arrow-up-c.d.ts b/types/react-icons/lib/io/arrow-up-c.d.ts new file mode 100644 index 0000000000..9ca25a35a9 --- /dev/null +++ b/types/react-icons/lib/io/arrow-up-c.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoArrowUpC extends React.Component { } diff --git a/types/react-icons/lib/io/asterisk.d.ts b/types/react-icons/lib/io/asterisk.d.ts new file mode 100644 index 0000000000..a5b58bd24e --- /dev/null +++ b/types/react-icons/lib/io/asterisk.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAsterisk extends React.Component { } diff --git a/types/react-icons/lib/io/at.d.ts b/types/react-icons/lib/io/at.d.ts new file mode 100644 index 0000000000..cb7284b40f --- /dev/null +++ b/types/react-icons/lib/io/at.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoAt extends React.Component { } diff --git a/types/react-icons/lib/io/backspace-outline.d.ts b/types/react-icons/lib/io/backspace-outline.d.ts new file mode 100644 index 0000000000..8ce9f476c5 --- /dev/null +++ b/types/react-icons/lib/io/backspace-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoBackspaceOutline extends React.Component { } diff --git a/types/react-icons/lib/io/backspace.d.ts b/types/react-icons/lib/io/backspace.d.ts new file mode 100644 index 0000000000..a1d19677b8 --- /dev/null +++ b/types/react-icons/lib/io/backspace.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoBackspace extends React.Component { } diff --git a/types/react-icons/lib/io/bag.d.ts b/types/react-icons/lib/io/bag.d.ts new file mode 100644 index 0000000000..538f19a520 --- /dev/null +++ b/types/react-icons/lib/io/bag.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoBag extends React.Component { } diff --git a/types/react-icons/lib/io/battery-charging.d.ts b/types/react-icons/lib/io/battery-charging.d.ts new file mode 100644 index 0000000000..b950673aae --- /dev/null +++ b/types/react-icons/lib/io/battery-charging.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoBatteryCharging extends React.Component { } diff --git a/types/react-icons/lib/io/battery-empty.d.ts b/types/react-icons/lib/io/battery-empty.d.ts new file mode 100644 index 0000000000..0a8268869c --- /dev/null +++ b/types/react-icons/lib/io/battery-empty.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoBatteryEmpty extends React.Component { } diff --git a/types/react-icons/lib/io/battery-full.d.ts b/types/react-icons/lib/io/battery-full.d.ts new file mode 100644 index 0000000000..493488adf3 --- /dev/null +++ b/types/react-icons/lib/io/battery-full.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoBatteryFull extends React.Component { } diff --git a/types/react-icons/lib/io/battery-half.d.ts b/types/react-icons/lib/io/battery-half.d.ts new file mode 100644 index 0000000000..0671295096 --- /dev/null +++ b/types/react-icons/lib/io/battery-half.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoBatteryHalf extends React.Component { } diff --git a/types/react-icons/lib/io/battery-low.d.ts b/types/react-icons/lib/io/battery-low.d.ts new file mode 100644 index 0000000000..3c2964a52b --- /dev/null +++ b/types/react-icons/lib/io/battery-low.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoBatteryLow extends React.Component { } diff --git a/types/react-icons/lib/io/beaker.d.ts b/types/react-icons/lib/io/beaker.d.ts new file mode 100644 index 0000000000..5f68a801f8 --- /dev/null +++ b/types/react-icons/lib/io/beaker.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoBeaker extends React.Component { } diff --git a/types/react-icons/lib/io/beer.d.ts b/types/react-icons/lib/io/beer.d.ts new file mode 100644 index 0000000000..9f2f5739ac --- /dev/null +++ b/types/react-icons/lib/io/beer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoBeer extends React.Component { } diff --git a/types/react-icons/lib/io/bluetooth.d.ts b/types/react-icons/lib/io/bluetooth.d.ts new file mode 100644 index 0000000000..58eb2659e0 --- /dev/null +++ b/types/react-icons/lib/io/bluetooth.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoBluetooth extends React.Component { } diff --git a/types/react-icons/lib/io/bonfire.d.ts b/types/react-icons/lib/io/bonfire.d.ts new file mode 100644 index 0000000000..c0ef9d7cae --- /dev/null +++ b/types/react-icons/lib/io/bonfire.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoBonfire extends React.Component { } diff --git a/types/react-icons/lib/io/bookmark.d.ts b/types/react-icons/lib/io/bookmark.d.ts new file mode 100644 index 0000000000..3479c40e67 --- /dev/null +++ b/types/react-icons/lib/io/bookmark.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoBookmark extends React.Component { } diff --git a/types/react-icons/lib/io/bowtie.d.ts b/types/react-icons/lib/io/bowtie.d.ts new file mode 100644 index 0000000000..6f983612ce --- /dev/null +++ b/types/react-icons/lib/io/bowtie.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoBowtie extends React.Component { } diff --git a/types/react-icons/lib/io/briefcase.d.ts b/types/react-icons/lib/io/briefcase.d.ts new file mode 100644 index 0000000000..baa5708abd --- /dev/null +++ b/types/react-icons/lib/io/briefcase.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoBriefcase extends React.Component { } diff --git a/types/react-icons/lib/io/bug.d.ts b/types/react-icons/lib/io/bug.d.ts new file mode 100644 index 0000000000..a97e391988 --- /dev/null +++ b/types/react-icons/lib/io/bug.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoBug extends React.Component { } diff --git a/types/react-icons/lib/io/calculator.d.ts b/types/react-icons/lib/io/calculator.d.ts new file mode 100644 index 0000000000..17bc0695d2 --- /dev/null +++ b/types/react-icons/lib/io/calculator.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoCalculator extends React.Component { } diff --git a/types/react-icons/lib/io/calendar.d.ts b/types/react-icons/lib/io/calendar.d.ts new file mode 100644 index 0000000000..48de2d1402 --- /dev/null +++ b/types/react-icons/lib/io/calendar.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoCalendar extends React.Component { } diff --git a/types/react-icons/lib/io/camera.d.ts b/types/react-icons/lib/io/camera.d.ts new file mode 100644 index 0000000000..f362c37794 --- /dev/null +++ b/types/react-icons/lib/io/camera.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoCamera extends React.Component { } diff --git a/types/react-icons/lib/io/card.d.ts b/types/react-icons/lib/io/card.d.ts new file mode 100644 index 0000000000..4aa32829b4 --- /dev/null +++ b/types/react-icons/lib/io/card.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoCard extends React.Component { } diff --git a/types/react-icons/lib/io/cash.d.ts b/types/react-icons/lib/io/cash.d.ts new file mode 100644 index 0000000000..8c8a23acfd --- /dev/null +++ b/types/react-icons/lib/io/cash.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoCash extends React.Component { } diff --git a/types/react-icons/lib/io/chatbox-working.d.ts b/types/react-icons/lib/io/chatbox-working.d.ts new file mode 100644 index 0000000000..6574ba5b9c --- /dev/null +++ b/types/react-icons/lib/io/chatbox-working.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoChatboxWorking extends React.Component { } diff --git a/types/react-icons/lib/io/chatbox.d.ts b/types/react-icons/lib/io/chatbox.d.ts new file mode 100644 index 0000000000..71907bcada --- /dev/null +++ b/types/react-icons/lib/io/chatbox.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoChatbox extends React.Component { } diff --git a/types/react-icons/lib/io/chatboxes.d.ts b/types/react-icons/lib/io/chatboxes.d.ts new file mode 100644 index 0000000000..6a4aff2857 --- /dev/null +++ b/types/react-icons/lib/io/chatboxes.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoChatboxes extends React.Component { } diff --git a/types/react-icons/lib/io/chatbubble-working.d.ts b/types/react-icons/lib/io/chatbubble-working.d.ts new file mode 100644 index 0000000000..667fb7fcde --- /dev/null +++ b/types/react-icons/lib/io/chatbubble-working.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoChatbubbleWorking extends React.Component { } diff --git a/types/react-icons/lib/io/chatbubble.d.ts b/types/react-icons/lib/io/chatbubble.d.ts new file mode 100644 index 0000000000..08ecb48df7 --- /dev/null +++ b/types/react-icons/lib/io/chatbubble.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoChatbubble extends React.Component { } diff --git a/types/react-icons/lib/io/chatbubbles.d.ts b/types/react-icons/lib/io/chatbubbles.d.ts new file mode 100644 index 0000000000..ebf87a1cc5 --- /dev/null +++ b/types/react-icons/lib/io/chatbubbles.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoChatbubbles extends React.Component { } diff --git a/types/react-icons/lib/io/checkmark-circled.d.ts b/types/react-icons/lib/io/checkmark-circled.d.ts new file mode 100644 index 0000000000..892e19a107 --- /dev/null +++ b/types/react-icons/lib/io/checkmark-circled.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoCheckmarkCircled extends React.Component { } diff --git a/types/react-icons/lib/io/checkmark-round.d.ts b/types/react-icons/lib/io/checkmark-round.d.ts new file mode 100644 index 0000000000..1311db9d47 --- /dev/null +++ b/types/react-icons/lib/io/checkmark-round.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoCheckmarkRound extends React.Component { } diff --git a/types/react-icons/lib/io/checkmark.d.ts b/types/react-icons/lib/io/checkmark.d.ts new file mode 100644 index 0000000000..0eda0d12da --- /dev/null +++ b/types/react-icons/lib/io/checkmark.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoCheckmark extends React.Component { } diff --git a/types/react-icons/lib/io/chevron-down.d.ts b/types/react-icons/lib/io/chevron-down.d.ts new file mode 100644 index 0000000000..0d9546467d --- /dev/null +++ b/types/react-icons/lib/io/chevron-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoChevronDown extends React.Component { } diff --git a/types/react-icons/lib/io/chevron-left.d.ts b/types/react-icons/lib/io/chevron-left.d.ts new file mode 100644 index 0000000000..96fbe2a03f --- /dev/null +++ b/types/react-icons/lib/io/chevron-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoChevronLeft extends React.Component { } diff --git a/types/react-icons/lib/io/chevron-right.d.ts b/types/react-icons/lib/io/chevron-right.d.ts new file mode 100644 index 0000000000..a83489fa83 --- /dev/null +++ b/types/react-icons/lib/io/chevron-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoChevronRight extends React.Component { } diff --git a/types/react-icons/lib/io/chevron-up.d.ts b/types/react-icons/lib/io/chevron-up.d.ts new file mode 100644 index 0000000000..a56e43a584 --- /dev/null +++ b/types/react-icons/lib/io/chevron-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoChevronUp extends React.Component { } diff --git a/types/react-icons/lib/io/clipboard.d.ts b/types/react-icons/lib/io/clipboard.d.ts new file mode 100644 index 0000000000..79fc2dd2f7 --- /dev/null +++ b/types/react-icons/lib/io/clipboard.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoClipboard extends React.Component { } diff --git a/types/react-icons/lib/io/clock.d.ts b/types/react-icons/lib/io/clock.d.ts new file mode 100644 index 0000000000..50d4dd2af1 --- /dev/null +++ b/types/react-icons/lib/io/clock.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoClock extends React.Component { } diff --git a/types/react-icons/lib/io/close-circled.d.ts b/types/react-icons/lib/io/close-circled.d.ts new file mode 100644 index 0000000000..dd6fb5e9d2 --- /dev/null +++ b/types/react-icons/lib/io/close-circled.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoCloseCircled extends React.Component { } diff --git a/types/react-icons/lib/io/close-round.d.ts b/types/react-icons/lib/io/close-round.d.ts new file mode 100644 index 0000000000..a918a8e534 --- /dev/null +++ b/types/react-icons/lib/io/close-round.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoCloseRound extends React.Component { } diff --git a/types/react-icons/lib/io/close.d.ts b/types/react-icons/lib/io/close.d.ts new file mode 100644 index 0000000000..acc49f00ac --- /dev/null +++ b/types/react-icons/lib/io/close.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoClose extends React.Component { } diff --git a/types/react-icons/lib/io/closed-captioning.d.ts b/types/react-icons/lib/io/closed-captioning.d.ts new file mode 100644 index 0000000000..5a2b68d149 --- /dev/null +++ b/types/react-icons/lib/io/closed-captioning.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoClosedCaptioning extends React.Component { } diff --git a/types/react-icons/lib/io/cloud.d.ts b/types/react-icons/lib/io/cloud.d.ts new file mode 100644 index 0000000000..837051ce2f --- /dev/null +++ b/types/react-icons/lib/io/cloud.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoCloud extends React.Component { } diff --git a/types/react-icons/lib/io/code-download.d.ts b/types/react-icons/lib/io/code-download.d.ts new file mode 100644 index 0000000000..765b401172 --- /dev/null +++ b/types/react-icons/lib/io/code-download.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoCodeDownload extends React.Component { } diff --git a/types/react-icons/lib/io/code-working.d.ts b/types/react-icons/lib/io/code-working.d.ts new file mode 100644 index 0000000000..48cf64ecd5 --- /dev/null +++ b/types/react-icons/lib/io/code-working.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoCodeWorking extends React.Component { } diff --git a/types/react-icons/lib/io/code.d.ts b/types/react-icons/lib/io/code.d.ts new file mode 100644 index 0000000000..3d89e7aec1 --- /dev/null +++ b/types/react-icons/lib/io/code.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoCode extends React.Component { } diff --git a/types/react-icons/lib/io/coffee.d.ts b/types/react-icons/lib/io/coffee.d.ts new file mode 100644 index 0000000000..f3122b5343 --- /dev/null +++ b/types/react-icons/lib/io/coffee.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoCoffee extends React.Component { } diff --git a/types/react-icons/lib/io/compass.d.ts b/types/react-icons/lib/io/compass.d.ts new file mode 100644 index 0000000000..c0b78dd711 --- /dev/null +++ b/types/react-icons/lib/io/compass.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoCompass extends React.Component { } diff --git a/types/react-icons/lib/io/compose.d.ts b/types/react-icons/lib/io/compose.d.ts new file mode 100644 index 0000000000..5250bbf5f9 --- /dev/null +++ b/types/react-icons/lib/io/compose.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoCompose extends React.Component { } diff --git a/types/react-icons/lib/io/connectbars.d.ts b/types/react-icons/lib/io/connectbars.d.ts new file mode 100644 index 0000000000..2484005cf3 --- /dev/null +++ b/types/react-icons/lib/io/connectbars.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoConnectbars extends React.Component { } diff --git a/types/react-icons/lib/io/contrast.d.ts b/types/react-icons/lib/io/contrast.d.ts new file mode 100644 index 0000000000..871e34e2b5 --- /dev/null +++ b/types/react-icons/lib/io/contrast.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoContrast extends React.Component { } diff --git a/types/react-icons/lib/io/crop.d.ts b/types/react-icons/lib/io/crop.d.ts new file mode 100644 index 0000000000..1d9f6fe16f --- /dev/null +++ b/types/react-icons/lib/io/crop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoCrop extends React.Component { } diff --git a/types/react-icons/lib/io/cube.d.ts b/types/react-icons/lib/io/cube.d.ts new file mode 100644 index 0000000000..0e20a500a0 --- /dev/null +++ b/types/react-icons/lib/io/cube.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoCube extends React.Component { } diff --git a/types/react-icons/lib/io/disc.d.ts b/types/react-icons/lib/io/disc.d.ts new file mode 100644 index 0000000000..adb12527e7 --- /dev/null +++ b/types/react-icons/lib/io/disc.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoDisc extends React.Component { } diff --git a/types/react-icons/lib/io/document-text.d.ts b/types/react-icons/lib/io/document-text.d.ts new file mode 100644 index 0000000000..4c419e9766 --- /dev/null +++ b/types/react-icons/lib/io/document-text.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoDocumentText extends React.Component { } diff --git a/types/react-icons/lib/io/document.d.ts b/types/react-icons/lib/io/document.d.ts new file mode 100644 index 0000000000..098ab00b2a --- /dev/null +++ b/types/react-icons/lib/io/document.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoDocument extends React.Component { } diff --git a/types/react-icons/lib/io/drag.d.ts b/types/react-icons/lib/io/drag.d.ts new file mode 100644 index 0000000000..628c38c338 --- /dev/null +++ b/types/react-icons/lib/io/drag.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoDrag extends React.Component { } diff --git a/types/react-icons/lib/io/earth.d.ts b/types/react-icons/lib/io/earth.d.ts new file mode 100644 index 0000000000..5d502a5882 --- /dev/null +++ b/types/react-icons/lib/io/earth.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoEarth extends React.Component { } diff --git a/types/react-icons/lib/io/easel.d.ts b/types/react-icons/lib/io/easel.d.ts new file mode 100644 index 0000000000..dc8b3ff32d --- /dev/null +++ b/types/react-icons/lib/io/easel.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoEasel extends React.Component { } diff --git a/types/react-icons/lib/io/edit.d.ts b/types/react-icons/lib/io/edit.d.ts new file mode 100644 index 0000000000..ea10d7df2a --- /dev/null +++ b/types/react-icons/lib/io/edit.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoEdit extends React.Component { } diff --git a/types/react-icons/lib/io/egg.d.ts b/types/react-icons/lib/io/egg.d.ts new file mode 100644 index 0000000000..39e63c2f48 --- /dev/null +++ b/types/react-icons/lib/io/egg.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoEgg extends React.Component { } diff --git a/types/react-icons/lib/io/eject.d.ts b/types/react-icons/lib/io/eject.d.ts new file mode 100644 index 0000000000..1f859a0b76 --- /dev/null +++ b/types/react-icons/lib/io/eject.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoEject extends React.Component { } diff --git a/types/react-icons/lib/io/email-unread.d.ts b/types/react-icons/lib/io/email-unread.d.ts new file mode 100644 index 0000000000..acdaefd764 --- /dev/null +++ b/types/react-icons/lib/io/email-unread.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoEmailUnread extends React.Component { } diff --git a/types/react-icons/lib/io/email.d.ts b/types/react-icons/lib/io/email.d.ts new file mode 100644 index 0000000000..7323479361 --- /dev/null +++ b/types/react-icons/lib/io/email.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoEmail extends React.Component { } diff --git a/types/react-icons/lib/io/erlenmeyer-flask-bubbles.d.ts b/types/react-icons/lib/io/erlenmeyer-flask-bubbles.d.ts new file mode 100644 index 0000000000..fed2da9f1f --- /dev/null +++ b/types/react-icons/lib/io/erlenmeyer-flask-bubbles.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoErlenmeyerFlaskBubbles extends React.Component { } diff --git a/types/react-icons/lib/io/erlenmeyer-flask.d.ts b/types/react-icons/lib/io/erlenmeyer-flask.d.ts new file mode 100644 index 0000000000..0de1fd7c42 --- /dev/null +++ b/types/react-icons/lib/io/erlenmeyer-flask.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoErlenmeyerFlask extends React.Component { } diff --git a/types/react-icons/lib/io/eye-disabled.d.ts b/types/react-icons/lib/io/eye-disabled.d.ts new file mode 100644 index 0000000000..3bf20def2a --- /dev/null +++ b/types/react-icons/lib/io/eye-disabled.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoEyeDisabled extends React.Component { } diff --git a/types/react-icons/lib/io/eye.d.ts b/types/react-icons/lib/io/eye.d.ts new file mode 100644 index 0000000000..270c59505f --- /dev/null +++ b/types/react-icons/lib/io/eye.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoEye extends React.Component { } diff --git a/types/react-icons/lib/io/female.d.ts b/types/react-icons/lib/io/female.d.ts new file mode 100644 index 0000000000..cb795e884b --- /dev/null +++ b/types/react-icons/lib/io/female.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoFemale extends React.Component { } diff --git a/types/react-icons/lib/io/filing.d.ts b/types/react-icons/lib/io/filing.d.ts new file mode 100644 index 0000000000..ba69d4eb8b --- /dev/null +++ b/types/react-icons/lib/io/filing.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoFiling extends React.Component { } diff --git a/types/react-icons/lib/io/film-marker.d.ts b/types/react-icons/lib/io/film-marker.d.ts new file mode 100644 index 0000000000..4e4a7158f2 --- /dev/null +++ b/types/react-icons/lib/io/film-marker.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoFilmMarker extends React.Component { } diff --git a/types/react-icons/lib/io/fireball.d.ts b/types/react-icons/lib/io/fireball.d.ts new file mode 100644 index 0000000000..e7056b1534 --- /dev/null +++ b/types/react-icons/lib/io/fireball.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoFireball extends React.Component { } diff --git a/types/react-icons/lib/io/flag.d.ts b/types/react-icons/lib/io/flag.d.ts new file mode 100644 index 0000000000..c06630b1a6 --- /dev/null +++ b/types/react-icons/lib/io/flag.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoFlag extends React.Component { } diff --git a/types/react-icons/lib/io/flame.d.ts b/types/react-icons/lib/io/flame.d.ts new file mode 100644 index 0000000000..d49d1bd2db --- /dev/null +++ b/types/react-icons/lib/io/flame.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoFlame extends React.Component { } diff --git a/types/react-icons/lib/io/flash-off.d.ts b/types/react-icons/lib/io/flash-off.d.ts new file mode 100644 index 0000000000..2b12ebe578 --- /dev/null +++ b/types/react-icons/lib/io/flash-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoFlashOff extends React.Component { } diff --git a/types/react-icons/lib/io/flash.d.ts b/types/react-icons/lib/io/flash.d.ts new file mode 100644 index 0000000000..32901f5a9d --- /dev/null +++ b/types/react-icons/lib/io/flash.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoFlash extends React.Component { } diff --git a/types/react-icons/lib/io/folder.d.ts b/types/react-icons/lib/io/folder.d.ts new file mode 100644 index 0000000000..dd14763f19 --- /dev/null +++ b/types/react-icons/lib/io/folder.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoFolder extends React.Component { } diff --git a/types/react-icons/lib/io/fork-repo.d.ts b/types/react-icons/lib/io/fork-repo.d.ts new file mode 100644 index 0000000000..19dfd6a33c --- /dev/null +++ b/types/react-icons/lib/io/fork-repo.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoForkRepo extends React.Component { } diff --git a/types/react-icons/lib/io/fork.d.ts b/types/react-icons/lib/io/fork.d.ts new file mode 100644 index 0000000000..b06aa1f455 --- /dev/null +++ b/types/react-icons/lib/io/fork.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoFork extends React.Component { } diff --git a/types/react-icons/lib/io/forward.d.ts b/types/react-icons/lib/io/forward.d.ts new file mode 100644 index 0000000000..1b36aa1de7 --- /dev/null +++ b/types/react-icons/lib/io/forward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoForward extends React.Component { } diff --git a/types/react-icons/lib/io/funnel.d.ts b/types/react-icons/lib/io/funnel.d.ts new file mode 100644 index 0000000000..be56fcd18c --- /dev/null +++ b/types/react-icons/lib/io/funnel.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoFunnel extends React.Component { } diff --git a/types/react-icons/lib/io/gear-a.d.ts b/types/react-icons/lib/io/gear-a.d.ts new file mode 100644 index 0000000000..b04f6af6c2 --- /dev/null +++ b/types/react-icons/lib/io/gear-a.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoGearA extends React.Component { } diff --git a/types/react-icons/lib/io/gear-b.d.ts b/types/react-icons/lib/io/gear-b.d.ts new file mode 100644 index 0000000000..b580d2bc7c --- /dev/null +++ b/types/react-icons/lib/io/gear-b.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoGearB extends React.Component { } diff --git a/types/react-icons/lib/io/grid.d.ts b/types/react-icons/lib/io/grid.d.ts new file mode 100644 index 0000000000..b30f3a11c2 --- /dev/null +++ b/types/react-icons/lib/io/grid.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoGrid extends React.Component { } diff --git a/types/react-icons/lib/io/hammer.d.ts b/types/react-icons/lib/io/hammer.d.ts new file mode 100644 index 0000000000..4ea6d0c306 --- /dev/null +++ b/types/react-icons/lib/io/hammer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoHammer extends React.Component { } diff --git a/types/react-icons/lib/io/happy-outline.d.ts b/types/react-icons/lib/io/happy-outline.d.ts new file mode 100644 index 0000000000..3207610467 --- /dev/null +++ b/types/react-icons/lib/io/happy-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoHappyOutline extends React.Component { } diff --git a/types/react-icons/lib/io/happy.d.ts b/types/react-icons/lib/io/happy.d.ts new file mode 100644 index 0000000000..f773c9e528 --- /dev/null +++ b/types/react-icons/lib/io/happy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoHappy extends React.Component { } diff --git a/types/react-icons/lib/io/headphone.d.ts b/types/react-icons/lib/io/headphone.d.ts new file mode 100644 index 0000000000..e1ebdc9185 --- /dev/null +++ b/types/react-icons/lib/io/headphone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoHeadphone extends React.Component { } diff --git a/types/react-icons/lib/io/heart-broken.d.ts b/types/react-icons/lib/io/heart-broken.d.ts new file mode 100644 index 0000000000..822a928ac6 --- /dev/null +++ b/types/react-icons/lib/io/heart-broken.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoHeartBroken extends React.Component { } diff --git a/types/react-icons/lib/io/heart.d.ts b/types/react-icons/lib/io/heart.d.ts new file mode 100644 index 0000000000..e543207ae6 --- /dev/null +++ b/types/react-icons/lib/io/heart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoHeart extends React.Component { } diff --git a/types/react-icons/lib/io/help-buoy.d.ts b/types/react-icons/lib/io/help-buoy.d.ts new file mode 100644 index 0000000000..9a84933640 --- /dev/null +++ b/types/react-icons/lib/io/help-buoy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoHelpBuoy extends React.Component { } diff --git a/types/react-icons/lib/io/help-circled.d.ts b/types/react-icons/lib/io/help-circled.d.ts new file mode 100644 index 0000000000..f36a8fd5f8 --- /dev/null +++ b/types/react-icons/lib/io/help-circled.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoHelpCircled extends React.Component { } diff --git a/types/react-icons/lib/io/help.d.ts b/types/react-icons/lib/io/help.d.ts new file mode 100644 index 0000000000..8eee2581c6 --- /dev/null +++ b/types/react-icons/lib/io/help.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoHelp extends React.Component { } diff --git a/types/react-icons/lib/io/home.d.ts b/types/react-icons/lib/io/home.d.ts new file mode 100644 index 0000000000..337bace8fa --- /dev/null +++ b/types/react-icons/lib/io/home.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoHome extends React.Component { } diff --git a/types/react-icons/lib/io/icecream.d.ts b/types/react-icons/lib/io/icecream.d.ts new file mode 100644 index 0000000000..1c3f0bd2af --- /dev/null +++ b/types/react-icons/lib/io/icecream.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIcecream extends React.Component { } diff --git a/types/react-icons/lib/io/image.d.ts b/types/react-icons/lib/io/image.d.ts new file mode 100644 index 0000000000..3fbf7da59a --- /dev/null +++ b/types/react-icons/lib/io/image.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoImage extends React.Component { } diff --git a/types/react-icons/lib/io/images.d.ts b/types/react-icons/lib/io/images.d.ts new file mode 100644 index 0000000000..ae80a81b1e --- /dev/null +++ b/types/react-icons/lib/io/images.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoImages extends React.Component { } diff --git a/types/react-icons/lib/io/index.d.ts b/types/react-icons/lib/io/index.d.ts new file mode 100644 index 0000000000..ef86c25e2b --- /dev/null +++ b/types/react-icons/lib/io/index.d.ts @@ -0,0 +1,733 @@ +export { default as IoAlertCircled } from "./alert-circled"; +export { default as IoAlert } from "./alert"; +export { default as IoAndroidAddCircle } from "./android-add-circle"; +export { default as IoAndroidAdd } from "./android-add"; +export { default as IoAndroidAlarmClock } from "./android-alarm-clock"; +export { default as IoAndroidAlert } from "./android-alert"; +export { default as IoAndroidApps } from "./android-apps"; +export { default as IoAndroidArchive } from "./android-archive"; +export { default as IoAndroidArrowBack } from "./android-arrow-back"; +export { default as IoAndroidArrowDown } from "./android-arrow-down"; +export { default as IoAndroidArrowDropdownCircle } from "./android-arrow-dropdown-circle"; +export { default as IoAndroidArrowDropdown } from "./android-arrow-dropdown"; +export { default as IoAndroidArrowDropleftCircle } from "./android-arrow-dropleft-circle"; +export { default as IoAndroidArrowDropleft } from "./android-arrow-dropleft"; +export { default as IoAndroidArrowDroprightCircle } from "./android-arrow-dropright-circle"; +export { default as IoAndroidArrowDropright } from "./android-arrow-dropright"; +export { default as IoAndroidArrowDropupCircle } from "./android-arrow-dropup-circle"; +export { default as IoAndroidArrowDropup } from "./android-arrow-dropup"; +export { default as IoAndroidArrowForward } from "./android-arrow-forward"; +export { default as IoAndroidArrowUp } from "./android-arrow-up"; +export { default as IoAndroidAttach } from "./android-attach"; +export { default as IoAndroidBar } from "./android-bar"; +export { default as IoAndroidBicycle } from "./android-bicycle"; +export { default as IoAndroidBoat } from "./android-boat"; +export { default as IoAndroidBookmark } from "./android-bookmark"; +export { default as IoAndroidBulb } from "./android-bulb"; +export { default as IoAndroidBus } from "./android-bus"; +export { default as IoAndroidCalendar } from "./android-calendar"; +export { default as IoAndroidCall } from "./android-call"; +export { default as IoAndroidCamera } from "./android-camera"; +export { default as IoAndroidCancel } from "./android-cancel"; +export { default as IoAndroidCar } from "./android-car"; +export { default as IoAndroidCart } from "./android-cart"; +export { default as IoAndroidChat } from "./android-chat"; +export { default as IoAndroidCheckboxBlank } from "./android-checkbox-blank"; +export { default as IoAndroidCheckboxOutlineBlank } from "./android-checkbox-outline-blank"; +export { default as IoAndroidCheckboxOutline } from "./android-checkbox-outline"; +export { default as IoAndroidCheckbox } from "./android-checkbox"; +export { default as IoAndroidCheckmarkCircle } from "./android-checkmark-circle"; +export { default as IoAndroidClipboard } from "./android-clipboard"; +export { default as IoAndroidClose } from "./android-close"; +export { default as IoAndroidCloudCircle } from "./android-cloud-circle"; +export { default as IoAndroidCloudDone } from "./android-cloud-done"; +export { default as IoAndroidCloudOutline } from "./android-cloud-outline"; +export { default as IoAndroidCloud } from "./android-cloud"; +export { default as IoAndroidColorPalette } from "./android-color-palette"; +export { default as IoAndroidCompass } from "./android-compass"; +export { default as IoAndroidContact } from "./android-contact"; +export { default as IoAndroidContacts } from "./android-contacts"; +export { default as IoAndroidContract } from "./android-contract"; +export { default as IoAndroidCreate } from "./android-create"; +export { default as IoAndroidDelete } from "./android-delete"; +export { default as IoAndroidDesktop } from "./android-desktop"; +export { default as IoAndroidDocument } from "./android-document"; +export { default as IoAndroidDoneAll } from "./android-done-all"; +export { default as IoAndroidDone } from "./android-done"; +export { default as IoAndroidDownload } from "./android-download"; +export { default as IoAndroidDrafts } from "./android-drafts"; +export { default as IoAndroidExit } from "./android-exit"; +export { default as IoAndroidExpand } from "./android-expand"; +export { default as IoAndroidFavoriteOutline } from "./android-favorite-outline"; +export { default as IoAndroidFavorite } from "./android-favorite"; +export { default as IoAndroidFilm } from "./android-film"; +export { default as IoAndroidFolderOpen } from "./android-folder-open"; +export { default as IoAndroidFolder } from "./android-folder"; +export { default as IoAndroidFunnel } from "./android-funnel"; +export { default as IoAndroidGlobe } from "./android-globe"; +export { default as IoAndroidHand } from "./android-hand"; +export { default as IoAndroidHangout } from "./android-hangout"; +export { default as IoAndroidHappy } from "./android-happy"; +export { default as IoAndroidHome } from "./android-home"; +export { default as IoAndroidImage } from "./android-image"; +export { default as IoAndroidLaptop } from "./android-laptop"; +export { default as IoAndroidList } from "./android-list"; +export { default as IoAndroidLocate } from "./android-locate"; +export { default as IoAndroidLock } from "./android-lock"; +export { default as IoAndroidMail } from "./android-mail"; +export { default as IoAndroidMap } from "./android-map"; +export { default as IoAndroidMenu } from "./android-menu"; +export { default as IoAndroidMicrophoneOff } from "./android-microphone-off"; +export { default as IoAndroidMicrophone } from "./android-microphone"; +export { default as IoAndroidMoreHorizontal } from "./android-more-horizontal"; +export { default as IoAndroidMoreVertical } from "./android-more-vertical"; +export { default as IoAndroidNavigate } from "./android-navigate"; +export { default as IoAndroidNotificationsNone } from "./android-notifications-none"; +export { default as IoAndroidNotificationsOff } from "./android-notifications-off"; +export { default as IoAndroidNotifications } from "./android-notifications"; +export { default as IoAndroidOpen } from "./android-open"; +export { default as IoAndroidOptions } from "./android-options"; +export { default as IoAndroidPeople } from "./android-people"; +export { default as IoAndroidPersonAdd } from "./android-person-add"; +export { default as IoAndroidPerson } from "./android-person"; +export { default as IoAndroidPhoneLandscape } from "./android-phone-landscape"; +export { default as IoAndroidPhonePortrait } from "./android-phone-portrait"; +export { default as IoAndroidPin } from "./android-pin"; +export { default as IoAndroidPlane } from "./android-plane"; +export { default as IoAndroidPlaystore } from "./android-playstore"; +export { default as IoAndroidPrint } from "./android-print"; +export { default as IoAndroidRadioButtonOff } from "./android-radio-button-off"; +export { default as IoAndroidRadioButtonOn } from "./android-radio-button-on"; +export { default as IoAndroidRefresh } from "./android-refresh"; +export { default as IoAndroidRemoveCircle } from "./android-remove-circle"; +export { default as IoAndroidRemove } from "./android-remove"; +export { default as IoAndroidRestaurant } from "./android-restaurant"; +export { default as IoAndroidSad } from "./android-sad"; +export { default as IoAndroidSearch } from "./android-search"; +export { default as IoAndroidSend } from "./android-send"; +export { default as IoAndroidSettings } from "./android-settings"; +export { default as IoAndroidShareAlt } from "./android-share-alt"; +export { default as IoAndroidShare } from "./android-share"; +export { default as IoAndroidStarHalf } from "./android-star-half"; +export { default as IoAndroidStarOutline } from "./android-star-outline"; +export { default as IoAndroidStar } from "./android-star"; +export { default as IoAndroidStopwatch } from "./android-stopwatch"; +export { default as IoAndroidSubway } from "./android-subway"; +export { default as IoAndroidSunny } from "./android-sunny"; +export { default as IoAndroidSync } from "./android-sync"; +export { default as IoAndroidTextsms } from "./android-textsms"; +export { default as IoAndroidTime } from "./android-time"; +export { default as IoAndroidTrain } from "./android-train"; +export { default as IoAndroidUnlock } from "./android-unlock"; +export { default as IoAndroidUpload } from "./android-upload"; +export { default as IoAndroidVolumeDown } from "./android-volume-down"; +export { default as IoAndroidVolumeMute } from "./android-volume-mute"; +export { default as IoAndroidVolumeOff } from "./android-volume-off"; +export { default as IoAndroidVolumeUp } from "./android-volume-up"; +export { default as IoAndroidWalk } from "./android-walk"; +export { default as IoAndroidWarning } from "./android-warning"; +export { default as IoAndroidWatch } from "./android-watch"; +export { default as IoAndroidWifi } from "./android-wifi"; +export { default as IoAperture } from "./aperture"; +export { default as IoArchive } from "./archive"; +export { default as IoArrowDownA } from "./arrow-down-a"; +export { default as IoArrowDownB } from "./arrow-down-b"; +export { default as IoArrowDownC } from "./arrow-down-c"; +export { default as IoArrowExpand } from "./arrow-expand"; +export { default as IoArrowGraphDownLeft } from "./arrow-graph-down-left"; +export { default as IoArrowGraphDownRight } from "./arrow-graph-down-right"; +export { default as IoArrowGraphUpLeft } from "./arrow-graph-up-left"; +export { default as IoArrowGraphUpRight } from "./arrow-graph-up-right"; +export { default as IoArrowLeftA } from "./arrow-left-a"; +export { default as IoArrowLeftB } from "./arrow-left-b"; +export { default as IoArrowLeftC } from "./arrow-left-c"; +export { default as IoArrowMove } from "./arrow-move"; +export { default as IoArrowResize } from "./arrow-resize"; +export { default as IoArrowReturnLeft } from "./arrow-return-left"; +export { default as IoArrowReturnRight } from "./arrow-return-right"; +export { default as IoArrowRightA } from "./arrow-right-a"; +export { default as IoArrowRightB } from "./arrow-right-b"; +export { default as IoArrowRightC } from "./arrow-right-c"; +export { default as IoArrowShrink } from "./arrow-shrink"; +export { default as IoArrowSwap } from "./arrow-swap"; +export { default as IoArrowUpA } from "./arrow-up-a"; +export { default as IoArrowUpB } from "./arrow-up-b"; +export { default as IoArrowUpC } from "./arrow-up-c"; +export { default as IoAsterisk } from "./asterisk"; +export { default as IoAt } from "./at"; +export { default as IoBackspaceOutline } from "./backspace-outline"; +export { default as IoBackspace } from "./backspace"; +export { default as IoBag } from "./bag"; +export { default as IoBatteryCharging } from "./battery-charging"; +export { default as IoBatteryEmpty } from "./battery-empty"; +export { default as IoBatteryFull } from "./battery-full"; +export { default as IoBatteryHalf } from "./battery-half"; +export { default as IoBatteryLow } from "./battery-low"; +export { default as IoBeaker } from "./beaker"; +export { default as IoBeer } from "./beer"; +export { default as IoBluetooth } from "./bluetooth"; +export { default as IoBonfire } from "./bonfire"; +export { default as IoBookmark } from "./bookmark"; +export { default as IoBowtie } from "./bowtie"; +export { default as IoBriefcase } from "./briefcase"; +export { default as IoBug } from "./bug"; +export { default as IoCalculator } from "./calculator"; +export { default as IoCalendar } from "./calendar"; +export { default as IoCamera } from "./camera"; +export { default as IoCard } from "./card"; +export { default as IoCash } from "./cash"; +export { default as IoChatboxWorking } from "./chatbox-working"; +export { default as IoChatbox } from "./chatbox"; +export { default as IoChatboxes } from "./chatboxes"; +export { default as IoChatbubbleWorking } from "./chatbubble-working"; +export { default as IoChatbubble } from "./chatbubble"; +export { default as IoChatbubbles } from "./chatbubbles"; +export { default as IoCheckmarkCircled } from "./checkmark-circled"; +export { default as IoCheckmarkRound } from "./checkmark-round"; +export { default as IoCheckmark } from "./checkmark"; +export { default as IoChevronDown } from "./chevron-down"; +export { default as IoChevronLeft } from "./chevron-left"; +export { default as IoChevronRight } from "./chevron-right"; +export { default as IoChevronUp } from "./chevron-up"; +export { default as IoClipboard } from "./clipboard"; +export { default as IoClock } from "./clock"; +export { default as IoCloseCircled } from "./close-circled"; +export { default as IoCloseRound } from "./close-round"; +export { default as IoClose } from "./close"; +export { default as IoClosedCaptioning } from "./closed-captioning"; +export { default as IoCloud } from "./cloud"; +export { default as IoCodeDownload } from "./code-download"; +export { default as IoCodeWorking } from "./code-working"; +export { default as IoCode } from "./code"; +export { default as IoCoffee } from "./coffee"; +export { default as IoCompass } from "./compass"; +export { default as IoCompose } from "./compose"; +export { default as IoConnectbars } from "./connectbars"; +export { default as IoContrast } from "./contrast"; +export { default as IoCrop } from "./crop"; +export { default as IoCube } from "./cube"; +export { default as IoDisc } from "./disc"; +export { default as IoDocumentText } from "./document-text"; +export { default as IoDocument } from "./document"; +export { default as IoDrag } from "./drag"; +export { default as IoEarth } from "./earth"; +export { default as IoEasel } from "./easel"; +export { default as IoEdit } from "./edit"; +export { default as IoEgg } from "./egg"; +export { default as IoEject } from "./eject"; +export { default as IoEmailUnread } from "./email-unread"; +export { default as IoEmail } from "./email"; +export { default as IoErlenmeyerFlaskBubbles } from "./erlenmeyer-flask-bubbles"; +export { default as IoErlenmeyerFlask } from "./erlenmeyer-flask"; +export { default as IoEyeDisabled } from "./eye-disabled"; +export { default as IoEye } from "./eye"; +export { default as IoFemale } from "./female"; +export { default as IoFiling } from "./filing"; +export { default as IoFilmMarker } from "./film-marker"; +export { default as IoFireball } from "./fireball"; +export { default as IoFlag } from "./flag"; +export { default as IoFlame } from "./flame"; +export { default as IoFlashOff } from "./flash-off"; +export { default as IoFlash } from "./flash"; +export { default as IoFolder } from "./folder"; +export { default as IoForkRepo } from "./fork-repo"; +export { default as IoFork } from "./fork"; +export { default as IoForward } from "./forward"; +export { default as IoFunnel } from "./funnel"; +export { default as IoGearA } from "./gear-a"; +export { default as IoGearB } from "./gear-b"; +export { default as IoGrid } from "./grid"; +export { default as IoHammer } from "./hammer"; +export { default as IoHappyOutline } from "./happy-outline"; +export { default as IoHappy } from "./happy"; +export { default as IoHeadphone } from "./headphone"; +export { default as IoHeartBroken } from "./heart-broken"; +export { default as IoHeart } from "./heart"; +export { default as IoHelpBuoy } from "./help-buoy"; +export { default as IoHelpCircled } from "./help-circled"; +export { default as IoHelp } from "./help"; +export { default as IoHome } from "./home"; +export { default as IoIcecream } from "./icecream"; +export { default as IoImage } from "./image"; +export { default as IoImages } from "./images"; +export { default as IoInformatcircled } from "./informatcircled"; +export { default as IoInformation } from "./information"; +export { default as IoIonic } from "./ionic"; +export { default as IoIosAlarmOutline } from "./ios-alarm-outline"; +export { default as IoIosAlarm } from "./ios-alarm"; +export { default as IoIosAlbumsOutline } from "./ios-albums-outline"; +export { default as IoIosAlbums } from "./ios-albums"; +export { default as IoIosAmericanfootballOutline } from "./ios-americanfootball-outline"; +export { default as IoIosAmericanfootball } from "./ios-americanfootball"; +export { default as IoIosAnalyticsOutline } from "./ios-analytics-outline"; +export { default as IoIosAnalytics } from "./ios-analytics"; +export { default as IoIosArrowBack } from "./ios-arrow-back"; +export { default as IoIosArrowDown } from "./ios-arrow-down"; +export { default as IoIosArrowForward } from "./ios-arrow-forward"; +export { default as IoIosArrowLeft } from "./ios-arrow-left"; +export { default as IoIosArrowRight } from "./ios-arrow-right"; +export { default as IoIosArrowThinDown } from "./ios-arrow-thin-down"; +export { default as IoIosArrowThinLeft } from "./ios-arrow-thin-left"; +export { default as IoIosArrowThinRight } from "./ios-arrow-thin-right"; +export { default as IoIosArrowThinUp } from "./ios-arrow-thin-up"; +export { default as IoIosArrowUp } from "./ios-arrow-up"; +export { default as IoIosAtOutline } from "./ios-at-outline"; +export { default as IoIosAt } from "./ios-at"; +export { default as IoIosBarcodeOutline } from "./ios-barcode-outline"; +export { default as IoIosBarcode } from "./ios-barcode"; +export { default as IoIosBaseballOutline } from "./ios-baseball-outline"; +export { default as IoIosBaseball } from "./ios-baseball"; +export { default as IoIosBasketballOutline } from "./ios-basketball-outline"; +export { default as IoIosBasketball } from "./ios-basketball"; +export { default as IoIosBellOutline } from "./ios-bell-outline"; +export { default as IoIosBell } from "./ios-bell"; +export { default as IoIosBodyOutline } from "./ios-body-outline"; +export { default as IoIosBody } from "./ios-body"; +export { default as IoIosBoltOutline } from "./ios-bolt-outline"; +export { default as IoIosBolt } from "./ios-bolt"; +export { default as IoIosBookOutline } from "./ios-book-outline"; +export { default as IoIosBook } from "./ios-book"; +export { default as IoIosBookmarksOutline } from "./ios-bookmarks-outline"; +export { default as IoIosBookmarks } from "./ios-bookmarks"; +export { default as IoIosBoxOutline } from "./ios-box-outline"; +export { default as IoIosBox } from "./ios-box"; +export { default as IoIosBriefcaseOutline } from "./ios-briefcase-outline"; +export { default as IoIosBriefcase } from "./ios-briefcase"; +export { default as IoIosBrowsersOutline } from "./ios-browsers-outline"; +export { default as IoIosBrowsers } from "./ios-browsers"; +export { default as IoIosCalculatorOutline } from "./ios-calculator-outline"; +export { default as IoIosCalculator } from "./ios-calculator"; +export { default as IoIosCalendarOutline } from "./ios-calendar-outline"; +export { default as IoIosCalendar } from "./ios-calendar"; +export { default as IoIosCameraOutline } from "./ios-camera-outline"; +export { default as IoIosCamera } from "./ios-camera"; +export { default as IoIosCartOutline } from "./ios-cart-outline"; +export { default as IoIosCart } from "./ios-cart"; +export { default as IoIosChatboxesOutline } from "./ios-chatboxes-outline"; +export { default as IoIosChatboxes } from "./ios-chatboxes"; +export { default as IoIosChatbubbleOutline } from "./ios-chatbubble-outline"; +export { default as IoIosChatbubble } from "./ios-chatbubble"; +export { default as IoIosCheckmarkEmpty } from "./ios-checkmark-empty"; +export { default as IoIosCheckmarkOutline } from "./ios-checkmark-outline"; +export { default as IoIosCheckmark } from "./ios-checkmark"; +export { default as IoIosCircleFilled } from "./ios-circle-filled"; +export { default as IoIosCircleOutline } from "./ios-circle-outline"; +export { default as IoIosClockOutline } from "./ios-clock-outline"; +export { default as IoIosClock } from "./ios-clock"; +export { default as IoIosCloseEmpty } from "./ios-close-empty"; +export { default as IoIosCloseOutline } from "./ios-close-outline"; +export { default as IoIosClose } from "./ios-close"; +export { default as IoIosCloudDownloadOutline } from "./ios-cloud-download-outline"; +export { default as IoIosCloudDownload } from "./ios-cloud-download"; +export { default as IoIosCloudOutline } from "./ios-cloud-outline"; +export { default as IoIosCloudUploadOutline } from "./ios-cloud-upload-outline"; +export { default as IoIosCloudUpload } from "./ios-cloud-upload"; +export { default as IoIosCloud } from "./ios-cloud"; +export { default as IoIosCloudyNightOutline } from "./ios-cloudy-night-outline"; +export { default as IoIosCloudyNight } from "./ios-cloudy-night"; +export { default as IoIosCloudyOutline } from "./ios-cloudy-outline"; +export { default as IoIosCloudy } from "./ios-cloudy"; +export { default as IoIosCogOutline } from "./ios-cog-outline"; +export { default as IoIosCog } from "./ios-cog"; +export { default as IoIosColorFilterOutline } from "./ios-color-filter-outline"; +export { default as IoIosColorFilter } from "./ios-color-filter"; +export { default as IoIosColorWandOutline } from "./ios-color-wand-outline"; +export { default as IoIosColorWand } from "./ios-color-wand"; +export { default as IoIosComposeOutline } from "./ios-compose-outline"; +export { default as IoIosCompose } from "./ios-compose"; +export { default as IoIosContactOutline } from "./ios-contact-outline"; +export { default as IoIosContact } from "./ios-contact"; +export { default as IoIosCopyOutline } from "./ios-copy-outline"; +export { default as IoIosCopy } from "./ios-copy"; +export { default as IoIosCropStrong } from "./ios-crop-strong"; +export { default as IoIosCrop } from "./ios-crop"; +export { default as IoIosDownloadOutline } from "./ios-download-outline"; +export { default as IoIosDownload } from "./ios-download"; +export { default as IoIosDrag } from "./ios-drag"; +export { default as IoIosEmailOutline } from "./ios-email-outline"; +export { default as IoIosEmail } from "./ios-email"; +export { default as IoIosEyeOutline } from "./ios-eye-outline"; +export { default as IoIosEye } from "./ios-eye"; +export { default as IoIosFastforwardOutline } from "./ios-fastforward-outline"; +export { default as IoIosFastforward } from "./ios-fastforward"; +export { default as IoIosFilingOutline } from "./ios-filing-outline"; +export { default as IoIosFiling } from "./ios-filing"; +export { default as IoIosFilmOutline } from "./ios-film-outline"; +export { default as IoIosFilm } from "./ios-film"; +export { default as IoIosFlagOutline } from "./ios-flag-outline"; +export { default as IoIosFlag } from "./ios-flag"; +export { default as IoIosFlameOutline } from "./ios-flame-outline"; +export { default as IoIosFlame } from "./ios-flame"; +export { default as IoIosFlaskOutline } from "./ios-flask-outline"; +export { default as IoIosFlask } from "./ios-flask"; +export { default as IoIosFlowerOutline } from "./ios-flower-outline"; +export { default as IoIosFlower } from "./ios-flower"; +export { default as IoIosFolderOutline } from "./ios-folder-outline"; +export { default as IoIosFolder } from "./ios-folder"; +export { default as IoIosFootballOutline } from "./ios-football-outline"; +export { default as IoIosFootball } from "./ios-football"; +export { default as IoIosGameControllerAOutline } from "./ios-game-controller-a-outline"; +export { default as IoIosGameControllerA } from "./ios-game-controller-a"; +export { default as IoIosGameControllerBOutline } from "./ios-game-controller-b-outline"; +export { default as IoIosGameControllerB } from "./ios-game-controller-b"; +export { default as IoIosGearOutline } from "./ios-gear-outline"; +export { default as IoIosGear } from "./ios-gear"; +export { default as IoIosGlassesOutline } from "./ios-glasses-outline"; +export { default as IoIosGlasses } from "./ios-glasses"; +export { default as IoIosGridViewOutline } from "./ios-grid-view-outline"; +export { default as IoIosGridView } from "./ios-grid-view"; +export { default as IoIosHeartOutline } from "./ios-heart-outline"; +export { default as IoIosHeart } from "./ios-heart"; +export { default as IoIosHelpEmpty } from "./ios-help-empty"; +export { default as IoIosHelpOutline } from "./ios-help-outline"; +export { default as IoIosHelp } from "./ios-help"; +export { default as IoIosHomeOutline } from "./ios-home-outline"; +export { default as IoIosHome } from "./ios-home"; +export { default as IoIosInfiniteOutline } from "./ios-infinite-outline"; +export { default as IoIosInfinite } from "./ios-infinite"; +export { default as IoIosInformatempty } from "./ios-informatempty"; +export { default as IoIosInformation } from "./ios-information"; +export { default as IoIosInformatoutline } from "./ios-informatoutline"; +export { default as IoIosIonicOutline } from "./ios-ionic-outline"; +export { default as IoIosKeypadOutline } from "./ios-keypad-outline"; +export { default as IoIosKeypad } from "./ios-keypad"; +export { default as IoIosLightbulbOutline } from "./ios-lightbulb-outline"; +export { default as IoIosLightbulb } from "./ios-lightbulb"; +export { default as IoIosListOutline } from "./ios-list-outline"; +export { default as IoIosList } from "./ios-list"; +export { default as IoIosLocation } from "./ios-location"; +export { default as IoIosLocatoutline } from "./ios-locatoutline"; +export { default as IoIosLockedOutline } from "./ios-locked-outline"; +export { default as IoIosLocked } from "./ios-locked"; +export { default as IoIosLoopStrong } from "./ios-loop-strong"; +export { default as IoIosLoop } from "./ios-loop"; +export { default as IoIosMedicalOutline } from "./ios-medical-outline"; +export { default as IoIosMedical } from "./ios-medical"; +export { default as IoIosMedkitOutline } from "./ios-medkit-outline"; +export { default as IoIosMedkit } from "./ios-medkit"; +export { default as IoIosMicOff } from "./ios-mic-off"; +export { default as IoIosMicOutline } from "./ios-mic-outline"; +export { default as IoIosMic } from "./ios-mic"; +export { default as IoIosMinusEmpty } from "./ios-minus-empty"; +export { default as IoIosMinusOutline } from "./ios-minus-outline"; +export { default as IoIosMinus } from "./ios-minus"; +export { default as IoIosMonitorOutline } from "./ios-monitor-outline"; +export { default as IoIosMonitor } from "./ios-monitor"; +export { default as IoIosMoonOutline } from "./ios-moon-outline"; +export { default as IoIosMoon } from "./ios-moon"; +export { default as IoIosMoreOutline } from "./ios-more-outline"; +export { default as IoIosMore } from "./ios-more"; +export { default as IoIosMusicalNote } from "./ios-musical-note"; +export { default as IoIosMusicalNotes } from "./ios-musical-notes"; +export { default as IoIosNavigateOutline } from "./ios-navigate-outline"; +export { default as IoIosNavigate } from "./ios-navigate"; +export { default as IoIosNutrition } from "./ios-nutrition"; +export { default as IoIosNutritoutline } from "./ios-nutritoutline"; +export { default as IoIosPaperOutline } from "./ios-paper-outline"; +export { default as IoIosPaper } from "./ios-paper"; +export { default as IoIosPaperplaneOutline } from "./ios-paperplane-outline"; +export { default as IoIosPaperplane } from "./ios-paperplane"; +export { default as IoIosPartlysunnyOutline } from "./ios-partlysunny-outline"; +export { default as IoIosPartlysunny } from "./ios-partlysunny"; +export { default as IoIosPauseOutline } from "./ios-pause-outline"; +export { default as IoIosPause } from "./ios-pause"; +export { default as IoIosPawOutline } from "./ios-paw-outline"; +export { default as IoIosPaw } from "./ios-paw"; +export { default as IoIosPeopleOutline } from "./ios-people-outline"; +export { default as IoIosPeople } from "./ios-people"; +export { default as IoIosPersonOutline } from "./ios-person-outline"; +export { default as IoIosPerson } from "./ios-person"; +export { default as IoIosPersonaddOutline } from "./ios-personadd-outline"; +export { default as IoIosPersonadd } from "./ios-personadd"; +export { default as IoIosPhotosOutline } from "./ios-photos-outline"; +export { default as IoIosPhotos } from "./ios-photos"; +export { default as IoIosPieOutline } from "./ios-pie-outline"; +export { default as IoIosPie } from "./ios-pie"; +export { default as IoIosPintOutline } from "./ios-pint-outline"; +export { default as IoIosPint } from "./ios-pint"; +export { default as IoIosPlayOutline } from "./ios-play-outline"; +export { default as IoIosPlay } from "./ios-play"; +export { default as IoIosPlusEmpty } from "./ios-plus-empty"; +export { default as IoIosPlusOutline } from "./ios-plus-outline"; +export { default as IoIosPlus } from "./ios-plus"; +export { default as IoIosPricetagOutline } from "./ios-pricetag-outline"; +export { default as IoIosPricetag } from "./ios-pricetag"; +export { default as IoIosPricetagsOutline } from "./ios-pricetags-outline"; +export { default as IoIosPricetags } from "./ios-pricetags"; +export { default as IoIosPrinterOutline } from "./ios-printer-outline"; +export { default as IoIosPrinter } from "./ios-printer"; +export { default as IoIosPulseStrong } from "./ios-pulse-strong"; +export { default as IoIosPulse } from "./ios-pulse"; +export { default as IoIosRainyOutline } from "./ios-rainy-outline"; +export { default as IoIosRainy } from "./ios-rainy"; +export { default as IoIosRecordingOutline } from "./ios-recording-outline"; +export { default as IoIosRecording } from "./ios-recording"; +export { default as IoIosRedoOutline } from "./ios-redo-outline"; +export { default as IoIosRedo } from "./ios-redo"; +export { default as IoIosRefreshEmpty } from "./ios-refresh-empty"; +export { default as IoIosRefreshOutline } from "./ios-refresh-outline"; +export { default as IoIosRefresh } from "./ios-refresh"; +export { default as IoIosReload } from "./ios-reload"; +export { default as IoIosReverseCameraOutline } from "./ios-reverse-camera-outline"; +export { default as IoIosReverseCamera } from "./ios-reverse-camera"; +export { default as IoIosRewindOutline } from "./ios-rewind-outline"; +export { default as IoIosRewind } from "./ios-rewind"; +export { default as IoIosRoseOutline } from "./ios-rose-outline"; +export { default as IoIosRose } from "./ios-rose"; +export { default as IoIosSearchStrong } from "./ios-search-strong"; +export { default as IoIosSearch } from "./ios-search"; +export { default as IoIosSettingsStrong } from "./ios-settings-strong"; +export { default as IoIosSettings } from "./ios-settings"; +export { default as IoIosShuffleStrong } from "./ios-shuffle-strong"; +export { default as IoIosShuffle } from "./ios-shuffle"; +export { default as IoIosSkipbackwardOutline } from "./ios-skipbackward-outline"; +export { default as IoIosSkipbackward } from "./ios-skipbackward"; +export { default as IoIosSkipforwardOutline } from "./ios-skipforward-outline"; +export { default as IoIosSkipforward } from "./ios-skipforward"; +export { default as IoIosSnowy } from "./ios-snowy"; +export { default as IoIosSpeedometerOutline } from "./ios-speedometer-outline"; +export { default as IoIosSpeedometer } from "./ios-speedometer"; +export { default as IoIosStarHalf } from "./ios-star-half"; +export { default as IoIosStarOutline } from "./ios-star-outline"; +export { default as IoIosStar } from "./ios-star"; +export { default as IoIosStopwatchOutline } from "./ios-stopwatch-outline"; +export { default as IoIosStopwatch } from "./ios-stopwatch"; +export { default as IoIosSunnyOutline } from "./ios-sunny-outline"; +export { default as IoIosSunny } from "./ios-sunny"; +export { default as IoIosTelephoneOutline } from "./ios-telephone-outline"; +export { default as IoIosTelephone } from "./ios-telephone"; +export { default as IoIosTennisballOutline } from "./ios-tennisball-outline"; +export { default as IoIosTennisball } from "./ios-tennisball"; +export { default as IoIosThunderstormOutline } from "./ios-thunderstorm-outline"; +export { default as IoIosThunderstorm } from "./ios-thunderstorm"; +export { default as IoIosTimeOutline } from "./ios-time-outline"; +export { default as IoIosTime } from "./ios-time"; +export { default as IoIosTimerOutline } from "./ios-timer-outline"; +export { default as IoIosTimer } from "./ios-timer"; +export { default as IoIosToggleOutline } from "./ios-toggle-outline"; +export { default as IoIosToggle } from "./ios-toggle"; +export { default as IoIosTrashOutline } from "./ios-trash-outline"; +export { default as IoIosTrash } from "./ios-trash"; +export { default as IoIosUndoOutline } from "./ios-undo-outline"; +export { default as IoIosUndo } from "./ios-undo"; +export { default as IoIosUnlockedOutline } from "./ios-unlocked-outline"; +export { default as IoIosUnlocked } from "./ios-unlocked"; +export { default as IoIosUploadOutline } from "./ios-upload-outline"; +export { default as IoIosUpload } from "./ios-upload"; +export { default as IoIosVideocamOutline } from "./ios-videocam-outline"; +export { default as IoIosVideocam } from "./ios-videocam"; +export { default as IoIosVolumeHigh } from "./ios-volume-high"; +export { default as IoIosVolumeLow } from "./ios-volume-low"; +export { default as IoIosWineglassOutline } from "./ios-wineglass-outline"; +export { default as IoIosWineglass } from "./ios-wineglass"; +export { default as IoIosWorldOutline } from "./ios-world-outline"; +export { default as IoIosWorld } from "./ios-world"; +export { default as IoIpad } from "./ipad"; +export { default as IoIphone } from "./iphone"; +export { default as IoIpod } from "./ipod"; +export { default as IoJet } from "./jet"; +export { default as IoKey } from "./key"; +export { default as IoKnife } from "./knife"; +export { default as IoLaptop } from "./laptop"; +export { default as IoLeaf } from "./leaf"; +export { default as IoLevels } from "./levels"; +export { default as IoLightbulb } from "./lightbulb"; +export { default as IoLink } from "./link"; +export { default as IoLoadA } from "./load-a"; +export { default as IoLoadB } from "./load-b"; +export { default as IoLoadC } from "./load-c"; +export { default as IoLoadD } from "./load-d"; +export { default as IoLocation } from "./location"; +export { default as IoLockCombination } from "./lock-combination"; +export { default as IoLocked } from "./locked"; +export { default as IoLogIn } from "./log-in"; +export { default as IoLogOut } from "./log-out"; +export { default as IoLoop } from "./loop"; +export { default as IoMagnet } from "./magnet"; +export { default as IoMale } from "./male"; +export { default as IoMan } from "./man"; +export { default as IoMap } from "./map"; +export { default as IoMedkit } from "./medkit"; +export { default as IoMerge } from "./merge"; +export { default as IoMicA } from "./mic-a"; +export { default as IoMicB } from "./mic-b"; +export { default as IoMicC } from "./mic-c"; +export { default as IoMinusCircled } from "./minus-circled"; +export { default as IoMinusRound } from "./minus-round"; +export { default as IoMinus } from "./minus"; +export { default as IoModelS } from "./model-s"; +export { default as IoMonitor } from "./monitor"; +export { default as IoMore } from "./more"; +export { default as IoMouse } from "./mouse"; +export { default as IoMusicNote } from "./music-note"; +export { default as IoNaviconRound } from "./navicon-round"; +export { default as IoNavicon } from "./navicon"; +export { default as IoNavigate } from "./navigate"; +export { default as IoNetwork } from "./network"; +export { default as IoNoSmoking } from "./no-smoking"; +export { default as IoNuclear } from "./nuclear"; +export { default as IoOutlet } from "./outlet"; +export { default as IoPaintbrush } from "./paintbrush"; +export { default as IoPaintbucket } from "./paintbucket"; +export { default as IoPaperAirplane } from "./paper-airplane"; +export { default as IoPaperclip } from "./paperclip"; +export { default as IoPause } from "./pause"; +export { default as IoPersonAdd } from "./person-add"; +export { default as IoPersonStalker } from "./person-stalker"; +export { default as IoPerson } from "./person"; +export { default as IoPieGraph } from "./pie-graph"; +export { default as IoPin } from "./pin"; +export { default as IoPinpoint } from "./pinpoint"; +export { default as IoPizza } from "./pizza"; +export { default as IoPlane } from "./plane"; +export { default as IoPlanet } from "./planet"; +export { default as IoPlay } from "./play"; +export { default as IoPlaystation } from "./playstation"; +export { default as IoPlusCircled } from "./plus-circled"; +export { default as IoPlusRound } from "./plus-round"; +export { default as IoPlus } from "./plus"; +export { default as IoPodium } from "./podium"; +export { default as IoPound } from "./pound"; +export { default as IoPower } from "./power"; +export { default as IoPricetag } from "./pricetag"; +export { default as IoPricetags } from "./pricetags"; +export { default as IoPrinter } from "./printer"; +export { default as IoPullRequest } from "./pull-request"; +export { default as IoQrScanner } from "./qr-scanner"; +export { default as IoQuote } from "./quote"; +export { default as IoRadioWaves } from "./radio-waves"; +export { default as IoRecord } from "./record"; +export { default as IoRefresh } from "./refresh"; +export { default as IoReplyAll } from "./reply-all"; +export { default as IoReply } from "./reply"; +export { default as IoRibbonA } from "./ribbon-a"; +export { default as IoRibbonB } from "./ribbon-b"; +export { default as IoSadOutline } from "./sad-outline"; +export { default as IoSad } from "./sad"; +export { default as IoScissors } from "./scissors"; +export { default as IoSearch } from "./search"; +export { default as IoSettings } from "./settings"; +export { default as IoShare } from "./share"; +export { default as IoShuffle } from "./shuffle"; +export { default as IoSkipBackward } from "./skip-backward"; +export { default as IoSkipForward } from "./skip-forward"; +export { default as IoSocialAndroidOutline } from "./social-android-outline"; +export { default as IoSocialAndroid } from "./social-android"; +export { default as IoSocialAngularOutline } from "./social-angular-outline"; +export { default as IoSocialAngular } from "./social-angular"; +export { default as IoSocialAppleOutline } from "./social-apple-outline"; +export { default as IoSocialApple } from "./social-apple"; +export { default as IoSocialBitcoinOutline } from "./social-bitcoin-outline"; +export { default as IoSocialBitcoin } from "./social-bitcoin"; +export { default as IoSocialBufferOutline } from "./social-buffer-outline"; +export { default as IoSocialBuffer } from "./social-buffer"; +export { default as IoSocialChromeOutline } from "./social-chrome-outline"; +export { default as IoSocialChrome } from "./social-chrome"; +export { default as IoSocialCodepenOutline } from "./social-codepen-outline"; +export { default as IoSocialCodepen } from "./social-codepen"; +export { default as IoSocialCss3Outline } from "./social-css3-outline"; +export { default as IoSocialCss3 } from "./social-css3"; +export { default as IoSocialDesignernewsOutline } from "./social-designernews-outline"; +export { default as IoSocialDesignernews } from "./social-designernews"; +export { default as IoSocialDribbbleOutline } from "./social-dribbble-outline"; +export { default as IoSocialDribbble } from "./social-dribbble"; +export { default as IoSocialDropboxOutline } from "./social-dropbox-outline"; +export { default as IoSocialDropbox } from "./social-dropbox"; +export { default as IoSocialEuroOutline } from "./social-euro-outline"; +export { default as IoSocialEuro } from "./social-euro"; +export { default as IoSocialFacebookOutline } from "./social-facebook-outline"; +export { default as IoSocialFacebook } from "./social-facebook"; +export { default as IoSocialFoursquareOutline } from "./social-foursquare-outline"; +export { default as IoSocialFoursquare } from "./social-foursquare"; +export { default as IoSocialFreebsdDevil } from "./social-freebsd-devil"; +export { default as IoSocialGithubOutline } from "./social-github-outline"; +export { default as IoSocialGithub } from "./social-github"; +export { default as IoSocialGoogleOutline } from "./social-google-outline"; +export { default as IoSocialGoogle } from "./social-google"; +export { default as IoSocialGoogleplusOutline } from "./social-googleplus-outline"; +export { default as IoSocialGoogleplus } from "./social-googleplus"; +export { default as IoSocialHackernewsOutline } from "./social-hackernews-outline"; +export { default as IoSocialHackernews } from "./social-hackernews"; +export { default as IoSocialHtml5Outline } from "./social-html5-outline"; +export { default as IoSocialHtml5 } from "./social-html5"; +export { default as IoSocialInstagramOutline } from "./social-instagram-outline"; +export { default as IoSocialInstagram } from "./social-instagram"; +export { default as IoSocialJavascriptOutline } from "./social-javascript-outline"; +export { default as IoSocialJavascript } from "./social-javascript"; +export { default as IoSocialLinkedinOutline } from "./social-linkedin-outline"; +export { default as IoSocialLinkedin } from "./social-linkedin"; +export { default as IoSocialMarkdown } from "./social-markdown"; +export { default as IoSocialNodejs } from "./social-nodejs"; +export { default as IoSocialOctocat } from "./social-octocat"; +export { default as IoSocialPinterestOutline } from "./social-pinterest-outline"; +export { default as IoSocialPinterest } from "./social-pinterest"; +export { default as IoSocialPython } from "./social-python"; +export { default as IoSocialRedditOutline } from "./social-reddit-outline"; +export { default as IoSocialReddit } from "./social-reddit"; +export { default as IoSocialRssOutline } from "./social-rss-outline"; +export { default as IoSocialRss } from "./social-rss"; +export { default as IoSocialSass } from "./social-sass"; +export { default as IoSocialSkypeOutline } from "./social-skype-outline"; +export { default as IoSocialSkype } from "./social-skype"; +export { default as IoSocialSnapchatOutline } from "./social-snapchat-outline"; +export { default as IoSocialSnapchat } from "./social-snapchat"; +export { default as IoSocialTumblrOutline } from "./social-tumblr-outline"; +export { default as IoSocialTumblr } from "./social-tumblr"; +export { default as IoSocialTux } from "./social-tux"; +export { default as IoSocialTwitchOutline } from "./social-twitch-outline"; +export { default as IoSocialTwitch } from "./social-twitch"; +export { default as IoSocialTwitterOutline } from "./social-twitter-outline"; +export { default as IoSocialTwitter } from "./social-twitter"; +export { default as IoSocialUsdOutline } from "./social-usd-outline"; +export { default as IoSocialUsd } from "./social-usd"; +export { default as IoSocialVimeoOutline } from "./social-vimeo-outline"; +export { default as IoSocialVimeo } from "./social-vimeo"; +export { default as IoSocialWhatsappOutline } from "./social-whatsapp-outline"; +export { default as IoSocialWhatsapp } from "./social-whatsapp"; +export { default as IoSocialWindowsOutline } from "./social-windows-outline"; +export { default as IoSocialWindows } from "./social-windows"; +export { default as IoSocialWordpressOutline } from "./social-wordpress-outline"; +export { default as IoSocialWordpress } from "./social-wordpress"; +export { default as IoSocialYahooOutline } from "./social-yahoo-outline"; +export { default as IoSocialYahoo } from "./social-yahoo"; +export { default as IoSocialYenOutline } from "./social-yen-outline"; +export { default as IoSocialYen } from "./social-yen"; +export { default as IoSocialYoutubeOutline } from "./social-youtube-outline"; +export { default as IoSocialYoutube } from "./social-youtube"; +export { default as IoSoupCanOutline } from "./soup-can-outline"; +export { default as IoSoupCan } from "./soup-can"; +export { default as IoSpeakerphone } from "./speakerphone"; +export { default as IoSpeedometer } from "./speedometer"; +export { default as IoSpoon } from "./spoon"; +export { default as IoStar } from "./star"; +export { default as IoStatsBars } from "./stats-bars"; +export { default as IoSteam } from "./steam"; +export { default as IoStop } from "./stop"; +export { default as IoThermometer } from "./thermometer"; +export { default as IoThumbsdown } from "./thumbsdown"; +export { default as IoThumbsup } from "./thumbsup"; +export { default as IoToggleFilled } from "./toggle-filled"; +export { default as IoToggle } from "./toggle"; +export { default as IoTransgender } from "./transgender"; +export { default as IoTrashA } from "./trash-a"; +export { default as IoTrashB } from "./trash-b"; +export { default as IoTrophy } from "./trophy"; +export { default as IoTshirtOutline } from "./tshirt-outline"; +export { default as IoTshirt } from "./tshirt"; +export { default as IoUmbrella } from "./umbrella"; +export { default as IoUniversity } from "./university"; +export { default as IoUnlocked } from "./unlocked"; +export { default as IoUpload } from "./upload"; +export { default as IoUsb } from "./usb"; +export { default as IoVideocamera } from "./videocamera"; +export { default as IoVolumeHigh } from "./volume-high"; +export { default as IoVolumeLow } from "./volume-low"; +export { default as IoVolumeMedium } from "./volume-medium"; +export { default as IoVolumeMute } from "./volume-mute"; +export { default as IoWand } from "./wand"; +export { default as IoWaterdrop } from "./waterdrop"; +export { default as IoWifi } from "./wifi"; +export { default as IoWineglass } from "./wineglass"; +export { default as IoWoman } from "./woman"; +export { default as IoWrench } from "./wrench"; +export { default as IoXbox } from "./xbox"; diff --git a/types/react-icons/lib/io/informatcircled.d.ts b/types/react-icons/lib/io/informatcircled.d.ts new file mode 100644 index 0000000000..2ef20abca7 --- /dev/null +++ b/types/react-icons/lib/io/informatcircled.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoInformatcircled extends React.Component { } diff --git a/types/react-icons/lib/io/information.d.ts b/types/react-icons/lib/io/information.d.ts new file mode 100644 index 0000000000..02652a360f --- /dev/null +++ b/types/react-icons/lib/io/information.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoInformation extends React.Component { } diff --git a/types/react-icons/lib/io/ionic.d.ts b/types/react-icons/lib/io/ionic.d.ts new file mode 100644 index 0000000000..9e19c402cf --- /dev/null +++ b/types/react-icons/lib/io/ionic.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIonic extends React.Component { } diff --git a/types/react-icons/lib/io/ios-alarm-outline.d.ts b/types/react-icons/lib/io/ios-alarm-outline.d.ts new file mode 100644 index 0000000000..c211ebccee --- /dev/null +++ b/types/react-icons/lib/io/ios-alarm-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosAlarmOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-alarm.d.ts b/types/react-icons/lib/io/ios-alarm.d.ts new file mode 100644 index 0000000000..c61987318d --- /dev/null +++ b/types/react-icons/lib/io/ios-alarm.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosAlarm extends React.Component { } diff --git a/types/react-icons/lib/io/ios-albums-outline.d.ts b/types/react-icons/lib/io/ios-albums-outline.d.ts new file mode 100644 index 0000000000..48e06ad4b8 --- /dev/null +++ b/types/react-icons/lib/io/ios-albums-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosAlbumsOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-albums.d.ts b/types/react-icons/lib/io/ios-albums.d.ts new file mode 100644 index 0000000000..be7c86317a --- /dev/null +++ b/types/react-icons/lib/io/ios-albums.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosAlbums extends React.Component { } diff --git a/types/react-icons/lib/io/ios-americanfootball-outline.d.ts b/types/react-icons/lib/io/ios-americanfootball-outline.d.ts new file mode 100644 index 0000000000..d7041c17d3 --- /dev/null +++ b/types/react-icons/lib/io/ios-americanfootball-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosAmericanfootballOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-americanfootball.d.ts b/types/react-icons/lib/io/ios-americanfootball.d.ts new file mode 100644 index 0000000000..4af77520ff --- /dev/null +++ b/types/react-icons/lib/io/ios-americanfootball.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosAmericanfootball extends React.Component { } diff --git a/types/react-icons/lib/io/ios-analytics-outline.d.ts b/types/react-icons/lib/io/ios-analytics-outline.d.ts new file mode 100644 index 0000000000..6192de6c58 --- /dev/null +++ b/types/react-icons/lib/io/ios-analytics-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosAnalyticsOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-analytics.d.ts b/types/react-icons/lib/io/ios-analytics.d.ts new file mode 100644 index 0000000000..9f3d9e110e --- /dev/null +++ b/types/react-icons/lib/io/ios-analytics.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosAnalytics extends React.Component { } diff --git a/types/react-icons/lib/io/ios-arrow-back.d.ts b/types/react-icons/lib/io/ios-arrow-back.d.ts new file mode 100644 index 0000000000..1466e59a6d --- /dev/null +++ b/types/react-icons/lib/io/ios-arrow-back.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosArrowBack extends React.Component { } diff --git a/types/react-icons/lib/io/ios-arrow-down.d.ts b/types/react-icons/lib/io/ios-arrow-down.d.ts new file mode 100644 index 0000000000..91773f927b --- /dev/null +++ b/types/react-icons/lib/io/ios-arrow-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosArrowDown extends React.Component { } diff --git a/types/react-icons/lib/io/ios-arrow-forward.d.ts b/types/react-icons/lib/io/ios-arrow-forward.d.ts new file mode 100644 index 0000000000..a2bf7fe213 --- /dev/null +++ b/types/react-icons/lib/io/ios-arrow-forward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosArrowForward extends React.Component { } diff --git a/types/react-icons/lib/io/ios-arrow-left.d.ts b/types/react-icons/lib/io/ios-arrow-left.d.ts new file mode 100644 index 0000000000..0588edeed0 --- /dev/null +++ b/types/react-icons/lib/io/ios-arrow-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosArrowLeft extends React.Component { } diff --git a/types/react-icons/lib/io/ios-arrow-right.d.ts b/types/react-icons/lib/io/ios-arrow-right.d.ts new file mode 100644 index 0000000000..5642202b5c --- /dev/null +++ b/types/react-icons/lib/io/ios-arrow-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosArrowRight extends React.Component { } diff --git a/types/react-icons/lib/io/ios-arrow-thin-down.d.ts b/types/react-icons/lib/io/ios-arrow-thin-down.d.ts new file mode 100644 index 0000000000..183b547848 --- /dev/null +++ b/types/react-icons/lib/io/ios-arrow-thin-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosArrowThinDown extends React.Component { } diff --git a/types/react-icons/lib/io/ios-arrow-thin-left.d.ts b/types/react-icons/lib/io/ios-arrow-thin-left.d.ts new file mode 100644 index 0000000000..4fea91fe45 --- /dev/null +++ b/types/react-icons/lib/io/ios-arrow-thin-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosArrowThinLeft extends React.Component { } diff --git a/types/react-icons/lib/io/ios-arrow-thin-right.d.ts b/types/react-icons/lib/io/ios-arrow-thin-right.d.ts new file mode 100644 index 0000000000..5e70abd099 --- /dev/null +++ b/types/react-icons/lib/io/ios-arrow-thin-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosArrowThinRight extends React.Component { } diff --git a/types/react-icons/lib/io/ios-arrow-thin-up.d.ts b/types/react-icons/lib/io/ios-arrow-thin-up.d.ts new file mode 100644 index 0000000000..412e0b53a2 --- /dev/null +++ b/types/react-icons/lib/io/ios-arrow-thin-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosArrowThinUp extends React.Component { } diff --git a/types/react-icons/lib/io/ios-arrow-up.d.ts b/types/react-icons/lib/io/ios-arrow-up.d.ts new file mode 100644 index 0000000000..2adf431795 --- /dev/null +++ b/types/react-icons/lib/io/ios-arrow-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosArrowUp extends React.Component { } diff --git a/types/react-icons/lib/io/ios-at-outline.d.ts b/types/react-icons/lib/io/ios-at-outline.d.ts new file mode 100644 index 0000000000..7d20c06912 --- /dev/null +++ b/types/react-icons/lib/io/ios-at-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosAtOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-at.d.ts b/types/react-icons/lib/io/ios-at.d.ts new file mode 100644 index 0000000000..5789d0b976 --- /dev/null +++ b/types/react-icons/lib/io/ios-at.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosAt extends React.Component { } diff --git a/types/react-icons/lib/io/ios-barcode-outline.d.ts b/types/react-icons/lib/io/ios-barcode-outline.d.ts new file mode 100644 index 0000000000..a82a5b88c8 --- /dev/null +++ b/types/react-icons/lib/io/ios-barcode-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBarcodeOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-barcode.d.ts b/types/react-icons/lib/io/ios-barcode.d.ts new file mode 100644 index 0000000000..20a769e78e --- /dev/null +++ b/types/react-icons/lib/io/ios-barcode.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBarcode extends React.Component { } diff --git a/types/react-icons/lib/io/ios-baseball-outline.d.ts b/types/react-icons/lib/io/ios-baseball-outline.d.ts new file mode 100644 index 0000000000..99856309a9 --- /dev/null +++ b/types/react-icons/lib/io/ios-baseball-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBaseballOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-baseball.d.ts b/types/react-icons/lib/io/ios-baseball.d.ts new file mode 100644 index 0000000000..1470fd138c --- /dev/null +++ b/types/react-icons/lib/io/ios-baseball.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBaseball extends React.Component { } diff --git a/types/react-icons/lib/io/ios-basketball-outline.d.ts b/types/react-icons/lib/io/ios-basketball-outline.d.ts new file mode 100644 index 0000000000..5b2d8845df --- /dev/null +++ b/types/react-icons/lib/io/ios-basketball-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBasketballOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-basketball.d.ts b/types/react-icons/lib/io/ios-basketball.d.ts new file mode 100644 index 0000000000..294798f648 --- /dev/null +++ b/types/react-icons/lib/io/ios-basketball.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBasketball extends React.Component { } diff --git a/types/react-icons/lib/io/ios-bell-outline.d.ts b/types/react-icons/lib/io/ios-bell-outline.d.ts new file mode 100644 index 0000000000..c03c49121e --- /dev/null +++ b/types/react-icons/lib/io/ios-bell-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBellOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-bell.d.ts b/types/react-icons/lib/io/ios-bell.d.ts new file mode 100644 index 0000000000..d1b90b21f9 --- /dev/null +++ b/types/react-icons/lib/io/ios-bell.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBell extends React.Component { } diff --git a/types/react-icons/lib/io/ios-body-outline.d.ts b/types/react-icons/lib/io/ios-body-outline.d.ts new file mode 100644 index 0000000000..235ed9bca0 --- /dev/null +++ b/types/react-icons/lib/io/ios-body-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBodyOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-body.d.ts b/types/react-icons/lib/io/ios-body.d.ts new file mode 100644 index 0000000000..89712f6b0e --- /dev/null +++ b/types/react-icons/lib/io/ios-body.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBody extends React.Component { } diff --git a/types/react-icons/lib/io/ios-bolt-outline.d.ts b/types/react-icons/lib/io/ios-bolt-outline.d.ts new file mode 100644 index 0000000000..acc1db40e6 --- /dev/null +++ b/types/react-icons/lib/io/ios-bolt-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBoltOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-bolt.d.ts b/types/react-icons/lib/io/ios-bolt.d.ts new file mode 100644 index 0000000000..a953af8901 --- /dev/null +++ b/types/react-icons/lib/io/ios-bolt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBolt extends React.Component { } diff --git a/types/react-icons/lib/io/ios-book-outline.d.ts b/types/react-icons/lib/io/ios-book-outline.d.ts new file mode 100644 index 0000000000..d6587de870 --- /dev/null +++ b/types/react-icons/lib/io/ios-book-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBookOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-book.d.ts b/types/react-icons/lib/io/ios-book.d.ts new file mode 100644 index 0000000000..9bcddd9e60 --- /dev/null +++ b/types/react-icons/lib/io/ios-book.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBook extends React.Component { } diff --git a/types/react-icons/lib/io/ios-bookmarks-outline.d.ts b/types/react-icons/lib/io/ios-bookmarks-outline.d.ts new file mode 100644 index 0000000000..c999d5cdd5 --- /dev/null +++ b/types/react-icons/lib/io/ios-bookmarks-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBookmarksOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-bookmarks.d.ts b/types/react-icons/lib/io/ios-bookmarks.d.ts new file mode 100644 index 0000000000..42a926adda --- /dev/null +++ b/types/react-icons/lib/io/ios-bookmarks.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBookmarks extends React.Component { } diff --git a/types/react-icons/lib/io/ios-box-outline.d.ts b/types/react-icons/lib/io/ios-box-outline.d.ts new file mode 100644 index 0000000000..02b34cefc1 --- /dev/null +++ b/types/react-icons/lib/io/ios-box-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBoxOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-box.d.ts b/types/react-icons/lib/io/ios-box.d.ts new file mode 100644 index 0000000000..67ab43d367 --- /dev/null +++ b/types/react-icons/lib/io/ios-box.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBox extends React.Component { } diff --git a/types/react-icons/lib/io/ios-briefcase-outline.d.ts b/types/react-icons/lib/io/ios-briefcase-outline.d.ts new file mode 100644 index 0000000000..bcba814767 --- /dev/null +++ b/types/react-icons/lib/io/ios-briefcase-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBriefcaseOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-briefcase.d.ts b/types/react-icons/lib/io/ios-briefcase.d.ts new file mode 100644 index 0000000000..03409c1dc4 --- /dev/null +++ b/types/react-icons/lib/io/ios-briefcase.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBriefcase extends React.Component { } diff --git a/types/react-icons/lib/io/ios-browsers-outline.d.ts b/types/react-icons/lib/io/ios-browsers-outline.d.ts new file mode 100644 index 0000000000..a85fd4dfc9 --- /dev/null +++ b/types/react-icons/lib/io/ios-browsers-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBrowsersOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-browsers.d.ts b/types/react-icons/lib/io/ios-browsers.d.ts new file mode 100644 index 0000000000..155d546472 --- /dev/null +++ b/types/react-icons/lib/io/ios-browsers.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosBrowsers extends React.Component { } diff --git a/types/react-icons/lib/io/ios-calculator-outline.d.ts b/types/react-icons/lib/io/ios-calculator-outline.d.ts new file mode 100644 index 0000000000..19453725e5 --- /dev/null +++ b/types/react-icons/lib/io/ios-calculator-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCalculatorOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-calculator.d.ts b/types/react-icons/lib/io/ios-calculator.d.ts new file mode 100644 index 0000000000..736a4f431f --- /dev/null +++ b/types/react-icons/lib/io/ios-calculator.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCalculator extends React.Component { } diff --git a/types/react-icons/lib/io/ios-calendar-outline.d.ts b/types/react-icons/lib/io/ios-calendar-outline.d.ts new file mode 100644 index 0000000000..131eba8430 --- /dev/null +++ b/types/react-icons/lib/io/ios-calendar-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCalendarOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-calendar.d.ts b/types/react-icons/lib/io/ios-calendar.d.ts new file mode 100644 index 0000000000..3275cc770c --- /dev/null +++ b/types/react-icons/lib/io/ios-calendar.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCalendar extends React.Component { } diff --git a/types/react-icons/lib/io/ios-camera-outline.d.ts b/types/react-icons/lib/io/ios-camera-outline.d.ts new file mode 100644 index 0000000000..194cacb253 --- /dev/null +++ b/types/react-icons/lib/io/ios-camera-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCameraOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-camera.d.ts b/types/react-icons/lib/io/ios-camera.d.ts new file mode 100644 index 0000000000..346d035f8c --- /dev/null +++ b/types/react-icons/lib/io/ios-camera.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCamera extends React.Component { } diff --git a/types/react-icons/lib/io/ios-cart-outline.d.ts b/types/react-icons/lib/io/ios-cart-outline.d.ts new file mode 100644 index 0000000000..d7f76296dd --- /dev/null +++ b/types/react-icons/lib/io/ios-cart-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCartOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-cart.d.ts b/types/react-icons/lib/io/ios-cart.d.ts new file mode 100644 index 0000000000..918b941efc --- /dev/null +++ b/types/react-icons/lib/io/ios-cart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCart extends React.Component { } diff --git a/types/react-icons/lib/io/ios-chatboxes-outline.d.ts b/types/react-icons/lib/io/ios-chatboxes-outline.d.ts new file mode 100644 index 0000000000..1db97e7086 --- /dev/null +++ b/types/react-icons/lib/io/ios-chatboxes-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosChatboxesOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-chatboxes.d.ts b/types/react-icons/lib/io/ios-chatboxes.d.ts new file mode 100644 index 0000000000..a32fdd72c4 --- /dev/null +++ b/types/react-icons/lib/io/ios-chatboxes.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosChatboxes extends React.Component { } diff --git a/types/react-icons/lib/io/ios-chatbubble-outline.d.ts b/types/react-icons/lib/io/ios-chatbubble-outline.d.ts new file mode 100644 index 0000000000..ba2b57a053 --- /dev/null +++ b/types/react-icons/lib/io/ios-chatbubble-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosChatbubbleOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-chatbubble.d.ts b/types/react-icons/lib/io/ios-chatbubble.d.ts new file mode 100644 index 0000000000..bb9d024821 --- /dev/null +++ b/types/react-icons/lib/io/ios-chatbubble.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosChatbubble extends React.Component { } diff --git a/types/react-icons/lib/io/ios-checkmark-empty.d.ts b/types/react-icons/lib/io/ios-checkmark-empty.d.ts new file mode 100644 index 0000000000..328adb1f00 --- /dev/null +++ b/types/react-icons/lib/io/ios-checkmark-empty.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCheckmarkEmpty extends React.Component { } diff --git a/types/react-icons/lib/io/ios-checkmark-outline.d.ts b/types/react-icons/lib/io/ios-checkmark-outline.d.ts new file mode 100644 index 0000000000..cb19eebc9b --- /dev/null +++ b/types/react-icons/lib/io/ios-checkmark-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCheckmarkOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-checkmark.d.ts b/types/react-icons/lib/io/ios-checkmark.d.ts new file mode 100644 index 0000000000..3fcabda1bf --- /dev/null +++ b/types/react-icons/lib/io/ios-checkmark.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCheckmark extends React.Component { } diff --git a/types/react-icons/lib/io/ios-circle-filled.d.ts b/types/react-icons/lib/io/ios-circle-filled.d.ts new file mode 100644 index 0000000000..4b4192096d --- /dev/null +++ b/types/react-icons/lib/io/ios-circle-filled.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCircleFilled extends React.Component { } diff --git a/types/react-icons/lib/io/ios-circle-outline.d.ts b/types/react-icons/lib/io/ios-circle-outline.d.ts new file mode 100644 index 0000000000..99a0ae723f --- /dev/null +++ b/types/react-icons/lib/io/ios-circle-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCircleOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-clock-outline.d.ts b/types/react-icons/lib/io/ios-clock-outline.d.ts new file mode 100644 index 0000000000..2d5febf0a9 --- /dev/null +++ b/types/react-icons/lib/io/ios-clock-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosClockOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-clock.d.ts b/types/react-icons/lib/io/ios-clock.d.ts new file mode 100644 index 0000000000..aa160a4bd7 --- /dev/null +++ b/types/react-icons/lib/io/ios-clock.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosClock extends React.Component { } diff --git a/types/react-icons/lib/io/ios-close-empty.d.ts b/types/react-icons/lib/io/ios-close-empty.d.ts new file mode 100644 index 0000000000..44a0c8d17b --- /dev/null +++ b/types/react-icons/lib/io/ios-close-empty.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCloseEmpty extends React.Component { } diff --git a/types/react-icons/lib/io/ios-close-outline.d.ts b/types/react-icons/lib/io/ios-close-outline.d.ts new file mode 100644 index 0000000000..323c5b9d4a --- /dev/null +++ b/types/react-icons/lib/io/ios-close-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCloseOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-close.d.ts b/types/react-icons/lib/io/ios-close.d.ts new file mode 100644 index 0000000000..21ed802d2a --- /dev/null +++ b/types/react-icons/lib/io/ios-close.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosClose extends React.Component { } diff --git a/types/react-icons/lib/io/ios-cloud-download-outline.d.ts b/types/react-icons/lib/io/ios-cloud-download-outline.d.ts new file mode 100644 index 0000000000..3e4358be6d --- /dev/null +++ b/types/react-icons/lib/io/ios-cloud-download-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCloudDownloadOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-cloud-download.d.ts b/types/react-icons/lib/io/ios-cloud-download.d.ts new file mode 100644 index 0000000000..593e0c7730 --- /dev/null +++ b/types/react-icons/lib/io/ios-cloud-download.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCloudDownload extends React.Component { } diff --git a/types/react-icons/lib/io/ios-cloud-outline.d.ts b/types/react-icons/lib/io/ios-cloud-outline.d.ts new file mode 100644 index 0000000000..c70f0794c3 --- /dev/null +++ b/types/react-icons/lib/io/ios-cloud-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCloudOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-cloud-upload-outline.d.ts b/types/react-icons/lib/io/ios-cloud-upload-outline.d.ts new file mode 100644 index 0000000000..2796f586ec --- /dev/null +++ b/types/react-icons/lib/io/ios-cloud-upload-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCloudUploadOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-cloud-upload.d.ts b/types/react-icons/lib/io/ios-cloud-upload.d.ts new file mode 100644 index 0000000000..b34cc692a2 --- /dev/null +++ b/types/react-icons/lib/io/ios-cloud-upload.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCloudUpload extends React.Component { } diff --git a/types/react-icons/lib/io/ios-cloud.d.ts b/types/react-icons/lib/io/ios-cloud.d.ts new file mode 100644 index 0000000000..a802116f9f --- /dev/null +++ b/types/react-icons/lib/io/ios-cloud.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCloud extends React.Component { } diff --git a/types/react-icons/lib/io/ios-cloudy-night-outline.d.ts b/types/react-icons/lib/io/ios-cloudy-night-outline.d.ts new file mode 100644 index 0000000000..4845f7470d --- /dev/null +++ b/types/react-icons/lib/io/ios-cloudy-night-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCloudyNightOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-cloudy-night.d.ts b/types/react-icons/lib/io/ios-cloudy-night.d.ts new file mode 100644 index 0000000000..9298dc5823 --- /dev/null +++ b/types/react-icons/lib/io/ios-cloudy-night.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCloudyNight extends React.Component { } diff --git a/types/react-icons/lib/io/ios-cloudy-outline.d.ts b/types/react-icons/lib/io/ios-cloudy-outline.d.ts new file mode 100644 index 0000000000..cfcfd72e69 --- /dev/null +++ b/types/react-icons/lib/io/ios-cloudy-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCloudyOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-cloudy.d.ts b/types/react-icons/lib/io/ios-cloudy.d.ts new file mode 100644 index 0000000000..1d30070268 --- /dev/null +++ b/types/react-icons/lib/io/ios-cloudy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCloudy extends React.Component { } diff --git a/types/react-icons/lib/io/ios-cog-outline.d.ts b/types/react-icons/lib/io/ios-cog-outline.d.ts new file mode 100644 index 0000000000..8553742da2 --- /dev/null +++ b/types/react-icons/lib/io/ios-cog-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCogOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-cog.d.ts b/types/react-icons/lib/io/ios-cog.d.ts new file mode 100644 index 0000000000..b834fcb3c8 --- /dev/null +++ b/types/react-icons/lib/io/ios-cog.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCog extends React.Component { } diff --git a/types/react-icons/lib/io/ios-color-filter-outline.d.ts b/types/react-icons/lib/io/ios-color-filter-outline.d.ts new file mode 100644 index 0000000000..a3a38a75c9 --- /dev/null +++ b/types/react-icons/lib/io/ios-color-filter-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosColorFilterOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-color-filter.d.ts b/types/react-icons/lib/io/ios-color-filter.d.ts new file mode 100644 index 0000000000..20fcdef6df --- /dev/null +++ b/types/react-icons/lib/io/ios-color-filter.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosColorFilter extends React.Component { } diff --git a/types/react-icons/lib/io/ios-color-wand-outline.d.ts b/types/react-icons/lib/io/ios-color-wand-outline.d.ts new file mode 100644 index 0000000000..ddb1cb938c --- /dev/null +++ b/types/react-icons/lib/io/ios-color-wand-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosColorWandOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-color-wand.d.ts b/types/react-icons/lib/io/ios-color-wand.d.ts new file mode 100644 index 0000000000..2cffa4f89e --- /dev/null +++ b/types/react-icons/lib/io/ios-color-wand.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosColorWand extends React.Component { } diff --git a/types/react-icons/lib/io/ios-compose-outline.d.ts b/types/react-icons/lib/io/ios-compose-outline.d.ts new file mode 100644 index 0000000000..30d416ed90 --- /dev/null +++ b/types/react-icons/lib/io/ios-compose-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosComposeOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-compose.d.ts b/types/react-icons/lib/io/ios-compose.d.ts new file mode 100644 index 0000000000..9445eed5c1 --- /dev/null +++ b/types/react-icons/lib/io/ios-compose.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCompose extends React.Component { } diff --git a/types/react-icons/lib/io/ios-contact-outline.d.ts b/types/react-icons/lib/io/ios-contact-outline.d.ts new file mode 100644 index 0000000000..7eb6eb546f --- /dev/null +++ b/types/react-icons/lib/io/ios-contact-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosContactOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-contact.d.ts b/types/react-icons/lib/io/ios-contact.d.ts new file mode 100644 index 0000000000..59c2798235 --- /dev/null +++ b/types/react-icons/lib/io/ios-contact.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosContact extends React.Component { } diff --git a/types/react-icons/lib/io/ios-copy-outline.d.ts b/types/react-icons/lib/io/ios-copy-outline.d.ts new file mode 100644 index 0000000000..5af5717e89 --- /dev/null +++ b/types/react-icons/lib/io/ios-copy-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCopyOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-copy.d.ts b/types/react-icons/lib/io/ios-copy.d.ts new file mode 100644 index 0000000000..2523a14f88 --- /dev/null +++ b/types/react-icons/lib/io/ios-copy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCopy extends React.Component { } diff --git a/types/react-icons/lib/io/ios-crop-strong.d.ts b/types/react-icons/lib/io/ios-crop-strong.d.ts new file mode 100644 index 0000000000..b0126c2482 --- /dev/null +++ b/types/react-icons/lib/io/ios-crop-strong.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCropStrong extends React.Component { } diff --git a/types/react-icons/lib/io/ios-crop.d.ts b/types/react-icons/lib/io/ios-crop.d.ts new file mode 100644 index 0000000000..ab76318d3a --- /dev/null +++ b/types/react-icons/lib/io/ios-crop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosCrop extends React.Component { } diff --git a/types/react-icons/lib/io/ios-download-outline.d.ts b/types/react-icons/lib/io/ios-download-outline.d.ts new file mode 100644 index 0000000000..4498357495 --- /dev/null +++ b/types/react-icons/lib/io/ios-download-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosDownloadOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-download.d.ts b/types/react-icons/lib/io/ios-download.d.ts new file mode 100644 index 0000000000..35aaac4be0 --- /dev/null +++ b/types/react-icons/lib/io/ios-download.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosDownload extends React.Component { } diff --git a/types/react-icons/lib/io/ios-drag.d.ts b/types/react-icons/lib/io/ios-drag.d.ts new file mode 100644 index 0000000000..17979b680a --- /dev/null +++ b/types/react-icons/lib/io/ios-drag.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosDrag extends React.Component { } diff --git a/types/react-icons/lib/io/ios-email-outline.d.ts b/types/react-icons/lib/io/ios-email-outline.d.ts new file mode 100644 index 0000000000..3ad2b9cb16 --- /dev/null +++ b/types/react-icons/lib/io/ios-email-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosEmailOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-email.d.ts b/types/react-icons/lib/io/ios-email.d.ts new file mode 100644 index 0000000000..ac81192fe0 --- /dev/null +++ b/types/react-icons/lib/io/ios-email.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosEmail extends React.Component { } diff --git a/types/react-icons/lib/io/ios-eye-outline.d.ts b/types/react-icons/lib/io/ios-eye-outline.d.ts new file mode 100644 index 0000000000..8f83b25a13 --- /dev/null +++ b/types/react-icons/lib/io/ios-eye-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosEyeOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-eye.d.ts b/types/react-icons/lib/io/ios-eye.d.ts new file mode 100644 index 0000000000..2a3db8b839 --- /dev/null +++ b/types/react-icons/lib/io/ios-eye.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosEye extends React.Component { } diff --git a/types/react-icons/lib/io/ios-fastforward-outline.d.ts b/types/react-icons/lib/io/ios-fastforward-outline.d.ts new file mode 100644 index 0000000000..ebc30ba915 --- /dev/null +++ b/types/react-icons/lib/io/ios-fastforward-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosFastforwardOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-fastforward.d.ts b/types/react-icons/lib/io/ios-fastforward.d.ts new file mode 100644 index 0000000000..2fedece46c --- /dev/null +++ b/types/react-icons/lib/io/ios-fastforward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosFastforward extends React.Component { } diff --git a/types/react-icons/lib/io/ios-filing-outline.d.ts b/types/react-icons/lib/io/ios-filing-outline.d.ts new file mode 100644 index 0000000000..07291ebfd3 --- /dev/null +++ b/types/react-icons/lib/io/ios-filing-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosFilingOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-filing.d.ts b/types/react-icons/lib/io/ios-filing.d.ts new file mode 100644 index 0000000000..0ccb6e3e3b --- /dev/null +++ b/types/react-icons/lib/io/ios-filing.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosFiling extends React.Component { } diff --git a/types/react-icons/lib/io/ios-film-outline.d.ts b/types/react-icons/lib/io/ios-film-outline.d.ts new file mode 100644 index 0000000000..5528977dce --- /dev/null +++ b/types/react-icons/lib/io/ios-film-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosFilmOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-film.d.ts b/types/react-icons/lib/io/ios-film.d.ts new file mode 100644 index 0000000000..447ebbe08e --- /dev/null +++ b/types/react-icons/lib/io/ios-film.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosFilm extends React.Component { } diff --git a/types/react-icons/lib/io/ios-flag-outline.d.ts b/types/react-icons/lib/io/ios-flag-outline.d.ts new file mode 100644 index 0000000000..f602c44993 --- /dev/null +++ b/types/react-icons/lib/io/ios-flag-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosFlagOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-flag.d.ts b/types/react-icons/lib/io/ios-flag.d.ts new file mode 100644 index 0000000000..d6095c22f3 --- /dev/null +++ b/types/react-icons/lib/io/ios-flag.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosFlag extends React.Component { } diff --git a/types/react-icons/lib/io/ios-flame-outline.d.ts b/types/react-icons/lib/io/ios-flame-outline.d.ts new file mode 100644 index 0000000000..0e8b7410e9 --- /dev/null +++ b/types/react-icons/lib/io/ios-flame-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosFlameOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-flame.d.ts b/types/react-icons/lib/io/ios-flame.d.ts new file mode 100644 index 0000000000..a21289710b --- /dev/null +++ b/types/react-icons/lib/io/ios-flame.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosFlame extends React.Component { } diff --git a/types/react-icons/lib/io/ios-flask-outline.d.ts b/types/react-icons/lib/io/ios-flask-outline.d.ts new file mode 100644 index 0000000000..2082d7a326 --- /dev/null +++ b/types/react-icons/lib/io/ios-flask-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosFlaskOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-flask.d.ts b/types/react-icons/lib/io/ios-flask.d.ts new file mode 100644 index 0000000000..0b622f18e2 --- /dev/null +++ b/types/react-icons/lib/io/ios-flask.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosFlask extends React.Component { } diff --git a/types/react-icons/lib/io/ios-flower-outline.d.ts b/types/react-icons/lib/io/ios-flower-outline.d.ts new file mode 100644 index 0000000000..7886cbc193 --- /dev/null +++ b/types/react-icons/lib/io/ios-flower-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosFlowerOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-flower.d.ts b/types/react-icons/lib/io/ios-flower.d.ts new file mode 100644 index 0000000000..9e1ba1e0bc --- /dev/null +++ b/types/react-icons/lib/io/ios-flower.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosFlower extends React.Component { } diff --git a/types/react-icons/lib/io/ios-folder-outline.d.ts b/types/react-icons/lib/io/ios-folder-outline.d.ts new file mode 100644 index 0000000000..43c60dc202 --- /dev/null +++ b/types/react-icons/lib/io/ios-folder-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosFolderOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-folder.d.ts b/types/react-icons/lib/io/ios-folder.d.ts new file mode 100644 index 0000000000..785495d440 --- /dev/null +++ b/types/react-icons/lib/io/ios-folder.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosFolder extends React.Component { } diff --git a/types/react-icons/lib/io/ios-football-outline.d.ts b/types/react-icons/lib/io/ios-football-outline.d.ts new file mode 100644 index 0000000000..6f669b0cd0 --- /dev/null +++ b/types/react-icons/lib/io/ios-football-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosFootballOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-football.d.ts b/types/react-icons/lib/io/ios-football.d.ts new file mode 100644 index 0000000000..0ece60db03 --- /dev/null +++ b/types/react-icons/lib/io/ios-football.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosFootball extends React.Component { } diff --git a/types/react-icons/lib/io/ios-game-controller-a-outline.d.ts b/types/react-icons/lib/io/ios-game-controller-a-outline.d.ts new file mode 100644 index 0000000000..200c64a673 --- /dev/null +++ b/types/react-icons/lib/io/ios-game-controller-a-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosGameControllerAOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-game-controller-a.d.ts b/types/react-icons/lib/io/ios-game-controller-a.d.ts new file mode 100644 index 0000000000..e9e7048f94 --- /dev/null +++ b/types/react-icons/lib/io/ios-game-controller-a.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosGameControllerA extends React.Component { } diff --git a/types/react-icons/lib/io/ios-game-controller-b-outline.d.ts b/types/react-icons/lib/io/ios-game-controller-b-outline.d.ts new file mode 100644 index 0000000000..d7d82be788 --- /dev/null +++ b/types/react-icons/lib/io/ios-game-controller-b-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosGameControllerBOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-game-controller-b.d.ts b/types/react-icons/lib/io/ios-game-controller-b.d.ts new file mode 100644 index 0000000000..6e5435416c --- /dev/null +++ b/types/react-icons/lib/io/ios-game-controller-b.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosGameControllerB extends React.Component { } diff --git a/types/react-icons/lib/io/ios-gear-outline.d.ts b/types/react-icons/lib/io/ios-gear-outline.d.ts new file mode 100644 index 0000000000..22181a1a55 --- /dev/null +++ b/types/react-icons/lib/io/ios-gear-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosGearOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-gear.d.ts b/types/react-icons/lib/io/ios-gear.d.ts new file mode 100644 index 0000000000..e899faa7a9 --- /dev/null +++ b/types/react-icons/lib/io/ios-gear.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosGear extends React.Component { } diff --git a/types/react-icons/lib/io/ios-glasses-outline.d.ts b/types/react-icons/lib/io/ios-glasses-outline.d.ts new file mode 100644 index 0000000000..049fc5bd95 --- /dev/null +++ b/types/react-icons/lib/io/ios-glasses-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosGlassesOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-glasses.d.ts b/types/react-icons/lib/io/ios-glasses.d.ts new file mode 100644 index 0000000000..585312b1f7 --- /dev/null +++ b/types/react-icons/lib/io/ios-glasses.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosGlasses extends React.Component { } diff --git a/types/react-icons/lib/io/ios-grid-view-outline.d.ts b/types/react-icons/lib/io/ios-grid-view-outline.d.ts new file mode 100644 index 0000000000..f1cf87b7d6 --- /dev/null +++ b/types/react-icons/lib/io/ios-grid-view-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosGridViewOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-grid-view.d.ts b/types/react-icons/lib/io/ios-grid-view.d.ts new file mode 100644 index 0000000000..00f6bb916c --- /dev/null +++ b/types/react-icons/lib/io/ios-grid-view.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosGridView extends React.Component { } diff --git a/types/react-icons/lib/io/ios-heart-outline.d.ts b/types/react-icons/lib/io/ios-heart-outline.d.ts new file mode 100644 index 0000000000..354c5543f3 --- /dev/null +++ b/types/react-icons/lib/io/ios-heart-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosHeartOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-heart.d.ts b/types/react-icons/lib/io/ios-heart.d.ts new file mode 100644 index 0000000000..254ce938f3 --- /dev/null +++ b/types/react-icons/lib/io/ios-heart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosHeart extends React.Component { } diff --git a/types/react-icons/lib/io/ios-help-empty.d.ts b/types/react-icons/lib/io/ios-help-empty.d.ts new file mode 100644 index 0000000000..cd94f6ceed --- /dev/null +++ b/types/react-icons/lib/io/ios-help-empty.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosHelpEmpty extends React.Component { } diff --git a/types/react-icons/lib/io/ios-help-outline.d.ts b/types/react-icons/lib/io/ios-help-outline.d.ts new file mode 100644 index 0000000000..3e73ec588b --- /dev/null +++ b/types/react-icons/lib/io/ios-help-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosHelpOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-help.d.ts b/types/react-icons/lib/io/ios-help.d.ts new file mode 100644 index 0000000000..00ede643d8 --- /dev/null +++ b/types/react-icons/lib/io/ios-help.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosHelp extends React.Component { } diff --git a/types/react-icons/lib/io/ios-home-outline.d.ts b/types/react-icons/lib/io/ios-home-outline.d.ts new file mode 100644 index 0000000000..17f1432ff8 --- /dev/null +++ b/types/react-icons/lib/io/ios-home-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosHomeOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-home.d.ts b/types/react-icons/lib/io/ios-home.d.ts new file mode 100644 index 0000000000..c0f80ecaf3 --- /dev/null +++ b/types/react-icons/lib/io/ios-home.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosHome extends React.Component { } diff --git a/types/react-icons/lib/io/ios-infinite-outline.d.ts b/types/react-icons/lib/io/ios-infinite-outline.d.ts new file mode 100644 index 0000000000..0b043764ee --- /dev/null +++ b/types/react-icons/lib/io/ios-infinite-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosInfiniteOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-infinite.d.ts b/types/react-icons/lib/io/ios-infinite.d.ts new file mode 100644 index 0000000000..bf78e5f95b --- /dev/null +++ b/types/react-icons/lib/io/ios-infinite.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosInfinite extends React.Component { } diff --git a/types/react-icons/lib/io/ios-informatempty.d.ts b/types/react-icons/lib/io/ios-informatempty.d.ts new file mode 100644 index 0000000000..34c1b0c19c --- /dev/null +++ b/types/react-icons/lib/io/ios-informatempty.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosInformatempty extends React.Component { } diff --git a/types/react-icons/lib/io/ios-information.d.ts b/types/react-icons/lib/io/ios-information.d.ts new file mode 100644 index 0000000000..f6e3295ac3 --- /dev/null +++ b/types/react-icons/lib/io/ios-information.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosInformation extends React.Component { } diff --git a/types/react-icons/lib/io/ios-informatoutline.d.ts b/types/react-icons/lib/io/ios-informatoutline.d.ts new file mode 100644 index 0000000000..038ce93a28 --- /dev/null +++ b/types/react-icons/lib/io/ios-informatoutline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosInformatoutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-ionic-outline.d.ts b/types/react-icons/lib/io/ios-ionic-outline.d.ts new file mode 100644 index 0000000000..bd42bf2316 --- /dev/null +++ b/types/react-icons/lib/io/ios-ionic-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosIonicOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-keypad-outline.d.ts b/types/react-icons/lib/io/ios-keypad-outline.d.ts new file mode 100644 index 0000000000..9adff455e3 --- /dev/null +++ b/types/react-icons/lib/io/ios-keypad-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosKeypadOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-keypad.d.ts b/types/react-icons/lib/io/ios-keypad.d.ts new file mode 100644 index 0000000000..a804cf857f --- /dev/null +++ b/types/react-icons/lib/io/ios-keypad.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosKeypad extends React.Component { } diff --git a/types/react-icons/lib/io/ios-lightbulb-outline.d.ts b/types/react-icons/lib/io/ios-lightbulb-outline.d.ts new file mode 100644 index 0000000000..4c92bdd5d6 --- /dev/null +++ b/types/react-icons/lib/io/ios-lightbulb-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosLightbulbOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-lightbulb.d.ts b/types/react-icons/lib/io/ios-lightbulb.d.ts new file mode 100644 index 0000000000..a7bbb177bb --- /dev/null +++ b/types/react-icons/lib/io/ios-lightbulb.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosLightbulb extends React.Component { } diff --git a/types/react-icons/lib/io/ios-list-outline.d.ts b/types/react-icons/lib/io/ios-list-outline.d.ts new file mode 100644 index 0000000000..839d753887 --- /dev/null +++ b/types/react-icons/lib/io/ios-list-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosListOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-list.d.ts b/types/react-icons/lib/io/ios-list.d.ts new file mode 100644 index 0000000000..9789a06dc7 --- /dev/null +++ b/types/react-icons/lib/io/ios-list.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosList extends React.Component { } diff --git a/types/react-icons/lib/io/ios-location.d.ts b/types/react-icons/lib/io/ios-location.d.ts new file mode 100644 index 0000000000..617b853698 --- /dev/null +++ b/types/react-icons/lib/io/ios-location.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosLocation extends React.Component { } diff --git a/types/react-icons/lib/io/ios-locatoutline.d.ts b/types/react-icons/lib/io/ios-locatoutline.d.ts new file mode 100644 index 0000000000..141e72e594 --- /dev/null +++ b/types/react-icons/lib/io/ios-locatoutline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosLocatoutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-locked-outline.d.ts b/types/react-icons/lib/io/ios-locked-outline.d.ts new file mode 100644 index 0000000000..3f0855a38d --- /dev/null +++ b/types/react-icons/lib/io/ios-locked-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosLockedOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-locked.d.ts b/types/react-icons/lib/io/ios-locked.d.ts new file mode 100644 index 0000000000..b22a3238d4 --- /dev/null +++ b/types/react-icons/lib/io/ios-locked.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosLocked extends React.Component { } diff --git a/types/react-icons/lib/io/ios-loop-strong.d.ts b/types/react-icons/lib/io/ios-loop-strong.d.ts new file mode 100644 index 0000000000..900c41d788 --- /dev/null +++ b/types/react-icons/lib/io/ios-loop-strong.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosLoopStrong extends React.Component { } diff --git a/types/react-icons/lib/io/ios-loop.d.ts b/types/react-icons/lib/io/ios-loop.d.ts new file mode 100644 index 0000000000..0235e4f546 --- /dev/null +++ b/types/react-icons/lib/io/ios-loop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosLoop extends React.Component { } diff --git a/types/react-icons/lib/io/ios-medical-outline.d.ts b/types/react-icons/lib/io/ios-medical-outline.d.ts new file mode 100644 index 0000000000..dadb2e61ae --- /dev/null +++ b/types/react-icons/lib/io/ios-medical-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosMedicalOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-medical.d.ts b/types/react-icons/lib/io/ios-medical.d.ts new file mode 100644 index 0000000000..1d63e24694 --- /dev/null +++ b/types/react-icons/lib/io/ios-medical.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosMedical extends React.Component { } diff --git a/types/react-icons/lib/io/ios-medkit-outline.d.ts b/types/react-icons/lib/io/ios-medkit-outline.d.ts new file mode 100644 index 0000000000..367cb88b6f --- /dev/null +++ b/types/react-icons/lib/io/ios-medkit-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosMedkitOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-medkit.d.ts b/types/react-icons/lib/io/ios-medkit.d.ts new file mode 100644 index 0000000000..bf5d378f58 --- /dev/null +++ b/types/react-icons/lib/io/ios-medkit.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosMedkit extends React.Component { } diff --git a/types/react-icons/lib/io/ios-mic-off.d.ts b/types/react-icons/lib/io/ios-mic-off.d.ts new file mode 100644 index 0000000000..093cc13897 --- /dev/null +++ b/types/react-icons/lib/io/ios-mic-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosMicOff extends React.Component { } diff --git a/types/react-icons/lib/io/ios-mic-outline.d.ts b/types/react-icons/lib/io/ios-mic-outline.d.ts new file mode 100644 index 0000000000..1e2a4f7ca6 --- /dev/null +++ b/types/react-icons/lib/io/ios-mic-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosMicOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-mic.d.ts b/types/react-icons/lib/io/ios-mic.d.ts new file mode 100644 index 0000000000..a561e50887 --- /dev/null +++ b/types/react-icons/lib/io/ios-mic.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosMic extends React.Component { } diff --git a/types/react-icons/lib/io/ios-minus-empty.d.ts b/types/react-icons/lib/io/ios-minus-empty.d.ts new file mode 100644 index 0000000000..d33c1a6e8c --- /dev/null +++ b/types/react-icons/lib/io/ios-minus-empty.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosMinusEmpty extends React.Component { } diff --git a/types/react-icons/lib/io/ios-minus-outline.d.ts b/types/react-icons/lib/io/ios-minus-outline.d.ts new file mode 100644 index 0000000000..d7373a37df --- /dev/null +++ b/types/react-icons/lib/io/ios-minus-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosMinusOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-minus.d.ts b/types/react-icons/lib/io/ios-minus.d.ts new file mode 100644 index 0000000000..abc0a2679e --- /dev/null +++ b/types/react-icons/lib/io/ios-minus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosMinus extends React.Component { } diff --git a/types/react-icons/lib/io/ios-monitor-outline.d.ts b/types/react-icons/lib/io/ios-monitor-outline.d.ts new file mode 100644 index 0000000000..8dd207f86e --- /dev/null +++ b/types/react-icons/lib/io/ios-monitor-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosMonitorOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-monitor.d.ts b/types/react-icons/lib/io/ios-monitor.d.ts new file mode 100644 index 0000000000..965a9b5d3b --- /dev/null +++ b/types/react-icons/lib/io/ios-monitor.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosMonitor extends React.Component { } diff --git a/types/react-icons/lib/io/ios-moon-outline.d.ts b/types/react-icons/lib/io/ios-moon-outline.d.ts new file mode 100644 index 0000000000..e35e94911f --- /dev/null +++ b/types/react-icons/lib/io/ios-moon-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosMoonOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-moon.d.ts b/types/react-icons/lib/io/ios-moon.d.ts new file mode 100644 index 0000000000..cee7a782f1 --- /dev/null +++ b/types/react-icons/lib/io/ios-moon.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosMoon extends React.Component { } diff --git a/types/react-icons/lib/io/ios-more-outline.d.ts b/types/react-icons/lib/io/ios-more-outline.d.ts new file mode 100644 index 0000000000..a5a83f41cf --- /dev/null +++ b/types/react-icons/lib/io/ios-more-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosMoreOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-more.d.ts b/types/react-icons/lib/io/ios-more.d.ts new file mode 100644 index 0000000000..9fb63209db --- /dev/null +++ b/types/react-icons/lib/io/ios-more.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosMore extends React.Component { } diff --git a/types/react-icons/lib/io/ios-musical-note.d.ts b/types/react-icons/lib/io/ios-musical-note.d.ts new file mode 100644 index 0000000000..123b990474 --- /dev/null +++ b/types/react-icons/lib/io/ios-musical-note.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosMusicalNote extends React.Component { } diff --git a/types/react-icons/lib/io/ios-musical-notes.d.ts b/types/react-icons/lib/io/ios-musical-notes.d.ts new file mode 100644 index 0000000000..54daf1715e --- /dev/null +++ b/types/react-icons/lib/io/ios-musical-notes.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosMusicalNotes extends React.Component { } diff --git a/types/react-icons/lib/io/ios-navigate-outline.d.ts b/types/react-icons/lib/io/ios-navigate-outline.d.ts new file mode 100644 index 0000000000..daaafc5c76 --- /dev/null +++ b/types/react-icons/lib/io/ios-navigate-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosNavigateOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-navigate.d.ts b/types/react-icons/lib/io/ios-navigate.d.ts new file mode 100644 index 0000000000..3a8a955fa6 --- /dev/null +++ b/types/react-icons/lib/io/ios-navigate.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosNavigate extends React.Component { } diff --git a/types/react-icons/lib/io/ios-nutrition.d.ts b/types/react-icons/lib/io/ios-nutrition.d.ts new file mode 100644 index 0000000000..19b5f0eae6 --- /dev/null +++ b/types/react-icons/lib/io/ios-nutrition.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosNutrition extends React.Component { } diff --git a/types/react-icons/lib/io/ios-nutritoutline.d.ts b/types/react-icons/lib/io/ios-nutritoutline.d.ts new file mode 100644 index 0000000000..9ce2ea6d24 --- /dev/null +++ b/types/react-icons/lib/io/ios-nutritoutline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosNutritoutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-paper-outline.d.ts b/types/react-icons/lib/io/ios-paper-outline.d.ts new file mode 100644 index 0000000000..f491c2a055 --- /dev/null +++ b/types/react-icons/lib/io/ios-paper-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPaperOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-paper.d.ts b/types/react-icons/lib/io/ios-paper.d.ts new file mode 100644 index 0000000000..bf98a1330d --- /dev/null +++ b/types/react-icons/lib/io/ios-paper.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPaper extends React.Component { } diff --git a/types/react-icons/lib/io/ios-paperplane-outline.d.ts b/types/react-icons/lib/io/ios-paperplane-outline.d.ts new file mode 100644 index 0000000000..381b337e35 --- /dev/null +++ b/types/react-icons/lib/io/ios-paperplane-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPaperplaneOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-paperplane.d.ts b/types/react-icons/lib/io/ios-paperplane.d.ts new file mode 100644 index 0000000000..3999ec063c --- /dev/null +++ b/types/react-icons/lib/io/ios-paperplane.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPaperplane extends React.Component { } diff --git a/types/react-icons/lib/io/ios-partlysunny-outline.d.ts b/types/react-icons/lib/io/ios-partlysunny-outline.d.ts new file mode 100644 index 0000000000..96fddf3405 --- /dev/null +++ b/types/react-icons/lib/io/ios-partlysunny-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPartlysunnyOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-partlysunny.d.ts b/types/react-icons/lib/io/ios-partlysunny.d.ts new file mode 100644 index 0000000000..f0f7b24a0f --- /dev/null +++ b/types/react-icons/lib/io/ios-partlysunny.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPartlysunny extends React.Component { } diff --git a/types/react-icons/lib/io/ios-pause-outline.d.ts b/types/react-icons/lib/io/ios-pause-outline.d.ts new file mode 100644 index 0000000000..a3c096ec70 --- /dev/null +++ b/types/react-icons/lib/io/ios-pause-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPauseOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-pause.d.ts b/types/react-icons/lib/io/ios-pause.d.ts new file mode 100644 index 0000000000..5be0dbb44e --- /dev/null +++ b/types/react-icons/lib/io/ios-pause.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPause extends React.Component { } diff --git a/types/react-icons/lib/io/ios-paw-outline.d.ts b/types/react-icons/lib/io/ios-paw-outline.d.ts new file mode 100644 index 0000000000..59ff2ba1f0 --- /dev/null +++ b/types/react-icons/lib/io/ios-paw-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPawOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-paw.d.ts b/types/react-icons/lib/io/ios-paw.d.ts new file mode 100644 index 0000000000..8907243697 --- /dev/null +++ b/types/react-icons/lib/io/ios-paw.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPaw extends React.Component { } diff --git a/types/react-icons/lib/io/ios-people-outline.d.ts b/types/react-icons/lib/io/ios-people-outline.d.ts new file mode 100644 index 0000000000..fca7beebf0 --- /dev/null +++ b/types/react-icons/lib/io/ios-people-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPeopleOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-people.d.ts b/types/react-icons/lib/io/ios-people.d.ts new file mode 100644 index 0000000000..47167ca242 --- /dev/null +++ b/types/react-icons/lib/io/ios-people.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPeople extends React.Component { } diff --git a/types/react-icons/lib/io/ios-person-outline.d.ts b/types/react-icons/lib/io/ios-person-outline.d.ts new file mode 100644 index 0000000000..d9dcad6337 --- /dev/null +++ b/types/react-icons/lib/io/ios-person-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPersonOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-person.d.ts b/types/react-icons/lib/io/ios-person.d.ts new file mode 100644 index 0000000000..c0a721cdc9 --- /dev/null +++ b/types/react-icons/lib/io/ios-person.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPerson extends React.Component { } diff --git a/types/react-icons/lib/io/ios-personadd-outline.d.ts b/types/react-icons/lib/io/ios-personadd-outline.d.ts new file mode 100644 index 0000000000..0c2ef41134 --- /dev/null +++ b/types/react-icons/lib/io/ios-personadd-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPersonaddOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-personadd.d.ts b/types/react-icons/lib/io/ios-personadd.d.ts new file mode 100644 index 0000000000..76064513f6 --- /dev/null +++ b/types/react-icons/lib/io/ios-personadd.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPersonadd extends React.Component { } diff --git a/types/react-icons/lib/io/ios-photos-outline.d.ts b/types/react-icons/lib/io/ios-photos-outline.d.ts new file mode 100644 index 0000000000..b6bcf6e60a --- /dev/null +++ b/types/react-icons/lib/io/ios-photos-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPhotosOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-photos.d.ts b/types/react-icons/lib/io/ios-photos.d.ts new file mode 100644 index 0000000000..1f4a1d7b0a --- /dev/null +++ b/types/react-icons/lib/io/ios-photos.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPhotos extends React.Component { } diff --git a/types/react-icons/lib/io/ios-pie-outline.d.ts b/types/react-icons/lib/io/ios-pie-outline.d.ts new file mode 100644 index 0000000000..a370ac6e6e --- /dev/null +++ b/types/react-icons/lib/io/ios-pie-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPieOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-pie.d.ts b/types/react-icons/lib/io/ios-pie.d.ts new file mode 100644 index 0000000000..4a1c78801a --- /dev/null +++ b/types/react-icons/lib/io/ios-pie.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPie extends React.Component { } diff --git a/types/react-icons/lib/io/ios-pint-outline.d.ts b/types/react-icons/lib/io/ios-pint-outline.d.ts new file mode 100644 index 0000000000..d400fd801a --- /dev/null +++ b/types/react-icons/lib/io/ios-pint-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPintOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-pint.d.ts b/types/react-icons/lib/io/ios-pint.d.ts new file mode 100644 index 0000000000..21bd07ccd5 --- /dev/null +++ b/types/react-icons/lib/io/ios-pint.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPint extends React.Component { } diff --git a/types/react-icons/lib/io/ios-play-outline.d.ts b/types/react-icons/lib/io/ios-play-outline.d.ts new file mode 100644 index 0000000000..4c7a550e46 --- /dev/null +++ b/types/react-icons/lib/io/ios-play-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPlayOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-play.d.ts b/types/react-icons/lib/io/ios-play.d.ts new file mode 100644 index 0000000000..18f66a8f59 --- /dev/null +++ b/types/react-icons/lib/io/ios-play.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPlay extends React.Component { } diff --git a/types/react-icons/lib/io/ios-plus-empty.d.ts b/types/react-icons/lib/io/ios-plus-empty.d.ts new file mode 100644 index 0000000000..a7235d6322 --- /dev/null +++ b/types/react-icons/lib/io/ios-plus-empty.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPlusEmpty extends React.Component { } diff --git a/types/react-icons/lib/io/ios-plus-outline.d.ts b/types/react-icons/lib/io/ios-plus-outline.d.ts new file mode 100644 index 0000000000..719bce1444 --- /dev/null +++ b/types/react-icons/lib/io/ios-plus-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPlusOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-plus.d.ts b/types/react-icons/lib/io/ios-plus.d.ts new file mode 100644 index 0000000000..7d29ea3f40 --- /dev/null +++ b/types/react-icons/lib/io/ios-plus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPlus extends React.Component { } diff --git a/types/react-icons/lib/io/ios-pricetag-outline.d.ts b/types/react-icons/lib/io/ios-pricetag-outline.d.ts new file mode 100644 index 0000000000..23a4c0c869 --- /dev/null +++ b/types/react-icons/lib/io/ios-pricetag-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPricetagOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-pricetag.d.ts b/types/react-icons/lib/io/ios-pricetag.d.ts new file mode 100644 index 0000000000..601743c434 --- /dev/null +++ b/types/react-icons/lib/io/ios-pricetag.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPricetag extends React.Component { } diff --git a/types/react-icons/lib/io/ios-pricetags-outline.d.ts b/types/react-icons/lib/io/ios-pricetags-outline.d.ts new file mode 100644 index 0000000000..0e1e574dac --- /dev/null +++ b/types/react-icons/lib/io/ios-pricetags-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPricetagsOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-pricetags.d.ts b/types/react-icons/lib/io/ios-pricetags.d.ts new file mode 100644 index 0000000000..4cc3aebb75 --- /dev/null +++ b/types/react-icons/lib/io/ios-pricetags.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPricetags extends React.Component { } diff --git a/types/react-icons/lib/io/ios-printer-outline.d.ts b/types/react-icons/lib/io/ios-printer-outline.d.ts new file mode 100644 index 0000000000..d20dcedadf --- /dev/null +++ b/types/react-icons/lib/io/ios-printer-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPrinterOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-printer.d.ts b/types/react-icons/lib/io/ios-printer.d.ts new file mode 100644 index 0000000000..dc9bccfb25 --- /dev/null +++ b/types/react-icons/lib/io/ios-printer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPrinter extends React.Component { } diff --git a/types/react-icons/lib/io/ios-pulse-strong.d.ts b/types/react-icons/lib/io/ios-pulse-strong.d.ts new file mode 100644 index 0000000000..8f7e12017a --- /dev/null +++ b/types/react-icons/lib/io/ios-pulse-strong.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPulseStrong extends React.Component { } diff --git a/types/react-icons/lib/io/ios-pulse.d.ts b/types/react-icons/lib/io/ios-pulse.d.ts new file mode 100644 index 0000000000..a7ff149ddf --- /dev/null +++ b/types/react-icons/lib/io/ios-pulse.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosPulse extends React.Component { } diff --git a/types/react-icons/lib/io/ios-rainy-outline.d.ts b/types/react-icons/lib/io/ios-rainy-outline.d.ts new file mode 100644 index 0000000000..7e283d1cb3 --- /dev/null +++ b/types/react-icons/lib/io/ios-rainy-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosRainyOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-rainy.d.ts b/types/react-icons/lib/io/ios-rainy.d.ts new file mode 100644 index 0000000000..a701475ef0 --- /dev/null +++ b/types/react-icons/lib/io/ios-rainy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosRainy extends React.Component { } diff --git a/types/react-icons/lib/io/ios-recording-outline.d.ts b/types/react-icons/lib/io/ios-recording-outline.d.ts new file mode 100644 index 0000000000..9fc2e6ffca --- /dev/null +++ b/types/react-icons/lib/io/ios-recording-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosRecordingOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-recording.d.ts b/types/react-icons/lib/io/ios-recording.d.ts new file mode 100644 index 0000000000..77d0e299cd --- /dev/null +++ b/types/react-icons/lib/io/ios-recording.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosRecording extends React.Component { } diff --git a/types/react-icons/lib/io/ios-redo-outline.d.ts b/types/react-icons/lib/io/ios-redo-outline.d.ts new file mode 100644 index 0000000000..47bae67c99 --- /dev/null +++ b/types/react-icons/lib/io/ios-redo-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosRedoOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-redo.d.ts b/types/react-icons/lib/io/ios-redo.d.ts new file mode 100644 index 0000000000..0935996be6 --- /dev/null +++ b/types/react-icons/lib/io/ios-redo.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosRedo extends React.Component { } diff --git a/types/react-icons/lib/io/ios-refresh-empty.d.ts b/types/react-icons/lib/io/ios-refresh-empty.d.ts new file mode 100644 index 0000000000..0e7f151339 --- /dev/null +++ b/types/react-icons/lib/io/ios-refresh-empty.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosRefreshEmpty extends React.Component { } diff --git a/types/react-icons/lib/io/ios-refresh-outline.d.ts b/types/react-icons/lib/io/ios-refresh-outline.d.ts new file mode 100644 index 0000000000..7679405065 --- /dev/null +++ b/types/react-icons/lib/io/ios-refresh-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosRefreshOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-refresh.d.ts b/types/react-icons/lib/io/ios-refresh.d.ts new file mode 100644 index 0000000000..420affa507 --- /dev/null +++ b/types/react-icons/lib/io/ios-refresh.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosRefresh extends React.Component { } diff --git a/types/react-icons/lib/io/ios-reload.d.ts b/types/react-icons/lib/io/ios-reload.d.ts new file mode 100644 index 0000000000..93e947db67 --- /dev/null +++ b/types/react-icons/lib/io/ios-reload.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosReload extends React.Component { } diff --git a/types/react-icons/lib/io/ios-reverse-camera-outline.d.ts b/types/react-icons/lib/io/ios-reverse-camera-outline.d.ts new file mode 100644 index 0000000000..808d6ca0bf --- /dev/null +++ b/types/react-icons/lib/io/ios-reverse-camera-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosReverseCameraOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-reverse-camera.d.ts b/types/react-icons/lib/io/ios-reverse-camera.d.ts new file mode 100644 index 0000000000..0e74f82ab0 --- /dev/null +++ b/types/react-icons/lib/io/ios-reverse-camera.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosReverseCamera extends React.Component { } diff --git a/types/react-icons/lib/io/ios-rewind-outline.d.ts b/types/react-icons/lib/io/ios-rewind-outline.d.ts new file mode 100644 index 0000000000..dfc69fc86d --- /dev/null +++ b/types/react-icons/lib/io/ios-rewind-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosRewindOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-rewind.d.ts b/types/react-icons/lib/io/ios-rewind.d.ts new file mode 100644 index 0000000000..7f883de8bf --- /dev/null +++ b/types/react-icons/lib/io/ios-rewind.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosRewind extends React.Component { } diff --git a/types/react-icons/lib/io/ios-rose-outline.d.ts b/types/react-icons/lib/io/ios-rose-outline.d.ts new file mode 100644 index 0000000000..dc112023a5 --- /dev/null +++ b/types/react-icons/lib/io/ios-rose-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosRoseOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-rose.d.ts b/types/react-icons/lib/io/ios-rose.d.ts new file mode 100644 index 0000000000..8cd590321f --- /dev/null +++ b/types/react-icons/lib/io/ios-rose.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosRose extends React.Component { } diff --git a/types/react-icons/lib/io/ios-search-strong.d.ts b/types/react-icons/lib/io/ios-search-strong.d.ts new file mode 100644 index 0000000000..3b0ab67ed2 --- /dev/null +++ b/types/react-icons/lib/io/ios-search-strong.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosSearchStrong extends React.Component { } diff --git a/types/react-icons/lib/io/ios-search.d.ts b/types/react-icons/lib/io/ios-search.d.ts new file mode 100644 index 0000000000..bd95701f4d --- /dev/null +++ b/types/react-icons/lib/io/ios-search.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosSearch extends React.Component { } diff --git a/types/react-icons/lib/io/ios-settings-strong.d.ts b/types/react-icons/lib/io/ios-settings-strong.d.ts new file mode 100644 index 0000000000..0bb6ef49aa --- /dev/null +++ b/types/react-icons/lib/io/ios-settings-strong.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosSettingsStrong extends React.Component { } diff --git a/types/react-icons/lib/io/ios-settings.d.ts b/types/react-icons/lib/io/ios-settings.d.ts new file mode 100644 index 0000000000..26ff75fb04 --- /dev/null +++ b/types/react-icons/lib/io/ios-settings.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosSettings extends React.Component { } diff --git a/types/react-icons/lib/io/ios-shuffle-strong.d.ts b/types/react-icons/lib/io/ios-shuffle-strong.d.ts new file mode 100644 index 0000000000..15d2841c2f --- /dev/null +++ b/types/react-icons/lib/io/ios-shuffle-strong.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosShuffleStrong extends React.Component { } diff --git a/types/react-icons/lib/io/ios-shuffle.d.ts b/types/react-icons/lib/io/ios-shuffle.d.ts new file mode 100644 index 0000000000..305b4ff79b --- /dev/null +++ b/types/react-icons/lib/io/ios-shuffle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosShuffle extends React.Component { } diff --git a/types/react-icons/lib/io/ios-skipbackward-outline.d.ts b/types/react-icons/lib/io/ios-skipbackward-outline.d.ts new file mode 100644 index 0000000000..fa9db170bd --- /dev/null +++ b/types/react-icons/lib/io/ios-skipbackward-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosSkipbackwardOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-skipbackward.d.ts b/types/react-icons/lib/io/ios-skipbackward.d.ts new file mode 100644 index 0000000000..d9b009ed49 --- /dev/null +++ b/types/react-icons/lib/io/ios-skipbackward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosSkipbackward extends React.Component { } diff --git a/types/react-icons/lib/io/ios-skipforward-outline.d.ts b/types/react-icons/lib/io/ios-skipforward-outline.d.ts new file mode 100644 index 0000000000..63c174f6b2 --- /dev/null +++ b/types/react-icons/lib/io/ios-skipforward-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosSkipforwardOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-skipforward.d.ts b/types/react-icons/lib/io/ios-skipforward.d.ts new file mode 100644 index 0000000000..39ce459a57 --- /dev/null +++ b/types/react-icons/lib/io/ios-skipforward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosSkipforward extends React.Component { } diff --git a/types/react-icons/lib/io/ios-snowy.d.ts b/types/react-icons/lib/io/ios-snowy.d.ts new file mode 100644 index 0000000000..f55f087752 --- /dev/null +++ b/types/react-icons/lib/io/ios-snowy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosSnowy extends React.Component { } diff --git a/types/react-icons/lib/io/ios-speedometer-outline.d.ts b/types/react-icons/lib/io/ios-speedometer-outline.d.ts new file mode 100644 index 0000000000..b0263dc761 --- /dev/null +++ b/types/react-icons/lib/io/ios-speedometer-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosSpeedometerOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-speedometer.d.ts b/types/react-icons/lib/io/ios-speedometer.d.ts new file mode 100644 index 0000000000..f5d6862d1a --- /dev/null +++ b/types/react-icons/lib/io/ios-speedometer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosSpeedometer extends React.Component { } diff --git a/types/react-icons/lib/io/ios-star-half.d.ts b/types/react-icons/lib/io/ios-star-half.d.ts new file mode 100644 index 0000000000..03adf4a4d2 --- /dev/null +++ b/types/react-icons/lib/io/ios-star-half.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosStarHalf extends React.Component { } diff --git a/types/react-icons/lib/io/ios-star-outline.d.ts b/types/react-icons/lib/io/ios-star-outline.d.ts new file mode 100644 index 0000000000..61dfe85fc1 --- /dev/null +++ b/types/react-icons/lib/io/ios-star-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosStarOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-star.d.ts b/types/react-icons/lib/io/ios-star.d.ts new file mode 100644 index 0000000000..763d68d34c --- /dev/null +++ b/types/react-icons/lib/io/ios-star.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosStar extends React.Component { } diff --git a/types/react-icons/lib/io/ios-stopwatch-outline.d.ts b/types/react-icons/lib/io/ios-stopwatch-outline.d.ts new file mode 100644 index 0000000000..73a9091d13 --- /dev/null +++ b/types/react-icons/lib/io/ios-stopwatch-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosStopwatchOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-stopwatch.d.ts b/types/react-icons/lib/io/ios-stopwatch.d.ts new file mode 100644 index 0000000000..27bf6e3b40 --- /dev/null +++ b/types/react-icons/lib/io/ios-stopwatch.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosStopwatch extends React.Component { } diff --git a/types/react-icons/lib/io/ios-sunny-outline.d.ts b/types/react-icons/lib/io/ios-sunny-outline.d.ts new file mode 100644 index 0000000000..6c1f62f799 --- /dev/null +++ b/types/react-icons/lib/io/ios-sunny-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosSunnyOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-sunny.d.ts b/types/react-icons/lib/io/ios-sunny.d.ts new file mode 100644 index 0000000000..e570cdf17c --- /dev/null +++ b/types/react-icons/lib/io/ios-sunny.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosSunny extends React.Component { } diff --git a/types/react-icons/lib/io/ios-telephone-outline.d.ts b/types/react-icons/lib/io/ios-telephone-outline.d.ts new file mode 100644 index 0000000000..91d22539d0 --- /dev/null +++ b/types/react-icons/lib/io/ios-telephone-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosTelephoneOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-telephone.d.ts b/types/react-icons/lib/io/ios-telephone.d.ts new file mode 100644 index 0000000000..349826b187 --- /dev/null +++ b/types/react-icons/lib/io/ios-telephone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosTelephone extends React.Component { } diff --git a/types/react-icons/lib/io/ios-tennisball-outline.d.ts b/types/react-icons/lib/io/ios-tennisball-outline.d.ts new file mode 100644 index 0000000000..df889878d4 --- /dev/null +++ b/types/react-icons/lib/io/ios-tennisball-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosTennisballOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-tennisball.d.ts b/types/react-icons/lib/io/ios-tennisball.d.ts new file mode 100644 index 0000000000..177485e5ea --- /dev/null +++ b/types/react-icons/lib/io/ios-tennisball.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosTennisball extends React.Component { } diff --git a/types/react-icons/lib/io/ios-thunderstorm-outline.d.ts b/types/react-icons/lib/io/ios-thunderstorm-outline.d.ts new file mode 100644 index 0000000000..ac3f8120a7 --- /dev/null +++ b/types/react-icons/lib/io/ios-thunderstorm-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosThunderstormOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-thunderstorm.d.ts b/types/react-icons/lib/io/ios-thunderstorm.d.ts new file mode 100644 index 0000000000..9612dc49cc --- /dev/null +++ b/types/react-icons/lib/io/ios-thunderstorm.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosThunderstorm extends React.Component { } diff --git a/types/react-icons/lib/io/ios-time-outline.d.ts b/types/react-icons/lib/io/ios-time-outline.d.ts new file mode 100644 index 0000000000..8067387f05 --- /dev/null +++ b/types/react-icons/lib/io/ios-time-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosTimeOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-time.d.ts b/types/react-icons/lib/io/ios-time.d.ts new file mode 100644 index 0000000000..cdc944bd0b --- /dev/null +++ b/types/react-icons/lib/io/ios-time.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosTime extends React.Component { } diff --git a/types/react-icons/lib/io/ios-timer-outline.d.ts b/types/react-icons/lib/io/ios-timer-outline.d.ts new file mode 100644 index 0000000000..21b2cdca0f --- /dev/null +++ b/types/react-icons/lib/io/ios-timer-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosTimerOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-timer.d.ts b/types/react-icons/lib/io/ios-timer.d.ts new file mode 100644 index 0000000000..729f3f79d4 --- /dev/null +++ b/types/react-icons/lib/io/ios-timer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosTimer extends React.Component { } diff --git a/types/react-icons/lib/io/ios-toggle-outline.d.ts b/types/react-icons/lib/io/ios-toggle-outline.d.ts new file mode 100644 index 0000000000..fa23191d8c --- /dev/null +++ b/types/react-icons/lib/io/ios-toggle-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosToggleOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-toggle.d.ts b/types/react-icons/lib/io/ios-toggle.d.ts new file mode 100644 index 0000000000..e01579ec53 --- /dev/null +++ b/types/react-icons/lib/io/ios-toggle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosToggle extends React.Component { } diff --git a/types/react-icons/lib/io/ios-trash-outline.d.ts b/types/react-icons/lib/io/ios-trash-outline.d.ts new file mode 100644 index 0000000000..55412f0ae2 --- /dev/null +++ b/types/react-icons/lib/io/ios-trash-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosTrashOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-trash.d.ts b/types/react-icons/lib/io/ios-trash.d.ts new file mode 100644 index 0000000000..296e42671e --- /dev/null +++ b/types/react-icons/lib/io/ios-trash.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosTrash extends React.Component { } diff --git a/types/react-icons/lib/io/ios-undo-outline.d.ts b/types/react-icons/lib/io/ios-undo-outline.d.ts new file mode 100644 index 0000000000..093074d857 --- /dev/null +++ b/types/react-icons/lib/io/ios-undo-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosUndoOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-undo.d.ts b/types/react-icons/lib/io/ios-undo.d.ts new file mode 100644 index 0000000000..4bcdef2e88 --- /dev/null +++ b/types/react-icons/lib/io/ios-undo.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosUndo extends React.Component { } diff --git a/types/react-icons/lib/io/ios-unlocked-outline.d.ts b/types/react-icons/lib/io/ios-unlocked-outline.d.ts new file mode 100644 index 0000000000..d14b0f7ffc --- /dev/null +++ b/types/react-icons/lib/io/ios-unlocked-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosUnlockedOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-unlocked.d.ts b/types/react-icons/lib/io/ios-unlocked.d.ts new file mode 100644 index 0000000000..d873e5f8d1 --- /dev/null +++ b/types/react-icons/lib/io/ios-unlocked.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosUnlocked extends React.Component { } diff --git a/types/react-icons/lib/io/ios-upload-outline.d.ts b/types/react-icons/lib/io/ios-upload-outline.d.ts new file mode 100644 index 0000000000..5f397a2bd8 --- /dev/null +++ b/types/react-icons/lib/io/ios-upload-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosUploadOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-upload.d.ts b/types/react-icons/lib/io/ios-upload.d.ts new file mode 100644 index 0000000000..5b9acf6b9c --- /dev/null +++ b/types/react-icons/lib/io/ios-upload.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosUpload extends React.Component { } diff --git a/types/react-icons/lib/io/ios-videocam-outline.d.ts b/types/react-icons/lib/io/ios-videocam-outline.d.ts new file mode 100644 index 0000000000..96fac95c0e --- /dev/null +++ b/types/react-icons/lib/io/ios-videocam-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosVideocamOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-videocam.d.ts b/types/react-icons/lib/io/ios-videocam.d.ts new file mode 100644 index 0000000000..a55ede9155 --- /dev/null +++ b/types/react-icons/lib/io/ios-videocam.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosVideocam extends React.Component { } diff --git a/types/react-icons/lib/io/ios-volume-high.d.ts b/types/react-icons/lib/io/ios-volume-high.d.ts new file mode 100644 index 0000000000..9ae46e1936 --- /dev/null +++ b/types/react-icons/lib/io/ios-volume-high.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosVolumeHigh extends React.Component { } diff --git a/types/react-icons/lib/io/ios-volume-low.d.ts b/types/react-icons/lib/io/ios-volume-low.d.ts new file mode 100644 index 0000000000..402ee999cb --- /dev/null +++ b/types/react-icons/lib/io/ios-volume-low.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosVolumeLow extends React.Component { } diff --git a/types/react-icons/lib/io/ios-wineglass-outline.d.ts b/types/react-icons/lib/io/ios-wineglass-outline.d.ts new file mode 100644 index 0000000000..3e34e8f73d --- /dev/null +++ b/types/react-icons/lib/io/ios-wineglass-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosWineglassOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-wineglass.d.ts b/types/react-icons/lib/io/ios-wineglass.d.ts new file mode 100644 index 0000000000..aaf3e6bd56 --- /dev/null +++ b/types/react-icons/lib/io/ios-wineglass.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosWineglass extends React.Component { } diff --git a/types/react-icons/lib/io/ios-world-outline.d.ts b/types/react-icons/lib/io/ios-world-outline.d.ts new file mode 100644 index 0000000000..4b5d4ab7b1 --- /dev/null +++ b/types/react-icons/lib/io/ios-world-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosWorldOutline extends React.Component { } diff --git a/types/react-icons/lib/io/ios-world.d.ts b/types/react-icons/lib/io/ios-world.d.ts new file mode 100644 index 0000000000..6a2b5a3392 --- /dev/null +++ b/types/react-icons/lib/io/ios-world.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIosWorld extends React.Component { } diff --git a/types/react-icons/lib/io/ipad.d.ts b/types/react-icons/lib/io/ipad.d.ts new file mode 100644 index 0000000000..5f534f3a70 --- /dev/null +++ b/types/react-icons/lib/io/ipad.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIpad extends React.Component { } diff --git a/types/react-icons/lib/io/iphone.d.ts b/types/react-icons/lib/io/iphone.d.ts new file mode 100644 index 0000000000..4b4fc084d6 --- /dev/null +++ b/types/react-icons/lib/io/iphone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIphone extends React.Component { } diff --git a/types/react-icons/lib/io/ipod.d.ts b/types/react-icons/lib/io/ipod.d.ts new file mode 100644 index 0000000000..793b8f7f92 --- /dev/null +++ b/types/react-icons/lib/io/ipod.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoIpod extends React.Component { } diff --git a/types/react-icons/lib/io/jet.d.ts b/types/react-icons/lib/io/jet.d.ts new file mode 100644 index 0000000000..7f8ef429e2 --- /dev/null +++ b/types/react-icons/lib/io/jet.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoJet extends React.Component { } diff --git a/types/react-icons/lib/io/key.d.ts b/types/react-icons/lib/io/key.d.ts new file mode 100644 index 0000000000..8a84a24518 --- /dev/null +++ b/types/react-icons/lib/io/key.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoKey extends React.Component { } diff --git a/types/react-icons/lib/io/knife.d.ts b/types/react-icons/lib/io/knife.d.ts new file mode 100644 index 0000000000..f9683f399b --- /dev/null +++ b/types/react-icons/lib/io/knife.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoKnife extends React.Component { } diff --git a/types/react-icons/lib/io/laptop.d.ts b/types/react-icons/lib/io/laptop.d.ts new file mode 100644 index 0000000000..ffd3252609 --- /dev/null +++ b/types/react-icons/lib/io/laptop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoLaptop extends React.Component { } diff --git a/types/react-icons/lib/io/leaf.d.ts b/types/react-icons/lib/io/leaf.d.ts new file mode 100644 index 0000000000..bc0235a24a --- /dev/null +++ b/types/react-icons/lib/io/leaf.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoLeaf extends React.Component { } diff --git a/types/react-icons/lib/io/levels.d.ts b/types/react-icons/lib/io/levels.d.ts new file mode 100644 index 0000000000..0bd2e2c1e9 --- /dev/null +++ b/types/react-icons/lib/io/levels.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoLevels extends React.Component { } diff --git a/types/react-icons/lib/io/lightbulb.d.ts b/types/react-icons/lib/io/lightbulb.d.ts new file mode 100644 index 0000000000..c16e16a2fa --- /dev/null +++ b/types/react-icons/lib/io/lightbulb.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoLightbulb extends React.Component { } diff --git a/types/react-icons/lib/io/link.d.ts b/types/react-icons/lib/io/link.d.ts new file mode 100644 index 0000000000..c0c376d736 --- /dev/null +++ b/types/react-icons/lib/io/link.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoLink extends React.Component { } diff --git a/types/react-icons/lib/io/load-a.d.ts b/types/react-icons/lib/io/load-a.d.ts new file mode 100644 index 0000000000..bf0b3ec100 --- /dev/null +++ b/types/react-icons/lib/io/load-a.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoLoadA extends React.Component { } diff --git a/types/react-icons/lib/io/load-b.d.ts b/types/react-icons/lib/io/load-b.d.ts new file mode 100644 index 0000000000..85dcae989a --- /dev/null +++ b/types/react-icons/lib/io/load-b.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoLoadB extends React.Component { } diff --git a/types/react-icons/lib/io/load-c.d.ts b/types/react-icons/lib/io/load-c.d.ts new file mode 100644 index 0000000000..733dff4bfa --- /dev/null +++ b/types/react-icons/lib/io/load-c.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoLoadC extends React.Component { } diff --git a/types/react-icons/lib/io/load-d.d.ts b/types/react-icons/lib/io/load-d.d.ts new file mode 100644 index 0000000000..160d71b383 --- /dev/null +++ b/types/react-icons/lib/io/load-d.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoLoadD extends React.Component { } diff --git a/types/react-icons/lib/io/location.d.ts b/types/react-icons/lib/io/location.d.ts new file mode 100644 index 0000000000..04e657adc4 --- /dev/null +++ b/types/react-icons/lib/io/location.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoLocation extends React.Component { } diff --git a/types/react-icons/lib/io/lock-combination.d.ts b/types/react-icons/lib/io/lock-combination.d.ts new file mode 100644 index 0000000000..d25e21ded1 --- /dev/null +++ b/types/react-icons/lib/io/lock-combination.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoLockCombination extends React.Component { } diff --git a/types/react-icons/lib/io/locked.d.ts b/types/react-icons/lib/io/locked.d.ts new file mode 100644 index 0000000000..db82275a8e --- /dev/null +++ b/types/react-icons/lib/io/locked.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoLocked extends React.Component { } diff --git a/types/react-icons/lib/io/log-in.d.ts b/types/react-icons/lib/io/log-in.d.ts new file mode 100644 index 0000000000..bb045baf8e --- /dev/null +++ b/types/react-icons/lib/io/log-in.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoLogIn extends React.Component { } diff --git a/types/react-icons/lib/io/log-out.d.ts b/types/react-icons/lib/io/log-out.d.ts new file mode 100644 index 0000000000..0374ff539d --- /dev/null +++ b/types/react-icons/lib/io/log-out.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoLogOut extends React.Component { } diff --git a/types/react-icons/lib/io/loop.d.ts b/types/react-icons/lib/io/loop.d.ts new file mode 100644 index 0000000000..2f5d563c07 --- /dev/null +++ b/types/react-icons/lib/io/loop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoLoop extends React.Component { } diff --git a/types/react-icons/lib/io/magnet.d.ts b/types/react-icons/lib/io/magnet.d.ts new file mode 100644 index 0000000000..b8625a2ccf --- /dev/null +++ b/types/react-icons/lib/io/magnet.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoMagnet extends React.Component { } diff --git a/types/react-icons/lib/io/male.d.ts b/types/react-icons/lib/io/male.d.ts new file mode 100644 index 0000000000..62bfbd5067 --- /dev/null +++ b/types/react-icons/lib/io/male.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoMale extends React.Component { } diff --git a/types/react-icons/lib/io/man.d.ts b/types/react-icons/lib/io/man.d.ts new file mode 100644 index 0000000000..2770ac14e2 --- /dev/null +++ b/types/react-icons/lib/io/man.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoMan extends React.Component { } diff --git a/types/react-icons/lib/io/map.d.ts b/types/react-icons/lib/io/map.d.ts new file mode 100644 index 0000000000..4c48512de6 --- /dev/null +++ b/types/react-icons/lib/io/map.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoMap extends React.Component { } diff --git a/types/react-icons/lib/io/medkit.d.ts b/types/react-icons/lib/io/medkit.d.ts new file mode 100644 index 0000000000..e15728387c --- /dev/null +++ b/types/react-icons/lib/io/medkit.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoMedkit extends React.Component { } diff --git a/types/react-icons/lib/io/merge.d.ts b/types/react-icons/lib/io/merge.d.ts new file mode 100644 index 0000000000..6a41308d9b --- /dev/null +++ b/types/react-icons/lib/io/merge.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoMerge extends React.Component { } diff --git a/types/react-icons/lib/io/mic-a.d.ts b/types/react-icons/lib/io/mic-a.d.ts new file mode 100644 index 0000000000..c5cf11831d --- /dev/null +++ b/types/react-icons/lib/io/mic-a.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoMicA extends React.Component { } diff --git a/types/react-icons/lib/io/mic-b.d.ts b/types/react-icons/lib/io/mic-b.d.ts new file mode 100644 index 0000000000..68a0acf707 --- /dev/null +++ b/types/react-icons/lib/io/mic-b.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoMicB extends React.Component { } diff --git a/types/react-icons/lib/io/mic-c.d.ts b/types/react-icons/lib/io/mic-c.d.ts new file mode 100644 index 0000000000..2d8ddc3be6 --- /dev/null +++ b/types/react-icons/lib/io/mic-c.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoMicC extends React.Component { } diff --git a/types/react-icons/lib/io/minus-circled.d.ts b/types/react-icons/lib/io/minus-circled.d.ts new file mode 100644 index 0000000000..1b5edd59e7 --- /dev/null +++ b/types/react-icons/lib/io/minus-circled.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoMinusCircled extends React.Component { } diff --git a/types/react-icons/lib/io/minus-round.d.ts b/types/react-icons/lib/io/minus-round.d.ts new file mode 100644 index 0000000000..1a75a9c5d4 --- /dev/null +++ b/types/react-icons/lib/io/minus-round.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoMinusRound extends React.Component { } diff --git a/types/react-icons/lib/io/minus.d.ts b/types/react-icons/lib/io/minus.d.ts new file mode 100644 index 0000000000..ee58f016db --- /dev/null +++ b/types/react-icons/lib/io/minus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoMinus extends React.Component { } diff --git a/types/react-icons/lib/io/model-s.d.ts b/types/react-icons/lib/io/model-s.d.ts new file mode 100644 index 0000000000..567219cde6 --- /dev/null +++ b/types/react-icons/lib/io/model-s.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoModelS extends React.Component { } diff --git a/types/react-icons/lib/io/monitor.d.ts b/types/react-icons/lib/io/monitor.d.ts new file mode 100644 index 0000000000..3454bea09f --- /dev/null +++ b/types/react-icons/lib/io/monitor.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoMonitor extends React.Component { } diff --git a/types/react-icons/lib/io/more.d.ts b/types/react-icons/lib/io/more.d.ts new file mode 100644 index 0000000000..2c528b5bae --- /dev/null +++ b/types/react-icons/lib/io/more.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoMore extends React.Component { } diff --git a/types/react-icons/lib/io/mouse.d.ts b/types/react-icons/lib/io/mouse.d.ts new file mode 100644 index 0000000000..af862564ba --- /dev/null +++ b/types/react-icons/lib/io/mouse.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoMouse extends React.Component { } diff --git a/types/react-icons/lib/io/music-note.d.ts b/types/react-icons/lib/io/music-note.d.ts new file mode 100644 index 0000000000..92875eb08a --- /dev/null +++ b/types/react-icons/lib/io/music-note.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoMusicNote extends React.Component { } diff --git a/types/react-icons/lib/io/navicon-round.d.ts b/types/react-icons/lib/io/navicon-round.d.ts new file mode 100644 index 0000000000..5d1bc53526 --- /dev/null +++ b/types/react-icons/lib/io/navicon-round.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoNaviconRound extends React.Component { } diff --git a/types/react-icons/lib/io/navicon.d.ts b/types/react-icons/lib/io/navicon.d.ts new file mode 100644 index 0000000000..cdae5d7238 --- /dev/null +++ b/types/react-icons/lib/io/navicon.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoNavicon extends React.Component { } diff --git a/types/react-icons/lib/io/navigate.d.ts b/types/react-icons/lib/io/navigate.d.ts new file mode 100644 index 0000000000..2fe67c17b2 --- /dev/null +++ b/types/react-icons/lib/io/navigate.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoNavigate extends React.Component { } diff --git a/types/react-icons/lib/io/network.d.ts b/types/react-icons/lib/io/network.d.ts new file mode 100644 index 0000000000..359c0abbd2 --- /dev/null +++ b/types/react-icons/lib/io/network.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoNetwork extends React.Component { } diff --git a/types/react-icons/lib/io/no-smoking.d.ts b/types/react-icons/lib/io/no-smoking.d.ts new file mode 100644 index 0000000000..074789127a --- /dev/null +++ b/types/react-icons/lib/io/no-smoking.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoNoSmoking extends React.Component { } diff --git a/types/react-icons/lib/io/nuclear.d.ts b/types/react-icons/lib/io/nuclear.d.ts new file mode 100644 index 0000000000..559674f85e --- /dev/null +++ b/types/react-icons/lib/io/nuclear.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoNuclear extends React.Component { } diff --git a/types/react-icons/lib/io/outlet.d.ts b/types/react-icons/lib/io/outlet.d.ts new file mode 100644 index 0000000000..f68de98cb1 --- /dev/null +++ b/types/react-icons/lib/io/outlet.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoOutlet extends React.Component { } diff --git a/types/react-icons/lib/io/paintbrush.d.ts b/types/react-icons/lib/io/paintbrush.d.ts new file mode 100644 index 0000000000..1cc12bebca --- /dev/null +++ b/types/react-icons/lib/io/paintbrush.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPaintbrush extends React.Component { } diff --git a/types/react-icons/lib/io/paintbucket.d.ts b/types/react-icons/lib/io/paintbucket.d.ts new file mode 100644 index 0000000000..0e6dce8aa7 --- /dev/null +++ b/types/react-icons/lib/io/paintbucket.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPaintbucket extends React.Component { } diff --git a/types/react-icons/lib/io/paper-airplane.d.ts b/types/react-icons/lib/io/paper-airplane.d.ts new file mode 100644 index 0000000000..e5c2d64cb8 --- /dev/null +++ b/types/react-icons/lib/io/paper-airplane.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPaperAirplane extends React.Component { } diff --git a/types/react-icons/lib/io/paperclip.d.ts b/types/react-icons/lib/io/paperclip.d.ts new file mode 100644 index 0000000000..cb9463bdf1 --- /dev/null +++ b/types/react-icons/lib/io/paperclip.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPaperclip extends React.Component { } diff --git a/types/react-icons/lib/io/pause.d.ts b/types/react-icons/lib/io/pause.d.ts new file mode 100644 index 0000000000..2680c5b1b4 --- /dev/null +++ b/types/react-icons/lib/io/pause.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPause extends React.Component { } diff --git a/types/react-icons/lib/io/person-add.d.ts b/types/react-icons/lib/io/person-add.d.ts new file mode 100644 index 0000000000..43a66e58c0 --- /dev/null +++ b/types/react-icons/lib/io/person-add.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPersonAdd extends React.Component { } diff --git a/types/react-icons/lib/io/person-stalker.d.ts b/types/react-icons/lib/io/person-stalker.d.ts new file mode 100644 index 0000000000..59ed89e000 --- /dev/null +++ b/types/react-icons/lib/io/person-stalker.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPersonStalker extends React.Component { } diff --git a/types/react-icons/lib/io/person.d.ts b/types/react-icons/lib/io/person.d.ts new file mode 100644 index 0000000000..0970df9ab0 --- /dev/null +++ b/types/react-icons/lib/io/person.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPerson extends React.Component { } diff --git a/types/react-icons/lib/io/pie-graph.d.ts b/types/react-icons/lib/io/pie-graph.d.ts new file mode 100644 index 0000000000..4171c0ee1d --- /dev/null +++ b/types/react-icons/lib/io/pie-graph.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPieGraph extends React.Component { } diff --git a/types/react-icons/lib/io/pin.d.ts b/types/react-icons/lib/io/pin.d.ts new file mode 100644 index 0000000000..7e1d58f30e --- /dev/null +++ b/types/react-icons/lib/io/pin.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPin extends React.Component { } diff --git a/types/react-icons/lib/io/pinpoint.d.ts b/types/react-icons/lib/io/pinpoint.d.ts new file mode 100644 index 0000000000..8ecf88a45b --- /dev/null +++ b/types/react-icons/lib/io/pinpoint.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPinpoint extends React.Component { } diff --git a/types/react-icons/lib/io/pizza.d.ts b/types/react-icons/lib/io/pizza.d.ts new file mode 100644 index 0000000000..ef5ce7525b --- /dev/null +++ b/types/react-icons/lib/io/pizza.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPizza extends React.Component { } diff --git a/types/react-icons/lib/io/plane.d.ts b/types/react-icons/lib/io/plane.d.ts new file mode 100644 index 0000000000..9f0b2eaff2 --- /dev/null +++ b/types/react-icons/lib/io/plane.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPlane extends React.Component { } diff --git a/types/react-icons/lib/io/planet.d.ts b/types/react-icons/lib/io/planet.d.ts new file mode 100644 index 0000000000..b91ae2a503 --- /dev/null +++ b/types/react-icons/lib/io/planet.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPlanet extends React.Component { } diff --git a/types/react-icons/lib/io/play.d.ts b/types/react-icons/lib/io/play.d.ts new file mode 100644 index 0000000000..8a66797eb2 --- /dev/null +++ b/types/react-icons/lib/io/play.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPlay extends React.Component { } diff --git a/types/react-icons/lib/io/playstation.d.ts b/types/react-icons/lib/io/playstation.d.ts new file mode 100644 index 0000000000..315eecce09 --- /dev/null +++ b/types/react-icons/lib/io/playstation.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPlaystation extends React.Component { } diff --git a/types/react-icons/lib/io/plus-circled.d.ts b/types/react-icons/lib/io/plus-circled.d.ts new file mode 100644 index 0000000000..a74703c85d --- /dev/null +++ b/types/react-icons/lib/io/plus-circled.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPlusCircled extends React.Component { } diff --git a/types/react-icons/lib/io/plus-round.d.ts b/types/react-icons/lib/io/plus-round.d.ts new file mode 100644 index 0000000000..3e7ba67f3a --- /dev/null +++ b/types/react-icons/lib/io/plus-round.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPlusRound extends React.Component { } diff --git a/types/react-icons/lib/io/plus.d.ts b/types/react-icons/lib/io/plus.d.ts new file mode 100644 index 0000000000..f61bf82a1a --- /dev/null +++ b/types/react-icons/lib/io/plus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPlus extends React.Component { } diff --git a/types/react-icons/lib/io/podium.d.ts b/types/react-icons/lib/io/podium.d.ts new file mode 100644 index 0000000000..af2e204331 --- /dev/null +++ b/types/react-icons/lib/io/podium.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPodium extends React.Component { } diff --git a/types/react-icons/lib/io/pound.d.ts b/types/react-icons/lib/io/pound.d.ts new file mode 100644 index 0000000000..b7b2e28b9e --- /dev/null +++ b/types/react-icons/lib/io/pound.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPound extends React.Component { } diff --git a/types/react-icons/lib/io/power.d.ts b/types/react-icons/lib/io/power.d.ts new file mode 100644 index 0000000000..f41d3d5e00 --- /dev/null +++ b/types/react-icons/lib/io/power.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPower extends React.Component { } diff --git a/types/react-icons/lib/io/pricetag.d.ts b/types/react-icons/lib/io/pricetag.d.ts new file mode 100644 index 0000000000..b8f2d47c03 --- /dev/null +++ b/types/react-icons/lib/io/pricetag.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPricetag extends React.Component { } diff --git a/types/react-icons/lib/io/pricetags.d.ts b/types/react-icons/lib/io/pricetags.d.ts new file mode 100644 index 0000000000..cca52cc061 --- /dev/null +++ b/types/react-icons/lib/io/pricetags.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPricetags extends React.Component { } diff --git a/types/react-icons/lib/io/printer.d.ts b/types/react-icons/lib/io/printer.d.ts new file mode 100644 index 0000000000..33bc74b2c2 --- /dev/null +++ b/types/react-icons/lib/io/printer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPrinter extends React.Component { } diff --git a/types/react-icons/lib/io/pull-request.d.ts b/types/react-icons/lib/io/pull-request.d.ts new file mode 100644 index 0000000000..b788efefdc --- /dev/null +++ b/types/react-icons/lib/io/pull-request.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoPullRequest extends React.Component { } diff --git a/types/react-icons/lib/io/qr-scanner.d.ts b/types/react-icons/lib/io/qr-scanner.d.ts new file mode 100644 index 0000000000..77b1ca1dcf --- /dev/null +++ b/types/react-icons/lib/io/qr-scanner.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoQrScanner extends React.Component { } diff --git a/types/react-icons/lib/io/quote.d.ts b/types/react-icons/lib/io/quote.d.ts new file mode 100644 index 0000000000..ac7f5d32ef --- /dev/null +++ b/types/react-icons/lib/io/quote.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoQuote extends React.Component { } diff --git a/types/react-icons/lib/io/radio-waves.d.ts b/types/react-icons/lib/io/radio-waves.d.ts new file mode 100644 index 0000000000..0b67b79379 --- /dev/null +++ b/types/react-icons/lib/io/radio-waves.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoRadioWaves extends React.Component { } diff --git a/types/react-icons/lib/io/record.d.ts b/types/react-icons/lib/io/record.d.ts new file mode 100644 index 0000000000..dd7cd7a65f --- /dev/null +++ b/types/react-icons/lib/io/record.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoRecord extends React.Component { } diff --git a/types/react-icons/lib/io/refresh.d.ts b/types/react-icons/lib/io/refresh.d.ts new file mode 100644 index 0000000000..8712271741 --- /dev/null +++ b/types/react-icons/lib/io/refresh.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoRefresh extends React.Component { } diff --git a/types/react-icons/lib/io/reply-all.d.ts b/types/react-icons/lib/io/reply-all.d.ts new file mode 100644 index 0000000000..568a1f8dd4 --- /dev/null +++ b/types/react-icons/lib/io/reply-all.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoReplyAll extends React.Component { } diff --git a/types/react-icons/lib/io/reply.d.ts b/types/react-icons/lib/io/reply.d.ts new file mode 100644 index 0000000000..628b3c6ade --- /dev/null +++ b/types/react-icons/lib/io/reply.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoReply extends React.Component { } diff --git a/types/react-icons/lib/io/ribbon-a.d.ts b/types/react-icons/lib/io/ribbon-a.d.ts new file mode 100644 index 0000000000..38d15e1fd1 --- /dev/null +++ b/types/react-icons/lib/io/ribbon-a.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoRibbonA extends React.Component { } diff --git a/types/react-icons/lib/io/ribbon-b.d.ts b/types/react-icons/lib/io/ribbon-b.d.ts new file mode 100644 index 0000000000..8e2ba836cc --- /dev/null +++ b/types/react-icons/lib/io/ribbon-b.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoRibbonB extends React.Component { } diff --git a/types/react-icons/lib/io/sad-outline.d.ts b/types/react-icons/lib/io/sad-outline.d.ts new file mode 100644 index 0000000000..07ef27ecfb --- /dev/null +++ b/types/react-icons/lib/io/sad-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSadOutline extends React.Component { } diff --git a/types/react-icons/lib/io/sad.d.ts b/types/react-icons/lib/io/sad.d.ts new file mode 100644 index 0000000000..de6e0e3b98 --- /dev/null +++ b/types/react-icons/lib/io/sad.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSad extends React.Component { } diff --git a/types/react-icons/lib/io/scissors.d.ts b/types/react-icons/lib/io/scissors.d.ts new file mode 100644 index 0000000000..18b40acd88 --- /dev/null +++ b/types/react-icons/lib/io/scissors.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoScissors extends React.Component { } diff --git a/types/react-icons/lib/io/search.d.ts b/types/react-icons/lib/io/search.d.ts new file mode 100644 index 0000000000..00175f972b --- /dev/null +++ b/types/react-icons/lib/io/search.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSearch extends React.Component { } diff --git a/types/react-icons/lib/io/settings.d.ts b/types/react-icons/lib/io/settings.d.ts new file mode 100644 index 0000000000..b5793e8679 --- /dev/null +++ b/types/react-icons/lib/io/settings.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSettings extends React.Component { } diff --git a/types/react-icons/lib/io/share.d.ts b/types/react-icons/lib/io/share.d.ts new file mode 100644 index 0000000000..ba6d9a210a --- /dev/null +++ b/types/react-icons/lib/io/share.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoShare extends React.Component { } diff --git a/types/react-icons/lib/io/shuffle.d.ts b/types/react-icons/lib/io/shuffle.d.ts new file mode 100644 index 0000000000..fb4bf71aad --- /dev/null +++ b/types/react-icons/lib/io/shuffle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoShuffle extends React.Component { } diff --git a/types/react-icons/lib/io/skip-backward.d.ts b/types/react-icons/lib/io/skip-backward.d.ts new file mode 100644 index 0000000000..94bf5675c3 --- /dev/null +++ b/types/react-icons/lib/io/skip-backward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSkipBackward extends React.Component { } diff --git a/types/react-icons/lib/io/skip-forward.d.ts b/types/react-icons/lib/io/skip-forward.d.ts new file mode 100644 index 0000000000..7912bd2dfa --- /dev/null +++ b/types/react-icons/lib/io/skip-forward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSkipForward extends React.Component { } diff --git a/types/react-icons/lib/io/social-android-outline.d.ts b/types/react-icons/lib/io/social-android-outline.d.ts new file mode 100644 index 0000000000..3b306ef4a2 --- /dev/null +++ b/types/react-icons/lib/io/social-android-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialAndroidOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-android.d.ts b/types/react-icons/lib/io/social-android.d.ts new file mode 100644 index 0000000000..362c2af2c5 --- /dev/null +++ b/types/react-icons/lib/io/social-android.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialAndroid extends React.Component { } diff --git a/types/react-icons/lib/io/social-angular-outline.d.ts b/types/react-icons/lib/io/social-angular-outline.d.ts new file mode 100644 index 0000000000..be0ad623a7 --- /dev/null +++ b/types/react-icons/lib/io/social-angular-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialAngularOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-angular.d.ts b/types/react-icons/lib/io/social-angular.d.ts new file mode 100644 index 0000000000..0286fd5c24 --- /dev/null +++ b/types/react-icons/lib/io/social-angular.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialAngular extends React.Component { } diff --git a/types/react-icons/lib/io/social-apple-outline.d.ts b/types/react-icons/lib/io/social-apple-outline.d.ts new file mode 100644 index 0000000000..13ef33d192 --- /dev/null +++ b/types/react-icons/lib/io/social-apple-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialAppleOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-apple.d.ts b/types/react-icons/lib/io/social-apple.d.ts new file mode 100644 index 0000000000..bece372480 --- /dev/null +++ b/types/react-icons/lib/io/social-apple.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialApple extends React.Component { } diff --git a/types/react-icons/lib/io/social-bitcoin-outline.d.ts b/types/react-icons/lib/io/social-bitcoin-outline.d.ts new file mode 100644 index 0000000000..9044d3dc51 --- /dev/null +++ b/types/react-icons/lib/io/social-bitcoin-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialBitcoinOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-bitcoin.d.ts b/types/react-icons/lib/io/social-bitcoin.d.ts new file mode 100644 index 0000000000..f13a9ca0e2 --- /dev/null +++ b/types/react-icons/lib/io/social-bitcoin.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialBitcoin extends React.Component { } diff --git a/types/react-icons/lib/io/social-buffer-outline.d.ts b/types/react-icons/lib/io/social-buffer-outline.d.ts new file mode 100644 index 0000000000..073a4d3256 --- /dev/null +++ b/types/react-icons/lib/io/social-buffer-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialBufferOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-buffer.d.ts b/types/react-icons/lib/io/social-buffer.d.ts new file mode 100644 index 0000000000..8f103cbc23 --- /dev/null +++ b/types/react-icons/lib/io/social-buffer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialBuffer extends React.Component { } diff --git a/types/react-icons/lib/io/social-chrome-outline.d.ts b/types/react-icons/lib/io/social-chrome-outline.d.ts new file mode 100644 index 0000000000..e0b96d90a9 --- /dev/null +++ b/types/react-icons/lib/io/social-chrome-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialChromeOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-chrome.d.ts b/types/react-icons/lib/io/social-chrome.d.ts new file mode 100644 index 0000000000..a98ec53c7b --- /dev/null +++ b/types/react-icons/lib/io/social-chrome.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialChrome extends React.Component { } diff --git a/types/react-icons/lib/io/social-codepen-outline.d.ts b/types/react-icons/lib/io/social-codepen-outline.d.ts new file mode 100644 index 0000000000..86affb85f1 --- /dev/null +++ b/types/react-icons/lib/io/social-codepen-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialCodepenOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-codepen.d.ts b/types/react-icons/lib/io/social-codepen.d.ts new file mode 100644 index 0000000000..bd6d0fe2ff --- /dev/null +++ b/types/react-icons/lib/io/social-codepen.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialCodepen extends React.Component { } diff --git a/types/react-icons/lib/io/social-css3-outline.d.ts b/types/react-icons/lib/io/social-css3-outline.d.ts new file mode 100644 index 0000000000..0d792c0e6a --- /dev/null +++ b/types/react-icons/lib/io/social-css3-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialCss3Outline extends React.Component { } diff --git a/types/react-icons/lib/io/social-css3.d.ts b/types/react-icons/lib/io/social-css3.d.ts new file mode 100644 index 0000000000..f8ef55d480 --- /dev/null +++ b/types/react-icons/lib/io/social-css3.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialCss3 extends React.Component { } diff --git a/types/react-icons/lib/io/social-designernews-outline.d.ts b/types/react-icons/lib/io/social-designernews-outline.d.ts new file mode 100644 index 0000000000..9a84d73221 --- /dev/null +++ b/types/react-icons/lib/io/social-designernews-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialDesignernewsOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-designernews.d.ts b/types/react-icons/lib/io/social-designernews.d.ts new file mode 100644 index 0000000000..b7f5b92381 --- /dev/null +++ b/types/react-icons/lib/io/social-designernews.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialDesignernews extends React.Component { } diff --git a/types/react-icons/lib/io/social-dribbble-outline.d.ts b/types/react-icons/lib/io/social-dribbble-outline.d.ts new file mode 100644 index 0000000000..ba7a99e3ab --- /dev/null +++ b/types/react-icons/lib/io/social-dribbble-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialDribbbleOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-dribbble.d.ts b/types/react-icons/lib/io/social-dribbble.d.ts new file mode 100644 index 0000000000..ef43f8d862 --- /dev/null +++ b/types/react-icons/lib/io/social-dribbble.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialDribbble extends React.Component { } diff --git a/types/react-icons/lib/io/social-dropbox-outline.d.ts b/types/react-icons/lib/io/social-dropbox-outline.d.ts new file mode 100644 index 0000000000..71959da367 --- /dev/null +++ b/types/react-icons/lib/io/social-dropbox-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialDropboxOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-dropbox.d.ts b/types/react-icons/lib/io/social-dropbox.d.ts new file mode 100644 index 0000000000..e0f243a8fa --- /dev/null +++ b/types/react-icons/lib/io/social-dropbox.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialDropbox extends React.Component { } diff --git a/types/react-icons/lib/io/social-euro-outline.d.ts b/types/react-icons/lib/io/social-euro-outline.d.ts new file mode 100644 index 0000000000..ec55bb73a5 --- /dev/null +++ b/types/react-icons/lib/io/social-euro-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialEuroOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-euro.d.ts b/types/react-icons/lib/io/social-euro.d.ts new file mode 100644 index 0000000000..b0b70b5796 --- /dev/null +++ b/types/react-icons/lib/io/social-euro.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialEuro extends React.Component { } diff --git a/types/react-icons/lib/io/social-facebook-outline.d.ts b/types/react-icons/lib/io/social-facebook-outline.d.ts new file mode 100644 index 0000000000..fce2eda2b9 --- /dev/null +++ b/types/react-icons/lib/io/social-facebook-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialFacebookOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-facebook.d.ts b/types/react-icons/lib/io/social-facebook.d.ts new file mode 100644 index 0000000000..696c8f5401 --- /dev/null +++ b/types/react-icons/lib/io/social-facebook.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialFacebook extends React.Component { } diff --git a/types/react-icons/lib/io/social-foursquare-outline.d.ts b/types/react-icons/lib/io/social-foursquare-outline.d.ts new file mode 100644 index 0000000000..aa643db79c --- /dev/null +++ b/types/react-icons/lib/io/social-foursquare-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialFoursquareOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-foursquare.d.ts b/types/react-icons/lib/io/social-foursquare.d.ts new file mode 100644 index 0000000000..d4555bfc41 --- /dev/null +++ b/types/react-icons/lib/io/social-foursquare.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialFoursquare extends React.Component { } diff --git a/types/react-icons/lib/io/social-freebsd-devil.d.ts b/types/react-icons/lib/io/social-freebsd-devil.d.ts new file mode 100644 index 0000000000..17715e0a06 --- /dev/null +++ b/types/react-icons/lib/io/social-freebsd-devil.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialFreebsdDevil extends React.Component { } diff --git a/types/react-icons/lib/io/social-github-outline.d.ts b/types/react-icons/lib/io/social-github-outline.d.ts new file mode 100644 index 0000000000..ad810dd9f5 --- /dev/null +++ b/types/react-icons/lib/io/social-github-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialGithubOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-github.d.ts b/types/react-icons/lib/io/social-github.d.ts new file mode 100644 index 0000000000..dabc247815 --- /dev/null +++ b/types/react-icons/lib/io/social-github.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialGithub extends React.Component { } diff --git a/types/react-icons/lib/io/social-google-outline.d.ts b/types/react-icons/lib/io/social-google-outline.d.ts new file mode 100644 index 0000000000..76fa21d665 --- /dev/null +++ b/types/react-icons/lib/io/social-google-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialGoogleOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-google.d.ts b/types/react-icons/lib/io/social-google.d.ts new file mode 100644 index 0000000000..c31283ade3 --- /dev/null +++ b/types/react-icons/lib/io/social-google.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialGoogle extends React.Component { } diff --git a/types/react-icons/lib/io/social-googleplus-outline.d.ts b/types/react-icons/lib/io/social-googleplus-outline.d.ts new file mode 100644 index 0000000000..fe28dee981 --- /dev/null +++ b/types/react-icons/lib/io/social-googleplus-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialGoogleplusOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-googleplus.d.ts b/types/react-icons/lib/io/social-googleplus.d.ts new file mode 100644 index 0000000000..3fe4052899 --- /dev/null +++ b/types/react-icons/lib/io/social-googleplus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialGoogleplus extends React.Component { } diff --git a/types/react-icons/lib/io/social-hackernews-outline.d.ts b/types/react-icons/lib/io/social-hackernews-outline.d.ts new file mode 100644 index 0000000000..c71910be26 --- /dev/null +++ b/types/react-icons/lib/io/social-hackernews-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialHackernewsOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-hackernews.d.ts b/types/react-icons/lib/io/social-hackernews.d.ts new file mode 100644 index 0000000000..69f8ffd48e --- /dev/null +++ b/types/react-icons/lib/io/social-hackernews.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialHackernews extends React.Component { } diff --git a/types/react-icons/lib/io/social-html5-outline.d.ts b/types/react-icons/lib/io/social-html5-outline.d.ts new file mode 100644 index 0000000000..3c8d43114f --- /dev/null +++ b/types/react-icons/lib/io/social-html5-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialHtml5Outline extends React.Component { } diff --git a/types/react-icons/lib/io/social-html5.d.ts b/types/react-icons/lib/io/social-html5.d.ts new file mode 100644 index 0000000000..9916b17e2c --- /dev/null +++ b/types/react-icons/lib/io/social-html5.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialHtml5 extends React.Component { } diff --git a/types/react-icons/lib/io/social-instagram-outline.d.ts b/types/react-icons/lib/io/social-instagram-outline.d.ts new file mode 100644 index 0000000000..ffc74066b7 --- /dev/null +++ b/types/react-icons/lib/io/social-instagram-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialInstagramOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-instagram.d.ts b/types/react-icons/lib/io/social-instagram.d.ts new file mode 100644 index 0000000000..7c06ae1833 --- /dev/null +++ b/types/react-icons/lib/io/social-instagram.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialInstagram extends React.Component { } diff --git a/types/react-icons/lib/io/social-javascript-outline.d.ts b/types/react-icons/lib/io/social-javascript-outline.d.ts new file mode 100644 index 0000000000..0f21ff7483 --- /dev/null +++ b/types/react-icons/lib/io/social-javascript-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialJavascriptOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-javascript.d.ts b/types/react-icons/lib/io/social-javascript.d.ts new file mode 100644 index 0000000000..99905575bf --- /dev/null +++ b/types/react-icons/lib/io/social-javascript.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialJavascript extends React.Component { } diff --git a/types/react-icons/lib/io/social-linkedin-outline.d.ts b/types/react-icons/lib/io/social-linkedin-outline.d.ts new file mode 100644 index 0000000000..3ddee8261a --- /dev/null +++ b/types/react-icons/lib/io/social-linkedin-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialLinkedinOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-linkedin.d.ts b/types/react-icons/lib/io/social-linkedin.d.ts new file mode 100644 index 0000000000..0266663678 --- /dev/null +++ b/types/react-icons/lib/io/social-linkedin.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialLinkedin extends React.Component { } diff --git a/types/react-icons/lib/io/social-markdown.d.ts b/types/react-icons/lib/io/social-markdown.d.ts new file mode 100644 index 0000000000..963119614d --- /dev/null +++ b/types/react-icons/lib/io/social-markdown.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialMarkdown extends React.Component { } diff --git a/types/react-icons/lib/io/social-nodejs.d.ts b/types/react-icons/lib/io/social-nodejs.d.ts new file mode 100644 index 0000000000..642390dc4a --- /dev/null +++ b/types/react-icons/lib/io/social-nodejs.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialNodejs extends React.Component { } diff --git a/types/react-icons/lib/io/social-octocat.d.ts b/types/react-icons/lib/io/social-octocat.d.ts new file mode 100644 index 0000000000..0003cb487c --- /dev/null +++ b/types/react-icons/lib/io/social-octocat.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialOctocat extends React.Component { } diff --git a/types/react-icons/lib/io/social-pinterest-outline.d.ts b/types/react-icons/lib/io/social-pinterest-outline.d.ts new file mode 100644 index 0000000000..4ed2d123ac --- /dev/null +++ b/types/react-icons/lib/io/social-pinterest-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialPinterestOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-pinterest.d.ts b/types/react-icons/lib/io/social-pinterest.d.ts new file mode 100644 index 0000000000..f2ee95376f --- /dev/null +++ b/types/react-icons/lib/io/social-pinterest.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialPinterest extends React.Component { } diff --git a/types/react-icons/lib/io/social-python.d.ts b/types/react-icons/lib/io/social-python.d.ts new file mode 100644 index 0000000000..78a6e50954 --- /dev/null +++ b/types/react-icons/lib/io/social-python.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialPython extends React.Component { } diff --git a/types/react-icons/lib/io/social-reddit-outline.d.ts b/types/react-icons/lib/io/social-reddit-outline.d.ts new file mode 100644 index 0000000000..9dd5355bdc --- /dev/null +++ b/types/react-icons/lib/io/social-reddit-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialRedditOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-reddit.d.ts b/types/react-icons/lib/io/social-reddit.d.ts new file mode 100644 index 0000000000..e103be80d3 --- /dev/null +++ b/types/react-icons/lib/io/social-reddit.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialReddit extends React.Component { } diff --git a/types/react-icons/lib/io/social-rss-outline.d.ts b/types/react-icons/lib/io/social-rss-outline.d.ts new file mode 100644 index 0000000000..4baab1f80b --- /dev/null +++ b/types/react-icons/lib/io/social-rss-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialRssOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-rss.d.ts b/types/react-icons/lib/io/social-rss.d.ts new file mode 100644 index 0000000000..2c749b4af9 --- /dev/null +++ b/types/react-icons/lib/io/social-rss.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialRss extends React.Component { } diff --git a/types/react-icons/lib/io/social-sass.d.ts b/types/react-icons/lib/io/social-sass.d.ts new file mode 100644 index 0000000000..6ba05bc9ae --- /dev/null +++ b/types/react-icons/lib/io/social-sass.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialSass extends React.Component { } diff --git a/types/react-icons/lib/io/social-skype-outline.d.ts b/types/react-icons/lib/io/social-skype-outline.d.ts new file mode 100644 index 0000000000..cefebe89c9 --- /dev/null +++ b/types/react-icons/lib/io/social-skype-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialSkypeOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-skype.d.ts b/types/react-icons/lib/io/social-skype.d.ts new file mode 100644 index 0000000000..a49a35ce62 --- /dev/null +++ b/types/react-icons/lib/io/social-skype.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialSkype extends React.Component { } diff --git a/types/react-icons/lib/io/social-snapchat-outline.d.ts b/types/react-icons/lib/io/social-snapchat-outline.d.ts new file mode 100644 index 0000000000..5fe324cb94 --- /dev/null +++ b/types/react-icons/lib/io/social-snapchat-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialSnapchatOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-snapchat.d.ts b/types/react-icons/lib/io/social-snapchat.d.ts new file mode 100644 index 0000000000..ba87070d61 --- /dev/null +++ b/types/react-icons/lib/io/social-snapchat.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialSnapchat extends React.Component { } diff --git a/types/react-icons/lib/io/social-tumblr-outline.d.ts b/types/react-icons/lib/io/social-tumblr-outline.d.ts new file mode 100644 index 0000000000..dbf70d2b60 --- /dev/null +++ b/types/react-icons/lib/io/social-tumblr-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialTumblrOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-tumblr.d.ts b/types/react-icons/lib/io/social-tumblr.d.ts new file mode 100644 index 0000000000..ce5c8b4170 --- /dev/null +++ b/types/react-icons/lib/io/social-tumblr.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialTumblr extends React.Component { } diff --git a/types/react-icons/lib/io/social-tux.d.ts b/types/react-icons/lib/io/social-tux.d.ts new file mode 100644 index 0000000000..411ff72010 --- /dev/null +++ b/types/react-icons/lib/io/social-tux.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialTux extends React.Component { } diff --git a/types/react-icons/lib/io/social-twitch-outline.d.ts b/types/react-icons/lib/io/social-twitch-outline.d.ts new file mode 100644 index 0000000000..5875914d98 --- /dev/null +++ b/types/react-icons/lib/io/social-twitch-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialTwitchOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-twitch.d.ts b/types/react-icons/lib/io/social-twitch.d.ts new file mode 100644 index 0000000000..109993f553 --- /dev/null +++ b/types/react-icons/lib/io/social-twitch.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialTwitch extends React.Component { } diff --git a/types/react-icons/lib/io/social-twitter-outline.d.ts b/types/react-icons/lib/io/social-twitter-outline.d.ts new file mode 100644 index 0000000000..2ecfe578dd --- /dev/null +++ b/types/react-icons/lib/io/social-twitter-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialTwitterOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-twitter.d.ts b/types/react-icons/lib/io/social-twitter.d.ts new file mode 100644 index 0000000000..81b8c0817a --- /dev/null +++ b/types/react-icons/lib/io/social-twitter.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialTwitter extends React.Component { } diff --git a/types/react-icons/lib/io/social-usd-outline.d.ts b/types/react-icons/lib/io/social-usd-outline.d.ts new file mode 100644 index 0000000000..8c12d195f5 --- /dev/null +++ b/types/react-icons/lib/io/social-usd-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialUsdOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-usd.d.ts b/types/react-icons/lib/io/social-usd.d.ts new file mode 100644 index 0000000000..a6814ba496 --- /dev/null +++ b/types/react-icons/lib/io/social-usd.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialUsd extends React.Component { } diff --git a/types/react-icons/lib/io/social-vimeo-outline.d.ts b/types/react-icons/lib/io/social-vimeo-outline.d.ts new file mode 100644 index 0000000000..bcac0c4f79 --- /dev/null +++ b/types/react-icons/lib/io/social-vimeo-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialVimeoOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-vimeo.d.ts b/types/react-icons/lib/io/social-vimeo.d.ts new file mode 100644 index 0000000000..5e0e068a51 --- /dev/null +++ b/types/react-icons/lib/io/social-vimeo.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialVimeo extends React.Component { } diff --git a/types/react-icons/lib/io/social-whatsapp-outline.d.ts b/types/react-icons/lib/io/social-whatsapp-outline.d.ts new file mode 100644 index 0000000000..d3945dd43a --- /dev/null +++ b/types/react-icons/lib/io/social-whatsapp-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialWhatsappOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-whatsapp.d.ts b/types/react-icons/lib/io/social-whatsapp.d.ts new file mode 100644 index 0000000000..3f767a557e --- /dev/null +++ b/types/react-icons/lib/io/social-whatsapp.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialWhatsapp extends React.Component { } diff --git a/types/react-icons/lib/io/social-windows-outline.d.ts b/types/react-icons/lib/io/social-windows-outline.d.ts new file mode 100644 index 0000000000..204f5cc4ef --- /dev/null +++ b/types/react-icons/lib/io/social-windows-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialWindowsOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-windows.d.ts b/types/react-icons/lib/io/social-windows.d.ts new file mode 100644 index 0000000000..4a5a4854bd --- /dev/null +++ b/types/react-icons/lib/io/social-windows.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialWindows extends React.Component { } diff --git a/types/react-icons/lib/io/social-wordpress-outline.d.ts b/types/react-icons/lib/io/social-wordpress-outline.d.ts new file mode 100644 index 0000000000..15e7a115dd --- /dev/null +++ b/types/react-icons/lib/io/social-wordpress-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialWordpressOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-wordpress.d.ts b/types/react-icons/lib/io/social-wordpress.d.ts new file mode 100644 index 0000000000..4d6e02a859 --- /dev/null +++ b/types/react-icons/lib/io/social-wordpress.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialWordpress extends React.Component { } diff --git a/types/react-icons/lib/io/social-yahoo-outline.d.ts b/types/react-icons/lib/io/social-yahoo-outline.d.ts new file mode 100644 index 0000000000..5dcc671758 --- /dev/null +++ b/types/react-icons/lib/io/social-yahoo-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialYahooOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-yahoo.d.ts b/types/react-icons/lib/io/social-yahoo.d.ts new file mode 100644 index 0000000000..b5e6c878d6 --- /dev/null +++ b/types/react-icons/lib/io/social-yahoo.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialYahoo extends React.Component { } diff --git a/types/react-icons/lib/io/social-yen-outline.d.ts b/types/react-icons/lib/io/social-yen-outline.d.ts new file mode 100644 index 0000000000..889d6655a6 --- /dev/null +++ b/types/react-icons/lib/io/social-yen-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialYenOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-yen.d.ts b/types/react-icons/lib/io/social-yen.d.ts new file mode 100644 index 0000000000..59d9b2b28b --- /dev/null +++ b/types/react-icons/lib/io/social-yen.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialYen extends React.Component { } diff --git a/types/react-icons/lib/io/social-youtube-outline.d.ts b/types/react-icons/lib/io/social-youtube-outline.d.ts new file mode 100644 index 0000000000..09812d8e86 --- /dev/null +++ b/types/react-icons/lib/io/social-youtube-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialYoutubeOutline extends React.Component { } diff --git a/types/react-icons/lib/io/social-youtube.d.ts b/types/react-icons/lib/io/social-youtube.d.ts new file mode 100644 index 0000000000..881e782d72 --- /dev/null +++ b/types/react-icons/lib/io/social-youtube.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSocialYoutube extends React.Component { } diff --git a/types/react-icons/lib/io/soup-can-outline.d.ts b/types/react-icons/lib/io/soup-can-outline.d.ts new file mode 100644 index 0000000000..e1fe063808 --- /dev/null +++ b/types/react-icons/lib/io/soup-can-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSoupCanOutline extends React.Component { } diff --git a/types/react-icons/lib/io/soup-can.d.ts b/types/react-icons/lib/io/soup-can.d.ts new file mode 100644 index 0000000000..50b4167624 --- /dev/null +++ b/types/react-icons/lib/io/soup-can.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSoupCan extends React.Component { } diff --git a/types/react-icons/lib/io/speakerphone.d.ts b/types/react-icons/lib/io/speakerphone.d.ts new file mode 100644 index 0000000000..af9117f78e --- /dev/null +++ b/types/react-icons/lib/io/speakerphone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSpeakerphone extends React.Component { } diff --git a/types/react-icons/lib/io/speedometer.d.ts b/types/react-icons/lib/io/speedometer.d.ts new file mode 100644 index 0000000000..50d69af596 --- /dev/null +++ b/types/react-icons/lib/io/speedometer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSpeedometer extends React.Component { } diff --git a/types/react-icons/lib/io/spoon.d.ts b/types/react-icons/lib/io/spoon.d.ts new file mode 100644 index 0000000000..107a88c9a6 --- /dev/null +++ b/types/react-icons/lib/io/spoon.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSpoon extends React.Component { } diff --git a/types/react-icons/lib/io/star.d.ts b/types/react-icons/lib/io/star.d.ts new file mode 100644 index 0000000000..f4c1953512 --- /dev/null +++ b/types/react-icons/lib/io/star.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoStar extends React.Component { } diff --git a/types/react-icons/lib/io/stats-bars.d.ts b/types/react-icons/lib/io/stats-bars.d.ts new file mode 100644 index 0000000000..2d5e5024cb --- /dev/null +++ b/types/react-icons/lib/io/stats-bars.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoStatsBars extends React.Component { } diff --git a/types/react-icons/lib/io/steam.d.ts b/types/react-icons/lib/io/steam.d.ts new file mode 100644 index 0000000000..097461e15c --- /dev/null +++ b/types/react-icons/lib/io/steam.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoSteam extends React.Component { } diff --git a/types/react-icons/lib/io/stop.d.ts b/types/react-icons/lib/io/stop.d.ts new file mode 100644 index 0000000000..5fed81dabb --- /dev/null +++ b/types/react-icons/lib/io/stop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoStop extends React.Component { } diff --git a/types/react-icons/lib/io/thermometer.d.ts b/types/react-icons/lib/io/thermometer.d.ts new file mode 100644 index 0000000000..f76efa25ac --- /dev/null +++ b/types/react-icons/lib/io/thermometer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoThermometer extends React.Component { } diff --git a/types/react-icons/lib/io/thumbsdown.d.ts b/types/react-icons/lib/io/thumbsdown.d.ts new file mode 100644 index 0000000000..ebbbe6a64e --- /dev/null +++ b/types/react-icons/lib/io/thumbsdown.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoThumbsdown extends React.Component { } diff --git a/types/react-icons/lib/io/thumbsup.d.ts b/types/react-icons/lib/io/thumbsup.d.ts new file mode 100644 index 0000000000..285d40f186 --- /dev/null +++ b/types/react-icons/lib/io/thumbsup.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoThumbsup extends React.Component { } diff --git a/types/react-icons/lib/io/toggle-filled.d.ts b/types/react-icons/lib/io/toggle-filled.d.ts new file mode 100644 index 0000000000..93cba93938 --- /dev/null +++ b/types/react-icons/lib/io/toggle-filled.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoToggleFilled extends React.Component { } diff --git a/types/react-icons/lib/io/toggle.d.ts b/types/react-icons/lib/io/toggle.d.ts new file mode 100644 index 0000000000..1af341ce4f --- /dev/null +++ b/types/react-icons/lib/io/toggle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoToggle extends React.Component { } diff --git a/types/react-icons/lib/io/transgender.d.ts b/types/react-icons/lib/io/transgender.d.ts new file mode 100644 index 0000000000..254ada7d1a --- /dev/null +++ b/types/react-icons/lib/io/transgender.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoTransgender extends React.Component { } diff --git a/types/react-icons/lib/io/trash-a.d.ts b/types/react-icons/lib/io/trash-a.d.ts new file mode 100644 index 0000000000..bfd8815599 --- /dev/null +++ b/types/react-icons/lib/io/trash-a.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoTrashA extends React.Component { } diff --git a/types/react-icons/lib/io/trash-b.d.ts b/types/react-icons/lib/io/trash-b.d.ts new file mode 100644 index 0000000000..c7c0cde13a --- /dev/null +++ b/types/react-icons/lib/io/trash-b.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoTrashB extends React.Component { } diff --git a/types/react-icons/lib/io/trophy.d.ts b/types/react-icons/lib/io/trophy.d.ts new file mode 100644 index 0000000000..f5f159c2e2 --- /dev/null +++ b/types/react-icons/lib/io/trophy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoTrophy extends React.Component { } diff --git a/types/react-icons/lib/io/tshirt-outline.d.ts b/types/react-icons/lib/io/tshirt-outline.d.ts new file mode 100644 index 0000000000..b530f97107 --- /dev/null +++ b/types/react-icons/lib/io/tshirt-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoTshirtOutline extends React.Component { } diff --git a/types/react-icons/lib/io/tshirt.d.ts b/types/react-icons/lib/io/tshirt.d.ts new file mode 100644 index 0000000000..b0072273b9 --- /dev/null +++ b/types/react-icons/lib/io/tshirt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoTshirt extends React.Component { } diff --git a/types/react-icons/lib/io/umbrella.d.ts b/types/react-icons/lib/io/umbrella.d.ts new file mode 100644 index 0000000000..b85cf5b8c9 --- /dev/null +++ b/types/react-icons/lib/io/umbrella.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoUmbrella extends React.Component { } diff --git a/types/react-icons/lib/io/university.d.ts b/types/react-icons/lib/io/university.d.ts new file mode 100644 index 0000000000..5947ae4172 --- /dev/null +++ b/types/react-icons/lib/io/university.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoUniversity extends React.Component { } diff --git a/types/react-icons/lib/io/unlocked.d.ts b/types/react-icons/lib/io/unlocked.d.ts new file mode 100644 index 0000000000..741c5ea952 --- /dev/null +++ b/types/react-icons/lib/io/unlocked.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoUnlocked extends React.Component { } diff --git a/types/react-icons/lib/io/upload.d.ts b/types/react-icons/lib/io/upload.d.ts new file mode 100644 index 0000000000..1ffb5c4aaf --- /dev/null +++ b/types/react-icons/lib/io/upload.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoUpload extends React.Component { } diff --git a/types/react-icons/lib/io/usb.d.ts b/types/react-icons/lib/io/usb.d.ts new file mode 100644 index 0000000000..e53180c80e --- /dev/null +++ b/types/react-icons/lib/io/usb.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoUsb extends React.Component { } diff --git a/types/react-icons/lib/io/videocamera.d.ts b/types/react-icons/lib/io/videocamera.d.ts new file mode 100644 index 0000000000..43148acede --- /dev/null +++ b/types/react-icons/lib/io/videocamera.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoVideocamera extends React.Component { } diff --git a/types/react-icons/lib/io/volume-high.d.ts b/types/react-icons/lib/io/volume-high.d.ts new file mode 100644 index 0000000000..fdb362c990 --- /dev/null +++ b/types/react-icons/lib/io/volume-high.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoVolumeHigh extends React.Component { } diff --git a/types/react-icons/lib/io/volume-low.d.ts b/types/react-icons/lib/io/volume-low.d.ts new file mode 100644 index 0000000000..1ac513c891 --- /dev/null +++ b/types/react-icons/lib/io/volume-low.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoVolumeLow extends React.Component { } diff --git a/types/react-icons/lib/io/volume-medium.d.ts b/types/react-icons/lib/io/volume-medium.d.ts new file mode 100644 index 0000000000..7607d22632 --- /dev/null +++ b/types/react-icons/lib/io/volume-medium.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoVolumeMedium extends React.Component { } diff --git a/types/react-icons/lib/io/volume-mute.d.ts b/types/react-icons/lib/io/volume-mute.d.ts new file mode 100644 index 0000000000..ff7330e544 --- /dev/null +++ b/types/react-icons/lib/io/volume-mute.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoVolumeMute extends React.Component { } diff --git a/types/react-icons/lib/io/wand.d.ts b/types/react-icons/lib/io/wand.d.ts new file mode 100644 index 0000000000..e1e22869ee --- /dev/null +++ b/types/react-icons/lib/io/wand.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoWand extends React.Component { } diff --git a/types/react-icons/lib/io/waterdrop.d.ts b/types/react-icons/lib/io/waterdrop.d.ts new file mode 100644 index 0000000000..a674835d55 --- /dev/null +++ b/types/react-icons/lib/io/waterdrop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoWaterdrop extends React.Component { } diff --git a/types/react-icons/lib/io/wifi.d.ts b/types/react-icons/lib/io/wifi.d.ts new file mode 100644 index 0000000000..3bec1b2449 --- /dev/null +++ b/types/react-icons/lib/io/wifi.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoWifi extends React.Component { } diff --git a/types/react-icons/lib/io/wineglass.d.ts b/types/react-icons/lib/io/wineglass.d.ts new file mode 100644 index 0000000000..33b7d9843e --- /dev/null +++ b/types/react-icons/lib/io/wineglass.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoWineglass extends React.Component { } diff --git a/types/react-icons/lib/io/woman.d.ts b/types/react-icons/lib/io/woman.d.ts new file mode 100644 index 0000000000..b3cbbd6294 --- /dev/null +++ b/types/react-icons/lib/io/woman.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoWoman extends React.Component { } diff --git a/types/react-icons/lib/io/wrench.d.ts b/types/react-icons/lib/io/wrench.d.ts new file mode 100644 index 0000000000..6f53a0a8cd --- /dev/null +++ b/types/react-icons/lib/io/wrench.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoWrench extends React.Component { } diff --git a/types/react-icons/lib/io/xbox.d.ts b/types/react-icons/lib/io/xbox.d.ts new file mode 100644 index 0000000000..2d3db0cbbc --- /dev/null +++ b/types/react-icons/lib/io/xbox.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class IoXbox extends React.Component { } diff --git a/types/react-icons/lib/md/3d-rotation.d.ts b/types/react-icons/lib/md/3d-rotation.d.ts new file mode 100644 index 0000000000..39d7887e16 --- /dev/null +++ b/types/react-icons/lib/md/3d-rotation.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class Md3dRotation extends React.Component { } diff --git a/types/react-icons/lib/md/ac-unit.d.ts b/types/react-icons/lib/md/ac-unit.d.ts new file mode 100644 index 0000000000..19f6257f61 --- /dev/null +++ b/types/react-icons/lib/md/ac-unit.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAcUnit extends React.Component { } diff --git a/types/react-icons/lib/md/access-alarm.d.ts b/types/react-icons/lib/md/access-alarm.d.ts new file mode 100644 index 0000000000..8bfb8edd91 --- /dev/null +++ b/types/react-icons/lib/md/access-alarm.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAccessAlarm extends React.Component { } diff --git a/types/react-icons/lib/md/access-alarms.d.ts b/types/react-icons/lib/md/access-alarms.d.ts new file mode 100644 index 0000000000..0d5b3fa4db --- /dev/null +++ b/types/react-icons/lib/md/access-alarms.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAccessAlarms extends React.Component { } diff --git a/types/react-icons/lib/md/access-time.d.ts b/types/react-icons/lib/md/access-time.d.ts new file mode 100644 index 0000000000..552cf439f3 --- /dev/null +++ b/types/react-icons/lib/md/access-time.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAccessTime extends React.Component { } diff --git a/types/react-icons/lib/md/accessibility.d.ts b/types/react-icons/lib/md/accessibility.d.ts new file mode 100644 index 0000000000..4160aa2c69 --- /dev/null +++ b/types/react-icons/lib/md/accessibility.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAccessibility extends React.Component { } diff --git a/types/react-icons/lib/md/accessible.d.ts b/types/react-icons/lib/md/accessible.d.ts new file mode 100644 index 0000000000..180d7b0bc5 --- /dev/null +++ b/types/react-icons/lib/md/accessible.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAccessible extends React.Component { } diff --git a/types/react-icons/lib/md/account-balance-wallet.d.ts b/types/react-icons/lib/md/account-balance-wallet.d.ts new file mode 100644 index 0000000000..469c3e9876 --- /dev/null +++ b/types/react-icons/lib/md/account-balance-wallet.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAccountBalanceWallet extends React.Component { } diff --git a/types/react-icons/lib/md/account-balance.d.ts b/types/react-icons/lib/md/account-balance.d.ts new file mode 100644 index 0000000000..22edcbea9a --- /dev/null +++ b/types/react-icons/lib/md/account-balance.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAccountBalance extends React.Component { } diff --git a/types/react-icons/lib/md/account-box.d.ts b/types/react-icons/lib/md/account-box.d.ts new file mode 100644 index 0000000000..c49ee5214e --- /dev/null +++ b/types/react-icons/lib/md/account-box.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAccountBox extends React.Component { } diff --git a/types/react-icons/lib/md/account-circle.d.ts b/types/react-icons/lib/md/account-circle.d.ts new file mode 100644 index 0000000000..6c9eab8aaf --- /dev/null +++ b/types/react-icons/lib/md/account-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAccountCircle extends React.Component { } diff --git a/types/react-icons/lib/md/adb.d.ts b/types/react-icons/lib/md/adb.d.ts new file mode 100644 index 0000000000..f056821ad5 --- /dev/null +++ b/types/react-icons/lib/md/adb.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAdb extends React.Component { } diff --git a/types/react-icons/lib/md/add-a-photo.d.ts b/types/react-icons/lib/md/add-a-photo.d.ts new file mode 100644 index 0000000000..570d26f3da --- /dev/null +++ b/types/react-icons/lib/md/add-a-photo.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAddAPhoto extends React.Component { } diff --git a/types/react-icons/lib/md/add-alarm.d.ts b/types/react-icons/lib/md/add-alarm.d.ts new file mode 100644 index 0000000000..6b6f78f4b9 --- /dev/null +++ b/types/react-icons/lib/md/add-alarm.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAddAlarm extends React.Component { } diff --git a/types/react-icons/lib/md/add-alert.d.ts b/types/react-icons/lib/md/add-alert.d.ts new file mode 100644 index 0000000000..b422649d52 --- /dev/null +++ b/types/react-icons/lib/md/add-alert.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAddAlert extends React.Component { } diff --git a/types/react-icons/lib/md/add-box.d.ts b/types/react-icons/lib/md/add-box.d.ts new file mode 100644 index 0000000000..51e1f765c0 --- /dev/null +++ b/types/react-icons/lib/md/add-box.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAddBox extends React.Component { } diff --git a/types/react-icons/lib/md/add-circle-outline.d.ts b/types/react-icons/lib/md/add-circle-outline.d.ts new file mode 100644 index 0000000000..981d8bb9ce --- /dev/null +++ b/types/react-icons/lib/md/add-circle-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAddCircleOutline extends React.Component { } diff --git a/types/react-icons/lib/md/add-circle.d.ts b/types/react-icons/lib/md/add-circle.d.ts new file mode 100644 index 0000000000..a0a0991c0c --- /dev/null +++ b/types/react-icons/lib/md/add-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAddCircle extends React.Component { } diff --git a/types/react-icons/lib/md/add-location.d.ts b/types/react-icons/lib/md/add-location.d.ts new file mode 100644 index 0000000000..98b0f328a3 --- /dev/null +++ b/types/react-icons/lib/md/add-location.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAddLocation extends React.Component { } diff --git a/types/react-icons/lib/md/add-shopping-cart.d.ts b/types/react-icons/lib/md/add-shopping-cart.d.ts new file mode 100644 index 0000000000..52ad95dd6f --- /dev/null +++ b/types/react-icons/lib/md/add-shopping-cart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAddShoppingCart extends React.Component { } diff --git a/types/react-icons/lib/md/add-to-photos.d.ts b/types/react-icons/lib/md/add-to-photos.d.ts new file mode 100644 index 0000000000..0eac8c47b2 --- /dev/null +++ b/types/react-icons/lib/md/add-to-photos.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAddToPhotos extends React.Component { } diff --git a/types/react-icons/lib/md/add-to-queue.d.ts b/types/react-icons/lib/md/add-to-queue.d.ts new file mode 100644 index 0000000000..2bf4474037 --- /dev/null +++ b/types/react-icons/lib/md/add-to-queue.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAddToQueue extends React.Component { } diff --git a/types/react-icons/lib/md/add.d.ts b/types/react-icons/lib/md/add.d.ts new file mode 100644 index 0000000000..1b7fb63078 --- /dev/null +++ b/types/react-icons/lib/md/add.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAdd extends React.Component { } diff --git a/types/react-icons/lib/md/adjust.d.ts b/types/react-icons/lib/md/adjust.d.ts new file mode 100644 index 0000000000..c511d98a86 --- /dev/null +++ b/types/react-icons/lib/md/adjust.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAdjust extends React.Component { } diff --git a/types/react-icons/lib/md/airline-seat-flat-angled.d.ts b/types/react-icons/lib/md/airline-seat-flat-angled.d.ts new file mode 100644 index 0000000000..27306970ac --- /dev/null +++ b/types/react-icons/lib/md/airline-seat-flat-angled.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAirlineSeatFlatAngled extends React.Component { } diff --git a/types/react-icons/lib/md/airline-seat-flat.d.ts b/types/react-icons/lib/md/airline-seat-flat.d.ts new file mode 100644 index 0000000000..2708f28c19 --- /dev/null +++ b/types/react-icons/lib/md/airline-seat-flat.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAirlineSeatFlat extends React.Component { } diff --git a/types/react-icons/lib/md/airline-seat-individual-suite.d.ts b/types/react-icons/lib/md/airline-seat-individual-suite.d.ts new file mode 100644 index 0000000000..1231fdffbc --- /dev/null +++ b/types/react-icons/lib/md/airline-seat-individual-suite.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAirlineSeatIndividualSuite extends React.Component { } diff --git a/types/react-icons/lib/md/airline-seat-legroom-extra.d.ts b/types/react-icons/lib/md/airline-seat-legroom-extra.d.ts new file mode 100644 index 0000000000..8e48abc5df --- /dev/null +++ b/types/react-icons/lib/md/airline-seat-legroom-extra.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAirlineSeatLegroomExtra extends React.Component { } diff --git a/types/react-icons/lib/md/airline-seat-legroom-normal.d.ts b/types/react-icons/lib/md/airline-seat-legroom-normal.d.ts new file mode 100644 index 0000000000..09cdf92d8a --- /dev/null +++ b/types/react-icons/lib/md/airline-seat-legroom-normal.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAirlineSeatLegroomNormal extends React.Component { } diff --git a/types/react-icons/lib/md/airline-seat-legroom-reduced.d.ts b/types/react-icons/lib/md/airline-seat-legroom-reduced.d.ts new file mode 100644 index 0000000000..e969b216a4 --- /dev/null +++ b/types/react-icons/lib/md/airline-seat-legroom-reduced.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAirlineSeatLegroomReduced extends React.Component { } diff --git a/types/react-icons/lib/md/airline-seat-recline-extra.d.ts b/types/react-icons/lib/md/airline-seat-recline-extra.d.ts new file mode 100644 index 0000000000..f675688c5c --- /dev/null +++ b/types/react-icons/lib/md/airline-seat-recline-extra.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAirlineSeatReclineExtra extends React.Component { } diff --git a/types/react-icons/lib/md/airline-seat-recline-normal.d.ts b/types/react-icons/lib/md/airline-seat-recline-normal.d.ts new file mode 100644 index 0000000000..2d7aeacd54 --- /dev/null +++ b/types/react-icons/lib/md/airline-seat-recline-normal.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAirlineSeatReclineNormal extends React.Component { } diff --git a/types/react-icons/lib/md/airplanemode-active.d.ts b/types/react-icons/lib/md/airplanemode-active.d.ts new file mode 100644 index 0000000000..64924f7457 --- /dev/null +++ b/types/react-icons/lib/md/airplanemode-active.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAirplanemodeActive extends React.Component { } diff --git a/types/react-icons/lib/md/airplanemode-inactive.d.ts b/types/react-icons/lib/md/airplanemode-inactive.d.ts new file mode 100644 index 0000000000..bea28feef8 --- /dev/null +++ b/types/react-icons/lib/md/airplanemode-inactive.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAirplanemodeInactive extends React.Component { } diff --git a/types/react-icons/lib/md/airplay.d.ts b/types/react-icons/lib/md/airplay.d.ts new file mode 100644 index 0000000000..0b7d8346dc --- /dev/null +++ b/types/react-icons/lib/md/airplay.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAirplay extends React.Component { } diff --git a/types/react-icons/lib/md/airport-shuttle.d.ts b/types/react-icons/lib/md/airport-shuttle.d.ts new file mode 100644 index 0000000000..4d81dcca74 --- /dev/null +++ b/types/react-icons/lib/md/airport-shuttle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAirportShuttle extends React.Component { } diff --git a/types/react-icons/lib/md/alarm-add.d.ts b/types/react-icons/lib/md/alarm-add.d.ts new file mode 100644 index 0000000000..d54261c71e --- /dev/null +++ b/types/react-icons/lib/md/alarm-add.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAlarmAdd extends React.Component { } diff --git a/types/react-icons/lib/md/alarm-off.d.ts b/types/react-icons/lib/md/alarm-off.d.ts new file mode 100644 index 0000000000..637956f31a --- /dev/null +++ b/types/react-icons/lib/md/alarm-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAlarmOff extends React.Component { } diff --git a/types/react-icons/lib/md/alarm-on.d.ts b/types/react-icons/lib/md/alarm-on.d.ts new file mode 100644 index 0000000000..8ced06b55a --- /dev/null +++ b/types/react-icons/lib/md/alarm-on.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAlarmOn extends React.Component { } diff --git a/types/react-icons/lib/md/alarm.d.ts b/types/react-icons/lib/md/alarm.d.ts new file mode 100644 index 0000000000..784b55604a --- /dev/null +++ b/types/react-icons/lib/md/alarm.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAlarm extends React.Component { } diff --git a/types/react-icons/lib/md/album.d.ts b/types/react-icons/lib/md/album.d.ts new file mode 100644 index 0000000000..b7c2dedcad --- /dev/null +++ b/types/react-icons/lib/md/album.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAlbum extends React.Component { } diff --git a/types/react-icons/lib/md/all-inclusive.d.ts b/types/react-icons/lib/md/all-inclusive.d.ts new file mode 100644 index 0000000000..121315d268 --- /dev/null +++ b/types/react-icons/lib/md/all-inclusive.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAllInclusive extends React.Component { } diff --git a/types/react-icons/lib/md/all-out.d.ts b/types/react-icons/lib/md/all-out.d.ts new file mode 100644 index 0000000000..feba801059 --- /dev/null +++ b/types/react-icons/lib/md/all-out.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAllOut extends React.Component { } diff --git a/types/react-icons/lib/md/android.d.ts b/types/react-icons/lib/md/android.d.ts new file mode 100644 index 0000000000..d5821263bd --- /dev/null +++ b/types/react-icons/lib/md/android.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAndroid extends React.Component { } diff --git a/types/react-icons/lib/md/announcement.d.ts b/types/react-icons/lib/md/announcement.d.ts new file mode 100644 index 0000000000..05af68d6c9 --- /dev/null +++ b/types/react-icons/lib/md/announcement.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAnnouncement extends React.Component { } diff --git a/types/react-icons/lib/md/apps.d.ts b/types/react-icons/lib/md/apps.d.ts new file mode 100644 index 0000000000..605c867e9d --- /dev/null +++ b/types/react-icons/lib/md/apps.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdApps extends React.Component { } diff --git a/types/react-icons/lib/md/archive.d.ts b/types/react-icons/lib/md/archive.d.ts new file mode 100644 index 0000000000..00cc76de31 --- /dev/null +++ b/types/react-icons/lib/md/archive.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdArchive extends React.Component { } diff --git a/types/react-icons/lib/md/arrow-back.d.ts b/types/react-icons/lib/md/arrow-back.d.ts new file mode 100644 index 0000000000..d140fa63a4 --- /dev/null +++ b/types/react-icons/lib/md/arrow-back.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdArrowBack extends React.Component { } diff --git a/types/react-icons/lib/md/arrow-downward.d.ts b/types/react-icons/lib/md/arrow-downward.d.ts new file mode 100644 index 0000000000..2d764aa5a0 --- /dev/null +++ b/types/react-icons/lib/md/arrow-downward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdArrowDownward extends React.Component { } diff --git a/types/react-icons/lib/md/arrow-drop-down-circle.d.ts b/types/react-icons/lib/md/arrow-drop-down-circle.d.ts new file mode 100644 index 0000000000..4a2bae7ded --- /dev/null +++ b/types/react-icons/lib/md/arrow-drop-down-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdArrowDropDownCircle extends React.Component { } diff --git a/types/react-icons/lib/md/arrow-drop-down.d.ts b/types/react-icons/lib/md/arrow-drop-down.d.ts new file mode 100644 index 0000000000..0e99216f42 --- /dev/null +++ b/types/react-icons/lib/md/arrow-drop-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdArrowDropDown extends React.Component { } diff --git a/types/react-icons/lib/md/arrow-drop-up.d.ts b/types/react-icons/lib/md/arrow-drop-up.d.ts new file mode 100644 index 0000000000..efa55f2df4 --- /dev/null +++ b/types/react-icons/lib/md/arrow-drop-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdArrowDropUp extends React.Component { } diff --git a/types/react-icons/lib/md/arrow-forward.d.ts b/types/react-icons/lib/md/arrow-forward.d.ts new file mode 100644 index 0000000000..1d3771ddd7 --- /dev/null +++ b/types/react-icons/lib/md/arrow-forward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdArrowForward extends React.Component { } diff --git a/types/react-icons/lib/md/arrow-upward.d.ts b/types/react-icons/lib/md/arrow-upward.d.ts new file mode 100644 index 0000000000..cd8f601ed9 --- /dev/null +++ b/types/react-icons/lib/md/arrow-upward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdArrowUpward extends React.Component { } diff --git a/types/react-icons/lib/md/art-track.d.ts b/types/react-icons/lib/md/art-track.d.ts new file mode 100644 index 0000000000..9893405dfd --- /dev/null +++ b/types/react-icons/lib/md/art-track.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdArtTrack extends React.Component { } diff --git a/types/react-icons/lib/md/aspect-ratio.d.ts b/types/react-icons/lib/md/aspect-ratio.d.ts new file mode 100644 index 0000000000..b0d6311f3e --- /dev/null +++ b/types/react-icons/lib/md/aspect-ratio.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAspectRatio extends React.Component { } diff --git a/types/react-icons/lib/md/assessment.d.ts b/types/react-icons/lib/md/assessment.d.ts new file mode 100644 index 0000000000..1c4979bd1f --- /dev/null +++ b/types/react-icons/lib/md/assessment.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAssessment extends React.Component { } diff --git a/types/react-icons/lib/md/assignment-ind.d.ts b/types/react-icons/lib/md/assignment-ind.d.ts new file mode 100644 index 0000000000..6a0c5f2107 --- /dev/null +++ b/types/react-icons/lib/md/assignment-ind.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAssignmentInd extends React.Component { } diff --git a/types/react-icons/lib/md/assignment-late.d.ts b/types/react-icons/lib/md/assignment-late.d.ts new file mode 100644 index 0000000000..5aa4d5dcdd --- /dev/null +++ b/types/react-icons/lib/md/assignment-late.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAssignmentLate extends React.Component { } diff --git a/types/react-icons/lib/md/assignment-return.d.ts b/types/react-icons/lib/md/assignment-return.d.ts new file mode 100644 index 0000000000..e34eea0e8d --- /dev/null +++ b/types/react-icons/lib/md/assignment-return.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAssignmentReturn extends React.Component { } diff --git a/types/react-icons/lib/md/assignment-returned.d.ts b/types/react-icons/lib/md/assignment-returned.d.ts new file mode 100644 index 0000000000..5f3c6039ee --- /dev/null +++ b/types/react-icons/lib/md/assignment-returned.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAssignmentReturned extends React.Component { } diff --git a/types/react-icons/lib/md/assignment-turned-in.d.ts b/types/react-icons/lib/md/assignment-turned-in.d.ts new file mode 100644 index 0000000000..c055e90d7f --- /dev/null +++ b/types/react-icons/lib/md/assignment-turned-in.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAssignmentTurnedIn extends React.Component { } diff --git a/types/react-icons/lib/md/assignment.d.ts b/types/react-icons/lib/md/assignment.d.ts new file mode 100644 index 0000000000..dc96f96868 --- /dev/null +++ b/types/react-icons/lib/md/assignment.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAssignment extends React.Component { } diff --git a/types/react-icons/lib/md/assistant-photo.d.ts b/types/react-icons/lib/md/assistant-photo.d.ts new file mode 100644 index 0000000000..2bf4459503 --- /dev/null +++ b/types/react-icons/lib/md/assistant-photo.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAssistantPhoto extends React.Component { } diff --git a/types/react-icons/lib/md/assistant.d.ts b/types/react-icons/lib/md/assistant.d.ts new file mode 100644 index 0000000000..06007d112b --- /dev/null +++ b/types/react-icons/lib/md/assistant.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAssistant extends React.Component { } diff --git a/types/react-icons/lib/md/attach-file.d.ts b/types/react-icons/lib/md/attach-file.d.ts new file mode 100644 index 0000000000..62aba0f830 --- /dev/null +++ b/types/react-icons/lib/md/attach-file.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAttachFile extends React.Component { } diff --git a/types/react-icons/lib/md/attach-money.d.ts b/types/react-icons/lib/md/attach-money.d.ts new file mode 100644 index 0000000000..23dfd03a14 --- /dev/null +++ b/types/react-icons/lib/md/attach-money.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAttachMoney extends React.Component { } diff --git a/types/react-icons/lib/md/attachment.d.ts b/types/react-icons/lib/md/attachment.d.ts new file mode 100644 index 0000000000..66a076a0df --- /dev/null +++ b/types/react-icons/lib/md/attachment.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAttachment extends React.Component { } diff --git a/types/react-icons/lib/md/audiotrack.d.ts b/types/react-icons/lib/md/audiotrack.d.ts new file mode 100644 index 0000000000..0fb3a781aa --- /dev/null +++ b/types/react-icons/lib/md/audiotrack.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAudiotrack extends React.Component { } diff --git a/types/react-icons/lib/md/autorenew.d.ts b/types/react-icons/lib/md/autorenew.d.ts new file mode 100644 index 0000000000..3dc1215c35 --- /dev/null +++ b/types/react-icons/lib/md/autorenew.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAutorenew extends React.Component { } diff --git a/types/react-icons/lib/md/av-timer.d.ts b/types/react-icons/lib/md/av-timer.d.ts new file mode 100644 index 0000000000..d050eb13b6 --- /dev/null +++ b/types/react-icons/lib/md/av-timer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdAvTimer extends React.Component { } diff --git a/types/react-icons/lib/md/backspace.d.ts b/types/react-icons/lib/md/backspace.d.ts new file mode 100644 index 0000000000..c462bc8c5c --- /dev/null +++ b/types/react-icons/lib/md/backspace.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBackspace extends React.Component { } diff --git a/types/react-icons/lib/md/backup.d.ts b/types/react-icons/lib/md/backup.d.ts new file mode 100644 index 0000000000..ab43c6934f --- /dev/null +++ b/types/react-icons/lib/md/backup.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBackup extends React.Component { } diff --git a/types/react-icons/lib/md/battery-alert.d.ts b/types/react-icons/lib/md/battery-alert.d.ts new file mode 100644 index 0000000000..c19ea98a0b --- /dev/null +++ b/types/react-icons/lib/md/battery-alert.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBatteryAlert extends React.Component { } diff --git a/types/react-icons/lib/md/battery-charging-full.d.ts b/types/react-icons/lib/md/battery-charging-full.d.ts new file mode 100644 index 0000000000..c85f75a71a --- /dev/null +++ b/types/react-icons/lib/md/battery-charging-full.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBatteryChargingFull extends React.Component { } diff --git a/types/react-icons/lib/md/battery-full.d.ts b/types/react-icons/lib/md/battery-full.d.ts new file mode 100644 index 0000000000..0aca5efc47 --- /dev/null +++ b/types/react-icons/lib/md/battery-full.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBatteryFull extends React.Component { } diff --git a/types/react-icons/lib/md/battery-std.d.ts b/types/react-icons/lib/md/battery-std.d.ts new file mode 100644 index 0000000000..3db6971900 --- /dev/null +++ b/types/react-icons/lib/md/battery-std.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBatteryStd extends React.Component { } diff --git a/types/react-icons/lib/md/battery-unknown.d.ts b/types/react-icons/lib/md/battery-unknown.d.ts new file mode 100644 index 0000000000..85dc874ccb --- /dev/null +++ b/types/react-icons/lib/md/battery-unknown.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBatteryUnknown extends React.Component { } diff --git a/types/react-icons/lib/md/beach-access.d.ts b/types/react-icons/lib/md/beach-access.d.ts new file mode 100644 index 0000000000..bb0f5e8d09 --- /dev/null +++ b/types/react-icons/lib/md/beach-access.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBeachAccess extends React.Component { } diff --git a/types/react-icons/lib/md/beenhere.d.ts b/types/react-icons/lib/md/beenhere.d.ts new file mode 100644 index 0000000000..a428d7199e --- /dev/null +++ b/types/react-icons/lib/md/beenhere.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBeenhere extends React.Component { } diff --git a/types/react-icons/lib/md/block.d.ts b/types/react-icons/lib/md/block.d.ts new file mode 100644 index 0000000000..f5496f14bb --- /dev/null +++ b/types/react-icons/lib/md/block.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBlock extends React.Component { } diff --git a/types/react-icons/lib/md/bluetooth-audio.d.ts b/types/react-icons/lib/md/bluetooth-audio.d.ts new file mode 100644 index 0000000000..29629f8a81 --- /dev/null +++ b/types/react-icons/lib/md/bluetooth-audio.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBluetoothAudio extends React.Component { } diff --git a/types/react-icons/lib/md/bluetooth-connected.d.ts b/types/react-icons/lib/md/bluetooth-connected.d.ts new file mode 100644 index 0000000000..7ea9477b1b --- /dev/null +++ b/types/react-icons/lib/md/bluetooth-connected.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBluetoothConnected extends React.Component { } diff --git a/types/react-icons/lib/md/bluetooth-disabled.d.ts b/types/react-icons/lib/md/bluetooth-disabled.d.ts new file mode 100644 index 0000000000..685074c6eb --- /dev/null +++ b/types/react-icons/lib/md/bluetooth-disabled.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBluetoothDisabled extends React.Component { } diff --git a/types/react-icons/lib/md/bluetooth-searching.d.ts b/types/react-icons/lib/md/bluetooth-searching.d.ts new file mode 100644 index 0000000000..d258e69bd7 --- /dev/null +++ b/types/react-icons/lib/md/bluetooth-searching.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBluetoothSearching extends React.Component { } diff --git a/types/react-icons/lib/md/bluetooth.d.ts b/types/react-icons/lib/md/bluetooth.d.ts new file mode 100644 index 0000000000..9343fadbf2 --- /dev/null +++ b/types/react-icons/lib/md/bluetooth.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBluetooth extends React.Component { } diff --git a/types/react-icons/lib/md/blur-circular.d.ts b/types/react-icons/lib/md/blur-circular.d.ts new file mode 100644 index 0000000000..27b3bb0ae2 --- /dev/null +++ b/types/react-icons/lib/md/blur-circular.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBlurCircular extends React.Component { } diff --git a/types/react-icons/lib/md/blur-linear.d.ts b/types/react-icons/lib/md/blur-linear.d.ts new file mode 100644 index 0000000000..e077a469b1 --- /dev/null +++ b/types/react-icons/lib/md/blur-linear.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBlurLinear extends React.Component { } diff --git a/types/react-icons/lib/md/blur-off.d.ts b/types/react-icons/lib/md/blur-off.d.ts new file mode 100644 index 0000000000..df3c89e207 --- /dev/null +++ b/types/react-icons/lib/md/blur-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBlurOff extends React.Component { } diff --git a/types/react-icons/lib/md/blur-on.d.ts b/types/react-icons/lib/md/blur-on.d.ts new file mode 100644 index 0000000000..ade64f3147 --- /dev/null +++ b/types/react-icons/lib/md/blur-on.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBlurOn extends React.Component { } diff --git a/types/react-icons/lib/md/book.d.ts b/types/react-icons/lib/md/book.d.ts new file mode 100644 index 0000000000..593fefe912 --- /dev/null +++ b/types/react-icons/lib/md/book.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBook extends React.Component { } diff --git a/types/react-icons/lib/md/bookmark-outline.d.ts b/types/react-icons/lib/md/bookmark-outline.d.ts new file mode 100644 index 0000000000..630c78b12b --- /dev/null +++ b/types/react-icons/lib/md/bookmark-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBookmarkOutline extends React.Component { } diff --git a/types/react-icons/lib/md/bookmark.d.ts b/types/react-icons/lib/md/bookmark.d.ts new file mode 100644 index 0000000000..b180f81ce4 --- /dev/null +++ b/types/react-icons/lib/md/bookmark.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBookmark extends React.Component { } diff --git a/types/react-icons/lib/md/border-all.d.ts b/types/react-icons/lib/md/border-all.d.ts new file mode 100644 index 0000000000..111f24de6b --- /dev/null +++ b/types/react-icons/lib/md/border-all.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBorderAll extends React.Component { } diff --git a/types/react-icons/lib/md/border-bottom.d.ts b/types/react-icons/lib/md/border-bottom.d.ts new file mode 100644 index 0000000000..979bd252bb --- /dev/null +++ b/types/react-icons/lib/md/border-bottom.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBorderBottom extends React.Component { } diff --git a/types/react-icons/lib/md/border-clear.d.ts b/types/react-icons/lib/md/border-clear.d.ts new file mode 100644 index 0000000000..2d76f24b12 --- /dev/null +++ b/types/react-icons/lib/md/border-clear.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBorderClear extends React.Component { } diff --git a/types/react-icons/lib/md/border-color.d.ts b/types/react-icons/lib/md/border-color.d.ts new file mode 100644 index 0000000000..b9ddd9918c --- /dev/null +++ b/types/react-icons/lib/md/border-color.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBorderColor extends React.Component { } diff --git a/types/react-icons/lib/md/border-horizontal.d.ts b/types/react-icons/lib/md/border-horizontal.d.ts new file mode 100644 index 0000000000..7f1e473277 --- /dev/null +++ b/types/react-icons/lib/md/border-horizontal.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBorderHorizontal extends React.Component { } diff --git a/types/react-icons/lib/md/border-inner.d.ts b/types/react-icons/lib/md/border-inner.d.ts new file mode 100644 index 0000000000..2a807b9ce2 --- /dev/null +++ b/types/react-icons/lib/md/border-inner.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBorderInner extends React.Component { } diff --git a/types/react-icons/lib/md/border-left.d.ts b/types/react-icons/lib/md/border-left.d.ts new file mode 100644 index 0000000000..062bf7af75 --- /dev/null +++ b/types/react-icons/lib/md/border-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBorderLeft extends React.Component { } diff --git a/types/react-icons/lib/md/border-outer.d.ts b/types/react-icons/lib/md/border-outer.d.ts new file mode 100644 index 0000000000..60e13b29ad --- /dev/null +++ b/types/react-icons/lib/md/border-outer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBorderOuter extends React.Component { } diff --git a/types/react-icons/lib/md/border-right.d.ts b/types/react-icons/lib/md/border-right.d.ts new file mode 100644 index 0000000000..8bb225c8d9 --- /dev/null +++ b/types/react-icons/lib/md/border-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBorderRight extends React.Component { } diff --git a/types/react-icons/lib/md/border-style.d.ts b/types/react-icons/lib/md/border-style.d.ts new file mode 100644 index 0000000000..92da93bb6d --- /dev/null +++ b/types/react-icons/lib/md/border-style.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBorderStyle extends React.Component { } diff --git a/types/react-icons/lib/md/border-top.d.ts b/types/react-icons/lib/md/border-top.d.ts new file mode 100644 index 0000000000..32a4a828a8 --- /dev/null +++ b/types/react-icons/lib/md/border-top.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBorderTop extends React.Component { } diff --git a/types/react-icons/lib/md/border-vertical.d.ts b/types/react-icons/lib/md/border-vertical.d.ts new file mode 100644 index 0000000000..dce912d6de --- /dev/null +++ b/types/react-icons/lib/md/border-vertical.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBorderVertical extends React.Component { } diff --git a/types/react-icons/lib/md/branding-watermark.d.ts b/types/react-icons/lib/md/branding-watermark.d.ts new file mode 100644 index 0000000000..92ae821285 --- /dev/null +++ b/types/react-icons/lib/md/branding-watermark.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBrandingWatermark extends React.Component { } diff --git a/types/react-icons/lib/md/brightness-1.d.ts b/types/react-icons/lib/md/brightness-1.d.ts new file mode 100644 index 0000000000..2ac3e1dd25 --- /dev/null +++ b/types/react-icons/lib/md/brightness-1.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBrightness1 extends React.Component { } diff --git a/types/react-icons/lib/md/brightness-2.d.ts b/types/react-icons/lib/md/brightness-2.d.ts new file mode 100644 index 0000000000..ad9eae9cb1 --- /dev/null +++ b/types/react-icons/lib/md/brightness-2.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBrightness2 extends React.Component { } diff --git a/types/react-icons/lib/md/brightness-3.d.ts b/types/react-icons/lib/md/brightness-3.d.ts new file mode 100644 index 0000000000..929e3196af --- /dev/null +++ b/types/react-icons/lib/md/brightness-3.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBrightness3 extends React.Component { } diff --git a/types/react-icons/lib/md/brightness-4.d.ts b/types/react-icons/lib/md/brightness-4.d.ts new file mode 100644 index 0000000000..eeac7b21a5 --- /dev/null +++ b/types/react-icons/lib/md/brightness-4.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBrightness4 extends React.Component { } diff --git a/types/react-icons/lib/md/brightness-5.d.ts b/types/react-icons/lib/md/brightness-5.d.ts new file mode 100644 index 0000000000..26dc5fc08c --- /dev/null +++ b/types/react-icons/lib/md/brightness-5.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBrightness5 extends React.Component { } diff --git a/types/react-icons/lib/md/brightness-6.d.ts b/types/react-icons/lib/md/brightness-6.d.ts new file mode 100644 index 0000000000..c59e6345b0 --- /dev/null +++ b/types/react-icons/lib/md/brightness-6.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBrightness6 extends React.Component { } diff --git a/types/react-icons/lib/md/brightness-7.d.ts b/types/react-icons/lib/md/brightness-7.d.ts new file mode 100644 index 0000000000..00510b48a7 --- /dev/null +++ b/types/react-icons/lib/md/brightness-7.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBrightness7 extends React.Component { } diff --git a/types/react-icons/lib/md/brightness-auto.d.ts b/types/react-icons/lib/md/brightness-auto.d.ts new file mode 100644 index 0000000000..7fd30ba582 --- /dev/null +++ b/types/react-icons/lib/md/brightness-auto.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBrightnessAuto extends React.Component { } diff --git a/types/react-icons/lib/md/brightness-high.d.ts b/types/react-icons/lib/md/brightness-high.d.ts new file mode 100644 index 0000000000..65eb9716e2 --- /dev/null +++ b/types/react-icons/lib/md/brightness-high.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBrightnessHigh extends React.Component { } diff --git a/types/react-icons/lib/md/brightness-low.d.ts b/types/react-icons/lib/md/brightness-low.d.ts new file mode 100644 index 0000000000..7a4220918a --- /dev/null +++ b/types/react-icons/lib/md/brightness-low.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBrightnessLow extends React.Component { } diff --git a/types/react-icons/lib/md/brightness-medium.d.ts b/types/react-icons/lib/md/brightness-medium.d.ts new file mode 100644 index 0000000000..bcae811361 --- /dev/null +++ b/types/react-icons/lib/md/brightness-medium.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBrightnessMedium extends React.Component { } diff --git a/types/react-icons/lib/md/broken-image.d.ts b/types/react-icons/lib/md/broken-image.d.ts new file mode 100644 index 0000000000..26a5256e01 --- /dev/null +++ b/types/react-icons/lib/md/broken-image.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBrokenImage extends React.Component { } diff --git a/types/react-icons/lib/md/brush.d.ts b/types/react-icons/lib/md/brush.d.ts new file mode 100644 index 0000000000..71e04689f2 --- /dev/null +++ b/types/react-icons/lib/md/brush.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBrush extends React.Component { } diff --git a/types/react-icons/lib/md/bubble-chart.d.ts b/types/react-icons/lib/md/bubble-chart.d.ts new file mode 100644 index 0000000000..d893d4d2a1 --- /dev/null +++ b/types/react-icons/lib/md/bubble-chart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBubbleChart extends React.Component { } diff --git a/types/react-icons/lib/md/bug-report.d.ts b/types/react-icons/lib/md/bug-report.d.ts new file mode 100644 index 0000000000..8d5b5f78ef --- /dev/null +++ b/types/react-icons/lib/md/bug-report.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBugReport extends React.Component { } diff --git a/types/react-icons/lib/md/build.d.ts b/types/react-icons/lib/md/build.d.ts new file mode 100644 index 0000000000..3969a9d67d --- /dev/null +++ b/types/react-icons/lib/md/build.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBuild extends React.Component { } diff --git a/types/react-icons/lib/md/burst-mode.d.ts b/types/react-icons/lib/md/burst-mode.d.ts new file mode 100644 index 0000000000..2db0673b64 --- /dev/null +++ b/types/react-icons/lib/md/burst-mode.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBurstMode extends React.Component { } diff --git a/types/react-icons/lib/md/business-center.d.ts b/types/react-icons/lib/md/business-center.d.ts new file mode 100644 index 0000000000..019568bc79 --- /dev/null +++ b/types/react-icons/lib/md/business-center.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBusinessCenter extends React.Component { } diff --git a/types/react-icons/lib/md/business.d.ts b/types/react-icons/lib/md/business.d.ts new file mode 100644 index 0000000000..aee4700728 --- /dev/null +++ b/types/react-icons/lib/md/business.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdBusiness extends React.Component { } diff --git a/types/react-icons/lib/md/cached.d.ts b/types/react-icons/lib/md/cached.d.ts new file mode 100644 index 0000000000..e26b176124 --- /dev/null +++ b/types/react-icons/lib/md/cached.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCached extends React.Component { } diff --git a/types/react-icons/lib/md/cake.d.ts b/types/react-icons/lib/md/cake.d.ts new file mode 100644 index 0000000000..757d94fa73 --- /dev/null +++ b/types/react-icons/lib/md/cake.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCake extends React.Component { } diff --git a/types/react-icons/lib/md/call-end.d.ts b/types/react-icons/lib/md/call-end.d.ts new file mode 100644 index 0000000000..fcb323974c --- /dev/null +++ b/types/react-icons/lib/md/call-end.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCallEnd extends React.Component { } diff --git a/types/react-icons/lib/md/call-made.d.ts b/types/react-icons/lib/md/call-made.d.ts new file mode 100644 index 0000000000..d7523be94c --- /dev/null +++ b/types/react-icons/lib/md/call-made.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCallMade extends React.Component { } diff --git a/types/react-icons/lib/md/call-merge.d.ts b/types/react-icons/lib/md/call-merge.d.ts new file mode 100644 index 0000000000..9c7369c900 --- /dev/null +++ b/types/react-icons/lib/md/call-merge.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCallMerge extends React.Component { } diff --git a/types/react-icons/lib/md/call-missed-outgoing.d.ts b/types/react-icons/lib/md/call-missed-outgoing.d.ts new file mode 100644 index 0000000000..f03613faad --- /dev/null +++ b/types/react-icons/lib/md/call-missed-outgoing.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCallMissedOutgoing extends React.Component { } diff --git a/types/react-icons/lib/md/call-missed.d.ts b/types/react-icons/lib/md/call-missed.d.ts new file mode 100644 index 0000000000..c999bb5cab --- /dev/null +++ b/types/react-icons/lib/md/call-missed.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCallMissed extends React.Component { } diff --git a/types/react-icons/lib/md/call-received.d.ts b/types/react-icons/lib/md/call-received.d.ts new file mode 100644 index 0000000000..29f503af3f --- /dev/null +++ b/types/react-icons/lib/md/call-received.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCallReceived extends React.Component { } diff --git a/types/react-icons/lib/md/call-split.d.ts b/types/react-icons/lib/md/call-split.d.ts new file mode 100644 index 0000000000..56330a07e8 --- /dev/null +++ b/types/react-icons/lib/md/call-split.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCallSplit extends React.Component { } diff --git a/types/react-icons/lib/md/call-to-action.d.ts b/types/react-icons/lib/md/call-to-action.d.ts new file mode 100644 index 0000000000..f1f8d89d80 --- /dev/null +++ b/types/react-icons/lib/md/call-to-action.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCallToAction extends React.Component { } diff --git a/types/react-icons/lib/md/call.d.ts b/types/react-icons/lib/md/call.d.ts new file mode 100644 index 0000000000..2bfec93bfc --- /dev/null +++ b/types/react-icons/lib/md/call.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCall extends React.Component { } diff --git a/types/react-icons/lib/md/camera-alt.d.ts b/types/react-icons/lib/md/camera-alt.d.ts new file mode 100644 index 0000000000..4951b47b34 --- /dev/null +++ b/types/react-icons/lib/md/camera-alt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCameraAlt extends React.Component { } diff --git a/types/react-icons/lib/md/camera-enhance.d.ts b/types/react-icons/lib/md/camera-enhance.d.ts new file mode 100644 index 0000000000..957b0b30e4 --- /dev/null +++ b/types/react-icons/lib/md/camera-enhance.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCameraEnhance extends React.Component { } diff --git a/types/react-icons/lib/md/camera-front.d.ts b/types/react-icons/lib/md/camera-front.d.ts new file mode 100644 index 0000000000..c6f2760218 --- /dev/null +++ b/types/react-icons/lib/md/camera-front.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCameraFront extends React.Component { } diff --git a/types/react-icons/lib/md/camera-rear.d.ts b/types/react-icons/lib/md/camera-rear.d.ts new file mode 100644 index 0000000000..b524f4456c --- /dev/null +++ b/types/react-icons/lib/md/camera-rear.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCameraRear extends React.Component { } diff --git a/types/react-icons/lib/md/camera-roll.d.ts b/types/react-icons/lib/md/camera-roll.d.ts new file mode 100644 index 0000000000..b7c7b207e2 --- /dev/null +++ b/types/react-icons/lib/md/camera-roll.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCameraRoll extends React.Component { } diff --git a/types/react-icons/lib/md/camera.d.ts b/types/react-icons/lib/md/camera.d.ts new file mode 100644 index 0000000000..ca2fbf55e3 --- /dev/null +++ b/types/react-icons/lib/md/camera.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCamera extends React.Component { } diff --git a/types/react-icons/lib/md/cancel.d.ts b/types/react-icons/lib/md/cancel.d.ts new file mode 100644 index 0000000000..28248ed4f6 --- /dev/null +++ b/types/react-icons/lib/md/cancel.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCancel extends React.Component { } diff --git a/types/react-icons/lib/md/card-giftcard.d.ts b/types/react-icons/lib/md/card-giftcard.d.ts new file mode 100644 index 0000000000..67eb5002e6 --- /dev/null +++ b/types/react-icons/lib/md/card-giftcard.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCardGiftcard extends React.Component { } diff --git a/types/react-icons/lib/md/card-membership.d.ts b/types/react-icons/lib/md/card-membership.d.ts new file mode 100644 index 0000000000..5cb91c641d --- /dev/null +++ b/types/react-icons/lib/md/card-membership.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCardMembership extends React.Component { } diff --git a/types/react-icons/lib/md/card-travel.d.ts b/types/react-icons/lib/md/card-travel.d.ts new file mode 100644 index 0000000000..a54e339c09 --- /dev/null +++ b/types/react-icons/lib/md/card-travel.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCardTravel extends React.Component { } diff --git a/types/react-icons/lib/md/casino.d.ts b/types/react-icons/lib/md/casino.d.ts new file mode 100644 index 0000000000..ceb6c0cf04 --- /dev/null +++ b/types/react-icons/lib/md/casino.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCasino extends React.Component { } diff --git a/types/react-icons/lib/md/cast-connected.d.ts b/types/react-icons/lib/md/cast-connected.d.ts new file mode 100644 index 0000000000..d4d60dcf60 --- /dev/null +++ b/types/react-icons/lib/md/cast-connected.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCastConnected extends React.Component { } diff --git a/types/react-icons/lib/md/cast.d.ts b/types/react-icons/lib/md/cast.d.ts new file mode 100644 index 0000000000..b014c40b07 --- /dev/null +++ b/types/react-icons/lib/md/cast.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCast extends React.Component { } diff --git a/types/react-icons/lib/md/center-focus-strong.d.ts b/types/react-icons/lib/md/center-focus-strong.d.ts new file mode 100644 index 0000000000..6d72ae6a11 --- /dev/null +++ b/types/react-icons/lib/md/center-focus-strong.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCenterFocusStrong extends React.Component { } diff --git a/types/react-icons/lib/md/center-focus-weak.d.ts b/types/react-icons/lib/md/center-focus-weak.d.ts new file mode 100644 index 0000000000..5565dd7b63 --- /dev/null +++ b/types/react-icons/lib/md/center-focus-weak.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCenterFocusWeak extends React.Component { } diff --git a/types/react-icons/lib/md/change-history.d.ts b/types/react-icons/lib/md/change-history.d.ts new file mode 100644 index 0000000000..ed3344df50 --- /dev/null +++ b/types/react-icons/lib/md/change-history.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdChangeHistory extends React.Component { } diff --git a/types/react-icons/lib/md/chat-bubble-outline.d.ts b/types/react-icons/lib/md/chat-bubble-outline.d.ts new file mode 100644 index 0000000000..ad12c21318 --- /dev/null +++ b/types/react-icons/lib/md/chat-bubble-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdChatBubbleOutline extends React.Component { } diff --git a/types/react-icons/lib/md/chat-bubble.d.ts b/types/react-icons/lib/md/chat-bubble.d.ts new file mode 100644 index 0000000000..6322767617 --- /dev/null +++ b/types/react-icons/lib/md/chat-bubble.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdChatBubble extends React.Component { } diff --git a/types/react-icons/lib/md/chat.d.ts b/types/react-icons/lib/md/chat.d.ts new file mode 100644 index 0000000000..7fecfed168 --- /dev/null +++ b/types/react-icons/lib/md/chat.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdChat extends React.Component { } diff --git a/types/react-icons/lib/md/check-box-outline-blank.d.ts b/types/react-icons/lib/md/check-box-outline-blank.d.ts new file mode 100644 index 0000000000..984ee8c5b0 --- /dev/null +++ b/types/react-icons/lib/md/check-box-outline-blank.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCheckBoxOutlineBlank extends React.Component { } diff --git a/types/react-icons/lib/md/check-box.d.ts b/types/react-icons/lib/md/check-box.d.ts new file mode 100644 index 0000000000..0d131960ee --- /dev/null +++ b/types/react-icons/lib/md/check-box.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCheckBox extends React.Component { } diff --git a/types/react-icons/lib/md/check-circle.d.ts b/types/react-icons/lib/md/check-circle.d.ts new file mode 100644 index 0000000000..350ec8918d --- /dev/null +++ b/types/react-icons/lib/md/check-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCheckCircle extends React.Component { } diff --git a/types/react-icons/lib/md/check.d.ts b/types/react-icons/lib/md/check.d.ts new file mode 100644 index 0000000000..df809198db --- /dev/null +++ b/types/react-icons/lib/md/check.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCheck extends React.Component { } diff --git a/types/react-icons/lib/md/chevron-left.d.ts b/types/react-icons/lib/md/chevron-left.d.ts new file mode 100644 index 0000000000..fd0b4bff5a --- /dev/null +++ b/types/react-icons/lib/md/chevron-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdChevronLeft extends React.Component { } diff --git a/types/react-icons/lib/md/chevron-right.d.ts b/types/react-icons/lib/md/chevron-right.d.ts new file mode 100644 index 0000000000..fd902a1348 --- /dev/null +++ b/types/react-icons/lib/md/chevron-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdChevronRight extends React.Component { } diff --git a/types/react-icons/lib/md/child-care.d.ts b/types/react-icons/lib/md/child-care.d.ts new file mode 100644 index 0000000000..133bf02e0e --- /dev/null +++ b/types/react-icons/lib/md/child-care.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdChildCare extends React.Component { } diff --git a/types/react-icons/lib/md/child-friendly.d.ts b/types/react-icons/lib/md/child-friendly.d.ts new file mode 100644 index 0000000000..87f9bc1b8e --- /dev/null +++ b/types/react-icons/lib/md/child-friendly.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdChildFriendly extends React.Component { } diff --git a/types/react-icons/lib/md/chrome-reader-mode.d.ts b/types/react-icons/lib/md/chrome-reader-mode.d.ts new file mode 100644 index 0000000000..c545db8e9b --- /dev/null +++ b/types/react-icons/lib/md/chrome-reader-mode.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdChromeReaderMode extends React.Component { } diff --git a/types/react-icons/lib/md/class.d.ts b/types/react-icons/lib/md/class.d.ts new file mode 100644 index 0000000000..e0e0e88367 --- /dev/null +++ b/types/react-icons/lib/md/class.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdClass extends React.Component { } diff --git a/types/react-icons/lib/md/clear-all.d.ts b/types/react-icons/lib/md/clear-all.d.ts new file mode 100644 index 0000000000..b73150c14e --- /dev/null +++ b/types/react-icons/lib/md/clear-all.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdClearAll extends React.Component { } diff --git a/types/react-icons/lib/md/clear.d.ts b/types/react-icons/lib/md/clear.d.ts new file mode 100644 index 0000000000..4da44db5b5 --- /dev/null +++ b/types/react-icons/lib/md/clear.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdClear extends React.Component { } diff --git a/types/react-icons/lib/md/close.d.ts b/types/react-icons/lib/md/close.d.ts new file mode 100644 index 0000000000..3f693c1eec --- /dev/null +++ b/types/react-icons/lib/md/close.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdClose extends React.Component { } diff --git a/types/react-icons/lib/md/closed-caption.d.ts b/types/react-icons/lib/md/closed-caption.d.ts new file mode 100644 index 0000000000..5adaf8fc91 --- /dev/null +++ b/types/react-icons/lib/md/closed-caption.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdClosedCaption extends React.Component { } diff --git a/types/react-icons/lib/md/cloud-circle.d.ts b/types/react-icons/lib/md/cloud-circle.d.ts new file mode 100644 index 0000000000..55a5be23c2 --- /dev/null +++ b/types/react-icons/lib/md/cloud-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCloudCircle extends React.Component { } diff --git a/types/react-icons/lib/md/cloud-done.d.ts b/types/react-icons/lib/md/cloud-done.d.ts new file mode 100644 index 0000000000..49f115ae3d --- /dev/null +++ b/types/react-icons/lib/md/cloud-done.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCloudDone extends React.Component { } diff --git a/types/react-icons/lib/md/cloud-download.d.ts b/types/react-icons/lib/md/cloud-download.d.ts new file mode 100644 index 0000000000..c7b6f482bb --- /dev/null +++ b/types/react-icons/lib/md/cloud-download.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCloudDownload extends React.Component { } diff --git a/types/react-icons/lib/md/cloud-off.d.ts b/types/react-icons/lib/md/cloud-off.d.ts new file mode 100644 index 0000000000..2ebe85de9a --- /dev/null +++ b/types/react-icons/lib/md/cloud-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCloudOff extends React.Component { } diff --git a/types/react-icons/lib/md/cloud-queue.d.ts b/types/react-icons/lib/md/cloud-queue.d.ts new file mode 100644 index 0000000000..3e7912edb7 --- /dev/null +++ b/types/react-icons/lib/md/cloud-queue.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCloudQueue extends React.Component { } diff --git a/types/react-icons/lib/md/cloud-upload.d.ts b/types/react-icons/lib/md/cloud-upload.d.ts new file mode 100644 index 0000000000..3813bf345b --- /dev/null +++ b/types/react-icons/lib/md/cloud-upload.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCloudUpload extends React.Component { } diff --git a/types/react-icons/lib/md/cloud.d.ts b/types/react-icons/lib/md/cloud.d.ts new file mode 100644 index 0000000000..774dd53424 --- /dev/null +++ b/types/react-icons/lib/md/cloud.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCloud extends React.Component { } diff --git a/types/react-icons/lib/md/code.d.ts b/types/react-icons/lib/md/code.d.ts new file mode 100644 index 0000000000..54f942afd1 --- /dev/null +++ b/types/react-icons/lib/md/code.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCode extends React.Component { } diff --git a/types/react-icons/lib/md/collections-bookmark.d.ts b/types/react-icons/lib/md/collections-bookmark.d.ts new file mode 100644 index 0000000000..98d8755848 --- /dev/null +++ b/types/react-icons/lib/md/collections-bookmark.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCollectionsBookmark extends React.Component { } diff --git a/types/react-icons/lib/md/collections.d.ts b/types/react-icons/lib/md/collections.d.ts new file mode 100644 index 0000000000..7d5cf7fa68 --- /dev/null +++ b/types/react-icons/lib/md/collections.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCollections extends React.Component { } diff --git a/types/react-icons/lib/md/color-lens.d.ts b/types/react-icons/lib/md/color-lens.d.ts new file mode 100644 index 0000000000..71a56bc853 --- /dev/null +++ b/types/react-icons/lib/md/color-lens.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdColorLens extends React.Component { } diff --git a/types/react-icons/lib/md/colorize.d.ts b/types/react-icons/lib/md/colorize.d.ts new file mode 100644 index 0000000000..f345627803 --- /dev/null +++ b/types/react-icons/lib/md/colorize.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdColorize extends React.Component { } diff --git a/types/react-icons/lib/md/comment.d.ts b/types/react-icons/lib/md/comment.d.ts new file mode 100644 index 0000000000..c81ab4762a --- /dev/null +++ b/types/react-icons/lib/md/comment.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdComment extends React.Component { } diff --git a/types/react-icons/lib/md/compare-arrows.d.ts b/types/react-icons/lib/md/compare-arrows.d.ts new file mode 100644 index 0000000000..727031b8a7 --- /dev/null +++ b/types/react-icons/lib/md/compare-arrows.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCompareArrows extends React.Component { } diff --git a/types/react-icons/lib/md/compare.d.ts b/types/react-icons/lib/md/compare.d.ts new file mode 100644 index 0000000000..59338cf7c9 --- /dev/null +++ b/types/react-icons/lib/md/compare.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCompare extends React.Component { } diff --git a/types/react-icons/lib/md/computer.d.ts b/types/react-icons/lib/md/computer.d.ts new file mode 100644 index 0000000000..ef16df598d --- /dev/null +++ b/types/react-icons/lib/md/computer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdComputer extends React.Component { } diff --git a/types/react-icons/lib/md/confirmation-number.d.ts b/types/react-icons/lib/md/confirmation-number.d.ts new file mode 100644 index 0000000000..8a3b8fcb8f --- /dev/null +++ b/types/react-icons/lib/md/confirmation-number.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdConfirmationNumber extends React.Component { } diff --git a/types/react-icons/lib/md/contact-mail.d.ts b/types/react-icons/lib/md/contact-mail.d.ts new file mode 100644 index 0000000000..b5027ce2da --- /dev/null +++ b/types/react-icons/lib/md/contact-mail.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdContactMail extends React.Component { } diff --git a/types/react-icons/lib/md/contact-phone.d.ts b/types/react-icons/lib/md/contact-phone.d.ts new file mode 100644 index 0000000000..df4405a4da --- /dev/null +++ b/types/react-icons/lib/md/contact-phone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdContactPhone extends React.Component { } diff --git a/types/react-icons/lib/md/contacts.d.ts b/types/react-icons/lib/md/contacts.d.ts new file mode 100644 index 0000000000..e4df5f1c11 --- /dev/null +++ b/types/react-icons/lib/md/contacts.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdContacts extends React.Component { } diff --git a/types/react-icons/lib/md/content-copy.d.ts b/types/react-icons/lib/md/content-copy.d.ts new file mode 100644 index 0000000000..e069254814 --- /dev/null +++ b/types/react-icons/lib/md/content-copy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdContentCopy extends React.Component { } diff --git a/types/react-icons/lib/md/content-cut.d.ts b/types/react-icons/lib/md/content-cut.d.ts new file mode 100644 index 0000000000..84d7b36ea0 --- /dev/null +++ b/types/react-icons/lib/md/content-cut.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdContentCut extends React.Component { } diff --git a/types/react-icons/lib/md/content-paste.d.ts b/types/react-icons/lib/md/content-paste.d.ts new file mode 100644 index 0000000000..d3825ed71f --- /dev/null +++ b/types/react-icons/lib/md/content-paste.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdContentPaste extends React.Component { } diff --git a/types/react-icons/lib/md/control-point-duplicate.d.ts b/types/react-icons/lib/md/control-point-duplicate.d.ts new file mode 100644 index 0000000000..8ba468f7bc --- /dev/null +++ b/types/react-icons/lib/md/control-point-duplicate.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdControlPointDuplicate extends React.Component { } diff --git a/types/react-icons/lib/md/control-point.d.ts b/types/react-icons/lib/md/control-point.d.ts new file mode 100644 index 0000000000..aa32c1b7f4 --- /dev/null +++ b/types/react-icons/lib/md/control-point.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdControlPoint extends React.Component { } diff --git a/types/react-icons/lib/md/copyright.d.ts b/types/react-icons/lib/md/copyright.d.ts new file mode 100644 index 0000000000..d786505dc9 --- /dev/null +++ b/types/react-icons/lib/md/copyright.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCopyright extends React.Component { } diff --git a/types/react-icons/lib/md/create-new-folder.d.ts b/types/react-icons/lib/md/create-new-folder.d.ts new file mode 100644 index 0000000000..5f81f01bff --- /dev/null +++ b/types/react-icons/lib/md/create-new-folder.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCreateNewFolder extends React.Component { } diff --git a/types/react-icons/lib/md/create.d.ts b/types/react-icons/lib/md/create.d.ts new file mode 100644 index 0000000000..75c2871644 --- /dev/null +++ b/types/react-icons/lib/md/create.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCreate extends React.Component { } diff --git a/types/react-icons/lib/md/credit-card.d.ts b/types/react-icons/lib/md/credit-card.d.ts new file mode 100644 index 0000000000..9515c900d0 --- /dev/null +++ b/types/react-icons/lib/md/credit-card.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCreditCard extends React.Component { } diff --git a/types/react-icons/lib/md/crop-16-9.d.ts b/types/react-icons/lib/md/crop-16-9.d.ts new file mode 100644 index 0000000000..d507bc9db9 --- /dev/null +++ b/types/react-icons/lib/md/crop-16-9.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCrop169 extends React.Component { } diff --git a/types/react-icons/lib/md/crop-3-2.d.ts b/types/react-icons/lib/md/crop-3-2.d.ts new file mode 100644 index 0000000000..461cf07b2d --- /dev/null +++ b/types/react-icons/lib/md/crop-3-2.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCrop32 extends React.Component { } diff --git a/types/react-icons/lib/md/crop-5-4.d.ts b/types/react-icons/lib/md/crop-5-4.d.ts new file mode 100644 index 0000000000..4b0cb6c7fb --- /dev/null +++ b/types/react-icons/lib/md/crop-5-4.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCrop54 extends React.Component { } diff --git a/types/react-icons/lib/md/crop-7-5.d.ts b/types/react-icons/lib/md/crop-7-5.d.ts new file mode 100644 index 0000000000..9063520b57 --- /dev/null +++ b/types/react-icons/lib/md/crop-7-5.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCrop75 extends React.Component { } diff --git a/types/react-icons/lib/md/crop-din.d.ts b/types/react-icons/lib/md/crop-din.d.ts new file mode 100644 index 0000000000..115106ef50 --- /dev/null +++ b/types/react-icons/lib/md/crop-din.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCropDin extends React.Component { } diff --git a/types/react-icons/lib/md/crop-free.d.ts b/types/react-icons/lib/md/crop-free.d.ts new file mode 100644 index 0000000000..e68c930ff9 --- /dev/null +++ b/types/react-icons/lib/md/crop-free.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCropFree extends React.Component { } diff --git a/types/react-icons/lib/md/crop-landscape.d.ts b/types/react-icons/lib/md/crop-landscape.d.ts new file mode 100644 index 0000000000..5ef2f2e4dd --- /dev/null +++ b/types/react-icons/lib/md/crop-landscape.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCropLandscape extends React.Component { } diff --git a/types/react-icons/lib/md/crop-original.d.ts b/types/react-icons/lib/md/crop-original.d.ts new file mode 100644 index 0000000000..26733dc24e --- /dev/null +++ b/types/react-icons/lib/md/crop-original.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCropOriginal extends React.Component { } diff --git a/types/react-icons/lib/md/crop-portrait.d.ts b/types/react-icons/lib/md/crop-portrait.d.ts new file mode 100644 index 0000000000..9a43790ec0 --- /dev/null +++ b/types/react-icons/lib/md/crop-portrait.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCropPortrait extends React.Component { } diff --git a/types/react-icons/lib/md/crop-rotate.d.ts b/types/react-icons/lib/md/crop-rotate.d.ts new file mode 100644 index 0000000000..7106d1b55b --- /dev/null +++ b/types/react-icons/lib/md/crop-rotate.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCropRotate extends React.Component { } diff --git a/types/react-icons/lib/md/crop-square.d.ts b/types/react-icons/lib/md/crop-square.d.ts new file mode 100644 index 0000000000..62ba826cfc --- /dev/null +++ b/types/react-icons/lib/md/crop-square.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCropSquare extends React.Component { } diff --git a/types/react-icons/lib/md/crop.d.ts b/types/react-icons/lib/md/crop.d.ts new file mode 100644 index 0000000000..dfd01a2ad8 --- /dev/null +++ b/types/react-icons/lib/md/crop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdCrop extends React.Component { } diff --git a/types/react-icons/lib/md/dashboard.d.ts b/types/react-icons/lib/md/dashboard.d.ts new file mode 100644 index 0000000000..47f85672c9 --- /dev/null +++ b/types/react-icons/lib/md/dashboard.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDashboard extends React.Component { } diff --git a/types/react-icons/lib/md/data-usage.d.ts b/types/react-icons/lib/md/data-usage.d.ts new file mode 100644 index 0000000000..013f33ad67 --- /dev/null +++ b/types/react-icons/lib/md/data-usage.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDataUsage extends React.Component { } diff --git a/types/react-icons/lib/md/date-range.d.ts b/types/react-icons/lib/md/date-range.d.ts new file mode 100644 index 0000000000..a9fc01751f --- /dev/null +++ b/types/react-icons/lib/md/date-range.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDateRange extends React.Component { } diff --git a/types/react-icons/lib/md/dehaze.d.ts b/types/react-icons/lib/md/dehaze.d.ts new file mode 100644 index 0000000000..9144d9822f --- /dev/null +++ b/types/react-icons/lib/md/dehaze.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDehaze extends React.Component { } diff --git a/types/react-icons/lib/md/delete-forever.d.ts b/types/react-icons/lib/md/delete-forever.d.ts new file mode 100644 index 0000000000..9820c93b1a --- /dev/null +++ b/types/react-icons/lib/md/delete-forever.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDeleteForever extends React.Component { } diff --git a/types/react-icons/lib/md/delete-sweep.d.ts b/types/react-icons/lib/md/delete-sweep.d.ts new file mode 100644 index 0000000000..965ce9c746 --- /dev/null +++ b/types/react-icons/lib/md/delete-sweep.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDeleteSweep extends React.Component { } diff --git a/types/react-icons/lib/md/delete.d.ts b/types/react-icons/lib/md/delete.d.ts new file mode 100644 index 0000000000..f47a4b0a59 --- /dev/null +++ b/types/react-icons/lib/md/delete.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDelete extends React.Component { } diff --git a/types/react-icons/lib/md/description.d.ts b/types/react-icons/lib/md/description.d.ts new file mode 100644 index 0000000000..76bc0bbf1c --- /dev/null +++ b/types/react-icons/lib/md/description.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDescription extends React.Component { } diff --git a/types/react-icons/lib/md/desktop-mac.d.ts b/types/react-icons/lib/md/desktop-mac.d.ts new file mode 100644 index 0000000000..007f0a5ae1 --- /dev/null +++ b/types/react-icons/lib/md/desktop-mac.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDesktopMac extends React.Component { } diff --git a/types/react-icons/lib/md/desktop-windows.d.ts b/types/react-icons/lib/md/desktop-windows.d.ts new file mode 100644 index 0000000000..e735a11f72 --- /dev/null +++ b/types/react-icons/lib/md/desktop-windows.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDesktopWindows extends React.Component { } diff --git a/types/react-icons/lib/md/details.d.ts b/types/react-icons/lib/md/details.d.ts new file mode 100644 index 0000000000..86ec926d65 --- /dev/null +++ b/types/react-icons/lib/md/details.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDetails extends React.Component { } diff --git a/types/react-icons/lib/md/developer-board.d.ts b/types/react-icons/lib/md/developer-board.d.ts new file mode 100644 index 0000000000..a3ad5d5b89 --- /dev/null +++ b/types/react-icons/lib/md/developer-board.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDeveloperBoard extends React.Component { } diff --git a/types/react-icons/lib/md/developer-mode.d.ts b/types/react-icons/lib/md/developer-mode.d.ts new file mode 100644 index 0000000000..f2032d8e74 --- /dev/null +++ b/types/react-icons/lib/md/developer-mode.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDeveloperMode extends React.Component { } diff --git a/types/react-icons/lib/md/device-hub.d.ts b/types/react-icons/lib/md/device-hub.d.ts new file mode 100644 index 0000000000..38815bce4d --- /dev/null +++ b/types/react-icons/lib/md/device-hub.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDeviceHub extends React.Component { } diff --git a/types/react-icons/lib/md/devices-other.d.ts b/types/react-icons/lib/md/devices-other.d.ts new file mode 100644 index 0000000000..69ed6d847d --- /dev/null +++ b/types/react-icons/lib/md/devices-other.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDevicesOther extends React.Component { } diff --git a/types/react-icons/lib/md/devices.d.ts b/types/react-icons/lib/md/devices.d.ts new file mode 100644 index 0000000000..00163cbb71 --- /dev/null +++ b/types/react-icons/lib/md/devices.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDevices extends React.Component { } diff --git a/types/react-icons/lib/md/dialer-sip.d.ts b/types/react-icons/lib/md/dialer-sip.d.ts new file mode 100644 index 0000000000..ba4ade0a30 --- /dev/null +++ b/types/react-icons/lib/md/dialer-sip.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDialerSip extends React.Component { } diff --git a/types/react-icons/lib/md/dialpad.d.ts b/types/react-icons/lib/md/dialpad.d.ts new file mode 100644 index 0000000000..3d74b7ce08 --- /dev/null +++ b/types/react-icons/lib/md/dialpad.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDialpad extends React.Component { } diff --git a/types/react-icons/lib/md/directions-bike.d.ts b/types/react-icons/lib/md/directions-bike.d.ts new file mode 100644 index 0000000000..3ff5b576f2 --- /dev/null +++ b/types/react-icons/lib/md/directions-bike.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDirectionsBike extends React.Component { } diff --git a/types/react-icons/lib/md/directions-boat.d.ts b/types/react-icons/lib/md/directions-boat.d.ts new file mode 100644 index 0000000000..29cb6f9727 --- /dev/null +++ b/types/react-icons/lib/md/directions-boat.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDirectionsBoat extends React.Component { } diff --git a/types/react-icons/lib/md/directions-bus.d.ts b/types/react-icons/lib/md/directions-bus.d.ts new file mode 100644 index 0000000000..12964dd1bf --- /dev/null +++ b/types/react-icons/lib/md/directions-bus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDirectionsBus extends React.Component { } diff --git a/types/react-icons/lib/md/directions-car.d.ts b/types/react-icons/lib/md/directions-car.d.ts new file mode 100644 index 0000000000..0055e4a7e9 --- /dev/null +++ b/types/react-icons/lib/md/directions-car.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDirectionsCar extends React.Component { } diff --git a/types/react-icons/lib/md/directions-ferry.d.ts b/types/react-icons/lib/md/directions-ferry.d.ts new file mode 100644 index 0000000000..fa5f376ab4 --- /dev/null +++ b/types/react-icons/lib/md/directions-ferry.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDirectionsFerry extends React.Component { } diff --git a/types/react-icons/lib/md/directions-railway.d.ts b/types/react-icons/lib/md/directions-railway.d.ts new file mode 100644 index 0000000000..ee241e2f78 --- /dev/null +++ b/types/react-icons/lib/md/directions-railway.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDirectionsRailway extends React.Component { } diff --git a/types/react-icons/lib/md/directions-run.d.ts b/types/react-icons/lib/md/directions-run.d.ts new file mode 100644 index 0000000000..65fabf028c --- /dev/null +++ b/types/react-icons/lib/md/directions-run.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDirectionsRun extends React.Component { } diff --git a/types/react-icons/lib/md/directions-subway.d.ts b/types/react-icons/lib/md/directions-subway.d.ts new file mode 100644 index 0000000000..d97b4fd1e2 --- /dev/null +++ b/types/react-icons/lib/md/directions-subway.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDirectionsSubway extends React.Component { } diff --git a/types/react-icons/lib/md/directions-transit.d.ts b/types/react-icons/lib/md/directions-transit.d.ts new file mode 100644 index 0000000000..0016d21dd1 --- /dev/null +++ b/types/react-icons/lib/md/directions-transit.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDirectionsTransit extends React.Component { } diff --git a/types/react-icons/lib/md/directions-walk.d.ts b/types/react-icons/lib/md/directions-walk.d.ts new file mode 100644 index 0000000000..5f02d00296 --- /dev/null +++ b/types/react-icons/lib/md/directions-walk.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDirectionsWalk extends React.Component { } diff --git a/types/react-icons/lib/md/directions.d.ts b/types/react-icons/lib/md/directions.d.ts new file mode 100644 index 0000000000..14a1dded8e --- /dev/null +++ b/types/react-icons/lib/md/directions.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDirections extends React.Component { } diff --git a/types/react-icons/lib/md/disc-full.d.ts b/types/react-icons/lib/md/disc-full.d.ts new file mode 100644 index 0000000000..f23e47b0bd --- /dev/null +++ b/types/react-icons/lib/md/disc-full.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDiscFull extends React.Component { } diff --git a/types/react-icons/lib/md/dns.d.ts b/types/react-icons/lib/md/dns.d.ts new file mode 100644 index 0000000000..42a3e45b84 --- /dev/null +++ b/types/react-icons/lib/md/dns.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDns extends React.Component { } diff --git a/types/react-icons/lib/md/do-not-disturb-alt.d.ts b/types/react-icons/lib/md/do-not-disturb-alt.d.ts new file mode 100644 index 0000000000..6bad8e0875 --- /dev/null +++ b/types/react-icons/lib/md/do-not-disturb-alt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDoNotDisturbAlt extends React.Component { } diff --git a/types/react-icons/lib/md/do-not-disturb-off.d.ts b/types/react-icons/lib/md/do-not-disturb-off.d.ts new file mode 100644 index 0000000000..bcbe409363 --- /dev/null +++ b/types/react-icons/lib/md/do-not-disturb-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDoNotDisturbOff extends React.Component { } diff --git a/types/react-icons/lib/md/do-not-disturb.d.ts b/types/react-icons/lib/md/do-not-disturb.d.ts new file mode 100644 index 0000000000..bb19ff2e39 --- /dev/null +++ b/types/react-icons/lib/md/do-not-disturb.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDoNotDisturb extends React.Component { } diff --git a/types/react-icons/lib/md/dock.d.ts b/types/react-icons/lib/md/dock.d.ts new file mode 100644 index 0000000000..3de11f01a5 --- /dev/null +++ b/types/react-icons/lib/md/dock.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDock extends React.Component { } diff --git a/types/react-icons/lib/md/domain.d.ts b/types/react-icons/lib/md/domain.d.ts new file mode 100644 index 0000000000..c9586ff2b5 --- /dev/null +++ b/types/react-icons/lib/md/domain.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDomain extends React.Component { } diff --git a/types/react-icons/lib/md/done-all.d.ts b/types/react-icons/lib/md/done-all.d.ts new file mode 100644 index 0000000000..41e8241fcc --- /dev/null +++ b/types/react-icons/lib/md/done-all.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDoneAll extends React.Component { } diff --git a/types/react-icons/lib/md/done.d.ts b/types/react-icons/lib/md/done.d.ts new file mode 100644 index 0000000000..977bc177a5 --- /dev/null +++ b/types/react-icons/lib/md/done.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDone extends React.Component { } diff --git a/types/react-icons/lib/md/donut-large.d.ts b/types/react-icons/lib/md/donut-large.d.ts new file mode 100644 index 0000000000..01422e1fa5 --- /dev/null +++ b/types/react-icons/lib/md/donut-large.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDonutLarge extends React.Component { } diff --git a/types/react-icons/lib/md/donut-small.d.ts b/types/react-icons/lib/md/donut-small.d.ts new file mode 100644 index 0000000000..7475720575 --- /dev/null +++ b/types/react-icons/lib/md/donut-small.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDonutSmall extends React.Component { } diff --git a/types/react-icons/lib/md/drafts.d.ts b/types/react-icons/lib/md/drafts.d.ts new file mode 100644 index 0000000000..3a3af21927 --- /dev/null +++ b/types/react-icons/lib/md/drafts.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDrafts extends React.Component { } diff --git a/types/react-icons/lib/md/drag-handle.d.ts b/types/react-icons/lib/md/drag-handle.d.ts new file mode 100644 index 0000000000..80ae3229cd --- /dev/null +++ b/types/react-icons/lib/md/drag-handle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDragHandle extends React.Component { } diff --git a/types/react-icons/lib/md/drive-eta.d.ts b/types/react-icons/lib/md/drive-eta.d.ts new file mode 100644 index 0000000000..6cecfe8799 --- /dev/null +++ b/types/react-icons/lib/md/drive-eta.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDriveEta extends React.Component { } diff --git a/types/react-icons/lib/md/dvr.d.ts b/types/react-icons/lib/md/dvr.d.ts new file mode 100644 index 0000000000..c9d3aa8ce5 --- /dev/null +++ b/types/react-icons/lib/md/dvr.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdDvr extends React.Component { } diff --git a/types/react-icons/lib/md/edit-location.d.ts b/types/react-icons/lib/md/edit-location.d.ts new file mode 100644 index 0000000000..d6e3e2bfb7 --- /dev/null +++ b/types/react-icons/lib/md/edit-location.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdEditLocation extends React.Component { } diff --git a/types/react-icons/lib/md/edit.d.ts b/types/react-icons/lib/md/edit.d.ts new file mode 100644 index 0000000000..aaa97a382a --- /dev/null +++ b/types/react-icons/lib/md/edit.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdEdit extends React.Component { } diff --git a/types/react-icons/lib/md/eject.d.ts b/types/react-icons/lib/md/eject.d.ts new file mode 100644 index 0000000000..87c366fef5 --- /dev/null +++ b/types/react-icons/lib/md/eject.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdEject extends React.Component { } diff --git a/types/react-icons/lib/md/email.d.ts b/types/react-icons/lib/md/email.d.ts new file mode 100644 index 0000000000..1c8b5247ee --- /dev/null +++ b/types/react-icons/lib/md/email.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdEmail extends React.Component { } diff --git a/types/react-icons/lib/md/enhanced-encryption.d.ts b/types/react-icons/lib/md/enhanced-encryption.d.ts new file mode 100644 index 0000000000..be651f5c94 --- /dev/null +++ b/types/react-icons/lib/md/enhanced-encryption.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdEnhancedEncryption extends React.Component { } diff --git a/types/react-icons/lib/md/equalizer.d.ts b/types/react-icons/lib/md/equalizer.d.ts new file mode 100644 index 0000000000..ab7a2f20f9 --- /dev/null +++ b/types/react-icons/lib/md/equalizer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdEqualizer extends React.Component { } diff --git a/types/react-icons/lib/md/error-outline.d.ts b/types/react-icons/lib/md/error-outline.d.ts new file mode 100644 index 0000000000..0d8a6051a9 --- /dev/null +++ b/types/react-icons/lib/md/error-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdErrorOutline extends React.Component { } diff --git a/types/react-icons/lib/md/error.d.ts b/types/react-icons/lib/md/error.d.ts new file mode 100644 index 0000000000..c5b9fc8e71 --- /dev/null +++ b/types/react-icons/lib/md/error.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdError extends React.Component { } diff --git a/types/react-icons/lib/md/euro-symbol.d.ts b/types/react-icons/lib/md/euro-symbol.d.ts new file mode 100644 index 0000000000..1e5b262514 --- /dev/null +++ b/types/react-icons/lib/md/euro-symbol.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdEuroSymbol extends React.Component { } diff --git a/types/react-icons/lib/md/ev-station.d.ts b/types/react-icons/lib/md/ev-station.d.ts new file mode 100644 index 0000000000..4254fe1ebf --- /dev/null +++ b/types/react-icons/lib/md/ev-station.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdEvStation extends React.Component { } diff --git a/types/react-icons/lib/md/event-available.d.ts b/types/react-icons/lib/md/event-available.d.ts new file mode 100644 index 0000000000..30722d5a81 --- /dev/null +++ b/types/react-icons/lib/md/event-available.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdEventAvailable extends React.Component { } diff --git a/types/react-icons/lib/md/event-busy.d.ts b/types/react-icons/lib/md/event-busy.d.ts new file mode 100644 index 0000000000..6659755bbf --- /dev/null +++ b/types/react-icons/lib/md/event-busy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdEventBusy extends React.Component { } diff --git a/types/react-icons/lib/md/event-note.d.ts b/types/react-icons/lib/md/event-note.d.ts new file mode 100644 index 0000000000..fb3c3b0279 --- /dev/null +++ b/types/react-icons/lib/md/event-note.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdEventNote extends React.Component { } diff --git a/types/react-icons/lib/md/event-seat.d.ts b/types/react-icons/lib/md/event-seat.d.ts new file mode 100644 index 0000000000..53c6fd7c85 --- /dev/null +++ b/types/react-icons/lib/md/event-seat.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdEventSeat extends React.Component { } diff --git a/types/react-icons/lib/md/event.d.ts b/types/react-icons/lib/md/event.d.ts new file mode 100644 index 0000000000..a5bba2458a --- /dev/null +++ b/types/react-icons/lib/md/event.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdEvent extends React.Component { } diff --git a/types/react-icons/lib/md/exit-to-app.d.ts b/types/react-icons/lib/md/exit-to-app.d.ts new file mode 100644 index 0000000000..1c12dfc4b7 --- /dev/null +++ b/types/react-icons/lib/md/exit-to-app.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdExitToApp extends React.Component { } diff --git a/types/react-icons/lib/md/expand-less.d.ts b/types/react-icons/lib/md/expand-less.d.ts new file mode 100644 index 0000000000..766bf8886e --- /dev/null +++ b/types/react-icons/lib/md/expand-less.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdExpandLess extends React.Component { } diff --git a/types/react-icons/lib/md/expand-more.d.ts b/types/react-icons/lib/md/expand-more.d.ts new file mode 100644 index 0000000000..bef62424b7 --- /dev/null +++ b/types/react-icons/lib/md/expand-more.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdExpandMore extends React.Component { } diff --git a/types/react-icons/lib/md/explicit.d.ts b/types/react-icons/lib/md/explicit.d.ts new file mode 100644 index 0000000000..b10026c0af --- /dev/null +++ b/types/react-icons/lib/md/explicit.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdExplicit extends React.Component { } diff --git a/types/react-icons/lib/md/explore.d.ts b/types/react-icons/lib/md/explore.d.ts new file mode 100644 index 0000000000..79180f608d --- /dev/null +++ b/types/react-icons/lib/md/explore.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdExplore extends React.Component { } diff --git a/types/react-icons/lib/md/exposure-minus-1.d.ts b/types/react-icons/lib/md/exposure-minus-1.d.ts new file mode 100644 index 0000000000..f0c9222b4e --- /dev/null +++ b/types/react-icons/lib/md/exposure-minus-1.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdExposureMinus1 extends React.Component { } diff --git a/types/react-icons/lib/md/exposure-minus-2.d.ts b/types/react-icons/lib/md/exposure-minus-2.d.ts new file mode 100644 index 0000000000..7b70926bf1 --- /dev/null +++ b/types/react-icons/lib/md/exposure-minus-2.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdExposureMinus2 extends React.Component { } diff --git a/types/react-icons/lib/md/exposure-neg-1.d.ts b/types/react-icons/lib/md/exposure-neg-1.d.ts new file mode 100644 index 0000000000..136e8abf0e --- /dev/null +++ b/types/react-icons/lib/md/exposure-neg-1.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdExposureNeg1 extends React.Component { } diff --git a/types/react-icons/lib/md/exposure-neg-2.d.ts b/types/react-icons/lib/md/exposure-neg-2.d.ts new file mode 100644 index 0000000000..ceec854625 --- /dev/null +++ b/types/react-icons/lib/md/exposure-neg-2.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdExposureNeg2 extends React.Component { } diff --git a/types/react-icons/lib/md/exposure-plus-1.d.ts b/types/react-icons/lib/md/exposure-plus-1.d.ts new file mode 100644 index 0000000000..fbb81879c2 --- /dev/null +++ b/types/react-icons/lib/md/exposure-plus-1.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdExposurePlus1 extends React.Component { } diff --git a/types/react-icons/lib/md/exposure-plus-2.d.ts b/types/react-icons/lib/md/exposure-plus-2.d.ts new file mode 100644 index 0000000000..d22a7d3123 --- /dev/null +++ b/types/react-icons/lib/md/exposure-plus-2.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdExposurePlus2 extends React.Component { } diff --git a/types/react-icons/lib/md/exposure-zero.d.ts b/types/react-icons/lib/md/exposure-zero.d.ts new file mode 100644 index 0000000000..27125daa24 --- /dev/null +++ b/types/react-icons/lib/md/exposure-zero.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdExposureZero extends React.Component { } diff --git a/types/react-icons/lib/md/exposure.d.ts b/types/react-icons/lib/md/exposure.d.ts new file mode 100644 index 0000000000..1d04f364e0 --- /dev/null +++ b/types/react-icons/lib/md/exposure.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdExposure extends React.Component { } diff --git a/types/react-icons/lib/md/extension.d.ts b/types/react-icons/lib/md/extension.d.ts new file mode 100644 index 0000000000..bfb10535b0 --- /dev/null +++ b/types/react-icons/lib/md/extension.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdExtension extends React.Component { } diff --git a/types/react-icons/lib/md/face.d.ts b/types/react-icons/lib/md/face.d.ts new file mode 100644 index 0000000000..e8042f0b48 --- /dev/null +++ b/types/react-icons/lib/md/face.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFace extends React.Component { } diff --git a/types/react-icons/lib/md/fast-forward.d.ts b/types/react-icons/lib/md/fast-forward.d.ts new file mode 100644 index 0000000000..3daeacb97a --- /dev/null +++ b/types/react-icons/lib/md/fast-forward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFastForward extends React.Component { } diff --git a/types/react-icons/lib/md/fast-rewind.d.ts b/types/react-icons/lib/md/fast-rewind.d.ts new file mode 100644 index 0000000000..5b34d9c3a6 --- /dev/null +++ b/types/react-icons/lib/md/fast-rewind.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFastRewind extends React.Component { } diff --git a/types/react-icons/lib/md/favorite-border.d.ts b/types/react-icons/lib/md/favorite-border.d.ts new file mode 100644 index 0000000000..cd66fdc7e2 --- /dev/null +++ b/types/react-icons/lib/md/favorite-border.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFavoriteBorder extends React.Component { } diff --git a/types/react-icons/lib/md/favorite-outline.d.ts b/types/react-icons/lib/md/favorite-outline.d.ts new file mode 100644 index 0000000000..7b1df113ba --- /dev/null +++ b/types/react-icons/lib/md/favorite-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFavoriteOutline extends React.Component { } diff --git a/types/react-icons/lib/md/favorite.d.ts b/types/react-icons/lib/md/favorite.d.ts new file mode 100644 index 0000000000..84959194f9 --- /dev/null +++ b/types/react-icons/lib/md/favorite.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFavorite extends React.Component { } diff --git a/types/react-icons/lib/md/featured-play-list.d.ts b/types/react-icons/lib/md/featured-play-list.d.ts new file mode 100644 index 0000000000..b8a4685778 --- /dev/null +++ b/types/react-icons/lib/md/featured-play-list.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFeaturedPlayList extends React.Component { } diff --git a/types/react-icons/lib/md/featured-video.d.ts b/types/react-icons/lib/md/featured-video.d.ts new file mode 100644 index 0000000000..67aa6eb9c5 --- /dev/null +++ b/types/react-icons/lib/md/featured-video.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFeaturedVideo extends React.Component { } diff --git a/types/react-icons/lib/md/feedback.d.ts b/types/react-icons/lib/md/feedback.d.ts new file mode 100644 index 0000000000..b69aff1e22 --- /dev/null +++ b/types/react-icons/lib/md/feedback.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFeedback extends React.Component { } diff --git a/types/react-icons/lib/md/fiber-dvr.d.ts b/types/react-icons/lib/md/fiber-dvr.d.ts new file mode 100644 index 0000000000..f8c841d7b0 --- /dev/null +++ b/types/react-icons/lib/md/fiber-dvr.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFiberDvr extends React.Component { } diff --git a/types/react-icons/lib/md/fiber-manual-record.d.ts b/types/react-icons/lib/md/fiber-manual-record.d.ts new file mode 100644 index 0000000000..886e58432d --- /dev/null +++ b/types/react-icons/lib/md/fiber-manual-record.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFiberManualRecord extends React.Component { } diff --git a/types/react-icons/lib/md/fiber-new.d.ts b/types/react-icons/lib/md/fiber-new.d.ts new file mode 100644 index 0000000000..239b7541af --- /dev/null +++ b/types/react-icons/lib/md/fiber-new.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFiberNew extends React.Component { } diff --git a/types/react-icons/lib/md/fiber-pin.d.ts b/types/react-icons/lib/md/fiber-pin.d.ts new file mode 100644 index 0000000000..327b456570 --- /dev/null +++ b/types/react-icons/lib/md/fiber-pin.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFiberPin extends React.Component { } diff --git a/types/react-icons/lib/md/fiber-smart-record.d.ts b/types/react-icons/lib/md/fiber-smart-record.d.ts new file mode 100644 index 0000000000..0054c9fff7 --- /dev/null +++ b/types/react-icons/lib/md/fiber-smart-record.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFiberSmartRecord extends React.Component { } diff --git a/types/react-icons/lib/md/file-download.d.ts b/types/react-icons/lib/md/file-download.d.ts new file mode 100644 index 0000000000..7874143a50 --- /dev/null +++ b/types/react-icons/lib/md/file-download.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFileDownload extends React.Component { } diff --git a/types/react-icons/lib/md/file-upload.d.ts b/types/react-icons/lib/md/file-upload.d.ts new file mode 100644 index 0000000000..96d2742e3c --- /dev/null +++ b/types/react-icons/lib/md/file-upload.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFileUpload extends React.Component { } diff --git a/types/react-icons/lib/md/filter-1.d.ts b/types/react-icons/lib/md/filter-1.d.ts new file mode 100644 index 0000000000..0eab79f7ff --- /dev/null +++ b/types/react-icons/lib/md/filter-1.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFilter1 extends React.Component { } diff --git a/types/react-icons/lib/md/filter-2.d.ts b/types/react-icons/lib/md/filter-2.d.ts new file mode 100644 index 0000000000..7c2ee2aa23 --- /dev/null +++ b/types/react-icons/lib/md/filter-2.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFilter2 extends React.Component { } diff --git a/types/react-icons/lib/md/filter-3.d.ts b/types/react-icons/lib/md/filter-3.d.ts new file mode 100644 index 0000000000..3378d361ba --- /dev/null +++ b/types/react-icons/lib/md/filter-3.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFilter3 extends React.Component { } diff --git a/types/react-icons/lib/md/filter-4.d.ts b/types/react-icons/lib/md/filter-4.d.ts new file mode 100644 index 0000000000..9c781a3957 --- /dev/null +++ b/types/react-icons/lib/md/filter-4.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFilter4 extends React.Component { } diff --git a/types/react-icons/lib/md/filter-5.d.ts b/types/react-icons/lib/md/filter-5.d.ts new file mode 100644 index 0000000000..0231749f2e --- /dev/null +++ b/types/react-icons/lib/md/filter-5.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFilter5 extends React.Component { } diff --git a/types/react-icons/lib/md/filter-6.d.ts b/types/react-icons/lib/md/filter-6.d.ts new file mode 100644 index 0000000000..2aa32d48cd --- /dev/null +++ b/types/react-icons/lib/md/filter-6.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFilter6 extends React.Component { } diff --git a/types/react-icons/lib/md/filter-7.d.ts b/types/react-icons/lib/md/filter-7.d.ts new file mode 100644 index 0000000000..3a130313a7 --- /dev/null +++ b/types/react-icons/lib/md/filter-7.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFilter7 extends React.Component { } diff --git a/types/react-icons/lib/md/filter-8.d.ts b/types/react-icons/lib/md/filter-8.d.ts new file mode 100644 index 0000000000..bd2690c793 --- /dev/null +++ b/types/react-icons/lib/md/filter-8.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFilter8 extends React.Component { } diff --git a/types/react-icons/lib/md/filter-9-plus.d.ts b/types/react-icons/lib/md/filter-9-plus.d.ts new file mode 100644 index 0000000000..6e11758f2e --- /dev/null +++ b/types/react-icons/lib/md/filter-9-plus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFilter9Plus extends React.Component { } diff --git a/types/react-icons/lib/md/filter-9.d.ts b/types/react-icons/lib/md/filter-9.d.ts new file mode 100644 index 0000000000..b4971c93f9 --- /dev/null +++ b/types/react-icons/lib/md/filter-9.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFilter9 extends React.Component { } diff --git a/types/react-icons/lib/md/filter-b-and-w.d.ts b/types/react-icons/lib/md/filter-b-and-w.d.ts new file mode 100644 index 0000000000..327d166bae --- /dev/null +++ b/types/react-icons/lib/md/filter-b-and-w.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFilterBAndW extends React.Component { } diff --git a/types/react-icons/lib/md/filter-center-focus.d.ts b/types/react-icons/lib/md/filter-center-focus.d.ts new file mode 100644 index 0000000000..6001fc45a8 --- /dev/null +++ b/types/react-icons/lib/md/filter-center-focus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFilterCenterFocus extends React.Component { } diff --git a/types/react-icons/lib/md/filter-drama.d.ts b/types/react-icons/lib/md/filter-drama.d.ts new file mode 100644 index 0000000000..982c0518d9 --- /dev/null +++ b/types/react-icons/lib/md/filter-drama.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFilterDrama extends React.Component { } diff --git a/types/react-icons/lib/md/filter-frames.d.ts b/types/react-icons/lib/md/filter-frames.d.ts new file mode 100644 index 0000000000..daef1b137f --- /dev/null +++ b/types/react-icons/lib/md/filter-frames.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFilterFrames extends React.Component { } diff --git a/types/react-icons/lib/md/filter-hdr.d.ts b/types/react-icons/lib/md/filter-hdr.d.ts new file mode 100644 index 0000000000..997614833c --- /dev/null +++ b/types/react-icons/lib/md/filter-hdr.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFilterHdr extends React.Component { } diff --git a/types/react-icons/lib/md/filter-list.d.ts b/types/react-icons/lib/md/filter-list.d.ts new file mode 100644 index 0000000000..546734dff6 --- /dev/null +++ b/types/react-icons/lib/md/filter-list.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFilterList extends React.Component { } diff --git a/types/react-icons/lib/md/filter-none.d.ts b/types/react-icons/lib/md/filter-none.d.ts new file mode 100644 index 0000000000..2e160324d8 --- /dev/null +++ b/types/react-icons/lib/md/filter-none.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFilterNone extends React.Component { } diff --git a/types/react-icons/lib/md/filter-tilt-shift.d.ts b/types/react-icons/lib/md/filter-tilt-shift.d.ts new file mode 100644 index 0000000000..0e68c95a0a --- /dev/null +++ b/types/react-icons/lib/md/filter-tilt-shift.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFilterTiltShift extends React.Component { } diff --git a/types/react-icons/lib/md/filter-vintage.d.ts b/types/react-icons/lib/md/filter-vintage.d.ts new file mode 100644 index 0000000000..af1243b86d --- /dev/null +++ b/types/react-icons/lib/md/filter-vintage.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFilterVintage extends React.Component { } diff --git a/types/react-icons/lib/md/filter.d.ts b/types/react-icons/lib/md/filter.d.ts new file mode 100644 index 0000000000..30fd120a11 --- /dev/null +++ b/types/react-icons/lib/md/filter.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFilter extends React.Component { } diff --git a/types/react-icons/lib/md/find-in-page.d.ts b/types/react-icons/lib/md/find-in-page.d.ts new file mode 100644 index 0000000000..3dbb98ad7d --- /dev/null +++ b/types/react-icons/lib/md/find-in-page.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFindInPage extends React.Component { } diff --git a/types/react-icons/lib/md/find-replace.d.ts b/types/react-icons/lib/md/find-replace.d.ts new file mode 100644 index 0000000000..0a066acf85 --- /dev/null +++ b/types/react-icons/lib/md/find-replace.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFindReplace extends React.Component { } diff --git a/types/react-icons/lib/md/fingerprint.d.ts b/types/react-icons/lib/md/fingerprint.d.ts new file mode 100644 index 0000000000..1db6d8d427 --- /dev/null +++ b/types/react-icons/lib/md/fingerprint.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFingerprint extends React.Component { } diff --git a/types/react-icons/lib/md/first-page.d.ts b/types/react-icons/lib/md/first-page.d.ts new file mode 100644 index 0000000000..95576cd1a2 --- /dev/null +++ b/types/react-icons/lib/md/first-page.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFirstPage extends React.Component { } diff --git a/types/react-icons/lib/md/fitness-center.d.ts b/types/react-icons/lib/md/fitness-center.d.ts new file mode 100644 index 0000000000..5874b3c1b7 --- /dev/null +++ b/types/react-icons/lib/md/fitness-center.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFitnessCenter extends React.Component { } diff --git a/types/react-icons/lib/md/flag.d.ts b/types/react-icons/lib/md/flag.d.ts new file mode 100644 index 0000000000..5767d894db --- /dev/null +++ b/types/react-icons/lib/md/flag.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFlag extends React.Component { } diff --git a/types/react-icons/lib/md/flare.d.ts b/types/react-icons/lib/md/flare.d.ts new file mode 100644 index 0000000000..68715b9a9d --- /dev/null +++ b/types/react-icons/lib/md/flare.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFlare extends React.Component { } diff --git a/types/react-icons/lib/md/flash-auto.d.ts b/types/react-icons/lib/md/flash-auto.d.ts new file mode 100644 index 0000000000..e119dc247b --- /dev/null +++ b/types/react-icons/lib/md/flash-auto.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFlashAuto extends React.Component { } diff --git a/types/react-icons/lib/md/flash-off.d.ts b/types/react-icons/lib/md/flash-off.d.ts new file mode 100644 index 0000000000..fceeadc93a --- /dev/null +++ b/types/react-icons/lib/md/flash-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFlashOff extends React.Component { } diff --git a/types/react-icons/lib/md/flash-on.d.ts b/types/react-icons/lib/md/flash-on.d.ts new file mode 100644 index 0000000000..8fcec401bc --- /dev/null +++ b/types/react-icons/lib/md/flash-on.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFlashOn extends React.Component { } diff --git a/types/react-icons/lib/md/flight-land.d.ts b/types/react-icons/lib/md/flight-land.d.ts new file mode 100644 index 0000000000..f0571c691c --- /dev/null +++ b/types/react-icons/lib/md/flight-land.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFlightLand extends React.Component { } diff --git a/types/react-icons/lib/md/flight-takeoff.d.ts b/types/react-icons/lib/md/flight-takeoff.d.ts new file mode 100644 index 0000000000..c22f43d504 --- /dev/null +++ b/types/react-icons/lib/md/flight-takeoff.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFlightTakeoff extends React.Component { } diff --git a/types/react-icons/lib/md/flight.d.ts b/types/react-icons/lib/md/flight.d.ts new file mode 100644 index 0000000000..da17781711 --- /dev/null +++ b/types/react-icons/lib/md/flight.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFlight extends React.Component { } diff --git a/types/react-icons/lib/md/flip-to-back.d.ts b/types/react-icons/lib/md/flip-to-back.d.ts new file mode 100644 index 0000000000..a5d426d353 --- /dev/null +++ b/types/react-icons/lib/md/flip-to-back.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFlipToBack extends React.Component { } diff --git a/types/react-icons/lib/md/flip-to-front.d.ts b/types/react-icons/lib/md/flip-to-front.d.ts new file mode 100644 index 0000000000..480c1d3466 --- /dev/null +++ b/types/react-icons/lib/md/flip-to-front.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFlipToFront extends React.Component { } diff --git a/types/react-icons/lib/md/flip.d.ts b/types/react-icons/lib/md/flip.d.ts new file mode 100644 index 0000000000..990872e643 --- /dev/null +++ b/types/react-icons/lib/md/flip.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFlip extends React.Component { } diff --git a/types/react-icons/lib/md/folder-open.d.ts b/types/react-icons/lib/md/folder-open.d.ts new file mode 100644 index 0000000000..813a57abba --- /dev/null +++ b/types/react-icons/lib/md/folder-open.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFolderOpen extends React.Component { } diff --git a/types/react-icons/lib/md/folder-shared.d.ts b/types/react-icons/lib/md/folder-shared.d.ts new file mode 100644 index 0000000000..a1734b4440 --- /dev/null +++ b/types/react-icons/lib/md/folder-shared.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFolderShared extends React.Component { } diff --git a/types/react-icons/lib/md/folder-special.d.ts b/types/react-icons/lib/md/folder-special.d.ts new file mode 100644 index 0000000000..ee62be51ce --- /dev/null +++ b/types/react-icons/lib/md/folder-special.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFolderSpecial extends React.Component { } diff --git a/types/react-icons/lib/md/folder.d.ts b/types/react-icons/lib/md/folder.d.ts new file mode 100644 index 0000000000..efde8117c4 --- /dev/null +++ b/types/react-icons/lib/md/folder.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFolder extends React.Component { } diff --git a/types/react-icons/lib/md/font-download.d.ts b/types/react-icons/lib/md/font-download.d.ts new file mode 100644 index 0000000000..61c3368b45 --- /dev/null +++ b/types/react-icons/lib/md/font-download.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFontDownload extends React.Component { } diff --git a/types/react-icons/lib/md/format-align-center.d.ts b/types/react-icons/lib/md/format-align-center.d.ts new file mode 100644 index 0000000000..e601b4115d --- /dev/null +++ b/types/react-icons/lib/md/format-align-center.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatAlignCenter extends React.Component { } diff --git a/types/react-icons/lib/md/format-align-justify.d.ts b/types/react-icons/lib/md/format-align-justify.d.ts new file mode 100644 index 0000000000..a35ccd43cf --- /dev/null +++ b/types/react-icons/lib/md/format-align-justify.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatAlignJustify extends React.Component { } diff --git a/types/react-icons/lib/md/format-align-left.d.ts b/types/react-icons/lib/md/format-align-left.d.ts new file mode 100644 index 0000000000..45443b3013 --- /dev/null +++ b/types/react-icons/lib/md/format-align-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatAlignLeft extends React.Component { } diff --git a/types/react-icons/lib/md/format-align-right.d.ts b/types/react-icons/lib/md/format-align-right.d.ts new file mode 100644 index 0000000000..4c965ed516 --- /dev/null +++ b/types/react-icons/lib/md/format-align-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatAlignRight extends React.Component { } diff --git a/types/react-icons/lib/md/format-bold.d.ts b/types/react-icons/lib/md/format-bold.d.ts new file mode 100644 index 0000000000..45c6764995 --- /dev/null +++ b/types/react-icons/lib/md/format-bold.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatBold extends React.Component { } diff --git a/types/react-icons/lib/md/format-clear.d.ts b/types/react-icons/lib/md/format-clear.d.ts new file mode 100644 index 0000000000..b60b1f0d1c --- /dev/null +++ b/types/react-icons/lib/md/format-clear.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatClear extends React.Component { } diff --git a/types/react-icons/lib/md/format-color-fill.d.ts b/types/react-icons/lib/md/format-color-fill.d.ts new file mode 100644 index 0000000000..c3a17b53ff --- /dev/null +++ b/types/react-icons/lib/md/format-color-fill.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatColorFill extends React.Component { } diff --git a/types/react-icons/lib/md/format-color-reset.d.ts b/types/react-icons/lib/md/format-color-reset.d.ts new file mode 100644 index 0000000000..399c41d77e --- /dev/null +++ b/types/react-icons/lib/md/format-color-reset.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatColorReset extends React.Component { } diff --git a/types/react-icons/lib/md/format-color-text.d.ts b/types/react-icons/lib/md/format-color-text.d.ts new file mode 100644 index 0000000000..1a332ab22a --- /dev/null +++ b/types/react-icons/lib/md/format-color-text.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatColorText extends React.Component { } diff --git a/types/react-icons/lib/md/format-indent-decrease.d.ts b/types/react-icons/lib/md/format-indent-decrease.d.ts new file mode 100644 index 0000000000..a89c15275d --- /dev/null +++ b/types/react-icons/lib/md/format-indent-decrease.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatIndentDecrease extends React.Component { } diff --git a/types/react-icons/lib/md/format-indent-increase.d.ts b/types/react-icons/lib/md/format-indent-increase.d.ts new file mode 100644 index 0000000000..8b2d098b69 --- /dev/null +++ b/types/react-icons/lib/md/format-indent-increase.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatIndentIncrease extends React.Component { } diff --git a/types/react-icons/lib/md/format-italic.d.ts b/types/react-icons/lib/md/format-italic.d.ts new file mode 100644 index 0000000000..bbc7df9a3f --- /dev/null +++ b/types/react-icons/lib/md/format-italic.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatItalic extends React.Component { } diff --git a/types/react-icons/lib/md/format-line-spacing.d.ts b/types/react-icons/lib/md/format-line-spacing.d.ts new file mode 100644 index 0000000000..3731147921 --- /dev/null +++ b/types/react-icons/lib/md/format-line-spacing.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatLineSpacing extends React.Component { } diff --git a/types/react-icons/lib/md/format-list-bulleted.d.ts b/types/react-icons/lib/md/format-list-bulleted.d.ts new file mode 100644 index 0000000000..6813d2e4a4 --- /dev/null +++ b/types/react-icons/lib/md/format-list-bulleted.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatListBulleted extends React.Component { } diff --git a/types/react-icons/lib/md/format-list-numbered.d.ts b/types/react-icons/lib/md/format-list-numbered.d.ts new file mode 100644 index 0000000000..8c241c413f --- /dev/null +++ b/types/react-icons/lib/md/format-list-numbered.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatListNumbered extends React.Component { } diff --git a/types/react-icons/lib/md/format-paint.d.ts b/types/react-icons/lib/md/format-paint.d.ts new file mode 100644 index 0000000000..ebbc520c32 --- /dev/null +++ b/types/react-icons/lib/md/format-paint.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatPaint extends React.Component { } diff --git a/types/react-icons/lib/md/format-quote.d.ts b/types/react-icons/lib/md/format-quote.d.ts new file mode 100644 index 0000000000..bd1037ab81 --- /dev/null +++ b/types/react-icons/lib/md/format-quote.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatQuote extends React.Component { } diff --git a/types/react-icons/lib/md/format-shapes.d.ts b/types/react-icons/lib/md/format-shapes.d.ts new file mode 100644 index 0000000000..c40f7411dd --- /dev/null +++ b/types/react-icons/lib/md/format-shapes.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatShapes extends React.Component { } diff --git a/types/react-icons/lib/md/format-size.d.ts b/types/react-icons/lib/md/format-size.d.ts new file mode 100644 index 0000000000..2a9e345a3e --- /dev/null +++ b/types/react-icons/lib/md/format-size.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatSize extends React.Component { } diff --git a/types/react-icons/lib/md/format-strikethrough.d.ts b/types/react-icons/lib/md/format-strikethrough.d.ts new file mode 100644 index 0000000000..fe36f12771 --- /dev/null +++ b/types/react-icons/lib/md/format-strikethrough.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatStrikethrough extends React.Component { } diff --git a/types/react-icons/lib/md/format-textdirection-l-to-r.d.ts b/types/react-icons/lib/md/format-textdirection-l-to-r.d.ts new file mode 100644 index 0000000000..71b083148c --- /dev/null +++ b/types/react-icons/lib/md/format-textdirection-l-to-r.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatTextdirectionLToR extends React.Component { } diff --git a/types/react-icons/lib/md/format-textdirection-r-to-l.d.ts b/types/react-icons/lib/md/format-textdirection-r-to-l.d.ts new file mode 100644 index 0000000000..58086109e0 --- /dev/null +++ b/types/react-icons/lib/md/format-textdirection-r-to-l.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatTextdirectionRToL extends React.Component { } diff --git a/types/react-icons/lib/md/format-underlined.d.ts b/types/react-icons/lib/md/format-underlined.d.ts new file mode 100644 index 0000000000..126df5e540 --- /dev/null +++ b/types/react-icons/lib/md/format-underlined.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFormatUnderlined extends React.Component { } diff --git a/types/react-icons/lib/md/forum.d.ts b/types/react-icons/lib/md/forum.d.ts new file mode 100644 index 0000000000..b7bdc2c096 --- /dev/null +++ b/types/react-icons/lib/md/forum.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdForum extends React.Component { } diff --git a/types/react-icons/lib/md/forward-10.d.ts b/types/react-icons/lib/md/forward-10.d.ts new file mode 100644 index 0000000000..295d4e89f1 --- /dev/null +++ b/types/react-icons/lib/md/forward-10.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdForward10 extends React.Component { } diff --git a/types/react-icons/lib/md/forward-30.d.ts b/types/react-icons/lib/md/forward-30.d.ts new file mode 100644 index 0000000000..060517c358 --- /dev/null +++ b/types/react-icons/lib/md/forward-30.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdForward30 extends React.Component { } diff --git a/types/react-icons/lib/md/forward-5.d.ts b/types/react-icons/lib/md/forward-5.d.ts new file mode 100644 index 0000000000..bab1bcea70 --- /dev/null +++ b/types/react-icons/lib/md/forward-5.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdForward5 extends React.Component { } diff --git a/types/react-icons/lib/md/forward.d.ts b/types/react-icons/lib/md/forward.d.ts new file mode 100644 index 0000000000..5a3c89125d --- /dev/null +++ b/types/react-icons/lib/md/forward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdForward extends React.Component { } diff --git a/types/react-icons/lib/md/free-breakfast.d.ts b/types/react-icons/lib/md/free-breakfast.d.ts new file mode 100644 index 0000000000..362b7036e4 --- /dev/null +++ b/types/react-icons/lib/md/free-breakfast.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFreeBreakfast extends React.Component { } diff --git a/types/react-icons/lib/md/fullscreen-exit.d.ts b/types/react-icons/lib/md/fullscreen-exit.d.ts new file mode 100644 index 0000000000..0a1e720dc6 --- /dev/null +++ b/types/react-icons/lib/md/fullscreen-exit.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFullscreenExit extends React.Component { } diff --git a/types/react-icons/lib/md/fullscreen.d.ts b/types/react-icons/lib/md/fullscreen.d.ts new file mode 100644 index 0000000000..a31a4e460b --- /dev/null +++ b/types/react-icons/lib/md/fullscreen.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFullscreen extends React.Component { } diff --git a/types/react-icons/lib/md/functions.d.ts b/types/react-icons/lib/md/functions.d.ts new file mode 100644 index 0000000000..c6b5e4e36f --- /dev/null +++ b/types/react-icons/lib/md/functions.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdFunctions extends React.Component { } diff --git a/types/react-icons/lib/md/g-translate.d.ts b/types/react-icons/lib/md/g-translate.d.ts new file mode 100644 index 0000000000..46b09234a0 --- /dev/null +++ b/types/react-icons/lib/md/g-translate.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGTranslate extends React.Component { } diff --git a/types/react-icons/lib/md/gamepad.d.ts b/types/react-icons/lib/md/gamepad.d.ts new file mode 100644 index 0000000000..8596cbd26d --- /dev/null +++ b/types/react-icons/lib/md/gamepad.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGamepad extends React.Component { } diff --git a/types/react-icons/lib/md/games.d.ts b/types/react-icons/lib/md/games.d.ts new file mode 100644 index 0000000000..3a64f429b9 --- /dev/null +++ b/types/react-icons/lib/md/games.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGames extends React.Component { } diff --git a/types/react-icons/lib/md/gavel.d.ts b/types/react-icons/lib/md/gavel.d.ts new file mode 100644 index 0000000000..55fd1390e9 --- /dev/null +++ b/types/react-icons/lib/md/gavel.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGavel extends React.Component { } diff --git a/types/react-icons/lib/md/gesture.d.ts b/types/react-icons/lib/md/gesture.d.ts new file mode 100644 index 0000000000..a382f009b4 --- /dev/null +++ b/types/react-icons/lib/md/gesture.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGesture extends React.Component { } diff --git a/types/react-icons/lib/md/get-app.d.ts b/types/react-icons/lib/md/get-app.d.ts new file mode 100644 index 0000000000..9fe4a2a003 --- /dev/null +++ b/types/react-icons/lib/md/get-app.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGetApp extends React.Component { } diff --git a/types/react-icons/lib/md/gif.d.ts b/types/react-icons/lib/md/gif.d.ts new file mode 100644 index 0000000000..60d7666674 --- /dev/null +++ b/types/react-icons/lib/md/gif.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGif extends React.Component { } diff --git a/types/react-icons/lib/md/goat.d.ts b/types/react-icons/lib/md/goat.d.ts new file mode 100644 index 0000000000..43610ba2e6 --- /dev/null +++ b/types/react-icons/lib/md/goat.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGoat extends React.Component { } diff --git a/types/react-icons/lib/md/golf-course.d.ts b/types/react-icons/lib/md/golf-course.d.ts new file mode 100644 index 0000000000..301ee1b707 --- /dev/null +++ b/types/react-icons/lib/md/golf-course.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGolfCourse extends React.Component { } diff --git a/types/react-icons/lib/md/gps-fixed.d.ts b/types/react-icons/lib/md/gps-fixed.d.ts new file mode 100644 index 0000000000..12443403df --- /dev/null +++ b/types/react-icons/lib/md/gps-fixed.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGpsFixed extends React.Component { } diff --git a/types/react-icons/lib/md/gps-not-fixed.d.ts b/types/react-icons/lib/md/gps-not-fixed.d.ts new file mode 100644 index 0000000000..8af1c95e23 --- /dev/null +++ b/types/react-icons/lib/md/gps-not-fixed.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGpsNotFixed extends React.Component { } diff --git a/types/react-icons/lib/md/gps-off.d.ts b/types/react-icons/lib/md/gps-off.d.ts new file mode 100644 index 0000000000..c02322b7a4 --- /dev/null +++ b/types/react-icons/lib/md/gps-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGpsOff extends React.Component { } diff --git a/types/react-icons/lib/md/grade.d.ts b/types/react-icons/lib/md/grade.d.ts new file mode 100644 index 0000000000..cebbc96aa6 --- /dev/null +++ b/types/react-icons/lib/md/grade.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGrade extends React.Component { } diff --git a/types/react-icons/lib/md/gradient.d.ts b/types/react-icons/lib/md/gradient.d.ts new file mode 100644 index 0000000000..32e62169a4 --- /dev/null +++ b/types/react-icons/lib/md/gradient.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGradient extends React.Component { } diff --git a/types/react-icons/lib/md/grain.d.ts b/types/react-icons/lib/md/grain.d.ts new file mode 100644 index 0000000000..79a8b9a14d --- /dev/null +++ b/types/react-icons/lib/md/grain.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGrain extends React.Component { } diff --git a/types/react-icons/lib/md/graphic-eq.d.ts b/types/react-icons/lib/md/graphic-eq.d.ts new file mode 100644 index 0000000000..7f59fa3728 --- /dev/null +++ b/types/react-icons/lib/md/graphic-eq.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGraphicEq extends React.Component { } diff --git a/types/react-icons/lib/md/grid-off.d.ts b/types/react-icons/lib/md/grid-off.d.ts new file mode 100644 index 0000000000..8b5cf60336 --- /dev/null +++ b/types/react-icons/lib/md/grid-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGridOff extends React.Component { } diff --git a/types/react-icons/lib/md/grid-on.d.ts b/types/react-icons/lib/md/grid-on.d.ts new file mode 100644 index 0000000000..4978f9912e --- /dev/null +++ b/types/react-icons/lib/md/grid-on.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGridOn extends React.Component { } diff --git a/types/react-icons/lib/md/group-add.d.ts b/types/react-icons/lib/md/group-add.d.ts new file mode 100644 index 0000000000..bacc3ed6cf --- /dev/null +++ b/types/react-icons/lib/md/group-add.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGroupAdd extends React.Component { } diff --git a/types/react-icons/lib/md/group-work.d.ts b/types/react-icons/lib/md/group-work.d.ts new file mode 100644 index 0000000000..997b1738f2 --- /dev/null +++ b/types/react-icons/lib/md/group-work.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGroupWork extends React.Component { } diff --git a/types/react-icons/lib/md/group.d.ts b/types/react-icons/lib/md/group.d.ts new file mode 100644 index 0000000000..af48b3dd81 --- /dev/null +++ b/types/react-icons/lib/md/group.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdGroup extends React.Component { } diff --git a/types/react-icons/lib/md/hd.d.ts b/types/react-icons/lib/md/hd.d.ts new file mode 100644 index 0000000000..1698da3a4d --- /dev/null +++ b/types/react-icons/lib/md/hd.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHd extends React.Component { } diff --git a/types/react-icons/lib/md/hdr-off.d.ts b/types/react-icons/lib/md/hdr-off.d.ts new file mode 100644 index 0000000000..4a343d8a9b --- /dev/null +++ b/types/react-icons/lib/md/hdr-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHdrOff extends React.Component { } diff --git a/types/react-icons/lib/md/hdr-on.d.ts b/types/react-icons/lib/md/hdr-on.d.ts new file mode 100644 index 0000000000..129aa05032 --- /dev/null +++ b/types/react-icons/lib/md/hdr-on.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHdrOn extends React.Component { } diff --git a/types/react-icons/lib/md/hdr-strong.d.ts b/types/react-icons/lib/md/hdr-strong.d.ts new file mode 100644 index 0000000000..f1eb6a8c80 --- /dev/null +++ b/types/react-icons/lib/md/hdr-strong.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHdrStrong extends React.Component { } diff --git a/types/react-icons/lib/md/hdr-weak.d.ts b/types/react-icons/lib/md/hdr-weak.d.ts new file mode 100644 index 0000000000..43be31c24d --- /dev/null +++ b/types/react-icons/lib/md/hdr-weak.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHdrWeak extends React.Component { } diff --git a/types/react-icons/lib/md/headset-mic.d.ts b/types/react-icons/lib/md/headset-mic.d.ts new file mode 100644 index 0000000000..83c8c0547e --- /dev/null +++ b/types/react-icons/lib/md/headset-mic.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHeadsetMic extends React.Component { } diff --git a/types/react-icons/lib/md/headset.d.ts b/types/react-icons/lib/md/headset.d.ts new file mode 100644 index 0000000000..988ed4b38d --- /dev/null +++ b/types/react-icons/lib/md/headset.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHeadset extends React.Component { } diff --git a/types/react-icons/lib/md/healing.d.ts b/types/react-icons/lib/md/healing.d.ts new file mode 100644 index 0000000000..fc914063c2 --- /dev/null +++ b/types/react-icons/lib/md/healing.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHealing extends React.Component { } diff --git a/types/react-icons/lib/md/hearing.d.ts b/types/react-icons/lib/md/hearing.d.ts new file mode 100644 index 0000000000..134c7f1863 --- /dev/null +++ b/types/react-icons/lib/md/hearing.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHearing extends React.Component { } diff --git a/types/react-icons/lib/md/help-outline.d.ts b/types/react-icons/lib/md/help-outline.d.ts new file mode 100644 index 0000000000..2734400cb9 --- /dev/null +++ b/types/react-icons/lib/md/help-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHelpOutline extends React.Component { } diff --git a/types/react-icons/lib/md/help.d.ts b/types/react-icons/lib/md/help.d.ts new file mode 100644 index 0000000000..cce20cffd6 --- /dev/null +++ b/types/react-icons/lib/md/help.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHelp extends React.Component { } diff --git a/types/react-icons/lib/md/high-quality.d.ts b/types/react-icons/lib/md/high-quality.d.ts new file mode 100644 index 0000000000..5676b35cbd --- /dev/null +++ b/types/react-icons/lib/md/high-quality.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHighQuality extends React.Component { } diff --git a/types/react-icons/lib/md/highlight-off.d.ts b/types/react-icons/lib/md/highlight-off.d.ts new file mode 100644 index 0000000000..f188f1f9bd --- /dev/null +++ b/types/react-icons/lib/md/highlight-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHighlightOff extends React.Component { } diff --git a/types/react-icons/lib/md/highlight-remove.d.ts b/types/react-icons/lib/md/highlight-remove.d.ts new file mode 100644 index 0000000000..7a28a3b5ae --- /dev/null +++ b/types/react-icons/lib/md/highlight-remove.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHighlightRemove extends React.Component { } diff --git a/types/react-icons/lib/md/highlight.d.ts b/types/react-icons/lib/md/highlight.d.ts new file mode 100644 index 0000000000..0730ad41da --- /dev/null +++ b/types/react-icons/lib/md/highlight.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHighlight extends React.Component { } diff --git a/types/react-icons/lib/md/history.d.ts b/types/react-icons/lib/md/history.d.ts new file mode 100644 index 0000000000..d97bca17d4 --- /dev/null +++ b/types/react-icons/lib/md/history.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHistory extends React.Component { } diff --git a/types/react-icons/lib/md/home.d.ts b/types/react-icons/lib/md/home.d.ts new file mode 100644 index 0000000000..6defd6933f --- /dev/null +++ b/types/react-icons/lib/md/home.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHome extends React.Component { } diff --git a/types/react-icons/lib/md/hot-tub.d.ts b/types/react-icons/lib/md/hot-tub.d.ts new file mode 100644 index 0000000000..89cf2e0591 --- /dev/null +++ b/types/react-icons/lib/md/hot-tub.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHotTub extends React.Component { } diff --git a/types/react-icons/lib/md/hotel.d.ts b/types/react-icons/lib/md/hotel.d.ts new file mode 100644 index 0000000000..198fb2b211 --- /dev/null +++ b/types/react-icons/lib/md/hotel.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHotel extends React.Component { } diff --git a/types/react-icons/lib/md/hourglass-empty.d.ts b/types/react-icons/lib/md/hourglass-empty.d.ts new file mode 100644 index 0000000000..a7e4e25915 --- /dev/null +++ b/types/react-icons/lib/md/hourglass-empty.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHourglassEmpty extends React.Component { } diff --git a/types/react-icons/lib/md/hourglass-full.d.ts b/types/react-icons/lib/md/hourglass-full.d.ts new file mode 100644 index 0000000000..2a3e1507a3 --- /dev/null +++ b/types/react-icons/lib/md/hourglass-full.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHourglassFull extends React.Component { } diff --git a/types/react-icons/lib/md/http.d.ts b/types/react-icons/lib/md/http.d.ts new file mode 100644 index 0000000000..def5a14ec5 --- /dev/null +++ b/types/react-icons/lib/md/http.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHttp extends React.Component { } diff --git a/types/react-icons/lib/md/https.d.ts b/types/react-icons/lib/md/https.d.ts new file mode 100644 index 0000000000..991ad252b9 --- /dev/null +++ b/types/react-icons/lib/md/https.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdHttps extends React.Component { } diff --git a/types/react-icons/lib/md/image-aspect-ratio.d.ts b/types/react-icons/lib/md/image-aspect-ratio.d.ts new file mode 100644 index 0000000000..2cff8927ea --- /dev/null +++ b/types/react-icons/lib/md/image-aspect-ratio.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdImageAspectRatio extends React.Component { } diff --git a/types/react-icons/lib/md/image.d.ts b/types/react-icons/lib/md/image.d.ts new file mode 100644 index 0000000000..f4246f01ed --- /dev/null +++ b/types/react-icons/lib/md/image.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdImage extends React.Component { } diff --git a/types/react-icons/lib/md/import-contacts.d.ts b/types/react-icons/lib/md/import-contacts.d.ts new file mode 100644 index 0000000000..4012627098 --- /dev/null +++ b/types/react-icons/lib/md/import-contacts.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdImportContacts extends React.Component { } diff --git a/types/react-icons/lib/md/import-export.d.ts b/types/react-icons/lib/md/import-export.d.ts new file mode 100644 index 0000000000..9c66e17352 --- /dev/null +++ b/types/react-icons/lib/md/import-export.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdImportExport extends React.Component { } diff --git a/types/react-icons/lib/md/important-devices.d.ts b/types/react-icons/lib/md/important-devices.d.ts new file mode 100644 index 0000000000..8795301e43 --- /dev/null +++ b/types/react-icons/lib/md/important-devices.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdImportantDevices extends React.Component { } diff --git a/types/react-icons/lib/md/inbox.d.ts b/types/react-icons/lib/md/inbox.d.ts new file mode 100644 index 0000000000..13d401760f --- /dev/null +++ b/types/react-icons/lib/md/inbox.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdInbox extends React.Component { } diff --git a/types/react-icons/lib/md/indeterminate-check-box.d.ts b/types/react-icons/lib/md/indeterminate-check-box.d.ts new file mode 100644 index 0000000000..01b0c58730 --- /dev/null +++ b/types/react-icons/lib/md/indeterminate-check-box.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdIndeterminateCheckBox extends React.Component { } diff --git a/types/react-icons/lib/md/index.d.ts b/types/react-icons/lib/md/index.d.ts new file mode 100644 index 0000000000..a3e2e3e929 --- /dev/null +++ b/types/react-icons/lib/md/index.d.ts @@ -0,0 +1,946 @@ +export { default as Md3dRotation } from "./3d-rotation"; +export { default as MdAcUnit } from "./ac-unit"; +export { default as MdAccessAlarm } from "./access-alarm"; +export { default as MdAccessAlarms } from "./access-alarms"; +export { default as MdAccessTime } from "./access-time"; +export { default as MdAccessibility } from "./accessibility"; +export { default as MdAccessible } from "./accessible"; +export { default as MdAccountBalanceWallet } from "./account-balance-wallet"; +export { default as MdAccountBalance } from "./account-balance"; +export { default as MdAccountBox } from "./account-box"; +export { default as MdAccountCircle } from "./account-circle"; +export { default as MdAdb } from "./adb"; +export { default as MdAddAPhoto } from "./add-a-photo"; +export { default as MdAddAlarm } from "./add-alarm"; +export { default as MdAddAlert } from "./add-alert"; +export { default as MdAddBox } from "./add-box"; +export { default as MdAddCircleOutline } from "./add-circle-outline"; +export { default as MdAddCircle } from "./add-circle"; +export { default as MdAddLocation } from "./add-location"; +export { default as MdAddShoppingCart } from "./add-shopping-cart"; +export { default as MdAddToPhotos } from "./add-to-photos"; +export { default as MdAddToQueue } from "./add-to-queue"; +export { default as MdAdd } from "./add"; +export { default as MdAdjust } from "./adjust"; +export { default as MdAirlineSeatFlatAngled } from "./airline-seat-flat-angled"; +export { default as MdAirlineSeatFlat } from "./airline-seat-flat"; +export { default as MdAirlineSeatIndividualSuite } from "./airline-seat-individual-suite"; +export { default as MdAirlineSeatLegroomExtra } from "./airline-seat-legroom-extra"; +export { default as MdAirlineSeatLegroomNormal } from "./airline-seat-legroom-normal"; +export { default as MdAirlineSeatLegroomReduced } from "./airline-seat-legroom-reduced"; +export { default as MdAirlineSeatReclineExtra } from "./airline-seat-recline-extra"; +export { default as MdAirlineSeatReclineNormal } from "./airline-seat-recline-normal"; +export { default as MdAirplanemodeActive } from "./airplanemode-active"; +export { default as MdAirplanemodeInactive } from "./airplanemode-inactive"; +export { default as MdAirplay } from "./airplay"; +export { default as MdAirportShuttle } from "./airport-shuttle"; +export { default as MdAlarmAdd } from "./alarm-add"; +export { default as MdAlarmOff } from "./alarm-off"; +export { default as MdAlarmOn } from "./alarm-on"; +export { default as MdAlarm } from "./alarm"; +export { default as MdAlbum } from "./album"; +export { default as MdAllInclusive } from "./all-inclusive"; +export { default as MdAllOut } from "./all-out"; +export { default as MdAndroid } from "./android"; +export { default as MdAnnouncement } from "./announcement"; +export { default as MdApps } from "./apps"; +export { default as MdArchive } from "./archive"; +export { default as MdArrowBack } from "./arrow-back"; +export { default as MdArrowDownward } from "./arrow-downward"; +export { default as MdArrowDropDownCircle } from "./arrow-drop-down-circle"; +export { default as MdArrowDropDown } from "./arrow-drop-down"; +export { default as MdArrowDropUp } from "./arrow-drop-up"; +export { default as MdArrowForward } from "./arrow-forward"; +export { default as MdArrowUpward } from "./arrow-upward"; +export { default as MdArtTrack } from "./art-track"; +export { default as MdAspectRatio } from "./aspect-ratio"; +export { default as MdAssessment } from "./assessment"; +export { default as MdAssignmentInd } from "./assignment-ind"; +export { default as MdAssignmentLate } from "./assignment-late"; +export { default as MdAssignmentReturn } from "./assignment-return"; +export { default as MdAssignmentReturned } from "./assignment-returned"; +export { default as MdAssignmentTurnedIn } from "./assignment-turned-in"; +export { default as MdAssignment } from "./assignment"; +export { default as MdAssistantPhoto } from "./assistant-photo"; +export { default as MdAssistant } from "./assistant"; +export { default as MdAttachFile } from "./attach-file"; +export { default as MdAttachMoney } from "./attach-money"; +export { default as MdAttachment } from "./attachment"; +export { default as MdAudiotrack } from "./audiotrack"; +export { default as MdAutorenew } from "./autorenew"; +export { default as MdAvTimer } from "./av-timer"; +export { default as MdBackspace } from "./backspace"; +export { default as MdBackup } from "./backup"; +export { default as MdBatteryAlert } from "./battery-alert"; +export { default as MdBatteryChargingFull } from "./battery-charging-full"; +export { default as MdBatteryFull } from "./battery-full"; +export { default as MdBatteryStd } from "./battery-std"; +export { default as MdBatteryUnknown } from "./battery-unknown"; +export { default as MdBeachAccess } from "./beach-access"; +export { default as MdBeenhere } from "./beenhere"; +export { default as MdBlock } from "./block"; +export { default as MdBluetoothAudio } from "./bluetooth-audio"; +export { default as MdBluetoothConnected } from "./bluetooth-connected"; +export { default as MdBluetoothDisabled } from "./bluetooth-disabled"; +export { default as MdBluetoothSearching } from "./bluetooth-searching"; +export { default as MdBluetooth } from "./bluetooth"; +export { default as MdBlurCircular } from "./blur-circular"; +export { default as MdBlurLinear } from "./blur-linear"; +export { default as MdBlurOff } from "./blur-off"; +export { default as MdBlurOn } from "./blur-on"; +export { default as MdBook } from "./book"; +export { default as MdBookmarkOutline } from "./bookmark-outline"; +export { default as MdBookmark } from "./bookmark"; +export { default as MdBorderAll } from "./border-all"; +export { default as MdBorderBottom } from "./border-bottom"; +export { default as MdBorderClear } from "./border-clear"; +export { default as MdBorderColor } from "./border-color"; +export { default as MdBorderHorizontal } from "./border-horizontal"; +export { default as MdBorderInner } from "./border-inner"; +export { default as MdBorderLeft } from "./border-left"; +export { default as MdBorderOuter } from "./border-outer"; +export { default as MdBorderRight } from "./border-right"; +export { default as MdBorderStyle } from "./border-style"; +export { default as MdBorderTop } from "./border-top"; +export { default as MdBorderVertical } from "./border-vertical"; +export { default as MdBrandingWatermark } from "./branding-watermark"; +export { default as MdBrightness1 } from "./brightness-1"; +export { default as MdBrightness2 } from "./brightness-2"; +export { default as MdBrightness3 } from "./brightness-3"; +export { default as MdBrightness4 } from "./brightness-4"; +export { default as MdBrightness5 } from "./brightness-5"; +export { default as MdBrightness6 } from "./brightness-6"; +export { default as MdBrightness7 } from "./brightness-7"; +export { default as MdBrightnessAuto } from "./brightness-auto"; +export { default as MdBrightnessHigh } from "./brightness-high"; +export { default as MdBrightnessLow } from "./brightness-low"; +export { default as MdBrightnessMedium } from "./brightness-medium"; +export { default as MdBrokenImage } from "./broken-image"; +export { default as MdBrush } from "./brush"; +export { default as MdBubbleChart } from "./bubble-chart"; +export { default as MdBugReport } from "./bug-report"; +export { default as MdBuild } from "./build"; +export { default as MdBurstMode } from "./burst-mode"; +export { default as MdBusinessCenter } from "./business-center"; +export { default as MdBusiness } from "./business"; +export { default as MdCached } from "./cached"; +export { default as MdCake } from "./cake"; +export { default as MdCallEnd } from "./call-end"; +export { default as MdCallMade } from "./call-made"; +export { default as MdCallMerge } from "./call-merge"; +export { default as MdCallMissedOutgoing } from "./call-missed-outgoing"; +export { default as MdCallMissed } from "./call-missed"; +export { default as MdCallReceived } from "./call-received"; +export { default as MdCallSplit } from "./call-split"; +export { default as MdCallToAction } from "./call-to-action"; +export { default as MdCall } from "./call"; +export { default as MdCameraAlt } from "./camera-alt"; +export { default as MdCameraEnhance } from "./camera-enhance"; +export { default as MdCameraFront } from "./camera-front"; +export { default as MdCameraRear } from "./camera-rear"; +export { default as MdCameraRoll } from "./camera-roll"; +export { default as MdCamera } from "./camera"; +export { default as MdCancel } from "./cancel"; +export { default as MdCardGiftcard } from "./card-giftcard"; +export { default as MdCardMembership } from "./card-membership"; +export { default as MdCardTravel } from "./card-travel"; +export { default as MdCasino } from "./casino"; +export { default as MdCastConnected } from "./cast-connected"; +export { default as MdCast } from "./cast"; +export { default as MdCenterFocusStrong } from "./center-focus-strong"; +export { default as MdCenterFocusWeak } from "./center-focus-weak"; +export { default as MdChangeHistory } from "./change-history"; +export { default as MdChatBubbleOutline } from "./chat-bubble-outline"; +export { default as MdChatBubble } from "./chat-bubble"; +export { default as MdChat } from "./chat"; +export { default as MdCheckBoxOutlineBlank } from "./check-box-outline-blank"; +export { default as MdCheckBox } from "./check-box"; +export { default as MdCheckCircle } from "./check-circle"; +export { default as MdCheck } from "./check"; +export { default as MdChevronLeft } from "./chevron-left"; +export { default as MdChevronRight } from "./chevron-right"; +export { default as MdChildCare } from "./child-care"; +export { default as MdChildFriendly } from "./child-friendly"; +export { default as MdChromeReaderMode } from "./chrome-reader-mode"; +export { default as MdClass } from "./class"; +export { default as MdClearAll } from "./clear-all"; +export { default as MdClear } from "./clear"; +export { default as MdClose } from "./close"; +export { default as MdClosedCaption } from "./closed-caption"; +export { default as MdCloudCircle } from "./cloud-circle"; +export { default as MdCloudDone } from "./cloud-done"; +export { default as MdCloudDownload } from "./cloud-download"; +export { default as MdCloudOff } from "./cloud-off"; +export { default as MdCloudQueue } from "./cloud-queue"; +export { default as MdCloudUpload } from "./cloud-upload"; +export { default as MdCloud } from "./cloud"; +export { default as MdCode } from "./code"; +export { default as MdCollectionsBookmark } from "./collections-bookmark"; +export { default as MdCollections } from "./collections"; +export { default as MdColorLens } from "./color-lens"; +export { default as MdColorize } from "./colorize"; +export { default as MdComment } from "./comment"; +export { default as MdCompareArrows } from "./compare-arrows"; +export { default as MdCompare } from "./compare"; +export { default as MdComputer } from "./computer"; +export { default as MdConfirmationNumber } from "./confirmation-number"; +export { default as MdContactMail } from "./contact-mail"; +export { default as MdContactPhone } from "./contact-phone"; +export { default as MdContacts } from "./contacts"; +export { default as MdContentCopy } from "./content-copy"; +export { default as MdContentCut } from "./content-cut"; +export { default as MdContentPaste } from "./content-paste"; +export { default as MdControlPointDuplicate } from "./control-point-duplicate"; +export { default as MdControlPoint } from "./control-point"; +export { default as MdCopyright } from "./copyright"; +export { default as MdCreateNewFolder } from "./create-new-folder"; +export { default as MdCreate } from "./create"; +export { default as MdCreditCard } from "./credit-card"; +export { default as MdCrop169 } from "./crop-16-9"; +export { default as MdCrop32 } from "./crop-3-2"; +export { default as MdCrop54 } from "./crop-5-4"; +export { default as MdCrop75 } from "./crop-7-5"; +export { default as MdCropDin } from "./crop-din"; +export { default as MdCropFree } from "./crop-free"; +export { default as MdCropLandscape } from "./crop-landscape"; +export { default as MdCropOriginal } from "./crop-original"; +export { default as MdCropPortrait } from "./crop-portrait"; +export { default as MdCropRotate } from "./crop-rotate"; +export { default as MdCropSquare } from "./crop-square"; +export { default as MdCrop } from "./crop"; +export { default as MdDashboard } from "./dashboard"; +export { default as MdDataUsage } from "./data-usage"; +export { default as MdDateRange } from "./date-range"; +export { default as MdDehaze } from "./dehaze"; +export { default as MdDeleteForever } from "./delete-forever"; +export { default as MdDeleteSweep } from "./delete-sweep"; +export { default as MdDelete } from "./delete"; +export { default as MdDescription } from "./description"; +export { default as MdDesktopMac } from "./desktop-mac"; +export { default as MdDesktopWindows } from "./desktop-windows"; +export { default as MdDetails } from "./details"; +export { default as MdDeveloperBoard } from "./developer-board"; +export { default as MdDeveloperMode } from "./developer-mode"; +export { default as MdDeviceHub } from "./device-hub"; +export { default as MdDevicesOther } from "./devices-other"; +export { default as MdDevices } from "./devices"; +export { default as MdDialerSip } from "./dialer-sip"; +export { default as MdDialpad } from "./dialpad"; +export { default as MdDirectionsBike } from "./directions-bike"; +export { default as MdDirectionsBoat } from "./directions-boat"; +export { default as MdDirectionsBus } from "./directions-bus"; +export { default as MdDirectionsCar } from "./directions-car"; +export { default as MdDirectionsFerry } from "./directions-ferry"; +export { default as MdDirectionsRailway } from "./directions-railway"; +export { default as MdDirectionsRun } from "./directions-run"; +export { default as MdDirectionsSubway } from "./directions-subway"; +export { default as MdDirectionsTransit } from "./directions-transit"; +export { default as MdDirectionsWalk } from "./directions-walk"; +export { default as MdDirections } from "./directions"; +export { default as MdDiscFull } from "./disc-full"; +export { default as MdDns } from "./dns"; +export { default as MdDoNotDisturbAlt } from "./do-not-disturb-alt"; +export { default as MdDoNotDisturbOff } from "./do-not-disturb-off"; +export { default as MdDoNotDisturb } from "./do-not-disturb"; +export { default as MdDock } from "./dock"; +export { default as MdDomain } from "./domain"; +export { default as MdDoneAll } from "./done-all"; +export { default as MdDone } from "./done"; +export { default as MdDonutLarge } from "./donut-large"; +export { default as MdDonutSmall } from "./donut-small"; +export { default as MdDrafts } from "./drafts"; +export { default as MdDragHandle } from "./drag-handle"; +export { default as MdDriveEta } from "./drive-eta"; +export { default as MdDvr } from "./dvr"; +export { default as MdEditLocation } from "./edit-location"; +export { default as MdEdit } from "./edit"; +export { default as MdEject } from "./eject"; +export { default as MdEmail } from "./email"; +export { default as MdEnhancedEncryption } from "./enhanced-encryption"; +export { default as MdEqualizer } from "./equalizer"; +export { default as MdErrorOutline } from "./error-outline"; +export { default as MdError } from "./error"; +export { default as MdEuroSymbol } from "./euro-symbol"; +export { default as MdEvStation } from "./ev-station"; +export { default as MdEventAvailable } from "./event-available"; +export { default as MdEventBusy } from "./event-busy"; +export { default as MdEventNote } from "./event-note"; +export { default as MdEventSeat } from "./event-seat"; +export { default as MdEvent } from "./event"; +export { default as MdExitToApp } from "./exit-to-app"; +export { default as MdExpandLess } from "./expand-less"; +export { default as MdExpandMore } from "./expand-more"; +export { default as MdExplicit } from "./explicit"; +export { default as MdExplore } from "./explore"; +export { default as MdExposureMinus1 } from "./exposure-minus-1"; +export { default as MdExposureMinus2 } from "./exposure-minus-2"; +export { default as MdExposureNeg1 } from "./exposure-neg-1"; +export { default as MdExposureNeg2 } from "./exposure-neg-2"; +export { default as MdExposurePlus1 } from "./exposure-plus-1"; +export { default as MdExposurePlus2 } from "./exposure-plus-2"; +export { default as MdExposureZero } from "./exposure-zero"; +export { default as MdExposure } from "./exposure"; +export { default as MdExtension } from "./extension"; +export { default as MdFace } from "./face"; +export { default as MdFastForward } from "./fast-forward"; +export { default as MdFastRewind } from "./fast-rewind"; +export { default as MdFavoriteBorder } from "./favorite-border"; +export { default as MdFavoriteOutline } from "./favorite-outline"; +export { default as MdFavorite } from "./favorite"; +export { default as MdFeaturedPlayList } from "./featured-play-list"; +export { default as MdFeaturedVideo } from "./featured-video"; +export { default as MdFeedback } from "./feedback"; +export { default as MdFiberDvr } from "./fiber-dvr"; +export { default as MdFiberManualRecord } from "./fiber-manual-record"; +export { default as MdFiberNew } from "./fiber-new"; +export { default as MdFiberPin } from "./fiber-pin"; +export { default as MdFiberSmartRecord } from "./fiber-smart-record"; +export { default as MdFileDownload } from "./file-download"; +export { default as MdFileUpload } from "./file-upload"; +export { default as MdFilter1 } from "./filter-1"; +export { default as MdFilter2 } from "./filter-2"; +export { default as MdFilter3 } from "./filter-3"; +export { default as MdFilter4 } from "./filter-4"; +export { default as MdFilter5 } from "./filter-5"; +export { default as MdFilter6 } from "./filter-6"; +export { default as MdFilter7 } from "./filter-7"; +export { default as MdFilter8 } from "./filter-8"; +export { default as MdFilter9Plus } from "./filter-9-plus"; +export { default as MdFilter9 } from "./filter-9"; +export { default as MdFilterBAndW } from "./filter-b-and-w"; +export { default as MdFilterCenterFocus } from "./filter-center-focus"; +export { default as MdFilterDrama } from "./filter-drama"; +export { default as MdFilterFrames } from "./filter-frames"; +export { default as MdFilterHdr } from "./filter-hdr"; +export { default as MdFilterList } from "./filter-list"; +export { default as MdFilterNone } from "./filter-none"; +export { default as MdFilterTiltShift } from "./filter-tilt-shift"; +export { default as MdFilterVintage } from "./filter-vintage"; +export { default as MdFilter } from "./filter"; +export { default as MdFindInPage } from "./find-in-page"; +export { default as MdFindReplace } from "./find-replace"; +export { default as MdFingerprint } from "./fingerprint"; +export { default as MdFirstPage } from "./first-page"; +export { default as MdFitnessCenter } from "./fitness-center"; +export { default as MdFlag } from "./flag"; +export { default as MdFlare } from "./flare"; +export { default as MdFlashAuto } from "./flash-auto"; +export { default as MdFlashOff } from "./flash-off"; +export { default as MdFlashOn } from "./flash-on"; +export { default as MdFlightLand } from "./flight-land"; +export { default as MdFlightTakeoff } from "./flight-takeoff"; +export { default as MdFlight } from "./flight"; +export { default as MdFlipToBack } from "./flip-to-back"; +export { default as MdFlipToFront } from "./flip-to-front"; +export { default as MdFlip } from "./flip"; +export { default as MdFolderOpen } from "./folder-open"; +export { default as MdFolderShared } from "./folder-shared"; +export { default as MdFolderSpecial } from "./folder-special"; +export { default as MdFolder } from "./folder"; +export { default as MdFontDownload } from "./font-download"; +export { default as MdFormatAlignCenter } from "./format-align-center"; +export { default as MdFormatAlignJustify } from "./format-align-justify"; +export { default as MdFormatAlignLeft } from "./format-align-left"; +export { default as MdFormatAlignRight } from "./format-align-right"; +export { default as MdFormatBold } from "./format-bold"; +export { default as MdFormatClear } from "./format-clear"; +export { default as MdFormatColorFill } from "./format-color-fill"; +export { default as MdFormatColorReset } from "./format-color-reset"; +export { default as MdFormatColorText } from "./format-color-text"; +export { default as MdFormatIndentDecrease } from "./format-indent-decrease"; +export { default as MdFormatIndentIncrease } from "./format-indent-increase"; +export { default as MdFormatItalic } from "./format-italic"; +export { default as MdFormatLineSpacing } from "./format-line-spacing"; +export { default as MdFormatListBulleted } from "./format-list-bulleted"; +export { default as MdFormatListNumbered } from "./format-list-numbered"; +export { default as MdFormatPaint } from "./format-paint"; +export { default as MdFormatQuote } from "./format-quote"; +export { default as MdFormatShapes } from "./format-shapes"; +export { default as MdFormatSize } from "./format-size"; +export { default as MdFormatStrikethrough } from "./format-strikethrough"; +export { default as MdFormatTextdirectionLToR } from "./format-textdirection-l-to-r"; +export { default as MdFormatTextdirectionRToL } from "./format-textdirection-r-to-l"; +export { default as MdFormatUnderlined } from "./format-underlined"; +export { default as MdForum } from "./forum"; +export { default as MdForward10 } from "./forward-10"; +export { default as MdForward30 } from "./forward-30"; +export { default as MdForward5 } from "./forward-5"; +export { default as MdForward } from "./forward"; +export { default as MdFreeBreakfast } from "./free-breakfast"; +export { default as MdFullscreenExit } from "./fullscreen-exit"; +export { default as MdFullscreen } from "./fullscreen"; +export { default as MdFunctions } from "./functions"; +export { default as MdGTranslate } from "./g-translate"; +export { default as MdGamepad } from "./gamepad"; +export { default as MdGames } from "./games"; +export { default as MdGavel } from "./gavel"; +export { default as MdGesture } from "./gesture"; +export { default as MdGetApp } from "./get-app"; +export { default as MdGif } from "./gif"; +export { default as MdGoat } from "./goat"; +export { default as MdGolfCourse } from "./golf-course"; +export { default as MdGpsFixed } from "./gps-fixed"; +export { default as MdGpsNotFixed } from "./gps-not-fixed"; +export { default as MdGpsOff } from "./gps-off"; +export { default as MdGrade } from "./grade"; +export { default as MdGradient } from "./gradient"; +export { default as MdGrain } from "./grain"; +export { default as MdGraphicEq } from "./graphic-eq"; +export { default as MdGridOff } from "./grid-off"; +export { default as MdGridOn } from "./grid-on"; +export { default as MdGroupAdd } from "./group-add"; +export { default as MdGroupWork } from "./group-work"; +export { default as MdGroup } from "./group"; +export { default as MdHd } from "./hd"; +export { default as MdHdrOff } from "./hdr-off"; +export { default as MdHdrOn } from "./hdr-on"; +export { default as MdHdrStrong } from "./hdr-strong"; +export { default as MdHdrWeak } from "./hdr-weak"; +export { default as MdHeadsetMic } from "./headset-mic"; +export { default as MdHeadset } from "./headset"; +export { default as MdHealing } from "./healing"; +export { default as MdHearing } from "./hearing"; +export { default as MdHelpOutline } from "./help-outline"; +export { default as MdHelp } from "./help"; +export { default as MdHighQuality } from "./high-quality"; +export { default as MdHighlightOff } from "./highlight-off"; +export { default as MdHighlightRemove } from "./highlight-remove"; +export { default as MdHighlight } from "./highlight"; +export { default as MdHistory } from "./history"; +export { default as MdHome } from "./home"; +export { default as MdHotTub } from "./hot-tub"; +export { default as MdHotel } from "./hotel"; +export { default as MdHourglassEmpty } from "./hourglass-empty"; +export { default as MdHourglassFull } from "./hourglass-full"; +export { default as MdHttp } from "./http"; +export { default as MdHttps } from "./https"; +export { default as MdImageAspectRatio } from "./image-aspect-ratio"; +export { default as MdImage } from "./image"; +export { default as MdImportContacts } from "./import-contacts"; +export { default as MdImportExport } from "./import-export"; +export { default as MdImportantDevices } from "./important-devices"; +export { default as MdInbox } from "./inbox"; +export { default as MdIndeterminateCheckBox } from "./indeterminate-check-box"; +export { default as MdInfoOutline } from "./info-outline"; +export { default as MdInfo } from "./info"; +export { default as MdInput } from "./input"; +export { default as MdInsertChart } from "./insert-chart"; +export { default as MdInsertComment } from "./insert-comment"; +export { default as MdInsertDriveFile } from "./insert-drive-file"; +export { default as MdInsertEmoticon } from "./insert-emoticon"; +export { default as MdInsertInvitation } from "./insert-invitation"; +export { default as MdInsertLink } from "./insert-link"; +export { default as MdInsertPhoto } from "./insert-photo"; +export { default as MdInvertColorsOff } from "./invert-colors-off"; +export { default as MdInvertColorsOn } from "./invert-colors-on"; +export { default as MdInvertColors } from "./invert-colors"; +export { default as MdIso } from "./iso"; +export { default as MdKeyboardArrowDown } from "./keyboard-arrow-down"; +export { default as MdKeyboardArrowLeft } from "./keyboard-arrow-left"; +export { default as MdKeyboardArrowRight } from "./keyboard-arrow-right"; +export { default as MdKeyboardArrowUp } from "./keyboard-arrow-up"; +export { default as MdKeyboardBackspace } from "./keyboard-backspace"; +export { default as MdKeyboardCapslock } from "./keyboard-capslock"; +export { default as MdKeyboardControl } from "./keyboard-control"; +export { default as MdKeyboardHide } from "./keyboard-hide"; +export { default as MdKeyboardReturn } from "./keyboard-return"; +export { default as MdKeyboardTab } from "./keyboard-tab"; +export { default as MdKeyboardVoice } from "./keyboard-voice"; +export { default as MdKeyboard } from "./keyboard"; +export { default as MdKitchen } from "./kitchen"; +export { default as MdLabelOutline } from "./label-outline"; +export { default as MdLabel } from "./label"; +export { default as MdLandscape } from "./landscape"; +export { default as MdLanguage } from "./language"; +export { default as MdLaptopChromebook } from "./laptop-chromebook"; +export { default as MdLaptopMac } from "./laptop-mac"; +export { default as MdLaptopWindows } from "./laptop-windows"; +export { default as MdLaptop } from "./laptop"; +export { default as MdLastPage } from "./last-page"; +export { default as MdLaunch } from "./launch"; +export { default as MdLayersClear } from "./layers-clear"; +export { default as MdLayers } from "./layers"; +export { default as MdLeakAdd } from "./leak-add"; +export { default as MdLeakRemove } from "./leak-remove"; +export { default as MdLens } from "./lens"; +export { default as MdLibraryAdd } from "./library-add"; +export { default as MdLibraryBooks } from "./library-books"; +export { default as MdLibraryMusic } from "./library-music"; +export { default as MdLightbulbOutline } from "./lightbulb-outline"; +export { default as MdLineStyle } from "./line-style"; +export { default as MdLineWeight } from "./line-weight"; +export { default as MdLinearScale } from "./linear-scale"; +export { default as MdLink } from "./link"; +export { default as MdLinkedCamera } from "./linked-camera"; +export { default as MdList } from "./list"; +export { default as MdLiveHelp } from "./live-help"; +export { default as MdLiveTv } from "./live-tv"; +export { default as MdLocalAirport } from "./local-airport"; +export { default as MdLocalAtm } from "./local-atm"; +export { default as MdLocalAttraction } from "./local-attraction"; +export { default as MdLocalBar } from "./local-bar"; +export { default as MdLocalCafe } from "./local-cafe"; +export { default as MdLocalCarWash } from "./local-car-wash"; +export { default as MdLocalConvenienceStore } from "./local-convenience-store"; +export { default as MdLocalDrink } from "./local-drink"; +export { default as MdLocalFlorist } from "./local-florist"; +export { default as MdLocalGasStation } from "./local-gas-station"; +export { default as MdLocalGroceryStore } from "./local-grocery-store"; +export { default as MdLocalHospital } from "./local-hospital"; +export { default as MdLocalHotel } from "./local-hotel"; +export { default as MdLocalLaundryService } from "./local-laundry-service"; +export { default as MdLocalLibrary } from "./local-library"; +export { default as MdLocalMall } from "./local-mall"; +export { default as MdLocalMovies } from "./local-movies"; +export { default as MdLocalOffer } from "./local-offer"; +export { default as MdLocalParking } from "./local-parking"; +export { default as MdLocalPharmacy } from "./local-pharmacy"; +export { default as MdLocalPhone } from "./local-phone"; +export { default as MdLocalPizza } from "./local-pizza"; +export { default as MdLocalPlay } from "./local-play"; +export { default as MdLocalPostOffice } from "./local-post-office"; +export { default as MdLocalPrintShop } from "./local-print-shop"; +export { default as MdLocalRestaurant } from "./local-restaurant"; +export { default as MdLocalSee } from "./local-see"; +export { default as MdLocalShipping } from "./local-shipping"; +export { default as MdLocalTaxi } from "./local-taxi"; +export { default as MdLocationCity } from "./location-city"; +export { default as MdLocationDisabled } from "./location-disabled"; +export { default as MdLocationHistory } from "./location-history"; +export { default as MdLocationOff } from "./location-off"; +export { default as MdLocationOn } from "./location-on"; +export { default as MdLocationSearching } from "./location-searching"; +export { default as MdLockOpen } from "./lock-open"; +export { default as MdLockOutline } from "./lock-outline"; +export { default as MdLock } from "./lock"; +export { default as MdLooks3 } from "./looks-3"; +export { default as MdLooks4 } from "./looks-4"; +export { default as MdLooks5 } from "./looks-5"; +export { default as MdLooks6 } from "./looks-6"; +export { default as MdLooksOne } from "./looks-one"; +export { default as MdLooksTwo } from "./looks-two"; +export { default as MdLooks } from "./looks"; +export { default as MdLoop } from "./loop"; +export { default as MdLoupe } from "./loupe"; +export { default as MdLowPriority } from "./low-priority"; +export { default as MdLoyalty } from "./loyalty"; +export { default as MdMailOutline } from "./mail-outline"; +export { default as MdMail } from "./mail"; +export { default as MdMap } from "./map"; +export { default as MdMarkunreadMailbox } from "./markunread-mailbox"; +export { default as MdMarkunread } from "./markunread"; +export { default as MdMemory } from "./memory"; +export { default as MdMenu } from "./menu"; +export { default as MdMergeType } from "./merge-type"; +export { default as MdMessage } from "./message"; +export { default as MdMicNone } from "./mic-none"; +export { default as MdMicOff } from "./mic-off"; +export { default as MdMic } from "./mic"; +export { default as MdMms } from "./mms"; +export { default as MdModeComment } from "./mode-comment"; +export { default as MdModeEdit } from "./mode-edit"; +export { default as MdMonetizationOn } from "./monetization-on"; +export { default as MdMoneyOff } from "./money-off"; +export { default as MdMonochromePhotos } from "./monochrome-photos"; +export { default as MdMoodBad } from "./mood-bad"; +export { default as MdMood } from "./mood"; +export { default as MdMoreHoriz } from "./more-horiz"; +export { default as MdMoreVert } from "./more-vert"; +export { default as MdMore } from "./more"; +export { default as MdMotorcycle } from "./motorcycle"; +export { default as MdMouse } from "./mouse"; +export { default as MdMoveToInbox } from "./move-to-inbox"; +export { default as MdMovieCreation } from "./movie-creation"; +export { default as MdMovieFilter } from "./movie-filter"; +export { default as MdMovie } from "./movie"; +export { default as MdMultilineChart } from "./multiline-chart"; +export { default as MdMusicNote } from "./music-note"; +export { default as MdMusicVideo } from "./music-video"; +export { default as MdMyLocation } from "./my-location"; +export { default as MdNaturePeople } from "./nature-people"; +export { default as MdNature } from "./nature"; +export { default as MdNavigateBefore } from "./navigate-before"; +export { default as MdNavigateNext } from "./navigate-next"; +export { default as MdNavigation } from "./navigation"; +export { default as MdNearMe } from "./near-me"; +export { default as MdNetworkCell } from "./network-cell"; +export { default as MdNetworkCheck } from "./network-check"; +export { default as MdNetworkLocked } from "./network-locked"; +export { default as MdNetworkWifi } from "./network-wifi"; +export { default as MdNewReleases } from "./new-releases"; +export { default as MdNextWeek } from "./next-week"; +export { default as MdNfc } from "./nfc"; +export { default as MdNoEncryption } from "./no-encryption"; +export { default as MdNoSim } from "./no-sim"; +export { default as MdNotInterested } from "./not-interested"; +export { default as MdNoteAdd } from "./note-add"; +export { default as MdNote } from "./note"; +export { default as MdNotificationsActive } from "./notifications-active"; +export { default as MdNotificationsNone } from "./notifications-none"; +export { default as MdNotificationsOff } from "./notifications-off"; +export { default as MdNotificationsPaused } from "./notifications-paused"; +export { default as MdNotifications } from "./notifications"; +export { default as MdNowWallpaper } from "./now-wallpaper"; +export { default as MdNowWidgets } from "./now-widgets"; +export { default as MdOfflinePin } from "./offline-pin"; +export { default as MdOndemandVideo } from "./ondemand-video"; +export { default as MdOpacity } from "./opacity"; +export { default as MdOpenInBrowser } from "./open-in-browser"; +export { default as MdOpenInNew } from "./open-in-new"; +export { default as MdOpenWith } from "./open-with"; +export { default as MdPages } from "./pages"; +export { default as MdPageview } from "./pageview"; +export { default as MdPalette } from "./palette"; +export { default as MdPanTool } from "./pan-tool"; +export { default as MdPanoramaFishEye } from "./panorama-fish-eye"; +export { default as MdPanoramaHorizontal } from "./panorama-horizontal"; +export { default as MdPanoramaVertical } from "./panorama-vertical"; +export { default as MdPanoramaWideAngle } from "./panorama-wide-angle"; +export { default as MdPanorama } from "./panorama"; +export { default as MdPartyMode } from "./party-mode"; +export { default as MdPauseCircleFilled } from "./pause-circle-filled"; +export { default as MdPauseCircleOutline } from "./pause-circle-outline"; +export { default as MdPause } from "./pause"; +export { default as MdPayment } from "./payment"; +export { default as MdPeopleOutline } from "./people-outline"; +export { default as MdPeople } from "./people"; +export { default as MdPermCameraMic } from "./perm-camera-mic"; +export { default as MdPermContactCalendar } from "./perm-contact-calendar"; +export { default as MdPermDataSetting } from "./perm-data-setting"; +export { default as MdPermDeviceInformation } from "./perm-device-information"; +export { default as MdPermIdentity } from "./perm-identity"; +export { default as MdPermMedia } from "./perm-media"; +export { default as MdPermPhoneMsg } from "./perm-phone-msg"; +export { default as MdPermScanWifi } from "./perm-scan-wifi"; +export { default as MdPersonAdd } from "./person-add"; +export { default as MdPersonOutline } from "./person-outline"; +export { default as MdPersonPinCircle } from "./person-pin-circle"; +export { default as MdPersonPin } from "./person-pin"; +export { default as MdPerson } from "./person"; +export { default as MdPersonalVideo } from "./personal-video"; +export { default as MdPets } from "./pets"; +export { default as MdPhoneAndroid } from "./phone-android"; +export { default as MdPhoneBluetoothSpeaker } from "./phone-bluetooth-speaker"; +export { default as MdPhoneForwarded } from "./phone-forwarded"; +export { default as MdPhoneInTalk } from "./phone-in-talk"; +export { default as MdPhoneIphone } from "./phone-iphone"; +export { default as MdPhoneLocked } from "./phone-locked"; +export { default as MdPhoneMissed } from "./phone-missed"; +export { default as MdPhonePaused } from "./phone-paused"; +export { default as MdPhone } from "./phone"; +export { default as MdPhonelinkErase } from "./phonelink-erase"; +export { default as MdPhonelinkLock } from "./phonelink-lock"; +export { default as MdPhonelinkOff } from "./phonelink-off"; +export { default as MdPhonelinkRing } from "./phonelink-ring"; +export { default as MdPhonelinkSetup } from "./phonelink-setup"; +export { default as MdPhonelink } from "./phonelink"; +export { default as MdPhotoAlbum } from "./photo-album"; +export { default as MdPhotoCamera } from "./photo-camera"; +export { default as MdPhotoFilter } from "./photo-filter"; +export { default as MdPhotoLibrary } from "./photo-library"; +export { default as MdPhotoSizeSelectActual } from "./photo-size-select-actual"; +export { default as MdPhotoSizeSelectLarge } from "./photo-size-select-large"; +export { default as MdPhotoSizeSelectSmall } from "./photo-size-select-small"; +export { default as MdPhoto } from "./photo"; +export { default as MdPictureAsPdf } from "./picture-as-pdf"; +export { default as MdPictureInPictureAlt } from "./picture-in-picture-alt"; +export { default as MdPictureInPicture } from "./picture-in-picture"; +export { default as MdPieChartOutlined } from "./pie-chart-outlined"; +export { default as MdPieChart } from "./pie-chart"; +export { default as MdPinDrop } from "./pin-drop"; +export { default as MdPlace } from "./place"; +export { default as MdPlayArrow } from "./play-arrow"; +export { default as MdPlayCircleFilled } from "./play-circle-filled"; +export { default as MdPlayCircleOutline } from "./play-circle-outline"; +export { default as MdPlayForWork } from "./play-for-work"; +export { default as MdPlaylistAddCheck } from "./playlist-add-check"; +export { default as MdPlaylistAdd } from "./playlist-add"; +export { default as MdPlaylistPlay } from "./playlist-play"; +export { default as MdPlusOne } from "./plus-one"; +export { default as MdPoll } from "./poll"; +export { default as MdPolymer } from "./polymer"; +export { default as MdPool } from "./pool"; +export { default as MdPortableWifiOff } from "./portable-wifi-off"; +export { default as MdPortrait } from "./portrait"; +export { default as MdPowerInput } from "./power-input"; +export { default as MdPowerSettingsNew } from "./power-settings-new"; +export { default as MdPower } from "./power"; +export { default as MdPregnantWoman } from "./pregnant-woman"; +export { default as MdPresentToAll } from "./present-to-all"; +export { default as MdPrint } from "./print"; +export { default as MdPriorityHigh } from "./priority-high"; +export { default as MdPublic } from "./public"; +export { default as MdPublish } from "./publish"; +export { default as MdQueryBuilder } from "./query-builder"; +export { default as MdQuestionAnswer } from "./question-answer"; +export { default as MdQueueMusic } from "./queue-music"; +export { default as MdQueuePlayNext } from "./queue-play-next"; +export { default as MdQueue } from "./queue"; +export { default as MdRadioButtonChecked } from "./radio-button-checked"; +export { default as MdRadioButtonUnchecked } from "./radio-button-unchecked"; +export { default as MdRadio } from "./radio"; +export { default as MdRateReview } from "./rate-review"; +export { default as MdReceipt } from "./receipt"; +export { default as MdRecentActors } from "./recent-actors"; +export { default as MdRecordVoiceOver } from "./record-voice-over"; +export { default as MdRedeem } from "./redeem"; +export { default as MdRedo } from "./redo"; +export { default as MdRefresh } from "./refresh"; +export { default as MdRemoveCircleOutline } from "./remove-circle-outline"; +export { default as MdRemoveCircle } from "./remove-circle"; +export { default as MdRemoveFromQueue } from "./remove-from-queue"; +export { default as MdRemoveRedEye } from "./remove-red-eye"; +export { default as MdRemoveShoppingCart } from "./remove-shopping-cart"; +export { default as MdRemove } from "./remove"; +export { default as MdReorder } from "./reorder"; +export { default as MdRepeatOne } from "./repeat-one"; +export { default as MdRepeat } from "./repeat"; +export { default as MdReplay10 } from "./replay-10"; +export { default as MdReplay30 } from "./replay-30"; +export { default as MdReplay5 } from "./replay-5"; +export { default as MdReplay } from "./replay"; +export { default as MdReplyAll } from "./reply-all"; +export { default as MdReply } from "./reply"; +export { default as MdReportProblem } from "./report-problem"; +export { default as MdReport } from "./report"; +export { default as MdRestaurantMenu } from "./restaurant-menu"; +export { default as MdRestaurant } from "./restaurant"; +export { default as MdRestorePage } from "./restore-page"; +export { default as MdRestore } from "./restore"; +export { default as MdRingVolume } from "./ring-volume"; +export { default as MdRoomService } from "./room-service"; +export { default as MdRoom } from "./room"; +export { default as MdRotate90DegreesCcw } from "./rotate-90-degrees-ccw"; +export { default as MdRotateLeft } from "./rotate-left"; +export { default as MdRotateRight } from "./rotate-right"; +export { default as MdRoundedCorner } from "./rounded-corner"; +export { default as MdRouter } from "./router"; +export { default as MdRowing } from "./rowing"; +export { default as MdRssFeed } from "./rss-feed"; +export { default as MdRvHookup } from "./rv-hookup"; +export { default as MdSatellite } from "./satellite"; +export { default as MdSave } from "./save"; +export { default as MdScanner } from "./scanner"; +export { default as MdSchedule } from "./schedule"; +export { default as MdSchool } from "./school"; +export { default as MdScreenLockLandscape } from "./screen-lock-landscape"; +export { default as MdScreenLockPortrait } from "./screen-lock-portrait"; +export { default as MdScreenLockRotation } from "./screen-lock-rotation"; +export { default as MdScreenRotation } from "./screen-rotation"; +export { default as MdScreenShare } from "./screen-share"; +export { default as MdSdCard } from "./sd-card"; +export { default as MdSdStorage } from "./sd-storage"; +export { default as MdSearch } from "./search"; +export { default as MdSecurity } from "./security"; +export { default as MdSelectAll } from "./select-all"; +export { default as MdSend } from "./send"; +export { default as MdSentimentDissatisfied } from "./sentiment-dissatisfied"; +export { default as MdSentimentNeutral } from "./sentiment-neutral"; +export { default as MdSentimentSatisfied } from "./sentiment-satisfied"; +export { default as MdSentimentVeryDissatisfied } from "./sentiment-very-dissatisfied"; +export { default as MdSentimentVerySatisfied } from "./sentiment-very-satisfied"; +export { default as MdSettingsApplications } from "./settings-applications"; +export { default as MdSettingsBackupRestore } from "./settings-backup-restore"; +export { default as MdSettingsBluetooth } from "./settings-bluetooth"; +export { default as MdSettingsBrightness } from "./settings-brightness"; +export { default as MdSettingsCell } from "./settings-cell"; +export { default as MdSettingsEthernet } from "./settings-ethernet"; +export { default as MdSettingsInputAntenna } from "./settings-input-antenna"; +export { default as MdSettingsInputComponent } from "./settings-input-component"; +export { default as MdSettingsInputComposite } from "./settings-input-composite"; +export { default as MdSettingsInputHdmi } from "./settings-input-hdmi"; +export { default as MdSettingsInputSvideo } from "./settings-input-svideo"; +export { default as MdSettingsOverscan } from "./settings-overscan"; +export { default as MdSettingsPhone } from "./settings-phone"; +export { default as MdSettingsPower } from "./settings-power"; +export { default as MdSettingsRemote } from "./settings-remote"; +export { default as MdSettingsSystemDaydream } from "./settings-system-daydream"; +export { default as MdSettingsVoice } from "./settings-voice"; +export { default as MdSettings } from "./settings"; +export { default as MdShare } from "./share"; +export { default as MdShopTwo } from "./shop-two"; +export { default as MdShop } from "./shop"; +export { default as MdShoppingBasket } from "./shopping-basket"; +export { default as MdShoppingCart } from "./shopping-cart"; +export { default as MdShortText } from "./short-text"; +export { default as MdShowChart } from "./show-chart"; +export { default as MdShuffle } from "./shuffle"; +export { default as MdSignalCellular4Bar } from "./signal-cellular-4-bar"; +export { default as MdSignalCellularConnectedNoInternet4Bar } from "./signal-cellular-connected-no-internet-4-bar"; +export { default as MdSignalCellularNoSim } from "./signal-cellular-no-sim"; +export { default as MdSignalCellularNull } from "./signal-cellular-null"; +export { default as MdSignalCellularOff } from "./signal-cellular-off"; +export { default as MdSignalWifi4BarLock } from "./signal-wifi-4-bar-lock"; +export { default as MdSignalWifi4Bar } from "./signal-wifi-4-bar"; +export { default as MdSignalWifiOff } from "./signal-wifi-off"; +export { default as MdSimCardAlert } from "./sim-card-alert"; +export { default as MdSimCard } from "./sim-card"; +export { default as MdSkipNext } from "./skip-next"; +export { default as MdSkipPrevious } from "./skip-previous"; +export { default as MdSlideshow } from "./slideshow"; +export { default as MdSlowMotionVideo } from "./slow-motion-video"; +export { default as MdSmartphone } from "./smartphone"; +export { default as MdSmokeFree } from "./smoke-free"; +export { default as MdSmokingRooms } from "./smoking-rooms"; +export { default as MdSmsFailed } from "./sms-failed"; +export { default as MdSms } from "./sms"; +export { default as MdSnooze } from "./snooze"; +export { default as MdSortByAlpha } from "./sort-by-alpha"; +export { default as MdSort } from "./sort"; +export { default as MdSpa } from "./spa"; +export { default as MdSpaceBar } from "./space-bar"; +export { default as MdSpeakerGroup } from "./speaker-group"; +export { default as MdSpeakerNotesOff } from "./speaker-notes-off"; +export { default as MdSpeakerNotes } from "./speaker-notes"; +export { default as MdSpeakerPhone } from "./speaker-phone"; +export { default as MdSpeaker } from "./speaker"; +export { default as MdSpellcheck } from "./spellcheck"; +export { default as MdStarBorder } from "./star-border"; +export { default as MdStarHalf } from "./star-half"; +export { default as MdStarOutline } from "./star-outline"; +export { default as MdStar } from "./star"; +export { default as MdStars } from "./stars"; +export { default as MdStayCurrentLandscape } from "./stay-current-landscape"; +export { default as MdStayCurrentPortrait } from "./stay-current-portrait"; +export { default as MdStayPrimaryLandscape } from "./stay-primary-landscape"; +export { default as MdStayPrimaryPortrait } from "./stay-primary-portrait"; +export { default as MdStopScreenShare } from "./stop-screen-share"; +export { default as MdStop } from "./stop"; +export { default as MdStorage } from "./storage"; +export { default as MdStoreMallDirectory } from "./store-mall-directory"; +export { default as MdStore } from "./store"; +export { default as MdStraighten } from "./straighten"; +export { default as MdStreetview } from "./streetview"; +export { default as MdStrikethroughS } from "./strikethrough-s"; +export { default as MdStyle } from "./style"; +export { default as MdSubdirectoryArrowLeft } from "./subdirectory-arrow-left"; +export { default as MdSubdirectoryArrowRight } from "./subdirectory-arrow-right"; +export { default as MdSubject } from "./subject"; +export { default as MdSubscriptions } from "./subscriptions"; +export { default as MdSubtitles } from "./subtitles"; +export { default as MdSubway } from "./subway"; +export { default as MdSupervisorAccount } from "./supervisor-account"; +export { default as MdSurroundSound } from "./surround-sound"; +export { default as MdSwapCalls } from "./swap-calls"; +export { default as MdSwapHoriz } from "./swap-horiz"; +export { default as MdSwapVert } from "./swap-vert"; +export { default as MdSwapVerticalCircle } from "./swap-vertical-circle"; +export { default as MdSwitchCamera } from "./switch-camera"; +export { default as MdSwitchVideo } from "./switch-video"; +export { default as MdSyncDisabled } from "./sync-disabled"; +export { default as MdSyncProblem } from "./sync-problem"; +export { default as MdSync } from "./sync"; +export { default as MdSystemUpdateAlt } from "./system-update-alt"; +export { default as MdSystemUpdate } from "./system-update"; +export { default as MdTabUnselected } from "./tab-unselected"; +export { default as MdTab } from "./tab"; +export { default as MdTabletAndroid } from "./tablet-android"; +export { default as MdTabletMac } from "./tablet-mac"; +export { default as MdTablet } from "./tablet"; +export { default as MdTagFaces } from "./tag-faces"; +export { default as MdTapAndPlay } from "./tap-and-play"; +export { default as MdTerrain } from "./terrain"; +export { default as MdTextFields } from "./text-fields"; +export { default as MdTextFormat } from "./text-format"; +export { default as MdTextsms } from "./textsms"; +export { default as MdTexture } from "./texture"; +export { default as MdTheaters } from "./theaters"; +export { default as MdThumbDown } from "./thumb-down"; +export { default as MdThumbUp } from "./thumb-up"; +export { default as MdThumbsUpDown } from "./thumbs-up-down"; +export { default as MdTimeToLeave } from "./time-to-leave"; +export { default as MdTimelapse } from "./timelapse"; +export { default as MdTimeline } from "./timeline"; +export { default as MdTimer10 } from "./timer-10"; +export { default as MdTimer3 } from "./timer-3"; +export { default as MdTimerOff } from "./timer-off"; +export { default as MdTimer } from "./timer"; +export { default as MdTitle } from "./title"; +export { default as MdToc } from "./toc"; +export { default as MdToday } from "./today"; +export { default as MdToll } from "./toll"; +export { default as MdTonality } from "./tonality"; +export { default as MdTouchApp } from "./touch-app"; +export { default as MdToys } from "./toys"; +export { default as MdTrackChanges } from "./track-changes"; +export { default as MdTraffic } from "./traffic"; +export { default as MdTrain } from "./train"; +export { default as MdTram } from "./tram"; +export { default as MdTransferWithinAStation } from "./transfer-within-a-station"; +export { default as MdTransform } from "./transform"; +export { default as MdTranslate } from "./translate"; +export { default as MdTrendingDown } from "./trending-down"; +export { default as MdTrendingFlat } from "./trending-flat"; +export { default as MdTrendingNeutral } from "./trending-neutral"; +export { default as MdTrendingUp } from "./trending-up"; +export { default as MdTune } from "./tune"; +export { default as MdTurnedInNot } from "./turned-in-not"; +export { default as MdTurnedIn } from "./turned-in"; +export { default as MdTv } from "./tv"; +export { default as MdUnarchive } from "./unarchive"; +export { default as MdUndo } from "./undo"; +export { default as MdUnfoldLess } from "./unfold-less"; +export { default as MdUnfoldMore } from "./unfold-more"; +export { default as MdUpdate } from "./update"; +export { default as MdUsb } from "./usb"; +export { default as MdVerifiedUser } from "./verified-user"; +export { default as MdVerticalAlignBottom } from "./vertical-align-bottom"; +export { default as MdVerticalAlignCenter } from "./vertical-align-center"; +export { default as MdVerticalAlignTop } from "./vertical-align-top"; +export { default as MdVibration } from "./vibration"; +export { default as MdVideoCall } from "./video-call"; +export { default as MdVideoCollection } from "./video-collection"; +export { default as MdVideoLabel } from "./video-label"; +export { default as MdVideoLibrary } from "./video-library"; +export { default as MdVideocamOff } from "./videocam-off"; +export { default as MdVideocam } from "./videocam"; +export { default as MdVideogameAsset } from "./videogame-asset"; +export { default as MdViewAgenda } from "./view-agenda"; +export { default as MdViewArray } from "./view-array"; +export { default as MdViewCarousel } from "./view-carousel"; +export { default as MdViewColumn } from "./view-column"; +export { default as MdViewComfortable } from "./view-comfortable"; +export { default as MdViewComfy } from "./view-comfy"; +export { default as MdViewCompact } from "./view-compact"; +export { default as MdViewDay } from "./view-day"; +export { default as MdViewHeadline } from "./view-headline"; +export { default as MdViewList } from "./view-list"; +export { default as MdViewModule } from "./view-module"; +export { default as MdViewQuilt } from "./view-quilt"; +export { default as MdViewStream } from "./view-stream"; +export { default as MdViewWeek } from "./view-week"; +export { default as MdVignette } from "./vignette"; +export { default as MdVisibilityOff } from "./visibility-off"; +export { default as MdVisibility } from "./visibility"; +export { default as MdVoiceChat } from "./voice-chat"; +export { default as MdVoicemail } from "./voicemail"; +export { default as MdVolumeDown } from "./volume-down"; +export { default as MdVolumeMute } from "./volume-mute"; +export { default as MdVolumeOff } from "./volume-off"; +export { default as MdVolumeUp } from "./volume-up"; +export { default as MdVpnKey } from "./vpn-key"; +export { default as MdVpnLock } from "./vpn-lock"; +export { default as MdWallpaper } from "./wallpaper"; +export { default as MdWarning } from "./warning"; +export { default as MdWatchLater } from "./watch-later"; +export { default as MdWatch } from "./watch"; +export { default as MdWbAuto } from "./wb-auto"; +export { default as MdWbCloudy } from "./wb-cloudy"; +export { default as MdWbIncandescent } from "./wb-incandescent"; +export { default as MdWbIridescent } from "./wb-iridescent"; +export { default as MdWbSunny } from "./wb-sunny"; +export { default as MdWc } from "./wc"; +export { default as MdWebAsset } from "./web-asset"; +export { default as MdWeb } from "./web"; +export { default as MdWeekend } from "./weekend"; +export { default as MdWhatshot } from "./whatshot"; +export { default as MdWidgets } from "./widgets"; +export { default as MdWifiLock } from "./wifi-lock"; +export { default as MdWifiTethering } from "./wifi-tethering"; +export { default as MdWifi } from "./wifi"; +export { default as MdWork } from "./work"; +export { default as MdWrapText } from "./wrap-text"; +export { default as MdYoutubeSearchedFor } from "./youtube-searched-for"; +export { default as MdZoomIn } from "./zoom-in"; +export { default as MdZoomOutMap } from "./zoom-out-map"; +export { default as MdZoomOut } from "./zoom-out"; diff --git a/types/react-icons/lib/md/info-outline.d.ts b/types/react-icons/lib/md/info-outline.d.ts new file mode 100644 index 0000000000..6ac0500f92 --- /dev/null +++ b/types/react-icons/lib/md/info-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdInfoOutline extends React.Component { } diff --git a/types/react-icons/lib/md/info.d.ts b/types/react-icons/lib/md/info.d.ts new file mode 100644 index 0000000000..c16ac1add7 --- /dev/null +++ b/types/react-icons/lib/md/info.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdInfo extends React.Component { } diff --git a/types/react-icons/lib/md/input.d.ts b/types/react-icons/lib/md/input.d.ts new file mode 100644 index 0000000000..1d620b29c8 --- /dev/null +++ b/types/react-icons/lib/md/input.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdInput extends React.Component { } diff --git a/types/react-icons/lib/md/insert-chart.d.ts b/types/react-icons/lib/md/insert-chart.d.ts new file mode 100644 index 0000000000..c3f11f837a --- /dev/null +++ b/types/react-icons/lib/md/insert-chart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdInsertChart extends React.Component { } diff --git a/types/react-icons/lib/md/insert-comment.d.ts b/types/react-icons/lib/md/insert-comment.d.ts new file mode 100644 index 0000000000..4e9435029c --- /dev/null +++ b/types/react-icons/lib/md/insert-comment.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdInsertComment extends React.Component { } diff --git a/types/react-icons/lib/md/insert-drive-file.d.ts b/types/react-icons/lib/md/insert-drive-file.d.ts new file mode 100644 index 0000000000..cbef175f50 --- /dev/null +++ b/types/react-icons/lib/md/insert-drive-file.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdInsertDriveFile extends React.Component { } diff --git a/types/react-icons/lib/md/insert-emoticon.d.ts b/types/react-icons/lib/md/insert-emoticon.d.ts new file mode 100644 index 0000000000..5cce434cd9 --- /dev/null +++ b/types/react-icons/lib/md/insert-emoticon.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdInsertEmoticon extends React.Component { } diff --git a/types/react-icons/lib/md/insert-invitation.d.ts b/types/react-icons/lib/md/insert-invitation.d.ts new file mode 100644 index 0000000000..827e395a8d --- /dev/null +++ b/types/react-icons/lib/md/insert-invitation.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdInsertInvitation extends React.Component { } diff --git a/types/react-icons/lib/md/insert-link.d.ts b/types/react-icons/lib/md/insert-link.d.ts new file mode 100644 index 0000000000..31aa91358d --- /dev/null +++ b/types/react-icons/lib/md/insert-link.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdInsertLink extends React.Component { } diff --git a/types/react-icons/lib/md/insert-photo.d.ts b/types/react-icons/lib/md/insert-photo.d.ts new file mode 100644 index 0000000000..7b023ca75f --- /dev/null +++ b/types/react-icons/lib/md/insert-photo.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdInsertPhoto extends React.Component { } diff --git a/types/react-icons/lib/md/invert-colors-off.d.ts b/types/react-icons/lib/md/invert-colors-off.d.ts new file mode 100644 index 0000000000..bf08ac105a --- /dev/null +++ b/types/react-icons/lib/md/invert-colors-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdInvertColorsOff extends React.Component { } diff --git a/types/react-icons/lib/md/invert-colors-on.d.ts b/types/react-icons/lib/md/invert-colors-on.d.ts new file mode 100644 index 0000000000..41d3a30370 --- /dev/null +++ b/types/react-icons/lib/md/invert-colors-on.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdInvertColorsOn extends React.Component { } diff --git a/types/react-icons/lib/md/invert-colors.d.ts b/types/react-icons/lib/md/invert-colors.d.ts new file mode 100644 index 0000000000..6700ad9028 --- /dev/null +++ b/types/react-icons/lib/md/invert-colors.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdInvertColors extends React.Component { } diff --git a/types/react-icons/lib/md/iso.d.ts b/types/react-icons/lib/md/iso.d.ts new file mode 100644 index 0000000000..13e1d8da6c --- /dev/null +++ b/types/react-icons/lib/md/iso.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdIso extends React.Component { } diff --git a/types/react-icons/lib/md/keyboard-arrow-down.d.ts b/types/react-icons/lib/md/keyboard-arrow-down.d.ts new file mode 100644 index 0000000000..2aa3a06de4 --- /dev/null +++ b/types/react-icons/lib/md/keyboard-arrow-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdKeyboardArrowDown extends React.Component { } diff --git a/types/react-icons/lib/md/keyboard-arrow-left.d.ts b/types/react-icons/lib/md/keyboard-arrow-left.d.ts new file mode 100644 index 0000000000..6ab86f3bdc --- /dev/null +++ b/types/react-icons/lib/md/keyboard-arrow-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdKeyboardArrowLeft extends React.Component { } diff --git a/types/react-icons/lib/md/keyboard-arrow-right.d.ts b/types/react-icons/lib/md/keyboard-arrow-right.d.ts new file mode 100644 index 0000000000..157f9cd453 --- /dev/null +++ b/types/react-icons/lib/md/keyboard-arrow-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdKeyboardArrowRight extends React.Component { } diff --git a/types/react-icons/lib/md/keyboard-arrow-up.d.ts b/types/react-icons/lib/md/keyboard-arrow-up.d.ts new file mode 100644 index 0000000000..be668094a8 --- /dev/null +++ b/types/react-icons/lib/md/keyboard-arrow-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdKeyboardArrowUp extends React.Component { } diff --git a/types/react-icons/lib/md/keyboard-backspace.d.ts b/types/react-icons/lib/md/keyboard-backspace.d.ts new file mode 100644 index 0000000000..361b3eacb6 --- /dev/null +++ b/types/react-icons/lib/md/keyboard-backspace.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdKeyboardBackspace extends React.Component { } diff --git a/types/react-icons/lib/md/keyboard-capslock.d.ts b/types/react-icons/lib/md/keyboard-capslock.d.ts new file mode 100644 index 0000000000..e68fb04dd4 --- /dev/null +++ b/types/react-icons/lib/md/keyboard-capslock.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdKeyboardCapslock extends React.Component { } diff --git a/types/react-icons/lib/md/keyboard-control.d.ts b/types/react-icons/lib/md/keyboard-control.d.ts new file mode 100644 index 0000000000..26a47f7942 --- /dev/null +++ b/types/react-icons/lib/md/keyboard-control.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdKeyboardControl extends React.Component { } diff --git a/types/react-icons/lib/md/keyboard-hide.d.ts b/types/react-icons/lib/md/keyboard-hide.d.ts new file mode 100644 index 0000000000..2bd9815962 --- /dev/null +++ b/types/react-icons/lib/md/keyboard-hide.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdKeyboardHide extends React.Component { } diff --git a/types/react-icons/lib/md/keyboard-return.d.ts b/types/react-icons/lib/md/keyboard-return.d.ts new file mode 100644 index 0000000000..dcc67124f3 --- /dev/null +++ b/types/react-icons/lib/md/keyboard-return.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdKeyboardReturn extends React.Component { } diff --git a/types/react-icons/lib/md/keyboard-tab.d.ts b/types/react-icons/lib/md/keyboard-tab.d.ts new file mode 100644 index 0000000000..fc60cb1e9d --- /dev/null +++ b/types/react-icons/lib/md/keyboard-tab.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdKeyboardTab extends React.Component { } diff --git a/types/react-icons/lib/md/keyboard-voice.d.ts b/types/react-icons/lib/md/keyboard-voice.d.ts new file mode 100644 index 0000000000..b0e8b84cef --- /dev/null +++ b/types/react-icons/lib/md/keyboard-voice.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdKeyboardVoice extends React.Component { } diff --git a/types/react-icons/lib/md/keyboard.d.ts b/types/react-icons/lib/md/keyboard.d.ts new file mode 100644 index 0000000000..c48881b8b4 --- /dev/null +++ b/types/react-icons/lib/md/keyboard.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdKeyboard extends React.Component { } diff --git a/types/react-icons/lib/md/kitchen.d.ts b/types/react-icons/lib/md/kitchen.d.ts new file mode 100644 index 0000000000..9da8c6f762 --- /dev/null +++ b/types/react-icons/lib/md/kitchen.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdKitchen extends React.Component { } diff --git a/types/react-icons/lib/md/label-outline.d.ts b/types/react-icons/lib/md/label-outline.d.ts new file mode 100644 index 0000000000..f8565aaac8 --- /dev/null +++ b/types/react-icons/lib/md/label-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLabelOutline extends React.Component { } diff --git a/types/react-icons/lib/md/label.d.ts b/types/react-icons/lib/md/label.d.ts new file mode 100644 index 0000000000..679636e231 --- /dev/null +++ b/types/react-icons/lib/md/label.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLabel extends React.Component { } diff --git a/types/react-icons/lib/md/landscape.d.ts b/types/react-icons/lib/md/landscape.d.ts new file mode 100644 index 0000000000..fb4502522b --- /dev/null +++ b/types/react-icons/lib/md/landscape.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLandscape extends React.Component { } diff --git a/types/react-icons/lib/md/language.d.ts b/types/react-icons/lib/md/language.d.ts new file mode 100644 index 0000000000..a47388c654 --- /dev/null +++ b/types/react-icons/lib/md/language.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLanguage extends React.Component { } diff --git a/types/react-icons/lib/md/laptop-chromebook.d.ts b/types/react-icons/lib/md/laptop-chromebook.d.ts new file mode 100644 index 0000000000..d1f25cdc3b --- /dev/null +++ b/types/react-icons/lib/md/laptop-chromebook.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLaptopChromebook extends React.Component { } diff --git a/types/react-icons/lib/md/laptop-mac.d.ts b/types/react-icons/lib/md/laptop-mac.d.ts new file mode 100644 index 0000000000..25afe25920 --- /dev/null +++ b/types/react-icons/lib/md/laptop-mac.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLaptopMac extends React.Component { } diff --git a/types/react-icons/lib/md/laptop-windows.d.ts b/types/react-icons/lib/md/laptop-windows.d.ts new file mode 100644 index 0000000000..bd7441fea1 --- /dev/null +++ b/types/react-icons/lib/md/laptop-windows.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLaptopWindows extends React.Component { } diff --git a/types/react-icons/lib/md/laptop.d.ts b/types/react-icons/lib/md/laptop.d.ts new file mode 100644 index 0000000000..2510020e0c --- /dev/null +++ b/types/react-icons/lib/md/laptop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLaptop extends React.Component { } diff --git a/types/react-icons/lib/md/last-page.d.ts b/types/react-icons/lib/md/last-page.d.ts new file mode 100644 index 0000000000..162f94c0de --- /dev/null +++ b/types/react-icons/lib/md/last-page.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLastPage extends React.Component { } diff --git a/types/react-icons/lib/md/launch.d.ts b/types/react-icons/lib/md/launch.d.ts new file mode 100644 index 0000000000..6bd2552cb3 --- /dev/null +++ b/types/react-icons/lib/md/launch.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLaunch extends React.Component { } diff --git a/types/react-icons/lib/md/layers-clear.d.ts b/types/react-icons/lib/md/layers-clear.d.ts new file mode 100644 index 0000000000..136d4ab797 --- /dev/null +++ b/types/react-icons/lib/md/layers-clear.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLayersClear extends React.Component { } diff --git a/types/react-icons/lib/md/layers.d.ts b/types/react-icons/lib/md/layers.d.ts new file mode 100644 index 0000000000..d0f2ce7f78 --- /dev/null +++ b/types/react-icons/lib/md/layers.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLayers extends React.Component { } diff --git a/types/react-icons/lib/md/leak-add.d.ts b/types/react-icons/lib/md/leak-add.d.ts new file mode 100644 index 0000000000..95235a4a7d --- /dev/null +++ b/types/react-icons/lib/md/leak-add.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLeakAdd extends React.Component { } diff --git a/types/react-icons/lib/md/leak-remove.d.ts b/types/react-icons/lib/md/leak-remove.d.ts new file mode 100644 index 0000000000..024072b36a --- /dev/null +++ b/types/react-icons/lib/md/leak-remove.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLeakRemove extends React.Component { } diff --git a/types/react-icons/lib/md/lens.d.ts b/types/react-icons/lib/md/lens.d.ts new file mode 100644 index 0000000000..c5d535560e --- /dev/null +++ b/types/react-icons/lib/md/lens.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLens extends React.Component { } diff --git a/types/react-icons/lib/md/library-add.d.ts b/types/react-icons/lib/md/library-add.d.ts new file mode 100644 index 0000000000..0d1e45a2d1 --- /dev/null +++ b/types/react-icons/lib/md/library-add.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLibraryAdd extends React.Component { } diff --git a/types/react-icons/lib/md/library-books.d.ts b/types/react-icons/lib/md/library-books.d.ts new file mode 100644 index 0000000000..4cd9469a0f --- /dev/null +++ b/types/react-icons/lib/md/library-books.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLibraryBooks extends React.Component { } diff --git a/types/react-icons/lib/md/library-music.d.ts b/types/react-icons/lib/md/library-music.d.ts new file mode 100644 index 0000000000..7f25717011 --- /dev/null +++ b/types/react-icons/lib/md/library-music.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLibraryMusic extends React.Component { } diff --git a/types/react-icons/lib/md/lightbulb-outline.d.ts b/types/react-icons/lib/md/lightbulb-outline.d.ts new file mode 100644 index 0000000000..013344155b --- /dev/null +++ b/types/react-icons/lib/md/lightbulb-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLightbulbOutline extends React.Component { } diff --git a/types/react-icons/lib/md/line-style.d.ts b/types/react-icons/lib/md/line-style.d.ts new file mode 100644 index 0000000000..01562f8705 --- /dev/null +++ b/types/react-icons/lib/md/line-style.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLineStyle extends React.Component { } diff --git a/types/react-icons/lib/md/line-weight.d.ts b/types/react-icons/lib/md/line-weight.d.ts new file mode 100644 index 0000000000..2eaa15b7df --- /dev/null +++ b/types/react-icons/lib/md/line-weight.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLineWeight extends React.Component { } diff --git a/types/react-icons/lib/md/linear-scale.d.ts b/types/react-icons/lib/md/linear-scale.d.ts new file mode 100644 index 0000000000..e4f2196d46 --- /dev/null +++ b/types/react-icons/lib/md/linear-scale.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLinearScale extends React.Component { } diff --git a/types/react-icons/lib/md/link.d.ts b/types/react-icons/lib/md/link.d.ts new file mode 100644 index 0000000000..229a79db5d --- /dev/null +++ b/types/react-icons/lib/md/link.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLink extends React.Component { } diff --git a/types/react-icons/lib/md/linked-camera.d.ts b/types/react-icons/lib/md/linked-camera.d.ts new file mode 100644 index 0000000000..04f1059032 --- /dev/null +++ b/types/react-icons/lib/md/linked-camera.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLinkedCamera extends React.Component { } diff --git a/types/react-icons/lib/md/list.d.ts b/types/react-icons/lib/md/list.d.ts new file mode 100644 index 0000000000..ee687771dd --- /dev/null +++ b/types/react-icons/lib/md/list.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdList extends React.Component { } diff --git a/types/react-icons/lib/md/live-help.d.ts b/types/react-icons/lib/md/live-help.d.ts new file mode 100644 index 0000000000..baa4ecfcea --- /dev/null +++ b/types/react-icons/lib/md/live-help.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLiveHelp extends React.Component { } diff --git a/types/react-icons/lib/md/live-tv.d.ts b/types/react-icons/lib/md/live-tv.d.ts new file mode 100644 index 0000000000..4b6700c6d7 --- /dev/null +++ b/types/react-icons/lib/md/live-tv.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLiveTv extends React.Component { } diff --git a/types/react-icons/lib/md/local-airport.d.ts b/types/react-icons/lib/md/local-airport.d.ts new file mode 100644 index 0000000000..c5cbc96784 --- /dev/null +++ b/types/react-icons/lib/md/local-airport.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalAirport extends React.Component { } diff --git a/types/react-icons/lib/md/local-atm.d.ts b/types/react-icons/lib/md/local-atm.d.ts new file mode 100644 index 0000000000..c3aebab325 --- /dev/null +++ b/types/react-icons/lib/md/local-atm.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalAtm extends React.Component { } diff --git a/types/react-icons/lib/md/local-attraction.d.ts b/types/react-icons/lib/md/local-attraction.d.ts new file mode 100644 index 0000000000..4cb4733fc6 --- /dev/null +++ b/types/react-icons/lib/md/local-attraction.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalAttraction extends React.Component { } diff --git a/types/react-icons/lib/md/local-bar.d.ts b/types/react-icons/lib/md/local-bar.d.ts new file mode 100644 index 0000000000..384cf80708 --- /dev/null +++ b/types/react-icons/lib/md/local-bar.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalBar extends React.Component { } diff --git a/types/react-icons/lib/md/local-cafe.d.ts b/types/react-icons/lib/md/local-cafe.d.ts new file mode 100644 index 0000000000..1edc27271a --- /dev/null +++ b/types/react-icons/lib/md/local-cafe.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalCafe extends React.Component { } diff --git a/types/react-icons/lib/md/local-car-wash.d.ts b/types/react-icons/lib/md/local-car-wash.d.ts new file mode 100644 index 0000000000..2f8e3424d0 --- /dev/null +++ b/types/react-icons/lib/md/local-car-wash.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalCarWash extends React.Component { } diff --git a/types/react-icons/lib/md/local-convenience-store.d.ts b/types/react-icons/lib/md/local-convenience-store.d.ts new file mode 100644 index 0000000000..60ba5980c5 --- /dev/null +++ b/types/react-icons/lib/md/local-convenience-store.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalConvenienceStore extends React.Component { } diff --git a/types/react-icons/lib/md/local-drink.d.ts b/types/react-icons/lib/md/local-drink.d.ts new file mode 100644 index 0000000000..dd0cf01d42 --- /dev/null +++ b/types/react-icons/lib/md/local-drink.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalDrink extends React.Component { } diff --git a/types/react-icons/lib/md/local-florist.d.ts b/types/react-icons/lib/md/local-florist.d.ts new file mode 100644 index 0000000000..6744bc8c3a --- /dev/null +++ b/types/react-icons/lib/md/local-florist.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalFlorist extends React.Component { } diff --git a/types/react-icons/lib/md/local-gas-station.d.ts b/types/react-icons/lib/md/local-gas-station.d.ts new file mode 100644 index 0000000000..6c6b7df0a9 --- /dev/null +++ b/types/react-icons/lib/md/local-gas-station.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalGasStation extends React.Component { } diff --git a/types/react-icons/lib/md/local-grocery-store.d.ts b/types/react-icons/lib/md/local-grocery-store.d.ts new file mode 100644 index 0000000000..74be93825c --- /dev/null +++ b/types/react-icons/lib/md/local-grocery-store.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalGroceryStore extends React.Component { } diff --git a/types/react-icons/lib/md/local-hospital.d.ts b/types/react-icons/lib/md/local-hospital.d.ts new file mode 100644 index 0000000000..3f3d22c1f1 --- /dev/null +++ b/types/react-icons/lib/md/local-hospital.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalHospital extends React.Component { } diff --git a/types/react-icons/lib/md/local-hotel.d.ts b/types/react-icons/lib/md/local-hotel.d.ts new file mode 100644 index 0000000000..72aa8116e3 --- /dev/null +++ b/types/react-icons/lib/md/local-hotel.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalHotel extends React.Component { } diff --git a/types/react-icons/lib/md/local-laundry-service.d.ts b/types/react-icons/lib/md/local-laundry-service.d.ts new file mode 100644 index 0000000000..bcddaa57b7 --- /dev/null +++ b/types/react-icons/lib/md/local-laundry-service.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalLaundryService extends React.Component { } diff --git a/types/react-icons/lib/md/local-library.d.ts b/types/react-icons/lib/md/local-library.d.ts new file mode 100644 index 0000000000..66345dec71 --- /dev/null +++ b/types/react-icons/lib/md/local-library.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalLibrary extends React.Component { } diff --git a/types/react-icons/lib/md/local-mall.d.ts b/types/react-icons/lib/md/local-mall.d.ts new file mode 100644 index 0000000000..4bc0bd9a6c --- /dev/null +++ b/types/react-icons/lib/md/local-mall.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalMall extends React.Component { } diff --git a/types/react-icons/lib/md/local-movies.d.ts b/types/react-icons/lib/md/local-movies.d.ts new file mode 100644 index 0000000000..fd585253f4 --- /dev/null +++ b/types/react-icons/lib/md/local-movies.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalMovies extends React.Component { } diff --git a/types/react-icons/lib/md/local-offer.d.ts b/types/react-icons/lib/md/local-offer.d.ts new file mode 100644 index 0000000000..d68ec81829 --- /dev/null +++ b/types/react-icons/lib/md/local-offer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalOffer extends React.Component { } diff --git a/types/react-icons/lib/md/local-parking.d.ts b/types/react-icons/lib/md/local-parking.d.ts new file mode 100644 index 0000000000..962af582ac --- /dev/null +++ b/types/react-icons/lib/md/local-parking.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalParking extends React.Component { } diff --git a/types/react-icons/lib/md/local-pharmacy.d.ts b/types/react-icons/lib/md/local-pharmacy.d.ts new file mode 100644 index 0000000000..4f6253241e --- /dev/null +++ b/types/react-icons/lib/md/local-pharmacy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalPharmacy extends React.Component { } diff --git a/types/react-icons/lib/md/local-phone.d.ts b/types/react-icons/lib/md/local-phone.d.ts new file mode 100644 index 0000000000..295b71d056 --- /dev/null +++ b/types/react-icons/lib/md/local-phone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalPhone extends React.Component { } diff --git a/types/react-icons/lib/md/local-pizza.d.ts b/types/react-icons/lib/md/local-pizza.d.ts new file mode 100644 index 0000000000..fd8f1e9b3f --- /dev/null +++ b/types/react-icons/lib/md/local-pizza.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalPizza extends React.Component { } diff --git a/types/react-icons/lib/md/local-play.d.ts b/types/react-icons/lib/md/local-play.d.ts new file mode 100644 index 0000000000..2323020f1f --- /dev/null +++ b/types/react-icons/lib/md/local-play.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalPlay extends React.Component { } diff --git a/types/react-icons/lib/md/local-post-office.d.ts b/types/react-icons/lib/md/local-post-office.d.ts new file mode 100644 index 0000000000..d753132d88 --- /dev/null +++ b/types/react-icons/lib/md/local-post-office.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalPostOffice extends React.Component { } diff --git a/types/react-icons/lib/md/local-print-shop.d.ts b/types/react-icons/lib/md/local-print-shop.d.ts new file mode 100644 index 0000000000..f5f2318b18 --- /dev/null +++ b/types/react-icons/lib/md/local-print-shop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalPrintShop extends React.Component { } diff --git a/types/react-icons/lib/md/local-restaurant.d.ts b/types/react-icons/lib/md/local-restaurant.d.ts new file mode 100644 index 0000000000..631a9bcdba --- /dev/null +++ b/types/react-icons/lib/md/local-restaurant.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalRestaurant extends React.Component { } diff --git a/types/react-icons/lib/md/local-see.d.ts b/types/react-icons/lib/md/local-see.d.ts new file mode 100644 index 0000000000..6c345a7bdd --- /dev/null +++ b/types/react-icons/lib/md/local-see.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalSee extends React.Component { } diff --git a/types/react-icons/lib/md/local-shipping.d.ts b/types/react-icons/lib/md/local-shipping.d.ts new file mode 100644 index 0000000000..8862dc1e3f --- /dev/null +++ b/types/react-icons/lib/md/local-shipping.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalShipping extends React.Component { } diff --git a/types/react-icons/lib/md/local-taxi.d.ts b/types/react-icons/lib/md/local-taxi.d.ts new file mode 100644 index 0000000000..ffee12d51a --- /dev/null +++ b/types/react-icons/lib/md/local-taxi.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocalTaxi extends React.Component { } diff --git a/types/react-icons/lib/md/location-city.d.ts b/types/react-icons/lib/md/location-city.d.ts new file mode 100644 index 0000000000..d4154e0b4d --- /dev/null +++ b/types/react-icons/lib/md/location-city.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocationCity extends React.Component { } diff --git a/types/react-icons/lib/md/location-disabled.d.ts b/types/react-icons/lib/md/location-disabled.d.ts new file mode 100644 index 0000000000..f890985e4c --- /dev/null +++ b/types/react-icons/lib/md/location-disabled.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocationDisabled extends React.Component { } diff --git a/types/react-icons/lib/md/location-history.d.ts b/types/react-icons/lib/md/location-history.d.ts new file mode 100644 index 0000000000..6d7ae193ef --- /dev/null +++ b/types/react-icons/lib/md/location-history.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocationHistory extends React.Component { } diff --git a/types/react-icons/lib/md/location-off.d.ts b/types/react-icons/lib/md/location-off.d.ts new file mode 100644 index 0000000000..ae7c278991 --- /dev/null +++ b/types/react-icons/lib/md/location-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocationOff extends React.Component { } diff --git a/types/react-icons/lib/md/location-on.d.ts b/types/react-icons/lib/md/location-on.d.ts new file mode 100644 index 0000000000..9a606064c1 --- /dev/null +++ b/types/react-icons/lib/md/location-on.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocationOn extends React.Component { } diff --git a/types/react-icons/lib/md/location-searching.d.ts b/types/react-icons/lib/md/location-searching.d.ts new file mode 100644 index 0000000000..89860efc3f --- /dev/null +++ b/types/react-icons/lib/md/location-searching.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLocationSearching extends React.Component { } diff --git a/types/react-icons/lib/md/lock-open.d.ts b/types/react-icons/lib/md/lock-open.d.ts new file mode 100644 index 0000000000..c61129c43a --- /dev/null +++ b/types/react-icons/lib/md/lock-open.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLockOpen extends React.Component { } diff --git a/types/react-icons/lib/md/lock-outline.d.ts b/types/react-icons/lib/md/lock-outline.d.ts new file mode 100644 index 0000000000..8d8c854627 --- /dev/null +++ b/types/react-icons/lib/md/lock-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLockOutline extends React.Component { } diff --git a/types/react-icons/lib/md/lock.d.ts b/types/react-icons/lib/md/lock.d.ts new file mode 100644 index 0000000000..08c9bebbec --- /dev/null +++ b/types/react-icons/lib/md/lock.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLock extends React.Component { } diff --git a/types/react-icons/lib/md/looks-3.d.ts b/types/react-icons/lib/md/looks-3.d.ts new file mode 100644 index 0000000000..91ec18b0fa --- /dev/null +++ b/types/react-icons/lib/md/looks-3.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLooks3 extends React.Component { } diff --git a/types/react-icons/lib/md/looks-4.d.ts b/types/react-icons/lib/md/looks-4.d.ts new file mode 100644 index 0000000000..2005a3ef6c --- /dev/null +++ b/types/react-icons/lib/md/looks-4.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLooks4 extends React.Component { } diff --git a/types/react-icons/lib/md/looks-5.d.ts b/types/react-icons/lib/md/looks-5.d.ts new file mode 100644 index 0000000000..0e4c8830df --- /dev/null +++ b/types/react-icons/lib/md/looks-5.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLooks5 extends React.Component { } diff --git a/types/react-icons/lib/md/looks-6.d.ts b/types/react-icons/lib/md/looks-6.d.ts new file mode 100644 index 0000000000..b00d207ffc --- /dev/null +++ b/types/react-icons/lib/md/looks-6.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLooks6 extends React.Component { } diff --git a/types/react-icons/lib/md/looks-one.d.ts b/types/react-icons/lib/md/looks-one.d.ts new file mode 100644 index 0000000000..129ebbc28b --- /dev/null +++ b/types/react-icons/lib/md/looks-one.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLooksOne extends React.Component { } diff --git a/types/react-icons/lib/md/looks-two.d.ts b/types/react-icons/lib/md/looks-two.d.ts new file mode 100644 index 0000000000..5f62cb2173 --- /dev/null +++ b/types/react-icons/lib/md/looks-two.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLooksTwo extends React.Component { } diff --git a/types/react-icons/lib/md/looks.d.ts b/types/react-icons/lib/md/looks.d.ts new file mode 100644 index 0000000000..5db0141f58 --- /dev/null +++ b/types/react-icons/lib/md/looks.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLooks extends React.Component { } diff --git a/types/react-icons/lib/md/loop.d.ts b/types/react-icons/lib/md/loop.d.ts new file mode 100644 index 0000000000..8e7f90aad0 --- /dev/null +++ b/types/react-icons/lib/md/loop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLoop extends React.Component { } diff --git a/types/react-icons/lib/md/loupe.d.ts b/types/react-icons/lib/md/loupe.d.ts new file mode 100644 index 0000000000..8b7e0a54f1 --- /dev/null +++ b/types/react-icons/lib/md/loupe.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLoupe extends React.Component { } diff --git a/types/react-icons/lib/md/low-priority.d.ts b/types/react-icons/lib/md/low-priority.d.ts new file mode 100644 index 0000000000..61f7f79811 --- /dev/null +++ b/types/react-icons/lib/md/low-priority.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLowPriority extends React.Component { } diff --git a/types/react-icons/lib/md/loyalty.d.ts b/types/react-icons/lib/md/loyalty.d.ts new file mode 100644 index 0000000000..de4ad7303f --- /dev/null +++ b/types/react-icons/lib/md/loyalty.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdLoyalty extends React.Component { } diff --git a/types/react-icons/lib/md/mail-outline.d.ts b/types/react-icons/lib/md/mail-outline.d.ts new file mode 100644 index 0000000000..e2ea724b8c --- /dev/null +++ b/types/react-icons/lib/md/mail-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMailOutline extends React.Component { } diff --git a/types/react-icons/lib/md/mail.d.ts b/types/react-icons/lib/md/mail.d.ts new file mode 100644 index 0000000000..4d6ae8563e --- /dev/null +++ b/types/react-icons/lib/md/mail.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMail extends React.Component { } diff --git a/types/react-icons/lib/md/map.d.ts b/types/react-icons/lib/md/map.d.ts new file mode 100644 index 0000000000..e5199af23c --- /dev/null +++ b/types/react-icons/lib/md/map.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMap extends React.Component { } diff --git a/types/react-icons/lib/md/markunread-mailbox.d.ts b/types/react-icons/lib/md/markunread-mailbox.d.ts new file mode 100644 index 0000000000..ba5d9a5982 --- /dev/null +++ b/types/react-icons/lib/md/markunread-mailbox.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMarkunreadMailbox extends React.Component { } diff --git a/types/react-icons/lib/md/markunread.d.ts b/types/react-icons/lib/md/markunread.d.ts new file mode 100644 index 0000000000..bcf1ac3569 --- /dev/null +++ b/types/react-icons/lib/md/markunread.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMarkunread extends React.Component { } diff --git a/types/react-icons/lib/md/memory.d.ts b/types/react-icons/lib/md/memory.d.ts new file mode 100644 index 0000000000..507da2a21c --- /dev/null +++ b/types/react-icons/lib/md/memory.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMemory extends React.Component { } diff --git a/types/react-icons/lib/md/menu.d.ts b/types/react-icons/lib/md/menu.d.ts new file mode 100644 index 0000000000..8d71a1981f --- /dev/null +++ b/types/react-icons/lib/md/menu.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMenu extends React.Component { } diff --git a/types/react-icons/lib/md/merge-type.d.ts b/types/react-icons/lib/md/merge-type.d.ts new file mode 100644 index 0000000000..40e48a7b93 --- /dev/null +++ b/types/react-icons/lib/md/merge-type.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMergeType extends React.Component { } diff --git a/types/react-icons/lib/md/message.d.ts b/types/react-icons/lib/md/message.d.ts new file mode 100644 index 0000000000..64488ed66b --- /dev/null +++ b/types/react-icons/lib/md/message.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMessage extends React.Component { } diff --git a/types/react-icons/lib/md/mic-none.d.ts b/types/react-icons/lib/md/mic-none.d.ts new file mode 100644 index 0000000000..5b71761c02 --- /dev/null +++ b/types/react-icons/lib/md/mic-none.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMicNone extends React.Component { } diff --git a/types/react-icons/lib/md/mic-off.d.ts b/types/react-icons/lib/md/mic-off.d.ts new file mode 100644 index 0000000000..ce68ec3b85 --- /dev/null +++ b/types/react-icons/lib/md/mic-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMicOff extends React.Component { } diff --git a/types/react-icons/lib/md/mic.d.ts b/types/react-icons/lib/md/mic.d.ts new file mode 100644 index 0000000000..e827c93aee --- /dev/null +++ b/types/react-icons/lib/md/mic.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMic extends React.Component { } diff --git a/types/react-icons/lib/md/mms.d.ts b/types/react-icons/lib/md/mms.d.ts new file mode 100644 index 0000000000..dd4635435c --- /dev/null +++ b/types/react-icons/lib/md/mms.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMms extends React.Component { } diff --git a/types/react-icons/lib/md/mode-comment.d.ts b/types/react-icons/lib/md/mode-comment.d.ts new file mode 100644 index 0000000000..4e70e6a57e --- /dev/null +++ b/types/react-icons/lib/md/mode-comment.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdModeComment extends React.Component { } diff --git a/types/react-icons/lib/md/mode-edit.d.ts b/types/react-icons/lib/md/mode-edit.d.ts new file mode 100644 index 0000000000..8ba0f1809c --- /dev/null +++ b/types/react-icons/lib/md/mode-edit.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdModeEdit extends React.Component { } diff --git a/types/react-icons/lib/md/monetization-on.d.ts b/types/react-icons/lib/md/monetization-on.d.ts new file mode 100644 index 0000000000..5fbac94cd6 --- /dev/null +++ b/types/react-icons/lib/md/monetization-on.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMonetizationOn extends React.Component { } diff --git a/types/react-icons/lib/md/money-off.d.ts b/types/react-icons/lib/md/money-off.d.ts new file mode 100644 index 0000000000..682df0c9e9 --- /dev/null +++ b/types/react-icons/lib/md/money-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMoneyOff extends React.Component { } diff --git a/types/react-icons/lib/md/monochrome-photos.d.ts b/types/react-icons/lib/md/monochrome-photos.d.ts new file mode 100644 index 0000000000..57d0224d92 --- /dev/null +++ b/types/react-icons/lib/md/monochrome-photos.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMonochromePhotos extends React.Component { } diff --git a/types/react-icons/lib/md/mood-bad.d.ts b/types/react-icons/lib/md/mood-bad.d.ts new file mode 100644 index 0000000000..6cb4070c36 --- /dev/null +++ b/types/react-icons/lib/md/mood-bad.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMoodBad extends React.Component { } diff --git a/types/react-icons/lib/md/mood.d.ts b/types/react-icons/lib/md/mood.d.ts new file mode 100644 index 0000000000..fd15fc4d9d --- /dev/null +++ b/types/react-icons/lib/md/mood.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMood extends React.Component { } diff --git a/types/react-icons/lib/md/more-horiz.d.ts b/types/react-icons/lib/md/more-horiz.d.ts new file mode 100644 index 0000000000..dd46d5526c --- /dev/null +++ b/types/react-icons/lib/md/more-horiz.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMoreHoriz extends React.Component { } diff --git a/types/react-icons/lib/md/more-vert.d.ts b/types/react-icons/lib/md/more-vert.d.ts new file mode 100644 index 0000000000..9c1080b74a --- /dev/null +++ b/types/react-icons/lib/md/more-vert.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMoreVert extends React.Component { } diff --git a/types/react-icons/lib/md/more.d.ts b/types/react-icons/lib/md/more.d.ts new file mode 100644 index 0000000000..395fe8b215 --- /dev/null +++ b/types/react-icons/lib/md/more.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMore extends React.Component { } diff --git a/types/react-icons/lib/md/motorcycle.d.ts b/types/react-icons/lib/md/motorcycle.d.ts new file mode 100644 index 0000000000..b06e285368 --- /dev/null +++ b/types/react-icons/lib/md/motorcycle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMotorcycle extends React.Component { } diff --git a/types/react-icons/lib/md/mouse.d.ts b/types/react-icons/lib/md/mouse.d.ts new file mode 100644 index 0000000000..6b48389af1 --- /dev/null +++ b/types/react-icons/lib/md/mouse.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMouse extends React.Component { } diff --git a/types/react-icons/lib/md/move-to-inbox.d.ts b/types/react-icons/lib/md/move-to-inbox.d.ts new file mode 100644 index 0000000000..2723e6516e --- /dev/null +++ b/types/react-icons/lib/md/move-to-inbox.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMoveToInbox extends React.Component { } diff --git a/types/react-icons/lib/md/movie-creation.d.ts b/types/react-icons/lib/md/movie-creation.d.ts new file mode 100644 index 0000000000..1e795092d6 --- /dev/null +++ b/types/react-icons/lib/md/movie-creation.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMovieCreation extends React.Component { } diff --git a/types/react-icons/lib/md/movie-filter.d.ts b/types/react-icons/lib/md/movie-filter.d.ts new file mode 100644 index 0000000000..22da6198e8 --- /dev/null +++ b/types/react-icons/lib/md/movie-filter.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMovieFilter extends React.Component { } diff --git a/types/react-icons/lib/md/movie.d.ts b/types/react-icons/lib/md/movie.d.ts new file mode 100644 index 0000000000..7982199452 --- /dev/null +++ b/types/react-icons/lib/md/movie.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMovie extends React.Component { } diff --git a/types/react-icons/lib/md/multiline-chart.d.ts b/types/react-icons/lib/md/multiline-chart.d.ts new file mode 100644 index 0000000000..03aba87bc1 --- /dev/null +++ b/types/react-icons/lib/md/multiline-chart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMultilineChart extends React.Component { } diff --git a/types/react-icons/lib/md/music-note.d.ts b/types/react-icons/lib/md/music-note.d.ts new file mode 100644 index 0000000000..b3c161252e --- /dev/null +++ b/types/react-icons/lib/md/music-note.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMusicNote extends React.Component { } diff --git a/types/react-icons/lib/md/music-video.d.ts b/types/react-icons/lib/md/music-video.d.ts new file mode 100644 index 0000000000..e7c4890596 --- /dev/null +++ b/types/react-icons/lib/md/music-video.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMusicVideo extends React.Component { } diff --git a/types/react-icons/lib/md/my-location.d.ts b/types/react-icons/lib/md/my-location.d.ts new file mode 100644 index 0000000000..e9e49e3638 --- /dev/null +++ b/types/react-icons/lib/md/my-location.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdMyLocation extends React.Component { } diff --git a/types/react-icons/lib/md/nature-people.d.ts b/types/react-icons/lib/md/nature-people.d.ts new file mode 100644 index 0000000000..123a578eff --- /dev/null +++ b/types/react-icons/lib/md/nature-people.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNaturePeople extends React.Component { } diff --git a/types/react-icons/lib/md/nature.d.ts b/types/react-icons/lib/md/nature.d.ts new file mode 100644 index 0000000000..14b871e450 --- /dev/null +++ b/types/react-icons/lib/md/nature.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNature extends React.Component { } diff --git a/types/react-icons/lib/md/navigate-before.d.ts b/types/react-icons/lib/md/navigate-before.d.ts new file mode 100644 index 0000000000..e66fdc2c7b --- /dev/null +++ b/types/react-icons/lib/md/navigate-before.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNavigateBefore extends React.Component { } diff --git a/types/react-icons/lib/md/navigate-next.d.ts b/types/react-icons/lib/md/navigate-next.d.ts new file mode 100644 index 0000000000..f39bad2270 --- /dev/null +++ b/types/react-icons/lib/md/navigate-next.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNavigateNext extends React.Component { } diff --git a/types/react-icons/lib/md/navigation.d.ts b/types/react-icons/lib/md/navigation.d.ts new file mode 100644 index 0000000000..be44444790 --- /dev/null +++ b/types/react-icons/lib/md/navigation.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNavigation extends React.Component { } diff --git a/types/react-icons/lib/md/near-me.d.ts b/types/react-icons/lib/md/near-me.d.ts new file mode 100644 index 0000000000..a1fe717c03 --- /dev/null +++ b/types/react-icons/lib/md/near-me.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNearMe extends React.Component { } diff --git a/types/react-icons/lib/md/network-cell.d.ts b/types/react-icons/lib/md/network-cell.d.ts new file mode 100644 index 0000000000..9dc116de65 --- /dev/null +++ b/types/react-icons/lib/md/network-cell.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNetworkCell extends React.Component { } diff --git a/types/react-icons/lib/md/network-check.d.ts b/types/react-icons/lib/md/network-check.d.ts new file mode 100644 index 0000000000..3497ab3224 --- /dev/null +++ b/types/react-icons/lib/md/network-check.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNetworkCheck extends React.Component { } diff --git a/types/react-icons/lib/md/network-locked.d.ts b/types/react-icons/lib/md/network-locked.d.ts new file mode 100644 index 0000000000..e7e66850e4 --- /dev/null +++ b/types/react-icons/lib/md/network-locked.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNetworkLocked extends React.Component { } diff --git a/types/react-icons/lib/md/network-wifi.d.ts b/types/react-icons/lib/md/network-wifi.d.ts new file mode 100644 index 0000000000..2c9097fc57 --- /dev/null +++ b/types/react-icons/lib/md/network-wifi.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNetworkWifi extends React.Component { } diff --git a/types/react-icons/lib/md/new-releases.d.ts b/types/react-icons/lib/md/new-releases.d.ts new file mode 100644 index 0000000000..4ff4c3e21f --- /dev/null +++ b/types/react-icons/lib/md/new-releases.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNewReleases extends React.Component { } diff --git a/types/react-icons/lib/md/next-week.d.ts b/types/react-icons/lib/md/next-week.d.ts new file mode 100644 index 0000000000..4754bfc5c5 --- /dev/null +++ b/types/react-icons/lib/md/next-week.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNextWeek extends React.Component { } diff --git a/types/react-icons/lib/md/nfc.d.ts b/types/react-icons/lib/md/nfc.d.ts new file mode 100644 index 0000000000..521ad7fe89 --- /dev/null +++ b/types/react-icons/lib/md/nfc.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNfc extends React.Component { } diff --git a/types/react-icons/lib/md/no-encryption.d.ts b/types/react-icons/lib/md/no-encryption.d.ts new file mode 100644 index 0000000000..038f3eef3f --- /dev/null +++ b/types/react-icons/lib/md/no-encryption.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNoEncryption extends React.Component { } diff --git a/types/react-icons/lib/md/no-sim.d.ts b/types/react-icons/lib/md/no-sim.d.ts new file mode 100644 index 0000000000..09e6165201 --- /dev/null +++ b/types/react-icons/lib/md/no-sim.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNoSim extends React.Component { } diff --git a/types/react-icons/lib/md/not-interested.d.ts b/types/react-icons/lib/md/not-interested.d.ts new file mode 100644 index 0000000000..a21c3ca574 --- /dev/null +++ b/types/react-icons/lib/md/not-interested.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNotInterested extends React.Component { } diff --git a/types/react-icons/lib/md/note-add.d.ts b/types/react-icons/lib/md/note-add.d.ts new file mode 100644 index 0000000000..7673a94b3c --- /dev/null +++ b/types/react-icons/lib/md/note-add.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNoteAdd extends React.Component { } diff --git a/types/react-icons/lib/md/note.d.ts b/types/react-icons/lib/md/note.d.ts new file mode 100644 index 0000000000..757dfc63fc --- /dev/null +++ b/types/react-icons/lib/md/note.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNote extends React.Component { } diff --git a/types/react-icons/lib/md/notifications-active.d.ts b/types/react-icons/lib/md/notifications-active.d.ts new file mode 100644 index 0000000000..afb7f84483 --- /dev/null +++ b/types/react-icons/lib/md/notifications-active.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNotificationsActive extends React.Component { } diff --git a/types/react-icons/lib/md/notifications-none.d.ts b/types/react-icons/lib/md/notifications-none.d.ts new file mode 100644 index 0000000000..d1667a5307 --- /dev/null +++ b/types/react-icons/lib/md/notifications-none.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNotificationsNone extends React.Component { } diff --git a/types/react-icons/lib/md/notifications-off.d.ts b/types/react-icons/lib/md/notifications-off.d.ts new file mode 100644 index 0000000000..ea413b9d5c --- /dev/null +++ b/types/react-icons/lib/md/notifications-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNotificationsOff extends React.Component { } diff --git a/types/react-icons/lib/md/notifications-paused.d.ts b/types/react-icons/lib/md/notifications-paused.d.ts new file mode 100644 index 0000000000..7181f702a7 --- /dev/null +++ b/types/react-icons/lib/md/notifications-paused.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNotificationsPaused extends React.Component { } diff --git a/types/react-icons/lib/md/notifications.d.ts b/types/react-icons/lib/md/notifications.d.ts new file mode 100644 index 0000000000..14de6c4b4e --- /dev/null +++ b/types/react-icons/lib/md/notifications.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNotifications extends React.Component { } diff --git a/types/react-icons/lib/md/now-wallpaper.d.ts b/types/react-icons/lib/md/now-wallpaper.d.ts new file mode 100644 index 0000000000..076ec5c4bf --- /dev/null +++ b/types/react-icons/lib/md/now-wallpaper.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNowWallpaper extends React.Component { } diff --git a/types/react-icons/lib/md/now-widgets.d.ts b/types/react-icons/lib/md/now-widgets.d.ts new file mode 100644 index 0000000000..0242391941 --- /dev/null +++ b/types/react-icons/lib/md/now-widgets.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdNowWidgets extends React.Component { } diff --git a/types/react-icons/lib/md/offline-pin.d.ts b/types/react-icons/lib/md/offline-pin.d.ts new file mode 100644 index 0000000000..0c691eb46c --- /dev/null +++ b/types/react-icons/lib/md/offline-pin.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdOfflinePin extends React.Component { } diff --git a/types/react-icons/lib/md/ondemand-video.d.ts b/types/react-icons/lib/md/ondemand-video.d.ts new file mode 100644 index 0000000000..2abd212bc0 --- /dev/null +++ b/types/react-icons/lib/md/ondemand-video.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdOndemandVideo extends React.Component { } diff --git a/types/react-icons/lib/md/opacity.d.ts b/types/react-icons/lib/md/opacity.d.ts new file mode 100644 index 0000000000..abf5830ea6 --- /dev/null +++ b/types/react-icons/lib/md/opacity.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdOpacity extends React.Component { } diff --git a/types/react-icons/lib/md/open-in-browser.d.ts b/types/react-icons/lib/md/open-in-browser.d.ts new file mode 100644 index 0000000000..52bb107a78 --- /dev/null +++ b/types/react-icons/lib/md/open-in-browser.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdOpenInBrowser extends React.Component { } diff --git a/types/react-icons/lib/md/open-in-new.d.ts b/types/react-icons/lib/md/open-in-new.d.ts new file mode 100644 index 0000000000..c9cdd9711c --- /dev/null +++ b/types/react-icons/lib/md/open-in-new.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdOpenInNew extends React.Component { } diff --git a/types/react-icons/lib/md/open-with.d.ts b/types/react-icons/lib/md/open-with.d.ts new file mode 100644 index 0000000000..400d1e0deb --- /dev/null +++ b/types/react-icons/lib/md/open-with.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdOpenWith extends React.Component { } diff --git a/types/react-icons/lib/md/pages.d.ts b/types/react-icons/lib/md/pages.d.ts new file mode 100644 index 0000000000..6a156250cc --- /dev/null +++ b/types/react-icons/lib/md/pages.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPages extends React.Component { } diff --git a/types/react-icons/lib/md/pageview.d.ts b/types/react-icons/lib/md/pageview.d.ts new file mode 100644 index 0000000000..f69c0ee9f2 --- /dev/null +++ b/types/react-icons/lib/md/pageview.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPageview extends React.Component { } diff --git a/types/react-icons/lib/md/palette.d.ts b/types/react-icons/lib/md/palette.d.ts new file mode 100644 index 0000000000..823c529566 --- /dev/null +++ b/types/react-icons/lib/md/palette.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPalette extends React.Component { } diff --git a/types/react-icons/lib/md/pan-tool.d.ts b/types/react-icons/lib/md/pan-tool.d.ts new file mode 100644 index 0000000000..b208116369 --- /dev/null +++ b/types/react-icons/lib/md/pan-tool.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPanTool extends React.Component { } diff --git a/types/react-icons/lib/md/panorama-fish-eye.d.ts b/types/react-icons/lib/md/panorama-fish-eye.d.ts new file mode 100644 index 0000000000..29420599ae --- /dev/null +++ b/types/react-icons/lib/md/panorama-fish-eye.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPanoramaFishEye extends React.Component { } diff --git a/types/react-icons/lib/md/panorama-horizontal.d.ts b/types/react-icons/lib/md/panorama-horizontal.d.ts new file mode 100644 index 0000000000..201fb72074 --- /dev/null +++ b/types/react-icons/lib/md/panorama-horizontal.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPanoramaHorizontal extends React.Component { } diff --git a/types/react-icons/lib/md/panorama-vertical.d.ts b/types/react-icons/lib/md/panorama-vertical.d.ts new file mode 100644 index 0000000000..460041e27d --- /dev/null +++ b/types/react-icons/lib/md/panorama-vertical.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPanoramaVertical extends React.Component { } diff --git a/types/react-icons/lib/md/panorama-wide-angle.d.ts b/types/react-icons/lib/md/panorama-wide-angle.d.ts new file mode 100644 index 0000000000..58bf2f6a41 --- /dev/null +++ b/types/react-icons/lib/md/panorama-wide-angle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPanoramaWideAngle extends React.Component { } diff --git a/types/react-icons/lib/md/panorama.d.ts b/types/react-icons/lib/md/panorama.d.ts new file mode 100644 index 0000000000..ce2631733d --- /dev/null +++ b/types/react-icons/lib/md/panorama.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPanorama extends React.Component { } diff --git a/types/react-icons/lib/md/party-mode.d.ts b/types/react-icons/lib/md/party-mode.d.ts new file mode 100644 index 0000000000..61270bf1f0 --- /dev/null +++ b/types/react-icons/lib/md/party-mode.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPartyMode extends React.Component { } diff --git a/types/react-icons/lib/md/pause-circle-filled.d.ts b/types/react-icons/lib/md/pause-circle-filled.d.ts new file mode 100644 index 0000000000..8dcc944037 --- /dev/null +++ b/types/react-icons/lib/md/pause-circle-filled.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPauseCircleFilled extends React.Component { } diff --git a/types/react-icons/lib/md/pause-circle-outline.d.ts b/types/react-icons/lib/md/pause-circle-outline.d.ts new file mode 100644 index 0000000000..c694731521 --- /dev/null +++ b/types/react-icons/lib/md/pause-circle-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPauseCircleOutline extends React.Component { } diff --git a/types/react-icons/lib/md/pause.d.ts b/types/react-icons/lib/md/pause.d.ts new file mode 100644 index 0000000000..29d68353f7 --- /dev/null +++ b/types/react-icons/lib/md/pause.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPause extends React.Component { } diff --git a/types/react-icons/lib/md/payment.d.ts b/types/react-icons/lib/md/payment.d.ts new file mode 100644 index 0000000000..bd2439d38c --- /dev/null +++ b/types/react-icons/lib/md/payment.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPayment extends React.Component { } diff --git a/types/react-icons/lib/md/people-outline.d.ts b/types/react-icons/lib/md/people-outline.d.ts new file mode 100644 index 0000000000..88a012742e --- /dev/null +++ b/types/react-icons/lib/md/people-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPeopleOutline extends React.Component { } diff --git a/types/react-icons/lib/md/people.d.ts b/types/react-icons/lib/md/people.d.ts new file mode 100644 index 0000000000..75f9cbfe7e --- /dev/null +++ b/types/react-icons/lib/md/people.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPeople extends React.Component { } diff --git a/types/react-icons/lib/md/perm-camera-mic.d.ts b/types/react-icons/lib/md/perm-camera-mic.d.ts new file mode 100644 index 0000000000..a17acb8788 --- /dev/null +++ b/types/react-icons/lib/md/perm-camera-mic.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPermCameraMic extends React.Component { } diff --git a/types/react-icons/lib/md/perm-contact-calendar.d.ts b/types/react-icons/lib/md/perm-contact-calendar.d.ts new file mode 100644 index 0000000000..3b2105a7cf --- /dev/null +++ b/types/react-icons/lib/md/perm-contact-calendar.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPermContactCalendar extends React.Component { } diff --git a/types/react-icons/lib/md/perm-data-setting.d.ts b/types/react-icons/lib/md/perm-data-setting.d.ts new file mode 100644 index 0000000000..18d108d14f --- /dev/null +++ b/types/react-icons/lib/md/perm-data-setting.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPermDataSetting extends React.Component { } diff --git a/types/react-icons/lib/md/perm-device-information.d.ts b/types/react-icons/lib/md/perm-device-information.d.ts new file mode 100644 index 0000000000..db2dfcc07b --- /dev/null +++ b/types/react-icons/lib/md/perm-device-information.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPermDeviceInformation extends React.Component { } diff --git a/types/react-icons/lib/md/perm-identity.d.ts b/types/react-icons/lib/md/perm-identity.d.ts new file mode 100644 index 0000000000..d56d0b3c37 --- /dev/null +++ b/types/react-icons/lib/md/perm-identity.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPermIdentity extends React.Component { } diff --git a/types/react-icons/lib/md/perm-media.d.ts b/types/react-icons/lib/md/perm-media.d.ts new file mode 100644 index 0000000000..36f4bee6a7 --- /dev/null +++ b/types/react-icons/lib/md/perm-media.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPermMedia extends React.Component { } diff --git a/types/react-icons/lib/md/perm-phone-msg.d.ts b/types/react-icons/lib/md/perm-phone-msg.d.ts new file mode 100644 index 0000000000..6352e415a6 --- /dev/null +++ b/types/react-icons/lib/md/perm-phone-msg.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPermPhoneMsg extends React.Component { } diff --git a/types/react-icons/lib/md/perm-scan-wifi.d.ts b/types/react-icons/lib/md/perm-scan-wifi.d.ts new file mode 100644 index 0000000000..20bb1186e4 --- /dev/null +++ b/types/react-icons/lib/md/perm-scan-wifi.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPermScanWifi extends React.Component { } diff --git a/types/react-icons/lib/md/person-add.d.ts b/types/react-icons/lib/md/person-add.d.ts new file mode 100644 index 0000000000..12887556b7 --- /dev/null +++ b/types/react-icons/lib/md/person-add.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPersonAdd extends React.Component { } diff --git a/types/react-icons/lib/md/person-outline.d.ts b/types/react-icons/lib/md/person-outline.d.ts new file mode 100644 index 0000000000..fe49015f3f --- /dev/null +++ b/types/react-icons/lib/md/person-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPersonOutline extends React.Component { } diff --git a/types/react-icons/lib/md/person-pin-circle.d.ts b/types/react-icons/lib/md/person-pin-circle.d.ts new file mode 100644 index 0000000000..a26c822211 --- /dev/null +++ b/types/react-icons/lib/md/person-pin-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPersonPinCircle extends React.Component { } diff --git a/types/react-icons/lib/md/person-pin.d.ts b/types/react-icons/lib/md/person-pin.d.ts new file mode 100644 index 0000000000..ab1aa735eb --- /dev/null +++ b/types/react-icons/lib/md/person-pin.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPersonPin extends React.Component { } diff --git a/types/react-icons/lib/md/person.d.ts b/types/react-icons/lib/md/person.d.ts new file mode 100644 index 0000000000..bcae2bbac8 --- /dev/null +++ b/types/react-icons/lib/md/person.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPerson extends React.Component { } diff --git a/types/react-icons/lib/md/personal-video.d.ts b/types/react-icons/lib/md/personal-video.d.ts new file mode 100644 index 0000000000..0fece81d04 --- /dev/null +++ b/types/react-icons/lib/md/personal-video.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPersonalVideo extends React.Component { } diff --git a/types/react-icons/lib/md/pets.d.ts b/types/react-icons/lib/md/pets.d.ts new file mode 100644 index 0000000000..94bc0005e8 --- /dev/null +++ b/types/react-icons/lib/md/pets.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPets extends React.Component { } diff --git a/types/react-icons/lib/md/phone-android.d.ts b/types/react-icons/lib/md/phone-android.d.ts new file mode 100644 index 0000000000..aa43921b51 --- /dev/null +++ b/types/react-icons/lib/md/phone-android.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhoneAndroid extends React.Component { } diff --git a/types/react-icons/lib/md/phone-bluetooth-speaker.d.ts b/types/react-icons/lib/md/phone-bluetooth-speaker.d.ts new file mode 100644 index 0000000000..08e2cd6791 --- /dev/null +++ b/types/react-icons/lib/md/phone-bluetooth-speaker.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhoneBluetoothSpeaker extends React.Component { } diff --git a/types/react-icons/lib/md/phone-forwarded.d.ts b/types/react-icons/lib/md/phone-forwarded.d.ts new file mode 100644 index 0000000000..8363d7e3ec --- /dev/null +++ b/types/react-icons/lib/md/phone-forwarded.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhoneForwarded extends React.Component { } diff --git a/types/react-icons/lib/md/phone-in-talk.d.ts b/types/react-icons/lib/md/phone-in-talk.d.ts new file mode 100644 index 0000000000..430f87b4e4 --- /dev/null +++ b/types/react-icons/lib/md/phone-in-talk.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhoneInTalk extends React.Component { } diff --git a/types/react-icons/lib/md/phone-iphone.d.ts b/types/react-icons/lib/md/phone-iphone.d.ts new file mode 100644 index 0000000000..8704ae8ad4 --- /dev/null +++ b/types/react-icons/lib/md/phone-iphone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhoneIphone extends React.Component { } diff --git a/types/react-icons/lib/md/phone-locked.d.ts b/types/react-icons/lib/md/phone-locked.d.ts new file mode 100644 index 0000000000..68ca6e9376 --- /dev/null +++ b/types/react-icons/lib/md/phone-locked.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhoneLocked extends React.Component { } diff --git a/types/react-icons/lib/md/phone-missed.d.ts b/types/react-icons/lib/md/phone-missed.d.ts new file mode 100644 index 0000000000..91b97ca8e9 --- /dev/null +++ b/types/react-icons/lib/md/phone-missed.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhoneMissed extends React.Component { } diff --git a/types/react-icons/lib/md/phone-paused.d.ts b/types/react-icons/lib/md/phone-paused.d.ts new file mode 100644 index 0000000000..ba3f998fd8 --- /dev/null +++ b/types/react-icons/lib/md/phone-paused.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhonePaused extends React.Component { } diff --git a/types/react-icons/lib/md/phone.d.ts b/types/react-icons/lib/md/phone.d.ts new file mode 100644 index 0000000000..6318cdc39d --- /dev/null +++ b/types/react-icons/lib/md/phone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhone extends React.Component { } diff --git a/types/react-icons/lib/md/phonelink-erase.d.ts b/types/react-icons/lib/md/phonelink-erase.d.ts new file mode 100644 index 0000000000..b0cbec1c39 --- /dev/null +++ b/types/react-icons/lib/md/phonelink-erase.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhonelinkErase extends React.Component { } diff --git a/types/react-icons/lib/md/phonelink-lock.d.ts b/types/react-icons/lib/md/phonelink-lock.d.ts new file mode 100644 index 0000000000..5bb479ddc0 --- /dev/null +++ b/types/react-icons/lib/md/phonelink-lock.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhonelinkLock extends React.Component { } diff --git a/types/react-icons/lib/md/phonelink-off.d.ts b/types/react-icons/lib/md/phonelink-off.d.ts new file mode 100644 index 0000000000..ec245ecd6f --- /dev/null +++ b/types/react-icons/lib/md/phonelink-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhonelinkOff extends React.Component { } diff --git a/types/react-icons/lib/md/phonelink-ring.d.ts b/types/react-icons/lib/md/phonelink-ring.d.ts new file mode 100644 index 0000000000..f14d93a479 --- /dev/null +++ b/types/react-icons/lib/md/phonelink-ring.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhonelinkRing extends React.Component { } diff --git a/types/react-icons/lib/md/phonelink-setup.d.ts b/types/react-icons/lib/md/phonelink-setup.d.ts new file mode 100644 index 0000000000..dd21188bb5 --- /dev/null +++ b/types/react-icons/lib/md/phonelink-setup.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhonelinkSetup extends React.Component { } diff --git a/types/react-icons/lib/md/phonelink.d.ts b/types/react-icons/lib/md/phonelink.d.ts new file mode 100644 index 0000000000..6aa5af39d7 --- /dev/null +++ b/types/react-icons/lib/md/phonelink.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhonelink extends React.Component { } diff --git a/types/react-icons/lib/md/photo-album.d.ts b/types/react-icons/lib/md/photo-album.d.ts new file mode 100644 index 0000000000..116f8b1ff6 --- /dev/null +++ b/types/react-icons/lib/md/photo-album.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhotoAlbum extends React.Component { } diff --git a/types/react-icons/lib/md/photo-camera.d.ts b/types/react-icons/lib/md/photo-camera.d.ts new file mode 100644 index 0000000000..9ca8814377 --- /dev/null +++ b/types/react-icons/lib/md/photo-camera.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhotoCamera extends React.Component { } diff --git a/types/react-icons/lib/md/photo-filter.d.ts b/types/react-icons/lib/md/photo-filter.d.ts new file mode 100644 index 0000000000..e2b37a4b91 --- /dev/null +++ b/types/react-icons/lib/md/photo-filter.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhotoFilter extends React.Component { } diff --git a/types/react-icons/lib/md/photo-library.d.ts b/types/react-icons/lib/md/photo-library.d.ts new file mode 100644 index 0000000000..3ec4c29cac --- /dev/null +++ b/types/react-icons/lib/md/photo-library.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhotoLibrary extends React.Component { } diff --git a/types/react-icons/lib/md/photo-size-select-actual.d.ts b/types/react-icons/lib/md/photo-size-select-actual.d.ts new file mode 100644 index 0000000000..15e1777cf0 --- /dev/null +++ b/types/react-icons/lib/md/photo-size-select-actual.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhotoSizeSelectActual extends React.Component { } diff --git a/types/react-icons/lib/md/photo-size-select-large.d.ts b/types/react-icons/lib/md/photo-size-select-large.d.ts new file mode 100644 index 0000000000..56025586af --- /dev/null +++ b/types/react-icons/lib/md/photo-size-select-large.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhotoSizeSelectLarge extends React.Component { } diff --git a/types/react-icons/lib/md/photo-size-select-small.d.ts b/types/react-icons/lib/md/photo-size-select-small.d.ts new file mode 100644 index 0000000000..f1a2547ff6 --- /dev/null +++ b/types/react-icons/lib/md/photo-size-select-small.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhotoSizeSelectSmall extends React.Component { } diff --git a/types/react-icons/lib/md/photo.d.ts b/types/react-icons/lib/md/photo.d.ts new file mode 100644 index 0000000000..3af5e8d6b9 --- /dev/null +++ b/types/react-icons/lib/md/photo.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPhoto extends React.Component { } diff --git a/types/react-icons/lib/md/picture-as-pdf.d.ts b/types/react-icons/lib/md/picture-as-pdf.d.ts new file mode 100644 index 0000000000..06fd1dfb31 --- /dev/null +++ b/types/react-icons/lib/md/picture-as-pdf.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPictureAsPdf extends React.Component { } diff --git a/types/react-icons/lib/md/picture-in-picture-alt.d.ts b/types/react-icons/lib/md/picture-in-picture-alt.d.ts new file mode 100644 index 0000000000..41a6b03404 --- /dev/null +++ b/types/react-icons/lib/md/picture-in-picture-alt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPictureInPictureAlt extends React.Component { } diff --git a/types/react-icons/lib/md/picture-in-picture.d.ts b/types/react-icons/lib/md/picture-in-picture.d.ts new file mode 100644 index 0000000000..e174bddfd7 --- /dev/null +++ b/types/react-icons/lib/md/picture-in-picture.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPictureInPicture extends React.Component { } diff --git a/types/react-icons/lib/md/pie-chart-outlined.d.ts b/types/react-icons/lib/md/pie-chart-outlined.d.ts new file mode 100644 index 0000000000..8fdaa68aee --- /dev/null +++ b/types/react-icons/lib/md/pie-chart-outlined.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPieChartOutlined extends React.Component { } diff --git a/types/react-icons/lib/md/pie-chart.d.ts b/types/react-icons/lib/md/pie-chart.d.ts new file mode 100644 index 0000000000..bf0203c4d9 --- /dev/null +++ b/types/react-icons/lib/md/pie-chart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPieChart extends React.Component { } diff --git a/types/react-icons/lib/md/pin-drop.d.ts b/types/react-icons/lib/md/pin-drop.d.ts new file mode 100644 index 0000000000..b1511912aa --- /dev/null +++ b/types/react-icons/lib/md/pin-drop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPinDrop extends React.Component { } diff --git a/types/react-icons/lib/md/place.d.ts b/types/react-icons/lib/md/place.d.ts new file mode 100644 index 0000000000..6e7bc9f83d --- /dev/null +++ b/types/react-icons/lib/md/place.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPlace extends React.Component { } diff --git a/types/react-icons/lib/md/play-arrow.d.ts b/types/react-icons/lib/md/play-arrow.d.ts new file mode 100644 index 0000000000..34eeedbfc9 --- /dev/null +++ b/types/react-icons/lib/md/play-arrow.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPlayArrow extends React.Component { } diff --git a/types/react-icons/lib/md/play-circle-filled.d.ts b/types/react-icons/lib/md/play-circle-filled.d.ts new file mode 100644 index 0000000000..a952747a1f --- /dev/null +++ b/types/react-icons/lib/md/play-circle-filled.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPlayCircleFilled extends React.Component { } diff --git a/types/react-icons/lib/md/play-circle-outline.d.ts b/types/react-icons/lib/md/play-circle-outline.d.ts new file mode 100644 index 0000000000..e75083c2f3 --- /dev/null +++ b/types/react-icons/lib/md/play-circle-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPlayCircleOutline extends React.Component { } diff --git a/types/react-icons/lib/md/play-for-work.d.ts b/types/react-icons/lib/md/play-for-work.d.ts new file mode 100644 index 0000000000..4bb94a94b0 --- /dev/null +++ b/types/react-icons/lib/md/play-for-work.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPlayForWork extends React.Component { } diff --git a/types/react-icons/lib/md/playlist-add-check.d.ts b/types/react-icons/lib/md/playlist-add-check.d.ts new file mode 100644 index 0000000000..6b71a3b8c0 --- /dev/null +++ b/types/react-icons/lib/md/playlist-add-check.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPlaylistAddCheck extends React.Component { } diff --git a/types/react-icons/lib/md/playlist-add.d.ts b/types/react-icons/lib/md/playlist-add.d.ts new file mode 100644 index 0000000000..6cd4bf46e6 --- /dev/null +++ b/types/react-icons/lib/md/playlist-add.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPlaylistAdd extends React.Component { } diff --git a/types/react-icons/lib/md/playlist-play.d.ts b/types/react-icons/lib/md/playlist-play.d.ts new file mode 100644 index 0000000000..1bbf520f44 --- /dev/null +++ b/types/react-icons/lib/md/playlist-play.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPlaylistPlay extends React.Component { } diff --git a/types/react-icons/lib/md/plus-one.d.ts b/types/react-icons/lib/md/plus-one.d.ts new file mode 100644 index 0000000000..1237985ba5 --- /dev/null +++ b/types/react-icons/lib/md/plus-one.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPlusOne extends React.Component { } diff --git a/types/react-icons/lib/md/poll.d.ts b/types/react-icons/lib/md/poll.d.ts new file mode 100644 index 0000000000..e0d456a28a --- /dev/null +++ b/types/react-icons/lib/md/poll.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPoll extends React.Component { } diff --git a/types/react-icons/lib/md/polymer.d.ts b/types/react-icons/lib/md/polymer.d.ts new file mode 100644 index 0000000000..6ff9e004b4 --- /dev/null +++ b/types/react-icons/lib/md/polymer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPolymer extends React.Component { } diff --git a/types/react-icons/lib/md/pool.d.ts b/types/react-icons/lib/md/pool.d.ts new file mode 100644 index 0000000000..933c4f1448 --- /dev/null +++ b/types/react-icons/lib/md/pool.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPool extends React.Component { } diff --git a/types/react-icons/lib/md/portable-wifi-off.d.ts b/types/react-icons/lib/md/portable-wifi-off.d.ts new file mode 100644 index 0000000000..b3bdd30ff8 --- /dev/null +++ b/types/react-icons/lib/md/portable-wifi-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPortableWifiOff extends React.Component { } diff --git a/types/react-icons/lib/md/portrait.d.ts b/types/react-icons/lib/md/portrait.d.ts new file mode 100644 index 0000000000..1e9b2f717e --- /dev/null +++ b/types/react-icons/lib/md/portrait.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPortrait extends React.Component { } diff --git a/types/react-icons/lib/md/power-input.d.ts b/types/react-icons/lib/md/power-input.d.ts new file mode 100644 index 0000000000..71f89e9e40 --- /dev/null +++ b/types/react-icons/lib/md/power-input.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPowerInput extends React.Component { } diff --git a/types/react-icons/lib/md/power-settings-new.d.ts b/types/react-icons/lib/md/power-settings-new.d.ts new file mode 100644 index 0000000000..69221c9111 --- /dev/null +++ b/types/react-icons/lib/md/power-settings-new.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPowerSettingsNew extends React.Component { } diff --git a/types/react-icons/lib/md/power.d.ts b/types/react-icons/lib/md/power.d.ts new file mode 100644 index 0000000000..106471c2a5 --- /dev/null +++ b/types/react-icons/lib/md/power.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPower extends React.Component { } diff --git a/types/react-icons/lib/md/pregnant-woman.d.ts b/types/react-icons/lib/md/pregnant-woman.d.ts new file mode 100644 index 0000000000..9e88eab156 --- /dev/null +++ b/types/react-icons/lib/md/pregnant-woman.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPregnantWoman extends React.Component { } diff --git a/types/react-icons/lib/md/present-to-all.d.ts b/types/react-icons/lib/md/present-to-all.d.ts new file mode 100644 index 0000000000..b88c9a45d2 --- /dev/null +++ b/types/react-icons/lib/md/present-to-all.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPresentToAll extends React.Component { } diff --git a/types/react-icons/lib/md/print.d.ts b/types/react-icons/lib/md/print.d.ts new file mode 100644 index 0000000000..74d6db2f37 --- /dev/null +++ b/types/react-icons/lib/md/print.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPrint extends React.Component { } diff --git a/types/react-icons/lib/md/priority-high.d.ts b/types/react-icons/lib/md/priority-high.d.ts new file mode 100644 index 0000000000..56c1354dae --- /dev/null +++ b/types/react-icons/lib/md/priority-high.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPriorityHigh extends React.Component { } diff --git a/types/react-icons/lib/md/public.d.ts b/types/react-icons/lib/md/public.d.ts new file mode 100644 index 0000000000..1615661bab --- /dev/null +++ b/types/react-icons/lib/md/public.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPublic extends React.Component { } diff --git a/types/react-icons/lib/md/publish.d.ts b/types/react-icons/lib/md/publish.d.ts new file mode 100644 index 0000000000..76aae7f48b --- /dev/null +++ b/types/react-icons/lib/md/publish.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdPublish extends React.Component { } diff --git a/types/react-icons/lib/md/query-builder.d.ts b/types/react-icons/lib/md/query-builder.d.ts new file mode 100644 index 0000000000..3607cbf408 --- /dev/null +++ b/types/react-icons/lib/md/query-builder.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdQueryBuilder extends React.Component { } diff --git a/types/react-icons/lib/md/question-answer.d.ts b/types/react-icons/lib/md/question-answer.d.ts new file mode 100644 index 0000000000..b88cd376d0 --- /dev/null +++ b/types/react-icons/lib/md/question-answer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdQuestionAnswer extends React.Component { } diff --git a/types/react-icons/lib/md/queue-music.d.ts b/types/react-icons/lib/md/queue-music.d.ts new file mode 100644 index 0000000000..0a9a451291 --- /dev/null +++ b/types/react-icons/lib/md/queue-music.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdQueueMusic extends React.Component { } diff --git a/types/react-icons/lib/md/queue-play-next.d.ts b/types/react-icons/lib/md/queue-play-next.d.ts new file mode 100644 index 0000000000..4540a71df0 --- /dev/null +++ b/types/react-icons/lib/md/queue-play-next.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdQueuePlayNext extends React.Component { } diff --git a/types/react-icons/lib/md/queue.d.ts b/types/react-icons/lib/md/queue.d.ts new file mode 100644 index 0000000000..80b27a7f8a --- /dev/null +++ b/types/react-icons/lib/md/queue.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdQueue extends React.Component { } diff --git a/types/react-icons/lib/md/radio-button-checked.d.ts b/types/react-icons/lib/md/radio-button-checked.d.ts new file mode 100644 index 0000000000..dfa06080e6 --- /dev/null +++ b/types/react-icons/lib/md/radio-button-checked.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRadioButtonChecked extends React.Component { } diff --git a/types/react-icons/lib/md/radio-button-unchecked.d.ts b/types/react-icons/lib/md/radio-button-unchecked.d.ts new file mode 100644 index 0000000000..b154b71305 --- /dev/null +++ b/types/react-icons/lib/md/radio-button-unchecked.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRadioButtonUnchecked extends React.Component { } diff --git a/types/react-icons/lib/md/radio.d.ts b/types/react-icons/lib/md/radio.d.ts new file mode 100644 index 0000000000..bd53fd4f03 --- /dev/null +++ b/types/react-icons/lib/md/radio.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRadio extends React.Component { } diff --git a/types/react-icons/lib/md/rate-review.d.ts b/types/react-icons/lib/md/rate-review.d.ts new file mode 100644 index 0000000000..6de3f28785 --- /dev/null +++ b/types/react-icons/lib/md/rate-review.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRateReview extends React.Component { } diff --git a/types/react-icons/lib/md/receipt.d.ts b/types/react-icons/lib/md/receipt.d.ts new file mode 100644 index 0000000000..1b781c04c7 --- /dev/null +++ b/types/react-icons/lib/md/receipt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdReceipt extends React.Component { } diff --git a/types/react-icons/lib/md/recent-actors.d.ts b/types/react-icons/lib/md/recent-actors.d.ts new file mode 100644 index 0000000000..cfcf0432b5 --- /dev/null +++ b/types/react-icons/lib/md/recent-actors.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRecentActors extends React.Component { } diff --git a/types/react-icons/lib/md/record-voice-over.d.ts b/types/react-icons/lib/md/record-voice-over.d.ts new file mode 100644 index 0000000000..ab9b2189b8 --- /dev/null +++ b/types/react-icons/lib/md/record-voice-over.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRecordVoiceOver extends React.Component { } diff --git a/types/react-icons/lib/md/redeem.d.ts b/types/react-icons/lib/md/redeem.d.ts new file mode 100644 index 0000000000..7690d10236 --- /dev/null +++ b/types/react-icons/lib/md/redeem.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRedeem extends React.Component { } diff --git a/types/react-icons/lib/md/redo.d.ts b/types/react-icons/lib/md/redo.d.ts new file mode 100644 index 0000000000..3e0e1fac51 --- /dev/null +++ b/types/react-icons/lib/md/redo.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRedo extends React.Component { } diff --git a/types/react-icons/lib/md/refresh.d.ts b/types/react-icons/lib/md/refresh.d.ts new file mode 100644 index 0000000000..f037c2a972 --- /dev/null +++ b/types/react-icons/lib/md/refresh.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRefresh extends React.Component { } diff --git a/types/react-icons/lib/md/remove-circle-outline.d.ts b/types/react-icons/lib/md/remove-circle-outline.d.ts new file mode 100644 index 0000000000..3488b16e2a --- /dev/null +++ b/types/react-icons/lib/md/remove-circle-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRemoveCircleOutline extends React.Component { } diff --git a/types/react-icons/lib/md/remove-circle.d.ts b/types/react-icons/lib/md/remove-circle.d.ts new file mode 100644 index 0000000000..77d8b1db6c --- /dev/null +++ b/types/react-icons/lib/md/remove-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRemoveCircle extends React.Component { } diff --git a/types/react-icons/lib/md/remove-from-queue.d.ts b/types/react-icons/lib/md/remove-from-queue.d.ts new file mode 100644 index 0000000000..05299a588f --- /dev/null +++ b/types/react-icons/lib/md/remove-from-queue.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRemoveFromQueue extends React.Component { } diff --git a/types/react-icons/lib/md/remove-red-eye.d.ts b/types/react-icons/lib/md/remove-red-eye.d.ts new file mode 100644 index 0000000000..8f839358ba --- /dev/null +++ b/types/react-icons/lib/md/remove-red-eye.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRemoveRedEye extends React.Component { } diff --git a/types/react-icons/lib/md/remove-shopping-cart.d.ts b/types/react-icons/lib/md/remove-shopping-cart.d.ts new file mode 100644 index 0000000000..2715486aea --- /dev/null +++ b/types/react-icons/lib/md/remove-shopping-cart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRemoveShoppingCart extends React.Component { } diff --git a/types/react-icons/lib/md/remove.d.ts b/types/react-icons/lib/md/remove.d.ts new file mode 100644 index 0000000000..9522f25fe9 --- /dev/null +++ b/types/react-icons/lib/md/remove.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRemove extends React.Component { } diff --git a/types/react-icons/lib/md/reorder.d.ts b/types/react-icons/lib/md/reorder.d.ts new file mode 100644 index 0000000000..9f24bc5ed5 --- /dev/null +++ b/types/react-icons/lib/md/reorder.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdReorder extends React.Component { } diff --git a/types/react-icons/lib/md/repeat-one.d.ts b/types/react-icons/lib/md/repeat-one.d.ts new file mode 100644 index 0000000000..74a3642bf5 --- /dev/null +++ b/types/react-icons/lib/md/repeat-one.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRepeatOne extends React.Component { } diff --git a/types/react-icons/lib/md/repeat.d.ts b/types/react-icons/lib/md/repeat.d.ts new file mode 100644 index 0000000000..e1d7352ab9 --- /dev/null +++ b/types/react-icons/lib/md/repeat.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRepeat extends React.Component { } diff --git a/types/react-icons/lib/md/replay-10.d.ts b/types/react-icons/lib/md/replay-10.d.ts new file mode 100644 index 0000000000..3d9f3ef0c4 --- /dev/null +++ b/types/react-icons/lib/md/replay-10.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdReplay10 extends React.Component { } diff --git a/types/react-icons/lib/md/replay-30.d.ts b/types/react-icons/lib/md/replay-30.d.ts new file mode 100644 index 0000000000..402af551ba --- /dev/null +++ b/types/react-icons/lib/md/replay-30.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdReplay30 extends React.Component { } diff --git a/types/react-icons/lib/md/replay-5.d.ts b/types/react-icons/lib/md/replay-5.d.ts new file mode 100644 index 0000000000..78905ba50c --- /dev/null +++ b/types/react-icons/lib/md/replay-5.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdReplay5 extends React.Component { } diff --git a/types/react-icons/lib/md/replay.d.ts b/types/react-icons/lib/md/replay.d.ts new file mode 100644 index 0000000000..47d8592a3d --- /dev/null +++ b/types/react-icons/lib/md/replay.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdReplay extends React.Component { } diff --git a/types/react-icons/lib/md/reply-all.d.ts b/types/react-icons/lib/md/reply-all.d.ts new file mode 100644 index 0000000000..07aa5f01f2 --- /dev/null +++ b/types/react-icons/lib/md/reply-all.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdReplyAll extends React.Component { } diff --git a/types/react-icons/lib/md/reply.d.ts b/types/react-icons/lib/md/reply.d.ts new file mode 100644 index 0000000000..648de11ef1 --- /dev/null +++ b/types/react-icons/lib/md/reply.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdReply extends React.Component { } diff --git a/types/react-icons/lib/md/report-problem.d.ts b/types/react-icons/lib/md/report-problem.d.ts new file mode 100644 index 0000000000..c3dbf0101a --- /dev/null +++ b/types/react-icons/lib/md/report-problem.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdReportProblem extends React.Component { } diff --git a/types/react-icons/lib/md/report.d.ts b/types/react-icons/lib/md/report.d.ts new file mode 100644 index 0000000000..af51419c00 --- /dev/null +++ b/types/react-icons/lib/md/report.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdReport extends React.Component { } diff --git a/types/react-icons/lib/md/restaurant-menu.d.ts b/types/react-icons/lib/md/restaurant-menu.d.ts new file mode 100644 index 0000000000..306891c857 --- /dev/null +++ b/types/react-icons/lib/md/restaurant-menu.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRestaurantMenu extends React.Component { } diff --git a/types/react-icons/lib/md/restaurant.d.ts b/types/react-icons/lib/md/restaurant.d.ts new file mode 100644 index 0000000000..5adc8e8712 --- /dev/null +++ b/types/react-icons/lib/md/restaurant.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRestaurant extends React.Component { } diff --git a/types/react-icons/lib/md/restore-page.d.ts b/types/react-icons/lib/md/restore-page.d.ts new file mode 100644 index 0000000000..d836b1f669 --- /dev/null +++ b/types/react-icons/lib/md/restore-page.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRestorePage extends React.Component { } diff --git a/types/react-icons/lib/md/restore.d.ts b/types/react-icons/lib/md/restore.d.ts new file mode 100644 index 0000000000..aaadca1e08 --- /dev/null +++ b/types/react-icons/lib/md/restore.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRestore extends React.Component { } diff --git a/types/react-icons/lib/md/ring-volume.d.ts b/types/react-icons/lib/md/ring-volume.d.ts new file mode 100644 index 0000000000..41843c29bd --- /dev/null +++ b/types/react-icons/lib/md/ring-volume.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRingVolume extends React.Component { } diff --git a/types/react-icons/lib/md/room-service.d.ts b/types/react-icons/lib/md/room-service.d.ts new file mode 100644 index 0000000000..4b69032332 --- /dev/null +++ b/types/react-icons/lib/md/room-service.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRoomService extends React.Component { } diff --git a/types/react-icons/lib/md/room.d.ts b/types/react-icons/lib/md/room.d.ts new file mode 100644 index 0000000000..49ab4cae8d --- /dev/null +++ b/types/react-icons/lib/md/room.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRoom extends React.Component { } diff --git a/types/react-icons/lib/md/rotate-90-degrees-ccw.d.ts b/types/react-icons/lib/md/rotate-90-degrees-ccw.d.ts new file mode 100644 index 0000000000..ba2f85b1e2 --- /dev/null +++ b/types/react-icons/lib/md/rotate-90-degrees-ccw.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRotate90DegreesCcw extends React.Component { } diff --git a/types/react-icons/lib/md/rotate-left.d.ts b/types/react-icons/lib/md/rotate-left.d.ts new file mode 100644 index 0000000000..493c21cd47 --- /dev/null +++ b/types/react-icons/lib/md/rotate-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRotateLeft extends React.Component { } diff --git a/types/react-icons/lib/md/rotate-right.d.ts b/types/react-icons/lib/md/rotate-right.d.ts new file mode 100644 index 0000000000..936625527b --- /dev/null +++ b/types/react-icons/lib/md/rotate-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRotateRight extends React.Component { } diff --git a/types/react-icons/lib/md/rounded-corner.d.ts b/types/react-icons/lib/md/rounded-corner.d.ts new file mode 100644 index 0000000000..592818db46 --- /dev/null +++ b/types/react-icons/lib/md/rounded-corner.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRoundedCorner extends React.Component { } diff --git a/types/react-icons/lib/md/router.d.ts b/types/react-icons/lib/md/router.d.ts new file mode 100644 index 0000000000..71effffe25 --- /dev/null +++ b/types/react-icons/lib/md/router.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRouter extends React.Component { } diff --git a/types/react-icons/lib/md/rowing.d.ts b/types/react-icons/lib/md/rowing.d.ts new file mode 100644 index 0000000000..66d50957df --- /dev/null +++ b/types/react-icons/lib/md/rowing.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRowing extends React.Component { } diff --git a/types/react-icons/lib/md/rss-feed.d.ts b/types/react-icons/lib/md/rss-feed.d.ts new file mode 100644 index 0000000000..857453af7d --- /dev/null +++ b/types/react-icons/lib/md/rss-feed.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRssFeed extends React.Component { } diff --git a/types/react-icons/lib/md/rv-hookup.d.ts b/types/react-icons/lib/md/rv-hookup.d.ts new file mode 100644 index 0000000000..6b3f6b3a67 --- /dev/null +++ b/types/react-icons/lib/md/rv-hookup.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdRvHookup extends React.Component { } diff --git a/types/react-icons/lib/md/satellite.d.ts b/types/react-icons/lib/md/satellite.d.ts new file mode 100644 index 0000000000..1371e50a1d --- /dev/null +++ b/types/react-icons/lib/md/satellite.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSatellite extends React.Component { } diff --git a/types/react-icons/lib/md/save.d.ts b/types/react-icons/lib/md/save.d.ts new file mode 100644 index 0000000000..f3aa747a5a --- /dev/null +++ b/types/react-icons/lib/md/save.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSave extends React.Component { } diff --git a/types/react-icons/lib/md/scanner.d.ts b/types/react-icons/lib/md/scanner.d.ts new file mode 100644 index 0000000000..db18a8c57b --- /dev/null +++ b/types/react-icons/lib/md/scanner.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdScanner extends React.Component { } diff --git a/types/react-icons/lib/md/schedule.d.ts b/types/react-icons/lib/md/schedule.d.ts new file mode 100644 index 0000000000..e85dac4d66 --- /dev/null +++ b/types/react-icons/lib/md/schedule.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSchedule extends React.Component { } diff --git a/types/react-icons/lib/md/school.d.ts b/types/react-icons/lib/md/school.d.ts new file mode 100644 index 0000000000..ec9ad586c7 --- /dev/null +++ b/types/react-icons/lib/md/school.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSchool extends React.Component { } diff --git a/types/react-icons/lib/md/screen-lock-landscape.d.ts b/types/react-icons/lib/md/screen-lock-landscape.d.ts new file mode 100644 index 0000000000..8bd82ab85e --- /dev/null +++ b/types/react-icons/lib/md/screen-lock-landscape.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdScreenLockLandscape extends React.Component { } diff --git a/types/react-icons/lib/md/screen-lock-portrait.d.ts b/types/react-icons/lib/md/screen-lock-portrait.d.ts new file mode 100644 index 0000000000..4439deda82 --- /dev/null +++ b/types/react-icons/lib/md/screen-lock-portrait.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdScreenLockPortrait extends React.Component { } diff --git a/types/react-icons/lib/md/screen-lock-rotation.d.ts b/types/react-icons/lib/md/screen-lock-rotation.d.ts new file mode 100644 index 0000000000..7edd36c10d --- /dev/null +++ b/types/react-icons/lib/md/screen-lock-rotation.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdScreenLockRotation extends React.Component { } diff --git a/types/react-icons/lib/md/screen-rotation.d.ts b/types/react-icons/lib/md/screen-rotation.d.ts new file mode 100644 index 0000000000..ac2cd107e2 --- /dev/null +++ b/types/react-icons/lib/md/screen-rotation.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdScreenRotation extends React.Component { } diff --git a/types/react-icons/lib/md/screen-share.d.ts b/types/react-icons/lib/md/screen-share.d.ts new file mode 100644 index 0000000000..1c6e5f8f3f --- /dev/null +++ b/types/react-icons/lib/md/screen-share.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdScreenShare extends React.Component { } diff --git a/types/react-icons/lib/md/sd-card.d.ts b/types/react-icons/lib/md/sd-card.d.ts new file mode 100644 index 0000000000..fbf66bc8ae --- /dev/null +++ b/types/react-icons/lib/md/sd-card.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSdCard extends React.Component { } diff --git a/types/react-icons/lib/md/sd-storage.d.ts b/types/react-icons/lib/md/sd-storage.d.ts new file mode 100644 index 0000000000..645f26b009 --- /dev/null +++ b/types/react-icons/lib/md/sd-storage.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSdStorage extends React.Component { } diff --git a/types/react-icons/lib/md/search.d.ts b/types/react-icons/lib/md/search.d.ts new file mode 100644 index 0000000000..4c4f7aafeb --- /dev/null +++ b/types/react-icons/lib/md/search.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSearch extends React.Component { } diff --git a/types/react-icons/lib/md/security.d.ts b/types/react-icons/lib/md/security.d.ts new file mode 100644 index 0000000000..ffeffbbfeb --- /dev/null +++ b/types/react-icons/lib/md/security.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSecurity extends React.Component { } diff --git a/types/react-icons/lib/md/select-all.d.ts b/types/react-icons/lib/md/select-all.d.ts new file mode 100644 index 0000000000..e8d8ba116a --- /dev/null +++ b/types/react-icons/lib/md/select-all.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSelectAll extends React.Component { } diff --git a/types/react-icons/lib/md/send.d.ts b/types/react-icons/lib/md/send.d.ts new file mode 100644 index 0000000000..a643cfddfa --- /dev/null +++ b/types/react-icons/lib/md/send.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSend extends React.Component { } diff --git a/types/react-icons/lib/md/sentiment-dissatisfied.d.ts b/types/react-icons/lib/md/sentiment-dissatisfied.d.ts new file mode 100644 index 0000000000..e5e989d5ad --- /dev/null +++ b/types/react-icons/lib/md/sentiment-dissatisfied.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSentimentDissatisfied extends React.Component { } diff --git a/types/react-icons/lib/md/sentiment-neutral.d.ts b/types/react-icons/lib/md/sentiment-neutral.d.ts new file mode 100644 index 0000000000..ea95a02aea --- /dev/null +++ b/types/react-icons/lib/md/sentiment-neutral.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSentimentNeutral extends React.Component { } diff --git a/types/react-icons/lib/md/sentiment-satisfied.d.ts b/types/react-icons/lib/md/sentiment-satisfied.d.ts new file mode 100644 index 0000000000..ff9ba41c7e --- /dev/null +++ b/types/react-icons/lib/md/sentiment-satisfied.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSentimentSatisfied extends React.Component { } diff --git a/types/react-icons/lib/md/sentiment-very-dissatisfied.d.ts b/types/react-icons/lib/md/sentiment-very-dissatisfied.d.ts new file mode 100644 index 0000000000..9e26b053fc --- /dev/null +++ b/types/react-icons/lib/md/sentiment-very-dissatisfied.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSentimentVeryDissatisfied extends React.Component { } diff --git a/types/react-icons/lib/md/sentiment-very-satisfied.d.ts b/types/react-icons/lib/md/sentiment-very-satisfied.d.ts new file mode 100644 index 0000000000..570e358c3a --- /dev/null +++ b/types/react-icons/lib/md/sentiment-very-satisfied.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSentimentVerySatisfied extends React.Component { } diff --git a/types/react-icons/lib/md/settings-applications.d.ts b/types/react-icons/lib/md/settings-applications.d.ts new file mode 100644 index 0000000000..75223b6af8 --- /dev/null +++ b/types/react-icons/lib/md/settings-applications.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSettingsApplications extends React.Component { } diff --git a/types/react-icons/lib/md/settings-backup-restore.d.ts b/types/react-icons/lib/md/settings-backup-restore.d.ts new file mode 100644 index 0000000000..beeec5199f --- /dev/null +++ b/types/react-icons/lib/md/settings-backup-restore.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSettingsBackupRestore extends React.Component { } diff --git a/types/react-icons/lib/md/settings-bluetooth.d.ts b/types/react-icons/lib/md/settings-bluetooth.d.ts new file mode 100644 index 0000000000..0f295f3c78 --- /dev/null +++ b/types/react-icons/lib/md/settings-bluetooth.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSettingsBluetooth extends React.Component { } diff --git a/types/react-icons/lib/md/settings-brightness.d.ts b/types/react-icons/lib/md/settings-brightness.d.ts new file mode 100644 index 0000000000..41c1e8360f --- /dev/null +++ b/types/react-icons/lib/md/settings-brightness.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSettingsBrightness extends React.Component { } diff --git a/types/react-icons/lib/md/settings-cell.d.ts b/types/react-icons/lib/md/settings-cell.d.ts new file mode 100644 index 0000000000..620d7e1fe5 --- /dev/null +++ b/types/react-icons/lib/md/settings-cell.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSettingsCell extends React.Component { } diff --git a/types/react-icons/lib/md/settings-ethernet.d.ts b/types/react-icons/lib/md/settings-ethernet.d.ts new file mode 100644 index 0000000000..c610f8ec24 --- /dev/null +++ b/types/react-icons/lib/md/settings-ethernet.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSettingsEthernet extends React.Component { } diff --git a/types/react-icons/lib/md/settings-input-antenna.d.ts b/types/react-icons/lib/md/settings-input-antenna.d.ts new file mode 100644 index 0000000000..f19536a4cb --- /dev/null +++ b/types/react-icons/lib/md/settings-input-antenna.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSettingsInputAntenna extends React.Component { } diff --git a/types/react-icons/lib/md/settings-input-component.d.ts b/types/react-icons/lib/md/settings-input-component.d.ts new file mode 100644 index 0000000000..e1fe37ccdf --- /dev/null +++ b/types/react-icons/lib/md/settings-input-component.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSettingsInputComponent extends React.Component { } diff --git a/types/react-icons/lib/md/settings-input-composite.d.ts b/types/react-icons/lib/md/settings-input-composite.d.ts new file mode 100644 index 0000000000..266f9969fb --- /dev/null +++ b/types/react-icons/lib/md/settings-input-composite.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSettingsInputComposite extends React.Component { } diff --git a/types/react-icons/lib/md/settings-input-hdmi.d.ts b/types/react-icons/lib/md/settings-input-hdmi.d.ts new file mode 100644 index 0000000000..be910d9b17 --- /dev/null +++ b/types/react-icons/lib/md/settings-input-hdmi.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSettingsInputHdmi extends React.Component { } diff --git a/types/react-icons/lib/md/settings-input-svideo.d.ts b/types/react-icons/lib/md/settings-input-svideo.d.ts new file mode 100644 index 0000000000..d9254b4996 --- /dev/null +++ b/types/react-icons/lib/md/settings-input-svideo.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSettingsInputSvideo extends React.Component { } diff --git a/types/react-icons/lib/md/settings-overscan.d.ts b/types/react-icons/lib/md/settings-overscan.d.ts new file mode 100644 index 0000000000..c74ed6c60b --- /dev/null +++ b/types/react-icons/lib/md/settings-overscan.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSettingsOverscan extends React.Component { } diff --git a/types/react-icons/lib/md/settings-phone.d.ts b/types/react-icons/lib/md/settings-phone.d.ts new file mode 100644 index 0000000000..a24ed75c1a --- /dev/null +++ b/types/react-icons/lib/md/settings-phone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSettingsPhone extends React.Component { } diff --git a/types/react-icons/lib/md/settings-power.d.ts b/types/react-icons/lib/md/settings-power.d.ts new file mode 100644 index 0000000000..f93530a007 --- /dev/null +++ b/types/react-icons/lib/md/settings-power.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSettingsPower extends React.Component { } diff --git a/types/react-icons/lib/md/settings-remote.d.ts b/types/react-icons/lib/md/settings-remote.d.ts new file mode 100644 index 0000000000..19720afb98 --- /dev/null +++ b/types/react-icons/lib/md/settings-remote.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSettingsRemote extends React.Component { } diff --git a/types/react-icons/lib/md/settings-system-daydream.d.ts b/types/react-icons/lib/md/settings-system-daydream.d.ts new file mode 100644 index 0000000000..654c1666d7 --- /dev/null +++ b/types/react-icons/lib/md/settings-system-daydream.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSettingsSystemDaydream extends React.Component { } diff --git a/types/react-icons/lib/md/settings-voice.d.ts b/types/react-icons/lib/md/settings-voice.d.ts new file mode 100644 index 0000000000..2ca59f4b0b --- /dev/null +++ b/types/react-icons/lib/md/settings-voice.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSettingsVoice extends React.Component { } diff --git a/types/react-icons/lib/md/settings.d.ts b/types/react-icons/lib/md/settings.d.ts new file mode 100644 index 0000000000..2117b4be55 --- /dev/null +++ b/types/react-icons/lib/md/settings.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSettings extends React.Component { } diff --git a/types/react-icons/lib/md/share.d.ts b/types/react-icons/lib/md/share.d.ts new file mode 100644 index 0000000000..5a6639be86 --- /dev/null +++ b/types/react-icons/lib/md/share.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdShare extends React.Component { } diff --git a/types/react-icons/lib/md/shop-two.d.ts b/types/react-icons/lib/md/shop-two.d.ts new file mode 100644 index 0000000000..ffd2e40d8a --- /dev/null +++ b/types/react-icons/lib/md/shop-two.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdShopTwo extends React.Component { } diff --git a/types/react-icons/lib/md/shop.d.ts b/types/react-icons/lib/md/shop.d.ts new file mode 100644 index 0000000000..0247f8919e --- /dev/null +++ b/types/react-icons/lib/md/shop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdShop extends React.Component { } diff --git a/types/react-icons/lib/md/shopping-basket.d.ts b/types/react-icons/lib/md/shopping-basket.d.ts new file mode 100644 index 0000000000..ce58316185 --- /dev/null +++ b/types/react-icons/lib/md/shopping-basket.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdShoppingBasket extends React.Component { } diff --git a/types/react-icons/lib/md/shopping-cart.d.ts b/types/react-icons/lib/md/shopping-cart.d.ts new file mode 100644 index 0000000000..2980434fd6 --- /dev/null +++ b/types/react-icons/lib/md/shopping-cart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdShoppingCart extends React.Component { } diff --git a/types/react-icons/lib/md/short-text.d.ts b/types/react-icons/lib/md/short-text.d.ts new file mode 100644 index 0000000000..66c49133ba --- /dev/null +++ b/types/react-icons/lib/md/short-text.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdShortText extends React.Component { } diff --git a/types/react-icons/lib/md/show-chart.d.ts b/types/react-icons/lib/md/show-chart.d.ts new file mode 100644 index 0000000000..4fc9b77c9e --- /dev/null +++ b/types/react-icons/lib/md/show-chart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdShowChart extends React.Component { } diff --git a/types/react-icons/lib/md/shuffle.d.ts b/types/react-icons/lib/md/shuffle.d.ts new file mode 100644 index 0000000000..b20fd0302e --- /dev/null +++ b/types/react-icons/lib/md/shuffle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdShuffle extends React.Component { } diff --git a/types/react-icons/lib/md/signal-cellular-4-bar.d.ts b/types/react-icons/lib/md/signal-cellular-4-bar.d.ts new file mode 100644 index 0000000000..9961d076e8 --- /dev/null +++ b/types/react-icons/lib/md/signal-cellular-4-bar.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSignalCellular4Bar extends React.Component { } diff --git a/types/react-icons/lib/md/signal-cellular-connected-no-internet-4-bar.d.ts b/types/react-icons/lib/md/signal-cellular-connected-no-internet-4-bar.d.ts new file mode 100644 index 0000000000..35546b90db --- /dev/null +++ b/types/react-icons/lib/md/signal-cellular-connected-no-internet-4-bar.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSignalCellularConnectedNoInternet4Bar extends React.Component { } diff --git a/types/react-icons/lib/md/signal-cellular-no-sim.d.ts b/types/react-icons/lib/md/signal-cellular-no-sim.d.ts new file mode 100644 index 0000000000..37c952ef33 --- /dev/null +++ b/types/react-icons/lib/md/signal-cellular-no-sim.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSignalCellularNoSim extends React.Component { } diff --git a/types/react-icons/lib/md/signal-cellular-null.d.ts b/types/react-icons/lib/md/signal-cellular-null.d.ts new file mode 100644 index 0000000000..81c4801bac --- /dev/null +++ b/types/react-icons/lib/md/signal-cellular-null.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSignalCellularNull extends React.Component { } diff --git a/types/react-icons/lib/md/signal-cellular-off.d.ts b/types/react-icons/lib/md/signal-cellular-off.d.ts new file mode 100644 index 0000000000..71b723a036 --- /dev/null +++ b/types/react-icons/lib/md/signal-cellular-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSignalCellularOff extends React.Component { } diff --git a/types/react-icons/lib/md/signal-wifi-4-bar-lock.d.ts b/types/react-icons/lib/md/signal-wifi-4-bar-lock.d.ts new file mode 100644 index 0000000000..45689253f7 --- /dev/null +++ b/types/react-icons/lib/md/signal-wifi-4-bar-lock.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSignalWifi4BarLock extends React.Component { } diff --git a/types/react-icons/lib/md/signal-wifi-4-bar.d.ts b/types/react-icons/lib/md/signal-wifi-4-bar.d.ts new file mode 100644 index 0000000000..9b90b1dc00 --- /dev/null +++ b/types/react-icons/lib/md/signal-wifi-4-bar.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSignalWifi4Bar extends React.Component { } diff --git a/types/react-icons/lib/md/signal-wifi-off.d.ts b/types/react-icons/lib/md/signal-wifi-off.d.ts new file mode 100644 index 0000000000..62c5ceee3c --- /dev/null +++ b/types/react-icons/lib/md/signal-wifi-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSignalWifiOff extends React.Component { } diff --git a/types/react-icons/lib/md/sim-card-alert.d.ts b/types/react-icons/lib/md/sim-card-alert.d.ts new file mode 100644 index 0000000000..4060c4594e --- /dev/null +++ b/types/react-icons/lib/md/sim-card-alert.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSimCardAlert extends React.Component { } diff --git a/types/react-icons/lib/md/sim-card.d.ts b/types/react-icons/lib/md/sim-card.d.ts new file mode 100644 index 0000000000..da691e53ad --- /dev/null +++ b/types/react-icons/lib/md/sim-card.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSimCard extends React.Component { } diff --git a/types/react-icons/lib/md/skip-next.d.ts b/types/react-icons/lib/md/skip-next.d.ts new file mode 100644 index 0000000000..ecf5c1dc78 --- /dev/null +++ b/types/react-icons/lib/md/skip-next.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSkipNext extends React.Component { } diff --git a/types/react-icons/lib/md/skip-previous.d.ts b/types/react-icons/lib/md/skip-previous.d.ts new file mode 100644 index 0000000000..93b71643d7 --- /dev/null +++ b/types/react-icons/lib/md/skip-previous.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSkipPrevious extends React.Component { } diff --git a/types/react-icons/lib/md/slideshow.d.ts b/types/react-icons/lib/md/slideshow.d.ts new file mode 100644 index 0000000000..3604117de4 --- /dev/null +++ b/types/react-icons/lib/md/slideshow.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSlideshow extends React.Component { } diff --git a/types/react-icons/lib/md/slow-motion-video.d.ts b/types/react-icons/lib/md/slow-motion-video.d.ts new file mode 100644 index 0000000000..b1613e9196 --- /dev/null +++ b/types/react-icons/lib/md/slow-motion-video.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSlowMotionVideo extends React.Component { } diff --git a/types/react-icons/lib/md/smartphone.d.ts b/types/react-icons/lib/md/smartphone.d.ts new file mode 100644 index 0000000000..48e919a7f2 --- /dev/null +++ b/types/react-icons/lib/md/smartphone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSmartphone extends React.Component { } diff --git a/types/react-icons/lib/md/smoke-free.d.ts b/types/react-icons/lib/md/smoke-free.d.ts new file mode 100644 index 0000000000..494a9ffbed --- /dev/null +++ b/types/react-icons/lib/md/smoke-free.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSmokeFree extends React.Component { } diff --git a/types/react-icons/lib/md/smoking-rooms.d.ts b/types/react-icons/lib/md/smoking-rooms.d.ts new file mode 100644 index 0000000000..9793808427 --- /dev/null +++ b/types/react-icons/lib/md/smoking-rooms.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSmokingRooms extends React.Component { } diff --git a/types/react-icons/lib/md/sms-failed.d.ts b/types/react-icons/lib/md/sms-failed.d.ts new file mode 100644 index 0000000000..ed04e950bd --- /dev/null +++ b/types/react-icons/lib/md/sms-failed.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSmsFailed extends React.Component { } diff --git a/types/react-icons/lib/md/sms.d.ts b/types/react-icons/lib/md/sms.d.ts new file mode 100644 index 0000000000..bcdc21c622 --- /dev/null +++ b/types/react-icons/lib/md/sms.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSms extends React.Component { } diff --git a/types/react-icons/lib/md/snooze.d.ts b/types/react-icons/lib/md/snooze.d.ts new file mode 100644 index 0000000000..39ef1f6213 --- /dev/null +++ b/types/react-icons/lib/md/snooze.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSnooze extends React.Component { } diff --git a/types/react-icons/lib/md/sort-by-alpha.d.ts b/types/react-icons/lib/md/sort-by-alpha.d.ts new file mode 100644 index 0000000000..1d823eec21 --- /dev/null +++ b/types/react-icons/lib/md/sort-by-alpha.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSortByAlpha extends React.Component { } diff --git a/types/react-icons/lib/md/sort.d.ts b/types/react-icons/lib/md/sort.d.ts new file mode 100644 index 0000000000..4ae7f76a01 --- /dev/null +++ b/types/react-icons/lib/md/sort.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSort extends React.Component { } diff --git a/types/react-icons/lib/md/spa.d.ts b/types/react-icons/lib/md/spa.d.ts new file mode 100644 index 0000000000..328203f62f --- /dev/null +++ b/types/react-icons/lib/md/spa.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSpa extends React.Component { } diff --git a/types/react-icons/lib/md/space-bar.d.ts b/types/react-icons/lib/md/space-bar.d.ts new file mode 100644 index 0000000000..861c34892a --- /dev/null +++ b/types/react-icons/lib/md/space-bar.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSpaceBar extends React.Component { } diff --git a/types/react-icons/lib/md/speaker-group.d.ts b/types/react-icons/lib/md/speaker-group.d.ts new file mode 100644 index 0000000000..81915fc511 --- /dev/null +++ b/types/react-icons/lib/md/speaker-group.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSpeakerGroup extends React.Component { } diff --git a/types/react-icons/lib/md/speaker-notes-off.d.ts b/types/react-icons/lib/md/speaker-notes-off.d.ts new file mode 100644 index 0000000000..bc5b008527 --- /dev/null +++ b/types/react-icons/lib/md/speaker-notes-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSpeakerNotesOff extends React.Component { } diff --git a/types/react-icons/lib/md/speaker-notes.d.ts b/types/react-icons/lib/md/speaker-notes.d.ts new file mode 100644 index 0000000000..1c3c0e4ddc --- /dev/null +++ b/types/react-icons/lib/md/speaker-notes.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSpeakerNotes extends React.Component { } diff --git a/types/react-icons/lib/md/speaker-phone.d.ts b/types/react-icons/lib/md/speaker-phone.d.ts new file mode 100644 index 0000000000..b459a0c395 --- /dev/null +++ b/types/react-icons/lib/md/speaker-phone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSpeakerPhone extends React.Component { } diff --git a/types/react-icons/lib/md/speaker.d.ts b/types/react-icons/lib/md/speaker.d.ts new file mode 100644 index 0000000000..1f28f03e88 --- /dev/null +++ b/types/react-icons/lib/md/speaker.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSpeaker extends React.Component { } diff --git a/types/react-icons/lib/md/spellcheck.d.ts b/types/react-icons/lib/md/spellcheck.d.ts new file mode 100644 index 0000000000..6b74288ebf --- /dev/null +++ b/types/react-icons/lib/md/spellcheck.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSpellcheck extends React.Component { } diff --git a/types/react-icons/lib/md/star-border.d.ts b/types/react-icons/lib/md/star-border.d.ts new file mode 100644 index 0000000000..2dda5ebb35 --- /dev/null +++ b/types/react-icons/lib/md/star-border.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdStarBorder extends React.Component { } diff --git a/types/react-icons/lib/md/star-half.d.ts b/types/react-icons/lib/md/star-half.d.ts new file mode 100644 index 0000000000..d6684bbfe0 --- /dev/null +++ b/types/react-icons/lib/md/star-half.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdStarHalf extends React.Component { } diff --git a/types/react-icons/lib/md/star-outline.d.ts b/types/react-icons/lib/md/star-outline.d.ts new file mode 100644 index 0000000000..2b9f3546a3 --- /dev/null +++ b/types/react-icons/lib/md/star-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdStarOutline extends React.Component { } diff --git a/types/react-icons/lib/md/star.d.ts b/types/react-icons/lib/md/star.d.ts new file mode 100644 index 0000000000..f10524254e --- /dev/null +++ b/types/react-icons/lib/md/star.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdStar extends React.Component { } diff --git a/types/react-icons/lib/md/stars.d.ts b/types/react-icons/lib/md/stars.d.ts new file mode 100644 index 0000000000..b92a32acd6 --- /dev/null +++ b/types/react-icons/lib/md/stars.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdStars extends React.Component { } diff --git a/types/react-icons/lib/md/stay-current-landscape.d.ts b/types/react-icons/lib/md/stay-current-landscape.d.ts new file mode 100644 index 0000000000..c2edfbaa27 --- /dev/null +++ b/types/react-icons/lib/md/stay-current-landscape.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdStayCurrentLandscape extends React.Component { } diff --git a/types/react-icons/lib/md/stay-current-portrait.d.ts b/types/react-icons/lib/md/stay-current-portrait.d.ts new file mode 100644 index 0000000000..9f523f0514 --- /dev/null +++ b/types/react-icons/lib/md/stay-current-portrait.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdStayCurrentPortrait extends React.Component { } diff --git a/types/react-icons/lib/md/stay-primary-landscape.d.ts b/types/react-icons/lib/md/stay-primary-landscape.d.ts new file mode 100644 index 0000000000..4cf222880a --- /dev/null +++ b/types/react-icons/lib/md/stay-primary-landscape.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdStayPrimaryLandscape extends React.Component { } diff --git a/types/react-icons/lib/md/stay-primary-portrait.d.ts b/types/react-icons/lib/md/stay-primary-portrait.d.ts new file mode 100644 index 0000000000..e4371a0ff9 --- /dev/null +++ b/types/react-icons/lib/md/stay-primary-portrait.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdStayPrimaryPortrait extends React.Component { } diff --git a/types/react-icons/lib/md/stop-screen-share.d.ts b/types/react-icons/lib/md/stop-screen-share.d.ts new file mode 100644 index 0000000000..aa6a7b1f11 --- /dev/null +++ b/types/react-icons/lib/md/stop-screen-share.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdStopScreenShare extends React.Component { } diff --git a/types/react-icons/lib/md/stop.d.ts b/types/react-icons/lib/md/stop.d.ts new file mode 100644 index 0000000000..23972ad40d --- /dev/null +++ b/types/react-icons/lib/md/stop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdStop extends React.Component { } diff --git a/types/react-icons/lib/md/storage.d.ts b/types/react-icons/lib/md/storage.d.ts new file mode 100644 index 0000000000..76cdb38312 --- /dev/null +++ b/types/react-icons/lib/md/storage.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdStorage extends React.Component { } diff --git a/types/react-icons/lib/md/store-mall-directory.d.ts b/types/react-icons/lib/md/store-mall-directory.d.ts new file mode 100644 index 0000000000..68d4294ade --- /dev/null +++ b/types/react-icons/lib/md/store-mall-directory.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdStoreMallDirectory extends React.Component { } diff --git a/types/react-icons/lib/md/store.d.ts b/types/react-icons/lib/md/store.d.ts new file mode 100644 index 0000000000..c64ab33e61 --- /dev/null +++ b/types/react-icons/lib/md/store.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdStore extends React.Component { } diff --git a/types/react-icons/lib/md/straighten.d.ts b/types/react-icons/lib/md/straighten.d.ts new file mode 100644 index 0000000000..fa68ffb61f --- /dev/null +++ b/types/react-icons/lib/md/straighten.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdStraighten extends React.Component { } diff --git a/types/react-icons/lib/md/streetview.d.ts b/types/react-icons/lib/md/streetview.d.ts new file mode 100644 index 0000000000..b786fc4504 --- /dev/null +++ b/types/react-icons/lib/md/streetview.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdStreetview extends React.Component { } diff --git a/types/react-icons/lib/md/strikethrough-s.d.ts b/types/react-icons/lib/md/strikethrough-s.d.ts new file mode 100644 index 0000000000..8ccb18a292 --- /dev/null +++ b/types/react-icons/lib/md/strikethrough-s.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdStrikethroughS extends React.Component { } diff --git a/types/react-icons/lib/md/style.d.ts b/types/react-icons/lib/md/style.d.ts new file mode 100644 index 0000000000..6826a067a7 --- /dev/null +++ b/types/react-icons/lib/md/style.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdStyle extends React.Component { } diff --git a/types/react-icons/lib/md/subdirectory-arrow-left.d.ts b/types/react-icons/lib/md/subdirectory-arrow-left.d.ts new file mode 100644 index 0000000000..ebfbf45689 --- /dev/null +++ b/types/react-icons/lib/md/subdirectory-arrow-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSubdirectoryArrowLeft extends React.Component { } diff --git a/types/react-icons/lib/md/subdirectory-arrow-right.d.ts b/types/react-icons/lib/md/subdirectory-arrow-right.d.ts new file mode 100644 index 0000000000..435777e018 --- /dev/null +++ b/types/react-icons/lib/md/subdirectory-arrow-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSubdirectoryArrowRight extends React.Component { } diff --git a/types/react-icons/lib/md/subject.d.ts b/types/react-icons/lib/md/subject.d.ts new file mode 100644 index 0000000000..b187b836f2 --- /dev/null +++ b/types/react-icons/lib/md/subject.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSubject extends React.Component { } diff --git a/types/react-icons/lib/md/subscriptions.d.ts b/types/react-icons/lib/md/subscriptions.d.ts new file mode 100644 index 0000000000..0baf020371 --- /dev/null +++ b/types/react-icons/lib/md/subscriptions.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSubscriptions extends React.Component { } diff --git a/types/react-icons/lib/md/subtitles.d.ts b/types/react-icons/lib/md/subtitles.d.ts new file mode 100644 index 0000000000..2cacca492e --- /dev/null +++ b/types/react-icons/lib/md/subtitles.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSubtitles extends React.Component { } diff --git a/types/react-icons/lib/md/subway.d.ts b/types/react-icons/lib/md/subway.d.ts new file mode 100644 index 0000000000..c5496480da --- /dev/null +++ b/types/react-icons/lib/md/subway.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSubway extends React.Component { } diff --git a/types/react-icons/lib/md/supervisor-account.d.ts b/types/react-icons/lib/md/supervisor-account.d.ts new file mode 100644 index 0000000000..4c9b87c063 --- /dev/null +++ b/types/react-icons/lib/md/supervisor-account.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSupervisorAccount extends React.Component { } diff --git a/types/react-icons/lib/md/surround-sound.d.ts b/types/react-icons/lib/md/surround-sound.d.ts new file mode 100644 index 0000000000..673f1fdb7e --- /dev/null +++ b/types/react-icons/lib/md/surround-sound.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSurroundSound extends React.Component { } diff --git a/types/react-icons/lib/md/swap-calls.d.ts b/types/react-icons/lib/md/swap-calls.d.ts new file mode 100644 index 0000000000..5b6c5eb55b --- /dev/null +++ b/types/react-icons/lib/md/swap-calls.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSwapCalls extends React.Component { } diff --git a/types/react-icons/lib/md/swap-horiz.d.ts b/types/react-icons/lib/md/swap-horiz.d.ts new file mode 100644 index 0000000000..da47fa6f40 --- /dev/null +++ b/types/react-icons/lib/md/swap-horiz.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSwapHoriz extends React.Component { } diff --git a/types/react-icons/lib/md/swap-vert.d.ts b/types/react-icons/lib/md/swap-vert.d.ts new file mode 100644 index 0000000000..d034eaf517 --- /dev/null +++ b/types/react-icons/lib/md/swap-vert.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSwapVert extends React.Component { } diff --git a/types/react-icons/lib/md/swap-vertical-circle.d.ts b/types/react-icons/lib/md/swap-vertical-circle.d.ts new file mode 100644 index 0000000000..617a1f6d9a --- /dev/null +++ b/types/react-icons/lib/md/swap-vertical-circle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSwapVerticalCircle extends React.Component { } diff --git a/types/react-icons/lib/md/switch-camera.d.ts b/types/react-icons/lib/md/switch-camera.d.ts new file mode 100644 index 0000000000..c18ad57764 --- /dev/null +++ b/types/react-icons/lib/md/switch-camera.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSwitchCamera extends React.Component { } diff --git a/types/react-icons/lib/md/switch-video.d.ts b/types/react-icons/lib/md/switch-video.d.ts new file mode 100644 index 0000000000..0c95857fed --- /dev/null +++ b/types/react-icons/lib/md/switch-video.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSwitchVideo extends React.Component { } diff --git a/types/react-icons/lib/md/sync-disabled.d.ts b/types/react-icons/lib/md/sync-disabled.d.ts new file mode 100644 index 0000000000..99fa13f705 --- /dev/null +++ b/types/react-icons/lib/md/sync-disabled.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSyncDisabled extends React.Component { } diff --git a/types/react-icons/lib/md/sync-problem.d.ts b/types/react-icons/lib/md/sync-problem.d.ts new file mode 100644 index 0000000000..4ef37a1cbb --- /dev/null +++ b/types/react-icons/lib/md/sync-problem.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSyncProblem extends React.Component { } diff --git a/types/react-icons/lib/md/sync.d.ts b/types/react-icons/lib/md/sync.d.ts new file mode 100644 index 0000000000..fefdf38258 --- /dev/null +++ b/types/react-icons/lib/md/sync.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSync extends React.Component { } diff --git a/types/react-icons/lib/md/system-update-alt.d.ts b/types/react-icons/lib/md/system-update-alt.d.ts new file mode 100644 index 0000000000..2725f7b77c --- /dev/null +++ b/types/react-icons/lib/md/system-update-alt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSystemUpdateAlt extends React.Component { } diff --git a/types/react-icons/lib/md/system-update.d.ts b/types/react-icons/lib/md/system-update.d.ts new file mode 100644 index 0000000000..24ebe7c98c --- /dev/null +++ b/types/react-icons/lib/md/system-update.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdSystemUpdate extends React.Component { } diff --git a/types/react-icons/lib/md/tab-unselected.d.ts b/types/react-icons/lib/md/tab-unselected.d.ts new file mode 100644 index 0000000000..bac83b73ed --- /dev/null +++ b/types/react-icons/lib/md/tab-unselected.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTabUnselected extends React.Component { } diff --git a/types/react-icons/lib/md/tab.d.ts b/types/react-icons/lib/md/tab.d.ts new file mode 100644 index 0000000000..5fa18473c7 --- /dev/null +++ b/types/react-icons/lib/md/tab.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTab extends React.Component { } diff --git a/types/react-icons/lib/md/tablet-android.d.ts b/types/react-icons/lib/md/tablet-android.d.ts new file mode 100644 index 0000000000..2f30739971 --- /dev/null +++ b/types/react-icons/lib/md/tablet-android.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTabletAndroid extends React.Component { } diff --git a/types/react-icons/lib/md/tablet-mac.d.ts b/types/react-icons/lib/md/tablet-mac.d.ts new file mode 100644 index 0000000000..cad896f80b --- /dev/null +++ b/types/react-icons/lib/md/tablet-mac.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTabletMac extends React.Component { } diff --git a/types/react-icons/lib/md/tablet.d.ts b/types/react-icons/lib/md/tablet.d.ts new file mode 100644 index 0000000000..839c55d2a9 --- /dev/null +++ b/types/react-icons/lib/md/tablet.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTablet extends React.Component { } diff --git a/types/react-icons/lib/md/tag-faces.d.ts b/types/react-icons/lib/md/tag-faces.d.ts new file mode 100644 index 0000000000..36fe31f9f7 --- /dev/null +++ b/types/react-icons/lib/md/tag-faces.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTagFaces extends React.Component { } diff --git a/types/react-icons/lib/md/tap-and-play.d.ts b/types/react-icons/lib/md/tap-and-play.d.ts new file mode 100644 index 0000000000..50203118f9 --- /dev/null +++ b/types/react-icons/lib/md/tap-and-play.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTapAndPlay extends React.Component { } diff --git a/types/react-icons/lib/md/terrain.d.ts b/types/react-icons/lib/md/terrain.d.ts new file mode 100644 index 0000000000..89ddcb3ab1 --- /dev/null +++ b/types/react-icons/lib/md/terrain.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTerrain extends React.Component { } diff --git a/types/react-icons/lib/md/text-fields.d.ts b/types/react-icons/lib/md/text-fields.d.ts new file mode 100644 index 0000000000..51d63798ed --- /dev/null +++ b/types/react-icons/lib/md/text-fields.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTextFields extends React.Component { } diff --git a/types/react-icons/lib/md/text-format.d.ts b/types/react-icons/lib/md/text-format.d.ts new file mode 100644 index 0000000000..ca4ef5d0b6 --- /dev/null +++ b/types/react-icons/lib/md/text-format.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTextFormat extends React.Component { } diff --git a/types/react-icons/lib/md/textsms.d.ts b/types/react-icons/lib/md/textsms.d.ts new file mode 100644 index 0000000000..c8f57f986a --- /dev/null +++ b/types/react-icons/lib/md/textsms.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTextsms extends React.Component { } diff --git a/types/react-icons/lib/md/texture.d.ts b/types/react-icons/lib/md/texture.d.ts new file mode 100644 index 0000000000..48805b49d0 --- /dev/null +++ b/types/react-icons/lib/md/texture.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTexture extends React.Component { } diff --git a/types/react-icons/lib/md/theaters.d.ts b/types/react-icons/lib/md/theaters.d.ts new file mode 100644 index 0000000000..eeecdd668f --- /dev/null +++ b/types/react-icons/lib/md/theaters.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTheaters extends React.Component { } diff --git a/types/react-icons/lib/md/thumb-down.d.ts b/types/react-icons/lib/md/thumb-down.d.ts new file mode 100644 index 0000000000..412517a68f --- /dev/null +++ b/types/react-icons/lib/md/thumb-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdThumbDown extends React.Component { } diff --git a/types/react-icons/lib/md/thumb-up.d.ts b/types/react-icons/lib/md/thumb-up.d.ts new file mode 100644 index 0000000000..4aedde1b4d --- /dev/null +++ b/types/react-icons/lib/md/thumb-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdThumbUp extends React.Component { } diff --git a/types/react-icons/lib/md/thumbs-up-down.d.ts b/types/react-icons/lib/md/thumbs-up-down.d.ts new file mode 100644 index 0000000000..f191397ff2 --- /dev/null +++ b/types/react-icons/lib/md/thumbs-up-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdThumbsUpDown extends React.Component { } diff --git a/types/react-icons/lib/md/time-to-leave.d.ts b/types/react-icons/lib/md/time-to-leave.d.ts new file mode 100644 index 0000000000..6da47c86df --- /dev/null +++ b/types/react-icons/lib/md/time-to-leave.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTimeToLeave extends React.Component { } diff --git a/types/react-icons/lib/md/timelapse.d.ts b/types/react-icons/lib/md/timelapse.d.ts new file mode 100644 index 0000000000..57ac9ba997 --- /dev/null +++ b/types/react-icons/lib/md/timelapse.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTimelapse extends React.Component { } diff --git a/types/react-icons/lib/md/timeline.d.ts b/types/react-icons/lib/md/timeline.d.ts new file mode 100644 index 0000000000..e3c47270ce --- /dev/null +++ b/types/react-icons/lib/md/timeline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTimeline extends React.Component { } diff --git a/types/react-icons/lib/md/timer-10.d.ts b/types/react-icons/lib/md/timer-10.d.ts new file mode 100644 index 0000000000..309eb0d095 --- /dev/null +++ b/types/react-icons/lib/md/timer-10.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTimer10 extends React.Component { } diff --git a/types/react-icons/lib/md/timer-3.d.ts b/types/react-icons/lib/md/timer-3.d.ts new file mode 100644 index 0000000000..16ffff55b0 --- /dev/null +++ b/types/react-icons/lib/md/timer-3.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTimer3 extends React.Component { } diff --git a/types/react-icons/lib/md/timer-off.d.ts b/types/react-icons/lib/md/timer-off.d.ts new file mode 100644 index 0000000000..60b525d44f --- /dev/null +++ b/types/react-icons/lib/md/timer-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTimerOff extends React.Component { } diff --git a/types/react-icons/lib/md/timer.d.ts b/types/react-icons/lib/md/timer.d.ts new file mode 100644 index 0000000000..aefa851f3e --- /dev/null +++ b/types/react-icons/lib/md/timer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTimer extends React.Component { } diff --git a/types/react-icons/lib/md/title.d.ts b/types/react-icons/lib/md/title.d.ts new file mode 100644 index 0000000000..9585257382 --- /dev/null +++ b/types/react-icons/lib/md/title.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTitle extends React.Component { } diff --git a/types/react-icons/lib/md/toc.d.ts b/types/react-icons/lib/md/toc.d.ts new file mode 100644 index 0000000000..cdd1be99e6 --- /dev/null +++ b/types/react-icons/lib/md/toc.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdToc extends React.Component { } diff --git a/types/react-icons/lib/md/today.d.ts b/types/react-icons/lib/md/today.d.ts new file mode 100644 index 0000000000..c21725c6bb --- /dev/null +++ b/types/react-icons/lib/md/today.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdToday extends React.Component { } diff --git a/types/react-icons/lib/md/toll.d.ts b/types/react-icons/lib/md/toll.d.ts new file mode 100644 index 0000000000..a95cb48e8e --- /dev/null +++ b/types/react-icons/lib/md/toll.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdToll extends React.Component { } diff --git a/types/react-icons/lib/md/tonality.d.ts b/types/react-icons/lib/md/tonality.d.ts new file mode 100644 index 0000000000..21595adc48 --- /dev/null +++ b/types/react-icons/lib/md/tonality.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTonality extends React.Component { } diff --git a/types/react-icons/lib/md/touch-app.d.ts b/types/react-icons/lib/md/touch-app.d.ts new file mode 100644 index 0000000000..f5052a4d41 --- /dev/null +++ b/types/react-icons/lib/md/touch-app.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTouchApp extends React.Component { } diff --git a/types/react-icons/lib/md/toys.d.ts b/types/react-icons/lib/md/toys.d.ts new file mode 100644 index 0000000000..07ecd03fbd --- /dev/null +++ b/types/react-icons/lib/md/toys.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdToys extends React.Component { } diff --git a/types/react-icons/lib/md/track-changes.d.ts b/types/react-icons/lib/md/track-changes.d.ts new file mode 100644 index 0000000000..a729929069 --- /dev/null +++ b/types/react-icons/lib/md/track-changes.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTrackChanges extends React.Component { } diff --git a/types/react-icons/lib/md/traffic.d.ts b/types/react-icons/lib/md/traffic.d.ts new file mode 100644 index 0000000000..41cb955abb --- /dev/null +++ b/types/react-icons/lib/md/traffic.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTraffic extends React.Component { } diff --git a/types/react-icons/lib/md/train.d.ts b/types/react-icons/lib/md/train.d.ts new file mode 100644 index 0000000000..88b32243ca --- /dev/null +++ b/types/react-icons/lib/md/train.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTrain extends React.Component { } diff --git a/types/react-icons/lib/md/tram.d.ts b/types/react-icons/lib/md/tram.d.ts new file mode 100644 index 0000000000..ac0677ac2f --- /dev/null +++ b/types/react-icons/lib/md/tram.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTram extends React.Component { } diff --git a/types/react-icons/lib/md/transfer-within-a-station.d.ts b/types/react-icons/lib/md/transfer-within-a-station.d.ts new file mode 100644 index 0000000000..c8ab351a40 --- /dev/null +++ b/types/react-icons/lib/md/transfer-within-a-station.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTransferWithinAStation extends React.Component { } diff --git a/types/react-icons/lib/md/transform.d.ts b/types/react-icons/lib/md/transform.d.ts new file mode 100644 index 0000000000..3898a71c86 --- /dev/null +++ b/types/react-icons/lib/md/transform.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTransform extends React.Component { } diff --git a/types/react-icons/lib/md/translate.d.ts b/types/react-icons/lib/md/translate.d.ts new file mode 100644 index 0000000000..f8d624afc1 --- /dev/null +++ b/types/react-icons/lib/md/translate.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTranslate extends React.Component { } diff --git a/types/react-icons/lib/md/trending-down.d.ts b/types/react-icons/lib/md/trending-down.d.ts new file mode 100644 index 0000000000..00698234f5 --- /dev/null +++ b/types/react-icons/lib/md/trending-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTrendingDown extends React.Component { } diff --git a/types/react-icons/lib/md/trending-flat.d.ts b/types/react-icons/lib/md/trending-flat.d.ts new file mode 100644 index 0000000000..b511527a55 --- /dev/null +++ b/types/react-icons/lib/md/trending-flat.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTrendingFlat extends React.Component { } diff --git a/types/react-icons/lib/md/trending-neutral.d.ts b/types/react-icons/lib/md/trending-neutral.d.ts new file mode 100644 index 0000000000..0c3d3d1fc1 --- /dev/null +++ b/types/react-icons/lib/md/trending-neutral.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTrendingNeutral extends React.Component { } diff --git a/types/react-icons/lib/md/trending-up.d.ts b/types/react-icons/lib/md/trending-up.d.ts new file mode 100644 index 0000000000..4468236a4e --- /dev/null +++ b/types/react-icons/lib/md/trending-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTrendingUp extends React.Component { } diff --git a/types/react-icons/lib/md/tune.d.ts b/types/react-icons/lib/md/tune.d.ts new file mode 100644 index 0000000000..76c17a1112 --- /dev/null +++ b/types/react-icons/lib/md/tune.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTune extends React.Component { } diff --git a/types/react-icons/lib/md/turned-in-not.d.ts b/types/react-icons/lib/md/turned-in-not.d.ts new file mode 100644 index 0000000000..a2120936f2 --- /dev/null +++ b/types/react-icons/lib/md/turned-in-not.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTurnedInNot extends React.Component { } diff --git a/types/react-icons/lib/md/turned-in.d.ts b/types/react-icons/lib/md/turned-in.d.ts new file mode 100644 index 0000000000..685e4225f4 --- /dev/null +++ b/types/react-icons/lib/md/turned-in.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTurnedIn extends React.Component { } diff --git a/types/react-icons/lib/md/tv.d.ts b/types/react-icons/lib/md/tv.d.ts new file mode 100644 index 0000000000..4d184b9d39 --- /dev/null +++ b/types/react-icons/lib/md/tv.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdTv extends React.Component { } diff --git a/types/react-icons/lib/md/unarchive.d.ts b/types/react-icons/lib/md/unarchive.d.ts new file mode 100644 index 0000000000..5fb2297759 --- /dev/null +++ b/types/react-icons/lib/md/unarchive.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdUnarchive extends React.Component { } diff --git a/types/react-icons/lib/md/undo.d.ts b/types/react-icons/lib/md/undo.d.ts new file mode 100644 index 0000000000..16cec6f9f2 --- /dev/null +++ b/types/react-icons/lib/md/undo.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdUndo extends React.Component { } diff --git a/types/react-icons/lib/md/unfold-less.d.ts b/types/react-icons/lib/md/unfold-less.d.ts new file mode 100644 index 0000000000..c13b17448f --- /dev/null +++ b/types/react-icons/lib/md/unfold-less.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdUnfoldLess extends React.Component { } diff --git a/types/react-icons/lib/md/unfold-more.d.ts b/types/react-icons/lib/md/unfold-more.d.ts new file mode 100644 index 0000000000..c87c91e57d --- /dev/null +++ b/types/react-icons/lib/md/unfold-more.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdUnfoldMore extends React.Component { } diff --git a/types/react-icons/lib/md/update.d.ts b/types/react-icons/lib/md/update.d.ts new file mode 100644 index 0000000000..bfc17eb008 --- /dev/null +++ b/types/react-icons/lib/md/update.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdUpdate extends React.Component { } diff --git a/types/react-icons/lib/md/usb.d.ts b/types/react-icons/lib/md/usb.d.ts new file mode 100644 index 0000000000..66f7b5444e --- /dev/null +++ b/types/react-icons/lib/md/usb.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdUsb extends React.Component { } diff --git a/types/react-icons/lib/md/verified-user.d.ts b/types/react-icons/lib/md/verified-user.d.ts new file mode 100644 index 0000000000..680ba2575f --- /dev/null +++ b/types/react-icons/lib/md/verified-user.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVerifiedUser extends React.Component { } diff --git a/types/react-icons/lib/md/vertical-align-bottom.d.ts b/types/react-icons/lib/md/vertical-align-bottom.d.ts new file mode 100644 index 0000000000..e172ed18d3 --- /dev/null +++ b/types/react-icons/lib/md/vertical-align-bottom.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVerticalAlignBottom extends React.Component { } diff --git a/types/react-icons/lib/md/vertical-align-center.d.ts b/types/react-icons/lib/md/vertical-align-center.d.ts new file mode 100644 index 0000000000..f672e556c6 --- /dev/null +++ b/types/react-icons/lib/md/vertical-align-center.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVerticalAlignCenter extends React.Component { } diff --git a/types/react-icons/lib/md/vertical-align-top.d.ts b/types/react-icons/lib/md/vertical-align-top.d.ts new file mode 100644 index 0000000000..712e86f0e3 --- /dev/null +++ b/types/react-icons/lib/md/vertical-align-top.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVerticalAlignTop extends React.Component { } diff --git a/types/react-icons/lib/md/vibration.d.ts b/types/react-icons/lib/md/vibration.d.ts new file mode 100644 index 0000000000..6f9b90222f --- /dev/null +++ b/types/react-icons/lib/md/vibration.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVibration extends React.Component { } diff --git a/types/react-icons/lib/md/video-call.d.ts b/types/react-icons/lib/md/video-call.d.ts new file mode 100644 index 0000000000..b22ae1fcee --- /dev/null +++ b/types/react-icons/lib/md/video-call.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVideoCall extends React.Component { } diff --git a/types/react-icons/lib/md/video-collection.d.ts b/types/react-icons/lib/md/video-collection.d.ts new file mode 100644 index 0000000000..037903682d --- /dev/null +++ b/types/react-icons/lib/md/video-collection.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVideoCollection extends React.Component { } diff --git a/types/react-icons/lib/md/video-label.d.ts b/types/react-icons/lib/md/video-label.d.ts new file mode 100644 index 0000000000..b2dc4eb7d1 --- /dev/null +++ b/types/react-icons/lib/md/video-label.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVideoLabel extends React.Component { } diff --git a/types/react-icons/lib/md/video-library.d.ts b/types/react-icons/lib/md/video-library.d.ts new file mode 100644 index 0000000000..75bfe2a8aa --- /dev/null +++ b/types/react-icons/lib/md/video-library.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVideoLibrary extends React.Component { } diff --git a/types/react-icons/lib/md/videocam-off.d.ts b/types/react-icons/lib/md/videocam-off.d.ts new file mode 100644 index 0000000000..fd9d514107 --- /dev/null +++ b/types/react-icons/lib/md/videocam-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVideocamOff extends React.Component { } diff --git a/types/react-icons/lib/md/videocam.d.ts b/types/react-icons/lib/md/videocam.d.ts new file mode 100644 index 0000000000..7dc49c3be4 --- /dev/null +++ b/types/react-icons/lib/md/videocam.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVideocam extends React.Component { } diff --git a/types/react-icons/lib/md/videogame-asset.d.ts b/types/react-icons/lib/md/videogame-asset.d.ts new file mode 100644 index 0000000000..7e49edf4f8 --- /dev/null +++ b/types/react-icons/lib/md/videogame-asset.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVideogameAsset extends React.Component { } diff --git a/types/react-icons/lib/md/view-agenda.d.ts b/types/react-icons/lib/md/view-agenda.d.ts new file mode 100644 index 0000000000..04beb28dd3 --- /dev/null +++ b/types/react-icons/lib/md/view-agenda.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdViewAgenda extends React.Component { } diff --git a/types/react-icons/lib/md/view-array.d.ts b/types/react-icons/lib/md/view-array.d.ts new file mode 100644 index 0000000000..6b125ee5b6 --- /dev/null +++ b/types/react-icons/lib/md/view-array.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdViewArray extends React.Component { } diff --git a/types/react-icons/lib/md/view-carousel.d.ts b/types/react-icons/lib/md/view-carousel.d.ts new file mode 100644 index 0000000000..da381e92f6 --- /dev/null +++ b/types/react-icons/lib/md/view-carousel.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdViewCarousel extends React.Component { } diff --git a/types/react-icons/lib/md/view-column.d.ts b/types/react-icons/lib/md/view-column.d.ts new file mode 100644 index 0000000000..c5aaaea343 --- /dev/null +++ b/types/react-icons/lib/md/view-column.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdViewColumn extends React.Component { } diff --git a/types/react-icons/lib/md/view-comfortable.d.ts b/types/react-icons/lib/md/view-comfortable.d.ts new file mode 100644 index 0000000000..4a8277c807 --- /dev/null +++ b/types/react-icons/lib/md/view-comfortable.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdViewComfortable extends React.Component { } diff --git a/types/react-icons/lib/md/view-comfy.d.ts b/types/react-icons/lib/md/view-comfy.d.ts new file mode 100644 index 0000000000..a7004f4eee --- /dev/null +++ b/types/react-icons/lib/md/view-comfy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdViewComfy extends React.Component { } diff --git a/types/react-icons/lib/md/view-compact.d.ts b/types/react-icons/lib/md/view-compact.d.ts new file mode 100644 index 0000000000..fefa73473f --- /dev/null +++ b/types/react-icons/lib/md/view-compact.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdViewCompact extends React.Component { } diff --git a/types/react-icons/lib/md/view-day.d.ts b/types/react-icons/lib/md/view-day.d.ts new file mode 100644 index 0000000000..2013b75c21 --- /dev/null +++ b/types/react-icons/lib/md/view-day.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdViewDay extends React.Component { } diff --git a/types/react-icons/lib/md/view-headline.d.ts b/types/react-icons/lib/md/view-headline.d.ts new file mode 100644 index 0000000000..b82272bf35 --- /dev/null +++ b/types/react-icons/lib/md/view-headline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdViewHeadline extends React.Component { } diff --git a/types/react-icons/lib/md/view-list.d.ts b/types/react-icons/lib/md/view-list.d.ts new file mode 100644 index 0000000000..e4cafe07c0 --- /dev/null +++ b/types/react-icons/lib/md/view-list.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdViewList extends React.Component { } diff --git a/types/react-icons/lib/md/view-module.d.ts b/types/react-icons/lib/md/view-module.d.ts new file mode 100644 index 0000000000..745cf535be --- /dev/null +++ b/types/react-icons/lib/md/view-module.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdViewModule extends React.Component { } diff --git a/types/react-icons/lib/md/view-quilt.d.ts b/types/react-icons/lib/md/view-quilt.d.ts new file mode 100644 index 0000000000..f0e1e3694f --- /dev/null +++ b/types/react-icons/lib/md/view-quilt.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdViewQuilt extends React.Component { } diff --git a/types/react-icons/lib/md/view-stream.d.ts b/types/react-icons/lib/md/view-stream.d.ts new file mode 100644 index 0000000000..af7906aa62 --- /dev/null +++ b/types/react-icons/lib/md/view-stream.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdViewStream extends React.Component { } diff --git a/types/react-icons/lib/md/view-week.d.ts b/types/react-icons/lib/md/view-week.d.ts new file mode 100644 index 0000000000..f40184d700 --- /dev/null +++ b/types/react-icons/lib/md/view-week.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdViewWeek extends React.Component { } diff --git a/types/react-icons/lib/md/vignette.d.ts b/types/react-icons/lib/md/vignette.d.ts new file mode 100644 index 0000000000..0f34dde7dd --- /dev/null +++ b/types/react-icons/lib/md/vignette.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVignette extends React.Component { } diff --git a/types/react-icons/lib/md/visibility-off.d.ts b/types/react-icons/lib/md/visibility-off.d.ts new file mode 100644 index 0000000000..679a746bd7 --- /dev/null +++ b/types/react-icons/lib/md/visibility-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVisibilityOff extends React.Component { } diff --git a/types/react-icons/lib/md/visibility.d.ts b/types/react-icons/lib/md/visibility.d.ts new file mode 100644 index 0000000000..59c3bb1f38 --- /dev/null +++ b/types/react-icons/lib/md/visibility.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVisibility extends React.Component { } diff --git a/types/react-icons/lib/md/voice-chat.d.ts b/types/react-icons/lib/md/voice-chat.d.ts new file mode 100644 index 0000000000..a64ac1bee4 --- /dev/null +++ b/types/react-icons/lib/md/voice-chat.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVoiceChat extends React.Component { } diff --git a/types/react-icons/lib/md/voicemail.d.ts b/types/react-icons/lib/md/voicemail.d.ts new file mode 100644 index 0000000000..bf922ef49e --- /dev/null +++ b/types/react-icons/lib/md/voicemail.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVoicemail extends React.Component { } diff --git a/types/react-icons/lib/md/volume-down.d.ts b/types/react-icons/lib/md/volume-down.d.ts new file mode 100644 index 0000000000..f7a335c1c7 --- /dev/null +++ b/types/react-icons/lib/md/volume-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVolumeDown extends React.Component { } diff --git a/types/react-icons/lib/md/volume-mute.d.ts b/types/react-icons/lib/md/volume-mute.d.ts new file mode 100644 index 0000000000..566bbe0003 --- /dev/null +++ b/types/react-icons/lib/md/volume-mute.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVolumeMute extends React.Component { } diff --git a/types/react-icons/lib/md/volume-off.d.ts b/types/react-icons/lib/md/volume-off.d.ts new file mode 100644 index 0000000000..74acca188c --- /dev/null +++ b/types/react-icons/lib/md/volume-off.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVolumeOff extends React.Component { } diff --git a/types/react-icons/lib/md/volume-up.d.ts b/types/react-icons/lib/md/volume-up.d.ts new file mode 100644 index 0000000000..28387e23f0 --- /dev/null +++ b/types/react-icons/lib/md/volume-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVolumeUp extends React.Component { } diff --git a/types/react-icons/lib/md/vpn-key.d.ts b/types/react-icons/lib/md/vpn-key.d.ts new file mode 100644 index 0000000000..e2325babe7 --- /dev/null +++ b/types/react-icons/lib/md/vpn-key.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVpnKey extends React.Component { } diff --git a/types/react-icons/lib/md/vpn-lock.d.ts b/types/react-icons/lib/md/vpn-lock.d.ts new file mode 100644 index 0000000000..b83205b117 --- /dev/null +++ b/types/react-icons/lib/md/vpn-lock.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdVpnLock extends React.Component { } diff --git a/types/react-icons/lib/md/wallpaper.d.ts b/types/react-icons/lib/md/wallpaper.d.ts new file mode 100644 index 0000000000..ea0485412f --- /dev/null +++ b/types/react-icons/lib/md/wallpaper.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdWallpaper extends React.Component { } diff --git a/types/react-icons/lib/md/warning.d.ts b/types/react-icons/lib/md/warning.d.ts new file mode 100644 index 0000000000..74ec79fe30 --- /dev/null +++ b/types/react-icons/lib/md/warning.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdWarning extends React.Component { } diff --git a/types/react-icons/lib/md/watch-later.d.ts b/types/react-icons/lib/md/watch-later.d.ts new file mode 100644 index 0000000000..c4dc2a3b49 --- /dev/null +++ b/types/react-icons/lib/md/watch-later.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdWatchLater extends React.Component { } diff --git a/types/react-icons/lib/md/watch.d.ts b/types/react-icons/lib/md/watch.d.ts new file mode 100644 index 0000000000..ae09dcd597 --- /dev/null +++ b/types/react-icons/lib/md/watch.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdWatch extends React.Component { } diff --git a/types/react-icons/lib/md/wb-auto.d.ts b/types/react-icons/lib/md/wb-auto.d.ts new file mode 100644 index 0000000000..216d3b41dc --- /dev/null +++ b/types/react-icons/lib/md/wb-auto.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdWbAuto extends React.Component { } diff --git a/types/react-icons/lib/md/wb-cloudy.d.ts b/types/react-icons/lib/md/wb-cloudy.d.ts new file mode 100644 index 0000000000..2ad62d4341 --- /dev/null +++ b/types/react-icons/lib/md/wb-cloudy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdWbCloudy extends React.Component { } diff --git a/types/react-icons/lib/md/wb-incandescent.d.ts b/types/react-icons/lib/md/wb-incandescent.d.ts new file mode 100644 index 0000000000..52b597fc99 --- /dev/null +++ b/types/react-icons/lib/md/wb-incandescent.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdWbIncandescent extends React.Component { } diff --git a/types/react-icons/lib/md/wb-iridescent.d.ts b/types/react-icons/lib/md/wb-iridescent.d.ts new file mode 100644 index 0000000000..6d16c62bba --- /dev/null +++ b/types/react-icons/lib/md/wb-iridescent.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdWbIridescent extends React.Component { } diff --git a/types/react-icons/lib/md/wb-sunny.d.ts b/types/react-icons/lib/md/wb-sunny.d.ts new file mode 100644 index 0000000000..e8bd77c743 --- /dev/null +++ b/types/react-icons/lib/md/wb-sunny.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdWbSunny extends React.Component { } diff --git a/types/react-icons/lib/md/wc.d.ts b/types/react-icons/lib/md/wc.d.ts new file mode 100644 index 0000000000..9e9cde374f --- /dev/null +++ b/types/react-icons/lib/md/wc.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdWc extends React.Component { } diff --git a/types/react-icons/lib/md/web-asset.d.ts b/types/react-icons/lib/md/web-asset.d.ts new file mode 100644 index 0000000000..1871d94e5f --- /dev/null +++ b/types/react-icons/lib/md/web-asset.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdWebAsset extends React.Component { } diff --git a/types/react-icons/lib/md/web.d.ts b/types/react-icons/lib/md/web.d.ts new file mode 100644 index 0000000000..0a6c41e697 --- /dev/null +++ b/types/react-icons/lib/md/web.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdWeb extends React.Component { } diff --git a/types/react-icons/lib/md/weekend.d.ts b/types/react-icons/lib/md/weekend.d.ts new file mode 100644 index 0000000000..4a7c411c87 --- /dev/null +++ b/types/react-icons/lib/md/weekend.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdWeekend extends React.Component { } diff --git a/types/react-icons/lib/md/whatshot.d.ts b/types/react-icons/lib/md/whatshot.d.ts new file mode 100644 index 0000000000..cf16b36c37 --- /dev/null +++ b/types/react-icons/lib/md/whatshot.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdWhatshot extends React.Component { } diff --git a/types/react-icons/lib/md/widgets.d.ts b/types/react-icons/lib/md/widgets.d.ts new file mode 100644 index 0000000000..ea00e70e7b --- /dev/null +++ b/types/react-icons/lib/md/widgets.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdWidgets extends React.Component { } diff --git a/types/react-icons/lib/md/wifi-lock.d.ts b/types/react-icons/lib/md/wifi-lock.d.ts new file mode 100644 index 0000000000..58c31bb22c --- /dev/null +++ b/types/react-icons/lib/md/wifi-lock.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdWifiLock extends React.Component { } diff --git a/types/react-icons/lib/md/wifi-tethering.d.ts b/types/react-icons/lib/md/wifi-tethering.d.ts new file mode 100644 index 0000000000..580c2fe273 --- /dev/null +++ b/types/react-icons/lib/md/wifi-tethering.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdWifiTethering extends React.Component { } diff --git a/types/react-icons/lib/md/wifi.d.ts b/types/react-icons/lib/md/wifi.d.ts new file mode 100644 index 0000000000..ee81b9f84c --- /dev/null +++ b/types/react-icons/lib/md/wifi.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdWifi extends React.Component { } diff --git a/types/react-icons/lib/md/work.d.ts b/types/react-icons/lib/md/work.d.ts new file mode 100644 index 0000000000..8b1f10367f --- /dev/null +++ b/types/react-icons/lib/md/work.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdWork extends React.Component { } diff --git a/types/react-icons/lib/md/wrap-text.d.ts b/types/react-icons/lib/md/wrap-text.d.ts new file mode 100644 index 0000000000..4e90b8190a --- /dev/null +++ b/types/react-icons/lib/md/wrap-text.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdWrapText extends React.Component { } diff --git a/types/react-icons/lib/md/youtube-searched-for.d.ts b/types/react-icons/lib/md/youtube-searched-for.d.ts new file mode 100644 index 0000000000..0267e151dc --- /dev/null +++ b/types/react-icons/lib/md/youtube-searched-for.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdYoutubeSearchedFor extends React.Component { } diff --git a/types/react-icons/lib/md/zoom-in.d.ts b/types/react-icons/lib/md/zoom-in.d.ts new file mode 100644 index 0000000000..068a0d9bd7 --- /dev/null +++ b/types/react-icons/lib/md/zoom-in.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdZoomIn extends React.Component { } diff --git a/types/react-icons/lib/md/zoom-out-map.d.ts b/types/react-icons/lib/md/zoom-out-map.d.ts new file mode 100644 index 0000000000..4d526d0095 --- /dev/null +++ b/types/react-icons/lib/md/zoom-out-map.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdZoomOutMap extends React.Component { } diff --git a/types/react-icons/lib/md/zoom-out.d.ts b/types/react-icons/lib/md/zoom-out.d.ts new file mode 100644 index 0000000000..54862f1b45 --- /dev/null +++ b/types/react-icons/lib/md/zoom-out.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class MdZoomOut extends React.Component { } diff --git a/types/react-icons/lib/ti/adjust-brightness.d.ts b/types/react-icons/lib/ti/adjust-brightness.d.ts new file mode 100644 index 0000000000..5beec88e6a --- /dev/null +++ b/types/react-icons/lib/ti/adjust-brightness.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiAdjustBrightness extends React.Component { } diff --git a/types/react-icons/lib/ti/adjust-contrast.d.ts b/types/react-icons/lib/ti/adjust-contrast.d.ts new file mode 100644 index 0000000000..2d49b0ce59 --- /dev/null +++ b/types/react-icons/lib/ti/adjust-contrast.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiAdjustContrast extends React.Component { } diff --git a/types/react-icons/lib/ti/anchor-outline.d.ts b/types/react-icons/lib/ti/anchor-outline.d.ts new file mode 100644 index 0000000000..7a9bc3ab6e --- /dev/null +++ b/types/react-icons/lib/ti/anchor-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiAnchorOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/anchor.d.ts b/types/react-icons/lib/ti/anchor.d.ts new file mode 100644 index 0000000000..3c90ca1623 --- /dev/null +++ b/types/react-icons/lib/ti/anchor.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiAnchor extends React.Component { } diff --git a/types/react-icons/lib/ti/archive.d.ts b/types/react-icons/lib/ti/archive.d.ts new file mode 100644 index 0000000000..22c92eab3d --- /dev/null +++ b/types/react-icons/lib/ti/archive.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArchive extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-back-outline.d.ts b/types/react-icons/lib/ti/arrow-back-outline.d.ts new file mode 100644 index 0000000000..c168ae0809 --- /dev/null +++ b/types/react-icons/lib/ti/arrow-back-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowBackOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-back.d.ts b/types/react-icons/lib/ti/arrow-back.d.ts new file mode 100644 index 0000000000..5eb11665a2 --- /dev/null +++ b/types/react-icons/lib/ti/arrow-back.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowBack extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-down-outline.d.ts b/types/react-icons/lib/ti/arrow-down-outline.d.ts new file mode 100644 index 0000000000..17ff0d0547 --- /dev/null +++ b/types/react-icons/lib/ti/arrow-down-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowDownOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-down-thick.d.ts b/types/react-icons/lib/ti/arrow-down-thick.d.ts new file mode 100644 index 0000000000..450cbe6467 --- /dev/null +++ b/types/react-icons/lib/ti/arrow-down-thick.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowDownThick extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-down.d.ts b/types/react-icons/lib/ti/arrow-down.d.ts new file mode 100644 index 0000000000..fcb3596caf --- /dev/null +++ b/types/react-icons/lib/ti/arrow-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowDown extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-forward-outline.d.ts b/types/react-icons/lib/ti/arrow-forward-outline.d.ts new file mode 100644 index 0000000000..610881bf2d --- /dev/null +++ b/types/react-icons/lib/ti/arrow-forward-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowForwardOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-forward.d.ts b/types/react-icons/lib/ti/arrow-forward.d.ts new file mode 100644 index 0000000000..a4291100ca --- /dev/null +++ b/types/react-icons/lib/ti/arrow-forward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowForward extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-left-outline.d.ts b/types/react-icons/lib/ti/arrow-left-outline.d.ts new file mode 100644 index 0000000000..fb50e3e8ae --- /dev/null +++ b/types/react-icons/lib/ti/arrow-left-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowLeftOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-left-thick.d.ts b/types/react-icons/lib/ti/arrow-left-thick.d.ts new file mode 100644 index 0000000000..4c5bf0e54e --- /dev/null +++ b/types/react-icons/lib/ti/arrow-left-thick.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowLeftThick extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-left.d.ts b/types/react-icons/lib/ti/arrow-left.d.ts new file mode 100644 index 0000000000..f4ae370d36 --- /dev/null +++ b/types/react-icons/lib/ti/arrow-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowLeft extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-loop-outline.d.ts b/types/react-icons/lib/ti/arrow-loop-outline.d.ts new file mode 100644 index 0000000000..40da459c5f --- /dev/null +++ b/types/react-icons/lib/ti/arrow-loop-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowLoopOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-loop.d.ts b/types/react-icons/lib/ti/arrow-loop.d.ts new file mode 100644 index 0000000000..e4d207fe46 --- /dev/null +++ b/types/react-icons/lib/ti/arrow-loop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowLoop extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-maximise-outline.d.ts b/types/react-icons/lib/ti/arrow-maximise-outline.d.ts new file mode 100644 index 0000000000..e6900ecdb4 --- /dev/null +++ b/types/react-icons/lib/ti/arrow-maximise-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowMaximiseOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-maximise.d.ts b/types/react-icons/lib/ti/arrow-maximise.d.ts new file mode 100644 index 0000000000..14797e2179 --- /dev/null +++ b/types/react-icons/lib/ti/arrow-maximise.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowMaximise extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-minimise-outline.d.ts b/types/react-icons/lib/ti/arrow-minimise-outline.d.ts new file mode 100644 index 0000000000..16e1c2c67d --- /dev/null +++ b/types/react-icons/lib/ti/arrow-minimise-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowMinimiseOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-minimise.d.ts b/types/react-icons/lib/ti/arrow-minimise.d.ts new file mode 100644 index 0000000000..557625ec1a --- /dev/null +++ b/types/react-icons/lib/ti/arrow-minimise.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowMinimise extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-move-outline.d.ts b/types/react-icons/lib/ti/arrow-move-outline.d.ts new file mode 100644 index 0000000000..0035cbddca --- /dev/null +++ b/types/react-icons/lib/ti/arrow-move-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowMoveOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-move.d.ts b/types/react-icons/lib/ti/arrow-move.d.ts new file mode 100644 index 0000000000..974082e4ed --- /dev/null +++ b/types/react-icons/lib/ti/arrow-move.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowMove extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-repeat-outline.d.ts b/types/react-icons/lib/ti/arrow-repeat-outline.d.ts new file mode 100644 index 0000000000..7b4e2b2c06 --- /dev/null +++ b/types/react-icons/lib/ti/arrow-repeat-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowRepeatOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-repeat.d.ts b/types/react-icons/lib/ti/arrow-repeat.d.ts new file mode 100644 index 0000000000..00445af479 --- /dev/null +++ b/types/react-icons/lib/ti/arrow-repeat.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowRepeat extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-right-outline.d.ts b/types/react-icons/lib/ti/arrow-right-outline.d.ts new file mode 100644 index 0000000000..7f7319172c --- /dev/null +++ b/types/react-icons/lib/ti/arrow-right-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowRightOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-right-thick.d.ts b/types/react-icons/lib/ti/arrow-right-thick.d.ts new file mode 100644 index 0000000000..cc72754ddf --- /dev/null +++ b/types/react-icons/lib/ti/arrow-right-thick.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowRightThick extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-right.d.ts b/types/react-icons/lib/ti/arrow-right.d.ts new file mode 100644 index 0000000000..0761bfd383 --- /dev/null +++ b/types/react-icons/lib/ti/arrow-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowRight extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-shuffle.d.ts b/types/react-icons/lib/ti/arrow-shuffle.d.ts new file mode 100644 index 0000000000..c0cb7629b3 --- /dev/null +++ b/types/react-icons/lib/ti/arrow-shuffle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowShuffle extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-sorted-down.d.ts b/types/react-icons/lib/ti/arrow-sorted-down.d.ts new file mode 100644 index 0000000000..b7b8a436dd --- /dev/null +++ b/types/react-icons/lib/ti/arrow-sorted-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowSortedDown extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-sorted-up.d.ts b/types/react-icons/lib/ti/arrow-sorted-up.d.ts new file mode 100644 index 0000000000..66f3ef408a --- /dev/null +++ b/types/react-icons/lib/ti/arrow-sorted-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowSortedUp extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-sync-outline.d.ts b/types/react-icons/lib/ti/arrow-sync-outline.d.ts new file mode 100644 index 0000000000..91b296966b --- /dev/null +++ b/types/react-icons/lib/ti/arrow-sync-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowSyncOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-sync.d.ts b/types/react-icons/lib/ti/arrow-sync.d.ts new file mode 100644 index 0000000000..4a863fe22c --- /dev/null +++ b/types/react-icons/lib/ti/arrow-sync.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowSync extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-unsorted.d.ts b/types/react-icons/lib/ti/arrow-unsorted.d.ts new file mode 100644 index 0000000000..1fbd71c7fa --- /dev/null +++ b/types/react-icons/lib/ti/arrow-unsorted.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowUnsorted extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-up-outline.d.ts b/types/react-icons/lib/ti/arrow-up-outline.d.ts new file mode 100644 index 0000000000..5f7d9b2baa --- /dev/null +++ b/types/react-icons/lib/ti/arrow-up-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowUpOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-up-thick.d.ts b/types/react-icons/lib/ti/arrow-up-thick.d.ts new file mode 100644 index 0000000000..965192a20a --- /dev/null +++ b/types/react-icons/lib/ti/arrow-up-thick.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowUpThick extends React.Component { } diff --git a/types/react-icons/lib/ti/arrow-up.d.ts b/types/react-icons/lib/ti/arrow-up.d.ts new file mode 100644 index 0000000000..d8930645ae --- /dev/null +++ b/types/react-icons/lib/ti/arrow-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiArrowUp extends React.Component { } diff --git a/types/react-icons/lib/ti/at.d.ts b/types/react-icons/lib/ti/at.d.ts new file mode 100644 index 0000000000..7eaadbcb42 --- /dev/null +++ b/types/react-icons/lib/ti/at.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiAt extends React.Component { } diff --git a/types/react-icons/lib/ti/attachment-outline.d.ts b/types/react-icons/lib/ti/attachment-outline.d.ts new file mode 100644 index 0000000000..2f3c1c54ea --- /dev/null +++ b/types/react-icons/lib/ti/attachment-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiAttachmentOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/attachment.d.ts b/types/react-icons/lib/ti/attachment.d.ts new file mode 100644 index 0000000000..ae09ff061c --- /dev/null +++ b/types/react-icons/lib/ti/attachment.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiAttachment extends React.Component { } diff --git a/types/react-icons/lib/ti/backspace-outline.d.ts b/types/react-icons/lib/ti/backspace-outline.d.ts new file mode 100644 index 0000000000..a7047f88fc --- /dev/null +++ b/types/react-icons/lib/ti/backspace-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiBackspaceOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/backspace.d.ts b/types/react-icons/lib/ti/backspace.d.ts new file mode 100644 index 0000000000..fcd1490219 --- /dev/null +++ b/types/react-icons/lib/ti/backspace.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiBackspace extends React.Component { } diff --git a/types/react-icons/lib/ti/battery-charge.d.ts b/types/react-icons/lib/ti/battery-charge.d.ts new file mode 100644 index 0000000000..6b1af42674 --- /dev/null +++ b/types/react-icons/lib/ti/battery-charge.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiBatteryCharge extends React.Component { } diff --git a/types/react-icons/lib/ti/battery-full.d.ts b/types/react-icons/lib/ti/battery-full.d.ts new file mode 100644 index 0000000000..6e75957baf --- /dev/null +++ b/types/react-icons/lib/ti/battery-full.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiBatteryFull extends React.Component { } diff --git a/types/react-icons/lib/ti/battery-high.d.ts b/types/react-icons/lib/ti/battery-high.d.ts new file mode 100644 index 0000000000..951e63a507 --- /dev/null +++ b/types/react-icons/lib/ti/battery-high.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiBatteryHigh extends React.Component { } diff --git a/types/react-icons/lib/ti/battery-low.d.ts b/types/react-icons/lib/ti/battery-low.d.ts new file mode 100644 index 0000000000..9c0f370293 --- /dev/null +++ b/types/react-icons/lib/ti/battery-low.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiBatteryLow extends React.Component { } diff --git a/types/react-icons/lib/ti/battery-mid.d.ts b/types/react-icons/lib/ti/battery-mid.d.ts new file mode 100644 index 0000000000..6625efa374 --- /dev/null +++ b/types/react-icons/lib/ti/battery-mid.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiBatteryMid extends React.Component { } diff --git a/types/react-icons/lib/ti/beaker.d.ts b/types/react-icons/lib/ti/beaker.d.ts new file mode 100644 index 0000000000..0cdfe9fc68 --- /dev/null +++ b/types/react-icons/lib/ti/beaker.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiBeaker extends React.Component { } diff --git a/types/react-icons/lib/ti/beer.d.ts b/types/react-icons/lib/ti/beer.d.ts new file mode 100644 index 0000000000..a76c8d06f6 --- /dev/null +++ b/types/react-icons/lib/ti/beer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiBeer extends React.Component { } diff --git a/types/react-icons/lib/ti/bell.d.ts b/types/react-icons/lib/ti/bell.d.ts new file mode 100644 index 0000000000..d3dd3950ed --- /dev/null +++ b/types/react-icons/lib/ti/bell.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiBell extends React.Component { } diff --git a/types/react-icons/lib/ti/book.d.ts b/types/react-icons/lib/ti/book.d.ts new file mode 100644 index 0000000000..e2a2e7d952 --- /dev/null +++ b/types/react-icons/lib/ti/book.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiBook extends React.Component { } diff --git a/types/react-icons/lib/ti/bookmark.d.ts b/types/react-icons/lib/ti/bookmark.d.ts new file mode 100644 index 0000000000..47dc6a5e5f --- /dev/null +++ b/types/react-icons/lib/ti/bookmark.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiBookmark extends React.Component { } diff --git a/types/react-icons/lib/ti/briefcase.d.ts b/types/react-icons/lib/ti/briefcase.d.ts new file mode 100644 index 0000000000..c830dab76b --- /dev/null +++ b/types/react-icons/lib/ti/briefcase.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiBriefcase extends React.Component { } diff --git a/types/react-icons/lib/ti/brush.d.ts b/types/react-icons/lib/ti/brush.d.ts new file mode 100644 index 0000000000..d8a1b5a5d8 --- /dev/null +++ b/types/react-icons/lib/ti/brush.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiBrush extends React.Component { } diff --git a/types/react-icons/lib/ti/business-card.d.ts b/types/react-icons/lib/ti/business-card.d.ts new file mode 100644 index 0000000000..1ecf3f6621 --- /dev/null +++ b/types/react-icons/lib/ti/business-card.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiBusinessCard extends React.Component { } diff --git a/types/react-icons/lib/ti/calculator.d.ts b/types/react-icons/lib/ti/calculator.d.ts new file mode 100644 index 0000000000..403ce8c3e6 --- /dev/null +++ b/types/react-icons/lib/ti/calculator.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiCalculator extends React.Component { } diff --git a/types/react-icons/lib/ti/calendar-outline.d.ts b/types/react-icons/lib/ti/calendar-outline.d.ts new file mode 100644 index 0000000000..bd3dd9e9d3 --- /dev/null +++ b/types/react-icons/lib/ti/calendar-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiCalendarOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/calendar.d.ts b/types/react-icons/lib/ti/calendar.d.ts new file mode 100644 index 0000000000..9b0ba315d5 --- /dev/null +++ b/types/react-icons/lib/ti/calendar.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiCalendar extends React.Component { } diff --git a/types/react-icons/lib/ti/calender-outline.d.ts b/types/react-icons/lib/ti/calender-outline.d.ts new file mode 100644 index 0000000000..8afcb4ef62 --- /dev/null +++ b/types/react-icons/lib/ti/calender-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiCalenderOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/calender.d.ts b/types/react-icons/lib/ti/calender.d.ts new file mode 100644 index 0000000000..0393fece08 --- /dev/null +++ b/types/react-icons/lib/ti/calender.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiCalender extends React.Component { } diff --git a/types/react-icons/lib/ti/camera-outline.d.ts b/types/react-icons/lib/ti/camera-outline.d.ts new file mode 100644 index 0000000000..940ba3bd58 --- /dev/null +++ b/types/react-icons/lib/ti/camera-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiCameraOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/camera.d.ts b/types/react-icons/lib/ti/camera.d.ts new file mode 100644 index 0000000000..8291efbd7d --- /dev/null +++ b/types/react-icons/lib/ti/camera.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiCamera extends React.Component { } diff --git a/types/react-icons/lib/ti/cancel-outline.d.ts b/types/react-icons/lib/ti/cancel-outline.d.ts new file mode 100644 index 0000000000..233d7b4b9b --- /dev/null +++ b/types/react-icons/lib/ti/cancel-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiCancelOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/cancel.d.ts b/types/react-icons/lib/ti/cancel.d.ts new file mode 100644 index 0000000000..882317d054 --- /dev/null +++ b/types/react-icons/lib/ti/cancel.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiCancel extends React.Component { } diff --git a/types/react-icons/lib/ti/chart-area-outline.d.ts b/types/react-icons/lib/ti/chart-area-outline.d.ts new file mode 100644 index 0000000000..fa40a08cde --- /dev/null +++ b/types/react-icons/lib/ti/chart-area-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiChartAreaOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/chart-area.d.ts b/types/react-icons/lib/ti/chart-area.d.ts new file mode 100644 index 0000000000..80806cbd7c --- /dev/null +++ b/types/react-icons/lib/ti/chart-area.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiChartArea extends React.Component { } diff --git a/types/react-icons/lib/ti/chart-bar-outline.d.ts b/types/react-icons/lib/ti/chart-bar-outline.d.ts new file mode 100644 index 0000000000..9ec3c4ca70 --- /dev/null +++ b/types/react-icons/lib/ti/chart-bar-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiChartBarOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/chart-bar.d.ts b/types/react-icons/lib/ti/chart-bar.d.ts new file mode 100644 index 0000000000..a98da7fe10 --- /dev/null +++ b/types/react-icons/lib/ti/chart-bar.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiChartBar extends React.Component { } diff --git a/types/react-icons/lib/ti/chart-line-outline.d.ts b/types/react-icons/lib/ti/chart-line-outline.d.ts new file mode 100644 index 0000000000..f5a982d0f1 --- /dev/null +++ b/types/react-icons/lib/ti/chart-line-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiChartLineOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/chart-line.d.ts b/types/react-icons/lib/ti/chart-line.d.ts new file mode 100644 index 0000000000..be581f2b53 --- /dev/null +++ b/types/react-icons/lib/ti/chart-line.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiChartLine extends React.Component { } diff --git a/types/react-icons/lib/ti/chart-pie-outline.d.ts b/types/react-icons/lib/ti/chart-pie-outline.d.ts new file mode 100644 index 0000000000..449d799a79 --- /dev/null +++ b/types/react-icons/lib/ti/chart-pie-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiChartPieOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/chart-pie.d.ts b/types/react-icons/lib/ti/chart-pie.d.ts new file mode 100644 index 0000000000..5a641290fb --- /dev/null +++ b/types/react-icons/lib/ti/chart-pie.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiChartPie extends React.Component { } diff --git a/types/react-icons/lib/ti/chevron-left-outline.d.ts b/types/react-icons/lib/ti/chevron-left-outline.d.ts new file mode 100644 index 0000000000..38ad9ab531 --- /dev/null +++ b/types/react-icons/lib/ti/chevron-left-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiChevronLeftOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/chevron-left.d.ts b/types/react-icons/lib/ti/chevron-left.d.ts new file mode 100644 index 0000000000..d6a3e7286c --- /dev/null +++ b/types/react-icons/lib/ti/chevron-left.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiChevronLeft extends React.Component { } diff --git a/types/react-icons/lib/ti/chevron-right-outline.d.ts b/types/react-icons/lib/ti/chevron-right-outline.d.ts new file mode 100644 index 0000000000..09cc6370fd --- /dev/null +++ b/types/react-icons/lib/ti/chevron-right-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiChevronRightOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/chevron-right.d.ts b/types/react-icons/lib/ti/chevron-right.d.ts new file mode 100644 index 0000000000..311697c66a --- /dev/null +++ b/types/react-icons/lib/ti/chevron-right.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiChevronRight extends React.Component { } diff --git a/types/react-icons/lib/ti/clipboard.d.ts b/types/react-icons/lib/ti/clipboard.d.ts new file mode 100644 index 0000000000..cce73b1bc7 --- /dev/null +++ b/types/react-icons/lib/ti/clipboard.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiClipboard extends React.Component { } diff --git a/types/react-icons/lib/ti/cloud-storage-outline.d.ts b/types/react-icons/lib/ti/cloud-storage-outline.d.ts new file mode 100644 index 0000000000..d36a07cdb6 --- /dev/null +++ b/types/react-icons/lib/ti/cloud-storage-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiCloudStorageOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/cloud-storage.d.ts b/types/react-icons/lib/ti/cloud-storage.d.ts new file mode 100644 index 0000000000..45142999f9 --- /dev/null +++ b/types/react-icons/lib/ti/cloud-storage.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiCloudStorage extends React.Component { } diff --git a/types/react-icons/lib/ti/code-outline.d.ts b/types/react-icons/lib/ti/code-outline.d.ts new file mode 100644 index 0000000000..f7c2eec174 --- /dev/null +++ b/types/react-icons/lib/ti/code-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiCodeOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/code.d.ts b/types/react-icons/lib/ti/code.d.ts new file mode 100644 index 0000000000..e6bf302269 --- /dev/null +++ b/types/react-icons/lib/ti/code.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiCode extends React.Component { } diff --git a/types/react-icons/lib/ti/coffee.d.ts b/types/react-icons/lib/ti/coffee.d.ts new file mode 100644 index 0000000000..df3aa18694 --- /dev/null +++ b/types/react-icons/lib/ti/coffee.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiCoffee extends React.Component { } diff --git a/types/react-icons/lib/ti/cog-outline.d.ts b/types/react-icons/lib/ti/cog-outline.d.ts new file mode 100644 index 0000000000..40c76991c5 --- /dev/null +++ b/types/react-icons/lib/ti/cog-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiCogOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/cog.d.ts b/types/react-icons/lib/ti/cog.d.ts new file mode 100644 index 0000000000..24573b9291 --- /dev/null +++ b/types/react-icons/lib/ti/cog.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiCog extends React.Component { } diff --git a/types/react-icons/lib/ti/compass.d.ts b/types/react-icons/lib/ti/compass.d.ts new file mode 100644 index 0000000000..54c70bee8b --- /dev/null +++ b/types/react-icons/lib/ti/compass.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiCompass extends React.Component { } diff --git a/types/react-icons/lib/ti/contacts.d.ts b/types/react-icons/lib/ti/contacts.d.ts new file mode 100644 index 0000000000..f780e8ca9c --- /dev/null +++ b/types/react-icons/lib/ti/contacts.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiContacts extends React.Component { } diff --git a/types/react-icons/lib/ti/credit-card.d.ts b/types/react-icons/lib/ti/credit-card.d.ts new file mode 100644 index 0000000000..2f05b56233 --- /dev/null +++ b/types/react-icons/lib/ti/credit-card.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiCreditCard extends React.Component { } diff --git a/types/react-icons/lib/ti/cross.d.ts b/types/react-icons/lib/ti/cross.d.ts new file mode 100644 index 0000000000..5af003cf93 --- /dev/null +++ b/types/react-icons/lib/ti/cross.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiCross extends React.Component { } diff --git a/types/react-icons/lib/ti/css3.d.ts b/types/react-icons/lib/ti/css3.d.ts new file mode 100644 index 0000000000..00e79bcbce --- /dev/null +++ b/types/react-icons/lib/ti/css3.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiCss3 extends React.Component { } diff --git a/types/react-icons/lib/ti/database.d.ts b/types/react-icons/lib/ti/database.d.ts new file mode 100644 index 0000000000..65dccc441f --- /dev/null +++ b/types/react-icons/lib/ti/database.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiDatabase extends React.Component { } diff --git a/types/react-icons/lib/ti/delete-outline.d.ts b/types/react-icons/lib/ti/delete-outline.d.ts new file mode 100644 index 0000000000..bf27aa49f9 --- /dev/null +++ b/types/react-icons/lib/ti/delete-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiDeleteOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/delete.d.ts b/types/react-icons/lib/ti/delete.d.ts new file mode 100644 index 0000000000..57791a71ab --- /dev/null +++ b/types/react-icons/lib/ti/delete.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiDelete extends React.Component { } diff --git a/types/react-icons/lib/ti/device-desktop.d.ts b/types/react-icons/lib/ti/device-desktop.d.ts new file mode 100644 index 0000000000..d405810142 --- /dev/null +++ b/types/react-icons/lib/ti/device-desktop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiDeviceDesktop extends React.Component { } diff --git a/types/react-icons/lib/ti/device-laptop.d.ts b/types/react-icons/lib/ti/device-laptop.d.ts new file mode 100644 index 0000000000..dada29c74f --- /dev/null +++ b/types/react-icons/lib/ti/device-laptop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiDeviceLaptop extends React.Component { } diff --git a/types/react-icons/lib/ti/device-phone.d.ts b/types/react-icons/lib/ti/device-phone.d.ts new file mode 100644 index 0000000000..977cf3f0f1 --- /dev/null +++ b/types/react-icons/lib/ti/device-phone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiDevicePhone extends React.Component { } diff --git a/types/react-icons/lib/ti/device-tablet.d.ts b/types/react-icons/lib/ti/device-tablet.d.ts new file mode 100644 index 0000000000..06a9e07cca --- /dev/null +++ b/types/react-icons/lib/ti/device-tablet.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiDeviceTablet extends React.Component { } diff --git a/types/react-icons/lib/ti/directions.d.ts b/types/react-icons/lib/ti/directions.d.ts new file mode 100644 index 0000000000..3be0928f95 --- /dev/null +++ b/types/react-icons/lib/ti/directions.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiDirections extends React.Component { } diff --git a/types/react-icons/lib/ti/divide-outline.d.ts b/types/react-icons/lib/ti/divide-outline.d.ts new file mode 100644 index 0000000000..9b30f64d2d --- /dev/null +++ b/types/react-icons/lib/ti/divide-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiDivideOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/divide.d.ts b/types/react-icons/lib/ti/divide.d.ts new file mode 100644 index 0000000000..375a79b628 --- /dev/null +++ b/types/react-icons/lib/ti/divide.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiDivide extends React.Component { } diff --git a/types/react-icons/lib/ti/document-add.d.ts b/types/react-icons/lib/ti/document-add.d.ts new file mode 100644 index 0000000000..0b2ed20d5c --- /dev/null +++ b/types/react-icons/lib/ti/document-add.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiDocumentAdd extends React.Component { } diff --git a/types/react-icons/lib/ti/document-delete.d.ts b/types/react-icons/lib/ti/document-delete.d.ts new file mode 100644 index 0000000000..916608ade9 --- /dev/null +++ b/types/react-icons/lib/ti/document-delete.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiDocumentDelete extends React.Component { } diff --git a/types/react-icons/lib/ti/document-text.d.ts b/types/react-icons/lib/ti/document-text.d.ts new file mode 100644 index 0000000000..c3af80ad89 --- /dev/null +++ b/types/react-icons/lib/ti/document-text.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiDocumentText extends React.Component { } diff --git a/types/react-icons/lib/ti/document.d.ts b/types/react-icons/lib/ti/document.d.ts new file mode 100644 index 0000000000..60ace2ba35 --- /dev/null +++ b/types/react-icons/lib/ti/document.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiDocument extends React.Component { } diff --git a/types/react-icons/lib/ti/download-outline.d.ts b/types/react-icons/lib/ti/download-outline.d.ts new file mode 100644 index 0000000000..b405ad061c --- /dev/null +++ b/types/react-icons/lib/ti/download-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiDownloadOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/download.d.ts b/types/react-icons/lib/ti/download.d.ts new file mode 100644 index 0000000000..6cf13f385b --- /dev/null +++ b/types/react-icons/lib/ti/download.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiDownload extends React.Component { } diff --git a/types/react-icons/lib/ti/dropbox.d.ts b/types/react-icons/lib/ti/dropbox.d.ts new file mode 100644 index 0000000000..000560becf --- /dev/null +++ b/types/react-icons/lib/ti/dropbox.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiDropbox extends React.Component { } diff --git a/types/react-icons/lib/ti/edit.d.ts b/types/react-icons/lib/ti/edit.d.ts new file mode 100644 index 0000000000..7a937ccd2a --- /dev/null +++ b/types/react-icons/lib/ti/edit.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiEdit extends React.Component { } diff --git a/types/react-icons/lib/ti/eject-outline.d.ts b/types/react-icons/lib/ti/eject-outline.d.ts new file mode 100644 index 0000000000..be15038312 --- /dev/null +++ b/types/react-icons/lib/ti/eject-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiEjectOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/eject.d.ts b/types/react-icons/lib/ti/eject.d.ts new file mode 100644 index 0000000000..3ad5cda1c4 --- /dev/null +++ b/types/react-icons/lib/ti/eject.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiEject extends React.Component { } diff --git a/types/react-icons/lib/ti/equals-outline.d.ts b/types/react-icons/lib/ti/equals-outline.d.ts new file mode 100644 index 0000000000..04e77346cc --- /dev/null +++ b/types/react-icons/lib/ti/equals-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiEqualsOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/equals.d.ts b/types/react-icons/lib/ti/equals.d.ts new file mode 100644 index 0000000000..231585549c --- /dev/null +++ b/types/react-icons/lib/ti/equals.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiEquals extends React.Component { } diff --git a/types/react-icons/lib/ti/export-outline.d.ts b/types/react-icons/lib/ti/export-outline.d.ts new file mode 100644 index 0000000000..4d51c29d1a --- /dev/null +++ b/types/react-icons/lib/ti/export-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiExportOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/export.d.ts b/types/react-icons/lib/ti/export.d.ts new file mode 100644 index 0000000000..fe71d72677 --- /dev/null +++ b/types/react-icons/lib/ti/export.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiExport extends React.Component { } diff --git a/types/react-icons/lib/ti/eye-outline.d.ts b/types/react-icons/lib/ti/eye-outline.d.ts new file mode 100644 index 0000000000..1956f13f4d --- /dev/null +++ b/types/react-icons/lib/ti/eye-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiEyeOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/eye.d.ts b/types/react-icons/lib/ti/eye.d.ts new file mode 100644 index 0000000000..810fdf7009 --- /dev/null +++ b/types/react-icons/lib/ti/eye.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiEye extends React.Component { } diff --git a/types/react-icons/lib/ti/feather.d.ts b/types/react-icons/lib/ti/feather.d.ts new file mode 100644 index 0000000000..b4a99ba3ec --- /dev/null +++ b/types/react-icons/lib/ti/feather.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiFeather extends React.Component { } diff --git a/types/react-icons/lib/ti/film.d.ts b/types/react-icons/lib/ti/film.d.ts new file mode 100644 index 0000000000..a035c6378d --- /dev/null +++ b/types/react-icons/lib/ti/film.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiFilm extends React.Component { } diff --git a/types/react-icons/lib/ti/filter.d.ts b/types/react-icons/lib/ti/filter.d.ts new file mode 100644 index 0000000000..f806a9034b --- /dev/null +++ b/types/react-icons/lib/ti/filter.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiFilter extends React.Component { } diff --git a/types/react-icons/lib/ti/flag-outline.d.ts b/types/react-icons/lib/ti/flag-outline.d.ts new file mode 100644 index 0000000000..164b221757 --- /dev/null +++ b/types/react-icons/lib/ti/flag-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiFlagOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/flag.d.ts b/types/react-icons/lib/ti/flag.d.ts new file mode 100644 index 0000000000..4aa2838c02 --- /dev/null +++ b/types/react-icons/lib/ti/flag.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiFlag extends React.Component { } diff --git a/types/react-icons/lib/ti/flash-outline.d.ts b/types/react-icons/lib/ti/flash-outline.d.ts new file mode 100644 index 0000000000..5acea29381 --- /dev/null +++ b/types/react-icons/lib/ti/flash-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiFlashOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/flash.d.ts b/types/react-icons/lib/ti/flash.d.ts new file mode 100644 index 0000000000..27bbe63a9d --- /dev/null +++ b/types/react-icons/lib/ti/flash.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiFlash extends React.Component { } diff --git a/types/react-icons/lib/ti/flow-children.d.ts b/types/react-icons/lib/ti/flow-children.d.ts new file mode 100644 index 0000000000..8e3a8a9246 --- /dev/null +++ b/types/react-icons/lib/ti/flow-children.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiFlowChildren extends React.Component { } diff --git a/types/react-icons/lib/ti/flow-merge.d.ts b/types/react-icons/lib/ti/flow-merge.d.ts new file mode 100644 index 0000000000..c479b08b53 --- /dev/null +++ b/types/react-icons/lib/ti/flow-merge.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiFlowMerge extends React.Component { } diff --git a/types/react-icons/lib/ti/flow-parallel.d.ts b/types/react-icons/lib/ti/flow-parallel.d.ts new file mode 100644 index 0000000000..4ed94844fc --- /dev/null +++ b/types/react-icons/lib/ti/flow-parallel.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiFlowParallel extends React.Component { } diff --git a/types/react-icons/lib/ti/flow-switch.d.ts b/types/react-icons/lib/ti/flow-switch.d.ts new file mode 100644 index 0000000000..8a68f856fa --- /dev/null +++ b/types/react-icons/lib/ti/flow-switch.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiFlowSwitch extends React.Component { } diff --git a/types/react-icons/lib/ti/folder-add.d.ts b/types/react-icons/lib/ti/folder-add.d.ts new file mode 100644 index 0000000000..83a709521a --- /dev/null +++ b/types/react-icons/lib/ti/folder-add.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiFolderAdd extends React.Component { } diff --git a/types/react-icons/lib/ti/folder-delete.d.ts b/types/react-icons/lib/ti/folder-delete.d.ts new file mode 100644 index 0000000000..bf96e60c12 --- /dev/null +++ b/types/react-icons/lib/ti/folder-delete.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiFolderDelete extends React.Component { } diff --git a/types/react-icons/lib/ti/folder-open.d.ts b/types/react-icons/lib/ti/folder-open.d.ts new file mode 100644 index 0000000000..3c0f2ab47f --- /dev/null +++ b/types/react-icons/lib/ti/folder-open.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiFolderOpen extends React.Component { } diff --git a/types/react-icons/lib/ti/folder.d.ts b/types/react-icons/lib/ti/folder.d.ts new file mode 100644 index 0000000000..b12e97b6c3 --- /dev/null +++ b/types/react-icons/lib/ti/folder.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiFolder extends React.Component { } diff --git a/types/react-icons/lib/ti/gift.d.ts b/types/react-icons/lib/ti/gift.d.ts new file mode 100644 index 0000000000..25e13a5038 --- /dev/null +++ b/types/react-icons/lib/ti/gift.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiGift extends React.Component { } diff --git a/types/react-icons/lib/ti/globe-outline.d.ts b/types/react-icons/lib/ti/globe-outline.d.ts new file mode 100644 index 0000000000..ee4d8cbb6b --- /dev/null +++ b/types/react-icons/lib/ti/globe-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiGlobeOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/globe.d.ts b/types/react-icons/lib/ti/globe.d.ts new file mode 100644 index 0000000000..30912a9f17 --- /dev/null +++ b/types/react-icons/lib/ti/globe.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiGlobe extends React.Component { } diff --git a/types/react-icons/lib/ti/group-outline.d.ts b/types/react-icons/lib/ti/group-outline.d.ts new file mode 100644 index 0000000000..621001d90e --- /dev/null +++ b/types/react-icons/lib/ti/group-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiGroupOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/group.d.ts b/types/react-icons/lib/ti/group.d.ts new file mode 100644 index 0000000000..bb5fcf8559 --- /dev/null +++ b/types/react-icons/lib/ti/group.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiGroup extends React.Component { } diff --git a/types/react-icons/lib/ti/headphones.d.ts b/types/react-icons/lib/ti/headphones.d.ts new file mode 100644 index 0000000000..90fb1a083f --- /dev/null +++ b/types/react-icons/lib/ti/headphones.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiHeadphones extends React.Component { } diff --git a/types/react-icons/lib/ti/heart-full-outline.d.ts b/types/react-icons/lib/ti/heart-full-outline.d.ts new file mode 100644 index 0000000000..8153a02133 --- /dev/null +++ b/types/react-icons/lib/ti/heart-full-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiHeartFullOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/heart-half-outline.d.ts b/types/react-icons/lib/ti/heart-half-outline.d.ts new file mode 100644 index 0000000000..9d7482079f --- /dev/null +++ b/types/react-icons/lib/ti/heart-half-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiHeartHalfOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/heart-outline.d.ts b/types/react-icons/lib/ti/heart-outline.d.ts new file mode 100644 index 0000000000..77ebb5ba4d --- /dev/null +++ b/types/react-icons/lib/ti/heart-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiHeartOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/heart.d.ts b/types/react-icons/lib/ti/heart.d.ts new file mode 100644 index 0000000000..edf26ea22d --- /dev/null +++ b/types/react-icons/lib/ti/heart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiHeart extends React.Component { } diff --git a/types/react-icons/lib/ti/home-outline.d.ts b/types/react-icons/lib/ti/home-outline.d.ts new file mode 100644 index 0000000000..aba8177146 --- /dev/null +++ b/types/react-icons/lib/ti/home-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiHomeOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/home.d.ts b/types/react-icons/lib/ti/home.d.ts new file mode 100644 index 0000000000..ffd2e0a744 --- /dev/null +++ b/types/react-icons/lib/ti/home.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiHome extends React.Component { } diff --git a/types/react-icons/lib/ti/html5.d.ts b/types/react-icons/lib/ti/html5.d.ts new file mode 100644 index 0000000000..7850028128 --- /dev/null +++ b/types/react-icons/lib/ti/html5.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiHtml5 extends React.Component { } diff --git a/types/react-icons/lib/ti/image-outline.d.ts b/types/react-icons/lib/ti/image-outline.d.ts new file mode 100644 index 0000000000..e8dabff924 --- /dev/null +++ b/types/react-icons/lib/ti/image-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiImageOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/image.d.ts b/types/react-icons/lib/ti/image.d.ts new file mode 100644 index 0000000000..f33b613d66 --- /dev/null +++ b/types/react-icons/lib/ti/image.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiImage extends React.Component { } diff --git a/types/react-icons/lib/ti/index.d.ts b/types/react-icons/lib/ti/index.d.ts new file mode 100644 index 0000000000..bbe2809f2e --- /dev/null +++ b/types/react-icons/lib/ti/index.d.ts @@ -0,0 +1,339 @@ +export { default as TiAdjustBrightness } from "./adjust-brightness"; +export { default as TiAdjustContrast } from "./adjust-contrast"; +export { default as TiAnchorOutline } from "./anchor-outline"; +export { default as TiAnchor } from "./anchor"; +export { default as TiArchive } from "./archive"; +export { default as TiArrowBackOutline } from "./arrow-back-outline"; +export { default as TiArrowBack } from "./arrow-back"; +export { default as TiArrowDownOutline } from "./arrow-down-outline"; +export { default as TiArrowDownThick } from "./arrow-down-thick"; +export { default as TiArrowDown } from "./arrow-down"; +export { default as TiArrowForwardOutline } from "./arrow-forward-outline"; +export { default as TiArrowForward } from "./arrow-forward"; +export { default as TiArrowLeftOutline } from "./arrow-left-outline"; +export { default as TiArrowLeftThick } from "./arrow-left-thick"; +export { default as TiArrowLeft } from "./arrow-left"; +export { default as TiArrowLoopOutline } from "./arrow-loop-outline"; +export { default as TiArrowLoop } from "./arrow-loop"; +export { default as TiArrowMaximiseOutline } from "./arrow-maximise-outline"; +export { default as TiArrowMaximise } from "./arrow-maximise"; +export { default as TiArrowMinimiseOutline } from "./arrow-minimise-outline"; +export { default as TiArrowMinimise } from "./arrow-minimise"; +export { default as TiArrowMoveOutline } from "./arrow-move-outline"; +export { default as TiArrowMove } from "./arrow-move"; +export { default as TiArrowRepeatOutline } from "./arrow-repeat-outline"; +export { default as TiArrowRepeat } from "./arrow-repeat"; +export { default as TiArrowRightOutline } from "./arrow-right-outline"; +export { default as TiArrowRightThick } from "./arrow-right-thick"; +export { default as TiArrowRight } from "./arrow-right"; +export { default as TiArrowShuffle } from "./arrow-shuffle"; +export { default as TiArrowSortedDown } from "./arrow-sorted-down"; +export { default as TiArrowSortedUp } from "./arrow-sorted-up"; +export { default as TiArrowSyncOutline } from "./arrow-sync-outline"; +export { default as TiArrowSync } from "./arrow-sync"; +export { default as TiArrowUnsorted } from "./arrow-unsorted"; +export { default as TiArrowUpOutline } from "./arrow-up-outline"; +export { default as TiArrowUpThick } from "./arrow-up-thick"; +export { default as TiArrowUp } from "./arrow-up"; +export { default as TiAt } from "./at"; +export { default as TiAttachmentOutline } from "./attachment-outline"; +export { default as TiAttachment } from "./attachment"; +export { default as TiBackspaceOutline } from "./backspace-outline"; +export { default as TiBackspace } from "./backspace"; +export { default as TiBatteryCharge } from "./battery-charge"; +export { default as TiBatteryFull } from "./battery-full"; +export { default as TiBatteryHigh } from "./battery-high"; +export { default as TiBatteryLow } from "./battery-low"; +export { default as TiBatteryMid } from "./battery-mid"; +export { default as TiBeaker } from "./beaker"; +export { default as TiBeer } from "./beer"; +export { default as TiBell } from "./bell"; +export { default as TiBook } from "./book"; +export { default as TiBookmark } from "./bookmark"; +export { default as TiBriefcase } from "./briefcase"; +export { default as TiBrush } from "./brush"; +export { default as TiBusinessCard } from "./business-card"; +export { default as TiCalculator } from "./calculator"; +export { default as TiCalendarOutline } from "./calendar-outline"; +export { default as TiCalendar } from "./calendar"; +export { default as TiCalenderOutline } from "./calender-outline"; +export { default as TiCalender } from "./calender"; +export { default as TiCameraOutline } from "./camera-outline"; +export { default as TiCamera } from "./camera"; +export { default as TiCancelOutline } from "./cancel-outline"; +export { default as TiCancel } from "./cancel"; +export { default as TiChartAreaOutline } from "./chart-area-outline"; +export { default as TiChartArea } from "./chart-area"; +export { default as TiChartBarOutline } from "./chart-bar-outline"; +export { default as TiChartBar } from "./chart-bar"; +export { default as TiChartLineOutline } from "./chart-line-outline"; +export { default as TiChartLine } from "./chart-line"; +export { default as TiChartPieOutline } from "./chart-pie-outline"; +export { default as TiChartPie } from "./chart-pie"; +export { default as TiChevronLeftOutline } from "./chevron-left-outline"; +export { default as TiChevronLeft } from "./chevron-left"; +export { default as TiChevronRightOutline } from "./chevron-right-outline"; +export { default as TiChevronRight } from "./chevron-right"; +export { default as TiClipboard } from "./clipboard"; +export { default as TiCloudStorageOutline } from "./cloud-storage-outline"; +export { default as TiCloudStorage } from "./cloud-storage"; +export { default as TiCodeOutline } from "./code-outline"; +export { default as TiCode } from "./code"; +export { default as TiCoffee } from "./coffee"; +export { default as TiCogOutline } from "./cog-outline"; +export { default as TiCog } from "./cog"; +export { default as TiCompass } from "./compass"; +export { default as TiContacts } from "./contacts"; +export { default as TiCreditCard } from "./credit-card"; +export { default as TiCross } from "./cross"; +export { default as TiCss3 } from "./css3"; +export { default as TiDatabase } from "./database"; +export { default as TiDeleteOutline } from "./delete-outline"; +export { default as TiDelete } from "./delete"; +export { default as TiDeviceDesktop } from "./device-desktop"; +export { default as TiDeviceLaptop } from "./device-laptop"; +export { default as TiDevicePhone } from "./device-phone"; +export { default as TiDeviceTablet } from "./device-tablet"; +export { default as TiDirections } from "./directions"; +export { default as TiDivideOutline } from "./divide-outline"; +export { default as TiDivide } from "./divide"; +export { default as TiDocumentAdd } from "./document-add"; +export { default as TiDocumentDelete } from "./document-delete"; +export { default as TiDocumentText } from "./document-text"; +export { default as TiDocument } from "./document"; +export { default as TiDownloadOutline } from "./download-outline"; +export { default as TiDownload } from "./download"; +export { default as TiDropbox } from "./dropbox"; +export { default as TiEdit } from "./edit"; +export { default as TiEjectOutline } from "./eject-outline"; +export { default as TiEject } from "./eject"; +export { default as TiEqualsOutline } from "./equals-outline"; +export { default as TiEquals } from "./equals"; +export { default as TiExportOutline } from "./export-outline"; +export { default as TiExport } from "./export"; +export { default as TiEyeOutline } from "./eye-outline"; +export { default as TiEye } from "./eye"; +export { default as TiFeather } from "./feather"; +export { default as TiFilm } from "./film"; +export { default as TiFilter } from "./filter"; +export { default as TiFlagOutline } from "./flag-outline"; +export { default as TiFlag } from "./flag"; +export { default as TiFlashOutline } from "./flash-outline"; +export { default as TiFlash } from "./flash"; +export { default as TiFlowChildren } from "./flow-children"; +export { default as TiFlowMerge } from "./flow-merge"; +export { default as TiFlowParallel } from "./flow-parallel"; +export { default as TiFlowSwitch } from "./flow-switch"; +export { default as TiFolderAdd } from "./folder-add"; +export { default as TiFolderDelete } from "./folder-delete"; +export { default as TiFolderOpen } from "./folder-open"; +export { default as TiFolder } from "./folder"; +export { default as TiGift } from "./gift"; +export { default as TiGlobeOutline } from "./globe-outline"; +export { default as TiGlobe } from "./globe"; +export { default as TiGroupOutline } from "./group-outline"; +export { default as TiGroup } from "./group"; +export { default as TiHeadphones } from "./headphones"; +export { default as TiHeartFullOutline } from "./heart-full-outline"; +export { default as TiHeartHalfOutline } from "./heart-half-outline"; +export { default as TiHeartOutline } from "./heart-outline"; +export { default as TiHeart } from "./heart"; +export { default as TiHomeOutline } from "./home-outline"; +export { default as TiHome } from "./home"; +export { default as TiHtml5 } from "./html5"; +export { default as TiImageOutline } from "./image-outline"; +export { default as TiImage } from "./image"; +export { default as TiInfinityOutline } from "./infinity-outline"; +export { default as TiInfinity } from "./infinity"; +export { default as TiInfoLargeOutline } from "./info-large-outline"; +export { default as TiInfoLarge } from "./info-large"; +export { default as TiInfoOutline } from "./info-outline"; +export { default as TiInfo } from "./info"; +export { default as TiInputCheckedOutline } from "./input-checked-outline"; +export { default as TiInputChecked } from "./input-checked"; +export { default as TiKeyOutline } from "./key-outline"; +export { default as TiKey } from "./key"; +export { default as TiKeyboard } from "./keyboard"; +export { default as TiLeaf } from "./leaf"; +export { default as TiLightbulb } from "./lightbulb"; +export { default as TiLinkOutline } from "./link-outline"; +export { default as TiLink } from "./link"; +export { default as TiLocationArrowOutline } from "./location-arrow-outline"; +export { default as TiLocationArrow } from "./location-arrow"; +export { default as TiLocationOutline } from "./location-outline"; +export { default as TiLocation } from "./location"; +export { default as TiLockClosedOutline } from "./lock-closed-outline"; +export { default as TiLockClosed } from "./lock-closed"; +export { default as TiLockOpenOutline } from "./lock-open-outline"; +export { default as TiLockOpen } from "./lock-open"; +export { default as TiMail } from "./mail"; +export { default as TiMap } from "./map"; +export { default as TiMediaEjectOutline } from "./media-eject-outline"; +export { default as TiMediaEject } from "./media-eject"; +export { default as TiMediaFastForwardOutline } from "./media-fast-forward-outline"; +export { default as TiMediaFastForward } from "./media-fast-forward"; +export { default as TiMediaPauseOutline } from "./media-pause-outline"; +export { default as TiMediaPause } from "./media-pause"; +export { default as TiMediaPlayOutline } from "./media-play-outline"; +export { default as TiMediaPlayReverseOutline } from "./media-play-reverse-outline"; +export { default as TiMediaPlayReverse } from "./media-play-reverse"; +export { default as TiMediaPlay } from "./media-play"; +export { default as TiMediaRecordOutline } from "./media-record-outline"; +export { default as TiMediaRecord } from "./media-record"; +export { default as TiMediaRewindOutline } from "./media-rewind-outline"; +export { default as TiMediaRewind } from "./media-rewind"; +export { default as TiMediaStopOutline } from "./media-stop-outline"; +export { default as TiMediaStop } from "./media-stop"; +export { default as TiMessageTyping } from "./message-typing"; +export { default as TiMessage } from "./message"; +export { default as TiMessages } from "./messages"; +export { default as TiMicrophoneOutline } from "./microphone-outline"; +export { default as TiMicrophone } from "./microphone"; +export { default as TiMinusOutline } from "./minus-outline"; +export { default as TiMinus } from "./minus"; +export { default as TiMortarBoard } from "./mortar-board"; +export { default as TiNews } from "./news"; +export { default as TiNotesOutline } from "./notes-outline"; +export { default as TiNotes } from "./notes"; +export { default as TiPen } from "./pen"; +export { default as TiPencil } from "./pencil"; +export { default as TiPhoneOutline } from "./phone-outline"; +export { default as TiPhone } from "./phone"; +export { default as TiPiOutline } from "./pi-outline"; +export { default as TiPi } from "./pi"; +export { default as TiPinOutline } from "./pin-outline"; +export { default as TiPin } from "./pin"; +export { default as TiPipette } from "./pipette"; +export { default as TiPlaneOutline } from "./plane-outline"; +export { default as TiPlane } from "./plane"; +export { default as TiPlug } from "./plug"; +export { default as TiPlusOutline } from "./plus-outline"; +export { default as TiPlus } from "./plus"; +export { default as TiPointOfInterestOutline } from "./point-of-interest-outline"; +export { default as TiPointOfInterest } from "./point-of-interest"; +export { default as TiPowerOutline } from "./power-outline"; +export { default as TiPower } from "./power"; +export { default as TiPrinter } from "./printer"; +export { default as TiPuzzleOutline } from "./puzzle-outline"; +export { default as TiPuzzle } from "./puzzle"; +export { default as TiRadarOutline } from "./radar-outline"; +export { default as TiRadar } from "./radar"; +export { default as TiRefreshOutline } from "./refresh-outline"; +export { default as TiRefresh } from "./refresh"; +export { default as TiRssOutline } from "./rss-outline"; +export { default as TiRss } from "./rss"; +export { default as TiScissorsOutline } from "./scissors-outline"; +export { default as TiScissors } from "./scissors"; +export { default as TiShoppingBag } from "./shopping-bag"; +export { default as TiShoppingCart } from "./shopping-cart"; +export { default as TiSocialAtCircular } from "./social-at-circular"; +export { default as TiSocialDribbbleCircular } from "./social-dribbble-circular"; +export { default as TiSocialDribbble } from "./social-dribbble"; +export { default as TiSocialFacebookCircular } from "./social-facebook-circular"; +export { default as TiSocialFacebook } from "./social-facebook"; +export { default as TiSocialFlickrCircular } from "./social-flickr-circular"; +export { default as TiSocialFlickr } from "./social-flickr"; +export { default as TiSocialGithubCircular } from "./social-github-circular"; +export { default as TiSocialGithub } from "./social-github"; +export { default as TiSocialGooglePlusCircular } from "./social-google-plus-circular"; +export { default as TiSocialGooglePlus } from "./social-google-plus"; +export { default as TiSocialInstagramCircular } from "./social-instagram-circular"; +export { default as TiSocialInstagram } from "./social-instagram"; +export { default as TiSocialLastFmCircular } from "./social-last-fm-circular"; +export { default as TiSocialLastFm } from "./social-last-fm"; +export { default as TiSocialLinkedinCircular } from "./social-linkedin-circular"; +export { default as TiSocialLinkedin } from "./social-linkedin"; +export { default as TiSocialPinterestCircular } from "./social-pinterest-circular"; +export { default as TiSocialPinterest } from "./social-pinterest"; +export { default as TiSocialSkypeOutline } from "./social-skype-outline"; +export { default as TiSocialSkype } from "./social-skype"; +export { default as TiSocialTumblerCircular } from "./social-tumbler-circular"; +export { default as TiSocialTumbler } from "./social-tumbler"; +export { default as TiSocialTwitterCircular } from "./social-twitter-circular"; +export { default as TiSocialTwitter } from "./social-twitter"; +export { default as TiSocialVimeoCircular } from "./social-vimeo-circular"; +export { default as TiSocialVimeo } from "./social-vimeo"; +export { default as TiSocialYoutubeCircular } from "./social-youtube-circular"; +export { default as TiSocialYoutube } from "./social-youtube"; +export { default as TiSortAlphabeticallyOutline } from "./sort-alphabetically-outline"; +export { default as TiSortAlphabetically } from "./sort-alphabetically"; +export { default as TiSortNumericallyOutline } from "./sort-numerically-outline"; +export { default as TiSortNumerically } from "./sort-numerically"; +export { default as TiSpannerOutline } from "./spanner-outline"; +export { default as TiSpanner } from "./spanner"; +export { default as TiSpiral } from "./spiral"; +export { default as TiStarFullOutline } from "./star-full-outline"; +export { default as TiStarHalfOutline } from "./star-half-outline"; +export { default as TiStarHalf } from "./star-half"; +export { default as TiStarOutline } from "./star-outline"; +export { default as TiStar } from "./star"; +export { default as TiStarburstOutline } from "./starburst-outline"; +export { default as TiStarburst } from "./starburst"; +export { default as TiStopwatch } from "./stopwatch"; +export { default as TiSupport } from "./support"; +export { default as TiTabsOutline } from "./tabs-outline"; +export { default as TiTag } from "./tag"; +export { default as TiTags } from "./tags"; +export { default as TiThLargeOutline } from "./th-large-outline"; +export { default as TiThLarge } from "./th-large"; +export { default as TiThListOutline } from "./th-list-outline"; +export { default as TiThList } from "./th-list"; +export { default as TiThMenuOutline } from "./th-menu-outline"; +export { default as TiThMenu } from "./th-menu"; +export { default as TiThSmallOutline } from "./th-small-outline"; +export { default as TiThSmall } from "./th-small"; +export { default as TiThermometer } from "./thermometer"; +export { default as TiThumbsDown } from "./thumbs-down"; +export { default as TiThumbsOk } from "./thumbs-ok"; +export { default as TiThumbsUp } from "./thumbs-up"; +export { default as TiTickOutline } from "./tick-outline"; +export { default as TiTick } from "./tick"; +export { default as TiTicket } from "./ticket"; +export { default as TiTime } from "./time"; +export { default as TiTimesOutline } from "./times-outline"; +export { default as TiTimes } from "./times"; +export { default as TiTrash } from "./trash"; +export { default as TiTree } from "./tree"; +export { default as TiUploadOutline } from "./upload-outline"; +export { default as TiUpload } from "./upload"; +export { default as TiUserAddOutline } from "./user-add-outline"; +export { default as TiUserAdd } from "./user-add"; +export { default as TiUserDeleteOutline } from "./user-delete-outline"; +export { default as TiUserDelete } from "./user-delete"; +export { default as TiUserOutline } from "./user-outline"; +export { default as TiUser } from "./user"; +export { default as TiVendorAndroid } from "./vendor-android"; +export { default as TiVendorApple } from "./vendor-apple"; +export { default as TiVendorMicrosoft } from "./vendor-microsoft"; +export { default as TiVideoOutline } from "./video-outline"; +export { default as TiVideo } from "./video"; +export { default as TiVolumeDown } from "./volume-down"; +export { default as TiVolumeMute } from "./volume-mute"; +export { default as TiVolumeUp } from "./volume-up"; +export { default as TiVolume } from "./volume"; +export { default as TiWarningOutline } from "./warning-outline"; +export { default as TiWarning } from "./warning"; +export { default as TiWatch } from "./watch"; +export { default as TiWavesOutline } from "./waves-outline"; +export { default as TiWaves } from "./waves"; +export { default as TiWeatherCloudy } from "./weather-cloudy"; +export { default as TiWeatherDownpour } from "./weather-downpour"; +export { default as TiWeatherNight } from "./weather-night"; +export { default as TiWeatherPartlySunny } from "./weather-partly-sunny"; +export { default as TiWeatherShower } from "./weather-shower"; +export { default as TiWeatherSnow } from "./weather-snow"; +export { default as TiWeatherStormy } from "./weather-stormy"; +export { default as TiWeatherSunny } from "./weather-sunny"; +export { default as TiWeatherWindyCloudy } from "./weather-windy-cloudy"; +export { default as TiWeatherWindy } from "./weather-windy"; +export { default as TiWiFiOutline } from "./wi-fi-outline"; +export { default as TiWiFi } from "./wi-fi"; +export { default as TiWine } from "./wine"; +export { default as TiWorldOutline } from "./world-outline"; +export { default as TiWorld } from "./world"; +export { default as TiZoomInOutline } from "./zoom-in-outline"; +export { default as TiZoomIn } from "./zoom-in"; +export { default as TiZoomOutOutline } from "./zoom-out-outline"; +export { default as TiZoomOut } from "./zoom-out"; +export { default as TiZoomOutline } from "./zoom-outline"; +export { default as TiZoom } from "./zoom"; diff --git a/types/react-icons/lib/ti/infinity-outline.d.ts b/types/react-icons/lib/ti/infinity-outline.d.ts new file mode 100644 index 0000000000..396db6cef4 --- /dev/null +++ b/types/react-icons/lib/ti/infinity-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiInfinityOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/infinity.d.ts b/types/react-icons/lib/ti/infinity.d.ts new file mode 100644 index 0000000000..e2e330678f --- /dev/null +++ b/types/react-icons/lib/ti/infinity.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiInfinity extends React.Component { } diff --git a/types/react-icons/lib/ti/info-large-outline.d.ts b/types/react-icons/lib/ti/info-large-outline.d.ts new file mode 100644 index 0000000000..3ff6a8be6c --- /dev/null +++ b/types/react-icons/lib/ti/info-large-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiInfoLargeOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/info-large.d.ts b/types/react-icons/lib/ti/info-large.d.ts new file mode 100644 index 0000000000..0ad4eb3b6a --- /dev/null +++ b/types/react-icons/lib/ti/info-large.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiInfoLarge extends React.Component { } diff --git a/types/react-icons/lib/ti/info-outline.d.ts b/types/react-icons/lib/ti/info-outline.d.ts new file mode 100644 index 0000000000..b80e266196 --- /dev/null +++ b/types/react-icons/lib/ti/info-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiInfoOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/info.d.ts b/types/react-icons/lib/ti/info.d.ts new file mode 100644 index 0000000000..ec2cd25bdf --- /dev/null +++ b/types/react-icons/lib/ti/info.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiInfo extends React.Component { } diff --git a/types/react-icons/lib/ti/input-checked-outline.d.ts b/types/react-icons/lib/ti/input-checked-outline.d.ts new file mode 100644 index 0000000000..91f4f396a0 --- /dev/null +++ b/types/react-icons/lib/ti/input-checked-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiInputCheckedOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/input-checked.d.ts b/types/react-icons/lib/ti/input-checked.d.ts new file mode 100644 index 0000000000..beb1227d76 --- /dev/null +++ b/types/react-icons/lib/ti/input-checked.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiInputChecked extends React.Component { } diff --git a/types/react-icons/lib/ti/key-outline.d.ts b/types/react-icons/lib/ti/key-outline.d.ts new file mode 100644 index 0000000000..0a2cac24a7 --- /dev/null +++ b/types/react-icons/lib/ti/key-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiKeyOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/key.d.ts b/types/react-icons/lib/ti/key.d.ts new file mode 100644 index 0000000000..c167c86f85 --- /dev/null +++ b/types/react-icons/lib/ti/key.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiKey extends React.Component { } diff --git a/types/react-icons/lib/ti/keyboard.d.ts b/types/react-icons/lib/ti/keyboard.d.ts new file mode 100644 index 0000000000..c936d0245d --- /dev/null +++ b/types/react-icons/lib/ti/keyboard.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiKeyboard extends React.Component { } diff --git a/types/react-icons/lib/ti/leaf.d.ts b/types/react-icons/lib/ti/leaf.d.ts new file mode 100644 index 0000000000..7b34567dde --- /dev/null +++ b/types/react-icons/lib/ti/leaf.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiLeaf extends React.Component { } diff --git a/types/react-icons/lib/ti/lightbulb.d.ts b/types/react-icons/lib/ti/lightbulb.d.ts new file mode 100644 index 0000000000..389a15ff3e --- /dev/null +++ b/types/react-icons/lib/ti/lightbulb.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiLightbulb extends React.Component { } diff --git a/types/react-icons/lib/ti/link-outline.d.ts b/types/react-icons/lib/ti/link-outline.d.ts new file mode 100644 index 0000000000..8aec8924d9 --- /dev/null +++ b/types/react-icons/lib/ti/link-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiLinkOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/link.d.ts b/types/react-icons/lib/ti/link.d.ts new file mode 100644 index 0000000000..7de0129e97 --- /dev/null +++ b/types/react-icons/lib/ti/link.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiLink extends React.Component { } diff --git a/types/react-icons/lib/ti/location-arrow-outline.d.ts b/types/react-icons/lib/ti/location-arrow-outline.d.ts new file mode 100644 index 0000000000..be73bc68bb --- /dev/null +++ b/types/react-icons/lib/ti/location-arrow-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiLocationArrowOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/location-arrow.d.ts b/types/react-icons/lib/ti/location-arrow.d.ts new file mode 100644 index 0000000000..c9fca74a46 --- /dev/null +++ b/types/react-icons/lib/ti/location-arrow.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiLocationArrow extends React.Component { } diff --git a/types/react-icons/lib/ti/location-outline.d.ts b/types/react-icons/lib/ti/location-outline.d.ts new file mode 100644 index 0000000000..5e33402d00 --- /dev/null +++ b/types/react-icons/lib/ti/location-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiLocationOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/location.d.ts b/types/react-icons/lib/ti/location.d.ts new file mode 100644 index 0000000000..4b2ad147b6 --- /dev/null +++ b/types/react-icons/lib/ti/location.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiLocation extends React.Component { } diff --git a/types/react-icons/lib/ti/lock-closed-outline.d.ts b/types/react-icons/lib/ti/lock-closed-outline.d.ts new file mode 100644 index 0000000000..df9d6ffaad --- /dev/null +++ b/types/react-icons/lib/ti/lock-closed-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiLockClosedOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/lock-closed.d.ts b/types/react-icons/lib/ti/lock-closed.d.ts new file mode 100644 index 0000000000..234cc40580 --- /dev/null +++ b/types/react-icons/lib/ti/lock-closed.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiLockClosed extends React.Component { } diff --git a/types/react-icons/lib/ti/lock-open-outline.d.ts b/types/react-icons/lib/ti/lock-open-outline.d.ts new file mode 100644 index 0000000000..380878a869 --- /dev/null +++ b/types/react-icons/lib/ti/lock-open-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiLockOpenOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/lock-open.d.ts b/types/react-icons/lib/ti/lock-open.d.ts new file mode 100644 index 0000000000..c4b51c68ee --- /dev/null +++ b/types/react-icons/lib/ti/lock-open.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiLockOpen extends React.Component { } diff --git a/types/react-icons/lib/ti/mail.d.ts b/types/react-icons/lib/ti/mail.d.ts new file mode 100644 index 0000000000..34979f6b13 --- /dev/null +++ b/types/react-icons/lib/ti/mail.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMail extends React.Component { } diff --git a/types/react-icons/lib/ti/map.d.ts b/types/react-icons/lib/ti/map.d.ts new file mode 100644 index 0000000000..8b8092f4e7 --- /dev/null +++ b/types/react-icons/lib/ti/map.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMap extends React.Component { } diff --git a/types/react-icons/lib/ti/media-eject-outline.d.ts b/types/react-icons/lib/ti/media-eject-outline.d.ts new file mode 100644 index 0000000000..d58fadb21b --- /dev/null +++ b/types/react-icons/lib/ti/media-eject-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMediaEjectOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/media-eject.d.ts b/types/react-icons/lib/ti/media-eject.d.ts new file mode 100644 index 0000000000..41a9baaea8 --- /dev/null +++ b/types/react-icons/lib/ti/media-eject.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMediaEject extends React.Component { } diff --git a/types/react-icons/lib/ti/media-fast-forward-outline.d.ts b/types/react-icons/lib/ti/media-fast-forward-outline.d.ts new file mode 100644 index 0000000000..8923d0fa44 --- /dev/null +++ b/types/react-icons/lib/ti/media-fast-forward-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMediaFastForwardOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/media-fast-forward.d.ts b/types/react-icons/lib/ti/media-fast-forward.d.ts new file mode 100644 index 0000000000..e53638bf62 --- /dev/null +++ b/types/react-icons/lib/ti/media-fast-forward.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMediaFastForward extends React.Component { } diff --git a/types/react-icons/lib/ti/media-pause-outline.d.ts b/types/react-icons/lib/ti/media-pause-outline.d.ts new file mode 100644 index 0000000000..e792f0c894 --- /dev/null +++ b/types/react-icons/lib/ti/media-pause-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMediaPauseOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/media-pause.d.ts b/types/react-icons/lib/ti/media-pause.d.ts new file mode 100644 index 0000000000..b24950b19c --- /dev/null +++ b/types/react-icons/lib/ti/media-pause.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMediaPause extends React.Component { } diff --git a/types/react-icons/lib/ti/media-play-outline.d.ts b/types/react-icons/lib/ti/media-play-outline.d.ts new file mode 100644 index 0000000000..8e024e323f --- /dev/null +++ b/types/react-icons/lib/ti/media-play-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMediaPlayOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/media-play-reverse-outline.d.ts b/types/react-icons/lib/ti/media-play-reverse-outline.d.ts new file mode 100644 index 0000000000..5594d646d8 --- /dev/null +++ b/types/react-icons/lib/ti/media-play-reverse-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMediaPlayReverseOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/media-play-reverse.d.ts b/types/react-icons/lib/ti/media-play-reverse.d.ts new file mode 100644 index 0000000000..26e71c1733 --- /dev/null +++ b/types/react-icons/lib/ti/media-play-reverse.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMediaPlayReverse extends React.Component { } diff --git a/types/react-icons/lib/ti/media-play.d.ts b/types/react-icons/lib/ti/media-play.d.ts new file mode 100644 index 0000000000..defa546ee7 --- /dev/null +++ b/types/react-icons/lib/ti/media-play.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMediaPlay extends React.Component { } diff --git a/types/react-icons/lib/ti/media-record-outline.d.ts b/types/react-icons/lib/ti/media-record-outline.d.ts new file mode 100644 index 0000000000..0761437451 --- /dev/null +++ b/types/react-icons/lib/ti/media-record-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMediaRecordOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/media-record.d.ts b/types/react-icons/lib/ti/media-record.d.ts new file mode 100644 index 0000000000..d924b105b6 --- /dev/null +++ b/types/react-icons/lib/ti/media-record.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMediaRecord extends React.Component { } diff --git a/types/react-icons/lib/ti/media-rewind-outline.d.ts b/types/react-icons/lib/ti/media-rewind-outline.d.ts new file mode 100644 index 0000000000..11de328095 --- /dev/null +++ b/types/react-icons/lib/ti/media-rewind-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMediaRewindOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/media-rewind.d.ts b/types/react-icons/lib/ti/media-rewind.d.ts new file mode 100644 index 0000000000..f0e7151590 --- /dev/null +++ b/types/react-icons/lib/ti/media-rewind.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMediaRewind extends React.Component { } diff --git a/types/react-icons/lib/ti/media-stop-outline.d.ts b/types/react-icons/lib/ti/media-stop-outline.d.ts new file mode 100644 index 0000000000..e8728ac857 --- /dev/null +++ b/types/react-icons/lib/ti/media-stop-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMediaStopOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/media-stop.d.ts b/types/react-icons/lib/ti/media-stop.d.ts new file mode 100644 index 0000000000..d38b31aa5a --- /dev/null +++ b/types/react-icons/lib/ti/media-stop.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMediaStop extends React.Component { } diff --git a/types/react-icons/lib/ti/message-typing.d.ts b/types/react-icons/lib/ti/message-typing.d.ts new file mode 100644 index 0000000000..2cb5497a4e --- /dev/null +++ b/types/react-icons/lib/ti/message-typing.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMessageTyping extends React.Component { } diff --git a/types/react-icons/lib/ti/message.d.ts b/types/react-icons/lib/ti/message.d.ts new file mode 100644 index 0000000000..9edcc4226a --- /dev/null +++ b/types/react-icons/lib/ti/message.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMessage extends React.Component { } diff --git a/types/react-icons/lib/ti/messages.d.ts b/types/react-icons/lib/ti/messages.d.ts new file mode 100644 index 0000000000..e21fdac0a4 --- /dev/null +++ b/types/react-icons/lib/ti/messages.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMessages extends React.Component { } diff --git a/types/react-icons/lib/ti/microphone-outline.d.ts b/types/react-icons/lib/ti/microphone-outline.d.ts new file mode 100644 index 0000000000..27e430bd72 --- /dev/null +++ b/types/react-icons/lib/ti/microphone-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMicrophoneOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/microphone.d.ts b/types/react-icons/lib/ti/microphone.d.ts new file mode 100644 index 0000000000..543db1b50a --- /dev/null +++ b/types/react-icons/lib/ti/microphone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMicrophone extends React.Component { } diff --git a/types/react-icons/lib/ti/minus-outline.d.ts b/types/react-icons/lib/ti/minus-outline.d.ts new file mode 100644 index 0000000000..99bb9fa7df --- /dev/null +++ b/types/react-icons/lib/ti/minus-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMinusOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/minus.d.ts b/types/react-icons/lib/ti/minus.d.ts new file mode 100644 index 0000000000..6239684cfa --- /dev/null +++ b/types/react-icons/lib/ti/minus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMinus extends React.Component { } diff --git a/types/react-icons/lib/ti/mortar-board.d.ts b/types/react-icons/lib/ti/mortar-board.d.ts new file mode 100644 index 0000000000..84d29d2b24 --- /dev/null +++ b/types/react-icons/lib/ti/mortar-board.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiMortarBoard extends React.Component { } diff --git a/types/react-icons/lib/ti/news.d.ts b/types/react-icons/lib/ti/news.d.ts new file mode 100644 index 0000000000..31c3f66c1e --- /dev/null +++ b/types/react-icons/lib/ti/news.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiNews extends React.Component { } diff --git a/types/react-icons/lib/ti/notes-outline.d.ts b/types/react-icons/lib/ti/notes-outline.d.ts new file mode 100644 index 0000000000..4613ba38af --- /dev/null +++ b/types/react-icons/lib/ti/notes-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiNotesOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/notes.d.ts b/types/react-icons/lib/ti/notes.d.ts new file mode 100644 index 0000000000..5d2b4160f1 --- /dev/null +++ b/types/react-icons/lib/ti/notes.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiNotes extends React.Component { } diff --git a/types/react-icons/lib/ti/pen.d.ts b/types/react-icons/lib/ti/pen.d.ts new file mode 100644 index 0000000000..79b4e72f1a --- /dev/null +++ b/types/react-icons/lib/ti/pen.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPen extends React.Component { } diff --git a/types/react-icons/lib/ti/pencil.d.ts b/types/react-icons/lib/ti/pencil.d.ts new file mode 100644 index 0000000000..b8726f9010 --- /dev/null +++ b/types/react-icons/lib/ti/pencil.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPencil extends React.Component { } diff --git a/types/react-icons/lib/ti/phone-outline.d.ts b/types/react-icons/lib/ti/phone-outline.d.ts new file mode 100644 index 0000000000..d84b152351 --- /dev/null +++ b/types/react-icons/lib/ti/phone-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPhoneOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/phone.d.ts b/types/react-icons/lib/ti/phone.d.ts new file mode 100644 index 0000000000..af3eb027a1 --- /dev/null +++ b/types/react-icons/lib/ti/phone.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPhone extends React.Component { } diff --git a/types/react-icons/lib/ti/pi-outline.d.ts b/types/react-icons/lib/ti/pi-outline.d.ts new file mode 100644 index 0000000000..4327e47c3d --- /dev/null +++ b/types/react-icons/lib/ti/pi-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPiOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/pi.d.ts b/types/react-icons/lib/ti/pi.d.ts new file mode 100644 index 0000000000..d68aefa610 --- /dev/null +++ b/types/react-icons/lib/ti/pi.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPi extends React.Component { } diff --git a/types/react-icons/lib/ti/pin-outline.d.ts b/types/react-icons/lib/ti/pin-outline.d.ts new file mode 100644 index 0000000000..5a8943532e --- /dev/null +++ b/types/react-icons/lib/ti/pin-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPinOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/pin.d.ts b/types/react-icons/lib/ti/pin.d.ts new file mode 100644 index 0000000000..8d887edc98 --- /dev/null +++ b/types/react-icons/lib/ti/pin.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPin extends React.Component { } diff --git a/types/react-icons/lib/ti/pipette.d.ts b/types/react-icons/lib/ti/pipette.d.ts new file mode 100644 index 0000000000..4f48d8afd3 --- /dev/null +++ b/types/react-icons/lib/ti/pipette.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPipette extends React.Component { } diff --git a/types/react-icons/lib/ti/plane-outline.d.ts b/types/react-icons/lib/ti/plane-outline.d.ts new file mode 100644 index 0000000000..ea4ac38deb --- /dev/null +++ b/types/react-icons/lib/ti/plane-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPlaneOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/plane.d.ts b/types/react-icons/lib/ti/plane.d.ts new file mode 100644 index 0000000000..13e32cab40 --- /dev/null +++ b/types/react-icons/lib/ti/plane.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPlane extends React.Component { } diff --git a/types/react-icons/lib/ti/plug.d.ts b/types/react-icons/lib/ti/plug.d.ts new file mode 100644 index 0000000000..019e4adc15 --- /dev/null +++ b/types/react-icons/lib/ti/plug.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPlug extends React.Component { } diff --git a/types/react-icons/lib/ti/plus-outline.d.ts b/types/react-icons/lib/ti/plus-outline.d.ts new file mode 100644 index 0000000000..22ec83aedd --- /dev/null +++ b/types/react-icons/lib/ti/plus-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPlusOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/plus.d.ts b/types/react-icons/lib/ti/plus.d.ts new file mode 100644 index 0000000000..247f279571 --- /dev/null +++ b/types/react-icons/lib/ti/plus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPlus extends React.Component { } diff --git a/types/react-icons/lib/ti/point-of-interest-outline.d.ts b/types/react-icons/lib/ti/point-of-interest-outline.d.ts new file mode 100644 index 0000000000..63cfa579e5 --- /dev/null +++ b/types/react-icons/lib/ti/point-of-interest-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPointOfInterestOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/point-of-interest.d.ts b/types/react-icons/lib/ti/point-of-interest.d.ts new file mode 100644 index 0000000000..a5d480400c --- /dev/null +++ b/types/react-icons/lib/ti/point-of-interest.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPointOfInterest extends React.Component { } diff --git a/types/react-icons/lib/ti/power-outline.d.ts b/types/react-icons/lib/ti/power-outline.d.ts new file mode 100644 index 0000000000..52f6a2262c --- /dev/null +++ b/types/react-icons/lib/ti/power-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPowerOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/power.d.ts b/types/react-icons/lib/ti/power.d.ts new file mode 100644 index 0000000000..64dfece1af --- /dev/null +++ b/types/react-icons/lib/ti/power.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPower extends React.Component { } diff --git a/types/react-icons/lib/ti/printer.d.ts b/types/react-icons/lib/ti/printer.d.ts new file mode 100644 index 0000000000..556a9f07db --- /dev/null +++ b/types/react-icons/lib/ti/printer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPrinter extends React.Component { } diff --git a/types/react-icons/lib/ti/puzzle-outline.d.ts b/types/react-icons/lib/ti/puzzle-outline.d.ts new file mode 100644 index 0000000000..4a7341192a --- /dev/null +++ b/types/react-icons/lib/ti/puzzle-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPuzzleOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/puzzle.d.ts b/types/react-icons/lib/ti/puzzle.d.ts new file mode 100644 index 0000000000..a0c57f6b0e --- /dev/null +++ b/types/react-icons/lib/ti/puzzle.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiPuzzle extends React.Component { } diff --git a/types/react-icons/lib/ti/radar-outline.d.ts b/types/react-icons/lib/ti/radar-outline.d.ts new file mode 100644 index 0000000000..aad8289852 --- /dev/null +++ b/types/react-icons/lib/ti/radar-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiRadarOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/radar.d.ts b/types/react-icons/lib/ti/radar.d.ts new file mode 100644 index 0000000000..b98c278714 --- /dev/null +++ b/types/react-icons/lib/ti/radar.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiRadar extends React.Component { } diff --git a/types/react-icons/lib/ti/refresh-outline.d.ts b/types/react-icons/lib/ti/refresh-outline.d.ts new file mode 100644 index 0000000000..38d77c5598 --- /dev/null +++ b/types/react-icons/lib/ti/refresh-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiRefreshOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/refresh.d.ts b/types/react-icons/lib/ti/refresh.d.ts new file mode 100644 index 0000000000..6aeba2082a --- /dev/null +++ b/types/react-icons/lib/ti/refresh.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiRefresh extends React.Component { } diff --git a/types/react-icons/lib/ti/rss-outline.d.ts b/types/react-icons/lib/ti/rss-outline.d.ts new file mode 100644 index 0000000000..0b31e05198 --- /dev/null +++ b/types/react-icons/lib/ti/rss-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiRssOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/rss.d.ts b/types/react-icons/lib/ti/rss.d.ts new file mode 100644 index 0000000000..13f61bf841 --- /dev/null +++ b/types/react-icons/lib/ti/rss.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiRss extends React.Component { } diff --git a/types/react-icons/lib/ti/scissors-outline.d.ts b/types/react-icons/lib/ti/scissors-outline.d.ts new file mode 100644 index 0000000000..82b195b7bd --- /dev/null +++ b/types/react-icons/lib/ti/scissors-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiScissorsOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/scissors.d.ts b/types/react-icons/lib/ti/scissors.d.ts new file mode 100644 index 0000000000..da6f78e767 --- /dev/null +++ b/types/react-icons/lib/ti/scissors.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiScissors extends React.Component { } diff --git a/types/react-icons/lib/ti/shopping-bag.d.ts b/types/react-icons/lib/ti/shopping-bag.d.ts new file mode 100644 index 0000000000..6de75d8f81 --- /dev/null +++ b/types/react-icons/lib/ti/shopping-bag.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiShoppingBag extends React.Component { } diff --git a/types/react-icons/lib/ti/shopping-cart.d.ts b/types/react-icons/lib/ti/shopping-cart.d.ts new file mode 100644 index 0000000000..2364dc03ba --- /dev/null +++ b/types/react-icons/lib/ti/shopping-cart.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiShoppingCart extends React.Component { } diff --git a/types/react-icons/lib/ti/social-at-circular.d.ts b/types/react-icons/lib/ti/social-at-circular.d.ts new file mode 100644 index 0000000000..2c2fcee614 --- /dev/null +++ b/types/react-icons/lib/ti/social-at-circular.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialAtCircular extends React.Component { } diff --git a/types/react-icons/lib/ti/social-dribbble-circular.d.ts b/types/react-icons/lib/ti/social-dribbble-circular.d.ts new file mode 100644 index 0000000000..7e7ddc450a --- /dev/null +++ b/types/react-icons/lib/ti/social-dribbble-circular.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialDribbbleCircular extends React.Component { } diff --git a/types/react-icons/lib/ti/social-dribbble.d.ts b/types/react-icons/lib/ti/social-dribbble.d.ts new file mode 100644 index 0000000000..b47018320f --- /dev/null +++ b/types/react-icons/lib/ti/social-dribbble.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialDribbble extends React.Component { } diff --git a/types/react-icons/lib/ti/social-facebook-circular.d.ts b/types/react-icons/lib/ti/social-facebook-circular.d.ts new file mode 100644 index 0000000000..e9863905d3 --- /dev/null +++ b/types/react-icons/lib/ti/social-facebook-circular.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialFacebookCircular extends React.Component { } diff --git a/types/react-icons/lib/ti/social-facebook.d.ts b/types/react-icons/lib/ti/social-facebook.d.ts new file mode 100644 index 0000000000..982ae3d78c --- /dev/null +++ b/types/react-icons/lib/ti/social-facebook.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialFacebook extends React.Component { } diff --git a/types/react-icons/lib/ti/social-flickr-circular.d.ts b/types/react-icons/lib/ti/social-flickr-circular.d.ts new file mode 100644 index 0000000000..4c7b97dce4 --- /dev/null +++ b/types/react-icons/lib/ti/social-flickr-circular.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialFlickrCircular extends React.Component { } diff --git a/types/react-icons/lib/ti/social-flickr.d.ts b/types/react-icons/lib/ti/social-flickr.d.ts new file mode 100644 index 0000000000..ab945e0965 --- /dev/null +++ b/types/react-icons/lib/ti/social-flickr.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialFlickr extends React.Component { } diff --git a/types/react-icons/lib/ti/social-github-circular.d.ts b/types/react-icons/lib/ti/social-github-circular.d.ts new file mode 100644 index 0000000000..1db20eba35 --- /dev/null +++ b/types/react-icons/lib/ti/social-github-circular.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialGithubCircular extends React.Component { } diff --git a/types/react-icons/lib/ti/social-github.d.ts b/types/react-icons/lib/ti/social-github.d.ts new file mode 100644 index 0000000000..d2f3b8f628 --- /dev/null +++ b/types/react-icons/lib/ti/social-github.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialGithub extends React.Component { } diff --git a/types/react-icons/lib/ti/social-google-plus-circular.d.ts b/types/react-icons/lib/ti/social-google-plus-circular.d.ts new file mode 100644 index 0000000000..7fd96cf1b4 --- /dev/null +++ b/types/react-icons/lib/ti/social-google-plus-circular.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialGooglePlusCircular extends React.Component { } diff --git a/types/react-icons/lib/ti/social-google-plus.d.ts b/types/react-icons/lib/ti/social-google-plus.d.ts new file mode 100644 index 0000000000..977e3bb738 --- /dev/null +++ b/types/react-icons/lib/ti/social-google-plus.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialGooglePlus extends React.Component { } diff --git a/types/react-icons/lib/ti/social-instagram-circular.d.ts b/types/react-icons/lib/ti/social-instagram-circular.d.ts new file mode 100644 index 0000000000..ef7e9ea9f1 --- /dev/null +++ b/types/react-icons/lib/ti/social-instagram-circular.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialInstagramCircular extends React.Component { } diff --git a/types/react-icons/lib/ti/social-instagram.d.ts b/types/react-icons/lib/ti/social-instagram.d.ts new file mode 100644 index 0000000000..ff4d5d3346 --- /dev/null +++ b/types/react-icons/lib/ti/social-instagram.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialInstagram extends React.Component { } diff --git a/types/react-icons/lib/ti/social-last-fm-circular.d.ts b/types/react-icons/lib/ti/social-last-fm-circular.d.ts new file mode 100644 index 0000000000..38e8fc08be --- /dev/null +++ b/types/react-icons/lib/ti/social-last-fm-circular.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialLastFmCircular extends React.Component { } diff --git a/types/react-icons/lib/ti/social-last-fm.d.ts b/types/react-icons/lib/ti/social-last-fm.d.ts new file mode 100644 index 0000000000..fde2b626cc --- /dev/null +++ b/types/react-icons/lib/ti/social-last-fm.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialLastFm extends React.Component { } diff --git a/types/react-icons/lib/ti/social-linkedin-circular.d.ts b/types/react-icons/lib/ti/social-linkedin-circular.d.ts new file mode 100644 index 0000000000..32b5ba1add --- /dev/null +++ b/types/react-icons/lib/ti/social-linkedin-circular.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialLinkedinCircular extends React.Component { } diff --git a/types/react-icons/lib/ti/social-linkedin.d.ts b/types/react-icons/lib/ti/social-linkedin.d.ts new file mode 100644 index 0000000000..6a4f1b264b --- /dev/null +++ b/types/react-icons/lib/ti/social-linkedin.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialLinkedin extends React.Component { } diff --git a/types/react-icons/lib/ti/social-pinterest-circular.d.ts b/types/react-icons/lib/ti/social-pinterest-circular.d.ts new file mode 100644 index 0000000000..4278c08e25 --- /dev/null +++ b/types/react-icons/lib/ti/social-pinterest-circular.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialPinterestCircular extends React.Component { } diff --git a/types/react-icons/lib/ti/social-pinterest.d.ts b/types/react-icons/lib/ti/social-pinterest.d.ts new file mode 100644 index 0000000000..1544d9d0ff --- /dev/null +++ b/types/react-icons/lib/ti/social-pinterest.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialPinterest extends React.Component { } diff --git a/types/react-icons/lib/ti/social-skype-outline.d.ts b/types/react-icons/lib/ti/social-skype-outline.d.ts new file mode 100644 index 0000000000..7bc87167e4 --- /dev/null +++ b/types/react-icons/lib/ti/social-skype-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialSkypeOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/social-skype.d.ts b/types/react-icons/lib/ti/social-skype.d.ts new file mode 100644 index 0000000000..1c62817e98 --- /dev/null +++ b/types/react-icons/lib/ti/social-skype.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialSkype extends React.Component { } diff --git a/types/react-icons/lib/ti/social-tumbler-circular.d.ts b/types/react-icons/lib/ti/social-tumbler-circular.d.ts new file mode 100644 index 0000000000..1d5823a418 --- /dev/null +++ b/types/react-icons/lib/ti/social-tumbler-circular.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialTumblerCircular extends React.Component { } diff --git a/types/react-icons/lib/ti/social-tumbler.d.ts b/types/react-icons/lib/ti/social-tumbler.d.ts new file mode 100644 index 0000000000..25826e8f98 --- /dev/null +++ b/types/react-icons/lib/ti/social-tumbler.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialTumbler extends React.Component { } diff --git a/types/react-icons/lib/ti/social-twitter-circular.d.ts b/types/react-icons/lib/ti/social-twitter-circular.d.ts new file mode 100644 index 0000000000..951a8a90ac --- /dev/null +++ b/types/react-icons/lib/ti/social-twitter-circular.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialTwitterCircular extends React.Component { } diff --git a/types/react-icons/lib/ti/social-twitter.d.ts b/types/react-icons/lib/ti/social-twitter.d.ts new file mode 100644 index 0000000000..2f5d6e6fe2 --- /dev/null +++ b/types/react-icons/lib/ti/social-twitter.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialTwitter extends React.Component { } diff --git a/types/react-icons/lib/ti/social-vimeo-circular.d.ts b/types/react-icons/lib/ti/social-vimeo-circular.d.ts new file mode 100644 index 0000000000..a161f647e2 --- /dev/null +++ b/types/react-icons/lib/ti/social-vimeo-circular.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialVimeoCircular extends React.Component { } diff --git a/types/react-icons/lib/ti/social-vimeo.d.ts b/types/react-icons/lib/ti/social-vimeo.d.ts new file mode 100644 index 0000000000..20a6fe4e96 --- /dev/null +++ b/types/react-icons/lib/ti/social-vimeo.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialVimeo extends React.Component { } diff --git a/types/react-icons/lib/ti/social-youtube-circular.d.ts b/types/react-icons/lib/ti/social-youtube-circular.d.ts new file mode 100644 index 0000000000..5373438d05 --- /dev/null +++ b/types/react-icons/lib/ti/social-youtube-circular.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialYoutubeCircular extends React.Component { } diff --git a/types/react-icons/lib/ti/social-youtube.d.ts b/types/react-icons/lib/ti/social-youtube.d.ts new file mode 100644 index 0000000000..6040ccbd2e --- /dev/null +++ b/types/react-icons/lib/ti/social-youtube.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSocialYoutube extends React.Component { } diff --git a/types/react-icons/lib/ti/sort-alphabetically-outline.d.ts b/types/react-icons/lib/ti/sort-alphabetically-outline.d.ts new file mode 100644 index 0000000000..b822906e2c --- /dev/null +++ b/types/react-icons/lib/ti/sort-alphabetically-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSortAlphabeticallyOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/sort-alphabetically.d.ts b/types/react-icons/lib/ti/sort-alphabetically.d.ts new file mode 100644 index 0000000000..75a9622393 --- /dev/null +++ b/types/react-icons/lib/ti/sort-alphabetically.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSortAlphabetically extends React.Component { } diff --git a/types/react-icons/lib/ti/sort-numerically-outline.d.ts b/types/react-icons/lib/ti/sort-numerically-outline.d.ts new file mode 100644 index 0000000000..e279726f0c --- /dev/null +++ b/types/react-icons/lib/ti/sort-numerically-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSortNumericallyOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/sort-numerically.d.ts b/types/react-icons/lib/ti/sort-numerically.d.ts new file mode 100644 index 0000000000..d514d789f3 --- /dev/null +++ b/types/react-icons/lib/ti/sort-numerically.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSortNumerically extends React.Component { } diff --git a/types/react-icons/lib/ti/spanner-outline.d.ts b/types/react-icons/lib/ti/spanner-outline.d.ts new file mode 100644 index 0000000000..424e07581a --- /dev/null +++ b/types/react-icons/lib/ti/spanner-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSpannerOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/spanner.d.ts b/types/react-icons/lib/ti/spanner.d.ts new file mode 100644 index 0000000000..bcfc2421d2 --- /dev/null +++ b/types/react-icons/lib/ti/spanner.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSpanner extends React.Component { } diff --git a/types/react-icons/lib/ti/spiral.d.ts b/types/react-icons/lib/ti/spiral.d.ts new file mode 100644 index 0000000000..f35df30ad0 --- /dev/null +++ b/types/react-icons/lib/ti/spiral.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSpiral extends React.Component { } diff --git a/types/react-icons/lib/ti/star-full-outline.d.ts b/types/react-icons/lib/ti/star-full-outline.d.ts new file mode 100644 index 0000000000..f1c40795ae --- /dev/null +++ b/types/react-icons/lib/ti/star-full-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiStarFullOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/star-half-outline.d.ts b/types/react-icons/lib/ti/star-half-outline.d.ts new file mode 100644 index 0000000000..4e93ae767e --- /dev/null +++ b/types/react-icons/lib/ti/star-half-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiStarHalfOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/star-half.d.ts b/types/react-icons/lib/ti/star-half.d.ts new file mode 100644 index 0000000000..b9409290f7 --- /dev/null +++ b/types/react-icons/lib/ti/star-half.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiStarHalf extends React.Component { } diff --git a/types/react-icons/lib/ti/star-outline.d.ts b/types/react-icons/lib/ti/star-outline.d.ts new file mode 100644 index 0000000000..c5c504aec6 --- /dev/null +++ b/types/react-icons/lib/ti/star-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiStarOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/star.d.ts b/types/react-icons/lib/ti/star.d.ts new file mode 100644 index 0000000000..6c7cfe125b --- /dev/null +++ b/types/react-icons/lib/ti/star.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiStar extends React.Component { } diff --git a/types/react-icons/lib/ti/starburst-outline.d.ts b/types/react-icons/lib/ti/starburst-outline.d.ts new file mode 100644 index 0000000000..621a50c206 --- /dev/null +++ b/types/react-icons/lib/ti/starburst-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiStarburstOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/starburst.d.ts b/types/react-icons/lib/ti/starburst.d.ts new file mode 100644 index 0000000000..5deb65f908 --- /dev/null +++ b/types/react-icons/lib/ti/starburst.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiStarburst extends React.Component { } diff --git a/types/react-icons/lib/ti/stopwatch.d.ts b/types/react-icons/lib/ti/stopwatch.d.ts new file mode 100644 index 0000000000..2433dc6b21 --- /dev/null +++ b/types/react-icons/lib/ti/stopwatch.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiStopwatch extends React.Component { } diff --git a/types/react-icons/lib/ti/support.d.ts b/types/react-icons/lib/ti/support.d.ts new file mode 100644 index 0000000000..629e7c1596 --- /dev/null +++ b/types/react-icons/lib/ti/support.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiSupport extends React.Component { } diff --git a/types/react-icons/lib/ti/tabs-outline.d.ts b/types/react-icons/lib/ti/tabs-outline.d.ts new file mode 100644 index 0000000000..a3debbbc0a --- /dev/null +++ b/types/react-icons/lib/ti/tabs-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiTabsOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/tag.d.ts b/types/react-icons/lib/ti/tag.d.ts new file mode 100644 index 0000000000..ec88c4ff81 --- /dev/null +++ b/types/react-icons/lib/ti/tag.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiTag extends React.Component { } diff --git a/types/react-icons/lib/ti/tags.d.ts b/types/react-icons/lib/ti/tags.d.ts new file mode 100644 index 0000000000..a0e4a1a154 --- /dev/null +++ b/types/react-icons/lib/ti/tags.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiTags extends React.Component { } diff --git a/types/react-icons/lib/ti/th-large-outline.d.ts b/types/react-icons/lib/ti/th-large-outline.d.ts new file mode 100644 index 0000000000..652b61667c --- /dev/null +++ b/types/react-icons/lib/ti/th-large-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiThLargeOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/th-large.d.ts b/types/react-icons/lib/ti/th-large.d.ts new file mode 100644 index 0000000000..bde15e269a --- /dev/null +++ b/types/react-icons/lib/ti/th-large.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiThLarge extends React.Component { } diff --git a/types/react-icons/lib/ti/th-list-outline.d.ts b/types/react-icons/lib/ti/th-list-outline.d.ts new file mode 100644 index 0000000000..a906b52c05 --- /dev/null +++ b/types/react-icons/lib/ti/th-list-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiThListOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/th-list.d.ts b/types/react-icons/lib/ti/th-list.d.ts new file mode 100644 index 0000000000..ebb6163713 --- /dev/null +++ b/types/react-icons/lib/ti/th-list.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiThList extends React.Component { } diff --git a/types/react-icons/lib/ti/th-menu-outline.d.ts b/types/react-icons/lib/ti/th-menu-outline.d.ts new file mode 100644 index 0000000000..df09e4456f --- /dev/null +++ b/types/react-icons/lib/ti/th-menu-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiThMenuOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/th-menu.d.ts b/types/react-icons/lib/ti/th-menu.d.ts new file mode 100644 index 0000000000..e03eadc959 --- /dev/null +++ b/types/react-icons/lib/ti/th-menu.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiThMenu extends React.Component { } diff --git a/types/react-icons/lib/ti/th-small-outline.d.ts b/types/react-icons/lib/ti/th-small-outline.d.ts new file mode 100644 index 0000000000..995c8c1f88 --- /dev/null +++ b/types/react-icons/lib/ti/th-small-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiThSmallOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/th-small.d.ts b/types/react-icons/lib/ti/th-small.d.ts new file mode 100644 index 0000000000..332f49b3f1 --- /dev/null +++ b/types/react-icons/lib/ti/th-small.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiThSmall extends React.Component { } diff --git a/types/react-icons/lib/ti/thermometer.d.ts b/types/react-icons/lib/ti/thermometer.d.ts new file mode 100644 index 0000000000..771653ad7b --- /dev/null +++ b/types/react-icons/lib/ti/thermometer.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiThermometer extends React.Component { } diff --git a/types/react-icons/lib/ti/thumbs-down.d.ts b/types/react-icons/lib/ti/thumbs-down.d.ts new file mode 100644 index 0000000000..bb60d7aaa9 --- /dev/null +++ b/types/react-icons/lib/ti/thumbs-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiThumbsDown extends React.Component { } diff --git a/types/react-icons/lib/ti/thumbs-ok.d.ts b/types/react-icons/lib/ti/thumbs-ok.d.ts new file mode 100644 index 0000000000..610f5a2633 --- /dev/null +++ b/types/react-icons/lib/ti/thumbs-ok.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiThumbsOk extends React.Component { } diff --git a/types/react-icons/lib/ti/thumbs-up.d.ts b/types/react-icons/lib/ti/thumbs-up.d.ts new file mode 100644 index 0000000000..01747a7a8b --- /dev/null +++ b/types/react-icons/lib/ti/thumbs-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiThumbsUp extends React.Component { } diff --git a/types/react-icons/lib/ti/tick-outline.d.ts b/types/react-icons/lib/ti/tick-outline.d.ts new file mode 100644 index 0000000000..8c8fd0025c --- /dev/null +++ b/types/react-icons/lib/ti/tick-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiTickOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/tick.d.ts b/types/react-icons/lib/ti/tick.d.ts new file mode 100644 index 0000000000..fc06a6fe51 --- /dev/null +++ b/types/react-icons/lib/ti/tick.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiTick extends React.Component { } diff --git a/types/react-icons/lib/ti/ticket.d.ts b/types/react-icons/lib/ti/ticket.d.ts new file mode 100644 index 0000000000..3248f1018c --- /dev/null +++ b/types/react-icons/lib/ti/ticket.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiTicket extends React.Component { } diff --git a/types/react-icons/lib/ti/time.d.ts b/types/react-icons/lib/ti/time.d.ts new file mode 100644 index 0000000000..fd09903b66 --- /dev/null +++ b/types/react-icons/lib/ti/time.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiTime extends React.Component { } diff --git a/types/react-icons/lib/ti/times-outline.d.ts b/types/react-icons/lib/ti/times-outline.d.ts new file mode 100644 index 0000000000..52fd65e3ba --- /dev/null +++ b/types/react-icons/lib/ti/times-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiTimesOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/times.d.ts b/types/react-icons/lib/ti/times.d.ts new file mode 100644 index 0000000000..1b60d77610 --- /dev/null +++ b/types/react-icons/lib/ti/times.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiTimes extends React.Component { } diff --git a/types/react-icons/lib/ti/trash.d.ts b/types/react-icons/lib/ti/trash.d.ts new file mode 100644 index 0000000000..2772532c76 --- /dev/null +++ b/types/react-icons/lib/ti/trash.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiTrash extends React.Component { } diff --git a/types/react-icons/lib/ti/tree.d.ts b/types/react-icons/lib/ti/tree.d.ts new file mode 100644 index 0000000000..a0f46de32e --- /dev/null +++ b/types/react-icons/lib/ti/tree.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiTree extends React.Component { } diff --git a/types/react-icons/lib/ti/upload-outline.d.ts b/types/react-icons/lib/ti/upload-outline.d.ts new file mode 100644 index 0000000000..541435783e --- /dev/null +++ b/types/react-icons/lib/ti/upload-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiUploadOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/upload.d.ts b/types/react-icons/lib/ti/upload.d.ts new file mode 100644 index 0000000000..5875c4576b --- /dev/null +++ b/types/react-icons/lib/ti/upload.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiUpload extends React.Component { } diff --git a/types/react-icons/lib/ti/user-add-outline.d.ts b/types/react-icons/lib/ti/user-add-outline.d.ts new file mode 100644 index 0000000000..80590bcdaa --- /dev/null +++ b/types/react-icons/lib/ti/user-add-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiUserAddOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/user-add.d.ts b/types/react-icons/lib/ti/user-add.d.ts new file mode 100644 index 0000000000..18d297cb33 --- /dev/null +++ b/types/react-icons/lib/ti/user-add.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiUserAdd extends React.Component { } diff --git a/types/react-icons/lib/ti/user-delete-outline.d.ts b/types/react-icons/lib/ti/user-delete-outline.d.ts new file mode 100644 index 0000000000..19f98f8eed --- /dev/null +++ b/types/react-icons/lib/ti/user-delete-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiUserDeleteOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/user-delete.d.ts b/types/react-icons/lib/ti/user-delete.d.ts new file mode 100644 index 0000000000..2c12847a35 --- /dev/null +++ b/types/react-icons/lib/ti/user-delete.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiUserDelete extends React.Component { } diff --git a/types/react-icons/lib/ti/user-outline.d.ts b/types/react-icons/lib/ti/user-outline.d.ts new file mode 100644 index 0000000000..64e4678e0c --- /dev/null +++ b/types/react-icons/lib/ti/user-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiUserOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/user.d.ts b/types/react-icons/lib/ti/user.d.ts new file mode 100644 index 0000000000..a333a43892 --- /dev/null +++ b/types/react-icons/lib/ti/user.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiUser extends React.Component { } diff --git a/types/react-icons/lib/ti/vendor-android.d.ts b/types/react-icons/lib/ti/vendor-android.d.ts new file mode 100644 index 0000000000..8075011cff --- /dev/null +++ b/types/react-icons/lib/ti/vendor-android.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiVendorAndroid extends React.Component { } diff --git a/types/react-icons/lib/ti/vendor-apple.d.ts b/types/react-icons/lib/ti/vendor-apple.d.ts new file mode 100644 index 0000000000..d100e9de7f --- /dev/null +++ b/types/react-icons/lib/ti/vendor-apple.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiVendorApple extends React.Component { } diff --git a/types/react-icons/lib/ti/vendor-microsoft.d.ts b/types/react-icons/lib/ti/vendor-microsoft.d.ts new file mode 100644 index 0000000000..fc2393f6c8 --- /dev/null +++ b/types/react-icons/lib/ti/vendor-microsoft.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiVendorMicrosoft extends React.Component { } diff --git a/types/react-icons/lib/ti/video-outline.d.ts b/types/react-icons/lib/ti/video-outline.d.ts new file mode 100644 index 0000000000..ff4ded254c --- /dev/null +++ b/types/react-icons/lib/ti/video-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiVideoOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/video.d.ts b/types/react-icons/lib/ti/video.d.ts new file mode 100644 index 0000000000..59503c717e --- /dev/null +++ b/types/react-icons/lib/ti/video.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiVideo extends React.Component { } diff --git a/types/react-icons/lib/ti/volume-down.d.ts b/types/react-icons/lib/ti/volume-down.d.ts new file mode 100644 index 0000000000..cd012e5287 --- /dev/null +++ b/types/react-icons/lib/ti/volume-down.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiVolumeDown extends React.Component { } diff --git a/types/react-icons/lib/ti/volume-mute.d.ts b/types/react-icons/lib/ti/volume-mute.d.ts new file mode 100644 index 0000000000..df323c2347 --- /dev/null +++ b/types/react-icons/lib/ti/volume-mute.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiVolumeMute extends React.Component { } diff --git a/types/react-icons/lib/ti/volume-up.d.ts b/types/react-icons/lib/ti/volume-up.d.ts new file mode 100644 index 0000000000..443c4bb060 --- /dev/null +++ b/types/react-icons/lib/ti/volume-up.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiVolumeUp extends React.Component { } diff --git a/types/react-icons/lib/ti/volume.d.ts b/types/react-icons/lib/ti/volume.d.ts new file mode 100644 index 0000000000..ebbe9bac7a --- /dev/null +++ b/types/react-icons/lib/ti/volume.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiVolume extends React.Component { } diff --git a/types/react-icons/lib/ti/warning-outline.d.ts b/types/react-icons/lib/ti/warning-outline.d.ts new file mode 100644 index 0000000000..66d630a33d --- /dev/null +++ b/types/react-icons/lib/ti/warning-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiWarningOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/warning.d.ts b/types/react-icons/lib/ti/warning.d.ts new file mode 100644 index 0000000000..394d46e315 --- /dev/null +++ b/types/react-icons/lib/ti/warning.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiWarning extends React.Component { } diff --git a/types/react-icons/lib/ti/watch.d.ts b/types/react-icons/lib/ti/watch.d.ts new file mode 100644 index 0000000000..191379a23f --- /dev/null +++ b/types/react-icons/lib/ti/watch.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiWatch extends React.Component { } diff --git a/types/react-icons/lib/ti/waves-outline.d.ts b/types/react-icons/lib/ti/waves-outline.d.ts new file mode 100644 index 0000000000..814f0bb4bd --- /dev/null +++ b/types/react-icons/lib/ti/waves-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiWavesOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/waves.d.ts b/types/react-icons/lib/ti/waves.d.ts new file mode 100644 index 0000000000..10d88f9f9c --- /dev/null +++ b/types/react-icons/lib/ti/waves.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiWaves extends React.Component { } diff --git a/types/react-icons/lib/ti/weather-cloudy.d.ts b/types/react-icons/lib/ti/weather-cloudy.d.ts new file mode 100644 index 0000000000..f0a7569133 --- /dev/null +++ b/types/react-icons/lib/ti/weather-cloudy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiWeatherCloudy extends React.Component { } diff --git a/types/react-icons/lib/ti/weather-downpour.d.ts b/types/react-icons/lib/ti/weather-downpour.d.ts new file mode 100644 index 0000000000..945dd0b196 --- /dev/null +++ b/types/react-icons/lib/ti/weather-downpour.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiWeatherDownpour extends React.Component { } diff --git a/types/react-icons/lib/ti/weather-night.d.ts b/types/react-icons/lib/ti/weather-night.d.ts new file mode 100644 index 0000000000..72b8e61ebd --- /dev/null +++ b/types/react-icons/lib/ti/weather-night.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiWeatherNight extends React.Component { } diff --git a/types/react-icons/lib/ti/weather-partly-sunny.d.ts b/types/react-icons/lib/ti/weather-partly-sunny.d.ts new file mode 100644 index 0000000000..9acece9fcf --- /dev/null +++ b/types/react-icons/lib/ti/weather-partly-sunny.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiWeatherPartlySunny extends React.Component { } diff --git a/types/react-icons/lib/ti/weather-shower.d.ts b/types/react-icons/lib/ti/weather-shower.d.ts new file mode 100644 index 0000000000..d96b321350 --- /dev/null +++ b/types/react-icons/lib/ti/weather-shower.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiWeatherShower extends React.Component { } diff --git a/types/react-icons/lib/ti/weather-snow.d.ts b/types/react-icons/lib/ti/weather-snow.d.ts new file mode 100644 index 0000000000..8e274c5f85 --- /dev/null +++ b/types/react-icons/lib/ti/weather-snow.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiWeatherSnow extends React.Component { } diff --git a/types/react-icons/lib/ti/weather-stormy.d.ts b/types/react-icons/lib/ti/weather-stormy.d.ts new file mode 100644 index 0000000000..0fe69851dc --- /dev/null +++ b/types/react-icons/lib/ti/weather-stormy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiWeatherStormy extends React.Component { } diff --git a/types/react-icons/lib/ti/weather-sunny.d.ts b/types/react-icons/lib/ti/weather-sunny.d.ts new file mode 100644 index 0000000000..96bb430093 --- /dev/null +++ b/types/react-icons/lib/ti/weather-sunny.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiWeatherSunny extends React.Component { } diff --git a/types/react-icons/lib/ti/weather-windy-cloudy.d.ts b/types/react-icons/lib/ti/weather-windy-cloudy.d.ts new file mode 100644 index 0000000000..d28624e436 --- /dev/null +++ b/types/react-icons/lib/ti/weather-windy-cloudy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiWeatherWindyCloudy extends React.Component { } diff --git a/types/react-icons/lib/ti/weather-windy.d.ts b/types/react-icons/lib/ti/weather-windy.d.ts new file mode 100644 index 0000000000..e5808895f1 --- /dev/null +++ b/types/react-icons/lib/ti/weather-windy.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiWeatherWindy extends React.Component { } diff --git a/types/react-icons/lib/ti/wi-fi-outline.d.ts b/types/react-icons/lib/ti/wi-fi-outline.d.ts new file mode 100644 index 0000000000..54c27adcb2 --- /dev/null +++ b/types/react-icons/lib/ti/wi-fi-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiWiFiOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/wi-fi.d.ts b/types/react-icons/lib/ti/wi-fi.d.ts new file mode 100644 index 0000000000..46cc54f2f5 --- /dev/null +++ b/types/react-icons/lib/ti/wi-fi.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiWiFi extends React.Component { } diff --git a/types/react-icons/lib/ti/wine.d.ts b/types/react-icons/lib/ti/wine.d.ts new file mode 100644 index 0000000000..aab4d0d43e --- /dev/null +++ b/types/react-icons/lib/ti/wine.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiWine extends React.Component { } diff --git a/types/react-icons/lib/ti/world-outline.d.ts b/types/react-icons/lib/ti/world-outline.d.ts new file mode 100644 index 0000000000..deb94cd766 --- /dev/null +++ b/types/react-icons/lib/ti/world-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiWorldOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/world.d.ts b/types/react-icons/lib/ti/world.d.ts new file mode 100644 index 0000000000..54d7682959 --- /dev/null +++ b/types/react-icons/lib/ti/world.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiWorld extends React.Component { } diff --git a/types/react-icons/lib/ti/zoom-in-outline.d.ts b/types/react-icons/lib/ti/zoom-in-outline.d.ts new file mode 100644 index 0000000000..9f0c9c98a7 --- /dev/null +++ b/types/react-icons/lib/ti/zoom-in-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiZoomInOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/zoom-in.d.ts b/types/react-icons/lib/ti/zoom-in.d.ts new file mode 100644 index 0000000000..4b9716467b --- /dev/null +++ b/types/react-icons/lib/ti/zoom-in.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiZoomIn extends React.Component { } diff --git a/types/react-icons/lib/ti/zoom-out-outline.d.ts b/types/react-icons/lib/ti/zoom-out-outline.d.ts new file mode 100644 index 0000000000..bdb15bbf3f --- /dev/null +++ b/types/react-icons/lib/ti/zoom-out-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiZoomOutOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/zoom-out.d.ts b/types/react-icons/lib/ti/zoom-out.d.ts new file mode 100644 index 0000000000..e6b1bb1bd3 --- /dev/null +++ b/types/react-icons/lib/ti/zoom-out.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiZoomOut extends React.Component { } diff --git a/types/react-icons/lib/ti/zoom-outline.d.ts b/types/react-icons/lib/ti/zoom-outline.d.ts new file mode 100644 index 0000000000..066a240186 --- /dev/null +++ b/types/react-icons/lib/ti/zoom-outline.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiZoomOutline extends React.Component { } diff --git a/types/react-icons/lib/ti/zoom.d.ts b/types/react-icons/lib/ti/zoom.d.ts new file mode 100644 index 0000000000..74bda099c6 --- /dev/null +++ b/types/react-icons/lib/ti/zoom.d.ts @@ -0,0 +1,3 @@ +import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +export default class TiZoom extends React.Component { } diff --git a/types/react-icons/react-icons-tests.tsx b/types/react-icons/react-icons-tests.tsx index 83b9196a70..f6a0414dba 100644 --- a/types/react-icons/react-icons-tests.tsx +++ b/types/react-icons/react-icons-tests.tsx @@ -1,9 +1,11 @@ import * as React from 'react'; import FaBeer from 'react-icons/fa/beer'; import { FaExclamation } from 'react-icons/fa'; +import FaCog from 'react-icons/lib/fa/cog'; +import { FaPowerOff } from 'react-icons/lib/fa'; class Question extends React.Component { render() { - return

Lets go for a ?

; + return

Lets go for a ? It'll help you your

; } } diff --git a/types/react-icons/scripts/generate.ts b/types/react-icons/scripts/generate.ts index 8767babd5a..604de34842 100644 --- a/types/react-icons/scripts/generate.ts +++ b/types/react-icons/scripts/generate.ts @@ -9,24 +9,43 @@ const allModules = findAllModules(); for (const { group } of allModules) { const outPath = getOutDir(group); removeSync(outPath); + const outLibPath = getOutLibDir(group); + removeSync(outLibPath); +} + +// Create new empty folders +for (const { group } of allModules) { + const outPath = getOutDir(group); mkdirSync(outPath); + const outLibPath = getOutLibDir(group); + mkdirSync(outLibPath); } for (const { group, ids } of allModules) { for (const id of ids) { writeFileSync(getOutFile(group, `${id}.d.ts`), iconFile(getModuleName(group, id)), 'utf-8'); + writeFileSync(getOutLibFile(group, `${id}.d.ts`), iconFile(getModuleName(group, id)), 'utf-8'); } writeFileSync(getOutFile(group, 'index.d.ts'), indexFile(group, ids), 'utf-8'); + writeFileSync(getOutLibFile(group, 'index.d.ts'), indexFile(group, ids), 'utf-8'); } function getOutDir(group: string): string { - return joinPaths(__dirname, "..", group); + return joinPaths(__dirname, '..', group); } function getOutFile(folder: string, fileName: string): string { return joinPaths(getOutDir(folder), fileName); } +function getOutLibDir(group: string): string { + return joinPaths(__dirname, '..', 'lib', group); +} + +function getOutLibFile(folder: string, fileName: string): string { + return joinPaths(getOutLibDir(folder), fileName); +} + function iconFile(name: string): string { return `import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; diff --git a/types/react-icons/tsconfig.json b/types/react-icons/tsconfig.json index 94d6cfa190..b3af87fd55 100644 --- a/types/react-icons/tsconfig.json +++ b/types/react-icons/tsconfig.json @@ -2847,6 +2847,2834 @@ "ti/zoom-out-outline.d.ts", "ti/zoom-out.d.ts", "ti/zoom-outline.d.ts", - "ti/zoom.d.ts" + "ti/zoom.d.ts", + "lib/fa/index.d.ts", + "lib/go/index.d.ts", + "lib/io/index.d.ts", + "lib/md/index.d.ts", + "lib/ti/index.d.ts", + "lib/fa/500px.d.ts", + "lib/fa/adjust.d.ts", + "lib/fa/adn.d.ts", + "lib/fa/align-center.d.ts", + "lib/fa/align-justify.d.ts", + "lib/fa/align-left.d.ts", + "lib/fa/align-right.d.ts", + "lib/fa/amazon.d.ts", + "lib/fa/ambulance.d.ts", + "lib/fa/american-sign-language-interpreting.d.ts", + "lib/fa/anchor.d.ts", + "lib/fa/android.d.ts", + "lib/fa/angellist.d.ts", + "lib/fa/angle-double-down.d.ts", + "lib/fa/angle-double-left.d.ts", + "lib/fa/angle-double-right.d.ts", + "lib/fa/angle-double-up.d.ts", + "lib/fa/angle-down.d.ts", + "lib/fa/angle-left.d.ts", + "lib/fa/angle-right.d.ts", + "lib/fa/angle-up.d.ts", + "lib/fa/apple.d.ts", + "lib/fa/archive.d.ts", + "lib/fa/area-chart.d.ts", + "lib/fa/arrow-circle-down.d.ts", + "lib/fa/arrow-circle-left.d.ts", + "lib/fa/arrow-circle-o-down.d.ts", + "lib/fa/arrow-circle-o-left.d.ts", + "lib/fa/arrow-circle-o-right.d.ts", + "lib/fa/arrow-circle-o-up.d.ts", + "lib/fa/arrow-circle-right.d.ts", + "lib/fa/arrow-circle-up.d.ts", + "lib/fa/arrow-down.d.ts", + "lib/fa/arrow-left.d.ts", + "lib/fa/arrow-right.d.ts", + "lib/fa/arrow-up.d.ts", + "lib/fa/arrows-alt.d.ts", + "lib/fa/arrows-h.d.ts", + "lib/fa/arrows-v.d.ts", + "lib/fa/arrows.d.ts", + "lib/fa/assistive-listening-systems.d.ts", + "lib/fa/asterisk.d.ts", + "lib/fa/at.d.ts", + "lib/fa/audio-description.d.ts", + "lib/fa/automobile.d.ts", + "lib/fa/backward.d.ts", + "lib/fa/balance-scale.d.ts", + "lib/fa/ban.d.ts", + "lib/fa/bank.d.ts", + "lib/fa/bar-chart.d.ts", + "lib/fa/barcode.d.ts", + "lib/fa/bars.d.ts", + "lib/fa/battery-0.d.ts", + "lib/fa/battery-1.d.ts", + "lib/fa/battery-2.d.ts", + "lib/fa/battery-3.d.ts", + "lib/fa/battery-4.d.ts", + "lib/fa/bed.d.ts", + "lib/fa/beer.d.ts", + "lib/fa/behance-square.d.ts", + "lib/fa/behance.d.ts", + "lib/fa/bell-o.d.ts", + "lib/fa/bell-slash-o.d.ts", + "lib/fa/bell-slash.d.ts", + "lib/fa/bell.d.ts", + "lib/fa/bicycle.d.ts", + "lib/fa/binoculars.d.ts", + "lib/fa/birthday-cake.d.ts", + "lib/fa/bitbucket-square.d.ts", + "lib/fa/bitbucket.d.ts", + "lib/fa/bitcoin.d.ts", + "lib/fa/black-tie.d.ts", + "lib/fa/blind.d.ts", + "lib/fa/bluetooth-b.d.ts", + "lib/fa/bluetooth.d.ts", + "lib/fa/bold.d.ts", + "lib/fa/bolt.d.ts", + "lib/fa/bomb.d.ts", + "lib/fa/book.d.ts", + "lib/fa/bookmark-o.d.ts", + "lib/fa/bookmark.d.ts", + "lib/fa/braille.d.ts", + "lib/fa/briefcase.d.ts", + "lib/fa/bug.d.ts", + "lib/fa/building-o.d.ts", + "lib/fa/building.d.ts", + "lib/fa/bullhorn.d.ts", + "lib/fa/bullseye.d.ts", + "lib/fa/bus.d.ts", + "lib/fa/buysellads.d.ts", + "lib/fa/cab.d.ts", + "lib/fa/calculator.d.ts", + "lib/fa/calendar-check-o.d.ts", + "lib/fa/calendar-minus-o.d.ts", + "lib/fa/calendar-o.d.ts", + "lib/fa/calendar-plus-o.d.ts", + "lib/fa/calendar-times-o.d.ts", + "lib/fa/calendar.d.ts", + "lib/fa/camera-retro.d.ts", + "lib/fa/camera.d.ts", + "lib/fa/caret-down.d.ts", + "lib/fa/caret-left.d.ts", + "lib/fa/caret-right.d.ts", + "lib/fa/caret-square-o-down.d.ts", + "lib/fa/caret-square-o-left.d.ts", + "lib/fa/caret-square-o-right.d.ts", + "lib/fa/caret-square-o-up.d.ts", + "lib/fa/caret-up.d.ts", + "lib/fa/cart-arrow-down.d.ts", + "lib/fa/cart-plus.d.ts", + "lib/fa/cc-amex.d.ts", + "lib/fa/cc-diners-club.d.ts", + "lib/fa/cc-discover.d.ts", + "lib/fa/cc-jcb.d.ts", + "lib/fa/cc-mastercard.d.ts", + "lib/fa/cc-paypal.d.ts", + "lib/fa/cc-stripe.d.ts", + "lib/fa/cc-visa.d.ts", + "lib/fa/cc.d.ts", + "lib/fa/certificate.d.ts", + "lib/fa/chain-broken.d.ts", + "lib/fa/chain.d.ts", + "lib/fa/check-circle-o.d.ts", + "lib/fa/check-circle.d.ts", + "lib/fa/check-square-o.d.ts", + "lib/fa/check-square.d.ts", + "lib/fa/check.d.ts", + "lib/fa/chevron-circle-down.d.ts", + "lib/fa/chevron-circle-left.d.ts", + "lib/fa/chevron-circle-right.d.ts", + "lib/fa/chevron-circle-up.d.ts", + "lib/fa/chevron-down.d.ts", + "lib/fa/chevron-left.d.ts", + "lib/fa/chevron-right.d.ts", + "lib/fa/chevron-up.d.ts", + "lib/fa/child.d.ts", + "lib/fa/chrome.d.ts", + "lib/fa/circle-o-notch.d.ts", + "lib/fa/circle-o.d.ts", + "lib/fa/circle-thin.d.ts", + "lib/fa/circle.d.ts", + "lib/fa/clipboard.d.ts", + "lib/fa/clock-o.d.ts", + "lib/fa/clone.d.ts", + "lib/fa/close.d.ts", + "lib/fa/cloud-download.d.ts", + "lib/fa/cloud-upload.d.ts", + "lib/fa/cloud.d.ts", + "lib/fa/cny.d.ts", + "lib/fa/code-fork.d.ts", + "lib/fa/code.d.ts", + "lib/fa/codepen.d.ts", + "lib/fa/codiepie.d.ts", + "lib/fa/coffee.d.ts", + "lib/fa/cog.d.ts", + "lib/fa/cogs.d.ts", + "lib/fa/columns.d.ts", + "lib/fa/comment-o.d.ts", + "lib/fa/comment.d.ts", + "lib/fa/commenting-o.d.ts", + "lib/fa/commenting.d.ts", + "lib/fa/comments-o.d.ts", + "lib/fa/comments.d.ts", + "lib/fa/compass.d.ts", + "lib/fa/compress.d.ts", + "lib/fa/connectdevelop.d.ts", + "lib/fa/contao.d.ts", + "lib/fa/copy.d.ts", + "lib/fa/copyright.d.ts", + "lib/fa/creative-commons.d.ts", + "lib/fa/credit-card-alt.d.ts", + "lib/fa/credit-card.d.ts", + "lib/fa/crop.d.ts", + "lib/fa/crosshairs.d.ts", + "lib/fa/css3.d.ts", + "lib/fa/cube.d.ts", + "lib/fa/cubes.d.ts", + "lib/fa/cut.d.ts", + "lib/fa/cutlery.d.ts", + "lib/fa/dashboard.d.ts", + "lib/fa/dashcube.d.ts", + "lib/fa/database.d.ts", + "lib/fa/deaf.d.ts", + "lib/fa/dedent.d.ts", + "lib/fa/delicious.d.ts", + "lib/fa/desktop.d.ts", + "lib/fa/deviantart.d.ts", + "lib/fa/diamond.d.ts", + "lib/fa/digg.d.ts", + "lib/fa/dollar.d.ts", + "lib/fa/dot-circle-o.d.ts", + "lib/fa/download.d.ts", + "lib/fa/dribbble.d.ts", + "lib/fa/dropbox.d.ts", + "lib/fa/drupal.d.ts", + "lib/fa/edge.d.ts", + "lib/fa/edit.d.ts", + "lib/fa/eject.d.ts", + "lib/fa/ellipsis-h.d.ts", + "lib/fa/ellipsis-v.d.ts", + "lib/fa/empire.d.ts", + "lib/fa/envelope-o.d.ts", + "lib/fa/envelope-square.d.ts", + "lib/fa/envelope.d.ts", + "lib/fa/envira.d.ts", + "lib/fa/eraser.d.ts", + "lib/fa/eur.d.ts", + "lib/fa/exchange.d.ts", + "lib/fa/exclamation-circle.d.ts", + "lib/fa/exclamation-triangle.d.ts", + "lib/fa/exclamation.d.ts", + "lib/fa/expand.d.ts", + "lib/fa/expeditedssl.d.ts", + "lib/fa/external-link-square.d.ts", + "lib/fa/external-link.d.ts", + "lib/fa/eye-slash.d.ts", + "lib/fa/eye.d.ts", + "lib/fa/eyedropper.d.ts", + "lib/fa/facebook-official.d.ts", + "lib/fa/facebook-square.d.ts", + "lib/fa/facebook.d.ts", + "lib/fa/fast-backward.d.ts", + "lib/fa/fast-forward.d.ts", + "lib/fa/fax.d.ts", + "lib/fa/feed.d.ts", + "lib/fa/female.d.ts", + "lib/fa/fighter-jet.d.ts", + "lib/fa/file-archive-o.d.ts", + "lib/fa/file-audio-o.d.ts", + "lib/fa/file-code-o.d.ts", + "lib/fa/file-excel-o.d.ts", + "lib/fa/file-image-o.d.ts", + "lib/fa/file-movie-o.d.ts", + "lib/fa/file-o.d.ts", + "lib/fa/file-pdf-o.d.ts", + "lib/fa/file-powerpoint-o.d.ts", + "lib/fa/file-text-o.d.ts", + "lib/fa/file-text.d.ts", + "lib/fa/file-word-o.d.ts", + "lib/fa/file.d.ts", + "lib/fa/film.d.ts", + "lib/fa/filter.d.ts", + "lib/fa/fire-extinguisher.d.ts", + "lib/fa/fire.d.ts", + "lib/fa/firefox.d.ts", + "lib/fa/flag-checkered.d.ts", + "lib/fa/flag-o.d.ts", + "lib/fa/flag.d.ts", + "lib/fa/flask.d.ts", + "lib/fa/flickr.d.ts", + "lib/fa/floppy-o.d.ts", + "lib/fa/folder-o.d.ts", + "lib/fa/folder-open-o.d.ts", + "lib/fa/folder-open.d.ts", + "lib/fa/folder.d.ts", + "lib/fa/font.d.ts", + "lib/fa/fonticons.d.ts", + "lib/fa/fort-awesome.d.ts", + "lib/fa/forumbee.d.ts", + "lib/fa/forward.d.ts", + "lib/fa/foursquare.d.ts", + "lib/fa/frown-o.d.ts", + "lib/fa/futbol-o.d.ts", + "lib/fa/gamepad.d.ts", + "lib/fa/gavel.d.ts", + "lib/fa/gbp.d.ts", + "lib/fa/genderless.d.ts", + "lib/fa/get-pocket.d.ts", + "lib/fa/gg-circle.d.ts", + "lib/fa/gg.d.ts", + "lib/fa/gift.d.ts", + "lib/fa/git-square.d.ts", + "lib/fa/git.d.ts", + "lib/fa/github-alt.d.ts", + "lib/fa/github-square.d.ts", + "lib/fa/github.d.ts", + "lib/fa/gitlab.d.ts", + "lib/fa/gittip.d.ts", + "lib/fa/glass.d.ts", + "lib/fa/glide-g.d.ts", + "lib/fa/glide.d.ts", + "lib/fa/globe.d.ts", + "lib/fa/google-plus-square.d.ts", + "lib/fa/google-plus.d.ts", + "lib/fa/google-wallet.d.ts", + "lib/fa/google.d.ts", + "lib/fa/graduation-cap.d.ts", + "lib/fa/group.d.ts", + "lib/fa/h-square.d.ts", + "lib/fa/hacker-news.d.ts", + "lib/fa/hand-grab-o.d.ts", + "lib/fa/hand-lizard-o.d.ts", + "lib/fa/hand-o-down.d.ts", + "lib/fa/hand-o-left.d.ts", + "lib/fa/hand-o-right.d.ts", + "lib/fa/hand-o-up.d.ts", + "lib/fa/hand-paper-o.d.ts", + "lib/fa/hand-peace-o.d.ts", + "lib/fa/hand-pointer-o.d.ts", + "lib/fa/hand-scissors-o.d.ts", + "lib/fa/hand-spock-o.d.ts", + "lib/fa/hashtag.d.ts", + "lib/fa/hdd-o.d.ts", + "lib/fa/header.d.ts", + "lib/fa/headphones.d.ts", + "lib/fa/heart-o.d.ts", + "lib/fa/heart.d.ts", + "lib/fa/heartbeat.d.ts", + "lib/fa/history.d.ts", + "lib/fa/home.d.ts", + "lib/fa/hospital-o.d.ts", + "lib/fa/hourglass-1.d.ts", + "lib/fa/hourglass-2.d.ts", + "lib/fa/hourglass-3.d.ts", + "lib/fa/hourglass-o.d.ts", + "lib/fa/hourglass.d.ts", + "lib/fa/houzz.d.ts", + "lib/fa/html5.d.ts", + "lib/fa/i-cursor.d.ts", + "lib/fa/ils.d.ts", + "lib/fa/image.d.ts", + "lib/fa/inbox.d.ts", + "lib/fa/indent.d.ts", + "lib/fa/industry.d.ts", + "lib/fa/info-circle.d.ts", + "lib/fa/info.d.ts", + "lib/fa/inr.d.ts", + "lib/fa/instagram.d.ts", + "lib/fa/internet-explorer.d.ts", + "lib/fa/intersex.d.ts", + "lib/fa/ioxhost.d.ts", + "lib/fa/italic.d.ts", + "lib/fa/joomla.d.ts", + "lib/fa/jsfiddle.d.ts", + "lib/fa/key.d.ts", + "lib/fa/keyboard-o.d.ts", + "lib/fa/krw.d.ts", + "lib/fa/language.d.ts", + "lib/fa/laptop.d.ts", + "lib/fa/lastfm-square.d.ts", + "lib/fa/lastfm.d.ts", + "lib/fa/leaf.d.ts", + "lib/fa/leanpub.d.ts", + "lib/fa/lemon-o.d.ts", + "lib/fa/level-down.d.ts", + "lib/fa/level-up.d.ts", + "lib/fa/life-bouy.d.ts", + "lib/fa/lightbulb-o.d.ts", + "lib/fa/line-chart.d.ts", + "lib/fa/linkedin-square.d.ts", + "lib/fa/linkedin.d.ts", + "lib/fa/linux.d.ts", + "lib/fa/list-alt.d.ts", + "lib/fa/list-ol.d.ts", + "lib/fa/list-ul.d.ts", + "lib/fa/list.d.ts", + "lib/fa/location-arrow.d.ts", + "lib/fa/lock.d.ts", + "lib/fa/long-arrow-down.d.ts", + "lib/fa/long-arrow-left.d.ts", + "lib/fa/long-arrow-right.d.ts", + "lib/fa/long-arrow-up.d.ts", + "lib/fa/low-vision.d.ts", + "lib/fa/magic.d.ts", + "lib/fa/magnet.d.ts", + "lib/fa/mail-forward.d.ts", + "lib/fa/mail-reply-all.d.ts", + "lib/fa/mail-reply.d.ts", + "lib/fa/male.d.ts", + "lib/fa/map-marker.d.ts", + "lib/fa/map-o.d.ts", + "lib/fa/map-pin.d.ts", + "lib/fa/map-signs.d.ts", + "lib/fa/map.d.ts", + "lib/fa/mars-double.d.ts", + "lib/fa/mars-stroke-h.d.ts", + "lib/fa/mars-stroke-v.d.ts", + "lib/fa/mars-stroke.d.ts", + "lib/fa/mars.d.ts", + "lib/fa/maxcdn.d.ts", + "lib/fa/meanpath.d.ts", + "lib/fa/medium.d.ts", + "lib/fa/medkit.d.ts", + "lib/fa/meh-o.d.ts", + "lib/fa/mercury.d.ts", + "lib/fa/microphone-slash.d.ts", + "lib/fa/microphone.d.ts", + "lib/fa/minus-circle.d.ts", + "lib/fa/minus-square-o.d.ts", + "lib/fa/minus-square.d.ts", + "lib/fa/minus.d.ts", + "lib/fa/mixcloud.d.ts", + "lib/fa/mobile.d.ts", + "lib/fa/modx.d.ts", + "lib/fa/money.d.ts", + "lib/fa/moon-o.d.ts", + "lib/fa/motorcycle.d.ts", + "lib/fa/mouse-pointer.d.ts", + "lib/fa/music.d.ts", + "lib/fa/neuter.d.ts", + "lib/fa/newspaper-o.d.ts", + "lib/fa/object-group.d.ts", + "lib/fa/object-ungroup.d.ts", + "lib/fa/odnoklassniki-square.d.ts", + "lib/fa/odnoklassniki.d.ts", + "lib/fa/opencart.d.ts", + "lib/fa/openid.d.ts", + "lib/fa/opera.d.ts", + "lib/fa/optin-monster.d.ts", + "lib/fa/pagelines.d.ts", + "lib/fa/paint-brush.d.ts", + "lib/fa/paper-plane-o.d.ts", + "lib/fa/paper-plane.d.ts", + "lib/fa/paperclip.d.ts", + "lib/fa/paragraph.d.ts", + "lib/fa/pause-circle-o.d.ts", + "lib/fa/pause-circle.d.ts", + "lib/fa/pause.d.ts", + "lib/fa/paw.d.ts", + "lib/fa/paypal.d.ts", + "lib/fa/pencil-square.d.ts", + "lib/fa/pencil.d.ts", + "lib/fa/percent.d.ts", + "lib/fa/phone-square.d.ts", + "lib/fa/phone.d.ts", + "lib/fa/pie-chart.d.ts", + "lib/fa/pied-piper-alt.d.ts", + "lib/fa/pied-piper.d.ts", + "lib/fa/pinterest-p.d.ts", + "lib/fa/pinterest-square.d.ts", + "lib/fa/pinterest.d.ts", + "lib/fa/plane.d.ts", + "lib/fa/play-circle-o.d.ts", + "lib/fa/play-circle.d.ts", + "lib/fa/play.d.ts", + "lib/fa/plug.d.ts", + "lib/fa/plus-circle.d.ts", + "lib/fa/plus-square-o.d.ts", + "lib/fa/plus-square.d.ts", + "lib/fa/plus.d.ts", + "lib/fa/power-off.d.ts", + "lib/fa/print.d.ts", + "lib/fa/product-hunt.d.ts", + "lib/fa/puzzle-piece.d.ts", + "lib/fa/qq.d.ts", + "lib/fa/qrcode.d.ts", + "lib/fa/question-circle-o.d.ts", + "lib/fa/question-circle.d.ts", + "lib/fa/question.d.ts", + "lib/fa/quote-left.d.ts", + "lib/fa/quote-right.d.ts", + "lib/fa/ra.d.ts", + "lib/fa/random.d.ts", + "lib/fa/recycle.d.ts", + "lib/fa/reddit-alien.d.ts", + "lib/fa/reddit-square.d.ts", + "lib/fa/reddit.d.ts", + "lib/fa/refresh.d.ts", + "lib/fa/registered.d.ts", + "lib/fa/renren.d.ts", + "lib/fa/repeat.d.ts", + "lib/fa/retweet.d.ts", + "lib/fa/road.d.ts", + "lib/fa/rocket.d.ts", + "lib/fa/rotate-left.d.ts", + "lib/fa/rouble.d.ts", + "lib/fa/rss-square.d.ts", + "lib/fa/safari.d.ts", + "lib/fa/scribd.d.ts", + "lib/fa/search-minus.d.ts", + "lib/fa/search-plus.d.ts", + "lib/fa/search.d.ts", + "lib/fa/sellsy.d.ts", + "lib/fa/server.d.ts", + "lib/fa/share-alt-square.d.ts", + "lib/fa/share-alt.d.ts", + "lib/fa/share-square-o.d.ts", + "lib/fa/share-square.d.ts", + "lib/fa/shield.d.ts", + "lib/fa/ship.d.ts", + "lib/fa/shirtsinbulk.d.ts", + "lib/fa/shopping-bag.d.ts", + "lib/fa/shopping-basket.d.ts", + "lib/fa/shopping-cart.d.ts", + "lib/fa/sign-in.d.ts", + "lib/fa/sign-language.d.ts", + "lib/fa/sign-out.d.ts", + "lib/fa/signal.d.ts", + "lib/fa/simplybuilt.d.ts", + "lib/fa/sitemap.d.ts", + "lib/fa/skyatlas.d.ts", + "lib/fa/skype.d.ts", + "lib/fa/slack.d.ts", + "lib/fa/sliders.d.ts", + "lib/fa/slideshare.d.ts", + "lib/fa/smile-o.d.ts", + "lib/fa/snapchat-ghost.d.ts", + "lib/fa/snapchat-square.d.ts", + "lib/fa/snapchat.d.ts", + "lib/fa/sort-alpha-asc.d.ts", + "lib/fa/sort-alpha-desc.d.ts", + "lib/fa/sort-amount-asc.d.ts", + "lib/fa/sort-amount-desc.d.ts", + "lib/fa/sort-asc.d.ts", + "lib/fa/sort-desc.d.ts", + "lib/fa/sort-numeric-asc.d.ts", + "lib/fa/sort-numeric-desc.d.ts", + "lib/fa/sort.d.ts", + "lib/fa/soundcloud.d.ts", + "lib/fa/space-shuttle.d.ts", + "lib/fa/spinner.d.ts", + "lib/fa/spoon.d.ts", + "lib/fa/spotify.d.ts", + "lib/fa/square-o.d.ts", + "lib/fa/square.d.ts", + "lib/fa/stack-exchange.d.ts", + "lib/fa/stack-overflow.d.ts", + "lib/fa/star-half-empty.d.ts", + "lib/fa/star-half.d.ts", + "lib/fa/star-o.d.ts", + "lib/fa/star.d.ts", + "lib/fa/steam-square.d.ts", + "lib/fa/steam.d.ts", + "lib/fa/step-backward.d.ts", + "lib/fa/step-forward.d.ts", + "lib/fa/stethoscope.d.ts", + "lib/fa/sticky-note-o.d.ts", + "lib/fa/sticky-note.d.ts", + "lib/fa/stop-circle-o.d.ts", + "lib/fa/stop-circle.d.ts", + "lib/fa/stop.d.ts", + "lib/fa/street-view.d.ts", + "lib/fa/strikethrough.d.ts", + "lib/fa/stumbleupon-circle.d.ts", + "lib/fa/stumbleupon.d.ts", + "lib/fa/subscript.d.ts", + "lib/fa/subway.d.ts", + "lib/fa/suitcase.d.ts", + "lib/fa/sun-o.d.ts", + "lib/fa/superscript.d.ts", + "lib/fa/table.d.ts", + "lib/fa/tablet.d.ts", + "lib/fa/tag.d.ts", + "lib/fa/tags.d.ts", + "lib/fa/tasks.d.ts", + "lib/fa/television.d.ts", + "lib/fa/tencent-weibo.d.ts", + "lib/fa/terminal.d.ts", + "lib/fa/text-height.d.ts", + "lib/fa/text-width.d.ts", + "lib/fa/th-large.d.ts", + "lib/fa/th-list.d.ts", + "lib/fa/th.d.ts", + "lib/fa/thumb-tack.d.ts", + "lib/fa/thumbs-down.d.ts", + "lib/fa/thumbs-o-down.d.ts", + "lib/fa/thumbs-o-up.d.ts", + "lib/fa/thumbs-up.d.ts", + "lib/fa/ticket.d.ts", + "lib/fa/times-circle-o.d.ts", + "lib/fa/times-circle.d.ts", + "lib/fa/tint.d.ts", + "lib/fa/toggle-off.d.ts", + "lib/fa/toggle-on.d.ts", + "lib/fa/trademark.d.ts", + "lib/fa/train.d.ts", + "lib/fa/transgender-alt.d.ts", + "lib/fa/trash-o.d.ts", + "lib/fa/trash.d.ts", + "lib/fa/tree.d.ts", + "lib/fa/trello.d.ts", + "lib/fa/tripadvisor.d.ts", + "lib/fa/trophy.d.ts", + "lib/fa/truck.d.ts", + "lib/fa/try.d.ts", + "lib/fa/tty.d.ts", + "lib/fa/tumblr-square.d.ts", + "lib/fa/tumblr.d.ts", + "lib/fa/twitch.d.ts", + "lib/fa/twitter-square.d.ts", + "lib/fa/twitter.d.ts", + "lib/fa/umbrella.d.ts", + "lib/fa/underline.d.ts", + "lib/fa/universal-access.d.ts", + "lib/fa/unlock-alt.d.ts", + "lib/fa/unlock.d.ts", + "lib/fa/upload.d.ts", + "lib/fa/usb.d.ts", + "lib/fa/user-md.d.ts", + "lib/fa/user-plus.d.ts", + "lib/fa/user-secret.d.ts", + "lib/fa/user-times.d.ts", + "lib/fa/user.d.ts", + "lib/fa/venus-double.d.ts", + "lib/fa/venus-mars.d.ts", + "lib/fa/venus.d.ts", + "lib/fa/viacoin.d.ts", + "lib/fa/viadeo-square.d.ts", + "lib/fa/viadeo.d.ts", + "lib/fa/video-camera.d.ts", + "lib/fa/vimeo-square.d.ts", + "lib/fa/vimeo.d.ts", + "lib/fa/vine.d.ts", + "lib/fa/vk.d.ts", + "lib/fa/volume-control-phone.d.ts", + "lib/fa/volume-down.d.ts", + "lib/fa/volume-off.d.ts", + "lib/fa/volume-up.d.ts", + "lib/fa/wechat.d.ts", + "lib/fa/weibo.d.ts", + "lib/fa/whatsapp.d.ts", + "lib/fa/wheelchair-alt.d.ts", + "lib/fa/wheelchair.d.ts", + "lib/fa/wifi.d.ts", + "lib/fa/wikipedia-w.d.ts", + "lib/fa/windows.d.ts", + "lib/fa/wordpress.d.ts", + "lib/fa/wpbeginner.d.ts", + "lib/fa/wpforms.d.ts", + "lib/fa/wrench.d.ts", + "lib/fa/xing-square.d.ts", + "lib/fa/xing.d.ts", + "lib/fa/y-combinator.d.ts", + "lib/fa/yahoo.d.ts", + "lib/fa/yelp.d.ts", + "lib/fa/youtube-play.d.ts", + "lib/fa/youtube-square.d.ts", + "lib/fa/youtube.d.ts", + "lib/go/alert.d.ts", + "lib/go/alignment-align.d.ts", + "lib/go/alignment-aligned-to.d.ts", + "lib/go/alignment-unalign.d.ts", + "lib/go/arrow-down.d.ts", + "lib/go/arrow-left.d.ts", + "lib/go/arrow-right.d.ts", + "lib/go/arrow-small-down.d.ts", + "lib/go/arrow-small-left.d.ts", + "lib/go/arrow-small-right.d.ts", + "lib/go/arrow-small-up.d.ts", + "lib/go/arrow-up.d.ts", + "lib/go/beer.d.ts", + "lib/go/book.d.ts", + "lib/go/bookmark.d.ts", + "lib/go/briefcase.d.ts", + "lib/go/broadcast.d.ts", + "lib/go/browser.d.ts", + "lib/go/bug.d.ts", + "lib/go/calendar.d.ts", + "lib/go/check.d.ts", + "lib/go/checklist.d.ts", + "lib/go/chevron-down.d.ts", + "lib/go/chevron-left.d.ts", + "lib/go/chevron-right.d.ts", + "lib/go/chevron-up.d.ts", + "lib/go/circle-slash.d.ts", + "lib/go/circuit-board.d.ts", + "lib/go/clippy.d.ts", + "lib/go/clock.d.ts", + "lib/go/cloud-download.d.ts", + "lib/go/cloud-upload.d.ts", + "lib/go/code.d.ts", + "lib/go/color-mode.d.ts", + "lib/go/comment-discussion.d.ts", + "lib/go/comment.d.ts", + "lib/go/credit-card.d.ts", + "lib/go/dash.d.ts", + "lib/go/dashboard.d.ts", + "lib/go/database.d.ts", + "lib/go/device-camera-video.d.ts", + "lib/go/device-camera.d.ts", + "lib/go/device-desktop.d.ts", + "lib/go/device-mobile.d.ts", + "lib/go/diff-added.d.ts", + "lib/go/diff-ignored.d.ts", + "lib/go/diff-modified.d.ts", + "lib/go/diff-removed.d.ts", + "lib/go/diff-renamed.d.ts", + "lib/go/diff.d.ts", + "lib/go/ellipsis.d.ts", + "lib/go/eye.d.ts", + "lib/go/file-binary.d.ts", + "lib/go/file-code.d.ts", + "lib/go/file-directory.d.ts", + "lib/go/file-media.d.ts", + "lib/go/file-pdf.d.ts", + "lib/go/file-submodule.d.ts", + "lib/go/file-symlink-directory.d.ts", + "lib/go/file-symlink-file.d.ts", + "lib/go/file-text.d.ts", + "lib/go/file-zip.d.ts", + "lib/go/flame.d.ts", + "lib/go/fold.d.ts", + "lib/go/gear.d.ts", + "lib/go/gift.d.ts", + "lib/go/gist-secret.d.ts", + "lib/go/gist.d.ts", + "lib/go/git-branch.d.ts", + "lib/go/git-commit.d.ts", + "lib/go/git-compare.d.ts", + "lib/go/git-merge.d.ts", + "lib/go/git-pull-request.d.ts", + "lib/go/globe.d.ts", + "lib/go/graph.d.ts", + "lib/go/heart.d.ts", + "lib/go/history.d.ts", + "lib/go/home.d.ts", + "lib/go/horizontal-rule.d.ts", + "lib/go/hourglass.d.ts", + "lib/go/hubot.d.ts", + "lib/go/inbox.d.ts", + "lib/go/info.d.ts", + "lib/go/issue-closed.d.ts", + "lib/go/issue-opened.d.ts", + "lib/go/issue-reopened.d.ts", + "lib/go/jersey.d.ts", + "lib/go/jump-down.d.ts", + "lib/go/jump-left.d.ts", + "lib/go/jump-right.d.ts", + "lib/go/jump-up.d.ts", + "lib/go/key.d.ts", + "lib/go/keyboard.d.ts", + "lib/go/law.d.ts", + "lib/go/light-bulb.d.ts", + "lib/go/link-external.d.ts", + "lib/go/link.d.ts", + "lib/go/list-ordered.d.ts", + "lib/go/list-unordered.d.ts", + "lib/go/location.d.ts", + "lib/go/lock.d.ts", + "lib/go/logo-github.d.ts", + "lib/go/mail-read.d.ts", + "lib/go/mail-reply.d.ts", + "lib/go/mail.d.ts", + "lib/go/mark-github.d.ts", + "lib/go/markdown.d.ts", + "lib/go/megaphone.d.ts", + "lib/go/mention.d.ts", + "lib/go/microscope.d.ts", + "lib/go/milestone.d.ts", + "lib/go/mirror.d.ts", + "lib/go/mortar-board.d.ts", + "lib/go/move-down.d.ts", + "lib/go/move-left.d.ts", + "lib/go/move-right.d.ts", + "lib/go/move-up.d.ts", + "lib/go/mute.d.ts", + "lib/go/no-newline.d.ts", + "lib/go/octoface.d.ts", + "lib/go/organization.d.ts", + "lib/go/package.d.ts", + "lib/go/paintcan.d.ts", + "lib/go/pencil.d.ts", + "lib/go/person.d.ts", + "lib/go/pin.d.ts", + "lib/go/playback-fast-forward.d.ts", + "lib/go/playback-pause.d.ts", + "lib/go/playback-play.d.ts", + "lib/go/playback-rewind.d.ts", + "lib/go/plug.d.ts", + "lib/go/plus.d.ts", + "lib/go/podium.d.ts", + "lib/go/primitive-dot.d.ts", + "lib/go/primitive-square.d.ts", + "lib/go/pulse.d.ts", + "lib/go/puzzle.d.ts", + "lib/go/question.d.ts", + "lib/go/quote.d.ts", + "lib/go/radio-tower.d.ts", + "lib/go/repo-clone.d.ts", + "lib/go/repo-force-push.d.ts", + "lib/go/repo-forked.d.ts", + "lib/go/repo-pull.d.ts", + "lib/go/repo-push.d.ts", + "lib/go/repo.d.ts", + "lib/go/rocket.d.ts", + "lib/go/rss.d.ts", + "lib/go/ruby.d.ts", + "lib/go/screen-full.d.ts", + "lib/go/screen-normal.d.ts", + "lib/go/search.d.ts", + "lib/go/server.d.ts", + "lib/go/settings.d.ts", + "lib/go/sign-in.d.ts", + "lib/go/sign-out.d.ts", + "lib/go/split.d.ts", + "lib/go/squirrel.d.ts", + "lib/go/star.d.ts", + "lib/go/steps.d.ts", + "lib/go/stop.d.ts", + "lib/go/sync.d.ts", + "lib/go/tag.d.ts", + "lib/go/telescope.d.ts", + "lib/go/terminal.d.ts", + "lib/go/three-bars.d.ts", + "lib/go/tools.d.ts", + "lib/go/trashcan.d.ts", + "lib/go/triangle-down.d.ts", + "lib/go/triangle-left.d.ts", + "lib/go/triangle-right.d.ts", + "lib/go/triangle-up.d.ts", + "lib/go/unfold.d.ts", + "lib/go/unmute.d.ts", + "lib/go/versions.d.ts", + "lib/go/x.d.ts", + "lib/go/zap.d.ts", + "lib/io/alert-circled.d.ts", + "lib/io/alert.d.ts", + "lib/io/android-add-circle.d.ts", + "lib/io/android-add.d.ts", + "lib/io/android-alarm-clock.d.ts", + "lib/io/android-alert.d.ts", + "lib/io/android-apps.d.ts", + "lib/io/android-archive.d.ts", + "lib/io/android-arrow-back.d.ts", + "lib/io/android-arrow-down.d.ts", + "lib/io/android-arrow-dropdown-circle.d.ts", + "lib/io/android-arrow-dropdown.d.ts", + "lib/io/android-arrow-dropleft-circle.d.ts", + "lib/io/android-arrow-dropleft.d.ts", + "lib/io/android-arrow-dropright-circle.d.ts", + "lib/io/android-arrow-dropright.d.ts", + "lib/io/android-arrow-dropup-circle.d.ts", + "lib/io/android-arrow-dropup.d.ts", + "lib/io/android-arrow-forward.d.ts", + "lib/io/android-arrow-up.d.ts", + "lib/io/android-attach.d.ts", + "lib/io/android-bar.d.ts", + "lib/io/android-bicycle.d.ts", + "lib/io/android-boat.d.ts", + "lib/io/android-bookmark.d.ts", + "lib/io/android-bulb.d.ts", + "lib/io/android-bus.d.ts", + "lib/io/android-calendar.d.ts", + "lib/io/android-call.d.ts", + "lib/io/android-camera.d.ts", + "lib/io/android-cancel.d.ts", + "lib/io/android-car.d.ts", + "lib/io/android-cart.d.ts", + "lib/io/android-chat.d.ts", + "lib/io/android-checkbox-blank.d.ts", + "lib/io/android-checkbox-outline-blank.d.ts", + "lib/io/android-checkbox-outline.d.ts", + "lib/io/android-checkbox.d.ts", + "lib/io/android-checkmark-circle.d.ts", + "lib/io/android-clipboard.d.ts", + "lib/io/android-close.d.ts", + "lib/io/android-cloud-circle.d.ts", + "lib/io/android-cloud-done.d.ts", + "lib/io/android-cloud-outline.d.ts", + "lib/io/android-cloud.d.ts", + "lib/io/android-color-palette.d.ts", + "lib/io/android-compass.d.ts", + "lib/io/android-contact.d.ts", + "lib/io/android-contacts.d.ts", + "lib/io/android-contract.d.ts", + "lib/io/android-create.d.ts", + "lib/io/android-delete.d.ts", + "lib/io/android-desktop.d.ts", + "lib/io/android-document.d.ts", + "lib/io/android-done-all.d.ts", + "lib/io/android-done.d.ts", + "lib/io/android-download.d.ts", + "lib/io/android-drafts.d.ts", + "lib/io/android-exit.d.ts", + "lib/io/android-expand.d.ts", + "lib/io/android-favorite-outline.d.ts", + "lib/io/android-favorite.d.ts", + "lib/io/android-film.d.ts", + "lib/io/android-folder-open.d.ts", + "lib/io/android-folder.d.ts", + "lib/io/android-funnel.d.ts", + "lib/io/android-globe.d.ts", + "lib/io/android-hand.d.ts", + "lib/io/android-hangout.d.ts", + "lib/io/android-happy.d.ts", + "lib/io/android-home.d.ts", + "lib/io/android-image.d.ts", + "lib/io/android-laptop.d.ts", + "lib/io/android-list.d.ts", + "lib/io/android-locate.d.ts", + "lib/io/android-lock.d.ts", + "lib/io/android-mail.d.ts", + "lib/io/android-map.d.ts", + "lib/io/android-menu.d.ts", + "lib/io/android-microphone-off.d.ts", + "lib/io/android-microphone.d.ts", + "lib/io/android-more-horizontal.d.ts", + "lib/io/android-more-vertical.d.ts", + "lib/io/android-navigate.d.ts", + "lib/io/android-notifications-none.d.ts", + "lib/io/android-notifications-off.d.ts", + "lib/io/android-notifications.d.ts", + "lib/io/android-open.d.ts", + "lib/io/android-options.d.ts", + "lib/io/android-people.d.ts", + "lib/io/android-person-add.d.ts", + "lib/io/android-person.d.ts", + "lib/io/android-phone-landscape.d.ts", + "lib/io/android-phone-portrait.d.ts", + "lib/io/android-pin.d.ts", + "lib/io/android-plane.d.ts", + "lib/io/android-playstore.d.ts", + "lib/io/android-print.d.ts", + "lib/io/android-radio-button-off.d.ts", + "lib/io/android-radio-button-on.d.ts", + "lib/io/android-refresh.d.ts", + "lib/io/android-remove-circle.d.ts", + "lib/io/android-remove.d.ts", + "lib/io/android-restaurant.d.ts", + "lib/io/android-sad.d.ts", + "lib/io/android-search.d.ts", + "lib/io/android-send.d.ts", + "lib/io/android-settings.d.ts", + "lib/io/android-share-alt.d.ts", + "lib/io/android-share.d.ts", + "lib/io/android-star-half.d.ts", + "lib/io/android-star-outline.d.ts", + "lib/io/android-star.d.ts", + "lib/io/android-stopwatch.d.ts", + "lib/io/android-subway.d.ts", + "lib/io/android-sunny.d.ts", + "lib/io/android-sync.d.ts", + "lib/io/android-textsms.d.ts", + "lib/io/android-time.d.ts", + "lib/io/android-train.d.ts", + "lib/io/android-unlock.d.ts", + "lib/io/android-upload.d.ts", + "lib/io/android-volume-down.d.ts", + "lib/io/android-volume-mute.d.ts", + "lib/io/android-volume-off.d.ts", + "lib/io/android-volume-up.d.ts", + "lib/io/android-walk.d.ts", + "lib/io/android-warning.d.ts", + "lib/io/android-watch.d.ts", + "lib/io/android-wifi.d.ts", + "lib/io/aperture.d.ts", + "lib/io/archive.d.ts", + "lib/io/arrow-down-a.d.ts", + "lib/io/arrow-down-b.d.ts", + "lib/io/arrow-down-c.d.ts", + "lib/io/arrow-expand.d.ts", + "lib/io/arrow-graph-down-left.d.ts", + "lib/io/arrow-graph-down-right.d.ts", + "lib/io/arrow-graph-up-left.d.ts", + "lib/io/arrow-graph-up-right.d.ts", + "lib/io/arrow-left-a.d.ts", + "lib/io/arrow-left-b.d.ts", + "lib/io/arrow-left-c.d.ts", + "lib/io/arrow-move.d.ts", + "lib/io/arrow-resize.d.ts", + "lib/io/arrow-return-left.d.ts", + "lib/io/arrow-return-right.d.ts", + "lib/io/arrow-right-a.d.ts", + "lib/io/arrow-right-b.d.ts", + "lib/io/arrow-right-c.d.ts", + "lib/io/arrow-shrink.d.ts", + "lib/io/arrow-swap.d.ts", + "lib/io/arrow-up-a.d.ts", + "lib/io/arrow-up-b.d.ts", + "lib/io/arrow-up-c.d.ts", + "lib/io/asterisk.d.ts", + "lib/io/at.d.ts", + "lib/io/backspace-outline.d.ts", + "lib/io/backspace.d.ts", + "lib/io/bag.d.ts", + "lib/io/battery-charging.d.ts", + "lib/io/battery-empty.d.ts", + "lib/io/battery-full.d.ts", + "lib/io/battery-half.d.ts", + "lib/io/battery-low.d.ts", + "lib/io/beaker.d.ts", + "lib/io/beer.d.ts", + "lib/io/bluetooth.d.ts", + "lib/io/bonfire.d.ts", + "lib/io/bookmark.d.ts", + "lib/io/bowtie.d.ts", + "lib/io/briefcase.d.ts", + "lib/io/bug.d.ts", + "lib/io/calculator.d.ts", + "lib/io/calendar.d.ts", + "lib/io/camera.d.ts", + "lib/io/card.d.ts", + "lib/io/cash.d.ts", + "lib/io/chatbox-working.d.ts", + "lib/io/chatbox.d.ts", + "lib/io/chatboxes.d.ts", + "lib/io/chatbubble-working.d.ts", + "lib/io/chatbubble.d.ts", + "lib/io/chatbubbles.d.ts", + "lib/io/checkmark-circled.d.ts", + "lib/io/checkmark-round.d.ts", + "lib/io/checkmark.d.ts", + "lib/io/chevron-down.d.ts", + "lib/io/chevron-left.d.ts", + "lib/io/chevron-right.d.ts", + "lib/io/chevron-up.d.ts", + "lib/io/clipboard.d.ts", + "lib/io/clock.d.ts", + "lib/io/close-circled.d.ts", + "lib/io/close-round.d.ts", + "lib/io/close.d.ts", + "lib/io/closed-captioning.d.ts", + "lib/io/cloud.d.ts", + "lib/io/code-download.d.ts", + "lib/io/code-working.d.ts", + "lib/io/code.d.ts", + "lib/io/coffee.d.ts", + "lib/io/compass.d.ts", + "lib/io/compose.d.ts", + "lib/io/connectbars.d.ts", + "lib/io/contrast.d.ts", + "lib/io/crop.d.ts", + "lib/io/cube.d.ts", + "lib/io/disc.d.ts", + "lib/io/document-text.d.ts", + "lib/io/document.d.ts", + "lib/io/drag.d.ts", + "lib/io/earth.d.ts", + "lib/io/easel.d.ts", + "lib/io/edit.d.ts", + "lib/io/egg.d.ts", + "lib/io/eject.d.ts", + "lib/io/email-unread.d.ts", + "lib/io/email.d.ts", + "lib/io/erlenmeyer-flask-bubbles.d.ts", + "lib/io/erlenmeyer-flask.d.ts", + "lib/io/eye-disabled.d.ts", + "lib/io/eye.d.ts", + "lib/io/female.d.ts", + "lib/io/filing.d.ts", + "lib/io/film-marker.d.ts", + "lib/io/fireball.d.ts", + "lib/io/flag.d.ts", + "lib/io/flame.d.ts", + "lib/io/flash-off.d.ts", + "lib/io/flash.d.ts", + "lib/io/folder.d.ts", + "lib/io/fork-repo.d.ts", + "lib/io/fork.d.ts", + "lib/io/forward.d.ts", + "lib/io/funnel.d.ts", + "lib/io/gear-a.d.ts", + "lib/io/gear-b.d.ts", + "lib/io/grid.d.ts", + "lib/io/hammer.d.ts", + "lib/io/happy-outline.d.ts", + "lib/io/happy.d.ts", + "lib/io/headphone.d.ts", + "lib/io/heart-broken.d.ts", + "lib/io/heart.d.ts", + "lib/io/help-buoy.d.ts", + "lib/io/help-circled.d.ts", + "lib/io/help.d.ts", + "lib/io/home.d.ts", + "lib/io/icecream.d.ts", + "lib/io/image.d.ts", + "lib/io/images.d.ts", + "lib/io/informatcircled.d.ts", + "lib/io/information.d.ts", + "lib/io/ionic.d.ts", + "lib/io/ios-alarm-outline.d.ts", + "lib/io/ios-alarm.d.ts", + "lib/io/ios-albums-outline.d.ts", + "lib/io/ios-albums.d.ts", + "lib/io/ios-americanfootball-outline.d.ts", + "lib/io/ios-americanfootball.d.ts", + "lib/io/ios-analytics-outline.d.ts", + "lib/io/ios-analytics.d.ts", + "lib/io/ios-arrow-back.d.ts", + "lib/io/ios-arrow-down.d.ts", + "lib/io/ios-arrow-forward.d.ts", + "lib/io/ios-arrow-left.d.ts", + "lib/io/ios-arrow-right.d.ts", + "lib/io/ios-arrow-thin-down.d.ts", + "lib/io/ios-arrow-thin-left.d.ts", + "lib/io/ios-arrow-thin-right.d.ts", + "lib/io/ios-arrow-thin-up.d.ts", + "lib/io/ios-arrow-up.d.ts", + "lib/io/ios-at-outline.d.ts", + "lib/io/ios-at.d.ts", + "lib/io/ios-barcode-outline.d.ts", + "lib/io/ios-barcode.d.ts", + "lib/io/ios-baseball-outline.d.ts", + "lib/io/ios-baseball.d.ts", + "lib/io/ios-basketball-outline.d.ts", + "lib/io/ios-basketball.d.ts", + "lib/io/ios-bell-outline.d.ts", + "lib/io/ios-bell.d.ts", + "lib/io/ios-body-outline.d.ts", + "lib/io/ios-body.d.ts", + "lib/io/ios-bolt-outline.d.ts", + "lib/io/ios-bolt.d.ts", + "lib/io/ios-book-outline.d.ts", + "lib/io/ios-book.d.ts", + "lib/io/ios-bookmarks-outline.d.ts", + "lib/io/ios-bookmarks.d.ts", + "lib/io/ios-box-outline.d.ts", + "lib/io/ios-box.d.ts", + "lib/io/ios-briefcase-outline.d.ts", + "lib/io/ios-briefcase.d.ts", + "lib/io/ios-browsers-outline.d.ts", + "lib/io/ios-browsers.d.ts", + "lib/io/ios-calculator-outline.d.ts", + "lib/io/ios-calculator.d.ts", + "lib/io/ios-calendar-outline.d.ts", + "lib/io/ios-calendar.d.ts", + "lib/io/ios-camera-outline.d.ts", + "lib/io/ios-camera.d.ts", + "lib/io/ios-cart-outline.d.ts", + "lib/io/ios-cart.d.ts", + "lib/io/ios-chatboxes-outline.d.ts", + "lib/io/ios-chatboxes.d.ts", + "lib/io/ios-chatbubble-outline.d.ts", + "lib/io/ios-chatbubble.d.ts", + "lib/io/ios-checkmark-empty.d.ts", + "lib/io/ios-checkmark-outline.d.ts", + "lib/io/ios-checkmark.d.ts", + "lib/io/ios-circle-filled.d.ts", + "lib/io/ios-circle-outline.d.ts", + "lib/io/ios-clock-outline.d.ts", + "lib/io/ios-clock.d.ts", + "lib/io/ios-close-empty.d.ts", + "lib/io/ios-close-outline.d.ts", + "lib/io/ios-close.d.ts", + "lib/io/ios-cloud-download-outline.d.ts", + "lib/io/ios-cloud-download.d.ts", + "lib/io/ios-cloud-outline.d.ts", + "lib/io/ios-cloud-upload-outline.d.ts", + "lib/io/ios-cloud-upload.d.ts", + "lib/io/ios-cloud.d.ts", + "lib/io/ios-cloudy-night-outline.d.ts", + "lib/io/ios-cloudy-night.d.ts", + "lib/io/ios-cloudy-outline.d.ts", + "lib/io/ios-cloudy.d.ts", + "lib/io/ios-cog-outline.d.ts", + "lib/io/ios-cog.d.ts", + "lib/io/ios-color-filter-outline.d.ts", + "lib/io/ios-color-filter.d.ts", + "lib/io/ios-color-wand-outline.d.ts", + "lib/io/ios-color-wand.d.ts", + "lib/io/ios-compose-outline.d.ts", + "lib/io/ios-compose.d.ts", + "lib/io/ios-contact-outline.d.ts", + "lib/io/ios-contact.d.ts", + "lib/io/ios-copy-outline.d.ts", + "lib/io/ios-copy.d.ts", + "lib/io/ios-crop-strong.d.ts", + "lib/io/ios-crop.d.ts", + "lib/io/ios-download-outline.d.ts", + "lib/io/ios-download.d.ts", + "lib/io/ios-drag.d.ts", + "lib/io/ios-email-outline.d.ts", + "lib/io/ios-email.d.ts", + "lib/io/ios-eye-outline.d.ts", + "lib/io/ios-eye.d.ts", + "lib/io/ios-fastforward-outline.d.ts", + "lib/io/ios-fastforward.d.ts", + "lib/io/ios-filing-outline.d.ts", + "lib/io/ios-filing.d.ts", + "lib/io/ios-film-outline.d.ts", + "lib/io/ios-film.d.ts", + "lib/io/ios-flag-outline.d.ts", + "lib/io/ios-flag.d.ts", + "lib/io/ios-flame-outline.d.ts", + "lib/io/ios-flame.d.ts", + "lib/io/ios-flask-outline.d.ts", + "lib/io/ios-flask.d.ts", + "lib/io/ios-flower-outline.d.ts", + "lib/io/ios-flower.d.ts", + "lib/io/ios-folder-outline.d.ts", + "lib/io/ios-folder.d.ts", + "lib/io/ios-football-outline.d.ts", + "lib/io/ios-football.d.ts", + "lib/io/ios-game-controller-a-outline.d.ts", + "lib/io/ios-game-controller-a.d.ts", + "lib/io/ios-game-controller-b-outline.d.ts", + "lib/io/ios-game-controller-b.d.ts", + "lib/io/ios-gear-outline.d.ts", + "lib/io/ios-gear.d.ts", + "lib/io/ios-glasses-outline.d.ts", + "lib/io/ios-glasses.d.ts", + "lib/io/ios-grid-view-outline.d.ts", + "lib/io/ios-grid-view.d.ts", + "lib/io/ios-heart-outline.d.ts", + "lib/io/ios-heart.d.ts", + "lib/io/ios-help-empty.d.ts", + "lib/io/ios-help-outline.d.ts", + "lib/io/ios-help.d.ts", + "lib/io/ios-home-outline.d.ts", + "lib/io/ios-home.d.ts", + "lib/io/ios-infinite-outline.d.ts", + "lib/io/ios-infinite.d.ts", + "lib/io/ios-informatempty.d.ts", + "lib/io/ios-information.d.ts", + "lib/io/ios-informatoutline.d.ts", + "lib/io/ios-ionic-outline.d.ts", + "lib/io/ios-keypad-outline.d.ts", + "lib/io/ios-keypad.d.ts", + "lib/io/ios-lightbulb-outline.d.ts", + "lib/io/ios-lightbulb.d.ts", + "lib/io/ios-list-outline.d.ts", + "lib/io/ios-list.d.ts", + "lib/io/ios-location.d.ts", + "lib/io/ios-locatoutline.d.ts", + "lib/io/ios-locked-outline.d.ts", + "lib/io/ios-locked.d.ts", + "lib/io/ios-loop-strong.d.ts", + "lib/io/ios-loop.d.ts", + "lib/io/ios-medical-outline.d.ts", + "lib/io/ios-medical.d.ts", + "lib/io/ios-medkit-outline.d.ts", + "lib/io/ios-medkit.d.ts", + "lib/io/ios-mic-off.d.ts", + "lib/io/ios-mic-outline.d.ts", + "lib/io/ios-mic.d.ts", + "lib/io/ios-minus-empty.d.ts", + "lib/io/ios-minus-outline.d.ts", + "lib/io/ios-minus.d.ts", + "lib/io/ios-monitor-outline.d.ts", + "lib/io/ios-monitor.d.ts", + "lib/io/ios-moon-outline.d.ts", + "lib/io/ios-moon.d.ts", + "lib/io/ios-more-outline.d.ts", + "lib/io/ios-more.d.ts", + "lib/io/ios-musical-note.d.ts", + "lib/io/ios-musical-notes.d.ts", + "lib/io/ios-navigate-outline.d.ts", + "lib/io/ios-navigate.d.ts", + "lib/io/ios-nutrition.d.ts", + "lib/io/ios-nutritoutline.d.ts", + "lib/io/ios-paper-outline.d.ts", + "lib/io/ios-paper.d.ts", + "lib/io/ios-paperplane-outline.d.ts", + "lib/io/ios-paperplane.d.ts", + "lib/io/ios-partlysunny-outline.d.ts", + "lib/io/ios-partlysunny.d.ts", + "lib/io/ios-pause-outline.d.ts", + "lib/io/ios-pause.d.ts", + "lib/io/ios-paw-outline.d.ts", + "lib/io/ios-paw.d.ts", + "lib/io/ios-people-outline.d.ts", + "lib/io/ios-people.d.ts", + "lib/io/ios-person-outline.d.ts", + "lib/io/ios-person.d.ts", + "lib/io/ios-personadd-outline.d.ts", + "lib/io/ios-personadd.d.ts", + "lib/io/ios-photos-outline.d.ts", + "lib/io/ios-photos.d.ts", + "lib/io/ios-pie-outline.d.ts", + "lib/io/ios-pie.d.ts", + "lib/io/ios-pint-outline.d.ts", + "lib/io/ios-pint.d.ts", + "lib/io/ios-play-outline.d.ts", + "lib/io/ios-play.d.ts", + "lib/io/ios-plus-empty.d.ts", + "lib/io/ios-plus-outline.d.ts", + "lib/io/ios-plus.d.ts", + "lib/io/ios-pricetag-outline.d.ts", + "lib/io/ios-pricetag.d.ts", + "lib/io/ios-pricetags-outline.d.ts", + "lib/io/ios-pricetags.d.ts", + "lib/io/ios-printer-outline.d.ts", + "lib/io/ios-printer.d.ts", + "lib/io/ios-pulse-strong.d.ts", + "lib/io/ios-pulse.d.ts", + "lib/io/ios-rainy-outline.d.ts", + "lib/io/ios-rainy.d.ts", + "lib/io/ios-recording-outline.d.ts", + "lib/io/ios-recording.d.ts", + "lib/io/ios-redo-outline.d.ts", + "lib/io/ios-redo.d.ts", + "lib/io/ios-refresh-empty.d.ts", + "lib/io/ios-refresh-outline.d.ts", + "lib/io/ios-refresh.d.ts", + "lib/io/ios-reload.d.ts", + "lib/io/ios-reverse-camera-outline.d.ts", + "lib/io/ios-reverse-camera.d.ts", + "lib/io/ios-rewind-outline.d.ts", + "lib/io/ios-rewind.d.ts", + "lib/io/ios-rose-outline.d.ts", + "lib/io/ios-rose.d.ts", + "lib/io/ios-search-strong.d.ts", + "lib/io/ios-search.d.ts", + "lib/io/ios-settings-strong.d.ts", + "lib/io/ios-settings.d.ts", + "lib/io/ios-shuffle-strong.d.ts", + "lib/io/ios-shuffle.d.ts", + "lib/io/ios-skipbackward-outline.d.ts", + "lib/io/ios-skipbackward.d.ts", + "lib/io/ios-skipforward-outline.d.ts", + "lib/io/ios-skipforward.d.ts", + "lib/io/ios-snowy.d.ts", + "lib/io/ios-speedometer-outline.d.ts", + "lib/io/ios-speedometer.d.ts", + "lib/io/ios-star-half.d.ts", + "lib/io/ios-star-outline.d.ts", + "lib/io/ios-star.d.ts", + "lib/io/ios-stopwatch-outline.d.ts", + "lib/io/ios-stopwatch.d.ts", + "lib/io/ios-sunny-outline.d.ts", + "lib/io/ios-sunny.d.ts", + "lib/io/ios-telephone-outline.d.ts", + "lib/io/ios-telephone.d.ts", + "lib/io/ios-tennisball-outline.d.ts", + "lib/io/ios-tennisball.d.ts", + "lib/io/ios-thunderstorm-outline.d.ts", + "lib/io/ios-thunderstorm.d.ts", + "lib/io/ios-time-outline.d.ts", + "lib/io/ios-time.d.ts", + "lib/io/ios-timer-outline.d.ts", + "lib/io/ios-timer.d.ts", + "lib/io/ios-toggle-outline.d.ts", + "lib/io/ios-toggle.d.ts", + "lib/io/ios-trash-outline.d.ts", + "lib/io/ios-trash.d.ts", + "lib/io/ios-undo-outline.d.ts", + "lib/io/ios-undo.d.ts", + "lib/io/ios-unlocked-outline.d.ts", + "lib/io/ios-unlocked.d.ts", + "lib/io/ios-upload-outline.d.ts", + "lib/io/ios-upload.d.ts", + "lib/io/ios-videocam-outline.d.ts", + "lib/io/ios-videocam.d.ts", + "lib/io/ios-volume-high.d.ts", + "lib/io/ios-volume-low.d.ts", + "lib/io/ios-wineglass-outline.d.ts", + "lib/io/ios-wineglass.d.ts", + "lib/io/ios-world-outline.d.ts", + "lib/io/ios-world.d.ts", + "lib/io/ipad.d.ts", + "lib/io/iphone.d.ts", + "lib/io/ipod.d.ts", + "lib/io/jet.d.ts", + "lib/io/key.d.ts", + "lib/io/knife.d.ts", + "lib/io/laptop.d.ts", + "lib/io/leaf.d.ts", + "lib/io/levels.d.ts", + "lib/io/lightbulb.d.ts", + "lib/io/link.d.ts", + "lib/io/load-a.d.ts", + "lib/io/load-b.d.ts", + "lib/io/load-c.d.ts", + "lib/io/load-d.d.ts", + "lib/io/location.d.ts", + "lib/io/lock-combination.d.ts", + "lib/io/locked.d.ts", + "lib/io/log-in.d.ts", + "lib/io/log-out.d.ts", + "lib/io/loop.d.ts", + "lib/io/magnet.d.ts", + "lib/io/male.d.ts", + "lib/io/man.d.ts", + "lib/io/map.d.ts", + "lib/io/medkit.d.ts", + "lib/io/merge.d.ts", + "lib/io/mic-a.d.ts", + "lib/io/mic-b.d.ts", + "lib/io/mic-c.d.ts", + "lib/io/minus-circled.d.ts", + "lib/io/minus-round.d.ts", + "lib/io/minus.d.ts", + "lib/io/model-s.d.ts", + "lib/io/monitor.d.ts", + "lib/io/more.d.ts", + "lib/io/mouse.d.ts", + "lib/io/music-note.d.ts", + "lib/io/navicon-round.d.ts", + "lib/io/navicon.d.ts", + "lib/io/navigate.d.ts", + "lib/io/network.d.ts", + "lib/io/no-smoking.d.ts", + "lib/io/nuclear.d.ts", + "lib/io/outlet.d.ts", + "lib/io/paintbrush.d.ts", + "lib/io/paintbucket.d.ts", + "lib/io/paper-airplane.d.ts", + "lib/io/paperclip.d.ts", + "lib/io/pause.d.ts", + "lib/io/person-add.d.ts", + "lib/io/person-stalker.d.ts", + "lib/io/person.d.ts", + "lib/io/pie-graph.d.ts", + "lib/io/pin.d.ts", + "lib/io/pinpoint.d.ts", + "lib/io/pizza.d.ts", + "lib/io/plane.d.ts", + "lib/io/planet.d.ts", + "lib/io/play.d.ts", + "lib/io/playstation.d.ts", + "lib/io/plus-circled.d.ts", + "lib/io/plus-round.d.ts", + "lib/io/plus.d.ts", + "lib/io/podium.d.ts", + "lib/io/pound.d.ts", + "lib/io/power.d.ts", + "lib/io/pricetag.d.ts", + "lib/io/pricetags.d.ts", + "lib/io/printer.d.ts", + "lib/io/pull-request.d.ts", + "lib/io/qr-scanner.d.ts", + "lib/io/quote.d.ts", + "lib/io/radio-waves.d.ts", + "lib/io/record.d.ts", + "lib/io/refresh.d.ts", + "lib/io/reply-all.d.ts", + "lib/io/reply.d.ts", + "lib/io/ribbon-a.d.ts", + "lib/io/ribbon-b.d.ts", + "lib/io/sad-outline.d.ts", + "lib/io/sad.d.ts", + "lib/io/scissors.d.ts", + "lib/io/search.d.ts", + "lib/io/settings.d.ts", + "lib/io/share.d.ts", + "lib/io/shuffle.d.ts", + "lib/io/skip-backward.d.ts", + "lib/io/skip-forward.d.ts", + "lib/io/social-android-outline.d.ts", + "lib/io/social-android.d.ts", + "lib/io/social-angular-outline.d.ts", + "lib/io/social-angular.d.ts", + "lib/io/social-apple-outline.d.ts", + "lib/io/social-apple.d.ts", + "lib/io/social-bitcoin-outline.d.ts", + "lib/io/social-bitcoin.d.ts", + "lib/io/social-buffer-outline.d.ts", + "lib/io/social-buffer.d.ts", + "lib/io/social-chrome-outline.d.ts", + "lib/io/social-chrome.d.ts", + "lib/io/social-codepen-outline.d.ts", + "lib/io/social-codepen.d.ts", + "lib/io/social-css3-outline.d.ts", + "lib/io/social-css3.d.ts", + "lib/io/social-designernews-outline.d.ts", + "lib/io/social-designernews.d.ts", + "lib/io/social-dribbble-outline.d.ts", + "lib/io/social-dribbble.d.ts", + "lib/io/social-dropbox-outline.d.ts", + "lib/io/social-dropbox.d.ts", + "lib/io/social-euro-outline.d.ts", + "lib/io/social-euro.d.ts", + "lib/io/social-facebook-outline.d.ts", + "lib/io/social-facebook.d.ts", + "lib/io/social-foursquare-outline.d.ts", + "lib/io/social-foursquare.d.ts", + "lib/io/social-freebsd-devil.d.ts", + "lib/io/social-github-outline.d.ts", + "lib/io/social-github.d.ts", + "lib/io/social-google-outline.d.ts", + "lib/io/social-google.d.ts", + "lib/io/social-googleplus-outline.d.ts", + "lib/io/social-googleplus.d.ts", + "lib/io/social-hackernews-outline.d.ts", + "lib/io/social-hackernews.d.ts", + "lib/io/social-html5-outline.d.ts", + "lib/io/social-html5.d.ts", + "lib/io/social-instagram-outline.d.ts", + "lib/io/social-instagram.d.ts", + "lib/io/social-javascript-outline.d.ts", + "lib/io/social-javascript.d.ts", + "lib/io/social-linkedin-outline.d.ts", + "lib/io/social-linkedin.d.ts", + "lib/io/social-markdown.d.ts", + "lib/io/social-nodejs.d.ts", + "lib/io/social-octocat.d.ts", + "lib/io/social-pinterest-outline.d.ts", + "lib/io/social-pinterest.d.ts", + "lib/io/social-python.d.ts", + "lib/io/social-reddit-outline.d.ts", + "lib/io/social-reddit.d.ts", + "lib/io/social-rss-outline.d.ts", + "lib/io/social-rss.d.ts", + "lib/io/social-sass.d.ts", + "lib/io/social-skype-outline.d.ts", + "lib/io/social-skype.d.ts", + "lib/io/social-snapchat-outline.d.ts", + "lib/io/social-snapchat.d.ts", + "lib/io/social-tumblr-outline.d.ts", + "lib/io/social-tumblr.d.ts", + "lib/io/social-tux.d.ts", + "lib/io/social-twitch-outline.d.ts", + "lib/io/social-twitch.d.ts", + "lib/io/social-twitter-outline.d.ts", + "lib/io/social-twitter.d.ts", + "lib/io/social-usd-outline.d.ts", + "lib/io/social-usd.d.ts", + "lib/io/social-vimeo-outline.d.ts", + "lib/io/social-vimeo.d.ts", + "lib/io/social-whatsapp-outline.d.ts", + "lib/io/social-whatsapp.d.ts", + "lib/io/social-windows-outline.d.ts", + "lib/io/social-windows.d.ts", + "lib/io/social-wordpress-outline.d.ts", + "lib/io/social-wordpress.d.ts", + "lib/io/social-yahoo-outline.d.ts", + "lib/io/social-yahoo.d.ts", + "lib/io/social-yen-outline.d.ts", + "lib/io/social-yen.d.ts", + "lib/io/social-youtube-outline.d.ts", + "lib/io/social-youtube.d.ts", + "lib/io/soup-can-outline.d.ts", + "lib/io/soup-can.d.ts", + "lib/io/speakerphone.d.ts", + "lib/io/speedometer.d.ts", + "lib/io/spoon.d.ts", + "lib/io/star.d.ts", + "lib/io/stats-bars.d.ts", + "lib/io/steam.d.ts", + "lib/io/stop.d.ts", + "lib/io/thermometer.d.ts", + "lib/io/thumbsdown.d.ts", + "lib/io/thumbsup.d.ts", + "lib/io/toggle-filled.d.ts", + "lib/io/toggle.d.ts", + "lib/io/transgender.d.ts", + "lib/io/trash-a.d.ts", + "lib/io/trash-b.d.ts", + "lib/io/trophy.d.ts", + "lib/io/tshirt-outline.d.ts", + "lib/io/tshirt.d.ts", + "lib/io/umbrella.d.ts", + "lib/io/university.d.ts", + "lib/io/unlocked.d.ts", + "lib/io/upload.d.ts", + "lib/io/usb.d.ts", + "lib/io/videocamera.d.ts", + "lib/io/volume-high.d.ts", + "lib/io/volume-low.d.ts", + "lib/io/volume-medium.d.ts", + "lib/io/volume-mute.d.ts", + "lib/io/wand.d.ts", + "lib/io/waterdrop.d.ts", + "lib/io/wifi.d.ts", + "lib/io/wineglass.d.ts", + "lib/io/woman.d.ts", + "lib/io/wrench.d.ts", + "lib/io/xbox.d.ts", + "lib/md/3d-rotation.d.ts", + "lib/md/ac-unit.d.ts", + "lib/md/access-alarm.d.ts", + "lib/md/access-alarms.d.ts", + "lib/md/access-time.d.ts", + "lib/md/accessibility.d.ts", + "lib/md/accessible.d.ts", + "lib/md/account-balance-wallet.d.ts", + "lib/md/account-balance.d.ts", + "lib/md/account-box.d.ts", + "lib/md/account-circle.d.ts", + "lib/md/adb.d.ts", + "lib/md/add-a-photo.d.ts", + "lib/md/add-alarm.d.ts", + "lib/md/add-alert.d.ts", + "lib/md/add-box.d.ts", + "lib/md/add-circle-outline.d.ts", + "lib/md/add-circle.d.ts", + "lib/md/add-location.d.ts", + "lib/md/add-shopping-cart.d.ts", + "lib/md/add-to-photos.d.ts", + "lib/md/add-to-queue.d.ts", + "lib/md/add.d.ts", + "lib/md/adjust.d.ts", + "lib/md/airline-seat-flat-angled.d.ts", + "lib/md/airline-seat-flat.d.ts", + "lib/md/airline-seat-individual-suite.d.ts", + "lib/md/airline-seat-legroom-extra.d.ts", + "lib/md/airline-seat-legroom-normal.d.ts", + "lib/md/airline-seat-legroom-reduced.d.ts", + "lib/md/airline-seat-recline-extra.d.ts", + "lib/md/airline-seat-recline-normal.d.ts", + "lib/md/airplanemode-active.d.ts", + "lib/md/airplanemode-inactive.d.ts", + "lib/md/airplay.d.ts", + "lib/md/airport-shuttle.d.ts", + "lib/md/alarm-add.d.ts", + "lib/md/alarm-off.d.ts", + "lib/md/alarm-on.d.ts", + "lib/md/alarm.d.ts", + "lib/md/album.d.ts", + "lib/md/all-inclusive.d.ts", + "lib/md/all-out.d.ts", + "lib/md/android.d.ts", + "lib/md/announcement.d.ts", + "lib/md/apps.d.ts", + "lib/md/archive.d.ts", + "lib/md/arrow-back.d.ts", + "lib/md/arrow-downward.d.ts", + "lib/md/arrow-drop-down-circle.d.ts", + "lib/md/arrow-drop-down.d.ts", + "lib/md/arrow-drop-up.d.ts", + "lib/md/arrow-forward.d.ts", + "lib/md/arrow-upward.d.ts", + "lib/md/art-track.d.ts", + "lib/md/aspect-ratio.d.ts", + "lib/md/assessment.d.ts", + "lib/md/assignment-ind.d.ts", + "lib/md/assignment-late.d.ts", + "lib/md/assignment-return.d.ts", + "lib/md/assignment-returned.d.ts", + "lib/md/assignment-turned-in.d.ts", + "lib/md/assignment.d.ts", + "lib/md/assistant-photo.d.ts", + "lib/md/assistant.d.ts", + "lib/md/attach-file.d.ts", + "lib/md/attach-money.d.ts", + "lib/md/attachment.d.ts", + "lib/md/audiotrack.d.ts", + "lib/md/autorenew.d.ts", + "lib/md/av-timer.d.ts", + "lib/md/backspace.d.ts", + "lib/md/backup.d.ts", + "lib/md/battery-alert.d.ts", + "lib/md/battery-charging-full.d.ts", + "lib/md/battery-full.d.ts", + "lib/md/battery-std.d.ts", + "lib/md/battery-unknown.d.ts", + "lib/md/beach-access.d.ts", + "lib/md/beenhere.d.ts", + "lib/md/block.d.ts", + "lib/md/bluetooth-audio.d.ts", + "lib/md/bluetooth-connected.d.ts", + "lib/md/bluetooth-disabled.d.ts", + "lib/md/bluetooth-searching.d.ts", + "lib/md/bluetooth.d.ts", + "lib/md/blur-circular.d.ts", + "lib/md/blur-linear.d.ts", + "lib/md/blur-off.d.ts", + "lib/md/blur-on.d.ts", + "lib/md/book.d.ts", + "lib/md/bookmark-outline.d.ts", + "lib/md/bookmark.d.ts", + "lib/md/border-all.d.ts", + "lib/md/border-bottom.d.ts", + "lib/md/border-clear.d.ts", + "lib/md/border-color.d.ts", + "lib/md/border-horizontal.d.ts", + "lib/md/border-inner.d.ts", + "lib/md/border-left.d.ts", + "lib/md/border-outer.d.ts", + "lib/md/border-right.d.ts", + "lib/md/border-style.d.ts", + "lib/md/border-top.d.ts", + "lib/md/border-vertical.d.ts", + "lib/md/branding-watermark.d.ts", + "lib/md/brightness-1.d.ts", + "lib/md/brightness-2.d.ts", + "lib/md/brightness-3.d.ts", + "lib/md/brightness-4.d.ts", + "lib/md/brightness-5.d.ts", + "lib/md/brightness-6.d.ts", + "lib/md/brightness-7.d.ts", + "lib/md/brightness-auto.d.ts", + "lib/md/brightness-high.d.ts", + "lib/md/brightness-low.d.ts", + "lib/md/brightness-medium.d.ts", + "lib/md/broken-image.d.ts", + "lib/md/brush.d.ts", + "lib/md/bubble-chart.d.ts", + "lib/md/bug-report.d.ts", + "lib/md/build.d.ts", + "lib/md/burst-mode.d.ts", + "lib/md/business-center.d.ts", + "lib/md/business.d.ts", + "lib/md/cached.d.ts", + "lib/md/cake.d.ts", + "lib/md/call-end.d.ts", + "lib/md/call-made.d.ts", + "lib/md/call-merge.d.ts", + "lib/md/call-missed-outgoing.d.ts", + "lib/md/call-missed.d.ts", + "lib/md/call-received.d.ts", + "lib/md/call-split.d.ts", + "lib/md/call-to-action.d.ts", + "lib/md/call.d.ts", + "lib/md/camera-alt.d.ts", + "lib/md/camera-enhance.d.ts", + "lib/md/camera-front.d.ts", + "lib/md/camera-rear.d.ts", + "lib/md/camera-roll.d.ts", + "lib/md/camera.d.ts", + "lib/md/cancel.d.ts", + "lib/md/card-giftcard.d.ts", + "lib/md/card-membership.d.ts", + "lib/md/card-travel.d.ts", + "lib/md/casino.d.ts", + "lib/md/cast-connected.d.ts", + "lib/md/cast.d.ts", + "lib/md/center-focus-strong.d.ts", + "lib/md/center-focus-weak.d.ts", + "lib/md/change-history.d.ts", + "lib/md/chat-bubble-outline.d.ts", + "lib/md/chat-bubble.d.ts", + "lib/md/chat.d.ts", + "lib/md/check-box-outline-blank.d.ts", + "lib/md/check-box.d.ts", + "lib/md/check-circle.d.ts", + "lib/md/check.d.ts", + "lib/md/chevron-left.d.ts", + "lib/md/chevron-right.d.ts", + "lib/md/child-care.d.ts", + "lib/md/child-friendly.d.ts", + "lib/md/chrome-reader-mode.d.ts", + "lib/md/class.d.ts", + "lib/md/clear-all.d.ts", + "lib/md/clear.d.ts", + "lib/md/close.d.ts", + "lib/md/closed-caption.d.ts", + "lib/md/cloud-circle.d.ts", + "lib/md/cloud-done.d.ts", + "lib/md/cloud-download.d.ts", + "lib/md/cloud-off.d.ts", + "lib/md/cloud-queue.d.ts", + "lib/md/cloud-upload.d.ts", + "lib/md/cloud.d.ts", + "lib/md/code.d.ts", + "lib/md/collections-bookmark.d.ts", + "lib/md/collections.d.ts", + "lib/md/color-lens.d.ts", + "lib/md/colorize.d.ts", + "lib/md/comment.d.ts", + "lib/md/compare-arrows.d.ts", + "lib/md/compare.d.ts", + "lib/md/computer.d.ts", + "lib/md/confirmation-number.d.ts", + "lib/md/contact-mail.d.ts", + "lib/md/contact-phone.d.ts", + "lib/md/contacts.d.ts", + "lib/md/content-copy.d.ts", + "lib/md/content-cut.d.ts", + "lib/md/content-paste.d.ts", + "lib/md/control-point-duplicate.d.ts", + "lib/md/control-point.d.ts", + "lib/md/copyright.d.ts", + "lib/md/create-new-folder.d.ts", + "lib/md/create.d.ts", + "lib/md/credit-card.d.ts", + "lib/md/crop-16-9.d.ts", + "lib/md/crop-3-2.d.ts", + "lib/md/crop-5-4.d.ts", + "lib/md/crop-7-5.d.ts", + "lib/md/crop-din.d.ts", + "lib/md/crop-free.d.ts", + "lib/md/crop-landscape.d.ts", + "lib/md/crop-original.d.ts", + "lib/md/crop-portrait.d.ts", + "lib/md/crop-rotate.d.ts", + "lib/md/crop-square.d.ts", + "lib/md/crop.d.ts", + "lib/md/dashboard.d.ts", + "lib/md/data-usage.d.ts", + "lib/md/date-range.d.ts", + "lib/md/dehaze.d.ts", + "lib/md/delete-forever.d.ts", + "lib/md/delete-sweep.d.ts", + "lib/md/delete.d.ts", + "lib/md/description.d.ts", + "lib/md/desktop-mac.d.ts", + "lib/md/desktop-windows.d.ts", + "lib/md/details.d.ts", + "lib/md/developer-board.d.ts", + "lib/md/developer-mode.d.ts", + "lib/md/device-hub.d.ts", + "lib/md/devices-other.d.ts", + "lib/md/devices.d.ts", + "lib/md/dialer-sip.d.ts", + "lib/md/dialpad.d.ts", + "lib/md/directions-bike.d.ts", + "lib/md/directions-boat.d.ts", + "lib/md/directions-bus.d.ts", + "lib/md/directions-car.d.ts", + "lib/md/directions-ferry.d.ts", + "lib/md/directions-railway.d.ts", + "lib/md/directions-run.d.ts", + "lib/md/directions-subway.d.ts", + "lib/md/directions-transit.d.ts", + "lib/md/directions-walk.d.ts", + "lib/md/directions.d.ts", + "lib/md/disc-full.d.ts", + "lib/md/dns.d.ts", + "lib/md/do-not-disturb-alt.d.ts", + "lib/md/do-not-disturb-off.d.ts", + "lib/md/do-not-disturb.d.ts", + "lib/md/dock.d.ts", + "lib/md/domain.d.ts", + "lib/md/done-all.d.ts", + "lib/md/done.d.ts", + "lib/md/donut-large.d.ts", + "lib/md/donut-small.d.ts", + "lib/md/drafts.d.ts", + "lib/md/drag-handle.d.ts", + "lib/md/drive-eta.d.ts", + "lib/md/dvr.d.ts", + "lib/md/edit-location.d.ts", + "lib/md/edit.d.ts", + "lib/md/eject.d.ts", + "lib/md/email.d.ts", + "lib/md/enhanced-encryption.d.ts", + "lib/md/equalizer.d.ts", + "lib/md/error-outline.d.ts", + "lib/md/error.d.ts", + "lib/md/euro-symbol.d.ts", + "lib/md/ev-station.d.ts", + "lib/md/event-available.d.ts", + "lib/md/event-busy.d.ts", + "lib/md/event-note.d.ts", + "lib/md/event-seat.d.ts", + "lib/md/event.d.ts", + "lib/md/exit-to-app.d.ts", + "lib/md/expand-less.d.ts", + "lib/md/expand-more.d.ts", + "lib/md/explicit.d.ts", + "lib/md/explore.d.ts", + "lib/md/exposure-minus-1.d.ts", + "lib/md/exposure-minus-2.d.ts", + "lib/md/exposure-neg-1.d.ts", + "lib/md/exposure-neg-2.d.ts", + "lib/md/exposure-plus-1.d.ts", + "lib/md/exposure-plus-2.d.ts", + "lib/md/exposure-zero.d.ts", + "lib/md/exposure.d.ts", + "lib/md/extension.d.ts", + "lib/md/face.d.ts", + "lib/md/fast-forward.d.ts", + "lib/md/fast-rewind.d.ts", + "lib/md/favorite-border.d.ts", + "lib/md/favorite-outline.d.ts", + "lib/md/favorite.d.ts", + "lib/md/featured-play-list.d.ts", + "lib/md/featured-video.d.ts", + "lib/md/feedback.d.ts", + "lib/md/fiber-dvr.d.ts", + "lib/md/fiber-manual-record.d.ts", + "lib/md/fiber-new.d.ts", + "lib/md/fiber-pin.d.ts", + "lib/md/fiber-smart-record.d.ts", + "lib/md/file-download.d.ts", + "lib/md/file-upload.d.ts", + "lib/md/filter-1.d.ts", + "lib/md/filter-2.d.ts", + "lib/md/filter-3.d.ts", + "lib/md/filter-4.d.ts", + "lib/md/filter-5.d.ts", + "lib/md/filter-6.d.ts", + "lib/md/filter-7.d.ts", + "lib/md/filter-8.d.ts", + "lib/md/filter-9-plus.d.ts", + "lib/md/filter-9.d.ts", + "lib/md/filter-b-and-w.d.ts", + "lib/md/filter-center-focus.d.ts", + "lib/md/filter-drama.d.ts", + "lib/md/filter-frames.d.ts", + "lib/md/filter-hdr.d.ts", + "lib/md/filter-list.d.ts", + "lib/md/filter-none.d.ts", + "lib/md/filter-tilt-shift.d.ts", + "lib/md/filter-vintage.d.ts", + "lib/md/filter.d.ts", + "lib/md/find-in-page.d.ts", + "lib/md/find-replace.d.ts", + "lib/md/fingerprint.d.ts", + "lib/md/first-page.d.ts", + "lib/md/fitness-center.d.ts", + "lib/md/flag.d.ts", + "lib/md/flare.d.ts", + "lib/md/flash-auto.d.ts", + "lib/md/flash-off.d.ts", + "lib/md/flash-on.d.ts", + "lib/md/flight-land.d.ts", + "lib/md/flight-takeoff.d.ts", + "lib/md/flight.d.ts", + "lib/md/flip-to-back.d.ts", + "lib/md/flip-to-front.d.ts", + "lib/md/flip.d.ts", + "lib/md/folder-open.d.ts", + "lib/md/folder-shared.d.ts", + "lib/md/folder-special.d.ts", + "lib/md/folder.d.ts", + "lib/md/font-download.d.ts", + "lib/md/format-align-center.d.ts", + "lib/md/format-align-justify.d.ts", + "lib/md/format-align-left.d.ts", + "lib/md/format-align-right.d.ts", + "lib/md/format-bold.d.ts", + "lib/md/format-clear.d.ts", + "lib/md/format-color-fill.d.ts", + "lib/md/format-color-reset.d.ts", + "lib/md/format-color-text.d.ts", + "lib/md/format-indent-decrease.d.ts", + "lib/md/format-indent-increase.d.ts", + "lib/md/format-italic.d.ts", + "lib/md/format-line-spacing.d.ts", + "lib/md/format-list-bulleted.d.ts", + "lib/md/format-list-numbered.d.ts", + "lib/md/format-paint.d.ts", + "lib/md/format-quote.d.ts", + "lib/md/format-shapes.d.ts", + "lib/md/format-size.d.ts", + "lib/md/format-strikethrough.d.ts", + "lib/md/format-textdirection-l-to-r.d.ts", + "lib/md/format-textdirection-r-to-l.d.ts", + "lib/md/format-underlined.d.ts", + "lib/md/forum.d.ts", + "lib/md/forward-10.d.ts", + "lib/md/forward-30.d.ts", + "lib/md/forward-5.d.ts", + "lib/md/forward.d.ts", + "lib/md/free-breakfast.d.ts", + "lib/md/fullscreen-exit.d.ts", + "lib/md/fullscreen.d.ts", + "lib/md/functions.d.ts", + "lib/md/g-translate.d.ts", + "lib/md/gamepad.d.ts", + "lib/md/games.d.ts", + "lib/md/gavel.d.ts", + "lib/md/gesture.d.ts", + "lib/md/get-app.d.ts", + "lib/md/gif.d.ts", + "lib/md/goat.d.ts", + "lib/md/golf-course.d.ts", + "lib/md/gps-fixed.d.ts", + "lib/md/gps-not-fixed.d.ts", + "lib/md/gps-off.d.ts", + "lib/md/grade.d.ts", + "lib/md/gradient.d.ts", + "lib/md/grain.d.ts", + "lib/md/graphic-eq.d.ts", + "lib/md/grid-off.d.ts", + "lib/md/grid-on.d.ts", + "lib/md/group-add.d.ts", + "lib/md/group-work.d.ts", + "lib/md/group.d.ts", + "lib/md/hd.d.ts", + "lib/md/hdr-off.d.ts", + "lib/md/hdr-on.d.ts", + "lib/md/hdr-strong.d.ts", + "lib/md/hdr-weak.d.ts", + "lib/md/headset-mic.d.ts", + "lib/md/headset.d.ts", + "lib/md/healing.d.ts", + "lib/md/hearing.d.ts", + "lib/md/help-outline.d.ts", + "lib/md/help.d.ts", + "lib/md/high-quality.d.ts", + "lib/md/highlight-off.d.ts", + "lib/md/highlight-remove.d.ts", + "lib/md/highlight.d.ts", + "lib/md/history.d.ts", + "lib/md/home.d.ts", + "lib/md/hot-tub.d.ts", + "lib/md/hotel.d.ts", + "lib/md/hourglass-empty.d.ts", + "lib/md/hourglass-full.d.ts", + "lib/md/http.d.ts", + "lib/md/https.d.ts", + "lib/md/image-aspect-ratio.d.ts", + "lib/md/image.d.ts", + "lib/md/import-contacts.d.ts", + "lib/md/import-export.d.ts", + "lib/md/important-devices.d.ts", + "lib/md/inbox.d.ts", + "lib/md/indeterminate-check-box.d.ts", + "lib/md/info-outline.d.ts", + "lib/md/info.d.ts", + "lib/md/input.d.ts", + "lib/md/insert-chart.d.ts", + "lib/md/insert-comment.d.ts", + "lib/md/insert-drive-file.d.ts", + "lib/md/insert-emoticon.d.ts", + "lib/md/insert-invitation.d.ts", + "lib/md/insert-link.d.ts", + "lib/md/insert-photo.d.ts", + "lib/md/invert-colors-off.d.ts", + "lib/md/invert-colors-on.d.ts", + "lib/md/invert-colors.d.ts", + "lib/md/iso.d.ts", + "lib/md/keyboard-arrow-down.d.ts", + "lib/md/keyboard-arrow-left.d.ts", + "lib/md/keyboard-arrow-right.d.ts", + "lib/md/keyboard-arrow-up.d.ts", + "lib/md/keyboard-backspace.d.ts", + "lib/md/keyboard-capslock.d.ts", + "lib/md/keyboard-control.d.ts", + "lib/md/keyboard-hide.d.ts", + "lib/md/keyboard-return.d.ts", + "lib/md/keyboard-tab.d.ts", + "lib/md/keyboard-voice.d.ts", + "lib/md/keyboard.d.ts", + "lib/md/kitchen.d.ts", + "lib/md/label-outline.d.ts", + "lib/md/label.d.ts", + "lib/md/landscape.d.ts", + "lib/md/language.d.ts", + "lib/md/laptop-chromebook.d.ts", + "lib/md/laptop-mac.d.ts", + "lib/md/laptop-windows.d.ts", + "lib/md/laptop.d.ts", + "lib/md/last-page.d.ts", + "lib/md/launch.d.ts", + "lib/md/layers-clear.d.ts", + "lib/md/layers.d.ts", + "lib/md/leak-add.d.ts", + "lib/md/leak-remove.d.ts", + "lib/md/lens.d.ts", + "lib/md/library-add.d.ts", + "lib/md/library-books.d.ts", + "lib/md/library-music.d.ts", + "lib/md/lightbulb-outline.d.ts", + "lib/md/line-style.d.ts", + "lib/md/line-weight.d.ts", + "lib/md/linear-scale.d.ts", + "lib/md/link.d.ts", + "lib/md/linked-camera.d.ts", + "lib/md/list.d.ts", + "lib/md/live-help.d.ts", + "lib/md/live-tv.d.ts", + "lib/md/local-airport.d.ts", + "lib/md/local-atm.d.ts", + "lib/md/local-attraction.d.ts", + "lib/md/local-bar.d.ts", + "lib/md/local-cafe.d.ts", + "lib/md/local-car-wash.d.ts", + "lib/md/local-convenience-store.d.ts", + "lib/md/local-drink.d.ts", + "lib/md/local-florist.d.ts", + "lib/md/local-gas-station.d.ts", + "lib/md/local-grocery-store.d.ts", + "lib/md/local-hospital.d.ts", + "lib/md/local-hotel.d.ts", + "lib/md/local-laundry-service.d.ts", + "lib/md/local-library.d.ts", + "lib/md/local-mall.d.ts", + "lib/md/local-movies.d.ts", + "lib/md/local-offer.d.ts", + "lib/md/local-parking.d.ts", + "lib/md/local-pharmacy.d.ts", + "lib/md/local-phone.d.ts", + "lib/md/local-pizza.d.ts", + "lib/md/local-play.d.ts", + "lib/md/local-post-office.d.ts", + "lib/md/local-print-shop.d.ts", + "lib/md/local-restaurant.d.ts", + "lib/md/local-see.d.ts", + "lib/md/local-shipping.d.ts", + "lib/md/local-taxi.d.ts", + "lib/md/location-city.d.ts", + "lib/md/location-disabled.d.ts", + "lib/md/location-history.d.ts", + "lib/md/location-off.d.ts", + "lib/md/location-on.d.ts", + "lib/md/location-searching.d.ts", + "lib/md/lock-open.d.ts", + "lib/md/lock-outline.d.ts", + "lib/md/lock.d.ts", + "lib/md/looks-3.d.ts", + "lib/md/looks-4.d.ts", + "lib/md/looks-5.d.ts", + "lib/md/looks-6.d.ts", + "lib/md/looks-one.d.ts", + "lib/md/looks-two.d.ts", + "lib/md/looks.d.ts", + "lib/md/loop.d.ts", + "lib/md/loupe.d.ts", + "lib/md/low-priority.d.ts", + "lib/md/loyalty.d.ts", + "lib/md/mail-outline.d.ts", + "lib/md/mail.d.ts", + "lib/md/map.d.ts", + "lib/md/markunread-mailbox.d.ts", + "lib/md/markunread.d.ts", + "lib/md/memory.d.ts", + "lib/md/menu.d.ts", + "lib/md/merge-type.d.ts", + "lib/md/message.d.ts", + "lib/md/mic-none.d.ts", + "lib/md/mic-off.d.ts", + "lib/md/mic.d.ts", + "lib/md/mms.d.ts", + "lib/md/mode-comment.d.ts", + "lib/md/mode-edit.d.ts", + "lib/md/monetization-on.d.ts", + "lib/md/money-off.d.ts", + "lib/md/monochrome-photos.d.ts", + "lib/md/mood-bad.d.ts", + "lib/md/mood.d.ts", + "lib/md/more-horiz.d.ts", + "lib/md/more-vert.d.ts", + "lib/md/more.d.ts", + "lib/md/motorcycle.d.ts", + "lib/md/mouse.d.ts", + "lib/md/move-to-inbox.d.ts", + "lib/md/movie-creation.d.ts", + "lib/md/movie-filter.d.ts", + "lib/md/movie.d.ts", + "lib/md/multiline-chart.d.ts", + "lib/md/music-note.d.ts", + "lib/md/music-video.d.ts", + "lib/md/my-location.d.ts", + "lib/md/nature-people.d.ts", + "lib/md/nature.d.ts", + "lib/md/navigate-before.d.ts", + "lib/md/navigate-next.d.ts", + "lib/md/navigation.d.ts", + "lib/md/near-me.d.ts", + "lib/md/network-cell.d.ts", + "lib/md/network-check.d.ts", + "lib/md/network-locked.d.ts", + "lib/md/network-wifi.d.ts", + "lib/md/new-releases.d.ts", + "lib/md/next-week.d.ts", + "lib/md/nfc.d.ts", + "lib/md/no-encryption.d.ts", + "lib/md/no-sim.d.ts", + "lib/md/not-interested.d.ts", + "lib/md/note-add.d.ts", + "lib/md/note.d.ts", + "lib/md/notifications-active.d.ts", + "lib/md/notifications-none.d.ts", + "lib/md/notifications-off.d.ts", + "lib/md/notifications-paused.d.ts", + "lib/md/notifications.d.ts", + "lib/md/now-wallpaper.d.ts", + "lib/md/now-widgets.d.ts", + "lib/md/offline-pin.d.ts", + "lib/md/ondemand-video.d.ts", + "lib/md/opacity.d.ts", + "lib/md/open-in-browser.d.ts", + "lib/md/open-in-new.d.ts", + "lib/md/open-with.d.ts", + "lib/md/pages.d.ts", + "lib/md/pageview.d.ts", + "lib/md/palette.d.ts", + "lib/md/pan-tool.d.ts", + "lib/md/panorama-fish-eye.d.ts", + "lib/md/panorama-horizontal.d.ts", + "lib/md/panorama-vertical.d.ts", + "lib/md/panorama-wide-angle.d.ts", + "lib/md/panorama.d.ts", + "lib/md/party-mode.d.ts", + "lib/md/pause-circle-filled.d.ts", + "lib/md/pause-circle-outline.d.ts", + "lib/md/pause.d.ts", + "lib/md/payment.d.ts", + "lib/md/people-outline.d.ts", + "lib/md/people.d.ts", + "lib/md/perm-camera-mic.d.ts", + "lib/md/perm-contact-calendar.d.ts", + "lib/md/perm-data-setting.d.ts", + "lib/md/perm-device-information.d.ts", + "lib/md/perm-identity.d.ts", + "lib/md/perm-media.d.ts", + "lib/md/perm-phone-msg.d.ts", + "lib/md/perm-scan-wifi.d.ts", + "lib/md/person-add.d.ts", + "lib/md/person-outline.d.ts", + "lib/md/person-pin-circle.d.ts", + "lib/md/person-pin.d.ts", + "lib/md/person.d.ts", + "lib/md/personal-video.d.ts", + "lib/md/pets.d.ts", + "lib/md/phone-android.d.ts", + "lib/md/phone-bluetooth-speaker.d.ts", + "lib/md/phone-forwarded.d.ts", + "lib/md/phone-in-talk.d.ts", + "lib/md/phone-iphone.d.ts", + "lib/md/phone-locked.d.ts", + "lib/md/phone-missed.d.ts", + "lib/md/phone-paused.d.ts", + "lib/md/phone.d.ts", + "lib/md/phonelink-erase.d.ts", + "lib/md/phonelink-lock.d.ts", + "lib/md/phonelink-off.d.ts", + "lib/md/phonelink-ring.d.ts", + "lib/md/phonelink-setup.d.ts", + "lib/md/phonelink.d.ts", + "lib/md/photo-album.d.ts", + "lib/md/photo-camera.d.ts", + "lib/md/photo-filter.d.ts", + "lib/md/photo-library.d.ts", + "lib/md/photo-size-select-actual.d.ts", + "lib/md/photo-size-select-large.d.ts", + "lib/md/photo-size-select-small.d.ts", + "lib/md/photo.d.ts", + "lib/md/picture-as-pdf.d.ts", + "lib/md/picture-in-picture-alt.d.ts", + "lib/md/picture-in-picture.d.ts", + "lib/md/pie-chart-outlined.d.ts", + "lib/md/pie-chart.d.ts", + "lib/md/pin-drop.d.ts", + "lib/md/place.d.ts", + "lib/md/play-arrow.d.ts", + "lib/md/play-circle-filled.d.ts", + "lib/md/play-circle-outline.d.ts", + "lib/md/play-for-work.d.ts", + "lib/md/playlist-add-check.d.ts", + "lib/md/playlist-add.d.ts", + "lib/md/playlist-play.d.ts", + "lib/md/plus-one.d.ts", + "lib/md/poll.d.ts", + "lib/md/polymer.d.ts", + "lib/md/pool.d.ts", + "lib/md/portable-wifi-off.d.ts", + "lib/md/portrait.d.ts", + "lib/md/power-input.d.ts", + "lib/md/power-settings-new.d.ts", + "lib/md/power.d.ts", + "lib/md/pregnant-woman.d.ts", + "lib/md/present-to-all.d.ts", + "lib/md/print.d.ts", + "lib/md/priority-high.d.ts", + "lib/md/public.d.ts", + "lib/md/publish.d.ts", + "lib/md/query-builder.d.ts", + "lib/md/question-answer.d.ts", + "lib/md/queue-music.d.ts", + "lib/md/queue-play-next.d.ts", + "lib/md/queue.d.ts", + "lib/md/radio-button-checked.d.ts", + "lib/md/radio-button-unchecked.d.ts", + "lib/md/radio.d.ts", + "lib/md/rate-review.d.ts", + "lib/md/receipt.d.ts", + "lib/md/recent-actors.d.ts", + "lib/md/record-voice-over.d.ts", + "lib/md/redeem.d.ts", + "lib/md/redo.d.ts", + "lib/md/refresh.d.ts", + "lib/md/remove-circle-outline.d.ts", + "lib/md/remove-circle.d.ts", + "lib/md/remove-from-queue.d.ts", + "lib/md/remove-red-eye.d.ts", + "lib/md/remove-shopping-cart.d.ts", + "lib/md/remove.d.ts", + "lib/md/reorder.d.ts", + "lib/md/repeat-one.d.ts", + "lib/md/repeat.d.ts", + "lib/md/replay-10.d.ts", + "lib/md/replay-30.d.ts", + "lib/md/replay-5.d.ts", + "lib/md/replay.d.ts", + "lib/md/reply-all.d.ts", + "lib/md/reply.d.ts", + "lib/md/report-problem.d.ts", + "lib/md/report.d.ts", + "lib/md/restaurant-menu.d.ts", + "lib/md/restaurant.d.ts", + "lib/md/restore-page.d.ts", + "lib/md/restore.d.ts", + "lib/md/ring-volume.d.ts", + "lib/md/room-service.d.ts", + "lib/md/room.d.ts", + "lib/md/rotate-90-degrees-ccw.d.ts", + "lib/md/rotate-left.d.ts", + "lib/md/rotate-right.d.ts", + "lib/md/rounded-corner.d.ts", + "lib/md/router.d.ts", + "lib/md/rowing.d.ts", + "lib/md/rss-feed.d.ts", + "lib/md/rv-hookup.d.ts", + "lib/md/satellite.d.ts", + "lib/md/save.d.ts", + "lib/md/scanner.d.ts", + "lib/md/schedule.d.ts", + "lib/md/school.d.ts", + "lib/md/screen-lock-landscape.d.ts", + "lib/md/screen-lock-portrait.d.ts", + "lib/md/screen-lock-rotation.d.ts", + "lib/md/screen-rotation.d.ts", + "lib/md/screen-share.d.ts", + "lib/md/sd-card.d.ts", + "lib/md/sd-storage.d.ts", + "lib/md/search.d.ts", + "lib/md/security.d.ts", + "lib/md/select-all.d.ts", + "lib/md/send.d.ts", + "lib/md/sentiment-dissatisfied.d.ts", + "lib/md/sentiment-neutral.d.ts", + "lib/md/sentiment-satisfied.d.ts", + "lib/md/sentiment-very-dissatisfied.d.ts", + "lib/md/sentiment-very-satisfied.d.ts", + "lib/md/settings-applications.d.ts", + "lib/md/settings-backup-restore.d.ts", + "lib/md/settings-bluetooth.d.ts", + "lib/md/settings-brightness.d.ts", + "lib/md/settings-cell.d.ts", + "lib/md/settings-ethernet.d.ts", + "lib/md/settings-input-antenna.d.ts", + "lib/md/settings-input-component.d.ts", + "lib/md/settings-input-composite.d.ts", + "lib/md/settings-input-hdmi.d.ts", + "lib/md/settings-input-svideo.d.ts", + "lib/md/settings-overscan.d.ts", + "lib/md/settings-phone.d.ts", + "lib/md/settings-power.d.ts", + "lib/md/settings-remote.d.ts", + "lib/md/settings-system-daydream.d.ts", + "lib/md/settings-voice.d.ts", + "lib/md/settings.d.ts", + "lib/md/share.d.ts", + "lib/md/shop-two.d.ts", + "lib/md/shop.d.ts", + "lib/md/shopping-basket.d.ts", + "lib/md/shopping-cart.d.ts", + "lib/md/short-text.d.ts", + "lib/md/show-chart.d.ts", + "lib/md/shuffle.d.ts", + "lib/md/signal-cellular-4-bar.d.ts", + "lib/md/signal-cellular-connected-no-internet-4-bar.d.ts", + "lib/md/signal-cellular-no-sim.d.ts", + "lib/md/signal-cellular-null.d.ts", + "lib/md/signal-cellular-off.d.ts", + "lib/md/signal-wifi-4-bar-lock.d.ts", + "lib/md/signal-wifi-4-bar.d.ts", + "lib/md/signal-wifi-off.d.ts", + "lib/md/sim-card-alert.d.ts", + "lib/md/sim-card.d.ts", + "lib/md/skip-next.d.ts", + "lib/md/skip-previous.d.ts", + "lib/md/slideshow.d.ts", + "lib/md/slow-motion-video.d.ts", + "lib/md/smartphone.d.ts", + "lib/md/smoke-free.d.ts", + "lib/md/smoking-rooms.d.ts", + "lib/md/sms-failed.d.ts", + "lib/md/sms.d.ts", + "lib/md/snooze.d.ts", + "lib/md/sort-by-alpha.d.ts", + "lib/md/sort.d.ts", + "lib/md/spa.d.ts", + "lib/md/space-bar.d.ts", + "lib/md/speaker-group.d.ts", + "lib/md/speaker-notes-off.d.ts", + "lib/md/speaker-notes.d.ts", + "lib/md/speaker-phone.d.ts", + "lib/md/speaker.d.ts", + "lib/md/spellcheck.d.ts", + "lib/md/star-border.d.ts", + "lib/md/star-half.d.ts", + "lib/md/star-outline.d.ts", + "lib/md/star.d.ts", + "lib/md/stars.d.ts", + "lib/md/stay-current-landscape.d.ts", + "lib/md/stay-current-portrait.d.ts", + "lib/md/stay-primary-landscape.d.ts", + "lib/md/stay-primary-portrait.d.ts", + "lib/md/stop-screen-share.d.ts", + "lib/md/stop.d.ts", + "lib/md/storage.d.ts", + "lib/md/store-mall-directory.d.ts", + "lib/md/store.d.ts", + "lib/md/straighten.d.ts", + "lib/md/streetview.d.ts", + "lib/md/strikethrough-s.d.ts", + "lib/md/style.d.ts", + "lib/md/subdirectory-arrow-left.d.ts", + "lib/md/subdirectory-arrow-right.d.ts", + "lib/md/subject.d.ts", + "lib/md/subscriptions.d.ts", + "lib/md/subtitles.d.ts", + "lib/md/subway.d.ts", + "lib/md/supervisor-account.d.ts", + "lib/md/surround-sound.d.ts", + "lib/md/swap-calls.d.ts", + "lib/md/swap-horiz.d.ts", + "lib/md/swap-vert.d.ts", + "lib/md/swap-vertical-circle.d.ts", + "lib/md/switch-camera.d.ts", + "lib/md/switch-video.d.ts", + "lib/md/sync-disabled.d.ts", + "lib/md/sync-problem.d.ts", + "lib/md/sync.d.ts", + "lib/md/system-update-alt.d.ts", + "lib/md/system-update.d.ts", + "lib/md/tab-unselected.d.ts", + "lib/md/tab.d.ts", + "lib/md/tablet-android.d.ts", + "lib/md/tablet-mac.d.ts", + "lib/md/tablet.d.ts", + "lib/md/tag-faces.d.ts", + "lib/md/tap-and-play.d.ts", + "lib/md/terrain.d.ts", + "lib/md/text-fields.d.ts", + "lib/md/text-format.d.ts", + "lib/md/textsms.d.ts", + "lib/md/texture.d.ts", + "lib/md/theaters.d.ts", + "lib/md/thumb-down.d.ts", + "lib/md/thumb-up.d.ts", + "lib/md/thumbs-up-down.d.ts", + "lib/md/time-to-leave.d.ts", + "lib/md/timelapse.d.ts", + "lib/md/timeline.d.ts", + "lib/md/timer-10.d.ts", + "lib/md/timer-3.d.ts", + "lib/md/timer-off.d.ts", + "lib/md/timer.d.ts", + "lib/md/title.d.ts", + "lib/md/toc.d.ts", + "lib/md/today.d.ts", + "lib/md/toll.d.ts", + "lib/md/tonality.d.ts", + "lib/md/touch-app.d.ts", + "lib/md/toys.d.ts", + "lib/md/track-changes.d.ts", + "lib/md/traffic.d.ts", + "lib/md/train.d.ts", + "lib/md/tram.d.ts", + "lib/md/transfer-within-a-station.d.ts", + "lib/md/transform.d.ts", + "lib/md/translate.d.ts", + "lib/md/trending-down.d.ts", + "lib/md/trending-flat.d.ts", + "lib/md/trending-neutral.d.ts", + "lib/md/trending-up.d.ts", + "lib/md/tune.d.ts", + "lib/md/turned-in-not.d.ts", + "lib/md/turned-in.d.ts", + "lib/md/tv.d.ts", + "lib/md/unarchive.d.ts", + "lib/md/undo.d.ts", + "lib/md/unfold-less.d.ts", + "lib/md/unfold-more.d.ts", + "lib/md/update.d.ts", + "lib/md/usb.d.ts", + "lib/md/verified-user.d.ts", + "lib/md/vertical-align-bottom.d.ts", + "lib/md/vertical-align-center.d.ts", + "lib/md/vertical-align-top.d.ts", + "lib/md/vibration.d.ts", + "lib/md/video-call.d.ts", + "lib/md/video-collection.d.ts", + "lib/md/video-label.d.ts", + "lib/md/video-library.d.ts", + "lib/md/videocam-off.d.ts", + "lib/md/videocam.d.ts", + "lib/md/videogame-asset.d.ts", + "lib/md/view-agenda.d.ts", + "lib/md/view-array.d.ts", + "lib/md/view-carousel.d.ts", + "lib/md/view-column.d.ts", + "lib/md/view-comfortable.d.ts", + "lib/md/view-comfy.d.ts", + "lib/md/view-compact.d.ts", + "lib/md/view-day.d.ts", + "lib/md/view-headline.d.ts", + "lib/md/view-list.d.ts", + "lib/md/view-module.d.ts", + "lib/md/view-quilt.d.ts", + "lib/md/view-stream.d.ts", + "lib/md/view-week.d.ts", + "lib/md/vignette.d.ts", + "lib/md/visibility-off.d.ts", + "lib/md/visibility.d.ts", + "lib/md/voice-chat.d.ts", + "lib/md/voicemail.d.ts", + "lib/md/volume-down.d.ts", + "lib/md/volume-mute.d.ts", + "lib/md/volume-off.d.ts", + "lib/md/volume-up.d.ts", + "lib/md/vpn-key.d.ts", + "lib/md/vpn-lock.d.ts", + "lib/md/wallpaper.d.ts", + "lib/md/warning.d.ts", + "lib/md/watch-later.d.ts", + "lib/md/watch.d.ts", + "lib/md/wb-auto.d.ts", + "lib/md/wb-cloudy.d.ts", + "lib/md/wb-incandescent.d.ts", + "lib/md/wb-iridescent.d.ts", + "lib/md/wb-sunny.d.ts", + "lib/md/wc.d.ts", + "lib/md/web-asset.d.ts", + "lib/md/web.d.ts", + "lib/md/weekend.d.ts", + "lib/md/whatshot.d.ts", + "lib/md/widgets.d.ts", + "lib/md/wifi-lock.d.ts", + "lib/md/wifi-tethering.d.ts", + "lib/md/wifi.d.ts", + "lib/md/work.d.ts", + "lib/md/wrap-text.d.ts", + "lib/md/youtube-searched-for.d.ts", + "lib/md/zoom-in.d.ts", + "lib/md/zoom-out-map.d.ts", + "lib/md/zoom-out.d.ts", + "lib/ti/adjust-brightness.d.ts", + "lib/ti/adjust-contrast.d.ts", + "lib/ti/anchor-outline.d.ts", + "lib/ti/anchor.d.ts", + "lib/ti/archive.d.ts", + "lib/ti/arrow-back-outline.d.ts", + "lib/ti/arrow-back.d.ts", + "lib/ti/arrow-down-outline.d.ts", + "lib/ti/arrow-down-thick.d.ts", + "lib/ti/arrow-down.d.ts", + "lib/ti/arrow-forward-outline.d.ts", + "lib/ti/arrow-forward.d.ts", + "lib/ti/arrow-left-outline.d.ts", + "lib/ti/arrow-left-thick.d.ts", + "lib/ti/arrow-left.d.ts", + "lib/ti/arrow-loop-outline.d.ts", + "lib/ti/arrow-loop.d.ts", + "lib/ti/arrow-maximise-outline.d.ts", + "lib/ti/arrow-maximise.d.ts", + "lib/ti/arrow-minimise-outline.d.ts", + "lib/ti/arrow-minimise.d.ts", + "lib/ti/arrow-move-outline.d.ts", + "lib/ti/arrow-move.d.ts", + "lib/ti/arrow-repeat-outline.d.ts", + "lib/ti/arrow-repeat.d.ts", + "lib/ti/arrow-right-outline.d.ts", + "lib/ti/arrow-right-thick.d.ts", + "lib/ti/arrow-right.d.ts", + "lib/ti/arrow-shuffle.d.ts", + "lib/ti/arrow-sorted-down.d.ts", + "lib/ti/arrow-sorted-up.d.ts", + "lib/ti/arrow-sync-outline.d.ts", + "lib/ti/arrow-sync.d.ts", + "lib/ti/arrow-unsorted.d.ts", + "lib/ti/arrow-up-outline.d.ts", + "lib/ti/arrow-up-thick.d.ts", + "lib/ti/arrow-up.d.ts", + "lib/ti/at.d.ts", + "lib/ti/attachment-outline.d.ts", + "lib/ti/attachment.d.ts", + "lib/ti/backspace-outline.d.ts", + "lib/ti/backspace.d.ts", + "lib/ti/battery-charge.d.ts", + "lib/ti/battery-full.d.ts", + "lib/ti/battery-high.d.ts", + "lib/ti/battery-low.d.ts", + "lib/ti/battery-mid.d.ts", + "lib/ti/beaker.d.ts", + "lib/ti/beer.d.ts", + "lib/ti/bell.d.ts", + "lib/ti/book.d.ts", + "lib/ti/bookmark.d.ts", + "lib/ti/briefcase.d.ts", + "lib/ti/brush.d.ts", + "lib/ti/business-card.d.ts", + "lib/ti/calculator.d.ts", + "lib/ti/calendar-outline.d.ts", + "lib/ti/calendar.d.ts", + "lib/ti/calender-outline.d.ts", + "lib/ti/calender.d.ts", + "lib/ti/camera-outline.d.ts", + "lib/ti/camera.d.ts", + "lib/ti/cancel-outline.d.ts", + "lib/ti/cancel.d.ts", + "lib/ti/chart-area-outline.d.ts", + "lib/ti/chart-area.d.ts", + "lib/ti/chart-bar-outline.d.ts", + "lib/ti/chart-bar.d.ts", + "lib/ti/chart-line-outline.d.ts", + "lib/ti/chart-line.d.ts", + "lib/ti/chart-pie-outline.d.ts", + "lib/ti/chart-pie.d.ts", + "lib/ti/chevron-left-outline.d.ts", + "lib/ti/chevron-left.d.ts", + "lib/ti/chevron-right-outline.d.ts", + "lib/ti/chevron-right.d.ts", + "lib/ti/clipboard.d.ts", + "lib/ti/cloud-storage-outline.d.ts", + "lib/ti/cloud-storage.d.ts", + "lib/ti/code-outline.d.ts", + "lib/ti/code.d.ts", + "lib/ti/coffee.d.ts", + "lib/ti/cog-outline.d.ts", + "lib/ti/cog.d.ts", + "lib/ti/compass.d.ts", + "lib/ti/contacts.d.ts", + "lib/ti/credit-card.d.ts", + "lib/ti/cross.d.ts", + "lib/ti/css3.d.ts", + "lib/ti/database.d.ts", + "lib/ti/delete-outline.d.ts", + "lib/ti/delete.d.ts", + "lib/ti/device-desktop.d.ts", + "lib/ti/device-laptop.d.ts", + "lib/ti/device-phone.d.ts", + "lib/ti/device-tablet.d.ts", + "lib/ti/directions.d.ts", + "lib/ti/divide-outline.d.ts", + "lib/ti/divide.d.ts", + "lib/ti/document-add.d.ts", + "lib/ti/document-delete.d.ts", + "lib/ti/document-text.d.ts", + "lib/ti/document.d.ts", + "lib/ti/download-outline.d.ts", + "lib/ti/download.d.ts", + "lib/ti/dropbox.d.ts", + "lib/ti/edit.d.ts", + "lib/ti/eject-outline.d.ts", + "lib/ti/eject.d.ts", + "lib/ti/equals-outline.d.ts", + "lib/ti/equals.d.ts", + "lib/ti/export-outline.d.ts", + "lib/ti/export.d.ts", + "lib/ti/eye-outline.d.ts", + "lib/ti/eye.d.ts", + "lib/ti/feather.d.ts", + "lib/ti/film.d.ts", + "lib/ti/filter.d.ts", + "lib/ti/flag-outline.d.ts", + "lib/ti/flag.d.ts", + "lib/ti/flash-outline.d.ts", + "lib/ti/flash.d.ts", + "lib/ti/flow-children.d.ts", + "lib/ti/flow-merge.d.ts", + "lib/ti/flow-parallel.d.ts", + "lib/ti/flow-switch.d.ts", + "lib/ti/folder-add.d.ts", + "lib/ti/folder-delete.d.ts", + "lib/ti/folder-open.d.ts", + "lib/ti/folder.d.ts", + "lib/ti/gift.d.ts", + "lib/ti/globe-outline.d.ts", + "lib/ti/globe.d.ts", + "lib/ti/group-outline.d.ts", + "lib/ti/group.d.ts", + "lib/ti/headphones.d.ts", + "lib/ti/heart-full-outline.d.ts", + "lib/ti/heart-half-outline.d.ts", + "lib/ti/heart-outline.d.ts", + "lib/ti/heart.d.ts", + "lib/ti/home-outline.d.ts", + "lib/ti/home.d.ts", + "lib/ti/html5.d.ts", + "lib/ti/image-outline.d.ts", + "lib/ti/image.d.ts", + "lib/ti/infinity-outline.d.ts", + "lib/ti/infinity.d.ts", + "lib/ti/info-large-outline.d.ts", + "lib/ti/info-large.d.ts", + "lib/ti/info-outline.d.ts", + "lib/ti/info.d.ts", + "lib/ti/input-checked-outline.d.ts", + "lib/ti/input-checked.d.ts", + "lib/ti/key-outline.d.ts", + "lib/ti/key.d.ts", + "lib/ti/keyboard.d.ts", + "lib/ti/leaf.d.ts", + "lib/ti/lightbulb.d.ts", + "lib/ti/link-outline.d.ts", + "lib/ti/link.d.ts", + "lib/ti/location-arrow-outline.d.ts", + "lib/ti/location-arrow.d.ts", + "lib/ti/location-outline.d.ts", + "lib/ti/location.d.ts", + "lib/ti/lock-closed-outline.d.ts", + "lib/ti/lock-closed.d.ts", + "lib/ti/lock-open-outline.d.ts", + "lib/ti/lock-open.d.ts", + "lib/ti/mail.d.ts", + "lib/ti/map.d.ts", + "lib/ti/media-eject-outline.d.ts", + "lib/ti/media-eject.d.ts", + "lib/ti/media-fast-forward-outline.d.ts", + "lib/ti/media-fast-forward.d.ts", + "lib/ti/media-pause-outline.d.ts", + "lib/ti/media-pause.d.ts", + "lib/ti/media-play-outline.d.ts", + "lib/ti/media-play-reverse-outline.d.ts", + "lib/ti/media-play-reverse.d.ts", + "lib/ti/media-play.d.ts", + "lib/ti/media-record-outline.d.ts", + "lib/ti/media-record.d.ts", + "lib/ti/media-rewind-outline.d.ts", + "lib/ti/media-rewind.d.ts", + "lib/ti/media-stop-outline.d.ts", + "lib/ti/media-stop.d.ts", + "lib/ti/message-typing.d.ts", + "lib/ti/message.d.ts", + "lib/ti/messages.d.ts", + "lib/ti/microphone-outline.d.ts", + "lib/ti/microphone.d.ts", + "lib/ti/minus-outline.d.ts", + "lib/ti/minus.d.ts", + "lib/ti/mortar-board.d.ts", + "lib/ti/news.d.ts", + "lib/ti/notes-outline.d.ts", + "lib/ti/notes.d.ts", + "lib/ti/pen.d.ts", + "lib/ti/pencil.d.ts", + "lib/ti/phone-outline.d.ts", + "lib/ti/phone.d.ts", + "lib/ti/pi-outline.d.ts", + "lib/ti/pi.d.ts", + "lib/ti/pin-outline.d.ts", + "lib/ti/pin.d.ts", + "lib/ti/pipette.d.ts", + "lib/ti/plane-outline.d.ts", + "lib/ti/plane.d.ts", + "lib/ti/plug.d.ts", + "lib/ti/plus-outline.d.ts", + "lib/ti/plus.d.ts", + "lib/ti/point-of-interest-outline.d.ts", + "lib/ti/point-of-interest.d.ts", + "lib/ti/power-outline.d.ts", + "lib/ti/power.d.ts", + "lib/ti/printer.d.ts", + "lib/ti/puzzle-outline.d.ts", + "lib/ti/puzzle.d.ts", + "lib/ti/radar-outline.d.ts", + "lib/ti/radar.d.ts", + "lib/ti/refresh-outline.d.ts", + "lib/ti/refresh.d.ts", + "lib/ti/rss-outline.d.ts", + "lib/ti/rss.d.ts", + "lib/ti/scissors-outline.d.ts", + "lib/ti/scissors.d.ts", + "lib/ti/shopping-bag.d.ts", + "lib/ti/shopping-cart.d.ts", + "lib/ti/social-at-circular.d.ts", + "lib/ti/social-dribbble-circular.d.ts", + "lib/ti/social-dribbble.d.ts", + "lib/ti/social-facebook-circular.d.ts", + "lib/ti/social-facebook.d.ts", + "lib/ti/social-flickr-circular.d.ts", + "lib/ti/social-flickr.d.ts", + "lib/ti/social-github-circular.d.ts", + "lib/ti/social-github.d.ts", + "lib/ti/social-google-plus-circular.d.ts", + "lib/ti/social-google-plus.d.ts", + "lib/ti/social-instagram-circular.d.ts", + "lib/ti/social-instagram.d.ts", + "lib/ti/social-last-fm-circular.d.ts", + "lib/ti/social-last-fm.d.ts", + "lib/ti/social-linkedin-circular.d.ts", + "lib/ti/social-linkedin.d.ts", + "lib/ti/social-pinterest-circular.d.ts", + "lib/ti/social-pinterest.d.ts", + "lib/ti/social-skype-outline.d.ts", + "lib/ti/social-skype.d.ts", + "lib/ti/social-tumbler-circular.d.ts", + "lib/ti/social-tumbler.d.ts", + "lib/ti/social-twitter-circular.d.ts", + "lib/ti/social-twitter.d.ts", + "lib/ti/social-vimeo-circular.d.ts", + "lib/ti/social-vimeo.d.ts", + "lib/ti/social-youtube-circular.d.ts", + "lib/ti/social-youtube.d.ts", + "lib/ti/sort-alphabetically-outline.d.ts", + "lib/ti/sort-alphabetically.d.ts", + "lib/ti/sort-numerically-outline.d.ts", + "lib/ti/sort-numerically.d.ts", + "lib/ti/spanner-outline.d.ts", + "lib/ti/spanner.d.ts", + "lib/ti/spiral.d.ts", + "lib/ti/star-full-outline.d.ts", + "lib/ti/star-half-outline.d.ts", + "lib/ti/star-half.d.ts", + "lib/ti/star-outline.d.ts", + "lib/ti/star.d.ts", + "lib/ti/starburst-outline.d.ts", + "lib/ti/starburst.d.ts", + "lib/ti/stopwatch.d.ts", + "lib/ti/support.d.ts", + "lib/ti/tabs-outline.d.ts", + "lib/ti/tag.d.ts", + "lib/ti/tags.d.ts", + "lib/ti/th-large-outline.d.ts", + "lib/ti/th-large.d.ts", + "lib/ti/th-list-outline.d.ts", + "lib/ti/th-list.d.ts", + "lib/ti/th-menu-outline.d.ts", + "lib/ti/th-menu.d.ts", + "lib/ti/th-small-outline.d.ts", + "lib/ti/th-small.d.ts", + "lib/ti/thermometer.d.ts", + "lib/ti/thumbs-down.d.ts", + "lib/ti/thumbs-ok.d.ts", + "lib/ti/thumbs-up.d.ts", + "lib/ti/tick-outline.d.ts", + "lib/ti/tick.d.ts", + "lib/ti/ticket.d.ts", + "lib/ti/time.d.ts", + "lib/ti/times-outline.d.ts", + "lib/ti/times.d.ts", + "lib/ti/trash.d.ts", + "lib/ti/tree.d.ts", + "lib/ti/upload-outline.d.ts", + "lib/ti/upload.d.ts", + "lib/ti/user-add-outline.d.ts", + "lib/ti/user-add.d.ts", + "lib/ti/user-delete-outline.d.ts", + "lib/ti/user-delete.d.ts", + "lib/ti/user-outline.d.ts", + "lib/ti/user.d.ts", + "lib/ti/vendor-android.d.ts", + "lib/ti/vendor-apple.d.ts", + "lib/ti/vendor-microsoft.d.ts", + "lib/ti/video-outline.d.ts", + "lib/ti/video.d.ts", + "lib/ti/volume-down.d.ts", + "lib/ti/volume-mute.d.ts", + "lib/ti/volume-up.d.ts", + "lib/ti/volume.d.ts", + "lib/ti/warning-outline.d.ts", + "lib/ti/warning.d.ts", + "lib/ti/watch.d.ts", + "lib/ti/waves-outline.d.ts", + "lib/ti/waves.d.ts", + "lib/ti/weather-cloudy.d.ts", + "lib/ti/weather-downpour.d.ts", + "lib/ti/weather-night.d.ts", + "lib/ti/weather-partly-sunny.d.ts", + "lib/ti/weather-shower.d.ts", + "lib/ti/weather-snow.d.ts", + "lib/ti/weather-stormy.d.ts", + "lib/ti/weather-sunny.d.ts", + "lib/ti/weather-windy-cloudy.d.ts", + "lib/ti/weather-windy.d.ts", + "lib/ti/wi-fi-outline.d.ts", + "lib/ti/wi-fi.d.ts", + "lib/ti/wine.d.ts", + "lib/ti/world-outline.d.ts", + "lib/ti/world.d.ts", + "lib/ti/zoom-in-outline.d.ts", + "lib/ti/zoom-in.d.ts", + "lib/ti/zoom-out-outline.d.ts", + "lib/ti/zoom-out.d.ts", + "lib/ti/zoom-outline.d.ts", + "lib/ti/zoom.d.ts" ] } From 0fb5a19d59557a682d7c1493cf7ed2c110c56c74 Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 2 Oct 2017 08:27:34 -0700 Subject: [PATCH 026/433] mersenne-twister: Fix export style (#20196) --- types/mersenne-twister/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/types/mersenne-twister/index.d.ts b/types/mersenne-twister/index.d.ts index 4bfb354f91..09f9675ef8 100644 --- a/types/mersenne-twister/index.d.ts +++ b/types/mersenne-twister/index.d.ts @@ -3,7 +3,8 @@ // Definitions by: KentarouTakeda // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -export = class MersenneTwister { +export = MersenneTwister; +declare class MersenneTwister { /** * constructs mt with a number * @params seed @@ -44,4 +45,4 @@ export = class MersenneTwister { * generates a random number on [0,1) with 53-bit resolution */ random_long(): number; -}; +} From 95d011b77710e6cdcb76b44cdb8ecacbeba0d3af Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 2 Oct 2017 09:06:38 -0700 Subject: [PATCH 027/433] xxhashjs: Fix export style (#20197) * xxhashjs: Fix export style * `export const defaultExport` -> `declare` --- types/xxhashjs/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/xxhashjs/index.d.ts b/types/xxhashjs/index.d.ts index 59ca23d7f8..40c45cf3ab 100644 --- a/types/xxhashjs/index.d.ts +++ b/types/xxhashjs/index.d.ts @@ -19,4 +19,5 @@ export interface HashInterface { export const h32: HashInterface; export const h64: HashInterface; -export default { h32, h64 }; +declare const defaultExport: { h32: typeof h32, h64: typeof h64 }; +export default defaultExport; From 7b0a4497dbea374e1ee2a56284b17796fab3fb69 Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 2 Oct 2017 09:07:00 -0700 Subject: [PATCH 028/433] ibm_db: Fix default export (#20195) * ibm_db: Fix default export * Fix lint --- types/ibm_db/index.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/types/ibm_db/index.d.ts b/types/ibm_db/index.d.ts index 2a1e968b2c..662a16ffb3 100644 --- a/types/ibm_db/index.d.ts +++ b/types/ibm_db/index.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 -interface ConnStr { +export interface ConnStr { DATABASE: string; HOSTNAME: string; PORT: number | string; @@ -13,7 +13,7 @@ interface ConnStr { PWD: string; } -interface Options { +export interface Options { odbc?: ODBC; queue?: SimpleQueue | any[]; fetchMode?: number | null; @@ -22,7 +22,7 @@ interface Options { systemNaming?: boolean; } -interface DescribeObject { +export interface DescribeObject { database: string; schema?: string; type?: string; @@ -30,7 +30,7 @@ interface DescribeObject { column?: string; } -interface PoolOptions { +export interface PoolOptions { idleTimeout?: number; autoCleanIdle?: boolean; maxPoolSize?: number; @@ -38,7 +38,7 @@ interface PoolOptions { systemNaming?: any; } -declare class SimpleQueue { +export class SimpleQueue { fifo: any[]; executing: boolean; push(fn: (foo: any, bar: any) => void): void; @@ -46,7 +46,7 @@ declare class SimpleQueue { next(): void; } // Class SimpleQueue -export default (options?: Options) => new Database(options); +export default function(options?: Options): Database; export class Database implements Options { odbc: ODBC; From 24756a7ba8e906cb53f827336b7ef56dab5311a4 Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 2 Oct 2017 09:07:36 -0700 Subject: [PATCH 029/433] activex-libreoffice: Avoid duplicating declaration of "SafeArray" from lib.scripthost.d.ts (#20194) --- types/activex-libreoffice/index.d.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/types/activex-libreoffice/index.d.ts b/types/activex-libreoffice/index.d.ts index be16c1441a..1698317e8f 100644 --- a/types/activex-libreoffice/index.d.ts +++ b/types/activex-libreoffice/index.d.ts @@ -12,9 +12,8 @@ declare class sequence { private typekey: sequence; } -declare class SafeArray { - private typekey: SafeArray; -} +// tslint:disable-next-line no-empty-interface +interface SafeArray {} declare namespace com.sun.star { namespace accessibility { From 6f4e38015cc75a2ea55ba243a080ecf8b8527315 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20=C3=96llinger?= Date: Mon, 2 Oct 2017 19:30:13 +0200 Subject: [PATCH 030/433] recharts: fix callback signatures, add missing props (#20130) * recharts: fix callback signatures, add missing props * bump recharts version * remove undocumented HTMLAttributes * remove another className prop * changed version to 1.0.0 * change to version 1.0 --- types/recharts/index.d.ts | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/types/recharts/index.d.ts b/types/recharts/index.d.ts index 460a1813ff..311330b06d 100644 --- a/types/recharts/index.d.ts +++ b/types/recharts/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Recharts 0.22 +// Type definitions for Recharts 1.0 // Project: http://recharts.org/ // Definitions by: Maarten Mulders // Raphael Mueller @@ -10,6 +10,11 @@ import * as React from 'react'; export type Percentage = string; export type RechartsFunction = () => void; +export type LabelFormatter = (label: string | number) => React.ReactNode; +export type TooltipFormatter = (value: string | number | Array, name: string, + entry: TooltipPayload, index: number) => React.ReactNode; +export type ItemSorter = (a: T, b: T) => number; +export type ContentRenderer

= (props: P) => React.ReactNode; export type LegendType = 'line' | 'square' | 'rect' | 'circle' | 'cross' | 'diamond' | 'square' | 'star' | 'triangle' | 'wye' | 'none'; export type LayoutType = 'horizontal' | 'vertical'; @@ -153,7 +158,7 @@ export interface CartesianAxisProps { tickSize?: number; interval?: "preserveStart" | "preserveEnd" | "preserveStartEnd" | number; tick?: boolean | any | React.ReactElement | RechartsFunction; - label?: string | number | React.ReactElement | RechartsFunction; + label?: string | number | React.ReactElement | ContentRenderer; mirror?: boolean; } @@ -261,7 +266,7 @@ export interface LegendProps { chartWidth?: number; chartHeight?: number; margin?: Margin; - content?: React.ReactElement | RechartsFunction; + content?: React.ReactElement | ContentRenderer; wrapperStyle?: any; onClick?: RechartsFunction; onMouseDown?: RechartsFunction; @@ -540,7 +545,7 @@ export interface ReferenceAreaProps { viewBox?: ViewBox; xAxis?: any; yAxis?: any; - label?: string | number | React.ReactElement | RechartsFunction; + label?: string | number | React.ReactElement | ContentRenderer; isFront?: boolean; } @@ -551,10 +556,11 @@ export interface ReferenceDotProps { yAxisId?: string | number; x: number | string; y: number | string; + r: number; alwaysShow?: boolean; xAxis: any; yAxis: any; - label?: string | number | React.ReactElement | RechartsFunction; + label?: string | number | React.ReactElement | ContentRenderer; isFront?: boolean; onClick?: RechartsFunction; onMouseDown?: RechartsFunction; @@ -577,7 +583,7 @@ export interface ReferenceLineProps { viewBox?: ViewBox; xAxis?: any; yAxis?: any; - label?: string | number | React.ReactElement | RechartsFunction; + label?: string | number | React.ReactElement | ContentRenderer; isFront?: boolean; } @@ -589,6 +595,7 @@ export interface ResponsiveContainerProps { height?: Percentage | number; minWidth?: number; minHeight?: number; + maxHeight?: Percentage | number; debounce?: number; } @@ -683,7 +690,7 @@ export interface Coordinate { } export interface TooltipPayload { name: string; - value: number; + value: string | number | Array; unit: string; } export interface TooltipProps { @@ -698,13 +705,14 @@ export interface TooltipProps { coordinate?: Coordinate; payload?: TooltipPayload[]; label?: string | number; - content?: React.ReactElement | React.StatelessComponent | RechartsFunction; - formatter?: RechartsFunction; - labelFormatter?: RechartsFunction; - itemSorter?: RechartsFunction; + content?: React.ReactElement | React.StatelessComponent | ContentRenderer; + formatter?: TooltipFormatter; + labelFormatter?: LabelFormatter; + itemSorter?: ItemSorter; isAnimationActive?: boolean; animationBegin?: number; animationEasing?: AnimationEasingType; + filterNull?: boolean; } export class Tooltip extends React.Component { } @@ -722,11 +730,11 @@ export interface TreemapProps { export interface Label { viewBox?: ViewBox | PolarViewBox; - formatter?: RechartsFunction; + formatter?: LabelFormatter; value: string | number; position?: PositionType; offset?: number; - content?: React.ReactElement | RechartsFunction; + content?: React.ReactElement | ContentRenderer

{ */ getNodes(): Array>; + /** + * Returns the wrapper's underlying node. + */ + getElement(): ReactElement; + + /** + * Returns the wrapper's underlying node. + */ + getElements(): Array>; + /** * Returns the outer most DOMComponent of the current wrapper. */ From 33a325efc8640ead8084cbeb38256b3f6a0d5bfa Mon Sep 17 00:00:00 2001 From: Alex Brick Date: Mon, 2 Oct 2017 19:38:38 +0200 Subject: [PATCH 047/433] [superagent] Improving the typing of the #field method (#20102) There are two major changes here: 1) The value of a field no longer needs to be a string. It also accepts arrays, buffers, blobs, streams, and booleans. 2) You may pass in an object, which sets all of the field values, instead of calling once for each field. --- types/superagent/index.d.ts | 9 +++++++-- types/superagent/superagent-tests.ts | 7 +++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/types/superagent/index.d.ts b/types/superagent/index.d.ts index 05e1275ca0..fdf23891cb 100644 --- a/types/superagent/index.d.ts +++ b/types/superagent/index.d.ts @@ -16,6 +16,10 @@ type CallbackHandler = (err: any, res: request.Response) => void; type Serializer = (obj: any) => string; +type MultipartValueSingle = Blob | Buffer | fs.ReadStream | string | boolean | number; + +type MultipartValue = MultipartValueSingle | MultipartValueSingle[]; + declare const request: request.SuperAgentStatic; declare namespace request { @@ -103,14 +107,15 @@ declare namespace request { interface Request extends Promise { abort(): void; accept(type: string): this; - attach(field: string, file: Blob | Buffer | fs.ReadStream | string, filename?: string): this; + attach(field: string, file: MultipartValueSingle, options?: string | { filename?: string; contentType?: string }): this; auth(user: string, name: string): this; buffer(val?: boolean): this; ca(cert: Buffer): this; cert(cert: Buffer | string): this; clearTimeout(): this; end(callback?: CallbackHandler): this; - field(name: string, val: string): this; + field(name: string, val: MultipartValue): this; + field(fields: { [fieldName: string]: MultipartValue }): this; get(field: string): string; key(cert: Buffer | string): this; ok(callback: (res: Response) => boolean): this; diff --git a/types/superagent/superagent-tests.ts b/types/superagent/superagent-tests.ts index 6d7eeb793d..5978b37206 100644 --- a/types/superagent/superagent-tests.ts +++ b/types/superagent/superagent-tests.ts @@ -285,6 +285,7 @@ request .attach('avatar', 'path/to/tobi.png', 'user.png') .attach('image', 'path/to/loki.png') .attach('file', 'path/to/jane.png') + .attach('fileWithOptions', 'path/to/file.png', { filename: 'filename', contentType: 'contentType' }) .attach('blob', blob) .end(callback); @@ -293,6 +294,12 @@ request .post('/upload') .field('user[name]', 'Tobi') .field('user[email]', 'tobi@learnboost.com') + .field({ + field1: 'value1', + field2: Buffer.from([ 10, 20 ]), + field3: [ 'value1', 'value2' ], + field4: true, + }) .attach('image', 'path/to/tobi.png') .end(callback); From 49f1f3aeeb8b5fbfd5baf86aae00b8277b028e2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20B=C5=99e=C4=8Dka?= Date: Mon, 2 Oct 2017 19:39:01 +0200 Subject: [PATCH 048/433] ramda: fix prop function definition (#20099) --- types/ramda/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/ramda/index.d.ts b/types/ramda/index.d.ts index c538d555a0..1aeaab905d 100644 --- a/types/ramda/index.d.ts +++ b/types/ramda/index.d.ts @@ -1438,7 +1438,7 @@ declare namespace R { * Note: TS1.9 # replace any by dictionary */ prop(p: string, obj: any): T; - prop(p: string): (obj: any) => T; + prop(p: string): (obj: any) => T; /** * Determines whether the given property of an object has a specific From 3879a43f4ad3748b2349e1cdcef531c9cda65c3d Mon Sep 17 00:00:00 2001 From: ccodin Date: Mon, 2 Oct 2017 19:39:16 +0200 Subject: [PATCH 049/433] Add missing 'cookie' property in nano declaration file (#20106) --- types/nano/index.d.ts | 1 + types/nano/nano-tests.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/types/nano/index.d.ts b/types/nano/index.d.ts index 45e70ee70e..96e7253f4b 100644 --- a/types/nano/index.d.ts +++ b/types/nano/index.d.ts @@ -16,6 +16,7 @@ declare function nano( declare namespace nano { interface Configuration { url: string; + cookie?: string; requestDefaults?: CoreOptions; log?(id: string, args: any): void; parseUrl?: boolean; diff --git a/types/nano/nano-tests.ts b/types/nano/nano-tests.ts index 7d53b38814..2e44fd3872 100644 --- a/types/nano/nano-tests.ts +++ b/types/nano/nano-tests.ts @@ -6,6 +6,7 @@ import * as nano from "nano"; */ const config: nano.Configuration = { url: "http://localhost:5984/foo", + cookie: "someAuthSession", requestDefaults: { proxy: "http://someproxy" } }; From 515573deb955aa2e2ce62ddf38c029c3f56516af Mon Sep 17 00:00:00 2001 From: RalfNieuwenhuizen Date: Mon, 2 Oct 2017 19:40:25 +0200 Subject: [PATCH 050/433] Update index.d.ts (#20025) Add IOSBackgroundTask to config options --- types/react-native-fetch-blob/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/react-native-fetch-blob/index.d.ts b/types/react-native-fetch-blob/index.d.ts index cda116ec0c..cb9af73ef8 100644 --- a/types/react-native-fetch-blob/index.d.ts +++ b/types/react-native-fetch-blob/index.d.ts @@ -568,6 +568,11 @@ export interface RNFetchBlobConfig { session?: string; addAndroidDownloads?: AddAndroidDownloads; + + /** + * Fix IOS request timeout issue #368 by change default request setting to defaultSessionConfiguration, and make backgroundSessionConfigurationWithIdentifier optional + */ + IOSBackgroundTask?: boolean; } export interface AddAndroidDownloads { From 63834a2d2be73620fb3c1c1fb39b8f51b84c1c41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Robles=20Fern=C3=A1ndez?= Date: Mon, 2 Oct 2017 19:40:44 +0200 Subject: [PATCH 051/433] Cookie interface don't inherit from RawResult, only the Cookie responses (#19998) http://webdriver.io/api/cookie/setCookie.html https://github.com/SeleniumHQ/selenium/blob/master/cpp/iedriver/BrowserCookie.cpp#L23 --- types/webdriverio/index.d.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/types/webdriverio/index.d.ts b/types/webdriverio/index.d.ts index 737f963ab7..ff0628ced4 100644 --- a/types/webdriverio/index.d.ts +++ b/types/webdriverio/index.d.ts @@ -309,13 +309,13 @@ declare namespace WebdriverIO { ensureCleanSession?: boolean; } - interface Cookie extends RawResult { + interface Cookie { name: string; value: string; path?: string; httpOnly?: boolean; expiry?: number; - secure: boolean; + secure?: boolean; } interface Suite { @@ -769,8 +769,8 @@ declare namespace WebdriverIO { deleteCookie(name?: string): Client> & RawResult; deleteCookie

(name?: string): Client

; - getCookie(): Client & Cookie[]; - getCookie(name: string): Client & Cookie; + getCookie(): Client>> & Cookie[] & Array>; + getCookie(name: string): Client> & Cookie & RawResult; getCookie

(name?: string): Client

; setCookie(cookie: Cookie): Client> & RawResult; @@ -1033,12 +1033,12 @@ declare namespace WebdriverIO { /** @deprecated in favour of Actions.pointerUp */ buttonUp

(button?: string | Button): Client

; - cookie(): Client> & RawResult; + cookie(): Client>>> & RawResult>>; cookie( method: Method, - key?: Cookie | string - ): Client> & RawResult; + key?: (Cookie & RawResult) | string + ): Client>>> & RawResult>>; /** @deprecated in favour of Actions.pointerDown(0) + Actions.pointerMove */ doDoubleClick(): Client> & RawResult & never; From dad4c42dd71ac6c272a54600fc4821443e4fea89 Mon Sep 17 00:00:00 2001 From: Glen M Date: Mon, 2 Oct 2017 13:41:57 -0400 Subject: [PATCH 052/433] Update the Atom type definitions. (#20146) * Update the Atom type definitions. * Atom: support additional dtslint rules. Minor fixes to definitions. * Atom: enable unified signatures for dtslint. * Atom: fix the scan and replace functions. Enable ban-types in dtslint. * Atom: enable no-declare-current-package and no-single-declare-module. --- types/atom-keymap/.editorconfig | 2 +- types/atom-keymap/README.md | 21 + types/atom-keymap/atom-keymap-tests.ts | 97 +- types/atom-keymap/index.d.ts | 315 +- types/atom-keymap/tsconfig.json | 4 +- types/atom-keymap/tslint.json | 38 + types/atom-keymap/v5/.editorconfig | 3 + types/atom-keymap/v5/atom-keymap-tests.ts | 20 + types/atom-keymap/v5/index.d.ts | 133 + types/atom-keymap/v5/tsconfig.json | 27 + types/atom/.editorconfig | 3 + types/atom/README.md | 42 + types/atom/atom-tests.ts | 2119 +++++++- types/atom/index.d.ts | 5904 ++++++++++++++------- types/atom/package.json | 6 + types/atom/services/index.d.ts | 190 + types/atom/tsconfig.json | 11 +- types/atom/tslint.json | 39 + types/atom/{ => v0}/api-docs.d.ts | 0 types/atom/v0/atom-tests.ts | 70 + types/atom/v0/index.d.ts | 1977 +++++++ types/atom/v0/tsconfig.json | 29 + types/event-kit/.editorconfig | 2 +- types/event-kit/README.md | 22 + types/event-kit/event-kit-tests.ts | 92 +- types/event-kit/index.d.ts | 205 +- types/event-kit/tsconfig.json | 4 +- types/event-kit/tslint.json | 38 + types/event-kit/v1/.editorconfig | 3 + types/event-kit/v1/event-kit-tests.ts | 57 + types/event-kit/v1/index.d.ts | 91 + types/event-kit/v1/tsconfig.json | 26 + types/first-mate/.editorconfig | 2 +- types/first-mate/README.md | 22 + types/first-mate/first-mate-tests.ts | 93 +- types/first-mate/index.d.ts | 343 +- types/first-mate/tsconfig.json | 4 +- types/first-mate/tslint.json | 39 + types/first-mate/v4/.editorconfig | 3 + types/first-mate/v4/first-mate-tests.ts | 10 + types/first-mate/v4/index.d.ts | 105 + types/first-mate/v4/tsconfig.json | 27 + types/pathwatcher/.editorconfig | 3 + types/pathwatcher/README.md | 28 + types/pathwatcher/index.d.ts | 308 +- types/pathwatcher/pathwatcher-tests.ts | 110 +- types/pathwatcher/tsconfig.json | 7 +- types/pathwatcher/tslint.json | 38 + types/pathwatcher/v0/index.d.ts | 88 + types/pathwatcher/v0/pathwatcher-tests.ts | 10 + types/pathwatcher/v0/tsconfig.json | 26 + types/status-bar/README.md | 1 + types/status-bar/index.d.ts | 2 +- types/status-bar/tsconfig.json | 5 +- types/text-buffer/.editorconfig | 3 + types/text-buffer/README.md | 31 + types/text-buffer/index.d.ts | 1600 +++++- types/text-buffer/text-buffer-tests.ts | 810 ++- types/text-buffer/tsconfig.json | 7 +- types/text-buffer/tslint.json | 38 + types/text-buffer/v0/index.d.ts | 301 ++ types/text-buffer/v0/text-buffer-tests.ts | 19 + types/text-buffer/v0/tsconfig.json | 26 + 63 files changed, 13072 insertions(+), 2627 deletions(-) create mode 100644 types/atom-keymap/README.md create mode 100644 types/atom-keymap/tslint.json create mode 100644 types/atom-keymap/v5/.editorconfig create mode 100644 types/atom-keymap/v5/atom-keymap-tests.ts create mode 100644 types/atom-keymap/v5/index.d.ts create mode 100644 types/atom-keymap/v5/tsconfig.json create mode 100644 types/atom/.editorconfig create mode 100644 types/atom/README.md create mode 100644 types/atom/package.json create mode 100644 types/atom/services/index.d.ts create mode 100644 types/atom/tslint.json rename types/atom/{ => v0}/api-docs.d.ts (100%) create mode 100644 types/atom/v0/atom-tests.ts create mode 100644 types/atom/v0/index.d.ts create mode 100644 types/atom/v0/tsconfig.json create mode 100644 types/event-kit/README.md create mode 100644 types/event-kit/tslint.json create mode 100644 types/event-kit/v1/.editorconfig create mode 100644 types/event-kit/v1/event-kit-tests.ts create mode 100644 types/event-kit/v1/index.d.ts create mode 100644 types/event-kit/v1/tsconfig.json create mode 100644 types/first-mate/README.md create mode 100644 types/first-mate/tslint.json create mode 100644 types/first-mate/v4/.editorconfig create mode 100644 types/first-mate/v4/first-mate-tests.ts create mode 100644 types/first-mate/v4/index.d.ts create mode 100644 types/first-mate/v4/tsconfig.json create mode 100644 types/pathwatcher/.editorconfig create mode 100644 types/pathwatcher/README.md create mode 100644 types/pathwatcher/tslint.json create mode 100644 types/pathwatcher/v0/index.d.ts create mode 100644 types/pathwatcher/v0/pathwatcher-tests.ts create mode 100644 types/pathwatcher/v0/tsconfig.json create mode 100644 types/status-bar/README.md create mode 100644 types/text-buffer/.editorconfig create mode 100644 types/text-buffer/README.md create mode 100644 types/text-buffer/tslint.json create mode 100644 types/text-buffer/v0/index.d.ts create mode 100644 types/text-buffer/v0/text-buffer-tests.ts create mode 100644 types/text-buffer/v0/tsconfig.json diff --git a/types/atom-keymap/.editorconfig b/types/atom-keymap/.editorconfig index 570211f898..2b997514d2 100644 --- a/types/atom-keymap/.editorconfig +++ b/types/atom-keymap/.editorconfig @@ -1,3 +1,3 @@ [*.ts] indent_style = tab -indent_size = 4 +indent_size = 2 diff --git a/types/atom-keymap/README.md b/types/atom-keymap/README.md new file mode 100644 index 0000000000..f900dc1a4c --- /dev/null +++ b/types/atom-keymap/README.md @@ -0,0 +1,21 @@ +## Atom Keymap Type Definitions + +TypeScript type definitions for [Atom Keymap](https://github.com/atom/atom-keymap), which is published as "[atom-keymap](https://www.npmjs.com/package/atom-keymap)" on NPM. + +### Usage Notes + +#### Exports + +This module has a single entity as its export: the [KeymapManager](https://github.com/atom/atom-keymap/blob/master/src/keymap-manager.coffee) class. The require syntax is typically used to import modules like this. + +```ts +import KeymapManager = require("atom-keymap"); +``` + +#### The AtomKeymap Namespace + +Many of the types used by Atom Keymap can be referenced from the AtomKeymap namespace. + +```ts +function example(keybind: AtomKeymap.KeyBinding) {} +``` diff --git a/types/atom-keymap/atom-keymap-tests.ts b/types/atom-keymap/atom-keymap-tests.ts index 1c92bff5c9..6c8871c737 100644 --- a/types/atom-keymap/atom-keymap-tests.ts +++ b/types/atom-keymap/atom-keymap-tests.ts @@ -1,20 +1,91 @@ +import KeymapManager = require("atom-keymap"); +import * as ImportTest from "atom-keymap"; +declare const element: HTMLElement; +declare let sub: EventKit.Disposable; +declare const event: KeyboardEvent; -import { KeymapManager, ICompleteMatchEvent } from "atom-keymap"; +// NPM Examples =============================================================== +const keymaps = new KeymapManager(); +keymaps.defaultTarget = document.body; -var manager = new KeymapManager(); -manager.add('some/unique/path', { - '.workspace': { - 'ctrl-x': 'package:do-something', - 'ctrl-y': 'package:do-something-else' - }, - '.mini.editor': { - 'enter': 'core:confirm' - } +// Pass all the window's keydown events to the KeymapManager +document.addEventListener("keydown", (event): void => { + keymaps.handleKeyboardEvent(event); }); -manager.onDidMatchBinding((event: ICompleteMatchEvent): void => { - console.log(event.binding.command); -}) +// Add some keymaps. It can also be a directory of json / cson files. +keymaps.loadKeymap("/path/to/keymap-file.json"); +// OR +keymaps.add("/key/for/these/keymaps", { + body: { + up: "core:move-up", + down: "core:move-down", + }, +}); + +// When a keybinding is triggered, it will dispatch it on the node that was focused +window.addEventListener("core:move-up", (event) => console.log("up", event)); +window.addEventListener("core:move-down", (event) => console.log("down", event)); + +// General Usage ============================================================== +const manager = new KeymapManager(); +manager.add("some/unique/path", { + ".workspace": { + "ctrl-x": "package:do-something", + "ctrl-y": "package:do-something-else", + }, + ".test": { + enter: "core:confirm", + }, +}); + +manager.onDidMatchBinding((event): void => { + console.log(event.binding.command); +}); manager.destroy(); + +// Atom API Testing =========================================================== +// Class Methods +KeymapManager.buildKeydownEvent("a"); +KeymapManager.buildKeydownEvent("a", { alt: true }); + +// Construction and Destruction +new KeymapManager({ defaultTarget: element }); +manager.clear(); +manager.destroy(); + +// Event Subscription +sub = manager.onDidMatchBinding((event): void => { event.keystrokes; }); +sub = manager.onDidPartiallyMatchBindings((event): void => { event.partiallyMatchedBindings; }); +sub = manager.onDidFailToMatchBinding((event): void => { event.keystrokes; }); +sub = manager.onDidFailToReadFile((event): void => { event.stack; }); + +// Adding and Removing Bindings +sub = manager.add("a", {}, 0); + +// Accessing Bindings +let bindings: AtomKeymap.KeyBinding[] = manager.getKeyBindings(); +bindings = manager.findKeyBindings(); +bindings = manager.findKeyBindings({ command: "a" }); +bindings = manager.findKeyBindings({ keystrokes: "a" }); +bindings = manager.findKeyBindings({ target: element }); +bindings = manager.findKeyBindings({ command: "a", keystrokes: "b"}); +bindings = manager.findKeyBindings({ command: "a", keystrokes: "b", target: element }); + +// Managing Keymap Files +manager.loadKeymap("Test.file"); +manager.loadKeymap("Test.file", { watch: true }); +manager.loadKeymap("Test.file", { watch: true, priority: 0}); + +// Managing Keyboard Events +manager.handleKeyboardEvent(event); +manager.keystrokeForKeyboardEvent(event); + +sub = manager.addKeystrokeResolver((event): string => { + event.layoutName; + return "Test"; +}); + +const num: number = manager.getPartialMatchTimeout(); diff --git a/types/atom-keymap/index.d.ts b/types/atom-keymap/index.d.ts index 58d75ec709..9472e75215 100644 --- a/types/atom-keymap/index.d.ts +++ b/types/atom-keymap/index.d.ts @@ -1,135 +1,236 @@ -// Type definitions for atom-keymap v5.1.5 -// Project: https://github.com/atom/atom-keymap/ -// Definitions by: Vadim Macagon +// Type definitions for atom-keymap 8.x +// Project: https://github.com/atom/atom-keymap +// Definitions by: GlenCFL // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 /// -import * as AtomEventKit from 'event-kit'; +declare global { + namespace AtomKeymap { + /** Objects that appear as parameters to callbacks. */ + namespace Events { + interface FullKeybindingMatch { + /** The string of keystrokes that matched the binding. */ + keystrokes: string; -export = AtomKeymap; + /** The KeyBinding that the keystrokes matched. */ + binding: KeyBinding; -declare namespace AtomKeymap { - type Disposable = AtomEventKit.Disposable; + /** The DOM element that was the target of the most recent keyboard event. */ + keyboardEventTarget: Element; + } - /** Instance side of KeyBinding class. */ - interface KeyBinding { - enabled: boolean; - source: string; - command: string; - keystrokes: string; - keystrokeCount: number; - selector: string; - specificity: number; + interface PartialKeybindingMatch { + /** The string of keystrokes that matched the binding. */ + keystrokes: string; - matches(keystroke: string): boolean; - compare(keyBinding: KeyBinding): number; - } + /** The KeyBindings that the keystrokes partially matched. */ + partiallyMatchedBindings: KeyBinding[]; - interface ICompleteMatchEvent { - /** Keystrokes that matched the binding. */ - keystrokes: string; - /** Binding that was matched to the keystrokes. */ - binding: KeyBinding; - /** DOM element that was the target of the most recent `KeyboardEvent`. */ - keyboardEventTarget: Element; - } + /** DOM element that was the target of the most recent keyboard event. */ + keyboardEventTarget: Element; + } - interface IPartialMatchEvent { - /** Keystrokes that matched the binding. */ - keystrokes: string; - /** Bindings that were partially matched to the keystrokes. */ - partiallyMatchedBindings: KeyBinding[]; - /** DOM element that was the target of the most recent `KeyboardEvent`. */ - keyboardEventTarget: Element; - } + interface FailedKeybindingMatch { + /** The string of keystrokes that failed to match the binding. */ + keystrokes: string; - interface IFailedMatchEvent { - /** Keystrokes that failed to match a binding. */ - keystrokes: string; - /** DOM element that was the target of the most recent `KeyboardEvent`. */ - keyboardEventTarget: Element; - } + /** The DOM element that was the target of the most recent keyboard event. */ + keyboardEventTarget: Element; + } - interface IKeymapLoadEvent { - /** Path to a keymap file. */ - path: string; - } + interface FailedKeymapFileRead { + /** The error message. */ + message: string; - /** Static side of KeymapManager class. */ - interface KeymapManagerStatic { - prototype: KeymapManager; - new (options?: { defaultTarget?: Element }): KeymapManager; - } + /** The error stack trace. */ + stack: string; + } - /** Instance side of KeymapManager class. */ - interface KeymapManager { - constructor: KeymapManagerStatic; - /** Unwatches all watched paths. */ - destroy(): void; + interface KeymapLoaded { + /** The path of the keymap file. */ + path: string; + } - // Event Subscription + interface AddedKeystrokeResolver { + /** The currently resolved keystroke string. If your function returns a falsy + * value, this is how Atom will resolve your keystroke. + */ + keystroke: string; - /** Sets callback to invoke when one or more keystrokes completely match a key binding. */ - onDidMatchBinding(callback: (event: ICompleteMatchEvent) => void): Disposable; - /** Sets callback to invoke when one or more keystrokes partially match a binding. */ - onDidPartiallyMatchBindings(callback: (event: IPartialMatchEvent) => void): Disposable; - /** Sets callback to invoke when one or more keystrokes fail to match any bindings. */ - onDidFailToMatchBinding(callback: (event: IFailedMatchEvent) => void): Disposable; - /** Sets callback to invoke when a keymap file is reloaded. */ - onDidReloadKeymap(callback: (event: IKeymapLoadEvent) => void): Disposable; - /** Sets callback to invoke when a keymap file is unloaded. */ - onDidUnloadKeymap(callback: (event: IKeymapLoadEvent) => void): Disposable; - /** Sets callback to invoke when a keymap file could not to be loaded. */ - onDidFailToReadFile(callback: (error: Error) => void): Disposable; + /** The raw DOM 3 `KeyboardEvent` being resolved. See the DOM API documentation + * for more details. + */ + event: KeyboardEvent; - // Adding and Removing Bindings + /** The OS-specific name of the current keyboard layout. */ + layoutName: string; - /** Adds sets of key bindings grouped by CSS selector. */ - add(source: string, keyBindingsBySelector: any): Disposable; + /** An object mapping DOM 3 `KeyboardEvent.code` values to objects with the + * typed character for that key in each modifier state, based on the current + * operating system layout. + */ + keymap: object; + } + } - // Accessing Bindings + /** Objects that appear as parameters to functions. */ + namespace Options { + interface BuildKeyEvent { + ctrl?: boolean; + alt?: boolean; + shift?: boolean; + cmd?: boolean; + which?: number; + target?: Element; + } + } - getKeyBindings(): KeyBinding[]; - findKeyBindings(params?: { - keystrokes: string; // e.g. 'ctrl-x ctrl-s' - command: string; // e.g. 'editor:backspace' - target?: Element; - }): KeyBinding[]; + /** The static side to each exported class. Should generally only be used internally. */ + namespace Statics { + /* tslint:disable:no-unnecessary-qualifier */ + /** The static side to the KeymapManager class. */ + interface KeymapManager { + /** Create a keydown DOM event. */ + buildKeydownEvent(key: string, options?: AtomKeymap.Options.BuildKeyEvent): void; - // Managing Keymap Files + /** Create a keyup DOM event. */ + buildKeyupEvent(key: string, options?: AtomKeymap.Options.BuildKeyEvent): void; - /** - * Loads the key bindings from the given path. - * - * @param bindingsPath A path to a file or a directory. If the path is a directory all files - * inside it will be loaded. + /** Create a new KeymapManager. */ + new (options?: { defaultTarget?: HTMLElement }): AtomKeymap.KeymapManager; + } + /* tslint:enable:no-unnecessary-qualifier */ + } + + /** This custom subclass of CustomEvent exists to provide the ::abortKeyBinding + * method, as well as versions of the ::stopPropagation methods that record the + * intent to stop propagation so event bubbling can be properly simulated for + * detached elements. */ - loadKeymap(bindingsPath: string, options?: { watch: boolean }): void; - /** - * Starts watching the given file/directory for changes, reloading any keymaps at that location - * when changes are detected. - * - * @param filePath A path to a file or a directory. - */ - watchKeymap(filePath: string): void; + interface CommandEvent extends CustomEvent { + keyBindingAborted: boolean; + propagationStopped: boolean; - // Managing Keyboard Events + abortKeyBinding(): void; + stopPropagation(): CustomEvent; + stopImmediatePropagation(): CustomEvent; + } - /** - * Dispatches a custom event associated with the matching key binding for the given - * `KeyboardEvent` if one can be found. + interface KeyBinding { + // Properties + enabled: boolean; + source: string; + command: string; + keystrokes: string; + keystrokeArray: string[]; + keystrokeCount: number; + selector: string; + specificity: number; + + // Comparison + /** Determines whether the given keystroke matches any contained within this binding. */ + matches(keystroke: string): boolean; + + /** Compare another KeyBinding to this instance. + * Returns <= -1 if the argument is considered lesser or of lower priority. + * Returns 0 if this binding is equivalent to the argument. + * Returns >= 1 if the argument is considered greater or of higher priority. + */ + compare(other: KeyBinding): number; + } + + /** Allows commands to be associated with keystrokes in a context-sensitive way. + * In Atom, you can access a global instance of this object via `atom.keymaps`. */ - handleKeyboardEvent(event: KeyboardEvent): void; - /** Translates a keydown event to a keystroke string. */ - keystrokeForKeyboardEvent(event: KeyboardEvent): string; - /** - * @return The number of milliseconds allowed before pending states caused by partial matches of - * multi-keystroke bindings are terminated. - */ - getPartialMatchTimeout(): number; + /** Instance side of KeymapManager class. */ + interface KeymapManager { + defaultTarget: HTMLElement; + + partialMatchTimeout: number; + + /** Clear all registered key bindings and enqueued keystrokes. For use in tests. */ + clear(): void; + + /** Unwatch all watched paths. */ + destroy(): void; + + // Event Subscription + /** Invoke the given callback when one or more keystrokes completely match a key binding. */ + onDidMatchBinding(callback: (event: Events.FullKeybindingMatch) => void): + EventKit.Disposable; + + /** Invoke the given callback when one or more keystrokes partially match a binding. */ + onDidPartiallyMatchBindings(callback: (event: Events.PartialKeybindingMatch) => + void): EventKit.Disposable; + + /** Invoke the given callback when one or more keystrokes fail to match any bindings. */ + onDidFailToMatchBinding(callback: (event: Events.FailedKeybindingMatch) => + void): EventKit.Disposable; + + /** Invoke the given callback when a keymap file is reloaded. */ + onDidReloadKeymap(callback: (event: Events.KeymapLoaded) => void): + EventKit.Disposable; + + /** Invoke the given callback when a keymap file is unloaded. */ + onDidUnloadKeymap(callback: (event: Events.KeymapLoaded) => void): + EventKit.Disposable; + + /** Invoke the given callback when a keymap file not able to be loaded. */ + onDidFailToReadFile(callback: (error: Events.FailedKeymapFileRead) => void): + EventKit.Disposable; + + // Adding and Removing Bindings + /** Construct KeyBindings from an object grouping them by CSS selector. */ + build(source: string, bindings: { [key: string]: { [key: string]: string }}, + priority?: number): KeyBinding[]; + + /** Add sets of key bindings grouped by CSS selector. */ + add(source: string, bindings: { [key: string]: { [key: string]: string }}, + priority?: number): EventKit.Disposable; + + // Accessing Bindings + /** Get all current key bindings. */ + getKeyBindings(): KeyBinding[]; + + /** Get the key bindings for a given command and optional target. */ + findKeyBindings(params?: { + keystrokes?: string, // e.g. 'ctrl-x ctrl-s' + command?: string, // e.g. 'editor:backspace' + target?: Element, + }): KeyBinding[]; + + // Managing Keymap Files + /** Load the key bindings from the given path. */ + loadKeymap(bindingsPath: string, options?: { watch?: boolean, priority?: number }): + void; + + /** Cause the keymap to reload the key bindings file at the given path whenever + * it changes. + */ + watchKeymap(filePath: string, options?: { priority: number }): void; + + // Managing Keyboard Events + /** Dispatch a custom event associated with the matching key binding for the + * given `KeyboardEvent` if one can be found. + */ + handleKeyboardEvent(event: KeyboardEvent): void; + + /** Translates a keydown event to a keystroke string. */ + keystrokeForKeyboardEvent(event: KeyboardEvent): string; + + /** Customize translation of raw keyboard events to keystroke strings. */ + addKeystrokeResolver(resolver: (event: Events.AddedKeystrokeResolver) => string): + EventKit.Disposable; + + /** Get the number of milliseconds allowed before pending states caused by + * partial matches of multi-keystroke bindings are terminated. + */ + getPartialMatchTimeout(): number; + } } - - /** Allows commands to be associated with keystrokes in a context-sensitive way.*/ - var KeymapManager: KeymapManagerStatic; } + +declare const KeymapManager: AtomKeymap.Statics.KeymapManager; +export = KeymapManager; diff --git a/types/atom-keymap/tsconfig.json b/types/atom-keymap/tsconfig.json index 84ac8aff2e..ef3f191a31 100644 --- a/types/atom-keymap/tsconfig.json +++ b/types/atom-keymap/tsconfig.json @@ -7,7 +7,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +20,4 @@ "index.d.ts", "atom-keymap-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/atom-keymap/tslint.json b/types/atom-keymap/tslint.json new file mode 100644 index 0000000000..cd8f17056a --- /dev/null +++ b/types/atom-keymap/tslint.json @@ -0,0 +1,38 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + // Custom rules. + "class-name": true, + "indent": [true, "tabs"], + "jsdoc-format": true, + "linebreak-style": [true, "LF"], + "max-line-length": [true, 100], + "quotemark": [true, "double", "avoid-escape"], + "trailing-comma": [true, { + "multiline": { "objects": "always", "arrays": "always", "functions": "never" }, + "singleline": { "objects": "never", "arrays": "never", "functions": "never" } + }], + "whitespace": [ + true, + "check-branch", + "check-decl", + "check-operator", + "check-module", + "check-separator", + "check-type", + "check-typecast", + "check-rest-spread", + "check-preblock" + ], + // Soon to be defaults. + "arrow-return-shorthand": [true, "multiline"], + "no-any": true, + "no-floating-promises": true, + "no-unbound-method": true, + "no-unsafe-any": true, + "number-literal-format": true, + "restrict-plus-operands": true, + "return-undefined": true, + "switch-final-break": true + } +} diff --git a/types/atom-keymap/v5/.editorconfig b/types/atom-keymap/v5/.editorconfig new file mode 100644 index 0000000000..570211f898 --- /dev/null +++ b/types/atom-keymap/v5/.editorconfig @@ -0,0 +1,3 @@ +[*.ts] +indent_style = tab +indent_size = 4 diff --git a/types/atom-keymap/v5/atom-keymap-tests.ts b/types/atom-keymap/v5/atom-keymap-tests.ts new file mode 100644 index 0000000000..1c92bff5c9 --- /dev/null +++ b/types/atom-keymap/v5/atom-keymap-tests.ts @@ -0,0 +1,20 @@ + + +import { KeymapManager, ICompleteMatchEvent } from "atom-keymap"; + +var manager = new KeymapManager(); +manager.add('some/unique/path', { + '.workspace': { + 'ctrl-x': 'package:do-something', + 'ctrl-y': 'package:do-something-else' + }, + '.mini.editor': { + 'enter': 'core:confirm' + } +}); + +manager.onDidMatchBinding((event: ICompleteMatchEvent): void => { + console.log(event.binding.command); +}) + +manager.destroy(); diff --git a/types/atom-keymap/v5/index.d.ts b/types/atom-keymap/v5/index.d.ts new file mode 100644 index 0000000000..9ffa0a41d3 --- /dev/null +++ b/types/atom-keymap/v5/index.d.ts @@ -0,0 +1,133 @@ +// Type definitions for atom-keymap v5.1.5 +// Project: https://github.com/atom/atom-keymap/ +// Definitions by: Vadim Macagon +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +import * as AtomEventKit from 'event-kit'; + +export = AtomKeymap; + +declare namespace AtomKeymap { + type Disposable = AtomEventKit.Disposable; + + /** Instance side of KeyBinding class. */ + interface KeyBinding { + enabled: boolean; + source: string; + command: string; + keystrokes: string; + keystrokeCount: number; + selector: string; + specificity: number; + + matches(keystroke: string): boolean; + compare(keyBinding: KeyBinding): number; + } + + interface ICompleteMatchEvent { + /** Keystrokes that matched the binding. */ + keystrokes: string; + /** Binding that was matched to the keystrokes. */ + binding: KeyBinding; + /** DOM element that was the target of the most recent `KeyboardEvent`. */ + keyboardEventTarget: Element; + } + + interface IPartialMatchEvent { + /** Keystrokes that matched the binding. */ + keystrokes: string; + /** Bindings that were partially matched to the keystrokes. */ + partiallyMatchedBindings: KeyBinding[]; + /** DOM element that was the target of the most recent `KeyboardEvent`. */ + keyboardEventTarget: Element; + } + + interface IFailedMatchEvent { + /** Keystrokes that failed to match a binding. */ + keystrokes: string; + /** DOM element that was the target of the most recent `KeyboardEvent`. */ + keyboardEventTarget: Element; + } + + interface IKeymapLoadEvent { + /** Path to a keymap file. */ + path: string; + } + + /** Static side of KeymapManager class. */ + interface KeymapManagerStatic { + prototype: KeymapManager; + new (options?: { defaultTarget?: Element }): KeymapManager; + } + + /** Instance side of KeymapManager class. */ + interface KeymapManager { + constructor: KeymapManagerStatic; + /** Unwatches all watched paths. */ + destroy(): void; + + // Event Subscription + + /** Sets callback to invoke when one or more keystrokes completely match a key binding. */ + onDidMatchBinding(callback: (event: ICompleteMatchEvent) => void): Disposable; + /** Sets callback to invoke when one or more keystrokes partially match a binding. */ + onDidPartiallyMatchBindings(callback: (event: IPartialMatchEvent) => void): Disposable; + /** Sets callback to invoke when one or more keystrokes fail to match any bindings. */ + onDidFailToMatchBinding(callback: (event: IFailedMatchEvent) => void): Disposable; + /** Sets callback to invoke when a keymap file is reloaded. */ + onDidReloadKeymap(callback: (event: IKeymapLoadEvent) => void): Disposable; + /** Sets callback to invoke when a keymap file is unloaded. */ + onDidUnloadKeymap(callback: (event: IKeymapLoadEvent) => void): Disposable; + /** Sets callback to invoke when a keymap file could not to be loaded. */ + onDidFailToReadFile(callback: (error: Error) => void): Disposable; + + // Adding and Removing Bindings + + /** Adds sets of key bindings grouped by CSS selector. */ + add(source: string, keyBindingsBySelector: any): Disposable; + + // Accessing Bindings + + getKeyBindings(): KeyBinding[]; + findKeyBindings(params?: { + keystrokes: string; // e.g. 'ctrl-x ctrl-s' + command: string; // e.g. 'editor:backspace' + target?: Element; + }): KeyBinding[]; + + // Managing Keymap Files + + /** + * Loads the key bindings from the given path. + * + * @param bindingsPath A path to a file or a directory. If the path is a directory all files + * inside it will be loaded. + */ + loadKeymap(bindingsPath: string, options?: { watch: boolean }): void; + /** + * Starts watching the given file/directory for changes, reloading any keymaps at that location + * when changes are detected. + * + * @param filePath A path to a file or a directory. + */ + watchKeymap(filePath: string): void; + + // Managing Keyboard Events + + /** + * Dispatches a custom event associated with the matching key binding for the given + * `KeyboardEvent` if one can be found. + */ + handleKeyboardEvent(event: KeyboardEvent): void; + /** Translates a keydown event to a keystroke string. */ + keystrokeForKeyboardEvent(event: KeyboardEvent): string; + /** + * @return The number of milliseconds allowed before pending states caused by partial matches of + * multi-keystroke bindings are terminated. + */ + getPartialMatchTimeout(): number; + } + + /** Allows commands to be associated with keystrokes in a context-sensitive way.*/ + var KeymapManager: KeymapManagerStatic; +} diff --git a/types/atom-keymap/v5/tsconfig.json b/types/atom-keymap/v5/tsconfig.json new file mode 100644 index 0000000000..001df42114 --- /dev/null +++ b/types/atom-keymap/v5/tsconfig.json @@ -0,0 +1,27 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "baseUrl": "../../", + "typeRoots": [ + "../../" + ], + "paths": { + "atom-keymap": [ "atom-keymap/v5" ], + "event-kit": [ "event-kit/v1" ] + }, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "atom-keymap-tests.ts" + ] +} diff --git a/types/atom/.editorconfig b/types/atom/.editorconfig new file mode 100644 index 0000000000..2b997514d2 --- /dev/null +++ b/types/atom/.editorconfig @@ -0,0 +1,3 @@ +[*.ts] +indent_style = tab +indent_size = 2 diff --git a/types/atom/README.md b/types/atom/README.md new file mode 100644 index 0000000000..cb0b596665 --- /dev/null +++ b/types/atom/README.md @@ -0,0 +1,42 @@ +## Atom API Type Definitions + +TypeScript type definitions for the [Atom Text Editor](https://atom.io/) public API, which is used to develop packages for the editor. Documentation for the public API can be found [here](https://atom.io/docs/api/v1.19.5/), though these type definitions include many types and class properties not mentioned within that documentation. + +### Exports + +#### The "atom" Variable + +These definitions declare a global static variable named "atom" as ambient. Once these definitions have been referenced within your project, you will be able to access properties and member functions from the [AtomEnvironment](https://atom.io/docs/api/v1.19.5/AtomEnvironment) class off of this variable, as it is an instance of that class. + +```ts +if (atom.inDevMode()) {} +``` + +#### The Atom Namespace + +All of the types used by or referenced by the Atom public API have been pulled into the Atom namespace, providing a consistent and easy way to access each of them, without having to care about where that type actually lives within the Atom codebase. + +```ts +function example(buffer: Atom.TextBuffer) {} +``` + +#### The AtomCore Namespace + +All classes which are core to Atom itself have been provided under the AtomCore namespace. + +```ts +function example(cursor: AtomCore.Cursor) {} +``` + +### Service Type Definitions + +There are many services provided by other Atom packages that you may want to use within your own Atom package. We bundle type definitions for several of these services with these type definitions. + +```ts +/// +let completionProvider: Atom.Services.Autocomplete.Provider; +``` + +The currently supported services are: +- [Autocomplete](https://github.com/atom/autocomplete-plus) +- [Status Bar](https://github.com/atom/status-bar) diff --git a/types/atom/atom-tests.ts b/types/atom/atom-tests.ts index 5987f4901d..c846cde9f2 100644 --- a/types/atom/atom-tests.ts +++ b/types/atom/atom-tests.ts @@ -1,70 +1,2087 @@ -import path = require("path"); -import _atom = require("atom"); +declare let str: string; +declare let num: number; +declare let bool: boolean; +declare let strs: string[]; +declare let obj: object; +declare let objs: object[]; +declare let regExp: RegExp; -import PathWatcher = require("pathwatcher"); -var File = PathWatcher.File; +declare let element: HTMLElement; +declare let elements: HTMLElement[]; +declare const div: HTMLDivElement; -const jq: JQuery = $("selector"); +declare let grammar: Atom.Grammar; +declare let pos: Atom.Point; +declare let posArr: Atom.Point[]; +declare let range: Atom.Range; +declare let ranges: Atom.Range[]; +declare let marker: Atom.Marker; +declare let displayMarker: Atom.DisplayMarker; +declare let displayMarkers: Atom.DisplayMarker[]; +declare let displayMarkerLayer: Atom.DisplayMarkerLayer; +declare let sub: Atom.Disposable; +declare let dir: Atom.Directory; +declare let dirs: Atom.Directory[]; -class SampleView extends _atom.ScrollView { +declare let buffer: Atom.TextBuffer; +declare let cursor: Atom.Cursor; +declare let cursors: Atom.Cursor[]; +declare let editor: Atom.TextEditor; +declare let editors: Atom.TextEditor[]; +declare let decoration: Atom.Decoration; +declare let decorations: Atom.Decoration[]; +declare let notification: Atom.Notification; +declare let notifications: Atom.Notification[]; +declare let scopeDescriptor: Atom.ScopeDescriptor; +declare let pack: Atom.Package; +declare let packs: Atom.Package[]; +declare let pane: Atom.Pane; +declare let panes: Atom.Pane[]; +declare let panel: Atom.Panel; +declare let panels: Atom.Panel[]; +declare let project: Atom.Project; +declare let repository: Atom.GitRepository; +declare let repositories: Atom.GitRepository[]; +declare let gutter: Atom.Gutter; +declare let gutters: Atom.Gutter[]; +declare let historyPaths: Atom.HistoryProject[]; +declare let layerDecoration: Atom.LayerDecoration; +declare let selection: Atom.Selection; +declare let selections: Atom.Selection[]; +declare let styleManager: Atom.StyleManager; +declare let tooltips: Atom.Tooltip[]; +declare let dock: Atom.Dock; +declare let workspaceCenter: Atom.WorkspaceCenter; +declare let paneContainer: Atom.Dock|Atom.WorkspaceCenter; - editorId:string; - file:PathWatcher.IFile; - editor:AtomCore.IEditor; +// Exports Testing ============================================================ +import { BufferedNodeProcess, BufferedProcess, GitRepository, Notification, + TextBuffer, TextEditor, Point, Range, File, Directory, Emitter, Disposable, + CompositeDisposable, Task } from "atom"; - static deserialize(state:any):SampleView { - return new SampleView(state); - } +// global "atom" +atom.commands; +atom.config; +atom.clipboard; +atom.contextMenu; +atom.menu; +atom.keymaps; +atom.tooltips; +atom.notifications; +atom.project; +atom.grammars; +atom.history; +atom.packages; +atom.themes; +atom.styles; +atom.deserializers; +atom.views; +atom.workspace; +atom.textEditors; +atom.onDidBeep((): void => {}); +atom.onWillThrowError((): void => {}); +atom.onDidThrowError((): void => {}); +atom.whenShellEnvironmentLoaded((): void => {}); +atom.inDevMode(); +atom.inSafeMode(); +atom.inSpecMode(); +atom.getVersion(); +atom.isReleasedVersion(); +atom.getWindowLoadTime(); - static content():any { - return this.div({class: 'sample native-key-bindings', tabindex: -1}); - } +const loadSettings = atom.getLoadSettings(); +const testValue = loadSettings.env["test"]; +if (testValue) str = testValue; - constructor(params:{editorId?:string; filePath?:string;} = {}) { - super(); +atom.open({ devMode: false, newWindow: true, pathsToOpen: ["Test.file"], + safeMode: false }); +atom.close(); +atom.getSize(); +atom.setSize(42, 42); +atom.getPosition(); +atom.setPosition(42, 42); +atom.pickFolder((): void => {}); - this.editorId = params.editorId; +const window = atom.getCurrentWindow(); +const [windowWidth, windowHeight] = window.getSize(); - if (this.editorId) { - this.resolveEditor(this.editorId); - } else { - this.file = new File(params.filePath); +atom.center(); +atom.focus(); +atom.show(); +atom.hide(); +atom.reload(); +atom.restartApplication(); +atom.isMaximized(); +atom.isFullScreen(); +atom.setFullScreen(true); +atom.toggleFullScreen(); +atom.beep(); +atom.confirm({ buttons: ["Test"], detailedMessage: "Test", message: "Test" }); + +async function toggleDevTools() { + await atom.openDevTools(); + await atom.toggleDevTools(); +} + +atom.executeJavaScriptInDevTools("Test"); + +// Usage Testing ============================================================== +// Some examples taken from the Atom documentation. +// .commands +sub = atom.commands.add("test", { "execute-command": () => {}}); + +// .clipboard +str = atom.clipboard.read(); + +// .contextMenu +sub = atom.contextMenu.add({ + "atom-workspace": [{label: "Help", command: "application:open-documentation"}], + "atom-text-editor": [{ + label: "History", + submenu: [ + { label: "Undo", command: "core:undo" }, + { label: "Redo", command: "core:redo" }, + ], + }], +}); + +// .menu +sub = atom.menu.add([{ + label: "Hello", + submenu : [{ label: "World!", command: "hello:world" }], +}]); + +// .keymaps +atom.keymaps.add("Test.Path", { + selector: { + a: "execute-something", + }, +}); + +// .tooltips +sub = atom.tooltips.add(div, { title: "Tooltip Test" }); + +// .notifications +notification = atom.notifications.addError("Error"); + +// .project +atom.project.addPath("/var/test"); + +// .grammars +grammar = atom.grammars.loadGrammarSync("Test.file"); + +// .history +historyPaths = atom.history.getProjects(); + +// .packages +sub = atom.packages.onDidActivatePackage((atomPackage) => { + atomPackage.isCompatible(); +}); + +// .themes +sub = atom.themes.onDidChangeActiveThemes(() => {}); + +// .styles +sub = atom.styles.onDidAddStyleElement((styleElement) => {}); + +// .deserializers +const serializer = { + name: "Test", + deserialize: () => ({}), +}; +atom.deserializers.add(serializer); + +// .views +sub = atom.views.addViewProvider(Range, (range): HTMLElement => { + range.start; + return div; +}); + +// .workspace +sub = atom.workspace.observeTextEditors((editor) => { + sub = editor.onDidStopChanging((event) => { + for (const change of event.changes) { + change.newExtent; } + }); + + const text: string[] = editor.getBuffer().getLines(); +}); + +// .textEditors +atom.textEditors.add(editor); + +// Atom API Testing =========================================================== +//// AtomEnvironment ========================================================== +// Event Subscription +sub = atom.onDidBeep(() => {}); +sub = atom.onWillThrowError(event => event.message); +sub = atom.onDidThrowError(event => event.line); +sub = atom.whenShellEnvironmentLoaded(() => {}); + +// Atom Details +bool = atom.inDevMode(); +bool = atom.inSafeMode(); +bool = atom.inSpecMode(); +str = atom.getVersion(); +bool = atom.isReleasedVersion(); +num = atom.getWindowLoadTime(); +obj = atom.getLoadSettings(); + +// Managing The Atom Window +declare let dim: { width: number, height: number }; +declare let v2: { x: number, y: number }; + +// atom.open(params); +atom.close(); +dim = atom.getSize(); +atom.setSize(42, 42); +v2 = atom.getPosition(); +atom.setPosition(42, 42); + +atom.pickFolder((paths) => { + if (paths) { + paths.length; } +}); - serialize() { - return { - deserializer: 'SampleView', - editorId: this.editorId - }; - } +atom.getCurrentWindow(); +atom.center(); +atom.focus(); +atom.show(); +atom.hide(); +atom.reload(); +atom.restartApplication(); +bool = atom.isMaximized(); +bool = atom.isFullScreen(); +atom.setFullScreen(true); +atom.toggleFullScreen(); - destroy() { - this.unsubscribe(); - } +// Messaging the User +atom.beep(); - resolveEditor(editorId:string) { - var resolve = ()=> { - if (this.editor) { - jq.trigger("title-changed"); - } else { - var view = jq.parents('.pane').view(); - if (view) { - view.destroyItem(this); - } - } - }; +atom.confirm({ message: "Test" }); +atom.confirm({ message: "Test", buttons: [ "a", "b" ], detailedMessage: "Test" }); +num = atom.confirm({ message: "Test", detailedMessage: "Test", buttons: { + Test: () => { atom.beep(); }, +}}); - if (atom.workspace) { - resolve(); - } else { - atom.packages.once("activated", ()=> { - resolve(); - }); - } +// Managing the Dev Tools +async function manageDevTools() { + await atom.openDevTools(); + await atom.toggleDevTools(); +} + +atom.executeJavaScriptInDevTools("Test"); + +//// BufferedNodeProcess ====================================================== +const nodeProcess = new BufferedNodeProcess({ + command: "File.path", +}); + +new BufferedNodeProcess({ + command: "File.path", + args: [], + options: { + cwd: "/var/test", + detached: true, + }, + exit: (): void => {}, + stderr: (): void => {}, + stdout: (): void => {}, +}); + +//// BufferedProcess ========================================================== +const process = new BufferedProcess({ + command: "File.path", +}); + +new BufferedProcess({ + command: "File.path", + args: [], + options: {}, + exit: (): void => {}, + stderr: (): void => {}, + stdout: (): void => {}, +}); + +sub = process.onWillThrowError((error) => { + error.error; + error.handle(); +}); + +process.kill(); + +//// Clipboard ================================================================ +atom.clipboard.read(); +atom.clipboard.write("Test"); +const clip = atom.clipboard.readWithMetadata(); +str = clip.text; +obj = clip.metadata; + +//// Color ==================================================================== +declare const color: Atom.Color; +str = color.toHexString(); +str = color.toRGBAString(); + +//// CommandRegistry ========================================================== +atom.commands.add("test", "test:function", (event) => {}); +atom.commands.add("test", { + "test-function": (event) => {}, + "test-function2": (event) => {}, +}); + +const commands = atom.commands.findCommands({ target: element }); +atom.commands.dispatch(element, "test:function"); +sub = atom.commands.onWillDispatch((event) => { event.stopPropagation(); }); +sub = atom.commands.onDidDispatch((event) => { event.cancelable; }); + +//// CompositeDisposable -- See 'event-kit' testing. +//// Config =================================================================== +atom.config.observe("test", (event) => {}); +atom.config.observe("test", { scope: scopeDescriptor }, (value) => {}); + +atom.config.onDidChange((event) => { event.newValue; }); +atom.config.onDidChange("test", (event) => { event.oldValue; }); + +// Managing Settings +atom.config.get("test"); +atom.config.get("test", { scope: scopeDescriptor }); +atom.config.get("test", { excludeSources: ["test.source"] }); +atom.config.get("test", { sources: ["test.source"] }); +atom.config.get("test", { scope: scopeDescriptor, excludeSources: ["a"], + sources: ["b"] }); + +atom.config.set("test", 42); +atom.config.set("test", 42, { scopeSelector: "test-selector" }); +atom.config.set("test", 42, { source: "test" }); +atom.config.set("test", 42, {scopeSelector: "test-selector", source: "test" }); + +atom.config.unset("test"); +atom.config.unset("test", { scopeSelector: "test-selector" }); +atom.config.unset("test", { source: "test" }); +atom.config.unset("test", { scopeSelector: "test-selector", source: "test" }); + +const allConfigValues = atom.config.getAll("test"); +for (const { scopeDescriptor, value } of allConfigValues) { + scopeDescriptor.scopes; +} +atom.config.getAll("test", { scope: scopeDescriptor }); +atom.config.getAll("test", { excludeSources: ["test"] }); +atom.config.getAll("test", { sources: ["test"] }); +atom.config.getAll("test", { scope: scopeDescriptor, excludeSources: ["a"], + sources: ["b"] }); + +strs = atom.config.getSources(); + +atom.config.getSchema("test"); + +str = atom.config.getUserConfigPath(); + +atom.config.transact(() => {}); + +//// ContextMenuManager -- See above. +//// Cursor =================================================================== +// Event Subscription +sub = cursor.onDidChangePosition((event) => { event.newBufferPosition; }); +sub = cursor.onDidDestroy(() => {}); + +// Managing Cursor Position +cursor.setScreenPosition(pos); +cursor.setScreenPosition(pos, {}); +cursor.setScreenPosition(pos, { autoscroll: true }); + +pos = cursor.getScreenPosition(); + +cursor.setBufferPosition(pos); +cursor.setBufferPosition(pos, {}); +cursor.setBufferPosition(pos, { autoscroll: true }); + +pos = cursor.getBufferPosition(); +num = cursor.getScreenRow(); +num = cursor.getScreenColumn(); +num = cursor.getBufferRow(); +num = cursor.getBufferColumn(); +str = cursor.getCurrentBufferLine(); +bool = cursor.isAtBeginningOfLine(); +bool = cursor.isAtEndOfLine(); + +// Cursor Position Details +displayMarker = cursor.getMarker(); +bool = cursor.isSurroundedByWhitespace(); +bool = cursor.isBetweenWordAndNonWord(); + +bool = cursor.isInsideWord(); +bool = cursor.isInsideWord({}); +bool = cursor.isInsideWord({ wordRegex: regExp }); + +num = cursor.getIndentLevel(); +scopeDescriptor = cursor.getScopeDescriptor(); +bool = cursor.hasPrecedingCharactersOnLine(); +bool = cursor.isLastCursor(); + +// Moving the Cursor +cursor.moveUp(); +cursor.moveUp(42); +cursor.moveUp(42, {}); +cursor.moveUp(42, { moveToEndOfSelection: true }); + +cursor.moveDown(); +cursor.moveDown(42); +cursor.moveDown(42, {}); +cursor.moveDown(42, { moveToEndOfSelection: true }); + +cursor.moveLeft(); +cursor.moveLeft(42); +cursor.moveLeft(42, {}); +cursor.moveLeft(42, { moveToEndOfSelection: true }); + +cursor.moveRight(); +cursor.moveRight(42); +cursor.moveRight(42, {}); +cursor.moveRight(42, { moveToEndOfSelection: true }); + +cursor.moveToTop(); +cursor.moveToBottom(); +cursor.moveToBeginningOfScreenLine(); +cursor.moveToBeginningOfLine(); +cursor.moveToFirstCharacterOfLine(); +cursor.moveToEndOfScreenLine(); +cursor.moveToEndOfLine(); +cursor.moveToBeginningOfWord(); +cursor.moveToEndOfWord(); +cursor.moveToBeginningOfNextWord(); +cursor.moveToPreviousWordBoundary(); +cursor.moveToNextWordBoundary(); +cursor.moveToPreviousSubwordBoundary(); +cursor.moveToNextSubwordBoundary(); +cursor.skipLeadingWhitespace(); +cursor.moveToBeginningOfNextParagraph(); +cursor.moveToBeginningOfPreviousParagraph(); + +// Local Positions and Ranges +pos = cursor.getPreviousWordBoundaryBufferPosition(); +pos = cursor.getPreviousWordBoundaryBufferPosition({}); +pos = cursor.getPreviousWordBoundaryBufferPosition({ wordRegex: regExp }); + +cursor.getNextWordBoundaryBufferPosition(); +cursor.getNextWordBoundaryBufferPosition({ wordRegex: regExp }); + +cursor.getBeginningOfCurrentWordBufferPosition(); +cursor.getBeginningOfCurrentWordBufferPosition({}); +cursor.getBeginningOfCurrentWordBufferPosition({ wordRegex: regExp }); +cursor.getBeginningOfCurrentWordBufferPosition({ allowPrevious: true }); +cursor.getBeginningOfCurrentWordBufferPosition({ includeNonWordCharacters: true }); +cursor.getBeginningOfCurrentWordBufferPosition({ wordRegex: regExp, + allowPrevious: true, includeNonWordCharacters: true }); + +cursor.getEndOfCurrentWordBufferPosition(); +cursor.getEndOfCurrentWordBufferPosition({}); +cursor.getEndOfCurrentWordBufferPosition({ wordRegex: regExp }); +cursor.getEndOfCurrentWordBufferPosition({ includeNonWordCharacters: true }); +cursor.getEndOfCurrentWordBufferPosition({ wordRegex: regExp, includeNonWordCharacters: + true }); + +cursor.getBeginningOfNextWordBufferPosition(); +cursor.getBeginningOfNextWordBufferPosition({}); +cursor.getBeginningOfNextWordBufferPosition({ wordRegex: regExp }); + +cursor.getCurrentWordBufferRange(); +cursor.getCurrentWordBufferRange({}); +cursor.getCurrentWordBufferRange({ wordRegex: regExp }); + +cursor.getCurrentLineBufferRange(); +cursor.getCurrentLineBufferRange({}); +cursor.getCurrentLineBufferRange({ includeNewline: true }); + +range = cursor.getCurrentParagraphBufferRange(); +str = cursor.getCurrentWordPrefix(); + +// Comparing to another cursor +num = cursor.compare(cursor); + +// Utilities +cursor.clearSelection(); + +regExp = cursor.wordRegExp(); +regExp = cursor.wordRegExp({}); +regExp = cursor.wordRegExp({ includeNonWordCharacters: true }); + +regExp = cursor.subwordRegExp(); +regExp = cursor.subwordRegExp({}); +regExp = cursor.subwordRegExp({ backwards: true }); + +//// Decoration =============================================================== +// Construction and Destruction +decoration.destroy(); + +// Event Subscription +sub = decoration.onDidChangeProperties(event => { event.oldProperties.gutterName; }); +sub = decoration.onDidDestroy(() => {}); + +// Decoration Details +num = decoration.getId(); +displayMarker = decoration.getMarker(); + +// Properties +const decorationProps = decoration.getProperties(); + +decoration.setProperties(decorationProps); + +//// DeserializerManager ====================================================== +class StorableClass { + name: string; + + constructor() {} + deserialize() { return {}; } +} + +function isStorableClass(o: object): o is StorableClass { + if (typeof o === "object" && ( o).name && + ( o).name === "test") { + return true; + } else { + return false; } } -atom.deserializers.add(SampleView); +let serializable = new StorableClass(); +atom.deserializers.add(serializable); +const blob = atom.deserializers.deserialize({ name: "test" }); +if (blob && isStorableClass(blob)) serializable = blob; -export = SampleView; +//// Directory -- See 'pathwatcher' testing. +//// DisplayMarker -- See 'text-buffer' testing. +//// DisplayMarkerLayer -- See 'text-buffer' testing. +//// Disposable -- See 'event-kit' testing. +//// Dock ===================================================================== +// Methods +dock.activate(); +dock.show(); +dock.hide(); +dock.toggle(); +bool = dock.isVisible(); + +// Event Subscription +sub = dock.observePaneItems(() => {}); +sub = dock.onDidChangeActivePaneItem(() => {}); +sub = dock.onDidStopChangingActivePaneItem(() => {}); +sub = dock.observeActivePaneItem(() => {}); +sub = dock.onDidAddPane(event => event.pane.activate()); +sub = dock.onWillDestroyPane(event => event.pane); +sub = dock.onDidDestroyPane(event => event.pane); +sub = dock.observePanes(pane => pane.activate()); +sub = dock.onDidChangeActivePane(pane => pane.activate()); +sub = dock.observeActivePane(pane => pane.activate()); +sub = dock.onDidAddPaneItem(event => event.index && event.item && event.pane); +sub = dock.onWillDestroyPaneItem(event => event.index && event.item && event.pane); +sub = dock.onDidDestroyPaneItem(event => event.index && event.item && event.pane); + +// Pane Items +objs = dock.getPaneItems(); +obj = dock.getActivePaneItem(); + +// Panes +panes = dock.getPanes(); +pane = dock.getActivePane(); +bool = dock.activateNextPane(); +bool = dock.activatePreviousPane(); + +//// Emitter -- See 'event-kit' testing. +//// File -- See 'pathwatcher' testing. +//// GitRepository ============================================================ +// Construction and Destruction +repository = new GitRepository("Test"); +repository = new GitRepository("Test", {}); +repository = new GitRepository("Test", { refreshOnWindowFocus: true }); +repository = new GitRepository("Test", { config: atom.config }); +repository = new GitRepository("Test", { project: atom.project }); +repository = new GitRepository("Test", { refreshOnWindowFocus: false, config: atom.config, + project: atom.project }); +repository.destroy(); +bool = repository.isDestroyed(); + +// Event Subscription +sub = repository.onDidDestroy(() => {}); +sub = repository.onDidChangeStatus(event => event.path && event.pathStatus); +sub = repository.onDidChangeStatuses(() => {}); + +// Repository Details +repository.getType(); +str = repository.getPath(); +str = repository.getWorkingDirectory(); +bool = repository.isProjectAtRoot(); +str = repository.relativize(); +bool = repository.hasBranch("master"); + +str = repository.getShortHead(); +str = repository.getShortHead("test.path"); + +bool = repository.isSubmodule("test.path"); + +declare var aheadBehindCount: { ahead: number, behind: number }; +aheadBehindCount = repository.getAheadBehindCount("ref"); +aheadBehindCount = repository.getAheadBehindCount("ref", "test.path"); + +aheadBehindCount = repository.getCachedUpstreamAheadBehindCount(); +aheadBehindCount = repository.getCachedUpstreamAheadBehindCount("test.path"); + +str = repository.getConfigValue("username"); +str = repository.getConfigValue("username", "test.path"); + +str = repository.getOriginURL(); +str = repository.getOriginURL("test.path"); + +let upstreamBranch = repository.getUpstreamBranch(); +if (upstreamBranch) { + str = upstreamBranch; +} + +upstreamBranch = repository.getUpstreamBranch("test.path"); +if (upstreamBranch) { + str = upstreamBranch; +} + +declare var gitReferences: { heads: string[], remotes: string[], tags: string[] }; +gitReferences = repository.getReferences(); +gitReferences = repository.getReferences("test.path"); + +str = repository.getReferenceTarget("ref"); +str = repository.getReferenceTarget("ref", "test.path"); + +// Reading Status +bool = repository.isPathModified("file.path"); +bool = repository.isPathNew("file.path"); +bool = repository.isPathIgnored("file.path"); +num = repository.getDirectoryStatus("file.path"); +num = repository.getPathStatus("file.path"); + +const cachedPathStatus = repository.getCachedPathStatus("file.path"); +if (cachedPathStatus) { + num = cachedPathStatus; +} + +bool = repository.isStatusModified(42); +bool = repository.isStatusNew(42); + +// Retrieving Diffs +declare var diffStats: { added: number, deleted: number }; +diffStats = repository.getDiffStats("file.path"); + +declare var lineDiffs: Array<{ oldStart: number, newStart: number, oldLines: number, + newLines: number }>; +lineDiffs = repository.getLineDiffs("file.path", "contents"); + +// Checking Out +bool = repository.checkoutHead("file.path"); +bool = repository.checkoutReference("ref", true); + +//// Grammar -- See 'first-mate' testing. +//// GrammarRegistry -- See 'first-mate' testing. +//// Gutter =================================================================== +// Gutter Destruction +gutter.destroy(); + +// Event Subscription +sub = gutter.onDidChangeVisible(gutter => gutter.isVisible()); +sub = gutter.onDidDestroy(() => {}); + +// Visibility +gutter.hide(); +gutter.show(); +bool = gutter.isVisible(); +decoration = gutter.decorateMarker(displayMarker, { type: "line-number" }); + +//// HistoryManager =========================================================== +historyPaths = atom.history.getProjects(); +atom.history.clearProjects(); +sub = atom.history.onDidChangeProjects(() => {}); + +//// KeymapManager -- See 'atom-keymap' testing. +//// LayerDecoration ========================================================== +layerDecoration.destroy(); +bool = layerDecoration.isDestroyed(); +layerDecoration.getProperties(); +declare let decorationLayerProps: Atom.Structures.DecorationLayerProps; +layerDecoration.setProperties(decorationLayerProps); +layerDecoration.setPropertiesForMarker(marker, { type: "line", class: "test-class" }); + +//// MarkerLayer -- See 'text-buffer' testing. +//// MenuManager ============================================================== +sub = atom.menu.add([ + { + label: "Hello", + submenu : [{ label: "World!", command: "hello:world" }], + }, +]); +atom.menu.update(); + +//// Notification ============================================================= +notification = new Notification("fatal", "Test"); +notification = new Notification("success", "Test", {}); +notification = new Notification("info", "Test", { + buttons: [ + { className: "Test", text: "Test", onDidClick: () => {}}, + ], + description: "Test", + detail: "Test", + dismissable: false, + icon: "Test", +}); + +// Event Subscription +sub = notification.onDidDismiss(notification => notification.dismissed); +sub = notification.onDidDisplay(notification => notification.timestamp); + +// Methods +str = notification.getType(); +str = notification.getMessage(); + +// Extended Methods +notification.dismiss(); + +//// NotificationManager ====================================================== +// Events +atom.notifications.onDidAddNotification(notification => notification.dismiss()); + +// Adding Notifications +atom.notifications.addSuccess("Test"); +atom.notifications.addSuccess("Test", {}); +atom.notifications.addSuccess("Test", { + description: "Desc", + detail: "Details", + dismissable: true, + icon: "Icon", + buttons: [{ + text: "Button", + onDidClick: () => {}, + className: "test-class", + }], +}); + +atom.notifications.addInfo("Test"); +atom.notifications.addInfo("Test", {}); +atom.notifications.addInfo("Test", { description: "Desc" }); + +atom.notifications.addWarning("Test"); +atom.notifications.addWarning("Test", {}); +atom.notifications.addWarning("Test", { description: "Desc" }); + +atom.notifications.addError("Test"); +atom.notifications.addError("Test", {}); +atom.notifications.addError("Test", { stack: "Stack" }); + +atom.notifications.addFatalError("Test"); +atom.notifications.addFatalError("Test", {}); +atom.notifications.addFatalError("Test", { stack: "Stack" }); + +// Getting Notifications +notifications = atom.notifications.getNotifications(); + +//// Package ================================================================== +// Event Subscription +pack.onDidDeactivate(() => {}); + +// Native Module Compatibility +bool = pack.isCompatible(); +declare let exitInfo: Promise<{ code: number, stderr: string, stdout: string }>; +exitInfo = pack.rebuild(); + +const buildFailureOutput = pack.getBuildFailureOutput(); +if (buildFailureOutput) { + str = buildFailureOutput; +} + +//// PackageManager ===========================================================\ +// Event Subscription +sub = atom.packages.onDidLoadInitialPackages(() => {}); +sub = atom.packages.onDidActivateInitialPackages(() => {}); +sub = atom.packages.onDidActivatePackage(pack => pack.name); +sub = atom.packages.onDidDeactivatePackage(pack => pack.path); +sub = atom.packages.onDidLoadPackage(pack => pack.isCompatible()); +sub = atom.packages.onDidUnloadPackage(pack => pack.bundledPackage); + +// Package system data +str = atom.packages.getApmPath(); +strs = atom.packages.getPackageDirPaths(); + +// General package data +const packagePath = atom.packages.resolvePackagePath("Test"); +if (packagePath) { + str = packagePath; +} + +bool = atom.packages.isBundledPackage("Test"); + +// Enabling and disabling packages +let potentialPack = atom.packages.enablePackage("Test"); +if (potentialPack) { + pack = potentialPack; +} + +potentialPack = atom.packages.disablePackage("Test"); +if (potentialPack) { + pack = potentialPack; +} + +bool = atom.packages.isPackageDisabled("Test"); + +// Accessing active packages +packs = atom.packages.getActivePackages(); + +potentialPack = atom.packages.getActivePackage("Test"); +if (potentialPack) { + pack = potentialPack; +} + +bool = atom.packages.isPackageActive("Test"); +bool = atom.packages.hasActivatedInitialPackages(); + +// Accessing loaded packages +packs = atom.packages.getLoadedPackages(); + +potentialPack = atom.packages.getLoadedPackage("Test"); +if (potentialPack) { + pack = potentialPack; +} + +bool = atom.packages.isPackageLoaded("Test"); +bool = atom.packages.hasLoadedInitialPackages(); + +// Accessing available packages +strs = atom.packages.getAvailablePackagePaths(); +strs = atom.packages.getAvailablePackageNames(); +strs = atom.packages.getAvailablePackageMetadata(); + +//// Pane ===================================================================== +// Event Subscription +sub = pane.onDidChangeFlexScale(scale => num = scale); +sub = pane.observeFlexScale(scale => num = scale); +sub = pane.onDidActivate(() => {}); +sub = pane.onWillDestroy(() => {}); +sub = pane.onDidDestroy(() => {}); +sub = pane.onDidChangeActive(active => bool = active); +sub = pane.observeActive(active => bool = active); +sub = pane.onDidAddItem(event => event.index && event.item); +sub = pane.onDidRemoveItem(event => event.index && event.item); +sub = pane.onWillRemoveItem(event => event.index && event.item); +sub = pane.onDidMoveItem(event => event.item && event.oldIndex && event.newIndex); +sub = pane.observeItems((item) => {}); +sub = pane.onDidChangeActiveItem((item) => {}); +sub = pane.onChooseNextMRUItem((item) => {}); +sub = pane.onChooseLastMRUItem((item) => {}); +sub = pane.onDoneChoosingMRUItem(() => {}); +sub = pane.observeActiveItem((item) => {}); +sub = pane.onWillDestroyItem(event => event.index && event.item); + +// Items +objs = pane.getItems(); +obj = pane.getActiveItem(); + +let potentialItem = pane.itemAtIndex(42); +if (potentialItem) { + obj = potentialItem; +} + +pane.activateNextItem(); +pane.activatePreviousItem(); +pane.moveItemRight(); +pane.moveItemLeft(); +num = pane.getActiveItemIndex(); +pane.activateItemAtIndex(42); + +pane.activateItem(element); +pane.activateItem(element, { pending: true }); + +obj = pane.addItem(element); +obj = pane.addItem(element, {}); +obj = pane.addItem(element, { pending: true }); +obj = pane.addItem(element, { index: 42 }); +obj = pane.addItem(element, { pending: true, index: 42 }); + +objs = pane.addItems(objs); +objs = pane.addItems(objs, 42); + +pane.moveItem(element, 42); +pane.moveItemToPane(element, pane, 42); +pane.destroyActiveItem(); + +pane.destroyItem(element); +pane.destroyItem(element, true); + +pane.destroyItems(); +pane.destroyInactiveItems(); +pane.saveActiveItem(); +pane.saveActiveItemAs(() => {}); +pane.saveItem(element, () => {}); +pane.saveItemAs(element, () => {}); +pane.saveItems(); + +potentialItem = pane.itemForURI("https://test"); +if (potentialItem) { + obj = potentialItem; +} + +bool = pane.activateItemForURI("https://test"); + +// Lifecycle +bool = pane.isActive(); +pane.activate(); +pane.destroy(); +bool = pane.isDestroyed(); + +// Splitting +pane = pane.splitLeft(); +pane = pane.splitLeft({}); +pane = pane.splitLeft({ copyActiveItem: true }); +pane = pane.splitLeft({ items: elements }); +pane = pane.splitLeft({ copyActiveItem: true, items: elements }); + +pane = pane.splitRight(); +pane = pane.splitRight({}); +pane = pane.splitRight({ copyActiveItem: true }); +pane = pane.splitRight({ items: elements }); +pane = pane.splitRight({ copyActiveItem: true, items: elements }); + +pane = pane.splitUp(); +pane = pane.splitUp({}); +pane = pane.splitUp({ copyActiveItem: true }); +pane = pane.splitUp({ items: elements }); +pane = pane.splitUp({ copyActiveItem: true, items: elements }); + +pane = pane.splitDown(); +pane = pane.splitDown({}); +pane = pane.splitDown({ copyActiveItem: true }); +pane = pane.splitDown({ items: elements }); +pane = pane.splitDown({ copyActiveItem: true, items: elements }); + +//// Panel ==================================================================== +// Methods +panel.destroy(); + +// Event Subscription +sub = panel.onDidChangeVisible(visible => bool = visible); +sub = panel.onDidDestroy(panel => bool = panel.isVisible()); + +// Panel Details +obj = panel.getItem(); +num = panel.getPriority(); +bool = panel.isVisible(); +panel.hide(); +panel.show(); + +//// Point -- See 'text-buffer' testing. +//// Project ================================================================== +// Event Subscription +sub = project.onDidChangePaths(paths => paths.length); +sub = project.onDidAddBuffer(buffer => buffer.id); +sub = project.observeBuffers(buffer => buffer.file); + +// Accessing the git repository +repositories = project.getRepositories(); + +async function getDirectoryRepo() { + const potentialRepo = await project.repositoryForDirectory(dir); + if (potentialRepo) repository = potentialRepo; +} + +// Managing Paths +strs = project.getPaths(); +project.setPaths(["a", "b"]); +project.addPath("Test"); +project.removePath("Test"); +dirs = project.getDirectories(); + +const [projectPath, relativePath] = project.relativizePath("Test"); +if (projectPath) { + str = projectPath; +} +str = relativePath; + +bool = project.contains("Test"); + +//// Range -- See 'text-buffer' testing. +//// ScopeDescriptor ========================================================== +strs = scopeDescriptor.getScopesArray(); + +//// Selection ================================================================ +// Event Subscription +sub = selection.onDidChangeRange(event => event.newBufferRange && event.oldBufferRange && + event.newScreenRange && event.oldScreenRange && event.selection); +sub = selection.onDidDestroy(() => {}); + +// Managing the selection range +range = selection.getScreenRange(); + +selection.setScreenRange(range); +selection.setScreenRange([pos, pos]); +selection.setScreenRange([pos, [0, 0]]); +selection.setScreenRange([[0, 0], pos]); +selection.setScreenRange([[0, 0], [0, 0]]); +selection.setScreenRange([[0, 0], [0, 0]], {}); +selection.setScreenRange(range, { autoscroll: true, preserveFolds: false }); +selection.setScreenRange([pos, pos], { autoscroll: true }); + +range = selection.getBufferRange(); + +selection.setBufferRange(range); +selection.setBufferRange([pos, pos]); +selection.setBufferRange([pos, [0, 0]]); +selection.setBufferRange([[0, 0], pos]); +selection.setBufferRange([[0, 0], [0, 0]]); +selection.setBufferRange([[0, 0], [0, 0]], {}); +selection.setBufferRange(range, { autoscroll: true, preserveFolds: false }); +selection.setBufferRange([pos, pos], { autoscroll: true }); + +const [startingRow, endingRow ]: [number, number] = selection.getBufferRowRange(); + +// Info about the selection +bool = selection.isEmpty(); +bool = selection.isReversed(); +bool = selection.isSingleScreenLine(); +str = selection.getText(); +bool = selection.intersectsBufferRange(range); // Not range-compatible. +bool = selection.intersectsWith(selection); + +// Modifying the selected range +selection.clear(); +selection.clear({}); +selection.clear({ autoscroll: false }); + +selection.selectToScreenPosition(pos); +selection.selectToScreenPosition([0, 0]); + +selection.selectToBufferPosition(pos); +selection.selectToBufferPosition([0, 0]); + +selection.selectRight(); +selection.selectRight(42); + +selection.selectLeft(); +selection.selectLeft(42); + +selection.selectUp(); +selection.selectUp(42); + +selection.selectDown(); +selection.selectDown(42); + +selection.selectToTop(); +selection.selectToBottom(); +selection.selectAll(); +selection.selectToBeginningOfLine(); +selection.selectToFirstCharacterOfLine(); +selection.selectToEndOfLine(); +selection.selectToEndOfBufferLine(); +selection.selectToBeginningOfWord(); +selection.selectToEndOfWord(); +selection.selectToBeginningOfNextWord(); +selection.selectToPreviousWordBoundary(); +selection.selectToNextWordBoundary(); +selection.selectToPreviousSubwordBoundary(); +selection.selectToNextSubwordBoundary(); +selection.selectToBeginningOfNextParagraph(); +selection.selectToBeginningOfPreviousParagraph(); +selection.selectWord(); +selection.expandOverWord(); +selection.selectLine(42); +selection.expandOverLine(); + +// Modifying the selected text +selection.insertText("Replacement"); +selection.insertText("Replacement", {}); +selection.insertText("Replacement", { select: true }); +selection.insertText("Replacement", { autoIndent: true }); +selection.insertText("Replacement", { autoIndentNewline: true }); +selection.insertText("Replacement", { autoDecreaseIndent: true }); +selection.insertText("Replacement", { normalizeLineEndings: true }); +selection.insertText("Replacement", { undo: "skip" }); +selection.insertText("Replacement", { select: true, autoIndent: true, + autoIndentNewline: true, autoDecreaseIndent: true, normalizeLineEndings: true, + undo: "skip" }); + +selection.backspace(); +selection.deleteToPreviousWordBoundary(); +selection.deleteToNextWordBoundary(); +selection.deleteToBeginningOfWord(); +selection.deleteToBeginningOfLine(); +selection.delete(); +selection.deleteToEndOfLine(); +selection.deleteToEndOfWord(); +selection.deleteToBeginningOfSubword(); +selection.deleteToEndOfSubword(); +selection.deleteSelectedText(); +selection.deleteLine(); +selection.joinLines(); +selection.outdentSelectedRows(); +selection.autoIndentSelectedRows(); +selection.toggleLineComments(); +selection.cutToEndOfLine(); +selection.cutToEndOfBufferLine(); + +selection.cut(); +selection.cut(true); +selection.cut(true, true); + +selection.copy(); +selection.copy(true); +selection.copy(true, true); + +selection.fold(); +selection.indentSelectedRows(); + +// Managing multiple selections +selection.addSelectionBelow(); +selection.addSelectionAbove(); + +selection.merge(selection); +selection.merge(selection, {}); +selection.merge(selection, { preserveFolds: true }); +selection.merge(selection, { autoscroll: true }); +selection.merge(selection, { preserveFolds: true, autoscroll: true }); + +// Comparing to other selections +num = selection.compare(selection); + +//// StyleManager ============================================================= +// Event Subscription +sub = styleManager.observeStyleElements(styleElement => styleElement.context); +sub = styleManager.onDidAddStyleElement(styleElement => styleElement.sourcePath); +sub = styleManager.onDidRemoveStyleElement(styleElement => styleElement.onkeydown); +sub = styleManager.onDidUpdateStyleElement(styleElement => styleElement.sourcePath); + +// Reading Style Elements +const styleElements: HTMLStyleElement[] = styleManager.getStyleElements(); + +// Paths +str = styleManager.getUserStyleSheetPath(); + +//// Task ===================================================================== +let task: Atom.Task = Task.once("File.path", {}, () => {}); +task = new Task("File.path"); + +task.start({}, () => {}); +task.send("test-message"); +sub = task.on("test-message", () => {}); +task.terminate(); +task.cancel(); + +//// TextBuffer -- See 'text-buffer' testing. +//// TextEditor =============================================================== +// Event Subscription +sub = editor.onDidChangeTitle(title => str = title.charAt(0)); +sub = editor.onDidChangePath(path => str = path.charAt(0)); + +sub = editor.onDidChange(changes => { + for (const change of changes) { + change.newExtent; + change.oldExtent; + change.start; + } +}); + +sub = editor.onDidStopChanging(event => { + for (const change of event.changes) { + change.newExtent && change.oldExtent && change.newRange && change.oldRange && + change.newText && change.oldText && change.start; + } +}); + +sub = editor.onDidChangeCursorPosition(event => event.newBufferPosition); +sub = editor.onDidChangeSelectionRange(event => event.selection); +sub = editor.onDidSave(event => event.path); +sub = editor.onDidDestroy(() => {}); +sub = editor.observeGutters(gutter => gutter.show()); +sub = editor.onDidAddGutter(gutter => gutter.hide()); +sub = editor.onDidRemoveGutter(name => name.length); +sub = editor.onDidChangeSoftWrapped(softWrapped => {}); +sub = editor.onDidChangeEncoding(encoding => {}); +sub = editor.observeGrammar(grammar => grammar.name); +sub = editor.onDidChangeGrammar(grammar => grammar.scopeName); +sub = editor.onDidChangeModified(modified => {}); +sub = editor.onDidConflict(() => {}); +sub = editor.onWillInsertText(event => event.cancel && event.text); +sub = editor.onDidInsertText(event => event.text); +sub = editor.observeCursors(cursor => cursor.moveToBottom()); +sub = editor.onDidAddCursor(cursor => cursor.getMarker()); +sub = editor.onDidRemoveCursor(cursor => cursor.compare(cursor)); +sub = editor.observeSelections(selection => selection.cutToEndOfBufferLine()); +sub = editor.onDidAddSelection(selection => selection.selectWord()); +sub = editor.onDidRemoveSelection(selection => selection.toggleLineComments()); +sub = editor.observeDecorations(decoration => decoration.getId()); +sub = editor.onDidAddDecoration(decoration => decoration.id); +sub = editor.onDidRemoveDecoration(decoration => decoration.getId()); +sub = editor.onDidChangePlaceholderText(placeholderText => + placeholderText.toLowerCase()); +buffer = editor.getBuffer(); + +// File Details +str = editor.getTitle(); +str = editor.getLongTitle(); + +const filePath = editor.getPath(); +if (filePath) { + str = filePath; +} + +bool = editor.isModified(); +bool = editor.isEmpty(); +str = editor.getEncoding(); +editor.setEncoding("utf8"); + +// File Operations +editor.save(); +editor.saveAs("test.file"); + +// Reading Text +str = editor.getText(); +str = editor.getTextInBufferRange(range); +num = editor.getLineCount(); +num = editor.getScreenLineCount(); +num = editor.getLastBufferRow(); +num = editor.getLastScreenRow(); +str = editor.lineTextForBufferRow(42); +str = editor.lineTextForScreenRow(42); +range = editor.getCurrentParagraphBufferRange(); + +// Mutating Text +editor.setText("Test"); + +editor.setTextInBufferRange(range, "Test"); +editor.setTextInBufferRange([pos, pos], "Test"); +editor.setTextInBufferRange([pos, [0, 0]], "Test"); +editor.setTextInBufferRange([[0, 0], pos], "Test"); +editor.setTextInBufferRange([[0, 0], [0, 0]], "Test"); +editor.setTextInBufferRange(range, "Test", {}); +editor.setTextInBufferRange([pos, pos], "Test", { normalizeLineEndings: true }); +editor.setTextInBufferRange(range, "Test", { normalizeLineEndings: true, + undo: "skip" }); + +editor.insertText("Test"); +editor.insertText("Test", {}); +editor.insertText("Test", { autoDecreaseIndent: true }); +editor.insertText("Test", { autoIndent: true }); +editor.insertText("Test", { autoIndentNewline: true }); +editor.insertText("Test", { normalizeLineEndings: true }); +editor.insertText("Test", { select: true }); +editor.insertText("Test", { undo: "skip" }); +editor.insertText("Text", { autoDecreaseIndent: false, autoIndent: false, + autoIndentNewline: false, normalizeLineEndings: false, select: false, undo: "skip" }); + +editor.insertNewline(); +editor.delete(); +editor.backspace(); +editor.mutateSelectedText((selection, index) => { selection.clear(); }); +editor.transpose(); +editor.upperCase(); +editor.lowerCase(); +editor.toggleLineCommentsInSelection(); +editor.insertNewlineBelow(); +editor.insertNewlineAbove(); +editor.deleteToBeginningOfWord(); +editor.deleteToPreviousWordBoundary(); +editor.deleteToNextWordBoundary(); +editor.deleteToBeginningOfSubword(); +editor.deleteToEndOfSubword(); +editor.deleteToBeginningOfLine(); +editor.deleteToEndOfLine(); +editor.deleteToEndOfWord(); +editor.deleteLine(); + +// History +editor.undo(); +editor.redo(); + +editor.transact(() => {}); +editor.transact(42, () => {}); + +editor.abortTransaction(); +num = editor.createCheckpoint(); +bool = editor.revertToCheckpoint(42); +bool = editor.groupChangesSinceCheckpoint(42); + +// TextEditor Coordinates +pos = editor.screenPositionForBufferPosition(pos); +pos = editor.screenPositionForBufferPosition([0, 0]); +pos = editor.screenPositionForBufferPosition(pos, {}); +pos = editor.screenPositionForBufferPosition(pos, { clipDirection: "backward" }); +pos = editor.screenPositionForBufferPosition([0, 0], { clipDirection: "forward" }); + +pos = editor.bufferPositionForScreenPosition(pos); +pos = editor.bufferPositionForScreenPosition([0, 0]); +pos = editor.bufferPositionForScreenPosition(pos, {}); +pos = editor.bufferPositionForScreenPosition(pos, { clipDirection: "backward" }); +pos = editor.bufferPositionForScreenPosition([0, 0], { clipDirection: "forward" }); + +range = editor.screenRangeForBufferRange(range); +range = editor.screenRangeForBufferRange([pos, pos]); +range = editor.screenRangeForBufferRange([pos, [0, 0]]); +range = editor.screenRangeForBufferRange([[0, 0], pos]); +range = editor.screenRangeForBufferRange([[0, 0], [0, 0]]); + +range = editor.bufferRangeForScreenRange(range); +range = editor.bufferRangeForScreenRange([pos, pos]); +range = editor.bufferRangeForScreenRange([pos, [0, 0]]); +range = editor.bufferRangeForScreenRange([[0, 0], pos]); +range = editor.bufferRangeForScreenRange([[0, 0], [0, 0]]); + +pos = editor.clipBufferPosition(pos); +pos = editor.clipBufferPosition([0, 0]); + +range = editor.clipBufferRange(range); +range = editor.clipBufferRange([pos, pos]); +range = editor.clipBufferRange([pos, [0, 0]]); +range = editor.clipBufferRange([[0, 0], pos]); +range = editor.clipBufferRange([[0, 0], [0, 0]]); + +pos = editor.clipScreenPosition(pos); +pos = editor.clipScreenPosition([0, 0]); +pos = editor.clipScreenPosition(pos, {}); +pos = editor.clipScreenPosition(pos, { clipDirection: "closest" }); +pos = editor.clipScreenPosition([0, 0], { clipDirection: "closest" }); + +range = editor.clipScreenRange(range); +range = editor.clipScreenRange([pos, pos]); +range = editor.clipScreenRange([pos, [0, 0]]); +range = editor.clipScreenRange([[0, 0], pos]); +range = editor.clipScreenRange([[0, 0], [0, 0]]); +range = editor.clipScreenRange(range, {}); +range = editor.clipScreenRange(range, { clipDirection: "closest" }); +range = editor.clipScreenRange([pos, pos], { clipDirection: "closest" }); + +// Decorations +decoration = editor.decorateMarker(displayMarker, { type: "line" }); +decoration = editor.decorateMarker(displayMarker, { type: "line", avoidOverflow: true, + class: "test-class", gutterName: "gutterName", item: element, onlyEmpty: true, + onlyHead: true, onlyNonEmpty: true, position: "before" }); + +layerDecoration = editor.decorateMarkerLayer(displayMarkerLayer, { type: "line-number" }); +layerDecoration = editor.decorateMarkerLayer(displayMarkerLayer, { type: "line-number", + avoidOverflow: false, class: "test-class", item: element, onlyEmpty: false, onlyHead: false, + onlyNonEmpty: false, position: "after" }); + +decorations = editor.getDecorations(); +decorations = editor.getDecorations({}); +decorations = editor.getDecorations({ type: "line-number" }); +decorations = editor.getDecorations({ type: "line", avoidOverflow: true, + class: "test-class", gutterName: "gutterName", item: element, onlyEmpty: true, + onlyHead: true, onlyNonEmpty: true, position: "before" }); + +decorations = editor.getLineDecorations(); +decorations = editor.getLineDecorations({}); +decorations = editor.getLineDecorations({ avoidOverflow: true }); +decorations = editor.getLineDecorations({ avoidOverflow: true, class: "test-class", + item: element, onlyEmpty: true, onlyHead: true, onlyNonEmpty: true, + position: "before" }); + +decorations = editor.getLineNumberDecorations(); +decorations = editor.getLineNumberDecorations({}); +decorations = editor.getLineNumberDecorations({ onlyHead: true }); +decorations = editor.getLineNumberDecorations({ avoidOverflow: true, + class: "test-class", gutterName: "gutterName", item: element, onlyEmpty: true, + onlyHead: true, onlyNonEmpty: true, position: "before" }); + +decorations = editor.getHighlightDecorations(); +decorations = editor.getHighlightDecorations({}); +decorations = editor.getHighlightDecorations({ onlyHead: true }); +decorations = editor.getHighlightDecorations({ avoidOverflow: true, + class: "test-class", item: element, onlyEmpty: true, onlyHead: true, onlyNonEmpty: true, + position: "before" }); + +decorations = editor.getOverlayDecorations(); +decorations = editor.getOverlayDecorations({}); +decorations = editor.getOverlayDecorations({ onlyHead: true }); +decorations = editor.getOverlayDecorations({ avoidOverflow: true, + class: "test-class", item: element, onlyEmpty: true, onlyHead: true, onlyNonEmpty: true, + position: "before" }); + +// Markers +displayMarker = editor.markBufferRange(range); +displayMarker = editor.markBufferRange([pos, pos]); +displayMarker = editor.markBufferRange([pos, [0, 0]]); +displayMarker = editor.markBufferRange([[0, 0], pos]); +displayMarker = editor.markBufferRange([[0, 0], [0, 0]]); +displayMarker = editor.markBufferRange(range, {}); +displayMarker = editor.markBufferRange(range, { invalidate: "surround" }); +displayMarker = editor.markBufferRange(range, { maintainHistory: true }); +displayMarker = editor.markBufferRange(range, { reversed: true }); +displayMarker = editor.markBufferRange([[0, 0], [0, 0]], { invalidate: "overlap" }); +displayMarker = editor.markBufferRange(range, { invalidate: "surround", + maintainHistory: false, reversed: false }); + +displayMarker = editor.markBufferPosition(pos); +displayMarker = editor.markBufferPosition([0, 0]); +displayMarker = editor.markBufferPosition(pos, {}); +displayMarker = editor.markBufferPosition(pos, { invalidate: "never" }); +displayMarker = editor.markBufferPosition([0, 0], { invalidate: "surround" }); + +displayMarker = editor.markScreenPosition(pos); +displayMarker = editor.markScreenPosition([0, 0]); +displayMarker = editor.markScreenPosition(pos, {}); +displayMarker = editor.markScreenPosition(pos, { invalidate: "never" }); +displayMarker = editor.markScreenPosition(pos, { clipDirection: "forward" }); +displayMarker = editor.markScreenPosition([0, 0], { invalidate: "surround", + clipDirection: "backward" }); + +displayMarkers = editor.findMarkers({ startBufferRow: 42 }); +displayMarkers = editor.findMarkers({ endBufferRow: 42 }); +displayMarkers = editor.findMarkers({ containsBufferRange: range }); +displayMarkers = editor.findMarkers({ containsBufferRange: [pos, pos] }); +displayMarkers = editor.findMarkers({ containsBufferRange: [pos, [0, 0]] }); +displayMarkers = editor.findMarkers({ containsBufferRange: [[0, 0], pos] }); +displayMarkers = editor.findMarkers({ containsBufferRange: [[0, 0], [0, 0]] }); +displayMarkers = editor.findMarkers({ containsBufferPosition: pos }); +displayMarkers = editor.findMarkers({ containsBufferPosition: [42, 42] }); +displayMarkers = editor.findMarkers({ + startBufferPosition: pos, + endBufferPosition: pos, + startScreenPosition: pos, + endScreenPosition: pos, + startsInBufferRange: range, + endsInBufferRange: range, + startsInScreenRange: range, + endsInScreenRange: range, + startBufferRow: 42, + endBufferRow: 42, + startScreenRow: 42, + endScreenRow: 42, + intersectsBufferRowRange: [42, 42], + intersectsScreenRowRange: [42, 42], + containsBufferRange: range, + containsBufferPosition: pos, + containedInBufferRange: range, + containedInScreenRange: range, + intersectsBufferRange: range, + intersectsScreenRange: range, +}); + +displayMarkerLayer = editor.addMarkerLayer(); +displayMarkerLayer = editor.addMarkerLayer({}); +displayMarkerLayer = editor.addMarkerLayer({ maintainHistory: true }); +displayMarkerLayer = editor.addMarkerLayer({ persistent: true }); +displayMarkerLayer = editor.addMarkerLayer({ maintainHistory: true, persistent: true }); + +const potentialMarkerLayer = editor.getMarkerLayer(42); +if (potentialMarkerLayer) { + displayMarkerLayer = potentialMarkerLayer; +} + +displayMarkerLayer = editor.getDefaultMarkerLayer(); +displayMarker = editor.getMarker(42); +displayMarkers = editor.getMarkers(); +num = editor.getMarkerCount(); + +// Cursors +pos = editor.getCursorBufferPosition(); +posArr = editor.getCursorBufferPositions(); + +editor.setCursorBufferPosition(pos); +editor.setCursorBufferPosition(pos, {}); +editor.setCursorBufferPosition(pos, { autoscroll: true }); +editor.setCursorBufferPosition([0, 0], { autoscroll: true }); + +let potentialCursor = editor.getCursorAtScreenPosition(pos); +if (potentialCursor) { + cursor = potentialCursor; +} + +potentialCursor = editor.getCursorAtScreenPosition([0, 0]); +if (potentialCursor) { + cursor = potentialCursor; +} + +pos = editor.getCursorScreenPosition(); +posArr = editor.getCursorScreenPositions(); + +editor.setCursorScreenPosition(pos); +editor.setCursorScreenPosition([0, 0]); +editor.setCursorScreenPosition(pos, {}); +editor.setCursorBufferPosition(pos, { autoscroll: true }); + +cursor = editor.addCursorAtBufferPosition(pos); +cursor = editor.addCursorAtBufferPosition([0, 0]); + +cursor = editor.addCursorAtScreenPosition(pos); +cursor = editor.addCursorAtScreenPosition([0, 0]); + +bool = editor.hasMultipleCursors(); + +editor.moveUp(); +editor.moveUp(42); + +editor.moveDown(); +editor.moveDown(42); + +editor.moveLeft(); +editor.moveLeft(42); + +editor.moveRight(); +editor.moveRight(42); + +editor.moveToBeginningOfLine(); +editor.moveToBeginningOfScreenLine(); +editor.moveToFirstCharacterOfLine(); +editor.moveToEndOfLine(); +editor.moveToEndOfScreenLine(); +editor.moveToBeginningOfWord(); +editor.moveToEndOfWord(); +editor.moveToTop(); +editor.moveToBottom(); +editor.moveToBeginningOfNextWord(); +editor.moveToPreviousWordBoundary(); +editor.moveToNextWordBoundary(); +editor.moveToPreviousSubwordBoundary(); +editor.moveToNextSubwordBoundary(); +editor.moveToBeginningOfNextParagraph(); +editor.moveToBeginningOfPreviousParagraph(); +cursor = editor.getLastCursor(); + +str = editor.getWordUnderCursor(); +str = editor.getWordUnderCursor({}); +str = editor.getWordUnderCursor({ allowPrevious: true }); +str = editor.getWordUnderCursor({ includeNonWordCharacters: true }); +str = editor.getWordUnderCursor({ wordRegex: /r/ }); +str = editor.getWordUnderCursor({ allowPrevious: true, includeNonWordCharacters: true, + wordRegex: /r/ }); + +cursors = editor.getCursors(); +cursors = editor.getCursorsOrderedByBufferPosition(); + +// Selections +str = editor.getSelectedText(); +range = editor.getSelectedBufferRange(); +ranges = editor.getSelectedBufferRanges(); + +editor.setSelectedBufferRange(range); +editor.setSelectedBufferRange(range, {}); +editor.setSelectedBufferRange(range, { preserveFolds: true }); +editor.setSelectedBufferRange(range, { reversed: true }); +editor.setSelectedBufferRange(range, { preserveFolds: true, reversed: true }); +editor.setSelectedBufferRange([pos, pos]); +editor.setSelectedBufferRange([pos, [0, 0]]); +editor.setSelectedBufferRange([[0, 0], pos]); +editor.setSelectedBufferRange([[0, 0], [0, 0]]); + +editor.setSelectedBufferRanges(ranges); +editor.setSelectedBufferRanges([[pos, pos]]); +editor.setSelectedBufferRanges([[pos, [0, 0]]]); +editor.setSelectedBufferRanges([[[0, 0], pos]]); +editor.setSelectedBufferRanges([[[0, 0], [0, 0]]]); +editor.setSelectedBufferRanges(ranges, {}); +editor.setSelectedBufferRanges([[pos, pos]], {}); +editor.setSelectedBufferRanges(ranges, { reversed: true }); +editor.setSelectedBufferRanges([[pos, pos]], { preserveFolds: true }); +editor.setSelectedBufferRanges([[pos, pos]], { reversed: true, preserveFolds: true }); + +range = editor.getSelectedScreenRange(); +ranges = editor.getSelectedScreenRanges(); + +editor.setSelectedScreenRange(range); +editor.setSelectedScreenRange([pos, pos]); +editor.setSelectedScreenRange([pos, [0, 0]]); +editor.setSelectedScreenRange([[0, 0], pos]); +editor.setSelectedScreenRange([[0, 0], [0, 0]]); +editor.setSelectedScreenRange(range, {}); +editor.setSelectedScreenRange([pos, pos], {}); +editor.setSelectedScreenRange(range, { reversed: true }); +editor.setSelectedScreenRange([pos, pos], { reversed: true }); + +editor.setSelectedScreenRanges(ranges); +editor.setSelectedScreenRanges([[pos, pos]]); +editor.setSelectedScreenRanges([[pos, [0, 0]]]); +editor.setSelectedScreenRanges([[[0, 0], pos]]); +editor.setSelectedScreenRanges([[[0, 0], [0, 0]]]); +editor.setSelectedScreenRanges(ranges, {}); +editor.setSelectedScreenRanges([[pos, pos]], {}); +editor.setSelectedScreenRanges(ranges, { reversed: true }); +editor.setSelectedScreenRanges([[pos, pos]], { reversed: true }); + +selection = editor.addSelectionForBufferRange(range); +selection = editor.addSelectionForBufferRange([pos, pos]); +selection = editor.addSelectionForBufferRange([pos, [0, 0]]); +selection = editor.addSelectionForBufferRange([[0, 0], pos]); +selection = editor.addSelectionForBufferRange([[0, 0], [0, 0]]); +selection = editor.addSelectionForBufferRange(range, {}); +selection = editor.addSelectionForBufferRange(range, { preserveFolds: true }); +selection = editor.addSelectionForBufferRange(range, { reversed: true }); +selection = editor.addSelectionForBufferRange(range, { preserveFolds: false, + reversed: false }); +selection = editor.addSelectionForBufferRange([pos, pos], { preserveFolds: false }); + +selection = editor.addSelectionForScreenRange(range); +selection = editor.addSelectionForScreenRange([pos, pos]); +selection = editor.addSelectionForScreenRange([pos, [0, 0]]); +selection = editor.addSelectionForScreenRange([[0, 0], pos]); +selection = editor.addSelectionForScreenRange([[0, 0], [0, 0]]); +selection = editor.addSelectionForScreenRange(range, {}); +selection = editor.addSelectionForScreenRange(range, { preserveFolds: true }); +selection = editor.addSelectionForScreenRange(range, { reversed: true }); +selection = editor.addSelectionForScreenRange(range, { preserveFolds: false, + reversed: false }); +selection = editor.addSelectionForScreenRange([pos, pos], { preserveFolds: false }); + +editor.selectToBufferPosition(pos); +editor.selectToScreenPosition(pos); + +editor.selectUp(); +editor.selectUp(42); + +editor.selectDown(); +editor.selectDown(42); + +editor.selectLeft(); +editor.selectLeft(42); + +editor.selectRight(); +editor.selectRight(42); + +editor.selectToTop(); +editor.selectToBottom(); +editor.selectAll(); +editor.selectToBeginningOfLine(); +editor.selectToFirstCharacterOfLine(); +editor.selectToEndOfLine(); +editor.selectToBeginningOfWord(); +editor.selectToEndOfWord(); +editor.selectLinesContainingCursors(); +editor.selectWordsContainingCursors(); +editor.selectToPreviousSubwordBoundary(); +editor.selectToNextSubwordBoundary(); +editor.selectToPreviousWordBoundary(); +editor.selectToNextWordBoundary(); +editor.selectToBeginningOfNextWord(); +editor.selectToBeginningOfNextParagraph(); +editor.selectToBeginningOfPreviousParagraph(); + +const potentialRange = editor.selectMarker(displayMarker); +if (potentialRange) { + range = potentialRange; +} + +selection = editor.getLastSelection(); +selections = editor.getSelections(); +selections = editor.getSelectionsOrderedByBufferPosition(); +bool = editor.selectionIntersectsBufferRange(range); // not range-compatible + +// Searching and Replacing +editor.scan(/r/, params => { + num = params.match.index; + str = params.matchText; + range = params.range; + params.replace("Test"); + params.stop(); +}); + +editor.scan(/r/, {}, () => {}); +editor.scan(/r/, { leadingContextLineCount: 42 }, () => {}); +editor.scan(/r/, { trailingContextLineCount: 42 }, () => {}); +editor.scan(/r/, { leadingContextLineCount: 42, trailingContextLineCount: 42 }, + () => {}); + +editor.scanInBufferRange(/r/, range, () => {}); +editor.scanInBufferRange(/r/, [pos, pos], () => {}); +editor.scanInBufferRange(/r/, [pos, [0, 0]], () => {}); +editor.scanInBufferRange(/r/, [[0, 0], pos], () => {}); +editor.scanInBufferRange(/r/, [[0, 0], [0, 0]], () => {}); +editor.scanInBufferRange(/r/, range, params => { + num = params.match.index; + str = params.matchText; + range = params.range; + params.replace("Test"); + params.stop(); +}); + +editor.backwardsScanInBufferRange(/r/, range, () => {}); +editor.backwardsScanInBufferRange(/r/, [pos, pos], () => {}); +editor.backwardsScanInBufferRange(/r/, [pos, [0, 0]], () => {}); +editor.backwardsScanInBufferRange(/r/, [[0, 0], pos], () => {}); +editor.backwardsScanInBufferRange(/r/, [[0, 0], [0, 0]], () => {}); +editor.backwardsScanInBufferRange(/r/, range, params => { + num = params.match.index; + str = params.matchText; + range = params.range; + params.replace("Test"); + params.stop(); +}); + +// Tab Behavior +bool = editor.getSoftTabs(); +editor.setSoftTabs(true); +bool = editor.toggleSoftTabs(); +num = editor.getTabLength(); +editor.setTabLength(42); + +const potentialBool = editor.usesSoftTabs(); +if (potentialBool) { + bool = potentialBool; +} + +str = editor.getTabText(); + +// Soft Wrap Behavior +bool = editor.isSoftWrapped(); +editor.setSoftWrapped(true); +bool = editor.toggleSoftWrapped(); +num = editor.getSoftWrapColumn(); + +// Indentation +num = editor.indentationForBufferRow(42); + +editor.setIndentationForBufferRow(42, 42); +editor.setIndentationForBufferRow(42, 42, {}); +editor.setIndentationForBufferRow(42, 42, { preserveLeadingWhitespace: true }); + +editor.indentSelectedRows(); +editor.outdentSelectedRows(); +num = editor.indentLevelForLine("Test"); +editor.autoIndentSelectedRows(); + +// Grammars +grammar = editor.getGrammar(); +editor.setGrammar(grammar); + +// Managing Syntax Scopes +scopeDescriptor = editor.getRootScopeDescriptor(); + +scopeDescriptor = editor.scopeDescriptorForBufferPosition(pos); +scopeDescriptor = editor.scopeDescriptorForBufferPosition([0, 0]); + +range = editor.bufferRangeForScopeAtCursor("selector"); +bool = editor.isBufferRowCommented(42); + +// Clipboard Operations +editor.copySelectedText(); +editor.cutSelectedText(); + +editor.pasteText(); +editor.pasteText({}); +editor.pasteText({ autoIndentNewline: true }); +editor.pasteText({ autoIndent: true }); +editor.pasteText({ autoDecreaseIndent: true }); +editor.pasteText({ normalizeLineEndings: true }); +editor.pasteText({ select: true }); +editor.pasteText({ undo: "skip" }); +editor.pasteText({ autoIndentNewline: true, autoIndent: true, autoDecreaseIndent: true, + normalizeLineEndings: true, select: true, undo: "skip" }); + +editor.cutToEndOfLine(); +editor.cutToEndOfBufferLine(); + +// Folds +editor.foldCurrentRow(); +editor.unfoldCurrentRow(); +editor.foldBufferRow(42); +editor.unfoldBufferRow(42); +editor.foldSelectedLines(); +editor.foldAll(); +editor.unfoldAll(); +editor.foldAllAtIndentLevel(42); +editor.isFoldableAtBufferRow(42); +editor.isFoldableAtScreenRow(42); +editor.toggleFoldAtBufferRow(42); +editor.isFoldedAtCursorRow(); +editor.isFoldedAtBufferRow(42); +editor.isFoldedAtScreenRow(42); + +// Gutters +editor.addGutter({ name: "Test" }); +editor.addGutter({ name: "Test", priority: 42 }); +editor.addGutter({ name: "Test", visible: true }); +editor.addGutter({ name: "Test", priority: 42, visible: true }); + +gutters = editor.getGutters(); + +const potentialGutter = editor.gutterWithName("test-gutter"); +if (potentialGutter) { + gutter = potentialGutter; +} + +editor.scrollToCursorPosition(); +editor.scrollToCursorPosition({}); +editor.scrollToCursorPosition({ center: true }); + +editor.scrollToBufferPosition(pos); +editor.scrollToBufferPosition([0, 0]); +editor.scrollToBufferPosition(pos, {}); +editor.scrollToBufferPosition([0, 0], {}); +editor.scrollToBufferPosition(pos, { center: true }); +editor.scrollToBufferPosition([0, 0], { center: true }); + +editor.scrollToScreenPosition(pos); +editor.scrollToScreenPosition([0, 0]); +editor.scrollToScreenPosition(pos, {}); +editor.scrollToScreenPosition([0, 0], {}); +editor.scrollToScreenPosition(pos, { center: true }); +editor.scrollToScreenPosition([0, 0], { center: true }); + +// TextEditor Rendering +str = editor.getPlaceholderText(); +editor.setPlaceholderText("Test"); + +//// ThemeManager ============================================================= +// Event Subscription +sub = atom.themes.onDidChangeActiveThemes(() => {}); + +// Accessing Loaded Themes +let potentialStrs = atom.themes.getLoadedThemeNames(); +if (potentialStrs) { + strs = potentialStrs; +} + +let potentialPacks = atom.themes.getLoadedThemes(); +if (potentialPacks) { + packs = potentialPacks; +} + +// Accessing Active Themes +potentialStrs = atom.themes.getActiveThemeNames(); +if (potentialStrs) { + strs = potentialStrs; +} + +potentialPacks = atom.themes.getActiveThemes(); +if (potentialPacks) { + packs = potentialPacks; +} + +// Managing Enabled Themes +strs = atom.themes.getEnabledThemeNames(); + +//// TooltipManager =========================================================== +sub = atom.tooltips.add(element, { title: "Test"}); +sub = atom.tooltips.add(element, { title: "

Test

", html: true }); +sub = atom.tooltips.add(element, { item: element}); +sub = atom.tooltips.add(element, { class: "test-class" }); +sub = atom.tooltips.add(element, { placement: "top" }); + +sub = atom.tooltips.add(element, { placement: () => "left" }); + +sub = atom.tooltips.add(element, { trigger: "click" }); +sub = atom.tooltips.add(element, { delay: { hide: 42, show: 42 }}); +sub = atom.tooltips.add(element, { keyBindingCommand: "test-command", + keyBindingTarget: element }); + +tooltips = atom.tooltips.findTooltips(element); + +//// ViewRegistry ============================================================= +atom.views.addViewProvider(Point, (point) => { + point.column; + return element; +}); + +element = atom.views.getView(element); + +//// Workspace ================================================================ +// Event Subscription +sub = atom.workspace.observeTextEditors(editor => editor.id); +sub = atom.workspace.observePaneItems((item) => {}); +sub = atom.workspace.onDidChangeActivePaneItem((item) => {}); +sub = atom.workspace.onDidStopChangingActivePaneItem((item) => {}); + +sub = atom.workspace.onDidChangeActiveTextEditor(editor => { + if (editor) { + editor.alive; + } +}); + +sub = atom.workspace.observeActivePaneItem((item) => {}); + +sub = atom.workspace.observeActiveTextEditor(editor => { + if (editor) { + editor.id; + } +}); + +sub = atom.workspace.onDidOpen(event => event.index && event.item && event.pane && + event.uri); +sub = atom.workspace.onDidAddPane(event => event.pane); +sub = atom.workspace.onWillDestroyPane(event => event.pane); +sub = atom.workspace.onDidDestroyPane(event => event.pane); +sub = atom.workspace.observePanes(pane => pane.activate()); +sub = atom.workspace.onDidChangeActivePane(pane => pane.activate()); +sub = atom.workspace.observeActivePane(pane => pane.activate()); +sub = atom.workspace.onDidAddPaneItem(event => event.index && event.item && event.pane); +sub = atom.workspace.onWillDestroyPaneItem(event => event.index && event.item && event.pane); +sub = atom.workspace.onDidDestroyPaneItem(event => event.index && event.item && event.pane); +sub = atom.workspace.onDidAddTextEditor(event => event.index && event.pane && + event.textEditor); + +// Opening +async function workspaceOpen() { + obj = await atom.workspace.open(); + obj = await atom.workspace.open("https://test"); + obj = await atom.workspace.open("https://test", { activateItem: true }); + obj = await atom.workspace.open("https://test", { activatePane: true }); + obj = await atom.workspace.open("https://test", { initialColumn: 42 }); + obj = await atom.workspace.open("https://test", { initialLine: 42 }); + obj = await atom.workspace.open("https://test", { location: "right" }); + obj = await atom.workspace.open("https://test", { split: "up" }); + obj = await atom.workspace.open("https://test", { pending: true }); + obj = await atom.workspace.open("https://test", { searchAllPanes: true }); + obj = await atom.workspace.open("https://test", { + activateItem: true, + activatePane: true, + initialColumn: 42, + initialLine: 42, + location: "left", + split: "left", + pending: true, + searchAllPanes: true, + }); +} + +bool = atom.workspace.hide("https://test"); +bool = atom.workspace.hide(element); + +async function workspaceToggle() { + await atom.workspace.toggle("https://test"); + await atom.workspace.toggle(element); +} + +obj = atom.workspace.createItemForURI("https://test"); + +bool = atom.workspace.isTextEditor(obj); + +async function workspaceReopen() { + const result = await atom.workspace.reopenItem(); + if (result) obj = result; +} + +atom.workspace.addOpener(() => element); + +atom.workspace.buildTextEditor(obj); + +// Pane Items +objs = atom.workspace.getPaneItems(); +obj = atom.workspace.getActivePaneItem(); +editors = atom.workspace.getTextEditors(); + +let potentialEditor = atom.workspace.getActiveTextEditor(); +if (potentialEditor) { + editor = potentialEditor; +} + +// Panes +paneContainer = atom.workspace.getActivePaneContainer(); +panes = atom.workspace.getPanes(); +pane = atom.workspace.getActivePane(); +bool = atom.workspace.activateNextPane(); +bool = atom.workspace.activatePreviousPane(); + +let potentialPaneContainer = atom.workspace.paneContainerForURI("https://test"); +if (potentialPaneContainer) { + paneContainer = potentialPaneContainer; +} + +potentialPaneContainer = atom.workspace.paneContainerForItem(element); +if (potentialPaneContainer) { + paneContainer = potentialPaneContainer; +} + +let potentialPane = atom.workspace.paneForURI("https://test"); +if (potentialPane) { + pane = potentialPane; +} + +potentialPane = atom.workspace.paneForItem(element); +if (potentialPane) { + pane = potentialPane; +} + +// Pane Locations +workspaceCenter = atom.workspace.getCenter(); +dock = atom.workspace.getLeftDock(); +dock = atom.workspace.getRightDock(); +dock = atom.workspace.getBottomDock(); + +// Panels +panels = atom.workspace.getBottomPanels(); + +panel = atom.workspace.addBottomPanel({ item: element }); +panel = atom.workspace.addBottomPanel({ item: element, priority: 100, visible: true }); + +panels = atom.workspace.getLeftPanels(); + +panel = atom.workspace.addLeftPanel({ item: element }); +panel = atom.workspace.addLeftPanel({ item: element, priority: 100, visible: true }); + +panels = atom.workspace.getRightPanels(); + +panel = atom.workspace.addRightPanel({ item: element }); +panel = atom.workspace.addRightPanel({ item: element, priority: 100, visible: true }); + +panels = atom.workspace.getTopPanels(); + +panel = atom.workspace.addTopPanel({ item: element }); +panel = atom.workspace.addTopPanel({ item: element, priority: 100, visible: true }); + +panels = atom.workspace.getHeaderPanels(); + +panel = atom.workspace.addHeaderPanel({ item: element }); +panel = atom.workspace.addHeaderPanel({ item: element, priority: 100, visible: true }); + +panels = atom.workspace.getFooterPanels(); + +panel = atom.workspace.addFooterPanel({ item: element }); +panel = atom.workspace.addFooterPanel({ item: element, priority: 100, visible: true }); + +panels = atom.workspace.getModalPanels(); + +panel = atom.workspace.addModalPanel({ item: element }); +panel = atom.workspace.addModalPanel({ item: element, priority: 100, visible: true }); + +const potentialPanel = atom.workspace.panelForItem(element); +if (potentialPanel) { + panel = potentialPanel; +} + +const scanResults = atom.workspace.scan(/r/, () => {}); +scanResults.cancel(); + +// Searching and Replacing +async function workspaceScan() { + await scanResults; + + const scanOptions = { + onPathsSearched: (pathsSearched: number) => {}, + leadingContextLineCount: 5, + trailingContextLineCount: 5, + paths: ["a"], + }; + await atom.workspace.scan(/r/, scanOptions, (results) => { + str = results.filePath; + for (const match of results.matches) { + range = Range.fromObject(match.range); + strs = match.leadingContextLines; + strs = match.trailingContextLines; + } + }); +} + +async function workspaceReplace() { + await atom.workspace.replace(/r/, "Test", ["a"], (options) => {}); +} + +//// WorkspaceCenter ========================================================== +// Event Subscription +sub = workspaceCenter.observeTextEditors(editor => editor.id); +sub = workspaceCenter.observePaneItems(item => {}); +sub = workspaceCenter.onDidChangeActivePaneItem(item => {}); +sub = workspaceCenter.onDidStopChangingActivePaneItem(item => {}); +sub = workspaceCenter.observeActivePaneItem(item => {}); + +// Pane Items +objs = workspaceCenter.getPaneItems(); +workspaceCenter.getActivePaneItem(); +editors = workspaceCenter.getTextEditors(); + +potentialEditor = workspaceCenter.getActiveTextEditor(); +if (potentialEditor) { + editor = potentialEditor; +} + +// Panes +panes = workspaceCenter.getPanes(); +pane = workspaceCenter.getActivePane(); +workspaceCenter.activateNextPane(); +workspaceCenter.activatePreviousPane(); diff --git a/types/atom/index.d.ts b/types/atom/index.d.ts index 1cd7090403..77e174d138 100644 --- a/types/atom/index.d.ts +++ b/types/atom/index.d.ts @@ -1,1977 +1,4147 @@ -// Type definitions for Atom -// Project: https://atom.io/ -// Definitions by: vvakame , smhxx +// Type definitions for Atom 1.20 +// Project: https://github.com/atom/atom +// Definitions by: GlenCFL // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 +/// +/// /// -/// -/// -/// +/// +/// +/// /// -/// -// Policy: this definition file only declare element related to `atom`. -// if js file include to another npm package (e.g. "space-pen", "mixto" and "emissary"). -// you should create a separate file. +declare global { + /** The core classes for the Atom Text Editor. */ + namespace AtomCore { + /** Objects that appear as parameters to callbacks. */ + namespace Events { + interface ExceptionThrown { + originalError: Error; + message: string; + url: string; + line: number; + column: number; + } -// API documentation : https://atom.io/docs/api/v1.20.1 + interface PreventableExceptionThrown extends ExceptionThrown { + preventDefault(): void; + } -interface Window { - atom: AtomCore.IAtom; - measure(description:string, fn:Function):any; // return fn result - profile(description:string, fn:Function):any; // return fn result -} + interface SelectionChanged { + oldBufferRange: TextBuffer.Range; + oldScreenRange: TextBuffer.Range; + newBufferRange: TextBuffer.Range; + newScreenRange: TextBuffer.Range; + selection: Selection; + } -declare namespace AtomCore { + interface PaneItemObserved { + item: object; + pane: Pane; + index: number; + } - // https://atom.io/docs/v0.84.0/advanced/view-system - interface IWorkspaceViewStatic { - new ():IWorkspaceView; - version: number; - configDefaults:any; - content():any; - } + interface PaneItemOpened extends PaneItemObserved { + uri: string; + } - interface Decoration { - destroy(): void; - } + interface EditorChanged { + /** A Point representing where the change started. */ + start: TextBuffer.Point; - /** - * Represents a buffer annotation that remains logically stationary even as the buffer changes. This is used - * to represent cursors, folds, snippet targets, misspelled words, any anything else that needs to track a - * logical location in the buffer over time. - */ - interface Marker { - /** - * Destroys the marker, causing it to emit the 'destroyed' event. Once destroyed, a marker cannot be - * restored by undo/redo operations. + /** A Point representing the replaced extent. */ + oldExtent: TextBuffer.Point; + + /** A Point representing the replacement extent. */ + newExtent: TextBuffer.Point; + } + + interface StyleElementObserved extends HTMLStyleElement { + sourcePath: string; + context: string; + } + + interface TextEditorObserved { + textEditor: TextEditor; + pane: Pane; + index: number; + } + + interface RepoStatusChanged { + path: string; + + /** This value can be passed to ::isStatusModified or ::isStatusNew to get more + * information. + */ + pathStatus: number; + } + + interface PaneListItemShifted { + /** The pane item that was added or removed. */ + item: object; + + /** A number indicating where the item is located. */ + index: number; + } + + interface PaneItemMoved { + /** The removed pane item. */ + item: object; + + /** A number indicating where the item was located. */ + oldIndex: number; + + /** A number indicating where the item is now located. */ + newIndex: number; + } + + interface CursorPositionChanged { + oldBufferPosition: TextBuffer.Point; + oldScreenPosition: TextBuffer.Point; + newBufferPosition: TextBuffer.Point; + newScreenPosition: TextBuffer.Point; + textChanged: boolean; + Cursor: Cursor; + } + + interface DecorationPropsChanged { + /** Object the old parameters the decoration used to have. */ + oldProperties: Structures.DecorationProps; + + /** Object the new parameters the decoration now has */ + newProperties: Structures.DecorationProps; + } + } + + /** Objects that appear as parameters to functions. */ + namespace Options { + interface TextInsertion { + select?: boolean; + autoIndent?: boolean; + autoIndentNewline?: boolean; + autoDecreaseIndent?: boolean; + normalizeLineEndings?: boolean; + undo?: "skip"; + } + + interface Menu { + /** The menu itme's label. */ + label: string; + + /** An array of sub menus. */ + submenu?: ReadonlyArray; + + /** The command to trigger when the item is clicked. */ + command?: string; + } + + interface ContextMenu { + /** The menu item's label. */ + label?: string; + + /** The command to invoke on the target of the right click that invoked the + * context menu. + */ + command?: string; + + /** Whether the menu item should be clickable. Disabled menu items typically + * appear grayed out. Defaults to true. + */ + enabled?: boolean; + + /** An array of additional items. */ + submenu?: ReadonlyArray; + + /** If you want to create a separator, provide an item with type: 'separator' + * and no other keys. + */ + type?: "separator"; + + /** Whether the menu item should appear in the menu. Defaults to true. */ + visible?: boolean; + + /** A function that is called on the item each time a context menu is created + * via a right click. + */ + created?(event: Event): void; + + /** A function that is called to determine whether to display this item on a + * given context menu deployment. + */ + shouldDisplay?(event: Event): void; + } + + interface SpawnProcess { + /** Current working directory of the child process. */ + cwd?: string; + + /** Environment key-value pairs. */ + env?: { [key: string]: string }; + + /** The child's stdio configuration. */ + stdio?: string|Array; + + /** Prepare child to run independently of its parent process. */ + detached?: boolean; + + /** Sets the user identity of the process. */ + uid?: number; + + /** Sets the group identity of the process. */ + gid?: number; + + /** If true, runs command inside of a shell. Uses "/bin/sh" on UNIX, and process.env.ComSpec + * on Windows. A different shell can be specified as a string. + */ + shell?: boolean | string; + } + + interface NodeProcess { + /** The command to execute. */ + command: string; + + /** The array of arguments to pass to the command. */ + args?: ReadonlyArray; + + /** The options object to pass to Node's ChildProcess.spawn method. */ + options?: SpawnProcess; + + /** The callback that receives a single argument which contains the standard + * output from the command. + */ + stdout?(data: string): void; + + /** The callback that receives a single argument which contains the standard + * error output from the command. + */ + stderr?(data: string): void; + + /** The callback which receives a single argument containing the exit status. */ + exit?(code: number): void; + } + + interface Process extends NodeProcess { + /** Whether the command will automatically start when this BufferedProcess is + * created. + */ + autoStart?: boolean; + } + + interface Notification { + buttons?: Array<{ + className?: string; + onDidClick?(event: MouseEvent): void; + text?: string; + }>; + description?: string; + detail?: string; + dismissable?: boolean; + icon?: string; + } + + interface ErrorNotification extends Notification { + stack?: string; + } + + /** The options for a Bootstrap 3 Tooltip class, which Atom uses a variant of. */ + interface Tooltip { + /** Apply a CSS fade transition to the tooltip. */ + animation?: boolean; + + /** Appends the tooltip to a specific element. */ + container?: string|HTMLElement|false; + + /** Delay showing and hiding the tooltip (ms) - does not apply to manual + * trigger type. + */ + delay?: number|{ show: number, hide: number }; + + /** Allow HTML in the tooltip. */ + html?: boolean; + + /** How to position the tooltip. */ + placement?: "top"|"bottom"|"left"|"right"|"auto"; + + /** If a selector is provided, tooltip objects will be delegated to the + * specified targets. + */ + selector?: string; + + /** Base HTML to use when creating the tooltip. */ + template?: string; + + /** Default title value if title attribute isn't present. + * If a function is given, it will be called with its this reference set to + * the element that the tooltip is attached to. + */ + title?: string|HTMLElement|(() => string); + + /** How tooltip is triggered - click | hover | focus | manual. + * You may pass multiple triggers; separate them with a space. + */ + trigger?: string; + } + + interface WorkspaceScan { + /** An array of glob patterns to search within. */ + paths?: ReadonlyArray; + + /** A function to be periodically called with the number of paths searched. */ + onPathsSearched?(pathsSearched: number): void; + + /** The number of lines before the matched line to include in the results object. */ + leadingContextLineCount?: number; + + /** The number of lines after the matched line to include in the results object. */ + trailingContextLineCount?: number; + } + } + + /** The static side to each exported class. Should generally only be used internally. */ + namespace Statics { + /* tslint:disable:no-unnecessary-qualifier */ + /** The static side to the BufferedProcess class. */ + interface BufferedProcess { + new (options: AtomCore.Options.Process): AtomCore.BufferedProcess; + } + + /** The static side to the BufferedNodeProcess class. */ + interface BufferedNodeProcess { + /** Runs the given Node script by spawning a new child process. */ + new (options: AtomCore.Options.NodeProcess): AtomCore.BufferedNodeProcess; + } + + /** The static side to the GitRepository class. */ + interface GitRepository { + /** Creates a new GitRepository instance. */ + open(path: string, options?: { refreshOnWindowFocus?: boolean }): AtomCore.GitRepository; + + new (path: string, options?: { refreshOnWindowFocus?: boolean, config?: AtomCore.Config, + project?: AtomCore.Project }): AtomCore.GitRepository; + } + + /** The static side to the Notification class. */ + interface Notification { + new (type: "warning"|"info"|"success", message: string, options?: + AtomCore.Options.Notification): AtomCore.Notification; + new (type: "fatal"|"error", message: string, options?: + AtomCore.Options.ErrorNotification): AtomCore.Notification; + } + + /** The static side to the Task class. */ + interface Task { + // NOTE: this is actually the best we can do here with the REST parameter for + // this appearing in the middle of the parameter list, which isn't aligned with + // the ES6 spec. Maybe when they rewrite it in JavaScript this will change. + /** A helper method to easily launch and run a task once. */ + once(taskPath: string, ...args: any[]): AtomCore.Task; + + /** Creates a task. You should probably use .once */ + new (taskPath: string): AtomCore.Task; + } + + /** The static side to the TextEditor class. */ + type TextEditor = object; + /* tslint:enable:no-unnecessary-qualifier */ + } + + /** Data structures that are used within classes. */ + namespace Structures { + interface SharedDecorationProps { + /** This CSS class will be applied to the decorated line number, line, highlight, + * or overlay. + */ + class?: string; + + /** An HTMLElement or a model Object with a corresponding view registered. Only + * applicable to the gutter, overlay and block types. + */ + item?: HTMLElement; + + /** If true, the decoration will only be applied to the head of the DisplayMarker. + * Only applicable to the line and line-number types. + */ + onlyHead?: boolean; + + /** If true, the decoration will only be applied if the associated DisplayMarker + * is empty. Only applicable to the gutter, line, and line-number types. + */ + onlyEmpty?: boolean; + + /** If true, the decoration will only be applied if the associated DisplayMarker + * is non-empty. Only applicable to the gutter, line, and line-number types. + */ + onlyNonEmpty?: boolean; + + /** Only applicable to decorations of type overlay and block. Controls where the + * view is positioned relative to the TextEditorMarker. Values can be + * 'head' (the default) or 'tail' for overlay decorations, and 'before' (the default) + * or 'after' for block decorations. + */ + position?: "head"|"tail"|"before"|"after"; + + /** Only applicable to decorations of type overlay. Determines whether the decoration + * adjusts its horizontal or vertical position to remain fully visible when it would + * otherwise overflow the editor. Defaults to true. + */ + avoidOverflow?: boolean; + } + + interface DecorationProps extends SharedDecorationProps { + /** One of several supported decoration types. */ + type?: "line"|"line-number"|"highlight"|"overlay"|"gutter"|"block"; + + /** The name of the gutter we're decorating, if type is "gutter". */ + gutterName?: string; + } + + interface DecorationLayerProps extends SharedDecorationProps { + /** One of several supported decoration types. */ + type?: "line"|"line-number"|"highlight"|"block"; + } + + interface Invisibles { + tab?: string|false; + cr?: string|false; + eol?: string|false; + space?: string|false; + } + + interface CancellablePromise extends Promise { + cancel(): void; + } + + interface ScandalResult { + filePath: string; + matches: Array<{ + matchText: string; + lineText: string; + lineTextOffset: number; + range: [[number, number], [number, number]]; + leadingContextLines: string[]; + trailingContextLines: string[]; + }>; + } + + interface WindowLoadSettings { + appVersion: string; + atomHome: string; + devMode: boolean; + env: { [key: string]: string|undefined }; + profileStartup: boolean; + resourcePath: string; + safeMode: boolean; + } + } + + /** Atom global for dealing with packages, themes, menus, and the window. + * An instance of this class is always available as the atom global. */ - destroy(): void; + interface AtomEnvironment { + // Properties + /** A CommandRegistry instance. */ + commands: CommandRegistry; - /** - * Gets the screen range of the display marker. + /** A Config instance. */ + config: Config; + + /** A Clipboard instance. */ + clipboard: Clipboard; + + /** A ContextMenuManager instance. */ + contextMenu: ContextMenuManager; + + /** A MenuManager instance. */ + menu: MenuManager; + + /** A KeymapManager instance. */ + keymaps: AtomKeymap.KeymapManager; + + /** A TooltipManager instance. */ + tooltips: TooltipManager; + + /** A NotificationManager instance. */ + notifications: NotificationManager; + + /** A Project instance. */ + project: Project; + + /** A GrammarRegistry instance. */ + grammars: FirstMate.GrammarRegistry; + + /** A HistoryManager instance. */ + history: HistoryManager; + + /** A PackageManager instance. */ + packages: PackageManager; + + /** A ThemeManager instance. */ + themes: ThemeManager; + + /** A StyleManager instance. */ + styles: StyleManager; + + /** A DeserializerManager instance. */ + deserializers: DeserializerManager; + + /** A ViewRegistry instance. */ + views: ViewRegistry; + + /** A Workspace instance. */ + workspace: Workspace; + + /** A TextEditorRegistry instance. */ + textEditors: TextEditorRegistry; + + // Event Subscription + /** Invoke the given callback whenever ::beep is called. */ + onDidBeep(callback: () => void): EventKit.Disposable; + + /** Invoke the given callback when there is an unhandled error, but before + * the devtools pop open. + */ + onWillThrowError(callback: (event: Events.PreventableExceptionThrown) => + void): EventKit.Disposable; + + /** Invoke the given callback whenever there is an unhandled error. */ + onDidThrowError(callback: (event: Events.ExceptionThrown) => void): + EventKit.Disposable; + + /** Invoke the given callback as soon as the shell environment is loaded (or + * immediately if it was already loaded). + */ + whenShellEnvironmentLoaded(callback: () => void): EventKit.Disposable; + + // Atom Details + /** Returns a boolean that is true if the current window is in development mode. */ + inDevMode(): boolean; + + /** Returns a boolean that is true if the current window is in safe mode. */ + inSafeMode(): boolean; + + /** Returns a boolean that is true if the current window is running specs. */ + inSpecMode(): boolean; + + /** Get the version of the Atom application. */ + getVersion(): string; + + /** Returns a boolean that is true if the current version is an official release. */ + isReleasedVersion(): boolean; + + /** Get the time taken to completely load the current window. */ + getWindowLoadTime(): number; + + /** Get the load settings for the current window. */ + getLoadSettings(): Structures.WindowLoadSettings; + + // Managing the Atom Window + /** Open a new Atom window using the given options. */ + open(params: { + pathsToOpen: ReadonlyArray, + newWindow: boolean, + devMode: boolean, + safeMode: boolean, + }): void; + + /** Close the current window. */ + close(): void; + + /** Get the size of current window. */ + getSize(): { width: number, height: number }; + + /** Set the size of current window. */ + setSize(width: number, height: number): void; + + /** Get the position of current window. */ + getPosition(): { x: number, y: number }; + + /** Set the position of current window. */ + setPosition(x: number, y: number): void; + + /** Prompt the user to select one or more folders. */ + pickFolder(callback: (paths: string[]|null) => void): void; + + /** Get the current window. */ + getCurrentWindow(): Electron.BrowserWindow; + + /** Move current window to the center of the screen. */ + center(): void; + + /** Focus the current window. */ + focus(): void; + + /** Show the current window. */ + show(): void; + + /** Hide the current window. */ + hide(): void; + + /** Reload the current window. */ + reload(): void; + + /** Relaunch the entire application. */ + restartApplication(): void; + + /** Returns a boolean that is true if the current window is maximized. */ + isMaximized(): boolean; + + /** Returns a boolean that is true if the current window is in full screen mode. */ + isFullScreen(): boolean; + + /** Set the full screen state of the current window. */ + setFullScreen(fullScreen: boolean): void; + + /** Toggle the full screen state of the current window. */ + toggleFullScreen(): void; + + // Messaging the User + /** Visually and audibly trigger a beep. */ + beep(): void; + + /** A flexible way to open a dialog akin to an alert dialog. + * Returns the chosen button index number if the buttons option was an array. + */ + confirm(options: { + message: string, + detailedMessage?: string, + buttons?: ReadonlyArray, + }): void; + + /** A flexible way to open a dialog akin to an alert dialog. + * Returns the chosen button index number if the buttons option was an array. + */ + confirm(options: { + message: string, + detailedMessage?: string, + buttons?: { + [key: string]: () => void + }, + }): number; + + // Managing the Dev Tools + /** Open the dev tools for the current window. */ + openDevTools(): Promise; + + /** Toggle the visibility of the dev tools for the current window. */ + toggleDevTools(): Promise; + + /** Execute code in dev tools. */ + executeJavaScriptInDevTools(code: string): void; + } + + /** A wrapper which provides standard error/output line buffering for + * Node's ChildProcess. */ - getScreenRange(): Range; - } + interface BufferedProcess { + // Properties + process: NodeJS.EventEmitter; + + // Event Subscription + /** Will call your callback when an error will be raised by the process. Usually + * this is due to the command not being available or not on the PATH. You can + * call handle() on the object passed to your callback to indicate that you + * have handled this error. + */ + onWillThrowError(callback: (errorObject: { error: Error, handle(): void }) => + void): EventKit.Disposable; + + // Helper Methods + /** Terminate the process. */ + kill(): void; + + /** Runs the process. */ + start(): void; + } + + /** Like BufferedProcess, but accepts a Node script as the command to run. + * This is necessary on Windows since it doesn't support shebang #! lines. + */ + type BufferedNodeProcess = BufferedProcess; + + /** Represents the clipboard used for copying and pasting in Atom. */ + interface Clipboard { + /** Write the given text to the clipboard. */ + write(text: string, metadata?: object): void; + + /** Read the text from the clipboard. */ + read(): string; + + /** Read the text from the clipboard and return both the text and the associated + * metadata. + */ + readWithMetadata(): { text: string, metadata: object }; + } + + /** A simple color class returned from Config::get when the value at the key path is + * of type 'color'. + */ + interface Color { + /** Returns a string in the form '#abcdef'. */ + toHexString(): string; + + /** Returns a string in the form 'rgba(25, 50, 75, .9)'. */ + toRGBAString(): string; + } + + /** Used to access all of Atom's configuration details. */ + interface Config { + // Config Subscription + /** Add a listener for changes to a given key path. This is different than ::onDidChange in + * that it will immediately call your callback with the current value of the config entry. + */ + observe(keyPath: string, callback: (value: any) => void): + EventKit.Disposable; + /** Add a listener for changes to a given key path. This is different than ::onDidChange in + * that it will immediately call your callback with the current value of the config entry. + */ + observe(keyPath: string, options: { scope: string[]|ScopeDescriptor }, + callback: (value: any) => void): EventKit.Disposable; + + /** Add a listener for changes to a given key path. If keyPath is not specified, your + * callback will be called on changes to any key. + */ + onDidChange(callback: (values: { newValue: T, oldValue: T }) => void): + EventKit.Disposable; + /** Add a listener for changes to a given key path. If keyPath is not specified, your + * callback will be called on changes to any key. + */ + onDidChange(keyPath: string, callback: (values: { newValue: T, + oldValue: T }) => void): EventKit.Disposable; + /** Add a listener for changes to a given key path. If keyPath is not specified, your + * callback will be called on changes to any key. + */ + onDidChange(keyPath: string, options: { scope: string[]|ScopeDescriptor }, + callback: (values: { newValue: T, oldValue: T }) => void): EventKit.Disposable; + + // Managing Settings + /** Retrieves the setting for the given key. */ + get(keyPath: string, options?: { sources?: string[], excludeSources?: string[], + scope?: string[]|ScopeDescriptor }): any; + + /** Sets the value for a configuration setting. + * This value is stored in Atom's internal configuration file. + */ + set(keyPath: string, value: any, options?: { scopeSelector?: string, source?: + string }): void; + + /** Restore the setting at keyPath to its default value. */ + unset(keyPath: string, options?: { scopeSelector?: string, source?: string }): void; + + /** Get all of the values for the given key-path, along with their associated + * scope selector. + */ + getAll(keyPath: string, options?: { sources?: string[], excludeSources?: string[], + scope?: ScopeDescriptor }): Array<{ scopeDescriptor: ScopeDescriptor, value: any}>; + + /** Get an Array of all of the source Strings with which settings have been added + * via ::set. + */ + getSources(): string[]; + + /** Retrieve the schema for a specific key path. The schema will tell you what type + * the keyPath expects, and other metadata about the config option. + */ + getSchema(keyPath: string): object|null; + + /** Get the string path to the config file being used. */ + getUserConfigPath(): string; + + /** Suppress calls to handler functions registered with ::onDidChange and ::observe + * for the duration of callback. After callback executes, handlers will be called + * once if the value for their key-path has changed. + */ + transact(callback: () => void): void; + } + + /** Provides a registry for commands that you'd like to appear in the context menu. */ + interface ContextMenuManager { + /** Add context menu items scoped by CSS selectors. */ + add(itemsBySelector: { + [key: string]: ReadonlyArray + }): EventKit.Disposable; + } + + /** Associates listener functions with commands in a context-sensitive way + * using CSS selectors. + */ + interface CommandRegistry { + // Register a single command. + add(target: string|Node, commandName: string, callback: (event: + AtomKeymap.CommandEvent) => void): EventKit.Disposable; + + // Register multiple commands. + add(target: string|Node, commands: { [key: string]: (event: + AtomKeymap.CommandEvent) => void }): EventKit.CompositeDisposable; + + /** Find all registered commands matching a query. */ + findCommands(params: { target: Node }): Array<{ name: string, displayName: string }>; + + /** Simulate the dispatch of a command on a DOM node. */ + dispatch(target: Node, commandName: string): void; + + /** Invoke the given callback before dispatching a command event. */ + onWillDispatch(callback: (event: AtomKeymap.CommandEvent) => void): EventKit.Disposable; + + /** Invoke the given callback after dispatching a command event. */ + onDidDispatch(callback: (event: AtomKeymap.CommandEvent) => void): EventKit.Disposable; + } + + /** The Cursor class represents the little blinking line identifying where text + * can be inserted. + */ + interface Cursor { + // Event Subscription + /** Calls your callback when the cursor has been moved. */ + onDidChangePosition(callback: (event: Events.CursorPositionChanged) => void): + EventKit.Disposable; + + /** Calls your callback when the cursor is destroyed. */ + onDidDestroy(callback: () => void): EventKit.Disposable; + + /** Calls your callback when the cursor's visibility has changed. */ + onDidChangeVisibility(callback: (visibility: boolean) => void): + EventKit.Disposable; + + // Managing Cursor Position + /** Moves a cursor to a given screen position. */ + setScreenPosition(screenPosition: TextBuffer.PointLike|[number, number], + options?: { autoscroll?: boolean }): void; + + /** Returns the screen position of the cursor as a Point. */ + getScreenPosition(): TextBuffer.Point; - interface IWorkspaceView extends View { - // Delegator.includeInto(WorkspaceView); - - // delegate to model property's property - fullScreen:boolean; - - // delegate to model property's method - open(uri:string, options:any):Q.Promise; - openSync(uri:string, options?:any):any; - saveActivePaneItem():any; - saveActivePaneItemAs():any; - saveAll():void; - destroyActivePaneItem():any; - destroyActivePane():any; - increaseFontSize():void; - decreaseFontSize():void; - - // own property & methods - initialize(model:IWorkspace):any; - initialize(view:View, args:any):void; // do not use - model:IWorkspace; - panes: IPaneContainerView; - getModel():IWorkspace; - installShellCommands():any; - handleFocus():any; - afterAttach(onDom?:any):any; - confirmClose():boolean; - updateTitle():any; - setTitle(title:string):any; - getEditorViews():any[]; // atom.EditorView - prependToTop(element:any):any; - appendToTop(element:any):any; - prependToBottom(element:any):any; - appendToBottom(element:any):any; - prependToLeft(element:any):any; - appendToLeft(element:any):any; - prependToRight(element:any):any; - appendToRight(element:any):any; - getActivePaneView():IPaneView; - getActiveView():View; - focusPreviousPaneView():any; - focusNextPaneView():any; - focusPaneViewAbove():any; - focusPaneViewBelow():any; - focusPaneViewOnLeft():any; - focusPaneViewOnRight():any; - eachPaneView(callback:(paneView:IPaneView)=>any):{ off():any; }; - getPaneViews():IPaneView[]; - eachEditorView(callback:(editorView:any /* EditorView */)=>any):{ off():any; }; - beforeRemove():any; - - command(eventName:string, handler:Function):any; - command(eventName:string, selector:Function, handler:Function):any; - command(eventName:string, options:any, handler:Function):any; - command(eventName:string, selector:Function, options:any, handler:Function):any; - - statusBar:StatusBar.IStatusBarView; - } + /** Moves a cursor to a given buffer position. */ + setBufferPosition(bufferPosition: TextBuffer.PointLike|[number, number], + options?: { autoscroll?: boolean }): void; - interface IPanes { - // TBD - } + /** Returns the current buffer position as an Array. */ + getBufferPosition(): TextBuffer.Point; - interface IPaneView { - // TBD - } + /** Returns the cursor's current screen row. */ + getScreenRow(): number; - interface IPaneContainerView { - // TBD - } + /** Returns the cursor's current screen column. */ + getScreenColumn(): number; - interface ITreeView { - // TBD - } + /** Retrieves the cursor's current buffer row. */ + getBufferRow(): number; - interface IGutterViewStatic { - new(): IGutterView; - content():any; - } + /** Returns the cursor's current buffer column. */ + getBufferColumn(): number; - interface IGutterView extends View { - firstScreenRow:any; - lastScreenRow:any; - initialize():void; - initialize(view:View, args:any):void; // do not use - afterAttach(onDom?:any):any; - beforeRemove():any; - handleMouseEvents(e:JQueryMouseEventObject):any; - getEditorView():any; /* EditorView */ - getEditor():IEditor; - getLineNumberElements():HTMLCollection; - getLineNumberElementsForClass(klass:string):NodeList; - getLineNumberElement(bufferRow:number):NodeList; - addClassToAllLines(klass:string):boolean; - removeClassFromAllLines(klass:string):boolean; - addClassToLine(bufferRow:number, klass:string):boolean; - removeClassFromLine(bufferRow:number, klass:string):boolean; - updateLineNumbers(changes:any[], startScreenRow?:number, endScreenRow?:number):any; - prependLineElements(lineElements:any):void; - appendLineElements(lineElements:any):void; - removeLineElements(numberOfElements:number):void; - buildLineElements(startScreenRow:any, endScreenRow:any):any; - buildLineElementsHtml(startScreenRow:any, endScreenRow:any):any; - updateFoldableClasses(changes:any[]):any; - removeLineHighlights():void; - addLineHighlight(row:number, emptySelection?:boolean):any; - highlightLines():boolean; - } + /** Returns the cursor's current buffer row of text excluding its line ending. */ + getCurrentBufferLine(): string; - interface ICommandRegistry { - add(target: string, commandName: Object, callback?: (event: any) => void): any; // selector:'atom-editor'|'atom-workspace' - findCommands(params: Object): Object[]; - dispatch(selector: any, name:string): void; - } + /** Returns whether the cursor is at the start of a line. */ + isAtBeginningOfLine(): boolean; - interface ICommandPanel { - // TBD - } + /** Returns whether the cursor is on the line return character. */ + isAtEndOfLine(): boolean; - interface IDisplayBufferStatic { - new(_arg?:any):IDisplayBuffer; - } + // Cursor Position Details + /** Returns the underlying DisplayMarker for the cursor. Useful with overlay + * Decorations. + */ + getMarker(): TextBuffer.DisplayMarker; - interface IDisplayBuffer /* extends Theorist.Model */ { - // Serializable.includeInto(Editor); - - constructor:IDisplayBufferStatic; - - verticalScrollMargin:number; - horizontalScrollMargin:number; - - declaredPropertyValues:any; - tokenizedBuffer: ITokenizedBuffer; - buffer: TextBuffer.ITextBuffer; - charWidthsByScope:any; - markers:{ [index:number]:IDisplayBufferMarker; }; - foldsByMarkerId:any; - maxLineLength:number; - screenLines:ITokenizedLine[]; - rowMap:any; // return type are RowMap - longestScreenRow:number; - subscriptions:Emissary.ISubscription[]; - subscriptionsByObject:any; // return type are WeakMap - behaviors:any; - subscriptionCounts:any; - eventHandlersByEventName:any; - pendingChangeEvent:any; - - softWrap:boolean; - - serializeParams():{id:number; softWrap:boolean; editorWidthInChars: number; scrollTop: number; scrollLeft: number; tokenizedBuffer: any; }; - deserializeParams(params:any):any; - copy():IDisplayBuffer; - updateAllScreenLines():any; - emitChanged(eventProperties:any, refreshMarkers?:boolean):any; - updateWrappedScreenLines():any; - setVisible(visible:any):any; - getVerticalScrollMargin():number; - setVerticalScrollMargin(verticalScrollMargin:number):number; - getHorizontalScrollMargin():number; - setHorizontalScrollMargin(horizontalScrollMargin:number):number; - getHeight():any; - setHeight(height:any):any; - getWidth():any; - setWidth(newWidth:any):any; - getScrollTop():number; - setScrollTop(scrollTop:number):number; - getScrollBottom():number; - setScrollBottom(scrollBottom:number):number; - getScrollLeft():number; - setScrollLeft(scrollLeft:number):number; - getScrollRight():number; - setScrollRight(scrollRight:number):number; - getLineHeight():any; - setLineHeight(lineHeight:any):any; - getDefaultCharWidth():any; - setDefaultCharWidth(defaultCharWidth:any):any; - getScopedCharWidth(scopeNames:any, char:any):any; - getScopedCharWidths(scopeNames:any):any; - setScopedCharWidth(scopeNames:any, char:any, width:any):any; - setScopedCharWidths(scopeNames:any, charWidths:any):any; - clearScopedCharWidths():any; - getScrollHeight():number; - getScrollWidth():number; - getVisibleRowRange():number[]; - intersectsVisibleRowRange(startRow:any, endRow:any):any; - selectionIntersectsVisibleRowRange(selection:any):any; - scrollToScreenRange(screenRange:any):any; - scrollToScreenPosition(screenPosition:any):any; - scrollToBufferPosition(bufferPosition:any):any; - pixelRectForScreenRange(screenRange:TextBuffer.IRange):any; - getTabLength():number; - setTabLength(tabLength:number):any; - setSoftWrap(softWrap:boolean):boolean; - getSoftWrap():boolean; - setEditorWidthInChars(editorWidthInChars:number):any; - getEditorWidthInChars():number; - getSoftWrapColumn():number; - lineForRow(row:number):any; - linesForRows(startRow:number, endRow:number):any; - getLines():any[]; - indentLevelForLine(line:any):any; - bufferRowsForScreenRows(startScreenRow:any, endScreenRow:any):any; - createFold(startRow:number, endRow:number):IFold; - isFoldedAtBufferRow(bufferRow:number):boolean; - isFoldedAtScreenRow(screenRow:number):boolean; - destroyFoldWithId(id:number):any; - unfoldBufferRow(bufferRow:number):any[]; - largestFoldStartingAtBufferRow(bufferRow:number):any; - foldsStartingAtBufferRow(bufferRow:number):any; - largestFoldStartingAtScreenRow(screenRow:any):any; - largestFoldContainingBufferRow(bufferRow:any):any; - outermostFoldsInBufferRowRange(startRow:any, endRow:any):any[]; - foldsContainingBufferRow(bufferRow:any):any[]; - screenRowForBufferRow(bufferRow:number):number; - lastScreenRowForBufferRow(bufferRow:number):number; - bufferRowForScreenRow(screenRow:number):number; - - screenRangeForBufferRange(bufferRange:TextBuffer.IPoint[]):TextBuffer.IRange; - - screenRangeForBufferRange(bufferRange:TextBuffer.IRange):TextBuffer.IRange; - - screenRangeForBufferRange(bufferRange:{start: TextBuffer.IPoint; end: TextBuffer.IPoint}):TextBuffer.IRange; - screenRangeForBufferRange(bufferRange:{start: number[]; end: TextBuffer.IPoint}):TextBuffer.IRange; - screenRangeForBufferRange(bufferRange:{start: {row:number; col:number;}; end: TextBuffer.IPoint}):TextBuffer.IRange; - - screenRangeForBufferRange(bufferRange:{start: TextBuffer.IPoint; end: number[]}):TextBuffer.IRange; - screenRangeForBufferRange(bufferRange:{start: number[]; end: number[]}):TextBuffer.IRange; - screenRangeForBufferRange(bufferRange:{start: {row:number; col:number;}; end: number[]}):TextBuffer.IRange; - - screenRangeForBufferRange(bufferRange:{start: TextBuffer.IPoint; end: {row:number; col:number;}}):TextBuffer.IRange; - screenRangeForBufferRange(bufferRange:{start: number[]; end: {row:number; col:number;}}):TextBuffer.IRange; - screenRangeForBufferRange(bufferRange:{start: {row:number; col:number;}; end: {row:number; col:number;}}):TextBuffer.IRange; - - bufferRangeForScreenRange(screenRange:TextBuffer.IPoint[]):TextBuffer.IRange; - - bufferRangeForScreenRange(screenRange:TextBuffer.IRange):TextBuffer.IRange; - - bufferRangeForScreenRange(screenRange:{start: TextBuffer.IPoint; end: TextBuffer.IPoint}):TextBuffer.IRange; - bufferRangeForScreenRange(screenRange:{start: number[]; end: TextBuffer.IPoint}):TextBuffer.IRange; - bufferRangeForScreenRange(screenRange:{start: {row:number; col:number;}; end: TextBuffer.IPoint}):TextBuffer.IRange; - - bufferRangeForScreenRange(screenRange:{start: TextBuffer.IPoint; end: number[]}):TextBuffer.IRange; - bufferRangeForScreenRange(screenRange:{start: number[]; end: number[]}):TextBuffer.IRange; - bufferRangeForScreenRange(screenRange:{start: {row:number; col:number;}; end: number[]}):TextBuffer.IRange; - - bufferRangeForScreenRange(screenRange:{start: TextBuffer.IPoint; end: {row:number; col:number;}}):TextBuffer.IRange; - bufferRangeForScreenRange(screenRange:{start: number[]; end: {row:number; col:number;}}):TextBuffer.IRange; - bufferRangeForScreenRange(screenRange:{start: {row:number; col:number;}; end: {row:number; col:number;}}):TextBuffer.IRange; - - pixelRangeForScreenRange(screenRange:TextBuffer.IPoint[], clip?:boolean):TextBuffer.IRange; - - pixelRangeForScreenRange(screenRange:TextBuffer.IRange, clip?:boolean):TextBuffer.IRange; - - pixelRangeForScreenRange(screenRange:{start: TextBuffer.IPoint; end: TextBuffer.IPoint}, clip?:boolean):TextBuffer.IRange; - pixelRangeForScreenRange(screenRange:{start: number[]; end: TextBuffer.IPoint}, clip?:boolean):TextBuffer.IRange; - pixelRangeForScreenRange(screenRange:{start: {row:number; col:number;}; end: TextBuffer.IPoint}, clip?:boolean):TextBuffer.IRange; - - pixelRangeForScreenRange(screenRange:{start: TextBuffer.IPoint; end: number[]}, clip?:boolean):TextBuffer.IRange; - pixelRangeForScreenRange(screenRange:{start: number[]; end: number[]}, clip?:boolean):TextBuffer.IRange; - pixelRangeForScreenRange(screenRange:{start: {row:number; col:number;}; end: number[]}, clip?:boolean):TextBuffer.IRange; - - pixelRangeForScreenRange(screenRange:{start: TextBuffer.IPoint; end: {row:number; col:number;}}, clip?:boolean):TextBuffer.IRange; - pixelRangeForScreenRange(screenRange:{start: number[]; end: {row:number; col:number;}}, clip?:boolean):TextBuffer.IRange; - pixelRangeForScreenRange(screenRange:{start: {row:number; col:number;}; end: {row:number; col:number;}}, clip?:boolean):TextBuffer.IRange; - - pixelPositionForScreenPosition(screenPosition:TextBuffer.IPoint, clip?:boolean):TextBuffer.IPoint; - pixelPositionForScreenPosition(screenPosition:number[], clip?:boolean):TextBuffer.IPoint; - pixelPositionForScreenPosition(screenPosition:{row:number; col:number;}, clip?:boolean):TextBuffer.IPoint; - - screenPositionForPixelPosition(pixelPosition:any):TextBuffer.IPoint; - - pixelPositionForBufferPosition(bufferPosition:any):any; - getLineCount():number; - getLastRow():number; - getMaxLineLength():number; - screenPositionForBufferPosition(bufferPosition:any, options:any):any; - bufferPositionForScreenPosition(bufferPosition:any, options:any):any; - scopesForBufferPosition(bufferPosition:any):any; - bufferRangeForScopeAtPosition(selector:any, position:any):any; - tokenForBufferPosition(bufferPosition:any):any; - getGrammar():IGrammar; - setGrammar(grammar:IGrammar):any; - reloadGrammar():any; - clipScreenPosition(screenPosition:any, options:any):any; - findWrapColumn(line:any, softWrapColumn:any):any; - rangeForAllLines():TextBuffer.IRange; - getMarker(id:number):IDisplayBufferMarker; - getMarkers():IDisplayBufferMarker[]; - getMarkerCount():number; - markScreenRange(range:TextBuffer.IRange, ...args:any[]):IDisplayBufferMarker; - markBufferRange(range:TextBuffer.IRange, options?:any):IDisplayBufferMarker; - markScreenPosition(screenPosition:TextBuffer.IPoint, options?:any):IDisplayBufferMarker; - markBufferPosition(bufferPosition:TextBuffer.IPoint, options?:any):IDisplayBufferMarker; - destroyMarker(id:number):any; - findMarker(params?:any):IDisplayBufferMarker; - findMarkers(params?:any):IDisplayBufferMarker[]; - translateToBufferMarkerParams(params?:any):any; - findFoldMarker(attributes:any):IMarker; - findFoldMarkers(attributes:any):IMarker[]; - getFoldMarkerAttributes(attributes?:any):any; - pauseMarkerObservers():any; - resumeMarkerObservers():any; - refreshMarkerScreenPositions():any; - destroy():any; - logLines(start:number, end:number):any[]; - handleTokenizedBufferChange(tokenizedBufferChange:any):any; - updateScreenLines(startBufferRow:any, endBufferRow:any, bufferDelta?:number, options?:any):any; - buildScreenLines(startBufferRow:any, endBufferRow:any):any; - findMaxLineLength(startScreenRow:any, endScreenRow:any, newScreenLines:any):any; - handleBufferMarkersUpdated():any; - handleBufferMarkerCreated(marker:any):any; - createFoldForMarker(maker:any):IFold; - foldForMarker(marker:any):any; - } + /** Identifies if the cursor is surrounded by whitespace. + * "Surrounded" here means that the character directly before and after the cursor + * are both whitespace. + */ + isSurroundedByWhitespace(): boolean; - interface IViewRegistry { - getView(selector:any):any; - } + /** This method returns false if the character before or after the cursor is whitespace. */ + isBetweenWordAndNonWord(): boolean; - interface ICursorStatic { - new (arg:{editor:IEditor; marker:IDisplayBufferMarker; id: number;}):ICursor; - } + /** Returns whether this cursor is between a word's start and end. */ + isInsideWord(options?: { wordRegex?: RegExp }): boolean; - interface ScopeDescriptor { - scopes: string[]; - } + /** Returns the indentation level of the current line. */ + getIndentLevel(): number; - interface ICursor /* extends Theorist.Model */ { - getScopeDescriptor(): ScopeDescriptor; - screenPosition:any; - bufferPosition:any; - goalColumn:any; - visible:boolean; - needsAutoscroll:boolean; - - editor:IEditor; - marker:IDisplayBufferMarker; - id: number; - - destroy():any; - changePosition(options:any, fn:Function):any; - getPixelRect():any; - setScreenPosition(screenPosition:any, options?:any):any; - getScreenPosition():TextBuffer.IPoint; - getScreenRange():TextBuffer.IRange; - setBufferPosition(bufferPosition:any, options?:any):any; - getBufferPosition():TextBuffer.IPoint; - autoscroll():any; - updateVisibility():any; - setVisible(visible:boolean):any; - isVisible():boolean; - wordRegExp(arg?:any):any; - isLastCursor():boolean; - isSurroundedByWhitespace():boolean; - isBetweenWordAndNonWord():boolean; - isInsideWord():boolean; - clearAutoscroll():void; - clearSelection():void; - getScreenRow():number; - getScreenColumn():number; - getBufferRow():number; - getBufferColumn():number; - getCurrentBufferLine():string; - moveUp(rowCount:number, arg?:any):any; - moveDown(rowCount:number, arg?:any):any; - moveLeft(arg?:any):any; - moveRight(arg?:any):any; - moveToTop():any; - moveToBottom():void; - moveToBeginningOfScreenLine():void; - moveToBeginningOfLine():void; - moveToFirstCharacterOfLine():void; - moveToEndOfScreenLine():void; - moveToEndOfLine():void; - moveToBeginningOfWord():void; - moveToEndOfWord():void; - moveToBeginningOfNextWord():void; - moveToPreviousWordBoundary():void; - moveToNextWordBoundary():void; - getBeginningOfCurrentWordBufferPosition(options?:any):TextBuffer.IPoint; - getPreviousWordBoundaryBufferPosition(options?:any):TextBuffer.IPoint; - getMoveNextWordBoundaryBufferPosition(options?:any):TextBuffer.IPoint; - getEndOfCurrentWordBufferPosition(options?:any):TextBuffer.IPoint; - getBeginningOfNextWordBufferPosition(options?:any):TextBuffer.IPoint; - getCurrentWordBufferRange(options?:any):TextBuffer.IPoint; - getCurrentLineBufferRange(options?:any):TextBuffer.IPoint; - getCurrentParagraphBufferRange():any; - getCurrentWordPrefix():string; - isAtBeginningOfLine():boolean; - getIndentLevel():number; - isAtEndOfLine():boolean; - getScopes():string[]; - hasPrecedingCharactersOnLine():boolean; - getMarker(): Marker; - } + /** Retrieves the scope descriptor for the cursor's current position. */ + getScopeDescriptor(): ScopeDescriptor; - interface ILanguageMode { - // TBD - } + /** Returns true if this cursor has no non-whitespace characters before its + * current position. + */ + hasPrecedingCharactersOnLine(): boolean; - interface ISelection { - // https://atom.io/docs/api/v1.7.3/Selection - - // Event Subscription - onDidChangeRange(callback: (event: { - oldBufferRange: TextBuffer.IRange; - oldScreenRange: TextBuffer.IRange; - newBufferRange: TextBuffer.IRange; - newScreenRange: TextBuffer.IRange; - selection: ISelection; - }) => {}): Disposable; - onDidDestroy(callback: () => {}): Disposable; - - // Managing the selection range - getScreenRange(): TextBuffer.IRange; - setScreenRange(screenRange: TextBuffer.IRange, options?: { - preserveFolds?: boolean; - autoscroll?: boolean; - }): void; - getBufferRange(): TextBuffer.IRange; - setBufferRange(bufferRange: TextBuffer.IRange, options?: { - preserveFolds?: boolean; - autoscroll?: boolean; - }): void; - getBufferRowRange(): [number]; - - // Info about the selection - isEmpty(): boolean; - isReversed(): boolean; - isSingleScreenLine(): boolean; - getText(): string; - intersectsBufferRange(bufferRange: TextBuffer.IRange): boolean; - intersectsWith(otherSelection: ISelection): boolean; - - // Modifying the selected range - clear(options?: {autoscroll?: boolean}): void; - selectToScreenPosition(position: any): void; - selectToBufferPosition(position: any): void; - selectRight(columnCount?: number): void; - selectLeft(columnCount?: number): void; - selectUp(rowCount: number): void; - selectDown(rowCount: number): void; - selectToTop(): void; - selectToBottom(): void; - selectAll(): void; - selectToBeginningOfLine(): void; - selectToFirstCharacterOfLine(): void; - selectToEndOfLine(): void; - selectToEndOfBufferLine(): void; - selectToBeginningOfWord(): void; - selectToEndOfWord(): void; - selectToBeginningOfNextWord(): void; - selectToPreviousWordBoundary(): void; - selectToNextWordBoundary(): void; - selectToPreviousSubwordBoundary(): void; - selectToNextSubwordBoundary(): void; - selectToBeginningOfNextParagraph(): void; - selectToBeginningOfPreviousParagraph(): void; - selectWord(): TextBuffer.IRange; - expandOverWord(): void; - selectLine(row?: number): void; - expandOverLine(): void; - - // Modifying the selected text - insertText(text: string, options?: { - select: boolean; - autoIndent: boolean; - autoIndentNewline: boolean; - autoDecreaseIndent: boolean; - normalizeLineEndings?: boolean; - undo?: 'skip'; - }): void; - backspace(): void; - deleteToPreviousWordBoundary(): void; - deleteToNextWordBoundary(): void; - deleteToBeginningOfWord(): void; - deleteToBeginningOfLine(): void; - delete(): void; - deleteToEndOfLine(): void; - deleteToEndOfWord(): void; - deleteToBeginningOfSubword(): void; - deleteToEndOfSubword(): void; - deleteSelectedText(): void; - deleteLine(): void; - joinLines(): void; - outdentSelectedRows(): void; - autoIndentSelectedRows(): void; - toggleLineComments(): void; - cutToEndOfLine(): void; - cutToEndOfBufferLine(): void; - cut(maintainClipboard?: boolean, fullLine?: boolean): void; - copy(maintainClipboard?: boolean, fullLine?: boolean): void; - fold(): void; - indentSelectedRows(): void; - - // Managing multiple selections - addSelectionBelow(): void; - addSelectionAbove(): void; - merge(otherSelection: ISelection, options?: { - preserveFolds?: boolean; - autoscroll?: boolean; - }): void; - - // Comparing to other selections - compare(otherSelection: ISelection): any; - } + /** Identifies if this cursor is the last in the TextEditor. + * "Last" is defined as the most recently added cursor. + */ + isLastCursor(): boolean; - interface IDecorationParams { - id?: number; - class: string; - type: any /* string or string[] */; - } + // Moving the Cursor + /** Moves the cursor up one screen row. */ + moveUp(rowCount?: number, options?: { moveToEndOfSelection?: boolean }): void; - interface IDecorationStatic { - isType(decorationParams:IDecorationParams, type:any /* string or string[] */):boolean; - new (marker:IDisplayBufferMarker, displayBuffer:IDisplayBuffer, params: IDecorationParams): IDecoration; - } + /** Moves the cursor down one screen row. */ + moveDown(rowCount?: number, options?: { moveToEndOfSelection?: boolean }): void; - interface IDecoration extends Emissary.IEmitter { - marker: IDisplayBufferMarker; - displayBuffer: IDisplayBuffer; - params: IDecorationParams - id: number; - flashQueue: any[]; - isDestroyed: boolean; - - destroy():void; - update(newParams:IDecorationParams):void; - getMarker():IDisplayBufferMarker; - getParams():IDecorationParams; - isType(type:string):boolean; - matchesPattern(decorationPattern:{[key:string]:IDecorationParams;}):boolean; - flash(klass:string, duration?:number):void; - consumeNextFlash():any; - } + /** Moves the cursor left one screen column. */ + moveLeft(columnCount?: number, options?: { moveToEndOfSelection?: boolean }): void; - interface IEditor { - // Serializable.includeInto(Editor); - // Delegator.includeInto(Editor); - - deserializing:boolean; - callDisplayBufferCreatedHook:boolean; - registerEditor:boolean; - buffer:TextBuffer.ITextBuffer; - languageMode: ILanguageMode; - cursors:ICursor[]; - selections: ISelection[]; - suppressSelectionMerging:boolean; - updateBatchDepth: number; - selectionFlashDuration: number; - softTabs: boolean; - displayBuffer: IDisplayBuffer; - - id:number; - behaviors:any; - declaredPropertyValues: any; - eventHandlersByEventName: any; - eventHandlersByNamespace: any; - lastOpened: number; - subscriptionCounts: any; - subscriptionsByObject: any; /* WeakMap */ - subscriptions: Emissary.ISubscription[]; - destroy():void; - - mini: any; - - serializeParams():{id:number; softTabs:boolean; scrollTop:number; scrollLeft:number; displayBuffer:any;}; - deserializeParams(params:any):any; - subscribeToBuffer():void; - subscribeToDisplayBuffer():void; - getViewClass():any; // return type are EditorView - destroyed():void; - isDestroyed():boolean; - copy():IEditor; - getTitle():string; - getLongTitle():string; - setVisible(visible:boolean):void; - setMini(mini:any):void; - setScrollTop(scrollTop:any):void; - getScrollTop():number; - setScrollLeft(scrollLeft:any):void; - getScrollLeft():number; - setEditorWidthInChars(editorWidthInChars:any):void; - getSoftWrapColumn():number; - getSoftTabs():boolean; - setSoftTabs(softTabs:boolean):void; - getSoftWrap():boolean; - setSoftWrap(softWrap:any):void; - getTabText():string; - getTabLength():number; - setTabLength(tabLength:any):void; - usesSoftTabs():boolean; - clipBufferPosition(bufferPosition:any):void; - clipBufferRange(range:any):void; - indentationForBufferRow(bufferRow:any):void; - setIndentationForBufferRow(bufferRow:any, newLevel:any, _arg:any):void; - indentLevelForLine(line:any):number; - buildIndentString(number:any):string; - save():void; - saveAs(filePath:any):void; - copyPathToClipboard():void; - getPath():string; - getText():string; - setText(text:any):void; - getTextInRange(range:any):any; - getLineCount():number; - getBuffer():TextBuffer.ITextBuffer; - getURI():string; - isBufferRowBlank(bufferRow:any):boolean; - isBufferRowCommented(bufferRow:any):void; - nextNonBlankBufferRow(bufferRow:any):void; - getEofBufferPosition():TextBuffer.IPoint; - getLastBufferRow():number; - bufferRangeForBufferRow(row:any, options:any):TextBuffer.IRange; - lineForBufferRow(row:number):string; - lineLengthForBufferRow(row:number):number; - scan():any; - scanInBufferRange():any; - backwardsScanInBufferRange():any; - isModified():boolean; - isEmpty():boolean; - shouldPromptToSave():boolean; - screenPositionForBufferPosition(bufferPosition:any, options?:any):TextBuffer.IPoint; - bufferPositionForScreenPosition(screenPosition:any, options?:any):TextBuffer.IPoint; - screenRangeForBufferRange(bufferRange:any):TextBuffer.IRange; - bufferRangeForScreenRange(screenRange:any):TextBuffer.IRange; - clipScreenPosition(screenPosition:any, options:any):TextBuffer.IRange; - lineForScreenRow(row:any):ITokenizedLine; - linesForScreenRows(start?:any, end?:any):ITokenizedLine[]; - getScreenLineCount():number; - getMaxScreenLineLength():number; - getLastScreenRow():number; - bufferRowsForScreenRows(startRow:any, endRow:any):any[]; - bufferRowForScreenRow(row:any):number; - scopesForBufferPosition(bufferPosition:any):string[]; - bufferRangeForScopeAtCursor(selector:string):any; - tokenForBufferPosition(bufferPosition:any):IToken; - getCursorScopes():string[]; - logCursorScope():void; - insertText(text:string, options?:any):TextBuffer.IRange[]; - insertNewline():TextBuffer.IRange[]; - insertNewlineBelow():TextBuffer.IRange[]; - insertNewlineAbove():any; - indent(options?:any):any; - backspace():any[]; - // deprecated backspaceToBeginningOfWord():any[]; - // deprecated backspaceToBeginningOfLine():any[]; - deleteToBeginningOfWord():any[]; - deleteToBeginningOfLine():any[]; - delete():any[]; - deleteToEndOfLine():any[]; - deleteToEndOfWord():any[]; - deleteLine():TextBuffer.IRange[]; - indentSelectedRows():TextBuffer.IRange[][]; - outdentSelectedRows():TextBuffer.IRange[][]; - toggleLineCommentsInSelection():TextBuffer.IRange[]; - autoIndentSelectedRows():TextBuffer.IRange[][]; - normalizeTabsInBufferRange(bufferRange:any):any; - cutToEndOfLine():boolean[]; - cutSelectedText():boolean[]; - copySelectedText():boolean[]; - pasteText(options?:any):TextBuffer.IRange[]; - undo():any[]; - redo():any[]; - foldCurrentRow():any; - unfoldCurrentRow():any[]; - foldSelectedLines():any[]; - foldAll():any[]; - unfoldAll():any[]; - foldAllAtIndentLevel(level:any):any; - foldBufferRow(bufferRow:any):any; - unfoldBufferRow(bufferRow:any):any; - isFoldableAtBufferRow(bufferRow:any):boolean; - isFoldableAtScreenRow(screenRow:any):boolean; - createFold(startRow:any, endRow:any):IFold; - destroyFoldWithId(id:any):any; - destroyFoldsIntersectingBufferRange(bufferRange:any):any; - toggleFoldAtBufferRow(bufferRow:any):any; - isFoldedAtCursorRow():boolean; - isFoldedAtBufferRow(bufferRow:any):boolean; - isFoldedAtScreenRow(screenRow:any):boolean; - largestFoldContainingBufferRow(bufferRow:any):boolean; - largestFoldStartingAtScreenRow(screenRow:any):any; - outermostFoldsInBufferRowRange(startRow:any, endRow:any):any[]; - moveLineUp():ISelection[]; - moveLineDown():ISelection[]; - duplicateLines():any[][]; - // duprecated duplicateLine():any[][]; - mutateSelectedText(fn:(selection:ISelection)=>any):any; - replaceSelectedText(options:any, fn:(selection:string)=>any):any; - decorationsForScreenRowRange(startScreenRow:any, endScreenRow:any):{[id:number]: IDecoration[]}; - decorateMarker(marker:IDisplayBufferMarker, decorationParams: {type:string; class: string;}):IDecoration; - decorationForId(id:number):IDecoration; - getMarker(id:number):IDisplayBufferMarker; - getMarkers():IDisplayBufferMarker[]; - findMarkers(...args:any[]):IDisplayBufferMarker[]; - markScreenRange(...args:any[]):IDisplayBufferMarker; - markBufferRange(...args:any[]):IDisplayBufferMarker; - markScreenPosition(...args:any[]):IDisplayBufferMarker; - markBufferPosition(...args:any[]):IDisplayBufferMarker; - destroyMarker(...args:any[]):boolean; - getMarkerCount():number; - hasMultipleCursors():boolean; - getCursors():ICursor[]; - getCursor():ICursor; - addCursorAtScreenPosition(screenPosition:any):ICursor; - addCursorAtBufferPosition(bufferPosition:any):ICursor; - addCursor(marker:any):ICursor; - removeCursor(cursor:any):ICursor[]; - addSelection(marker:any, options:any):ISelection; - addSelectionForBufferRange(bufferRange:any, options:any):ISelection; - setSelectedBufferRange(bufferRange:any, options:any):any; - setSelectedBufferRanges(bufferRanges:any, options:any):any; - removeSelection(selection:ISelection):any; - clearSelections():boolean; - consolidateSelections():boolean; - selectionScreenRangeChanged(selection:any):void; - getSelections():ISelection[]; - getSelection(index?:number):ISelection; - getLastSelection():ISelection; - getSelectionsOrderedByBufferPosition():ISelection[]; - getLastSelectionInBuffer():ISelection; - selectionIntersectsBufferRange(bufferRange:any):any; - setCursorScreenPosition(position:TextBuffer.IPoint, options?:any):any; - getCursorScreenPosition():TextBuffer.IPoint; - getCursorScreenRow():number; - setCursorBufferPosition(position:any, options?:any):any; - getCursorBufferPosition():TextBuffer.IPoint; - getSelectedScreenRange():TextBuffer.IRange; - getSelectedBufferRange():TextBuffer.IRange; - getSelectedBufferRanges():TextBuffer.IRange[]; - getSelectedText():string; - getTextInBufferRange(range:TextBuffer.IRange):string; - setTextInBufferRange(range:TextBuffer.IRange | any[], text:string):any; - getCurrentParagraphBufferRange():TextBuffer.IRange; - getWordUnderCursor(options?:any):string; - moveCursorUp(lineCount?:number):void; - moveCursorDown(lineCount?:number):void; - moveCursorLeft():void; - moveCursorRight():void; - moveCursorToTop():void; - moveCursorToBottom():void; - moveCursorToBeginningOfScreenLine():void; - moveCursorToBeginningOfLine():void; - moveCursorToFirstCharacterOfLine():void; - moveCursorToEndOfScreenLine():void; - moveCursorToEndOfLine():void; - moveCursorToBeginningOfWord():void; - moveCursorToEndOfWord():void; - moveCursorToBeginningOfNextWord():void; - moveCursorToPreviousWordBoundary():void; - moveCursorToNextWordBoundary():void; - moveCursorToBeginningOfNextParagraph():void; - moveCursorToBeginningOfPreviousParagraph():void; - moveToBottom():void; - scrollToCursorPosition(options:any):any; - pageUp():void; - pageDown():void; - selectPageUp():void; - selectPageDown():void; - getRowsPerPage():number; - moveCursors(fn:(cursor:ICursor)=>any):any; - cursorMoved(event:any):void; - selectToScreenPosition(position:TextBuffer.IPoint):any; - selectRight():ISelection[]; - selectLeft():ISelection[]; - selectUp(rowCount?:number):ISelection[]; - selectDown(rowCount?:number):ISelection[]; - selectToTop():ISelection[]; - selectAll():ISelection[]; - selectToBottom():ISelection[]; - selectToBeginningOfLine():ISelection[]; - selectToFirstCharacterOfLine():ISelection[]; - selectToEndOfLine():ISelection[]; - selectToPreviousWordBoundary():ISelection[]; - selectToNextWordBoundary():ISelection[]; - selectLine():ISelection[]; - selectLinesContainingCursors():ISelection[]; - addSelectionBelow():ISelection[]; - addSelectionAbove():ISelection[]; - splitSelectionsIntoLines():any[]; - transpose():TextBuffer.IRange[]; - upperCase():boolean[]; - lowerCase():boolean[]; - joinLines():any[]; - selectToBeginningOfWord():ISelection[]; - selectToEndOfWord():ISelection[]; - selectToBeginningOfNextWord():ISelection[]; - selectWord():ISelection[]; - selectToBeginningOfNextParagraph():ISelection[]; - selectToBeginningOfPreviousParagraph():ISelection[]; - selectMarker(marker:any):any; - mergeCursors():number[]; - expandSelectionsForward():any; - expandSelectionsBackward(fn:(selection:ISelection)=>any):ISelection[]; - finalizeSelections():boolean[]; - mergeIntersectingSelections():any; - preserveCursorPositionOnBufferReload():Emissary.ISubscription; - getGrammar(): IGrammar; - setGrammar(grammer:IGrammar):void; - reloadGrammar():any; - shouldAutoIndent():boolean; - shouldShowInvisibles():boolean; - updateInvisibles():void; - transact(fn:Function):any; - beginTransaction():ITransaction; - commitTransaction():any; - abortTransaction():any[]; - inspect():string; - logScreenLines(start:number, end:number):any[]; - handleTokenization():void; - handleGrammarChange():void; - handleMarkerCreated(marker:any):any; - getSelectionMarkerAttributes():{type: string; editorId: number; invalidate: string; }; - getVerticalScrollMargin():number; - setVerticalScrollMargin(verticalScrollMargin:number):void; - getHorizontalScrollMargin():number; - setHorizontalScrollMargin(horizontalScrollMargin:number):void; - getLineHeightInPixels():number; - setLineHeightInPixels(lineHeightInPixels:number):void; - batchCharacterMeasurement(fn:Function):void; - getScopedCharWidth(scopeNames:any, char:any):any; - setScopedCharWidth(scopeNames:any, char:any, width:any):any; - getScopedCharWidths(scopeNames:any):any; - clearScopedCharWidths():any; - getDefaultCharWidth():number; - setDefaultCharWidth(defaultCharWidth:number):void; - setHeight(height:number):void; - getHeight():number; - getClientHeight():number; - setWidth(width:number):void; - getWidth():number; - getScrollTop():number; - setScrollTop(scrollTop:number):void; - getScrollBottom():number; - setScrollBottom(scrollBottom:number):void; - getScrollLeft():number; - setScrollLeft(scrollLeft:number):void; - getScrollRight():number; - setScrollRight(scrollRight:number):void; - getScrollHeight():number; - getScrollWidth():number; - getVisibleRowRange():number; - intersectsVisibleRowRange(startRow:any, endRow:any):any; - selectionIntersectsVisibleRowRange(selection:any):any; - pixelPositionForScreenPosition(screenPosition:any):any; - pixelPositionForBufferPosition(bufferPosition:any):any; - screenPositionForPixelPosition(pixelPosition:any):any; - pixelRectForScreenRange(screenRange:any):any; - scrollToScreenRange(screenRange:any, options:any):any; - scrollToScreenPosition(screenPosition:any, options:any):any; - scrollToBufferPosition(bufferPosition:any, options:any):any; - horizontallyScrollable():any; - verticallyScrollable():any; - getHorizontalScrollbarHeight():any; - setHorizontalScrollbarHeight(height:any):any; - getVerticalScrollbarWidth():any; - setVerticalScrollbarWidth(width:any):any; - // deprecated joinLine():any; - - onDidChange(callback: Function): Disposable; - onDidDestroy(callback: Function): Disposable; - onDidStopChanging(callback: Function): Disposable; - onDidChangeCursorPosition(callback: Function): Disposable; - onDidSave(callback: (event: { path: string }) => void): Disposable; - - decorateMarker(marker: Marker, options: any): Decoration; - getLastCursor(): ICursor; - } + /** Moves the cursor right one screen column. */ + moveRight(columnCount?: number, options?: { moveToEndOfSelection?: boolean }): void; - interface IGrammar { - bundledPackage: boolean; - emitter: any; - fileTypes: [string]; - firstLineRegex: any; - foldingStopMarker: any; - includedGrammarScopes: [any]; - initialRule: any; - injectionSelector: any; - injections: any; - maxTokensPerLine: Number; - name: string; - packageName: string; - path: string; - rawPatterns: [any]; - rawRepository: any; - registration: Disposable; - registry: any; - repository: Object; - scopeName: string; - tokenizeLines: (text: string) => any; - // TBD + /** Moves the cursor to the top of the buffer. */ + moveToTop(): void; - } + /** Moves the cursor to the bottom of the buffer. */ + moveToBottom(): void; - interface IGrammars { - grammarForScopeName(scope: string): IGrammar; - } - - interface IPane /* extends Theorist.Model */ { - itemForURI: (uri:string)=>IEditor; - items:any[]; - activeItem:any; - - serializeParams():any; - deserializeParams(params:any):any; - getViewClass():any; // return type are PaneView - isActive():boolean; - isDestroyed():boolean; - focus():void; - blur():void; - activate():void; - getPanes():IPane[]; - getItems():any[]; - getActiveItem():any; - getActiveEditor():any; - itemAtIndex(index:number):any; - activateNextItem():any; - activatePreviousItem():any; - getActiveItemIndex():number; - activateItemAtIndex(index:number):any; - activateItem(item:any):any; - addItem(item:any, index:number):any; - addItems(items:any[], index:number):any[]; - removeItem(item:any, destroying:any):void; - moveItem(item:any, newIndex:number):void; - moveItemToPane(item:any, pane:IPane, index:number):void; - destroyActiveItem():boolean; // always return false - destroyItem(item:any):boolean; - destroyItems():any[]; - destroyInactiveItems():any[]; - destroy():void; - destroyed():any[]; - promptToSaveItem(item:any):boolean; - saveActiveItem():void; - saveActiveItemAs():void; - saveItem(item:any, nextAction:Function):void; - saveItemAs(item:any, nextAction:Function):void; - saveItems():any[]; - activateItemForURI(uri:any):any; - copyActiveItem():void; - splitLeft(params:any):IPane; - splitRight(params:any):IPane; - splitUp(params:any):IPane; - splitDown(params:any):IPane; - split(orientation:string, side:string, params:any):IPane; - findLeftmostSibling():IPane; - findOrCreateRightmostSibling():IPane; - } + /** Moves the cursor to the beginning of the line. */ + moveToBeginningOfScreenLine(): void; - // https://atom.io/docs/v0.84.0/advanced/serialization - interface ISerializationStatic { - deserialize(data:ISerializationInfo):T; - new (data:T): ISerialization; - } + /** Moves the cursor to the beginning of the buffer line. */ + moveToBeginningOfLine(): void; - interface ISerialization { - serialize():ISerializationInfo; - } + /** Moves the cursor to the beginning of the first character in the line. */ + moveToFirstCharacterOfLine(): void; - interface ISerializationInfo { - deserializer: string; - } + /** Moves the cursor to the end of the line. */ + moveToEndOfScreenLine(): void; - interface IBrowserWindow { - getPosition():number[]; - getSize():number[]; - } + /** Moves the cursor to the end of the buffer line. */ + moveToEndOfLine(): void; - interface IAtomWindowDimentions { - x:number; - y:number; - width:number; - height:number; - } + /** Moves the cursor to the beginning of the word. */ + moveToBeginningOfWord(): void; - interface IProjectStatic { - pathForRepositoryUrl(repoUrl:string):string; + /** Moves the cursor to the end of the word. */ + moveToEndOfWord(): void; - new (arg?:{path:any; buffers:any[];}):IProject; - } + /** Moves the cursor to the beginning of the next word. */ + moveToBeginningOfNextWord(): void; - interface IProject /* extends Theorist.Model */ { - // Serializable.includeInto(Project); - - path:string; - /** deprecated */ - rootDirectory?:PathWatcher.IDirectory; - rootDirectories:PathWatcher.IDirectory[]; - - serializeParams():any; - deserializeParams(params:any):any; - destroyed():any; - destroyRepo():any; - destroyUnretainedBuffers():any; - getRepo():IGit; - getPath():string; - setPath(projectPath:string):any; - getRootDirectory():PathWatcher.IDirectory; - resolve(uri:string):string; - relativize(fullPath:string):string; - contains(pathToCheck:string):boolean; - open(filePath:string, options?:any):Q.Promise; - openSync(filePath:string, options?:any):IEditor; - getBuffers():TextBuffer.ITextBuffer; - isPathModified(filePath:string):boolean; - findBufferForPath(filePath:string):TextBuffer.ITextBuffer; - bufferForPathSync(filePath:string):TextBuffer.ITextBuffer; - bufferForPath(filePath:string):Q.Promise; - bufferForId(id:any):TextBuffer.ITextBuffer; - buildBufferSync(absoluteFilePath:string):TextBuffer.ITextBuffer; - buildBuffer(absoluteFilePath:string):Q.Promise; - addBuffer(buffer:TextBuffer.ITextBuffer, options?:any):any; - addBufferAtIndex(buffer:TextBuffer.ITextBuffer, index:number, options?:any):any; - scan(regex:any, options:any, iterator:any):Q.Promise; - replace(regex:any, replacementText:any, filePaths:any, iterator:any):Q.Promise; - buildEditorForBuffer(buffer:any, editorOptions:any):IEditor; - eachBuffer(...args:any[]):any; - - onDidChangePaths(callback: Function): Disposable; - } + /** Moves the cursor to the previous word boundary. */ + moveToPreviousWordBoundary(): void; - interface IWorkspaceStatic { - new():IWorkspace; - } + /** Moves the cursor to the next word boundary. */ + moveToNextWordBoundary(): void; - interface IWorkspacePanelOptions{ - item:any; - visible?:boolean; - priority?:number; - } + /** Moves the cursor to the previous subword boundary. */ + moveToPreviousSubwordBoundary(): void; - interface Panel{ - getItem():any; - getPriority():any; - isVisible():boolean; - show():void; - hide():void; - } + /** Moves the cursor to the next subword boundary. */ + moveToNextSubwordBoundary(): void; - interface IWorkspace { - addBottomPanel(options:IWorkspacePanelOptions):Panel; - addLeftPanel(options:IWorkspacePanelOptions):Panel; - addRightPanel(options:IWorkspacePanelOptions):Panel; - addTopPanel(options:IWorkspacePanelOptions):Panel; - addModalPanel(options:IWorkspacePanelOptions):Panel; - addOpener(opener: Function): any; - - deserializeParams(params:any):any; - serializeParams():{paneContainer:any;fullScreen:boolean;}; - eachEditor(callback: Function): void; - getTextEditors():IEditor[]; - open(uri:string, options:any):Q.Promise; - openLicense():void; - openSync(uri:string, options:any):any; - openUriInPane(uri: string, pane: any, options: any): Q.Promise; - observeTextEditors(callback: Function): Disposable; - reopenItemSync():any; - registerOpener(opener:(urlToOpen:string)=>any):void; - unregisterOpener(opener:Function):void; - getOpeners():any; - getActivePane(): IPane; - getActivePaneItem(): IPane; - getActiveTextEditor(): IEditor; - getPanes():any; - saveAll():void; - activateNextPane():any; - activatePreviousPane():any; - paneForURI: (uri:string) => IPane; - saveActivePaneItem():any; - saveActivePaneItemAs():any; - destroyActivePaneItem():any; - destroyActivePane():any; - getActiveEditor():IEditor; - increaseFontSize():void; - decreaseFontSize():void; - resetFontSize():void; - itemOpened(item:any):void; - onPaneItemDestroyed(item:any):void; - destroyed():void; - isTextEditor(object: any): boolean; - - onDidChangeActivePaneItem(item:any):Disposable; - } + /** Moves the cursor to the beginning of the buffer line, skipping all whitespace. */ + skipLeadingWhitespace(): void; - interface IAtomSettings { - appVersion: string; - bootstrapScript: string; - devMode: boolean; - initialPath: string; - pathToOpen: string; - resourcePath: string; - shellLoadTime: number; - windowState:string; - } + /** Moves the cursor to the beginning of the next paragraph. */ + moveToBeginningOfNextParagraph(): void; - interface IAtomState { - mode:string; - packageStates:any; - project:any; - syntax:any; - version:number; - windowDimensions:any; - workspace:any; - } + /** Moves the cursor to the beginning of the previous paragraph. */ + moveToBeginningOfPreviousParagraph(): void; - interface IDeserializerManager { - deserializers:Function; - add:Function; - remove:Function; - deserialize:Function; - get:Function; - } + // Local Positions and Ranges + /** Returns buffer position of previous word boundary. It might be on the current + * word, or the previous word. + */ + getPreviousWordBoundaryBufferPosition(options?: { wordRegex?: RegExp }): + TextBuffer.Point; - interface IColorlike { - red: number; - green: number; - blue: number; - alpha: number; - } + /** Returns buffer position of the next word boundary. It might be on the current + * word, or the previous word. + */ + getNextWordBoundaryBufferPosition(options?: { wordRegex?: RegExp }): + TextBuffer.Point; - class Color { - public static parse(value:string): Color - public static parse(value:IColorlike): Color - public toHexString(): string - public toRGBAString(): string - } + /** Retrieves the buffer position of where the current word starts. */ + getBeginningOfCurrentWordBufferPosition(options?: { + wordRegex?: RegExp, + includeNonWordCharacters?: boolean, + allowPrevious?: boolean + }): TextBuffer.Point; - interface IConfigGetOptions { - sources?:Array; - excludeSources?:Array; - scope?:ScopeDescriptor; - } + /** Retrieves the buffer position of where the current word ends. */ + getEndOfCurrentWordBufferPosition(options?: { + wordRegex?: RegExp, + includeNonWordCharacters?: boolean + }): TextBuffer.Point; - interface IConfigSetOptions { - scopeSelector?:string; - source?:string; - } + /** Retrieves the buffer position of where the next word starts. */ + getBeginningOfNextWordBufferPosition(options?: { wordRegex?: RegExp }): TextBuffer.Point; - interface IConfigObserveOptions { - scope?:ScopeDescriptor; - } + /** Returns the buffer Range occupied by the word located under the cursor. */ + getCurrentWordBufferRange(options?: { wordRegex?: RegExp }): TextBuffer.Range; - interface IConfigChangeEvent { - newValue:T; - oldValue:T; - } + /** Returns the buffer Range for the current line. */ + getCurrentLineBufferRange(options?: { includeNewline?: boolean }): TextBuffer.Range; - type ConfigSetting = string | number | boolean | Color | IConfigArray | IConfigObject + /** Retrieves the range for the current paragraph. + * A paragraph is defined as a block of text surrounded by empty lines or comments. + */ + getCurrentParagraphBufferRange(): TextBuffer.Range; - interface IConfigArray extends Array { } + /** Returns the characters preceding the cursor in the current word. */ + getCurrentWordPrefix(): string; - interface IConfigObject { [key: string]: ConfigSetting } + // Visibility + /** Sets whether the cursor is visible. */ + setVisible(visible: boolean): void; - interface IConfig { - get(keyPath:string, options?:IConfigGetOptions):ConfigSetting; - set(keyPath:string, value:ConfigSetting, options?:IConfigSetOptions):boolean; - unset(keyPath:string, options?:IConfigSetOptions):void; - observe(keyPath:string, options?:IConfigObserveOptions, callback?:(value:ConfigSetting) => void):Disposable; - onDidChange(keyPath?:string, options?:IConfigObserveOptions, callback?:(event:IConfigChangeEvent) => void):Disposable; - } + /** Returns the visibility of the cursor. */ + isVisible(): boolean; - interface IKeymapManager { - defaultTarget:HTMLElement; - // TBD - } + // Comparing to another cursor + /** Compare this cursor's buffer position to another cursor's buffer position. + * See Point::compare for more details. + */ + compare(otherCursor: Cursor): number; - interface IPackage { - mainModulePath: string; - mainModule: any; - enable(): void; - disable(): void; - isTheme(): boolean; - getType(): string; - getStylesheetType(): string; - load(): IPackage; - reset(): void; - activate(): Q.Promise; - activateNow(): void; - // TBD - } + // Utilities + /** Prevents this cursor from causing scrolling. */ + clearAutoscroll(): void; - interface IPackageManager extends Emissary.IEmitter { - packageDirPaths:string[]; - loadedPackages:any; - activePackages:any; - packageStates:any; - packageActivators:any[]; - - getApmPath():string; - getPackageDirPaths():string; - getPackageState(name:string):any; - setPackageState(name:string, state:any):void; - enablePackage(name:string):any; - disablePackage(name:string):any; - activate():void; - registerPackageActivator(activator:any, types:any):void; - activatePackages(packages:any):void; - activatePackage(name:string):Q.Promise; - deactivatePackages():void; - deactivatePackage(name:string):void; - getActivePackages():any; - getActivePackage(name:string):any; - isPackageActive(name:string):boolean; - unobserveDisabledPackages():void; - observeDisabledPackages():void; - loadPackages():void; - loadPackage(nameOrPath:string):void; - unloadPackages():void; - unloadPackage(name:string):void; - getLoadedPackage(name:string):any; - isPackageLoaded(name:string):boolean; - getLoadedPackages():any; - getLoadedPackagesForTypes(types:any):any[]; - resolvePackagePath(name:string):string; - isPackageDisabled(name:string):boolean; - hasAtomEngine(packagePath:string):boolean; - isBundledPackage(name:string):boolean; - getPackageDependencies():any; - getAvailablePackagePaths():any[]; - getAvailablePackageNames():any[]; - getAvailablePackageMetadata():any[]; - } + /** Deselects the current selection. */ + clearSelection(): void; - interface INotifications { - addInfo: Function; - addError: Function; - addSuccess: Function; - addWarning: Function; - } + /** Get the RegExp used by the cursor to determine what a "word" is. */ + wordRegExp(options?: { includeNonWordCharacters?: boolean }): RegExp; + + /** Get the RegExp used by the cursor to determine what a "subword" is. */ + subwordRegExp(options?: { backwards?: boolean }): RegExp; + } - interface IThemeManager { - // TBD - } + /** Represents a decoration that follows a DisplayMarker. A decoration is basically + * a visual representation of a marker. It allows you to add CSS classes to line + * numbers in the gutter, lines, and add selection-line regions around marked ranges + * of text. + */ + interface Decoration { + id: number; + + // Construction and Destruction + /** Destroy this marker decoration. + * You can also destroy the marker if you own it, which will destroy this decoration. + */ + destroy(): void; + + // Event Subscription + /** When the Decoration is updated via Decoration::setProperties. */ + onDidChangeProperties(callback: (event: Events.DecorationPropsChanged) => void): + EventKit.Disposable; + + /** Invoke the given callback when the Decoration is destroyed. */ + onDidDestroy(callback: () => void): EventKit.Disposable; + + // Decoration Details + /** An id unique across all Decoration objects. */ + getId(): number; + + /** Returns the marker associated with this Decoration. */ + getMarker(): TextBuffer.DisplayMarker; + + // Properties + /** Returns the Decoration's properties. */ + getProperties(): Structures.DecorationProps; + + /** Update the marker with new Properties. Allows you to change the decoration's + * class. + */ + setProperties(newProperties: Structures.DecorationProps): void; + } + + interface Deserializer { + name: string; + deserialize(state: object): object; + } + + /** Manages the deserializers used for serialized state. */ + interface DeserializerManager { + /** Register the given class(es) as deserializers. */ + add(...deserializers: Deserializer[]): EventKit.Disposable; - interface IContextMenuManager { - // TBD - } + /** Deserialize the state and params. */ + deserialize(state: object): object|undefined; + } - interface IMenuManager { - // TBD - } + /** A container at the edges of the editor window capable of holding items. */ + interface Dock { + // Methods + /** Show the dock and focus its active Pane. */ + activate(): void; - interface IClipboard { - write(text:string, metadata?:any):any; - read():string; - } + /** Show the dock without focusing it. */ + show(): void; - interface ISyntax { - // TBD - } + /** Hide the dock and activate the WorkspaceCenter if the dock was was previously focused. */ + hide(): void; - interface IWindowEventHandler { - // TBD - } + /** Toggle the dock's visiblity without changing the Workspace's active pane container. */ + toggle(): void; + + /** Check if the dock is visible. */ + isVisible(): boolean; + + // Event Subscription + /** Invoke the given callback when the visibility of the dock changes. */ + onDidChangeVisible(callback: (visible: boolean) => void): EventKit.Disposable; + + /** Invoke the given callback with the current and all future visibilities of the dock. */ + observeVisible(callback: (visible: boolean) => void): EventKit.Disposable; + + /** Invoke the given callback with all current and future panes items in the dock. */ + observePaneItems(callback: (item: object) => void): EventKit.Disposable; + + /** Invoke the given callback when the active pane item changes. + * + * Because observers are invoked synchronously, it's important not to perform any expensive + * operations via this method. Consider ::onDidStopChangingActivePaneItem to delay operations + * until after changes stop occurring. + */ + onDidChangeActivePaneItem(callback: (item: object) => void): EventKit.Disposable; - interface IAtomStatic extends ISerializationStatic { - version: number; - loadSettings: IAtomSettings; - - /* Load or create the Atom environment in the given mode */ - loadOrCreate(mode:'editor'):IAtom; - /* Load or create the Atom environment in the given mode */ - loadOrCreate(mode:'spec'):IAtom; - /* Load or create the Atom environment in the given mode */ - loadOrCreate(mode:string):IAtom; - - loadState(mode:any):void; - getStatePath(mode:any):string; - getConfigDirPath():string; - getStorageDirPath():string; - getLoadSettings():IAtomSettings; - getCurrentWindow():IBrowserWindow; - getVersion():string; - isReleasedVersion():boolean; - - new(state:IAtomState):IAtom; - } + /** Invoke the given callback when the active pane item stops changing. */ + onDidStopChangingActivePaneItem(callback: (item: object) => void): EventKit.Disposable; - class Disposable { - constructor(disposalAction:any) - static isDisposable(object: any): boolean - dispose():void - } + /** Invoke the given callback with the current active pane item and with all future + * active pane items in the dock. + */ + observeActivePaneItem(callback: (item: object) => void): EventKit.Disposable; - class CompositeDisposable { - constructor(... disposables: Array) - clear():void - dispose():void - add(... disposables: Array): void - remove(disposable: Disposable): void - delete(disposable: Disposable): void - } + /** Invoke the given callback when a pane is added to the dock. */ + onDidAddPane(callback: (event: { pane: Pane }) => void): EventKit.Disposable; - // https://atom.io/docs/api/v0.106.0/api/classes/Atom.html - /* Global Atom class : instance members */ - interface IAtom { - constructor:IAtomStatic; - - state:IAtomState; - mode:string; - deserializers:IDeserializerManager; - config: IConfig; - commands: ICommandRegistry; - grammars: IGrammars; - keymaps: IKeymapManager; - keymap: IKeymapManager; - packages: IPackageManager; - themes: IThemeManager; - contextManu: IContextMenuManager; - menu: IMenuManager; - notifications: INotifications; // https://github.com/atom/notifications - clipboard:IClipboard; - syntax:ISyntax; - views: IViewRegistry; - windowEventHandler: IWindowEventHandler; - - // really exists? start - subscribe:Function; - unsubscribe:Function; - loadTime:number; - workspaceViewParentSelector:string; - - project: IProject; - workspaceView: IWorkspaceView; - workspace: IWorkspace; - // really exists? end - - initialize:Function; - // registerRepresentationClass:Function; - // registerRepresentationClasses:Function; - setBodyPlatformClass:Function; - getCurrentWindow():IBrowserWindow; - getWindowDimensions:Function; - setWindowDimensions:Function; - restoreWindowDimensions:Function; - storeWindowDimensions:Function; - getLoadSettings:Function; - deserializeProject: Function; - deserializeWorkspaceView:Function; - deserializePackageStates:Function; - deserializeEditorWindow:Function; - startEditorWindow:Function; - unloadEditorWindow:Function; - loadThemes:Function; - watchThemes:Function; - open:Function; - confirm:Function; - showSaveDialog:Function; - showSaveDialogSync:Function; - openDevTools:Function; - toggleDevTools:Function; - executeJavaScriptInDevTools:Function; - reload:Function; - focus:Function; - show:Function; - hide:Function; - setSize:Function; - setPosition:Function; - center:Function; - displayWindow:Function; - close:Function; - exit:Function; - inDevMode:Function; - inSpecMode:Function; - toggleFullScreen:Function; - setFullScreen:Function; - isFullScreen:Function; - getVersion:Function; - isReleasedVersion:Function; - getGitHubAuthTokenName:Function; - setGitHubAuthToken:Function; - getGitHubAuthToken:Function; - getConfigDirPath:Function; - saveSync:Function; - getWindowLoadTime():number; - crashMainProcess:Function; - crashRenderProcess:Function; - beep:Function; - getUserInitScriptPath:Function; - requireUserInitScript:Function; - requireWithGlobals:Function; - - services: any; // TODO: New services api - } + /** Invoke the given callback before a pane is destroyed in the dock. */ + onWillDestroyPane(callback: (event: { pane: Pane }) => void): EventKit.Disposable; - interface IBufferedNodeProcessStatic { - new (arg:any):IBufferedNodeProcess; - } + /** Invoke the given callback when a pane is destroyed in the dock. */ + onDidDestroyPane(callback: (event: { pane: Pane }) => void): EventKit.Disposable; - interface IBufferedNodeProcess extends IBufferedProcess { - } + /** Invoke the given callback with all current and future panes in the dock. */ + observePanes(callback: (pane: Pane) => void): EventKit.Disposable; - interface IBufferedProcessStatic { - new (arg:any):IBufferedProcess; - } + /** Invoke the given callback when the active pane changes. */ + onDidChangeActivePane(callback: (pane: Pane) => void): EventKit.Disposable; - interface IBufferedProcess { - process:Function; - killed:boolean; + /** Invoke the given callback with the current active pane and when the active pane changes. */ + observeActivePane(callback: (pane: Pane) => void): EventKit.Disposable; - bufferStream:Function; - kill:Function; - } + /** Invoke the given callback when a pane item is added to the dock. */ + onDidAddPaneItem(callback: (event: Events.PaneItemObserved) => void): + EventKit.Disposable; - interface IGitStatic { - new(path:any, options:any):IGit; - } + /** Invoke the given callback when a pane item is about to be destroyed, before the user is + * prompted to save it. + */ + onWillDestroyPaneItem(callback: (event: Events.PaneItemObserved) => void): + EventKit.Disposable; - interface IGit { - } + /** Invoke the given callback when a pane item is destroyed. */ + onDidDestroyPaneItem(callback: (event: Events.PaneItemObserved) => void): + EventKit.Disposable; - interface ITokenizedBuffer { - // TBD - } + // Pane Items + /** Get all pane items in the dock. */ + getPaneItems(): object[]; - interface ITokenizedLine { - // TBD - } + /** Get the active Pane's active item. */ + getActivePaneItem(): object; - interface IToken { - // TBD - } + // Panes + /** Returns an Array of Panes. */ + getPanes(): Pane[]; - interface IFoldStatic { - new (displayBuffer:IDisplayBuffer, marker:IMarker):IFold; - // TBD - } + /** Get the active Pane. */ + getActivePane(): Pane; - interface IFold { - id:number; - displayBuffer:IDisplayBuffer; - marker:IMarker; + /** Make the next pane active. */ + activateNextPane(): boolean; - // TBD - } + /** Make the previous pane active. */ + activatePreviousPane(): boolean; + } - interface IDisplayBufferMarkerStatic { - new (_arg:{bufferMarker:IMarker; displayBuffer: IDisplayBuffer}):IDisplayBufferMarker; - } + /** Represents the underlying git operations performed by Atom. */ + interface GitRepository { + // Lifecycle + /** Destroy this GitRepository object. */ + destroy(): void; - interface IDisplayBufferMarker extends Emissary.IEmitter, Emissary.ISubscriber { - constructor:IDisplayBufferMarkerStatic; - - id: number; - - bufferMarkerSubscription:any; - oldHeadBufferPosition:TextBuffer.IPoint; - oldHeadScreenPosition:TextBuffer.IPoint; - oldTailBufferPosition:TextBuffer.IPoint; - oldTailScreenPosition:TextBuffer.IPoint; - wasValid:boolean; - - bufferMarker: IMarker; - displayBuffer: IDisplayBuffer; - globalPauseCount:number; - globalQueuedEvents:any; - - subscriptions:Emissary.ISubscription[]; - subscriptionsByObject:any; // WeakMap - - copy(attributes?:any /* maybe IMarker */):IDisplayBufferMarker; - getScreenRange():TextBuffer.IRange; - setScreenRange(screenRange:any, options:any):any; - getBufferRange():TextBuffer.IRange; - setBufferRange(bufferRange:any, options:any):any; - getPixelRange():any; - getHeadScreenPosition():TextBuffer.IPoint; - setHeadScreenPosition(screenPosition:any, options:any):any; - getHeadBufferPosition():TextBuffer.IPoint; - setHeadBufferPosition(bufferPosition:any):any; - getTailScreenPosition():TextBuffer.IPoint; - setTailScreenPosition(screenPosition:any, options:any):any; - getTailBufferPosition():TextBuffer.IPoint; - setTailBufferPosition(bufferPosition:any):any; - plantTail():boolean; - clearTail():boolean; - hasTail():boolean; - isReversed():boolean; - isValid():boolean; - isDestroyed():boolean; - getAttributes():any; - setAttributes(attributes:any):any; - matchesAttributes(attributes:any):any; - destroy():any; - isEqual(other:IDisplayBufferMarker):boolean; - compare(other:IDisplayBufferMarker):boolean; - inspect():string; - destroyed():any; - notifyObservers(_arg:any):any; - } + /** Returns a boolean indicating if this repository has been destroyed. */ + isDestroyed(): boolean; - interface ITransaction { - // TBD - } + // Event Subscription + /** Invoke the given callback when this GitRepository's destroy() method is + * invoked. + */ + onDidDestroy(callback: () => void): EventKit.Disposable; - interface IMarker extends Emissary.IEmitter { - // Serializable.includeInto(Editor); - // Delegator.includeInto(Editor); + /** Invoke the given callback when a specific file's status has changed. When + * a file is updated, reloaded, etc, and the status changes, this will be fired. + */ + onDidChangeStatus(callback: (event: Events.RepoStatusChanged) => void): + EventKit.Disposable; - // TBD - } + /** Invoke the given callback when a multiple files' statuses have changed. */ + onDidChangeStatuses(callback: () => void): EventKit.Disposable; - interface ITaskStatic { - new(taskPath:any):ITask; - } + // Repository Details + /** A string indicating the type of version control system used by this repository. */ + getType(): "git"; + + /** Returns the string path of the repository. */ + getPath(): string; + + /** Returns the string working directory path of the repository. */ + getWorkingDirectory(): string; + + /** Returns true if at the root, false if in a subfolder of the repository. */ + isProjectAtRoot(): boolean; + + /** Makes a path relative to the repository's working directory. */ + relativize(): string; + + /** Returns true if the given branch exists. */ + hasBranch(branch: string): boolean; + + /** Retrieves a shortened version of the HEAD reference value. */ + getShortHead(path?: string): string; + + /** Is the given path a submodule in the repository? */ + isSubmodule(path: string): boolean; + + /** Returns the number of commits behind the current branch is from the its + * upstream remote branch. The default reference is the HEAD. + * @param reference The branch reference name. + * @param path The path in the repository to get this ifnromation for, only + * needed if the repository contains submodules. + * @return Returns the number of commits behind the current branch is from its + * upstream remote branch. + */ + getAheadBehindCount(reference: string, path?: string): { ahead: number, behind: number }; + + /** Get the cached ahead/behind commit counts for the current branch's + * upstream branch. + */ + getCachedUpstreamAheadBehindCount(path?: string): { ahead: number, behind: number }; + + /** Returns the git configuration value specified by the key. */ + getConfigValue(key: string, path?: string): string; + + /** Returns the origin url of the repository. */ + getOriginURL(path?: string): string; + + /** Returns the upstream branch for the current HEAD, or null if there is no + * upstream branch for the current HEAD. + */ + getUpstreamBranch(path?: string): string|null; + + /** Gets all the local and remote references. */ + getReferences(path?: string): { heads: string[], remotes: string[], tags: string[] }; + + /** Returns the current string SHA for the given reference. */ + getReferenceTarget(reference: string, path?: string): string; + + // Reading Status + /** Returns true if the given path is modified. */ + isPathModified(path: string): boolean; + + /** Returns true if the given path is new. */ + isPathNew(path: string): boolean; + + /** Is the given path ignored? */ + isPathIgnored(path: string): boolean; + + /** Get the status of a directory in the repository's working directory. */ + getDirectoryStatus(path: string): number; + + /** Get the status of a single path in the repository. */ + getPathStatus(path: string): number; + + /** Get the cached status for the given path. */ + getCachedPathStatus(path: string): number|null; + + /** Returns true if the given status indicates modification. */ + isStatusModified(status: number): boolean; + + /** Returns true if the given status indicates a new path. */ + isStatusNew(status: number): boolean; + + // Retrieving Diffs + /** Retrieves the number of lines added and removed to a path. + * This compares the working directory contents of the path to the HEAD version. + */ + getDiffStats(path: string): { added: number, deleted: number }; + + /** Retrieves the line diffs comparing the HEAD version of the given path + * and the given text. + */ + getLineDiffs(path: string, text: string): Array<{ oldStart: number, + newStart: number, oldLines: number, newLines: number }>; + + // Checking Out + /** Restore the contents of a path in the working directory and index to the + * version at HEAD. + */ + checkoutHead(path: string): boolean; + + /** Checks out a branch in your repository. */ + checkoutReference(reference: string, create: boolean): boolean; + } + + /** Represents a gutter within a TextEditor. */ + interface Gutter { + // Gutter Destruction + /** Destroys the gutter. */ + destroy(): void; + + // Event Subscription + /** Calls your callback when the gutter's visibility changes. */ + onDidChangeVisible(callback: (gutter: Gutter) => void): EventKit.Disposable; + + /** Calls your callback when the gutter is destroyed. */ + onDidDestroy(callback: () => void): EventKit.Disposable; + + // Visibility + /** Hide the gutter. */ + hide(): void; + + /** Show the gutter. */ + show(): void; + + /** Determine whether the gutter is visible. */ + isVisible(): boolean; + + /** Add a decoration that tracks a DisplayMarker. When the marker moves, is + * invalidated, or is destroyed, the decoration will be updated to reflect + * the marker's state. + */ + decorateMarker(marker: TextBuffer.DisplayMarker, decorationParams: + Structures.DecorationProps): Decoration; + } + + /** History manager for remembering which projects have been opened. + * An instance of this class is always available as the atom.history global. + * The project history is used to enable the 'Reopen Project' menu. + */ + interface HistoryManager { + /** Obtain a list of previously opened projects. */ + getProjects(): HistoryProject[]; + + /** Clear all projects from the history. + * Note: This is not a privacy function - other traces will still exist, e.g. + * window state. + */ + clearProjects(): void; + + /** Invoke the given callback when the list of projects changes. */ + onDidChangeProjects(callback: (args: { reloaded: boolean }) => void): EventKit.Disposable; + } + + interface HistoryProject { + paths: string[]; + lastOpened: Date; + } + + /** Represents a decoration that applies to every marker on a given layer. Created via + * TextEditor::decorateMarkerLayer. + */ + interface LayerDecoration { + /** Destroys the decoration. */ + destroy(): void; + + /** Determine whether this decoration is destroyed. */ + isDestroyed(): boolean; + + /** Get this decoration's properties. */ + getProperties(): Structures.DecorationLayerProps; + + /** Set this decoration's properties. */ + setProperties(newProperties: Structures.DecorationLayerProps): void; + + /** Override the decoration properties for a specific marker. */ + setPropertiesForMarker(marker: TextBuffer.DisplayMarker|TextBuffer.Marker, + properties: Structures.DecorationLayerProps): void; + } + + /** Provides a registry for menu items that you'd like to appear in the application menu. */ + interface MenuManager { + /** Adds the given items to the application menu. */ + add(items: ReadonlyArray): EventKit.Disposable; + + /** Refreshes the currently visible menu. */ + update(): void; + } + + interface Model { + // Properties + alive: boolean; + + // Lifecycle + /** Destroys this Model. */ + destroy(): void; + + /** Returns whether or not this Model is alive. */ + isAlive(): boolean; + + /** Returns whether or not this Model has been destroyed. */ + isDestroyed(): boolean; + } + + /** A notification to the user containing a message and type. */ + interface Notification { + // Properties + dismissed: boolean; + displayed: boolean; + timestamp: Date; + + // Event Subscription + /** Invoke the given callback when the notification is dismissed. */ + onDidDismiss(callback: (notification: Notification) => void): EventKit.Disposable; + + /** Invoke the given callback when the notification is displayed. */ + onDidDisplay(callback: (notification: Notification) => void): EventKit.Disposable; + + // Methods + /** Returns the Notification's type. */ + getType(): string; + + /** Returns the Notification's message. */ + getMessage(): string; + + /** Dismisses the notification, removing it from the UI. Calling this + * programmatically will call all callbacks added via onDidDismiss. + */ + dismiss(): void; + } + + /** A notification manager used to create Notifications to be shown to the user. */ + interface NotificationManager { + // Properties + notifications: Notification[]; + + // Events + /** Invoke the given callback after a notification has been added. */ + onDidAddNotification(callback: (notification: Notification) => void): + EventKit.Disposable; + + // Adding Notifications + /** Add a success notification. */ + addSuccess(message: string, options?: Options.Notification): Notification; + + /** Add an informational notification. */ + addInfo(message: string, options?: Options.Notification): Notification; + + /** Add a warning notification. */ + addWarning(message: string, options?: Options.Notification): Notification; + + /** Add an error notification. */ + addError(message: string, options?: Options.ErrorNotification): Notification; + + /** Add a fatal error notification. */ + addFatalError(message: string, options?: Options.ErrorNotification): Notification; + + // Getting Notifications + /** Get all the notifications. */ + getNotifications(): Notification[]; + } + + /** Loads and activates a package's main module and resources such as stylesheets, + * keymaps, grammar, editor properties, and menus. + */ + interface Package { + // Properties + name: string; + bundledPackage: boolean; + path: string; + + // Event Subscription + /** Invoke the given callback when all packages have been activated. */ + onDidDeactivate(callback: () => void): EventKit.Disposable; + + // Native Module Compatibility + /** Are all native modules depended on by this package correctly compiled + * against the current version of Atom? + */ + isCompatible(): boolean; + + /** Rebuild native modules in this package's dependencies for the current + * version of Atom. + */ + rebuild(): Promise<{ code: number, stdout: string, stderr: string }>; + + /** If a previous rebuild failed, get the contents of stderr. */ + getBuildFailureOutput(): string|null; + } + + /** Package manager for coordinating the lifecycle of Atom packages. */ + interface PackageManager { + // Event Subscription + /** Invoke the given callback when all packages have been loaded. */ + onDidLoadInitialPackages(callback: () => void): EventKit.Disposable; + + /** Invoke the given callback when all packages have been activated. */ + onDidActivateInitialPackages(callback: () => void): EventKit.Disposable; + + /** Invoke the given callback when a package is activated. */ + onDidActivatePackage(callback: (package: Package) => void): EventKit.Disposable; + + /** Invoke the given callback when a package is deactivated. */ + onDidDeactivatePackage(callback: (package: Package) => void): EventKit.Disposable; + + /** Invoke the given callback when a package is loaded. */ + onDidLoadPackage(callback: (package: Package) => void): EventKit.Disposable; + + /** Invoke the given callback when a package is unloaded. */ + onDidUnloadPackage(callback: (package: Package) => void): EventKit.Disposable; + + // Package System Data + /** Get the path to the apm command. */ + getApmPath(): string; + + /** Get the paths being used to look for packages. */ + getPackageDirPaths(): string[]; + + // General Package Data + /** Resolve the given package name to a path on disk. */ + resolvePackagePath(name: string): string|undefined; + + /** Is the package with the given name bundled with Atom? */ + isBundledPackage(name: string): boolean; + + // Enabling and Disabling Packages + /** Enable the package with the given name. */ + enablePackage(name: string): Package|undefined; + + /** Disable the package with the given name. */ + disablePackage(name: string): Package|undefined; + + /** Is the package with the given name disabled? */ + isPackageDisabled(name: string): boolean; + + // Accessing Active Packages + /** Get an Array of all the active Packages. */ + getActivePackages(): Package[]; + + /** Get the active Package with the given name. */ + getActivePackage(name: string): Package|undefined; + + /** Is the Package with the given name active? */ + isPackageActive(name: string): boolean; + + /** Returns a boolean indicating whether package activation has occurred. */ + hasActivatedInitialPackages(): boolean; + + // Accessing Loaded Packages + /** Get an Array of all the loaded Packages. */ + getLoadedPackages(): Package[]; + + /** Get the loaded Package with the given name. */ + getLoadedPackage(name: string): Package|undefined; + + /** Is the package with the given name loaded? */ + isPackageLoaded(name: string): boolean; + + /** Returns a boolean indicating whether package loading has occurred. */ + hasLoadedInitialPackages(): boolean; + + // Accessing Available Packages + /** Returns an Array of strings of all the available package paths. */ + getAvailablePackagePaths(): string[]; + + /** Returns an Array of strings of all the available package names. */ + getAvailablePackageNames(): string[]; + + /** Returns an Array of strings of all the available package metadata. */ + getAvailablePackageMetadata(): string[]; + } + + /** A container for presenting content in the center of the workspace. */ + interface Pane { + // Event Subscription + /** Invoke the given callback when the pane resizes. */ + onDidChangeFlexScale(callback: (flexScale: number) => void): EventKit.Disposable; + + /** Invoke the given callback with the current and future values of ::getFlexScale. */ + observeFlexScale(callback: (flexScale: number) => void): EventKit.Disposable; + + /** Invoke the given callback when the pane is activated. */ + onDidActivate(callback: () => void): EventKit.Disposable; - interface ITask { - // TBD + /** Invoke the given callback before the pane is destroyed. */ + onWillDestroy(callback: () => void): EventKit.Disposable; + + /** Invoke the given callback when the pane is destroyed. */ + onDidDestroy(callback: () => void): EventKit.Disposable; + + /** Invoke the given callback when the value of the ::isActive property changes. */ + onDidChangeActive(callback: (active: boolean) => void): EventKit.Disposable; + + /** Invoke the given callback with the current and future values of the ::isActive + * property. + */ + observeActive(callback: (active: boolean) => void): EventKit.Disposable; + + /** Invoke the given callback when an item is added to the pane. */ + onDidAddItem(callback: (event: Events.PaneListItemShifted) => void): + EventKit.Disposable; + + /** Invoke the given callback when an item is removed from the pane. */ + onDidRemoveItem(callback: (event: Events.PaneListItemShifted) => void): + EventKit.Disposable; + + /** Invoke the given callback before an item is removed from the pane. */ + onWillRemoveItem(callback: (event: Events.PaneListItemShifted) => void): + EventKit.Disposable; + + /** Invoke the given callback when an item is moved within the pane. */ + onDidMoveItem(callback: (event: Events.PaneItemMoved) => void): + EventKit.Disposable; + + /** Invoke the given callback with all current and future items. */ + observeItems(callback: (item: object) => void): EventKit.Disposable; + + /** Invoke the given callback when the value of ::getActiveItem changes. */ + onDidChangeActiveItem(callback: (activeItem: object) => void): EventKit.Disposable; + + /** Invoke the given callback when ::activateNextRecentlyUsedItem has been called, + * either initiating or continuing a forward MRU traversal of pane items. + */ + onChooseNextMRUItem(callback: (nextRecentlyUsedItem: object) => void): EventKit.Disposable; + + /** Invoke the given callback when ::activatePreviousRecentlyUsedItem has been called, + * either initiating or continuing a reverse MRU traversal of pane items. + */ + onChooseLastMRUItem(callback: (previousRecentlyUsedItem: object) => void): + EventKit.Disposable; + + /** Invoke the given callback when ::moveActiveItemToTopOfStack has been called, + * terminating an MRU traversal of pane items and moving the current active item + * to the top of the stack. Typically bound to a modifier (e.g. CTRL) key up event. + */ + onDoneChoosingMRUItem(callback: () => void): EventKit.Disposable; + + /** Invoke the given callback with the current and future values of ::getActiveItem. */ + observeActiveItem(callback: (activeItem: object) => void): EventKit.Disposable; + + /** Invoke the given callback before items are destroyed. */ + onWillDestroyItem(callback: (event: Events.PaneListItemShifted) => void): + EventKit.Disposable; + + // Items + /** Get the items in this pane. */ + getItems(): object[]; + + /** Get the active pane item in this pane. */ + getActiveItem(): object; + + /** Return the item at the given index. */ + itemAtIndex(index: number): object|undefined; + + /** Makes the next item active. */ + activateNextItem(): void; + + /** Makes the previous item active. */ + activatePreviousItem(): void; + + /** Move the active tab to the right. */ + moveItemRight(): void; + + /** Move the active tab to the left. */ + moveItemLeft(): void; + + /** Get the index of the active item. */ + getActiveItemIndex(): number; + + /** Activate the item at the given index. */ + activateItemAtIndex(index: number): void; + + /** Make the given item active, causing it to be displayed by the pane's view. */ + activateItem(item: object, options?: { pending: boolean }): void; + + /** Add the given item to the pane. */ + addItem(item: object, options?: { index?: number, pending?: boolean }): object; + + /** Add the given items to the pane. */ + addItems(items: object[], index?: number): object[]; + + /** Move the given item to the given index. */ + moveItem(item: object, index: number): void; + + /** Move the given item to the given index on another pane. */ + moveItemToPane(item: object, pane: Pane, index: number): void; + + /** Destroy the active item and activate the next item. */ + destroyActiveItem(): void; + + /** Destroy the given item. */ + destroyItem(item: object, force?: boolean): void; + + /** Destroy all items. */ + destroyItems(): void; + + /** Destroy all items except for the active item. */ + destroyInactiveItems(): void; + + /** Save the active item. */ + saveActiveItem(): void; + + /** Prompt the user for a location and save the active item with the path + * they select. + */ + saveActiveItemAs(nextAction?: (error?: Error) => T): T|undefined; + + /** Save the given item. */ + saveItem(item: object, nextAction?: (error?: Error) => T): T|undefined; + + /** Prompt the user for a location and save the active item with the path + * they select. + */ + saveItemAs(item: object, nextAction?: (error?: Error) => T): T|undefined; + + /** Save all items. */ + saveItems(): void; + + /** Return the first item that matches the given URI or undefined if none exists. */ + itemForURI(uri: string): object|undefined; + + /** Activate the first item that matches the given URI. */ + activateItemForURI(uri: string): boolean; + + // Lifecycle + /** Determine whether the pane is active. */ + isActive(): boolean; + + /** Makes this pane the active pane, causing it to gain focus. */ + activate(): void; + + /** Close the pane and destroy all its items. */ + destroy(): void; + + /** Determine whether this pane has been destroyed. */ + isDestroyed(): boolean; + + // Splitting + /** Create a new pane to the left of this pane. */ + splitLeft(params?: { + items?: object[], + copyActiveItem?: boolean, + }): Pane; + + /** Create a new pane to the right of this pane. */ + splitRight(params?: { + items?: object[], + copyActiveItem?: boolean, + }): Pane; + + /** Creates a new pane above the receiver. */ + splitUp(params?: { + items?: object[], + copyActiveItem?: boolean, + }): Pane; + + /** Creates a new pane below the receiver. */ + splitDown(params?: { + items?: object[], + copyActiveItem?: boolean, + }): Pane; + } + + /** A container representing a panel on the edges of the editor window. You + * should not create a Panel directly, instead use Workspace::addTopPanel and + * friends to add panels. + */ + interface Panel { + visible: boolean; + + // Construction and Destruction + /** Destroy and remove this panel from the UI. */ + destroy(): void; + + // Event Subscription + /** Invoke the given callback when the pane hidden or shown. */ + onDidChangeVisible(callback: (visible: boolean) => void): EventKit.Disposable; + + /** Invoke the given callback when the pane is destroyed. */ + onDidDestroy(callback: (panel: Panel) => void): EventKit.Disposable; + + // Panel Details + /** Returns the panel's item. */ + getItem(): object; + + /** Returns a number indicating this panel's priority. */ + getPriority(): number; + + /** Returns a boolean true when the panel is visible. */ + isVisible(): boolean; + + /** Hide this panel. */ + hide(): void; + + /** Show this panel. */ + show(): void; + } + + /** Represents a project that's opened in Atom. */ + interface Project { + // Event Subscription + /** Invoke the given callback when the project paths change. */ + onDidChangePaths(callback: (projectPaths: string[]) => void): EventKit.Disposable; + + /** Invoke the given callback when a text buffer is added to the project. */ + onDidAddBuffer(callback: (buffer: TextBuffer.TextBuffer) => void): EventKit.Disposable; + + /** Invoke the given callback with all current and future text buffers in + * the project. + */ + observeBuffers(callback: (buffer: TextBuffer.TextBuffer) => void): EventKit.Disposable; + + // Accessing the Git Repository + /** Get an Array of GitRepositorys associated with the project's directories. */ + getRepositories(): GitRepository[]; + + /** Get the repository for a given directory asynchronously. */ + repositoryForDirectory(directory: PathWatcher.Directory): Promise; + + // Managing Paths + /** Get an Array of strings containing the paths of the project's directories. */ + getPaths(): string[]; + + /** Set the paths of the project's directories. */ + setPaths(projectPaths: string[]): void; + + /** Add a path to the project's list of root paths. */ + addPath(projectPath: string): void; + + /** Remove a path from the project's list of root paths. */ + removePath(projectPath: string): void; + + /** Get an Array of Directorys associated with this project. */ + getDirectories(): PathWatcher.Directory[]; + + /** Get the relative path from the project directory to the given path. */ + relativize(fullPath: string): string; + + /** Get the path to the project directory that contains the given path, and + * the relative path from that project directory to the given path. + */ + relativizePath(fullPath: string): [string|null, string]; + + /** Determines whether the given path (real or symbolic) is inside the + * project's directory. + */ + contains(pathToCheck: string): boolean; + } + + /** Wraps an Array of Strings. The Array describes a path from the root of the + * syntax tree to a token including all scope names for the entire path. + */ + interface ScopeDescriptor { + scopes: string[]; + + /** Returns all scopes for this descriptor. */ + getScopesArray(): string[]; + } + + /** Represents a selection in the TextEditor. */ + interface Selection { + // Event Subscription + /** Calls your callback when the selection was moved. */ + onDidChangeRange(callback: (event: Events.SelectionChanged) => void): + EventKit.Disposable; + + /** Calls your callback when the selection was destroyed. */ + onDidDestroy(callback: () => void): EventKit.Disposable; + + // Managing the selection range + /** Returns the screen Range for the selection. */ + getScreenRange(): TextBuffer.Range; + + /** Modifies the screen range for the selection. */ + setScreenRange(screenRange: TextBuffer.RangeLike|[TextBuffer.PointLike, + TextBuffer.PointLike]|[TextBuffer.PointLike, [number, number]]|[[number, number], + TextBuffer.PointLike]|[[number, number], [number, number]], options?: + { preserveFolds?: boolean, autoscroll?: boolean }): void; + + /** Returns the buffer Range for the selection. */ + getBufferRange(): TextBuffer.Range; + + /** Modifies the buffer Range for the selection. */ + setBufferRange(bufferRange: TextBuffer.RangeLike|[TextBuffer.PointLike, + TextBuffer.PointLike]|[TextBuffer.PointLike, [number, number]]|[[number, number], + TextBuffer.PointLike]|[[number, number], [number, number]], options?: + { preserveFolds?: boolean, autoscroll?: boolean }): void; + + /** Returns the starting and ending buffer rows the selection is highlighting. */ + getBufferRowRange(): [number, number]; + + // Info about the selection + /** Determines if the selection contains anything. */ + isEmpty(): boolean; + + /** Determines if the ending position of a marker is greater than the starting position. + * This can happen when, for example, you highlight text "up" in a TextBuffer. + */ + isReversed(): boolean; + + /** Returns whether the selection is a single line or not. */ + isSingleScreenLine(): boolean; + + /** Returns the text in the selection. */ + getText(): string; + + // NOTE: this calls into Range.intersectsWith(), which is one of the few functions + // that doesn't take a range-compatible range, despite what the API says. + /** Identifies if a selection intersects with a given buffer range. */ + intersectsBufferRange(bufferRange: TextBuffer.RangeLike): boolean; + + /** Identifies if a selection intersects with another selection. */ + intersectsWith(otherSelection: Selection): boolean; + + // Modifying the selected range + /** Clears the selection, moving the marker to the head. */ + clear(options?: { autoscroll?: boolean }): void; + + /** Selects the text from the current cursor position to a given screen position. */ + selectToScreenPosition(position: TextBuffer.PointLike|[number, number]): void; + + /** Selects the text from the current cursor position to a given buffer position. */ + selectToBufferPosition(position: TextBuffer.PointLike|[number, number]): void; + + /** Selects the text one position right of the cursor. */ + selectRight(columnCount?: number): void; + + /** Selects the text one position left of the cursor. */ + selectLeft(columnCount?: number): void; + + /** Selects all the text one position above the cursor. */ + selectUp(rowCount?: number): void; + + /** Selects all the text one position below the cursor. */ + selectDown(rowCount?: number): void; + + /** Selects all the text from the current cursor position to the top of the + * buffer. + */ + selectToTop(): void; + + /** Selects all the text from the current cursor position to the bottom of + * the buffer. + */ + selectToBottom(): void; + + /** Selects all the text in the buffer. */ + selectAll(): void; + + /** Selects all the text from the current cursor position to the beginning of + * the line. + */ + selectToBeginningOfLine(): void; + + /** Selects all the text from the current cursor position to the first character + * of the line. + */ + selectToFirstCharacterOfLine(): void; + + /** Selects all the text from the current cursor position to the end of the + * screen line. + */ + selectToEndOfLine(): void; + + /** Selects all the text from the current cursor position to the end of the + * buffer line. + */ + selectToEndOfBufferLine(): void; + + /** Selects all the text from the current cursor position to the beginning + * of the word. + */ + selectToBeginningOfWord(): void; + + /** Selects all the text from the current cursor position to the end of the word. */ + selectToEndOfWord(): void; + + /** Selects all the text from the current cursor position to the beginning of + * the next word. + */ + selectToBeginningOfNextWord(): void; + + /** Selects text to the previous word boundary. */ + selectToPreviousWordBoundary(): void; + + /** Selects text to the next word boundary. */ + selectToNextWordBoundary(): void; + + /** Selects text to the previous subword boundary. */ + selectToPreviousSubwordBoundary(): void; + + /** Selects text to the next subword boundary. */ + selectToNextSubwordBoundary(): void; + + /** Selects all the text from the current cursor position to the beginning of + * the next paragraph. + */ + selectToBeginningOfNextParagraph(): void; + + /** Selects all the text from the current cursor position to the beginning of + * the previous paragraph. + */ + selectToBeginningOfPreviousParagraph(): void; + + /** Modifies the selection to encompass the current word. */ + selectWord(): void; + + /** Expands the newest selection to include the entire word on which the + * cursors rests. + */ + expandOverWord(): void; + + /** Selects an entire line in the buffer. */ + selectLine(row: number): void; + + /** Expands the newest selection to include the entire line on which the cursor + * currently rests. + * It also includes the newline character. + */ + expandOverLine(): void; + + // Modifying the selected text + /** Replaces text at the current selection. */ + insertText(text: string, options?: Options.TextInsertion): void; + + /** Removes the first character before the selection if the selection is empty + * otherwise it deletes the selection. + */ + backspace(): void; + + /** Removes the selection or, if nothing is selected, then all characters from + * the start of the selection back to the previous word boundary. + */ + deleteToPreviousWordBoundary(): void; + + /** Removes the selection or, if nothing is selected, then all characters from + * the start of the selection up to the next word boundary. + */ + deleteToNextWordBoundary(): void; + + /** Removes from the start of the selection to the beginning of the current + * word if the selection is empty otherwise it deletes the selection. + */ + deleteToBeginningOfWord(): void; + + /** Removes from the beginning of the line which the selection begins on all + * the way through to the end of the selection. + */ + deleteToBeginningOfLine(): void; + + /** Removes the selection or the next character after the start of the selection + * if the selection is empty. + */ + delete(): void; + + /** If the selection is empty, removes all text from the cursor to the end of + * the line. If the cursor is already at the end of the line, it removes the following + * newline. If the selection isn't empty, only deletes the contents of the selection. + */ + deleteToEndOfLine(): void; + + /** Removes the selection or all characters from the start of the selection to + * the end of the current word if nothing is selected. + */ + deleteToEndOfWord(): void; + + /** Removes the selection or all characters from the start of the selection to + * the end of the current word if nothing is selected. + */ + deleteToBeginningOfSubword(): void; + + /** Removes the selection or all characters from the start of the selection to + * the end of the current word if nothing is selected. + */ + deleteToEndOfSubword(): void; + + /** Removes only the selected text. */ + deleteSelectedText(): void; + + /** Removes the line at the beginning of the selection if the selection is empty + * unless the selection spans multiple lines in which case all lines are removed. + */ + deleteLine(): void; + + /** Joins the current line with the one below it. Lines will be separated by a single space. + * If there selection spans more than one line, all the lines are joined together. + */ + joinLines(): void; + + /** Removes one level of indent from the currently selected rows. */ + outdentSelectedRows(): void; + + /** Sets the indentation level of all selected rows to values suggested by the + * relevant grammars. + */ + autoIndentSelectedRows(): void; + + /** Wraps the selected lines in comments if they aren't currently part of a comment. + * Removes the comment if they are currently wrapped in a comment. + */ + toggleLineComments(): void; + + /** Cuts the selection until the end of the screen line. */ + cutToEndOfLine(): void; + + /** Cuts the selection until the end of the buffer line. */ + cutToEndOfBufferLine(): void; + + /** Copies the selection to the clipboard and then deletes it. */ + cut(maintainClipboard?: boolean, fullLine?: boolean): void; + + /** Copies the current selection to the clipboard. */ + copy(maintainClipboard?: boolean, fullLine?: boolean): void; + + /** Creates a fold containing the current selection. */ + fold(): void; + + /** If the selection spans multiple rows, indent all of them. */ + indentSelectedRows(): void; + + // Managing multiple selections + /** Moves the selection down one row. */ + addSelectionBelow(): void; + + /** Moves the selection up one row. */ + addSelectionAbove(): void; + + /** Combines the given selection into this selection and then destroys the + * given selection. + */ + merge(otherSelection: Selection, options?: { preserveFolds?: boolean, + autoscroll?: boolean }): void; + + // Comparing to other selections + /** Compare this selection's buffer range to another selection's buffer range. + * See Range::compare for more details. + */ + compare(otherSelection: Selection): number; + } + + /** A singleton instance of this class available via atom.styles, which you can + * use to globally query and observe the set of active style sheets. + */ + interface StyleManager { + // Event Subscription + /** Invoke callback for all current and future style elements. */ + observeStyleElements(callback: (styleElement: Events.StyleElementObserved) => + void): EventKit.Disposable; + + /** Invoke callback when a style element is added. */ + onDidAddStyleElement(callback: (styleElement: Events.StyleElementObserved) => + void): EventKit.Disposable; + + /** Invoke callback when a style element is removed. */ + onDidRemoveStyleElement(callback: (styleElement: HTMLStyleElement) => void): + EventKit.Disposable; + + /** Invoke callback when an existing style element is updated. */ + onDidUpdateStyleElement(callback: (styleElement: Events.StyleElementObserved) => + void): EventKit.Disposable; + + // Reading Style Elements + /** Get all loaded style elements. */ + getStyleElements(): HTMLStyleElement[]; + + // Paths + /** Get the path of the user style sheet in ~/.atom. */ + getUserStyleSheetPath(): string; + } + + /** Run a node script in a separate process. */ + interface Task { + // NOTE: this is actually the best we can do here with the REST parameter + // for this appearing in the beginning of the parameter list, which isn't + // aligned with the ES6 spec. + /** Starts the task. + * Throws an error if this task has already been terminated or if sending a + * message to the child process fails. + */ + start(...args: any[]): void; + + /** Send message to the task. + * Throws an error if this task has already been terminated or if sending a + * message to the child process fails. + */ + send(message: string): void; + + /** Call a function when an event is emitted by the child process. */ + on(eventName: string, callback: (param: any) => void): EventKit.Disposable; + + /** Forcefully stop the running task. + * No more events are emitted once this method is called. + */ + terminate(): void; + + /** Cancel the running task and emit an event if it was canceled. */ + cancel(): boolean; + } + + /** This class represents all essential editing state for a single TextBuffer, + * including cursor and selection positions, folds, and soft wraps. + */ + interface TextEditor extends Model { + // Properties + id: number; + buffer: TextBuffer.TextBuffer; + element: HTMLElement; + + // Event Subscription + /** Calls your callback when the buffer's title has changed. */ + onDidChangeTitle(callback: (title: string) => void): EventKit.Disposable; + + /** Calls your callback when the buffer's path, and therefore title, has changed. */ + onDidChangePath(callback: (path: string) => void): EventKit.Disposable; + + /** Invoke the given callback synchronously when the content of the buffer + * changes. + */ + onDidChange(callback: (event: Events.EditorChanged[]) => void): + EventKit.Disposable; + + /** Invoke callback when the buffer's contents change. It is emit + * asynchronously 300ms after the last buffer change. This is a good place + * to handle changes to the buffer without compromising typing performance. + */ + onDidStopChanging(callback: (event: TextBuffer.Events.BufferStoppedChanging) => void): + EventKit.Disposable; + + /** Calls your callback when a Cursor is moved. If there are multiple cursors, + * your callback will be called for each cursor. + */ + onDidChangeCursorPosition(callback: (event: Events.CursorPositionChanged) => void): + EventKit.Disposable; + + /** Calls your callback when a selection's screen range changes. */ + onDidChangeSelectionRange(callback: (event: Events.SelectionChanged) => void): + EventKit.Disposable; + + /** Invoke the given callback after the buffer is saved to disk. */ + onDidSave(callback: (event: { path: string }) => void): EventKit.Disposable; + + /** Invoke the given callback when the editor is destroyed. */ + onDidDestroy(callback: () => void): EventKit.Disposable; + + /** Retrieves the current TextBuffer. */ + getBuffer(): TextBuffer.TextBuffer; + + /** Calls your callback when a Gutter is added to the editor. Immediately calls + * your callback for each existing gutter. + */ + observeGutters(callback: (gutter: Gutter) => void): EventKit.Disposable; + + /** Calls your callback when a Gutter is added to the editor. */ + onDidAddGutter(callback: (gutter: Gutter) => void): EventKit.Disposable; + + /** Calls your callback when a Gutter is removed from the editor. */ + onDidRemoveGutter(callback: (name: string) => void): EventKit.Disposable; + + /** Calls your callback when soft wrap was enabled or disabled. */ + onDidChangeSoftWrapped(callback: (softWrapped: boolean) => void): EventKit.Disposable; + + /** Calls your callback when the buffer's encoding has changed. */ + onDidChangeEncoding(callback: (encoding: string) => void): EventKit.Disposable; + + /** Calls your callback when the grammar that interprets and colorizes the text + * has been changed. Immediately calls your callback with the current grammar. + */ + observeGrammar(callback: (grammar: FirstMate.Grammar) => void): EventKit.Disposable; + + /** Calls your callback when the grammar that interprets and colorizes the text + * has been changed. + */ + onDidChangeGrammar(callback: (grammar: FirstMate.Grammar) => void): EventKit.Disposable; + + /** Calls your callback when the result of ::isModified changes. */ + onDidChangeModified(callback: (modified: boolean) => void): EventKit.Disposable; + + /** Calls your callback when the buffer's underlying file changes on disk at a + * moment when the result of ::isModified is true. + */ + onDidConflict(callback: () => void): EventKit.Disposable; + + /** Calls your callback before text has been inserted. */ + onWillInsertText(callback: (event: { text: string, cancel(): void }) => void): + EventKit.Disposable; + + /** Calls your callback after text has been inserted. */ + onDidInsertText(callback: (event: { text: string }) => void): EventKit.Disposable; + + /** Calls your callback when a Cursor is added to the editor. Immediately calls + * your callback for each existing cursor. + */ + observeCursors(callback: (cursor: Cursor) => void): EventKit.Disposable; + + /** Calls your callback when a Cursor is added to the editor. */ + onDidAddCursor(callback: (cursor: Cursor) => void): EventKit.Disposable; + + /** Calls your callback when a Cursor is removed from the editor. */ + onDidRemoveCursor(callback: (cursor: Cursor) => void): EventKit.Disposable; + + /** Calls your callback when a Selection is added to the editor. Immediately + * calls your callback for each existing selection. + */ + observeSelections(callback: (selection: Selection) => void): EventKit.Disposable; + + /** Calls your callback when a Selection is added to the editor. */ + onDidAddSelection(callback: (selection: Selection) => void): EventKit.Disposable; + + /** Calls your callback when a Selection is removed from the editor. */ + onDidRemoveSelection(callback: (selection: Selection) => void): EventKit.Disposable; + + /** Calls your callback with each Decoration added to the editor. Calls your + * callback immediately for any existing decorations. + */ + observeDecorations(callback: (decoration: Decoration) => void): EventKit.Disposable; + + /** Calls your callback when a Decoration is added to the editor. */ + onDidAddDecoration(callback: (decoration: Decoration) => void): EventKit.Disposable; + + /** Calls your callback when a Decoration is removed from the editor. */ + onDidRemoveDecoration(callback: (decoration: Decoration) => void): EventKit.Disposable; + + /** Calls your callback when the placeholder text is changed. */ + onDidChangePlaceholderText(callback: (placeholderText: string) => void): EventKit.Disposable; + + // File Details + /** Get the editor's title for display in other parts of the UI such as the tabs. + * If the editor's buffer is saved, its title is the file name. If it is unsaved, + * its title is "untitled". + */ + getTitle(): string; + + /** Get unique title for display in other parts of the UI, such as the window title. + * If the editor's buffer is unsaved, its title is "untitled" If the editor's + * buffer is saved, its unique title is formatted as one of the following, + * + * "" when it is the only editing buffer with this file name. + * " — " when other buffers have this file name. + */ + getLongTitle(): string; + + /** Returns the string path of this editor's text buffer. */ + getPath(): string|undefined; + + /** Returns boolean true if this editor has been modified. */ + isModified(): boolean; + + /** Returns boolean true if this editor has no content. */ + isEmpty(): boolean; + + /** Returns the string character set encoding of this editor's text buffer. */ + getEncoding(): string; + + /** Set the character set encoding to use in this editor's text buffer. */ + setEncoding(encoding: string): void; + + // File Operations + /** Saves the editor's text buffer. + * See TextBuffer::save for more details. + */ + save(): void; + + /** Saves the editor's text buffer as the given path. + * See TextBuffer::saveAs for more details. + */ + saveAs(filePath: string): void; + + // Reading Text + /** Returns a string representing the entire contents of the editor. */ + getText(): string; + + /** Get the text in the given range in buffer coordinates. */ + getTextInBufferRange(range: TextBuffer.RangeLike|[TextBuffer.PointLike, + TextBuffer.PointLike]|[TextBuffer.PointLike, [number, number]]|[[number, number], + TextBuffer.PointLike]|[[number, number], [number, number]]): string; + + /** Returns a number representing the number of lines in the buffer. */ + getLineCount(): number; + + /** Returns a number representing the number of screen lines in the editor. + * This accounts for folds. + */ + getScreenLineCount(): number; + + /** Returns a number representing the last zero-indexed buffer row number of + * the editor. + */ + getLastBufferRow(): number; + + /** Returns a number representing the last zero-indexed screen row number of + * the editor. + */ + getLastScreenRow(): number; + + /** Returns a string representing the contents of the line at the given + * buffer row. + */ + lineTextForBufferRow(bufferRow: number): string; + + /** Returns a string representing the contents of the line at the given + * screen row. + */ + lineTextForScreenRow(screenRow: number): string; + + /** Get the range of the paragraph surrounding the most recently added cursor. */ + getCurrentParagraphBufferRange(): TextBuffer.Range; + + // Mutating Text + /** Replaces the entire contents of the buffer with the given string. */ + setText(text: string): void; + + /** Set the text in the given Range in buffer coordinates. */ + setTextInBufferRange(range: TextBuffer.RangeLike|[TextBuffer.PointLike, + TextBuffer.PointLike]|[TextBuffer.PointLike, [number, number]]|[[number, number], + TextBuffer.PointLike]|[[number, number], [number, number]], text: string, + options?: { normalizeLineEndings?: boolean, undo?: "skip" }): void; + + /* For each selection, replace the selected text with the given text. */ + insertText(text: string, options?: { select?: boolean, autoIndent?: boolean, + autoIndentNewline?: boolean, autoDecreaseIndent?: boolean, + normalizeLineEndings?: boolean, undo?: "skip" }): TextBuffer.Range|boolean; + + /** For each selection, replace the selected text with a newline. */ + insertNewline(): void; + + /** For each selection, if the selection is empty, delete the character following + * the cursor. Otherwise delete the selected text. + */ + delete(): void; + + /** For each selection, if the selection is empty, delete the character preceding + * the cursor. Otherwise delete the selected text. + */ + backspace(): void; + + /** Mutate the text of all the selections in a single transaction. + * All the changes made inside the given function can be reverted with a single + * call to ::undo. + */ + mutateSelectedText(fn: (selection: Selection, index: number) => void): void; + + /** For each selection, transpose the selected text. + * If the selection is empty, the characters preceding and following the cursor + * are swapped. Otherwise, the selected characters are reversed. + */ + transpose(): void; + + /** Convert the selected text to upper case. + * For each selection, if the selection is empty, converts the containing word + * to upper case. Otherwise convert the selected text to upper case. + */ + upperCase(): void; + + /** Convert the selected text to lower case. + * For each selection, if the selection is empty, converts the containing word + * to upper case. Otherwise convert the selected text to upper case. + */ + lowerCase(): void; + + /** Toggle line comments for rows intersecting selections. + * If the current grammar doesn't support comments, does nothing. + */ + toggleLineCommentsInSelection(): void; + + /** For each cursor, insert a newline at beginning the following line. */ + insertNewlineBelow(): void; + + /** For each cursor, insert a newline at the end of the preceding line. */ + insertNewlineAbove(): void; + + /** For each selection, if the selection is empty, delete all characters of the + * containing word that precede the cursor. Otherwise delete the selected text. + */ + deleteToBeginningOfWord(): void; + + /** Similar to ::deleteToBeginningOfWord, but deletes only back to the previous + * word boundary. + */ + deleteToPreviousWordBoundary(): void; + + /** Similar to ::deleteToEndOfWord, but deletes only up to the next word boundary. */ + deleteToNextWordBoundary(): void; + + /** For each selection, if the selection is empty, delete all characters of the + * containing subword following the cursor. Otherwise delete the selected text. + */ + deleteToBeginningOfSubword(): void; + + /** For each selection, if the selection is empty, delete all characters of the + * containing subword following the cursor. Otherwise delete the selected text. + */ + deleteToEndOfSubword(): void; + + /** For each selection, if the selection is empty, delete all characters of the + * containing line that precede the cursor. Otherwise delete the selected text. + */ + deleteToBeginningOfLine(): void; + + /** For each selection, if the selection is not empty, deletes the selection + * otherwise, deletes all characters of the containing line following the cursor. + * If the cursor is already at the end of the line, deletes the following newline. + */ + deleteToEndOfLine(): void; + + /** For each selection, if the selection is empty, delete all characters of the + * containing word following the cursor. Otherwise delete the selected text. + */ + deleteToEndOfWord(): void; + + /** Delete all lines intersecting selections. */ + deleteLine(): void; + + // History + /** Undo the last change. */ + undo(): void; + + /** Redo the last change. */ + redo(): void; + + /** Batch multiple operations as a single undo/redo step. + * Any group of operations that are logically grouped from the perspective of undoing + * and redoing should be performed in a transaction. If you want to abort the transaction, + * call ::abortTransaction to terminate the function's execution and revert any changes + * performed up to the abortion. + */ + transact(fn: () => void): void; + /** Batch multiple operations as a single undo/redo step. + * Any group of operations that are logically grouped from the perspective of undoing + * and redoing should be performed in a transaction. If you want to abort the transaction, + * call ::abortTransaction to terminate the function's execution and revert any changes + * performed up to the abortion. + */ + transact(groupingInterval: number, fn: () => void): void; + + /** Abort an open transaction, undoing any operations performed so far within the transaction. */ + abortTransaction(): void; + + /** Create a pointer to the current state of the buffer for use with ::revertToCheckpoint + * and ::groupChangesSinceCheckpoint. + */ + createCheckpoint(): number; + + /** Revert the buffer to the state it was in when the given checkpoint was created. + * The redo stack will be empty following this operation, so changes since the checkpoint + * will be lost. If the given checkpoint is no longer present in the undo history, no + * changes will be made to the buffer and this method will return false. + */ + revertToCheckpoint(checkpoint: number): boolean; + + /** Group all changes since the given checkpoint into a single transaction for purposes + * of undo/redo. + * If the given checkpoint is no longer present in the undo history, no grouping will be + * performed and this method will return false. + */ + groupChangesSinceCheckpoint(checkpoint: number): boolean; + + // TextEditor Coordinates + /** Convert a position in buffer-coordinates to screen-coordinates. */ + screenPositionForBufferPosition(bufferPosition: TextBuffer.PointLike|[number, number], + options?: { clipDirection?: "backward"|"forward"|"closest"}): TextBuffer.Point; + + /** Convert a position in screen-coordinates to buffer-coordinates. */ + bufferPositionForScreenPosition(bufferPosition: TextBuffer.PointLike|[number, number], + options?: { clipDirection?: "backward"|"forward"|"closest"}): TextBuffer.Point; + + /** Convert a range in buffer-coordinates to screen-coordinates. */ + screenRangeForBufferRange(bufferRange: TextBuffer.RangeLike|[TextBuffer.PointLike, + TextBuffer.PointLike]|[TextBuffer.PointLike, [number, number]]|[[number, number], + TextBuffer.PointLike]|[[number, number], [number, number]]): TextBuffer.Range; + + /** Convert a range in screen-coordinates to buffer-coordinates. */ + bufferRangeForScreenRange(screenRange: TextBuffer.RangeLike|[TextBuffer.PointLike, + TextBuffer.PointLike]|[TextBuffer.PointLike, [number, number]]|[[number, number], + TextBuffer.PointLike]|[[number, number], [number, number]]): TextBuffer.Range; + + /** Clip the given Point to a valid position in the buffer. */ + clipBufferPosition(bufferPosition: TextBuffer.PointLike|[number, number]): + TextBuffer.Point; + + /** Clip the start and end of the given range to valid positions in the buffer. + * See ::clipBufferPosition for more information. + */ + clipBufferRange(range: TextBuffer.RangeLike|[TextBuffer.PointLike, TextBuffer.PointLike]| + [TextBuffer.PointLike, [number, number]]|[[number, number], TextBuffer.PointLike]| + [[number, number], [number, number]]): TextBuffer.Range; + + /** Clip the given Point to a valid position on screen. */ + clipScreenPosition(screenPosition: TextBuffer.PointLike|[number, number], + options?: { clipDirection?: "backward"|"forward"|"closest"}): TextBuffer.Point; + + /** Clip the start and end of the given range to valid positions on screen. + * See ::clipScreenPosition for more information. + */ + clipScreenRange(range: TextBuffer.RangeLike|[TextBuffer.PointLike, TextBuffer.PointLike]| + [TextBuffer.PointLike, [number, number]]|[[number, number], TextBuffer.PointLike]| + [[number, number], [number, number]], options?: { clipDirection?: + "backward"|"forward"|"closest"}): TextBuffer.Range; + + // Decorations + /** Add a decoration that tracks a DisplayMarker. When the marker moves, is + * invalidated, or is destroyed, the decoration will be updated to reflect + * the marker's state. + */ + decorateMarker(marker: TextBuffer.DisplayMarker, decorationParams: + Structures.DecorationProps): Decoration; + + /** Add a decoration to every marker in the given marker layer. Can be used to + * decorate a large number of markers without having to create and manage many + * individual decorations. + */ + decorateMarkerLayer(markerLayer: TextBuffer.MarkerLayer|TextBuffer.DisplayMarkerLayer, + decorationParams: Structures.DecorationLayerProps): LayerDecoration; + + /** Get all decorations. */ + getDecorations(propertyFilter?: Structures.DecorationProps): Decoration[]; + + /** Get all decorations of type 'line'. */ + getLineDecorations(propertyFilter?: Structures.DecorationProps): Decoration[]; + + /** Get all decorations of type 'line-number'. */ + getLineNumberDecorations(propertyFilter?: Structures.DecorationProps): Decoration[]; + + /** Get all decorations of type 'highlight'. */ + getHighlightDecorations(propertyFilter?: Structures.DecorationProps): Decoration[]; + + /** Get all decorations of type 'overlay'. */ + getOverlayDecorations(propertyFilter?: Structures.DecorationProps): Decoration[]; + + // Markers + /** Create a marker on the default marker layer with the given range in buffer coordinates. + * This marker will maintain its logical location as the buffer is changed, so if you mark + * a particular word, the marker will remain over that word even if the word's location + * in the buffer changes. + */ + markBufferRange(range: TextBuffer.RangeLike|[TextBuffer.PointLike, TextBuffer.PointLike]| + [TextBuffer.PointLike, [number, number]]|[[number, number], TextBuffer.PointLike]| + [[number, number], [number, number]], properties?: { maintainHistory?: boolean, + reversed?: boolean, invalidate?: "never"|"surround"|"overlap"|"inside"|"touch" }): + TextBuffer.DisplayMarker; + + /** Create a marker on the default marker layer with the given range in screen coordinates. + * This marker will maintain its logical location as the buffer is changed, so if you mark + * a particular word, the marker will remain over that word even if the word's location in + * the buffer changes. + */ + markScreenRange(range: TextBuffer.RangeLike|[TextBuffer.PointLike, TextBuffer.PointLike]| + [TextBuffer.PointLike, [number, number]]|[[number, number], TextBuffer.PointLike]| + [[number, number], [number, number]], properties?: { maintainHistory?: boolean, + reversed?: boolean, invalidate?: "never"|"surround"|"overlap"|"inside"|"touch" }): + TextBuffer.DisplayMarker; + + /** Create a marker on the default marker layer with the given buffer position and no tail. + * To group multiple markers together in their own private layer, see ::addMarkerLayer. + */ + markBufferPosition(bufferPosition: TextBuffer.PointLike|[number, number], options?: + { invalidate?: "never"|"surround"|"overlap"|"inside"|"touch" }): + TextBuffer.DisplayMarker; + + /** Create a marker on the default marker layer with the given screen position and no tail. + * To group multiple markers together in their own private layer, see ::addMarkerLayer. + */ + markScreenPosition(screenPosition: TextBuffer.PointLike|[number, number], options?: + { invalidate?: "never"|"surround"|"overlap"|"inside"|"touch", clipDirection?: + "backward"|"forward"|"closest" }): TextBuffer.DisplayMarker; + + /** Find all DisplayMarkers on the default marker layer that match the given properties. + * + * This method finds markers based on the given properties. Markers can be associated + * with custom properties that will be compared with basic equality. In addition, there + * are several special properties that will be compared with the range of the markers + * rather than their properties. + */ + findMarkers(properties: TextBuffer.Options.FindDisplayMarker): TextBuffer.DisplayMarker[]; + + /** Create a marker layer to group related markers. */ + addMarkerLayer(options?: { + maintainHistory?: boolean, + persistent?: boolean, + }): TextBuffer.DisplayMarkerLayer; + + /** Get a DisplayMarkerLayer by id. */ + getMarkerLayer(id: number): TextBuffer.DisplayMarkerLayer|undefined; + + /** Get the default DisplayMarkerLayer. + * All marker APIs not tied to an explicit layer interact with this default layer. + */ + getDefaultMarkerLayer(): TextBuffer.DisplayMarkerLayer; + + /** Get the DisplayMarker on the default layer for the given marker id. */ + getMarker(id: number): TextBuffer.DisplayMarker; + + /** Get all DisplayMarkers on the default marker layer. Consider using ::findMarkers. */ + getMarkers(): TextBuffer.DisplayMarker[]; + + /** Get the number of markers in the default marker layer. */ + getMarkerCount(): number; + + // Cursors + /** Get the position of the most recently added cursor in buffer coordinates. */ + getCursorBufferPosition(): TextBuffer.Point; + + /** Get the position of all the cursor positions in buffer coordinates. */ + getCursorBufferPositions(): TextBuffer.Point[]; + + /** Move the cursor to the given position in buffer coordinates. + * If there are multiple cursors, they will be consolidated to a single cursor. + */ + setCursorBufferPosition(position: TextBuffer.PointLike|[number, number], options?: + { autoscroll?: boolean }): void; + + /** Get a Cursor at given screen coordinates Point. */ + getCursorAtScreenPosition(position: TextBuffer.PointLike|[number, number]): + Cursor|undefined; + + /** Get the position of the most recently added cursor in screen coordinates. */ + getCursorScreenPosition(): TextBuffer.Point; + + /** Get the position of all the cursor positions in screen coordinates. */ + getCursorScreenPositions(): TextBuffer.Point[]; + + /** Move the cursor to the given position in screen coordinates. + * If there are multiple cursors, they will be consolidated to a single cursor. + */ + setCursorScreenPosition(position: TextBuffer.PointLike|[number, number], + options?: { autoscroll?: boolean }): void; + + /** Add a cursor at the given position in buffer coordinates. */ + addCursorAtBufferPosition(bufferPosition: TextBuffer.PointLike|[number, number]): Cursor; + + /** Add a cursor at the position in screen coordinates. */ + addCursorAtScreenPosition(screenPosition: TextBuffer.PointLike|[number, number]): Cursor; + + /** Returns a boolean indicating whether or not there are multiple cursors. */ + hasMultipleCursors(): boolean; + + /** Move every cursor up one row in screen coordinates. */ + moveUp(lineCount?: number): void; + + /** Move every cursor down one row in screen coordinates. */ + moveDown(lineCount?: number): void; + + /** Move every cursor left one column. */ + moveLeft(columnCount?: number): void; + + /** Move every cursor right one column. */ + moveRight(columnCount?: number): void; + + /** Move every cursor to the beginning of its line in buffer coordinates. */ + moveToBeginningOfLine(): void; + + /** Move every cursor to the beginning of its line in screen coordinates. */ + moveToBeginningOfScreenLine(): void; + + /** Move every cursor to the first non-whitespace character of its line. */ + moveToFirstCharacterOfLine(): void; + + /** Move every cursor to the end of its line in buffer coordinates. */ + moveToEndOfLine(): void; + + /** Move every cursor to the end of its line in screen coordinates. */ + moveToEndOfScreenLine(): void; + + /** Move every cursor to the beginning of its surrounding word. */ + moveToBeginningOfWord(): void; + + /** Move every cursor to the end of its surrounding word. */ + moveToEndOfWord(): void; + + /** Move every cursor to the top of the buffer. + * If there are multiple cursors, they will be merged into a single cursor. + */ + moveToTop(): void; + + /** Move every cursor to the bottom of the buffer. + * If there are multiple cursors, they will be merged into a single cursor. + */ + moveToBottom(): void; + + /** Move every cursor to the beginning of the next word. */ + moveToBeginningOfNextWord(): void; + + /** Move every cursor to the previous word boundary. */ + moveToPreviousWordBoundary(): void; + + /** Move every cursor to the next word boundary. */ + moveToNextWordBoundary(): void; + + /** Move every cursor to the previous subword boundary. */ + moveToPreviousSubwordBoundary(): void; + + /** Move every cursor to the next subword boundary. */ + moveToNextSubwordBoundary(): void; + + /** Move every cursor to the beginning of the next paragraph. */ + moveToBeginningOfNextParagraph(): void; + + /** Move every cursor to the beginning of the previous paragraph. */ + moveToBeginningOfPreviousParagraph(): void; + + /** Returns the most recently added Cursor. */ + getLastCursor(): Cursor; + + /** Returns the word surrounding the most recently added cursor. */ + getWordUnderCursor(options?: { + wordRegex?: RegExp, + includeNonWordCharacters?: boolean, + allowPrevious?: boolean, + }): string; + + /** Get an Array of all Cursors. */ + getCursors(): Cursor[]; + + /** Get all Cursorss, ordered by their position in the buffer instead of the + * order in which they were added. + */ + getCursorsOrderedByBufferPosition(): Cursor[]; + + // Selections + /** Get the selected text of the most recently added selection. */ + getSelectedText(): string; + + /** Get the Range of the most recently added selection in buffer coordinates. */ + getSelectedBufferRange(): TextBuffer.Range; + + /** Get the Ranges of all selections in buffer coordinates. + * The ranges are sorted by when the selections were added. Most recent at the end. + */ + getSelectedBufferRanges(): TextBuffer.Range[]; + + /** Set the selected range in buffer coordinates. If there are multiple selections, + * they are reduced to a single selection with the given range. + */ + setSelectedBufferRange(bufferRange: TextBuffer.RangeLike|[TextBuffer.PointLike, + TextBuffer.PointLike]|[TextBuffer.PointLike, [number, number]]|[[number, number], + TextBuffer.PointLike]|[[number, number], [number, number]], options?: + { reversed?: boolean, preserveFolds?: boolean}): void; + + /** Set the selected ranges in buffer coordinates. If there are multiple selections, + * they are replaced by new selections with the given ranges. + */ + setSelectedBufferRanges(bufferRanges: ReadonlyArray, + options?: { reversed?: boolean, preserveFolds?: boolean}): void; + + /** Get the Range of the most recently added selection in screen coordinates. */ + getSelectedScreenRange(): TextBuffer.Range; + + /** Get the Ranges of all selections in screen coordinates. + * The ranges are sorted by when the selections were added. Most recent at the end. + */ + getSelectedScreenRanges(): TextBuffer.Range[]; + + /** Set the selected range in screen coordinates. If there are multiple selections, + * they are reduced to a single selection with the given range. + */ + setSelectedScreenRange(screenRange: TextBuffer.RangeLike|[TextBuffer.PointLike, + TextBuffer.PointLike]|[TextBuffer.PointLike, [number, number]]|[[number, number], + TextBuffer.PointLike]|[[number, number], [number, number]], options?: + { reversed?: boolean }): void; + + /** Set the selected ranges in screen coordinates. If there are multiple selections, + * they are replaced by new selections with the given ranges. + */ + setSelectedScreenRanges(screenRanges: ReadonlyArray, options?: { reversed?: boolean }): void; + + /** Add a selection for the given range in buffer coordinates. */ + addSelectionForBufferRange(bufferRange: TextBuffer.RangeLike|[TextBuffer.PointLike, + TextBuffer.PointLike]|[TextBuffer.PointLike, [number, number]]|[[number, number], + TextBuffer.PointLike]|[[number, number], [number, number]], options?: + { reversed?: boolean, preserveFolds?: boolean }): Selection; + + /** Add a selection for the given range in screen coordinates. */ + addSelectionForScreenRange(screenRange: TextBuffer.RangeLike|[TextBuffer.PointLike, + TextBuffer.PointLike]|[TextBuffer.PointLike, [number, number]]|[[number, number], + TextBuffer.PointLike]|[[number, number], [number, number]], options?: + { reversed?: boolean, preserveFolds?: boolean }): Selection; + + /** Select from the current cursor position to the given position in buffer coordinates. + * This method may merge selections that end up intesecting. + */ + selectToBufferPosition(position: TextBuffer.PointLike|[number, number]): void; + + /** Select from the current cursor position to the given position in screen coordinates. + * This method may merge selections that end up intesecting. + */ + selectToScreenPosition(position: TextBuffer.PointLike|[number, number]): void; + + /** Move the cursor of each selection one character upward while preserving the + * selection's tail position. + * This method may merge selections that end up intesecting. + */ + selectUp(rowCount?: number): void; + + /** Move the cursor of each selection one character downward while preserving + * the selection's tail position. + * This method may merge selections that end up intesecting. + */ + selectDown(rowCount?: number): void; + + /** Move the cursor of each selection one character leftward while preserving + * the selection's tail position. + * This method may merge selections that end up intesecting. + */ + selectLeft(columnCount?: number): void; + + /** Move the cursor of each selection one character rightward while preserving + * the selection's tail position. + * This method may merge selections that end up intesecting. + */ + selectRight(columnCount?: number): void; + + /** Select from the top of the buffer to the end of the last selection in the buffer. + * This method merges multiple selections into a single selection. + */ + selectToTop(): void; + + /** Selects from the top of the first selection in the buffer to the end of the buffer. + * This method merges multiple selections into a single selection. + */ + selectToBottom(): void; + + /** Select all text in the buffer. + * This method merges multiple selections into a single selection. + */ + selectAll(): void; + + /** Move the cursor of each selection to the beginning of its line while preserving + * the selection's tail position. + * This method may merge selections that end up intesecting. + */ + selectToBeginningOfLine(): void; + + /** Move the cursor of each selection to the first non-whitespace character of its + * line while preserving the selection's tail position. If the cursor is already + * on the first character of the line, move it to the beginning of the line. + * This method may merge selections that end up intersecting. + */ + selectToFirstCharacterOfLine(): void; + + /** Move the cursor of each selection to the end of its line while preserving the + * selection's tail position. + * This method may merge selections that end up intersecting. + */ + selectToEndOfLine(): void; + + /** Expand selections to the beginning of their containing word. + * Operates on all selections. Moves the cursor to the beginning of the containing + * word while preserving the selection's tail position. + */ + selectToBeginningOfWord(): void; + + /** Expand selections to the end of their containing word. + * Operates on all selections. Moves the cursor to the end of the containing word + * while preserving the selection's tail position. + */ + selectToEndOfWord(): void; + + /** For each cursor, select the containing line. + * This method merges selections on successive lines. + */ + selectLinesContainingCursors(): void; + + /** Select the word surrounding each cursor. */ + selectWordsContainingCursors(): void; + + /** For each selection, move its cursor to the preceding subword boundary while + * maintaining the selection's tail position. + * This method may merge selections that end up intersecting. + */ + selectToPreviousSubwordBoundary(): void; + + /** For each selection, move its cursor to the next subword boundary while maintaining + * the selection's tail position. + * This method may merge selections that end up intersecting. + */ + selectToNextSubwordBoundary(): void; + + /** For each selection, move its cursor to the preceding word boundary while + * maintaining the selection's tail position. + * This method may merge selections that end up intersecting. + */ + selectToPreviousWordBoundary(): void; + + /** For each selection, move its cursor to the next word boundary while maintaining + * the selection's tail position. + * This method may merge selections that end up intersecting. + */ + selectToNextWordBoundary(): void; + + /** Expand selections to the beginning of the next word. + * Operates on all selections. Moves the cursor to the beginning of the next word + * while preserving the selection's tail position. + */ + selectToBeginningOfNextWord(): void; + + /** Expand selections to the beginning of the next paragraph. + * Operates on all selections. Moves the cursor to the beginning of the next + * paragraph while preserving the selection's tail position. + */ + selectToBeginningOfNextParagraph(): void; + + /** Expand selections to the beginning of the next paragraph. + * Operates on all selections. Moves the cursor to the beginning of the next + * paragraph while preserving the selection's tail position. + */ + selectToBeginningOfPreviousParagraph(): void; + + /** Select the range of the given marker if it is valid. */ + selectMarker(marker: TextBuffer.DisplayMarker): TextBuffer.Range|undefined; + + /** Get the most recently added Selection. */ + getLastSelection(): Selection; + + /** Get current Selections. */ + getSelections(): Selection[]; + + /** Get all Selections, ordered by their position in the buffer instead of the + * order in which they were added. + */ + getSelectionsOrderedByBufferPosition(): Selection[]; + + // NOTE: this calls into Selection::intersectsBufferRange, which itself calls + // into Range::intersectsWith. Range::intersectsWith is one of the few functions + // which does NOT take a range-compatible array. + /** Determine if a given range in buffer coordinates intersects a selection. */ + selectionIntersectsBufferRange(bufferRange: TextBuffer.RangeLike): boolean; + + // Searching and Replacing + /** Scan regular expression matches in the entire buffer, calling the given + * iterator function on each match. + * + * ::scan functions as the replace method as well via the replace. + */ + scan(regex: RegExp, options: TextBuffer.Options.ScanContext, iterator: (params: + TextBuffer.Structures.ContextualBufferScanResult) => void): void; + /** Scan regular expression matches in the entire buffer, calling the given + * iterator function on each match. + * + * ::scan functions as the replace method as well via the replace. + */ + scan(regex: RegExp, iterator: (params: TextBuffer.Structures.BufferScanResult) => void): + void; + + /** Scan regular expression matches in a given range, calling the given iterator. + * function on each match. + */ + scanInBufferRange(regex: RegExp, range: TextBuffer.RangeLike|[TextBuffer.PointLike, + TextBuffer.PointLike]|[TextBuffer.PointLike, [number, number]]|[[number, number], + TextBuffer.PointLike]|[[number, number], [number, number]], iterator: (params: + TextBuffer.Structures.BufferScanResult) => void): void; + + /** Scan regular expression matches in a given range in reverse order, calling the + * given iterator function on each match. + */ + backwardsScanInBufferRange(regex: RegExp, range: TextBuffer.RangeLike|[TextBuffer.PointLike, + TextBuffer.PointLike]|[TextBuffer.PointLike, [number, number]]|[[number, number], + TextBuffer.PointLike]|[[number, number], [number, number]], iterator: (params: + TextBuffer.Structures.BufferScanResult) => void): void; + + // Tab Behavior + /** Returns a boolean indicating whether softTabs are enabled for this editor. */ + getSoftTabs(): boolean; + + /** Enable or disable soft tabs for this editor. */ + setSoftTabs(softTabs: boolean): void; + + /** Toggle soft tabs for this editor. */ + toggleSoftTabs(): boolean; + + /** Get the on-screen length of tab characters. */ + getTabLength(): number; + + /** Set the on-screen length of tab characters. Setting this to a number will + * override the editor.tabLength setting. + */ + setTabLength(tabLength: number): void; + + /** Determine if the buffer uses hard or soft tabs. */ + usesSoftTabs(): boolean|undefined; + + /** Get the text representing a single level of indent. + * If soft tabs are enabled, the text is composed of N spaces, where N is the + * tab length. Otherwise the text is a tab character (\t). + */ + getTabText(): string; + + // Soft Wrap Behavior + /** Determine whether lines in this editor are soft-wrapped. */ + isSoftWrapped(): boolean; + + /** Enable or disable soft wrapping for this editor. */ + setSoftWrapped(softWrapped: boolean): boolean; + + /** Toggle soft wrapping for this editor. */ + toggleSoftWrapped(): boolean; + + /** Gets the column at which column will soft wrap. */ + getSoftWrapColumn(): number; + + // Indentation + /** Get the indentation level of the given buffer row. + * Determines how deeply the given row is indented based on the soft tabs and tab + * length settings of this editor. Note that if soft tabs are enabled and the tab + * length is 2, a row with 4 leading spaces would have an indentation level of 2. + */ + indentationForBufferRow(bufferRow: number): number; + + /** Set the indentation level for the given buffer row. + * Inserts or removes hard tabs or spaces based on the soft tabs and tab length settings + * of this editor in order to bring it to the given indentation level. Note that if soft + * tabs are enabled and the tab length is 2, a row with 4 leading spaces would have an + * indentation level of 2. + */ + setIndentationForBufferRow(bufferRow: number, newLevel: number, options?: + { preserveLeadingWhitespace?: boolean }): void; + + /** Indent rows intersecting selections by one level. */ + indentSelectedRows(): void; + + /** Outdent rows intersecting selections by one level. */ + outdentSelectedRows(): void; + + /** Get the indentation level of the given line of text. + * Determines how deeply the given line is indented based on the soft tabs and tab length + * settings of this editor. Note that if soft tabs are enabled and the tab length is 2, + * a row with 4 leading spaces would have an indentation level of 2. + */ + indentLevelForLine(line: string): number; + + /** Indent rows intersecting selections based on the grammar's suggested indent level. */ + autoIndentSelectedRows(): void; + + // Grammars + /** Get the current Grammar of this editor. */ + getGrammar(): FirstMate.Grammar; + + /** Set the current Grammar of this editor. + * Assigning a grammar will cause the editor to re-tokenize based on the new grammar. + */ + setGrammar(grammar: FirstMate.Grammar): void; + + // Managing Syntax Scopes + /** Returns a ScopeDescriptor that includes this editor's language. + * e.g. [".source.ruby"], or [".source.coffee"]. + */ + getRootScopeDescriptor(): ScopeDescriptor; + + /** Get the syntactic scopeDescriptor for the given position in buffer coordinates. */ + scopeDescriptorForBufferPosition(bufferPosition: TextBuffer.PointLike|[number, number]): + ScopeDescriptor; + + /** Get the range in buffer coordinates of all tokens surrounding the cursor + * that match the given scope selector. + */ + bufferRangeForScopeAtCursor(scopeSelector: string): TextBuffer.Range; + + /** Determine if the given row is entirely a comment. */ + isBufferRowCommented(bufferRow: number): boolean; + + // Clipboard Operations + /** For each selection, copy the selected text. */ + copySelectedText(): void; + + /** For each selection, cut the selected text. */ + cutSelectedText(): void; + + /** For each selection, replace the selected text with the contents of the clipboard. + * If the clipboard contains the same number of selections as the current editor, + * each selection will be replaced with the content of the corresponding clipboard + * selection text. + */ + pasteText(options?: Options.TextInsertion): void; + + /** For each selection, if the selection is empty, cut all characters of the + * containing screen line following the cursor. Otherwise cut the selected text. + */ + cutToEndOfLine(): void; + + /** For each selection, if the selection is empty, cut all characters of the + * containing buffer line following the cursor. Otherwise cut the selected text. + */ + cutToEndOfBufferLine(): void; + + // Folds + /** Fold the most recent cursor's row based on its indentation level. + * The fold will extend from the nearest preceding line with a lower indentation + * level up to the nearest following row with a lower indentation level. + */ + foldCurrentRow(): void; + + /** Unfold the most recent cursor's row by one level. */ + unfoldCurrentRow(): void; + + /** Fold the given row in buffer coordinates based on its indentation level. + * If the given row is foldable, the fold will begin there. Otherwise, it will + * begin at the first foldable row preceding the given row. + */ + foldBufferRow(bufferRow: number): void; + + /** Unfold all folds containing the given row in buffer coordinates. */ + unfoldBufferRow(bufferRow: number): void; + + /** For each selection, fold the rows it intersects. */ + foldSelectedLines(): void; + + /** Fold all foldable lines. */ + foldAll(): void; + + /** Unfold all existing folds. */ + unfoldAll(): void; + + /** Fold all foldable lines at the given indent level. */ + foldAllAtIndentLevel(level: number): void; + + /** Determine whether the given row in buffer coordinates is foldable. + * A foldable row is a row that starts a row range that can be folded. + */ + isFoldableAtBufferRow(bufferRow: number): boolean; + + /** Determine whether the given row in screen coordinates is foldable. + * A foldable row is a row that starts a row range that can be folded. + */ + isFoldableAtScreenRow(bufferRow: number): boolean; + + /** Fold the given buffer row if it isn't currently folded, and unfold it otherwise. */ + toggleFoldAtBufferRow(bufferRow: number): void; + + /** Determine whether the most recently added cursor's row is folded. */ + isFoldedAtCursorRow(): boolean; + + /** Determine whether the given row in buffer coordinates is folded. */ + isFoldedAtBufferRow(bufferRow: number): boolean; + + /** Determine whether the given row in screen coordinates is folded. */ + isFoldedAtScreenRow(screenRow: number): boolean; + + // Gutters + /** Add a custom Gutter. */ + addGutter(options: { + name: string, + priority?: number, + visible?: boolean, + }): Gutter; + + /** Get this editor's gutters. */ + getGutters(): Gutter[]; + + /** Get the gutter with the given name. */ + gutterWithName(name: string): Gutter|null; + + // Scrolling the TextEditor + /** Scroll the editor to reveal the most recently added cursor if it is off-screen. */ + scrollToCursorPosition(options?: { center?: boolean }): void; + + /** Scrolls the editor to the given buffer position. */ + scrollToBufferPosition(bufferPosition: TextBuffer.PointLike|[number, number], + options?: { center?: boolean }): void; + + /** Scrolls the editor to the given screen position. */ + scrollToScreenPosition(screenPosition: TextBuffer.PointLike|[number, number], + options?: { center?: boolean }): void; + + // TextEditor Rendering + /** Retrieves the rendered line height in pixels. */ + getLineHeightInPixels(): number; + + /** Retrieves the greyed out placeholder of a mini editor. */ + getPlaceholderText(): string; + + /** Set the greyed out placeholder of a mini editor. Placeholder text will be + * displayed when the editor has no content. + */ + setPlaceholderText(placeholderText: string): void; + } + + /** Experimental: This global registry tracks registered TextEditors. */ + interface TextEditorRegistry { + // Managing Text Editors + /** Remove all editors from the registry. */ + clear(): void; + + /** Register a TextEditor. */ + add(editor: TextEditor): EventKit.Disposable; + + /** Remove the given TextEditor from the registry. */ + remove(editor: TextEditor): boolean; + + /** Keep a TextEditor's configuration in sync with Atom's settings. */ + maintainConfig(editor: TextEditor): EventKit.Disposable; + + /** Set a TextEditor's grammar based on its path and content, and continue + * to update its grammar as gramamrs are added or updated, or the editor's + * file path changes. + */ + maintainGrammar(editor: TextEditor): EventKit.Disposable; + + /** Force a TextEditor to use a different grammar than the one that would + * otherwise be selected for it. + */ + setGrammarOverride(editor: TextEditor, scopeName: string): void; + + /** Retrieve the grammar scope name that has been set as a grammar override + * for the given TextEditor. + */ + getGrammarOverride(editor: TextEditor): string|null; + + /** Remove any grammar override that has been set for the given {TextEditor}. */ + clearGrammarOverride(editor: TextEditor): void; + + // Event Subscription + /** Invoke the given callback with all the current and future registered TextEditors. */ + observe(callback: (editor: TextEditor) => void): EventKit.Disposable; + } + + /** Handles loading and activating available themes. */ + interface ThemeManager { + // Event Subscription + /** Invoke callback when style sheet changes associated with updating the + * list of active themes have completed. + */ + onDidChangeActiveThemes(callback: () => void): EventKit.Disposable; + + // Accessing Loaded Themes + /** Returns an Array of strings of all the loaded theme names. */ + getLoadedThemeNames(): string[]|undefined; + + /** Returns an Array of all the loaded themes. */ + getLoadedThemes(): Package[]|undefined; + + // Accessing Active Themes + /** Returns an Array of strings all the active theme names. */ + getActiveThemeNames(): string[]|undefined; + + /** Returns an Array of all the active themes. */ + getActiveThemes(): Package[]|undefined; + + // Managing Enabled Themes + /** Get the enabled theme names from the config. */ + getEnabledThemeNames(): string[]; + } + + /** This tooltip class is derived from Bootstrap 3, but modified to not require + * jQuery, which is an expensive dependency we want to eliminate. + */ + interface Tooltip { + options: Options.Tooltip; + enabled: boolean; + timeout: number; + hoverState: "in"|"out"|null; + element: JQuery|HTMLElement; + + getTitle(): string; + getTooltipElement(): HTMLElement; + getArrowElement(): HTMLElement; + enable(): void; + disable(): void; + toggleEnabled(): void; + toggle(): void; + recalculatePosition(): void; + } + + /** Associates tooltips with HTML elements or selectors. */ + interface TooltipManager { + /** Add a tooltip to the given element. */ + add(target: JQuery|HTMLElement, options: { + title?: string, + html?: boolean, + item?: HTMLElement|{ element: HTMLElement }, + class?: string, + placement?: "top"|"bottom"|"left"|"right"|"auto"|(() => string), + trigger?: "click"|"hover"|"focus"|"manual", + delay?: { show: number, hide: number }, + keyBindingCommand?: string, + keyBindingTarget?: HTMLElement + } | { + title?: string|(() => string), + html?: boolean, + item?: HTMLElement|{ element: HTMLElement }, + class?: string, + placement?: "top"|"bottom"|"left"|"right"|"auto"|(() => string), + trigger?: "click"|"hover"|"focus"|"manual", + delay?: { show: number, hide: number }, + }): EventKit.Disposable; + + /** Find the tooltips that have been applied to the given element. */ + findTooltips(target: HTMLElement): Tooltip[]; + } + + /** ViewRegistry handles the association between model and view types in Atom. + * We call this association a View Provider. As in, for a given model, this class + * can provide a view via ::getView, as long as the model/view association was + * registered via ::addViewProvider. + */ + interface ViewRegistry { + /** Add a provider that will be used to construct views in the workspace's view + * layer based on model objects in its model layer. + */ + addViewProvider(createView: (model: object) => HTMLElement|undefined): EventKit.Disposable; + /** Add a provider that will be used to construct views in the workspace's view + * layer based on model objects in its model layer. + */ + addViewProvider(modelConstructor: { new (...args: any[]): T }, createView: + (instance: T) => HTMLElement|undefined): EventKit.Disposable; + + /** Get the view associated with an object in the workspace. */ + getView(obj: object): HTMLElement; + } + + /** Represents the state of the user interface for the entire window. */ + interface Workspace { + // Event Subscription + /** Invoke the given callback with all current and future text editors in + * the workspace. + */ + observeTextEditors(callback: (editor: TextEditor) => void): EventKit.Disposable; + + /** Invoke the given callback with all current and future panes items in the + * workspace. + */ + observePaneItems(callback: (item: object) => void): EventKit.Disposable; + + /** Invoke the given callback when the active pane item changes. */ + onDidChangeActivePaneItem(callback: (item: object) => void): EventKit.Disposable; + + /** Invoke the given callback when the active pane item stops changing. */ + onDidStopChangingActivePaneItem(callback: (item: object) => void): EventKit.Disposable; + + /** Invoke the given callback when a text editor becomes the active text editor and + * when there is no longer an active text editor. + */ + onDidChangeActiveTextEditor(callback: (editor?: TextEditor) => void): EventKit.Disposable; + + /** Invoke the given callback with the current active pane item and with all + * future active pane items in the workspace. + */ + observeActivePaneItem(callback: (item: object) => void): EventKit.Disposable; + + /** Invoke the given callback with the current active text editor (if any), with all + * future active text editors, and when there is no longer an active text editor. + */ + observeActiveTextEditor(callback: (editor?: TextEditor) => void): EventKit.Disposable; + + /** Invoke the given callback whenever an item is opened. Unlike ::onDidAddPaneItem, + * observers will be notified for items that are already present in the workspace + * when they are reopened. + */ + onDidOpen(callback: (event: Events.PaneItemOpened) => void): EventKit.Disposable; + + /** Invoke the given callback when a pane is added to the workspace. */ + onDidAddPane(callback: (event: { pane: Pane }) => void): EventKit.Disposable; + + /** Invoke the given callback before a pane is destroyed in the workspace. */ + onWillDestroyPane(callback: (event: { pane: Pane }) => void): EventKit.Disposable; + + /** Invoke the given callback when a pane is destroyed in the workspace. */ + onDidDestroyPane(callback: (event: { pane: Pane }) => void): EventKit.Disposable; + + /** Invoke the given callback with all current and future panes in the workspace. */ + observePanes(callback: (pane: Pane) => void): EventKit.Disposable; + + /** Invoke the given callback when the active pane changes. */ + onDidChangeActivePane(callback: (pane: Pane) => void): EventKit.Disposable; + + /** Invoke the given callback with the current active pane and when the + * active pane changes. + */ + observeActivePane(callback: (pane: Pane) => void): EventKit.Disposable; + + /** Invoke the given callback when a pane item is added to the workspace. */ + onDidAddPaneItem(callback: (event: Events.PaneItemObserved) => void): + EventKit.Disposable; + + /** Invoke the given callback when a pane item is about to be destroyed, + * before the user is prompted to save it. + */ + onWillDestroyPaneItem(callback: (event: Events.PaneItemObserved) => void): + EventKit.Disposable; + + /** Invoke the given callback when a pane item is destroyed. */ + onDidDestroyPaneItem(callback: (event: Events.PaneItemObserved) => void): + EventKit.Disposable; + + /** Invoke the given callback when a text editor is added to the workspace. */ + onDidAddTextEditor(callback: (event: Events.TextEditorObserved) => void): + EventKit.Disposable; + + // Opening + /** Opens the given URI in Atom asynchronously. If the URI is already open, + * the existing item for that URI will be activated. If no URI is given, or + * no registered opener can open the URI, a new empty TextEditor will be created. + */ + open(uri: string, options?: { + initialLine?: number, + initialColumn?: number, + split?: "left"|"right"|"up"|"down", + activatePane?: boolean, + activateItem?: boolean, + pending?: boolean, + searchAllPanes?: boolean, + location?: "left"|"right"|"bottom"|"center", + }): Promise; + /** Opens the given URI in Atom asynchronously. If the URI is already open, + * the existing item for that URI will be activated. If no URI is given, or + * no registered opener can open the URI, a new empty TextEditor will be created. + */ + open(): Promise; + + /** Search the workspace for items matching the given URI and hide them. + * Returns a boolean indicating whether any items were found (and hidden). + */ + hide(itemOrURI: object|string): boolean; + + /** Search the workspace for items matching the given URI. If any are found, + * hide them. Otherwise, open the URL. + * Returns a Promise that resolves when the item is shown or hidden. + */ + toggle(itemOrURI: object|string): Promise; + + /** Creates a new item that corresponds to the provided URI. + * If no URI is given, or no registered opener can open the URI, a new empty TextEditor + * will be created. + */ + createItemForURI(uri: string): Promise; + + /** Returns a boolean that is true if object is a TextEditor. */ + isTextEditor(object: object): boolean; + + /** Asynchronously reopens the last-closed item's URI if it hasn't already + * been reopened. + */ + reopenItem(): Promise; + + /** Register an opener for a URI. */ + addOpener(opener: (uri: string) => HTMLElement|{ getTitle(): string }|undefined): + EventKit.Disposable; + + /** Create a new text editor. */ + buildTextEditor(params: object): TextEditor; + + // Pane Items + /** Get all pane items in the workspace. */ + getPaneItems(): object[]; + + /** Get the active Pane's active item. */ + getActivePaneItem(): object; + + /** Get all text editors in the workspace. */ + getTextEditors(): TextEditor[]; + + /** Get the workspace center's active item if it is a TextEditor. */ + getActiveTextEditor(): TextEditor|undefined; + + // Panes + /** Get the most recently focused pane container. */ + getActivePaneContainer(): Dock|WorkspaceCenter; + + /** Get all panes in the workspace. */ + getPanes(): Pane[]; + + /** Get the active Pane. */ + getActivePane(): Pane; + + /** Make the next pane active. */ + activateNextPane(): boolean; + + /** Make the previous pane active. */ + activatePreviousPane(): boolean; + + /** Get the first pane container that contains an item with the given URI. */ + paneContainerForURI(uri: string): Dock|WorkspaceCenter|undefined; + + /** Get the first pane container that contains the given item. */ + paneContainerForItem(item: object): Dock|WorkspaceCenter|undefined; + + /** Get the first Pane with an item for the given URI. */ + paneForURI(uri: string): Pane|undefined; + + /** Get the Pane containing the given item. */ + paneForItem(item: object): Pane|undefined; + + // Pane Locations + /** Get the WorkspaceCenter at the center of the editor window. */ + getCenter(): WorkspaceCenter; + + /** Get the Dock to the left of the editor window. */ + getLeftDock(): Dock; + + /** Get the Dock to the right of the editor window. */ + getRightDock(): Dock; + + /** Get the Dock below the editor window. */ + getBottomDock(): Dock; + + /** Returns all Pane containers. */ + getPaneContainers(): [WorkspaceCenter, Dock, Dock, Dock]; + + // Panels + /** Get an Array of all the panel items at the bottom of the editor window. */ + getBottomPanels(): Panel[]; + + /** Adds a panel item to the bottom of the editor window. */ + addBottomPanel(options: { + item: object, + visible?: boolean, + priority?: number, + }): Panel; + + /** Get an Array of all the panel items to the left of the editor window. */ + getLeftPanels(): Panel[]; + + /** Adds a panel item to the left of the editor window. */ + addLeftPanel(options: { + item: object, + visible?: boolean, + priority?: number, + }): Panel; + + /** Get an Array of all the panel items to the right of the editor window. */ + getRightPanels(): Panel[]; + + /** Adds a panel item to the right of the editor window. */ + addRightPanel(options: { + item: object, + visible?: boolean, + priority?: number, + }): Panel; + + /** Get an Array of all the panel items at the top of the editor window. */ + getTopPanels(): Panel[]; + + /** Adds a panel item to the top of the editor window above the tabs. */ + addTopPanel(options: { + item: object, + visible?: boolean, + priority?: number + }): Panel; + + /** Get an Array of all the panel items in the header. */ + getHeaderPanels(): Panel[]; + + /** Adds a panel item to the header. */ + addHeaderPanel(options: { + item: object, + visible?: boolean, + priority?: number, + }): Panel; + + /** Get an Array of all the panel items in the footer. */ + getFooterPanels(): Panel[]; + + /** Adds a panel item to the footer. */ + addFooterPanel(options: { + item: object, + visible?: boolean, + priority?: number, + }): Panel; + + /** Get an Array of all the modal panel items. */ + getModalPanels(): Panel[]; + + /** Adds a panel item as a modal dialog. */ + addModalPanel(options: { + item: object, + visible?: boolean, + priority?: number, + }): Panel; + + /** Returns the Panel associated with the given item or null when the item + * has no panel. + */ + panelForItem(item: object): Panel|null; + + // Searching and Replacing + /** Performs a search across all files in the workspace. */ + scan(regex: RegExp, iterator: (result: Structures.ScandalResult) => void): + Structures.CancellablePromise; + /** Performs a search across all files in the workspace. */ + scan(regex: RegExp, options: Options.WorkspaceScan, iterator: + (result: Structures.ScandalResult) => void): Structures.CancellablePromise; + + /** Performs a replace across all the specified files in the project. */ + replace(regex: RegExp, replacementText: string, filePaths: ReadonlyArray, + iterator: (result: { filePath: string|undefined, replacements: number }) => void): + Promise; + } + + // https://github.com/atom/atom/blob/master/src/workspace-center.js + /** The central container for the editor window capable of holding items. */ + interface WorkspaceCenter { + // Event Subscription + /** Invoke the given callback with all current and future text editors in the + * workspace center. + */ + observeTextEditors(callback: (editor: TextEditor) => void): EventKit.Disposable; + + /** Invoke the given callback with all current and future panes items in the + * workspace center. + */ + observePaneItems(callback: (item: object) => void): EventKit.Disposable; + + /** Invoke the given callback when the active pane item changes. */ + onDidChangeActivePaneItem(callback: (item: object) => void): EventKit.Disposable; + + /** Invoke the given callback when the active pane item stops changing. */ + onDidStopChangingActivePaneItem(callback: (item: object) => void): EventKit.Disposable; + + /** Invoke the given callback with the current active pane item and with all future + * active pane items in the workspace center. + */ + observeActivePaneItem(callback: (item: object) => void): EventKit.Disposable; + + /** Invoke the given callback when a pane is added to the workspace center. */ + onDidAddPane(callback: (event: { pane: Pane }) => void): EventKit.Disposable; + + /** Invoke the given callback before a pane is destroyed in the workspace center. */ + onWillDestroyPane(callback: (event: { pane: Pane }) => void): EventKit.Disposable; + + /** Invoke the given callback when a pane is destroyed in the workspace center. */ + onDidDestroyPane(callback: (event: { pane: Pane }) => void): EventKit.Disposable; + + /** Invoke the given callback with all current and future panes in the workspace center. */ + observePanes(callback: (pane: Pane) => void): EventKit.Disposable; + + /** Invoke the given callback when the active pane changes. */ + onDidChangeActivePane(callback: (pane: Pane) => void): EventKit.Disposable; + + /** Invoke the given callback with the current active pane and when the active pane changes. */ + observeActivePane(callback: (pane: Pane) => void): EventKit.Disposable; + + /** Invoke the given callback when a pane item is added to the workspace center. */ + onDidAddPaneItem(callback: (event: Events.PaneItemObserved) => void): + EventKit.Disposable; + + /** Invoke the given callback when a pane item is about to be destroyed, before the user + * is prompted to save it. + */ + onWillDestroyPaneItem(callback: (event: Events.PaneItemObserved) => void): + EventKit.Disposable; + + /** Invoke the given callback when a pane item is destroyed. */ + onDidDestroyPaneItem(callback: (event: Events.PaneItemObserved) => void): + EventKit.Disposable; + + /** Invoke the given callback when a text editor is added to the workspace center. */ + onDidAddTextEditor(callback: (event: Events.TextEditorObserved) => void): + EventKit.Disposable; + + // Pane Items + /** Get all pane items in the workspace center. */ + getPaneItems(): object[]; + + /** Get the active Pane's active item. */ + getActivePaneItem(): object|undefined; + + /** Get all text editors in the workspace center. */ + getTextEditors(): TextEditor[]; + + /** Get the active item if it is an TextEditor. */ + getActiveTextEditor(): TextEditor|undefined; + + /** Save all pane items. */ + saveAll(): void; + + // Panes + /** Get all panes in the workspace center. */ + getPanes(): Pane[]; + + /** Get the active Pane. */ + getActivePane(): Pane; + + /** Make the next pane active. */ + activateNextPane(): void; + + /** Make the previous pane active. */ + activatePreviousPane(): void; + + /** Retrieve the Pane associated with the given URI. */ + paneForURI(uri: string): Pane|undefined; + + /** Retrieve the Pane associated with the given item. */ + paneForItem(item: object): Pane|undefined; + + /** Destroy (close) the active pane. */ + destroyActivePane(): void; + } + } + + /** An amalgamation of all types used within the public Atom API. */ + namespace Atom { + /** Objects that appear as parameters to callbacks. */ + namespace Events { + // Atom Keymap ============================================================ + type FullKeybindingMatch = AtomKeymap.Events.FullKeybindingMatch; + type PartialKeybindingMatch = AtomKeymap.Events.PartialKeybindingMatch; + type FailedKeybindingMatch = AtomKeymap.Events.FailedKeybindingMatch; + type FailedKeymapFileRead = AtomKeymap.Events.FailedKeymapFileRead; + type KeymapLoaded = AtomKeymap.Events.KeymapLoaded; + type AddedKeystrokeResolver = AtomKeymap.Events.AddedKeystrokeResolver; + + // Path Watcher =========================================================== + type PathWatchErrorThrown = PathWatcher.Events.PathWatchErrorThrown; + type WatchedFilePathChanged = PathWatcher.Events.WatchedFilePathChanged; + + // Text Buffer ============================================================ + type BufferWatchError = TextBuffer.Events.BufferWatchError; + type FileSaved = TextBuffer.Events.FileSaved; + type MarkerChanged = TextBuffer.Events.MarkerChanged; + type BufferChanging = TextBuffer.Events.BufferChanging; + type BufferChanged = TextBuffer.Events.BufferChanged; + type BufferStoppedChanging = TextBuffer.Events.BufferStoppedChanging; + type DisplayMarkerChanged = TextBuffer.Events.DisplayMarkerChanged; + + // Core =================================================================== + type ExceptionThrown = AtomCore.Events.ExceptionThrown; + type PreventableExceptionThrown = AtomCore.Events.PreventableExceptionThrown; + type SelectionChanged = AtomCore.Events.SelectionChanged; + type PaneItemObserved = AtomCore.Events.PaneItemObserved; + type PaneItemOpened = AtomCore.Events.PaneItemOpened; + type EditorChanged = AtomCore.Events.EditorChanged; + type StyleElementObserved = AtomCore.Events.StyleElementObserved; + type TextEditorObserved = AtomCore.Events.TextEditorObserved; + type RepoStatusChanged = AtomCore.Events.RepoStatusChanged; + type PaneListItemShifted = AtomCore.Events.PaneListItemShifted; + type PaneItemMoved = AtomCore.Events.PaneItemMoved; + type CursorPositionChanged = AtomCore.Events.CursorPositionChanged; + type DecorationPropsChanged = AtomCore.Events.DecorationPropsChanged; + } + + /** Objects that appear as parameters to functions. */ + namespace Options { + // Atom Keymap ============================================================ + type BuildKeyEvent = AtomKeymap.Options.BuildKeyEvent; + + // First Mate ============================================================= + type Grammar = FirstMate.Options.Grammar; + + // Text Buffer ============================================================ + type BufferLoad = TextBuffer.Options.BufferLoad; + type CopyMarker = TextBuffer.Options.CopyMarker; + type FindMarker = TextBuffer.Options.FindMarker; + type FindDisplayMarker = TextBuffer.Options.FindDisplayMarker; + type ScanContext = TextBuffer.Options.ScanContext; + + // Core =================================================================== + type TextInsertion = AtomCore.Options.TextInsertion; + type Menu = AtomCore.Options.Menu; + type ContextMenu = AtomCore.Options.ContextMenu; + type SpawnProcess = AtomCore.Options.SpawnProcess; + type Process = AtomCore.Options.Process; + type NodeProcess = AtomCore.Options.NodeProcess; + type Notification = AtomCore.Options.Notification; + type ErrorNotification = AtomCore.Options.ErrorNotification; + type Tooltip = AtomCore.Options.Tooltip; + type WorkspaceScan = AtomCore.Options.WorkspaceScan; + } + + /** Data structures that are used within classes. */ + namespace Structures { + // First Mate ============================================================= + type GrammarToken = FirstMate.Structures.GrammarToken; + type TokenizeLineResult = FirstMate.Structures.TokenizeLineResult; + type GrammarRule = FirstMate.Structures.GrammarRule; + + // Text Buffer ============================================================ + type TextChange = TextBuffer.Structures.TextChange; + type BufferScanResult = TextBuffer.Structures.BufferScanResult; + type ContextualBufferScanResult = TextBuffer.Structures.ContextualBufferScanResult; + + // Core =================================================================== + type SharedDecorationProps = AtomCore.Structures.SharedDecorationProps; + type DecorationProps = AtomCore.Structures.DecorationProps; + type DecorationLayerProps = AtomCore.Structures.DecorationLayerProps; + type Invisibles = AtomCore.Structures.Invisibles; + type CancellablePromise = AtomCore.Structures.CancellablePromise; + type ScandalResult = AtomCore.Structures.ScandalResult; + type WindowLoadSettings = AtomCore.Structures.WindowLoadSettings; + } + + // Atom Keymap ============================================================== + /** This custom subclass of CustomEvent exists to provide the ::abortKeyBinding + * method, as well as versions of the ::stopPropagation methods that record the + * intent to stop propagation so event bubbling can be properly simulated for + * detached elements. + */ + type CommandEvent = AtomKeymap.CommandEvent; + + type KeyBinding = AtomKeymap.KeyBinding; + + /** Allows commands to be associated with keystrokes in a context-sensitive way. + * In Atom, you can access a global instance of this object via `atom.keymaps`. + */ + type KeymapManager = AtomKeymap.KeymapManager; + + // Event Kit ================================================================ + /** An object that aggregates multiple Disposable instances together into a + * single disposable, so they can all be disposed as a group. + */ + type CompositeDisposable = EventKit.CompositeDisposable; + + type DisposableLike = EventKit.DisposableLike; + + /** A handle to a resource that can be disposed. */ + type Disposable = EventKit.Disposable; + + /** Utility class to be used when implementing event-based APIs that allows + * for handlers registered via ::on to be invoked with calls to ::emit. + */ + type Emitter = EventKit.Emitter; + + // First Mate =============================================================== + /** Grammar that tokenizes lines of text. */ + type Grammar = FirstMate.Grammar; + + /** Instance side of GrammarRegistry class. */ + type GrammarRegistry = FirstMate.GrammarRegistry; + + type ScopeSelector = FirstMate.ScopeSelector; + + // Path Watcher ============================================================= + /** Represents a directory on disk that can be watched for changes. */ + type Directory = PathWatcher.Directory; + + /** Represents an individual file that can be watched, read from, and written to. */ + type File = PathWatcher.File; + + type PathWatcher = PathWatcher.PathWatcher; + + // Text Buffer ============================================================== + /** The interface that should be implemented for all "point-compatible" objects. */ + /** Represents a buffer annotation that remains logically stationary even as the + * buffer changes. This is used to represent cursors, folds, snippet targets, + * misspelled words, and anything else that needs to track a logical location + * in the buffer over time. + */ + type DisplayMarker = TextBuffer.DisplayMarker; + + /** Experimental: A container for a related set of markers at the DisplayLayer level. + * Wraps an underlying MarkerLayer on the TextBuffer. + * + * This API is experimental and subject to change on any release. + */ + type DisplayMarkerLayer = TextBuffer.DisplayMarkerLayer; + + /** Represents a buffer annotation that remains logically stationary even as + * the buffer changes. + */ + type Marker = TextBuffer.Marker; + + /** Experimental: A container for a related set of markers. */ + type MarkerLayer = TextBuffer.MarkerLayer; + + /** The interface that should be implemented for all "point-compatible" objects. */ + type PointLike = TextBuffer.PointLike; + + /** Represents a point in a buffer in row/column coordinates. */ + type Point = TextBuffer.Point; + + /** The interface that should be implemented for all "range-compatible" objects. */ + type RangeLike = TextBuffer.RangeLike; + + /** Represents a region in a buffer in row/column coordinates. */ + type Range = TextBuffer.Range; + + /** A mutable text container with undo/redo support and the ability to + * annotate logical regions in the text. + */ + type TextBuffer = TextBuffer.TextBuffer; + + // Atom ===================================================================== + /** Atom global for dealing with packages, themes, menus, and the window. + * An instance of this class is always available as the atom global. + */ + type AtomEnvironment = AtomCore.AtomEnvironment; + + /** A wrapper which provides standard error/output line buffering for + * Node's ChildProcess. + */ + type BufferedProcess = AtomCore.BufferedProcess; + + /** Like BufferedProcess, but accepts a Node script as the command to run. + * This is necessary on Windows since it doesn't support shebang #! lines. + */ + type BufferedNodeProcess = AtomCore.BufferedNodeProcess; + + /** Represents the clipboard used for copying and pasting in Atom. */ + type Clipboard = AtomCore.Clipboard; + + /** A simple color class returned from Config::get when the value at the key path is + * of type 'color'. + */ + type Color = AtomCore.Color; + + /** Used to access all of Atom's configuration details. */ + type Config = AtomCore.Config; + + /** Provides a registry for commands that you'd like to appear in the context menu. */ + type ContextMenuManager = AtomCore.ContextMenuManager; + + /** Associates listener functions with commands in a context-sensitive way + * using CSS selectors. + */ + type CommandRegistry = AtomCore.CommandRegistry; + + /** The Cursor class represents the little blinking line identifying where text + * can be inserted. + */ + type Cursor = AtomCore.Cursor; + + /** Represents a decoration that follows a DisplayMarker. A decoration is basically + * a visual representation of a marker. It allows you to add CSS classes to line + * numbers in the gutter, lines, and add selection-line regions around marked ranges + * of text. + */ + type Decoration = AtomCore.Decoration; + + type Deserializer = AtomCore.Deserializer; + + /** Manages the deserializers used for serialized state. */ + type DeserializerManager = AtomCore.DeserializerManager; + + /** A container at the edges of the editor window capable of holding items. */ + type Dock = AtomCore.Dock; + + /** Represents the underlying git operations performed by Atom. */ + type GitRepository = AtomCore.GitRepository; + + /** Represents a gutter within a TextEditor. */ + type Gutter = AtomCore.Gutter; + + /** History manager for remembering which projects have been opened. + * An instance of this class is always available as the atom.history global. + * The project history is used to enable the 'Reopen Project' menu. + */ + type HistoryManager = AtomCore.HistoryManager; + + type HistoryProject = AtomCore.HistoryProject; + + /** Represents a decoration that applies to every marker on a given layer. Created via + * TextEditor::decorateMarkerLayer. + */ + type LayerDecoration = AtomCore.LayerDecoration; + + /** Provides a registry for menu items that you'd like to appear in the application menu. */ + type MenuManager = AtomCore.MenuManager; + + type Model = AtomCore.Model; + + /** A notification to the user containing a message and type. */ + type Notification = AtomCore.Notification; + + /** A notification manager used to create Notifications to be shown to the user. */ + type NotificationManager = AtomCore.NotificationManager; + + /** Loads and activates a package's main module and resources such as stylesheets, + * keymaps, grammar, editor properties, and menus. + */ + type Package = AtomCore.Package; + + /** Package manager for coordinating the lifecycle of Atom packages. */ + type PackageManager = AtomCore.PackageManager; + + /** A container for presenting content in the center of the workspace. */ + type Pane = AtomCore.Pane; + + /** A container representing a panel on the edges of the editor window. You + * should not create a Panel directly, instead use Workspace::addTopPanel and + * friends to add panels. + */ + type Panel = AtomCore.Panel; + + /** Represents a project that's opened in Atom. */ + type Project = AtomCore.Project; + + /** Wraps an Array of Strings. The Array describes a path from the root of the + * syntax tree to a token including all scope names for the entire path. + */ + type ScopeDescriptor = AtomCore.ScopeDescriptor; + + /** Represents a selection in the TextEditor. */ + type Selection = AtomCore.Selection; + + /** A singleton instance of this class available via atom.styles, which you can + * use to globally query and observe the set of active style sheets. + */ + type StyleManager = AtomCore.StyleManager; + + /** Run a node script in a separate process. */ + type Task = AtomCore.Task; + + /** This class represents all essential editing state for a single TextBuffer, + * including cursor and selection positions, folds, and soft wraps. + */ + type TextEditor = AtomCore.TextEditor; + + /** Experimental: This global registry tracks registered TextEditors. */ + type TextEditorRegistry = AtomCore.TextEditorRegistry; + + /** Handles loading and activating available themes. */ + type ThemeManager = AtomCore.ThemeManager; + + type Tooltip = AtomCore.Tooltip; + + /** Associates tooltips with HTML elements or selectors. */ + type TooltipManager = AtomCore.TooltipManager; + + /** ViewRegistry handles the association between model and view types in Atom. + * We call this association a View Provider. As in, for a given model, this class + * can provide a view via ::getView, as long as the model/view association was + * registered via ::addViewProvider. + */ + type ViewRegistry = AtomCore.ViewRegistry; + + /** Represents the state of the user interface for the entire window. */ + type Workspace = AtomCore.Workspace; + + // https://github.com/atom/atom/blob/master/src/workspace-center.js + /** The central container for the editor window capable of holding items. */ + type WorkspaceCenter = AtomCore.WorkspaceCenter; } + + var atom: AtomCore.AtomEnvironment; } -declare var atom:AtomCore.IAtom; +export { CompositeDisposable, Disposable, Emitter } from "event-kit"; +export { File, Directory } from "pathwatcher"; -declare module "atom" { - import spacePen = require("space-pen"); - import Q = require("q"); +/** A wrapper which provides standard error/output line buffering for + * Node's ChildProcess. + */ +export const BufferedProcess: AtomCore.Statics.BufferedProcess; - var $:typeof spacePen.$; - var $$:typeof spacePen.$$; - var $$$:typeof spacePen.$$$; +/** Like BufferedProcess, but accepts a Node script as the command to run. + * This is necessary on Windows since it doesn't support shebang #! lines. + */ +export const BufferedNodeProcess: AtomCore.Statics.BufferedNodeProcess; - var BufferedNodeProcess:AtomCore.IBufferedNodeProcessStatic; - var BufferedProcess:AtomCore.IBufferedProcessStatic; - var Git:AtomCore.IGitStatic; - var Point:TextBuffer.IPointStatic; - var Range:TextBuffer.IRangeStatic; +/** Represents the underlying git operations performed by Atom. */ +export const GitRepository: AtomCore.Statics.GitRepository; - class View extends spacePen.View implements Emissary.ISubscriber { - // Subscriber.includeInto(spacePen.View); +/** A notification to the user containing a message and type. */ +export const Notification: AtomCore.Statics.Notification; - // inherit from Subscriber - subscribeWith(eventEmitter:any, methodName:string, args:any):any; +/** Represents a point in a buffer in row/column coordinates. */ +export const Point: TextBuffer.Statics.Point; - addSubscription(subscription:any):any; +/** Represents a region in a buffer in row/column coordinates. */ +export const Range: TextBuffer.Statics.Range; - subscribe(eventEmitterOrSubscription:any, ...args:any[]):any; +/** Run a node script in a separate process. */ +export const Task: AtomCore.Statics.Task; - subscribeToCommand(eventEmitter:any, ...args:any[]):any; +/** A mutable text container with undo/redo support and the ability to annotate + * logical regions in the text. + */ +export const TextBuffer: TextBuffer.Statics.TextBuffer; - unsubscribe(object?:any):any; - } - - class EditorView extends View { - static characterWidthCache:any; - static configDefaults:any; - static nextEditorId:number; - - static content(params:any):void; - - static classes(_arg?:{mini?:any}):string; - - vScrollMargin:number; - hScrollMargin:number; - lineHeight:any; - charWidth:any; - charHeight:any; - cursorViews:any[]; - selectionViews:any[]; - lineCache:any[]; - isFocused:any; - editor:AtomCore.IEditor; - attached:any; - lineOverdraw:number; - pendingChanges:any[]; - newCursors:any[]; - newSelections:any[]; - redrawOnReattach:any; - bottomPaddingInLines:number; - active:boolean; - - id:number; - - gutter:AtomCore.IGutterView; - overlayer:JQuery; - scrollView:JQuery; - renderedLines:JQuery; - underlayer:JQuery; - hiddenInput:JQuery; - verticalScrollbar:JQuery; - verticalScrollbarContent:JQuery; - - constructor(editor:AtomCore.IEditor); - - initialize(editorOrOptions:AtomCore.IEditor):void; // return type are same as editor method. - initialize(editorOrOptions?:{editor: AtomCore.IEditor; mini:any; placeholderText:any}):void; - - initialize(editorOrOptions:{}):void; // compatible for spacePen.View - - bindKeys():void; - - getEditor():AtomCore.IEditor; - - getText():string; - - setText(text:string):void; - - insertText(text:string, options?:any):TextBuffer.IRange[]; - - setHeightInLines(heightInLines:number):number; - - setWidthInChars(widthInChars:number):number; - - pageDown():void; - - pageUp():void; - - getPageRows():number; - - setShowInvisibles(showInvisibles:boolean):void; - - setInvisibles(invisibles:{ eol:string; space: string; tab: string; cr: string; }):void; - - setShowIndentGuide(showIndentGuide:boolean):void; - - setPlaceholderText(placeholderText:string):void; - - getPlaceholderText():string; - - checkoutHead():boolean; - - configure():Emissary.ISubscription; - - handleEvents():void; - - handleInputEvents():void; - - bringHiddenInputIntoView():JQuery; - - selectOnMousemoveUntilMouseup():any; - - afterAttach(onDom:any):any; - - edit(editor:AtomCore.IEditor):any; - - getModel():AtomCore.IEditor; - - setModel(editor:AtomCore.IEditor):any; - - showBufferConflictAlert(editor:AtomCore.IEditor):any; - - scrollTop(scrollTop:number, options?:any):any; - - scrollBottom(scrollBottom?:number):any; - - scrollLeft(scrollLeft?:number):number; - - scrollRight(scrollRight?:number):any; - - scrollToBottom():any; - - scrollToCursorPosition():any; - - scrollToBufferPosition(bufferPosition:any, options:any):any; - - scrollToScreenPosition(screenPosition:any, options:any):any; - - scrollToPixelPosition(pixelPosition:any, options:any):any; - - highlightFoldsContainingBufferRange(bufferRange:any):any; - - saveScrollPositionForEditor():any; - - toggleSoftTabs():any; - - toggleSoftWrap():any; - - calculateWidthInChars():number; - - calculateHeightInLines():number; - - getScrollbarWidth():number; - - setSoftWrap(softWrap:boolean):any; - - setFontSize(fontSize:number):any; - - getFontSize():number; - - setFontFamily(fontFamily?:string):any; - - getFontFamily():string; - - setLineHeight(lineHeight:number):any; - - redraw():any; - - splitLeft():any; - - splitRight():any; - - splitUp():any; - - splitDown():any; - - getPane():any; // return type are PaneView - - remove(selector:any, keepData:any):any; - - beforeRemove():any; - - getCursorView(index?:number):any; // return type are CursorView - - getCursorViews():any[]; // return type are CursorView[] - - addCursorView(cursor:any, options:any):any; // return type are CursorView - - removeCursorView(cursorView:any):any; - - getSelectionView(index?:number):any; // return type are SelectionView - - getSelectionViews():any[]; // return type are SelectionView[] - - addSelectionView(selection:any):any; - - removeSelectionView(selectionView:any):any; - - removeAllCursorAndSelectionViews():any[]; - - appendToLinesView(view:any):any; - - scrollVertically(pixelPosition:any, _arg:any):any; - - scrollHorizontally(pixelPosition:any):any; - - calculateDimensions():number; - - recalculateDimensions():any; - - updateLayerDimensions():any; - - isHidden():boolean; - - clearRenderedLines():void; - - resetDisplay():any; - - requestDisplayUpdate():any; - - updateDisplay(options?:any):any; - - updateCursorViews():any; - - shouldUpdateCursor(cursorView:any):any; - - updateSelectionViews():any[]; - - shouldUpdateSelection(selectionView:any):any; - - syncCursorAnimations():any[]; - - autoscroll(suppressAutoscroll?:any):any[]; - - updatePlaceholderText():any; - - updateRenderedLines(scrollViewWidth:any):any; - - computeSurroundingEmptyLineChanges(change:any):any; - - computeIntactRanges(renderFrom:any, renderTo:any):any; - - truncateIntactRanges(intactRanges:any, renderFrom:any, renderTo:any):any; - - clearDirtyRanges(intactRanges:any):any; - - clearLine(lineElement:any):any; - - fillDirtyRanges(intactRanges:any, renderFrom:any, renderTo:any):any; - - updatePaddingOfRenderedLines():any; - - getFirstVisibleScreenRow():number; - - getLastVisibleScreenRow():number; - - isScreenRowVisible():boolean; - - handleScreenLinesChange(change:any):any; - - buildLineElementForScreenRow(screenRow:any):any; - - buildLineElementsForScreenRows(startRow:any, endRow:any):any; - - htmlForScreenRows(startRow:any, endRow:any):any; - - htmlForScreenLine(screenLine:any, screenRow:any):any; - - buildIndentation(screenRow:any, editor:any):any; - - buildHtmlEndOfLineInvisibles(screenLine:any):any; - - getEndOfLineInvisibles(screenLine:any):any; - - lineElementForScreenRow(screenRow:any):any; - - toggleLineCommentsInSelection():any; - - pixelPositionForBufferPosition(position:any):any; - - pixelPositionForScreenPosition(position:any):any; - - positionLeftForLineAndColumn(lineElement:any, screenRow:any, screenColumn:any):any; - - measureToColumn(lineElement:any, tokenizedLine:any, screenColumn:any):any; - - getCharacterWidthCache(scopes:any, char:any):any; - - setCharacterWidthCache(scopes:any, char:any, val:any):any; - - clearCharacterWidthCache():any; - - pixelOffsetForScreenPosition(position:any):any; - - screenPositionFromMouseEvent(e:any):any; - - highlightCursorLine():any; - - copyPathToClipboard():any; - - buildLineHtml(_arg:any):any; - - updateScopeStack(line:any, scopeStack:any, desiredScopes:any):any; - - pushScope(line:any, scopeStack:any, scope:any):any; - - popScope(line:any, scopeStack:any):any; - - buildEmptyLineHtml(showIndentGuide:any, eolInvisibles:any, htmlEolInvisibles:any, indentation:any, editor:any, mini:any):any; - - replaceSelectedText(replaceFn:(str:string)=>string):any; - - consolidateSelections(e:any):any; - - logCursorScope():any; - - logScreenLines(start:any, end:any):any; - - logRenderedLines():any; - } - - class ScrollView extends View { - // TBD - } - - interface ISelectListItem { - /** e.g. application:about */ - eventName:string; - /** e.g. Application: About */ - eventDescription:string; - } - - class SelectListView extends View { - static content():any; - - maxItems:number; - scheduleTimeout:any; - inputThrottle:number; - cancelling:boolean; - items:any[]; - list:JQuery; - filterEditorView: JQuery; - - previouslyFocusedElement:JQuery; - - initialize():any; - - schedulePopulateList():number; - - setItems(items:any[]):any; - - setError(message?:string):any; - - setLoading(message?:string):any; - - getFilterQuery():string; - - populateList():any; - - getEmptyMessage(itemCount?:any, filteredItemCount?:any):string; - - setMaxItems(maxItems:number):void; - - selectPreviousItemView():any; - - selectNextItemView():any; - - selectItemView(view:any):any; - - scrollToItemView(view:any):any; - - getSelectedItemView():any; - - getSelectedItem():any; - - confirmSelection():any; - - viewForItem(item:any):JQuery|string|HTMLElement|View; // You must override this method! - confirmed(item:any):any; // You must override this method! - getFilterKey():any; - - focusFilterEditor():any; - - storeFocusedElement():any; - - restoreFocus():any; - - cancelled():any; - - cancel():any; - } - - class Disposable extends AtomCore.Disposable { } - class CompositeDisposable extends AtomCore.CompositeDisposable { } - - var WorkspaceView:AtomCore.IWorkspaceViewStatic; - - var Task:AtomCore.ITaskStatic; - var Workspace:AtomCore.IWorkspaceStatic; -} +/** This class represents all essential editing state for a single TextBuffer, + * including cursor and selection positions, folds, and soft wraps. + */ +export const TextEditor: AtomCore.Statics.TextEditor; diff --git a/types/atom/package.json b/types/atom/package.json new file mode 100644 index 0000000000..fe9d276dc5 --- /dev/null +++ b/types/atom/package.json @@ -0,0 +1,6 @@ +{ + "private": true, + "dependencies": { + "electron": "1.6.9" + } +} diff --git a/types/atom/services/index.d.ts b/types/atom/services/index.d.ts new file mode 100644 index 0000000000..33b85ff511 --- /dev/null +++ b/types/atom/services/index.d.ts @@ -0,0 +1,190 @@ +/* tslint:disable:no-unnecessary-qualifier */ +declare namespace Atom { + namespace Services { + /** Type definitions for autocomplete+ 2 */ + namespace Autocomplete { + /** Objects that appear as parameters to callbacks. */ + namespace Events { + /** The parameters passed into getSuggestions by Autocomplete+. */ + interface SuggestionsRequested { + /** The current TextEditor. */ + editor: Atom.TextEditor; + + /** The position of the cursor. */ + bufferPosition: Atom.Point; + + /** The scope descriptor for the current cursor position. */ + scopeDescriptor: Atom.ScopeDescriptor; + + /** The prefix for the word immediately preceding the current cursor position. */ + prefix: string; + + /** Whether the autocomplete request was initiated by the user. */ + activatedManually: boolean; + } + + /** The parameters passed into onDidInsertSuggestion by Autocomplete+. */ + interface SuggestionInserted { + editor: Atom.TextEditor; + triggerPosition: Atom.Point; + suggestion: TextSuggestion|SnippetSuggestion; + } + } + + /** An autocompletion suggestion for the user. + * Primary data type for the Atom Autocomplete+ service. + */ + interface Suggestion { + /** A string that will show in the UI for this suggestion. + * When not set, snippet || text is displayed. + */ + displayText?: string; + + /** The text immediately preceding the cursor, which will be replaced by the text. + * If not provided, the prefix passed into getSuggestions will be used. + */ + replacementPrefix?: string; + + /** The suggestion type. It will be converted into an icon shown against the suggestion. */ + type?: string; + + /** This is shown before the suggestion. Useful for return values. */ + leftLabel?: string; + + /** Use this instead of leftLabel if you want to use html for the left label. */ + leftLabelHTML?: string; + + /** An indicator (e.g. function, variable) denoting the "kind" of suggestion this represents. */ + rightLabel?: string; + + /** Use this instead of rightLabel if you want to use html for the right label. */ + rightLabelHTML?: string; + + /** Class name for the suggestion in the suggestion list. Allows you to style your suggestion + * via CSS, if desired. + */ + className?: string; + + /** If you want complete control over the icon shown against the suggestion. e.g. iconHTML: + * + */ + iconHTML?: string; + + /** A doc-string summary or short description of the suggestion. When specified, it will be + * displayed at the bottom of the suggestions list. + */ + description?: string; + + /** A url to the documentation or more information about this suggestion. When specified, + * a More.. link will be displayed in the description area. + */ + descriptionMoreURL?: string; + } + + interface TextSuggestion extends Suggestion { + /** The text which will be inserted into the editor, in place of the prefix. */ + text: string; + } + + interface SnippetSuggestion extends Suggestion { + /** A snippet string. This will allow users to tab through function arguments or other + * options. + */ + snippet: string; + } + + type Suggestions = Array; + + interface Provider { + /** Defines the scope selector(s) (can be comma-separated) for which your provider + * should receive suggestion requests. + */ + selector: string; + + /** Is called when a suggestion request has been dispatched by autocomplete+ to your + * provider. Return an array of suggestions (if any) in the order you would like them + * displayed to the user. Returning a Promise of an array of suggestions is also + * supported. + */ + getSuggestions(params: Events.SuggestionsRequested): Suggestions|Promise; + + /** Defines the scope selector(s) (can be comma-separated) for which your provider + * should not be used. + */ + disableForSelector?: string; + + /** A number to indicate its priority to be included in a suggestions request. + * The default provider has an inclusion priority of 0. Higher priority providers + * can suppress lower priority providers with excludeLowerPriority. + */ + inclusionPriority?: number; + + /** Will not use lower priority providers when this provider is used. */ + excludeLowerPriority?: boolean; + + /** A number to determine the sort order of suggestions. The default provider has + * an suggestion priority of 1. + */ + suggestionPriority?: number; + + /** Function that is called when a suggestion from your provider was inserted + * into the buffer. + */ + onDidInsertSuggestion?(params: Events.SuggestionInserted): void; + + /** Will be called if your provider is being destroyed by autocomplete+ */ + dispose?(): void; + } + } + + /** Type definitions for status-bar 1.8 */ + namespace StatusBar { + /** Objects that appear as parameters to functions. */ + namespace Options { + interface AddTile { + /** A DOM element, a jQuery object, or a model object for which a view provider + * has been registered in the the view registry. + */ + item: object; + + /** Determines the placement of the tile within the status bar. Lower priority + * will result in closer placement to the anchor. + */ + priority: number; + } + } + + interface Tile { + /** Retrieve the priority that was assigned to the Tile when it was created. */ + getPriority(): number; + + /** Retrieve the Tile's item. */ + getItem(): object; + + /** Remove the Tile from the status bar. */ + destroy(): void; + } + + interface StatusBar { + /** Add a tile to the left side of the status bar. Lower priority tiles are placed + * further to the left. + */ + addLeftTile(options: Options.AddTile): Tile; + + /** Add a tile to the right side of the status bar. Lower priority tiles are placed + * further to the right. + */ + addRightTile(options: Options.AddTile): Tile; + + /** Retrieve all of the tiles on the left side of the status bar. */ + getLeftTiles(): Tile[]; + + /** Retrieve all of the tiles on the right side of the status bar. */ + getRightTiles(): Tile[]; + } + + type Consumer = (statusBar: StatusBar) => void; + } + } +} +/* tslint:enable:no-unnecessary-qualifier */ diff --git a/types/atom/tsconfig.json b/types/atom/tsconfig.json index 6c1bb13aef..febacd8656 100644 --- a/types/atom/tsconfig.json +++ b/types/atom/tsconfig.json @@ -7,21 +7,18 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "baseUrl": "../", "typeRoots": [ "../" ], - "paths": { - "q": [ "q/v0" ] - }, "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", - "api-docs.d.ts", - "atom-tests.ts" + "atom-tests.ts", + "services/index.d.ts" ] -} \ No newline at end of file +} diff --git a/types/atom/tslint.json b/types/atom/tslint.json new file mode 100644 index 0000000000..a36bbd3600 --- /dev/null +++ b/types/atom/tslint.json @@ -0,0 +1,39 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + // Custom rules. + "await-promise": [true, "CancellablePromise"], + "class-name": true, + "indent": [true, "tabs"], + "jsdoc-format": true, + "linebreak-style": [true, "LF"], + "max-line-length": [true, 100], + "no-any": false, + "quotemark": [true, "double", "avoid-escape"], + "trailing-comma": [true, { + "multiline": { "objects": "always", "arrays": "always", "functions": "never" }, + "singleline": { "objects": "never", "arrays": "never", "functions": "never" } + }], + "whitespace": [ + true, + "check-branch", + "check-decl", + "check-operator", + "check-module", + "check-separator", + "check-type", + "check-typecast", + "check-rest-spread", + "check-preblock" + ], + // Soon to be defaults. + "arrow-return-shorthand": [true, "multiline"], + "no-floating-promises": true, + "no-unbound-method": true, + "no-unsafe-any": true, + "number-literal-format": true, + "restrict-plus-operands": true, + "return-undefined": true, + "switch-final-break": true + } +} diff --git a/types/atom/api-docs.d.ts b/types/atom/v0/api-docs.d.ts similarity index 100% rename from types/atom/api-docs.d.ts rename to types/atom/v0/api-docs.d.ts diff --git a/types/atom/v0/atom-tests.ts b/types/atom/v0/atom-tests.ts new file mode 100644 index 0000000000..5987f4901d --- /dev/null +++ b/types/atom/v0/atom-tests.ts @@ -0,0 +1,70 @@ +import path = require("path"); +import _atom = require("atom"); + +import PathWatcher = require("pathwatcher"); +var File = PathWatcher.File; + +const jq: JQuery = $("selector"); + +class SampleView extends _atom.ScrollView { + + editorId:string; + file:PathWatcher.IFile; + editor:AtomCore.IEditor; + + static deserialize(state:any):SampleView { + return new SampleView(state); + } + + static content():any { + return this.div({class: 'sample native-key-bindings', tabindex: -1}); + } + + constructor(params:{editorId?:string; filePath?:string;} = {}) { + super(); + + this.editorId = params.editorId; + + if (this.editorId) { + this.resolveEditor(this.editorId); + } else { + this.file = new File(params.filePath); + } + } + + serialize() { + return { + deserializer: 'SampleView', + editorId: this.editorId + }; + } + + destroy() { + this.unsubscribe(); + } + + resolveEditor(editorId:string) { + var resolve = ()=> { + if (this.editor) { + jq.trigger("title-changed"); + } else { + var view = jq.parents('.pane').view(); + if (view) { + view.destroyItem(this); + } + } + }; + + if (atom.workspace) { + resolve(); + } else { + atom.packages.once("activated", ()=> { + resolve(); + }); + } + } +} + +atom.deserializers.add(SampleView); + +export = SampleView; diff --git a/types/atom/v0/index.d.ts b/types/atom/v0/index.d.ts new file mode 100644 index 0000000000..7dba05663c --- /dev/null +++ b/types/atom/v0/index.d.ts @@ -0,0 +1,1977 @@ +// Type definitions for Atom +// Project: https://atom.io/ +// Definitions by: vvakame , smhxx +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +/// +/// +/// +/// +/// +/// + +// Policy: this definition file only declare element related to `atom`. +// if js file include to another npm package (e.g. "space-pen", "mixto" and "emissary"). +// you should create a separate file. + +// API documentation : https://atom.io/docs/api/v1.20.1 + +interface Window { + atom: AtomCore.IAtom; + measure(description:string, fn:Function):any; // return fn result + profile(description:string, fn:Function):any; // return fn result +} + +declare namespace AtomCore { + + // https://atom.io/docs/v0.84.0/advanced/view-system + interface IWorkspaceViewStatic { + new ():IWorkspaceView; + version: number; + configDefaults:any; + content():any; + } + + interface Decoration { + destroy(): void; + } + + /** + * Represents a buffer annotation that remains logically stationary even as the buffer changes. This is used + * to represent cursors, folds, snippet targets, misspelled words, any anything else that needs to track a + * logical location in the buffer over time. + */ + interface Marker { + /** + * Destroys the marker, causing it to emit the 'destroyed' event. Once destroyed, a marker cannot be + * restored by undo/redo operations. + */ + destroy(): void; + + /** + * Gets the screen range of the display marker. + */ + getScreenRange(): Range; + } + + interface IWorkspaceView extends View { + // Delegator.includeInto(WorkspaceView); + + // delegate to model property's property + fullScreen:boolean; + + // delegate to model property's method + open(uri:string, options:any):Q.Promise; + openSync(uri:string, options?:any):any; + saveActivePaneItem():any; + saveActivePaneItemAs():any; + saveAll():void; + destroyActivePaneItem():any; + destroyActivePane():any; + increaseFontSize():void; + decreaseFontSize():void; + + // own property & methods + initialize(model:IWorkspace):any; + initialize(view:View, args:any):void; // do not use + model:IWorkspace; + panes: IPaneContainerView; + getModel():IWorkspace; + installShellCommands():any; + handleFocus():any; + afterAttach(onDom?:any):any; + confirmClose():boolean; + updateTitle():any; + setTitle(title:string):any; + getEditorViews():any[]; // atom.EditorView + prependToTop(element:any):any; + appendToTop(element:any):any; + prependToBottom(element:any):any; + appendToBottom(element:any):any; + prependToLeft(element:any):any; + appendToLeft(element:any):any; + prependToRight(element:any):any; + appendToRight(element:any):any; + getActivePaneView():IPaneView; + getActiveView():View; + focusPreviousPaneView():any; + focusNextPaneView():any; + focusPaneViewAbove():any; + focusPaneViewBelow():any; + focusPaneViewOnLeft():any; + focusPaneViewOnRight():any; + eachPaneView(callback:(paneView:IPaneView)=>any):{ off():any; }; + getPaneViews():IPaneView[]; + eachEditorView(callback:(editorView:any /* EditorView */)=>any):{ off():any; }; + beforeRemove():any; + + command(eventName:string, handler:Function):any; + command(eventName:string, selector:Function, handler:Function):any; + command(eventName:string, options:any, handler:Function):any; + command(eventName:string, selector:Function, options:any, handler:Function):any; + + statusBar:StatusBar.IStatusBarView; + } + + interface IPanes { + // TBD + } + + interface IPaneView { + // TBD + } + + interface IPaneContainerView { + // TBD + } + + interface ITreeView { + // TBD + } + + interface IGutterViewStatic { + new(): IGutterView; + content():any; + } + + interface IGutterView extends View { + firstScreenRow:any; + lastScreenRow:any; + initialize():void; + initialize(view:View, args:any):void; // do not use + afterAttach(onDom?:any):any; + beforeRemove():any; + handleMouseEvents(e:JQueryMouseEventObject):any; + getEditorView():any; /* EditorView */ + getEditor():IEditor; + getLineNumberElements():HTMLCollection; + getLineNumberElementsForClass(klass:string):NodeList; + getLineNumberElement(bufferRow:number):NodeList; + addClassToAllLines(klass:string):boolean; + removeClassFromAllLines(klass:string):boolean; + addClassToLine(bufferRow:number, klass:string):boolean; + removeClassFromLine(bufferRow:number, klass:string):boolean; + updateLineNumbers(changes:any[], startScreenRow?:number, endScreenRow?:number):any; + prependLineElements(lineElements:any):void; + appendLineElements(lineElements:any):void; + removeLineElements(numberOfElements:number):void; + buildLineElements(startScreenRow:any, endScreenRow:any):any; + buildLineElementsHtml(startScreenRow:any, endScreenRow:any):any; + updateFoldableClasses(changes:any[]):any; + removeLineHighlights():void; + addLineHighlight(row:number, emptySelection?:boolean):any; + highlightLines():boolean; + } + + interface ICommandRegistry { + add(target: string, commandName: Object, callback?: (event: any) => void): any; // selector:'atom-editor'|'atom-workspace' + findCommands(params: Object): Object[]; + dispatch(selector: any, name:string): void; + } + + interface ICommandPanel { + // TBD + } + + interface IDisplayBufferStatic { + new(_arg?:any):IDisplayBuffer; + } + + interface IDisplayBuffer /* extends Theorist.Model */ { + // Serializable.includeInto(Editor); + + constructor:IDisplayBufferStatic; + + verticalScrollMargin:number; + horizontalScrollMargin:number; + + declaredPropertyValues:any; + tokenizedBuffer: ITokenizedBuffer; + buffer: TextBuffer.ITextBuffer; + charWidthsByScope:any; + markers:{ [index:number]:IDisplayBufferMarker; }; + foldsByMarkerId:any; + maxLineLength:number; + screenLines:ITokenizedLine[]; + rowMap:any; // return type are RowMap + longestScreenRow:number; + subscriptions:Emissary.ISubscription[]; + subscriptionsByObject:any; // return type are WeakMap + behaviors:any; + subscriptionCounts:any; + eventHandlersByEventName:any; + pendingChangeEvent:any; + + softWrap:boolean; + + serializeParams():{id:number; softWrap:boolean; editorWidthInChars: number; scrollTop: number; scrollLeft: number; tokenizedBuffer: any; }; + deserializeParams(params:any):any; + copy():IDisplayBuffer; + updateAllScreenLines():any; + emitChanged(eventProperties:any, refreshMarkers?:boolean):any; + updateWrappedScreenLines():any; + setVisible(visible:any):any; + getVerticalScrollMargin():number; + setVerticalScrollMargin(verticalScrollMargin:number):number; + getHorizontalScrollMargin():number; + setHorizontalScrollMargin(horizontalScrollMargin:number):number; + getHeight():any; + setHeight(height:any):any; + getWidth():any; + setWidth(newWidth:any):any; + getScrollTop():number; + setScrollTop(scrollTop:number):number; + getScrollBottom():number; + setScrollBottom(scrollBottom:number):number; + getScrollLeft():number; + setScrollLeft(scrollLeft:number):number; + getScrollRight():number; + setScrollRight(scrollRight:number):number; + getLineHeight():any; + setLineHeight(lineHeight:any):any; + getDefaultCharWidth():any; + setDefaultCharWidth(defaultCharWidth:any):any; + getScopedCharWidth(scopeNames:any, char:any):any; + getScopedCharWidths(scopeNames:any):any; + setScopedCharWidth(scopeNames:any, char:any, width:any):any; + setScopedCharWidths(scopeNames:any, charWidths:any):any; + clearScopedCharWidths():any; + getScrollHeight():number; + getScrollWidth():number; + getVisibleRowRange():number[]; + intersectsVisibleRowRange(startRow:any, endRow:any):any; + selectionIntersectsVisibleRowRange(selection:any):any; + scrollToScreenRange(screenRange:any):any; + scrollToScreenPosition(screenPosition:any):any; + scrollToBufferPosition(bufferPosition:any):any; + pixelRectForScreenRange(screenRange:TextBuffer.IRange):any; + getTabLength():number; + setTabLength(tabLength:number):any; + setSoftWrap(softWrap:boolean):boolean; + getSoftWrap():boolean; + setEditorWidthInChars(editorWidthInChars:number):any; + getEditorWidthInChars():number; + getSoftWrapColumn():number; + lineForRow(row:number):any; + linesForRows(startRow:number, endRow:number):any; + getLines():any[]; + indentLevelForLine(line:any):any; + bufferRowsForScreenRows(startScreenRow:any, endScreenRow:any):any; + createFold(startRow:number, endRow:number):IFold; + isFoldedAtBufferRow(bufferRow:number):boolean; + isFoldedAtScreenRow(screenRow:number):boolean; + destroyFoldWithId(id:number):any; + unfoldBufferRow(bufferRow:number):any[]; + largestFoldStartingAtBufferRow(bufferRow:number):any; + foldsStartingAtBufferRow(bufferRow:number):any; + largestFoldStartingAtScreenRow(screenRow:any):any; + largestFoldContainingBufferRow(bufferRow:any):any; + outermostFoldsInBufferRowRange(startRow:any, endRow:any):any[]; + foldsContainingBufferRow(bufferRow:any):any[]; + screenRowForBufferRow(bufferRow:number):number; + lastScreenRowForBufferRow(bufferRow:number):number; + bufferRowForScreenRow(screenRow:number):number; + + screenRangeForBufferRange(bufferRange:TextBuffer.IPoint[]):TextBuffer.IRange; + + screenRangeForBufferRange(bufferRange:TextBuffer.IRange):TextBuffer.IRange; + + screenRangeForBufferRange(bufferRange:{start: TextBuffer.IPoint; end: TextBuffer.IPoint}):TextBuffer.IRange; + screenRangeForBufferRange(bufferRange:{start: number[]; end: TextBuffer.IPoint}):TextBuffer.IRange; + screenRangeForBufferRange(bufferRange:{start: {row:number; col:number;}; end: TextBuffer.IPoint}):TextBuffer.IRange; + + screenRangeForBufferRange(bufferRange:{start: TextBuffer.IPoint; end: number[]}):TextBuffer.IRange; + screenRangeForBufferRange(bufferRange:{start: number[]; end: number[]}):TextBuffer.IRange; + screenRangeForBufferRange(bufferRange:{start: {row:number; col:number;}; end: number[]}):TextBuffer.IRange; + + screenRangeForBufferRange(bufferRange:{start: TextBuffer.IPoint; end: {row:number; col:number;}}):TextBuffer.IRange; + screenRangeForBufferRange(bufferRange:{start: number[]; end: {row:number; col:number;}}):TextBuffer.IRange; + screenRangeForBufferRange(bufferRange:{start: {row:number; col:number;}; end: {row:number; col:number;}}):TextBuffer.IRange; + + bufferRangeForScreenRange(screenRange:TextBuffer.IPoint[]):TextBuffer.IRange; + + bufferRangeForScreenRange(screenRange:TextBuffer.IRange):TextBuffer.IRange; + + bufferRangeForScreenRange(screenRange:{start: TextBuffer.IPoint; end: TextBuffer.IPoint}):TextBuffer.IRange; + bufferRangeForScreenRange(screenRange:{start: number[]; end: TextBuffer.IPoint}):TextBuffer.IRange; + bufferRangeForScreenRange(screenRange:{start: {row:number; col:number;}; end: TextBuffer.IPoint}):TextBuffer.IRange; + + bufferRangeForScreenRange(screenRange:{start: TextBuffer.IPoint; end: number[]}):TextBuffer.IRange; + bufferRangeForScreenRange(screenRange:{start: number[]; end: number[]}):TextBuffer.IRange; + bufferRangeForScreenRange(screenRange:{start: {row:number; col:number;}; end: number[]}):TextBuffer.IRange; + + bufferRangeForScreenRange(screenRange:{start: TextBuffer.IPoint; end: {row:number; col:number;}}):TextBuffer.IRange; + bufferRangeForScreenRange(screenRange:{start: number[]; end: {row:number; col:number;}}):TextBuffer.IRange; + bufferRangeForScreenRange(screenRange:{start: {row:number; col:number;}; end: {row:number; col:number;}}):TextBuffer.IRange; + + pixelRangeForScreenRange(screenRange:TextBuffer.IPoint[], clip?:boolean):TextBuffer.IRange; + + pixelRangeForScreenRange(screenRange:TextBuffer.IRange, clip?:boolean):TextBuffer.IRange; + + pixelRangeForScreenRange(screenRange:{start: TextBuffer.IPoint; end: TextBuffer.IPoint}, clip?:boolean):TextBuffer.IRange; + pixelRangeForScreenRange(screenRange:{start: number[]; end: TextBuffer.IPoint}, clip?:boolean):TextBuffer.IRange; + pixelRangeForScreenRange(screenRange:{start: {row:number; col:number;}; end: TextBuffer.IPoint}, clip?:boolean):TextBuffer.IRange; + + pixelRangeForScreenRange(screenRange:{start: TextBuffer.IPoint; end: number[]}, clip?:boolean):TextBuffer.IRange; + pixelRangeForScreenRange(screenRange:{start: number[]; end: number[]}, clip?:boolean):TextBuffer.IRange; + pixelRangeForScreenRange(screenRange:{start: {row:number; col:number;}; end: number[]}, clip?:boolean):TextBuffer.IRange; + + pixelRangeForScreenRange(screenRange:{start: TextBuffer.IPoint; end: {row:number; col:number;}}, clip?:boolean):TextBuffer.IRange; + pixelRangeForScreenRange(screenRange:{start: number[]; end: {row:number; col:number;}}, clip?:boolean):TextBuffer.IRange; + pixelRangeForScreenRange(screenRange:{start: {row:number; col:number;}; end: {row:number; col:number;}}, clip?:boolean):TextBuffer.IRange; + + pixelPositionForScreenPosition(screenPosition:TextBuffer.IPoint, clip?:boolean):TextBuffer.IPoint; + pixelPositionForScreenPosition(screenPosition:number[], clip?:boolean):TextBuffer.IPoint; + pixelPositionForScreenPosition(screenPosition:{row:number; col:number;}, clip?:boolean):TextBuffer.IPoint; + + screenPositionForPixelPosition(pixelPosition:any):TextBuffer.IPoint; + + pixelPositionForBufferPosition(bufferPosition:any):any; + getLineCount():number; + getLastRow():number; + getMaxLineLength():number; + screenPositionForBufferPosition(bufferPosition:any, options:any):any; + bufferPositionForScreenPosition(bufferPosition:any, options:any):any; + scopesForBufferPosition(bufferPosition:any):any; + bufferRangeForScopeAtPosition(selector:any, position:any):any; + tokenForBufferPosition(bufferPosition:any):any; + getGrammar():IGrammar; + setGrammar(grammar:IGrammar):any; + reloadGrammar():any; + clipScreenPosition(screenPosition:any, options:any):any; + findWrapColumn(line:any, softWrapColumn:any):any; + rangeForAllLines():TextBuffer.IRange; + getMarker(id:number):IDisplayBufferMarker; + getMarkers():IDisplayBufferMarker[]; + getMarkerCount():number; + markScreenRange(range:TextBuffer.IRange, ...args:any[]):IDisplayBufferMarker; + markBufferRange(range:TextBuffer.IRange, options?:any):IDisplayBufferMarker; + markScreenPosition(screenPosition:TextBuffer.IPoint, options?:any):IDisplayBufferMarker; + markBufferPosition(bufferPosition:TextBuffer.IPoint, options?:any):IDisplayBufferMarker; + destroyMarker(id:number):any; + findMarker(params?:any):IDisplayBufferMarker; + findMarkers(params?:any):IDisplayBufferMarker[]; + translateToBufferMarkerParams(params?:any):any; + findFoldMarker(attributes:any):IMarker; + findFoldMarkers(attributes:any):IMarker[]; + getFoldMarkerAttributes(attributes?:any):any; + pauseMarkerObservers():any; + resumeMarkerObservers():any; + refreshMarkerScreenPositions():any; + destroy():any; + logLines(start:number, end:number):any[]; + handleTokenizedBufferChange(tokenizedBufferChange:any):any; + updateScreenLines(startBufferRow:any, endBufferRow:any, bufferDelta?:number, options?:any):any; + buildScreenLines(startBufferRow:any, endBufferRow:any):any; + findMaxLineLength(startScreenRow:any, endScreenRow:any, newScreenLines:any):any; + handleBufferMarkersUpdated():any; + handleBufferMarkerCreated(marker:any):any; + createFoldForMarker(maker:any):IFold; + foldForMarker(marker:any):any; + } + + interface IViewRegistry { + getView(selector:any):any; + } + + interface ICursorStatic { + new (arg:{editor:IEditor; marker:IDisplayBufferMarker; id: number;}):ICursor; + } + + interface ScopeDescriptor { + scopes: string[]; + } + + interface ICursor /* extends Theorist.Model */ { + getScopeDescriptor(): ScopeDescriptor; + screenPosition:any; + bufferPosition:any; + goalColumn:any; + visible:boolean; + needsAutoscroll:boolean; + + editor:IEditor; + marker:IDisplayBufferMarker; + id: number; + + destroy():any; + changePosition(options:any, fn:Function):any; + getPixelRect():any; + setScreenPosition(screenPosition:any, options?:any):any; + getScreenPosition():TextBuffer.IPoint; + getScreenRange():TextBuffer.IRange; + setBufferPosition(bufferPosition:any, options?:any):any; + getBufferPosition():TextBuffer.IPoint; + autoscroll():any; + updateVisibility():any; + setVisible(visible:boolean):any; + isVisible():boolean; + wordRegExp(arg?:any):any; + isLastCursor():boolean; + isSurroundedByWhitespace():boolean; + isBetweenWordAndNonWord():boolean; + isInsideWord():boolean; + clearAutoscroll():void; + clearSelection():void; + getScreenRow():number; + getScreenColumn():number; + getBufferRow():number; + getBufferColumn():number; + getCurrentBufferLine():string; + moveUp(rowCount:number, arg?:any):any; + moveDown(rowCount:number, arg?:any):any; + moveLeft(arg?:any):any; + moveRight(arg?:any):any; + moveToTop():any; + moveToBottom():void; + moveToBeginningOfScreenLine():void; + moveToBeginningOfLine():void; + moveToFirstCharacterOfLine():void; + moveToEndOfScreenLine():void; + moveToEndOfLine():void; + moveToBeginningOfWord():void; + moveToEndOfWord():void; + moveToBeginningOfNextWord():void; + moveToPreviousWordBoundary():void; + moveToNextWordBoundary():void; + getBeginningOfCurrentWordBufferPosition(options?:any):TextBuffer.IPoint; + getPreviousWordBoundaryBufferPosition(options?:any):TextBuffer.IPoint; + getMoveNextWordBoundaryBufferPosition(options?:any):TextBuffer.IPoint; + getEndOfCurrentWordBufferPosition(options?:any):TextBuffer.IPoint; + getBeginningOfNextWordBufferPosition(options?:any):TextBuffer.IPoint; + getCurrentWordBufferRange(options?:any):TextBuffer.IPoint; + getCurrentLineBufferRange(options?:any):TextBuffer.IPoint; + getCurrentParagraphBufferRange():any; + getCurrentWordPrefix():string; + isAtBeginningOfLine():boolean; + getIndentLevel():number; + isAtEndOfLine():boolean; + getScopes():string[]; + hasPrecedingCharactersOnLine():boolean; + getMarker(): Marker; + } + + interface ILanguageMode { + // TBD + } + + interface ISelection { + // https://atom.io/docs/api/v1.7.3/Selection + + // Event Subscription + onDidChangeRange(callback: (event: { + oldBufferRange: TextBuffer.IRange; + oldScreenRange: TextBuffer.IRange; + newBufferRange: TextBuffer.IRange; + newScreenRange: TextBuffer.IRange; + selection: ISelection; + }) => {}): Disposable; + onDidDestroy(callback: () => {}): Disposable; + + // Managing the selection range + getScreenRange(): TextBuffer.IRange; + setScreenRange(screenRange: TextBuffer.IRange, options?: { + preserveFolds?: boolean; + autoscroll?: boolean; + }): void; + getBufferRange(): TextBuffer.IRange; + setBufferRange(bufferRange: TextBuffer.IRange, options?: { + preserveFolds?: boolean; + autoscroll?: boolean; + }): void; + getBufferRowRange(): [number]; + + // Info about the selection + isEmpty(): boolean; + isReversed(): boolean; + isSingleScreenLine(): boolean; + getText(): string; + intersectsBufferRange(bufferRange: TextBuffer.IRange): boolean; + intersectsWith(otherSelection: ISelection): boolean; + + // Modifying the selected range + clear(options?: {autoscroll?: boolean}): void; + selectToScreenPosition(position: any): void; + selectToBufferPosition(position: any): void; + selectRight(columnCount?: number): void; + selectLeft(columnCount?: number): void; + selectUp(rowCount: number): void; + selectDown(rowCount: number): void; + selectToTop(): void; + selectToBottom(): void; + selectAll(): void; + selectToBeginningOfLine(): void; + selectToFirstCharacterOfLine(): void; + selectToEndOfLine(): void; + selectToEndOfBufferLine(): void; + selectToBeginningOfWord(): void; + selectToEndOfWord(): void; + selectToBeginningOfNextWord(): void; + selectToPreviousWordBoundary(): void; + selectToNextWordBoundary(): void; + selectToPreviousSubwordBoundary(): void; + selectToNextSubwordBoundary(): void; + selectToBeginningOfNextParagraph(): void; + selectToBeginningOfPreviousParagraph(): void; + selectWord(): TextBuffer.IRange; + expandOverWord(): void; + selectLine(row?: number): void; + expandOverLine(): void; + + // Modifying the selected text + insertText(text: string, options?: { + select: boolean; + autoIndent: boolean; + autoIndentNewline: boolean; + autoDecreaseIndent: boolean; + normalizeLineEndings?: boolean; + undo?: 'skip'; + }): void; + backspace(): void; + deleteToPreviousWordBoundary(): void; + deleteToNextWordBoundary(): void; + deleteToBeginningOfWord(): void; + deleteToBeginningOfLine(): void; + delete(): void; + deleteToEndOfLine(): void; + deleteToEndOfWord(): void; + deleteToBeginningOfSubword(): void; + deleteToEndOfSubword(): void; + deleteSelectedText(): void; + deleteLine(): void; + joinLines(): void; + outdentSelectedRows(): void; + autoIndentSelectedRows(): void; + toggleLineComments(): void; + cutToEndOfLine(): void; + cutToEndOfBufferLine(): void; + cut(maintainClipboard?: boolean, fullLine?: boolean): void; + copy(maintainClipboard?: boolean, fullLine?: boolean): void; + fold(): void; + indentSelectedRows(): void; + + // Managing multiple selections + addSelectionBelow(): void; + addSelectionAbove(): void; + merge(otherSelection: ISelection, options?: { + preserveFolds?: boolean; + autoscroll?: boolean; + }): void; + + // Comparing to other selections + compare(otherSelection: ISelection): any; + } + + interface IDecorationParams { + id?: number; + class: string; + type: any /* string or string[] */; + } + + interface IDecorationStatic { + isType(decorationParams:IDecorationParams, type:any /* string or string[] */):boolean; + new (marker:IDisplayBufferMarker, displayBuffer:IDisplayBuffer, params: IDecorationParams): IDecoration; + } + + interface IDecoration extends Emissary.IEmitter { + marker: IDisplayBufferMarker; + displayBuffer: IDisplayBuffer; + params: IDecorationParams + id: number; + flashQueue: any[]; + isDestroyed: boolean; + + destroy():void; + update(newParams:IDecorationParams):void; + getMarker():IDisplayBufferMarker; + getParams():IDecorationParams; + isType(type:string):boolean; + matchesPattern(decorationPattern:{[key:string]:IDecorationParams;}):boolean; + flash(klass:string, duration?:number):void; + consumeNextFlash():any; + } + + interface IEditor { + // Serializable.includeInto(Editor); + // Delegator.includeInto(Editor); + + deserializing:boolean; + callDisplayBufferCreatedHook:boolean; + registerEditor:boolean; + buffer:TextBuffer.ITextBuffer; + languageMode: ILanguageMode; + cursors:ICursor[]; + selections: ISelection[]; + suppressSelectionMerging:boolean; + updateBatchDepth: number; + selectionFlashDuration: number; + softTabs: boolean; + displayBuffer: IDisplayBuffer; + + id:number; + behaviors:any; + declaredPropertyValues: any; + eventHandlersByEventName: any; + eventHandlersByNamespace: any; + lastOpened: number; + subscriptionCounts: any; + subscriptionsByObject: any; /* WeakMap */ + subscriptions: Emissary.ISubscription[]; + destroy():void; + + mini: any; + + serializeParams():{id:number; softTabs:boolean; scrollTop:number; scrollLeft:number; displayBuffer:any;}; + deserializeParams(params:any):any; + subscribeToBuffer():void; + subscribeToDisplayBuffer():void; + getViewClass():any; // return type are EditorView + destroyed():void; + isDestroyed():boolean; + copy():IEditor; + getTitle():string; + getLongTitle():string; + setVisible(visible:boolean):void; + setMini(mini:any):void; + setScrollTop(scrollTop:any):void; + getScrollTop():number; + setScrollLeft(scrollLeft:any):void; + getScrollLeft():number; + setEditorWidthInChars(editorWidthInChars:any):void; + getSoftWrapColumn():number; + getSoftTabs():boolean; + setSoftTabs(softTabs:boolean):void; + getSoftWrap():boolean; + setSoftWrap(softWrap:any):void; + getTabText():string; + getTabLength():number; + setTabLength(tabLength:any):void; + usesSoftTabs():boolean; + clipBufferPosition(bufferPosition:any):void; + clipBufferRange(range:any):void; + indentationForBufferRow(bufferRow:any):void; + setIndentationForBufferRow(bufferRow:any, newLevel:any, _arg:any):void; + indentLevelForLine(line:any):number; + buildIndentString(number:any):string; + save():void; + saveAs(filePath:any):void; + copyPathToClipboard():void; + getPath():string; + getText():string; + setText(text:any):void; + getTextInRange(range:any):any; + getLineCount():number; + getBuffer():TextBuffer.ITextBuffer; + getURI():string; + isBufferRowBlank(bufferRow:any):boolean; + isBufferRowCommented(bufferRow:any):void; + nextNonBlankBufferRow(bufferRow:any):void; + getEofBufferPosition():TextBuffer.IPoint; + getLastBufferRow():number; + bufferRangeForBufferRow(row:any, options:any):TextBuffer.IRange; + lineForBufferRow(row:number):string; + lineLengthForBufferRow(row:number):number; + scan():any; + scanInBufferRange():any; + backwardsScanInBufferRange():any; + isModified():boolean; + isEmpty():boolean; + shouldPromptToSave():boolean; + screenPositionForBufferPosition(bufferPosition:any, options?:any):TextBuffer.IPoint; + bufferPositionForScreenPosition(screenPosition:any, options?:any):TextBuffer.IPoint; + screenRangeForBufferRange(bufferRange:any):TextBuffer.IRange; + bufferRangeForScreenRange(screenRange:any):TextBuffer.IRange; + clipScreenPosition(screenPosition:any, options:any):TextBuffer.IRange; + lineForScreenRow(row:any):ITokenizedLine; + linesForScreenRows(start?:any, end?:any):ITokenizedLine[]; + getScreenLineCount():number; + getMaxScreenLineLength():number; + getLastScreenRow():number; + bufferRowsForScreenRows(startRow:any, endRow:any):any[]; + bufferRowForScreenRow(row:any):number; + scopesForBufferPosition(bufferPosition:any):string[]; + bufferRangeForScopeAtCursor(selector:string):any; + tokenForBufferPosition(bufferPosition:any):IToken; + getCursorScopes():string[]; + logCursorScope():void; + insertText(text:string, options?:any):TextBuffer.IRange[]; + insertNewline():TextBuffer.IRange[]; + insertNewlineBelow():TextBuffer.IRange[]; + insertNewlineAbove():any; + indent(options?:any):any; + backspace():any[]; + // deprecated backspaceToBeginningOfWord():any[]; + // deprecated backspaceToBeginningOfLine():any[]; + deleteToBeginningOfWord():any[]; + deleteToBeginningOfLine():any[]; + delete():any[]; + deleteToEndOfLine():any[]; + deleteToEndOfWord():any[]; + deleteLine():TextBuffer.IRange[]; + indentSelectedRows():TextBuffer.IRange[][]; + outdentSelectedRows():TextBuffer.IRange[][]; + toggleLineCommentsInSelection():TextBuffer.IRange[]; + autoIndentSelectedRows():TextBuffer.IRange[][]; + normalizeTabsInBufferRange(bufferRange:any):any; + cutToEndOfLine():boolean[]; + cutSelectedText():boolean[]; + copySelectedText():boolean[]; + pasteText(options?:any):TextBuffer.IRange[]; + undo():any[]; + redo():any[]; + foldCurrentRow():any; + unfoldCurrentRow():any[]; + foldSelectedLines():any[]; + foldAll():any[]; + unfoldAll():any[]; + foldAllAtIndentLevel(level:any):any; + foldBufferRow(bufferRow:any):any; + unfoldBufferRow(bufferRow:any):any; + isFoldableAtBufferRow(bufferRow:any):boolean; + isFoldableAtScreenRow(screenRow:any):boolean; + createFold(startRow:any, endRow:any):IFold; + destroyFoldWithId(id:any):any; + destroyFoldsIntersectingBufferRange(bufferRange:any):any; + toggleFoldAtBufferRow(bufferRow:any):any; + isFoldedAtCursorRow():boolean; + isFoldedAtBufferRow(bufferRow:any):boolean; + isFoldedAtScreenRow(screenRow:any):boolean; + largestFoldContainingBufferRow(bufferRow:any):boolean; + largestFoldStartingAtScreenRow(screenRow:any):any; + outermostFoldsInBufferRowRange(startRow:any, endRow:any):any[]; + moveLineUp():ISelection[]; + moveLineDown():ISelection[]; + duplicateLines():any[][]; + // duprecated duplicateLine():any[][]; + mutateSelectedText(fn:(selection:ISelection)=>any):any; + replaceSelectedText(options:any, fn:(selection:string)=>any):any; + decorationsForScreenRowRange(startScreenRow:any, endScreenRow:any):{[id:number]: IDecoration[]}; + decorateMarker(marker:IDisplayBufferMarker, decorationParams: {type:string; class: string;}):IDecoration; + decorationForId(id:number):IDecoration; + getMarker(id:number):IDisplayBufferMarker; + getMarkers():IDisplayBufferMarker[]; + findMarkers(...args:any[]):IDisplayBufferMarker[]; + markScreenRange(...args:any[]):IDisplayBufferMarker; + markBufferRange(...args:any[]):IDisplayBufferMarker; + markScreenPosition(...args:any[]):IDisplayBufferMarker; + markBufferPosition(...args:any[]):IDisplayBufferMarker; + destroyMarker(...args:any[]):boolean; + getMarkerCount():number; + hasMultipleCursors():boolean; + getCursors():ICursor[]; + getCursor():ICursor; + addCursorAtScreenPosition(screenPosition:any):ICursor; + addCursorAtBufferPosition(bufferPosition:any):ICursor; + addCursor(marker:any):ICursor; + removeCursor(cursor:any):ICursor[]; + addSelection(marker:any, options:any):ISelection; + addSelectionForBufferRange(bufferRange:any, options:any):ISelection; + setSelectedBufferRange(bufferRange:any, options:any):any; + setSelectedBufferRanges(bufferRanges:any, options:any):any; + removeSelection(selection:ISelection):any; + clearSelections():boolean; + consolidateSelections():boolean; + selectionScreenRangeChanged(selection:any):void; + getSelections():ISelection[]; + getSelection(index?:number):ISelection; + getLastSelection():ISelection; + getSelectionsOrderedByBufferPosition():ISelection[]; + getLastSelectionInBuffer():ISelection; + selectionIntersectsBufferRange(bufferRange:any):any; + setCursorScreenPosition(position:TextBuffer.IPoint, options?:any):any; + getCursorScreenPosition():TextBuffer.IPoint; + getCursorScreenRow():number; + setCursorBufferPosition(position:any, options?:any):any; + getCursorBufferPosition():TextBuffer.IPoint; + getSelectedScreenRange():TextBuffer.IRange; + getSelectedBufferRange():TextBuffer.IRange; + getSelectedBufferRanges():TextBuffer.IRange[]; + getSelectedText():string; + getTextInBufferRange(range:TextBuffer.IRange):string; + setTextInBufferRange(range:TextBuffer.IRange | any[], text:string):any; + getCurrentParagraphBufferRange():TextBuffer.IRange; + getWordUnderCursor(options?:any):string; + moveCursorUp(lineCount?:number):void; + moveCursorDown(lineCount?:number):void; + moveCursorLeft():void; + moveCursorRight():void; + moveCursorToTop():void; + moveCursorToBottom():void; + moveCursorToBeginningOfScreenLine():void; + moveCursorToBeginningOfLine():void; + moveCursorToFirstCharacterOfLine():void; + moveCursorToEndOfScreenLine():void; + moveCursorToEndOfLine():void; + moveCursorToBeginningOfWord():void; + moveCursorToEndOfWord():void; + moveCursorToBeginningOfNextWord():void; + moveCursorToPreviousWordBoundary():void; + moveCursorToNextWordBoundary():void; + moveCursorToBeginningOfNextParagraph():void; + moveCursorToBeginningOfPreviousParagraph():void; + moveToBottom():void; + scrollToCursorPosition(options:any):any; + pageUp():void; + pageDown():void; + selectPageUp():void; + selectPageDown():void; + getRowsPerPage():number; + moveCursors(fn:(cursor:ICursor)=>any):any; + cursorMoved(event:any):void; + selectToScreenPosition(position:TextBuffer.IPoint):any; + selectRight():ISelection[]; + selectLeft():ISelection[]; + selectUp(rowCount?:number):ISelection[]; + selectDown(rowCount?:number):ISelection[]; + selectToTop():ISelection[]; + selectAll():ISelection[]; + selectToBottom():ISelection[]; + selectToBeginningOfLine():ISelection[]; + selectToFirstCharacterOfLine():ISelection[]; + selectToEndOfLine():ISelection[]; + selectToPreviousWordBoundary():ISelection[]; + selectToNextWordBoundary():ISelection[]; + selectLine():ISelection[]; + selectLinesContainingCursors():ISelection[]; + addSelectionBelow():ISelection[]; + addSelectionAbove():ISelection[]; + splitSelectionsIntoLines():any[]; + transpose():TextBuffer.IRange[]; + upperCase():boolean[]; + lowerCase():boolean[]; + joinLines():any[]; + selectToBeginningOfWord():ISelection[]; + selectToEndOfWord():ISelection[]; + selectToBeginningOfNextWord():ISelection[]; + selectWord():ISelection[]; + selectToBeginningOfNextParagraph():ISelection[]; + selectToBeginningOfPreviousParagraph():ISelection[]; + selectMarker(marker:any):any; + mergeCursors():number[]; + expandSelectionsForward():any; + expandSelectionsBackward(fn:(selection:ISelection)=>any):ISelection[]; + finalizeSelections():boolean[]; + mergeIntersectingSelections():any; + preserveCursorPositionOnBufferReload():Emissary.ISubscription; + getGrammar(): IGrammar; + setGrammar(grammer:IGrammar):void; + reloadGrammar():any; + shouldAutoIndent():boolean; + shouldShowInvisibles():boolean; + updateInvisibles():void; + transact(fn:Function):any; + beginTransaction():ITransaction; + commitTransaction():any; + abortTransaction():any[]; + inspect():string; + logScreenLines(start:number, end:number):any[]; + handleTokenization():void; + handleGrammarChange():void; + handleMarkerCreated(marker:any):any; + getSelectionMarkerAttributes():{type: string; editorId: number; invalidate: string; }; + getVerticalScrollMargin():number; + setVerticalScrollMargin(verticalScrollMargin:number):void; + getHorizontalScrollMargin():number; + setHorizontalScrollMargin(horizontalScrollMargin:number):void; + getLineHeightInPixels():number; + setLineHeightInPixels(lineHeightInPixels:number):void; + batchCharacterMeasurement(fn:Function):void; + getScopedCharWidth(scopeNames:any, char:any):any; + setScopedCharWidth(scopeNames:any, char:any, width:any):any; + getScopedCharWidths(scopeNames:any):any; + clearScopedCharWidths():any; + getDefaultCharWidth():number; + setDefaultCharWidth(defaultCharWidth:number):void; + setHeight(height:number):void; + getHeight():number; + getClientHeight():number; + setWidth(width:number):void; + getWidth():number; + getScrollTop():number; + setScrollTop(scrollTop:number):void; + getScrollBottom():number; + setScrollBottom(scrollBottom:number):void; + getScrollLeft():number; + setScrollLeft(scrollLeft:number):void; + getScrollRight():number; + setScrollRight(scrollRight:number):void; + getScrollHeight():number; + getScrollWidth():number; + getVisibleRowRange():number; + intersectsVisibleRowRange(startRow:any, endRow:any):any; + selectionIntersectsVisibleRowRange(selection:any):any; + pixelPositionForScreenPosition(screenPosition:any):any; + pixelPositionForBufferPosition(bufferPosition:any):any; + screenPositionForPixelPosition(pixelPosition:any):any; + pixelRectForScreenRange(screenRange:any):any; + scrollToScreenRange(screenRange:any, options:any):any; + scrollToScreenPosition(screenPosition:any, options:any):any; + scrollToBufferPosition(bufferPosition:any, options:any):any; + horizontallyScrollable():any; + verticallyScrollable():any; + getHorizontalScrollbarHeight():any; + setHorizontalScrollbarHeight(height:any):any; + getVerticalScrollbarWidth():any; + setVerticalScrollbarWidth(width:any):any; + // deprecated joinLine():any; + + onDidChange(callback: Function): Disposable; + onDidDestroy(callback: Function): Disposable; + onDidStopChanging(callback: Function): Disposable; + onDidChangeCursorPosition(callback: Function): Disposable; + onDidSave(callback: (event: { path: string }) => void): Disposable; + + decorateMarker(marker: Marker, options: any): Decoration; + getLastCursor(): ICursor; + } + + interface IGrammar { + bundledPackage: boolean; + emitter: any; + fileTypes: [string]; + firstLineRegex: any; + foldingStopMarker: any; + includedGrammarScopes: [any]; + initialRule: any; + injectionSelector: any; + injections: any; + maxTokensPerLine: Number; + name: string; + packageName: string; + path: string; + rawPatterns: [any]; + rawRepository: any; + registration: Disposable; + registry: any; + repository: Object; + scopeName: string; + tokenizeLines: (text: string) => any; + // TBD + + } + + interface IGrammars { + grammarForScopeName(scope: string): IGrammar; + } + + interface IPane /* extends Theorist.Model */ { + itemForURI: (uri:string)=>IEditor; + items:any[]; + activeItem:any; + + serializeParams():any; + deserializeParams(params:any):any; + getViewClass():any; // return type are PaneView + isActive():boolean; + isDestroyed():boolean; + focus():void; + blur():void; + activate():void; + getPanes():IPane[]; + getItems():any[]; + getActiveItem():any; + getActiveEditor():any; + itemAtIndex(index:number):any; + activateNextItem():any; + activatePreviousItem():any; + getActiveItemIndex():number; + activateItemAtIndex(index:number):any; + activateItem(item:any):any; + addItem(item:any, index:number):any; + addItems(items:any[], index:number):any[]; + removeItem(item:any, destroying:any):void; + moveItem(item:any, newIndex:number):void; + moveItemToPane(item:any, pane:IPane, index:number):void; + destroyActiveItem():boolean; // always return false + destroyItem(item:any):boolean; + destroyItems():any[]; + destroyInactiveItems():any[]; + destroy():void; + destroyed():any[]; + promptToSaveItem(item:any):boolean; + saveActiveItem():void; + saveActiveItemAs():void; + saveItem(item:any, nextAction:Function):void; + saveItemAs(item:any, nextAction:Function):void; + saveItems():any[]; + activateItemForURI(uri:any):any; + copyActiveItem():void; + splitLeft(params:any):IPane; + splitRight(params:any):IPane; + splitUp(params:any):IPane; + splitDown(params:any):IPane; + split(orientation:string, side:string, params:any):IPane; + findLeftmostSibling():IPane; + findOrCreateRightmostSibling():IPane; + } + + // https://atom.io/docs/v0.84.0/advanced/serialization + interface ISerializationStatic { + deserialize(data:ISerializationInfo):T; + new (data:T): ISerialization; + } + + interface ISerialization { + serialize():ISerializationInfo; + } + + interface ISerializationInfo { + deserializer: string; + } + + interface IBrowserWindow { + getPosition():number[]; + getSize():number[]; + } + + interface IAtomWindowDimentions { + x:number; + y:number; + width:number; + height:number; + } + + interface IProjectStatic { + pathForRepositoryUrl(repoUrl:string):string; + + new (arg?:{path:any; buffers:any[];}):IProject; + } + + interface IProject /* extends Theorist.Model */ { + // Serializable.includeInto(Project); + + path:string; + /** deprecated */ + rootDirectory?:PathWatcher.IDirectory; + rootDirectories:PathWatcher.IDirectory[]; + + serializeParams():any; + deserializeParams(params:any):any; + destroyed():any; + destroyRepo():any; + destroyUnretainedBuffers():any; + getRepo():IGit; + getPath():string; + setPath(projectPath:string):any; + getRootDirectory():PathWatcher.IDirectory; + resolve(uri:string):string; + relativize(fullPath:string):string; + contains(pathToCheck:string):boolean; + open(filePath:string, options?:any):Q.Promise; + openSync(filePath:string, options?:any):IEditor; + getBuffers():TextBuffer.ITextBuffer; + isPathModified(filePath:string):boolean; + findBufferForPath(filePath:string):TextBuffer.ITextBuffer; + bufferForPathSync(filePath:string):TextBuffer.ITextBuffer; + bufferForPath(filePath:string):Q.Promise; + bufferForId(id:any):TextBuffer.ITextBuffer; + buildBufferSync(absoluteFilePath:string):TextBuffer.ITextBuffer; + buildBuffer(absoluteFilePath:string):Q.Promise; + addBuffer(buffer:TextBuffer.ITextBuffer, options?:any):any; + addBufferAtIndex(buffer:TextBuffer.ITextBuffer, index:number, options?:any):any; + scan(regex:any, options:any, iterator:any):Q.Promise; + replace(regex:any, replacementText:any, filePaths:any, iterator:any):Q.Promise; + buildEditorForBuffer(buffer:any, editorOptions:any):IEditor; + eachBuffer(...args:any[]):any; + + onDidChangePaths(callback: Function): Disposable; + } + + interface IWorkspaceStatic { + new():IWorkspace; + } + + interface IWorkspacePanelOptions{ + item:any; + visible?:boolean; + priority?:number; + } + + interface Panel{ + getItem():any; + getPriority():any; + isVisible():boolean; + show():void; + hide():void; + } + + interface IWorkspace { + addBottomPanel(options:IWorkspacePanelOptions):Panel; + addLeftPanel(options:IWorkspacePanelOptions):Panel; + addRightPanel(options:IWorkspacePanelOptions):Panel; + addTopPanel(options:IWorkspacePanelOptions):Panel; + addModalPanel(options:IWorkspacePanelOptions):Panel; + addOpener(opener: Function): any; + + deserializeParams(params:any):any; + serializeParams():{paneContainer:any;fullScreen:boolean;}; + eachEditor(callback: Function): void; + getTextEditors():IEditor[]; + open(uri:string, options:any):Q.Promise; + openLicense():void; + openSync(uri:string, options:any):any; + openUriInPane(uri: string, pane: any, options: any): Q.Promise; + observeTextEditors(callback: Function): Disposable; + reopenItemSync():any; + registerOpener(opener:(urlToOpen:string)=>any):void; + unregisterOpener(opener:Function):void; + getOpeners():any; + getActivePane(): IPane; + getActivePaneItem(): IPane; + getActiveTextEditor(): IEditor; + getPanes():any; + saveAll():void; + activateNextPane():any; + activatePreviousPane():any; + paneForURI: (uri:string) => IPane; + saveActivePaneItem():any; + saveActivePaneItemAs():any; + destroyActivePaneItem():any; + destroyActivePane():any; + getActiveEditor():IEditor; + increaseFontSize():void; + decreaseFontSize():void; + resetFontSize():void; + itemOpened(item:any):void; + onPaneItemDestroyed(item:any):void; + destroyed():void; + isTextEditor(object: any): boolean; + + onDidChangeActivePaneItem(item:any):Disposable; + } + + interface IAtomSettings { + appVersion: string; + bootstrapScript: string; + devMode: boolean; + initialPath: string; + pathToOpen: string; + resourcePath: string; + shellLoadTime: number; + windowState:string; + } + + interface IAtomState { + mode:string; + packageStates:any; + project:any; + syntax:any; + version:number; + windowDimensions:any; + workspace:any; + } + + interface IDeserializerManager { + deserializers:Function; + add:Function; + remove:Function; + deserialize:Function; + get:Function; + } + + interface IColorlike { + red: number; + green: number; + blue: number; + alpha: number; + } + + class Color { + public static parse(value:string): Color + public static parse(value:IColorlike): Color + public toHexString(): string + public toRGBAString(): string + } + + interface IConfigGetOptions { + sources?:Array; + excludeSources?:Array; + scope?:ScopeDescriptor; + } + + interface IConfigSetOptions { + scopeSelector?:string; + source?:string; + } + + interface IConfigObserveOptions { + scope?:ScopeDescriptor; + } + + interface IConfigChangeEvent { + newValue:T; + oldValue:T; + } + + type ConfigSetting = string | number | boolean | Color | IConfigArray | IConfigObject + + interface IConfigArray extends Array { } + + interface IConfigObject { [key: string]: ConfigSetting } + + interface IConfig { + get(keyPath:string, options?:IConfigGetOptions):ConfigSetting; + set(keyPath:string, value:ConfigSetting, options?:IConfigSetOptions):boolean; + unset(keyPath:string, options?:IConfigSetOptions):void; + observe(keyPath:string, options?:IConfigObserveOptions, callback?:(value:ConfigSetting) => void):Disposable; + onDidChange(keyPath?:string, options?:IConfigObserveOptions, callback?:(event:IConfigChangeEvent) => void):Disposable; + } + + interface IKeymapManager { + defaultTarget:HTMLElement; + // TBD + } + + interface IPackage { + mainModulePath: string; + mainModule: any; + enable(): void; + disable(): void; + isTheme(): boolean; + getType(): string; + getStylesheetType(): string; + load(): IPackage; + reset(): void; + activate(): Q.Promise; + activateNow(): void; + // TBD + } + + interface IPackageManager extends Emissary.IEmitter { + packageDirPaths:string[]; + loadedPackages:any; + activePackages:any; + packageStates:any; + packageActivators:any[]; + + getApmPath():string; + getPackageDirPaths():string; + getPackageState(name:string):any; + setPackageState(name:string, state:any):void; + enablePackage(name:string):any; + disablePackage(name:string):any; + activate():void; + registerPackageActivator(activator:any, types:any):void; + activatePackages(packages:any):void; + activatePackage(name:string):Q.Promise; + deactivatePackages():void; + deactivatePackage(name:string):void; + getActivePackages():any; + getActivePackage(name:string):any; + isPackageActive(name:string):boolean; + unobserveDisabledPackages():void; + observeDisabledPackages():void; + loadPackages():void; + loadPackage(nameOrPath:string):void; + unloadPackages():void; + unloadPackage(name:string):void; + getLoadedPackage(name:string):any; + isPackageLoaded(name:string):boolean; + getLoadedPackages():any; + getLoadedPackagesForTypes(types:any):any[]; + resolvePackagePath(name:string):string; + isPackageDisabled(name:string):boolean; + hasAtomEngine(packagePath:string):boolean; + isBundledPackage(name:string):boolean; + getPackageDependencies():any; + getAvailablePackagePaths():any[]; + getAvailablePackageNames():any[]; + getAvailablePackageMetadata():any[]; + } + + interface INotifications { + addInfo: Function; + addError: Function; + addSuccess: Function; + addWarning: Function; + } + + interface IThemeManager { + // TBD + } + + interface IContextMenuManager { + // TBD + } + + interface IMenuManager { + // TBD + } + + interface IClipboard { + write(text:string, metadata?:any):any; + read():string; + } + + interface ISyntax { + // TBD + } + + interface IWindowEventHandler { + // TBD + } + + interface IAtomStatic extends ISerializationStatic { + version: number; + loadSettings: IAtomSettings; + + /* Load or create the Atom environment in the given mode */ + loadOrCreate(mode:'editor'):IAtom; + /* Load or create the Atom environment in the given mode */ + loadOrCreate(mode:'spec'):IAtom; + /* Load or create the Atom environment in the given mode */ + loadOrCreate(mode:string):IAtom; + + loadState(mode:any):void; + getStatePath(mode:any):string; + getConfigDirPath():string; + getStorageDirPath():string; + getLoadSettings():IAtomSettings; + getCurrentWindow():IBrowserWindow; + getVersion():string; + isReleasedVersion():boolean; + + new(state:IAtomState):IAtom; + } + + class Disposable { + constructor(disposalAction:any) + static isDisposable(object: any): boolean + dispose():void + } + + class CompositeDisposable { + constructor(... disposables: Array) + clear():void + dispose():void + add(... disposables: Array): void + remove(disposable: Disposable): void + delete(disposable: Disposable): void + } + + // https://atom.io/docs/api/v0.106.0/api/classes/Atom.html + /* Global Atom class : instance members */ + interface IAtom { + constructor:IAtomStatic; + + state:IAtomState; + mode:string; + deserializers:IDeserializerManager; + config: IConfig; + commands: ICommandRegistry; + grammars: IGrammars; + keymaps: IKeymapManager; + keymap: IKeymapManager; + packages: IPackageManager; + themes: IThemeManager; + contextManu: IContextMenuManager; + menu: IMenuManager; + notifications: INotifications; // https://github.com/atom/notifications + clipboard:IClipboard; + syntax:ISyntax; + views: IViewRegistry; + windowEventHandler: IWindowEventHandler; + + // really exists? start + subscribe:Function; + unsubscribe:Function; + loadTime:number; + workspaceViewParentSelector:string; + + project: IProject; + workspaceView: IWorkspaceView; + workspace: IWorkspace; + // really exists? end + + initialize:Function; + // registerRepresentationClass:Function; + // registerRepresentationClasses:Function; + setBodyPlatformClass:Function; + getCurrentWindow():IBrowserWindow; + getWindowDimensions:Function; + setWindowDimensions:Function; + restoreWindowDimensions:Function; + storeWindowDimensions:Function; + getLoadSettings:Function; + deserializeProject: Function; + deserializeWorkspaceView:Function; + deserializePackageStates:Function; + deserializeEditorWindow:Function; + startEditorWindow:Function; + unloadEditorWindow:Function; + loadThemes:Function; + watchThemes:Function; + open:Function; + confirm:Function; + showSaveDialog:Function; + showSaveDialogSync:Function; + openDevTools:Function; + toggleDevTools:Function; + executeJavaScriptInDevTools:Function; + reload:Function; + focus:Function; + show:Function; + hide:Function; + setSize:Function; + setPosition:Function; + center:Function; + displayWindow:Function; + close:Function; + exit:Function; + inDevMode:Function; + inSpecMode:Function; + toggleFullScreen:Function; + setFullScreen:Function; + isFullScreen:Function; + getVersion:Function; + isReleasedVersion:Function; + getGitHubAuthTokenName:Function; + setGitHubAuthToken:Function; + getGitHubAuthToken:Function; + getConfigDirPath:Function; + saveSync:Function; + getWindowLoadTime():number; + crashMainProcess:Function; + crashRenderProcess:Function; + beep:Function; + getUserInitScriptPath:Function; + requireUserInitScript:Function; + requireWithGlobals:Function; + + services: any; // TODO: New services api + } + + interface IBufferedNodeProcessStatic { + new (arg:any):IBufferedNodeProcess; + } + + interface IBufferedNodeProcess extends IBufferedProcess { + } + + interface IBufferedProcessStatic { + new (arg:any):IBufferedProcess; + } + + interface IBufferedProcess { + process:Function; + killed:boolean; + + bufferStream:Function; + kill:Function; + } + + interface IGitStatic { + new(path:any, options:any):IGit; + } + + interface IGit { + } + + interface ITokenizedBuffer { + // TBD + } + + interface ITokenizedLine { + // TBD + } + + interface IToken { + // TBD + } + + interface IFoldStatic { + new (displayBuffer:IDisplayBuffer, marker:IMarker):IFold; + // TBD + } + + interface IFold { + id:number; + displayBuffer:IDisplayBuffer; + marker:IMarker; + + // TBD + } + + interface IDisplayBufferMarkerStatic { + new (_arg:{bufferMarker:IMarker; displayBuffer: IDisplayBuffer}):IDisplayBufferMarker; + } + + interface IDisplayBufferMarker extends Emissary.IEmitter, Emissary.ISubscriber { + constructor:IDisplayBufferMarkerStatic; + + id: number; + + bufferMarkerSubscription:any; + oldHeadBufferPosition:TextBuffer.IPoint; + oldHeadScreenPosition:TextBuffer.IPoint; + oldTailBufferPosition:TextBuffer.IPoint; + oldTailScreenPosition:TextBuffer.IPoint; + wasValid:boolean; + + bufferMarker: IMarker; + displayBuffer: IDisplayBuffer; + globalPauseCount:number; + globalQueuedEvents:any; + + subscriptions:Emissary.ISubscription[]; + subscriptionsByObject:any; // WeakMap + + copy(attributes?:any /* maybe IMarker */):IDisplayBufferMarker; + getScreenRange():TextBuffer.IRange; + setScreenRange(screenRange:any, options:any):any; + getBufferRange():TextBuffer.IRange; + setBufferRange(bufferRange:any, options:any):any; + getPixelRange():any; + getHeadScreenPosition():TextBuffer.IPoint; + setHeadScreenPosition(screenPosition:any, options:any):any; + getHeadBufferPosition():TextBuffer.IPoint; + setHeadBufferPosition(bufferPosition:any):any; + getTailScreenPosition():TextBuffer.IPoint; + setTailScreenPosition(screenPosition:any, options:any):any; + getTailBufferPosition():TextBuffer.IPoint; + setTailBufferPosition(bufferPosition:any):any; + plantTail():boolean; + clearTail():boolean; + hasTail():boolean; + isReversed():boolean; + isValid():boolean; + isDestroyed():boolean; + getAttributes():any; + setAttributes(attributes:any):any; + matchesAttributes(attributes:any):any; + destroy():any; + isEqual(other:IDisplayBufferMarker):boolean; + compare(other:IDisplayBufferMarker):boolean; + inspect():string; + destroyed():any; + notifyObservers(_arg:any):any; + } + + interface ITransaction { + // TBD + } + + interface IMarker extends Emissary.IEmitter { + // Serializable.includeInto(Editor); + // Delegator.includeInto(Editor); + + // TBD + } + + interface ITaskStatic { + new(taskPath:any):ITask; + } + + interface ITask { + // TBD + } +} + +declare var atom:AtomCore.IAtom; + +declare module "atom" { + import spacePen = require("space-pen"); + import Q = require("q"); + + var $:typeof spacePen.$; + var $$:typeof spacePen.$$; + var $$$:typeof spacePen.$$$; + + var BufferedNodeProcess:AtomCore.IBufferedNodeProcessStatic; + var BufferedProcess:AtomCore.IBufferedProcessStatic; + var Git:AtomCore.IGitStatic; + var Point:TextBuffer.IPointStatic; + var Range:TextBuffer.IRangeStatic; + + class View extends spacePen.View implements Emissary.ISubscriber { + // Subscriber.includeInto(spacePen.View); + + // inherit from Subscriber + subscribeWith(eventEmitter:any, methodName:string, args:any):any; + + addSubscription(subscription:any):any; + + subscribe(eventEmitterOrSubscription:any, ...args:any[]):any; + + subscribeToCommand(eventEmitter:any, ...args:any[]):any; + + unsubscribe(object?:any):any; + } + + class EditorView extends View { + static characterWidthCache:any; + static configDefaults:any; + static nextEditorId:number; + + static content(params:any):void; + + static classes(_arg?:{mini?:any}):string; + + vScrollMargin:number; + hScrollMargin:number; + lineHeight:any; + charWidth:any; + charHeight:any; + cursorViews:any[]; + selectionViews:any[]; + lineCache:any[]; + isFocused:any; + editor:AtomCore.IEditor; + attached:any; + lineOverdraw:number; + pendingChanges:any[]; + newCursors:any[]; + newSelections:any[]; + redrawOnReattach:any; + bottomPaddingInLines:number; + active:boolean; + + id:number; + + gutter:AtomCore.IGutterView; + overlayer:JQuery; + scrollView:JQuery; + renderedLines:JQuery; + underlayer:JQuery; + hiddenInput:JQuery; + verticalScrollbar:JQuery; + verticalScrollbarContent:JQuery; + + constructor(editor:AtomCore.IEditor); + + initialize(editorOrOptions:AtomCore.IEditor):void; // return type are same as editor method. + initialize(editorOrOptions?:{editor: AtomCore.IEditor; mini:any; placeholderText:any}):void; + + initialize(editorOrOptions:{}):void; // compatible for spacePen.View + + bindKeys():void; + + getEditor():AtomCore.IEditor; + + getText():string; + + setText(text:string):void; + + insertText(text:string, options?:any):TextBuffer.IRange[]; + + setHeightInLines(heightInLines:number):number; + + setWidthInChars(widthInChars:number):number; + + pageDown():void; + + pageUp():void; + + getPageRows():number; + + setShowInvisibles(showInvisibles:boolean):void; + + setInvisibles(invisibles:{ eol:string; space: string; tab: string; cr: string; }):void; + + setShowIndentGuide(showIndentGuide:boolean):void; + + setPlaceholderText(placeholderText:string):void; + + getPlaceholderText():string; + + checkoutHead():boolean; + + configure():Emissary.ISubscription; + + handleEvents():void; + + handleInputEvents():void; + + bringHiddenInputIntoView():JQuery; + + selectOnMousemoveUntilMouseup():any; + + afterAttach(onDom:any):any; + + edit(editor:AtomCore.IEditor):any; + + getModel():AtomCore.IEditor; + + setModel(editor:AtomCore.IEditor):any; + + showBufferConflictAlert(editor:AtomCore.IEditor):any; + + scrollTop(scrollTop:number, options?:any):any; + + scrollBottom(scrollBottom?:number):any; + + scrollLeft(scrollLeft?:number):number; + + scrollRight(scrollRight?:number):any; + + scrollToBottom():any; + + scrollToCursorPosition():any; + + scrollToBufferPosition(bufferPosition:any, options:any):any; + + scrollToScreenPosition(screenPosition:any, options:any):any; + + scrollToPixelPosition(pixelPosition:any, options:any):any; + + highlightFoldsContainingBufferRange(bufferRange:any):any; + + saveScrollPositionForEditor():any; + + toggleSoftTabs():any; + + toggleSoftWrap():any; + + calculateWidthInChars():number; + + calculateHeightInLines():number; + + getScrollbarWidth():number; + + setSoftWrap(softWrap:boolean):any; + + setFontSize(fontSize:number):any; + + getFontSize():number; + + setFontFamily(fontFamily?:string):any; + + getFontFamily():string; + + setLineHeight(lineHeight:number):any; + + redraw():any; + + splitLeft():any; + + splitRight():any; + + splitUp():any; + + splitDown():any; + + getPane():any; // return type are PaneView + + remove(selector:any, keepData:any):any; + + beforeRemove():any; + + getCursorView(index?:number):any; // return type are CursorView + + getCursorViews():any[]; // return type are CursorView[] + + addCursorView(cursor:any, options:any):any; // return type are CursorView + + removeCursorView(cursorView:any):any; + + getSelectionView(index?:number):any; // return type are SelectionView + + getSelectionViews():any[]; // return type are SelectionView[] + + addSelectionView(selection:any):any; + + removeSelectionView(selectionView:any):any; + + removeAllCursorAndSelectionViews():any[]; + + appendToLinesView(view:any):any; + + scrollVertically(pixelPosition:any, _arg:any):any; + + scrollHorizontally(pixelPosition:any):any; + + calculateDimensions():number; + + recalculateDimensions():any; + + updateLayerDimensions():any; + + isHidden():boolean; + + clearRenderedLines():void; + + resetDisplay():any; + + requestDisplayUpdate():any; + + updateDisplay(options?:any):any; + + updateCursorViews():any; + + shouldUpdateCursor(cursorView:any):any; + + updateSelectionViews():any[]; + + shouldUpdateSelection(selectionView:any):any; + + syncCursorAnimations():any[]; + + autoscroll(suppressAutoscroll?:any):any[]; + + updatePlaceholderText():any; + + updateRenderedLines(scrollViewWidth:any):any; + + computeSurroundingEmptyLineChanges(change:any):any; + + computeIntactRanges(renderFrom:any, renderTo:any):any; + + truncateIntactRanges(intactRanges:any, renderFrom:any, renderTo:any):any; + + clearDirtyRanges(intactRanges:any):any; + + clearLine(lineElement:any):any; + + fillDirtyRanges(intactRanges:any, renderFrom:any, renderTo:any):any; + + updatePaddingOfRenderedLines():any; + + getFirstVisibleScreenRow():number; + + getLastVisibleScreenRow():number; + + isScreenRowVisible():boolean; + + handleScreenLinesChange(change:any):any; + + buildLineElementForScreenRow(screenRow:any):any; + + buildLineElementsForScreenRows(startRow:any, endRow:any):any; + + htmlForScreenRows(startRow:any, endRow:any):any; + + htmlForScreenLine(screenLine:any, screenRow:any):any; + + buildIndentation(screenRow:any, editor:any):any; + + buildHtmlEndOfLineInvisibles(screenLine:any):any; + + getEndOfLineInvisibles(screenLine:any):any; + + lineElementForScreenRow(screenRow:any):any; + + toggleLineCommentsInSelection():any; + + pixelPositionForBufferPosition(position:any):any; + + pixelPositionForScreenPosition(position:any):any; + + positionLeftForLineAndColumn(lineElement:any, screenRow:any, screenColumn:any):any; + + measureToColumn(lineElement:any, tokenizedLine:any, screenColumn:any):any; + + getCharacterWidthCache(scopes:any, char:any):any; + + setCharacterWidthCache(scopes:any, char:any, val:any):any; + + clearCharacterWidthCache():any; + + pixelOffsetForScreenPosition(position:any):any; + + screenPositionFromMouseEvent(e:any):any; + + highlightCursorLine():any; + + copyPathToClipboard():any; + + buildLineHtml(_arg:any):any; + + updateScopeStack(line:any, scopeStack:any, desiredScopes:any):any; + + pushScope(line:any, scopeStack:any, scope:any):any; + + popScope(line:any, scopeStack:any):any; + + buildEmptyLineHtml(showIndentGuide:any, eolInvisibles:any, htmlEolInvisibles:any, indentation:any, editor:any, mini:any):any; + + replaceSelectedText(replaceFn:(str:string)=>string):any; + + consolidateSelections(e:any):any; + + logCursorScope():any; + + logScreenLines(start:any, end:any):any; + + logRenderedLines():any; + } + + class ScrollView extends View { + // TBD + } + + interface ISelectListItem { + /** e.g. application:about */ + eventName:string; + /** e.g. Application: About */ + eventDescription:string; + } + + class SelectListView extends View { + static content():any; + + maxItems:number; + scheduleTimeout:any; + inputThrottle:number; + cancelling:boolean; + items:any[]; + list:JQuery; + filterEditorView: JQuery; + + previouslyFocusedElement:JQuery; + + initialize():any; + + schedulePopulateList():number; + + setItems(items:any[]):any; + + setError(message?:string):any; + + setLoading(message?:string):any; + + getFilterQuery():string; + + populateList():any; + + getEmptyMessage(itemCount?:any, filteredItemCount?:any):string; + + setMaxItems(maxItems:number):void; + + selectPreviousItemView():any; + + selectNextItemView():any; + + selectItemView(view:any):any; + + scrollToItemView(view:any):any; + + getSelectedItemView():any; + + getSelectedItem():any; + + confirmSelection():any; + + viewForItem(item:any):JQuery|string|HTMLElement|View; // You must override this method! + confirmed(item:any):any; // You must override this method! + getFilterKey():any; + + focusFilterEditor():any; + + storeFocusedElement():any; + + restoreFocus():any; + + cancelled():any; + + cancel():any; + } + + class Disposable extends AtomCore.Disposable { } + class CompositeDisposable extends AtomCore.CompositeDisposable { } + + var WorkspaceView:AtomCore.IWorkspaceViewStatic; + + var Task:AtomCore.ITaskStatic; + var Workspace:AtomCore.IWorkspaceStatic; +} diff --git a/types/atom/v0/tsconfig.json b/types/atom/v0/tsconfig.json new file mode 100644 index 0000000000..11d6a6ea93 --- /dev/null +++ b/types/atom/v0/tsconfig.json @@ -0,0 +1,29 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "baseUrl": "../../", + "typeRoots": [ + "../../" + ], + "paths": { + "atom": [ "atom/v0" ], + "pathwatcher": [ "pathwatcher/v0" ], + "q": [ "q/v0" ] + }, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "api-docs.d.ts", + "atom-tests.ts" + ] +} diff --git a/types/event-kit/.editorconfig b/types/event-kit/.editorconfig index 570211f898..2b997514d2 100644 --- a/types/event-kit/.editorconfig +++ b/types/event-kit/.editorconfig @@ -1,3 +1,3 @@ [*.ts] indent_style = tab -indent_size = 4 +indent_size = 2 diff --git a/types/event-kit/README.md b/types/event-kit/README.md new file mode 100644 index 0000000000..90835ef13e --- /dev/null +++ b/types/event-kit/README.md @@ -0,0 +1,22 @@ +## Event Kit Type Definitions + +TypeScript type definitions for [event-kit](https://github.com/atom/event-kit), which is published [under the same name](https://www.npmjs.com/package/event-kit) on NPM. + +### Usage Notes + +#### Exports + +The three classes exported from this module are: [CompositeDisposable](https://github.com/atom/event-kit/blob/master/src/composite-disposable.coffee), [Disposable](https://github.com/atom/event-kit/blob/master/src/disposable.coffee), and [Emitter](https://github.com/atom/event-kit/blob/master/src/emitter.coffee). + +```ts +import { CompositeDisposable, Disposable, Emitter } from "event-kit"; +let subscriptions = new CompositeDisposable(); +``` + +#### The EventKit Namespace + +All types used by "event-kit" can be referenced from the EventKit namespace. + +```ts +function example(disposable: EventKit.DisposableLike) {} +``` diff --git a/types/event-kit/event-kit-tests.ts b/types/event-kit/event-kit-tests.ts index 4b4a0d4e7c..41fa6ba22a 100644 --- a/types/event-kit/event-kit-tests.ts +++ b/types/event-kit/event-kit-tests.ts @@ -1,57 +1,83 @@ - - import { Disposable, CompositeDisposable, Emitter } from "event-kit"; -// Emitter +declare let bool: boolean; +declare let subscription: EventKit.Disposable; +declare let subscriptions: EventKit.CompositeDisposable; +declare let emitter: EventKit.Emitter; +// NPM Usage Tests ============================================================ class User { - private emitter: Emitter; + private readonly emitter: EventKit.Emitter; name: string; constructor() { this.emitter = new Emitter(); } - onDidChangeName(callback: (name: string) => void): Disposable { - return this.emitter.on('did-change-name', callback); + onDidChangeName(callback: (value: any) => void) { + return this.emitter.on("did-change-name", callback); } - setName(name: string): void { - if (this.name != name) { + setName(name: string) { + if (name !== this.name) { this.name = name; - this.emitter.emit('did-change-name', name); + this.emitter.emit("did-change-name", name); } + return name; } - destroy(): void { - this.emitter.clear(); + destroy() { this.emitter.dispose(); } } -// Disposable - -var disposable = new Disposable(() => { - // cleanup -}); -disposable.dispose(); - -var user = new User(); -var subscription = user.onDidChangeName((name: string) => { - console.log('User name change to: ' + name); -}); -if(Disposable.isDisposable(subscription)) {} +const user = new User(); +subscription = user.onDidChangeName(name => console.log("My name is #{name}")); subscription.dispose(); -// CompositeDisposable +// Disposable ================================================================= +bool = subscription.disposed; +if (subscription.disposalAction) subscription.disposalAction(); +subscription.dispose(); + +// CompositeDisposable ======================================================== +// Properties +bool = subscriptions.disposed; + +// Construction and Lifecycle +subscriptions = new CompositeDisposable(); +new CompositeDisposable(subscription); +new CompositeDisposable(subscription, subscription); +new CompositeDisposable({ dispose() {} }); -var subscriptions = new CompositeDisposable(); -subscriptions.add( - user.onDidChangeName((name: string) => { - console.log('subscriber #1'); - }), - user.onDidChangeName((name: string) => { - console.log('subscriber #2'); - }) -); subscriptions.dispose(); + +// Managing Disposables +subscriptions.add(subscription); +subscriptions.add( + subscription, + { dispose() {} } +); + +subscriptions.remove(subscription); +subscriptions.remove({ dispose() {} }); + +subscriptions.delete(subscription); +subscriptions.delete({ dispose() {} }); + +subscriptions.clear(); + +// Emitter ==================================================================== +bool = emitter.disposed; + +emitter.clear(); +emitter.dispose(); + +// Event Subscription +subscription = emitter.on("test-event", value => {}); +emitter.once("test-event", value => {}); +subscription = emitter.preempt("test-event", value => {}); + +// Event Emission +emitter.emit("test-event"); +emitter.emit("test-event", 42); diff --git a/types/event-kit/index.d.ts b/types/event-kit/index.d.ts index 74f270c40f..8ce9bd8fbe 100644 --- a/types/event-kit/index.d.ts +++ b/types/event-kit/index.d.ts @@ -1,91 +1,126 @@ -// Type definitions for event-kit v1.2.0 +// Type definitions for event-kit 2.x // Project: https://github.com/atom/event-kit -// Definitions by: Vadim Macagon +// Definitions by: GlenCFL // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 -export = AtomEventKit; +declare global { + namespace EventKit { + /** The static side to each exported class. Should generally only be used internally. */ + namespace Statics { + /* tslint:disable:no-unnecessary-qualifier */ + /** The static side to the Disposable class. */ + interface Disposable { + /** Ensure that Object correctly implements the Disposable contract. */ + isDisposable(object: object): boolean; -declare namespace AtomEventKit { - interface IDisposable { - dispose(): void; + /** Construct a Disposable. */ + new (disposableAction?: () => void): EventKit.Disposable; + } + + /** The static side to the CompositeDisposable class. */ + interface CompositeDisposable { + /** Construct an instance, optionally with one or more disposables. */ + new (...disposables: DisposableLike[]): EventKit.CompositeDisposable; + } + + /** The static side to the Emitter class. */ + interface Emitter { + /** Construct an emitter. */ + new (): EventKit.Emitter; + } + /* tslint:enable:no-unnecessary-qualifier */ + } + + interface DisposableLike { + dispose(): void; + } + + /** A handle to a resource that can be disposed. */ + interface Disposable extends DisposableLike { + disposed: boolean; + + /** A callback which will be called within dispose(). */ + disposalAction?(): void; + + /** Perform the disposal action, indicating that the resource associated + * with this disposable is no longer needed. + */ + dispose(): void; + } + + /** An object that aggregates multiple Disposable instances together into a + * single disposable, so they can all be disposed as a group. + */ + interface CompositeDisposable extends DisposableLike { + disposed: boolean; + + /** Dispose all disposables added to this composite disposable. + * If this object has already been disposed, this method has no effect. + */ + dispose(): void; + + // Managing Disposables + /** Add disposables to be disposed when the composite is disposed. + * If this object has already been disposed, this method has no effect. + */ + add(...disposables: DisposableLike[]): void; + + /** Remove a previously added disposable. */ + remove(disposable: DisposableLike): void; + + /** Alias to CompositeDisposable::remove. */ + delete(disposable: DisposableLike): void; + + /** Clear all disposables. They will not be disposed by the next call to + * dispose. + */ + clear(): void; + } + + /** Utility class to be used when implementing event-based APIs that allows + * for handlers registered via ::on to be invoked with calls to ::emit. + */ + interface Emitter extends DisposableLike { + disposed: boolean; + + /** Clear out any existing subscribers. */ + clear(): void; + + /** Unsubscribe all handlers. */ + dispose(): boolean; + + // Event Subscription + /** Registers a handler to be invoked whenever the given event is emitted. */ + on(eventName: string, handler: (value: any) => void): Disposable; + + /** Register the given handler function to be invoked the next time an event + * with the given name is emitted via ::emit. + */ + once(eventName: string, handler: (value: any) => void): Disposable; + + /** Register the given handler function to be invoked before all other + * handlers existing at the time of subscription whenever events by the + * given name are emitted via ::emit. + */ + preempt(eventName: string, handler: (value: any) => void): Disposable; + + // Event Emission + /** Invoke handlers registered via ::on for the given event name. */ + emit(eventName: string, value?: any): void; + } } - - /** Static side of the Disposable class. */ - interface DisposableStatic { - prototype: Disposable; - new (disposalAction: Function): Disposable; - /** - * Ensure that Object correctly implements the Disposable. - */ - isDisposable(object: Object): boolean; - } - - /** Instance side of the Disposable class. */ - interface Disposable extends IDisposable { - disposed: boolean; - - constructor: DisposableStatic; - } - - /** A class that represent a handle to a resource that can be disposed. */ - var Disposable: DisposableStatic; - - /** Static side of the CompositeDisposable class. */ - interface CompositeDisposableStatic { - prototype: CompositeDisposable; - new (...disposables: IDisposable[]): CompositeDisposable; - } - - /** Instance side of the CompositeDisposable class. */ - interface CompositeDisposable extends IDisposable { - disposed: boolean; - - constructor: CompositeDisposableStatic; - add(...disposables: IDisposable[]): void; - remove(disposable: IDisposable): void; - clear(): void; - } - - /** - * A class that aggregates multiple [[Disposable]] instances together into a single disposable, - * so that they can all be disposed as a group. - */ - var CompositeDisposable: CompositeDisposableStatic; - - /** Static side of the Emitter class. */ - interface EmitterStatic { - prototype: Emitter; - new (): Emitter; - } - - /** Instance side of the Emitter class. */ - interface Emitter { - isDisposed: boolean; - - constructor: EmitterStatic; - /** - * Clear out any existing subscribers. - */ - clear(): void; - /** - * Unsubscribe all handlers. - */ - dispose(): void; - /** - * Registers a handler to be invoked whenever the given event is emitted. - * @return An object that will unregister the handler when disposed. - */ - on(eventName: string, handler: (value: any) => void, unshift?: boolean): Disposable; - /** - * Registers a handler to be invoked *before* all previously registered handlers for - * the given event. - * @return An object that will unregister the handler when disposed. - */ - preempt(eventName: string, handler: (value: any) => void): Disposable; - /** Invokes any registered handlers for the given event. */ - emit(eventName: string, value: any): void; - } - - /** A utility class for implementing event-based APIs. */ - var Emitter: EmitterStatic; } + +/** A handle to a resource that can be disposed. */ +export const Disposable: EventKit.Statics.Disposable; + +/** An object that aggregates multiple Disposable instances together into a + * single disposable, so they can all be disposed as a group. + */ +export const CompositeDisposable: EventKit.Statics.CompositeDisposable; + +/** Utility class to be used when implementing event-based APIs that allows + * for handlers registered via ::on to be invoked with calls to ::emit. + */ +export const Emitter: EventKit.Statics.Emitter; diff --git a/types/event-kit/tsconfig.json b/types/event-kit/tsconfig.json index 1682f77cb6..ec89f9ddb9 100644 --- a/types/event-kit/tsconfig.json +++ b/types/event-kit/tsconfig.json @@ -7,7 +7,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +20,4 @@ "index.d.ts", "event-kit-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/event-kit/tslint.json b/types/event-kit/tslint.json new file mode 100644 index 0000000000..10fd9f0654 --- /dev/null +++ b/types/event-kit/tslint.json @@ -0,0 +1,38 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + // Custom rules. + "class-name": true, + "indent": [true, "tabs"], + "jsdoc-format": true, + "linebreak-style": [true, "LF"], + "max-line-length": [true, 100], + "no-any": false, + "quotemark": [true, "double", "avoid-escape"], + "trailing-comma": [true, { + "multiline": { "objects": "always", "arrays": "always", "functions": "never" }, + "singleline": { "objects": "never", "arrays": "never", "functions": "never" } + }], + "whitespace": [ + true, + "check-branch", + "check-decl", + "check-operator", + "check-module", + "check-separator", + "check-type", + "check-typecast", + "check-rest-spread", + "check-preblock" + ], + // Soon to be defaults. + "arrow-return-shorthand": [true, "multiline"], + "no-floating-promises": true, + "no-unbound-method": true, + "no-unsafe-any": true, + "number-literal-format": true, + "restrict-plus-operands": true, + "return-undefined": true, + "switch-final-break": true + } +} diff --git a/types/event-kit/v1/.editorconfig b/types/event-kit/v1/.editorconfig new file mode 100644 index 0000000000..570211f898 --- /dev/null +++ b/types/event-kit/v1/.editorconfig @@ -0,0 +1,3 @@ +[*.ts] +indent_style = tab +indent_size = 4 diff --git a/types/event-kit/v1/event-kit-tests.ts b/types/event-kit/v1/event-kit-tests.ts new file mode 100644 index 0000000000..4b4a0d4e7c --- /dev/null +++ b/types/event-kit/v1/event-kit-tests.ts @@ -0,0 +1,57 @@ + + +import { Disposable, CompositeDisposable, Emitter } from "event-kit"; + +// Emitter + +class User { + private emitter: Emitter; + name: string; + + constructor() { + this.emitter = new Emitter(); + } + + onDidChangeName(callback: (name: string) => void): Disposable { + return this.emitter.on('did-change-name', callback); + } + + setName(name: string): void { + if (this.name != name) { + this.name = name; + this.emitter.emit('did-change-name', name); + } + } + + destroy(): void { + this.emitter.clear(); + this.emitter.dispose(); + } +} + +// Disposable + +var disposable = new Disposable(() => { + // cleanup +}); +disposable.dispose(); + +var user = new User(); +var subscription = user.onDidChangeName((name: string) => { + console.log('User name change to: ' + name); +}); +if(Disposable.isDisposable(subscription)) {} +subscription.dispose(); + +// CompositeDisposable + +var subscriptions = new CompositeDisposable(); +subscriptions.add( + user.onDidChangeName((name: string) => { + console.log('subscriber #1'); + }), + user.onDidChangeName((name: string) => { + console.log('subscriber #2'); + }) +); +subscriptions.dispose(); diff --git a/types/event-kit/v1/index.d.ts b/types/event-kit/v1/index.d.ts new file mode 100644 index 0000000000..74f270c40f --- /dev/null +++ b/types/event-kit/v1/index.d.ts @@ -0,0 +1,91 @@ +// Type definitions for event-kit v1.2.0 +// Project: https://github.com/atom/event-kit +// Definitions by: Vadim Macagon +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +export = AtomEventKit; + +declare namespace AtomEventKit { + interface IDisposable { + dispose(): void; + } + + /** Static side of the Disposable class. */ + interface DisposableStatic { + prototype: Disposable; + new (disposalAction: Function): Disposable; + /** + * Ensure that Object correctly implements the Disposable. + */ + isDisposable(object: Object): boolean; + } + + /** Instance side of the Disposable class. */ + interface Disposable extends IDisposable { + disposed: boolean; + + constructor: DisposableStatic; + } + + /** A class that represent a handle to a resource that can be disposed. */ + var Disposable: DisposableStatic; + + /** Static side of the CompositeDisposable class. */ + interface CompositeDisposableStatic { + prototype: CompositeDisposable; + new (...disposables: IDisposable[]): CompositeDisposable; + } + + /** Instance side of the CompositeDisposable class. */ + interface CompositeDisposable extends IDisposable { + disposed: boolean; + + constructor: CompositeDisposableStatic; + add(...disposables: IDisposable[]): void; + remove(disposable: IDisposable): void; + clear(): void; + } + + /** + * A class that aggregates multiple [[Disposable]] instances together into a single disposable, + * so that they can all be disposed as a group. + */ + var CompositeDisposable: CompositeDisposableStatic; + + /** Static side of the Emitter class. */ + interface EmitterStatic { + prototype: Emitter; + new (): Emitter; + } + + /** Instance side of the Emitter class. */ + interface Emitter { + isDisposed: boolean; + + constructor: EmitterStatic; + /** + * Clear out any existing subscribers. + */ + clear(): void; + /** + * Unsubscribe all handlers. + */ + dispose(): void; + /** + * Registers a handler to be invoked whenever the given event is emitted. + * @return An object that will unregister the handler when disposed. + */ + on(eventName: string, handler: (value: any) => void, unshift?: boolean): Disposable; + /** + * Registers a handler to be invoked *before* all previously registered handlers for + * the given event. + * @return An object that will unregister the handler when disposed. + */ + preempt(eventName: string, handler: (value: any) => void): Disposable; + /** Invokes any registered handlers for the given event. */ + emit(eventName: string, value: any): void; + } + + /** A utility class for implementing event-based APIs. */ + var Emitter: EmitterStatic; +} diff --git a/types/event-kit/v1/tsconfig.json b/types/event-kit/v1/tsconfig.json new file mode 100644 index 0000000000..d3cc578758 --- /dev/null +++ b/types/event-kit/v1/tsconfig.json @@ -0,0 +1,26 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "baseUrl": "../../", + "typeRoots": [ + "../../" + ], + "paths": { + "event-kit": [ "event-kit/v1" ] + }, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "event-kit-tests.ts" + ] +} diff --git a/types/first-mate/.editorconfig b/types/first-mate/.editorconfig index 570211f898..2b997514d2 100644 --- a/types/first-mate/.editorconfig +++ b/types/first-mate/.editorconfig @@ -1,3 +1,3 @@ [*.ts] indent_style = tab -indent_size = 4 +indent_size = 2 diff --git a/types/first-mate/README.md b/types/first-mate/README.md new file mode 100644 index 0000000000..a022110aa3 --- /dev/null +++ b/types/first-mate/README.md @@ -0,0 +1,22 @@ +## First Mate Type Definitions + +TypeScript type definitions for [First Mate](https://github.com/atom/first-mate), which is published as "[first-mate](https://www.npmjs.com/package/first-mate)" on NPM. + +### Usage Notes + +#### Exports + +The three classes exported from this module are: [Grammar](https://github.com/atom/first-mate/blob/master/src/grammar.coffee), [GrammarRegistry](https://github.com/atom/first-mate/blob/master/src/grammar-registry.coffee), and [ScopeSelector](https://github.com/atom/first-mate/blob/master/src/scope-selector.coffee). + +```ts +import { Grammar, GrammarRegistry, ScopeSelector } from "first-mate"; +let selector = new ScopeSelector("a | b"); +``` + +#### The FirstMate Namespace + +Many of the types used by First Mate can be referenced from the FirstMate namespace. + +```ts +function example(tokens: FirstMate.Tokens[]) {} +``` diff --git a/types/first-mate/first-mate-tests.ts b/types/first-mate/first-mate-tests.ts index 1f7fe0fc76..b0fd70d4e2 100644 --- a/types/first-mate/first-mate-tests.ts +++ b/types/first-mate/first-mate-tests.ts @@ -1,10 +1,93 @@ +import { GrammarRegistry, Grammar, ScopeSelector } from "first-mate"; +declare let subscription: EventKit.Disposable; +declare let grammar: FirstMate.Grammar; +declare let grammars: FirstMate.Grammar[]; -import { GrammarRegistry, Grammar, IToken } from "first-mate"; +// NPM Examples =============================================================== +const selector = new ScopeSelector("a | b"); +selector.matches(["c"]); // # false +selector.matches(["a"]); // # true -var registry = new GrammarRegistry({ maxTokensPerLine: 100 }); -var grammar = registry.loadGrammarSync('javascript.json'); -var result = grammar.tokenizeLine('var text = "hello world";'); +const registry = new GrammarRegistry(); +grammar = registry.loadGrammarSync("./spec/fixtures/javascript.json"); +const { line, tags } = grammar.tokenizeLine("var offset = 3;"); +// Convert compact tags representation into convenient, space-inefficient tokens. +const tokens = registry.decodeTokens(line, tags); +for (const { value, scopes } of tokens) { + console.log(`Token text: '${value}' with scopes: ${scopes}`); +} + +// General Usage ============================================================== +let str: string; + +new GrammarRegistry({ maxTokensPerLine: 100 }); +registry.loadGrammarSync("javascript.json"); +const result = grammar.tokenizeLine('var text = "hello world";'); result.tokens.forEach((token) => { - console.log("Token text: '" + token.value + "' with scopes: " + token.scopes); + console.log(`Token text: '${token.value}' with scopes: ${token.scopes}`); +}); + +new ScopeSelector("source.file"); +let prefix = selector.getPrefix("test"); +if (prefix) { + str = prefix.charAt(0); +} +prefix = selector.getPrefix(["test", "test"]); + +str = selector.toCssSelector(); +str = selector.toCssSyntaxSelector(); + +// Grammar ==================================================================== +subscription = grammar.onDidUpdate(() => {}); + +const tokenizeLinesResult = grammar.tokenizeLines("Test String"); +for (const tokenizedLine of tokenizeLinesResult) { + for (const token of tokenizedLine) { + token.scopes; + token.value; + } +} + +grammar.tokenizeLine("Test String"); +const tokenizeLineResult = grammar.tokenizeLine("Test String", null, false); +tokenizeLineResult.line; +tokenizeLineResult.tags; +tokenizeLineResult.tokens; +grammar.tokenizeLine("Test String", tokenizeLineResult.ruleStack); +grammar.tokenizeLine("Test String", tokenizeLineResult.ruleStack, false); + +// Grammar Registry =========================================================== +// Event Subscription +subscription = registry.onDidAddGrammar(grammar => grammar.name); +subscription = registry.onDidUpdateGrammar(grammar => grammar.name); + +// Managing Grammars +grammars = registry.getGrammars(); + +let potentialGrammar = registry.grammarForScopeName("scope.test"); +if (potentialGrammar) grammar = potentialGrammar; + +subscription = registry.addGrammar(grammar); + +potentialGrammar = registry.removeGrammarForScopeName("scope.test"); + +grammar = registry.readGrammarSync("/test/path"); + +registry.readGrammar("/test/path", (error, grammar) => { + if (grammar) { + grammar.name; + } else { + if (error) error.name; + } +}); + +grammar = registry.loadGrammarSync("/test/path"); + +registry.loadGrammar("/test/path", (error, grammar) => { + if (grammar) { + grammar.name; + } else { + if (error) error.name; + } }); diff --git a/types/first-mate/index.d.ts b/types/first-mate/index.d.ts index 8087fe06f4..0986b80aa5 100644 --- a/types/first-mate/index.d.ts +++ b/types/first-mate/index.d.ts @@ -1,107 +1,258 @@ -// Type definitions for first-mate v4.1.7 +// Type definitions for first-mate 7.x // Project: https://github.com/atom/first-mate/ -// Definitions by: Vadim Macagon +// Definitions by: GlenCFL // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 /// -import * as AtomEventKit from "event-kit"; -export = AtomFirstMate; +declare global { + /** TextMate helpers. */ + namespace FirstMate { + /** Objects that appear as parameters to functions. */ + namespace Options { + interface Grammar { + name?: string; + fileTypes?: ReadonlyArray; + scopeName?: string; + foldingStopMarker?: string; + maxTokensPerLine?: number; + maxLineLength?: number; -declare namespace AtomFirstMate { - type Disposable = AtomEventKit.Disposable; + injections?: any; + injectionSelector?: any; + patterns?: ReadonlyArray; + repository?: object; + firstLineMatch?: any; + } + } - interface IToken { - value: string; - scopes: string[]; + /** The static side to each exported class. Should generally only be used internally. */ + namespace Statics { + /* tslint:disable:no-unnecessary-qualifier */ + /** The static side to the Grammar class. */ + interface Grammar { + new (registry: FirstMate.GrammarRegistry, options?: FirstMate.Options.Grammar): + FirstMate.Grammar; + } + + /** The static side to the GrammarRegistry class. */ + interface GrammarRegistry { + new (options?: { maxTokensPerLine?: number, maxLineLength?: number }): + FirstMate.GrammarRegistry; + } + + /** The static side to the ScopeSelector class. */ + interface ScopeSelector { + /** Create a new scope selector. + * @param source The string to parse as a scope selector. + * @return A newly constructed ScopeSelector. + */ + new (source: string): FirstMate.ScopeSelector; + } + /* tslint:enable:no-unnecessary-qualifier */ + } + + /** Data structures that are used within classes. */ + namespace Structures { + interface GrammarToken { + value: string; + scopes: string[]; + } + + /** Result returned by `Grammar.tokenizeLine`. */ + interface TokenizeLineResult { + /** The string of text that was tokenized. */ + line: string; + + /** An array of integer scope ids and strings. Positive ids indicate the + * beginning of a scope, and negative tags indicate the end. To resolve ids + * to scope names, call {GrammarRegistry::scopeForId} with the absolute + * value of the id. + */ + tags: Array; + + /** This is a dynamic property. Invoking it will incur additional overhead, + * but will automatically translate the `tags` into token objects with `value` + * and `scopes` properties. + */ + tokens: GrammarToken[]; + + /** An array of rules representing the tokenized state at the end of the line. + * These should be passed back into this method when tokenizing the next line + * in the file. + */ + ruleStack: GrammarRule[]; + } + + interface GrammarRule { + // https://github.com/atom/first-mate/blob/v7.0.7/src/rule.coffee + // This is private. Don't go down the rabbit hole. + rule: object; + scopeName: string; + contentScopeName: string; + } + } + + /** Grammar that tokenizes lines of text. */ + interface Grammar { + name: string; + fileTypes: string[]; + scopeName: string; + maxTokensPerLine: number; + maxLineLength: number; + + // Event Subscription + onDidUpdate(callback: () => void): EventKit.Disposable; + + // Tokenizing + /** Tokenize all lines in the given text. + * @param text A string containing one or more lines. + * @return An array of token arrays for each line tokenized. + */ + tokenizeLines(text: string): Structures.GrammarToken[][]; + + /** Tokenizes the line of text. + * @param line A string of text to tokenize. + * @param ruleStack An optional array of rules previously returned from this + * method. This should be null when tokenizing the first line in the file. + * @param firstLine A optional boolean denoting whether this is the first line + * in the file which defaults to `false`. + * @return An object representing the result of the tokenize. + */ + tokenizeLine(line: string, ruleStack?: null, firstLine?: boolean): + Structures.TokenizeLineResult; + /** Tokenizes the line of text. + * @param line A string of text to tokenize. + * @param ruleStack An optional array of rules previously returned from this + * method. This should be null when tokenizing the first line in the file. + * @param firstLine A optional boolean denoting whether this is the first line + * in the file which defaults to `false`. + * @return An object representing the result of the tokenize. + */ + tokenizeLine(line: string, ruleStack: Structures.GrammarRule[], firstLine?: false): + Structures.TokenizeLineResult; + } + + /** Instance side of GrammarRegistry class. */ + interface GrammarRegistry { + maxTokensPerLine: number; + maxLineLength: number; + + // Event Subscription + /** Invoke the given callback when a grammar is added to the registry. + * @param callback The callback to be invoked whenever a grammar is added. + * @return A Disposable on which `.dispose()` can be called to unsubscribe. + */ + onDidAddGrammar(callback: (grammar: Grammar) => void): EventKit.Disposable; + + /** Invoke the given callback when a grammar is updated due to a grammar it + * depends on being added or removed from the registry. + * @param callback The callback to be invoked whenever a grammar is updated. + * @return A Disposable on which `.dispose()` can be called to unsubscribe. + */ + onDidUpdateGrammar(callback: (grammar: Grammar) => void): EventKit.Disposable; + + // Managing Grammars + /** Get all the grammars in this registry. + * @return A non-empty array of Grammar instances. + */ + getGrammars(): Grammar[]; + + /** Get a grammar with the given scope name. + * @param scopeName A string such as `source.js`. + * @return A Grammar or undefined. + */ + grammarForScopeName(scopeName: string): Grammar|undefined; + + /** Add a grammar to this registry. + * A 'grammar-added' event is emitted after the grammar is added. + * @param grammar The Grammar to add. This should be a value previously returned + * from ::readGrammar or ::readGrammarSync. + * @return Returns a Disposable on which `.dispose()` can be called to remove + * the grammar. + */ + addGrammar(grammar: Grammar): EventKit.Disposable; + + /** Remove the given grammar from this registry. + * @param grammar The grammar to remove. This should be a grammar previously + * added to the registry from ::addGrammar. + */ + removeGrammar(grammar: Grammar): void; + + /** Remove the grammar with the given scope name. + * @param scopeName A string such as `source.js`. + * @return Returns the removed Grammar or undefined. + */ + removeGrammarForScopeName(scopeName: string): Grammar|undefined; + + /** Read a grammar synchronously but don't add it to the registry. + * @param grammarPath The absolute file path to a grammar. + * @return The newly loaded Grammar. + */ + readGrammarSync(grammarPath: string): Grammar; + + /** Read a grammar asynchronously but don't add it to the registry. + * @param grammarPath The absolute file path to the grammar. + * @param callback The function to be invoked once the Grammar has been read in. + */ + readGrammar(grammarPath: string, callback: (error: Error|null, grammar?: Grammar) => + void): void; + + /** Read a grammar synchronously and add it to this registry. + * @param grammarPath The absolute file path to the grammar. + * @return The newly loaded Grammar. + */ + loadGrammarSync(grammarPath: string): Grammar; + + /** Read a grammar asynchronously and add it to the registry. + * @param grammarPath The absolute file path to the grammar. + * @param callback The function to be invoked once the Grammar has been read in + * and added to the registry. + */ + loadGrammar(grammarPath: string, callback: (error: Error|null, grammar?: Grammar) => + void): void; + + /** Convert compact tags representation into convenient, space-inefficient tokens. + * @param lineText The text of the tokenized line. + * @param tags The tags returned from a call to Grammar::tokenizeLine(). + * @return An array of Token instances decoded from the given tags. + */ + decodeTokens(lineText: string, tags: Array): Structures.GrammarToken[]; + } + + interface ScopeSelector { + /** Check if this scope selector matches the scopes. + * @param scopes A single scope or an array of them to be compared against. + * @return A boolean indicating whether or not this ScopeSelector matched. + */ + matches(scopes: string|ReadonlyArray): boolean; + + /** Gets the prefix of this scope selector. + * @param scopes The scopes to match a prefix against. + * @return The matching prefix, if there is one. + */ + getPrefix(scopes: string|ReadonlyArray): string|undefined; + + /** Convert this TextMate scope selector to a CSS selector. + * @return A string with the CSSSelector representation of this ScopeSelector. + */ + toCssSelector(): string; + + /** Convert this TextMate scope selector to a CSS selector, prefixing scopes + * with `syntax--`. + * @return A string with the syntax-specific CSSSelector representation of this + * ScopeSelector. + */ + toCssSyntaxSelector(): string; + } } +} - /** Result returned by `Grammar.tokenizeLine`. */ - interface TokenizeLineResult { - /** Text that was tokenized. */ - line: string; - tags: any[]; - /** - * This is a dynamic property that will only be available if `Grammar.tokenizeLine` was called - * with `compatibilityMode` set to `true` (the default). - */ - tokens?: IToken[]; - /** - * The tokenized state at the end of the line. This should be passed back into `tokenizeLine` - * when tokenizing the next line in the file/buffer. - */ - ruleStack: Rule[] - } +/** Registry containing one or more grammars. */ +export const GrammarRegistry: FirstMate.Statics.GrammarRegistry; - /** Instance side of Rule class. */ - interface Rule { - } +export const ScopeSelector: FirstMate.Statics.ScopeSelector; - /** Static side of Grammar class. */ - interface GrammarStatic { - prototype: Grammar; - new (registry: GrammarRegistry, options?: any): Grammar; - } - - /** Instance side of Grammar class. */ - interface Grammar { - constructor: GrammarStatic; - onDidUpdate(callback: Function): Disposable; - /** - * Tokenizes all lines in a string. - * - * @param text A string containing one or more lines. - * @return An array of token arrays, one token array per line. - */ - tokenizeLines(text: string): Array>; - /** - * Tokenizes a line of text. - * - * @param line Text to be tokenized. - * @param firstLine Indicates whether `line` is the first line in the file/buffer, - * defaults to `false`. - * @param compatibilityMode `true` by default. - * @return An object containing tokens for the given line. - */ - tokenizeLine( - line: string, ruleStack?: Rule[], firstLine?: boolean, compatibilityMode?: boolean - ): TokenizeLineResult; - } - - /** Grammar that tokenizes lines of text. */ - var Grammar: GrammarStatic; - - /** Static side of GrammarRegistry class. */ - interface GrammarRegistryStatic { - prototype: GrammarRegistry; - new (options?: { maxTokensPerLine: number }): GrammarRegistry; - } - - /** Instance side of GrammarRegistry class. */ - interface GrammarRegistry { - constructor: GrammarRegistryStatic; - - // Event Subscription - - onDidAddGrammar(callback: (grammar: Grammar) => void): Disposable; - onDidUpdateGrammar(callback: (grammar: Grammar) => void): Disposable; - - // Managing Grammars - - getGrammars(): Grammar[]; - grammarForScopeName(scopeName: string): Grammar; - addGrammar(grammar: Grammar): Disposable; - removeGrammarForScopeName(scopeName: string): Grammar; - readGrammarSync(grammarPath: string): Grammar; - readGrammar(grammarPath: string, callback: (error: Error, grammar: Grammar) => void): void; - loadGrammarSync(grammarPath: string): Grammar; - loadGrammar(grammarPath: string, callback: (error: Error, grammar: Grammar) => void): void; - grammarOverrideForPath(filePath: string): Grammar; - setGrammarOverrideForPath(filePath: string, scopeName: string): Grammar; - clearGrammarOverrides(): void; - selectGrammar(filePath: string, fileContents: string): Grammar; - } - - /** Registry containing one or more grammars. */ - var GrammarRegistry: GrammarRegistryStatic; -} \ No newline at end of file +/** Grammar that tokenizes lines of text. */ +export const Grammar: FirstMate.Statics.Grammar; diff --git a/types/first-mate/tsconfig.json b/types/first-mate/tsconfig.json index b8ae8bf954..edba8406ca 100644 --- a/types/first-mate/tsconfig.json +++ b/types/first-mate/tsconfig.json @@ -7,7 +7,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +20,4 @@ "index.d.ts", "first-mate-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/first-mate/tslint.json b/types/first-mate/tslint.json new file mode 100644 index 0000000000..22fcf73c1c --- /dev/null +++ b/types/first-mate/tslint.json @@ -0,0 +1,39 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + // Custom rules. + "class-name": true, + "indent": [true, "tabs"], + "jsdoc-format": true, + "linebreak-style": [true, "LF"], + "max-line-length": [true, 100], + "quotemark": [true, "double", "avoid-escape"], + "trailing-comma": [true, { + "multiline": { "objects": "always", "arrays": "always", "functions": "never" }, + "singleline": { "objects": "never", "arrays": "never", "functions": "never" } + }], + "whitespace": [ + true, + "check-branch", + "check-decl", + "check-operator", + "check-module", + "check-separator", + "check-type", + "check-typecast", + "check-rest-spread", + "check-preblock" + ], + // TODO + "no-any": false, + // Soon to be defaults. + "arrow-return-shorthand": [true, "multiline"], + "no-floating-promises": true, + "no-unbound-method": true, + "no-unsafe-any": true, + "number-literal-format": true, + "restrict-plus-operands": true, + "return-undefined": true, + "switch-final-break": true + } +} diff --git a/types/first-mate/v4/.editorconfig b/types/first-mate/v4/.editorconfig new file mode 100644 index 0000000000..570211f898 --- /dev/null +++ b/types/first-mate/v4/.editorconfig @@ -0,0 +1,3 @@ +[*.ts] +indent_style = tab +indent_size = 4 diff --git a/types/first-mate/v4/first-mate-tests.ts b/types/first-mate/v4/first-mate-tests.ts new file mode 100644 index 0000000000..1f7fe0fc76 --- /dev/null +++ b/types/first-mate/v4/first-mate-tests.ts @@ -0,0 +1,10 @@ + + +import { GrammarRegistry, Grammar, IToken } from "first-mate"; + +var registry = new GrammarRegistry({ maxTokensPerLine: 100 }); +var grammar = registry.loadGrammarSync('javascript.json'); +var result = grammar.tokenizeLine('var text = "hello world";'); +result.tokens.forEach((token) => { + console.log("Token text: '" + token.value + "' with scopes: " + token.scopes); +}); diff --git a/types/first-mate/v4/index.d.ts b/types/first-mate/v4/index.d.ts new file mode 100644 index 0000000000..81b7d96c04 --- /dev/null +++ b/types/first-mate/v4/index.d.ts @@ -0,0 +1,105 @@ +// Type definitions for first-mate v4.1.7 +// Project: https://github.com/atom/first-mate/ +// Definitions by: Vadim Macagon +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +import * as AtomEventKit from "event-kit"; +export = AtomFirstMate; + +declare namespace AtomFirstMate { + type Disposable = AtomEventKit.Disposable; + + interface IToken { + value: string; + scopes: string[]; + } + + /** Result returned by `Grammar.tokenizeLine`. */ + interface TokenizeLineResult { + /** Text that was tokenized. */ + line: string; + tags: any[]; + /** + * This is a dynamic property that will only be available if `Grammar.tokenizeLine` was called + * with `compatibilityMode` set to `true` (the default). + */ + tokens?: IToken[]; + /** + * The tokenized state at the end of the line. This should be passed back into `tokenizeLine` + * when tokenizing the next line in the file/buffer. + */ + ruleStack: Rule[] + } + + /** Instance side of Rule class. */ + interface Rule { + } + + /** Static side of Grammar class. */ + interface GrammarStatic { + prototype: Grammar; + new (registry: GrammarRegistry, options?: any): Grammar; + } + + /** Instance side of Grammar class. */ + interface Grammar { + constructor: GrammarStatic; + onDidUpdate(callback: Function): Disposable; + /** + * Tokenizes all lines in a string. + * + * @param text A string containing one or more lines. + * @return An array of token arrays, one token array per line. + */ + tokenizeLines(text: string): Array>; + /** + * Tokenizes a line of text. + * + * @param line Text to be tokenized. + * @param firstLine Indicates whether `line` is the first line in the file/buffer, + * defaults to `false`. + * @param compatibilityMode `true` by default. + * @return An object containing tokens for the given line. + */ + tokenizeLine( + line: string, ruleStack?: Rule[], firstLine?: boolean, compatibilityMode?: boolean + ): TokenizeLineResult; + } + + /** Grammar that tokenizes lines of text. */ + var Grammar: GrammarStatic; + + /** Static side of GrammarRegistry class. */ + interface GrammarRegistryStatic { + prototype: GrammarRegistry; + new (options?: { maxTokensPerLine: number }): GrammarRegistry; + } + + /** Instance side of GrammarRegistry class. */ + interface GrammarRegistry { + constructor: GrammarRegistryStatic; + + // Event Subscription + + onDidAddGrammar(callback: (grammar: Grammar) => void): Disposable; + onDidUpdateGrammar(callback: (grammar: Grammar) => void): Disposable; + + // Managing Grammars + + getGrammars(): Grammar[]; + grammarForScopeName(scopeName: string): Grammar; + addGrammar(grammar: Grammar): Disposable; + removeGrammarForScopeName(scopeName: string): Grammar; + readGrammarSync(grammarPath: string): Grammar; + readGrammar(grammarPath: string, callback: (error: Error, grammar: Grammar) => void): void; + loadGrammarSync(grammarPath: string): Grammar; + loadGrammar(grammarPath: string, callback: (error: Error, grammar: Grammar) => void): void; + grammarOverrideForPath(filePath: string): Grammar; + setGrammarOverrideForPath(filePath: string, scopeName: string): Grammar; + clearGrammarOverrides(): void; + selectGrammar(filePath: string, fileContents: string): Grammar; + } + + /** Registry containing one or more grammars. */ + var GrammarRegistry: GrammarRegistryStatic; +} diff --git a/types/first-mate/v4/tsconfig.json b/types/first-mate/v4/tsconfig.json new file mode 100644 index 0000000000..62bbc43837 --- /dev/null +++ b/types/first-mate/v4/tsconfig.json @@ -0,0 +1,27 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "baseUrl": "../../", + "typeRoots": [ + "../../" + ], + "paths": { + "event-kit": [ "event-kit/v1" ], + "first-mate": [ "first-mate/v4" ] + }, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "first-mate-tests.ts" + ] +} diff --git a/types/pathwatcher/.editorconfig b/types/pathwatcher/.editorconfig new file mode 100644 index 0000000000..2b997514d2 --- /dev/null +++ b/types/pathwatcher/.editorconfig @@ -0,0 +1,3 @@ +[*.ts] +indent_style = tab +indent_size = 2 diff --git a/types/pathwatcher/README.md b/types/pathwatcher/README.md new file mode 100644 index 0000000000..81cacbc752 --- /dev/null +++ b/types/pathwatcher/README.md @@ -0,0 +1,28 @@ +## Path Watcher Node Type Definitions + +TypeScript type definitions for [Path Watcher Node], which is published as "[pathwatcher](https://www.npmjs.com/package/pathwatcher)" on NPM. + +### Usage Notes + +#### Exports + +The two classes exported from this module are: [File](https://github.com/atom/node-pathwatcher/blob/master/src/file.coffee) and [Directory](https://github.com/atom/node-pathwatcher/blob/master/src/directory.coffee). + +```ts +import { File, Directory } from "text-buffer"; +``` + +Additionally, the following functions are exported as well: +```ts +watch(): PathWatcher.PathWatcher; +closeAllWatchers(): void; +getWatchedPaths(): string[]; +``` + +#### The PathWatcher Namespace + +All types used by Path Watcher can be referenced from the PathWatcher namespace. + +```ts +function example(file: PathWatcher.File) {} +``` diff --git a/types/pathwatcher/index.d.ts b/types/pathwatcher/index.d.ts index b1135c384c..b3d99b81ef 100644 --- a/types/pathwatcher/index.d.ts +++ b/types/pathwatcher/index.d.ts @@ -1,88 +1,240 @@ -// Type definitions for pathwatcher +// Type definitions for pathwatcher 8.x // Project: https://github.com/atom/node-pathwatcher -// Definitions by: vvakame +// Definitions by: GlenCFL // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 /// +/// -import { EventEmitter } from "events"; -import * as Q from "q"; +declare global { + namespace PathWatcher { + /** Objects that appear as parameters to callbacks. */ + namespace Events { + interface PathWatchErrorThrown { + /** The error object. */ + error: Error; -export as namespace PathWatcher; + /** Call this function to indicate you have handled the error. + * The error will not be thrown if this function is called. + */ + handle(): void; + } -export interface IFileStatic { - new (path:string, symlink?:boolean):IFile; + interface WatchedFilePathChanged { + event: string; + newFilePath: string; + } + } + + /** The static side to each exported class. Should generally only be used internally. */ + namespace Statics { + /* tslint:disable:no-unnecessary-qualifier */ + /** The static side to the File class. */ + interface File { + /** Configures a new File instance, no files are accessed. */ + new (filePath: string, symlink?: boolean): PathWatcher.File; + } + + /** The static side to the Directory class. */ + interface Directory { + /** Configures a new Directory instance, no files are accessed. */ + new (directoryPath: string, symlink?: boolean): PathWatcher.Directory; + } + /* tslint:enable:no-unnecessary-qualifier */ + } + + /** Represents an individual file that can be watched, read from, and written to. */ + interface File { + // Properties + realPath: string|null; + path: string; + symlink: boolean; + + // Construction + /** Creates the file on disk that corresponds to ::getPath() if no such file + * already exists. + */ + create(): Promise; + + // Event Subscription + /** Invoke the given callback when the file's contents change. */ + onDidChange(callback: () => void): EventKit.Disposable; + + /** Invoke the given callback when the file's path changes. */ + onDidRename(callback: () => void): EventKit.Disposable; + + /** Invoke the given callback when the file is deleted. */ + onDidDelete(callback: () => void): EventKit.Disposable; + + /** Invoke the given callback when there is an error with the watch. When + * your callback has been invoked, the file will have unsubscribed from the + * file watches. + */ + onWillThrowWatchError(callback: (errorObject: Events.PathWatchErrorThrown) => + void): EventKit.Disposable; + + // File Metadata + /** Returns a boolean, always true. */ + isFile(): boolean; + + /** Returns a boolean, always false. */ + isDirectory(): boolean; + + /** Returns a boolean indicating whether or not this is a symbolic link. */ + isSymbolicLink(): boolean; + + /** Returns a promise that resolves to a boolean, true if the file exists, + * false otherwise. + */ + exists(): Promise; + + /** Returns a boolean, true if the file exists, false otherwise. */ + existsSync(): boolean; + + /** Get the SHA-1 digest of this file. */ + getDigest(): Promise; + + /** Get the SHA-1 digest of this file. */ + getDigestSync(): string; + + /** Sets the file's character set encoding name. */ + setEncoding(encoding: string): void; + + /** Returns the string encoding name for this file (default: "utf8"). */ + getEncoding(): string; + + // Managing Paths + /** Returns the string path for the file. */ + getPath(): string; + + /** Returns this file's completely resolved string path. */ + getRealPathSync(): string; + + /** Returns a promise that resolves to the file's completely resolved + * string path. + */ + getRealPath(): Promise; + + /** Return the string filename without any directory information. */ + getBaseName(): string; + + // Traversing + /** Return the Directory that contains this file. */ + getParent(): Directory; + + // Reading and Writing + /** Reads the contents of the file. */ + read(flushCache?: boolean): Promise; + + /** Returns a stream to read the content of the file. */ + createReadStream(): NodeJS.ReadableStream; + + /** Overwrites the file with the given text. */ + write(text: string): Promise; + + /** Returns a stream to write content to the file. */ + createWriteStream(): NodeJS.WritableStream; + + /** Overwrites the file with the given text. */ + writeSync(text: string): undefined; + } + + /** Represents a directory on disk that can be watched for changes. */ + interface Directory { + // Properties + realPath: string|null; + path: string; + symlink: boolean; + + // Construction + /** Creates the directory on disk that corresponds to ::getPath() if no such + * directory already exists. + */ + create(mode?: number): Promise; + + // Event Subscription + /** Invoke the given callback when the directory's contents change. */ + onDidChange(callback: () => void): EventKit.Disposable; + + // Directory Metadata + /** Returns a boolean, always false. */ + isFile(): boolean; + + /** Returns a roolean, always true. */ + isDirectory(): boolean; + + /** Returns a boolean indicating whether or not this is a symbolic link. */ + isSymbolicLink(): boolean; + + /** Returns a promise that resolves to a boolean, true if the directory\ + * exists, false otherwise. + */ + exists(): Promise; + + /** Returns a boolean, true if the directory exists, false otherwise. */ + existsSync(): boolean; + + /** Return a boolean, true if this Directory is the root directory of the + * filesystem, or false if it isn't. + */ + isRoot(): boolean; + + // Managing Paths + /** This may include unfollowed symlinks or relative directory entries. + * Or it may be fully resolved, it depends on what you give it. + */ + getPath(): string; + + /** All relative directory entries are removed and symlinks are resolved to + * their final destination. + */ + getRealPathSync(): string; + + /** Returns the string basename of the directory. */ + getBaseName(): string; + + /** Returns the relative string path to the given path from this directory. */ + relativize(fullPath: string): string; + + // Traversing + /** Traverse to the parent directory. */ + getParent(): Directory; + + /** Traverse within this Directory to a child File. This method doesn't actually + * check to see if the File exists, it just creates the File object. + */ + getFile(filename: string): File; + + /** Traverse within this a Directory to a child Directory. This method doesn't actually + * check to see if the Directory exists, it just creates the Directory object. + */ + getSubdirectory(dirname: string): Directory; + + /** Reads file entries in this directory from disk synchronously. */ + getEntriesSync(): Array; + + /** Reads file entries in this directory from disk asynchronously. */ + getEntries(callback: (error: Error, entries: Array) => void): void; + + /** Determines if the given path (real or symbolic) is inside this directory. This + * method does not actually check if the path exists, it just checks if the path + * is under this directory. + */ + contains(pathToCheck: string): boolean; + } + + interface PathWatcher { + onDidChange(callback: (change: Events.WatchedFilePathChanged) => void): EventKit.Disposable; + + close(): void; + } + } } -export interface IFile { - realPath:string; - path:string; - symlink:boolean; - cachedContents:string; - digest:string; - - handleEventSubscriptions():void; - setPath(path:string):void; - getPath():string; - getRealPathSync():string; - getBaseName():string; - write(text:string):void; - readSync(flushCache:boolean):string; - read(flushCache?:boolean): Promise; - // exists():boolean; - existsSync():boolean; - setDigest(contents:string):void; - getDigest():string; - writeFileWithPrivilegeEscalationSync (filePath:string, text:string):void; - handleNativeChangeEvent(eventType:string, eventPath:string):void; - detectResurrectionAfterDelay():void; - detectResurrection():void; - subscribeToNativeChangeEvents():void; - unsubscribeFromNativeChangeEvents():void; -} - -export interface IDirectoryStatic { - new (path:string, symlink?:boolean):IDirectory; -} - -export interface IDirectory { - realPath:string; - path:string; - symlink:boolean; - - getBaseName():string; - getPath():void; - getRealPathSync():string; - contains(pathToCheck:string):boolean; - relativize(fullPath:string):string; - getEntriesSync():any[]; // return type are {File | Directory}[] - getEntries(callback:Function):void; - subscribeToNativeChangeEvents():void; - unsubscribeFromNativeChangeEvents():void; - isPathPrefixOf(prefix:string, fullPath:string):boolean; -} - -export interface IHandleWatcher extends EventEmitter { - onEvent(event:any, filePath:any, oldFilePath:any):any; - start():void; - closeIfNoListener():void; - close():void; -} - -export interface IPathWatcher { - isWatchingParent:boolean; - path:any; - handleWatcher:IHandleWatcher; - - close():void; -} - -export function watch(path:string, callback:Function):IPathWatcher; - -export function closeAllWatchers():void; - -export function getWatchedPaths():string[]; - -export var File: IFileStatic; -export var Directory: IDirectoryStatic; +export let File: PathWatcher.Statics.File; +export let Directory: PathWatcher.Statics.Directory; +export function watch(): PathWatcher.PathWatcher; +export function closeAllWatchers(): void; +export function getWatchedPaths(): string[]; diff --git a/types/pathwatcher/pathwatcher-tests.ts b/types/pathwatcher/pathwatcher-tests.ts index 0e080abbfd..b4144ebd3d 100644 --- a/types/pathwatcher/pathwatcher-tests.ts +++ b/types/pathwatcher/pathwatcher-tests.ts @@ -1,10 +1,108 @@ +import { File, Directory } from "pathwatcher"; +let bool: boolean; +let str: string; +let sub: EventKit.Disposable; -import pathwatcher = require("pathwatcher"); -var File = pathwatcher.File; +let file: PathWatcher.File; +let dir: PathWatcher.Directory; -var filePath: string; -var file = new File(filePath); +// File ======================================================================= +// Construction +file = new File("Test.file"); +new File("Test.file", false); -pathwatcher.watch(filePath, ()=>{ -}); +async function fileCreation() { + bool = await file.create(); +} + +// Event Subscription +sub = file.onDidChange(() => {}); +sub = file.onDidRename(() => {}); +sub = file.onDidDelete(() => {}); +sub = file.onWillThrowWatchError(() => {}); + +// File Metadata +bool = file.isFile(); +bool = file.isDirectory(); +bool = file.isSymbolicLink(); + +async function fileExists() { + bool = await file.exists(); +} + +bool = file.existsSync(); + +async function getFileDigest() { + str = await file.getDigest(); +} + +str = file.getDigestSync(); +file.setEncoding("utf8"); +str = file.getEncoding(); + +// Managing Paths +str = file.getPath(); +str = file.getRealPathSync(); + +async function getFileRealPath() { + str = await file.getRealPath(); +} + +str = file.getBaseName(); + +// Traversing +dir = file.getParent(); + +// Reading and Writing +async function readFile() { + str = await file.read(); +} + +file.createReadStream(); + +async function writeFile() { + await file.write("Test"); +} + +file.createWriteStream(); +file.writeSync("Test"); + +// Directory ================================================================== +// Construction +dir = new Directory("Test.file"); +new Directory("Test.file", true); + +async function createDirectory() { + bool = await dir.create(); + bool = await dir.create(0o0777); +} + +// Event Subscription +sub = dir.onDidChange(() => {}); + +// Directory Metadata +bool = dir.isFile(); +bool = dir.isDirectory(); +bool = dir.isSymbolicLink(); + +async function directoryExists() { + bool = await dir.exists(); +} + +bool = dir.existsSync(); +bool = dir.isRoot(); + +// Managing Paths +str = dir.getPath(); +str = dir.getRealPathSync(); +str = dir.getBaseName(); +dir.relativize("Test.file") ; + +// Traversing +dir = dir.getParent(); +file = dir.getFile("Test.file"); +dir = dir.getSubdirectory("Test"); +dir.getEntriesSync(); +dir.getEntries((error, entries) => {}); +bool = dir.contains("Test.file"); diff --git a/types/pathwatcher/tsconfig.json b/types/pathwatcher/tsconfig.json index 00b8e7052f..cd2b999654 100644 --- a/types/pathwatcher/tsconfig.json +++ b/types/pathwatcher/tsconfig.json @@ -6,14 +6,11 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "baseUrl": "../", "typeRoots": [ "../" ], - "paths": { - "q": [ "q/v0" ] - }, "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true @@ -22,4 +19,4 @@ "index.d.ts", "pathwatcher-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/pathwatcher/tslint.json b/types/pathwatcher/tslint.json new file mode 100644 index 0000000000..cd8f17056a --- /dev/null +++ b/types/pathwatcher/tslint.json @@ -0,0 +1,38 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + // Custom rules. + "class-name": true, + "indent": [true, "tabs"], + "jsdoc-format": true, + "linebreak-style": [true, "LF"], + "max-line-length": [true, 100], + "quotemark": [true, "double", "avoid-escape"], + "trailing-comma": [true, { + "multiline": { "objects": "always", "arrays": "always", "functions": "never" }, + "singleline": { "objects": "never", "arrays": "never", "functions": "never" } + }], + "whitespace": [ + true, + "check-branch", + "check-decl", + "check-operator", + "check-module", + "check-separator", + "check-type", + "check-typecast", + "check-rest-spread", + "check-preblock" + ], + // Soon to be defaults. + "arrow-return-shorthand": [true, "multiline"], + "no-any": true, + "no-floating-promises": true, + "no-unbound-method": true, + "no-unsafe-any": true, + "number-literal-format": true, + "restrict-plus-operands": true, + "return-undefined": true, + "switch-final-break": true + } +} diff --git a/types/pathwatcher/v0/index.d.ts b/types/pathwatcher/v0/index.d.ts new file mode 100644 index 0000000000..b1135c384c --- /dev/null +++ b/types/pathwatcher/v0/index.d.ts @@ -0,0 +1,88 @@ +// Type definitions for pathwatcher +// Project: https://github.com/atom/node-pathwatcher +// Definitions by: vvakame +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// + +import { EventEmitter } from "events"; +import * as Q from "q"; + +export as namespace PathWatcher; + +export interface IFileStatic { + new (path:string, symlink?:boolean):IFile; +} + +export interface IFile { + realPath:string; + path:string; + symlink:boolean; + cachedContents:string; + digest:string; + + handleEventSubscriptions():void; + setPath(path:string):void; + getPath():string; + getRealPathSync():string; + getBaseName():string; + write(text:string):void; + readSync(flushCache:boolean):string; + read(flushCache?:boolean): Promise; + // exists():boolean; + existsSync():boolean; + setDigest(contents:string):void; + getDigest():string; + writeFileWithPrivilegeEscalationSync (filePath:string, text:string):void; + handleNativeChangeEvent(eventType:string, eventPath:string):void; + detectResurrectionAfterDelay():void; + detectResurrection():void; + subscribeToNativeChangeEvents():void; + unsubscribeFromNativeChangeEvents():void; +} + +export interface IDirectoryStatic { + new (path:string, symlink?:boolean):IDirectory; +} + +export interface IDirectory { + realPath:string; + path:string; + symlink:boolean; + + getBaseName():string; + getPath():void; + getRealPathSync():string; + contains(pathToCheck:string):boolean; + relativize(fullPath:string):string; + getEntriesSync():any[]; // return type are {File | Directory}[] + getEntries(callback:Function):void; + subscribeToNativeChangeEvents():void; + unsubscribeFromNativeChangeEvents():void; + isPathPrefixOf(prefix:string, fullPath:string):boolean; +} + +export interface IHandleWatcher extends EventEmitter { + onEvent(event:any, filePath:any, oldFilePath:any):any; + start():void; + closeIfNoListener():void; + close():void; +} + +export interface IPathWatcher { + isWatchingParent:boolean; + path:any; + handleWatcher:IHandleWatcher; + + close():void; +} + +export function watch(path:string, callback:Function):IPathWatcher; + +export function closeAllWatchers():void; + +export function getWatchedPaths():string[]; + +export var File: IFileStatic; +export var Directory: IDirectoryStatic; + diff --git a/types/pathwatcher/v0/pathwatcher-tests.ts b/types/pathwatcher/v0/pathwatcher-tests.ts new file mode 100644 index 0000000000..0e080abbfd --- /dev/null +++ b/types/pathwatcher/v0/pathwatcher-tests.ts @@ -0,0 +1,10 @@ + + +import pathwatcher = require("pathwatcher"); +var File = pathwatcher.File; + +var filePath: string; +var file = new File(filePath); + +pathwatcher.watch(filePath, ()=>{ +}); diff --git a/types/pathwatcher/v0/tsconfig.json b/types/pathwatcher/v0/tsconfig.json new file mode 100644 index 0000000000..e6020a4021 --- /dev/null +++ b/types/pathwatcher/v0/tsconfig.json @@ -0,0 +1,26 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "baseUrl": "../../", + "typeRoots": [ + "../../" + ], + "paths": { + "pathwatcher": [ "pathwatcher/v0" ], + "q": [ "q/v0" ] + }, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "pathwatcher-tests.ts" + ] +} diff --git a/types/status-bar/README.md b/types/status-bar/README.md new file mode 100644 index 0000000000..91b72cc583 --- /dev/null +++ b/types/status-bar/README.md @@ -0,0 +1 @@ +***NOTE:*** *This package is deprecated and new versions have been merged into [`@types/atom`](https://www.npmjs.com/package/@types/atom). The most recent version can be accessed as part of the `Atom.Services` namespace.* diff --git a/types/status-bar/index.d.ts b/types/status-bar/index.d.ts index 4c471503a7..116e045dbe 100644 --- a/types/status-bar/index.d.ts +++ b/types/status-bar/index.d.ts @@ -5,7 +5,7 @@ // TypeScript Version: 2.3 /// -/// +/// declare namespace StatusBar { interface IStatusBarViewStatic { diff --git a/types/status-bar/tsconfig.json b/types/status-bar/tsconfig.json index 9fe41d5d67..2e4701e660 100644 --- a/types/status-bar/tsconfig.json +++ b/types/status-bar/tsconfig.json @@ -12,9 +12,6 @@ "typeRoots": [ "../" ], - "paths": { - "q": [ "q/v0" ] - }, "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true @@ -23,4 +20,4 @@ "index.d.ts", "status-bar-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/text-buffer/.editorconfig b/types/text-buffer/.editorconfig new file mode 100644 index 0000000000..2b997514d2 --- /dev/null +++ b/types/text-buffer/.editorconfig @@ -0,0 +1,3 @@ +[*.ts] +indent_style = tab +indent_size = 2 diff --git a/types/text-buffer/README.md b/types/text-buffer/README.md new file mode 100644 index 0000000000..f4d852a5e5 --- /dev/null +++ b/types/text-buffer/README.md @@ -0,0 +1,31 @@ +## TextBuffer Type Definitions + +TypeScript type definitions for [TextBuffer](https://github.com/atom/text-buffer), which is published as "[text-buffer](https://www.npmjs.com/package/text-buffer)" on NPM. + +### Usage Notes + +#### Exports + +This module has a single entity as its export: the [TextBuffer](https://github.com/atom/text-buffer/blob/master/src/text-buffer.coffee) class. The require syntax is typically used to import modules like this. + +```ts +import TextBuffer = require("text-buffer"); +``` + +#### Point and Range + +Both the Point class and the Range class are anchored onto the TextBuffer class as static properties, allowing construction of both despite TextBuffer being the singular export. + +```ts +import TextBuffer = require("text-buffer"); +let point = new TextBuffer.Point(0, 0); +let range = new TextBuffer.Range([0, 0], [1, 4]); +``` + +#### The TextBuffer Namespace + +The three primary classes of TextBuffer are Point, Range, and TextBuffer, yet there are many other types passed around and used by it. Many of the types used by TextBuffer can be referenced from the TextBuffer namespace. + +```ts +function example(marker: TextBuffer.Marker) {} +``` diff --git a/types/text-buffer/index.d.ts b/types/text-buffer/index.d.ts index e3200a7aff..663d62914c 100644 --- a/types/text-buffer/index.d.ts +++ b/types/text-buffer/index.d.ts @@ -1,302 +1,1414 @@ -// Type definitions for text-buffer +// Type definitions for text-buffer 13.x // Project: https://github.com/atom/text-buffer -// Definitions by: vvakame +// Definitions by: GlenCFL // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.2 -/// -/// +/// +/// -declare namespace TextBuffer { +declare global { + namespace TextBuffer { + /** Objects that appear as parameters to callbacks. */ + namespace Events { + interface BufferWatchError { + /** The error object. */ + error: Error; - interface IPointStatic { - new (row?:number, column?:number):IPoint; + /** Call this function to indicate you have handled the error. + * The error will not be thrown if this function is called. + */ + handle(): void; + } - fromObject(point:IPoint, copy?:boolean):IPoint; - fromObject(object:number[]):IPoint; - fromObject(object:{row:number; column:number;}):IPoint; + interface FileSaved { + /** The path to which the buffer was saved. */ + path: string; + } - min(point1:IPoint, point2:IPoint):IPoint; - min(point1:number[], point2:IPoint):IPoint; - min(point1:{row:number; column:number;}, point2:IPoint):IPoint; + interface MarkerChanged { + /** Point representing the former head position. */ + oldHeadPosition: Point; - min(point1:IPoint, point2:number[]):IPoint; - min(point1:number[], point2:number[]):IPoint; - min(point1:{row:number; column:number;}, point2:number[]):IPoint; + /** Point representing the new head position. */ + newHeadPosition: Point; - min(point1:IPoint, point2:{row:number; column:number;}):IPoint; - min(point1:number[], point2:{row:number; column:number;}):IPoint; - min(point1:{row:number; column:number;}, point2:{row:number; column:number;}):IPoint; - } + /** Point representing the former tail position. */ + oldTailPosition: Point; - interface IPoint { - constructor: IPointStatic; + /** Point representing the new tail position. */ + newTailPosition: Point; - row:number; - column:number; + /** Boolean indicating whether the marker was valid before the change. */ + wasValid: boolean; - copy():IPoint; - freeze():IPoint; + /** Boolean indicating whether the marker is now valid. */ + isValid: boolean; - translate(delta:IPoint):IPoint; - translate(delta:number[]):IPoint; - translate(delta:{row:number; column:number;}):IPoint; + /** Boolean indicating whether the marker had a tail before the change. */ + hadTail: boolean; - add(other:IPoint):IPoint; - add(other:number[]):IPoint; - add(other:{row:number; column:number;}):IPoint; + /** Boolean indicating whether the marker now has a tail. */ + hasTail: boolean; - splitAt(column:number):IPoint[]; - compare(other:IPoint):number; - isEqual(other:IPoint):boolean; - isLessThan(other:IPoint):boolean; - isLessThanOrEqual(other:IPoint):boolean; - isGreaterThan(other:IPoint):boolean; - isGreaterThanOrEqual(other:IPoint):boolean; - toArray():number[]; - serialize():number[]; - } + /** -DEPRECATED- Object containing the marker's custom properties before the change. + * @deprecated + */ + oldProperties: object; - interface IRangeStatic { - deserialize(array:IPoint[]):IRange; + /** -DEPRECATED- Object containing the marker's custom properties after the change. + * @deprecated + */ + newProperties: object; - fromObject(object:IPoint[]):IRange; + /** Boolean indicating whether this change was caused by a textual + * change to the buffer or whether the marker was manipulated directly + * via its public API. + */ + textChanged: boolean; + } - fromObject(object:IRange, copy?:boolean):IRange; + interface DisplayMarkerChanged { + /** Point representing the former head buffer position. */ + oldHeadBufferPosition: Point; - fromObject(object:{start: IPoint; end: IPoint}):IRange; - fromObject(object:{start: number[]; end: IPoint}):IRange; - fromObject(object:{start: {row:number; column:number;}; end: IPoint}):IRange; + /** Point representing the new head buffer position. */ + newHeadBufferPosition: Point; - fromObject(object:{start: IPoint; end: number[]}):IRange; - fromObject(object:{start: number[]; end: number[]}):IRange; - fromObject(object:{start: {row:number; column:number;}; end: number[]}):IRange; + // Point representing the former tail buffer position. */ + oldTailBufferPosition: Point; - fromObject(object:{start: IPoint; end: {row:number; column:number;}}):IRange; - fromObject(object:{start: number[]; end: {row:number; column:number;}}):IRange; - fromObject(object:{start: {row:number; column:number;}; end: {row:number; column:number;}}):IRange; + /** Point representing the new tail buffer position. */ + newTailBufferPosition: Point; - fromText(point:IPoint, text:string):IRange; - fromText(point:number[], text:string):IRange; - fromText(point:{row:number; column:number;}, text:string):IRange; - fromText(text:string):IRange; + /** Point representing the former head screen position. */ + oldHeadScreenPosition: Point; - fromPointWithDelta(startPoint:IPoint, rowDelta:number, columnDelta:number):IRange; - fromPointWithDelta(startPoint:number[], rowDelta:number, columnDelta:number):IRange; - fromPointWithDelta(startPoint:{row:number; column:number;}, rowDelta:number, columnDelta:number):IRange; + /** Point representing the new head screen position. */ + newHeadScreenPosition: Point; - new(point1:IPoint, point2:IPoint):IRange; - new(point1:number[], point2:IPoint):IRange; - new(point1:{row:number; column:number;}, point2:IPoint):IRange; + /** Point representing the former tail screen position. */ + oldTailScreenPosition: Point; - new(point1:IPoint, point2:number[]):IRange; - new(point1:number[], point2:number[]):IRange; - new(point1:{row:number; column:number;}, point2:number[]):IRange; + /** Point representing the new tail screen position. */ + newTailScreenPosition: Point; - new(point1:IPoint, point2:{row:number; column:number;}):IRange; - new(point1:number[], point2:{row:number; column:number;}):IRange; - new(point1:{row:number; column:number;}, point2:{row:number; column:number;}):IRange; - } + /** Boolean indicating whether the marker was valid before the change. */ + wasValid: boolean; - interface IRange { - constructor:IRangeStatic; + /** Boolean indicating whether the marker is now valid. */ + isValid: boolean; - start: IPoint; - end: IPoint; + /** Boolean indicating whether the marker had a tail before the change. */ + hadTail: boolean; - serialize():number[][]; - copy():IRange; - freeze():IRange; - isEqual(other:IRange):boolean; - isEqual(other:IPoint[]):boolean; + /** Boolean indicating whether the marker now has a tail */ + hasTail: boolean; - compare(object:IPoint[]):number; + /** -DEPRECATED- Object containing the marker's custom properties before the change. + * @deprecated + */ + oldProperties: object; - compare(object:{start: IPoint; end: IPoint}):number; - compare(object:{start: number[]; end: IPoint}):number; - compare(object:{start: {row:number; column:number;}; end: IPoint}):number; + /** -DEPRECATED- Object containing the marker's custom properties after the change. + * @deprecated + */ + newProperties: object; - compare(object:{start: IPoint; end: number[]}):number; - compare(object:{start: number[]; end: number[]}):number; - compare(object:{start: {row:number; column:number;}; end: number[]}):number; + /** Boolean indicating whether this change was caused by a textual change to the + * buffer or whether the marker was manipulated directly via its public API. + */ + textChanged: boolean; + } - compare(object:{start: IPoint; end: {row:number; column:number;}}):number; - compare(object:{start: number[]; end: {row:number; column:number;}}):number; - compare(object:{start: {row:number; column:number;}; end: {row:number; column:number;}}):number; + interface BufferChanging { + /** Range of the old text. */ + oldRange: Range; + } - isSingleLine():boolean; - coversSameRows(other:IRange):boolean; + interface BufferChanged { + /** Range of the old text. */ + oldRange: Range; - add(object:IPoint[]):IRange; + /** Range of the new text. */ + newRange: Range; - add(object:{start: IPoint; end: IPoint}):IRange; - add(object:{start: number[]; end: IPoint}):IRange; - add(object:{start: {row:number; column:number;}; end: IPoint}):IRange; + /** String containing the text that was replaced. */ + oldText: string; - add(object:{start: IPoint; end: number[]}):IRange; - add(object:{start: number[]; end: number[]}):IRange; - add(object:{start: {row:number; column:number;}; end: number[]}):IRange; + /** String containing the text that was inserted. */ + newText: string; + } - add(object:{start: IPoint; end: {row:number; column:number;}}):IRange; - add(object:{start: number[]; end: {row:number; column:number;}}):IRange; - add(object:{start: {row:number; column:number;}; end: {row:number; column:number;}}):IRange; + interface BufferStoppedChanging { + changes: Structures.TextChange[]; + } + } - translate(startPoint:IPoint, endPoint:IPoint):IRange; - translate(startPoint:IPoint):IRange; + /** Objects that appear as parameters to functions. */ + namespace Options { + interface BufferLoad { + /** The file's encoding. */ + encoding?: string; - intersectsWith(otherRange:IRange):boolean; - containsRange(otherRange:IRange, exclusive:boolean):boolean; + /** A function that returns a boolean indicating whether the buffer should + * be destroyed if its file is deleted. + */ + shouldDestroyOnFileDelete?(): boolean; + } - containsPoint(point:IPoint, exclusive:boolean):boolean; - containsPoint(point:number[], exclusive:boolean):boolean; - containsPoint(point:{row:number; column:number;}, exclusive:boolean):boolean; + interface FindMarker { + /** Only include markers that start at the given Point. */ + startPosition?: PointLike|[number, number]; - intersectsRow(row:number):boolean; - intersectsRowRange(startRow:number, endRow:number):boolean; - union(otherRange:IRange):IRange; - isEmpty():boolean; - toDelta():IPoint; - getRowCount():number; - getRows():number[]; - } + /** Only include markers that end at the given Point. */ + endPosition?: PointLike|[number, number]; - interface IHistory { - // TBD - } + /** Only include markers that start inside the given Range. */ + startsInRange?: RangeLike|[PointLike, PointLike]|[PointLike, [number, number]]| + [[number, number], PointLike]|[[number, number], [number, number]]; - interface IMarkerManager { - // TBD - } + /** Only include markers that end inside the given Range. */ + endsInRange?: RangeLike|[PointLike, PointLike]|[PointLike, [number, number]]| + [[number, number], PointLike]|[[number, number], [number, number]]; - interface IMarker { - // TBD - } + /** Only include markers that contain the given Point, inclusive. */ + containsPoint?: PointLike|[number, number]; - interface IBufferPatch { - // TBD - } + /** Only include markers that contain the given Range, inclusive. */ + containsRange?: RangeLike|[PointLike, PointLike]| + [PointLike, [number, number]]|[[number, number], PointLike]| + [[number, number], [number, number]]; - interface ITextBufferStatic { - Point: IPointStatic; - Range: IRangeStatic; - newlineRegex:any; + /** Only include markers that start at the given row number. */ + startRow?: number; - new (text:string): ITextBuffer; - new (params:any): ITextBuffer; - } + /** Only include markers that end at the given row number. */ + endRow?: number; - interface ITextBuffer extends Emissary.IEmitter, Emissary.ISubscriber { - // Delegator.includeInto(TextBuffer); - // Serializable.includeInto(TextBuffer); + /** Only include markers that intersect the given row number. */ + intersectsRow?: number; + } - cachedText:string; - stoppedChangingDelay:number; - stoppedChangingTimeout:any; - cachedDiskContents:string; - conflict:boolean; - file:any; // pathwatcher.IFile - refcount:number; + interface FindDisplayMarker { + /** Only include markers starting at this Point in buffer coordinates. */ + startBufferPosition?: PointLike|[number, number]; - lines:string[]; - lineEndings:string[]; - offsetIndex:any; // span-skip-list.SpanSkipList - history:IHistory; - markers:IMarkerManager; - loaded:boolean; - digestWhenLastPersisted:string; - modifiedWhenLastPersisted:boolean; - useSerializedText:boolean; + /** Only include markers ending at this Point in buffer coordinates. */ + endBufferPosition?: PointLike|[number, number]; - deserializeParams(params:any):any; - serializeParams():any; + /** Only include markers starting at this Point in screen coordinates. */ + startScreenPosition?: PointLike|[number, number]; - getText():string; - getLines():string; - isEmpty():boolean; - getLineCount():number; - getLastRow():number; - lineForRow(row:number):string; - getLastLine():string; - lineEndingForRow(row:number):string; - lineLengthForRow(row:number):number; - setText(text:string):IRange; - setTextViaDiff(text:any):any[]; - setTextInRange(range:IRange, text:string, normalizeLineEndings?:boolean):IRange; - insert(position:IPoint, text:string, normalizeLineEndings?:boolean):IRange; - append(text:string, normalizeLineEndings?:boolean):IRange; - delete(range:IRange):IRange; - deleteRow(row:number):IRange; - deleteRows(startRow:number, endRow:number):IRange; - buildPatch(oldRange:IRange, newText:string, normalizeLineEndings?:boolean):IBufferPatch; - applyPatch(patch:IBufferPatch):any; - getTextInRange(range:IRange):string; - clipRange(range:IRange):IRange; - clipPosition(position:IPoint):IPoint; - getFirstPosition():IPoint; - getEndPosition():IPoint; - getRange():IRange; - rangeForRow(row:number, includeNewline?:boolean):IRange; - characterIndexForPosition(position:IPoint):number; - positionForCharacterIndex(offset:number):IPoint; - getMaxCharacterIndex():number; - loadSync():ITextBuffer; - load():Promise; - finishLoading():ITextBuffer; - handleTextChange(event:any):any; - destroy():any; - isAlive():boolean; - isDestroyed():boolean; - isRetained():boolean; - retain():ITextBuffer; - release():ITextBuffer; - subscribeToFile():any; - hasMultipleEditors():boolean; - reload():any; - updateCachedDiskContentsSync():string; - updateCachedDiskContents():Promise; - getBaseName():string; - getPath():string; - getUri():string; - setPath(filePath:string):any; - save():void; - saveAs(filePath:string):any; - isModified():boolean; - isInConflict():boolean; - destroyMarker(id:any):any; - matchesInCharacterRange(regex:any, startIndex:any, endIndex:any):any[]; - scan(regex:any, iterator:any):any; - backwardsScan(regex:any, iterator:any):any; - replace(regex:any, replacementText:any):any; - scanInRange(regex:any, range:any, iterator:any, reverse:any):any; - backwardsScanInRange(regex:any, range:any, iterator:any):any; - isRowBlank(row:number):boolean; - previousNonBlankRow(startRow:number):number; - nextNonBlankRow(startRow:number):number; - usesSoftTabs():boolean; - cancelStoppedChangingTimeout():any; - scheduleModifiedEvents():any; - emitModifiedStatusChanged(modifiedStatus:any):any; - logLines(start:number, end:number):void; + /** Only include markers ending at this Point in screen coordinates. */ + endScreenPosition?: PointLike|[number, number]; - // delegate to history property - undo():any; - redo():any; - transact(fn:Function):any; - beginTransaction():any; - commitTransaction():any; - abortTransaction():any; - clearUndoStack():any; + /** Only include markers starting inside this Range in buffer coordinates. */ + startsInBufferRange?: RangeLike|[PointLike, PointLike]|[PointLike, [number, number]]| + [[number, number], PointLike]|[[number, number], [number, number]]; - // delegate to markers property - markRange(range:any, properties:any):any; - markPosition(range:any, properties:any):any; - getMarker(id:number):IMarker; - getMarkers():IMarker[]; - getMarkerCount():number; + /** Only include markers ending inside this Range in buffer coordinates. */ + endsInBufferRange?: RangeLike|[PointLike, PointLike]|[PointLike, [number, number]]| + [[number, number], PointLike]|[[number, number], [number, number]]; + + /** Only include markers starting inside this Range in screen coordinates. */ + startsInScreenRange?: RangeLike|[PointLike, PointLike]|[PointLike, [number, number]]| + [[number, number], PointLike]|[[number, number], [number, number]]; + + /** Only include markers ending inside this Range in screen coordinates. */ + endsInScreenRange?: RangeLike|[PointLike, PointLike]|[PointLike, [number, number]]| + [[number, number], PointLike]|[[number, number], [number, number]]; + + /** Only include markers starting at this row in buffer coordinates. */ + startBufferRow?: number; + + /** Only include markers ending at this row in buffer coordinates. */ + endBufferRow?: number; + + /** Only include markers starting at this row in screen coordinates. */ + startScreenRow?: number; + + /** Only include markers ending at this row in screen coordinates. */ + endScreenRow?: number; + + /** Only include markers intersecting this Array of [startRow, endRow] in + * buffer coordinates. + */ + intersectsBufferRowRange?: [number, number]; + + /** Only include markers intersecting this Array of [startRow, endRow] in + * screen coordinates. + */ + intersectsScreenRowRange?: [number, number]; + + /** Only include markers containing this Range in buffer coordinates. */ + containsBufferRange?: RangeLike|[PointLike, PointLike]| + [PointLike, [number, number]]|[[number, number], PointLike]| + [[number, number], [number, number]]; + + /** Only include markers containing this Point in buffer coordinates. */ + containsBufferPosition?: PointLike|[number, number]; + + /** Only include markers contained in this Range in buffer coordinates. */ + containedInBufferRange?: RangeLike|[PointLike, PointLike]| + [PointLike, [number, number]]|[[number, number], PointLike]| + [[number, number], [number, number]]; + + /** Only include markers contained in this Range in screen coordinates. */ + containedInScreenRange?: RangeLike|[PointLike, PointLike]| + [PointLike, [number, number]]|[[number, number], PointLike]| + [[number, number], [number, number]]; + + /** Only include markers intersecting this Range in buffer coordinates. */ + intersectsBufferRange?: RangeLike|[PointLike, PointLike]| + [PointLike, [number, number]]|[[number, number], PointLike]| + [[number, number], [number, number]]; + + /** Only include markers intersecting this Range in screen coordinates. */ + intersectsScreenRange?: RangeLike|[PointLike, PointLike]| + [PointLike, [number, number]]|[[number, number], PointLike]| + [[number, number], [number, number]]; + } + + interface CopyMarker { + /** Whether or not the marker should be tailed. */ + tailed?: boolean; + + /** Creates the marker in a reversed orientation. */ + reversed?: boolean; + + /** Determines the rules by which changes to the buffer invalidate the marker. */ + invalidate?: "never"|"surround"|"overlap"|"inside"|"touch"; + + /** Indicates whether insertions at the start or end of the marked range should + * be interpreted as happening outside the marker. + */ + exclusive?: boolean; + + /** -DEPRECATED- Custom properties to be associated with the marker. */ + properties?: object; + } + + interface ScanContext { + /** The number of lines before the matched line to include in the results object. */ + leadingContextLineCount?: number; + + /** The number of lines after the matched line to include in the results object. */ + trailingContextLineCount?: number; + } + } + + /** The static side to each exported class. Should generally only be used internally. */ + namespace Statics { + /* tslint:disable:no-unnecessary-qualifier */ + /** The static side to the Point class. */ + interface Point { + /** Create a Point from an array containing two numbers representing the + * row and column. + */ + fromObject(object: [number, number]): TextBuffer.Point; + + /** Create a Point from an existing object which implements PointLike. */ + fromObject(object: TextBuffer.PointLike, copy?: boolean): TextBuffer.Point; + + /** Construct a Point object */ + new (row?: number, column?: number): TextBuffer.Point; + + /** Returns the given Point that is earlier in the buffer. */ + min(point1: TextBuffer.PointLike|[number, number], point2: TextBuffer.PointLike| + [number, number]): TextBuffer.Point; + } + + /** The static side to the Range class. */ + interface Range { + /** Convert any range-compatible object to a Range. */ + fromObject(object: TextBuffer.RangeLike|[TextBuffer.PointLike, TextBuffer.PointLike]| + [TextBuffer.PointLike, [number, number]]|[[number, number], TextBuffer.PointLike]| + [[number, number], [number, number]], copy?: boolean): TextBuffer.Range; + + /** Construct a Range object. */ + new (pointA?: TextBuffer.PointLike|[number, number], pointB?: TextBuffer.PointLike| + [number, number]): TextBuffer.Range; + + /** Call this with the result of Range::serialize to construct a new Range. */ + deserialize(array: object): TextBuffer.Range; + } + + /** The static side to the TextBuffer class. */ + interface TextBuffer { + Point: TextBuffer.Statics.Point; + Range: TextBuffer.Statics.Range; + + /** Create a new buffer with the given starting text. */ + new (text: string): TextBuffer.TextBuffer; + /** Create a new buffer with the given params. */ + new (params?: { + /** The initial string text of the buffer. */ + text?: string + /** A function that returns a Boolean indicating whether the buffer should + * be destroyed if its file is deleted. + */ + shouldDestroyOnFileDelete?(): boolean + }): TextBuffer.TextBuffer; + + /** Create a new buffer backed by the given file path. */ + load(source: string, params?: TextBuffer.Options.BufferLoad): + Promise; + + /** Create a new buffer backed by the given file path. For better performance, + * use TextBuffer.load instead. + */ + loadSync(filePath: string, params?: TextBuffer.Options.BufferLoad): + TextBuffer.TextBuffer; + + /** Restore a TextBuffer based on an earlier state created using the TextBuffer::serialize + * method. + */ + deserialize(params: object): Promise; + } + /* tslint:enable:no-unnecessary-qualifier */ + } + + /** Data structures that are used within classes. */ + namespace Structures { + interface TextChange { + newExtent: Point; + oldExtent: Point; + newRange: Range; + oldRange: Range; + newText: string; + oldText: string; + start: Point; + } + + interface BufferScanResult { + buffer: TextBuffer; + lineText: string; + match: RegExpExecArray; + matchText: string; + range: Range; + replace(replacementText: string): void; + stop(): void; + stopped: boolean; + } + + interface ContextualBufferScanResult extends BufferScanResult { + leadingContextLines: string[]; + trailingContextLines: string[]; + } + } + + /** The interface that should be implemented for all "point-compatible" objects. */ + interface PointLike { + /** A zero-indexed number representing the row of the Point. */ + row: number; + + /** A zero-indexed number representing the column of the Point. */ + column: number; + } + + /** Represents a point in a buffer in row/column coordinates. */ + interface Point extends PointLike { + // Properties + /** A zero-indexed number representing the row of the Point. */ + row: number; + + /** A zero-indexed number representing the column of the Point. */ + column: number; + + // Construction + /** Returns a new Point with the same row and column. */ + copy(): Point; + + /** Returns a new Point with the row and column negated. */ + negate(): Point; + + // Comparison + /** Compare another Point to this Point instance. + * Returns -1 if this point precedes the argument. + * Returns 0 if this point is equivalent to the argument. + * Returns 1 if this point follows the argument. + */ + compare(other: PointLike|[number, number]): number; + + /** Returns a boolean indicating whether this point has the same row and + * column as the given Point. + */ + isEqual(other: PointLike|[number, number]): boolean; + + /** Returns a Boolean indicating whether this point precedes the given Point. */ + isLessThan(other: PointLike|[number, number]): boolean; + + /** Returns a Boolean indicating whether this point precedes or is equal to + * the given Point. + */ + isLessThanOrEqual(other: PointLike|[number, number]): boolean; + + /** Returns a Boolean indicating whether this point follows the given Point. */ + isGreaterThan(other: PointLike|[number, number]): boolean; + + /** Returns a Boolean indicating whether this point follows or is equal to + * the given Point. + */ + isGreaterThanOrEqual(other: PointLike|[number, number]): boolean; + + // Operations + /** Makes this point immutable and returns itself. */ + freeze(): Readonly; + + /** Build and return a new point by adding the rows and columns of the + * given point. + */ + translate(other: PointLike|[number, number]): Point; + + /** Build and return a new Point by traversing the rows and columns + * specified by the given point. + */ + traverse(other: PointLike|[number, number]): Point; + + /** Returns an array of this point's row and column. */ + toArray(): [number, number]; + + /** Returns an array of this point's row and column. */ + serialize(): [number, number]; + + /** Returns a string representation of the point. */ + toString(): string; + } + + /** The interface that should be implemented for all "range-compatible" objects. */ + interface RangeLike { + /** A Point representing the start of the Range. */ + start: PointLike; + + /** A Point representing the end of the Range. */ + end: PointLike; + } + + /** Represents a region in a buffer in row/column coordinates. */ + interface Range extends RangeLike { + // Properties + /** A Point representing the start of the Range. */ + start: PointLike; + + /** A Point representing the end of the Range. */ + end: PointLike; + + // Construction + /** Returns a new range with the same start and end positions. */ + copy(): Range; + + /** Returns a new range with the start and end positions negated. */ + negate(): Range; + + // Serialization and Deserialization + /** Returns a plain javascript object representation of the range. */ + serialize(): number[][]; + + // Range Details + /** Is the start position of this range equal to the end position? */ + isEmpty(): boolean; + + /** Returns a boolean indicating whether this range starts and ends on the + * same row. + */ + isSingleLine(): boolean; + + /** Get the number of rows in this range. */ + getRowCount(): number; + + /** Returns an array of all rows in the range. */ + getRows(): number[]; + + // Operations + /** Freezes the range and its start and end point so it becomes immutable + * and returns itself. + */ + freeze(): Readonly; + + // NOTE: this function doesn't actually take a range-compatible parameter. + /** Returns a new range that contains this range and the given range. */ + union(other: RangeLike): Range; + + /** Build and return a new range by translating this range's start and end + * points by the given delta(s). + */ + translate(startDelta: PointLike|[number, number], endDelta?: PointLike| + [number, number]): Range; + + /** Build and return a new range by traversing this range's start and end + * points by the given delta. + */ + traverse(delta: PointLike|[number, number]): Range; + + // Comparison + /** Compare two Ranges. + * Returns -1 if this range starts before the argument or contains it. + * Returns 0 if this range is equivalent to the argument. + * Returns 1 if this range starts after the argument or is contained by it. + */ + compare(otherRange: RangeLike|[PointLike, PointLike]|[PointLike, [number, number]]| + [[number, number], PointLike]|[[number, number], [number, number]]): number; + + /** Returns a Boolean indicating whether this range has the same start and + * end points as the given Range. + */ + isEqual(otherRange: RangeLike|[PointLike, PointLike]|[PointLike, [number, number]]| + [[number, number], PointLike]|[[number, number], [number, number]]): boolean; + + // NOTE: this function doesn't actually take a range-compatible parameter. + /** Returns a Boolean indicating whether this range starts and ends on the + * same row as the argument. + */ + coversSameRows(otherRange: RangeLike): boolean; + + // NOTE: this function doesn't actually take a range-compatible parameter. + /** Determines whether this range intersects with the argument. */ + intersectsWith(otherRange: RangeLike, exclusive?: boolean): boolean; + + /** Returns a boolean indicating whether this range contains the given range. */ + containsRange(otherRange: RangeLike|[PointLike, PointLike]|[PointLike, [number, number]]| + [[number, number], PointLike]|[[number, number], [number, number]], exclusive?: + boolean): boolean; + + /** Returns a boolean indicating whether this range contains the given point. */ + containsPoint(point: PointLike|[number, number], exclusive?: boolean): boolean; + + /** Returns a boolean indicating whether this range intersects the given + * row number. + */ + intersectsRow(row: number): boolean; + + /** Returns a boolean indicating whether this range intersects the row range + * indicated by the given startRow and endRow numbers. + */ + intersectsRowRange(startRow: number, endRow: number): boolean; + + // Conversion + /** Returns a string representation of the range. */ + toString(): string; + } + + /** Represents a buffer annotation that remains logically stationary even as + * the buffer changes. + */ + interface Marker { + // Properties + id: number; + tailed: boolean; + reversed: boolean; + valid: boolean; + invalidate: string; + properties: object; + + // Lifecycle + /** Creates and returns a new Marker with the same properties as this + * marker. + */ + copy(options?: Options.CopyMarker): Marker; + + /** Destroys the marker, causing it to emit the "destroyed" event. */ + destroy(): void; + + // Event Subscription + /** Invoke the given callback when the marker is destroyed. */ + onDidDestroy(callback: () => void): EventKit.Disposable; + + /** Invoke the given callback when the state of the marker changes. */ + onDidChange(callback: (event: Events.MarkerChanged) => void): + EventKit.Disposable; + + // Marker Details + /** Returns the current range of the marker. The range is immutable. */ + getRange(): Range; + + /** Returns a point representing the marker's current head position. */ + getHeadPosition(): Point; + + /** Returns a point representing the marker's current tail position. */ + getTailPosition(): Point; + + /** Returns a point representing the start position of the marker, which + * could be the head or tail position, depending on its orientation. + */ + getStartPosition(): Point; + + /** Returns a point representing the end position of the marker, which + * could be the head or tail position, depending on its orientation. + */ + getEndPosition(): Point; + + /** Returns a boolean indicating whether the head precedes the tail. */ + isReversed(): boolean; + + /** Returns a boolean indicating whether the marker has a tail. */ + hasTail(): boolean; + + /** Is the marker valid? */ + isValid(): boolean; + + /** Is the marker destroyed? */ + isDestroyed(): boolean; + + /** Returns a boolean indicating whether changes that occur exactly at + * the marker's head or tail cause it to move. + */ + isExclusive(): boolean; + + /** Get the invalidation strategy for this marker. */ + getInvalidationStrategy(): string; + + // Mutating Markers + /** Sets the range of the marker. + * Returns a boolean indicating whether or not the marker was updated. + */ + setRange(range: RangeLike|[PointLike, PointLike]|[PointLike, [number, number]]| + [[number, number], PointLike]|[[number, number], [number, number]], params?: { + reversed?: boolean, exclusive?: boolean }): boolean; + + /** Sets the head position of the marker. + * Returns a boolean indicating whether or not the marker was updated. + */ + setHeadPosition(position: PointLike|[number, number]): boolean; + + /** Sets the tail position of the marker. + * Returns a boolean indicating whether or not the marker was updated. + */ + setTailPosition(position: PointLike|[number, number]): boolean; + + /** Removes the marker's tail. + * Returns a boolean indicating whether or not the marker was updated. + */ + clearTail(): boolean; + + /** Plants the marker's tail at the current head position. + * Returns a boolean indicating whether or not the marker was updated. + */ + plantTail(): boolean; + + // Comparison + /** Returns a boolean indicating whether this marker is equivalent to + * another marker, meaning they have the same range and options. + */ + isEqual(other: Marker): boolean; + + /** Compares this marker to another based on their ranges. + * Returns "-1" if this marker precedes the argument. + * Returns "0" if this marker is equivalent to the argument. + * Returns "1" if this marker follows the argument. + */ + compare(other: Marker): number; + } + + /** Experimental: A container for a related set of markers. */ + interface MarkerLayer { + // Lifecycle + /** Create a copy of this layer with markers in the same state and locations. */ + copy(): MarkerLayer; + + /** Destroy this layer. */ + destroy(): boolean; + + /** Remove all markers from this layer. */ + clear(): void; + + /** Determine whether this layer has been destroyed. */ + isDestroyed(): boolean; + + // Querying + /** Get an existing marker by its id. */ + getMarker(id: number): Marker|undefined; + + /** Get all existing markers on the marker layer. */ + getMarkers(): Marker[]; + + /** Get the number of markers in the marker layer. */ + getMarkerCount(): number; + + /** Find markers in the layer conforming to the given parameters. */ + findMarkers(params: Options.FindMarker): Marker[]; + + // Marker Creation + /** Create a marker with the given range. */ + markRange(range: RangeLike|[PointLike, PointLike]|[PointLike, [number, number]]| + [[number, number], PointLike]|[[number, number], [number, number]], options?: + { reversed?: boolean, invalidate?: "never"|"surround"|"overlap"|"inside"|"touch", + exclusive?: boolean }): Marker; + + /** Create a marker at with its head at the given position with no tail. */ + markPosition(position: PointLike|[number, number], options?: { + invalidate?: "never"|"surround"|"overlap"|"inside"|"touch", + exclusive?: boolean + }): Marker; + + // Event Subscription + /** Subscribe to be notified asynchronously whenever markers are created, + * updated, or destroyed on this layer. + */ + onDidUpdate(callback: () => void): EventKit.Disposable; + + /** Subscribe to be notified synchronously whenever markers are created on + * this layer. + */ + onDidCreateMarker(callback: (marker: Marker) => void): EventKit.Disposable; + + /** Subscribe to be notified synchronously when this layer is destroyed. */ + onDidDestroy(callback: () => void): EventKit.Disposable; + } + + /** A mutable text container with undo/redo support and the ability to + * annotate logical regions in the text. + */ + interface TextBuffer { + // Properties + file: PathWatcher.File; + lines: string[]; + lineEndings: string[]; + stoppedChangingDelay: number; + conflict: boolean; + loaded: boolean; + destroyed: boolean; + refcount: number; + id: string; + + /** Schedules a 'did-stop-changing' emission. The event will be emitted between + * now and TextBuffer::stoppedChangingDelay milliseconds in the future. + */ + debouncedEmitDidStopChangingEvent(): void; + + // Lifecycle + /** Destroys the buffer, emitting the 'did-destroy' prior to doing so. */ + destroy(): void; + + /** Returns whether or not the given buffer is alive. */ + isAlive(): boolean; + + /** Returns whether or not the given buffer has been destroyed. */ + isDestroyed(): boolean; + + /** Returns whether or not this text buffer is currently retained. */ + isRetained(): boolean; + + /** Retains the text buffer, preventing its destruction via TextBuffer::release. */ + retain(): TextBuffer; + + /** Release the text buffer, destroying it if there are no other retainers. */ + release(): TextBuffer; + + // Event Subscription + /** Invoke the given callback synchronously before the content of the buffer + * changes. + */ + onWillChange(callback: (event: Events.BufferChanging) => void): + EventKit.Disposable; + + /** Invoke the given callback synchronously when the content of the buffer + * changes. You should probably not be using this in packages. + */ + onDidChange(callback: (event: Events.BufferChanged) => void): + EventKit.Disposable; + + /** Invoke the given callback synchronously when a transaction finishes with + * a list of all the changes in the transaction. + */ + onDidChangeText(callback: (event: Events.BufferStoppedChanging) => void): + EventKit.Disposable; + + /** Invoke the given callback asynchronously following one or more changes after + * ::getStoppedChangingDelay milliseconds elapse without an additional change. + */ + onDidStopChanging(callback: (event: Events.BufferStoppedChanging) => void): + EventKit.Disposable; + + /** Invoke the given callback when the in-memory contents of the buffer become + * in conflict with the contents of the file on disk. + */ + onDidConflict(callback: () => void): EventKit.Disposable; + + /** Invoke the given callback if the value of ::isModified changes. */ + onDidChangeModified(callback: (modified: boolean) => void): + EventKit.Disposable; + + /** Invoke the given callback when all marker ::onDidChange observers have been + * notified following a change to the buffer. + */ + onDidUpdateMarkers(callback: () => void): EventKit.Disposable; + + onDidCreateMarker(callback: (marker: Marker) => void): + EventKit.Disposable; + + /** Invoke the given callback when the value of ::getPath changes. */ + onDidChangePath(callback: (path: string) => void): EventKit.Disposable; + + /** Invoke the given callback when the value of ::getEncoding changes. */ + onDidChangeEncoding(callback: (encoding: string) => void): + EventKit.Disposable; + + /** Invoke the given callback before the buffer is saved to disk. */ + onWillSave(callback: () => void): EventKit.Disposable; + + /** Invoke the given callback after the buffer is saved to disk. */ + onDidSave(callback: (event: Events.FileSaved) => void): + EventKit.Disposable; + + /** Invoke the given callback after the file backing the buffer is deleted. */ + onDidDelete(callback: () => void): EventKit.Disposable; + + /** Invoke the given callback before the buffer is reloaded from the contents + * of its file on disk. + */ + onWillReload(callback: () => void): EventKit.Disposable; + + /** Invoke the given callback after the buffer is reloaded from the contents + * of its file on disk. + */ + onDidReload(callback: () => void): EventKit.Disposable; + + /** Invoke the given callback when the buffer is destroyed. */ + onDidDestroy(callback: () => void): EventKit.Disposable; + + /** Invoke the given callback when there is an error in watching the file. */ + onWillThrowWatchError(callback: (errorObject: Events.BufferWatchError) => + void): EventKit.Disposable; + + /** Get the number of milliseconds that will elapse without a change before + * ::onDidStopChanging observers are invoked following a change. + */ + getStoppedChangingDelay(): number; + + /** Performs the necessary work, then emits the 'did-stop-changing' event. */ + emitDidStopChangingEvent(): void; + + // File Details + /** Determine if the in-memory contents of the buffer differ from its contents + * on disk. + * If the buffer is unsaved, always returns true unless the buffer is empty. + */ + isModified(): boolean; + + /** Determine if the in-memory contents of the buffer conflict with the on-disk + * contents of its associated file. + */ + isInConflict(): boolean; + + /** Get the path of the associated file. */ + getPath(): string|undefined; + + /** Set the path for the buffer's associated file. */ + setPath(filePath: string): void; + + /** Sets the character set encoding for this buffer. */ + setEncoding(encoding: string): void; + + /** Returns the string encoding of this buffer. */ + getEncoding(): string; + + /** Get the path of the associated file. */ + getUri(): string; + + /** Identifies if the buffer belongs to multiple editors. */ + hasMultipleEditors(): boolean; + + // Reading Text + /** Determine whether the buffer is empty. */ + isEmpty(): boolean; + + /** Get the entire text of the buffer. */ + getText(): string; + + /** Get the text in a range. */ + getTextInRange(range: RangeLike|[PointLike, PointLike]|[PointLike, [number, number]]| + [[number, number], PointLike]|[[number, number], [number, number]]): string; + + /** Get the text of all lines in the buffer, without their line endings. */ + getLines(): string[]; + + /** Get the text of the last line of the buffer, without its line ending. */ + getLastLine(): string; + + /** Get the text of the line at the given row, without its line ending. */ + lineForRow(row: number): string|undefined; + + /** Get the line ending for the given 0-indexed row. */ + lineEndingForRow(row: number): string|undefined; + + /** Get the length of the line for the given 0-indexed row, without its line + * ending. + */ + lineLengthForRow(row: number): number; + + /** Determine if the given row contains only whitespace. */ + isRowBlank(row: number): boolean; + + /** Given a row, find the first preceding row that's not blank. + * Returns a number or null if there's no preceding non-blank row. + */ + previousNonBlankRow(startRow: number): number|null; + + /** Given a row, find the next row that's not blank. + * Returns a number or null if there's no next non-blank row. + */ + nextNonBlankRow(startRow: number): number|null; + + // Mutating Text + /** Replace the entire contents of the buffer with the given text. */ + setText(text: string): Range; + + /** Replace the current buffer contents by applying a diff based on the + * given text. + */ + setTextViaDiff(text: string): void; + + /** Set the text in the given range. */ + setTextInRange(range: RangeLike|[PointLike, PointLike]|[PointLike, [number, number]]| + [[number, number], PointLike]|[[number, number], [number, number]], text: string, + options?: { normalizeLineEndings?: boolean, undo?: "skip" }): Range; + + /** Insert text at the given position. */ + insert(position: PointLike|[number, number], text: string, options?: { + normalizeLineEndings?: boolean, + undo?: "skip" + }): Range; + + /** Append text to the end of the buffer. */ + append(text: string, options?: { + normalizeLineEndings?: boolean, + undo?: "skip" + }): Range; + + /** Delete the text in the given range. */ + delete(range: RangeLike|[PointLike, PointLike]|[PointLike, [number, number]]| + [[number, number], PointLike]|[[number, number], [number, number]]): Range; + + /** Delete the line associated with a specified row. */ + deleteRow(row: number): Range; + + /** Delete the lines associated with the specified row range. */ + deleteRows(startRow: number, endRow: number): Range; + + // Markers + /** Create a layer to contain a set of related markers. */ + addMarkerLayer(options?: { + maintainHistory?: boolean, + persistent?: boolean + }): MarkerLayer; + + /** Get a MarkerLayer by id. + * Returns a MarkerLayer or `` if no layer exists with the given id. + */ + getMarkerLayer(id: string): MarkerLayer|undefined; + + /** Get the default MarkerLayer. */ + getDefaultMarkerLayer(): MarkerLayer; + + /** Create a marker with the given range in the default marker layer. */ + markRange(range: RangeLike|[PointLike, PointLike]|[PointLike, [number, number]]| + [[number, number], PointLike]|[[number, number], [number, number]], properties?: + { reversed?: boolean, invalidate?: "never"|"surround"|"overlap"|"inside"|"touch", + exclusive?: boolean }): Marker; + + /** Create a marker at the given position with no tail in the default marker layer. */ + markPosition(position: PointLike|[number, number], options?: { + invalidate?: "never"|"surround"|"overlap"|"inside"|"touch", + exclusive?: boolean + }): Marker; + + /** Get all existing markers on the default marker layer. */ + getMarkers(): Marker[]; + + /** Get an existing marker by its id from the default marker layer. */ + getMarker(id: number): Marker; + + /** Find markers conforming to the given parameters in the default marker layer. */ + findMarkers(params: Options.FindMarker): Marker[]; + + /** Get the number of markers in the default marker layer. */ + getMarkerCount(): number; + + // History + /** Undo the last operation. If a transaction is in progress, aborts it. */ + undo(): boolean; + + /** Redo the last operation. */ + redo(): boolean; + + /** Batch multiple operations as a single undo/redo step. */ + transact(groupingInterval: number, fn: () => T): T; + transact(fn: () => T): T; + + /** Call within a transaction to terminate the function's execution and + * revert any changes performed up to the abortion. + */ + abortTransaction(): void; + + /** Clear the undo stack. When calling this method within a transaction, + * the ::onDidChangeText event will not be triggered because the information + * describing the changes is lost. + */ + clearUndoStack(): void; + + /** Create a pointer to the current state of the buffer for use with + * ::revertToCheckpoint and ::groupChangesSinceCheckpoint. + */ + createCheckpoint(): number; + + /** Revert the buffer to the state it was in when the given checkpoint was created. + * Returns a boolean indicating whether the operation succeeded. + */ + revertToCheckpoint(checkpoint: number): boolean; + + /** Group all changes since the given checkpoint into a single transaction for + * purposes of undo/redo. + * Returns a boolean indicating whether the operation succeeded. + */ + groupChangesSinceCheckpoint(checkpoint: number): boolean; + + /** Returns a list of changes since the given checkpoint. + * If the given checkpoint is no longer present in the undo history, this method + * will return an empty Array. + */ + getChangesSinceCheckpoint(checkpoint: number): Array<{ + /** A Point representing where the change started. */ + start: Point, + + /** A Point representing the replaced extent. */ + oldExtent: Point, + + /** A Point representing the replacement extent. */ + newExtent: Point, + + /** A String representing the replacement text. */ + newText: string + }>; + + // Search and Replace + /** Scan regular expression matches in the entire buffer, calling the given + * iterator function on each match. + */ + scan(regex: RegExp, iterator: (params: Structures.BufferScanResult) => void): void; + /** Scan regular expression matches in the entire buffer, calling the given + * iterator function on each match. + */ + scan(regex: RegExp, options: Options.ScanContext, iterator: (params: + Structures.ContextualBufferScanResult) => void): void; + + /** Scan regular expression matches in the entire buffer in reverse order, + * calling the given iterator function on each match. + */ + backwardsScan(regex: RegExp, iterator: (params: Structures.BufferScanResult) => void): + void; + /** Scan regular expression matches in the entire buffer in reverse order, + * calling the given iterator function on each match. + */ + backwardsScan(regex: RegExp, options: Options.ScanContext, iterator: (params: + Structures.ContextualBufferScanResult) => void): void; + + /** Scan regular expression matches in a given range , calling the given + * iterator function on each match. + */ + scanInRange(regex: RegExp, range: RangeLike|[PointLike, PointLike]|[PointLike, + [number, number]]|[[number, number], PointLike]|[[number, number], [number, number]], + iterator: (params: Structures.BufferScanResult) => void): void; + /** Scan regular expression matches in a given range , calling the given + * iterator function on each match. + */ + scanInRange(regex: RegExp, range: RangeLike|[PointLike, PointLike]|[PointLike, + [number, number]]|[[number, number], PointLike]|[[number, number], [number, number]], + options: Options.ScanContext, iterator: (params: + Structures.ContextualBufferScanResult) => void): void; + + /** Scan regular expression matches in a given range in reverse order, + * calling the given iterator function on each match. + */ + backwardsScanInRange(regex: RegExp, range: RangeLike|[PointLike, PointLike]|[PointLike, + [number, number]]|[[number, number], PointLike]|[[number, number], [number, number]], + iterator: (params: Structures.BufferScanResult) => void): void; + /** Scan regular expression matches in a given range in reverse order, + * calling the given iterator function on each match. + */ + backwardsScanInRange(regex: RegExp, range: RangeLike|[PointLike, PointLike]|[PointLike, + [number, number]]|[[number, number], PointLike]|[[number, number], [number, number]], + options: Options.ScanContext, iterator: (params: + Structures.ContextualBufferScanResult) => void): void; + + /** Replace all regular expression matches in the entire buffer. */ + replace(regex: RegExp, replacementText: string): number; + + // Buffer Range Details + /** Get the range spanning from [0, 0] to ::getEndPosition. */ + getRange(): Range; + + /** Get the number of lines in the buffer. */ + getLineCount(): number; + + /** Get the last 0-indexed row in the buffer. */ + getLastRow(): number; + + /** Get the first position in the buffer, which is always [0, 0]. */ + getFirstPosition(): Point; + + /** Get the maximal position in the buffer, where new text would be appended. */ + getEndPosition(): Point; + + /** Get the length of the buffer in characters. */ + getMaxCharacterIndex(): number; + + /** Get the range for the given row. */ + rangeForRow(row: number, includeNewline: boolean): Range; + + /** Convert a position in the buffer in row/column coordinates to an absolute + * character offset, inclusive of line ending characters. + */ + characterIndexForPosition(position: Point|[number, number]): number; + + /** Convert an absolute character offset, inclusive of newlines, to a position + * in the buffer in row/column coordinates. + */ + positionForCharacterIndex(offset: number): Point; + + /** Clip the given range so it starts and ends at valid positions. */ + clipRange(range: RangeLike|[PointLike, PointLike]|[PointLike, [number, number]]| + [[number, number], PointLike]|[[number, number], [number, number]]): Range; + + /** Clip the given point so it is at a valid position in the buffer. */ + clipPosition(position: PointLike|[number, number]): Point; + + // Buffer Operations + /** Save the buffer. */ + save(): Promise; + + /** Save the buffer at a specific path. */ + saveAs(filePath: string): Promise; + + /** Reload the buffer's contents from disk. */ + reload(): void; + } + + /** Represents a buffer annotation that remains logically stationary even as the + * buffer changes. This is used to represent cursors, folds, snippet targets, + * misspelled words, and anything else that needs to track a logical location + * in the buffer over time. + */ + interface DisplayMarker { + // Construction and Destruction + /** Destroys the marker, causing it to emit the 'destroyed' event. Once destroyed, + * a marker cannot be restored by undo/redo operations. + */ + destroy(): void; + + /** Creates and returns a new DisplayMarker with the same properties as this marker. */ + copy(options?: Options.CopyMarker): DisplayMarker; + + // Event Subscription + /** Invoke the given callback when the state of the marker changes. */ + onDidChange(callback: (event: Events.DisplayMarkerChanged) => void): + EventKit.Disposable; + + /** Invoke the given callback when the marker is destroyed. */ + onDidDestroy(callback: () => void): EventKit.Disposable; + + // TextEditorMarker Details + /** Returns a boolean indicating whether the marker is valid. Markers can be + * invalidated when a region surrounding them in the buffer is changed. + */ + isValid(): boolean; + + /** Returns a boolean indicating whether the marker has been destroyed. A marker + * can be invalid without being destroyed, in which case undoing the invalidating + * operation would restore the marker. + */ + isDestroyed(): boolean; + + /** Returns a boolean indicating whether the head precedes the tail. */ + isReversed(): boolean; + + /** Returns a boolean indicating whether changes that occur exactly at the marker's + * head or tail cause it to move. + */ + isExclusive(): boolean; + + /** Get the invalidation strategy for this marker. + * Valid values include: never, surround, overlap, inside, and touch. + */ + getInvalidationStrategy(): string; + + /** Returns an Object containing any custom properties associated with the marker. */ + getProperties(): object; + + /** Merges an Object containing new properties into the marker's existing properties. */ + setProperties(properties: object): void; + + /** Returns whether this marker matches the given parameters. */ + matchesProperties(attributes: Options.FindDisplayMarker): boolean; + + // Comparing to other markers + /** Compares this marker to another based on their ranges. */ + compare(other: DisplayMarker): number; + + /** Returns a boolean indicating whether this marker is equivalent to another + * marker, meaning they have the same range and options. + */ + isEqual(other: DisplayMarker): boolean; + + // Managing the marker's range + /** Gets the buffer range of this marker. */ + getBufferRange(): Range; + + /** Gets the screen range of this marker. */ + getScreenRange(): Range; + + /** Modifies the buffer range of this marker. */ + setBufferRange(bufferRange: RangeLike|[PointLike, PointLike]|[PointLike, + [number, number]]|[[number, number], PointLike]|[[number, number], [number, number]], + properties?: { reversed: boolean }): void; + + /** Modifies the screen range of this marker. */ + setScreenRange(screenRange: RangeLike|[PointLike, PointLike]|[PointLike, + [number, number]]|[[number, number], PointLike]|[[number, number], [number, number]], + options?: { reversed?: boolean, clipDirection?: "backward"|"forward"|"closest" }): void; + + /** Retrieves the screen position of the marker's start. This will always be + * less than or equal to the result of DisplayMarker::getEndScreenPosition. + */ + getStartScreenPosition(options?: { clipDirection: "backward"|"forward"|"closest" }): + Point; + + /** Retrieves the screen position of the marker's end. This will always be + * greater than or equal to the result of DisplayMarker::getStartScreenPosition. + */ + getEndScreenPosition(options?: { clipDirection: "backward"|"forward"|"closest" }): + Point; + + /** Retrieves the buffer position of the marker's head. */ + getHeadBufferPosition(): Point; + + /** Sets the buffer position of the marker's head. */ + setHeadBufferPosition(bufferPosition: PointLike|[number, number]): void; + + /** Retrieves the screen position of the marker's head. */ + getHeadScreenPosition(options?: { clipDirection: "backward"|"forward"|"closest" }): + Point; + + /** Sets the screen position of the marker's head. */ + setHeadScreenPosition(screenPosition: PointLike|[number, number], options?: + { clipDirection: "backward"|"forward"|"closest" }): void; + + /** Retrieves the buffer position of the marker's tail. */ + getTailBufferPosition(): Point; + + /** Sets the buffer position of the marker's tail. */ + setTailBufferPosition(bufferPosition: PointLike|[number, number]): void; + + /** Retrieves the screen position of the marker's tail. */ + getTailScreenPosition(options?: { clipDirection: "backward"|"forward"|"closest" }): + Point; + + /** Sets the screen position of the marker's tail. */ + setTailScreenPosition(screenPosition: PointLike|[number, number], options?: + { clipDirection: "backward"|"forward"|"closest" }): void; + + /** Retrieves the buffer position of the marker's start. This will always be less + * than or equal to the result of DisplayMarker::getEndBufferPosition. + */ + getStartBufferPosition(): Point; + + /** Retrieves the buffer position of the marker's end. This will always be greater + * than or equal to the result of DisplayMarker::getStartBufferPosition. + */ + getEndBufferPosition(): Point; + + /** Returns a boolean indicating whether the marker has a tail. */ + hasTail(): boolean; + + /** Plants the marker's tail at the current head position. After calling the + * marker's tail position will be its head position at the time of the call, + * regardless of where the marker's head is moved. + */ + plantTail(): void; + + /** Removes the marker's tail. After calling the marker's head position will be + * reported as its current tail position until the tail is planted again. + */ + clearTail(): void; + } + + /** Experimental: A container for a related set of markers at the DisplayLayer level. + * Wraps an underlying MarkerLayer on the TextBuffer. + * + * This API is experimental and subject to change on any release. + */ + interface DisplayMarkerLayer { + // Lifecycle + /** Destroy this layer. */ + destroy(): void; + + /** Destroy all markers in this layer. */ + clear(): void; + + /** Determine whether this layer has been destroyed. */ + isDestroyed(): boolean; + + // Event Subscription + /** Subscribe to be notified synchronously when this layer is destroyed. */ + onDidDestroy(callback: () => void): EventKit.Disposable; + + /** Subscribe to be notified asynchronously whenever markers are created, updated, + * or destroyed on this layer. Prefer this method for optimal performance when + * interacting with layers that could contain large numbers of markers. + */ + onDidUpdate(callback: () => void): EventKit.Disposable; + + /** Subscribe to be notified synchronously whenever markers are created on this + * layer. Avoid this method for optimal performance when interacting with layers + * that could contain large numbers of markers. + */ + onDidCreateMarker(callback: (marker: DisplayMarker|Marker) => void): EventKit.Disposable; + + // Marker creation + /** Create a marker with the given screen range. */ + markScreenRange(range: RangeLike|[PointLike, PointLike]|[PointLike, [number, number]]| + [[number, number], PointLike]|[[number, number], [number, number]], options?: + { reversed?: boolean, invalidate?: "never"|"surround"|"overlap"|"inside"|"touch", + exclusive?: boolean, clipDirection?: "backward"|"forward"|"closest" }): DisplayMarker; + + /** Create a marker on this layer with its head at the given screen position + * and no tail. + */ + markScreenPosition(screenPosition: PointLike|[number, number], options?: { + invalidate?: "never"|"surround"|"overlap"|"inside"|"touch", exclusive?: boolean, + clipDirection?: "backward"|"forward"|"closest" }): DisplayMarker; + + /** Create a marker with the given buffer range. */ + markBufferRange(range: RangeLike|[PointLike, PointLike]|[PointLike, [number, number]]| + [[number, number], PointLike]|[[number, number], [number, number]], options?: { + reversed?: boolean, invalidate?: "never"|"surround"|"overlap"|"inside"|"touch", + exclusive?: boolean }): DisplayMarker; + + /** Create a marker on this layer with its head at the given buffer position and no tail. */ + markBufferPosition(bufferPosition: PointLike|[number, number], options?: { invalidate?: + "never"|"surround"|"overlap"|"inside"|"touch", exclusive?: boolean }): DisplayMarker; + + // Querying + /** Get an existing marker by its id. */ + getMarker(id: number): DisplayMarker; + + /** Get all markers in the layer. */ + getMarkers(): DisplayMarker[]; + + /** Get the number of markers in the marker layer. */ + getMarkerCount(): number; + + /** Find markers in the layer conforming to the given parameters. + * + * This method finds markers based on the given properties. Markers can be associated + * with custom properties that will be compared with basic equality. In addition, + * there are several special properties that will be compared with the range of the + * markers rather than their properties. + */ + findMarkers(properties: Options.FindDisplayMarker): DisplayMarker[]; + } } } -declare module "text-buffer" { - var _: TextBuffer.ITextBufferStatic; - export = _; -} +declare let tb: TextBuffer.Statics.TextBuffer; +export = tb; diff --git a/types/text-buffer/text-buffer-tests.ts b/types/text-buffer/text-buffer-tests.ts index 5b79f711cb..4594ac4c41 100644 --- a/types/text-buffer/text-buffer-tests.ts +++ b/types/text-buffer/text-buffer-tests.ts @@ -1,19 +1,807 @@ +import TextBuffer = require("text-buffer"); +import * as ImportTest from "text-buffer"; +declare let obj: object; +declare let bool: boolean; +declare let num: number; +declare let nums: number[]; +declare let str: string; +declare let strs: string[]; -declare var Point: TextBuffer.IPointStatic; +declare let buffer: TextBuffer.TextBuffer; +declare let displayMarker: TextBuffer.DisplayMarker; +declare let displayMarkers: TextBuffer.DisplayMarker[]; +declare let displayMarkerLayer: TextBuffer.DisplayMarkerLayer; +declare let marker: TextBuffer.Marker; +declare let markers: TextBuffer.Marker[]; +declare let markerLayer: TextBuffer.MarkerLayer; +declare let sub: EventKit.Disposable; -var pointA = new Point(1, 2); -pointA.row; -pointA.column; +// Point ====================================================================== +let point = new TextBuffer.Point(42, 42); +new TextBuffer.Point(); +new TextBuffer.Point(42); -var pointB = Point.fromObject({row: 2, column: 3}); -var pointC = Point.min(pointA, pointB); +// Properties +num = point.row; +num = point.column; -declare var TRange: TextBuffer.IRangeStatic; +// Construction +point = TextBuffer.Point.fromObject({ row: 42, column: 42 }, true); +point = point.copy(); +point = point.negate(); -var rangeA = new TRange(pointA, pointB); +// Comparison +point = TextBuffer.Point.min(point, point); +TextBuffer.Point.min([0, 0], [0, 0]); +TextBuffer.Point.min(point, [0, 0]); +TextBuffer.Point.min([0, 0], point); -declare var TextBufferStatic: TextBuffer.ITextBufferStatic; +num = point.compare(point); +point.compare([0, 0]); -var textBuffer = new TextBufferStatic("Hello, world!"); -textBuffer.getLineCount(); +bool = point.isEqual(point); +point.isEqual([0, 0]); + +bool = point.isLessThan(point); +point.isLessThan([0, 0]); + +bool = point.isLessThanOrEqual(point); +point.isLessThanOrEqual([0, 0]); + +bool = point.isGreaterThan(point); +point.isGreaterThan([0, 0]); + +bool = point.isGreaterThanOrEqual(point); +point.isGreaterThanOrEqual([0, 0]); + +// Operations +const frozenPoint: Readonly = point.freeze(); + +point = point.translate(point); +point.translate([0, 0]); + +point = point.traverse(point); +point.traverse([0, 0]); + +// Conversion +point.toArray(); +point.serialize(); +str = point.toString(); + +// Range ====================================================================== +let range = new TextBuffer.Range(point, point); +new TextBuffer.Range([0, 0], [0, 0]); +new TextBuffer.Range(point, [0, 0]); +new TextBuffer.Range([0, 0], point); + +// Properties +range.start; +range.end; + +// Construction +range = TextBuffer.Range.fromObject({ start: point, end: point}, true); +TextBuffer.Range.fromObject([point, point]); +TextBuffer.Range.fromObject([[0, 0], [0, 0]]); +TextBuffer.Range.fromObject([point, [0, 0]]); +TextBuffer.Range.fromObject([[0, 0], point]); + +range = range.copy(); +range = range.negate(); + +// Serialization and Deserialization +range = TextBuffer.Range.deserialize({}); +range.serialize(); + +// TextBuffer.Range Details +bool = range.isEmpty(); +bool = range.isSingleLine(); +num = range.getRowCount(); +nums = range.getRows(); + +// Operations +const frozenRange: Readonly = range.freeze(); +range = range.union(range); + +range = range.translate(point); +range.translate([0, 0]); +range.translate(point, point); +range.translate([0, 0], point); +range.translate(point, [0, 0]); +range.translate([0, 0], [0, 0]); + +range = range.traverse(point); +range.traverse([0, 0]); + +// Comparison +num = range.compare(range); +range.compare([point, point]); +range.compare([point, [0, 0]]); +range.compare([[0, 0], point]); +range.compare([[0, 0], [0, 0]]); + +bool = range.isEqual(range); +range.isEqual([point, point]); +range.isEqual([point, [0, 0]]); +range.isEqual([[0, 0], point]); +range.isEqual([[0, 0], [0, 0]]); + +bool = range.coversSameRows(range); + +bool = range.intersectsWith(range); +range.intersectsWith(range, true); + +bool = range.containsRange(range); +range.containsRange([point, point]); +range.containsRange([point, [0, 0]]); +range.containsRange([[0, 0], point]); +range.containsRange([[0, 0], [0, 0]]); +range.containsRange(range, true); +range.containsRange([point, point], false); +range.containsRange([point, [0, 0]], false); +range.containsRange([[0, 0], point], false); +range.containsRange([[0, 0], [0, 0]], false); + +bool = range.containsPoint(point); +range.containsPoint([0, 0]); +range.containsPoint(point, true); +range.containsPoint([0, 0], false); + +bool = range.intersectsRow(42); +bool = range.intersectsRowRange(42, 42); + +// Conversion +str = range.toString(); + +// TextBuffer ================================================================= +const shouldDestroyOnFileDelete = () => false; + +buffer = new TextBuffer("test"); +new TextBuffer(); +new TextBuffer({ text: "Test" }); +new TextBuffer({ shouldDestroyOnFileDelete }); +new TextBuffer({ text: "Test", shouldDestroyOnFileDelete }); + +async function bufferLoadFile() { + buffer = await TextBuffer.load("Test.file"); + buffer = await TextBuffer.load("Test.file", { encoding: "utf8" }); + buffer = await TextBuffer.load("Test.file", { shouldDestroyOnFileDelete }); + buffer = await TextBuffer.load("Test.file", { encoding: "utf8", shouldDestroyOnFileDelete }); +} + +buffer = TextBuffer.loadSync("Test.file"); +TextBuffer.loadSync("Test.file", { encoding: "utf8" }); +TextBuffer.loadSync("Test.file", { shouldDestroyOnFileDelete }); +TextBuffer.loadSync("Test.file", { encoding: "uft8", shouldDestroyOnFileDelete }); + +async function deserializeBuffer() { + buffer = await TextBuffer.deserialize({}); +} + +// Event Subscription +sub = buffer.onWillChange(() => void {}); +sub = buffer.onDidChange(() => void {}); +sub = buffer.onDidChangeText(() => void {}); + +sub = buffer.onDidStopChanging((event): void => { + for (const change of event.changes) { + change.newExtent; + } +}); + +sub = buffer.onDidConflict(() => void {}); +sub = buffer.onDidChangeModified(() => void {}); +sub = buffer.onDidUpdateMarkers(() => void {}); +sub = buffer.onDidCreateMarker(() => void {}); + +sub = buffer.onDidChangePath((path): void => { + str = path; +}); + +sub = buffer.onDidChangeEncoding(() => void {}); +sub = buffer.onWillSave(() => void {}); +sub = buffer.onDidSave(() => void {}); +sub = buffer.onDidDelete(() => void {}); +sub = buffer.onWillReload(() => void {}); +sub = buffer.onDidReload(() => void {}); +sub = buffer.onDidDestroy(() => void {}); +sub = buffer.onWillThrowWatchError(() => void {}); + +const stoppedChangingDelay = buffer.getStoppedChangingDelay(); + +// File Details +bool = buffer.isModified(); +bool = buffer.isInConflict(); + +const path = buffer.getPath(); +if (path) { + str = path.substr(0, 42); +} + +buffer.setPath("Test.file"); +buffer.setEncoding("utf8"); +str = buffer.getEncoding(); +str = buffer.getUri(); + +// Reading Text +bool = buffer.isEmpty(); +str = buffer.getText(); + +str = buffer.getTextInRange(range); +str = buffer.getTextInRange([point, point]); +str = buffer.getTextInRange([[0, 0], [0, 0]]); +str = buffer.getTextInRange([point, [0, 0]]); +str = buffer.getTextInRange([[0, 0], point]); + +strs = buffer.getLines(); +str = buffer.getLastLine(); + +const rowText = buffer.lineForRow(42); +if (rowText) { + str = rowText; +} + +const lineEnding = buffer.lineEndingForRow(42); +if (lineEnding) { + str = lineEnding; +} + +num = buffer.lineLengthForRow(42); +bool = buffer.isRowBlank(42); + +const prevRow = buffer.previousNonBlankRow(42); +if (prevRow) { + num = prevRow; +} + +const nextRow = buffer.nextNonBlankRow(42); +if (nextRow) { + num = nextRow; +} + +// Mutating Text +range = buffer.setText("Test"); +buffer.setTextViaDiff("Test"); + +range = buffer.setTextInRange(range, "Test"); +range = buffer.setTextInRange([point, point], "Test"); +range = buffer.setTextInRange([[0, 0], [0, 0]], "Test"); +range = buffer.setTextInRange([point, [0, 0]], "Test"); +range = buffer.setTextInRange([[0, 0], point], "Test"); +range = buffer.setTextInRange(range, "Test", { normalizeLineEndings: true }); +range = buffer.setTextInRange(range, "Test", { undo: "skip" }); +range = buffer.setTextInRange(range, "Test", { normalizeLineEndings: true, undo: "skip" }); +range = buffer.setTextInRange([[0, 0], [0, 0]], "Test", { undo: "skip" }); + +range = buffer.insert(point, "Test"); +buffer.insert([0, 0], "Test"); +buffer.insert(point, "Test", { normalizeLineEndings: true }); +buffer.insert(point, "Test", { undo: "skip" }); +buffer.insert(point, "Test", { normalizeLineEndings: true, undo: "skip" }); +buffer.insert([0, 0], "Test", { undo: "skip" }); + +range = buffer.append("Test"); +buffer.append("Test", { normalizeLineEndings: true }); +buffer.append("Test", { undo: "skip" }); +buffer.append("Test", { normalizeLineEndings: true, undo: "skip" }); + +range = buffer.delete(range); +buffer.delete([point, point]); +buffer.delete([[0, 0], [0, 0]]); +buffer.delete([point, [0, 0]]); +buffer.delete([[0, 0], point]); + +range = buffer.deleteRow(42); +range = buffer.deleteRows(42, 42); + +// Markers +markerLayer = buffer.addMarkerLayer(); +buffer.addMarkerLayer({ maintainHistory: true }); +buffer.addMarkerLayer({ persistent: true }); +buffer.addMarkerLayer({ maintainHistory: true, persistent: true }); + +const testMarkerLayer = buffer.getMarkerLayer("Test"); +if (testMarkerLayer) { + markerLayer = testMarkerLayer; +} + +markerLayer = buffer.getDefaultMarkerLayer(); + +marker = buffer.markRange(range); +buffer.markRange([point, point]); +buffer.markRange([[0, 0], [0, 0]]); +buffer.markRange([point, [0, 0]]); +buffer.markRange([[0, 0], point]); +buffer.markRange(range, { exclusive: true}); +buffer.markRange(range, { invalidate: "surround" }); +buffer.markRange(range, { reversed: true }); +buffer.markRange(range, { exclusive: true, invalidate: "surround", reversed: true }); +buffer.markRange([point, point], { exclusive: true }); + +marker = buffer.markPosition(point); +buffer.markPosition([0, 0]); +buffer.markPosition(point, { exclusive: true }); +buffer.markPosition(point, { invalidate: "never" }); +buffer.markPosition(point, { exclusive: true, invalidate: "surround" }); +buffer.markPosition([0, 0], { exclusive: true }); + +markers = buffer.getMarkers(); +marker = buffer.getMarker(42); + +markers = buffer.findMarkers({ + startPosition: point, + endPosition: point, + startsInRange: range, + endsInRange: range, + containsPoint: point, + containsRange: range, + startRow: num, + endRow: num, + intersectsRow: num, +}); +markers = buffer.findMarkers({ startsInRange: [point, point] }); +markers = buffer.findMarkers({ startsInRange: [point, [0, 0]] }); +markers = buffer.findMarkers({ startsInRange: [[0, 0], point] }); +markers = buffer.findMarkers({ startsInRange: [[0, 0], [0, 0]] }); + +num = buffer.getMarkerCount(); + +// History +bool = buffer.undo(); +bool = buffer.redo(); + +num = buffer.transact(500, (): number => 42); + +buffer.clearUndoStack(); +num = buffer.createCheckpoint(); +bool = buffer.revertToCheckpoint(42); +bool = buffer.groupChangesSinceCheckpoint(42); +buffer.getChangesSinceCheckpoint(42); + +// Search And Replace +buffer.scan(/r^Test/, (): void => {}); +buffer.scan(/r^Test/, (params) => { + num = params.match.index; + str = params.matchText; + range = params.range; + params.replace("Test"); + params.stop(); +}); +buffer.scan(/r^Test/, { + leadingContextLineCount: 5, + trailingContextLineCount: 5, +}, (params) => { + strs = params.leadingContextLines; + strs = params.trailingContextLines; +}); + +buffer.backwardsScan(/r^Test/, (): void => {}); +buffer.backwardsScan(/r^Test/, (params) => { + num = params.match.index; + str = params.matchText; + range = params.range; + params.replace("Test"); + params.stop(); +}); +buffer.backwardsScan(/r^Test/, { + leadingContextLineCount: 5, + trailingContextLineCount: 5, +}, (params) => { + strs = params.leadingContextLines; + strs = params.trailingContextLines; +}); + +buffer.scanInRange(/r^Test/, range, (): void => {}); +buffer.scanInRange(/r^Test/, range, (params) => { + num = params.match.index; + str = params.matchText; + range = params.range; + params.replace("Test"); + params.stop(); +}); +buffer.scanInRange(/r^Test/, range, { + leadingContextLineCount: 5, + trailingContextLineCount: 5, +}, (params) => { + strs = params.leadingContextLines; + strs = params.trailingContextLines; +}); +buffer.scanInRange(/r^Test/, [point, point], (): void => {}); +buffer.scanInRange(/r^Test/, [[0, 0], [0, 0]], (): void => {}); +buffer.scanInRange(/r^Test/, [point, [0, 0]], (): void => {}); +buffer.scanInRange(/r^Test/, [[0, 0], point], (): void => {}); +buffer.scanInRange(/r^Test/, [[0, 0], [0, 0]], { trailingContextLineCount: 42 }, + (): void => {}); + +buffer.backwardsScanInRange(/r^Test/, range, (): void => {}); +buffer.backwardsScanInRange(/r^Test/, range, (params) => { + num = params.match.index; + str = params.matchText; + range = params.range; + params.replace("Test"); + params.stop(); +}); +buffer.backwardsScanInRange(/r^Test/, range, { + leadingContextLineCount: 5, + trailingContextLineCount: 5, +}, (params) => { + strs = params.leadingContextLines; + strs = params.trailingContextLines; +}); +buffer.backwardsScanInRange(/r^Test/, [point, point], (): void => {}); +buffer.backwardsScanInRange(/r^Test/, [[0, 0], [0, 0]], (): void => {}); +buffer.backwardsScanInRange(/r^Test/, [point, [0, 0]], (): void => {}); +buffer.backwardsScanInRange(/r^Test/, [[0, 0], point], (): void => {}); +buffer.backwardsScanInRange(/r^Test/, [[0, 0], [0, 0]], { trailingContextLineCount: 42 }, + (): void => {}); + +num = buffer.replace(/r^Test/, "Test"); + +// Buffer TextBuffer.Range Details +range = buffer.getRange(); +num = buffer.getLineCount(); +num = buffer.getLastRow(); +point = buffer.getFirstPosition(); +point = buffer.getEndPosition(); +num = buffer.getMaxCharacterIndex(); +range = buffer.rangeForRow(42, true); +num = buffer.characterIndexForPosition(point); +point = buffer.positionForCharacterIndex(42); + +range = buffer.clipRange(range); +range = buffer.clipRange([point, point]); +range = buffer.clipRange([point, [0, 0]]); +range = buffer.clipRange([[0, 0], point]); +range = buffer.clipRange([[0, 0], [0, 0]]); + +point = buffer.clipPosition(point); +point = buffer.clipPosition([0, 0]); + +// Buffer Operations +async function saveBuffer() { + await buffer.save(); + await buffer.saveAs("Test.file"); +} + +buffer.reload(); + +// Marker ===================================================================== +// Properties +num = marker.id; +bool = marker.tailed; +bool = marker.reversed; +bool = marker.valid; +str = marker.invalidate; + +// Lifecycle +marker = marker.copy({ + tailed: true, + reversed: true, + invalidate: "surround", + exclusive: false, + properties: { custom: "prop" }, +}); + +marker.destroy(); + +// Event Subscription +sub = marker.onDidDestroy(() => {}); + +sub = marker.onDidChange(event => { + event.oldHeadPosition; + event.newHeadPosition; + event.oldTailPosition; + event.newTailPosition; + event.wasValid; + event.isValid; + event.hadTail; + event.hasTail; + event.oldProperties; + event.newProperties; + event.textChanged; +}); + +// Marker Details +range = marker.getRange(); +point = marker.getHeadPosition(); +point = marker.getTailPosition(); +point = marker.getStartPosition(); +point = marker.getEndPosition(); +bool = marker.isReversed(); +bool = marker.hasTail(); +bool = marker.isValid(); +bool = marker.isDestroyed(); +bool = marker.isExclusive(); +str = marker.getInvalidationStrategy(); + +// Mutating Markers +bool = marker.setRange(range); +bool = marker.setRange([point, point]); +bool = marker.setRange([point, [0, 0]]); +bool = marker.setRange([[0, 0], point]); +bool = marker.setRange([[0, 0], [0, 0]]); +bool = marker.setRange([point, point], { exclusive: false }); +bool = marker.setRange(range, { exclusive: true, reversed: false }); + +bool = marker.setHeadPosition(point); +bool = marker.setHeadPosition([0, 0]); + +bool = marker.setTailPosition(point); +bool = marker.setTailPosition([0, 0]); + +bool = marker.clearTail(); +bool = marker.plantTail(); + +// Comparison +bool = marker.isEqual(marker); +num = marker.compare(marker); + +// MarkerLayer ================================================================ +// Lifecycle +markerLayer = markerLayer.copy(); +bool = markerLayer.destroy(); +markerLayer.clear(); +bool = markerLayer.isDestroyed(); + +// Querying +const potentialMarker = markerLayer.getMarker(42); +if (potentialMarker) marker = potentialMarker; + +markers = markerLayer.getMarkers(); +num = markerLayer.getMarkerCount(); + +markers = markerLayer.findMarkers({ + startPosition: point, + endPosition: point, + startsInRange: range, + endsInRange: range, + containsPoint: point, + containsRange: range, + startRow: num, + endRow: num, + intersectsRow: num, +}); +markers = markerLayer.findMarkers({ containsRange: [point, point] }); +markers = markerLayer.findMarkers({ containsRange: [point, [0, 0]] }); +markers = markerLayer.findMarkers({ containsRange: [[0, 0], point] }); +markers = markerLayer.findMarkers({ containsRange: [[0, 0], [0, 0]] }); + +// Marker creation +marker = markerLayer.markRange(range); +marker = markerLayer.markRange([point, point]); +marker = markerLayer.markRange([point, [0, 0]]); +marker = markerLayer.markRange([[0, 0], point]); +marker = markerLayer.markRange([[0, 0], [0, 0]]); +marker = markerLayer.markRange(range, { exclusive: true }); +marker = markerLayer.markRange([point, point], { invalidate: "never" }); +marker = markerLayer.markRange(range, { + exclusive: false, invalidate: "surround", reversed: false, +}); + +marker = markerLayer.markPosition(point); +marker = markerLayer.markPosition([0, 0]); +marker = markerLayer.markPosition(point, { exclusive: false }); +marker = markerLayer.markPosition([0, 0], { invalidate: "inside" }); +marker = markerLayer.markPosition(point, { exclusive: true, invalidate: "surround" }); + +// Event subscription +sub = markerLayer.onDidUpdate(() => {}); +sub = markerLayer.onDidCreateMarker(marker => marker.id); +sub = markerLayer.onDidDestroy(() => {}); + +// DisplayMarker ============================================================== +// Construction and Destruction +displayMarker.destroy(); + +displayMarker = displayMarker.copy(); +displayMarker = displayMarker.copy({}); +displayMarker = displayMarker.copy({ + tailed: true, + reversed: false, + invalidate: "never", + exclusive: false, + properties: { deprecated: "property" }, +}); + +// Event Subscription +sub = displayMarker.onDidChange((event) => { event.hasTail; }); +sub = displayMarker.onDidDestroy(() => {}); + +// TextEditorMarker Details +bool = displayMarker.isValid(); +bool = displayMarker.isDestroyed(); +bool = displayMarker.isReversed(); +bool = displayMarker.isExclusive(); +str = displayMarker.getInvalidationStrategy(); +obj = displayMarker.getProperties(); +displayMarker.setProperties(obj); + +bool = displayMarker.matchesProperties({ + startBufferPosition: point, + endBufferPosition: point, + startScreenPosition: point, + endScreenPosition: point, + startsInBufferRange: range, + endsInBufferRange: range, + startsInScreenRange: range, + endsInScreenRange: range, + startBufferRow: num, + endBufferRow: num, + startScreenRow: num, + endScreenRow: num, + intersectsBufferRowRange: [num, num], + intersectsScreenRowRange: [num, num], + containsBufferRange: range, + containsBufferPosition: point, + containedInBufferRange: range, + containedInScreenRange: range, + intersectsBufferRange: range, + intersectsScreenRange: range, +}); +bool = displayMarker.matchesProperties({ + intersectsBufferRange: [point, point], +}); +bool = displayMarker.matchesProperties({ + intersectsBufferRange: [point, [0, 0]], +}); +bool = displayMarker.matchesProperties({ + intersectsBufferRange: [[0, 0], point], +}); +bool = displayMarker.matchesProperties({ + intersectsBufferRange: [[0, 0], [0, 0]], +}); + +// Comparing to other markers +num = displayMarker.compare(displayMarker); +bool = displayMarker.isEqual(displayMarker); + +// Managing the marker's range +range = displayMarker.getBufferRange(); +range = displayMarker.getScreenRange(); + +displayMarker.setBufferRange(range); +displayMarker.setBufferRange([point, point]); +displayMarker.setBufferRange([point, [0, 0]]); +displayMarker.setBufferRange([[0, 0], point]); +displayMarker.setBufferRange([[0, 0], [0, 0]]); +displayMarker.setBufferRange(range, { reversed: true }); + +displayMarker.setScreenRange(range); +displayMarker.setScreenRange([point, point]); +displayMarker.setScreenRange([point, [0, 0]]); +displayMarker.setScreenRange([[0, 0], point]); +displayMarker.setScreenRange([[0, 0], [0, 0]]); +displayMarker.setScreenRange(range, { reversed: false }); + +point = displayMarker.getStartScreenPosition(); +point = displayMarker.getStartScreenPosition({ clipDirection: "backward" }); + +point = displayMarker.getEndScreenPosition(); +point = displayMarker.getEndScreenPosition({ clipDirection: "forward" }); + +// Extended Methods +point = displayMarker.getHeadBufferPosition(); +displayMarker.setHeadBufferPosition(point); + +displayMarker.getHeadScreenPosition(); +displayMarker.getHeadScreenPosition({ clipDirection: "closest" }); + +displayMarker.setHeadScreenPosition(point); +displayMarker.setHeadScreenPosition([0, 0]); +displayMarker.setHeadScreenPosition(point, { clipDirection: "backward" }); + +point = displayMarker.getTailBufferPosition(); + +displayMarker.setTailBufferPosition(point); +displayMarker.setTailBufferPosition([0, 0]); + +point = displayMarker.getTailScreenPosition(); +point = displayMarker.getTailScreenPosition({ clipDirection: "forward" }); + +displayMarker.setTailScreenPosition(point); +displayMarker.setTailScreenPosition([0, 0]); +displayMarker.setTailScreenPosition(point, { clipDirection: "closest" }); + +point = displayMarker.getStartBufferPosition(); +point = displayMarker.getEndBufferPosition(); +bool = displayMarker.hasTail(); +displayMarker.plantTail(); +displayMarker.clearTail(); + +// DisplayMarkerLayer ========================================================= +// Lifecycle +displayMarkerLayer.destroy(); +displayMarkerLayer.clear(); +bool = displayMarkerLayer.isDestroyed(); + +// Event Subscription +sub = displayMarkerLayer.onDidDestroy(() => {}); +sub = displayMarkerLayer.onDidUpdate(() => {}); +sub = displayMarkerLayer.onDidCreateMarker((marker) => { marker.isReversed(); }); + +// Marker creation +displayMarker = displayMarkerLayer.markScreenRange(range); +displayMarker = displayMarkerLayer.markScreenRange(range, {}); +displayMarker = displayMarkerLayer.markScreenRange(range, { clipDirection: "forward" }); +displayMarker = displayMarkerLayer.markScreenRange(range, { exclusive: true }); +displayMarker = displayMarkerLayer.markScreenRange(range, { invalidate: "never" }); +displayMarker = displayMarkerLayer.markScreenRange(range, { reversed: true }); +displayMarker = displayMarkerLayer.markScreenRange(range, { clipDirection: "backward", + exclusive: false, invalidate: "overlap", reversed: false }); +displayMarker = displayMarkerLayer.markScreenRange([point, point]); +displayMarker = displayMarkerLayer.markScreenRange([point, [0, 0]]); +displayMarker = displayMarkerLayer.markScreenRange([[0, 0], point]); +displayMarker = displayMarkerLayer.markScreenRange([[0, 0], [0, 0]]); +displayMarker = displayMarkerLayer.markScreenRange([[0, 0], point], { reversed: true }); + +displayMarker = displayMarkerLayer.markScreenPosition(point); +displayMarker = displayMarkerLayer.markScreenPosition(point, {}); +displayMarker = displayMarkerLayer.markScreenPosition(point, { clipDirection: "forward" }); +displayMarker = displayMarkerLayer.markScreenPosition(point, { exclusive: true }); +displayMarker = displayMarkerLayer.markScreenPosition(point, { invalidate: "never" }); +displayMarker = displayMarkerLayer.markScreenPosition(point, { clipDirection: "backward", + exclusive: false, invalidate: "overlap" }); +displayMarker = displayMarkerLayer.markScreenPosition([0, 0]); +displayMarker = displayMarkerLayer.markScreenPosition([0, 0], { exclusive: false }); + +displayMarker = displayMarkerLayer.markBufferRange(range); +displayMarker = displayMarkerLayer.markBufferRange(range, {}); +displayMarker = displayMarkerLayer.markBufferRange(range, { invalidate: "inside" }); +displayMarker = displayMarkerLayer.markBufferRange(range, { exclusive: true }); +displayMarker = displayMarkerLayer.markBufferRange(range, { reversed: true }); +displayMarker = displayMarkerLayer.markBufferRange(range, { exclusive: false, + invalidate: "overlap", reversed: false }); +displayMarker = displayMarkerLayer.markBufferRange([point, point]); +displayMarker = displayMarkerLayer.markBufferRange([point, [0, 0]]); +displayMarker = displayMarkerLayer.markBufferRange([[0, 0], point]); +displayMarker = displayMarkerLayer.markBufferRange([[0, 0], [0, 0]]); +displayMarker = displayMarkerLayer.markBufferRange([[0, 0], point], { reversed: true }); + +displayMarker = displayMarkerLayer.markBufferPosition(point); +displayMarker = displayMarkerLayer.markBufferPosition(point, {}); +displayMarker = displayMarkerLayer.markBufferPosition(point, { exclusive: true }); +displayMarker = displayMarkerLayer.markBufferPosition(point, { invalidate: "never" }); +displayMarker = displayMarkerLayer.markBufferPosition(point, { exclusive: false, + invalidate: "overlap" }); +displayMarker = displayMarkerLayer.markBufferPosition([0, 0]); +displayMarker = displayMarkerLayer.markBufferPosition([0, 0], { exclusive: false }); + +// Querying +displayMarker = displayMarkerLayer.getMarker(42); +displayMarkers = displayMarkerLayer.getMarkers(); +num = displayMarkerLayer.getMarkerCount(); + +displayMarkers = displayMarkerLayer.findMarkers({ + startBufferPosition: point, + endBufferPosition: point, + startScreenPosition: point, + endScreenPosition: point, + startsInBufferRange: range, + endsInBufferRange: range, + startsInScreenRange: range, + endsInScreenRange: range, + startBufferRow: num, + endBufferRow: num, + startScreenRow: num, + endScreenRow: num, + intersectsBufferRowRange: [num, num], + intersectsScreenRowRange: [num, num], + containsBufferRange: range, + containsBufferPosition: point, + containedInBufferRange: range, + containedInScreenRange: range, + intersectsBufferRange: range, + intersectsScreenRange: range, +}); +displayMarkers = displayMarkerLayer.findMarkers({ + intersectsScreenRange: [point, point], +}); +displayMarkers = displayMarkerLayer.findMarkers({ + intersectsScreenRange: [point, [0, 0]], +}); +displayMarkers = displayMarkerLayer.findMarkers({ + intersectsScreenRange: [[0, 0], point], +}); +displayMarkers = displayMarkerLayer.findMarkers({ + intersectsScreenRange: [[0, 0], [0, 0]], +}); diff --git a/types/text-buffer/tsconfig.json b/types/text-buffer/tsconfig.json index ebee922349..cdb73c99ce 100644 --- a/types/text-buffer/tsconfig.json +++ b/types/text-buffer/tsconfig.json @@ -7,14 +7,11 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "baseUrl": "../", "typeRoots": [ "../" ], - "paths": { - "q": [ "q/v0" ] - }, "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true @@ -23,4 +20,4 @@ "index.d.ts", "text-buffer-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/text-buffer/tslint.json b/types/text-buffer/tslint.json new file mode 100644 index 0000000000..cd8f17056a --- /dev/null +++ b/types/text-buffer/tslint.json @@ -0,0 +1,38 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + // Custom rules. + "class-name": true, + "indent": [true, "tabs"], + "jsdoc-format": true, + "linebreak-style": [true, "LF"], + "max-line-length": [true, 100], + "quotemark": [true, "double", "avoid-escape"], + "trailing-comma": [true, { + "multiline": { "objects": "always", "arrays": "always", "functions": "never" }, + "singleline": { "objects": "never", "arrays": "never", "functions": "never" } + }], + "whitespace": [ + true, + "check-branch", + "check-decl", + "check-operator", + "check-module", + "check-separator", + "check-type", + "check-typecast", + "check-rest-spread", + "check-preblock" + ], + // Soon to be defaults. + "arrow-return-shorthand": [true, "multiline"], + "no-any": true, + "no-floating-promises": true, + "no-unbound-method": true, + "no-unsafe-any": true, + "number-literal-format": true, + "restrict-plus-operands": true, + "return-undefined": true, + "switch-final-break": true + } +} diff --git a/types/text-buffer/v0/index.d.ts b/types/text-buffer/v0/index.d.ts new file mode 100644 index 0000000000..6d171e622c --- /dev/null +++ b/types/text-buffer/v0/index.d.ts @@ -0,0 +1,301 @@ +// Type definitions for text-buffer +// Project: https://github.com/atom/text-buffer +// Definitions by: vvakame +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +/// + +declare namespace TextBuffer { + + interface IPointStatic { + new (row?:number, column?:number):IPoint; + + fromObject(point:IPoint, copy?:boolean):IPoint; + fromObject(object:number[]):IPoint; + fromObject(object:{row:number; column:number;}):IPoint; + + min(point1:IPoint, point2:IPoint):IPoint; + min(point1:number[], point2:IPoint):IPoint; + min(point1:{row:number; column:number;}, point2:IPoint):IPoint; + + min(point1:IPoint, point2:number[]):IPoint; + min(point1:number[], point2:number[]):IPoint; + min(point1:{row:number; column:number;}, point2:number[]):IPoint; + + min(point1:IPoint, point2:{row:number; column:number;}):IPoint; + min(point1:number[], point2:{row:number; column:number;}):IPoint; + min(point1:{row:number; column:number;}, point2:{row:number; column:number;}):IPoint; + } + + interface IPoint { + constructor: IPointStatic; + + row:number; + column:number; + + copy():IPoint; + freeze():IPoint; + + translate(delta:IPoint):IPoint; + translate(delta:number[]):IPoint; + translate(delta:{row:number; column:number;}):IPoint; + + add(other:IPoint):IPoint; + add(other:number[]):IPoint; + add(other:{row:number; column:number;}):IPoint; + + splitAt(column:number):IPoint[]; + compare(other:IPoint):number; + isEqual(other:IPoint):boolean; + isLessThan(other:IPoint):boolean; + isLessThanOrEqual(other:IPoint):boolean; + isGreaterThan(other:IPoint):boolean; + isGreaterThanOrEqual(other:IPoint):boolean; + toArray():number[]; + serialize():number[]; + } + + interface IRangeStatic { + deserialize(array:IPoint[]):IRange; + + fromObject(object:IPoint[]):IRange; + + fromObject(object:IRange, copy?:boolean):IRange; + + fromObject(object:{start: IPoint; end: IPoint}):IRange; + fromObject(object:{start: number[]; end: IPoint}):IRange; + fromObject(object:{start: {row:number; column:number;}; end: IPoint}):IRange; + + fromObject(object:{start: IPoint; end: number[]}):IRange; + fromObject(object:{start: number[]; end: number[]}):IRange; + fromObject(object:{start: {row:number; column:number;}; end: number[]}):IRange; + + fromObject(object:{start: IPoint; end: {row:number; column:number;}}):IRange; + fromObject(object:{start: number[]; end: {row:number; column:number;}}):IRange; + fromObject(object:{start: {row:number; column:number;}; end: {row:number; column:number;}}):IRange; + + fromText(point:IPoint, text:string):IRange; + fromText(point:number[], text:string):IRange; + fromText(point:{row:number; column:number;}, text:string):IRange; + fromText(text:string):IRange; + + fromPointWithDelta(startPoint:IPoint, rowDelta:number, columnDelta:number):IRange; + fromPointWithDelta(startPoint:number[], rowDelta:number, columnDelta:number):IRange; + fromPointWithDelta(startPoint:{row:number; column:number;}, rowDelta:number, columnDelta:number):IRange; + + new(point1:IPoint, point2:IPoint):IRange; + new(point1:number[], point2:IPoint):IRange; + new(point1:{row:number; column:number;}, point2:IPoint):IRange; + + new(point1:IPoint, point2:number[]):IRange; + new(point1:number[], point2:number[]):IRange; + new(point1:{row:number; column:number;}, point2:number[]):IRange; + + new(point1:IPoint, point2:{row:number; column:number;}):IRange; + new(point1:number[], point2:{row:number; column:number;}):IRange; + new(point1:{row:number; column:number;}, point2:{row:number; column:number;}):IRange; + } + + interface IRange { + constructor:IRangeStatic; + + start: IPoint; + end: IPoint; + + serialize():number[][]; + copy():IRange; + freeze():IRange; + isEqual(other:IRange):boolean; + isEqual(other:IPoint[]):boolean; + + compare(object:IPoint[]):number; + + compare(object:{start: IPoint; end: IPoint}):number; + compare(object:{start: number[]; end: IPoint}):number; + compare(object:{start: {row:number; column:number;}; end: IPoint}):number; + + compare(object:{start: IPoint; end: number[]}):number; + compare(object:{start: number[]; end: number[]}):number; + compare(object:{start: {row:number; column:number;}; end: number[]}):number; + + compare(object:{start: IPoint; end: {row:number; column:number;}}):number; + compare(object:{start: number[]; end: {row:number; column:number;}}):number; + compare(object:{start: {row:number; column:number;}; end: {row:number; column:number;}}):number; + + isSingleLine():boolean; + coversSameRows(other:IRange):boolean; + + add(object:IPoint[]):IRange; + + add(object:{start: IPoint; end: IPoint}):IRange; + add(object:{start: number[]; end: IPoint}):IRange; + add(object:{start: {row:number; column:number;}; end: IPoint}):IRange; + + add(object:{start: IPoint; end: number[]}):IRange; + add(object:{start: number[]; end: number[]}):IRange; + add(object:{start: {row:number; column:number;}; end: number[]}):IRange; + + add(object:{start: IPoint; end: {row:number; column:number;}}):IRange; + add(object:{start: number[]; end: {row:number; column:number;}}):IRange; + add(object:{start: {row:number; column:number;}; end: {row:number; column:number;}}):IRange; + + translate(startPoint:IPoint, endPoint:IPoint):IRange; + translate(startPoint:IPoint):IRange; + + intersectsWith(otherRange:IRange):boolean; + containsRange(otherRange:IRange, exclusive:boolean):boolean; + + containsPoint(point:IPoint, exclusive:boolean):boolean; + containsPoint(point:number[], exclusive:boolean):boolean; + containsPoint(point:{row:number; column:number;}, exclusive:boolean):boolean; + + intersectsRow(row:number):boolean; + intersectsRowRange(startRow:number, endRow:number):boolean; + union(otherRange:IRange):IRange; + isEmpty():boolean; + toDelta():IPoint; + getRowCount():number; + getRows():number[]; + } + + interface IHistory { + // TBD + } + + interface IMarkerManager { + // TBD + } + + interface IMarker { + // TBD + } + + interface IBufferPatch { + // TBD + } + + interface ITextBufferStatic { + Point: IPointStatic; + Range: IRangeStatic; + newlineRegex:any; + + new (text:string): ITextBuffer; + new (params:any): ITextBuffer; + } + + interface ITextBuffer extends Emissary.IEmitter, Emissary.ISubscriber { + // Delegator.includeInto(TextBuffer); + // Serializable.includeInto(TextBuffer); + + cachedText:string; + stoppedChangingDelay:number; + stoppedChangingTimeout:any; + cachedDiskContents:string; + conflict:boolean; + file:any; // pathwatcher.IFile + refcount:number; + + lines:string[]; + lineEndings:string[]; + offsetIndex:any; // span-skip-list.SpanSkipList + history:IHistory; + markers:IMarkerManager; + loaded:boolean; + digestWhenLastPersisted:string; + modifiedWhenLastPersisted:boolean; + useSerializedText:boolean; + + deserializeParams(params:any):any; + serializeParams():any; + + getText():string; + getLines():string; + isEmpty():boolean; + getLineCount():number; + getLastRow():number; + lineForRow(row:number):string; + getLastLine():string; + lineEndingForRow(row:number):string; + lineLengthForRow(row:number):number; + setText(text:string):IRange; + setTextViaDiff(text:any):any[]; + setTextInRange(range:IRange, text:string, normalizeLineEndings?:boolean):IRange; + insert(position:IPoint, text:string, normalizeLineEndings?:boolean):IRange; + append(text:string, normalizeLineEndings?:boolean):IRange; + delete(range:IRange):IRange; + deleteRow(row:number):IRange; + deleteRows(startRow:number, endRow:number):IRange; + buildPatch(oldRange:IRange, newText:string, normalizeLineEndings?:boolean):IBufferPatch; + applyPatch(patch:IBufferPatch):any; + getTextInRange(range:IRange):string; + clipRange(range:IRange):IRange; + clipPosition(position:IPoint):IPoint; + getFirstPosition():IPoint; + getEndPosition():IPoint; + getRange():IRange; + rangeForRow(row:number, includeNewline?:boolean):IRange; + characterIndexForPosition(position:IPoint):number; + positionForCharacterIndex(offset:number):IPoint; + getMaxCharacterIndex():number; + loadSync():ITextBuffer; + load():Promise; + finishLoading():ITextBuffer; + handleTextChange(event:any):any; + destroy():any; + isAlive():boolean; + isDestroyed():boolean; + isRetained():boolean; + retain():ITextBuffer; + release():ITextBuffer; + subscribeToFile():any; + hasMultipleEditors():boolean; + reload():any; + updateCachedDiskContentsSync():string; + updateCachedDiskContents():Promise; + getBaseName():string; + getPath():string; + getUri():string; + setPath(filePath:string):any; + save():void; + saveAs(filePath:string):any; + isModified():boolean; + isInConflict():boolean; + destroyMarker(id:any):any; + matchesInCharacterRange(regex:any, startIndex:any, endIndex:any):any[]; + scan(regex:any, iterator:any):any; + backwardsScan(regex:any, iterator:any):any; + replace(regex:any, replacementText:any):any; + scanInRange(regex:any, range:any, iterator:any, reverse:any):any; + backwardsScanInRange(regex:any, range:any, iterator:any):any; + isRowBlank(row:number):boolean; + previousNonBlankRow(startRow:number):number; + nextNonBlankRow(startRow:number):number; + usesSoftTabs():boolean; + cancelStoppedChangingTimeout():any; + scheduleModifiedEvents():any; + emitModifiedStatusChanged(modifiedStatus:any):any; + logLines(start:number, end:number):void; + + // delegate to history property + undo():any; + redo():any; + transact(fn:Function):any; + beginTransaction():any; + commitTransaction():any; + abortTransaction():any; + clearUndoStack():any; + + // delegate to markers property + markRange(range:any, properties:any):any; + markPosition(range:any, properties:any):any; + getMarker(id:number):IMarker; + getMarkers():IMarker[]; + getMarkerCount():number; + } +} + +declare module "text-buffer" { + var _: TextBuffer.ITextBufferStatic; + export = _; +} diff --git a/types/text-buffer/v0/text-buffer-tests.ts b/types/text-buffer/v0/text-buffer-tests.ts new file mode 100644 index 0000000000..5b79f711cb --- /dev/null +++ b/types/text-buffer/v0/text-buffer-tests.ts @@ -0,0 +1,19 @@ + + +declare var Point: TextBuffer.IPointStatic; + +var pointA = new Point(1, 2); +pointA.row; +pointA.column; + +var pointB = Point.fromObject({row: 2, column: 3}); +var pointC = Point.min(pointA, pointB); + +declare var TRange: TextBuffer.IRangeStatic; + +var rangeA = new TRange(pointA, pointB); + +declare var TextBufferStatic: TextBuffer.ITextBufferStatic; + +var textBuffer = new TextBufferStatic("Hello, world!"); +textBuffer.getLineCount(); diff --git a/types/text-buffer/v0/tsconfig.json b/types/text-buffer/v0/tsconfig.json new file mode 100644 index 0000000000..3acf4b7176 --- /dev/null +++ b/types/text-buffer/v0/tsconfig.json @@ -0,0 +1,26 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "baseUrl": "../../", + "typeRoots": [ + "../../" + ], + "paths": { + "text-buffer": [ "text-buffer/v0" ] + }, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "text-buffer-tests.ts" + ] +} From 9a30fc6a19e09fee6a9536517b0ae0717c33046f Mon Sep 17 00:00:00 2001 From: Kevin Greene <30637378+kevin-greene-ck@users.noreply.github.com> Date: Mon, 2 Oct 2017 10:42:40 -0700 Subject: [PATCH 053/433] [thrift] Update Thrift types for completeness and correctness (#20088) * [thrift] Update Thrift types for completeness and correctness * This adds all of the missing public exports from "thrift" * Correct error in evernote using import * as Thrift from 'thrift'. This should be import { Thrift } from 'thrift'. They were using Thrift.TException which is not exported from the top level of 'thrift'. It is nested in the Thrift namespace. * [thrift] Add WSConnection to Thrift types * [thrift] Loosen types for transport constructors * Transports will create Buffers if their constructors do not receive them. * [thrift] Removing some ugly interface constructors in favor of classes * [thrift] ConnectOptions should take a constructor for transport and protocol * Adding tests for the above --- types/evernote/index.d.ts | 3 +- types/evernote/tsconfig.json | 3 +- types/thrift/index.d.ts | 599 +++++++++++++++++++++++++++++++++-- types/thrift/thrift-tests.ts | 132 +++++++- types/thrift/tsconfig.json | 3 +- 5 files changed, 702 insertions(+), 38 deletions(-) diff --git a/types/evernote/index.d.ts b/types/evernote/index.d.ts index 65765259c3..a6bff784ab 100644 --- a/types/evernote/index.d.ts +++ b/types/evernote/index.d.ts @@ -2,8 +2,9 @@ // Project: https://www.npmjs.com/package/evernote // Definitions by: Zachary Collins // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 -import * as Thrift from 'thrift'; +import { Thrift } from 'thrift'; declare namespace Evernote { interface Callback { diff --git a/types/evernote/tsconfig.json b/types/evernote/tsconfig.json index ee72e55520..ecf7678a0d 100644 --- a/types/evernote/tsconfig.json +++ b/types/evernote/tsconfig.json @@ -2,7 +2,8 @@ "compilerOptions": { "module": "commonjs", "lib": [ - "es6" + "es6", + "dom" ], "noImplicitAny": true, "noImplicitThis": true, diff --git a/types/thrift/index.d.ts b/types/thrift/index.d.ts index ed3fb13659..f31fdb129e 100644 --- a/types/thrift/index.d.ts +++ b/types/thrift/index.d.ts @@ -1,42 +1,585 @@ // Type definitions for thrift 0.10 // Project: https://www.npmjs.com/package/thrift // Definitions by: Kamek +// Kevin Greene // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 -export as namespace Thrift; +/// -export class TException {} +import * as net from 'net'; +import * as http from 'http'; +import * as tls from 'tls'; -/** - * Protocols and Transports - */ -export class TBufferedTransport {} -export class TXHRTransport {} -export class TJSONProtocol {} -export class TBinaryProtocol {} +// Thrift re-exports node-int64 and Q +import Int64 = require('node-int64'); +export { Int64 as Int64 }; +import Q = require('q'); +export { Q as Q }; -/** - * Server side - */ -export interface ThriftServer { - listen(port: number): any; +export interface TMap { + ktype: Thrift.Type; + vtype: Thrift.Type; + size: number; } -export function createServer(generatedService: any, serviceMethods: any): ThriftServer; - -/** - * Client side - */ -export type ConnexionEvent = 'open' | 'message' | 'close' | 'error'; - -export interface ClientConnectionParams { - transport: TJSONProtocol | TBinaryProtocol; - protocol: TBufferedTransport | TXHRTransport; +export interface TMessage { + fname: string; + mtype: Thrift.MessageType; + rseqid: number; } -export interface ClientConnection { - on(event: ConnexionEvent, callback: (...args: any[]) => void): void; +export interface TField { + fname: string; + ftype: Thrift.Type; + fid: number; } -export function createConnection(host: string, port: number, params: ClientConnectionParams): ClientConnection; -export function createClient(generatedService: any, connection: {}): any; +export interface TList { + etype: Thrift.Type; + size: number; +} + +export interface TSet { + etype: Thrift.Type; + size: number; +} + +export interface TStruct { + fname: string; +} + +export interface TTransport { + commitPosition(): void; + rollbackPosition(): void; + isOpen(): boolean; + open(): boolean; + close(): boolean; + setCurrSeqId(seqId: number): void; + ensureAvailable(len: number): void; + read(len: number): Buffer; + readByte(): number; + readI16(): number; + readI32(): number; + readDouble(): number; + readString(): string; + write(buf: Buffer | string): void; + flush(): void; +} + +export interface TProtocol { + flush(): void; + writeMessageBegin(name: string, type: Thrift.MessageType, seqid: number): void; + writeMessageEnd(): void; + writeStructBegin(name: string): void; + writeStructEnd(): void; + writeFieldBegin(name: string, type: Thrift.Type, id: number): void; + writeFieldEnd(): void; + writeFieldStop(): void; + writeMapBegin(ktype: Thrift.Type, vtype: Thrift.Type, size: number): void; + writeMapEnd(): void; + writeListBegin(etype: Thrift.Type, size: number): void; + writeListEnd(): void; + writeSetBegin(etype: Thrift.Type, size: number): void; + writeSetEnd(): void; + writeBool(bool: boolean): void; + writeByte(b: number): void; + writeI16(i16: number): void; + writeI32(i32: number): void; + writeI64(i64: number | Int64): void; + writeDouble(dbl: number): void; + writeString(arg: string | Buffer): void; + writeBinary(arg: string | Buffer): void; + readMessageBegin(): TMessage; + readMessageEnd(): void; + readStructBegin(): TStruct; + readStructEnd(): void; + readFieldBegin(): TField; + readFieldEnd(): void; + readMapBegin(): TMap; + readMapEnd(): void; + readListBegin(): TList; + readListEnd(): void; + readSetBegin(): TSet; + readSetEnd(): void; + readBool(): boolean; + readByte(): number; + readI16(): number; + readI32(): number; + readI64(): Int64; + readDouble(): number; + readBinary(): Buffer; + readString(): string; + getTransport(): TTransport; + skip(type: Thrift.Type): void; +} + +export interface SeqId2Service { + [seqid: number]: string; +} + +export class Connection extends NodeJS.EventEmitter { + seqId2Service: SeqId2Service; + connection: net.Socket; + ssl: boolean; + options: ConnectOptions; + transport: TTransport; + protocol: TProtocol; + offline_queue: Buffer[]; + connected: boolean; + constructor(stream: net.Socket, options?: ConnectOptions); + end(): void; + destroy(): void; + initialize_retry_vars(): void; + write(data: Buffer): void; + connection_gone(): void; +} + +export class HttpConnection extends NodeJS.EventEmitter { + options: ConnectOptions; + host: string; + port: number; + https: boolean; + transport: TTransport; + protocol: TProtocol; + constructor(host: string, port: number, options?: ConnectOptions); + responseCallback(response: http.IncomingMessage): void; + write(data: Buffer): void; +} + +export class XHRConnection extends NodeJS.EventEmitter { + seqId2Service: SeqId2Service; + options: ConnectOptions; + wpos: number; + rpos: number; + useCORS: boolean; + send_buf: string; + recv_buf: string; + transport: TTransport; + protocol: TProtocol; + headers: http.OutgoingHttpHeaders; + constructor(host: string, port: number, options?: ConnectOptions); + getXmlHttpRequestObject(): XMLHttpRequest; + flush(): void; + setRecvBuffer(buf: string): void; + isOpen(): boolean; + open(): void; + close(): void; + read(len: number): string; + readAll(): string; + write(buf: string): void; + getSendBuffer(): string; +} + +export interface WSOptions { + host: string; + port: number; + path: string; + headers: http.OutgoingHttpHeaders; +} + +export class WSConnection extends NodeJS.EventEmitter { + seqId2Service: SeqId2Service; + options: ConnectOptions; + host: string; + port: number; + secure: boolean; + transport: TTransport; + protocol: TProtocol; + path: string; + send_pending: Buffer[]; + wsOptions: WSOptions; + constructor(host: string, port: number, options?: ConnectOptions); + isOpen(): boolean; + open(): void; + close(): void; + uri(): string; + write(data: Buffer): void; +} + +export class Multiplexer { + createClient(serviceName: string, client: TClientConstructor, connection: Connection): TClient; +} + +export class MultiplexedProcessor { + constructor(stream?: any, options?: any); + process(input: TProtocol, output: TProtocol): void; +} + +export type TTransportCallback = + (msg?: Buffer, seqid?: number) => void; + +export interface ServiceMap { + [uri: string]: ServerOptions; +} + +export interface ServiceOptions { + transport?: TTransportConstructor; + protocol?: TProtocolConstructor; + processor?: { new (handler: THandler): TProcessor }; + handler?: THandler; +} + +export interface ServerOptions extends ServiceOptions { + cors?: string[]; + files?: string; + headers?: http.IncomingHttpHeaders; + services?: ServiceMap; + tls?: tls.TlsOptions; +} + +export interface ConnectOptions { + transport?: TTransportConstructor; + protocol?: TProtocolConstructor; + path?: string; + headers?: http.OutgoingHttpHeaders; + https?: boolean; + debug?: boolean; + max_attempts?: number; + retry_max_delay?: number; + connect_timeout?: number; + timeout?: number; + nodeOptions?: http.ClientRequestArgs; +} + +export interface WSConnectOptions { + transport?: TTransportConstructor; + protocol?: TProtocolConstructor; + path?: string; + headers?: http.OutgoingHttpHeaders; + secure?: boolean; + wsOptions?: WSOptions; +} + +export type TClientConstructor = + { new (output: TTransport, pClass: { new (trans: TTransport): TProtocol }): TClient; } | + { Client: { new (output: TTransport, pClass: { new (trans: TTransport): TProtocol }): TClient; } }; + +export type TProcessorConstructor = + { new (handler: THandler): TProcessor } | + { Processor: { new (handler: THandler): TProcessor }}; + +export interface WebServerOptions { + services: { + [path: string]: { + processor: TProcessorConstructor; + handler: THandler; + } + }; +} + +export function createConnection(host: string | undefined, port: number, options?: ConnectOptions): Connection; +export function createSSLConnection(host: string | undefined, port: number, options?: ConnectOptions): Connection; +export function createHttpConnection(host: string | undefined, port: number, options?: ConnectOptions): HttpConnection; +export function createXHRConnection(host: string | undefined, port: number, options?: ConnectOptions): XHRConnection; +export function createWSConnectin(host: string | undefined, port: number, options?: WSConnectOptions): WSConnection; + +export function createXHRClient( + client: TClientConstructor, + connection: XHRConnection +): TClient; + +export function createHttpClient( + client: TClientConstructor, + connection: HttpConnection +): TClient; + +export function createWSClient( + client: TClientConstructor, + connection: WSConnection +): TClient; + +export function createStdIOClient( + client: TClientConstructor, + connection: Connection +): TClient; + +export function createClient( + client: TClientConstructor, + connection: Connection +): TClient; + +// THandler is going to be a hash of user-defined functions for prcessing RPC calls +export function createServer( + processor: TProcessorConstructor, + handler: THandler, + options?: ServerOptions +): http.Server | tls.Server; + +// tslint:disable-next-line no-unnecessary-generics +export function createWebServer(options: WebServerOptions): http.Server | tls.Server; + +export class TBufferedTransport implements TTransport { + constructor(buffer: Buffer | undefined, callback: TTransportCallback); + static receiver(callback: (trans: TBufferedTransport, seqid: number) => void, seqid: number): (data: Buffer) => void; + commitPosition(): void; + rollbackPosition(): void; + isOpen(): boolean; + open(): boolean; + close(): boolean; + setCurrSeqId(seqId: number): void; + ensureAvailable(len: number): void; + read(len: number): Buffer; + readByte(): number; + readI16(): number; + readI32(): number; + readDouble(): number; + readString(): string; + write(buf: Buffer | string): void; + flush(): void; +} + +export class TFramedTransport implements TTransport { + constructor(buffer: Buffer | undefined, callback: TTransportCallback); + static receiver(callback: (trans: TFramedTransport, seqid: number) => void, seqid: number): (data: Buffer) => void; + commitPosition(): void; + rollbackPosition(): void; + isOpen(): boolean; + open(): boolean; + close(): boolean; + setCurrSeqId(seqId: number): void; + ensureAvailable(len: number): void; + read(len: number): Buffer; + readByte(): number; + readI16(): number; + readI32(): number; + readDouble(): number; + readString(): string; + write(buf: Buffer | string): void; + flush(): void; +} + +export interface TTransportConstructor { + new (buffer: Buffer | undefined, callback: TTransportCallback): TTransport; +} + +export class TBinaryProtocol implements TProtocol { + constructor(trans: TTransport, strictRead?: boolean, strictWrite?: boolean); + flush(): void; + writeMessageBegin(name: string, type: Thrift.MessageType, seqid: number): void; + writeMessageEnd(): void; + writeStructBegin(name: string): void; + writeStructEnd(): void; + writeFieldBegin(name: string, type: Thrift.Type, id: number): void; + writeFieldEnd(): void; + writeFieldStop(): void; + writeMapBegin(ktype: Thrift.Type, vtype: Thrift.Type, size: number): void; + writeMapEnd(): void; + writeListBegin(etype: Thrift.Type, size: number): void; + writeListEnd(): void; + writeSetBegin(etype: Thrift.Type, size: number): void; + writeSetEnd(): void; + writeBool(bool: boolean): void; + writeByte(b: number): void; + writeI16(i16: number): void; + writeI32(i32: number): void; + writeI64(i64: number | Int64): void; + writeDouble(dbl: number): void; + writeString(arg: string | Buffer): void; + writeBinary(arg: string | Buffer): void; + readMessageBegin(): TMessage; + readMessageEnd(): void; + readStructBegin(): TStruct; + readStructEnd(): void; + readFieldBegin(): TField; + readFieldEnd(): void; + readMapBegin(): TMap; + readMapEnd(): void; + readListBegin(): TList; + readListEnd(): void; + readSetBegin(): TSet; + readSetEnd(): void; + readBool(): boolean; + readByte(): number; + readI16(): number; + readI32(): number; + readI64(): Int64; + readDouble(): number; + readBinary(): Buffer; + readString(): string; + getTransport(): TTransport; + skip(type: Thrift.Type): void; +} + +export class TJSONProtocol implements TProtocol { + constructor(trans: TTransport); + flush(): void; + writeMessageBegin(name: string, type: Thrift.MessageType, seqid: number): void; + writeMessageEnd(): void; + writeStructBegin(name: string): void; + writeStructEnd(): void; + writeFieldBegin(name: string, type: Thrift.Type, id: number): void; + writeFieldEnd(): void; + writeFieldStop(): void; + writeMapBegin(ktype: Thrift.Type, vtype: Thrift.Type, size: number): void; + writeMapEnd(): void; + writeListBegin(etype: Thrift.Type, size: number): void; + writeListEnd(): void; + writeSetBegin(etype: Thrift.Type, size: number): void; + writeSetEnd(): void; + writeBool(bool: boolean): void; + writeByte(b: number): void; + writeI16(i16: number): void; + writeI32(i32: number): void; + writeI64(i64: number | Int64): void; + writeDouble(dbl: number): void; + writeString(arg: string | Buffer): void; + writeBinary(arg: string | Buffer): void; + readMessageBegin(): TMessage; + readMessageEnd(): void; + readStructBegin(): TStruct; + readStructEnd(): void; + readFieldBegin(): TField; + readFieldEnd(): void; + readMapBegin(): TMap; + readMapEnd(): void; + readListBegin(): TList; + readListEnd(): void; + readSetBegin(): TSet; + readSetEnd(): void; + readBool(): boolean; + readByte(): number; + readI16(): number; + readI32(): number; + readI64(): Int64; + readDouble(): number; + readBinary(): Buffer; + readString(): string; + getTransport(): TTransport; + skip(type: Thrift.Type): void; +} + +export class TCompactProtocol implements TProtocol { + constructor(trans: TTransport); + flush(): void; + writeMessageBegin(name: string, type: Thrift.MessageType, seqid: number): void; + writeMessageEnd(): void; + writeStructBegin(name: string): void; + writeStructEnd(): void; + writeFieldBegin(name: string, type: Thrift.Type, id: number): void; + writeFieldEnd(): void; + writeFieldStop(): void; + writeMapBegin(ktype: Thrift.Type, vtype: Thrift.Type, size: number): void; + writeMapEnd(): void; + writeListBegin(etype: Thrift.Type, size: number): void; + writeListEnd(): void; + writeSetBegin(etype: Thrift.Type, size: number): void; + writeSetEnd(): void; + writeBool(bool: boolean): void; + writeByte(b: number): void; + writeI16(i16: number): void; + writeI32(i32: number): void; + writeI64(i64: number | Int64): void; + writeDouble(dbl: number): void; + writeString(arg: string | Buffer): void; + writeBinary(arg: string | Buffer): void; + readMessageBegin(): TMessage; + readMessageEnd(): void; + readStructBegin(): TStruct; + readStructEnd(): void; + readFieldBegin(): TField; + readFieldEnd(): void; + readMapBegin(): TMap; + readMapEnd(): void; + readListBegin(): TList; + readListEnd(): void; + readSetBegin(): TSet; + readSetEnd(): void; + readBool(): boolean; + readByte(): number; + readI16(): number; + readI32(): number; + readI64(): Int64; + readDouble(): number; + readBinary(): Buffer; + readString(): string; + getTransport(): TTransport; + skip(type: Thrift.Type): void; +} + +export interface TProtocolConstructor { + new (trans: TTransport, strictRead?: boolean, strictWrite?: boolean): TProtocol; +} + +// thrift.js +export namespace Thrift { + enum Type { + STOP = 0, + VOID = 1, + BOOL = 2, + BYTE = 3, + I08 = 3, + DOUBLE = 4, + I16 = 6, + I32 = 8, + I64 = 10, + STRING = 11, + UTF7 = 11, + STRUCT = 12, + MAP = 13, + SET = 14, + LIST = 15, + UTF8 = 16, + UTF16 = 17 + } + + enum MessageType { + CALL = 1, + REPLY = 2, + EXCEPTION = 3, + ONEWAY = 4 + } + + class TException extends Error { + name: string; + message: string; + + constructor(message: string); + + getMessage(): string; + } + + enum TApplicationExceptionType { + UNKNOWN = 0, + UNKNOWN_METHOD = 1, + INVALID_MESSAGE_TYPE = 2, + WRONG_METHOD_NAME = 3, + BAD_SEQUENCE_ID = 4, + MISSING_RESULT = 5, + INTERNAL_ERROR = 6, + PROTOCOL_ERROR = 7, + INVALID_TRANSFORM = 8, + INVALID_PROTOCOL = 9, + UNSUPPORTED_CLIENT_TYPE = 10 + } + + class TApplicationException extends TException { + message: string; + code: number; + + constructor(type?: TApplicationExceptionType, message?: string); + read(input: TProtocol): void; + write(output: TProtocol): void; + getCode(): number; + } + + enum TProtocolExceptionType { + UNKNOWN = 0, + INVALID_DATA = 1, + NEGATIVE_SIZE = 2, + SIZE_LIMIT = 3, + BAD_VERSION = 4, + NOT_IMPLEMENTED = 5, + DEPTH_LIMIT = 6 + } + + class TProtocolException implements Error { + name: string; + message: string; + type: TProtocolExceptionType; + + constructor(type: TProtocolExceptionType, message: string); + } + + function objectLength(obj: any): number; +} diff --git a/types/thrift/thrift-tests.ts b/types/thrift/thrift-tests.ts index 98d3ab89a2..7e47f2cf6b 100644 --- a/types/thrift/thrift-tests.ts +++ b/types/thrift/thrift-tests.ts @@ -1,10 +1,128 @@ -import * as Thrift from 'thrift'; +import { + createConnection, + createServer, + createClient, + Thrift, + TBinaryProtocol, + TBufferedTransport, + TProtocol, + TTransport, + TTransportCallback, + Int64, + TMessage, + TStruct, + TField, + TSet, + TList, + TMap, +} from 'thrift'; -const fakeGeneratedService: any = {}; -const fakeServiceMethods: any = {}; -const fakeConnectionParams: any = {}; +interface MockServiceHandlers { + ping(): string; +} -Thrift.createServer(fakeGeneratedService, fakeServiceMethods); +class MockProcessor { + constructor() {} +} -const clientConnection = Thrift.createConnection('0.0.0.0', 1234, fakeConnectionParams); -Thrift.createClient(fakeGeneratedService, clientConnection); +class MockClient { + constructor() {} +} + +const mockServiceHandlers: MockServiceHandlers = { + ping(): string { + return 'ok'; + } +}; + +const mockGeneratedService = { + Client: MockClient, + Processor: MockProcessor +}; + +createServer(mockGeneratedService, mockServiceHandlers); + +const clientConnection = createConnection('0.0.0.0', 1234, { + transport: TBufferedTransport, + protocol: TBinaryProtocol +}); +createClient(mockGeneratedService, clientConnection); + +const mockBuffer: Buffer = Buffer.alloc(8); + +const mockCallback: TTransportCallback = (msg: Buffer, seq: number): void => {}; + +const mockTransport: TTransport = new TBufferedTransport(mockBuffer, mockCallback); + +const mockProtocol: TProtocol = new TBinaryProtocol(mockTransport); + +// Test utility types +const len: number = Thrift.objectLength({}); + +// Test transport types +const pI16: number = mockTransport.readI16(); +const pI32: number = mockTransport.readI32(); +const pDouble: number = mockTransport.readDouble(); +const pByte: number = mockTransport.readByte(); +const pString: string = mockTransport.readString(); +const isOpen: boolean = mockTransport.isOpen(); +const open: boolean = mockTransport.open(); +const close: boolean = mockTransport.close(); + +mockTransport.write(mockBuffer); +mockTransport.write('test'); +mockTransport.flush(); +mockTransport.setCurrSeqId(1); +mockTransport.ensureAvailable(10); +mockTransport.commitPosition(); +mockTransport.rollbackPosition(); + +// Test protocol types +mockProtocol.flush(); +mockProtocol.writeMessageBegin('test', Thrift.MessageType.CALL, 1); +mockProtocol.writeMessageEnd(); +mockProtocol.writeStructBegin('test'); +mockProtocol.writeStructEnd(); +mockProtocol.writeFieldBegin('test', Thrift.Type.BOOL, 1); +mockProtocol.writeFieldEnd(); +mockProtocol.writeFieldStop(); +mockProtocol.writeMapBegin(Thrift.Type.STRING, Thrift.Type.I64, 1); +mockProtocol.writeMapEnd(); +mockProtocol.writeListBegin(Thrift.Type.STRING, 10); +mockProtocol.writeListEnd(); +mockProtocol.writeSetBegin(Thrift.Type.I32, 10); +mockProtocol.writeSetEnd(); +mockProtocol.writeBool(true); +mockProtocol.writeByte(1); +mockProtocol.writeI16(16); +mockProtocol.writeI32(32); +mockProtocol.writeI64(64); +mockProtocol.writeI64(new Int64('0xff')); +mockProtocol.writeDouble(42); +mockProtocol.writeString('test'); +mockProtocol.writeString(new Buffer('test')); +mockProtocol.writeBinary('test'); +mockProtocol.writeBinary(new Buffer('test')); + +const message: TMessage = mockProtocol.readMessageBegin(); +mockProtocol.readMessageEnd(); +const struct: TStruct = mockProtocol.readStructBegin(); +mockProtocol.readStructEnd(); +const field: TField = mockProtocol.readFieldBegin(); +mockProtocol.readFieldEnd(); +const map: TMap = mockProtocol.readMapBegin(); +mockProtocol.readMapEnd(); +const list: TList = mockProtocol.readListBegin(); +mockProtocol.readListEnd(); +const set: TSet = mockProtocol.readSetBegin(); +mockProtocol.readSetEnd(); +const bool: boolean = mockProtocol.readBool(); +const byte: number = mockProtocol.readByte(); +const tI16: number = mockProtocol.readI16(); +const tI32: number = mockProtocol.readI32(); +const tI64: Int64 = mockProtocol.readI64(); +const tDouble: number = mockProtocol.readDouble(); +const tBinary: Buffer = mockProtocol.readBinary(); +const tString: string = mockProtocol.readString(); +const tTrans: TTransport = mockProtocol.getTransport(); +mockProtocol.skip(Thrift.Type.STRUCT); diff --git a/types/thrift/tsconfig.json b/types/thrift/tsconfig.json index 29562363f2..9f258d3831 100644 --- a/types/thrift/tsconfig.json +++ b/types/thrift/tsconfig.json @@ -2,7 +2,8 @@ "compilerOptions": { "module": "commonjs", "lib": [ - "es6" + "es6", + "dom" ], "noImplicitAny": true, "noImplicitThis": true, From efdab6c1d9548de0a95847f5360cb21290442f3f Mon Sep 17 00:00:00 2001 From: Wang Guan Date: Tue, 3 Oct 2017 02:43:17 +0900 Subject: [PATCH 054/433] PDFKit: complete interface of color / winding-rule (#20069) - add 2 color forms: [R, G, B] or [C, M, Y, K] - constrain possible value of winding rule - add missing overloads of fill / fillAndStroke --- types/pdfkit/index.d.ts | 22 ++++++++++++++++------ types/pdfkit/pdfkit-tests.ts | 5 +++++ 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/types/pdfkit/index.d.ts b/types/pdfkit/index.d.ts index 053aa7f029..90079efc0e 100644 --- a/types/pdfkit/index.d.ts +++ b/types/pdfkit/index.d.ts @@ -58,9 +58,16 @@ declare namespace PDFKit.Mixins { textAnnotation(x: number, y: number, w: number, h: number, text: string, option?: AnnotationOption): TDocument; } + // The color forms accepted by PDFKit: + // example: "red" [R, G, B] [C, M, Y, K] + type ColorValue = string | PDFGradient | [number, number, number] | [number, number, number, number]; + + // The winding / filling rule accepted by PDFKit: + type RuleValue = "even-odd" | "evenodd" | "non-zero" | "nonzero"; + interface PDFColor { - fillColor(color: string|PDFGradient, opacity?: number): TDocument; - strokeColor(color: string, opacity?: number): TDocument; + fillColor(color: ColorValue, opacity?: number): TDocument; + strokeColor(color: ColorValue, opacity?: number): TDocument; opacity(opacity: number): TDocument; fillOpacity(opacity: number): TDocument; strokeOpacity(opacity: number): TDocument; @@ -166,10 +173,13 @@ declare namespace PDFKit.Mixins { circle(x: number, y: number, raduis: number): TDocument; polygon(...points: number[][]): TDocument; path(path: string): TDocument; - fill(color: string|PDFKit.PDFGradient, rule?: string): TDocument; - stroke(color?: string|PDFKit.PDFGradient): TDocument; - fillAndStroke(fillColor: string, strokeColor?: string, rule?: string): TDocument; - clip(rule?: string): TDocument; + fill(color?: ColorValue, rule?: RuleValue): TDocument; + fill(rule: RuleValue): TDocument; + stroke(color?: ColorValue): TDocument; + fillAndStroke(fillColor?: ColorValue, strokeColor?: ColorValue, rule?: RuleValue): TDocument; + fillAndStroke(fillColor: ColorValue, rule?: RuleValue): TDocument; + fillAndStroke(rule: RuleValue): TDocument; + clip(rule?: RuleValue): TDocument; transform(m11: number, m12: number, m21: number, m22: number, dx: number, dy: number): TDocument; translate(x: number, y: number): TDocument; rotate(angle: number, options?: { origin?: number[] }): TDocument; diff --git a/types/pdfkit/pdfkit-tests.ts b/types/pdfkit/pdfkit-tests.ts index 57aff702da..72358ed5e2 100644 --- a/types/pdfkit/pdfkit-tests.ts +++ b/types/pdfkit/pdfkit-tests.ts @@ -44,6 +44,8 @@ doc.moveTo(0,20) .lineTo(100,160) .quadraticCurveTo(130,200,150,120) .lineTo(400,90) + .strokeColor([255, 0, 0], 1) + .strokeColor([255, 0, 0]) .stroke(); //SVG Paths @@ -80,6 +82,9 @@ var grad = doc.linearGradient(50, 0, 150, 100) doc.rect(50, 0, 100, 100) .fill(grad); +doc.rect(150, 0, 25, 25) +.fill(); + doc.circle(100, 50, 50).dash(5, { space: 10 }).stroke(); From 819ca3d98f3649b762378b1fd2852913c1aa3477 Mon Sep 17 00:00:00 2001 From: Bradley Ayers Date: Tue, 3 Oct 2017 05:06:59 +1100 Subject: [PATCH 055/433] Add zapier-platform-core 3.1 (#20123) --- types/zapier-platform-core/index.d.ts | 114 ++++++++++++++++++ types/zapier-platform-core/tsconfig.json | 22 ++++ types/zapier-platform-core/tslint.json | 1 + .../zapier-platform-core-tests.ts | 93 ++++++++++++++ 4 files changed, 230 insertions(+) create mode 100644 types/zapier-platform-core/index.d.ts create mode 100644 types/zapier-platform-core/tsconfig.json create mode 100644 types/zapier-platform-core/tslint.json create mode 100644 types/zapier-platform-core/zapier-platform-core-tests.ts diff --git a/types/zapier-platform-core/index.d.ts b/types/zapier-platform-core/index.d.ts new file mode 100644 index 0000000000..0bea385f05 --- /dev/null +++ b/types/zapier-platform-core/index.d.ts @@ -0,0 +1,114 @@ +// Type definitions for zapier-platform-core 3.1 +// Project: https://github.com/zapier/zapier-platform-core +// Definitions by: Bradley Ayers +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.4 + +/// + +import * as http from "http"; + +export const version: string; + +export interface HttpRequestOptions { + url?: string; + method?: "POST" | "GET" | "OPTIONS" | "HEAD" | "DELETE" | "PATCH"; + body?: string | Buffer | NodeJS.ReadableStream | object | null; + headers?: { [name: string]: string }; + json?: object | any[] | null; + params?: object; + form?: object | null; + raw?: boolean; + redirect?: "manual" | "error" | "follow"; + follow?: number; + compress?: boolean; + agent?: http.Agent | null; + timeout?: number; + size?: number; +} + +export interface HttpResponse { + status: number; + content: string | Buffer; + json: object | undefined | Promise; + body?: NodeJS.ReadableStream; + headers: { [key: string]: string }; + getHeader(key: string): string | undefined; + throwForStatus(): void; + request: HttpRequestOptions; +} + +export class HaltedError extends Error {} +export class ExpiredAuthError extends Error {} +export class RefreshAuthError extends Error {} + +export interface Z { + request(options: HttpRequestOptions): Promise; + request(url: string, options?: HttpRequestOptions): Promise; + JSON: typeof JSON; + console: Console; + hash(alg: string, data: string): any; + errors: { + RefreshAuthError: { + new (message?: string): HaltedError; + new (message?: string): ExpiredAuthError; + new (message?: string): RefreshAuthError; + }; + }; +} + +export interface AuthData { + access_token: string; + refresh_token?: string; +} + +export interface Bundle { + authData: AuthData; + inputData: InputData; +} + +export interface AuthorizeUrlBundle { + inputData: InputData; +} + +export interface GetAccessTokenBundle { + inputData: InputData & { + code: string; + }; +} + +export interface RefreshAccessTokenBundle { + inputData: InputData; + authData: AuthData; +} + +export interface OAuth2Authentication { + type: "oauth2"; + connectionLabel: string; + oauth2Config: { + authorizeUrl: + | string + | (( + z: Z, + bundle: AuthorizeUrlBundle + ) => string | Promise) + | HttpRequestOptions; + getAccessToken: + | (( + z: Z, + bundle: GetAccessTokenBundle + ) => AuthData | Promise) + | HttpRequestOptions; + refreshAccessToken?: + | (( + z: Z, + bundle: RefreshAccessTokenBundle + ) => AuthData | Promise) + | HttpRequestOptions; + autoRefresh: boolean; + scope?: string; + }; + test: + | ((z: Z, bundle: Bundle) => boolean | Promise) + | { url: string }; +} diff --git a/types/zapier-platform-core/tsconfig.json b/types/zapier-platform-core/tsconfig.json new file mode 100644 index 0000000000..3755a7ac9a --- /dev/null +++ b/types/zapier-platform-core/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "zapier-platform-core-tests.ts" + ] +} diff --git a/types/zapier-platform-core/tslint.json b/types/zapier-platform-core/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/zapier-platform-core/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } diff --git a/types/zapier-platform-core/zapier-platform-core-tests.ts b/types/zapier-platform-core/zapier-platform-core-tests.ts new file mode 100644 index 0000000000..76592204ae --- /dev/null +++ b/types/zapier-platform-core/zapier-platform-core-tests.ts @@ -0,0 +1,93 @@ +import { OAuth2Authentication } from "zapier-platform-core"; + +const BASE_URL = "http://example.com"; +const OAUTH2_CLIENT_ID = "12345"; +const OAUTH2_CLIENT_SECRET = "abcdef"; + +const authentication: OAuth2Authentication = { + type: "oauth2", + connectionLabel: "User account", + oauth2Config: { + authorizeUrl: `${BASE_URL}/oauth2/authorize`, + + getAccessToken: async (z, bundle) => { + const response = await z.request(`${BASE_URL}/oauth2/access`, { + method: "POST", + body: { + code: bundle.inputData.code, + client_id: OAUTH2_CLIENT_ID, + client_secret: OAUTH2_CLIENT_SECRET, + grant_type: "authorization_code" + } + }); + + if (response.status !== 200) { + throw new Error( + "Unable to fetch access token: " + response.content + ); + } + + if (typeof response.content !== "string") { + throw new Error( + `Unable to response content, expected string but got ${typeof response.content}.` + ); + } + + const result = z.JSON.parse(response.content); + return { + access_token: result.access_token, + refresh_token: result.refresh_token + }; + }, + + refreshAccessToken: async (z, bundle) => { + if (!bundle.authData.refresh_token) { + throw new Error( + "Required `bundle.authData.refresh_token` field missing." + ); + } + + const response = await z.request(`${BASE_URL}/oauth2/refresh`, { + method: "POST", + body: { + refresh_token: bundle.authData.refresh_token, + client_id: OAUTH2_CLIENT_ID, + client_secret: OAUTH2_CLIENT_SECRET, + grant_type: "refresh_token" + } + }); + + if (response.status !== 200) { + throw new Error( + "Unable to fetch access token: " + response.content + ); + } + + if (typeof response.content !== "string") { + throw new Error( + `Unable to response content, expected string but got ${typeof response.content}.` + ); + } + + const result = z.JSON.parse(response.content); + return { + access_token: result.access_token, + refresh_token: bundle.authData.refresh_token + }; + }, + + autoRefresh: true, + + scope: "read,write" + }, + + test: async z => { + const response = await z.request(`${BASE_URL}/oauth2/test`); + + if (response.status === 401) { + throw new Error("The access token you supplied is not valid"); + } + + return true; + } +}; From c9c62c89b96833082354bd821189b8137fa43fbc Mon Sep 17 00:00:00 2001 From: Jay Anslow Date: Mon, 2 Oct 2017 19:07:27 +0100 Subject: [PATCH 056/433] Add `react-treeview` types (#20121) --- types/react-treeview/index.d.ts | 23 ++++++++++++++++++ types/react-treeview/react-treeview-tests.tsx | 11 +++++++++ types/react-treeview/tsconfig.json | 24 +++++++++++++++++++ types/react-treeview/tslint.json | 1 + 4 files changed, 59 insertions(+) create mode 100644 types/react-treeview/index.d.ts create mode 100644 types/react-treeview/react-treeview-tests.tsx create mode 100644 types/react-treeview/tsconfig.json create mode 100644 types/react-treeview/tslint.json diff --git a/types/react-treeview/index.d.ts b/types/react-treeview/index.d.ts new file mode 100644 index 0000000000..64690dc361 --- /dev/null +++ b/types/react-treeview/index.d.ts @@ -0,0 +1,23 @@ +// Type definitions for react-treeview 0.4 +// Project: https://github.com/chenglou/react-treeview +// Definitions by: Jay Anslow +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +import { Component, HTMLAttributes } from 'react'; + +declare namespace TreeView { + interface TreeProps extends HTMLAttributes { + collapsed?: boolean; + defaultCollapsed?: boolean; + nodeLabel: React.ReactNode; + itemClassName?: string; + treeViewClassName?: string; + childrenClassName?: string; + } +} + +declare class TreeView extends Component { +} + +export = TreeView; diff --git a/types/react-treeview/react-treeview-tests.tsx b/types/react-treeview/react-treeview-tests.tsx new file mode 100644 index 0000000000..8edb180b92 --- /dev/null +++ b/types/react-treeview/react-treeview-tests.tsx @@ -0,0 +1,11 @@ +import * as React from "react"; +import TreeView = require("react-treeview"); + +const label =
A label
; + +const elem1: JSX.Element = undefined}> +
Entry
+ +
Nested Entry
+
+
; diff --git a/types/react-treeview/tsconfig.json b/types/react-treeview/tsconfig.json new file mode 100644 index 0000000000..62a6f93cbe --- /dev/null +++ b/types/react-treeview/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "jsx": "react", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "react-treeview-tests.tsx" + ] +} diff --git a/types/react-treeview/tslint.json b/types/react-treeview/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/react-treeview/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From c56a4da185a80480fbd0824d3b9d6170b6eb6933 Mon Sep 17 00:00:00 2001 From: Bradley Ayers Date: Tue, 3 Oct 2017 05:08:22 +1100 Subject: [PATCH 057/433] Add apollo-codegen (#20119) --- types/apollo-codegen/apollo-codegen-tests.ts | 30 +++++++++++++++ types/apollo-codegen/index.d.ts | 40 ++++++++++++++++++++ types/apollo-codegen/tsconfig.json | 22 +++++++++++ types/apollo-codegen/tslint.json | 1 + 4 files changed, 93 insertions(+) create mode 100644 types/apollo-codegen/apollo-codegen-tests.ts create mode 100644 types/apollo-codegen/index.d.ts create mode 100644 types/apollo-codegen/tsconfig.json create mode 100644 types/apollo-codegen/tslint.json diff --git a/types/apollo-codegen/apollo-codegen-tests.ts b/types/apollo-codegen/apollo-codegen-tests.ts new file mode 100644 index 0000000000..38d9733faf --- /dev/null +++ b/types/apollo-codegen/apollo-codegen-tests.ts @@ -0,0 +1,30 @@ +import { + downloadSchema, + generate, + introspectSchema, + printSchema +} from "apollo-codegen"; + +async function main() { + await downloadSchema( + "http://example.com/graphql", + "schema.json", + {}, + false, + "POST" + ); + + generate(["input.ts"], "schema.json", "types.ts", "typescript", "gql", { + passthroughCustomScalars: false, + customScalarsPrefix: "S", + addTypename: false, + namespace: "", + operationIdsPath: null, + generateOperationIds: false, + mergeInFieldsFromFragmentSpreads: false + }); + + await introspectSchema("schema.json", "schema.gql"); + + await printSchema("schema.in", "schema.out"); +} diff --git a/types/apollo-codegen/index.d.ts b/types/apollo-codegen/index.d.ts new file mode 100644 index 0000000000..a506f7475e --- /dev/null +++ b/types/apollo-codegen/index.d.ts @@ -0,0 +1,40 @@ +// Type definitions for apollo-codegen 0.16 +// Project: https://github.com/apollographql/apollo-codegen +// Definitions by: Bradley Ayers +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +export function downloadSchema( + url: string, + outputPath: string, + additionalHeaders: { [name: string]: string }, + insecure: boolean, + method: string +): Promise; + +export function introspectSchema( + schemaPath: string, + outputPath: string +): Promise; + +export function printSchema( + schemaPath: string, + outputPath: string +): Promise; + +export function generate( + inputPaths: string[], + schemaPath: string, + outputPath: string, + target: "json" | "swift" | "ts" | "typescript" | "flow" | "scala", + tagName: string, + options: { + passthroughCustomScalars: boolean; + customScalarsPrefix: string; + addTypename: boolean; + namespace: string; + operationIdsPath: string | null; + generateOperationIds: boolean; + mergeInFieldsFromFragmentSpreads: boolean; + } +): void; diff --git a/types/apollo-codegen/tsconfig.json b/types/apollo-codegen/tsconfig.json new file mode 100644 index 0000000000..cc7c69d4f6 --- /dev/null +++ b/types/apollo-codegen/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "apollo-codegen-tests.ts" + ] +} diff --git a/types/apollo-codegen/tslint.json b/types/apollo-codegen/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/apollo-codegen/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From e7b3ad2f1cd5b344f0511887f6a73ecb12450825 Mon Sep 17 00:00:00 2001 From: Cassey Lottman Date: Mon, 2 Oct 2017 13:09:01 -0500 Subject: [PATCH 058/433] Add missing pie chart options to Chartist (#20118) * add missing pie chart options to Chartist * missing comment * update donutwidth * add to maintainers * modify the right file * add back candle chart * fix spacing? * fix export --- types/chartist/index.d.ts | 261 ++++++++++++++++++++------------------ 1 file changed, 139 insertions(+), 122 deletions(-) diff --git a/types/chartist/index.d.ts b/types/chartist/index.d.ts index e1d4cba452..3eb5e07973 100644 --- a/types/chartist/index.d.ts +++ b/types/chartist/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for Chartist v0.9.6 +// Type definitions for Chartist v0.9.7 // Project: https://github.com/gionkunz/chartist-js -// Definitions by: Matt Gibbs , Simon Pfeifer +// Definitions by: Matt Gibbs , Simon Pfeifer , Cassey Lottman // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare namespace Chartist { @@ -187,11 +187,17 @@ declare namespace Chartist { * If specified the donut CSS classes will be used and strokes will be drawn instead of pie slices. */ donut?: boolean; + + /** + * If specified the donut segments will be drawn as shapes instead of strokes. + */ + donutSolid?: boolean; /** - * Specify the donut stroke width, currently done in javascript for convenience. + * Specify the donut stroke width, currently done in javascript for convenience. May move to CSS styles in the future. + * This option can be set as number or string to specify a relative width (i.e. 100 or '30%'). */ - donutWidth?: number; + donutWidth?: number | string; /** * Specify if a label should be shown or not @@ -217,6 +223,16 @@ declare namespace Chartist { * Label direction can be 'neutral', 'explode' or 'implode'. Default is 'neutral'. The labels anchor will be positioned based on those settings as well as the fact if the labels are on the right or left side of the center of the chart. Usually explode is useful when labels are positioned far away from the center. */ labelDirection?: string; + + /** + * If true the whole data is reversed including labels, the series order as well as the whole series data arrays. + */ + reverseData?: boolean; + + /** + * If true empty values will be ignored to avoid drawing unncessary slices and labels + */ + ignoreEmptyValues?: boolean; } interface IChartPadding { @@ -357,123 +373,124 @@ declare namespace Chartist { end?: string; } - interface ICandleChartOptions extends IChartOptions { - - /** - * Options for X-Axis - */ - axisX?: ICandleChartAxis; - - /** - * Options for Y-Axis - */ - axisY?: ICandleChartAxis; - - /** - * Specify a fixed width for the chart as a string (i.e. '100px' or '50%') - */ - width?: number | string; - - /** - * Specify a fixed height for the chart as a string (i.e. '100px' or '50%') - */ - height?: number | string; - - /** - * Overriding the natural high of the chart allows you to zoom in or limit the charts highest displayed value - */ - hight?: number | string; - - /** - * Overriding the natural low of the chart allows you to zoom in or limit the charts lowest displayed value - */ - low?: number | string; - - /** - * Width of candle body in pixel (IMO is 2 px best minimum value) - */ - candleWidth?: number | string; - - /** - * Width of candle wick in pixel (IMO is 1 px best minimum value) - */ - candleWickWidth?: number | string; - - /** - * Use calculated x-axis step length, depending on the number of quotes to display, as candle width. Otherwise the candleWidth is being used. - */ - useStepLengthAsCandleWidth?: boolean | string; - - /** - * Use 1/3 of candle body width as width for the candle wick, otherwise the candleWickWidth is being used. - */ - useOneThirdAsCandleWickWidth?: boolean | string; - - /** - * Padding of the chart drawing area to the container element and labels as a number or padding object {top: 5, right: 5, bottom: 5, left: 5} - */ - chartPadding?: IChartPadding | number; - - /** - * When set to true, the last grid line on the x-axis is not drawn and the chart elements will expand to the full available width of the chart. For the last label to be drawn correctly you might need to add chart padding or offset the last label with a draw event handler. - */ - fullWidth?: boolean | string; - - /** - * Override the class names that get used to generate the SVG structure of the chart - */ - classNames?: ICandleChartClasses; - } - - interface ICandleChartAxis { - /** - * The offset of the chart drawing area to the border of the container - */ - offset?: number; - /** - * Position where labels are placed. Can be set to `start` or `end` where `start` is equivalent to left or top on vertical axis and `end` is equivalent to right or bottom on horizontal axis. - */ - position?: string; - /** - * Allows you to correct label positioning on this axis by positive or negative x and y offset. - */ - labelOffset?: { - x?: number; - y?: number; - }; - /** - * If labels should be shown or not - */ - showLabel?: boolean; - /** - * If the axis grid should be drawn or not - */ - showGrid?: boolean; - /** - * Interpolation function that allows you to intercept the value from the axis label - */ - labelInterpolationFnc?: Function; - /** - * Set the axis type to be used to project values on this axis. If not defined, Chartist.StepAxis will be used for the X-Axis, where the ticks option will be set to the labels in the data and the stretch option will be set to the global fullWidth option. This type can be changed to any axis constructor available (e.g. Chartist.FixedScaleAxis), where all axis options should be present here. - */ - type?: any; - } - - interface ICandleChartClasses { - chart?: string; - label?: string; - labelGroup?: string; - series?: string; - candlePositive?: string; - candleNegative?: string, - grid?: string, - gridGroup?: string, - gridBackground?: string, - vertical?: string, - horizontal?: string, - start?: string, - end?: string, - } + interface ICandleChartOptions extends IChartOptions { + + /** + * Options for X-Axis + */ + axisX?: ICandleChartAxis; + + /** + * Options for Y-Axis + */ + axisY?: ICandleChartAxis; + + /** + * Specify a fixed width for the chart as a string (i.e. '100px' or '50%') + */ + width?: number | string; + + /** + * Specify a fixed height for the chart as a string (i.e. '100px' or '50%') + */ + height?: number | string; + + /** + * Overriding the natural high of the chart allows you to zoom in or limit the charts highest displayed value + */ + hight?: number | string; + + /** + * Overriding the natural low of the chart allows you to zoom in or limit the charts lowest displayed value + */ + low?: number | string; + + /** + * Width of candle body in pixel (IMO is 2 px best minimum value) + */ + candleWidth?: number | string; + + /** + * Width of candle wick in pixel (IMO is 1 px best minimum value) + */ + candleWickWidth?: number | string; + + /** + * Use calculated x-axis step length, depending on the number of quotes to display, as candle width. Otherwise the candleWidth is being used. + */ + useStepLengthAsCandleWidth?: boolean | string; + + /** + * Use 1/3 of candle body width as width for the candle wick, otherwise the candleWickWidth is being used. + */ + useOneThirdAsCandleWickWidth?: boolean | string; + + /** + * Padding of the chart drawing area to the container element and labels as a number or padding object {top: 5, right: 5, bottom: 5, left: 5} + */ + chartPadding?: IChartPadding | number; + + /** + * When set to true, the last grid line on the x-axis is not drawn and the chart elements will expand to the full available width of the chart. For the last label to be drawncorrectly you might need to add chart padding or offset the last label with a draw event handler. + */ + fullWidth?: boolean | string; + + /** + * Override the class names that get used to generate the SVG structure of the chart + */ + classNames?: ICandleChartClasses; + } + + interface ICandleChartAxis { + /** + * The offset of the chart drawing area to the border of the container + */ + offset?: number; + /** + * Position where labels are placed. Can be set to `start` or `end` where `start` is equivalent to left or top on vertical axis and `end` is equivalent to right or bottom on horizontal axis. + */ + position?: string; + /** + * Allows you to correct label positioning on this axis by positive or negative x and y offset. + */ + labelOffset?: { + x?: number; + y?: number; + }; + /** + * If labels should be shown or not + */ + showLabel?: boolean; + /** + * If the axis grid should be drawn or not + */ + showGrid?: boolean; + /** + * Interpolation function that allows you to intercept the value from the axis label + */ + labelInterpolationFnc?: Function; + /** + * Set the axis type to be used to project values on this axis. If not defined, Chartist.StepAxis will be used for the X-Axis, where the ticks option will be set to the labels in the data and the stretch option will be set to the global fullWidth option. This type can be changed to any axis constructor available (e.g. Chartist.FixedScaleAxis), where all axis options should be present here. + */ + type?: any; + } + + interface ICandleChartClasses { + chart?: string; + label?: string; + labelGroup?: string; + series?: string; + candlePositive?: string; + candleNegative?: string, + grid?: string, + gridGroup?: string, + gridBackground?: string, + vertical?: string, + horizontal?: string, + start?: string, + end?: string, + } + interface ChartistSvgStatic { new (name: HTMLElement | string, attributes: Object, className?: string, parent?: Object, insertFirst?: boolean): IChartistSvg; @@ -682,4 +699,4 @@ declare namespace Chartist { declare var Chartist: Chartist.ChartistStatic; export = Chartist; -export as namespace Chartist; +export as namespace Chartist; \ No newline at end of file From f3bcbc1a9d74e70c74c1a2d9cf63958f3f0f2973 Mon Sep 17 00:00:00 2001 From: Shenghan Gao Date: Mon, 2 Oct 2017 11:09:16 -0700 Subject: [PATCH 059/433] fix a type on amqp (#20091) --- types/amqp/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/amqp/index.d.ts b/types/amqp/index.d.ts index ea7d6bcc65..374a03322b 100644 --- a/types/amqp/index.d.ts +++ b/types/amqp/index.d.ts @@ -90,7 +90,7 @@ export interface ConnectionOptions { url?: string; port?: number; login?: string; - passowrd?: string; + password?: string; connectionTimeout?: number; authMechanism?: string; vhost?: string; From 06354d63821770b5b3df03afb177fdb46c7235b4 Mon Sep 17 00:00:00 2001 From: Alessandro Vergani Date: Mon, 2 Oct 2017 20:29:52 +0200 Subject: [PATCH 060/433] Add restling support (#20187) --- types/restling/index.d.ts | 232 +++++++++++++++++++++++++++++++ types/restling/restling-tests.ts | 40 ++++++ types/restling/tsconfig.json | 22 +++ types/restling/tslint.json | 1 + 4 files changed, 295 insertions(+) create mode 100644 types/restling/index.d.ts create mode 100644 types/restling/restling-tests.ts create mode 100644 types/restling/tsconfig.json create mode 100644 types/restling/tslint.json diff --git a/types/restling/index.d.ts b/types/restling/index.d.ts new file mode 100644 index 0000000000..02a083078a --- /dev/null +++ b/types/restling/index.d.ts @@ -0,0 +1,232 @@ +// Type definitions for restling 0.9 +// Project: https://github.com/lucasfeliciano/restling +// Definitions by: Alessandro vergani +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +import * as Promise from "bluebird"; +import * as Restler from "restler"; +import { ServerResponse } from "http"; + +/** + * Create a DELETE request. + * @param {string} url A url address. + * @param {RestlingOptions} options Options. + * @return {Promise} Result. + */ +export function del(url: string, options?: RestlingOptions): Promise; + +/** + * Create a GET request. + * @param {string} url A url address. + * @param {RestlingOptions} options Options. + * @return {Promise} Result. + */ +export function get(url: string, options?: RestlingOptions): Promise; + +/** + * Create a HEAD request. + * @param {string} url A url address. + * @param {RestlingOptions} options Options. + * @return {Promise} Result. + */ +export function head(url: string, options?: RestlingOptions): Promise; + +/** + * Send json data via GET method. + * @param {string} url A url address. + * @param {any} data JSON body + * @param {RestlingOptions} options Options. + * @return {Promise} Result. + */ +export function json(url: string, data?: any, options?: RestlingOptions, method?: string): Promise; + +/** + * Create a PATCH request. + * @param {string} url A url address. + * @param {RestlingOptions} options Options. + * @return {Promise} Result. + */ +export function patch(url: string, options?: RestlingOptions): Promise; + +/** + * Send json data via PATCH method. + * @param {string} url A url address. + * @param {any} data JSON body + * @param {RestlingOptions} options Options. + * @return {Promise} Result. + */ +export function patchJson(url: string, data?: any, options?: RestlingOptions): Promise; + +/** + * Create a POST request. + * @param {string} url A url address. + * @param {RestlingOptions} options Options. + * @return {Promise} Result. + */ +export function post(url: string, options?: RestlingOptions): Promise; + +/** + * Send json data via POST method. + * @param {string} url A url address. + * @param {any} data JSON body + * @param {RestlingOptions} options Options. + * @return {Promise} Result. + */ +export function postJson(url: string, data?: any, options?: RestlingOptions): Promise; + +/** + * Create a PUT request. + * @param {string} url A url address. + * @param {RestlingOptions} options Options. + * @return {Promise} Result. + */ +export function put(url: string, options?: RestlingOptions): Promise; + +/** + * Send json data via PUT method. + * @param {string} url A url address. + * @param {any} data JSON body + * @param {RestlingOptions} options Options. + * @return {Promise} Result. + */ +export function putJson(url: string, data?: any, options?: RestlingOptions): Promise; + +/** + * Create a request. + * @param {string} url A url address. + * @param {RestlingOptions} options Options. + * @return {Promise} Result. + */ +export function request(url: string, options?: RestlingOptions): Promise; + +export function settleAsync(requests: [{ url: string, options?: RestlingOptions }]): Promise<[RestlingResult]>; +export function settleAsync(requests: { [key: string]: { url: string, options?: RestlingOptions } }): Promise<{ [key: string]: RestlingResult }>; + +export function allAsync(requests: [{ url: string, options?: RestlingOptions }]): Promise<[RestlingResult]>; +export function allAsync(requests: { [key: string]: { url: string, options?: RestlingOptions } }): Promise<{ [key: string]: RestlingResult }>; + +/** + * Interface for the result. + * @interface + */ +export interface RestlingResult { + data?: any; + response?: ServerResponse; +} + +/** + * Interface for the header. + * @interface + */ +export interface RestlerOptionsHeader { + [headerName: string]: string; +} + +/** + * Interface for restler options. + * @interface + */ +export interface RestlingOptions { + /** + * OAuth Bearer Token. + * @type {string} + */ + accessToken?: string; + + /** + * HTTP Agent instance to use. If not defined globalAgent will be used. If false opts out of connection pooling with an Agent, defaults request to Connection: close. + * @type {any} + */ + agent?: any; + + /** + * A http.Client instance if you want to reuse or implement some kind of connection pooling. + * @type {any} + */ + client?: any; + + /** + * Data to be added to the body of the request. + * @type {any} + */ + data?: any; + + /** + * Encoding of the response body + * @type {string} + */ + decoding?: string; + + /** + * Encoding of the request body. + * @type {string} + */ + encoding?: string; + + /** + * If set will recursively follow redirects. + * @type {boolean} + */ + followRedirects?: boolean; + + /** + * A hash of HTTP headers to be sent. + * @type {RestlerOptionsHeader} + */ + headers?: RestlerOptionsHeader; + + /** + * Request method + * @type {string} + */ + method?: string; + + /** + * If set the data passed will be formatted as multipart/form-encoded. + * @type {boolean} + */ + multipart?: boolean; + + /** + * A function that will be called on the returned data. Use any of predefined restler.parsers. + * @type {any} + */ + parser?: any; + + /** + * Basic auth password. + * @type {string} + */ + password?: string; + + /** + * Query string variables as a javascript object, will override the querystring in the URL. + * @type {any} + */ + query?: any; + + /** + * If true, the server certificate is verified against the list of supplied CAs. + * An 'error' event is emitted if verification fails. Verification happens at the connection level, before the HTTP request is sent. + * @type {boolean} + */ + rejectUnauthorized?: boolean; + + /** + * Emit the timeout event when the response does not return within the said value (in ms). + * @type {number} + */ + timeout?: number; + + /** + * Basic auth username. + * @type {string} + */ + username?: string; + + /** + * Options for xml2js. + * @type {any} + */ + xml2js?: any; +} diff --git a/types/restling/restling-tests.ts b/types/restling/restling-tests.ts new file mode 100644 index 0000000000..143633bdad --- /dev/null +++ b/types/restling/restling-tests.ts @@ -0,0 +1,40 @@ +import * as rest from "restling"; + +rest.request("http://localhost").then(console.log); +rest.request("http://localhost", { agent: "test", timeout: 5000 }).then(console.log); + +rest.del("http://localhost", { agent: "test", timeout: 5000 }).then(console.log); + +rest.get("http://localhost", { agent: "test", timeout: 5000 }).then(console.log); + +rest.head("http://localhost", { agent: "test", timeout: 5000 }).then(console.log); + +rest.patch("http://localhost", { agent: "test", timeout: 5000 }).then(console.log); + +rest.post("http://localhost", { agent: "test", timeout: 5000 }).then(console.log); + +rest.put("http://localhost", { agent: "test", timeout: 5000 }).then(console.log); + +rest.patchJson("http://localhost", { num: 100, str: "string" }, { agent: "test", timeout: 5000 }).then(console.log); + +rest.postJson("http://localhost", { num: 100, str: "string" }, { agent: "test", timeout: 5000 }).then(console.log); + +rest.putJson("http://localhost", { num: 100, str: "string" }, { agent: "test", timeout: 5000 }).then(console.log); + +rest.settleAsync([ + { url: "http://localhost" }, + { url: "http://localhost" } +]).then(console.log); +rest.settleAsync({ + r1: { url: "http://localhost" }, + r2: { url: "http://localhost" } +}).then(console.log); + +rest.allAsync([ + { url: "http://localhost" }, + { url: "http://localhost" } +]).then(console.log); +rest.allAsync({ + r1: { url: "http://localhost" }, + r2: { url: "http://localhost" } +}).then(console.log); diff --git a/types/restling/tsconfig.json b/types/restling/tsconfig.json new file mode 100644 index 0000000000..d36e06acab --- /dev/null +++ b/types/restling/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "restling-tests.ts" + ] +} diff --git a/types/restling/tslint.json b/types/restling/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/restling/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 86c522c132a9f3da11afd86092aa8c666f24aece Mon Sep 17 00:00:00 2001 From: Matt Perry Date: Mon, 2 Oct 2017 14:34:10 -0400 Subject: [PATCH 061/433] Add type definition for react-truncate (#20181) --- types/react-truncate/index.d.ts | 16 +++++++++++++ types/react-truncate/react-truncate-tests.tsx | 18 +++++++++++++++ types/react-truncate/tsconfig.json | 23 +++++++++++++++++++ types/react-truncate/tslint.json | 1 + 4 files changed, 58 insertions(+) create mode 100644 types/react-truncate/index.d.ts create mode 100644 types/react-truncate/react-truncate-tests.tsx create mode 100644 types/react-truncate/tsconfig.json create mode 100644 types/react-truncate/tslint.json diff --git a/types/react-truncate/index.d.ts b/types/react-truncate/index.d.ts new file mode 100644 index 0000000000..5200016dec --- /dev/null +++ b/types/react-truncate/index.d.ts @@ -0,0 +1,16 @@ +// Type definitions for react-truncate 2.1 +// Project: https://github.com/One-com/react-truncate +// Definitions by: Matt Perry +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +import * as React from 'react'; + +export interface TruncateProps extends React.HTMLProps { + lines?: number | false; + ellipsis?: React.ReactNode; + onTruncate?(isTruncated: boolean): void; +} + +declare class Truncate extends React.Component { } +export default Truncate; diff --git a/types/react-truncate/react-truncate-tests.tsx b/types/react-truncate/react-truncate-tests.tsx new file mode 100644 index 0000000000..c73d5a2ad7 --- /dev/null +++ b/types/react-truncate/react-truncate-tests.tsx @@ -0,0 +1,18 @@ +import * as React from 'react'; +import Truncate from 'react-truncate'; + +const TruncateTest: React.SFC = _ => ( +
+ + Test string + + + isTruncated} className="testClass"> +
Test string
+
+ + Read more} id="identifier"> +
Test string
+
+
+); diff --git a/types/react-truncate/tsconfig.json b/types/react-truncate/tsconfig.json new file mode 100644 index 0000000000..51227d4e80 --- /dev/null +++ b/types/react-truncate/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "jsx": "react", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "react-truncate-tests.tsx" + ] +} diff --git a/types/react-truncate/tslint.json b/types/react-truncate/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/react-truncate/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 31cc4f3c73390ac8783f806ef15455f0c2c00149 Mon Sep 17 00:00:00 2001 From: "Anders E. Andersen" Date: Mon, 2 Oct 2017 20:35:22 +0200 Subject: [PATCH 062/433] @types/node-red New set of types for Node-RED node creation api. (#20167) * Basic node creation api * Tests and fixes * Minor linting fix --- types/node-red/index.d.ts | 206 +++++++++++++++++++++++++++++++ types/node-red/node-red-tests.ts | 33 +++++ types/node-red/tsconfig.json | 22 ++++ types/node-red/tslint.json | 1 + 4 files changed, 262 insertions(+) create mode 100644 types/node-red/index.d.ts create mode 100644 types/node-red/node-red-tests.ts create mode 100644 types/node-red/tsconfig.json create mode 100644 types/node-red/tslint.json diff --git a/types/node-red/index.d.ts b/types/node-red/index.d.ts new file mode 100644 index 0000000000..8b19d451e0 --- /dev/null +++ b/types/node-red/index.d.ts @@ -0,0 +1,206 @@ +// Type definitions for node-red 0.17 +// Project: http://nodered.org +// Definitions by: Anders E. Andersen +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 + +/// + +import EventEmitter = require('events'); + +/** + * Node-RED node creation api. + */ +export interface Red { + /** Node lifecycle management api. Used by all nodes. */ + nodes: Nodes; + log: any; + settings: any; + events: any; + util: any; + /** Returns the version of the running Node-RED environment. */ + version(): string; +} + +/** + * Node base type. + * + * See the Nodes interfaces registerType() method for information about + * declaring node constructors in typescript. + * + * The id, type and name properties are available after the + * call to RED.nodes.createNode(). + */ +export interface Node extends EventEmitter, NodeProperties { + updateWires(wires: any): void; + context(): any; + close(removed: any): void; + /** + * Send one or more messages to multiple downstream nodes. + * It is possible to send multiple messages to any + * one node by sending an array to the node instead + * of a single message. + * @param msg - array of messages and/or message bundle arrays. + */ + send(msg: any[]): void; + /** + * Send a message to the downstream node. If msg is null or + * undefined, no message is sent. + * @param msg - optional message to send. + */ + send(msg?: any): void; + /** + * Send a message to this node. + * @param msg - optional message to send. + */ + receive(msg: any): void; + /** + * Log an log-level event. Used for mundane events + * that are part of the normal functioning of the + * node. + * @param msg - message to log. + */ + log(msg: any): void; + /** + * Log a warn-level event. For important events + * that the user should be made aware of. + * @param msg - message to log. + */ + warn(msg: any): void; + /** + * Log an error-level event. To trigger catch nodes on + * the workflow call the function with msg set to the + * original message. + * @param logMessage - description of the error. + * @param msg - optional payload that caused the error. + */ + error(logMessage: any, msg?: any): void; + /** + * Log a debug-level event. Use this is for logging + * internal detail not needed for normal operation. + * @param msg - message to log. + */ + debug(msg: any): void; + /** + * Log a trace-level event. Even more internal details than + * debug-level. + * @param msg - message to log. + */ + trace(msg: any): void; + metric(eventname?: any, msg?: any, metricValue?: any): void; + /** + * Set or clear node status. + * + * For more info see: https://nodered.org/docs/creating-nodes/status + * @param status - the status to set or an empty object to clear the + * node status. + */ + status(status: NodeStatus | ClearNodeStatus): void; +} + +/** + * Contains the user selected property values + * for the node. + * + * This object is also known as the node's definition + * object. + */ +export interface NodeProperties { + /** This node's unique identifier. */ + id: NodeId; + /** The type name for this node. */ + type: NodeType; + /** + * The UI visible name for this node. Many nodes + * allow the user to pick the name and provide + * a fallback name, if they leave it blank. + */ + name: string; +} + +/** Unique node identifier. */ +export type NodeId = string; +/** Node type name. */ +export type NodeType = string; + +/** Node status icon color choices. */ +export type StatusFill = "red" | "green" | "yellow" | "blue" | "grey"; +/** Node status icon shape choices. */ +export type StatusShape = "ring" | "dot"; + +/** + * Object used to set the nodes status flag. + */ +export interface NodeStatus { + /** Selects the icon color. */ + fill: StatusFill; + /** Selects either ring or dot shape. */ + shape: StatusShape; + /** Status label. */ + text: string; +} + +/** Fancy definition that matches an empty object. */ +export interface ClearNodeStatus { + fill?: undefined; + shape?: undefined; + text?: undefined; +} + +export interface Nodes { + /** + * Node constructor functions must call this to + * finish setting up the node. Among other things + * it adds the node credentials, which are stored + * outside the flow. + * + * @param node - the node object under construction. + * @param props - the node's properties object, aka. + * the node instance definition. + */ + createNode(node: Node, props: NodeProperties): void; + /** + * Get a node by NodeID. + * + * If your node uses a configuration + * node, this call is used to get access to the running + * instance. + * @param id - the id of the node. + * @return - the node matching the given id. + */ + getNode(id: NodeId): Node; + eachNode(callback: (node: Node) => any): void; + /** + * Adds a set of credentials for the given node id. + * @param id the node id for the credentials + * @param creds an object of credential key/value pairs + */ + addCredentials(id: NodeId, creds: object): void; + /** + * Gets the credentials for the given node id. + * @param id the node id for the credentials + * @return the credentials + */ + getCredentials(id: NodeId): object; + /** + * Deletes the credentials for the given node id. + * @param id the node id for the credentials + */ + deleteCredentials(id: NodeId): void; + /** + * Registers a node constructor. + * + * Node constructors should be declared as functions with an explicit this + * argument of a type descending from the Node interface. You can extend + * the NodeProperties interface also, to add your node's properties. + * + * Example, using in-line declaration: + * + * RED.nodes.registerType('my-node', function(this: MyNode, props: MyProperties) + * => { RED.nodes.createNode(this, props); ... }, { ... }); + * @param type - the string type name + * @param constructor - the constructor function for this node type + * @param opts - optional additional options for the node + */ + registerType(type: string, constructor: (props: NodeProperties) => any, opts?: any): void; +} diff --git a/types/node-red/node-red-tests.ts b/types/node-red/node-red-tests.ts new file mode 100644 index 0000000000..94031db2fb --- /dev/null +++ b/types/node-red/node-red-tests.ts @@ -0,0 +1,33 @@ +import * as nodered from 'node-red'; + +interface MyFantasticNode extends nodered.Node { + myStrProp: string; + myNmbProp: number; + someResource: any; +} + +interface MyFantasticProps extends nodered.NodeProperties { + config: nodered.NodeId; +} + +export = (RED: nodered.Red) => { + RED.nodes.registerType('my-fantastic-node', function(this: MyFantasticNode, props: MyFantasticProps) { + RED.nodes.createNode(this, props); + const config = RED.nodes.getNode(props.config); + this.log('Something fantastic happened.'); + this.warn('Something exceptional happened.'); + this.error('Something disastrous happened when I tried to process this.', { payload: 'Cookies' }); + this.debug('A behind the scenes look.'); + this.trace('A look behind the scenes, under the floor.'); + this.status({ fill: 'red', shape: 'dot', text: 'status' }); + this.status({}); + this.send({ payload: 'Milk' }); + this.send([[ + { payload: 'FirstMessageFirstNode' }, + { payload: 'SecondMessageFirstNode' }, + ], { payload: "MessageSecondNode" }]); + this.on('close', () => { + this.someResource.close(); + }); + }); +}; diff --git a/types/node-red/tsconfig.json b/types/node-red/tsconfig.json new file mode 100644 index 0000000000..06c4329f93 --- /dev/null +++ b/types/node-red/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "node-red-tests.ts" + ] +} diff --git a/types/node-red/tslint.json b/types/node-red/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/node-red/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 354d5b31f35902a3c953cc859adcc2c0f370281e Mon Sep 17 00:00:00 2001 From: Samer Albahra Date: Mon, 2 Oct 2017 13:51:21 -0500 Subject: [PATCH 063/433] Add typing for LocalizeJS Library (#20098) * Add typing for LocalizeJS This adds the library typings for LocalizeJS * Add private to `package.json` for Travis testing * Remove conflicting files from typing * Fix all lint errors * Rename `LocalizeJS` to `LocalizeJS Library` --- types/localizejs-library/index.d.ts | 225 ++++++++++++++++++ .../localizejs-library-tests.ts | 3 + types/localizejs-library/tsconfig.json | 22 ++ types/localizejs-library/tslint.json | 1 + 4 files changed, 251 insertions(+) create mode 100644 types/localizejs-library/index.d.ts create mode 100644 types/localizejs-library/localizejs-library-tests.ts create mode 100644 types/localizejs-library/tsconfig.json create mode 100644 types/localizejs-library/tslint.json diff --git a/types/localizejs-library/index.d.ts b/types/localizejs-library/index.d.ts new file mode 100644 index 0000000000..17d75bce31 --- /dev/null +++ b/types/localizejs-library/index.d.ts @@ -0,0 +1,225 @@ +// Type definitions for LocalizeJS Library 1.0 +// Project: https://help.localizejs.com/docs/library-api +// Definitions by: Samer Albahra +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +declare namespace LocalizeJS.Context { + interface Options { + /** + * Required. Your project key. + */ + key: string; + + /** + * Language to translate your website to. + */ + targetLanguage: string; + + /** + * Defaults to false. If true, Localize will translate your website to the last selected language on subsequent page views. + */ + rememberLanguage: boolean; + + /** + * Defaults to true. If true, translations will be fetched from Localize if not bootstrapped. + */ + fetchTranslations: boolean; + + /** + * Defaults to true. If true, unrecognized phrases will be added to your Localize account. Disable this in development. + */ + saveNewPhrases: boolean; + + /** + * Defaults to true. If true, "alt" attributes will be translated. + */ + translateAlt: boolean; + + /** + * Defaults to false. Set to true to prefetch all active languages, or pass a language code or an array of codes to. + */ + prefetch: boolean; + + /** + * Array of class names for which Localize will ignore. + */ + blockedClasses: string[]; + + /** + * Array of class names for which Localize will translate. If you use this option, Localize will only translate content + * contained in these classes and will ignore all other content in the body of the page. + */ + translateClasses: string[]; + + /** + * Defaults to true. Automatically default the page language to the user's preferred language. The first path segment + * in the URL is used to check to detect the language, ie. www.localize.com/fr. If no language dictionary exists for that + * segment then the language setting in their browser is used. + */ + autodetectLanguage: boolean; + + /** + * Defaults to false. When true, Localize will attempt to translate the entire body of the page. + * If false, Localize will only translate content contained with a "localizejs" class name. + */ + translateBody: boolean; + + /** + * The default language your website will be in when no language has been selected. Defaults to the source language of your website. + */ + defaultLanguage: string; + + /** + * The base path will be stripped from the URL of the phrase as seen in the "Filter by pages" feature. + */ + basePath: string; + + /** + * Defaults to true. If true, the of the page will translate. + */ + translateTitle: boolean; + + /** + * Defaults to false. Allows users to turn on meta tag translation. This optimizes your site for SEO. + */ + translateMetaTags: boolean; + + /** + * Defaults to false. If true, Localize will detect phrases only when the page is not translated. + * Please contact support@localizejs.com prior to updating this option. + */ + saveNewPhrasesFromSource: boolean; + + /** + * Defaults to false. Automatically translate content that is added dynamically to your webpage. + * For example, if your webpage dynamically adds html into the source of the page, our library + * will translate it once the translations have been generated. Behind the scenes this means the + * dictionary file with all your translated content is available for use with Localize.translate(). + * However, translations are not generated instantly, so use with our library event updatedDictionary is recommended. + */ + retranslateOnNewPhrases: boolean; + + /** + * Defaults to false. If true, the Localize library will not send additional metadata to our servers. + * This metadata includes the surrounding HTML of the phrases detected on your website. + */ + enhancedContentSecurity: boolean; + + /** + * Defaults to false. If true, the Localize library will pick up phrases in the <time> elements. + */ + translateTimeElement: boolean; + + /** + * Defaults to false. If true, the Localize library will pick up numbers as phrases. + */ + translateNumbers: boolean; + } +} + +declare var Localize: { + /** + * Initializes LocalizeJS with the supplied options. + * @param options An object containing the supplied options. + */ + initialize(options: LocalizeJS.Context.Options): void; + + /** + * Translates the page into the given language. + * @param language Required. Language codes can be found on your Languages page. + */ + setLanguage(language: string): void + + /** + * Returns the current language of the page. If a language hasn't been set, source is returned. + */ + getLanguage(): string + + /** + * Returns the visitor's list of preferred languages, based on the browser's "accept-language" header. + * @param callback Required. + */ + detectLanguage(callback: () => void): void + + /** + * Returns all available languages for the project. + * @param callback Required. + */ + getAvailableLanguages(callback: () => void): void + + /** + * Translates text or text within html. + * + * If the Localize.translate() input is a string, instances of %{variable} will be replaced with the given value in the variables object. + * You may also use HTML <var> tags in the string + * + * If the active language is the source language of the page, Localize.translate will return the untranslated phrase. + * Localize.translate can be used with or without a callback. We highly recommend using the callback approach if you're calling + * Localize.translate in the first 10 seconds of page load to ensure that the latest translations are available. The callback will + * allow the translation to delay until translations have been fully loaded into the browser. If the translations are already + * loaded, the callback is executed immediately. + * + * @param input Required. Can be text, html or native DOM elements + * @param variables Optional. Object of variables that will be replaced in the input, if it's a string + * @param callback Optional. Callback will trigger once translations have been fetched from Localize. + */ + translate(input: string, variables?: any, callback?: () => void): void + + /** + * Translates all text on the page + */ + translatePage(): void + + /** + * Untranslates all text on the page + */ + untranslatePage(): void + + /** + * Untranslates a specified element on the page. Use Localize.untranslatePage() if untranslating the whole page. + * @param element Required. A DOM node to untranslate + */ + untranslate(element: string): void + + /** + * Bootstrapping translations enables your app to translate without fetching translations remotely from Localizejs.com + * @param translations Required. Generate properly formatted translations on your Languages page + */ + bootstrap(translations: any): void + + /** + * Speed up language switching by prefetching + * @param languages Required. Accepts a string or an array or languages (ex. 'zh-CN') + */ + prefetch(languages: string|string[]): void + + /** + * Saves the phrase, if unrecognized, to your Localize project. Useful for ensuring rarely printed text + * (ie. an obscure error message) is translated. Returns the phrase it was passed. + * @param phrase Required. A string or an array of strings + */ + phrase(phrase: string|string[]): string|string[] + + /** + * Attach an event handler to Localize events. + * @param eventName Required. Name of event to bind to. Can optionally be namespaced: "setLanguage.ns" + * @param fn Required. Event handler. + */ + on(eventName: "initialize" | "setLanguage" | "pluralize" | "translate" | "untranslatePage" | "updatedDictionary", fn: () => void): void + + /** + * Remove an event handler. + * @param eventName Required. Name of event to unbind to. Can optionally be namespaced: "setLanguage.ns" + * @param fn Optional. The () => void to unbind from the event. + */ + on(eventName: "initialize" | "setLanguage" | "pluralize" | "translate" | "untranslatePage" | "updatedDictionary", fn?: () => void): void + + /** + * Returns exchange rate for provided currencies. + * + * @param fromCurrency Required. The default source currency, to be converted from. + * @param toCurrency Required. The new currency, to be converted to. + * @param callback Required. Receives err and rateData arguments. + */ + getExchangeRate(fromCurrency: string, toCurrency: string, callback: () => void): void +}; diff --git a/types/localizejs-library/localizejs-library-tests.ts b/types/localizejs-library/localizejs-library-tests.ts new file mode 100644 index 0000000000..8566b984b5 --- /dev/null +++ b/types/localizejs-library/localizejs-library-tests.ts @@ -0,0 +1,3 @@ +const current = Localize.getLanguage(); + +Localize.setLanguage(current); diff --git a/types/localizejs-library/tsconfig.json b/types/localizejs-library/tsconfig.json new file mode 100644 index 0000000000..0dfeec7c44 --- /dev/null +++ b/types/localizejs-library/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "localizejs-library-tests.ts" + ] +} diff --git a/types/localizejs-library/tslint.json b/types/localizejs-library/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/localizejs-library/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From f12f41e198cdf329025be54337459ad7d61c90a5 Mon Sep 17 00:00:00 2001 From: Matt Traynham <skitch920@gmail.com> Date: Mon, 2 Oct 2017 15:14:44 -0400 Subject: [PATCH 064/433] Add dts-generator types (#20137) --- types/dts-generator/dts-generator-tests.ts | 3 + types/dts-generator/index.d.ts | 86 ++++++++++++++++++++++ types/dts-generator/tsconfig.json | 22 ++++++ types/dts-generator/tslint.json | 1 + 4 files changed, 112 insertions(+) create mode 100644 types/dts-generator/dts-generator-tests.ts create mode 100644 types/dts-generator/index.d.ts create mode 100644 types/dts-generator/tsconfig.json create mode 100644 types/dts-generator/tslint.json diff --git a/types/dts-generator/dts-generator-tests.ts b/types/dts-generator/dts-generator-tests.ts new file mode 100644 index 0000000000..76e37dc802 --- /dev/null +++ b/types/dts-generator/dts-generator-tests.ts @@ -0,0 +1,3 @@ +import dtsGenerator = require('dts-generator'); + +dtsGenerator({name: 'foo', out: 'bar'}); diff --git a/types/dts-generator/index.d.ts b/types/dts-generator/index.d.ts new file mode 100644 index 0000000000..9de25e1f91 --- /dev/null +++ b/types/dts-generator/index.d.ts @@ -0,0 +1,86 @@ +// Type definitions for dts-generator 2.1 +// Project: https://github.com/SitePen/dts-generator#readme +// Definitions by: Matt Traynham <https://github.com/mtraynham> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 + +import ts = require('typescript'); +import Bluebird = require('bluebird'); + +export = dtsGenerator; + +declare function dtsGenerator(options: dtsGenerator.DtsGeneratorOptions): Bluebird<void>; + +declare namespace dtsGenerator { + interface ResolveModuleIdParams { + /** The identifier of the module being declared in the generated d.ts */ + currentModuleId: string; + } + + interface ResolveModuleImportParams { + /** The identifier of the module currently being imported in the generated d.ts */ + importedModuleId: string; + + /** The identifier of the enclosing module currently being declared in the generated d.ts */ + currentModuleId: string; + + /** True if the imported module id is declared as a module in the input files. */ + isDeclaredExternalModule: boolean; + } + + interface DtsGeneratorOptions { + /** + * The base directory for the package being bundled. Any dependencies discovered outside this directory will be excluded + * from the bundle. + * Note this is no longer the preferred way to configure dts-generator, please see project. + */ + baseDir?: string; + /** + * A list of glob patterns, relative to baseDir, that should be excluded from the bundle. + * Use the --exclude flag one or more times on the command-line. Defaults to [ "node_modules\/**\/*.d.ts" ]. + */ + exclude?: string[]; + /** + * A list of external module reference paths that should be inserted as reference comments. + * Use the --extern flag one or more times on the command-line. + */ + externs?: string[]; + /** + * A list of external @types package dependencies that should be inserted as reference comments. + * Use the --types flag one or more times on the command-line. + */ + types?: string[]; + /** A list of files from the baseDir to bundle. */ + files?: string[]; + /** The end-of-line character that should be used when outputting code. Defaults to os.EOL. */ + eol?: string; + /** The character(s) that should be used to indent the declarations in the output. Defaults to \t. */ + indent?: string; + /** The module ID that should be used as the exported value of the package’s “main” module. */ + main?: string; + /** The type of module resolution to use when generating the bundle. */ + moduleResolution?: ts.ModuleResolutionKind; + /** The name of the package. Used to determine the correct exported package name for modules. */ + name: string; + /** The filename where the generated bundle will be created. */ + out: string; + /** + * The base directory for the project being bundled. It is assumed that this directory contains a + * tsconfig.json which will be parsed to determine the files that should be bundled as well as + * other configuration information like target + */ + project?: string; + /** The target environment for generated code. Defaults to ts.ScriptTarget.Latest. */ + target?: ts.ScriptTarget; + /** + * An optional callback provided by the invoker to customize the declared module ids the output d.ts files. + * @see {@link https://github.com/SitePen/dts-generator/blob/master/docs/resolving-module-ids.md Resolving Module Ids} + */ + resolveModuleId?(params: ResolveModuleIdParams): string; + /** + * An optional callback provided by the invoker to customize the imported module ids in the output d.ts files. + * @see {@link https://github.com/SitePen/dts-generator/blob/master/docs/resolving-module-ids.md Resolving Module Ids} + */ + resolveModuleImport?(params: ResolveModuleImportParams): string; + } +} diff --git a/types/dts-generator/tsconfig.json b/types/dts-generator/tsconfig.json new file mode 100644 index 0000000000..b1fa8686f2 --- /dev/null +++ b/types/dts-generator/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "dts-generator-tests.ts" + ] +} diff --git a/types/dts-generator/tslint.json b/types/dts-generator/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/dts-generator/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From ab5cdaf0ac46a34f2a0ca2c75a75b1151d09c79a Mon Sep 17 00:00:00 2001 From: smhxx <captaintrek@gmail.com> Date: Mon, 2 Oct 2017 14:18:17 -0500 Subject: [PATCH 065/433] Add type definitions for atom/node-oniguruma (oniguruma on npm) (#20149) --- types/oniguruma/index.d.ts | 166 +++++++++++++++++++++++++++++ types/oniguruma/oniguruma-tests.ts | 84 +++++++++++++++ types/oniguruma/tsconfig.json | 23 ++++ types/oniguruma/tslint.json | 1 + 4 files changed, 274 insertions(+) create mode 100644 types/oniguruma/index.d.ts create mode 100644 types/oniguruma/oniguruma-tests.ts create mode 100644 types/oniguruma/tsconfig.json create mode 100644 types/oniguruma/tslint.json diff --git a/types/oniguruma/index.d.ts b/types/oniguruma/index.d.ts new file mode 100644 index 0000000000..4734ae39ee --- /dev/null +++ b/types/oniguruma/index.d.ts @@ -0,0 +1,166 @@ +// Type definitions for oniguruma 7.0 +// Project: http://atom.github.io/node-oniguruma +// Definitions by: smhxx <https://github.com/smhxx> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/** An (error, match) callback function to be invoked after an asynchronous + * search operation is completed. The type of T varies slightly based on the + * method being called. + */ +export type Callback<T> = (error: Error, match: T) => void; + +/** An object representing a range within a search string, corresponding to + * either a full-string match, or a capturing group within a match. + */ +export interface CaptureIndex { + /** The index of the capturing group, or 0 for a full-string match */ + index: number; + /** The position in the search string where the capture begins */ + start: number; + /** The position in the search string where the capture ends */ + end: number; + /** The total character length of the capture */ + length: number; +} + +/** An object representing one successful regex match between a pattern and a + * search string. + */ +export interface Match { + /** The index of the best pattern match */ + index: number; + /** An array holding all of the captures (full match + capturing groups) */ + captureIndices: CaptureIndex[]; +} + +/** An object representing a single regex pattern, which can be used to + * interrogate strings for matches against that pattern. + */ +export class OnigRegExp { + /** Create a new regex with the given pattern + * @param pattern A string pattern + */ + constructor(pattern: string); + + /** The regex pattern that the OnigRegExp matches against */ + readonly source: string; + /** The OnigScanner instance used internally for regex matching */ + readonly scanner: OnigScanner; + + /** Augment the capture indices for the given Match object by extracting + * the substrings associated with each capture, assinging them to the + * CaptureIndex object's 'match' property + * @param string The search string from which 'match' resulted + * @param match The Match object containing the matches of the search + * @return An array of CaptureIndex objects which have been augmented with + * the original text that triggered the match + */ + captureIndicesForMatch(string: any, match: Match): + Array<CaptureIndex & { match: string }>; + /** Search the string for a match starting at the given position. + * @param string The string to search. + * @param startPosition The optional position to start at, defaults to 0 + * @param callback The (error, match) function to call when done. Match will + * be null if no matches were found. Otherwise, match will be an + * array of objects for each matched group. + */ + search(string: string, startPosition: number, + callback: Callback<CaptureIndex[] | null>): void; + /** Search the string for a match starting at the beginning of the string. + * @param string The string to search. + * @param callback The (error, match) function to call when done. Match will + * be null if no matches were found. Otherwise, match will be an + * array of objects for each matched group. + */ + search(string: string, + callback: Callback<CaptureIndex[] | null>): void; + /** Synchronously search the string for a match starting at the given + * position. + * @param string The string to search. + * @param startPosition The optional position to start at, defaults to 0 + * @return An array of objects representing each matched group, or null if + * there were no matches. + */ + searchSync(string: string, startPosition?: number): CaptureIndex[] | null; + /** Test if this regular expression matches the given string. + * @param string The string to test against. + * @param callback The (error, matches) function to call when done. Matches + * will be true if at least one match was found, or false otherwise. + */ + test(sring: string, callback: Callback<boolean>): void; + /** Synchronously test if this regular expression matches the given string. + * @param string The string to test against. + * @return True if there is at least one match, or false otherwise. + */ + testSync(string: string): boolean; +} + +/** An object representing one OR MORE regex patterns, which can be used to + * interrogate strings for matches against any of the supplied patterns. + */ +export class OnigScanner { + /** Create a new scanner with the given patterns. + * @param patterns An array of string patterns. + */ + constructor(patterns: ReadonlyArray<string>); + + /** Find the next match from a given position + * @param string The string to search + * @param startPosition The optional position to start at, defaults to 0 + * @param callback The (error, match) function to be called when done. Match + * will be null when there is no match. + * @return void + */ + findNextMatch(string: string, startPosition: number, + callback: Callback<Match | null>): void; + /** Find the next match from the beginning of a string + * @param string The string to search + * @param callback The (error, match) function to be called when done. Match + * will be null when there is no match. + * @return void + */ + findNextMatch(string: string, callback: Callback<Match | null>): void; + /** Synchronously find the next match from a given position + * @param string The string to search + * @param startPosition The optional position to start at, defaults to 0 + * @return An object containing details about the match, or null if no match + */ + findNextMatchSync(string: string, startPosition?: number): Match | null; + /** Coerce the provided value into either a string primitive or a wrapped + * OnigString object. + * @param value A value of any type + * @return A string primitive or OnigString object representing 'value' + */ + private convertToString(value: any): string | OnigString; + /** Coerce the provided value into a number + * @param value A value of any type + * @return A number representing 'value' + */ + private convertToNumber(value: any): number; +} + +/** An object class used internally as a wrapper for JavaScript string + * primitives. + */ +export class OnigString { + /** Wrap a string primitive in a new OnigString object + * @param string The string primitive to be wrapped + */ + constructor(string: string); + + /** The character length of the string primitive wrapped by the object */ + readonly length: number; + /** The string primitive wrapped by the object */ + readonly content: string; + + /** Returns a reference the string primitive wrapped by the object + * @return A reference to the wrapped string primitive + */ + toString(): string; + /** Returns a substring of the string primitive wrapped by the object + * @param start The index of the first character to include + * @param end The index before which the substring should end + * @return A new string primitive containing the specified index range + */ + substring(start: number, end: number): string; +} diff --git a/types/oniguruma/oniguruma-tests.ts b/types/oniguruma/oniguruma-tests.ts new file mode 100644 index 0000000000..4aa9a83baf --- /dev/null +++ b/types/oniguruma/oniguruma-tests.ts @@ -0,0 +1,84 @@ +import { + OnigRegExp, + OnigScanner, + OnigString, + CaptureIndex, + Match +} from 'oniguruma'; + +// Test OnigRegExp +let aString: string; +let aBoolean: boolean; +const usPhoneNumber = new OnigRegExp( + '(?:\\+?1[- ]?)?(?:\\([0-9]{3}\\)|[0-9]{3})[- ]?[0-9]{3}[- ]?[0-9]{4}' +); +const phoneBook = '(318) 555-1204, 18004389216, donotreply@blep.gov'; +aString = usPhoneNumber.source; +let result: CaptureIndex[] | null; +result = usPhoneNumber.searchSync(phoneBook, 0); +result = usPhoneNumber.searchSync(phoneBook); +aBoolean = usPhoneNumber.testSync(phoneBook); + +const searchCallback = (err: Error, match: CaptureIndex[] | null) => { + if (match !== null) { + console.log(match.length); + } else if (err) { + throw err; + } +}; +usPhoneNumber.search(phoneBook, searchCallback); +usPhoneNumber.search(phoneBook, 8, searchCallback); + +const testCallback = (err: Error, match: boolean) => { + if (match) { + console.log('It matched! :D'); + } +}; +usPhoneNumber.test(phoneBook, testCallback); + +const foo = usPhoneNumber.captureIndicesForMatch(phoneBook, { + index: 0, + captureIndices: [ + { index: 0, start: 0, end: 15, length: 15 } + ] +}); +for (const index of foo) { + let bar: string; + bar = index.match; + console.log(bar); +} + +// Test OnigScanner +let aMatch: Match; +let scanner: OnigScanner; +scanner = usPhoneNumber.scanner; +scanner = new OnigScanner(['abc', 'def']); +scanner.findNextMatch('dcfedeabcedfdef', (err: Error, match: Match | null) => { + if (match !== null) { + aMatch = match; + } +}); +scanner.findNextMatch('dcfedeabcedfdef', 8, (err: Error, match: Match | null) => { + if (match !== null) { + aMatch = match; + } +}); +let rv = scanner.findNextMatchSync('dcfedeabcedfdef'); +if (rv !== null) { + aMatch = rv; +} +rv = scanner.findNextMatchSync('dcfedeabcedfdef', 8); +if (rv !== null) { + aMatch = rv; +} + +// Test OnigString +const blep = new OnigString('bar'); +let blepLength: number; +blepLength = blep.length; +let blepContent: string; +blepContent = blep.content; +let blepToString: string; +blepToString = blep.toString(); +let blepSubstring: string; +blepSubstring = blep.substring(0, 2); diff --git a/types/oniguruma/tsconfig.json b/types/oniguruma/tsconfig.json new file mode 100644 index 0000000000..3f338cdbab --- /dev/null +++ b/types/oniguruma/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "oniguruma-tests.ts" + ] +} diff --git a/types/oniguruma/tslint.json b/types/oniguruma/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/oniguruma/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 460302420194baed69f57e5fdfbcf45e0cb9ba5b Mon Sep 17 00:00:00 2001 From: Matt Traynham <skitch920@gmail.com> Date: Mon, 2 Oct 2017 15:21:31 -0400 Subject: [PATCH 066/433] Add type definitions for webpack-chunk-hash plugin (#20145) --- types/webpack-chunk-hash/index.d.ts | 34 +++++++++++++++++++ types/webpack-chunk-hash/tsconfig.json | 22 ++++++++++++ types/webpack-chunk-hash/tslint.json | 1 + .../webpack-chunk-hash-tests.ts | 15 ++++++++ 4 files changed, 72 insertions(+) create mode 100644 types/webpack-chunk-hash/index.d.ts create mode 100644 types/webpack-chunk-hash/tsconfig.json create mode 100644 types/webpack-chunk-hash/tslint.json create mode 100644 types/webpack-chunk-hash/webpack-chunk-hash-tests.ts diff --git a/types/webpack-chunk-hash/index.d.ts b/types/webpack-chunk-hash/index.d.ts new file mode 100644 index 0000000000..dc8f697a44 --- /dev/null +++ b/types/webpack-chunk-hash/index.d.ts @@ -0,0 +1,34 @@ +// Type definitions for webpack-chunk-hash 0.4 +// Project: https://github.com/alexindigo/webpack-chunk-hash#readme +// Definitions by: Matt Traynham <https://github.com/mtraynham> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +import webpack = require('webpack'); + +export = WebpackChunkHash; + +declare class WebpackChunkHash extends webpack.Plugin { + constructor(options?: WebpackChunkHash.Options); +} + +declare namespace WebpackChunkHash { + interface Options { + /** + * @default 'md5' + * @description The hash algorithm to use + * @see {@link https://nodejs.org/api/crypto.html#crypto_crypto_createhash_algorithm_options} + */ + algorithm?: string; + /** + * @default 'hex' + * @description The digest enconding to use + * @see {@link https://nodejs.org/api/crypto.html#crypto_crypto_createhash_algorithm_options} + */ + digest?: 'hex' | 'latin1' | 'base64'; + /** + * @default null + * @description A callback to add more content to the resulting hash + */ + additionalHashContent?(chunk: any): string; + } +} diff --git a/types/webpack-chunk-hash/tsconfig.json b/types/webpack-chunk-hash/tsconfig.json new file mode 100644 index 0000000000..1d6e971b9d --- /dev/null +++ b/types/webpack-chunk-hash/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "webpack-chunk-hash-tests.ts" + ] +} diff --git a/types/webpack-chunk-hash/tslint.json b/types/webpack-chunk-hash/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/webpack-chunk-hash/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } diff --git a/types/webpack-chunk-hash/webpack-chunk-hash-tests.ts b/types/webpack-chunk-hash/webpack-chunk-hash-tests.ts new file mode 100644 index 0000000000..56a7be1579 --- /dev/null +++ b/types/webpack-chunk-hash/webpack-chunk-hash-tests.ts @@ -0,0 +1,15 @@ +import webpack = require('webpack'); +import WebpackChunkHashPlugin = require('webpack-chunk-hash'); + +const a: webpack.Configuration = { + entry: 'test.js', + plugins: [ + new WebpackChunkHashPlugin() + ] +}; +const b: webpack.Configuration = { + entry: 'test.js', + plugins: [ + new WebpackChunkHashPlugin({algorithm: 'sha-256', digest: 'latin1', additionalHashContent: () => 'test'}) + ] +}; From d21b17c876ae9d54538d0bd3217266b157a3e761 Mon Sep 17 00:00:00 2001 From: Matt Traynham <skitch920@gmail.com> Date: Mon, 2 Oct 2017 15:22:33 -0400 Subject: [PATCH 067/433] Add type definitions for karma-webpack (#20140) --- types/karma-webpack/index.d.ts | 38 ++++++++++++++++++++++ types/karma-webpack/karma-webpack-tests.ts | 14 ++++++++ types/karma-webpack/tsconfig.json | 25 ++++++++++++++ types/karma-webpack/tslint.json | 1 + 4 files changed, 78 insertions(+) create mode 100644 types/karma-webpack/index.d.ts create mode 100644 types/karma-webpack/karma-webpack-tests.ts create mode 100644 types/karma-webpack/tsconfig.json create mode 100644 types/karma-webpack/tslint.json diff --git a/types/karma-webpack/index.d.ts b/types/karma-webpack/index.d.ts new file mode 100644 index 0000000000..0042ff01a3 --- /dev/null +++ b/types/karma-webpack/index.d.ts @@ -0,0 +1,38 @@ +// Type definitions for karma-webpack 2.0 +// Project: http://github.com/webpack/karma-webpack +// Definitions by: Matt Traynham <https://github.com/mtraynham> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +import * as m from 'karma'; +import webpack = require('webpack'); +import webpackDevMiddleware = require('webpack-dev-middleware'); + +declare module 'karma' { + // Note: karma-webpack will set publicPath for us, so it is optional here. + // Unfortuantely, Typescript doesn't let you overload properties, so + // the entire definition is duplicated here. + interface KarmaWebpackMiddlewareOptions /** extends webpackDevMiddleware.Options */ { + noInfo?: boolean; + quiet?: boolean; + lazy?: boolean; + watchOptions?: webpack.Options.WatchOptions; + publicPath?: string; + index?: string; + headers?: { + [name: string]: string; + }; + stats?: webpack.Options.Stats; + reporter?: webpackDevMiddleware.Reporter | null; + serverSideRender?: boolean; + + log?: webpackDevMiddleware.Logger; + warn?: webpackDevMiddleware.Logger; + error?: webpackDevMiddleware.Logger; + filename?: string; + } + + interface ConfigOptions { + webpack: webpack.Configuration; + webpackMiddlewareOptions: KarmaWebpackMiddlewareOptions; + } +} diff --git a/types/karma-webpack/karma-webpack-tests.ts b/types/karma-webpack/karma-webpack-tests.ts new file mode 100644 index 0000000000..b04b02f9db --- /dev/null +++ b/types/karma-webpack/karma-webpack-tests.ts @@ -0,0 +1,14 @@ +import karma = require('karma'); + +export default function(config: karma.Config): void { + config.set({ + files: ['src/index.spec.ts'], + browsers: ['ChromeHeadless'], + singleRun: true, + frameworks: ['jasmine'], + preprocessors: {'src/index.spec.ts': ['webpack', 'sourcemap']}, + webpack: {entry: 'test.js'}, + webpackMiddlewareOptions: {noInfo: true}, + reporters: ['spec'] + }); +} diff --git a/types/karma-webpack/tsconfig.json b/types/karma-webpack/tsconfig.json new file mode 100644 index 0000000000..6f357958af --- /dev/null +++ b/types/karma-webpack/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "paths": { + "q": [ "q/v0" ] + }, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "karma-webpack-tests.ts" + ] +} diff --git a/types/karma-webpack/tslint.json b/types/karma-webpack/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/karma-webpack/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From e7819a5f5ad290cacd92364c096a4660864e4b98 Mon Sep 17 00:00:00 2001 From: Matt Traynham <skitch920@gmail.com> Date: Mon, 2 Oct 2017 15:26:40 -0400 Subject: [PATCH 068/433] Add type definitions for webpack-node-externals (#20143) --- types/webpack-node-externals/index.d.ts | 51 +++++++++++++++++++ types/webpack-node-externals/tsconfig.json | 22 ++++++++ types/webpack-node-externals/tslint.json | 1 + .../webpack-node-externals-tests.ts | 21 ++++++++ 4 files changed, 95 insertions(+) create mode 100644 types/webpack-node-externals/index.d.ts create mode 100644 types/webpack-node-externals/tsconfig.json create mode 100644 types/webpack-node-externals/tslint.json create mode 100644 types/webpack-node-externals/webpack-node-externals-tests.ts diff --git a/types/webpack-node-externals/index.d.ts b/types/webpack-node-externals/index.d.ts new file mode 100644 index 0000000000..e1a4078c26 --- /dev/null +++ b/types/webpack-node-externals/index.d.ts @@ -0,0 +1,51 @@ +// Type definitions for webpack-node-externals 1.6 +// Project: https://github.com/liady/webpack-node-externals +// Definitions by: Matt Traynham <https://github.com/mtraynham> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +import webpack = require('webpack'); + +export = webpackNodeExternals; + +declare function webpackNodeExternals(options?: webpackNodeExternals.Options): webpack.ExternalsFunctionElement; + +declare namespace webpackNodeExternals { + type WhitelistOption = string | RegExp; + + interface Options { + /** + * An array for the externals to whitelist, so they will be included in the bundle. + * Can accept exact strings ('module_name'), regex patterns (/^module_name/), or a + * function that accepts the module name and returns whether it should be included. + * Important - if you have set aliases in your webpack config with the exact + * same names as modules in node_modules, you need to whitelist them so Webpack will know + * they should be bundled. + * @default [] + */ + whitelist?: WhitelistOption[]; + /** + * @default ['.bin'] + */ + binaryDirs?: string[]; + /** + * The method in which unbundled modules will be required in the code. Best to leave as + * 'commonjs' for node modules. + * @default 'commonjs' + */ + importType?: 'var' | 'this' | 'commonjs' | 'amd' | 'umd'; + /** + * The folder in which to search for the node modules. + * @default 'node_modules' + */ + modulesDir?: string; + /** + * Read the modules from the package.json file instead of the node_modules folder. + * @default false + */ + modulesFromFile?: boolean; + /** + * @default false + */ + includeAbsolutePaths?: boolean; + } +} diff --git a/types/webpack-node-externals/tsconfig.json b/types/webpack-node-externals/tsconfig.json new file mode 100644 index 0000000000..70e62e7b0c --- /dev/null +++ b/types/webpack-node-externals/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "webpack-node-externals-tests.ts" + ] +} diff --git a/types/webpack-node-externals/tslint.json b/types/webpack-node-externals/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/webpack-node-externals/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } diff --git a/types/webpack-node-externals/webpack-node-externals-tests.ts b/types/webpack-node-externals/webpack-node-externals-tests.ts new file mode 100644 index 0000000000..0fc309d280 --- /dev/null +++ b/types/webpack-node-externals/webpack-node-externals-tests.ts @@ -0,0 +1,21 @@ +import webpack = require('webpack'); +import webpackNodeExternals = require('webpack-node-externals'); + +const a: webpack.Configuration = { + entry: 'test.js', + externals: [ + webpackNodeExternals() + ] +}; +const b: webpack.Configuration = { + entry: 'test.js', + externals: webpackNodeExternals() +}; +const c: webpack.Configuration = { + entry: 'test.js', + externals: [ + webpackNodeExternals({ + whitelist: ['jquery', 'webpack/hot/dev-server', /^lodash/] + }) + ] +}; From 00356e86fa7863dac3cab25d22398a1d41174c63 Mon Sep 17 00:00:00 2001 From: Matt Traynham <skitch920@gmail.com> Date: Mon, 2 Oct 2017 15:30:01 -0400 Subject: [PATCH 069/433] Add types for duplicate-package-checker-webpack-plugin (#20141) --- ...te-package-checker-webpack-plugin-tests.ts | 24 +++++++++++++++++++ .../index.d.ts | 21 ++++++++++++++++ .../tsconfig.json | 22 +++++++++++++++++ .../tslint.json | 1 + 4 files changed, 68 insertions(+) create mode 100644 types/duplicate-package-checker-webpack-plugin/duplicate-package-checker-webpack-plugin-tests.ts create mode 100644 types/duplicate-package-checker-webpack-plugin/index.d.ts create mode 100644 types/duplicate-package-checker-webpack-plugin/tsconfig.json create mode 100644 types/duplicate-package-checker-webpack-plugin/tslint.json diff --git a/types/duplicate-package-checker-webpack-plugin/duplicate-package-checker-webpack-plugin-tests.ts b/types/duplicate-package-checker-webpack-plugin/duplicate-package-checker-webpack-plugin-tests.ts new file mode 100644 index 0000000000..0552f0e7c4 --- /dev/null +++ b/types/duplicate-package-checker-webpack-plugin/duplicate-package-checker-webpack-plugin-tests.ts @@ -0,0 +1,24 @@ +import webpack = require('webpack'); +import DuplicatePackageCheckerWebpackPlugin = require('duplicate-package-checker-webpack-plugin'); + +const a: webpack.Configuration = { + entry: 'test.js', + plugins: [ + new DuplicatePackageCheckerWebpackPlugin() + ] +}; +const b: webpack.Configuration = { + entry: 'test.js', + plugins: [ + new DuplicatePackageCheckerWebpackPlugin({}) + ] +}; +const c: webpack.Configuration = { + entry: 'test.js', + plugins: [ + new DuplicatePackageCheckerWebpackPlugin({ + verbose: true, + emitError: true + }) + ] +}; diff --git a/types/duplicate-package-checker-webpack-plugin/index.d.ts b/types/duplicate-package-checker-webpack-plugin/index.d.ts new file mode 100644 index 0000000000..88d8ccd54c --- /dev/null +++ b/types/duplicate-package-checker-webpack-plugin/index.d.ts @@ -0,0 +1,21 @@ +// Type definitions for duplicate-package-checker-webpack-plugin 1.2 +// Project: https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme +// Definitions by: Matt Traynham <https://github.com/mtraynham> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +import webpack = require('webpack'); + +export = DuplicatePackageCheckerWebpackPlugin; + +declare class DuplicatePackageCheckerWebpackPlugin extends webpack.Plugin { + constructor(options?: DuplicatePackageCheckerWebpackPlugin.Options); +} + +declare namespace DuplicatePackageCheckerWebpackPlugin { + interface Options { + // Also show module that is requiring each duplicate package + verbose?: boolean; + // Emit errors instead of warnings + emitError?: boolean; + } +} diff --git a/types/duplicate-package-checker-webpack-plugin/tsconfig.json b/types/duplicate-package-checker-webpack-plugin/tsconfig.json new file mode 100644 index 0000000000..7b3dc55ffe --- /dev/null +++ b/types/duplicate-package-checker-webpack-plugin/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "duplicate-package-checker-webpack-plugin-tests.ts" + ] +} diff --git a/types/duplicate-package-checker-webpack-plugin/tslint.json b/types/duplicate-package-checker-webpack-plugin/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/duplicate-package-checker-webpack-plugin/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 509cff841cf4cdd1774c79c8e771bec82f971ef7 Mon Sep 17 00:00:00 2001 From: Jan Bevers <janbevers87@gmail.com> Date: Mon, 2 Oct 2017 21:31:25 +0200 Subject: [PATCH 070/433] Added typings for redux-first-router-link (#20104) --- types/redux-first-router-link/index.d.ts | 56 +++++++++++++++++++ .../redux-first-router-link-tests.tsx | 31 ++++++++++ types/redux-first-router-link/tsconfig.json | 24 ++++++++ types/redux-first-router-link/tslint.json | 1 + 4 files changed, 112 insertions(+) create mode 100644 types/redux-first-router-link/index.d.ts create mode 100644 types/redux-first-router-link/redux-first-router-link-tests.tsx create mode 100644 types/redux-first-router-link/tsconfig.json create mode 100644 types/redux-first-router-link/tslint.json diff --git a/types/redux-first-router-link/index.d.ts b/types/redux-first-router-link/index.d.ts new file mode 100644 index 0000000000..d7b2e7a079 --- /dev/null +++ b/types/redux-first-router-link/index.d.ts @@ -0,0 +1,56 @@ +// Type definitions for redux-first-router-link 1.4 +// Project: https://github.com/faceyspacey/redux-first-router-link#readme +// Definitions by: janb87 <https://github.com/janb87> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.4 + +import * as React from "react"; +import { Location } from 'redux-first-router'; + +export type To = string | string[] | object; + +export type OnClick = false | ((e: React.SyntheticEvent<HTMLElement>) => boolean | undefined); + +export interface Match<P> { + params: P; + isExact: boolean; + path: string; + url: string; +} + +export interface LinkProps { + to: To; + redirect?: boolean; + replace?: boolean; + tagName?: string; + children?: React.ReactNode; + onPress?: OnClick; + onClick?: OnClick; + down?: boolean; + shouldDispatch?: boolean; + target?: string; +} + +export default class Link extends React.Component<LinkProps> {} + +export interface NavLinkProps { + to: To; + redirect?: boolean; + replace?: boolean; + children?: React.ReactNode; + onPress?: OnClick; + onClick?: OnClick; + down?: boolean; + shouldDispatch?: boolean; + target?: string; + className?: string; + style?: React.CSSProperties; + activeClassName?: string; + activeStyle?: React.CSSProperties; + ariaCurrent?: string; + exact?: boolean; + strict?: boolean; + isActive?(match: Match<object>, location: Location): boolean; +} + +export class NavLink extends React.Component<NavLinkProps> {} diff --git a/types/redux-first-router-link/redux-first-router-link-tests.tsx b/types/redux-first-router-link/redux-first-router-link-tests.tsx new file mode 100644 index 0000000000..01889e5fe1 --- /dev/null +++ b/types/redux-first-router-link/redux-first-router-link-tests.tsx @@ -0,0 +1,31 @@ +import * as React from "react"; +import Link, { NavLink } from "redux-first-router-link"; + +interface Payload { + category: string; +} + +export default () => { + return ( + <div> + { /* as a standard href path string: */ } + <Link to='/list/db-graphql'>DB & GRAPHQL</Link> + + { /* as an array of path segments: */ } + <Link to={['list', 'react-redux']}>REACT & REDUX</Link> + + { /* as an action object (RECOMMENDED APPROACH SO YOU CAN CHANGE ALL URLs FROM YOUR ROUTESMAP): */ } + <Link to={{type: 'LIST', payload: { category: 'fp' }}}>FP</Link> + + <NavLink + to={{ type: 'LIST', payload: { category: 'redux-first-router' } }} + activeClassName='active' + activeStyle={{ color: 'purple' }} + exact={true} + strict={true} + isActive={(match, location) => (location.payload as Payload).category === 'redux-first-router'} > + Redux First Router + </NavLink> + </div> + ); +}; diff --git a/types/redux-first-router-link/tsconfig.json b/types/redux-first-router-link/tsconfig.json new file mode 100644 index 0000000000..ea8c862f20 --- /dev/null +++ b/types/redux-first-router-link/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "jsx": "react" + }, + "files": [ + "index.d.ts", + "redux-first-router-link-tests.tsx" + ] +} diff --git a/types/redux-first-router-link/tslint.json b/types/redux-first-router-link/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/redux-first-router-link/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From bd863e9ed2f2584eca6dfe8221d63ce6fcc1e3fb Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Mon, 2 Oct 2017 13:00:54 -0700 Subject: [PATCH 071/433] i18next/v2: Fix lint (#20212) --- types/i18next/v2/tslint.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/i18next/v2/tslint.json b/types/i18next/v2/tslint.json index 23714c9cea..3d8ba29b42 100644 --- a/types/i18next/v2/tslint.json +++ b/types/i18next/v2/tslint.json @@ -1,8 +1,8 @@ { "extends": "dtslint/dt.json", "rules": { - "interface-name": [ - false - ] + // TODOs + "interface-name": false, + "no-any-union": false } } From aeea74dbb61f0a137058c02694bd676db5e9724d Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Mon, 2 Oct 2017 13:01:04 -0700 Subject: [PATCH 072/433] sencha_touch: Make type of getScrollable() match interface (again) (#20211) --- types/sencha_touch/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/sencha_touch/index.d.ts b/types/sencha_touch/index.d.ts index 733fcb7673..85cc9d5ed6 100644 --- a/types/sencha_touch/index.d.ts +++ b/types/sencha_touch/index.d.ts @@ -17187,7 +17187,7 @@ declare namespace Ext { /** [Method] Returns the value of scrollable * @returns Boolean */ - getScrollable?(): boolean; + getScrollable?(): Ext.scroll.IView; /** [Method] Returns the value of selectedCls * @returns String */ From bfafb5ffc60339a5a713f7e1655408f8ebb9d9ce Mon Sep 17 00:00:00 2001 From: nickmorton <github@nick.morton.name> Date: Mon, 2 Oct 2017 21:05:32 +0100 Subject: [PATCH 073/433] [swaggerize-express] Add RequestHandler array to RouteSegment i/f (#20001) * Added RequestHandler array to RouteSegment i/f Also replaced a couple of String declarations with string. * Removed spread operators to downgrade to TypeScript 2.0 --- types/swaggerize-express/index.d.ts | 6 +-- .../swaggerize-express-tests.ts | 50 +++++++++++-------- 2 files changed, 31 insertions(+), 25 deletions(-) diff --git a/types/swaggerize-express/index.d.ts b/types/swaggerize-express/index.d.ts index 49f2fef004..d7a8df14bb 100644 --- a/types/swaggerize-express/index.d.ts +++ b/types/swaggerize-express/index.d.ts @@ -224,13 +224,13 @@ declare namespace swaggerize { } export interface RouteSegment { - [urlSegment: string]: RouteSegment | express.RequestHandler; + [urlSegment: string]: RouteSegment | express.RequestHandler | express.RequestHandler[]; } export interface Options { api: Swagger.ApiDefinition - docspath: String - handlers: String | RouteSegment + docspath: string + handlers: string | RouteSegment } export interface IConfig { diff --git a/types/swaggerize-express/swaggerize-express-tests.ts b/types/swaggerize-express/swaggerize-express-tests.ts index 79d453f29d..9dd0e1e718 100644 --- a/types/swaggerize-express/swaggerize-express-tests.ts +++ b/types/swaggerize-express/swaggerize-express-tests.ts @@ -2,35 +2,26 @@ import http = require('http'); import express = require('express'); import swaggerize = require('swaggerize-express'); +const api = { + swagger: "2.0", + host: "localhost:8080", + info: { + title: "swaggerize-express.d.ts test", + version: "1" + }, + paths: { + } +}; + var app = express(); app.use(swaggerize(<swaggerize.Options>{ - api: { - swagger: "2.0", - host: "localhost:8080", - info: { - title: "swaggerize-express.d.ts test", - version: "1" - }, - paths: { - - } - }, + api, docspath: '/api-docs', handlers: './handlers' })); app.use(swaggerize(<swaggerize.Options>{ - api: { - swagger: "2.0", - host: "localhost:8080", - info: { - title: "swaggerize-express.d.ts test", - version: "1" - }, - paths: { - - } - }, + api, docspath: '/api-docs', handlers: { 'api': { @@ -43,6 +34,21 @@ app.use(swaggerize(<swaggerize.Options>{ } })); +app.use(swaggerize(<swaggerize.Options>{ + api, + docspath: '/api-docs', + handlers: { + 'api': { + 'authenticated-path': { + '$get': [ + (req: express.Request, res: express.Response, next: express.NextFunction) => next(), + (req: express.Request, res: express.Response) => res.send('v1'), + ] + } + } + } +})); + var server = app.listen(18888, 'localhost', function () { (<swaggerize.SwaggerizedExpress>app).swagger.api.host = server.address().address + ':' + server.address().port; }); From 97642087296f65268787a9d67b7a95e4471e2dff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Iglesias?= <jesusgiglesias@gmail.com> Date: Mon, 2 Oct 2017 22:09:11 +0200 Subject: [PATCH 074/433] Fixes #19714. Webdriverio issue (#20040) --- types/webdriverio/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/webdriverio/index.d.ts b/types/webdriverio/index.d.ts index ff0628ced4..f1d37d0f88 100644 --- a/types/webdriverio/index.d.ts +++ b/types/webdriverio/index.d.ts @@ -1209,7 +1209,7 @@ declare namespace WebdriverIO { init<P>(capabilities?: DesiredCapabilities): Client<P>; /** @deprecated in favour of Actions.keyDown */ - keys(value: string | string[]): Client<RawResult<null>> & RawResult<null> & never; + keys(value: string | string[]): Client<RawResult<null>> & RawResult<null> & Client<void>; /** @deprecated in favour of Actions.keyDown */ keys<P>(value: string | string[]): Client<P>; From 2717cfa52c5cdab7e234459643fcc90d7382a222 Mon Sep 17 00:00:00 2001 From: Dibyo Majumdar <dibyo.majumdar@gmail.com> Date: Mon, 2 Oct 2017 13:10:11 -0700 Subject: [PATCH 075/433] [react-redux] Add `createProvider` (#20052) * Add ConnectFunction interface * Add createProvider function declaration * Add documentation for createProvider * Update documentation for Connect * Add new author * Add test for createProvider --- types/react-redux/index.d.ts | 129 ++++++++++++++---------- types/react-redux/react-redux-tests.tsx | 64 ++++++++++-- 2 files changed, 127 insertions(+), 66 deletions(-) diff --git a/types/react-redux/index.d.ts b/types/react-redux/index.d.ts index 4d3ae2f5c5..203ce7f791 100644 --- a/types/react-redux/index.d.ts +++ b/types/react-redux/index.d.ts @@ -6,6 +6,7 @@ // Curits Layne <https://github.com/clayne11> // Frank Tan <https://github.com/tansongyang> // Nicholas Boll <https://github.com/nicholasboll> +// Dibyo Majumdar <https://github.com/mdibyo> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.4 @@ -66,73 +67,80 @@ export type InferableComponentEnhancer<TInjectedProps> = * @param mergeProps * @param options */ -export declare function connect(): InferableComponentEnhancer<DispatchProp<any>>; +export interface Connect { + (): InferableComponentEnhancer<DispatchProp<any>>; -export declare function connect<TStateProps = {}, no_dispatch = {}, TOwnProps = {}>( - mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps> -): InferableComponentEnhancerWithProps<TStateProps & DispatchProp<any>, TOwnProps>; + <TStateProps = {}, no_dispatch = {}, TOwnProps = {}>( + mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps> + ): InferableComponentEnhancerWithProps<TStateProps & DispatchProp<any>, TOwnProps>; -export declare function connect<no_state = {}, TDispatchProps = {}, TOwnProps = {}>( - mapStateToProps: null | undefined, - mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps> -): InferableComponentEnhancerWithProps<TDispatchProps, TOwnProps>; + <no_state = {}, TDispatchProps = {}, TOwnProps = {}>( + mapStateToProps: null | undefined, + mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps> + ): InferableComponentEnhancerWithProps<TDispatchProps, TOwnProps>; -export declare function connect<TStateProps = {}, TDispatchProps = {}, TOwnProps = {}>( - mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps>, - mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps> -): InferableComponentEnhancerWithProps<TStateProps & TDispatchProps, TOwnProps>; + <TStateProps = {}, TDispatchProps = {}, TOwnProps = {}>( + mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps>, + mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps> + ): InferableComponentEnhancerWithProps<TStateProps & TDispatchProps, TOwnProps>; -export declare function connect<TStateProps = {}, no_dispatch = {}, TOwnProps = {}, TMergedProps = {}>( - mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps>, - mapDispatchToProps: null | undefined, - mergeProps: MergeProps<TStateProps, undefined, TOwnProps, TMergedProps>, -): InferableComponentEnhancerWithProps<TMergedProps, TOwnProps>; + <TStateProps = {}, no_dispatch = {}, TOwnProps = {}, TMergedProps = {}>( + mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps>, + mapDispatchToProps: null | undefined, + mergeProps: MergeProps<TStateProps, undefined, TOwnProps, TMergedProps>, + ): InferableComponentEnhancerWithProps<TMergedProps, TOwnProps>; -export declare function connect<no_state = {}, TDispatchProps = {}, TOwnProps = {}, TMergedProps = {}>( - mapStateToProps: null | undefined, - mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps>, - mergeProps: MergeProps<undefined, TDispatchProps, TOwnProps, TMergedProps>, -): InferableComponentEnhancerWithProps<TMergedProps, TOwnProps>; + <no_state = {}, TDispatchProps = {}, TOwnProps = {}, TMergedProps = {}>( + mapStateToProps: null | undefined, + mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps>, + mergeProps: MergeProps<undefined, TDispatchProps, TOwnProps, TMergedProps>, + ): InferableComponentEnhancerWithProps<TMergedProps, TOwnProps>; -export declare function connect<no_state = {}, no_dispatch = {}, TOwnProps = {}, TMergedProps = {}>( - mapStateToProps: null | undefined, - mapDispatchToProps: null | undefined, - mergeProps: MergeProps<undefined, undefined, TOwnProps, TMergedProps>, -): InferableComponentEnhancerWithProps<TMergedProps, TOwnProps>; + <no_state = {}, no_dispatch = {}, TOwnProps = {}, TMergedProps = {}>( + mapStateToProps: null | undefined, + mapDispatchToProps: null | undefined, + mergeProps: MergeProps<undefined, undefined, TOwnProps, TMergedProps>, + ): InferableComponentEnhancerWithProps<TMergedProps, TOwnProps>; -export declare function connect<TStateProps = {}, TDispatchProps = {}, TOwnProps = {}, TMergedProps = {}>( - mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps>, - mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps>, - mergeProps: MergeProps<TStateProps, TDispatchProps, TOwnProps, TMergedProps>, -): InferableComponentEnhancerWithProps<TMergedProps, TOwnProps>; + <TStateProps = {}, TDispatchProps = {}, TOwnProps = {}, TMergedProps = {}>( + mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps>, + mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps>, + mergeProps: MergeProps<TStateProps, TDispatchProps, TOwnProps, TMergedProps>, + ): InferableComponentEnhancerWithProps<TMergedProps, TOwnProps>; -export declare function connect<TStateProps = {}, no_dispatch = {}, TOwnProps = {}>( - mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps>, - mapDispatchToProps: null | undefined, - mergeProps: null | undefined, - options: Options<TStateProps, TOwnProps> -): InferableComponentEnhancerWithProps<DispatchProp<any> & TStateProps, TOwnProps>; + <TStateProps = {}, no_dispatch = {}, TOwnProps = {}>( + mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps>, + mapDispatchToProps: null | undefined, + mergeProps: null | undefined, + options: Options<TStateProps, TOwnProps> + ): InferableComponentEnhancerWithProps<DispatchProp<any> & TStateProps, TOwnProps>; -export declare function connect<no_state = {}, TDispatchProps = {}, TOwnProps = {}>( - mapStateToProps: null | undefined, - mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps>, - mergeProps: null | undefined, - options: Options<no_state, TOwnProps> -): InferableComponentEnhancerWithProps<TDispatchProps, TOwnProps>; + <no_state = {}, TDispatchProps = {}, TOwnProps = {}>( + mapStateToProps: null | undefined, + mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps>, + mergeProps: null | undefined, + options: Options<no_state, TOwnProps> + ): InferableComponentEnhancerWithProps<TDispatchProps, TOwnProps>; -export declare function connect<TStateProps = {}, TDispatchProps = {}, TOwnProps = {}>( - mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps>, - mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps>, - mergeProps: null | undefined, - options: Options<TStateProps, TOwnProps> -): InferableComponentEnhancerWithProps<TStateProps & TDispatchProps, TOwnProps>; + <TStateProps = {}, TDispatchProps = {}, TOwnProps = {}>( + mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps>, + mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps>, + mergeProps: null | undefined, + options: Options<TStateProps, TOwnProps> + ): InferableComponentEnhancerWithProps<TStateProps & TDispatchProps, TOwnProps>; -export declare function connect<TStateProps = {}, TDispatchProps = {}, TOwnProps = {}, TMergedProps = {}>( - mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps>, - mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps>, - mergeProps: MergeProps<TStateProps, TDispatchProps, TOwnProps, TMergedProps>, - options: Options<TStateProps, TOwnProps, TMergedProps> -): InferableComponentEnhancerWithProps<TMergedProps, TOwnProps>; + <TStateProps = {}, TDispatchProps = {}, TOwnProps = {}, TMergedProps = {}>( + mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps>, + mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps>, + mergeProps: MergeProps<TStateProps, TDispatchProps, TOwnProps, TMergedProps>, + options: Options<TStateProps, TOwnProps, TMergedProps> + ): InferableComponentEnhancerWithProps<TMergedProps, TOwnProps>; +} + +/** + * The connect function. See {@type Connect} for details. + */ +export declare const connect: Connect; interface MapStateToProps<TStateProps, TOwnProps> { (state: any, ownProps: TOwnProps): TStateProps; @@ -284,3 +292,12 @@ export interface ProviderProps { * Makes the Redux store available to the connect() calls in the component hierarchy below. */ export class Provider extends React.Component<ProviderProps, {}> { } + +/** + * Creates a new <Provider> which will set the Redux Store on the passed key of the context. You probably only need this + * if you are in the inadvisable position of having multiple stores. You will also need to pass the same storeKey to the + * options argument of connect. + * + * @param storeKey The key of the context on which to set the store. + */ +export declare function createProvider(storeKey: string): typeof Provider; diff --git a/types/react-redux/react-redux-tests.tsx b/types/react-redux/react-redux-tests.tsx index c52d40d0aa..1b10f6d645 100644 --- a/types/react-redux/react-redux-tests.tsx +++ b/types/react-redux/react-redux-tests.tsx @@ -1,8 +1,8 @@ import { Component, ReactElement } from 'react'; import * as React from 'react'; import * as ReactDOM from 'react-dom'; -import { Store, Dispatch, ActionCreator, bindActionCreators, ActionCreatorsMapObject } from 'redux'; -import { connect, Provider, DispatchProp, MapStateToProps } from 'react-redux'; +import { Store, Dispatch, ActionCreator, createStore, bindActionCreators, ActionCreatorsMapObject } from 'redux'; +import { Connect, connect, createProvider, Provider, DispatchProp, MapStateToProps, Options } from 'react-redux'; import objectAssign = require('object-assign'); // @@ -14,10 +14,10 @@ import objectAssign = require('object-assign'); // output of `connect` to make sure the signature is what is expected namespace Empty { - interface OwnProps { foo: string, dispatch: Dispatch<any> } + interface OwnProps { foo: string, dispatch: Dispatch<any> } class TestComponent extends Component<OwnProps> {} - + const Test = connect()(TestComponent) const verify = <Test foo='bar' /> @@ -90,7 +90,7 @@ namespace MapDispatch { )(TestComponent) const verifyNull = <TestNull foo='bar' /> - + const TestUndefined = connect( undefined, mapDispatchToProps, @@ -140,7 +140,7 @@ namespace MapDispatchFactory { )(TestComponent) const verifyNull = <TestNull foo='bar' /> - + const TestUndefined = connect( undefined, mapDispatchToPropsFactory, @@ -176,11 +176,11 @@ namespace MapStateFactoryAndDispatch { interface OwnProps { foo: string } interface StateProps { bar: number } interface DispatchProps { onClick: () => void } - + const mapStateToPropsFactory = () => () =>({ bar: 1 }) - + const mapDispatchToProps = () => ({ onClick: () => {} }) @@ -199,11 +199,11 @@ namespace MapStateFactoryAndDispatchFactory { interface OwnProps { foo: string } interface StateProps { bar: number } interface DispatchProps { onClick: () => void } - + const mapStateToPropsFactory = () => () =>({ bar: 1 }) - + const mapDispatchToPropsFactory = () => () => ({ onClick: () => {} }) @@ -850,3 +850,47 @@ namespace TestWrappedComponent { // `Connected` does not require explicit `name` prop const TestConnected = (props: any) => <Connected />; } + +namespace TestCreateProvider { + const STORE_KEY = 'myStore'; + + const MyStoreProvider = createProvider(STORE_KEY); + + const myStoreConnect: Connect = function( + mapStateToProps?: any, + mapDispatchToProps?: any, + mergeProps?: any, + options: Options = {}, + ) { + options.storeKey = STORE_KEY; + return connect( + mapStateToProps, + mapDispatchToProps, + mergeProps, + options, + ); + }; + + interface State { a: number }; + const store = createStore<State>(() => ({ a: 1 })); + const myStore = createStore<State>(() => ({ a: 2 })); + + interface AProps { a: number }; + const A = (props: AProps) => (<h1>A is {props.a}</h1>); + const A1 = connect<AProps>(state => state)(A); + const A2 = myStoreConnect<AProps>(state => state)(A); + + const Combined = () => ( + <Provider store={store}> + <MyStoreProvider store={myStore}> + <A1 /> + <A2 /> + </MyStoreProvider> + </Provider> + ); + + // This renders: + // <h1>A is 1</h1> + // <h1>A is 2</h1> + ReactDOM.render(<Combined />, document.body); +} From 69af3a040e289fdd0e8711df677f881427cbc27d Mon Sep 17 00:00:00 2001 From: Oren Farhi <farhioren@gmail.com> Date: Tue, 3 Oct 2017 00:24:28 +0300 Subject: [PATCH 076/433] update "thumbnails" property for GoogleApiYouTubePlaylistResource (#20078) --- types/gapi.youtube/index.d.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/types/gapi.youtube/index.d.ts b/types/gapi.youtube/index.d.ts index 5f3aef616a..b09779cdb3 100644 --- a/types/gapi.youtube/index.d.ts +++ b/types/gapi.youtube/index.d.ts @@ -1621,7 +1621,7 @@ interface GoogleApiYouTubePlaylistResource { /** * A map of thumbnail images associated with the playlist. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail. */ - thumbnails: GoogleApiYouTubeThumbnailItemResource[]; + thumbnails: GoogleApiYouTubeThumbnailResource; /** * The channel title of the channel that the video belongs to. */ @@ -1813,6 +1813,14 @@ interface GoogleApiYouTubeThumbnailResource { * A high resolution version of the thumbnail image. For a video (or a resource that refers to a video), this image is 480px wide and 360px tall. For a channel, this image is 800px wide and 800px tall. */ high: GoogleApiYouTubeThumbnailItemResource; + /** + * A standard resolution version of the thumbnail image. For a video (or a resource that refers to a video), this image is 480px wide and 360px tall. For a channel, this image is 800px wide and 800px tall. + */ + standard?: GoogleApiYouTubeThumbnailItemResource; + /** + * A very high resolution version of the thumbnail image. For a video (or a resource that refers to a video), this image is 480px wide and 360px tall. For a channel, this image is 800px wide and 800px tall. + */ + maxres?: GoogleApiYouTubeThumbnailItemResource; } interface GoogleApiYouTubeThumbnailItemResource { From b743589ef96dd18497ac1d70c347d3db7b6d196b Mon Sep 17 00:00:00 2001 From: rapmue <rapmue@gmail.com> Date: Mon, 2 Oct 2017 23:25:27 +0200 Subject: [PATCH 077/433] [recharts] changed the signature of tickformatter (#20201) Changed the signature of tickformatter function. The changes are based on the issue #19756. --- types/recharts/index.d.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/types/recharts/index.d.ts b/types/recharts/index.d.ts index 311330b06d..b6aa236663 100644 --- a/types/recharts/index.d.ts +++ b/types/recharts/index.d.ts @@ -10,6 +10,7 @@ import * as React from 'react'; export type Percentage = string; export type RechartsFunction = () => void; +export type TickFormatterFunction = (value: any) => any; export type LabelFormatter = (label: string | number) => React.ReactNode; export type TooltipFormatter = (value: string | number | Array<string | number>, name: string, entry: TooltipPayload, index: number) => React.ReactNode; @@ -139,7 +140,7 @@ export interface BrushProps { travellerWidth?: number; startIndex?: number; endIndex?: number; - tickFormatter?: RechartsFunction; + tickFormatter?: TickFormatterFunction; onChange?: RechartsFunction; } @@ -379,7 +380,7 @@ export interface PolarAngleAxisProps { tick?: boolean | any | React.ReactElement<any> | RechartsFunction; ticks: any[]; orient?: string; - tickFormatter: RechartsFunction; + tickFormatter: TickFormatterFunction; onClick?: RechartsFunction; onMouseDown?: RechartsFunction; onMouseUp?: RechartsFunction; @@ -413,7 +414,7 @@ export interface PolarRadiusAxisProps { orientation?: "left" | "right" | "middle"; axisLine?: boolean | any; tick?: boolean | any | Element | RechartsFunction; - tickFormatter: RechartsFunction; + tickFormatter: TickFormatterFunction; tickCount?: number; scale?: ScaleType | RechartsFunction; onClick?: RechartsFunction; @@ -763,7 +764,7 @@ export interface XAxisProps { axisLine?: boolean | any; tickLine?: boolean | any; tickSize?: number; - tickFormatter?: RechartsFunction; + tickFormatter?: TickFormatterFunction; ticks?: any[]; tick?: boolean | any | React.ReactElement<any>; mirror?: boolean; @@ -806,7 +807,7 @@ export interface YAxisProps { tickCount?: number; tickLine?: boolean | any; tickSize?: number; - tickFormatter?: RechartsFunction; + tickFormatter?: TickFormatterFunction; ticks?: any[]; tick?: boolean | any | React.ReactElement<any>; mirror?: boolean; From 75d1bec99db3e4e96287ae40076ff3e1ec5a2261 Mon Sep 17 00:00:00 2001 From: Tommy Nguyen <tn0502@users.noreply.github.com> Date: Mon, 2 Oct 2017 23:25:46 +0200 Subject: [PATCH 078/433] Add macos to PlatformOSType. (#20206) --- types/react-native/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 42a1601612..423ba6e4fc 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -5612,7 +5612,7 @@ export interface PixelRatioStatic { /** * @see https://facebook.github.io/react-native/docs/platform-specific-code.html#content */ -export type PlatformOSType = 'ios' | 'android' | 'windows' | 'web' +export type PlatformOSType = 'ios' | 'android' | 'macos' | 'windows' | 'web' interface PlatformStatic { OS: PlatformOSType From 73c50882bf78d2a6654228ae2fac6cb59fee2d56 Mon Sep 17 00:00:00 2001 From: Tommy Nguyen <tn0502@users.noreply.github.com> Date: Mon, 2 Oct 2017 23:26:48 +0200 Subject: [PATCH 079/433] Platform.select to allow any PlatformOSType as key. (#20207) --- types/react-native/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 423ba6e4fc..16abbe3f6b 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -5621,7 +5621,7 @@ interface PlatformStatic { /** * @see https://facebook.github.io/react-native/docs/platform-specific-code.html#content */ - select<T>( specifics: { ios?: T, android?: T} ): T; + select<T>( specifics: { [platform in PlatformOSType]?: T; } ): T; } interface PlatformIOSStatic extends PlatformStatic { From 8871815151be9eaa2214a6e21a918037101149b9 Mon Sep 17 00:00:00 2001 From: Dasa Paddock <dpaddock@esri.com> Date: Mon, 2 Oct 2017 14:32:19 -0700 Subject: [PATCH 080/433] Update for ArcGIS API for JavaScript version 3.22 (#20138) --- types/arcgis-js-api/v3/index.d.ts | 132 ++++++++++++++++++++++-------- 1 file changed, 96 insertions(+), 36 deletions(-) diff --git a/types/arcgis-js-api/v3/index.d.ts b/types/arcgis-js-api/v3/index.d.ts index 0c30ae898d..de4328a957 100644 --- a/types/arcgis-js-api/v3/index.d.ts +++ b/types/arcgis-js-api/v3/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for ArcGIS API for JavaScript 3.21 +// Type definitions for ArcGIS API for JavaScript 3.22 // Project: https://developers.arcgis.com/javascript/3/ // Definitions by: Esri <https://github.com/Esri> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -284,6 +284,8 @@ declare module "esri" { columnDelimiter?: string; /** Copyright information for the layer. */ copyright?: string; + /** Enables feature reduction (for example clustering) on point layers. */ + featureReduction?: any; /** The fields property contains objects with "name", "alias" and "type" String properties. */ fields?: any[]; /** The latitude field name. */ @@ -608,13 +610,13 @@ declare module "esri" { locationProvider: LocationProviderBase; } export interface DataBrowserOptions { - /** Whether or not to display the hierarchy dropdown for countries with multiple hierarchies (e.g. */ + /** Whether or not to display the hierarchy dropdown for countries with multiple hierarchies (for example USA has both Census and Landscape, Germany has both Census and Nexiga). */ allowHierarchies?: boolean; /** Show/hide country drop down. */ countryBox?: boolean; /** Two-digit country code selected in the country drop down. */ countryID?: string; - /** The hierarchy to load for a country (e.g. */ + /** The hierarchy to load for a country (for example 'Census' or 'Landscape' for USA). */ hierarchyID?: string; /** Text string to display on the back button on the second and third pages of the Data Browser. */ pageBackButton?: string; @@ -896,6 +898,8 @@ declare module "esri" { displayOnPan?: boolean; /** Set a callback function that will be invoked by FeatureLayer.getEditSummary. */ editSummaryCallback?: Function; + /** Enables feature reduction (for example clustering) on point layers. */ + featureReduction?: any; /** Specify the geodatabase version to display. */ gdbVersion?: string; /** Unique ID to assign to the layer. */ @@ -1172,7 +1176,7 @@ declare module "esri" { remove(): void; } export interface HeatmapRendererOptions { - /** The radius (in pixels) of the circle over which the majority of each points value is spread out over. */ + /** The radius (in pixels) of the circle over which the majority of each point's value is spread out. */ blurRadius?: number; /** An array of CSS color strings (#RGB, #RRGGBB, rgb(r,g,b), rgba(r,g,b,a)). */ colors: string[]; @@ -1718,7 +1722,7 @@ declare module "esri" { pixels: number[][]; /** Pixel type. */ pixelType?: string; - /** Array of objects containing numeric statistical properties (e.g. */ + /** Array of objects containing numeric statistical properties (for example minValue, maxValue, noDataValue, etc.). */ statistics?: any[]; /** Number of columns. */ width: number; @@ -1856,7 +1860,7 @@ declare module "esri" { primaryHandle?: number; /** Toggle for showing the black handle bars. */ showHandles?: boolean; - /** Flexible toggle for showing labels (e.g. */ + /** Flexible toggle for showing labels (for example ["data", "handle"]). */ showLabels?: boolean | string[]; /** Toggle for showing the horizontal line indicators from the center of the handle. */ showTicks?: boolean; @@ -2153,7 +2157,7 @@ declare module "esri" { } export interface TemplatePickerOptions { /** Number of visible columns. */ - columns?: number; + columns?: number | string; /** Defines the text to be displayed when the template picker does not have any templates to display. */ emptyMessage?: string; /** Array of input feature layers. */ @@ -2165,7 +2169,7 @@ declare module "esri" { /** Length of label description. */ maxLabelLength?: number; /** Number of visible rows. */ - rows?: number; + rows?: number | string; /** Tooltip content contains the template name and description. */ showTooltip?: boolean; /** HTML style attributes for the widget. */ @@ -3488,7 +3492,7 @@ declare module "esri/dijit/BasemapGallery" { basemaps: Basemap[]; /** This value is true after the BasemapGallery retrieves the ArcGIS.com basemaps. */ loaded: boolean; - /** Optional parameter to pass in a portal URL, including the instance name, used to access the group containing the basemap gallery items. */ + /** Optional parameter to pass in a portal URL, including the instance name, used to access the group containing the basemap gallery items, for example www.myportal.com/myInstance or http://www.myportal.com/myInstance. */ portalUrl: string; /** * Creates a new BasemapGallery dijit. @@ -4567,8 +4571,8 @@ declare module "esri/dijit/InfoWindow" { /** Determines whether the InfoWindow is currently shown on the map. */ isShowing: boolean; /** - * Create a new Info Window. - * @param params Optional parameters. + * Create a new InfoWindow. + * @param params Specify optional parameters used to create the InfoWindow. * @param srcNodeRef Reference or id of the HTML element where the widget should be rendered. */ constructor(params: any, srcNodeRef: Node | string); @@ -4633,6 +4637,12 @@ declare module "esri/dijit/InfoWindowLite" { fixedAnchor: string; /** Determines whether the InfoWindowLite is currently shown on the map. */ isShowing: boolean; + /** + * Create a new InfoWindowLite. + * @param params Specify optional parameters used to create the InfoWindowLite. + * @param srcNodeRef Reference or id of the HTML element where the widget should be rendered. + */ + constructor(params: any, srcNodeRef: Node | string); /** Hides the InfoWindow. */ hide(): void; /** @@ -5117,8 +5127,8 @@ declare module "esri/dijit/OverviewMap" { declare module "esri/dijit/Popup" { import esri = require("esri"); import InfoWindowBase = require("esri/InfoWindowBase"); - import Graphic = require("esri/graphic"); import FillSymbol = require("esri/symbols/FillSymbol"); + import Graphic = require("esri/graphic"); import LineSymbol = require("esri/symbols/LineSymbol"); import Point = require("esri/geometry/Point"); import MarkerSymbol = require("esri/symbols/MarkerSymbol"); @@ -5127,6 +5137,8 @@ declare module "esri/dijit/Popup" { class Popup extends InfoWindowBase { /** Controls the placement of the popup window with respect to the geographic location. */ anchor: string; + /** Visualizes the extent of the points summarized by the cluster graphic when the user selects the "Browse Features" action in the cluster popup. */ + clusterFillSymbol: FillSymbol; /** The number of features associated with the info window. */ count: number; /** An array of pending deferreds, null if there are not any pending deferreds. */ @@ -5179,16 +5191,28 @@ declare module "esri/dijit/Popup" { * @param srcNodeRef Reference or id of the HTML element where the widget should be rendered. */ constructor(options: esri.PopupOptions, srcNodeRef: Node | string); + /** + * Creates links for the specified actions at the bottom of the popup window. + * @param actions An array of action objects that define the behavior for actions included in the popup. + */ + addActions(actions: any[]): any[]; /** Removes all features and destroys any pending deferreds. */ clearFeatures(): void; /** Destroy the popup. */ destroy(): void; + /** Returns the current placement of the popup window. */ + getCurrentAnchor(): string; /** Get the currently selected feature. */ getSelectedFeature(): Graphic; /** Hide the info window. */ hide(): void; /** Maximize the info window. */ maximize(): void; + /** + * Removes the specified actions from the popup window. + * @param actionInfos An array of objects that describe actions created with addActions(). + */ + removeActions(actionInfos: any[]): void; /** Re-calculates the popup's position with respect to the map location it is pointing to. */ reposition(): void; /** @@ -5222,8 +5246,9 @@ declare module "esri/dijit/Popup" { /** * Associate an array of features or an array of deferreds that return features with the info window. * @param features An array of features or deferreds. + * @param options Additional options for setting features in the popup. */ - setFeatures(features: Graphic[] | any[]): void; + setFeatures(features: Graphic[] | any[], options?: any): void; /** * Sets the info window title. * @param title The text for the title. @@ -5332,8 +5357,6 @@ declare module "esri/dijit/PopupTemplate" { /** The PopupTemplate class extends esri/InfoTemplate and provides support for defining a layout. */ class PopupTemplate extends InfoTemplate { - /** An array of objects that reference Arcade expressions. */ - expressionInfos: any[]; /** The popup definition defined as a JavaScript object. */ info: any; /** @@ -5399,7 +5422,7 @@ declare module "esri/dijit/RendererSlider" { precision: number; /** Toggle for showing the black handle bars. */ showHandles: boolean; - /** Flexible toggle for showing labels e.g. */ + /** Flexible toggle for showing labels, for example ["data","handle"]. */ showLabels: boolean | string[]; /** Toggle for showing the horizontal line indicators from the center of the handle. */ showTicks: boolean; @@ -7991,10 +8014,10 @@ declare module "esri/geometry/geometryEngine" { clip(geometry: Geometry, envelope: Extent): Geometry; /** * Indicates if one geometry contains another geometry. - * @param geometry1 The geometry that is tested for the contains relationship to the other geometry. - * @param geometry2 The geometry that is tested for within relationship to the other geometry. + * @param containerGeometry The geometry that is tested for the "contains" relationship to the other geometry. + * @param insideGeometry The geometry that is tested for the "within" relationship to the containerGeometry. */ - contains(geometry1: Geometry, geometry2: Geometry): boolean; + contains(containerGeometry: Geometry, insideGeometry: Geometry): boolean; /** * Calculates the convex hull of the input geometry. * @param geometry The input geometry. @@ -8200,10 +8223,10 @@ declare module "esri/geometry/geometryEngine" { union(geometries: Geometry[]): Geometry; /** * Indicates if one geometry is within another geometry. - * @param geometry1 The base geometry that is tested for within relationship to the other geometry. - * @param geometry2 The comparison geometry that is tested for the contains relationship to the other geometry. + * @param innerGeometry The base geometry that is tested for within relationship to the other geometry. + * @param outerGeometry The comparison geometry that is tested for the contains relationship to the other geometry. */ - within(geometry1: Geometry, geometry2: Geometry): boolean; + within(innerGeometry: Geometry, outerGeometry: Geometry): boolean; }; export = geometryEngine; } @@ -8234,10 +8257,10 @@ declare module "esri/geometry/geometryEngineAsync" { clip(geometry: Geometry, envelope: Extent): any; /** * Indicates if one geometry contains another geometry. - * @param geometry1 The geometry that is tested for the contains relationship to the other geometry. - * @param geometry2 The geometry that is tested for within relationship to the other geometry. + * @param containerGeometry The geometry that is tested for the "contains" relationship to the other geometry. + * @param insideGeometry The geometry that is tested for the "within" relationship to the containerGeometry. */ - contains(geometry1: Geometry, geometry2: Geometry): any; + contains(containerGeometry: Geometry, insideGeometry: Geometry): any; /** * Calculates the convex hull of the input geometry. * @param geometry The input geometry. @@ -8443,10 +8466,10 @@ declare module "esri/geometry/geometryEngineAsync" { union(geometries: Geometry[]): any; /** * Indicates if one geometry is within another geometry. - * @param geometry1 The base geometry that is tested for within relationship to the other geometry. - * @param geometry2 The comparison geometry that is tested for the contains relationship to the other geometry. + * @param innerGeometry The base geometry that is tested for within relationship to the other geometry. + * @param outerGeometry The comparison geometry that is tested for the contains relationship to the other geometry. */ - within(geometry1: Geometry, geometry2: Geometry): any; + within(innerGeometry: Geometry, outerGeometry: Geometry): any; }; export = geometryEngineAsync; } @@ -8664,8 +8687,15 @@ declare module "esri/graphic" { * @param value The value of the attribute. */ attr(name: string, value: string): Graphic; + /** Creates a deep clone of the graphic object. */ + clone(): Graphic; /** Draws the graphic. */ draw(): Graphic; + /** + * Returns the graphics summarized by the given aggregate graphic in a clustering or feature reduction visualization. + * @param aggregateGraphic A graphic representing the aggregation (or reduction) of several individual graphics in a layer. + */ + getChildGraphics(aggregateGraphic: Graphic): Graphic[]; /** Returns the content string based on attributes and infoTemplate values. */ getContent(): string; /** Returns the dojo/gfx/shape.Shape of the Esri graphic. */ @@ -8688,6 +8718,8 @@ declare module "esri/graphic" { getTitle(): string; /** Hides the graphic. */ hide(): void; + /** Indicates if the graphic represents a cluster of features. */ + isAggregate(): boolean; /** * Defines the attributes of the graphic. * @param attributes The name value pairs of fields and field values associated with the graphic. @@ -9055,7 +9087,7 @@ declare module "esri/layers/ArcGISImageServiceLayer" { timeInfo: TimeInfo; /** By default, images are exported in MIME format, and the image is streamed to the client. */ useMapImage: boolean; - /** The version of ArcGIS Server the image service is published to, e.g. */ + /** The version of ArcGIS Server the image service is published to, such as 9.3, 9.31, 10, 10.41. */ version: number; /** * Creates a new ArcGISImageServiceLayer object. @@ -9073,7 +9105,7 @@ declare module "esri/layers/ArcGISImageServiceLayer" { getDefinitionExpression(): string; /** Get key properties of an ImageService including information such as the band names associated with the imagery. */ getKeyProperties(): any; - /** Asynchronously returns the raster attribute table of an ImageService which returns categorical mapping of pixel values (e.g. */ + /** Asynchronously returns the raster attribute table of an ImageService which returns categorical mapping of pixel values (for example a class, group, category, or membership). */ getRasterAttributeTable(): any; /** Gets the currently visible rasters. */ getVisibleRasters(): Graphic[]; @@ -9651,6 +9683,12 @@ declare module "esri/layers/FeatureLayer" { * @param errback An error object is returned if an error occurs. */ deleteAttachments(objectId: number, attachmentIds: number[], callback?: Function, errback?: Function): any; + /** Disables feature reduction (for example clustering) on the layer. */ + disableFeatureReduction(): void; + /** Enables feature reduction (for example clustering) on the layer using the options set in setFeatureReduction(). */ + enableFeatureReduction(): void; + /** Returns graphics representing the aggregation of several point features clustered together. */ + getAggregateGraphics(): Graphic[]; /** Asynchrously returns custom data for the layer when available. */ getAttributionData(): any; /** Returns the current definition expression. */ @@ -9678,6 +9716,8 @@ declare module "esri/layers/FeatureLayer" { * @param options See the object specifications table below for the structure of the options object. */ getEditSummary(feature: Graphic, options?: any): string; + /** Returns the options used to reduce the number of features visualized by the layer (for example clustering). */ + getFeatureReduction(): any; /** * Returns the Field given the specified field name. * @param fieldName Name of the attribute field. @@ -9691,6 +9731,8 @@ declare module "esri/layers/FeatureLayer" { getSelectedFeatures(): Graphic[]; /** Gets the current selection symbol. */ getSelectionSymbol(): Symbol; + /** Returns graphics from the layer that are not represented by aggregate graphics when feature reduction (such as clustering) is enabled. */ + getSingleGraphics(): Graphic[]; /** Get the current time definition applied to the feature layer. */ getTimeDefinition(): TimeExtent; /** @@ -9702,6 +9744,10 @@ declare module "esri/layers/FeatureLayer" { hasXYFootprint(): boolean; /** Returns true if the FeatureLayer is editable. */ isEditable(): boolean; + /** Indicates if feature reduction (for example clustering) is active in the view. */ + isFeatureReductionActive(): boolean; + /** Indicates if feature reduction (for example clustering) is enabled. */ + isFeatureReductionEnabled(): boolean; /** * Returns true if the layer is visible at the given scale. * @param scale The scale at which to check if the layer is visible. @@ -9778,6 +9824,11 @@ declare module "esri/layers/FeatureLayer" { * @param editable When true, the layer will be set as editable. */ setEditable(editable: boolean): FeatureLayer; + /** + * Sets feature reduction options on the layer (for example clustering options). + * @param options Options for reducing (or aggregating) the features in the map. + */ + setFeatureReduction(options: any): void; /** * Set the layer's data source to the specified geodatabase version. * @param versionName The name of the geodatabase version to use as the layer's data source. @@ -10340,6 +10391,8 @@ declare module "esri/layers/KMLLayer" { * @param isVisible The visibility of the folder and all kml features within the folder. */ setFolderVisibility(folder: KMLFolder, isVisible: boolean): void; + /** Fires when one or more of the layer's network link children fail to load. */ + on(type: "network-link-error", listener: (event: { error: Error; target: KMLLayer }) => void): esri.Handle; /** Fired after the layer is refreshed. */ on(type: "refresh", listener: (event: { target: KMLLayer }) => void): esri.Handle; on(type: string, listener: (event: any) => void): esri.Handle; @@ -10692,11 +10745,11 @@ declare module "esri/layers/PixelBlock" { height: number; /** An array of nodata mask. */ mask: any[]; - /** A two dimensional array. */ + /** A two dimensional array representing the pixels from the Image Service displayed on the client. */ pixels: number[][]; /** Pixel type. */ pixelType: string; - /** Array of objects containing numeric statistical properties (e.g. */ + /** Array of objects containing numeric statistical properties (for example minValue, maxValue, noDataValue, etc.). */ statistics: any[]; /** Number of columns. */ width: number; @@ -10710,7 +10763,7 @@ declare module "esri/layers/PixelBlock" { * @param planeData Must have two properties set: pixels and statistics. */ addData(planeData: any): void; - /** Returns pixels and masks using a single array in bip format (e.g. */ + /** Returns pixels and masks using a single array in bip format (for example [p_00_r, p_00_g, p_00_b, p_00_a, p_10_r, p_10_g, p_10_b, p_10_a, .....]). */ getAsRGBA(): any[]; /** Similar to getAsRGBA, but returns floating point data. */ getAsRGBAFloat(): any[]; @@ -12026,7 +12079,7 @@ declare module "esri/map" { resize(immediate?: boolean): void; /** * Change the background color of the map. - * @param color Color specified using either a named string (e.g. + * @param color Color specified using either a named string (for example red), hex string (for example #FF0000), array of rgba values with "a" in the 0-1 range (for example [255,0,0,0.75]), or an instance of esri/Color. */ setBackgroundColor(color: Color | string): void; /** @@ -13023,7 +13076,7 @@ declare module "esri/renderers/HeatmapRenderer" { /** The HeatmapRenderer renders feature layer point data into a raster visualization that emphasizes areas of higher density or weighted values. */ class HeatmapRenderer extends Renderer { - /** The radius (in pixels) of the circle over which the majority of each points value is spread out over. */ + /** The radius (in pixels) of the circle over which the majority of each point's value is spread out. */ blurRadius: number; /** An array of CSS color strings (#RGB, #RRGGBB, rgb(r,g,b), rgba(r,g,b,a)). */ colors: string[]; @@ -13336,6 +13389,7 @@ declare module "esri/renderers/TimeRampAger" { declare module "esri/renderers/UniqueValueRenderer" { import Renderer = require("esri/renderers/Renderer"); + import FillSymbol = require("esri/symbols/FillSymbol"); import Symbol = require("esri/symbols/Symbol"); import Graphic = require("esri/graphic"); @@ -13347,6 +13401,8 @@ declare module "esri/renderers/UniqueValueRenderer" { attributeField2: string; /** If needed, specify an additional attribute field the renderer uses to match values. */ attributeField3: string; + /** A symbol used for polygon features as a background if the renderer uses point symbols, for example for bivariate types & size rendering. */ + backgroundFillSymbol: FillSymbol; /** Label for the default symbol used to draw unspecified values. */ defaultLabel: string; /** Default symbol used when a value or break cannot be matched. */ @@ -13506,7 +13562,7 @@ declare module "esri/renderers/smartMapping" { */ createTypeRenderer(params: any): any; /** - * Searches the fields of an input layer or array of field objects for field names commonly used in rendering based on usage (e.g. + * Searches the fields of an input layer or array of field objects for field names commonly used in rendering based on usage (e.g., RANK, TOTAL, AVERAGE, NAME, etc). * @param params See the object specifications table below for details about the params object. */ getSuggestedField(params: any): any; @@ -15247,8 +15303,12 @@ declare module "esri/tasks/IdentifyParameters" { mapExtent: Extent; /** The maximum allowable offset used for generalizing geometries returned by the identify operation. */ maxAllowableOffset: number; + /** If true, field names will be returned instead of field aliases. */ + returnFieldName: boolean; /** If "true", the result set includes the geometry associated with each result. */ returnGeometry: boolean; + /** If true, the values in the result will not be formatted i.e. */ + returnUnformattedValues: boolean; /** The spatial reference of the input and output geometries as well as of the mapExtent. */ spatialReference: SpatialReference; /** Specify the time extent used by the identify task. */ From e1de492381c20b2607322d4a9dc411051bc7a07e Mon Sep 17 00:00:00 2001 From: Dasa Paddock <dpaddock@esri.com> Date: Mon, 2 Oct 2017 14:33:37 -0700 Subject: [PATCH 081/433] [arcgis-js-api] Update for version 4.5 (#20139) * Update for ArcGIS API for JavaScript version 4.5 * Set TypeScript Version to 2.3 --- types/arcgis-js-api/index.d.ts | 13184 ++++++++++++++++--------------- 1 file changed, 6964 insertions(+), 6220 deletions(-) diff --git a/types/arcgis-js-api/index.d.ts b/types/arcgis-js-api/index.d.ts index 115d270add..5098cf63ad 100644 --- a/types/arcgis-js-api/index.d.ts +++ b/types/arcgis-js-api/index.d.ts @@ -1,13 +1,14 @@ -// Type definitions for ArcGIS API for JavaScript 4.4 +// Type definitions for ArcGIS API for JavaScript 4.5 // Project: http://js.arcgis.com // Definitions by: Esri <https://github.com/Esri> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 -interface HashMap<T> { +interface HashMap<T = any> { [index: string]: T; } -interface IPromise<T> { +interface IPromise<T = any> { always<U>(callback?: (valueOrError: T) => IPromise<U> | U | void): IPromise<U>; cancel?<U>(reason?: U, strict?: boolean): U; isCanceled?(): boolean; @@ -51,43 +52,951 @@ declare namespace __esri { protected _set<T>(propertyName: string, value: T): this; } + + export type ItemCallback<T> = (item: T, index: number) => void; + + export type ItemCompareCallback<T> = (firstItem: T, secondItem: T) => number; + + export type ItemMapCallback<T, R> = (item: T, index: number) => R; + + export type ItemReduceCallback<T, R> = (previousValue: R, currentValue: T, index: number) => R; + + export type ItemTestCallback<T> = (item: T, index: number) => boolean; + + interface Collection<T = any> extends Evented {} + + type Constructor<T> = new (...params: any[]) => T; + + interface Types<T extends Base, Base = T> { + key: string | ((obj: any) => string); + base: Constructor<Base> | Function; + typeMap: HashMap<Constructor<T>>; + } + + export class Collection<T = any> extends Accessor { + constructor(values?: any[] | Collection<any>); + + readonly length: number; + + add(item: T, index?: number): void; + addMany(items: T[] | Collection<T>, index?: number): void; + clone(): Collection<T>; + concat(value: T[] | Collection<T>): Collection<T>; + every(callback: ItemTestCallback<T>): boolean; + filter(callback: ItemTestCallback<T>): Collection<T>; + find(callback: ItemTestCallback<T>): T; + findIndex(callback: ItemTestCallback<T>): number; + flatten(callback: ItemCallback<T>): Collection<T>; + forEach(callback: ItemCallback<T>): void; + getItemAt(index: number): T; + includes(searchElement: T): boolean; + indexOf(searchElement: T, fromIndex?: number): number; + join(separator?: string): string; + lastIndexOf(searchElement: T, fromIndex?: number): number; + map<R = T>(callback: ItemMapCallback<T, R>): Collection<R>; + pop(): T; + push(item: T): number; + reduce<R = T>(callback: ItemReduceCallback<T, R>, initialValue?: R): R; + reduceRight<R = T>(callback: ItemReduceCallback<T, R>, initialValue?: R): R; + remove(item: T): void; + removeAll(): void; + removeAt(index: number): any; + removeMany(items: T[] | Collection<T>): T[]; + reorder(item: T, index: number): T; + reverse(): Collection<T>; + shift(): T; + slice(begin?: number, end?: number): Collection<T>; + some(callback: ItemCallback<T>): boolean; + sort(compareFunction?: ItemCompareCallback<T>): void; + splice(start: number, deleteCount: number, items: T[] | Collection<T>): T[]; + toArray(): T[]; + unshift(...items: T[]): number; + + static isCollection<T = any>(value: any | Collection<T>): value is Collection<T>; + + static ofType<T extends Base, Base = T>(type: Constructor<T> | Types<T, Base>): new (items?: (T[] | Collection<T>) | { items?: T[] | Collection<T> }) => Collection<T>; + } + + type CollectionProperties<T = any> = T[] | Collection<T>; + + + + type DateProperties = number | string | Date; + + + export type BaseDynamicLayerLayerviewCreateEventHandler = (event: BaseDynamicLayerLayerviewCreateEvent) => void; + + export type BaseDynamicLayerLayerviewDestroyEventHandler = (event: BaseDynamicLayerLayerviewDestroyEvent) => void; + + export type BaseElevationLayerLayerviewCreateEventHandler = (event: BaseElevationLayerLayerviewCreateEvent) => void; + + export type BaseElevationLayerLayerviewDestroyEventHandler = (event: BaseElevationLayerLayerviewDestroyEvent) => void; + + export type BaseTileLayerLayerviewCreateEventHandler = (event: BaseTileLayerLayerviewCreateEvent) => void; + + export type BaseTileLayerLayerviewDestroyEventHandler = (event: BaseTileLayerLayerviewDestroyEvent) => void; + + export type CSVLayerLayerviewCreateEventHandler = (event: CSVLayerLayerviewCreateEvent) => void; + + export type CSVLayerLayerviewDestroyEventHandler = (event: CSVLayerLayerviewDestroyEvent) => void; + + export type ElevationLayerLayerviewCreateEventHandler = (event: ElevationLayerLayerviewCreateEvent) => void; + + export type ElevationLayerLayerviewDestroyEventHandler = (event: ElevationLayerLayerviewDestroyEvent) => void; + + export type FeatureLayerLayerviewCreateEventHandler = (event: FeatureLayerLayerviewCreateEvent) => void; + + export type FeatureLayerLayerviewDestroyEventHandler = (event: FeatureLayerLayerviewDestroyEvent) => void; + + export type GeoRSSLayerLayerviewCreateEventHandler = (event: GeoRSSLayerLayerviewCreateEvent) => void; + + export type GeoRSSLayerLayerviewDestroyEventHandler = (event: GeoRSSLayerLayerviewDestroyEvent) => void; + + export type GraphicsLayerLayerviewCreateEventHandler = (event: GraphicsLayerLayerviewCreateEvent) => void; + + export type GraphicsLayerLayerviewDestroyEventHandler = (event: GraphicsLayerLayerviewDestroyEvent) => void; + + export type GroupLayerLayerviewCreateEventHandler = (event: GroupLayerLayerviewCreateEvent) => void; + + export type GroupLayerLayerviewDestroyEventHandler = (event: GroupLayerLayerviewDestroyEvent) => void; + + export type IdentityManagerCredentialCreateEventHandler = (event: IdentityManagerCredentialCreateEvent) => void; + + export type IdentityManagerCredentialsDestroyEventHandler = (event: IdentityManagerCredentialsDestroyEvent) => void; + + export type ImageryLayerLayerviewCreateEventHandler = (event: ImageryLayerLayerviewCreateEvent) => void; + + export type ImageryLayerLayerviewDestroyEventHandler = (event: ImageryLayerLayerviewDestroyEvent) => void; + + export type IntegratedMeshLayerLayerviewCreateEventHandler = (event: IntegratedMeshLayerLayerviewCreateEvent) => void; + + export type IntegratedMeshLayerLayerviewDestroyEventHandler = (event: IntegratedMeshLayerLayerviewDestroyEvent) => void; + + export type KMLLayerLayerviewCreateEventHandler = (event: KMLLayerLayerviewCreateEvent) => void; + + export type KMLLayerLayerviewDestroyEventHandler = (event: KMLLayerLayerviewDestroyEvent) => void; + + export type MapImageLayerLayerviewCreateEventHandler = (event: MapImageLayerLayerviewCreateEvent) => void; + + export type MapImageLayerLayerviewDestroyEventHandler = (event: MapImageLayerLayerviewDestroyEvent) => void; + + export type MapNotesLayerLayerviewCreateEventHandler = (event: MapNotesLayerLayerviewCreateEvent) => void; + + export type MapNotesLayerLayerviewDestroyEventHandler = (event: MapNotesLayerLayerviewDestroyEvent) => void; + + export type MapViewClickEventHandler = (event: MapViewClickEvent) => void; + + export type MapViewDoubleClickEventHandler = (event: MapViewDoubleClickEvent) => void; + + export type MapViewDragEventHandler = (event: MapViewDragEvent) => void; + + export type MapViewHoldEventHandler = (event: MapViewHoldEvent) => void; + + export type MapViewKeyDownEventHandler = (event: MapViewKeyDownEvent) => void; + + export type MapViewKeyUpEventHandler = (event: MapViewKeyUpEvent) => void; + + export type MapViewLayerviewCreateEventHandler = (event: MapViewLayerviewCreateEvent) => void; + + export type MapViewLayerviewDestroyEventHandler = (event: MapViewLayerviewDestroyEvent) => void; + + export type MapViewMouseWheelEventHandler = (event: MapViewMouseWheelEvent) => void; + + export type MapViewPointerDownEventHandler = (event: MapViewPointerDownEvent) => void; + + export type MapViewPointerMoveEventHandler = (event: MapViewPointerMoveEvent) => void; + + export type MapViewPointerUpEventHandler = (event: MapViewPointerUpEvent) => void; + + export type MapViewResizeEventHandler = (event: MapViewResizeEvent) => void; + + interface Basemap extends Accessor, Loadable, JSONSupport { + baseLayers: Collection<Layer>; + id: string; + loaded: boolean; + portalItem: PortalItem; + referenceLayers: Collection<Layer>; + thumbnailUrl: string; + title: string; + + clone(): Basemap; + } + + interface BasemapConstructor { + new(properties?: BasemapProperties): Basemap; + + + fromId(id: string): Basemap; + + fromJSON(json: any): Basemap; + } + + export const Basemap: BasemapConstructor; + + interface BasemapProperties extends LoadableProperties { + baseLayers?: CollectionProperties<LayerProperties>; + id?: string; + loaded?: boolean; + portalItem?: PortalItemProperties; + referenceLayers?: CollectionProperties<LayerProperties>; + thumbnailUrl?: string; + title?: string; + } + + interface Camera extends Accessor, JSONSupport { + fov: number; + heading: number; + position: Point; + tilt: number; + + clone(): Camera; + } + + interface CameraConstructor { + new(properties?: CameraProperties): Camera; + + fromJSON(json: any): Camera; + } + + export const Camera: CameraConstructor; + + interface CameraProperties { + fov?: number; + heading?: number; + position?: PointProperties; + tilt?: number; + } + + interface Color { + a: number; + b: number; + g: number; + r: number; + + clone(): Color; + setColor(color: string | number[] | any): Color; + toCss(includeAlpha?: boolean): string; + toHex(): string; + toJSON(): any; + toRgb(): number[]; + toRgba(): number[]; + } + + interface ColorConstructor { + + blendColors(start: Color, end: Color, weight: number, obj?: Color): Color; + new(color: string | number[] | any): Color; + fromArray(a: number[], obj?: Color): Color; + fromHex(color: string, obj?: Color): Color; + fromJSON(json: any): Color; + fromRgb(color: string, obj?: Color): Color; + fromString(str: string, obj?: Color): Color; + } + + export const Color: ColorConstructor; + + interface config { + geometryServiceUrl: string; + geoRSSServiceUrl: string; + kmlServiceUrl: string; + portalUrl: string; + request: configRequest; + workers: configWorkers; + } + + export const config: config; + + export interface configRequest { + corsDetection?: boolean; + corsDetectionTimeout?: number; + corsEnabledServers?: (string | configRequestCorsEnabledServers)[]; + forceProxy?: boolean; + httpsDomains?: string[]; + maxUrlLength?: number; + proxyUrl?: string; + timeout?: number; + useCors?: string | boolean; + useIdentity?: boolean; + proxyRules?: configRequestProxyRules[]; + } + + export interface configRequestCorsEnabledServers { + host?: string; + withCredentials?: boolean; + } + + export interface configRequestProxyRules { + proxyUrl?: string; + urlPrefix?: string; + } + + export interface configWorkers { + loaderConfig?: configWorkersLoaderConfig; + } + + export interface configWorkersLoaderConfig { + has?: any; + paths?: any; + map?: any; + packages?: any[]; + } + + + + export type WatchCallback = (newValue: any, oldValue: any, propertyName: string, target: Accessor) => void; + + export interface WatchHandle { + remove(): void; + } + + interface decorators { + aliasOf(propertyName: string): Function; + cast(propertyName: string): Function; + cast(classFunction: Function): Function; + declared<T>(baseClass: T, ...mixinClasses: any[]): T; + property(propertyMetadata?: decoratorsPropertyPropertyMetadata): Function; + subclass(declaredClass?: string): Function; + } + + export const decorators: decorators; + + export interface decoratorsPropertyPropertyMetadata { + dependsOn?: string[]; + type?: Function; + cast?: Function; + readOnly?: boolean; + constructOnly?: boolean; + aliasOf?: string; + value?: any; + } + + + + + + + + + + + + + + interface Error { + details: any; + message: string; + name: string; + } + + export const Error: Error; + + export class Evented { + protected emit(type: string, event: any): void; + hasEventListener(type: string): boolean; + on(type: string, listener: EventHandler): IHandle; + } + + export type EventHandler = (event: any) => void; + + interface JSONSupport { + toJSON(): any; + } + + interface JSONSupportConstructor { + new(): JSONSupport; + + + fromJSON(json: any): any; + } + + export const JSONSupport: JSONSupportConstructor; + + interface lang { + clone(elem: any): any; + } + + export const lang: lang; + + interface Loadable { + loadError: Error; + loadStatus: string; + loadWarnings: any[]; + + always(callbackOrErrback?: Function): IPromise<any>; + cancelLoad(): void; + isFulfilled(): boolean; + isRejected(): boolean; + isResolved(): boolean; + load(): IPromise<any>; + otherwise(errback?: Function): IPromise<any>; + then(callback?: Function, errback?: Function, progback?: Function): IPromise<any>; + } + + interface LoadableConstructor { + new(): Loadable; + } + + export const Loadable: LoadableConstructor; + + interface LoadableProperties { + loadError?: Error; + loadStatus?: string; + loadWarnings?: any[]; + } + + interface corePromise { + always(callbackOrErrback?: Function): IPromise<any>; + isFulfilled(): boolean; + isRejected(): boolean; + isResolved(): boolean; + otherwise(errback?: Function): IPromise<any>; + then(callback?: Function, errback?: Function, progback?: Function): IPromise<any>; + } + + interface corePromiseConstructor { + new(): corePromise; + } + + export const corePromise: corePromiseConstructor; + + interface promiseUtils { + eachAlways(promises: IPromise<any>[] | any): IPromise<EachAlwaysResult[]> | any; + filter<T>(input: T[], predicate: FilterPredicateCallback): IPromise<T[]>; + reject<T>(error?: any): IPromise<T>; + resolve<T>(value?: T): IPromise<T>; + } + + export const promiseUtils: promiseUtils; + + export interface EachAlwaysResult { + promise: IPromise<any>; + value: any; + error: any; + } + + export type FilterPredicateCallback = (value: any, index: number) => IPromise<any>; + + interface requireUtils { + when(moduleRequire: any, moduleNames: string[] | string): IPromise<any>; + } + + export const requireUtils: requireUtils; + + interface urlUtils { + addProxyRule(rule: urlUtilsAddProxyRuleRule): number; + getProxyRule(url: string): any; + urlToObject(url: string): any; + } + + export const urlUtils: urlUtils; + + export interface urlUtilsAddProxyRuleRule { + proxyUrl: string; + urlPrefix: string; + } + + interface watchUtils { + init(obj: Accessor, propertyName: string | string[], callback: WatchCallback): WatchHandle; + on(obj: Accessor, propertyName: string, eventName: string, eventHandler: Function, attachedHandler?: EventAttachedCallback, detachedHandler?: EventAttachedCallback): WatchHandle; + once(obj: Accessor, propertyName: string, callback?: WatchCallback): PromisedWatchHandle; + pausable(obj: Accessor, propertyName: string, callback?: WatchCallback): PausableWatchHandle; + watch(obj: Accessor, propertyName: string | string[], callback: WatchCallback): WatchHandle; + when(obj: Accessor, propertyName: string, callback: WatchCallback): WatchHandle; + whenDefined(obj: Accessor, propertyName: string, callback: WatchCallback): WatchHandle; + whenDefinedOnce(obj: Accessor, propertyName: string, callback?: WatchCallback): PromisedWatchHandle; + whenFalse(obj: Accessor, propertyName: string, callback: WatchCallback): WatchHandle; + whenFalseOnce(obj: Accessor, propertyName: string, callback?: WatchCallback): PromisedWatchHandle; + whenNot(obj: Accessor, propertyName: string, callback: WatchCallback): WatchHandle; + whenNotOnce(obj: Accessor, propertyName: string, callback?: WatchCallback): PromisedWatchHandle; + whenOnce(obj: Accessor, propertyName: string, callback?: WatchCallback): PromisedWatchHandle; + whenTrue(obj: Accessor, propertyName: string, callback: WatchCallback): WatchHandle; + whenTrueOnce(obj: Accessor, propertyName: string, callback?: WatchCallback): PromisedWatchHandle; + whenUndefined(obj: Accessor, propertyName: string, callback: WatchCallback): WatchHandle; + whenUndefinedOnce(obj: Accessor, propertyName: string, callback?: WatchCallback): PromisedWatchHandle; + } + + export const watchUtils: watchUtils; + + export type EventAttachedCallback = (target: any, propName: string, obj: Accessor, eventName: string) => void; + + export interface PausableWatchHandle { + remove(): void; + pause(): void; + resume(): void; + } + export interface PromisedWatchHandle extends IPromise<any> { remove(): void; } - export type ItemCallback = (item: any, index: number) => void; - export type ItemCompareCallback = (firstItem: any, secondItem: any) => number; - - export type ItemMapCallback = (item: any, index: number) => any; - - export type ItemReduceCallback = (previousValue: any, currentValue: any, index: number) => any; - - export type ItemTestCallback = (item: any, index: number) => boolean; - - export interface PortalItemFetchRelatedItemsParams { - relationshipType: string; - direction?: string; + interface workers { + open(client: any, modulePath: string): IPromise<Connection>; } - export interface PortalItemUpdateParams { - data: string | any; + export const workers: workers; + + interface Connection { + broadcast(methodName: string, data?: any, buffers?: ArrayBuffer[]): IPromise<any[]>; + close(): void; + invoke(methodName: string, data?: any, buffers?: ArrayBuffer[]): IPromise<any>; } - export interface PortalUserAddItemParams { - item: PortalItem; - data?: string | any; - folder?: PortalFolder; + interface ConnectionConstructor { + new(client: any, id: number): Connection; } - export interface PortalUserFetchItemsParams { - folder: PortalFolder; - num: number; - start: number; + export const Connection: ConnectionConstructor; + + interface Circle extends Polygon { + center: Point | number[]; + geodesic: boolean; + numberOfPoints: number; + radius: number; + radiusUnit: string; + + clone(): Circle; } - export interface PortalFeaturedGroups { - owner: string; - title: string; + interface CircleConstructor { + new(properties?: CircleProperties): Circle; + + fromJSON(json: any): Circle; + } + + export const Circle: CircleConstructor; + + interface CircleProperties extends PolygonProperties { + center?: PointProperties | number[]; + geodesic?: boolean; + numberOfPoints?: number; + radius?: number; + radiusUnit?: string; + } + + interface Extent extends Geometry { + center: Point; + height: number; + mmax: number; + mmin: number; + width: number; + xmax: number; + xmin: number; + ymax: number; + ymin: number; + zmax: number; + zmin: number; + + centerAt(point: Point): Extent; + clone(): Extent; + contains(geometry: Point | Extent): boolean; + equals(extent: Extent): boolean; + expand(factor: number): Extent; + intersection(extent: Extent): Extent; + intersects(geometry: Geometry): boolean; + normalize(): Extent[]; + offset(dx: number, dy: number, dz: number): Extent; + union(extent: Extent): Extent; + } + + interface ExtentConstructor { + new(properties?: ExtentProperties): Extent; + + fromJSON(json: any): Extent; + } + + export const Extent: ExtentConstructor; + + interface ExtentProperties extends GeometryProperties { + center?: PointProperties; + height?: number; + mmax?: number; + mmin?: number; + width?: number; + xmax?: number; + xmin?: number; + ymax?: number; + ymin?: number; + zmax?: number; + zmin?: number; + } + + interface Geometry extends Accessor, JSONSupport { + cache: any; + extent: Extent; + hasM: boolean; + hasZ: boolean; + spatialReference: SpatialReference; + type: string; + + clone(): Geometry; + } + + interface GeometryConstructor { + new(properties?: GeometryProperties): Geometry; + + fromJSON(json: any): Geometry; + } + + export const Geometry: GeometryConstructor; + + interface GeometryProperties { + cache?: any; + extent?: ExtentProperties; + hasM?: boolean; + hasZ?: boolean; + spatialReference?: SpatialReferenceProperties; + type?: string; + } + + interface geometryEngine { + buffer(geometry: Geometry | Geometry[], distance: number | number[], unit: string | number, unionResults?: boolean): Polygon | Polygon[]; + clip(geometry: Geometry, envelope: Extent): Geometry; + contains(containerGeometry: Geometry, insideGeometry: Geometry): boolean; + convexHull(geometry: Geometry, merge?: boolean): Geometry | Geometry[]; + crosses(geometry1: Geometry, geometry2: Geometry): boolean; + cut(geometry: Geometry, cutter: Polyline): Geometry[]; + densify(geometry: Geometry, maxSegmentLength: number, maxSegmentLengthUnit: string | number): Geometry; + difference(inputGeometry: Geometry | Geometry[], subtractor: Geometry): Geometry | Geometry[]; + disjoint(geometry1: Geometry, geometry2: Geometry): boolean; + distance(geometry1: Geometry, geometry2: Geometry, distanceUnit: string | number): number; + equals(geometry1: Geometry, geometry2: Geometry): boolean; + extendedSpatialReferenceInfo(spatialReference: SpatialReference): any; + flipHorizontal(geometry: Geometry, flipOrigin?: Point): Geometry; + flipVertical(geometry: Geometry, flipOrigin?: Point): Geometry; + generalize(geometry: Geometry, maxDeviation: number, removeDegenerateParts?: boolean, maxDeviationUnit?: string | number): Geometry; + geodesicArea(geometry: Polygon, unit: string | number): number; + geodesicBuffer(geometry: Geometry | Geometry[], distance: number | number[], unit: string | number, unionResults?: boolean): Polygon | Polygon[]; + geodesicDensify(geometry: Polyline | Polygon, maxSegmentLength: number, maxSegmentLengthUnit: string | number): Geometry; + geodesicLength(geometry: Geometry, unit: string | number): number; + intersect(geometry: Geometry | Geometry[], intersector: Geometry): Geometry | Geometry[]; + intersects(geometry1: Geometry, geometry2: Geometry): boolean; + isSimple(geometry: Geometry): boolean; + nearestCoordinate(geometry: Geometry, inputPoint: Point): NearestPointResult; + nearestVertex(geometry: Geometry, inputPoint: Point): NearestPointResult; + nearestVertices(geometry: Geometry, inputPoint: Point, searchRadius: number, maxVertexCountToReturn: number): NearestPointResult[]; + offset(geometry: Geometry | Geometry[], offsetDistance: number, offsetUnit: string | number, joinType: string, bevelRatio?: number, flattenError?: number): Geometry | Geometry[]; + overlaps(geometry1: Geometry, geometry2: Geometry): boolean; + planarArea(geometry: Polygon, unit: string | number): number; + planarLength(geometry: Geometry, unit: string | number): number; + relate(geometry1: Geometry, geometry2: Geometry, relation: string): boolean; + rotate(geometry: Geometry, angle: number, rotationOrigin?: Point): Geometry; + simplify(geometry: Geometry): Geometry; + symmetricDifference(leftGeometry: Geometry | Geometry[], rightGeometry: Geometry): Geometry | Geometry[]; + touches(geometry1: Geometry, geometry2: Geometry): boolean; + union(geometries: Geometry[]): Geometry; + within(innerGeometry: Geometry, outerGeometry: Geometry): boolean; + } + + export const geometryEngine: geometryEngine; + + export interface NearestPointResult { + coordinate: Point; + distance: number; + isRightSide: boolean; + vertexIndex: number; + isEmpty: boolean; + } + + interface geometryEngineAsync { + buffer(geometry: Geometry | Geometry[], distance: number | number[], unit: string | number, unionResults?: boolean): IPromise<Polygon | Polygon[]>; + clip(geometry: Geometry, envelope: Extent): IPromise<Geometry>; + contains(containerGeometry: Geometry, insideGeometry: Geometry): IPromise<boolean>; + convexHull(geometry: Geometry, merge?: boolean): IPromise<Geometry>; + crosses(geometry1: Geometry, geometry2: Geometry): IPromise<boolean>; + cut(geometry: Geometry, cutter: Polyline): IPromise<Geometry[]>; + densify(geometry: Geometry, maxSegmentLength: number, maxSegmentLengthUnit: string | number): IPromise<Geometry>; + difference(inputGeometry: Geometry | Geometry[], subtractor: Geometry): IPromise<Geometry>; + disjoint(geometry1: Geometry, geometry2: Geometry): IPromise<boolean>; + distance(geometry1: Geometry, geometry2: Geometry, distanceUnit: string | number): IPromise<number>; + equals(geometry1: Geometry, geometry2: Geometry): IPromise<boolean>; + extendedSpatialReferenceInfo(spatialReference: SpatialReference): IPromise<any>; + flipHorizontal(geometry: Geometry, flipOrigin?: Point): IPromise<Geometry>; + flipVertical(geometry: Geometry, flipOrigin?: Point): IPromise<Geometry>; + generalize(geometry: Geometry, maxDeviation: number, removeDegenerateParts?: boolean, maxDeviationUnit?: string | number): IPromise<Geometry>; + geodesicArea(geometry: Polygon, unit: string | number): IPromise<number>; + geodesicBuffer(geometry: Geometry | Geometry[], distance: number | number[], unit: string | number, unionResults?: boolean): IPromise<Polygon | Polygon[]>; + geodesicDensify(geometry: Polyline | Polygon, maxSegmentLength: number, maxSegmentLengthUnit: string | number): IPromise<Geometry>; + geodesicLength(geometry: Geometry, unit: string | number): IPromise<number>; + intersect(geometry: Geometry | Geometry[], intersector: Geometry): IPromise<Geometry>; + intersects(geometry1: Geometry, geometry2: Geometry): IPromise<boolean>; + isSimple(geometry: Geometry): IPromise<boolean>; + nearestCoordinate(geometry: Geometry, inputPoint: Point): IPromise<NearestPointResult>; + nearestVertex(geometry: Geometry, inputPoint: Point): IPromise<NearestPointResult>; + nearestVertices(geometry: Geometry, inputPoint: Point, searchRadius: number, maxVertexCountToReturn: number): IPromise<NearestPointResult>; + offset(geometry: Geometry | Geometry[], offsetDistance: number, offsetUnit: string | number, joinType: string, bevelRatio?: number, flattenError?: number): IPromise<Geometry[]>; + overlaps(geometry1: Geometry, geometry2: Geometry): IPromise<boolean>; + planarArea(geometry: Polygon, unit: string | number): IPromise<number>; + planarLength(geometry: Geometry, unit: string | number): IPromise<number>; + relate(geometry1: Geometry, geometry2: Geometry, relation: string): IPromise<boolean>; + rotate(geometry: Geometry, angle: number, rotationOrigin?: Point): IPromise<Geometry>; + simplify(geometry: Geometry): IPromise<Geometry>; + symmetricDifference(leftGeometry: Geometry | Geometry[], rightGeometry: Geometry): IPromise<Geometry | Geometry[]>; + touches(geometry1: Geometry, geometry2: Geometry): IPromise<boolean>; + union(geometries: Geometry[]): IPromise<Geometry>; + within(innerGeometry: Geometry, outerGeometry: Geometry): IPromise<boolean>; + } + + export const geometryEngineAsync: geometryEngineAsync; + + interface HeightModelInfo extends Accessor, JSONSupport { + heightModel: string; + heightUnit: string; + vertCRS: string; + } + + interface HeightModelInfoConstructor { + new(properties?: HeightModelInfoProperties): HeightModelInfo; + + fromJSON(json: any): HeightModelInfo; + } + + export const HeightModelInfo: HeightModelInfoConstructor; + + interface HeightModelInfoProperties { + heightModel?: string; + heightUnit?: string; + vertCRS?: string; + } + + interface Multipoint extends Geometry { + points: number[][]; + + addPoint(point: Point | number[]): Multipoint; + clone(): Multipoint; + getPoint(index: number): Point; + removePoint(index: number): Point; + setPoint(index: number, point: Point): Multipoint; + } + + interface MultipointConstructor { + new(properties?: MultipointProperties): Multipoint; + + fromJSON(json: any): Multipoint; + } + + export const Multipoint: MultipointConstructor; + + interface MultipointProperties extends GeometryProperties { + points?: number[][]; + } + + interface Point extends Geometry { + latitude: number; + longitude: number; + m: number; + x: number; + y: number; + z: number; + + clone(): Point; + copy(other: Point): void; + distance(other: Point): number; + equals(point: Point): boolean; + normalize(): Point; + } + + interface PointConstructor { + new(properties?: PointProperties): Point; + + fromJSON(json: any): Point; + } + + export const Point: PointConstructor; + + interface PointProperties extends GeometryProperties { + latitude?: number; + longitude?: number; + m?: number; + x?: number; + y?: number; + z?: number; + } + + interface Polygon extends Geometry { + centroid: Point; + isSelfIntersecting: boolean; + rings: number[][][]; + + addRing(ring: Point[] | number[][]): Polygon; + clone(): Polygon; + contains(point: Point): boolean; + getPoint(ringIndex: number, pointIndex: number): Point; + insertPoint(ringIndex: number, pointIndex: number, point: Point): Polygon; + isClockwise(ring: Point[] | number[][]): boolean; + removePoint(ringIndex: number, pointIndex: number): Point[]; + removeRing(index: number): Point[]; + setPoint(ringIndex: number, pointIndex: number, point: Point): Polygon; + } + + interface PolygonConstructor { + new(properties?: PolygonProperties): Polygon; + + + fromExtent(extent: Extent): Polygon; + + fromJSON(json: any): Polygon; + } + + export const Polygon: PolygonConstructor; + + interface PolygonProperties extends GeometryProperties { + centroid?: PointProperties; + isSelfIntersecting?: boolean; + rings?: number[][][]; + } + + interface Polyline extends Geometry { + paths: number[][][]; + + addPath(points: number[][]): Polyline; + clone(): Polyline; + getPoint(pathIndex: number, pointIndex: number): Point; + insertPoint(pathIndex: number, pointIndex: number, point: Point): Polyline; + removePath(index: number): Point[]; + removePoint(pathIndex: number, pointIndex: number): Point; + setPoint(pathIndex: number, pointIndex: number, point: Point): Polyline; + } + + interface PolylineConstructor { + new(properties?: PolylineProperties): Polyline; + + fromJSON(json: any): Polyline; + } + + export const Polyline: PolylineConstructor; + + interface PolylineProperties extends GeometryProperties { + paths?: number[][][]; + } + + interface ScreenPoint extends Accessor { + x: number; + y: number; + } + + interface ScreenPointConstructor { + new(properties?: ScreenPointProperties): ScreenPoint; + } + + export const ScreenPoint: ScreenPointConstructor; + + interface ScreenPointProperties { + x?: number; + y?: number; + } + + interface SpatialReference extends Accessor, JSONSupport { + isGeographic: boolean; + isWebMercator: boolean; + isWGS84: boolean; + isWrappable: boolean; + WebMercator: SpatialReference; + WGS84: SpatialReference; + wkid: number; + wkt: string; + + clone(): SpatialReference; + equals(spatialReference: SpatialReference): boolean; + } + + interface SpatialReferenceConstructor { + new(properties?: SpatialReferenceProperties): SpatialReference; + + fromJSON(json: any): SpatialReference; + } + + export const SpatialReference: SpatialReferenceConstructor; + + interface SpatialReferenceProperties { + isGeographic?: boolean; + isWebMercator?: boolean; + isWGS84?: boolean; + isWrappable?: boolean; + WebMercator?: SpatialReferenceProperties; + WGS84?: SpatialReferenceProperties; + wkid?: number; + wkt?: string; + } + + interface jsonUtils { + fromJSON(json: any): Geometry; + getJsonType(geometry: Geometry): string; + } + + export const jsonUtils: jsonUtils; + + interface normalizeUtils { + normalizeCentralMeridian(geometries: Geometry[], geometryService?: GeometryService): IPromise<Geometry[]>; + } + + export const normalizeUtils: normalizeUtils; + + interface webMercatorUtils { + canProject(source: SpatialReference | any, target: SpatialReference | any): boolean; + geographicToWebMercator(geometry: Geometry): Geometry; + lngLatToXY(long: number, lat: number): number[]; + project(geometry: Geometry, spatialReference: SpatialReference | any): Geometry; + webMercatorToGeographic(geometry: Geometry): Geometry; + xyToLngLat(x: number, y: number): number[]; + } + + export const webMercatorUtils: webMercatorUtils; + + interface Graphic extends Accessor, JSONSupport { + attributes: any; + geometry: Geometry; + layer: FeatureLayer | GraphicsLayer; + popupTemplate: PopupTemplate; + symbol: Symbol; + visible: boolean; + + clone(): Graphic; + getAttribute(name: string): any; + setAttribute(name: string, newValue: any): void; + } + + interface GraphicConstructor { + new(properties?: GraphicProperties): Graphic; + + fromJSON(json: any): Graphic; + } + + export const Graphic: GraphicConstructor; + + interface GraphicProperties { + attributes?: any; + geometry?: GeometryProperties; + layer?: FeatureLayerProperties | GraphicsLayerProperties; + popupTemplate?: PopupTemplateProperties; + symbol?: SymbolProperties; + visible?: boolean; + } + + interface Ground extends Accessor, Loadable, JSONSupport { + layers: Collection<Layer>; + loaded: boolean; + + clone(): Ground; + queryElevation(geometry: Point | Multipoint | Polyline, options?: GroundQueryElevationOptions): IPromise<ElevationQueryResult>; + } + + interface GroundConstructor { + new(properties?: GroundProperties): Ground; + + fromJSON(json: any): Ground; + } + + export const Ground: GroundConstructor; + + interface GroundProperties extends LoadableProperties { + layers?: CollectionProperties<LayerProperties>; + loaded?: boolean; + } + + export interface ElevationQueryResult { + geometry: Point | Multipoint | Polyline; + sampleInfo: ElevationQueryResultSampleInfo[]; + noDataValue: number; } export interface GroundQueryElevationOptions { @@ -95,27 +1004,576 @@ declare namespace __esri { noDataValue?: number; } - export interface PopupTemplateExpressionInfos { - name: string; - title?: string; - expression: string; - returnType?: string; + export interface ElevationQueryResultSampleInfo { + demResolution: number; + source: ElevationLayer; } - export interface PopupTemplateFieldInfos { - fieldName: string; - format?: PopupTemplateFieldInfosFormat; - isEditable?: boolean; - label?: string; - stringFieldOption?: string; - tooltip?: string; - visible?: boolean; + interface Credential extends Accessor { + expires: number; + isAdmin: boolean; + oAuthState: any; + server: string; + ssl: boolean; + token: string; + userId: string; + + destroy(): void; + refreshToken(): void; } - export interface PopupTemplateFieldInfosFormat { - dateFormat?: string; - digitSeparator?: boolean; - places?: number; + interface CredentialConstructor { + new(properties?: CredentialProperties): Credential; + } + + export const Credential: CredentialConstructor; + + interface CredentialProperties { + expires?: number; + isAdmin?: boolean; + oAuthState?: any; + server?: string; + ssl?: boolean; + token?: string; + userId?: string; + } + + interface IdentityManager extends IdentityManagerBase { + dialog: any; + + setOAuthRedirectionHandler(handlerFunction: HandlerCallback): void; + setOAuthResponseHash(hash: string): void; + + on(name: "credential-create", eventHandler: IdentityManagerCredentialCreateEventHandler): IHandle; + on(name: "credential-create", modifiers: string[], eventHandler: IdentityManagerCredentialCreateEventHandler): IHandle; + on(name: "credentials-destroy", eventHandler: IdentityManagerCredentialsDestroyEventHandler): IHandle; + on(name: "credentials-destroy", modifiers: string[], eventHandler: IdentityManagerCredentialsDestroyEventHandler): IHandle; + } + + interface IdentityManagerConstructor { + new(): IdentityManager; + } + + export const IdentityManager: IdentityManagerConstructor; + + export interface IdentityManagerCredentialCreateEvent { + credential: Credential; + } + + export interface IdentityManagerCredentialsDestroyEvent { + } + + export type HandlerCallback = (authorizeParams: any, authorizeUrl: string, oAuthInfo: OAuthInfo, resourceUrl: string, serverInfo: ServerInfo) => void; + + interface IdentityManagerBase extends Evented { + tokenValidity: number; + + checkSignInStatus(resUrl: string): IPromise<Credential>; + destroyCredentials(): void; + findCredential(url: string, userId?: string): Credential; + findOAuthInfo(url: string): OAuthInfo; + findServerInfo(url: string): ServerInfo; + generateToken(serverInfo: ServerInfo, userInfo: any, options?: IdentityManagerBaseGenerateTokenOptions): IPromise<any>; + getCredential(url: string, options?: IdentityManagerBaseGetCredentialOptions): IPromise<any>; + initialize(json: any): void; + isBusy(): boolean; + oAuthSignIn(resUrl: string, serverInfo: ServerInfo, oAuthInfo: OAuthInfo, options?: IdentityManagerBaseOAuthSignInOptions): IPromise<any>; + registerOAuthInfos(oAuthInfos: OAuthInfo[]): void; + registerServers(serverInfos: ServerInfo[]): void; + registerToken(properties: IdentityManagerBaseRegisterTokenProperties): void; + setProtocolErrorHandler(handlerFunction: IdentityManagerBaseSetProtocolErrorHandlerHandlerFunction): void; + setRedirectionHandler(handlerFunction: IdentityManagerBaseSetRedirectionHandlerHandlerFunction): void; + signIn(url: string, serverInfo: ServerInfo, options?: IdentityManagerBaseSignInOptions): IPromise<any>; + toJSON(): any; + } + + interface IdentityManagerBaseConstructor { + new(): IdentityManagerBase; + } + + export const IdentityManagerBase: IdentityManagerBaseConstructor; + + export interface IdentityManagerBaseGenerateTokenOptions { + serverUrl: string; + token: string; + ssl: boolean; + } + + export interface IdentityManagerBaseGetCredentialOptions { + error?: Error; + oAuthPopupConfirmation?: boolean; + retry?: boolean; + token?: string; + } + + export interface IdentityManagerBaseOAuthSignInOptions { + error: Error; + oAuthPopupConfirmation: boolean; + token: string; + } + + export interface IdentityManagerBaseRegisterTokenProperties { + expires?: number; + server: string; + ssl?: boolean; + token: string; + userId?: string; + } + + export interface IdentityManagerBaseSetProtocolErrorHandlerHandlerFunction { + resourceUrl: string; + serverInfo: ServerInfo; + } + + export interface IdentityManagerBaseSetRedirectionHandlerHandlerFunction { + resourceUrl: string; + returnUrlParamName: string; + serverInfo: ServerInfo; + signInPage: string; + } + + export interface IdentityManagerBaseSignInOptions { + error: Error; + } + + interface OAuthInfo extends Accessor, JSONSupport { + appId: string; + authNamespace: string; + expiration: number; + locale: string; + minTimeUntilExpiration: number; + popup: boolean; + popupCallbackUrl: string; + popupWindowFeatures: string; + portalUrl: string; + + clone(): OAuthInfo; + } + + interface OAuthInfoConstructor { + new(properties?: OAuthInfoProperties): OAuthInfo; + + fromJSON(json: any): OAuthInfo; + } + + export const OAuthInfo: OAuthInfoConstructor; + + interface OAuthInfoProperties { + appId?: string; + authNamespace?: string; + expiration?: number; + locale?: string; + minTimeUntilExpiration?: number; + popup?: boolean; + popupCallbackUrl?: string; + popupWindowFeatures?: string; + portalUrl?: string; + } + + interface ServerInfo extends Accessor, JSONSupport { + adminTokenServiceUrl: string; + currentVersion: number; + server: string; + shortLivedTokenValidity: number; + tokenServiceUrl: string; + } + + interface ServerInfoConstructor { + new(properties?: ServerInfoProperties): ServerInfo; + + fromJSON(json: any): ServerInfo; + } + + export const ServerInfo: ServerInfoConstructor; + + interface ServerInfoProperties { + adminTokenServiceUrl?: string; + currentVersion?: number; + server?: string; + shortLivedTokenValidity?: number; + tokenServiceUrl?: string; + } + + interface kernel { + version: string; + } + + export const kernel: kernel; + + interface BaseDynamicLayer extends Layer, ScaleRangeLayer { + addResolvingPromise(promiseToLoad: IPromise<any>): IPromise<any>; + fetchImage(extent: Extent, width: number, height: number, options?: BaseDynamicLayerFetchImageOptions): IPromise<HTMLImageElement | HTMLCanvasElement>; + getImageUrl(extent: Extent, width: number, height: number): IPromise<string> | string; + + on(name: "layerview-create", eventHandler: BaseDynamicLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-create", modifiers: string[], eventHandler: BaseDynamicLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-destroy", eventHandler: BaseDynamicLayerLayerviewDestroyEventHandler): IHandle; + on(name: "layerview-destroy", modifiers: string[], eventHandler: BaseDynamicLayerLayerviewDestroyEventHandler): IHandle; + } + + interface BaseDynamicLayerConstructor { + new(properties?: BaseDynamicLayerProperties): BaseDynamicLayer; + } + + export const BaseDynamicLayer: BaseDynamicLayerConstructor; + + interface BaseDynamicLayerProperties extends LayerProperties, ScaleRangeLayerProperties { + + } + + export interface BaseDynamicLayerFetchImageOptions { + allowImageDataAccess?: boolean; + } + + export interface BaseDynamicLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface BaseDynamicLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + + interface BaseElevationLayer extends Layer { + spatialReference: SpatialReference; + tileInfo: TileInfo; + + addResolvingPromise(promiseToLoad: IPromise<any>): IPromise<any>; + fetchTile(level: number, row: number, column: number, options?: BaseElevationLayerFetchTileOptions): IPromise<ElevationTileData>; + getTileBounds(level: number, row: number, column: number, out?: number[]): number[]; + + on(name: "layerview-create", eventHandler: BaseElevationLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-create", modifiers: string[], eventHandler: BaseElevationLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-destroy", eventHandler: BaseElevationLayerLayerviewDestroyEventHandler): IHandle; + on(name: "layerview-destroy", modifiers: string[], eventHandler: BaseElevationLayerLayerviewDestroyEventHandler): IHandle; + } + + interface BaseElevationLayerConstructor { + new(properties?: BaseElevationLayerProperties): BaseElevationLayer; + } + + export const BaseElevationLayer: BaseElevationLayerConstructor; + + interface BaseElevationLayerProperties extends LayerProperties { + spatialReference?: SpatialReferenceProperties; + tileInfo?: TileInfoProperties; + } + + export interface BaseElevationLayerFetchTileOptions { + noDataValue?: number; + } + + export interface ElevationTileData { + values: number[]; + width: number; + height: number; + maxZError: number; + noDataValue: number; + } + + export interface BaseElevationLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface BaseElevationLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + + interface BaseTileLayer extends Layer, ScaleRangeLayer { + spatialReference: SpatialReference; + tileInfo: TileInfo; + + addResolvingPromise(promiseToLoad: IPromise<any>): IPromise<any>; + fetchTile(level: number, row: number, column: number, options?: BaseTileLayerFetchTileOptions): IPromise<HTMLImageElement | HTMLCanvasElement>; + getTileBounds(level: number, row: number, column: number, out?: number[]): number[]; + getTileUrl(level: number, row: number, column: number): string | IPromise<any>; + + on(name: "layerview-create", eventHandler: BaseTileLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-create", modifiers: string[], eventHandler: BaseTileLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-destroy", eventHandler: BaseTileLayerLayerviewDestroyEventHandler): IHandle; + on(name: "layerview-destroy", modifiers: string[], eventHandler: BaseTileLayerLayerviewDestroyEventHandler): IHandle; + } + + interface BaseTileLayerConstructor { + new(properties?: BaseTileLayerProperties): BaseTileLayer; + } + + export const BaseTileLayer: BaseTileLayerConstructor; + + interface BaseTileLayerProperties extends LayerProperties, ScaleRangeLayerProperties { + spatialReference?: SpatialReferenceProperties; + tileInfo?: TileInfoProperties; + } + + export interface BaseTileLayerFetchTileOptions { + allowImageDataAccess?: boolean; + } + + export interface BaseTileLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface BaseTileLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + + interface CSVLayer extends Layer { + copyright: string; + delimiter: string; + elevationInfo: CSVLayerElevationInfo; + featureReduction: CSVLayerFeatureReduction; + fields: Field[]; + labelingInfo: LabelClass[]; + labelsVisible: boolean; + latitudeField: string; + legendEnabled: boolean; + longitudeField: string; + maxScale: number; + minScale: number; + outFields: string[]; + popupEnabled: boolean; + popupTemplate: PopupTemplate; + renderer: Renderer; + screenSizePerspectiveEnabled: boolean; + url: string; + + on(name: "layerview-create", eventHandler: CSVLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-create", modifiers: string[], eventHandler: CSVLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-destroy", eventHandler: CSVLayerLayerviewDestroyEventHandler): IHandle; + on(name: "layerview-destroy", modifiers: string[], eventHandler: CSVLayerLayerviewDestroyEventHandler): IHandle; + } + + interface CSVLayerConstructor { + new(properties?: CSVLayerProperties): CSVLayer; + } + + export const CSVLayer: CSVLayerConstructor; + + interface CSVLayerProperties extends LayerProperties { + copyright?: string; + delimiter?: string; + elevationInfo?: CSVLayerElevationInfo; + featureReduction?: CSVLayerFeatureReduction; + fields?: FieldProperties[]; + labelingInfo?: LabelClassProperties[]; + labelsVisible?: boolean; + latitudeField?: string; + legendEnabled?: boolean; + longitudeField?: string; + maxScale?: number; + minScale?: number; + outFields?: string[]; + popupEnabled?: boolean; + popupTemplate?: PopupTemplateProperties; + renderer?: RendererProperties; + screenSizePerspectiveEnabled?: boolean; + url?: string; + } + + export interface CSVLayerElevationInfo { + mode: string; + offset?: number; + featureExpressionInfo?: CSVLayerElevationInfoFeatureExpressionInfo; + unit?: string; + } + + export interface CSVLayerElevationInfoFeatureExpressionInfo { + expression?: string; + } + + export interface CSVLayerFeatureReduction { + type: string; + } + + export interface CSVLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface CSVLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + + interface DynamicLayer { + portalItem: PortalItem; + url: string; + + fetchImage(extent: Extent, width: number, height: number, options?: DynamicLayerFetchImageOptions): IPromise<HTMLImageElement | HTMLCanvasElement>; + getImageUrl(extent: Extent, width: number, height: number, options?: DynamicLayerGetImageUrlOptions): IPromise<string> | string; + } + + interface DynamicLayerConstructor { + new(): DynamicLayer; + } + + export const DynamicLayer: DynamicLayerConstructor; + + interface DynamicLayerProperties { + portalItem?: PortalItemProperties; + url?: string; + } + + export interface DynamicLayerFetchImageOptions { + allowImageDataAccess?: boolean; + rotation?: number; + pixelRatio?: number; + } + + export interface DynamicLayerGetImageUrlOptions { + pixelRatio?: number; + rotation?: number; + } + + interface ElevationLayer extends Layer, ArcGISMapService, ArcGISCachedService, PortalLayer, TiledLayer { + url: string; + + fetchTile(level: number, row: number, column: number, noDataValue?: number): IPromise<ElevationTileData>; + queryElevation(geometry: Point | Multipoint | Polyline, options?: ElevationLayerQueryElevationOptions): IPromise<ElevationLayerElevationQueryResult>; + + on(name: "layerview-create", eventHandler: ElevationLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-create", modifiers: string[], eventHandler: ElevationLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-destroy", eventHandler: ElevationLayerLayerviewDestroyEventHandler): IHandle; + on(name: "layerview-destroy", modifiers: string[], eventHandler: ElevationLayerLayerviewDestroyEventHandler): IHandle; + } + + interface ElevationLayerConstructor { + new(properties?: ElevationLayerProperties): ElevationLayer; + + fromJSON(json: any): ElevationLayer; + } + + export const ElevationLayer: ElevationLayerConstructor; + + interface ElevationLayerProperties extends LayerProperties, ArcGISMapServiceProperties, ArcGISCachedServiceProperties, PortalLayerProperties, TiledLayerProperties { + url?: string; + } + + export interface ElevationLayerQueryElevationOptions { + demResolution?: number | string; + returnSampleInfo?: boolean; + noDataValue?: number; + } + + export interface ElevationLayerElevationQueryResult { + geometry: Point | Multipoint | Polyline; + sampleInfo: ElevationLayerElevationQueryResultSampleInfo[]; + noDataValue: number; + } + + export interface ElevationLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface ElevationLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + + export interface ElevationLayerElevationQueryResultSampleInfo { + demResolution: number; + } + + interface FeatureLayer extends Layer, PortalLayer, ScaleRangeLayer { + capabilities: FeatureLayerCapabilities; + copyright: string; + definitionExpression: string; + displayField: string; + elevationInfo: FeatureLayerElevationInfo; + featureReduction: FeatureLayerFeatureReduction; + fields: Field[]; + gdbVersion: string; + geometryType: string; + hasAttachments: boolean; + hasM: boolean; + hasZ: boolean; + labelingInfo: LabelClass[]; + labelsVisible: boolean; + layerId: number; + legendEnabled: boolean; + objectIdField: string; + outFields: string[]; + popupEnabled: boolean; + popupTemplate: PopupTemplate; + renderer: Renderer; + returnM: boolean; + returnZ: boolean; + screenSizePerspectiveEnabled: boolean; + source: Collection<Graphic>; + spatialReference: SpatialReference; + templates: FeatureTemplate[]; + token: string; + typeIdField: string; + types: FeatureType[]; + url: string; + version: number; + + applyEdits(edits: FeatureLayerApplyEditsEdits): IPromise<any>; + createQuery(): Query; + getFieldDomain(fieldName: string, options?: FeatureLayerGetFieldDomainOptions): Domain; + queryExtent(params?: Query): IPromise<any>; + queryFeatureCount(params?: Query): IPromise<number>; + queryFeatures(params?: Query): IPromise<FeatureSet>; + queryObjectIds(params?: Query): IPromise<number[]>; + + on(name: "layerview-create", eventHandler: FeatureLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-create", modifiers: string[], eventHandler: FeatureLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-destroy", eventHandler: FeatureLayerLayerviewDestroyEventHandler): IHandle; + on(name: "layerview-destroy", modifiers: string[], eventHandler: FeatureLayerLayerviewDestroyEventHandler): IHandle; + } + + interface FeatureLayerConstructor { + new(properties?: FeatureLayerProperties): FeatureLayer; + + fromJSON(json: any): FeatureLayer; + } + + export const FeatureLayer: FeatureLayerConstructor; + + interface FeatureLayerProperties extends LayerProperties, PortalLayerProperties, ScaleRangeLayerProperties { + capabilities?: FeatureLayerCapabilities; + copyright?: string; + definitionExpression?: string; + displayField?: string; + elevationInfo?: FeatureLayerElevationInfo; + featureReduction?: FeatureLayerFeatureReduction; + fields?: FieldProperties[]; + gdbVersion?: string; + geometryType?: string; + hasAttachments?: boolean; + hasM?: boolean; + hasZ?: boolean; + labelingInfo?: LabelClassProperties[]; + labelsVisible?: boolean; + layerId?: number; + legendEnabled?: boolean; + objectIdField?: string; + outFields?: string[]; + popupEnabled?: boolean; + popupTemplate?: PopupTemplateProperties; + renderer?: RendererProperties; + returnM?: boolean; + returnZ?: boolean; + screenSizePerspectiveEnabled?: boolean; + source?: CollectionProperties<GraphicProperties>; + spatialReference?: SpatialReferenceProperties; + templates?: FeatureTemplateProperties[]; + token?: string; + typeIdField?: string; + types?: FeatureTypeProperties[]; + url?: string; + version?: number; + } + + export interface FeatureEditResult { + objectId: number; + error: FeatureEditResultError; } export interface FeatureLayerApplyEditsEdits { @@ -184,6 +1642,12 @@ declare namespace __esri { export interface FeatureLayerElevationInfo { mode: string; offset?: number; + featureExpressionInfo?: FeatureLayerElevationInfoFeatureExpressionInfo; + unit?: string; + } + + export interface FeatureLayerElevationInfoFeatureExpressionInfo { + expression?: string; } export interface FeatureLayerFeatureReduction { @@ -195,3220 +1659,21 @@ declare namespace __esri { } export interface FeatureLayerLayerviewCreateEvent { - view: View; layerView: LayerView; + view: View; } - export type FeatureLayerLayerviewCreateEventHandler = (event: FeatureLayerLayerviewCreateEvent) => void; - export interface FeatureLayerLayerviewDestroyEvent { + layerView: LayerView; view: View; - layerView: LayerView; } - export type FeatureLayerLayerviewDestroyEventHandler = (event: FeatureLayerLayerviewDestroyEvent) => void; - - export interface GraphicsLayerElevationInfo { - mode: string; - offset?: number; - } - - export interface GraphicsLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type GraphicsLayerLayerviewCreateEventHandler = (event: GraphicsLayerLayerviewCreateEvent) => void; - - export interface GraphicsLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type GraphicsLayerLayerviewDestroyEventHandler = (event: GraphicsLayerLayerviewDestroyEvent) => void; - - export interface LayerFromArcGISServerUrlParams { - url: string; - properties?: any; - } - - export interface LayerFromPortalItemParams { - portalItem: PortalItem; - } - - export interface FeatureTemplateThumbnail { - contentType: any; - imageData: string; - height: number; - width: number; - } - - export interface LabelClassLabelExpressionInfo { - value?: string; - } - - export interface LabelSymbol3DVerticalOffsetProperties { - screenLength?: number; - minWorldLength?: number; - maxWorldLength?: number; - } - export interface LabelSymbol3DVerticalOffset extends Accessor { - screenLength: number; - minWorldLength?: number; - maxWorldLength?: number; - } - - export interface QueryQuantizationParameters { - extent?: Extent; - mode?: string; - originPosition?: string; - tolerance?: number; - } - - export interface ViewPadding { - left?: number; - top?: number; - right?: number; - bottom?: number; - } - - export interface WebMapSourceVersion { - major: number; - minor: number; - } - - export interface WebSceneSaveAsOptions { - folder?: PortalFolder; - ignoreUnsupported?: boolean; - } - - export interface WebSceneSaveOptions { - ignoreUnsupported?: boolean; - } - - export interface WebSceneSourceVersion { - major: number; - minor: number; - } - - export interface WebSceneUpdateFromOptions { - environmentExcluded?: boolean; - viewpointExcluded?: boolean; - } - - export type EventHandler = (event: any) => void; - - export interface SceneViewDragEventOrigin { - x: number; - y: number; - } - - export interface SceneViewClickEvent { - mapPoint: Point; - x: number; - y: number; - button: number; - type: string; - stopPropagation: Function; - timestamp: number; - native: any; - } - - export type SceneViewClickEventHandler = (event: SceneViewClickEvent) => void; - - export interface SceneViewDoubleClickEvent { - mapPoint: Point; - x: number; - y: number; - button: number; - type: string; - stopPropagation: Function; - timestamp: number; - native: any; - } - - export type SceneViewDoubleClickEventHandler = (event: SceneViewDoubleClickEvent) => void; - - export interface SceneViewDragEvent { - action: string; - x: number; - y: number; - origin: SceneViewDragEventOrigin; - type: string; - stopPropagation: Function; - timestamp: number; - native: any; - } - - export type SceneViewDragEventHandler = (event: SceneViewDragEvent) => void; - - export type EasingFunction = (t: number, duration: number) => number; - - export interface SceneViewHoldEvent { - mapPoint: Point; - x: number; - y: number; - button: number; - type: string; - stopPropagation: Function; - timestamp: number; - native: any; - } - - export type SceneViewHoldEventHandler = (event: SceneViewHoldEvent) => void; - - export interface SceneViewKeyDownEvent { - repeat: boolean; - key: string; - type: string; - stopPropagation: Function; - timestamp: number; - native: any; - } - - export type SceneViewKeyDownEventHandler = (event: SceneViewKeyDownEvent) => void; - - export interface SceneViewKeyUpEvent { - type: string; - stopPropagation: Function; - timestamp: number; - native: any; - } - - export type SceneViewKeyUpEventHandler = (event: SceneViewKeyUpEvent) => void; - - export interface SceneViewLayerviewCreateEvent { - layer: Layer; - layerView: LayerView; - } - - export type SceneViewLayerviewCreateEventHandler = (event: SceneViewLayerviewCreateEvent) => void; - - export interface SceneViewLayerviewDestroyEvent { - layer: Layer; - layerView: LayerView; - } - - export type SceneViewLayerviewDestroyEventHandler = (event: SceneViewLayerviewDestroyEvent) => void; - - export interface SceneViewMouseWheelEvent { - x: number; - y: number; - deltaY: number; - type: string; - stopPropagation: Function; - timestamp: number; - native: any; - } - - export type SceneViewMouseWheelEventHandler = (event: SceneViewMouseWheelEvent) => void; - - export interface SceneViewPointerDownEvent { - pointerId: number; - pointerType: string; - x: number; - y: number; - type: string; - stopPropagation: Function; - timestamp: number; - native: any; - } - - export type SceneViewPointerDownEventHandler = (event: SceneViewPointerDownEvent) => void; - - export interface SceneViewPointerMoveEvent { - pointerId: number; - pointerType: string; - x: number; - y: number; - type: string; - stopPropagation: Function; - timestamp: number; - native: any; - } - - export type SceneViewPointerMoveEventHandler = (event: SceneViewPointerMoveEvent) => void; - - export interface SceneViewPointerUpEvent { - pointerId: number; - pointerType: string; - x: number; - y: number; - type: string; - stopPropagation: Function; - timestamp: number; - native: any; - } - - export type SceneViewPointerUpEventHandler = (event: SceneViewPointerUpEvent) => void; - - export interface SceneViewResizeEvent { - oldWidth: number; - oldHeight: number; - width: number; - height: number; - } - - export type SceneViewResizeEventHandler = (event: SceneViewResizeEvent) => void; - - export interface SceneViewConstraintsProperties { - altitude?: SceneViewConstraintsAltitudeProperties; - clipDistance?: SceneViewConstraintsClipDistanceProperties; - collision?: SceneViewConstraintsCollision; - tilt?: SceneViewConstraintsTiltProperties; - } - export interface SceneViewConstraints extends Accessor { - altitude?: SceneViewConstraintsAltitude; - clipDistance?: SceneViewConstraintsClipDistance; - collision?: SceneViewConstraintsCollision; - tilt?: SceneViewConstraintsTilt; - } - - export interface SceneViewConstraintsAltitudeProperties { - min?: number; - max?: number; - } - export interface SceneViewConstraintsAltitude extends Accessor { - min?: number; - max?: number; - } - - export interface SceneViewConstraintsClipDistanceProperties { - near?: number; - far?: number; - mode?: string; - } - export interface SceneViewConstraintsClipDistance extends Accessor { - near?: number; - far?: number; - mode?: string; - } - - export interface SceneViewConstraintsCollision { - enabled?: boolean; - } - - export interface SceneViewConstraintsTiltProperties { - max?: number; - mode?: string; - } - export interface SceneViewConstraintsTilt extends Accessor { - max?: number; - mode?: string; - } - - export interface SceneViewEnvironmentProperties { - lighting?: SceneViewEnvironmentLightingProperties; - atmosphereEnabled?: boolean; - atmosphere?: SceneViewEnvironmentAtmosphereProperties; - starsEnabled?: boolean; - } - export interface SceneViewEnvironment extends Accessor { - lighting?: SceneViewEnvironmentLighting; - atmosphereEnabled?: boolean; - atmosphere?: SceneViewEnvironmentAtmosphere; - starsEnabled?: boolean; - } - - export interface SceneViewEnvironmentAtmosphereProperties { - quality?: string; - } - export interface SceneViewEnvironmentAtmosphere extends Accessor { - quality?: string; - } - - export interface SceneViewEnvironmentLightingProperties { - date?: Date; - directShadowsEnabled?: boolean; - ambientOcclusionEnabled?: boolean; - cameraTrackingEnabled?: boolean; - } - export interface SceneViewEnvironmentLighting extends Accessor { - date?: Date; - directShadowsEnabled?: boolean; - ambientOcclusionEnabled?: boolean; - cameraTrackingEnabled?: boolean; - } - - export interface SceneViewGoToOptions { - animate?: boolean; - speedFactor?: number; - duration?: number; - maxDuration?: number; - easing?: string | EasingFunction; - } - - export interface SceneViewHighlightOptions { - color?: Color; - haloOpacity?: number; - fillOpacity?: number; - } - - export interface SceneViewHitTestScreenPoint { - x: number; - y: number; - } - - export interface SceneViewToMapScreenPoint { - x: number; - y: number; - } - - export interface WatchHandle { - remove(): void; - } - - export type WatchCallback = (newValue: any, oldValue: any, propertyName: string, target: Accessor) => void; - - export interface IdentityManagerBaseGenerateTokenOptions { - serverUrl: string; - token: string; - ssl: boolean; - } - - export interface IdentityManagerBaseGetCredentialOptions { - error?: Error; - oAuthPopupConfirmation?: boolean; - retry?: boolean; - token?: string; - } - - export interface IdentityManagerBaseOAuthSignInOptions { - error: Error; - oAuthPopupConfirmation: boolean; - token: string; - } - - export interface IdentityManagerBaseRegisterTokenProperties { - expires?: number; - server: string; - ssl?: boolean; - token: string; - userId?: string; - } - - export interface IdentityManagerBaseSetProtocolErrorHandlerHandlerFunction { - resourceUrl: string; - serverInfo: ServerInfo; - } - - export interface IdentityManagerBaseSetRedirectionHandlerHandlerFunction { - resourceUrl: string; - returnUrlParamName: string; - serverInfo: ServerInfo; - signInPage: string; - } - - export interface IdentityManagerBaseSignInOptions { - error: Error; - } - - export interface IdentityManagerCredentialCreateEvent { - credential: Credential; - } - - export type IdentityManagerCredentialCreateEventHandler = (event: IdentityManagerCredentialCreateEvent) => void; - - export interface IdentityManagerCredentialsDestroyEvent { - } - - export type IdentityManagerCredentialsDestroyEventHandler = (event: IdentityManagerCredentialsDestroyEvent) => void; - - export type HandlerCallback = (authorizeParams: any, authorizeUrl: string, oAuthInfo: OAuthInfo, resourceUrl: string, serverInfo: ServerInfo) => void; - - export interface BaseElevationLayerFetchTileOptions { - noDataValue?: number; - } - - export interface BaseElevationLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type BaseElevationLayerLayerviewCreateEventHandler = (event: BaseElevationLayerLayerviewCreateEvent) => void; - - export interface BaseElevationLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type BaseElevationLayerLayerviewDestroyEventHandler = (event: BaseElevationLayerLayerviewDestroyEvent) => void; - - export interface CSVLayerElevationInfo { - mode: string; - offset?: number; - } - - export interface CSVLayerFeatureReduction { - type: string; - } - - export interface CSVLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type CSVLayerLayerviewCreateEventHandler = (event: CSVLayerLayerviewCreateEvent) => void; - - export interface CSVLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type CSVLayerLayerviewDestroyEventHandler = (event: CSVLayerLayerviewDestroyEvent) => void; - - export interface ElevationLayerQueryElevationOptions { - demResolution?: number | string; - returnSampleInfo?: boolean; - noDataValue?: number; - } - - export interface ElevationLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type ElevationLayerLayerviewCreateEventHandler = (event: ElevationLayerLayerviewCreateEvent) => void; - - export interface ElevationLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type ElevationLayerLayerviewDestroyEventHandler = (event: ElevationLayerLayerviewDestroyEvent) => void; - - export interface GeoRSSLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type GeoRSSLayerLayerviewCreateEventHandler = (event: GeoRSSLayerLayerviewCreateEvent) => void; - - export interface GeoRSSLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type GeoRSSLayerLayerviewDestroyEventHandler = (event: GeoRSSLayerLayerviewDestroyEvent) => void; - - export interface GroupLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type GroupLayerLayerviewCreateEventHandler = (event: GroupLayerLayerviewCreateEvent) => void; - - export interface GroupLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type GroupLayerLayerviewDestroyEventHandler = (event: GroupLayerLayerviewDestroyEvent) => void; - - export interface ImageryLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type ImageryLayerLayerviewCreateEventHandler = (event: ImageryLayerLayerviewCreateEvent) => void; - - export interface ImageryLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type ImageryLayerLayerviewDestroyEventHandler = (event: ImageryLayerLayerviewDestroyEvent) => void; - - export interface IntegratedMeshLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type IntegratedMeshLayerLayerviewCreateEventHandler = (event: IntegratedMeshLayerLayerviewCreateEvent) => void; - - export interface IntegratedMeshLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type IntegratedMeshLayerLayerviewDestroyEventHandler = (event: IntegratedMeshLayerLayerviewDestroyEvent) => void; - - export interface MapImageLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type MapImageLayerLayerviewCreateEventHandler = (event: MapImageLayerLayerviewCreateEvent) => void; - - export interface MapImageLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type MapImageLayerLayerviewDestroyEventHandler = (event: MapImageLayerLayerviewDestroyEvent) => void; - - export interface MapNotesLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type MapNotesLayerLayerviewCreateEventHandler = (event: MapNotesLayerLayerviewCreateEvent) => void; - - export interface MapNotesLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type MapNotesLayerLayerviewDestroyEventHandler = (event: MapNotesLayerLayerviewDestroyEvent) => void; - - export interface OpenStreetMapLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type OpenStreetMapLayerLayerviewCreateEventHandler = (event: OpenStreetMapLayerLayerviewCreateEvent) => void; - - export interface OpenStreetMapLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type OpenStreetMapLayerLayerviewDestroyEventHandler = (event: OpenStreetMapLayerLayerviewDestroyEvent) => void; - - export interface PointCloudLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type PointCloudLayerLayerviewCreateEventHandler = (event: PointCloudLayerLayerviewCreateEvent) => void; - - export interface PointCloudLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type PointCloudLayerLayerviewDestroyEventHandler = (event: PointCloudLayerLayerviewDestroyEvent) => void; - - export interface PointCloudLayerElevationInfo { - mode: string; - offset?: number; - } - - export interface PointCloudRendererColorModulation { - field: string; - minValue: number; - maxValue: number; - } - - export interface PointCloudRendererPointSizeAlgorithm { - type?: string; - useRealWorldSymbolSizes?: boolean; - size?: number; - scaleFactor?: number; - minSize?: number; - } - - export interface SceneLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type SceneLayerLayerviewCreateEventHandler = (event: SceneLayerLayerviewCreateEvent) => void; - - export interface SceneLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type SceneLayerLayerviewDestroyEventHandler = (event: SceneLayerLayerviewDestroyEvent) => void; - - export interface SceneLayerElevationInfo { - mode: string; - offset?: number; - } - - export interface SceneLayerFeatureReduction { - type: string; - } - - export interface StreamLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type StreamLayerLayerviewCreateEventHandler = (event: StreamLayerLayerviewCreateEvent) => void; - - export interface StreamLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type StreamLayerLayerviewDestroyEventHandler = (event: StreamLayerLayerviewDestroyEvent) => void; - - export interface StreamLayerFilter { - geometry?: Extent; - where?: string; - } - - export interface StreamLayerPurgeOptions { - displayCount: number; - age: number; - } - - export interface StreamLayerUpdateFilterFilterChanges { - geometry: Extent; - where: string; - } - - export interface TileLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type TileLayerLayerviewCreateEventHandler = (event: TileLayerLayerviewCreateEvent) => void; - - export interface TileLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type TileLayerLayerviewDestroyEventHandler = (event: TileLayerLayerviewDestroyEvent) => void; - - export interface TileLayerFetchTileOptions { - allowImageDataAccess?: boolean; - } - - export interface UnknownLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type UnknownLayerLayerviewCreateEventHandler = (event: UnknownLayerLayerviewCreateEvent) => void; - - export interface UnknownLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type UnknownLayerLayerviewDestroyEventHandler = (event: UnknownLayerLayerviewDestroyEvent) => void; - - export interface UnsupportedLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type UnsupportedLayerLayerviewCreateEventHandler = (event: UnsupportedLayerLayerviewCreateEvent) => void; - - export interface UnsupportedLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type UnsupportedLayerLayerviewDestroyEventHandler = (event: UnsupportedLayerLayerviewDestroyEvent) => void; - - export interface VectorTileLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type VectorTileLayerLayerviewCreateEventHandler = (event: VectorTileLayerLayerviewCreateEvent) => void; - - export interface VectorTileLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type VectorTileLayerLayerviewDestroyEventHandler = (event: VectorTileLayerLayerviewDestroyEvent) => void; - - export interface VectorTileLayerCurrentStyleInfo { - serviceUrl: string; - styleUrl: string; - spriteUrl: string; - glyphsUrl: string; - style: any; - layerDefinition: any; - } - - export interface WebTileLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type WebTileLayerLayerviewCreateEventHandler = (event: WebTileLayerLayerviewCreateEvent) => void; - - export interface WebTileLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type WebTileLayerLayerviewDestroyEventHandler = (event: WebTileLayerLayerviewDestroyEvent) => void; - - export interface WMSLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type WMSLayerLayerviewCreateEventHandler = (event: WMSLayerLayerviewCreateEvent) => void; - - export interface WMSLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type WMSLayerLayerviewDestroyEventHandler = (event: WMSLayerLayerviewDestroyEvent) => void; - - export interface WMSLayerFetchImageOptions { - allowImageDataAccess?: boolean; - pixelRatio?: number; - rotation?: number; - } - - export interface WMTSLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type WMTSLayerLayerviewCreateEventHandler = (event: WMTSLayerLayerviewCreateEvent) => void; - - export interface WMTSLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type WMTSLayerLayerviewDestroyEventHandler = (event: WMTSLayerLayerviewDestroyEvent) => void; - - export interface BaseDynamicLayerFetchImageOptions { - allowImageDataAccess?: boolean; - } - - export interface BaseDynamicLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type BaseDynamicLayerLayerviewCreateEventHandler = (event: BaseDynamicLayerLayerviewCreateEvent) => void; - - export interface BaseDynamicLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type BaseDynamicLayerLayerviewDestroyEventHandler = (event: BaseDynamicLayerLayerviewDestroyEvent) => void; - - export interface BaseTileLayerFetchTileOptions { - allowImageDataAccess?: boolean; - } - - export interface BaseTileLayerLayerviewCreateEvent { - view: View; - layerView: LayerView; - } - - export type BaseTileLayerLayerviewCreateEventHandler = (event: BaseTileLayerLayerviewCreateEvent) => void; - - export interface BaseTileLayerLayerviewDestroyEvent { - view: View; - layerView: LayerView; - } - - export type BaseTileLayerLayerviewDestroyEventHandler = (event: BaseTileLayerLayerviewDestroyEvent) => void; - - export interface CodedValueDomainCodedValues { + export interface FeatureEditResultError { name: string; - code: string | number; - } - - export interface PixelBlockAddDataPlaneData { - pixels: number[][]; - statistics: any[]; - } - - export interface PixelBlockStatistics { - maxValue?: number; - minValue?: number; - noDataValue?: number; - } - - export interface ClassBreaksRendererClassBreakInfos { - minValue: number; - maxValue: number; - symbol: Symbol; - label?: string; - } - - export interface ClassBreaksRendererLegendOptions { - title: string; - } - - export interface UniqueValueRendererLegendOptions { - title?: string; - } - - export interface UniqueValueRendererUniqueValueInfos { - value: string | number; - symbol: Symbol; - label?: string; - } - - export interface PointCloudClassBreaksRendererColorClassBreakInfos { - minValue: number; - maxValue: number; - color: Color; - label?: string; - } - - export interface PointCloudStretchRendererStops { - value: number; - label?: string; - color: Color; - } - - export interface PointCloudUniqueValueRendererColorUniqueValueInfos { - values: number[]; - color: Color; - label?: string; - } - - export interface FillSymbol3DLayerOutline { - color: Color; - size: number; - } - - export interface IconSymbol3DLayerOutline { - color?: Color; - size?: number; - } - - export interface IconSymbol3DLayerResource { - primitive?: string; - href?: string; - } - - export interface ObjectSymbol3DLayerResource { - primitive?: string; - href?: string; - } - - export interface PointSymbol3DVerticalOffsetProperties { - screenLength?: number; - minWorldLength?: number; - maxWorldLength?: number; - } - export interface PointSymbol3DVerticalOffset extends Accessor { - screenLength: number; - minWorldLength?: number; - maxWorldLength?: number; - } - - export interface Symbol3DStyleOrigin { - styleName?: string; - styleUrl?: string; - name: string; - } - - export interface TextSymbol3DLayerFont { - family?: string; - weight?: string; - style?: string; - } - - export interface TextSymbol3DLayerHalo { - color?: Color; - size?: number; - } - - export interface LineCallout3DBorderProperties { - color?: Color; - } - export interface LineCallout3DBorder extends Accessor { - color?: Color; - } - - export interface ClosestFacilityParametersAttributeParameterValues { - attributeName: string; - parameterName: string; - value: string; - } - - export interface GeometryServiceFromGeoCoordinateStringParams { - strings: string[]; - sr: SpatialReference | string; - conversionType: string; - conversionMode?: string; - } - - export interface GeometryServiceToGeoCoordinateStringParams { - sr: SpatialReference | string; - coordinates: number[][]; - conversionType: string; - conversionMode?: string; - numOfDigits?: number; - rounding?: boolean; - addSpaces?: boolean; - } - - export interface ProjectParametersTransformation { - wkid?: number; - wkt?: string; - } - - export interface LocatorAddressToLocationsParams { - address: any; - categories: string[]; - countryCode: string; - distance: number; - forStorage: boolean; - location: Point; - magicKey: string; - maxLocations: number; - outFields: string[]; - searchExtent: Extent; - } - - export interface LocatorAddressesToLocationsParams { - addresses: any[]; - countryCode: string; - categories: string[]; - } - - export interface LocatorSuggestLocationsParams { - categories: string[]; - distance: number; - location: Point; - text: string; - } - - export interface PrintTemplateExportOptions { - width?: number; - height?: number; - dpi?: number; - } - - export interface PrintTemplateLayoutOptions { - titleText: string; - authorText: string; - copyrightText: string; - scalebarUnit: string; - legendLayers: LegendLayer[]; - customTextElements: any[]; - } - - export interface MapViewDragEventOrigin { - x: number; - y: number; - } - - export interface MapViewClickEvent { - mapPoint: Point; - x: number; - y: number; - button: number; - type: string; - stopPropagation: Function; - timestamp: number; - native: any; - } - - export type MapViewClickEventHandler = (event: MapViewClickEvent) => void; - - export interface MapViewDoubleClickEvent { - mapPoint: Point; - x: number; - y: number; - button: number; - type: string; - stopPropagation: Function; - timestamp: number; - native: any; - } - - export type MapViewDoubleClickEventHandler = (event: MapViewDoubleClickEvent) => void; - - export interface MapViewDragEvent { - action: string; - x: number; - y: number; - origin: MapViewDragEventOrigin; - type: string; - stopPropagation: Function; - timestamp: number; - native: any; - } - - export type MapViewDragEventHandler = (event: MapViewDragEvent) => void; - - export interface MapViewHoldEvent { - mapPoint: Point; - x: number; - y: number; - button: number; - type: string; - stopPropagation: Function; - timestamp: number; - native: any; - } - - export type MapViewHoldEventHandler = (event: MapViewHoldEvent) => void; - - export interface MapViewKeyDownEvent { - repeat: boolean; - key: string; - type: string; - stopPropagation: Function; - timestamp: number; - native: any; - } - - export type MapViewKeyDownEventHandler = (event: MapViewKeyDownEvent) => void; - - export interface MapViewKeyUpEvent { - type: string; - stopPropagation: Function; - timestamp: number; - native: any; - } - - export type MapViewKeyUpEventHandler = (event: MapViewKeyUpEvent) => void; - - export interface MapViewLayerviewCreateEvent { - layer: Layer; - layerView: LayerView; - } - - export type MapViewLayerviewCreateEventHandler = (event: MapViewLayerviewCreateEvent) => void; - - export interface MapViewLayerviewDestroyEvent { - layer: Layer; - layerView: LayerView; - } - - export type MapViewLayerviewDestroyEventHandler = (event: MapViewLayerviewDestroyEvent) => void; - - export interface MapViewConstraints { - lods?: LOD[]; - minScale?: number; - maxScale?: number; - minZoom?: number; - maxZoom?: number; - snapToZoom?: boolean; - rotationEnabled?: boolean; - effectiveLODs?: LOD[]; - effectiveMinZoom?: number; - effectiveMaxZoom?: number; - effectiveMinScale?: number; - effectiveMaxScale?: number; - } - - export interface MapViewGoToOptions { - animate?: boolean; - duration?: number; - easing?: string | Function; - } - - export interface MapViewHitTestScreenPoint { - x: number; - y: number; - } - - export interface MapViewToMapScreenPoint { - x: number; - y: number; - } - - export interface MapViewMouseWheelEvent { - x: number; - y: number; - deltaY: number; - type: string; - stopPropagation: Function; - timestamp: number; - native: any; - } - - export type MapViewMouseWheelEventHandler = (event: MapViewMouseWheelEvent) => void; - - export interface MapViewPointerDownEvent { - pointerId: number; - pointerType: string; - x: number; - y: number; - type: string; - stopPropagation: Function; - timestamp: number; - native: any; - } - - export type MapViewPointerDownEventHandler = (event: MapViewPointerDownEvent) => void; - - export interface MapViewPointerMoveEvent { - pointerId: number; - pointerType: string; - x: number; - y: number; - type: string; - stopPropagation: Function; - timestamp: number; - native: any; - } - - export type MapViewPointerMoveEventHandler = (event: MapViewPointerMoveEvent) => void; - - export interface MapViewPointerUpEvent { - pointerId: number; - pointerType: string; - x: number; - y: number; - type: string; - stopPropagation: Function; - timestamp: number; - native: any; - } - - export type MapViewPointerUpEventHandler = (event: MapViewPointerUpEvent) => void; - - export interface MapViewResizeEvent { - oldWidth: number; - oldHeight: number; - width: number; - height: number; - } - - export type MapViewResizeEventHandler = (event: MapViewResizeEvent) => void; - - export interface AttributeParamValue { - attributeName: string; - parameterName: string; - value: string; - } - - export interface ConfigurationTaskGetDataWorkspaceDetailsParams { - dataWorkspaceId: string; - user: string; - } - - export interface ConfigurationTaskGetUserJobQueryDetailsParams { - queryId: number; - user: string; - } - - export interface AuxRecordDescription { - properties: any; - recordId: number; - tableName: string; - } - - export interface JobCreationParameters { - loi: Geometry; - assignedTo: string; - autoCommitWorkflow: boolean; - autoExecute: boolean; - dataWorkspaceId: string; - description: string; - dueDate: Date; - jobTypeId: number; - assignedType: string; - name: string; - numJobs: string; - ownedBy: string; - parentJobId: number; - parentVersion: string; - priority: number; - startDate: Date; - user: string; - } - - export interface JobQueryParameters { - aliases: string; - fields: string; - orderBy: string; - tables: string; - where: string; - user: string; - } - - export interface JobTaskAddEmbeddedAttachmentParams { - jobId: number; - form: any; - user: string; - } - - export interface JobTaskAddLinkedAttachmentParams { - jobId: number; - attachmentType: number; - path: string; - user: string; - } - - export interface JobTaskAddLinkedRecordParams { - jobId: number; - tableName: string; - user: string; - } - - export interface JobTaskAssignJobsParams { - jobIds: number[]; - assignedType: string; - assignedTo: string; - user: string; - } - - export interface JobTaskCloseJobsParams { - jobIds: number[]; - user: string; - } - - export interface JobTaskCreateDependencyParams { - jobId: number; - heldOnType: string; - heldOnValue: number; - depJobId: number; - depOnType: string; - depOnValue: number; - user: string; - } - - export interface JobTaskCreateHoldParams { - jobId: number; - holdTypeId: number; - comments: string; - user: string; - } - - export interface JobTaskCreateJobVersionParams { - jobId: number; - name: string; - parent: string; - user: string; - } - - export interface JobTaskDeleteAttachmentParams { - jobId: number; - attachmentId: number; - user: string; - } - - export interface JobTaskDeleteDependencyParams { - jobId: number; - dependencyId: number; - user: string; - } - - export interface JobTaskDeleteJobsParams { - jobIds: number[]; - deleteHistory?: boolean; - user: string; - } - - export interface JobTaskDeleteLinkedRecordParams { - jobId: number; - tableName: string; - recordId: number; - user: string; - } - - export interface JobTaskGetAttachmentContentUrlParams { - jobId: number; - attachmentId: number; - } - - export interface JobTaskListFieldValuesParams { - jobId: number; - tableName: string; - field: string; - user: string; - } - - export interface JobTaskListMultiLevelFieldValuesParams { - field: string; - previousSelectedValues: string[]; - user: string; - } - - export interface JobTaskLogActionParams { - jobId: number; - activityTypeId: number; - comments: string; - user: string; - } - - export interface JobTaskQueryJobsParams { - queryId: number; - user: string; - } - - export interface JobTaskQueryMultiLevelSelectedValuesParams { - field: string; - user: string; - } - - export interface JobTaskReleaseHoldParams { - jobId: number; - holdId: number; - } - - export interface JobTaskReopenClosedJobsParams { - jobIds: number[]; - user: string; - } - - export interface JobTaskSearchJobsParams { - text: string; - user: string; - } - - export interface JobTaskUnassignJobsParams { - jobIds: number[]; - user: string; - } - - export interface JobTaskUpdateNotesParams { - jobId: number; - notes: string; - user: string; - } - - export interface JobTaskUpdateRecordParams { - jobId: number; - record: AuxRecordDescription; - user: string; - } - - export interface JobUpdateParameters { - ownedBy: string; - assignedTo: string; - dataWorkspaceId: string; - description: string; - dueDate: Date; - loi: Geometry; - jobId: number; - name: string; - assignedType: string; - parentJobId: number; - parentVersion: string; - percent: number; - priority: number; - startDate: Date; - status: number; - versionName: string; - user: string; - } - - export interface ChangeRule { - description: string; - evaluators: any[]; - id: number; - name: string; - notifier: any; - summarize: boolean; - } - - export interface NotificationTaskAddChangeRuleParams { - rule: ChangeRule; - user: string; - } - - export interface NotificationTaskDeleteChangeRuleParams { - ruleId: string; - user: string; - } - - export interface NotificationTaskNotifySessionParams { - sessionid: string; - deleteAfter: boolean; - user: string; - } - - export interface NotificationTaskQueryChangeRulesParams { - name: string; - description: string; - searchType: string; - user: string; - } - - export interface NotificationTaskRunSpatialNotificationOnHistoryParams { - dataWorkspaceId: string; - from: Date; - to: Date; - logMatches: boolean; - send: boolean; - user: string; - } - - export interface NotificationTaskSendNotificationParams { - jobId: number; - notificationType: string; - user: string; - } - - export interface NotificationTaskSubscribeToNotificationParams { - notificationTypeId: number; - email: string; - user: string; - } - - export interface NotificationTaskUnsubscribeFromNotificationParams { - notificationTypeId: number; - email: string; - user: string; - } - - export interface ReportTaskGenerateReportParams { - reportId: number; - user: string; - } - - export interface ReportTaskGetReportContentUrlParams { - reportId: number; - user: number; - } - - export interface ReportTaskGetReportDataParams { - reportId: number; - user: string; - } - - export interface TokenTaskParseTokensParams { - jobId: any; - stringToParse: string; - user: string; - } - - export interface WorkflowTaskCanRunStepParams { - jobId: number; - stepId: number; - user: string; - } - - export interface WorkflowTaskExecuteStepsParams { - jobId: number; - stepIds: number[]; - auto: boolean; - user: string; - } - - export interface WorkflowTaskGetStepDescriptionParams { - jobId: number; - stepId: number; - } - - export interface WorkflowTaskGetStepFileUrlParams { - jobId: number; - stepId: number; - } - - export interface WorkflowTaskGetStepParams { - jobId: number; - stepId: number; - } - - export interface WorkflowTaskMarkStepsAsDoneParams { - jobId: number; - stepIds: number[]; - user: string; - } - - export interface WorkflowTaskMoveToNextStepParams { - jobId: number; - stepId: number; - returnCode: number; - user: string; - } - - export interface WorkflowTaskRecreateWorkflowParams { - jobId: number; - user: string; - } - - export interface WorkflowTaskResolveConflictParams { - jobId: number; - stepId: number; - optionReturnCode: number; - optionStepIds: number[]; - user: string; - } - - export interface WorkflowTaskSetCurrentStepParams { - jobId: number; - stepId: number; - user: string; - } - - export interface ImageryLayerViewPixelData { - extent?: Extent; - pixelBlock: PixelBlock; - } - - export interface StreamLayerViewDataReceivedEvent { - } - - export type StreamLayerViewDataReceivedEventHandler = (event: StreamLayerViewDataReceivedEvent) => void; - - export interface StreamLayerViewFilter { - geometry?: Extent; - where?: string; - } - - export interface StreamLayerViewUpdateFilterFilter { - geometry?: Extent; - where?: string; - } - - export interface SlideApplyToOptions { - animate: boolean; - speedFactor?: number; - duration?: number; - maxDuration?: number; - easing?: string | EasingFunction; - } - - export interface SlideCreateFromOptions { - screenshot: SlideCreateFromOptionsScreenshot; - } - - export interface SlideCreateFromOptionsScreenshot { - format: string; - quality: number; - width: number; - height: number; - } - - export interface SlideDescriptionProperties { - text?: string; - } - export interface SlideDescription extends Accessor { - text?: string; - } - - export interface SlideThumbnailProperties { - url?: string; - } - export interface SlideThumbnail extends Accessor { - url?: string; - } - - export interface SlideTitleProperties { - text?: string; - } - export interface SlideTitle extends Accessor { - text?: string; - } - - export interface SlideUpdateFromOptions { - screenshot: SlideUpdateFromOptionsScreenshot; - } - - export interface SlideUpdateFromOptionsScreenshot { - format: string; - quality: number; - width: number; - height: number; - } - - export interface SlideVisibleLayers extends Collection { - id: string; - } - - export interface ColorSliderValues { - color: Color; - value: number; - label: string; - } - - export interface LegendLayerInfos { - title?: string; - layer: Layer; - } - - export interface PopupDockOptions { - breakpoint?: any | boolean; - buttonEnabled?: boolean; - position?: string | Function; - } - - export interface PopupOpenOptions { - title?: string; - content?: string; - location?: Geometry; - features?: Graphic[]; - promises?: IPromise<any>[]; - updateLocationEnabled?: boolean; - } - - export interface SearchViewModelSearchCompleteEventResults { - results: SearchViewModelSearchCompleteEventResultsResults[]; - sourceIndex: number; - source: any[]; - } - - export interface SearchViewModelSearchCompleteEventResultsResults { - extent: Extent; - feature: Graphic; - name: string; - } - - export interface SearchViewModelSelectResultEventResult { - extent: Extent; - feature: Graphic; - name: string; - } - - export interface SearchViewModelSuggestCompleteEventResults { - results: SearchViewModelSuggestCompleteEventResultsResults[]; - sourceIndex: number; - source: any; - } - - export interface SearchViewModelSuggestCompleteEventResultsResults { - extent: Extent; - feature: Graphic; - name: string; - isCollection: boolean; - magicKey: string; - text: string; - } - - export interface SearchViewModelLoadEvent { - } - - export type SearchViewModelLoadEventHandler = (event: SearchViewModelLoadEvent) => void; - - export interface SearchViewModelSearchClearEvent { - } - - export type SearchViewModelSearchClearEventHandler = (event: SearchViewModelSearchClearEvent) => void; - - export interface SearchViewModelSearchCompleteEvent { - activeSourceIndex: number; - errors: Error[]; - numResults: number; - searchTerm: string; - results: SearchViewModelSearchCompleteEventResults[]; - } - - export type SearchViewModelSearchCompleteEventHandler = (event: SearchViewModelSearchCompleteEvent) => void; - - export interface SearchViewModelSearchStartEvent { - } - - export type SearchViewModelSearchStartEventHandler = (event: SearchViewModelSearchStartEvent) => void; - - export interface SearchViewModelSelectResultEvent { - result: SearchViewModelSelectResultEventResult; - source: any; - sourceIndex: number; - } - - export type SearchViewModelSelectResultEventHandler = (event: SearchViewModelSelectResultEvent) => void; - - export interface SearchViewModelSuggestCompleteEvent { - activeSourceIndex: number; - errors: Error[]; - numResults: number; - searchTerm: string; - results: SearchViewModelSuggestCompleteEventResults[]; - } - - export type SearchViewModelSuggestCompleteEventHandler = (event: SearchViewModelSuggestCompleteEvent) => void; - - export interface SearchViewModelSuggestStartEvent { - } - - export type SearchViewModelSuggestStartEventHandler = (event: SearchViewModelSuggestStartEvent) => void; - - export interface DynamicLayerFetchImageOptions { - allowImageDataAccess?: boolean; - rotation?: number; - pixelRatio?: number; - } - - export interface DynamicLayerGetImageUrlOptions { - pixelRatio?: number; - rotation?: number; - } - - export interface ArcGISDynamicMapServiceGetExportImageParametersOptions { - rotation?: number; - } - - export interface SceneServiceVersion { - major: number; - minor: number; - versionString: string; - } - - export interface BreakpointsOwnerBreakpoints { - xsmall: number; - small: number; - medium: number; - large: number; - } - - export interface configRequest { - corsDetection?: boolean; - corsDetectionTimeout?: number; - corsEnabledServers?: Array<string | configRequestCorsEnabledServers>; - forceProxy?: boolean; - httpsDomains?: string[]; - maxUrlLength?: number; - proxyUrl?: string; - timeout?: number; - useCors?: string | boolean; - proxyRules?: configRequestProxyRules[]; - } - - export interface configRequestCorsEnabledServers { - host?: string; - withCredentials?: boolean; - } - - export interface configRequestProxyRules { - proxyUrl?: string; - urlPrefix?: string; - } - - export interface configWorkers { - loaderConfig?: configWorkersLoaderConfig; - } - - export interface configWorkersLoaderConfig { - has?: any; - paths?: any; - map?: any; - packages?: any[]; - } - - export interface requestEsriRequestOptions { - callbackParamName?: string; - query?: any; - responseType?: string; - headers?: any; - timeout?: number; - method?: string; - body?: any | any | string; - useProxy?: boolean; - cacheBust?: boolean; - allowImageDataAccess?: boolean; - } - - export interface EachAlwaysResult { - promise: IPromise<any>; - value: any; - error: any; - } - - export interface urlUtilsAddProxyRuleRule { - proxyUrl: string; - urlPrefix: string; - } - - export type EventAttachedCallback = (target: any, propName: string, obj: Accessor, eventName: string) => void; - - export interface PausableWatchHandle { - remove(): void; - pause(): void; - resume(): void; - } - - export interface decoratorsPropertyPropertyMetadata { - dependsOn?: string[]; - type?: Function; - cast?: Function; - readOnly?: boolean; - aliasOf?: string; - value?: any; - } - - export interface colorCreateContinuousRendererParams { - layer: FeatureLayer | SceneLayer; - field: string; - normalizationField?: string; - basemap?: string | Basemap; - theme?: string; - colorScheme?: any; - legendOptions?: colorCreateContinuousRendererParamsLegendOptions; - statistics?: any; - minValue?: number; - maxValue?: number; - defaultSymbolEnabled?: boolean; - view?: SceneView; - symbolType?: string; - colorMixMode?: string; - } - - export interface colorCreateContinuousRendererParamsLegendOptions { - title: string; - } - - export interface colorCreateVisualVariableParams { - layer: FeatureLayer | SceneLayer; - field: string; - normalizationField?: string; - basemap?: string | Basemap; - theme?: string; - colorScheme?: any; - legendOptions?: colorCreateVisualVariableParamsLegendOptions; - statistics?: any; - minValue?: number; - maxValue?: number; - view?: SceneView; - worldScale?: boolean; - } - - export interface colorCreateVisualVariableParamsLegendOptions { - title: string; - } - - export interface locationCreateRendererParams { - layer: FeatureLayer | SceneLayer; - basemap?: string | Basemap; - locationScheme?: any | any | any; - view?: SceneView; - symbolType?: string; - colorMixMode?: string; - } - - export interface sizeCreateContinuousRendererParams { - layer: FeatureLayer | SceneLayer; - field: string; - normalizationField?: string; - basemap?: string | Basemap; - sizeScheme?: any | any | any; - legendOptions?: sizeCreateContinuousRendererParamsLegendOptions; - statistics?: any; - minValue?: number; - maxValue?: number; - defaultSymbolEnabled?: boolean; - view?: SceneView; - symbolType?: string; - } - - export interface sizeCreateContinuousRendererParamsLegendOptions { - title: string; - } - - export interface sizeCreateVisualVariablesParams { - layer: FeatureLayer | SceneLayer; - field: string; - normalizationField?: string; - basemap?: string | Basemap; - sizeScheme?: any | any | any; - legendOptions?: sizeCreateVisualVariablesParamsLegendOptions; - statistics?: any; - minValue?: number; - maxValue?: number; - view?: SceneView; - worldScale?: boolean; - axis?: boolean; - } - - export interface sizeCreateVisualVariablesParamsLegendOptions { - title: string; - } - - export interface typeCreateRendererParams { - layer: FeatureLayer | SceneLayer; - field: string; - basemap?: string | Basemap; - numTypes?: number; - sortBy?: string; - typeScheme?: any | any | any; - legendOptions?: typeCreateRendererParamsLegendOptions; - defaultSymbolEnabled?: boolean; - view?: SceneView; - symbolType?: string; - statistics?: any; - colorMixMode?: string; - } - - export interface typeCreateRendererParamsLegendOptions { - title: string; - } - - export interface univariateColorSizeCreateContinuousRendererParams { - layer: FeatureLayer | SceneLayer; - basemap?: string | Basemap; - field: string; - normalizationField?: string; - statistics?: any; - minValue?: number; - maxValue?: number; - defaultSymbolEnabled?: boolean; - colorOptions?: univariateColorSizeCreateContinuousRendererParamsColorOptions; - sizeOptions?: univariateColorSizeCreateContinuousRendererParamsSizeOptions; - view?: SceneView; - symbolType?: string; - } - - export interface univariateColorSizeCreateContinuousRendererParamsColorOptions { - theme?: string; - colorScheme?: any; - legendOptions?: univariateColorSizeCreateContinuousRendererParamsColorOptionsLegendOptions; - } - - export interface univariateColorSizeCreateContinuousRendererParamsColorOptionsLegendOptions { - title: string; - } - - export interface univariateColorSizeCreateContinuousRendererParamsSizeOptions { - sizeScheme?: any | any | any; - legendOptions?: univariateColorSizeCreateContinuousRendererParamsSizeOptionsLegendOptions; - } - - export interface univariateColorSizeCreateContinuousRendererParamsSizeOptionsLegendOptions { - title: string; - } - - export interface univariateColorSizeCreateVisualVariablesParams { - layer: FeatureLayer | SceneLayer; - basemap?: string | Basemap; - field: string; - normalizationField?: string; - statistics?: any; - minValue?: number; - maxValue?: number; - colorOptions?: univariateColorSizeCreateVisualVariablesParamsColorOptions; - sizeOptions?: univariateColorSizeCreateVisualVariablesParamsSizeOptions; - view?: SceneView; - worldScale?: boolean; - } - - export interface univariateColorSizeCreateVisualVariablesParamsColorOptions { - theme?: string; - colorScheme?: any; - legendOptions?: univariateColorSizeCreateVisualVariablesParamsColorOptionsLegendOptions; - } - - export interface univariateColorSizeCreateVisualVariablesParamsColorOptionsLegendOptions { - title: string; - } - - export interface univariateColorSizeCreateVisualVariablesParamsSizeOptions { - axis?: boolean; - sizeScheme?: any | any | any; - legendOptions?: univariateColorSizeCreateVisualVariablesParamsSizeOptionsLegendOptions; - } - - export interface univariateColorSizeCreateVisualVariablesParamsSizeOptionsLegendOptions { - title: string; - } - - export interface classBreaksClassBreaksParams { - layer: FeatureLayer | SceneLayer; - field?: string; - normalizationField?: string; - classificationMethod?: string; - standardDeviationInterval?: number; - minValue?: number; - maxValue?: number; - numClasses?: number; - } - - export interface histogramHistogramParams { - layer: FeatureLayer | SceneLayer; - field?: string; - normalizationField?: string; - classificationMethod?: string; - standardDeviationInterval?: number; - minValue?: number; - maxValue?: number; - numBins?: number; - } - - export interface summaryStatisticsSummaryStatisticsParams { - layer: FeatureLayer | SceneLayer; - field?: string; - normalizationField?: string; - features?: Graphic[]; - minValue?: number; - maxValue?: number; - } - - export interface uniqueValuesUniqueValuesParams { - layer: FeatureLayer | SceneLayer; - field: string; - features?: Graphic[]; - returnAllCodedValues?: boolean; - } - - export interface colorGetSchemesParams { - basemap: string | Basemap; - geometryType: string; - theme: string; - view?: SceneView; - worldScale?: boolean; - } - - export interface locationGetSchemesParams { - basemap: string | Basemap; - geometryType: string; - view?: SceneView; - worldScale?: boolean; - } - - export interface sizeGetSchemesParams { - basemap: string | Basemap; - geometryType: string; - view?: SceneView; - worldScale?: boolean; - } - - export interface typeGetSchemesParams { - basemap: string | Basemap; - geometryType: string; - worldScale?: boolean; - view?: SceneView; - } - - export interface JobQuery { - id: number; - name: string; - } - - export interface GroupMembership { - id: number; - name: string; - } - - export interface JobQueryContainer { - containers: JobQueryContainer[]; - id: number; - name: string; - queries: JobQuery[]; - } - - export interface Privilege { - description: string; - id: number; - name: string; - } - - export interface DataWorkspace { - id: string; - name: string; - } - - export interface HoldType { - description: string; - id: number; - name: string; - } - - export interface JobPriority { - description: string; - name: string; - value: number; - } - - export interface JobStatus { - caption: string; - description: string; - id: number; - name: string; - } - - export interface JobType { - category: string; - description: string; - id: string; - name: string; - state: string; - } - - export interface ActivityType { - desription: string; - id: number; message: string; - name: string; } - export interface NotificationType { - attachJobAttachments: boolean; - id: number; - message: string; - senderEmail: string; - senderName: string; - subject: string; - subscribers: string[]; - type: string; - } - - export interface AuxRecord { - displayProperty: any; - id: number; - recordvalues: AuxRecordValue; - } - - export interface AuxRecordValue { - filter: string; - alias: string; - data: any; - dataType: string; - displayOrder: number; - displayType: string; - domain: string; - canUpdate: boolean; - length: number; - name: string; - required: boolean; - tableListClass: string; - tableListDisplayField: string; - tableListStoreField: string; - userVisible: boolean; - } - - export interface JobVersionInfo { - dataWorkspaceId: string; - name: string; - parent: string; - created: boolean; - owner: string; - } - - export interface QueryFieldInfo { - alias: string; - length: string; - name: string; - type: string; - } - - export interface DatasetConfiguration { - changeCondition: number; - changeFields: string; - dataset: string; - dataWorkspaceId: string; - name: string; - whereConditions: WhereCondition[]; - } - - export interface WhereCondition { - compareValue: any; - field: string; - operator: string; - } - - export interface ReportDataGroup { - aggregateLabel: string; - aggregateValue: string; - row: string[]; - value: string; - } - - export interface WorkflowConflicts { - jobID: number; - options: WorkflowOption[]; - spawnsConcurrency: boolean; - stepId: number; - } - - export interface WorkflowOption { - returnCode: number; - steps: WorkflowStepInfo[]; - } - - export interface WorkflowStepInfo { - id: number; - name: string; - } - - export interface StepType { - program: string; - arguments: string; - executionType: string; - id: number; - name: string; - description: string; - stepDescriptionLink: string; - stepDescriptionType: string; - stepIndicatorType: string; - supportedPlatform: string; - visible: boolean; - } - - export interface WorkflowAnnotationDisplayDetails { - centerX: number; - centerY: number; - fillColor: any; - height: number; - label: string; - labelColor: any; - OutlineColor: any; - width: number; - } - - export interface WorkflowPathDisplayDetails { - destStepId: number; - sourceStepID: number; - label: string; - labelColor: any; - labelX: number; - labelY: number; - lineColor: any; - pathObject: any; - } - - export interface WorkflowStepDisplayDetails { - labelColor: any; - centerX: number; - fillColor: any; - height: number; - label: string; - centerY: number; - OutlineColor: any; - shape: string; - stepId: number; - stepType: string; - width: number; - } - - export interface ColorAndIntensity { - color: any; - intensity: number; - } - - export interface RenderCamera { - viewMatrix: any; - viewInverseTransposeMatrix: any; - projectionMatrix: any; - eye: any; - center: any; - up: any; - near: number; - far: number; - fovX: number; - fovY: number; - } - - export interface SunLight { - direction: any; - diffuse: ColorAndIntensity; - ambient: ColorAndIntensity; - } - - interface Basemap extends Accessor, Loadable, JSONSupport { - baseLayers: Collection; - id: string; - loaded: boolean; - portalItem: PortalItem; - referenceLayers: Collection; - thumbnailUrl: string; - title: string; - - clone(): this; - } - - interface BasemapConstructor { - new(properties?: BasemapProperties): Basemap; - - - fromId(id: string): Basemap; - - fromJSON(json: any): Basemap; - } - - export const Basemap: BasemapConstructor; - - interface BasemapProperties extends LoadableProperties { - baseLayers?: Collection | any[]; - id?: string; - loaded?: boolean; - portalItem?: PortalItemProperties; - referenceLayers?: Collection | any[]; - thumbnailUrl?: string; - title?: string; - } - - interface Camera extends Accessor, JSONSupport { - fov: number; - heading: number; - position: Point; - tilt: number; - - clone(): this; - } - - interface CameraConstructor { - new(properties?: CameraProperties): Camera; - - fromJSON(json: any): Camera; - } - - export const Camera: CameraConstructor; - - interface CameraProperties { - fov?: number; - heading?: number; - position?: PointProperties; - tilt?: number; - } - - interface Color { - a: number; - b: number; - g: number; - r: number; - - clone(): this; - setColor(color: string | number[] | any): Color; - toCss(includeAlpha?: boolean): string; - toHex(): string; - toJSON(): any; - toRgb(): number[]; - toRgba(): number[]; - } - - interface ColorConstructor { - - blendColors(start: Color, end: Color, weight: number, obj?: Color): Color; - new(color: string | number[] | any): Color; - fromArray(a: number[], obj?: Color): Color; - fromHex(color: string, obj?: Color): Color; - fromJSON(json: any): Color; - fromRgb(color: string, obj?: Color): Color; - fromString(str: string, obj?: Color): Color; - } - - export const Color: ColorConstructor; - - interface Graphic extends Accessor, JSONSupport { - attributes: any; - geometry: Geometry; - layer: FeatureLayer | GraphicsLayer; - popupTemplate: PopupTemplate; - symbol: Symbol; - visible: boolean; - - clone(): this; - getAttribute(name: string): any; - getEffectivePopupTemplate(): PopupTemplate; - setAttribute(name: string, newValue: any): void; - } - - interface GraphicConstructor { - new(properties?: GraphicProperties): Graphic; - - fromJSON(json: any): Graphic; - } - - export const Graphic: GraphicConstructor; - - interface GraphicProperties { - attributes?: any; - geometry?: GeometryProperties; - layer?: FeatureLayer | GraphicsLayer; - popupTemplate?: PopupTemplateProperties; - symbol?: SymbolProperties; - visible?: boolean; - } - - interface Ground extends Accessor { - layers: Collection; - - clone(): this; - queryElevation(geometry: Point | Multipoint | Polyline, options?: GroundQueryElevationOptions): IPromise<any>; - } - - interface GroundConstructor { - new(properties?: GroundProperties): Ground; - } - - export const Ground: GroundConstructor; - - interface GroundProperties { - layers?: Collection | any[]; - } - - interface Map extends Accessor, LayersMixin { - allLayers: Collection; - basemap: Basemap; - ground: Ground; - } - - interface MapConstructor { - new(properties?: MapProperties): Map; - } - - export const Map: MapConstructor; - - interface MapProperties extends LayersMixinProperties { - allLayers?: Collection | any[]; - basemap?: BasemapProperties; - ground?: GroundProperties; - } - - interface PopupTemplate extends Accessor, JSONSupport { - actions: Collection; - content: string; - expressionInfos: PopupTemplateExpressionInfos[]; - fieldInfos: PopupTemplateFieldInfos[]; - overwriteActions: boolean; - title: string; - - clone(): this; - } - - interface PopupTemplateConstructor { - new(properties?: PopupTemplateProperties): PopupTemplate; - - fromJSON(json: any): PopupTemplate; - } - - export const PopupTemplate: PopupTemplateConstructor; - - interface PopupTemplateProperties { - actions?: Collection | any[]; - content?: string | any[] | Function | IPromise<any>; - expressionInfos?: PopupTemplateExpressionInfos[]; - fieldInfos?: PopupTemplateFieldInfos[]; - overwriteActions?: boolean; - title?: string | Function; - } - - interface Viewpoint extends Accessor, JSONSupport { - camera: Camera; - rotation: number; - scale: number; - targetGeometry: Geometry; - - clone(): this; - } - - interface ViewpointConstructor { - new(properties?: ViewpointProperties): Viewpoint; - - fromJSON(json: any): Viewpoint; - } - - export const Viewpoint: ViewpointConstructor; - - interface ViewpointProperties { - camera?: CameraProperties; - rotation?: number; - scale?: number; - targetGeometry?: GeometryProperties; - } - - interface WebMap extends Map, corePromise { - applicationProperties: any; - bookmarks: any[]; - initialViewProperties: InitialViewProperties; - loaded: boolean; - loadError: Error; - loadStatus: string; - portalItem: PortalItem; - presentation: any; - sourceVersion: WebMapSourceVersion; - tables: any[]; - widgets: any; - - load(): IPromise<any>; - } - - interface WebMapConstructor { - new(properties?: WebMapProperties): WebMap; - } - - export const WebMap: WebMapConstructor; - - interface WebMapProperties extends MapProperties { - applicationProperties?: any; - bookmarks?: any[]; - initialViewProperties?: InitialViewPropertiesProperties; - loaded?: boolean; - loadError?: Error; - loadStatus?: string; - portalItem?: PortalItemProperties; - presentation?: any; - sourceVersion?: WebMapSourceVersion; - tables?: any[]; - widgets?: any; - } - - interface WebScene extends Map, corePromise { - clippingArea: Extent; - clippingEnabled: boolean; - initialViewProperties: websceneInitialViewProperties; - loaded: boolean; - loadError: Error; - loadStatus: string; - portalItem: PortalItem; - presentation: Presentation; - sourceVersion: WebSceneSourceVersion; - - load(): IPromise<any>; - save(options?: WebSceneSaveOptions): IPromise<any>; - saveAs(portalItem: PortalItem, options?: WebSceneSaveAsOptions): IPromise<any>; - toJSON(): any; - updateFrom(view: SceneView, options?: WebSceneUpdateFromOptions): void; - } - - interface WebSceneConstructor { - new(properties?: WebSceneProperties): WebScene; - - - fromJSON(json: any): any; - } - - export const WebScene: WebSceneConstructor; - - interface WebSceneProperties extends MapProperties { - clippingArea?: ExtentProperties; - clippingEnabled?: boolean; - initialViewProperties?: websceneInitialViewPropertiesProperties; - loaded?: boolean; - loadError?: Error; - loadStatus?: string; - portalItem?: PortalItemProperties; - presentation?: PresentationProperties; - sourceVersion?: WebSceneSourceVersion; - } - - - - interface Collection extends Accessor, Evented { - length: number; - - add(item: any, index?: number): void; - addMany(items: any[] | Collection, index?: number): void; - clone(): this; - concat(value: any[] | Collection): Collection; - every(callback: ItemTestCallback): boolean; - filter(callback: ItemTestCallback): Collection; - find(callback: ItemTestCallback): any; - findIndex(callback: ItemTestCallback): number; - flatten(callback: ItemCallback): Collection; - forEach(callback: ItemCallback): void; - getItemAt(index: number): any; - includes(searchElement: any): boolean; - indexOf(searchElement: any, fromIndex?: number): number; - join(separator?: string): string; - lastIndexOf(searchElement: any, fromIndex?: number): number; - map(callback: ItemMapCallback): Collection; - pop(): any; - push(item: any): number; - reduce(callback: ItemReduceCallback): any; - reduceRight(callback: ItemReduceCallback, initialValue?: any): any; - remove(item: any): void; - removeAll(): void; - removeAt(index: number): any; - removeMany(items: any[] | Collection): any; - reorder(item: any, index: number): any; - reverse(): Collection; - shift(): any; - slice(begin?: number, end?: number): Collection; - some(callback: ItemCallback): boolean; - sort(compareFunction?: ItemCompareCallback): void; - splice(start: number, deleteCount: number, items: any): any[]; - toArray(): any[]; - unshift(items: any): number; - } - - interface CollectionConstructor { - new(properties?: CollectionProperties): Collection; - - - isCollection(value: any): boolean; - ofType(type: any): any; - } - - export const Collection: CollectionConstructor; - - interface CollectionProperties { - length?: number; - } - - interface Connection { - broadcast(methodName: string, data?: any, buffers?: any[]): IPromise<any>[]; - close(): void; - invoke(methodName: string, data?: any, buffers?: any[]): IPromise<any>; - } - - interface ConnectionConstructor { - new(client: any, id: number): Connection; - } - - export const Connection: ConnectionConstructor; - - interface Circle extends Polygon { - center: Point | number[]; - geodesic: boolean; - numberOfPoints: number; - radius: number; - radiusUnit: string; - } - - interface CircleConstructor { - new(properties?: CircleProperties): Circle; - - fromJSON(json: any): Circle; - } - - export const Circle: CircleConstructor; - - interface CircleProperties extends PolygonProperties { - center?: Point | number[]; - geodesic?: boolean; - numberOfPoints?: number; - radius?: number; - radiusUnit?: string; - } - - interface Extent extends Geometry { - center: Point; - height: number; - mmax: number; - mmin: number; - width: number; - xmax: number; - xmin: number; - ymax: number; - ymin: number; - zmax: number; - zmin: number; - - centerAt(point: Point): Extent; - contains(geometry: Point | Extent): boolean; - equals(extent: Extent): boolean; - expand(factor: number): Extent; - intersection(extent: Extent): Extent; - intersects(geometry: Geometry): boolean; - normalize(): Extent[]; - offset(dx: number, dy: number, dz: number): Extent; - union(extent: Extent): Extent; - } - - interface ExtentConstructor { - new(properties?: ExtentProperties): Extent; - - fromJSON(json: any): Extent; - } - - export const Extent: ExtentConstructor; - - interface ExtentProperties extends GeometryProperties { - center?: PointProperties; - height?: number; - mmax?: number; - mmin?: number; - width?: number; - xmax?: number; - xmin?: number; - ymax?: number; - ymin?: number; - zmax?: number; - zmin?: number; - } - - interface Geometry extends Accessor, JSONSupport { - cache: any; - extent: Extent; - hasM: boolean; - hasZ: boolean; - spatialReference: SpatialReference; - type: string; - - clone(): this; - } - - interface GeometryConstructor { - new(properties?: GeometryProperties): Geometry; - - fromJSON(json: any): Geometry; - } - - export const Geometry: GeometryConstructor; - - interface GeometryProperties { - cache?: any; - extent?: ExtentProperties; - hasM?: boolean; - hasZ?: boolean; - spatialReference?: SpatialReferenceProperties; - type?: string; - } - - interface Multipoint extends Geometry { - points: number[][]; - - addPoint(point: Point | number[]): Multipoint; - getPoint(index: number): Point; - removePoint(index: number): Point; - setPoint(index: number, point: Point): Multipoint; - } - - interface MultipointConstructor { - new(properties?: MultipointProperties): Multipoint; - - fromJSON(json: any): Multipoint; - } - - export const Multipoint: MultipointConstructor; - - interface MultipointProperties extends GeometryProperties { - points?: number[][]; - } - - interface Point extends Geometry { - latitude: number; - longitude: number; - m: number; - x: number; - y: number; - z: number; - - copy(other: Point): void; - distance(other: Point): number; - equals(point: Point): boolean; - normalize(): Point; - } - - interface PointConstructor { - new(properties?: PointProperties): Point; - - fromJSON(json: any): Point; - } - - export const Point: PointConstructor; - - interface PointProperties extends GeometryProperties { - latitude?: number; - longitude?: number; - m?: number; - x?: number; - y?: number; - z?: number; - } - - interface Polygon extends Geometry { - centroid: Point; - isSelfIntersecting: boolean; - rings: number[][][]; - - addRing(ring: Point[] | number[][]): Polygon; - contains(point: Point): boolean; - getPoint(ringIndex: number, pointIndex: number): Point; - insertPoint(ringIndex: number, pointIndex: number, point: Point): Polygon; - isClockwise(ring: Point[] | number[][]): boolean; - removePoint(ringIndex: number, pointIndex: number): Point[]; - removeRing(index: number): Point[]; - setPoint(ringIndex: number, pointIndex: number, point: Point): Polygon; - } - - interface PolygonConstructor { - new(properties?: PolygonProperties): Polygon; - - - fromExtent(extent: Extent): Polygon; - - fromJSON(json: any): Polygon; - } - - export const Polygon: PolygonConstructor; - - interface PolygonProperties extends GeometryProperties { - centroid?: PointProperties; - isSelfIntersecting?: boolean; - rings?: number[][][]; - } - - interface Polyline extends Geometry { - paths: number[][][]; - - addPath(points: number[][]): Polyline; - getPoint(pathIndex: number, pointIndex: number): Point; - insertPoint(pathIndex: number, pointIndex: number, point: Point): Polyline; - removePath(index: number): Point[]; - removePoint(pathIndex: number, pointIndex: number): Point; - setPoint(pathIndex: number, pointIndex: number, point: Point): Polyline; - } - - interface PolylineConstructor { - new(properties?: PolylineProperties): Polyline; - - fromJSON(json: any): Polyline; - } - - export const Polyline: PolylineConstructor; - - interface PolylineProperties extends GeometryProperties { - paths?: number[][][]; - } - - interface ScreenPoint extends Accessor { - x: number; - y: number; - } - - interface ScreenPointConstructor { - new(properties?: ScreenPointProperties): ScreenPoint; - } - - export const ScreenPoint: ScreenPointConstructor; - - interface ScreenPointProperties { - x?: number; - y?: number; - } - - interface SpatialReference extends Accessor, JSONSupport { - isGeographic: boolean; - isWebMercator: boolean; - isWGS84: boolean; - isWrappable: boolean; - WebMercator: SpatialReference; - WGS84: SpatialReference; - wkid: number; - wkt: string; - - clone(): this; - equals(spatialReference: SpatialReference): boolean; - } - - interface SpatialReferenceConstructor { - new(properties?: SpatialReferenceProperties): SpatialReference; - - fromJSON(json: any): SpatialReference; - } - - export const SpatialReference: SpatialReferenceConstructor; - - interface SpatialReferenceProperties { - isGeographic?: boolean; - isWebMercator?: boolean; - isWGS84?: boolean; - isWrappable?: boolean; - WebMercator?: SpatialReferenceProperties; - WGS84?: SpatialReferenceProperties; - wkid?: number; - wkt?: string; - } - - interface Credential extends Accessor { - expires: number; - isAdmin: boolean; - oAuthState: any; - server: string; - ssl: boolean; - token: string; - userId: string; - - destroy(): void; - refreshToken(): void; - } - - interface CredentialConstructor { - new(properties?: CredentialProperties): Credential; - } - - export const Credential: CredentialConstructor; - - interface CredentialProperties { - expires?: number; - isAdmin?: boolean; - oAuthState?: any; - server?: string; - ssl?: boolean; - token?: string; - userId?: string; - } - - interface IdentityManagerBase extends Evented { - tokenValidity: number; - - checkSignInStatus(resUrl: string): IPromise<any>; - destroyCredentials(): void; - findCredential(url: string, userId?: string): Credential; - findOAuthInfo(url: string): OAuthInfo; - findServerInfo(url: string): ServerInfo; - generateToken(serverInfo: ServerInfo, userInfo: any, options?: IdentityManagerBaseGenerateTokenOptions): IPromise<any>; - getCredential(url: string, options?: IdentityManagerBaseGetCredentialOptions): IPromise<any>; - initialize(json: any): void; - isBusy(): boolean; - oAuthSignIn(resUrl: string, serverInfo: ServerInfo, oAuthInfo: OAuthInfo, options?: IdentityManagerBaseOAuthSignInOptions): IPromise<any>; - registerOAuthInfos(oAuthInfos: OAuthInfo[]): void; - registerServers(serverInfos: ServerInfo[]): void; - registerToken(properties: IdentityManagerBaseRegisterTokenProperties): void; - setProtocolErrorHandler(handlerFunction: IdentityManagerBaseSetProtocolErrorHandlerHandlerFunction): void; - setRedirectionHandler(handlerFunction: IdentityManagerBaseSetRedirectionHandlerHandlerFunction): void; - signIn(url: string, serverInfo: ServerInfo, options?: IdentityManagerBaseSignInOptions): IPromise<any>; - toJSON(): any; - } - - interface IdentityManagerBaseConstructor { - new(): IdentityManagerBase; - } - - export const IdentityManagerBase: IdentityManagerBaseConstructor; - - interface IdentityManager extends IdentityManagerBase { - dialog: any; - - setOAuthRedirectionHandler(handlerFunction: HandlerCallback): void; - setOAuthResponseHash(hash: string): void; - - on(name: "credential-create", eventHandler: IdentityManagerCredentialCreateEventHandler): IHandle; - on(name: "credential-create", modifiers: string[], eventHandler: IdentityManagerCredentialCreateEventHandler): IHandle; - on(name: "credentials-destroy", eventHandler: IdentityManagerCredentialsDestroyEventHandler): IHandle; - on(name: "credentials-destroy", modifiers: string[], eventHandler: IdentityManagerCredentialsDestroyEventHandler): IHandle; - } - - interface IdentityManagerConstructor { - new(): IdentityManager; - } - - export const IdentityManager: IdentityManagerConstructor; - - interface OAuthInfo extends Accessor, JSONSupport { - appId: string; - authNamespace: string; - expiration: number; - locale: string; - minTimeUntilExpiration: number; - popup: boolean; - popupCallbackUrl: string; - popupWindowFeatures: string; - portalUrl: string; - - clone(): this; - } - - interface OAuthInfoConstructor { - new(properties?: OAuthInfoProperties): OAuthInfo; - - fromJSON(json: any): OAuthInfo; - } - - export const OAuthInfo: OAuthInfoConstructor; - - interface OAuthInfoProperties { - appId?: string; - authNamespace?: string; - expiration?: number; - locale?: string; - minTimeUntilExpiration?: number; - popup?: boolean; - popupCallbackUrl?: string; - popupWindowFeatures?: string; - portalUrl?: string; - } - - interface ServerInfo extends Accessor, JSONSupport { - adminTokenServiceUrl: string; - currentVersion: number; - server: string; - shortLivedTokenValidity: number; - tokenServiceUrl: string; - } - - interface ServerInfoConstructor { - new(properties?: ServerInfoProperties): ServerInfo; - - fromJSON(json: any): ServerInfo; - } - - export const ServerInfo: ServerInfoConstructor; - - interface ServerInfoProperties { - adminTokenServiceUrl?: string; - currentVersion?: number; - server?: string; - shortLivedTokenValidity?: number; - tokenServiceUrl?: string; - } - - interface BaseElevationLayer extends Layer { - spatialReference: SpatialReference; - tileInfo: TileInfo; - - addResolvingPromise(promiseToLoad: IPromise<any>): IPromise<any>; - fetchTile(level: number, row: number, column: number, options?: BaseElevationLayerFetchTileOptions): IPromise<any>; - getTileBounds(level: number, row: number, column: number, out?: number[]): number[]; - - on(name: "layerview-create", eventHandler: BaseElevationLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-create", modifiers: string[], eventHandler: BaseElevationLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-destroy", eventHandler: BaseElevationLayerLayerviewDestroyEventHandler): IHandle; - on(name: "layerview-destroy", modifiers: string[], eventHandler: BaseElevationLayerLayerviewDestroyEventHandler): IHandle; - } - - interface BaseElevationLayerConstructor { - new(properties?: BaseElevationLayerProperties): BaseElevationLayer; - } - - export const BaseElevationLayer: BaseElevationLayerConstructor; - - interface BaseElevationLayerProperties extends LayerProperties { - spatialReference?: SpatialReferenceProperties; - tileInfo?: TileInfoProperties; - } - - interface CSVLayer extends Layer { - copyright: string; - delimiter: string; - elevationInfo: CSVLayerElevationInfo; - featureReduction: CSVLayerFeatureReduction; - fields: Field[]; - labelingInfo: LabelClass[]; - labelsVisible: boolean; - latitudeField: string; - legendEnabled: boolean; - longitudeField: string; - maxScale: number; - minScale: number; - outFields: string[]; - popupEnabled: boolean; - popupTemplate: PopupTemplate; - renderer: Renderer; - screenSizePerspectiveEnabled: boolean; - url: string; - - on(name: "layerview-create", eventHandler: CSVLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-create", modifiers: string[], eventHandler: CSVLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-destroy", eventHandler: CSVLayerLayerviewDestroyEventHandler): IHandle; - on(name: "layerview-destroy", modifiers: string[], eventHandler: CSVLayerLayerviewDestroyEventHandler): IHandle; - } - - interface CSVLayerConstructor { - new(properties?: CSVLayerProperties): CSVLayer; - } - - export const CSVLayer: CSVLayerConstructor; - - interface CSVLayerProperties extends LayerProperties { - copyright?: string; - delimiter?: string; - elevationInfo?: CSVLayerElevationInfo; - featureReduction?: CSVLayerFeatureReduction; - fields?: FieldProperties[]; - labelingInfo?: LabelClassProperties[]; - labelsVisible?: boolean; - latitudeField?: string; - legendEnabled?: boolean; - longitudeField?: string; - maxScale?: number; - minScale?: number; - outFields?: string[]; - popupEnabled?: boolean; - popupTemplate?: PopupTemplateProperties; - renderer?: RendererProperties; - screenSizePerspectiveEnabled?: boolean; - url?: string; - } - - interface ElevationLayer extends Layer, ArcGISMapService, ArcGISCachedService, PortalLayer, TiledLayer { - url: string; - - fetchTile(level: number, row: number, column: number, noDataValue?: number): IPromise<any>; - queryElevation(geometry: Point | Multipoint | Polyline, options?: ElevationLayerQueryElevationOptions): IPromise<any>; - - on(name: "layerview-create", eventHandler: ElevationLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-create", modifiers: string[], eventHandler: ElevationLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-destroy", eventHandler: ElevationLayerLayerviewDestroyEventHandler): IHandle; - on(name: "layerview-destroy", modifiers: string[], eventHandler: ElevationLayerLayerviewDestroyEventHandler): IHandle; - } - - interface ElevationLayerConstructor { - new(properties?: ElevationLayerProperties): ElevationLayer; - - fromJSON(json: any): ElevationLayer; - } - - export const ElevationLayer: ElevationLayerConstructor; - - interface ElevationLayerProperties extends LayerProperties, ArcGISMapServiceProperties, ArcGISCachedServiceProperties, PortalLayerProperties, TiledLayerProperties { - url?: string; - } - - interface FeatureLayer extends Layer, PortalLayer, ScaleRangeLayer { - capabilities: FeatureLayerCapabilities; - copyright: string; - definitionExpression: string; - displayField: string; - elevationInfo: FeatureLayerElevationInfo; - featureReduction: FeatureLayerFeatureReduction; - fields: Field[]; - gdbVersion: string; - geometryType: string; - hasAttachments: boolean; - hasM: boolean; - hasZ: boolean; - labelingInfo: LabelClass[]; - labelsVisible: boolean; - layerId: number; - legendEnabled: boolean; - objectIdField: string; - outFields: string[]; - popupEnabled: boolean; - popupTemplate: PopupTemplate; - renderer: Renderer; - returnM: boolean; - returnZ: boolean; - screenSizePerspectiveEnabled: boolean; - source: Collection; - spatialReference: SpatialReference; - templates: FeatureTemplate[]; - token: string; - typeIdField: string; - types: FeatureType[]; - url: string; - version: number; - - applyEdits(edits: FeatureLayerApplyEditsEdits): IPromise<any>; - createQuery(): Query; - getFieldDomain(fieldName: string, options?: FeatureLayerGetFieldDomainOptions): Domain; - queryExtent(params?: Query): IPromise<any>; - queryFeatureCount(params?: Query): IPromise<any>; - queryFeatures(params?: Query): IPromise<any>; - queryObjectIds(params?: Query): IPromise<any>; - - on(name: "layerview-create", eventHandler: FeatureLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-create", modifiers: string[], eventHandler: FeatureLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-destroy", eventHandler: FeatureLayerLayerviewDestroyEventHandler): IHandle; - on(name: "layerview-destroy", modifiers: string[], eventHandler: FeatureLayerLayerviewDestroyEventHandler): IHandle; - } - - interface FeatureLayerConstructor { - new(properties?: FeatureLayerProperties): FeatureLayer; - - fromJSON(json: any): FeatureLayer; - } - - export const FeatureLayer: FeatureLayerConstructor; - - interface FeatureLayerProperties extends LayerProperties, PortalLayerProperties, ScaleRangeLayerProperties { - capabilities?: FeatureLayerCapabilities; - copyright?: string; - definitionExpression?: string; - displayField?: string; - elevationInfo?: FeatureLayerElevationInfo; - featureReduction?: FeatureLayerFeatureReduction; - fields?: FieldProperties[]; - gdbVersion?: string; - geometryType?: string; - hasAttachments?: boolean; - hasM?: boolean; - hasZ?: boolean; - labelingInfo?: LabelClassProperties[]; - labelsVisible?: boolean; - layerId?: number; - legendEnabled?: boolean; - objectIdField?: string; - outFields?: string[]; - popupEnabled?: boolean; - popupTemplate?: PopupTemplateProperties; - renderer?: RendererProperties; - returnM?: boolean; - returnZ?: boolean; - screenSizePerspectiveEnabled?: boolean; - source?: Collection | any[]; - spatialReference?: SpatialReferenceProperties; - templates?: FeatureTemplateProperties[]; - token?: string; - typeIdField?: string; - types?: FeatureTypeProperties[]; - url?: string; - version?: number; - } - - interface GeoRSSLayer extends Layer { + interface GeoRSSLayer extends Layer, ScaleRangeLayer { lineSymbol: SimpleLineSymbol; pointSymbol: PictureMarkerSymbol; polygonSymbol: SimpleFillSymbol; @@ -3426,16 +1691,26 @@ declare namespace __esri { export const GeoRSSLayer: GeoRSSLayerConstructor; - interface GeoRSSLayerProperties extends LayerProperties { + interface GeoRSSLayerProperties extends LayerProperties, ScaleRangeLayerProperties { lineSymbol?: SimpleLineSymbolProperties; pointSymbol?: PictureMarkerSymbolProperties; polygonSymbol?: SimpleFillSymbolProperties; url?: string; } + export interface GeoRSSLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface GeoRSSLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + interface GraphicsLayer extends Layer, ScaleRangeLayer { elevationInfo: GraphicsLayerElevationInfo; - graphics: Collection; + graphics: Collection<Graphic>; screenSizePerspectiveEnabled: boolean; add(graphic: Graphic): void; @@ -3458,10 +1733,31 @@ declare namespace __esri { interface GraphicsLayerProperties extends LayerProperties, ScaleRangeLayerProperties { elevationInfo?: GraphicsLayerElevationInfo; - graphics?: Collection | any[]; + graphics?: CollectionProperties<GraphicProperties>; screenSizePerspectiveEnabled?: boolean; } + export interface GraphicsLayerElevationInfo { + mode: string; + offset?: number; + featureExpressionInfo?: GraphicsLayerElevationInfoFeatureExpressionInfo; + unit?: string; + } + + export interface GraphicsLayerElevationInfoFeatureExpressionInfo { + expression?: string; + } + + export interface GraphicsLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface GraphicsLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + interface GroupLayer extends Layer, LayersMixin, PortalLayer { visibilityMode: string; @@ -3483,6 +1779,16 @@ declare namespace __esri { visibilityMode?: string; } + export interface GroupLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface GroupLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + interface ImageryLayer extends Layer, ArcGISImageService, ScaleRangeLayer { pixelFilter: Function; popupEnabled: boolean; @@ -3512,7 +1818,19 @@ declare namespace __esri { token?: string; } + export interface ImageryLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface ImageryLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + interface IntegratedMeshLayer extends Layer, SceneService, PortalLayer { + elevationInfo: IntegratedMeshLayerElevationInfo; + on(name: "layerview-create", eventHandler: IntegratedMeshLayerLayerviewCreateEventHandler): IHandle; on(name: "layerview-create", modifiers: string[], eventHandler: IntegratedMeshLayerLayerviewCreateEventHandler): IHandle; on(name: "layerview-destroy", eventHandler: IntegratedMeshLayerLayerviewDestroyEventHandler): IHandle; @@ -3528,7 +1846,63 @@ declare namespace __esri { export const IntegratedMeshLayer: IntegratedMeshLayerConstructor; interface IntegratedMeshLayerProperties extends LayerProperties, SceneServiceProperties, PortalLayerProperties { + elevationInfo?: IntegratedMeshLayerElevationInfo; + } + export interface IntegratedMeshLayerElevationInfo { + mode: string; + offset?: number; + } + + export interface IntegratedMeshLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface IntegratedMeshLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + + interface KMLLayer extends Layer, PortalLayer, ScaleRangeLayer { + allVisibleMapImages: Collection<any>; + allVisiblePoints: Collection<Point>; + allVisiblePolygons: Collection<Polygon>; + allVisiblePolylines: Collection<Polyline>; + sublayers: Collection<KMLSublayer>; + url: string; + + on(name: "layerview-create", eventHandler: KMLLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-create", modifiers: string[], eventHandler: KMLLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-destroy", eventHandler: KMLLayerLayerviewDestroyEventHandler): IHandle; + on(name: "layerview-destroy", modifiers: string[], eventHandler: KMLLayerLayerviewDestroyEventHandler): IHandle; + } + + interface KMLLayerConstructor { + new(properties?: KMLLayerProperties): KMLLayer; + + fromJSON(json: any): KMLLayer; + } + + export const KMLLayer: KMLLayerConstructor; + + interface KMLLayerProperties extends LayerProperties, PortalLayerProperties, ScaleRangeLayerProperties { + allVisibleMapImages?: CollectionProperties<any>; + allVisiblePoints?: CollectionProperties<PointProperties>; + allVisiblePolygons?: CollectionProperties<PolygonProperties>; + allVisiblePolylines?: CollectionProperties<PolylineProperties>; + sublayers?: CollectionProperties<KMLSublayerProperties>; + url?: string; + } + + export interface KMLLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface KMLLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; } interface Layer extends Accessor, Loadable, Evented { @@ -3548,8 +1922,8 @@ declare namespace __esri { new(properties?: LayerProperties): Layer; - fromArcGISServerUrl(params: LayerFromArcGISServerUrlParams): IPromise<any>; - fromPortalItem(params: LayerFromPortalItemParams): IPromise<any>; + fromArcGISServerUrl(params: LayerFromArcGISServerUrlParams): IPromise<Layer>; + fromPortalItem(params: LayerFromPortalItemParams): IPromise<Layer>; } export const Layer: LayerConstructor; @@ -3565,7 +1939,16 @@ declare namespace __esri { visible?: boolean; } - interface MapImageLayer extends Layer, ArcGISMapService, ArcGISDynamicMapService, DynamicLayer { + export interface LayerFromArcGISServerUrlParams { + url: string; + properties?: any; + } + + export interface LayerFromPortalItemParams { + portalItem: PortalItem; + } + + interface MapImageLayer extends Layer, ArcGISMapService, ArcGISDynamicMapService, DynamicLayer, ScaleRangeLayer { on(name: "layerview-create", eventHandler: MapImageLayerLayerviewCreateEventHandler): IHandle; on(name: "layerview-create", modifiers: string[], eventHandler: MapImageLayerLayerviewCreateEventHandler): IHandle; on(name: "layerview-destroy", eventHandler: MapImageLayerLayerviewDestroyEventHandler): IHandle; @@ -3580,11 +1963,21 @@ declare namespace __esri { export const MapImageLayer: MapImageLayerConstructor; - interface MapImageLayerProperties extends LayerProperties, ArcGISMapServiceProperties, ArcGISDynamicMapServiceProperties, DynamicLayerProperties { + interface MapImageLayerProperties extends LayerProperties, ArcGISMapServiceProperties, ArcGISDynamicMapServiceProperties, DynamicLayerProperties, ScaleRangeLayerProperties { } - interface MapNotesLayer extends Layer, PortalLayer { + export interface MapImageLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface MapImageLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + + interface MapNotesLayer extends Layer, PortalLayer, ScaleRangeLayer { on(name: "layerview-create", eventHandler: MapNotesLayerLayerviewCreateEventHandler): IHandle; on(name: "layerview-create", modifiers: string[], eventHandler: MapNotesLayerLayerviewCreateEventHandler): IHandle; on(name: "layerview-destroy", eventHandler: MapNotesLayerLayerviewDestroyEventHandler): IHandle; @@ -3599,10 +1992,225 @@ declare namespace __esri { export const MapNotesLayer: MapNotesLayerConstructor; - interface MapNotesLayerProperties extends LayerProperties, PortalLayerProperties { + interface MapNotesLayerProperties extends LayerProperties, PortalLayerProperties, ScaleRangeLayerProperties { } + export interface MapNotesLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface MapNotesLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + + interface ArcGISCachedService { + tileInfo: TileInfo; + + fromJSON(json: any): any; + toJSON(): any; + } + + interface ArcGISCachedServiceConstructor { + new(properties?: ArcGISCachedServiceProperties): ArcGISCachedService; + + fromJSON(json: any): ArcGISCachedService; + } + + export const ArcGISCachedService: ArcGISCachedServiceConstructor; + + interface ArcGISCachedServiceProperties { + tileInfo?: TileInfoProperties; + } + + interface ArcGISDynamicMapService { + allSublayers: Collection<Sublayer>; + dpi: number; + gdbVersion: string; + imageFormat: string; + imageMaxHeight: number; + imageMaxWidth: number; + imageTransparency: boolean; + sublayers: Collection<Sublayer>; + + createServiceSublayers(): Collection<Sublayer>; + findSublayerById(id: number): Sublayer; + getExportImageParameters(extent: Extent, width: number, height: number, options?: ArcGISDynamicMapServiceGetExportImageParametersOptions): any; + } + + interface ArcGISDynamicMapServiceConstructor { + new(): ArcGISDynamicMapService; + } + + export const ArcGISDynamicMapService: ArcGISDynamicMapServiceConstructor; + + interface ArcGISDynamicMapServiceProperties { + allSublayers?: CollectionProperties<SublayerProperties>; + dpi?: number; + gdbVersion?: string; + imageFormat?: string; + imageMaxHeight?: number; + imageMaxWidth?: number; + imageTransparency?: boolean; + sublayers?: CollectionProperties<SublayerProperties>; + } + + export interface ArcGISDynamicMapServiceGetExportImageParametersOptions { + rotation?: number; + } + + interface ArcGISImageService { + compressionQuality: number; + compressionTolerance: number; + copyright: string; + definitionExpression: string; + domainFields: Field[]; + fields: Field[]; + format: string; + fullExtent: Extent; + hasMultidimensions: boolean; + hasRasterAttributeTable: boolean; + imageMaxHeight: number; + imageMaxWidth: number; + mosaicRule: MosaicRule; + multidimensionalInfo: any; + pixelType: string; + popupTemplate: PopupTemplate; + rasterAttributeTable: any; + rasterAttributeTableFieldPrefix: string; + rasterFields: Field[]; + renderingRule: RasterFunction; + spatialReference: SpatialReference; + url: string; + version: number; + + fetchImage(extent: Extent, width: number, height: number): IPromise<any>; + fromJSON(json: any): any; + toJSON(): any; + } + + interface ArcGISImageServiceConstructor { + new(properties?: ArcGISImageServiceProperties): ArcGISImageService; + + fromJSON(json: any): ArcGISImageService; + } + + export const ArcGISImageService: ArcGISImageServiceConstructor; + + interface ArcGISImageServiceProperties { + compressionQuality?: number; + compressionTolerance?: number; + copyright?: string; + definitionExpression?: string; + domainFields?: FieldProperties[]; + fields?: FieldProperties[]; + format?: string; + fullExtent?: ExtentProperties; + hasMultidimensions?: boolean; + hasRasterAttributeTable?: boolean; + imageMaxHeight?: number; + imageMaxWidth?: number; + mosaicRule?: MosaicRuleProperties; + multidimensionalInfo?: any; + pixelType?: string; + popupTemplate?: PopupTemplateProperties; + rasterAttributeTable?: any; + rasterAttributeTableFieldPrefix?: string; + rasterFields?: FieldProperties[]; + renderingRule?: RasterFunctionProperties; + spatialReference?: SpatialReferenceProperties; + url?: string; + version?: number; + } + + interface ArcGISMapService { + copyright: string; + fullExtent: Extent; + spatialReference: SpatialReference; + token: string; + } + + interface ArcGISMapServiceConstructor { + new(properties?: ArcGISMapServiceProperties): ArcGISMapService; + + fromJSON(json: any): ArcGISMapService; + } + + export const ArcGISMapService: ArcGISMapServiceConstructor; + + interface ArcGISMapServiceProperties { + copyright?: string; + fullExtent?: ExtentProperties; + spatialReference?: SpatialReferenceProperties; + token?: string; + } + + interface PortalLayer { + portalItem: PortalItem; + } + + interface PortalLayerConstructor { + new(properties?: PortalLayerProperties): PortalLayer; + + fromJSON(json: any): PortalLayer; + } + + export const PortalLayer: PortalLayerConstructor; + + interface PortalLayerProperties { + portalItem?: PortalItemProperties; + } + + interface ScaleRangeLayer { + maxScale: number; + minScale: number; + } + + interface ScaleRangeLayerConstructor { + new(): ScaleRangeLayer; + } + + export const ScaleRangeLayer: ScaleRangeLayerConstructor; + + interface ScaleRangeLayerProperties { + maxScale?: number; + minScale?: number; + } + + interface SceneService { + copyright: string; + layerId: number; + spatialReference: SpatialReference; + token: string; + url: string; + version: SceneServiceVersion; + } + + interface SceneServiceConstructor { + new(properties?: SceneServiceProperties): SceneService; + + fromJSON(json: any): SceneService; + } + + export const SceneService: SceneServiceConstructor; + + interface SceneServiceProperties { + copyright?: string; + layerId?: number; + spatialReference?: SpatialReferenceProperties; + token?: string; + url?: string; + version?: SceneServiceVersion; + } + + export interface SceneServiceVersion { + major: number; + minor: number; + versionString: string; + } + interface OpenStreetMapLayer extends WebTileLayer { on(name: "layerview-create", eventHandler: OpenStreetMapLayerLayerviewCreateEventHandler): IHandle; on(name: "layerview-create", modifiers: string[], eventHandler: OpenStreetMapLayerLayerviewCreateEventHandler): IHandle; @@ -3622,9 +2230,20 @@ declare namespace __esri { } + export interface OpenStreetMapLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface OpenStreetMapLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + interface PointCloudLayer extends Layer, SceneService, PortalLayer { elevationInfo: PointCloudLayerElevationInfo; fields: Field[]; + legendEnabled: boolean; renderer: PointCloudRenderer; on(name: "layerview-create", eventHandler: PointCloudLayerLayerviewCreateEventHandler): IHandle; @@ -3644,9 +2263,25 @@ declare namespace __esri { interface PointCloudLayerProperties extends LayerProperties, SceneServiceProperties, PortalLayerProperties { elevationInfo?: PointCloudLayerElevationInfo; fields?: FieldProperties[]; + legendEnabled?: boolean; renderer?: PointCloudRendererProperties; } + export interface PointCloudLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface PointCloudLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + + export interface PointCloudLayerElevationInfo { + mode: string; + offset?: number; + } + interface SceneLayer extends Layer, SceneService, PortalLayer { definitionExpression: string; elevationInfo: SceneLayerElevationInfo; @@ -3665,9 +2300,9 @@ declare namespace __esri { createQuery(): Query; getFieldUsageInfo(fieldName: string): any; queryExtent(params?: Query): IPromise<any>; - queryFeatureCount(params?: Query): IPromise<any>; - queryFeatures(params?: Query): IPromise<any>; - queryObjectIds(params?: Query): IPromise<any>; + queryFeatureCount(params?: Query): IPromise<number>; + queryFeatures(params?: Query): IPromise<FeatureSet>; + queryObjectIds(params?: Query): IPromise<number[]>; on(name: "layerview-create", eventHandler: SceneLayerLayerviewCreateEventHandler): IHandle; on(name: "layerview-create", modifiers: string[], eventHandler: SceneLayerLayerviewCreateEventHandler): IHandle; @@ -3699,6 +2334,25 @@ declare namespace __esri { screenSizePerspectiveEnabled?: boolean; } + export interface SceneLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface SceneLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + + export interface SceneLayerElevationInfo { + mode: string; + offset?: number; + } + + export interface SceneLayerFeatureReduction { + type: string; + } + interface StreamLayer extends FeatureLayer { filter: StreamLayerFilter; geometryDefinition: Extent; @@ -3728,266 +2382,29 @@ declare namespace __esri { purgeOptions?: StreamLayerPurgeOptions; } - interface TileLayer extends Layer, ArcGISMapService, ArcGISCachedService, PortalLayer, TiledLayer { - attributionDataUrl: string; - hasAttributionData: boolean; - legendEnabled: boolean; - tileServers: string[]; - url: string; - - fetchTile(level: number, row: number, column: number, options?: TileLayerFetchTileOptions): IPromise<any>; - getTileUrl(level: number, row: number, col: number): string; - - on(name: "layerview-create", eventHandler: TileLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-create", modifiers: string[], eventHandler: TileLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-destroy", eventHandler: TileLayerLayerviewDestroyEventHandler): IHandle; - on(name: "layerview-destroy", modifiers: string[], eventHandler: TileLayerLayerviewDestroyEventHandler): IHandle; + export interface StreamLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; } - interface TileLayerConstructor { - new(properties?: TileLayerProperties): TileLayer; - - fromJSON(json: any): TileLayer; + export interface StreamLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; } - export const TileLayer: TileLayerConstructor; - - interface TileLayerProperties extends LayerProperties, ArcGISMapServiceProperties, ArcGISCachedServiceProperties, PortalLayerProperties, TiledLayerProperties { - attributionDataUrl?: string; - hasAttributionData?: boolean; - legendEnabled?: boolean; - tileServers?: string[]; - url?: string; + export interface StreamLayerFilter { + geometry?: Extent; + where?: string; } - interface UnknownLayer extends Layer { - on(name: "layerview-create", eventHandler: UnknownLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-create", modifiers: string[], eventHandler: UnknownLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-destroy", eventHandler: UnknownLayerLayerviewDestroyEventHandler): IHandle; - on(name: "layerview-destroy", modifiers: string[], eventHandler: UnknownLayerLayerviewDestroyEventHandler): IHandle; + export interface StreamLayerPurgeOptions { + displayCount: number; + age: number; } - interface UnknownLayerConstructor { - new(properties?: UnknownLayerProperties): UnknownLayer; - } - - export const UnknownLayer: UnknownLayerConstructor; - - interface UnknownLayerProperties extends LayerProperties { - - } - - interface UnsupportedLayer extends Layer { - on(name: "layerview-create", eventHandler: UnsupportedLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-create", modifiers: string[], eventHandler: UnsupportedLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-destroy", eventHandler: UnsupportedLayerLayerviewDestroyEventHandler): IHandle; - on(name: "layerview-destroy", modifiers: string[], eventHandler: UnsupportedLayerLayerviewDestroyEventHandler): IHandle; - } - - interface UnsupportedLayerConstructor { - new(properties?: UnsupportedLayerProperties): UnsupportedLayer; - } - - export const UnsupportedLayer: UnsupportedLayerConstructor; - - interface UnsupportedLayerProperties extends LayerProperties { - - } - - interface VectorTileLayer extends Layer, PortalLayer, ScaleRangeLayer, TiledLayer { - attributionDataUrl: string; - currentStyleInfo: VectorTileLayerCurrentStyleInfo; - spatialReference: SpatialReference; - token: string; - url: string; - - loadStyle(style: string | any): IPromise<any>; - - on(name: "layerview-create", eventHandler: VectorTileLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-create", modifiers: string[], eventHandler: VectorTileLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-destroy", eventHandler: VectorTileLayerLayerviewDestroyEventHandler): IHandle; - on(name: "layerview-destroy", modifiers: string[], eventHandler: VectorTileLayerLayerviewDestroyEventHandler): IHandle; - } - - interface VectorTileLayerConstructor { - new(properties?: VectorTileLayerProperties): VectorTileLayer; - - fromJSON(json: any): VectorTileLayer; - } - - export const VectorTileLayer: VectorTileLayerConstructor; - - interface VectorTileLayerProperties extends LayerProperties, PortalLayerProperties, ScaleRangeLayerProperties, TiledLayerProperties { - attributionDataUrl?: string; - currentStyleInfo?: VectorTileLayerCurrentStyleInfo; - spatialReference?: SpatialReferenceProperties; - token?: string; - url?: string | any; - } - - interface WebTileLayer extends Layer, TiledLayer, ScaleRangeLayer { - copyright: string; - spatialReference: SpatialReference; - subDomains: string[]; - tileServers: string[]; - urlTemplate: string; - - on(name: "layerview-create", eventHandler: WebTileLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-create", modifiers: string[], eventHandler: WebTileLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-destroy", eventHandler: WebTileLayerLayerviewDestroyEventHandler): IHandle; - on(name: "layerview-destroy", modifiers: string[], eventHandler: WebTileLayerLayerviewDestroyEventHandler): IHandle; - } - - interface WebTileLayerConstructor { - new(properties?: WebTileLayerProperties): WebTileLayer; - - fromJSON(json: any): WebTileLayer; - } - - export const WebTileLayer: WebTileLayerConstructor; - - interface WebTileLayerProperties extends LayerProperties, TiledLayerProperties, ScaleRangeLayerProperties { - copyright?: string; - spatialReference?: SpatialReferenceProperties; - subDomains?: string[]; - tileServers?: string[]; - urlTemplate?: string; - } - - interface WMSLayer extends Layer, PortalLayer { - copyright: string; - customLayerParameters: any; - customParameters: any; - description: string; - featureInfoFormat: string; - featureInfoUrl: string; - fullExtents: Extent[]; - imageFormat: string; - imageMaxHeight: number; - imageMaxWidth: number; - imageTransparency: boolean; - spatialReference: SpatialReference; - spatialReferences: number[]; - sublayers: Collection; - version: string; - - fetchImage(extent: Extent, width: number, height: number, options?: WMSLayerFetchImageOptions): IPromise<any>; - findSublayerById(id: number): WMSSublayer; - - on(name: "layerview-create", eventHandler: WMSLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-create", modifiers: string[], eventHandler: WMSLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-destroy", eventHandler: WMSLayerLayerviewDestroyEventHandler): IHandle; - on(name: "layerview-destroy", modifiers: string[], eventHandler: WMSLayerLayerviewDestroyEventHandler): IHandle; - } - - interface WMSLayerConstructor { - new(properties?: WMSLayerProperties): WMSLayer; - - fromJSON(json: any): WMSLayer; - } - - export const WMSLayer: WMSLayerConstructor; - - interface WMSLayerProperties extends LayerProperties, PortalLayerProperties { - copyright?: string; - customLayerParameters?: any; - customParameters?: any; - description?: string; - featureInfoFormat?: string; - featureInfoUrl?: string; - fullExtents?: ExtentProperties[]; - imageFormat?: string; - imageMaxHeight?: number; - imageMaxWidth?: number; - imageTransparency?: boolean; - spatialReference?: SpatialReferenceProperties; - spatialReferences?: number[]; - sublayers?: Collection | any[]; - version?: string; - } - - interface WMTSLayer extends Layer, PortalLayer { - activeLayer: WMTSSublayer; - copyright: string; - customLayerParameters: any; - customParameters: any; - serviceMode: string; - sublayers: Collection; - url: string; - version: string; - - findSublayerById(id: string): WMTSSublayer; - - on(name: "layerview-create", eventHandler: WMTSLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-create", modifiers: string[], eventHandler: WMTSLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-destroy", eventHandler: WMTSLayerLayerviewDestroyEventHandler): IHandle; - on(name: "layerview-destroy", modifiers: string[], eventHandler: WMTSLayerLayerviewDestroyEventHandler): IHandle; - } - - interface WMTSLayerConstructor { - new(properties?: WMTSLayerProperties): WMTSLayer; - - fromJSON(json: any): WMTSLayer; - } - - export const WMTSLayer: WMTSLayerConstructor; - - interface WMTSLayerProperties extends LayerProperties, PortalLayerProperties { - activeLayer?: WMTSSublayerProperties; - copyright?: string; - customLayerParameters?: any; - customParameters?: any; - serviceMode?: string; - sublayers?: Collection | any[]; - url?: string; - version?: string; - } - - interface BaseDynamicLayer extends Layer { - addResolvingPromise(promiseToLoad: IPromise<any>): IPromise<any>; - fetchImage(extent: Extent, width: number, height: number, options?: BaseDynamicLayerFetchImageOptions): IPromise<any>; - getImageUrl(extent: Extent, width: number, height: number): IPromise<any> | string; - - on(name: "layerview-create", eventHandler: BaseDynamicLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-create", modifiers: string[], eventHandler: BaseDynamicLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-destroy", eventHandler: BaseDynamicLayerLayerviewDestroyEventHandler): IHandle; - on(name: "layerview-destroy", modifiers: string[], eventHandler: BaseDynamicLayerLayerviewDestroyEventHandler): IHandle; - } - - interface BaseDynamicLayerConstructor { - new(properties?: BaseDynamicLayerProperties): BaseDynamicLayer; - } - - export const BaseDynamicLayer: BaseDynamicLayerConstructor; - - interface BaseDynamicLayerProperties extends LayerProperties { - - } - - interface BaseTileLayer extends Layer { - spatialReference: SpatialReference; - tileInfo: TileInfo; - - addResolvingPromise(promiseToLoad: IPromise<any>): IPromise<any>; - fetchTile(level: number, row: number, column: number, options?: BaseTileLayerFetchTileOptions): IPromise<any>; - getTileBounds(level: number, row: number, column: number, out?: number[]): number[]; - getTileUrl(level: number, row: number, column: number): string | IPromise<any>; - - on(name: "layerview-create", eventHandler: BaseTileLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-create", modifiers: string[], eventHandler: BaseTileLayerLayerviewCreateEventHandler): IHandle; - on(name: "layerview-destroy", eventHandler: BaseTileLayerLayerviewDestroyEventHandler): IHandle; - on(name: "layerview-destroy", modifiers: string[], eventHandler: BaseTileLayerLayerviewDestroyEventHandler): IHandle; - } - - interface BaseTileLayerConstructor { - new(properties?: BaseTileLayerProperties): BaseTileLayer; - } - - export const BaseTileLayer: BaseTileLayerConstructor; - - interface BaseTileLayerProperties extends LayerProperties { - spatialReference?: SpatialReferenceProperties; - tileInfo?: TileInfoProperties; + export interface StreamLayerUpdateFilterFilterChanges { + geometry: Extent; + where: string; } interface CodedValueDomain extends Domain { @@ -4008,6 +2425,11 @@ declare namespace __esri { codedValues?: CodedValueDomainCodedValues[]; } + export interface CodedValueDomainCodedValues { + name: string; + code: string | number; + } + interface DimensionalDefinition { dimensionName: string; isSlice: boolean; @@ -4041,6 +2463,59 @@ declare namespace __esri { type?: string; } + interface FeatureTemplate extends Accessor, JSONSupport { + description: string; + drawingTool: string; + name: string; + prototype: any; + thumbnail: FeatureTemplateThumbnail; + } + + interface FeatureTemplateConstructor { + new(properties?: FeatureTemplateProperties): FeatureTemplate; + + fromJSON(json: any): FeatureTemplate; + } + + export const FeatureTemplate: FeatureTemplateConstructor; + + interface FeatureTemplateProperties { + description?: string; + drawingTool?: string; + name?: string; + prototype?: any; + thumbnail?: FeatureTemplateThumbnail; + } + + export interface FeatureTemplateThumbnail { + contentType: any; + imageData: string; + height: number; + width: number; + } + + interface FeatureType extends Accessor, JSONSupport { + domains: any; + id: number | string; + name: string; + templates: FeatureTemplate[]; + } + + interface FeatureTypeConstructor { + new(properties?: FeatureTypeProperties): FeatureType; + + fromJSON(json: any): FeatureType; + } + + export const FeatureType: FeatureTypeConstructor; + + interface FeatureTypeProperties { + domains?: any; + id?: number | string; + name?: string; + templates?: FeatureTemplateProperties[]; + } + interface Field extends Accessor, JSONSupport { alias: string; domain: Domain; @@ -4069,52 +2544,6 @@ declare namespace __esri { type?: string; } - interface FeatureTemplate extends Accessor, JSONSupport { - description: string; - drawingTool: string; - name: string; - prototype: any; - thumbnail: FeatureTemplateThumbnail; - } - - interface FeatureTemplateConstructor { - new(properties?: FeatureTemplateProperties): FeatureTemplate; - - fromJSON(json: any): FeatureTemplate; - } - - export const FeatureTemplate: FeatureTemplateConstructor; - - interface FeatureTemplateProperties { - description?: string; - drawingTool?: string; - name?: string; - prototype?: any; - thumbnail?: FeatureTemplateThumbnail; - } - - interface FeatureType extends Accessor, JSONSupport { - domains: any; - id: number | string; - name: string; - templates: FeatureTemplate[]; - } - - interface FeatureTypeConstructor { - new(properties?: FeatureTypeProperties): FeatureType; - - fromJSON(json: any): FeatureType; - } - - export const FeatureType: FeatureTypeConstructor; - - interface FeatureTypeProperties { - domains?: any; - id?: number | string; - name?: string; - templates?: FeatureTemplateProperties[]; - } - interface ImageParameters extends Accessor { dpi: number; extent: Extent; @@ -4164,6 +2593,56 @@ declare namespace __esri { } + interface KMLSublayer extends Accessor, JSONSupport { + description: string; + id: number; + layer: KMLLayer; + mapImages: Collection<any>; + networkLink: KMLSublayerNetworkLink; + points: Collection<Point>; + polygons: Collection<Polygon>; + polylines: Collection<Polyline>; + sublayers: Collection<KMLSublayer>; + title: string; + visible: boolean; + } + + interface KMLSublayerConstructor { + new(properties?: KMLSublayerProperties): KMLSublayer; + + fromJSON(json: any): KMLSublayer; + } + + export const KMLSublayer: KMLSublayerConstructor; + + interface KMLSublayerProperties { + description?: string; + id?: number; + layer?: KMLLayerProperties; + mapImages?: CollectionProperties<any>; + networkLink?: KMLSublayerNetworkLink; + points?: CollectionProperties<PointProperties>; + polygons?: CollectionProperties<PolygonProperties>; + polylines?: CollectionProperties<PolylineProperties>; + sublayers?: CollectionProperties<KMLSublayerProperties>; + title?: string; + visible?: boolean; + } + + export interface KMLSublayerNetworkLink { + id: number; + name: string; + description: string; + visibility: number; + refreshMode: string; + refreshInterval: number; + viewRefreshMode: string; + viewRefreshTime: number; + viewBoundScale: number; + viewFormat: string; + httpQuery: string; + } + interface LabelClass extends Accessor, JSONSupport { labelExpression: string; labelExpressionInfo: LabelClassLabelExpressionInfo; @@ -4174,7 +2653,7 @@ declare namespace __esri { useCodedValues: boolean; where: string; - clone(): this; + clone(): LabelClass; } interface LabelClassConstructor { @@ -4191,11 +2670,16 @@ declare namespace __esri { labelPlacement?: string; maxScale?: number; minScale?: number; - symbol?: TextSymbol | LabelSymbol3D; + symbol?: TextSymbolProperties | LabelSymbol3DProperties; useCodedValues?: boolean; where?: string; } + export interface LabelClassLabelExpressionInfo { + value?: string; + expression: string; + } + interface LOD extends Accessor, JSONSupport { level: number; levelValue: string; @@ -4221,7 +2705,7 @@ declare namespace __esri { interface MapImage extends Accessor, JSONSupport { extent: Extent; height: number; - href: number; + href: string; opacity: number; scale: number; visible: boolean; @@ -4239,7 +2723,7 @@ declare namespace __esri { interface MapImageProperties { extent?: ExtentProperties; height?: number; - href?: number; + href?: string; opacity?: number; scale?: number; visible?: boolean; @@ -4309,6 +2793,17 @@ declare namespace __esri { width?: number; } + export interface PixelBlockAddDataPlaneData { + pixels: number[][]; + statistics: any[]; + } + + export interface PixelBlockStatistics { + maxValue?: number; + minValue?: number; + noDataValue?: number; + } + interface RangeDomain extends Domain { maxValue: number; minValue: number; @@ -4361,15 +2856,15 @@ declare namespace __esri { opacity: number; popupTemplate: PopupTemplate; renderer: Renderer; - source: any | any; - sublayers: Collection; + source: DynamicMapLayer | DynamicDataLayer; + sublayers: Collection<Sublayer>; title: string; url: string; visible: boolean; - clone(): this; + clone(): Sublayer; createQuery(): Query; - queryFeatures(params?: Query): IPromise<any>; + queryFeatures(params?: Query): IPromise<FeatureSet>; } interface SublayerConstructor { @@ -4390,16 +2885,65 @@ declare namespace __esri { opacity?: number; popupTemplate?: PopupTemplateProperties; renderer?: RendererProperties; - source?: any | any; - sublayers?: Collection | any[]; + source?: DynamicMapLayer | DynamicDataLayer; + sublayers?: CollectionProperties<SublayerProperties>; title?: string; url?: string; visible?: boolean; } + export interface DynamicDataLayer { + type: string; + dataSource: TableDataSource | QueryTableDataSource | RasterDataSource | JoinTableDataSource; + fields: DynamicDataLayerFields[]; + } + + export interface DynamicMapLayer { + type: string; + mapLayerId: number; + gdbVersion: string; + } + + export interface JoinTableDataSource { + type: string; + leftTableKey: string; + rightTableKey: string; + leftTableSource: DynamicMapLayer | DynamicDataLayer; + rightTableSource: DynamicMapLayer | DynamicDataLayer; + joinType: string; + } + + export interface QueryTableDataSource { + type: string; + workspaceId: string; + query: string; + oidFields: string; + spatialReference: SpatialReference; + geometryType: string; + } + + export interface RasterDataSource { + type: string; + workspaceId: string; + dataSourceName: string; + } + + export interface TableDataSource { + type: string; + workspaceId: string; + dataSourceName: string; + gdbVersion: string; + } + + export interface DynamicDataLayerFields { + name: string; + alias: string; + } + interface TileInfo extends Accessor, JSONSupport { dpi: number; format: string; + isWrappable: boolean; lods: LOD[]; origin: Point; size: number[]; @@ -4417,6 +2961,7 @@ declare namespace __esri { interface TileInfoProperties { dpi?: number; format?: string; + isWrappable?: boolean; lods?: LODProperties[]; origin?: PointProperties; size?: number[]; @@ -4428,7 +2973,7 @@ declare namespace __esri { id: string; tileInfo: TileInfo; - clone(): this; + clone(): TileMatrixSet; } interface TileMatrixSetConstructor { @@ -4450,14 +2995,17 @@ declare namespace __esri { fullExtent: Extent; id: number; layer: WMSLayer; + legendEnabled: boolean; + legendUrl: string; name: string; popupEnabled: boolean; + queryable: boolean; spatialReferences: number[]; - sublayers: Collection; + sublayers: Collection<WMSSublayer>; title: string; visible: boolean; - clone(): this; + clone(): WMSSublayer; } interface WMSSublayerConstructor { @@ -4472,7 +3020,7 @@ declare namespace __esri { legendUrl: string; title: string; - clone(): this; + clone(): WMTSStyle; } interface WMTSStyleConstructor { @@ -4498,12 +3046,13 @@ declare namespace __esri { imageFormats: string[]; layer: WMTSLayer; styleId: string; - styles: Collection; + styles: Collection<WMTSStyle>; + tileMatrixSet: TileMatrixSet; tileMatrixSetId: string; - tileMatrixSets: Collection; + tileMatrixSets: Collection<TileMatrixSet>; title: string; - clone(): this; + clone(): WMTSSublayer; } interface WMTSSublayerConstructor { @@ -4522,12 +3071,446 @@ declare namespace __esri { imageFormats?: string[]; layer?: WMTSLayerProperties; styleId?: string; - styles?: Collection | any[]; + styles?: CollectionProperties<WMTSStyleProperties>; + tileMatrixSet?: TileMatrixSetProperties; tileMatrixSetId?: string; - tileMatrixSets?: Collection | any[]; + tileMatrixSets?: CollectionProperties<TileMatrixSetProperties>; title?: string; } + interface TiledLayer { + tileInfo: TileInfo; + } + + interface TiledLayerConstructor { + new(properties?: TiledLayerProperties): TiledLayer; + + fromJSON(json: any): TiledLayer; + } + + export const TiledLayer: TiledLayerConstructor; + + interface TiledLayerProperties { + tileInfo?: TileInfoProperties; + } + + interface TileLayer extends Layer, ArcGISMapService, ArcGISCachedService, ScaleRangeLayer, PortalLayer, TiledLayer { + attributionDataUrl: string; + hasAttributionData: boolean; + legendEnabled: boolean; + tileServers: string[]; + url: string; + + fetchTile(level: number, row: number, column: number, options?: TileLayerFetchTileOptions): IPromise<HTMLImageElement | HTMLCanvasElement>; + getTileUrl(level: number, row: number, col: number): string; + + on(name: "layerview-create", eventHandler: TileLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-create", modifiers: string[], eventHandler: TileLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-destroy", eventHandler: TileLayerLayerviewDestroyEventHandler): IHandle; + on(name: "layerview-destroy", modifiers: string[], eventHandler: TileLayerLayerviewDestroyEventHandler): IHandle; + } + + interface TileLayerConstructor { + new(properties?: TileLayerProperties): TileLayer; + + fromJSON(json: any): TileLayer; + } + + export const TileLayer: TileLayerConstructor; + + interface TileLayerProperties extends LayerProperties, ArcGISMapServiceProperties, ArcGISCachedServiceProperties, ScaleRangeLayerProperties, PortalLayerProperties, TiledLayerProperties { + attributionDataUrl?: string; + hasAttributionData?: boolean; + legendEnabled?: boolean; + tileServers?: string[]; + url?: string; + } + + export interface TileLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface TileLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + + export interface TileLayerFetchTileOptions { + allowImageDataAccess?: boolean; + } + + interface UnknownLayer extends Layer { + on(name: "layerview-create", eventHandler: UnknownLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-create", modifiers: string[], eventHandler: UnknownLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-destroy", eventHandler: UnknownLayerLayerviewDestroyEventHandler): IHandle; + on(name: "layerview-destroy", modifiers: string[], eventHandler: UnknownLayerLayerviewDestroyEventHandler): IHandle; + } + + interface UnknownLayerConstructor { + new(properties?: UnknownLayerProperties): UnknownLayer; + } + + export const UnknownLayer: UnknownLayerConstructor; + + interface UnknownLayerProperties extends LayerProperties { + + } + + export interface UnknownLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface UnknownLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + + interface UnsupportedLayer extends Layer { + on(name: "layerview-create", eventHandler: UnsupportedLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-create", modifiers: string[], eventHandler: UnsupportedLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-destroy", eventHandler: UnsupportedLayerLayerviewDestroyEventHandler): IHandle; + on(name: "layerview-destroy", modifiers: string[], eventHandler: UnsupportedLayerLayerviewDestroyEventHandler): IHandle; + } + + interface UnsupportedLayerConstructor { + new(properties?: UnsupportedLayerProperties): UnsupportedLayer; + } + + export const UnsupportedLayer: UnsupportedLayerConstructor; + + interface UnsupportedLayerProperties extends LayerProperties { + + } + + export interface UnsupportedLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface UnsupportedLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + + interface VectorTileLayer extends Layer, PortalLayer, ScaleRangeLayer, TiledLayer { + attributionDataUrl: string; + currentStyleInfo: VectorTileLayerCurrentStyleInfo; + spatialReference: SpatialReference; + token: string; + url: string | any; + + loadStyle(style: string | any): IPromise<any>; + + on(name: "layerview-create", eventHandler: VectorTileLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-create", modifiers: string[], eventHandler: VectorTileLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-destroy", eventHandler: VectorTileLayerLayerviewDestroyEventHandler): IHandle; + on(name: "layerview-destroy", modifiers: string[], eventHandler: VectorTileLayerLayerviewDestroyEventHandler): IHandle; + } + + interface VectorTileLayerConstructor { + new(properties?: VectorTileLayerProperties): VectorTileLayer; + + fromJSON(json: any): VectorTileLayer; + } + + export const VectorTileLayer: VectorTileLayerConstructor; + + interface VectorTileLayerProperties extends LayerProperties, PortalLayerProperties, ScaleRangeLayerProperties, TiledLayerProperties { + attributionDataUrl?: string; + currentStyleInfo?: VectorTileLayerCurrentStyleInfo; + spatialReference?: SpatialReferenceProperties; + token?: string; + url?: string | any; + } + + export interface VectorTileLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface VectorTileLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + + export interface VectorTileLayerCurrentStyleInfo { + serviceUrl: string; + styleUrl: string; + spriteUrl: string; + glyphsUrl: string; + style: any; + layerDefinition: any; + } + + interface WebTileLayer extends Layer, TiledLayer, ScaleRangeLayer { + copyright: string; + spatialReference: SpatialReference; + subDomains: string[]; + tileServers: string[]; + urlTemplate: string; + + on(name: "layerview-create", eventHandler: WebTileLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-create", modifiers: string[], eventHandler: WebTileLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-destroy", eventHandler: WebTileLayerLayerviewDestroyEventHandler): IHandle; + on(name: "layerview-destroy", modifiers: string[], eventHandler: WebTileLayerLayerviewDestroyEventHandler): IHandle; + } + + interface WebTileLayerConstructor { + new(properties?: WebTileLayerProperties): WebTileLayer; + + fromJSON(json: any): WebTileLayer; + } + + export const WebTileLayer: WebTileLayerConstructor; + + interface WebTileLayerProperties extends LayerProperties, TiledLayerProperties, ScaleRangeLayerProperties { + copyright?: string; + spatialReference?: SpatialReferenceProperties; + subDomains?: string[]; + tileServers?: string[]; + urlTemplate?: string; + } + + export interface WebTileLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface WebTileLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + + interface WMSLayer extends Layer, PortalLayer, ScaleRangeLayer { + copyright: string; + customLayerParameters: any; + customParameters: any; + description: string; + featureInfoFormat: string; + featureInfoUrl: string; + fullExtents: Extent[]; + imageFormat: string; + imageMaxHeight: number; + imageMaxWidth: number; + imageTransparency: boolean; + legendEnabled: boolean; + spatialReference: SpatialReference; + spatialReferences: number[]; + sublayers: Collection<WMSSublayer>; + url: string; + version: string; + + fetchImage(extent: Extent, width: number, height: number, options?: WMSLayerFetchImageOptions): IPromise<any>; + findSublayerById(id: number): WMSSublayer; + + on(name: "layerview-create", eventHandler: WMSLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-create", modifiers: string[], eventHandler: WMSLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-destroy", eventHandler: WMSLayerLayerviewDestroyEventHandler): IHandle; + on(name: "layerview-destroy", modifiers: string[], eventHandler: WMSLayerLayerviewDestroyEventHandler): IHandle; + } + + interface WMSLayerConstructor { + new(properties?: WMSLayerProperties): WMSLayer; + + fromJSON(json: any): WMSLayer; + } + + export const WMSLayer: WMSLayerConstructor; + + interface WMSLayerProperties extends LayerProperties, PortalLayerProperties, ScaleRangeLayerProperties { + copyright?: string; + customLayerParameters?: any; + customParameters?: any; + description?: string; + featureInfoFormat?: string; + featureInfoUrl?: string; + fullExtents?: ExtentProperties[]; + imageFormat?: string; + imageMaxHeight?: number; + imageMaxWidth?: number; + imageTransparency?: boolean; + legendEnabled?: boolean; + spatialReference?: SpatialReferenceProperties; + spatialReferences?: number[]; + sublayers?: CollectionProperties<WMSSublayer>; + url?: string; + version?: string; + } + + export interface WMSLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface WMSLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + + export interface WMSLayerFetchImageOptions { + allowImageDataAccess?: boolean; + pixelRatio?: number; + rotation?: number; + } + + interface WMTSLayer extends Layer, PortalLayer, ScaleRangeLayer { + activeLayer: WMTSSublayer; + copyright: string; + customLayerParameters: any; + customParameters: any; + serviceMode: string; + sublayers: Collection<WMTSSublayer>; + url: string; + version: string; + + findSublayerById(id: string): WMTSSublayer; + + on(name: "layerview-create", eventHandler: WMTSLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-create", modifiers: string[], eventHandler: WMTSLayerLayerviewCreateEventHandler): IHandle; + on(name: "layerview-destroy", eventHandler: WMTSLayerLayerviewDestroyEventHandler): IHandle; + on(name: "layerview-destroy", modifiers: string[], eventHandler: WMTSLayerLayerviewDestroyEventHandler): IHandle; + } + + interface WMTSLayerConstructor { + new(properties?: WMTSLayerProperties): WMTSLayer; + + fromJSON(json: any): WMTSLayer; + } + + export const WMTSLayer: WMTSLayerConstructor; + + interface WMTSLayerProperties extends LayerProperties, PortalLayerProperties, ScaleRangeLayerProperties { + activeLayer?: WMTSSublayerProperties; + copyright?: string; + customLayerParameters?: any; + customParameters?: any; + serviceMode?: string; + sublayers?: CollectionProperties<WMTSSublayerProperties>; + url?: string; + version?: string; + } + + export interface WMTSLayerLayerviewCreateEvent { + layerView: LayerView; + view: View; + } + + export interface WMTSLayerLayerviewDestroyEvent { + layerView: LayerView; + view: View; + } + + interface Map extends Accessor, LayersMixin { + allLayers: Collection<Layer>; + basemap: Basemap; + ground: Ground; + } + + interface MapConstructor { + new(properties?: MapProperties): Map; + } + + export const Map: MapConstructor; + + interface MapProperties extends LayersMixinProperties { + allLayers?: CollectionProperties<LayerProperties>; + basemap?: BasemapProperties; + ground?: GroundProperties; + } + + interface PopupTemplate extends Accessor, JSONSupport { + actions: Collection<Collection<Action>>; + content: string | any[] | Function | IPromise<any>; + expressionInfos: PopupTemplateExpressionInfos[]; + fieldInfos: PopupTemplateFieldInfos[]; + layerOptions: PopupTemplateLayerOptions; + overwriteActions: boolean; + title: string | Function; + + clone(): PopupTemplate; + } + + interface PopupTemplateConstructor { + new(properties?: PopupTemplateProperties): PopupTemplate; + + fromJSON(json: any): PopupTemplate; + } + + export const PopupTemplate: PopupTemplateConstructor; + + interface PopupTemplateProperties { + actions?: CollectionProperties<CollectionProperties<ActionProperties>>; + content?: string | any[] | Function | IPromise<any>; + expressionInfos?: PopupTemplateExpressionInfos[]; + fieldInfos?: PopupTemplateFieldInfos[]; + layerOptions?: PopupTemplateLayerOptions; + overwriteActions?: boolean; + title?: string | Function; + } + + export interface Attachments { + type: string; + } + + export interface Fields { + type: string; + fieldInfos: any[]; + } + + export interface Media { + type: string; + mediaInfos: MediaMediaInfos[]; + } + + export interface PopupTemplateExpressionInfos { + name: string; + title?: string; + expression: string; + returnType?: string; + } + + export interface PopupTemplateFieldInfos { + fieldName: string; + format?: PopupTemplateFieldInfosFormat; + label?: string; + stringFieldOption?: string; + tooltip?: string; + visible?: boolean; + } + + export interface PopupTemplateFieldInfosFormat { + dateFormat?: string; + digitSeparator?: boolean; + places?: number; + } + + export interface PopupTemplateLayerOptions { + showNoDataRecords: boolean; + } + + export interface Text { + type: string; + text: string; + } + + export interface MediaMediaInfos { + title: string; + caption: string; + refreshInterval: number; + type: string; + value: MediaMediaInfosValue; + } + + export interface MediaMediaInfosValue { + sourceURL: string; + fields: string[]; + normalizationField: string; + theme: string; + tooltipField: string; + } + interface Portal extends Accessor, Loadable { access: string; allSSL: boolean; @@ -4589,11 +3572,11 @@ declare namespace __esri { useVectorBasemaps: boolean; vectorBasemapGalleryGroupQuery: string; - fetchBasemaps(): IPromise<any>; - fetchFeaturedGroups(): IPromise<any>; - queryGroups(queryParams: PortalQueryParams): IPromise<any>; - queryItems(queryParams: PortalQueryParams): IPromise<any>; - queryUsers(queryParams: PortalQueryParams): IPromise<any>; + fetchBasemaps(basemapGalleryGroupQuery?: string): IPromise<Basemap[]>; + fetchFeaturedGroups(): IPromise<PortalGroup[]>; + queryGroups(queryParams: PortalQueryParams): IPromise<PortalQueryResult>; + queryItems(queryParams: PortalQueryParams): IPromise<PortalQueryResult>; + queryUsers(queryParams: PortalQueryParams): IPromise<PortalQueryResult>; } interface PortalConstructor { @@ -4623,7 +3606,7 @@ declare namespace __esri { canSignInIDP?: boolean; colorSetsGroupQuery?: string; commentsEnabled?: boolean; - created?: Date; + created?: DateProperties; culture?: string; customBaseUrl?: string; defaultBasemap?: BasemapProperties; @@ -4645,7 +3628,7 @@ declare namespace __esri { layerTemplatesGroupQuery?: string; loaded?: boolean; maxTokenExpirationMinutes?: number; - modified?: Date; + modified?: DateProperties; name?: string; portalHostname?: string; portalMode?: string; @@ -4667,6 +3650,11 @@ declare namespace __esri { vectorBasemapGalleryGroupQuery?: string; } + export interface PortalFeaturedGroups { + owner: string; + title: string; + } + interface PortalFolder extends Accessor { created: Date; id: string; @@ -4682,7 +3670,7 @@ declare namespace __esri { export const PortalFolder: PortalFolderConstructor; interface PortalFolderProperties { - created?: Date; + created?: DateProperties; id?: string; portal?: PortalProperties; title?: string; @@ -4706,7 +3694,7 @@ declare namespace __esri { fetchMembers(): IPromise<any>; getThumbnailUrl(width?: number): string; - queryItems(queryParams?: PortalQueryParams): IPromise<any>; + queryItems(queryParams?: PortalQueryParams): IPromise<PortalQueryResult>; } interface PortalGroupConstructor { @@ -4717,11 +3705,11 @@ declare namespace __esri { interface PortalGroupProperties { access?: string; - created?: Date; + created?: DateProperties; description?: string; id?: string; isInvitationOnly?: boolean; - modified?: Date; + modified?: DateProperties; owner?: string; portal?: PortalProperties; snippet?: string; @@ -4761,13 +3749,14 @@ declare namespace __esri { typeKeywords: string[]; url: string; - addRating(rating: number | PortalRating): IPromise<any>; + addRating(rating: number | PortalRating): IPromise<PortalRating>; deleteRating(): IPromise<any>; fetchData(responseType?: string): IPromise<any>; - fetchRating(): IPromise<any>; - fetchRelatedItems(params: PortalItemFetchRelatedItemsParams): IPromise<any>; + fetchRating(): IPromise<PortalRating>; + fetchRelatedItems(params: PortalItemFetchRelatedItemsParams): IPromise<PortalItem[]>; getThumbnailUrl(width?: number): string; - update(params?: PortalItemUpdateParams): IPromise<any>; + update(params?: PortalItemUpdateParams): IPromise<PortalItem>; + updateThumbnail(params: PortalItemUpdateThumbnailParams): IPromise<PortalItem>; } interface PortalItemConstructor { @@ -4782,7 +3771,7 @@ declare namespace __esri { access?: string; accessInformation?: string; avgRating?: number; - created?: Date; + created?: DateProperties; culture?: string; description?: string; extent?: ExtentProperties; @@ -4792,7 +3781,7 @@ declare namespace __esri { itemUrl?: string; licenseInfo?: string; loaded?: boolean; - modified?: Date; + modified?: DateProperties; name?: string; numComments?: number; numRatings?: number; @@ -4809,20 +3798,17 @@ declare namespace __esri { url?: string; } - interface PortalRating extends Accessor { - created: Date; - rating: number; + export interface PortalItemFetchRelatedItemsParams { + relationshipType: string; + direction?: string; } - interface PortalRatingConstructor { - new(properties?: PortalRatingProperties): PortalRating; + export interface PortalItemUpdateParams { + data: string | any; } - export const PortalRating: PortalRatingConstructor; - - interface PortalRatingProperties { - created?: Date; - rating?: number; + export interface PortalItemUpdateThumbnailParams { + thumbnail: Blob | string; } interface PortalQueryParams extends Accessor { @@ -4833,7 +3819,7 @@ declare namespace __esri { sortOrder: string; start: number; - clone(): this; + clone(): PortalQueryParams; } interface PortalQueryParamsConstructor { @@ -4871,6 +3857,22 @@ declare namespace __esri { total?: number; } + interface PortalRating extends Accessor { + created: Date; + rating: number; + } + + interface PortalRatingConstructor { + new(properties?: PortalRatingProperties): PortalRating; + } + + export const PortalRating: PortalRatingConstructor; + + interface PortalRatingProperties { + created?: DateProperties; + rating?: number; + } + interface PortalUser extends Accessor { access: string; created: Date; @@ -4890,13 +3892,13 @@ declare namespace __esri { userContentUrl: string; username: string; - addItem(params: PortalUserAddItemParams): IPromise<any>; + addItem(params: PortalUserAddItemParams): IPromise<PortalItem>; deleteItem(item: PortalItem): IPromise<any>; - fetchFolders(): IPromise<any>; - fetchGroups(): IPromise<any>; + fetchFolders(): IPromise<PortalFolder[]>; + fetchGroups(): IPromise<PortalGroup[]>; fetchItems(params: PortalUserFetchItemsParams): IPromise<any>; getThumbnailUrl(width?: number): string; - queryFavorites(queryParams?: PortalQueryParams): IPromise<any>; + queryFavorites(queryParams?: PortalQueryParams): IPromise<PortalQueryResult>; } interface PortalUserConstructor { @@ -4907,12 +3909,12 @@ declare namespace __esri { interface PortalUserProperties { access?: string; - created?: Date; + created?: DateProperties; culture?: string; description?: string; email?: string; fullName?: string; - modified?: Date; + modified?: DateProperties; orgId?: string; portal?: PortalProperties; preferredView?: string; @@ -4925,11 +3927,23 @@ declare namespace __esri { username?: string; } + export interface PortalUserAddItemParams { + item: PortalItem; + data?: string | any; + folder?: PortalFolder; + } + + export interface PortalUserFetchItemsParams { + folder: PortalFolder; + num: number; + start: number; + } + interface ClassBreaksRenderer extends Renderer, VisualVariablesMixin { backgroundFillSymbol: FillSymbol; classBreakInfos: ClassBreaksRendererClassBreakInfos[]; defaultSymbol: Symbol; - field: string; + field: string | Function; isMaxInclusive: boolean; legendOptions: ClassBreaksRendererLegendOptions; normalizationField: string; @@ -4940,7 +3954,7 @@ declare namespace __esri { valueExpressionTitle: string; addClassBreakInfo(min: number | any, max: number, symbol: Symbol): void; - clone(): this; + clone(): ClassBreaksRenderer; getClassBreakInfo(graphic: Graphic): any; removeClassBreakInfo(min: number, max: number): void; } @@ -4968,8 +3982,166 @@ declare namespace __esri { valueExpressionTitle?: string; } + export interface ClassBreaksRendererClassBreakInfos { + minValue: number; + maxValue: number; + symbol: Symbol; + label?: string; + } + + export interface ClassBreaksRendererLegendOptions { + title: string; + } + + interface PointCloudClassBreaksRenderer extends PointCloudRenderer { + colorClassBreakInfos: PointCloudClassBreaksRendererColorClassBreakInfos[]; + field: string; + fieldTransformType: string; + type: string; + + clone(): PointCloudClassBreaksRenderer; + } + + interface PointCloudClassBreaksRendererConstructor { + new(properties?: PointCloudClassBreaksRendererProperties): PointCloudClassBreaksRenderer; + + fromJSON(json: any): PointCloudClassBreaksRenderer; + } + + export const PointCloudClassBreaksRenderer: PointCloudClassBreaksRendererConstructor; + + interface PointCloudClassBreaksRendererProperties extends PointCloudRendererProperties { + colorClassBreakInfos?: PointCloudClassBreaksRendererColorClassBreakInfos[]; + field?: string; + fieldTransformType?: string; + type?: string; + } + + export interface PointCloudClassBreaksRendererColorClassBreakInfos { + minValue: number; + maxValue: number; + color: Color; + label?: string; + } + + interface PointCloudRenderer extends Accessor, JSONSupport { + colorModulation: PointCloudRendererColorModulation; + pointSizeAlgorithm: PointCloudRendererPointSizeAlgorithm; + pointsPerInch: number; + + clone(): PointCloudRenderer; + } + + interface PointCloudRendererConstructor { + new(properties?: PointCloudRendererProperties): PointCloudRenderer; + + fromJSON(json: any): PointCloudRenderer; + } + + export const PointCloudRenderer: PointCloudRendererConstructor; + + interface PointCloudRendererProperties { + colorModulation?: PointCloudRendererColorModulation; + pointSizeAlgorithm?: PointCloudRendererPointSizeAlgorithm; + pointsPerInch?: number; + } + + export interface PointCloudRendererColorModulation { + field: string; + minValue?: number; + maxValue?: number; + } + + export interface PointCloudRendererPointSizeAlgorithm { + type: string; + useRealWorldSymbolSizes?: boolean; + size?: number; + scaleFactor?: number; + minSize?: number; + } + + interface PointCloudRGBRenderer extends PointCloudRenderer { + field: string; + type: string; + + clone(): PointCloudRGBRenderer; + } + + interface PointCloudRGBRendererConstructor { + new(properties?: PointCloudRGBRendererProperties): PointCloudRGBRenderer; + + fromJSON(json: any): PointCloudRGBRenderer; + } + + export const PointCloudRGBRenderer: PointCloudRGBRendererConstructor; + + interface PointCloudRGBRendererProperties extends PointCloudRendererProperties { + field?: string; + type?: string; + } + + interface PointCloudStretchRenderer extends PointCloudRenderer { + field: string; + fieldTransformType: string; + stops: PointCloudStretchRendererStops[]; + type: string; + + clone(): PointCloudStretchRenderer; + } + + interface PointCloudStretchRendererConstructor { + new(properties?: PointCloudStretchRendererProperties): PointCloudStretchRenderer; + + fromJSON(json: any): PointCloudStretchRenderer; + } + + export const PointCloudStretchRenderer: PointCloudStretchRendererConstructor; + + interface PointCloudStretchRendererProperties extends PointCloudRendererProperties { + field?: string; + fieldTransformType?: string; + stops?: PointCloudStretchRendererStops[]; + type?: string; + } + + export interface PointCloudStretchRendererStops { + value: number; + label?: string; + color: Color; + } + + interface PointCloudUniqueValueRenderer extends PointCloudRenderer { + colorUniqueValueInfos: PointCloudUniqueValueRendererColorUniqueValueInfos[]; + field: string; + fieldTransformType: string; + type: string; + + clone(): PointCloudUniqueValueRenderer; + } + + interface PointCloudUniqueValueRendererConstructor { + new(properties?: PointCloudUniqueValueRendererProperties): PointCloudUniqueValueRenderer; + + fromJSON(json: any): PointCloudUniqueValueRenderer; + } + + export const PointCloudUniqueValueRenderer: PointCloudUniqueValueRendererConstructor; + + interface PointCloudUniqueValueRendererProperties extends PointCloudRendererProperties { + colorUniqueValueInfos?: PointCloudUniqueValueRendererColorUniqueValueInfos[]; + field?: string; + fieldTransformType?: string; + type?: string; + } + + export interface PointCloudUniqueValueRendererColorUniqueValueInfos { + values: number[]; + color: Color; + label?: string; + } + interface Renderer extends Accessor, JSONSupport { - authoringInfo: any; + authoringInfo: AuthoringInfo; } interface RendererConstructor { @@ -4981,7 +4153,107 @@ declare namespace __esri { export const Renderer: RendererConstructor; interface RendererProperties { - authoringInfo?: any; + authoringInfo?: AuthoringInfo; + } + + export interface AuthoringInfo { + type: string; + fields: string[]; + classificationMethod: string; + standardDeviationInterval: number; + visualVariables: AuthoringInfoVisualVariables[]; + } + + export interface ColorVisualVariable { + type: string; + field: string | Function; + normalizationField: string; + valueExpression: string; + valueExpressionTitle: string; + legendOptions: ColorVisualVariableLegendOptions; + stops: ColorVisualVariableStops[]; + } + + export interface OpacityVisualVariable { + type: string; + field: string | Function; + normalizationField: string; + valueExpression: string; + valueExpressionTitle: string; + legendOptions: OpacityVisualVariableLegendOptions; + stops: OpacityVisualVariableStops[]; + } + + export interface RotationVisualVariable { + type: string; + field: string | Function; + valueExpression: string; + axis: string; + rotationType: string; + } + + export interface SizeVisualVariable { + maxDataValue: number; + type: string; + normalizationField: string; + valueExpression: string; + valueExpressionTitle: string; + legendOptions: SizeVisualVariableLegendOptions; + axis: string; + expression: string; + field: string | Function; + minDataValue: number; + maxSize: string | number | SizeVisualVariable; + minSize: string | number | SizeVisualVariable; + stops: SizeVisualVariableStops[]; + valueUnit: string; + valueRepresentation: string; + useSymbolValue: boolean; + } + + export interface AuthoringInfoVisualVariables { + type: string; + field: string; + minSliderValue: number; + maxSliderValue: number; + theme: string; + style: string; + units: string; + startTime: string | number; + endTime: string | number; + } + + export interface ColorVisualVariableLegendOptions { + title: string; + showLegend: boolean; + } + + export interface ColorVisualVariableStops { + value: number; + color: Color; + label: string; + } + + export interface OpacityVisualVariableLegendOptions { + title: string; + showLegend: boolean; + } + + export interface OpacityVisualVariableStops { + value: number; + opacity: number; + label: string; + } + + export interface SizeVisualVariableLegendOptions { + title: string; + showLegend: boolean; + } + + export interface SizeVisualVariableStops { + value: number; + size: string | number | any; + label: string; } interface SimpleRenderer extends Renderer, VisualVariablesMixin { @@ -4989,7 +4261,7 @@ declare namespace __esri { symbol: Symbol; type: string; - clone(): this; + clone(): SimpleRenderer; } interface SimpleRendererConstructor { @@ -5006,10 +4278,666 @@ declare namespace __esri { type?: string; } + interface color { + createContinuousRenderer(params: colorCreateContinuousRendererParams): IPromise<ContinuousRendererResult>; + createPCContinuousRenderer(params: colorCreatePCContinuousRendererParams): IPromise<PCContinuousRendererResult>; + createPCTrueColorRenderer(params: colorCreatePCTrueColorRendererParams): IPromise<PCTrueColorRendererResult>; + createVisualVariable(params: colorCreateVisualVariableParams): IPromise<VisualVariableResult>; + } + + export const color: color; + + export interface colorCreateContinuousRendererParams { + layer: FeatureLayer | SceneLayer; + field: string; + normalizationField?: string; + basemap?: string | Basemap; + theme?: string; + colorScheme?: ColorScheme; + legendOptions?: colorCreateContinuousRendererParamsLegendOptions; + statistics?: SummaryStatisticsResult; + minValue?: number; + maxValue?: number; + defaultSymbolEnabled?: boolean; + view?: SceneView; + symbolType?: string; + colorMixMode?: string; + } + + export interface colorCreateContinuousRendererParamsLegendOptions { + title: string; + } + + export interface colorCreatePCContinuousRendererParams { + layer: PointCloudLayer; + field: string; + basemap?: string | Basemap; + size?: string; + density?: number; + colorScheme?: ColorScheme; + statistics?: SummaryStatisticsResult; + } + + export interface colorCreatePCTrueColorRendererParams { + layer: PointCloudLayer; + size?: string; + density?: number; + } + + export interface colorCreateVisualVariableParams { + layer: FeatureLayer | SceneLayer; + field: string; + normalizationField?: string; + basemap?: string | Basemap; + theme?: string; + colorScheme?: ColorScheme; + legendOptions?: colorCreateVisualVariableParamsLegendOptions; + statistics?: SummaryStatisticsResult; + minValue?: number; + maxValue?: number; + view?: SceneView; + worldScale?: boolean; + } + + export interface colorCreateVisualVariableParamsLegendOptions { + title: string; + } + + export interface ContinuousRendererResult { + renderer: ClassBreaksRenderer; + visualVariable: ColorVisualVariable; + colorScheme: ColorScheme; + defaultValuesUsed: boolean; + statistics: SummaryStatisticsResult; + basemapId: string; + } + + export interface PCContinuousRendererResult { + renderer: PointCloudStretchRenderer; + colorScheme: ColorScheme; + defaultValuesUsed: boolean; + statistics: SummaryStatisticsResult; + basemapId: string; + } + + export interface PCTrueColorRendererResult { + renderer: PointCloudRGBRenderer; + } + + export interface VisualVariableResult { + visualVariable: ColorVisualVariable; + colorScheme: ColorScheme; + statistics: SummaryStatisticsResult; + defaultValuesUsed: boolean; + basemapId: string; + authoringInfo: AuthoringInfo; + } + + interface location { + createRenderer(params: locationCreateRendererParams): IPromise<RendererResult>; + } + + export const location: location; + + export interface locationCreateRendererParams { + layer: FeatureLayer | SceneLayer; + basemap?: string | Basemap; + locationScheme?: PointLocationScheme | PolylineLocationScheme | PolygonLocationScheme; + view?: SceneView; + symbolType?: string; + colorMixMode?: string; + } + + export interface RendererResult { + renderer: SimpleRenderer; + locationScheme: PointLocationScheme | PolylineLocationScheme | PolygonLocationScheme; + basemapId: string; + } + + interface size { + createContinuousRenderer(params: sizeCreateContinuousRendererParams): IPromise<sizeContinuousRendererResult>; + createVisualVariables(params: sizeCreateVisualVariablesParams): IPromise<sizeVisualVariableResult>; + } + + export const size: size; + + export interface sizeContinuousRendererResult { + renderer: ClassBreaksRenderer; + visualVariables: SizeVisualVariable[]; + sizeScheme: PointSizeScheme | PolylineSizeScheme | PolygonSizeScheme; + defaultValuesUsed: boolean; + statistics: SummaryStatisticsResult; + basemapId: string; + } + + export interface sizeCreateContinuousRendererParams { + layer: FeatureLayer | SceneLayer; + field: string; + normalizationField?: string; + basemap?: string | Basemap; + sizeScheme?: PointSizeScheme | PolylineSizeScheme | PolygonSizeScheme; + legendOptions?: sizeCreateContinuousRendererParamsLegendOptions; + statistics?: SummaryStatisticsResult; + minValue?: number; + maxValue?: number; + defaultSymbolEnabled?: boolean; + view?: SceneView; + symbolType?: string; + } + + export interface sizeCreateContinuousRendererParamsLegendOptions { + title: string; + } + + export interface sizeCreateVisualVariablesParams { + layer: FeatureLayer | SceneLayer; + field: string; + normalizationField?: string; + basemap?: string | Basemap; + sizeScheme?: PointSizeScheme | PolylineSizeScheme | PolygonSizeScheme; + legendOptions?: sizeCreateVisualVariablesParamsLegendOptions; + statistics?: SummaryStatisticsResult; + minValue?: number; + maxValue?: number; + view?: SceneView; + worldScale?: boolean; + axis?: boolean; + } + + export interface sizeCreateVisualVariablesParamsLegendOptions { + title: string; + } + + export interface sizeVisualVariableResult { + visualVariables: SizeVisualVariable[]; + sizeScheme: PointSizeScheme | PolylineSizeScheme | PolygonSizeScheme; + defaultValuesUsed: boolean; + statistics: SummaryStatisticsResult; + basemapId: string; + authoringInfo: AuthoringInfo; + } + + interface type { + createPCClassRenderer(params: typeCreatePCClassRendererParams): IPromise<PCClassRendererResult>; + createRenderer(params: typeCreateRendererParams): IPromise<typeRendererResult>; + } + + export const type: type; + + export interface PCClassRendererResult { + renderer: PointCloudUniqueValueRenderer; + } + + export interface typeRendererResult { + renderer: UniqueValueRenderer; + uniqueValueInfos: RendererResultUniqueValueInfos[]; + excludedUniqueValueInfos: any[]; + typeScheme: PointTypeScheme | PolylineTypeScheme | PolygonTypeScheme | MeshTypeScheme; + basemapId: string; + } + + export interface typeCreatePCClassRendererParams { + layer: PointCloudLayer; + field: string; + size?: string; + density?: number; + typeScheme?: PointTypeScheme; + statistics?: UniqueValuesResult; + } + + export interface typeCreateRendererParams { + layer: FeatureLayer | SceneLayer; + field: string; + basemap?: string | Basemap; + numTypes?: number; + sortBy?: string; + typeScheme?: PointTypeScheme | PolylineTypeScheme | PolygonTypeScheme | MeshTypeScheme; + legendOptions?: typeCreateRendererParamsLegendOptions; + defaultSymbolEnabled?: boolean; + view?: SceneView; + symbolType?: string; + statistics?: UniqueValuesResult; + colorMixMode?: string; + } + + export interface typeCreateRendererParamsLegendOptions { + title: string; + } + + export interface RendererResultUniqueValueInfos { + value: string | number; + count: number; + label: string; + symbol: Symbol; + } + + interface univariateColorSize { + createContinuousRenderer(params: univariateColorSizeCreateContinuousRendererParams): IPromise<univariateColorSizeContinuousRendererResult>; + createVisualVariables(params: univariateColorSizeCreateVisualVariablesParams): IPromise<VisualVariablesResult>; + } + + export const univariateColorSize: univariateColorSize; + + export interface univariateColorSizeContinuousRendererResult { + renderer: ClassBreaksRenderer; + color: ContinuousRendererResultColor; + size: ContinuousRendererResultSize; + defaultValuesUsed: boolean; + statistics: SummaryStatisticsResult; + basemapId: string; + } + + export interface univariateColorSizeCreateContinuousRendererParams { + layer: FeatureLayer | SceneLayer; + basemap?: string | Basemap; + field: string; + normalizationField?: string; + statistics?: SummaryStatisticsResult; + minValue?: number; + maxValue?: number; + defaultSymbolEnabled?: boolean; + colorOptions?: univariateColorSizeCreateContinuousRendererParamsColorOptions; + sizeOptions?: univariateColorSizeCreateContinuousRendererParamsSizeOptions; + view?: SceneView; + symbolType?: string; + } + + export interface univariateColorSizeCreateContinuousRendererParamsColorOptions { + theme?: string; + colorScheme?: ColorScheme; + legendOptions?: univariateColorSizeCreateContinuousRendererParamsColorOptionsLegendOptions; + } + + export interface univariateColorSizeCreateContinuousRendererParamsColorOptionsLegendOptions { + title: string; + } + + export interface univariateColorSizeCreateContinuousRendererParamsSizeOptions { + sizeScheme?: PointSizeScheme | PolylineSizeScheme | PolygonSizeScheme; + legendOptions?: univariateColorSizeCreateContinuousRendererParamsSizeOptionsLegendOptions; + } + + export interface univariateColorSizeCreateContinuousRendererParamsSizeOptionsLegendOptions { + title: string; + } + + export interface univariateColorSizeCreateVisualVariablesParams { + layer: FeatureLayer | SceneLayer; + basemap?: string | Basemap; + field: string; + normalizationField?: string; + statistics?: SummaryStatisticsResult; + minValue?: number; + maxValue?: number; + colorOptions?: univariateColorSizeCreateVisualVariablesParamsColorOptions; + sizeOptions?: univariateColorSizeCreateVisualVariablesParamsSizeOptions; + view?: SceneView; + worldScale?: boolean; + } + + export interface univariateColorSizeCreateVisualVariablesParamsColorOptions { + theme?: string; + colorScheme?: ColorScheme; + legendOptions?: univariateColorSizeCreateVisualVariablesParamsColorOptionsLegendOptions; + } + + export interface univariateColorSizeCreateVisualVariablesParamsColorOptionsLegendOptions { + title: string; + } + + export interface univariateColorSizeCreateVisualVariablesParamsSizeOptions { + axis?: boolean; + sizeScheme?: PointSizeScheme | PolylineSizeScheme | PolygonSizeScheme; + legendOptions?: univariateColorSizeCreateVisualVariablesParamsSizeOptionsLegendOptions; + } + + export interface univariateColorSizeCreateVisualVariablesParamsSizeOptionsLegendOptions { + title: string; + } + + export interface VisualVariablesResult { + color: VisualVariablesResultColor; + size: VisualVariablesResultSize; + defaultValuesUsed: boolean; + statistics: SummaryStatisticsResult; + basemapId: string; + authoringInfo: AuthoringInfo; + } + + export interface ContinuousRendererResultColor { + visualVariable: ColorVisualVariable; + colorScheme: ColorScheme; + } + + export interface ContinuousRendererResultSize { + visualVariables: SizeVisualVariable[]; + sizeScheme: PointSizeScheme | PolylineSizeScheme | PolygonSizeScheme; + } + + export interface VisualVariablesResultColor { + visualVariable: ColorVisualVariable; + colorScheme: ColorScheme; + } + + export interface VisualVariablesResultSize { + visualVariables: SizeVisualVariable[]; + sizeScheme: PointSizeScheme | PolylineSizeScheme | PolygonSizeScheme; + } + + interface classBreaks { + classBreaks(params: classBreaksClassBreaksParams): IPromise<ClassBreaksResult>; + } + + const __classBreaksMapped: classBreaks; + export const classBreaks: typeof __classBreaksMapped.classBreaks; + + + export interface classBreaksClassBreaksParams { + layer: FeatureLayer | SceneLayer; + field?: string; + normalizationField?: string; + classificationMethod?: string; + standardDeviationInterval?: number; + minValue?: number; + maxValue?: number; + numClasses?: number; + } + + export interface ClassBreaksResult { + classBreaksInfos: ClassBreaksResultClassBreaksInfos[]; + minValue: number; + maxValue: number; + } + + export interface ClassBreaksResultClassBreaksInfos { + label: string; + minValue: number; + maxValue: number; + } + + interface histogram { + histogram(params: histogramHistogramParams): IPromise<HistogramResult>; + } + + const __histogramMapped: histogram; + export const histogram: typeof __histogramMapped.histogram; + + + export interface histogramHistogramParams { + layer: FeatureLayer | SceneLayer | PointCloudLayer; + field?: string; + normalizationField?: string; + classificationMethod?: string; + standardDeviationInterval?: number; + minValue?: number; + maxValue?: number; + numBins?: number; + } + + export interface HistogramResult { + bins: HistogramResultBins[]; + minValue: number; + maxValue: number; + } + + export interface HistogramResultBins { + count: number; + minValue: number; + maxValue: number; + } + + interface summaryStatistics { + summaryStatistics(params: summaryStatisticsSummaryStatisticsParams): IPromise<SummaryStatisticsResult>; + } + + const __summaryStatisticsMapped: summaryStatistics; + export const summaryStatistics: typeof __summaryStatisticsMapped.summaryStatistics; + + + export interface SummaryStatisticsResult { + avg: number; + count: number; + max: number; + min: number; + stddev: number; + sum: number; + variance: number; + } + + export interface summaryStatisticsSummaryStatisticsParams { + layer: FeatureLayer | SceneLayer | PointCloudLayer; + field?: string; + normalizationField?: string; + features?: Graphic[]; + minValue?: number; + maxValue?: number; + } + + interface uniqueValues { + uniqueValues(params: uniqueValuesUniqueValuesParams): IPromise<UniqueValuesResult>; + } + + const __uniqueValuesMapped: uniqueValues; + export const uniqueValues: typeof __uniqueValuesMapped.uniqueValues; + + + export interface UniqueValuesResult { + uniqueValueInfos: UniqueValuesResultUniqueValueInfos[]; + } + + export interface uniqueValuesUniqueValuesParams { + layer: FeatureLayer | SceneLayer | PointCloudLayer; + field: string; + features?: Graphic[]; + returnAllCodedValues?: boolean; + } + + export interface UniqueValuesResultUniqueValueInfos { + value: string | number; + count: number; + } + + interface symbologyColor { + cloneScheme(scheme: ColorScheme): ColorScheme; + flipColors(scheme: ColorScheme): ColorScheme; + getSchemes(params: colorGetSchemesParams): any; + getThemes(basemap?: string | Basemap): any[]; + } + + export const symbologyColor: symbologyColor; + + export interface colorGetSchemesParams { + basemap: string | Basemap; + geometryType: string; + theme: string; + view?: SceneView; + worldScale?: boolean; + } + + export interface ColorScheme { + id: string; + theme: string; + colors: Color[]; + noDataColor: Color; + colorsForClassBreaks: ColorSchemeColorsForClassBreaks[]; + outline: ColorSchemeOutline; + size: number; + width: number; + opacity: number; + } + + export interface ColorSchemeColorsForClassBreaks { + colors: Color[]; + numClasses: number; + } + + export interface ColorSchemeOutline { + color: Color; + width: number; + } + + interface symbologyLocation { + cloneScheme(scheme: PointLocationScheme | PolylineLocationScheme | PolygonLocationScheme): PointLocationScheme | PolylineLocationScheme | PolygonLocationScheme; + getSchemes(params: locationGetSchemesParams): any; + } + + export const symbologyLocation: symbologyLocation; + + export interface locationGetSchemesParams { + basemap: string | Basemap; + geometryType: string; + view?: SceneView; + worldScale?: boolean; + } + + export interface PointLocationScheme { + color: Color; + outline: PointLocationSchemeOutline; + size: number; + opacity: number; + } + + export interface PolygonLocationScheme { + color: Color; + outline: PolygonLocationSchemeOutline; + opacity: number; + } + + export interface PolylineLocationScheme { + color: Color; + width: number; + opacity: number; + } + + export interface PointLocationSchemeOutline { + color: Color; + width: number; + } + + export interface PolygonLocationSchemeOutline { + color: Color; + width: number; + } + + interface symbologySize { + cloneScheme(scheme: PointSizeScheme | PolylineSizeScheme | PolygonSizeScheme): any; + getSchemes(params: sizeGetSchemesParams): any; + } + + export const symbologySize: symbologySize; + + export interface PointSizeScheme { + color: Color; + noDataColor: Color; + outline: PointSizeSchemeOutline; + size: number; + noDataSize: number; + minSize: number; + maxSize: number; + opacity: number; + } + + export interface PolygonSizeScheme { + marker: PointSizeScheme; + background: PolygonSizeSchemeBackground; + opacity: number; + } + + export interface PolylineSizeScheme { + color: Color; + noDataColor: Color; + width: number; + noDataWidth: number; + minWidth: number; + maxWidth: number; + opacity: number; + } + + export interface sizeGetSchemesParams { + basemap: string | Basemap; + geometryType: string; + view?: SceneView; + worldScale?: boolean; + } + + export interface PointSizeSchemeOutline { + color: Color; + width: number; + } + + export interface PolygonSizeSchemeBackground { + color: Color; + outline: PolygonSizeSchemeBackgroundOutline; + } + + export interface PolygonSizeSchemeBackgroundOutline { + color: Color; + width: number; + } + + interface symbologyType { + cloneScheme(scheme: PointTypeScheme | PolylineTypeScheme | PolygonTypeScheme | MeshTypeScheme): any; + getSchemes(params: typeGetSchemesParams): any; + } + + export const symbologyType: symbologyType; + + export interface MeshTypeScheme { + colors: Color[]; + noDataColor: Color; + opacity: number; + } + + export interface PointTypeScheme { + colors: Color[]; + noDataColor: Color; + outline: PointTypeSchemeOutline; + size: number; + opacity: number; + } + + export interface PolygonTypeScheme { + colors: Color[]; + noDataColor: Color; + outline: PolygonTypeSchemeOutline; + opacity: number; + } + + export interface PolylineTypeScheme { + colors: Color[]; + noDataColor: Color; + width: number; + opacity: number; + } + + export interface typeGetSchemesParams { + basemap: string | Basemap; + geometryType: string; + theme?: string; + worldScale?: boolean; + view?: SceneView; + } + + export interface PointTypeSchemeOutline { + color: Color; + width: number; + } + + export interface PolygonTypeSchemeOutline { + color: Color; + width: number; + } + + interface supportJsonUtils { + fromJSON(json: any): Renderer; + } + + export const supportJsonUtils: supportJsonUtils; + interface UniqueValueRenderer extends Renderer, VisualVariablesMixin { defaultLabel: string; defaultSymbol: Symbol; - field: string; + field: string | Function; field2: string; field3: string; fieldDelimiter: string; @@ -5020,7 +4948,7 @@ declare namespace __esri { valueExpressionTitle: string; addUniqueValueInfo(valueOrInfo: string | number | any, symbol?: Symbol): void; - clone(): this; + clone(): UniqueValueRenderer; getUniqueValueInfo(graphic: Graphic): any; removeUniqueValueInfo(value: string): void; } @@ -5047,110 +4975,63 @@ declare namespace __esri { valueExpressionTitle?: string; } - interface PointCloudRenderer extends Accessor, JSONSupport { - colorModulation: PointCloudRendererColorModulation; - pointSizeAlgorithm: PointCloudRendererPointSizeAlgorithm; - pointsPerInch: number; - - clone(): this; + export interface UniqueValueRendererLegendOptions { + title?: string; } - interface PointCloudRendererConstructor { - new(properties?: PointCloudRendererProperties): PointCloudRenderer; - - fromJSON(json: any): PointCloudRenderer; + export interface UniqueValueRendererUniqueValueInfos { + value: string | number; + symbol: Symbol; + label?: string; } - export const PointCloudRenderer: PointCloudRendererConstructor; - - interface PointCloudRendererProperties { - colorModulation?: PointCloudRendererColorModulation; - pointSizeAlgorithm?: PointCloudRendererPointSizeAlgorithm; - pointsPerInch?: number; + interface VisualVariablesMixin { + visualVariables: any[]; } - interface PointCloudClassBreaksRenderer extends PointCloudRenderer { - colorClassBreakInfos: PointCloudClassBreaksRendererColorClassBreakInfos[]; - field: string; - fieldTransformType: string; - type: string; + interface VisualVariablesMixinConstructor { + new(): VisualVariablesMixin; } - interface PointCloudClassBreaksRendererConstructor { - new(properties?: PointCloudClassBreaksRendererProperties): PointCloudClassBreaksRenderer; + export const VisualVariablesMixin: VisualVariablesMixinConstructor; - fromJSON(json: any): PointCloudClassBreaksRenderer; + interface VisualVariablesMixinProperties { + visualVariables?: any[]; } - export const PointCloudClassBreaksRenderer: PointCloudClassBreaksRendererConstructor; - - interface PointCloudClassBreaksRendererProperties extends PointCloudRendererProperties { - colorClassBreakInfos?: PointCloudClassBreaksRendererColorClassBreakInfos[]; - field?: string; - fieldTransformType?: string; - type?: string; + interface request { + esriRequest(url: string, options?: requestEsriRequestOptions): IPromise<any>; } - interface PointCloudRGBRenderer extends PointCloudRenderer { - field: string; - type: string; + const __requestMapped: request; + export const request: typeof __requestMapped.esriRequest; + + + export interface EsriErrorDetails { + getHeader: GetHeader; + httpStatus: number; + messageCode: string; + messages: string[]; + requestOptions: any; + ssl: boolean; + subCode: number; + url: string; } - interface PointCloudRGBRendererConstructor { - new(properties?: PointCloudRGBRendererProperties): PointCloudRGBRenderer; + export type GetHeader = (headerName: string) => string; - fromJSON(json: any): PointCloudRGBRenderer; - } - - export const PointCloudRGBRenderer: PointCloudRGBRendererConstructor; - - interface PointCloudRGBRendererProperties extends PointCloudRendererProperties { - field?: string; - type?: string; - } - - interface PointCloudStretchRenderer extends PointCloudRenderer { - field: string; - fieldTransformType: string; - stops: PointCloudStretchRendererStops[]; - type: string; - } - - interface PointCloudStretchRendererConstructor { - new(properties?: PointCloudStretchRendererProperties): PointCloudStretchRenderer; - - fromJSON(json: any): PointCloudStretchRenderer; - } - - export const PointCloudStretchRenderer: PointCloudStretchRendererConstructor; - - interface PointCloudStretchRendererProperties extends PointCloudRendererProperties { - field?: string; - fieldTransformType?: string; - stops?: PointCloudStretchRendererStops[]; - type?: string; - } - - interface PointCloudUniqueValueRenderer extends PointCloudRenderer { - colorUniqueValueInfos: PointCloudUniqueValueRendererColorUniqueValueInfos[]; - field: string; - fieldTransformType: string; - type: string; - } - - interface PointCloudUniqueValueRendererConstructor { - new(properties?: PointCloudUniqueValueRendererProperties): PointCloudUniqueValueRenderer; - - fromJSON(json: any): PointCloudUniqueValueRenderer; - } - - export const PointCloudUniqueValueRenderer: PointCloudUniqueValueRendererConstructor; - - interface PointCloudUniqueValueRendererProperties extends PointCloudRendererProperties { - colorUniqueValueInfos?: PointCloudUniqueValueRendererColorUniqueValueInfos[]; - field?: string; - fieldTransformType?: string; - type?: string; + export interface requestEsriRequestOptions { + callbackParamName?: string; + query?: any; + responseType?: string; + headers?: any; + timeout?: number; + method?: string; + body?: FormData | HTMLFormElement | string; + useProxy?: boolean; + cacheBust?: boolean; + allowImageDataAccess?: boolean; + authMode?: string; } interface Action extends Accessor { @@ -5160,7 +5041,7 @@ declare namespace __esri { title: string; visible: boolean; - clone(): this; + clone(): Action; } interface ActionConstructor { @@ -5177,10 +5058,79 @@ declare namespace __esri { visible?: boolean; } + interface LayersMixin { + layers: Collection<Layer>; + + add(layers: Layer, index?: number): void; + addMany(layers: Layer[], index?: number): void; + findLayerById(layerId: string): Layer; + remove(layer: Layer): Layer; + removeAll(): Layer[]; + removeMany(layers: Layer[]): Layer[]; + reorder(layer: Layer, index: number): Layer; + } + + interface LayersMixinConstructor { + new(): LayersMixin; + } + + export const LayersMixin: LayersMixinConstructor; + + interface LayersMixinProperties { + layers?: CollectionProperties<LayerProperties>; + } + + interface Callout3D extends Accessor, JSONSupport { + clone(): Callout3D; + } + + interface Callout3DConstructor { + new(properties?: Callout3DProperties): Callout3D; + + fromJSON(json: any): Callout3D; + } + + export const Callout3D: Callout3DConstructor; + + interface Callout3DProperties { + + } + + interface LineCallout3D extends Callout3D { + border: LineCallout3DBorder; + color: Color; + size: number; + type: string; + + clone(): LineCallout3D; + } + + interface LineCallout3DConstructor { + new(properties?: LineCallout3DProperties): LineCallout3D; + + fromJSON(json: any): LineCallout3D; + } + + export const LineCallout3D: LineCallout3DConstructor; + + interface LineCallout3DProperties extends Callout3DProperties { + border?: LineCallout3DBorderProperties; + color?: Color; + size?: number; + type?: string; + } + + export interface LineCallout3DBorderProperties { + color?: Color; + } + export interface LineCallout3DBorder extends Accessor { + color?: Color; + } + interface ExtrudeSymbol3DLayer extends Symbol3DLayer { size: number; - clone(): this; + clone(): ExtrudeSymbol3DLayer; } interface ExtrudeSymbol3DLayerConstructor { @@ -5214,7 +5164,7 @@ declare namespace __esri { interface FillSymbol3DLayer extends Symbol3DLayer { outline: FillSymbol3DLayerOutline; - clone(): this; + clone(): FillSymbol3DLayer; } interface FillSymbol3DLayerConstructor { @@ -5229,8 +5179,13 @@ declare namespace __esri { outline?: FillSymbol3DLayerOutline; } + export interface FillSymbol3DLayerOutline { + color: Color; + size: number; + } + interface Font extends Accessor, JSONSupport { - clone(): this; + clone(): Font; } interface FontConstructor { @@ -5251,7 +5206,7 @@ declare namespace __esri { resource: IconSymbol3DLayerResource; size: number; - clone(): this; + clone(): IconSymbol3DLayer; } interface IconSymbol3DLayerConstructor { @@ -5269,11 +5224,21 @@ declare namespace __esri { size?: number; } + export interface IconSymbol3DLayerOutline { + color?: Color; + size?: number; + } + + export interface IconSymbol3DLayerResource { + primitive?: string; + href?: string; + } + interface LabelSymbol3D extends Symbol3D { callout: Callout3D; verticalOffset: LabelSymbol3DVerticalOffset; - clone(): this; + clone(): LabelSymbol3D; } interface LabelSymbol3DConstructor { @@ -5289,6 +5254,17 @@ declare namespace __esri { verticalOffset?: LabelSymbol3DVerticalOffsetProperties; } + export interface LabelSymbol3DVerticalOffsetProperties { + screenLength?: number; + minWorldLength?: number; + maxWorldLength?: number; + } + export interface LabelSymbol3DVerticalOffset extends Accessor { + screenLength: number; + minWorldLength?: number; + maxWorldLength?: number; + } + interface LineSymbol extends Symbol { color: Color; width: number; @@ -5308,7 +5284,7 @@ declare namespace __esri { } interface LineSymbol3D extends Symbol3D { - clone(): this; + clone(): LineSymbol3D; } interface LineSymbol3DConstructor { @@ -5326,7 +5302,7 @@ declare namespace __esri { interface LineSymbol3DLayer extends Symbol3DLayer { size: number; - clone(): this; + clone(): LineSymbol3DLayer; } interface LineSymbol3DLayerConstructor { @@ -5362,7 +5338,7 @@ declare namespace __esri { } interface MeshSymbol3D extends Symbol3D { - clone(): this; + clone(): MeshSymbol3D; } interface MeshSymbol3DConstructor { @@ -5387,7 +5363,7 @@ declare namespace __esri { tilt: number; width: number; - clone(): this; + clone(): ObjectSymbol3DLayer; } interface ObjectSymbol3DLayerConstructor { @@ -5409,6 +5385,29 @@ declare namespace __esri { width?: number; } + export interface ObjectSymbol3DLayerResource { + primitive?: string; + href?: string; + } + + interface PathSymbol3DLayer extends Symbol3DLayer { + size: number; + + clone(): PathSymbol3DLayer; + } + + interface PathSymbol3DLayerConstructor { + new(properties?: PathSymbol3DLayerProperties): PathSymbol3DLayer; + + fromJSON(json: any): PathSymbol3DLayer; + } + + export const PathSymbol3DLayer: PathSymbol3DLayerConstructor; + + interface PathSymbol3DLayerProperties extends Symbol3DLayerProperties { + size?: number; + } + interface PictureFillSymbol extends FillSymbol { height: number; url: string; @@ -5418,7 +5417,7 @@ declare namespace __esri { yoffset: number; yscale: number; - clone(): this; + clone(): PictureFillSymbol; } interface PictureFillSymbolConstructor { @@ -5444,7 +5443,7 @@ declare namespace __esri { url: string; width: number; - clone(): this; + clone(): PictureMarkerSymbol; } interface PictureMarkerSymbolConstructor { @@ -5461,29 +5460,11 @@ declare namespace __esri { width?: number; } - interface PathSymbol3DLayer extends Symbol3DLayer { - size: number; - - clone(): this; - } - - interface PathSymbol3DLayerConstructor { - new(properties?: PathSymbol3DLayerProperties): PathSymbol3DLayer; - - fromJSON(json: any): PathSymbol3DLayer; - } - - export const PathSymbol3DLayer: PathSymbol3DLayerConstructor; - - interface PathSymbol3DLayerProperties extends Symbol3DLayerProperties { - size?: number; - } - interface PointSymbol3D extends Symbol3D { callout: Callout3D; verticalOffset: PointSymbol3DVerticalOffset; - clone(): this; + clone(): PointSymbol3D; } interface PointSymbol3DConstructor { @@ -5499,8 +5480,19 @@ declare namespace __esri { verticalOffset?: PointSymbol3DVerticalOffsetProperties; } + export interface PointSymbol3DVerticalOffsetProperties { + screenLength?: number; + minWorldLength?: number; + maxWorldLength?: number; + } + export interface PointSymbol3DVerticalOffset extends Accessor { + screenLength: number; + minWorldLength?: number; + maxWorldLength?: number; + } + interface PolygonSymbol3D extends Symbol3D { - clone(): this; + clone(): PolygonSymbol3D; } interface PolygonSymbol3DConstructor { @@ -5519,7 +5511,7 @@ declare namespace __esri { color: Color; style: string; - clone(): this; + clone(): SimpleFillSymbol; } interface SimpleFillSymbolConstructor { @@ -5541,7 +5533,7 @@ declare namespace __esri { miterLimit: number; style: string; - clone(): this; + clone(): SimpleLineSymbol; } interface SimpleLineSymbolConstructor { @@ -5566,7 +5558,7 @@ declare namespace __esri { size: number; style: string; - clone(): this; + clone(): SimpleMarkerSymbol; } interface SimpleMarkerSymbolConstructor { @@ -5585,6 +5577,12 @@ declare namespace __esri { style?: string; } + interface symbolsSupportJsonUtils { + fromJSON(json: any): Symbol; + } + + export const symbolsSupportJsonUtils: symbolsSupportJsonUtils; + interface Symbol extends Accessor, JSONSupport { type: string; } @@ -5603,7 +5601,7 @@ declare namespace __esri { interface Symbol3D extends Symbol { styleOrigin: Symbol3DStyleOrigin; - symbolLayers: Collection; + symbolLayers: Collection<Symbol3DLayer>; } interface Symbol3DConstructor { @@ -5616,7 +5614,13 @@ declare namespace __esri { interface Symbol3DProperties extends SymbolProperties { styleOrigin?: Symbol3DStyleOrigin; - symbolLayers?: Collection | any[]; + symbolLayers?: CollectionProperties<Symbol3DLayerProperties>; + } + + export interface Symbol3DStyleOrigin { + styleName?: string; + styleUrl?: string; + name: string; } interface Symbol3DLayer extends Accessor, JSONSupport { @@ -5654,7 +5658,7 @@ declare namespace __esri { xoffset: number; yoffset: number; - clone(): this; + clone(): TextSymbol; } interface TextSymbolConstructor { @@ -5689,7 +5693,7 @@ declare namespace __esri { size: number; text: string; - clone(): this; + clone(): TextSymbol3DLayer; } interface TextSymbol3DLayerConstructor { @@ -5707,14 +5711,25 @@ declare namespace __esri { text?: string; } + export interface TextSymbol3DLayerFont { + family?: string; + weight?: string; + style?: string; + } + + export interface TextSymbol3DLayerHalo { + color?: Color; + size?: number; + } + interface WebStyleSymbol extends Symbol { name: string; portal: Portal; styleName: string; styleUrl: string; - clone(): this; - fetchSymbol(): IPromise<any>; + clone(): WebStyleSymbol; + fetchSymbol(): IPromise<PointSymbol3D>; } interface WebStyleSymbolConstructor { @@ -5732,46 +5747,8 @@ declare namespace __esri { styleUrl?: string; } - interface Callout3D extends Accessor, JSONSupport { - clone(): this; - } - - interface Callout3DConstructor { - new(properties?: Callout3DProperties): Callout3D; - - fromJSON(json: any): Callout3D; - } - - export const Callout3D: Callout3DConstructor; - - interface Callout3DProperties { - - } - - interface LineCallout3D extends Callout3D { - border: LineCallout3DBorder; - color: Color; - size: number; - type: string; - } - - interface LineCallout3DConstructor { - new(properties?: LineCallout3DProperties): LineCallout3D; - - fromJSON(json: any): LineCallout3D; - } - - export const LineCallout3D: LineCallout3DConstructor; - - interface LineCallout3DProperties extends Callout3DProperties { - border?: LineCallout3DBorderProperties; - color?: Color; - size?: number; - type?: string; - } - interface ClosestFacilityTask extends Task { - solve(params: ClosestFacilityParameters, requestOptions?: any): IPromise<any>; + solve(params: ClosestFacilityParameters, requestOptions?: any): IPromise<ClosestFacilitySolveResult>; } interface ClosestFacilityTaskConstructor { @@ -5802,26 +5779,26 @@ declare namespace __esri { interface GeometryService extends Task { areasAndLengths(areasAndLengthsParameters: AreasAndLengthsParameters, requestOptions?: any): IPromise<any>; - autoComplete(polygons: Polygon[], polylines: Polyline[], requestOptions?: any): IPromise<any>; - buffer(bufferParameters: BufferParameters, requestOptions?: any): IPromise<any>; - convexHull(geometries: Geometry[], requestOptions?: any): IPromise<any>; + autoComplete(polygons: Polygon[], polylines: Polyline[], requestOptions?: any): IPromise<Polygon>; + buffer(bufferParameters: BufferParameters, requestOptions?: any): IPromise<Polygon[]>; + convexHull(geometries: Geometry[], requestOptions?: any): IPromise<Geometry>; cut(geometries: Geometry[], cutter: Polyline, requestOptions?: any): IPromise<any>; - densify(densifyParameters: DensifyParameters, requestOptions?: any): IPromise<any>; - difference(geometries: Geometry[], geometry: Geometry, requestOptions?: any): IPromise<any>; - distance(params: DistanceParameters, requestOptions?: any): IPromise<any>; + densify(densifyParameters: DensifyParameters, requestOptions?: any): IPromise<Geometry[]>; + difference(geometries: Geometry[], geometry: Geometry, requestOptions?: any): IPromise<Geometry>; + distance(params: DistanceParameters, requestOptions?: any): IPromise<number>; fromGeoCoordinateString(params: GeometryServiceFromGeoCoordinateStringParams, requestOptions?: any): IPromise<any>; - generalize(params: GeneralizeParameters, requestOptions?: any): IPromise<any>; - intersect(geometries: Geometry[], intersector: Geometry, requestOptions?: any): IPromise<any>; - labelPoints(polygons: Polygon[], requestOptions?: any): IPromise<any>; + generalize(params: GeneralizeParameters, requestOptions?: any): IPromise<Geometry[]>; + intersect(geometries: Geometry[], intersector: Geometry, requestOptions?: any): IPromise<Geometry[]>; + labelPoints(polygons: Polygon[], requestOptions?: any): IPromise<Point>; lengths(params: LengthsParameters, requestOptions?: any): IPromise<any>; - offset(params: OffsetParameters, requestOptions?: any): IPromise<any>; - project(params: ProjectParameters, requestOptions?: any): IPromise<any>; - relation(params: RelationParameters, requestOptions?: any): IPromise<any>; - reshape(targetGeometry: Geometry, reshaper: Geometry, requestOptions?: any): IPromise<any>; - simplify(geometries: Geometry[], requestOptions?: any): IPromise<any>; - toGeoCoordinateString(params: GeometryServiceToGeoCoordinateStringParams, requestOptions?: any): IPromise<any>; - trimExtend(params: TrimExtendParameters, requestOptions?: any): IPromise<any>; - union(geometries: Geometry[], requestOptions?: any): IPromise<any>; + offset(params: OffsetParameters, requestOptions?: any): IPromise<Geometry[]>; + project(params: ProjectParameters, requestOptions?: any): IPromise<Geometry[]>; + relation(params: RelationParameters, requestOptions?: any): IPromise<Polygon[]>; + reshape(targetGeometry: Geometry, reshaper: Geometry, requestOptions?: any): IPromise<Geometry>; + simplify(geometries: Geometry[], requestOptions?: any): IPromise<Geometry[]>; + toGeoCoordinateString(params: GeometryServiceToGeoCoordinateStringParams, requestOptions?: any): IPromise<string[]>; + trimExtend(params: TrimExtendParameters, requestOptions?: any): IPromise<Geometry[]>; + union(geometries: Geometry[], requestOptions?: any): IPromise<Geometry>; } interface GeometryServiceConstructor { @@ -5834,6 +5811,23 @@ declare namespace __esri { } + export interface GeometryServiceFromGeoCoordinateStringParams { + strings: string[]; + sr: SpatialReference | string; + conversionType: string; + conversionMode?: string; + } + + export interface GeometryServiceToGeoCoordinateStringParams { + sr: SpatialReference | string; + coordinates: number[][]; + conversionType: string; + conversionMode?: string; + numOfDigits?: number; + rounding?: boolean; + addSpaces?: boolean; + } + interface Geoprocessor extends Task { outSpatialReference: SpatialReference; processSpatialReference: SpatialReference; @@ -5878,7 +5872,7 @@ declare namespace __esri { } interface ImageServiceIdentifyTask extends Task { - execute(params: ImageServiceIdentifyParameters, requestOptions?: any): IPromise<any>; + execute(params: ImageServiceIdentifyParameters, requestOptions?: any): IPromise<ImageServiceIdentifyResult>; } interface ImageServiceIdentifyTaskConstructor { @@ -5896,10 +5890,10 @@ declare namespace __esri { countryCode: string; outSpatialReference: SpatialReference; - addressesToLocations(params: LocatorAddressesToLocationsParams, requestOptions?: any): IPromise<any>; - addressToLocations(params: LocatorAddressToLocationsParams, requestOptions?: any): IPromise<any>; - locationToAddress(location: Point, distance?: number, requestOptions?: any): IPromise<any>; - suggestLocations(params: LocatorSuggestLocationsParams, requestOptions?: any): IPromise<any>; + addressesToLocations(params: LocatorAddressesToLocationsParams, requestOptions?: any): IPromise<AddressCandidate[]>; + addressToLocations(params: LocatorAddressToLocationsParams, requestOptions?: any): IPromise<AddressCandidate[]>; + locationToAddress(location: Point, distance?: number, requestOptions?: any): IPromise<AddressCandidate>; + suggestLocations(params: LocatorSuggestLocationsParams, requestOptions?: any): IPromise<SuggestionResult>; } interface LocatorConstructor { @@ -5914,24 +5908,36 @@ declare namespace __esri { outSpatialReference?: SpatialReferenceProperties; } - interface QueryTask extends Task { - gdbVersion: string; - - execute(params: Query, requestOptions?: any): IPromise<any>; - executeForCount(params: Query, requestOptions?: any): IPromise<any>; - executeForExtent(params: Query, requestOptions?: any): IPromise<any>; - executeForIds(params: Query, requestOptions?: any): IPromise<any>; - executeRelationshipQuery(params: RelationshipQuery, requestOptions?: any): IPromise<any>; + export interface LocatorAddressesToLocationsParams { + addresses: any[]; + countryCode: string; + categories: string[]; } - interface QueryTaskConstructor { - new(properties?: QueryTaskProperties): QueryTask; + export interface LocatorAddressToLocationsParams { + address: any; + categories: string[]; + countryCode: string; + distance: number; + forStorage: boolean; + location: Point; + magicKey: string; + maxLocations: number; + outFields: string[]; + searchExtent: Extent; } - export const QueryTask: QueryTaskConstructor; + export interface LocatorSuggestLocationsParams { + categories: string[]; + distance: number; + location: Point; + text: string; + } - interface QueryTaskProperties extends TaskProperties { - gdbVersion?: string; + export interface SuggestionResult { + isCollection: boolean; + magicKey: string; + text: string; } interface PrintTask extends Task { @@ -5952,8 +5958,28 @@ declare namespace __esri { updateDelay?: number; } + interface QueryTask extends Task { + gdbVersion: string; + + execute(params: Query, requestOptions?: any): IPromise<FeatureSet>; + executeForCount(params: Query, requestOptions?: any): IPromise<number>; + executeForExtent(params: Query, requestOptions?: any): IPromise<any>; + executeForIds(params: Query, requestOptions?: any): IPromise<number[]>; + executeRelationshipQuery(params: RelationshipQuery, requestOptions?: any): IPromise<FeatureSet>; + } + + interface QueryTaskConstructor { + new(properties?: QueryTaskProperties): QueryTask; + } + + export const QueryTask: QueryTaskConstructor; + + interface QueryTaskProperties extends TaskProperties { + gdbVersion?: string; + } + interface RouteTask extends Task { - solve(params: RouteParameters, requestOptions?: any): IPromise<any>; + solve(params: RouteParameters, requestOptions?: any): IPromise<RouteResult>; } interface RouteTaskConstructor { @@ -5967,7 +5993,7 @@ declare namespace __esri { } interface ServiceAreaTask extends Task { - solve(params: ServiceAreaParameters, requestOptions?: any): IPromise<any>; + solve(params: ServiceAreaParameters, requestOptions?: any): IPromise<ServiceAreaSolveResult>; } interface ServiceAreaTaskConstructor { @@ -5980,22 +6006,6 @@ declare namespace __esri { } - interface Task extends Accessor { - requestOptions: any; - url: string; - } - - interface TaskConstructor { - new(properties?: TaskProperties): Task; - } - - export const Task: TaskConstructor; - - interface TaskProperties { - requestOptions?: any; - url?: string; - } - interface AddressCandidate extends Accessor, JSONSupport { address: string; attributes: any; @@ -6087,7 +6097,7 @@ declare namespace __esri { outputGeometryPrecision: number; outputGeometryPrecisionUnits: string; outputLines: string; - outSpatialReference: SpatialReference; + outSpatialReference: SpatialReference | string; pointBarriers: DataLayer | FeatureSet; polygonBarriers: DataLayer | FeatureSet; polylineBarriers: DataLayer | FeatureSet; @@ -6125,16 +6135,16 @@ declare namespace __esri { directionsStyleName?: string; directionsTimeAttribute?: string; doNotLocateOnRestrictedElements?: boolean; - facilities?: DataLayer | FeatureSet; + facilities?: DataLayerProperties | FeatureSetProperties; impedanceAttribute?: string; - incidents?: DataLayer | FeatureSet; + incidents?: DataLayerProperties | FeatureSetProperties; outputGeometryPrecision?: number; outputGeometryPrecisionUnits?: string; outputLines?: string; - outSpatialReference?: SpatialReference | string; - pointBarriers?: DataLayer | FeatureSet; - polygonBarriers?: DataLayer | FeatureSet; - polylineBarriers?: DataLayer | FeatureSet; + outSpatialReference?: SpatialReferenceProperties | string; + pointBarriers?: DataLayerProperties | FeatureSetProperties; + polygonBarriers?: DataLayerProperties | FeatureSetProperties; + polylineBarriers?: DataLayerProperties | FeatureSetProperties; restrictionAttributes?: string[]; restrictUTurns?: string; returnDirections?: boolean; @@ -6144,12 +6154,18 @@ declare namespace __esri { returnPolygonBarriers?: boolean; returnPolylineBarriers?: boolean; returnRoutes?: boolean; - timeOfDay?: Date; + timeOfDay?: DateProperties; timeOfDayUsage?: string; travelDirection?: string; useHierarchy?: boolean; } + export interface ClosestFacilityParametersAttributeParameterValues { + attributeName: string; + parameterName: string; + value: string; + } + interface ClosestFacilitySolveResult extends Accessor, JSONSupport { directions: DirectionsFeatureSet; facilities: Point[]; @@ -6234,7 +6250,7 @@ declare namespace __esri { export const supportDate: supportDateConstructor; interface supportDateProperties { - date?: Date; + date?: DateProperties; format?: string; } @@ -6513,7 +6529,7 @@ declare namespace __esri { export const ImageServiceIdentifyParameters: ImageServiceIdentifyParametersConstructor; interface ImageServiceIdentifyParametersProperties { - geometry?: Point | Polygon; + geometry?: PointProperties | PolygonProperties; mosaicRule?: MosaicRuleProperties; noData?: string | number; pixelSize?: SymbolProperties; @@ -6738,6 +6754,21 @@ declare namespace __esri { showLabels?: boolean; } + export interface PrintTemplateExportOptions { + width?: number; + height?: number; + dpi?: number; + } + + export interface PrintTemplateLayoutOptions { + titleText: string; + authorText: string; + copyrightText: string; + scalebarUnit: string; + legendLayers: LegendLayer[]; + customTextElements: any[]; + } + interface ProjectParameters extends Accessor { geometries: Geometry[]; outSpatialReference: SpatialReference; @@ -6762,6 +6793,11 @@ declare namespace __esri { transformForward?: boolean; } + export interface ProjectParametersTransformation { + wkid?: number; + wkt?: string; + } + interface Query extends Accessor { distance: number; geometry: Geometry; @@ -6822,6 +6858,13 @@ declare namespace __esri { where?: string; } + export interface QueryQuantizationParameters { + extent?: Extent; + mode?: string; + originPosition?: string; + tolerance?: number; + } + interface RasterData extends Accessor, JSONSupport { format: string; itemId: string; @@ -6942,7 +6985,7 @@ declare namespace __esri { interface RouteParametersProperties { accumulateAttributes?: string[]; attributeParameterValues?: AttributeParamValue; - barriers?: DataLayer | FeatureSet; + barriers?: DataLayerProperties | FeatureSetProperties; directionsLanguage?: string; directionsLengthUnits?: string; directionsOutputType?: string; @@ -6956,8 +6999,8 @@ declare namespace __esri { outputGeometryPrecisionUnits?: string; outputLines?: string; outSpatialReference?: SpatialReferenceProperties; - polygonBarriers?: DataLayer | FeatureSet; - polylineBarriers?: DataLayer | FeatureSet; + polygonBarriers?: DataLayerProperties | FeatureSetProperties; + polylineBarriers?: DataLayerProperties | FeatureSetProperties; preserveFirstStop?: boolean; preserveLastStop?: boolean; restrictionAttributes?: string[]; @@ -6969,13 +7012,19 @@ declare namespace __esri { returnRoutes?: boolean; returnStops?: boolean; returnZ?: boolean; - startTime?: Date; + startTime?: DateProperties; startTimeIsUTC?: boolean; - stops?: DataLayer | FeatureSet; + stops?: DataLayerProperties | FeatureSetProperties; useHierarchy?: boolean; useTimeWindows?: boolean; } + export interface AttributeParamValue { + attributeName: string; + parameterName: string; + value: string; + } + interface RouteResult extends Accessor, JSONSupport { directions: DirectionsFeatureSet; route: Graphic; @@ -7047,7 +7096,7 @@ declare namespace __esri { defaultBreaks?: number[]; doNotLocateOnRestrictedElements?: boolean; excludeSourcesFromPolygons?: string[]; - facilities?: DataLayer | FeatureSet; + facilities?: DataLayerProperties | FeatureSetProperties; impedanceAttribute?: string; mergeSimilarPolygonRanges?: boolean; outputGeometryPrecision?: number; @@ -7057,9 +7106,9 @@ declare namespace __esri { outSpatialReference?: SpatialReferenceProperties; overlapLines?: boolean; overlapPolygons?: boolean; - pointBarriers?: DataLayer | FeatureSet; - polygonBarriers?: DataLayer | FeatureSet; - polylineBarriers?: DataLayer | FeatureSet; + pointBarriers?: DataLayerProperties | FeatureSetProperties; + polygonBarriers?: DataLayerProperties | FeatureSetProperties; + polylineBarriers?: DataLayerProperties | FeatureSetProperties; restrictionAttributes?: string[]; restrictUTurns?: string; returnFacilities?: boolean; @@ -7068,7 +7117,7 @@ declare namespace __esri { returnPolylineBarriers?: boolean; splitLinesAtBreaks?: boolean; splitPolygonsAtBreaks?: boolean; - timeOfDay?: Date; + timeOfDay?: DateProperties; travelDirection?: string; trimOuterPolygon?: boolean; trimPolygonDistance?: number; @@ -7144,20 +7193,36 @@ declare namespace __esri { trimExtendTo?: PolylineProperties; } + interface Task extends Accessor { + requestOptions: any; + url: string; + } + + interface TaskConstructor { + new(properties?: TaskProperties): Task; + } + + export const Task: TaskConstructor; + + interface TaskProperties { + requestOptions?: any; + url?: string; + } + interface ConfigurationTask extends Task { url: string; - getAllGroups(requestOptions?: any): IPromise<any>; - getAllUsers(requestOptions?: any): IPromise<any>; - getDataWorkspaceDetails(params: ConfigurationTaskGetDataWorkspaceDetailsParams, requestOptions?: any): IPromise<any>; - getGroup(groupId: number, requestOptions?: any): IPromise<any>; - getJobTypeDetails(jobTypeId: number, requestOptions?: any): IPromise<any>; - getPublicJobQueryDetails(queryId: number, requestOptions?: any): IPromise<any>; - getServiceInfo(requestOptions?: any): IPromise<any>; - getTableRelationshipsDetails(requestOptions?: any): IPromise<any>; - getUser(user: string, requestOptions?: any): IPromise<any>; - getUserJobQueryDetails(params: ConfigurationTaskGetUserJobQueryDetailsParams, requestOptions?: any): IPromise<any>; - getVisibleJobTypes(user: string, requestOptions?: any): IPromise<any>; + getAllGroups(requestOptions?: any): IPromise<any[]>; + getAllUsers(requestOptions?: any): IPromise<any[]>; + getDataWorkspaceDetails(params: ConfigurationTaskGetDataWorkspaceDetailsParams, requestOptions?: any): IPromise<any[]>; + getGroup(groupId: number, requestOptions?: any): IPromise<any[]>; + getJobTypeDetails(jobTypeId: number, requestOptions?: any): IPromise<JobTypeDetails>; + getPublicJobQueryDetails(queryId: number, requestOptions?: any): IPromise<JobQueryDetails>; + getServiceInfo(requestOptions?: any): IPromise<WorkflowManagerServiceInfo>; + getTableRelationshipsDetails(requestOptions?: any): IPromise<TableRelationship>; + getUser(user: string, requestOptions?: any): IPromise<UserDetails>; + getUserJobQueryDetails(params: ConfigurationTaskGetUserJobQueryDetailsParams, requestOptions?: any): IPromise<JobQueryDetails>; + getVisibleJobTypes(user: string, requestOptions?: any): IPromise<JobType>; } interface ConfigurationTaskConstructor { @@ -7170,44 +7235,218 @@ declare namespace __esri { url?: string; } + export interface ConfigurationTaskGetDataWorkspaceDetailsParams { + dataWorkspaceId: string; + user: string; + } + + export interface ConfigurationTaskGetUserJobQueryDetailsParams { + queryId: number; + user: string; + } + + export interface DataWorkspace { + id: string; + name: string; + } + + export interface GroupMembership { + id: number; + name: string; + } + + export interface HoldType { + description: string; + id: number; + name: string; + } + + export interface JobPriority { + description: string; + name: string; + value: number; + } + + export interface JobQuery { + id: number; + name: string; + } + + export interface JobQueryContainer { + containers: JobQueryContainer[]; + id: number; + name: string; + queries: JobQuery[]; + } + + export interface JobQueryDetails { + aliases: string[]; + fields: string[]; + id: number; + name: string; + orderBy: string; + tables: string[]; + where: string; + } + + export interface JobStatus { + caption: string; + description: string; + id: number; + name: string; + } + + export interface JobType { + category: string; + description: string; + id: string; + name: string; + state: string; + } + + export interface JobTypeDetails { + defaultParentVersionName: string; + autoExecuteCreatedJobs: boolean; + category: string; + defaultAssignedTo: string; + defaultAssignedType: string; + defaultDataWorkspaceId: string; + defaultDescription: string; + defaultDueDate: string; + defaultJobDuration: number; + canDataWorkspaceChange: boolean; + defaultPriority: string; + defaultStartDate: Date; + description: string; + id: string; + jobNamingScheme: string; + jobVersionNamingScheme: string; + mxdNamingScheme: string; + name: string; + state: string; + } + + export interface Privilege { + description: string; + id: number; + name: string; + } + + export interface TableRelationship { + cardinality: string; + linkField: string; + tableAlias: string; + tableName: string; + } + + export interface UserDetails { + lastName: string; + address: string; + faxNumber: string; + firstName: string; + fullName: string; + groups: GroupMembership[]; + email: string; + phoneNumber: string; + privileges: Privilege[]; + roomNumber: string; + userName: string; + userQueries: JobQueryContainer[]; + zipCode: string; + } + + export interface VersionInfo { + access: string; + name: string; + parent: string; + } + + export interface WorkflowManagerServiceInfo { + jobPriorities: JobPriority[]; + activityTypes: ActivityType[]; + currentVersion: number; + dataWorkspaces: DataWorkspace[]; + holdTypes: HoldType[]; + configProperties: WorkflowManagerServiceInfoConfigProperties; + jobStatuses: JobStatus[]; + jobTypes: JobType[]; + notificationTypes: NotificationType[]; + privileges: Privilege[]; + publicQueries: JobQueryContainer[]; + } + + export interface WorkflowManagerServiceInfoConfigProperties { + AOIOVERLAP: string; + AOISELECTIONCOLOR: number; + AUTOASSIGNJOB: boolean; + AUTOCLOSEJOB: boolean; + AUTOCOMMITWORKFLOW: boolean; + AUTOSTATUSASSIGN: boolean; + CONFIRMPROCEDURALCHECK: boolean; + DEFAULT_SENDER_EMAIL: string; + DEFAULT_SENDER_NAME: string; + HTML_SUPPORT: string; + JOB_ID_START_VALUE: string; + PENDING_DAYS_USE_HOLDS: boolean; + PROMPTSDEPWD: boolean; + REQUIREPROCEDURALCHECKSTART: number; + RESTRICT_AOI_OPTION: string; + SEND_SN_CUSTOM_POST: boolean; + SHOW_STEP_IDS: boolean; + SHOW_STEP_PERCENT_COMPLETE: boolean; + SMTP_PASSWORD: string; + SHOW_PENDING_DAYS: boolean; + SMTP_PORT: string; + SMTP_PROTOCOL: string; + SMTP_SERVER: string; + SMTP_USERNAME: string; + USE_STEP_STATUS: boolean; + USER_STORE: string; + USEUSERDOMAIN: boolean; + WF_SEL_STEP_FILL_COLOR: number; + WF_SEL_STEP_OUTLINE_COLOR: number; + WF_SEL_STEP_OUTLINE_WIDTH: number; + ZOOMTOAOI: boolean; + } + interface JobTask extends Task { url: string; - addEmbeddedAttachment(params: JobTaskAddEmbeddedAttachmentParams, requestOptions?: any): IPromise<any>; - addLinkedAttachment(params: JobTaskAddLinkedAttachmentParams, requestOptions?: any): IPromise<any>; - addLinkedRecord(params: JobTaskAddLinkedRecordParams, requestOptions?: any): IPromise<any>; - assignJobs(params: JobTaskAssignJobsParams, requestOptions?: any): IPromise<any>; - closeJobs(params: JobTaskCloseJobsParams, requestOptions?: any): IPromise<any>; - createDependency(params: JobTaskCreateDependencyParams, requestOptions?: any): IPromise<any>; - createHold(params: JobTaskCreateHoldParams, requestOptions?: any): IPromise<any>; - createJobs(params: JobCreationParameters, requestOptions?: any): IPromise<any>; - createJobVersion(params: JobTaskCreateJobVersionParams, requestOptions?: any): IPromise<any>; - deleteAttachment(params: JobTaskDeleteAttachmentParams, requestOptions?: any): IPromise<any>; - deleteDependency(params: JobTaskDeleteDependencyParams, requestOptions?: any): IPromise<any>; - deleteJobs(params: JobTaskDeleteJobsParams, requestOptions?: any): IPromise<any>; - deleteLinkedRecord(params: JobTaskDeleteLinkedRecordParams, requestOptions?: any): IPromise<any>; - getActivityLog(jobId: number, requestOptions?: any): IPromise<any>; + addEmbeddedAttachment(params: JobTaskAddEmbeddedAttachmentParams, requestOptions?: any): IPromise<string>; + addLinkedAttachment(params: JobTaskAddLinkedAttachmentParams, requestOptions?: any): IPromise<string>; + addLinkedRecord(params: JobTaskAddLinkedRecordParams, requestOptions?: any): IPromise<string>; + assignJobs(params: JobTaskAssignJobsParams, requestOptions?: any): IPromise<boolean>; + closeJobs(params: JobTaskCloseJobsParams, requestOptions?: any): IPromise<boolean>; + createDependency(params: JobTaskCreateDependencyParams, requestOptions?: any): IPromise<string>; + createHold(params: JobTaskCreateHoldParams, requestOptions?: any): IPromise<string>; + createJobs(params: JobCreationParameters, requestOptions?: any): IPromise<string[]>; + createJobVersion(params: JobTaskCreateJobVersionParams, requestOptions?: any): IPromise<string>; + deleteAttachment(params: JobTaskDeleteAttachmentParams, requestOptions?: any): IPromise<boolean>; + deleteDependency(params: JobTaskDeleteDependencyParams, requestOptions?: any): IPromise<boolean>; + deleteJobs(params: JobTaskDeleteJobsParams, requestOptions?: any): IPromise<boolean>; + deleteLinkedRecord(params: JobTaskDeleteLinkedRecordParams, requestOptions?: any): IPromise<boolean>; + getActivityLog(jobId: number, requestOptions?: any): IPromise<any[]>; getAttachmentContentUrl(params: JobTaskGetAttachmentContentUrlParams): string; - getAttachments(jobId: number, requestOptions?: any): IPromise<any>; - getDependencies(jobId: number, requestOptions?: any): IPromise<any>; - getExtendedProperties(jobId: number, requestOptions?: any): IPromise<any>; - getHolds(jobId: number, requestOptions?: any): IPromise<any>; - getJob(jobId: number, requestOptions?: any): IPromise<any>; - getJobIds(requestOptions?: any): IPromise<any>; - getNotes(jobId: number, requestOptions?: any): IPromise<any>; - listFieldValues(params: JobTaskListFieldValuesParams, requestOptions?: any): IPromise<any>; - listMultiLevelFieldValues(params: JobTaskListMultiLevelFieldValuesParams, requestOptions?: any): IPromise<any>; - logAction(params: JobTaskLogActionParams, requestOptions?: any): IPromise<any>; - queryJobs(params: JobTaskQueryJobsParams, requestOptions?: any): IPromise<any>; - queryJobsAdHoc(params: JobQueryParameters, requestOptions?: any): IPromise<any>; - queryMultiLevelSelectedValues(params: JobTaskQueryMultiLevelSelectedValuesParams, requestOptions?: any): IPromise<any>; - releaseHold(params: JobTaskReleaseHoldParams, requestOptions?: any): IPromise<any>; - reopenClosedJobs(params: JobTaskReopenClosedJobsParams, requestOptions?: any): IPromise<any>; - searchJobs(params: JobTaskSearchJobsParams, requestOptions?: any): IPromise<any>; - unassignJobs(params: JobTaskUnassignJobsParams, requestOptions?: any): IPromise<any>; - updateJob(params: JobUpdateParameters, requestOptions?: any): IPromise<any>; - updateNotes(params: JobTaskUpdateNotesParams, requestOptions?: any): IPromise<any>; - updateRecord(params: JobTaskUpdateRecordParams, requestOptions?: any): IPromise<any>; + getAttachments(jobId: number, requestOptions?: any): IPromise<JobAttachment>; + getDependencies(jobId: number, requestOptions?: any): IPromise<JobDependency>; + getExtendedProperties(jobId: number, requestOptions?: any): IPromise<AuxRecordContainer>; + getHolds(jobId: number, requestOptions?: any): IPromise<any[]>; + getJob(jobId: number, requestOptions?: any): IPromise<JobTaskJobInfo>; + getJobIds(requestOptions?: any): IPromise<string[]>; + getNotes(jobId: number, requestOptions?: any): IPromise<string>; + listFieldValues(params: JobTaskListFieldValuesParams, requestOptions?: any): IPromise<FieldValue>; + listMultiLevelFieldValues(params: JobTaskListMultiLevelFieldValuesParams, requestOptions?: any): IPromise<FieldValue>; + logAction(params: JobTaskLogActionParams, requestOptions?: any): IPromise<boolean>; + queryJobs(params: JobTaskQueryJobsParams, requestOptions?: any): IPromise<QueryResult>; + queryJobsAdHoc(params: JobQueryParameters, requestOptions?: any): IPromise<QueryResult>; + queryMultiLevelSelectedValues(params: JobTaskQueryMultiLevelSelectedValuesParams, requestOptions?: any): IPromise<string[]>; + releaseHold(params: JobTaskReleaseHoldParams, requestOptions?: any): IPromise<boolean>; + reopenClosedJobs(params: JobTaskReopenClosedJobsParams, requestOptions?: any): IPromise<boolean>; + searchJobs(params: JobTaskSearchJobsParams, requestOptions?: any): IPromise<QueryResult>; + unassignJobs(params: JobTaskUnassignJobsParams, requestOptions?: any): IPromise<boolean>; + updateJob(params: JobUpdateParameters, requestOptions?: any): IPromise<boolean>; + updateNotes(params: JobTaskUpdateNotesParams, requestOptions?: any): IPromise<boolean>; + updateRecord(params: JobTaskUpdateRecordParams, requestOptions?: any): IPromise<boolean>; } interface JobTaskConstructor { @@ -7220,22 +7459,332 @@ declare namespace __esri { url?: string; } + export interface ActivityType { + desription: string; + id: number; + message: string; + name: string; + } + + export interface AuxRecord { + displayProperty: any; + id: number; + recordvalues: AuxRecordValue; + } + + export interface AuxRecordContainer { + records: AuxRecord; + relationshipType: string; + tableAlias: string; + tableName: string; + } + + export interface AuxRecordDescription { + properties: any; + recordId: number; + tableName: string; + } + + export interface AuxRecordValue { + filter: string; + alias: string; + data: any; + dataType: string; + displayOrder: number; + displayType: string; + domain: string; + canUpdate: boolean; + length: number; + name: string; + required: boolean; + tableListClass: string; + tableListDisplayField: string; + tableListStoreField: string; + userVisible: boolean; + } + + export interface FieldValue { + description: string; + value: any; + } + + export interface JobAttachment { + filename: string; + folder: string; + id: number; + storageType: string; + } + + export interface JobCreationParameters { + loi: Geometry; + assignedTo: string; + autoCommitWorkflow: boolean; + autoExecute: boolean; + dataWorkspaceId: string; + description: string; + dueDate: Date; + jobTypeId: number; + assignedType: string; + name: string; + numJobs: string; + ownedBy: string; + parentJobId: number; + parentVersion: string; + priority: number; + startDate: Date; + user: string; + } + + export interface JobDependency { + depJobId: number; + depOnType: string; + depOnValue: string; + heldOnValue: number; + holdOnType: string; + id: number; + jobID: string; + } + + export interface JobTaskJobInfo { + name: string; + assignedTo: string; + childJobIds: number[]; + createdBy: string; + createdDate: Date; + dataWorkspaceId: string; + description: string; + dueDate: Date; + endDate: Date; + id: number; + jobTypeId: number; + loi: Geometry; + assignedType: string; + ownedBy: string; + parentJobId: number; + parentVersion: string; + pendingDays: number; + percentageComplete: number; + priority: number; + stage: string; + startDate: Date; + status: number; + versionExists: boolean; + versionInfo: JobVersionInfo; + versionName: string; + } + + export interface JobQueryParameters { + aliases: string; + fields: string; + orderBy: string; + tables: string; + where: string; + user: string; + } + + export interface JobTaskAddEmbeddedAttachmentParams { + jobId: number; + form: any; + user: string; + } + + export interface JobTaskAddLinkedAttachmentParams { + jobId: number; + attachmentType: number; + path: string; + user: string; + } + + export interface JobTaskAddLinkedRecordParams { + jobId: number; + tableName: string; + user: string; + } + + export interface JobTaskAssignJobsParams { + jobIds: number[]; + assignedType: string; + assignedTo: string; + user: string; + } + + export interface JobTaskCloseJobsParams { + jobIds: number[]; + user: string; + } + + export interface JobTaskCreateDependencyParams { + jobId: number; + heldOnType: string; + heldOnValue: number; + depJobId: number; + depOnType: string; + depOnValue: number; + user: string; + } + + export interface JobTaskCreateHoldParams { + jobId: number; + holdTypeId: number; + comments: string; + user: string; + } + + export interface JobTaskCreateJobVersionParams { + jobId: number; + name: string; + parent: string; + user: string; + } + + export interface JobTaskDeleteAttachmentParams { + jobId: number; + attachmentId: number; + user: string; + } + + export interface JobTaskDeleteDependencyParams { + jobId: number; + dependencyId: number; + user: string; + } + + export interface JobTaskDeleteJobsParams { + jobIds: number[]; + deleteHistory?: boolean; + user: string; + } + + export interface JobTaskDeleteLinkedRecordParams { + jobId: number; + tableName: string; + recordId: number; + user: string; + } + + export interface JobTaskGetAttachmentContentUrlParams { + jobId: number; + attachmentId: number; + } + + export interface JobTaskListFieldValuesParams { + jobId: number; + tableName: string; + field: string; + user: string; + } + + export interface JobTaskListMultiLevelFieldValuesParams { + field: string; + previousSelectedValues: string[]; + user: string; + } + + export interface JobTaskLogActionParams { + jobId: number; + activityTypeId: number; + comments: string; + user: string; + } + + export interface JobTaskQueryJobsParams { + queryId: number; + user: string; + } + + export interface JobTaskQueryMultiLevelSelectedValuesParams { + field: string; + user: string; + } + + export interface JobTaskReleaseHoldParams { + jobId: number; + holdId: number; + } + + export interface JobTaskReopenClosedJobsParams { + jobIds: number[]; + user: string; + } + + export interface JobTaskSearchJobsParams { + text: string; + user: string; + } + + export interface JobTaskUnassignJobsParams { + jobIds: number[]; + user: string; + } + + export interface JobTaskUpdateNotesParams { + jobId: number; + notes: string; + user: string; + } + + export interface JobTaskUpdateRecordParams { + jobId: number; + record: AuxRecordDescription; + user: string; + } + + export interface JobUpdateParameters { + ownedBy: string; + assignedTo: string; + dataWorkspaceId: string; + description: string; + dueDate: Date; + loi: Geometry; + jobId: number; + name: string; + assignedType: string; + parentJobId: number; + parentVersion: string; + percent: number; + priority: number; + startDate: Date; + status: number; + versionName: string; + user: string; + } + + export interface JobVersionInfo { + dataWorkspaceId: string; + name: string; + parent: string; + created: boolean; + owner: string; + } + + export interface QueryFieldInfo { + alias: string; + length: string; + name: string; + type: string; + } + + export interface QueryResult { + fields: QueryFieldInfo[]; + rows: string[]; + } + interface NotificationTask extends Task { url: string; - addChangeRule(params: NotificationTaskAddChangeRuleParams, requestOptions?: any): IPromise<any>; - deleteChangeRule(params: NotificationTaskDeleteChangeRuleParams, requestOptions?: any): IPromise<any>; - getAllChangeRules(requestOptions?: any): IPromise<any>; - getChangeRule(ruleId: string, requestOptions?: any): IPromise<any>; - getChangeRuleMatch(matchId: string, requestOptions?: any): IPromise<any>; - getDatabaseTime(dataWorkspaceId: string, requestOptions?: any): IPromise<any>; - getSessionMatches(sessionId: string, requestOptions?: any): IPromise<any>; - notifySession(params: NotificationTaskNotifySessionParams, requestOptions?: any): IPromise<any>; - queryChangeRules(params: NotificationTaskQueryChangeRulesParams, requestOptions?: any): IPromise<any>; - runSpatialNotificationOnHistory(params: NotificationTaskRunSpatialNotificationOnHistoryParams, requestOptions?: any): IPromise<any>; - sendNotification(params: NotificationTaskSendNotificationParams, requestOptions?: any): IPromise<any>; - subscribeToNotification(params: NotificationTaskSubscribeToNotificationParams, requestOptions?: any): IPromise<any>; - unsubscribeFromNotification(params: NotificationTaskUnsubscribeFromNotificationParams, requestOptions?: any): IPromise<any>; + addChangeRule(params: NotificationTaskAddChangeRuleParams, requestOptions?: any): IPromise<ChangeRule>; + deleteChangeRule(params: NotificationTaskDeleteChangeRuleParams, requestOptions?: any): IPromise<boolean>; + getAllChangeRules(requestOptions?: any): IPromise<ChangeRule>; + getChangeRule(ruleId: string, requestOptions?: any): IPromise<ChangeRule>; + getChangeRuleMatch(matchId: string, requestOptions?: any): IPromise<ChangeRule>; + getDatabaseTime(dataWorkspaceId: string, requestOptions?: any): IPromise<Date>; + getSessionMatches(sessionId: string, requestOptions?: any): IPromise<ChangeRuleMatch>; + notifySession(params: NotificationTaskNotifySessionParams, requestOptions?: any): IPromise<boolean>; + queryChangeRules(params: NotificationTaskQueryChangeRulesParams, requestOptions?: any): IPromise<ChangeRule>; + runSpatialNotificationOnHistory(params: NotificationTaskRunSpatialNotificationOnHistoryParams, requestOptions?: any): IPromise<string>; + sendNotification(params: NotificationTaskSendNotificationParams, requestOptions?: any): IPromise<boolean>; + subscribeToNotification(params: NotificationTaskSubscribeToNotificationParams, requestOptions?: any): IPromise<boolean>; + unsubscribeFromNotification(params: NotificationTaskUnsubscribeFromNotificationParams, requestOptions?: any): IPromise<boolean>; } interface NotificationTaskConstructor { @@ -7248,14 +7797,135 @@ declare namespace __esri { url?: string; } + export interface AOIEvaluator { + aoi: Polygon; + inverse: boolean; + name: string; + relation: string; + type: string; + useJobAOI: boolean; + } + + export interface ChangeRule { + description: string; + evaluators: any[]; + id: number; + name: string; + notifier: any; + summarize: boolean; + } + + export interface ChangeRuleMatch { + changeTime: Date; + changeType: string; + dataset: string; + dataWorkspaceId: string; + id: string; + jobID: string; + ruleID: string; + } + + export interface DatasetConfiguration { + changeCondition: number; + changeFields: string; + dataset: string; + dataWorkspaceId: string; + name: string; + whereConditions: WhereCondition[]; + } + + export interface DataSetEvaluator { + dataSetConfigurations: DatasetConfiguration[]; + name: string; + type: string; + } + + export interface EmailNotifier { + attachJobAttachments: boolean; + message: string; + name: string; + senderEmail: string; + senderName: string; + subject: string; + subscribers: string[]; + type: string; + } + + export interface NotificationTaskAddChangeRuleParams { + rule: ChangeRule; + user: string; + } + + export interface NotificationTaskDeleteChangeRuleParams { + ruleId: string; + user: string; + } + + export interface NotificationTaskNotifySessionParams { + sessionid: string; + deleteAfter: boolean; + user: string; + } + + export interface NotificationTaskQueryChangeRulesParams { + name: string; + description: string; + searchType: string; + user: string; + } + + export interface NotificationTaskRunSpatialNotificationOnHistoryParams { + dataWorkspaceId: string; + from: Date; + to: Date; + logMatches: boolean; + send: boolean; + user: string; + } + + export interface NotificationTaskSendNotificationParams { + jobId: number; + notificationType: string; + user: string; + } + + export interface NotificationTaskSubscribeToNotificationParams { + notificationTypeId: number; + email: string; + user: string; + } + + export interface NotificationTaskUnsubscribeFromNotificationParams { + notificationTypeId: number; + email: string; + user: string; + } + + export interface NotificationType { + attachJobAttachments: boolean; + id: number; + message: string; + senderEmail: string; + senderName: string; + subject: string; + subscribers: string[]; + type: string; + } + + export interface WhereCondition { + compareValue: any; + field: string; + operator: string; + } + interface ReportTask extends Task { url: string; - generateReport(params: ReportTaskGenerateReportParams, requestOptions?: any): IPromise<any>; - getAllReports(requestOptions?: any): IPromise<any>; + generateReport(params: ReportTaskGenerateReportParams, requestOptions?: any): IPromise<string>; + getAllReports(requestOptions?: any): IPromise<Report>; getReportContentUrl(params: ReportTaskGetReportContentUrlParams): string; - getReportData(params: ReportTaskGetReportDataParams, requestOptions?: any): IPromise<any>; - getReportStylesheet(reportId: number, requestOptions?: any): IPromise<any>; + getReportData(params: ReportTaskGetReportDataParams, requestOptions?: any): IPromise<ReportData>; + getReportStylesheet(reportId: number, requestOptions?: any): IPromise<string>; } interface ReportTaskConstructor { @@ -7268,8 +7938,45 @@ declare namespace __esri { url?: string; } + export interface Report { + description: string; + hierarchy: string; + id: number; + name: string; + title: string; + } + + export interface ReportData { + columns: string[]; + description: string; + groups: ReportDataGroup[]; + title: string; + } + + export interface ReportDataGroup { + aggregateLabel: string; + aggregateValue: string; + row: string[]; + value: string; + } + + export interface ReportTaskGenerateReportParams { + reportId: number; + user: string; + } + + export interface ReportTaskGetReportContentUrlParams { + reportId: number; + user: number; + } + + export interface ReportTaskGetReportDataParams { + reportId: number; + user: string; + } + interface TokenTask extends Task { - parseTokens(params: TokenTaskParseTokensParams, requestOptions?: any): IPromise<any>; + parseTokens(params: TokenTaskParseTokensParams, requestOptions?: any): IPromise<string>; } interface TokenTaskConstructor { @@ -7282,23 +7989,29 @@ declare namespace __esri { } + export interface TokenTaskParseTokensParams { + jobId: any; + stringToParse: string; + user: string; + } + interface WorkflowTask extends Task { url: string; - canRunStep(params: WorkflowTaskCanRunStepParams, requestOptions?: any): IPromise<any>; - executeSteps(params: WorkflowTaskExecuteStepsParams, requestOptions?: any): IPromise<any>; - getAllSteps(jobId: number, requestOptions?: any): IPromise<any>; - getCurrentSteps(jobId: number, requestOptions?: any): IPromise<any>; - getStep(params: WorkflowTaskGetStepParams, requestOptions?: any): IPromise<any>; - getStepDescription(params: WorkflowTaskGetStepDescriptionParams, requestOptions?: any): IPromise<any>; + canRunStep(params: WorkflowTaskCanRunStepParams, requestOptions?: any): IPromise<string>; + executeSteps(params: WorkflowTaskExecuteStepsParams, requestOptions?: any): IPromise<ExecuteInfo>; + getAllSteps(jobId: number, requestOptions?: any): IPromise<Step>; + getCurrentSteps(jobId: number, requestOptions?: any): IPromise<Step>; + getStep(params: WorkflowTaskGetStepParams, requestOptions?: any): IPromise<Step>; + getStepDescription(params: WorkflowTaskGetStepDescriptionParams, requestOptions?: any): IPromise<string>; getStepFileUrl(params: WorkflowTaskGetStepFileUrlParams): string; - getWorkflowDisplayDetails(jobId: number, requestOptions?: any): IPromise<any>; + getWorkflowDisplayDetails(jobId: number, requestOptions?: any): IPromise<WorkflowDisplayDetails>; getWorkflowImageUrl(jobId: number): string; - markStepsAsDone(params: WorkflowTaskMarkStepsAsDoneParams, requestOptions?: any): IPromise<any>; - moveToNextStep(params: WorkflowTaskMoveToNextStepParams, requestOptions?: any): IPromise<any>; - recreateWorkflow(params: WorkflowTaskRecreateWorkflowParams, requestOptions?: any): IPromise<any>; - resolveConflict(params: WorkflowTaskResolveConflictParams, requestOptions?: any): IPromise<any>; - setCurrentStep(params: WorkflowTaskSetCurrentStepParams, requestOptions?: any): IPromise<any>; + markStepsAsDone(params: WorkflowTaskMarkStepsAsDoneParams, requestOptions?: any): IPromise<ExecuteInfo>; + moveToNextStep(params: WorkflowTaskMoveToNextStepParams, requestOptions?: any): IPromise<boolean>; + recreateWorkflow(params: WorkflowTaskRecreateWorkflowParams, requestOptions?: any): IPromise<boolean>; + resolveConflict(params: WorkflowTaskResolveConflictParams, requestOptions?: any): IPromise<boolean>; + setCurrentStep(params: WorkflowTaskSetCurrentStepParams, requestOptions?: any): IPromise<boolean>; } interface WorkflowTaskConstructor { @@ -7311,19 +8024,622 @@ declare namespace __esri { url?: string; } - interface MapView extends View { + export interface ExecuteInfo { + conflicts: WorkflowConflicts; + errorCode: number; + errorDescription: string; + executionResult: string; + hasConflicts: boolean; + hasReturnCode: boolean; + jobID: number; + returnCode: number; + stepID: number; + threwError: boolean; + } + + export interface Step { + hasBeenExecuted: boolean; + assignedTo: string; + async: boolean; + autoRun: boolean; + canSkip: boolean; + canSpawnConcurrency: boolean; + commonId: number; + defaultPercentComplete: number; + assignedType: string; + hasBeenStarted: boolean; + id: number; + name: string; + selfCheck: boolean; + statusId: number; + stepPercentComplete: number; + notificationType: string; + stepType: StepType; + } + + export interface StepType { + program: string; + arguments: string; + executionType: string; + id: number; + name: string; + description: string; + stepDescriptionLink: string; + stepDescriptionType: string; + stepIndicatorType: string; + supportedPlatform: string; + visible: boolean; + } + + export interface WorkflowAnnotationDisplayDetails { + centerX: number; + centerY: number; + fillColor: Color; + height: number; + label: string; + labelColor: Color; + OutlineColor: Color; + width: number; + } + + export interface WorkflowConflicts { + jobID: number; + options: WorkflowOption[]; + spawnsConcurrency: boolean; + stepId: number; + } + + export interface WorkflowDisplayDetails { + annotations: WorkflowAnnotationDisplayDetails[]; + paths: WorkflowPathDisplayDetails[]; + steps: WorkflowStepDisplayDetails[]; + } + + export interface WorkflowOption { + returnCode: number; + steps: WorkflowStepInfo[]; + } + + export interface WorkflowPathDisplayDetails { + destStepId: number; + sourceStepID: number; + label: string; + labelColor: Color; + labelX: number; + labelY: number; + lineColor: Color; + pathObject: any; + } + + export interface WorkflowStepDisplayDetails { + labelColor: Color; + centerX: number; + fillColor: Color; + height: number; + label: string; + centerY: number; + OutlineColor: Color; + shape: string; + stepId: number; + stepType: string; + width: number; + } + + export interface WorkflowStepInfo { + id: number; + name: string; + } + + export interface WorkflowTaskCanRunStepParams { + jobId: number; + stepId: number; + user: string; + } + + export interface WorkflowTaskExecuteStepsParams { + jobId: number; + stepIds: number[]; + auto: boolean; + user: string; + } + + export interface WorkflowTaskGetStepDescriptionParams { + jobId: number; + stepId: number; + } + + export interface WorkflowTaskGetStepFileUrlParams { + jobId: number; + stepId: number; + } + + export interface WorkflowTaskGetStepParams { + jobId: number; + stepId: number; + } + + export interface WorkflowTaskMarkStepsAsDoneParams { + jobId: number; + stepIds: number[]; + user: string; + } + + export interface WorkflowTaskMoveToNextStepParams { + jobId: number; + stepId: number; + returnCode: number; + user: string; + } + + export interface WorkflowTaskRecreateWorkflowParams { + jobId: number; + user: string; + } + + export interface WorkflowTaskResolveConflictParams { + jobId: number; + stepId: number; + optionReturnCode: number; + optionStepIds: number[]; + user: string; + } + + export interface WorkflowTaskSetCurrentStepParams { + jobId: number; + stepId: number; + user: string; + } + + interface Viewpoint extends Accessor, JSONSupport { + camera: Camera; + rotation: number; + scale: number; + targetGeometry: Geometry; + + clone(): Viewpoint; + } + + interface ViewpointConstructor { + new(properties?: ViewpointProperties): Viewpoint; + + fromJSON(json: any): Viewpoint; + } + + export const Viewpoint: ViewpointConstructor; + + interface ViewpointProperties { + camera?: CameraProperties; + rotation?: number; + scale?: number; + targetGeometry?: GeometryProperties; + } + + interface Draw extends Accessor { + activeAction: PointDrawAction | PolygonDrawAction | PolylineDrawAction; + view: MapView; + + create(drawAction: string): PointDrawAction | PolygonDrawAction | PolylineDrawAction; + } + + interface DrawConstructor { + new(properties?: DrawProperties): Draw; + } + + export const Draw: DrawConstructor; + + interface DrawProperties { + activeAction?: PointDrawActionProperties | PolygonDrawActionProperties | PolylineDrawActionProperties; + view?: MapViewProperties; + } + + interface PointDrawAction extends Accessor, Evented { + view: MapView; + + complete(): void; + } + + interface PointDrawActionConstructor { + new(properties?: PointDrawActionProperties): PointDrawAction; + } + + export const PointDrawAction: PointDrawActionConstructor; + + interface PointDrawActionProperties { + view?: MapViewProperties; + } + + interface PolygonDrawAction extends Accessor, Evented { + vertices: number[][]; + view: MapView; + + canRedo(): boolean; + canUndo(): boolean; + complete(): void; + redo(): void; + undo(): void; + + on(name: "cursor-update", eventHandler: PolygonDrawActionCursorUpdateEventHandler): IHandle; + on(name: "cursor-update", modifiers: string[], eventHandler: PolygonDrawActionCursorUpdateEventHandler): IHandle; + on(name: "vertex-add", eventHandler: PolygonDrawActionVertexAddEventHandler): IHandle; + on(name: "vertex-add", modifiers: string[], eventHandler: PolygonDrawActionVertexAddEventHandler): IHandle; + on(name: "vertex-remove", eventHandler: PolygonDrawActionVertexRemoveEventHandler): IHandle; + on(name: "vertex-remove", modifiers: string[], eventHandler: PolygonDrawActionVertexRemoveEventHandler): IHandle; + on(name: "draw-complete", eventHandler: PolygonDrawActionDrawCompleteEventHandler): IHandle; + on(name: "draw-complete", modifiers: string[], eventHandler: PolygonDrawActionDrawCompleteEventHandler): IHandle; + } + + interface PolygonDrawActionConstructor { + new(properties?: PolygonDrawActionProperties): PolygonDrawAction; + } + + export const PolygonDrawAction: PolygonDrawActionConstructor; + + interface PolygonDrawActionProperties { + vertices?: number[][]; + view?: MapViewProperties; + } + + export interface PolygonDrawActionCursorUpdateEvent { + defaultPrevented: boolean; + preventDefault: Function; + type: string; + vertexIndex: number; + vertices: number[][]; + } + + export interface PolygonDrawActionDrawCompleteEvent { + defaultPrevented: boolean; + preventDefault: Function; + type: string; + vertices: number[][]; + } + + export interface PolygonDrawActionVertexAddEvent { + defaultPrevented: boolean; + preventDefault: Function; + type: string; + vertexIndex: number; + vertices: number[][]; + } + + export interface PolygonDrawActionVertexRemoveEvent { + defaultPrevented: boolean; + preventDefault: Function; + type: string; + vertexIndex: number; + vertices: number[][]; + } + + interface PolylineDrawAction extends Accessor, Evented { + vertices: number[][]; + view: MapView; + + canRedo(): boolean; + canUndo(): boolean; + complete(): void; + redo(): void; + undo(): void; + + on(name: "cursor-update", eventHandler: PolylineDrawActionCursorUpdateEventHandler): IHandle; + on(name: "cursor-update", modifiers: string[], eventHandler: PolylineDrawActionCursorUpdateEventHandler): IHandle; + on(name: "vertex-add", eventHandler: PolylineDrawActionVertexAddEventHandler): IHandle; + on(name: "vertex-add", modifiers: string[], eventHandler: PolylineDrawActionVertexAddEventHandler): IHandle; + on(name: "vertex-remove", eventHandler: PolylineDrawActionVertexRemoveEventHandler): IHandle; + on(name: "vertex-remove", modifiers: string[], eventHandler: PolylineDrawActionVertexRemoveEventHandler): IHandle; + on(name: "draw-complete", eventHandler: PolylineDrawActionDrawCompleteEventHandler): IHandle; + on(name: "draw-complete", modifiers: string[], eventHandler: PolylineDrawActionDrawCompleteEventHandler): IHandle; + } + + interface PolylineDrawActionConstructor { + new(properties?: PolylineDrawActionProperties): PolylineDrawAction; + } + + export const PolylineDrawAction: PolylineDrawActionConstructor; + + interface PolylineDrawActionProperties { + vertices?: number[][]; + view?: MapViewProperties; + } + + export interface PolylineDrawActionCursorUpdateEvent { + defaultPrevented: boolean; + preventDefault: Function; + type: string; + vertexIndex: number; + vertices: number[][]; + } + + export interface PolylineDrawActionDrawCompleteEvent { + defaultPrevented: boolean; + preventDefault: Function; + type: string; + vertices: number[][]; + } + + export interface PolylineDrawActionVertexAddEvent { + defaultPrevented: boolean; + preventDefault: Function; + type: string; + vertexIndex: number; + vertices: number[][]; + } + + export interface PolylineDrawActionVertexRemoveEvent { + defaultPrevented: boolean; + preventDefault: Function; + type: string; + vertexIndex: number; + vertices: number[][]; + } + + interface externalRenderers { + add(view: SceneView, renderer: ExternalRenderer): void; + fromRenderCoordinates(view: SceneView, srcCoordinates: number[] | any, srcStart: number, destCoordinates: number[] | any, destStart: number, destSpatialReference: SpatialReference, count: number): number[] | any; + remove(view: SceneView, renderer: ExternalRenderer): void; + renderCoordinateTransformAt(view: SceneView, origin: number[] | any, srcSpatialReference?: SpatialReference, dest?: number[] | any): number[] | any; + requestRender(view: SceneView): void; + toRenderCoordinates(view: SceneView, srcCoordinates: number[] | any, srcStart: number, srcSpatialReference: SpatialReference, destCoordinates: number[] | any, destStart: number, count: number): number[] | any; + } + + export const externalRenderers: externalRenderers; + + export interface ColorAndIntensity { + color: any; + intensity: number; + } + + export interface ExternalRenderer { + setup(): void; + render(): void; + dispose(): void; + } + + export interface RenderCamera { + viewMatrix: any; + viewInverseTransposeMatrix: any; + projectionMatrix: any; + eye: any; + center: any; + up: any; + near: number; + far: number; + fovX: number; + fovY: number; + } + + export interface RenderContext { + gl: any; + camera: RenderCamera; + sunLight: SunLight; + + resetWebGLState(): void; + bindRenderTarget(): void; + } + + export interface SunLight { + direction: any; + diffuse: ColorAndIntensity; + ambient: ColorAndIntensity; + } + + interface BreakpointsOwner { + breakpoints: BreakpointsOwnerBreakpoints; + heightBreakpoint: string; + orientation: string; + widthBreakpoint: string; + } + + interface BreakpointsOwnerConstructor { + new(): BreakpointsOwner; + } + + export const BreakpointsOwner: BreakpointsOwnerConstructor; + + interface BreakpointsOwnerProperties { + breakpoints?: BreakpointsOwnerBreakpoints; + heightBreakpoint?: string; + orientation?: string; + widthBreakpoint?: string; + } + + export interface BreakpointsOwnerBreakpoints { + xsmall: number; + small: number; + medium: number; + large: number; + } + + interface DOMContainer { + container: HTMLDivElement | string; + height: number; + popup: Popup; + resizing: boolean; + size: number[]; + suspended: boolean; + ui: DefaultUI; + width: number; + } + + interface DOMContainerConstructor { + new(): DOMContainer; + } + + export const DOMContainer: DOMContainerConstructor; + + interface DOMContainerProperties { + container?: HTMLDivElement | string; + height?: number; + popup?: PopupProperties; + resizing?: boolean; + size?: number[]; + suspended?: boolean; + ui?: DefaultUIProperties; + width?: number; + } + + interface CSVLayerView extends LayerView { + highlight(target?: Graphic | Graphic[]): any; + queryExtent(params?: Query): IPromise<any>; + queryFeatureCount(params?: Query): IPromise<number>; + queryFeatures(params?: Query): IPromise<Graphic[]>; + queryObjectIds(params?: Query): IPromise<number[]>; + } + + interface CSVLayerViewConstructor { + new(properties?: CSVLayerViewProperties): CSVLayerView; + } + + export const CSVLayerView: CSVLayerViewConstructor; + + interface CSVLayerViewProperties extends LayerViewProperties { + + } + + interface FeatureLayerView extends LayerView { + highlight(target?: Graphic | Graphic[] | number | number[]): any; + queryExtent(params?: Query): IPromise<any>; + queryFeatureCount(params?: Query): IPromise<number>; + queryFeatures(params?: Query): IPromise<Graphic[]>; + queryObjectIds(params?: Query): IPromise<number[]>; + } + + interface FeatureLayerViewConstructor { + new(properties?: FeatureLayerViewProperties): FeatureLayerView; + } + + export const FeatureLayerView: FeatureLayerViewConstructor; + + interface FeatureLayerViewProperties extends LayerViewProperties { + + } + + interface GraphicsLayerView extends LayerView { + highlight(target?: Graphic | Graphic[] | number | number[]): any; + queryGraphics(): IPromise<Graphic[]>; + } + + interface GraphicsLayerViewConstructor { + new(properties?: GraphicsLayerViewProperties): GraphicsLayerView; + } + + export const GraphicsLayerView: GraphicsLayerViewConstructor; + + interface GraphicsLayerViewProperties extends LayerViewProperties { + + } + + interface ImageryLayerView extends LayerView { + pixelData: ImageryLayerViewPixelData; + } + + interface ImageryLayerViewConstructor { + new(properties?: ImageryLayerViewProperties): ImageryLayerView; + } + + export const ImageryLayerView: ImageryLayerViewConstructor; + + interface ImageryLayerViewProperties extends LayerViewProperties { + pixelData?: ImageryLayerViewPixelData; + } + + export interface ImageryLayerViewPixelData { + extent?: Extent; + pixelBlock: PixelBlock; + } + + interface LayerView extends Accessor, corePromise { + layer: Layer; + suspended: boolean; + updating: boolean; + visible: boolean; + } + + interface LayerViewConstructor { + new(properties?: LayerViewProperties): LayerView; + } + + export const LayerView: LayerViewConstructor; + + interface LayerViewProperties { + layer?: LayerProperties; + suspended?: boolean; + updating?: boolean; + visible?: boolean; + } + + interface SceneLayerView extends LayerView { + highlight(target?: Graphic | Graphic[] | number | number[]): any; + queryExtent(params?: Query): IPromise<any>; + queryFeatureCount(params?: Query): IPromise<number>; + queryFeatures(params?: Query): IPromise<FeatureSet>; + queryObjectIds(params?: Query): IPromise<number[]>; + } + + interface SceneLayerViewConstructor { + new(properties?: SceneLayerViewProperties): SceneLayerView; + } + + export const SceneLayerView: SceneLayerViewConstructor; + + interface SceneLayerViewProperties extends LayerViewProperties { + + } + + interface StreamLayerView extends LayerView, Evented { + connectionError: Error; + connectionStatus: string; + filter: StreamLayerViewFilter; + graphics: Collection<Graphic>; + + connect(): IPromise<any>; + disconnect(): void; + updateFilter(filter: StreamLayerViewUpdateFilterFilter): IPromise<any>; + + on(name: "data-received", eventHandler: StreamLayerViewDataReceivedEventHandler): IHandle; + on(name: "data-received", modifiers: string[], eventHandler: StreamLayerViewDataReceivedEventHandler): IHandle; + } + + interface StreamLayerViewConstructor { + new(properties?: StreamLayerViewProperties): StreamLayerView; + } + + export const StreamLayerView: StreamLayerViewConstructor; + + interface StreamLayerViewProperties extends LayerViewProperties { + connectionError?: Error; + connectionStatus?: string; + filter?: StreamLayerViewFilter; + graphics?: CollectionProperties<GraphicProperties>; + } + + export interface StreamLayerViewDataReceivedEvent { + } + + export interface StreamLayerViewFilter { + geometry?: Extent; + where?: string; + } + + export interface StreamLayerViewUpdateFilterFilter { + geometry?: Extent; + where?: string; + } + + interface MapView extends View, BreakpointsOwner { center: Point; constraints: MapViewConstraints; extent: Extent; + highlightOptions: MapViewHighlightOptions; resizeAlign: string; rotation: number; scale: number; viewpoint: Viewpoint; zoom: number; - goTo(target: number[] | Geometry | Geometry[] | Graphic | Graphic[] | Viewpoint | any, options?: MapViewGoToOptions): IPromise<any>; + focus(): void; + goTo(target: number[] | Geometry | Geometry[] | Graphic | Graphic[] | Viewpoint | MapViewGoToTarget, options?: MapViewGoToOptions): IPromise<ViewAnimation>; hasEventListener(type: string): boolean; - hitTest(screenPoint: MapViewHitTestScreenPoint): IPromise<any>; + hitTest(screenPoint: MapViewHitTestScreenPoint): IPromise<HitTestResult>; on(type: string | string[], modifiersOrHandler: string[] | EventHandler, handler?: EventHandler): IHandle; toMap(screenPoint: MapViewToMapScreenPoint): Point; toScreen(point: Point, screenPoint?: ScreenPoint): ScreenPoint; @@ -7362,10 +8678,11 @@ declare namespace __esri { export const MapView: MapViewConstructor; - interface MapViewProperties extends ViewProperties { + interface MapViewProperties extends ViewProperties, BreakpointsOwnerProperties { center?: PointProperties; constraints?: MapViewConstraints; extent?: ExtentProperties; + highlightOptions?: MapViewHighlightOptions; resizeAlign?: string; rotation?: number; scale?: number; @@ -7373,7 +8690,185 @@ declare namespace __esri { zoom?: number; } - interface SceneView extends View { + export interface MapViewClickEvent { + button: number; + mapPoint: Point; + native: any; + stopPropagation: Function; + timestamp: number; + type: string; + x: number; + y: number; + } + + export interface MapViewDoubleClickEvent { + button: number; + mapPoint: Point; + native: any; + stopPropagation: Function; + timestamp: number; + type: string; + x: number; + y: number; + } + + export interface MapViewDragEvent { + action: string; + native: any; + origin: MapViewDragEventOrigin; + stopPropagation: Function; + timestamp: number; + type: string; + x: number; + y: number; + } + + export interface HitTestResult { + results: HitTestResultResults[]; + } + + export interface MapViewHoldEvent { + button: number; + mapPoint: Point; + native: any; + stopPropagation: Function; + timestamp: number; + type: string; + x: number; + y: number; + } + + export interface MapViewKeyDownEvent { + key: string; + native: any; + repeat: boolean; + stopPropagation: Function; + timestamp: number; + type: string; + } + + export interface MapViewKeyUpEvent { + native: any; + stopPropagation: Function; + timestamp: number; + type: string; + } + + export interface MapViewLayerviewCreateEvent { + layer: Layer; + layerView: LayerView; + } + + export interface MapViewLayerviewDestroyEvent { + layer: Layer; + layerView: LayerView; + } + + export interface MapViewConstraints { + lods?: LOD[]; + minScale?: number; + maxScale?: number; + minZoom?: number; + maxZoom?: number; + snapToZoom?: boolean; + rotationEnabled?: boolean; + effectiveLODs?: LOD[]; + effectiveMinZoom?: number; + effectiveMaxZoom?: number; + effectiveMinScale?: number; + effectiveMaxScale?: number; + } + + export interface MapViewGoToOptions { + animate?: boolean; + duration?: number; + easing?: string | Function; + } + + export interface MapViewGoToTarget { + target?: number[] | Geometry | Geometry[] | Graphic | Graphic[] | Viewpoint; + center?: number[]; + scale?: number; + zoom?: number; + } + + export interface MapViewHighlightOptions { + color?: Color; + haloOpacity?: number; + fillOpacity?: number; + } + + export interface MapViewHitTestScreenPoint { + x: number; + y: number; + } + + export interface MapViewToMapScreenPoint { + x: number; + y: number; + } + + export interface MapViewMouseWheelEvent { + deltaY: number; + native: any; + stopPropagation: Function; + timestamp: number; + type: string; + x: number; + y: number; + } + + export interface MapViewPointerDownEvent { + native: any; + pointerId: number; + pointerType: string; + stopPropagation: Function; + timestamp: number; + type: string; + x: number; + y: number; + } + + export interface MapViewPointerMoveEvent { + native: any; + pointerId: number; + pointerType: string; + stopPropagation: Function; + timestamp: number; + type: string; + x: number; + y: number; + } + + export interface MapViewPointerUpEvent { + native: any; + pointerId: number; + pointerType: string; + stopPropagation: Function; + timestamp: number; + type: string; + x: number; + y: number; + } + + export interface MapViewResizeEvent { + height: number; + oldHeight: number; + oldWidth: number; + width: number; + } + + export interface MapViewDragEventOrigin { + x: number; + y: number; + } + + export interface HitTestResultResults { + graphic: Graphic; + mapPoint: Point; + } + + interface SceneView extends View, BreakpointsOwner { camera: Camera; center: Point; clippingArea: Extent; @@ -7387,9 +8882,10 @@ declare namespace __esri { viewpoint: Viewpoint; zoom: number; - goTo(target: number[] | Geometry | Geometry[] | Graphic | Graphic[] | Viewpoint | Camera | any, options?: SceneViewGoToOptions): IPromise<any>; + focus(): void; + goTo(target: number[] | Geometry | Geometry[] | Graphic | Graphic[] | Viewpoint | Camera | SceneViewGoToTarget, options?: SceneViewGoToOptions): IPromise<any>; hasEventListener(type: string): boolean; - hitTest(screenPoint: SceneViewHitTestScreenPoint): IPromise<any>; + hitTest(screenPoint: SceneViewHitTestScreenPoint): IPromise<SceneViewHitTestResult>; on(type: string | string[], modifiersOrHandler: string[] | EventHandler, handler?: EventHandler): IHandle; toMap(screenPoint: SceneViewToMapScreenPoint, mapPoint?: Point): Point; toScreen(point: Point, screenPoint?: ScreenPoint): ScreenPoint; @@ -7428,7 +8924,7 @@ declare namespace __esri { export const SceneView: SceneViewConstructor; - interface SceneViewProperties extends ViewProperties { + interface SceneViewProperties extends ViewProperties, BreakpointsOwnerProperties { camera?: CameraProperties; center?: PointProperties; clippingArea?: ExtentProperties; @@ -7443,12 +8939,318 @@ declare namespace __esri { zoom?: number; } - interface View extends Accessor, corePromise, BreakpointsOwner, DOMContainer { - allLayerViews: Collection; + export interface SceneViewClickEvent { + button: number; + mapPoint: Point; + native: any; + stopPropagation: Function; + timestamp: number; + type: string; + x: number; + y: number; + } + + export interface SceneViewDoubleClickEvent { + button: number; + mapPoint: Point; + native: any; + stopPropagation: Function; + timestamp: number; + type: string; + x: number; + y: number; + } + + export interface SceneViewDragEvent { + action: string; + native: any; + origin: SceneViewDragEventOrigin; + stopPropagation: Function; + timestamp: number; + type: string; + x: number; + y: number; + } + + export type EasingFunction = (t: number, duration: number) => number; + + export interface SceneViewHitTestResult { + results: SceneViewHitTestResultResults[]; + } + + export interface SceneViewHoldEvent { + button: number; + mapPoint: Point; + native: any; + stopPropagation: Function; + timestamp: number; + type: string; + x: number; + y: number; + } + + export interface SceneViewKeyDownEvent { + key: string; + native: any; + repeat: boolean; + stopPropagation: Function; + timestamp: number; + type: string; + } + + export interface SceneViewKeyUpEvent { + native: any; + stopPropagation: Function; + timestamp: number; + type: string; + } + + export interface SceneViewLayerviewCreateEvent { + layer: Layer; + layerView: LayerView; + } + + export interface SceneViewLayerviewDestroyEvent { + layer: Layer; + layerView: LayerView; + } + + export interface SceneViewMouseWheelEvent { + deltaY: number; + native: any; + stopPropagation: Function; + timestamp: number; + type: string; + x: number; + y: number; + } + + export interface SceneViewPointerDownEvent { + native: any; + pointerId: number; + pointerType: string; + stopPropagation: Function; + timestamp: number; + type: string; + x: number; + y: number; + } + + export interface SceneViewPointerMoveEvent { + native: any; + pointerId: number; + pointerType: string; + stopPropagation: Function; + timestamp: number; + type: string; + x: number; + y: number; + } + + export interface SceneViewPointerUpEvent { + native: any; + pointerId: number; + pointerType: string; + stopPropagation: Function; + timestamp: number; + type: string; + x: number; + y: number; + } + + export interface SceneViewResizeEvent { + height: number; + oldHeight: number; + oldWidth: number; + width: number; + } + + export interface SceneViewConstraintsProperties { + altitude?: SceneViewConstraintsAltitudeProperties; + clipDistance?: SceneViewConstraintsClipDistanceProperties; + collision?: SceneViewConstraintsCollision; + tilt?: SceneViewConstraintsTiltProperties; + } + export interface SceneViewConstraints extends Accessor { + altitude?: SceneViewConstraintsAltitude; + clipDistance?: SceneViewConstraintsClipDistance; + collision?: SceneViewConstraintsCollision; + tilt?: SceneViewConstraintsTilt; + } + + export interface SceneViewConstraintsAltitudeProperties { + min?: number; + max?: number; + } + export interface SceneViewConstraintsAltitude extends Accessor { + min?: number; + max?: number; + } + + export interface SceneViewConstraintsClipDistanceProperties { + near?: number; + far?: number; + mode?: string; + } + export interface SceneViewConstraintsClipDistance extends Accessor { + near?: number; + far?: number; + mode?: string; + } + + export interface SceneViewConstraintsCollision { + enabled?: boolean; + } + + export interface SceneViewConstraintsTiltProperties { + max?: number; + mode?: string; + } + export interface SceneViewConstraintsTilt extends Accessor { + max?: number; + mode?: string; + } + + export interface SceneViewEnvironmentProperties { + lighting?: SceneViewEnvironmentLightingProperties; + atmosphereEnabled?: boolean; + atmosphere?: SceneViewEnvironmentAtmosphereProperties; + starsEnabled?: boolean; + } + export interface SceneViewEnvironment extends Accessor { + lighting?: SceneViewEnvironmentLighting; + atmosphereEnabled?: boolean; + atmosphere?: SceneViewEnvironmentAtmosphere; + starsEnabled?: boolean; + } + + export interface SceneViewEnvironmentAtmosphereProperties { + quality?: string; + } + export interface SceneViewEnvironmentAtmosphere extends Accessor { + quality?: string; + } + + export interface SceneViewEnvironmentLightingProperties { + date?: DateProperties; + directShadowsEnabled?: boolean; + ambientOcclusionEnabled?: boolean; + cameraTrackingEnabled?: boolean; + } + export interface SceneViewEnvironmentLighting extends Accessor { + date?: Date; + directShadowsEnabled?: boolean; + ambientOcclusionEnabled?: boolean; + cameraTrackingEnabled?: boolean; + } + + export interface SceneViewGoToOptions { + animate?: boolean; + speedFactor?: number; + duration?: number; + maxDuration?: number; + easing?: string | EasingFunction; + } + + export interface SceneViewGoToTarget { + target?: number[] | Geometry | Geometry[] | Graphic | Graphic[] | Viewpoint | Camera; + center?: number[]; + scale?: number; + zoom?: number; + heading?: number; + tilt?: number; + position?: number; + } + + export interface SceneViewHighlightOptions { + color?: Color; + haloOpacity?: number; + fillOpacity?: number; + } + + export interface SceneViewHitTestScreenPoint { + x: number; + y: number; + } + + export interface SceneViewToMapScreenPoint { + x: number; + y: number; + } + + export interface SceneViewDragEventOrigin { + x: number; + y: number; + } + + export interface SceneViewHitTestResultResults { + graphic: Graphic; + mapPoint: Point; + } + + interface DefaultUI extends UI { + components: string[]; + } + + interface DefaultUIConstructor { + new(properties?: DefaultUIProperties): DefaultUI; + } + + export const DefaultUI: DefaultUIConstructor; + + interface DefaultUIProperties extends UIProperties { + components?: string[]; + } + + interface UI extends Accessor { + container: HTMLElement; + height: number; + padding: any | number; + view: MapView | SceneView; + width: number; + + add(component: Widget | HTMLElement | string | any[] | UIAddComponent, position?: string | UIAddPosition): void; + empty(position?: string): void; + move(component: Widget | HTMLElement | string | any[] | UIMoveComponent, position?: string): void; + remove(component: Widget | HTMLElement | string | any[]): void; + } + + interface UIConstructor { + new(properties?: UIProperties): UI; + } + + export const UI: UIConstructor; + + interface UIProperties { + container?: HTMLElement; + height?: number; + padding?: any | number; + view?: MapViewProperties | SceneViewProperties; + width?: number; + } + + export interface UIAddComponent { + component: Widget | HTMLElement | string; + position?: string; + index?: number; + } + + export interface UIAddPosition { + position?: string; + index: number; + } + + export interface UIMoveComponent { + component: Widget | HTMLElement | string; + position?: string; + } + + interface View extends Accessor, corePromise, DOMContainer { + allLayerViews: Collection<LayerView>; animation: ViewAnimation; - graphics: Collection; + graphics: Collection<Graphic>; interacting: boolean; - layerViews: Collection; + layerViews: Collection<LayerView>; map: Map; padding: ViewPadding; ready: boolean; @@ -7457,7 +9259,7 @@ declare namespace __esri { type: string; updating: boolean; - whenLayerView(layer: Layer): IPromise<any>; + whenLayerView(layer: Layer): IPromise<LayerView>; } interface ViewConstructor { @@ -7466,12 +9268,12 @@ declare namespace __esri { export const View: ViewConstructor; - interface ViewProperties extends BreakpointsOwnerProperties, DOMContainerProperties { - allLayerViews?: Collection | any[]; + interface ViewProperties extends DOMContainerProperties { + allLayerViews?: CollectionProperties<LayerViewProperties>; animation?: ViewAnimationProperties; - graphics?: Collection | any[]; + graphics?: CollectionProperties<GraphicProperties>; interacting?: boolean; - layerViews?: Collection | any[]; + layerViews?: CollectionProperties<LayerViewProperties>; map?: MapProperties; padding?: ViewPadding; ready?: boolean; @@ -7481,6 +9283,13 @@ declare namespace __esri { updating?: boolean; } + export interface ViewPadding { + left?: number; + top?: number; + right?: number; + bottom?: number; + } + interface ViewAnimation extends Accessor, corePromise { state: string; target: Viewpoint; @@ -7500,182 +9309,47 @@ declare namespace __esri { target?: ViewpointProperties; } - interface LayerView extends Accessor, corePromise { - layer: Layer; - suspended: boolean; - updating: boolean; - visible: boolean; + interface WebMap extends Map, corePromise { + applicationProperties: any; + bookmarks: any[]; + initialViewProperties: InitialViewProperties; + loaded: boolean; + loadError: Error; + loadStatus: string; + portalItem: PortalItem; + presentation: any; + sourceVersion: WebMapSourceVersion; + tables: any[]; + widgets: any; + + load(): IPromise<any>; } - interface LayerViewConstructor { - new(properties?: LayerViewProperties): LayerView; + interface WebMapConstructor { + new(properties?: WebMapProperties): WebMap; } - export const LayerView: LayerViewConstructor; + export const WebMap: WebMapConstructor; - interface LayerViewProperties { - layer?: LayerProperties; - suspended?: boolean; - updating?: boolean; - visible?: boolean; - } - - interface CSVLayerView extends LayerView { - highlight(target?: Graphic | Graphic[]): any; - queryExtent(params?: Query): IPromise<any>; - queryFeatureCount(params?: Query): IPromise<any>; - queryFeatures(params?: Query): IPromise<any>; - queryObjectIds(params?: Query): IPromise<any>; - } - - interface CSVLayerViewConstructor { - new(properties?: CSVLayerViewProperties): CSVLayerView; - } - - export const CSVLayerView: CSVLayerViewConstructor; - - interface CSVLayerViewProperties extends LayerViewProperties { - - } - - interface FeatureLayerView extends LayerView { - highlight(target?: Graphic | Graphic[] | number | number[]): any; - queryExtent(params?: Query): IPromise<any>; - queryFeatureCount(params?: Query): IPromise<any>; - queryFeatures(params?: Query): IPromise<any>; - queryObjectIds(params?: Query): IPromise<any>; - } - - interface FeatureLayerViewConstructor { - new(properties?: FeatureLayerViewProperties): FeatureLayerView; - } - - export const FeatureLayerView: FeatureLayerViewConstructor; - - interface FeatureLayerViewProperties extends LayerViewProperties { - - } - - interface GraphicsLayerView extends LayerView { - highlight(target?: Graphic | Graphic[] | number | number[]): any; - queryGraphics(): IPromise<any>; - } - - interface GraphicsLayerViewConstructor { - new(properties?: GraphicsLayerViewProperties): GraphicsLayerView; - } - - export const GraphicsLayerView: GraphicsLayerViewConstructor; - - interface GraphicsLayerViewProperties extends LayerViewProperties { - - } - - interface ImageryLayerView extends LayerView { - pixelData: ImageryLayerViewPixelData; - } - - interface ImageryLayerViewConstructor { - new(properties?: ImageryLayerViewProperties): ImageryLayerView; - } - - export const ImageryLayerView: ImageryLayerViewConstructor; - - interface ImageryLayerViewProperties extends LayerViewProperties { - pixelData?: ImageryLayerViewPixelData; - } - - interface SceneLayerView extends LayerView { - highlight(target?: Graphic | Graphic[] | number | number[]): any; - queryExtent(params?: Query): IPromise<any>; - queryFeatureCount(params?: Query): IPromise<any>; - queryFeatures(params?: Query): IPromise<any>; - queryObjectIds(params?: Query): IPromise<any>; - } - - interface SceneLayerViewConstructor { - new(properties?: SceneLayerViewProperties): SceneLayerView; - } - - export const SceneLayerView: SceneLayerViewConstructor; - - interface SceneLayerViewProperties extends LayerViewProperties { - - } - - interface StreamLayerView extends Accessor, Evented { - connectionError: Error; - connectionStatus: string; - filter: StreamLayerViewFilter; - graphics: Collection; - - connect(): IPromise<any>; - disconnect(): void; - updateFilter(filter: StreamLayerViewUpdateFilterFilter): IPromise<any>; - - on(name: "data-received", eventHandler: StreamLayerViewDataReceivedEventHandler): IHandle; - on(name: "data-received", modifiers: string[], eventHandler: StreamLayerViewDataReceivedEventHandler): IHandle; - } - - interface StreamLayerViewConstructor { - new(properties?: StreamLayerViewProperties): StreamLayerView; - } - - export const StreamLayerView: StreamLayerViewConstructor; - - interface StreamLayerViewProperties { - connectionError?: Error; - connectionStatus?: string; - filter?: StreamLayerViewFilter; - graphics?: Collection | any[]; - } - - interface UI extends Accessor { - container: any; - height: number; - padding: any; - view: MapView | SceneView; - width: number; - - add(component: Widget | any | string | any | any, position?: string | any): void; - empty(position?: string): void; - move(component: Widget | any | string | any | any, position?: string): void; - remove(component: any | any[]): void; - } - - interface UIConstructor { - new(properties?: UIProperties): UI; - } - - export const UI: UIConstructor; - - interface UIProperties { - container?: any; - height?: number; - padding?: any | number; - view?: MapView | SceneView; - width?: number; - } - - interface DefaultUI extends UI { - components: string[]; - } - - interface DefaultUIConstructor { - new(properties?: DefaultUIProperties): DefaultUI; - } - - export const DefaultUI: DefaultUIConstructor; - - interface DefaultUIProperties extends UIProperties { - components?: string[]; + interface WebMapProperties extends MapProperties { + applicationProperties?: any; + bookmarks?: any[]; + initialViewProperties?: InitialViewPropertiesProperties; + loaded?: boolean; + loadError?: Error; + loadStatus?: string; + portalItem?: PortalItemProperties; + presentation?: any; + sourceVersion?: WebMapSourceVersion; + tables?: any[]; + widgets?: any; } interface InitialViewProperties extends Accessor, corePromise { spatialReference: SpatialReference; viewpoint: Viewpoint; - clone(): this; + clone(): InitialViewProperties; } interface InitialViewPropertiesConstructor { @@ -7689,10 +9363,56 @@ declare namespace __esri { viewpoint?: ViewpointProperties; } + export interface WebMapSourceVersion { + major: number; + minor: number; + } + + interface WebScene extends Map, corePromise { + clippingArea: Extent; + clippingEnabled: boolean; + heightModelInfo: HeightModelInfo; + initialViewProperties: websceneInitialViewProperties; + loaded: boolean; + loadError: Error; + loadStatus: string; + portalItem: PortalItem; + presentation: Presentation; + sourceVersion: WebSceneSourceVersion; + + load(): IPromise<any>; + save(options?: WebSceneSaveOptions): IPromise<PortalItem>; + saveAs(portalItem: PortalItem, options?: WebSceneSaveAsOptions): IPromise<PortalItem>; + toJSON(): any; + updateFrom(view: SceneView, options?: WebSceneUpdateFromOptions): void; + } + + interface WebSceneConstructor { + new(properties?: WebSceneProperties): WebScene; + + + fromJSON(json: any): any; + } + + export const WebScene: WebSceneConstructor; + + interface WebSceneProperties extends MapProperties { + clippingArea?: ExtentProperties; + clippingEnabled?: boolean; + heightModelInfo?: HeightModelInfoProperties; + initialViewProperties?: websceneInitialViewPropertiesProperties; + loaded?: boolean; + loadError?: Error; + loadStatus?: string; + portalItem?: PortalItemProperties; + presentation?: PresentationProperties; + sourceVersion?: WebSceneSourceVersion; + } + interface Environment extends Accessor { lighting: Lighting; - clone(): this; + clone(): Environment; } interface EnvironmentConstructor { @@ -7711,7 +9431,7 @@ declare namespace __esri { viewingMode: string; viewpoint: Viewpoint; - clone(): this; + clone(): websceneInitialViewProperties; } interface websceneInitialViewPropertiesConstructor { @@ -7732,7 +9452,7 @@ declare namespace __esri { directShadowsEnabled: boolean; displayUTCOffset: number; - clone(): this; + clone(): Lighting; } interface LightingConstructor { @@ -7742,15 +9462,15 @@ declare namespace __esri { export const Lighting: LightingConstructor; interface LightingProperties { - date?: Date; + date?: DateProperties; directShadowsEnabled?: boolean; displayUTCOffset?: number; } interface Presentation extends Accessor { - slides: Collection; + slides: Collection<Slide>; - clone(): this; + clone(): Presentation; } interface PresentationConstructor { @@ -7760,42 +9480,119 @@ declare namespace __esri { export const Presentation: PresentationConstructor; interface PresentationProperties { - slides?: Collection | any[]; + slides?: CollectionProperties<SlideProperties>; } interface Slide extends Accessor { - basemap: Basemap; + basemap: Basemap | string; description: SlideDescription; environment: Environment; id: string; thumbnail: SlideThumbnail; title: SlideTitle; viewpoint: Viewpoint; - visibleLayers: SlideVisibleLayers; + visibleLayers: Collection<SlideVisibleLayers>; - applyTo(view: SceneView, options?: SlideApplyToOptions): IPromise<any>; - clone(): this; - updateFrom(view: SceneView, options?: SlideUpdateFromOptions): IPromise<any>; + applyTo(view: SceneView, options?: SlideApplyToOptions): IPromise<Slide>; + clone(): Slide; + updateFrom(view: SceneView, options?: SlideUpdateFromOptions): IPromise<Slide>; } interface SlideConstructor { new(properties?: SlideProperties): Slide; - createFrom(view: SceneView, options?: SlideCreateFromOptions): IPromise<any>; + createFrom(view: SceneView, options?: SlideCreateFromOptions): IPromise<Slide>; } export const Slide: SlideConstructor; interface SlideProperties { - basemap?: Basemap | string; + basemap?: BasemapProperties | string; description?: SlideDescriptionProperties; environment?: EnvironmentProperties; id?: string; thumbnail?: SlideThumbnailProperties; title?: SlideTitleProperties; viewpoint?: ViewpointProperties; - visibleLayers?: SlideVisibleLayers; + visibleLayers?: CollectionProperties<SlideVisibleLayersProperties>; + } + + export interface SlideApplyToOptions { + animate: boolean; + speedFactor?: number; + duration?: number; + maxDuration?: number; + easing?: string | EasingFunction; + } + + export interface SlideCreateFromOptions { + screenshot: SlideCreateFromOptionsScreenshot; + } + + export interface SlideCreateFromOptionsScreenshot { + format: string; + quality: number; + width: number; + height: number; + } + + export interface SlideDescriptionProperties { + text?: string; + } + export interface SlideDescription extends Accessor { + text?: string; + } + + export interface SlideThumbnailProperties { + url?: string; + } + export interface SlideThumbnail extends Accessor { + url?: string; + } + + export interface SlideTitleProperties { + text?: string; + } + export interface SlideTitle extends Accessor { + text?: string; + } + + export interface SlideUpdateFromOptions { + screenshot: SlideUpdateFromOptionsScreenshot; + } + + export interface SlideUpdateFromOptionsScreenshot { + format: string; + quality: number; + width: number; + height: number; + } + + export interface SlideVisibleLayersProperties { + id?: string; + } + export interface SlideVisibleLayers extends Accessor { + id: string; + } + + export interface WebSceneSaveAsOptions { + folder?: PortalFolder; + ignoreUnsupported?: boolean; + } + + export interface WebSceneSaveOptions { + ignoreUnsupported?: boolean; + } + + export interface WebSceneSourceVersion { + major: number; + minor: number; + } + + export interface WebSceneUpdateFromOptions { + environmentExcluded?: boolean; + viewpointExcluded?: boolean; } interface Attribution extends Widget { @@ -7812,10 +9609,23 @@ declare namespace __esri { export const Attribution: AttributionConstructor; interface AttributionProperties extends WidgetProperties { - view?: MapView | SceneView; + view?: MapViewProperties | SceneViewProperties; viewModel?: AttributionViewModel; } + interface AttributionViewModel { + attributionText: string; + itemDelimiter: string; + state: string; + view: MapView | SceneView; + } + + interface AttributionViewModelConstructor { + new(properties?: any): AttributionViewModel; + } + + export const AttributionViewModel: AttributionViewModelConstructor; + interface BasemapGallery extends Widget { activeBasemap: Basemap; source: LocalBasemapsSource | PortalBasemapsSource; @@ -7834,13 +9644,63 @@ declare namespace __esri { interface BasemapGalleryProperties extends WidgetProperties { activeBasemap?: BasemapProperties; source?: LocalBasemapsSource | PortalBasemapsSource; - view?: MapView | SceneView; + view?: MapViewProperties | SceneViewProperties; viewModel?: BasemapGalleryViewModelProperties; } + interface BasemapGalleryItem { + basemap: Basemap; + error: Error; + state: string; + view: MapView | SceneView; + } + + export const BasemapGalleryItem: BasemapGalleryItem; + + interface BasemapGalleryViewModel extends Accessor { + activeBasemap: Basemap; + items: Collection<BasemapGalleryItem>; + source: LocalBasemapsSource | PortalBasemapsSource; + state: string; + view: MapView | SceneView; + + basemapEquals(basemap1: Basemap, basemap2: Basemap): boolean; + } + + interface BasemapGalleryViewModelConstructor { + new(properties?: BasemapGalleryViewModelProperties): BasemapGalleryViewModel; + } + + export const BasemapGalleryViewModel: BasemapGalleryViewModelConstructor; + + interface BasemapGalleryViewModelProperties { + activeBasemap?: BasemapProperties; + items?: CollectionProperties<BasemapGalleryItem>; + source?: LocalBasemapsSource | PortalBasemapsSource; + state?: string; + view?: MapViewProperties | SceneViewProperties; + } + + interface LocalBasemapsSource { + basemaps: Collection<Basemap>; + state: string; + } + + export const LocalBasemapsSource: LocalBasemapsSource; + + interface PortalBasemapsSource { + basemaps: Collection<Basemap>; + filterFunction: Function; + portal: Portal; + query: any | string; + state: string; + } + + export const PortalBasemapsSource: PortalBasemapsSource; + interface BasemapToggle extends Widget { activeBasemap: Basemap; - nextBasemap: Basemap; + nextBasemap: Basemap | string; titleVisible: boolean; view: MapView | SceneView; viewModel: BasemapToggleViewModel; @@ -7857,27 +9717,52 @@ declare namespace __esri { interface BasemapToggleProperties extends WidgetProperties { activeBasemap?: BasemapProperties; - nextBasemap?: Basemap | string; + nextBasemap?: BasemapProperties | string; titleVisible?: boolean; - view?: MapView | SceneView; + view?: MapViewProperties | SceneViewProperties; viewModel?: BasemapToggleViewModelProperties; } + interface BasemapToggleViewModel extends Accessor, Evented { + activeBasemap: Basemap; + nextBasemap: Basemap | string; + state: string; + view: MapView | SceneView; + + toggle(): void; + } + + interface BasemapToggleViewModelConstructor { + new(properties?: BasemapToggleViewModelProperties): BasemapToggleViewModel; + + + getThumbnailUrl(basemap: Basemap): string; + } + + export const BasemapToggleViewModel: BasemapToggleViewModelConstructor; + + interface BasemapToggleViewModelProperties { + activeBasemap?: BasemapProperties; + nextBasemap?: BasemapProperties | string; + state?: string; + view?: MapViewProperties | SceneViewProperties; + } + interface ColorSlider extends Accessor, Widgette { handlesVisible: boolean; - histogram: any; + histogram: HistogramResult; histogramVisible: boolean; histogramWidth: number; labelsVisible: boolean; maxValue: number; minValue: number; numHandles: number; - statistics: any; + statistics: ColorSliderStatistics; statisticsVisible: boolean; syncedHandles: boolean; ticksVisible: boolean; values: ColorSliderValues[]; - visualVariable: any; + visualVariable: ColorVisualVariable; } interface ColorSliderConstructor { @@ -7888,19 +9773,32 @@ declare namespace __esri { interface ColorSliderProperties extends WidgetteProperties { handlesVisible?: boolean; - histogram?: any; + histogram?: HistogramResult; histogramVisible?: boolean; histogramWidth?: number; labelsVisible?: boolean; maxValue?: number; minValue?: number; numHandles?: number; - statistics?: any; + statistics?: ColorSliderStatistics; statisticsVisible?: boolean; syncedHandles?: boolean; ticksVisible?: boolean; values?: ColorSliderValues[]; - visualVariable?: any; + visualVariable?: ColorVisualVariable; + } + + export interface ColorSliderStatistics { + avg: number; + max: number; + min: number; + stddev: number; + } + + export interface ColorSliderValues { + color: Color; + value: number; + label: string; } interface Compass extends Widget { @@ -7918,15 +9816,35 @@ declare namespace __esri { export const Compass: CompassConstructor; interface CompassProperties extends WidgetProperties { - view?: MapView | SceneView; + view?: MapViewProperties | SceneViewProperties; viewModel?: CompassViewModelProperties; } + interface CompassViewModel extends Accessor { + orientation: any; + state: string; + view: MapView | SceneView; + + reset(): void; + } + + interface CompassViewModelConstructor { + new(properties?: CompassViewModelProperties): CompassViewModel; + } + + export const CompassViewModel: CompassViewModelConstructor; + + interface CompassViewModelProperties { + orientation?: any; + state?: string; + view?: MapViewProperties | SceneViewProperties; + } + interface Expand extends Widget { autoCollapse: boolean; collapseIconClass: string; collapseTooltip: string; - content: any; + content: Node | string | Widget; expanded: boolean; expandIconClass: string; expandTooltip: string; @@ -7950,15 +9868,35 @@ declare namespace __esri { autoCollapse?: boolean; collapseIconClass?: string; collapseTooltip?: string; - content?: any | string | Widget; + content?: Node | string | WidgetProperties; expanded?: boolean; expandIconClass?: string; expandTooltip?: string; iconNumber?: string; - view?: MapView | SceneView; + view?: MapViewProperties | SceneViewProperties; viewModel?: ExpandViewModelProperties; } + interface ExpandViewModel extends Accessor { + autoCollapse: boolean; + expanded: boolean; + state: string; + view: MapView | SceneView; + } + + interface ExpandViewModelConstructor { + new(properties?: ExpandViewModelProperties): ExpandViewModel; + } + + export const ExpandViewModel: ExpandViewModelConstructor; + + interface ExpandViewModelProperties { + autoCollapse?: boolean; + expanded?: boolean; + state?: string; + view?: MapViewProperties | SceneViewProperties; + } + interface Home extends Widget { view: MapView | SceneView; viewModel: HomeViewModel; @@ -7975,15 +9913,36 @@ declare namespace __esri { export const Home: HomeConstructor; interface HomeProperties extends WidgetProperties { - view?: MapView | SceneView; + view?: MapViewProperties | SceneViewProperties; viewModel?: HomeViewModelProperties; viewpoint?: ViewpointProperties; } + interface HomeViewModel extends Accessor, Evented { + state: string; + view: MapView | SceneView; + viewpoint: Viewpoint; + + go(): void; + } + + interface HomeViewModelConstructor { + new(properties?: HomeViewModelProperties): HomeViewModel; + } + + export const HomeViewModel: HomeViewModelConstructor; + + interface HomeViewModelProperties { + state?: string; + view?: MapViewProperties | SceneViewProperties; + viewpoint?: ViewpointProperties; + } + interface LayerList extends Widget { createActionsFunction: Function; listItemCreatedFunction: Function; - operationalItems: Collection; + operationalItems: Collection<ListItem>; + statusIndicatorsVisible: boolean; view: MapView | SceneView; viewModel: LayerListViewModel; @@ -8000,11 +9959,61 @@ declare namespace __esri { interface LayerListProperties extends WidgetProperties { createActionsFunction?: Function; listItemCreatedFunction?: Function; - operationalItems?: Collection | any[]; - view?: MapView | SceneView; + operationalItems?: CollectionProperties<ListItem>; + statusIndicatorsVisible?: boolean; + view?: MapViewProperties | SceneViewProperties; viewModel?: LayerListViewModelProperties; } + interface LayerListViewModel extends Accessor { + createActionsFunction: Function; + listItemCreatedFunction: Function; + operationalItems: Collection<ListItem>; + state: string; + view: MapView | SceneView; + + triggerAction(action: Action, item: ListItem): void; + } + + interface LayerListViewModelConstructor { + new(properties?: LayerListViewModelProperties): LayerListViewModel; + } + + export const LayerListViewModel: LayerListViewModelConstructor; + + interface LayerListViewModelProperties { + createActionsFunction?: Function; + listItemCreatedFunction?: Function; + operationalItems?: CollectionProperties<ListItem>; + state?: string; + view?: MapViewProperties | SceneViewProperties; + } + + interface ListItem { + actionsOpen: boolean; + actionsSections: Collection<Collection<Action>>; + children: Collection<ListItem>; + error: Error; + layer: Layer; + layerView: LayerView; + open: boolean; + parent: ListItem; + title: string; + updating: boolean; + view: MapView | SceneView; + visibilityMode: string; + visible: boolean; + visibleAtCurrentScale: boolean; + + clone(): ListItem; + } + + interface ListItemConstructor { + new(): ListItem; + } + + export const ListItem: ListItemConstructor; + interface Legend extends Widget { layerInfos: LegendLayerInfos[]; view: MapView | SceneView; @@ -8020,7 +10029,12 @@ declare namespace __esri { interface LegendProperties extends WidgetProperties { layerInfos?: LegendLayerInfos[]; - view?: MapView | SceneView; + view?: MapViewProperties | SceneViewProperties; + } + + export interface LegendLayerInfos { + title?: string; + layer: Layer; } interface Locate extends Widget { @@ -8044,10 +10058,26 @@ declare namespace __esri { geolocationOptions?: any; goToLocationEnabled?: boolean; graphic?: GraphicProperties; - view?: MapView | SceneView; + view?: MapViewProperties | SceneViewProperties; viewModel?: LocateViewModelProperties; } + interface LocateViewModel extends Accessor, Evented, GeolocationPositioning { + state: string; + + locate(): IPromise<any>; + } + + interface LocateViewModelConstructor { + new(properties?: LocateViewModelProperties): LocateViewModel; + } + + export const LocateViewModel: LocateViewModelConstructor; + + interface LocateViewModelProperties extends GeolocationPositioningProperties { + state?: string; + } + interface NavigationToggle extends Widget { layout: string; view: SceneView; @@ -8069,9 +10099,31 @@ declare namespace __esri { viewModel?: NavigationToggleViewModelProperties; } - interface Popup extends Accessor, Widgette, Evented { - actions: Collection; - content: string; + interface NavigationToggleViewModel extends Accessor { + navigationMode: string; + state: string; + view: SceneView; + + toggle(): void; + } + + interface NavigationToggleViewModelConstructor { + new(properties?: NavigationToggleViewModelProperties): NavigationToggleViewModel; + } + + export const NavigationToggleViewModel: NavigationToggleViewModelConstructor; + + interface NavigationToggleViewModelProperties { + navigationMode?: string; + state?: string; + view?: SceneViewProperties; + } + + interface Popup extends Widget, Evented { + actions: Collection<Action>; + autoCloseEnabled: boolean; + collapsed: boolean; + content: string | Node; currentDockPosition: string; dockEnabled: boolean; dockOptions: PopupDockOptions; @@ -8085,12 +10137,14 @@ declare namespace __esri { title: string; view: MapView | SceneView; viewModel: PopupViewModel; + visible: boolean; clear(): void; close(): void; next(): PopupViewModel; open(options?: PopupOpenOptions): void; previous(): PopupViewModel; + render(): any; reposition(): void; triggerAction(actionIndex: number): void; } @@ -8101,9 +10155,11 @@ declare namespace __esri { export const Popup: PopupConstructor; - interface PopupProperties extends WidgetteProperties { - actions?: Collection | any[]; - content?: string | any; + interface PopupProperties extends WidgetProperties { + actions?: CollectionProperties<ActionProperties>; + autoCloseEnabled?: boolean; + collapsed?: boolean; + content?: string | Node; currentDockPosition?: string; dockEnabled?: boolean; dockOptions?: PopupDockOptions; @@ -8115,8 +10171,80 @@ declare namespace __esri { selectedFeature?: GraphicProperties; selectedFeatureIndex?: number; title?: string; - view?: MapView | SceneView; + view?: MapViewProperties | SceneViewProperties; viewModel?: PopupViewModelProperties; + visible?: boolean; + } + + interface PopupViewModel extends Accessor, Evented { + actions: Collection<Collection<Action>>; + autoCloseEnabled: boolean; + content: string | Node; + featureCount: number; + features: Graphic[]; + highlightEnabled: boolean; + location: Point; + pendingPromisesCount: number; + promiseCount: number; + promises: IPromise<any>[]; + selectedFeature: Graphic; + selectedFeatureIndex: number; + state: string; + title: string; + view: MapView | SceneView; + visible: boolean; + + clear(): void; + next(): PopupViewModel; + previous(): PopupViewModel; + triggerAction(actionIndex: number): void; + } + + interface PopupViewModelConstructor { + new(properties?: PopupViewModelProperties): PopupViewModel; + } + + export const PopupViewModel: PopupViewModelConstructor; + + interface PopupViewModelProperties { + actions?: CollectionProperties<CollectionProperties<ActionProperties>>; + autoCloseEnabled?: boolean; + content?: string | Node; + featureCount?: number; + features?: GraphicProperties[]; + highlightEnabled?: boolean; + location?: PointProperties; + pendingPromisesCount?: number; + promiseCount?: number; + promises?: IPromise<any>[]; + selectedFeature?: GraphicProperties; + selectedFeatureIndex?: number; + state?: string; + title?: string; + view?: MapViewProperties | SceneViewProperties; + visible?: boolean; + } + + export interface PopupDockOptions { + breakpoint?: boolean | PopupDockOptionsBreakpoint; + buttonEnabled?: boolean; + position?: string | Function; + } + + export interface PopupDockOptionsBreakpoint { + width?: number; + height?: number; + } + + export interface PopupOpenOptions { + title?: string; + content?: string; + location?: Geometry; + features?: Graphic[]; + promises?: IPromise<any>[]; + featureMenuOpen?: boolean; + updateLocationEnabled?: boolean; + collapsed?: boolean; } interface Print extends Widget { @@ -8139,6 +10267,26 @@ declare namespace __esri { viewModel?: PrintViewModelProperties; } + interface PrintViewModel extends Accessor { + printServiceUrl: string; + updateDelay: number; + view: MapView; + + print(printTemplate: PrintTemplate): IPromise<any>; + } + + interface PrintViewModelConstructor { + new(properties?: PrintViewModelProperties): PrintViewModel; + } + + export const PrintViewModel: PrintViewModelConstructor; + + interface PrintViewModelProperties { + printServiceUrl?: string; + updateDelay?: number; + view?: MapViewProperties; + } + interface ScaleBar extends Widget { style: string; unit: string; @@ -8161,12 +10309,26 @@ declare namespace __esri { viewModel?: ScaleBarViewModelProperties; } + interface ScaleBarViewModel extends Accessor { + view: MapView; + } + + interface ScaleBarViewModelConstructor { + new(properties?: ScaleBarViewModelProperties): ScaleBarViewModel; + } + + export const ScaleBarViewModel: ScaleBarViewModelConstructor; + + interface ScaleBarViewModelProperties { + view?: MapViewProperties; + } + interface Search extends Widget { activeSource: FeatureLayer | Locator; activeSourceIndex: number; allPlaceholder: string; autoSelect: boolean; - defaultSource: any | any; + defaultSource: LocatorSource | FeatureLayerSource; maxResults: number; maxSuggestions: number; minSuggestCharacters: number; @@ -8179,9 +10341,9 @@ declare namespace __esri { searchAllEnabled: boolean; searching: boolean; searchTerm: string; - selectedResult: any; - sources: Collection; - suggestions: any[]; + selectedResult: SearchResult; + sources: Collection<FeatureLayerSource | LocatorSource>; + suggestions: SuggestResult[]; suggestionsEnabled: boolean; view: MapView | SceneView; viewModel: SearchViewModel; @@ -8190,8 +10352,8 @@ declare namespace __esri { clear(): void; focus(): void; render(): any; - search(searchTerm?: string | Geometry | any | number[][]): IPromise<any>; - suggest(value?: string): IPromise<any>; + search(searchTerm?: string | Geometry | SuggestResult | number[][]): IPromise<SearchResponse>; + suggest(value?: string): IPromise<SuggestResponse>; } interface SearchConstructor { @@ -8201,11 +10363,11 @@ declare namespace __esri { export const Search: SearchConstructor; interface SearchProperties extends WidgetProperties { - activeSource?: FeatureLayer | Locator; + activeSource?: FeatureLayerProperties | LocatorProperties; activeSourceIndex?: number; allPlaceholder?: string; autoSelect?: boolean; - defaultSource?: any | any; + defaultSource?: LocatorSource | FeatureLayerSource; maxResults?: number; maxSuggestions?: number; minSuggestCharacters?: number; @@ -8218,17 +10380,366 @@ declare namespace __esri { searchAllEnabled?: boolean; searching?: boolean; searchTerm?: string; - selectedResult?: any; - sources?: Collection | any[]; - suggestions?: any[]; + selectedResult?: SearchResult; + sources?: CollectionProperties<FeatureLayerSource | LocatorSource>; + suggestions?: SuggestResult[]; suggestionsEnabled?: boolean; - view?: MapView | SceneView; + view?: MapViewProperties | SceneViewProperties; viewModel?: SearchViewModelProperties; } + interface SearchViewModel extends Accessor, Evented { + activeSource: FeatureLayer | Locator; + activeSourceIndex: number; + allPlaceholder: string; + autoSelect: boolean; + defaultSource: SearchViewModelFeatureLayerSource | SearchViewModelLocatorSource; + maxInputLength: number; + maxResults: number; + maxSuggestions: number; + minSuggestCharacters: number; + placeholder: string; + popupEnabled: boolean; + popupOpenOnSelect: boolean; + popupTemplate: PopupTemplate; + resultGraphic: Graphic; + resultGraphicEnabled: boolean; + results: any[]; + searchAllEnabled: boolean; + searchTerm: string; + selectedResult: any; + sources: Collection<FeatureLayerSource | LocatorSource>; + suggestionDelay: number; + suggestions: SearchViewModelSuggestResult[]; + suggestionsEnabled: boolean; + view: MapView | SceneView; + + clear(): void; + search(searchTerm?: string | Geometry | SearchViewModelSuggestResult | number[][]): IPromise<SearchViewModelSearchResponse>; + suggest(value?: string): IPromise<SearchViewModelSuggestResponse>; + + on(name: "search-clear", eventHandler: SearchViewModelSearchClearEventHandler): IHandle; + on(name: "search-clear", modifiers: string[], eventHandler: SearchViewModelSearchClearEventHandler): IHandle; + on(name: "search-start", eventHandler: SearchViewModelSearchStartEventHandler): IHandle; + on(name: "search-start", modifiers: string[], eventHandler: SearchViewModelSearchStartEventHandler): IHandle; + on(name: "suggest-start", eventHandler: SearchViewModelSuggestStartEventHandler): IHandle; + on(name: "suggest-start", modifiers: string[], eventHandler: SearchViewModelSuggestStartEventHandler): IHandle; + on(name: "load", eventHandler: SearchViewModelLoadEventHandler): IHandle; + on(name: "load", modifiers: string[], eventHandler: SearchViewModelLoadEventHandler): IHandle; + on(name: "search-complete", eventHandler: SearchViewModelSearchCompleteEventHandler): IHandle; + on(name: "search-complete", modifiers: string[], eventHandler: SearchViewModelSearchCompleteEventHandler): IHandle; + on(name: "select-result", eventHandler: SearchViewModelSelectResultEventHandler): IHandle; + on(name: "select-result", modifiers: string[], eventHandler: SearchViewModelSelectResultEventHandler): IHandle; + on(name: "suggest-complete", eventHandler: SearchViewModelSuggestCompleteEventHandler): IHandle; + on(name: "suggest-complete", modifiers: string[], eventHandler: SearchViewModelSuggestCompleteEventHandler): IHandle; + } + + interface SearchViewModelConstructor { + new(properties?: SearchViewModelProperties): SearchViewModel; + } + + export const SearchViewModel: SearchViewModelConstructor; + + interface SearchViewModelProperties { + activeSource?: FeatureLayerProperties | LocatorProperties; + activeSourceIndex?: number; + allPlaceholder?: string; + autoSelect?: boolean; + defaultSource?: SearchViewModelFeatureLayerSource | SearchViewModelLocatorSource; + maxInputLength?: number; + maxResults?: number; + maxSuggestions?: number; + minSuggestCharacters?: number; + placeholder?: string; + popupEnabled?: boolean; + popupOpenOnSelect?: boolean; + popupTemplate?: PopupTemplateProperties; + resultGraphic?: GraphicProperties; + resultGraphicEnabled?: boolean; + results?: any[]; + searchAllEnabled?: boolean; + searchTerm?: string; + selectedResult?: any; + sources?: CollectionProperties<FeatureLayerSource | LocatorSource>; + suggestionDelay?: number; + suggestions?: SearchViewModelSuggestResult[]; + suggestionsEnabled?: boolean; + view?: MapViewProperties | SceneViewProperties; + } + + export interface SearchViewModelFeatureLayerSource { + popup: Popup; + autoNavigate: boolean; + exactMatch: boolean; + featureLayer: FeatureLayer; + filter: SearchViewModelFeatureLayerSourceFilter; + maxResults: number; + maxSuggestions: number; + minSuggestCharacters: number; + name: string; + outFields: string[]; + placeholder: string; + displayField: string; + popupEnabled: boolean; + popupOpenOnSelect: boolean; + prefix: string; + resultGraphicEnabled: boolean; + resultSymbol: Symbol; + searchFields: string[]; + suffix: string; + suggestionsEnabled: boolean; + suggestionTemplate: string; + withinViewEnabled: boolean; + zoomScale: number; + } + + export interface SearchViewModelLoadEvent { + } + + export interface SearchViewModelLocatorSource { + placeholder: string; + autoNavigate: boolean; + countryCode: string; + filter: SearchViewModelLocatorSourceFilter; + localSearchOptions: SearchViewModelLocatorSourceLocalSearchOptions; + locationToAddressDistance: number; + locator: Locator; + maxResults: number; + maxSuggestions: number; + minSuggestCharacters: number; + name: string; + outFields: string[]; + categories: string[]; + popup: Popup; + popupEnabled: boolean; + popupOpenOnSelect: boolean; + prefix: string; + resultGraphicEnabled: boolean; + resultSymbol: Symbol; + searchTemplate: string; + singleLineFieldName: string; + suggestionsEnabled: boolean; + suffix: string; + withinViewEnabled: boolean; + zoomScale: number; + } + + export interface SearchViewModelSearchClearEvent { + } + + export interface SearchViewModelSearchCompleteEvent { + activeSourceIndex: number; + errors: Error[]; + numResults: number; + results: SearchViewModelSearchCompleteEventResults[]; + searchTerm: string; + } + + export interface SearchViewModelSearchResponse { + activeSourceIndex: number; + errors: Error[]; + numResults: number; + searchTerm: string; + results: SearchViewModelSearchResponseResults[]; + } + + export interface SearchViewModelSearchResult { + extent: Extent; + feature: Graphic; + name: string; + } + + export interface SearchViewModelSearchStartEvent { + } + + export interface SearchViewModelSelectResultEvent { + result: SearchViewModelSelectResultEventResult; + source: any; + sourceIndex: number; + } + + export interface SearchViewModelSuggestCompleteEvent { + activeSourceIndex: number; + errors: Error[]; + numResults: number; + results: SearchViewModelSuggestCompleteEventResults[]; + searchTerm: string; + } + + export interface SearchViewModelSuggestResponse { + activeSourceIndex: number; + errors: Error[]; + numResults: number; + searchTerm: string; + results: SearchViewModelSuggestResponseResults[]; + } + + export interface SearchViewModelSuggestResult { + key: string; + text: string; + sourceIndex: number; + } + + export interface SearchViewModelSuggestStartEvent { + } + + export interface SearchViewModelFeatureLayerSourceFilter { + where: string; + geometry: Geometry; + } + + export interface SearchViewModelLocatorSourceFilter { + where: string; + geometry: Geometry; + } + + export interface SearchViewModelLocatorSourceLocalSearchOptions { + distance: number; + minScale: number; + } + + export interface SearchViewModelSearchCompleteEventResults { + results: SearchResult[]; + sourceIndex: number; + source: any[]; + } + + export interface SearchViewModelSearchResponseResults { + results: SearchViewModelSearchResult[]; + sourceIndex: number; + source: any; + } + + export interface SearchViewModelSelectResultEventResult { + extent: Extent; + feature: Graphic; + name: string; + } + + export interface SearchViewModelSuggestCompleteEventResults { + results: SearchViewModelSuggestResult[]; + sourceIndex: number; + source: any; + } + + export interface SearchViewModelSuggestResponseResults { + results: SearchViewModelSuggestResult[]; + sourceIndex: number; + source: any; + } + + export interface FeatureLayerSource { + popup: Popup; + autoNavigate: boolean; + exactMatch: boolean; + featureLayer: FeatureLayer; + filter: FeatureLayerSourceFilter; + maxResults: number; + maxSuggestions: number; + minSuggestCharacters: number; + name: string; + outFields: string[]; + placeholder: string; + displayField: string; + popupEnabled: boolean; + popupOpenOnSelect: boolean; + prefix: string; + resultGraphicEnabled: boolean; + resultSymbol: Symbol; + searchFields: string[]; + suffix: string; + suggestionsEnabled: boolean; + suggestionTemplate: string; + withinViewEnabled: boolean; + zoomScale: number; + } + + export interface LocatorSource { + placeholder: string; + autoNavigate: boolean; + countryCode: string; + filter: LocatorSourceFilter; + localSearchOptions: LocatorSourceLocalSearchOptions; + locationToAddressDistance: number; + locator: Locator; + maxResults: number; + maxSuggestions: number; + minSuggestCharacters: number; + name: string; + outFields: string[]; + categories: string[]; + popup: Popup; + popupEnabled: boolean; + popupOpenOnSelect: boolean; + prefix: string; + resultGraphicEnabled: boolean; + resultSymbol: Symbol; + searchTemplate: string; + singleLineFieldName: string; + suggestionsEnabled: boolean; + suffix: string; + withinViewEnabled: boolean; + zoomScale: number; + } + + export interface SearchResponse { + activeSourceIndex: number; + errors: Error[]; + numResults: number; + searchTerm: string; + results: SearchResponseResults[]; + } + + export interface SearchResult { + extent: Extent; + feature: Graphic; + name: string; + } + + export interface SuggestResponse { + activeSourceIndex: number; + errors: Error[]; + numResults: number; + searchTerm: string; + results: SuggestResponseResults[]; + } + + export interface SuggestResult { + key: string; + text: string; + sourceIndex: number; + } + + export interface FeatureLayerSourceFilter { + where: string; + geometry: Geometry; + } + + export interface LocatorSourceFilter { + where: string; + geometry: Geometry; + } + + export interface LocatorSourceLocalSearchOptions { + distance: number; + minScale: number; + } + + export interface SearchResponseResults { + results: SearchResult[]; + sourceIndex: number; + source: any; + } + + export interface SuggestResponseResults { + results: SuggestResult[]; + sourceIndex: number; + source: any; + } + interface SizeSlider extends Accessor, Widgette { handlesVisible: boolean; - histogram: any; + histogram: HistogramResult; histogramVisible: boolean; histogramWidth: number; labelsVisible: boolean; @@ -8236,11 +10747,12 @@ declare namespace __esri { maxValue: number; minSize: number; minValue: number; - statistics: any; + statistics: SizeSliderStatistics; statisticsVisible: boolean; + symbol: SimpleMarkerSymbol | SimpleLineSymbol; ticksVisible: boolean; values: number[]; - visualVariable: any; + visualVariable: SizeVisualVariable; } interface SizeSliderConstructor { @@ -8251,7 +10763,7 @@ declare namespace __esri { interface SizeSliderProperties extends WidgetteProperties { handlesVisible?: boolean; - histogram?: any; + histogram?: HistogramResult; histogramVisible?: boolean; histogramWidth?: number; labelsVisible?: boolean; @@ -8259,13 +10771,77 @@ declare namespace __esri { maxValue?: number; minSize?: number; minValue?: number; - statistics?: any; + statistics?: SizeSliderStatistics; statisticsVisible?: boolean; + symbol?: SimpleMarkerSymbolProperties | SimpleLineSymbolProperties; ticksVisible?: boolean; values?: number[]; - visualVariable?: any; + visualVariable?: SizeVisualVariable; } + export interface SizeSliderStatistics { + avg?: number; + max: number; + min: number; + } + + interface SketchViewModel extends Accessor, Evented { + graphic: Graphic; + pointSymbol: SimpleMarkerSymbol; + polygonSymbol: SimpleFillSymbol; + polylineSymbol: SimpleLineSymbol; + state: string; + view: MapView; + + create(drawAction: string): void; + reset(): void; + } + + interface SketchViewModelConstructor { + new(properties?: SketchViewModelProperties): SketchViewModel; + } + + export const SketchViewModel: SketchViewModelConstructor; + + interface SketchViewModelProperties { + graphic?: GraphicProperties; + pointSymbol?: SimpleMarkerSymbolProperties; + polygonSymbol?: SimpleFillSymbolProperties; + polylineSymbol?: SimpleLineSymbolProperties; + state?: string; + view?: MapViewProperties; + } + + interface GeolocationPositioning { + geolocationOptions: any; + goToLocationEnabled: boolean; + graphic: Graphic; + view: MapView | SceneView; + } + + interface GeolocationPositioningConstructor { + new(): GeolocationPositioning; + } + + export const GeolocationPositioning: GeolocationPositioningConstructor; + + interface GeolocationPositioningProperties { + geolocationOptions?: any; + goToLocationEnabled?: boolean; + graphic?: GraphicProperties; + view?: MapViewProperties | SceneViewProperties; + } + + interface widget { + accessibleHandler(): Function; + join(...classNames: string[]): string; + renderable(propertyName?: string | string[]): Function; + tsx(selector: string, properties?: any, children?: any): any; + vmEvent(eventNames: string | string[]): Function; + } + + export const widget: widget; + interface Track extends Widget { geolocationOptions: any; goToLocationEnabled: boolean; @@ -8290,458 +10866,10 @@ declare namespace __esri { goToLocationEnabled?: boolean; graphic?: GraphicProperties; tracking?: boolean; - view?: MapView | SceneView; + view?: MapViewProperties | SceneViewProperties; viewModel?: TrackViewModelProperties; } - interface UnivariateColorSizeSlider extends Accessor, Widgette { - handlesVisible: boolean; - histogram: any; - histogramVisible: boolean; - histogramWidth: number; - labelsVisible: boolean; - maxSize: number; - maxValue: number; - minSize: number; - minValue: number; - statistics: any; - statisticsVisible: boolean; - ticksVisible: boolean; - values: number[]; - visualVariables: any[]; - } - - interface UnivariateColorSizeSliderConstructor { - new(properties?: UnivariateColorSizeSliderProperties): UnivariateColorSizeSlider; - } - - export const UnivariateColorSizeSlider: UnivariateColorSizeSliderConstructor; - - interface UnivariateColorSizeSliderProperties extends WidgetteProperties { - handlesVisible?: boolean; - histogram?: any; - histogramVisible?: boolean; - histogramWidth?: number; - labelsVisible?: boolean; - maxSize?: number; - maxValue?: number; - minSize?: number; - minValue?: number; - statistics?: any; - statisticsVisible?: boolean; - ticksVisible?: boolean; - values?: number[]; - visualVariables?: any[]; - } - - interface Widget extends Accessor, Evented { - container: string; - destroyed: boolean; - id: string; - - destroy(): void; - own(handles: any[]): void; - postInitialize(): void; - renderNow(): void; - scheduleRender(): void; - startup(): void; - } - - interface WidgetConstructor { - new(properties?: WidgetProperties): Widget; - } - - export const Widget: WidgetConstructor; - - interface WidgetProperties { - container?: string | any; - destroyed?: boolean; - id?: string; - } - - interface Zoom extends Widget { - view: MapView | SceneView; - viewModel: ZoomViewModel; - - render(): any; - zoomIn(): void; - zoomOut(): void; - } - - interface ZoomConstructor { - new(properties?: ZoomProperties): Zoom; - } - - export const Zoom: ZoomConstructor; - - interface ZoomProperties extends WidgetProperties { - view?: MapView | SceneView; - viewModel?: ZoomViewModelProperties; - } - - interface AttributionViewModel { - attributionText: string; - itemDelimiter: string; - state: string; - view: MapView | SceneView; - } - - interface AttributionViewModelConstructor { - new(properties?: any): AttributionViewModel; - } - - export const AttributionViewModel: AttributionViewModelConstructor; - - interface BasemapGalleryViewModel extends Accessor { - activeBasemap: Basemap; - items: Collection; - source: LocalBasemapsSource | PortalBasemapsSource; - state: string; - view: MapView | SceneView; - - basemapEquals(basemap1: Basemap, basemap2: Basemap): boolean; - } - - interface BasemapGalleryViewModelConstructor { - new(properties?: BasemapGalleryViewModelProperties): BasemapGalleryViewModel; - } - - export const BasemapGalleryViewModel: BasemapGalleryViewModelConstructor; - - interface BasemapGalleryViewModelProperties { - activeBasemap?: BasemapProperties; - items?: Collection | any[]; - source?: LocalBasemapsSource | PortalBasemapsSource; - state?: string; - view?: MapView | SceneView; - } - - interface BasemapToggleViewModel extends Accessor, Evented { - activeBasemap: Basemap; - nextBasemap: Basemap; - state: string; - view: MapView | SceneView; - - toggle(): void; - } - - interface BasemapToggleViewModelConstructor { - new(properties?: BasemapToggleViewModelProperties): BasemapToggleViewModel; - - - getThumbnailUrl(basemap: Basemap): string; - } - - export const BasemapToggleViewModel: BasemapToggleViewModelConstructor; - - interface BasemapToggleViewModelProperties { - activeBasemap?: BasemapProperties; - nextBasemap?: Basemap | string; - state?: string; - view?: MapView | SceneView; - } - - interface CompassViewModel extends Accessor { - orientation: any; - state: string; - view: MapView | SceneView; - - reset(): void; - } - - interface CompassViewModelConstructor { - new(properties?: CompassViewModelProperties): CompassViewModel; - } - - export const CompassViewModel: CompassViewModelConstructor; - - interface CompassViewModelProperties { - orientation?: any; - state?: string; - view?: MapView | SceneView; - } - - interface ExpandViewModel extends Accessor { - autoCollapse: boolean; - expanded: boolean; - state: string; - view: MapView | SceneView; - } - - interface ExpandViewModelConstructor { - new(properties?: ExpandViewModelProperties): ExpandViewModel; - } - - export const ExpandViewModel: ExpandViewModelConstructor; - - interface ExpandViewModelProperties { - autoCollapse?: boolean; - expanded?: boolean; - state?: string; - view?: MapView | SceneView; - } - - interface HomeViewModel extends Accessor, Evented { - state: string; - view: MapView | SceneView; - viewpoint: Viewpoint; - - go(): void; - } - - interface HomeViewModelConstructor { - new(properties?: HomeViewModelProperties): HomeViewModel; - } - - export const HomeViewModel: HomeViewModelConstructor; - - interface HomeViewModelProperties { - state?: string; - view?: MapView | SceneView; - viewpoint?: ViewpointProperties; - } - - interface LayerListViewModel extends Accessor { - createActionsFunction: Function; - listItemCreatedFunction: Function; - operationalItems: Collection; - state: string; - view: MapView | SceneView; - - triggerAction(action: Action, item: ListItem): void; - } - - interface LayerListViewModelConstructor { - new(properties?: LayerListViewModelProperties): LayerListViewModel; - } - - export const LayerListViewModel: LayerListViewModelConstructor; - - interface LayerListViewModelProperties { - createActionsFunction?: Function; - listItemCreatedFunction?: Function; - operationalItems?: Collection | any[]; - state?: string; - view?: MapView | SceneView; - } - - interface ListItem { - actionsOpen: boolean; - actionsSections: Collection; - children: Collection; - error: Error; - layer: Layer; - layerView: LayerView; - open: boolean; - title: string; - updating: boolean; - view: MapView | SceneView; - visibilityMode: string; - visible: boolean; - visibleAtCurrentScale: boolean; - - clone(): this; - } - - interface ListItemConstructor { - new(): ListItem; - } - - export const ListItem: ListItemConstructor; - - interface LocateViewModel extends Accessor, Evented, GeolocationPositioning { - state: string; - - locate(): IPromise<any>; - } - - interface LocateViewModelConstructor { - new(properties?: LocateViewModelProperties): LocateViewModel; - } - - export const LocateViewModel: LocateViewModelConstructor; - - interface LocateViewModelProperties extends GeolocationPositioningProperties { - state?: string; - } - - interface NavigationToggleViewModel extends Accessor { - navigationMode: string; - state: string; - view: SceneView; - - toggle(): void; - } - - interface NavigationToggleViewModelConstructor { - new(properties?: NavigationToggleViewModelProperties): NavigationToggleViewModel; - } - - export const NavigationToggleViewModel: NavigationToggleViewModelConstructor; - - interface NavigationToggleViewModelProperties { - navigationMode?: string; - state?: string; - view?: SceneViewProperties; - } - - interface PrintViewModel extends Accessor { - printServiceUrl: string; - updateDelay: number; - view: MapView; - - print(printTemplate: PrintTemplate): IPromise<any>; - } - - interface PrintViewModelConstructor { - new(properties?: PrintViewModelProperties): PrintViewModel; - } - - export const PrintViewModel: PrintViewModelConstructor; - - interface PrintViewModelProperties { - printServiceUrl?: string; - updateDelay?: number; - view?: MapViewProperties; - } - - interface PopupViewModel extends Accessor, Evented { - actions: Collection; - content: string; - featureCount: number; - features: Graphic[]; - highlightEnabled: boolean; - location: Point; - pendingPromisesCount: number; - promises: IPromise<any>[]; - selectedFeature: Graphic; - selectedFeatureIndex: number; - state: string; - title: string; - view: MapView | SceneView; - - clear(): void; - next(): PopupViewModel; - previous(): PopupViewModel; - triggerAction(actionIndex: number): void; - } - - interface PopupViewModelConstructor { - new(properties?: PopupViewModelProperties): PopupViewModel; - } - - export const PopupViewModel: PopupViewModelConstructor; - - interface PopupViewModelProperties { - actions?: Collection | any[]; - content?: string | any; - featureCount?: number; - features?: GraphicProperties[]; - highlightEnabled?: boolean; - location?: PointProperties; - pendingPromisesCount?: number; - promises?: IPromise<any>[]; - selectedFeature?: GraphicProperties; - selectedFeatureIndex?: number; - state?: string; - title?: string; - view?: MapView | SceneView; - } - - interface ScaleBarViewModel extends Accessor { - view: MapView; - } - - interface ScaleBarViewModelConstructor { - new(properties?: ScaleBarViewModelProperties): ScaleBarViewModel; - } - - export const ScaleBarViewModel: ScaleBarViewModelConstructor; - - interface ScaleBarViewModelProperties { - view?: MapViewProperties; - } - - interface SearchViewModel extends Accessor, Evented { - activeSource: FeatureLayer | Locator; - activeSourceIndex: number; - allPlaceholder: string; - autoSelect: boolean; - defaultSource: any | any; - maxInputLength: number; - maxResults: number; - maxSuggestions: number; - minSuggestCharacters: number; - placeholder: string; - popupEnabled: boolean; - popupOpenOnSelect: boolean; - popupTemplate: PopupTemplate; - resultGraphic: Graphic; - resultGraphicEnabled: boolean; - results: any[]; - searchAllEnabled: boolean; - searchTerm: string; - selectedResult: any; - sources: Collection; - suggestionDelay: number; - suggestions: any[]; - suggestionsEnabled: boolean; - view: MapView | SceneView; - - cancelSuggest(): void; - clear(): void; - search(searchTerm?: string | Geometry | any | number[][]): IPromise<any>; - suggest(value?: string): IPromise<any>; - - on(name: "suggest-complete", eventHandler: SearchViewModelSuggestCompleteEventHandler): IHandle; - on(name: "suggest-complete", modifiers: string[], eventHandler: SearchViewModelSuggestCompleteEventHandler): IHandle; - on(name: "search-clear", eventHandler: SearchViewModelSearchClearEventHandler): IHandle; - on(name: "search-clear", modifiers: string[], eventHandler: SearchViewModelSearchClearEventHandler): IHandle; - on(name: "search-start", eventHandler: SearchViewModelSearchStartEventHandler): IHandle; - on(name: "search-start", modifiers: string[], eventHandler: SearchViewModelSearchStartEventHandler): IHandle; - on(name: "suggest-start", eventHandler: SearchViewModelSuggestStartEventHandler): IHandle; - on(name: "suggest-start", modifiers: string[], eventHandler: SearchViewModelSuggestStartEventHandler): IHandle; - on(name: "load", eventHandler: SearchViewModelLoadEventHandler): IHandle; - on(name: "load", modifiers: string[], eventHandler: SearchViewModelLoadEventHandler): IHandle; - on(name: "search-complete", eventHandler: SearchViewModelSearchCompleteEventHandler): IHandle; - on(name: "search-complete", modifiers: string[], eventHandler: SearchViewModelSearchCompleteEventHandler): IHandle; - on(name: "select-result", eventHandler: SearchViewModelSelectResultEventHandler): IHandle; - on(name: "select-result", modifiers: string[], eventHandler: SearchViewModelSelectResultEventHandler): IHandle; - } - - interface SearchViewModelConstructor { - new(properties?: SearchViewModelProperties): SearchViewModel; - } - - export const SearchViewModel: SearchViewModelConstructor; - - interface SearchViewModelProperties { - activeSource?: FeatureLayer | Locator; - activeSourceIndex?: number; - allPlaceholder?: string; - autoSelect?: boolean; - defaultSource?: any | any; - maxInputLength?: number; - maxResults?: number; - maxSuggestions?: number; - minSuggestCharacters?: number; - placeholder?: string; - popupEnabled?: boolean; - popupOpenOnSelect?: boolean; - popupTemplate?: PopupTemplateProperties; - resultGraphic?: GraphicProperties; - resultGraphicEnabled?: boolean; - results?: any[]; - searchAllEnabled?: boolean; - searchTerm?: string; - selectedResult?: any; - sources?: Collection | any[]; - suggestionDelay?: number; - suggestions?: any[]; - suggestionsEnabled?: boolean; - view?: MapView | SceneView; - } - interface TrackViewModel extends Accessor, Evented, GeolocationPositioning { state: string; tracking: boolean; @@ -8761,6 +10889,119 @@ declare namespace __esri { tracking?: boolean; } + interface UnivariateColorSizeSlider extends Accessor, Widgette { + handlesVisible: boolean; + histogram: HistogramResult; + histogramVisible: boolean; + histogramWidth: number; + labelsVisible: boolean; + maxSize: number; + maxValue: number; + minSize: number; + minValue: number; + statistics: UnivariateColorSizeSliderStatistics; + statisticsVisible: boolean; + ticksVisible: boolean; + values: number[]; + visualVariables: any[]; + } + + interface UnivariateColorSizeSliderConstructor { + new(properties?: UnivariateColorSizeSliderProperties): UnivariateColorSizeSlider; + } + + export const UnivariateColorSizeSlider: UnivariateColorSizeSliderConstructor; + + interface UnivariateColorSizeSliderProperties extends WidgetteProperties { + handlesVisible?: boolean; + histogram?: HistogramResult; + histogramVisible?: boolean; + histogramWidth?: number; + labelsVisible?: boolean; + maxSize?: number; + maxValue?: number; + minSize?: number; + minValue?: number; + statistics?: UnivariateColorSizeSliderStatistics; + statisticsVisible?: boolean; + ticksVisible?: boolean; + values?: number[]; + visualVariables?: any[]; + } + + export interface UnivariateColorSizeSliderStatistics { + avg: number; + max: number; + min: number; + stddev: number; + } + + interface Widget extends Accessor, Evented { + container: string | HTMLElement; + destroyed: boolean; + id: string; + + destroy(): void; + own(handles: WatchHandle | WatchHandle[]): void; + postInitialize(): void; + renderNow(): void; + scheduleRender(): void; + startup(): void; + } + + interface WidgetConstructor { + new(properties?: WidgetProperties): Widget; + } + + export const Widget: WidgetConstructor; + + interface WidgetProperties { + container?: string | HTMLElement; + destroyed?: boolean; + id?: string; + } + + interface Widgette { + container: string | HTMLElement; + visible: boolean; + + destroy(): void; + on(type: string, listener: Function): any; + } + + interface WidgetteConstructor { + new(): Widgette; + } + + export const Widgette: WidgetteConstructor; + + interface WidgetteProperties { + container?: string | HTMLElement; + visible?: boolean; + } + + interface Zoom extends Widget { + layout: string; + view: MapView | SceneView; + viewModel: ZoomViewModel; + + render(): any; + zoomIn(): void; + zoomOut(): void; + } + + interface ZoomConstructor { + new(properties?: ZoomProperties): Zoom; + } + + export const Zoom: ZoomConstructor; + + interface ZoomProperties extends WidgetProperties { + layout?: string; + view?: MapViewProperties | SceneViewProperties; + viewModel?: ZoomViewModelProperties; + } + interface ZoomViewModel extends Accessor { canZoomIn: boolean; canZoomOut: boolean; @@ -8781,1652 +11022,110 @@ declare namespace __esri { canZoomIn?: boolean; canZoomOut?: boolean; state?: string; - view?: MapView | SceneView; + view?: MapViewProperties | SceneViewProperties; } - interface Evented { - hasEventListener(type: string): boolean; - on(type: string, listener: EventHandler): IHandle; - } - - interface EventedConstructor { - new(): Evented; - } - - export const Evented: EventedConstructor; - - interface JSONSupport { - toJSON(): any; - } - - interface JSONSupportConstructor { - new(): JSONSupport; - - - fromJSON(json: any): any; - } - - export const JSONSupport: JSONSupportConstructor; - - interface Loadable { - loadError: Error; - loadStatus: string; - loadWarnings: any[]; - - always(callbackOrErrback?: Function): IPromise<any>; - cancelLoad(): void; - isFulfilled(): boolean; - isRejected(): boolean; - isResolved(): boolean; - load(): IPromise<any>; - otherwise(errback?: Function): IPromise<any>; - then(callback?: Function, errback?: Function, progback?: Function): IPromise<any>; - } - - interface LoadableConstructor { - new(): Loadable; - } - - export const Loadable: LoadableConstructor; - - interface LoadableProperties { - loadError?: Error; - loadStatus?: string; - loadWarnings?: any[]; - } - - interface corePromise { - always(callbackOrErrback?: Function): IPromise<any>; - isFulfilled(): boolean; - isRejected(): boolean; - isResolved(): boolean; - otherwise(errback?: Function): IPromise<any>; - then(callback?: Function, errback?: Function, progback?: Function): IPromise<any>; - } - - interface corePromiseConstructor { - new(): corePromise; - } - - export const corePromise: corePromiseConstructor; - - interface DynamicLayer { - portalItem: PortalItem; - url: string; - - fetchImage(extent: Extent, width: number, height: number, options?: DynamicLayerFetchImageOptions): IPromise<any>; - getImageUrl(extent: Extent, width: number, height: number, options?: DynamicLayerGetImageUrlOptions): IPromise<any> | string; - } - - interface DynamicLayerConstructor { - new(): DynamicLayer; - } - - export const DynamicLayer: DynamicLayerConstructor; - - interface DynamicLayerProperties { - portalItem?: PortalItemProperties; - url?: string; - } - - interface TiledLayer { - tileInfo: TileInfo; - } - - interface TiledLayerConstructor { - new(properties?: TiledLayerProperties): TiledLayer; - - fromJSON(json: any): TiledLayer; - } - - export const TiledLayer: TiledLayerConstructor; - - interface TiledLayerProperties { - tileInfo?: TileInfoProperties; - } - - interface ArcGISCachedService { - maxScale: number; - minScale: number; - tileInfo: TileInfo; - - fromJSON(json: any): any; - toJSON(): any; - } - - interface ArcGISCachedServiceConstructor { - new(properties?: ArcGISCachedServiceProperties): ArcGISCachedService; - - fromJSON(json: any): ArcGISCachedService; - } - - export const ArcGISCachedService: ArcGISCachedServiceConstructor; - - interface ArcGISCachedServiceProperties { - maxScale?: number; - minScale?: number; - tileInfo?: TileInfoProperties; - } - - interface ArcGISDynamicMapService { - allSublayers: Collection; - dpi: number; - gdbVersion: string; - imageFormat: string; - imageMaxHeight: number; - imageMaxWidth: number; - imageTransparency: boolean; - sublayers: Collection; - - createServiceSublayers(): Collection; - findSublayerById(id: number): Sublayer; - getExportImageParameters(extent: Extent, width: number, height: number, options?: ArcGISDynamicMapServiceGetExportImageParametersOptions): any; - } - - interface ArcGISDynamicMapServiceConstructor { - new(): ArcGISDynamicMapService; - } - - export const ArcGISDynamicMapService: ArcGISDynamicMapServiceConstructor; - - interface ArcGISDynamicMapServiceProperties { - allSublayers?: Collection | any[]; - dpi?: number; - gdbVersion?: string; - imageFormat?: string; - imageMaxHeight?: number; - imageMaxWidth?: number; - imageTransparency?: boolean; - sublayers?: Collection | any[]; - } - - interface ArcGISImageService { - compressionQuality: number; - compressionTolerance: number; - copyright: string; - definitionExpression: string; - domainFields: Field[]; - fields: Field[]; - format: string; - fullExtent: Extent; - hasMultidimensions: boolean; - hasRasterAttributeTable: boolean; - imageMaxHeight: number; - imageMaxWidth: number; - mosaicRule: MosaicRule; - multidimensionalInfo: any; - pixelType: string; - popupTemplate: PopupTemplate; - rasterAttributeTable: any; - rasterAttributeTableFieldPrefix: string; - rasterFields: Field[]; - renderingRule: RasterFunction; - spatialReference: SpatialReference; - url: string; - version: number; - - fetchImage(extent: Extent, width: number, height: number): IPromise<any>; - fromJSON(json: any): any; - toJSON(): any; - } - - interface ArcGISImageServiceConstructor { - new(properties?: ArcGISImageServiceProperties): ArcGISImageService; - - fromJSON(json: any): ArcGISImageService; - } - - export const ArcGISImageService: ArcGISImageServiceConstructor; - - interface ArcGISImageServiceProperties { - compressionQuality?: number; - compressionTolerance?: number; - copyright?: string; - definitionExpression?: string; - domainFields?: FieldProperties[]; - fields?: FieldProperties[]; - format?: string; - fullExtent?: ExtentProperties; - hasMultidimensions?: boolean; - hasRasterAttributeTable?: boolean; - imageMaxHeight?: number; - imageMaxWidth?: number; - mosaicRule?: MosaicRuleProperties; - multidimensionalInfo?: any; - pixelType?: string; - popupTemplate?: PopupTemplateProperties; - rasterAttributeTable?: any; - rasterAttributeTableFieldPrefix?: string; - rasterFields?: FieldProperties[]; - renderingRule?: RasterFunctionProperties; - spatialReference?: SpatialReferenceProperties; - url?: string; - version?: number; - } - - interface ArcGISMapService { - copyright: string; - fullExtent: Extent; - spatialReference: SpatialReference; - token: string; - } - - interface ArcGISMapServiceConstructor { - new(properties?: ArcGISMapServiceProperties): ArcGISMapService; - - fromJSON(json: any): ArcGISMapService; - } - - export const ArcGISMapService: ArcGISMapServiceConstructor; - - interface ArcGISMapServiceProperties { - copyright?: string; - fullExtent?: ExtentProperties; - spatialReference?: SpatialReferenceProperties; - token?: string; - } - - interface PortalLayer { - portalItem: PortalItem; - } - - interface PortalLayerConstructor { - new(properties?: PortalLayerProperties): PortalLayer; - - fromJSON(json: any): PortalLayer; - } - - export const PortalLayer: PortalLayerConstructor; - - interface PortalLayerProperties { - portalItem?: PortalItemProperties; - } - - interface ScaleRangeLayer { - maxScale: number; - minScale: number; - } - - interface ScaleRangeLayerConstructor { - new(): ScaleRangeLayer; - } - - export const ScaleRangeLayer: ScaleRangeLayerConstructor; - - interface ScaleRangeLayerProperties { - maxScale?: number; - minScale?: number; - } - - interface SceneService { - copyright: string; - layerId: number; - spatialReference: SpatialReference; - token: string; - url: string; - version: SceneServiceVersion; - } - - interface SceneServiceConstructor { - new(properties?: SceneServiceProperties): SceneService; - - fromJSON(json: any): SceneService; - } - - export const SceneService: SceneServiceConstructor; - - interface SceneServiceProperties { - copyright?: string; - layerId?: number; - spatialReference?: SpatialReferenceProperties; - token?: string; - url?: string; - version?: SceneServiceVersion; - } - - interface VisualVariablesMixin { - visualVariables: any[]; - } - - interface VisualVariablesMixinConstructor { - new(): VisualVariablesMixin; - } - - export const VisualVariablesMixin: VisualVariablesMixinConstructor; - - interface VisualVariablesMixinProperties { - visualVariables?: any[]; - } - - interface LayersMixin { - layers: Collection; - - add(layers: Layer, index?: number): void; - addMany(layers: Layer[], index?: number): void; - findLayerById(layerId: string): Layer; - remove(layer: Layer): Layer; - removeAll(): Layer[]; - removeMany(layers: Layer[]): Layer[]; - reorder(layer: Layer, index: number): Layer; - } - - interface LayersMixinConstructor { - new(): LayersMixin; - } - - export const LayersMixin: LayersMixinConstructor; - - interface LayersMixinProperties { - layers?: Collection | any[]; - } - - interface BreakpointsOwner { - breakpoints: BreakpointsOwnerBreakpoints; - heightBreakpoint: string; - orientation: string; - widthBreakpoint: string; - } - - interface BreakpointsOwnerConstructor { - new(): BreakpointsOwner; - } - - export const BreakpointsOwner: BreakpointsOwnerConstructor; - - interface BreakpointsOwnerProperties { - breakpoints?: BreakpointsOwnerBreakpoints; - heightBreakpoint?: string; - orientation?: string; - widthBreakpoint?: string; - } - - interface DOMContainer { - container: HTMLDivElement | string; - height: number; - popup: Popup; - resizing: boolean; - size: number[]; - suspended: boolean; - ui: DefaultUI; - width: number; - } - - interface DOMContainerConstructor { - new(): DOMContainer; - } - - export const DOMContainer: DOMContainerConstructor; - - interface DOMContainerProperties { - container?: HTMLDivElement | string; - height?: number; - popup?: PopupProperties; - resizing?: boolean; - size?: number[]; - suspended?: boolean; - ui?: DefaultUIProperties; - width?: number; - } - - interface Widgette { - container: string | any; - visible: boolean; - - destroy(): void; - } - - interface WidgetteConstructor { - new(): Widgette; - } - - export const Widgette: WidgetteConstructor; - - interface WidgetteProperties { - container?: string | any; - visible?: boolean; - } - - interface GeolocationPositioning { - geolocationOptions: any; - goToLocationEnabled: boolean; - graphic: Graphic; - view: MapView | SceneView; - } - - interface GeolocationPositioningConstructor { - new(): GeolocationPositioning; - } - - export const GeolocationPositioning: GeolocationPositioningConstructor; - - interface GeolocationPositioningProperties { - geolocationOptions?: any; - goToLocationEnabled?: boolean; - graphic?: GraphicProperties; - view?: MapView | SceneView; - } - - interface config { - geometryServiceUrl: string; - geoRSSServiceUrl: string; - portalUrl: string; - request: configRequest; - workers: configWorkers; - } - - export const config: config; - - interface kernel { - version: string; - } - - export const kernel: kernel; - - interface request { - esriRequest(url: string, options?: requestEsriRequestOptions): IPromise<any>; - } - - const __requestMapped: request; - export const request: typeof __requestMapped.esriRequest; - - - interface lang { - clone(elem: any): any; - } - - export const lang: lang; - - interface promiseUtils { - eachAlways(promises: IPromise<any>[] | any): IPromise<EachAlwaysResult[]> | any; - reject<T>(error?: any): IPromise<T>; - resolve<T>(value?: T): IPromise<T>; - } - - export const promiseUtils: promiseUtils; - - interface requireUtils { - when(moduleRequire: any, moduleNames: string[] | string): IPromise<any>; - } - - export const requireUtils: requireUtils; - - interface urlUtils { - addProxyRule(rule: urlUtilsAddProxyRuleRule): number; - getProxyRule(url: string): any; - urlToObject(url: string): any; - } - - export const urlUtils: urlUtils; - - interface watchUtils { - init(obj: Accessor, propertyName: string | string[], callback: WatchCallback): WatchHandle; - on(obj: Accessor, propertyName: string, eventName: string, eventHandler: Function, attachedHandler?: EventAttachedCallback, detachedHandler?: EventAttachedCallback): WatchHandle; - once(obj: Accessor, propertyName: string, callback?: WatchCallback): PromisedWatchHandle; - pausable(obj: Accessor, propertyName: string, callback?: WatchCallback): PausableWatchHandle; - watch(obj: Accessor, propertyName: string, callback: WatchCallback): WatchHandle; - when(obj: Accessor, propertyName: string, callback: WatchCallback): WatchHandle; - whenDefined(obj: Accessor, propertyName: string, callback: WatchCallback): WatchHandle; - whenDefinedOnce(obj: Accessor, propertyName: string, callback?: WatchCallback): PromisedWatchHandle; - whenFalse(obj: Accessor, propertyName: string, callback: WatchCallback): WatchHandle; - whenFalseOnce(obj: Accessor, propertyName: string, callback?: WatchCallback): PromisedWatchHandle; - whenNot(obj: Accessor, propertyName: string, callback: WatchCallback): WatchHandle; - whenNotOnce(obj: Accessor, propertyName: string, callback?: WatchCallback): PromisedWatchHandle; - whenOnce(obj: Accessor, propertyName: string, callback?: WatchCallback): PromisedWatchHandle; - whenTrue(obj: Accessor, propertyName: string, callback: WatchCallback): WatchHandle; - whenTrueOnce(obj: Accessor, propertyName: string, callback?: WatchCallback): PromisedWatchHandle; - whenUndefined(obj: Accessor, propertyName: string, callback: WatchCallback): WatchHandle; - whenUndefinedOnce(obj: Accessor, propertyName: string, callback?: WatchCallback): PromisedWatchHandle; - } - - export const watchUtils: watchUtils; - - interface decorators { - aliasOf(propertyName: string): Function; - cast(propertyName: string): Function; - cast(classFunction: Function): Function; - declared<T>(baseClass: T, ...mixinClasses: any[]): T; - property(propertyMetadata?: decoratorsPropertyPropertyMetadata): Function; - subclass(declaredClass?: string): Function; - } - - export const decorators: decorators; - - interface workers { - open(client: any, modulePath: string): IPromise<any>; - } - - export const workers: workers; - - interface geometryEngine { - buffer(geometry: Geometry | Geometry[], distance: number | number[], unit: string | number, unionResults?: boolean): Polygon | Polygon[]; - clip(geometry: Geometry, envelope: Extent): Geometry; - contains(geometry1: Geometry, geometry2: Geometry): boolean; - convexHull(geometry: Geometry, merge?: boolean): Geometry | Geometry[]; - crosses(geometry1: Geometry, geometry2: Geometry): boolean; - cut(geometry: Geometry, cutter: Polyline): Geometry[]; - densify(geometry: Geometry, maxSegmentLength: number, maxSegmentLengthUnit: string | number): Geometry; - difference(inputGeometry: Geometry | Geometry[], subtractor: Geometry): Geometry | Geometry[]; - disjoint(geometry1: Geometry, geometry2: Geometry): boolean; - distance(geometry1: Geometry, geometry2: Geometry, distanceUnit: string | number): number; - equals(geometry1: Geometry, geometry2: Geometry): boolean; - extendedSpatialReferenceInfo(spatialReference: SpatialReference): any; - flipHorizontal(geometry: Geometry, flipOrigin?: Point): Geometry; - flipVertical(geometry: Geometry, flipOrigin?: Point): Geometry; - generalize(geometry: Geometry, maxDeviation: number, removeDegenerateParts?: boolean, maxDeviationUnit?: string | number): Geometry; - geodesicArea(geometry: Polygon, unit: string | number): number; - geodesicBuffer(geometry: Geometry | Geometry[], distance: number | number[], unit: string | number, unionResults?: boolean): Polygon | Polygon[]; - geodesicDensify(geometry: Polyline | Polygon, maxSegmentLength: number, maxSegmentLengthUnit: string | number): Geometry; - geodesicLength(geometry: Geometry, unit: string | number): number; - intersect(geometry: Geometry | Geometry[], intersector: Geometry): Geometry | Geometry[]; - intersects(geometry1: Geometry, geometry2: Geometry): boolean; - isSimple(geometry: Geometry): boolean; - nearestCoordinate(geometry: Geometry, inputPoint: Point): any; - nearestVertex(geometry: Geometry, inputPoint: Point): any; - nearestVertices(geometry: Geometry, inputPoint: Point, searchRadius: number, maxVertexCountToReturn: number): any[]; - offset(geometry: Geometry | Geometry[], offsetDistance: number, offsetUnit: string | number, joinType: string, bevelRatio?: number, flattenError?: number): Geometry | Geometry[]; - overlaps(geometry1: Geometry, geometry2: Geometry): boolean; - planarArea(geometry: Polygon, unit: string | number): number; - planarLength(geometry: Geometry, unit: string | number): number; - relate(geometry1: Geometry, geometry2: Geometry, relation: string): boolean; - rotate(geometry: Geometry, angle: number, rotationOrigin?: Point): Geometry; - simplify(geometry: Geometry): Geometry; - symmetricDifference(leftGeometry: Geometry | Geometry[], rightGeometry: Geometry): Geometry | Geometry[]; - touches(geometry1: Geometry, geometry2: Geometry): boolean; - union(geometries: Geometry[]): Geometry; - within(geometry1: Geometry, geometry2: Geometry): boolean; - } - - export const geometryEngine: geometryEngine; - - interface geometryEngineAsync { - buffer(geometry: Geometry | Geometry[], distance: number | number[], unit: string | number, unionResults?: boolean): IPromise<any>; - clip(geometry: Geometry, envelope: Extent): IPromise<any>; - contains(geometry1: Geometry, geometry2: Geometry): IPromise<any>; - convexHull(geometry: Geometry, merge?: boolean): IPromise<any>; - crosses(geometry1: Geometry, geometry2: Geometry): IPromise<any>; - cut(geometry: Geometry, cutter: Polyline): IPromise<any>; - densify(geometry: Geometry, maxSegmentLength: number, maxSegmentLengthUnit: string | number): IPromise<any>; - difference(inputGeometry: Geometry | Geometry[], subtractor: Geometry): IPromise<any>; - disjoint(geometry1: Geometry, geometry2: Geometry): IPromise<any>; - distance(geometry1: Geometry, geometry2: Geometry, distanceUnit: string | number): IPromise<any>; - equals(geometry1: Geometry, geometry2: Geometry): IPromise<any>; - extendedSpatialReferenceInfo(spatialReference: SpatialReference): IPromise<any>; - flipHorizontal(geometry: Geometry, flipOrigin?: Point): IPromise<any>; - flipVertical(geometry: Geometry, flipOrigin?: Point): IPromise<any>; - generalize(geometry: Geometry, maxDeviation: number, removeDegenerateParts?: boolean, maxDeviationUnit?: string | number): IPromise<any>; - geodesicArea(geometry: Polygon, unit: string | number): IPromise<any>; - geodesicBuffer(geometry: Geometry | Geometry[], distance: number | number[], unit: string | number, unionResults?: boolean): IPromise<any>; - geodesicDensify(geometry: Polyline | Polygon, maxSegmentLength: number, maxSegmentLengthUnit: string | number): IPromise<any>; - geodesicLength(geometry: Geometry, unit: string | number): IPromise<any>; - intersect(geometry: Geometry | Geometry[], intersector: Geometry): IPromise<any>; - intersects(geometry1: Geometry, geometry2: Geometry): IPromise<any>; - isSimple(geometry: Geometry): IPromise<any>; - nearestCoordinate(geometry: Geometry, inputPoint: Point): IPromise<any>; - nearestVertex(geometry: Geometry, inputPoint: Point): IPromise<any>; - nearestVertices(geometry: Geometry, inputPoint: Point, searchRadius: number, maxVertexCountToReturn: number): IPromise<any>; - offset(geometry: Geometry | Geometry[], offsetDistance: number, offsetUnit: string | number, joinType: string, bevelRatio?: number, flattenError?: number): IPromise<any>; - overlaps(geometry1: Geometry, geometry2: Geometry): IPromise<any>; - planarArea(geometry: Polygon, unit: string | number): IPromise<any>; - planarLength(geometry: Geometry, unit: string | number): IPromise<any>; - relate(geometry1: Geometry, geometry2: Geometry, relation: string): IPromise<any>; - rotate(geometry: Geometry, angle: number, rotationOrigin?: Point): IPromise<any>; - simplify(geometry: Geometry): IPromise<any>; - symmetricDifference(leftGeometry: Geometry | Geometry[], rightGeometry: Geometry): IPromise<any>; - touches(geometry1: Geometry, geometry2: Geometry): IPromise<any>; - union(geometries: Geometry[]): IPromise<any>; - within(geometry1: Geometry, geometry2: Geometry): IPromise<any>; - } - - export const geometryEngineAsync: geometryEngineAsync; - - interface jsonUtils { - fromJSON(json: any): Geometry; - getJsonType(geometry: Geometry): string; - } - - export const jsonUtils: jsonUtils; - - interface normalizeUtils { - normalizeCentralMeridian(geometries: Geometry[], geometryService?: GeometryService): IPromise<any>; - } - - export const normalizeUtils: normalizeUtils; - - interface webMercatorUtils { - canProject(source: SpatialReference | any, target: SpatialReference | any): boolean; - geographicToWebMercator(geometry: Geometry): Geometry; - lngLatToXY(long: number, lat: number): number[]; - project(geometry: Geometry, spatialReference: SpatialReference | any): Geometry; - webMercatorToGeographic(geometry: Geometry): Geometry; - xyToLngLat(x: number, y: number): number[]; - } - - export const webMercatorUtils: webMercatorUtils; - - interface color { - createContinuousRenderer(params: colorCreateContinuousRendererParams): IPromise<any>; - createVisualVariable(params: colorCreateVisualVariableParams): IPromise<any>; - } - - export const color: color; - - interface location { - createRenderer(params: locationCreateRendererParams): IPromise<any>; - } - - export const location: location; - - interface size { - createContinuousRenderer(params: sizeCreateContinuousRendererParams): IPromise<any>; - createVisualVariables(params: sizeCreateVisualVariablesParams): IPromise<any>; - } - - export const size: size; - - interface type { - createRenderer(params: typeCreateRendererParams): IPromise<any>; - } - - export const type: type; - - interface univariateColorSize { - createContinuousRenderer(params: univariateColorSizeCreateContinuousRendererParams): IPromise<any>; - createVisualVariables(params: univariateColorSizeCreateVisualVariablesParams): IPromise<any>; - } - - export const univariateColorSize: univariateColorSize; - - interface classBreaks { - classBreaks(params: classBreaksClassBreaksParams): IPromise<any>; - } - - const __classBreaksMapped: classBreaks; - export const classBreaks: typeof __classBreaksMapped.classBreaks; - - - interface histogram { - histogram(params: histogramHistogramParams): IPromise<any>; - } - - const __histogramMapped: histogram; - export const histogram: typeof __histogramMapped.histogram; - - - interface summaryStatistics { - summaryStatistics(params: summaryStatisticsSummaryStatisticsParams): IPromise<any>; - } - - const __summaryStatisticsMapped: summaryStatistics; - export const summaryStatistics: typeof __summaryStatisticsMapped.summaryStatistics; - - - interface uniqueValues { - uniqueValues(params: uniqueValuesUniqueValuesParams): IPromise<any>; - } - - const __uniqueValuesMapped: uniqueValues; - export const uniqueValues: typeof __uniqueValuesMapped.uniqueValues; - - - interface symbologyColor { - cloneScheme(scheme: any): any; - flipColors(scheme: any): any; - getSchemes(params: colorGetSchemesParams): any; - getThemes(basemap?: string | Basemap): any[]; - } - - export const symbologyColor: symbologyColor; - - interface symbologyLocation { - cloneScheme(scheme: any | any | any): any | any | any; - getSchemes(params: locationGetSchemesParams): any; - } - - export const symbologyLocation: symbologyLocation; - - interface symbologySize { - cloneScheme(scheme: any | any | any): any; - getSchemes(params: sizeGetSchemesParams): any; - } - - export const symbologySize: symbologySize; - - interface symbologyType { - cloneScheme(scheme: any | any | any): any; - getSchemes(params: typeGetSchemesParams): any; - } - - export const symbologyType: symbologyType; - - interface supportJsonUtils { - fromJSON(json: any): Renderer; - } - - export const supportJsonUtils: supportJsonUtils; - - interface symbolsSupportJsonUtils { - fromJSON(json: any): Symbol; - } - - export const symbolsSupportJsonUtils: symbolsSupportJsonUtils; - - interface externalRenderers { - add(view: SceneView, renderer: any): void; - fromRenderCoordinates(view: SceneView, srcCoordinates: number[], srcStart: number, destCoordinates: number[], destStart: number, destSpatialReference: SpatialReference, count: number): number[]; - remove(view: SceneView, renderer: any): void; - renderCoordinateTransformAt(view: SceneView, origin: number[], srcSpatialReference: SpatialReference, dest: number[]): number[]; - requestRender(view: SceneView): void; - toRenderCoordinates(view: SceneView, srcCoordinates: number[], srcStart: number, srcSpatialReference: SpatialReference, destCoordinates: number[], destStart: number, count: number): number[]; - } - - export const externalRenderers: externalRenderers; - - interface widget { - accessibleHandler(): Function; - join(...classNames: string[]): string; - renderable(propertyName?: string | string[]): Function; - tsx(selector: string, properties?: any, children?: any): any; - vmEvent(eventNames: string | string[]): Function; - } - - export const widget: widget; - - interface BasemapGalleryItem { - basemap: Basemap; - error: Error; - state: string; - view: MapView | SceneView; - } - - export const BasemapGalleryItem: BasemapGalleryItem; - - interface LocalBasemapsSource { - basemaps: Collection; - state: string; - } - - export const LocalBasemapsSource: LocalBasemapsSource; - - interface PortalBasemapsSource { - basemaps: Collection; - filterFunction: Function; - portal: Portal; - state: string; - } - - export const PortalBasemapsSource: PortalBasemapsSource; -} - -declare module "esri" { - export import PromisedWatchHandle = __esri.PromisedWatchHandle; - export import ItemCallback = __esri.ItemCallback; - - export import ItemCompareCallback = __esri.ItemCompareCallback; - - export import ItemMapCallback = __esri.ItemMapCallback; - - export import ItemReduceCallback = __esri.ItemReduceCallback; - - export import ItemTestCallback = __esri.ItemTestCallback; - - export import PortalItemFetchRelatedItemsParams = __esri.PortalItemFetchRelatedItemsParams; - - export import PortalItemUpdateParams = __esri.PortalItemUpdateParams; - - export import PortalUserAddItemParams = __esri.PortalUserAddItemParams; - - export import PortalUserFetchItemsParams = __esri.PortalUserFetchItemsParams; - - export import PortalFeaturedGroups = __esri.PortalFeaturedGroups; - - export import GroundQueryElevationOptions = __esri.GroundQueryElevationOptions; - - export import PopupTemplateExpressionInfos = __esri.PopupTemplateExpressionInfos; - - export import PopupTemplateFieldInfos = __esri.PopupTemplateFieldInfos; - - export import PopupTemplateFieldInfosFormat = __esri.PopupTemplateFieldInfosFormat; - - export import FeatureLayerApplyEditsEdits = __esri.FeatureLayerApplyEditsEdits; - - export import FeatureLayerCapabilities = __esri.FeatureLayerCapabilities; - - export import FeatureLayerCapabilitiesData = __esri.FeatureLayerCapabilitiesData; - - export import FeatureLayerCapabilitiesEditing = __esri.FeatureLayerCapabilitiesEditing; - - export import FeatureLayerCapabilitiesOperations = __esri.FeatureLayerCapabilitiesOperations; - - export import FeatureLayerCapabilitiesQuery = __esri.FeatureLayerCapabilitiesQuery; - - export import FeatureLayerCapabilitiesQueryRelated = __esri.FeatureLayerCapabilitiesQueryRelated; - - export import FeatureLayerElevationInfo = __esri.FeatureLayerElevationInfo; - - export import FeatureLayerFeatureReduction = __esri.FeatureLayerFeatureReduction; - - export import FeatureLayerGetFieldDomainOptions = __esri.FeatureLayerGetFieldDomainOptions; - - export import FeatureLayerLayerviewCreateEvent = __esri.FeatureLayerLayerviewCreateEvent; - - export import FeatureLayerLayerviewCreateEventHandler = __esri.FeatureLayerLayerviewCreateEventHandler; - - export import FeatureLayerLayerviewDestroyEvent = __esri.FeatureLayerLayerviewDestroyEvent; - - export import FeatureLayerLayerviewDestroyEventHandler = __esri.FeatureLayerLayerviewDestroyEventHandler; - - export import GraphicsLayerElevationInfo = __esri.GraphicsLayerElevationInfo; - - export import GraphicsLayerLayerviewCreateEvent = __esri.GraphicsLayerLayerviewCreateEvent; - - export import GraphicsLayerLayerviewCreateEventHandler = __esri.GraphicsLayerLayerviewCreateEventHandler; - - export import GraphicsLayerLayerviewDestroyEvent = __esri.GraphicsLayerLayerviewDestroyEvent; - - export import GraphicsLayerLayerviewDestroyEventHandler = __esri.GraphicsLayerLayerviewDestroyEventHandler; - - export import LayerFromArcGISServerUrlParams = __esri.LayerFromArcGISServerUrlParams; - - export import LayerFromPortalItemParams = __esri.LayerFromPortalItemParams; - - export import FeatureTemplateThumbnail = __esri.FeatureTemplateThumbnail; - - export import LabelClassLabelExpressionInfo = __esri.LabelClassLabelExpressionInfo; - - export import LabelSymbol3DVerticalOffsetProperties = __esri.LabelSymbol3DVerticalOffsetProperties; - export import LabelSymbol3DVerticalOffset = __esri.LabelSymbol3DVerticalOffset; - - export import QueryQuantizationParameters = __esri.QueryQuantizationParameters; - - export import ViewPadding = __esri.ViewPadding; - - export import WebMapSourceVersion = __esri.WebMapSourceVersion; - - export import WebSceneSaveAsOptions = __esri.WebSceneSaveAsOptions; - - export import WebSceneSaveOptions = __esri.WebSceneSaveOptions; - - export import WebSceneSourceVersion = __esri.WebSceneSourceVersion; - - export import WebSceneUpdateFromOptions = __esri.WebSceneUpdateFromOptions; - - export import EventHandler = __esri.EventHandler; - - export import SceneViewDragEventOrigin = __esri.SceneViewDragEventOrigin; - - export import SceneViewClickEvent = __esri.SceneViewClickEvent; - - export import SceneViewClickEventHandler = __esri.SceneViewClickEventHandler; - - export import SceneViewDoubleClickEvent = __esri.SceneViewDoubleClickEvent; - - export import SceneViewDoubleClickEventHandler = __esri.SceneViewDoubleClickEventHandler; - - export import SceneViewDragEvent = __esri.SceneViewDragEvent; - - export import SceneViewDragEventHandler = __esri.SceneViewDragEventHandler; - - export import EasingFunction = __esri.EasingFunction; - - export import SceneViewHoldEvent = __esri.SceneViewHoldEvent; - - export import SceneViewHoldEventHandler = __esri.SceneViewHoldEventHandler; - - export import SceneViewKeyDownEvent = __esri.SceneViewKeyDownEvent; - - export import SceneViewKeyDownEventHandler = __esri.SceneViewKeyDownEventHandler; - - export import SceneViewKeyUpEvent = __esri.SceneViewKeyUpEvent; - - export import SceneViewKeyUpEventHandler = __esri.SceneViewKeyUpEventHandler; - - export import SceneViewLayerviewCreateEvent = __esri.SceneViewLayerviewCreateEvent; - - export import SceneViewLayerviewCreateEventHandler = __esri.SceneViewLayerviewCreateEventHandler; - - export import SceneViewLayerviewDestroyEvent = __esri.SceneViewLayerviewDestroyEvent; - - export import SceneViewLayerviewDestroyEventHandler = __esri.SceneViewLayerviewDestroyEventHandler; - - export import SceneViewMouseWheelEvent = __esri.SceneViewMouseWheelEvent; - - export import SceneViewMouseWheelEventHandler = __esri.SceneViewMouseWheelEventHandler; - - export import SceneViewPointerDownEvent = __esri.SceneViewPointerDownEvent; - - export import SceneViewPointerDownEventHandler = __esri.SceneViewPointerDownEventHandler; - - export import SceneViewPointerMoveEvent = __esri.SceneViewPointerMoveEvent; - - export import SceneViewPointerMoveEventHandler = __esri.SceneViewPointerMoveEventHandler; - - export import SceneViewPointerUpEvent = __esri.SceneViewPointerUpEvent; - - export import SceneViewPointerUpEventHandler = __esri.SceneViewPointerUpEventHandler; - - export import SceneViewResizeEvent = __esri.SceneViewResizeEvent; - - export import SceneViewResizeEventHandler = __esri.SceneViewResizeEventHandler; - - export import SceneViewConstraintsProperties = __esri.SceneViewConstraintsProperties; - export import SceneViewConstraints = __esri.SceneViewConstraints; - - export import SceneViewConstraintsAltitudeProperties = __esri.SceneViewConstraintsAltitudeProperties; - export import SceneViewConstraintsAltitude = __esri.SceneViewConstraintsAltitude; - - export import SceneViewConstraintsClipDistanceProperties = __esri.SceneViewConstraintsClipDistanceProperties; - export import SceneViewConstraintsClipDistance = __esri.SceneViewConstraintsClipDistance; - - export import SceneViewConstraintsCollision = __esri.SceneViewConstraintsCollision; - - export import SceneViewConstraintsTiltProperties = __esri.SceneViewConstraintsTiltProperties; - export import SceneViewConstraintsTilt = __esri.SceneViewConstraintsTilt; - - export import SceneViewEnvironmentProperties = __esri.SceneViewEnvironmentProperties; - export import SceneViewEnvironment = __esri.SceneViewEnvironment; - - export import SceneViewEnvironmentAtmosphereProperties = __esri.SceneViewEnvironmentAtmosphereProperties; - export import SceneViewEnvironmentAtmosphere = __esri.SceneViewEnvironmentAtmosphere; - - export import SceneViewEnvironmentLightingProperties = __esri.SceneViewEnvironmentLightingProperties; - export import SceneViewEnvironmentLighting = __esri.SceneViewEnvironmentLighting; - - export import SceneViewGoToOptions = __esri.SceneViewGoToOptions; - - export import SceneViewHighlightOptions = __esri.SceneViewHighlightOptions; - - export import SceneViewHitTestScreenPoint = __esri.SceneViewHitTestScreenPoint; - - export import SceneViewToMapScreenPoint = __esri.SceneViewToMapScreenPoint; - - export import WatchHandle = __esri.WatchHandle; - - export import WatchCallback = __esri.WatchCallback; - - export import IdentityManagerBaseGenerateTokenOptions = __esri.IdentityManagerBaseGenerateTokenOptions; - - export import IdentityManagerBaseGetCredentialOptions = __esri.IdentityManagerBaseGetCredentialOptions; - - export import IdentityManagerBaseOAuthSignInOptions = __esri.IdentityManagerBaseOAuthSignInOptions; - - export import IdentityManagerBaseRegisterTokenProperties = __esri.IdentityManagerBaseRegisterTokenProperties; - - export import IdentityManagerBaseSetProtocolErrorHandlerHandlerFunction = __esri.IdentityManagerBaseSetProtocolErrorHandlerHandlerFunction; - - export import IdentityManagerBaseSetRedirectionHandlerHandlerFunction = __esri.IdentityManagerBaseSetRedirectionHandlerHandlerFunction; - - export import IdentityManagerBaseSignInOptions = __esri.IdentityManagerBaseSignInOptions; - - export import IdentityManagerCredentialCreateEvent = __esri.IdentityManagerCredentialCreateEvent; - - export import IdentityManagerCredentialCreateEventHandler = __esri.IdentityManagerCredentialCreateEventHandler; - - export import IdentityManagerCredentialsDestroyEvent = __esri.IdentityManagerCredentialsDestroyEvent; - - export import IdentityManagerCredentialsDestroyEventHandler = __esri.IdentityManagerCredentialsDestroyEventHandler; - - export import HandlerCallback = __esri.HandlerCallback; - - export import BaseElevationLayerFetchTileOptions = __esri.BaseElevationLayerFetchTileOptions; - - export import BaseElevationLayerLayerviewCreateEvent = __esri.BaseElevationLayerLayerviewCreateEvent; - - export import BaseElevationLayerLayerviewCreateEventHandler = __esri.BaseElevationLayerLayerviewCreateEventHandler; - - export import BaseElevationLayerLayerviewDestroyEvent = __esri.BaseElevationLayerLayerviewDestroyEvent; - - export import BaseElevationLayerLayerviewDestroyEventHandler = __esri.BaseElevationLayerLayerviewDestroyEventHandler; - - export import CSVLayerElevationInfo = __esri.CSVLayerElevationInfo; - - export import CSVLayerFeatureReduction = __esri.CSVLayerFeatureReduction; - - export import CSVLayerLayerviewCreateEvent = __esri.CSVLayerLayerviewCreateEvent; - - export import CSVLayerLayerviewCreateEventHandler = __esri.CSVLayerLayerviewCreateEventHandler; - - export import CSVLayerLayerviewDestroyEvent = __esri.CSVLayerLayerviewDestroyEvent; - - export import CSVLayerLayerviewDestroyEventHandler = __esri.CSVLayerLayerviewDestroyEventHandler; - - export import ElevationLayerQueryElevationOptions = __esri.ElevationLayerQueryElevationOptions; - - export import ElevationLayerLayerviewCreateEvent = __esri.ElevationLayerLayerviewCreateEvent; - - export import ElevationLayerLayerviewCreateEventHandler = __esri.ElevationLayerLayerviewCreateEventHandler; - - export import ElevationLayerLayerviewDestroyEvent = __esri.ElevationLayerLayerviewDestroyEvent; - - export import ElevationLayerLayerviewDestroyEventHandler = __esri.ElevationLayerLayerviewDestroyEventHandler; - - export import GeoRSSLayerLayerviewCreateEvent = __esri.GeoRSSLayerLayerviewCreateEvent; - - export import GeoRSSLayerLayerviewCreateEventHandler = __esri.GeoRSSLayerLayerviewCreateEventHandler; - - export import GeoRSSLayerLayerviewDestroyEvent = __esri.GeoRSSLayerLayerviewDestroyEvent; - - export import GeoRSSLayerLayerviewDestroyEventHandler = __esri.GeoRSSLayerLayerviewDestroyEventHandler; - - export import GroupLayerLayerviewCreateEvent = __esri.GroupLayerLayerviewCreateEvent; - - export import GroupLayerLayerviewCreateEventHandler = __esri.GroupLayerLayerviewCreateEventHandler; - - export import GroupLayerLayerviewDestroyEvent = __esri.GroupLayerLayerviewDestroyEvent; - - export import GroupLayerLayerviewDestroyEventHandler = __esri.GroupLayerLayerviewDestroyEventHandler; - - export import ImageryLayerLayerviewCreateEvent = __esri.ImageryLayerLayerviewCreateEvent; - - export import ImageryLayerLayerviewCreateEventHandler = __esri.ImageryLayerLayerviewCreateEventHandler; - - export import ImageryLayerLayerviewDestroyEvent = __esri.ImageryLayerLayerviewDestroyEvent; - - export import ImageryLayerLayerviewDestroyEventHandler = __esri.ImageryLayerLayerviewDestroyEventHandler; - - export import IntegratedMeshLayerLayerviewCreateEvent = __esri.IntegratedMeshLayerLayerviewCreateEvent; - - export import IntegratedMeshLayerLayerviewCreateEventHandler = __esri.IntegratedMeshLayerLayerviewCreateEventHandler; - - export import IntegratedMeshLayerLayerviewDestroyEvent = __esri.IntegratedMeshLayerLayerviewDestroyEvent; - - export import IntegratedMeshLayerLayerviewDestroyEventHandler = __esri.IntegratedMeshLayerLayerviewDestroyEventHandler; - - export import MapImageLayerLayerviewCreateEvent = __esri.MapImageLayerLayerviewCreateEvent; - - export import MapImageLayerLayerviewCreateEventHandler = __esri.MapImageLayerLayerviewCreateEventHandler; - - export import MapImageLayerLayerviewDestroyEvent = __esri.MapImageLayerLayerviewDestroyEvent; - - export import MapImageLayerLayerviewDestroyEventHandler = __esri.MapImageLayerLayerviewDestroyEventHandler; - - export import MapNotesLayerLayerviewCreateEvent = __esri.MapNotesLayerLayerviewCreateEvent; - - export import MapNotesLayerLayerviewCreateEventHandler = __esri.MapNotesLayerLayerviewCreateEventHandler; - - export import MapNotesLayerLayerviewDestroyEvent = __esri.MapNotesLayerLayerviewDestroyEvent; - - export import MapNotesLayerLayerviewDestroyEventHandler = __esri.MapNotesLayerLayerviewDestroyEventHandler; - - export import OpenStreetMapLayerLayerviewCreateEvent = __esri.OpenStreetMapLayerLayerviewCreateEvent; - - export import OpenStreetMapLayerLayerviewCreateEventHandler = __esri.OpenStreetMapLayerLayerviewCreateEventHandler; - - export import OpenStreetMapLayerLayerviewDestroyEvent = __esri.OpenStreetMapLayerLayerviewDestroyEvent; - - export import OpenStreetMapLayerLayerviewDestroyEventHandler = __esri.OpenStreetMapLayerLayerviewDestroyEventHandler; - - export import PointCloudLayerLayerviewCreateEvent = __esri.PointCloudLayerLayerviewCreateEvent; - - export import PointCloudLayerLayerviewCreateEventHandler = __esri.PointCloudLayerLayerviewCreateEventHandler; - - export import PointCloudLayerLayerviewDestroyEvent = __esri.PointCloudLayerLayerviewDestroyEvent; - - export import PointCloudLayerLayerviewDestroyEventHandler = __esri.PointCloudLayerLayerviewDestroyEventHandler; - - export import PointCloudLayerElevationInfo = __esri.PointCloudLayerElevationInfo; - - export import PointCloudRendererColorModulation = __esri.PointCloudRendererColorModulation; - - export import PointCloudRendererPointSizeAlgorithm = __esri.PointCloudRendererPointSizeAlgorithm; - - export import SceneLayerLayerviewCreateEvent = __esri.SceneLayerLayerviewCreateEvent; - - export import SceneLayerLayerviewCreateEventHandler = __esri.SceneLayerLayerviewCreateEventHandler; - - export import SceneLayerLayerviewDestroyEvent = __esri.SceneLayerLayerviewDestroyEvent; - - export import SceneLayerLayerviewDestroyEventHandler = __esri.SceneLayerLayerviewDestroyEventHandler; - - export import SceneLayerElevationInfo = __esri.SceneLayerElevationInfo; - - export import SceneLayerFeatureReduction = __esri.SceneLayerFeatureReduction; - - export import StreamLayerLayerviewCreateEvent = __esri.StreamLayerLayerviewCreateEvent; - - export import StreamLayerLayerviewCreateEventHandler = __esri.StreamLayerLayerviewCreateEventHandler; - - export import StreamLayerLayerviewDestroyEvent = __esri.StreamLayerLayerviewDestroyEvent; - - export import StreamLayerLayerviewDestroyEventHandler = __esri.StreamLayerLayerviewDestroyEventHandler; - - export import StreamLayerFilter = __esri.StreamLayerFilter; - - export import StreamLayerPurgeOptions = __esri.StreamLayerPurgeOptions; - - export import StreamLayerUpdateFilterFilterChanges = __esri.StreamLayerUpdateFilterFilterChanges; - - export import TileLayerLayerviewCreateEvent = __esri.TileLayerLayerviewCreateEvent; - - export import TileLayerLayerviewCreateEventHandler = __esri.TileLayerLayerviewCreateEventHandler; - - export import TileLayerLayerviewDestroyEvent = __esri.TileLayerLayerviewDestroyEvent; - - export import TileLayerLayerviewDestroyEventHandler = __esri.TileLayerLayerviewDestroyEventHandler; - - export import TileLayerFetchTileOptions = __esri.TileLayerFetchTileOptions; - - export import UnknownLayerLayerviewCreateEvent = __esri.UnknownLayerLayerviewCreateEvent; - - export import UnknownLayerLayerviewCreateEventHandler = __esri.UnknownLayerLayerviewCreateEventHandler; - - export import UnknownLayerLayerviewDestroyEvent = __esri.UnknownLayerLayerviewDestroyEvent; - - export import UnknownLayerLayerviewDestroyEventHandler = __esri.UnknownLayerLayerviewDestroyEventHandler; - - export import UnsupportedLayerLayerviewCreateEvent = __esri.UnsupportedLayerLayerviewCreateEvent; - - export import UnsupportedLayerLayerviewCreateEventHandler = __esri.UnsupportedLayerLayerviewCreateEventHandler; - - export import UnsupportedLayerLayerviewDestroyEvent = __esri.UnsupportedLayerLayerviewDestroyEvent; - - export import UnsupportedLayerLayerviewDestroyEventHandler = __esri.UnsupportedLayerLayerviewDestroyEventHandler; - - export import VectorTileLayerLayerviewCreateEvent = __esri.VectorTileLayerLayerviewCreateEvent; - - export import VectorTileLayerLayerviewCreateEventHandler = __esri.VectorTileLayerLayerviewCreateEventHandler; - - export import VectorTileLayerLayerviewDestroyEvent = __esri.VectorTileLayerLayerviewDestroyEvent; - - export import VectorTileLayerLayerviewDestroyEventHandler = __esri.VectorTileLayerLayerviewDestroyEventHandler; - - export import VectorTileLayerCurrentStyleInfo = __esri.VectorTileLayerCurrentStyleInfo; - - export import WebTileLayerLayerviewCreateEvent = __esri.WebTileLayerLayerviewCreateEvent; - - export import WebTileLayerLayerviewCreateEventHandler = __esri.WebTileLayerLayerviewCreateEventHandler; - - export import WebTileLayerLayerviewDestroyEvent = __esri.WebTileLayerLayerviewDestroyEvent; - - export import WebTileLayerLayerviewDestroyEventHandler = __esri.WebTileLayerLayerviewDestroyEventHandler; - - export import WMSLayerLayerviewCreateEvent = __esri.WMSLayerLayerviewCreateEvent; - - export import WMSLayerLayerviewCreateEventHandler = __esri.WMSLayerLayerviewCreateEventHandler; - - export import WMSLayerLayerviewDestroyEvent = __esri.WMSLayerLayerviewDestroyEvent; - - export import WMSLayerLayerviewDestroyEventHandler = __esri.WMSLayerLayerviewDestroyEventHandler; - - export import WMSLayerFetchImageOptions = __esri.WMSLayerFetchImageOptions; - - export import WMTSLayerLayerviewCreateEvent = __esri.WMTSLayerLayerviewCreateEvent; - - export import WMTSLayerLayerviewCreateEventHandler = __esri.WMTSLayerLayerviewCreateEventHandler; - - export import WMTSLayerLayerviewDestroyEvent = __esri.WMTSLayerLayerviewDestroyEvent; - - export import WMTSLayerLayerviewDestroyEventHandler = __esri.WMTSLayerLayerviewDestroyEventHandler; - - export import BaseDynamicLayerFetchImageOptions = __esri.BaseDynamicLayerFetchImageOptions; - - export import BaseDynamicLayerLayerviewCreateEvent = __esri.BaseDynamicLayerLayerviewCreateEvent; - - export import BaseDynamicLayerLayerviewCreateEventHandler = __esri.BaseDynamicLayerLayerviewCreateEventHandler; - - export import BaseDynamicLayerLayerviewDestroyEvent = __esri.BaseDynamicLayerLayerviewDestroyEvent; - - export import BaseDynamicLayerLayerviewDestroyEventHandler = __esri.BaseDynamicLayerLayerviewDestroyEventHandler; - - export import BaseTileLayerFetchTileOptions = __esri.BaseTileLayerFetchTileOptions; - - export import BaseTileLayerLayerviewCreateEvent = __esri.BaseTileLayerLayerviewCreateEvent; - - export import BaseTileLayerLayerviewCreateEventHandler = __esri.BaseTileLayerLayerviewCreateEventHandler; - - export import BaseTileLayerLayerviewDestroyEvent = __esri.BaseTileLayerLayerviewDestroyEvent; - - export import BaseTileLayerLayerviewDestroyEventHandler = __esri.BaseTileLayerLayerviewDestroyEventHandler; - - export import CodedValueDomainCodedValues = __esri.CodedValueDomainCodedValues; - - export import PixelBlockAddDataPlaneData = __esri.PixelBlockAddDataPlaneData; - - export import PixelBlockStatistics = __esri.PixelBlockStatistics; - - export import ClassBreaksRendererClassBreakInfos = __esri.ClassBreaksRendererClassBreakInfos; - - export import ClassBreaksRendererLegendOptions = __esri.ClassBreaksRendererLegendOptions; - - export import UniqueValueRendererLegendOptions = __esri.UniqueValueRendererLegendOptions; - - export import UniqueValueRendererUniqueValueInfos = __esri.UniqueValueRendererUniqueValueInfos; - - export import PointCloudClassBreaksRendererColorClassBreakInfos = __esri.PointCloudClassBreaksRendererColorClassBreakInfos; - - export import PointCloudStretchRendererStops = __esri.PointCloudStretchRendererStops; - - export import PointCloudUniqueValueRendererColorUniqueValueInfos = __esri.PointCloudUniqueValueRendererColorUniqueValueInfos; - - export import FillSymbol3DLayerOutline = __esri.FillSymbol3DLayerOutline; - - export import IconSymbol3DLayerOutline = __esri.IconSymbol3DLayerOutline; - - export import IconSymbol3DLayerResource = __esri.IconSymbol3DLayerResource; - - export import ObjectSymbol3DLayerResource = __esri.ObjectSymbol3DLayerResource; - - export import PointSymbol3DVerticalOffsetProperties = __esri.PointSymbol3DVerticalOffsetProperties; - export import PointSymbol3DVerticalOffset = __esri.PointSymbol3DVerticalOffset; - - export import Symbol3DStyleOrigin = __esri.Symbol3DStyleOrigin; - - export import TextSymbol3DLayerFont = __esri.TextSymbol3DLayerFont; - - export import TextSymbol3DLayerHalo = __esri.TextSymbol3DLayerHalo; - - export import LineCallout3DBorderProperties = __esri.LineCallout3DBorderProperties; - export import LineCallout3DBorder = __esri.LineCallout3DBorder; - - export import ClosestFacilityParametersAttributeParameterValues = __esri.ClosestFacilityParametersAttributeParameterValues; - - export import GeometryServiceFromGeoCoordinateStringParams = __esri.GeometryServiceFromGeoCoordinateStringParams; - - export import GeometryServiceToGeoCoordinateStringParams = __esri.GeometryServiceToGeoCoordinateStringParams; - - export import ProjectParametersTransformation = __esri.ProjectParametersTransformation; - - export import LocatorAddressToLocationsParams = __esri.LocatorAddressToLocationsParams; - - export import LocatorAddressesToLocationsParams = __esri.LocatorAddressesToLocationsParams; - - export import LocatorSuggestLocationsParams = __esri.LocatorSuggestLocationsParams; - - export import PrintTemplateExportOptions = __esri.PrintTemplateExportOptions; - - export import PrintTemplateLayoutOptions = __esri.PrintTemplateLayoutOptions; - - export import MapViewDragEventOrigin = __esri.MapViewDragEventOrigin; - - export import MapViewClickEvent = __esri.MapViewClickEvent; - - export import MapViewClickEventHandler = __esri.MapViewClickEventHandler; - - export import MapViewDoubleClickEvent = __esri.MapViewDoubleClickEvent; - - export import MapViewDoubleClickEventHandler = __esri.MapViewDoubleClickEventHandler; - - export import MapViewDragEvent = __esri.MapViewDragEvent; - - export import MapViewDragEventHandler = __esri.MapViewDragEventHandler; - - export import MapViewHoldEvent = __esri.MapViewHoldEvent; - - export import MapViewHoldEventHandler = __esri.MapViewHoldEventHandler; - - export import MapViewKeyDownEvent = __esri.MapViewKeyDownEvent; - - export import MapViewKeyDownEventHandler = __esri.MapViewKeyDownEventHandler; - - export import MapViewKeyUpEvent = __esri.MapViewKeyUpEvent; - - export import MapViewKeyUpEventHandler = __esri.MapViewKeyUpEventHandler; - - export import MapViewLayerviewCreateEvent = __esri.MapViewLayerviewCreateEvent; - - export import MapViewLayerviewCreateEventHandler = __esri.MapViewLayerviewCreateEventHandler; - - export import MapViewLayerviewDestroyEvent = __esri.MapViewLayerviewDestroyEvent; - - export import MapViewLayerviewDestroyEventHandler = __esri.MapViewLayerviewDestroyEventHandler; - - export import MapViewConstraints = __esri.MapViewConstraints; - - export import MapViewGoToOptions = __esri.MapViewGoToOptions; - - export import MapViewHitTestScreenPoint = __esri.MapViewHitTestScreenPoint; - - export import MapViewToMapScreenPoint = __esri.MapViewToMapScreenPoint; - - export import MapViewMouseWheelEvent = __esri.MapViewMouseWheelEvent; - - export import MapViewMouseWheelEventHandler = __esri.MapViewMouseWheelEventHandler; - - export import MapViewPointerDownEvent = __esri.MapViewPointerDownEvent; - - export import MapViewPointerDownEventHandler = __esri.MapViewPointerDownEventHandler; - - export import MapViewPointerMoveEvent = __esri.MapViewPointerMoveEvent; - - export import MapViewPointerMoveEventHandler = __esri.MapViewPointerMoveEventHandler; - - export import MapViewPointerUpEvent = __esri.MapViewPointerUpEvent; - - export import MapViewPointerUpEventHandler = __esri.MapViewPointerUpEventHandler; - - export import MapViewResizeEvent = __esri.MapViewResizeEvent; - - export import MapViewResizeEventHandler = __esri.MapViewResizeEventHandler; - - export import AttributeParamValue = __esri.AttributeParamValue; - - export import ConfigurationTaskGetDataWorkspaceDetailsParams = __esri.ConfigurationTaskGetDataWorkspaceDetailsParams; - - export import ConfigurationTaskGetUserJobQueryDetailsParams = __esri.ConfigurationTaskGetUserJobQueryDetailsParams; - - export import AuxRecordDescription = __esri.AuxRecordDescription; - - export import JobCreationParameters = __esri.JobCreationParameters; - - export import JobQueryParameters = __esri.JobQueryParameters; - - export import JobTaskAddEmbeddedAttachmentParams = __esri.JobTaskAddEmbeddedAttachmentParams; - - export import JobTaskAddLinkedAttachmentParams = __esri.JobTaskAddLinkedAttachmentParams; - - export import JobTaskAddLinkedRecordParams = __esri.JobTaskAddLinkedRecordParams; - - export import JobTaskAssignJobsParams = __esri.JobTaskAssignJobsParams; - - export import JobTaskCloseJobsParams = __esri.JobTaskCloseJobsParams; - - export import JobTaskCreateDependencyParams = __esri.JobTaskCreateDependencyParams; - - export import JobTaskCreateHoldParams = __esri.JobTaskCreateHoldParams; - - export import JobTaskCreateJobVersionParams = __esri.JobTaskCreateJobVersionParams; - - export import JobTaskDeleteAttachmentParams = __esri.JobTaskDeleteAttachmentParams; - - export import JobTaskDeleteDependencyParams = __esri.JobTaskDeleteDependencyParams; - - export import JobTaskDeleteJobsParams = __esri.JobTaskDeleteJobsParams; - - export import JobTaskDeleteLinkedRecordParams = __esri.JobTaskDeleteLinkedRecordParams; - - export import JobTaskGetAttachmentContentUrlParams = __esri.JobTaskGetAttachmentContentUrlParams; - - export import JobTaskListFieldValuesParams = __esri.JobTaskListFieldValuesParams; - - export import JobTaskListMultiLevelFieldValuesParams = __esri.JobTaskListMultiLevelFieldValuesParams; - - export import JobTaskLogActionParams = __esri.JobTaskLogActionParams; - - export import JobTaskQueryJobsParams = __esri.JobTaskQueryJobsParams; - - export import JobTaskQueryMultiLevelSelectedValuesParams = __esri.JobTaskQueryMultiLevelSelectedValuesParams; - - export import JobTaskReleaseHoldParams = __esri.JobTaskReleaseHoldParams; - - export import JobTaskReopenClosedJobsParams = __esri.JobTaskReopenClosedJobsParams; - - export import JobTaskSearchJobsParams = __esri.JobTaskSearchJobsParams; - - export import JobTaskUnassignJobsParams = __esri.JobTaskUnassignJobsParams; - - export import JobTaskUpdateNotesParams = __esri.JobTaskUpdateNotesParams; - - export import JobTaskUpdateRecordParams = __esri.JobTaskUpdateRecordParams; - - export import JobUpdateParameters = __esri.JobUpdateParameters; - - export import ChangeRule = __esri.ChangeRule; - - export import NotificationTaskAddChangeRuleParams = __esri.NotificationTaskAddChangeRuleParams; - - export import NotificationTaskDeleteChangeRuleParams = __esri.NotificationTaskDeleteChangeRuleParams; - - export import NotificationTaskNotifySessionParams = __esri.NotificationTaskNotifySessionParams; - - export import NotificationTaskQueryChangeRulesParams = __esri.NotificationTaskQueryChangeRulesParams; - - export import NotificationTaskRunSpatialNotificationOnHistoryParams = __esri.NotificationTaskRunSpatialNotificationOnHistoryParams; - - export import NotificationTaskSendNotificationParams = __esri.NotificationTaskSendNotificationParams; - - export import NotificationTaskSubscribeToNotificationParams = __esri.NotificationTaskSubscribeToNotificationParams; - - export import NotificationTaskUnsubscribeFromNotificationParams = __esri.NotificationTaskUnsubscribeFromNotificationParams; - - export import ReportTaskGenerateReportParams = __esri.ReportTaskGenerateReportParams; - - export import ReportTaskGetReportContentUrlParams = __esri.ReportTaskGetReportContentUrlParams; - - export import ReportTaskGetReportDataParams = __esri.ReportTaskGetReportDataParams; - - export import TokenTaskParseTokensParams = __esri.TokenTaskParseTokensParams; - - export import WorkflowTaskCanRunStepParams = __esri.WorkflowTaskCanRunStepParams; - - export import WorkflowTaskExecuteStepsParams = __esri.WorkflowTaskExecuteStepsParams; - - export import WorkflowTaskGetStepDescriptionParams = __esri.WorkflowTaskGetStepDescriptionParams; - - export import WorkflowTaskGetStepFileUrlParams = __esri.WorkflowTaskGetStepFileUrlParams; - - export import WorkflowTaskGetStepParams = __esri.WorkflowTaskGetStepParams; - - export import WorkflowTaskMarkStepsAsDoneParams = __esri.WorkflowTaskMarkStepsAsDoneParams; - - export import WorkflowTaskMoveToNextStepParams = __esri.WorkflowTaskMoveToNextStepParams; - - export import WorkflowTaskRecreateWorkflowParams = __esri.WorkflowTaskRecreateWorkflowParams; - - export import WorkflowTaskResolveConflictParams = __esri.WorkflowTaskResolveConflictParams; - - export import WorkflowTaskSetCurrentStepParams = __esri.WorkflowTaskSetCurrentStepParams; - - export import ImageryLayerViewPixelData = __esri.ImageryLayerViewPixelData; - - export import StreamLayerViewDataReceivedEvent = __esri.StreamLayerViewDataReceivedEvent; - - export import StreamLayerViewDataReceivedEventHandler = __esri.StreamLayerViewDataReceivedEventHandler; - - export import StreamLayerViewFilter = __esri.StreamLayerViewFilter; - - export import StreamLayerViewUpdateFilterFilter = __esri.StreamLayerViewUpdateFilterFilter; - - export import SlideApplyToOptions = __esri.SlideApplyToOptions; - - export import SlideCreateFromOptions = __esri.SlideCreateFromOptions; - - export import SlideCreateFromOptionsScreenshot = __esri.SlideCreateFromOptionsScreenshot; - - export import SlideDescriptionProperties = __esri.SlideDescriptionProperties; - export import SlideDescription = __esri.SlideDescription; - - export import SlideThumbnailProperties = __esri.SlideThumbnailProperties; - export import SlideThumbnail = __esri.SlideThumbnail; - - export import SlideTitleProperties = __esri.SlideTitleProperties; - export import SlideTitle = __esri.SlideTitle; - - export import SlideUpdateFromOptions = __esri.SlideUpdateFromOptions; - - export import SlideUpdateFromOptionsScreenshot = __esri.SlideUpdateFromOptionsScreenshot; - - export import SlideVisibleLayers = __esri.SlideVisibleLayers; - - export import ColorSliderValues = __esri.ColorSliderValues; - - export import LegendLayerInfos = __esri.LegendLayerInfos; - - export import PopupDockOptions = __esri.PopupDockOptions; - - export import PopupOpenOptions = __esri.PopupOpenOptions; - - export import SearchViewModelSearchCompleteEventResults = __esri.SearchViewModelSearchCompleteEventResults; - - export import SearchViewModelSearchCompleteEventResultsResults = __esri.SearchViewModelSearchCompleteEventResultsResults; - - export import SearchViewModelSelectResultEventResult = __esri.SearchViewModelSelectResultEventResult; - - export import SearchViewModelSuggestCompleteEventResults = __esri.SearchViewModelSuggestCompleteEventResults; - - export import SearchViewModelSuggestCompleteEventResultsResults = __esri.SearchViewModelSuggestCompleteEventResultsResults; - - export import SearchViewModelLoadEvent = __esri.SearchViewModelLoadEvent; - - export import SearchViewModelLoadEventHandler = __esri.SearchViewModelLoadEventHandler; - - export import SearchViewModelSearchClearEvent = __esri.SearchViewModelSearchClearEvent; - - export import SearchViewModelSearchClearEventHandler = __esri.SearchViewModelSearchClearEventHandler; - - export import SearchViewModelSearchCompleteEvent = __esri.SearchViewModelSearchCompleteEvent; - - export import SearchViewModelSearchCompleteEventHandler = __esri.SearchViewModelSearchCompleteEventHandler; - - export import SearchViewModelSearchStartEvent = __esri.SearchViewModelSearchStartEvent; - - export import SearchViewModelSearchStartEventHandler = __esri.SearchViewModelSearchStartEventHandler; - - export import SearchViewModelSelectResultEvent = __esri.SearchViewModelSelectResultEvent; - - export import SearchViewModelSelectResultEventHandler = __esri.SearchViewModelSelectResultEventHandler; - - export import SearchViewModelSuggestCompleteEvent = __esri.SearchViewModelSuggestCompleteEvent; - - export import SearchViewModelSuggestCompleteEventHandler = __esri.SearchViewModelSuggestCompleteEventHandler; - - export import SearchViewModelSuggestStartEvent = __esri.SearchViewModelSuggestStartEvent; - - export import SearchViewModelSuggestStartEventHandler = __esri.SearchViewModelSuggestStartEventHandler; - - export import DynamicLayerFetchImageOptions = __esri.DynamicLayerFetchImageOptions; - - export import DynamicLayerGetImageUrlOptions = __esri.DynamicLayerGetImageUrlOptions; - - export import ArcGISDynamicMapServiceGetExportImageParametersOptions = __esri.ArcGISDynamicMapServiceGetExportImageParametersOptions; - - export import SceneServiceVersion = __esri.SceneServiceVersion; - - export import BreakpointsOwnerBreakpoints = __esri.BreakpointsOwnerBreakpoints; - - export import configRequest = __esri.configRequest; - - export import configRequestCorsEnabledServers = __esri.configRequestCorsEnabledServers; - - export import configRequestProxyRules = __esri.configRequestProxyRules; - - export import configWorkers = __esri.configWorkers; - - export import configWorkersLoaderConfig = __esri.configWorkersLoaderConfig; - - export import requestEsriRequestOptions = __esri.requestEsriRequestOptions; - - export import EachAlwaysResult = __esri.EachAlwaysResult; - - export import urlUtilsAddProxyRuleRule = __esri.urlUtilsAddProxyRuleRule; - - export import EventAttachedCallback = __esri.EventAttachedCallback; - - export import PausableWatchHandle = __esri.PausableWatchHandle; - - export import decoratorsPropertyPropertyMetadata = __esri.decoratorsPropertyPropertyMetadata; - - export import colorCreateContinuousRendererParams = __esri.colorCreateContinuousRendererParams; - - export import colorCreateContinuousRendererParamsLegendOptions = __esri.colorCreateContinuousRendererParamsLegendOptions; - - export import colorCreateVisualVariableParams = __esri.colorCreateVisualVariableParams; - - export import colorCreateVisualVariableParamsLegendOptions = __esri.colorCreateVisualVariableParamsLegendOptions; - - export import locationCreateRendererParams = __esri.locationCreateRendererParams; - - export import sizeCreateContinuousRendererParams = __esri.sizeCreateContinuousRendererParams; - - export import sizeCreateContinuousRendererParamsLegendOptions = __esri.sizeCreateContinuousRendererParamsLegendOptions; + export type OpenStreetMapLayerLayerviewCreateEventHandler = (event: OpenStreetMapLayerLayerviewCreateEvent) => void; - export import sizeCreateVisualVariablesParams = __esri.sizeCreateVisualVariablesParams; + export type OpenStreetMapLayerLayerviewDestroyEventHandler = (event: OpenStreetMapLayerLayerviewDestroyEvent) => void; - export import sizeCreateVisualVariablesParamsLegendOptions = __esri.sizeCreateVisualVariablesParamsLegendOptions; + export type PointCloudLayerLayerviewCreateEventHandler = (event: PointCloudLayerLayerviewCreateEvent) => void; - export import typeCreateRendererParams = __esri.typeCreateRendererParams; + export type PointCloudLayerLayerviewDestroyEventHandler = (event: PointCloudLayerLayerviewDestroyEvent) => void; - export import typeCreateRendererParamsLegendOptions = __esri.typeCreateRendererParamsLegendOptions; + export type PolygonDrawActionCursorUpdateEventHandler = (event: PolygonDrawActionCursorUpdateEvent) => void; - export import univariateColorSizeCreateContinuousRendererParams = __esri.univariateColorSizeCreateContinuousRendererParams; + export type PolygonDrawActionDrawCompleteEventHandler = (event: PolygonDrawActionDrawCompleteEvent) => void; - export import univariateColorSizeCreateContinuousRendererParamsColorOptions = __esri.univariateColorSizeCreateContinuousRendererParamsColorOptions; + export type PolygonDrawActionVertexAddEventHandler = (event: PolygonDrawActionVertexAddEvent) => void; - export import univariateColorSizeCreateContinuousRendererParamsColorOptionsLegendOptions = __esri.univariateColorSizeCreateContinuousRendererParamsColorOptionsLegendOptions; + export type PolygonDrawActionVertexRemoveEventHandler = (event: PolygonDrawActionVertexRemoveEvent) => void; - export import univariateColorSizeCreateContinuousRendererParamsSizeOptions = __esri.univariateColorSizeCreateContinuousRendererParamsSizeOptions; + export type PolylineDrawActionCursorUpdateEventHandler = (event: PolylineDrawActionCursorUpdateEvent) => void; - export import univariateColorSizeCreateContinuousRendererParamsSizeOptionsLegendOptions = __esri.univariateColorSizeCreateContinuousRendererParamsSizeOptionsLegendOptions; + export type PolylineDrawActionDrawCompleteEventHandler = (event: PolylineDrawActionDrawCompleteEvent) => void; - export import univariateColorSizeCreateVisualVariablesParams = __esri.univariateColorSizeCreateVisualVariablesParams; + export type PolylineDrawActionVertexAddEventHandler = (event: PolylineDrawActionVertexAddEvent) => void; - export import univariateColorSizeCreateVisualVariablesParamsColorOptions = __esri.univariateColorSizeCreateVisualVariablesParamsColorOptions; + export type PolylineDrawActionVertexRemoveEventHandler = (event: PolylineDrawActionVertexRemoveEvent) => void; - export import univariateColorSizeCreateVisualVariablesParamsColorOptionsLegendOptions = __esri.univariateColorSizeCreateVisualVariablesParamsColorOptionsLegendOptions; + export type SceneLayerLayerviewCreateEventHandler = (event: SceneLayerLayerviewCreateEvent) => void; - export import univariateColorSizeCreateVisualVariablesParamsSizeOptions = __esri.univariateColorSizeCreateVisualVariablesParamsSizeOptions; + export type SceneLayerLayerviewDestroyEventHandler = (event: SceneLayerLayerviewDestroyEvent) => void; - export import univariateColorSizeCreateVisualVariablesParamsSizeOptionsLegendOptions = __esri.univariateColorSizeCreateVisualVariablesParamsSizeOptionsLegendOptions; + export type SceneViewClickEventHandler = (event: SceneViewClickEvent) => void; - export import classBreaksClassBreaksParams = __esri.classBreaksClassBreaksParams; + export type SceneViewDoubleClickEventHandler = (event: SceneViewDoubleClickEvent) => void; - export import histogramHistogramParams = __esri.histogramHistogramParams; + export type SceneViewDragEventHandler = (event: SceneViewDragEvent) => void; - export import summaryStatisticsSummaryStatisticsParams = __esri.summaryStatisticsSummaryStatisticsParams; + export type SceneViewHoldEventHandler = (event: SceneViewHoldEvent) => void; - export import uniqueValuesUniqueValuesParams = __esri.uniqueValuesUniqueValuesParams; + export type SceneViewKeyDownEventHandler = (event: SceneViewKeyDownEvent) => void; - export import colorGetSchemesParams = __esri.colorGetSchemesParams; + export type SceneViewKeyUpEventHandler = (event: SceneViewKeyUpEvent) => void; - export import locationGetSchemesParams = __esri.locationGetSchemesParams; + export type SceneViewLayerviewCreateEventHandler = (event: SceneViewLayerviewCreateEvent) => void; - export import sizeGetSchemesParams = __esri.sizeGetSchemesParams; + export type SceneViewLayerviewDestroyEventHandler = (event: SceneViewLayerviewDestroyEvent) => void; - export import typeGetSchemesParams = __esri.typeGetSchemesParams; + export type SceneViewMouseWheelEventHandler = (event: SceneViewMouseWheelEvent) => void; - export import JobQuery = __esri.JobQuery; + export type SceneViewPointerDownEventHandler = (event: SceneViewPointerDownEvent) => void; - export import GroupMembership = __esri.GroupMembership; + export type SceneViewPointerMoveEventHandler = (event: SceneViewPointerMoveEvent) => void; - export import JobQueryContainer = __esri.JobQueryContainer; + export type SceneViewPointerUpEventHandler = (event: SceneViewPointerUpEvent) => void; - export import Privilege = __esri.Privilege; + export type SceneViewResizeEventHandler = (event: SceneViewResizeEvent) => void; - export import DataWorkspace = __esri.DataWorkspace; + export type SearchViewModelLoadEventHandler = (event: SearchViewModelLoadEvent) => void; - export import HoldType = __esri.HoldType; + export type SearchViewModelSearchClearEventHandler = (event: SearchViewModelSearchClearEvent) => void; - export import JobPriority = __esri.JobPriority; + export type SearchViewModelSearchCompleteEventHandler = (event: SearchViewModelSearchCompleteEvent) => void; - export import JobStatus = __esri.JobStatus; + export type SearchViewModelSearchStartEventHandler = (event: SearchViewModelSearchStartEvent) => void; - export import JobType = __esri.JobType; + export type SearchViewModelSelectResultEventHandler = (event: SearchViewModelSelectResultEvent) => void; - export import ActivityType = __esri.ActivityType; + export type SearchViewModelSuggestCompleteEventHandler = (event: SearchViewModelSuggestCompleteEvent) => void; - export import NotificationType = __esri.NotificationType; + export type SearchViewModelSuggestStartEventHandler = (event: SearchViewModelSuggestStartEvent) => void; - export import AuxRecord = __esri.AuxRecord; + export type StreamLayerLayerviewCreateEventHandler = (event: StreamLayerLayerviewCreateEvent) => void; - export import AuxRecordValue = __esri.AuxRecordValue; + export type StreamLayerLayerviewDestroyEventHandler = (event: StreamLayerLayerviewDestroyEvent) => void; - export import JobVersionInfo = __esri.JobVersionInfo; + export type StreamLayerViewDataReceivedEventHandler = (event: StreamLayerViewDataReceivedEvent) => void; - export import QueryFieldInfo = __esri.QueryFieldInfo; + export type TileLayerLayerviewCreateEventHandler = (event: TileLayerLayerviewCreateEvent) => void; - export import DatasetConfiguration = __esri.DatasetConfiguration; + export type TileLayerLayerviewDestroyEventHandler = (event: TileLayerLayerviewDestroyEvent) => void; - export import WhereCondition = __esri.WhereCondition; + export type UnknownLayerLayerviewCreateEventHandler = (event: UnknownLayerLayerviewCreateEvent) => void; - export import ReportDataGroup = __esri.ReportDataGroup; + export type UnknownLayerLayerviewDestroyEventHandler = (event: UnknownLayerLayerviewDestroyEvent) => void; - export import WorkflowConflicts = __esri.WorkflowConflicts; + export type UnsupportedLayerLayerviewCreateEventHandler = (event: UnsupportedLayerLayerviewCreateEvent) => void; - export import WorkflowOption = __esri.WorkflowOption; + export type UnsupportedLayerLayerviewDestroyEventHandler = (event: UnsupportedLayerLayerviewDestroyEvent) => void; - export import WorkflowStepInfo = __esri.WorkflowStepInfo; + export type VectorTileLayerLayerviewCreateEventHandler = (event: VectorTileLayerLayerviewCreateEvent) => void; - export import StepType = __esri.StepType; + export type VectorTileLayerLayerviewDestroyEventHandler = (event: VectorTileLayerLayerviewDestroyEvent) => void; - export import WorkflowAnnotationDisplayDetails = __esri.WorkflowAnnotationDisplayDetails; + export type WebTileLayerLayerviewCreateEventHandler = (event: WebTileLayerLayerviewCreateEvent) => void; - export import WorkflowPathDisplayDetails = __esri.WorkflowPathDisplayDetails; + export type WebTileLayerLayerviewDestroyEventHandler = (event: WebTileLayerLayerviewDestroyEvent) => void; - export import WorkflowStepDisplayDetails = __esri.WorkflowStepDisplayDetails; + export type WMSLayerLayerviewCreateEventHandler = (event: WMSLayerLayerviewCreateEvent) => void; - export import ColorAndIntensity = __esri.ColorAndIntensity; + export type WMSLayerLayerviewDestroyEventHandler = (event: WMSLayerLayerviewDestroyEvent) => void; - export import RenderCamera = __esri.RenderCamera; + export type WMTSLayerLayerviewCreateEventHandler = (event: WMTSLayerLayerviewCreateEvent) => void; - export import SunLight = __esri.SunLight; + export type WMTSLayerLayerviewDestroyEventHandler = (event: WMTSLayerLayerviewDestroyEvent) => void; } declare module "esri/Basemap" { @@ -10509,6 +11208,11 @@ declare module "esri/geometry/Geometry" { export = Geometry; } +declare module "esri/geometry/HeightModelInfo" { + import HeightModelInfo = __esri.HeightModelInfo; + export = HeightModelInfo; +} + declare module "esri/geometry/Multipoint" { import Multipoint = __esri.Multipoint; export = Multipoint; @@ -10609,6 +11313,11 @@ declare module "esri/layers/IntegratedMeshLayer" { export = IntegratedMeshLayer; } +declare module "esri/layers/KMLLayer" { + import KMLLayer = __esri.KMLLayer; + export = KMLLayer; +} + declare module "esri/layers/Layer" { import Layer = __esri.Layer; export = Layer; @@ -10729,6 +11438,11 @@ declare module "esri/layers/support/InheritedDomain" { export = InheritedDomain; } +declare module "esri/layers/support/KMLSublayer" { + import KMLSublayer = __esri.KMLSublayer; + export = KMLSublayer; +} + declare module "esri/layers/support/LabelClass" { import LabelClass = __esri.LabelClass; export = LabelClass; @@ -11379,6 +12093,26 @@ declare module "esri/views/ui/DefaultUI" { export = DefaultUI; } +declare module "esri/views/2d/draw/Draw" { + import Draw = __esri.Draw; + export = Draw; +} + +declare module "esri/views/2d/draw/PointDrawAction" { + import PointDrawAction = __esri.PointDrawAction; + export = PointDrawAction; +} + +declare module "esri/views/2d/draw/PolylineDrawAction" { + import PolylineDrawAction = __esri.PolylineDrawAction; + export = PolylineDrawAction; +} + +declare module "esri/views/2d/draw/PolygonDrawAction" { + import PolygonDrawAction = __esri.PolygonDrawAction; + export = PolygonDrawAction; +} + declare module "esri/webmap/InitialViewProperties" { import InitialViewProperties = __esri.InitialViewProperties; export = InitialViewProperties; @@ -11589,6 +12323,11 @@ declare module "esri/widgets/Zoom/ZoomViewModel" { export = ZoomViewModel; } +declare module "esri/widgets/Sketch/SketchViewModel" { + import SketchViewModel = __esri.SketchViewModel; + export = SketchViewModel; +} + declare module "esri/core/Evented" { import Evented = __esri.Evented; export = Evented; @@ -11699,6 +12438,11 @@ declare module "esri/request" { export = request; } +declare module "esri/core/Error" { + import Error = __esri.Error; + export = Error; +} + declare module "esri/core/lang" { import lang = __esri.lang; export = lang; From a2f96b65de2ea0f212fb7ba5d0950e608f22a0c8 Mon Sep 17 00:00:00 2001 From: Roy Xue <xljroy@gmail.com> Date: Mon, 2 Oct 2017 14:48:43 -0700 Subject: [PATCH 082/433] [react-table]Add react-table (#20122) * Add react-table * Remove readme from project link * Change string type --- types/react-table/index.d.ts | 509 ++++++++++++++++++++++++ types/react-table/react-table-tests.tsx | 57 +++ types/react-table/tsconfig.json | 24 ++ types/react-table/tslint.json | 1 + 4 files changed, 591 insertions(+) create mode 100644 types/react-table/index.d.ts create mode 100644 types/react-table/react-table-tests.tsx create mode 100644 types/react-table/tsconfig.json create mode 100644 types/react-table/tslint.json diff --git a/types/react-table/index.d.ts b/types/react-table/index.d.ts new file mode 100644 index 0000000000..b62315459e --- /dev/null +++ b/types/react-table/index.d.ts @@ -0,0 +1,509 @@ +// Type definitions for react-table 6.5 +// Project: https://github.com/react-tools/react-table +// Definitions by: Roy Xue <https://github.com/royxue> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 +import * as React from 'react'; + +export type ReactTableFunction = () => void; +export type AccessorFunction = (row: object) => any; +export type Accessor = string | string[] | object | AccessorFunction; +export type Aggregator = (values: any, rows: any) => any; +export type TableCellRenderer = ((data: any, column: any) => React.ReactNode) | React.ReactNode; +export type FilterRender = (params: { column: Column, filter: any, onFilterChange: ReactTableFunction, key?: string }) => React.ReactElement<any>; + +export type ComponentPropsGetter0 = (finalState: any, rowInfo: undefined, column: undefined, instance?: any) => object | undefined; +export type ComponentPropsGetterR = (finalState: any, rowInfo?: RowInfo, column?: undefined, instance?: any) => object | undefined; +export type ComponentPropsGetterC = (finalState: any, rowInfo?: undefined, column?: Column, instance?: any) => object | undefined; +export type ComponentPropsGetterRC = (finalState: any, rowInfo?: RowInfo, column?: Column, instance?: any) => object | undefined; + +export type FilterFunction = (filter: any, row: any, column: any) => boolean; +export type SubComponentFunction = (rowInfo: RowInfo) => React.ReactNode; +export type PageChangeFunction = (page: number) => void; +export type PageSizeChangeFunction = (newPageSize: number, newPage: number) => void; +export type SortedChangeFunction = (column: any, additive: boolean) => void; +export type FilteredChangeFunction = (column: any, value: any, pivotColumn: any) => void; +export type ExpandedChangeFunction = (column: any, event: any, isTouch: boolean) => void; + +/** NOTE: to many configuration ways (only true values are confusing) */ +export interface SortingRule { + id: string; + sort?: 'desc' | 'asc'; + asc?: true; + desc?: true; +} + +export interface TableProps extends + Partial<TextProps>, + Partial<ComponentDecoratorProps>, + Partial<ControlledStateCallbackProps>, + Partial<PivotingProps>, + Partial<ControlledStateOverrideProps>, + Partial<ComponentProps> { + /** Default: [] */ + data: any[]; + + /** Default: false */ + loading: boolean; + + /** Default: false */ + showPagination: boolean; + + /** Default: false */ + manual: boolean; + + /** Default: false */ + showPageSizeOptions: boolean; + + /** Default: [5, 10, 20, 25, 50, 100] */ + pageSizeOptions: number[]; + + /** Default: 20 */ + defaultPageSize: number; + + /** + * Default: undefined + * Otherwise take value from 'pageSize' if defined + * @TODO: add minRows to react-table defaultProps even if undefined + */ + minRows: number; + + /** Default: true */ + showPageJump: boolean; + + /** Default: true */ + collapseOnSortingChange: boolean; + + /** Default: true */ + collapseOnPageChange: boolean; + + /** Default: true */ + collapseOnDataChange: boolean; + + /** Default: false */ + freezeWhenExpanded: boolean; + + /** Default: [] */ + defaultSorting: SortingRule[]; + + /** Default: false */ + showFilters: boolean; + + /** Default: [] */ + defaultFiltering: any[]; + + /** Default: ... */ + defaultFilterMethod: FilterFunction; + + /** Default: true */ + resizable: boolean; + + /** Default: false */ + filterable: boolean; + + /** Default: [] */ + defaultResizing: any[]; + + /** On change. */ + onChange: ReactTableFunction; + + /** + * Default: string + * Adding a -striped className to ReactTable will slightly color odd numbered rows for legibility + * Adding a -highlight className to ReactTable will highlight any row as you hover over it + */ + className: string; + + /** Default: {} */ + style: object; + + /** Global Column Defaults */ + column: Partial<GlobalColumn>; + + /** Array of all Available Columns */ + columns?: Column[]; + + /** Expander defaults. */ + expanderDefaults: Partial<ExpanderDefaults>; + + /** Privot defaults. */ + pivotDefaults: Partial<PivotDefaults>; +} + +export interface ControlledStateOverrideProps { + /** Default: undefined */ + page: number; + + /** Default: undefined */ + pageSize: number; + + /** Default: undefined */ + sorting: number; + + /** Sub component */ + SubComponent: SubComponentFunction; +} + +export interface PivotingProps { + /** Default: undefined */ + pivotBy: string[]; + + /** Default: 200 */ + pivotColumnWidth: number; + + /** Default: _pivotVal */ + pivotValKey: string; + + /** Default: _pivotID */ + pivotIDKey: string; + + /** Default: _subRows */ + subRowsKey: string; + + /** + * Default: {} - Pivoting State Overrides (see Fully Controlled Component section) + * @example { 4: true } + * @example { 5: { 9: true }, 10: true } + */ + expandedRows: ExpandedRows; + + /** Default: ??? - Pivoting State Callbacks */ + onExpandRow: ReactTableFunction; +} + +export interface ExpandedRows { + [idx: number]: boolean | ExpandedRows; +} + +export interface ControlledStateCallbackProps { + onPageChange: PageChangeFunction; + onPageSizeChange: PageSizeChangeFunction; + onSortedChange: SortedChangeFunction; + onFilteredChange: FilteredChangeFunction; + onExpandedChange: ExpandedChangeFunction; +} + +export interface ComponentDecoratorProps { + getProps: ComponentPropsGetterRC | ComponentPropsGetterC | ComponentPropsGetter0; + getTableProps: ComponentPropsGetter0; + getTheadGroupProps: ComponentPropsGetter0; + getTheadGroupTrProps: ComponentPropsGetter0; + getTheadGroupThProps: ComponentPropsGetterC; + getTheadProps: ComponentPropsGetter0; + getTheadTrProps: ComponentPropsGetter0; + getTheadThProps: ComponentPropsGetterC; + getTheadFilterProps: ComponentPropsGetter0; + getTheadFilterTrProps: ComponentPropsGetter0; + getTheadFilterThProps: ComponentPropsGetterC; + getTbodyProps: ComponentPropsGetter0; + getTrGroupProps: ComponentPropsGetterR | ComponentPropsGetter0; + getTrProps: ComponentPropsGetterR | ComponentPropsGetter0; + + /** + * @TODO not exists in react-table but in the docs + */ + // getThProps: ComponentPropsGetter + getTdProps: ComponentPropsGetterRC | ComponentPropsGetterR; + getTfootProps: ComponentPropsGetter0; + getTfootTrProps: ComponentPropsGetter0; + + /** + * @TODO not exists in react-table but in the docs + */ + // getTfootThProps: ComponentPropsGetter + getPaginationProps: ComponentPropsGetter0; + getLoadingProps: ComponentPropsGetter0; + getNoDataProps: ComponentPropsGetter0; + getResizerProps: ComponentPropsGetter0; +} + +export interface ComponentProps { + TableComponent: React.ReactType; + TheadComponent: React.ReactType; + TbodyComponent: React.ReactType; + TrGroupComponent: React.ReactType; + TrComponent: React.ReactType; + ThComponent: React.ReactType; + TdComponent: React.ReactType; + TfootComponent: React.ReactType; + ExpanderComponent: React.ReactType; + PaginationComponent: React.ReactType; + PreviousComponent: React.ReactType; + NextComponent: React.ReactType; + LoadingComponent: React.ReactType; + NoDataComponent: React.ReactType; + ResizerComponent: React.ReactType; +} + +export interface TextProps { + /** Default: 'Previous' */ + previousText: string; + + /** Default: 'Next' */ + nextText: string; + + /** Default: 'Loading...' */ + loadingText: string; + + /** Default: 'No rows found' */ + noDataText: string; + + /** Default: 'Page' */ + pageText: string; + + /** Default: 'of' */ + ofText: string; + + /** Default: 'rows' */ + rowsText: string; +} + +export interface GlobalColumn extends + Column.Basics, + Column.CellProps, + Column.FilterProps, + Column.FooterProps, + Column.HeaderProps { +} + +export namespace Column { + /** Basic column props */ + interface Basics { + /** Default: true */ + sortable: boolean; + + /** Default: true */ + show: boolean; + + /** Default: 100 */ + minWidth: number; + } + + /** Configuration of a columns cell section */ + interface CellProps { + /** + * Default: undefined + * A function that returns a primitive, or JSX / React Component + * + * @example 'Cell Value' + * @example ({data, column}) => <div>Cell Value</div>, + */ + render: TableCellRenderer; + + /** + * Set the classname of the `td` element of the column + * @default string + */ + className: string; + + /** + * Set the style of the `td` element of the column + * @default {} + */ + style: object; + + /** + * @default () => ({}) + */ + getProps: ReactTableFunction; + } + + /** Configuration of a columns header section */ + interface HeaderProps { + /** + * Default: undefined + * A function that returns a primitive, or JSX / React Component + * + * @example 'Header Name' + * @example ({data, column}) => <div>Header Name</div>, + */ + header: TableCellRenderer; + + /** + * Set the classname of the `th` element of the column + * @default string + */ + headerClassName: string; + + /** + * Default: {} + * Set the style of the `th` element of the column + */ + headerStyle: object; + + /** + * Default: (state, rowInfo, column, instance) => ({}) + * A function that returns props to decorate the `th` element of the column + */ + getHeaderProps: ReactTableFunction; + } + + /** Configuration of a columns footer section */ + interface FooterProps { + /** + * Default: undefined + * A function that returns a primitive, or JSX / React Component + * + * @example 'Footer Name' + * @example ({data, column}) => <div>Footer Name</div>, + */ + footer: TableCellRenderer; + + /** + * Default: string + * Set the classname of the `td` element of the column's footer + */ + footerClassName: string; + + /** + * Default: {} + * Set the style of the `td` element of the column's footer + */ + footerStyle: object; + + /** + * Default: (state, rowInfo, column, instance) => ({}) + * A function that returns props to decorate the `th` element of the column + */ + getFooterProps: ReactTableFunction; + } + + /** Filtering related column props */ + interface FilterProps { + /** Default: undefined */ + filterMethod: ReactTableFunction; + + /** Default: false */ + hideFilter: boolean; + + /** Default: ... */ + filterRender: FilterRender; + } +} + +export interface ExpanderDefaults { + /** Default: false */ + sortable: boolean; + + /** Default: 35 */ + width: number; + + /** Default: true */ + hideFilter: boolean; + + /** Will be overriden in methods.js to display ExpanderComponent */ + render: TableCellRenderer; +} + +export interface PivotDefaults { + /** Will be overriden in methods.js to display ExpanderComponent */ + render: TableCellRenderer; +} + +export interface Column extends + Partial<Column.Basics>, + Partial<Column.CellProps>, + Partial<Column.FilterProps>, + Partial<Column.FooterProps>, + Partial<Column.HeaderProps> { + /** + * Property name as string or Accessor + * @example: 'myProperty' + * @example ["a.b", "c"] + * @example ["a", "b", "c"] + * @example {"a": {"b": {"c": $}}} + * @example (row) => row.propertyName + */ + accessor?: Accessor; + + /** + * Conditional - A unique ID is required if the accessor is not a string or if you would like to override the column name used in server-side calls + * @example 'myProperty' + */ + id?: string; + + /** + * No description + * @example (values, rows) => _.round(_.mean(values)) + * @example (values, rows) => _.sum(values) + */ + aggregate?: Aggregator; + + /** + * Default: undefined - A hardcoded width for the column. This overrides both min and max width options + */ + width?: number; + + /** + * Default: undefined - A maximum width for this column. + * @default undefined + */ + maxWidth?: number; + + /** + * Turns this column into a special column for specifying expander and pivot column options. + * If this option is true and there is NOT a pivot column, the `expanderDefaults` options will be applied on top of the column options. + * If this option is true and there IS a pivot column, the `pivotDefaults` options will be applied on top of the column options. + * Adding a column with the `expander` option set will allow you to rearrange expander and pivot column orderings in the table. + * It will also let you specify rendering of the header (and header group if this special column is placed in the `columns` option of another column) and the rendering of the expander itself. + */ + expander?: boolean; + + /** Header Groups only */ + columns?: any[]; +} + +export interface ColumnRenderProps { + /** Sorted data. */ + data: any[]; + + /** The column. */ + column: Column; +} + +export interface RowRenderProps extends Partial<RowInfo> { + /** Whenever the current row is expanded */ + isExpanded?: boolean; + + /** The current cell value */ + value?: any; +} + +export interface RowInfo { + /** Original row from your data */ + row: any; + + /** The post-accessed values from the original row */ + rowValues: any; + + /** The index of the row */ + index: number; + + /** The index of the row relative to the current page */ + viewIndex: number; + + /** The nesting depth (zero-indexed) */ + level: number; + + /** The nesting path of the row */ + nestingPath: number[]; + + /** A boolean stating if the row is an aggregation row */ + aggregated: boolean; + + /** An array of any expandable sub-rows contained in this row */ + subRows: any[]; +} + +export interface FinalState extends TableProps { + startRow: number; + endRow: number; + pageRows: number; + padRows: number; + hasColumnFooter: boolean; + canPrevious: boolean; + canNext: boolean; + rowMinWidth: number; +} + +export class ReactTable extends React.Component<Partial<TableProps>> {} diff --git a/types/react-table/react-table-tests.tsx b/types/react-table/react-table-tests.tsx new file mode 100644 index 0000000000..3069785b6e --- /dev/null +++ b/types/react-table/react-table-tests.tsx @@ -0,0 +1,57 @@ +import * as React from 'react'; +import * as ReactDOM from 'react-dom'; + +// Import React Table +import { ReactTable } from "react-table"; +import "react-table/react-table.css"; + +const columns = [ + { + Header: "Name", + columns: [ + {Header: "First Name", accessor: "firstName"}, + {Header: "Last Name", id: "lastName"} + ] + }, + { + Header: "Info", + columns: [ + {Header: "Age", accessor: "age"}, + {Header: "Status", accessor: "status"} + ] + }, + { + Header: 'Stats', + columns: [ + {Header: "Visits", accessor: "visits"} + ] + } +]; + +const Component = (props: {}) => { + const data = [ + {firstName: "plastic", lastName: "leather", age: 1, visits: 87, progress: 53}, + {firstName: "eggs", lastName: "quartz", age: 13, visits: 78, progress: 82}, + {firstName: "wash", lastName: "wrench", age: 29, visits: 75, progress: 49}, + {firstName: "introduction", lastName: "impression", age: 2, visits: 35, progress: 51}, + {firstName: "steel", lastName: "difference", age: 9, visits: 64, progress: 94}, + {firstName: "snakes", lastName: "corn", age: 17, visits: 55, progress: 47}, + {firstName: "ocean", lastName: "definition", age: 26, visits: 17, progress: 22}, + {firstName: "drawing", lastName: "fifth", age: 15, visits: 84, progress: 12}, + {firstName: "silver", lastName: "riddle", age: 15, visits: 59, progress: 24}, + {firstName: "surprise", lastName: "zinc", age: 23, visits: 7, progress: 48}, + {firstName: "riddle", lastName: "information", age: 2, visits: 63, progress: 3} + ]; + return ( + <div> + <ReactTable + data={data} + columns={columns} + defaultPageSize={10} + /> + <br /> + </div> + ); +}; + +ReactDOM.render(<Component />, document.getElementById("root")); diff --git a/types/react-table/tsconfig.json b/types/react-table/tsconfig.json new file mode 100644 index 0000000000..d137af14a2 --- /dev/null +++ b/types/react-table/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "jsx": "react", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "react-table-tests.tsx" + ] +} diff --git a/types/react-table/tslint.json b/types/react-table/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/react-table/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 91c21b794a2c7fa3319915ef716c2f895745a7fd Mon Sep 17 00:00:00 2001 From: Matt Traynham <skitch920@gmail.com> Date: Mon, 2 Oct 2017 17:49:43 -0400 Subject: [PATCH 083/433] Updating webpack-merge to v4 (#20136) --- types/webpack-merge/index.d.ts | 43 +++++++----- types/webpack-merge/tsconfig.json | 4 +- types/webpack-merge/tslint.json | 1 + types/webpack-merge/v0/index.d.ts | 25 +++++++ types/webpack-merge/v0/tsconfig.json | 26 ++++++++ types/webpack-merge/v0/webpack-merge-tests.ts | 12 ++++ types/webpack-merge/webpack-merge-tests.ts | 65 ++++++++++++++++--- 7 files changed, 149 insertions(+), 27 deletions(-) create mode 100644 types/webpack-merge/tslint.json create mode 100644 types/webpack-merge/v0/index.d.ts create mode 100644 types/webpack-merge/v0/tsconfig.json create mode 100644 types/webpack-merge/v0/webpack-merge-tests.ts diff --git a/types/webpack-merge/index.d.ts b/types/webpack-merge/index.d.ts index a939a2ed53..421737ccaf 100644 --- a/types/webpack-merge/index.d.ts +++ b/types/webpack-merge/index.d.ts @@ -1,25 +1,34 @@ -// Type definitions for webpack-merge +// Type definitions for webpack-merge 4.1 // Project: https://github.com/survivejs/webpack-merge -// Definitions by: Simon Hartcher <https://github.com/deevus> +// Definitions by: Simon Hartcher <https://github.com/deevus>, Matt Traynham <https://github.com/mtraynham> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -///<reference types="webpack" /> +import webpack = require('webpack'); -declare module "webpack-merge" { - import { Configuration } from "webpack"; +export = webpackMerge; + +declare const webpackMerge: webpackMerge.WebpackMerge; + +declare namespace webpackMerge { + type CustomizeArrayFunction = (a: any[], b: any[], key: string) => any[] | null | undefined; + type CustomizeObjectFunction = (a: {}, b: {}, key: string) => {} | null | undefined; + type UniqueFunction = (field: string, fields: string[], keyFn: (field: any) => string) => CustomizeArrayFunction; + interface CustomizeOptions { + customizeArray?: CustomizeArrayFunction | UniqueFunction; + customizeObject?: CustomizeObjectFunction; + } + type ConfigurationMergeFunction = (...configs: webpack.Configuration[]) => webpack.Configuration; + type ConfigurationMergeConfigFunction = (customizeOptions: CustomizeOptions) => ConfigurationMergeFunction; + type MergeFunction = ConfigurationMergeFunction | ConfigurationMergeConfigFunction; + type MergeStrategy = 'prepend' | 'append' | 'replace'; interface WebpackMerge { - /** - * Merge multiple webpack configurations into one. - */ - (...configs: Configuration[]): Configuration; - - /** - * Merge multiple webpack configurations into one, with smart merging of loaders. - */ - smart(...configs: Configuration[]): Configuration; + (...configs: webpack.Configuration[]): webpack.Configuration; + (customizeOptions: CustomizeOptions): ConfigurationMergeFunction; + unique: UniqueFunction; + smart: ConfigurationMergeFunction; + multiple: ConfigurationMergeFunction; + strategy(options: {[field: string]: MergeStrategy}): ConfigurationMergeFunction; + smartStrategy(options: {[key: string]: MergeStrategy}): ConfigurationMergeFunction; } - - const merge: WebpackMerge; - export = merge; } diff --git a/types/webpack-merge/tsconfig.json b/types/webpack-merge/tsconfig.json index f2368dc89d..78589b444b 100644 --- a/types/webpack-merge/tsconfig.json +++ b/types/webpack-merge/tsconfig.json @@ -6,7 +6,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +19,4 @@ "index.d.ts", "webpack-merge-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/webpack-merge/tslint.json b/types/webpack-merge/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/webpack-merge/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } diff --git a/types/webpack-merge/v0/index.d.ts b/types/webpack-merge/v0/index.d.ts new file mode 100644 index 0000000000..a939a2ed53 --- /dev/null +++ b/types/webpack-merge/v0/index.d.ts @@ -0,0 +1,25 @@ +// Type definitions for webpack-merge +// Project: https://github.com/survivejs/webpack-merge +// Definitions by: Simon Hartcher <https://github.com/deevus> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +///<reference types="webpack" /> + +declare module "webpack-merge" { + import { Configuration } from "webpack"; + + interface WebpackMerge { + /** + * Merge multiple webpack configurations into one. + */ + (...configs: Configuration[]): Configuration; + + /** + * Merge multiple webpack configurations into one, with smart merging of loaders. + */ + smart(...configs: Configuration[]): Configuration; + } + + const merge: WebpackMerge; + export = merge; +} diff --git a/types/webpack-merge/v0/tsconfig.json b/types/webpack-merge/v0/tsconfig.json new file mode 100644 index 0000000000..aedaa9a44e --- /dev/null +++ b/types/webpack-merge/v0/tsconfig.json @@ -0,0 +1,26 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "baseUrl": "../../", + "typeRoots": [ + "../../" + ], + "types": [], + "paths": { + "webpack-merge": ["webpack-merge/v0"], + "webpack-merge/*": ["webpack-merge/v0/*"] + }, + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "webpack-merge-tests.ts" + ] +} \ No newline at end of file diff --git a/types/webpack-merge/v0/webpack-merge-tests.ts b/types/webpack-merge/v0/webpack-merge-tests.ts new file mode 100644 index 0000000000..4c9c4adca4 --- /dev/null +++ b/types/webpack-merge/v0/webpack-merge-tests.ts @@ -0,0 +1,12 @@ +import merge = require("webpack-merge"); +import { Configuration } from "webpack"; + +const a: Configuration = { + entry: "test.js" +} +const b: Configuration = { + devtool: "source-map" +} + +const c = merge(a, b); +const d = merge.smart(a, b); diff --git a/types/webpack-merge/webpack-merge-tests.ts b/types/webpack-merge/webpack-merge-tests.ts index 4c9c4adca4..d7180a6950 100644 --- a/types/webpack-merge/webpack-merge-tests.ts +++ b/types/webpack-merge/webpack-merge-tests.ts @@ -1,12 +1,61 @@ -import merge = require("webpack-merge"); -import { Configuration } from "webpack"; +import _ = require('lodash'); +import { Configuration, HotModuleReplacementPlugin, Plugin } from 'webpack'; +import webpackMerge = require('webpack-merge'); const a: Configuration = { - entry: "test.js" -} + entry: 'test.js' +}; const b: Configuration = { - devtool: "source-map" -} + devtool: 'source-map' +}; -const c = merge(a, b); -const d = merge.smart(a, b); +const c: Configuration = webpackMerge(a, b); +const d: Configuration = webpackMerge.smart(a, b); +const e: Configuration = webpackMerge.multiple(a, b); +const f: Configuration = webpackMerge( + { + customizeArray(x: any[], y: any[], key: string): any[] | undefined { + if (key === 'extensions') { + return _.uniq([...x, ...y]); + } + // Fall back to default merging + return undefined; + }, + customizeObject(x: {}, y: {}, key: string): {} | undefined { + if (key === 'module') { + // Custom merging + return _.merge({}, x, y); + } + + // Fall back to default merging + return undefined; + } + } +)(a, b); +const g: Configuration = webpackMerge({ + customizeArray: webpackMerge.unique( + 'plugins', + ['HotModuleReplacementPlugin'], + (plugin: Plugin) => plugin.constructor && plugin.constructor.name + ) +})({ + plugins: [ + new HotModuleReplacementPlugin() + ] +}, { + plugins: [ + new HotModuleReplacementPlugin() + ] +}); +const h: Configuration = webpackMerge.strategy( + { + entry: 'prepend', // or 'replace', defaults to 'append' + 'module.loaders': 'prepend' + } +)(a, b); +const i: Configuration = webpackMerge.smartStrategy( + { + entry: 'prepend', // or 'replace' + 'module.loaders': 'prepend' + } +)(a, b); From 13cd8f2c5c1f049c1369f6fbf78bd6d0c5a00cc9 Mon Sep 17 00:00:00 2001 From: Bradley Ayers <bradley.ayers@gmail.com> Date: Tue, 3 Oct 2017 08:50:33 +1100 Subject: [PATCH 084/433] Add pg-ears 1.0 (#20152) --- types/pg-ears/index.d.ts | 24 ++++++++++++++++++++++++ types/pg-ears/pg-ears-tests.ts | 11 +++++++++++ types/pg-ears/tsconfig.json | 22 ++++++++++++++++++++++ types/pg-ears/tslint.json | 1 + 4 files changed, 58 insertions(+) create mode 100644 types/pg-ears/index.d.ts create mode 100644 types/pg-ears/pg-ears-tests.ts create mode 100644 types/pg-ears/tsconfig.json create mode 100644 types/pg-ears/tslint.json diff --git a/types/pg-ears/index.d.ts b/types/pg-ears/index.d.ts new file mode 100644 index 0000000000..d3fdaadf89 --- /dev/null +++ b/types/pg-ears/index.d.ts @@ -0,0 +1,24 @@ +// Type definitions for pg-ears 1.0 +// Project: https://github.com/doesdev/pg-ears +// Definitions by: Bradley Ayers <https://github.com/bradleyayers> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +import { ClientConfig } from "pg"; + +interface PgEars { + listen( + channel: string, + cb: (err: Error | null, payload?: string) => void + ): null; + notify(channel: string, payload: any, cb?: (err: Error) => void): void; +} + +declare function pg_ears( + opts: ClientConfig & { + maxAttempts?: number; + // Interval between connection retries, in milliseconds. + checkInterval?: number; + } +): PgEars; + +export = pg_ears; diff --git a/types/pg-ears/pg-ears-tests.ts b/types/pg-ears/pg-ears-tests.ts new file mode 100644 index 0000000000..7dbb8efbc6 --- /dev/null +++ b/types/pg-ears/pg-ears-tests.ts @@ -0,0 +1,11 @@ +import PgEars = require("pg-ears"); + +const pgEars = PgEars({ + checkInterval: 10000, + maxAttempts: 6 * 60 * 24, + host: "example.com", + port: 5432, + database: "example", + user: "postgres", + password: "" +}); diff --git a/types/pg-ears/tsconfig.json b/types/pg-ears/tsconfig.json new file mode 100644 index 0000000000..58f2ea0adf --- /dev/null +++ b/types/pg-ears/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "pg-ears-tests.ts" + ] +} diff --git a/types/pg-ears/tslint.json b/types/pg-ears/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/pg-ears/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 563022d9a6b6aa894424c049fa57ab1177c866c4 Mon Sep 17 00:00:00 2001 From: Samer Albahra <salbahra@gmail.com> Date: Mon, 2 Oct 2017 16:51:37 -0500 Subject: [PATCH 085/433] Add Intercom Web API Typings (#20200) * Add Intercom Web Typings * Fix definitions URL --- types/intercom-web/index.d.ts | 57 ++++++++++++++++++++++ types/intercom-web/intercom-web-tests.ts | 62 ++++++++++++++++++++++++ types/intercom-web/tsconfig.json | 22 +++++++++ types/intercom-web/tslint.json | 1 + 4 files changed, 142 insertions(+) create mode 100755 types/intercom-web/index.d.ts create mode 100755 types/intercom-web/intercom-web-tests.ts create mode 100755 types/intercom-web/tsconfig.json create mode 100644 types/intercom-web/tslint.json diff --git a/types/intercom-web/index.d.ts b/types/intercom-web/index.d.ts new file mode 100755 index 0000000000..1eb038bd07 --- /dev/null +++ b/types/intercom-web/index.d.ts @@ -0,0 +1,57 @@ +// Type definitions for Intercom Web API 2.8 +// Project: https://docs.intercom.io/ +// configure-intercom-for-your-product-or-site/ +// customize-the-intercom-messenger/the-intercom-javascript-api +// Definitions by: Andrew Fong <https://github.com/fongandrew> +// Samer Albahra <https://github.com/salbahra> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +declare namespace Intercom_ { + interface IntercomSettings { + app_id?: string; + email?: string; + created_at?: number; + name?: string; + user_id?: string; + user_hash?: string; + widget?: { + activator?: string; + }; + company?: { + id: string|number, + name: string, + created_at: number, + plan?: string, + monthly_spend?: number, + [index: string]: any; + }; + } + + type IntercomCommand = 'boot' + |'shutdown' + |'update' + |'hide' + |'show' + |'showMessages' + |'showNewMessage' + |'onHide' + |'onShow' + |'onActivatorClick' + |'trackEvent'; + + interface IntercomStatic { + (command: 'boot', param: IntercomSettings): void; + (command: 'shutdown' | 'hide' | 'show' | 'showMessages'): void; + (command: 'update', param?: IntercomSettings): void; + (command: 'showNewMessage', param?: string): void; + (command: 'onHide' | 'onShow' | 'onActivatorClick', param?: () => void): void; + (command: 'trackEvent', tag?: string, metadata?: any): void; + (command: IntercomCommand, param1?: any, param2?: any): void; + } +} + +declare var Intercom: Intercom_.IntercomStatic; +declare var intercomSettings: Intercom_.IntercomSettings; +interface Window { + intercomSettings: Intercom_.IntercomSettings; +} diff --git a/types/intercom-web/intercom-web-tests.ts b/types/intercom-web/intercom-web-tests.ts new file mode 100755 index 0000000000..22eeddc8fa --- /dev/null +++ b/types/intercom-web/intercom-web-tests.ts @@ -0,0 +1,62 @@ +/* + From https://docs.intercom.io/configure-intercom-for-your-product-or-site/ + customize-the-intercom-messenger/the-intercom-javascript-api +*/ +intercomSettings = { + email: "example@example.com", + name: "John Doe", + user_id: "123", + created_at: 1234567890, + app_id: "YOUR_APP_ID", + widget: { + activator: "#Intercom" + } +}; + +Intercom('boot', intercomSettings); +Intercom('shutdown'); +Intercom('update'); +Intercom('update', intercomSettings); +Intercom('hide'); +Intercom('show'); +Intercom('showMessages'); +Intercom('showNewMessage'); +Intercom('showNewMessage', 'pre-populated content'); +Intercom('onHide', () => { /* Do stuff */ }); +Intercom('onActivatorClick', () => { /* Do stuff */ }); +Intercom('trackEvent', 'invited-friend'); + +const metadata = { + invitee_email: 'pi@example.org', + invite_code: 'ADDAFRIEND' +}; +Intercom('trackEvent', 'invited-friend', metadata); + +/* + From https://docs.intercom.io/configure-intercom-for-your-product-or-site/ + customize-intercom-to-be-about-your-users/ + group-your-users-by-company +*/ +intercomSettings = { + email: "example@example.com", + created_at: 1457552104, + app_id: "pi3243fa", + company: { + id: '123', + name: 'Intercorp', + created_at: 1234567890, + plan: 'pro', + monthly_spend: 10, + upgraded_at: 1424941688 + } +}; + +/* + From https://docs.intercom.io/configure-intercom-for-your-product-or-site/ + staying-secure/enable-secure-mode-on-your-web-product +*/ +intercomSettings = { + app_id: "pi3243fa", + user_id: "12345", + user_hash: "775c502lcc1087d12398571837c" +}; diff --git a/types/intercom-web/tsconfig.json b/types/intercom-web/tsconfig.json new file mode 100755 index 0000000000..d11c606183 --- /dev/null +++ b/types/intercom-web/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "intercom-web-tests.ts" + ] +} diff --git a/types/intercom-web/tslint.json b/types/intercom-web/tslint.json new file mode 100644 index 0000000000..2750cc0197 --- /dev/null +++ b/types/intercom-web/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } \ No newline at end of file From 65c3042950942b52565081a51bb4be6470cea6ab Mon Sep 17 00:00:00 2001 From: segayuu <segayuu@gmail.com> Date: Tue, 3 Oct 2017 07:05:45 +0900 Subject: [PATCH 086/433] [bluebird] Added tslint.json. (#19816) * Added tslint.json * Merge commit from source fork (#2) * Add setVisible to iFrame control * Initial API without namespaces. * Did more work on typings. * Final changes to the typings. * add className prop and make manager prop optional * [jquery.fancytree] added enableUpdate method (reference http://www.wwwendt.de/tech/fancytree/doc/jsdoc/Fancytree.html#enableUpdate) * Fix typo (any -> all) for everyWhere description * Minor Pixi.js updates to v4.5.5 * mfiles: Added missing CLSID constants * Reduce strictness of types for redux actions to reduce false positives * Set required tsc version for depended package * Update to index.d.ts Added change suggested by @pocesar * Updated test to reflect remote changes Second class, remoteBool to test for remote is boolean * mfiles: Added support for application platform property * bootstrap-datepicker - append all available datepicker events * Update Ignite UI typing definition according the latest 17.1 build * Added 'static' to Model.remoteMethod Integrated the remoteMethod ideas from https://github.com/Sequoia/loopback-type-definitions/blob/master/loopback.d.ts into the existing type Improves remoteMethod composition and checking. No impact on other types * add lost options member add comments * Updating comment in remoteMethod JSDoc Added simple test for remoteMethod * Fixing dtslint issues * Fixed errors from running tests. Travis CI should pass now * Updated test example with real parameters * update ColorWrap types * change type name * feat(prettier): update to version 1.7 * [angular-strap] updated all options to 2.3.8 * [angular-strap] added tslint and resolved linting issues * Remove moved file * Add separate process event contexts * export all interfaces from pdfjs-dist * Fix lint errors * Typo fix * Add editorState param to event handlers * Fix parse_response type and use lookup type * Change stage direction to proper case * [react-data-grid] Added openCellEditor signature to ReactDataGrid instance * Add remaining missing Xrm.Page.data.process methods * Add new label type for X/YAxis * Add contribution name * Update definitions for @types/angular-loading-bar to be accurate * Formatting update * Adding type for the function instead of just Function * Adding a test * Try to fix tests for angular-loading-bar types * feat(react-native-elements): pull from iRoachie * Update Label type * Support multiple colors / styles Winston supports configuring multiple styles rather than a single color. For example you could winston.addColors( { error: ['white', 'underline', 'bgRed'] }); * feat(react-native-element): add multiple components The work is not yet completed, however there are several components provided and the rest will be completed in the next few days. * fix(react-native-elements): unneeded breaking imports * Update d3-geo to version 1.7.1 Includes geoNaturalEarth1 and geoNaturalEarth1Raw * Type definitions for react-mce 0.6. * Use generic defaults. * Reduce TypeScript version to 2.3 * feat(react-native-elements): add rating component * feat(react-native-elements): add SearchBar component * webpack: improve loader context typings emitError() and emitWarning() both can accept an Error as well, for exposing caught Errors. See: https://github.com/webpack/webpack/blob/master/lib/NormalModule.js#L115 Added relevant type tests. * fix: do not make use of es6's Map and Set this should fix #16587 * feat(react-native-elements): add SideMenu component * feat(react-native-elements): add Slider component * feat(react-native-elements): add SocialIcons component * feat(react-native-elements): add SwipeDeck component * feat(react-native-elements): add Tabs component * feat(react-native-elements): add Tile component * feat(react-native-elements): add utility exports * docs(react-native-elements): remove deprecated message * first pass at the electron-winstaller declaration * lint * Adding definitions for prosemirror-table * Added minArea to DragBoxOptions (https://openlayers.org/en/latest/apidoc/ol.interaction.DragBox.html) * added minArea to test * Remove myself from list of maintainers * stripe-v3: Add basic typings for createSource method * stripe-v3: Lint SourceOptions * stripe-v3: Conert tabs to spaces * Add ChartFontOptions to global Chart.js options * angular-ui-router: Can't export a string literal (#19839) * angular-gridster: Can't export a string literal (#19842) * react-router/v2: Fix default export of object (#19849) * history/v2 and /v3: Fix export default of object (#19847) * Add definitions for W3C Web USB API * logat: Fix export (#19848) * adal: Fix export style (#19838) * strophe: Fix export (#19850) * express-brute-mongo: Fix export (#19851) * argparse: Remove unnecessary type parameters (#19843) * Support conditional values in Vega * Add onLoad animation configuration Alluded to here in documentation: https://formidable.com/open-source/victory/docs/victory-stack Code references: https://github.com/FormidableLabs/victory-core/blob/e28d4b81eaa0b303d88d7c3124aec4c77d8c9970/src/victory-util/default-transitions.js#L5 https://github.com/FormidableLabs/victory-core/blob/e28d4b81eaa0b303d88d7c3124aec4c77d8c9970/src/victory-util/default-transitions.js#L19 * Fix restify declarations to comply with standard lint rules. This change requires TypeScript 2.2 because the type 'object' did not exist in 2.1. * hopscotch small fixes, no breaking changes * fix typo fix typo * bull: added missing method "promote" from bull v3 to typings * Minor fixes from review * stripe-v3: Lint * types for tabulator * Ramda: disable no-unnecessary-generics (#19785) * fixing tests * adding more test * Merge PR #19726: [react-data-grid] Added getValidateFilterValues signature to GridProps * [react-data-grid] Added getValidateFilterValues signature to GridProps * Add resizerClassName * More verbose definition for pathOr * strictNullChecks: true --- types/bluebird/tslint.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 types/bluebird/tslint.json diff --git a/types/bluebird/tslint.json b/types/bluebird/tslint.json new file mode 100644 index 0000000000..55713db673 --- /dev/null +++ b/types/bluebird/tslint.json @@ -0,0 +1,29 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "adjacent-overload-signatures": false, + "array-type": false, + "ban-types": false, + "comment-format": false, + "dt-header": false, + "max-line-length": false, + "member-access": false, + "no-consecutive-blank-lines": false, + "no-padding": false, + "no-unnecessary-callback-wrapper": false, + "no-unnecessary-generics": false, + "no-var-keyword": false, + "no-void-expression": false, + "one-line": false, + "only-arrow-functions": false, + "prefer-const": false, + "prefer-method-signature": false, + "semicolon": false, + "space-before-function-paren": false, + "strict-export-declare-modifiers": false, + "typedef-whitespace": false, + "unified-signatures": false, + "void-return": false, + "whitespace": false + } +} \ No newline at end of file From 2233a0eee6071846fd8b1c29e40e966b5c01d091 Mon Sep 17 00:00:00 2001 From: Andrew Goodale <andrewhgoodale@gmail.com> Date: Mon, 2 Oct 2017 18:06:51 -0400 Subject: [PATCH 087/433] Allow projects to use React declarations without the DOM lib dependency. (#20005) --- types/react/global.d.ts | 176 ++++++++++++++++++++++++++++++++++++++++ types/react/index.d.ts | 2 + 2 files changed, 178 insertions(+) create mode 100644 types/react/global.d.ts diff --git a/types/react/global.d.ts b/types/react/global.d.ts new file mode 100644 index 0000000000..8ebeb64bad --- /dev/null +++ b/types/react/global.d.ts @@ -0,0 +1,176 @@ +/* +React projects that don't include the DOM library need these interfaces to compile. +React Native applications use React, but there is no DOM available. The JavaScript runtime +is ES6/ES2015 only. These definitions allow such projects to compile with only `--lib ES6`. +*/ + +interface Event { } +interface AnimationEvent extends Event { } +interface ClipboardEvent extends Event { } +interface CompositionEvent extends Event { } +interface DragEvent extends Event { } +interface FocusEvent extends Event { } +interface KeyboardEvent extends Event { } +interface MouseEvent extends Event { } +interface TouchEvent extends Event { } +interface TransitionEvent extends Event { } +interface UIEvent extends Event { } +interface WheelEvent extends Event { } + +interface EventTarget { } +interface Document { } +interface DataTransfer { } +interface StyleMedia { } + +interface Element { } + +interface HTMLElement extends Element { } +interface HTMLAnchorElement extends HTMLElement { } +interface HTMLAreaElement extends HTMLElement { } +interface HTMLAudioElement extends HTMLElement { } +interface HTMLBaseElement extends HTMLElement { } +interface HTMLBodyElement extends HTMLElement { } +interface HTMLBRElement extends HTMLElement { } +interface HTMLButtonElement extends HTMLElement { } +interface HTMLCanvasElement extends HTMLElement { } +interface HTMLDivElement extends HTMLElement { } +interface HTMLDListElement extends HTMLElement { } +interface HTMLEmbedElement extends HTMLElement { } +interface HTMLFieldSetElement extends HTMLElement { } +interface HTMLFormElement extends HTMLElement { } +interface HTMLHeadingElement extends HTMLElement { } +interface HTMLHeadElement extends HTMLElement { } +interface HTMLHRElement extends HTMLElement { } +interface HTMLTableColElement extends HTMLElement { } +interface HTMLDataListElement extends HTMLElement { } +interface HTMLHtmlElement extends HTMLElement { } +interface HTMLIFrameElement extends HTMLElement { } +interface HTMLImageElement extends HTMLElement { } +interface HTMLInputElement extends HTMLElement { } +interface HTMLModElement extends HTMLElement { } +interface HTMLLabelElement extends HTMLElement { } +interface HTMLLegendElement extends HTMLElement { } +interface HTMLLIElement extends HTMLElement { } +interface HTMLLinkElement extends HTMLElement { } +interface HTMLMapElement extends HTMLElement { } +interface HTMLMetaElement extends HTMLElement { } +interface HTMLObjectElement extends HTMLElement { } +interface HTMLOListElement extends HTMLElement { } +interface HTMLOptGroupElement extends HTMLElement { } +interface HTMLOptionElement extends HTMLElement { } +interface HTMLParagraphElement extends HTMLElement { } +interface HTMLParamElement extends HTMLElement { } +interface HTMLPreElement extends HTMLElement { } +interface HTMLProgressElement extends HTMLElement { } +interface HTMLQuoteElement extends HTMLElement { } +interface HTMLScriptElement extends HTMLElement { } +interface HTMLSelectElement extends HTMLElement { } +interface HTMLSourceElement extends HTMLElement { } +interface HTMLSpanElement extends HTMLElement { } +interface HTMLStyleElement extends HTMLElement { } +interface HTMLTableElement extends HTMLElement { } +interface HTMLTableSectionElement extends HTMLElement { } +interface HTMLTableDataCellElement extends HTMLElement { } +interface HTMLTextAreaElement extends HTMLElement { } +interface HTMLTableSectionElement extends HTMLElement { } +interface HTMLTableHeaderCellElement extends HTMLElement { } +interface HTMLTableSectionElement extends HTMLElement { } +interface HTMLTitleElement extends HTMLElement { } +interface HTMLTableRowElement extends HTMLElement { } +interface HTMLTrackElement extends HTMLElement { } +interface HTMLUListElement extends HTMLElement { } +interface HTMLVideoElement extends HTMLElement { } +interface HTMLTableColElement extends HTMLElement { } +interface HTMLDataListElement extends HTMLElement { } +interface HTMLHtmlElement extends HTMLElement { } +interface HTMLIFrameElement extends HTMLElement { } +interface HTMLImageElement extends HTMLElement { } +interface HTMLInputElement extends HTMLElement { } +interface HTMLModElement extends HTMLElement { } +interface HTMLLabelElement extends HTMLElement { } +interface HTMLLegendElement extends HTMLElement { } +interface HTMLLIElement extends HTMLElement { } +interface HTMLLinkElement extends HTMLElement { } +interface HTMLMapElement extends HTMLElement { } +interface HTMLMetaElement extends HTMLElement { } +interface HTMLObjectElement extends HTMLElement { } +interface HTMLOListElement extends HTMLElement { } +interface HTMLOptGroupElement extends HTMLElement { } +interface HTMLOptionElement extends HTMLElement { } +interface HTMLParagraphElement extends HTMLElement { } +interface HTMLParamElement extends HTMLElement { } +interface HTMLPreElement extends HTMLElement { } +interface HTMLProgressElement extends HTMLElement { } +interface HTMLQuoteElement extends HTMLElement { } +interface HTMLScriptElement extends HTMLElement { } +interface HTMLSelectElement extends HTMLElement { } +interface HTMLSourceElement extends HTMLElement { } +interface HTMLSpanElement extends HTMLElement { } +interface HTMLStyleElement extends HTMLElement { } +interface HTMLTableElement extends HTMLElement { } +interface HTMLTableSectionElement extends HTMLElement { } +interface HTMLTableDataCellElement extends HTMLElement { } +interface HTMLTextAreaElement extends HTMLElement { } +interface HTMLTableSectionElement extends HTMLElement { } +interface HTMLTableHeaderCellElement extends HTMLElement { } +interface HTMLTableSectionElement extends HTMLElement { } +interface HTMLTitleElement extends HTMLElement { } +interface HTMLTableRowElement extends HTMLElement { } +interface HTMLTrackElement extends HTMLElement { } +interface HTMLUListElement extends HTMLElement { } +interface HTMLVideoElement extends HTMLElement { } + +interface SVGElement extends Element { } +interface SVGSVGElement extends SVGElement { } +interface SVGCircleElement extends SVGElement { } +interface SVGClipPathElement extends SVGElement { } +interface SVGDefsElement extends SVGElement { } +interface SVGDescElement extends SVGElement { } +interface SVGEllipseElement extends SVGElement { } +interface SVGFEBlendElement extends SVGElement { } +interface SVGFEColorMatrixElement extends SVGElement { } +interface SVGFEComponentTransferElement extends SVGElement { } +interface SVGFECompositeElement extends SVGElement { } +interface SVGFEConvolveMatrixElement extends SVGElement { } +interface SVGFEDiffuseLightingElement extends SVGElement { } +interface SVGFEDisplacementMapElement extends SVGElement { } +interface SVGFEDistantLightElement extends SVGElement { } +interface SVGFEFloodElement extends SVGElement { } +interface SVGFEFuncAElement extends SVGElement { } +interface SVGFEFuncBElement extends SVGElement { } +interface SVGFEFuncGElement extends SVGElement { } +interface SVGFEFuncRElement extends SVGElement { } +interface SVGFEGaussianBlurElement extends SVGElement { } +interface SVGFEImageElement extends SVGElement { } +interface SVGFEMergeElement extends SVGElement { } +interface SVGFEMergeNodeElement extends SVGElement { } +interface SVGFEMorphologyElement extends SVGElement { } +interface SVGFEOffsetElement extends SVGElement { } +interface SVGFEPointLightElement extends SVGElement { } +interface SVGFESpecularLightingElement extends SVGElement { } +interface SVGFESpotLightElement extends SVGElement { } +interface SVGFETileElement extends SVGElement { } +interface SVGFETurbulenceElement extends SVGElement { } +interface SVGFilterElement extends SVGElement { } +interface SVGForeignObjectElement extends SVGElement { } +interface SVGGElement extends SVGElement { } +interface SVGImageElement extends SVGElement { } +interface SVGLineElement extends SVGElement { } +interface SVGLinearGradientElement extends SVGElement { } +interface SVGMarkerElement extends SVGElement { } +interface SVGMaskElement extends SVGElement { } +interface SVGMetadataElement extends SVGElement { } +interface SVGPathElement extends SVGElement { } +interface SVGPatternElement extends SVGElement { } +interface SVGPolygonElement extends SVGElement { } +interface SVGPolylineElement extends SVGElement { } +interface SVGRadialGradientElement extends SVGElement { } +interface SVGRectElement extends SVGElement { } +interface SVGStopElement extends SVGElement { } +interface SVGSwitchElement extends SVGElement { } +interface SVGSymbolElement extends SVGElement { } +interface SVGTextElement extends SVGElement { } +interface SVGTextPathElement extends SVGElement { } +interface SVGTSpanElement extends SVGElement { } +interface SVGUseElement extends SVGElement { } +interface SVGViewElement extends SVGElement { } diff --git a/types/react/index.d.ts b/types/react/index.d.ts index 56d417319a..f3b2d30884 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -47,6 +47,8 @@ React.cloneElement(element, <{ isDisabled?: boolean } & React.Attributes>{ }); */ +/// <reference path="global.d.ts" /> + type NativeAnimationEvent = AnimationEvent; type NativeClipboardEvent = ClipboardEvent; type NativeCompositionEvent = CompositionEvent; From 2fba16f44bb597395f69f2a762cc2c2111c6254e Mon Sep 17 00:00:00 2001 From: Seth Westphal <westy92@users.noreply.github.com> Date: Mon, 2 Oct 2017 17:11:46 -0500 Subject: [PATCH 088/433] Add OpenTok Archive layout options. (#20218) * Add OpenTok Archive layout options. * Fix styesheet type. --- types/opentok/index.d.ts | 12 ++++++++++++ types/opentok/opentok-tests.ts | 15 +++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/types/opentok/index.d.ts b/types/opentok/index.d.ts index 4667324d2e..85b9794316 100644 --- a/types/opentok/index.d.ts +++ b/types/opentok/index.d.ts @@ -33,6 +33,18 @@ declare module 'opentok' { hasAudio?: boolean; hasVideo?: boolean; outputMode?: OutputMode; + layout?: ArchiveLayoutOptions; + } + + export type ArchiveLayoutOptions = PredefinedArchiveLayoutOptions | CustomArchiveLayoutOptions; + + export interface PredefinedArchiveLayoutOptions { + type: 'bestFit' | 'pip' | 'verticalPresentation' | 'horizontalPresentation'; + } + + export interface CustomArchiveLayoutOptions { + type: 'custom'; + stylesheet: string; } export type MediaMode = 'relayed' | 'routed'; diff --git a/types/opentok/opentok-tests.ts b/types/opentok/opentok-tests.ts index e1df18c6ea..c0f93f333f 100644 --- a/types/opentok/opentok-tests.ts +++ b/types/opentok/opentok-tests.ts @@ -28,6 +28,21 @@ const archiveOptions: OpenTok.ArchiveOptions = { outputMode: 'individual', }; +const archiveCustomLayoutOptions: OpenTok.ArchiveOptions = { + outputMode: 'composed', + layout: { + type: 'custom', + stylesheet: 'derp', + } +}; + +const archivePredefinedLayoutOptions: OpenTok.ArchiveOptions = { + outputMode: 'composed', + layout: { + type: 'pip', + } +}; + client.startArchive('SESSION_ID', archiveOptions, (err: Error, archive: OpenTok.Archive) => { if (err) return console.log(err); console.log(archive.id); From b8ea87c68ea7fabfc073d922626db14cd1bb9cf5 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <nathansa@microsoft.com> Date: Mon, 2 Oct 2017 15:50:34 -0700 Subject: [PATCH 089/433] Strict function variance fixes round 1 --- types/backbone/index.d.ts | 2 +- types/bootbox/index.d.ts | 14 +- types/bootbox/tsconfig.json | 2 +- types/cordova-plugin-inappbrowser/index.d.ts | 2 +- .../cordova-plugin-inappbrowser/tsconfig.json | 2 +- types/ibm-mobilefirst/index.d.ts | 4 +- types/ibm-mobilefirst/tsconfig.json | 2 +- types/jointjs/tsconfig.json | 2 +- types/jquery/index.d.ts | 4 +- types/jquery/test/example-tests.ts | 4 +- types/jquery/test/longdesc-tests.ts | 2 +- types/knockout/index.d.ts | 4 +- types/knockout/tsconfig.json | 2 +- types/lodash/index.d.ts | 169 +++++++++++++----- types/lodash/lodash-tests.ts | 146 +++++++-------- types/lodash/tsconfig.json | 2 +- types/log4js/log4js-tests.ts | 4 +- types/log4js/tsconfig.json | 2 +- types/node/node-tests.ts | 4 +- types/q/q-tests.ts | 10 +- types/ramda/index.d.ts | 4 +- types/ramda/ramda-tests.ts | 27 ++- types/react-native/test/index.tsx | 2 +- types/react-redux/react-redux-tests.tsx | 3 +- types/react/index.d.ts | 6 +- types/sharepoint/sharepoint-tests.ts | 28 +-- types/webpack/webpack-tests.ts | 2 +- 27 files changed, 273 insertions(+), 182 deletions(-) diff --git a/types/backbone/index.d.ts b/types/backbone/index.d.ts index 806086943e..42a322e4c2 100644 --- a/types/backbone/index.d.ts +++ b/types/backbone/index.d.ts @@ -219,7 +219,7 @@ declare namespace Backbone { /** * Specify a model attribute name (string) or function that will be used to sort the collection. */ - comparator: string | ((element: TModel) => number | string) | ((compare: TModel, to?: TModel) => number); + comparator: string | { bivarianceHack(element: TModel): number | string }["bivarianceHack"] | { bivarianceHack(compare: TModel, to?: TModel): number }["bivarianceHack"]; add(model: {}|TModel, options?: AddOptions): TModel; add(models: ({}|TModel)[], options?: AddOptions): TModel[]; diff --git a/types/bootbox/index.d.ts b/types/bootbox/index.d.ts index ba5cc8c23b..c2fe427d6c 100644 --- a/types/bootbox/index.d.ts +++ b/types/bootbox/index.d.ts @@ -7,9 +7,9 @@ /// <reference types="jquery" /> /** Bootbox options shared by all modal types */ -interface BootboxBaseOptions { +interface BootboxBaseOptions<T = any> { title?: string | Element; - callback?: (result: boolean | string) => any; + callback?: (result: T) => any; onEscape?: (() => any) | boolean; show?: boolean; backdrop?: boolean; @@ -22,24 +22,24 @@ interface BootboxBaseOptions { } /** Bootbox options available for custom modals */ -interface BootboxDialogOptions extends BootboxBaseOptions { +interface BootboxDialogOptions<T = any> extends BootboxBaseOptions<T> { message: string | Element; } /** Bootbox options available for alert modals */ -interface BootboxAlertOptions extends BootboxDialogOptions { +interface BootboxAlertOptions extends BootboxDialogOptions<void> { callback?: () => any; buttons?: BootboxAlertButtonMap; } /** Bootbox options available for confirm modals */ -interface BootboxConfirmOptions extends BootboxDialogOptions { +interface BootboxConfirmOptions extends BootboxDialogOptions<boolean> { callback: (result: boolean) => any; buttons?: BootboxConfirmPromptButtonMap; } /** Bootbox options available for prompt modals */ -interface BootboxPromptOptions extends BootboxBaseOptions { +interface BootboxPromptOptions extends BootboxBaseOptions<string> { title: string; value?: string; inputType?: "text" | "textarea" | "email" | "select" | "checkbox" | "date" | "time" | "number" | "password"; @@ -93,7 +93,7 @@ interface BootboxStatic { prompt(message: string, callback: (result: string) => void): JQuery; prompt(options: BootboxPromptOptions): JQuery; dialog(message: string, callback?: (result: string) => void): JQuery; - dialog(options: BootboxDialogOptions): JQuery; + dialog(options: BootboxDialogOptions<string>): JQuery; setDefaults(options: BootboxDefaultOptions): void; hideAll(): void; diff --git a/types/bootbox/tsconfig.json b/types/bootbox/tsconfig.json index e9bedd04f7..7d84efdd82 100644 --- a/types/bootbox/tsconfig.json +++ b/types/bootbox/tsconfig.json @@ -20,4 +20,4 @@ "index.d.ts", "bootbox-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/cordova-plugin-inappbrowser/index.d.ts b/types/cordova-plugin-inappbrowser/index.d.ts index b266fbab44..1cf2c67642 100644 --- a/types/cordova-plugin-inappbrowser/index.d.ts +++ b/types/cordova-plugin-inappbrowser/index.d.ts @@ -25,7 +25,7 @@ interface Window { * NOTE: The InAppBrowser window behaves like a standard web browser, and can't access Cordova APIs. */ interface InAppBrowser extends Window { - onloadstart(type: InAppBrowserEvent): void; + onloadstart(type: Event): void; onloadstop(type: InAppBrowserEvent): void; onloaderror(type: InAppBrowserEvent): void; onexit(type: InAppBrowserEvent): void; diff --git a/types/cordova-plugin-inappbrowser/tsconfig.json b/types/cordova-plugin-inappbrowser/tsconfig.json index fc11c3516e..aea375a6ca 100644 --- a/types/cordova-plugin-inappbrowser/tsconfig.json +++ b/types/cordova-plugin-inappbrowser/tsconfig.json @@ -20,4 +20,4 @@ "index.d.ts", "cordova-plugin-inappbrowser-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/ibm-mobilefirst/index.d.ts b/types/ibm-mobilefirst/index.d.ts index 4da0cbf3b1..2577b0972b 100644 --- a/types/ibm-mobilefirst/index.d.ts +++ b/types/ibm-mobilefirst/index.d.ts @@ -61,8 +61,8 @@ declare namespace WL { getHeader(name: any): string; } interface Options { - onSuccess?: (response: IResponse) => void; - onFailure?: (response: IResponse) => void; + onSuccess?(response: IResponse): void; + onFailure?(response: IResponse): void; invocationContext?: any; } interface ResponseHandler<T> { diff --git a/types/ibm-mobilefirst/tsconfig.json b/types/ibm-mobilefirst/tsconfig.json index 0e4e6e45d9..89d222469f 100644 --- a/types/ibm-mobilefirst/tsconfig.json +++ b/types/ibm-mobilefirst/tsconfig.json @@ -20,4 +20,4 @@ "index.d.ts", "ibm-mobilefirst-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/jointjs/tsconfig.json b/types/jointjs/tsconfig.json index 8a67eaf271..cb169471f2 100644 --- a/types/jointjs/tsconfig.json +++ b/types/jointjs/tsconfig.json @@ -19,4 +19,4 @@ "files": [ "index.d.ts" ] -} \ No newline at end of file +} diff --git a/types/jquery/index.d.ts b/types/jquery/index.d.ts index 4a835896ed..e557103e47 100644 --- a/types/jquery/index.d.ts +++ b/types/jquery/index.d.ts @@ -85,7 +85,7 @@ interface JQueryStatic<TElement extends Node = HTMLElement> { * @since 1.3 */ off: boolean; - step: JQuery.PlainObject<JQuery.AnimationHook<TElement>>; + step: JQuery.PlainObject<JQuery.AnimationHook<Node>>; }; /** * A Promise-like object (or "thenable") that resolves when the document is ready. @@ -4754,7 +4754,7 @@ interface JQuery<TElement extends Node = HTMLElement> extends Iterable<TElement> * @see {@link https://api.jquery.com/queue/} * @since 1.2 */ - queue(queueName?: string): JQuery.Queue<TElement>; + queue(queueName?: string): JQuery.Queue<Node>; /** * Specify a function to execute when the DOM is fully loaded. * diff --git a/types/jquery/test/example-tests.ts b/types/jquery/test/example-tests.ts index 5d4e27d970..f32a2c3723 100644 --- a/types/jquery/test/example-tests.ts +++ b/types/jquery/test/example-tests.ts @@ -3061,7 +3061,7 @@ function examples() { type: 'dog', // Note that event comes *after* one and two - test: function(one: typeof you, two: typeof they, event: JQuery.Event<HTMLButtonElement>) { + test: function(one: typeof you, two: typeof they, event: JQuery.Event<HTMLElement>) { $('#log') // `one` maps to `you`, the 1st additional @@ -3081,7 +3081,7 @@ function examples() { // The clicked element is `event.target`, // and its type is "button" - .append('the ' + event.target.type + '.'); + .append('the ' + (event.target as HTMLButtonElement).type + '.'); }, }; diff --git a/types/jquery/test/longdesc-tests.ts b/types/jquery/test/longdesc-tests.ts index d77823ff78..bf63445c16 100644 --- a/types/jquery/test/longdesc-tests.ts +++ b/types/jquery/test/longdesc-tests.ts @@ -1332,7 +1332,7 @@ function longdesc() { function jquery_css_hooks_6() { $.fx.step.someCSSProp = function(fx) { - $.cssHooks.someCSSProp.set(fx.elem, fx.now + fx.unit); + $.cssHooks.someCSSProp.set(fx.elem as HTMLElement, fx.now + fx.unit); }; } diff --git a/types/knockout/index.d.ts b/types/knockout/index.d.ts index 3a206fd04c..4ef3bc8739 100644 --- a/types/knockout/index.d.ts +++ b/types/knockout/index.d.ts @@ -151,8 +151,8 @@ interface KnockoutAllBindingsAccessor { interface KnockoutBindingHandler { after?: Array<string>; - init?: (element: any, valueAccessor: () => any, allBindingsAccessor?: KnockoutAllBindingsAccessor, viewModel?: any, bindingContext?: KnockoutBindingContext) => void | { controlsDescendantBindings: boolean; }; - update?: (element: any, valueAccessor: () => any, allBindingsAccessor?: KnockoutAllBindingsAccessor, viewModel?: any, bindingContext?: KnockoutBindingContext) => void; + init?: (element: any, valueAccessor: () => any, allBindingsAccessor: KnockoutAllBindingsAccessor, viewModel: any, bindingContext: KnockoutBindingContext) => void | { controlsDescendantBindings: boolean; }; + update?: (element: any, valueAccessor: () => any, allBindingsAccessor: KnockoutAllBindingsAccessor, viewModel: any, bindingContext: KnockoutBindingContext) => void; options?: any; preprocess?: (value: string, name: string, addBindingCallback?: (name: string, value: string) => void) => string; [s: string]: any; diff --git a/types/knockout/tsconfig.json b/types/knockout/tsconfig.json index f6f1635804..c5dd9f2ae7 100644 --- a/types/knockout/tsconfig.json +++ b/types/knockout/tsconfig.json @@ -21,4 +21,4 @@ "test/templatingBehaviors.ts", "test/index.ts" ] -} \ No newline at end of file +} diff --git a/types/lodash/index.d.ts b/types/lodash/index.d.ts index d487135799..58698cb4f3 100644 --- a/types/lodash/index.d.ts +++ b/types/lodash/index.d.ts @@ -4794,6 +4794,14 @@ declare namespace _ { * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x'); * // => [{ 'x': 1 }, { 'x': 2 }] */ + uniqBy<TString extends string | null | undefined>( + array: TString, + iteratee: StringIterator<any> + ): TString[]; + + /** + * @see _.uniqBy + */ uniqBy<T>( array: List<T> | null | undefined, iteratee: ListIterator<T, any> @@ -4832,6 +4840,24 @@ declare namespace _ { ): T[]; } + interface LoDashImplicitStringWrapper { + /** + * @see _.uniqBy + */ + uniqBy( + iteratee: StringIterator<any> + ): LoDashImplicitArrayWrapper<string>; + } + + interface LoDashExplicitStringWrapper { + /** + * @see _.uniqBy + */ + uniqBy( + iteratee: StringIterator<any> + ): LoDashExplicitArrayWrapper<string>; + } + interface LoDashImplicitWrapper<T> { /** * @see _.uniqBy @@ -5074,6 +5100,14 @@ declare namespace _ { * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor); * // => [1.1, 2.2] */ + sortedUniqBy<TString extends string | null | undefined>( + array: TString, + iteratee: StringIterator<any> + ): TString[]; + + /** + * @see _.sortedUniqBy + */ sortedUniqBy<T>( array: List<T> | null | undefined, iteratee: ListIterator<T, any> @@ -5112,6 +5146,24 @@ declare namespace _ { ): T[]; } + interface LoDashImplicitStringWrapper { + /** + * @see _.sortedUniqBy + */ + sortedUniqBy( + iteratee: StringIterator<any> + ): LoDashImplicitArrayWrapper<string>; + } + + interface LoDashExplicitStringWrapper { + /** + * @see _.sortedUniqBy + */ + sortedUniqBy( + iteratee: StringIterator<any> + ): LoDashExplicitArrayWrapper<string>; + } + interface LoDashImplicitWrapper<T> { /** * @see _.sortedUniqBy @@ -5823,6 +5875,13 @@ declare namespace _ { chain(value: any): LoDashExplicitWrapper<any>; } + interface LoDashImplicitStringWrapper { + /** + * @see _.chain + */ + chain(): LoDashExplicitStringWrapper; + } + interface LoDashImplicitWrapper<T> { /** * @see _.chain @@ -7796,6 +7855,14 @@ declare namespace _ { * @param thisArg The this binding of iteratee. * @return Returns the composed aggregate object. */ + groupBy<TString extends string | null | undefined, TKey>( + collection: TString, + iteratee?: StringIterator<TKey> + ): Dictionary<TString[]>; + + /** + * @see _.groupBy + */ groupBy<T, TKey>( collection: List<T> | null | undefined, iteratee?: ListIterator<T, TKey> @@ -8165,6 +8232,24 @@ declare namespace _ { ): Dictionary<T>; } + interface LoDashImplicitStringWrapper { + /** + * @see _.keyBy + */ + keyBy( + iteratee?: StringIterator<any> | undefined + ): LoDashImplicitObjectWrapper<Dictionary<string>> + } + + interface LoDashExplicitStringWrapper { + /** + * @see _.keyBy + */ + keyBy( + iteratee?: StringIterator<any> | undefined + ): LoDashExplicitObjectWrapper<Dictionary<string>> + } + interface LoDashImplicitWrapper<T> { /** * @see _.keyBy @@ -8849,53 +8934,53 @@ declare namespace _ { accumulator: TResult): TResult; /** - * @see _.reduce - **/ + * @see _.reduce + **/ reduce<T, TResult>( collection: List<T> | null | undefined, callback: MemoIterator<T, TResult>, accumulator: TResult): TResult; /** - * @see _.reduce - **/ + * @see _.reduce + **/ reduce<T, TResult>( collection: Dictionary<T> | null | undefined, callback: MemoIterator<T, TResult>, accumulator: TResult): TResult; /** - * @see _.reduce - **/ + * @see _.reduce + **/ reduce<T, TResult>( collection: NumericDictionary<T> | null | undefined, callback: MemoIterator<T, TResult>, accumulator: TResult): TResult; /** - * @see _.reduce - **/ + * @see _.reduce + **/ reduce<T, TResult>( collection: T[] | null | undefined, callback: MemoIterator<T, TResult>): TResult | undefined; /** - * @see _.reduce - **/ + * @see _.reduce + **/ reduce<T, TResult>( collection: List<T> | null | undefined, callback: MemoIterator<T, TResult>): TResult | undefined; /** - * @see _.reduce - **/ + * @see _.reduce + **/ reduce<T, TResult>( collection: Dictionary<T> | null | undefined, callback: MemoIterator<T, TResult>): TResult | undefined; /** - * @see _.reduce - **/ + * @see _.reduce + **/ reduce<T, TResult>( collection: NumericDictionary<T> | null | undefined, callback: MemoIterator<T, TResult>): TResult | undefined; @@ -12606,7 +12691,7 @@ declare namespace _ { } //_.isMatchWith - type isMatchWithCustomizer = (value: any, other: any, indexOrKey?: number|string) => boolean; + type isMatchWithCustomizer = (value: any, other: any, indexOrKey: number|string) => boolean; interface LoDashStatic { /** @@ -14155,7 +14240,7 @@ declare namespace _ { * @see _.sumBy */ sumBy( - iteratee: ListIterator<{}, number> + iteratee: ListIterator<TObject, number> ): number; /** @@ -14198,7 +14283,7 @@ declare namespace _ { * @see _.sumBy */ sumBy( - iteratee: ListIterator<{}, number> + iteratee: ListIterator<TObject, number> ): LoDashExplicitWrapper<number>; /** @@ -16955,7 +17040,7 @@ declare namespace _ { } //_.mergeWith - type MergeWithCustomizer = (value: any, srcValue: any, key?: string, object?: Object, source?: Object) => any; + type MergeWithCustomizer = { bivariantHack(value: any, srcValue: any, key: string, object: any, source: any): any; }["bivariantHack"] interface LoDashStatic { /** @@ -17438,31 +17523,31 @@ declare namespace _ { * @parem customizer The function to customize assigned values. * @return Returns object. */ + setWith<O, V, TResult>( + object: O, + path: Many<StringRepresentable>, + value: V, + customizer?: SetWithCustomizer<O> + ): TResult; + + /** + * @see _.setWith + */ setWith<TResult>( - object: Object, + object: any, path: Many<StringRepresentable>, value: any, - customizer?: SetWithCustomizer<Object> + customizer?: SetWithCustomizer<any> ): TResult; /** * @see _.setWith */ setWith<V, TResult>( - object: Object, + object: any, path: Many<StringRepresentable>, value: V, - customizer?: SetWithCustomizer<Object> - ): TResult; - - /** - * @see _.setWith - */ - setWith<O, V, TResult>( - object: O, - path: Many<StringRepresentable>, - value: V, - customizer?: SetWithCustomizer<O> + customizer?: SetWithCustomizer<any> ): TResult; } @@ -17782,22 +17867,22 @@ declare namespace _ { * _.updateWith(object, '[0][1]', _.constant('a'), Object); * // => { '0': { '1': 'a' } } */ - updateWith<TResult>( - object: Object, - path: Many<StringRepresentable>, - updater: (oldValue: any) => any, - customizer?: SetWithCustomizer<Object> - ): TResult; - - /** - * @see _.updateWith - */ updateWith<O extends {}, TResult>( object: O, path: Many<StringRepresentable>, updater: (oldValue: any) => any, customizer?: SetWithCustomizer<O> ): TResult; + + /** + * @see _.updateWith + */ + updateWith<TResult>( + object: any, + path: Many<StringRepresentable>, + updater: (oldValue: any) => any, + customizer?: SetWithCustomizer<any> + ): TResult; } interface LoDashImplicitObjectWrapper<T> { diff --git a/types/lodash/lodash-tests.ts b/types/lodash/lodash-tests.ts index ed80175d6f..3e13b70ac8 100644 --- a/types/lodash/lodash-tests.ts +++ b/types/lodash/lodash-tests.ts @@ -2256,7 +2256,7 @@ namespace TestUniqBy { let result: string[]; result = _.uniqBy<string>('abc', stringIterator); - result = _.uniqBy<string, string>('abc', stringIterator); + result = _.uniqBy('abc', stringIterator); } { @@ -2278,7 +2278,7 @@ namespace TestUniqBy { { let result: _.LoDashImplicitArrayWrapper<string>; - result = _('abc').uniqBy<string>(stringIterator); + result = _('abc').uniqBy(stringIterator); } { @@ -2298,7 +2298,7 @@ namespace TestUniqBy { { let result: _.LoDashExplicitArrayWrapper<string>; - result = _('abc').chain().uniqBy<string>(stringIterator); + result = _('abc').chain().uniqBy(stringIterator); } { @@ -2371,7 +2371,7 @@ namespace TestSortedUniqBy { let result: string[]; result = _.sortedUniqBy<string>('abc', stringIterator); - result = _.sortedUniqBy<string, string>('abc', stringIterator); + result = _.sortedUniqBy('abc', stringIterator); } { @@ -2393,7 +2393,7 @@ namespace TestSortedUniqBy { { let result: _.LoDashImplicitArrayWrapper<string>; - result = _('abc').sortedUniqBy<string>(stringIterator); + result = _('abc').sortedUniqBy(stringIterator); } { @@ -2413,7 +2413,7 @@ namespace TestSortedUniqBy { { let result: _.LoDashExplicitArrayWrapper<string>; - result = _('abc').chain().sortedUniqBy<string>(stringIterator); + result = _('abc').chain().sortedUniqBy(stringIterator); } { @@ -3345,7 +3345,7 @@ namespace TestCountBy { let dictionary: _.Dictionary<TResult> | null | undefined = obj; let numericDictionary: _.NumericDictionary<TResult> | null | undefined = obj; - let stringIterator: (value: string, index: number, collection: string) => any = (value: string, index: number, collection: string) => 1; + let stringIterator: (value: string, index: number, collection: ArrayLike<string>) => any = (value: string, index: number, collection: ArrayLike<string>) => 1; let listIterator: (value: TResult, index: number, collection: _.List<TResult>) => any = (value: TResult, index: number, collection: _.List<TResult>) => 1; let dictionaryIterator: (value: TResult, key: string, collection: _.Dictionary<TResult>) => any = (value: TResult, key: string, collection: _.Dictionary<TResult>) => 1; let numericDictionaryIterator: (value: TResult, key: number, collection: _.NumericDictionary<TResult>) => any = (value: TResult, key: number, collection: _.NumericDictionary<TResult>) => 1; @@ -4557,7 +4557,7 @@ namespace TestForEach { { let result: TResult[]; - result = _.forEach(array, (value, index, collection: TResult[]) => { + result = _.forEach(array, (value, index, collection: ArrayLike<TResult>) => { value; // $ExpectType TResult index; // $ExpectType number }); @@ -4572,7 +4572,7 @@ namespace TestForEach { { let result: TResult[] | null | undefined; - result = _.forEach(array, (value, index, collection: TResult[]) => { + result = _.forEach(array, (value, index, collection: ArrayLike<TResult>) => { value; // $ExpectType TResult index; // $ExpectType number }); @@ -4990,7 +4990,7 @@ namespace TestGroupBy { let result: _.LoDashImplicitObjectWrapper<_.Dictionary<string[]>>; result = _('').groupBy(); - result = _('').groupBy<number>(stringIterator); + result = _('').groupBy<number>((char: string, index: number, string: ArrayLike<string>) => 0); } { @@ -5025,7 +5025,7 @@ namespace TestGroupBy { let result: _.LoDashExplicitObjectWrapper<_.Dictionary<string[]>>; result = _('').chain().groupBy(); - result = _('').chain().groupBy<number>(stringIterator); + result = _('').chain().groupBy<number>((char: string, index: number, string: ArrayLike<string>) => 0); } { @@ -5547,7 +5547,7 @@ namespace TestReduce { result = <ABC>_.reduce({ 'a': 1, 'b': 2, 'c': 3 }, (r: ABC, num: number, key: string) => { r[key] = num * 3; return r; - }, {}); + }, {} as ABC); result = <number>_([1, 2, 3]).reduce<number>((sum: number, num: number) => sum + num); result = <ABC>_({ 'a': 1, 'b': 2, 'c': 3 }).reduce<number, ABC>((r: ABC, num: number, key: string) => { @@ -6487,6 +6487,7 @@ namespace TestDebounce { interface ResultFunc { (n: number, s: string): boolean; cancel(): void; + flush(): void; } let func: SampleFunc = (a, b) => true; @@ -6959,6 +6960,7 @@ namespace TestThrottle { interface ResultFunc { (n: number, s: string): boolean; cancel(): void; + flush(): void; } let func: SampleFunc = (a, b) => true; @@ -8980,7 +8982,7 @@ namespace TestSumBy { result = _(array).sumBy(listIterator); result = _(objectArray).sumBy('age'); - result = _(list).sumBy(listIterator); + result = _(list).sumBy((value: _.List<number> | null | undefined, index: number, collection: _.List<_.List<number> | null | undefined>) => 0); result = _(objectList).sumBy('age'); } @@ -8990,7 +8992,7 @@ namespace TestSumBy { result = _(array).chain().sumBy(listIterator); result = _(objectArray).chain().sumBy('age'); - result = _(list).chain().sumBy(listIterator); + result = _(list).chain().sumBy((value: _.List<number> | null | undefined, index: number, collection: _.List<_.List<number> | null | undefined>) => 0); result = _(objectList).chain().sumBy('age'); } } @@ -9146,25 +9148,25 @@ namespace TestAssign { } { - let result: _.LoDashImplicitObjectWrapper<{ a: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string }>; result = _(obj).assign(s1); } { - let result: _.LoDashImplicitObjectWrapper<{ a: number, b: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string, b: number }>; result = _(obj).assign(s1, s2); } { - let result: _.LoDashImplicitObjectWrapper<{ a: number, b: number, c: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string, b: number, c: number }>; result = _(obj).assign(s1, s2, s3); } { - let result: _.LoDashImplicitObjectWrapper<{ a: number, b: number, c: number, d: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string, b: number, c: number, d: number }>; result = _(obj).assign(s1, s2, s3, s4); } @@ -9182,25 +9184,25 @@ namespace TestAssign { } { - let result: _.LoDashExplicitObjectWrapper<{ a: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string }>; result = _(obj).chain().assign(s1); } { - let result: _.LoDashExplicitObjectWrapper<{ a: number, b: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string, b: number }>; result = _(obj).chain().assign(s1, s2); } { - let result: _.LoDashExplicitObjectWrapper<{ a: number, b: number, c: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string, b: number, c: number }>; result = _(obj).chain().assign(s1, s2, s3); } { - let result: _.LoDashExplicitObjectWrapper<{ a: number, b: number, c: number, d: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string, b: number, c: number, d: number }>; result = _(obj).chain().assign(s1, s2, s3, s4); } @@ -9268,22 +9270,22 @@ namespace TestAssignWith { } { - let result: _.LoDashImplicitObjectWrapper<{ a: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string }>; result = _(obj).assignWith(s1, customizer); } { - let result: _.LoDashImplicitObjectWrapper<{ a: number, b: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string, b: number }>; result = _(obj).assignWith(s1, s2, customizer); } { - let result: _.LoDashImplicitObjectWrapper<{ a: number, b: number, c: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string, b: number, c: number }>; result = _(obj).assignWith(s1, s2, s3, customizer); } { - let result: _.LoDashImplicitObjectWrapper<{ a: number, b: number, c: number, d: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string, b: number, c: number, d: number }>; result = _(obj).assignWith(s1, s2, s3, s4, customizer); } @@ -9299,22 +9301,22 @@ namespace TestAssignWith { } { - let result: _.LoDashExplicitObjectWrapper<{ a: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string }>; result = _(obj).chain().assignWith(s1, customizer); } { - let result: _.LoDashExplicitObjectWrapper<{ a: number, b: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string, b: number }>; result = _(obj).chain().assignWith(s1, s2, customizer); } { - let result: _.LoDashExplicitObjectWrapper<{ a: number, b: number, c: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string, b: number, c: number }>; result = _(obj).chain().assignWith(s1, s2, s3, customizer); } { - let result: _.LoDashExplicitObjectWrapper<{ a: number, b: number, c: number, d: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string, b: number, c: number, d: number }>; result = _(obj).chain().assignWith(s1, s2, s3, s4, customizer); } @@ -9385,25 +9387,25 @@ namespace TestAssignIn { } { - let result: _.LoDashImplicitObjectWrapper<{ a: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string }>; result = _(obj).assignIn(s1); } { - let result: _.LoDashImplicitObjectWrapper<{ a: number, b: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string, b: number }>; result = _(obj).assignIn(s1, s2); } { - let result: _.LoDashImplicitObjectWrapper<{ a: number, b: number, c: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string, b: number, c: number }>; result = _(obj).assignIn(s1, s2, s3); } { - let result: _.LoDashImplicitObjectWrapper<{ a: number, b: number, c: number, d: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string, b: number, c: number, d: number }>; result = _(obj).assignIn(s1, s2, s3, s4); } @@ -9421,25 +9423,25 @@ namespace TestAssignIn { } { - let result: _.LoDashExplicitObjectWrapper<{ a: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string }>; result = _(obj).chain().assignIn(s1); } { - let result: _.LoDashExplicitObjectWrapper<{ a: number, b: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string, b: number }>; result = _(obj).chain().assignIn(s1, s2); } { - let result: _.LoDashExplicitObjectWrapper<{ a: number, b: number, c: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string, b: number, c: number }>; result = _(obj).chain().assignIn(s1, s2, s3); } { - let result: _.LoDashExplicitObjectWrapper<{ a: number, b: number, c: number, d: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string, b: number, c: number, d: number }>; result = _(obj).chain().assignIn(s1, s2, s3, s4); } @@ -9507,22 +9509,22 @@ namespace TestAssignInWith { } { - let result: _.LoDashImplicitObjectWrapper<{ a: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string }>; result = _(obj).assignInWith(s1, customizer); } { - let result: _.LoDashImplicitObjectWrapper<{ a: number, b: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string, b: number }>; result = _(obj).assignInWith(s1, s2, customizer); } { - let result: _.LoDashImplicitObjectWrapper<{ a: number, b: number, c: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string, b: number, c: number }>; result = _(obj).assignInWith(s1, s2, s3, customizer); } { - let result: _.LoDashImplicitObjectWrapper<{ a: number, b: number, c: number, d: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string, b: number, c: number, d: number }>; result = _(obj).assignInWith(s1, s2, s3, s4, customizer); } @@ -9538,22 +9540,22 @@ namespace TestAssignInWith { } { - let result: _.LoDashExplicitObjectWrapper<{ a: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string }>; result = _(obj).chain().assignInWith(s1, customizer); } { - let result: _.LoDashExplicitObjectWrapper<{ a: number, b: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string, b: number }>; result = _(obj).chain().assignInWith(s1, s2, customizer); } { - let result: _.LoDashExplicitObjectWrapper<{ a: number, b: number, c: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string, b: number, c: number }>; result = _(obj).chain().assignInWith(s1, s2, s3, customizer); } { - let result: _.LoDashExplicitObjectWrapper<{ a: number, b: number, c: number, d: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string, b: number, c: number, d: number }>; result = _(obj).chain().assignInWith(s1, s2, s3, s4, customizer); } @@ -9652,25 +9654,25 @@ namespace TestDefaults { } { - let result: _.LoDashImplicitObjectWrapper<{ a: string }>; + let result: _.LoDashImplicitObjectWrapper<{ a: string & number }>; result = _(obj).defaults(s1); } { - let result: _.LoDashImplicitObjectWrapper<{ a: string, b: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: string & number, b: number }>; result = _(obj).defaults(s1, s2); } { - let result: _.LoDashImplicitObjectWrapper<{ a: string, b: number, c: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: string & number, b: number, c: number }>; result = _(obj).defaults(s1, s2, s3); } { - let result: _.LoDashImplicitObjectWrapper<{ a: string, b: number, c: number, d: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: string & number, b: number, c: number, d: number }>; result = _(obj).defaults(s1, s2, s3, s4); } @@ -9688,25 +9690,25 @@ namespace TestDefaults { } { - let result: _.LoDashExplicitObjectWrapper<{ a: string }>; + let result: _.LoDashExplicitObjectWrapper<{ a: string & number }>; result = _(obj).chain().defaults(s1); } { - let result: _.LoDashExplicitObjectWrapper<{ a: string, b: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: string & number, b: number }>; result = _(obj).chain().defaults(s1, s2); } { - let result: _.LoDashExplicitObjectWrapper<{ a: string, b: number, c: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: string & number, b: number, c: number }>; result = _(obj).chain().defaults(s1, s2, s3); } { - let result: _.LoDashExplicitObjectWrapper<{ a: string, b: number, c: number, d: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: string & number, b: number, c: number, d: number }>; result = _(obj).chain().defaults(s1, s2, s3, s4); } @@ -9873,25 +9875,25 @@ namespace TestExtend { } { - let result: _.LoDashImplicitObjectWrapper<{ a: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string }>; result = _(obj).extend(s1); } { - let result: _.LoDashImplicitObjectWrapper<{ a: number, b: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string, b: number }>; result = _(obj).extend(s1, s2); } { - let result: _.LoDashImplicitObjectWrapper<{ a: number, b: number, c: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string, b: number, c: number }>; result = _(obj).extend(s1, s2, s3); } { - let result: _.LoDashImplicitObjectWrapper<{ a: number, b: number, c: number, d: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string, b: number, c: number, d: number }>; result = _(obj).extend(s1, s2, s3, s4); } @@ -9909,25 +9911,25 @@ namespace TestExtend { } { - let result: _.LoDashExplicitObjectWrapper<{ a: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string }>; result = _(obj).chain().extend(s1); } { - let result: _.LoDashExplicitObjectWrapper<{ a: number, b: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string, b: number }>; result = _(obj).chain().extend(s1, s2); } { - let result: _.LoDashExplicitObjectWrapper<{ a: number, b: number, c: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string, b: number, c: number }>; result = _(obj).chain().extend(s1, s2, s3); } { - let result: _.LoDashExplicitObjectWrapper<{ a: number, b: number, c: number, d: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string, b: number, c: number, d: number }>; result = _(obj).chain().extend(s1, s2, s3, s4); } @@ -10000,25 +10002,25 @@ namespace TestExtendWith { } { - let result: _.LoDashImplicitObjectWrapper<{ a: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string }>; result = _(obj).extendWith(s1, customizer); } { - let result: _.LoDashImplicitObjectWrapper<{ a: number, b: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string, b: number }>; result = _(obj).extendWith(s1, s2, customizer); } { - let result: _.LoDashImplicitObjectWrapper<{ a: number, b: number, c: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string, b: number, c: number }>; result = _(obj).extendWith(s1, s2, s3, customizer); } { - let result: _.LoDashImplicitObjectWrapper<{ a: number, b: number, c: number, d: number }>; + let result: _.LoDashImplicitObjectWrapper<{ a: number & string, b: number, c: number, d: number }>; result = _(obj).extendWith(s1, s2, s3, s4, customizer); } @@ -10036,25 +10038,25 @@ namespace TestExtendWith { } { - let result: _.LoDashExplicitObjectWrapper<{ a: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string }>; result = _(obj).chain().extendWith(s1, customizer); } { - let result: _.LoDashExplicitObjectWrapper<{ a: number, b: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string, b: number }>; result = _(obj).chain().extendWith(s1, s2, customizer); } { - let result: _.LoDashExplicitObjectWrapper<{ a: number, b: number, c: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string, b: number, c: number }>; result = _(obj).chain().extendWith(s1, s2, s3, customizer); } { - let result: _.LoDashExplicitObjectWrapper<{ a: number, b: number, c: number, d: number }>; + let result: _.LoDashExplicitObjectWrapper<{ a: number & string, b: number, c: number, d: number }>; result = _(obj).chain().extendWith(s1, s2, s3, s4, customizer); } @@ -10986,7 +10988,7 @@ namespace TestMergeWith { type ExpectedResult = { a: number, b: string }; let result: ExpectedResult; - let customizer: (value: any, srcValue: any, key?: string, object?: InitialValue, source?: MergingValue) => any = (value: any, srcValue: any, key?: string, object?: InitialValue, source?: MergingValue) => 1; + let customizer: (value: any, srcValue: any, key: string, object: InitialValue, source: MergingValue) => any = (value: any, srcValue: any, key: string, object: InitialValue, source: MergingValue) => 1; // Test for basic merging result = _.mergeWith(initialValue, mergingValue, customizer); @@ -11003,7 +11005,7 @@ namespace TestMergeWith { result = _(initialValue).mergeWith({}, {}, mergingValue, customizer).value(); result = _(initialValue).mergeWith({}, {}, {}, mergingValue, customizer).value(); - // Once we get to the varargs version, you have to specify the result explicitl + // Once we get to the varargs version, you have to specify the result explicitly result = _(initialValue).mergeWith<ExpectedResult>({}, {}, {}, {}, mergingValue, customizer).value(); } diff --git a/types/lodash/tsconfig.json b/types/lodash/tsconfig.json index 8239e4f277..9947bcc8e6 100644 --- a/types/lodash/tsconfig.json +++ b/types/lodash/tsconfig.json @@ -315,4 +315,4 @@ "zipObjectDeep.d.ts", "zipWith.d.ts" ] -} \ No newline at end of file +} diff --git a/types/log4js/log4js-tests.ts b/types/log4js/log4js-tests.ts index af4a706e1c..9ab50d3344 100644 --- a/types/log4js/log4js-tests.ts +++ b/types/log4js/log4js-tests.ts @@ -90,10 +90,10 @@ var myAppender: log4js.AppenderModule = { return cb(null); }, - configure: function (config: MyAppenderConfig, options?: { [key: string]: any }): log4js.Appender { + configure: function (config: log4js.CustomAppenderConfig, options?: { [key: string]: any }): log4js.Appender { var mycfg = config.mycfg; return this.appender(mycfg); } } -log4js.loadAppender("my-log4js-appender", myAppender); \ No newline at end of file +log4js.loadAppender("my-log4js-appender", myAppender); diff --git a/types/log4js/tsconfig.json b/types/log4js/tsconfig.json index a71e03c82a..ed31cb93c7 100644 --- a/types/log4js/tsconfig.json +++ b/types/log4js/tsconfig.json @@ -19,4 +19,4 @@ "index.d.ts", "log4js-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index 84bdba51fd..ca62a4a6c2 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -2252,8 +2252,8 @@ namespace process_tests { process.once("warning", (warning: Error) => { }); process.prependListener("message", (message: any, sendHandle: any) => { }); process.prependOnceListener("SIGBREAK", () => { }); - process.on("newListener", (event: string, listener: Function) => { }); - process.once("removeListener", (event: string, listener: Function) => { }); + process.on("newListener", (event: string | symbol, listener: Function) => { }); + process.once("removeListener", (event: string | symbol, listener: Function) => { }); const listeners = process.listeners('uncaughtException'); const oldHandler = listeners[listeners.length - 1]; diff --git a/types/q/q-tests.ts b/types/q/q-tests.ts index cb9e46e5a7..f54f913e07 100644 --- a/types/q/q-tests.ts +++ b/types/q/q-tests.ts @@ -144,13 +144,13 @@ const nodeStyle = (input: string, cb: (error: any, success: any) => void) => { cb(null, input); }; -Q.nfapply(nodeStyle, ["foo"]).done((result: string) => { +Q.nfapply<string>(nodeStyle, ["foo"]).done((result: string) => { }); -Q.nfcall(nodeStyle, "foo").done((result: string) => { +Q.nfcall<string>(nodeStyle, "foo").done((result: string) => { }); -Q.denodeify(nodeStyle)('foo').done((result: string) => { +Q.denodeify<string>(nodeStyle)('foo').done((result: string) => { }); -Q.nfbind(nodeStyle)('foo').done((result: string) => { +Q.nfbind<string>(nodeStyle)('foo').done((result: string) => { }); class Repo { @@ -171,7 +171,7 @@ class Repo { } const kitty = new Repo(); -Q.nbind(kitty.find, kitty)({cute: true}).done((kitties: any[]) => { +Q.nbind<any[]>(kitty.find, kitty)({cute: true}).done((kitties: any[]) => { }); /** diff --git a/types/ramda/index.d.ts b/types/ramda/index.d.ts index 1aeaab905d..209d61a35f 100644 --- a/types/ramda/index.d.ts +++ b/types/ramda/index.d.ts @@ -225,9 +225,9 @@ declare namespace R { /** * Returns a new list containing the contents of the given list, followed by the given element. */ + append<U>(el: U): <T>(list: T[]) => Array<(T & U)>; append<T, U>(el: U, list: T[]): Array<(T & U)>; - append<U>(el: U): <T>(list: T[]) => Array<(T & U)>; - append<U>(el: U): <T>(list: T[]) => Array<(T & U)>; + append<T>(el: T, list: string): Array<T & string>; /** * Applies function fn to the argument list args. This is useful for creating a fixed-arity function from diff --git a/types/ramda/ramda-tests.ts b/types/ramda/ramda-tests.ts index 0998930d42..7ecd3e5f60 100644 --- a/types/ramda/ramda-tests.ts +++ b/types/ramda/ramda-tests.ts @@ -151,9 +151,9 @@ class F2 { }; () => { - const truncate = R.when( + const truncate = R.when( R.propSatisfies(R.flip(R.gt)(10), "length"), - R.pipe(R.take(10), R.append("…"), R.join("")) + R.pipe<string,string,string[],string>(R.take(10), R.append("…") as (wrong: any) => string[], R.join("")) ); const a: string = truncate("12345"); // => '12345' const b: string = truncate("0123456789ABC"); // => '0123456789…' @@ -317,8 +317,7 @@ R.times(i, 5); (() => { const numbers = [1, 2, 3]; - const add = (a: number, b: number) => a + b; - R.reduce(add, 10, numbers); // => 16; + R.reduce((a,b) => a + b, 10, numbers); // => 16; })(); (() => { @@ -326,7 +325,7 @@ R.times(i, 5); })(); (() => { - const pairs = [["a", 1], ["b", 2], ["c", 3]]; + const pairs = [["a", 1], ["b", 2], ["c", 3]] as [string, number][]; function flattenPairs(pair: [string, number], acc: Array<string|number>): Array<string|number> { return acc.concat(pair); @@ -854,13 +853,9 @@ interface Obj { () => { const numbers = [1, 2, 3]; - function add(a: number, b: number) { - return a + b; - } - - R.reduce(add, 10, numbers); // => 16 + R.reduce((a,b) => a + b, 10, numbers); // => 16 R.reduce(add)(10, numbers); // => 16 - R.reduce(add, 10)(numbers); // => 16 + R.reduce<number,number>((a,b) => a + b, 10)(numbers); // => 16 }; interface Student { @@ -1086,7 +1081,7 @@ type Pair = KeyValuePair<string, number>; R.transduce(transducer, fn, [], numbers); // => [2, 3] R.transduce(transducer, fn, [])(numbers); // => [2, 3] R.transduce(transducer, fn)([], numbers); // => [2, 3] - R.transduce(transducer)(fn, [], numbers); // => [2, 3] + R.transduce<number, number>(transducer)(fn, [], numbers); // => [2, 3] }; () => { @@ -1101,7 +1096,7 @@ type Pair = KeyValuePair<string, number>; const list = [1, 2, 3]; R.traverse(of, fn, list); R.traverse(of, fn)(list); - R.traverse(of)(fn, list); + R.traverse<number, number[], {}>(of)(fn, list); }; () => { @@ -1691,7 +1686,7 @@ class Rectangle { const format = R.converge( R.call, [ - R.pipe(R.prop("indent"), indentN), + R.pipe<{}, number, (s: string) => string>(R.prop("indent"), indentN), R.prop("value") ] ); @@ -1841,7 +1836,7 @@ class Rectangle { }; () => { - const sortByAgeDescending = R.sortBy(R.compose(R.negate, R.prop("age"))); + const sortByAgeDescending = R.sortBy(R.compose<{}, number, number>(R.negate, R.prop("age"))); const alice = { name: "ALICE", age : 101 @@ -1859,7 +1854,7 @@ class Rectangle { }; () => { - const sortByNameCaseInsensitive = R.sortBy(R.compose(R.toLower, R.prop("name"))); + const sortByNameCaseInsensitive = R.sortBy(R.compose<string,string,string>(R.toLower, R.prop("name"))); const alice = { name: "ALICE", age : 101 diff --git a/types/react-native/test/index.tsx b/types/react-native/test/index.tsx index 15f86af6c3..85c798bee6 100644 --- a/types/react-native/test/index.tsx +++ b/types/react-native/test/index.tsx @@ -299,7 +299,7 @@ class ScrollerListComponentTest extends React.Component<{}, { dataSource: ListVi return <ScrollView {...props} style={[scrollViewStyle1.scrollView, scrollViewStyle2]}/> }} - renderRow={({ type, data }, _, row: number) => { + renderRow={({ type, data }, _, row) => { return <Text>Filler</Text> } } /> diff --git a/types/react-redux/react-redux-tests.tsx b/types/react-redux/react-redux-tests.tsx index 1b10f6d645..e726bf104f 100644 --- a/types/react-redux/react-redux-tests.tsx +++ b/types/react-redux/react-redux-tests.tsx @@ -381,6 +381,7 @@ interface DispatchProps { declare var actionCreators: () => { action: Function; } +declare var dispatchActionCreators: () => DispatchProps; declare var addTodo: () => { type: string; }; declare var todoActionCreators: { [type: string]: (...args: any[]) => any; }; declare var counterActionCreators: { [type: string]: (...args: any[]) => any; }; @@ -521,7 +522,7 @@ function mergeProps(stateProps: TodoState, dispatchProps: DispatchProps, ownProp }); } -connect(mapStateToProps2, actionCreators, mergeProps)(MyRootComponent); +connect(mapStateToProps2, dispatchActionCreators, mergeProps)(MyRootComponent); //https://github.com/DefinitelyTyped/DefinitelyTyped/issues/14622#issuecomment-279820358 diff --git a/types/react/index.d.ts b/types/react/index.d.ts index f3b2d30884..f811bf488b 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -74,7 +74,7 @@ declare namespace React { type ComponentType<P = {}> = ComponentClass<P> | StatelessComponent<P>; type Key = string | number; - type Ref<T> = string | ((instance: T | null) => any); + type Ref<T> = string | { bivarianceHack(instance: T | null): any }["bivarianceHack"]; // tslint:disable-next-line:interface-over-type-literal type ComponentState = {}; @@ -557,7 +557,7 @@ declare namespace React { // Event Handler Types // ---------------------------------------------------------------------- - type EventHandler<E extends SyntheticEvent<any>> = (event: E) => void; + type EventHandler<E extends SyntheticEvent<any>> = { bivarianceHack(event: E): void }["bivarianceHack"]; type ReactEventHandler<T> = EventHandler<SyntheticEvent<T>>; @@ -3371,7 +3371,7 @@ declare namespace React { // React.PropTypes // ---------------------------------------------------------------------- - type Validator<T> = (object: T, key: string, componentName: string, ...rest: any[]) => Error | null; + type Validator<T> = { bivarianceHack(object: T, key: string, componentName: string, ...rest: any[]): Error | null }["bivarianceHack"]; interface Requireable<T> extends Validator<T> { isRequired: Validator<T>; diff --git a/types/sharepoint/sharepoint-tests.ts b/types/sharepoint/sharepoint-tests.ts index 8d62972490..b41c38f97d 100644 --- a/types/sharepoint/sharepoint-tests.ts +++ b/types/sharepoint/sharepoint-tests.ts @@ -530,7 +530,8 @@ namespace CSR { .onPreRender(hookFormContext) .onPostRender(fixCsrCustomLayout); - function hookFormContext(ctx: FormRenderContexWithHook) { + function hookFormContext(preRenderContext: SPClientTemplates.RenderContext /* FormRenderContexWithHook */) { + let ctx = preRenderContext as FormRenderContexWithHook; if (ctx.ControlMode === SPClientTemplates.ClientControlMode.EditForm || ctx.ControlMode === SPClientTemplates.ClientControlMode.NewForm) { for (const fieldSchemaInForm of ctx.ListSchema.Field) { @@ -561,7 +562,8 @@ namespace CSR { } } - function fixCsrCustomLayout(ctx: SPClientTemplates.RenderContext_Form) { + function fixCsrCustomLayout(postRenderContext: SPClientTemplates.RenderContext /* SPClientTemplates.RenderContext_Form */) { + let ctx = postRenderContext as SPClientTemplates.RenderContext_Form; if (ctx.ControlMode === SPClientTemplates.ClientControlMode.Invalid || ctx.ControlMode === SPClientTemplates.ClientControlMode.View) { return; @@ -817,7 +819,8 @@ namespace CSR { } } }) - .onPostRenderField(fieldName, (schema: SPClientTemplates.FieldSchema_InForm_User, ctx) => { + .onPostRenderField(fieldName, (postRenderSchema, ctx) => { + let schema = postRenderSchema as SPClientTemplates.FieldSchema_InForm_User; if (ctx.ControlMode === SPClientTemplates.ClientControlMode.EditForm || ctx.ControlMode === SPClientTemplates.ClientControlMode.NewForm) { if (schema.Type === 'User' || schema.Type === 'UserMulti') { @@ -1148,7 +1151,9 @@ namespace CSR { computedValue(targetField: string, transform: (...values: string[]) => string, ...sourceField: string[]): CSR { const dependentValues: { [field: string]: string } = {}; - return this.onPostRenderField(targetField, (schema: SPClientTemplates.FieldSchema_InForm, ctx: SPClientTemplates.RenderContext_FieldInForm) => { + return this.onPostRenderField(targetField, (postRenderSchema, postRenderContext) => { + let schema = postRenderSchema as SPClientTemplates.FieldSchema_InForm; + let ctx = postRenderContext as SPClientTemplates.RenderContext_FieldInForm; if (ctx.ControlMode === SPClientTemplates.ClientControlMode.EditForm || ctx.ControlMode === SPClientTemplates.ClientControlMode.NewForm) { const targetControl = CSR.getControl(schema as SPClientTemplates.FieldSchema_InForm); @@ -1165,8 +1170,8 @@ namespace CSR { setInitialValue(fieldName: string, value: any, ignoreNull?: boolean): CSR { if (value || !ignoreNull) { - return this.onPreRenderField(fieldName, (schema, ctx: SPClientTemplates.RenderContext_FieldInForm) => { - ctx.ListData.Items[0][fieldName] = value; + return this.onPreRenderField(fieldName, (schema, ctx) => { + (ctx as SPClientTemplates.RenderContext_FieldInForm).ListData.Items[0][fieldName] = value; }); } else { return this; @@ -1335,8 +1340,9 @@ namespace CSR { } lookupAddNew(fieldName: string, prompt: string, showDialog?: boolean, contentTypeId?: string): CSR { - return this.onPostRenderField(fieldName, - (schema: SPClientTemplates.FieldSchema_InForm_Lookup, ctx: SPClientTemplates.RenderContext_FieldInForm) => { + return this.onPostRenderField(fieldName, (postRenderSchema, postRenderContext) => { + let schema = postRenderSchema as SPClientTemplates.FieldSchema_InForm_Lookup; + let ctx = postRenderContext as SPClientTemplates.RenderContext_FieldInForm; let control: HTMLInputElement; if (ctx.ControlMode === SPClientTemplates.ClientControlMode.EditForm || ctx.ControlMode === SPClientTemplates.ClientControlMode.NewForm) @@ -2271,7 +2277,8 @@ namespace SampleReputation { SP.SOD.registerSod('typescripttemplates.ts', '/SPTypeScript/Extensions/typescripttemplates.js'); SP.SOD.executeFunc('typescripttemplates.ts', 'CSR', () => { CSR.override(10004, 1) - .onPreRender((ctx: MyList) => { + .onPreRender(preRenderContext => { + let ctx = preRenderContext as MyList; ctx.listId = ctx.listName.substring(1, 37); }) .header('<ul>') @@ -2287,7 +2294,8 @@ namespace SampleReputation { SP.SOD.notifyScriptLoadedAndExecuteWaitingJobs('likes.js'); } - function renderTemplate(ctx: MyList) { + function renderTemplate(renderContext: SPClientTemplates.RenderContext) { + let ctx = renderContext as MyList; const rows = ctx.ListData.Row; let result = ''; for (const row of rows) { diff --git a/types/webpack/webpack-tests.ts b/types/webpack/webpack-tests.ts index fe52321f79..09405f3271 100644 --- a/types/webpack/webpack-tests.ts +++ b/types/webpack/webpack-tests.ts @@ -631,7 +631,7 @@ configuration = { performance, }; -function loader(this: webpack.loader.LoaderContext, source: string, sourcemap: string): void { +function loader(this: webpack.loader.LoaderContext, source: string | Buffer, sourcemap: string | Buffer): void { this.cacheable(); this.async(); From e54b30fafcb1444325778d198123966bcde8e589 Mon Sep 17 00:00:00 2001 From: Steven <steven@ceriously.com> Date: Tue, 3 Oct 2017 06:08:01 +0700 Subject: [PATCH 090/433] react-dom: Upgrade to v16.0.0 (#20065) * Add hydrate method * Add hydrate to react-dom-tests.ts * Fix whitespace * Create shared interface for `render` and `hydrate` * Add renderToNodeStream and renderToStaticNodeStream methods in ReactDomServer * Add proper nodejs.readablestream * Add react-dom v15 for backwards compatibility * Add proper baseUrl for react-dom/v15 * Change react test _interval type to NodeJS.Timer * Export the renderer interface * Change react/v15 to use NodeJS.Timer --- types/react-dom/index.d.ts | 61 ++--- types/react-dom/react-dom-tests.ts | 5 + types/react-dom/server/index.d.ts | 17 ++ types/react-dom/v15/index.d.ts | 70 ++++++ types/react-dom/v15/node-stream/index.d.ts | 18 ++ types/react-dom/v15/react-dom-tests.ts | 155 ++++++++++++ types/react-dom/v15/server/index.d.ts | 24 ++ types/react-dom/v15/test-utils/index.d.ts | 276 +++++++++++++++++++++ types/react-dom/v15/tsconfig.json | 34 +++ types/react-dom/v15/tslint.json | 9 + types/react/test/index.ts | 2 +- types/react/v15/test/index.ts | 2 +- 12 files changed, 642 insertions(+), 31 deletions(-) create mode 100644 types/react-dom/v15/index.d.ts create mode 100644 types/react-dom/v15/node-stream/index.d.ts create mode 100644 types/react-dom/v15/react-dom-tests.ts create mode 100644 types/react-dom/v15/server/index.d.ts create mode 100644 types/react-dom/v15/test-utils/index.d.ts create mode 100644 types/react-dom/v15/tsconfig.json create mode 100644 types/react-dom/v15/tslint.json diff --git a/types/react-dom/index.d.ts b/types/react-dom/index.d.ts index 796314e19f..35e4b20550 100644 --- a/types/react-dom/index.d.ts +++ b/types/react-dom/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for React (react-dom) 15.5 +// Type definitions for React (react-dom) 16.0 // Project: http://facebook.github.io/react/ // Definitions by: Asana <https://asana.com> // AssureSign <http://www.assuresign.com> @@ -17,37 +17,11 @@ import { export function findDOMNode<E extends Element>(instance: ReactInstance): E; export function findDOMNode(instance: ReactInstance): Element; - -export function render<P extends DOMAttributes<T>, T extends Element>( - element: DOMElement<P, T>, - container: Element | null, - callback?: (element: T) => any -): T; -export function render<P>( - element: SFCElement<P>, - container: Element | null, - callback?: () => any -): void; -export function render<P, T extends Component<P, ComponentState>>( - element: CElement<P, T>, - container: Element | null, - callback?: (component: T) => any -): T; -export function render<P>( - element: ReactElement<P>, - container: Element | null, - callback?: (component?: Component<P, ComponentState> | Element) => any -): Component<P, ComponentState> | Element | void; -export function render<P>( - parentComponent: Component<any>, - element: SFCElement<P>, - container: Element, - callback?: () => any -): void; - export function unmountComponentAtNode(container: Element): boolean; export const version: string; +export const render: Renderer; +export const hydrate: Renderer; export function unstable_batchedUpdates<A, B>(callback: (a: A, b: B) => any, a: A, b: B): void; export function unstable_batchedUpdates<A>(callback: (a: A) => any, a: A): void; @@ -68,3 +42,32 @@ export function unstable_renderSubtreeIntoContainer<P>( element: ReactElement<P>, container: Element, callback?: (component?: Component<P, ComponentState> | Element) => any): Component<P, ComponentState> | Element | void; + +export interface Renderer { + <P extends DOMAttributes<T>, T extends Element>( + element: DOMElement<P, T>, + container: Element | null, + callback?: (element: T) => any + ): T; + <P>( + element: SFCElement<P>, + container: Element | null, + callback?: () => any + ): void; + <P, T extends Component<P, ComponentState>>( + element: CElement<P, T>, + container: Element | null, + callback?: (component: T) => any + ): T; + <P>( + element: ReactElement<P>, + container: Element | null, + callback?: (component?: Component<P, ComponentState> | Element) => any + ): Component<P, ComponentState> | Element | void; + <P>( + parentComponent: Component<any>, + element: SFCElement<P>, + container: Element, + callback?: () => any + ): void; +} diff --git a/types/react-dom/react-dom-tests.ts b/types/react-dom/react-dom-tests.ts index 865d74e386..08eac7afdb 100644 --- a/types/react-dom/react-dom-tests.ts +++ b/types/react-dom/react-dom-tests.ts @@ -15,6 +15,11 @@ describe('ReactDOM', () => { ReactDOM.render(React.createElement('div'), rootElement); }); + it('hydrate', () => { + const rootElement = document.createElement('div'); + ReactDOM.hydrate(React.createElement('div'), rootElement); + }); + it('unmounts', () => { const rootElement = document.createElement('div'); ReactDOM.render(React.createElement('div'), rootElement); diff --git a/types/react-dom/server/index.d.ts b/types/react-dom/server/index.d.ts index 7d45ecbeee..53bbca7250 100644 --- a/types/react-dom/server/index.d.ts +++ b/types/react-dom/server/index.d.ts @@ -1,3 +1,5 @@ +/// <reference types="node" /> + import { ReactElement } from 'react'; /** @@ -12,6 +14,13 @@ import { ReactElement } from 'react'; */ export function renderToString(element: ReactElement<any>): string; +/** + * Render a React element to its initial HTML. Returns a Readable stream that outputs + * an HTML string. The HTML output by this stream is exactly equal to what + * `ReactDOMServer.renderToString()` would return. + */ +export function renderToNodeStream(element: ReactElement<any>): NodeJS.ReadableStream; + /** * Similar to `renderToString`, except this doesn't create extra DOM attributes * such as `data-reactid`, that React uses internally. This is useful if you want @@ -19,6 +28,14 @@ export function renderToString(element: ReactElement<any>): string; * attributes can save lots of bytes. */ export function renderToStaticMarkup(element: ReactElement<any>): string; + +/** + * Similar to `renderToNodeStream`, except this doesn't create extra DOM attributes + * such as `data-reactid`, that React uses internally. The HTML output by this stream + * is exactly equal to what `ReactDOMServer.renderToStaticMarkup()` would return. + */ +export function renderToStaticNodeStream(element: ReactElement<any>): NodeJS.ReadableStream; + export const version: string; export as namespace ReactDOMServer; diff --git a/types/react-dom/v15/index.d.ts b/types/react-dom/v15/index.d.ts new file mode 100644 index 0000000000..796314e19f --- /dev/null +++ b/types/react-dom/v15/index.d.ts @@ -0,0 +1,70 @@ +// Type definitions for React (react-dom) 15.5 +// Project: http://facebook.github.io/react/ +// Definitions by: Asana <https://asana.com> +// AssureSign <http://www.assuresign.com> +// Microsoft <https://microsoft.com> +// MartynasZilinskas <https://github.com/MartynasZilinskas> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +export as namespace ReactDOM; + +import { + ReactInstance, Component, ComponentState, + ReactElement, SFCElement, CElement, + DOMAttributes, DOMElement +} from 'react'; + +export function findDOMNode<E extends Element>(instance: ReactInstance): E; +export function findDOMNode(instance: ReactInstance): Element; + +export function render<P extends DOMAttributes<T>, T extends Element>( + element: DOMElement<P, T>, + container: Element | null, + callback?: (element: T) => any +): T; +export function render<P>( + element: SFCElement<P>, + container: Element | null, + callback?: () => any +): void; +export function render<P, T extends Component<P, ComponentState>>( + element: CElement<P, T>, + container: Element | null, + callback?: (component: T) => any +): T; +export function render<P>( + element: ReactElement<P>, + container: Element | null, + callback?: (component?: Component<P, ComponentState> | Element) => any +): Component<P, ComponentState> | Element | void; +export function render<P>( + parentComponent: Component<any>, + element: SFCElement<P>, + container: Element, + callback?: () => any +): void; + +export function unmountComponentAtNode(container: Element): boolean; + +export const version: string; + +export function unstable_batchedUpdates<A, B>(callback: (a: A, b: B) => any, a: A, b: B): void; +export function unstable_batchedUpdates<A>(callback: (a: A) => any, a: A): void; +export function unstable_batchedUpdates(callback: () => any): void; + +export function unstable_renderSubtreeIntoContainer<P extends DOMAttributes<T>, T extends Element>( + parentComponent: Component<any>, + element: DOMElement<P, T>, + container: Element, + callback?: (element: T) => any): T; +export function unstable_renderSubtreeIntoContainer<P, T extends Component<P, ComponentState>>( + parentComponent: Component<any>, + element: CElement<P, T>, + container: Element, + callback?: (component: T) => any): T; +export function unstable_renderSubtreeIntoContainer<P>( + parentComponent: Component<any>, + element: ReactElement<P>, + container: Element, + callback?: (component?: Component<P, ComponentState> | Element) => any): Component<P, ComponentState> | Element | void; diff --git a/types/react-dom/v15/node-stream/index.d.ts b/types/react-dom/v15/node-stream/index.d.ts new file mode 100644 index 0000000000..ff24c8a939 --- /dev/null +++ b/types/react-dom/v15/node-stream/index.d.ts @@ -0,0 +1,18 @@ +import { ReactElement } from 'react'; + +/** + * Render a ReactElement to its initial HTML. This should only be used on the + * server. + * See https://facebook.github.io/react/docs/react-dom-stream.html#rendertostream + */ +export function renderToStream(element: ReactElement<any>): any; + +/** + * Similar to renderToStream, except this doesn't create extra DOM attributes + * such as data-react-id that React uses internally. + * See https://facebook.github.io/react/docs/react-dom-stream.html#rendertostaticstream + */ +export function renderToStaticStream(element: ReactElement<any>): any; +export const version: string; + +export as namespace ReactDOMNodeStream; diff --git a/types/react-dom/v15/react-dom-tests.ts b/types/react-dom/v15/react-dom-tests.ts new file mode 100644 index 0000000000..865d74e386 --- /dev/null +++ b/types/react-dom/v15/react-dom-tests.ts @@ -0,0 +1,155 @@ +import * as React from 'react'; +import * as ReactDOM from 'react-dom'; +import * as ReactDOMServer from 'react-dom/server'; +import * as ReactDOMNodeStream from 'react-dom/node-stream'; +import * as ReactTestUtils from 'react-dom/test-utils'; + +declare function describe(desc: string, f: () => void): void; +declare function it(desc: string, f: () => void): void; + +class TestComponent extends React.Component { } + +describe('ReactDOM', () => { + it('render', () => { + const rootElement = document.createElement('div'); + ReactDOM.render(React.createElement('div'), rootElement); + }); + + it('unmounts', () => { + const rootElement = document.createElement('div'); + ReactDOM.render(React.createElement('div'), rootElement); + ReactDOM.unmountComponentAtNode(rootElement); + }); + + it('find dom node', () => { + const rootElement = document.createElement('div'); + ReactDOM.render(React.createElement('div'), rootElement); + ReactDOM.findDOMNode(rootElement); + }); +}); + +describe('ReactDOMServer', () => { + it('renderToString', () => { + const content: string = ReactDOMServer.renderToString(React.createElement('div')); + }); + + it('renderToStaticMarkup', () => { + const content: string = ReactDOMServer.renderToStaticMarkup(React.createElement('div')); + }); +}); + +describe('ReactDOMNodeStream', () => { + it('renderToStream', () => { + const content: any = ReactDOMNodeStream.renderToStream(React.createElement('div')); + }); + + it('renderToStaticStream', () => { + const content: any = ReactDOMNodeStream.renderToStaticStream(React.createElement('div')); + }); +}); + +describe('React dom test utils', () => { + it('Simulate', () => { + const element = document.createElement('div'); + const dom = ReactDOM.render( + React.createElement('input', { type: 'text' }), + element + ) as Element; + const node = ReactDOM.findDOMNode(dom) as HTMLInputElement; + + node.value = 'giraffe'; + ReactTestUtils.Simulate.change(node); + ReactTestUtils.Simulate.keyDown(node, { key: "Enter", keyCode: 13, which: 13 }); + }); + + it('renderIntoDocument', () => { + const element = React.createElement('input', { type: 'text' }); + ReactTestUtils.renderIntoDocument(element); + }); + + it('mockComponent', () => { + ReactTestUtils.mockComponent(TestComponent, 'div'); + }); + + it('isElement', () => { + const element = React.createElement(TestComponent); + const isReactElement: boolean = ReactTestUtils.isElement(element); + }); + + it('isElementOfType', () => { + const element = React.createElement(TestComponent); + const isReactElement: boolean = ReactTestUtils.isElementOfType(element, TestComponent); + }); + + it('isDOMComponent', () => { + const element = React.createElement('div'); + const instance = ReactTestUtils.renderIntoDocument(element) as HTMLDivElement; + const isDOMElement: boolean = ReactTestUtils.isDOMComponent(instance); + }); + + it('isCompositeComponent', () => { + const element = React.createElement(TestComponent); + const instance: TestComponent = ReactTestUtils.renderIntoDocument(element); + const isCompositeComponent: boolean = ReactTestUtils.isCompositeComponent(instance); + }); + + it('isCompositeComponentWithType', () => { + const element = React.createElement(TestComponent); + const instance: TestComponent = ReactTestUtils.renderIntoDocument(element); + const isCompositeComponent: boolean = ReactTestUtils.isCompositeComponentWithType(instance, TestComponent); + }); + + it('findAllInRenderedTree', () => { + const component = ReactTestUtils.renderIntoDocument(React.createElement(TestComponent)); + ReactTestUtils.findAllInRenderedTree(component, (i: React.ReactInstance) => true); + }); + + it('scryRenderedDOMComponentsWithClass', () => { + const component = ReactTestUtils.renderIntoDocument(React.createElement(TestComponent)); + ReactTestUtils.scryRenderedDOMComponentsWithClass(component, 'class'); + }); + + it('findRenderedDOMComponentWithClass', () => { + const component = ReactTestUtils.renderIntoDocument(React.createElement(TestComponent)); + ReactTestUtils.findRenderedDOMComponentWithClass(component, 'class'); + }); + + it('scryRenderedDOMComponentsWithTag', () => { + const component = ReactTestUtils.renderIntoDocument(React.createElement(TestComponent)); + ReactTestUtils.scryRenderedDOMComponentsWithTag(component, 'div'); + }); + + it('findRenderedDOMComponentWithTag', () => { + const component = ReactTestUtils.renderIntoDocument(React.createElement(TestComponent)); + ReactTestUtils.findRenderedDOMComponentWithTag(component, 'tag'); + }); + + it('scryRenderedComponentsWithType', () => { + const component = ReactTestUtils.renderIntoDocument(React.createElement(TestComponent)); + ReactTestUtils.scryRenderedComponentsWithType(component, TestComponent); + }); + + it('findRenderedComponentWithType', () => { + const component = ReactTestUtils.renderIntoDocument(React.createElement(TestComponent)); + ReactTestUtils.findRenderedComponentWithType(component, TestComponent); + }); + + describe('Shallow Rendering', () => { + it('createRenderer', () => { + const component = React.createElement(TestComponent); + const shallowRenderer = ReactTestUtils.createRenderer(); + }); + + it('shallowRenderer.render', () => { + const component = React.createElement(TestComponent); + const shallowRenderer = ReactTestUtils.createRenderer(); + shallowRenderer.render(component); + }); + + it('shallowRenderer.getRenderOutput', () => { + const component = React.createElement(TestComponent); + const shallowRenderer = ReactTestUtils.createRenderer(); + shallowRenderer.getRenderOutput(); + }); + }); +}); diff --git a/types/react-dom/v15/server/index.d.ts b/types/react-dom/v15/server/index.d.ts new file mode 100644 index 0000000000..7d45ecbeee --- /dev/null +++ b/types/react-dom/v15/server/index.d.ts @@ -0,0 +1,24 @@ +import { ReactElement } from 'react'; + +/** + * Render a React element to its initial HTML. This should only be used on the server. + * React will return an HTML string. You can use this method to generate HTML on the server + * and send the markup down on the initial request for faster page loads and to allow search + * engines to crawl your pages for SEO purposes. + * + * If you call `ReactDOM.render()` on a node that already has this server-rendered markup, + * React will preserve it and only attach event handlers, allowing you + * to have a very performant first-load experience. + */ +export function renderToString(element: ReactElement<any>): string; + +/** + * Similar to `renderToString`, except this doesn't create extra DOM attributes + * such as `data-reactid`, that React uses internally. This is useful if you want + * to use React as a simple static page generator, as stripping away the extra + * attributes can save lots of bytes. + */ +export function renderToStaticMarkup(element: ReactElement<any>): string; +export const version: string; + +export as namespace ReactDOMServer; diff --git a/types/react-dom/v15/test-utils/index.d.ts b/types/react-dom/v15/test-utils/index.d.ts new file mode 100644 index 0000000000..05362460d4 --- /dev/null +++ b/types/react-dom/v15/test-utils/index.d.ts @@ -0,0 +1,276 @@ +import { + AbstractView, Component, ComponentClass, + ReactElement, ReactInstance, ClassType, + DOMElement, SFCElement, CElement, + ReactHTMLElement, DOMAttributes, SFC +} from 'react'; + +import * as ReactTestUtils from "."; + +export interface OptionalEventProperties { + bubbles?: boolean; + cancelable?: boolean; + currentTarget?: EventTarget; + defaultPrevented?: boolean; + eventPhase?: number; + isTrusted?: boolean; + nativeEvent?: Event; + preventDefault?(): void; + stopPropagation?(): void; + target?: EventTarget; + timeStamp?: Date; + type?: string; +} + +export interface SyntheticEventData extends OptionalEventProperties { + altKey?: boolean; + button?: number; + buttons?: number; + clientX?: number; + clientY?: number; + changedTouches?: TouchList; + charCode?: boolean; + clipboardData?: DataTransfer; + ctrlKey?: boolean; + deltaMode?: number; + deltaX?: number; + deltaY?: number; + deltaZ?: number; + detail?: number; + getModifierState?(key: string): boolean; + key?: string; + keyCode?: number; + locale?: string; + location?: number; + metaKey?: boolean; + pageX?: number; + pageY?: number; + relatedTarget?: EventTarget; + repeat?: boolean; + screenX?: number; + screenY?: number; + shiftKey?: boolean; + targetTouches?: TouchList; + touches?: TouchList; + view?: AbstractView; + which?: number; +} + +export type EventSimulator = (element: Element | Component<any>, eventData?: SyntheticEventData) => void; + +export interface MockedComponentClass { + new (): any; +} + +export interface ShallowRenderer { + /** + * After `shallowRenderer.render()` has been called, returns shallowly rendered output. + */ + getRenderOutput<E extends ReactElement<any>>(): E; + /** + * After `shallowRenderer.render()` has been called, returns shallowly rendered output. + */ + getRenderOutput(): ReactElement<any>; + /** + * Similar to `ReactDOM.render` but it doesn't require DOM and only renders a single level deep. + */ + render(element: ReactElement<any>, context?: any): void; + unmount(): void; +} + +/** + * Simulate an event dispatch on a DOM node with optional `eventData` event data. + * `Simulate` has a method for every event that React understands. + */ +export namespace Simulate { + const abort: EventSimulator; + const animationEnd: EventSimulator; + const animationIteration: EventSimulator; + const animationStart: EventSimulator; + const blur: EventSimulator; + const canPlay: EventSimulator; + const canPlayThrough: EventSimulator; + const change: EventSimulator; + const click: EventSimulator; + const compositionEnd: EventSimulator; + const compositionStart: EventSimulator; + const compositionUpdate: EventSimulator; + const contextMenu: EventSimulator; + const copy: EventSimulator; + const cut: EventSimulator; + const doubleClick: EventSimulator; + const drag: EventSimulator; + const dragEnd: EventSimulator; + const dragEnter: EventSimulator; + const dragExit: EventSimulator; + const dragLeave: EventSimulator; + const dragOver: EventSimulator; + const dragStart: EventSimulator; + const drop: EventSimulator; + const durationChange: EventSimulator; + const emptied: EventSimulator; + const encrypted: EventSimulator; + const ended: EventSimulator; + const error: EventSimulator; + const focus: EventSimulator; + const input: EventSimulator; + const invalid: EventSimulator; + const keyDown: EventSimulator; + const keyPress: EventSimulator; + const keyUp: EventSimulator; + const load: EventSimulator; + const loadStart: EventSimulator; + const loadedData: EventSimulator; + const loadedMetadata: EventSimulator; + const mouseDown: EventSimulator; + const mouseEnter: EventSimulator; + const mouseLeave: EventSimulator; + const mouseMove: EventSimulator; + const mouseOut: EventSimulator; + const mouseOver: EventSimulator; + const mouseUp: EventSimulator; + const paste: EventSimulator; + const pause: EventSimulator; + const play: EventSimulator; + const playing: EventSimulator; + const progress: EventSimulator; + const rateChange: EventSimulator; + const scroll: EventSimulator; + const seeked: EventSimulator; + const seeking: EventSimulator; + const select: EventSimulator; + const stalled: EventSimulator; + const submit: EventSimulator; + const suspend: EventSimulator; + const timeUpdate: EventSimulator; + const touchCancel: EventSimulator; + const touchEnd: EventSimulator; + const touchMove: EventSimulator; + const touchStart: EventSimulator; + const transitionEnd: EventSimulator; + const volumeChange: EventSimulator; + const waiting: EventSimulator; + const wheel: EventSimulator; +} + +/** + * Render a React element into a detached DOM node in the document. __This function requires a DOM__. + */ +export function renderIntoDocument<T extends Element>( + element: DOMElement<any, T>): T; +export function renderIntoDocument( + element: SFCElement<any>): void; +export function renderIntoDocument<T extends Component<any>>( + element: CElement<any, T>): T; +export function renderIntoDocument<P>( + element: ReactElement<P>): Component<P> | Element | void; + +/** + * Pass a mocked component module to this method to augment it with useful methods that allow it to + * be used as a dummy React component. Instead of rendering as usual, the component will become + * a simple `<div>` (or other tag if `mockTagName` is provided) containing any provided children. + */ +export function mockComponent( + mocked: MockedComponentClass, mockTagName?: string): typeof ReactTestUtils; + +/** + * Returns `true` if `element` is any React element. + */ +export function isElement(element: any): boolean; + +/** + * Returns `true` if `element` is a React element whose type is of a React `componentClass`. + */ +export function isElementOfType<T extends HTMLElement>( + element: ReactElement<any>, type: string): element is ReactHTMLElement<T>; +/** + * Returns `true` if `element` is a React element whose type is of a React `componentClass`. + */ +export function isElementOfType<P extends DOMAttributes<{}>, T extends Element>( + element: ReactElement<any>, type: string): element is DOMElement<P, T>; +/** + * Returns `true` if `element` is a React element whose type is of a React `componentClass`. + */ +export function isElementOfType<P>( + element: ReactElement<any>, type: SFC<P>): element is SFCElement<P>; +/** + * Returns `true` if `element` is a React element whose type is of a React `componentClass`. + */ +export function isElementOfType<P, T extends Component<P>, C extends ComponentClass<P>>( + element: ReactElement<any>, type: ClassType<P, T, C>): element is CElement<P, T>; + +/** + * Returns `true` if `instance` is a DOM component (such as a `<div>` or `<span>`). + */ +export function isDOMComponent(instance: ReactInstance): instance is Element; +/** + * Returns `true` if `instance` is a user-defined component, such as a class or a function. + */ +export function isCompositeComponent(instance: ReactInstance): instance is Component<any>; +/** + * Returns `true` if `instance` is a component whose type is of a React `componentClass`. + */ +export function isCompositeComponentWithType<T extends Component<any>, C extends ComponentClass<any>>( + instance: ReactInstance, type: ClassType<any, T, C>): boolean; + +/** + * Traverse all components in `tree` and accumulate all components where + * `test(component)` is `true`. This is not that useful on its own, but it's used + * as a primitive for other test utils. + */ +export function findAllInRenderedTree( + root: Component<any>, + fn: (i: ReactInstance) => boolean): ReactInstance[]; + +/** + * Finds all DOM elements of components in the rendered tree that are + * DOM components with the class name matching `className`. + */ +export function scryRenderedDOMComponentsWithClass( + root: Component<any>, + className: string): Element[]; +/** + * Like `scryRenderedDOMComponentsWithClass()` but expects there to be one result, + * and returns that one result, or throws exception if there is any other + * number of matches besides one. + */ +export function findRenderedDOMComponentWithClass( + root: Component<any>, + className: string): Element; + +/** + * Finds all DOM elements of components in the rendered tree that are + * DOM components with the tag name matching `tagName`. + */ +export function scryRenderedDOMComponentsWithTag( + root: Component<any>, + tagName: string): Element[]; +/** + * Like `scryRenderedDOMComponentsWithTag()` but expects there to be one result, + * and returns that one result, or throws exception if there is any other + * number of matches besides one. + */ +export function findRenderedDOMComponentWithTag( + root: Component<any>, + tagName: string): Element; + +/** + * Finds all instances of components with type equal to `componentClass`. + */ +export function scryRenderedComponentsWithType<T extends Component, C extends ComponentClass>( + root: Component<any>, + type: ClassType<any, T, C>): T[]; + +/** + * Same as `scryRenderedComponentsWithType()` but expects there to be one result + * and returns that one result, or throws exception if there is any other + * number of matches besides one. + */ +export function findRenderedComponentWithType<T extends Component, C extends ComponentClass>( + root: Component<any>, + type: ClassType<any, T, C>): T; + +/** + * Call this in your tests to create a shallow renderer. + */ +export function createRenderer(): ShallowRenderer; diff --git a/types/react-dom/v15/tsconfig.json b/types/react-dom/v15/tsconfig.json new file mode 100644 index 0000000000..6cba48934f --- /dev/null +++ b/types/react-dom/v15/tsconfig.json @@ -0,0 +1,34 @@ +{ + "files": [ + "index.d.ts", + "react-dom-tests.ts", + "server/index.d.ts", + "node-stream/index.d.ts", + "test-utils/index.d.ts" + ], + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "paths": { + "react": [ + "react/v15" + ], + "react-dom": [ + "react-dom/v15" + ] + }, + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "baseUrl": "../../", + "typeRoots": [ + "../../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + } +} diff --git a/types/react-dom/v15/tslint.json b/types/react-dom/v15/tslint.json new file mode 100644 index 0000000000..8179a3659a --- /dev/null +++ b/types/react-dom/v15/tslint.json @@ -0,0 +1,9 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + // TODOs + "dt-header": false, + "no-unnecessary-generics": false, + "no-unnecessary-type-assertion": false + } +} \ No newline at end of file diff --git a/types/react/test/index.ts b/types/react/test/index.ts index f2ce7db821..a798863cd4 100644 --- a/types/react/test/index.ts +++ b/types/react/test/index.ts @@ -496,7 +496,7 @@ class Timer extends React.Component<{}, TimerState> { state = { secondsElapsed: 0 }; - private _interval: number; + private _interval: NodeJS.Timer; tick() { this.setState((prevState, props) => ({ secondsElapsed: prevState.secondsElapsed + 1 diff --git a/types/react/v15/test/index.ts b/types/react/v15/test/index.ts index b76e541849..a7a4c97ba4 100644 --- a/types/react/v15/test/index.ts +++ b/types/react/v15/test/index.ts @@ -498,7 +498,7 @@ class Timer extends React.Component<{}, TimerState> { state = { secondsElapsed: 0 }; - private _interval: number; + private _interval: NodeJS.Timer; tick() { this.setState((prevState, props) => ({ secondsElapsed: prevState.secondsElapsed + 1 From 5235261b564d79130c6e964ff8521916f378b6b5 Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Mon, 2 Oct 2017 16:19:47 -0700 Subject: [PATCH 091/433] baidumap-web-sdk: Add tsconfig options required by dtslint (#20208) --- types/baidumap-web-sdk/tsconfig.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/baidumap-web-sdk/tsconfig.json b/types/baidumap-web-sdk/tsconfig.json index 6af444e434..7b0c7c4913 100644 --- a/types/baidumap-web-sdk/tsconfig.json +++ b/types/baidumap-web-sdk/tsconfig.json @@ -8,6 +8,11 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, From 958ccb60c6528d0fb4c4ebe740d85050eec63060 Mon Sep 17 00:00:00 2001 From: Max Battcher <me@worldmaker.net> Date: Mon, 2 Oct 2017 23:40:05 -0400 Subject: [PATCH 092/433] Simplify PouchDB Attachments interfaces (#20213) Make a cleaner separation between Stub attachments and non-Stub attachments (here called FullAttachment). New Attachment is then the union type of StubAttachment and FullAttachment. Renamed the previous Attachment to AttachmentData to better reflect what's it purpose is. (Would love to make it more generic, but there's not a great way to key off of `{ attachment: true, binary: true }` in the options stacks right now.) Remove PutAttachment because it now better handled by FullAttachment. Furthermore, you can db.put StubAttachments when round-tripping documents, so PutAttachment was too strict. Added simple round-trip tests to avoid that strictness problem moving forward. --- types/pouchdb-core/index.d.ts | 62 ++++++++++++++++-------- types/pouchdb-core/pouchdb-core-tests.ts | 20 ++++++++ 2 files changed, 62 insertions(+), 20 deletions(-) diff --git a/types/pouchdb-core/index.d.ts b/types/pouchdb-core/index.d.ts index bc5cb66ce9..4314644b58 100644 --- a/types/pouchdb-core/index.d.ts +++ b/types/pouchdb-core/index.d.ts @@ -107,7 +107,7 @@ declare namespace PouchDB { type AttachmentId = string; type RevisionId = string; type Availability = 'available' | 'compacted' | 'not compacted' | 'missing'; - type Attachment = string | Blob | Buffer; + type AttachmentData = string | Blob | Buffer; interface Options { ajax?: Configuration.RemoteRequesterConfiguration; @@ -178,28 +178,55 @@ declare namespace PouchDB { _attachments?: Attachments; } - interface AttachmentResponse { + /** + * Stub attachments are returned by PouchDB by default (attachments option set to false) + */ + interface StubAttachment { + /** + * Mime type of the attachment + */ content_type: string; - /** MD5 hash, starts with "md5-" prefix */ + /** + * Database digest of the attachment + */ digest: string; - /** Only present if `attachments` was `false`. */ - stub?: boolean; + /** + * Attachment is a stub + */ + stub: true; - /** Only present if `attachments` was `false`. */ - length?: number; + /** + * Length of the attachment + */ + length: number; + } + + /** + * Full attachments are used to create new attachments or returned when the attachments option + * is true. + */ + interface FullAttachment { + /** + * Mime type of the attachment + */ + content_type: string; + + /** MD5 hash, starts with "md5-" prefix; populated by PouchDB for new attachments */ + digest?: string; /** - * Only present if `attachments` was `true`. * {string} if `binary` was `false` * {Blob|Buffer} if `binary` was `true` */ - data?: Attachment; + data: AttachmentData; } + type Attachment = StubAttachment | FullAttachment; + interface Attachments { - [attachmentId: string]: AttachmentResponse; + [attachmentId: string]: Attachment; } type NewDocument<Content extends {}> = Content; @@ -217,18 +244,13 @@ declare namespace PouchDB { /** You can update an existing doc using _rev */ _rev?: RevisionId; - _attachments?: {[attachmentId: string]: PutAttachment}; + _attachments?: Attachments; }; type PutDocument<Content extends {}> = PostDocument<Content> & ChangesMeta & { _id?: DocumentId; }; - interface PutAttachment { - content_type: string; - data: Attachment; - } - interface AllDocsOptions extends Options { /** Include attachment data for each document. * @@ -725,7 +747,7 @@ declare namespace PouchDB { putAttachment(docId: Core.DocumentId, attachmentId: Core.AttachmentId, rev: Core.RevisionId, - attachment: Core.Attachment, + attachment: Core.AttachmentData, type: string, callback: Core.Callback<Core.Response>): void; @@ -737,7 +759,7 @@ declare namespace PouchDB { putAttachment(docId: Core.DocumentId, attachmentId: Core.AttachmentId, rev: Core.RevisionId, - attachment: Core.Attachment, + attachment: Core.AttachmentData, type: string): Promise<Core.Response>; /** @@ -747,7 +769,7 @@ declare namespace PouchDB { */ putAttachment(docId: Core.DocumentId, attachmentId: Core.AttachmentId, - attachment: Core.Attachment, + attachment: Core.AttachmentData, type: string, callback: Core.Callback<Core.Response>): void; @@ -758,7 +780,7 @@ declare namespace PouchDB { */ putAttachment(docId: Core.DocumentId, attachmentId: Core.AttachmentId, - attachment: Core.Attachment, + attachment: Core.AttachmentData, type: string): Promise<Core.Response>; /** Get attachment data */ diff --git a/types/pouchdb-core/pouchdb-core-tests.ts b/types/pouchdb-core/pouchdb-core-tests.ts index 95e98fb2ad..523eed7d04 100644 --- a/types/pouchdb-core/pouchdb-core-tests.ts +++ b/types/pouchdb-core/pouchdb-core-tests.ts @@ -122,6 +122,9 @@ function testBasics() { db.info((error, result) => { }); + // "Round-trippable": can put back a document from get + db.get('id').then(doc => db.put(doc)); + PouchDB.debug.enable('*'); } @@ -236,11 +239,28 @@ function heterogeneousGenericsDatabase(db: PouchDB.Database) { thud: boolean; } + // Attachment test + db.put<Cat>({ + _attachments: { + ['meme.gif']: { + content_type: 'image/gif', + data: new Blob(['fake example']) + } + }, + meow: 'roar' + }); + db.allDocs<Cat>({ startkey: 'cat/', endkey: 'cat/\uffff', include_docs: true }) .then(cats => { for (const row of cats.rows) { if (row.doc) { row.doc.meow; // $ExpectType string + + // Round-trip test + db.put(row.doc); + db.put<Cat>(row.doc); + // Generic strictness test + db.put<Boot>(row.doc); // $ExpectError } } }); From da85a3dad2bd0b32500c6741081c3378ffdad8b6 Mon Sep 17 00:00:00 2001 From: Syncfusion-JavaScript <packages@syncfusion.com> Date: Tue, 3 Oct 2017 09:40:01 +0530 Subject: [PATCH 093/433] lint error fixed --- types/ej.web.all/ej.web.all-tests.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/ej.web.all/ej.web.all-tests.ts b/types/ej.web.all/ej.web.all-tests.ts index 3090492136..d1d67be14c 100644 --- a/types/ej.web.all/ej.web.all-tests.ts +++ b/types/ej.web.all/ej.web.all-tests.ts @@ -1,3 +1,5 @@ +/* tslint:disable */ + module AccordionComponent { $(function () { var sample = new ej.Accordion($("#basicAccordion"), { From 5aa866fa83e5d173e7bfa542d6b135b089b09f51 Mon Sep 17 00:00:00 2001 From: Syncfusion-JavaScript <packages@syncfusion.com> Date: Tue, 3 Oct 2017 10:09:56 +0530 Subject: [PATCH 094/433] lint error has been fixed --- types/ej.web.all/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/ej.web.all/index.d.ts b/types/ej.web.all/index.d.ts index cccbf5887c..5388f56c4e 100644 --- a/types/ej.web.all/index.d.ts +++ b/types/ej.web.all/index.d.ts @@ -37,7 +37,7 @@ declare namespace ej { function createObject(nameSpace: string, value: any, initIn: any): JQuery; function createObject(element: any, eventEmitter: any, model: any): any; function setCulture(culture: string): void; - function getObject<T>(element: string, model: any): T; + function getObject(element: string, model: any): any; function getObject(nameSpace: string, fromdata?: any): any; function defineClass(className: string, constructor: any, proto: any, replace: boolean): any; function destroyWidgets(element: any): void; @@ -7732,7 +7732,7 @@ declare namespace ej { */ enableRTL?: boolean; - /** The CSS class name to display the favicon in the dialog header. In order to display favicon, you need to set showHeader as true since the favicon will be displayed in the dialog + /** The CSS class name to display the favicon in the dialog header. In order to display favicon, you need to set showHeader as true since the favicon will be displayed in the dialog * header. */ faviconCSS?: string; From b34259e076fb00d512854d544e30ea7e65aa0cac Mon Sep 17 00:00:00 2001 From: Nicolas Penin <nicolas.penin@dragon-angel.fr> Date: Tue, 3 Oct 2017 07:22:11 +0200 Subject: [PATCH 095/433] bumped version for @types publish script purpose --- types/sequencify/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/sequencify/index.d.ts b/types/sequencify/index.d.ts index 2755df8bce..526baa8f54 100644 --- a/types/sequencify/index.d.ts +++ b/types/sequencify/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for sequencify 0.0 +// Type definitions for sequencify 0.1 // Project: https://github.com/robrich/sequencify // Definitions by: Nicolas Penin <https://github.com/npenin> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped From a2051e765ccad32545d4d71e6ff762b3e81ff40c Mon Sep 17 00:00:00 2001 From: Syncfusion-JavaScript <packages@syncfusion.com> Date: Tue, 3 Oct 2017 11:47:20 +0530 Subject: [PATCH 096/433] 15.3.0.33 typing files committed --- types/ej.web.all/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/ej.web.all/index.d.ts b/types/ej.web.all/index.d.ts index 5388f56c4e..baabf659d3 100644 --- a/types/ej.web.all/index.d.ts +++ b/types/ej.web.all/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for ej.web.all 15.3 +// Type definitions for ej.web.all 15.3 // Project: http://help.syncfusion.com/js/typescript // Definitions by: Syncfusion <https://github.com/syncfusion> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -7732,7 +7732,7 @@ declare namespace ej { */ enableRTL?: boolean; - /** The CSS class name to display the favicon in the dialog header. In order to display favicon, you need to set showHeader as true since the favicon will be displayed in the dialog + /** The CSS class name to display the favicon in the dialog header. In order to display favicon, you need to set "showHeader" as true since the favicon will be displayed in the dialog * header. */ faviconCSS?: string; From 3a5f31a800bcad02333da2e636b41296adebbb40 Mon Sep 17 00:00:00 2001 From: Syncfusion-JavaScript <packages@syncfusion.com> Date: Tue, 3 Oct 2017 11:57:03 +0530 Subject: [PATCH 097/433] 15.3.0.33 Encoding issue fixed --- types/ej.web.all/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/ej.web.all/index.d.ts b/types/ej.web.all/index.d.ts index baabf659d3..6eba8db4e6 100644 --- a/types/ej.web.all/index.d.ts +++ b/types/ej.web.all/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for ej.web.all 15.3 +// Type definitions for ej.web.all 15.3 // Project: http://help.syncfusion.com/js/typescript // Definitions by: Syncfusion <https://github.com/syncfusion> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped From d41d242fd6c998ff64532a3b642e01ed72652d64 Mon Sep 17 00:00:00 2001 From: Syncfusion-JavaScript <packages@syncfusion.com> Date: Tue, 3 Oct 2017 12:07:20 +0530 Subject: [PATCH 098/433] EJ typing files committed. --- types/ej.web.all/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/ej.web.all/index.d.ts b/types/ej.web.all/index.d.ts index 6eba8db4e6..929a0bed1a 100644 --- a/types/ej.web.all/index.d.ts +++ b/types/ej.web.all/index.d.ts @@ -7732,7 +7732,7 @@ declare namespace ej { */ enableRTL?: boolean; - /** The CSS class name to display the favicon in the dialog header. In order to display favicon, you need to set "showHeader" as true since the favicon will be displayed in the dialog + /** The CSS class name to display the favicon in the dialog header. In order to display favicon, you need to set showHeader as true since the favicon will be displayed in the dialog * header. */ faviconCSS?: string; From 4e5266f12709c6aa45a4a3a9fbcc3f747c4fac62 Mon Sep 17 00:00:00 2001 From: Syncfusion-JavaScript <packages@syncfusion.com> Date: Tue, 3 Oct 2017 12:25:23 +0530 Subject: [PATCH 099/433] Typing file committed. --- types/ej.web.all/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/ej.web.all/index.d.ts b/types/ej.web.all/index.d.ts index 929a0bed1a..e9f83b680c 100644 --- a/types/ej.web.all/index.d.ts +++ b/types/ej.web.all/index.d.ts @@ -7732,7 +7732,7 @@ declare namespace ej { */ enableRTL?: boolean; - /** The CSS class name to display the favicon in the dialog header. In order to display favicon, you need to set showHeader as true since the favicon will be displayed in the dialog + /** The CSS class name to display the favicon in the dialog header. In order to display favicon, you need to set 'showHeader' as true since the favicon will be displayed in the dialog * header. */ faviconCSS?: string; From 33844ff8a59bc8e5dcebe786a1e98f310900bbcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Tr=C3=A9ny?= <simon.treny@gmail.com> Date: Tue, 3 Oct 2017 09:59:31 +0200 Subject: [PATCH 100/433] Fix type of NativeSyntheticEvent.timeStamp --- types/react-native/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 16abbe3f6b..1f777fde22 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -365,7 +365,7 @@ interface NativeSyntheticEvent<T> { preventDefault(): void stopPropagation(): void target: NodeHandle - timeStamp: Date + timeStamp: number type: string } From 56c69546ddb58147adca517ad4ffdbb9c9fde842 Mon Sep 17 00:00:00 2001 From: Andy Hanson <anhans@microsoft.com> Date: Tue, 3 Oct 2017 07:28:01 -0700 Subject: [PATCH 101/433] angular: Fix tests --- types/angular/test/jquery3-merging-tests.ts | 166 ++++++++++---------- types/angular/tslint.json | 1 + 2 files changed, 85 insertions(+), 82 deletions(-) diff --git a/types/angular/test/jquery3-merging-tests.ts b/types/angular/test/jquery3-merging-tests.ts index 510519466b..507c58b67e 100644 --- a/types/angular/test/jquery3-merging-tests.ts +++ b/types/angular/test/jquery3-merging-tests.ts @@ -1,9 +1,11 @@ import $ = require('jquery'); import * as angular from 'angular'; +// Fix TODOs once https://github.com/Microsoft/TypeScript/issues/18910 is fixed + function JQuery() { function indexSignature() { - $('p')[0]; // $ExpectType HTMLElement + $('p')[0]; // TODO: $ExpectType HTMLElement } function addClass() { @@ -12,7 +14,7 @@ function JQuery() { // $ExpectType JQuery<HTMLElement> $('p').addClass(function(index, currentClassName) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; // $ExpectType number index; @@ -35,7 +37,7 @@ function JQuery() { // $ExpectType JQuery<HTMLElement> $('#greatphoto').attr('alt', function(index, attr) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; // $ExpectType number index; @@ -47,7 +49,7 @@ function JQuery() { // $ExpectType JQuery<HTMLElement> $('#greatphoto').attr('width', function(index, attr) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; // $ExpectType number index; @@ -59,7 +61,7 @@ function JQuery() { // $ExpectType JQuery<HTMLElement> $('#greatphoto').attr('title', function(index, attr) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; // $ExpectType number index; @@ -69,7 +71,7 @@ function JQuery() { // $ExpectType JQuery<HTMLElement> $('#greatphoto').attr('title', function(index, attr) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; // $ExpectType number index; @@ -96,9 +98,9 @@ function JQuery() { // $ExpectType JQuery<HTMLElement> $('p').bind('myEvent', 'myData', function(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, string> + // TODO: $ExpectType Event<HTMLElement, string> event; }); @@ -106,15 +108,15 @@ function JQuery() { $('p').bind('myEvent', 'myData', function(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, string> + // TODO: $ExpectType Event<HTMLElement, string> event; }); // $ExpectType JQuery<HTMLElement> $('p').bind('myEvent', function(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, null> + // TODO: $ExpectType Event<HTMLElement, null> event; }); @@ -122,7 +124,7 @@ function JQuery() { $('p').bind('myEvent', function(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, null> + // TODO: $ExpectType Event<HTMLElement, null> event; }); @@ -133,15 +135,15 @@ function JQuery() { $('p').bind({ myEvent1: false, myEvent2(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, null> + // TODO: $ExpectType Event<HTMLElement, null> event; }, myEvent3(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, null> + // TODO: $ExpectType Event<HTMLElement, null> event; } }); @@ -162,13 +164,13 @@ function JQuery() { } function off() { - function defaultContext_defaultData(this: HTMLElement, event: JQuery.Event<HTMLElement>) { } + function defaultContext_defaultData(this: HTMLElement, event: JQueryEventObject) { } - function defaultContext_customData(this: HTMLElement, event: JQuery.Event<HTMLElement, string>) { } + function defaultContext_customData(this: HTMLElement, event: JQueryEventObject) { } - function customContext_defaultData(this: I1, event: JQuery.Event<HTMLElement>) { } + function customContext_defaultData(this: I1, event: JQueryEventObject) { } - function customContext_customData(this: I1, event: JQuery.Event<HTMLElement, string>) { } + function customContext_customData(this: I1, event: JQueryEventObject) { } interface I1 { kind: 'I1'; } @@ -238,9 +240,9 @@ function JQuery() { // $ExpectType JQuery<HTMLElement> $('table').on('myEvent', 'td', 'myData', function(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, string> + // TODO: $ExpectType Event<HTMLElement, string> event; }); @@ -248,15 +250,15 @@ function JQuery() { $('table').on('myEvent', 'td', 'myData', function(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, string> + // TODO: $ExpectType Event<HTMLElement, string> event; }); // $ExpectType JQuery<HTMLElement> $('table').on('myEvent', null, 'myData', function(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, string> + // TODO: $ExpectType Event<HTMLElement, string> event; }); @@ -264,15 +266,15 @@ function JQuery() { $('table').on('myEvent', null, 'myData', function(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, string> + // TODO: $ExpectType Event<HTMLElement, string> event; }); // $ExpectType JQuery<HTMLElement> $('table').on('myEvent', 'td', function(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, null> + // TODO: $ExpectType Event<HTMLElement, null> event; }); @@ -280,7 +282,7 @@ function JQuery() { $('table').on('myEvent', 'td', function(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, null> + // TODO: $ExpectType Event<HTMLElement, null> event; }); @@ -289,9 +291,9 @@ function JQuery() { // $ExpectType JQuery<HTMLElement> $('table').on('myEvent', 3, function(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, number> + // TODO: $ExpectType Event<HTMLElement, number> event; }); @@ -299,15 +301,15 @@ function JQuery() { $('table').on('myEvent', 3, function(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, number> + // TODO: $ExpectType Event<HTMLElement, number> event; }); // $ExpectType JQuery<HTMLElement> $('table').on('myEvent', function(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, null> + // TODO: $ExpectType Event<HTMLElement, null> event; }); @@ -315,7 +317,7 @@ function JQuery() { $('table').on('myEvent', function(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, null> + // TODO: $ExpectType Event<HTMLElement, null> event; }); @@ -326,15 +328,15 @@ function JQuery() { $('table').on({ myEvent1: false, myEvent2(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, string> + // TODO: $ExpectType Event<HTMLElement, string> event; }, myEvent3(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, string> + // TODO: $ExpectType Event<HTMLElement, string> event; } }, 'td', 'myData'); @@ -343,15 +345,15 @@ function JQuery() { $('table').on({ myEvent1: false, myEvent2(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, string> + // TODO: $ExpectType Event<HTMLElement, string> event; }, myEvent3(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, string> + // TODO: $ExpectType Event<HTMLElement, string> event; } }, null, 'myData'); @@ -360,15 +362,15 @@ function JQuery() { $('table').on({ myEvent1: false, myEvent2(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, null> + // TODO: $ExpectType Event<HTMLElement, null> event; }, myEvent3(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, null> + // TODO: $ExpectType Event<HTMLElement, null> event; } }, 'td'); @@ -377,15 +379,15 @@ function JQuery() { $('table').on({ myEvent1: false, myEvent2(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, number> + // TODO: $ExpectType Event<HTMLElement, number> event; }, myEvent3(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, number> + // TODO: $ExpectType Event<HTMLElement, number> event; } }, 3); @@ -394,15 +396,15 @@ function JQuery() { $('table').on({ myEvent1: false, myEvent2(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, null> + // TODO: $ExpectType Event<HTMLElement, null> event; }, myEvent3(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, null> + // TODO: $ExpectType Event<HTMLElement, null> event; } }); @@ -413,9 +415,9 @@ function JQuery() { // $ExpectType JQuery<HTMLElement> $('table').one('myEvent', 'td', 'myData', function(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, string> + // TODO: $ExpectType Event<HTMLElement, string> event; }); @@ -423,15 +425,15 @@ function JQuery() { $('table').one('myEvent', 'td', 'myData', function(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, string> + // TODO: $ExpectType Event<HTMLElement, string> event; }); // $ExpectType JQuery<HTMLElement> $('table').one('myEvent', null, 'myData', function(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, string> + // TODO: $ExpectType Event<HTMLElement, string> event; }); @@ -439,15 +441,15 @@ function JQuery() { $('table').one('myEvent', null, 'myData', function(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, string> + // TODO: $ExpectType Event<HTMLElement, string> event; }); // $ExpectType JQuery<HTMLElement> $('table').one('myEvent', 'td', function(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, null> + // TODO: $ExpectType Event<HTMLElement, null> event; }); @@ -455,7 +457,7 @@ function JQuery() { $('table').one('myEvent', 'td', function(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, null> + // TODO: $ExpectType Event<HTMLElement, null> event; }); @@ -464,9 +466,9 @@ function JQuery() { // $ExpectType JQuery<HTMLElement> $('table').one('myEvent', 3, function(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, number> + // TODO: $ExpectType Event<HTMLElement, number> event; }); @@ -474,15 +476,15 @@ function JQuery() { $('table').one('myEvent', 3, function(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, number> + // TODO: $ExpectType Event<HTMLElement, number> event; }); // $ExpectType JQuery<HTMLElement> $('table').one('myEvent', function(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, null> + // TODO: $ExpectType Event<HTMLElement, null> event; }); @@ -490,7 +492,7 @@ function JQuery() { $('table').one('myEvent', function(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, null> + // TODO: $ExpectType Event<HTMLElement, null> event; }); @@ -501,15 +503,15 @@ function JQuery() { $('table').one({ myEvent1: false, myEvent2(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, string> + // TODO: $ExpectType Event<HTMLElement, string> event; }, myEvent3(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, string> + // TODO: $ExpectType Event<HTMLElement, string> event; } }, 'td', 'myData'); @@ -518,15 +520,15 @@ function JQuery() { $('table').one({ myEvent1: false, myEvent2(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, string> + // TODO: $ExpectType Event<HTMLElement, string> event; }, myEvent3(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, string> + // TODO: $ExpectType Event<HTMLElement, string> event; } }, null, 'myData'); @@ -535,15 +537,15 @@ function JQuery() { $('table').one({ myEvent1: false, myEvent2(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, null> + // TODO: $ExpectType Event<HTMLElement, null> event; }, myEvent3(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, null> + // TODO: $ExpectType Event<HTMLElement, null> event; } }, 'td'); @@ -552,15 +554,15 @@ function JQuery() { $('table').one({ myEvent1: false, myEvent2(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, number> + // TODO: $ExpectType Event<HTMLElement, number> event; }, myEvent3(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, number> + // TODO: $ExpectType Event<HTMLElement, number> event; } }, 3); @@ -569,15 +571,15 @@ function JQuery() { $('table').one({ myEvent1: false, myEvent2(event) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; - // $ExpectType Event<HTMLElement, null> + // TODO: $ExpectType Event<HTMLElement, null> event; }, myEvent3(this: I1, event) { // $ExpectType I1 this; - // $ExpectType Event<HTMLElement, null> + // TODO: $ExpectType Event<HTMLElement, null> event; } }); @@ -589,7 +591,7 @@ function JQuery() { // $ExpectType JQuery<HTMLElement> $('p').removeClass(function(index, currentClassName) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; // $ExpectType number index; @@ -609,7 +611,7 @@ function JQuery() { // $ExpectType JQuery<HTMLElement> $('p').toggleClass(function(index, className, state) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; // $ExpectType number index; @@ -626,7 +628,7 @@ function JQuery() { // $ExpectType JQuery<HTMLElement> $('p').toggleClass(function(index, className, state) { - // $ExpectType HTMLElement + // TODO: $ExpectType HTMLElement this; // $ExpectType number index; diff --git a/types/angular/tslint.json b/types/angular/tslint.json index 77b236700e..b0c1e9007a 100644 --- a/types/angular/tslint.json +++ b/types/angular/tslint.json @@ -14,6 +14,7 @@ "max-line-length": false, "no-empty-interface": false, "no-namespace": false, + "no-unnecessary-generics": false, "no-unnecessary-qualifier": false, "no-void-expression": false, "unified-signatures": false, From 1f042a85a8f8ff907443ce716b5c73521812fc35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Tr=C3=A9ny?= <simon.treny@gmail.com> Date: Tue, 3 Oct 2017 16:34:27 +0200 Subject: [PATCH 102/433] Add NativeScrollEvent.velocity --- types/react-native/index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 1f777fde22..fe2fdfd4d1 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -6398,6 +6398,11 @@ export interface NativeScrollPoint { y: number; } +export interface NativeScrollVelocity { + x: number; + y: number; +} + export interface NativeScrollSize { height: number; width: number; @@ -6408,6 +6413,7 @@ export interface NativeScrollEvent { contentOffset: NativeScrollPoint; contentSize: NativeScrollSize; layoutMeasurement: NativeScrollSize; + velocity: NativeScrollVelocity; zoomScale: number; } From 46f1650f0c07e928c1ba22c78030614073602951 Mon Sep 17 00:00:00 2001 From: rapmue <rapmue@gmail.com> Date: Tue, 3 Oct 2017 19:27:45 +0200 Subject: [PATCH 103/433] [auth0-js] Make options optional in authorize (#20107) Since everything in `AuthorizeOptions` is optional and in the docs they are using authorize from `WebAuth` without any options, it should be possible to leave them out. --- types/auth0-js/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/auth0-js/index.d.ts b/types/auth0-js/index.d.ts index 37914e887f..fa6d6d85bf 100644 --- a/types/auth0-js/index.d.ts +++ b/types/auth0-js/index.d.ts @@ -187,7 +187,7 @@ export class WebAuth { * * @param {AuthorizeOptions} options: https://auth0.com/docs/api/authentication#!#get--authorize_db */ - authorize(options: AuthorizeOptions): void; + authorize(options?: AuthorizeOptions): void; /** * Parse the url hash and extract the returned tokens depending on the transaction. From a380b0237920afec63c32901744f1a4c380c01c8 Mon Sep 17 00:00:00 2001 From: teroarvola <tero.arvola@hotmail.com> Date: Tue, 3 Oct 2017 20:28:13 +0300 Subject: [PATCH 104/433] Fixed erroneous property and return types in @types/sharepoint SocialPostCreationData (reference: https://msdn.microsoft.com/en-us/library/office/jj679685.aspx) (#20230) --- types/sharepoint/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/sharepoint/index.d.ts b/types/sharepoint/index.d.ts index 37d708ea4e..4c151aec4a 100644 --- a/types/sharepoint/index.d.ts +++ b/types/sharepoint/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for Microsoft SharePoint: 2013.1 // Project: https://msdn.microsoft.com/en-us/library/office/jj193034.aspx -// Definitions by: Stanislav Vyshchepan <http:// blog.gandjustas.ru>, Andrey Markeev <http:// markeev.com>, Vincent Biret <https://github.com/baywet> +// Definitions by: Stanislav Vyshchepan <http:// blog.gandjustas.ru>, Andrey Markeev <http:// markeev.com>, Vincent Biret <https://github.com/baywet>, Tero Arvola <https://github.com/teroarvola> // Definitions: https:// github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -6380,10 +6380,10 @@ declare namespace SP { set_attachment(value: SocialAttachment): SocialAttachment; /** Specifies an array consisting of social tags, user mentions, links to documents, links to sites, and generic links. Each element in the array is inserted into the ContentText string if there is a substitution reference to the array element in the string. */ - get_contentItems(): SocialDataItem; + get_contentItems(): SocialDataItem[]; /** Specifies an array consisting of social tags, user mentions, links to documents, links to sites, and generic links. Each element in the array is inserted into the ContentText string if there is a substitution reference to the array element in the string. */ - set_contentItems(value: SocialDataItem): SocialDataItem; + set_contentItems(value: SocialDataItem[]): SocialDataItem[]; /** Contains the text body of the post. */ get_contentText(): string; /** Contains the text body of the post. From 2ff4dff832042617a3653eceefb6fe95a546f3a4 Mon Sep 17 00:00:00 2001 From: rapmue <rapmue@gmail.com> Date: Tue, 3 Oct 2017 19:28:44 +0200 Subject: [PATCH 105/433] [aws-iot-device-sdk] combine multiple signatures (#20229) * [aws-iot-device-sdk] combine multiple signatures In order to use different signatures, I suggest to combine multiple functions to one, with the different parameter types as a list. * added a test Added a test for thingshadow subscribe. The test only covers the error which happened before when using a subscription with a string. --- types/aws-iot-device-sdk/aws-iot-device-sdk-tests.ts | 2 ++ types/aws-iot-device-sdk/index.d.ts | 10 +++------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/types/aws-iot-device-sdk/aws-iot-device-sdk-tests.ts b/types/aws-iot-device-sdk/aws-iot-device-sdk-tests.ts index 10eeed099d..bcb407c352 100644 --- a/types/aws-iot-device-sdk/aws-iot-device-sdk-tests.ts +++ b/types/aws-iot-device-sdk/aws-iot-device-sdk-tests.ts @@ -68,6 +68,8 @@ const thingShadows = new awsIot.thingShadow({ (err: Error, failedTopics: mqtt.Granted[]) => { } ); + thingShadows.subscribe("topic", {}, (error: any, granted: mqtt.Granted) => {}); + thingShadows.on("connect", function() { console.log("connected to AWS IoT"); }); diff --git a/types/aws-iot-device-sdk/index.d.ts b/types/aws-iot-device-sdk/index.d.ts index b165089f82..8d01f279eb 100644 --- a/types/aws-iot-device-sdk/index.d.ts +++ b/types/aws-iot-device-sdk/index.d.ts @@ -333,8 +333,7 @@ export class thingShadow extends NodeJS.EventEmitter { * @param options * @param callback */ - publish(topic: string, message: Buffer, options?: mqtt.ClientPublishOptions, callback?: Function): mqtt.Client; - publish(topic: string, message: string, options?: mqtt.ClientPublishOptions, callback?: Function): mqtt.Client; + publish(topic: string, message: Buffer | string, options?: mqtt.ClientPublishOptions, callback?: Function): mqtt.Client; /** * Subscribe to a topic or topics @@ -342,9 +341,7 @@ export class thingShadow extends NodeJS.EventEmitter { * @param the options to subscribe with * @param callback fired on suback */ - subscribe(topic: string, options?: mqtt.ClientSubscribeOptions, callback?: mqtt.ClientSubscribeCallback): mqtt.Client; - subscribe(topic: string[], options?: mqtt.ClientSubscribeOptions, callback?: mqtt.ClientSubscribeCallback): mqtt.Client; - subscribe(topic: mqtt.Topic, options?: mqtt.ClientSubscribeOptions, callback?: mqtt.ClientSubscribeCallback): mqtt.Client; + subscribe(topic: string | string[] | mqtt.Topic, options?: mqtt.ClientSubscribeOptions, callback?: mqtt.ClientSubscribeCallback): mqtt.Client; /** * Unsubscribe from a topic or topics @@ -353,8 +350,7 @@ export class thingShadow extends NodeJS.EventEmitter { * @param options * @param callback fired on unsuback */ - unsubscribe(topic: string, options?: mqtt.ClientSubscribeOptions, callback?: mqtt.ClientSubscribeCallback): mqtt.Client; - unsubscribe(topic: string[], options?: mqtt.ClientSubscribeOptions, callback?: mqtt.ClientSubscribeCallback): mqtt.Client; + unsubscribe(topic: string | string[], options?: mqtt.ClientSubscribeOptions, callback?: mqtt.ClientSubscribeCallback): mqtt.Client; /** * end - close connection From 42b2a4c53e516cb07ebe233c14b7b60c4cbc8e51 Mon Sep 17 00:00:00 2001 From: Alexey <gigi@users.noreply.github.com> Date: Tue, 3 Oct 2017 20:29:22 +0300 Subject: [PATCH 106/433] Added local and volatile flag for socket.io SocketIO.Server interface (#20199) --- types/socket.io/index.d.ts | 12 +++++++++++- types/socket.io/socket.io-tests.ts | 10 ++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/types/socket.io/index.d.ts b/types/socket.io/index.d.ts index 41863235ba..0d77110716 100644 --- a/types/socket.io/index.d.ts +++ b/types/socket.io/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for socket.io 1.4.4 // Project: http://socket.io/ -// Definitions by: PROGRE <https://github.com/progre>, Damian Connolly <https://github.com/divillysausages>, Florent Poujol <https://github.com/florentpoujol>, KentarouTakeda <https://github.com/KentarouTakeda> +// Definitions by: PROGRE <https://github.com/progre>, Damian Connolly <https://github.com/divillysausages>, Florent Poujol <https://github.com/florentpoujol>, KentarouTakeda <https://github.com/KentarouTakeda>, Alexey Snigirev <https://github.com/gigi> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped ///<reference types="node" /> @@ -64,6 +64,16 @@ declare namespace SocketIO { */ json: Server; + /** + * Sets a modifier for a subsequent event emission that the event data may be lost if the clients are not ready to receive messages + */ + volatile: Server; + + /** + * Sets a modifier for a subsequent event emission that the event data will only be broadcast to the current node + */ + local: Server; + /** * Server request verification function, that checks for allowed origins * @param req The http.IncomingMessage request diff --git a/types/socket.io/socket.io-tests.ts b/types/socket.io/socket.io-tests.ts index 23c4a6d996..cd0cecf6cf 100644 --- a/types/socket.io/socket.io-tests.ts +++ b/types/socket.io/socket.io-tests.ts @@ -170,3 +170,13 @@ function testClosingServerWithoutCallback() { var io = socketIO.listen(80); io.close(); } + +function testLocalServerMessages() { + var io = socketIO.listen(80); + io.local.emit('local', 'Local data'); +} + +function testVolatileServerMessages() { + var io = socketIO.listen(80); + io.volatile.emit('volatile', 'Lost data'); +} From 64ea75d1c8f38d6e63ddfb6be8ce55d90a009a89 Mon Sep 17 00:00:00 2001 From: kato takeshi <tkskto@users.noreply.github.com> Date: Wed, 4 Oct 2017 02:44:22 +0900 Subject: [PATCH 107/433] fixed arguments definitions of WorldUVGenerator's method in three-core (#20172) * fixed arguments of WorldUVGenerator's method * fixed type of arguments * added missing space. --- types/three/three-core.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index ae9e134c21..c2ef59d406 100644 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -6588,8 +6588,8 @@ export class ExtrudeGeometry extends Geometry { constructor(shapes?: Shape[], options?: any); static WorldUVGenerator: { - generateTopUV(geometry: Geometry, indexA: number, indexB: number, indexC: number): Vector2[]; - generateSideWallUV(geometry: Geometry, indexA: number, indexB: number, indexC: number, indexD: number): Vector2[]; + generateTopUV(geometry: Geometry, vertex: number[], indexA: number, indexB: number, indexC: number): Vector2[]; + generateSideWallUV(geometry: Geometry, vertex: number[], indexA: number, indexB: number, indexC: number, indexD: number): Vector2[]; }; addShapeList(shapes: Shape[], options?: any): void; From a204a9cb02b5b054f9f870cbe51090292ec4445c Mon Sep 17 00:00:00 2001 From: Marcos Seefelder de Assis Araujo <saa.marcos@gmail.com> Date: Tue, 3 Oct 2017 14:52:07 -0300 Subject: [PATCH 108/433] [types/three] Added missing definitions to three-core.d.ts Added multiply, premultiply and multiplyMatrices to Matrix3 class on three-core.d.ts. These were already present on Matrix4, just copied over and adapted code. --- types/three/three-core.d.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index c2ef59d406..3efd8afad2 100644 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -3625,6 +3625,18 @@ export class Matrix3 implements Matrix { transposeIntoArray(r: number[]): number[]; fromArray(array: number[], offset?: number): Matrix3; toArray(): number[]; + + /** + * Multiplies this matrix by m. + */ + multiply(m: Matrix3): Matrix3; + + premultiply(m: Matrix3): Matrix3; + + /** + * Sets this matrix to a x b. + */ + multiplyMatrices(a: Matrix3, b: Matrix3): Matrix3; /** * @deprecated From a6954cc0359f05c009fc805324dad27c0b22b573 Mon Sep 17 00:00:00 2001 From: Alexey Morozov <alexey.morozov@live.ru> Date: Tue, 3 Oct 2017 21:03:30 +0300 Subject: [PATCH 109/433] Add declarations for 'sparqljs' (#20226) --- types/sparqljs/index.d.ts | 247 +++++++++++++++++++++++++++++++ types/sparqljs/sparqljs-tests.ts | 124 ++++++++++++++++ types/sparqljs/tsconfig.json | 22 +++ types/sparqljs/tslint.json | 1 + 4 files changed, 394 insertions(+) create mode 100644 types/sparqljs/index.d.ts create mode 100644 types/sparqljs/sparqljs-tests.ts create mode 100644 types/sparqljs/tsconfig.json create mode 100644 types/sparqljs/tslint.json diff --git a/types/sparqljs/index.d.ts b/types/sparqljs/index.d.ts new file mode 100644 index 0000000000..4b63cf8a59 --- /dev/null +++ b/types/sparqljs/index.d.ts @@ -0,0 +1,247 @@ +// Type definitions for sparqljs 1.5 +// Project: https://github.com/RubenVerborgh/SPARQL.js +// Definitions by: Alexey Morozov <https://github.com/AlexeyMz> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 + +export const Parser: { + new ( + prefixes?: { [prefix: string]: string }, + baseIRI?: string, + options?: ParserOptions, + ): SparqlParser; +}; + +export const Generator: { + new (options?: GeneratorOptions): SparqlGenerator; +}; + +export interface ParserOptions { + /** @default true */ + collapseGroups?: boolean; +} + +export interface GeneratorOptions { + allPrefixes?: boolean; +} + +export interface SparqlParser { + parse(query: string): SparqlQuery; +} + +export interface SparqlGenerator { + stringify(query: SparqlQuery): string; +} + +export type SparqlQuery = Query | Update; + +export type Query = SelectQuery | ConstructQuery | AskQuery | DescribeQuery; + +export interface BaseQuery { + type: 'query'; + base?: string; + prefixes: { [prefix: string]: string; }; + where?: Pattern[]; + values?: ValuePatternRow[]; +} + +export interface SelectQuery extends BaseQuery { + queryType: 'SELECT'; + variables: Variable[] | ['*']; + distinct?: boolean; + from?: { + default: string[]; + named: string[]; + }; + reduced?: boolean; + group?: Grouping[]; + having?: Expression[]; + order?: Ordering[]; + limit?: number; + offset?: number; +} + +export interface Grouping { + expression: Expression; +} + +export interface Ordering { + expression: Expression; + descending?: boolean; +} + +export interface ConstructQuery extends BaseQuery { + queryType: 'CONSTRUCT'; + template?: Triple[]; +} + +export interface AskQuery extends BaseQuery { + queryType: 'ASK'; +} + +export interface DescribeQuery extends BaseQuery { + queryType: 'DESCRIBE'; + variables: Variable[] | ['*']; +} + +export interface Update { + type: 'update'; + prefixes: { [prefix: string]: string; }; + updates: UpdateOperation[]; +} + +export type UpdateOperation = InsertDeleteOperation | ManagementOperation; + +export interface InsertDeleteOperation { + updateType: 'insert' | 'delete' | 'deletewhere' | 'insertdelete'; + insert?: Quads[]; + delete?: Quads[]; + where?: Pattern[]; +} + +export type Quads = BgpPattern | GraphQuads; + +export interface ManagementOperation { + type: 'load' | 'copy' | 'move' | 'add'; + silent: boolean; + source: string | { + type: 'graph'; + default: boolean; + }; + destination?: string | { + type: 'graph'; + name: string; + }; +} + +/** + * Examples: '?var', '*', + * SELECT (?a as ?b) ... ==> { expression: '?a', variable: '?b' } + */ +export type Variable = VariableExpression | Term; + +export interface VariableExpression { + expression: Expression; + variable: Term; +} + +export type Pattern = + | BgpPattern + | BlockPattern + | GraphPattern + | ServicePattern + | FilterPattern + | BindPattern + | ValuesPattern + | SelectQuery; + +/** + * Basic Graph Pattern + */ +export interface BgpPattern { + type: 'bgp'; + triples: Triple[]; +} + +export interface GraphQuads { + type: 'graph'; + name: Term; + triples: Triple[]; +} + +export interface BlockPattern { + type: 'optional' | 'union' | 'group' | 'minus' | 'graph' | 'service'; + patterns: Pattern[]; +} + +export interface GroupPattern extends BlockPattern { + type: 'group'; +} + +export interface GraphPattern extends BlockPattern { + type: 'graph'; + name: Term; +} + +export interface ServicePattern extends BlockPattern { + type: 'service'; + name: Term; + silent: boolean; +} + +export interface FilterPattern { + type: 'filter'; + expression: Expression; +} + +export interface BindPattern { + type: 'bind'; + expression: Expression; + variable: Term; +} + +export interface ValuesPattern { + type: 'values'; + values: ValuePatternRow[]; +} + +export interface ValuePatternRow { + [variable: string]: Term; +} + +/** + * Either '?var', 'schema:iri', '_:blankNode', + * '"literal"^^<schema:datatype>' or '{undefined}'. + * + * Term is a nominal type based on string. + */ +export type Term = string & { __termBrand: string; }; + +export interface Triple { + subject: Term; + predicate: PropertyPath | Term; + object: Term; +} + +export interface PropertyPath { + type: 'path'; + pathType: '|' | '/' | '^' | '+' | '*' | '!'; + items: Array<PropertyPath | Term>; +} + +export type Expression = + | OperationExpression + | FunctionCallExpression + | AggregateExpression + | BgpPattern + | GroupPattern + | Tuple + | Term; + +// allow Expression circularly reference itself +// tslint:disable-next-line no-empty-interface +export interface Tuple extends Array<Expression> {} + +export interface BaseExpression { + type: string; + distinct?: boolean; +} + +export interface OperationExpression extends BaseExpression { + type: 'operation'; + operator: string; + args: Expression[]; +} + +export interface FunctionCallExpression extends BaseExpression { + type: 'functionCall'; + function: string; + args: Expression[]; +} + +export interface AggregateExpression extends BaseExpression { + type: 'aggregate'; + expression: Expression; + aggregation: string; + separator?: string; +} diff --git a/types/sparqljs/sparqljs-tests.ts b/types/sparqljs/sparqljs-tests.ts new file mode 100644 index 0000000000..b8c0e36109 --- /dev/null +++ b/types/sparqljs/sparqljs-tests.ts @@ -0,0 +1,124 @@ +import * as SparqlJs from 'sparqljs'; + +/** + * Examples from the project's README + */ +function officialExamples() { + // Parse a SPARQL query to a JSON object + const SparqlParser = SparqlJs.Parser; + const parser = new SparqlParser(); + const parsedQuery = parser.parse( + 'PREFIX foaf: <http://xmlns.com/foaf/0.1/> ' + + 'SELECT * { ?mickey foaf:name "Mickey Mouse"@en; foaf:knows ?other. }', + ); + + // Regenerate a SPARQL query from a JSON object + const SparqlGenerator = SparqlJs.Generator; + const generator = new SparqlGenerator(); + if (parsedQuery.type === 'query' && parsedQuery.queryType === 'SELECT') { + parsedQuery.variables = ['?mickey' as SparqlJs.Term]; + } + + // $ExpectType string + generator.stringify(parsedQuery); +} + +function advancedOptions() { + const parser = new SparqlJs.Parser( + {rdf: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'}, + 'http://example.com', + {collapseGroups: true} + ); + const generator = new SparqlJs.Generator({allPrefixes: false}); +} + +/** + * Basic query structure + */ +function basicQueries() { + const foo = 'example:foo' as SparqlJs.Term; + const bar = 'example:bar' as SparqlJs.Term; + const qux = 'example:qux' as SparqlJs.Term; + + const prefixes = {rdf: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'}; + + const bgpPattern: SparqlJs.BgpPattern = { + type: 'bgp', + triples: [ + {subject: foo, predicate: qux, object: bar}, + { + subject: foo, + predicate: { + type: 'path', + pathType: '|', + items: [qux, bar], + }, + object: bar, + } + ], + }; + + const select: SparqlJs.SelectQuery = { + type: 'query', + queryType: 'SELECT', + prefixes, + variables: ['*'], + distinct: true, + from: { + default: ['http://example.com/'], + named: ['http://example.com/foo', 'http://example.com/bar'], + }, + reduced: false, + group: [ + {expression: foo}, + {expression: bar}, + ], + having: [{ + type: 'functionCall', + function: 'isIRI', + args: [foo], + }], + order: [{ + expression: bar, + descending: true, + }], + limit: 100, + offset: 10, + where: [bgpPattern], + values: [ + {x: foo, y: bar}, + {x: foo}, + ] + }; + + const construct: SparqlJs.ConstructQuery = { + type: 'query', + queryType: 'CONSTRUCT', + base: 'http://example.com', + prefixes, + template: bgpPattern.triples, + }; + + const ask: SparqlJs.AskQuery = { + type: 'query', + queryType: 'ASK', + prefixes, + }; + + const describe: SparqlJs.DescribeQuery = { + type: 'query', + queryType: 'DESCRIBE', + prefixes, + variables: [ + foo, + { + variable: bar, + expression: { + type: 'operation', + operator: '+', + args: [foo, bar], + } + } + ], + }; +} diff --git a/types/sparqljs/tsconfig.json b/types/sparqljs/tsconfig.json new file mode 100644 index 0000000000..6b6ca5d9d3 --- /dev/null +++ b/types/sparqljs/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "sparqljs-tests.ts" + ] +} diff --git a/types/sparqljs/tslint.json b/types/sparqljs/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/sparqljs/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 1fcbed38d7c6fba044007b4d8c8fe9b5fa0c2336 Mon Sep 17 00:00:00 2001 From: Pasi Eronen <pe@iki.fi> Date: Tue, 3 Oct 2017 21:04:10 +0300 Subject: [PATCH 110/433] connect-pg-simple: add types (#20109) * connect-pg-simple: add types * connect-pg-simple: PGStoreOptions should be optional * connect-pg-simple: add close and pruneSessions methods * connect-pg-simple: use correct import form in tests --- .../connect-pg-simple-tests.ts | 44 +++++++++++++++++++ types/connect-pg-simple/index.d.ts | 33 ++++++++++++++ types/connect-pg-simple/tsconfig.json | 22 ++++++++++ types/connect-pg-simple/tslint.json | 1 + 4 files changed, 100 insertions(+) create mode 100644 types/connect-pg-simple/connect-pg-simple-tests.ts create mode 100644 types/connect-pg-simple/index.d.ts create mode 100644 types/connect-pg-simple/tsconfig.json create mode 100644 types/connect-pg-simple/tslint.json diff --git a/types/connect-pg-simple/connect-pg-simple-tests.ts b/types/connect-pg-simple/connect-pg-simple-tests.ts new file mode 100644 index 0000000000..1e90c9b4e5 --- /dev/null +++ b/types/connect-pg-simple/connect-pg-simple-tests.ts @@ -0,0 +1,44 @@ +import connectPgSimple = require("connect-pg-simple"); +import * as session from "express-session"; +import * as pg from "pg"; +import * as express from "express"; + +const pgSession = connectPgSimple(session); + +const pgPool = new pg.Pool({}); +const store1: session.Store = new pgSession({ + pool: pgPool, + tableName: "user_sessions", + pruneSessionInterval: 300 +}); + +const app = express(); +app.use(session({ + store: store1, + secret: "foo" +})); + +const store2: session.Store = new pgSession({ + conString: "postgres://postgres@localhost:5432/foo", + ttl: 3600, + schemaName: "someschema", + pruneSessionInterval: false, + errorLog: (...args) => console.error(...args) +}); + +const store3 = new pgSession({ + conObject: { + host: "localhost", + user: "database-user", + max: 20, + idleTimeoutMillis: 30000 + } +}); + +const store4 = new pgSession(); + +store4.close(); + +store4.pruneSessions(); + +store4.pruneSessions(err => console.log(err)); diff --git a/types/connect-pg-simple/index.d.ts b/types/connect-pg-simple/index.d.ts new file mode 100644 index 0000000000..2337eef86b --- /dev/null +++ b/types/connect-pg-simple/index.d.ts @@ -0,0 +1,33 @@ +// Type definitions for connect-pg-simple 4.2 +// Project: https://github.com/voxpelli/node-connect-pg-simple#readme +// Definitions by: Pasi Eronen <https://github.com/pasieronen> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.4 + +import { RequestHandler } from "express"; +import { Store, SessionOptions } from "express-session"; +import { Pool, PoolConfig } from "pg"; + +declare function connectPgSimple(session: (options?: SessionOptions) => RequestHandler): typeof connectPgSimple.PGStore; + +declare namespace connectPgSimple { + class PGStore extends Store { + constructor(options?: PGStoreOptions); + close(): void; + pruneSessions(callback?: (err: Error) => void): void; + } + interface PGStoreOptions { + pool?: Pool; + pgPromise?: object; // not typed to avoid dependency to "pg-promise" module (which includes its own types) + conString?: string; + conObject?: PoolConfig; + ttl?: number; + schemaName?: string; + tableName?: string; + pruneSessionInterval?: false | number; + // tslint:disable-next-line:prefer-method-signature + errorLog?: (...args: any[]) => void; + } +} + +export = connectPgSimple; diff --git a/types/connect-pg-simple/tsconfig.json b/types/connect-pg-simple/tsconfig.json new file mode 100644 index 0000000000..d192ede32f --- /dev/null +++ b/types/connect-pg-simple/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "connect-pg-simple-tests.ts" + ] +} diff --git a/types/connect-pg-simple/tslint.json b/types/connect-pg-simple/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/connect-pg-simple/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 66e7e2e2daf1fc4e30b6428ff8d361d0daf1c74a Mon Sep 17 00:00:00 2001 From: Leo Liang <leoliang@gmail.com> Date: Wed, 4 Oct 2017 02:06:35 +0800 Subject: [PATCH 111/433] Add typings for cls-hooked (#20154) * Add typings for cld-hooks * Rename NameSpace to Namespace --- types/cls-hooked/cls-hooked-tests.ts | 23 +++++++++++++++++++++++ types/cls-hooked/index.d.ts | 25 +++++++++++++++++++++++++ types/cls-hooked/tsconfig.json | 22 ++++++++++++++++++++++ types/cls-hooked/tslint.json | 1 + 4 files changed, 71 insertions(+) create mode 100644 types/cls-hooked/cls-hooked-tests.ts create mode 100644 types/cls-hooked/index.d.ts create mode 100644 types/cls-hooked/tsconfig.json create mode 100644 types/cls-hooked/tslint.json diff --git a/types/cls-hooked/cls-hooked-tests.ts b/types/cls-hooked/cls-hooked-tests.ts new file mode 100644 index 0000000000..affaa6c54a --- /dev/null +++ b/types/cls-hooked/cls-hooked-tests.ts @@ -0,0 +1,23 @@ +import * as http from 'http'; +import * as cls from 'cls-hooked'; + +const session = cls.createNamespace('my session'); +const user = { id: 'foo' }; +session.set('user', user); +session.run((value: number) => { + session.set('value', value); +}); +http.createServer((req, res) => { + session.bindEmitter(req); + session.bindEmitter(res); +}); +function bindLater(callback: (x: number) => number) { + return session.bind(callback, session.createContext()); +} + +bindLater((x: number) => { + return x; +})(123); // passing argument 'abc' should get compile error + +const session2 = cls.getNamespace('my session'); +session2.get('user'); diff --git a/types/cls-hooked/index.d.ts b/types/cls-hooked/index.d.ts new file mode 100644 index 0000000000..6d0a68aa6e --- /dev/null +++ b/types/cls-hooked/index.d.ts @@ -0,0 +1,25 @@ +// Type definitions for cls-hooked 4.2 +// Project: https://github.com/jeff-lewis/cls-hooked +// Definitions by: Leo Liang <https://github.com/aleung> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// <reference types="node" /> + +import { EventEmitter } from 'events'; + +export interface Namespace { + active: any; + + set<T>(key: string, value: T): T; + get(key: string): any; + run(fn: (...args: any[]) => void): void; + runAndReturn<T>(fn: (...args: any[]) => T): T; + bind<F extends Function>(fn: F, context?: any): F; // tslint:disable-line: ban-types + bindEmitter(emitter: EventEmitter): void; + createContext(): any; +} + +export function createNamespace(name: string): Namespace; +export function getNamespace(name: string): Namespace; +export function destroyNamespace(name: string): void; +export function reset(): void; diff --git a/types/cls-hooked/tsconfig.json b/types/cls-hooked/tsconfig.json new file mode 100644 index 0000000000..d5fe6249f9 --- /dev/null +++ b/types/cls-hooked/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "cls-hooked-tests.ts" + ] +} diff --git a/types/cls-hooked/tslint.json b/types/cls-hooked/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/cls-hooked/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 11033eb36a43319751b03327d1d266b92a6ca6d8 Mon Sep 17 00:00:00 2001 From: Sami Kukkonen <sami.kukkonen@smartly.io> Date: Tue, 3 Oct 2017 21:14:13 +0300 Subject: [PATCH 112/433] Add declarations for duplexify 3.5 (#20188) * Add declarations for duplexify 3.5 * Import duplexify with import..require statement --- types/duplexify/duplexify-tests.ts | 16 ++++++++++++++++ types/duplexify/index.d.ts | 21 +++++++++++++++++++++ types/duplexify/tsconfig.json | 22 ++++++++++++++++++++++ types/duplexify/tslint.json | 1 + 4 files changed, 60 insertions(+) create mode 100644 types/duplexify/duplexify-tests.ts create mode 100644 types/duplexify/index.d.ts create mode 100644 types/duplexify/tsconfig.json create mode 100644 types/duplexify/tslint.json diff --git a/types/duplexify/duplexify-tests.ts b/types/duplexify/duplexify-tests.ts new file mode 100644 index 0000000000..11d33d7303 --- /dev/null +++ b/types/duplexify/duplexify-tests.ts @@ -0,0 +1,16 @@ +import duplexify = require("duplexify"); +import { Readable, Writable, Duplex } from "stream"; + +declare var readable: Readable; +declare var writable: Writable; + +duplexify(writable, readable); +duplexify(writable); +duplexify(undefined, readable); + +const d: duplexify.Duplexify = duplexify(); +d.setReadable(readable); +d.setReadable(); // $ExpectError +d.setWritable(writable); +d.setWritable(); // $ExpectError +const f: Duplex = d; diff --git a/types/duplexify/index.d.ts b/types/duplexify/index.d.ts new file mode 100644 index 0000000000..791a000f8b --- /dev/null +++ b/types/duplexify/index.d.ts @@ -0,0 +1,21 @@ +// Type definitions for duplexify 3.5 +// Project: https://github.com/mafintosh/duplexify +// Definitions by: Sami Kukkonen <https://github.com/strax> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +/// <reference types="node" /> + +import * as stream from "stream"; + +export = duplexify; + +interface DuplexifyConstructor { + (writable?: stream.Writable, readable?: stream.Readable, streamOptions?: stream.DuplexOptions): duplexify.Duplexify; + new (writable?: stream.Writable, readable?: stream.Readable, streamOptions?: stream.DuplexOptions): duplexify.Duplexify; +} +declare var duplexify: DuplexifyConstructor; +declare namespace duplexify { + interface Duplexify extends stream.Duplex { + setWritable(writable: stream.Writable): void; + setReadable(readable: stream.Readable): void; + } +} diff --git a/types/duplexify/tsconfig.json b/types/duplexify/tsconfig.json new file mode 100644 index 0000000000..715137eb9d --- /dev/null +++ b/types/duplexify/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "duplexify-tests.ts" + ] +} diff --git a/types/duplexify/tslint.json b/types/duplexify/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/duplexify/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 65936d2e4e901e74ef6988e79244b86f8507494c Mon Sep 17 00:00:00 2001 From: Matt Traynham <skitch920@gmail.com> Date: Tue, 3 Oct 2017 14:15:34 -0400 Subject: [PATCH 113/433] Add mime to karma Options (#20144) * Add mime to karma Options * Update karma version to 1.7 --- types/karma/index.d.ts | 8 +++++++- types/karma/karma-tests.ts | 4 ++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/types/karma/index.d.ts b/types/karma/index.d.ts index ab4dc9b31f..6dabc5218d 100644 --- a/types/karma/index.d.ts +++ b/types/karma/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for karma v0.13.9 +// Type definitions for karma 1.7 // Project: https://github.com/karma-runner/karma // Definitions by: Tanguy Krotoff <https://github.com/tkrotoff> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -284,6 +284,12 @@ declare namespace karma { * @description A list of log appenders to be used. See the documentation for [log4js] for more information. */ loggers?: log4js.AppenderConfigBase[]; + /** + * @default {} + * @description Redefine default mapping from file extensions to MIME-type. + * Set property name to required MIME, provide Array of extensions (without dots) as it's value. + */ + mime?: {[type: string]: string[]}; /** * @default ['karma-*'] * @description List of plugins to load. A plugin can be a string (in which case it will be required diff --git a/types/karma/karma-tests.ts b/types/karma/karma-tests.ts index 4d342fd9e7..2eeed9b480 100644 --- a/types/karma/karma-tests.ts +++ b/types/karma/karma-tests.ts @@ -88,6 +88,10 @@ module.exports = function(config: karma.Config) { 'coverage' ], + mime: { + 'text/x-typescript': ['ts', 'tsx'] + }, + preprocessors: { 'app.js': ['coverage'] }, From 54d59cdbad7fed767e067199e0eb7c160c9285f3 Mon Sep 17 00:00:00 2001 From: Bernd <hacker.bernd@gmail.com> Date: Tue, 3 Oct 2017 20:19:11 +0200 Subject: [PATCH 114/433] add types for H.geo.PixelProjection (#20105) --- types/heremaps/heremaps-tests.ts | 6 +++ types/heremaps/index.d.ts | 78 ++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) diff --git a/types/heremaps/heremaps-tests.ts b/types/heremaps/heremaps-tests.ts index 9d289ffe6c..0856cd2616 100644 --- a/types/heremaps/heremaps-tests.ts +++ b/types/heremaps/heremaps-tests.ts @@ -173,3 +173,9 @@ clusteringOptions: { // Create a layer that will consume objects from our clustering provider const layer = new H.map.layer.ObjectLayer(clusteredDataProvider); + +const pixelProjection = new H.geo.PixelProjection(); +pixelProjection.rescale(12); + +const point = pixelProjection.geoToPixel({ lat: 53, lng: 12 }); +pixelProjection.xyToGeo(point.x, point.y); diff --git a/types/heremaps/index.d.ts b/types/heremaps/index.d.ts index 3c01018a3e..0bda913919 100644 --- a/types/heremaps/index.d.ts +++ b/types/heremaps/index.d.ts @@ -806,6 +806,84 @@ declare namespace H { */ type Longitude = number; + /** + * PixelProjection transforms pixel world coordinates at a certain scale (zoom level) to geographical coordinates and vice versa. + * By default, it uses the Mercator projection to transform geographic points into the 2d plane map points, which are adjusted to the current scale. + * @property projection {H.geo.IProjection} - This property indicates the geographical projection that underlies the given PixelProjection. + * @property x {number} - This property holds the x-offset in the projection relative to the top-left corner of the screen. + * @property y {number} - This property holds the y-offset in the projection relative to the top-left corner of the screen. + * @property w {number} - This property holds a value indicating the width of the world in pixels. + * @property h {number} - This property holds a value indicating the height of the world in pixels. + */ + class PixelProjection { + /** + * Constructor + * @param opt_projection {H.geo.IProjection=} - An object representing the projection to use, the default is spherical Mercator H.geo.mercator + * @param opt_sizeAtLevelZero {number=} A value indicating the size of a tile representation of the world in pixels at zoom level 0, the default is 256 + */ + constructor(opt_projection?: H.geo.IProjection, opt_sizeAtLevelZero?: number); + + projection: H.geo.IProjection; + x: number; + y: number; + w: number; + h: number; + + /** + * This method updates the scale exponent for the pixel projection. + * @param zoom {number} - A value indicating the zoom level + */ + rescale(zoom: number): void; + + /** + * This method retrieves the current zoom scale factor previously set by a call to H.geo.PixelProjection#rescale. + * @return {number} - A value indicating the zoom scale factor + */ + getZoomScale(): number; + + /** + * This method translates a point defines in terms of its geographic coordinates to pixel coordinates at the specified zoom level. + * @param geoPoint {H.geo.IPoint} - An object containing the geographic coordinates + * @param opt_out {H.math.IPoint=} - An optional point to store the result + * @return {H.math.IPoint} - An object representing the results of the the conversion to pixel coordinates + */ + geoToPixel(geoPoint: H.geo.IPoint, opt_out?: H.math.IPoint): H.math.IPoint; + + /** + * This method translates a point defined in terms of its pixel coordinates to a location defined in geographic coordinates. + * @param point {H.math.IPoint} - An object defining a location on the screen in terms of pixel coordinates + * @param opt_out {H.geo.IPoint=} - An optional point to store the result + * @return {H.geo.IPoint} - An object representing the results of conversion to a geographic location + */ + pixelToGeo(point: H.math.IPoint, opt_out?: H.geo.IPoint): H.geo.IPoint; + + /** + * This method translates the x and y coordinates of a pixel to a geographic point. + * @param x {number} - A value indicating the pixel x-coordinate + * @param y {number} - A value indicating the pixel y-coordinate + * @param opt_out {H.geo.Point=} - An optional point to store the result + * @return {H.geo.Point} - An object representing the results of the conversion to a geographic location + */ + xyToGeo(x: number, y: number, opt_out?: H.geo.Point): H.geo.Point; + + /** + * This method translates geographical coordinates (latitude, longitude) supplied by the caller into a point defined in terms of pixel coordinates. + * This method accepts longitudes outside of the normal longitude range. + * @param latitude {number} - The latitude to translate + * @param longitude {number} - The longitude to translate + * @param opt_out {H.math.IPoint=} - An optional point to store the result + * @return {H.math.Point} - The results of the conversion as a point object containing x and y coordinates (in pixels) + */ + latLngToPixel(latitude: number, longitude: number, opt_out?: H.math.IPoint): H.math.Point; + + /** + * This method method translates a map point to world pixel coordinates relative to current projection offset. + * @param point {H.math.IPoint} - An object representing the map point to convert + * @return {H.math.Point} - The result of the conversion as an object containing pixel coordinate + */ + pointToPixel(point: H.math.IPoint): H.math.Point; + } + /** * Class represents a geographical point, which is defined by the latitude, longitude and optional altitude. * @property lat {H.geo.Latitude} - The latitude coordinate. From a2c18a27e0e56a323b2f72296a61fda785f6e5dd Mon Sep 17 00:00:00 2001 From: Margus Lamp <margus.lamp+github@gmail.com> Date: Tue, 3 Oct 2017 21:20:05 +0300 Subject: [PATCH 115/433] @types/ws @types/aws-iot-device-sdk @types/json-rpc-ws WebSocket.ping/pong input fix, synced options, lint fixes (#20108) * * Renamed WebSocket.ping and WebSocket.pong argument dontFail (very confusing) to failSilently as it's in ws package * WebSocket.close accepts data as string only * * Lint fixes, updated types * Fixed aws-iot-device-sdk + json-rpc-ws --- types/aws-iot-device-sdk/index.d.ts | 3 +- types/json-rpc-ws/index.d.ts | 3 +- types/ws/index.d.ts | 86 ++++++++++++++--------------- types/ws/tslint.json | 1 + types/ws/ws-tests.ts | 42 ++++++-------- 5 files changed, 65 insertions(+), 70 deletions(-) create mode 100644 types/ws/tslint.json diff --git a/types/aws-iot-device-sdk/index.d.ts b/types/aws-iot-device-sdk/index.d.ts index 8d01f279eb..4844ae9012 100644 --- a/types/aws-iot-device-sdk/index.d.ts +++ b/types/aws-iot-device-sdk/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for aws-iot-device-sdk 1.0.13 // Project: https://github.com/aws/aws-iot-device-sdk-js // Definitions by: Markus Olsson <https://github.com/niik> +// Margus Lamp <https://github.com/mlamp> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference types="node" /> @@ -100,7 +101,7 @@ export interface DeviceOptions extends mqtt.ClientOptions { * additional options to the underlying WebSocket object; * these options are documented here. */ - websocketOptions?: WebSocket.IClientOptions; + websocketOptions?: WebSocket.ClientOptions; /** * used to specify the Access Key ID when protocol is set to "wss". diff --git a/types/json-rpc-ws/index.d.ts b/types/json-rpc-ws/index.d.ts index 61d72afcf4..c3023c409e 100644 --- a/types/json-rpc-ws/index.d.ts +++ b/types/json-rpc-ws/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for json-rpc-ws 4.0 // Project: https://www.npmjs.com/package/json-rpc-ws // Definitions by: Nicolas Penin <https://github.com/npenin> +// Margus Lamp <https://github.com/mlamp> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 @@ -15,7 +16,7 @@ export class Server<TConnection extends Connection> extends Base<TConnection> { /** * Start the server */ - start(options?: ws.IServerOptions, callback?: () => void): void; + start(options?: ws.ServerOptions, callback?: () => void): void; server: ws.Server; /** * Stop the server diff --git a/types/ws/index.d.ts b/types/ws/index.d.ts index 8dc6cfa746..bbb589a76d 100644 --- a/types/ws/index.d.ts +++ b/types/ws/index.d.ts @@ -1,7 +1,8 @@ -// Type definitions for ws 3.0 +// Type definitions for ws 3.2 // Project: https://github.com/websockets/ws // Definitions by: Paul Loyd <https://github.com/loyd> // Matt Silverlock <https://github.com/elithrar> +// Margus Lamp <https://github.com/mlamp> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference types="node" /> @@ -37,14 +38,14 @@ declare class WebSocket extends events.EventEmitter { onclose: (event: { wasClean: boolean; code: number; reason: string; target: WebSocket }) => void; onmessage: (event: { data: WebSocket.Data; type: string; target: WebSocket }) => void; - constructor(address: string, options?: WebSocket.IClientOptions); - constructor(address: string, protocols?: string | string[], options?: WebSocket.IClientOptions); + constructor(address: string, options?: WebSocket.ClientOptions); + constructor(address: string, protocols?: string | string[], options?: WebSocket.ClientOptions); - close(code?: number, data?: any): void; + close(code?: number, data?: string): void; pause(): void; resume(): void; - ping(data?: any, mask?: boolean, dontFail?: boolean): void; - pong(data?: any, mask?: boolean, dontFail?: boolean): void; + ping(data?: any, mask?: boolean, failSilently?: boolean): void; + pong(data?: any, mask?: boolean, failSilently?: boolean): void; send(data: any, cb?: (err: Error) => void): void; send(data: any, options: { mask?: boolean; binary?: boolean }, cb?: (err: Error) => void): void; stream(options: { mask?: boolean; binary?: boolean }, cb?: (err: Error, final: boolean) => void): void; @@ -62,25 +63,23 @@ declare class WebSocket extends events.EventEmitter { addEventListener(method: string, listener?: () => void): void; // Events - on(event: 'error', cb: (err: Error) => void): this; - on(event: 'close', cb: (code: number, message: string) => void): this; - on(event: 'headers', cb: (headers: {}, request: http.IncomingMessage) => void): this; - on(event: 'message', cb: (data: WebSocket.Data) => void): this; - on(event: 'ping', cb: (data: Buffer) => void): this; - on(event: 'pong', cb: (data: Buffer) => void): this; - on(event: 'open', cb: () => void): this; - on(event: 'unexpected-response', cb: (request: http.ClientRequest, response: http.IncomingMessage) => void): this; - on(event: string, listener: () => void): this; + on(event: 'close', listener: (code: number, reason: string) => void): this; + on(event: 'error', listener: (err: Error) => void): this; + on(event: 'headers', listener: (headers: {}, request: http.IncomingMessage) => void): this; + on(event: 'message', listener: (data: WebSocket.Data) => void): this; + on(event: 'open' , listener: () => void): this; + on(event: 'ping' | 'pong', listener: (data: Buffer) => void): this; + on(event: 'unexpected-response', listener: (request: http.ClientRequest, response: http.IncomingMessage) => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; - addListener(event: 'error', cb: (err: Error) => void): this; - addListener(event: 'close', cb: (code: number, message: string) => void): this; - addListener(event: 'headers', cb: (headers: {}, request: http.IncomingMessage) => void): this; - addListener(event: 'message', cb: (data: WebSocket.Data, flags: { binary: boolean }) => void): this; - addListener(event: 'ping', cb: (data: Buffer) => void): this; - addListener(event: 'pong', cb: (data: Buffer) => void): this; - addListener(event: 'open', cb: () => void): this; - addListener(event: 'unexpected-response', cb: (request: http.ClientRequest, response: http.IncomingMessage) => void): this; - addListener(event: string, listener: () => void): this; + addListener(event: 'close', listener: (code: number, message: string) => void): this; + addListener(event: 'error', listener: (err: Error) => void): this; + addListener(event: 'headers', listener: (headers: {}, request: http.IncomingMessage) => void): this; + addListener(event: 'message', listener: (data: WebSocket.Data) => void): this; + addListener(event: 'open' , listener: () => void): this; + addListener(event: 'ping' | 'pong', listener: (data: Buffer) => void): this; + addListener(event: 'unexpected-response', listener: (request: http.ClientRequest, response: http.IncomingMessage) => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; } declare namespace WebSocket { @@ -109,9 +108,10 @@ declare namespace WebSocket { type VerifyClientCallbackAsync = (info: { origin: string; secure: boolean; req: http.IncomingMessage } , callback: (res: boolean, code?: number, message?: string) => void) => void; - export interface IClientOptions { + interface ClientOptions { protocol?: string; - perMessageDeflate?: boolean | IPerMessageDeflateOptions; + handshakeTimeout?: number; + perMessageDeflate?: boolean | PerMessageDeflateOptions; localAddress?: string; protocolVersion?: number; headers?: { [key: string]: string }; @@ -119,7 +119,7 @@ declare namespace WebSocket { agent?: http.Agent; host?: string; family?: number; - checkServerIdentity?: Function; + checkServerIdentity?(servername: string, cert: CertMeta): boolean; rejectUnauthorized?: boolean; passphrase?: string; ciphers?: string; @@ -129,15 +129,18 @@ declare namespace WebSocket { ca?: CertMeta; } - export interface IPerMessageDeflateOptions { + interface PerMessageDeflateOptions { serverNoContextTakeover?: boolean; clientNoContextTakeover?: boolean; serverMaxWindowBits?: number; clientMaxWindowBits?: number; + level?: number; memLevel?: number; + threshold?: number; + concurrencyLimit?: number; } - export interface IServerOptions { + interface ServerOptions { host?: string; port?: number; backlog?: number; @@ -147,41 +150,36 @@ declare namespace WebSocket { path?: string; noServer?: boolean; clientTracking?: boolean; - perMessageDeflate?: boolean | IPerMessageDeflateOptions; + perMessageDeflate?: boolean | PerMessageDeflateOptions; maxPayload?: number; } // WebSocket Server - export class Server extends events.EventEmitter { - options: IServerOptions; + class Server extends events.EventEmitter { + options: ServerOptions; path: string; clients: Set<WebSocket>; - constructor(options?: IServerOptions, callback?: Function); + constructor(options?: ServerOptions, callback?: () => void); - close(cb?: (err?: any) => void): void; + close(cb?: (err?: Error) => void): void; handleUpgrade(request: http.IncomingMessage, socket: net.Socket, upgradeHead: Buffer, callback: (client: WebSocket) => void): void; - shouldHandle(request: http.IncomingMessage): boolean + shouldHandle(request: http.IncomingMessage): boolean; // Events - on(event: 'connection', cb: (client: WebSocket, request: http.IncomingMessage) => void): this; - on(event: 'error', cb: (err: Error) => void): this; + on(event: 'connection', cb: (socket: WebSocket, request: http.IncomingMessage) => void): this; + on(event: 'error', cb: (error: Error) => void): this; on(event: 'headers', cb: (headers: string[], request: http.IncomingMessage) => void): this; on(event: 'listening', cb: () => void): this; - on(event: string, listener: () => void): this; + on(event: string | symbol, listener: (...args: any[]) => void): this; addListener(event: 'connection', cb: (client: WebSocket) => void): this; addListener(event: 'error', cb: (err: Error) => void): this; addListener(event: 'headers', cb: (headers: string[], request: http.IncomingMessage) => void): this; addListener(event: 'listening', cb: () => void): this; - addListener(event: string, listener: () => void): this; + addListener(event: string | symbol, listener: (...args: any[]) => void): this; } - - export function createServer(options?: IServerOptions, - connectionListener?: (client: WebSocket) => void): Server; - export function connect(address: string, openListener?: Function): void; - export function createConnection(address: string, openListener?: Function): void; } export = WebSocket; diff --git a/types/ws/tslint.json b/types/ws/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/ws/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } diff --git a/types/ws/ws-tests.ts b/types/ws/ws-tests.ts index 90b0e6080f..27b75703ba 100644 --- a/types/ws/ws-tests.ts +++ b/types/ws/ws-tests.ts @@ -1,25 +1,24 @@ - import * as WebSocket from 'ws'; import * as http from 'http'; import * as https from 'https'; { - var ws = new WebSocket('ws://www.host.com/path'); + const ws = new WebSocket('ws://www.host.com/path'); ws.on('open', () => ws.send('something')); ws.on('message', (data) => {}); } { - var ws = new WebSocket('ws://www.host.com/path'); + const ws = new WebSocket('ws://www.host.com/path'); ws.on('open', () => { - var array = new Float32Array(5); - for (var i = 0; i < array.length; ++i) array[i] = i / 2; + const array = new Float32Array(5); + for (let i = 0; i < array.length; ++i) array[i] = i / 2; ws.send(array, {binary: true, mask: true}); }); } { - var wss = new WebSocket.Server({port: 8081}); + const wss = new WebSocket.Server({port: 8081}); wss.on('connection', (ws, req) => { ws.on('message', (message) => console.log('received: %s', message)); ws.send('something'); @@ -32,7 +31,7 @@ import * as https from 'https'; } { - var wss = new WebSocket.Server({port: 8082}); + const wss = new WebSocket.Server({port: 8082}); const broadcast = (data: any) => { wss.clients.forEach((ws) => ws.send(data)); @@ -40,7 +39,7 @@ import * as https from 'https'; } { - var wsc = new WebSocket('ws://echo.websocket.org/'); + const wsc = new WebSocket('ws://echo.websocket.org/'); wsc.on('open', () => wsc.send(Date.now().toString(), {mask: true})); wsc.on('close', () => console.log('disconnected')); @@ -49,7 +48,7 @@ import * as https from 'https'; }); wsc.on('message', (data: string) => { - console.log('Roundtrip time: ' + (Date.now() - parseInt(data)) + 'ms'); + console.log(`Roundtrip time: ${(Date.now() - parseInt(data, 10))} ms`); setTimeout(() => { wsc.send(Date.now().toString(), {mask: true}); }, 500); @@ -61,28 +60,23 @@ import * as https from 'https'; new WebSocket.Server({ server: http.createServer() }); } - { - const verifyClient = function( - info: { - origin: string - secure: boolean - req: http.IncomingMessage - } - , callback: (res: boolean) => void - ): void { - callback(true) - } + const verifyClient = ( + info: { origin: string, secure: boolean, req: http.IncomingMessage }, + callback: (res: boolean) => void + ): void => { + callback(true); + }; - var wsv = new WebSocket.Server({ + const wsv = new WebSocket.Server({ server: http.createServer(), clientTracking: true, perMessageDeflate: true - }) + }); wsv.on('connection', function connection(ws) { - console.log(ws.protocol) - }) + console.log(ws.protocol); + }); } { From 4d928792568d55226da7ffd3abd523ddd1496f41 Mon Sep 17 00:00:00 2001 From: Samphan Raruenrom <untsamphan@gmail.com> Date: Wed, 4 Oct 2017 01:21:53 +0700 Subject: [PATCH 116/433] Fix bug from different definition of ObjectID (#20095) --- types/meteor/mongo.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/types/meteor/mongo.d.ts b/types/meteor/mongo.d.ts index 99f931ec28..28e1868840 100644 --- a/types/meteor/mongo.d.ts +++ b/types/meteor/mongo.d.ts @@ -103,7 +103,10 @@ declare module Mongo { interface ObjectIDStatic { new (hexString?: string): ObjectID; } - interface ObjectID { } + interface ObjectID { + toHexString(): string; + equals(otherID: ObjectID): boolean; + } function setConnectionOptions(options: any): void; } From b63591d41a8800739ab5156d4632d638c0777db1 Mon Sep 17 00:00:00 2001 From: Simon Treny <simon.treny@gmail.com> Date: Tue, 3 Oct 2017 21:04:35 +0200 Subject: [PATCH 117/433] Make NativeScrollEvent.velocity optional as iOS implementation only specifies it on onScrollEndDrag event --- types/react-native/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index fe2fdfd4d1..be99d18197 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -6413,7 +6413,7 @@ export interface NativeScrollEvent { contentOffset: NativeScrollPoint; contentSize: NativeScrollSize; layoutMeasurement: NativeScrollSize; - velocity: NativeScrollVelocity; + velocity?: NativeScrollVelocity; zoomScale: number; } From d78961bad90a4d457d42ba91fb0c4d2218aa79b5 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <nathansa@microsoft.com> Date: Tue, 3 Oct 2017 12:47:22 -0700 Subject: [PATCH 118/433] Fixes from PR and Travis runs --- types/bootbox/index.d.ts | 2 +- types/log4js/log4js-tests.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/types/bootbox/index.d.ts b/types/bootbox/index.d.ts index c2fe427d6c..850eb18c25 100644 --- a/types/bootbox/index.d.ts +++ b/types/bootbox/index.d.ts @@ -9,7 +9,7 @@ /** Bootbox options shared by all modal types */ interface BootboxBaseOptions<T = any> { title?: string | Element; - callback?: (result: T) => any; + callback?: (result: T) => any; onEscape?: (() => any) | boolean; show?: boolean; backdrop?: boolean; diff --git a/types/log4js/log4js-tests.ts b/types/log4js/log4js-tests.ts index 9ab50d3344..b6123b1abd 100644 --- a/types/log4js/log4js-tests.ts +++ b/types/log4js/log4js-tests.ts @@ -91,7 +91,7 @@ var myAppender: log4js.AppenderModule = { }, configure: function (config: log4js.CustomAppenderConfig, options?: { [key: string]: any }): log4js.Appender { - var mycfg = config.mycfg; + var mycfg = (config as MyAppenderConfig).mycfg; return this.appender(mycfg); } } From 32ae9f623ba8578a415d266943be972d8b050804 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <nathansa@microsoft.com> Date: Tue, 3 Oct 2017 13:43:36 -0700 Subject: [PATCH 119/433] Fix test failures --- types/hopscotch/index.d.ts | 2 +- types/jquery/jquery-tests.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/types/hopscotch/index.d.ts b/types/hopscotch/index.d.ts index 3ecf033230..27d4398366 100644 --- a/types/hopscotch/index.d.ts +++ b/types/hopscotch/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for Hopscotch v0.2.5 // Project: http://linkedin.github.io/hopscotch/ -// Definitions by: Tim Perry <https://github.com/pimterry> , Aurimas <https://github.com/Aurimas1> +// Definitions by: Tim Perry <https://github.com/pimterry>, Aurimas <https://github.com/Aurimas1> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare type CallbackNameNamesOrDefinition = string | string[] | (() => void); diff --git a/types/jquery/jquery-tests.ts b/types/jquery/jquery-tests.ts index 4c296a1670..0694ce2502 100644 --- a/types/jquery/jquery-tests.ts +++ b/types/jquery/jquery-tests.ts @@ -94,7 +94,7 @@ function JQueryStatic() { } function step() { - // $ExpectType PlainObject<AnimationHook<HTMLElement>> + // $ExpectType PlainObject<AnimationHook<Node>> $.fx.step; } } @@ -3375,10 +3375,10 @@ function JQuery() { } ]); - // $ExpectType Queue<HTMLElement> + // $ExpectType Queue<Node> $('p').queue('myQueue'); - // $ExpectType Queue<HTMLElement> + // $ExpectType Queue<Node> $('p').queue(); } From a3f56c28fa6720620c0fccbaa3618bb59c947d26 Mon Sep 17 00:00:00 2001 From: Josh Goldberg <joshuakgoldberg@outlook.com> Date: Wed, 4 Oct 2017 09:23:08 -0400 Subject: [PATCH 120/433] Added | null to error types in callbacks (#20265) I'm guessing these haven't been updated since strictness was introduced. --- types/glob/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/glob/index.d.ts b/types/glob/index.d.ts index 6687c79570..c7c6ffc601 100644 --- a/types/glob/index.d.ts +++ b/types/glob/index.d.ts @@ -11,8 +11,8 @@ import events = require("events"); import fs = require('fs'); import minimatch = require("minimatch"); -declare function G(pattern: string, cb: (err: Error, matches: string[]) => void): void; -declare function G(pattern: string, options: G.IOptions, cb: (err: Error, matches: string[]) => void): void; +declare function G(pattern: string, cb: (err: Error | null, matches: string[]) => void): void; +declare function G(pattern: string, options: G.IOptions, cb: (err: Error | null, matches: string[]) => void): void; declare namespace G { function sync(pattern: string, options?: IOptions): string[]; @@ -57,8 +57,8 @@ declare namespace G { } interface IGlobStatic extends events.EventEmitter { - new (pattern: string, cb?: (err: Error, matches: string[]) => void): IGlob; - new (pattern: string, options: IOptions, cb?: (err: Error, matches: string[]) => void): IGlob; + new (pattern: string, cb?: (err: Error | null, matches: string[]) => void): IGlob; + new (pattern: string, options: IOptions, cb?: (err: Error | null, matches: string[]) => void): IGlob; prototype: IGlob; } From 601ac7b62070c34efcd7b6f643c2eaed16ffb7d0 Mon Sep 17 00:00:00 2001 From: Glen M <glencfl@gmail.com> Date: Wed, 4 Oct 2017 09:25:09 -0400 Subject: [PATCH 121/433] Support Atom v1.21. Remove Electron dependency. (#20282) --- types/atom/atom-tests.ts | 45 ++++++++++-- types/atom/index.d.ts | 98 +++++++++++++++++++++----- types/atom/package.json | 6 -- types/pathwatcher/index.d.ts | 6 +- types/pathwatcher/pathwatcher-tests.ts | 3 +- types/text-buffer/index.d.ts | 7 +- types/text-buffer/text-buffer-tests.ts | 3 + 7 files changed, 133 insertions(+), 35 deletions(-) delete mode 100644 types/atom/package.json diff --git a/types/atom/atom-tests.ts b/types/atom/atom-tests.ts index c846cde9f2..9e765025c8 100644 --- a/types/atom/atom-tests.ts +++ b/types/atom/atom-tests.ts @@ -57,7 +57,15 @@ declare let paneContainer: Atom.Dock|Atom.WorkspaceCenter; // Exports Testing ============================================================ import { BufferedNodeProcess, BufferedProcess, GitRepository, Notification, TextBuffer, TextEditor, Point, Range, File, Directory, Emitter, Disposable, - CompositeDisposable, Task } from "atom"; + CompositeDisposable, Task, watchPath } from "atom"; + +const pathWatcher = watchPath("/var/test", {}, (events) => { + for (const event of events) { + str = event.path; + str = event.action; + if (event.oldPath) str = event.oldPath; + } +}); // global "atom" atom.commands; @@ -86,6 +94,7 @@ atom.inDevMode(); atom.inSafeMode(); atom.inSpecMode(); atom.getVersion(); +str = atom.getReleaseChannel(); atom.isReleasedVersion(); atom.getWindowLoadTime(); @@ -102,8 +111,7 @@ atom.getPosition(); atom.setPosition(42, 42); atom.pickFolder((): void => {}); -const window = atom.getCurrentWindow(); -const [windowWidth, windowHeight] = window.getSize(); +obj = atom.getCurrentWindow(); atom.center(); atom.focus(); @@ -330,6 +338,11 @@ atom.commands.add("test", { "test-function": (event) => {}, "test-function2": (event) => {}, }); +atom.commands.add("test", "test:function", { + didDispatch: (event) => event.stopImmediatePropagation(), + description: "A Command Test", + displayName: "Command: Test", +}); const commands = atom.commands.findCommands({ target: element }); atom.commands.dispatch(element, "test:function"); @@ -906,8 +919,10 @@ pane.moveItem(element, 42); pane.moveItemToPane(element, pane, 42); pane.destroyActiveItem(); -pane.destroyItem(element); -pane.destroyItem(element, true); +async function destroyAndWait() { + bool = await pane.destroyItem(element); + bool = await pane.destroyItem(element, true); +} pane.destroyItems(); pane.destroyInactiveItems(); @@ -970,10 +985,25 @@ bool = panel.isVisible(); panel.hide(); panel.show(); +//// PathWatcher ============================================================== +pathWatcher.dispose(); +sub = pathWatcher.onDidError((error) => str = error.name); + +async function waitForPathWatcher() { + await pathWatcher.getStartPromise(); +} + //// Point -- See 'text-buffer' testing. //// Project ================================================================== // Event Subscription sub = project.onDidChangePaths(paths => paths.length); + +sub = project.onDidChangeFiles(events => { + for (const event of events) { + str = event.action; + } +}); + sub = project.onDidAddBuffer(buffer => buffer.id); sub = project.observeBuffers(buffer => buffer.file); @@ -989,6 +1019,11 @@ async function getDirectoryRepo() { strs = project.getPaths(); project.setPaths(["a", "b"]); project.addPath("Test"); + +async function initWatcher() { + await project.getWatcherPromise("/var/test"); +} + project.removePath("Test"); dirs = project.getDirectories(); diff --git a/types/atom/index.d.ts b/types/atom/index.d.ts index 77e174d138..041084a91e 100644 --- a/types/atom/index.d.ts +++ b/types/atom/index.d.ts @@ -1,11 +1,10 @@ -// Type definitions for Atom 1.20 +// Type definitions for Atom 1.21 // Project: https://github.com/atom/atom // Definitions by: GlenCFL <https://github.com/GlenCFL> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 /// <reference types="node" /> -/// <reference types="electron" /> /// <reference types="jquery" /> /// <reference types="atom-keymap" /> /// <reference types="event-kit" /> @@ -113,6 +112,19 @@ declare global { /** Object the new parameters the decoration now has */ newProperties: Structures.DecorationProps; } + + type FilesystemChange = Array<{ + /** A string describing the filesystem action that occurred. */ + action: "created"|"modified"|"deleted"|"renamed"; + + /** The absolute path to the filesystem entry that was acted upon. */ + path: string; + + /** For rename events, a string containing the filesystem entry's former + * absolute path. + */ + oldPath?: string; + }>; } /** Objects that appear as parameters to functions. */ @@ -527,6 +539,11 @@ declare global { /** Get the version of the Atom application. */ getVersion(): string; + /** Gets the release channel of the Atom application. + * Returns the release channel, which can be 'dev', 'beta', or 'stable'. + */ + getReleaseChannel(): "dev"|"beta"|"stable"; + /** Returns a boolean that is true if the current version is an official release. */ isReleasedVersion(): boolean; @@ -564,7 +581,7 @@ declare global { pickFolder(callback: (paths: string[]|null) => void): void; /** Get the current window. */ - getCurrentWindow(): Electron.BrowserWindow; + getCurrentWindow(): object; // Electron's BrowserWindow class. /** Move current window to the center of the screen. */ center(): void; @@ -767,16 +784,24 @@ declare global { * using CSS selectors. */ interface CommandRegistry { - // Register a single command. - add(target: string|Node, commandName: string, callback: (event: - AtomKeymap.CommandEvent) => void): EventKit.Disposable; + /** Register a single command. */ + add(target: string|Node, commandName: string, listener: { + didDispatch(event: AtomKeymap.CommandEvent): void, + displayName?: string, + description?: string, + } | ((event: AtomKeymap.CommandEvent) => void)): EventKit.Disposable; - // Register multiple commands. + /** Register multiple commands. */ add(target: string|Node, commands: { [key: string]: (event: AtomKeymap.CommandEvent) => void }): EventKit.CompositeDisposable; /** Find all registered commands matching a query. */ - findCommands(params: { target: Node }): Array<{ name: string, displayName: string }>; + findCommands(params: { target: Node }): Array<{ + name: string, + displayName: string, + description?: string, + tags?: string[], + }>; /** Simulate the dispatch of a command on a DOM node. */ dispatch(target: Node, commandName: string): void; @@ -1073,7 +1098,7 @@ declare global { /** Hide the dock and activate the WorkspaceCenter if the dock was was previously focused. */ hide(): void; - /** Toggle the dock's visiblity without changing the Workspace's active pane container. */ + /** Toggle the dock's visibility without changing the Workspace's active pane container. */ toggle(): void; /** Check if the dock is visible. */ @@ -1672,7 +1697,7 @@ declare global { destroyActiveItem(): void; /** Destroy the given item. */ - destroyItem(item: object, force?: boolean): void; + destroyItem(item: object, force?: boolean): Promise<boolean>; /** Destroy all items. */ destroyItems(): void; @@ -1779,6 +1804,23 @@ declare global { show(): void; } + /** Manage a subscription to filesystem events that occur beneath a root directory. */ + interface PathWatcher extends EventKit.DisposableLike { + /** Return a Promise that will resolve when the underlying native watcher is + * ready to begin sending events. + */ + getStartPromise(): Promise<undefined>; + + /** Invokes a function when any errors related to this watcher are reported. */ + onDidError(callback: (error: Error) => void): EventKit.Disposable; + + /** Unsubscribe all subscribers from filesystem events. Native resources will be + * release asynchronously, but this watcher will stop broadcasting events + * immediately. + */ + dispose(): void; + } + /** Represents a project that's opened in Atom. */ interface Project { // Event Subscription @@ -1793,6 +1835,9 @@ declare global { */ observeBuffers(callback: (buffer: TextBuffer.TextBuffer) => void): EventKit.Disposable; + /** Invoke a callback when a filesystem change occurs within any open project path. */ + onDidChangeFiles(callback: (events: Events.FilesystemChange) => void): EventKit.Disposable; + // Accessing the Git Repository /** Get an Array of GitRepositorys associated with the project's directories. */ getRepositories(): GitRepository[]; @@ -1810,6 +1855,11 @@ declare global { /** Add a path to the project's list of root paths. */ addPath(projectPath: string): void; + /** Access a promise that resolves when the filesystem watcher associated with a + * project root directory is ready to begin receiving events. + */ + getWatcherPromise(projectPath: string): Promise<PathWatcher>; + /** Remove a path from the project's list of root paths. */ removePath(projectPath: string): void; @@ -2863,36 +2913,36 @@ declare global { { reversed?: boolean, preserveFolds?: boolean }): Selection; /** Select from the current cursor position to the given position in buffer coordinates. - * This method may merge selections that end up intesecting. + * This method may merge selections that end up intersecting. */ selectToBufferPosition(position: TextBuffer.PointLike|[number, number]): void; /** Select from the current cursor position to the given position in screen coordinates. - * This method may merge selections that end up intesecting. + * This method may merge selections that end up intersecting. */ selectToScreenPosition(position: TextBuffer.PointLike|[number, number]): void; /** Move the cursor of each selection one character upward while preserving the * selection's tail position. - * This method may merge selections that end up intesecting. + * This method may merge selections that end up intersecting. */ selectUp(rowCount?: number): void; /** Move the cursor of each selection one character downward while preserving * the selection's tail position. - * This method may merge selections that end up intesecting. + * This method may merge selections that end up intersecting. */ selectDown(rowCount?: number): void; /** Move the cursor of each selection one character leftward while preserving * the selection's tail position. - * This method may merge selections that end up intesecting. + * This method may merge selections that end up intersecting. */ selectLeft(columnCount?: number): void; /** Move the cursor of each selection one character rightward while preserving * the selection's tail position. - * This method may merge selections that end up intesecting. + * This method may merge selections that end up intersecting. */ selectRight(columnCount?: number): void; @@ -2913,7 +2963,7 @@ declare global { /** Move the cursor of each selection to the beginning of its line while preserving * the selection's tail position. - * This method may merge selections that end up intesecting. + * This method may merge selections that end up intersecting. */ selectToBeginningOfLine(): void; @@ -3650,6 +3700,7 @@ declare global { item: object, visible?: boolean, priority?: number, + autoFocus?: boolean, }): Panel; /** Returns the Panel associated with the given item or null when the item @@ -3811,6 +3862,7 @@ declare global { type PaneItemMoved = AtomCore.Events.PaneItemMoved; type CursorPositionChanged = AtomCore.Events.CursorPositionChanged; type DecorationPropsChanged = AtomCore.Events.DecorationPropsChanged; + type FilesystemChange = AtomCore.Events.FilesystemChange; } /** Objects that appear as parameters to functions. */ @@ -3910,8 +3962,6 @@ declare global { /** Represents an individual file that can be watched, read from, and written to. */ type File = PathWatcher.File; - type PathWatcher = PathWatcher.PathWatcher; - // Text Buffer ============================================================== /** The interface that should be implemented for all "point-compatible" objects. */ /** Represents a buffer annotation that remains logically stationary even as the @@ -4055,6 +4105,9 @@ declare global { */ type Panel = AtomCore.Panel; + /** Manage a subscription to filesystem events that occur beneath a root directory. */ + type PathWatcher = AtomCore.PathWatcher; + /** Represents a project that's opened in Atom. */ type Project = AtomCore.Project; @@ -4145,3 +4198,10 @@ export const TextBuffer: TextBuffer.Statics.TextBuffer; * including cursor and selection positions, folds, and soft wraps. */ export const TextEditor: AtomCore.Statics.TextEditor; + +/** Invoke a callback with each filesystem event that occurs beneath a specified path. + * If you only need to watch events within the project's root paths, use + * Project::onDidChangeFiles instead. + */ +export function watchPath(rootPath: string, options: {}, eventCallback: (events: + AtomCore.Events.FilesystemChange) => void): AtomCore.PathWatcher; diff --git a/types/atom/package.json b/types/atom/package.json deleted file mode 100644 index fe9d276dc5..0000000000 --- a/types/atom/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "private": true, - "dependencies": { - "electron": "1.6.9" - } -} diff --git a/types/pathwatcher/index.d.ts b/types/pathwatcher/index.d.ts index b3d99b81ef..cf65fcc2d0 100644 --- a/types/pathwatcher/index.d.ts +++ b/types/pathwatcher/index.d.ts @@ -7,6 +7,8 @@ /// <reference types="node" /> /// <reference types="event-kit" /> +import { ReadStream, WriteStream } from "fs"; + declare global { namespace PathWatcher { /** Objects that appear as parameters to callbacks. */ @@ -128,13 +130,13 @@ declare global { read(flushCache?: boolean): Promise<string>; /** Returns a stream to read the content of the file. */ - createReadStream(): NodeJS.ReadableStream; + createReadStream(): ReadStream; /** Overwrites the file with the given text. */ write(text: string): Promise<undefined>; /** Returns a stream to write content to the file. */ - createWriteStream(): NodeJS.WritableStream; + createWriteStream(): WriteStream; /** Overwrites the file with the given text. */ writeSync(text: string): undefined; diff --git a/types/pathwatcher/pathwatcher-tests.ts b/types/pathwatcher/pathwatcher-tests.ts index b4144ebd3d..60391ed480 100644 --- a/types/pathwatcher/pathwatcher-tests.ts +++ b/types/pathwatcher/pathwatcher-tests.ts @@ -59,7 +59,8 @@ async function readFile() { str = await file.read(); } -file.createReadStream(); +const stream = file.createReadStream(); +stream.close(); async function writeFile() { await file.write("Test"); diff --git a/types/text-buffer/index.d.ts b/types/text-buffer/index.d.ts index 663d62914c..feae93f5b1 100644 --- a/types/text-buffer/index.d.ts +++ b/types/text-buffer/index.d.ts @@ -844,8 +844,11 @@ declare global { onDidChangeEncoding(callback: (encoding: string) => void): EventKit.Disposable; - /** Invoke the given callback before the buffer is saved to disk. */ - onWillSave(callback: () => void): EventKit.Disposable; + /** Invoke the given callback before the buffer is saved to disk. If the + * given callback returns a promise, then the buffer will not be saved until + * the promise resolves. + */ + onWillSave(callback: () => Promise<void>|void): EventKit.Disposable; /** Invoke the given callback after the buffer is saved to disk. */ onDidSave(callback: (event: Events.FileSaved) => void): diff --git a/types/text-buffer/text-buffer-tests.ts b/types/text-buffer/text-buffer-tests.ts index 4594ac4c41..52e4383158 100644 --- a/types/text-buffer/text-buffer-tests.ts +++ b/types/text-buffer/text-buffer-tests.ts @@ -199,7 +199,10 @@ sub = buffer.onDidChangePath((path): void => { }); sub = buffer.onDidChangeEncoding(() => void {}); + sub = buffer.onWillSave(() => void {}); +sub = buffer.onWillSave(() => Promise.resolve()); + sub = buffer.onDidSave(() => void {}); sub = buffer.onDidDelete(() => void {}); sub = buffer.onWillReload(() => void {}); From d06df01e3ce0c3e2af8d61a1e771a6cf900e9244 Mon Sep 17 00:00:00 2001 From: Ben Gladman <ben.gladman@gmail.com> Date: Wed, 4 Oct 2017 14:26:08 +0100 Subject: [PATCH 122/433] More expressive type definition for Bluebird.method (#20279) --- types/bluebird/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/bluebird/index.d.ts b/types/bluebird/index.d.ts index 60d443c8c6..b9a9d35e4d 100644 --- a/types/bluebird/index.d.ts +++ b/types/bluebird/index.d.ts @@ -695,6 +695,11 @@ declare class Bluebird<R> implements PromiseLike<R>, Bluebird.Inspection<R> { * Returns a new function that wraps the given function `fn`. The new function will always return a promise that is fulfilled with the original functions return values or rejected with thrown exceptions from the original function. * This method is convenient when a function can sometimes return synchronously or throw synchronously. */ + static method<R, A1>(fn: (arg1: A1) => R | PromiseLike<R>): (arg1: A1) => Bluebird<R> + static method<R, A1, A2>(fn: (arg1: A1, arg2: A2) => R | PromiseLike<R>): (arg1: A1, arg2: A2) => Bluebird<R> + static method<R, A1, A2, A3>(fn: (arg1: A1, arg2: A2, arg3: A3) => R | PromiseLike<R>): (arg1: A1, arg2: A2, arg3: A3) => Bluebird<R> + static method<R, A1, A2, A3, A4>(fn: (arg1: A1, arg2: A2, arg3: A3, arg4: A4) => R | PromiseLike<R>): (arg1: A1, arg2: A2, arg3: A3, arg4: A4) => Bluebird<R> + static method<R, A1, A2, A3, A4, A5>(fn: (arg1: A1, arg2: A2, arg3: A3, arg4: A4, arg5: A5) => R | PromiseLike<R>): (arg1: A1, arg2: A2, arg3: A3, arg4: A4, arg5: A5) => Bluebird<R> static method<R>(fn: (...args: any[]) => R | PromiseLike<R>): (...args: any[]) => Bluebird<R>; /** From 0840a8fe718111ce39de54f21e8abf355d393dbd Mon Sep 17 00:00:00 2001 From: Mark Line <markline@gmail.com> Date: Wed, 4 Oct 2017 14:26:54 +0100 Subject: [PATCH 123/433] Add clientProperties object to ConnectionOptions (#20277) --- types/amqp/amqp-tests.ts | 1 + types/amqp/index.d.ts | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/types/amqp/amqp-tests.ts b/types/amqp/amqp-tests.ts index 7940f44ed4..dfe38f2676 100644 --- a/types/amqp/amqp-tests.ts +++ b/types/amqp/amqp-tests.ts @@ -3,6 +3,7 @@ import * as amqp from 'amqp'; async function connect() { const promise = new Promise<amqp.AMQPClient>((resolve, reject) => { const client = amqp.createConnection({ + clientProperties: { applicationName: 'typing' }, url: 'amqp://admin:password@localhost:5672' }); diff --git a/types/amqp/index.d.ts b/types/amqp/index.d.ts index 374a03322b..ca39ce4404 100644 --- a/types/amqp/index.d.ts +++ b/types/amqp/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for amqp 0.2 // Project: https://github.com/postwait/node-amqp // Definitions by: Carl Winkler <https://github.com/seikho> +// Mark Line <https://github.com/jonnysparkplugs> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference types="node" /> @@ -125,6 +126,19 @@ export interface ConnectionOptions { /** Default: 1000 */ reconnectBackoffTime?: number; + + clientProperties?: { + applicationName?: string; + capabilities?: { + consumer_cancel_notify?: boolean + } + /** Default: 'node-' + process.version */ + platform?: string; + /** Default: node-amqp */ + product?: string; + /** Default: 'nodeAMQPVersion' */ + version?: string; + }; } export interface QueueOptions { From a0c42fa0c2ec2b10c31999d9183f5f7026c3cf3d Mon Sep 17 00:00:00 2001 From: "Michael A. Volz (Flynn)" <mvolz@redmuffin.de> Date: Wed, 4 Oct 2017 15:27:14 +0200 Subject: [PATCH 124/433] Fixed type for clearConsole to be boolean (#20276) Using false would result in an error. --- types/friendly-errors-webpack-plugin/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/friendly-errors-webpack-plugin/index.d.ts b/types/friendly-errors-webpack-plugin/index.d.ts index 582dfadf57..7e2937c867 100644 --- a/types/friendly-errors-webpack-plugin/index.d.ts +++ b/types/friendly-errors-webpack-plugin/index.d.ts @@ -24,7 +24,7 @@ declare namespace FriendlyErrorsWebpackPlugin { notes: string[], }; onErrors?(severity: Severity, errors: string): void; - clearConsole?: true; + clearConsole?: boolean; additionalFormatters?: Array<(errors: WebpackError[], type: Severity) => string[]>; additionalTransformers?: Array<(error: any) => any>; } From 86aefa7ce6d7bcba833b04afeb810cfbd5869367 Mon Sep 17 00:00:00 2001 From: Louise Bicker Caarten <louise@q42.nl> Date: Wed, 4 Oct 2017 15:27:59 +0200 Subject: [PATCH 125/433] Allow Filepath (String) To Json Schema In Convict Constructor (#20274) --- types/convict/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/convict/index.d.ts b/types/convict/index.d.ts index d7904ec5d6..5aac427dd0 100644 --- a/types/convict/index.d.ts +++ b/types/convict/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for convict 4.0 +// Type definitions for convict 4.1 // Project: https://github.com/mozilla/node-convict // Definitions by: Wim Looman <https://github.com/Nemo157> // Vesa Poikajärvi <https://github.com/vesse> @@ -118,7 +118,7 @@ declare namespace convict { interface convict { addFormat(format: convict.Format): void; addFormats(formats: { [name: string]: convict.Format }): void; - (config: convict.Schema): convict.Config; + (config: convict.Schema | string): convict.Config; } declare var convict: convict; export = convict; From c29891901e2de57f5c4b3cca40e19a0b7fda0de7 Mon Sep 17 00:00:00 2001 From: Tyrone Dougherty <tyrone@tyronedougherty.com> Date: Thu, 5 Oct 2017 00:28:31 +1100 Subject: [PATCH 126/433] Define the methods on the loading bar provider in angular-loading-bar (#20220) * Allow @types/angular-loading-bar to export a string name for angular module inclusion * Add in the methods for @types/angular-loading-bar and fix the tests --- .../angular-loading-bar-tests.ts | 19 +++++++------ types/angular-loading-bar/index.d.ts | 27 +++++++++++++++++++ 2 files changed, 36 insertions(+), 10 deletions(-) diff --git a/types/angular-loading-bar/angular-loading-bar-tests.ts b/types/angular-loading-bar/angular-loading-bar-tests.ts index be39a7a54d..55fbdde2a0 100644 --- a/types/angular-loading-bar/angular-loading-bar-tests.ts +++ b/types/angular-loading-bar/angular-loading-bar-tests.ts @@ -13,13 +13,12 @@ class TestController { app.controller('TestController', TestController); -var barConfig: angular.loadingBar.ILoadingBarProvider[] = []; -barConfig.push({ - includeSpinner: true, - includeBar: true, - spinnerTemplate: 'template', - latencyThreshold: 100, - startSize: 0.02, - loadingBarTemplate: '', - autoIncrement: true -}); +var barConfig: angular.loadingBar.ILoadingBarProvider; + +barConfig.includeSpinner = false; +barConfig.includeBar = false; +barConfig.spinnerTemplate = 'someOtherTemplateString'; +barConfig.latencyThreshold = 70; +barConfig.startSize = 0.05; +barConfig.loadingBarTemplate = 'anotherTemplateString'; +barConfig.autoIncrement = false; diff --git a/types/angular-loading-bar/index.d.ts b/types/angular-loading-bar/index.d.ts index 1c738aea96..61717152de 100644 --- a/types/angular-loading-bar/index.d.ts +++ b/types/angular-loading-bar/index.d.ts @@ -54,6 +54,33 @@ declare module 'angular' { * Give illusion that there's always progress */ autoIncrement?: boolean; + + /** + * Broadcast the start event + */ + start(): void; + + /** + * Set the percentage completed + * @param {number} n - number between 0 and 1 + */ + set(n: number): void; + + /** + * Get the percentage completed + * @returns {number} + */ + status(): number; + + /** + * Increment the loading bar + */ + inc(): void; + + /** + * Complete the loading bar + */ + complete(): void; } } From 65249818816f06b25529a408f6736b76d4aa92ba Mon Sep 17 00:00:00 2001 From: vvakame <vvakame+dev@gmail.com> Date: Wed, 4 Oct 2017 22:34:11 +0900 Subject: [PATCH 127/433] fix indent --- types/three/three-core.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index 3efd8afad2..ea63110057 100644 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -3625,8 +3625,8 @@ export class Matrix3 implements Matrix { transposeIntoArray(r: number[]): number[]; fromArray(array: number[], offset?: number): Matrix3; toArray(): number[]; - - /** + + /** * Multiplies this matrix by m. */ multiply(m: Matrix3): Matrix3; From a2814c8188b1e94c78f044b6d669e7a1015f5d3c Mon Sep 17 00:00:00 2001 From: Steve Hipwell <steve.hipwell@gmail.com> Date: Wed, 4 Oct 2017 14:41:40 +0100 Subject: [PATCH 128/433] Add definitions for koa-logger-winston (#20278) --- types/koa-logger-winston/index.d.ts | 16 ++++++++++++++ .../koa-logger-winston-tests.ts | 6 +++++ types/koa-logger-winston/tsconfig.json | 22 +++++++++++++++++++ types/koa-logger-winston/tslint.json | 1 + 4 files changed, 45 insertions(+) create mode 100644 types/koa-logger-winston/index.d.ts create mode 100644 types/koa-logger-winston/koa-logger-winston-tests.ts create mode 100644 types/koa-logger-winston/tsconfig.json create mode 100644 types/koa-logger-winston/tslint.json diff --git a/types/koa-logger-winston/index.d.ts b/types/koa-logger-winston/index.d.ts new file mode 100644 index 0000000000..687c3494fa --- /dev/null +++ b/types/koa-logger-winston/index.d.ts @@ -0,0 +1,16 @@ +// Type definitions for koa-logger-winston 0.0 +// Project: https://github.com/selbyk/koa-logger-winston#readme +// Definitions by: Steve Hipwell <https://github.com/stevehipwell> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// <reference types="node"/> + +import { Middleware } from 'koa'; +import { LoggerInstance } from 'winston'; + +export = logger; + +declare function logger(logger: LoggerInstance): Middleware; + +declare namespace logger { +} diff --git a/types/koa-logger-winston/koa-logger-winston-tests.ts b/types/koa-logger-winston/koa-logger-winston-tests.ts new file mode 100644 index 0000000000..44b9047b86 --- /dev/null +++ b/types/koa-logger-winston/koa-logger-winston-tests.ts @@ -0,0 +1,6 @@ +import * as koa from 'koa'; +import * as logger from 'koa-logger-winston'; +import * as winston from 'winston'; + +const app = new koa(); +app.use(logger(new winston.Logger())); diff --git a/types/koa-logger-winston/tsconfig.json b/types/koa-logger-winston/tsconfig.json new file mode 100644 index 0000000000..0cd24d7f45 --- /dev/null +++ b/types/koa-logger-winston/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "koa-logger-winston-tests.ts" + ] +} diff --git a/types/koa-logger-winston/tslint.json b/types/koa-logger-winston/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/koa-logger-winston/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 9586525670059440bebd0a1dc5ef90141bb45089 Mon Sep 17 00:00:00 2001 From: Pete Vilter <7341+vilterp@users.noreply.github.com> Date: Wed, 4 Oct 2017 09:43:18 -0400 Subject: [PATCH 129/433] Add dagre-layout (#20257) Types and tests copied from `dagre`, since `dagre-layout` is a drop-in replacement for it. --- types/dagre-layout/dagre-layout-tests.ts | 10 +++++ types/dagre-layout/index.d.ts | 51 ++++++++++++++++++++++++ types/dagre-layout/tsconfig.json | 22 ++++++++++ types/dagre-layout/tslint.json | 1 + 4 files changed, 84 insertions(+) create mode 100644 types/dagre-layout/dagre-layout-tests.ts create mode 100644 types/dagre-layout/index.d.ts create mode 100644 types/dagre-layout/tsconfig.json create mode 100644 types/dagre-layout/tslint.json diff --git a/types/dagre-layout/dagre-layout-tests.ts b/types/dagre-layout/dagre-layout-tests.ts new file mode 100644 index 0000000000..4a6e787496 --- /dev/null +++ b/types/dagre-layout/dagre-layout-tests.ts @@ -0,0 +1,10 @@ +import * as dagre from "dagre-layout"; + +const graph = new dagre.graphlib.Graph(); +graph.setGraph({}) + .setDefaultEdgeLabel(() => ({})) + .setNode("a", {}) + .setEdge("b", "c") + .setEdge("c", "d", {class: "class"}); + +dagre.layout(graph); diff --git a/types/dagre-layout/index.d.ts b/types/dagre-layout/index.d.ts new file mode 100644 index 0000000000..71361331de --- /dev/null +++ b/types/dagre-layout/index.d.ts @@ -0,0 +1,51 @@ +// Type definitions for dagre-layout 0.8 +// Project: https://github.com/tylingsoft/dagre-layout#readme +// Definitions by: Qinfeng Chen <https://github.com/qinfchen> +// Lisa Vallfors <https://github.com/Frankrike> +// Pete Vilter <https://github.com/vilterp> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 +// copied from definitions for dagre, since dagre-layout is a drop-in replacement + +export namespace graphlib { + class Graph { + edges(): Edge[]; + edge(id: any): any; + nodes(): string[]; + node(id: any): any; + setDefaultEdgeLabel(callback: string|(() => string|object)): Graph; + setDefaultNodeLabel(callback: string|(() => string|object)): Graph; + setEdge(sourceId: string, targetId: string, options?: { [key: string]: any }, value?: string): Graph; + setEdge(params: {v: string, w: string, name?: string}, value?: string): Graph; + setGraph(label: GraphLabel): Graph; + setNode(id: string, node: { [key: string]: any }): Graph; + graph(): GraphLabel; + + constructor(opt?: {directed?: boolean, multigraph?: boolean, compound?: boolean}); + setParent(name: string, parentName: string): void; + hasNode(name: string): boolean; + } +} + +export interface GraphLabel { + width?: number; + height?: number; + compound?: boolean; + rankdir?: string; + align?: string; + nodesep?: number; + edgesep?: number; + ranksep?: number; + marginx?: number; + marginy?: number; + acyclicer?: string; + ranker?: string; +} + +export function layout(graph: graphlib.Graph): void; + +export interface Edge { + v: string; + w: string; + name?: string; +} diff --git a/types/dagre-layout/tsconfig.json b/types/dagre-layout/tsconfig.json new file mode 100644 index 0000000000..060af9fbc5 --- /dev/null +++ b/types/dagre-layout/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "dagre-layout-tests.ts" + ] +} diff --git a/types/dagre-layout/tslint.json b/types/dagre-layout/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/dagre-layout/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From ed00ecbde0c33e4bc80e313a4282aa4126364e79 Mon Sep 17 00:00:00 2001 From: wagich <michael@wagnergraphics.ch> Date: Wed, 4 Oct 2017 15:45:41 +0200 Subject: [PATCH 130/433] accepts null as array value when settings slider value (#20132) --- types/nouislider/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/nouislider/index.d.ts b/types/nouislider/index.d.ts index a429681742..4389b87d49 100644 --- a/types/nouislider/index.d.ts +++ b/types/nouislider/index.d.ts @@ -187,7 +187,7 @@ declare namespace noUiSlider { * will also accept arrays. Within an array, you can set one position to null * if you want to leave a handle unchanged. */ - set(value: number | number[]): void; + set(value: number | (number | null)[]): void; /** * To return to the initial slider values, you can use the .reset() method. This will only reset the slider values. */ From b60783a6ef041bfa6a5b7f30ad120adc70ab5608 Mon Sep 17 00:00:00 2001 From: Windson Yan <yankaifyyy@163.com> Date: Wed, 4 Oct 2017 21:47:14 +0800 Subject: [PATCH 131/433] Fix the parameter list of blend method, accept `dodge` instead of `dogde` (#20129) --- types/chroma-js/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/chroma-js/index.d.ts b/types/chroma-js/index.d.ts index 41f7a36785..f826c8f254 100644 --- a/types/chroma-js/index.d.ts +++ b/types/chroma-js/index.d.ts @@ -109,7 +109,7 @@ declare namespace chroma { * Blends two colors using RGB channel-wise blend functions. */ blend(color1: string | Color, color2: string | Color, - blendMode: 'multiply' | 'darken' | 'lighten' | 'screen' | 'overlay' | 'burn' | 'dogde'): Color; + blendMode: 'multiply' | 'darken' | 'lighten' | 'screen' | 'overlay' | 'burn' | 'dodge'): Color; /** * Returns a random color. From 53ad6b825c0154f72a83667fa3da01ea15cdacb9 Mon Sep 17 00:00:00 2001 From: Ashish Gaurav <ashishgaurav.iitd@gmail.com> Date: Wed, 4 Oct 2017 19:44:44 +0530 Subject: [PATCH 132/433] [dygraphs] Update legend option type (#20260) * [dygraphs] update legend option - add `never` to list of allowed string values for `legend` option - ref: http://dygraphs.com/tests/legend-values.html * [dygraphs] version update - to publish new @types/dygraph package on npm * [dygraphs] Updating comment for legend option - adding comment for 'never' legend style. * [dygraphs] correcting author url --- types/dygraphs/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/dygraphs/index.d.ts b/types/dygraphs/index.d.ts index 33db704b3b..c8617b18fc 100644 --- a/types/dygraphs/index.d.ts +++ b/types/dygraphs/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for dygraphs 1.1.2 +// Type definitions for dygraphs 1.1.3 // Project: http://dygraphs.com -// Definitions by: Dan Vanderkam <http://danvk.org> +// Definitions by: Dan Vanderkam <https://github.com/danvk> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference types="google.visualization" /> @@ -595,9 +595,9 @@ declare namespace dygraphs { /** * When to display the legend. By default, it only appears when a user mouses over the chart. * Set it to "always" to always display a legend of some sort. When set to "follow", legend - * follows highlighted points. + * follows highlighted points. If set to 'never' then it will not appear at all. */ - legend?: 'always' | 'follow' | 'onmouseover'; + legend?: 'always' | 'follow' | 'onmouseover' | 'never'; /** * for details see https://github.com/danvk/dygraphs/pull/683 From 8835a0051e11e2f602e1989e492a97880a748d07 Mon Sep 17 00:00:00 2001 From: Kismet31 <mike_lerman@yahoo.com> Date: Wed, 4 Oct 2017 11:52:35 -0400 Subject: [PATCH 133/433] AuthorizeConfig.include_granted_scope is S-less (#20289) As per the documentation for authorize.AuthorizeConfig, include_granted_scopes parameter should include an s. --- types/gapi.auth2/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/gapi.auth2/index.d.ts b/types/gapi.auth2/index.d.ts index 4cdef77a80..c5cfff0d9e 100644 --- a/types/gapi.auth2/index.d.ts +++ b/types/gapi.auth2/index.d.ts @@ -208,7 +208,7 @@ declare namespace gapi.auth2 { login_hint?: string; app_package_name?: string; openid_realm?: string; - include_granted_scope?: boolean; + include_granted_scopes?: boolean; } /** From e07dba0a0e041fb1093675b8afdb50404a5eb353 Mon Sep 17 00:00:00 2001 From: Wolfgang Faust <wolfgang42@users.noreply.github.com> Date: Wed, 4 Oct 2017 12:09:50 -0400 Subject: [PATCH 134/433] Add type definitions for object-map. (#20114) * Add type definitions for object-map. * Rename object-map's type variables. Per suggestion from @plantain-00 * object-map: Declare TThis type for thisArg. Per suggestion from @andy-ms. --- types/object-map/index.d.ts | 12 ++++++++++++ types/object-map/object-map-tests.ts | 18 ++++++++++++++++++ types/object-map/tsconfig.json | 22 ++++++++++++++++++++++ types/object-map/tslint.json | 1 + 4 files changed, 53 insertions(+) create mode 100644 types/object-map/index.d.ts create mode 100644 types/object-map/object-map-tests.ts create mode 100644 types/object-map/tsconfig.json create mode 100644 types/object-map/tslint.json diff --git a/types/object-map/index.d.ts b/types/object-map/index.d.ts new file mode 100644 index 0000000000..d6d0a0b59b --- /dev/null +++ b/types/object-map/index.d.ts @@ -0,0 +1,12 @@ +// Type definitions for object-map 1.0 +// Project: https://github.com/xixixao/object-map +// Definitions by: Wolfgang Faust <https://github.com/wolfgang42> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +declare function objectMap<TInput, TOutput, TThis>( + target: {[k: string]: TInput}, + callback: (this: TThis, currentValue: TInput, key: string, object: {[k: string]: TInput}) => TOutput, + thisArg?: TThis +): {[k: string]: TOutput}; + +export = objectMap; diff --git a/types/object-map/object-map-tests.ts b/types/object-map/object-map-tests.ts new file mode 100644 index 0000000000..7bceef8c62 --- /dev/null +++ b/types/object-map/object-map-tests.ts @@ -0,0 +1,18 @@ +import objectMap = require('object-map'); + +const obj = {foo: 7, bar: 3, baz: -1}; + +let total = 0; +const keys: string[] = []; +objectMap(obj, (val, key) => { + total += val; + keys.push(key); +}); + +const myThis = { + mul: 2, + count: 0, +}; +objectMap(obj, function(val, key) { + this.count += this.mul * val; +}, myThis); diff --git a/types/object-map/tsconfig.json b/types/object-map/tsconfig.json new file mode 100644 index 0000000000..1282cdab5b --- /dev/null +++ b/types/object-map/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "object-map-tests.ts" + ] +} diff --git a/types/object-map/tslint.json b/types/object-map/tslint.json new file mode 100644 index 0000000000..4e88071852 --- /dev/null +++ b/types/object-map/tslint.json @@ -0,0 +1 @@ +{"extends": "dtslint/dt.json"} From 5069d22d336cffd697ddf6bc6ca59c144d22e259 Mon Sep 17 00:00:00 2001 From: James Hulse <jameshulse@users.noreply.github.com> Date: Wed, 4 Oct 2017 18:59:28 +0100 Subject: [PATCH 135/433] @types/connect-mongo Add Promise constructor and fix spelling mistake (#20178) * Added Promise constructor and fixed spelling mistake * Fix spacing * Merged types in constructor and added test --- types/connect-mongo/connect-mongo-tests.ts | 8 ++++++++ types/connect-mongo/index.d.ts | 10 ++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/types/connect-mongo/connect-mongo-tests.ts b/types/connect-mongo/connect-mongo-tests.ts index a512d7dc71..67caed7c27 100644 --- a/types/connect-mongo/connect-mongo-tests.ts +++ b/types/connect-mongo/connect-mongo-tests.ts @@ -43,3 +43,11 @@ app.use(session({ secret: 'secret', store: new MongoStore({db: mongoDb}) })); + +// NativeMongoPromiseOptions +var Client = mongodb.MongoClient; +var mongoDbPromise = Client.connect('mongodb://localhost/test'); +app.use(session({ + secret: 'secret', + store: new MongoStore({ dbPromise: mongoDbPromise}) +})); diff --git a/types/connect-mongo/index.d.ts b/types/connect-mongo/index.d.ts index 0b7443f7e1..6f71906fa5 100644 --- a/types/connect-mongo/index.d.ts +++ b/types/connect-mongo/index.d.ts @@ -91,14 +91,16 @@ declare namespace connectMongo { mongooseConnection: mongoose.Connection; } - export interface NaitiveMongoOptions extends DefaultOptions { + export interface NativeMongoOptions extends DefaultOptions { db: mongodb.Db; } + export interface NativeMongoPromiseOptions extends DefaultOptions { + dbPromise: Promise<mongodb.Db>; + } + export interface MongoStoreFactory { - new (options: MongoUrlOptions): MongoStore; - new (options: MogooseConnectionOptions): MongoStore; - new (options: NaitiveMongoOptions): MongoStore; + new(options: MongoUrlOptions | MogooseConnectionOptions | NativeMongoOptions | NativeMongoPromiseOptions): MongoStore; } export class MongoStore extends session.Store { From 4db63fa1d820d56b3e71cfe3d2611a6fa3b6899e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rohan=20B=C3=BCchner?= <rohan-buchner@users.noreply.github.com> Date: Wed, 4 Oct 2017 19:59:41 +0200 Subject: [PATCH 136/433] disableOverlayClick was added to base lib (#20285) Added this property typing to allow usage of said property on base --- types/react-burger-menu/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/react-burger-menu/index.d.ts b/types/react-burger-menu/index.d.ts index 7368c335e2..2cfe6aaa4e 100644 --- a/types/react-burger-menu/index.d.ts +++ b/types/react-burger-menu/index.d.ts @@ -19,6 +19,7 @@ export interface Props { menuClassName?: string; morphShapeClassName?: string; noOverlay?: boolean; + disableOverlayClick?: boolean; onStateChange?(): void; // TODO (Rajab) This can be improved, though I do not know how. From PropTypes: // styles && styles.outerContainer ? PropTypes.string.isRequired : PropTypes.string From f3938cf13e3709bc102a5311b88f0d08143c86e5 Mon Sep 17 00:00:00 2001 From: "Remo H. Jansen" <remo.jansen@wolksoftware.com> Date: Wed, 4 Oct 2017 19:00:04 +0100 Subject: [PATCH 137/433] Added styling options to ReferenceArea element (#20281) * Added styling options to ReferenceArea element * Added code review changes * Added code review changes * Added code review changes --- types/recharts/index.d.ts | 6 +++++- types/recharts/recharts-tests.tsx | 8 +++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/types/recharts/index.d.ts b/types/recharts/index.d.ts index b6aa236663..e9a584dc1a 100644 --- a/types/recharts/index.d.ts +++ b/types/recharts/index.d.ts @@ -24,6 +24,10 @@ export type ScaleType = 'auto' | 'linear' | 'pow' | 'sqrt' | 'log' | 'identity' export type PositionType = 'top' | 'left' | 'right' | 'bottom' | 'inside' | 'outside'| 'insideLeft' | 'insideRight' | 'insideTop' | 'insideBottom' | 'insideTopLeft' | 'insideBottomLeft' | 'insideTopRight' | 'insideBottomRight' | 'insideStart' | 'insideEnd' | 'end' | 'center'; +export type PartialAndNumber<T> = { + [P in keyof T]?: number | T[P]; +}; + export interface Margin { top: number; right: number; @@ -535,7 +539,7 @@ export interface RectangleProps extends Partial<CSSStyleDeclaration> { export class Rectangle extends React.Component<RectangleProps> { } -export interface ReferenceAreaProps { +export interface ReferenceAreaProps extends PartialAndNumber<CSSStyleDeclaration> { xAxisId?: string | number; yAxisId?: string | number; x1?: number | string; diff --git a/types/recharts/recharts-tests.tsx b/types/recharts/recharts-tests.tsx index 5c370e042c..9951fc775b 100644 --- a/types/recharts/recharts-tests.tsx +++ b/types/recharts/recharts-tests.tsx @@ -23,7 +23,13 @@ const Component = (props: {}) => { <Line type="monotone" dataKey="pv" stroke="#82ca9d" /> <Tooltip /> <ReferenceLine /> - <ReferenceArea /> + <ReferenceArea + stroke="red" + fill="red" + y2={1} + strokeOpacity={0.2} + fillOpacity={0.1} + /> </LineChart> ); }; From c7380aece7c24345b7126f90362c27ab883c251a Mon Sep 17 00:00:00 2001 From: Eric Lam <ericlam51@gmail.com> Date: Wed, 4 Oct 2017 14:02:39 -0400 Subject: [PATCH 138/433] Update @type/enzyme to include hostNodes() (#20291) --- types/enzyme/enzyme-tests.tsx | 8 ++++++++ types/enzyme/index.d.ts | 16 ++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/types/enzyme/enzyme-tests.tsx b/types/enzyme/enzyme-tests.tsx index b33297a938..63e716c50b 100644 --- a/types/enzyme/enzyme-tests.tsx +++ b/types/enzyme/enzyme-tests.tsx @@ -109,6 +109,10 @@ function ShallowWrapperTest() { const diveWrapper: ShallowWrapper<TmpProps, TmpState> = shallowWrapper.dive<TmpProps, TmpState>({ context: { foobar: 'barfoo' } }); } + function test_hostNodes() { + shallowWrapper.hostNodes(); + } + function test_equals() { boolVal = shallowWrapper.equals(<div className="foo bar" />); } @@ -425,6 +429,10 @@ function ReactWrapperTest() { reactWrapper.detach(); } + function test_hostNodes() { + reactWrapper.hostNodes(); + } + function test_find() { elementWrapper = reactWrapper.find('.selector'); reactWrapper = reactWrapper.find(MyComponent); diff --git a/types/enzyme/index.d.ts b/types/enzyme/index.d.ts index 7dff0d519d..0659bed99f 100644 --- a/types/enzyme/index.d.ts +++ b/types/enzyme/index.d.ts @@ -432,6 +432,14 @@ export interface ShallowWrapper<P = {}, S = {}> extends CommonWrapper<P, S> { */ dive<P2, S2>(options?: ShallowRendererProps): ShallowWrapper<P2, S2>; + /** + * Strips out all the not host-nodes from the list of nodes + * + * This method is useful if you want to check for the presence of host nodes + * (actually rendered HTML elements) ignoring the React nodes. + */ + hostNodes(): ShallowWrapper<HTMLAttributes>; + /** * Returns a wrapper around all of the parents/ancestors of the wrapper. Does not include the node in the * current wrapper. Optionally, a selector can be provided and it will filter the parents by this selector. @@ -490,6 +498,14 @@ export interface ReactWrapper<P = {}, S = {}> extends CommonWrapper<P, S> { */ detach(): void; + /** + * Strips out all the not host-nodes from the list of nodes + * + * This method is useful if you want to check for the presence of host nodes + * (actually rendered HTML elements) ignoring the React nodes. + */ + hostNodes(): ReactWrapper<HTMLAttributes>; + /** * Find every node in the render tree that matches the provided selector. * @param selector The selector to match. From 19de2783df3af1406721d7bc34e7bfd5c71a642a Mon Sep 17 00:00:00 2001 From: Oz Weiss <thewizarodofoz@gmail.com> Date: Wed, 4 Oct 2017 21:03:19 +0300 Subject: [PATCH 139/433] OAuthOptions.body_hash (#20182) --- types/request/index.d.ts | 1 + types/request/request-tests.ts | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/types/request/index.d.ts b/types/request/index.d.ts index ea666a033b..e3c420efa8 100644 --- a/types/request/index.d.ts +++ b/types/request/index.d.ts @@ -288,6 +288,7 @@ declare namespace request { token_secret?: string; transport_method?: 'body' | 'header' | 'query'; verifier?: string; + body_hash?: true | string } export interface HawkOptions { diff --git a/types/request/request-tests.ts b/types/request/request-tests.ts index f6a8dff9f8..50a9d19637 100644 --- a/types/request/request-tests.ts +++ b/types/request/request-tests.ts @@ -9,6 +9,7 @@ import FormData = require('form-data'); var value: any; var str: string; var strOrUndef: string | undefined; +var strOrTrueOrUndef: string | true | undefined; var buffer: NodeBuffer = new Buffer('foo'); var num: number = 0; var bool: boolean; @@ -76,7 +77,7 @@ var aws: request.AWSOptions = { secret: 'foo' }; str = aws.secret; strOrUndef = aws.bucket; -var oauth: request.OAuthOptions = {}; +var oauth: request.OAuthOptions = { body_hash: 'foo' }; strOrUndef = oauth.callback; strOrUndef = oauth.consumer_key; strOrUndef = oauth.consumer_secret; @@ -84,6 +85,7 @@ strOrUndef = oauth.token; strOrUndef = oauth.token_secret; strOrUndef = oauth.transport_method; strOrUndef = oauth.verifier; +strOrTrueOrUndef = oauth.body_hash; var options: request.Options = { url: str, From 3262769148b30d204dd4c27baffe2ee389626e0a Mon Sep 17 00:00:00 2001 From: Marvin Hagemeister <marvin@marvinhagemeister.de> Date: Wed, 4 Oct 2017 20:04:35 +0200 Subject: [PATCH 140/433] puppeteer: Fix wrong boolean type (#20125) --- types/puppeteer/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/puppeteer/index.d.ts b/types/puppeteer/index.d.ts index 84232a1aef..fabd9060ed 100644 --- a/types/puppeteer/index.d.ts +++ b/types/puppeteer/index.d.ts @@ -125,8 +125,8 @@ export interface PDFOptions { path?: string; scale?: number; displayHeaderFooter?: boolean; - printBackground?: false; - landscape?: false; + printBackground?: boolean; + landscape?: boolean; /** * Paper ranges to print, e.g., '1-5, 8, 11-13'. Defaults to the empty * string, which means print all pages. From 5669dfcdbc0e205028d3390b1c5db110c823e0a3 Mon Sep 17 00:00:00 2001 From: wd39 <ChernenkoPaul@users.noreply.github.com> Date: Wed, 4 Oct 2017 20:14:33 +0200 Subject: [PATCH 141/433] Adding type definitions for url-parse npm package (#20233) * Adding typings for url-parse * Fixup! import URLSearchParams types * Adding typings for parse function * Changes to tsconfig and tslint * Fixes to the type definitions * Adding missing tslint file * Fixing the typos in the header * Exporting object in a diferent way, adding one more constructor signature and relevant tests * Removing unnecessary lines from typedef --- types/url-parse/index.d.ts | 52 ++++++++++++++++++++++++++++++ types/url-parse/tsconfig.json | 23 +++++++++++++ types/url-parse/tslint.json | 1 + types/url-parse/url-parse-tests.ts | 18 +++++++++++ 4 files changed, 94 insertions(+) create mode 100644 types/url-parse/index.d.ts create mode 100644 types/url-parse/tsconfig.json create mode 100644 types/url-parse/tslint.json create mode 100644 types/url-parse/url-parse-tests.ts diff --git a/types/url-parse/index.d.ts b/types/url-parse/index.d.ts new file mode 100644 index 0000000000..ce8f3647c2 --- /dev/null +++ b/types/url-parse/index.d.ts @@ -0,0 +1,52 @@ +// Type definitions for url-parse 1.1 +// Project: https://github.com/unshiftio/url-parse +// Definitions by: Pavlo Chernenko <https://github.com/ChernenkoPaul> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 + +import URLSearchParams = require("url-search-params"); + +type UrlQueryParamsParser = (url: string) => string; + +declare class URL { + readonly auth: string; + readonly hash: string; + readonly host: string; + readonly hostname: string; + readonly href: string; + readonly origin: string; + readonly password: string; + readonly pathname: string; + readonly port: string; + readonly protocol: string; + query: { [key: string]: string | undefined }; + readonly search: string; + set(property: string, value: string | object | number | undefined): URL; + readonly slashes: boolean; + readonly username: string; + readonly searchParams: URLSearchParams; + toString(): string; +} + +type ParseFunctionNodeType = (url: string, parseQueryString?: boolean, slashesDenoteHost?: boolean) => URL; +type ParseFunctionType = (url: string, baseURL?: object | string, parser?: boolean | UrlQueryParamsParser) => URL; + +interface Protocol { + slashes: boolean; + protocol: string; + rest: string; +} + +type ExtractProtocolFunctionType = (url: string) => Protocol; + +type LocationFunctionType = (url: string) => string; + +interface ExtendedParseFunctionType extends ParseFunctionNodeType, ParseFunctionType { + extractProtocol: ExtractProtocolFunctionType; + location: LocationFunctionType; + qs: any; +} + +declare const parse: ExtendedParseFunctionType; + +export = parse; diff --git a/types/url-parse/tsconfig.json b/types/url-parse/tsconfig.json new file mode 100644 index 0000000000..2847a21a41 --- /dev/null +++ b/types/url-parse/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "url-parse-tests.ts" + ] +} \ No newline at end of file diff --git a/types/url-parse/tslint.json b/types/url-parse/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/url-parse/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } diff --git a/types/url-parse/url-parse-tests.ts b/types/url-parse/url-parse-tests.ts new file mode 100644 index 0000000000..48b2fa016d --- /dev/null +++ b/types/url-parse/url-parse-tests.ts @@ -0,0 +1,18 @@ +import parse = require("url-parse"); + +const url1 = new URL("foo/bar", "https://github.com/"); +const url2 = parse("https://github.com/foo/bar?baz=true"); +const url3 = parse("https://github.com/foo/bar", true, true); +const url4 = parse("foo/bar", "https://github.com/"); +const url5 = parse("foo/bar", "https://github.com/", () => "queryParserOverride"); + +url2.hash; +url2.hostname; +url2.query.baz; + +url3.slashes; +url3.set("protocol", "http://"); + +parse.extractProtocol("https://github.com/foo/bar"); +parse.location("https://github.com/foo/bar"); +parse.qs; From b3083c9d2ca4c3aa2d4b828ec697096fb7411226 Mon Sep 17 00:00:00 2001 From: Fedor Kirpichev <kirpichel@gmail.com> Date: Wed, 4 Oct 2017 21:16:16 +0300 Subject: [PATCH 142/433] Updated package name for newer versions of Atmosphere package (#20100) * Updated package name for newer versions of Atmosphere * Fixed header * Created new folder for atmosphere typings and placed deprecation comments. * Fixed tests name * Fixed name in tsconfig --- types/atmosphere.js/atmosphere.js-tests.ts | 46 +++++++++ types/atmosphere.js/index.d.ts | 110 +++++++++++++++++++++ types/atmosphere.js/tsconfig.json | 23 +++++ types/atmosphere/index.d.ts | 5 +- 4 files changed, 183 insertions(+), 1 deletion(-) create mode 100644 types/atmosphere.js/atmosphere.js-tests.ts create mode 100644 types/atmosphere.js/index.d.ts create mode 100644 types/atmosphere.js/tsconfig.json diff --git a/types/atmosphere.js/atmosphere.js-tests.ts b/types/atmosphere.js/atmosphere.js-tests.ts new file mode 100644 index 0000000000..b353c2c947 --- /dev/null +++ b/types/atmosphere.js/atmosphere.js-tests.ts @@ -0,0 +1,46 @@ + + +var socket = atmosphere; + +var request1:Atmosphere.Request = new atmosphere.AtmosphereRequest(); + +request1.url = document.location.toString() + 'chat'; +request1.contentType = "application/json"; +request1.transport = 'websocket'; +request1.fallbackTransport = 'long-polling'; + +var request2:Atmosphere.Request = { + url: 'http://localhost:8080/chat', + contentType: "application/json", + logLevel: 'debug', + transport: 'websocket', + fallbackTransport: 'long-polling' +}; + +request1.onError = function (response?:Atmosphere.Response) {}; +request1.onClose = function (response?:Atmosphere.Response) {}; +request1.onOpen = function (response?:Atmosphere.Response) {}; +request1.onMessage = function (response:Atmosphere.Response) {}; +request1.onReopen = function (request?:Atmosphere.Request, response?:Atmosphere.Response) {}; +request1.onReconnect = function (request?:Atmosphere.Request, response?:Atmosphere.Response) {}; +request1.onMessagePublished = function (response?:Atmosphere.Response) {}; +request1.onTransportFailure = function (reason?:string, response?:Atmosphere.Response) {}; +request1.onLocalMessage = function (request?:Atmosphere.Request) {}; +request1.onFailureToReconnect = function (request?:Atmosphere.Request, response?:Atmosphere.Response) {}; +request1.onClientTimeout = function (request?:Atmosphere.Request) {}; + +request1.subscribe = function (options:Atmosphere.Request) {}; +request1.execute = function () {}; +request1.close = function () {}; +request1.disconnect = function () {}; +request1.getUrl = function ():string { return "http://www.toedter.com" }; +request1.push = function (message:string, dispatchUrl?:string) {}; +request1.getUUID = function () {}; +request1.pushLocal = function (message:string) {}; + +var subSocket:Atmosphere.Request = socket.subscribe(request1); +var subSocket2:Atmosphere.Request = socket.subscribe('http://chat.com', function() {}, request2); +subSocket2.close(); + +subSocket.push("test"); +socket.unsubscribe(); \ No newline at end of file diff --git a/types/atmosphere.js/index.d.ts b/types/atmosphere.js/index.d.ts new file mode 100644 index 0000000000..0c0bfa3c3a --- /dev/null +++ b/types/atmosphere.js/index.d.ts @@ -0,0 +1,110 @@ +// Type definitions for Atmosphere v2.1.5 +// Project: https://github.com/Atmosphere/atmosphere-javascript +// Definitions by: Kai Toedter <https://github.com/toedter> +// Fedor Kirpichev <https://github.com/Mory1879> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +// Use this typings in future instead of deprecated 'atmosphere'. + +declare namespace Atmosphere { + interface Atmosphere { + /** + * The atmosphere API is a little bit special here: the first parameter can either be + * a URL string or a Request object. If it is a URL string, then the additional parameters are expected. + */ + subscribe?: (requestOrUrl:any, callback?:Function, request?:Request) => Request; + unsubscribe?: () => void; + + AtmosphereRequest?: AtmosphereRequest; + } + + // needed to fit JavaScript "new atmosphere.AtmosphereRequest()" + // and compile with --noImplicitAny + interface AtmosphereRequest { + new(): Request; + } + + interface Request { + timeout?: number; + method?: string; + headers?: any; + contentType?: string; + callback?: Function; + url?: string; + data?: string; + suspend?: boolean; + maxRequest?: number; + reconnect?: boolean; + maxStreamingLength?: number; + lastIndex?: number; + logLevel?: string; + requestCount?: number; + fallbackMethod?: string; + fallbackTransport?: string; + transport?: string; + webSocketImpl?: any; + webSocketBinaryType?: any; + dispatchUrl?: string; + webSocketPathDelimiter?: string; + enableXDR?: boolean; + rewriteURL?: boolean; + attachHeadersAsQueryString?: boolean; + executeCallbackBeforeReconnect?: boolean; + readyState?: number; + lastTimestamp?: number; + withCredentials?: boolean; + trackMessageLength?: boolean; + messageDelimiter?: string; + connectTimeout?: number; + reconnectInterval?: number; + dropHeaders?: boolean; + uuid?: string; + async?: boolean; + shared?: boolean; + readResponsesHeaders?: boolean; + maxReconnectOnClose?: number; + enableProtocol?: boolean; + pollingInterval?: number; + + onError?: (response?:Response) => void; + onClose?: (response?:Response) => void; + onOpen?: (response?:Response) => void; + onMessage?: (response:Response) => void; + onReopen?: (request?:Request, response?:Response) => void; + onReconnect?: (request?:Request, response?:Response) => void; + onMessagePublished?: (response?:Response) => void; + onTransportFailure?: (reason?:string, response?:Response) => void; + onLocalMessage?: (request?:Request) => void; + onFailureToReconnect?: (request?:Request, response?:Response) => void; + onClientTimeout?: (request?:Request) => void; + + subscribe?: (options:Request) => void; + execute?: () => void; + close?: () => void; + disconnect?: () => void; + getUrl?: () => string; + push?: (message:string, dispatchUrl?:string) => void; + getUUID?: () => void; + pushLocal?: (message:string) => void; + } + + interface Response { + status?: number; + reasonPhrase?: string; + responseBody?: string; + messages?: string[]; + headers?: string[]; + state?: string; + transport?: string; + error?: string; + request?: Request; + partialMessage?: string; + errorHandled?: boolean; + closedByClientTimeout?: boolean; + } +} + +declare var atmosphere:Atmosphere.Atmosphere; +declare module 'atmosphere.js' { + export = atmosphere; +} diff --git a/types/atmosphere.js/tsconfig.json b/types/atmosphere.js/tsconfig.json new file mode 100644 index 0000000000..8c2e633212 --- /dev/null +++ b/types/atmosphere.js/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "atmosphere.js-tests.ts" + ] +} \ No newline at end of file diff --git a/types/atmosphere/index.d.ts b/types/atmosphere/index.d.ts index 5e88c2c8fb..7b5565cb1d 100644 --- a/types/atmosphere/index.d.ts +++ b/types/atmosphere/index.d.ts @@ -1,8 +1,11 @@ // Type definitions for Atmosphere v2.1.5 // Project: https://github.com/Atmosphere/atmosphere-javascript -// Definitions by: Kai Toedter <https://github.com/toedter> +// Definitions by: Kai Toedter <https://github.com/toedter> +// Fedor Kirpichev <https://github.com/Mory1879> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// This is deprecated due to module name change. Please use 'atmosphere.js' for future development.. + declare namespace Atmosphere { interface Atmosphere { /** From 5071fcdcdd745e74b864ddddf5cc62ce8590a9a7 Mon Sep 17 00:00:00 2001 From: Tom Wanzek <tomwanzek@gmail.com> Date: Wed, 4 Oct 2017 16:58:26 -0400 Subject: [PATCH 143/433] [d3-geo] Update Definitions to Minor Version 1.8.x (#20270) * d3-geo * [FEATURE] Add definitions for per/post-clipping and clipping functions * [CHORE] Bump version number * d3-geo * Added tests for pre/post-clipping and clipping functions * d3-geo *[CHORE] Linting fixes. * d3-geo * [DOC] Improved wording of clipping function (generator) JSDoc comments --- types/d3-geo/d3-geo-tests.ts | 17 +++++++++ types/d3-geo/index.d.ts | 68 ++++++++++++++++++++++++++++++++++-- 2 files changed, 83 insertions(+), 2 deletions(-) diff --git a/types/d3-geo/d3-geo-tests.ts b/types/d3-geo/d3-geo-tests.ts index e4b242d856..4d423aa5a3 100644 --- a/types/d3-geo/d3-geo-tests.ts +++ b/types/d3-geo/d3-geo-tests.ts @@ -371,6 +371,13 @@ const inverted2: [number, number] = constructedProjection.invert([54, 2]); // TODO ????? // let stream: d3Geo.Stream = constructedProjection.stream([54, 2]); +const preClip: (stream: d3Geo.GeoStream) => d3Geo.GeoStream = constructedProjection.preclip(); +constructedProjection = constructedProjection.preclip(d3Geo.geoClipAntimeridian); +constructedProjection = constructedProjection.preclip(d3Geo.geoClipCircle(45)); + +const postClip: (stream: d3Geo.GeoStream) => d3Geo.GeoStream = constructedProjection.postclip(); +constructedProjection = constructedProjection.postclip(d3Geo.geoClipRectangle(0, 0, 1, 1)); + const clipAngle: number = constructedProjection.clipAngle(); constructedProjection = constructedProjection.clipAngle(null); constructedProjection = constructedProjection.clipAngle(45); @@ -686,3 +693,13 @@ d3Geo.geoStream(sampleExtendedFeature1, stream); d3Geo.geoStream(sampleExtendedFeature2, stream); d3Geo.geoStream(sampleFeatureCollection, stream); d3Geo.geoStream(sampleExtendedFeatureCollection, stream); + +// ---------------------------------------------------------------------- +// Clipping Function +// ---------------------------------------------------------------------- + +let clippingFunction: (stream: d3Geo.GeoStream) => d3Geo.GeoStream; + +clippingFunction = d3Geo.geoClipAntimeridian; +clippingFunction = d3Geo.geoClipCircle(45); +clippingFunction = d3Geo.geoClipRectangle(0, 0, 1, 1); diff --git a/types/d3-geo/index.d.ts b/types/d3-geo/index.d.ts index 42a8af43af..6860031224 100644 --- a/types/d3-geo/index.d.ts +++ b/types/d3-geo/index.d.ts @@ -1,9 +1,9 @@ -// Type definitions for D3JS d3-geo module 1.7 +// Type definitions for D3JS d3-geo module 1.8 // Project: https://github.com/d3/d3-geo/ // Definitions by: Hugues Stefanski <https://github.com/Ledragon>, Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// Last module patch version validated against: 1.7.1 +// Last module patch version validated against: 1.8.1 import * as GeoJSON from 'geojson'; @@ -645,6 +645,34 @@ export interface GeoProjection extends GeoStreamWrapper { */ center(point: [number, number]): this; + /** + * Returns the current spherical clipping function. + * Pre-clipping occurs in geographic coordinates. Cutting along the antimeridian line, + * or clipping along a small circle are the most common strategies. + */ + preclip(): (stream: GeoStream) => GeoStream; + /** + * Sets the projection’s spherical clipping to the specified function and returns the projection. + * Pre-clipping occurs in geographic coordinates. Cutting along the antimeridian line, or clipping along a small circle are the most common strategies. + * + * @param preclip A spherical clipping function. Clipping functions are implemented as transformations of a projection stream. + * Pre-clipping operates on spherical coordinates, in radians. + */ + preclip(preclip: (stream: GeoStream) => GeoStream): this; + + /** + * Returns the current cartesian clipping function. + * Post-clipping occurs on the plane, when a projection is bounded to a certain extent such as a rectangle. + */ + postclip(): (stream: GeoStream) => GeoStream; + /** + * Sets the projection’s cartesian clipping to the specified function and returns the projection. + * + * @param postclip A cartesian clipping function. Clipping functions are implemented as transformations of a projection stream. + * Post-clipping operates on planar coordinates, in pixels. + */ + postclip(postclip: (stream: GeoStream) => GeoStream): this; + /** * Returns the current clip angle which defaults to null. * @@ -653,6 +681,7 @@ export interface GeoProjection extends GeoStreamWrapper { clipAngle(): number | null; /** * Switches to antimeridian cutting rather than small-circle clipping. + * See also projection.preclip, d3.geoClipAntimeridian, d3.geoClipCircle. * * @param angle Set to null to switch to antimeridian cutting. */ @@ -661,6 +690,8 @@ export interface GeoProjection extends GeoStreamWrapper { * Sets the projection’s clipping circle radius to the specified angle in degrees and returns the projection. * Small-circle clipping is independent of viewport clipping via projection.clipExtent. * + * See also projection.preclip, d3.geoClipAntimeridian, d3.geoClipCircle. + * * @param angle Angle in degrees. */ clipAngle(angle: number): this; @@ -675,6 +706,8 @@ export interface GeoProjection extends GeoStreamWrapper { * * Viewport clipping is independent of small-circle clipping via projection.clipAngle. * + * See also projection.postclip, d3.geoClipRectangle. + * * @param extent Set to null to disable viewport clipping. */ clipExtent(extent: null): this; @@ -684,6 +717,8 @@ export interface GeoProjection extends GeoStreamWrapper { * * Viewport clipping is independent of small-circle clipping via projection.clipAngle. * + * See also projection.postclip, d3.geoClipRectangle. + * * @param extent The extent bounds are specified as an array [[x₀, y₀], [x₁, y₁]], where x₀ is the left-side of the viewport, y₀ is the top, x₁ is the right and y₁ is the bottom. */ clipExtent(extent: [[number, number], [number, number]]): this; @@ -1551,3 +1586,32 @@ export interface GeoIdentityTranform extends GeoStreamWrapper { * Returns the identity transform which can be used to scale, translate and clip planar geometry. */ export function geoIdentity(): GeoIdentityTranform; + +// ---------------------------------------------------------------------- +// Clipping Functions +// ---------------------------------------------------------------------- + +/** + * A clipping function transforming a stream such that geometries (lines or polygons) that cross the antimeridian line are cut in two, one on each side. + * Typically used for pre-clipping. + */ +export const geoClipAntimeridian: ((stream: GeoStream) => GeoStream); + +/** + * Generates a clipping function transforming a stream such that geometries are bounded by a small circle of radius angle around the projection’s center. + * Typically used for pre-clipping. + * + * @param angle + */ +export function geoClipCircle(angle: number): (stream: GeoStream) => GeoStream; + +/** + * Generates a clipping function transforming a stream such that geometries are bounded by a rectangle of coordinates [[x0, y0], [x1, y1]]. + * Typically used for post-clipping. + * + * @param x0 x0 coordinate. + * @param y0 y0 coordinate. + * @param x1 x1 coordinate. + * @param y1 y1 coordinate. + */ +export function geoClipRectangle(x0: number, y0: number, x1: number, y1: number): (stream: GeoStream) => GeoStream; From 1194b01799b90fc91b095241540021eb40838a5d Mon Sep 17 00:00:00 2001 From: Vincent Biret <vincentbiret@hotmail.com> Date: Wed, 4 Oct 2017 17:37:36 -0400 Subject: [PATCH 144/433] SharePoint - Switching all references to SP.ListItem to generic ones to improve compile type checks (#20202) * breaking change: leveraging generic types for SPListItem methods to improve compile time checks * updating header to respect format * replacing authors urls by github account to have automation work properly --- types/sharepoint/index.d.ts | 45 ++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/types/sharepoint/index.d.ts b/types/sharepoint/index.d.ts index 4c151aec4a..1db3cf560f 100644 --- a/types/sharepoint/index.d.ts +++ b/types/sharepoint/index.d.ts @@ -1,7 +1,10 @@ -// Type definitions for Microsoft SharePoint: 2013.1 +// Type definitions for Microsoft SharePoint: 2016.0 // Project: https://msdn.microsoft.com/en-us/library/office/jj193034.aspx -// Definitions by: Stanislav Vyshchepan <http:// blog.gandjustas.ru>, Andrey Markeev <http:// markeev.com>, Vincent Biret <https://github.com/baywet>, Tero Arvola <https://github.com/teroarvola> -// Definitions: https:// github.com/DefinitelyTyped/DefinitelyTyped +// Definitions by: Stanislav Vyshchepan <https://github.com/gandjustas> +// Andrey Markeev <https://github.com/andrei-markeev> +// Vincent Biret <https://github.com/baywet> +// Tero Arvola <https://github.com/teroarvola> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 /// <reference types="microsoft-ajax" /> @@ -3096,7 +3099,7 @@ declare namespace SP { set_validationFormula(value: string): void; get_validationMessage(): string; set_validationMessage(value: string): void; - validateSetValue(item: SP.ListItem, value: string): void; + validateSetValue<T = any>(item: SP.ListItem<T>, value: string): void; updateAndPushChanges(pushChangesToLists: boolean): void; update(): void; deleteObject(): void; @@ -3360,7 +3363,7 @@ declare namespace SP { get_length(): number; get_level(): SP.FileLevel; /** Specifies the SPListItem corresponding to this file if this file belongs to a doclib. Values for all fields are returned also. */ - get_listItemAllFields(): SP.ListItem; + get_listItemAllFields<T = any>(): SP.ListItem<T>; /** Returns the user that owns the current lock on the file. MUST return null if there is no lock. */ get_lockedByUser(): SP.User; /** Specifies the major version of the file. */ @@ -3466,7 +3469,7 @@ declare namespace SP { class Folder extends SP.ClientObject { get_contentTypeOrder(): SP.ContentTypeId[]; get_files(): SP.FileCollection; - get_listItemAllFields(): SP.ListItem; + get_listItemAllFields<T = any>(): SP.ListItem<T>; get_itemCount(): number; get_name(): string; get_parentFolder(): SP.Folder; @@ -3604,7 +3607,7 @@ declare namespace SP { /** Represents a list on a SharePoint Web site. */ class List<T = any> extends SP.SecurableObject { /** Gets item by id. */ - getItemById(id: number): SP.ListItem; + getItemById(id: number): SP.ListItem<T>; /** Gets a value that specifies whether the list supports content types. */ get_allowContentTypes(): boolean; /** Gets the list definition type on which the list is based. For lists based on OOTB list definitions, return value corresponds the SP.ListTemplateType enumeration. */ @@ -3816,7 +3819,7 @@ declare namespace SP { /** Returns collection of list items based on the specified CAML query. */ getItems(query: SP.CamlQuery): SP.ListItemCollection<T>; /** Creates a new list item in the list. */ - addItem(parameters: SP.ListItemCreationInformation): SP.ListItem; + addItem(parameters: SP.ListItemCreationInformation): SP.ListItem<T>; } /** Represents a collection of SP.List objects */ class ListCollection extends SP.ClientObjectCollection<List> { @@ -3970,9 +3973,9 @@ declare namespace SP { writeToXml(writer: SP.XmlWriter, serializationContext: SP.SerializationContext): void; constructor(); } - class ListItemEntityCollection extends SP.ClientObjectCollection<ListItem> { - itemAt(index: number): SP.ListItem; - get_item(index: number): SP.ListItem; + class ListItemEntityCollection<T> extends SP.ClientObjectCollection<ListItem<T>> { + itemAt(index: number): SP.ListItem<T>; + get_item(index: number): SP.ListItem<T>; } class ListItemFormUpdateValue extends SP.ClientValueObject { get_errorMessage(): string; @@ -5619,9 +5622,9 @@ declare namespace Microsoft.SharePoint.Client.Search { } class UsageAnalytics extends SP.ClientObject { - getAnalyticsItemData: (eventType: number, listItem: SP.ListItem) => AnalyticsItemData; + getAnalyticsItemData: <T = any>(eventType: number, listItem: SP.ListItem<T>) => AnalyticsItemData; - getAnalyticsItemDataForApplicationEventType: (appEventType: SP.Guid, listItem: SP.ListItem) => AnalyticsItemData; + getAnalyticsItemDataForApplicationEventType: <T = any>(appEventType: SP.Guid, listItem: SP.ListItem<T>) => AnalyticsItemData; deleteStandardEventUsageData: (eventType: number) => void; @@ -6869,11 +6872,11 @@ declare namespace SP { getFieldValueAsText(value: TaxonomyFieldValue): SP.StringResult; getFieldValueAsTaxonomyFieldValue(value: string): TaxonomyFieldValue; getFieldValueAsTaxonomyFieldValueCollection(value: string): TaxonomyFieldValueCollection; - setFieldValueByTerm(listItem: SP.ListItem, term: Term, lcid: number): void; - setFieldValueByTermCollection(listItem: SP.ListItem, terms: TermCollection, lcid: number): void; - setFieldValueByCollection(listItem: SP.ListItem, terms: Term[], lcid: number): void; - setFieldValueByValue(listItem: SP.ListItem, taxValue: TaxonomyFieldValue): void; - setFieldValueByValueCollection(listItem: SP.ListItem, taxValueCollection: TaxonomyFieldValueCollection): void; + setFieldValueByTerm<T = any>(listItem: SP.ListItem<T>, term: Term, lcid: number): void; + setFieldValueByTermCollection<T = any>(listItem: SP.ListItem<T>, terms: TermCollection, lcid: number): void; + setFieldValueByCollection<T = any>(listItem: SP.ListItem<T>, terms: Term[], lcid: number): void; + setFieldValueByValue<T = any>(listItem: SP.ListItem<T>, taxValue: TaxonomyFieldValue): void; + setFieldValueByValueCollection<T = any>(listItem: SP.ListItem<T>, taxValueCollection: TaxonomyFieldValueCollection): void; getFieldValueAsHtml(value: TaxonomyFieldValue): SP.StringResult; getValidatedString(value: TaxonomyFieldValue): SP.StringResult; } @@ -6941,7 +6944,7 @@ declare namespace SP { static createVideo(context: ClientContext, parentFolder: Folder, name: string, ctid: ContentTypeId): StringResult; static uploadVideo(context: ClientContext, list: List, fileName: string, file: any[], overwriteIfExists: boolean, parentFolderPath: string): StringResult; static getEmbedCode(context: ClientContext, videoPath: string, properties: EmbedCodeConfiguration): StringResult; - static migrateVideo(context: ClientContext, videoFile: File): SP.ListItem; + static migrateVideo<T = any>(context: ClientContext, videoFile: File): SP.ListItem<T>; } } } @@ -7922,8 +7925,8 @@ declare namespace SP { static logCustomAppError(context: SP.ClientRuntimeContext, error: string): SP.IntResult; static logCustomRemoteAppError(context: SP.ClientRuntimeContext, productId: SP.Guid, error: string): SP.IntResult; static getLocalizedString(context: SP.ClientRuntimeContext, source: string, defaultResourceFile: string, language: number): SP.StringResult; - static createNewDiscussion(context: SP.ClientRuntimeContext, list: SP.List, title: string): SP.ListItem; - static createNewDiscussionReply(context: SP.ClientRuntimeContext, parent: SP.ListItem): SP.ListItem; + static createNewDiscussion<T>(context: SP.ClientRuntimeContext, list: SP.List, title: string): SP.ListItem<T>; + static createNewDiscussionReply<T>(context: SP.ClientRuntimeContext, parent: SP.ListItem<T>): SP.ListItem<T>; static markDiscussionAsFeatured(context: SP.ClientRuntimeContext, listID: string, topicIDs: string): void; static unmarkDiscussionAsFeatured(context: SP.ClientRuntimeContext, listID: string, topicIDs: string): void; static searchPrincipals(context: SP.ClientRuntimeContext, web: SP.Web, input: string, scopes: SP.Utilities.PrincipalType, sources: SP.Utilities.PrincipalSource, usersContainer: SP.UserCollection, maxCount: number): SP.Utilities.PrincipalInfo[]; From 85fce904dd2f1195f64205137cf14e4e69d19a5e Mon Sep 17 00:00:00 2001 From: Glen M <glencfl@gmail.com> Date: Wed, 4 Oct 2017 23:07:52 -0400 Subject: [PATCH 145/433] Atom: support the new save* returns. (#20300) --- types/atom/README.md | 4 +-- types/atom/atom-tests.ts | 27 ++++++++++++++---- types/atom/index.d.ts | 56 ++++++++++++++++++++------------------ types/first-mate/README.md | 2 +- 4 files changed, 54 insertions(+), 35 deletions(-) diff --git a/types/atom/README.md b/types/atom/README.md index cb0b596665..ba2d52a6f4 100644 --- a/types/atom/README.md +++ b/types/atom/README.md @@ -1,12 +1,12 @@ ## Atom API Type Definitions -TypeScript type definitions for the [Atom Text Editor](https://atom.io/) public API, which is used to develop packages for the editor. Documentation for the public API can be found [here](https://atom.io/docs/api/v1.19.5/), though these type definitions include many types and class properties not mentioned within that documentation. +TypeScript type definitions for the [Atom Text Editor](https://atom.io/) public API, which is used to develop packages for the editor. Documentation for the public API can be found [here](https://atom.io/docs/api/v1.21.0/). ### Exports #### The "atom" Variable -These definitions declare a global static variable named "atom" as ambient. Once these definitions have been referenced within your project, you will be able to access properties and member functions from the [AtomEnvironment](https://atom.io/docs/api/v1.19.5/AtomEnvironment) class off of this variable, as it is an instance of that class. +These definitions declare a global static variable named "atom" as ambient. Once these definitions have been referenced within your project, you will be able to access properties and member functions from the [AtomEnvironment](https://atom.io/docs/api/v1.21.0/AtomEnvironment) class off of this variable, as it is an instance of that class. ```ts if (atom.inDevMode()) {} diff --git a/types/atom/atom-tests.ts b/types/atom/atom-tests.ts index 9e765025c8..0f9def0a68 100644 --- a/types/atom/atom-tests.ts +++ b/types/atom/atom-tests.ts @@ -926,10 +926,23 @@ async function destroyAndWait() { pane.destroyItems(); pane.destroyInactiveItems(); -pane.saveActiveItem(); -pane.saveActiveItemAs(() => {}); -pane.saveItem(element, () => {}); -pane.saveItemAs(element, () => {}); + +async function savePaneItem() { + await pane.saveActiveItem(); + let actionReturn = await pane.saveActiveItem(() => true); + if (actionReturn) bool = actionReturn; + + await pane.saveActiveItemAs(() => {}); + actionReturn = await pane.saveActiveItemAs(() => false); + + await pane.saveItem(element, () => {}); + let altActionReturn = await pane.saveItem(element, () => 42); + if (altActionReturn) num = altActionReturn; + + await pane.saveItemAs(element, () => {}); + altActionReturn = await pane.saveItemAs(element, () => 42); +} + pane.saveItems(); potentialItem = pane.itemForURI("https://test"); @@ -1265,8 +1278,10 @@ str = editor.getEncoding(); editor.setEncoding("utf8"); // File Operations -editor.save(); -editor.saveAs("test.file"); +async function saveEditor() { + await editor.save(); + await editor.saveAs("test.file"); +} // Reading Text str = editor.getText(); diff --git a/types/atom/index.d.ts b/types/atom/index.d.ts index 041084a91e..1cd564c19c 100644 --- a/types/atom/index.d.ts +++ b/types/atom/index.d.ts @@ -1706,20 +1706,24 @@ declare global { destroyInactiveItems(): void; /** Save the active item. */ - saveActiveItem(): void; + saveActiveItem<T = void>(nextAction?: (error?: Error) => T): + Promise<T>|undefined; /** Prompt the user for a location and save the active item with the path * they select. */ - saveActiveItemAs<T>(nextAction?: (error?: Error) => T): T|undefined; + saveActiveItemAs<T = void>(nextAction?: (error?: Error) => T): + Promise<T>|undefined; /** Save the given item. */ - saveItem<T>(item: object, nextAction?: (error?: Error) => T): T|undefined; + saveItem<T = void>(item: object, nextAction?: (error?: Error) => T): + Promise<T>|undefined; /** Prompt the user for a location and save the active item with the path * they select. */ - saveItemAs<T>(item: object, nextAction?: (error?: Error) => T): T|undefined; + saveItemAs<T = void>(item: object, nextAction?: (error?: Error) => T): + Promise<T>|undefined; /** Save all items. */ saveItems(): void; @@ -1809,7 +1813,7 @@ declare global { /** Return a Promise that will resolve when the underlying native watcher is * ready to begin sending events. */ - getStartPromise(): Promise<undefined>; + getStartPromise(): Promise<void>; /** Invokes a function when any errors related to this watcher are reported. */ onDidError(callback: (error: Error) => void): EventKit.Disposable; @@ -2391,12 +2395,12 @@ declare global { /** Saves the editor's text buffer. * See TextBuffer::save for more details. */ - save(): void; + save(): Promise<void>; /** Saves the editor's text buffer as the given path. * See TextBuffer::saveAs for more details. */ - saveAs(filePath: string): void; + saveAs(filePath: string): Promise<void>; // Reading Text /** Returns a string representing the entire contents of the editor. */ @@ -3551,7 +3555,7 @@ declare global { * hide them. Otherwise, open the URL. * Returns a Promise that resolves when the item is shown or hidden. */ - toggle(itemOrURI: object|string): Promise<undefined>; + toggle(itemOrURI: object|string): Promise<void>; /** Creates a new item that corresponds to the provided URI. * If no URI is given, or no registered opener can open the URI, a new empty TextEditor @@ -3719,7 +3723,7 @@ declare global { /** Performs a replace across all the specified files in the project. */ replace(regex: RegExp, replacementText: string, filePaths: ReadonlyArray<string>, iterator: (result: { filePath: string|undefined, replacements: number }) => void): - Promise<undefined>; + Promise<void>; } // https://github.com/atom/atom/blob/master/src/workspace-center.js @@ -3827,7 +3831,7 @@ declare global { namespace Atom { /** Objects that appear as parameters to callbacks. */ namespace Events { - // Atom Keymap ============================================================ + // Atom Keymap ========================================================== type FullKeybindingMatch = AtomKeymap.Events.FullKeybindingMatch; type PartialKeybindingMatch = AtomKeymap.Events.PartialKeybindingMatch; type FailedKeybindingMatch = AtomKeymap.Events.FailedKeybindingMatch; @@ -3835,11 +3839,11 @@ declare global { type KeymapLoaded = AtomKeymap.Events.KeymapLoaded; type AddedKeystrokeResolver = AtomKeymap.Events.AddedKeystrokeResolver; - // Path Watcher =========================================================== + // Path Watcher ========================================================= type PathWatchErrorThrown = PathWatcher.Events.PathWatchErrorThrown; type WatchedFilePathChanged = PathWatcher.Events.WatchedFilePathChanged; - // Text Buffer ============================================================ + // Text Buffer ========================================================== type BufferWatchError = TextBuffer.Events.BufferWatchError; type FileSaved = TextBuffer.Events.FileSaved; type MarkerChanged = TextBuffer.Events.MarkerChanged; @@ -3848,7 +3852,7 @@ declare global { type BufferStoppedChanging = TextBuffer.Events.BufferStoppedChanging; type DisplayMarkerChanged = TextBuffer.Events.DisplayMarkerChanged; - // Core =================================================================== + // Core ================================================================= type ExceptionThrown = AtomCore.Events.ExceptionThrown; type PreventableExceptionThrown = AtomCore.Events.PreventableExceptionThrown; type SelectionChanged = AtomCore.Events.SelectionChanged; @@ -3867,20 +3871,20 @@ declare global { /** Objects that appear as parameters to functions. */ namespace Options { - // Atom Keymap ============================================================ + // Atom Keymap ========================================================== type BuildKeyEvent = AtomKeymap.Options.BuildKeyEvent; - // First Mate ============================================================= + // First Mate =========================================================== type Grammar = FirstMate.Options.Grammar; - // Text Buffer ============================================================ + // Text Buffer ========================================================== type BufferLoad = TextBuffer.Options.BufferLoad; type CopyMarker = TextBuffer.Options.CopyMarker; type FindMarker = TextBuffer.Options.FindMarker; type FindDisplayMarker = TextBuffer.Options.FindDisplayMarker; type ScanContext = TextBuffer.Options.ScanContext; - // Core =================================================================== + // Core ================================================================= type TextInsertion = AtomCore.Options.TextInsertion; type Menu = AtomCore.Options.Menu; type ContextMenu = AtomCore.Options.ContextMenu; @@ -3895,17 +3899,17 @@ declare global { /** Data structures that are used within classes. */ namespace Structures { - // First Mate ============================================================= + // First Mate =========================================================== type GrammarToken = FirstMate.Structures.GrammarToken; type TokenizeLineResult = FirstMate.Structures.TokenizeLineResult; type GrammarRule = FirstMate.Structures.GrammarRule; - // Text Buffer ============================================================ + // Text Buffer ========================================================== type TextChange = TextBuffer.Structures.TextChange; type BufferScanResult = TextBuffer.Structures.BufferScanResult; type ContextualBufferScanResult = TextBuffer.Structures.ContextualBufferScanResult; - // Core =================================================================== + // Core ================================================================= type SharedDecorationProps = AtomCore.Structures.SharedDecorationProps; type DecorationProps = AtomCore.Structures.DecorationProps; type DecorationLayerProps = AtomCore.Structures.DecorationLayerProps; @@ -3915,7 +3919,7 @@ declare global { type WindowLoadSettings = AtomCore.Structures.WindowLoadSettings; } - // Atom Keymap ============================================================== + // Atom Keymap ============================================================ /** This custom subclass of CustomEvent exists to provide the ::abortKeyBinding * method, as well as versions of the ::stopPropagation methods that record the * intent to stop propagation so event bubbling can be properly simulated for @@ -3930,7 +3934,7 @@ declare global { */ type KeymapManager = AtomKeymap.KeymapManager; - // Event Kit ================================================================ + // Event Kit ============================================================== /** An object that aggregates multiple Disposable instances together into a * single disposable, so they can all be disposed as a group. */ @@ -3946,7 +3950,7 @@ declare global { */ type Emitter = EventKit.Emitter; - // First Mate =============================================================== + // First Mate ============================================================= /** Grammar that tokenizes lines of text. */ type Grammar = FirstMate.Grammar; @@ -3955,14 +3959,14 @@ declare global { type ScopeSelector = FirstMate.ScopeSelector; - // Path Watcher ============================================================= + // Path Watcher =========================================================== /** Represents a directory on disk that can be watched for changes. */ type Directory = PathWatcher.Directory; /** Represents an individual file that can be watched, read from, and written to. */ type File = PathWatcher.File; - // Text Buffer ============================================================== + // Text Buffer ============================================================ /** The interface that should be implemented for all "point-compatible" objects. */ /** Represents a buffer annotation that remains logically stationary even as the * buffer changes. This is used to represent cursors, folds, snippet targets, @@ -4003,7 +4007,7 @@ declare global { */ type TextBuffer = TextBuffer.TextBuffer; - // Atom ===================================================================== + // Atom =================================================================== /** Atom global for dealing with packages, themes, menus, and the window. * An instance of this class is always available as the atom global. */ diff --git a/types/first-mate/README.md b/types/first-mate/README.md index a022110aa3..e83328a13e 100644 --- a/types/first-mate/README.md +++ b/types/first-mate/README.md @@ -18,5 +18,5 @@ let selector = new ScopeSelector("a | b"); Many of the types used by First Mate can be referenced from the FirstMate namespace. ```ts -function example(tokens: FirstMate.Tokens[]) {} +function example(grammar: FirstMate.Grammar) {} ``` From 4a3e82ab9efd66663a8a51517782db26768288fb Mon Sep 17 00:00:00 2001 From: Tim Wang <tim@thenetcircle.com> Date: Thu, 5 Oct 2017 15:32:05 +0800 Subject: [PATCH 146/433] Add pinchGestureEnabled to ScrollView --- types/react-native/index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 8eba2c1cd1..ce15b123d9 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -6094,6 +6094,12 @@ export interface ScrollViewPropertiesIOS { */ onScrollAnimationEnd?: () => void + /** + * When true, ScrollView allows use of pinch gestures to zoom in and out. + * The default value is true. + */ + pinchGestureEnabled?: boolean + /** * This controls how often the scroll event will be fired while scrolling (in events per seconds). * A higher number yields better accuracy for code that is tracking the scroll position, From c602c4a605a50f1d8e0cacf5f8df7eb7fad054ec Mon Sep 17 00:00:00 2001 From: Tim Wang <tim@thenetcircle.com> Date: Thu, 5 Oct 2017 15:38:31 +0800 Subject: [PATCH 147/433] Bump version --- types/react-native/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index ce15b123d9..b2012ced5a 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for react-native 0.47 +// Type definitions for react-native 0.49 // Project: https://github.com/facebook/react-native // Definitions by: Eloy Durán <https://github.com/alloy> // Fedor Nezhivoi <https://github.com/gyzerok> From f30ba0163959a328cda60308e8347fb306128404 Mon Sep 17 00:00:00 2001 From: Tim Wang <tim@thenetcircle.com> Date: Thu, 5 Oct 2017 16:02:23 +0800 Subject: [PATCH 148/433] Code format --- types/react-native/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index b2012ced5a..204b48f7fb 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -6096,8 +6096,8 @@ export interface ScrollViewPropertiesIOS { /** * When true, ScrollView allows use of pinch gestures to zoom in and out. - * The default value is true. - */ + * The default value is true. + */ pinchGestureEnabled?: boolean /** From b78f75efce3b63360a46279f1c328c6b06c45f46 Mon Sep 17 00:00:00 2001 From: Adi Bardan <bardan.adrian@yahoo.com> Date: Thu, 5 Oct 2017 12:26:59 +0200 Subject: [PATCH 149/433] twitter-stream-channels - fix error TS2304: Cannot find name 'object' --- types/twitter-stream-channels/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/twitter-stream-channels/index.d.ts b/types/twitter-stream-channels/index.d.ts index 367d34ff8a..1b72384bf1 100644 --- a/types/twitter-stream-channels/index.d.ts +++ b/types/twitter-stream-channels/index.d.ts @@ -18,7 +18,7 @@ declare module 'twitter-stream-channels' { } export interface StreamChannelsOptions { - track?: object, + track?: {}, follow?: string, locations?: string, enableChannelsEvents?: boolean, From a2834a9d058fc397580a4b4cc6da30ae8c8f1b44 Mon Sep 17 00:00:00 2001 From: Chew Yong Wee <yongwee@zopim.com> Date: Thu, 5 Oct 2017 21:36:04 +0800 Subject: [PATCH 150/433] Add subscribe field to GraphQLFieldConfig and GraphQLField interfaces (#20317) --- types/graphql/type/definition.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/graphql/type/definition.d.ts b/types/graphql/type/definition.d.ts index a4a52198b8..7f84c875fb 100644 --- a/types/graphql/type/definition.d.ts +++ b/types/graphql/type/definition.d.ts @@ -288,6 +288,7 @@ export interface GraphQLFieldConfig<TSource, TContext> { type: GraphQLOutputType; args?: GraphQLFieldConfigArgumentMap; resolve?: GraphQLFieldResolver<TSource, TContext>; + subscribe?: GraphQLFieldResolver<TSource, TContext>; deprecationReason?: string; description?: string; astNode?: FieldDefinitionNode; @@ -314,6 +315,7 @@ export interface GraphQLField<TSource, TContext> { type: GraphQLOutputType; args: GraphQLArgument[]; resolve?: GraphQLFieldResolver<TSource, TContext>; + subscribe?: GraphQLFieldResolver<TSource, TContext>; isDeprecated?: boolean; deprecationReason?: string; astNode?: FieldDefinitionNode; From b951e88ed562f387e0cdd37e95bae53ba9193206 Mon Sep 17 00:00:00 2001 From: Dan Evison <dan.evison@gmail.com> Date: Thu, 5 Oct 2017 14:37:58 +0100 Subject: [PATCH 151/433] Added the styling props to the ReferenceLine (#20315) --- types/recharts/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/recharts/index.d.ts b/types/recharts/index.d.ts index e9a584dc1a..95656a7247 100644 --- a/types/recharts/index.d.ts +++ b/types/recharts/index.d.ts @@ -579,7 +579,7 @@ export interface ReferenceDotProps { export class ReferenceDot extends React.Component<ReferenceDotProps> { } -export interface ReferenceLineProps { +export interface ReferenceLineProps extends PartialAndNumber<CSSStyleDeclaration> { xAxisId?: string | number; yAxisId?: string | number; x?: number | string; From 01a5cf582052efa91da59754f395fa57d98bd5f4 Mon Sep 17 00:00:00 2001 From: Konstantin Vasilev <mctep@users.noreply.github.com> Date: Thu, 5 Oct 2017 16:38:41 +0300 Subject: [PATCH 152/433] [sequelize] add operatorsAliases option (#20284) * [sequelize] add operatorsAliases option * fix. right symbols usage * add arbitrary key for aliases options * fix arbitrary key for strict usage --- types/sequelize/index.d.ts | 90 ++++++++++++++++++++++++++++++ types/sequelize/sequelize-tests.ts | 18 ++++++ 2 files changed, 108 insertions(+) diff --git a/types/sequelize/index.d.ts b/types/sequelize/index.d.ts index 5d65397bf7..f1dc66fce5 100644 --- a/types/sequelize/index.d.ts +++ b/types/sequelize/index.d.ts @@ -5272,6 +5272,88 @@ declare namespace sequelize { } + /** + * Operator symbols to be used when querying data + */ + interface Operators { + eq: symbol; + ne: symbol; + gte: symbol; + gt: symbol; + lte: symbol; + lt: symbol; + not: symbol; + is: symbol; + in: symbol; + notIn: symbol; + like: symbol; + notLike: symbol; + iLike: symbol; + notILike: symbol; + regexp: symbol; + notRegexp: symbol; + iRegexp: symbol; + notIRegexp: symbol; + between: symbol; + notBetween: symbol; + overlap: symbol; + contains: symbol; + contained: symbol; + adjacent: symbol; + strictLeft: symbol; + strictRight: symbol; + noExtendRight: symbol; + noExtendLeft: symbol; + and: symbol; + or: symbol; + any: symbol; + all: symbol; + values: symbol; + col: symbol; + placeholder: symbol; + join: symbol; + raw: symbol; //deprecated remove by v5.0 + } + + type OperatorsAliases = Partial<{ + [key: string]: symbol; + $eq: symbol; + $ne: symbol; + $gte: symbol; + $gt: symbol; + $lte: symbol; + $lt: symbol; + $not: symbol; + $in: symbol; + $notIn: symbol; + $is: symbol; + $like: symbol; + $notLike: symbol; + $iLike: symbol; + $notILike: symbol; + $regexp: symbol; + $notRegexp: symbol; + $iRegexp: symbol; + $notIRegexp: symbol; + $between: symbol; + $notBetween: symbol; + $overlap: symbol; + $contains: symbol; + $contained: symbol; + $adjacent: symbol; + $strictLeft: symbol; + $strictRight: symbol; + $noExtendRight: symbol; + $noExtendLeft: symbol; + $and: symbol; + $or: symbol; + $any: symbol; + $all: symbol; + $values: symbol; + $col: symbol; + $raw: symbol; //deprecated remove by v5.0 + }> + /** * Options for the constructor of Sequelize main class */ @@ -5447,6 +5529,12 @@ declare namespace sequelize { * Defaults to false */ benchmark?: boolean; + + /** + * String based operator alias, default value is true which will enable all operators alias. + * Pass object to limit set of aliased operators or false to disable completely. + */ + operatorsAliases?: boolean | OperatorsAliases; } /** @@ -5500,6 +5588,8 @@ declare namespace sequelize { */ Instance: Instance<any>; + Op: Operators; + /** * Creates a object representing a database function. This can be used in search queries, both in where and * order parts, and as default values in column definitions. If you want to refer to columns in your diff --git a/types/sequelize/sequelize-tests.ts b/types/sequelize/sequelize-tests.ts index 77daabefc9..a04140e508 100644 --- a/types/sequelize/sequelize-tests.ts +++ b/types/sequelize/sequelize-tests.ts @@ -1207,6 +1207,17 @@ new Sequelize( { typeValidation: true } ); +new Sequelize({ + operatorsAliases: false, +}); + +new Sequelize({ + operatorsAliases: { + $and: Sequelize.Op.and, + customAlias: Sequelize.Op.or, + }, +}); + s.model( 'Project' ); s.models['Project']; s.define( 'Project', { @@ -1469,6 +1480,13 @@ Chair.findAll({ }, }); +Chair.findAll({ + where: { + color: 'blue', + legs: { [Sequelize.Op.in]: [3, 4] }, + }, +}); + // If you want to use a property that isn't explicitly on the model's Attributes // use the find-function's generic type parameter. Chair.findAll<{ customProperty: number }>({ From bb0de78f73d2a241a7b8dc5735edba3492a775d7 Mon Sep 17 00:00:00 2001 From: Steve Hipwell <steve.hipwell@gmail.com> Date: Thu, 5 Oct 2017 14:46:26 +0100 Subject: [PATCH 153/433] Add @koa/cors based on kcors (#20310) --- types/koa__cors/index.d.ts | 24 ++++++++++++++++++++++++ types/koa__cors/koa__cors-tests.ts | 5 +++++ types/koa__cors/tsconfig.json | 25 +++++++++++++++++++++++++ types/koa__cors/tslint.json | 1 + 4 files changed, 55 insertions(+) create mode 100644 types/koa__cors/index.d.ts create mode 100644 types/koa__cors/koa__cors-tests.ts create mode 100644 types/koa__cors/tsconfig.json create mode 100644 types/koa__cors/tslint.json diff --git a/types/koa__cors/index.d.ts b/types/koa__cors/index.d.ts new file mode 100644 index 0000000000..e0738129e3 --- /dev/null +++ b/types/koa__cors/index.d.ts @@ -0,0 +1,24 @@ +// Type definitions for @koa/cors 2.2 +// Project: https://github.com/koajs/cors +// Definitions by: Xavier Stouder <https://github.com/Xstoudi>, Izayoi Ko <https://github.com/izayoiko>, Steve Hipwell <https://github.com/stevehipwell> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// <reference types="node"/> + +import * as Koa from "koa"; + +export = cors; + +declare function cors(options?: cors.Options): Koa.Middleware; + +declare namespace cors { + interface Options { + origin?: ((req: Koa.Request) => string) | string; + allowMethods?: string[] | string; + exposeHeaders?: string[] | string; + allowHeaders?: string[] | string; + maxAge?: number | string; + credentials?: boolean; + keepHeadersOnError?: boolean; + } +} diff --git a/types/koa__cors/koa__cors-tests.ts b/types/koa__cors/koa__cors-tests.ts new file mode 100644 index 0000000000..135845f205 --- /dev/null +++ b/types/koa__cors/koa__cors-tests.ts @@ -0,0 +1,5 @@ +import Koa = require('koa'); +import cors = require('@koa/cors'); + +const app = new Koa(); +app.use(cors()); diff --git a/types/koa__cors/tsconfig.json b/types/koa__cors/tsconfig.json new file mode 100644 index 0000000000..1bde80dc70 --- /dev/null +++ b/types/koa__cors/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "paths":{ + "@koa/cors": ["koa__cors"] + } + }, + "files": [ + "index.d.ts", + "koa__cors-tests.ts" + ] +} diff --git a/types/koa__cors/tslint.json b/types/koa__cors/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/koa__cors/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From b30fe84b2994bc4848046748bd5945d937369d52 Mon Sep 17 00:00:00 2001 From: wagich <michael@wagnergraphics.ch> Date: Thu, 5 Oct 2017 20:16:02 +0200 Subject: [PATCH 154/433] updates flickity definitions for version 2 and enables use as a module (#20128) * updates flickity definitions for v2 and enables use as a module * adds tslint.json and makes tslint happy * tries to make travis happy --- types/flickity/FlickityEvents.ts | 57 --- types/flickity/UNUSED_FILES.txt | 1 - types/flickity/flickity-tests.ts | 68 ++-- types/flickity/index.d.ts | 608 ++++++++++++++++++------------- types/flickity/tslint.json | 9 + 5 files changed, 403 insertions(+), 340 deletions(-) delete mode 100644 types/flickity/FlickityEvents.ts delete mode 100644 types/flickity/UNUSED_FILES.txt create mode 100644 types/flickity/tslint.json diff --git a/types/flickity/FlickityEvents.ts b/types/flickity/FlickityEvents.ts deleted file mode 100644 index 4beb5989b6..0000000000 --- a/types/flickity/FlickityEvents.ts +++ /dev/null @@ -1,57 +0,0 @@ -// Event Constants for Flickity v1.1.1 -// Project: http://flickity.metafizzy.co/ -// Definitions by: Chris McGrath <https://www.github.com/clmcgrath> -// Definitions: https://github.com/clmcgrath/ -class FlickityEvents { - - /** - * Triggered when a cell is selected. - */ - static cellSelect: string = "cellSelect"; - - /** - * Triggered when the slider is settled at its end position. - */ - static settle: string = "settle"; - - /** - * Triggered when dragging starts and the slider starts moving. - */ - static dragStart: string = "dragStart"; - - /** - * Triggered when dragging moves and the slider moves. - */ - static dragMove: string = "dragMove"; - - /** - * Triggered when dragging ends. - */ - static dragEnd: string = "dragEnd"; - - /** - * Triggered when the user's pointer (mouse, touch, pointer) presses down. - */ - static pointerDown: string = "pointerDown"; - - /** - * Triggered when the user's pointer moves. - */ - static pointerMove: string = "pointerMove"; - - /** - * Triggered when the user's pointer unpresses. - */ - static pointerUp: string = "pointerUp"; - - /** - * Triggered when the user's pointer is pressed and unpressed and has not moved enough to start dragging. - * Info: click events are hard to detect with draggable UI, as they are triggered whenever a user drags. Flickity's staticClick event resolves this, as it is triggered when the user has not dragged. - */ - static staticClick: string = "staticClick"; - - /** - * Triggered after an image has been loaded with lazyLoad. - */ - static lazyLoad: string = "lazyLoad"; -} diff --git a/types/flickity/UNUSED_FILES.txt b/types/flickity/UNUSED_FILES.txt deleted file mode 100644 index 38f951f166..0000000000 --- a/types/flickity/UNUSED_FILES.txt +++ /dev/null @@ -1 +0,0 @@ -FlickityEvents.ts \ No newline at end of file diff --git a/types/flickity/flickity-tests.ts b/types/flickity/flickity-tests.ts index b4ecf51997..63943119b4 100644 --- a/types/flickity/flickity-tests.ts +++ b/types/flickity/flickity-tests.ts @@ -1,14 +1,8 @@ -// Type definition tests for Flickity v1.1.1 -// Project: http://flickity.metafizzy.co/ -// Definitions by: Chris McGrath <https://www.github.com/clmcgrath> -// Definitions: https://github.com/clmcgrath/ +/// <reference types="jquery"/> -///<reference types="jquery"/> +// jQuery tests -//jQuery tests - -var $flickity: JQuery = $("#flickity-selector").flickity( - { +let $flickity = $("#flickity-selector").flickity({ initialIndex: 0, accessibility: true, asNavFor: "#nav-bar", @@ -35,12 +29,12 @@ var $flickity: JQuery = $("#flickity-selector").flickity( }); $flickity.flickity("next") - .flickity('select', 4); + .flickity("select", 4); -//Vanilla jQuery tests -var flikty: Flickity = new Flickity("#flickity-gallery"); +// Vanilla jQuery tests +let flikty: Flickity = new Flickity("#flickity-gallery"); -var flikty2: Flickity = +let flikty2: Flickity = new Flickity("#flickity-gallery", { initialIndex: 0, @@ -68,10 +62,10 @@ var flikty2: Flickity = rightToLeft: false }); -//ES6 element selector for tests -var element = document.querySelector("#gallery"); -var nodeList = document.querySelectorAll("#gallery"); -var cellElements: Array<Element> = flikty2.getCellElements(); +// ES6 element selector for tests +let element = document.querySelector("#gallery"); +let nodeList = document.querySelectorAll("#gallery"); +let cellElements: Element[] = flikty2.getCellElements(); flikty2.select(1, true); flikty2.select(1); @@ -102,33 +96,47 @@ flikty2.destroy(); flikty2.reloadCells(); -//event handlers +// event handlers flikty2.on("cellSelect", (evt, ele) => { - //do something + // do something }); flikty2.off("cellSelect", (evt, ele, pntr, vctr) => { - //do something + // do something }); flikty2.once("cellSelect", (evt, ele, pntr) => { - //do something + // do something }); flikty2.listener("myCustomEvent", (evt: Event) => { - //do something + // do something }); -//static get data methods +// static get data methods -var jQdata = jQuery.fn.data('flickity')(); -jQdata = $.fn.data('flickity')(); +let jQdata = jQuery.fn.data("flickity")(); +jQdata = $.fn.data("flickity")(); -var jsData = Flickity.data("#gallery"); +let jsData = Flickity.data("#gallery"); jsData = Flickity.data("#gallery"); -//property tests -var selectedIndex: number = flikty2.selectedIndex; +// property tests +let selectedIndex: number = flikty2.selectedIndex; -var selectedElement: Element = flikty2.selectedElement; -var cells: Array<Element> = flikty2.cells; +let selectedElement: Element = flikty2.selectedElement; +let cells: Element[] = flikty2.cells; + +// arrow shape tests +let flikty3: Flickity = new Flickity("#flickity-gallery", { + arrowShape: "M 0,50 L 60,00 L 50,30 L 80,30 L 80,70 L 50,70 L 60,100 Z" +}); + +let flikty4: Flickity = new Flickity(new HTMLElement(), { + arrowShape: { + x0: 10, + x1: 60, y1: 50, + x2: 70, y2: 40, + x3: 30 + } +}); diff --git a/types/flickity/index.d.ts b/types/flickity/index.d.ts index 24a873761d..fda440b1fe 100644 --- a/types/flickity/index.d.ts +++ b/types/flickity/index.d.ts @@ -1,409 +1,513 @@ -// Type definitions for Flickity v1.1.1 +// Type definitions for Flickity 2.0 // Project: http://flickity.metafizzy.co/ -// Definitions by: Chris McGrath <https://www.github.com/clmcgrath> -// Definitions: https://github.com/clmcgrath/ +// Definitions by: Chris McGrath <https://github.com/clmcgrath> +// Michael Wagner <https://github.com/wagich> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 +export as namespace Flickity; +export = Flickity; -interface JQuery { - /** - * initialize fickity plugin - */ - flickity: FlickityJquery; +declare global { + interface JQuery { + flickity(options?: FlickityOptions): this; + flickity(command: string, ...params: any[]): this; + } } -interface FlickityJquery { - (options?: FlickityOptions): JQuery; - (command: string, ...params: any[]): JQuery; +declare namespace Flickity { + type FlickityEvents = + /** + * Triggered when a slide is selected. + * This event was previously cellSelect in Flickity v1. cellSelect will continue to work in Flickity v2. + */ + "select" | "cellSelect" | + /** + * Triggered when the slider is settled at its end position. + */ + "settle" | + /** + * Triggered when the slider moves. + */ + "scroll" | + /** + * Triggered when dragging starts and the slider starts moving. + */ + "dragStart" | + /** + * Triggered when dragging moves and the slider moves. + */ + "dragMove" | + /** + * Triggered when dragging ends. + */ + "dragEnd" | + /** + * Triggered when the user's pointer (mouse, touch, pointer) presses down. + */ + "pointerDown" | + /** + * Triggered when the user's pointer moves. + */ + "pointerMove" | + /** + * Triggered when the user's pointer unpresses. + */ + "pointerUp" | + /** + * Triggered when the user's pointer is pressed and unpressed and has not moved enough to start dragging. + */ + "staticClick" | + /** + * Triggered after an image has been loaded with lazyLoad. + */ + "lazyLoad" | + /** + * Triggered after a background image has been loaded with bgLazyLoad. + */ + "bgLazyLoad"; } declare class Flickity { /** - * Initializes an new instance of Flickity . - * - * @param element Element selector string - * @param options (IFlickityOptions) Flickity options - */ - constructor(selector: string, options?: FlickityOptions); - /** - * Initializes an new instance of Flickity . - * - * @param element Container Element to initialize Flickity on - * @param options (IFlickityOptions) Flickity options - */ - constructor(element: Element, options?: FlickityOptions); + * Initializes an new instance of Flickity . + * + * @param element Element selector string or container Element to initialize Flickity on + * @param options (IFlickityOptions) Flickity options + */ + constructor(selector: string | Element, options?: FlickityOptions); - //properties + // properties /** - * @type integer - * The selected cell index. - */ + * @type integer + * The selected cell index. + */ selectedIndex: number; /** - * @type Element - * The selected cell element. - */ + * @type Element + * The selected cell element. + */ selectedElement: Element; /** - * @type Element[] - * The array of cells. Use cells.length for the total number of cells. - */ + * @type Element[] + * The array of cells. Use cells.length for the total number of cells. + */ cells: Element[]; + /** + * The array of slides. Useful for groupCells. A slide contains multiple cells. + * If groupCells is disabled, then each slide is a cell, so they are one in the same. + */ + slides: Element[]; + + /** + * An array of elements in the selected slide. Useful for groupCells. + */ + selectedElements: Element[]; + // static methods /** - * (static) Get the Flickity instance via selector. - * - * @param element Element selector string - */ - static data(element: string): Flickity; - - /** - * (static) Get the Flickity instance via its element. - * - * @param element The element - */ - static data(element: Element): Flickity; - + * (static) Get the Flickity instance. + * + * @param element Element selector string + */ + static data(element: string | Element): Flickity; // instance methods /** - * Select a cell. - * - * @param index Integer Zero-based index of the cell to select. - * @param isWrapped (Optional) If true, the last cell will be selected if at the first cell. - * @param isInstant (Optional) If true, immediately view the selected cell without animation. - */ + * Select a cell. + * + * @param index Integer Zero-based index of the cell to select. + * @param isWrapped (Optional) If true, the last cell will be selected if at the first cell. + * @param isInstant (Optional) If true, immediately view the selected cell without animation. + */ select(index: number, isWrapped?: boolean, isInstant?: boolean): void; /** - * Select the previous cell. - * - * @param isWrapped (Optional) If true, the first cell will be selected if at the last cell. - */ + * Select the previous cell. + * + * @param isWrapped (Optional) If true, the first cell will be selected if at the last cell. + */ previous(isWrapped?: boolean): void; /** - * Select the next cell. - * @param isWrapped (Optional) If true, the first cell will be selected if at the first cell. - */ + * Select the next cell. + * @param isWrapped (Optional) If true, the first cell will be selected if at the first cell. + */ next(isWrapped?: boolean): void; /** - * Resize the gallery and re-position cells. - */ + * Select a slide of a cell. Useful for groupCells. + * + * @param {number | string} index Zero-based index OR selector string of the cell to select. + * @param {boolean} [isWrapped] Optional. If true, the last slide will be selected if at the first slide. + * @param {boolean} [isInstant] If true, immediately view the selected slide without animation. + * @memberof Flickity + */ + selectCell(index: number | string, isWrapped?: boolean, isInstant?: boolean): void; + + /** + * Resize the gallery and re-position cells. + */ resize(): void; /** - * Position cells at selected position. - * Trigger reposition after the size of a cell has been changed. - */ + * Position cells at selected position. + * Trigger reposition after the size of a cell has been changed. + */ reposition(): void; /** - * Prepend elements and create cells to the beginning of the gallery. - * - * @param elements JQuery, Element[], Element, or NodeList - */ - prepend(elements: Element | NodeList): void; + * Prepend elements and create cells to the beginning of the gallery. + * + * @param elements JQuery, Element[], Element, or NodeList + */ + prepend(elements: JQuery | Element[] | Element | NodeList): void; /** - * Append elements and create cells to the end of the gallery. - * - * @param elements JQuery, Element[], Element, or NodeList - */ - append(elements: Element | NodeList): void; + * Append elements and create cells to the end of the gallery. + * + * @param elements JQuery, Element[], Element, or NodeList + */ + append(elements: JQuery | Element[] | Element | NodeList): void; /** - * Insert elements into the gallery and create cells. - * - * @param elements Element[], Element, or NodeList - * @param index Integer: Zero-based index to insert elements. - */ - insert(elements: Element[] | Element | NodeList, index: number): void; + * Insert elements into the gallery and create cells. + * + * @param elements Element[], Element, or NodeList + * @param index Integer: Zero-based index to insert elements. + */ + insert(elements: JQuery | Element[] | Element | NodeList, index: number): void; /** - * Remove cells from gallery and remove elements from DOM. - * - * @param elements Element[], Element, or NodeList - */ - remove(elements: Element[] | Element | NodeList): void; + * Remove cells from gallery and remove elements from DOM. + * + * @param elements Element[], Element, or NodeList + */ + remove(elements: JQuery | Element[] | Element | NodeList): void; /** - * Remove Flickity functionality completely. destroy will return the element back to its pre-initialized state. - */ + * Starts auto-play. Setting autoPlay will automatically start auto-play on initialization. You do not need to start auto-play with playPlayer. + */ + playPlayer(): void; + + /** + * Stops auto-play and cancels pause. + */ + stopPlayer(): void; + + /** + * Pauses auto-play. + */ + pausePlayer(): void; + + /** + * Resumes auto-play if paused. + */ + unpausePlayer(): void; + + /** + * Remove Flickity functionality completely. destroy will return the element back to its pre-initialized state. + */ destroy(): void; /** - * Re-collect all cell elements in flickity-slider. - */ + * Re-collect all cell elements in flickity-slider. + */ reloadCells(): void; /** - * Get the elements of the cells. - * @returns Element[] - */ - getCellElements() : Element[]; + * Get the elements of the cells. + * @returns Element[] + */ + getCellElements(): Element[]; - //event listeners + // event listeners /** - * Add new classic event listener - */ + * Add new classic event listener + */ listener(...params: any[]): void; /** - * bind event listener - * @param eventName name of event (@see FlickityEvents class for filckity supported events) - * @param callback callback funtion to execute when event fires - */ - on(eventname: string, callback: (event?: Event, pointer?: Element | Touch, cellElement?: Element, cellIndex?: number) => any): void; + * bind event listener + * @param eventName name of event (@see Flickity.FlickityEvents class for filckity supported events) + * @param callback callback funtion to execute when event fires + */ + on(eventname: Flickity.FlickityEvents, callback: (event?: Event, pointer?: Element | Touch, cellElement?: Element, cellIndex?: number) => any): void; /** - * bind event listener - * @param eventName name of event (@see FlickityEvents class for filckity supported events) - * @param callback callback funtion to execute when event fires - */ - on(eventname: string, callback: (event?: Event, pointer?: Element | Touch, moveVector?: Object) => any): void; + * bind event listener + * @param eventName name of event (@see Flickity.FlickityEvents class for filckity supported events) + * @param callback callback funtion to execute when event fires + */ + on(eventname: Flickity.FlickityEvents, callback: (event?: Event, pointer?: Element | Touch, moveVector?: { x: number, y: number }) => any): void; /** - * bind event listener - * @param eventName name of event (@see FlickityEvents class for filckity supported events) - * @param callback callback funtion to execute when event fires - */ - on(eventname: string, callback: (eventt?: Event, cellElement?: Element) => any) : void; + * bind event listener + * @param eventName name of event (@see Flickity.FlickityEvents class for filckity supported events) + * @param callback callback funtion to execute when event fires + */ + on(eventname: Flickity.FlickityEvents, callback: (event?: Event, cellElement?: Element) => any): void; /** - * bind event listener - * @param eventName name of event (@see FlickityEvents class for filckity supported events) - * @param callback callback funtion to execute when event fires - */ - on(eventname: string, callback: (event?: Event, pointer?: Element | Touch) => any): void; + * bind event listener + * @param eventName name of event (@see Flickity.FlickityEvents class for filckity supported events) + * @param callback callback funtion to execute when event fires + */ + on(eventname: Flickity.FlickityEvents, callback: (event?: Event, pointer?: Element | Touch) => any): void; /** - * Remove event listener - * @param eventName name of event (@see FlickityEvents class for filckity supported events) - * @param callback callback funtion to execute when event fires - */ - off(eventname: string, callback: (event?: Event, pointer?: Element | Touch, cellElement?: Element, cellIndex?: number) => any): void; + * Remove event listener + * @param eventName name of event (@see Flickity.FlickityEvents class for filckity supported events) + * @param callback callback funtion to execute when event fires + */ + off(eventname: Flickity.FlickityEvents, callback: (event?: Event, pointer?: Element | Touch, cellElement?: Element, cellIndex?: number) => any): void; /** - * Remove event listener - * @param eventName name of event (@see FlickityEvents class for filckity supported events) - * @param callback callback funtion to execute when event fires - */ - off(eventname: string, callback: (event?: Event, pointer?: Element | Touch, moveVector?: Object) => any): void; + * Remove event listener + * @param eventName name of event (@see Flickity.FlickityEvents class for filckity supported events) + * @param callback callback funtion to execute when event fires + */ + off(eventname: Flickity.FlickityEvents, callback: (event?: Event, pointer?: Element | Touch, moveVector?: Object) => any): void; /** - * Remove event listener - * @param eventName name of event (@see FlickityEvents class for filckity supported events) - * @param callback callback funtion to execute when event fires - */ - off(eventname: string, callback: (event?: Event, cellElement?: Element) => any): void; + * Remove event listener + * @param eventName name of event (@see Flickity.FlickityEvents class for filckity supported events) + * @param callback callback funtion to execute when event fires + */ + off(eventname: Flickity.FlickityEvents, callback: (event?: Event, cellElement?: Element) => any): void; /** - * Remove event listener - * @param eventName name of event (@see FlickityEvents class for filckity supported events) - * @param callback callback funtion to execute when event fires - */ - off(eventname: string, callback: (event?: Event, pointer?: Element | Touch) => any): void; - + * Remove event listener + * @param eventName name of event (@see Flickity.FlickityEvents class for filckity supported events) + * @param callback callback funtion to execute when event fires + */ + off(eventname: Flickity.FlickityEvents, callback: (event?: Event, pointer?: Element | Touch) => any): void; /** - * one time event handler - * @param eventName name of event (@see FlickityEvents class for filckity supported events) - * @param callback callback funtion to execute when event fires - */ + * one time event handler + * @param eventName name of event (@see Flickity.FlickityEvents class for filckity supported events) + * @param callback callback funtion to execute when event fires + */ once(eventname: string, callback: (event?: Event, pointer?: Element | Touch, cellElement?: Element, cellIndex?: number) => any): void; /** - * one time event handler - * @param eventName name of event (@see FlickityEvents class for filckity supported events) - * @param callback callback funtion to execute when event fires - */ + * one time event handler + * @param eventName name of event (@see Flickity.FlickityEvents class for filckity supported events) + * @param callback callback funtion to execute when event fires + */ once(eventname: string, callback: (event?: Event, pointer?: Element | Touch, moveVector?: Object) => any): void; /** - * one time event handler - * @param eventName name of event (@see FlickityEvents class for filckity supported events) - * @param callback callback funtion to execute when event fires - */ + * one time event handler + * @param eventName name of event (@see Flickity.FlickityEvents class for filckity supported events) + * @param callback callback funtion to execute when event fires + */ once(eventname: string, callback: (event?: Event, cellElement?: Element) => any): void; /** - * one time event handler - * @param eventName name of event (@see FlickityEvents class for filckity supported events) - * @param callback callback funtion to execute when event fires - */ + * one time event handler + * @param eventName name of event (@see Flickity.FlickityEvents class for filckity supported events) + * @param callback callback funtion to execute when event fires + */ once(eventname: string, callback: (event?: Event, pointer?: Element | Touch) => any): void; } interface FlickityOptions { - /** - * Specify selector for cell elements. cellSelector is useful if you have other elements in your gallery elements that are not cells. - * - * default: '.gallery-cell' - */ + * Specify selector for cell elements. cellSelector is useful if you have other elements in your gallery elements that are not cells. + * + * default: '.gallery-cell' + */ cellSelector?: string; /** - * Zero-based index of the initial selected cell. - * - * default: 2 - */ + * Zero-based index of the initial selected cell. + */ initialIndex?: number; /** - * Enable keyboard navigation. Users can tab to a Flickity gallery, and pressing left & right keys to change cells. - * - * default: true - */ + * Enable keyboard navigation. Users can tab to a Flickity gallery, and pressing left & right keys to change cells. + * + * default: true + */ accessibility?: boolean; /** - * Sets the height of the gallery to the height of the tallest cell. Set to false if you prefer to size the gallery with CSS, rather than using the size of cells. - * - * default: true - */ + * Sets the height of the gallery to the height of the tallest cell. Set to false if you prefer to size the gallery with CSS, rather than using the size of cells. + * + * default: true + */ setGallerySize?: boolean; /** - * Adjusts sizes and positions when window is resized. - * - * default: true - */ + * Adjusts sizes and positions when window is resized. + * + * default: true + */ resize?: boolean; /** - * Align cells within the gallery element. - * opttions: 'left', 'center', 'right' - * - * default: 'center' - */ + * Align cells within the gallery element. + * opttions: 'left', 'center', 'right' + * + * default: 'center' + */ cellAlign?: string; /** - * Contains cells to gallery element to prevent excess scroll at beginning or end. Has no effect if wrapAround is enabled - * - * default: true - */ + * Contains cells to gallery element to prevent excess scroll at beginning or end. Has no effect if wrapAround is enabled + * + * default: true + */ contain?: boolean; /** - * Unloaded images have no size, which can throw off cell positions. To fix this, the imagesLoaded option re-positions cells once their images have loaded. - * - * default: true - */ + * Unloaded images have no size, which can throw off cell positions. To fix this, the imagesLoaded option re-positions cells once their images have loaded. + * + * default: true + */ imagesLoaded?: boolean; /** - * Sets positioning in percent values, rather than pixel values. If your cells do not have percent widths, we recommended percentPosition: false. - * - * default: false - */ + * Sets positioning in percent values, rather than pixel values. If your cells do not have percent widths, we recommended percentPosition: false. + * + * default: false + */ percentPosition?: boolean; /** - * Enables right-to-left layout. - * - * default: false - */ + * Enables right-to-left layout. + * + * default: false + */ rightToLeft?: boolean; /** - * Enables dragging and flicking - * - * default: true - */ + * Enables dragging and flicking + * + * default: true + */ draggable?: boolean; /** - * Enables content to be freely scrolled and flicked without aligning cells to an end position. - * Enable freeScroll and wrapAround and you can flick forever, man. - * - * default: false - */ + * Enables content to be freely scrolled and flicked without aligning cells to an end position. + * Enable freeScroll and wrapAround and you can flick forever, man. + * + * default: false + */ freeScroll?: boolean; /** - * At the end of cells, wrap-around to the other end for infinite scrolling. - * - * default: false - */ + * At the end of cells, wrap-around to the other end for infinite scrolling. + * + * default: false + */ wrapAround?: boolean; /** - * Loads cell images when a cell is selected. - * Set the image's URL to load with data-flickity-lazyload. - * - * default: false - */ + * Groups cells together in slides. Flicking, page dots, and previous/next buttons are mapped to group slides, not individual cells. + * `is-selected` class is added to the multiple cells in the selected slide. + * If set to true, group cells that fit in carousel viewport. + * If set to a number, group cells by that number. + * If set to a percent string, group cells that fit in the percent of the width of the carousel viewport. + */ + groupCells?: boolean | number | string; + + /** + * Loads cell images when a cell is selected. + * Set the image's URL to load with the `data-flickity-lazyload` attribute. + * If set to `true`, lazyloads image in selected slide + * If set to a number n, load images in selected slide and next n slides and previous n slides. + * + * default: false + */ lazyLoad?: boolean | number; /** - * Automatically advances to the next cell. - * - * default: false - */ + * Loads cell background image when a cell is selected. + * Set the background image's URL to load with the `data-flickity-bg-lazyload` attribute. + * If set to `true`, lazyloads background image in selected slide + * If set to a number n, load background images in selected slide and next n slides and previous n slides. + * bgLazyLoad requires the flickity-bg-lazyload package. This package is not included and must be installed separately. + */ + bgLazyLoad?: boolean | number; + + /** + * Automatically advances to the next cell. + * + * default: false + */ autoPlay?: boolean | number; /** - * You can enable and disable Flickity with CSS. watchCSS option watches the content of :after of the gallery element. Flickity is enabled if :after content is 'flickity'. - * note: IE8 and Android 2.3 do not support watching :after. Flickity will be disabled when watchCSS: true. Set watchCSS: 'fallbackOn' to enable Flickity for these browsers. - * - * default: false - */ + * Changes height of carousel to fit height of selected slide. + */ + adaptiveHeight?: boolean; + + /** + * You can enable and disable Flickity with CSS. watchCSS option watches the content of :after of the gallery element. Flickity is enabled if :after content is 'flickity'. + * note: IE8 and Android 2.3 do not support watching :after. Flickity will be disabled when watchCSS: true. Set watchCSS: 'fallbackOn' to enable Flickity for these browsers. + * + * default: false + */ watchCSS?: boolean | string; /** - * Use one Flickity gallery as navigation for another. - * - * default: disabled - */ + * Use one Flickity gallery as navigation for another. + * + * default: disabled + */ asNavFor?: string; /** - * selectedAttraction attracts the position of the slider to the selected cell. Higher attraction makes the slider move faster. Lower makes it move slower. - * - * default: 0.025 - */ + * The number of pixels a mouse or touch has to move before dragging begins. Increase dragThreshold to allow for more wiggle room for vertical page scrolling on touch devices. + * + * default: 3 + */ + dragThreshold?: number; + + /** + * selectedAttraction attracts the position of the slider to the selected cell. Higher attraction makes the slider move faster. Lower makes it move slower. + * + * default: 0.025 + */ selectedAttraction?: number; /** - * riction slows the movement of slider. Higher friction makes the slider feel stickier and less bouncy. Lower friction makes the slider feel looser and more wobbly. - * - * default: 0.28 - */ + * Friction slows the movement of slider. Higher friction makes the slider feel stickier and less bouncy. Lower friction makes the slider feel looser and more wobbly. + * + * default: 0.28 + */ friction?: number; /** - * Slows movement of slider when freeScroll: true. Higher friction makes the slider feel stickier. Lower friction makes the slider feel looser. - * - * default: 0.75 - */ + * Slows movement of slider when freeScroll: true. Higher friction makes the slider feel stickier. Lower friction makes the slider feel looser. + * + * default: 0.075 + */ freeScrollFriction?: number; /** - * Creates and enables previous & next buttons. - * - * default: true - */ + * Creates and enables previous & next buttons. + * + * default: true + */ prevNextButtons?: boolean; /** - * Creates and enables paging dots. - * - * default: true - */ + * Creates and enables paging dots. + * + * default: true + */ pageDots?: boolean; /** - * Draws the shape of the arrows in the previous & next buttons. - * javascript dictionary of points or path to SVG file - */ - arrowShape?: any; - + * Draws the shape of the arrows in the previous & next buttons. + * javascript dictionary of points or path to SVG file + */ + arrowShape?: string | { x0: number, x1: number, y1: number, x2: number, y2: number, x3: number }; } diff --git a/types/flickity/tslint.json b/types/flickity/tslint.json new file mode 100644 index 0000000000..6898aee207 --- /dev/null +++ b/types/flickity/tslint.json @@ -0,0 +1,9 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "ban-types": false, + "no-single-declare-module": false, + "no-var": false, + "unified-signatures": false + } + } \ No newline at end of file From fc10803f2096b6333f8d59478c6e6b529d85ec68 Mon Sep 17 00:00:00 2001 From: Simon Ramsay <nexus-uw@users.noreply.github.com> Date: Thu, 5 Oct 2017 14:23:27 -0400 Subject: [PATCH 155/433] Patch 1 (#20255) * call Job.priority() to get the current number priority * added parameterless definition for Job.priority() - when called without a priority parameter, it returns the current priority of the job relevant source https://github.com/Automattic/kue/blob/master/lib/queue/job.js#L520-L536 note: JSDocs in Kue source code appear to not include optional parameters * priority() returns string if priority set to unexpected priority string --- types/kue/index.d.ts | 1 + types/kue/kue-tests.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/types/kue/index.d.ts b/types/kue/index.d.ts index a1ecf03998..2b7d7015b8 100644 --- a/types/kue/index.d.ts +++ b/types/kue/index.d.ts @@ -98,6 +98,7 @@ export declare class Job extends events.EventEmitter { ttl(param: any): Job; private _getBackoffImpl(): void; priority(level: string | number): Job; + priority(): number | string; attempt(fn: Function): Job; reattempt(attempt: number, fn?: Function): void; attempts(n: number): Job; diff --git a/types/kue/kue-tests.ts b/types/kue/kue-tests.ts index fd929d7aeb..7bf45b3e54 100644 --- a/types/kue/kue-tests.ts +++ b/types/kue/kue-tests.ts @@ -87,6 +87,7 @@ var email = jobs.create('email', { .priority('high') .save(); +console.log('email job priority: ', email.priority()); email.on('promotion', function() { console.log('renewal job promoted'); From 3b6b92d45e88149d6e54d2b235d09b179abff2b4 Mon Sep 17 00:00:00 2001 From: Max Battcher <me@worldmaker.net> Date: Thu, 5 Oct 2017 14:23:53 -0400 Subject: [PATCH 156/433] Revert PouchDB module changes from #18519 (#20305) Per the README, and with research prompted by #19691, the shape of PouchDB export should reflect what is currently the node package's package.json main export shape (not jsnext:main). --- types/pouch-redux-middleware/index.d.ts | 2 +- types/pouch-redux-middleware/pouch-redux-middleware-tests.ts | 2 +- types/pouchdb/index.d.ts | 2 +- types/pouchdb/pouchdb-tests.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/types/pouch-redux-middleware/index.d.ts b/types/pouch-redux-middleware/index.d.ts index 6d57b30989..e0e3691de6 100644 --- a/types/pouch-redux-middleware/index.d.ts +++ b/types/pouch-redux-middleware/index.d.ts @@ -5,7 +5,7 @@ // TypeScript Version: 2.3 import { Dispatch, Action, Middleware } from 'redux'; -import PouchDB from 'pouchdb'; +import * as PouchDB from 'pouchdb'; export interface Document { _id: any; diff --git a/types/pouch-redux-middleware/pouch-redux-middleware-tests.ts b/types/pouch-redux-middleware/pouch-redux-middleware-tests.ts index b28efc3d82..bacd6c4b7a 100644 --- a/types/pouch-redux-middleware/pouch-redux-middleware-tests.ts +++ b/types/pouch-redux-middleware/pouch-redux-middleware-tests.ts @@ -1,6 +1,6 @@ import * as redux from 'redux'; import makePouchMiddleware, { Document, Path } from 'pouch-redux-middleware'; -import PouchDB from 'pouchdb'; +import * as PouchDB from 'pouchdb'; const types = { DELETE_TODO: 'delete-todo', diff --git a/types/pouchdb/index.d.ts b/types/pouchdb/index.d.ts index 970da92554..3f17f3ff3d 100644 --- a/types/pouchdb/index.d.ts +++ b/types/pouchdb/index.d.ts @@ -24,5 +24,5 @@ declare module 'pouchdb' { const plugin: PouchDB.Static; - export default plugin; + export = plugin; } diff --git a/types/pouchdb/pouchdb-tests.ts b/types/pouchdb/pouchdb-tests.ts index 05c038caea..c4b3d6870b 100644 --- a/types/pouchdb/pouchdb-tests.ts +++ b/types/pouchdb/pouchdb-tests.ts @@ -1,4 +1,4 @@ -import PouchDB from 'pouchdb'; +import * as PouchDB from 'pouchdb'; function isString(someString: string) { } From 5ae8f2754f09d171bd8c582539605e60d75f8936 Mon Sep 17 00:00:00 2001 From: czengg <czeng67@gmail.com> Date: Thu, 5 Oct 2017 11:31:28 -0700 Subject: [PATCH 157/433] add constants to exports (#20304) --- types/draft-js/index.d.ts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/types/draft-js/index.d.ts b/types/draft-js/index.d.ts index 6420669a3a..a559b7ebc0 100644 --- a/types/draft-js/index.d.ts +++ b/types/draft-js/index.d.ts @@ -938,6 +938,12 @@ import genKey = Draft.Model.Keys.generateRandomKey; import getDefaultKeyBinding = Draft.Component.Utils.getDefaultKeyBinding; import getVisibleSelectionRect = Draft.Component.Selection.getVisibleSelectionRect; +import DraftEditorCommand = Draft.Model.Constants.DraftEditorCommand; +import DraftDragType = Draft.Model.Constants.DraftDragType; +import DraftBlockType = Draft.Model.Constants.DraftBlockType; +import DraftRemovalDirection = Draft.Model.Constants.DraftRemovalDirection; +import DraftHandleValue = Draft.Model.Constants.DraftHandleValue; + export { Editor, EditorProps, @@ -970,5 +976,11 @@ export { genKey, getDefaultKeyBinding, - getVisibleSelectionRect + getVisibleSelectionRect, + + DraftEditorCommand, + DraftDragType, + DraftBlockType, + DraftRemovalDirection, + DraftHandleValue }; From c224cbd8b74a8b236faf90195c7c22e7a4d2ff89 Mon Sep 17 00:00:00 2001 From: Michael Ledin <mledin89@gmail.com> Date: Thu, 5 Oct 2017 21:31:49 +0300 Subject: [PATCH 158/433] Add Calculator type to markerclustererplus. (#20322) --- types/markerclustererplus/index.d.ts | 206 ++++++++++++++------------- 1 file changed, 104 insertions(+), 102 deletions(-) diff --git a/types/markerclustererplus/index.d.ts b/types/markerclustererplus/index.d.ts index 7d57746ff7..3a067e041f 100644 --- a/types/markerclustererplus/index.d.ts +++ b/types/markerclustererplus/index.d.ts @@ -45,7 +45,7 @@ declare interface ClusterIconStyle { * property for the label text shown on the cluster icon. */ fontWeight?: string; - /** + /** * [fontStyle="normal"] The value of the CSS <code>font-style</code> * property for the label text shown on the cluster icon. */ @@ -62,7 +62,7 @@ declare interface ClusterIconStyle { * this property appropriately when the image defined by <code>url</code> represents a sprite * containing multiple images. Note that the position <i>must</i> be specified in px units. */ - backgroundPosition?: string; + backgroundPosition?: string; } /** @@ -93,46 +93,46 @@ declare class ClusterIconInfo extends google.maps.OverlayView { * @private */ constructor(cluster: Cluster, styles: ClusterIconStyle[]); - + /** * Adds the icon to the DOM. */ onAdd(): void; - + /** * Removes the icon from the DOM. */ onRemove(): void; - + /** * Draws the icon. */ draw(): void; - + /** * Hides the icon. */ hide(): void; - + /** * Positions and shows the icon. */ show(): void; - + /** * Sets the icon styles to the appropriate element in the styles array. * * @param {ClusterIconInfo} sums The icon label text and styles index. */ useStyle(sums: ClusterIconInfo[]): void; - + /** * Sets the position at which to center the icon. * * @param {google.maps.LatLng} center The latlng to set as the center. */ setCenter(center: google.maps.LatLng): void; - + /** * Creates the cssText style parameter based on the position of the icon. * @@ -140,7 +140,7 @@ declare class ClusterIconInfo extends google.maps.OverlayView { * @return {string} The CSS style text. */ createCss(pos: google.maps.Point): string; - + /** * Returns the position at which to place the DIV depending on the latlng. * @@ -149,7 +149,7 @@ declare class ClusterIconInfo extends google.maps.OverlayView { */ getPosFromLatLng_(latLng: google.maps.LatLng): google.maps.Point; } - + interface Cluster { /** * Creates a single cluster that manages a group of proximate markers. @@ -159,7 +159,7 @@ interface Cluster { * cluster is associated. */ new (mc: MarkerClusterer): Cluster; - + /** * Returns the number of markers managed by the cluster. You can call this from * a <code>click</code>, <code>mouseover</code>, or <code>mouseout</code> event handler @@ -168,7 +168,7 @@ interface Cluster { * @return {number} The number of markers in the cluster. */ getSize(): number; - + /** * Returns the array of markers managed by the cluster. You can call this from * a <code>click</code>, <code>mouseover</code>, or <code>mouseout</code> event handler @@ -177,7 +177,7 @@ interface Cluster { * @return {Array} The array of markers in the cluster. */ getMarkers(): google.maps.Marker[]; - + /** * Returns the center of the cluster. You can call this from * a <code>click</code>, <code>mouseover</code>, or <code>mouseout</code> event handler @@ -186,7 +186,7 @@ interface Cluster { * @return {google.maps.LatLng} The center of the cluster. */ getCenter(): google.maps.LatLng; - + /** * Returns the map with which the cluster is associated. * @@ -194,7 +194,7 @@ interface Cluster { * @ignore */ getMap(): google.maps.Map; - + /** * Returns the <code>MarkerClusterer</code> object with which the cluster is associated. * @@ -202,7 +202,7 @@ interface Cluster { * @ignore */ getMarkerClusterer(): MarkerClusterer; - + /** * Returns the bounds of the cluster. * @@ -210,14 +210,14 @@ interface Cluster { * @ignore */ getBounds(): google.maps.LatLngBounds; - + /** * Removes the cluster from the map. * * @ignore */ remove(): void; - + /** * Adds a marker to the cluster. * @@ -226,7 +226,7 @@ interface Cluster { * @ignore */ addMarker(marker: google.maps.Marker): boolean; - + /** * Determines if a marker lies within the cluster's bounds. * @@ -235,33 +235,35 @@ interface Cluster { * @ignore */ isMarkerInClusterBounds(marker: google.maps.Marker): boolean; - + /** * Calculates the extended bounds of the cluster with the grid. */ calculateBounds_(): void; - + /** * Updates the cluster icon. */ updateIcon_(): void; - + /** * Determines if a marker has already been added to the cluster. * * @param {google.maps.Marker} marker The marker to check. * @return {boolean} True if the marker has already been added. */ - isMarkerAlreadyAdded_(marker: google.maps.Marker): boolean; + isMarkerAlreadyAdded_(marker: google.maps.Marker): boolean; } +type Calculator = (markers: google.maps.Marker[], clusterIconStylesCount: number) => ClusterIconInfo; + /** * Optional parameter passed to the {@link MarkerClusterer} constructor. */ interface MarkerClustererOptions { /** [gridSize=60] The grid size of a cluster in pixels. The grid is a square. */ gridSize?: number; - /** [maxZoom=null] The maximum zoom level at which clustering is enabled or + /** [maxZoom=null] The maximum zoom level at which clustering is enabled or * <code>null</code> if clustering is to be enabled at all zoom levels. */ maxZoom?: number; @@ -315,7 +317,7 @@ interface MarkerClustererOptions { * <code>title</code> is not defined, the tooltip is set to the value of the <code>title</code> * property for the MarkerClusterer. */ - calculator?: (markers: google.maps.Marker[], clusterIconStylesCount: number) => ClusterIconInfo; + calculator?: Calculator; /** * [clusterClass="cluster"] The name of the CSS class defining general styles * for the cluster markers. Use this class to define CSS styles that are not set up by the code @@ -344,7 +346,7 @@ interface MarkerClustererOptions { * Internet Explorer (for Internet Explorer, use the batchSizeIE property instead). */ batchSize?: number; - /** + /** * [batchSizeIE=MarkerClusterer.BATCH_SIZE_IE] When Internet Explorer is * being used, markers are processed in several batches with a small delay inserted between * each batch in an attempt to avoid Javascript timeout errors. Set this property to the @@ -385,13 +387,13 @@ interface MarkerClusterer extends google.maps.OverlayView { * @param {MarkerClustererOptions} [opt_options] The optional parameters. */ new (map: google.maps.Map, opt_markers: google.maps.Marker[], opt_options?: MarkerClustererOptions): MarkerClusterer; - + /** * Implementation of the onAdd interface method. * @ignore */ - onAdd(): void; - + onAdd(): void; + /** * Implementation of the onRemove interface method. * Removes map event listeners and all cluster icons from the DOM. @@ -399,276 +401,276 @@ interface MarkerClusterer extends google.maps.OverlayView { * @ignore */ onRemove(): void; - + /** * Implementation of the draw interface method. * @ignore */ draw(): void; - + /** * Sets up the styles object. */ setupStyles_(): void; - + /** * Fits the map to the bounds of the markers managed by the clusterer. */ fitMapToMarkers(): void; - + /** * Returns the value of the <code>gridSize</code> property. * * @return {number} The grid size. */ getGridSize(): number; - + /** * Sets the value of the <code>gridSize</code> property. * * @param {number} gridSize The grid size. */ setGridSize(gridSize: number): void; - + /** * Returns the value of the <code>minimumClusterSize</code> property. * * @return {number} The minimum cluster size. */ - getMinimumClusterSize(): number; - + getMinimumClusterSize(): number; + /** * Sets the value of the <code>minimumClusterSize</code> property. * * @param {number} minimumClusterSize The minimum cluster size. */ setMinimumClusterSize(minimumClusterSize: number): void; - + /** * Returns the value of the <code>maxZoom</code> property. * * @return {number} The maximum zoom level. */ getMaxZoom(): number; - + /** * Sets the value of the <code>maxZoom</code> property. * * @param {number} maxZoom The maximum zoom level. */ - setMaxZoom(maxZoom: number): void; - + setMaxZoom(maxZoom: number): void; + /** * Returns the value of the <code>styles</code> property. * * @return {Array} The array of styles defining the cluster markers to be used. */ getStyles(): ClusterIconStyle[]; - + /** * Sets the value of the <code>styles</code> property. * * @param {Array.<ClusterIconStyle>} styles The array of styles to use. */ setStyles(styles: ClusterIconStyle[]): void; - + /** * Returns the value of the <code>title</code> property. * * @return {string} The content of the title text. */ getTitle(): string; - + /** * Sets the value of the <code>title</code> property. * * @param {string} title The value of the title property. */ setTitle(title: string): void; - + /** * Returns the value of the <code>zoomOnClick</code> property. * * @return {boolean} True if zoomOnClick property is set. */ getZoomOnClick(): boolean; - + /** * Sets the value of the <code>zoomOnClick</code> property. * * @param {boolean} zoomOnClick The value of the zoomOnClick property. */ setZoomOnClick(zoomOnClick: boolean): void; - + /** * Returns the value of the <code>averageCenter</code> property. * * @return {boolean} True if averageCenter property is set. */ getAverageCenter(): boolean; - + /** * Sets the value of the <code>averageCenter</code> property. * * @param {boolean} averageCenter The value of the averageCenter property. */ setAverageCenter(averageCenter: boolean): void; - + /** * Returns the value of the <code>ignoreHidden</code> property. * * @return {boolean} True if ignoreHidden property is set. */ - getIgnoreHidden(): boolean; - + getIgnoreHidden(): boolean; + /** * Sets the value of the <code>ignoreHidden</code> property. * * @param {boolean} ignoreHidden The value of the ignoreHidden property. */ setIgnoreHidden(ignoreHidden: boolean): void; - + /** * Returns the value of the <code>enableRetinaIcons</code> property. * * @return {boolean} True if enableRetinaIcons property is set. */ getEnableRetinaIcons(): boolean; - + /** * Sets the value of the <code>enableRetinaIcons</code> property. * * @param {boolean} enableRetinaIcons The value of the enableRetinaIcons property. */ setEnableRetinaIcons(enableRetinaIcons: boolean): void; - + /** * Returns the value of the <code>imageExtension</code> property. * * @return {string} The value of the imageExtension property. */ getImageExtension(): string; - + /** * Sets the value of the <code>imageExtension</code> property. * * @param {string} imageExtension The value of the imageExtension property. */ setImageExtension(imageExtension: string): void; - + /** * Returns the value of the <code>imagePath</code> property. * * @return {string} The value of the imagePath property. */ getImagePath(): string; - + /** * Sets the value of the <code>imagePath</code> property. * * @param {string} imagePath The value of the imagePath property. */ setImagePath(imagePath: string): void; - + /** * Returns the value of the <code>imageSizes</code> property. * * @return {Array} The value of the imageSizes property. */ getImageSizes(): number[]; - + /** * Sets the value of the <code>imageSizes</code> property. * * @param {Array} imageSizes The value of the imageSizes property. */ setImageSizes(imageSizes: number[]): void; - + /** * Returns the value of the <code>calculator</code> property. * * @return {function} the value of the calculator property. - */ - getCalculator(): Function; - + */ + getCalculator(): Calculator; + /** * Sets the value of the <code>calculator</code> property. * * @param {function(Array.<google.maps.Marker>, number)} calculator The value * of the calculator property. */ - setCalculator(calculator: (marker: google.maps.Marker, value: number) => Function): void; - + setCalculator(calculator: Calculator): void; + /** * Sets the value of the <code>hideLabel</code> property. * * @param {boolean} printable The value of the hideLabel property. */ setHideLabel(printable: boolean): void; - + /** * Returns the value of the <code>hideLabel</code> property. * * @return {boolean} the value of the hideLabel property. */ getHideLabel(): boolean; - + /** * Returns the value of the <code>batchSizeIE</code> property. * * @return {number} the value of the batchSizeIE property. */ getBatchSizeIE(): number; - + /** * Sets the value of the <code>batchSizeIE</code> property. * * @param {number} batchSizeIE The value of the batchSizeIE property. */ setBatchSizeIE(batchSizeIE: number): void; - + /** * Returns the value of the <code>clusterClass</code> property. * * @return {string} the value of the clusterClass property. */ getClusterClass(): string; - + /** * Sets the value of the <code>clusterClass</code> property. * * @param {string} clusterClass The value of the clusterClass property. */ - setClusterClass(clusterClass: string): void; - + setClusterClass(clusterClass: string): void; + /** * Returns the array of markers managed by the clusterer. * * @return {Array} The array of markers managed by the clusterer. */ getMarkers(): google.maps.Marker[]; - + /** * Returns the number of markers managed by the clusterer. * * @return {number} The number of markers. */ getTotalMarkers(): number; - + /** * Returns the current array of clusters formed by the clusterer. * * @return {Array} The array of clusters formed by the clusterer. */ getClusters(): Cluster[]; - + /** * Returns the number of clusters formed by the clusterer. * * @return {number} The number of clusters formed by the clusterer. */ getTotalClusters(): number; - + /** * Adds a marker to the clusterer. The clusters are redrawn unless * <code>opt_nodraw</code> is set to <code>true</code>. @@ -677,7 +679,7 @@ interface MarkerClusterer extends google.maps.OverlayView { * @param {boolean} [opt_nodraw] Set to <code>true</code> to prevent redrawing. */ addMarker(marker: google.maps.Marker, opt_nodraw: boolean): void; - + /** * Adds an array of markers to the clusterer. The clusters are redrawn unless * <code>opt_nodraw</code> is set to <code>true</code>. @@ -686,14 +688,14 @@ interface MarkerClusterer extends google.maps.OverlayView { * @param {boolean} [opt_nodraw] Set to <code>true</code> to prevent redrawing. */ addMarkers(markers: google.maps.Marker[], opt_nodraw: boolean): void; - + /** * Pushes a marker to the clusterer. * * @param {google.maps.Marker} marker The marker to add. */ pushMarkerTo_(marker: google.maps.Marker): void; - + /** * Removes a marker from the cluster and map. The clusters are redrawn unless * <code>opt_nodraw</code> is set to <code>true</code>. Returns <code>true</code> if the @@ -705,7 +707,7 @@ interface MarkerClusterer extends google.maps.OverlayView { * @return {boolean} True if the marker was removed from the clusterer. */ removeMarker(marker: google.maps.Marker, opt_nodraw: boolean, noMapRemove: boolean): boolean; - + /** * Removes an array of markers from the cluster and map. The clusters are redrawn unless * <code>opt_nodraw</code> is set to <code>true</code>. Returns <code>true</code> if markers @@ -717,7 +719,7 @@ interface MarkerClusterer extends google.maps.OverlayView { * @return {boolean} True if markers were removed from the clusterer. */ removeMarkers(markers: google.maps.Marker[], opt_nodraw: boolean, opt_noMapRemove: boolean): boolean; - + /** * Removes a marker and returns true if removed, false if not. * @@ -726,19 +728,19 @@ interface MarkerClusterer extends google.maps.OverlayView { * @return {boolean} Whether the marker was removed or not */ removeMarker_(marker: google.maps.Marker, removeFromMap: boolean): boolean; - + /** * Removes all clusters and markers from the map and also removes all markers * managed by the clusterer. */ clearMarkers(): void; - + /** * Recalculates and redraws all the marker clusters from scratch. * Call this after changing any properties. */ repaint(): void; - + /** * Returns the current bounds extended by the grid size. * @@ -747,12 +749,12 @@ interface MarkerClusterer extends google.maps.OverlayView { * @ignore */ getExtendedBounds(bounds: google.maps.LatLngBounds): google.maps.LatLngBounds; - + /** * Redraws all the clusters. */ redraw_(): void; - + /** * Removes all clusters from the map. The markers are also removed from the map * if <code>opt_hide</code> is set to <code>true</code>. @@ -761,7 +763,7 @@ interface MarkerClusterer extends google.maps.OverlayView { * from the map. */ resetViewport_(opt_hide: boolean): void; - + /** * Calculates the distance between two latlng locations in km. * @@ -771,7 +773,7 @@ interface MarkerClusterer extends google.maps.OverlayView { * @see http://www.movable-type.co.uk/scripts/latlong.html */ distanceBetweenPoints_(p1: google.maps.LatLng, p2: google.maps.LatLng): number; - + /** * Determines if a marker is contained in a bounds. * @@ -780,14 +782,14 @@ interface MarkerClusterer extends google.maps.OverlayView { * @return {boolean} True if the marker is in the bounds. */ isMarkerInBounds_(marker: google.maps.Marker, bounds: google.maps.LatLngBounds): boolean; - + /** * Adds a marker to a cluster, or creates a new cluster. * * @param {google.maps.Marker} marker The marker to add. */ addToClosestCluster_(marker: google.maps.Marker): void; - + /** * Creates the clusters. This is done in batches to avoid timeout errors * in some browsers when there is a huge number of markers. @@ -796,7 +798,7 @@ interface MarkerClusterer extends google.maps.OverlayView { * markers to be added to clusters. */ createClusters_(iFirst: number): void; - + /** * Extends an object's prototype by another's. * @@ -806,7 +808,7 @@ interface MarkerClusterer extends google.maps.OverlayView { * @ignore */ extend(obj1: Object, obj2: Object): Object; - + /** * The default function for determining the label text and style * for a cluster icon. @@ -817,8 +819,8 @@ interface MarkerClusterer extends google.maps.OverlayView { * @constant * @ignore */ - CALCULATOR(markers: google.maps.Marker[], numStyles: number): ClusterIconInfo; - + CALCULATOR: Calculator; + /** * The number of markers to process in one batch. * @@ -826,7 +828,7 @@ interface MarkerClusterer extends google.maps.OverlayView { * @constant */ BATCH_SIZE: number; - + /** * The number of markers to process in one batch (IE only). * @@ -834,7 +836,7 @@ interface MarkerClusterer extends google.maps.OverlayView { * @constant */ BATCH_SIZE_IE: number; - + /** * The default root name for the marker cluster images. * @@ -842,7 +844,7 @@ interface MarkerClusterer extends google.maps.OverlayView { * @constant */ IMAGE_PATH: string; - + /** * The default extension name for the marker cluster images. * @@ -850,7 +852,7 @@ interface MarkerClusterer extends google.maps.OverlayView { * @constant */ IMAGE_EXTENSION: string; - + /** * The default array of sizes for the marker cluster images. * @@ -858,11 +860,11 @@ interface MarkerClusterer extends google.maps.OverlayView { * @constant */ IMAGE_SIZES: number[]; - + } declare var MarkerClusterer: MarkerClusterer; - + interface String { trim(): string; } From 4b74fba9172e06227d221a9a8d0915dc9b53d30b Mon Sep 17 00:00:00 2001 From: xeningem <xeningem@gmail.com> Date: Thu, 5 Oct 2017 22:05:51 +0300 Subject: [PATCH 159/433] Add types for convert-layout ( https://github.com/ai/convert-layout ) (#20326) * Add types for convert-layout ( https://github.com/ai/convert-layout ) * Add missed layouts, fix tsc warnings * Fix tslint and common mistakes --- types/convert-layout/by.d.ts | 2 ++ types/convert-layout/convert-layout-tests.ts | 5 ++++ types/convert-layout/de.d.ts | 2 ++ types/convert-layout/es.d.ts | 2 ++ types/convert-layout/he.d.ts | 2 ++ types/convert-layout/index.d.ts | 11 ++++++++ types/convert-layout/kk.d.ts | 2 ++ types/convert-layout/ru.d.ts | 2 ++ types/convert-layout/tsconfig.json | 29 ++++++++++++++++++++ types/convert-layout/tslint.json | 1 + types/convert-layout/uk.d.ts | 2 ++ 11 files changed, 60 insertions(+) create mode 100644 types/convert-layout/by.d.ts create mode 100644 types/convert-layout/convert-layout-tests.ts create mode 100644 types/convert-layout/de.d.ts create mode 100644 types/convert-layout/es.d.ts create mode 100644 types/convert-layout/he.d.ts create mode 100644 types/convert-layout/index.d.ts create mode 100644 types/convert-layout/kk.d.ts create mode 100644 types/convert-layout/ru.d.ts create mode 100644 types/convert-layout/tsconfig.json create mode 100644 types/convert-layout/tslint.json create mode 100644 types/convert-layout/uk.d.ts diff --git a/types/convert-layout/by.d.ts b/types/convert-layout/by.d.ts new file mode 100644 index 0000000000..bc4d5ac834 --- /dev/null +++ b/types/convert-layout/by.d.ts @@ -0,0 +1,2 @@ +import { layout } from './index'; +export const by: layout; diff --git a/types/convert-layout/convert-layout-tests.ts b/types/convert-layout/convert-layout-tests.ts new file mode 100644 index 0000000000..041e257531 --- /dev/null +++ b/types/convert-layout/convert-layout-tests.ts @@ -0,0 +1,5 @@ +import { ru } from 'convert-layout/ru'; + +const s = 'Lorem ipsum dolor sit amet.'; +let result = ru.toEn(s); +result = ru.fromEn(s); diff --git a/types/convert-layout/de.d.ts b/types/convert-layout/de.d.ts new file mode 100644 index 0000000000..d422224a3f --- /dev/null +++ b/types/convert-layout/de.d.ts @@ -0,0 +1,2 @@ +import { layout } from './index'; +export const de: layout; diff --git a/types/convert-layout/es.d.ts b/types/convert-layout/es.d.ts new file mode 100644 index 0000000000..3c4a7b75dd --- /dev/null +++ b/types/convert-layout/es.d.ts @@ -0,0 +1,2 @@ +import { layout } from './index'; +export const es: layout; diff --git a/types/convert-layout/he.d.ts b/types/convert-layout/he.d.ts new file mode 100644 index 0000000000..ca98b2d035 --- /dev/null +++ b/types/convert-layout/he.d.ts @@ -0,0 +1,2 @@ +import { layout } from './index'; +export const he: layout; diff --git a/types/convert-layout/index.d.ts b/types/convert-layout/index.d.ts new file mode 100644 index 0000000000..65475cf107 --- /dev/null +++ b/types/convert-layout/index.d.ts @@ -0,0 +1,11 @@ +// Type definitions for convert-layout 0.5 +// Project: https://github.com/ai/convert-layout#readme +// Definitions by: Mikhail Aksenov <https://github.com/xeningem> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 +export const layouts: { [id: string]: layout }; + +export interface layout { + toEn(s: string): string; + fromEn(s: string): string; +} diff --git a/types/convert-layout/kk.d.ts b/types/convert-layout/kk.d.ts new file mode 100644 index 0000000000..a9cc93f774 --- /dev/null +++ b/types/convert-layout/kk.d.ts @@ -0,0 +1,2 @@ +import { layout } from './index'; +export const kk: layout; diff --git a/types/convert-layout/ru.d.ts b/types/convert-layout/ru.d.ts new file mode 100644 index 0000000000..3cd24807cb --- /dev/null +++ b/types/convert-layout/ru.d.ts @@ -0,0 +1,2 @@ +import { layout } from './index'; +export const ru: layout; diff --git a/types/convert-layout/tsconfig.json b/types/convert-layout/tsconfig.json new file mode 100644 index 0000000000..6f4bf50c1d --- /dev/null +++ b/types/convert-layout/tsconfig.json @@ -0,0 +1,29 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "by.d.ts", + "de.d.ts", + "es.d.ts", + "he.d.ts", + "kk.d.ts", + "ru.d.ts", + "uk.d.ts", + "convert-layout-tests.ts" + ] +} diff --git a/types/convert-layout/tslint.json b/types/convert-layout/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/convert-layout/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } diff --git a/types/convert-layout/uk.d.ts b/types/convert-layout/uk.d.ts new file mode 100644 index 0000000000..dee51e6f00 --- /dev/null +++ b/types/convert-layout/uk.d.ts @@ -0,0 +1,2 @@ +import { layout } from './index'; +export const uk: layout; From 262601f878d78b52fb0805f5dae931e5830facf3 Mon Sep 17 00:00:00 2001 From: sotnight <hogberg.markus@gmail.com> Date: Thu, 5 Oct 2017 21:19:36 +0200 Subject: [PATCH 160/433] Fixed bug in pixi.js. TextMetrics.lineWidgets is incorrect. Should be TextMetrics.lineWidths (#20314) --- types/pixi.js/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/pixi.js/index.d.ts b/types/pixi.js/index.d.ts index 85cc9cf1d8..29697e08bf 100644 --- a/types/pixi.js/index.d.ts +++ b/types/pixi.js/index.d.ts @@ -1417,7 +1417,7 @@ declare namespace PIXI { width: number; height: number; lines: number[]; - lineWidgets: number[]; + lineWidths: number[]; lineHeight: number; maxLineWidth: number; fontProperties: any; From b9536b7e46dc4894183bdde00ecb0b556d293410 Mon Sep 17 00:00:00 2001 From: PishangCode <m.akmalhakim95@gmail.com> Date: Fri, 6 Oct 2017 20:02:10 +0800 Subject: [PATCH 161/433] removing realm --- notNeededPackages.json | 6 + types/realm/index.d.ts | 456 ------------------------------------- types/realm/realm-tests.ts | 98 -------- types/realm/tsconfig.json | 23 -- types/realm/tslint.json | 8 - 5 files changed, 6 insertions(+), 585 deletions(-) delete mode 100644 types/realm/index.d.ts delete mode 100644 types/realm/realm-tests.ts delete mode 100644 types/realm/tsconfig.json delete mode 100644 types/realm/tslint.json diff --git a/notNeededPackages.json b/notNeededPackages.json index e94e48189c..6e6767c69f 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -504,6 +504,12 @@ "sourceRepoURL": "https://github.com/gpbl/react-day-picker", "asOfVersion": "5.3.0" }, + { + "libraryName": "realm", + "typingsPackageName": "realm", + "sourceRepoURL": "https://github.com/realm/realm-js/blob/master/lib/index.d.ts", + "asOfVersion": "1.0.3" + }, { "libraryName": "Redux", "typingsPackageName": "redux", diff --git a/types/realm/index.d.ts b/types/realm/index.d.ts deleted file mode 100644 index 993f0bcc0f..0000000000 --- a/types/realm/index.d.ts +++ /dev/null @@ -1,456 +0,0 @@ -// Type definitions for realm-js 1.0 -// Project: https://github.com/realm/realm-js -// Definitions by: Akim <https://github.com/Akim95> -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.1 - -declare namespace Realm { - /** - * PropertyType - * @see { @link https://realm.io/docs/javascript/latest/api/Realm.html#~PropertyType } - */ - type PropertyType = string | 'bool' | 'int' | 'float' | 'double' | 'string' | 'data' | 'date' | 'list'; - - /** - * ObjectSchemaProperty - * @see { @link https://realm.io/docs/javascript/latest/api/Realm.html#~ObjectSchemaProperty } - */ - interface ObjectSchemaProperty { - type: PropertyType; - objectType?: string; - default?: any; - optional?: boolean; - indexed?: boolean; - } - - // properties types - interface PropertiesTypes { - [keys: string]: PropertyType | ObjectSchemaProperty; - } - - /** - * ObjectSchema - * @see { @link https://realm.io/docs/javascript/latest/api/Realm.html#~ObjectSchema } - */ - interface ObjectSchema { - name: string; - primaryKey?: string; - properties: PropertiesTypes; - } - - /** - * ObjectClass - * @see { @link https://realm.io/docs/javascript/latest/api/Realm.html#~ObjectClass } - */ - interface ObjectClass { - schema: ObjectSchema; - } - - /** - * ObjectType - * @see { @link https://realm.io/docs/javascript/latest/api/Realm.html#~ObjectType } - */ - interface ObjectType { - type: ObjectClass; - } - - interface SyncConfiguration { - user: User; - url: string; - } - - /** - * realm configuration - * @see { @link https://realm.io/docs/javascript/latest/api/Realm.html#~Configuration } - */ - interface Configuration { - encryptionKey?: any; - migration?: any; - path?: string; - readOnly?: boolean; - schema?: ObjectClass[] | ObjectSchema[]; - schemaVersion?: number; - sync?: SyncConfiguration; - } - - // object props type - interface ObjectPropsType { - [keys: string]: any; - } - - /** - * SortDescriptor - * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Collection.html#~SortDescriptor } - */ - type SortDescriptor = string | [string, boolean] | any[]; - - /** - * Iterator - * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Collection.html#~Iterator } - */ - interface IteratorResult<T> { - done: boolean; - value?: T; - } - - interface Iterator<T> { - next(done: boolean, value?: any): IteratorResult<T>; - [Symbol.iterator](): any; - } - - /** - * Collection - * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Collection.html } - */ - interface Collection<T> { - readonly length: number; - - /** - * @returns boolean - */ - isValid(): boolean; - - /** - * @param {string} query - * @param {any[]} ...arg - * @returns Results - */ - filtered(query: string, ...arg: any[]): Results<T>; - - /** - * @param {string|SortDescriptor} descriptor - * @param {boolean} reverse? - * @returns Results - */ - sorted(descriptor: string | SortDescriptor, reverse?: boolean): Results<T>; - - /** - * @returns Iterator - */ - [Symbol.iterator](): Iterator<T>; - - /** - * @returns Results - */ - snapshot(): Results<T>; - - /** - * @returns Iterator<any> - */ - entries(): Iterator<any>; - - /** - * @returns Iterator<any> - */ - keys(): Iterator<any>; - - /** - * @returns Iterator<any> - */ - values(): Iterator<any>; - - /** - * @param {string[]} separator? - * @returns string - */ - join(separator?: string[]): string; - - /** - * @param {number} start? - * @param {number} end? - * @returns T - */ - slice(start?: number, end?: number): T[]; - - /** - * @param {(object:any,index?:any,collection?:any)=>void} callback - * @param {any} thisArg? - * @returns T - */ - find(callback: (object: any, index?: any, collection?: any) => void, thisArg?: any): T | null | undefined; - - /** - * @param {(object:any,index?:number,collection?:any)=>void} callback - * @param {any} thisArg? - * @returns number - */ - findIndex(callback: (object: any, index?: number, collection?: any) => void, thisArg?: any): number; - - /** - * @param {(object:T,index?:number,collection?:any)=>void} callback - * @param {any} thisArg? - * @returns void - */ - forEach(callback: (object: T, index?: number, collection?: any) => void, thisArg?: any): void; - - /** - * @param {(object:T,index?:number,collection?:any)=>void} callback - * @param {any} thisArg? - * @returns boolean - */ - every(callback: (object: T, index?: number, collection?: any) => void, thisArg?: any): boolean; - - /** - * @param {(object:T,index?:number,collection?:any)=>void} callback - * @param {any} thisArg? - * @returns boolean - */ - some(callback: (object: T, index?: number, collection?: any) => void, thisArg?: any): boolean; - - /** - * @param {(object:T,index?:number,collection?:any)=>void} callback - * @param {any} thisArg? - * @returns any - */ - map(callback: (object: T, index?: number, collection?: any) => void, thisArg?: any): any[]; - - /** - * @param {(previousValue:T,object?:T,index?:number,collection?:any)=>void} callback - * @param {any} initialValue? - * @returns any - */ - reduce(callback: (previousValue: T, object?: T, index?: number, collection?: any) => void, initialValue?: any): any; - - /** - * @param {(previousValue:T,object?:T,index?:any,collection?:any)=>void} callback - * @param {any} initialValue? - * @returns any - */ - reduceRight(callback: (previousValue: T, object?: T, index?: any, collection?: any) => void, initialValue?: any): any; - - /** - * @param {(collection:any,changes:any)=>void} callback - * @returns void - */ - addListener(callback: (collection: any, changes: any) => void): void; - - /** - * @returns void - */ - removeAllListeners(): void; - - /** - * @param {()=>void} callback - * @returns void - */ - removeListener(callback: () => void): void; - } - - /** - * Object - * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Object.html } - */ - interface Object { - /** - * @returns boolean - */ - isValid(): boolean; - } - - /** - * List - * @see { @link https://realm.io/docs/javascript/latest/api/Realm.List.html } - */ - interface List<T> extends Collection<T> { - /** - * @returns T - */ - pop(): T | null | undefined; - - /** - * @param {T} object - * @returns number - */ - push(object: T): number; - - /** - * @returns T - */ - shift(): T | null | undefined; - - /** - * @param {number} index - * @param {number} count? - * @param {any} object? - * @returns T - */ - splice(index: number, count?: number, object?: any): T[]; - - /** - * @param {T} object - * @returns number - */ - unshift(object: T): number; - } - - /** - * Results - * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Results.html } - */ - type Results<T> = Collection<T>; - - /** - * User - * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Sync.User.html } - */ - interface User { - all: any; - current: User; - readonly identity: string; - readonly isAdmin: boolean; - readonly server: string; - readonly token: string; - adminUser(adminToken: string): User; - login(server: string, username: string, password: string, callback: (error: any, user: any) => void): void; - loginWithProvider(server: string, provider: string, providerToken: string, callback: (error: any, user: any) => void): void; - register(server: string, username: string, password: string, callback: (error: any, user: any) => void): void; - registerWithProvider(server: string, provider: string, providerToken: string, callback: (error: any, user: any) => void): void; - logout(): void; - openManagementRealm(): Realm; - } - - /** - * Session - * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Sync.Session.html } - */ - interface Session { - readonly config: any; - readonly state: string; - readonly url: string; - readonly user: User; - } - - /** - * AuthError - * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Sync.AuthError.html } - */ - interface AuthError { - readonly code: number; - readonly type: string; - } - - /** - * ChangeEvent - * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Sync.ChangeEvent.html } - */ - interface ChangeEvent { - readonly changes: any; - readonly oldRealm: Realm; - readonly path: string; - readonly realm: Realm; - } - - /** - * LogLevel - * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Sync.html#~LogLevel } - */ - type LogLevelType = string | 'error' | 'info' | 'defug'; - - /** - * Sync - * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Sync.html } - */ - interface Sync { - User: User; - Session: Session; - AuthError: AuthError; - ChangeEvent: ChangeEvent; - addListener(serverURL: string, adminUser: User, regex: string, name: string, changeCallback: () => void): void; - removeAllListeners(name?: string[]): void; - removeListener(regex: string, name: string, changeCallback: () => void): void; - setLogLevel(logLevel: LogLevelType): void; - } -} - -declare class Realm { - static defaultPath: string; - - readonly path: string; - - readonly readOnly: boolean; - - readonly schema: Realm.ObjectSchema[]; - - readonly schemaVersion: number; - - static Sync: Realm.Sync; - - syncSession: Realm.Session; - - /** - * @param {string} path - * @param {any} encryptionKey? - * @returns number - */ - static schemaVersion(path: string, encryptionKey?: any): number; - - /** - * @param {Realm.Configuration} config? - */ - constructor(config?: Realm.Configuration); - - /** - * @returns void - */ - close(): void; - - /** - * @param {string|Realm.ObjectType} type - * @param {T&Realm.ObjectPropsType} properties - * @param {boolean} update? - * @returns T - */ - create<T>(type: string | Realm.ObjectType, properties: T & Realm.ObjectPropsType, update?: boolean): T; - - /** - * @param {Realm.Object|Realm.Object[]|Realm.List<any>|Realm.Results<any>|any} object - * @returns void - */ - delete(object: Realm.Object | Realm.Object[] | Realm.List<any> | Realm.Results<any> | any): void; - - /** - * @returns void - */ - deleteAll(): void; - - /** - * @param {string|Realm.ObjectType} type - * @param {number|string} key - * @returns T - */ - objectForPrimaryKey<T>(type: string | Realm.ObjectType, key: number | string): T | void; - - /** - * @param {string|Realm.ObjectType} type - * @returns Realm - */ - objects<T>(type: string | Realm.ObjectType): Realm.ObjectType & Realm.Results<T>; - - /** - * @param {string} name - * @param {()=>void} callback - * @returns void - */ - addListener(name: string, callback: () => void): void; - - /** - * @param {string} name - * @param {()=>void} callback - * @returns void - */ - removeListener(name: string, callback: () => void): void; - - /** - * @param {string[]} name? - * @returns void - */ - removeAllListeners(name?: string[]): void; - - /** - * @param {()=>void} callback - * @returns void - */ - write(callback: () => void): void; -} - -export = Realm; diff --git a/types/realm/realm-tests.ts b/types/realm/realm-tests.ts deleted file mode 100644 index 5f171a3287..0000000000 --- a/types/realm/realm-tests.ts +++ /dev/null @@ -1,98 +0,0 @@ -import * as Realm from 'realm'; - -// schema test -const personSchema = { - name: 'Person', - primaryKey: 'id', - properties: { - id: 'int', - name: { type: 'string', default: 'anonymous', indexed: true }, - profilePic: { type: 'string', optional: true } - } -}; - -// encryptionKey -const key = new Int8Array(64); - -// constructor test -const realm = new Realm({ - schema: [personSchema], - encryptionKey: key -}); - -realm.write(() => { - // create test - realm.create('Person', { - id: 1, - name: 'Tony' - }); - - // update test - realm.create('Person', { - id: 1, - name: 'Jack' - }, true); -}); - -// delete all person test -const allPerson = realm.objects('Person'); -realm.delete(allPerson); - -// filtered test -const allJack = allPerson.filtered('name = "Jack"'); - -// sorted test -allJack.sorted('id'); -allJack.sorted('id', true); - -// limiting results test -allJack.slice(0, 2); - -// change events test -realm.addListener('change', () => { - return 'updated'; -}); - -// remove all events -realm.removeAllListeners(); - -allPerson.find((person: any) => { - return person.name === 'Jack'; -}); - -const currentVersion = Realm.schemaVersion(Realm.defaultPath); - -// username/password authentication -Realm.Sync.User.register('http://localhost:9080', 'username@example.com', 'p@s$w0rd', (error, user) => { /* ... */ }); - -Realm.Sync.User.login('http://localhost.com:9080', 'username@example.com', 'p@s$w0rd', (error, user) => { - const todoSchema = { - name: 'Todo', - primaryKey: 'id', - properties: { - id: 'int', - task: 'string', - } - }; - - // sync test - const realm = new Realm({ - schema: [todoSchema], - sync: { user, url: 'realm://localhost:9080/~/todos' } - }); - - // session test - const session = realm.syncSession; - const sessionUrl = session.config.url; -}); - -// facebook authentication -const fbAccessToken = 'acc3ssT0ken...'; -Realm.Sync.User.registerWithProvider('http://localhost:9080', 'facebook', fbAccessToken, (error, user) => { /* ... */ }); - -// user test -const user = Realm.Sync.User.current; -const users = Realm.Sync.User.all; - -// access control test -const managementRealm = user.openManagementRealm(); diff --git a/types/realm/tsconfig.json b/types/realm/tsconfig.json deleted file mode 100644 index 583e188e67..0000000000 --- a/types/realm/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "realm-tests.ts" - ] -} \ No newline at end of file diff --git a/types/realm/tslint.json b/types/realm/tslint.json deleted file mode 100644 index e6dc9b7f2f..0000000000 --- a/types/realm/tslint.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "dtslint/dt.json", - "rules": { - // TODO - "no-any-union": false, - "no-unnecessary-generics": false - } -} From a561581f82eedeedbb9290aec894abdfaf1a84bd Mon Sep 17 00:00:00 2001 From: PishangCode <m.akmalhakim95@gmail.com> Date: Fri, 6 Oct 2017 20:06:28 +0800 Subject: [PATCH 162/433] update repo url --- notNeededPackages.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notNeededPackages.json b/notNeededPackages.json index 6e6767c69f..baaee879bf 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -507,7 +507,7 @@ { "libraryName": "realm", "typingsPackageName": "realm", - "sourceRepoURL": "https://github.com/realm/realm-js/blob/master/lib/index.d.ts", + "sourceRepoURL": "https://github.com/realm/realm-js", "asOfVersion": "1.0.3" }, { From 234e7262192b31250e87fcad5f261f00319aaaab Mon Sep 17 00:00:00 2001 From: Thomas Bouldin <inlined@users.noreply.github.com> Date: Fri, 6 Oct 2017 07:21:37 -0700 Subject: [PATCH 163/433] Allow option to be a string in Node 6 request methods (#20272) * Add string option to request methods. Per [Node docs](https://nodejs.org/docs/latest-v6.x/api/http.html#http_http_request_options_callback) the `get` and `request` methods should allow the `options` param to be a string. This is true for both the 'https' and 'http' modules. * Add self to "definitions by" per README recommendations --- types/node/v6/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/node/v6/index.d.ts b/types/node/v6/index.d.ts index 8e12079d5c..e89656eedf 100644 --- a/types/node/v6/index.d.ts +++ b/types/node/v6/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for Node.js v6.x // Project: http://nodejs.org/ -// Definitions by: Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>, Wilco Bakker <https://github.com/WilcoBakker> +// Definitions by: Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>, Wilco Bakker <https://github.com/WilcoBakker>, Thomas Bouldin <https://github.com/inlined> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /************************************************ @@ -798,7 +798,7 @@ declare module "http" { }; export function createServer(requestListener?: (request: IncomingMessage, response: ServerResponse) => void): Server; export function createClient(port?: number, host?: string): any; - export function request(options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest; + export function request(options: RequestOptions | string, callback?: (res: IncomingMessage) => void): ClientRequest; export function get(options: any, callback?: (res: IncomingMessage) => void): ClientRequest; export var globalAgent: Agent; } @@ -1353,8 +1353,8 @@ declare module "https" { }; export interface Server extends tls.Server { } export function createServer(options: ServerOptions, requestListener?: Function): Server; - export function request(options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; - export function get(options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; + export function request(options: RequestOptions | string, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; + export function get(options: RequestOptions | string, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; export var globalAgent: Agent; } From 53d3db57a85093d2ddf8f3757cf1e5a19b2c28de Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Fri, 6 Oct 2017 09:53:39 -0700 Subject: [PATCH 164/433] transducers-js: Fix lint (#20237) --- types/transducers-js/tslint.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/transducers-js/tslint.json b/types/transducers-js/tslint.json index a62d0d4e68..2739e01019 100644 --- a/types/transducers-js/tslint.json +++ b/types/transducers-js/tslint.json @@ -1,6 +1,8 @@ { "extends": "dtslint/dt.json", "rules": { - "ban-types": false + // TODOs + "ban-types": false, + "no-unnecessary-generics": false } } From edcbfae6b00e2e5b594a57c871116e59d131571a Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Fri, 6 Oct 2017 09:53:52 -0700 Subject: [PATCH 165/433] tinymce: Fix lint (#20238) --- types/tinymce/tslint.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/tinymce/tslint.json b/types/tinymce/tslint.json index 4f44991c3c..a42975357d 100644 --- a/types/tinymce/tslint.json +++ b/types/tinymce/tslint.json @@ -1,6 +1,8 @@ { "extends": "dtslint/dt.json", "rules": { - "no-empty-interface": false + // TODOs + "no-empty-interface": false, + "no-unnecessary-generics": false } } From 5b43049d8d6a7ec1e823c7d6628a97b9a762f2db Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Fri, 6 Oct 2017 09:54:22 -0700 Subject: [PATCH 166/433] js-data: Provides its own types (#20247) --- notNeededPackages.json | 6 + types/js-data/index.d.ts | 348 ----------------- types/js-data/js-data-tests.ts | 604 ------------------------------ types/js-data/tsconfig.json | 22 -- types/js-data/v1/index.d.ts | 317 ---------------- types/js-data/v1/js-data-tests.ts | 585 ----------------------------- types/js-data/v1/tsconfig.json | 27 -- 7 files changed, 6 insertions(+), 1903 deletions(-) delete mode 100644 types/js-data/index.d.ts delete mode 100644 types/js-data/js-data-tests.ts delete mode 100644 types/js-data/tsconfig.json delete mode 100644 types/js-data/v1/index.d.ts delete mode 100644 types/js-data/v1/js-data-tests.ts delete mode 100644 types/js-data/v1/tsconfig.json diff --git a/notNeededPackages.json b/notNeededPackages.json index e94e48189c..0c6f29e3f4 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -294,6 +294,12 @@ "sourceRepoURL": "https://github.com/fpellet/jquery.ajaxFile", "asOfVersion": "0.2.29" }, + { + "libraryName": "js-data", + "typingsPackageName": "js-data", + "sourceRepoURL": "https://github.com/js-data/js-data", + "asOfVersion": "3.0.0" + }, { "libraryName": "JSNLog", "typingsPackageName": "jsnlog", diff --git a/types/js-data/index.d.ts b/types/js-data/index.d.ts deleted file mode 100644 index 0121210095..0000000000 --- a/types/js-data/index.d.ts +++ /dev/null @@ -1,348 +0,0 @@ -// Type definitions for JSData v2.8.0 -// Project: https://github.com/js-data/js-data -// Definitions by: Stefan Steinhart <https://github.com/reppners> -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -/////////////////////////////////////////////////////////////////////////////// -// js-data module (js-data.js) -/////////////////////////////////////////////////////////////////////////////// - -declare namespace JSData { - - interface JSDataPromise<R> { - then<U>(onFulfilled?:(value:R) => U | JSDataPromise<U>, onRejected?:(error:any) => U | JSDataPromise<U>): JSDataPromise<U>; - - catch<U>(onRejected?:(error:any) => U | JSDataPromise<U>): JSDataPromise<U>; - - // enhanced with finally - finally(finallyCb?:() => any): JSDataPromise<R>; - } - - interface DSConfiguration extends IDSResourceLifecycleEventHandlers { - actions?: Object; - allowSimpleWhere?: boolean; - basePath?: string; - bypassCache?: boolean; - cacheResponse?: boolean; - clearEmptyQueries?:boolean; - debug?:boolean; - defaultAdapter?: string; - defaultFilter?: (collection:Array<any>, resourceName:string, params:DSFilterArg, options:DSConfiguration)=>Array<any>; - defaultValues?:Object; - eagerEject?: boolean; - endpoint?: string; - error?: boolean | ((message?:any, ...optionalParams:any[])=> void); - fallbackAdapters?: Array<string>; - findAllFallbackAdapters?: Array<string>; - findAllStrategy?: string; - findFallbackAdapters?: Array<string>; - findStrategy?: string - findStrictCache?:boolean; - idAttribute?: string; - ignoredChanges?: Array<RegExp | string>; - ignoreMissing?: boolean; - instanceEvents?:boolean; - keepChangeHistory?: boolean; - linkRelations?:boolean; - log?: boolean | ((message?:any, ...optionalParams:any[])=> void); - maxAge?: number; - notify?: boolean; - omit?:Array<string|RegExp>; - onConflict?:string; // "merge"(default) or "replace" - reapAction?: string; - reapInterval?: number; - relationsEnumerable?:boolean; - resetHistoryOnInject?: boolean; - returnMeta?:boolean; - scopes?:Object; - strategy?: string; - upsert?: boolean; - useClass?: any; - useFilter?: boolean; - watchChanges?:boolean; - } - - interface DSResourceDefinitionConfiguration extends DSConfiguration { - computed?: any; - meta?:any; - methods?: any; - name: string; - relations?: { - hasMany?: Object; - hasOne?: Object; - belongsTo?: Object; - }; - } - - interface DSFilterParams { - where?: Object; - - limit?: number; - - skip?: number; - offset?: number; - - orderBy?: string | Array<string> | Array<Array<string>>; - sort?: string | Array<string> | Array<Array<string>>; - } - - type DSFilterArg = DSFilterParams | Object; - - interface DSAdapterOperationConfiguration extends DSConfiguration { - adapter?: string; - params?: { - [paramName: string]: string | number | boolean; - }; - } - - interface DSSaveConfiguration extends DSAdapterOperationConfiguration { - changesOnly?: boolean; - } - - interface DSCollection<T> extends Array<T> { - fetch(params?:DSFilterArg, options?:DSConfiguration):JSDataPromise<Array<T & DSInstanceShorthands<T>>>; - params:DSFilterArg; - resourceName:string; - } - - interface DSEvents { - on(name:string, handler:(...args:any[])=>void):void; - off(name:string, handler:(...args:any[])=>void):void; - emit(name:string, ...args:any[]):void; - } - - interface DS extends DSEvents { - new(config?:DSConfiguration):DS; - - // rather undocumented - errors:DSErrors; - - // those are objects containing the defined resources and adapters - definitions:any; - adapters:any; - - defaults:DSConfiguration; - - changeHistory(resourceName:string, id:string | number):Array<Object>; - changes(resourceName:string, id:string | number, options?:{ignoredChanges:Array<string|RegExp>}):Object; - clear<T>():Array<T & DSInstanceShorthands<T>>; - compute<T>(resourceName:string, idOrInstance:number | string | T):T & DSInstanceShorthands<T>; - create<T>(resourceName:string, attrs:Object, options?:DSConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - createCollection<T>(resourceName:string, array?:Array<T>, params?:DSFilterArg, options?:DSConfiguration):DSCollection<T & DSInstanceShorthands<T>>; - createInstance<T>(resourceName:string, attrs?:Object, options?:DSConfiguration):T & DSInstanceShorthands<T>; - destroy(resourceName:string, id:string | number, options?:DSAdapterOperationConfiguration):JSDataPromise<void>; - destroyAll(resourceName:string, params?:DSFilterArg, options?:DSAdapterOperationConfiguration):JSDataPromise<void>; - digest():void; - eject<T>(resourceName:string, id:string | number, options?:DSConfiguration):T & DSInstanceShorthands<T>; - ejectAll<T>(resourceName:string, params:DSFilterArg, options?:DSConfiguration):Array<T & DSInstanceShorthands<T>>; - filter<T>(resourceName:string, params:DSFilterArg, options?:DSConfiguration):Array<T & DSInstanceShorthands<T>>; - find<T>(resourceName:string, id:string | number, options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - findAll<T>(resourceName:string, params?:DSFilterArg, options?:DSAdapterOperationConfiguration):JSDataPromise<Array<T & DSInstanceShorthands<T>>>; - get<T>(resourceName:string, id:string | number):T & DSInstanceShorthands<T>; - getAll<T>(resourceName:string, ids?:Array<string | number>):Array<T & DSInstanceShorthands<T>>; - hasChanges(resourceName:string, id:string | number):boolean; - inject<TInject, U>(resourceName:string, attrs:TInject, options?:DSConfiguration):U & DSInstanceShorthands<U>; - inject<TInject, U>(resourceName:string, items:Array<TInject>, options?:DSConfiguration):Array<U & DSInstanceShorthands<U>>; - is(resourceName:string, object:Object): boolean; - lastModified(resourceName:string, id?:string | number):number; // timestamp - lastSaved(resourceName:string, id?:string | number):number; // timestamp - loadRelations<T>(resourceName:string, idOrInstance:string | number, relations:string | Array<string>, options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - previous<T>(resourceName:string, id:string | number):T & DSInstanceShorthands<T>; - reap(resourceName:string):JSDataPromise<void>; - refresh<T>(resourceName:string, id:string | number, options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - refreshAll<T>(resourceName:string, params?:DSFilterArg, options?:DSAdapterOperationConfiguration):JSDataPromise<Array<T & DSInstanceShorthands<T>>>; - revert<T>(resourceName:string, id:string | number):T & DSInstanceShorthands<T>; - save<T>(resourceName:string, id:string | number, options?:DSSaveConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - update<T>(resourceName:string, id:string | number, attrs:Object, options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - updateAll<T>(resourceName:string, attrs:Object, params?:DSFilterArg, options?:DSAdapterOperationConfiguration):JSDataPromise<Array<T & DSInstanceShorthands<T>>>; - - defineResource<T>(resourceNameOrDefinition:string | DSResourceDefinitionConfiguration):DSResourceDefinition<T>; - defineResource<T, TActions>(resourceNameOrDefinition:string | DSResourceDefinitionConfiguration):DSResourceDefinition<T> & TActions; - registerAdapter(adapterId:string, adapter:IDSAdapter, options?:{default: boolean}):void; - } - - interface DSResourceDefinition<T> extends DSResourceDefinitionConfiguration, DSEvents { - changeHistory(id:string | number):Array<Object>; - changes(id:string | number, options?:{ignoredChanges:Array<string|RegExp>}):Object; - clear():Array<T & DSInstanceShorthands<T>>; - compute(idOrInstance:number | string | T):T & DSInstanceShorthands<T>; - create(attrs:Object, options?:DSConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - createCollection(array?:Array<T>, params?:DSFilterArg, options?:DSConfiguration):DSCollection<T & DSInstanceShorthands<T>>; - createInstance(attrs?:Object, options?:DSConfiguration):T & DSInstanceShorthands<T>; - destroy(id:string | number, options?:DSAdapterOperationConfiguration):JSDataPromise<void>; - destroyAll(params?:DSFilterArg, options?:DSAdapterOperationConfiguration):JSDataPromise<void>; - digest():void; - eject(id:string | number, options?:DSConfiguration):T & DSInstanceShorthands<T>; - ejectAll(params:DSFilterArg, options?:DSConfiguration):Array<T & DSInstanceShorthands<T>>; - filter(params:DSFilterArg, options?:DSConfiguration):Array<T & DSInstanceShorthands<T>>; - find(id:string | number, options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - findAll(params?:DSFilterArg, options?:DSAdapterOperationConfiguration):JSDataPromise<Array<T & DSInstanceShorthands<T>>>; - get(id:string | number):T & DSInstanceShorthands<T>; - getAll(ids?:Array<string | number>):Array<T & DSInstanceShorthands<T>>; - hasChanges(id:string | number):boolean; - inject<TInject>(attrs:TInject, options?:DSConfiguration):T & DSInstanceShorthands<T>; - inject<TInject>(items:Array<TInject>, options?:DSConfiguration):Array<T & DSInstanceShorthands<T>>; - is(object:Object): boolean; - lastModified(id?:string | number):number; // timestamp - lastSaved(id?:string | number):number; // timestamp - loadRelations(idOrInstance:string | number, relations:string | Array<string>, options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - previous(id:string | number):T & DSInstanceShorthands<T>; - reap():JSDataPromise<void>; - refresh(id:string | number, options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - refreshAll(params?:DSFilterArg, options?:DSAdapterOperationConfiguration):JSDataPromise<Array<T & DSInstanceShorthands<T>>>; - revert(id:string | number):T & DSInstanceShorthands<T>; - save(id:string | number, options?:DSSaveConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - update(id:string | number, attrs:Object, options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - updateAll(attrs:Object, params?:DSFilterArg, options?:DSAdapterOperationConfiguration):JSDataPromise<Array<T & DSInstanceShorthands<T>>>; - } - - // cannot specify T at interface level because the interface is used as generic constraint itself which ends up being recursive - export interface DSInstanceShorthands<T> extends DSEvents { - DSCompute():void; - DSRefresh(options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - DSSave(options?:DSSaveConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - DSUpdate(options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - DSDestroy(options?:DSAdapterOperationConfiguration):JSDataPromise<void>; - DSCreate(options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - DSLoadRelations(relations:string | Array<string>, options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - DSChangeHistory():Array<Object>; - DSChanges():Object; - DSHasChanges():boolean; - DSLastModified():number; // timestamp - DSLastSaved():number; // timestamp - DSPrevious():T & DSInstanceShorthands<T>; - DSRevert():T & DSInstanceShorthands<T>; - } - - type DSSyncLifecycleHookHandler = (resource:DSResourceDefinition<any>, data:any) => void; - type DSAsyncLifecycleHookHandler = (resource:DSResourceDefinition<any>, data:any) => JSDataPromise<any>; - type DSAsyncLifecycleHookHandlerCb = (resource:DSResourceDefinition<any>, data:any, cb:(err:Error, data:any)=>void) => void - - interface IDSResourceLifecycleValidateEventHandlers { - beforeValidate?: DSAsyncLifecycleHookHandler | DSAsyncLifecycleHookHandlerCb; - validate?: DSAsyncLifecycleHookHandler | DSAsyncLifecycleHookHandlerCb; - afterValidate?: DSAsyncLifecycleHookHandler | DSAsyncLifecycleHookHandlerCb; - } - - interface IDSResourceLifecycleCreateEventHandlers { - beforeCreate?: DSAsyncLifecycleHookHandler | DSAsyncLifecycleHookHandlerCb; - afterCreate?: DSAsyncLifecycleHookHandler | DSAsyncLifecycleHookHandlerCb; - } - - interface IDSResourceLifecycleUpdateEventHandlers { - beforeUpdate?: DSAsyncLifecycleHookHandler | DSAsyncLifecycleHookHandlerCb; - afterUpdate?: DSAsyncLifecycleHookHandler | DSAsyncLifecycleHookHandlerCb; - } - - interface IDSResourceLifecycleDestroyEventHandlers { - beforeDestroy?: DSAsyncLifecycleHookHandler | DSAsyncLifecycleHookHandlerCb; - afterDestroy?: DSAsyncLifecycleHookHandler | DSAsyncLifecycleHookHandlerCb; - } - - interface IDSResourceLifecycleCreateInstanceEventHandlers { - beforeCreateInstance?: DSSyncLifecycleHookHandler; - afterCreateInstance?: DSSyncLifecycleHookHandler; - } - - interface IDSResourceLifecycleInjectEventHandlers { - beforeInject?: DSSyncLifecycleHookHandler; - afterInject?: DSSyncLifecycleHookHandler; - } - - interface IDSResourceLifecycleEjectEventHandlers { - beforeEject?: DSSyncLifecycleHookHandler; - afterEject?: DSSyncLifecycleHookHandler; - } - - interface IDSResourceLifecycleReapEventHandlers { - beforeReap?: DSSyncLifecycleHookHandler; - afterReap?: DSSyncLifecycleHookHandler; - } - - interface IDSResourceLifecycleFindEventHandlers { - afterFind?: DSAsyncLifecycleHookHandler | DSAsyncLifecycleHookHandlerCb; - } - - interface IDSResourceLifecycleFindAllEventHandlers { - afterFindAll?: DSAsyncLifecycleHookHandler | DSAsyncLifecycleHookHandlerCb; - } - - interface IDSResourceLifecycleLoadRelationsEventHandlers { - afterLoadRelations?: DSAsyncLifecycleHookHandler | DSAsyncLifecycleHookHandlerCb; - } - - interface IDSResourceLifecycleCreateCollectionEventHandlers { - beforeCreateCollection?: DSSyncLifecycleHookHandler; - afterCreateCollection?: DSSyncLifecycleHookHandler; - } - - interface IDSResourceLifecycleEventHandlers extends IDSResourceLifecycleCreateEventHandlers, - IDSResourceLifecycleCreateInstanceEventHandlers, - IDSResourceLifecycleValidateEventHandlers, - IDSResourceLifecycleUpdateEventHandlers, - IDSResourceLifecycleDestroyEventHandlers, - IDSResourceLifecycleInjectEventHandlers, - IDSResourceLifecycleEjectEventHandlers, - IDSResourceLifecycleReapEventHandlers, - IDSResourceLifecycleFindEventHandlers, - IDSResourceLifecycleFindAllEventHandlers, - IDSResourceLifecycleLoadRelationsEventHandlers, - IDSResourceLifecycleCreateCollectionEventHandlers { - } - - // errors - interface DSErrors { - - // types - IllegalArgumentError:DSError; - IA:DSError; - RuntimeError:DSError; - R:DSError; - NonexistentResourceError:DSError; - NER:DSError; - } - - interface DSError extends Error { - new (message?:string):DSError; - message: string; - type: string; - } - - // DSAdapter interface - interface IDSAdapter { - create(config:DSResourceDefinition<any>, attrs:Object, options?:DSConfiguration):JSDataPromise<any>; - - destroy(config:DSResourceDefinition<any>, id:string | number, options?:DSConfiguration):JSDataPromise<void>; - destroyAll(config:DSResourceDefinition<any>, params:DSFilterArg, options?:DSConfiguration):JSDataPromise<void>; - - find(config:DSResourceDefinition<any>, id:string | number, options?:DSConfiguration):JSDataPromise<any>; - findAll(config:DSResourceDefinition<any>, params?:DSFilterArg, options?:DSConfiguration):JSDataPromise<any>; - - update(config:DSResourceDefinition<any>, id:string | number, attrs:Object, options?:DSConfiguration):JSDataPromise<any>; - updateAll(config:DSResourceDefinition<any>, attrs:Object, params?:DSFilterArg, options?:DSConfiguration):JSDataPromise<any>; - } - - // Custom action config - interface DSActionConfig { - adapter?: string; - endpoint?: string; - pathname?: string; - method?: string; - } - - // Custom action method definition - // options are passed to adapter.HTTP() method-call, js-data-http adapter by default uses AXIOS but can also be $http in case of angular - // or a custom adapter implementation. The adapter can be set via the DSActionConfig. - interface DSActionFn { - <T>(id:string | number, options?:Object):JSDataPromise<T> - } -} - -// declaring the existing global js object -declare var JSData:{ - DS: JSData.DS; - DSErrors: JSData.DSErrors; - DSUtils: any; -}; - -export = JSData; diff --git a/types/js-data/js-data-tests.ts b/types/js-data/js-data-tests.ts deleted file mode 100644 index 12ebc9026d..0000000000 --- a/types/js-data/js-data-tests.ts +++ /dev/null @@ -1,604 +0,0 @@ -import JSData = require("js-data"); - -interface IUser { - id?: number; - name?: string; - age?: number; - first?: string; - last?: string; - comments?:Array<any>; - profile?:any; -} - -interface IUserWithMethod extends IUser { - fullName:()=>string; -} - -interface IUserWithComputedProperty extends IUser { - fullName?: string; -} - -var store = new JSData.DS(); - -// simplest model definition -var User = store.defineResource<IUser>('user'); - -User.find(1).then(function (user:IUser) { - user; // { id: 1, name: 'John' } -}); - -var user:IUser = User.createInstance({name: 'John'}); - -var store = new JSData.DS(); -var User2 = store.defineResource<IUser>('user'); -var user:IUser = User2.inject({id: 1, name: 'John'}); -var user2:IUser = User2.inject({id: 1, age: 30}); - -user; // User { id: 1, name: 'John', age: 30 } -user2; // User { id: 1, name: 'John', age: 30 } -User.get(1); // User { id: 1, name: 'John', age: 30 } -user === user2; // true -user === User.get(1); // true -user2 === User.get(1); // true - -var store = new JSData.DS({ - // set a default lifecycle hook - afterCreate: function () { - } -}); - -var User = store.defineResource<IUser>({ - name: 'user', - // override the hook for this resource - afterCreate: function () { - } -}); - -User.create({ - name: 'john' -}, { - // override the hook just for this method call - afterCreate: function () { - } -}).then(()=> { - -}); - -var store = new JSData.DS(); - -var UserWithMethodResource = store.defineResource<IUserWithMethod>({ - name: 'user', - methods: { - fullName: function () { - return this.first + ' ' + this.last; - } - } -}); - -var userWithMethod = UserWithMethodResource.createInstance({first: 'John', last: 'Anderson'}); - -userWithMethod.fullName(); // "John Anderson" - -var store = new JSData.DS(); - -var UserWithComputedProperty = store.defineResource<IUserWithComputedProperty>({ - name: 'user', - computed: { - // each function's argument list defines the fields - // that the computed property depends on - fullName: ['first', 'last', function (first:string, last:string) { - return first + ' ' + last; - }], - // shortand, use the array syntax above if you want - // you computed properties to work after you've - // minified your code. Shorthand style won't work when minified - initials: function (first:string, last:string) { - return first.toUpperCase()[0] + '. ' + last.toUpperCase()[0] + '.'; - } - } -}); - -var userWithComputedProperty:IUserWithComputedProperty = UserWithComputedProperty.inject({ - id: 1, - first: 'John', - last: 'Anderson' -}); - -userWithComputedProperty.fullName; // "John Anderson" - -userWithComputedProperty.first = 'Fred'; - -// js-data relies on dirty-checking, so the -// computed property (probably) hasn't been updated yet -userWithComputedProperty.fullName; // "John Anderson" - -// If your browser supports Object.observe this will have no effect -// otherwise it will trigger the dirty-checking -store.digest(); - -userWithComputedProperty.fullName; // "Fred Anderson" - -interface IComment { - comments?: any; - profile?: any; -} - -var aComment:JSData.DSResourceDefinition<IComment> = store.defineResource<IComment>('comment'); - -// Get all comments where comment.userId == 5 -aComment.filter({ - where: { - userId: { - '==': 5 - } - } -}); - -// Get all comments where comment.userId == 5 -aComment.filter({ - userId: 5 -}); - -// Get all comments where comment.userId === 5 -aComment.filter({ - where: { - userId: { - '===': 5 - } - } -}); - -// Get all comments where comment.userId != 5 -aComment.filter({ - where: { - userId: { - '!=': 5 - } - } -}); - -// Get all comments where comment.userId !== 5 -aComment.filter({ - where: { - userId: { - '!==': 5 - } - } -}); - -// Get all users where user.age > 30 -User.filter({ - where: { - age: { - '>': 30 - } - } -}); - -// Get all users where user.age >= 30 -User.filter({ - where: { - age: { - '>=': 30 - } - } -}); - -// Get all users where user.age < 30 -User.filter({ - where: { - age: { - '<': 30 - } - } -}); - -// Get all users where user.name is in "John Anderson" -User.filter({ - where: { - name: { - 'in': 'John Anderson' - } - } -}); - -// Get all users where user.role is in ["admin", "owner"] -User.filter({ - where: { - role: { - 'in': ['admin', 'owner'] - } - } -}); - -// Get all users where user.name is NOT in "John Anderson" -User.filter({ - where: { - name: { - 'notIn': 'John Anderson' - } - } -}); - -// Get all users where user.role is NOT in ["admin", "owner"] -User.filter({ - where: { - role: { - 'notIn': ['admin', 'owner'] - } - } -}); - -// Get all users where user.name contains "John" -User.filter({ - where: { - name: { - 'contains': 'John' - } - } -}); - -// Get all users where user.roles contains "admin" -User.filter({ - where: { - roles: { - 'contains': 'admin' - } - } -}); - -// Sorts users by age in ascending order -User.filter({ - orderBy: 'age' -}); - -// Sorts users by age in descending order -User.filter({ - orderBy: ['age', 'DESC'] -}); - -// Sorts users by age in descending order and then sort by name in ascending order to break a tie -User.filter({ - orderBy: [ - ['age', 'DESC'], - ['name', 'ASC'] - ] -}); - -var PAGE_SIZE = 20; -var currentPage = 1; - -interface IPost { - -} - -var Post:JSData.DSResourceDefinition<IPost>; - -// Grab the first "page" of posts -Post.filter({ - offset: PAGE_SIZE * (currentPage - 1), - limit: PAGE_SIZE -}); - -var User3 = store.defineResource({ - name: 'user', - relations: { - hasMany: { - comment: { - localField: 'comments', - foreignKey: 'userId' - } - }, - hasOne: { - profile: { - localField: 'profile', - foreignKey: 'userId' - } - }, - belongsTo: { - organization: { - localKey: 'organizationId', - localField: 'organization', - - // if you add this to a belongsTo relation - // then js-data will attempt to use - // a nested url structure, e.g. /organization/15/user/4 - parent: true - } - } - } -}); - -var Organization = store.defineResource({ - name: 'organization', - relations: { - hasMany: { - // this is an example of multiple relations - // of the same type to the same resource - user: [ - { - localField: 'users', - foreignKey: 'organizationId' - }, - { - localField: 'owners', - foreignKey: 'organizationId' - } - ] - } - } -}); - -var Profile = store.defineResource({ - name: 'profile', - relations: { - belongsTo: { - user: { - localField: 'user', - localKey: 'userId' - } - } - } -}); - -var OtherComment = store.defineResource<IComment>({ - name: 'comment', - relations: { - belongsTo: { - user: { - localField: 'user', - localKey: 'userId' - } - } - } -}); - -User.find(10).then(function (user:IUser) { - // let's assume the server only returned the user - user.comments; // undefined - user.profile; // undefined - - User.loadRelations(user.id, ['comment', 'profile']).then(function (user:IUser) { - user.comments; // array - user.profile; // object - }); -}); - -var OtherOtherComment = store.defineResource<IComment>({ - name: 'comment', - relations: { - belongsTo: { - post: { - parent: true, - localKey: 'postId', - localField: 'post' - } - } - } -}); - -// The comment isn't in the data store yet, so js-data wouldn't know -// what the id of the parent "post" would be, so we pass it in manually -OtherOtherComment.find(5, {params: {postId: 4}}); // GET /post/4/comment/5 - -// vs - -var promise = OtherOtherComment.find(5); // GET /comment/5 - -promise.then().catch().finally(); - -OtherOtherComment.inject({id: 1, postId: 2}); - -// We don't have to provide the parentKey here -// because js-data found it in the comment -OtherOtherComment.update(1, {content: 'stuff'}); // PUT /post/2/comment/1 - -// If you don't want the nested for just one of the calls then -// you can do the following: -OtherOtherComment.update(1, {content: 'stuff'}, {params: {postId: false}}); // PUT /comment/1 - -var store = new JSData.DS({ - // set the default - beforeCreate: function (resource:JSData.DSResourceDefinition<any>, data:any, cb:(err:Error, returnData:any)=>void) { - // do something general - cb(null, data); - } -}); - -var User4 = store.defineResource({ - name: 'user', - // set just for this resource - beforeCreate: function (resource:JSData.DSResourceDefinition<any>, data:any, cb:(err:Error, returnData:any)=>void) { - // do something more specific to "users" - cb(null, data); - } -}); - -User4.create({name: 'John'}, { - // set just for this method call - beforeCreate: function (resource:JSData.DSResourceDefinition<any>, data:any, cb:(err:Error, returnData:any)=>void) { - // do something specific for this method call - cb(null, data); - } -}); - -namespace CustomAdapterTest { - - class MyCustomAdapter implements JSData.IDSAdapter { - - // All of the methods shown here must return a promise - -// "definition" is a resource defintion that would -// be returned by DS#defineResource - -// "options" would be the options argument that -// was passed into the DS method that is calling -// the adapter method - - create(definition:JSData.DSResourceDefinition<any>, attrs:Object, options:JSData.DSConfiguration):JSData.JSDataPromise<any> { - // Must resolve the promise with the created item - - var promise:JSData.JSDataPromise<any>; - return promise; - } - - find(definition:JSData.DSResourceDefinition<any>, id:any, options:JSData.DSConfiguration):JSData.JSDataPromise<any> { - // Must resolve the promise with the found item - - var promise:JSData.JSDataPromise<any>; - return promise; - } - - findAll(definition:JSData.DSResourceDefinition<any>, params:JSData.DSFilterParams, options:JSData.DSConfiguration):JSData.JSDataPromise<any> { - // Must resolve the promise with the found items - - var promise:JSData.JSDataPromise<any>; - return promise; - } - - update(definition:JSData.DSResourceDefinition<any>, id:any, attrs:Object, options:JSData.DSConfiguration):JSData.JSDataPromise<any> { - // Must resolve the promise with the updated items - - var promise:JSData.JSDataPromise<any>; - return promise; - } - - updateAll(definition:JSData.DSResourceDefinition<any>, attrs:Object, params:JSData.DSFilterParams, options:JSData.DSConfiguration):JSData.JSDataPromise<any> { - // Must resolve the promise with the updated items - - var promise:JSData.JSDataPromise<any>; - return promise; - } - - destroy(definition:JSData.DSResourceDefinition<any>, id:any, options:JSData.DSConfiguration):JSData.JSDataPromise<any> { - // Must return a promise - - var promise:JSData.JSDataPromise<any>; - return promise; - } - - destroyAll(definition:JSData.DSResourceDefinition<any>, params:JSData.DSFilterParams, options:JSData.DSConfiguration):JSData.JSDataPromise<any> { - // Must return a promise - - var promise:JSData.JSDataPromise<any>; - return promise; - } - } - - var store = new JSData.DS(); - store.registerAdapter('mca', new MyCustomAdapter(), {default: true}); - // the data store will now use your custom adapter by default -} - -/** - * showing the use of open ended interface to realize typings - * on the Datastore.definitions object where all resource definitions - * are saved. - */ - -interface MyCustomDataStore { - - myResource: JSData.DSResourceDefinition<MyResourceDefinition> -} - -interface MyResourceDefinition { - -} - -namespace MyJSData { - - interface DS { - - definitions: MyCustomDataStore; - } -} - -var store = new JSData.DS(); - -var myResourceDefinition = store.defineResource<MyResourceDefinition>('myResource'); - -myResourceDefinition = store.definitions.myResource; - -/** - * Custom action on datastore resource - */ - -interface Resource { - someProp:string; -} - -interface ActionsForResource { - myAction:JSData.DSActionFn; - myOtherAction:JSData.DSActionFn; -} - -var myOtherAction:JSData.DSActionConfig = { - method: 'GET', - endpoint: 'goHere' -}; - -var customActionResource = store.defineResource<Resource, ActionsForResource>({ - name: 'actionResource', - actions: { - myAction: { - method: 'POST' - }, - myOtherAction: myOtherAction - } -}); - -customActionResource.myAction<number>(3).then((result)=>{ - - var theCustomResult:number = result; -}); - -customActionResource.myOtherAction<void>(2, {data:'blub'}).then(()=>{ - // success -}); - -customActionResource.find(1).then((result)=>{ - - var aProperty = result.someProp; -}); - -/** - * Instance shorthands - */ - -var customActionResourceInstance = customActionResource.get(1); - -customActionResourceInstance.DSCompute(); -customActionResourceInstance.DSChanges(); -customActionResourceInstance.DSChangeHistory(); -customActionResourceInstance.DSHasChanges(); -customActionResourceInstance.DSLastModified(); -customActionResourceInstance.DSLastSaved(); -customActionResourceInstance.DSPrevious(); -customActionResourceInstance.DSCreate(); -customActionResourceInstance.DSDestroy(); -customActionResourceInstance.DSLoadRelations('myRelation'); -customActionResourceInstance.DSRefresh(); -customActionResourceInstance.DSSave(); -customActionResourceInstance.DSUpdate(); - -/** - * Events - */ - -function myEvtHandler(definition:JSData.DSResourceDefinition<Resource>, item:Resource) { - -} - -store.on("DS.change", myEvtHandler); -store.off("DS.change", myEvtHandler); -store.emit("DS.change", customActionResource, customActionResourceInstance); - -customActionResource.on("DS.change", myEvtHandler); -customActionResource.off("DS.change", myEvtHandler); -customActionResource.emit("DS.change", customActionResource, customActionResourceInstance); - -customActionResourceInstance.on("DS.change", myEvtHandler); -customActionResourceInstance.off("DS.change", myEvtHandler); -customActionResourceInstance.emit("DS.change", customActionResource, customActionResourceInstance); - -JSData.DSUtils.Promise = Promise; diff --git a/types/js-data/tsconfig.json b/types/js-data/tsconfig.json deleted file mode 100644 index 907e683d8f..0000000000 --- a/types/js-data/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "files": [ - "index.d.ts", - "js-data-tests.ts" - ], - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": false, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - } -} \ No newline at end of file diff --git a/types/js-data/v1/index.d.ts b/types/js-data/v1/index.d.ts deleted file mode 100644 index 97eb146b2d..0000000000 --- a/types/js-data/v1/index.d.ts +++ /dev/null @@ -1,317 +0,0 @@ -// Type definitions for JSData v1.5.4 -// Project: https://github.com/js-data/js-data -// Definitions by: Stefan Steinhart <https://github.com/reppners> -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -/////////////////////////////////////////////////////////////////////////////// -// js-data module (js-data.js) -/////////////////////////////////////////////////////////////////////////////// - -// defining what exists in JSData and how it looks -declare namespace JSData { - - interface JSDataPromise<R> { - then<U>(onFulfilled?: (value: R) => U | JSDataPromise<U>, onRejected?: (error: any) => U | JSDataPromise<U>): JSDataPromise<U>; - catch<U>(onRejected?: (error: any) => U | JSDataPromise<U>): JSDataPromise<U>; - // enhanced with finally - finally<U>(finallyCb?:() => U):JSDataPromise<U>; - } - - interface DS { - - new(config?:DSConfiguration):DS; - - // rather undocumented - errors:DSErrors; - - // those are objects containing the defined resources and adapters - definitions:any; - adapters:any; - - defaults:DSConfiguration; - - // async - create<T>(resourceName:string, attrs:Object, options?:DSConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - destroy(resourceName:string, id:string | number, options?:DSAdapterOperationConfiguration):JSDataPromise<any>; - destroyAll(resourceName:string, params?:DSFilterArg, options?:DSAdapterOperationConfiguration):JSDataPromise<any>; - find<T>(resourceName:string, id:string | number, options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - findAll<T>(resourceName:string, params?:DSFilterArg, options?:DSAdapterOperationConfiguration):JSDataPromise<Array<T & DSInstanceShorthands<T>>>; - loadRelations<T>(resourceName:string, idOrInstance:string | number | Object, relations:string | Array<string>, options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - update<T>(resourceName:string, id:string | number, attrs:Object, options?:DSSaveConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - updateAll<T>(resourceName:string, attrs:Object, params?:DSFilterArg, options?:DSAdapterOperationConfiguration):JSDataPromise<Array<T & DSInstanceShorthands<T>>>; - reap(resourceName:string, options?:DSConfiguration):JSDataPromise<any>; - refresh<T>(resourceName:string, id:string | number, options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - save<T>(resourceName:string, id:string | number, options?:DSSaveConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - - // sync - changeHistory(resourceName:string, id?:string | number):Array<Object>; - changes(resourceName:string, id:string | number):Object; - compute(resourceName:string, idOrInstance:number | string | Object ):void; - createInstance<T>(resourceName:string, attrs?:T, options?:DSAdapterOperationConfiguration):T & DSInstanceShorthands<T>; - digest():void; - eject<T>(resourceName:string, id:string | number, options?:DSConfiguration):T & DSInstanceShorthands<T>; - ejectAll<T>(resourceName:string, params:DSFilterArg, options?:DSConfiguration):Array<T & DSInstanceShorthands<T>>; - filter<T>(resourceName:string, params:DSFilterArg, options?:DSConfiguration):Array<T & DSInstanceShorthands<T>>; - get<T>(resourceName:string, id:string | number, options?:DSConfiguration):T & DSInstanceShorthands<T>; - getAll<T>(resourceName:string, ids?:Array<string | number>):Array<T & DSInstanceShorthands<T>>; - hasChanges(resourceName:string, id:string | number):boolean; - inject<T>(resourceName:string, item:T, options?:DSConfiguration):T & DSInstanceShorthands<T>; - inject<T>(resourceName:string, items:Array<T>, options?:DSConfiguration):Array<T & DSInstanceShorthands<T>>; - is(resourceName:string, object:Object): boolean; - lastModified(resourceName:string, id?:string | number):number; // timestamp - lastSaved(resourceName:string, id?:string | number):number; // timestamp - link<T>(resourceName:string, id:string | number, relations?:Array<string>):T & DSInstanceShorthands<T>; - linkAll<T>(resourceName:string, params:DSFilterArg, relations?:Array<string>):T & DSInstanceShorthands<T>; - linkInverse<T>(resourceName:string, id:string | number, relations?:Array<string>):T & DSInstanceShorthands<T>; - previous<T>(resourceName:string, id:string | number):T & DSInstanceShorthands<T>; - revert<T>(resourceName:string, id:string | number):T & DSInstanceShorthands<T>; - unlinkInverse<T>(resourceName:string, id:string | number, relations?:Array<string>):T & DSInstanceShorthands<T>; - - defineResource<T>(resourceNameOrDefinition:string | DSResourceDefinitionConfiguration):DSResourceDefinition<T>; - defineResource<T, TActions>(resourceNameOrDefinition:string | DSResourceDefinitionConfiguration):DSResourceDefinition<T> & TActions; - registerAdapter(adapterId:string, adapter:IDSAdapter, options?:{default: boolean}):void; - } - - interface DSConfiguration extends IDSResourceLifecycleEventHandlers { - actions?: Object; - allowSimpleWhere?: boolean; - basePath?: string; - bypassCache?: boolean; - cacheResponse?: boolean; - defaultAdapter?: string; - defaultFilter?: (collection:Array<any>, resourceName:string, params:DSFilterArg, options:DSConfiguration)=>Array<any>; - eagerEject?: boolean; - endpoint?: string; - error?: boolean | ((message?:any, ...optionalParams:any[])=> void); - fallbackAdapters?: Array<string>; - findAllFallbackAdapters?: Array<string>; - findAllStrategy?: string; - findBelongsTo?: boolean; - findFallbackAdapters?: Array<string>; - findHasOne?: boolean; - findHasMany?: boolean; - findInverseLinks?: boolean; - findStrategy?: string - idAttribute?: string; - ignoredChanges?: Array<RegExp | string>; - keepChangeHistory?: boolean; - loadFromServer?: boolean; - log?: boolean | ((message?: any, ...optionalParams: any[])=> void); - maxAge?: number; - notify?: boolean; - reapAction?: string; - reapInterval?: number; - resetHistoryOnInject?: boolean; - strategy?: string; - upsert?: boolean; - useClass?: boolean; - useFilter?: boolean; - } - - interface DSAdapterOperationConfiguration extends DSConfiguration { - adapter?: string; - params?: { - [paramName: string]: string | number | boolean; - }; - } - - interface DSSaveConfiguration extends DSAdapterOperationConfiguration { - changesOnly?: boolean; - } - - interface DSResourceDefinitionConfiguration extends DSConfiguration { - name: string; - computed?: any; - methods?: any; - relations?: { - hasMany?: Object; - hasOne?: Object; - belongsTo?: Object; - }; - } - - interface DSResourceDefinition<T> extends DSResourceDefinitionConfiguration { - - //async - create<TInject>(attrs:TInject, options?:DSConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - destroy(id:string | number, options?:DSAdapterOperationConfiguration):JSDataPromise<void>; - destroyAll(params?:DSFilterArg, options?:DSAdapterOperationConfiguration):JSDataPromise<void>; - find(id:string | number, options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - findAll(params?:DSFilterArg, options?:DSAdapterOperationConfiguration):JSDataPromise<Array<T & DSInstanceShorthands<T>>>; - loadRelations(idOrInstance:string | number | Object, relations:string | Array<string>, options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - update(id:string | number, attrs:Object, options?:DSSaveConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - updateAll(attrs:Object, params?:DSFilterArg, options?:DSAdapterOperationConfiguration):JSDataPromise<Array<T & DSInstanceShorthands<T>>>; - reap(options?:DSConfiguration):JSDataPromise<void>; - refresh(id:string | number, options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - save(id:string | number, options?:DSSaveConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - - // sync - changeHistory(id?:string | number):Array<Object>; - changes(id:string | number):Object; - compute(idOrInstance:number | string | Object ):void; - createInstance<TInject>(attrs?:TInject, options?:DSAdapterOperationConfiguration):T & DSInstanceShorthands<T>; - digest():void; - eject(id:string | number, options?:DSConfiguration):T & DSInstanceShorthands<T>; - ejectAll(params:DSFilterArg, options?:DSConfiguration):Array<T & DSInstanceShorthands<T>>; - filter(params:DSFilterArg, options?:DSConfiguration):Array<T & DSInstanceShorthands<T>>; - get(id:string | number, options?:DSConfiguration):T & DSInstanceShorthands<T>; - getAll(ids?:Array<string | number>):Array<T & DSInstanceShorthands<T>>; - hasChanges(id:string | number):boolean; - inject(item:T, options?:DSConfiguration):T & DSInstanceShorthands<T>; - inject(items:Array<T>, options?:DSConfiguration):Array<T & DSInstanceShorthands<T>>; - is(object:Object): boolean; - lastModified(id?:string | number):number; // timestamp - lastSaved(id?:string | number):number; // timestamp - link(id:string | number, relations?:Array<string>):T & DSInstanceShorthands<T>; - linkAll(params:DSFilterArg, relations?:Array<string>):T & DSInstanceShorthands<T>; - linkInverse(id:string | number, relations?:Array<string>):T & DSInstanceShorthands<T>; - previous(id:string | number):T & DSInstanceShorthands<T>; - unlinkInverse(id:string | number, relations?:Array<string>):T & DSInstanceShorthands<T>; - } - - export interface DSInstanceShorthands<T> { - DSCompute():void; - DSRefresh(options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - DSSave(options?:DSSaveConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - DSUpdate(options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - DSDestroy(options?:DSAdapterOperationConfiguration):JSDataPromise<void>; - DSCreate(options?:DSConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - DSLoadRelations(relations:string | Array<string>, options?:DSAdapterOperationConfiguration):JSDataPromise<T & DSInstanceShorthands<T>>; - DSChangeHistory():Array<Object>; - DSChanges():Object; - DSHasChanges():boolean; - DSLastModified():number; // timestamp - DSLastSaved():number; // timestamp - DSLink(relations?:Array<string>):T & DSInstanceShorthands<T>; - DSLinkInverse(relations?:Array<string>):T & DSInstanceShorthands<T>; - DSPrevious():T & DSInstanceShorthands<T>; - DSUnlinkInverse(relations?:Array<string>):T & DSInstanceShorthands<T>; - } - - interface DSFilterParams { - where?: Object; - - limit?: number; - - skip?: number; - offset?: number; - - orderBy?: string | Array<string> | Array<Array<string>>; - sort?: string | Array<string> | Array<Array<string>>; - } - - type DSFilterArg = DSFilterParams | Object; - - interface IDSResourceLifecycleValidateEventHandlers { - beforeValidate?: (resourceName:string, data:any, cb:(err:any, data?:any)=>void)=>void; - validate?: (resourceName:string, data:any, cb:(err:any, data?:any)=>void)=>void; - afterValidate?: (resourceName:string, data:any, cb:(err:any, data?:any)=>void)=>void; - } - - interface IDSResourceLifecycleCreateEventHandlers { - beforeCreate?: (resourceName:string, data:any, cb:(err:any, data?:any)=>void)=>void; - afterCreate?: (resourceName:string, data:any, cb:(err:any, data?:any)=>void)=>void; - } - - interface IDSResourceLifecycleCreateInstanceEventHandlers { - beforeCreateInstance?: (resourceName:string, data:any)=>void; - afterCreateInstance?: (resourceName:string, data:any)=>void; - } - - interface IDSResourceLifecycleUpdateEventHandlers { - beforeUpdate?: (resourceName:string, data:any, cb:(err:any, data?:any)=>void)=>void; - afterUpdate?: (resourceName:string, data:any, cb:(err:any, data?:any)=>void)=>void; - } - - interface IDSResourceLifecycleDestroyEventHandlers { - beforeDestroy?: (resourceName:string, data:any, cb:(err:any, data?:any)=>void)=>void; - afterDestroy?: (resourceName:string, data:any, cb:(err:any, data?:any)=>void)=>void; - } - - interface IDSResourceLifecycleInjectEventHandlers { - beforeInject?: (resourceName:string, data:any)=>void; - afterInject?: (resourceName:string, data:any)=>void; - } - - interface IDSResourceLifecycleEjectEventHandlers { - beforeEject?: (resourceName:string, data:any)=>void; - afterEject?: (resourceName:string, data:any)=>void; - } - - interface IDSResourceLifecycleReapEventHandlers { - beforeReap?: (resourceName:string, data:any)=>void; - afterReap?: (resourceName:string, data:any)=>void; - } - - interface IDSResourceLifecycleEventHandlers extends IDSResourceLifecycleCreateEventHandlers, - IDSResourceLifecycleCreateInstanceEventHandlers, - IDSResourceLifecycleValidateEventHandlers, - IDSResourceLifecycleUpdateEventHandlers, - IDSResourceLifecycleDestroyEventHandlers, - IDSResourceLifecycleInjectEventHandlers, - IDSResourceLifecycleEjectEventHandlers, - IDSResourceLifecycleReapEventHandlers { - - } - - // errors - interface DSErrors { - - // types - IllegalArgumentError:DSError; - IA:DSError; - RuntimeError:DSError; - R:DSError; - NonexistentResourceError:DSError; - NER:DSError; - } - - interface DSError extends Error { - new (message?:string):DSError; - message: string; - type: string; - } - - // DSAdapter interface - interface IDSAdapter { - create<T>(config:DSResourceDefinition<T>, attrs:Object, options?:DSConfiguration):JSDataPromise<T>; - - destroy<T>(config:DSResourceDefinition<T>, id:string | number, options?:DSConfiguration):JSDataPromise<any>; - - destroyAll<T>(config:DSResourceDefinition<T>, params:DSFilterArg, options?:DSConfiguration):JSDataPromise<any>; - - find<T>(config:DSResourceDefinition<T>, id:string | number, options?:DSConfiguration):JSDataPromise<T>; - - findAll<T>(config:DSResourceDefinition<T>, params?:DSFilterArg, options?:DSConfiguration):JSDataPromise<T>; - - update<T>(config:DSResourceDefinition<T>, id:string | number, attrs:Object, options?:DSConfiguration):JSDataPromise<T>; - updateAll<T>(config:DSResourceDefinition<T>, attrs:Object, params?:DSFilterArg, options?:DSConfiguration):JSDataPromise<T>; - } - - // Custom action config - interface DSActionConfig { - adapter?: string; - endpoint?: string; - pathname?: string; - method?: string; - } - - // Custom action method definition - // options are passed to adapter.HTTP() method-call, js-data-http adapter by default uses AXIOS but can also be $http in case of angular - // or a custom adapter implementation. The adapter can be set via the DSActionConfig. - interface DSActionFn { - <T>(id:string | number, options?:Object):JSDataPromise<T> - } -} - -// declaring the existing global js object -declare var JSData:{ - DS: JSData.DS; - DSErrors: JSData.DSErrors; -}; - -//Support node require -declare module 'js-data' { - - export = JSData; -} diff --git a/types/js-data/v1/js-data-tests.ts b/types/js-data/v1/js-data-tests.ts deleted file mode 100644 index 69a056b081..0000000000 --- a/types/js-data/v1/js-data-tests.ts +++ /dev/null @@ -1,585 +0,0 @@ - - -interface IUser { - id?: number; - name?: string; - age?: number; - first?: string; - last?: string; - comments?:Array<any>; - profile?:any; -} - -interface IUserWithMethod { - fullName:()=>string; -} - -interface IUserWithComputedProperty extends IUser { - fullName?: string; -} - -var store = new JSData.DS(); - -// simplest model definition -var User = store.defineResource<IUser>('user'); - -User.find(1).then(function (user:IUser) { - user; // { id: 1, name: 'John' } -}); - -var user:IUser = User.createInstance({name: 'John'}); - -var store = new JSData.DS(); -var User2 = store.defineResource<IUser>('user'); -var user:IUser = User2.inject({id: 1, name: 'John'}); -var user2:IUser = User2.inject({id: 1, age: 30}); - -user; // User { id: 1, name: 'John', age: 30 } -user2; // User { id: 1, name: 'John', age: 30 } -User.get(1); // User { id: 1, name: 'John', age: 30 } -user === user2; // true -user === User.get(1); // true -user2 === User.get(1); // true - -var store = new JSData.DS({ - // set a default lifecycle hook - afterCreate: function () { - } -}); - -var User = store.defineResource<IUser>({ - name: 'user', - // override the hook for this resource - afterCreate: function () { - } -}); - -User.create({ - name: 'john' -}, { - // override the hook just for this method call - afterCreate: function () { - } -}).then(()=> { - -}); - -var store = new JSData.DS(); - -var UserWithMethodResource = store.defineResource<IUserWithMethod>({ - name: 'user', - methods: { - fullName: function () { - return this.first + ' ' + this.last; - } - } -}); - -var userWithMethod = UserWithMethodResource.createInstance({first: 'John', last: 'Anderson'}); - -userWithMethod.fullName(); // "John Anderson" - -var store = new JSData.DS(); - -var UserWithComputedProperty = store.defineResource<IUserWithComputedProperty>({ - name: 'user', - computed: { - // each function's argument list defines the fields - // that the computed property depends on - fullName: ['first', 'last', function (first:string, last:string) { - return first + ' ' + last; - }], - // shortand, use the array syntax above if you want - // you computed properties to work after you've - // minified your code. Shorthand style won't work when minified - initials: function (first:string, last:string) { - return first.toUpperCase()[0] + '. ' + last.toUpperCase()[0] + '.'; - } - } -}); - -var userWithComputedProperty:IUserWithComputedProperty = UserWithComputedProperty.inject({ - id: 1, - first: 'John', - last: 'Anderson' -}); - -userWithComputedProperty.fullName; // "John Anderson" - -userWithComputedProperty.first = 'Fred'; - -// js-data relies on dirty-checking, so the -// computed property (probably) hasn't been updated yet -userWithComputedProperty.fullName; // "John Anderson" - -// If your browser supports Object.observe this will have no effect -// otherwise it will trigger the dirty-checking -store.digest(); - -userWithComputedProperty.fullName; // "Fred Anderson" - -interface IComment { - comments?: any; - profile?: any; -} - -var aComment:JSData.DSResourceDefinition<IComment> = store.defineResource<IComment>('comment'); - -// Get all comments where comment.userId == 5 -aComment.filter({ - where: { - userId: { - '==': 5 - } - } -}); - -// Get all comments where comment.userId == 5 -aComment.filter({ - userId: 5 -}); - -// Get all comments where comment.userId === 5 -aComment.filter({ - where: { - userId: { - '===': 5 - } - } -}); - -// Get all comments where comment.userId != 5 -aComment.filter({ - where: { - userId: { - '!=': 5 - } - } -}); - -// Get all comments where comment.userId !== 5 -aComment.filter({ - where: { - userId: { - '!==': 5 - } - } -}); - -// Get all users where user.age > 30 -User.filter({ - where: { - age: { - '>': 30 - } - } -}); - -// Get all users where user.age >= 30 -User.filter({ - where: { - age: { - '>=': 30 - } - } -}); - -// Get all users where user.age < 30 -User.filter({ - where: { - age: { - '<': 30 - } - } -}); - -// Get all users where user.name is in "John Anderson" -User.filter({ - where: { - name: { - 'in': 'John Anderson' - } - } -}); - -// Get all users where user.role is in ["admin", "owner"] -User.filter({ - where: { - role: { - 'in': ['admin', 'owner'] - } - } -}); - -// Get all users where user.name is NOT in "John Anderson" -User.filter({ - where: { - name: { - 'notIn': 'John Anderson' - } - } -}); - -// Get all users where user.role is NOT in ["admin", "owner"] -User.filter({ - where: { - role: { - 'notIn': ['admin', 'owner'] - } - } -}); - -// Get all users where user.name contains "John" -User.filter({ - where: { - name: { - 'contains': 'John' - } - } -}); - -// Get all users where user.roles contains "admin" -User.filter({ - where: { - roles: { - 'contains': 'admin' - } - } -}); - -// Sorts users by age in ascending order -User.filter({ - orderBy: 'age' -}); - -// Sorts users by age in descending order -User.filter({ - orderBy: ['age', 'DESC'] -}); - -// Sorts users by age in descending order and then sort by name in ascending order to break a tie -User.filter({ - orderBy: [ - ['age', 'DESC'], - ['name', 'ASC'] - ] -}); - -var PAGE_SIZE = 20; -var currentPage = 1; - -interface IPost { - -} - -var Post:JSData.DSResourceDefinition<IPost>; - -// Grab the first "page" of posts -Post.filter({ - offset: PAGE_SIZE * (currentPage - 1), - limit: PAGE_SIZE -}); - -var User3 = store.defineResource({ - name: 'user', - relations: { - hasMany: { - comment: { - localField: 'comments', - foreignKey: 'userId' - } - }, - hasOne: { - profile: { - localField: 'profile', - foreignKey: 'userId' - } - }, - belongsTo: { - organization: { - localKey: 'organizationId', - localField: 'organization', - - // if you add this to a belongsTo relation - // then js-data will attempt to use - // a nested url structure, e.g. /organization/15/user/4 - parent: true - } - } - } -}); - -var Organization = store.defineResource({ - name: 'organization', - relations: { - hasMany: { - // this is an example of multiple relations - // of the same type to the same resource - user: [ - { - localField: 'users', - foreignKey: 'organizationId' - }, - { - localField: 'owners', - foreignKey: 'organizationId' - } - ] - } - } -}); - -var Profile = store.defineResource({ - name: 'profile', - relations: { - belongsTo: { - user: { - localField: 'user', - localKey: 'userId' - } - } - } -}); - -var OtherComment = store.defineResource<IComment>({ - name: 'comment', - relations: { - belongsTo: { - user: { - localField: 'user', - localKey: 'userId' - } - } - } -}); - -User.find(10).then(function (user:IUser) { - // let's assume the server only returned the user - user.comments; // undefined - user.profile; // undefined - - User.loadRelations(user, ['comment', 'profile']).then(function (user:IUser) { - user.comments; // array - user.profile; // object - }); -}); - -var OtherOtherComment = store.defineResource<IComment>({ - name: 'comment', - relations: { - belongsTo: { - post: { - parent: true, - localKey: 'postId', - localField: 'post' - } - } - } -}); - -// The comment isn't in the data store yet, so js-data wouldn't know -// what the id of the parent "post" would be, so we pass it in manually -OtherOtherComment.find(5, {params: {postId: 4}}); // GET /post/4/comment/5 - -// vs - -var promise = OtherOtherComment.find(5); // GET /comment/5 - -promise.then().catch().finally(); - -OtherOtherComment.inject(<IComment>{id: 1, postId: 2}); - -// We don't have to provide the parentKey here -// because js-data found it in the comment -OtherOtherComment.update(1, {content: 'stuff'}); // PUT /post/2/comment/1 - -// If you don't want the nested for just one of the calls then -// you can do the following: -OtherOtherComment.update(1, {content: 'stuff'}, {params: {postId: false}}); // PUT /comment/1 - -var store = new JSData.DS({ - // set the default - beforeCreate: function (resource, data, cb) { - // do something general - cb(null, data); - } -}); - -var User4 = store.defineResource({ - name: 'user', - // set just for this resource - beforeCreate: function (resource, data, cb) { - // do something more specific to "users" - cb(null, data); - } -}); - -User4.create({name: 'John'}, { - // set just for this method call - beforeCreate: function (resource, data, cb) { - // do something specific for this method call - cb(null, data); - } -}); - -namespace CustomAdapterTest { - - class MyCustomAdapter implements JSData.IDSAdapter { - - // All of the methods shown here must return a promise - -// "definition" is a resource defintion that would -// be returned by DS#defineResource - -// "options" would be the options argument that -// was passed into the DS method that is calling -// the adapter method - - create(definition:JSData.DSResourceDefinition<any>, attrs:Object, options:JSData.DSConfiguration):JSData.JSDataPromise<any> { - // Must resolve the promise with the created item - - var promise:JSData.JSDataPromise<any>; - return promise; - } - - find(definition:JSData.DSResourceDefinition<any>, id:any, options:JSData.DSConfiguration):JSData.JSDataPromise<any> { - // Must resolve the promise with the found item - - var promise:JSData.JSDataPromise<any>; - return promise; - } - - findAll(definition:JSData.DSResourceDefinition<any>, params:JSData.DSFilterParams, options:JSData.DSConfiguration):JSData.JSDataPromise<any> { - // Must resolve the promise with the found items - - var promise:JSData.JSDataPromise<any>; - return promise; - } - - update(definition:JSData.DSResourceDefinition<any>, id:any, attrs:Object, options:JSData.DSConfiguration):JSData.JSDataPromise<any> { - // Must resolve the promise with the updated items - - var promise:JSData.JSDataPromise<any>; - return promise; - } - - updateAll(definition:JSData.DSResourceDefinition<any>, attrs:Object, params:JSData.DSFilterParams, options:JSData.DSConfiguration):JSData.JSDataPromise<any> { - // Must resolve the promise with the updated items - - var promise:JSData.JSDataPromise<any>; - return promise; - } - - destroy(definition:JSData.DSResourceDefinition<any>, id:any, options:JSData.DSConfiguration):JSData.JSDataPromise<any> { - // Must return a promise - - var promise:JSData.JSDataPromise<any>; - return promise; - } - - destroyAll(definition:JSData.DSResourceDefinition<any>, params:JSData.DSFilterParams, options:JSData.DSConfiguration):JSData.JSDataPromise<any> { - // Must return a promise - - var promise:JSData.JSDataPromise<any>; - return promise; - } - } - - var store = new JSData.DS(); - store.registerAdapter('mca', new MyCustomAdapter(), {default: true}); - // the data store will now use your custom adapter by default -} - -/** - * showing the use of open ended interface to realize typings - * on the Datastore.definitions object where all resource definitions - * are saved. - */ - -interface MyCustomDataStore { - - myResource: JSData.DSResourceDefinition<MyResourceDefinition> -} - -interface MyResourceDefinition { - -} - -namespace JSData { - - interface DS { - - definitions: MyCustomDataStore; - } -} - -var store = new JSData.DS(); - -var myResourceDefinition = store.defineResource<MyResourceDefinition>('myResource'); - -myResourceDefinition = store.definitions.myResource; - -/** - * Custom action on datastore resource - */ - -interface Resource { - someProp:string; -} - -interface ActionsForResource { - myAction:JSData.DSActionFn; - myOtherAction:JSData.DSActionFn; -} - -var myOtherAction:JSData.DSActionConfig = { - method: 'GET', - endpoint: 'goHere' -}; - -var resourceWithCustomActions = store.defineResource<Resource, ActionsForResource>({ - name: 'actionResource', - actions: { - myAction: { - method: 'POST' - }, - myOtherAction: myOtherAction - } -}); - -resourceWithCustomActions.myAction<number>(3).then((result)=>{ - - var theCustomResult:number = result; -}); - -resourceWithCustomActions.myOtherAction<void>(2, {data:'blub'}).then(()=>{ - // success -}); - -resourceWithCustomActions.find(1).then((result)=>{ - - var aProperty = result.someProp; -}); - -/** - * Instance shorthands - */ - -var customActionResourceInstance = resourceWithCustomActions.get(1); - -customActionResourceInstance.DSCompute(); -customActionResourceInstance.DSChanges(); -customActionResourceInstance.DSChangeHistory(); -customActionResourceInstance.DSHasChanges(); -customActionResourceInstance.DSLastModified(); -customActionResourceInstance.DSLastSaved(); -customActionResourceInstance.DSPrevious(); -customActionResourceInstance.DSCreate(); -customActionResourceInstance.DSDestroy(); -customActionResourceInstance.DSLink(); -customActionResourceInstance.DSLinkInverse(); -customActionResourceInstance.DSLoadRelations('myRelation'); -customActionResourceInstance.DSRefresh(); -customActionResourceInstance.DSSave(); -customActionResourceInstance.DSUnlinkInverse(); -customActionResourceInstance.DSUpdate(); diff --git a/types/js-data/v1/tsconfig.json b/types/js-data/v1/tsconfig.json deleted file mode 100644 index 87913d79e6..0000000000 --- a/types/js-data/v1/tsconfig.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": false, - "strictNullChecks": false, - "baseUrl": "../../", - "typeRoots": [ - "../../" - ], - "types": [], - "paths": { - "js-data": [ - "js-data/v1" - ] - }, - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "js-data-tests.ts" - ] -} \ No newline at end of file From 6667645472f590f826b70dbf0e74aa925c31922c Mon Sep 17 00:00:00 2001 From: Jakob Truelsen <antialize@gmail.com> Date: Fri, 6 Oct 2017 19:02:33 +0200 Subject: [PATCH 167/433] Move axe call back to axe from scales (#20273) These callbacks do not exist on scales, but exist instead on the axe. This is not well described in the documentation, but adding them to the scales they are never called while they are called if they are added to the axe. --- types/chart.js/index.d.ts | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/types/chart.js/index.d.ts b/types/chart.js/index.d.ts index 14ded63945..78f1aa6142 100644 --- a/types/chart.js/index.d.ts +++ b/types/chart.js/index.d.ts @@ -432,20 +432,6 @@ declare namespace Chart { type?: ScaleType | string; display?: boolean; position?: PositionType | string; - beforeUpdate?(scale?: any): void; - beforeSetDimension?(scale?: any): void; - beforeDataLimits?(scale?: any): void; - beforeBuildTicks?(scale?: any): void; - beforeTickToLabelConversion?(scale?: any): void; - beforeCalculateTickRotation?(scale?: any): void; - beforeFit?(scale?: any): void; - afterUpdate?(scale?: any): void; - afterSetDimension?(scale?: any): void; - afterDataLimits?(scale?: any): void; - afterBuildTicks?(scale?: any): void; - afterTickToLabelConversion?(scale?: any): void; - afterCalculateTickRotation?(scale?: any): void; - afterFit?(scale?: any): void; gridLines?: GridLineOptions; scaleLabel?: ScaleTitleOptions; ticks?: TickOptions; @@ -463,6 +449,20 @@ declare namespace Chart { gridLines?: GridLineOptions; barThickness?: number; scaleLabel?: ScaleTitleOptions; + beforeUpdate?(scale?: any): void; + beforeSetDimension?(scale?: any): void; + beforeDataLimits?(scale?: any): void; + beforeBuildTicks?(scale?: any): void; + beforeTickToLabelConversion?(scale?: any): void; + beforeCalculateTickRotation?(scale?: any): void; + beforeFit?(scale?: any): void; + afterUpdate?(scale?: any): void; + afterSetDimension?(scale?: any): void; + afterDataLimits?(scale?: any): void; + afterBuildTicks?(scale?: any): void; + afterTickToLabelConversion?(scale?: any): void; + afterCalculateTickRotation?(scale?: any): void; + afterFit?(scale?: any): void; } interface ChartXAxe extends CommonAxe { From 0887bbe243bac3690e749aa370d7bd75ac5aff91 Mon Sep 17 00:00:00 2001 From: Gintautas Miselis <naktibalda@gmail.com> Date: Fri, 6 Oct 2017 18:03:04 +0100 Subject: [PATCH 168/433] [watson-develop-cloud] new methods and version dates (#20330) --- types/watson-developer-cloud/index.d.ts | 45 ++++++++++++++++--------- 1 file changed, 30 insertions(+), 15 deletions(-) diff --git a/types/watson-developer-cloud/index.d.ts b/types/watson-developer-cloud/index.d.ts index 08494f74d7..4d90296e10 100644 --- a/types/watson-developer-cloud/index.d.ts +++ b/types/watson-developer-cloud/index.d.ts @@ -1,6 +1,7 @@ -// Type definitions for watson-developer-cloud 2.31 +// Type definitions for watson-developer-cloud 2.40 // Project: https://github.com/watson-developer-cloud/node-sdk#readme // Definitions by: Roy Wallace <https://github.com/waldo000000> +// Gintautas Miselis <https://github.com/Naktibalda> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference types="node" /> @@ -55,20 +56,6 @@ export class AlchemyLanguageV1 { static URL: string; } -export class AlchemyVisionV1 { - constructor(options: any); - - getImageKeywords(_params: any, callback: any): any; - - getImageLinks(_params: any, callback: any): any; - - getImageSceneText(_params: any, callback: any): any; - - recognizeFaces(_params: any, callback: any): any; - - static URL: string; -} - export class AuthorizationV1 { constructor(options: any); @@ -82,6 +69,8 @@ export class ConversationV1 { createCounterExample(params: any, callback: any): any; + createDialogNode(params: any, callback: any): any; + createEntity(params: any, callback: any): any; createExample(params: any, callback: any): any; @@ -96,6 +85,8 @@ export class ConversationV1 { deleteCounterExample(params: any, callback: any): any; + deleteDialogNode(params: any, callback: any): any; + deleteEntity(params: any, callback: any): any; deleteExample(params: any, callback: any): any; @@ -112,6 +103,10 @@ export class ConversationV1 { getCounterExamples(params: any, callback: any): any; + getDialogNode(params: any, callback: any): any; + + getDialogNodes(params: any, callback: any): any; + getEntities(params: any, callback: any): any; getEntity(params: any, callback: any): any; @@ -142,6 +137,8 @@ export class ConversationV1 { updateCounterExample(params: any, callback: any): any; + updateDialogNode(params: any, callback: any): any; + updateEntity(params: any, callback: any): any; updateExample(params: any, callback: any): any; @@ -165,6 +162,8 @@ export class ConversationV1 { static VERSION_DATE_2017_02_03: string; static VERSION_DATE_2017_04_21: string; + + static VERSION_DATE_2017_05_26: string; } export class ConversationV1Experimental { @@ -206,8 +205,12 @@ export class DiscoveryV1 { addDocument(params: any, callback: any): any; + addJsonDocument(params: any, callback: any): any; + createCollection(params: any, callback: any): any; + createConfiguration(params: any, callback: any): any; + createEnvironment(params: any, callback: any): any; deleteCollection(params: any, callback: any): any; @@ -218,6 +221,8 @@ export class DiscoveryV1 { getCollection(params: any, callback: any): any; + getCollectionFields(params: any, callback: any): any; + getCollections(params: any, callback: any): any; getConfiguration(params: any, callback: any): any; @@ -230,8 +235,14 @@ export class DiscoveryV1 { query(params: any, callback: any): any; + updateCollection(params: any, callback: any): any; + + updateConfiguration(params: any, callback: any): any; + updateDocument(params: any, callback: any): any; + updateJsonDocument(params: any, callback: any): any; + updateEnvironment(params: any, callback: any): any; static URL: string; @@ -239,6 +250,8 @@ export class DiscoveryV1 { static VERSION_DATE_2016_12_15: string; static VERSION_DATE_2017_04_27: string; + + static VERSION_DATE_2017_08_01: string; } export class DiscoveryV1Experimental { @@ -615,4 +628,6 @@ export class VisualRecognitionV3 { setImageMetadata(params: any, callback: any): any; static URL: string; + + static VERSION_DATE_2016_05_20: string; } From e33497fb48dcdb88c2895075715776c5cc96703d Mon Sep 17 00:00:00 2001 From: Kaesebrot84 <13865115+Kaesebrot84@users.noreply.github.com> Date: Fri, 6 Oct 2017 19:08:08 +0200 Subject: [PATCH 169/433] Added a definition for projection in mat3 class in gl-Matrix (#20294) * Added a definition for projection in mat3 class Added the missing definition for projection function in the `mat3` class * Added semicolon Added missing semicolon. * Added test for mat3.projection() Added test for mat3.projection() --- types/gl-matrix/gl-matrix-tests.ts | 1 + types/gl-matrix/index.d.ts | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/types/gl-matrix/gl-matrix-tests.ts b/types/gl-matrix/gl-matrix-tests.ts index 505bbcbb26..765f871e30 100644 --- a/types/gl-matrix/gl-matrix-tests.ts +++ b/types/gl-matrix/gl-matrix-tests.ts @@ -267,6 +267,7 @@ outMat3 = mat3.multiplyScalar (outMat3, mat3A, 2); outMat3 = mat3.multiplyScalarAndAdd (outMat3, mat3A, mat3B, 2); outBool = mat3.exactEquals(mat3A, mat3B); outBool = mat3.equals(mat3A, mat3B); +outMat3 = mat3.projection(outMat3, 100, 100); //mat4 outMat4 = mat4.create(); diff --git a/types/gl-matrix/index.d.ts b/types/gl-matrix/index.d.ts index d39496e20d..1ce2ea5d58 100644 --- a/types/gl-matrix/index.d.ts +++ b/types/gl-matrix/index.d.ts @@ -1950,6 +1950,16 @@ declare module 'gl-matrix' { * @returns out */ public static transpose(out: mat3, a: mat3): mat3; + + /** + * Generates a 2D projection matrix with the given bounds + * + * @param out the receiving matrix + * @param width width of your gl context + * @param height height of gl context + * @returns out + */ + public static projection(out: mat3, width: number, height: number): mat3; /** * Inverts a mat3 From c3d62c537249cf4eadfb50dd230dd35c3384fc5a Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Fri, 6 Oct 2017 10:10:08 -0700 Subject: [PATCH 170/433] webrtc: Require typescript@2.3 and rely on lib.dom.d.ts types (#20242) --- types/peerjs/index.d.ts | 1 + types/skyway/index.d.ts | 1 + types/webrtc/MediaStream.d.ts | 5 - types/webrtc/RTCPeerConnection.d.ts | 132 +------------------------ types/webrtc/index.d.ts | 1 + types/webrtc/test/MediaStream.ts | 29 +++--- types/webrtc/test/RTCPeerConnection.ts | 34 +++---- types/webrtc/tsconfig.json | 4 +- types/webrtc/tslint.json | 13 +++ 9 files changed, 51 insertions(+), 169 deletions(-) create mode 100644 types/webrtc/tslint.json diff --git a/types/peerjs/index.d.ts b/types/peerjs/index.d.ts index 5d41837bc7..4ca88fd50b 100644 --- a/types/peerjs/index.d.ts +++ b/types/peerjs/index.d.ts @@ -2,6 +2,7 @@ // Project: http://peerjs.com/ // Definitions by: Toshiya Nakakura <https://github.com/nakakura> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 /// <reference types="webrtc" /> diff --git a/types/skyway/index.d.ts b/types/skyway/index.d.ts index b9a06a8f15..eb73937178 100644 --- a/types/skyway/index.d.ts +++ b/types/skyway/index.d.ts @@ -2,6 +2,7 @@ // Project: http://nttcom.github.io/skyway/ // Definitions by: Toshiya Nakakura <https://github.com/nakakura> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 /// <reference types="webrtc" /> diff --git a/types/webrtc/MediaStream.d.ts b/types/webrtc/MediaStream.d.ts index bb25e57c66..a5c7ae1fa2 100644 --- a/types/webrtc/MediaStream.d.ts +++ b/types/webrtc/MediaStream.d.ts @@ -101,11 +101,6 @@ interface MediaStreamTrackEvent extends Event { //track: MediaStreamTrack; } -declare enum MediaStreamTrackState { - "live", - "ended" -} - interface MediaStreamTrack extends EventTarget { //id: string; //kind: string; diff --git a/types/webrtc/RTCPeerConnection.d.ts b/types/webrtc/RTCPeerConnection.d.ts index 13352158ec..472f2b0318 100644 --- a/types/webrtc/RTCPeerConnection.d.ts +++ b/types/webrtc/RTCPeerConnection.d.ts @@ -27,74 +27,6 @@ interface RTCOfferOptions extends RTCOfferAnswerOptions { interface RTCAnswerOptions extends RTCOfferAnswerOptions { } -// https://www.w3.org/TR/webrtc/#idl-def-rtcsdptype -type RTCSdpType = 'offer' | 'pranswer' | 'answer' | 'rollback'; - -// https://www.w3.org/TR/webrtc/#idl-def-rtcsessiondescriptioninit -interface RTCSessionDescriptionInit { - type: RTCSdpType; - sdp?: string; // If type is 'rollback', this member can be left undefined. -} - -// https://www.w3.org/TR/webrtc/#idl-def-rtcsessiondescription -interface RTCSessionDescription { - readonly type: RTCSdpType; - readonly sdp: string; -} -interface RTCSessionDescriptionStatic { - new(descriptionInitDict: RTCSessionDescriptionInit): RTCSessionDescription; // Deprecated -} - -// https://www.w3.org/TR/webrtc/#dom-rtciceprotocol -type RTCIceProtocol = 'udp' | 'tcp'; - -// https://www.w3.org/TR/webrtc/#dom-rtcicecandidatetype -type RTCIceCandidateType = 'host' | 'srflx' | 'prflx' | 'relay'; - -// https://www.w3.org/TR/webrtc/#dom-rtcicetcpcandidatetype -type RTCIceTcpCandidateType = 'active' | 'passive' | 'so'; - -// https://www.w3.org/TR/webrtc/#idl-def-rtcicecandidateinit -interface RTCIceCandidateInit { - candidate: string; - sdpMid?: string; // default = null - sdpMLineIndex?: number; // default = null -} - -// https://www.w3.org/TR/webrtc/#idl-def-rtcicecandidate -interface RTCIceCandidate { - readonly candidate: string; - readonly sdpMid?: string; - readonly sdpMLineIndex?: number; - //readonly foundation: string; - //readonly priority: number; - //readonly ip: string; - //readonly protocol: RTCIceProtocol; - //readonly port: number; - //readonly type: RTCIceCandidateType; - //readonly tcpType?: RTCIceTcpCandidateType; - //readonly relatedAddress?: string; - //readonly relatedPort?: number; -} -interface RTCIceCandidateStatic { - new(candidateInitDict: RTCIceCandidateInit): RTCIceCandidate; -} - -// https://www.w3.org/TR/webrtc/#idl-def-rtcicecandidatepair -interface RTCIceCandidatePair { - //local: RTCIceCandidate; - //remote: RTCIceCandidate; -} - -// https://www.w3.org/TR/webrtc/#idl-def-rtcsignalingstate -type RTCSignalingState = 'stable' | 'have-local-offer' | 'have-remote-offer' | 'have-local-pranswer' | 'have-remote-pranswer'; - -// https://www.w3.org/TR/webrtc/#idl-def-rtcicegatheringstate -type RTCIceGatheringState = 'new' | 'gathering' | 'complete'; - -// https://www.w3.org/TR/webrtc/#idl-def-rtciceconnectionstate -type RTCIceConnectionState = 'new' | 'checking' | 'connected' | 'completed' | 'failed' | 'disconnected' | 'closed'; - // https://www.w3.org/TR/webrtc/#idl-def-rtcpeerconnectionstate type RTCPeerConnectionState = 'new' | 'connecting' | 'connected' | 'disconnected' | 'failed' | 'closed'; @@ -104,29 +36,12 @@ type RTCIceCredentialType = 'password' | 'token'; // https://www.w3.org/TR/webrtc/#idl-def-rtciceserver interface RTCIceServer { //urls: string | string[]; - username?: string; - credential?: string; credentialType?: RTCIceCredentialType; // default = 'password' } -// https://www.w3.org/TR/webrtc/#idl-def-rtcicetransportpolicy -type RTCIceTransportPolicy = 'relay' | 'all'; - -// https://www.w3.org/TR/webrtc/#idl-def-rtcbundlepolicy -type RTCBundlePolicy = 'balanced' | 'max-compat' | 'max-bundle'; - // https://www.w3.org/TR/webrtc/#idl-def-rtcrtcpmuxpolicy type RTCRtcpMuxPolicy = 'negotiate' | 'require'; -// https://www.w3.org/TR/webrtc/#idl-def-rtcicerole -type RTCIceRole = 'controlling' | 'controlled'; - -// https://www.w3.org/TR/webrtc/#idl-def-rtcicecomponent -type RTCIceComponent = 'RTP' | 'RTCP'; - -// https://www.w3.org/TR/webrtc/#idl-def-rtcicetransportstate -type RTCIceTransportState = 'new' | 'checking' | 'connected' | 'completed' | 'failed' | 'disconnected' | 'closed'; - // https://www.w3.org/TR/webrtc/#idl-def-rtciceparameters interface RTCIceParameters { //usernameFragment: string; @@ -149,9 +64,6 @@ interface RTCIceTransport { onselectedcandidatepairchange: EventHandler; } -// https://www.w3.org/TR/webrtc/#idl-def-rtcdtlstransportstate -type RTCDtlsTransportState = 'new' | 'connecting' | 'connected' | 'closed' | 'failed'; - // https://www.w3.org/TR/webrtc/#idl-def-rtcdtlstransport interface RTCDtlsTransport { readonly transport: RTCIceTransport; @@ -201,7 +113,6 @@ interface RTCRtpEncodingParameters { //active: boolean; //priority: RTCPriorityType; //maxBitrate: number; - maxFramerate: number; rid: string; scaleResolutionDownBy?: number; // default = 1 } @@ -228,8 +139,6 @@ interface RTCRtpCodecParameters { sdpFmtpLine: string; } -type RTCDegradationPreference = 'maintain-framerate' | 'maintain-resolution' | 'balanced'; - // https://www.w3.org/TR/webrtc/#idl-def-rtcrtpparameters interface RTCRtpParameters { transactionId: string; @@ -263,10 +172,6 @@ interface RTCRtpSender { getParameters(): RTCRtpParameters; replaceTrack(withTrack: MediaStreamTrack): Promise<void>; } -interface RTCRtpSenderStatic { - new(): RTCRtpSender; - getCapabilities(kind: string): RTCRtpCapabilities; -} // https://www.w3.org/TR/webrtc/#idl-def-rtcrtpreceiver interface RTCRtpReceiver { @@ -276,10 +181,6 @@ interface RTCRtpReceiver { getParameters(): RTCRtpParameters; getContributingSources(): RTCRtpContributingSource[]; } -interface RTCRtpReceiverStatic { - new(): RTCRtpReceiver; - getCapabilities(kind: string): RTCRtcCapabilities; -} // https://www.w3.org/TR/webrtc/#idl-def-rtcrtptransceiverdirection type RTCRtpTransceiverDirection = 'sendrecv' | 'sendonly' | 'recvonly' | 'inactive'; @@ -379,7 +280,6 @@ interface RTCTrackEvent extends Event { // https://www.w3.org/TR/webrtc/#h-rtcpeerconnectioniceevent interface RTCPeerConnectionIceEvent extends Event { - readonly candidate: RTCIceCandidate | null; readonly url: string; } @@ -396,18 +296,6 @@ interface RTCDataChannelEvent { readonly channel: RTCDataChannel; } -// https://www.w3.org/TR/webrtc/#idl-def-rtcsessiondescriptioncallback -// Deprecated! -type RTCSessionDescriptionCallback = (sdp: RTCSessionDescription) => void; - -// https://www.w3.org/TR/webrtc/#idl-def-rtcpeerconnectionerrorcallback -// Deprecated! -type RTCPeerConnectionErrorCallback = (error: DOMException) => void; - -// https://www.w3.org/TR/webrtc/#idl-def-rtcstatscallback -// Deprecated! -type RTCStatsCallback = (report: RTCStatsReport) => void; - // https://www.w3.org/TR/webrtc/#idl-def-rtcpeerconnection interface RTCPeerConnection extends EventTarget { createOffer(options?: RTCOfferOptions): Promise<RTCSessionDescriptionInit>; @@ -426,21 +314,12 @@ interface RTCPeerConnection extends EventTarget { addIceCandidate(candidate?: RTCIceCandidateInit | RTCIceCandidate): Promise<void>; readonly signalingState: RTCSignalingState; - readonly iceGatheringState: RTCIceGatheringState; - readonly iceConnectionState: RTCIceConnectionState; - readonly connectionState: RTCPeerConnectionState; - readonly canTrickleIceCandidates?: boolean | null; getConfiguration(): RTCConfiguration; setConfiguration(configuration: RTCConfiguration): void; close(): void; - onnegotiationneeded: EventHandler; - onicecandidate: (event: RTCPeerConnectionIceEvent) => void; onicecandidateerror: (event: RTCPeerConnectionIceErrorEvent) => void; - onsignalingstatechange: EventHandler; - oniceconnectionstatechange: EventHandler; - onicegatheringstatechange: EventHandler; onconnectionstatechange: EventHandler; // Extension: https://www.w3.org/TR/webrtc/#h-rtcpeerconnection-interface-extensions @@ -455,7 +334,7 @@ interface RTCPeerConnection extends EventTarget { // Extension: https://www.w3.org/TR/webrtc/#h-rtcpeerconnection-interface-extensions-1 readonly sctp: RTCSctpTransport | null; createDataChannel(label: string | null, dataChannelDict?: RTCDataChannelInit): RTCDataChannel; - ondatachannel: (event: RTCDataChannelEvent) => void; + ondatachannel: (event: RTCDataChannelEvent) => void; // Extension: https://www.w3.org/TR/webrtc/#h-rtcpeerconnection-interface-extensions-2 getStats(selector?: MediaStreamTrack | null): Promise<RTCStatsReport>; @@ -488,15 +367,6 @@ interface RTCPeerConnectionStatic { generateCertificate(keygenAlgorithm: string): Promise<RTCCertificate>; } -declare var RTCPeerConnection: RTCPeerConnectionStatic; -declare var RTCSessionDescription: RTCSessionDescriptionStatic; -declare var RTCIceCandidate: RTCIceCandidateStatic; -//declare var RTCRtpSender: RTCRtpSenderStatic; -//declare var RTCRtpReceiver: RTCRtpReceiverStatic; interface Window { RTCPeerConnection: RTCPeerConnectionStatic; - RTCSessionDescription: RTCSessionDescriptionStatic; - RTCIceCandidate: RTCIceCandidateStatic; - RTCRtpSender: RTCRtpSenderStatic; - RTCRtpReceiver: RTCRtpReceiverStatic; } diff --git a/types/webrtc/index.d.ts b/types/webrtc/index.d.ts index 4ed329463d..4a16860637 100644 --- a/types/webrtc/index.d.ts +++ b/types/webrtc/index.d.ts @@ -2,6 +2,7 @@ // Project: https://webrtc.org/ // Definitions by: Toshiya Nakakura <https://github.com/nakakura> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 /// <reference path="RTCPeerConnection.d.ts" /> /// <reference path="MediaStream.d.ts" /> diff --git a/types/webrtc/test/MediaStream.ts b/types/webrtc/test/MediaStream.ts index d8c87afdec..59ae69dc07 100644 --- a/types/webrtc/test/MediaStream.ts +++ b/types/webrtc/test/MediaStream.ts @@ -1,17 +1,17 @@ -var mediaStreamConstraints: MediaStreamConstraints = { audio: true, video: true }; +const mediaStreamConstraints: MediaStreamConstraints = { audio: true, video: true }; -var mediaTrackConstraintSet: MediaTrackConstraintSet = {}; -var mediaTrackConstraintArray: MediaTrackConstraintSet[] = []; -var mediaTrackConstraints: MediaTrackConstraints = mediaTrackConstraintSet; -var mediaTrackConstraints2: MediaTrackConstraints = { advanced: mediaTrackConstraintArray }; +const mediaTrackConstraintSet: MediaTrackConstraintSet = {}; +const mediaTrackConstraintArray: MediaTrackConstraintSet[] = []; +const mediaTrackConstraints: MediaTrackConstraints = mediaTrackConstraintSet; +const mediaTrackConstraints2: MediaTrackConstraints = { advanced: mediaTrackConstraintArray }; navigator.getUserMedia(mediaStreamConstraints, stream => { - var track: MediaStreamTrack = stream.getTracks()[0]; + const track: MediaStreamTrack = stream.getTracks()[0]; console.log('label:' + track.label); console.log('ended:' + track.readyState); - track.onended = (event:Event) => console.log('Track ended'); - var objectUrl = URL.createObjectURL(stream); + track.onended = (event: Event) => console.log('Track ended'); + const objectUrl = URL.createObjectURL(stream); }, error => { console.log('Error message: ' + error.message); @@ -20,25 +20,24 @@ navigator.getUserMedia(mediaStreamConstraints, navigator.webkitGetUserMedia(mediaStreamConstraints, stream => { - var track: MediaStreamTrack = stream.getTracks()[0]; + const track: MediaStreamTrack = stream.getTracks()[0]; console.log('label:' + track.label); console.log('ended:' + track.readyState); - track.onended = (event:Event) => console.log('Track ended'); - var objectUrl = URL.createObjectURL(stream); + track.onended = (event: Event) => console.log('Track ended'); + const objectUrl = URL.createObjectURL(stream); }, error => { console.log('Error message: ' + error.message); console.log('Error name: ' + error.name); }); - navigator.mozGetUserMedia(mediaStreamConstraints, stream => { - var track: MediaStreamTrack = stream.getTracks()[0]; + const track: MediaStreamTrack = stream.getTracks()[0]; console.log('label:' + track.label); console.log('ended:' + track.readyState); - track.onended = (event:Event) => console.log('Track ended'); - var objectUrl = URL.createObjectURL(stream); + track.onended = (event: Event) => console.log('Track ended'); + const objectUrl = URL.createObjectURL(stream); }, error => { console.log('Error message: ' + error.message); diff --git a/types/webrtc/test/RTCPeerConnection.ts b/types/webrtc/test/RTCPeerConnection.ts index 1272327ac2..95a6d45694 100644 --- a/types/webrtc/test/RTCPeerConnection.ts +++ b/types/webrtc/test/RTCPeerConnection.ts @@ -1,21 +1,21 @@ -let defaultIceServers: RTCIceServer[] = RTCPeerConnection.defaultIceServers; +let defaultIceServers: RTCIceServer[] = window.RTCPeerConnection.defaultIceServers; if (defaultIceServers.length > 0) { - let urls = defaultIceServers[0].urls; + const urls = defaultIceServers[0].urls; } // Create a peer connection let ice1: RTCIceServer = { - 'urls': 'stun:stun.l.google.com:19302', - 'username': 'john', - 'credential': '1234', - 'credentialType': 'password', + urls: 'stun:stun.l.google.com:19302', + username: 'john', + credential: '1234', + credentialType: 'password', }; -let ice2: RTCIceServer = {'urls': ['stun:stunserver.org', 'stun:stun.example.com']}; -let pc: RTCPeerConnection = new RTCPeerConnection(); +let ice2: RTCIceServer = { urls: ['stun:stunserver.org', 'stun:stun.example.com'] }; +let pc: RTCPeerConnection = new RTCPeerConnection({}); let pc2: RTCPeerConnection = new RTCPeerConnection({ iceServers: [ice1, ice2], }); -RTCPeerConnection.generateCertificate("sha-256").then((cert: RTCCertificate) => { +window.RTCPeerConnection.generateCertificate("sha-256").then((cert: RTCCertificate) => { new RTCPeerConnection({ iceServers: [ice1], iceTransportPolicy: 'relay', @@ -35,15 +35,15 @@ pc.setConfiguration(conf); pc2.close(); // Offer/answer flow -let offer: RTCSessionDescriptionInit; -let answer: RTCSessionDescriptionInit; pc.createOffer({iceRestart: true}) - .then((_offer: RTCSessionDescriptionInit) => offer = _offer); -pc.setLocalDescription(offer); -pc2.setRemoteDescription(offer); -pc2.createAnswer().then((_answer: RTCSessionDescriptionInit) => answer = _answer); -pc2.setLocalDescription(answer); -pc.setRemoteDescription(answer); + .then((offer: RTCSessionDescriptionInit) => { + pc.setLocalDescription(offer); + pc2.setRemoteDescription(offer); + pc2.createAnswer().then((answer: RTCSessionDescriptionInit) => { + pc2.setLocalDescription(answer); + pc.setRemoteDescription(answer); + }); +}); // Event handlers pc.onnegotiationneeded = ev => console.log(ev.type); diff --git a/types/webrtc/tsconfig.json b/types/webrtc/tsconfig.json index 7fc71ab464..98b72f24e9 100644 --- a/types/webrtc/tsconfig.json +++ b/types/webrtc/tsconfig.json @@ -7,7 +7,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "baseUrl": "../", "typeRoots": [ "../" @@ -18,6 +18,8 @@ }, "files": [ "index.d.ts", + "MediaStream.d.ts", + "RTCPeerConnection.d.ts", "test/MediaStream.ts", "test/RTCPeerConnection.ts" ] diff --git a/types/webrtc/tslint.json b/types/webrtc/tslint.json new file mode 100644 index 0000000000..3950a77d6c --- /dev/null +++ b/types/webrtc/tslint.json @@ -0,0 +1,13 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + // TODOs + "adjacent-overload-signatures": false, + "callable-types": false, + "comment-format": false, + "dt-header": false, + "no-empty-interface": false, + "no-useless-files": false, + "prefer-method-signature": false + } +} From afdde07862d21c283d0ff46271e8c1763a12ccf5 Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Fri, 6 Oct 2017 10:10:18 -0700 Subject: [PATCH 171/433] webspeechapi: Require typescript@2.2 and rely on lib.dom.d.ts types (#20239) --- types/webspeechapi/index.d.ts | 71 +-------------------- types/webspeechapi/tslint.json | 8 +++ types/webspeechapi/webspeechapi-tests.ts | 80 ++++++++++++------------ 3 files changed, 49 insertions(+), 110 deletions(-) create mode 100644 types/webspeechapi/tslint.json diff --git a/types/webspeechapi/index.d.ts b/types/webspeechapi/index.d.ts index c297e94232..3041c778b4 100644 --- a/types/webspeechapi/index.d.ts +++ b/types/webspeechapi/index.d.ts @@ -2,6 +2,7 @@ // Project: https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html // Definitions by: SaschaNaz <https://github.com/saschanaz> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 // Spec version: 19 October 2012 // Errata version: 6 June 2014 @@ -92,73 +93,3 @@ interface SpeechGrammarListStatic { } declare var SpeechGrammarList: SpeechGrammarListStatic; declare var webkitSpeechGrammarList: SpeechGrammarListStatic; - -/* Errata 08 */ -interface SpeechSynthesis extends EventTarget { - pending: boolean; - speaking: boolean; - paused: boolean; - - /* Errata 11 */ - onvoiceschanged: (ev: Event) => any; - - speak(utterance: SpeechSynthesisUtterance): void; - cancel(): void; - pause(): void; - resume(): void; - /* Errata 05 */ - getVoices(): SpeechSynthesisVoice[]; -} - -interface SpeechSynthesisGetter { - speechSynthesis: SpeechSynthesis; -} -interface Window extends SpeechSynthesisGetter { -} -declare var speechSynthesis: SpeechSynthesis; - -interface SpeechSynthesisUtterance extends EventTarget { - text: string; - lang: string; - /* Errata 07 */ - voice: SpeechSynthesisVoice; - volume: number; - rate: number; - pitch: number; - - onstart: (ev: SpeechSynthesisEvent) => any; - onend: (ev: SpeechSynthesisEvent) => any; - /* Errata 12 */ - onerror: (ev: SpeechSynthesisErrorEvent) => any; - onpause: (ev: SpeechSynthesisEvent) => any; - onresume: (ev: SpeechSynthesisEvent) => any; - onmark: (ev: SpeechSynthesisEvent) => any; - onboundary: (ev: SpeechSynthesisEvent) => any; -} -interface SpeechSynthesisUtteranceStatic { - prototype: SpeechSynthesisUtterance; - new (): SpeechSynthesisUtterance; - new (text: string): SpeechSynthesisUtterance; -} -declare var SpeechSynthesisUtterance: SpeechSynthesisUtteranceStatic; - -interface SpeechSynthesisEvent extends Event { - /* Errata 08 */ - utterance: SpeechSynthesisUtterance; - charIndex: number; - elapsedTime: number; - name: string; -} - -/* Errata 12 */ -interface SpeechSynthesisErrorEvent extends SpeechSynthesisEvent { - error: string; -} - -interface SpeechSynthesisVoice { - voiceURI: string; - name: string; - lang: string; - localService: boolean; - default: boolean; -} \ No newline at end of file diff --git a/types/webspeechapi/tslint.json b/types/webspeechapi/tslint.json new file mode 100644 index 0000000000..448daa2365 --- /dev/null +++ b/types/webspeechapi/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + // TODOs + "dt-header": false, + "prefer-method-signature": false + } +} diff --git a/types/webspeechapi/webspeechapi-tests.ts b/types/webspeechapi/webspeechapi-tests.ts index 7a8d48bf17..27c03abd6e 100644 --- a/types/webspeechapi/webspeechapi-tests.ts +++ b/types/webspeechapi/webspeechapi-tests.ts @@ -7,33 +7,33 @@ https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#examples-recogniti // Example 1 declare var q: HTMLInputElement; -() => { - var recognition = new SpeechRecognition(); - recognition.onresult = function (event) { +{ + const recognition = new SpeechRecognition(); + recognition.onresult = event => { if (event.results.length > 0) { q.value = event.results[0][0].transcript; q.form.submit(); } - } + }; } // Example 2 -declare var select: HTMLSelectElement; -() => { - var recognition = new SpeechRecognition(); +declare const select: HTMLSelectElement; +{ + const recognition = new SpeechRecognition(); recognition.maxAlternatives = 10; - recognition.onresult = function (event) { + recognition.onresult = event => { if (event.results.length > 0) { - var result = event.results[0]; - for (var i = 0; i < result.length; ++i) { - var text = result[i].transcript; + const result = event.results[0]; + for (let i = 0; i < result.length; ++i) { + const text = result[i].transcript; select.options[i] = new Option(text, text); } } - } + }; function start() { - let x: number = select.options.length; + const x: number = select.options.length; recognition.start(); } } @@ -41,25 +41,25 @@ declare var select: HTMLSelectElement; // Example 3 /* This example has some changes from the one in spec. -`var i = resultIndex` -> `var i = event.resultIndex` (Recorded as Errata 16) +`const i = resultIndex` -> `const i = event.resultIndex` (Recorded as Errata 16) `event.results.final` -> `event.results[i].isFinal` (Recorded as Errata 02) */ -declare var textarea: HTMLTextAreaElement; -declare var button: HTMLButtonElement; -() => { - var recognizing: boolean; - var recognition = new SpeechRecognition(); +declare const textarea: HTMLTextAreaElement; +declare const button: HTMLButtonElement; +{ + let recognizing: boolean; + const recognition = new SpeechRecognition(); recognition.continuous = true; reset(); recognition.onend = reset; - recognition.onresult = function (event) { - for (var i = event.resultIndex; i < event.results.length; ++i) { + recognition.onresult = event => { + for (let i = event.resultIndex; i < event.results.length; ++i) { if (event.results[i].isFinal) { textarea.value += event.results[i][0].transcript; } } - } + }; function reset() { recognizing = false; @@ -84,21 +84,21 @@ This example has a change from the one in spec. `recognition.interim = true;` -> `recognition.interimResults = true;` (Recorded as Errata 01) `event.results[i].final` -> `event.results[i].isFinal` (Recorded as Errata 02) */ -declare var button: HTMLButtonElement; -declare var final_span: HTMLSpanElement; -declare var interim_span: HTMLSpanElement; +declare const final_span: HTMLSpanElement; +declare const interim_span: HTMLSpanElement; () => { - var recognizing: boolean; - var recognition = new SpeechRecognition(); + let recognizing: boolean; + const recognition = new SpeechRecognition(); recognition.continuous = true; recognition.interimResults = true; reset(); recognition.onend = reset; - recognition.onresult = function (event) { - var final = ""; - var interim = ""; - for (var i = 0; i < event.results.length; ++i) { + recognition.onresult = event => { + let final = ""; + let interim = ""; + // tslint:disable-next-line prefer-for-of (not an Iterable?) + for (let i = 0; i < event.results.length; ++i) { if (event.results[i].isFinal) { final += event.results[i][0].transcript; } else { @@ -107,7 +107,7 @@ declare var interim_span: HTMLSpanElement; } final_span.innerHTML = final; interim_span.innerHTML = interim; - } + }; function reset() { recognizing = false; @@ -126,8 +126,7 @@ declare var interim_span: HTMLSpanElement; interim_span.innerHTML = ""; } } -} - +}; // 6.2 Speech Synthesis Examples @@ -136,16 +135,17 @@ declare var interim_span: HTMLSpanElement; This example has a change from the one in spec. `SpeechSynthesisUtterance('Hello World')` -> `new SpeechSynthesisUtterance('Hello World')` (Recorded as Errata 09) */ -() => { +{ speechSynthesis.speak(new SpeechSynthesisUtterance('Hello World')); } -//Example 2 -() => { - var u = new SpeechSynthesisUtterance(); +// Example 2 +{ + const u = new SpeechSynthesisUtterance(); u.text = 'Hello World'; u.lang = 'en-US'; u.rate = 1.2; - u.onend = function (event) { alert('Finished in ' + event.elapsedTime + ' seconds.'); } + // TODO: https://github.com/Microsoft/TSJS-lib-generator/issues/232 + u.onend = event => { alert(`Finished in ${(event as any).elapsedTime} seconds.`); }; speechSynthesis.speak(u); -} \ No newline at end of file +} From 5795bd4edf9d03070cf6b3b24a27e388880801e8 Mon Sep 17 00:00:00 2001 From: Gaurav Lahoti <Dante-101@users.noreply.github.com> Date: Fri, 6 Oct 2017 22:48:30 +0530 Subject: [PATCH 172/433] mongodb CollectionCreateOptions definition v2.2 update (#20306) --- types/mongodb/index.d.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/types/mongodb/index.d.ts b/types/mongodb/index.d.ts index b53fd829ba..afd32099bd 100644 --- a/types/mongodb/index.d.ts +++ b/types/mongodb/index.d.ts @@ -4,6 +4,7 @@ // Alan Marcell <https://github.com/alanmarcell> // Gady Piazza <https://github.com/kikar> // Jason Dreyzehner <https://github.com/bitjson> +// Gaurav Lahoti <https://github.com/dante-101> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -316,7 +317,7 @@ export interface DbAddUserOptions { roles?: Object[]; } -//http://mongodb.github.io/node-mongodb-native/2.1/api/Db.html#createCollection +//http://mongodb.github.io/node-mongodb-native/2.2/api/Db.html#createCollection export interface CollectionCreateOptions { w?: number | string; wtimeout?: number; @@ -327,9 +328,18 @@ export interface CollectionCreateOptions { serializeFunctions?: boolean; strict?: boolean; capped?: boolean; + autoIndexId?: boolean; size?: number; max?: number; - autoIndexId?: boolean; + flags?: number; + storageEngine?: object; + validator?: object; + validationLevel?: "off" | "strict" | "moderate"; + validationAction?: "error" | "warn"; + indexOptionDefaults?: object; + viewOn?: string; + pipeline?: any[]; + collation?: object; } // http://mongodb.github.io/node-mongodb-native/2.1/api/Db.html#collection From 009229f922bd6e098ef6dcab9eb93cdb88785655 Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Fri, 6 Oct 2017 10:21:57 -0700 Subject: [PATCH 173/433] redux-action: Fix lint (#20368) --- types/redux-action/tslint.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/types/redux-action/tslint.json b/types/redux-action/tslint.json index 3db14f85ea..3fc34b8203 100644 --- a/types/redux-action/tslint.json +++ b/types/redux-action/tslint.json @@ -1 +1,7 @@ -{ "extends": "dtslint/dt.json" } +{ + "extends": "dtslint/dt.json", + "rules": { + // TODO + "no-unnecessary-generics": false + } +} From 102bcc67fa4ae3c5ced80539522e799625eb6a23 Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Fri, 6 Oct 2017 10:22:09 -0700 Subject: [PATCH 174/433] ramda: Fix lint (#20367) --- types/ramda/ramda-tests.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/types/ramda/ramda-tests.ts b/types/ramda/ramda-tests.ts index 7ecd3e5f60..973edf29e3 100644 --- a/types/ramda/ramda-tests.ts +++ b/types/ramda/ramda-tests.ts @@ -153,7 +153,7 @@ class F2 { () => { const truncate = R.when( R.propSatisfies(R.flip(R.gt)(10), "length"), - R.pipe<string,string,string[],string>(R.take(10), R.append("…") as (wrong: any) => string[], R.join("")) + R.pipe<string, string, string[], string>(R.take(10), R.append("…") as (wrong: any) => string[], R.join("")) ); const a: string = truncate("12345"); // => '12345' const b: string = truncate("0123456789ABC"); // => '0123456789…' @@ -317,7 +317,7 @@ R.times(i, 5); (() => { const numbers = [1, 2, 3]; - R.reduce((a,b) => a + b, 10, numbers); // => 16; + R.reduce((a, b) => a + b, 10, numbers); // => 16; })(); (() => { @@ -325,7 +325,7 @@ R.times(i, 5); })(); (() => { - const pairs = [["a", 1], ["b", 2], ["c", 3]] as [string, number][]; + const pairs = [["a", 1], ["b", 2], ["c", 3]]; function flattenPairs(pair: [string, number], acc: Array<string|number>): Array<string|number> { return acc.concat(pair); @@ -853,9 +853,9 @@ interface Obj { () => { const numbers = [1, 2, 3]; - R.reduce((a,b) => a + b, 10, numbers); // => 16 + R.reduce((a, b) => a + b, 10, numbers); // => 16 R.reduce(add)(10, numbers); // => 16 - R.reduce<number,number>((a,b) => a + b, 10)(numbers); // => 16 + R.reduce<number, number>((a, b) => a + b, 10)(numbers); // => 16 }; interface Student { @@ -1854,7 +1854,7 @@ class Rectangle { }; () => { - const sortByNameCaseInsensitive = R.sortBy(R.compose<string,string,string>(R.toLower, R.prop("name"))); + const sortByNameCaseInsensitive = R.sortBy(R.compose<string, string, string>(R.toLower, R.prop("name"))); const alice = { name: "ALICE", age : 101 From 8b75e6e5edadc20043cc3785539d589ce66fd240 Mon Sep 17 00:00:00 2001 From: Jan Karres <webmaster@jankarres.de> Date: Fri, 6 Oct 2017 19:24:05 +0200 Subject: [PATCH 175/433] Bugfix set not required DrawerViewConfig options to optional (#20349) --- types/react-navigation/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/react-navigation/index.d.ts b/types/react-navigation/index.d.ts index e71a368455..43e8c6054d 100644 --- a/types/react-navigation/index.d.ts +++ b/types/react-navigation/index.d.ts @@ -539,9 +539,9 @@ export const DrawerItems: React.ComponentClass<any>; * Drawer Navigator */ export interface DrawerViewConfig { - drawerWidth: number; - drawerPosition: 'left' | 'right'; - contentComponent: (props: any) => React.ReactElement<any> | React.ComponentClass<any>; + drawerWidth?: number; + drawerPosition?: 'left' | 'right'; + contentComponent?: (props: any) => React.ReactElement<any> | React.ComponentClass<any>; contentOptions?: any; style?: StyleProp<ViewStyle>; } From 52ddb17e233d3680838821b9cdcfbb1ebf8435d2 Mon Sep 17 00:00:00 2001 From: Christian Petrov <Christian.Petrov@outlook.com> Date: Fri, 6 Oct 2017 19:39:48 +0200 Subject: [PATCH 176/433] Add typings for tabris-plugin-firebase (#20328) * Add typings for tabris-plugin-firebase tabris-plugin-firebase is a plugin for the framework for mobile app development Tabris.js [1]. The plugin is made available by the Cordova ecosystem and can thus only be consumed through a global variable. Disable linter rule "strict-export-declare-modifiers" since using "export {};" is the recommended way of exporting nothing when the module is only to be used through a global variable [2]. Include missing Tabris.js interfaces due to the lack of support for the "peerDependencies" field in package.json. Remove trivial types, i.e. the interfaces NativeObjectEvents and NativeObjectProperties which were essentially of type object. Linter rules disallow empty interfaces. [1]: https://tabrisjs.com [2]: https://www.typescriptlang.org/docs/handbook/declaration-files/templates/global-modifying-module-d-ts.html Change-Id: I85a17308ec60647a547981708602089a3da39b07 * Change {} types to object Those changed types may have own object properties. Change-Id: I46b68ab018db86ad8d65c43d6dc28ca14e144d0b --- types/tabris-plugin-firebase/index.d.ts | 152 ++++++++++++++++++ .../tabris-plugin-firebase-tests.ts | 67 ++++++++ types/tabris-plugin-firebase/tsconfig.json | 22 +++ types/tabris-plugin-firebase/tslint.json | 6 + 4 files changed, 247 insertions(+) create mode 100644 types/tabris-plugin-firebase/index.d.ts create mode 100644 types/tabris-plugin-firebase/tabris-plugin-firebase-tests.ts create mode 100644 types/tabris-plugin-firebase/tsconfig.json create mode 100644 types/tabris-plugin-firebase/tslint.json diff --git a/types/tabris-plugin-firebase/index.d.ts b/types/tabris-plugin-firebase/index.d.ts new file mode 100644 index 0000000000..3a9e7b350f --- /dev/null +++ b/types/tabris-plugin-firebase/index.d.ts @@ -0,0 +1,152 @@ +// Type definitions for tabris-plugin-firebase 1.0 +// Project: https://github.com/eclipsesource/tabris-plugin-firebase/ +// Definitions by: EclipseSource <https://github.com/eclipsesource> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 + +declare global { + namespace firebase { + const Analytics: Analytics; + const Messaging: Messaging; + const MessagingEvents: MessagingEvents; + const MessageEvent: MessageEvent; + type AnalyticsProperties = Partial<PropertyMixins.Analytics>; + + interface Analytics extends NativeObject, PropertyMixins.Analytics { + logEvent(eventName: string, parameters?: {[key: string]: string}): void; + setUserProperty(propertyName: string, value: string): void; + set(properties: AnalyticsProperties): this; + set(property: string, value: any): this; + } + + interface Messaging extends NativeObject { + readonly instanceId: string; + readonly token: string; + readonly launchData: object; + resetInstanceId(): void; + on(type: string, listener: (event: any) => void, context?: object): this; + on(listeners: MessagingEvents): this; + off(type: string, listener: (event: any) => void, context?: object): this; + off(listeners: MessagingEvents): this; + once(type: string, listener: (event: any) => void, context?: object): this; + once(listeners: MessagingEvents): this; + } + + interface MessagingEvents { + instanceIdChanged?(event: PropertyChangedEvent<Messaging, string>): void; + tokenChanged?(event: PropertyChangedEvent<Messaging, string>): void; + message?(event: MessageEvent): void; + } + + interface MessageEvent extends EventObject<Messaging> { + data: any; + } + + namespace PropertyMixins { + interface Analytics { + analyticsCollectionEnabled: boolean; + screenName: string; + userId: string; + } + } + } +} + +// Tabris.js interfaces + +interface EventObject<T> { + readonly target: T; + readonly timeStamp: number; + readonly type: string; +} + +/** + * Base class for all objects with a native implementation. + */ +declare class NativeObject { + protected constructor(properties?: object); + + /** + * Gets the current value of the given *property*. + * @param property + */ + get(property: string): any; + + /** + * Removes all occurrences of *listener* that are bound to *type* and *context* from this widget. + * @param type The type of events to remove listeners for. + * @param listener The listener function to remove. + * @param context The context of the bound listener to remove. + */ + off(type: string, listener: (event: any) => void, context?: object): this; + + /** + * Removes all listeners in the given object from the event type indicated by their key. + * @param listeners A key-value map where the keys are event types and the values are the listeners to deregister from these events, e.g. `{tap: onTap, scroll: onScroll}`. + */ + off(listeners: object): this; + + /** + * Registers a *listener* function to be notified of events of the given *type*. + * @param type The type of events to listen for. + * @param listener The listener function to register. This function will be called with an event object. + * @param context In the listener function, `this` will point to this object. If not present, the listener will be called in the context of this object. + */ + on(type: string, listener: (event: any) => void, context?: object): this; + + /** + * Registers all listeners in the given object for the event type indicated by their key. + * @param listeners A key-value map where the keys are event types and the values are the listeners to register for these events, e.g. `{tap: onTap, scroll: onScroll}`. + */ + on(listeners: object): this; + + /** + * Same as `on`, but removes the listener after it has been invoked by an event. + * @param type The type of the event to listen for. + * @param listener The listener function to register. This function will be called with an event object. + * @param context In the listener function, `this` will point to this object. If not present, the listener will be called in the context of this object. + */ + once(type: string, listener: (event: any) => void, context?: object): this; + + /** + * Same as `on`, but removes the listener after it has been invoked by an event. + * @param listeners A key-value map where the keys are event types and the values are the listeners to register for these events, e.g. `{tap: onTap, scroll: onScroll}`. + */ + once(listeners: object): this; + + /** + * Sets the given property. + * @param property + * @param value + */ + set(property: string, value: any): this; + + /** + * Sets all key-value pairs in the properties object as widget properties. + * @param properties + */ + set(properties: object): this; + + /** + * Notifies all registered listeners for the given *type* and passes the *event* object to the + * listeners. + * @param type The type of event to trigger + * @param event The event object to pass to listener functions. + */ + trigger(type: string, event: EventObject<this>): this; + + /** + * An application-wide unique identifier automatically assigned to all native objects on creation. + * @static + */ + readonly cid: string; +} + +interface PropertyChangedEvent<T, U> { + readonly target: T; + readonly timeStamp: number; + readonly type: string; + readonly value: U; +} + +export {}; diff --git a/types/tabris-plugin-firebase/tabris-plugin-firebase-tests.ts b/types/tabris-plugin-firebase/tabris-plugin-firebase-tests.ts new file mode 100644 index 0000000000..8dff4f34a8 --- /dev/null +++ b/types/tabris-plugin-firebase/tabris-plugin-firebase-tests.ts @@ -0,0 +1,67 @@ +function testAnalytics() { + // Properties + let analyticsCollectionEnabled: boolean; + let screenName: string; + let userId: string; + + analyticsCollectionEnabled = firebase.Analytics.analyticsCollectionEnabled; + screenName = firebase.Analytics.screenName; + userId = firebase.Analytics.userId; + + firebase.Analytics.analyticsCollectionEnabled = analyticsCollectionEnabled; + firebase.Analytics.screenName = screenName; + firebase.Analytics.userId = userId; + + const properties: firebase.AnalyticsProperties = {analyticsCollectionEnabled, screenName, userId}; + const partialProperties: firebase.AnalyticsProperties = {}; + firebase.Analytics.set(properties); + firebase.Analytics.set(partialProperties); + + // Methods + let thisReturnValue: firebase.Analytics; + const name = ''; + const property = ''; + + thisReturnValue = firebase.Analytics.set({analyticsCollectionEnabled, screenName, userId}); + firebase.Analytics.logEvent(name, {foo: property}); + firebase.Analytics.logEvent(name); + firebase.Analytics.setUserProperty(name, property); +} + +function testMessaging() { + // Properties + let instanceId: string; + let token: string; + let launchData: object; + + instanceId = firebase.Messaging.instanceId; + token = firebase.Messaging.token; + launchData = firebase.Messaging.launchData; + + // Methods + firebase.Messaging.resetInstanceId(); + + // Events + const target: firebase.Messaging = firebase.Messaging; + const timeStamp = 0; + const type = 'foo'; + const value = 'bar'; + const data: any = {}; + + const instanceIdChangedEvent: PropertyChangedEvent<firebase.Messaging, string> = {target, timeStamp, type, value}; + const tokenChangedEvent: PropertyChangedEvent<firebase.Messaging, string> = {target, timeStamp, type, value}; + const messageEvent: firebase.MessageEvent = {target, timeStamp, type, data}; + + firebase.Messaging.on({ + instanceIdChanged: (event: PropertyChangedEvent<firebase.Messaging, string>) => {}, + tokenChanged: (event: PropertyChangedEvent<firebase.Messaging, string>) => {}, + message: (event: firebase.MessageEvent) => {} + }); +} + +interface PropertyChangedEvent<T, U> { + readonly target: T; + readonly timeStamp: number; + readonly type: string; + readonly value: U; +} diff --git a/types/tabris-plugin-firebase/tsconfig.json b/types/tabris-plugin-firebase/tsconfig.json new file mode 100644 index 0000000000..38a1c8d42c --- /dev/null +++ b/types/tabris-plugin-firebase/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "tabris-plugin-firebase-tests.ts" + ] +} diff --git a/types/tabris-plugin-firebase/tslint.json b/types/tabris-plugin-firebase/tslint.json new file mode 100644 index 0000000000..4c4fc86ace --- /dev/null +++ b/types/tabris-plugin-firebase/tslint.json @@ -0,0 +1,6 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "strict-export-declare-modifiers": false + } +} From 66feddd421cd0b19f6d6d87295fa06aaab2b1e77 Mon Sep 17 00:00:00 2001 From: AbdulKareem Nalband <abdulkareemnalband@users.noreply.github.com> Date: Fri, 6 Oct 2017 23:34:47 +0530 Subject: [PATCH 177/433] fixes #19554 Office js function overloads for optional parameters (#20074) * fixes #19554 @OfficeDev * Fixed review changes removed unused parameter docs Removed no op overloads --- types/office-js/index.d.ts | 727 ++++++++++++++++++++++++++++--------- 1 file changed, 547 insertions(+), 180 deletions(-) diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index 252e8b4512..fef494614f 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -149,25 +149,43 @@ declare namespace Office { name: string; } export interface UI { + /** + * Displays a dialog to show or collect information from the user or to facilitate Web navigation. + * @param startAddress Accepts the initial HTTPS Url that opens in the dialog. + */ + displayDialogAsync(startAddress: string): void; + /** + * Displays a dialog to show or collect information from the user or to facilitate Web navigation. + * @param startAddress Accepts the initial HTTPS Url that opens in the dialog. + * @param options Optional. Accepts a DialogOptions object to define dialog behaviors. + */ + displayDialogAsync(startAddress: string, options: DialogOptions): void; + /** + * Displays a dialog to show or collect information from the user or to facilitate Web navigation. + * @param startAddress Accepts the initial HTTPS Url that opens in the dialog. + * @param callback Optional. Accepts a callback method to handle the dialog creation attempt. + */ + displayDialogAsync(startAddress: string, callback: (result: AsyncResult) => void): void; /** * Displays a dialog to show or collect information from the user or to facilitate Web navigation. * @param startAddress Accepts the initial HTTPS Url that opens in the dialog. * @param options Optional. Accepts a DialogOptions object to define dialog behaviors. * @param callback Optional. Accepts a callback method to handle the dialog creation attempt. */ - displayDialogAsync(startAddress: string, options?: DialogOptions, callback?: (result: AsyncResult) => void): void; + displayDialogAsync(startAddress: string, options: DialogOptions, callback: (result: AsyncResult) => void): void; + /** * Synchronously delivers a message from the dialog to its parent add-in. * @param messageObject Accepts a message from the dialog to deliver to the add-in. */ messageParent(messageObject: any): void; /** - * Closes the UI container where the JavaScript is executing. + * Closes the UI container where the JavaScript is executing. * The behavior of this method is specified by the following table. * When called from Behavior * A UI-less command button No effect. Any dialogs opened by displayDialogAsync will remain open. * A taskpane The taskpane will close. Any dialogs opened by displayDialogAsync will also close. If the taskpane supports pinning and was pinned by the user, it will be un-pinned. - * A module extension No effect. + * A module extension No effect. */ closeContainer(): void; } @@ -186,12 +204,18 @@ declare namespace Office { displayInIframe?: boolean } export interface Auth { + /** + * Obtains an access token from AAD V 2.0 endpoint to grant the Office host application access to the add-in's web application. + * @param callback Optional. Accepts a callback method to handle the token acquisition attempt. If AsyncResult.status is "succeeded", then AsyncResult.value is the raw AAD v. 2.0-formatted access token. + */ + getAccessTokenAsync(callback: (result: AsyncResult) => void): void; /** * Obtains an access token from AAD V 2.0 endpoint to grant the Office host application access to the add-in's web application. * @param options Optional. Accepts an AuthOptions object to define sign-on behaviors. * @param callback Optional. Accepts a callback method to handle the token acquisition attempt. If AsyncResult.status is "succeeded", then AsyncResult.value is the raw AAD v. 2.0-formatted access token. */ - getAccessTokenAsync(options?: AuthOptions, callback?: (result: AsyncResult) => void): void; + getAccessTokenAsync(options: AuthOptions, callback: (result: AsyncResult) => void): void; + } export interface AuthOptions { /** @@ -203,7 +227,7 @@ declare namespace Office { */ forceAddAccount?: boolean, /** - * Optional. Causes Office to prompt the user to provide the additional factor when the tenancy being targeted by Microsoft Graph requires multifactor authentication. The string value identifies the type of additional factor that is required. In most cases, you won't know at development time whether the user's tenant requires an additional factor or what the string should be. So this option would be used in a "second try" call of getAccessTokenAsync after Microsoft Graph has sent an error requesting the additional factor and containing the string that should be used with the authChallenge option. + * Optional. Causes Office to prompt the user to provide the additional factor when the tenancy being targeted by Microsoft Graph requires multifactor authentication. The string value identifies the type of additional factor that is required. In most cases, you won't know at development time whether the user's tenant requires an additional factor or what the string should be. So this option would be used in a "second try" call of getAccessTokenAsync after Microsoft Graph has sent an error requesting the additional factor and containing the string that should be used with the authChallenge option. */ authChallenge?: string /** @@ -1708,10 +1732,17 @@ declare namespace Office { /** * Returns the current body in a specified format * @param coercionType The format of the returned body - * @param options Any optional parameters or state data passed to the method - * @param The optional method to call when the getAsync method returns + * @param callback optional method to call when the getAsync method returns */ - getAsync(coercionType: CoercionType, options?: AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + getAsync(coercionType: CoercionType, callback: (result: AsyncResult) => void): void; + /** + * Returns the current body in a specified format + * @param coercionType The format of the returned body + * @param options Any optional parameters or state data passed to the method + * @param callback optional method to call when the getAsync method returns + */ + getAsync(coercionType: CoercionType, options: AsyncContextOptions, callback: (result: AsyncResult) => void): void; + /* * Gets a value that indicates whether the content is in HTML or text format * @param tableData A TableData object with the headers and rows @@ -1719,27 +1750,81 @@ declare namespace Office { * @param callback The optional method to call when the getTypeAsync method returns */ getTypeAsync(options?: AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + /** + * Adds the specified content to the beginning of the item body + * @param data The string to be inserted at the beginning of the body. The string is limited to 1,000,000 characters + */ + prependAsync(data: string): void; + /** + * Adds the specified content to the beginning of the item body + * @param data The string to be inserted at the beginning of the body. The string is limited to 1,000,000 characters + * @param options Any optional parameters or state data passed to the method + */ + prependAsync(data: string, options: AsyncContextOptions & CoercionTypeOptions): void; + /** + * Adds the specified content to the beginning of the item body + * @param data The string to be inserted at the beginning of the body. The string is limited to 1,000,000 characters + * @param callback The optional method to call when the string is inserted + */ + prependAsync(data: string, callback: (result: AsyncResult) => void): void; /** * Adds the specified content to the beginning of the item body * @param data The string to be inserted at the beginning of the body. The string is limited to 1,000,000 characters * @param options Any optional parameters or state data passed to the method * @param callback The optional method to call when the string is inserted */ - prependAsync(data: string, options?: AsyncContextOptions & CoercionTypeOptions, callback?: (result: AsyncResult) => void): void; + prependAsync(data: string, options: AsyncContextOptions & CoercionTypeOptions, callback: (result: AsyncResult) => void): void; + + /** + * Replaces the entire body with the specified text. + * @param data The string that will replace the existing body. The string is limited to 1,000,000 characters + */ + setAsync(data: string): void; + /** + * Replaces the entire body with the specified text. + * @param data The string that will replace the existing body. The string is limited to 1,000,000 characters + * @param options Any optional parameters or state data passed to the method + */ + setAsync(data: string, options: AsyncContextOptions & CoercionTypeOptions): void; + /** + * Replaces the entire body with the specified text. + * @param data The string that will replace the existing body. The string is limited to 1,000,000 characters + * @param callback the optional method to call when the body is replaced + */ + setAsync(data: string, callback: (result: AsyncResult) => void): void; /** * Replaces the entire body with the specified text. * @param data The string that will replace the existing body. The string is limited to 1,000,000 characters * @param options Any optional parameters or state data passed to the method * @param callback the optional method to call when the body is replaced */ - setAsync(data: string, options?: AsyncContextOptions & CoercionTypeOptions, callback?: (result: AsyncResult) => void): void; + setAsync(data: string, options: AsyncContextOptions & CoercionTypeOptions, callback: (result: AsyncResult) => void): void; + + /** + * Replaces the selection in the body with the specified text + * @param data The string to be inserted at the beginning of the body. The string is limited to 1,000,000 characters + */ + setSelectedDataAsync(data: string): void; + /** + * Replaces the selection in the body with the specified text + * @param data The string to be inserted at the beginning of the body. The string is limited to 1,000,000 characters + * @param options Any optional parameters or state data passed to the method + */ + setSelectedDataAsync(data: string, options: AsyncContextOptions & CoercionTypeOptions): void; + /** + * Replaces the selection in the body with the specified text + * @param data The string to be inserted at the beginning of the body. The string is limited to 1,000,000 characters + * @param callback The optional method to call when the string is inserted + */ + setSelectedDataAsync(data: string, callback: (result: AsyncResult) => void): void; /** * Replaces the selection in the body with the specified text * @param data The string to be inserted at the beginning of the body. The string is limited to 1,000,000 characters * @param options Any optional parameters or state data passed to the method * @param callback The optional method to call when the string is inserted */ - setSelectedDataAsync(data: string, options?: AsyncContextOptions & CoercionTypeOptions, callback?: (result: AsyncResult) => void): void; + setSelectedDataAsync(data: string, options: AsyncContextOptions & CoercionTypeOptions, callback: (result: AsyncResult) => void): void; + } export interface Contact { addresses: Array<string>; @@ -1820,6 +1905,26 @@ declare namespace Office { } export interface ItemCompose extends Item { subject: Subject; + /** + * Adds a file to a message as an attachment + * @param uri The URI that provides the location of the file to attach to the message. The maximum length is 2048 characters + * @param attachmentName The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters + */ + addFileAttachmentAsync(uri: string, attachmentName: string): void; + /** + * Adds a file to a message as an attachment + * @param uri The URI that provides the location of the file to attach to the message. The maximum length is 2048 characters + * @param attachmentName The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters + * @param options Any optional parameters or state data passed to the method + */ + addFileAttachmentAsync(uri: string, attachmentName: string, options: AsyncContextOptions): void; + /** + * Adds a file to a message as an attachment + * @param uri The URI that provides the location of the file to attach to the message. The maximum length is 2048 characters + * @param attachmentName The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters + * @param callback The optional callback method + */ + addFileAttachmentAsync(uri: string, attachmentName: string, callback: (result: AsyncResult) => void): void; /** * Adds a file to a message as an attachment * @param uri The URI that provides the location of the file to attach to the message. The maximum length is 2048 characters @@ -1827,7 +1932,28 @@ declare namespace Office { * @param options Any optional parameters or state data passed to the method * @param callback The optional callback method */ - addFileAttachmentAsync(uri: string, attachmentName: string, options?: AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + addFileAttachmentAsync(uri: string, attachmentName: string, options: AsyncContextOptions, callback: (result: AsyncResult) => void): void; + + /** + * Adds an Exchange item, such as a message, as an attachment to the message + * @param itemId The Exchange identifier of the item to attach. The maximum length is 100 characters + * @param attachmentName The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters + */ + addItemAttachmentAsync(itemId: any, attachmentName: string): void; + /** + * Adds an Exchange item, such as a message, as an attachment to the message + * @param itemId The Exchange identifier of the item to attach. The maximum length is 100 characters + * @param attachmentName The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters + * @param options Any optional parameters or state data passed to the method + */ + addItemAttachmentAsync(itemId: any, attachmentName: string, options: AsyncContextOptions): void; + /** + * Adds an Exchange item, such as a message, as an attachment to the message + * @param itemId The Exchange identifier of the item to attach. The maximum length is 100 characters + * @param attachmentName The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters + * @param callback The optional callback method + */ + addItemAttachmentAsync(itemId: any, attachmentName: string, callback: (result: AsyncResult) => void): void; /** * Adds an Exchange item, such as a message, as an attachment to the message * @param itemId The Exchange identifier of the item to attach. The maximum length is 100 characters @@ -1835,41 +1961,103 @@ declare namespace Office { * @param options Any optional parameters or state data passed to the method * @param callback The optional callback method */ - addItemAttachmentAsync(itemId: any, attachmentName: string, options?: AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + addItemAttachmentAsync(itemId: any, attachmentName: string, options: AsyncContextOptions, callback: (result: AsyncResult) => void): void; + /** * Closes the current item that is being composed - * + * * The behaviors of the close method depends on the current state of the item being composed. If the item has unsaved changes, the client * prompts the user to save, discard, or close the action. - * + * * In the Outlook desktop client, if the message is an inline reply, the close method has no effect. */ close(): void; /** * Asynchronously returns selected data from the subject or body of a message. - * + * * If there is no selection but the cursor is in the body or the subject, the method returns null for the selected data. If a field other * than the body or subject is selected, the method returns the InvalidSelection error */ - getSelectedDataAsync(coercionType: CoercionType, options?: AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + getSelectedDataAsync(coercionType: CoercionType, callback: (result: AsyncResult) => void): void; + /** + * Asynchronously returns selected data from the subject or body of a message. + * + * If there is no selection but the cursor is in the body or the subject, the method returns null for the selected data. If a field other + * than the body or subject is selected, the method returns the InvalidSelection error + */ + getSelectedDataAsync(coercionType: CoercionType, options: AsyncContextOptions, callback: (result: AsyncResult) => void): void; + + /** + * Removes an attachment from a message + * @param attachmentIndex The index of the attachment to remove. The maximum length of the string is 100 characters + */ + removeAttachmentAsync(attachmentIndex: string): void; + /** + * Removes an attachment from a message + * @param attachmentIndex The index of the attachment to remove. The maximum length of the string is 100 characters + * @param options Any optional parameters or state data passed to the method + */ + removeAttachmentAsync(attachmentIndex: string, options: AsyncContextOptions): void; + /** + * Removes an attachment from a message + * @param attachmentIndex The index of the attachment to remove. The maximum length of the string is 100 characters + * @param callback The optional callback method + */ + removeAttachmentAsync(attachmentIndex: string, callback: (result: AsyncResult) => void): void; /** * Removes an attachment from a message * @param attachmentIndex The index of the attachment to remove. The maximum length of the string is 100 characters * @param options Any optional parameters or state data passed to the method * @param callback The optional callback method */ - removeAttachmentAsync(attachmentIndex: string, options?: AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + removeAttachmentAsync(attachmentIndex: string, options: AsyncContextOptions, callback: (result: AsyncResult) => void): void; + /** * Asynchronously saves an item. - * - * When invoked, this method saves the current message as a draft and returns the item id via the callback method. In Outlook Web App or + * + * When invoked, this method saves the current message as a draft and returns the item id via the callback method. In Outlook Web App or * Outlook in online mode, the item is saved to the server. In Outlook in cached mode, the item is saved to the local cache. */ - saveAsync(options?: AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + saveAsync(): void; + /** + * Asynchronously saves an item. + * + * When invoked, this method saves the current message as a draft and returns the item id via the callback method. In Outlook Web App or + * Outlook in online mode, the item is saved to the server. In Outlook in cached mode, the item is saved to the local cache. + */ + saveAsync(options: AsyncContextOptions): void; + /** + * Asynchronously saves an item. + * + * When invoked, this method saves the current message as a draft and returns the item id via the callback method. In Outlook Web App or + * Outlook in online mode, the item is saved to the server. In Outlook in cached mode, the item is saved to the local cache. + */ + saveAsync(callback: (result: AsyncResult) => void): void; + /** + * Asynchronously saves an item. + * + * When invoked, this method saves the current message as a draft and returns the item id via the callback method. In Outlook Web App or + * Outlook in online mode, the item is saved to the server. In Outlook in cached mode, the item is saved to the local cache. + */ + saveAsync(options: AsyncContextOptions, callback: (result: AsyncResult) => void): void; + /** * Asynchronously inserts data into the body or subject of a message. */ - setSelectedDataAsync(data: string, options?: AsyncContextOptions & CoercionTypeOptions, callback?: (result: AsyncResult) => void): void; + setSelectedDataAsync(data: string): void; + /** + * Asynchronously inserts data into the body or subject of a message. + */ + setSelectedDataAsync(data: string, options: AsyncContextOptions & CoercionTypeOptions): void; + /** + * Asynchronously inserts data into the body or subject of a message. + */ + setSelectedDataAsync(data: string, callback: (result: AsyncResult) => void): void; + /** + * Asynchronously inserts data into the body or subject of a message. + */ + setSelectedDataAsync(data: string, options: AsyncContextOptions & CoercionTypeOptions, callback: (result: AsyncResult) => void): void; + } export interface ItemRead extends Item { attachments: Array<AttachmentDetails>; @@ -1879,14 +2067,14 @@ declare namespace Office { subject: string; /** * Displays a reply form that includes the sender and all the recipients of the selected message - * @param formData A string that contains text and HTML and that represents the body of the reply form. The string is limited to 32 KB + * @param formData A string that contains text and HTML and that represents the body of the reply form. The string is limited to 32 KB * OR * An object that contains body or attachment data and a callback function */ displayReplyAllForm(formData: string | ReplyFormData): void; /** * Displays a reply form that includes only the sender of the selected message - * @param formData A string that contains text and HTML and that represents the body of the reply form. The string is limited to 32 KB + * @param formData A string that contains text and HTML and that represents the body of the reply form. The string is limited to 32 KB * OR * An object that contains body or attachment data and a callback function */ @@ -1925,19 +2113,43 @@ declare namespace Office { timezoneOffset: number; } export interface Location { + /** + * Begins an asynchronous request for the location of an appointment + * @param callback The optional method to call when the string is inserted + */ + getAsync(callback: (result: AsyncResult) => void): void; /** * Begins an asynchronous request for the location of an appointment * @param options Any optional parameters or state data passed to the method * @param callback The optional method to call when the string is inserted */ - getAsync(options?: AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + getAsync(options: AsyncContextOptions, callback: (result: AsyncResult) => void): void; + + /** + * Begins an asynchronous request to set the location of an appointment + * @param data The location of the appointment. The string is limited to 255 characters + */ + setAsync(location: string): void; + /** + * Begins an asynchronous request to set the location of an appointment + * @param data The location of the appointment. The string is limited to 255 characters + * @param options Any optional parameters or state data passed to the method + */ + setAsync(location: string, options: AsyncContextOptions): void; + /** + * Begins an asynchronous request to set the location of an appointment + * @param data The location of the appointment. The string is limited to 255 characters + * @param callback The optional method to call when the location is set + */ + setAsync(location: string, callback: (result: AsyncResult) => void): void; /** * Begins an asynchronous request to set the location of an appointment * @param data The location of the appointment. The string is limited to 255 characters * @param options Any optional parameters or state data passed to the method * @param callback The optional method to call when the location is set */ - setAsync(location: string, options?: AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + setAsync(location: string, options: AsyncContextOptions, callback: (result: AsyncResult) => void): void; + } export interface Mailbox { diagnostics: Diagnostics; @@ -2046,6 +2258,26 @@ declare namespace Office { persistent?: Boolean; } export interface NotificationMessages { + /** + * Adds a notification to an item + * @param key A developer-specified key used to refrence this notification message. Developers can use it to modify this message later. + * @param JSONmessage A JSON object that contains the notification message to be added to this item + */ + addAsync(key: string, JSONmessage: NotificationMessageDetails): void; + /** + * Adds a notification to an item + * @param key A developer-specified key used to refrence this notification message. Developers can use it to modify this message later. + * @param JSONmessage A JSON object that contains the notification message to be added to this item + * @param options Any optional parameters or state data passed to the method + */ + addAsync(key: string, JSONmessage: NotificationMessageDetails, options: AsyncContextOptions): void; + /** + * Adds a notification to an item + * @param key A developer-specified key used to refrence this notification message. Developers can use it to modify this message later. + * @param JSONmessage A JSON object that contains the notification message to be added to this item + * @param callback The optional callback method + */ + addAsync(key: string, JSONmessage: NotificationMessageDetails, callback: (result: AsyncResult) => void): void; /** * Adds a notification to an item * @param key A developer-specified key used to refrence this notification message. Developers can use it to modify this message later. @@ -2053,20 +2285,65 @@ declare namespace Office { * @param options Any optional parameters or state data passed to the method * @param callback The optional callback method */ - addAsync(key: string, JSONmessage: NotificationMessageDetails, options?: AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + addAsync(key: string, JSONmessage: NotificationMessageDetails, options: AsyncContextOptions, callback: (result: AsyncResult) => void): void; + + /** + * Returns all keys and messages for an item. + * @param callback The optional callback method + */ + getAllAsync(callback: (result: AsyncResult) => void): void; /** * Returns all keys and messages for an item. * @param options Any optional parameters or state data passed to the method * @param callback The optional callback method */ - getAllAsync(options?: AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + getAllAsync(options: AsyncContextOptions, callback: (result: AsyncResult) => void): void; + + /** + * Removes a notification message for an item. + * @param key The key for the notification message to remove + */ + removeAsync(key: string): void; + /** + * Removes a notification message for an item. + * @param key The key for the notification message to remove + * @param options Any optional parameters or state data passed to the method + */ + removeAsync(key: string, options: AsyncContextOptions): void; + /** + * Removes a notification message for an item. + * @param key The key for the notification message to remove + * @param callback The optional callback method + */ + removeAsync(key: string, callback: (result: AsyncResult) => void): void; /** * Removes a notification message for an item. * @param key The key for the notification message to remove * @param options Any optional parameters or state data passed to the method * @param callback The optional callback method */ - removeAsync(key: string, options?: AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + removeAsync(key: string, options: AsyncContextOptions, callback: (result: AsyncResult) => void): void; + + /** + * Replaces a notification message that has a given key with another message + * @param key The key for the notification message to replace. + * @param JSONmessage A JSON object that contains the new notification message to replace the existing message + */ + replaceAsync(key: string, JSONmessage: NotificationMessageDetails): void; + /** + * Replaces a notification message that has a given key with another message + * @param key The key for the notification message to replace. + * @param JSONmessage A JSON object that contains the new notification message to replace the existing message + * @param options Any optional parameters or state data passed to the method + */ + replaceAsync(key: string, JSONmessage: NotificationMessageDetails, options: AsyncContextOptions): void; + /** + * Replaces a notification message that has a given key with another message + * @param key The key for the notification message to replace. + * @param JSONmessage A JSON object that contains the new notification message to replace the existing message + * @param callback The optional callback method + */ + replaceAsync(key: string, JSONmessage: NotificationMessageDetails, callback: (result: AsyncResult) => void): void; /** * Replaces a notification message that has a given key with another message * @param key The key for the notification message to replace. @@ -2074,7 +2351,8 @@ declare namespace Office { * @param options Any optional parameters or state data passed to the method * @param callback The optional callback method */ - replaceAsync(key: string, JSONmessage: NotificationMessageDetails, options?: AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + replaceAsync(key: string, JSONmessage: NotificationMessageDetails, options: AsyncContextOptions, callback: (result: AsyncResult) => void): void; + } export interface PhoneNumber { phoneString: string; @@ -2082,26 +2360,67 @@ declare namespace Office { type: string; } export interface Recipients { + /** + * Begins an asynchronous request to add a recipient list to an appointment or message + * @param recipients The recipients to add to the recipients list + */ + addAsync(recipients: Array<string | EmailUser | EmailAddressDetails>): void; + /** + * Begins an asynchronous request to add a recipient list to an appointment or message + * @param recipients The recipients to add to the recipients list + * @param options Any optional parameters or state data passed to the method + */ + addAsync(recipients: Array<string | EmailUser | EmailAddressDetails>, options: AsyncContextOptions): void; + /** + * Begins an asynchronous request to add a recipient list to an appointment or message + * @param recipients The recipients to add to the recipients list + * @param callback The optional method to call when the string is inserted + */ + addAsync(recipients: Array<string | EmailUser | EmailAddressDetails>, callback: (result: AsyncResult) => void): void; /** * Begins an asynchronous request to add a recipient list to an appointment or message * @param recipients The recipients to add to the recipients list * @param options Any optional parameters or state data passed to the method * @param callback The optional method to call when the string is inserted */ - addAsync(recipients: Array<string | EmailUser | EmailAddressDetails>, options?: AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + addAsync(recipients: Array<string | EmailUser | EmailAddressDetails>, options: AsyncContextOptions, callback: (result: AsyncResult) => void): void; + /** + * Begins an asynchronous request to get the recipient list for an appointment or message + * @param callback The optional method to call when the string is inserted + */ + getAsync(callback: (result: AsyncResult) => void): void; /** * Begins an asynchronous request to get the recipient list for an appointment or message * @param options Any optional parameters or state data passed to the method * @param callback The optional method to call when the string is inserted */ - getAsync(options?: AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + getAsync(options: AsyncContextOptions, callback: (result: AsyncResult) => void): void; + + /** + * Begins an asynchronous request to set the recipient list for an appointment or message + * @param recipients The recipients to add to the recipients list + */ + setAsync(recipients: Array<string | EmailUser | EmailAddressDetails>): void; + /** + * Begins an asynchronous request to set the recipient list for an appointment or message + * @param recipients The recipients to add to the recipients list + * @param options Any optional parameters or state data passed to the method + */ + setAsync(recipients: Array<string | EmailUser | EmailAddressDetails>, options: AsyncContextOptions): void; + /** + * Begins an asynchronous request to set the recipient list for an appointment or message + * @param recipients The recipients to add to the recipients list + * @param callback The optional method to call when the string is inserted + */ + setAsync(recipients: Array<string | EmailUser | EmailAddressDetails>, callback: (result: AsyncResult) => void): void; /** * Begins an asynchronous request to set the recipient list for an appointment or message * @param recipients The recipients to add to the recipients list * @param options Any optional parameters or state data passed to the method * @param callback The optional method to call when the string is inserted */ - setAsync(recipients: Array<string | EmailUser | EmailAddressDetails>, options?: AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + setAsync(recipients: Array<string | EmailUser | EmailAddressDetails>, options: AsyncContextOptions, callback: (result: AsyncResult) => void): void; + } export interface ReplyFormAttachment { type: string; @@ -2138,38 +2457,86 @@ declare namespace Office { set(name: string, value: any): void; } export interface Subject { + /** + * Begins an asynchronous request to get the subject of an appointment or message + * @param callback The optional method to call when the string is inserted + */ + getAsync(callback: (result: AsyncResult) => void): void; /** * Begins an asynchronous request to get the subject of an appointment or message * @param options Any optional parameters or state data passed to the method * @param callback The optional method to call when the string is inserted */ - getAsync(options?: AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + getAsync(options: AsyncContextOptions, callback: (result: AsyncResult) => void): void; + + /** + * Begins an asynchronous call to set the subject of an appointment or message + * @param data The subject of the appointment. The string is limited to 255 characters + */ + setAsync(data: string): void; + /** + * Begins an asynchronous call to set the subject of an appointment or message + * @param data The subject of the appointment. The string is limited to 255 characters + * @param options Any optional parameters or state data passed to the method + */ + setAsync(data: string, options: AsyncContextOptions): void; + /** + * Begins an asynchronous call to set the subject of an appointment or message + * @param data The subject of the appointment. The string is limited to 255 characters + * @param callback The optional method to call when the string is inserted + */ + setAsync(data: string, callback: (result: AsyncResult) => void): void; /** * Begins an asynchronous call to set the subject of an appointment or message * @param data The subject of the appointment. The string is limited to 255 characters * @param options Any optional parameters or state data passed to the method * @param callback The optional method to call when the string is inserted */ - setAsync(data: string, options?: AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + setAsync(data: string, options: AsyncContextOptions, callback: (result: AsyncResult) => void): void; + } export interface TaskSuggestion { assignees: Array<EmailUser>; taskString: string; } export interface Time { + /** + * Begins an asynchronous request to get the start or end time + * @param callback The optional method to call when the string is inserted + */ + getAsync(callback: (result: AsyncResult) => void): void; /** * Begins an asynchronous request to get the start or end time * @param options Any optional parameters or state data passed to the method * @param callback The optional method to call when the string is inserted */ - getAsync(options?: AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + getAsync(options: AsyncContextOptions, callback: (result: AsyncResult) => void): void; + + /** + * Begins an asynchronous request to set the start or end time + * @param dateTime A date-time object in Coordinated Universal Time (UTC) + */ + setAsync(dateTime: Date): void; + /** + * Begins an asynchronous request to set the start or end time + * @param dateTime A date-time object in Coordinated Universal Time (UTC) + * @param options Any optional parameters or state data passed to the method + */ + setAsync(dateTime: Date, options: AsyncContextOptions): void; + /** + * Begins an asynchronous request to set the start or end time + * @param dateTime A date-time object in Coordinated Universal Time (UTC) + * @param callback The optional method to call when the string is inserted + */ + setAsync(dateTime: Date, callback: (result: AsyncResult) => void): void; /** * Begins an asynchronous request to set the start or end time * @param dateTime A date-time object in Coordinated Universal Time (UTC) * @param options Any optional parameters or state data passed to the method * @param callback The optional method to call when the string is inserted */ - setAsync(dateTime: Date, options?: AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + setAsync(dateTime: Date, options: AsyncContextOptions, callback: (result: AsyncResult) => void): void; + } export interface UserProfile { displayName: string; @@ -2194,108 +2561,108 @@ declare namespace Office { //////////////////////////////////////////////////////////////// declare namespace OfficeExtension { - /** An abstract proxy object that represents an object in an Office document. You create proxy objects from the context (or from other proxy objects), add commands to a queue to act on the object, and then synchronize the proxy object state with the document by calling "context.sync()". */ - class ClientObject { - /** The request context associated with the object */ - context: ClientRequestContext; - /** Returns a boolean value for whether the corresponding object is a null object. You must call "context.sync()" before reading the isNullObject property. */ - isNullObject: boolean; - } + /** An abstract proxy object that represents an object in an Office document. You create proxy objects from the context (or from other proxy objects), add commands to a queue to act on the object, and then synchronize the proxy object state with the document by calling "context.sync()". */ + class ClientObject { + /** The request context associated with the object */ + context: ClientRequestContext; + /** Returns a boolean value for whether the corresponding object is a null object. You must call "context.sync()" before reading the isNullObject property. */ + isNullObject: boolean; + } } declare namespace OfficeExtension { - interface LoadOption { - select?: string | string[]; - expand?: string | string[]; - top?: number; - skip?: number; - } - /** An abstract RequestContext object that facilitates requests to the host Office application. The "Excel.run" and "Word.run" methods provide a request context. */ - class ClientRequestContext { - constructor(url?: string); + interface LoadOption { + select?: string | string[]; + expand?: string | string[]; + top?: number; + skip?: number; + } + /** An abstract RequestContext object that facilitates requests to the host Office application. The "Excel.run" and "Word.run" methods provide a request context. */ + class ClientRequestContext { + constructor(url?: string); - /** Collection of objects that are tracked for automatic adjustments based on surrounding changes in the document. */ - trackedObjects: TrackedObjects; + /** Collection of objects that are tracked for automatic adjustments based on surrounding changes in the document. */ + trackedObjects: TrackedObjects; - /** Request headers */ - requestHeaders: { [name: string]: string }; + /** Request headers */ + requestHeaders: { [name: string]: string }; - /** Queues up a command to load the specified properties of the object. You must call "context.sync()" before reading the properties. */ - load(object: ClientObject, option?: string | string[]| LoadOption): void; + /** Queues up a command to load the specified properties of the object. You must call "context.sync()" before reading the properties. */ + load(object: ClientObject, option?: string | string[] | LoadOption): void; /** * Queues up a command to recursively load the specified properties of the object and its navigation properties. * You must call "context.sync()" before reading the properties. - * + * * @param object The object to be loaded. * @param options The key-value pairing of load options for the types, such as { "Workbook": "worksheets,tables", "Worksheet": "tables", "Tables": "name" } * @param maxDepth The maximum recursive depth. */ - loadRecursive(object: ClientObject, options: { [typeName: string]: string | string[] | LoadOption }, maxDepth?: number): void; + loadRecursive(object: ClientObject, options: { [typeName: string]: string | string[] | LoadOption }, maxDepth?: number): void; - /** Adds a trace message to the queue. If the promise returned by "context.sync()" is rejected due to an error, this adds a ".traceMessages" array to the OfficeExtension.Error object, containing all trace messages that were executed. These messages can help you monitor the program execution sequence and detect the cause of the error. */ - trace(message: string): void; + /** Adds a trace message to the queue. If the promise returned by "context.sync()" is rejected due to an error, this adds a ".traceMessages" array to the OfficeExtension.Error object, containing all trace messages that were executed. These messages can help you monitor the program execution sequence and detect the cause of the error. */ + trace(message: string): void; - /** Synchronizes the state between JavaScript proxy objects and the Office document, by executing instructions queued on the request context and retrieving properties of loaded Office objects for use in your code.�This method returns a promise, which is resolved when the synchronization is complete. */ - sync<T>(passThroughValue?: T): IPromise<T>; - } + /** Synchronizes the state between JavaScript proxy objects and the Office document, by executing instructions queued on the request context and retrieving properties of loaded Office objects for use in your code.�This method returns a promise, which is resolved when the synchronization is complete. */ + sync<T>(passThroughValue?: T): IPromise<T>; + } } declare namespace OfficeExtension { - /** Contains the result for methods that return primitive types. The object's value property is retrieved from the document after "context.sync()" is invoked. */ - class ClientResult<T> { - /** The value of the result that is retrieved from the document after "context.sync()" is invoked. */ - value: T; - } + /** Contains the result for methods that return primitive types. The object's value property is retrieved from the document after "context.sync()" is invoked. */ + class ClientResult<T> { + /** The value of the result that is retrieved from the document after "context.sync()" is invoked. */ + value: T; + } } declare namespace OfficeExtension { - export interface DebugInfo { - /** Error code string, such as "InvalidArgument". */ - code: string; - /** The error message passed through from the host Office application. */ - message: string; - /** Inner error, if applicable. */ - innerError?: DebugInfo | string; + export interface DebugInfo { + /** Error code string, such as "InvalidArgument". */ + code: string; + /** The error message passed through from the host Office application. */ + message: string; + /** Inner error, if applicable. */ + innerError?: DebugInfo | string; - /** The object type and property or method name (or similar information), if available. */ - errorLocation?: string - } + /** The object type and property or method name (or similar information), if available. */ + errorLocation?: string + } - /** The error object returned by "context.sync()", if a promise is rejected due to an error while processing the request. */ - class Error { - /** Error name: "OfficeExtension.Error".*/ - name: string; - /** The error message passed through from the host Office application. */ - message: string; - /** Stack trace, if applicable. */ - stack: string; - /** Error code string, such as "InvalidArgument". */ - code: string; - /** Trace messages (if any) that were added via a "context.trace()" invocation before calling "context.sync()". If there was an error, this contains all trace messages that were executed before the error occurred. These messages can help you monitor the program execution sequence and detect the case of the error. */ - traceMessages: Array<string>; - /** Debug info (useful for detailed logging of the error, i.e., via JSON.stringify(...)). */ - debugInfo: DebugInfo; - /** Inner error, if applicable. */ - innerError: Error; - } + /** The error object returned by "context.sync()", if a promise is rejected due to an error while processing the request. */ + class Error { + /** Error name: "OfficeExtension.Error".*/ + name: string; + /** The error message passed through from the host Office application. */ + message: string; + /** Stack trace, if applicable. */ + stack: string; + /** Error code string, such as "InvalidArgument". */ + code: string; + /** Trace messages (if any) that were added via a "context.trace()" invocation before calling "context.sync()". If there was an error, this contains all trace messages that were executed before the error occurred. These messages can help you monitor the program execution sequence and detect the case of the error. */ + traceMessages: Array<string>; + /** Debug info (useful for detailed logging of the error, i.e., via JSON.stringify(...)). */ + debugInfo: DebugInfo; + /** Inner error, if applicable. */ + innerError: Error; + } } declare namespace OfficeExtension { - class ErrorCodes { - public static accessDenied: string; - public static generalException: string; - public static activityLimitReached: string; - public static invalidObjectPath: string; - public static propertyNotLoaded: string; - public static valueNotLoaded: string; - public static invalidRequestContext: string; - public static invalidArgument: string; - public static runMustReturnPromise: string; - public static cannotRegisterEvent: string; - public static apiNotFound: string; - public static connectionFailure: string; - } + class ErrorCodes { + public static accessDenied: string; + public static generalException: string; + public static activityLimitReached: string; + public static invalidObjectPath: string; + public static propertyNotLoaded: string; + public static valueNotLoaded: string; + public static invalidRequestContext: string; + public static invalidArgument: string; + public static runMustReturnPromise: string; + public static cannotRegisterEvent: string; + public static apiNotFound: string; + public static connectionFailure: string; + } } declare namespace OfficeExtension { - /** An IPromise object that represents a deferred interaction with the host Office application. */ - interface IPromise<R> { + /** An IPromise object that represents a deferred interaction with the host Office application. */ + interface IPromise<R> { /** * This method will be called once the previous promise has been resolved. * Both the onFulfilled on onRejected callbacks are optional. @@ -2303,7 +2670,7 @@ declare namespace OfficeExtension { * @returns A new promise for the value or error that was returned from onFulfilled/onRejected. */ - then<U>(onFulfilled?: (value: R) => IPromise<U>, onRejected?: (error: any) => IPromise<U>): IPromise<U>; + then<U>(onFulfilled?: (value: R) => IPromise<U>, onRejected?: (error: any) => IPromise<U>): IPromise<U>; /** * This method will be called once the previous promise has been resolved. @@ -2312,7 +2679,7 @@ declare namespace OfficeExtension { * @returns A new promise for the value or error that was returned from onFulfilled/onRejected. */ - then<U>(onFulfilled?: (value: R) => IPromise<U>, onRejected?: (error: any) => U): IPromise<U>; + then<U>(onFulfilled?: (value: R) => IPromise<U>, onRejected?: (error: any) => U): IPromise<U>; /** * This method will be called once the previous promise has been resolved. @@ -2321,7 +2688,7 @@ declare namespace OfficeExtension { * @returns A new promise for the value or error that was returned from onFulfilled/onRejected. */ - then<U>(onFulfilled?: (value: R) => IPromise<U>, onRejected?: (error: any) => void): IPromise<U>; + then<U>(onFulfilled?: (value: R) => IPromise<U>, onRejected?: (error: any) => void): IPromise<U>; /** * This method will be called once the previous promise has been resolved. @@ -2330,7 +2697,7 @@ declare namespace OfficeExtension { * @returns A new promise for the value or error that was returned from onFulfilled/onRejected. */ - then<U>(onFulfilled?: (value: R) => U, onRejected?: (error: any) => IPromise<U>): IPromise<U>; + then<U>(onFulfilled?: (value: R) => U, onRejected?: (error: any) => IPromise<U>): IPromise<U>; /** * This method will be called once the previous promise has been resolved. @@ -2339,7 +2706,7 @@ declare namespace OfficeExtension { * @returns A new promise for the value or error that was returned from onFulfilled/onRejected. */ - then<U>(onFulfilled?: (value: R) => U, onRejected?: (error: any) => U): IPromise<U>; + then<U>(onFulfilled?: (value: R) => U, onRejected?: (error: any) => U): IPromise<U>; /** * This method will be called once the previous promise has been resolved. @@ -2348,50 +2715,50 @@ declare namespace OfficeExtension { * @returns A new promise for the value or error that was returned from onFulfilled/onRejected. */ - then<U>(onFulfilled?: (value: R) => U, onRejected?: (error: any) => void): IPromise<U>; + then<U>(onFulfilled?: (value: R) => U, onRejected?: (error: any) => void): IPromise<U>; /** * Catches failures or exceptions from actions within the promise, or from an unhandled exception earlier in the call stack. * @param onRejected function to be called if or when the promise rejects. */ - catch<U>(onRejected?: (error: any) => IPromise<U>): IPromise<U>; + catch<U>(onRejected?: (error: any) => IPromise<U>): IPromise<U>; /** * Catches failures or exceptions from actions within the promise, or from an unhandled exception earlier in the call stack. * @param onRejected function to be called if or when the promise rejects. */ - catch<U>(onRejected?: (error: any) => U): IPromise<U>; + catch<U>(onRejected?: (error: any) => U): IPromise<U>; /** * Catches failures or exceptions from actions within the promise, or from an unhandled exception earlier in the call stack. * @param onRejected function to be called if or when the promise rejects. */ - catch<U>(onRejected?: (error: any) => void): IPromise<U>; - } + catch<U>(onRejected?: (error: any) => void): IPromise<U>; + } - /** An Promise object that represents a deferred interaction with the host Office application. The publically-consumable OfficeExtension.Promise is available starting in ExcelApi 1.2 and WordApi 1.2. Promises can be chained via ".then", and errors can be caught via ".catch". Remember to always use a ".catch" on the outer promise, and to return intermediary promises so as not to break the promise chain. When a "native" Promise implementation is available, OfficeExtension.Promise will switch to use the native Promise instead. */ - export class Promise<R> implements IPromise<R> - { + /** An Promise object that represents a deferred interaction with the host Office application. The publically-consumable OfficeExtension.Promise is available starting in ExcelApi 1.2 and WordApi 1.2. Promises can be chained via ".then", and errors can be caught via ".catch". Remember to always use a ".catch" on the outer promise, and to return intermediary promises so as not to break the promise chain. When a "native" Promise implementation is available, OfficeExtension.Promise will switch to use the native Promise instead. */ + export class Promise<R> implements IPromise<R> + { /** * Creates a new promise based on a function that accepts resolve and reject handlers. */ - constructor(func: (resolve: (value?: R | IPromise<R>) => void, reject: (error?: any) => void) => void); + constructor(func: (resolve: (value?: R | IPromise<R>) => void, reject: (error?: any) => void) => void); /** * Creates a promise that resolves when all of the child promises resolve. */ - static all<U>(promises: OfficeExtension.IPromise<U>[]): IPromise<U[]>; + static all<U>(promises: OfficeExtension.IPromise<U>[]): IPromise<U[]>; /** * Creates a promise that is resolved. */ - static resolve<U>(value: U): IPromise<U>; + static resolve<U>(value: U): IPromise<U>; /** * Creates a promise that is rejected. */ - static reject<U>(error: any): IPromise<U>; + static reject<U>(error: any): IPromise<U>; /* This method will be called once the previous promise has been resolved. * Both the onFulfilled on onRejected callbacks are optional. @@ -2399,7 +2766,7 @@ declare namespace OfficeExtension { * @returns A new promise for the value or error that was returned from onFulfilled/onRejected. */ - then<U>(onFulfilled?: (value: R) => IPromise<U>, onRejected?: (error: any) => IPromise<U>): IPromise<U>; + then<U>(onFulfilled?: (value: R) => IPromise<U>, onRejected?: (error: any) => IPromise<U>): IPromise<U>; /** * This method will be called once the previous promise has been resolved. @@ -2408,7 +2775,7 @@ declare namespace OfficeExtension { * @returns A new promise for the value or error that was returned from onFulfilled/onRejected. */ - then<U>(onFulfilled?: (value: R) => IPromise<U>, onRejected?: (error: any) => U): IPromise<U>; + then<U>(onFulfilled?: (value: R) => IPromise<U>, onRejected?: (error: any) => U): IPromise<U>; /** * This method will be called once the previous promise has been resolved. @@ -2417,7 +2784,7 @@ declare namespace OfficeExtension { * @returns A new promise for the value or error that was returned from onFulfilled/onRejected. */ - then<U>(onFulfilled?: (value: R) => IPromise<U>, onRejected?: (error: any) => void): IPromise<U>; + then<U>(onFulfilled?: (value: R) => IPromise<U>, onRejected?: (error: any) => void): IPromise<U>; /** * This method will be called once the previous promise has been resolved. @@ -2426,7 +2793,7 @@ declare namespace OfficeExtension { * @returns A new promise for the value or error that was returned from onFulfilled/onRejected. */ - then<U>(onFulfilled?: (value: R) => U, onRejected?: (error: any) => IPromise<U>): IPromise<U>; + then<U>(onFulfilled?: (value: R) => U, onRejected?: (error: any) => IPromise<U>): IPromise<U>; /** * This method will be called once the previous promise has been resolved. @@ -2435,7 +2802,7 @@ declare namespace OfficeExtension { * @returns A new promise for the value or error that was returned from onFulfilled/onRejected. */ - then<U>(onFulfilled?: (value: R) => U, onRejected?: (error: any) => U): IPromise<U>; + then<U>(onFulfilled?: (value: R) => U, onRejected?: (error: any) => U): IPromise<U>; /** * This method will be called once the previous promise has been resolved. @@ -2444,73 +2811,73 @@ declare namespace OfficeExtension { * @returns A new promise for the value or error that was returned from onFulfilled/onRejected. */ - then<U>(onFulfilled?: (value: R) => U, onRejected?: (error: any) => void): IPromise<U>; + then<U>(onFulfilled?: (value: R) => U, onRejected?: (error: any) => void): IPromise<U>; /** * Catches failures or exceptions from actions within the promise, or from an unhandled exception earlier in the call stack. * @param onRejected function to be called if or when the promise rejects. */ - catch<U>(onRejected?: (error: any) => IPromise<U>): IPromise<U>; + catch<U>(onRejected?: (error: any) => IPromise<U>): IPromise<U>; /** * Catches failures or exceptions from actions within the promise, or from an unhandled exception earlier in the call stack. * @param onRejected function to be called if or when the promise rejects. */ - catch<U>(onRejected?: (error: any) => U): IPromise<U>; + catch<U>(onRejected?: (error: any) => U): IPromise<U>; /** * Catches failures or exceptions from actions within the promise, or from an unhandled exception earlier in the call stack. * @param onRejected function to be called if or when the promise rejects. */ - catch<U>(onRejected?: (error: any) => void): IPromise<U>; - } + catch<U>(onRejected?: (error: any) => void): IPromise<U>; + } } declare namespace OfficeExtension { - /** Collection of tracked objects, contained within a request context. See "context.trackedObjects" for more information. */ - class TrackedObjects { - /** Track a new object for automatic adjustment based on surrounding changes in the document. Only some object types require this. If you are using an object across ".sync" calls and outside the sequential execution of a ".run" batch, and get an "InvalidObjectPath" error when setting a property or invoking a method on the object, you needed to have added the object to the tracked object collection when the object was first created. */ - add(object: ClientObject): void; - /** Track a new object for automatic adjustment based on surrounding changes in the document. Only some object types require this. If you are using an object across ".sync" calls and outside the sequential execution of a ".run" batch, and get an "InvalidObjectPath" error when setting a property or invoking a method on the object, you needed to have added the object to the tracked object collection when the object was first created. */ - add(objects: ClientObject[]): void; - /** Release the memory associated with an object that was previously added to this collection. Having many tracked objects slows down the host application, so please remember to free any objects you add, once you're done using them. You will need to call "context.sync()" before the memory release takes effect. */ - remove(object: ClientObject): void; - /** Release the memory associated with an object that was previously added to this collection. Having many tracked objects slows down the host application, so please remember to free any objects you add, once you're done using them. You will need to call "context.sync()" before the memory release takes effect. */ - remove(objects: ClientObject[]): void; - } + /** Collection of tracked objects, contained within a request context. See "context.trackedObjects" for more information. */ + class TrackedObjects { + /** Track a new object for automatic adjustment based on surrounding changes in the document. Only some object types require this. If you are using an object across ".sync" calls and outside the sequential execution of a ".run" batch, and get an "InvalidObjectPath" error when setting a property or invoking a method on the object, you needed to have added the object to the tracked object collection when the object was first created. */ + add(object: ClientObject): void; + /** Track a new object for automatic adjustment based on surrounding changes in the document. Only some object types require this. If you are using an object across ".sync" calls and outside the sequential execution of a ".run" batch, and get an "InvalidObjectPath" error when setting a property or invoking a method on the object, you needed to have added the object to the tracked object collection when the object was first created. */ + add(objects: ClientObject[]): void; + /** Release the memory associated with an object that was previously added to this collection. Having many tracked objects slows down the host application, so please remember to free any objects you add, once you're done using them. You will need to call "context.sync()" before the memory release takes effect. */ + remove(object: ClientObject): void; + /** Release the memory associated with an object that was previously added to this collection. Having many tracked objects slows down the host application, so please remember to free any objects you add, once you're done using them. You will need to call "context.sync()" before the memory release takes effect. */ + remove(objects: ClientObject[]): void; + } } declare namespace OfficeExtension { - export class EventHandlers<T> { - constructor(context: ClientRequestContext, parentObject: ClientObject, name: string, eventInfo: EventInfo<T>); - add(handler: (args: T) => IPromise<any>): EventHandlerResult<T>; - remove(handler: (args: T) => IPromise<any>): void; - } + export class EventHandlers<T> { + constructor(context: ClientRequestContext, parentObject: ClientObject, name: string, eventInfo: EventInfo<T>); + add(handler: (args: T) => IPromise<any>): EventHandlerResult<T>; + remove(handler: (args: T) => IPromise<any>): void; + } - export class EventHandlerResult<T> { - constructor(context: ClientRequestContext, handlers: EventHandlers<T>, handler: (args: T) => IPromise<any>); - remove(): void; - } + export class EventHandlerResult<T> { + constructor(context: ClientRequestContext, handlers: EventHandlers<T>, handler: (args: T) => IPromise<any>); + remove(): void; + } - export interface EventInfo<T> { - registerFunc: (callback: (args: any) => void) => IPromise<any>; - unregisterFunc: (callback: (args: any) => void) => IPromise<any>; - eventArgsTransformFunc: (args: any) => IPromise<T>; - } + export interface EventInfo<T> { + registerFunc: (callback: (args: any) => void) => IPromise<any>; + unregisterFunc: (callback: (args: any) => void) => IPromise<any>; + eventArgsTransformFunc: (args: any) => IPromise<T>; + } } declare namespace OfficeExtension { /** - * Request URL and headers + * Request URL and headers */ - interface RequestUrlAndHeaderInfo { - /** Request URL */ - url: string; - /** Request headers */ - headers?: { - [name: string]: string; - }; - } + interface RequestUrlAndHeaderInfo { + /** Request URL */ + url: string; + /** Request headers */ + headers?: { + [name: string]: string; + }; + } } @@ -4874,7 +5241,7 @@ declare namespace Excel { /** * * Represents a collection of all the rows that are part of the table. - + Note that unlike Ranges or Columns, which will adjust if new rows/columns are added before them, a TableRow object represent the physical location of the table row, but not the data. That is, if the data is sorted or if new rows are added, a table row will continue @@ -4895,7 +5262,7 @@ declare namespace Excel { /** * * Adds one or more rows to the table. The return object will be the top of the newly added row(s). - + Note that unlike Ranges or Columns, which will adjust if new rows/columns are added before them, a TableRow object represent the physical location of the table row, but not the data. That is, if the data is sorted or if new rows are added, a table row will continue @@ -4917,7 +5284,7 @@ declare namespace Excel { /** * * Gets a row based on its position in the collection. - + Note that unlike Ranges or Columns, which will adjust if new rows/columns are added before them, a TableRow object represent the physical location of the table row, but not the data. That is, if the data is sorted or if new rows are added, a table row will continue @@ -4939,7 +5306,7 @@ declare namespace Excel { /** * * Represents a row in a table. - + Note that unlike Ranges or Columns, which will adjust if new rows/columns are added before them, a TableRow object represent the physical location of the table row, but not the data. That is, if the data is sorted or if new rows are added, a table row will continue @@ -6893,7 +7260,7 @@ declare namespace Excel { * * The first criterion used to filter data. Used as an operator in the case of "custom" filtering. For example ">50" for number greater than 50 or "=*s" for values ending in "s". - + Used as a number in the case of top/bottom items/percents. E.g. "5" for the top 5 items if filterOn is set to "topItems" * * [Api set: ExcelApi 1.2] From 0b21b7dd6375e425673e5272438f0201b364de1a Mon Sep 17 00:00:00 2001 From: cynecx <cynecx@users.noreply.github.com> Date: Fri, 6 Oct 2017 20:08:29 +0200 Subject: [PATCH 178/433] [react] [react-dom] Add support for rendering an array of elements (#19363) * Test * Fix react typings * Revert "Use []-syntax for some cases." This reverts commit 5f6e55843980b2cff9ace4174f72b4f8aa7ad278. * Modify another render function's return type * Use Array<T> instead in react.d.ts & Fix issues with the typescript linter & Adapt changes in react-router * Convert Array<T> to T[] * Add support for string and number return types. --- types/react-dom/index.d.ts | 54 +++++++++++++++------ types/react-router/test/InheritingRoute.tsx | 4 +- types/react/index.d.ts | 6 +-- types/react/test/index.ts | 7 +++ 4 files changed, 52 insertions(+), 19 deletions(-) diff --git a/types/react-dom/index.d.ts b/types/react-dom/index.d.ts index 35e4b20550..aeac0c8081 100644 --- a/types/react-dom/index.d.ts +++ b/types/react-dom/index.d.ts @@ -15,7 +15,6 @@ import { DOMAttributes, DOMElement } from 'react'; -export function findDOMNode<E extends Element>(instance: ReactInstance): E; export function findDOMNode(instance: ReactInstance): Element; export function unmountComponentAtNode(container: Element): boolean; @@ -27,9 +26,9 @@ export function unstable_batchedUpdates<A, B>(callback: (a: A, b: B) => any, a: export function unstable_batchedUpdates<A>(callback: (a: A) => any, a: A): void; export function unstable_batchedUpdates(callback: () => any): void; -export function unstable_renderSubtreeIntoContainer<P extends DOMAttributes<T>, T extends Element>( +export function unstable_renderSubtreeIntoContainer<T extends Element>( parentComponent: Component<any>, - element: DOMElement<P, T>, + element: DOMElement<DOMAttributes<T>, T>, container: Element, callback?: (element: T) => any): T; export function unstable_renderSubtreeIntoContainer<P, T extends Component<P, ComponentState>>( @@ -44,30 +43,55 @@ export function unstable_renderSubtreeIntoContainer<P>( callback?: (component?: Component<P, ComponentState> | Element) => any): Component<P, ComponentState> | Element | void; export interface Renderer { - <P extends DOMAttributes<T>, T extends Element>( - element: DOMElement<P, T>, + // Deprecated(render): The return value is deprecated. + // In future releases the render function's return type will be void. + + <T extends Element>( + element: DOMElement<DOMAttributes<T>, T>, container: Element | null, - callback?: (element: T) => any + callback?: () => void ): T; - <P>( - element: SFCElement<P>, + + ( + element: Array<DOMElement<DOMAttributes<any>, any>>, container: Element | null, - callback?: () => any + callback?: () => void + ): Element; + + ( + element: SFCElement<any> | Array<SFCElement<any>>, + container: Element | null, + callback?: () => void ): void; + <P, T extends Component<P, ComponentState>>( element: CElement<P, T>, container: Element | null, - callback?: (component: T) => any + callback?: () => void ): T; + + ( + element: Array<CElement<any, Component<any, ComponentState>>>, + container: Element | null, + callback?: () => void + ): Component<any, ComponentState>; + <P>( element: ReactElement<P>, container: Element | null, - callback?: (component?: Component<P, ComponentState> | Element) => any + callback?: () => void ): Component<P, ComponentState> | Element | void; - <P>( - parentComponent: Component<any>, - element: SFCElement<P>, + + ( + element: Array<ReactElement<any>>, + container: Element | null, + callback?: () => void + ): Component<any, ComponentState> | Element | void; + + ( + parentComponent: Component<any> | Array<Component<any>>, + element: SFCElement<any>, container: Element, - callback?: () => any + callback?: () => void ): void; } diff --git a/types/react-router/test/InheritingRoute.tsx b/types/react-router/test/InheritingRoute.tsx index 47f6e8f8c1..2a4d9d0b59 100644 --- a/types/react-router/test/InheritingRoute.tsx +++ b/types/react-router/test/InheritingRoute.tsx @@ -10,7 +10,9 @@ interface CustomRouteInterface extends RouteProps { // React advocates composition over inheritance, but doesn't prevent us from using it export default class CustomRoute extends Route<CustomRouteInterface> { render() { - const maybeElement = super.render(); + // react-fiber's render function can also return an array of elements, + // but in this case it's assumed that a JSX.Element is returned. + const maybeElement = super.render() as JSX.Element; return maybeElement && <div className="meaningfulClass">{React.cloneElement(maybeElement, this.props)}</div>; } } diff --git a/types/react/index.d.ts b/types/react/index.d.ts index f811bf488b..e22b8e2890 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -284,7 +284,7 @@ declare namespace React { // tslint:enable:unified-signatures forceUpdate(callBack?: () => any): void; - render(): JSX.Element | null | false; + render(): JSX.Element | JSX.Element[] | string | number | null | false; // React.Props<T> is now deprecated, which means that the `children` // property is not available on `P` by default, even though you can @@ -419,7 +419,7 @@ declare namespace React { } interface ComponentSpec<P, S> extends Mixin<P, S> { - render(): ReactElement<any> | null; + render(): ReactElement<any> | Array<ReactElement<any>> | string | number | null; [propertyName: string]: any; } @@ -3453,7 +3453,7 @@ declare global { // tslint:disable:no-empty-interface interface Element extends React.ReactElement<any> { } interface ElementClass extends React.Component<any> { - render(): Element | null | false; + render(): Element | Element[] | string | number | null | false; } interface ElementAttributesProperty { props: {}; } interface ElementChildrenAttribute { children: {}; } diff --git a/types/react/test/index.ts b/types/react/test/index.ts index a798863cd4..543063041b 100644 --- a/types/react/test/index.ts +++ b/types/react/test/index.ts @@ -129,6 +129,13 @@ class ModernComponent extends React.Component<Props, State> } } +class ModernComponentArrayRender extends React.Component<Props> { + render() { + return [React.DOM.h1({ key: "1" }, "1"), + React.DOM.h1({ key: "2" }, "2")]; + } +} + class ModernComponentNoState extends React.Component<Props> { } class ModernComponentNoPropsAndState extends React.Component { } From 6a96efd84a6dfdc6e3f2f44af8bf0d60de99d86e Mon Sep 17 00:00:00 2001 From: Adithya Reddy <adithyakreddy6@gmail.com> Date: Fri, 6 Oct 2017 23:52:29 +0530 Subject: [PATCH 179/433] Fixed incorrect type for Twit.stream (#20173) The Twit docs [specifically says](https://github.com/ttezel/twit#using-the-streaming-api) that the `stream` function returns an `EventEmitter`. It also says that the `EventEmitter` has [two methods - `start()` and `stop()`](https://github.com/ttezel/twit#streamstop) to start and stop the Twitter stream. The return type was incorrectly specified as a `NodeJS.ReadableStream`. This fixes that. --- types/twit/index.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/types/twit/index.d.ts b/types/twit/index.d.ts index c8687cc6fb..63ca3b747d 100644 --- a/types/twit/index.d.ts +++ b/types/twit/index.d.ts @@ -8,6 +8,7 @@ declare module 'twit' { import { IncomingMessage } from 'http'; + import { EventEmitter } from 'events'; namespace Twit { export type StreamEndpoint = 'statuses/filter' | 'statuses/sample' | 'statuses/firehose' | 'user' | 'site'; @@ -264,6 +265,10 @@ declare module 'twit' { timeout_ms?: number, trusted_cert_fingerprints?: string[], } + export interface Stream extends EventEmitter { + start(): void; + stop(): void; + } } class Twit { @@ -304,7 +309,7 @@ declare module 'twit' { /** * @see https://github.com/ttezel/twit#tstreampath-params */ - stream(path: Twit.StreamEndpoint, params?: Twit.Params): NodeJS.ReadableStream; + stream(path: Twit.StreamEndpoint, params?: Twit.Params): Twit.Stream; } export = Twit; From bb778b7f6dc4dd3890e5a8c5bc4fccf56979cd6a Mon Sep 17 00:00:00 2001 From: spiffytech <spiffytech@gmail.com> Date: Fri, 6 Oct 2017 14:22:57 -0400 Subject: [PATCH 180/433] rss: fix item enclosure optional property (#20164) For item enclosures, it's _either_ a file _or_ a URL. The docs specify that one of the two is always optional, and the source code only mandates the `url`, and may ignore the `file`. https://www.npmjs.com/package/rss https://github.com/dylang/node-rss/blob/master/lib/index.js#L83 --- types/rss/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/rss/index.d.ts b/types/rss/index.d.ts index bd5653bf8f..7de1fab2aa 100644 --- a/types/rss/index.d.ts +++ b/types/rss/index.d.ts @@ -90,7 +90,7 @@ declare namespace NodeRSS { /** * Path to binary file (or URL). */ - file: string; + file?: string; /** * Size of the file. */ From 384abb417bc77feb850399b41ab8831d45992b50 Mon Sep 17 00:00:00 2001 From: kasuparu <kasuparu@users.noreply.github.com> Date: Fri, 6 Oct 2017 20:23:30 +0200 Subject: [PATCH 181/433] [async] [i2c-bus] Improve async.auto() typing, fix i2c-bus typos (#20131) --- types/async/index.d.ts | 8 +++++++- types/i2c-bus/index.d.ts | 7 ++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/types/async/index.d.ts b/types/async/index.d.ts index f443ebf627..80f2888a8b 100644 --- a/types/async/index.d.ts +++ b/types/async/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/caolan/async // Definitions by: Boris Yankov <https://github.com/borisyankov>, Arseniy Maximov <https://github.com/kern0>, Joe Herman <https://github.com/Penryn>, Angus Fenying <https://github.com/fenying>, Pascal Martin <https://github.com/pascalmartin> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 export as namespace async; @@ -23,6 +24,11 @@ export interface AsyncBooleanIterator<T, E> { (item: T, callback: AsyncBooleanRe export interface AsyncWorker<T, E> { (task: T, callback: ErrorCallback<E>): void; } export interface AsyncVoidFunction<E> { (callback: ErrorCallback<E>): void; } +export type AsyncAutoTasks<R extends Dictionary<any>, E> = { [K in keyof R]: AsyncAutoTask<R[K], R, E> } +export type AsyncAutoTask<R1, R extends Dictionary<any>, E> = AsyncAutoTaskFunctionWithoutDependencies<R1, E> | (keyof R | AsyncAutoTaskFunction<R1, R, E>)[]; +export interface AsyncAutoTaskFunctionWithoutDependencies<R1, E> { (cb: AsyncResultCallback<R1, E> | ErrorCallback<E>): void; } +export interface AsyncAutoTaskFunction<R1, R extends Dictionary<any>, E> { (results: R, cb: AsyncResultCallback<R1, E> | ErrorCallback<E>): void; } + export interface AsyncQueue<T> { length(): number; started: boolean; @@ -183,7 +189,7 @@ export function queue<T, E>(worker: AsyncWorker<T, E>, concurrency?: number): As export function queue<T, R, E>(worker: AsyncResultIterator<T, R, E>, concurrency?: number): AsyncQueue<T>; export function priorityQueue<T, E>(worker: AsyncWorker<T, E>, concurrency: number): AsyncPriorityQueue<T>; export function cargo<E>(worker : (tasks: any[], callback : ErrorCallback<E>) => void, payload? : number) : AsyncCargo; -export function auto<E>(tasks: any, concurrency?: number, callback?: AsyncResultCallback<any, E>): void; +export function auto<R extends Dictionary<any>, E>(tasks: AsyncAutoTasks<R, E>, concurrency?: number, callback?: AsyncResultCallback<R, E>): void; export function autoInject<E>(tasks: any, callback?: AsyncResultCallback<any, E>): void; export function retry<T, E>(opts: number, task: (callback : AsyncResultCallback<T, E>, results: any) => void, callback: AsyncResultCallback<any, E | Error>): void; export function retry<T, E>(opts: { times: number, interval: number|((retryCount: number) => number) }, task: (callback: AsyncResultCallback<T, E>, results : any) => void, callback: AsyncResultCallback<any, E | Error>): void; diff --git a/types/i2c-bus/index.d.ts b/types/i2c-bus/index.d.ts index e03432b75d..ebb06e83ae 100644 --- a/types/i2c-bus/index.d.ts +++ b/types/i2c-bus/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/fivdi/i2c-bus // Definitions by: Jason Heard <https://github.com/101100> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 /// <reference types="node" /> @@ -318,6 +319,8 @@ export interface I2cBus { * * @param {number} address * I2C device address. + * @param {number} command + * The command code. * @param {number} bit * The data bit to write (0 or 1). * @param {CompletionCallback} callback @@ -330,6 +333,8 @@ export interface I2cBus { * * @param {number} address * I2C device address. + * @param {number} command + * The command code. * @param {number} bit * The data bit to write (0 or 1). */ @@ -383,7 +388,7 @@ export interface I2cBus { * @return {I2cBus} * A new I2cBus object. */ -export function open(busNumber: number, calback: CompletionCallback): I2cBus; +export function open(busNumber: number, callback: CompletionCallback): I2cBus; /** * Synchronous open. From 54e1904afcdeaa4a0180160067aa1c0963e68d62 Mon Sep 17 00:00:00 2001 From: Dolan <dolan_miu@hotmail.com> Date: Fri, 6 Oct 2017 19:24:36 +0100 Subject: [PATCH 182/433] Jsforce Query fixes (#20101) * Query fixes * Fix implementing promise interface * Make Query Implement Readable --- types/jsforce/connection.d.ts | 2 +- types/jsforce/jsforce-tests.ts | 26 ++++++++++++++++++++++++++ types/jsforce/query.d.ts | 14 +++++++++++++- types/jsforce/salesforce-object.d.ts | 4 ++-- 4 files changed, 42 insertions(+), 4 deletions(-) diff --git a/types/jsforce/connection.d.ts b/types/jsforce/connection.d.ts index aa32d43ff5..4c3e1eb5fb 100644 --- a/types/jsforce/connection.d.ts +++ b/types/jsforce/connection.d.ts @@ -58,7 +58,7 @@ export type ConnectionEvent = "refresh"; * to ensure that you have the correct data types for the various collection names. */ export interface Connection { - query<T>(soql: string, callback?: (err: Error, result: QueryResult<T>) => void): QueryResult<T>; + query<T>(soql: string, callback?: (err: Error, result: QueryResult<T>) => void): Query<QueryResult<T>>; sobject<T>(resource: string): SObject<T>; } diff --git a/types/jsforce/jsforce-tests.ts b/types/jsforce/jsforce-tests.ts index 208dba8bc8..2c1b5b1f9c 100644 --- a/types/jsforce/jsforce-tests.ts +++ b/types/jsforce/jsforce-tests.ts @@ -63,3 +63,29 @@ salesforceConnection.sobject("ContentDocumentLink").create({ }); sf.Date.YESTERDAY; + +salesforceConnection.sobject<any>('Coverage__c') + .select(['Id', 'Name']) + .include('Coverage_State_Configurations__r') + .select(['Id']).where({ Is_Active__c: true }) + .end() + .where({ Is_Active__c: true }).execute(); + +const records: any[] = []; +salesforceConnection.query('SELECT Id FROM Account') + .on('record', (record) => { + records.push(record); + }) + .on('end', (query: any) => { + console.log(records); + }) + .on('error', (error) => { + console.log('Error returned from query:', error); + }) + .run({ autoFetch: true, maxFetch: 25 }); + +salesforceConnection.sobject<any>('Coverage__c') + .select(['Id', 'Name']).del(() => { }); + +salesforceConnection.sobject<any>('Coverage__c') + .select(['Id', 'Name']).del("test", () => { }); diff --git a/types/jsforce/query.d.ts b/types/jsforce/query.d.ts index 00b90a9464..d0353ec638 100644 --- a/types/jsforce/query.d.ts +++ b/types/jsforce/query.d.ts @@ -1,3 +1,6 @@ +// http://jsforce.github.io/jsforce/doc/Query.html +import { Readable } from 'stream'; + import { SalesforceId } from './salesforce-id'; import { RecordResult } from './record-result'; @@ -14,7 +17,7 @@ export interface QueryResult<T> { records: T[]; } -export class Query<T> extends Promise<T> { +export class Query<T> extends Readable implements Promise<T> { end(): Query<T>; filter(filter: Object): Query<T>; include(include: string): Query<T>; @@ -27,9 +30,13 @@ export class Query<T> extends Promise<T> { run(options?: ExecuteOptions, callback?: (err: Error, records: T[]) => void): Query<T>; execute(options?: ExecuteOptions, callback?: (err: Error, records: T[]) => void): Query<T>; exec(options?: ExecuteOptions, callback?: (err: Error, records: T[]) => void): Query<T>; + del(type?: string, callback?: (err: Error, ret: RecordResult) => void): any; del(callback?: (err: Error, ret: RecordResult) => void): any; + delete(type?: string, callback?: (err: Error, ret: RecordResult) => void): any; delete(callback?: (err: Error, ret: RecordResult) => void): any; + destroy(type?: string, callback?: (err: Error, ret: RecordResult) => void): Promise<RecordResult[]>; destroy(callback?: (err: Error, ret: RecordResult) => void): Promise<RecordResult[]>; + destroy(error?: Error): void; explain(callback?: (err: Error, info: ExplainInfo) => void): Promise<ExplainInfo>; map(callback: (currentValue: Object) => void): Promise<any>; scanAll(value: boolean): Query<T>; @@ -38,6 +45,11 @@ export class Query<T> extends Promise<T> { toSOQL(callback: (err: Error, soql: string) => void): Promise<string>; update(mapping: any, type: string, callback: (err: Error, records: RecordResult[]) => void): Promise<RecordResult[]>; where(conditions: Object | string): Query<T>; + + // Implementing promise methods + then<T, never>(onfulfilled?: any | undefined | null): Promise<T | never>; + catch<never>(onrejected?: any | undefined | null): Promise<T>; + [Symbol.toStringTag]: "Promise"; } export class ExplainInfo { } diff --git a/types/jsforce/salesforce-object.d.ts b/types/jsforce/salesforce-object.d.ts index 95b3fbe9a2..86ec7ecaf4 100644 --- a/types/jsforce/salesforce-object.d.ts +++ b/types/jsforce/salesforce-object.d.ts @@ -52,9 +52,9 @@ export class SObject<T> { quickAction(actionName: string): QuickAction; quickActions(callback?: (err: Error, info: any) => void): Promise<any>; recent(callback?: (err: Error, ret: RecordResult) => void): Promise<RecordResult>; - select(callback?: (err: Error, ret: T[]) => void): Promise<T[]>; + select(callback?: (err: Error, ret: T[]) => void): Query<T[]>; // TODO:use a typed pluck to turn `fields` into a subset of T's fields so that the output is slimmed down appropriately - select(fields?: {[P in keyof T]: boolean} | Array<(keyof T)> | (keyof T), callback?: (err: Error, ret: Array<Partial<T>>) => void): Promise<Array<Partial<T>>>; + select(fields?: {[P in keyof T]: boolean} | Array<(keyof T)> | (keyof T), callback?: (err: Error, ret: Array<Partial<T>>) => void): Query<Array<Partial<T>>>; } export interface ApprovalLayoutInfo { From dffd06e0abf2e249b4c78735f4bd16f00fb121a9 Mon Sep 17 00:00:00 2001 From: Bel <bel@shoesofprey.com> Date: Fri, 6 Oct 2017 11:25:11 -0700 Subject: [PATCH 183/433] redux-form: Allow direct importing to reduce bundle size and add some default exports (#20147) * Add some export defaults to match the library and allow importing directly from lib files - also updated some of the actions while touching that file * Fix extra new line in redux form --- types/redux-form/lib/Field.d.ts | 8 +- types/redux-form/lib/FormSection.d.ts | 4 +- types/redux-form/lib/actions.d.ts | 104 ++++++++++++++------ types/redux-form/lib/formValueSelector.d.ts | 4 +- types/redux-form/lib/reducer.d.ts | 2 + types/redux-form/lib/reduxForm.d.ts | 6 +- types/redux-form/redux-form-tests.tsx | 39 +++++++- 7 files changed, 125 insertions(+), 42 deletions(-) diff --git a/types/redux-form/lib/Field.d.ts b/types/redux-form/lib/Field.d.ts index 8d3f6ab533..8020763db4 100644 --- a/types/redux-form/lib/Field.d.ts +++ b/types/redux-form/lib/Field.d.ts @@ -63,17 +63,17 @@ export class Field<P = GenericFieldHTMLAttributes> extends Component<BaseFieldPr getRenderedComponent(): Component<WrappedFieldProps & P>; } -interface WrappedFieldProps { +export interface WrappedFieldProps { input: WrappedFieldInputProps; meta: WrappedFieldMetaProps; } -interface WrappedFieldInputProps extends CommonFieldProps { +export interface WrappedFieldInputProps extends CommonFieldProps { checked?: boolean; value: any; } -interface WrappedFieldMetaProps { +export interface WrappedFieldMetaProps { active?: boolean; autofilled: boolean; asyncValidating: boolean; @@ -91,3 +91,5 @@ interface WrappedFieldMetaProps { visited: boolean; warning?: any; } + +export default Field; diff --git a/types/redux-form/lib/FormSection.d.ts b/types/redux-form/lib/FormSection.d.ts index 8be6278f9b..fa7f725f21 100644 --- a/types/redux-form/lib/FormSection.d.ts +++ b/types/redux-form/lib/FormSection.d.ts @@ -7,4 +7,6 @@ export interface FormSectionProps<P = {}> { component?: string | ComponentType<P>; } -declare class FormSection extends Component<FormSectionProps> {} +export declare class FormSection extends Component<FormSectionProps> {} + +export default FormSection; diff --git a/types/redux-form/lib/actions.d.ts b/types/redux-form/lib/actions.d.ts index 8508fb2aec..d54f1a2316 100644 --- a/types/redux-form/lib/actions.d.ts +++ b/types/redux-form/lib/actions.d.ts @@ -7,40 +7,80 @@ export interface FormAction extends Action { }; } -declare function arrayInsert(form: string, field: string, index: number, value: any): FormAction; -declare function arrayMove(form: string, field: string, from: number, to: number): FormAction; -declare function arrayPop(form: string, field: string): FormAction; -declare function arrayPush(form: string, field: string, value: any): FormAction; -declare function arrayRemove(form: string, field: string, index: number): FormAction; -declare function arrayRemoveAll(form: string, field: string): FormAction; -declare function arrayShift(form: string, field: string): FormAction; -declare function arraySplice(form: string, field: string, index: number, removeNum: number, value: any): FormAction; -declare function arraySwap(form: string, field: string, indexA: number, indexB: number): FormAction; -declare function arrayUnshift(form: string, field: string, value: any): FormAction; -declare function autofill(form: string, field: string, value: any): FormAction; -declare function blur(form: string, field: string, value: any): FormAction; -declare function change(form: string, field: string, value: any): FormAction; -declare function destroy(...form: string[]): FormAction; -declare function focus(form: string, field: string): FormAction; +export declare function arrayInsert(form: string, field: string, index: number, value: any): FormAction; +export declare function arrayMove(form: string, field: string, from: number, to: number): FormAction; +export declare function arrayPop(form: string, field: string): FormAction; +export declare function arrayPush(form: string, field: string, value: any): FormAction; +export declare function arrayRemove(form: string, field: string, index: number): FormAction; +export declare function arrayRemoveAll(form: string, field: string): FormAction; +export declare function arrayShift(form: string, field: string): FormAction; +export declare function arraySplice(form: string, field: string, index: number, removeNum: number, value: any): FormAction; +export declare function arraySwap(form: string, field: string, indexA: number, indexB: number): FormAction; +export declare function arrayUnshift(form: string, field: string, value: any): FormAction; +export declare function autofill(form: string, field: string, value: any): FormAction; +export declare function blur(form: string, field: string, value: any): FormAction; +export declare function change(form: string, field: string, value: any): FormAction; +export declare function destroy(...form: string[]): FormAction; +export declare function focus(form: string, field: string): FormAction; -interface InitializeOptions { +export interface InitializeOptions { keepDirty : boolean; keepSubmitSucceeded: boolean; } -declare function initialize(form: string, data: any, keepDirty?: boolean | InitializeOptions, options?: InitializeOptions): FormAction; -declare function registerField(form: string, name: string, type: FieldType): FormAction; -declare function reset(form: string): FormAction; -declare function startAsyncValidation(form: string): FormAction; -declare function stopAsyncValidation(form: string, errors?: any): FormAction; -declare function setSubmitFailed(form: string, ...fields: string[]): FormAction; -declare function setSubmitSucceeded(form: string, ...fields: string[]): FormAction; -declare function startSubmit(form: string): FormAction; -declare function stopSubmit(form: string, errors?: any): FormAction; -declare function stopAsyncValidation(form: string, errors?: any): FormAction; -declare function submit(form: string): FormAction; -declare function touch(form: string, ...fields: string[]): FormAction; -declare function unregisterField(form: string, name: string): FormAction; -declare function untouch(form: string, ...fields: string[]): FormAction; -declare function updateSyncErrors(from: string, syncErrors: FormErrors<FormData>, error: any): FormAction; -declare function updateSyncWarnings(form: string, syncWarnings: FormWarnings<FormData>, warning: any): FormAction; +export declare function initialize(form: string, data: any, keepDirty?: boolean | InitializeOptions, options?: InitializeOptions): FormAction; +export declare function registerField(form: string, name: string, type: FieldType): FormAction; +export declare function reset(form: string): FormAction; +export declare function startAsyncValidation(form: string): FormAction; +export declare function stopAsyncValidation(form: string, errors?: any): FormAction; +export declare function setSubmitFailed(form: string, ...fields: string[]): FormAction; +export declare function setSubmitSucceeded(form: string, ...fields: string[]): FormAction; +export declare function startSubmit(form: string): FormAction; +export declare function stopSubmit(form: string, errors?: any): FormAction; +export declare function submit(form: string): FormAction; +export declare function clearSubmit(form: string): FormAction; +export declare function clearSubmitErrors(form: string): FormAction; +export declare function clearAsyncError(form: string, field: string): FormAction; +export declare function touch(form: string, ...fields: string[]): FormAction; +export declare function unregisterField(form: string, name: string): FormAction; +export declare function untouch(form: string, ...fields: string[]): FormAction; +export declare function updateSyncErrors(from: string, syncErrors: FormErrors<FormData>, error: any): FormAction; +export declare function updateSyncWarnings(form: string, syncWarnings: FormWarnings<FormData>, warning: any): FormAction; + +declare const actions: { + arrayInsert: typeof arrayInsert, + arrayMove: typeof arrayMove, + arrayPop: typeof arrayPop, + arrayPush: typeof arrayPush, + arrayRemove: typeof arrayRemove, + arrayRemoveAll: typeof arrayRemoveAll, + arrayShift: typeof arrayShift, + arraySplice: typeof arraySplice, + arraySwap: typeof arraySwap, + arrayUnshift: typeof arrayUnshift, + autofill: typeof autofill, + blur: typeof blur, + change: typeof change, + clearSubmit: typeof clearSubmit, + clearSubmitErrors: typeof clearSubmitErrors, + clearAsyncError: typeof clearAsyncError, + destroy: typeof destroy, + focus: typeof focus, + initialize: typeof initialize, + registerField: typeof registerField, + reset: typeof reset, + startAsyncValidation: typeof startAsyncValidation, + startSubmit: typeof startSubmit, + stopAsyncValidation: typeof stopAsyncValidation, + stopSubmit: typeof stopSubmit, + submit: typeof submit, + setSubmitFailed: typeof setSubmitFailed, + setSubmitSucceeded: typeof setSubmitSucceeded, + touch: typeof touch, + unregisterField: typeof unregisterField, + untouch: typeof untouch, + updateSyncErrors: typeof updateSyncErrors, + updateSyncWarnings: typeof updateSyncWarnings +}; + +export default actions; diff --git a/types/redux-form/lib/formValueSelector.d.ts b/types/redux-form/lib/formValueSelector.d.ts index 579b62b049..b85e3deadc 100644 --- a/types/redux-form/lib/formValueSelector.d.ts +++ b/types/redux-form/lib/formValueSelector.d.ts @@ -1,6 +1,8 @@ import { FormStateMap } from "redux-form"; -declare function formValueSelector<State = {}>( +export declare function formValueSelector<State = {}>( form: string, getFormState?: (state: State) => FormStateMap ): (state: State, ...field: string[]) => any; + +export default formValueSelector; diff --git a/types/redux-form/lib/reducer.d.ts b/types/redux-form/lib/reducer.d.ts index 41e077ce56..9e865fc6c1 100644 --- a/types/redux-form/lib/reducer.d.ts +++ b/types/redux-form/lib/reducer.d.ts @@ -36,3 +36,5 @@ export interface FieldState { touched?: boolean; visited?: boolean; } + +export default reducer; diff --git a/types/redux-form/lib/reduxForm.d.ts b/types/redux-form/lib/reduxForm.d.ts index 3c6ba37bc1..4b4e522d86 100644 --- a/types/redux-form/lib/reduxForm.d.ts +++ b/types/redux-form/lib/reduxForm.d.ts @@ -136,12 +136,12 @@ export interface DecoratedComponentClass<FormData, P> { export type FormDecorator<FormData, P, Config> = (component: ComponentType<P & InjectedFormProps<FormData, P>>) => DecoratedComponentClass<FormData, P & Config>; -declare function reduxForm<FormData = {}, P = {}>( +export declare function reduxForm<FormData = {}, P = {}>( config: ConfigProps<FormData, P> ): FormDecorator<FormData, P, Partial<ConfigProps<FormData, P>>>; -declare function reduxForm<FormData = {}, P = {}>( +export declare function reduxForm<FormData = {}, P = {}>( config: Partial<ConfigProps<FormData, P>> ): FormDecorator<FormData, P, ConfigProps<FormData, P>>; - +export default reduxForm; diff --git a/types/redux-form/redux-form-tests.tsx b/types/redux-form/redux-form-tests.tsx index f141835931..3648e9b452 100644 --- a/types/redux-form/redux-form-tests.tsx +++ b/types/redux-form/redux-form-tests.tsx @@ -8,6 +8,7 @@ import { FormSection, GenericFormSection, formValues, + formValueSelector, Field, GenericField, WrappedFieldProps, @@ -19,13 +20,23 @@ import { WrappedFieldArrayProps, reducer, FormAction, - actionTypes + actionTypes, + submit } from "redux-form"; import { Field as ImmutableField, reduxForm as immutableReduxForm } from "redux-form/immutable"; +import LibField, { + WrappedFieldProps as LibWrappedFieldProps +} from "redux-form/lib/Field"; +import libReducer from "redux-form/lib/reducer"; +import LibFormSection from "redux-form/lib/FormSection"; +import libFormValueSelector from "redux-form/lib/formValueSelector"; +import libReduxForm from "redux-form/lib/reduxForm"; +import libActions from "redux-form/lib/actions"; + /* Decorated components */ interface TestFormData { foo: string; @@ -183,7 +194,7 @@ const testFormWithInitialValuesDecorator = reduxForm<MultivalueFormData>({ } }) -// Specifying form data type *is* required here, because type inference will guess the type of +// Specifying form data type *is* required here, because type inference will guess the type of // the form data type parameter to be {foo: string}. The result of validate does not contain "foo" const testFormWithInitialValuesAndValidationDecorator = reduxForm<MultivalueFormData>({ form: "testWithValidation", @@ -304,3 +315,27 @@ reducer.plugin({ } }); +/* Test using versions imported directly/as defaults from lib */ +const DefaultField = ( + <LibField + name="defaultfield" + component="input" + type="text" + /> +); + +libReducer({}, { + type: "ACTION" +}); + +const DefaultFormSection = ( + <LibFormSection + name="defaultformsection" + /> +); + +const TestLibFormRequired = libReduxForm<TestFormData>({})(TestFormComponent); +const TestLibForm = libReduxForm<TestFormData>({ form : "test" })(TestFormComponent); + +const testSubmit = submit("test"); +const testLibSubmit = libActions.submit("test"); From 1aefe0126e5e4ea8fbf0e98661e12439c42dd4e3 Mon Sep 17 00:00:00 2001 From: Alvis Tang <alvis@users.noreply.github.com> Date: Fri, 6 Oct 2017 19:26:17 +0100 Subject: [PATCH 184/433] node: add the definition for util.callbackify (#19114) * fix(node): add the definition for util.callbackify * test(node): add an unit test for util.callbackify --- types/node/index.d.ts | 16 +++++++++ types/node/node-tests.ts | 73 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 96c7fd132f..0f175ff050 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -14,6 +14,7 @@ // Daniel Imms <https://github.com/Tyriar> // Deividas Bakanas <https://github.com/DeividasBakanas> // Kelvin Jin <https://github.com/kjin> +// Alvis HT Tang <https://github.com/alvis> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 @@ -5272,6 +5273,21 @@ declare module "util" { __promisify__: TCustom; } + export function callbackify(fn: () => Promise<void>): (callback: (err: NodeJS.ErrnoException) => void) => void; + export function callbackify<TResult>(fn: () => Promise<TResult>): (callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; + export function callbackify<T1>(fn: (arg1: T1) => Promise<void>): (arg1: T1, callback: (err: NodeJS.ErrnoException) => void) => void; + export function callbackify<T1, TResult>(fn: (arg1: T1) => Promise<TResult>): (arg1: T1, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; + export function callbackify<T1, T2>(fn: (arg1: T1, arg2: T2) => Promise<void>): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException) => void) => void; + export function callbackify<T1, T2, TResult>(fn: (arg1: T1, arg2: T2) => Promise<TResult>): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; + export function callbackify<T1, T2, T3>(fn: (arg1: T1, arg2: T2, arg3: T3) => Promise<void>): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException) => void) => void; + export function callbackify<T1, T2, T3, TResult>(fn: (arg1: T1, arg2: T2, arg3: T3) => Promise<TResult>): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; + export function callbackify<T1, T2, T3, T4>(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<void>): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException) => void) => void; + export function callbackify<T1, T2, T3, T4, TResult>(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<TResult>): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; + export function callbackify<T1, T2, T3, T4, T5>(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<void>): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException) => void) => void; + export function callbackify<T1, T2, T3, T4, T5, TResult>(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<TResult>): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; + export function callbackify<T1, T2, T3, T4, T5, T6>(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise<void>): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, callback: (err: NodeJS.ErrnoException) => void) => void; + export function callbackify<T1, T2, T3, T4, T5, T6, TResult>(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise<TResult>): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; + export function promisify<TCustom extends Function>(fn: CustomPromisify<TCustom>): TCustom; export function promisify<T1, TResult>(fn: (arg1: T1, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void): (arg1: T1) => Promise<TResult>; export function promisify<T1>(fn: (arg1: T1, callback: (err: NodeJS.ErrnoException) => void) => void): (arg1: T1) => Promise<void>; diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index ca62a4a6c2..8e53bf74d4 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -642,6 +642,79 @@ namespace util_tests { breakLength: Infinity }); assert(typeof util.inspect.custom === 'symbol'); + + // util.callbackify + class callbackifyTest { + static fn(): Promise<void> { + assert(arguments.length === 0); + + return Promise.resolve(); + } + + static fnE(): Promise<void> { + assert(arguments.length === 0); + + return Promise.reject(new Error('fail')); + } + + static fnT1(arg1: string): Promise<void> { + assert(arguments.length === 1 && arg1 === 'parameter'); + + return Promise.resolve(); + } + + static fnT1E(arg1: string): Promise<void> { + assert(arguments.length === 1 && arg1 === 'parameter'); + + return Promise.reject(new Error('fail')); + } + + static fnTResult(): Promise<string> { + assert(arguments.length === 0); + + return Promise.resolve('result'); + } + + static fnTResultE(): Promise<string> { + assert(arguments.length === 0); + + return Promise.reject(new Error('fail')); + } + + static fnT1TResult(arg1: string): Promise<string> { + assert(arguments.length === 1 && arg1 === 'parameter'); + + return Promise.resolve('result'); + } + + static fnT1TResultE(arg1: string): Promise<string> { + assert(arguments.length === 1 && arg1 === 'parameter'); + + return Promise.reject(new Error('fail')); + } + + static test(): void { + var cfn = util.callbackify(this.fn); + var cfnE = util.callbackify(this.fnE); + var cfnT1 = util.callbackify(this.fnT1); + var cfnT1E = util.callbackify(this.fnT1E); + var cfnTResult = util.callbackify(this.fnTResult); + var cfnTResultE = util.callbackify(this.fnTResultE); + var cfnT1TResult = util.callbackify(this.fnT1TResult); + var cfnT1TResultE = util.callbackify(this.fnT1TResultE); + + cfn((err: NodeJS.ErrnoException, ...args: string[]) => assert(err === null && args.length === 1 && args[0] === undefined)); + cfnE((err: NodeJS.ErrnoException, ...args: string[]) => assert(err.message === 'fail' && args.length === 0)); + cfnT1('parameter', (err: NodeJS.ErrnoException, ...args: string[]) => assert(err === null && args.length === 1 && args[0] === undefined)); + cfnT1E('parameter', (err: NodeJS.ErrnoException, ...args: string[]) => assert(err.message === 'fail' && args.length === 0)); + cfnTResult((err: NodeJS.ErrnoException, ...args: string[]) => assert(err === null && args.length === 1 && args[0] === 'result')); + cfnTResultE((err: NodeJS.ErrnoException, ...args: string[]) => assert(err.message === 'fail' && args.length === 0)); + cfnT1TResult('parameter', (err: NodeJS.ErrnoException, ...args: string[]) => assert(err === null && args.length === 1 && args[0] === 'result')); + cfnT1TResultE('parameter', (err: NodeJS.ErrnoException, ...args: string[]) => assert(err.message === 'fail' && args.length === 0)); + } + } + callbackifyTest.test(); + // util.promisify var readPromised = util.promisify(fs.readFile); var sampleRead: Promise<any> = readPromised(__filename).then((data: Buffer): void => { }).catch((error: Error): void => { }); From cf92e80edc11ff0b12572a42969b1eae3d7a6e99 Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Fri, 6 Oct 2017 12:51:12 -0700 Subject: [PATCH 185/433] activex-*: Fix no-unnecessary-generics lint failures (#20361) --- types/activex-powerpoint/activex-powerpoint-tests.ts | 3 ++- types/activex-vbide/activex-vbide-tests.ts | 5 ++--- types/activex-word/activex-word-tests.ts | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/types/activex-powerpoint/activex-powerpoint-tests.ts b/types/activex-powerpoint/activex-powerpoint-tests.ts index 0d161081f8..3f2bedf8cd 100644 --- a/types/activex-powerpoint/activex-powerpoint-tests.ts +++ b/types/activex-powerpoint/activex-powerpoint-tests.ts @@ -1,4 +1,5 @@ -const collectionToArray = <T>(col: any) => { +// tslint:disable-next-line no-unnecessary-generics +const collectionToArray = <T>(col: any): T[] => { const results: T[] = []; const enumerator = new Enumerator<T>(col); enumerator.moveFirst(); diff --git a/types/activex-vbide/activex-vbide-tests.ts b/types/activex-vbide/activex-vbide-tests.ts index f94491f8cb..c3d92e51cf 100644 --- a/types/activex-vbide/activex-vbide-tests.ts +++ b/types/activex-vbide/activex-vbide-tests.ts @@ -1,6 +1,5 @@ -/// <reference types="activex-word" /> - -const collectionToArray = <T>(col: any) => { +// tslint:disable-next-line no-unnecessary-generics +const collectionToArray = <T>(col: any): T[] => { const results: T[] = []; const enumerator = new Enumerator<T>(col); enumerator.moveFirst(); diff --git a/types/activex-word/activex-word-tests.ts b/types/activex-word/activex-word-tests.ts index d93a5f4e16..4a0000e6fa 100644 --- a/types/activex-word/activex-word-tests.ts +++ b/types/activex-word/activex-word-tests.ts @@ -1,4 +1,5 @@ -const collectionToArray = <T>(col: any) => { +// tslint:disable-next-line no-unnecessary-generics +const collectionToArray = <T>(col: any): T[] => { const results: T[] = []; const enumerator = new Enumerator<T>(col); enumerator.moveFirst(); From 0bdab33bba09ca8e08e71430f2cfadc87cb9cf63 Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Fri, 6 Oct 2017 12:51:21 -0700 Subject: [PATCH 186/433] backoff: Remove unnecessary type parameter (#20362) --- types/backoff/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/backoff/index.d.ts b/types/backoff/index.d.ts index 1c2f1ea605..404b01c4b2 100644 --- a/types/backoff/index.d.ts +++ b/types/backoff/index.d.ts @@ -101,7 +101,7 @@ export function call<T1, T2, T3, R1, E>(wrappedFunction: (t1: T1, t2: T2, t3: T3 export function call<T1, T2, T3, E>(wrappedFunction: (t1: T1, t2: T2, t3: T3, cb: (err: E) => void) => void, t1: T1, t2: T2, t3: T3, callback: (err: E) => void): TypedFunctionCall<[T1, T2, T3], E>; -export function call<R>(wrappedFunction: (...args: any[]) => void, ...args: any[]): FunctionCallAny; +export function call(wrappedFunction: (...args: any[]) => void, ...args: any[]): FunctionCallAny; export class Backoff extends EventEmitter { /** From ae31d17fda1271b8c74c1e46d4e3e95eb9ff3ab0 Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Fri, 6 Oct 2017 12:51:30 -0700 Subject: [PATCH 187/433] ej.web.all: Ignore new lint failures (#20363) --- types/ej.web.all/tslint.json | 1 + 1 file changed, 1 insertion(+) diff --git a/types/ej.web.all/tslint.json b/types/ej.web.all/tslint.json index fe15198aba..d396efe0bf 100644 --- a/types/ej.web.all/tslint.json +++ b/types/ej.web.all/tslint.json @@ -7,6 +7,7 @@ "no-mergeable-namespace": false, "no-padding": false, "no-any-union": false, + "no-unnecessary-generics": false, "no-unnecessary-qualifier": false, "strict-export-declare-modifiers": false } From e13090172798af3e60b176e36465082b348cb7af Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Fri, 6 Oct 2017 12:51:44 -0700 Subject: [PATCH 188/433] execa: Remove unused type parameters (#20364) --- types/execa/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/execa/index.d.ts b/types/execa/index.d.ts index df2c0d9d83..c74c60672d 100644 --- a/types/execa/index.d.ts +++ b/types/execa/index.d.ts @@ -55,8 +55,8 @@ declare namespace execa { function stderr(file: string, options?: Partial<Options>): Promise<string>; function stderr(file: string, args?: string[], options?: Partial<Options>): Promise<string>; function shell(command: string, options?: Partial<Options>): ExecaChildProcess; - function sync<T = string>(file: string, options?: Partial<SyncOptions>): ExecaReturns; - function sync<T = string>(file: string, args?: string[], options?: Partial<SyncOptions>): ExecaReturns; + function sync(file: string, options?: Partial<SyncOptions>): ExecaReturns; + function sync(file: string, args?: string[], options?: Partial<SyncOptions>): ExecaReturns; function shellSync(command: string, options?: Partial<Options>): ExecaReturns; } From 2ce173a725302602085ecd421cf9c100ada65cac Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Fri, 6 Oct 2017 12:51:56 -0700 Subject: [PATCH 189/433] lodash: Fix lint failure (#20365) --- types/lodash/lodash-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/lodash/lodash-tests.ts b/types/lodash/lodash-tests.ts index 3e13b70ac8..7ebd31f2c7 100644 --- a/types/lodash/lodash-tests.ts +++ b/types/lodash/lodash-tests.ts @@ -5547,7 +5547,7 @@ namespace TestReduce { result = <ABC>_.reduce({ 'a': 1, 'b': 2, 'c': 3 }, (r: ABC, num: number, key: string) => { r[key] = num * 3; return r; - }, {} as ABC); + }, {} as ABC); // tslint:disable-line no-object-literal-type-assertion result = <number>_([1, 2, 3]).reduce<number>((sum: number, num: number) => sum + num); result = <ABC>_({ 'a': 1, 'b': 2, 'c': 3 }).reduce<number, ABC>((r: ABC, num: number, key: string) => { From 7c80443b311f0b9a217c6d03af6f55416563bc48 Mon Sep 17 00:00:00 2001 From: Vladimir <vzh.inbox@gmail.com> Date: Sat, 7 Oct 2017 02:41:24 +0600 Subject: [PATCH 190/433] react-modal: Remove default export (#20165) * Remove default export Typescript not working with synthetic default import: https://github.com/reactjs/react-modal/issues/497 * Fix missing semicolon * Replace synthetic default import by * * Edit import statement --- types/react-modal/index.d.ts | 3 +-- types/react-modal/react-modal-tests.tsx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/types/react-modal/index.d.ts b/types/react-modal/index.d.ts index 10e50d7cd3..d20d83fcea 100644 --- a/types/react-modal/index.d.ts +++ b/types/react-modal/index.d.ts @@ -10,10 +10,9 @@ import * as React from "react"; +export = ReactModal; export as namespace ReactModal; -export default ReactModal; - declare namespace ReactModal { interface Styles { content?: { diff --git a/types/react-modal/react-modal-tests.tsx b/types/react-modal/react-modal-tests.tsx index b48cc188e6..8ce91bf15f 100644 --- a/types/react-modal/react-modal-tests.tsx +++ b/types/react-modal/react-modal-tests.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import ReactModal from 'react-modal'; +import ReactModal = require('react-modal'); class ExampleOfUsingReactModal extends React.Component { render() { From 430e4516263e8cc5ea5cfe50b9f86c57e5269d24 Mon Sep 17 00:00:00 2001 From: Alexandre <alexr.3165@gmail.com> Date: Fri, 6 Oct 2017 21:44:28 +0100 Subject: [PATCH 191/433] Improve supercluster types (#20348) * Improve supercluster types * Remove remaining declare --- types/supercluster/index.d.ts | 70 ++++++++++++------------ types/supercluster/supercluster-tests.ts | 3 +- 2 files changed, 36 insertions(+), 37 deletions(-) diff --git a/types/supercluster/index.d.ts b/types/supercluster/index.d.ts index 6d3e6c3895..2954bb3763 100644 --- a/types/supercluster/index.d.ts +++ b/types/supercluster/index.d.ts @@ -1,11 +1,13 @@ -// Type definitions for supercluster 2.3 +// Type definitions for supercluster 3.0 // Project: https://github.com/mapbox/supercluster // Definitions by: Denis Carriere <https://github.com/DenisCarriere> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped import * as GeoJSON from 'geojson'; -interface Options { +export as namespace supercluster; + +export interface Options { /** * Minimum zoom level at which clusters are generated. */ @@ -32,32 +34,32 @@ interface Options { log?: boolean; } -declare class Supercluster { +export class Supercluster { /** * Loads an array of GeoJSON.Feature objects. Each feature's geometry must be a GeoJSON.Point. Once loaded, index is immutable. */ - load(points: supercluster.Points): Supercluster; + load(points: Points): Supercluster; /** * For the given bbox array ([westLng, southLat, eastLng, northLat]) and integer zoom, returns an array of clusters and points as GeoJSON.Feature objects. */ - getClusters(bbox: supercluster.BBox, zoom: number): supercluster.Clusters; + getClusters(bbox: BBox, zoom: number): Clusters; /** * For a given zoom and x/y coordinates, returns a geojson-vt-compatible JSON tile object with cluster/point features. */ - getTile(z: number, x: number, y: number): supercluster.Tile; + getTile(z: number, x: number, y: number): Tile; /** * Returns the children of a cluster (on the next zoom level) given its id (cluster_id value from feature properties) and zoom the cluster was from. */ - getChildren(clusterId: number, clusterZoom: number): supercluster.Clusters; + getChildren(clusterId: number, clusterZoom: number): Clusters; /** * Returns all the points of a cluster (given its cluster_id and zoom), * with pagination support: limit is the number of points to return (set to Infinity for all points), * and offset is the amount of points to skip (for pagination). */ - getLeaves(clusterId: number, clusterZoom: number, limit?: number, offset?: number): supercluster.Clusters; + getLeaves(clusterId: number, clusterZoom: number, limit?: number, offset?: number): Clusters; /** * Returns the zoom on which the cluster expands into several children (useful for "click to zoom" feature), given the cluster's cluster_id and zoom. @@ -68,31 +70,29 @@ declare class Supercluster { /** * A very fast JavaScript library for geospatial point clustering for browsers and Node. */ -declare function supercluster(options: Options): Supercluster; -declare namespace supercluster { - type Point = GeoJSON.Feature<GeoJSON.Point>; - type Points = Point[]; - type Clusters = Cluster[]; - type TileFeatures = TileFeature[]; - type BBox = [number, number, number, number]; - interface ClusterProperties { - cluster?: boolean; - cluster_id?: number; - point_count?: number; - point_count_abbreviated?: number; - sum?: number; - [key: string]: any; - } - interface Cluster extends Point { - properties: ClusterProperties; - } - interface TileFeature { - type: 1; - geometry: Array<[number, number]>; - tags: ClusterProperties; - } - interface Tile { - features: TileFeatures; - } +export default function supercluster(options: Options): Supercluster; + +export type Point = GeoJSON.Feature<GeoJSON.Point>; +export type Points = Point[]; +export type Clusters = Cluster[]; +export type TileFeatures = TileFeature[]; +export type BBox = [number, number, number, number]; +export interface ClusterProperties { + cluster?: boolean; + cluster_id?: number; + point_count?: number; + point_count_abbreviated?: number; + sum?: number; + [key: string]: any; +} +export interface Cluster extends Point { + properties: ClusterProperties; +} +export interface TileFeature { + type: 1; + geometry: Array<[number, number]>; + tags: ClusterProperties; +} +export interface Tile { + features: TileFeatures; } -export = supercluster; diff --git a/types/supercluster/supercluster-tests.ts b/types/supercluster/supercluster-tests.ts index 36993be0c2..2fe5eeff39 100644 --- a/types/supercluster/supercluster-tests.ts +++ b/types/supercluster/supercluster-tests.ts @@ -1,5 +1,4 @@ -import * as supercluster from 'supercluster'; -import { Point } from 'supercluster'; +import supercluster, { Point } from 'supercluster'; const point1: Point = { type: 'Feature', From 08d7a2e170dc691322d9c911f53495aec0e08da7 Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Fri, 6 Oct 2017 13:46:13 -0700 Subject: [PATCH 192/433] spdy: Write as external module (#20370) --- types/spdy/index.d.ts | 220 +++++++++++++++++++++--------------------- 1 file changed, 111 insertions(+), 109 deletions(-) diff --git a/types/spdy/index.d.ts b/types/spdy/index.d.ts index 3016c16a11..35b5987f3c 100644 --- a/types/spdy/index.d.ts +++ b/types/spdy/index.d.ts @@ -9,115 +9,117 @@ import * as http from 'http'; import * as https from 'https'; -declare module "spdy" { - // lib/spdy/agent.js - namespace agent { - class Agent extends https.Agent {} - class PlainAgent extends http.Agent {} - function create(base: any, options: AgentOptions): Agent | PlainAgent; +// lib/spdy/agent.js +export namespace agent { + class Agent extends https.Agent {} + class PlainAgent extends http.Agent {} + function create(base: any, options: AgentOptions): Agent | PlainAgent; - interface AgentOptions extends https.AgentOptions { - port?: number; - spdy?: { - plain?: boolean, - ssl?: boolean, - 'x-forwarded-for'?: string, - protocol?: string, - protocols?: string[] - }; - } + interface AgentOptions extends https.AgentOptions { + port?: number; + spdy?: { + plain?: boolean, + ssl?: boolean, + 'x-forwarded-for'?: string, + protocol?: string, + protocols?: string[] + }; } - - // lib/spdy/handle.js - interface Handle { - create(options: object, stream: any, socket: Socket): Handle; - getStream(callback?: (stream: any) => void): any; - assignSocket(socket: Socket, options: object): void; - assignClientRequest(req: any): void; - assignRequest(req: any): void; - assignResponse(res: any): void; - emitRequest(): void; - emitResponse(status: any, headers: any): void; - } - - // lib/spdy/request.js - namespace request { - function onNewListener(type: string): void; - } - - // lib/spdy/response.js - namespace response { - function writeHead(statusCode: number, reason: string, obj: object): void; - function writeHead(statusCode: number, obj: object): void; - function end(data: any, encoding: string, callback: () => void): void; - } - - // lib/spdy/server.js - namespace server { - type Server = https.Server; - type PlainServer = http.Server; - type IncomingMessage = http.IncomingMessage; - interface ServerResponse extends http.ServerResponse { - push(filename: string, options: PushOptions): any; - } - function create(base: any, - options: https.ServerOptions, - handler: (request: IncomingMessage, response: ServerResponse | http.ServerResponse) => void): Server; - function create(options: https.ServerOptions, - handler: (request: IncomingMessage, response: http.ServerResponse) => void): Server; - function create(handler: (request: IncomingMessage, response: ServerResponse | http.ServerResponse) => void): Server; - - type Protocol = - 'h2' - | 'spdy/3.1' - | 'spdy/3' - | 'spdy/2' - | 'http/1.1' - | 'http/1.0'; - - interface PushOptions { - status?: number; - method?: string; - request?: any; - response?: any; - } - - interface ServerOptions extends https.ServerOptions { - spdy?: { - protocols?: Protocol[], - plain?: boolean, - 'x-forwarded-for'?: boolean, - connection?: { - windowSize?: number, - autoSpdy31?: boolean, - }, - }; - } - } - - // lib/spdy/socket.js - namespace socket { - // tslint:disable-next-line no-empty-interface - interface Socket {} // net.Socket - } - - // lib/spdy.js - type Agent = agent.Agent; - type PlainAgent = agent.PlainAgent; - type AgentOptions = agent.AgentOptions; - type Socket = socket.Socket; - type Server = server.Server; - type IncomingMessage = server.IncomingMessage; - type ServerRequest = server.IncomingMessage; - type ServerResponse = server.ServerResponse; - type PlainServer = server.PlainServer; - type ServerOptions = server.ServerOptions; - function createAgent(base: any, options: AgentOptions): Agent | PlainAgent; - function createAgent(options: AgentOptions): Agent | PlainAgent; - function createServer(base: any, - options: ServerOptions, - handler: (request: IncomingMessage, response: http.ServerResponse) => void): Server; - function createServer(options: ServerOptions, - handler: (request: IncomingMessage, response: http.ServerResponse) => void): Server; - function createServer(handler: (request: IncomingMessage, response: http.ServerResponse) => void): Server; } + +// lib/spdy/handle.js +export interface Handle { + create(options: object, stream: any, socket: Socket): Handle; + getStream(callback?: (stream: any) => void): any; + assignSocket(socket: Socket, options: object): void; + assignClientRequest(req: any): void; + assignRequest(req: any): void; + assignResponse(res: any): void; + emitRequest(): void; + emitResponse(status: any, headers: any): void; +} + +// lib/spdy/request.js +export namespace request { + function onNewListener(type: string): void; +} + +// lib/spdy/response.js +export namespace response { + function writeHead(statusCode: number, reason: string, obj: object): void; + function writeHead(statusCode: number, obj: object): void; + function end(data: any, encoding: string, callback: () => void): void; +} + +// lib/spdy/server.js +export namespace server { + type Server = https.Server; + type PlainServer = http.Server; + type IncomingMessage = http.IncomingMessage; + interface ServerResponse extends http.ServerResponse { + push(filename: string, options: PushOptions): any; + } + function create(base: any, + options: https.ServerOptions, + handler: (request: IncomingMessage, response: ServerResponse | http.ServerResponse) => void): Server; + function create(options: https.ServerOptions, + handler: (request: IncomingMessage, response: http.ServerResponse) => void): Server; + function create(handler: (request: IncomingMessage, response: ServerResponse | http.ServerResponse) => void): Server; + + type Protocol = + 'h2' + | 'spdy/3.1' + | 'spdy/3' + | 'spdy/2' + | 'http/1.1' + | 'http/1.0'; + + interface PushOptions { + status?: number; + method?: string; + request?: any; + response?: any; + } + + interface ServerOptions extends https.ServerOptions { + spdy?: { + protocols?: Protocol[], + plain?: boolean, + 'x-forwarded-for'?: boolean, + connection?: { + windowSize?: number, + autoSpdy31?: boolean, + }, + }; + } +} + +// lib/spdy/socket.js +export namespace socket { + // tslint:disable-next-line no-empty-interface + interface Socket {} // net.Socket +} + +// lib/spdy.js +export type Agent = agent.Agent; +export type PlainAgent = agent.PlainAgent; +export type AgentOptions = agent.AgentOptions; +export type Socket = socket.Socket; +export type Server = server.Server; +export type IncomingMessage = server.IncomingMessage; +export type ServerRequest = server.IncomingMessage; +export type ServerResponse = server.ServerResponse; +export type PlainServer = server.PlainServer; +export type ServerOptions = server.ServerOptions; +export function createAgent(base: any, options: AgentOptions): Agent | PlainAgent; +export function createAgent(options: AgentOptions): Agent | PlainAgent; +export function createServer( + base: any, + options: ServerOptions, + handler: (request: IncomingMessage, response: http.ServerResponse) => void, +): Server; +export function createServer( + options: ServerOptions, + handler: (request: IncomingMessage, response: http.ServerResponse) => void, +): Server; +export function createServer(handler: (request: IncomingMessage, response: http.ServerResponse) => void): Server; From ab22ef85ba78475db14fd1fa453735cbab2142ce Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Fri, 6 Oct 2017 13:47:00 -0700 Subject: [PATCH 193/433] sharepoint: Fix lint (#20369) --- types/sharepoint/sharepoint-tests.ts | 86 ++++++++++++++-------------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/types/sharepoint/sharepoint-tests.ts b/types/sharepoint/sharepoint-tests.ts index b41c38f97d..2b9bba7943 100644 --- a/types/sharepoint/sharepoint-tests.ts +++ b/types/sharepoint/sharepoint-tests.ts @@ -531,7 +531,7 @@ namespace CSR { .onPostRender(fixCsrCustomLayout); function hookFormContext(preRenderContext: SPClientTemplates.RenderContext /* FormRenderContexWithHook */) { - let ctx = preRenderContext as FormRenderContexWithHook; + const ctx = preRenderContext as FormRenderContexWithHook; if (ctx.ControlMode === SPClientTemplates.ClientControlMode.EditForm || ctx.ControlMode === SPClientTemplates.ClientControlMode.NewForm) { for (const fieldSchemaInForm of ctx.ListSchema.Field) { @@ -563,7 +563,7 @@ namespace CSR { } function fixCsrCustomLayout(postRenderContext: SPClientTemplates.RenderContext /* SPClientTemplates.RenderContext_Form */) { - let ctx = postRenderContext as SPClientTemplates.RenderContext_Form; + const ctx = postRenderContext as SPClientTemplates.RenderContext_Form; if (ctx.ControlMode === SPClientTemplates.ClientControlMode.Invalid || ctx.ControlMode === SPClientTemplates.ClientControlMode.View) { return; @@ -820,7 +820,7 @@ namespace CSR { } }) .onPostRenderField(fieldName, (postRenderSchema, ctx) => { - let schema = postRenderSchema as SPClientTemplates.FieldSchema_InForm_User; + const schema = postRenderSchema as SPClientTemplates.FieldSchema_InForm_User; if (ctx.ControlMode === SPClientTemplates.ClientControlMode.EditForm || ctx.ControlMode === SPClientTemplates.ClientControlMode.NewForm) { if (schema.Type === 'User' || schema.Type === 'UserMulti') { @@ -1152,8 +1152,8 @@ namespace CSR { const dependentValues: { [field: string]: string } = {}; return this.onPostRenderField(targetField, (postRenderSchema, postRenderContext) => { - let schema = postRenderSchema as SPClientTemplates.FieldSchema_InForm; - let ctx = postRenderContext as SPClientTemplates.RenderContext_FieldInForm; + const schema = postRenderSchema as SPClientTemplates.FieldSchema_InForm; + const ctx = postRenderContext as SPClientTemplates.RenderContext_FieldInForm; if (ctx.ControlMode === SPClientTemplates.ClientControlMode.EditForm || ctx.ControlMode === SPClientTemplates.ClientControlMode.NewForm) { const targetControl = CSR.getControl(schema as SPClientTemplates.FieldSchema_InForm); @@ -1341,44 +1341,44 @@ namespace CSR { lookupAddNew(fieldName: string, prompt: string, showDialog?: boolean, contentTypeId?: string): CSR { return this.onPostRenderField(fieldName, (postRenderSchema, postRenderContext) => { - let schema = postRenderSchema as SPClientTemplates.FieldSchema_InForm_Lookup; - let ctx = postRenderContext as SPClientTemplates.RenderContext_FieldInForm; - let control: HTMLInputElement; - if (ctx.ControlMode === SPClientTemplates.ClientControlMode.EditForm - || ctx.ControlMode === SPClientTemplates.ClientControlMode.NewForm) + const schema = postRenderSchema as SPClientTemplates.FieldSchema_InForm_Lookup; + const ctx = postRenderContext as SPClientTemplates.RenderContext_FieldInForm; + let control: HTMLInputElement; + if (ctx.ControlMode === SPClientTemplates.ClientControlMode.EditForm + || ctx.ControlMode === SPClientTemplates.ClientControlMode.NewForm) - control = CSR.getControl(schema); - if (control) { - let weburl = _spPageContextInfo.webServerRelativeUrl; - if (weburl[weburl.length - 1] === '/') { - weburl = weburl.substring(0, weburl.length - 1); - } - let newFormUrl = weburl + '/_layouts/listform.aspx/listform.aspx?PageType=8' - + "&ListId=" + encodeURIComponent('{' + schema.LookupListId + '}'); - if (contentTypeId) { - newFormUrl += '&ContentTypeId=' + contentTypeId; - } - - const link = document.createElement('a'); - link.href = "javascript:NewItem2(event, \'" + newFormUrl + "&Source=" + encodeURIComponent(document.location.href) + "')"; - link.textContent = prompt; - if (control.nextElementSibling) { - control.parentElement.insertBefore(link, control.nextElementSibling); - } else { - control.parentElement.appendChild(link); - } - - if (showDialog) { - $addHandler(link, "click", (e: Sys.UI.DomEvent) => { - SP.SOD.executeFunc('sp.ui.dialog.js', 'SP.UI.ModalDialog.ShowPopupDialog', () => { - SP.UI.ModalDialog.ShowPopupDialog(newFormUrl); - }); - e.stopPropagation(); - e.preventDefault(); - }); - } + control = CSR.getControl(schema); + if (control) { + let weburl = _spPageContextInfo.webServerRelativeUrl; + if (weburl[weburl.length - 1] === '/') { + weburl = weburl.substring(0, weburl.length - 1); } - }); + let newFormUrl = weburl + '/_layouts/listform.aspx/listform.aspx?PageType=8' + + "&ListId=" + encodeURIComponent('{' + schema.LookupListId + '}'); + if (contentTypeId) { + newFormUrl += '&ContentTypeId=' + contentTypeId; + } + + const link = document.createElement('a'); + link.href = "javascript:NewItem2(event, \'" + newFormUrl + "&Source=" + encodeURIComponent(document.location.href) + "')"; + link.textContent = prompt; + if (control.nextElementSibling) { + control.parentElement.insertBefore(link, control.nextElementSibling); + } else { + control.parentElement.appendChild(link); + } + + if (showDialog) { + $addHandler(link, "click", (e: Sys.UI.DomEvent) => { + SP.SOD.executeFunc('sp.ui.dialog.js', 'SP.UI.ModalDialog.ShowPopupDialog', () => { + SP.UI.ModalDialog.ShowPopupDialog(newFormUrl); + }); + e.stopPropagation(); + e.preventDefault(); + }); + } + } + }); } register() { @@ -2278,7 +2278,7 @@ namespace SampleReputation { SP.SOD.executeFunc('typescripttemplates.ts', 'CSR', () => { CSR.override(10004, 1) .onPreRender(preRenderContext => { - let ctx = preRenderContext as MyList; + const ctx = preRenderContext as MyList; ctx.listId = ctx.listName.substring(1, 37); }) .header('<ul>') @@ -2295,7 +2295,7 @@ namespace SampleReputation { } function renderTemplate(renderContext: SPClientTemplates.RenderContext) { - let ctx = renderContext as MyList; + const ctx = renderContext as MyList; const rows = ctx.ListData.Row; let result = ''; for (const row of rows) { From 6e1ad980e8017a5731fb0c05a2ccf7c3ebcd6c2d Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Fri, 6 Oct 2017 13:59:04 -0700 Subject: [PATCH 194/433] mithril: Fix no-self-import lint failures (#20366) --- types/mithril/hyperscript.d.ts | 2 +- types/mithril/mount.d.ts | 2 +- types/mithril/redraw.d.ts | 2 +- types/mithril/render.d.ts | 2 +- types/mithril/request.d.ts | 2 +- types/mithril/route.d.ts | 2 +- types/mithril/withAttr.d.ts | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/types/mithril/hyperscript.d.ts b/types/mithril/hyperscript.d.ts index 6f83f2244f..e8ee69fff5 100644 --- a/types/mithril/hyperscript.d.ts +++ b/types/mithril/hyperscript.d.ts @@ -1,3 +1,3 @@ -import { Hyperscript } from "mithril"; +import { Hyperscript } from "."; declare const h: Hyperscript; export = h; diff --git a/types/mithril/mount.d.ts b/types/mithril/mount.d.ts index af79b918a9..305a98ae6e 100644 --- a/types/mithril/mount.d.ts +++ b/types/mithril/mount.d.ts @@ -1,3 +1,3 @@ -import { mount as _mount } from "mithril"; +import { mount as _mount } from "."; declare const mount: typeof _mount; export = mount; diff --git a/types/mithril/redraw.d.ts b/types/mithril/redraw.d.ts index 0d5e6bb04e..9f10cc31d4 100644 --- a/types/mithril/redraw.d.ts +++ b/types/mithril/redraw.d.ts @@ -1,4 +1,4 @@ -import { redraw, render } from "mithril"; +import { redraw, render } from "."; declare namespace RedrawService { interface Static { diff --git a/types/mithril/render.d.ts b/types/mithril/render.d.ts index 7861afbbae..9545fc8117 100644 --- a/types/mithril/render.d.ts +++ b/types/mithril/render.d.ts @@ -1,4 +1,4 @@ -import { render } from "mithril"; +import { render } from "."; declare namespace RenderService { interface Static { diff --git a/types/mithril/request.d.ts b/types/mithril/request.d.ts index 4a73e085f7..b5d697027a 100644 --- a/types/mithril/request.d.ts +++ b/types/mithril/request.d.ts @@ -1,4 +1,4 @@ -import { request, jsonp } from "mithril"; +import { request, jsonp } from "."; declare namespace RequestService { interface Static { diff --git a/types/mithril/route.d.ts b/types/mithril/route.d.ts index df8a13181c..aba0ab47dc 100644 --- a/types/mithril/route.d.ts +++ b/types/mithril/route.d.ts @@ -1,3 +1,3 @@ -import { Route } from "mithril"; +import { Route } from "."; declare const route: Route; export = route; diff --git a/types/mithril/withAttr.d.ts b/types/mithril/withAttr.d.ts index 7d1ea786ad..ea5e661e73 100644 --- a/types/mithril/withAttr.d.ts +++ b/types/mithril/withAttr.d.ts @@ -1,3 +1,3 @@ -import { withAttr as _withAttr } from "mithril"; +import { withAttr as _withAttr } from "."; declare const withAttr: typeof _withAttr; export = withAttr; From 947a8fb761e66f73a6750c7fd924a0e2aff0c2d5 Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Fri, 6 Oct 2017 14:03:03 -0700 Subject: [PATCH 195/433] Enable strictFunctionTypes (#20373) --- types/abbrev/tsconfig.json | 3 +- types/ably/tsconfig.json | 1 + types/abs/tsconfig.json | 1 + types/absolute/tsconfig.json | 1 + types/acc-wizard/tsconfig.json | 1 + types/accept-language-parser/tsconfig.json | 16 +- types/accepts/tsconfig.json | 1 + types/accounting/tsconfig.json | 1 + types/ace/tsconfig.json | 1 + types/acl/tsconfig.json | 1 + types/acorn/tsconfig.json | 1 + types/actioncable/tsconfig.json | 1 + types/activex-access/tsconfig.json | 7 +- types/activex-adodb/tsconfig.json | 7 +- types/activex-dao/tsconfig.json | 7 +- types/activex-excel/tsconfig.json | 7 +- types/activex-infopath/tsconfig.json | 7 +- types/activex-libreoffice/tsconfig.json | 7 +- types/activex-msforms/tsconfig.json | 7 +- types/activex-mshtml/tsconfig.json | 7 +- types/activex-msxml2/tsconfig.json | 7 +- types/activex-office/tsconfig.json | 7 +- types/activex-outlook/tsconfig.json | 7 +- types/activex-powerpoint/tsconfig.json | 7 +- types/activex-scripting/tsconfig.json | 7 +- types/activex-stdole/tsconfig.json | 7 +- types/activex-vbide/tsconfig.json | 7 +- types/activex-wia/tsconfig.json | 7 +- types/activex-word/tsconfig.json | 7 +- types/adal/tsconfig.json | 1 + types/add2home/tsconfig.json | 1 + types/adm-zip/tsconfig.json | 1 + types/adone/tsconfig.json | 3 +- types/aframe/tsconfig.json | 47 +- types/agenda/tsconfig.json | 1 + types/aggregate-error/tsconfig.json | 3 +- types/alertify/tsconfig.json | 1 + types/alexa-sdk/tsconfig.json | 1 + types/alexa-voice-service/tsconfig.json | 1 + types/algebra.js/tsconfig.json | 3 +- types/algoliasearch/tsconfig.json | 1 + types/alt/tsconfig.json | 1 + types/amazon-product-api/tsconfig.json | 1 + types/amcharts/tsconfig.json | 1 + types/amplify-deferred/tsconfig.json | 1 + types/amplify/tsconfig.json | 1 + types/amplitude-js/tsconfig.json | 1 + types/amqp-rpc/tsconfig.json | 1 + types/amqp/tsconfig.json | 3 +- types/amqplib/tsconfig.json | 3 +- types/analytics-node/tsconfig.json | 1 + types/angular-agility/tsconfig.json | 1 + types/angular-animate/tsconfig.json | 1 + types/angular-block-ui/tsconfig.json | 3 +- .../angular-bootstrap-calendar/tsconfig.json | 1 + .../angular-bootstrap-lightbox/tsconfig.json | 1 + types/angular-breadcrumb/tsconfig.json | 1 + types/angular-clipboard/tsconfig.json | 1 + types/angular-cookie/tsconfig.json | 1 + types/angular-cookies/tsconfig.json | 1 + .../angular-deferred-bootstrap/tsconfig.json | 1 + types/angular-dialog-service/tsconfig.json | 1 + types/angular-dynamic-locale/tsconfig.json | 1 + types/angular-environment/tsconfig.json | 1 + types/angular-es/tsconfig.json | 1 + types/angular-feature-flags/tsconfig.json | 1 + types/angular-file-saver/tsconfig.json | 1 + types/angular-file-upload/tsconfig.json | 3 +- types/angular-formly/tsconfig.json | 1 + types/angular-fullscreen/tsconfig.json | 1 + types/angular-gettext/tsconfig.json | 1 + types/angular-google-analytics/tsconfig.json | 1 + types/angular-gridster/tsconfig.json | 1 + types/angular-growl-v2/tsconfig.json | 1 + types/angular-hotkeys/tsconfig.json | 1 + types/angular-http-auth/tsconfig.json | 1 + types/angular-httpi/tsconfig.json | 1 + types/angular-idle/tsconfig.json | 1 + types/angular-jwt/tsconfig.json | 1 + types/angular-load/tsconfig.json | 1 + types/angular-loading-bar/tsconfig.json | 1 + types/angular-local-storage/tsconfig.json | 1 + types/angular-localforage/tsconfig.json | 1 + types/angular-locker/tsconfig.json | 1 + types/angular-material/tsconfig.json | 1 + types/angular-media-queries/tsconfig.json | 1 + types/angular-meteor/tsconfig.json | 1 + types/angular-mocks/tsconfig.json | 1 + types/angular-modal/tsconfig.json | 1 + types/angular-notifications/tsconfig.json | 1 + types/angular-notify/tsconfig.json | 1 + types/angular-oauth2/tsconfig.json | 3 +- types/angular-odata-resources/tsconfig.json | 1 + types/angular-pdfjs-viewer/tsconfig.json | 3 +- types/angular-permission/tsconfig.json | 1 + types/angular-promise-tracker/tsconfig.json | 1 + types/angular-q-spread/tsconfig.json | 1 + types/angular-resource/tsconfig.json | 1 + types/angular-route/tsconfig.json | 1 + types/angular-sanitize/tsconfig.json | 1 + types/angular-scenario/tsconfig.json | 1 + types/angular-scroll/tsconfig.json | 1 + types/angular-signalr-hub/tsconfig.json | 1 + types/angular-spinner/tsconfig.json | 1 + types/angular-storage/tsconfig.json | 1 + types/angular-strap/tsconfig.json | 1 + types/angular-toastr/tsconfig.json | 1 + types/angular-toasty/tsconfig.json | 1 + types/angular-tooltips/tsconfig.json | 3 +- types/angular-touchspin/tsconfig.json | 1 + types/angular-translate/tsconfig.json | 1 + types/angular-ui-bootstrap/tsconfig.json | 1 + types/angular-ui-notification/tsconfig.json | 1 + types/angular-ui-router/tsconfig.json | 1 + types/angular-ui-scroll/tsconfig.json | 1 + types/angular-ui-sortable/tsconfig.json | 1 + types/angular-ui-tree/tsconfig.json | 1 + types/angular-websocket/tsconfig.json | 1 + types/angular-wizard/tsconfig.json | 1 + types/angular-xeditable/tsconfig.json | 1 + types/angular.throttle/tsconfig.json | 1 + types/angular/tsconfig.json | 3 +- types/angularfire/tsconfig.json | 1 + types/angularlocalstorage/tsconfig.json | 1 + types/angulartics/tsconfig.json | 1 + types/animation-frame/tsconfig.json | 1 + types/animejs/tsconfig.json | 3 +- types/annyang/tsconfig.json | 3 +- types/ansi-styles/tsconfig.json | 1 + types/ansicolors/tsconfig.json | 1 + types/any-db-transaction/tsconfig.json | 1 + types/any-db/tsconfig.json | 1 + types/anybar/tsconfig.json | 1 + types/anydb-sql-migrations/tsconfig.json | 1 + types/anymatch/tsconfig.json | 3 +- types/apex.js/tsconfig.json | 1 + types/aphrodite/tsconfig.json | 1 + types/api-error-handler/tsconfig.json | 1 + types/apigee-access/tsconfig.json | 1 + types/apollo-codegen/tsconfig.json | 3 +- types/app-root-path/tsconfig.json | 1 + types/appframework/tsconfig.json | 1 + types/applepayjs/tsconfig.json | 45 +- types/appletvjs/tsconfig.json | 1 + types/applicationinsights-js/tsconfig.json | 1 + types/applicationinsights/tsconfig.json | 1 + types/arbiter/tsconfig.json | 1 + types/arcgis-js-api/tsconfig.json | 1 + types/arcgis-js-api/v3/tsconfig.json | 5 +- types/arcgis-rest-api/tsconfig.json | 1 + types/arcgis-to-geojson-utils/tsconfig.json | 1 + types/archiver/tsconfig.json | 1 + types/archy/tsconfig.json | 1 + types/are-we-there-yet/tsconfig.json | 3 +- types/argparse/tsconfig.json | 1 + types/argv/tsconfig.json | 1 + types/array-find-index/tsconfig.json | 1 + types/array-foreach/tsconfig.json | 1 + types/array-uniq/tsconfig.json | 1 + types/arrify/tsconfig.json | 3 +- types/artyom.js/tsconfig.json | 3 +- types/asana/tsconfig.json | 1 + types/ascii2mathml/tsconfig.json | 3 +- types/asciify/tsconfig.json | 1 + types/asenv/tsconfig.json | 3 +- types/askmethat-rating/tsconfig.json | 3 +- types/asn1js/tsconfig.json | 1 + types/aspnet-identity-pw/tsconfig.json | 1 + types/assert-equal-jsx/tsconfig.json | 3 +- types/assert-plus/tsconfig.json | 1 + types/assertion-error/tsconfig.json | 1 + types/assertsharp/tsconfig.json | 1 + types/assets-webpack-plugin/tsconfig.json | 3 +- types/async-cache/tsconfig.json | 3 +- types/async-lock/tsconfig.json | 1 + types/async-polling/tsconfig.json | 1 + types/async-writer/tsconfig.json | 1 + types/async.nexttick/tsconfig.json | 4 +- types/async/tsconfig.json | 3 +- types/asyncblock/tsconfig.json | 1 + types/atmosphere.js/tsconfig.json | 1 + types/atmosphere/tsconfig.json | 1 + types/atom-keymap/tsconfig.json | 3 +- types/atom-keymap/v5/tsconfig.json | 11 +- types/atom/tsconfig.json | 3 +- types/atom/v0/tsconfig.json | 15 +- types/atpl/tsconfig.json | 1 + types/audiosprite/tsconfig.json | 3 +- types/aurelia-knockout/tsconfig.json | 3 +- types/auth0-angular/tsconfig.json | 1 + types/auth0-js/tsconfig.json | 3 +- types/auth0-js/v7/tsconfig.json | 11 +- types/auth0-lock/tsconfig.json | 3 +- types/auth0.widget/tsconfig.json | 3 +- types/auth0/tsconfig.json | 1 + types/auto-launch/tsconfig.json | 3 +- types/auto-sni/tsconfig.json | 43 +- types/autobahn/tsconfig.json | 1 + types/autobind-decorator/tsconfig.json | 1 + types/autolinker/tsconfig.json | 1 + types/autoprefixer-core/tsconfig.json | 1 + types/autoprefixer/tsconfig.json | 3 +- types/autosize/tsconfig.json | 1 + types/avoscloud-sdk/tsconfig.json | 1 + types/awesomplete/tsconfig.json | 1 + types/aws-iot-device-sdk/tsconfig.json | 1 + types/aws-lambda-mock-context/tsconfig.json | 1 + types/aws-lambda/tsconfig.json | 1 + types/aws-serverless-express/tsconfig.json | 3 +- types/aws4/tsconfig.json | 1 + types/axel/tsconfig.json | 41 +- types/axios-mock-adapter/tsconfig.json | 5 +- .../tsconfig.json | 1 + types/azure-sb/tsconfig.json | 1 + types/azure/tsconfig.json | 1 + types/b_/tsconfig.json | 3 +- types/babel-code-frame/tsconfig.json | 1 + types/babel-core/tsconfig.json | 1 + types/babel-generator/tsconfig.json | 1 + types/babel-plugin-react-pug/tsconfig.json | 43 +- types/babel-plugin-syntax-jsx/tsconfig.json | 3 +- types/babel-template/tsconfig.json | 1 + types/babel-traverse/tsconfig.json | 1 + types/babel-types/tsconfig.json | 1 + types/babelify/tsconfig.json | 1 + types/babylon/tsconfig.json | 1 + types/babyparse/tsconfig.json | 1 + types/backbone-associations/tsconfig.json | 1 + types/backbone-fetch-cache/tsconfig.json | 1 + types/backbone-relational/tsconfig.json | 1 + types/backbone.layoutmanager/tsconfig.json | 1 + types/backbone.localstorage/tsconfig.json | 1 + types/backbone.marionette/tsconfig.json | 1 + types/backbone.paginator/tsconfig.json | 1 + types/backbone.radio/tsconfig.json | 1 + types/backbone/tsconfig.json | 1 + types/backgrid/tsconfig.json | 1 + types/backlog-js/tsconfig.json | 1 + types/backoff/tsconfig.json | 3 +- types/baconjs/tsconfig.json | 1 + types/bagpipes/tsconfig.json | 3 +- types/baidumap-web-sdk/tsconfig.json | 3 +- types/barcode/tsconfig.json | 1 + types/bardjs/tsconfig.json | 1 + types/base-64/tsconfig.json | 1 + types/base-x/tsconfig.json | 1 + types/base16/tsconfig.json | 1 + types/base64-js/tsconfig.json | 1 + types/bases/tsconfig.json | 1 + types/basic-auth/tsconfig.json | 1 + types/batch-stream/tsconfig.json | 1 + types/bazinga-translator/tsconfig.json | 1 + types/bcrypt-nodejs/tsconfig.json | 1 + types/bcrypt/tsconfig.json | 1 + types/bcryptjs/tsconfig.json | 1 + types/bem-cn/tsconfig.json | 3 +- types/benchmark/tsconfig.json | 1 + types/better-curry/tsconfig.json | 1 + types/better-sqlite3/tsconfig.json | 5 +- types/bezier-easing/tsconfig.json | 1 + types/bezier-js/tsconfig.json | 1 + types/bgiframe/tsconfig.json | 1 + types/big.js/tsconfig.json | 3 +- types/bigi/tsconfig.json | 1 + types/bigint/tsconfig.json | 1 + types/bignum/tsconfig.json | 1 + types/bignumber.js/tsconfig.json | 1 + types/bigscreen/tsconfig.json | 1 + types/bind-ponyfill/tsconfig.json | 1 + types/bingmaps/tsconfig.json | 3 +- types/bintrees/tsconfig.json | 1 + types/bip21/tsconfig.json | 1 + types/bit-array/tsconfig.json | 1 + types/bitcoinjs-lib/tsconfig.json | 3 +- types/bittorrent-protocol/tsconfig.json | 3 +- types/bitwise-xor/tsconfig.json | 1 + types/bl/tsconfig.json | 1 + types/blacklist/tsconfig.json | 1 + types/blazy/tsconfig.json | 1 + types/bleno/tsconfig.json | 3 +- types/blessed/tsconfig.json | 1 + types/blissfuljs/tsconfig.json | 1 + types/blob-stream/tsconfig.json | 1 + types/blob-util/tsconfig.json | 3 +- types/blocks/tsconfig.json | 1 + types/bloomfilter/tsconfig.json | 45 +- types/blue-tape/tsconfig.json | 1 + types/bluebird-global/tsconfig.json | 1 + types/bluebird-retry/tsconfig.json | 1 + types/bluebird/tsconfig.json | 3 +- types/bluebird/v1/tsconfig.json | 1 + types/bluebird/v2/tsconfig.json | 1 + types/blueimp-md5/tsconfig.json | 1 + types/body-parser/tsconfig.json | 3 +- types/bonjour/tsconfig.json | 1 + types/bookshelf/tsconfig.json | 1 + types/boolify-string/tsconfig.json | 1 + types/boom/tsconfig.json | 1 + types/boom/v3/tsconfig.json | 1 + types/bootbox/tsconfig.json | 3 +- types/bootpag/tsconfig.json | 1 + types/bootstrap-datepicker/tsconfig.json | 1 + types/bootstrap-fileinput/tsconfig.json | 1 + types/bootstrap-maxlength/tsconfig.json | 1 + types/bootstrap-notify/tsconfig.json | 1 + types/bootstrap-select/tsconfig.json | 1 + types/bootstrap-slider/tsconfig.json | 3 +- types/bootstrap-switch/tsconfig.json | 1 + types/bootstrap-table/tsconfig.json | 1 + types/bootstrap-touchspin/tsconfig.json | 1 + types/bootstrap-treeview/tsconfig.json | 3 +- types/bootstrap-validator/tsconfig.json | 1 + types/bootstrap.paginator/tsconfig.json | 1 + types/bootstrap.timepicker/tsconfig.json | 1 + .../bootstrap.v3.datetimepicker/tsconfig.json | 1 + .../v3/tsconfig.json | 1 + types/bootstrap/tsconfig.json | 1 + types/botvs/tsconfig.json | 3 +- types/bounce.js/tsconfig.json | 1 + types/bowser/tsconfig.json | 1 + types/box2d/tsconfig.json | 1 + types/brace-expansion/tsconfig.json | 3 +- types/braintree-web/tsconfig.json | 3 +- types/breeze/tsconfig.json | 1 + types/bricks.js/tsconfig.json | 3 +- types/brorand/tsconfig.json | 1 + types/browser-bunyan/tsconfig.json | 1 + types/browser-fingerprint/tsconfig.json | 1 + types/browser-harness/tsconfig.json | 1 + types/browser-pack/tsconfig.json | 1 + types/browser-report/tsconfig.json | 1 + types/browser-resolve/tsconfig.json | 1 + types/browser-sync/tsconfig.json | 1 + types/browserify/tsconfig.json | 1 + types/bs58/tsconfig.json | 1 + types/bson/tsconfig.json | 1 + types/bucks/tsconfig.json | 1 + types/buffer-compare/tsconfig.json | 1 + types/buffer-equal/tsconfig.json | 1 + types/buffers/tsconfig.json | 1 + types/bufferstream/tsconfig.json | 1 + types/bull/tsconfig.json | 9 +- types/bull/v2/tsconfig.json | 17 +- types/bunnymq/tsconfig.json | 1 + types/bunyan-blackhole/tsconfig.json | 1 + types/bunyan-bugsnag/tsconfig.json | 3 +- types/bunyan-config/tsconfig.json | 1 + types/bunyan-logentries/tsconfig.json | 1 + types/bunyan-prettystream/tsconfig.json | 1 + types/bunyan-winston-adapter/tsconfig.json | 3 +- types/bunyan/tsconfig.json | 1 + types/busboy/tsconfig.json | 1 + types/business-rules-engine/tsconfig.json | 5 +- types/bwip-js/tsconfig.json | 1 + types/byline/tsconfig.json | 1 + types/bytebuffer/tsconfig.json | 1 + types/bytes/tsconfig.json | 1 + types/c3/tsconfig.json | 5 +- types/cache-manager/tsconfig.json | 1 + types/cachefactory/tsconfig.json | 1 + types/cal-heatmap/tsconfig.json | 5 +- types/callsite/tsconfig.json | 1 + types/callsites/tsconfig.json | 3 +- types/calq/tsconfig.json | 1 + types/camelcase-keys/tsconfig.json | 1 + types/camelcase/tsconfig.json | 3 +- types/camljs/tsconfig.json | 1 + types/camo/tsconfig.json | 1 + types/cannon/tsconfig.json | 1 + types/canvas-gauges/tsconfig.json | 1 + types/canvasjs/tsconfig.json | 3 +- types/capitalize/tsconfig.json | 1 + types/card-validator/tsconfig.json | 3 +- types/cash/tsconfig.json | 1 + types/casperjs/tsconfig.json | 1 + types/cassandra-driver/tsconfig.json | 1 + types/catbox/tsconfig.json | 3 +- types/cbor/tsconfig.json | 1 + types/ccap/tsconfig.json | 3 +- types/chai-arrays/tsconfig.json | 3 +- types/chai-as-promised/tsconfig.json | 3 +- types/chai-datetime/tsconfig.json | 1 + types/chai-dom/tsconfig.json | 1 + types/chai-enzyme/tsconfig.json | 1 + types/chai-fuzzy/tsconfig.json | 1 + types/chai-http/tsconfig.json | 1 + types/chai-jest-snapshot/tsconfig.json | 3 +- types/chai-jquery/tsconfig.json | 1 + types/chai-json-schema/tsconfig.json | 1 + types/chai-oequal/tsconfig.json | 1 + types/chai-spies/tsconfig.json | 1 + types/chai-string/tsconfig.json | 1 + types/chai-subset/tsconfig.json | 1 + types/chai-things/tsconfig.json | 1 + types/chai-xml/tsconfig.json | 1 + types/chai/tsconfig.json | 1 + types/chai/v2/tsconfig.json | 1 + types/chalk/tsconfig.json | 1 + types/chance/tsconfig.json | 1 + types/change-emitter/tsconfig.json | 1 + types/charm/tsconfig.json | 1 + types/chart.js/tsconfig.json | 1 + types/chartist/tsconfig.json | 1 + types/chartjs/tsconfig.json | 1 + types/chayns/tsconfig.json | 3 +- types/check-sum/tsconfig.json | 3 +- types/checkstyle-formatter/tsconfig.json | 1 + types/checksum/tsconfig.json | 1 + types/cheerio/tsconfig.json | 1 + types/chmodr/tsconfig.json | 3 +- types/chocolatechipjs/tsconfig.json | 1 + types/chokidar/tsconfig.json | 1 + types/chosen-js/tsconfig.json | 1 + types/chownr/tsconfig.json | 3 +- types/chroma-js/tsconfig.json | 1 + types/chroma-js/v0/tsconfig.json | 1 + types/chrome/tsconfig.json | 3 +- types/chui/tsconfig.json | 3 +- types/chunked-dc/tsconfig.json | 1 + types/circular-json/tsconfig.json | 1 + types/ckeditor/tsconfig.json | 1 + types/clamp-js/tsconfig.json | 3 +- types/classnames/tsconfig.json | 3 +- types/cldrjs/tsconfig.json | 1 + types/clean-css/tsconfig.json | 1 + types/clean-stack/tsconfig.json | 3 +- types/clear-require/tsconfig.json | 3 +- types/cli-color/tsconfig.json | 1 + types/cli-table2/tsconfig.json | 1 + types/cli/tsconfig.json | 1 + types/client-sessions/tsconfig.json | 7 +- types/cliff/tsconfig.json | 1 + types/clipboard-js/tsconfig.json | 1 + types/clipboard/tsconfig.json | 1 + types/clipboardy/tsconfig.json | 3 +- types/clndr/tsconfig.json | 3 +- types/clone/tsconfig.json | 1 + types/closure-compiler/tsconfig.json | 1 + types/cloud-env/tsconfig.json | 41 +- types/cloudflare-apps/tsconfig.json | 3 +- types/cls-hooked/tsconfig.json | 3 +- types/co-body/tsconfig.json | 1 + types/co-views/tsconfig.json | 1 + types/code/tsconfig.json | 1 + types/codemirror/tsconfig.json | 1 + types/codependency/tsconfig.json | 1 + types/coffeeify/tsconfig.json | 1 + types/coinstring/tsconfig.json | 1 + types/collections/tsconfig.json | 41 +- types/color-convert/tsconfig.json | 3 +- types/color-name/tsconfig.json | 7 +- types/color-string/tsconfig.json | 3 +- types/color/tsconfig.json | 3 +- types/color/v0/tsconfig.json | 1 + types/color/v1/tsconfig.json | 3 +- types/colorbrewer/tsconfig.json | 1 + types/colors/tsconfig.json | 1 + .../tsconfig.json | 1 + types/combine-source-map/tsconfig.json | 1 + types/combined-stream/tsconfig.json | 7 +- types/combokeys/tsconfig.json | 1 + types/cometd/tsconfig.json | 1 + types/command-line-args/tsconfig.json | 1 + types/command-line-commands/tsconfig.json | 1 + types/commander/tsconfig.json | 1 + types/commangular/tsconfig.json | 1 + types/comment-json/tsconfig.json | 1 + types/common-tags/tsconfig.json | 1 + types/commonmark/tsconfig.json | 3 +- types/compare-version/tsconfig.json | 1 + types/complex/tsconfig.json | 1 + types/component-emitter/tsconfig.json | 1 + types/compose-function/tsconfig.json | 1 + types/compressible/tsconfig.json | 3 +- .../compression-webpack-plugin/tsconfig.json | 3 +- types/compression/tsconfig.json | 1 + types/concat-stream/tsconfig.json | 1 + types/concaveman/tsconfig.json | 1 + types/conf/tsconfig.json | 3 +- types/conf/v0/tsconfig.json | 7 +- types/confidence/tsconfig.json | 1 + types/config/tsconfig.json | 1 + types/configstore/tsconfig.json | 1 + types/confit/tsconfig.json | 1 + types/connect-ensure-login/tsconfig.json | 3 +- types/connect-flash/tsconfig.json | 1 + .../tsconfig.json | 3 +- types/connect-livereload/tsconfig.json | 1 + types/connect-modrewrite/tsconfig.json | 1 + types/connect-mongo/tsconfig.json | 1 + types/connect-pg-simple/tsconfig.json | 3 +- types/connect-redis/tsconfig.json | 1 + types/connect-slashes/tsconfig.json | 1 + types/connect-timeout/tsconfig.json | 1 + types/connect/tsconfig.json | 1 + types/console-stamp/tsconfig.json | 1 + types/consolidate/tsconfig.json | 3 +- types/consul/tsconfig.json | 1 + types/content-disposition/tsconfig.json | 1 + types/content-type/tsconfig.json | 3 +- .../contentful-resolve-response/tsconfig.json | 1 + types/contextjs/tsconfig.json | 1 + .../continuation-local-storage/tsconfig.json | 3 +- types/convert-hrtime/tsconfig.json | 3 +- types/convert-layout/tsconfig.json | 3 +- types/convert-source-map/tsconfig.json | 1 + types/convict/tsconfig.json | 1 + types/cookie-parser/tsconfig.json | 1 + types/cookie-session/tsconfig.json | 1 + types/cookie-signature/tsconfig.json | 3 +- types/cookie/tsconfig.json | 1 + types/cookie_js/tsconfig.json | 3 +- types/cookies/tsconfig.json | 1 + types/copy-paste/tsconfig.json | 1 + types/copy-text-to-clipboard/tsconfig.json | 3 +- types/copy-webpack-plugin/tsconfig.json | 1 + types/cordova-ionic/tsconfig.json | 1 + .../cordova-plugin-app-version/tsconfig.json | 43 +- .../tsconfig.json | 1 + types/cordova-plugin-badge/tsconfig.json | 3 +- .../tsconfig.json | 1 + .../cordova-plugin-ble-central/tsconfig.json | 1 + types/cordova-plugin-camera/tsconfig.json | 1 + .../cordova-plugin-canvascamera/tsconfig.json | 1 + types/cordova-plugin-contacts/tsconfig.json | 1 + .../tsconfig.json | 1 + .../cordova-plugin-device-name/tsconfig.json | 1 + .../tsconfig.json | 1 + types/cordova-plugin-device/tsconfig.json | 1 + types/cordova-plugin-dialogs/tsconfig.json | 1 + .../tsconfig.json | 1 + .../cordova-plugin-file-opener2/tsconfig.json | 3 +- .../tsconfig.json | 1 + types/cordova-plugin-file/tsconfig.json | 1 + .../tsconfig.json | 1 + types/cordova-plugin-ibeacon/tsconfig.json | 5 +- .../cordova-plugin-inappbrowser/tsconfig.json | 3 +- types/cordova-plugin-insomnia/tsconfig.json | 1 + types/cordova-plugin-keyboard/tsconfig.json | 1 + types/cordova-plugin-mapsforge/tsconfig.json | 1 + .../tsconfig.json | 1 + types/cordova-plugin-media/tsconfig.json | 1 + types/cordova-plugin-ms-adal/tsconfig.json | 1 + .../tsconfig.json | 3 +- .../tsconfig.json | 1 + types/cordova-plugin-ouralabs/tsconfig.json | 1 + types/cordova-plugin-qrscanner/tsconfig.json | 1 + types/cordova-plugin-spinner/tsconfig.json | 1 + .../cordova-plugin-splashscreen/tsconfig.json | 1 + types/cordova-plugin-statusbar/tsconfig.json | 1 + types/cordova-plugin-vibration/tsconfig.json | 1 + types/cordova-plugin-websql/tsconfig.json | 1 + .../tsconfig.json | 1 + types/cordova-sqlite-storage/tsconfig.json | 1 + .../cordova.plugins.diagnostic/tsconfig.json | 1 + types/cordova/tsconfig.json | 1 + .../cordova_app_version_plugin/tsconfig.json | 1 + types/cordovarduino/tsconfig.json | 1 + types/core-decorators/tsconfig.json | 1 + types/core-js/tsconfig.json | 1 + types/cors/tsconfig.json | 1 + types/cote/tsconfig.json | 3 +- types/couchbase/tsconfig.json | 1 + types/countdown/tsconfig.json | 1 + types/counterpart/tsconfig.json | 3 +- types/countries-and-timezones/tsconfig.json | 3 +- types/country-list/tsconfig.json | 3 +- types/country-select-js/tsconfig.json | 3 +- types/cp-file/tsconfig.json | 3 +- types/cpy/tsconfig.json | 3 +- types/cradle/tsconfig.json | 1 + types/crc/tsconfig.json | 1 + types/create-error/tsconfig.json | 1 + types/createjs-lib/tsconfig.json | 1 + types/createjs/tsconfig.json | 1 + types/credential/tsconfig.json | 1 + types/credit-card-type/tsconfig.json | 1 + types/cron/tsconfig.json | 1 + types/cropperjs/tsconfig.json | 1 + types/croppie/tsconfig.json | 1 + types/cross-storage/tsconfig.json | 1 + types/crossfilter/tsconfig.json | 1 + types/crossroads/tsconfig.json | 1 + types/cryptiles/tsconfig.json | 3 +- types/crypto-js/tsconfig.json | 3 +- types/cryptojs/tsconfig.json | 1 + types/cson/tsconfig.json | 1 + types/csprng/tsconfig.json | 3 +- types/csrf/tsconfig.json | 3 +- types/css-font-loading-module/tsconfig.json | 1 + types/css-modules-require-hook/tsconfig.json | 1 + types/css-modules/tsconfig.json | 1 + types/css/tsconfig.json | 1 + types/cssbeautify/tsconfig.json | 1 + types/csurf/tsconfig.json | 1 + types/csv-parse/tsconfig.json | 1 + types/csv-stringify/tsconfig.json | 1 + types/csvtojson/tsconfig.json | 3 +- types/cucumber/tsconfig.json | 3 +- types/cucumber/v1/tsconfig.json | 3 +- types/cuid/tsconfig.json | 1 + types/currency-formatter/tsconfig.json | 1 + types/custom-error-generator/tsconfig.json | 1 + types/cwise-compiler/tsconfig.json | 3 +- types/cwise-parser/tsconfig.json | 3 +- types/cwise/tsconfig.json | 41 +- types/cybozulabs-md5/tsconfig.json | 1 + types/cypress/tsconfig.json | 3 +- types/d3-array/tsconfig.json | 1 + types/d3-axis/tsconfig.json | 1 + types/d3-box/tsconfig.json | 5 +- types/d3-brush/tsconfig.json | 1 + types/d3-chord/tsconfig.json | 1 + types/d3-collection/tsconfig.json | 1 + types/d3-color/tsconfig.json | 1 + types/d3-contour/tsconfig.json | 3 +- types/d3-dispatch/tsconfig.json | 1 + types/d3-drag/tsconfig.json | 1 + types/d3-dsv/tsconfig.json | 1 + types/d3-dsv/v0/tsconfig.json | 1 + types/d3-ease/tsconfig.json | 1 + types/d3-force/tsconfig.json | 1 + types/d3-format/tsconfig.json | 1 + types/d3-geo/tsconfig.json | 1 + types/d3-hexbin/tsconfig.json | 1 + types/d3-hierarchy/tsconfig.json | 1 + types/d3-hsv/tsconfig.json | 1 + types/d3-interpolate/tsconfig.json | 1 + types/d3-path/tsconfig.json | 1 + types/d3-polygon/tsconfig.json | 1 + types/d3-quadtree/tsconfig.json | 1 + types/d3-queue/tsconfig.json | 1 + types/d3-random/tsconfig.json | 3 +- types/d3-request/tsconfig.json | 1 + types/d3-sankey/tsconfig.json | 3 +- types/d3-scale-chromatic/tsconfig.json | 1 + types/d3-scale/tsconfig.json | 1 + types/d3-selection-multi/tsconfig.json | 1 + types/d3-selection/tsconfig.json | 1 + types/d3-shape/tsconfig.json | 1 + types/d3-time-format/tsconfig.json | 1 + types/d3-time/tsconfig.json | 1 + types/d3-timer/tsconfig.json | 1 + types/d3-tip/tsconfig.json | 5 +- types/d3-transition/tsconfig.json | 1 + types/d3-voronoi/tsconfig.json | 1 + types/d3-zoom/tsconfig.json | 1 + types/d3.cloud.layout/tsconfig.json | 5 +- types/d3.slider/tsconfig.json | 5 +- types/d3/tsconfig.json | 1 + types/d3/v3/tsconfig.json | 1 + types/d3kit/tsconfig.json | 1 + types/d3kit/v1/tsconfig.json | 1 + types/d3pie/tsconfig.json | 1 + types/dagre-d3/tsconfig.json | 5 +- types/dagre-layout/tsconfig.json | 3 +- types/dagre/tsconfig.json | 1 + types/dargs/tsconfig.json | 3 +- types/dat-gui/tsconfig.json | 1 + types/data-driven/tsconfig.json | 1 + types/datadog-metrics/tsconfig.json | 3 +- types/datatables.net-buttons/tsconfig.json | 1 + .../datatables.net-fixedheader/tsconfig.json | 1 + types/datatables.net-rowreorder/tsconfig.json | 1 + types/datatables.net-select/tsconfig.json | 1 + types/datatables.net/tsconfig.json | 1 + types/date.format.js/tsconfig.json | 1 + types/dateformat/tsconfig.json | 1 + types/datejs/tsconfig.json | 1 + types/daterangepicker/tsconfig.json | 1 + types/db-migrate-base/tsconfig.json | 1 + types/db-migrate-pg/tsconfig.json | 1 + types/db.js/tsconfig.json | 1 + types/dc/tsconfig.json | 5 +- types/deasync/tsconfig.json | 3 +- types/debessmann/tsconfig.json | 3 +- types/debounce/tsconfig.json | 1 + types/debug/tsconfig.json | 1 + types/decamelize/tsconfig.json | 3 +- types/decay/tsconfig.json | 3 +- types/decimal.js/tsconfig.json | 1 + types/decorum/tsconfig.json | 1 + types/dedent/tsconfig.json | 3 +- types/deep-assign/tsconfig.json | 1 + types/deep-diff/tsconfig.json | 1 + types/deep-equal/tsconfig.json | 1 + types/deep-extend/tsconfig.json | 1 + types/deep-freeze-es6/tsconfig.json | 3 +- types/deep-freeze-strict/tsconfig.json | 1 + types/deep-freeze/tsconfig.json | 1 + types/deepmerge/tsconfig.json | 1 + types/defaults/tsconfig.json | 1 + types/define-lazy-prop/tsconfig.json | 3 +- types/defined/tsconfig.json | 3 +- types/deku/tsconfig.json | 1 + types/del/tsconfig.json | 3 +- types/del/v2/tsconfig.json | 7 +- types/delaunator/tsconfig.json | 3 +- types/delay/tsconfig.json | 3 +- types/denodeify/tsconfig.json | 1 + types/deoxxa-content-type/tsconfig.json | 1 + types/depd/tsconfig.json | 3 +- types/deployjava/tsconfig.json | 1 + types/destroy-on-hwm/tsconfig.json | 3 +- types/destroy/tsconfig.json | 3 +- types/detect-browser/tsconfig.json | 1 + types/detect-hover/tsconfig.json | 3 +- types/detect-indent/tsconfig.json | 3 +- types/detect-indent/v0/tsconfig.json | 7 +- types/detect-it/tsconfig.json | 3 +- types/detect-newline/tsconfig.json | 3 +- types/detect-passive-events/tsconfig.json | 3 +- types/detect-pointer/tsconfig.json | 3 +- types/detect-port/tsconfig.json | 1 + types/detect-touch-events/tsconfig.json | 3 +- types/devexpress-web/tsconfig.json | 1 + types/devexpress-web/v161/tsconfig.json | 9 +- types/devexpress-web/v162/tsconfig.json | 9 +- types/devtools-detect/tsconfig.json | 1 + types/df-visible/tsconfig.json | 1 + types/dhtmlxgantt/tsconfig.json | 1 + types/dhtmlxscheduler/tsconfig.json | 1 + types/di-lite/tsconfig.json | 1 + types/diacritics/tsconfig.json | 1 + types/diff-match-patch/tsconfig.json | 1 + types/diff/tsconfig.json | 1 + types/diff2html/tsconfig.json | 1 + types/dir-resolve/tsconfig.json | 1 + types/discontinuous-range/tsconfig.json | 1 + types/disposable-email-domains/tsconfig.json | 1 + types/doccookies/tsconfig.json | 1 + types/dock-spawn/tsconfig.json | 1 + types/dockerode/tsconfig.json | 1 + types/docopt/tsconfig.json | 1 + types/doctrine/tsconfig.json | 1 + types/documentdb-server/tsconfig.json | 1 + types/documentdb-session/tsconfig.json | 3 +- types/documentdb/tsconfig.json | 5 +- types/dojo/tsconfig.json | 1 + types/dom-inputevent/tsconfig.json | 3 +- types/dom4/tsconfig.json | 1 + types/domo/tsconfig.json | 1 + types/dompurify/tsconfig.json | 1 + types/domready/tsconfig.json | 1 + types/domurl/tsconfig.json | 1 + types/donna/tsconfig.json | 1 + types/dookie/tsconfig.json | 1 + types/dot-object/tsconfig.json | 1 + types/dot-prop/tsconfig.json | 3 +- types/dot-prop/v2/tsconfig.json | 7 +- types/dot/tsconfig.json | 1 + types/dotdotdot/tsconfig.json | 1 + types/dotenv-safe/tsconfig.json | 43 +- types/dotenv/tsconfig.json | 1 + types/dotenv/v2/tsconfig.json | 7 +- types/dottie/tsconfig.json | 3 +- types/doublearray/tsconfig.json | 1 + types/doubleclick-gpt/tsconfig.json | 1 + types/downloadjs/tsconfig.json | 45 +- types/draft-js/tsconfig.json | 1 + types/drag-timetable/tsconfig.json | 3 +- types/draggabilly/tsconfig.json | 3 +- types/dragster/tsconfig.json | 1 + types/dragula/tsconfig.json | 1 + types/dropboxjs/tsconfig.json | 1 + types/dropkickjs/tsconfig.json | 1 + types/dropzone/tsconfig.json | 1 + types/dropzone/v4/tsconfig.json | 5 +- types/dsv/tsconfig.json | 1 + types/dts-bundle/tsconfig.json | 1 + types/dts-generator/tsconfig.json | 3 +- types/duplexer2/tsconfig.json | 1 + types/duplexer3/tsconfig.json | 3 +- types/duplexify/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/durandal/tsconfig.json | 1 + types/durandal/v1/tsconfig.json | 1 + types/dustjs-linkedin/tsconfig.json | 1 + types/dw-bxslider-4/tsconfig.json | 1 + types/dwt/tsconfig.json | 1 + types/dwt/v12/tsconfig.json | 9 +- types/dygraphs/tsconfig.json | 1 + types/dymo-label-framework/tsconfig.json | 1 + types/dynatable/tsconfig.json | 1 + types/each/tsconfig.json | 1 + types/easeljs/tsconfig.json | 1 + types/easy-api-request/tsconfig.json | 5 +- types/easy-jsend/tsconfig.json | 1 + types/easy-session/tsconfig.json | 1 + types/easy-table/tsconfig.json | 1 + types/easy-x-headers/tsconfig.json | 1 + types/easy-xapi-supertest/tsconfig.json | 1 + types/easy-xapi-utils/tsconfig.json | 1 + types/easy-xapi/tsconfig.json | 1 + types/easystarjs/tsconfig.json | 1 + types/ebongarde-root/tsconfig.json | 3 +- types/echarts/tsconfig.json | 1 + types/ecurve/tsconfig.json | 1 + types/egg-mock/tsconfig.json | 1 + types/egg.js/tsconfig.json | 1 + types/egg/tsconfig.json | 1 + types/egjs__axes/tsconfig.json | 13 +- types/egjs__component/tsconfig.json | 9 +- types/ej.web.all/tsconfig.json | 3 +- types/ejs-locals/tsconfig.json | 1 + types/ejs/tsconfig.json | 1 + types/ejson/tsconfig.json | 1 + types/elastic.js/tsconfig.json | 1 + types/elasticsearch/tsconfig.json | 1 + types/electron-config/tsconfig.json | 3 +- types/electron-debug/tsconfig.json | 1 + .../electron-devtools-installer/tsconfig.json | 1 + types/electron-is-dev/tsconfig.json | 3 +- types/electron-json-storage/tsconfig.json | 1 + types/electron-notifications/tsconfig.json | 1 + types/electron-notify/tsconfig.json | 1 + types/electron-packager/tsconfig.json | 1 + types/electron-settings/tsconfig.json | 3 +- types/electron-settings/v2/tsconfig.json | 3 +- types/electron-store/tsconfig.json | 3 +- types/electron-window-state/tsconfig.json | 1 + types/electron-winstaller/tsconfig.json | 3 +- types/element-ready/tsconfig.json | 3 +- types/element-resize-event/tsconfig.json | 1 + types/elm/tsconfig.json | 1 + types/email-addresses/tsconfig.json | 1 + types/email-templates/tsconfig.json | 3 +- types/email-validator/tsconfig.json | 1 + types/ember-testing-helpers/tsconfig.json | 3 +- types/ember/tsconfig.json | 3 +- types/ember/v1/tsconfig.json | 1 + types/emissary/tsconfig.json | 1 + types/emojione/tsconfig.json | 1 + types/empower/tsconfig.json | 1 + types/emscripten/tsconfig.json | 1 + types/encoding-japanese/tsconfig.json | 1 + types/end-of-stream/tsconfig.json | 3 +- types/engine.io-client/tsconfig.json | 3 +- types/engine.io/tsconfig.json | 3 +- types/enhanced-resolve/tsconfig.json | 1 + types/ent/tsconfig.json | 1 + types/entities/tsconfig.json | 3 +- types/env-to-object/tsconfig.json | 1 + types/envify/tsconfig.json | 1 + types/enzyme-to-json/tsconfig.json | 3 +- types/enzyme/tsconfig.json | 1 + .../tsconfig.json | 1 + types/epiceditor/tsconfig.json | 1 + types/epub/tsconfig.json | 1 + types/eq.js/tsconfig.json | 1 + types/error-stack-parser/tsconfig.json | 1 + types/errorhandler/tsconfig.json | 1 + types/es6-collections/tsconfig.json | 1 + types/es6-error/tsconfig.json | 1 + types/es6-promise/tsconfig.json | 1 + types/es6-promisify/tsconfig.json | 3 +- types/es6-shim/tsconfig.json | 3 +- types/es6-weak-map/tsconfig.json | 4 +- types/escape-html/tsconfig.json | 1 + types/escape-latex/tsconfig.json | 1 + types/escape-string-regexp/tsconfig.json | 1 + types/escodegen/tsconfig.json | 1 + types/eslint-plugin-prettier/tsconfig.json | 16 +- types/esprima-walk/tsconfig.json | 1 + types/esprima/tsconfig.json | 1 + types/esprima/v2/tsconfig.json | 49 +- types/esri-leaflet-geocoder/tsconfig.json | 3 +- types/esri-leaflet/tsconfig.json | 3 +- types/estraverse/tsconfig.json | 1 + types/estree/tsconfig.json | 1 + types/etag/tsconfig.json | 3 +- types/ethjs-signer/tsconfig.json | 3 +- types/eureka-js-client/tsconfig.json | 1 + types/evaporate/tsconfig.json | 1 + types/event-emitter/tsconfig.json | 3 +- types/event-kit/tsconfig.json | 3 +- types/event-kit/v1/tsconfig.json | 7 +- types/event-loop-lag/tsconfig.json | 1 + types/event-stream/tsconfig.json | 5 +- types/event-to-promise/tsconfig.json | 1 + types/evernote/tsconfig.json | 1 + types/exceljs/tsconfig.json | 3 +- types/execa/tsconfig.json | 3 +- types/exit-hook/tsconfig.json | 3 +- types/exit/tsconfig.json | 1 + types/exorcist/tsconfig.json | 1 + types/expect.js/tsconfig.json | 1 + types/expect/tsconfig.json | 1 + types/expectations/tsconfig.json | 1 + types/expr-eval/tsconfig.json | 1 + types/express-brute-memcached/tsconfig.json | 1 + types/express-brute-mongo/tsconfig.json | 1 + types/express-brute-redis/tsconfig.json | 3 +- types/express-brute/tsconfig.json | 1 + types/express-debug/tsconfig.json | 1 + types/express-domain-middleware/tsconfig.json | 1 + types/express-enforces-ssl/tsconfig.json | 3 +- types/express-fileupload/tsconfig.json | 3 +- types/express-flash-2/tsconfig.json | 1 + types/express-formidable/tsconfig.json | 1 + types/express-graphql/tsconfig.json | 3 +- types/express-handlebars/tsconfig.json | 1 + types/express-jwt/tsconfig.json | 1 + types/express-less/tsconfig.json | 1 + types/express-minify/tsconfig.json | 1 + types/express-mung/tsconfig.json | 1 + types/express-myconnection/tsconfig.json | 1 + types/express-mysql-session/tsconfig.json | 1 + types/express-openapi/tsconfig.json | 1 + types/express-partials/tsconfig.json | 1 + types/express-rate-limit/tsconfig.json | 43 +- types/express-route-fs/tsconfig.json | 1 + types/express-sanitized/tsconfig.json | 3 +- types/express-serve-static-core/tsconfig.json | 1 + types/express-session/tsconfig.json | 1 + types/express-unless/tsconfig.json | 1 + types/express-useragent/tsconfig.json | 1 + types/express/tsconfig.json | 1 + types/extend/tsconfig.json | 1 + types/extended-listbox/tsconfig.json | 1 + types/extjs/tsconfig.json | 1 + types/extract-stack/tsconfig.json | 3 +- .../extract-text-webpack-plugin/tsconfig.json | 3 +- types/extract-zip/tsconfig.json | 1 + types/eyes/tsconfig.json | 1 + types/f1/tsconfig.json | 1 + types/fabric/tsconfig.json | 1 + types/facebook-js-sdk/tsconfig.json | 1 + types/facebook-pixel/tsconfig.json | 1 + types/faker/tsconfig.json | 3 +- types/faker/v3/tsconfig.json | 7 +- types/falcor-express/tsconfig.json | 1 + types/falcor-http-datasource/tsconfig.json | 1 + types/falcor-json-graph/tsconfig.json | 1 + types/falcor-router/tsconfig.json | 1 + types/falcor/tsconfig.json | 1 + types/famous/tsconfig.json | 1 + types/fancybox/tsconfig.json | 1 + types/farbtastic/tsconfig.json | 1 + types/fast-diff/tsconfig.json | 3 +- types/fast-levenshtein/tsconfig.json | 1 + types/fast-list/tsconfig.json | 3 +- types/fast-stats/tsconfig.json | 1 + types/fastclick/tsconfig.json | 1 + types/favico.js/tsconfig.json | 1 + types/fb/tsconfig.json | 1 + types/fbemitter/tsconfig.json | 1 + types/featherlight/tsconfig.json | 1 + types/fecha/tsconfig.json | 3 +- types/fetch-jsonp/tsconfig.json | 44 +- types/fetch-mock/tsconfig.json | 1 + types/fetch.io/tsconfig.json | 3 +- types/ffi/tsconfig.json | 1 + types/ffmpeg-static/tsconfig.json | 3 +- types/ffprobe-static/tsconfig.json | 3 +- types/fhir/tsconfig.json | 1 + types/fibers/tsconfig.json | 1 + types/field/tsconfig.json | 1 + types/figures/tsconfig.json | 3 +- types/file-exists/tsconfig.json | 3 +- types/file-saver/tsconfig.json | 1 + types/file-type/tsconfig.json | 1 + types/file-url/tsconfig.json | 1 + types/filenamify/tsconfig.json | 3 +- types/filesize/tsconfig.json | 1 + types/filesystem/tsconfig.json | 1 + types/filewriter/tsconfig.json | 1 + types/fill-pdf/tsconfig.json | 1 + types/finalhandler/tsconfig.json | 1 + types/finch/tsconfig.json | 1 + types/find-up/tsconfig.json | 3 +- types/findup-sync/tsconfig.json | 1 + types/fingerprintjs/tsconfig.json | 1 + types/fingerprintjs2/tsconfig.json | 3 +- types/firebase-client/tsconfig.json | 5 +- types/firebase-token-generator/tsconfig.json | 1 + types/firebase/tsconfig.json | 1 + types/firebird/tsconfig.json | 3 +- types/firefox/tsconfig.json | 1 + types/firmata/tsconfig.json | 41 +- types/first-mate/tsconfig.json | 3 +- types/first-mate/v4/tsconfig.json | 11 +- types/fixed-data-table/tsconfig.json | 1 + types/flake-idgen/tsconfig.json | 1 + types/flat/tsconfig.json | 1 + types/flatbuffers/tsconfig.json | 1 + types/flatpickr/tsconfig.json | 1 + types/flatpickr/v2/tsconfig.json | 7 +- types/flexslider/tsconfig.json | 3 +- types/flickity/tsconfig.json | 1 + types/flight/tsconfig.json | 1 + types/flightplan/tsconfig.json | 1 + types/flipsnap/tsconfig.json | 1 + types/flot/tsconfig.json | 1 + types/flowjs/tsconfig.json | 1 + types/fluent-ffmpeg/tsconfig.json | 43 +- types/flux-standard-action/tsconfig.json | 1 + types/flux/tsconfig.json | 1 + types/fluxxor/tsconfig.json | 1 + types/fm-websync/tsconfig.json | 6 +- types/fontfaceobserver/tsconfig.json | 1 + types/fontoxml/tsconfig.json | 1 + types/forever-monitor/tsconfig.json | 3 +- types/forge-di/tsconfig.json | 1 + types/form-data/tsconfig.json | 1 + types/form-serializer/tsconfig.json | 1 + types/format-unicorn/tsconfig.json | 1 + types/formidable/tsconfig.json | 1 + types/forwarded/tsconfig.json | 3 +- types/fossil-delta/tsconfig.json | 1 + types/foundation-sites/tsconfig.json | 1 + types/foundation/tsconfig.json | 1 + types/fpsmeter/tsconfig.json | 1 + types/framebus/tsconfig.json | 3 +- types/freedom/tsconfig.json | 1 + types/freeport/tsconfig.json | 3 +- types/fresh/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/frisby/tsconfig.json | 1 + types/from/tsconfig.json | 1 + types/from2/tsconfig.json | 3 +- types/fromjs/tsconfig.json | 1 + types/fromnow/tsconfig.json | 1 + types/fs-ext/tsconfig.json | 1 + types/fs-extra-promise-es6/tsconfig.json | 1 + types/fs-extra-promise/tsconfig.json | 1 + types/fs-extra/tsconfig.json | 43 +- types/fs-finder/tsconfig.json | 1 + types/fs-mock/tsconfig.json | 1 + types/fs-promise/tsconfig.json | 1 + types/fs-readdir-recursive/tsconfig.json | 3 +- types/fsevents/tsconfig.json | 3 +- types/ftdomdelegate/tsconfig.json | 1 + types/ftp/tsconfig.json | 1 + types/ftpd/tsconfig.json | 1 + types/fullcalendar/tsconfig.json | 3 +- types/fullcalendar/v1/tsconfig.json | 3 +- types/fullname/tsconfig.json | 1 + types/fullpage.js/tsconfig.json | 1 + types/fuse/tsconfig.json | 1 + types/fusioncharts/tsconfig.json | 1 + types/fuzzaldrin-plus/tsconfig.json | 1 + types/fuzzaldrin/tsconfig.json | 1 + types/fuzzyset/tsconfig.json | 1 + types/fxn/tsconfig.json | 1 + types/gae.channel.api/tsconfig.json | 1 + types/gamepad/tsconfig.json | 1 + types/gamequery/tsconfig.json | 1 + types/gandi-livedns/tsconfig.json | 1 + types/gapi.analytics/tsconfig.json | 1 + types/gapi.auth2/tsconfig.json | 1 + types/gapi.calendar/tsconfig.json | 40 +- types/gapi.drive/tsconfig.json | 3 +- types/gapi.pagespeedonline/tsconfig.json | 1 + types/gapi.people/tsconfig.json | 40 +- types/gapi.plus/tsconfig.json | 40 +- types/gapi.translate/tsconfig.json | 1 + types/gapi.urlshortener/tsconfig.json | 1 + types/gapi.youtube/tsconfig.json | 1 + types/gapi.youtubeanalytics/tsconfig.json | 1 + types/gapi/tsconfig.json | 3 +- types/gaussian/tsconfig.json | 1 + types/generic-functions/tsconfig.json | 1 + types/generic-pool/tsconfig.json | 3 +- types/gently/tsconfig.json | 1 + types/geodesy/tsconfig.json | 3 +- types/geoip-lite/tsconfig.json | 1 + types/geojson/tsconfig.json | 1 + types/geojson2osm/tsconfig.json | 1 + types/geokdbush/tsconfig.json | 3 +- types/geolib/tsconfig.json | 1 + types/geometry-dom/tsconfig.json | 1 + types/geopattern/tsconfig.json | 1 + types/get-node-dimensions/tsconfig.json | 3 +- types/get-port/tsconfig.json | 1 + types/get-stdin/tsconfig.json | 1 + types/get-stream/tsconfig.json | 3 +- types/getos/tsconfig.json | 3 +- types/gettext.js/tsconfig.json | 3 +- types/gijgo/tsconfig.json | 1 + types/giraffe/tsconfig.json | 1 + types/git-config/tsconfig.json | 1 + types/git-remote-origin-url/tsconfig.json | 1 + types/git-rev/tsconfig.json | 3 +- types/git/tsconfig.json | 1 + types/gl-matrix/tsconfig.json | 1 + types/gldatepicker/tsconfig.json | 1 + types/glidejs/tsconfig.json | 1 + types/glob-base/tsconfig.json | 3 +- types/glob-expand/tsconfig.json | 1 + types/glob-stream/tsconfig.json | 1 + types/glob/tsconfig.json | 1 + types/global-tunnel-ng/tsconfig.json | 3 +- types/globalize-compiler/tsconfig.json | 1 + types/globalize/tsconfig.json | 1 + types/globby/tsconfig.json | 3 +- types/globule/tsconfig.json | 1 + types/gm/tsconfig.json | 1 + types/go/tsconfig.json | 1 + types/google-adwords-scripts/tsconfig.json | 3 +- types/google-apps-script/tsconfig.json | 1 + types/google-closure-compiler/tsconfig.json | 1 + types/google-cloud__datastore/tsconfig.json | 49 +- types/google-cloud__storage/tsconfig.json | 49 +- types/google-drive-realtime-api/tsconfig.json | 1 + types/google-earth/tsconfig.json | 1 + types/google-images/tsconfig.json | 3 +- types/google-libphonenumber/tsconfig.json | 1 + types/google-map-react/tsconfig.json | 3 +- types/google-maps/tsconfig.json | 1 + types/google-protobuf/tsconfig.json | 67 +- types/google.analytics/tsconfig.json | 1 + types/google.feeds/tsconfig.json | 1 + types/google.fonts/tsconfig.json | 1 + types/google.geolocation/tsconfig.json | 1 + types/google.picker/tsconfig.json | 1 + types/google.visualization/tsconfig.json | 1 + types/googlemaps.infobubble/tsconfig.json | 1 + types/googlemaps/tsconfig.json | 1 + types/got/tsconfig.json | 3 +- types/graceful-fs/tsconfig.json | 3 +- types/graceful-fs/v2/tsconfig.json | 7 +- types/graham_scan/tsconfig.json | 1 + types/graphene-pk11/tsconfig.json | 1 + types/graphite-udp/tsconfig.json | 3 +- types/graphlib/tsconfig.json | 1 + types/graphql-date/tsconfig.json | 1 + types/graphql-relay/tsconfig.json | 1 + types/graphql-type-json/tsconfig.json | 3 +- types/graphql/tsconfig.json | 6 +- types/graphviz/tsconfig.json | 1 + types/gravatar-url/tsconfig.json | 3 +- types/gravatar/tsconfig.json | 1 + types/greasemonkey/tsconfig.json | 1 + types/grecaptcha/tsconfig.json | 1 + types/gregorian-calendar/tsconfig.json | 1 + types/griddle-react/tsconfig.json | 53 +- types/gridfs-stream/tsconfig.json | 1 + types/gridstack/tsconfig.json | 1 + types/grunt/tsconfig.json | 1 + types/gsap/tsconfig.json | 1 + .../gulp-angular-templatecache/tsconfig.json | 5 +- types/gulp-autoprefixer/tsconfig.json | 5 +- types/gulp-babel/tsconfig.json | 1 + types/gulp-batch/tsconfig.json | 7 +- types/gulp-cache/tsconfig.json | 5 +- types/gulp-cached/tsconfig.json | 5 +- types/gulp-changed/tsconfig.json | 5 +- types/gulp-cheerio/tsconfig.json | 5 +- types/gulp-coffeeify/tsconfig.json | 5 +- types/gulp-coffeelint/tsconfig.json | 5 +- types/gulp-concat/tsconfig.json | 5 +- types/gulp-connect/tsconfig.json | 3 +- types/gulp-copy/tsconfig.json | 5 +- types/gulp-csso/tsconfig.json | 5 +- types/gulp-debug/tsconfig.json | 5 +- types/gulp-diff/tsconfig.json | 39 +- types/gulp-dtsm/tsconfig.json | 5 +- types/gulp-espower/tsconfig.json | 5 +- types/gulp-file-include/tsconfig.json | 5 +- types/gulp-filter/tsconfig.json | 5 +- types/gulp-flatten/tsconfig.json | 5 +- types/gulp-gh-pages/tsconfig.json | 5 +- types/gulp-gzip/tsconfig.json | 5 +- types/gulp-help-doc/tsconfig.json | 5 +- types/gulp-help/tsconfig.json | 5 +- types/gulp-html-replace/tsconfig.json | 5 +- types/gulp-htmlmin/tsconfig.json | 5 +- types/gulp-if/tsconfig.json | 5 +- types/gulp-inject/tsconfig.json | 5 +- types/gulp-insert/tsconfig.json | 5 +- types/gulp-install/tsconfig.json | 5 +- types/gulp-istanbul/tsconfig.json | 5 +- types/gulp-jade/tsconfig.json | 5 +- types/gulp-jasmine-browser/tsconfig.json | 5 +- types/gulp-json-editor/tsconfig.json | 5 +- types/gulp-jspm/tsconfig.json | 5 +- types/gulp-less/tsconfig.json | 5 +- types/gulp-load-plugins/tsconfig.json | 5 +- types/gulp-minify-css/tsconfig.json | 5 +- types/gulp-minify-html/tsconfig.json | 5 +- types/gulp-mocha/tsconfig.json | 5 +- types/gulp-modernizr/tsconfig.json | 3 +- types/gulp-msbuild/tsconfig.json | 3 +- types/gulp-mustache/tsconfig.json | 3 +- types/gulp-newer/tsconfig.json | 5 +- types/gulp-ng-annotate/tsconfig.json | 5 +- types/gulp-nodemon/tsconfig.json | 5 +- types/gulp-nunit-runner/tsconfig.json | 3 +- types/gulp-plumber/tsconfig.json | 5 +- types/gulp-protractor/tsconfig.json | 5 +- types/gulp-pug/tsconfig.json | 3 +- types/gulp-remember/tsconfig.json | 5 +- types/gulp-rename/tsconfig.json | 5 +- types/gulp-replace/tsconfig.json | 5 +- types/gulp-rev-replace/tsconfig.json | 5 +- types/gulp-rev/tsconfig.json | 5 +- types/gulp-ruby-sass/tsconfig.json | 5 +- types/gulp-sass/tsconfig.json | 5 +- types/gulp-shell/tsconfig.json | 5 +- types/gulp-size/tsconfig.json | 7 +- types/gulp-sort/tsconfig.json | 5 +- types/gulp-sourcemaps/tsconfig.json | 5 +- types/gulp-strip-debug/tsconfig.json | 5 +- types/gulp-svg-sprite/tsconfig.json | 5 +- types/gulp-task-listing/tsconfig.json | 5 +- types/gulp-tsd/tsconfig.json | 8 +- types/gulp-tslint/tsconfig.json | 5 +- types/gulp-typedoc/tsconfig.json | 5 +- types/gulp-uglify/tsconfig.json | 3 +- types/gulp-useref/tsconfig.json | 5 +- types/gulp-util/tsconfig.json | 5 +- types/gulp-watch/tsconfig.json | 5 +- types/gulp-zip/tsconfig.json | 3 +- types/gulp/tsconfig.json | 3 +- types/gulp/v3/tsconfig.json | 3 +- types/gzip-size/tsconfig.json | 1 + types/h2o2/tsconfig.json | 1 + types/halfred/tsconfig.json | 1 + types/halogen/tsconfig.json | 1 + types/hammerjs/tsconfig.json | 1 + types/hammerjs/v1/tsconfig.json | 1 + types/handlebars/tsconfig.json | 1 + types/handlebars/v1/tsconfig.json | 1 + types/handsontable/tsconfig.json | 1 + types/hapi-auth-basic/tsconfig.json | 3 +- types/hapi-auth-jwt2/tsconfig.json | 3 +- types/hapi-decorators/tsconfig.json | 1 + types/hapi/tsconfig.json | 3 +- types/hapi/v12/tsconfig.json | 1 + types/hapi/v15/tsconfig.json | 1 + types/hapi/v8/tsconfig.json | 1 + types/har-format/tsconfig.json | 1 + types/hard-rejection/tsconfig.json | 3 +- types/harmony-proxy/tsconfig.json | 1 + types/has-ansi/tsconfig.json | 3 +- types/hash-file/tsconfig.json | 3 +- types/hash-stream/tsconfig.json | 3 +- types/hasha/tsconfig.json | 3 +- types/hasher/tsconfig.json | 1 + types/hashids/tsconfig.json | 1 + types/hashmap/tsconfig.json | 1 + types/hashmap/v1/tsconfig.json | 1 + types/hashset/tsconfig.json | 1 + types/hashtable/tsconfig.json | 1 + types/haversine/tsconfig.json | 41 +- types/he/tsconfig.json | 1 + types/headroom/tsconfig.json | 1 + types/heap/tsconfig.json | 1 + types/heatmap.js/tsconfig.json | 1 + types/hedron/tsconfig.json | 1 + types/hellojs/tsconfig.json | 1 + types/hellosign-embedded/tsconfig.json | 1 + types/helmet/tsconfig.json | 1 + types/heredatalens/tsconfig.json | 1 + types/heremaps/tsconfig.json | 1 + types/heroku-logger/tsconfig.json | 3 +- types/hexo-bunyan/tsconfig.json | 3 +- types/hexo-fs/tsconfig.json | 3 +- types/hexo-log/tsconfig.json | 3 +- types/highcharts-ng/tsconfig.json | 1 + types/highcharts/tsconfig.json | 3 +- types/highland/tsconfig.json | 1 + types/highlight.js/tsconfig.json | 1 + types/highlight.js/v7/tsconfig.json | 1 + types/hiredis/tsconfig.json | 3 +- types/history.js/tsconfig.json | 1 + types/history/tsconfig.json | 3 +- types/history/v2/tsconfig.json | 11 +- types/history/v3/tsconfig.json | 11 +- types/hjson/tsconfig.json | 3 +- types/hls.js/tsconfig.json | 3 +- types/hoek/tsconfig.json | 1 + types/homeworks/tsconfig.json | 3 +- types/hooker/tsconfig.json | 1 + types/hopscotch/tsconfig.json | 1 + types/howler/tsconfig.json | 1 + types/hpp/tsconfig.json | 3 +- types/html-entities/tsconfig.json | 1 + types/html-minifier/tsconfig.json | 1 + types/html-pdf/tsconfig.json | 1 + types/html-to-text/tsconfig.json | 1 + types/html-webpack-plugin/tsconfig.json | 1 + types/html-webpack-template/tsconfig.json | 1 + types/html2canvas/tsconfig.json | 1 + .../htmlbars-inline-precompile/tsconfig.json | 3 +- types/htmlescape/tsconfig.json | 3 +- types/htmlhint/tsconfig.json | 3 +- types/htmlparser2/tsconfig.json | 1 + types/htmltojsx/tsconfig.json | 1 + types/http-assert/tsconfig.json | 1 + types/http-aws-es/tsconfig.json | 3 +- types/http-codes/tsconfig.json | 1 + types/http-errors/tsconfig.json | 3 +- types/http-link-header/tsconfig.json | 1 + types/http-proxy-middleware/tsconfig.json | 3 +- types/http-proxy/tsconfig.json | 3 +- types/http-status-codes/tsconfig.json | 1 + types/http-status/tsconfig.json | 3 +- types/http-string-parser/tsconfig.json | 1 + types/httperr/tsconfig.json | 1 + types/hubot/tsconfig.json | 3 +- types/hubspot-pace/tsconfig.json | 1 + types/humane/tsconfig.json | 1 + types/humanize-plus/tsconfig.json | 3 +- types/humanparser/tsconfig.json | 1 + types/humps/tsconfig.json | 1 + types/hyco-ws/tsconfig.json | 1 + types/hyperscript/tsconfig.json | 1 + .../tsconfig.json | 1 + types/hystrixjs/tsconfig.json | 5 +- types/i18n/tsconfig.json | 1 + .../tsconfig.json | 3 +- .../v0/tsconfig.json | 3 +- .../i18next-express-middleware/tsconfig.json | 3 +- types/i18next-node-fs-backend/tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/i18next-xhr-backend/tsconfig.json | 3 +- types/i18next/tsconfig.json | 3 +- types/i18next/v2/tsconfig.json | 3 +- types/i2c-bus/tsconfig.json | 1 + types/iban/tsconfig.json | 1 + types/ibm-mobilefirst/tsconfig.json | 3 +- types/ibm_db/tsconfig.json | 3 +- types/icepick/tsconfig.json | 1 + types/icheck/tsconfig.json | 1 + types/iconv-lite/tsconfig.json | 1 + types/iconv/tsconfig.json | 1 + types/ids/tsconfig.json | 1 + types/iframe-resizer/tsconfig.json | 47 +- types/ignite-ui/tsconfig.json | 1 + types/image-size/tsconfig.json | 1 + types/imagemagick-native/tsconfig.json | 1 + types/imagemagick/tsconfig.json | 1 + types/imagemapster/tsconfig.json | 3 +- types/images/tsconfig.json | 43 +- types/imagesloaded/tsconfig.json | 1 + types/imap-simple/tsconfig.json | 1 + types/imap/tsconfig.json | 1 + types/imgur-rest-api/tsconfig.json | 1 + types/immutability-helper/tsconfig.json | 1 + types/impress/tsconfig.json | 1 + types/in-range/tsconfig.json | 1 + types/incremental-dom/tsconfig.json | 1 + types/indent-string/tsconfig.json | 1 + types/inert/tsconfig.json | 1 + types/inflected/tsconfig.json | 1 + types/inflection/tsconfig.json | 1 + types/inherits/tsconfig.json | 1 + types/ini/tsconfig.json | 1 + types/iniparser/tsconfig.json | 1 + types/inline-css/tsconfig.json | 1 + types/inline-style-prefixer/tsconfig.json | 3 +- types/inquirer/tsconfig.json | 1 + types/insert-module-globals/tsconfig.json | 3 +- types/insight/tsconfig.json | 1 + types/integer/tsconfig.json | 3 +- types/interact.js/tsconfig.json | 1 + types/intercom-web/tsconfig.json | 3 +- types/intercomjs/tsconfig.json | 1 + types/internal-ip/tsconfig.json | 3 +- types/intl-messageformat/tsconfig.json | 1 + types/intl-tel-input/tsconfig.json | 1 + types/intl/tsconfig.json | 3 +- types/into-stream/tsconfig.json | 3 +- types/intro.js/tsconfig.json | 1 + types/invariant/tsconfig.json | 1 + types/inversify-devtools/tsconfig.json | 1 + types/ion.rangeslider/tsconfig.json | 1 + types/ion.rangeslider/v1/tsconfig.json | 1 + types/ionic/tsconfig.json | 1 + types/ioredis/tsconfig.json | 1 + types/ip-regex/tsconfig.json | 3 +- types/ip/tsconfig.json | 1 + types/irc/tsconfig.json | 1 + types/is-absolute-url/tsconfig.json | 1 + types/is-alphanumerical/tsconfig.json | 3 +- types/is-archive/tsconfig.json | 1 + types/is-array/tsconfig.json | 4 +- types/is-binary-path/tsconfig.json | 1 + types/is-compressed/tsconfig.json | 1 + types/is-finite/tsconfig.json | 1 + types/is-ip/tsconfig.json | 3 +- types/is-my-json-valid/tsconfig.json | 1 + types/is-number/tsconfig.json | 3 +- types/is-path-cwd/tsconfig.json | 1 + types/is-path-in-cwd/tsconfig.json | 1 + types/is-plain-object/tsconfig.json | 1 + types/is-promise/tsconfig.json | 1 + types/is-relative-url/tsconfig.json | 1 + types/is-root-path/tsconfig.json | 1 + types/is-root/tsconfig.json | 1 + types/is-stream/tsconfig.json | 3 +- types/is-svg/tsconfig.json | 3 +- types/is-text-path/tsconfig.json | 1 + types/is-url-superb/tsconfig.json | 3 +- types/is-url/tsconfig.json | 1 + types/is-windows/tsconfig.json | 1 + types/is/tsconfig.json | 1 + types/isbn-utils/tsconfig.json | 3 +- types/iscroll/tsconfig.json | 1 + types/iscroll/v4/tsconfig.json | 1 + types/iso-3166-2/tsconfig.json | 3 +- types/iso8601-localizer/tsconfig.json | 1 + types/isomorphic-fetch/tsconfig.json | 1 + types/isotope-layout/tsconfig.json | 4 +- types/istanbul-lib-coverage/tsconfig.json | 3 +- types/istanbul-lib-hook/tsconfig.json | 3 +- types/istanbul-lib-instrument/tsconfig.json | 3 +- types/istanbul-lib-report/tsconfig.json | 3 +- types/istanbul-lib-source-maps/tsconfig.json | 3 +- types/istanbul-middleware/tsconfig.json | 1 + types/istanbul-reports/tsconfig.json | 3 +- types/istanbul/tsconfig.json | 1 + types/ityped/tsconfig.json | 1 + types/ix.js/tsconfig.json | 1 + types/jade/tsconfig.json | 1 + types/jake/tsconfig.json | 1 + types/jalaali-js/tsconfig.json | 1 + types/japanese-holidays/tsconfig.json | 1 + types/jasmine-ajax/tsconfig.json | 1 + types/jasmine-data_driven_tests/tsconfig.json | 1 + types/jasmine-enzyme/tsconfig.json | 1 + .../tsconfig.json | 1 + types/jasmine-expect/tsconfig.json | 1 + types/jasmine-fixture/tsconfig.json | 1 + types/jasmine-given/tsconfig.json | 41 +- types/jasmine-jquery/tsconfig.json | 1 + types/jasmine-matchers/tsconfig.json | 1 + types/jasmine-node/tsconfig.json | 1 + types/jasmine-promise-matchers/tsconfig.json | 1 + types/jasmine/tsconfig.json | 1 + types/jasmine/v1/tsconfig.json | 1 + types/jasmine_dom_matchers/tsconfig.json | 3 +- types/jasminewd2/tsconfig.json | 39 +- types/java-applet/tsconfig.json | 1 + types/java/tsconfig.json | 1 + types/javascript-astar/tsconfig.json | 1 + types/javascript-bignum/tsconfig.json | 1 + types/javascript-obfuscator/tsconfig.json | 1 + types/javascript-state-machine/tsconfig.json | 1 + types/jbinary/tsconfig.json | 1 + types/jcanvas/tsconfig.json | 1 + types/jdataview/tsconfig.json | 1 + types/jdenticon/tsconfig.json | 1 + types/jee-jsf/tsconfig.json | 1 + types/jenkins/tsconfig.json | 3 +- types/jest-docblock/tsconfig.json | 3 +- types/jest-matchers/tsconfig.json | 3 +- types/jest-validate/tsconfig.json | 3 +- types/jest/tsconfig.json | 1 + types/jest/v16/tsconfig.json | 11 +- types/jfp/tsconfig.json | 1 + types/jfs/tsconfig.json | 45 +- types/jimp/tsconfig.json | 7 +- types/jjv/tsconfig.json | 1 + types/jjve/tsconfig.json | 1 + types/jmespath/tsconfig.json | 3 +- types/jodata/tsconfig.json | 1 + types/johnny-five/tsconfig.json | 1 + types/joi/tsconfig.json | 1 + types/joi/v6/tsconfig.json | 1 + types/joigoose/tsconfig.json | 3 +- types/jointjs/tsconfig.json | 3 +- types/jpeg-js/tsconfig.json | 3 +- types/jpm/tsconfig.json | 1 + types/jqgrid/tsconfig.json | 1 + types/jqrangeslider/tsconfig.json | 3 +- types/jquery-ajax-chain/tsconfig.json | 1 + types/jquery-alertable/tsconfig.json | 1 + types/jquery-backstretch/tsconfig.json | 1 + types/jquery-cropbox/tsconfig.json | 1 + types/jquery-deparam/tsconfig.json | 1 + types/jquery-easy-loading/tsconfig.json | 3 +- types/jquery-editable-select/tsconfig.json | 1 + types/jquery-fullscreen/tsconfig.json | 1 + types/jquery-galleria/tsconfig.json | 1 + types/jquery-handsontable/tsconfig.json | 1 + types/jquery-jsonrpcclient/tsconfig.json | 1 + types/jquery-knob/tsconfig.json | 1 + types/jquery-mask-plugin/tsconfig.json | 1 + types/jquery-match-height/tsconfig.json | 3 +- types/jquery-mockjax/tsconfig.json | 3 +- types/jquery-mousewheel/tsconfig.json | 1 + types/jquery-param/tsconfig.json | 1 + types/jquery-sortable/tsconfig.json | 1 + types/jquery-steps/tsconfig.json | 1 + types/jquery-timeentry/tsconfig.json | 1 + .../jquery-toastmessage-plugin/tsconfig.json | 6 +- types/jquery-truncate-html/tsconfig.json | 1 + types/jquery-urlparam/tsconfig.json | 1 + .../tsconfig.json | 1 + types/jquery.address/tsconfig.json | 1 + types/jquery.are-you-sure/tsconfig.json | 1 + types/jquery.autosize/tsconfig.json | 1 + types/jquery.base64/tsconfig.json | 1 + types/jquery.bbq/tsconfig.json | 3 +- types/jquery.blockui/tsconfig.json | 1 + types/jquery.bootstrap.wizard/tsconfig.json | 1 + types/jquery.cleditor/tsconfig.json | 1 + types/jquery.clientsidelogging/tsconfig.json | 3 +- types/jquery.color/tsconfig.json | 1 + types/jquery.colorbox/tsconfig.json | 1 + types/jquery.colorpicker/tsconfig.json | 1 + types/jquery.contextmenu/tsconfig.json | 1 + types/jquery.cookie/tsconfig.json | 1 + types/jquery.customselect/tsconfig.json | 1 + types/jquery.cycle/tsconfig.json | 1 + types/jquery.cycle2/tsconfig.json | 1 + types/jquery.dropotron/tsconfig.json | 1 + types/jquery.dynatree/tsconfig.json | 1 + types/jquery.elang/tsconfig.json | 1 + types/jquery.fancytree/tsconfig.json | 1 + types/jquery.fileupload/tsconfig.json | 1 + types/jquery.filtertable/tsconfig.json | 3 +- types/jquery.finger/tsconfig.json | 1 + types/jquery.flagstrap/tsconfig.json | 1 + types/jquery.form/tsconfig.json | 1 + types/jquery.fullscreen/tsconfig.json | 1 + types/jquery.gridster/tsconfig.json | 1 + types/jquery.growl/tsconfig.json | 3 +- types/jquery.highlight-bartaz/tsconfig.json | 1 + types/jquery.jnotify/tsconfig.json | 1 + types/jquery.joyride/tsconfig.json | 3 +- types/jquery.jsignature/tsconfig.json | 1 + types/jquery.leanmodal/tsconfig.json | 1 + types/jquery.livestampjs/tsconfig.json | 1 + types/jquery.menuaim/tsconfig.json | 1 + types/jquery.mmenu/tsconfig.json | 1 + types/jquery.notify/tsconfig.json | 1 + types/jquery.notifybar/tsconfig.json | 1 + types/jquery.noty/tsconfig.json | 1 + types/jquery.payment/tsconfig.json | 1 + types/jquery.pjax/tsconfig.json | 3 +- types/jquery.placeholder/tsconfig.json | 1 + types/jquery.pnotify/tsconfig.json | 1 + types/jquery.postmessage/tsconfig.json | 1 + types/jquery.prettyphoto/tsconfig.json | 1 + types/jquery.qrcode/tsconfig.json | 1 + types/jquery.rateit/tsconfig.json | 1 + types/jquery.rowgrid/tsconfig.json | 1 + types/jquery.scrollto/tsconfig.json | 1 + types/jquery.simplemodal/tsconfig.json | 1 + types/jquery.simplepagination/tsconfig.json | 1 + types/jquery.simulate/tsconfig.json | 1 + types/jquery.slimscroll/tsconfig.json | 1 + types/jquery.soap/tsconfig.json | 1 + types/jquery.sortelements/tsconfig.json | 1 + types/jquery.superlink/tsconfig.json | 1 + types/jquery.tagsmanager/tsconfig.json | 1 + types/jquery.tile/tsconfig.json | 1 + types/jquery.timeago/tsconfig.json | 1 + types/jquery.timepicker/tsconfig.json | 1 + types/jquery.timer/tsconfig.json | 1 + types/jquery.tinycarousel/tsconfig.json | 1 + types/jquery.tinyscrollbar/tsconfig.json | 1 + types/jquery.tipsy/tsconfig.json | 1 + types/jquery.tools/tsconfig.json | 1 + types/jquery.tooltipster/tsconfig.json | 1 + types/jquery.total-storage/tsconfig.json | 1 + types/jquery.transit/tsconfig.json | 1 + types/jquery.ui.datetimepicker/tsconfig.json | 1 + types/jquery.ui.layout/tsconfig.json | 1 + types/jquery.uniform/tsconfig.json | 1 + types/jquery.validation/tsconfig.json | 1 + types/jquery.watermark/tsconfig.json | 1 + types/jquery.window/tsconfig.json | 1 + types/jquery/tsconfig.json | 3 +- types/jquery/v1/tsconfig.json | 3 +- types/jquery/v2/tsconfig.json | 3 +- types/jquerymobile/tsconfig.json | 1 + types/jqueryui/tsconfig.json | 3 +- types/js-base64/tsconfig.json | 1 + types/js-beautify/tsconfig.json | 1 + types/js-clipper/tsconfig.json | 1 + types/js-combinatorics/tsconfig.json | 1 + types/js-cookie/tsconfig.json | 3 +- types/js-data-angular/tsconfig.json | 1 + types/js-data-http/tsconfig.json | 1 + types/js-fixtures/tsconfig.json | 1 + types/js-git/tsconfig.json | 1 + types/js-md5/tsconfig.json | 3 +- types/js-priority-queue/tsconfig.json | 1 + types/js-quantities/tsconfig.json | 1 + types/js-schema/tsconfig.json | 1 + types/js-search/tsconfig.json | 3 +- types/js-to-java/tsconfig.json | 3 +- types/js-url/tsconfig.json | 1 + types/js-yaml/tsconfig.json | 1 + types/js.spec/tsconfig.json | 7 +- types/jsbn/tsconfig.json | 1 + types/jscrollpane/tsconfig.json | 1 + types/jsdeferred/tsconfig.json | 3 +- types/jsdom/tsconfig.json | 3 +- types/jsdom/v2/tsconfig.json | 3 +- types/jsen/tsconfig.json | 1 + types/jsend/tsconfig.json | 1 + types/jsesc/tsconfig.json | 1 + types/jsfl/tsconfig.json | 1 + types/jsforce/tsconfig.json | 1 + types/jshamcrest/tsconfig.json | 1 + types/jsmockito/tsconfig.json | 1 + types/jsnox/tsconfig.json | 1 + types/json-editor/tsconfig.json | 1 + types/json-merge-patch/tsconfig.json | 1 + types/json-patch/tsconfig.json | 1 + types/json-pointer/tsconfig.json | 1 + types/json-rpc-ws/tsconfig.json | 1 + types/json-schema/tsconfig.json | 1 + types/json-socket/tsconfig.json | 1 + types/json-stable-stringify/tsconfig.json | 1 + types/json-stringify-safe/tsconfig.json | 3 +- types/json2md/tsconfig.json | 3 +- types/json5/tsconfig.json | 1 + types/jsonata/tsconfig.json | 3 +- types/jsoneditor/tsconfig.json | 1 + types/jsoneditoronline/tsconfig.json | 1 + types/jsonminify/tsconfig.json | 1 + types/jsonnet/tsconfig.json | 1 + types/jsonp/tsconfig.json | 7 +- types/jsonpath/tsconfig.json | 1 + types/jsonrpc-serializer/tsconfig.json | 1 + types/jsonstream/tsconfig.json | 1 + types/jsonwebtoken/tsconfig.json | 1 + types/jspdf/tsconfig.json | 1 + types/jsplumb/tsconfig.json | 1 + types/jsqrcode/tsconfig.json | 1 + types/jsrender/tsconfig.json | 1 + types/jsrp/tsconfig.json | 3 +- types/jss/tsconfig.json | 1 + types/jssha/tsconfig.json | 1 + types/jstimezonedetect/tsconfig.json | 1 + types/jstorage/tsconfig.json | 1 + types/jstree/tsconfig.json | 1 + types/jsts/tsconfig.json | 1 + types/jsuite/tsconfig.json | 1 + types/jsuri/tsconfig.json | 1 + types/jsurl/tsconfig.json | 1 + types/jsx-chai/tsconfig.json | 1 + types/jszip/tsconfig.json | 3 +- types/jug/tsconfig.json | 1 + types/jui-core/tsconfig.json | 3 +- types/jui-grid/tsconfig.json | 7 +- types/jui/tsconfig.json | 7 +- types/jump.js/tsconfig.json | 1 + types/jweixin/tsconfig.json | 45 +- types/jwplayer/tsconfig.json | 1 + types/jwt-client/tsconfig.json | 1 + types/jwt-decode/tsconfig.json | 3 +- types/jwt-decode/v1/tsconfig.json | 3 +- types/jwt-simple/tsconfig.json | 1 + types/kafka-node/tsconfig.json | 3 +- types/karma-chai-sinon/tsconfig.json | 1 + types/karma-chai/tsconfig.json | 3 +- types/karma-coverage/tsconfig.json | 5 +- types/karma-fixture/tsconfig.json | 1 + types/karma-jasmine/tsconfig.json | 1 + types/karma-webpack/tsconfig.json | 7 +- types/karma/tsconfig.json | 5 +- types/katex/tsconfig.json | 1 + types/kcors/tsconfig.json | 1 + types/kdbush/tsconfig.json | 3 +- types/kefir/tsconfig.json | 1 + types/kendo-ui/tsconfig.json | 1 + types/keyboardjs/tsconfig.json | 1 + types/keycloak-js/tsconfig.json | 3 +- types/keygrip/tsconfig.json | 1 + types/keymaster/tsconfig.json | 1 + types/keymirror/tsconfig.json | 1 + types/keypress.js/tsconfig.json | 1 + types/keysym/tsconfig.json | 3 +- types/keytar/tsconfig.json | 1 + types/kii-cloud-sdk/tsconfig.json | 1 + types/kik-browser/tsconfig.json | 1 + types/kineticjs/tsconfig.json | 1 + types/klaw-sync/tsconfig.json | 3 +- types/klaw/tsconfig.json | 1 + types/knex-postgis/tsconfig.json | 3 +- types/knex/tsconfig.json | 1 + types/knockback/tsconfig.json | 1 + types/knockout-amd-helpers/tsconfig.json | 1 + types/knockout-secure-binding/tsconfig.json | 1 + types/knockout-transformations/tsconfig.json | 1 + types/knockout.deferred.updates/tsconfig.json | 1 + types/knockout.editables/tsconfig.json | 1 + types/knockout.es5/tsconfig.json | 1 + types/knockout.kogrid/tsconfig.json | 1 + types/knockout.mapper/tsconfig.json | 1 + types/knockout.mapping/tsconfig.json | 1 + types/knockout.postbox/tsconfig.json | 1 + types/knockout.projections/tsconfig.json | 1 + types/knockout.punches/tsconfig.json | 1 + types/knockout.rx/tsconfig.json | 1 + types/knockout.validation/tsconfig.json | 1 + types/knockout.viewmodel/tsconfig.json | 1 + types/knockout/tsconfig.json | 3 +- types/knockstrap/tsconfig.json | 1 + types/knuddels-userapps-api/tsconfig.json | 43 +- types/ko.plus/tsconfig.json | 1 + types/koa-basic-auth/tsconfig.json | 1 + types/koa-bodyparser/tsconfig.json | 1 + types/koa-cache-control/tsconfig.json | 3 +- types/koa-compose/tsconfig.json | 1 + types/koa-compress/tsconfig.json | 1 + types/koa-favicon/tsconfig.json | 1 + types/koa-generic-session/tsconfig.json | 1 + types/koa-hbs/tsconfig.json | 1 + types/koa-helmet/tsconfig.json | 3 +- types/koa-json-error/tsconfig.json | 1 + types/koa-json/tsconfig.json | 1 + types/koa-jwt/tsconfig.json | 1 + types/koa-logger-winston/tsconfig.json | 3 +- types/koa-logger/tsconfig.json | 1 + types/koa-morgan/tsconfig.json | 3 +- types/koa-mount/tsconfig.json | 1 + types/koa-passport/tsconfig.json | 1 + types/koa-pino-logger/tsconfig.json | 1 + types/koa-pug/tsconfig.json | 1 + types/koa-range/tsconfig.json | 3 +- types/koa-redis/tsconfig.json | 3 +- types/koa-route/tsconfig.json | 3 +- types/koa-router/tsconfig.json | 1 + types/koa-send/tsconfig.json | 1 + types/koa-session-minimal/tsconfig.json | 1 + types/koa-session/tsconfig.json | 3 +- types/koa-static/tsconfig.json | 1 + types/koa-views/tsconfig.json | 1 + types/koa-websocket/tsconfig.json | 3 +- types/koa/tsconfig.json | 1 + types/koa__cors/tsconfig.json | 9 +- types/kolite/tsconfig.json | 1 + types/konami.js/tsconfig.json | 1 + types/kramed/tsconfig.json | 3 +- types/kss/tsconfig.json | 3 +- types/kue/tsconfig.json | 1 + types/kurento-utils/tsconfig.json | 1 + types/kuromoji/tsconfig.json | 1 + types/lab/tsconfig.json | 1 + types/ladda/tsconfig.json | 1 + types/later/tsconfig.json | 1 + types/latinize/tsconfig.json | 1 + types/launchpad/tsconfig.json | 1 + types/lazy.js/tsconfig.json | 1 + types/lazypipe/tsconfig.json | 5 +- types/ldapjs/tsconfig.json | 1 + types/ldclient-js/tsconfig.json | 1 + types/leadfoot/tsconfig.json | 1 + types/leaflet-areaselect/tsconfig.json | 3 +- types/leaflet-curve/tsconfig.json | 1 + types/leaflet-draw/tsconfig.json | 1 + types/leaflet-editable/tsconfig.json | 1 + types/leaflet-fullscreen/tsconfig.json | 1 + types/leaflet-geocoder-mapzen/tsconfig.json | 1 + types/leaflet-gpx/tsconfig.json | 3 +- .../tsconfig.json | 1 + types/leaflet-label/tsconfig.json | 1 + types/leaflet-polylinedecorator/tsconfig.json | 3 +- types/leaflet-providers/tsconfig.json | 3 +- types/leaflet.awesome-markers/tsconfig.json | 3 +- .../leaflet.awesome-markers/v0/tsconfig.json | 3 +- types/leaflet.fullscreen/tsconfig.json | 1 + .../tsconfig.json | 1 + types/leaflet.locatecontrol/tsconfig.json | 1 + .../tsconfig.json | 3 +- types/leaflet.markercluster/tsconfig.json | 1 + types/leaflet.pm/tsconfig.json | 1 + types/leaflet/tsconfig.json | 1 + types/leaflet/v0/tsconfig.json | 1 + types/leapmotionts/tsconfig.json | 1 + types/left-pad/tsconfig.json | 1 + types/less-middleware/tsconfig.json | 1 + types/less/tsconfig.json | 1 + types/lestate/tsconfig.json | 1 + types/level-sublevel/tsconfig.json | 1 + types/leveldown/tsconfig.json | 3 +- types/levelup/tsconfig.json | 1 + types/leven/tsconfig.json | 5 +- types/levenshtein/tsconfig.json | 1 + types/libpq/tsconfig.json | 3 +- types/libxmljs/tsconfig.json | 1 + types/libxslt/tsconfig.json | 1 + types/license-checker/tsconfig.json | 3 +- types/lime-js/tsconfig.json | 1 + types/line-by-line/tsconfig.json | 1 + types/line-reader/tsconfig.json | 1 + types/linkify-it/tsconfig.json | 3 +- types/linq4js/tsconfig.json | 7 +- types/lls/tsconfig.json | 1 + types/load-json-file/tsconfig.json | 3 +- types/loader-runner/tsconfig.json | 1 + types/loader-utils/tsconfig.json | 3 +- types/lobibox/tsconfig.json | 1 + .../tsconfig.json | 1 + types/localized-countries/tsconfig.json | 3 +- types/localizejs-library/tsconfig.json | 3 +- types/locate-path/tsconfig.json | 3 +- types/lockfile/tsconfig.json | 3 +- types/lockfile/v0/tsconfig.json | 7 +- types/lockr/tsconfig.json | 1 + types/locutus/tsconfig.json | 1 + types/lodash-es/tsconfig.json | 1 + types/lodash-webpack-plugin/tsconfig.json | 3 +- types/lodash.add/tsconfig.json | 1 + types/lodash.after/tsconfig.json | 1 + types/lodash.ary/tsconfig.json | 1 + types/lodash.assign/tsconfig.json | 1 + types/lodash.assignin/tsconfig.json | 1 + types/lodash.assigninwith/tsconfig.json | 1 + types/lodash.assignwith/tsconfig.json | 1 + types/lodash.at/tsconfig.json | 1 + types/lodash.attempt/tsconfig.json | 1 + types/lodash.before/tsconfig.json | 1 + types/lodash.bind/tsconfig.json | 1 + types/lodash.bindall/tsconfig.json | 1 + types/lodash.bindkey/tsconfig.json | 1 + types/lodash.camelcase/tsconfig.json | 1 + types/lodash.capitalize/tsconfig.json | 1 + types/lodash.castarray/tsconfig.json | 1 + types/lodash.ceil/tsconfig.json | 1 + types/lodash.chunk/tsconfig.json | 1 + types/lodash.clamp/tsconfig.json | 1 + types/lodash.clone/tsconfig.json | 1 + types/lodash.clonedeep/tsconfig.json | 1 + types/lodash.clonedeepwith/tsconfig.json | 1 + types/lodash.clonewith/tsconfig.json | 1 + types/lodash.compact/tsconfig.json | 1 + types/lodash.concat/tsconfig.json | 1 + types/lodash.cond/tsconfig.json | 1 + types/lodash.constant/tsconfig.json | 1 + types/lodash.countby/tsconfig.json | 1 + types/lodash.create/tsconfig.json | 1 + types/lodash.curry/tsconfig.json | 1 + types/lodash.curryright/tsconfig.json | 1 + types/lodash.debounce/tsconfig.json | 1 + types/lodash.deburr/tsconfig.json | 1 + types/lodash.defaults/tsconfig.json | 1 + types/lodash.defaultsdeep/tsconfig.json | 1 + types/lodash.defer/tsconfig.json | 1 + types/lodash.delay/tsconfig.json | 1 + types/lodash.difference/tsconfig.json | 1 + types/lodash.differenceby/tsconfig.json | 1 + types/lodash.differencewith/tsconfig.json | 1 + types/lodash.divide/tsconfig.json | 1 + types/lodash.drop/tsconfig.json | 1 + types/lodash.dropright/tsconfig.json | 1 + types/lodash.droprightwhile/tsconfig.json | 1 + types/lodash.dropwhile/tsconfig.json | 1 + types/lodash.endswith/tsconfig.json | 1 + types/lodash.eq/tsconfig.json | 1 + types/lodash.escape/tsconfig.json | 1 + types/lodash.escaperegexp/tsconfig.json | 1 + types/lodash.every/tsconfig.json | 1 + types/lodash.fill/tsconfig.json | 1 + types/lodash.filter/tsconfig.json | 1 + types/lodash.find/tsconfig.json | 1 + types/lodash.findindex/tsconfig.json | 1 + types/lodash.findkey/tsconfig.json | 1 + types/lodash.findlast/tsconfig.json | 1 + types/lodash.findlastindex/tsconfig.json | 1 + types/lodash.findlastkey/tsconfig.json | 1 + types/lodash.first/tsconfig.json | 1 + types/lodash.flatmap/tsconfig.json | 1 + types/lodash.flatmapdeep/tsconfig.json | 1 + types/lodash.flatmapdepth/tsconfig.json | 1 + types/lodash.flatten/tsconfig.json | 1 + types/lodash.flattendeep/tsconfig.json | 1 + types/lodash.flattendepth/tsconfig.json | 1 + types/lodash.flip/tsconfig.json | 1 + types/lodash.floor/tsconfig.json | 1 + types/lodash.flow/tsconfig.json | 1 + types/lodash.flowright/tsconfig.json | 1 + types/lodash.foreach/tsconfig.json | 1 + types/lodash.foreachright/tsconfig.json | 1 + types/lodash.forin/tsconfig.json | 1 + types/lodash.forinright/tsconfig.json | 1 + types/lodash.forown/tsconfig.json | 1 + types/lodash.forownright/tsconfig.json | 1 + types/lodash.frompairs/tsconfig.json | 1 + types/lodash.functions/tsconfig.json | 1 + types/lodash.functionsin/tsconfig.json | 1 + types/lodash.get/tsconfig.json | 1 + types/lodash.groupby/tsconfig.json | 1 + types/lodash.gt/tsconfig.json | 1 + types/lodash.gte/tsconfig.json | 1 + types/lodash.has/tsconfig.json | 1 + types/lodash.hasin/tsconfig.json | 1 + types/lodash.head/tsconfig.json | 1 + types/lodash.identity/tsconfig.json | 1 + types/lodash.includes/tsconfig.json | 1 + types/lodash.indexof/tsconfig.json | 1 + types/lodash.initial/tsconfig.json | 1 + types/lodash.inrange/tsconfig.json | 1 + types/lodash.intersection/tsconfig.json | 1 + types/lodash.intersectionby/tsconfig.json | 1 + types/lodash.intersectionwith/tsconfig.json | 1 + types/lodash.invert/tsconfig.json | 1 + types/lodash.invertby/tsconfig.json | 1 + types/lodash.invoke/tsconfig.json | 1 + types/lodash.invokemap/tsconfig.json | 1 + types/lodash.isarguments/tsconfig.json | 1 + types/lodash.isarray/tsconfig.json | 1 + types/lodash.isarraybuffer/tsconfig.json | 1 + types/lodash.isarraylike/tsconfig.json | 1 + types/lodash.isarraylikeobject/tsconfig.json | 1 + types/lodash.isboolean/tsconfig.json | 1 + types/lodash.isbuffer/tsconfig.json | 1 + types/lodash.isdate/tsconfig.json | 1 + types/lodash.iselement/tsconfig.json | 1 + types/lodash.isempty/tsconfig.json | 1 + types/lodash.isequal/tsconfig.json | 1 + types/lodash.isequalwith/tsconfig.json | 1 + types/lodash.iserror/tsconfig.json | 1 + types/lodash.isfinite/tsconfig.json | 1 + types/lodash.isfunction/tsconfig.json | 1 + types/lodash.isinteger/tsconfig.json | 1 + types/lodash.islength/tsconfig.json | 1 + types/lodash.ismap/tsconfig.json | 1 + types/lodash.ismatch/tsconfig.json | 1 + types/lodash.ismatchwith/tsconfig.json | 1 + types/lodash.isnan/tsconfig.json | 1 + types/lodash.isnative/tsconfig.json | 1 + types/lodash.isnil/tsconfig.json | 1 + types/lodash.isnull/tsconfig.json | 1 + types/lodash.isnumber/tsconfig.json | 1 + types/lodash.isobject/tsconfig.json | 1 + types/lodash.isobjectlike/tsconfig.json | 1 + types/lodash.isplainobject/tsconfig.json | 1 + types/lodash.isregexp/tsconfig.json | 1 + types/lodash.issafeinteger/tsconfig.json | 1 + types/lodash.isset/tsconfig.json | 1 + types/lodash.isstring/tsconfig.json | 1 + types/lodash.issymbol/tsconfig.json | 1 + types/lodash.istypedarray/tsconfig.json | 1 + types/lodash.isundefined/tsconfig.json | 1 + types/lodash.isweakmap/tsconfig.json | 1 + types/lodash.isweakset/tsconfig.json | 1 + types/lodash.iteratee/tsconfig.json | 1 + types/lodash.join/tsconfig.json | 1 + types/lodash.kebabcase/tsconfig.json | 1 + types/lodash.keyby/tsconfig.json | 1 + types/lodash.keys/tsconfig.json | 1 + types/lodash.keysin/tsconfig.json | 1 + types/lodash.last/tsconfig.json | 1 + types/lodash.lastindexof/tsconfig.json | 1 + types/lodash.lowercase/tsconfig.json | 1 + types/lodash.lowerfirst/tsconfig.json | 1 + types/lodash.lt/tsconfig.json | 1 + types/lodash.lte/tsconfig.json | 1 + types/lodash.mapkeys/tsconfig.json | 1 + types/lodash.mapvalues/tsconfig.json | 1 + types/lodash.matches/tsconfig.json | 1 + types/lodash.matchesproperty/tsconfig.json | 1 + types/lodash.max/tsconfig.json | 1 + types/lodash.maxby/tsconfig.json | 1 + types/lodash.mean/tsconfig.json | 1 + types/lodash.meanby/tsconfig.json | 1 + types/lodash.memoize/tsconfig.json | 1 + types/lodash.merge/tsconfig.json | 1 + types/lodash.mergewith/tsconfig.json | 1 + types/lodash.method/tsconfig.json | 1 + types/lodash.methodof/tsconfig.json | 1 + types/lodash.min/tsconfig.json | 1 + types/lodash.minby/tsconfig.json | 1 + types/lodash.mixin/tsconfig.json | 1 + types/lodash.negate/tsconfig.json | 1 + types/lodash.noop/tsconfig.json | 1 + types/lodash.now/tsconfig.json | 1 + types/lodash.nth/tsconfig.json | 1 + types/lodash.ntharg/tsconfig.json | 1 + types/lodash.omit/tsconfig.json | 1 + types/lodash.omitby/tsconfig.json | 1 + types/lodash.once/tsconfig.json | 1 + types/lodash.orderby/tsconfig.json | 1 + types/lodash.over/tsconfig.json | 1 + types/lodash.overargs/tsconfig.json | 1 + types/lodash.overevery/tsconfig.json | 1 + types/lodash.oversome/tsconfig.json | 1 + types/lodash.pad/tsconfig.json | 1 + types/lodash.padend/tsconfig.json | 1 + types/lodash.padstart/tsconfig.json | 1 + types/lodash.parseint/tsconfig.json | 1 + types/lodash.partial/tsconfig.json | 1 + types/lodash.partialright/tsconfig.json | 1 + types/lodash.partition/tsconfig.json | 1 + types/lodash.pick/tsconfig.json | 1 + types/lodash.pickby/tsconfig.json | 1 + types/lodash.property/tsconfig.json | 1 + types/lodash.propertyof/tsconfig.json | 1 + types/lodash.pull/tsconfig.json | 1 + types/lodash.pullall/tsconfig.json | 1 + types/lodash.pullallby/tsconfig.json | 1 + types/lodash.pullallwith/tsconfig.json | 1 + types/lodash.pullat/tsconfig.json | 1 + types/lodash.random/tsconfig.json | 1 + types/lodash.range/tsconfig.json | 1 + types/lodash.rangeright/tsconfig.json | 1 + types/lodash.rearg/tsconfig.json | 1 + types/lodash.reduce/tsconfig.json | 1 + types/lodash.reduceright/tsconfig.json | 1 + types/lodash.reject/tsconfig.json | 1 + types/lodash.remove/tsconfig.json | 1 + types/lodash.repeat/tsconfig.json | 1 + types/lodash.replace/tsconfig.json | 1 + types/lodash.rest/tsconfig.json | 1 + types/lodash.result/tsconfig.json | 1 + types/lodash.reverse/tsconfig.json | 1 + types/lodash.round/tsconfig.json | 1 + types/lodash.sample/tsconfig.json | 1 + types/lodash.samplesize/tsconfig.json | 1 + types/lodash.set/tsconfig.json | 1 + types/lodash.setwith/tsconfig.json | 1 + types/lodash.shuffle/tsconfig.json | 1 + types/lodash.size/tsconfig.json | 1 + types/lodash.slice/tsconfig.json | 1 + types/lodash.snakecase/tsconfig.json | 1 + types/lodash.some/tsconfig.json | 1 + types/lodash.sortby/tsconfig.json | 1 + types/lodash.sortedindex/tsconfig.json | 1 + types/lodash.sortedindexby/tsconfig.json | 1 + types/lodash.sortedindexof/tsconfig.json | 1 + types/lodash.sortedlastindex/tsconfig.json | 1 + types/lodash.sortedlastindexby/tsconfig.json | 1 + types/lodash.sortedlastindexof/tsconfig.json | 1 + types/lodash.sorteduniq/tsconfig.json | 1 + types/lodash.sorteduniqby/tsconfig.json | 1 + types/lodash.split/tsconfig.json | 1 + types/lodash.spread/tsconfig.json | 1 + types/lodash.startcase/tsconfig.json | 1 + types/lodash.startswith/tsconfig.json | 1 + types/lodash.subtract/tsconfig.json | 1 + types/lodash.sum/tsconfig.json | 1 + types/lodash.sumby/tsconfig.json | 1 + types/lodash.tail/tsconfig.json | 1 + types/lodash.take/tsconfig.json | 1 + types/lodash.takeright/tsconfig.json | 1 + types/lodash.takerightwhile/tsconfig.json | 1 + types/lodash.takewhile/tsconfig.json | 1 + types/lodash.template/tsconfig.json | 1 + types/lodash.throttle/tsconfig.json | 1 + types/lodash.times/tsconfig.json | 1 + types/lodash.toarray/tsconfig.json | 1 + types/lodash.tofinite/tsconfig.json | 1 + types/lodash.tointeger/tsconfig.json | 1 + types/lodash.tolength/tsconfig.json | 1 + types/lodash.tolower/tsconfig.json | 1 + types/lodash.tonumber/tsconfig.json | 1 + types/lodash.topairs/tsconfig.json | 1 + types/lodash.topairsin/tsconfig.json | 1 + types/lodash.topath/tsconfig.json | 1 + types/lodash.toplainobject/tsconfig.json | 1 + types/lodash.tosafeinteger/tsconfig.json | 1 + types/lodash.tostring/tsconfig.json | 1 + types/lodash.toupper/tsconfig.json | 1 + types/lodash.transform/tsconfig.json | 1 + types/lodash.trim/tsconfig.json | 1 + types/lodash.trimend/tsconfig.json | 1 + types/lodash.trimstart/tsconfig.json | 1 + types/lodash.truncate/tsconfig.json | 1 + types/lodash.unary/tsconfig.json | 1 + types/lodash.unescape/tsconfig.json | 1 + types/lodash.union/tsconfig.json | 1 + types/lodash.unionby/tsconfig.json | 1 + types/lodash.unionwith/tsconfig.json | 1 + types/lodash.uniq/tsconfig.json | 1 + types/lodash.uniqby/tsconfig.json | 1 + types/lodash.uniqueid/tsconfig.json | 1 + types/lodash.uniqwith/tsconfig.json | 1 + types/lodash.unset/tsconfig.json | 1 + types/lodash.unzip/tsconfig.json | 1 + types/lodash.unzipwith/tsconfig.json | 1 + types/lodash.update/tsconfig.json | 1 + types/lodash.updatewith/tsconfig.json | 1 + types/lodash.uppercase/tsconfig.json | 1 + types/lodash.upperfirst/tsconfig.json | 1 + types/lodash.values/tsconfig.json | 1 + types/lodash.valuesin/tsconfig.json | 1 + types/lodash.without/tsconfig.json | 1 + types/lodash.words/tsconfig.json | 1 + types/lodash.wrap/tsconfig.json | 1 + types/lodash.xor/tsconfig.json | 1 + types/lodash.xorby/tsconfig.json | 1 + types/lodash.xorwith/tsconfig.json | 1 + types/lodash.zip/tsconfig.json | 1 + types/lodash.zipobject/tsconfig.json | 1 + types/lodash.zipobjectdeep/tsconfig.json | 1 + types/lodash.zipwith/tsconfig.json | 1 + types/lodash/tsconfig.json | 3 +- types/lodash/v3/tsconfig.json | 1 + types/log-symbols/tsconfig.json | 3 +- types/log-update/tsconfig.json | 3 +- types/log4javascript/tsconfig.json | 1 + types/log4js/tsconfig.json | 3 +- types/logat/tsconfig.json | 1 + types/logg/tsconfig.json | 1 + types/loggly/tsconfig.json | 1 + types/loglevel/tsconfig.json | 5 +- types/logrotate-stream/tsconfig.json | 1 + types/lokijs/tsconfig.json | 1 + types/lolex/tsconfig.json | 1 + types/long/tsconfig.json | 1 + types/loopback-boot/tsconfig.json | 1 + types/loopback/tsconfig.json | 1 + types/lorem-ipsum/tsconfig.json | 1 + types/lory.js/tsconfig.json | 1 + types/loud-rejection/tsconfig.json | 3 +- types/lovefield/tsconfig.json | 1 + types/lowdb/tsconfig.json | 1 + types/lowlight/tsconfig.json | 1 + types/lozad/tsconfig.json | 1 + types/lru-cache/tsconfig.json | 3 +- types/lscache/tsconfig.json | 1 + types/ltx/tsconfig.json | 43 +- types/luaparse/tsconfig.json | 1 + types/lunr/tsconfig.json | 1 + types/lunr/v0/tsconfig.json | 5 +- types/lwip/tsconfig.json | 1 + types/lz-string/tsconfig.json | 1 + types/magic-number/tsconfig.json | 1 + types/magicsuggest/tsconfig.json | 1 + types/magnet-uri/tsconfig.json | 45 +- types/mailcheck/tsconfig.json | 1 + types/maildev/tsconfig.json | 1 + types/mailgen/tsconfig.json | 1 + types/mailparser/tsconfig.json | 1 + types/main-bower-files/tsconfig.json | 5 +- types/mainloop.js/tsconfig.json | 3 +- types/make-dir/tsconfig.json | 3 +- types/maker.js/tsconfig.json | 1 + types/mandrill-api/tsconfig.json | 1 + types/map-obj/tsconfig.json | 3 +- types/mapbox-gl/tsconfig.json | 1 + types/mapbox/tsconfig.json | 1 + types/mapbox__shelf-pack/tsconfig.json | 5 +- types/mapsjs/tsconfig.json | 1 + types/mariasql/tsconfig.json | 1 + types/markdown-it-anchor/tsconfig.json | 3 +- types/markdown-it-container/tsconfig.json | 1 + types/markdown-it/tsconfig.json | 1 + types/marked/tsconfig.json | 1 + .../marker-animate-unobtrusive/tsconfig.json | 1 + types/markerclustererplus/tsconfig.json | 1 + types/markitup/tsconfig.json | 1 + types/maskedinput/tsconfig.json | 1 + types/masonry-layout/tsconfig.json | 1 + types/massive/tsconfig.json | 3 +- types/match-media-mock/tsconfig.json | 1 + types/material-design-lite/tsconfig.json | 1 + types/material-ui-pagination/tsconfig.json | 3 +- types/material-ui/tsconfig.json | 1 + types/materialize-css/tsconfig.json | 1 + types/math3d/tsconfig.json | 1 + types/mathjax/tsconfig.json | 1 + types/mathjs/tsconfig.json | 1 + types/matter-js/tsconfig.json | 1 + types/maxmind/tsconfig.json | 1 + types/mcustomscrollbar/tsconfig.json | 1 + types/md5/tsconfig.json | 3 +- types/mdns/tsconfig.json | 1 + types/media-typer/tsconfig.json | 3 +- types/medium-editor/tsconfig.json | 1 + types/mem/tsconfig.json | 1 + types/memcached/tsconfig.json | 1 + types/memoizee/tsconfig.json | 1 + types/memory-cache/tsconfig.json | 1 + types/memory-fs/tsconfig.json | 1 + types/memwatch-next/tsconfig.json | 1 + types/menubar/tsconfig.json | 1 + types/meow/tsconfig.json | 1 + types/merge-descriptors/tsconfig.json | 1 + types/merge-stream/tsconfig.json | 1 + types/merge2/tsconfig.json | 5 +- types/mersenne-twister/tsconfig.json | 3 +- types/meshblu/tsconfig.json | 1 + types/mess/tsconfig.json | 1 + types/messenger/tsconfig.json | 1 + types/meteor-accounts-phone/tsconfig.json | 1 + types/meteor-collection-hooks/tsconfig.json | 43 +- types/meteor-jboulhous-dev/tsconfig.json | 1 + types/meteor-persistent-session/tsconfig.json | 1 + .../tsconfig.json | 1 + types/meteor-publish-composite/tsconfig.json | 1 + types/meteor-roles/tsconfig.json | 1 + types/meteor/tsconfig.json | 3 +- types/method-override/tsconfig.json | 1 + types/methods/tsconfig.json | 3 +- types/metismenu/tsconfig.json | 1 + types/metric-suffix/tsconfig.json | 1 + types/mfiles/tsconfig.json | 6 +- types/micro/tsconfig.json | 1 + types/microgears/tsconfig.json | 1 + types/micromatch/tsconfig.json | 1 + types/microrouter/tsconfig.json | 3 +- types/microsoft-ajax/tsconfig.json | 1 + types/microsoft-live-connect/tsconfig.json | 1 + types/microsoft-sdk-soap/tsconfig.json | 5 +- types/microsoftteams/tsconfig.json | 1 + types/microtime/tsconfig.json | 3 +- types/milkcocoa/tsconfig.json | 1 + types/milliseconds/tsconfig.json | 1 + types/mime-db/tsconfig.json | 1 + types/mime-types/tsconfig.json | 3 +- types/mime/tsconfig.json | 3 +- types/mimos/tsconfig.json | 1 + types/mina/tsconfig.json | 3 +- types/minilog/tsconfig.json | 1 + types/minimatch/tsconfig.json | 1 + types/minimist/tsconfig.json | 1 + types/minipass/tsconfig.json | 3 +- types/mithril-global/tsconfig.json | 46 +- types/mithril/tsconfig.json | 80 +- types/mitm/tsconfig.json | 1 + types/mixpanel/tsconfig.json | 1 + types/mixto/tsconfig.json | 1 + types/mkdirp/tsconfig.json | 1 + types/mkpath/tsconfig.json | 1 + types/mmmagic/tsconfig.json | 1 + types/mobile-detect/tsconfig.json | 1 + types/mocha-phantomjs/tsconfig.json | 1 + types/mocha/tsconfig.json | 1 + types/mock-fs/tsconfig.json | 1 + types/mock-raf/tsconfig.json | 1 + types/mock-require/tsconfig.json | 1 + types/mockdate/tsconfig.json | 1 + types/mockery/tsconfig.json | 1 + types/mockjs/tsconfig.json | 43 +- types/modernizr/tsconfig.json | 1 + types/modesl/tsconfig.json | 7 +- types/moment-business/tsconfig.json | 3 +- types/moment-duration-format/tsconfig.json | 3 +- types/moment-jalaali/tsconfig.json | 1 + types/moment-range/tsconfig.json | 1 + types/moment-round/tsconfig.json | 1 + types/moment-timezone/tsconfig.json | 1 + types/mongodb/tsconfig.json | 1 + types/mongodb/v1/tsconfig.json | 1 + types/mongoose-auto-increment/tsconfig.json | 1 + types/mongoose-deep-populate/tsconfig.json | 1 + types/mongoose-mock/tsconfig.json | 1 + types/mongoose-paginate/tsconfig.json | 1 + types/mongoose-promise/tsconfig.json | 1 + types/mongoose-seeder/tsconfig.json | 5 +- types/mongoose-sequence/tsconfig.json | 1 + types/mongoose-simple-random/tsconfig.json | 3 +- types/mongoose-unique-validator/tsconfig.json | 3 +- types/mongoose/tsconfig.json | 1 + types/mongoose/v3/tsconfig.json | 1 + types/monk/tsconfig.json | 1 + types/moo/tsconfig.json | 3 +- types/moonjs/tsconfig.json | 6 +- types/morgan/tsconfig.json | 3 +- types/morris.js/tsconfig.json | 1 + types/mousetrap/tsconfig.json | 1 + types/move-concurrently/tsconfig.json | 3 +- types/moviedb/tsconfig.json | 1 + types/moxios/tsconfig.json | 3 +- types/mpromise/tsconfig.json | 1 + types/mqtt/tsconfig.json | 1 + types/mri/tsconfig.json | 41 +- types/ms/tsconfig.json | 1 + types/msgpack-lite/tsconfig.json | 1 + types/msgpack/tsconfig.json | 1 + types/msgpack5/tsconfig.json | 1 + types/msnodesql/tsconfig.json | 1 + types/msportalfx-test/tsconfig.json | 5 +- types/mssql/tsconfig.json | 3 +- types/mu2/tsconfig.json | 1 + types/multer-gridfs-storage/tsconfig.json | 3 +- types/multer-gridfs-storage/v1/tsconfig.json | 7 +- types/multer-s3/tsconfig.json | 1 + types/multer/tsconfig.json | 3 +- types/multi-typeof/tsconfig.json | 1 + types/multimatch/tsconfig.json | 3 +- types/multiparty/tsconfig.json | 1 + types/multiplexjs/tsconfig.json | 1 + types/murmurhash-js/tsconfig.json | 1 + types/murmurhash3js/tsconfig.json | 1 + types/musicmetadata/tsconfig.json | 1 + types/mustache/tsconfig.json | 1 + types/mv/tsconfig.json | 3 +- types/mysql/tsconfig.json | 1 + types/mz/tsconfig.json | 1 + types/n3/tsconfig.json | 1 + types/nano/tsconfig.json | 3 +- types/nanoajax/tsconfig.json | 1 + types/nanomsg/tsconfig.json | 1 + types/nanoscroller/tsconfig.json | 1 + types/nanp/tsconfig.json | 1 + types/nats-hemera/tsconfig.json | 3 +- types/natsort/tsconfig.json | 3 +- types/natural-sort/tsconfig.json | 1 + types/natural/tsconfig.json | 1 + types/navigation-react/tsconfig.json | 1 + types/navigation/tsconfig.json | 1 + types/navigo/tsconfig.json | 1 + types/nblas/tsconfig.json | 1 + types/nconf/tsconfig.json | 1 + types/ncp/tsconfig.json | 1 + types/ndarray/tsconfig.json | 1 + types/nearley/tsconfig.json | 3 +- types/nedb-logger/tsconfig.json | 1 + types/nedb/tsconfig.json | 1 + types/needle/tsconfig.json | 3 +- types/needle/v0/tsconfig.json | 9 +- types/needle/v1/tsconfig.json | 7 +- types/negotiator/tsconfig.json | 3 +- types/neo4j/tsconfig.json | 1 + types/nes/tsconfig.json | 3 +- types/netmask/tsconfig.json | 1 + types/nexpect/tsconfig.json | 1 + types/next-redux-wrapper/tsconfig.json | 47 +- types/next/tsconfig.json | 3 +- types/ng-command/tsconfig.json | 1 + types/ng-cordova/tsconfig.json | 1 + types/ng-dialog/tsconfig.json | 1 + types/ng-facebook/tsconfig.json | 1 + types/ng-file-upload/tsconfig.json | 1 + types/ng-flow/tsconfig.json | 1 + types/ng-grid/tsconfig.json | 1 + types/ng-i18next/tsconfig.json | 1 + types/ng-notify/tsconfig.json | 1 + types/ng-stomp/tsconfig.json | 1 + types/ngbootbox/tsconfig.json | 1 + types/ngeohash/tsconfig.json | 1 + types/ngkookies/tsconfig.json | 1 + types/ngmap/tsconfig.json | 1 + types/ngprogress-lite/tsconfig.json | 1 + types/ngprogress/tsconfig.json | 1 + types/ngreact/tsconfig.json | 1 + types/ngstorage/tsconfig.json | 3 +- types/ngtoaster/tsconfig.json | 1 + types/ngwysiwyg/tsconfig.json | 1 + types/nightmare/tsconfig.json | 1 + types/nightwatch/tsconfig.json | 3 +- types/noble/tsconfig.json | 3 +- types/nock/tsconfig.json | 1 + types/nodal/tsconfig.json | 1 + types/node-7z/tsconfig.json | 1 + types/node-array-ext/tsconfig.json | 1 + types/node-cache/tsconfig.json | 1 + types/node-calendar/tsconfig.json | 1 + types/node-cleanup/tsconfig.json | 3 +- types/node-common-errors/tsconfig.json | 3 +- types/node-config-manager/tsconfig.json | 1 + types/node-dir/tsconfig.json | 1 + types/node-dogstatsd/tsconfig.json | 1 + types/node-emoji/tsconfig.json | 1 + types/node-feedparser/tsconfig.json | 3 +- types/node-fetch/tsconfig.json | 1 + types/node-fibers/tsconfig.json | 1 + types/node-forge/tsconfig.json | 1 + types/node-gcm/tsconfig.json | 1 + types/node-geocoder/tsconfig.json | 3 +- types/node-getopt/tsconfig.json | 1 + types/node-hid/tsconfig.json | 1 + types/node-hue-api/tsconfig.json | 1 + types/node-int64/tsconfig.json | 1 + types/node-ipc/tsconfig.json | 1 + types/node-jsfl-runner/tsconfig.json | 1 + types/node-json-db/tsconfig.json | 1 + types/node-mysql-wrapper/tsconfig.json | 1 + types/node-notifier/tsconfig.json | 1 + types/node-persist/tsconfig.json | 5 +- types/node-pg-migrate/tsconfig.json | 3 +- types/node-polyglot/tsconfig.json | 1 + types/node-powershell/tsconfig.json | 3 +- types/node-ral/tsconfig.json | 3 +- types/node-red/tsconfig.json | 3 +- types/node-rsa/tsconfig.json | 1 + types/node-sass-middleware/tsconfig.json | 1 + types/node-sass/tsconfig.json | 1 + types/node-schedule/tsconfig.json | 1 + types/node-slack/tsconfig.json | 1 + types/node-snap7/tsconfig.json | 1 + types/node-sprite-generator/tsconfig.json | 3 +- types/node-static/tsconfig.json | 41 +- types/node-statsd/tsconfig.json | 3 +- types/node-telegram-bot-api/tsconfig.json | 3 +- types/node-uuid/tsconfig.json | 1 + types/node-validator/tsconfig.json | 1 + types/node-vault/tsconfig.json | 3 +- types/node-waves/tsconfig.json | 1 + types/node-wit/tsconfig.json | 1 + types/node-xmpp-client/tsconfig.json | 43 +- types/node-xmpp-core/tsconfig.json | 43 +- types/node-zookeeper-client/tsconfig.json | 3 +- types/node/tsconfig.json | 3 +- types/node/v0/tsconfig.json | 1 + types/node/v4/tsconfig.json | 3 +- types/node/v6/tsconfig.json | 1 + types/node/v7/tsconfig.json | 3 +- types/node_redis/tsconfig.json | 1 + types/nodegit/tsconfig.json | 3 +- .../nodemailer-direct-transport/tsconfig.json | 1 + .../tsconfig.json | 1 + .../nodemailer-pickup-transport/tsconfig.json | 1 + types/nodemailer-ses-transport/tsconfig.json | 1 + types/nodemailer-smtp-pool/tsconfig.json | 1 + types/nodemailer-smtp-transport/tsconfig.json | 1 + types/nodemailer-stub-transport/tsconfig.json | 1 + types/nodemailer/tsconfig.json | 1 + types/nodeunit/tsconfig.json | 1 + types/noisejs/tsconfig.json | 1 + types/nomnom/tsconfig.json | 1 + types/nopt/tsconfig.json | 1 + types/normalize-url/tsconfig.json | 3 +- types/notie/tsconfig.json | 1 + types/notify.js/tsconfig.json | 1 + types/notify/tsconfig.json | 1 + types/notifyjs/tsconfig.json | 1 + types/nouislider/tsconfig.json | 1 + types/nouislider/v7/tsconfig.json | 1 + types/nouislider/v8/tsconfig.json | 1 + types/novnc-core/tsconfig.json | 3 +- types/npm-package-arg/tsconfig.json | 3 +- types/npm/tsconfig.json | 1 + types/nprogress/tsconfig.json | 1 + types/ns-api/tsconfig.json | 1 + types/nslog/tsconfig.json | 3 +- types/nsqjs/tsconfig.json | 43 +- types/number-is-nan/tsconfig.json | 1 + types/number-to-words/tsconfig.json | 3 +- types/numeral/tsconfig.json | 1 + types/numjs/tsconfig.json | 3 +- types/nunjucks-date/tsconfig.json | 1 + types/nunjucks/tsconfig.json | 1 + types/nvd3/tsconfig.json | 5 +- types/nw.gui/tsconfig.json | 1 + types/nw.js/tsconfig.json | 1 + types/o.js/tsconfig.json | 5 +- types/oauth.js/tsconfig.json | 1 + types/oauth2-server/tsconfig.json | 3 +- types/oauth2orize/tsconfig.json | 1 + types/obelisk.js/tsconfig.json | 1 + types/object-assign/tsconfig.json | 1 + types/object-diff/tsconfig.json | 1 + types/object-hash/tsconfig.json | 1 + types/object-map/tsconfig.json | 3 +- types/object-path/tsconfig.json | 1 + types/object-refs/tsconfig.json | 1 + types/oblo-util/tsconfig.json | 1 + types/oboe/tsconfig.json | 1 + types/observe-js/tsconfig.json | 1 + types/oclazyload/tsconfig.json | 1 + types/odata/tsconfig.json | 5 +- types/ofe/tsconfig.json | 3 +- types/office-js/tsconfig.json | 1 + types/offline-js/tsconfig.json | 1 + types/oibackoff/tsconfig.json | 1 + types/oidc-token-manager/tsconfig.json | 1 + types/on-finished/tsconfig.json | 3 +- types/on-headers/tsconfig.json | 3 +- types/once/tsconfig.json | 3 +- types/onetime/tsconfig.json | 3 +- types/oniguruma/tsconfig.json | 3 +- types/onoff/tsconfig.json | 1 + types/open/tsconfig.json | 1 + types/opener/tsconfig.json | 3 +- types/openfin/tsconfig.json | 3 +- types/openfin/v15/tsconfig.json | 1 + types/openfin/v16/tsconfig.json | 49 +- types/openjscad/tsconfig.json | 1 + types/openlayers/tsconfig.json | 1 + types/openlayers/v2/tsconfig.json | 1 + types/openlayers/v3/tsconfig.json | 3 +- types/openpgp/tsconfig.json | 1 + types/openstack-wrapper/tsconfig.json | 1 + types/opentok/tsconfig.json | 1 + types/opentype.js/tsconfig.json | 1 + types/openui5/tsconfig.json | 1 + types/opn/tsconfig.json | 1 + types/optics-agent/tsconfig.json | 1 + types/optimist/tsconfig.json | 1 + .../tsconfig.json | 3 +- types/ora/tsconfig.json | 3 +- types/ora/v0/tsconfig.json | 3 +- types/oracledb/tsconfig.json | 1 + types/orchestrator/tsconfig.json | 5 +- types/orderedmap/tsconfig.json | 3 +- types/orientjs/tsconfig.json | 1 + types/os-homedir/tsconfig.json | 1 + types/os-locale/tsconfig.json | 3 +- types/os-locale/v1/tsconfig.json | 7 +- types/os-name/tsconfig.json | 3 +- types/os-tmpdir/tsconfig.json | 1 + types/osmosis/tsconfig.json | 3 +- types/osmtogeojson/tsconfig.json | 1 + types/osrm/tsconfig.json | 3 +- types/owl.carousel/tsconfig.json | 3 +- types/owlcarousel/tsconfig.json | 1 + types/p-all/tsconfig.json | 3 +- types/p-any/tsconfig.json | 3 +- types/p-cancelable/tsconfig.json | 3 +- types/p-debounce/tsconfig.json | 3 +- types/p-defer/tsconfig.json | 1 + types/p-do-whilst/tsconfig.json | 3 +- types/p-each-series/tsconfig.json | 3 +- types/p-event/tsconfig.json | 3 +- types/p-every/tsconfig.json | 3 +- types/p-lazy/tsconfig.json | 3 +- types/p-limit/tsconfig.json | 3 +- types/p-locate/tsconfig.json | 3 +- types/p-log/tsconfig.json | 3 +- types/p-map-series/tsconfig.json | 3 +- types/p-map/tsconfig.json | 3 +- types/p-one/tsconfig.json | 3 +- types/p-props/tsconfig.json | 3 +- types/p-queue/tsconfig.json | 3 +- types/p-reduce/tsconfig.json | 3 +- types/p-reflect/tsconfig.json | 3 +- types/p-retry/tsconfig.json | 3 +- types/p-series/tsconfig.json | 3 +- types/p-settle/tsconfig.json | 5 +- types/p-some/tsconfig.json | 3 +- types/p-tap/tsconfig.json | 3 +- types/p-throttle/tsconfig.json | 3 +- types/p-timeout/tsconfig.json | 3 +- types/p-try/tsconfig.json | 3 +- types/p-wait-for/tsconfig.json | 3 +- types/p-whilst/tsconfig.json | 3 +- types/p2/tsconfig.json | 1 + types/packery/tsconfig.json | 1 + types/pad/tsconfig.json | 1 + types/page-icon/tsconfig.json | 1 + types/page/tsconfig.json | 1 + types/paho-mqtt/tsconfig.json | 3 +- types/pako/tsconfig.json | 1 + types/papaparse/tsconfig.json | 1 + types/paper/tsconfig.json | 1 + types/paralleljs/tsconfig.json | 1 + types/parse-git-config/tsconfig.json | 3 +- types/parse-glob/tsconfig.json | 1 + types/parse-link-header/tsconfig.json | 3 +- types/parse-mockdb/tsconfig.json | 1 + types/parse-torrent-file/tsconfig.json | 45 +- types/parse-torrent/tsconfig.json | 1 + types/parse-unit/tsconfig.json | 3 +- types/parse/tsconfig.json | 3 +- types/parseurl/tsconfig.json | 1 + types/parsimmon/tsconfig.json | 1 + types/passport-anonymous/tsconfig.json | 1 + types/passport-beam/tsconfig.json | 1 + types/passport-client-cert/tsconfig.json | 3 +- types/passport-discord/tsconfig.json | 3 +- types/passport-facebook-token/tsconfig.json | 1 + types/passport-facebook/tsconfig.json | 1 + types/passport-github/tsconfig.json | 1 + types/passport-github2/tsconfig.json | 3 +- types/passport-google-oauth/tsconfig.json | 1 + types/passport-google-oauth2/tsconfig.json | 43 +- types/passport-http-bearer/tsconfig.json | 1 + types/passport-http/tsconfig.json | 1 + types/passport-jwt/tsconfig.json | 1 + types/passport-local-mongoose/tsconfig.json | 1 + types/passport-local/tsconfig.json | 1 + .../tsconfig.json | 1 + types/passport-oauth2/tsconfig.json | 3 +- types/passport-saml/tsconfig.json | 3 +- types/passport-steam/tsconfig.json | 3 +- types/passport-strategy/tsconfig.json | 1 + types/passport-twitter/tsconfig.json | 1 + types/passport-unique-token/tsconfig.json | 1 + types/passport/tsconfig.json | 1 + types/password-hash-and-salt/tsconfig.json | 1 + types/password-hash/tsconfig.json | 1 + types/path-exists/tsconfig.json | 3 +- types/path-exists/v1/tsconfig.json | 7 +- types/path-is-absolute/tsconfig.json | 1 + types/path-parse/tsconfig.json | 1 + types/pathfinding/tsconfig.json | 1 + types/pathjs/tsconfig.json | 1 + types/pathwatcher/tsconfig.json | 3 +- types/pathwatcher/v0/tsconfig.json | 11 +- types/pause/tsconfig.json | 3 +- types/payment/tsconfig.json | 1 + types/paypal-cordova-plugin/tsconfig.json | 1 + types/paypal-rest-sdk/tsconfig.json | 3 +- types/pbf/tsconfig.json | 1 + types/pdfjs-dist/tsconfig.json | 3 +- types/pdfkit/tsconfig.json | 1 + types/pdfobject/tsconfig.json | 1 + types/pebblekitjs/tsconfig.json | 1 + types/peer-dial/tsconfig.json | 3 +- types/peerjs/tsconfig.json | 1 + types/pegjs/tsconfig.json | 1 + types/pem/tsconfig.json | 1 + types/perfect-scrollbar/tsconfig.json | 1 + types/persona/tsconfig.json | 1 + types/pet-finder-api/tsconfig.json | 3 +- types/pg-connection-string/tsconfig.json | 3 +- types/pg-ears/tsconfig.json | 3 +- types/pg-escape/tsconfig.json | 3 +- types/pg-pool/tsconfig.json | 1 + types/pg-query-stream/tsconfig.json | 1 + types/pg-types/tsconfig.json | 1 + types/pg/tsconfig.json | 3 +- types/pg/v6/tsconfig.json | 7 +- types/pgwmodal/tsconfig.json | 1 + types/phantom/tsconfig.json | 1 + types/phantomcss/tsconfig.json | 1 + types/phantomjs/tsconfig.json | 1 + types/phoenix/tsconfig.json | 1 + types/phone-formatter/tsconfig.json | 1 + types/phone/tsconfig.json | 1 + types/phonegap-facebook-plugin/tsconfig.json | 1 + types/phonegap-nfc/tsconfig.json | 1 + .../tsconfig.json | 1 + types/phonegap-plugin-push/tsconfig.json | 1 + types/phonegap/tsconfig.json | 1 + types/phonon/tsconfig.json | 3 +- types/photonui/tsconfig.json | 1 + types/photoswipe/tsconfig.json | 3 +- types/physijs/tsconfig.json | 1 + types/pi-spi/tsconfig.json | 1 + types/pick-weight/tsconfig.json | 3 +- types/pickadate/tsconfig.json | 1 + types/picturefill/tsconfig.json | 3 +- types/pidusage/tsconfig.json | 3 +- types/pify/tsconfig.json | 1 + types/pigpio/tsconfig.json | 1 + types/pikaday-time/tsconfig.json | 1 + types/pikaday/tsconfig.json | 1 + types/pinkyswear/tsconfig.json | 1 + types/pino/tsconfig.json | 3 +- types/pino/v3/tsconfig.json | 7 +- types/pinterest-sdk/tsconfig.json | 1 + types/pinyin/tsconfig.json | 3 +- types/piwik-tracker/tsconfig.json | 1 + types/pixi.js/tsconfig.json | 1 + types/pkijs/tsconfig.json | 1 + types/platform/tsconfig.json | 1 + types/playerframework/tsconfig.json | 1 + types/pleasejs/tsconfig.json | 1 + types/plotly.js/tsconfig.json | 3 +- types/plottable/tsconfig.json | 5 +- types/plugapi/tsconfig.json | 1 + types/plupload/tsconfig.json | 1 + types/pluralize/tsconfig.json | 1 + types/png-async/tsconfig.json | 1 + types/pngjs/tsconfig.json | 3 +- types/pngjs2/tsconfig.json | 1 + types/podcast/tsconfig.json | 1 + types/podium/tsconfig.json | 1 + types/point-in-polygon/tsconfig.json | 1 + types/polylabel/tsconfig.json | 1 + types/polyline/tsconfig.json | 1 + types/polymer-ts/tsconfig.json | 1 + types/polymer/tsconfig.json | 1 + types/popcorn/tsconfig.json | 1 + types/popper.js/tsconfig.json | 3 +- types/portscanner/tsconfig.json | 3 +- types/postal/tsconfig.json | 1 + types/postal/v0/tsconfig.json | 1 + types/postmark/tsconfig.json | 3 +- types/pouch-redux-middleware/tsconfig.json | 1 + types/pouchdb-adapter-fruitdown/tsconfig.json | 1 + types/pouchdb-adapter-http/tsconfig.json | 1 + types/pouchdb-adapter-idb/tsconfig.json | 1 + types/pouchdb-adapter-leveldb/tsconfig.json | 1 + .../tsconfig.json | 1 + types/pouchdb-adapter-memory/tsconfig.json | 1 + .../pouchdb-adapter-node-websql/tsconfig.json | 1 + types/pouchdb-adapter-websql/tsconfig.json | 1 + types/pouchdb-browser/tsconfig.json | 1 + types/pouchdb-core/tsconfig.json | 1 + types/pouchdb-find/tsconfig.json | 1 + types/pouchdb-http/tsconfig.json | 1 + types/pouchdb-mapreduce/tsconfig.json | 1 + types/pouchdb-node/tsconfig.json | 1 + types/pouchdb-replication/tsconfig.json | 1 + types/pouchdb-upsert/tsconfig.json | 1 + types/pouchdb/tsconfig.json | 1 + types/power-assert-formatter/tsconfig.json | 1 + types/power-assert/tsconfig.json | 1 + types/precise/tsconfig.json | 1 + types/precond/tsconfig.json | 1 + types/preloadjs/tsconfig.json | 1 + types/prelude-ls/tsconfig.json | 1 + types/prettier/tsconfig.json | 3 +- types/pretty-bytes/tsconfig.json | 1 + types/pretty-format/tsconfig.json | 3 +- types/pretty-ms/tsconfig.json | 3 +- types/prettyjson/tsconfig.json | 1 + types/printf/tsconfig.json | 3 +- types/priorityqueuejs/tsconfig.json | 1 + types/prismjs/tsconfig.json | 3 +- types/private-ip/tsconfig.json | 3 +- types/procfs-stats/tsconfig.json | 3 +- types/progress/tsconfig.json | 1 + types/progressbar/tsconfig.json | 1 + types/progressjs/tsconfig.json | 1 + types/proj4/tsconfig.json | 1 + types/proj4leaflet/tsconfig.json | 3 +- types/project-oxford/tsconfig.json | 1 + types/promise-dag/tsconfig.json | 3 +- types/promise-pg/tsconfig.json | 5 +- types/promise-polyfill/tsconfig.json | 1 + types/promise-pool/tsconfig.json | 5 +- types/promise.prototype.finally/tsconfig.json | 1 + types/promised-temp/tsconfig.json | 7 +- types/promisify-node/tsconfig.json | 1 + types/promisify-supertest/tsconfig.json | 1 + types/prompt-sync-history/tsconfig.json | 1 + types/prompt-sync/tsconfig.json | 1 + types/promptly/tsconfig.json | 1 + types/prop-types/tsconfig.json | 7 +- types/properties-reader/tsconfig.json | 3 +- types/prosemirror-collab/tsconfig.json | 3 +- types/prosemirror-commands/tsconfig.json | 1 + types/prosemirror-history/tsconfig.json | 1 + types/prosemirror-inputrules/tsconfig.json | 1 + types/prosemirror-keymap/tsconfig.json | 1 + types/prosemirror-markdown/tsconfig.json | 3 +- types/prosemirror-menu/tsconfig.json | 1 + types/prosemirror-model/tsconfig.json | 1 + types/prosemirror-schema-basic/tsconfig.json | 3 +- types/prosemirror-schema-list/tsconfig.json | 3 +- types/prosemirror-state/tsconfig.json | 1 + types/prosemirror-tables/tsconfig.json | 43 +- types/prosemirror-transform/tsconfig.json | 1 + types/prosemirror-view/tsconfig.json | 1 + types/protobufjs/tsconfig.json | 1 + types/protractor-browser-logs/tsconfig.json | 7 +- types/protractor-helpers/tsconfig.json | 1 + types/protractor-http-mock/tsconfig.json | 5 +- types/proxy-addr/tsconfig.json | 3 +- types/proxyquire/tsconfig.json | 1 + types/pty.js/tsconfig.json | 1 + types/public-ip/tsconfig.json | 3 +- types/pubsub-js/tsconfig.json | 1 + types/pug/tsconfig.json | 1 + types/pulltorefreshjs/tsconfig.json | 1 + types/pump/tsconfig.json | 3 +- types/puppeteer/tsconfig.json | 40 +- types/pure-render-decorator/tsconfig.json | 1 + types/purl/tsconfig.json | 1 + types/pusher-js/tsconfig.json | 1 + types/pvutils/tsconfig.json | 1 + types/python-shell/tsconfig.json | 1 + types/q-io/tsconfig.json | 5 +- types/q-retry/tsconfig.json | 5 +- types/q/tsconfig.json | 3 +- types/q/v0/tsconfig.json | 5 +- types/qhistory/tsconfig.json | 3 +- types/qlik-engineapi/tsconfig.json | 1 + .../tsconfig.json | 1 + types/qlik/tsconfig.json | 45 +- types/qr-image/tsconfig.json | 3 +- types/qrcode-generator/tsconfig.json | 1 + types/qrcode.react/tsconfig.json | 3 +- types/qrcode/tsconfig.json | 1 + types/qs/tsconfig.json | 3 +- types/qtip2/tsconfig.json | 1 + types/query-string/tsconfig.json | 1 + types/quick-lru/tsconfig.json | 3 +- types/quill/tsconfig.json | 7 +- types/quixote/tsconfig.json | 1 + types/qunit/tsconfig.json | 1 + types/qunit/v1/tsconfig.json | 1 + types/quoted-printable/tsconfig.json | 1 + types/qwest/tsconfig.json | 1 + types/r-script/tsconfig.json | 3 +- types/rabbit.js/tsconfig.json | 1 + types/ractive/tsconfig.json | 1 + types/radium/tsconfig.json | 1 + types/radius/tsconfig.json | 1 + types/ramda/tsconfig.json | 1 + types/random-js/tsconfig.json | 1 + types/random-seed/tsconfig.json | 1 + types/random-string/tsconfig.json | 1 + types/randomcolor/tsconfig.json | 1 + types/randomstring/tsconfig.json | 1 + types/range-parser/tsconfig.json | 1 + types/rangy/tsconfig.json | 3 +- types/rangyinputs/tsconfig.json | 1 + types/raphael/tsconfig.json | 1 + types/rappid/tsconfig.json | 1 + types/ratelimiter/tsconfig.json | 1 + types/raty/tsconfig.json | 1 + types/raven/tsconfig.json | 3 +- types/raygun4js/tsconfig.json | 1 + types/rbush/tsconfig.json | 1 + types/rc-select/tsconfig.json | 1 + types/rc-slider/tsconfig.json | 7 +- types/rc-tooltip/tsconfig.json | 1 + types/rc-tree/tsconfig.json | 3 +- types/rc/tsconfig.json | 1 + types/rcloader/tsconfig.json | 1 + .../tsconfig.json | 1 + .../tsconfig.json | 1 + .../tsconfig.json | 1 + types/react-addons-perf/tsconfig.json | 1 + .../tsconfig.json | 1 + .../tsconfig.json | 1 + types/react-addons-test-utils/tsconfig.json | 1 + .../tsconfig.json | 1 + types/react-addons-update/tsconfig.json | 1 + types/react-app/tsconfig.json | 3 +- types/react-aria-menubutton/tsconfig.json | 42 +- types/react-autosuggest/tsconfig.json | 1 + types/react-beautiful-dnd/tsconfig.json | 3 +- types/react-big-calendar/tsconfig.json | 1 + types/react-body-classname/tsconfig.json | 1 + .../react-bootstrap-date-picker/tsconfig.json | 1 + .../tsconfig.json | 1 + types/react-bootstrap-table/tsconfig.json | 1 + types/react-bootstrap/tsconfig.json | 3 +- types/react-breadcrumbs/tsconfig.json | 11 +- types/react-burger-menu/tsconfig.json | 3 +- types/react-bytesize-icons/tsconfig.json | 1 + types/react-calendar-timeline/tsconfig.json | 1 + types/react-chartjs-2/tsconfig.json | 23 +- types/react-codemirror/tsconfig.json | 1 + types/react-color/tsconfig.json | 3 +- types/react-copy-to-clipboard/tsconfig.json | 3 +- types/react-cropper/tsconfig.json | 1 + types/react-css-modules/tsconfig.json | 1 + .../tsconfig.json | 1 + types/react-custom-scrollbars/tsconfig.json | 1 + .../react-custom-scrollbars/v3/tsconfig.json | 11 +- types/react-data-grid/tsconfig.json | 1 + types/react-data-grid/v1/tsconfig.json | 7 +- types/react-datagrid/tsconfig.json | 1 + types/react-datepicker/tsconfig.json | 1 + types/react-daterange-picker/tsconfig.json | 1 + types/react-dates/tsconfig.json | 3 +- types/react-daum-postcode/tsconfig.json | 1 + types/react-dnd-html5-backend/tsconfig.json | 1 + types/react-dnd/tsconfig.json | 3 +- types/react-document-title/tsconfig.json | 1 + types/react-dom/tsconfig.json | 3 +- types/react-dom/v15/tsconfig.json | 3 +- types/react-dropzone/tsconfig.json | 1 + types/react-dropzone/v2/tsconfig.json | 3 +- types/react-dropzone/v3/tsconfig.json | 1 + types/react-easy-chart/tsconfig.json | 1 + types/react-event-listener/tsconfig.json | 1 + types/react-fa/tsconfig.json | 1 + types/react-facebook-login/tsconfig.json | 3 +- types/react-faux-dom/tsconfig.json | 1 + types/react-file-input/tsconfig.json | 1 + types/react-file-reader-input/tsconfig.json | 1 + types/react-flatpickr/tsconfig.json | 3 +- types/react-flex/tsconfig.json | 1 + types/react-flexr/tsconfig.json | 1 + types/react-flip-move/tsconfig.json | 1 + types/react-fontawesome/tsconfig.json | 1 + types/react-form/tsconfig.json | 3 +- types/react-foundation/tsconfig.json | 3 +- types/react-ga/tsconfig.json | 3 +- types/react-geosuggest/tsconfig.json | 6 +- types/react-gravatar/tsconfig.json | 1 + types/react-grid-layout/tsconfig.json | 1 + types/react-hamburger-menu/tsconfig.json | 47 +- types/react-helmet/tsconfig.json | 1 + types/react-helmet/v4/tsconfig.json | 1 + types/react-highlight-words/tsconfig.json | 1 + types/react-highlighter/tsconfig.json | 1 + types/react-holder/tsconfig.json | 1 + types/react-hot-loader/tsconfig.json | 1 + types/react-i18next/tsconfig.json | 3 +- types/react-i18next/v1/tsconfig.json | 3 +- types/react-icon-base/tsconfig.json | 3 +- types/react-icons/tsconfig.json | 11327 ++++++++-------- types/react-imageloader/tsconfig.json | 1 + types/react-infinite-scroller/tsconfig.json | 3 +- types/react-infinite/tsconfig.json | 1 + types/react-input-calendar/tsconfig.json | 1 + types/react-input-mask/tsconfig.json | 3 +- types/react-intl-redux/tsconfig.json | 1 + types/react-intl/tsconfig.json | 3 +- types/react-intl/v1/tsconfig.json | 1 + types/react-is-deprecated/tsconfig.json | 1 + types/react-joyride/tsconfig.json | 1 + types/react-json-pretty/tsconfig.json | 3 +- types/react-json-tree/tsconfig.json | 1 + types/react-json/tsconfig.json | 3 +- types/react-jsonschema-form/tsconfig.json | 1 + types/react-lazyload/tsconfig.json | 3 +- types/react-leaflet/tsconfig.json | 3 +- types/react-list/tsconfig.json | 1 + types/react-loadable/tsconfig.json | 3 +- types/react-loader/tsconfig.json | 3 +- types/react-maskedinput/tsconfig.json | 1 + types/react-mce/tsconfig.json | 3 +- types/react-mdl/tsconfig.json | 1 + types/react-measure/tsconfig.json | 1 + types/react-mixin/tsconfig.json | 1 + types/react-modal/tsconfig.json | 1 + types/react-monaco-editor/tsconfig.json | 3 +- types/react-motion-slider/tsconfig.json | 1 + types/react-motion/tsconfig.json | 1 + types/react-native-collapsible/tsconfig.json | 3 +- .../react-native-communications/tsconfig.json | 47 +- types/react-native-datepicker/tsconfig.json | 3 +- types/react-native-doc-viewer/tsconfig.json | 3 +- .../react-native-drawer-layout/tsconfig.json | 3 +- types/react-native-drawer/tsconfig.json | 3 +- types/react-native-elements/tsconfig.json | 3 +- types/react-native-fbsdk/tsconfig.json | 3 +- types/react-native-fetch-blob/tsconfig.json | 44 +- types/react-native-fs/tsconfig.json | 1 + types/react-native-goby/tsconfig.json | 1 + .../tsconfig.json | 45 +- types/react-native-keep-awake/tsconfig.json | 45 +- .../tsconfig.json | 3 +- types/react-native-material-kit/tsconfig.json | 3 +- types/react-native-material-ui/tsconfig.json | 3 +- types/react-native-modal/tsconfig.json | 3 +- types/react-native-modalbox/tsconfig.json | 47 +- types/react-native-orientation/tsconfig.json | 1 + types/react-native-safari-view/tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../react-native-sensor-manager/tsconfig.json | 1 + .../react-native-snap-carousel/tsconfig.json | 3 +- .../react-native-sortable-list/tsconfig.json | 1 + types/react-native-svg-uri/tsconfig.json | 45 +- types/react-native-swiper/tsconfig.json | 3 +- .../react-native-tab-navigator/tsconfig.json | 3 +- types/react-native-touch-id/tsconfig.json | 3 +- types/react-native-vector-icons/tsconfig.json | 71 +- types/react-native-video/tsconfig.json | 47 +- types/react-native/tsconfig.json | 3 +- types/react-navigation/tsconfig.json | 47 +- .../tsconfig.json | 1 + types/react-notification-system/tsconfig.json | 1 + types/react-onclickoutside/tsconfig.json | 1 + types/react-onclickoutside/v5/tsconfig.json | 7 +- types/react-onsenui/tsconfig.json | 45 +- types/react-overlays/tsconfig.json | 3 +- types/react-paginate/tsconfig.json | 3 +- types/react-pointable/tsconfig.json | 3 +- types/react-portal/tsconfig.json | 3 +- types/react-props-decorators/tsconfig.json | 1 + types/react-recaptcha/tsconfig.json | 1 + types/react-redux-i18n/tsconfig.json | 1 + types/react-redux-toastr/tsconfig.json | 1 + types/react-redux/tsconfig.json | 3 +- types/react-relay/tsconfig.json | 1 + types/react-responsive/tsconfig.json | 1 + types/react-router-bootstrap/tsconfig.json | 3 +- types/react-router-config/tsconfig.json | 1 + types/react-router-dom/tsconfig.json | 42 +- types/react-router-native/tsconfig.json | 42 +- types/react-router-redux/tsconfig.json | 3 +- types/react-router-redux/v3/tsconfig.json | 15 +- types/react-router-redux/v4/tsconfig.json | 17 +- types/react-router/tsconfig.json | 84 +- types/react-router/v2/tsconfig.json | 15 +- types/react-router/v3/tsconfig.json | 23 +- types/react-scroll/tsconfig.json | 3 +- types/react-scrollbar/tsconfig.json | 1 + types/react-select/tsconfig.json | 1 + types/react-side-effect/tsconfig.json | 1 + types/react-sidebar/tsconfig.json | 1 + types/react-slick/tsconfig.json | 3 +- types/react-smooth-scrollbar/tsconfig.json | 1 + types/react-sortable-hoc/tsconfig.json | 1 + types/react-sortable-tree/tsconfig.json | 3 +- types/react-spinkit/tsconfig.json | 1 + types/react-spinkit/v1/tsconfig.json | 9 +- types/react-split-pane/tsconfig.json | 1 + types/react-sticky/tsconfig.json | 4 +- types/react-stripe-elements/tsconfig.json | 3 +- types/react-svg-pan-zoom/tsconfig.json | 3 +- types/react-swf/tsconfig.json | 1 + types/react-swipe/tsconfig.json | 6 +- types/react-swipeable-views/tsconfig.json | 1 + types/react-swipeable/tsconfig.json | 1 + types/react-syntax-highlighter/tsconfig.json | 1 + types/react-table/tsconfig.json | 35 +- types/react-tabs/tsconfig.json | 3 +- types/react-tag-input/tsconfig.json | 1 + types/react-tagcloud/tsconfig.json | 1 + types/react-tap-event-plugin/tsconfig.json | 1 + types/react-test-renderer/tsconfig.json | 3 +- types/react-tether/tsconfig.json | 4 +- types/react-textarea-autosize/tsconfig.json | 1 + types/react-toggle/tsconfig.json | 1 + types/react-toggle/v2/tsconfig.json | 3 +- types/react-tooltip/tsconfig.json | 3 +- types/react-touch/tsconfig.json | 47 +- types/react-tracking/tsconfig.json | 7 +- types/react-transition-group/tsconfig.json | 6 +- types/react-transition-group/v1/tsconfig.json | 15 +- types/react-treeview/tsconfig.json | 3 +- types/react-truncate/tsconfig.json | 3 +- types/react-user-tour/tsconfig.json | 1 + types/react-virtual-keyboard/tsconfig.json | 3 +- types/react-virtualized-select/tsconfig.json | 3 +- types/react-virtualized/tsconfig.json | 1 + types/react-weui/tsconfig.json | 3 +- types/react-widgets/tsconfig.json | 1 + types/react-youtube/tsconfig.json | 1 + types/react/tsconfig.json | 3 +- types/react/v15/tsconfig.json | 3 +- types/reactable/tsconfig.json | 5 +- types/reactcss/tsconfig.json | 1 + types/reactstrap/tsconfig.json | 45 +- types/read-chunk/tsconfig.json | 1 + types/read-package-tree/tsconfig.json | 3 +- types/read-pkg-up/tsconfig.json | 3 +- types/read/tsconfig.json | 1 + types/readdir-stream/tsconfig.json | 1 + types/readline-sync/tsconfig.json | 1 + types/realm/tsconfig.json | 1 + types/reapop/tsconfig.json | 3 +- types/rebass/tsconfig.json | 1 + types/recaptcha/tsconfig.json | 1 + types/recase/tsconfig.json | 3 +- types/recharts/tsconfig.json | 47 +- types/recompose/tsconfig.json | 1 + types/reconnectingwebsocket/tsconfig.json | 3 +- types/recursive-readdir/tsconfig.json | 3 +- types/recursive-readdir/v1/tsconfig.json | 7 +- types/redis-mock/tsconfig.json | 3 +- types/redis-rate-limiter/tsconfig.json | 1 + types/redis-scripto/tsconfig.json | 1 + types/redis/tsconfig.json | 1 + types/redlock/tsconfig.json | 3 +- types/redlock/v2/tsconfig.json | 7 +- types/reduce-reducers/tsconfig.json | 3 +- types/redux-action-utils/tsconfig.json | 1 + types/redux-action/tsconfig.json | 3 +- types/redux-actions/tsconfig.json | 1 + types/redux-auth-wrapper/tsconfig.json | 7 +- types/redux-auth-wrapper/v1/tsconfig.json | 15 +- types/redux-batched-subscribe/tsconfig.json | 3 +- types/redux-bootstrap/tsconfig.json | 3 +- types/redux-debounced/tsconfig.json | 1 + .../redux-devtools-dock-monitor/tsconfig.json | 1 + .../redux-devtools-log-monitor/tsconfig.json | 1 + types/redux-devtools/tsconfig.json | 1 + types/redux-doghouse/tsconfig.json | 3 +- types/redux-first-router-link/tsconfig.json | 3 +- types/redux-first-router/tsconfig.json | 3 +- types/redux-form/tsconfig.json | 3 +- types/redux-form/v4/tsconfig.json | 1 + types/redux-form/v6/tsconfig.json | 11 +- .../tsconfig.json | 1 + types/redux-immutable/tsconfig.json | 1 + types/redux-infinite-scroll/tsconfig.json | 7 +- .../redux-localstorage-debounce/tsconfig.json | 1 + types/redux-localstorage-filter/tsconfig.json | 1 + types/redux-localstorage/tsconfig.json | 1 + types/redux-logger/tsconfig.json | 1 + types/redux-mock-store/tsconfig.json | 1 + types/redux-optimistic-ui/tsconfig.json | 1 + types/redux-pack/tsconfig.json | 3 +- .../tsconfig.json | 3 +- .../tsconfig.json | 3 +- types/redux-promise-middleware/tsconfig.json | 1 + types/redux-promise/tsconfig.json | 1 + types/redux-recycle/tsconfig.json | 1 + types/redux-router/tsconfig.json | 11 +- .../redux-storage-engine-jsurl/tsconfig.json | 43 +- types/redux-storage/tsconfig.json | 1 + types/redux-ui/tsconfig.json | 1 + types/ref-array/tsconfig.json | 1 + types/ref-struct/tsconfig.json | 1 + types/ref-union/tsconfig.json | 1 + types/ref/tsconfig.json | 1 + types/reflect-metadata/tsconfig.json | 1 + types/reflux/tsconfig.json | 1 + types/relateurl/tsconfig.json | 1 + types/relaxed-json/tsconfig.json | 3 +- types/remote-redux-devtools/tsconfig.json | 3 +- types/remove-markdown/tsconfig.json | 3 +- types/replace-ext/tsconfig.json | 1 + types/request-ip/tsconfig.json | 1 + types/request-promise-native/tsconfig.json | 1 + types/request-promise/tsconfig.json | 1 + types/request/tsconfig.json | 1 + types/requestretry/tsconfig.json | 3 +- types/require-directory/tsconfig.json | 3 +- types/require-from-string/tsconfig.json | 16 +- types/requirejs-domready/tsconfig.json | 1 + types/requirejs/tsconfig.json | 1 + types/resemblejs/tsconfig.json | 1 + types/resolve-from/tsconfig.json | 1 + types/resolve/tsconfig.json | 1 + types/response-time/tsconfig.json | 1 + types/rest/tsconfig.json | 1 + types/restangular/tsconfig.json | 1 + types/restful.js/tsconfig.json | 1 + types/restify-cors-middleware/tsconfig.json | 41 +- types/restify-errors/tsconfig.json | 3 +- types/restify-plugins/tsconfig.json | 1 + types/restify/tsconfig.json | 3 +- types/restify/v4/tsconfig.json | 7 +- types/restler/tsconfig.json | 1 + types/restling/tsconfig.json | 3 +- types/resumablejs/tsconfig.json | 1 + types/rethinkdb/tsconfig.json | 3 +- types/retry/tsconfig.json | 43 +- types/rev-hash/tsconfig.json | 3 +- types/revalidate/tsconfig.json | 3 +- types/revalidator/tsconfig.json | 1 + types/reveal/tsconfig.json | 1 + types/rewire/tsconfig.json | 1 + types/rfc2047/tsconfig.json | 3 +- types/rheostat/tsconfig.json | 44 +- types/rickshaw/tsconfig.json | 1 + types/rimraf/tsconfig.json | 1 + types/riot-api-nodejs/tsconfig.json | 1 + types/riot-games-api/tsconfig.json | 1 + types/riot/tsconfig.json | 3 +- types/riotcontrol/tsconfig.json | 1 + types/riotjs/tsconfig.json | 1 + types/rison/tsconfig.json | 1 + types/rivets/tsconfig.json | 1 + types/rollup/tsconfig.json | 11 +- types/ronomon__crypto-async/tsconfig.json | 3 +- types/rosie/tsconfig.json | 1 + types/roslib/tsconfig.json | 1 + types/rot-js/tsconfig.json | 3 +- types/route-parser/tsconfig.json | 1 + types/routie/tsconfig.json | 1 + types/royalslider/tsconfig.json | 3 +- types/rpio/tsconfig.json | 1 + types/rrc/tsconfig.json | 3 +- types/rrule/tsconfig.json | 1 + types/rsmq-worker/tsconfig.json | 1 + types/rsmq/tsconfig.json | 1 + types/rss/tsconfig.json | 1 + types/rsvp/tsconfig.json | 3 +- types/rsync/tsconfig.json | 1 + types/rtree/tsconfig.json | 1 + types/run-sequence/tsconfig.json | 5 +- types/rvo2/tsconfig.json | 3 +- types/rwlock/tsconfig.json | 1 + types/rx-angular/tsconfig.json | 1 + types/rx-core-binding/tsconfig.json | 1 + types/rx-core/tsconfig.json | 1 + types/rx-dom/tsconfig.json | 1 + types/rx-jquery/tsconfig.json | 1 + types/rx-lite-aggregates/tsconfig.json | 1 + types/rx-lite-async/tsconfig.json | 1 + types/rx-lite-backpressure/tsconfig.json | 1 + types/rx-lite-coincidence/tsconfig.json | 1 + types/rx-lite-experimental/tsconfig.json | 1 + types/rx-lite-joinpatterns/tsconfig.json | 1 + types/rx-lite-testing/tsconfig.json | 1 + types/rx-lite-time/tsconfig.json | 1 + types/rx-lite-virtualtime/tsconfig.json | 1 + types/rx-lite/tsconfig.json | 1 + types/rx-node/tsconfig.json | 1 + types/rx.wamp/tsconfig.json | 1 + types/rx/tsconfig.json | 1 + types/s3-upload-stream/tsconfig.json | 1 + types/s3-uploader/tsconfig.json | 1 + types/s3rver/tsconfig.json | 1 + types/safari-extension-content/tsconfig.json | 1 + types/safari-extension/tsconfig.json | 1 + types/safe-json-stringify/tsconfig.json | 3 +- types/safe-regex/tsconfig.json | 1 + types/sails.io.js/tsconfig.json | 1 + types/saml2-js/tsconfig.json | 1 + types/saml20/tsconfig.json | 1 + types/samlp/tsconfig.json | 1 + types/sammy/tsconfig.json | 1 + types/sandboxed-module/tsconfig.json | 1 + types/sane/tsconfig.json | 3 +- types/sanitize-filename/tsconfig.json | 1 + types/sanitize-html/tsconfig.json | 1 + types/sanitizer/tsconfig.json | 1 + types/sap__xsenv/tsconfig.json | 1 + types/sass-graph/tsconfig.json | 1 + types/sat/tsconfig.json | 1 + types/satnav/tsconfig.json | 1 + types/sax/tsconfig.json | 1 + types/saywhen/tsconfig.json | 45 +- types/scalike/tsconfig.json | 1 + types/screenfull/tsconfig.json | 1 + types/screeps-profiler/tsconfig.json | 3 +- types/scriptjs/tsconfig.json | 1 + types/scroll-into-view/tsconfig.json | 1 + types/scroller/tsconfig.json | 1 + types/scrollreveal/tsconfig.json | 1 + types/scrolltofixed/tsconfig.json | 1 + types/scrypt-async/tsconfig.json | 1 + types/seamless-immutable/tsconfig.json | 3 +- types/seamless/tsconfig.json | 1 + types/seedrandom/tsconfig.json | 1 + types/segment-analytics/tsconfig.json | 1 + types/select2/tsconfig.json | 1 + types/selectize/tsconfig.json | 3 +- types/selenium-webdriver/tsconfig.json | 3 +- types/selenium-webdriver/v2/tsconfig.json | 9 +- types/semantic-ui-accordion/tsconfig.json | 3 +- types/semantic-ui-api/tsconfig.json | 3 +- types/semantic-ui-checkbox/tsconfig.json | 3 +- types/semantic-ui-dimmer/tsconfig.json | 3 +- types/semantic-ui-dropdown/tsconfig.json | 3 +- types/semantic-ui-embed/tsconfig.json | 3 +- types/semantic-ui-form/tsconfig.json | 3 +- types/semantic-ui-modal/tsconfig.json | 3 +- types/semantic-ui-nag/tsconfig.json | 3 +- types/semantic-ui-popup/tsconfig.json | 3 +- types/semantic-ui-progress/tsconfig.json | 3 +- types/semantic-ui-rating/tsconfig.json | 3 +- types/semantic-ui-search/tsconfig.json | 3 +- types/semantic-ui-shape/tsconfig.json | 3 +- types/semantic-ui-sidebar/tsconfig.json | 3 +- types/semantic-ui-site/tsconfig.json | 3 +- types/semantic-ui-sticky/tsconfig.json | 3 +- types/semantic-ui-tab/tsconfig.json | 3 +- types/semantic-ui-transition/tsconfig.json | 3 +- types/semantic-ui-visibility/tsconfig.json | 3 +- types/semantic-ui/tsconfig.json | 1 + types/semaphore/tsconfig.json | 1 + types/semver-compare/tsconfig.json | 3 +- types/semver-diff/tsconfig.json | 1 + types/semver/tsconfig.json | 3 +- types/sencha_touch/tsconfig.json | 1 + types/send/tsconfig.json | 1 + types/seneca/tsconfig.json | 1 + types/sequelize-fixtures/tsconfig.json | 1 + types/sequelize/tsconfig.json | 1 + types/sequelize/v3/tsconfig.json | 1 + types/sequester/tsconfig.json | 1 + types/serialize-javascript/tsconfig.json | 1 + types/serialport/tsconfig.json | 1 + types/serve-favicon/tsconfig.json | 1 + types/serve-index/tsconfig.json | 1 + types/serve-static/tsconfig.json | 1 + types/server-destroy/tsconfig.json | 5 +- types/session-file-store/tsconfig.json | 3 +- types/set-cookie-parser/tsconfig.json | 1 + types/sha1/tsconfig.json | 1 + types/shallowequal/tsconfig.json | 1 + types/shapefile/tsconfig.json | 1 + types/sharedworker/tsconfig.json | 1 + types/sharepoint/tsconfig.json | 1 + types/sharp-timer/tsconfig.json | 43 +- types/sharp-timer/v0/tsconfig.json | 51 +- types/sharp/tsconfig.json | 1 + types/sheetify/tsconfig.json | 1 + types/shell-escape/tsconfig.json | 3 +- types/shell-quote/tsconfig.json | 3 +- types/shelljs/tsconfig.json | 1 + types/shipit-utils/tsconfig.json | 43 +- types/shipit/tsconfig.json | 43 +- types/shopify-buy/tsconfig.json | 1 + types/shortid/tsconfig.json | 1 + types/shot/tsconfig.json | 1 + types/should-promised/tsconfig.json | 1 + types/should/tsconfig.json | 1 + types/showdown/tsconfig.json | 1 + types/shuffle-array/tsconfig.json | 1 + types/siema/tsconfig.json | 1 + types/siesta/tsconfig.json | 1 + types/sigmajs/tsconfig.json | 1 + types/sigmund/tsconfig.json | 3 +- types/signalr-no-jquery/tsconfig.json | 1 + types/signalr/tsconfig.json | 1 + types/signalr/v1/tsconfig.json | 1 + types/signals/tsconfig.json | 1 + types/signature_pad/tsconfig.json | 1 + types/simple-assign/tsconfig.json | 1 + types/simple-cw-node/tsconfig.json | 1 + types/simple-mock/tsconfig.json | 1 + types/simple-oauth2/tsconfig.json | 1 + types/simple-peer/tsconfig.json | 3 +- types/simple-url-cache/tsconfig.json | 1 + types/simple-xml/tsconfig.json | 1 + types/simplebar/tsconfig.json | 1 + types/simplebar/v1/tsconfig.json | 3 +- types/simplemde/tsconfig.json | 1 + types/simplesmtp/tsconfig.json | 1 + types/simplestorage.js/tsconfig.json | 1 + types/sinon-as-promised/tsconfig.json | 1 + types/sinon-chai/tsconfig.json | 1 + types/sinon-chrome/tsconfig.json | 1 + types/sinon-express-mock/tsconfig.json | 3 +- types/sinon-mongoose/tsconfig.json | 1 + types/sinon-stub-promise/tsconfig.json | 1 + types/sinon-test/tsconfig.json | 3 +- types/sinon/tsconfig.json | 3 +- types/sip.js/tsconfig.json | 3 +- types/sipml/tsconfig.json | 1 + types/sitemap2/tsconfig.json | 1 + types/sizzle/tsconfig.json | 3 +- types/sjcl/tsconfig.json | 1 + types/ski/tsconfig.json | 1 + types/skyway/tsconfig.json | 1 + types/slack-node/tsconfig.json | 1 + types/slack-winston/tsconfig.json | 43 +- types/slackify-html/tsconfig.json | 1 + types/slate-irc/tsconfig.json | 1 + types/sleep/tsconfig.json | 1 + types/slick-carousel/tsconfig.json | 1 + types/slickgrid/tsconfig.json | 1 + types/slideout/tsconfig.json | 1 + types/slimerjs/tsconfig.json | 3 +- types/slocket/tsconfig.json | 3 +- types/slug/tsconfig.json | 1 + types/smart-fox-server/tsconfig.json | 1 + types/smooth-scrollbar/tsconfig.json | 1 + types/smoothie/tsconfig.json | 1 + types/smoothscroll-polyfill/tsconfig.json | 3 +- types/smtp-server/tsconfig.json | 1 + types/smtpapi/tsconfig.json | 1 + types/snapsvg/tsconfig.json | 3 +- types/snazzy-info-window/tsconfig.json | 3 +- types/snekfetch/tsconfig.json | 3 +- types/snoowrap/tsconfig.json | 3 +- types/snowboy/tsconfig.json | 3 +- types/soap/tsconfig.json | 1 + types/socket.io-client/tsconfig.json | 1 + types/socket.io-parser/tsconfig.json | 1 + types/socket.io-redis/tsconfig.json | 1 + types/socket.io.users/tsconfig.json | 1 + types/socket.io/tsconfig.json | 1 + types/socketio-wildcard/tsconfig.json | 3 +- types/socketty/tsconfig.json | 1 + types/sockjs-client/tsconfig.json | 1 + types/sockjs/tsconfig.json | 3 +- .../tsconfig.json | 1 + types/sortablejs/tsconfig.json | 1 + types/soundjs/tsconfig.json | 1 + types/soundmanager2/tsconfig.json | 3 +- types/source-list-map/tsconfig.json | 1 + types/source-map-support/tsconfig.json | 3 +- types/source-map/tsconfig.json | 1 + types/space-pen/tsconfig.json | 1 + types/spark-md5/tsconfig.json | 3 +- types/sparkly/tsconfig.json | 3 +- types/sparkpost/tsconfig.json | 3 +- types/sparkpost/v1/tsconfig.json | 11 +- types/sparqljs/tsconfig.json | 3 +- types/spatialite/tsconfig.json | 3 +- types/spdy/tsconfig.json | 1 + types/speakeasy/tsconfig.json | 1 + types/speakingurl/tsconfig.json | 1 + types/spectacle/tsconfig.json | 1 + types/spectrum/tsconfig.json | 1 + types/spin.js/tsconfig.json | 1 + types/split.js/tsconfig.json | 8 +- types/split/tsconfig.json | 1 + types/split2/tsconfig.json | 1 + types/spotify-api/tsconfig.json | 1 + types/sprintf-js/tsconfig.json | 3 +- types/sprintf/tsconfig.json | 3 +- types/sql.js/tsconfig.json | 1 + types/sqlite3/tsconfig.json | 1 + types/sqlstring/tsconfig.json | 3 +- types/sqs-consumer/tsconfig.json | 1 + types/sqs-producer/tsconfig.json | 1 + types/squirejs/tsconfig.json | 1 + types/srp/tsconfig.json | 1 + types/ss-utils/tsconfig.json | 1 + types/ssh-key-decrypt/tsconfig.json | 3 +- types/ssh2-sftp-client/tsconfig.json | 1 + types/ssh2-streams/tsconfig.json | 1 + types/ssh2/tsconfig.json | 1 + types/sshpk/tsconfig.json | 3 +- types/stack-mapper/tsconfig.json | 1 + types/stack-trace/tsconfig.json | 1 + types/stack-utils/tsconfig.json | 3 +- types/stacktrace-js/tsconfig.json | 1 + types/stale-lru-cache/tsconfig.json | 3 +- types/stampit/tsconfig.json | 1 + types/stamplay-js-sdk/tsconfig.json | 1 + types/stat-mode/tsconfig.json | 3 +- types/static-eval/tsconfig.json | 1 + types/stats.js/tsconfig.json | 1 + types/statsd-client/tsconfig.json | 1 + types/status-bar/tsconfig.json | 3 +- types/statuses/tsconfig.json | 3 +- types/steam/tsconfig.json | 1 + types/steed/tsconfig.json | 1 + types/stompjs/tsconfig.json | 1 + types/stoppable/tsconfig.json | 3 +- types/storejs/tsconfig.json | 1 + types/storejs/v1/tsconfig.json | 3 +- types/storybook__addon-actions/tsconfig.json | 13 +- types/storybook__addon-knobs/tsconfig.json | 13 +- types/storybook__addon-links/tsconfig.json | 13 +- types/storybook__addon-notes/tsconfig.json | 11 +- types/storybook__addon-options/tsconfig.json | 7 +- types/storybook__react/tsconfig.json | 7 +- types/stream-buffers/tsconfig.json | 3 +- types/stream-meter/tsconfig.json | 1 + types/stream-series/tsconfig.json | 1 + types/stream-to-array/tsconfig.json | 3 +- types/stream-to-array/v0/tsconfig.json | 7 +- types/streaming-json-stringify/tsconfig.json | 3 +- types/streamjs/tsconfig.json | 1 + types/strftime/tsconfig.json | 1 + types/string-hash/tsconfig.json | 1 + types/string-similarity/tsconfig.json | 3 +- types/string-template/tsconfig.json | 1 + types/string/tsconfig.json | 1 + types/string_score/tsconfig.json | 1 + types/stringify-object/tsconfig.json | 3 +- types/strip-ansi/tsconfig.json | 1 + types/strip-bom/tsconfig.json | 1 + types/strip-json-comments/tsconfig.json | 1 + types/stripe-checkout/tsconfig.json | 1 + types/stripe-node/tsconfig.json | 1 + types/stripe-v2/tsconfig.json | 3 +- types/stripe-v3/tsconfig.json | 3 +- types/striptags/tsconfig.json | 1 + types/strong-cluster-control/tsconfig.json | 3 +- types/strophe/tsconfig.json | 3 +- types/stylelint-webpack-plugin/tsconfig.json | 3 +- types/stylelint/tsconfig.json | 3 +- types/stylus/tsconfig.json | 1 + types/subsume/tsconfig.json | 3 +- types/succinct/tsconfig.json | 1 + types/sudo-block/tsconfig.json | 3 +- types/suitescript/tsconfig.json | 1 + types/sumo-logger/tsconfig.json | 3 +- types/superagent-no-cache/tsconfig.json | 3 +- types/superagent-prefix/tsconfig.json | 3 +- types/superagent/tsconfig.json | 3 +- types/superagent/v2/tsconfig.json | 11 +- types/supercluster/tsconfig.json | 3 +- types/supertest-as-promised/tsconfig.json | 1 + types/supertest/tsconfig.json | 1 + types/supports-color/tsconfig.json | 1 + types/survey-knockout/tsconfig.json | 1 + types/svg-injector/tsconfig.json | 1 + types/svg-pan-zoom/tsconfig.json | 1 + types/svg-pan-zoom/v2/tsconfig.json | 1 + types/svg-sprite/tsconfig.json | 1 + types/svg2png/tsconfig.json | 3 +- types/svg4everybody/tsconfig.json | 45 +- types/svgjs.draggable/tsconfig.json | 1 + types/svgjs.resize/tsconfig.json | 1 + types/swag/tsconfig.json | 1 + .../swagger-express-middleware/tsconfig.json | 1 + types/swagger-express-mw/tsconfig.json | 1 + types/swagger-hapi/tsconfig.json | 1 + types/swagger-jsdoc/tsconfig.json | 1 + types/swagger-node-runner/tsconfig.json | 1 + types/swagger-parser/tsconfig.json | 1 + types/swagger-restify-mw/tsconfig.json | 1 + types/swagger-sails-hook/tsconfig.json | 1 + types/swagger-schema-official/tsconfig.json | 1 + types/swagger-tools/tsconfig.json | 3 +- types/swaggerize-express/tsconfig.json | 1 + types/sweetalert/tsconfig.json | 1 + types/swfobject/tsconfig.json | 1 + types/swiftclick/tsconfig.json | 1 + types/swig-email-templates/tsconfig.json | 1 + types/swig/tsconfig.json | 1 + types/swipe/tsconfig.json | 1 + types/swiper/tsconfig.json | 1 + types/swiper/v2/tsconfig.json | 1 + types/swipeview/tsconfig.json | 1 + types/switchery/tsconfig.json | 1 + types/swiz/tsconfig.json | 1 + types/sylvester/tsconfig.json | 1 + types/synaptic/tsconfig.json | 1 + types/systeminformation/tsconfig.json | 43 +- types/systemjs/tsconfig.json | 1 + types/table/tsconfig.json | 1 + types/tabtab/tsconfig.json | 1 + types/tabulator/tsconfig.json | 3 +- types/tapable/tsconfig.json | 1 + types/tape/tsconfig.json | 1 + types/tar/tsconfig.json | 1 + types/tea-merge/tsconfig.json | 1 + types/tedious-connection-pool/tsconfig.json | 1 + types/tedious/tsconfig.json | 1 + types/teechart/tsconfig.json | 1 + types/telebot/tsconfig.json | 3 +- types/temp-fs/tsconfig.json | 1 + types/temp-write/tsconfig.json | 3 +- types/temp/tsconfig.json | 1 + types/tempfile/tsconfig.json | 3 +- types/tempy/tsconfig.json | 3 +- types/terminal-menu/tsconfig.json | 1 + types/tesseract.js/tsconfig.json | 1 + types/testingbot-api/tsconfig.json | 3 +- types/tether-drop/tsconfig.json | 1 + types/tether-shepherd/tsconfig.json | 1 + types/tether/tsconfig.json | 1 + types/text-buffer/tsconfig.json | 3 +- types/text-buffer/v0/tsconfig.json | 7 +- types/text-encoding/tsconfig.json | 1 + types/three/tsconfig.json | 3 +- types/thrift/tsconfig.json | 3 +- types/throng/tsconfig.json | 3 +- types/throttle/tsconfig.json | 3 +- types/through/tsconfig.json | 1 + types/through2-map/tsconfig.json | 3 +- types/through2/tsconfig.json | 1 + types/through2/v0/tsconfig.json | 1 + types/tile-reduce/tsconfig.json | 1 + types/tilebelt/tsconfig.json | 1 + types/time-span/tsconfig.json | 3 +- types/timelinejs/tsconfig.json | 1 + types/timelinejs3/tsconfig.json | 1 + types/timer-machine/tsconfig.json | 1 + types/timezone-js/tsconfig.json | 1 + types/timezonecomplete/tsconfig.json | 1 + types/tinder/tsconfig.json | 1 + types/tinycolor2/tsconfig.json | 1 + types/tinycopy/tsconfig.json | 1 + types/tinymce/tsconfig.json | 1 + types/titanium/tsconfig.json | 1 + types/title/tsconfig.json | 1 + types/tldjs/tsconfig.json | 1 + types/tmp/tsconfig.json | 1 + types/to-camel-case/tsconfig.json | 3 +- types/to-markdown/tsconfig.json | 3 +- types/to-title-case-gouch/tsconfig.json | 1 + types/toastr/tsconfig.json | 1 + types/tocktimer/tsconfig.json | 3 +- types/tooltipster/tsconfig.json | 1 + types/topojson/tsconfig.json | 3 +- types/torrent-stream/tsconfig.json | 1 + types/touch-events/tsconfig.json | 1 + types/touch/tsconfig.json | 1 + types/tough-cookie/tsconfig.json | 3 +- types/traceback/tsconfig.json | 1 + types/tracking/tsconfig.json | 1 + types/transducers-js/tsconfig.json | 1 + types/transducers.js/tsconfig.json | 3 +- types/traverse/tsconfig.json | 1 + types/traverson/tsconfig.json | 1 + types/trayballoon/tsconfig.json | 1 + types/trim/tsconfig.json | 1 + types/trunk8/tsconfig.json | 1 + types/tspromise/tsconfig.json | 1 + types/tunnel/tsconfig.json | 3 +- types/turf/tsconfig.json | 1 + types/turf/v2/tsconfig.json | 1 + types/tus-js-client/tsconfig.json | 3 +- types/tv4/tsconfig.json | 1 + types/tween.js/tsconfig.json | 1 + types/tweenjs/tsconfig.json | 1 + types/tweezer.js/tsconfig.json | 1 + types/twig/tsconfig.json | 1 + types/twilio/tsconfig.json | 5 +- types/twit/tsconfig.json | 1 + types/twitter-stream-channels/tsconfig.json | 1 + types/twitter-text/tsconfig.json | 1 + types/twitter/tsconfig.json | 1 + types/twix/tsconfig.json | 1 + types/type-check/tsconfig.json | 1 + types/type-detect/tsconfig.json | 1 + types/type-is/tsconfig.json | 3 +- types/type-name/tsconfig.json | 1 + types/typeahead/tsconfig.json | 1 + types/typedarray-pool/tsconfig.json | 1 + types/typescript-deferred/tsconfig.json | 1 + types/tz-format/tsconfig.json | 1 + types/ua-parser-js/tsconfig.json | 1 + types/uglify-js/tsconfig.json | 1 + types/uglifycss/tsconfig.json | 1 + types/ui-grid/tsconfig.json | 1 + types/ui-router-extras/tsconfig.json | 1 + types/ui-select/tsconfig.json | 1 + types/uid-safe/tsconfig.json | 1 + types/uikit/tsconfig.json | 1 + .../tsconfig.json | 1 + types/umbraco/tsconfig.json | 1 + types/umd/tsconfig.json | 1 + types/umzug/tsconfig.json | 1 + types/underscore-ko/tsconfig.json | 1 + types/underscore.string/tsconfig.json | 1 + types/underscore/tsconfig.json | 3 +- types/undertaker-registry/tsconfig.json | 3 +- types/undertaker/tsconfig.json | 1 + types/uniq/tsconfig.json | 1 + types/uniqid/tsconfig.json | 3 +- types/unique-hash-stream/tsconfig.json | 3 +- types/unique-random/tsconfig.json | 1 + types/unist/tsconfig.json | 3 +- types/unity-webapi/tsconfig.json | 1 + types/universal-analytics/tsconfig.json | 1 + types/universal-router/tsconfig.json | 1 + types/unorm/tsconfig.json | 1 + types/untildify/tsconfig.json | 3 +- types/unused-filename/tsconfig.json | 3 +- types/update-notifier/tsconfig.json | 1 + types/uppercamelcase/tsconfig.json | 3 +- types/urbanairship-cordova/tsconfig.json | 1 + types/uri-templates/tsconfig.json | 1 + types/urijs/tsconfig.json | 1 + types/uritemplate/tsconfig.json | 1 + types/url-assembler/tsconfig.json | 3 +- types/url-join/tsconfig.json | 1 + types/url-parse/tsconfig.json | 1 + types/url-regex/tsconfig.json | 3 +- types/url-search-params/tsconfig.json | 3 +- types/url-template/tsconfig.json | 1 + types/urlrouter/tsconfig.json | 1 + types/urlsafe-base64/tsconfig.json | 1 + types/usage/tsconfig.json | 1 + types/usb/tsconfig.json | 1 + types/user-home/tsconfig.json | 1 + types/useragent/tsconfig.json | 1 + types/username/tsconfig.json | 1 + types/utf8/tsconfig.json | 1 + types/util-deprecate/tsconfig.json | 3 +- types/util.promisify/tsconfig.json | 3 +- types/utils-merge/tsconfig.json | 1 + types/uuid-1345/tsconfig.json | 1 + types/uuid-js/tsconfig.json | 1 + types/uuid-validate/tsconfig.json | 5 +- types/uuid/tsconfig.json | 3 +- types/uuid/v2/tsconfig.json | 7 +- types/uuidjs/tsconfig.json | 1 + types/uws/tsconfig.json | 1 + types/v8-profiler/tsconfig.json | 1 + types/valdr-message/tsconfig.json | 1 + types/valdr/tsconfig.json | 1 + types/valerie/tsconfig.json | 1 + types/valid-url/tsconfig.json | 1 + types/validate.js/tsconfig.json | 1 + types/validator/tsconfig.json | 1 + types/validatorjs/tsconfig.json | 1 + types/vanilla-tilt/tsconfig.json | 45 +- types/vary/tsconfig.json | 3 +- types/vast-client/tsconfig.json | 45 +- types/vec3/tsconfig.json | 1 + types/vectorious/tsconfig.json | 1 + types/vega/tsconfig.json | 1 + types/velocity-animate/tsconfig.json | 1 + types/verror/tsconfig.json | 1 + types/vertx3-eventbus-client/tsconfig.json | 3 +- types/vex-js/tsconfig.json | 1 + types/vexflow/tsconfig.json | 3 +- types/vfile/tsconfig.json | 4 +- types/victor/tsconfig.json | 1 + types/victory/tsconfig.json | 1 + types/video.js/tsconfig.json | 1 + types/viewability-helper/tsconfig.json | 3 +- types/viewerjs/tsconfig.json | 1 + types/viewporter/tsconfig.json | 1 + types/vimeo/tsconfig.json | 1 + types/vimeo__player/tsconfig.json | 5 +- types/vinyl-buffer/tsconfig.json | 5 +- types/vinyl-fs/tsconfig.json | 43 +- types/vinyl-paths/tsconfig.json | 5 +- types/vinyl-source-stream/tsconfig.json | 5 +- types/vinyl/tsconfig.json | 1 + types/vinyl/v0/tsconfig.json | 1 + types/virtual-dom/tsconfig.json | 1 + types/virtual-keyboard/tsconfig.json | 3 +- types/vis/tsconfig.json | 1 + types/vision/tsconfig.json | 1 + types/vitalsigns/tsconfig.json | 1 + types/vivus/tsconfig.json | 1 + types/vkbeautify/tsconfig.json | 1 + types/voca/tsconfig.json | 4 +- types/voronoi-diagram/tsconfig.json | 1 + types/vortex-web-client/tsconfig.json | 1 + types/voximplant-websdk/tsconfig.json | 1 + types/vue-i18n/tsconfig.json | 43 +- types/vue-resource/tsconfig.json | 1 + types/w2ui/tsconfig.json | 1 + types/w3c-generic-sensor/tsconfig.json | 1 + types/w3c-screen-orientation/tsconfig.json | 3 +- types/w3c-web-usb/tsconfig.json | 3 +- types/waitme/tsconfig.json | 5 +- types/wake_on_lan/tsconfig.json | 1 + types/wallabyjs/tsconfig.json | 1 + types/wallpaper/tsconfig.json | 3 +- types/wampy/tsconfig.json | 1 + types/warning/tsconfig.json | 1 + types/watch/tsconfig.json | 3 +- types/watchify/tsconfig.json | 1 + types/watchpack/tsconfig.json | 1 + types/waterline/tsconfig.json | 1 + types/watson-developer-cloud/tsconfig.json | 3 +- types/waypoints/tsconfig.json | 3 +- types/wcwidth/tsconfig.json | 3 +- types/weapp-api/tsconfig.json | 1 + types/web-animations-js/tsconfig.json | 3 +- types/web-bluetooth/tsconfig.json | 1 + .../tsconfig.json | 1 + types/webassembly-js-api/tsconfig.json | 3 +- types/webcl/tsconfig.json | 1 + types/webcomponents.js/tsconfig.json | 1 + types/webcrypto/tsconfig.json | 1 + types/webdriverio/tsconfig.json | 3 +- types/webfontloader/tsconfig.json | 1 + types/webgl-ext/tsconfig.json | 1 + types/webgl2/tsconfig.json | 1 + types/webgme/tsconfig.json | 1 + types/webix/tsconfig.json | 1 + types/webmidi/tsconfig.json | 1 + types/webpack-bundle-analyzer/tsconfig.json | 3 +- types/webpack-chain/tsconfig.json | 3 +- types/webpack-chunk-hash/tsconfig.json | 3 +- types/webpack-dev-middleware/tsconfig.json | 3 +- types/webpack-dev-server/tsconfig.json | 1 + types/webpack-dotenv-plugin/tsconfig.json | 3 +- types/webpack-env/tsconfig.json | 1 + types/webpack-fail-plugin/tsconfig.json | 1 + types/webpack-hot-middleware/tsconfig.json | 3 +- types/webpack-merge/tsconfig.json | 3 +- types/webpack-merge/v0/tsconfig.json | 9 +- types/webpack-node-externals/tsconfig.json | 3 +- types/webpack-notifier/tsconfig.json | 3 +- types/webpack-sources/tsconfig.json | 1 + types/webpack-stream/tsconfig.json | 3 +- types/webpack-validator/tsconfig.json | 1 + types/webpack/tsconfig.json | 3 +- types/webrtc/tsconfig.json | 1 + types/website-scraper/tsconfig.json | 1 + types/websocket/tsconfig.json | 1 + types/webspeechapi/tsconfig.json | 1 + types/websql/tsconfig.json | 1 + types/webtorrent/tsconfig.json | 3 +- types/webvr-api/tsconfig.json | 1 + types/week/tsconfig.json | 3 +- types/weighted/tsconfig.json | 1 + types/weixin-app/tsconfig.json | 45 +- types/wellknown/tsconfig.json | 3 +- types/whatwg-streams/tsconfig.json | 1 + types/when/tsconfig.json | 1 + types/which/tsconfig.json | 1 + types/why-did-you-update/tsconfig.json | 1 + types/wicg-mediasession/tsconfig.json | 3 +- types/wiiu/tsconfig.json | 1 + types/window-or-global/tsconfig.json | 1 + types/window-size/tsconfig.json | 1 + types/windows-1251/tsconfig.json | 1 + types/windows-service/tsconfig.json | 1 + types/winjs/tsconfig.json | 1 + types/winjs/v1/tsconfig.json | 1 + types/winjs/v2/tsconfig.json | 1 + types/winreg/tsconfig.json | 1 + types/winrt-uwp/tsconfig.json | 1 + types/winrt/tsconfig.json | 1 + types/winston-dynamodb/tsconfig.json | 1 + types/winston/tsconfig.json | 1 + types/wiredep/tsconfig.json | 5 +- types/wiring-pi/tsconfig.json | 1 + types/wnumb/tsconfig.json | 1 + types/wolfy87-eventemitter/tsconfig.json | 1 + types/wonder-commonlib/tsconfig.json | 1 + types/wonder-frp/tsconfig.json | 1 + types/wonder.js/tsconfig.json | 1 + types/wordcloud/tsconfig.json | 1 + types/words-to-numbers/tsconfig.json | 3 +- types/wrap-ansi/tsconfig.json | 1 + types/wreck/tsconfig.json | 1 + types/wrench/tsconfig.json | 1 + types/write-file-atomic/tsconfig.json | 3 +- types/write-json-file/tsconfig.json | 3 +- types/ws/tsconfig.json | 1 + types/wu/tsconfig.json | 1 + types/wx-js-sdk-dt/tsconfig.json | 3 +- types/x-editable/tsconfig.json | 1 + types/xadesjs/tsconfig.json | 1 + types/xdate/tsconfig.json | 1 + types/xdg-basedir/tsconfig.json | 1 + types/xdomain/tsconfig.json | 1 + types/xhr-mock/tsconfig.json | 3 +- types/xml-parser/tsconfig.json | 1 + types/xml/tsconfig.json | 1 + types/xml2js/tsconfig.json | 1 + types/xml2json/tsconfig.json | 1 + types/xmlbuilder/tsconfig.json | 1 + types/xmldoc/tsconfig.json | 1 + types/xmldom/tsconfig.json | 1 + types/xmlpoke/tsconfig.json | 1 + types/xmlrpc/tsconfig.json | 1 + types/xmltojson/tsconfig.json | 1 + types/xmpp__jid/tsconfig.json | 5 +- types/xregexp/tsconfig.json | 1 + types/xrm/tsconfig.json | 1 + types/xrm/v6/tsconfig.json | 1 + types/xrm/v7/tsconfig.json | 1 + types/xsd-schema-validator/tsconfig.json | 1 + types/xsockets/tsconfig.json | 1 + types/xss-filters/tsconfig.json | 1 + types/xtend/tsconfig.json | 1 + types/xterm/tsconfig.json | 1 + types/xxhashjs/tsconfig.json | 3 +- types/yallist/tsconfig.json | 3 +- types/yamljs/tsconfig.json | 1 + types/yandex-maps/tsconfig.json | 3 +- types/yandex-money-sdk/tsconfig.json | 1 + types/yargs/tsconfig.json | 1 + types/yayson/tsconfig.json | 1 + types/ydn-db/tsconfig.json | 1 + types/yeoman-generator/tsconfig.json | 3 +- types/yeoman-test/tsconfig.json | 3 +- types/yfiles/tsconfig.json | 1 + types/yog-bigpipe/tsconfig.json | 3 +- types/yog-log/tsconfig.json | 3 +- types/yog2-kernel/tsconfig.json | 3 +- types/yosay/tsconfig.json | 1 + types/youtube/tsconfig.json | 1 + types/yui/tsconfig.json | 1 + types/z-schema/tsconfig.json | 1 + types/zapier-platform-core/tsconfig.json | 3 +- types/zen-observable/tsconfig.json | 43 +- types/zepto/tsconfig.json | 1 + types/zeroclipboard/tsconfig.json | 1 + types/zeroclipboard/v1/tsconfig.json | 1 + types/zeromq/tsconfig.json | 3 +- types/zetapush-js/tsconfig.json | 3 +- types/zip.js/tsconfig.json | 1 + types/zmq/tsconfig.json | 1 + types/zui/tsconfig.json | 1 + types/zynga-scroller/tsconfig.json | 1 + 3805 files changed, 13281 insertions(+), 8878 deletions(-) diff --git a/types/abbrev/tsconfig.json b/types/abbrev/tsconfig.json index 95c20ed32a..0755c19fe1 100644 --- a/types/abbrev/tsconfig.json +++ b/types/abbrev/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "abbrev-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ably/tsconfig.json b/types/ably/tsconfig.json index 86c7bc0114..844463ce68 100644 --- a/types/ably/tsconfig.json +++ b/types/ably/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/abs/tsconfig.json b/types/abs/tsconfig.json index 8921c60cd0..2bcb3f7094 100644 --- a/types/abs/tsconfig.json +++ b/types/abs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/absolute/tsconfig.json b/types/absolute/tsconfig.json index d12e097c74..ba18df791e 100644 --- a/types/absolute/tsconfig.json +++ b/types/absolute/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/acc-wizard/tsconfig.json b/types/acc-wizard/tsconfig.json index 96105a9957..a20aeba97b 100644 --- a/types/acc-wizard/tsconfig.json +++ b/types/acc-wizard/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/accept-language-parser/tsconfig.json b/types/accept-language-parser/tsconfig.json index adcad2bc16..11532082db 100644 --- a/types/accept-language-parser/tsconfig.json +++ b/types/accept-language-parser/tsconfig.json @@ -1,15 +1,23 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es6"], + "lib": [ + "es6" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, - "files": ["index.d.ts", "accept-language-parser-tests.ts"] -} + "files": [ + "index.d.ts", + "accept-language-parser-tests.ts" + ] +} \ No newline at end of file diff --git a/types/accepts/tsconfig.json b/types/accepts/tsconfig.json index 8df97d74f7..35b618292d 100644 --- a/types/accepts/tsconfig.json +++ b/types/accepts/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/accounting/tsconfig.json b/types/accounting/tsconfig.json index 7ce026ff30..f815c5b01e 100644 --- a/types/accounting/tsconfig.json +++ b/types/accounting/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ace/tsconfig.json b/types/ace/tsconfig.json index 799f241178..eb52fff185 100644 --- a/types/ace/tsconfig.json +++ b/types/ace/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/acl/tsconfig.json b/types/acl/tsconfig.json index b485f342af..9f5c6a01ef 100644 --- a/types/acl/tsconfig.json +++ b/types/acl/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/acorn/tsconfig.json b/types/acorn/tsconfig.json index fbdc652a87..0b4760b0fc 100644 --- a/types/acorn/tsconfig.json +++ b/types/acorn/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/actioncable/tsconfig.json b/types/actioncable/tsconfig.json index d985971a65..cb137a8982 100644 --- a/types/actioncable/tsconfig.json +++ b/types/actioncable/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/activex-access/tsconfig.json b/types/activex-access/tsconfig.json index 6537f2d47b..a376fcb722 100644 --- a/types/activex-access/tsconfig.json +++ b/types/activex-access/tsconfig.json @@ -1,11 +1,14 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/activex-adodb/tsconfig.json b/types/activex-adodb/tsconfig.json index 81c6088e56..5cb32f94c9 100644 --- a/types/activex-adodb/tsconfig.json +++ b/types/activex-adodb/tsconfig.json @@ -1,11 +1,14 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/activex-dao/tsconfig.json b/types/activex-dao/tsconfig.json index d23ed8dfe1..2ddea247b9 100644 --- a/types/activex-dao/tsconfig.json +++ b/types/activex-dao/tsconfig.json @@ -1,11 +1,14 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/activex-excel/tsconfig.json b/types/activex-excel/tsconfig.json index c8352aacb4..244ab1d0ef 100644 --- a/types/activex-excel/tsconfig.json +++ b/types/activex-excel/tsconfig.json @@ -1,11 +1,14 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/activex-infopath/tsconfig.json b/types/activex-infopath/tsconfig.json index 07443b0f79..6feef8496c 100644 --- a/types/activex-infopath/tsconfig.json +++ b/types/activex-infopath/tsconfig.json @@ -1,11 +1,14 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/activex-libreoffice/tsconfig.json b/types/activex-libreoffice/tsconfig.json index f17c193b97..712ea46ca1 100644 --- a/types/activex-libreoffice/tsconfig.json +++ b/types/activex-libreoffice/tsconfig.json @@ -1,11 +1,14 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/activex-msforms/tsconfig.json b/types/activex-msforms/tsconfig.json index 3b7ce9f67c..38f907552d 100644 --- a/types/activex-msforms/tsconfig.json +++ b/types/activex-msforms/tsconfig.json @@ -1,11 +1,14 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/activex-mshtml/tsconfig.json b/types/activex-mshtml/tsconfig.json index 05d416fdbb..deba2b6ba3 100644 --- a/types/activex-mshtml/tsconfig.json +++ b/types/activex-mshtml/tsconfig.json @@ -1,11 +1,14 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/activex-msxml2/tsconfig.json b/types/activex-msxml2/tsconfig.json index 96a984bd36..49c53f71ca 100644 --- a/types/activex-msxml2/tsconfig.json +++ b/types/activex-msxml2/tsconfig.json @@ -1,11 +1,14 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/activex-office/tsconfig.json b/types/activex-office/tsconfig.json index 9fc37a1754..729657e813 100644 --- a/types/activex-office/tsconfig.json +++ b/types/activex-office/tsconfig.json @@ -1,11 +1,14 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/activex-outlook/tsconfig.json b/types/activex-outlook/tsconfig.json index 79f59c68a1..1a9fddc714 100644 --- a/types/activex-outlook/tsconfig.json +++ b/types/activex-outlook/tsconfig.json @@ -1,11 +1,14 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/activex-powerpoint/tsconfig.json b/types/activex-powerpoint/tsconfig.json index 148adf0197..e6cdf6a17f 100644 --- a/types/activex-powerpoint/tsconfig.json +++ b/types/activex-powerpoint/tsconfig.json @@ -1,11 +1,14 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/activex-scripting/tsconfig.json b/types/activex-scripting/tsconfig.json index e237423341..e2008551fd 100644 --- a/types/activex-scripting/tsconfig.json +++ b/types/activex-scripting/tsconfig.json @@ -1,11 +1,14 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/activex-stdole/tsconfig.json b/types/activex-stdole/tsconfig.json index 5ce15cf560..cbe3ce7aae 100644 --- a/types/activex-stdole/tsconfig.json +++ b/types/activex-stdole/tsconfig.json @@ -1,11 +1,14 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/activex-vbide/tsconfig.json b/types/activex-vbide/tsconfig.json index c0c819dde7..7d0fc2b7d3 100644 --- a/types/activex-vbide/tsconfig.json +++ b/types/activex-vbide/tsconfig.json @@ -1,11 +1,14 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/activex-wia/tsconfig.json b/types/activex-wia/tsconfig.json index b98459223d..e77b3d1b66 100644 --- a/types/activex-wia/tsconfig.json +++ b/types/activex-wia/tsconfig.json @@ -1,11 +1,14 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/activex-word/tsconfig.json b/types/activex-word/tsconfig.json index feeb1b5858..e956d9527c 100644 --- a/types/activex-word/tsconfig.json +++ b/types/activex-word/tsconfig.json @@ -1,11 +1,14 @@ - { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/adal/tsconfig.json b/types/adal/tsconfig.json index 236017077a..a024918b3a 100644 --- a/types/adal/tsconfig.json +++ b/types/adal/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/add2home/tsconfig.json b/types/add2home/tsconfig.json index ff9b311d2b..904e5e7453 100644 --- a/types/add2home/tsconfig.json +++ b/types/add2home/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/adm-zip/tsconfig.json b/types/adm-zip/tsconfig.json index 3287d252d6..8e998c6f38 100644 --- a/types/adm-zip/tsconfig.json +++ b/types/adm-zip/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/adone/tsconfig.json b/types/adone/tsconfig.json index d472e48dba..c23bf82155 100644 --- a/types/adone/tsconfig.json +++ b/types/adone/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -63,4 +64,4 @@ "test/glosses/compressors.ts", "test/glosses/archives.ts" ] -} +} \ No newline at end of file diff --git a/types/aframe/tsconfig.json b/types/aframe/tsconfig.json index f11ddb6188..3385a8aca7 100755 --- a/types/aframe/tsconfig.json +++ b/types/aframe/tsconfig.json @@ -1,25 +1,26 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es5", - "dom", - "es2015.iterable", - "es2015.promise" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "aframe-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es5", + "dom", + "es2015.iterable", + "es2015.promise" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "aframe-tests.ts" + ] } \ No newline at end of file diff --git a/types/agenda/tsconfig.json b/types/agenda/tsconfig.json index 22adf1f746..0a553809fd 100644 --- a/types/agenda/tsconfig.json +++ b/types/agenda/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/aggregate-error/tsconfig.json b/types/aggregate-error/tsconfig.json index 253c743b98..f092ab1c3e 100644 --- a/types/aggregate-error/tsconfig.json +++ b/types/aggregate-error/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "aggregate-error-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/alertify/tsconfig.json b/types/alertify/tsconfig.json index 56d098af47..86ae0eac3d 100644 --- a/types/alertify/tsconfig.json +++ b/types/alertify/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/alexa-sdk/tsconfig.json b/types/alexa-sdk/tsconfig.json index 26757de01c..acc11c8263 100644 --- a/types/alexa-sdk/tsconfig.json +++ b/types/alexa-sdk/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/alexa-voice-service/tsconfig.json b/types/alexa-voice-service/tsconfig.json index 70cb9b2201..737cccf9e6 100644 --- a/types/alexa-voice-service/tsconfig.json +++ b/types/alexa-voice-service/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/algebra.js/tsconfig.json b/types/algebra.js/tsconfig.json index 9fb8a64bcc..e9f585ef8a 100644 --- a/types/algebra.js/tsconfig.json +++ b/types/algebra.js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "algebra.js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/algoliasearch/tsconfig.json b/types/algoliasearch/tsconfig.json index 5c32bb92c1..3358732ba3 100644 --- a/types/algoliasearch/tsconfig.json +++ b/types/algoliasearch/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/alt/tsconfig.json b/types/alt/tsconfig.json index 9d70eb5d76..82260e525d 100644 --- a/types/alt/tsconfig.json +++ b/types/alt/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/amazon-product-api/tsconfig.json b/types/amazon-product-api/tsconfig.json index 900bf22474..060741740b 100644 --- a/types/amazon-product-api/tsconfig.json +++ b/types/amazon-product-api/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/amcharts/tsconfig.json b/types/amcharts/tsconfig.json index 9661cf12ad..fa1c069762 100644 --- a/types/amcharts/tsconfig.json +++ b/types/amcharts/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/amplify-deferred/tsconfig.json b/types/amplify-deferred/tsconfig.json index fc6466d629..443772e942 100644 --- a/types/amplify-deferred/tsconfig.json +++ b/types/amplify-deferred/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/amplify/tsconfig.json b/types/amplify/tsconfig.json index c30882c681..44daa69ba9 100644 --- a/types/amplify/tsconfig.json +++ b/types/amplify/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/amplitude-js/tsconfig.json b/types/amplitude-js/tsconfig.json index ec0c948bff..0ca8f85efe 100644 --- a/types/amplitude-js/tsconfig.json +++ b/types/amplitude-js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/amqp-rpc/tsconfig.json b/types/amqp-rpc/tsconfig.json index 0f5df30f7c..f8bfc7aa64 100644 --- a/types/amqp-rpc/tsconfig.json +++ b/types/amqp-rpc/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/amqp/tsconfig.json b/types/amqp/tsconfig.json index 2b9b4d5ce9..e73b54d700 100644 --- a/types/amqp/tsconfig.json +++ b/types/amqp/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "amqp-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/amqplib/tsconfig.json b/types/amqplib/tsconfig.json index 16ed704846..b5b83b84ce 100644 --- a/types/amqplib/tsconfig.json +++ b/types/amqplib/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "callback_api.d.ts", "amqplib-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/analytics-node/tsconfig.json b/types/analytics-node/tsconfig.json index e29c706061..3684577e65 100644 --- a/types/analytics-node/tsconfig.json +++ b/types/analytics-node/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-agility/tsconfig.json b/types/angular-agility/tsconfig.json index e93788ab40..460060cde0 100644 --- a/types/angular-agility/tsconfig.json +++ b/types/angular-agility/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-animate/tsconfig.json b/types/angular-animate/tsconfig.json index 1401eeeedb..d34d6a1d77 100644 --- a/types/angular-animate/tsconfig.json +++ b/types/angular-animate/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-block-ui/tsconfig.json b/types/angular-block-ui/tsconfig.json index b1b705a6e5..f5717731be 100644 --- a/types/angular-block-ui/tsconfig.json +++ b/types/angular-block-ui/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "angular-block-ui-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/angular-bootstrap-calendar/tsconfig.json b/types/angular-bootstrap-calendar/tsconfig.json index d568befb6b..72a05b7ce7 100644 --- a/types/angular-bootstrap-calendar/tsconfig.json +++ b/types/angular-bootstrap-calendar/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-bootstrap-lightbox/tsconfig.json b/types/angular-bootstrap-lightbox/tsconfig.json index 2bf84b358f..3792bc3da5 100644 --- a/types/angular-bootstrap-lightbox/tsconfig.json +++ b/types/angular-bootstrap-lightbox/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-breadcrumb/tsconfig.json b/types/angular-breadcrumb/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/angular-breadcrumb/tsconfig.json +++ b/types/angular-breadcrumb/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-clipboard/tsconfig.json b/types/angular-clipboard/tsconfig.json index 4e95bc9714..0c6a1dadaf 100644 --- a/types/angular-clipboard/tsconfig.json +++ b/types/angular-clipboard/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-cookie/tsconfig.json b/types/angular-cookie/tsconfig.json index 8bceb7e77b..ae3ec8dd21 100644 --- a/types/angular-cookie/tsconfig.json +++ b/types/angular-cookie/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-cookies/tsconfig.json b/types/angular-cookies/tsconfig.json index 1401eeeedb..d34d6a1d77 100644 --- a/types/angular-cookies/tsconfig.json +++ b/types/angular-cookies/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-deferred-bootstrap/tsconfig.json b/types/angular-deferred-bootstrap/tsconfig.json index 5eda2c3552..119199cc5a 100644 --- a/types/angular-deferred-bootstrap/tsconfig.json +++ b/types/angular-deferred-bootstrap/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-dialog-service/tsconfig.json b/types/angular-dialog-service/tsconfig.json index 4c40df5788..b6db392406 100644 --- a/types/angular-dialog-service/tsconfig.json +++ b/types/angular-dialog-service/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-dynamic-locale/tsconfig.json b/types/angular-dynamic-locale/tsconfig.json index 85e4234b51..b117d5eabe 100644 --- a/types/angular-dynamic-locale/tsconfig.json +++ b/types/angular-dynamic-locale/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-environment/tsconfig.json b/types/angular-environment/tsconfig.json index 8c7dbd4b39..35bd754e95 100644 --- a/types/angular-environment/tsconfig.json +++ b/types/angular-environment/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-es/tsconfig.json b/types/angular-es/tsconfig.json index 27a6433555..8eb4ea8925 100644 --- a/types/angular-es/tsconfig.json +++ b/types/angular-es/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "experimentalDecorators": true, "baseUrl": "../", "typeRoots": [ diff --git a/types/angular-feature-flags/tsconfig.json b/types/angular-feature-flags/tsconfig.json index 43e952a681..07b352a43c 100644 --- a/types/angular-feature-flags/tsconfig.json +++ b/types/angular-feature-flags/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-file-saver/tsconfig.json b/types/angular-file-saver/tsconfig.json index 358d72c750..60a3fb0eca 100644 --- a/types/angular-file-saver/tsconfig.json +++ b/types/angular-file-saver/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-file-upload/tsconfig.json b/types/angular-file-upload/tsconfig.json index 310d96da7c..11194d71d0 100644 --- a/types/angular-file-upload/tsconfig.json +++ b/types/angular-file-upload/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "angular-file-upload-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/angular-formly/tsconfig.json b/types/angular-formly/tsconfig.json index 06379faf4b..3812b7cd66 100644 --- a/types/angular-formly/tsconfig.json +++ b/types/angular-formly/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-fullscreen/tsconfig.json b/types/angular-fullscreen/tsconfig.json index 6e6e8be685..72a22e0897 100644 --- a/types/angular-fullscreen/tsconfig.json +++ b/types/angular-fullscreen/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-gettext/tsconfig.json b/types/angular-gettext/tsconfig.json index 906c7b6f00..43c7dc3cab 100644 --- a/types/angular-gettext/tsconfig.json +++ b/types/angular-gettext/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-google-analytics/tsconfig.json b/types/angular-google-analytics/tsconfig.json index 78026bd417..b66432d04c 100644 --- a/types/angular-google-analytics/tsconfig.json +++ b/types/angular-google-analytics/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-gridster/tsconfig.json b/types/angular-gridster/tsconfig.json index a266d23b64..94b4c6ceff 100644 --- a/types/angular-gridster/tsconfig.json +++ b/types/angular-gridster/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-growl-v2/tsconfig.json b/types/angular-growl-v2/tsconfig.json index 30bf2cd4c1..16ccffe41f 100644 --- a/types/angular-growl-v2/tsconfig.json +++ b/types/angular-growl-v2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-hotkeys/tsconfig.json b/types/angular-hotkeys/tsconfig.json index 57f3f6375b..f277241888 100644 --- a/types/angular-hotkeys/tsconfig.json +++ b/types/angular-hotkeys/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-http-auth/tsconfig.json b/types/angular-http-auth/tsconfig.json index 75f27930ba..61029fcc00 100644 --- a/types/angular-http-auth/tsconfig.json +++ b/types/angular-http-auth/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-httpi/tsconfig.json b/types/angular-httpi/tsconfig.json index b149191fb1..64c28306cf 100644 --- a/types/angular-httpi/tsconfig.json +++ b/types/angular-httpi/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-idle/tsconfig.json b/types/angular-idle/tsconfig.json index 9aa3da84d3..57cc641db8 100644 --- a/types/angular-idle/tsconfig.json +++ b/types/angular-idle/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-jwt/tsconfig.json b/types/angular-jwt/tsconfig.json index 96b47460ce..b884cbc435 100644 --- a/types/angular-jwt/tsconfig.json +++ b/types/angular-jwt/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-load/tsconfig.json b/types/angular-load/tsconfig.json index b9a8bb1819..ee5ee74b72 100644 --- a/types/angular-load/tsconfig.json +++ b/types/angular-load/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-loading-bar/tsconfig.json b/types/angular-loading-bar/tsconfig.json index 24e7af55dd..f639942629 100644 --- a/types/angular-loading-bar/tsconfig.json +++ b/types/angular-loading-bar/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-local-storage/tsconfig.json b/types/angular-local-storage/tsconfig.json index 2df37e062b..44c357b558 100644 --- a/types/angular-local-storage/tsconfig.json +++ b/types/angular-local-storage/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-localforage/tsconfig.json b/types/angular-localforage/tsconfig.json index 9974f90248..dc98f1186d 100644 --- a/types/angular-localforage/tsconfig.json +++ b/types/angular-localforage/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-locker/tsconfig.json b/types/angular-locker/tsconfig.json index 2dfdebd8ad..35091c7ea8 100644 --- a/types/angular-locker/tsconfig.json +++ b/types/angular-locker/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-material/tsconfig.json b/types/angular-material/tsconfig.json index dba3d4ed32..3ecdc4851c 100644 --- a/types/angular-material/tsconfig.json +++ b/types/angular-material/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-media-queries/tsconfig.json b/types/angular-media-queries/tsconfig.json index 7fa741764d..6a02589dc1 100644 --- a/types/angular-media-queries/tsconfig.json +++ b/types/angular-media-queries/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-meteor/tsconfig.json b/types/angular-meteor/tsconfig.json index 07f3a81313..16d4015269 100644 --- a/types/angular-meteor/tsconfig.json +++ b/types/angular-meteor/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-mocks/tsconfig.json b/types/angular-mocks/tsconfig.json index 6487dc0dba..cfce69a898 100644 --- a/types/angular-mocks/tsconfig.json +++ b/types/angular-mocks/tsconfig.json @@ -13,6 +13,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-modal/tsconfig.json b/types/angular-modal/tsconfig.json index cdbc078a59..c727f39fbb 100644 --- a/types/angular-modal/tsconfig.json +++ b/types/angular-modal/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-notifications/tsconfig.json b/types/angular-notifications/tsconfig.json index 00d57f16e1..7186df8fd5 100644 --- a/types/angular-notifications/tsconfig.json +++ b/types/angular-notifications/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-notify/tsconfig.json b/types/angular-notify/tsconfig.json index 30678a1308..a993101ea8 100644 --- a/types/angular-notify/tsconfig.json +++ b/types/angular-notify/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-oauth2/tsconfig.json b/types/angular-oauth2/tsconfig.json index e8a5250748..253e138f2f 100644 --- a/types/angular-oauth2/tsconfig.json +++ b/types/angular-oauth2/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "angular-oauth2-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/angular-odata-resources/tsconfig.json b/types/angular-odata-resources/tsconfig.json index 4bb727cafa..cf8b87b038 100644 --- a/types/angular-odata-resources/tsconfig.json +++ b/types/angular-odata-resources/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-pdfjs-viewer/tsconfig.json b/types/angular-pdfjs-viewer/tsconfig.json index a8d322df87..bdae87bf50 100644 --- a/types/angular-pdfjs-viewer/tsconfig.json +++ b/types/angular-pdfjs-viewer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "angular-pdfjs-viewer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/angular-permission/tsconfig.json b/types/angular-permission/tsconfig.json index dbd8053570..80dd668340 100644 --- a/types/angular-permission/tsconfig.json +++ b/types/angular-permission/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-promise-tracker/tsconfig.json b/types/angular-promise-tracker/tsconfig.json index e18793a3be..2e81cb6ea3 100644 --- a/types/angular-promise-tracker/tsconfig.json +++ b/types/angular-promise-tracker/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-q-spread/tsconfig.json b/types/angular-q-spread/tsconfig.json index 4ab75ae3be..a00f0e4d5f 100644 --- a/types/angular-q-spread/tsconfig.json +++ b/types/angular-q-spread/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-resource/tsconfig.json b/types/angular-resource/tsconfig.json index 53d572b642..7599b3e12e 100644 --- a/types/angular-resource/tsconfig.json +++ b/types/angular-resource/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-route/tsconfig.json b/types/angular-route/tsconfig.json index 750627caf0..9960b488ba 100644 --- a/types/angular-route/tsconfig.json +++ b/types/angular-route/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-sanitize/tsconfig.json b/types/angular-sanitize/tsconfig.json index d3804af0bc..4ce7848518 100644 --- a/types/angular-sanitize/tsconfig.json +++ b/types/angular-sanitize/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-scenario/tsconfig.json b/types/angular-scenario/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/angular-scenario/tsconfig.json +++ b/types/angular-scenario/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-scroll/tsconfig.json b/types/angular-scroll/tsconfig.json index 09810157e8..b6d6daecb2 100644 --- a/types/angular-scroll/tsconfig.json +++ b/types/angular-scroll/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-signalr-hub/tsconfig.json b/types/angular-signalr-hub/tsconfig.json index edc7264376..d0e69b894d 100644 --- a/types/angular-signalr-hub/tsconfig.json +++ b/types/angular-signalr-hub/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-spinner/tsconfig.json b/types/angular-spinner/tsconfig.json index 9f8a416e9e..e09fc93f8e 100644 --- a/types/angular-spinner/tsconfig.json +++ b/types/angular-spinner/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-storage/tsconfig.json b/types/angular-storage/tsconfig.json index 2ddc1386e4..07dc148cef 100644 --- a/types/angular-storage/tsconfig.json +++ b/types/angular-storage/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-strap/tsconfig.json b/types/angular-strap/tsconfig.json index 44616c2229..7ac157876b 100644 --- a/types/angular-strap/tsconfig.json +++ b/types/angular-strap/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-toastr/tsconfig.json b/types/angular-toastr/tsconfig.json index 9e8e395643..be88b26d08 100644 --- a/types/angular-toastr/tsconfig.json +++ b/types/angular-toastr/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-toasty/tsconfig.json b/types/angular-toasty/tsconfig.json index 66881e3acf..085335904c 100644 --- a/types/angular-toasty/tsconfig.json +++ b/types/angular-toasty/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-tooltips/tsconfig.json b/types/angular-tooltips/tsconfig.json index 945fa84c71..8465b76909 100644 --- a/types/angular-tooltips/tsconfig.json +++ b/types/angular-tooltips/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "angular-tooltips-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/angular-touchspin/tsconfig.json b/types/angular-touchspin/tsconfig.json index 02708e0656..8c3d5338c4 100644 --- a/types/angular-touchspin/tsconfig.json +++ b/types/angular-touchspin/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-translate/tsconfig.json b/types/angular-translate/tsconfig.json index b0ed532983..7b3df3db88 100644 --- a/types/angular-translate/tsconfig.json +++ b/types/angular-translate/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-ui-bootstrap/tsconfig.json b/types/angular-ui-bootstrap/tsconfig.json index 242fd49d1e..62765ca465 100644 --- a/types/angular-ui-bootstrap/tsconfig.json +++ b/types/angular-ui-bootstrap/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-ui-notification/tsconfig.json b/types/angular-ui-notification/tsconfig.json index d46b2d1354..25e3769186 100644 --- a/types/angular-ui-notification/tsconfig.json +++ b/types/angular-ui-notification/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-ui-router/tsconfig.json b/types/angular-ui-router/tsconfig.json index ebac0235fb..83aeab8d3b 100644 --- a/types/angular-ui-router/tsconfig.json +++ b/types/angular-ui-router/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-ui-scroll/tsconfig.json b/types/angular-ui-scroll/tsconfig.json index 897082b4a9..8fb95049e4 100644 --- a/types/angular-ui-scroll/tsconfig.json +++ b/types/angular-ui-scroll/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-ui-sortable/tsconfig.json b/types/angular-ui-sortable/tsconfig.json index 80410539a4..b96f69101e 100644 --- a/types/angular-ui-sortable/tsconfig.json +++ b/types/angular-ui-sortable/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-ui-tree/tsconfig.json b/types/angular-ui-tree/tsconfig.json index 15e286d17d..cb2693e910 100644 --- a/types/angular-ui-tree/tsconfig.json +++ b/types/angular-ui-tree/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-websocket/tsconfig.json b/types/angular-websocket/tsconfig.json index 124f24258b..96aab30ef0 100644 --- a/types/angular-websocket/tsconfig.json +++ b/types/angular-websocket/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-wizard/tsconfig.json b/types/angular-wizard/tsconfig.json index ff7d1da277..a87aedbbe4 100644 --- a/types/angular-wizard/tsconfig.json +++ b/types/angular-wizard/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular-xeditable/tsconfig.json b/types/angular-xeditable/tsconfig.json index 93c8382090..44cdeea7bf 100644 --- a/types/angular-xeditable/tsconfig.json +++ b/types/angular-xeditable/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular.throttle/tsconfig.json b/types/angular.throttle/tsconfig.json index 46b55f70ff..bcee04a06f 100644 --- a/types/angular.throttle/tsconfig.json +++ b/types/angular.throttle/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angular/tsconfig.json b/types/angular/tsconfig.json index f102aff22f..92d1e026c3 100644 --- a/types/angular/tsconfig.json +++ b/types/angular/tsconfig.json @@ -16,6 +16,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -24,4 +25,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/angularfire/tsconfig.json b/types/angularfire/tsconfig.json index a0e1af228c..79526d1d23 100644 --- a/types/angularfire/tsconfig.json +++ b/types/angularfire/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angularlocalstorage/tsconfig.json b/types/angularlocalstorage/tsconfig.json index bcae5a609f..18cbe35651 100644 --- a/types/angularlocalstorage/tsconfig.json +++ b/types/angularlocalstorage/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/angulartics/tsconfig.json b/types/angulartics/tsconfig.json index d190dd2ab3..2cfa5bb6a9 100644 --- a/types/angulartics/tsconfig.json +++ b/types/angulartics/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/animation-frame/tsconfig.json b/types/animation-frame/tsconfig.json index aec9b43665..50f3aa0703 100644 --- a/types/animation-frame/tsconfig.json +++ b/types/animation-frame/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/animejs/tsconfig.json b/types/animejs/tsconfig.json index 506b75ade3..02c5552371 100644 --- a/types/animejs/tsconfig.json +++ b/types/animejs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "animejs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/annyang/tsconfig.json b/types/annyang/tsconfig.json index f54c7cd18c..f16b627fac 100644 --- a/types/annyang/tsconfig.json +++ b/types/annyang/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "annyang-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ansi-styles/tsconfig.json b/types/ansi-styles/tsconfig.json index 9aa9a851d4..daf091f6ce 100644 --- a/types/ansi-styles/tsconfig.json +++ b/types/ansi-styles/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ansicolors/tsconfig.json b/types/ansicolors/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/ansicolors/tsconfig.json +++ b/types/ansicolors/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/any-db-transaction/tsconfig.json b/types/any-db-transaction/tsconfig.json index 04e83c8b60..70db166ef8 100644 --- a/types/any-db-transaction/tsconfig.json +++ b/types/any-db-transaction/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/any-db/tsconfig.json b/types/any-db/tsconfig.json index 78ed339650..21170c7c68 100644 --- a/types/any-db/tsconfig.json +++ b/types/any-db/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/anybar/tsconfig.json b/types/anybar/tsconfig.json index 67676d8dbb..1dd62548e6 100644 --- a/types/anybar/tsconfig.json +++ b/types/anybar/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/anydb-sql-migrations/tsconfig.json b/types/anydb-sql-migrations/tsconfig.json index 78eef3d69a..33bb5ae800 100644 --- a/types/anydb-sql-migrations/tsconfig.json +++ b/types/anydb-sql-migrations/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/anymatch/tsconfig.json b/types/anymatch/tsconfig.json index e4fad1c219..d30a18ba98 100644 --- a/types/anymatch/tsconfig.json +++ b/types/anymatch/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "anymatch-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/apex.js/tsconfig.json b/types/apex.js/tsconfig.json index 7f4f681f45..2a67c3005a 100644 --- a/types/apex.js/tsconfig.json +++ b/types/apex.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/aphrodite/tsconfig.json b/types/aphrodite/tsconfig.json index d197eb1339..733098707c 100644 --- a/types/aphrodite/tsconfig.json +++ b/types/aphrodite/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/api-error-handler/tsconfig.json b/types/api-error-handler/tsconfig.json index 63f8ed23b4..343e9007e9 100644 --- a/types/api-error-handler/tsconfig.json +++ b/types/api-error-handler/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/apigee-access/tsconfig.json b/types/apigee-access/tsconfig.json index b13dc3e8ee..3a18c6594a 100644 --- a/types/apigee-access/tsconfig.json +++ b/types/apigee-access/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/apollo-codegen/tsconfig.json b/types/apollo-codegen/tsconfig.json index cc7c69d4f6..a793b04d75 100644 --- a/types/apollo-codegen/tsconfig.json +++ b/types/apollo-codegen/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "apollo-codegen-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/app-root-path/tsconfig.json b/types/app-root-path/tsconfig.json index a3f43b0b45..0786aa8b6c 100644 --- a/types/app-root-path/tsconfig.json +++ b/types/app-root-path/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/appframework/tsconfig.json b/types/appframework/tsconfig.json index a672bb4b83..8ed9e604ca 100644 --- a/types/appframework/tsconfig.json +++ b/types/appframework/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/applepayjs/tsconfig.json b/types/applepayjs/tsconfig.json index 0bb26b97ac..892c52bd37 100644 --- a/types/applepayjs/tsconfig.json +++ b/types/applepayjs/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "baseUrl": "../", - "forceConsistentCasingInFileNames": true, - "lib": [ - "dom", - "es6" - ], - "module": "commonjs", - "noImplicitAny": true, - "noImplicitThis": true, - "noEmit": true, - "strictNullChecks": true, - "typeRoots": [ - "../" - ], - "types": [] - }, - "files": [ - "index.d.ts", - "applepayjs-tests.ts" - ] -} + "compilerOptions": { + "baseUrl": "../", + "forceConsistentCasingInFileNames": true, + "lib": [ + "dom", + "es6" + ], + "module": "commonjs", + "noImplicitAny": true, + "noImplicitThis": true, + "noEmit": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "typeRoots": [ + "../" + ], + "types": [] + }, + "files": [ + "index.d.ts", + "applepayjs-tests.ts" + ] +} \ No newline at end of file diff --git a/types/appletvjs/tsconfig.json b/types/appletvjs/tsconfig.json index 777e9522ba..44dc1a34db 100644 --- a/types/appletvjs/tsconfig.json +++ b/types/appletvjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/applicationinsights-js/tsconfig.json b/types/applicationinsights-js/tsconfig.json index 3a24c6f936..db2a137f6b 100644 --- a/types/applicationinsights-js/tsconfig.json +++ b/types/applicationinsights-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/applicationinsights/tsconfig.json b/types/applicationinsights/tsconfig.json index 2ee81db96d..abc81fb75c 100644 --- a/types/applicationinsights/tsconfig.json +++ b/types/applicationinsights/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/arbiter/tsconfig.json b/types/arbiter/tsconfig.json index 2b345fa427..674951954e 100644 --- a/types/arbiter/tsconfig.json +++ b/types/arbiter/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/arcgis-js-api/tsconfig.json b/types/arcgis-js-api/tsconfig.json index a5574d4314..8a696a3a1e 100644 --- a/types/arcgis-js-api/tsconfig.json +++ b/types/arcgis-js-api/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/arcgis-js-api/v3/tsconfig.json b/types/arcgis-js-api/v3/tsconfig.json index 6e7e99e066..320cb582e1 100644 --- a/types/arcgis-js-api/v3/tsconfig.json +++ b/types/arcgis-js-api/v3/tsconfig.json @@ -8,13 +8,16 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "types": [], "paths": { - "arcgis-js-api": ["arcgis-js-api/v3"] + "arcgis-js-api": [ + "arcgis-js-api/v3" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/arcgis-rest-api/tsconfig.json b/types/arcgis-rest-api/tsconfig.json index 34b6945113..346b0c1ea3 100644 --- a/types/arcgis-rest-api/tsconfig.json +++ b/types/arcgis-rest-api/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/arcgis-to-geojson-utils/tsconfig.json b/types/arcgis-to-geojson-utils/tsconfig.json index a2eb702563..c2ef5bf641 100644 --- a/types/arcgis-to-geojson-utils/tsconfig.json +++ b/types/arcgis-to-geojson-utils/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/archiver/tsconfig.json b/types/archiver/tsconfig.json index 7b043f24e4..71db696c82 100644 --- a/types/archiver/tsconfig.json +++ b/types/archiver/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/archy/tsconfig.json b/types/archy/tsconfig.json index ca7e082dcb..d26c849987 100644 --- a/types/archy/tsconfig.json +++ b/types/archy/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/are-we-there-yet/tsconfig.json b/types/are-we-there-yet/tsconfig.json index e4dc1462ce..9df0996daa 100644 --- a/types/are-we-there-yet/tsconfig.json +++ b/types/are-we-there-yet/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "are-we-there-yet-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/argparse/tsconfig.json b/types/argparse/tsconfig.json index 31b6cee0f1..49e7b03ca8 100644 --- a/types/argparse/tsconfig.json +++ b/types/argparse/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/argv/tsconfig.json b/types/argv/tsconfig.json index 10c6ce3f11..2a123030fa 100644 --- a/types/argv/tsconfig.json +++ b/types/argv/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/array-find-index/tsconfig.json b/types/array-find-index/tsconfig.json index 9cddd0dde7..41c6183cbe 100644 --- a/types/array-find-index/tsconfig.json +++ b/types/array-find-index/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/array-foreach/tsconfig.json b/types/array-foreach/tsconfig.json index d10d11a4a2..bacc698e34 100644 --- a/types/array-foreach/tsconfig.json +++ b/types/array-foreach/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/array-uniq/tsconfig.json b/types/array-uniq/tsconfig.json index 29fb9276c8..71557f6481 100644 --- a/types/array-uniq/tsconfig.json +++ b/types/array-uniq/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/arrify/tsconfig.json b/types/arrify/tsconfig.json index e0ac439953..63d89a9c7f 100644 --- a/types/arrify/tsconfig.json +++ b/types/arrify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "arrify-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/artyom.js/tsconfig.json b/types/artyom.js/tsconfig.json index f4736ae50d..1a10beb9c8 100644 --- a/types/artyom.js/tsconfig.json +++ b/types/artyom.js/tsconfig.json @@ -7,6 +7,7 @@ ], "noImplicitAny": true, "strictNullChecks": true, + "strictFunctionTypes": true, "noImplicitThis": true, "baseUrl": "../", "typeRoots": [ @@ -20,4 +21,4 @@ "index.d.ts", "artyom.js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/asana/tsconfig.json b/types/asana/tsconfig.json index 5a6ff7d940..452aade0b1 100644 --- a/types/asana/tsconfig.json +++ b/types/asana/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ascii2mathml/tsconfig.json b/types/ascii2mathml/tsconfig.json index 22e7823b58..b4c4b0a21b 100644 --- a/types/ascii2mathml/tsconfig.json +++ b/types/ascii2mathml/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "ascii2mathml-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/asciify/tsconfig.json b/types/asciify/tsconfig.json index df554e6e89..5f84d92e80 100644 --- a/types/asciify/tsconfig.json +++ b/types/asciify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/asenv/tsconfig.json b/types/asenv/tsconfig.json index 129dd1caf0..c779998e24 100644 --- a/types/asenv/tsconfig.json +++ b/types/asenv/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "asenv-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/askmethat-rating/tsconfig.json b/types/askmethat-rating/tsconfig.json index fd5ef4ae50..a41db58d7a 100644 --- a/types/askmethat-rating/tsconfig.json +++ b/types/askmethat-rating/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "askmethat-rating-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/asn1js/tsconfig.json b/types/asn1js/tsconfig.json index 14f2b01922..59420b595d 100644 --- a/types/asn1js/tsconfig.json +++ b/types/asn1js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/aspnet-identity-pw/tsconfig.json b/types/aspnet-identity-pw/tsconfig.json index 74e84bb784..2d2ba0ec28 100644 --- a/types/aspnet-identity-pw/tsconfig.json +++ b/types/aspnet-identity-pw/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/assert-equal-jsx/tsconfig.json b/types/assert-equal-jsx/tsconfig.json index 25c499a18f..3f476135f8 100644 --- a/types/assert-equal-jsx/tsconfig.json +++ b/types/assert-equal-jsx/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -21,4 +22,4 @@ "index.d.ts", "assert-equal-jsx-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/assert-plus/tsconfig.json b/types/assert-plus/tsconfig.json index ba308d4817..5c89ae8c31 100644 --- a/types/assert-plus/tsconfig.json +++ b/types/assert-plus/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/assertion-error/tsconfig.json b/types/assertion-error/tsconfig.json index 622a3d4f31..ebe9144d0b 100644 --- a/types/assertion-error/tsconfig.json +++ b/types/assertion-error/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/assertsharp/tsconfig.json b/types/assertsharp/tsconfig.json index 83ffe2f34e..bc2779726e 100644 --- a/types/assertsharp/tsconfig.json +++ b/types/assertsharp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/assets-webpack-plugin/tsconfig.json b/types/assets-webpack-plugin/tsconfig.json index 0d71c8ce0b..3c08912345 100644 --- a/types/assets-webpack-plugin/tsconfig.json +++ b/types/assets-webpack-plugin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "assets-webpack-plugin-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/async-cache/tsconfig.json b/types/async-cache/tsconfig.json index 1358c8a3e4..21657ef518 100644 --- a/types/async-cache/tsconfig.json +++ b/types/async-cache/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "async-cache-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/async-lock/tsconfig.json b/types/async-lock/tsconfig.json index 015de13897..1bc997ef73 100644 --- a/types/async-lock/tsconfig.json +++ b/types/async-lock/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/async-polling/tsconfig.json b/types/async-polling/tsconfig.json index 3743e804f0..5bcccb20f2 100644 --- a/types/async-polling/tsconfig.json +++ b/types/async-polling/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/async-writer/tsconfig.json b/types/async-writer/tsconfig.json index 745abd8e87..2b8771e48c 100644 --- a/types/async-writer/tsconfig.json +++ b/types/async-writer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/async.nexttick/tsconfig.json b/types/async.nexttick/tsconfig.json index 68011bfd96..b824f94a44 100644 --- a/types/async.nexttick/tsconfig.json +++ b/types/async.nexttick/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,5 +21,4 @@ "index.d.ts", "async.nexttick-tests.ts" ] -} - +} \ No newline at end of file diff --git a/types/async/tsconfig.json b/types/async/tsconfig.json index 46ac98ea58..153a5471fb 100644 --- a/types/async/tsconfig.json +++ b/types/async/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -22,4 +23,4 @@ "test/explicit.ts", "test/es6-generators.ts" ] -} +} \ No newline at end of file diff --git a/types/asyncblock/tsconfig.json b/types/asyncblock/tsconfig.json index 8c95bd56a0..c696706864 100644 --- a/types/asyncblock/tsconfig.json +++ b/types/asyncblock/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/atmosphere.js/tsconfig.json b/types/atmosphere.js/tsconfig.json index 8c2e633212..f06f28e8f7 100644 --- a/types/atmosphere.js/tsconfig.json +++ b/types/atmosphere.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/atmosphere/tsconfig.json b/types/atmosphere/tsconfig.json index d6b12ce1e3..2fb820bd91 100644 --- a/types/atmosphere/tsconfig.json +++ b/types/atmosphere/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/atom-keymap/tsconfig.json b/types/atom-keymap/tsconfig.json index ef3f191a31..1ef87fb730 100644 --- a/types/atom-keymap/tsconfig.json +++ b/types/atom-keymap/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "atom-keymap-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/atom-keymap/v5/tsconfig.json b/types/atom-keymap/v5/tsconfig.json index 001df42114..4995308609 100644 --- a/types/atom-keymap/v5/tsconfig.json +++ b/types/atom-keymap/v5/tsconfig.json @@ -8,13 +8,18 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "atom-keymap": [ "atom-keymap/v5" ], - "event-kit": [ "event-kit/v1" ] + "atom-keymap": [ + "atom-keymap/v5" + ], + "event-kit": [ + "event-kit/v1" + ] }, "types": [], "noEmit": true, @@ -24,4 +29,4 @@ "index.d.ts", "atom-keymap-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/atom/tsconfig.json b/types/atom/tsconfig.json index febacd8656..794b99eadc 100644 --- a/types/atom/tsconfig.json +++ b/types/atom/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "atom-tests.ts", "services/index.d.ts" ] -} +} \ No newline at end of file diff --git a/types/atom/v0/tsconfig.json b/types/atom/v0/tsconfig.json index 11d6a6ea93..1330ba894b 100644 --- a/types/atom/v0/tsconfig.json +++ b/types/atom/v0/tsconfig.json @@ -8,14 +8,21 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "atom": [ "atom/v0" ], - "pathwatcher": [ "pathwatcher/v0" ], - "q": [ "q/v0" ] + "atom": [ + "atom/v0" + ], + "pathwatcher": [ + "pathwatcher/v0" + ], + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, @@ -26,4 +33,4 @@ "api-docs.d.ts", "atom-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/atpl/tsconfig.json b/types/atpl/tsconfig.json index b35da8523c..24f7da314f 100644 --- a/types/atpl/tsconfig.json +++ b/types/atpl/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/audiosprite/tsconfig.json b/types/audiosprite/tsconfig.json index 7348d046e8..b761c9572e 100644 --- a/types/audiosprite/tsconfig.json +++ b/types/audiosprite/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "audiosprite-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/aurelia-knockout/tsconfig.json b/types/aurelia-knockout/tsconfig.json index aa45dc1157..ceb4710331 100644 --- a/types/aurelia-knockout/tsconfig.json +++ b/types/aurelia-knockout/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "aurelia-knockout-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/auth0-angular/tsconfig.json b/types/auth0-angular/tsconfig.json index da1f149dc0..42ee707301 100644 --- a/types/auth0-angular/tsconfig.json +++ b/types/auth0-angular/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/auth0-js/tsconfig.json b/types/auth0-js/tsconfig.json index 62bab1e208..a813aae68d 100644 --- a/types/auth0-js/tsconfig.json +++ b/types/auth0-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "auth0-js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/auth0-js/v7/tsconfig.json b/types/auth0-js/v7/tsconfig.json index bdabf7ef7f..e76b7d7dd8 100644 --- a/types/auth0-js/v7/tsconfig.json +++ b/types/auth0-js/v7/tsconfig.json @@ -8,14 +8,19 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "types": [], "paths": { - "auth0-js": ["auth0-js/v7"], - "auth0-js/*": ["auth0-js/v7/*"] + "auth0-js": [ + "auth0-js/v7" + ], + "auth0-js/*": [ + "auth0-js/v7/*" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true @@ -24,4 +29,4 @@ "index.d.ts", "auth0-js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/auth0-lock/tsconfig.json b/types/auth0-lock/tsconfig.json index 09c9f8233c..2e008d7c0d 100644 --- a/types/auth0-lock/tsconfig.json +++ b/types/auth0-lock/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "auth0-lock-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/auth0.widget/tsconfig.json b/types/auth0.widget/tsconfig.json index 8ceb7b3d73..d18a18213b 100644 --- a/types/auth0.widget/tsconfig.json +++ b/types/auth0.widget/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "auth0.widget-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/auth0/tsconfig.json b/types/auth0/tsconfig.json index 855b69aa4d..dd7c60796c 100644 --- a/types/auth0/tsconfig.json +++ b/types/auth0/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/auto-launch/tsconfig.json b/types/auto-launch/tsconfig.json index ba69bba12b..952d3c0c5d 100644 --- a/types/auto-launch/tsconfig.json +++ b/types/auto-launch/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "auto-launch-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/auto-sni/tsconfig.json b/types/auto-sni/tsconfig.json index 715f315867..9c03900b72 100644 --- a/types/auto-sni/tsconfig.json +++ b/types/auto-sni/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "auto-sni-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "auto-sni-tests.ts" + ] +} \ No newline at end of file diff --git a/types/autobahn/tsconfig.json b/types/autobahn/tsconfig.json index 0efaca40c5..35ca105b25 100644 --- a/types/autobahn/tsconfig.json +++ b/types/autobahn/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/autobind-decorator/tsconfig.json b/types/autobind-decorator/tsconfig.json index 43d5817978..0b05ea04fb 100644 --- a/types/autobind-decorator/tsconfig.json +++ b/types/autobind-decorator/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "experimentalDecorators": true, "typeRoots": [ diff --git a/types/autolinker/tsconfig.json b/types/autolinker/tsconfig.json index b746881615..7d8068c47c 100644 --- a/types/autolinker/tsconfig.json +++ b/types/autolinker/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/autoprefixer-core/tsconfig.json b/types/autoprefixer-core/tsconfig.json index b9a86fbe1b..91b4bc2e7c 100644 --- a/types/autoprefixer-core/tsconfig.json +++ b/types/autoprefixer-core/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/autoprefixer/tsconfig.json b/types/autoprefixer/tsconfig.json index 244c865adf..92adece604 100644 --- a/types/autoprefixer/tsconfig.json +++ b/types/autoprefixer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "autoprefixer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/autosize/tsconfig.json b/types/autosize/tsconfig.json index c5202a2b52..d74b3d9c37 100644 --- a/types/autosize/tsconfig.json +++ b/types/autosize/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/avoscloud-sdk/tsconfig.json b/types/avoscloud-sdk/tsconfig.json index 1da2d1d67d..2d3d9589f4 100644 --- a/types/avoscloud-sdk/tsconfig.json +++ b/types/avoscloud-sdk/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/awesomplete/tsconfig.json b/types/awesomplete/tsconfig.json index 270615e926..74f690ea77 100644 --- a/types/awesomplete/tsconfig.json +++ b/types/awesomplete/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/aws-iot-device-sdk/tsconfig.json b/types/aws-iot-device-sdk/tsconfig.json index 657e3a25f2..3fdd4b0f28 100644 --- a/types/aws-iot-device-sdk/tsconfig.json +++ b/types/aws-iot-device-sdk/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/aws-lambda-mock-context/tsconfig.json b/types/aws-lambda-mock-context/tsconfig.json index bdfad87be5..5d1dfe3f1f 100644 --- a/types/aws-lambda-mock-context/tsconfig.json +++ b/types/aws-lambda-mock-context/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/aws-lambda/tsconfig.json b/types/aws-lambda/tsconfig.json index e204a8ac6a..f4f2cc28f6 100644 --- a/types/aws-lambda/tsconfig.json +++ b/types/aws-lambda/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/aws-serverless-express/tsconfig.json b/types/aws-serverless-express/tsconfig.json index 62885fcda3..be920785f5 100644 --- a/types/aws-serverless-express/tsconfig.json +++ b/types/aws-serverless-express/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "middleware.d.ts", "aws-serverless-express-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/aws4/tsconfig.json b/types/aws4/tsconfig.json index 597f05b7e7..a0bcbfa73e 100644 --- a/types/aws4/tsconfig.json +++ b/types/aws4/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/axel/tsconfig.json b/types/axel/tsconfig.json index 0ac3689676..a3e2b5e015 100644 --- a/types/axel/tsconfig.json +++ b/types/axel/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "axel-tests.ts", - "index.d.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "axel-tests.ts", + "index.d.ts" + ] } \ No newline at end of file diff --git a/types/axios-mock-adapter/tsconfig.json b/types/axios-mock-adapter/tsconfig.json index d03b805201..0de216c230 100644 --- a/types/axios-mock-adapter/tsconfig.json +++ b/types/axios-mock-adapter/tsconfig.json @@ -13,10 +13,11 @@ "forceConsistentCasingInFileNames": true, "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": true + "strictNullChecks": true, + "strictFunctionTypes": true }, "files": [ "index.d.ts", "axios-mock-adapter-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/azure-mobile-services-client/tsconfig.json b/types/azure-mobile-services-client/tsconfig.json index 2094561f71..1d424df8c4 100644 --- a/types/azure-mobile-services-client/tsconfig.json +++ b/types/azure-mobile-services-client/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/azure-sb/tsconfig.json b/types/azure-sb/tsconfig.json index 9e2dba3353..525d24577e 100644 --- a/types/azure-sb/tsconfig.json +++ b/types/azure-sb/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/azure/tsconfig.json b/types/azure/tsconfig.json index 15e71337b2..0c4b536df2 100644 --- a/types/azure/tsconfig.json +++ b/types/azure/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/b_/tsconfig.json b/types/b_/tsconfig.json index 5271d3aeeb..9227b30bf1 100644 --- a/types/b_/tsconfig.json +++ b/types/b_/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "b_-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/babel-code-frame/tsconfig.json b/types/babel-code-frame/tsconfig.json index c2ee402de8..48e33ae829 100644 --- a/types/babel-code-frame/tsconfig.json +++ b/types/babel-code-frame/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/babel-core/tsconfig.json b/types/babel-core/tsconfig.json index eb34de358f..41aee71205 100644 --- a/types/babel-core/tsconfig.json +++ b/types/babel-core/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/babel-generator/tsconfig.json b/types/babel-generator/tsconfig.json index 76af52a798..76d138f54d 100644 --- a/types/babel-generator/tsconfig.json +++ b/types/babel-generator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/babel-plugin-react-pug/tsconfig.json b/types/babel-plugin-react-pug/tsconfig.json index 9e1bdd2e0c..6cb3ae3ee1 100644 --- a/types/babel-plugin-react-pug/tsconfig.json +++ b/types/babel-plugin-react-pug/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "jsx": "react" + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "jsx": "react" }, - "files": [ - "index.d.ts", - "babel-plugin-react-pug-tests.tsx" - ] -} + "files": [ + "index.d.ts", + "babel-plugin-react-pug-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/babel-plugin-syntax-jsx/tsconfig.json b/types/babel-plugin-syntax-jsx/tsconfig.json index bb19fbf329..6b52644488 100644 --- a/types/babel-plugin-syntax-jsx/tsconfig.json +++ b/types/babel-plugin-syntax-jsx/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "babel-plugin-syntax-jsx-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/babel-template/tsconfig.json b/types/babel-template/tsconfig.json index 3c87fafd00..96de23cec7 100644 --- a/types/babel-template/tsconfig.json +++ b/types/babel-template/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/babel-traverse/tsconfig.json b/types/babel-traverse/tsconfig.json index 01fab311ab..03dfa6ea51 100644 --- a/types/babel-traverse/tsconfig.json +++ b/types/babel-traverse/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/babel-types/tsconfig.json b/types/babel-types/tsconfig.json index b5bf7f62ee..92d7d6442e 100644 --- a/types/babel-types/tsconfig.json +++ b/types/babel-types/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/babelify/tsconfig.json b/types/babelify/tsconfig.json index defb24a946..9e07702ef2 100644 --- a/types/babelify/tsconfig.json +++ b/types/babelify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/babylon/tsconfig.json b/types/babylon/tsconfig.json index cd72fd759f..94d5c0bd59 100644 --- a/types/babylon/tsconfig.json +++ b/types/babylon/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/babyparse/tsconfig.json b/types/babyparse/tsconfig.json index 062572c4ef..da28a97d29 100644 --- a/types/babyparse/tsconfig.json +++ b/types/babyparse/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/backbone-associations/tsconfig.json b/types/backbone-associations/tsconfig.json index cb81dcd498..7f905ff541 100644 --- a/types/backbone-associations/tsconfig.json +++ b/types/backbone-associations/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/backbone-fetch-cache/tsconfig.json b/types/backbone-fetch-cache/tsconfig.json index 2625930e32..28c3240abc 100644 --- a/types/backbone-fetch-cache/tsconfig.json +++ b/types/backbone-fetch-cache/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/backbone-relational/tsconfig.json b/types/backbone-relational/tsconfig.json index 5d127f3c0d..961582a08f 100644 --- a/types/backbone-relational/tsconfig.json +++ b/types/backbone-relational/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/backbone.layoutmanager/tsconfig.json b/types/backbone.layoutmanager/tsconfig.json index 69b4f4d064..85b5e97b31 100644 --- a/types/backbone.layoutmanager/tsconfig.json +++ b/types/backbone.layoutmanager/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/backbone.localstorage/tsconfig.json b/types/backbone.localstorage/tsconfig.json index 60a7e9a9b7..65302c1d16 100644 --- a/types/backbone.localstorage/tsconfig.json +++ b/types/backbone.localstorage/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/backbone.marionette/tsconfig.json b/types/backbone.marionette/tsconfig.json index ab08adc897..b31d3cbfa4 100644 --- a/types/backbone.marionette/tsconfig.json +++ b/types/backbone.marionette/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/backbone.paginator/tsconfig.json b/types/backbone.paginator/tsconfig.json index eae23a6868..453c5e2861 100644 --- a/types/backbone.paginator/tsconfig.json +++ b/types/backbone.paginator/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/backbone.radio/tsconfig.json b/types/backbone.radio/tsconfig.json index 87431e3006..024840f373 100644 --- a/types/backbone.radio/tsconfig.json +++ b/types/backbone.radio/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/backbone/tsconfig.json b/types/backbone/tsconfig.json index efe348dbd6..c1185d6adf 100644 --- a/types/backbone/tsconfig.json +++ b/types/backbone/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/backgrid/tsconfig.json b/types/backgrid/tsconfig.json index 9a32a5ab8c..f2db8efd4c 100644 --- a/types/backgrid/tsconfig.json +++ b/types/backgrid/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/backlog-js/tsconfig.json b/types/backlog-js/tsconfig.json index 3e426132ba..360392d4ca 100644 --- a/types/backlog-js/tsconfig.json +++ b/types/backlog-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/backoff/tsconfig.json b/types/backoff/tsconfig.json index ed5117f056..1946d82f81 100644 --- a/types/backoff/tsconfig.json +++ b/types/backoff/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "backoff-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/baconjs/tsconfig.json b/types/baconjs/tsconfig.json index e1cdb7a71c..162a364559 100644 --- a/types/baconjs/tsconfig.json +++ b/types/baconjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bagpipes/tsconfig.json b/types/bagpipes/tsconfig.json index 6097fdb56d..56d9d43a52 100755 --- a/types/bagpipes/tsconfig.json +++ b/types/bagpipes/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "bagpipes-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/baidumap-web-sdk/tsconfig.json b/types/baidumap-web-sdk/tsconfig.json index 7b0c7c4913..6504c4665a 100644 --- a/types/baidumap-web-sdk/tsconfig.json +++ b/types/baidumap-web-sdk/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "baidumap-web-sdk-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/barcode/tsconfig.json b/types/barcode/tsconfig.json index 31a5f27c67..a66d2ab178 100644 --- a/types/barcode/tsconfig.json +++ b/types/barcode/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bardjs/tsconfig.json b/types/bardjs/tsconfig.json index c4c59ddd37..bd5226a586 100644 --- a/types/bardjs/tsconfig.json +++ b/types/bardjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/base-64/tsconfig.json b/types/base-64/tsconfig.json index 279b296c5e..49de73c3ef 100644 --- a/types/base-64/tsconfig.json +++ b/types/base-64/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/base-x/tsconfig.json b/types/base-x/tsconfig.json index 2ece07fe8e..d69790c7d6 100644 --- a/types/base-x/tsconfig.json +++ b/types/base-x/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/base16/tsconfig.json b/types/base16/tsconfig.json index c4c07afcfb..d354b0ba01 100644 --- a/types/base16/tsconfig.json +++ b/types/base16/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/base64-js/tsconfig.json b/types/base64-js/tsconfig.json index a202fdd2e8..3a65d8af45 100644 --- a/types/base64-js/tsconfig.json +++ b/types/base64-js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bases/tsconfig.json b/types/bases/tsconfig.json index aad84d2782..4b8912ac99 100644 --- a/types/bases/tsconfig.json +++ b/types/bases/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/basic-auth/tsconfig.json b/types/basic-auth/tsconfig.json index 8d9222de2c..7c49ef4d01 100644 --- a/types/basic-auth/tsconfig.json +++ b/types/basic-auth/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/batch-stream/tsconfig.json b/types/batch-stream/tsconfig.json index 51de2a9b7e..e99f40b376 100644 --- a/types/batch-stream/tsconfig.json +++ b/types/batch-stream/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bazinga-translator/tsconfig.json b/types/bazinga-translator/tsconfig.json index c2d466d99c..1ca08ada9b 100644 --- a/types/bazinga-translator/tsconfig.json +++ b/types/bazinga-translator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bcrypt-nodejs/tsconfig.json b/types/bcrypt-nodejs/tsconfig.json index 06067a179a..1d7991ff5f 100644 --- a/types/bcrypt-nodejs/tsconfig.json +++ b/types/bcrypt-nodejs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bcrypt/tsconfig.json b/types/bcrypt/tsconfig.json index 75c9449444..97c8808944 100644 --- a/types/bcrypt/tsconfig.json +++ b/types/bcrypt/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bcryptjs/tsconfig.json b/types/bcryptjs/tsconfig.json index b0e90ac993..094f87744c 100644 --- a/types/bcryptjs/tsconfig.json +++ b/types/bcryptjs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bem-cn/tsconfig.json b/types/bem-cn/tsconfig.json index a4c2cd86cb..e9212d8d91 100644 --- a/types/bem-cn/tsconfig.json +++ b/types/bem-cn/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "bem-cn-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/benchmark/tsconfig.json b/types/benchmark/tsconfig.json index ed72dc5a3f..ba1b6a3e55 100644 --- a/types/benchmark/tsconfig.json +++ b/types/benchmark/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/better-curry/tsconfig.json b/types/better-curry/tsconfig.json index 83627e6874..e5ceee43fc 100644 --- a/types/better-curry/tsconfig.json +++ b/types/better-curry/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/better-sqlite3/tsconfig.json b/types/better-sqlite3/tsconfig.json index fa406408e4..30a480355b 100644 --- a/types/better-sqlite3/tsconfig.json +++ b/types/better-sqlite3/tsconfig.json @@ -7,11 +7,12 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], - "types": [], + "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, @@ -19,4 +20,4 @@ "index.d.ts", "better-sqlite3-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bezier-easing/tsconfig.json b/types/bezier-easing/tsconfig.json index 9b3d620719..2603e9bae8 100644 --- a/types/bezier-easing/tsconfig.json +++ b/types/bezier-easing/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bezier-js/tsconfig.json b/types/bezier-js/tsconfig.json index 8c5c4a2044..02796cc09c 100644 --- a/types/bezier-js/tsconfig.json +++ b/types/bezier-js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bgiframe/tsconfig.json b/types/bgiframe/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/bgiframe/tsconfig.json +++ b/types/bgiframe/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/big.js/tsconfig.json b/types/big.js/tsconfig.json index ed3368dd05..950e8b410f 100644 --- a/types/big.js/tsconfig.json +++ b/types/big.js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "test/big.js-module-tests.ts", "test/big.js-global-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bigi/tsconfig.json b/types/bigi/tsconfig.json index f8424bbea7..de6aa90a97 100644 --- a/types/bigi/tsconfig.json +++ b/types/bigi/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bigint/tsconfig.json b/types/bigint/tsconfig.json index 48165aac98..37005189a4 100644 --- a/types/bigint/tsconfig.json +++ b/types/bigint/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bignum/tsconfig.json b/types/bignum/tsconfig.json index c875979dba..15cb8a7b4f 100644 --- a/types/bignum/tsconfig.json +++ b/types/bignum/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bignumber.js/tsconfig.json b/types/bignumber.js/tsconfig.json index 485dace353..6355540e00 100644 --- a/types/bignumber.js/tsconfig.json +++ b/types/bignumber.js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bigscreen/tsconfig.json b/types/bigscreen/tsconfig.json index cdf467e715..71230cc8e1 100644 --- a/types/bigscreen/tsconfig.json +++ b/types/bigscreen/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bind-ponyfill/tsconfig.json b/types/bind-ponyfill/tsconfig.json index 3fcedeaa10..29d2a7cac2 100644 --- a/types/bind-ponyfill/tsconfig.json +++ b/types/bind-ponyfill/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bingmaps/tsconfig.json b/types/bingmaps/tsconfig.json index b552120da3..ecb179959d 100644 --- a/types/bingmaps/tsconfig.json +++ b/types/bingmaps/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "bingmaps-tests.ts" ] -} \ No newline at end of file +} \ No newline at end of file diff --git a/types/bintrees/tsconfig.json b/types/bintrees/tsconfig.json index 15bdb88c5b..d21ec38c1e 100644 --- a/types/bintrees/tsconfig.json +++ b/types/bintrees/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bip21/tsconfig.json b/types/bip21/tsconfig.json index 338634335b..be0b017722 100644 --- a/types/bip21/tsconfig.json +++ b/types/bip21/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bit-array/tsconfig.json b/types/bit-array/tsconfig.json index e8ccde051f..ba2e9e32a2 100644 --- a/types/bit-array/tsconfig.json +++ b/types/bit-array/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bitcoinjs-lib/tsconfig.json b/types/bitcoinjs-lib/tsconfig.json index d1f5ec75b6..f874ae9858 100644 --- a/types/bitcoinjs-lib/tsconfig.json +++ b/types/bitcoinjs-lib/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "bitcoinjs-lib-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bittorrent-protocol/tsconfig.json b/types/bittorrent-protocol/tsconfig.json index 1bc778df1b..f128669698 100644 --- a/types/bittorrent-protocol/tsconfig.json +++ b/types/bittorrent-protocol/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "bittorrent-protocol-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bitwise-xor/tsconfig.json b/types/bitwise-xor/tsconfig.json index 91381b1d2e..a6b66cda37 100644 --- a/types/bitwise-xor/tsconfig.json +++ b/types/bitwise-xor/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bl/tsconfig.json b/types/bl/tsconfig.json index 375fd905e2..0f7c861ce8 100644 --- a/types/bl/tsconfig.json +++ b/types/bl/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/blacklist/tsconfig.json b/types/blacklist/tsconfig.json index 6fa73f1772..76cb49e40f 100644 --- a/types/blacklist/tsconfig.json +++ b/types/blacklist/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/blazy/tsconfig.json b/types/blazy/tsconfig.json index 633c77ad25..e452d910ec 100644 --- a/types/blazy/tsconfig.json +++ b/types/blazy/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bleno/tsconfig.json b/types/bleno/tsconfig.json index 44fa6c893f..338f3e3d24 100644 --- a/types/bleno/tsconfig.json +++ b/types/bleno/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "bleno-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/blessed/tsconfig.json b/types/blessed/tsconfig.json index 2744f7039b..e57d4b78d6 100644 --- a/types/blessed/tsconfig.json +++ b/types/blessed/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/blissfuljs/tsconfig.json b/types/blissfuljs/tsconfig.json index 9d04254081..42087d76ef 100644 --- a/types/blissfuljs/tsconfig.json +++ b/types/blissfuljs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/blob-stream/tsconfig.json b/types/blob-stream/tsconfig.json index f29a772ddd..2ebe6cacb9 100644 --- a/types/blob-stream/tsconfig.json +++ b/types/blob-stream/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/blob-util/tsconfig.json b/types/blob-util/tsconfig.json index f34519775d..7f7970ab0b 100644 --- a/types/blob-util/tsconfig.json +++ b/types/blob-util/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "blob-util-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/blocks/tsconfig.json b/types/blocks/tsconfig.json index 40215f80a6..85da699a13 100644 --- a/types/blocks/tsconfig.json +++ b/types/blocks/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bloomfilter/tsconfig.json b/types/bloomfilter/tsconfig.json index b8bae54b77..76ea34c251 100644 --- a/types/bloomfilter/tsconfig.json +++ b/types/bloomfilter/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "bloomfilter-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "bloomfilter-tests.ts" + ] +} \ No newline at end of file diff --git a/types/blue-tape/tsconfig.json b/types/blue-tape/tsconfig.json index 4740d06fa7..a4fc12b9e1 100644 --- a/types/blue-tape/tsconfig.json +++ b/types/blue-tape/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bluebird-global/tsconfig.json b/types/bluebird-global/tsconfig.json index 642b097309..d037429e0d 100644 --- a/types/bluebird-global/tsconfig.json +++ b/types/bluebird-global/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bluebird-retry/tsconfig.json b/types/bluebird-retry/tsconfig.json index 9d40873998..5ae2b487db 100644 --- a/types/bluebird-retry/tsconfig.json +++ b/types/bluebird-retry/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bluebird/tsconfig.json b/types/bluebird/tsconfig.json index d5f42bef56..94fc104c8f 100644 --- a/types/bluebird/tsconfig.json +++ b/types/bluebird/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/bluebird/v1/tsconfig.json b/types/bluebird/v1/tsconfig.json index 13442c777a..3e22a6a885 100644 --- a/types/bluebird/v1/tsconfig.json +++ b/types/bluebird/v1/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/bluebird/v2/tsconfig.json b/types/bluebird/v2/tsconfig.json index aeec8af920..773747fb4a 100644 --- a/types/bluebird/v2/tsconfig.json +++ b/types/bluebird/v2/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/blueimp-md5/tsconfig.json b/types/blueimp-md5/tsconfig.json index 8945974140..286b0abda2 100644 --- a/types/blueimp-md5/tsconfig.json +++ b/types/blueimp-md5/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/body-parser/tsconfig.json b/types/body-parser/tsconfig.json index e798cd97d3..9c0314a557 100644 --- a/types/body-parser/tsconfig.json +++ b/types/body-parser/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "body-parser-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bonjour/tsconfig.json b/types/bonjour/tsconfig.json index 5f4f7d3088..8cc7d3f823 100644 --- a/types/bonjour/tsconfig.json +++ b/types/bonjour/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bookshelf/tsconfig.json b/types/bookshelf/tsconfig.json index 012a7c10b2..e983e9b53c 100644 --- a/types/bookshelf/tsconfig.json +++ b/types/bookshelf/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/boolify-string/tsconfig.json b/types/boolify-string/tsconfig.json index f7a57e27de..fcc1b15038 100644 --- a/types/boolify-string/tsconfig.json +++ b/types/boolify-string/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/boom/tsconfig.json b/types/boom/tsconfig.json index c3bee46396..81f6f5cacf 100644 --- a/types/boom/tsconfig.json +++ b/types/boom/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/boom/v3/tsconfig.json b/types/boom/v3/tsconfig.json index 689f5dec00..1f8b8e7f4a 100644 --- a/types/boom/v3/tsconfig.json +++ b/types/boom/v3/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/bootbox/tsconfig.json b/types/bootbox/tsconfig.json index 7d84efdd82..75da35b2bc 100644 --- a/types/bootbox/tsconfig.json +++ b/types/bootbox/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "bootbox-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bootpag/tsconfig.json b/types/bootpag/tsconfig.json index fa1b79ad37..69b09cc3a6 100644 --- a/types/bootpag/tsconfig.json +++ b/types/bootpag/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bootstrap-datepicker/tsconfig.json b/types/bootstrap-datepicker/tsconfig.json index bef8804bc6..6770944b42 100644 --- a/types/bootstrap-datepicker/tsconfig.json +++ b/types/bootstrap-datepicker/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bootstrap-fileinput/tsconfig.json b/types/bootstrap-fileinput/tsconfig.json index 9661cf12ad..fa1c069762 100644 --- a/types/bootstrap-fileinput/tsconfig.json +++ b/types/bootstrap-fileinput/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bootstrap-maxlength/tsconfig.json b/types/bootstrap-maxlength/tsconfig.json index e67f6e33f1..403883963c 100644 --- a/types/bootstrap-maxlength/tsconfig.json +++ b/types/bootstrap-maxlength/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bootstrap-notify/tsconfig.json b/types/bootstrap-notify/tsconfig.json index 70345035cb..f833291433 100644 --- a/types/bootstrap-notify/tsconfig.json +++ b/types/bootstrap-notify/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bootstrap-select/tsconfig.json b/types/bootstrap-select/tsconfig.json index 28f30d6dc0..108bd0a43f 100644 --- a/types/bootstrap-select/tsconfig.json +++ b/types/bootstrap-select/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bootstrap-slider/tsconfig.json b/types/bootstrap-slider/tsconfig.json index a793a1d164..7400a08d09 100644 --- a/types/bootstrap-slider/tsconfig.json +++ b/types/bootstrap-slider/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "bootstrap-slider-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bootstrap-switch/tsconfig.json b/types/bootstrap-switch/tsconfig.json index 6afea7feeb..794d73cac9 100644 --- a/types/bootstrap-switch/tsconfig.json +++ b/types/bootstrap-switch/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bootstrap-table/tsconfig.json b/types/bootstrap-table/tsconfig.json index 7a82df8757..b38fb73330 100644 --- a/types/bootstrap-table/tsconfig.json +++ b/types/bootstrap-table/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bootstrap-touchspin/tsconfig.json b/types/bootstrap-touchspin/tsconfig.json index de15b1ab32..1ce86dec76 100644 --- a/types/bootstrap-touchspin/tsconfig.json +++ b/types/bootstrap-touchspin/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bootstrap-treeview/tsconfig.json b/types/bootstrap-treeview/tsconfig.json index 0dce7ab41a..30898529bb 100644 --- a/types/bootstrap-treeview/tsconfig.json +++ b/types/bootstrap-treeview/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "bootstrap-treeview-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bootstrap-validator/tsconfig.json b/types/bootstrap-validator/tsconfig.json index c4415e6d19..4f61ae94f9 100644 --- a/types/bootstrap-validator/tsconfig.json +++ b/types/bootstrap-validator/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bootstrap.paginator/tsconfig.json b/types/bootstrap.paginator/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/bootstrap.paginator/tsconfig.json +++ b/types/bootstrap.paginator/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bootstrap.timepicker/tsconfig.json b/types/bootstrap.timepicker/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/bootstrap.timepicker/tsconfig.json +++ b/types/bootstrap.timepicker/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bootstrap.v3.datetimepicker/tsconfig.json b/types/bootstrap.v3.datetimepicker/tsconfig.json index a405cd85dc..36febd5a8f 100644 --- a/types/bootstrap.v3.datetimepicker/tsconfig.json +++ b/types/bootstrap.v3.datetimepicker/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bootstrap.v3.datetimepicker/v3/tsconfig.json b/types/bootstrap.v3.datetimepicker/v3/tsconfig.json index c81098be9e..3dcc23bdff 100644 --- a/types/bootstrap.v3.datetimepicker/v3/tsconfig.json +++ b/types/bootstrap.v3.datetimepicker/v3/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/bootstrap/tsconfig.json b/types/bootstrap/tsconfig.json index 0efb26f214..536901e8a6 100644 --- a/types/bootstrap/tsconfig.json +++ b/types/bootstrap/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/botvs/tsconfig.json b/types/botvs/tsconfig.json index a20db9c8e9..6ec444ef28 100644 --- a/types/botvs/tsconfig.json +++ b/types/botvs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "botvs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bounce.js/tsconfig.json b/types/bounce.js/tsconfig.json index aea0528321..a0f7048729 100644 --- a/types/bounce.js/tsconfig.json +++ b/types/bounce.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bowser/tsconfig.json b/types/bowser/tsconfig.json index d0f2ee1a88..533b285bb0 100644 --- a/types/bowser/tsconfig.json +++ b/types/bowser/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/box2d/tsconfig.json b/types/box2d/tsconfig.json index 77378f313f..9fae5e8326 100644 --- a/types/box2d/tsconfig.json +++ b/types/box2d/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/brace-expansion/tsconfig.json b/types/brace-expansion/tsconfig.json index ef79d3729f..a64fa9ea3b 100644 --- a/types/brace-expansion/tsconfig.json +++ b/types/brace-expansion/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "brace-expansion-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/braintree-web/tsconfig.json b/types/braintree-web/tsconfig.json index d326f77f12..3a39178d0e 100644 --- a/types/braintree-web/tsconfig.json +++ b/types/braintree-web/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "test/web.ts", "test/node.ts" ] -} +} \ No newline at end of file diff --git a/types/breeze/tsconfig.json b/types/breeze/tsconfig.json index b03254b93c..236bcba327 100644 --- a/types/breeze/tsconfig.json +++ b/types/breeze/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bricks.js/tsconfig.json b/types/bricks.js/tsconfig.json index 5a4746ea86..5f265430a3 100644 --- a/types/bricks.js/tsconfig.json +++ b/types/bricks.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "bricks.js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/brorand/tsconfig.json b/types/brorand/tsconfig.json index 5fe5965087..52e7dbf24c 100644 --- a/types/brorand/tsconfig.json +++ b/types/brorand/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/browser-bunyan/tsconfig.json b/types/browser-bunyan/tsconfig.json index c94eef83e2..ab3fb51bd2 100644 --- a/types/browser-bunyan/tsconfig.json +++ b/types/browser-bunyan/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/browser-fingerprint/tsconfig.json b/types/browser-fingerprint/tsconfig.json index 412a577af0..7f34a8f380 100644 --- a/types/browser-fingerprint/tsconfig.json +++ b/types/browser-fingerprint/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/browser-harness/tsconfig.json b/types/browser-harness/tsconfig.json index 262ff52cf5..1694e52c08 100644 --- a/types/browser-harness/tsconfig.json +++ b/types/browser-harness/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/browser-pack/tsconfig.json b/types/browser-pack/tsconfig.json index 67da2f2560..1dc87a2e2d 100644 --- a/types/browser-pack/tsconfig.json +++ b/types/browser-pack/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/browser-report/tsconfig.json b/types/browser-report/tsconfig.json index 997b307339..f0bb076ca9 100644 --- a/types/browser-report/tsconfig.json +++ b/types/browser-report/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/browser-resolve/tsconfig.json b/types/browser-resolve/tsconfig.json index d1fd902a14..5f873c7ee5 100644 --- a/types/browser-resolve/tsconfig.json +++ b/types/browser-resolve/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/browser-sync/tsconfig.json b/types/browser-sync/tsconfig.json index 83ef3f0e60..98204d433a 100644 --- a/types/browser-sync/tsconfig.json +++ b/types/browser-sync/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/browserify/tsconfig.json b/types/browserify/tsconfig.json index 531f734eb9..df71b7fb3b 100644 --- a/types/browserify/tsconfig.json +++ b/types/browserify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bs58/tsconfig.json b/types/bs58/tsconfig.json index 90c5bc2b88..9e0ed25701 100644 --- a/types/bs58/tsconfig.json +++ b/types/bs58/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bson/tsconfig.json b/types/bson/tsconfig.json index 78adc0219b..aa4936d595 100644 --- a/types/bson/tsconfig.json +++ b/types/bson/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bucks/tsconfig.json b/types/bucks/tsconfig.json index 641d6425e8..f06df83926 100644 --- a/types/bucks/tsconfig.json +++ b/types/bucks/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/buffer-compare/tsconfig.json b/types/buffer-compare/tsconfig.json index 46bf66605d..76638cae6e 100644 --- a/types/buffer-compare/tsconfig.json +++ b/types/buffer-compare/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/buffer-equal/tsconfig.json b/types/buffer-equal/tsconfig.json index fe456dae48..5576be8e43 100644 --- a/types/buffer-equal/tsconfig.json +++ b/types/buffer-equal/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/buffers/tsconfig.json b/types/buffers/tsconfig.json index 09a2f78457..148f3d1dbb 100644 --- a/types/buffers/tsconfig.json +++ b/types/buffers/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bufferstream/tsconfig.json b/types/bufferstream/tsconfig.json index b7a18fa043..000bd2d09c 100644 --- a/types/bufferstream/tsconfig.json +++ b/types/bufferstream/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bull/tsconfig.json b/types/bull/tsconfig.json index 0751a977c1..3ce6f08792 100644 --- a/types/bull/tsconfig.json +++ b/types/bull/tsconfig.json @@ -1,12 +1,17 @@ { "compilerOptions": { "module": "commonjs", - "lib": [ "es6" ], + "lib": [ + "es6" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": [ "../" ], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/bull/v2/tsconfig.json b/types/bull/v2/tsconfig.json index 12445fc199..975ef0e01c 100644 --- a/types/bull/v2/tsconfig.json +++ b/types/bull/v2/tsconfig.json @@ -1,16 +1,25 @@ { "compilerOptions": { "module": "commonjs", - "lib": [ "es6" ], + "lib": [ + "es6" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", - "typeRoots": [ "../../" ], + "typeRoots": [ + "../../" + ], "types": [], "paths": { - "bull": [ "bull/v2" ], - "bull/*": [ "bull/v2/*" ] + "bull": [ + "bull/v2" + ], + "bull/*": [ + "bull/v2/*" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/bunnymq/tsconfig.json b/types/bunnymq/tsconfig.json index fe2f7d19dd..d1a470e451 100644 --- a/types/bunnymq/tsconfig.json +++ b/types/bunnymq/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bunyan-blackhole/tsconfig.json b/types/bunyan-blackhole/tsconfig.json index cddd529d29..0266e86bae 100644 --- a/types/bunyan-blackhole/tsconfig.json +++ b/types/bunyan-blackhole/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bunyan-bugsnag/tsconfig.json b/types/bunyan-bugsnag/tsconfig.json index fc5f16775b..1910cbaf79 100644 --- a/types/bunyan-bugsnag/tsconfig.json +++ b/types/bunyan-bugsnag/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "bunyan-bugsnag-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bunyan-config/tsconfig.json b/types/bunyan-config/tsconfig.json index 316e779857..7866deb22e 100644 --- a/types/bunyan-config/tsconfig.json +++ b/types/bunyan-config/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bunyan-logentries/tsconfig.json b/types/bunyan-logentries/tsconfig.json index fab7ab8adf..f367f2fff8 100644 --- a/types/bunyan-logentries/tsconfig.json +++ b/types/bunyan-logentries/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bunyan-prettystream/tsconfig.json b/types/bunyan-prettystream/tsconfig.json index 681f08207f..ac589169ba 100644 --- a/types/bunyan-prettystream/tsconfig.json +++ b/types/bunyan-prettystream/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bunyan-winston-adapter/tsconfig.json b/types/bunyan-winston-adapter/tsconfig.json index 7185731caf..7278f5ac72 100644 --- a/types/bunyan-winston-adapter/tsconfig.json +++ b/types/bunyan-winston-adapter/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "bunyan-winston-adapter-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/bunyan/tsconfig.json b/types/bunyan/tsconfig.json index 9564bbdbc9..290ffc3a6d 100644 --- a/types/bunyan/tsconfig.json +++ b/types/bunyan/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/busboy/tsconfig.json b/types/busboy/tsconfig.json index 1879cda2a9..6e60377b23 100644 --- a/types/busboy/tsconfig.json +++ b/types/busboy/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/business-rules-engine/tsconfig.json b/types/business-rules-engine/tsconfig.json index a80b05099b..385150055b 100644 --- a/types/business-rules-engine/tsconfig.json +++ b/types/business-rules-engine/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/bwip-js/tsconfig.json b/types/bwip-js/tsconfig.json index 9c80d3dd4a..c421a4a7b6 100644 --- a/types/bwip-js/tsconfig.json +++ b/types/bwip-js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/byline/tsconfig.json b/types/byline/tsconfig.json index 1b19defc70..f21fc8983d 100644 --- a/types/byline/tsconfig.json +++ b/types/byline/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bytebuffer/tsconfig.json b/types/bytebuffer/tsconfig.json index 4c483ce2a5..5fdc833e9b 100644 --- a/types/bytebuffer/tsconfig.json +++ b/types/bytebuffer/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bytes/tsconfig.json b/types/bytes/tsconfig.json index 49c5cc8c74..4de1fdb57a 100644 --- a/types/bytes/tsconfig.json +++ b/types/bytes/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/c3/tsconfig.json b/types/c3/tsconfig.json index e94921ceb7..fe3b00c503 100644 --- a/types/c3/tsconfig.json +++ b/types/c3/tsconfig.json @@ -8,13 +8,16 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" ], "types": [], "paths": { - "d3": ["d3/v3"] + "d3": [ + "d3/v3" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/cache-manager/tsconfig.json b/types/cache-manager/tsconfig.json index 522fd22794..f754de4a67 100644 --- a/types/cache-manager/tsconfig.json +++ b/types/cache-manager/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cachefactory/tsconfig.json b/types/cachefactory/tsconfig.json index f39484366b..2008da5619 100644 --- a/types/cachefactory/tsconfig.json +++ b/types/cachefactory/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cal-heatmap/tsconfig.json b/types/cal-heatmap/tsconfig.json index 7edf3d8067..ff8d65a2e2 100644 --- a/types/cal-heatmap/tsconfig.json +++ b/types/cal-heatmap/tsconfig.json @@ -8,13 +8,16 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "types": [], "paths": { - "d3": ["d3/v3"] + "d3": [ + "d3/v3" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/callsite/tsconfig.json b/types/callsite/tsconfig.json index cadb982eda..473c5c08fd 100644 --- a/types/callsite/tsconfig.json +++ b/types/callsite/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/callsites/tsconfig.json b/types/callsites/tsconfig.json index 68aca90ea3..010199b740 100644 --- a/types/callsites/tsconfig.json +++ b/types/callsites/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "callsites-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/calq/tsconfig.json b/types/calq/tsconfig.json index 3e0167d2a7..595f095f74 100644 --- a/types/calq/tsconfig.json +++ b/types/calq/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/camelcase-keys/tsconfig.json b/types/camelcase-keys/tsconfig.json index a0216c0338..f99870f8d9 100644 --- a/types/camelcase-keys/tsconfig.json +++ b/types/camelcase-keys/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/camelcase/tsconfig.json b/types/camelcase/tsconfig.json index a3fc596eb6..bcc1b505e1 100644 --- a/types/camelcase/tsconfig.json +++ b/types/camelcase/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "camelcase-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/camljs/tsconfig.json b/types/camljs/tsconfig.json index a606320418..5fbe5605e9 100644 --- a/types/camljs/tsconfig.json +++ b/types/camljs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/camo/tsconfig.json b/types/camo/tsconfig.json index 0e45c8b3f5..46a6a2814c 100644 --- a/types/camo/tsconfig.json +++ b/types/camo/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cannon/tsconfig.json b/types/cannon/tsconfig.json index a59be4d465..ca5618a8a0 100644 --- a/types/cannon/tsconfig.json +++ b/types/cannon/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/canvas-gauges/tsconfig.json b/types/canvas-gauges/tsconfig.json index f33b09f813..07055c34bb 100644 --- a/types/canvas-gauges/tsconfig.json +++ b/types/canvas-gauges/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/canvasjs/tsconfig.json b/types/canvasjs/tsconfig.json index 459ca95138..57f76052a9 100644 --- a/types/canvasjs/tsconfig.json +++ b/types/canvasjs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "canvasjs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/capitalize/tsconfig.json b/types/capitalize/tsconfig.json index d196ac1315..463b6ca645 100644 --- a/types/capitalize/tsconfig.json +++ b/types/capitalize/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/card-validator/tsconfig.json b/types/card-validator/tsconfig.json index a3e4d160e5..685e0c4bbe 100644 --- a/types/card-validator/tsconfig.json +++ b/types/card-validator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "card-validator-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cash/tsconfig.json b/types/cash/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/cash/tsconfig.json +++ b/types/cash/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/casperjs/tsconfig.json b/types/casperjs/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/casperjs/tsconfig.json +++ b/types/casperjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cassandra-driver/tsconfig.json b/types/cassandra-driver/tsconfig.json index 9793b9a1b1..e47bfd4444 100644 --- a/types/cassandra-driver/tsconfig.json +++ b/types/cassandra-driver/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/catbox/tsconfig.json b/types/catbox/tsconfig.json index b04177a675..feb19f81dc 100644 --- a/types/catbox/tsconfig.json +++ b/types/catbox/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "catbox-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cbor/tsconfig.json b/types/cbor/tsconfig.json index d9643467aa..199ead141d 100644 --- a/types/cbor/tsconfig.json +++ b/types/cbor/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ccap/tsconfig.json b/types/ccap/tsconfig.json index d1c1d4d626..e4fa68a956 100644 --- a/types/ccap/tsconfig.json +++ b/types/ccap/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "ccap-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/chai-arrays/tsconfig.json b/types/chai-arrays/tsconfig.json index a555dfb8e2..84b3de823b 100644 --- a/types/chai-arrays/tsconfig.json +++ b/types/chai-arrays/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "chai-arrays-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/chai-as-promised/tsconfig.json b/types/chai-as-promised/tsconfig.json index 71874931b3..2d1a15b6eb 100644 --- a/types/chai-as-promised/tsconfig.json +++ b/types/chai-as-promised/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "chai-as-promised-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/chai-datetime/tsconfig.json b/types/chai-datetime/tsconfig.json index 02fa4af994..93d28d082f 100644 --- a/types/chai-datetime/tsconfig.json +++ b/types/chai-datetime/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chai-dom/tsconfig.json b/types/chai-dom/tsconfig.json index 7580cc278e..8840510c78 100644 --- a/types/chai-dom/tsconfig.json +++ b/types/chai-dom/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chai-enzyme/tsconfig.json b/types/chai-enzyme/tsconfig.json index 772105a437..4b7cdcf075 100644 --- a/types/chai-enzyme/tsconfig.json +++ b/types/chai-enzyme/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chai-fuzzy/tsconfig.json b/types/chai-fuzzy/tsconfig.json index 0929562d02..c6254dc8d8 100644 --- a/types/chai-fuzzy/tsconfig.json +++ b/types/chai-fuzzy/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chai-http/tsconfig.json b/types/chai-http/tsconfig.json index a3b913d24f..3554b4ab09 100644 --- a/types/chai-http/tsconfig.json +++ b/types/chai-http/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chai-jest-snapshot/tsconfig.json b/types/chai-jest-snapshot/tsconfig.json index 32dea54632..ae15eb95a0 100644 --- a/types/chai-jest-snapshot/tsconfig.json +++ b/types/chai-jest-snapshot/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "chai-jest-snapshot-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/chai-jquery/tsconfig.json b/types/chai-jquery/tsconfig.json index ca1d1b88ab..b26a07d06d 100644 --- a/types/chai-jquery/tsconfig.json +++ b/types/chai-jquery/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chai-json-schema/tsconfig.json b/types/chai-json-schema/tsconfig.json index 80f35a1598..9c8408ae05 100644 --- a/types/chai-json-schema/tsconfig.json +++ b/types/chai-json-schema/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chai-oequal/tsconfig.json b/types/chai-oequal/tsconfig.json index 40e4a0b1bc..0e63915d75 100644 --- a/types/chai-oequal/tsconfig.json +++ b/types/chai-oequal/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chai-spies/tsconfig.json b/types/chai-spies/tsconfig.json index 86f86541d9..a439cf07a4 100644 --- a/types/chai-spies/tsconfig.json +++ b/types/chai-spies/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chai-string/tsconfig.json b/types/chai-string/tsconfig.json index 9bca70cbb8..1227af23ab 100644 --- a/types/chai-string/tsconfig.json +++ b/types/chai-string/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chai-subset/tsconfig.json b/types/chai-subset/tsconfig.json index 21d5108f1c..c79fad5e82 100644 --- a/types/chai-subset/tsconfig.json +++ b/types/chai-subset/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chai-things/tsconfig.json b/types/chai-things/tsconfig.json index e426da66a1..84e31abe2f 100644 --- a/types/chai-things/tsconfig.json +++ b/types/chai-things/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chai-xml/tsconfig.json b/types/chai-xml/tsconfig.json index f91b76a16c..95a0d68969 100644 --- a/types/chai-xml/tsconfig.json +++ b/types/chai-xml/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chai/tsconfig.json b/types/chai/tsconfig.json index 1e16e4cbf9..4e0c687060 100644 --- a/types/chai/tsconfig.json +++ b/types/chai/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chai/v2/tsconfig.json b/types/chai/v2/tsconfig.json index bc5f6dc588..927a017f3d 100644 --- a/types/chai/v2/tsconfig.json +++ b/types/chai/v2/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/chalk/tsconfig.json b/types/chalk/tsconfig.json index 7cf506fcc1..13ab93883b 100644 --- a/types/chalk/tsconfig.json +++ b/types/chalk/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chance/tsconfig.json b/types/chance/tsconfig.json index 86e165072d..f05e6076cc 100644 --- a/types/chance/tsconfig.json +++ b/types/chance/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/change-emitter/tsconfig.json b/types/change-emitter/tsconfig.json index c009c08554..208441aafa 100644 --- a/types/change-emitter/tsconfig.json +++ b/types/change-emitter/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/charm/tsconfig.json b/types/charm/tsconfig.json index e8bb4426f8..40eba0a076 100644 --- a/types/charm/tsconfig.json +++ b/types/charm/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chart.js/tsconfig.json b/types/chart.js/tsconfig.json index aae63d6394..3b5b6bffed 100644 --- a/types/chart.js/tsconfig.json +++ b/types/chart.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chartist/tsconfig.json b/types/chartist/tsconfig.json index ee8ba7d34f..afe951be86 100644 --- a/types/chartist/tsconfig.json +++ b/types/chartist/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chartjs/tsconfig.json b/types/chartjs/tsconfig.json index 6523e4bd77..17d7edaf2a 100644 --- a/types/chartjs/tsconfig.json +++ b/types/chartjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chayns/tsconfig.json b/types/chayns/tsconfig.json index 99d0599998..4ac301174a 100644 --- a/types/chayns/tsconfig.json +++ b/types/chayns/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "chayns-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/check-sum/tsconfig.json b/types/check-sum/tsconfig.json index 2143ca3bd6..5d2955a50f 100644 --- a/types/check-sum/tsconfig.json +++ b/types/check-sum/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "check-sum-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/checkstyle-formatter/tsconfig.json b/types/checkstyle-formatter/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/checkstyle-formatter/tsconfig.json +++ b/types/checkstyle-formatter/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/checksum/tsconfig.json b/types/checksum/tsconfig.json index 9fe2d44312..21e5de17ab 100644 --- a/types/checksum/tsconfig.json +++ b/types/checksum/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cheerio/tsconfig.json b/types/cheerio/tsconfig.json index d046b455e6..63c3aed57c 100644 --- a/types/cheerio/tsconfig.json +++ b/types/cheerio/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chmodr/tsconfig.json b/types/chmodr/tsconfig.json index 5aa0c9aac2..44e07784ac 100644 --- a/types/chmodr/tsconfig.json +++ b/types/chmodr/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "chmodr-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/chocolatechipjs/tsconfig.json b/types/chocolatechipjs/tsconfig.json index a94278ac9e..d56dd67e2d 100644 --- a/types/chocolatechipjs/tsconfig.json +++ b/types/chocolatechipjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chokidar/tsconfig.json b/types/chokidar/tsconfig.json index 8782979f09..77a34a3964 100644 --- a/types/chokidar/tsconfig.json +++ b/types/chokidar/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chosen-js/tsconfig.json b/types/chosen-js/tsconfig.json index 1e2148076b..9f4ce049cb 100644 --- a/types/chosen-js/tsconfig.json +++ b/types/chosen-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chownr/tsconfig.json b/types/chownr/tsconfig.json index 587c9ef8f8..7b20bfde66 100644 --- a/types/chownr/tsconfig.json +++ b/types/chownr/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "chownr-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/chroma-js/tsconfig.json b/types/chroma-js/tsconfig.json index 66384ba080..af142ac45e 100644 --- a/types/chroma-js/tsconfig.json +++ b/types/chroma-js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/chroma-js/v0/tsconfig.json b/types/chroma-js/v0/tsconfig.json index 691743104e..93226eedaf 100644 --- a/types/chroma-js/v0/tsconfig.json +++ b/types/chroma-js/v0/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/chrome/tsconfig.json b/types/chrome/tsconfig.json index 96c0c31496..de1fde90ca 100644 --- a/types/chrome/tsconfig.json +++ b/types/chrome/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -23,4 +24,4 @@ "test/index.ts", "test/chrome-app.ts" ] -} +} \ No newline at end of file diff --git a/types/chui/tsconfig.json b/types/chui/tsconfig.json index 08c1f7740e..5463478868 100644 --- a/types/chui/tsconfig.json +++ b/types/chui/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -25,4 +26,4 @@ "index.d.ts", "chui-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/chunked-dc/tsconfig.json b/types/chunked-dc/tsconfig.json index 55832d5160..28dc51c3c3 100644 --- a/types/chunked-dc/tsconfig.json +++ b/types/chunked-dc/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/circular-json/tsconfig.json b/types/circular-json/tsconfig.json index cdb4636702..65bd131757 100644 --- a/types/circular-json/tsconfig.json +++ b/types/circular-json/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ckeditor/tsconfig.json b/types/ckeditor/tsconfig.json index 49fc367e30..e845e96c0a 100644 --- a/types/ckeditor/tsconfig.json +++ b/types/ckeditor/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/clamp-js/tsconfig.json b/types/clamp-js/tsconfig.json index f70837d86f..d858957f4b 100644 --- a/types/clamp-js/tsconfig.json +++ b/types/clamp-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "clamp-js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/classnames/tsconfig.json b/types/classnames/tsconfig.json index bb39a9d874..f9b03432fc 100644 --- a/types/classnames/tsconfig.json +++ b/types/classnames/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "bind.d.ts", "classnames-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cldrjs/tsconfig.json b/types/cldrjs/tsconfig.json index e3260d69a7..b17ea4c0a9 100644 --- a/types/cldrjs/tsconfig.json +++ b/types/cldrjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/clean-css/tsconfig.json b/types/clean-css/tsconfig.json index bf5cc0f80c..fe65b21c11 100644 --- a/types/clean-css/tsconfig.json +++ b/types/clean-css/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/clean-stack/tsconfig.json b/types/clean-stack/tsconfig.json index 79e1474200..e1fa33ac6c 100644 --- a/types/clean-stack/tsconfig.json +++ b/types/clean-stack/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "clean-stack-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/clear-require/tsconfig.json b/types/clear-require/tsconfig.json index 9c28741f0b..538fbe385e 100644 --- a/types/clear-require/tsconfig.json +++ b/types/clear-require/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "clear-require-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cli-color/tsconfig.json b/types/cli-color/tsconfig.json index b0fe194172..4e8bceb94b 100644 --- a/types/cli-color/tsconfig.json +++ b/types/cli-color/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cli-table2/tsconfig.json b/types/cli-table2/tsconfig.json index e816ba5105..4d5bea5b9d 100644 --- a/types/cli-table2/tsconfig.json +++ b/types/cli-table2/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cli/tsconfig.json b/types/cli/tsconfig.json index 8ba822df5e..2a1b78ae92 100644 --- a/types/cli/tsconfig.json +++ b/types/cli/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/client-sessions/tsconfig.json b/types/client-sessions/tsconfig.json index 151ca87623..c1556587bc 100644 --- a/types/client-sessions/tsconfig.json +++ b/types/client-sessions/tsconfig.json @@ -1,10 +1,13 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es6"], + "lib": [ + "es6" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -17,4 +20,4 @@ "index.d.ts", "client-sessions-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cliff/tsconfig.json b/types/cliff/tsconfig.json index d338d0b253..8c59f5c533 100644 --- a/types/cliff/tsconfig.json +++ b/types/cliff/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/clipboard-js/tsconfig.json b/types/clipboard-js/tsconfig.json index bb95836c8a..8927797525 100644 --- a/types/clipboard-js/tsconfig.json +++ b/types/clipboard-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/clipboard/tsconfig.json b/types/clipboard/tsconfig.json index f1033c0218..5d960d2fd4 100644 --- a/types/clipboard/tsconfig.json +++ b/types/clipboard/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/clipboardy/tsconfig.json b/types/clipboardy/tsconfig.json index 455154a1d2..6d6bfcc76a 100644 --- a/types/clipboardy/tsconfig.json +++ b/types/clipboardy/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "clipboardy-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/clndr/tsconfig.json b/types/clndr/tsconfig.json index 47e9476079..df25d1b075 100644 --- a/types/clndr/tsconfig.json +++ b/types/clndr/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "clndr-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/clone/tsconfig.json b/types/clone/tsconfig.json index 3594995add..65bd178331 100644 --- a/types/clone/tsconfig.json +++ b/types/clone/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/closure-compiler/tsconfig.json b/types/closure-compiler/tsconfig.json index c5b91de6be..4a15360b18 100644 --- a/types/closure-compiler/tsconfig.json +++ b/types/closure-compiler/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cloud-env/tsconfig.json b/types/cloud-env/tsconfig.json index e6a1323629..0972bef4e5 100644 --- a/types/cloud-env/tsconfig.json +++ b/types/cloud-env/tsconfig.json @@ -1,19 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "lib": ["es6"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": ["../"], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "cloud-env-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "cloud-env-tests.ts" + ] +} \ No newline at end of file diff --git a/types/cloudflare-apps/tsconfig.json b/types/cloudflare-apps/tsconfig.json index 9f3ed2ece7..b521ed0aca 100644 --- a/types/cloudflare-apps/tsconfig.json +++ b/types/cloudflare-apps/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "forceConsistentCasingInFileNames": true, "jsx": "preserve" } -} +} \ No newline at end of file diff --git a/types/cls-hooked/tsconfig.json b/types/cls-hooked/tsconfig.json index d5fe6249f9..2e4da612f6 100644 --- a/types/cls-hooked/tsconfig.json +++ b/types/cls-hooked/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "cls-hooked-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/co-body/tsconfig.json b/types/co-body/tsconfig.json index 32601a074a..295cfcd7cd 100644 --- a/types/co-body/tsconfig.json +++ b/types/co-body/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/co-views/tsconfig.json b/types/co-views/tsconfig.json index 5a319edbcf..8b129766a5 100644 --- a/types/co-views/tsconfig.json +++ b/types/co-views/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/code/tsconfig.json b/types/code/tsconfig.json index 78682fb6c2..ae86da199a 100644 --- a/types/code/tsconfig.json +++ b/types/code/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/codemirror/tsconfig.json b/types/codemirror/tsconfig.json index af9dc54023..2ff349d98e 100644 --- a/types/codemirror/tsconfig.json +++ b/types/codemirror/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/codependency/tsconfig.json b/types/codependency/tsconfig.json index 2966809543..990aecea5d 100644 --- a/types/codependency/tsconfig.json +++ b/types/codependency/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/coffeeify/tsconfig.json b/types/coffeeify/tsconfig.json index 35cd981884..0ed14ee2f2 100644 --- a/types/coffeeify/tsconfig.json +++ b/types/coffeeify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/coinstring/tsconfig.json b/types/coinstring/tsconfig.json index 02daf5871a..43ca980dbb 100644 --- a/types/coinstring/tsconfig.json +++ b/types/coinstring/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/collections/tsconfig.json b/types/collections/tsconfig.json index e547d4914d..466c5b12c4 100644 --- a/types/collections/tsconfig.json +++ b/types/collections/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "collections-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "collections-tests.ts" + ] } \ No newline at end of file diff --git a/types/color-convert/tsconfig.json b/types/color-convert/tsconfig.json index 70b4bd0fd9..52c14017a1 100644 --- a/types/color-convert/tsconfig.json +++ b/types/color-convert/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "route.d.ts", "color-convert-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/color-name/tsconfig.json b/types/color-name/tsconfig.json index 30cfb50814..56777b5a12 100644 --- a/types/color-name/tsconfig.json +++ b/types/color-name/tsconfig.json @@ -10,11 +10,14 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "types": [], - "typeRoots": ["../"] + "typeRoots": [ + "../" + ] }, "files": [ "index.d.ts", "color-name-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/color-string/tsconfig.json b/types/color-string/tsconfig.json index bf5a829c6e..27f7f9f5f1 100644 --- a/types/color-string/tsconfig.json +++ b/types/color-string/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "color-string-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/color/tsconfig.json b/types/color/tsconfig.json index 77175286b3..0924b02ae0 100644 --- a/types/color/tsconfig.json +++ b/types/color/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "color-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/color/v0/tsconfig.json b/types/color/v0/tsconfig.json index 6039458199..73f49d6375 100644 --- a/types/color/v0/tsconfig.json +++ b/types/color/v0/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/color/v1/tsconfig.json b/types/color/v1/tsconfig.json index 66541f0172..8d8204cf87 100644 --- a/types/color/v1/tsconfig.json +++ b/types/color/v1/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" @@ -24,4 +25,4 @@ "index.d.ts", "color-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/colorbrewer/tsconfig.json b/types/colorbrewer/tsconfig.json index 7adac10930..561a5d114e 100644 --- a/types/colorbrewer/tsconfig.json +++ b/types/colorbrewer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/colors/tsconfig.json b/types/colors/tsconfig.json index 2455a21c79..d935a49e18 100644 --- a/types/colors/tsconfig.json +++ b/types/colors/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/com.darktalker.cordova.screenshot/tsconfig.json b/types/com.darktalker.cordova.screenshot/tsconfig.json index b9e395e7c0..d2b5aabb00 100644 --- a/types/com.darktalker.cordova.screenshot/tsconfig.json +++ b/types/com.darktalker.cordova.screenshot/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/combine-source-map/tsconfig.json b/types/combine-source-map/tsconfig.json index 8ee6b85743..dfb725b738 100644 --- a/types/combine-source-map/tsconfig.json +++ b/types/combine-source-map/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/combined-stream/tsconfig.json b/types/combined-stream/tsconfig.json index e1986a21be..bc69eb2505 100644 --- a/types/combined-stream/tsconfig.json +++ b/types/combined-stream/tsconfig.json @@ -1,10 +1,13 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es6"], + "lib": [ + "es6" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -17,4 +20,4 @@ "index.d.ts", "combined-stream-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/combokeys/tsconfig.json b/types/combokeys/tsconfig.json index 17af434c7d..b1fecec3b7 100644 --- a/types/combokeys/tsconfig.json +++ b/types/combokeys/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cometd/tsconfig.json b/types/cometd/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/cometd/tsconfig.json +++ b/types/cometd/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/command-line-args/tsconfig.json b/types/command-line-args/tsconfig.json index 2f22f95af1..92c02160ae 100644 --- a/types/command-line-args/tsconfig.json +++ b/types/command-line-args/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/command-line-commands/tsconfig.json b/types/command-line-commands/tsconfig.json index 5d98c64e58..fd8670e4a1 100644 --- a/types/command-line-commands/tsconfig.json +++ b/types/command-line-commands/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/commander/tsconfig.json b/types/commander/tsconfig.json index 0db54c9488..dcb92cc920 100644 --- a/types/commander/tsconfig.json +++ b/types/commander/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/commangular/tsconfig.json b/types/commangular/tsconfig.json index 1491e780c2..bd900bd300 100644 --- a/types/commangular/tsconfig.json +++ b/types/commangular/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/comment-json/tsconfig.json b/types/comment-json/tsconfig.json index 314e9c0143..0745d1cfc0 100644 --- a/types/comment-json/tsconfig.json +++ b/types/comment-json/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/common-tags/tsconfig.json b/types/common-tags/tsconfig.json index 29c1a44652..21158de285 100644 --- a/types/common-tags/tsconfig.json +++ b/types/common-tags/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/commonmark/tsconfig.json b/types/commonmark/tsconfig.json index 82e3004b78..682d69fed4 100644 --- a/types/commonmark/tsconfig.json +++ b/types/commonmark/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "commonmark-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/compare-version/tsconfig.json b/types/compare-version/tsconfig.json index fd75d47da6..5dcb7c3156 100644 --- a/types/compare-version/tsconfig.json +++ b/types/compare-version/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/complex/tsconfig.json b/types/complex/tsconfig.json index c4a5dfc9f8..b8a54e716a 100644 --- a/types/complex/tsconfig.json +++ b/types/complex/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/component-emitter/tsconfig.json b/types/component-emitter/tsconfig.json index 265fa2d955..71ded6be82 100644 --- a/types/component-emitter/tsconfig.json +++ b/types/component-emitter/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/compose-function/tsconfig.json b/types/compose-function/tsconfig.json index fd6529f97c..cdbf9e9709 100644 --- a/types/compose-function/tsconfig.json +++ b/types/compose-function/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/compressible/tsconfig.json b/types/compressible/tsconfig.json index fb011bf968..8e036c88d9 100644 --- a/types/compressible/tsconfig.json +++ b/types/compressible/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "compressible-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/compression-webpack-plugin/tsconfig.json b/types/compression-webpack-plugin/tsconfig.json index 70383d3658..b80c7a1977 100644 --- a/types/compression-webpack-plugin/tsconfig.json +++ b/types/compression-webpack-plugin/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "compression-webpack-plugin-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/compression/tsconfig.json b/types/compression/tsconfig.json index 8fef7d56d4..63ff5e3bc8 100644 --- a/types/compression/tsconfig.json +++ b/types/compression/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/concat-stream/tsconfig.json b/types/concat-stream/tsconfig.json index a02b39c8ce..20373a2de3 100644 --- a/types/concat-stream/tsconfig.json +++ b/types/concat-stream/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/concaveman/tsconfig.json b/types/concaveman/tsconfig.json index 99348e7ba6..6312321a70 100644 --- a/types/concaveman/tsconfig.json +++ b/types/concaveman/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/conf/tsconfig.json b/types/conf/tsconfig.json index d165e88ea2..84d6bf7657 100644 --- a/types/conf/tsconfig.json +++ b/types/conf/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "conf-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/conf/v0/tsconfig.json b/types/conf/v0/tsconfig.json index 6047f464f4..004bd4a1b5 100644 --- a/types/conf/v0/tsconfig.json +++ b/types/conf/v0/tsconfig.json @@ -8,12 +8,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "conf": ["conf/v0"] + "conf": [ + "conf/v0" + ] }, "types": [], "noEmit": true, @@ -23,4 +26,4 @@ "index.d.ts", "conf-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/confidence/tsconfig.json b/types/confidence/tsconfig.json index 3032693704..8996cbd660 100644 --- a/types/confidence/tsconfig.json +++ b/types/confidence/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/config/tsconfig.json b/types/config/tsconfig.json index 8ebae968ac..a595ffb10c 100644 --- a/types/config/tsconfig.json +++ b/types/config/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/configstore/tsconfig.json b/types/configstore/tsconfig.json index 2bff288f39..8479846189 100644 --- a/types/configstore/tsconfig.json +++ b/types/configstore/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/confit/tsconfig.json b/types/confit/tsconfig.json index fb3580f31f..6d141ea715 100644 --- a/types/confit/tsconfig.json +++ b/types/confit/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/connect-ensure-login/tsconfig.json b/types/connect-ensure-login/tsconfig.json index 1440c86913..95f39e8bf0 100644 --- a/types/connect-ensure-login/tsconfig.json +++ b/types/connect-ensure-login/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "connect-ensure-login-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/connect-flash/tsconfig.json b/types/connect-flash/tsconfig.json index a89c345bee..0d8c04c7de 100644 --- a/types/connect-flash/tsconfig.json +++ b/types/connect-flash/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/connect-history-api-fallback/tsconfig.json b/types/connect-history-api-fallback/tsconfig.json index 124c7dc340..ad8919e94e 100644 --- a/types/connect-history-api-fallback/tsconfig.json +++ b/types/connect-history-api-fallback/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "connect-history-api-fallback-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/connect-livereload/tsconfig.json b/types/connect-livereload/tsconfig.json index f8574cb409..599ea294bf 100644 --- a/types/connect-livereload/tsconfig.json +++ b/types/connect-livereload/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/connect-modrewrite/tsconfig.json b/types/connect-modrewrite/tsconfig.json index 63cf878ef5..235df5d93e 100644 --- a/types/connect-modrewrite/tsconfig.json +++ b/types/connect-modrewrite/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/connect-mongo/tsconfig.json b/types/connect-mongo/tsconfig.json index 7cf4cc0975..c352be5580 100644 --- a/types/connect-mongo/tsconfig.json +++ b/types/connect-mongo/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/connect-pg-simple/tsconfig.json b/types/connect-pg-simple/tsconfig.json index d192ede32f..ed22faf257 100644 --- a/types/connect-pg-simple/tsconfig.json +++ b/types/connect-pg-simple/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "connect-pg-simple-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/connect-redis/tsconfig.json b/types/connect-redis/tsconfig.json index ebbef60825..b47af7235d 100644 --- a/types/connect-redis/tsconfig.json +++ b/types/connect-redis/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/connect-slashes/tsconfig.json b/types/connect-slashes/tsconfig.json index cceb646faf..18eed04f1a 100644 --- a/types/connect-slashes/tsconfig.json +++ b/types/connect-slashes/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/connect-timeout/tsconfig.json b/types/connect-timeout/tsconfig.json index 52eff5e6b3..79082f279a 100644 --- a/types/connect-timeout/tsconfig.json +++ b/types/connect-timeout/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/connect/tsconfig.json b/types/connect/tsconfig.json index f0bf140567..bcd813bc77 100644 --- a/types/connect/tsconfig.json +++ b/types/connect/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/console-stamp/tsconfig.json b/types/console-stamp/tsconfig.json index a8ba0aae9b..e4112e2035 100644 --- a/types/console-stamp/tsconfig.json +++ b/types/console-stamp/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/consolidate/tsconfig.json b/types/consolidate/tsconfig.json index c03c07a3a9..aab02b23e5 100644 --- a/types/consolidate/tsconfig.json +++ b/types/consolidate/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "consolidate-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/consul/tsconfig.json b/types/consul/tsconfig.json index 96f66d5c7d..9401826c02 100644 --- a/types/consul/tsconfig.json +++ b/types/consul/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/content-disposition/tsconfig.json b/types/content-disposition/tsconfig.json index 459ad4c307..25125c4ab6 100644 --- a/types/content-disposition/tsconfig.json +++ b/types/content-disposition/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/content-type/tsconfig.json b/types/content-type/tsconfig.json index 3361989225..139851cbde 100644 --- a/types/content-type/tsconfig.json +++ b/types/content-type/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "content-type-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/contentful-resolve-response/tsconfig.json b/types/contentful-resolve-response/tsconfig.json index 04b6576fee..f15c47db0a 100644 --- a/types/contentful-resolve-response/tsconfig.json +++ b/types/contentful-resolve-response/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/contextjs/tsconfig.json b/types/contextjs/tsconfig.json index f307972922..3054b8f3ca 100644 --- a/types/contextjs/tsconfig.json +++ b/types/contextjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/continuation-local-storage/tsconfig.json b/types/continuation-local-storage/tsconfig.json index 0bf318d3e8..f1305a49af 100644 --- a/types/continuation-local-storage/tsconfig.json +++ b/types/continuation-local-storage/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "continuation-local-storage-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/convert-hrtime/tsconfig.json b/types/convert-hrtime/tsconfig.json index 08efd1ab39..9d2b304763 100644 --- a/types/convert-hrtime/tsconfig.json +++ b/types/convert-hrtime/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "convert-hrtime-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/convert-layout/tsconfig.json b/types/convert-layout/tsconfig.json index 6f4bf50c1d..6e40f2f030 100644 --- a/types/convert-layout/tsconfig.json +++ b/types/convert-layout/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -26,4 +27,4 @@ "uk.d.ts", "convert-layout-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/convert-source-map/tsconfig.json b/types/convert-source-map/tsconfig.json index 4e5ff0aa9f..a9125c586c 100644 --- a/types/convert-source-map/tsconfig.json +++ b/types/convert-source-map/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/convict/tsconfig.json b/types/convict/tsconfig.json index 9c86c0db34..75e1402283 100644 --- a/types/convict/tsconfig.json +++ b/types/convict/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cookie-parser/tsconfig.json b/types/cookie-parser/tsconfig.json index 3eb1356a9d..20cf8359b5 100644 --- a/types/cookie-parser/tsconfig.json +++ b/types/cookie-parser/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cookie-session/tsconfig.json b/types/cookie-session/tsconfig.json index 14e5bffe19..bacf93c9f4 100644 --- a/types/cookie-session/tsconfig.json +++ b/types/cookie-session/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cookie-signature/tsconfig.json b/types/cookie-signature/tsconfig.json index 57344e816a..38aab055c7 100644 --- a/types/cookie-signature/tsconfig.json +++ b/types/cookie-signature/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "cookie-signature-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cookie/tsconfig.json b/types/cookie/tsconfig.json index 3a3a4b60f9..f1a68c4f57 100644 --- a/types/cookie/tsconfig.json +++ b/types/cookie/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cookie_js/tsconfig.json b/types/cookie_js/tsconfig.json index 146b1adc25..d181ce7661 100644 --- a/types/cookie_js/tsconfig.json +++ b/types/cookie_js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "cookie_js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cookies/tsconfig.json b/types/cookies/tsconfig.json index cba6e21671..d7a17c23bc 100644 --- a/types/cookies/tsconfig.json +++ b/types/cookies/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/copy-paste/tsconfig.json b/types/copy-paste/tsconfig.json index 2995ec5145..7c78f81542 100644 --- a/types/copy-paste/tsconfig.json +++ b/types/copy-paste/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/copy-text-to-clipboard/tsconfig.json b/types/copy-text-to-clipboard/tsconfig.json index 71b4595292..2889d9fdc6 100644 --- a/types/copy-text-to-clipboard/tsconfig.json +++ b/types/copy-text-to-clipboard/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "copy-text-to-clipboard-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/copy-webpack-plugin/tsconfig.json b/types/copy-webpack-plugin/tsconfig.json index 6952c8998f..026508651e 100644 --- a/types/copy-webpack-plugin/tsconfig.json +++ b/types/copy-webpack-plugin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-ionic/tsconfig.json b/types/cordova-ionic/tsconfig.json index 9468064357..52153dc3a6 100644 --- a/types/cordova-ionic/tsconfig.json +++ b/types/cordova-ionic/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-app-version/tsconfig.json b/types/cordova-plugin-app-version/tsconfig.json index 1c9f396113..bf9fa4b727 100644 --- a/types/cordova-plugin-app-version/tsconfig.json +++ b/types/cordova-plugin-app-version/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "cordova-plugin-app-version-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "cordova-plugin-app-version-tests.ts" + ] } \ No newline at end of file diff --git a/types/cordova-plugin-background-mode/tsconfig.json b/types/cordova-plugin-background-mode/tsconfig.json index 40b785d13b..2f4b1be013 100644 --- a/types/cordova-plugin-background-mode/tsconfig.json +++ b/types/cordova-plugin-background-mode/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-badge/tsconfig.json b/types/cordova-plugin-badge/tsconfig.json index 5f6a71f137..1354c708fd 100644 --- a/types/cordova-plugin-badge/tsconfig.json +++ b/types/cordova-plugin-badge/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "cordova-plugin-badge-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cordova-plugin-battery-status/tsconfig.json b/types/cordova-plugin-battery-status/tsconfig.json index dc873349a3..0149bb419c 100644 --- a/types/cordova-plugin-battery-status/tsconfig.json +++ b/types/cordova-plugin-battery-status/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-ble-central/tsconfig.json b/types/cordova-plugin-ble-central/tsconfig.json index 82135ca8f7..84cd1205c3 100644 --- a/types/cordova-plugin-ble-central/tsconfig.json +++ b/types/cordova-plugin-ble-central/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-camera/tsconfig.json b/types/cordova-plugin-camera/tsconfig.json index e54cb67d89..267426a6fa 100644 --- a/types/cordova-plugin-camera/tsconfig.json +++ b/types/cordova-plugin-camera/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-canvascamera/tsconfig.json b/types/cordova-plugin-canvascamera/tsconfig.json index f4a291c106..dcc6bf63a2 100644 --- a/types/cordova-plugin-canvascamera/tsconfig.json +++ b/types/cordova-plugin-canvascamera/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "noEmit": true, "forceConsistentCasingInFileNames": true, "baseUrl": "../", diff --git a/types/cordova-plugin-contacts/tsconfig.json b/types/cordova-plugin-contacts/tsconfig.json index 76ef345600..6217f6ac02 100644 --- a/types/cordova-plugin-contacts/tsconfig.json +++ b/types/cordova-plugin-contacts/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-device-motion/tsconfig.json b/types/cordova-plugin-device-motion/tsconfig.json index 7330314961..ac897b5d8b 100644 --- a/types/cordova-plugin-device-motion/tsconfig.json +++ b/types/cordova-plugin-device-motion/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-device-name/tsconfig.json b/types/cordova-plugin-device-name/tsconfig.json index 5012f628be..c74e58b914 100644 --- a/types/cordova-plugin-device-name/tsconfig.json +++ b/types/cordova-plugin-device-name/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-device-orientation/tsconfig.json b/types/cordova-plugin-device-orientation/tsconfig.json index 8ffb719195..9b5d7a2f53 100644 --- a/types/cordova-plugin-device-orientation/tsconfig.json +++ b/types/cordova-plugin-device-orientation/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-device/tsconfig.json b/types/cordova-plugin-device/tsconfig.json index 3265c8b5b8..43170b45db 100644 --- a/types/cordova-plugin-device/tsconfig.json +++ b/types/cordova-plugin-device/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-dialogs/tsconfig.json b/types/cordova-plugin-dialogs/tsconfig.json index 1f11e8d304..0f12ab4850 100644 --- a/types/cordova-plugin-dialogs/tsconfig.json +++ b/types/cordova-plugin-dialogs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-email-composer/tsconfig.json b/types/cordova-plugin-email-composer/tsconfig.json index c01c309dc3..9de9930ed1 100644 --- a/types/cordova-plugin-email-composer/tsconfig.json +++ b/types/cordova-plugin-email-composer/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-file-opener2/tsconfig.json b/types/cordova-plugin-file-opener2/tsconfig.json index b9b71ec9e2..0b84dfe84e 100644 --- a/types/cordova-plugin-file-opener2/tsconfig.json +++ b/types/cordova-plugin-file-opener2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "cordova-plugin-file-opener2-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cordova-plugin-file-transfer/tsconfig.json b/types/cordova-plugin-file-transfer/tsconfig.json index 558186b6a7..eaa8a05e18 100644 --- a/types/cordova-plugin-file-transfer/tsconfig.json +++ b/types/cordova-plugin-file-transfer/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-file/tsconfig.json b/types/cordova-plugin-file/tsconfig.json index c735f5876b..f855076e2a 100644 --- a/types/cordova-plugin-file/tsconfig.json +++ b/types/cordova-plugin-file/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-globalization/tsconfig.json b/types/cordova-plugin-globalization/tsconfig.json index d9317cc455..8455c229c3 100644 --- a/types/cordova-plugin-globalization/tsconfig.json +++ b/types/cordova-plugin-globalization/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-ibeacon/tsconfig.json b/types/cordova-plugin-ibeacon/tsconfig.json index af70edc7f5..ba0aa9b7cf 100644 --- a/types/cordova-plugin-ibeacon/tsconfig.json +++ b/types/cordova-plugin-ibeacon/tsconfig.json @@ -8,12 +8,15 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/cordova-plugin-inappbrowser/tsconfig.json b/types/cordova-plugin-inappbrowser/tsconfig.json index aea375a6ca..ff0151160c 100644 --- a/types/cordova-plugin-inappbrowser/tsconfig.json +++ b/types/cordova-plugin-inappbrowser/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "cordova-plugin-inappbrowser-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cordova-plugin-insomnia/tsconfig.json b/types/cordova-plugin-insomnia/tsconfig.json index 27dec59de9..9704e7c020 100644 --- a/types/cordova-plugin-insomnia/tsconfig.json +++ b/types/cordova-plugin-insomnia/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-keyboard/tsconfig.json b/types/cordova-plugin-keyboard/tsconfig.json index d5003a2452..730b84c530 100644 --- a/types/cordova-plugin-keyboard/tsconfig.json +++ b/types/cordova-plugin-keyboard/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-mapsforge/tsconfig.json b/types/cordova-plugin-mapsforge/tsconfig.json index 47574a27f4..2be513a0d3 100644 --- a/types/cordova-plugin-mapsforge/tsconfig.json +++ b/types/cordova-plugin-mapsforge/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-media-capture/tsconfig.json b/types/cordova-plugin-media-capture/tsconfig.json index 06cb2a424f..5f87c5709a 100644 --- a/types/cordova-plugin-media-capture/tsconfig.json +++ b/types/cordova-plugin-media-capture/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-media/tsconfig.json b/types/cordova-plugin-media/tsconfig.json index 75eb223a75..8399ccf964 100644 --- a/types/cordova-plugin-media/tsconfig.json +++ b/types/cordova-plugin-media/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-ms-adal/tsconfig.json b/types/cordova-plugin-ms-adal/tsconfig.json index fb114e9983..9ebb3fca10 100644 --- a/types/cordova-plugin-ms-adal/tsconfig.json +++ b/types/cordova-plugin-ms-adal/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-native-keyboard/tsconfig.json b/types/cordova-plugin-native-keyboard/tsconfig.json index 4309b2406b..72ec2f6371 100644 --- a/types/cordova-plugin-native-keyboard/tsconfig.json +++ b/types/cordova-plugin-native-keyboard/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "cordova-plugin-native-keyboard-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cordova-plugin-network-information/tsconfig.json b/types/cordova-plugin-network-information/tsconfig.json index 8e10e94b39..2ffebf9678 100644 --- a/types/cordova-plugin-network-information/tsconfig.json +++ b/types/cordova-plugin-network-information/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-ouralabs/tsconfig.json b/types/cordova-plugin-ouralabs/tsconfig.json index 6f49ddee6d..2cbd8ea053 100644 --- a/types/cordova-plugin-ouralabs/tsconfig.json +++ b/types/cordova-plugin-ouralabs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-qrscanner/tsconfig.json b/types/cordova-plugin-qrscanner/tsconfig.json index bb4c00016f..e2ef38fa17 100644 --- a/types/cordova-plugin-qrscanner/tsconfig.json +++ b/types/cordova-plugin-qrscanner/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-spinner/tsconfig.json b/types/cordova-plugin-spinner/tsconfig.json index 71540baad3..19ec9b294f 100644 --- a/types/cordova-plugin-spinner/tsconfig.json +++ b/types/cordova-plugin-spinner/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-splashscreen/tsconfig.json b/types/cordova-plugin-splashscreen/tsconfig.json index 20313323c0..cc4a7f28c5 100644 --- a/types/cordova-plugin-splashscreen/tsconfig.json +++ b/types/cordova-plugin-splashscreen/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-statusbar/tsconfig.json b/types/cordova-plugin-statusbar/tsconfig.json index 0518e44a96..2b6c772083 100644 --- a/types/cordova-plugin-statusbar/tsconfig.json +++ b/types/cordova-plugin-statusbar/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-vibration/tsconfig.json b/types/cordova-plugin-vibration/tsconfig.json index 0ea0850540..679fc97d2d 100644 --- a/types/cordova-plugin-vibration/tsconfig.json +++ b/types/cordova-plugin-vibration/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-websql/tsconfig.json b/types/cordova-plugin-websql/tsconfig.json index 190c2aa2fb..db8d59bbe6 100644 --- a/types/cordova-plugin-websql/tsconfig.json +++ b/types/cordova-plugin-websql/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-plugin-x-socialsharing/tsconfig.json b/types/cordova-plugin-x-socialsharing/tsconfig.json index 6dc2e352c9..e2c4bc63d9 100644 --- a/types/cordova-plugin-x-socialsharing/tsconfig.json +++ b/types/cordova-plugin-x-socialsharing/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova-sqlite-storage/tsconfig.json b/types/cordova-sqlite-storage/tsconfig.json index 45a90093e7..a9eb2af0ad 100644 --- a/types/cordova-sqlite-storage/tsconfig.json +++ b/types/cordova-sqlite-storage/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova.plugins.diagnostic/tsconfig.json b/types/cordova.plugins.diagnostic/tsconfig.json index 0c89cc0ff4..bb2cdc4dfd 100644 --- a/types/cordova.plugins.diagnostic/tsconfig.json +++ b/types/cordova.plugins.diagnostic/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova/tsconfig.json b/types/cordova/tsconfig.json index f6a6b7ae87..591c25a1bb 100644 --- a/types/cordova/tsconfig.json +++ b/types/cordova/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordova_app_version_plugin/tsconfig.json b/types/cordova_app_version_plugin/tsconfig.json index 62f656037c..2f439d4979 100644 --- a/types/cordova_app_version_plugin/tsconfig.json +++ b/types/cordova_app_version_plugin/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cordovarduino/tsconfig.json b/types/cordovarduino/tsconfig.json index e10237b685..cb0cf33a1a 100644 --- a/types/cordovarduino/tsconfig.json +++ b/types/cordovarduino/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/core-decorators/tsconfig.json b/types/core-decorators/tsconfig.json index 1c0b389c96..af573cbe86 100644 --- a/types/core-decorators/tsconfig.json +++ b/types/core-decorators/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "experimentalDecorators": true, "typeRoots": [ diff --git a/types/core-js/tsconfig.json b/types/core-js/tsconfig.json index 8c7007b563..a342d6c1bd 100644 --- a/types/core-js/tsconfig.json +++ b/types/core-js/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cors/tsconfig.json b/types/cors/tsconfig.json index 92608af1c2..e9e1db77eb 100644 --- a/types/cors/tsconfig.json +++ b/types/cors/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cote/tsconfig.json b/types/cote/tsconfig.json index 2f8460f53d..c25e78e090 100644 --- a/types/cote/tsconfig.json +++ b/types/cote/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "cote-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/couchbase/tsconfig.json b/types/couchbase/tsconfig.json index 42b654bc76..66ef360c2c 100644 --- a/types/couchbase/tsconfig.json +++ b/types/couchbase/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/countdown/tsconfig.json b/types/countdown/tsconfig.json index 13f9392c88..bf1074d820 100644 --- a/types/countdown/tsconfig.json +++ b/types/countdown/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/counterpart/tsconfig.json b/types/counterpart/tsconfig.json index 9f2ad836b7..1a771cd73c 100644 --- a/types/counterpart/tsconfig.json +++ b/types/counterpart/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "counterpart-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/countries-and-timezones/tsconfig.json b/types/countries-and-timezones/tsconfig.json index 8a5b341368..e5f7728b57 100644 --- a/types/countries-and-timezones/tsconfig.json +++ b/types/countries-and-timezones/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "countries-and-timezones-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/country-list/tsconfig.json b/types/country-list/tsconfig.json index dce3c4a287..30433764bf 100644 --- a/types/country-list/tsconfig.json +++ b/types/country-list/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "country-list-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/country-select-js/tsconfig.json b/types/country-select-js/tsconfig.json index 749b1b3af1..56cb852a6d 100644 --- a/types/country-select-js/tsconfig.json +++ b/types/country-select-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "country-select-js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cp-file/tsconfig.json b/types/cp-file/tsconfig.json index ab4eca94d8..12138d0002 100644 --- a/types/cp-file/tsconfig.json +++ b/types/cp-file/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "cp-file-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cpy/tsconfig.json b/types/cpy/tsconfig.json index 75f61a1e5d..90098461b2 100644 --- a/types/cpy/tsconfig.json +++ b/types/cpy/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "cpy-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cradle/tsconfig.json b/types/cradle/tsconfig.json index c4e14edbf5..694d713edf 100644 --- a/types/cradle/tsconfig.json +++ b/types/cradle/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/crc/tsconfig.json b/types/crc/tsconfig.json index 1cf7c2f4ff..96511b6609 100644 --- a/types/crc/tsconfig.json +++ b/types/crc/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/create-error/tsconfig.json b/types/create-error/tsconfig.json index 0483cd70bf..7ff8a82807 100644 --- a/types/create-error/tsconfig.json +++ b/types/create-error/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/createjs-lib/tsconfig.json b/types/createjs-lib/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/createjs-lib/tsconfig.json +++ b/types/createjs-lib/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/createjs/tsconfig.json b/types/createjs/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/createjs/tsconfig.json +++ b/types/createjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/credential/tsconfig.json b/types/credential/tsconfig.json index 627a597d83..fb8e758820 100644 --- a/types/credential/tsconfig.json +++ b/types/credential/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/credit-card-type/tsconfig.json b/types/credit-card-type/tsconfig.json index 350e87fba3..0a3b957a29 100644 --- a/types/credit-card-type/tsconfig.json +++ b/types/credit-card-type/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cron/tsconfig.json b/types/cron/tsconfig.json index 926752dcc8..19a72853db 100644 --- a/types/cron/tsconfig.json +++ b/types/cron/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cropperjs/tsconfig.json b/types/cropperjs/tsconfig.json index 4100fb8912..ea6b7edb26 100644 --- a/types/cropperjs/tsconfig.json +++ b/types/cropperjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/croppie/tsconfig.json b/types/croppie/tsconfig.json index 488e016fce..aa4a07017d 100644 --- a/types/croppie/tsconfig.json +++ b/types/croppie/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cross-storage/tsconfig.json b/types/cross-storage/tsconfig.json index 58cd7f5807..eb05417639 100644 --- a/types/cross-storage/tsconfig.json +++ b/types/cross-storage/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/crossfilter/tsconfig.json b/types/crossfilter/tsconfig.json index 4512ebdb3c..bc0573220f 100644 --- a/types/crossfilter/tsconfig.json +++ b/types/crossfilter/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/crossroads/tsconfig.json b/types/crossroads/tsconfig.json index 4560977b00..b948857129 100644 --- a/types/crossroads/tsconfig.json +++ b/types/crossroads/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cryptiles/tsconfig.json b/types/cryptiles/tsconfig.json index 2515c735a4..6ae78bacb4 100644 --- a/types/cryptiles/tsconfig.json +++ b/types/cryptiles/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "cryptiles-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/crypto-js/tsconfig.json b/types/crypto-js/tsconfig.json index 10865613d3..62ec3d1e40 100644 --- a/types/crypto-js/tsconfig.json +++ b/types/crypto-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -65,4 +66,4 @@ "pad-zeropadding/index.d.ts", "pad-nopadding/index.d.ts" ] -} +} \ No newline at end of file diff --git a/types/cryptojs/tsconfig.json b/types/cryptojs/tsconfig.json index 37c28e35d8..6747ffb9c5 100644 --- a/types/cryptojs/tsconfig.json +++ b/types/cryptojs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cson/tsconfig.json b/types/cson/tsconfig.json index dc01e869d3..a5ca0a8041 100644 --- a/types/cson/tsconfig.json +++ b/types/cson/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/csprng/tsconfig.json b/types/csprng/tsconfig.json index 0877c1ab25..b921bb3b7c 100644 --- a/types/csprng/tsconfig.json +++ b/types/csprng/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "csprng-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/csrf/tsconfig.json b/types/csrf/tsconfig.json index 658116154e..423d71f3c2 100644 --- a/types/csrf/tsconfig.json +++ b/types/csrf/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "csrf-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/css-font-loading-module/tsconfig.json b/types/css-font-loading-module/tsconfig.json index 7037164a1f..b45d115596 100644 --- a/types/css-font-loading-module/tsconfig.json +++ b/types/css-font-loading-module/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/css-modules-require-hook/tsconfig.json b/types/css-modules-require-hook/tsconfig.json index 3343450de2..e7f91df2f8 100644 --- a/types/css-modules-require-hook/tsconfig.json +++ b/types/css-modules-require-hook/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/css-modules/tsconfig.json b/types/css-modules/tsconfig.json index 40a428a927..e079616b1d 100644 --- a/types/css-modules/tsconfig.json +++ b/types/css-modules/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/css/tsconfig.json b/types/css/tsconfig.json index 5e942dfd7c..7a69ddb612 100644 --- a/types/css/tsconfig.json +++ b/types/css/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cssbeautify/tsconfig.json b/types/cssbeautify/tsconfig.json index 622328ac5d..a8c452dc97 100644 --- a/types/cssbeautify/tsconfig.json +++ b/types/cssbeautify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/csurf/tsconfig.json b/types/csurf/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/csurf/tsconfig.json +++ b/types/csurf/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/csv-parse/tsconfig.json b/types/csv-parse/tsconfig.json index b721ff4fe6..2b52f434a2 100644 --- a/types/csv-parse/tsconfig.json +++ b/types/csv-parse/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/csv-stringify/tsconfig.json b/types/csv-stringify/tsconfig.json index 12aac1d2a0..766e9c084e 100644 --- a/types/csv-stringify/tsconfig.json +++ b/types/csv-stringify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/csvtojson/tsconfig.json b/types/csvtojson/tsconfig.json index 81ec6a66a2..91b15a3856 100644 --- a/types/csvtojson/tsconfig.json +++ b/types/csvtojson/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "csvtojson-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cucumber/tsconfig.json b/types/cucumber/tsconfig.json index a2bd1c7023..e2f9cd081b 100644 --- a/types/cucumber/tsconfig.json +++ b/types/cucumber/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "cucumber-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cucumber/v1/tsconfig.json b/types/cucumber/v1/tsconfig.json index 3c64799f9a..343c701491 100644 --- a/types/cucumber/v1/tsconfig.json +++ b/types/cucumber/v1/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" @@ -28,4 +29,4 @@ "index.d.ts", "cucumber-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cuid/tsconfig.json b/types/cuid/tsconfig.json index 838a40b34e..6aebd0a158 100644 --- a/types/cuid/tsconfig.json +++ b/types/cuid/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/currency-formatter/tsconfig.json b/types/currency-formatter/tsconfig.json index 1b94e5fe16..47674cfe0d 100644 --- a/types/currency-formatter/tsconfig.json +++ b/types/currency-formatter/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/custom-error-generator/tsconfig.json b/types/custom-error-generator/tsconfig.json index 78356d1c2a..ab16a76d97 100644 --- a/types/custom-error-generator/tsconfig.json +++ b/types/custom-error-generator/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cwise-compiler/tsconfig.json b/types/cwise-compiler/tsconfig.json index a78923fa03..083c5f1666 100644 --- a/types/cwise-compiler/tsconfig.json +++ b/types/cwise-compiler/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "cwise-compiler-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cwise-parser/tsconfig.json b/types/cwise-parser/tsconfig.json index ce6c3c1355..226bb609fb 100644 --- a/types/cwise-parser/tsconfig.json +++ b/types/cwise-parser/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "cwise-parser-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/cwise/tsconfig.json b/types/cwise/tsconfig.json index f4aaf9b1a3..c1ea871113 100644 --- a/types/cwise/tsconfig.json +++ b/types/cwise/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "cwise-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "cwise-tests.ts" + ] } \ No newline at end of file diff --git a/types/cybozulabs-md5/tsconfig.json b/types/cybozulabs-md5/tsconfig.json index 2bfbaca631..a85459ac83 100644 --- a/types/cybozulabs-md5/tsconfig.json +++ b/types/cybozulabs-md5/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/cypress/tsconfig.json b/types/cypress/tsconfig.json index 6e61b09e60..93fcd9f8c2 100644 --- a/types/cypress/tsconfig.json +++ b/types/cypress/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "cypress-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/d3-array/tsconfig.json b/types/d3-array/tsconfig.json index b70f6aed80..a1dbb238ee 100644 --- a/types/d3-array/tsconfig.json +++ b/types/d3-array/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-axis/tsconfig.json b/types/d3-axis/tsconfig.json index 5a9af63a15..5b54d1f622 100644 --- a/types/d3-axis/tsconfig.json +++ b/types/d3-axis/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-box/tsconfig.json b/types/d3-box/tsconfig.json index 57c83445a9..d6411b9a05 100644 --- a/types/d3-box/tsconfig.json +++ b/types/d3-box/tsconfig.json @@ -8,13 +8,16 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "types": [], "paths": { - "d3": ["d3/v3"] + "d3": [ + "d3/v3" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/d3-brush/tsconfig.json b/types/d3-brush/tsconfig.json index 017b6001da..2aeb012361 100644 --- a/types/d3-brush/tsconfig.json +++ b/types/d3-brush/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-chord/tsconfig.json b/types/d3-chord/tsconfig.json index bac0f16968..eff4938f78 100644 --- a/types/d3-chord/tsconfig.json +++ b/types/d3-chord/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-collection/tsconfig.json b/types/d3-collection/tsconfig.json index e4870c413c..c2ae30cdbd 100644 --- a/types/d3-collection/tsconfig.json +++ b/types/d3-collection/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-color/tsconfig.json b/types/d3-color/tsconfig.json index 7237aab597..d783922755 100644 --- a/types/d3-color/tsconfig.json +++ b/types/d3-color/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-contour/tsconfig.json b/types/d3-contour/tsconfig.json index 4f9d0a8284..d367ee16c7 100644 --- a/types/d3-contour/tsconfig.json +++ b/types/d3-contour/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "d3-contour-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/d3-dispatch/tsconfig.json b/types/d3-dispatch/tsconfig.json index 236dac7276..b270a9c1a0 100644 --- a/types/d3-dispatch/tsconfig.json +++ b/types/d3-dispatch/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-drag/tsconfig.json b/types/d3-drag/tsconfig.json index 5974212b94..cb6cab8ba0 100644 --- a/types/d3-drag/tsconfig.json +++ b/types/d3-drag/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-dsv/tsconfig.json b/types/d3-dsv/tsconfig.json index 48d5f2eac6..82e3ef399f 100644 --- a/types/d3-dsv/tsconfig.json +++ b/types/d3-dsv/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-dsv/v0/tsconfig.json b/types/d3-dsv/v0/tsconfig.json index 87a2df205f..e0ae8b7a42 100644 --- a/types/d3-dsv/v0/tsconfig.json +++ b/types/d3-dsv/v0/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/d3-ease/tsconfig.json b/types/d3-ease/tsconfig.json index 9e26ce19f5..6d0831f1a5 100644 --- a/types/d3-ease/tsconfig.json +++ b/types/d3-ease/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-force/tsconfig.json b/types/d3-force/tsconfig.json index 699078ccdc..3d407406eb 100644 --- a/types/d3-force/tsconfig.json +++ b/types/d3-force/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-format/tsconfig.json b/types/d3-format/tsconfig.json index 8572936846..6017e0916f 100644 --- a/types/d3-format/tsconfig.json +++ b/types/d3-format/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-geo/tsconfig.json b/types/d3-geo/tsconfig.json index e342102139..f3661c3ad2 100644 --- a/types/d3-geo/tsconfig.json +++ b/types/d3-geo/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-hexbin/tsconfig.json b/types/d3-hexbin/tsconfig.json index f46c9e304b..773221263b 100644 --- a/types/d3-hexbin/tsconfig.json +++ b/types/d3-hexbin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-hierarchy/tsconfig.json b/types/d3-hierarchy/tsconfig.json index 93d3ad11b7..7fbc1fb5df 100644 --- a/types/d3-hierarchy/tsconfig.json +++ b/types/d3-hierarchy/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-hsv/tsconfig.json b/types/d3-hsv/tsconfig.json index 0f872942fe..c92ce346b2 100644 --- a/types/d3-hsv/tsconfig.json +++ b/types/d3-hsv/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-interpolate/tsconfig.json b/types/d3-interpolate/tsconfig.json index bc1aa2f903..14435aff3d 100644 --- a/types/d3-interpolate/tsconfig.json +++ b/types/d3-interpolate/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-path/tsconfig.json b/types/d3-path/tsconfig.json index f9a1e4e0b9..5f3fa1ca3e 100644 --- a/types/d3-path/tsconfig.json +++ b/types/d3-path/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-polygon/tsconfig.json b/types/d3-polygon/tsconfig.json index 2a955a7956..79bd8a43b8 100644 --- a/types/d3-polygon/tsconfig.json +++ b/types/d3-polygon/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-quadtree/tsconfig.json b/types/d3-quadtree/tsconfig.json index ee764403c4..cbbb70a658 100644 --- a/types/d3-quadtree/tsconfig.json +++ b/types/d3-quadtree/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-queue/tsconfig.json b/types/d3-queue/tsconfig.json index a565283a30..72f00c11e5 100644 --- a/types/d3-queue/tsconfig.json +++ b/types/d3-queue/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-random/tsconfig.json b/types/d3-random/tsconfig.json index f9544a0527..a8db248667 100644 --- a/types/d3-random/tsconfig.json +++ b/types/d3-random/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "d3-random-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/d3-request/tsconfig.json b/types/d3-request/tsconfig.json index c82a674e44..a52d00ffaa 100644 --- a/types/d3-request/tsconfig.json +++ b/types/d3-request/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-sankey/tsconfig.json b/types/d3-sankey/tsconfig.json index bd11293dc2..503145683b 100644 --- a/types/d3-sankey/tsconfig.json +++ b/types/d3-sankey/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "d3-sankey-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/d3-scale-chromatic/tsconfig.json b/types/d3-scale-chromatic/tsconfig.json index 090fd4f242..6dda07c981 100644 --- a/types/d3-scale-chromatic/tsconfig.json +++ b/types/d3-scale-chromatic/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-scale/tsconfig.json b/types/d3-scale/tsconfig.json index d6361411a4..4fb09e2d39 100644 --- a/types/d3-scale/tsconfig.json +++ b/types/d3-scale/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-selection-multi/tsconfig.json b/types/d3-selection-multi/tsconfig.json index b5ef37ac44..7344010335 100644 --- a/types/d3-selection-multi/tsconfig.json +++ b/types/d3-selection-multi/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-selection/tsconfig.json b/types/d3-selection/tsconfig.json index 0b437cdda7..9dea0e1226 100644 --- a/types/d3-selection/tsconfig.json +++ b/types/d3-selection/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-shape/tsconfig.json b/types/d3-shape/tsconfig.json index d80ba9d5f0..0436aafd66 100644 --- a/types/d3-shape/tsconfig.json +++ b/types/d3-shape/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-time-format/tsconfig.json b/types/d3-time-format/tsconfig.json index 2f6f2ab56a..8cdbe89fe0 100644 --- a/types/d3-time-format/tsconfig.json +++ b/types/d3-time-format/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-time/tsconfig.json b/types/d3-time/tsconfig.json index 37ad648870..963c0df157 100644 --- a/types/d3-time/tsconfig.json +++ b/types/d3-time/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-timer/tsconfig.json b/types/d3-timer/tsconfig.json index bd1369fa5d..f3af0c7d8e 100644 --- a/types/d3-timer/tsconfig.json +++ b/types/d3-timer/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-tip/tsconfig.json b/types/d3-tip/tsconfig.json index 8ac2d487e9..8bd5f064c9 100644 --- a/types/d3-tip/tsconfig.json +++ b/types/d3-tip/tsconfig.json @@ -8,13 +8,16 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "types": [], "paths": { - "d3": ["d3/v3"] + "d3": [ + "d3/v3" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/d3-transition/tsconfig.json b/types/d3-transition/tsconfig.json index ae927077dc..f23a386a94 100644 --- a/types/d3-transition/tsconfig.json +++ b/types/d3-transition/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-voronoi/tsconfig.json b/types/d3-voronoi/tsconfig.json index 473b2a139d..ada834dec3 100644 --- a/types/d3-voronoi/tsconfig.json +++ b/types/d3-voronoi/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3-zoom/tsconfig.json b/types/d3-zoom/tsconfig.json index 5513e1328f..ed184bf861 100644 --- a/types/d3-zoom/tsconfig.json +++ b/types/d3-zoom/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3.cloud.layout/tsconfig.json b/types/d3.cloud.layout/tsconfig.json index 39eb337ea0..ffb26214cc 100644 --- a/types/d3.cloud.layout/tsconfig.json +++ b/types/d3.cloud.layout/tsconfig.json @@ -8,13 +8,16 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" ], "types": [], "paths": { - "d3": ["d3/v3"] + "d3": [ + "d3/v3" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/d3.slider/tsconfig.json b/types/d3.slider/tsconfig.json index 48b49c9a2d..a2a0a2c0c7 100644 --- a/types/d3.slider/tsconfig.json +++ b/types/d3.slider/tsconfig.json @@ -8,13 +8,16 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "types": [], "paths": { - "d3": ["d3/v3"] + "d3": [ + "d3/v3" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/d3/tsconfig.json b/types/d3/tsconfig.json index 03db6e8b39..8ec0a8e64e 100644 --- a/types/d3/tsconfig.json +++ b/types/d3/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3/v3/tsconfig.json b/types/d3/v3/tsconfig.json index b6c46bd8cf..86747d9ded 100644 --- a/types/d3/v3/tsconfig.json +++ b/types/d3/v3/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/d3kit/tsconfig.json b/types/d3kit/tsconfig.json index e1c744e180..40e266f6f9 100644 --- a/types/d3kit/tsconfig.json +++ b/types/d3kit/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/d3kit/v1/tsconfig.json b/types/d3kit/v1/tsconfig.json index b44561f414..f2112d2661 100644 --- a/types/d3kit/v1/tsconfig.json +++ b/types/d3kit/v1/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/d3pie/tsconfig.json b/types/d3pie/tsconfig.json index 1861cb7f31..c654f02557 100644 --- a/types/d3pie/tsconfig.json +++ b/types/d3pie/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dagre-d3/tsconfig.json b/types/dagre-d3/tsconfig.json index 438fca5ff3..584a8cc848 100644 --- a/types/dagre-d3/tsconfig.json +++ b/types/dagre-d3/tsconfig.json @@ -8,13 +8,16 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "types": [], "paths": { - "d3": ["d3/v3"] + "d3": [ + "d3/v3" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/dagre-layout/tsconfig.json b/types/dagre-layout/tsconfig.json index 060af9fbc5..12bfb07f57 100644 --- a/types/dagre-layout/tsconfig.json +++ b/types/dagre-layout/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "dagre-layout-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/dagre/tsconfig.json b/types/dagre/tsconfig.json index 1a54cc4b6b..b5802bd42e 100644 --- a/types/dagre/tsconfig.json +++ b/types/dagre/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dargs/tsconfig.json b/types/dargs/tsconfig.json index fd5bee5051..88aef9d923 100644 --- a/types/dargs/tsconfig.json +++ b/types/dargs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "dargs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/dat-gui/tsconfig.json b/types/dat-gui/tsconfig.json index 038e9528ad..4961272694 100644 --- a/types/dat-gui/tsconfig.json +++ b/types/dat-gui/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/data-driven/tsconfig.json b/types/data-driven/tsconfig.json index 1215731ac2..7e3cb6a15c 100644 --- a/types/data-driven/tsconfig.json +++ b/types/data-driven/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/datadog-metrics/tsconfig.json b/types/datadog-metrics/tsconfig.json index fa2f86a32e..ca3613429a 100644 --- a/types/datadog-metrics/tsconfig.json +++ b/types/datadog-metrics/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "datadog-metrics-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/datatables.net-buttons/tsconfig.json b/types/datatables.net-buttons/tsconfig.json index 5e407ab2d8..3e8d4ce82c 100644 --- a/types/datatables.net-buttons/tsconfig.json +++ b/types/datatables.net-buttons/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/datatables.net-fixedheader/tsconfig.json b/types/datatables.net-fixedheader/tsconfig.json index e681e2d722..5c747aa854 100644 --- a/types/datatables.net-fixedheader/tsconfig.json +++ b/types/datatables.net-fixedheader/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/datatables.net-rowreorder/tsconfig.json b/types/datatables.net-rowreorder/tsconfig.json index c0b35cadfe..c16752cd22 100644 --- a/types/datatables.net-rowreorder/tsconfig.json +++ b/types/datatables.net-rowreorder/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/datatables.net-select/tsconfig.json b/types/datatables.net-select/tsconfig.json index 927e663144..50398d173e 100644 --- a/types/datatables.net-select/tsconfig.json +++ b/types/datatables.net-select/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/datatables.net/tsconfig.json b/types/datatables.net/tsconfig.json index b48881c33b..04972add17 100644 --- a/types/datatables.net/tsconfig.json +++ b/types/datatables.net/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/date.format.js/tsconfig.json b/types/date.format.js/tsconfig.json index 934970a7d4..a7a5e7f404 100644 --- a/types/date.format.js/tsconfig.json +++ b/types/date.format.js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dateformat/tsconfig.json b/types/dateformat/tsconfig.json index afd0e9fcaa..1c5fc06611 100644 --- a/types/dateformat/tsconfig.json +++ b/types/dateformat/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/datejs/tsconfig.json b/types/datejs/tsconfig.json index 853a92665e..5d17ca2da9 100644 --- a/types/datejs/tsconfig.json +++ b/types/datejs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/daterangepicker/tsconfig.json b/types/daterangepicker/tsconfig.json index 51177c8463..1ed4157bc7 100644 --- a/types/daterangepicker/tsconfig.json +++ b/types/daterangepicker/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/db-migrate-base/tsconfig.json b/types/db-migrate-base/tsconfig.json index 1460e014b5..f4c835bb88 100644 --- a/types/db-migrate-base/tsconfig.json +++ b/types/db-migrate-base/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/db-migrate-pg/tsconfig.json b/types/db-migrate-pg/tsconfig.json index edf3e0d8c1..c63efcd105 100644 --- a/types/db-migrate-pg/tsconfig.json +++ b/types/db-migrate-pg/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/db.js/tsconfig.json b/types/db.js/tsconfig.json index 456eee6635..75989af0b3 100644 --- a/types/db.js/tsconfig.json +++ b/types/db.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dc/tsconfig.json b/types/dc/tsconfig.json index d9a65d56dd..863d600736 100644 --- a/types/dc/tsconfig.json +++ b/types/dc/tsconfig.json @@ -12,13 +12,16 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "types": [], "paths": { - "d3": ["d3/v3"] + "d3": [ + "d3/v3" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/deasync/tsconfig.json b/types/deasync/tsconfig.json index 5b96318954..d61004bac3 100644 --- a/types/deasync/tsconfig.json +++ b/types/deasync/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "deasync-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/debessmann/tsconfig.json b/types/debessmann/tsconfig.json index 745457f1b5..b8b4c01d06 100644 --- a/types/debessmann/tsconfig.json +++ b/types/debessmann/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "debessmann-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/debounce/tsconfig.json b/types/debounce/tsconfig.json index 729b1c0024..bf08d46e44 100644 --- a/types/debounce/tsconfig.json +++ b/types/debounce/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/debug/tsconfig.json b/types/debug/tsconfig.json index 5788679d0f..7caca45f35 100644 --- a/types/debug/tsconfig.json +++ b/types/debug/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/decamelize/tsconfig.json b/types/decamelize/tsconfig.json index 31205a3949..54bea1b020 100644 --- a/types/decamelize/tsconfig.json +++ b/types/decamelize/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "decamelize-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/decay/tsconfig.json b/types/decay/tsconfig.json index 6169ec4e18..d35511f505 100644 --- a/types/decay/tsconfig.json +++ b/types/decay/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "decay-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/decimal.js/tsconfig.json b/types/decimal.js/tsconfig.json index dd07e5cf8b..e2474fecd5 100644 --- a/types/decimal.js/tsconfig.json +++ b/types/decimal.js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/decorum/tsconfig.json b/types/decorum/tsconfig.json index d8af61c395..82792e10c5 100644 --- a/types/decorum/tsconfig.json +++ b/types/decorum/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "experimentalDecorators": true, "typeRoots": [ diff --git a/types/dedent/tsconfig.json b/types/dedent/tsconfig.json index 29eb7040b0..30c39b0a23 100644 --- a/types/dedent/tsconfig.json +++ b/types/dedent/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "dedent-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/deep-assign/tsconfig.json b/types/deep-assign/tsconfig.json index 6ad0581691..76d4b1b23e 100644 --- a/types/deep-assign/tsconfig.json +++ b/types/deep-assign/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/deep-diff/tsconfig.json b/types/deep-diff/tsconfig.json index 9548124d65..95cd2d22ac 100644 --- a/types/deep-diff/tsconfig.json +++ b/types/deep-diff/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/deep-equal/tsconfig.json b/types/deep-equal/tsconfig.json index 6d21a4a7e6..e5c20aa772 100644 --- a/types/deep-equal/tsconfig.json +++ b/types/deep-equal/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/deep-extend/tsconfig.json b/types/deep-extend/tsconfig.json index 9b7dc83a56..c41646d000 100644 --- a/types/deep-extend/tsconfig.json +++ b/types/deep-extend/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/deep-freeze-es6/tsconfig.json b/types/deep-freeze-es6/tsconfig.json index ba72d75a31..cf9a3b32f5 100644 --- a/types/deep-freeze-es6/tsconfig.json +++ b/types/deep-freeze-es6/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "deep-freeze-es6-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/deep-freeze-strict/tsconfig.json b/types/deep-freeze-strict/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/deep-freeze-strict/tsconfig.json +++ b/types/deep-freeze-strict/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/deep-freeze/tsconfig.json b/types/deep-freeze/tsconfig.json index 5ade4f533c..3fe6438f96 100644 --- a/types/deep-freeze/tsconfig.json +++ b/types/deep-freeze/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/deepmerge/tsconfig.json b/types/deepmerge/tsconfig.json index 587ab97438..b863d1bcb9 100644 --- a/types/deepmerge/tsconfig.json +++ b/types/deepmerge/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/defaults/tsconfig.json b/types/defaults/tsconfig.json index 3c689ee2fd..4a66176c28 100644 --- a/types/defaults/tsconfig.json +++ b/types/defaults/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/define-lazy-prop/tsconfig.json b/types/define-lazy-prop/tsconfig.json index 3a5611afb1..e72c943c52 100644 --- a/types/define-lazy-prop/tsconfig.json +++ b/types/define-lazy-prop/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "define-lazy-prop-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/defined/tsconfig.json b/types/defined/tsconfig.json index 63c6202b4c..35b5bb7c83 100644 --- a/types/defined/tsconfig.json +++ b/types/defined/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "defined-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/deku/tsconfig.json b/types/deku/tsconfig.json index 44bbb18182..ad8473665d 100644 --- a/types/deku/tsconfig.json +++ b/types/deku/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/del/tsconfig.json b/types/del/tsconfig.json index ba10982e67..6143d08346 100644 --- a/types/del/tsconfig.json +++ b/types/del/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "del-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/del/v2/tsconfig.json b/types/del/v2/tsconfig.json index 4ec5576309..568d1a8a21 100644 --- a/types/del/v2/tsconfig.json +++ b/types/del/v2/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "del": ["del/v2"] + "del": [ + "del/v2" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "del-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/delaunator/tsconfig.json b/types/delaunator/tsconfig.json index 438b1c53af..a9c94600d8 100644 --- a/types/delaunator/tsconfig.json +++ b/types/delaunator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "delaunator-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/delay/tsconfig.json b/types/delay/tsconfig.json index 2004ba50ba..cb0da53652 100644 --- a/types/delay/tsconfig.json +++ b/types/delay/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "delay-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/denodeify/tsconfig.json b/types/denodeify/tsconfig.json index 39e2a69ba3..04d0008cd5 100644 --- a/types/denodeify/tsconfig.json +++ b/types/denodeify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/deoxxa-content-type/tsconfig.json b/types/deoxxa-content-type/tsconfig.json index 31d7604887..5f50fa4676 100644 --- a/types/deoxxa-content-type/tsconfig.json +++ b/types/deoxxa-content-type/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/depd/tsconfig.json b/types/depd/tsconfig.json index 23aa25d9e0..cea39d4996 100644 --- a/types/depd/tsconfig.json +++ b/types/depd/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "depd-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/deployjava/tsconfig.json b/types/deployjava/tsconfig.json index e0a37b8c86..934531a4ee 100644 --- a/types/deployjava/tsconfig.json +++ b/types/deployjava/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/destroy-on-hwm/tsconfig.json b/types/destroy-on-hwm/tsconfig.json index 9bcad7ee9b..8f77b1b9a4 100644 --- a/types/destroy-on-hwm/tsconfig.json +++ b/types/destroy-on-hwm/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "destroy-on-hwm-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/destroy/tsconfig.json b/types/destroy/tsconfig.json index 197ac0c669..d3c5ca771d 100644 --- a/types/destroy/tsconfig.json +++ b/types/destroy/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "destroy-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/detect-browser/tsconfig.json b/types/detect-browser/tsconfig.json index 300222b307..076582077e 100644 --- a/types/detect-browser/tsconfig.json +++ b/types/detect-browser/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/detect-hover/tsconfig.json b/types/detect-hover/tsconfig.json index d971a2660d..69abd062cd 100644 --- a/types/detect-hover/tsconfig.json +++ b/types/detect-hover/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "detect-hover-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/detect-indent/tsconfig.json b/types/detect-indent/tsconfig.json index 07d6d5adc2..3119632150 100644 --- a/types/detect-indent/tsconfig.json +++ b/types/detect-indent/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "detect-indent-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/detect-indent/v0/tsconfig.json b/types/detect-indent/v0/tsconfig.json index f80769f598..6fb921c298 100644 --- a/types/detect-indent/v0/tsconfig.json +++ b/types/detect-indent/v0/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "detect-indent": ["detect-indent/v0"] + "detect-indent": [ + "detect-indent/v0" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "detect-indent-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/detect-it/tsconfig.json b/types/detect-it/tsconfig.json index 16c8ccd62b..28787b09b8 100644 --- a/types/detect-it/tsconfig.json +++ b/types/detect-it/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "detect-it-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/detect-newline/tsconfig.json b/types/detect-newline/tsconfig.json index bbb57f1823..a94c517f93 100644 --- a/types/detect-newline/tsconfig.json +++ b/types/detect-newline/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "detect-newline-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/detect-passive-events/tsconfig.json b/types/detect-passive-events/tsconfig.json index c79e68ee75..83ddf05856 100644 --- a/types/detect-passive-events/tsconfig.json +++ b/types/detect-passive-events/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "detect-passive-events-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/detect-pointer/tsconfig.json b/types/detect-pointer/tsconfig.json index 96115ec503..50b7d6cb7d 100644 --- a/types/detect-pointer/tsconfig.json +++ b/types/detect-pointer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "detect-pointer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/detect-port/tsconfig.json b/types/detect-port/tsconfig.json index dde5cf6683..9d400580a4 100644 --- a/types/detect-port/tsconfig.json +++ b/types/detect-port/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/detect-touch-events/tsconfig.json b/types/detect-touch-events/tsconfig.json index 018928fa50..03b3cc49cb 100644 --- a/types/detect-touch-events/tsconfig.json +++ b/types/detect-touch-events/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "detect-touch-events-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/devexpress-web/tsconfig.json b/types/devexpress-web/tsconfig.json index e879af1e9e..3510853ddd 100644 --- a/types/devexpress-web/tsconfig.json +++ b/types/devexpress-web/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/devexpress-web/v161/tsconfig.json b/types/devexpress-web/v161/tsconfig.json index a64418f9b0..0c6ad80e42 100644 --- a/types/devexpress-web/v161/tsconfig.json +++ b/types/devexpress-web/v161/tsconfig.json @@ -8,14 +8,19 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "types": [], "paths": { - "devexpress-web": ["devexpress-web/v161"], - "devexpress-web/*": ["devexpress-web/v161/*"] + "devexpress-web": [ + "devexpress-web/v161" + ], + "devexpress-web/*": [ + "devexpress-web/v161/*" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/devexpress-web/v162/tsconfig.json b/types/devexpress-web/v162/tsconfig.json index 7014b0435c..0878906afb 100644 --- a/types/devexpress-web/v162/tsconfig.json +++ b/types/devexpress-web/v162/tsconfig.json @@ -8,14 +8,19 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "types": [], "paths": { - "devexpress-web": ["devexpress-web/v162"], - "devexpress-web/*": ["devexpress-web/v162/*"] + "devexpress-web": [ + "devexpress-web/v162" + ], + "devexpress-web/*": [ + "devexpress-web/v162/*" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/devtools-detect/tsconfig.json b/types/devtools-detect/tsconfig.json index b19e809c08..8ab64cb68c 100644 --- a/types/devtools-detect/tsconfig.json +++ b/types/devtools-detect/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/df-visible/tsconfig.json b/types/df-visible/tsconfig.json index 6f73878f77..ca15676b02 100644 --- a/types/df-visible/tsconfig.json +++ b/types/df-visible/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dhtmlxgantt/tsconfig.json b/types/dhtmlxgantt/tsconfig.json index da8ed7891b..f897e58d02 100644 --- a/types/dhtmlxgantt/tsconfig.json +++ b/types/dhtmlxgantt/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dhtmlxscheduler/tsconfig.json b/types/dhtmlxscheduler/tsconfig.json index cd3877fced..8d145fb613 100644 --- a/types/dhtmlxscheduler/tsconfig.json +++ b/types/dhtmlxscheduler/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/di-lite/tsconfig.json b/types/di-lite/tsconfig.json index 7ec26b6dde..7f10ef8967 100644 --- a/types/di-lite/tsconfig.json +++ b/types/di-lite/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/diacritics/tsconfig.json b/types/diacritics/tsconfig.json index c5df557fe5..03b49dbe95 100644 --- a/types/diacritics/tsconfig.json +++ b/types/diacritics/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/diff-match-patch/tsconfig.json b/types/diff-match-patch/tsconfig.json index 275bed6723..11f60e2489 100644 --- a/types/diff-match-patch/tsconfig.json +++ b/types/diff-match-patch/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/diff/tsconfig.json b/types/diff/tsconfig.json index 96385c4e2a..9a1fdba840 100644 --- a/types/diff/tsconfig.json +++ b/types/diff/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/diff2html/tsconfig.json b/types/diff2html/tsconfig.json index 177597e8cd..bb9662b5b6 100644 --- a/types/diff2html/tsconfig.json +++ b/types/diff2html/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dir-resolve/tsconfig.json b/types/dir-resolve/tsconfig.json index 1748792b1d..129d8a0aa9 100644 --- a/types/dir-resolve/tsconfig.json +++ b/types/dir-resolve/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/discontinuous-range/tsconfig.json b/types/discontinuous-range/tsconfig.json index 9aa84910b6..26c43bf7f0 100644 --- a/types/discontinuous-range/tsconfig.json +++ b/types/discontinuous-range/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/disposable-email-domains/tsconfig.json b/types/disposable-email-domains/tsconfig.json index eb54d0c49f..70b9e249d1 100644 --- a/types/disposable-email-domains/tsconfig.json +++ b/types/disposable-email-domains/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/doccookies/tsconfig.json b/types/doccookies/tsconfig.json index f8dcf939f1..e4de927a2f 100644 --- a/types/doccookies/tsconfig.json +++ b/types/doccookies/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dock-spawn/tsconfig.json b/types/dock-spawn/tsconfig.json index 92eac29967..a5c6c7b144 100644 --- a/types/dock-spawn/tsconfig.json +++ b/types/dock-spawn/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dockerode/tsconfig.json b/types/dockerode/tsconfig.json index 8f360ab29a..3334b9b296 100644 --- a/types/dockerode/tsconfig.json +++ b/types/dockerode/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/docopt/tsconfig.json b/types/docopt/tsconfig.json index 60b0174d95..bc71021fcd 100644 --- a/types/docopt/tsconfig.json +++ b/types/docopt/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/doctrine/tsconfig.json b/types/doctrine/tsconfig.json index d7d81a7c16..1b9e7702c2 100644 --- a/types/doctrine/tsconfig.json +++ b/types/doctrine/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/documentdb-server/tsconfig.json b/types/documentdb-server/tsconfig.json index 7c96754e6c..98dcf6bf5c 100644 --- a/types/documentdb-server/tsconfig.json +++ b/types/documentdb-server/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/documentdb-session/tsconfig.json b/types/documentdb-session/tsconfig.json index 478f009cc6..40ab7520b7 100644 --- a/types/documentdb-session/tsconfig.json +++ b/types/documentdb-session/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "documentdb-session-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/documentdb/tsconfig.json b/types/documentdb/tsconfig.json index 0f1d4e70e9..48c13eac51 100644 --- a/types/documentdb/tsconfig.json +++ b/types/documentdb/tsconfig.json @@ -8,11 +8,12 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" - ], - "types": [ ], + ], + "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, diff --git a/types/dojo/tsconfig.json b/types/dojo/tsconfig.json index d20f843c14..983ded2a9c 100644 --- a/types/dojo/tsconfig.json +++ b/types/dojo/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dom-inputevent/tsconfig.json b/types/dom-inputevent/tsconfig.json index 1577efb197..a309b9ec2e 100644 --- a/types/dom-inputevent/tsconfig.json +++ b/types/dom-inputevent/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "dom-inputevent-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/dom4/tsconfig.json b/types/dom4/tsconfig.json index c10c96f75a..3db581ed36 100644 --- a/types/dom4/tsconfig.json +++ b/types/dom4/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/domo/tsconfig.json b/types/domo/tsconfig.json index ca34816a7d..1700042ecc 100644 --- a/types/domo/tsconfig.json +++ b/types/domo/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dompurify/tsconfig.json b/types/dompurify/tsconfig.json index 34d380baf0..f10fdda910 100644 --- a/types/dompurify/tsconfig.json +++ b/types/dompurify/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/domready/tsconfig.json b/types/domready/tsconfig.json index 54d5225b58..1495d185a6 100644 --- a/types/domready/tsconfig.json +++ b/types/domready/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/domurl/tsconfig.json b/types/domurl/tsconfig.json index 86a6ff8fb7..c678dbc069 100644 --- a/types/domurl/tsconfig.json +++ b/types/domurl/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/donna/tsconfig.json b/types/donna/tsconfig.json index 5df1095e12..6e06e71c36 100644 --- a/types/donna/tsconfig.json +++ b/types/donna/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dookie/tsconfig.json b/types/dookie/tsconfig.json index 0c926cf7ff..a788cba5bc 100644 --- a/types/dookie/tsconfig.json +++ b/types/dookie/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dot-object/tsconfig.json b/types/dot-object/tsconfig.json index 505abd7f41..f58205cdaf 100644 --- a/types/dot-object/tsconfig.json +++ b/types/dot-object/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dot-prop/tsconfig.json b/types/dot-prop/tsconfig.json index 9569bb6470..cbacf32b41 100644 --- a/types/dot-prop/tsconfig.json +++ b/types/dot-prop/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "dot-prop-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/dot-prop/v2/tsconfig.json b/types/dot-prop/v2/tsconfig.json index 2e274e84da..f5770f3083 100644 --- a/types/dot-prop/v2/tsconfig.json +++ b/types/dot-prop/v2/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "dot-prop": ["dot-prop/v2"] + "dot-prop": [ + "dot-prop/v2" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "dot-prop-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/dot/tsconfig.json b/types/dot/tsconfig.json index 90dfddee0a..2c1a595ac6 100644 --- a/types/dot/tsconfig.json +++ b/types/dot/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dotdotdot/tsconfig.json b/types/dotdotdot/tsconfig.json index 01346ccccc..8be8dc5245 100644 --- a/types/dotdotdot/tsconfig.json +++ b/types/dotdotdot/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dotenv-safe/tsconfig.json b/types/dotenv-safe/tsconfig.json index 6c134db7bf..46b51afc29 100644 --- a/types/dotenv-safe/tsconfig.json +++ b/types/dotenv-safe/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es5" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "dotenv-safe-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es5" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "dotenv-safe-tests.ts" + ] +} \ No newline at end of file diff --git a/types/dotenv/tsconfig.json b/types/dotenv/tsconfig.json index 1f7cfcfcca..5c51b4d698 100644 --- a/types/dotenv/tsconfig.json +++ b/types/dotenv/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dotenv/v2/tsconfig.json b/types/dotenv/v2/tsconfig.json index efaf5860d4..facb307571 100644 --- a/types/dotenv/v2/tsconfig.json +++ b/types/dotenv/v2/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "dotenv": [ "dotenv/v2" ] + "dotenv": [ + "dotenv/v2" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "dotenv-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/dottie/tsconfig.json b/types/dottie/tsconfig.json index 03af0fda9b..f770bbf57d 100644 --- a/types/dottie/tsconfig.json +++ b/types/dottie/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "dottie-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/doublearray/tsconfig.json b/types/doublearray/tsconfig.json index c82acdd4e0..fbc5ab9e55 100644 --- a/types/doublearray/tsconfig.json +++ b/types/doublearray/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/doubleclick-gpt/tsconfig.json b/types/doubleclick-gpt/tsconfig.json index c06fe9ff3c..d240d560ce 100644 --- a/types/doubleclick-gpt/tsconfig.json +++ b/types/doubleclick-gpt/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/downloadjs/tsconfig.json b/types/downloadjs/tsconfig.json index 5ce76596d5..15703cf41a 100644 --- a/types/downloadjs/tsconfig.json +++ b/types/downloadjs/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "downloadjs-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "downloadjs-tests.ts" + ] +} \ No newline at end of file diff --git a/types/draft-js/tsconfig.json b/types/draft-js/tsconfig.json index 2b3ffe8ec7..58fc6cd302 100644 --- a/types/draft-js/tsconfig.json +++ b/types/draft-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/drag-timetable/tsconfig.json b/types/drag-timetable/tsconfig.json index f704c30147..875c35f69a 100644 --- a/types/drag-timetable/tsconfig.json +++ b/types/drag-timetable/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "drag-timetable-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/draggabilly/tsconfig.json b/types/draggabilly/tsconfig.json index 32cc6ee235..d34c51c338 100644 --- a/types/draggabilly/tsconfig.json +++ b/types/draggabilly/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "draggabilly-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/dragster/tsconfig.json b/types/dragster/tsconfig.json index 9740d729a0..c415da2b1a 100644 --- a/types/dragster/tsconfig.json +++ b/types/dragster/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dragula/tsconfig.json b/types/dragula/tsconfig.json index 33f4e1e247..8179057247 100644 --- a/types/dragula/tsconfig.json +++ b/types/dragula/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dropboxjs/tsconfig.json b/types/dropboxjs/tsconfig.json index 3e55f0136c..c1c700cf02 100644 --- a/types/dropboxjs/tsconfig.json +++ b/types/dropboxjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dropkickjs/tsconfig.json b/types/dropkickjs/tsconfig.json index 07855ffa97..31076fcede 100644 --- a/types/dropkickjs/tsconfig.json +++ b/types/dropkickjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dropzone/tsconfig.json b/types/dropzone/tsconfig.json index ff427c95f0..552b864cb7 100644 --- a/types/dropzone/tsconfig.json +++ b/types/dropzone/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dropzone/v4/tsconfig.json b/types/dropzone/v4/tsconfig.json index 36eb5f0aef..d88ab721fd 100644 --- a/types/dropzone/v4/tsconfig.json +++ b/types/dropzone/v4/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" @@ -16,7 +17,9 @@ "noEmit": true, "forceConsistentCasingInFileNames": true, "paths": { - "dropzone": ["dropzone/v4"] + "dropzone": [ + "dropzone/v4" + ] } }, "files": [ diff --git a/types/dsv/tsconfig.json b/types/dsv/tsconfig.json index e5f4e1b7c3..ba47a0e093 100644 --- a/types/dsv/tsconfig.json +++ b/types/dsv/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dts-bundle/tsconfig.json b/types/dts-bundle/tsconfig.json index 8e871ab4a2..a380447ece 100644 --- a/types/dts-bundle/tsconfig.json +++ b/types/dts-bundle/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dts-generator/tsconfig.json b/types/dts-generator/tsconfig.json index b1fa8686f2..97bc3726f6 100644 --- a/types/dts-generator/tsconfig.json +++ b/types/dts-generator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "dts-generator-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/duplexer2/tsconfig.json b/types/duplexer2/tsconfig.json index 08cf6d3426..90332a13a9 100644 --- a/types/duplexer2/tsconfig.json +++ b/types/duplexer2/tsconfig.json @@ -10,6 +10,7 @@ ], "noImplicitAny": true, "strictNullChecks": false, + "strictFunctionTypes": true, "noImplicitThis": true, "baseUrl": "../", "typeRoots": [ diff --git a/types/duplexer3/tsconfig.json b/types/duplexer3/tsconfig.json index 36ac16d2c7..1b3e73cc33 100644 --- a/types/duplexer3/tsconfig.json +++ b/types/duplexer3/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "duplexer3-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/duplexify/tsconfig.json b/types/duplexify/tsconfig.json index 715137eb9d..72c801f5ab 100644 --- a/types/duplexify/tsconfig.json +++ b/types/duplexify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "duplexify-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/duplicate-package-checker-webpack-plugin/tsconfig.json b/types/duplicate-package-checker-webpack-plugin/tsconfig.json index 7b3dc55ffe..7174bf68ea 100644 --- a/types/duplicate-package-checker-webpack-plugin/tsconfig.json +++ b/types/duplicate-package-checker-webpack-plugin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "duplicate-package-checker-webpack-plugin-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/durandal/tsconfig.json b/types/durandal/tsconfig.json index 1401eeeedb..d34d6a1d77 100644 --- a/types/durandal/tsconfig.json +++ b/types/durandal/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/durandal/v1/tsconfig.json b/types/durandal/v1/tsconfig.json index 72d8336896..d39bcbc18d 100644 --- a/types/durandal/v1/tsconfig.json +++ b/types/durandal/v1/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/dustjs-linkedin/tsconfig.json b/types/dustjs-linkedin/tsconfig.json index 73305e5459..36a7497468 100644 --- a/types/dustjs-linkedin/tsconfig.json +++ b/types/dustjs-linkedin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dw-bxslider-4/tsconfig.json b/types/dw-bxslider-4/tsconfig.json index 4686df733a..64526359b3 100644 --- a/types/dw-bxslider-4/tsconfig.json +++ b/types/dw-bxslider-4/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dwt/tsconfig.json b/types/dwt/tsconfig.json index 5ff27b3787..db2ac6bbf4 100644 --- a/types/dwt/tsconfig.json +++ b/types/dwt/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dwt/v12/tsconfig.json b/types/dwt/v12/tsconfig.json index 0681765aaf..f856dd2657 100644 --- a/types/dwt/v12/tsconfig.json +++ b/types/dwt/v12/tsconfig.json @@ -7,19 +7,22 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "dwt": [ "dwt/v12" ] + "dwt": [ + "dwt/v12" + ] }, "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, "files": [ - "index.d.ts", + "index.d.ts", "dwt-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/dygraphs/tsconfig.json b/types/dygraphs/tsconfig.json index cd2465aaad..c3ff239b4b 100644 --- a/types/dygraphs/tsconfig.json +++ b/types/dygraphs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dymo-label-framework/tsconfig.json b/types/dymo-label-framework/tsconfig.json index 70192c3366..23ac4038d1 100644 --- a/types/dymo-label-framework/tsconfig.json +++ b/types/dymo-label-framework/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/dynatable/tsconfig.json b/types/dynatable/tsconfig.json index 6d37ddabf5..04ffb1120a 100644 --- a/types/dynatable/tsconfig.json +++ b/types/dynatable/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/each/tsconfig.json b/types/each/tsconfig.json index 99df044c84..4b80cb809d 100644 --- a/types/each/tsconfig.json +++ b/types/each/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/easeljs/tsconfig.json b/types/easeljs/tsconfig.json index 106e84b3dc..1925fa9a78 100644 --- a/types/easeljs/tsconfig.json +++ b/types/easeljs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/easy-api-request/tsconfig.json b/types/easy-api-request/tsconfig.json index 0f8b3873e0..8cc26d7811 100644 --- a/types/easy-api-request/tsconfig.json +++ b/types/easy-api-request/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/easy-jsend/tsconfig.json b/types/easy-jsend/tsconfig.json index d3fae576d7..3efc497aaf 100644 --- a/types/easy-jsend/tsconfig.json +++ b/types/easy-jsend/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/easy-session/tsconfig.json b/types/easy-session/tsconfig.json index 55a2221348..99d70bf37b 100644 --- a/types/easy-session/tsconfig.json +++ b/types/easy-session/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/easy-table/tsconfig.json b/types/easy-table/tsconfig.json index 6e1d6842b5..4013bbca85 100644 --- a/types/easy-table/tsconfig.json +++ b/types/easy-table/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/easy-x-headers/tsconfig.json b/types/easy-x-headers/tsconfig.json index 21fd3e6cda..e2b2378af6 100644 --- a/types/easy-x-headers/tsconfig.json +++ b/types/easy-x-headers/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/easy-xapi-supertest/tsconfig.json b/types/easy-xapi-supertest/tsconfig.json index ff088ea5e3..91c132409e 100644 --- a/types/easy-xapi-supertest/tsconfig.json +++ b/types/easy-xapi-supertest/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/easy-xapi-utils/tsconfig.json b/types/easy-xapi-utils/tsconfig.json index 5a38347e84..6cd04a79b9 100644 --- a/types/easy-xapi-utils/tsconfig.json +++ b/types/easy-xapi-utils/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/easy-xapi/tsconfig.json b/types/easy-xapi/tsconfig.json index b995d431ae..fa0e8da402 100644 --- a/types/easy-xapi/tsconfig.json +++ b/types/easy-xapi/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/easystarjs/tsconfig.json b/types/easystarjs/tsconfig.json index 9c5d14bf1d..0f36761c26 100644 --- a/types/easystarjs/tsconfig.json +++ b/types/easystarjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ebongarde-root/tsconfig.json b/types/ebongarde-root/tsconfig.json index f34a4dc97f..4765268055 100644 --- a/types/ebongarde-root/tsconfig.json +++ b/types/ebongarde-root/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "ebongarde-root-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/echarts/tsconfig.json b/types/echarts/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/echarts/tsconfig.json +++ b/types/echarts/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ecurve/tsconfig.json b/types/ecurve/tsconfig.json index e1fbd679a4..b3d1d586fe 100644 --- a/types/ecurve/tsconfig.json +++ b/types/ecurve/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/egg-mock/tsconfig.json b/types/egg-mock/tsconfig.json index 9313ec5190..86b33fc149 100644 --- a/types/egg-mock/tsconfig.json +++ b/types/egg-mock/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/egg.js/tsconfig.json b/types/egg.js/tsconfig.json index 00ca6481ae..c7364d3f99 100644 --- a/types/egg.js/tsconfig.json +++ b/types/egg.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/egg/tsconfig.json b/types/egg/tsconfig.json index d2369bc5bf..3c2ca61db1 100644 --- a/types/egg/tsconfig.json +++ b/types/egg/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/egjs__axes/tsconfig.json b/types/egjs__axes/tsconfig.json index 7d20117cc0..3086687bc3 100644 --- a/types/egjs__axes/tsconfig.json +++ b/types/egjs__axes/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -14,13 +15,17 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "paths":{ - "@egjs/component": ["egjs__component"], - "@egjs/axes": ["egjs__axes"] + "paths": { + "@egjs/component": [ + "egjs__component" + ], + "@egjs/axes": [ + "egjs__axes" + ] } }, "files": [ "index.d.ts", "egjs__axes-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/egjs__component/tsconfig.json b/types/egjs__component/tsconfig.json index b010a23eed..778e5a9f16 100644 --- a/types/egjs__component/tsconfig.json +++ b/types/egjs__component/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -14,12 +15,14 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "paths":{ - "@egjs/component": ["egjs__component"] + "paths": { + "@egjs/component": [ + "egjs__component" + ] } }, "files": [ "index.d.ts", "egjs__component-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ej.web.all/tsconfig.json b/types/ej.web.all/tsconfig.json index e187b54f67..0a0a2b79e4 100644 --- a/types/ej.web.all/tsconfig.json +++ b/types/ej.web.all/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "ej.web.all-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ejs-locals/tsconfig.json b/types/ejs-locals/tsconfig.json index ee2ef81723..7f549cd0a6 100644 --- a/types/ejs-locals/tsconfig.json +++ b/types/ejs-locals/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ejs/tsconfig.json b/types/ejs/tsconfig.json index ce3a024d24..ea91455364 100644 --- a/types/ejs/tsconfig.json +++ b/types/ejs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ejson/tsconfig.json b/types/ejson/tsconfig.json index 95efe7696b..3769f3db66 100644 --- a/types/ejson/tsconfig.json +++ b/types/ejson/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/elastic.js/tsconfig.json b/types/elastic.js/tsconfig.json index 219dffce02..6a705c4c27 100644 --- a/types/elastic.js/tsconfig.json +++ b/types/elastic.js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/elasticsearch/tsconfig.json b/types/elasticsearch/tsconfig.json index af051e1a4f..2d62eac43d 100644 --- a/types/elasticsearch/tsconfig.json +++ b/types/elasticsearch/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/electron-config/tsconfig.json b/types/electron-config/tsconfig.json index 0d3777a09e..8462205033 100644 --- a/types/electron-config/tsconfig.json +++ b/types/electron-config/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "electron-config-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/electron-debug/tsconfig.json b/types/electron-debug/tsconfig.json index 4279922d08..65a83c7c64 100644 --- a/types/electron-debug/tsconfig.json +++ b/types/electron-debug/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/electron-devtools-installer/tsconfig.json b/types/electron-devtools-installer/tsconfig.json index 66e41ee094..77fbb1d7c5 100644 --- a/types/electron-devtools-installer/tsconfig.json +++ b/types/electron-devtools-installer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/electron-is-dev/tsconfig.json b/types/electron-is-dev/tsconfig.json index 91aa840742..1260f76477 100644 --- a/types/electron-is-dev/tsconfig.json +++ b/types/electron-is-dev/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "electron-is-dev-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/electron-json-storage/tsconfig.json b/types/electron-json-storage/tsconfig.json index 66c91844db..d5bbe0168b 100644 --- a/types/electron-json-storage/tsconfig.json +++ b/types/electron-json-storage/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/electron-notifications/tsconfig.json b/types/electron-notifications/tsconfig.json index cfe77deb03..b5d1926fe9 100644 --- a/types/electron-notifications/tsconfig.json +++ b/types/electron-notifications/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/electron-notify/tsconfig.json b/types/electron-notify/tsconfig.json index 6bdc138b0b..49580cd305 100644 --- a/types/electron-notify/tsconfig.json +++ b/types/electron-notify/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/electron-packager/tsconfig.json b/types/electron-packager/tsconfig.json index 789b385fea..76f19f8f73 100644 --- a/types/electron-packager/tsconfig.json +++ b/types/electron-packager/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/electron-settings/tsconfig.json b/types/electron-settings/tsconfig.json index a9a5a70afc..badf76a8d0 100644 --- a/types/electron-settings/tsconfig.json +++ b/types/electron-settings/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "electron-settings-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/electron-settings/v2/tsconfig.json b/types/electron-settings/v2/tsconfig.json index 335711f7ef..810fdbd504 100644 --- a/types/electron-settings/v2/tsconfig.json +++ b/types/electron-settings/v2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" @@ -25,4 +26,4 @@ "index.d.ts", "electron-settings-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/electron-store/tsconfig.json b/types/electron-store/tsconfig.json index 311e831103..6f21caec55 100644 --- a/types/electron-store/tsconfig.json +++ b/types/electron-store/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "electron-store-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/electron-window-state/tsconfig.json b/types/electron-window-state/tsconfig.json index 3b9710d961..3843443cda 100644 --- a/types/electron-window-state/tsconfig.json +++ b/types/electron-window-state/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/electron-winstaller/tsconfig.json b/types/electron-winstaller/tsconfig.json index f208c4761f..af16777473 100644 --- a/types/electron-winstaller/tsconfig.json +++ b/types/electron-winstaller/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "electron-winstaller-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/element-ready/tsconfig.json b/types/element-ready/tsconfig.json index 42de8557bc..e5067c7ccf 100644 --- a/types/element-ready/tsconfig.json +++ b/types/element-ready/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "element-ready-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/element-resize-event/tsconfig.json b/types/element-resize-event/tsconfig.json index 74215ead8a..9d86e4632f 100644 --- a/types/element-resize-event/tsconfig.json +++ b/types/element-resize-event/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/elm/tsconfig.json b/types/elm/tsconfig.json index 0d8045c6c7..bca395d3c2 100644 --- a/types/elm/tsconfig.json +++ b/types/elm/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/email-addresses/tsconfig.json b/types/email-addresses/tsconfig.json index b8b983cf3a..2cda1ddc36 100644 --- a/types/email-addresses/tsconfig.json +++ b/types/email-addresses/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/email-templates/tsconfig.json b/types/email-templates/tsconfig.json index cf59410224..5a2994bb04 100644 --- a/types/email-templates/tsconfig.json +++ b/types/email-templates/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "email-templates-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/email-validator/tsconfig.json b/types/email-validator/tsconfig.json index b2af15fd62..d126e18174 100644 --- a/types/email-validator/tsconfig.json +++ b/types/email-validator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ember-testing-helpers/tsconfig.json b/types/ember-testing-helpers/tsconfig.json index aaf474ecba..725957a948 100644 --- a/types/ember-testing-helpers/tsconfig.json +++ b/types/ember-testing-helpers/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "ember-testing-helpers-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ember/tsconfig.json b/types/ember/tsconfig.json index b73838d20e..194304e853 100644 --- a/types/ember/tsconfig.json +++ b/types/ember/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "ember-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ember/v1/tsconfig.json b/types/ember/v1/tsconfig.json index a03fae9fbe..7be1f0660b 100644 --- a/types/ember/v1/tsconfig.json +++ b/types/ember/v1/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/emissary/tsconfig.json b/types/emissary/tsconfig.json index 99a5433b1e..b6d04f07a7 100644 --- a/types/emissary/tsconfig.json +++ b/types/emissary/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/emojione/tsconfig.json b/types/emojione/tsconfig.json index a772ceb6dd..f74fb50d6f 100644 --- a/types/emojione/tsconfig.json +++ b/types/emojione/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/empower/tsconfig.json b/types/empower/tsconfig.json index 25ea756fdd..9d9d553fc0 100644 --- a/types/empower/tsconfig.json +++ b/types/empower/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/emscripten/tsconfig.json b/types/emscripten/tsconfig.json index d12d0b996a..d17ea9a00a 100644 --- a/types/emscripten/tsconfig.json +++ b/types/emscripten/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/encoding-japanese/tsconfig.json b/types/encoding-japanese/tsconfig.json index f3e5ea83dd..b3b7a2861f 100644 --- a/types/encoding-japanese/tsconfig.json +++ b/types/encoding-japanese/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/end-of-stream/tsconfig.json b/types/end-of-stream/tsconfig.json index 4f06f62e73..b46ee0c768 100644 --- a/types/end-of-stream/tsconfig.json +++ b/types/end-of-stream/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "end-of-stream-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/engine.io-client/tsconfig.json b/types/engine.io-client/tsconfig.json index e98b3db085..cb3a024a3e 100644 --- a/types/engine.io-client/tsconfig.json +++ b/types/engine.io-client/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "engine.io-client-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/engine.io/tsconfig.json b/types/engine.io/tsconfig.json index b003e2f8e4..b31b3394b0 100644 --- a/types/engine.io/tsconfig.json +++ b/types/engine.io/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "engine.io-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/enhanced-resolve/tsconfig.json b/types/enhanced-resolve/tsconfig.json index 23f724b261..9c87f7e7a1 100644 --- a/types/enhanced-resolve/tsconfig.json +++ b/types/enhanced-resolve/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitThis": true, "noImplicitAny": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ent/tsconfig.json b/types/ent/tsconfig.json index 4c9289ae86..53249c7605 100644 --- a/types/ent/tsconfig.json +++ b/types/ent/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/entities/tsconfig.json b/types/entities/tsconfig.json index 7a68bc361b..1a88ad9778 100644 --- a/types/entities/tsconfig.json +++ b/types/entities/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "entities-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/env-to-object/tsconfig.json b/types/env-to-object/tsconfig.json index 316a2acdf6..2e59eff3e4 100644 --- a/types/env-to-object/tsconfig.json +++ b/types/env-to-object/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/envify/tsconfig.json b/types/envify/tsconfig.json index a3f80b63ec..381ca464c9 100644 --- a/types/envify/tsconfig.json +++ b/types/envify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/enzyme-to-json/tsconfig.json b/types/enzyme-to-json/tsconfig.json index 257f8797e0..948a88349a 100644 --- a/types/enzyme-to-json/tsconfig.json +++ b/types/enzyme-to-json/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -21,4 +22,4 @@ "index.d.ts", "enzyme-to-json-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/enzyme/tsconfig.json b/types/enzyme/tsconfig.json index 83f549d65c..096b64a111 100644 --- a/types/enzyme/tsconfig.json +++ b/types/enzyme/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/eonasdan-bootstrap-datetimepicker/tsconfig.json b/types/eonasdan-bootstrap-datetimepicker/tsconfig.json index 2f6f00a099..d2f659f25f 100644 --- a/types/eonasdan-bootstrap-datetimepicker/tsconfig.json +++ b/types/eonasdan-bootstrap-datetimepicker/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/epiceditor/tsconfig.json b/types/epiceditor/tsconfig.json index 410f7bee8d..ccd9f7cce0 100644 --- a/types/epiceditor/tsconfig.json +++ b/types/epiceditor/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/epub/tsconfig.json b/types/epub/tsconfig.json index 9a409c3ae1..90ba263b21 100644 --- a/types/epub/tsconfig.json +++ b/types/epub/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/eq.js/tsconfig.json b/types/eq.js/tsconfig.json index 6cd21718b8..3d35e3fefa 100644 --- a/types/eq.js/tsconfig.json +++ b/types/eq.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/error-stack-parser/tsconfig.json b/types/error-stack-parser/tsconfig.json index 11e1863b89..98f3beb1a5 100644 --- a/types/error-stack-parser/tsconfig.json +++ b/types/error-stack-parser/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/errorhandler/tsconfig.json b/types/errorhandler/tsconfig.json index fd9a3b1665..dc08f31d21 100644 --- a/types/errorhandler/tsconfig.json +++ b/types/errorhandler/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/es6-collections/tsconfig.json b/types/es6-collections/tsconfig.json index b09ee9b48b..c2b2ba64d7 100644 --- a/types/es6-collections/tsconfig.json +++ b/types/es6-collections/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/es6-error/tsconfig.json b/types/es6-error/tsconfig.json index f0becf44db..1205819cd3 100644 --- a/types/es6-error/tsconfig.json +++ b/types/es6-error/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/es6-promise/tsconfig.json b/types/es6-promise/tsconfig.json index bc50e7c4fb..8b3cc9da2a 100644 --- a/types/es6-promise/tsconfig.json +++ b/types/es6-promise/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/es6-promisify/tsconfig.json b/types/es6-promisify/tsconfig.json index d28d909997..707e6094d3 100644 --- a/types/es6-promisify/tsconfig.json +++ b/types/es6-promisify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "es6-promisify-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/es6-shim/tsconfig.json b/types/es6-shim/tsconfig.json index 02c35aee5a..f11dcede04 100644 --- a/types/es6-shim/tsconfig.json +++ b/types/es6-shim/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "es6-shim-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/es6-weak-map/tsconfig.json b/types/es6-weak-map/tsconfig.json index 4a80116224..2652a8f513 100644 --- a/types/es6-weak-map/tsconfig.json +++ b/types/es6-weak-map/tsconfig.json @@ -1,4 +1,3 @@ - { "compilerOptions": { "module": "commonjs", @@ -8,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +20,4 @@ "index.d.ts", "es6-weak-map-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/escape-html/tsconfig.json b/types/escape-html/tsconfig.json index 7c08568a1e..336fcb1583 100644 --- a/types/escape-html/tsconfig.json +++ b/types/escape-html/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/escape-latex/tsconfig.json b/types/escape-latex/tsconfig.json index 8a925ce6a2..2c782b99a5 100644 --- a/types/escape-latex/tsconfig.json +++ b/types/escape-latex/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/escape-string-regexp/tsconfig.json b/types/escape-string-regexp/tsconfig.json index 9017be036c..46d2b8fec7 100644 --- a/types/escape-string-regexp/tsconfig.json +++ b/types/escape-string-regexp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/escodegen/tsconfig.json b/types/escodegen/tsconfig.json index 7df2dba0cf..4755f2604a 100644 --- a/types/escodegen/tsconfig.json +++ b/types/escodegen/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/eslint-plugin-prettier/tsconfig.json b/types/eslint-plugin-prettier/tsconfig.json index 17f2f98666..67ba3c86f6 100644 --- a/types/eslint-plugin-prettier/tsconfig.json +++ b/types/eslint-plugin-prettier/tsconfig.json @@ -1,15 +1,23 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es6"], + "lib": [ + "es6" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, - "files": ["index.d.ts", "eslint-plugin-prettier-tests.ts"] -} + "files": [ + "index.d.ts", + "eslint-plugin-prettier-tests.ts" + ] +} \ No newline at end of file diff --git a/types/esprima-walk/tsconfig.json b/types/esprima-walk/tsconfig.json index f91f558c64..7314e2d509 100644 --- a/types/esprima-walk/tsconfig.json +++ b/types/esprima-walk/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/esprima/tsconfig.json b/types/esprima/tsconfig.json index e70c3e04a4..2ac3b4bb46 100644 --- a/types/esprima/tsconfig.json +++ b/types/esprima/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/esprima/v2/tsconfig.json b/types/esprima/v2/tsconfig.json index 7de8cc1403..a3c195ca3c 100644 --- a/types/esprima/v2/tsconfig.json +++ b/types/esprima/v2/tsconfig.json @@ -1,27 +1,28 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "baseUrl": "../../", - "typeRoots": [ - "../../" - ], - "types": [], - "paths": { - "esprima": [ - "esprima/v2" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "strictFunctionTypes": true, + "baseUrl": "../../", + "typeRoots": [ + "../../" + ], + "types": [], + "paths": { + "esprima": [ + "esprima/v2" + ] + }, + "noEmit": true, + "forceConsistentCasingInFileNames": true }, - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "esprima-tests.ts" - ] + "files": [ + "index.d.ts", + "esprima-tests.ts" + ] } \ No newline at end of file diff --git a/types/esri-leaflet-geocoder/tsconfig.json b/types/esri-leaflet-geocoder/tsconfig.json index d42bd2b388..6bdfac4c4d 100644 --- a/types/esri-leaflet-geocoder/tsconfig.json +++ b/types/esri-leaflet-geocoder/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "esri-leaflet-geocoder-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/esri-leaflet/tsconfig.json b/types/esri-leaflet/tsconfig.json index f342a7b92c..596c74f0a2 100644 --- a/types/esri-leaflet/tsconfig.json +++ b/types/esri-leaflet/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "esri-leaflet-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/estraverse/tsconfig.json b/types/estraverse/tsconfig.json index 45cfe5301c..0a199a8857 100644 --- a/types/estraverse/tsconfig.json +++ b/types/estraverse/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/estree/tsconfig.json b/types/estree/tsconfig.json index cdee8b7fa3..9e10c93348 100644 --- a/types/estree/tsconfig.json +++ b/types/estree/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/etag/tsconfig.json b/types/etag/tsconfig.json index e79f28c8be..5df46bdfe9 100644 --- a/types/etag/tsconfig.json +++ b/types/etag/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "etag-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ethjs-signer/tsconfig.json b/types/ethjs-signer/tsconfig.json index 202b9ca11a..b9548b9847 100644 --- a/types/ethjs-signer/tsconfig.json +++ b/types/ethjs-signer/tsconfig.json @@ -7,11 +7,12 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], - "types": [ ], + "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, diff --git a/types/eureka-js-client/tsconfig.json b/types/eureka-js-client/tsconfig.json index 5cb950ba75..8a981b029d 100644 --- a/types/eureka-js-client/tsconfig.json +++ b/types/eureka-js-client/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/evaporate/tsconfig.json b/types/evaporate/tsconfig.json index d0668e49d9..9164730455 100644 --- a/types/evaporate/tsconfig.json +++ b/types/evaporate/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/event-emitter/tsconfig.json b/types/event-emitter/tsconfig.json index 7b8352ee4d..ef667ae292 100644 --- a/types/event-emitter/tsconfig.json +++ b/types/event-emitter/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -23,4 +24,4 @@ "unify.d.ts", "event-emitter-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/event-kit/tsconfig.json b/types/event-kit/tsconfig.json index ec89f9ddb9..0097bf6ba3 100644 --- a/types/event-kit/tsconfig.json +++ b/types/event-kit/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "event-kit-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/event-kit/v1/tsconfig.json b/types/event-kit/v1/tsconfig.json index d3cc578758..ba260dd683 100644 --- a/types/event-kit/v1/tsconfig.json +++ b/types/event-kit/v1/tsconfig.json @@ -8,12 +8,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "event-kit": [ "event-kit/v1" ] + "event-kit": [ + "event-kit/v1" + ] }, "types": [], "noEmit": true, @@ -23,4 +26,4 @@ "index.d.ts", "event-kit-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/event-loop-lag/tsconfig.json b/types/event-loop-lag/tsconfig.json index 839fd4263e..39962c46ae 100644 --- a/types/event-loop-lag/tsconfig.json +++ b/types/event-loop-lag/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/event-stream/tsconfig.json b/types/event-stream/tsconfig.json index 768497bcd8..93e6b0c016 100644 --- a/types/event-stream/tsconfig.json +++ b/types/event-stream/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/event-to-promise/tsconfig.json b/types/event-to-promise/tsconfig.json index 7ec7626f4c..d47bd1672d 100644 --- a/types/event-to-promise/tsconfig.json +++ b/types/event-to-promise/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/evernote/tsconfig.json b/types/evernote/tsconfig.json index ecf7678a0d..2c89a52715 100644 --- a/types/evernote/tsconfig.json +++ b/types/evernote/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/exceljs/tsconfig.json b/types/exceljs/tsconfig.json index f9cb219d06..a477befe57 100644 --- a/types/exceljs/tsconfig.json +++ b/types/exceljs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "exceljs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/execa/tsconfig.json b/types/execa/tsconfig.json index 276a55194a..2d20077a4f 100644 --- a/types/execa/tsconfig.json +++ b/types/execa/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "execa-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/exit-hook/tsconfig.json b/types/exit-hook/tsconfig.json index 3eb97da053..34396672b0 100644 --- a/types/exit-hook/tsconfig.json +++ b/types/exit-hook/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "exit-hook-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/exit/tsconfig.json b/types/exit/tsconfig.json index 1966c83028..4343e78761 100644 --- a/types/exit/tsconfig.json +++ b/types/exit/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/exorcist/tsconfig.json b/types/exorcist/tsconfig.json index d7f4d9cfd2..c32fd613f3 100644 --- a/types/exorcist/tsconfig.json +++ b/types/exorcist/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/expect.js/tsconfig.json b/types/expect.js/tsconfig.json index a74bc1bdda..c8f60ed6e5 100644 --- a/types/expect.js/tsconfig.json +++ b/types/expect.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/expect/tsconfig.json b/types/expect/tsconfig.json index a034e6b04d..33e71dad4c 100644 --- a/types/expect/tsconfig.json +++ b/types/expect/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/expectations/tsconfig.json b/types/expectations/tsconfig.json index e114451de7..857a8a1eef 100644 --- a/types/expectations/tsconfig.json +++ b/types/expectations/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/expr-eval/tsconfig.json b/types/expr-eval/tsconfig.json index 73b68bb278..01f1b1e4e3 100644 --- a/types/expr-eval/tsconfig.json +++ b/types/expr-eval/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-brute-memcached/tsconfig.json b/types/express-brute-memcached/tsconfig.json index 2518dc464a..c49c399e0d 100644 --- a/types/express-brute-memcached/tsconfig.json +++ b/types/express-brute-memcached/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-brute-mongo/tsconfig.json b/types/express-brute-mongo/tsconfig.json index 40a6ef01df..9d21f88e3c 100644 --- a/types/express-brute-mongo/tsconfig.json +++ b/types/express-brute-mongo/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-brute-redis/tsconfig.json b/types/express-brute-redis/tsconfig.json index 387e065dfb..a033b8f228 100644 --- a/types/express-brute-redis/tsconfig.json +++ b/types/express-brute-redis/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "express-brute-redis-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/express-brute/tsconfig.json b/types/express-brute/tsconfig.json index 30be640387..30bf0ccf14 100644 --- a/types/express-brute/tsconfig.json +++ b/types/express-brute/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-debug/tsconfig.json b/types/express-debug/tsconfig.json index f3fa1043b9..9763943be8 100644 --- a/types/express-debug/tsconfig.json +++ b/types/express-debug/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-domain-middleware/tsconfig.json b/types/express-domain-middleware/tsconfig.json index 59b736e887..454fedea14 100644 --- a/types/express-domain-middleware/tsconfig.json +++ b/types/express-domain-middleware/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-enforces-ssl/tsconfig.json b/types/express-enforces-ssl/tsconfig.json index 2fdb6a3472..9e071e54fb 100644 --- a/types/express-enforces-ssl/tsconfig.json +++ b/types/express-enforces-ssl/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "express-enforces-ssl-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/express-fileupload/tsconfig.json b/types/express-fileupload/tsconfig.json index 53c878d430..ecbd735cea 100644 --- a/types/express-fileupload/tsconfig.json +++ b/types/express-fileupload/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "express-fileupload-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/express-flash-2/tsconfig.json b/types/express-flash-2/tsconfig.json index 79fba18d61..6a0ef5a28b 100644 --- a/types/express-flash-2/tsconfig.json +++ b/types/express-flash-2/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-formidable/tsconfig.json b/types/express-formidable/tsconfig.json index 59c0860d7f..9deeebd96f 100644 --- a/types/express-formidable/tsconfig.json +++ b/types/express-formidable/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-graphql/tsconfig.json b/types/express-graphql/tsconfig.json index 8cec14e03c..7924c82706 100644 --- a/types/express-graphql/tsconfig.json +++ b/types/express-graphql/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "express-graphql-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/express-handlebars/tsconfig.json b/types/express-handlebars/tsconfig.json index 9be12b0d0b..9c6da1ba25 100644 --- a/types/express-handlebars/tsconfig.json +++ b/types/express-handlebars/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-jwt/tsconfig.json b/types/express-jwt/tsconfig.json index d0c13dcb3e..f91064aba5 100644 --- a/types/express-jwt/tsconfig.json +++ b/types/express-jwt/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-less/tsconfig.json b/types/express-less/tsconfig.json index 558ccc0e96..c8e44f8204 100644 --- a/types/express-less/tsconfig.json +++ b/types/express-less/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-minify/tsconfig.json b/types/express-minify/tsconfig.json index d6317db044..65c999883e 100644 --- a/types/express-minify/tsconfig.json +++ b/types/express-minify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-mung/tsconfig.json b/types/express-mung/tsconfig.json index 063b52f52d..9dd04b84e6 100644 --- a/types/express-mung/tsconfig.json +++ b/types/express-mung/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-myconnection/tsconfig.json b/types/express-myconnection/tsconfig.json index 5f0d2ca2b6..b68ca7cb51 100644 --- a/types/express-myconnection/tsconfig.json +++ b/types/express-myconnection/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-mysql-session/tsconfig.json b/types/express-mysql-session/tsconfig.json index f897d59bc8..f6d45a934d 100644 --- a/types/express-mysql-session/tsconfig.json +++ b/types/express-mysql-session/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-openapi/tsconfig.json b/types/express-openapi/tsconfig.json index d6fea1fa8a..a6cf4f3530 100644 --- a/types/express-openapi/tsconfig.json +++ b/types/express-openapi/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-partials/tsconfig.json b/types/express-partials/tsconfig.json index 173210c180..72e02dcdee 100644 --- a/types/express-partials/tsconfig.json +++ b/types/express-partials/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-rate-limit/tsconfig.json b/types/express-rate-limit/tsconfig.json index ca3c32c3bb..7dfb99a1d4 100644 --- a/types/express-rate-limit/tsconfig.json +++ b/types/express-rate-limit/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "express-rate-limit-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "express-rate-limit-tests.ts" + ] +} \ No newline at end of file diff --git a/types/express-route-fs/tsconfig.json b/types/express-route-fs/tsconfig.json index 48849326c7..550f0d3b31 100644 --- a/types/express-route-fs/tsconfig.json +++ b/types/express-route-fs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-sanitized/tsconfig.json b/types/express-sanitized/tsconfig.json index 2a1865d32c..9924f49f46 100644 --- a/types/express-sanitized/tsconfig.json +++ b/types/express-sanitized/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "express-sanitized-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/express-serve-static-core/tsconfig.json b/types/express-serve-static-core/tsconfig.json index cdb77c3573..73c2b38c7d 100644 --- a/types/express-serve-static-core/tsconfig.json +++ b/types/express-serve-static-core/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-session/tsconfig.json b/types/express-session/tsconfig.json index 674aaf8385..14c2e75bd5 100644 --- a/types/express-session/tsconfig.json +++ b/types/express-session/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-unless/tsconfig.json b/types/express-unless/tsconfig.json index 2eaf41b0d5..44038c38d3 100644 --- a/types/express-unless/tsconfig.json +++ b/types/express-unless/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express-useragent/tsconfig.json b/types/express-useragent/tsconfig.json index 804b3434a8..3bbc5c5520 100644 --- a/types/express-useragent/tsconfig.json +++ b/types/express-useragent/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/express/tsconfig.json b/types/express/tsconfig.json index 009cb9ec00..b38c24658e 100644 --- a/types/express/tsconfig.json +++ b/types/express/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/extend/tsconfig.json b/types/extend/tsconfig.json index 7e5d04a155..dce058009d 100644 --- a/types/extend/tsconfig.json +++ b/types/extend/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/extended-listbox/tsconfig.json b/types/extended-listbox/tsconfig.json index 2943719a7f..38eda11579 100644 --- a/types/extended-listbox/tsconfig.json +++ b/types/extended-listbox/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/extjs/tsconfig.json b/types/extjs/tsconfig.json index 77e9863d6a..16cf9bcee6 100644 --- a/types/extjs/tsconfig.json +++ b/types/extjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/extract-stack/tsconfig.json b/types/extract-stack/tsconfig.json index ea1f60704b..26f0c50479 100644 --- a/types/extract-stack/tsconfig.json +++ b/types/extract-stack/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "extract-stack-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/extract-text-webpack-plugin/tsconfig.json b/types/extract-text-webpack-plugin/tsconfig.json index af41789949..dc6516b37e 100644 --- a/types/extract-text-webpack-plugin/tsconfig.json +++ b/types/extract-text-webpack-plugin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "extract-text-webpack-plugin-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/extract-zip/tsconfig.json b/types/extract-zip/tsconfig.json index fc69a3fbc0..821ad3b5b3 100644 --- a/types/extract-zip/tsconfig.json +++ b/types/extract-zip/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/eyes/tsconfig.json b/types/eyes/tsconfig.json index 7711a38e68..e0effcdb85 100644 --- a/types/eyes/tsconfig.json +++ b/types/eyes/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/f1/tsconfig.json b/types/f1/tsconfig.json index 501e1649db..e54cd01b58 100644 --- a/types/f1/tsconfig.json +++ b/types/f1/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fabric/tsconfig.json b/types/fabric/tsconfig.json index ab7021e0c9..fc7ce8ddc9 100644 --- a/types/fabric/tsconfig.json +++ b/types/fabric/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/facebook-js-sdk/tsconfig.json b/types/facebook-js-sdk/tsconfig.json index a37eb513c6..2ac8efade5 100644 --- a/types/facebook-js-sdk/tsconfig.json +++ b/types/facebook-js-sdk/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/facebook-pixel/tsconfig.json b/types/facebook-pixel/tsconfig.json index cfbd7e82da..c4cc9bd7fa 100644 --- a/types/facebook-pixel/tsconfig.json +++ b/types/facebook-pixel/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/faker/tsconfig.json b/types/faker/tsconfig.json index 0589e5dc54..33d32cb266 100644 --- a/types/faker/tsconfig.json +++ b/types/faker/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "faker-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/faker/v3/tsconfig.json b/types/faker/v3/tsconfig.json index b95cdea472..5cfa258457 100644 --- a/types/faker/v3/tsconfig.json +++ b/types/faker/v3/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "faker": [ "faker/v3" ] + "faker": [ + "faker/v3" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "faker-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/falcor-express/tsconfig.json b/types/falcor-express/tsconfig.json index 8c31012eff..0f4a36624a 100644 --- a/types/falcor-express/tsconfig.json +++ b/types/falcor-express/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/falcor-http-datasource/tsconfig.json b/types/falcor-http-datasource/tsconfig.json index 8f7327c1f0..114a1e5046 100644 --- a/types/falcor-http-datasource/tsconfig.json +++ b/types/falcor-http-datasource/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/falcor-json-graph/tsconfig.json b/types/falcor-json-graph/tsconfig.json index b746208c00..2753b64668 100644 --- a/types/falcor-json-graph/tsconfig.json +++ b/types/falcor-json-graph/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/falcor-router/tsconfig.json b/types/falcor-router/tsconfig.json index dbcf71fc2c..4f37ee59be 100644 --- a/types/falcor-router/tsconfig.json +++ b/types/falcor-router/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/falcor/tsconfig.json b/types/falcor/tsconfig.json index 450a570778..94084a9884 100644 --- a/types/falcor/tsconfig.json +++ b/types/falcor/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/famous/tsconfig.json b/types/famous/tsconfig.json index efe289fcb5..e2760ecc02 100644 --- a/types/famous/tsconfig.json +++ b/types/famous/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fancybox/tsconfig.json b/types/fancybox/tsconfig.json index 0ed6ebd223..e8011cdd21 100644 --- a/types/fancybox/tsconfig.json +++ b/types/fancybox/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/farbtastic/tsconfig.json b/types/farbtastic/tsconfig.json index 4783d61749..91f8048ddb 100644 --- a/types/farbtastic/tsconfig.json +++ b/types/farbtastic/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fast-diff/tsconfig.json b/types/fast-diff/tsconfig.json index e89403e0ef..0c6f0c4ae2 100644 --- a/types/fast-diff/tsconfig.json +++ b/types/fast-diff/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "fast-diff-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fast-levenshtein/tsconfig.json b/types/fast-levenshtein/tsconfig.json index 1c4790a9ac..1cb0e8b022 100644 --- a/types/fast-levenshtein/tsconfig.json +++ b/types/fast-levenshtein/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fast-list/tsconfig.json b/types/fast-list/tsconfig.json index a639b60ffe..ce90acb3cd 100644 --- a/types/fast-list/tsconfig.json +++ b/types/fast-list/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "fast-list-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fast-stats/tsconfig.json b/types/fast-stats/tsconfig.json index ac2826ea03..c845c63f47 100644 --- a/types/fast-stats/tsconfig.json +++ b/types/fast-stats/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fastclick/tsconfig.json b/types/fastclick/tsconfig.json index 7a0765f6e8..494a7b78d7 100644 --- a/types/fastclick/tsconfig.json +++ b/types/fastclick/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/favico.js/tsconfig.json b/types/favico.js/tsconfig.json index 38c83f7668..15047d8dbf 100644 --- a/types/favico.js/tsconfig.json +++ b/types/favico.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fb/tsconfig.json b/types/fb/tsconfig.json index 73e4d7ebac..9e8582a781 100644 --- a/types/fb/tsconfig.json +++ b/types/fb/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fbemitter/tsconfig.json b/types/fbemitter/tsconfig.json index a5fab49d7d..8032d97e7f 100644 --- a/types/fbemitter/tsconfig.json +++ b/types/fbemitter/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/featherlight/tsconfig.json b/types/featherlight/tsconfig.json index d675953e89..32c72beb9f 100644 --- a/types/featherlight/tsconfig.json +++ b/types/featherlight/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fecha/tsconfig.json b/types/fecha/tsconfig.json index 581630d1b6..8582f99228 100644 --- a/types/fecha/tsconfig.json +++ b/types/fecha/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "fecha-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fetch-jsonp/tsconfig.json b/types/fetch-jsonp/tsconfig.json index 05c3f994ed..885a787152 100644 --- a/types/fetch-jsonp/tsconfig.json +++ b/types/fetch-jsonp/tsconfig.json @@ -1,20 +1,26 @@ { - "compilerOptions": { - "baseUrl": "../", - "typeRoots": ["../"], - "types": [], - "module": "commonjs", - "lib": ["es6", "dom"], - "noUnusedLocals": true, - "noUnusedParameters": true, - "strictNullChecks": true, - "noImplicitAny": true, - "noImplicitThis": true, - "forceConsistentCasingInFileNames": true, - "noEmit": true - }, - "files": [ - "index.d.ts", - "fetch-jsonp-tests.ts" - ] -} + "compilerOptions": { + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noUnusedLocals": true, + "noUnusedParameters": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "noImplicitAny": true, + "noImplicitThis": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true + }, + "files": [ + "index.d.ts", + "fetch-jsonp-tests.ts" + ] +} \ No newline at end of file diff --git a/types/fetch-mock/tsconfig.json b/types/fetch-mock/tsconfig.json index 8d38620419..0c410ec0ae 100644 --- a/types/fetch-mock/tsconfig.json +++ b/types/fetch-mock/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fetch.io/tsconfig.json b/types/fetch.io/tsconfig.json index 8b05d3ca33..b47cf8f3bf 100644 --- a/types/fetch.io/tsconfig.json +++ b/types/fetch.io/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "fetch.io-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ffi/tsconfig.json b/types/ffi/tsconfig.json index 5c4d36cac2..3e89d06e94 100644 --- a/types/ffi/tsconfig.json +++ b/types/ffi/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ffmpeg-static/tsconfig.json b/types/ffmpeg-static/tsconfig.json index 94c7a336b8..8a1635e82c 100644 --- a/types/ffmpeg-static/tsconfig.json +++ b/types/ffmpeg-static/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "ffmpeg-static-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ffprobe-static/tsconfig.json b/types/ffprobe-static/tsconfig.json index 726a8e0feb..fab3495614 100644 --- a/types/ffprobe-static/tsconfig.json +++ b/types/ffprobe-static/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "ffprobe-static-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fhir/tsconfig.json b/types/fhir/tsconfig.json index 4b7b598ca3..8b4970200f 100644 --- a/types/fhir/tsconfig.json +++ b/types/fhir/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fibers/tsconfig.json b/types/fibers/tsconfig.json index c9412a5365..99e4865e3c 100644 --- a/types/fibers/tsconfig.json +++ b/types/fibers/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/field/tsconfig.json b/types/field/tsconfig.json index cad072ad2d..219fa4963d 100644 --- a/types/field/tsconfig.json +++ b/types/field/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/figures/tsconfig.json b/types/figures/tsconfig.json index 595779c25d..720529ea45 100644 --- a/types/figures/tsconfig.json +++ b/types/figures/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "figures-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/file-exists/tsconfig.json b/types/file-exists/tsconfig.json index 4d4cd410b7..ffdee8351c 100644 --- a/types/file-exists/tsconfig.json +++ b/types/file-exists/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "file-exists-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/file-saver/tsconfig.json b/types/file-saver/tsconfig.json index 7eae381719..1dc5a6f8f4 100644 --- a/types/file-saver/tsconfig.json +++ b/types/file-saver/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/file-type/tsconfig.json b/types/file-type/tsconfig.json index 022412fea2..499b81459c 100644 --- a/types/file-type/tsconfig.json +++ b/types/file-type/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/file-url/tsconfig.json b/types/file-url/tsconfig.json index a40e050026..4a6e413ce0 100644 --- a/types/file-url/tsconfig.json +++ b/types/file-url/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/filenamify/tsconfig.json b/types/filenamify/tsconfig.json index aec1f33988..0d41b23a0d 100644 --- a/types/filenamify/tsconfig.json +++ b/types/filenamify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "filenamify-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/filesize/tsconfig.json b/types/filesize/tsconfig.json index e2992f2eb7..350e88d4ad 100644 --- a/types/filesize/tsconfig.json +++ b/types/filesize/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/filesystem/tsconfig.json b/types/filesystem/tsconfig.json index ad6c29ed09..6512ab1028 100644 --- a/types/filesystem/tsconfig.json +++ b/types/filesystem/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/filewriter/tsconfig.json b/types/filewriter/tsconfig.json index 24fee2ed61..7cba1a1289 100644 --- a/types/filewriter/tsconfig.json +++ b/types/filewriter/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fill-pdf/tsconfig.json b/types/fill-pdf/tsconfig.json index f171cd8944..4cbe1dad24 100644 --- a/types/fill-pdf/tsconfig.json +++ b/types/fill-pdf/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/finalhandler/tsconfig.json b/types/finalhandler/tsconfig.json index 75f6e6276e..dd03198a83 100644 --- a/types/finalhandler/tsconfig.json +++ b/types/finalhandler/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/finch/tsconfig.json b/types/finch/tsconfig.json index 886dab1e7a..dfb658a6b2 100644 --- a/types/finch/tsconfig.json +++ b/types/finch/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/find-up/tsconfig.json b/types/find-up/tsconfig.json index 104004639a..ea6bf9d1ad 100644 --- a/types/find-up/tsconfig.json +++ b/types/find-up/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "find-up-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/findup-sync/tsconfig.json b/types/findup-sync/tsconfig.json index 5835f70080..fd44ee7c99 100644 --- a/types/findup-sync/tsconfig.json +++ b/types/findup-sync/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fingerprintjs/tsconfig.json b/types/fingerprintjs/tsconfig.json index 2538e47fab..35166934d4 100644 --- a/types/fingerprintjs/tsconfig.json +++ b/types/fingerprintjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fingerprintjs2/tsconfig.json b/types/fingerprintjs2/tsconfig.json index 30131c07dc..b274c3c488 100644 --- a/types/fingerprintjs2/tsconfig.json +++ b/types/fingerprintjs2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "fingerprintjs2-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/firebase-client/tsconfig.json b/types/firebase-client/tsconfig.json index b439fb8310..4510d3f56d 100644 --- a/types/firebase-client/tsconfig.json +++ b/types/firebase-client/tsconfig.json @@ -8,12 +8,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/firebase-token-generator/tsconfig.json b/types/firebase-token-generator/tsconfig.json index 9c0c0251ad..e6620557a2 100644 --- a/types/firebase-token-generator/tsconfig.json +++ b/types/firebase-token-generator/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/firebase/tsconfig.json b/types/firebase/tsconfig.json index 306e8bdb6e..4695310ec3 100644 --- a/types/firebase/tsconfig.json +++ b/types/firebase/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/firebird/tsconfig.json b/types/firebird/tsconfig.json index 705913437a..e5e2d1b6ac 100644 --- a/types/firebird/tsconfig.json +++ b/types/firebird/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "firebird-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/firefox/tsconfig.json b/types/firefox/tsconfig.json index b9172a1c32..44ef93219e 100644 --- a/types/firefox/tsconfig.json +++ b/types/firefox/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/firmata/tsconfig.json b/types/firmata/tsconfig.json index 3b0d4b97cb..bf87f0bba2 100644 --- a/types/firmata/tsconfig.json +++ b/types/firmata/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "firmata-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "firmata-tests.ts" + ] } \ No newline at end of file diff --git a/types/first-mate/tsconfig.json b/types/first-mate/tsconfig.json index edba8406ca..3d6aadabec 100644 --- a/types/first-mate/tsconfig.json +++ b/types/first-mate/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "first-mate-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/first-mate/v4/tsconfig.json b/types/first-mate/v4/tsconfig.json index 62bbc43837..59868ddb2c 100644 --- a/types/first-mate/v4/tsconfig.json +++ b/types/first-mate/v4/tsconfig.json @@ -8,13 +8,18 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "event-kit": [ "event-kit/v1" ], - "first-mate": [ "first-mate/v4" ] + "event-kit": [ + "event-kit/v1" + ], + "first-mate": [ + "first-mate/v4" + ] }, "types": [], "noEmit": true, @@ -24,4 +29,4 @@ "index.d.ts", "first-mate-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fixed-data-table/tsconfig.json b/types/fixed-data-table/tsconfig.json index 622eaa1d36..02ba840d0b 100644 --- a/types/fixed-data-table/tsconfig.json +++ b/types/fixed-data-table/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/flake-idgen/tsconfig.json b/types/flake-idgen/tsconfig.json index 32c2e540f0..0275fb0c23 100644 --- a/types/flake-idgen/tsconfig.json +++ b/types/flake-idgen/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/flat/tsconfig.json b/types/flat/tsconfig.json index 19684cdd32..7cc1467b3f 100644 --- a/types/flat/tsconfig.json +++ b/types/flat/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/flatbuffers/tsconfig.json b/types/flatbuffers/tsconfig.json index 9d60089890..fe3421fa5b 100644 --- a/types/flatbuffers/tsconfig.json +++ b/types/flatbuffers/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/flatpickr/tsconfig.json b/types/flatpickr/tsconfig.json index f74514f614..7980eb3627 100644 --- a/types/flatpickr/tsconfig.json +++ b/types/flatpickr/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/flatpickr/v2/tsconfig.json b/types/flatpickr/v2/tsconfig.json index 704678c0fd..844aea45cd 100644 --- a/types/flatpickr/v2/tsconfig.json +++ b/types/flatpickr/v2/tsconfig.json @@ -8,12 +8,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "flatpickr": [ "flatpickr/v2" ] + "flatpickr": [ + "flatpickr/v2" + ] }, "types": [], "noEmit": true, @@ -23,4 +26,4 @@ "index.d.ts", "flatpickr-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/flexslider/tsconfig.json b/types/flexslider/tsconfig.json index 12c0cc9692..4ced617dd6 100644 --- a/types/flexslider/tsconfig.json +++ b/types/flexslider/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "flexslider-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/flickity/tsconfig.json b/types/flickity/tsconfig.json index 6123aa5990..e6d8dcef00 100644 --- a/types/flickity/tsconfig.json +++ b/types/flickity/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/flight/tsconfig.json b/types/flight/tsconfig.json index ef6310f96d..18060e6903 100644 --- a/types/flight/tsconfig.json +++ b/types/flight/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/flightplan/tsconfig.json b/types/flightplan/tsconfig.json index 5fe870dd59..be4eb41ec5 100644 --- a/types/flightplan/tsconfig.json +++ b/types/flightplan/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/flipsnap/tsconfig.json b/types/flipsnap/tsconfig.json index d8b39baa72..435b186eb4 100644 --- a/types/flipsnap/tsconfig.json +++ b/types/flipsnap/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/flot/tsconfig.json b/types/flot/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/flot/tsconfig.json +++ b/types/flot/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/flowjs/tsconfig.json b/types/flowjs/tsconfig.json index b00c01cc54..e797332c13 100644 --- a/types/flowjs/tsconfig.json +++ b/types/flowjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fluent-ffmpeg/tsconfig.json b/types/fluent-ffmpeg/tsconfig.json index 03dae683d6..657e97adf6 100644 --- a/types/fluent-ffmpeg/tsconfig.json +++ b/types/fluent-ffmpeg/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "fluent-ffmpeg-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "fluent-ffmpeg-tests.ts" + ] +} \ No newline at end of file diff --git a/types/flux-standard-action/tsconfig.json b/types/flux-standard-action/tsconfig.json index 74ce6e361f..050e130d5a 100644 --- a/types/flux-standard-action/tsconfig.json +++ b/types/flux-standard-action/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/flux/tsconfig.json b/types/flux/tsconfig.json index 540faa9d2b..dd78eff24c 100644 --- a/types/flux/tsconfig.json +++ b/types/flux/tsconfig.json @@ -14,6 +14,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "forceConsistentCasingInFileNames": true, "noEmit": true }, diff --git a/types/fluxxor/tsconfig.json b/types/fluxxor/tsconfig.json index e6bbcbc2ac..7bc0068190 100644 --- a/types/fluxxor/tsconfig.json +++ b/types/fluxxor/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fm-websync/tsconfig.json b/types/fm-websync/tsconfig.json index 1ec64935da..c0b2f14445 100644 --- a/types/fm-websync/tsconfig.json +++ b/types/fm-websync/tsconfig.json @@ -4,12 +4,14 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "lib": [ - "es6", "dom" + "es6", + "dom" ], "types": [], "noEmit": true, @@ -19,4 +21,4 @@ "index.d.ts", "fm-websync-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fontfaceobserver/tsconfig.json b/types/fontfaceobserver/tsconfig.json index e9a03f3541..3695935f67 100644 --- a/types/fontfaceobserver/tsconfig.json +++ b/types/fontfaceobserver/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fontoxml/tsconfig.json b/types/fontoxml/tsconfig.json index b7501d4042..6d62b697a0 100644 --- a/types/fontoxml/tsconfig.json +++ b/types/fontoxml/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/forever-monitor/tsconfig.json b/types/forever-monitor/tsconfig.json index 363ce2c8a0..30bf59fa63 100644 --- a/types/forever-monitor/tsconfig.json +++ b/types/forever-monitor/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "forever-monitor-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/forge-di/tsconfig.json b/types/forge-di/tsconfig.json index 4a16ed5dcf..14aa632323 100644 --- a/types/forge-di/tsconfig.json +++ b/types/forge-di/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/form-data/tsconfig.json b/types/form-data/tsconfig.json index e97ed4a2c6..d1cdfefaf0 100644 --- a/types/form-data/tsconfig.json +++ b/types/form-data/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/form-serializer/tsconfig.json b/types/form-serializer/tsconfig.json index 8041f14ca5..0e7f5bba79 100644 --- a/types/form-serializer/tsconfig.json +++ b/types/form-serializer/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/format-unicorn/tsconfig.json b/types/format-unicorn/tsconfig.json index 29d4f9a2e6..84864d0f7e 100644 --- a/types/format-unicorn/tsconfig.json +++ b/types/format-unicorn/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/formidable/tsconfig.json b/types/formidable/tsconfig.json index 4e495b8b04..e5b9877247 100644 --- a/types/formidable/tsconfig.json +++ b/types/formidable/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/forwarded/tsconfig.json b/types/forwarded/tsconfig.json index 9df0387d33..58cbcdee21 100644 --- a/types/forwarded/tsconfig.json +++ b/types/forwarded/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "forwarded-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fossil-delta/tsconfig.json b/types/fossil-delta/tsconfig.json index fa6922eea9..29b7c7e933 100644 --- a/types/fossil-delta/tsconfig.json +++ b/types/fossil-delta/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/foundation-sites/tsconfig.json b/types/foundation-sites/tsconfig.json index 60e0a90e80..301e0bc66b 100644 --- a/types/foundation-sites/tsconfig.json +++ b/types/foundation-sites/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/foundation/tsconfig.json b/types/foundation/tsconfig.json index 2c912b6c88..5ddb587b52 100644 --- a/types/foundation/tsconfig.json +++ b/types/foundation/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fpsmeter/tsconfig.json b/types/fpsmeter/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/fpsmeter/tsconfig.json +++ b/types/fpsmeter/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/framebus/tsconfig.json b/types/framebus/tsconfig.json index 6444134bb7..eec501f70b 100644 --- a/types/framebus/tsconfig.json +++ b/types/framebus/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "framebus-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/freedom/tsconfig.json b/types/freedom/tsconfig.json index 3be620d6cd..dd0bd2e13c 100644 --- a/types/freedom/tsconfig.json +++ b/types/freedom/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/freeport/tsconfig.json b/types/freeport/tsconfig.json index b475d43da6..f6b6ef7b66 100644 --- a/types/freeport/tsconfig.json +++ b/types/freeport/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "freeport-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fresh/tsconfig.json b/types/fresh/tsconfig.json index 94d14b21a5..298a5c3fae 100644 --- a/types/fresh/tsconfig.json +++ b/types/fresh/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "fresh-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/friendly-errors-webpack-plugin/tsconfig.json b/types/friendly-errors-webpack-plugin/tsconfig.json index b9077f2994..f519c3b954 100644 --- a/types/friendly-errors-webpack-plugin/tsconfig.json +++ b/types/friendly-errors-webpack-plugin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "friendly-errors-webpack-plugin-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/frisby/tsconfig.json b/types/frisby/tsconfig.json index 5ff4c5d7f1..725ebf48f1 100644 --- a/types/frisby/tsconfig.json +++ b/types/frisby/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/from/tsconfig.json b/types/from/tsconfig.json index 7aa11b5c54..649c0d1866 100644 --- a/types/from/tsconfig.json +++ b/types/from/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/from2/tsconfig.json b/types/from2/tsconfig.json index e632fe943f..641eda4cf5 100644 --- a/types/from2/tsconfig.json +++ b/types/from2/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "from2-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fromjs/tsconfig.json b/types/fromjs/tsconfig.json index 92b3621ebb..4c5e05b65a 100644 --- a/types/fromjs/tsconfig.json +++ b/types/fromjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fromnow/tsconfig.json b/types/fromnow/tsconfig.json index 48462d06eb..56e959f305 100644 --- a/types/fromnow/tsconfig.json +++ b/types/fromnow/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fs-ext/tsconfig.json b/types/fs-ext/tsconfig.json index ef216c4072..18df84572d 100644 --- a/types/fs-ext/tsconfig.json +++ b/types/fs-ext/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fs-extra-promise-es6/tsconfig.json b/types/fs-extra-promise-es6/tsconfig.json index 877953e8d6..b7e6f664f2 100644 --- a/types/fs-extra-promise-es6/tsconfig.json +++ b/types/fs-extra-promise-es6/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fs-extra-promise/tsconfig.json b/types/fs-extra-promise/tsconfig.json index a233a1224c..e0f6cc3450 100644 --- a/types/fs-extra-promise/tsconfig.json +++ b/types/fs-extra-promise/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fs-extra/tsconfig.json b/types/fs-extra/tsconfig.json index 818b38896c..d43823dee8 100644 --- a/types/fs-extra/tsconfig.json +++ b/types/fs-extra/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "fs-extra-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": false, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "fs-extra-tests.ts" + ] +} \ No newline at end of file diff --git a/types/fs-finder/tsconfig.json b/types/fs-finder/tsconfig.json index 12014d7788..300e950feb 100644 --- a/types/fs-finder/tsconfig.json +++ b/types/fs-finder/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fs-mock/tsconfig.json b/types/fs-mock/tsconfig.json index 55e0dc8136..f468b62a55 100644 --- a/types/fs-mock/tsconfig.json +++ b/types/fs-mock/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fs-promise/tsconfig.json b/types/fs-promise/tsconfig.json index 0c1c0f6a74..377d4623d9 100644 --- a/types/fs-promise/tsconfig.json +++ b/types/fs-promise/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fs-readdir-recursive/tsconfig.json b/types/fs-readdir-recursive/tsconfig.json index 8578708856..d33141f321 100644 --- a/types/fs-readdir-recursive/tsconfig.json +++ b/types/fs-readdir-recursive/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "fs-readdir-recursive-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fsevents/tsconfig.json b/types/fsevents/tsconfig.json index 24f9efb3f3..2937460740 100644 --- a/types/fsevents/tsconfig.json +++ b/types/fsevents/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "fsevents-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ftdomdelegate/tsconfig.json b/types/ftdomdelegate/tsconfig.json index f68033bfb3..0220e74665 100644 --- a/types/ftdomdelegate/tsconfig.json +++ b/types/ftdomdelegate/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ftp/tsconfig.json b/types/ftp/tsconfig.json index bdae80b4ae..6a0f57a1fc 100644 --- a/types/ftp/tsconfig.json +++ b/types/ftp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ftpd/tsconfig.json b/types/ftpd/tsconfig.json index 16849e26c0..24702aad8b 100644 --- a/types/ftpd/tsconfig.json +++ b/types/ftpd/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fullcalendar/tsconfig.json b/types/fullcalendar/tsconfig.json index e57ff2b39c..289c13f80e 100644 --- a/types/fullcalendar/tsconfig.json +++ b/types/fullcalendar/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "fullcalendar-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fullcalendar/v1/tsconfig.json b/types/fullcalendar/v1/tsconfig.json index 2389638d1c..c6612c5858 100644 --- a/types/fullcalendar/v1/tsconfig.json +++ b/types/fullcalendar/v1/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" @@ -25,4 +26,4 @@ "index.d.ts", "fullcalendar-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/fullname/tsconfig.json b/types/fullname/tsconfig.json index b1bbc33f6f..a086692e32 100644 --- a/types/fullname/tsconfig.json +++ b/types/fullname/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fullpage.js/tsconfig.json b/types/fullpage.js/tsconfig.json index 0b756489f1..c8a11e250e 100644 --- a/types/fullpage.js/tsconfig.json +++ b/types/fullpage.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fuse/tsconfig.json b/types/fuse/tsconfig.json index 8007ac69ea..8f6b34f5d3 100644 --- a/types/fuse/tsconfig.json +++ b/types/fuse/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fusioncharts/tsconfig.json b/types/fusioncharts/tsconfig.json index 970238d9a8..f41f53056a 100644 --- a/types/fusioncharts/tsconfig.json +++ b/types/fusioncharts/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fuzzaldrin-plus/tsconfig.json b/types/fuzzaldrin-plus/tsconfig.json index 9b8024fdab..02e987df6d 100644 --- a/types/fuzzaldrin-plus/tsconfig.json +++ b/types/fuzzaldrin-plus/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fuzzaldrin/tsconfig.json b/types/fuzzaldrin/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/fuzzaldrin/tsconfig.json +++ b/types/fuzzaldrin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fuzzyset/tsconfig.json b/types/fuzzyset/tsconfig.json index 1ca77e5aa2..4ccf3898d4 100644 --- a/types/fuzzyset/tsconfig.json +++ b/types/fuzzyset/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/fxn/tsconfig.json b/types/fxn/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/fxn/tsconfig.json +++ b/types/fxn/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gae.channel.api/tsconfig.json b/types/gae.channel.api/tsconfig.json index 4ee5f96211..37424f5ae4 100644 --- a/types/gae.channel.api/tsconfig.json +++ b/types/gae.channel.api/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gamepad/tsconfig.json b/types/gamepad/tsconfig.json index 3f6b376405..4cb63f3d80 100644 --- a/types/gamepad/tsconfig.json +++ b/types/gamepad/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gamequery/tsconfig.json b/types/gamequery/tsconfig.json index fe46c19286..9acbbdf6ea 100644 --- a/types/gamequery/tsconfig.json +++ b/types/gamequery/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gandi-livedns/tsconfig.json b/types/gandi-livedns/tsconfig.json index d63ce7bcc4..709af92138 100644 --- a/types/gandi-livedns/tsconfig.json +++ b/types/gandi-livedns/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gapi.analytics/tsconfig.json b/types/gapi.analytics/tsconfig.json index 15bf7f626b..7ea23b6882 100644 --- a/types/gapi.analytics/tsconfig.json +++ b/types/gapi.analytics/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gapi.auth2/tsconfig.json b/types/gapi.auth2/tsconfig.json index 18d8b4dc70..8757ec8333 100644 --- a/types/gapi.auth2/tsconfig.json +++ b/types/gapi.auth2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gapi.calendar/tsconfig.json b/types/gapi.calendar/tsconfig.json index 7613ee5b3d..2d138f7ac9 100644 --- a/types/gapi.calendar/tsconfig.json +++ b/types/gapi.calendar/tsconfig.json @@ -1,18 +1,24 @@ { - "compilerOptions": { - "baseUrl": "../", - "typeRoots": ["../"], - "types": [], - "module": "commonjs", - "lib": ["es6", "dom"], - "strictNullChecks": true, - "noImplicitAny": true, - "noImplicitThis": true, - "forceConsistentCasingInFileNames": true, - "noEmit": true - }, - "files": [ - "index.d.ts", - "gapi.calendar-tests.ts" - ] -} + "compilerOptions": { + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "strictNullChecks": true, + "strictFunctionTypes": true, + "noImplicitAny": true, + "noImplicitThis": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true + }, + "files": [ + "index.d.ts", + "gapi.calendar-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.drive/tsconfig.json b/types/gapi.drive/tsconfig.json index b66df1103c..4e5f340f58 100644 --- a/types/gapi.drive/tsconfig.json +++ b/types/gapi.drive/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "gapi.drive-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gapi.pagespeedonline/tsconfig.json b/types/gapi.pagespeedonline/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/gapi.pagespeedonline/tsconfig.json +++ b/types/gapi.pagespeedonline/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gapi.people/tsconfig.json b/types/gapi.people/tsconfig.json index 93fcfc59b6..1fbbd65218 100644 --- a/types/gapi.people/tsconfig.json +++ b/types/gapi.people/tsconfig.json @@ -1,18 +1,24 @@ { - "compilerOptions": { - "baseUrl": "../", - "typeRoots": ["../"], - "types": [], - "module": "commonjs", - "lib": ["es6", "dom"], - "strictNullChecks": true, - "noImplicitAny": true, - "noImplicitThis": true, - "forceConsistentCasingInFileNames": true, - "noEmit": true - }, - "files": [ - "index.d.ts", - "gapi.people-tests.ts" - ] -} + "compilerOptions": { + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "strictNullChecks": true, + "strictFunctionTypes": true, + "noImplicitAny": true, + "noImplicitThis": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true + }, + "files": [ + "index.d.ts", + "gapi.people-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.plus/tsconfig.json b/types/gapi.plus/tsconfig.json index 1fc2401de1..1ecc447591 100644 --- a/types/gapi.plus/tsconfig.json +++ b/types/gapi.plus/tsconfig.json @@ -1,18 +1,24 @@ { - "compilerOptions": { - "baseUrl": "../", - "typeRoots": ["../"], - "types": [], - "module": "commonjs", - "lib": ["es6", "dom"], - "strictNullChecks": true, - "noImplicitAny": true, - "noImplicitThis": true, - "forceConsistentCasingInFileNames": true, - "noEmit": true - }, - "files": [ - "index.d.ts", - "gapi.plus-tests.ts" - ] -} + "compilerOptions": { + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "strictNullChecks": true, + "strictFunctionTypes": true, + "noImplicitAny": true, + "noImplicitThis": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true + }, + "files": [ + "index.d.ts", + "gapi.plus-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.translate/tsconfig.json b/types/gapi.translate/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/gapi.translate/tsconfig.json +++ b/types/gapi.translate/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gapi.urlshortener/tsconfig.json b/types/gapi.urlshortener/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/gapi.urlshortener/tsconfig.json +++ b/types/gapi.urlshortener/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gapi.youtube/tsconfig.json b/types/gapi.youtube/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/gapi.youtube/tsconfig.json +++ b/types/gapi.youtube/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gapi.youtubeanalytics/tsconfig.json b/types/gapi.youtubeanalytics/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/gapi.youtubeanalytics/tsconfig.json +++ b/types/gapi.youtubeanalytics/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gapi/tsconfig.json b/types/gapi/tsconfig.json index 22f5738c1a..18f0162c51 100644 --- a/types/gapi/tsconfig.json +++ b/types/gapi/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "gapi-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gaussian/tsconfig.json b/types/gaussian/tsconfig.json index 3334676bac..30e363a435 100644 --- a/types/gaussian/tsconfig.json +++ b/types/gaussian/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/generic-functions/tsconfig.json b/types/generic-functions/tsconfig.json index 7a76665e2c..7476e09445 100644 --- a/types/generic-functions/tsconfig.json +++ b/types/generic-functions/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/generic-pool/tsconfig.json b/types/generic-pool/tsconfig.json index 1110c67eff..070951dc15 100644 --- a/types/generic-pool/tsconfig.json +++ b/types/generic-pool/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "generic-pool-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gently/tsconfig.json b/types/gently/tsconfig.json index 3f0c264b9f..0bb239c702 100644 --- a/types/gently/tsconfig.json +++ b/types/gently/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/geodesy/tsconfig.json b/types/geodesy/tsconfig.json index 65a4153f5f..3b785b83fb 100644 --- a/types/geodesy/tsconfig.json +++ b/types/geodesy/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "geodesy-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/geoip-lite/tsconfig.json b/types/geoip-lite/tsconfig.json index 25bcb989be..28668d80f3 100644 --- a/types/geoip-lite/tsconfig.json +++ b/types/geoip-lite/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/geojson/tsconfig.json b/types/geojson/tsconfig.json index 46bc9b0450..071f17c65d 100644 --- a/types/geojson/tsconfig.json +++ b/types/geojson/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/geojson2osm/tsconfig.json b/types/geojson2osm/tsconfig.json index a6259af88a..98f1b66e4e 100644 --- a/types/geojson2osm/tsconfig.json +++ b/types/geojson2osm/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/geokdbush/tsconfig.json b/types/geokdbush/tsconfig.json index 9f00c027da..655591f4e8 100644 --- a/types/geokdbush/tsconfig.json +++ b/types/geokdbush/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "geokdbush-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/geolib/tsconfig.json b/types/geolib/tsconfig.json index 54bb2ee947..233fe708bf 100644 --- a/types/geolib/tsconfig.json +++ b/types/geolib/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/geometry-dom/tsconfig.json b/types/geometry-dom/tsconfig.json index 7662d96888..f845e8f11a 100644 --- a/types/geometry-dom/tsconfig.json +++ b/types/geometry-dom/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/geopattern/tsconfig.json b/types/geopattern/tsconfig.json index d37cd7a2f8..6804c9374d 100644 --- a/types/geopattern/tsconfig.json +++ b/types/geopattern/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/get-node-dimensions/tsconfig.json b/types/get-node-dimensions/tsconfig.json index 74d9b030bf..63d26048ed 100644 --- a/types/get-node-dimensions/tsconfig.json +++ b/types/get-node-dimensions/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "get-node-dimensions-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/get-port/tsconfig.json b/types/get-port/tsconfig.json index 754878e2bf..c221d4e9fd 100644 --- a/types/get-port/tsconfig.json +++ b/types/get-port/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/get-stdin/tsconfig.json b/types/get-stdin/tsconfig.json index f21c0a9957..1052b48f11 100644 --- a/types/get-stdin/tsconfig.json +++ b/types/get-stdin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/get-stream/tsconfig.json b/types/get-stream/tsconfig.json index 766ce0ae4a..7d3b35d42d 100644 --- a/types/get-stream/tsconfig.json +++ b/types/get-stream/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "get-stream-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/getos/tsconfig.json b/types/getos/tsconfig.json index 765383ed1c..fbcc09cf87 100644 --- a/types/getos/tsconfig.json +++ b/types/getos/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "getos-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gettext.js/tsconfig.json b/types/gettext.js/tsconfig.json index d01ec061ab..3812c6244c 100644 --- a/types/gettext.js/tsconfig.json +++ b/types/gettext.js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "gettext.js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gijgo/tsconfig.json b/types/gijgo/tsconfig.json index 963daa33cd..36530a70b9 100644 --- a/types/gijgo/tsconfig.json +++ b/types/gijgo/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/giraffe/tsconfig.json b/types/giraffe/tsconfig.json index 7c6be0462b..0602e0fbb5 100644 --- a/types/giraffe/tsconfig.json +++ b/types/giraffe/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/git-config/tsconfig.json b/types/git-config/tsconfig.json index c3751c6d2d..48e528d1cc 100644 --- a/types/git-config/tsconfig.json +++ b/types/git-config/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/git-remote-origin-url/tsconfig.json b/types/git-remote-origin-url/tsconfig.json index 8b9ea1a86e..063c49bfe3 100644 --- a/types/git-remote-origin-url/tsconfig.json +++ b/types/git-remote-origin-url/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/git-rev/tsconfig.json b/types/git-rev/tsconfig.json index 072f480fc1..95396b43c2 100644 --- a/types/git-rev/tsconfig.json +++ b/types/git-rev/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "git-rev-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/git/tsconfig.json b/types/git/tsconfig.json index 09054681dd..397dfc4ac3 100644 --- a/types/git/tsconfig.json +++ b/types/git/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gl-matrix/tsconfig.json b/types/gl-matrix/tsconfig.json index a382485f8e..ec26405a08 100644 --- a/types/gl-matrix/tsconfig.json +++ b/types/gl-matrix/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gldatepicker/tsconfig.json b/types/gldatepicker/tsconfig.json index 9066fad091..93ae16bff0 100644 --- a/types/gldatepicker/tsconfig.json +++ b/types/gldatepicker/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/glidejs/tsconfig.json b/types/glidejs/tsconfig.json index 96969d09a5..5659d4d355 100644 --- a/types/glidejs/tsconfig.json +++ b/types/glidejs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/glob-base/tsconfig.json b/types/glob-base/tsconfig.json index b7244ca371..b5cd160770 100644 --- a/types/glob-base/tsconfig.json +++ b/types/glob-base/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "glob-base-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/glob-expand/tsconfig.json b/types/glob-expand/tsconfig.json index ec9d652bb3..4c028e61f8 100644 --- a/types/glob-expand/tsconfig.json +++ b/types/glob-expand/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/glob-stream/tsconfig.json b/types/glob-stream/tsconfig.json index f5e6289a1d..06d8e7ca71 100644 --- a/types/glob-stream/tsconfig.json +++ b/types/glob-stream/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/glob/tsconfig.json b/types/glob/tsconfig.json index dedec1a402..46faaf718d 100644 --- a/types/glob/tsconfig.json +++ b/types/glob/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/global-tunnel-ng/tsconfig.json b/types/global-tunnel-ng/tsconfig.json index fa1974819d..e36f343474 100644 --- a/types/global-tunnel-ng/tsconfig.json +++ b/types/global-tunnel-ng/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "global-tunnel-ng-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/globalize-compiler/tsconfig.json b/types/globalize-compiler/tsconfig.json index 99fac4d895..7c4ac18956 100644 --- a/types/globalize-compiler/tsconfig.json +++ b/types/globalize-compiler/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/globalize/tsconfig.json b/types/globalize/tsconfig.json index 8bda5fdad9..b83bbf7b09 100644 --- a/types/globalize/tsconfig.json +++ b/types/globalize/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/globby/tsconfig.json b/types/globby/tsconfig.json index 23fd250a6a..5cc0a3fe62 100644 --- a/types/globby/tsconfig.json +++ b/types/globby/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "globby-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/globule/tsconfig.json b/types/globule/tsconfig.json index 55317b01f8..9e410fc88b 100644 --- a/types/globule/tsconfig.json +++ b/types/globule/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gm/tsconfig.json b/types/gm/tsconfig.json index 1a525d6d0c..234c57dbf5 100644 --- a/types/gm/tsconfig.json +++ b/types/gm/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/go/tsconfig.json b/types/go/tsconfig.json index b4c220d790..3c8880bab1 100644 --- a/types/go/tsconfig.json +++ b/types/go/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/google-adwords-scripts/tsconfig.json b/types/google-adwords-scripts/tsconfig.json index 30a952d8a1..748cf4a694 100644 --- a/types/google-adwords-scripts/tsconfig.json +++ b/types/google-adwords-scripts/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "google-adwords-scripts-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/google-apps-script/tsconfig.json b/types/google-apps-script/tsconfig.json index 6ac2098e21..d61786dd17 100644 --- a/types/google-apps-script/tsconfig.json +++ b/types/google-apps-script/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/google-closure-compiler/tsconfig.json b/types/google-closure-compiler/tsconfig.json index 80ccf11444..a4c312936e 100644 --- a/types/google-closure-compiler/tsconfig.json +++ b/types/google-closure-compiler/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/google-cloud__datastore/tsconfig.json b/types/google-cloud__datastore/tsconfig.json index d5934e0ab2..a65f9d3218 100644 --- a/types/google-cloud__datastore/tsconfig.json +++ b/types/google-cloud__datastore/tsconfig.json @@ -1,25 +1,28 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "paths": { - "@google-cloud/datastore": ["google-cloud__datastore"] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": false, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "paths": { + "@google-cloud/datastore": [ + "google-cloud__datastore" + ] + }, + "noEmit": true, + "forceConsistentCasingInFileNames": true }, - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "google-cloud__datastore-tests.ts" - ] -} + "files": [ + "index.d.ts", + "google-cloud__datastore-tests.ts" + ] +} \ No newline at end of file diff --git a/types/google-cloud__storage/tsconfig.json b/types/google-cloud__storage/tsconfig.json index f579440bb8..fe05cce995 100644 --- a/types/google-cloud__storage/tsconfig.json +++ b/types/google-cloud__storage/tsconfig.json @@ -1,25 +1,28 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types" : [], - "paths":{ - "@google-cloud/storage": ["google-cloud__storage"] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "paths": { + "@google-cloud/storage": [ + "google-cloud__storage" + ] + }, + "noEmit": true, + "forceConsistentCasingInFileNames": true }, - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "google-cloud__storage-tests.ts" - ] -} + "files": [ + "index.d.ts", + "google-cloud__storage-tests.ts" + ] +} \ No newline at end of file diff --git a/types/google-drive-realtime-api/tsconfig.json b/types/google-drive-realtime-api/tsconfig.json index 3541f0f1ef..17d47ba0dc 100644 --- a/types/google-drive-realtime-api/tsconfig.json +++ b/types/google-drive-realtime-api/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/google-earth/tsconfig.json b/types/google-earth/tsconfig.json index 1496596eb6..1ed0784589 100644 --- a/types/google-earth/tsconfig.json +++ b/types/google-earth/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/google-images/tsconfig.json b/types/google-images/tsconfig.json index 692c9ac5a5..017e9116b8 100644 --- a/types/google-images/tsconfig.json +++ b/types/google-images/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "google-images-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/google-libphonenumber/tsconfig.json b/types/google-libphonenumber/tsconfig.json index 2ff1e2713d..e6e1f550b1 100644 --- a/types/google-libphonenumber/tsconfig.json +++ b/types/google-libphonenumber/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/google-map-react/tsconfig.json b/types/google-map-react/tsconfig.json index 2e2a37aaf6..0fc3a3107f 100644 --- a/types/google-map-react/tsconfig.json +++ b/types/google-map-react/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -21,4 +22,4 @@ "index.d.ts", "google-map-react-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/google-maps/tsconfig.json b/types/google-maps/tsconfig.json index 98a70abfb0..e43916774d 100644 --- a/types/google-maps/tsconfig.json +++ b/types/google-maps/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/google-protobuf/tsconfig.json b/types/google-protobuf/tsconfig.json index ce43a71c33..b20bd4433e 100644 --- a/types/google-protobuf/tsconfig.json +++ b/types/google-protobuf/tsconfig.json @@ -1,34 +1,35 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "google/protobuf/compiler/plugin_pb.d.ts", - "google/protobuf/any_pb.d.ts", - "google/protobuf/api_pb.d.ts", - "google/protobuf/descriptor_pb.d.ts", - "google/protobuf/duration_pb.d.ts", - "google/protobuf/empty_pb.d.ts", - "google/protobuf/field_mask_pb.d.ts", - "google/protobuf/source_context_pb.d.ts", - "google/protobuf/struct_pb.d.ts", - "google/protobuf/timestamp_pb.d.ts", - "google/protobuf/type_pb.d.ts", - "google/protobuf/wrappers_pb.d.ts", - "google-protobuf-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "google/protobuf/compiler/plugin_pb.d.ts", + "google/protobuf/any_pb.d.ts", + "google/protobuf/api_pb.d.ts", + "google/protobuf/descriptor_pb.d.ts", + "google/protobuf/duration_pb.d.ts", + "google/protobuf/empty_pb.d.ts", + "google/protobuf/field_mask_pb.d.ts", + "google/protobuf/source_context_pb.d.ts", + "google/protobuf/struct_pb.d.ts", + "google/protobuf/timestamp_pb.d.ts", + "google/protobuf/type_pb.d.ts", + "google/protobuf/wrappers_pb.d.ts", + "google-protobuf-tests.ts" + ] +} \ No newline at end of file diff --git a/types/google.analytics/tsconfig.json b/types/google.analytics/tsconfig.json index debcac08fc..45e71871b6 100644 --- a/types/google.analytics/tsconfig.json +++ b/types/google.analytics/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/google.feeds/tsconfig.json b/types/google.feeds/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/google.feeds/tsconfig.json +++ b/types/google.feeds/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/google.fonts/tsconfig.json b/types/google.fonts/tsconfig.json index 2df5048a3b..c4aa4943d3 100644 --- a/types/google.fonts/tsconfig.json +++ b/types/google.fonts/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/google.geolocation/tsconfig.json b/types/google.geolocation/tsconfig.json index 250bba19f9..71c8196435 100644 --- a/types/google.geolocation/tsconfig.json +++ b/types/google.geolocation/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/google.picker/tsconfig.json b/types/google.picker/tsconfig.json index e32f3bf2c2..33502e21db 100644 --- a/types/google.picker/tsconfig.json +++ b/types/google.picker/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/google.visualization/tsconfig.json b/types/google.visualization/tsconfig.json index 9747b09170..ad7ea5ef90 100644 --- a/types/google.visualization/tsconfig.json +++ b/types/google.visualization/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/googlemaps.infobubble/tsconfig.json b/types/googlemaps.infobubble/tsconfig.json index 0904eec585..12fd60b566 100644 --- a/types/googlemaps.infobubble/tsconfig.json +++ b/types/googlemaps.infobubble/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/googlemaps/tsconfig.json b/types/googlemaps/tsconfig.json index 442301a80a..7cd79e5d79 100644 --- a/types/googlemaps/tsconfig.json +++ b/types/googlemaps/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/got/tsconfig.json b/types/got/tsconfig.json index be639b3c17..743441a0b9 100644 --- a/types/got/tsconfig.json +++ b/types/got/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "got-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/graceful-fs/tsconfig.json b/types/graceful-fs/tsconfig.json index 3e05046de2..6c2ec1116e 100644 --- a/types/graceful-fs/tsconfig.json +++ b/types/graceful-fs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "graceful-fs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/graceful-fs/v2/tsconfig.json b/types/graceful-fs/v2/tsconfig.json index 014374b912..d22f218ed4 100644 --- a/types/graceful-fs/v2/tsconfig.json +++ b/types/graceful-fs/v2/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "graceful-fs": ["graceful-fs/v2"] + "graceful-fs": [ + "graceful-fs/v2" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "graceful-fs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/graham_scan/tsconfig.json b/types/graham_scan/tsconfig.json index bc26ec09e2..3a7a6efef0 100644 --- a/types/graham_scan/tsconfig.json +++ b/types/graham_scan/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/graphene-pk11/tsconfig.json b/types/graphene-pk11/tsconfig.json index 6bf2174878..1d66008bb3 100644 --- a/types/graphene-pk11/tsconfig.json +++ b/types/graphene-pk11/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/graphite-udp/tsconfig.json b/types/graphite-udp/tsconfig.json index 50f3e17459..936a1657f4 100644 --- a/types/graphite-udp/tsconfig.json +++ b/types/graphite-udp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "graphite-udp-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/graphlib/tsconfig.json b/types/graphlib/tsconfig.json index 06cf2189c6..994651b021 100644 --- a/types/graphlib/tsconfig.json +++ b/types/graphlib/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/graphql-date/tsconfig.json b/types/graphql-date/tsconfig.json index 6d39a621b9..c55674e246 100644 --- a/types/graphql-date/tsconfig.json +++ b/types/graphql-date/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/graphql-relay/tsconfig.json b/types/graphql-relay/tsconfig.json index 3e6900c2c3..bf5b3ba6b6 100644 --- a/types/graphql-relay/tsconfig.json +++ b/types/graphql-relay/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/graphql-type-json/tsconfig.json b/types/graphql-type-json/tsconfig.json index 4120681b12..479196f574 100644 --- a/types/graphql-type-json/tsconfig.json +++ b/types/graphql-type-json/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "graphql-type-json-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/graphql/tsconfig.json b/types/graphql/tsconfig.json index 3d48b9b553..72f0de0665 100644 --- a/types/graphql/tsconfig.json +++ b/types/graphql/tsconfig.json @@ -2,11 +2,13 @@ "compilerOptions": { "module": "commonjs", "lib": [ - "es6", "esnext.asynciterable" + "es6", + "esnext.asynciterable" ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +21,4 @@ "index.d.ts", "graphql-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/graphviz/tsconfig.json b/types/graphviz/tsconfig.json index 9b993c093c..ec9897523b 100644 --- a/types/graphviz/tsconfig.json +++ b/types/graphviz/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gravatar-url/tsconfig.json b/types/gravatar-url/tsconfig.json index 5448fceb40..8e61e09590 100644 --- a/types/gravatar-url/tsconfig.json +++ b/types/gravatar-url/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "gravatar-url-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gravatar/tsconfig.json b/types/gravatar/tsconfig.json index 0b7e72453d..d90f933a40 100644 --- a/types/gravatar/tsconfig.json +++ b/types/gravatar/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/greasemonkey/tsconfig.json b/types/greasemonkey/tsconfig.json index 4aa237e2ae..f051af1bc4 100644 --- a/types/greasemonkey/tsconfig.json +++ b/types/greasemonkey/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/grecaptcha/tsconfig.json b/types/grecaptcha/tsconfig.json index 806102deaf..0265247984 100644 --- a/types/grecaptcha/tsconfig.json +++ b/types/grecaptcha/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gregorian-calendar/tsconfig.json b/types/gregorian-calendar/tsconfig.json index 7c0be46566..2cad93c35f 100644 --- a/types/gregorian-calendar/tsconfig.json +++ b/types/gregorian-calendar/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/griddle-react/tsconfig.json b/types/griddle-react/tsconfig.json index 3de8b9abda..8f233e8e23 100644 --- a/types/griddle-react/tsconfig.json +++ b/types/griddle-react/tsconfig.json @@ -1,27 +1,28 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "jsx": "preserve", - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "test/index.tsx", - "test/CustomColumnComponent.tsx", - "test/CustomFilterComponent.tsx", - "test/CustomHeaderComponent.tsx" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "jsx": "preserve", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "strictFunctionTypes": false, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "test/index.tsx", + "test/CustomColumnComponent.tsx", + "test/CustomFilterComponent.tsx", + "test/CustomHeaderComponent.tsx" + ] +} \ No newline at end of file diff --git a/types/gridfs-stream/tsconfig.json b/types/gridfs-stream/tsconfig.json index c985c6c2ff..c6d9bffb02 100644 --- a/types/gridfs-stream/tsconfig.json +++ b/types/gridfs-stream/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gridstack/tsconfig.json b/types/gridstack/tsconfig.json index 428ea32f48..1e4548ab3a 100644 --- a/types/gridstack/tsconfig.json +++ b/types/gridstack/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/grunt/tsconfig.json b/types/grunt/tsconfig.json index c7a688e9b8..af329ced3c 100644 --- a/types/grunt/tsconfig.json +++ b/types/grunt/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gsap/tsconfig.json b/types/gsap/tsconfig.json index 3fa7eecc03..85301a0877 100644 --- a/types/gsap/tsconfig.json +++ b/types/gsap/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gulp-angular-templatecache/tsconfig.json b/types/gulp-angular-templatecache/tsconfig.json index 869b08da9a..b494e68ba8 100644 --- a/types/gulp-angular-templatecache/tsconfig.json +++ b/types/gulp-angular-templatecache/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-autoprefixer/tsconfig.json b/types/gulp-autoprefixer/tsconfig.json index 35ad131268..dfaa5a3f0e 100644 --- a/types/gulp-autoprefixer/tsconfig.json +++ b/types/gulp-autoprefixer/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-babel/tsconfig.json b/types/gulp-babel/tsconfig.json index 66c958ba30..e177253e87 100644 --- a/types/gulp-babel/tsconfig.json +++ b/types/gulp-babel/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/gulp-batch/tsconfig.json b/types/gulp-batch/tsconfig.json index 1406137b98..bb64157b23 100644 --- a/types/gulp-batch/tsconfig.json +++ b/types/gulp-batch/tsconfig.json @@ -5,18 +5,21 @@ ], "compilerOptions": { "module": "commonjs", - "lib": [ + "lib": [ "es6" ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-cache/tsconfig.json b/types/gulp-cache/tsconfig.json index 368718e5d1..0012ddcd48 100644 --- a/types/gulp-cache/tsconfig.json +++ b/types/gulp-cache/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-cached/tsconfig.json b/types/gulp-cached/tsconfig.json index 77ef9c0aa1..7195fa2007 100644 --- a/types/gulp-cached/tsconfig.json +++ b/types/gulp-cached/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-changed/tsconfig.json b/types/gulp-changed/tsconfig.json index ab8e90a21d..c3bf70b010 100644 --- a/types/gulp-changed/tsconfig.json +++ b/types/gulp-changed/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-cheerio/tsconfig.json b/types/gulp-cheerio/tsconfig.json index d6cdfaac69..227362df78 100644 --- a/types/gulp-cheerio/tsconfig.json +++ b/types/gulp-cheerio/tsconfig.json @@ -8,12 +8,15 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-coffeeify/tsconfig.json b/types/gulp-coffeeify/tsconfig.json index 67e213beda..87113d7415 100644 --- a/types/gulp-coffeeify/tsconfig.json +++ b/types/gulp-coffeeify/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-coffeelint/tsconfig.json b/types/gulp-coffeelint/tsconfig.json index f1d388ddb7..6a570592f3 100644 --- a/types/gulp-coffeelint/tsconfig.json +++ b/types/gulp-coffeelint/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-concat/tsconfig.json b/types/gulp-concat/tsconfig.json index 0d4c2e1c52..0be8e7ed81 100644 --- a/types/gulp-concat/tsconfig.json +++ b/types/gulp-concat/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-connect/tsconfig.json b/types/gulp-connect/tsconfig.json index 750605f81f..fca451bd85 100644 --- a/types/gulp-connect/tsconfig.json +++ b/types/gulp-connect/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "gulp-connect-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gulp-copy/tsconfig.json b/types/gulp-copy/tsconfig.json index 0111f96820..cc162d9266 100644 --- a/types/gulp-copy/tsconfig.json +++ b/types/gulp-copy/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-csso/tsconfig.json b/types/gulp-csso/tsconfig.json index 9519eac9b6..79361ceb1b 100644 --- a/types/gulp-csso/tsconfig.json +++ b/types/gulp-csso/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-debug/tsconfig.json b/types/gulp-debug/tsconfig.json index dac4ba0725..8302ca5c8b 100644 --- a/types/gulp-debug/tsconfig.json +++ b/types/gulp-debug/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-diff/tsconfig.json b/types/gulp-diff/tsconfig.json index fd166337b2..9e4474532a 100644 --- a/types/gulp-diff/tsconfig.json +++ b/types/gulp-diff/tsconfig.json @@ -1,18 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": ["es6"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": ["../"], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "gulp-diff-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "gulp-diff-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gulp-dtsm/tsconfig.json b/types/gulp-dtsm/tsconfig.json index 872e75dd19..3fd7d615a4 100644 --- a/types/gulp-dtsm/tsconfig.json +++ b/types/gulp-dtsm/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-espower/tsconfig.json b/types/gulp-espower/tsconfig.json index 92f4388198..7418c01526 100644 --- a/types/gulp-espower/tsconfig.json +++ b/types/gulp-espower/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-file-include/tsconfig.json b/types/gulp-file-include/tsconfig.json index d08b25fa2e..5fe64f435c 100644 --- a/types/gulp-file-include/tsconfig.json +++ b/types/gulp-file-include/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-filter/tsconfig.json b/types/gulp-filter/tsconfig.json index c48a36bb69..f68c124ec5 100644 --- a/types/gulp-filter/tsconfig.json +++ b/types/gulp-filter/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-flatten/tsconfig.json b/types/gulp-flatten/tsconfig.json index 72d3110eaa..2c189387f7 100644 --- a/types/gulp-flatten/tsconfig.json +++ b/types/gulp-flatten/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-gh-pages/tsconfig.json b/types/gulp-gh-pages/tsconfig.json index 44cffa6d99..76784cfd3d 100644 --- a/types/gulp-gh-pages/tsconfig.json +++ b/types/gulp-gh-pages/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-gzip/tsconfig.json b/types/gulp-gzip/tsconfig.json index 4eea3f8d72..f72b05fb7e 100644 --- a/types/gulp-gzip/tsconfig.json +++ b/types/gulp-gzip/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-help-doc/tsconfig.json b/types/gulp-help-doc/tsconfig.json index 283808fe7b..07185baa30 100644 --- a/types/gulp-help-doc/tsconfig.json +++ b/types/gulp-help-doc/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-help/tsconfig.json b/types/gulp-help/tsconfig.json index f8e499e793..e8247d3ae3 100644 --- a/types/gulp-help/tsconfig.json +++ b/types/gulp-help/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-html-replace/tsconfig.json b/types/gulp-html-replace/tsconfig.json index e074dcc546..0c5f9d408a 100644 --- a/types/gulp-html-replace/tsconfig.json +++ b/types/gulp-html-replace/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-htmlmin/tsconfig.json b/types/gulp-htmlmin/tsconfig.json index 964d06a7a1..f45a7a0721 100644 --- a/types/gulp-htmlmin/tsconfig.json +++ b/types/gulp-htmlmin/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-if/tsconfig.json b/types/gulp-if/tsconfig.json index 6ea4d6a30b..c78250c104 100644 --- a/types/gulp-if/tsconfig.json +++ b/types/gulp-if/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-inject/tsconfig.json b/types/gulp-inject/tsconfig.json index c243f76d43..1d5bd5080b 100644 --- a/types/gulp-inject/tsconfig.json +++ b/types/gulp-inject/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-insert/tsconfig.json b/types/gulp-insert/tsconfig.json index aa58483b8a..aca1a98ef4 100644 --- a/types/gulp-insert/tsconfig.json +++ b/types/gulp-insert/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-install/tsconfig.json b/types/gulp-install/tsconfig.json index 79ecdd6cf1..d5a0bdce77 100644 --- a/types/gulp-install/tsconfig.json +++ b/types/gulp-install/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-istanbul/tsconfig.json b/types/gulp-istanbul/tsconfig.json index f860b33143..837285ca19 100644 --- a/types/gulp-istanbul/tsconfig.json +++ b/types/gulp-istanbul/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-jade/tsconfig.json b/types/gulp-jade/tsconfig.json index 6b9c5c22c4..87dca8e4b2 100644 --- a/types/gulp-jade/tsconfig.json +++ b/types/gulp-jade/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-jasmine-browser/tsconfig.json b/types/gulp-jasmine-browser/tsconfig.json index c347d86d35..06b97335ea 100644 --- a/types/gulp-jasmine-browser/tsconfig.json +++ b/types/gulp-jasmine-browser/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-json-editor/tsconfig.json b/types/gulp-json-editor/tsconfig.json index 8d6021c6f8..1375d471be 100644 --- a/types/gulp-json-editor/tsconfig.json +++ b/types/gulp-json-editor/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-jspm/tsconfig.json b/types/gulp-jspm/tsconfig.json index e52189d99a..4c6b72f8dc 100644 --- a/types/gulp-jspm/tsconfig.json +++ b/types/gulp-jspm/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-less/tsconfig.json b/types/gulp-less/tsconfig.json index 4c9110c114..f171058365 100644 --- a/types/gulp-less/tsconfig.json +++ b/types/gulp-less/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-load-plugins/tsconfig.json b/types/gulp-load-plugins/tsconfig.json index 4e3ea0ba8c..ba1a293ff2 100644 --- a/types/gulp-load-plugins/tsconfig.json +++ b/types/gulp-load-plugins/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-minify-css/tsconfig.json b/types/gulp-minify-css/tsconfig.json index 0b04647f28..d819c27e96 100644 --- a/types/gulp-minify-css/tsconfig.json +++ b/types/gulp-minify-css/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-minify-html/tsconfig.json b/types/gulp-minify-html/tsconfig.json index 2b5f377a6c..76d980ea8d 100644 --- a/types/gulp-minify-html/tsconfig.json +++ b/types/gulp-minify-html/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-mocha/tsconfig.json b/types/gulp-mocha/tsconfig.json index 3405efd531..273fda23a6 100644 --- a/types/gulp-mocha/tsconfig.json +++ b/types/gulp-mocha/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-modernizr/tsconfig.json b/types/gulp-modernizr/tsconfig.json index 28ad6706e0..a2f50619a3 100644 --- a/types/gulp-modernizr/tsconfig.json +++ b/types/gulp-modernizr/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "gulp-modernizr-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gulp-msbuild/tsconfig.json b/types/gulp-msbuild/tsconfig.json index ce9a595c77..e999f3b231 100644 --- a/types/gulp-msbuild/tsconfig.json +++ b/types/gulp-msbuild/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "gulp-msbuild-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gulp-mustache/tsconfig.json b/types/gulp-mustache/tsconfig.json index df7c5074b4..f461c5d525 100644 --- a/types/gulp-mustache/tsconfig.json +++ b/types/gulp-mustache/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "gulp-mustache-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gulp-newer/tsconfig.json b/types/gulp-newer/tsconfig.json index 53fd3b5fd5..6b5366c6c6 100644 --- a/types/gulp-newer/tsconfig.json +++ b/types/gulp-newer/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-ng-annotate/tsconfig.json b/types/gulp-ng-annotate/tsconfig.json index b8b4d4fc6d..63cd5003e0 100644 --- a/types/gulp-ng-annotate/tsconfig.json +++ b/types/gulp-ng-annotate/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-nodemon/tsconfig.json b/types/gulp-nodemon/tsconfig.json index 9af358b797..46bb88dd05 100644 --- a/types/gulp-nodemon/tsconfig.json +++ b/types/gulp-nodemon/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-nunit-runner/tsconfig.json b/types/gulp-nunit-runner/tsconfig.json index d2a44506a1..97a0a7a8cb 100644 --- a/types/gulp-nunit-runner/tsconfig.json +++ b/types/gulp-nunit-runner/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "gulp-nunit-runner-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gulp-plumber/tsconfig.json b/types/gulp-plumber/tsconfig.json index 9f00169b06..2ba3904c26 100644 --- a/types/gulp-plumber/tsconfig.json +++ b/types/gulp-plumber/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-protractor/tsconfig.json b/types/gulp-protractor/tsconfig.json index 667da98b75..26c6e1555d 100644 --- a/types/gulp-protractor/tsconfig.json +++ b/types/gulp-protractor/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-pug/tsconfig.json b/types/gulp-pug/tsconfig.json index 58c3140198..b3b2597c1e 100644 --- a/types/gulp-pug/tsconfig.json +++ b/types/gulp-pug/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "gulp-pug-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gulp-remember/tsconfig.json b/types/gulp-remember/tsconfig.json index f8ae755cca..b4aab06a9a 100644 --- a/types/gulp-remember/tsconfig.json +++ b/types/gulp-remember/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-rename/tsconfig.json b/types/gulp-rename/tsconfig.json index 7276696b70..41e681e145 100644 --- a/types/gulp-rename/tsconfig.json +++ b/types/gulp-rename/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-replace/tsconfig.json b/types/gulp-replace/tsconfig.json index 8b78b80dcc..dc8f1136a6 100644 --- a/types/gulp-replace/tsconfig.json +++ b/types/gulp-replace/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-rev-replace/tsconfig.json b/types/gulp-rev-replace/tsconfig.json index dfbd0d502f..3b2af8ba17 100644 --- a/types/gulp-rev-replace/tsconfig.json +++ b/types/gulp-rev-replace/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-rev/tsconfig.json b/types/gulp-rev/tsconfig.json index b1f1715d28..067b8c92f9 100644 --- a/types/gulp-rev/tsconfig.json +++ b/types/gulp-rev/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-ruby-sass/tsconfig.json b/types/gulp-ruby-sass/tsconfig.json index b6c74a2dd8..75580fe986 100644 --- a/types/gulp-ruby-sass/tsconfig.json +++ b/types/gulp-ruby-sass/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-sass/tsconfig.json b/types/gulp-sass/tsconfig.json index bec0180414..efe0eabef2 100644 --- a/types/gulp-sass/tsconfig.json +++ b/types/gulp-sass/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-shell/tsconfig.json b/types/gulp-shell/tsconfig.json index ac0bc0cf3a..98b9e954ff 100644 --- a/types/gulp-shell/tsconfig.json +++ b/types/gulp-shell/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-size/tsconfig.json b/types/gulp-size/tsconfig.json index 0e924d2b94..f8cd52f4a8 100644 --- a/types/gulp-size/tsconfig.json +++ b/types/gulp-size/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "gulp-size-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gulp-sort/tsconfig.json b/types/gulp-sort/tsconfig.json index 1921a1884c..0292a80e42 100644 --- a/types/gulp-sort/tsconfig.json +++ b/types/gulp-sort/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-sourcemaps/tsconfig.json b/types/gulp-sourcemaps/tsconfig.json index 9ce9bf808f..f5120afcf2 100644 --- a/types/gulp-sourcemaps/tsconfig.json +++ b/types/gulp-sourcemaps/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-strip-debug/tsconfig.json b/types/gulp-strip-debug/tsconfig.json index 572113b3cf..6fbe80a409 100644 --- a/types/gulp-strip-debug/tsconfig.json +++ b/types/gulp-strip-debug/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-svg-sprite/tsconfig.json b/types/gulp-svg-sprite/tsconfig.json index 82b417934a..7e048c457d 100644 --- a/types/gulp-svg-sprite/tsconfig.json +++ b/types/gulp-svg-sprite/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-task-listing/tsconfig.json b/types/gulp-task-listing/tsconfig.json index fb06f0a926..28850e65d1 100644 --- a/types/gulp-task-listing/tsconfig.json +++ b/types/gulp-task-listing/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-tsd/tsconfig.json b/types/gulp-tsd/tsconfig.json index 813e29fd74..b935f8e5e5 100644 --- a/types/gulp-tsd/tsconfig.json +++ b/types/gulp-tsd/tsconfig.json @@ -7,15 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] - }, - "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-tslint/tsconfig.json b/types/gulp-tslint/tsconfig.json index 46befdb599..117173c83d 100644 --- a/types/gulp-tslint/tsconfig.json +++ b/types/gulp-tslint/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-typedoc/tsconfig.json b/types/gulp-typedoc/tsconfig.json index f60478c1fa..5fce39a6e5 100644 --- a/types/gulp-typedoc/tsconfig.json +++ b/types/gulp-typedoc/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-uglify/tsconfig.json b/types/gulp-uglify/tsconfig.json index 16668a9b9f..72fd35c65e 100644 --- a/types/gulp-uglify/tsconfig.json +++ b/types/gulp-uglify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "composer.d.ts", "gulp-uglify-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gulp-useref/tsconfig.json b/types/gulp-useref/tsconfig.json index 67e8c2aaed..ee962cd194 100644 --- a/types/gulp-useref/tsconfig.json +++ b/types/gulp-useref/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-util/tsconfig.json b/types/gulp-util/tsconfig.json index 44b42dbad1..66cca3e125 100644 --- a/types/gulp-util/tsconfig.json +++ b/types/gulp-util/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-watch/tsconfig.json b/types/gulp-watch/tsconfig.json index 9822101d39..9dc56e0f0c 100644 --- a/types/gulp-watch/tsconfig.json +++ b/types/gulp-watch/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/gulp-zip/tsconfig.json b/types/gulp-zip/tsconfig.json index 621b4764a8..a5f75d75fa 100644 --- a/types/gulp-zip/tsconfig.json +++ b/types/gulp-zip/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "gulp-zip-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gulp/tsconfig.json b/types/gulp/tsconfig.json index 08bee78c82..b0ca843318 100644 --- a/types/gulp/tsconfig.json +++ b/types/gulp/tsconfig.json @@ -14,6 +14,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "forceConsistentCasingInFileNames": true, "noEmit": true }, @@ -21,4 +22,4 @@ "index.d.ts", "test/index.ts" ] -} +} \ No newline at end of file diff --git a/types/gulp/v3/tsconfig.json b/types/gulp/v3/tsconfig.json index 242192adaa..1a7d4547b7 100644 --- a/types/gulp/v3/tsconfig.json +++ b/types/gulp/v3/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" @@ -27,4 +28,4 @@ "index.d.ts", "gulp-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/gzip-size/tsconfig.json b/types/gzip-size/tsconfig.json index dd3dbc82c7..6d244facf6 100644 --- a/types/gzip-size/tsconfig.json +++ b/types/gzip-size/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/h2o2/tsconfig.json b/types/h2o2/tsconfig.json index 1abbac7fb0..57ff1914fc 100644 --- a/types/h2o2/tsconfig.json +++ b/types/h2o2/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/halfred/tsconfig.json b/types/halfred/tsconfig.json index 4e002ebff3..7d75a822cb 100644 --- a/types/halfred/tsconfig.json +++ b/types/halfred/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/halogen/tsconfig.json b/types/halogen/tsconfig.json index 1de37993c0..f234a05b87 100644 --- a/types/halogen/tsconfig.json +++ b/types/halogen/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/hammerjs/tsconfig.json b/types/hammerjs/tsconfig.json index 866e8d0a1f..c0ba95885c 100644 --- a/types/hammerjs/tsconfig.json +++ b/types/hammerjs/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/hammerjs/v1/tsconfig.json b/types/hammerjs/v1/tsconfig.json index 72ca2c960d..aeabf7ff07 100644 --- a/types/hammerjs/v1/tsconfig.json +++ b/types/hammerjs/v1/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/handlebars/tsconfig.json b/types/handlebars/tsconfig.json index ecb3323d57..5f874f3996 100644 --- a/types/handlebars/tsconfig.json +++ b/types/handlebars/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/handlebars/v1/tsconfig.json b/types/handlebars/v1/tsconfig.json index d16d87d96d..96818b903b 100644 --- a/types/handlebars/v1/tsconfig.json +++ b/types/handlebars/v1/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/handsontable/tsconfig.json b/types/handsontable/tsconfig.json index 03348ea9b7..afe6365050 100644 --- a/types/handsontable/tsconfig.json +++ b/types/handsontable/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/hapi-auth-basic/tsconfig.json b/types/hapi-auth-basic/tsconfig.json index 9e26f11c47..b1fb0f67e0 100644 --- a/types/hapi-auth-basic/tsconfig.json +++ b/types/hapi-auth-basic/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "hapi-auth-basic-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/hapi-auth-jwt2/tsconfig.json b/types/hapi-auth-jwt2/tsconfig.json index 727deb9122..3bdb692c52 100644 --- a/types/hapi-auth-jwt2/tsconfig.json +++ b/types/hapi-auth-jwt2/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "hapi-auth-jwt2-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/hapi-decorators/tsconfig.json b/types/hapi-decorators/tsconfig.json index ebd36039d9..fb06375c84 100644 --- a/types/hapi-decorators/tsconfig.json +++ b/types/hapi-decorators/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "experimentalDecorators": true, "baseUrl": "../", "typeRoots": [ diff --git a/types/hapi/tsconfig.json b/types/hapi/tsconfig.json index 39ff8e810c..2a3f7dbd5d 100644 --- a/types/hapi/tsconfig.json +++ b/types/hapi/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -93,4 +94,4 @@ "test/server/table.ts", "test/server/version.ts" ] -} +} \ No newline at end of file diff --git a/types/hapi/v12/tsconfig.json b/types/hapi/v12/tsconfig.json index 4659b7940a..c461c7d288 100644 --- a/types/hapi/v12/tsconfig.json +++ b/types/hapi/v12/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/hapi/v15/tsconfig.json b/types/hapi/v15/tsconfig.json index 4a54b80605..154b6a8f0e 100644 --- a/types/hapi/v15/tsconfig.json +++ b/types/hapi/v15/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/hapi/v8/tsconfig.json b/types/hapi/v8/tsconfig.json index 721be0b070..7eb82005fd 100644 --- a/types/hapi/v8/tsconfig.json +++ b/types/hapi/v8/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/har-format/tsconfig.json b/types/har-format/tsconfig.json index 7a22f7eb17..f5029a7c18 100644 --- a/types/har-format/tsconfig.json +++ b/types/har-format/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/hard-rejection/tsconfig.json b/types/hard-rejection/tsconfig.json index cb43da5708..6c83946da7 100644 --- a/types/hard-rejection/tsconfig.json +++ b/types/hard-rejection/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "hard-rejection-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/harmony-proxy/tsconfig.json b/types/harmony-proxy/tsconfig.json index 4be32be65d..2190dd8e23 100644 --- a/types/harmony-proxy/tsconfig.json +++ b/types/harmony-proxy/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/has-ansi/tsconfig.json b/types/has-ansi/tsconfig.json index e4d14969af..d5b52a8974 100644 --- a/types/has-ansi/tsconfig.json +++ b/types/has-ansi/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "has-ansi-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/hash-file/tsconfig.json b/types/hash-file/tsconfig.json index 2f3b07265c..67f8cfcf8c 100644 --- a/types/hash-file/tsconfig.json +++ b/types/hash-file/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "hash-file-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/hash-stream/tsconfig.json b/types/hash-stream/tsconfig.json index e158a9bf82..e1846bd608 100644 --- a/types/hash-stream/tsconfig.json +++ b/types/hash-stream/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "hash-stream-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/hasha/tsconfig.json b/types/hasha/tsconfig.json index 3aeb5973e8..fe359d64a5 100644 --- a/types/hasha/tsconfig.json +++ b/types/hasha/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "hasha-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/hasher/tsconfig.json b/types/hasher/tsconfig.json index cd51d136fa..dae70f6dc4 100644 --- a/types/hasher/tsconfig.json +++ b/types/hasher/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/hashids/tsconfig.json b/types/hashids/tsconfig.json index 3c81324c7f..4d118acf1b 100644 --- a/types/hashids/tsconfig.json +++ b/types/hashids/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/hashmap/tsconfig.json b/types/hashmap/tsconfig.json index 5b8d8112dd..f2d00e0999 100644 --- a/types/hashmap/tsconfig.json +++ b/types/hashmap/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/hashmap/v1/tsconfig.json b/types/hashmap/v1/tsconfig.json index b82818e3ad..a085a1d89d 100644 --- a/types/hashmap/v1/tsconfig.json +++ b/types/hashmap/v1/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/hashset/tsconfig.json b/types/hashset/tsconfig.json index dea06062fb..7bf84fd5f1 100644 --- a/types/hashset/tsconfig.json +++ b/types/hashset/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/hashtable/tsconfig.json b/types/hashtable/tsconfig.json index f33b7d90a4..497a9448bf 100644 --- a/types/hashtable/tsconfig.json +++ b/types/hashtable/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/haversine/tsconfig.json b/types/haversine/tsconfig.json index aaf7c243c2..6b8c2dfaf6 100644 --- a/types/haversine/tsconfig.json +++ b/types/haversine/tsconfig.json @@ -1,20 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": ["es6"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "haversine-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "haversine-tests.ts" + ] +} \ No newline at end of file diff --git a/types/he/tsconfig.json b/types/he/tsconfig.json index 95e4f0e6d4..6e02234def 100644 --- a/types/he/tsconfig.json +++ b/types/he/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/headroom/tsconfig.json b/types/headroom/tsconfig.json index ef85c733d5..eb03738511 100644 --- a/types/headroom/tsconfig.json +++ b/types/headroom/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/heap/tsconfig.json b/types/heap/tsconfig.json index 6948c04509..ed8f269f6e 100644 --- a/types/heap/tsconfig.json +++ b/types/heap/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/heatmap.js/tsconfig.json b/types/heatmap.js/tsconfig.json index 055cfad536..06fa28716f 100644 --- a/types/heatmap.js/tsconfig.json +++ b/types/heatmap.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/hedron/tsconfig.json b/types/hedron/tsconfig.json index bc9aa5b828..bed62b30c6 100644 --- a/types/hedron/tsconfig.json +++ b/types/hedron/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/hellojs/tsconfig.json b/types/hellojs/tsconfig.json index 971acf84e8..c3baa66581 100644 --- a/types/hellojs/tsconfig.json +++ b/types/hellojs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/hellosign-embedded/tsconfig.json b/types/hellosign-embedded/tsconfig.json index 2c28465905..4712a41816 100644 --- a/types/hellosign-embedded/tsconfig.json +++ b/types/hellosign-embedded/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/helmet/tsconfig.json b/types/helmet/tsconfig.json index a44452e11a..0a85e89659 100644 --- a/types/helmet/tsconfig.json +++ b/types/helmet/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/heredatalens/tsconfig.json b/types/heredatalens/tsconfig.json index 9c60b13753..5a2650b93f 100644 --- a/types/heredatalens/tsconfig.json +++ b/types/heredatalens/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/heremaps/tsconfig.json b/types/heremaps/tsconfig.json index 85f5ebfdc9..7f83e9f79c 100644 --- a/types/heremaps/tsconfig.json +++ b/types/heremaps/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/heroku-logger/tsconfig.json b/types/heroku-logger/tsconfig.json index 2bcbe3a08b..802ac41a2a 100644 --- a/types/heroku-logger/tsconfig.json +++ b/types/heroku-logger/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "heroku-logger-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/hexo-bunyan/tsconfig.json b/types/hexo-bunyan/tsconfig.json index a2cbd4e379..abf333c6bf 100644 --- a/types/hexo-bunyan/tsconfig.json +++ b/types/hexo-bunyan/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -18,4 +19,4 @@ "files": [ "index.d.ts" ] -} +} \ No newline at end of file diff --git a/types/hexo-fs/tsconfig.json b/types/hexo-fs/tsconfig.json index fe667f65e4..4d8c00b74e 100644 --- a/types/hexo-fs/tsconfig.json +++ b/types/hexo-fs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "hexo-fs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/hexo-log/tsconfig.json b/types/hexo-log/tsconfig.json index 88d5965c59..b0af5da25b 100644 --- a/types/hexo-log/tsconfig.json +++ b/types/hexo-log/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "hexo-log-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/highcharts-ng/tsconfig.json b/types/highcharts-ng/tsconfig.json index a5620e430b..6f313e502a 100644 --- a/types/highcharts-ng/tsconfig.json +++ b/types/highcharts-ng/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/highcharts/tsconfig.json b/types/highcharts/tsconfig.json index 93645d284b..ed1e69ef0c 100644 --- a/types/highcharts/tsconfig.json +++ b/types/highcharts/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -33,4 +34,4 @@ "test/no-data-to-display.ts", "test/offline-exporting.ts" ] -} +} \ No newline at end of file diff --git a/types/highland/tsconfig.json b/types/highland/tsconfig.json index 30a728d380..369326fd9f 100644 --- a/types/highland/tsconfig.json +++ b/types/highland/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/highlight.js/tsconfig.json b/types/highlight.js/tsconfig.json index 19772348e6..5f5d2ae011 100644 --- a/types/highlight.js/tsconfig.json +++ b/types/highlight.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/highlight.js/v7/tsconfig.json b/types/highlight.js/v7/tsconfig.json index fd254e62a6..10570c9f69 100644 --- a/types/highlight.js/v7/tsconfig.json +++ b/types/highlight.js/v7/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/hiredis/tsconfig.json b/types/hiredis/tsconfig.json index 8f58ff798a..927fdef018 100644 --- a/types/hiredis/tsconfig.json +++ b/types/hiredis/tsconfig.json @@ -6,6 +6,7 @@ ], "noImplicitAny": true, "strictNullChecks": true, + "strictFunctionTypes": true, "noImplicitThis": true, "baseUrl": "../", "typeRoots": [ @@ -19,4 +20,4 @@ "index.d.ts", "hiredis-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/history.js/tsconfig.json b/types/history.js/tsconfig.json index f906d0884c..4834d24b35 100644 --- a/types/history.js/tsconfig.json +++ b/types/history.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/history/tsconfig.json b/types/history/tsconfig.json index 107d79617e..f5638c9603 100644 --- a/types/history/tsconfig.json +++ b/types/history/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -28,4 +29,4 @@ "LocationUtils.d.ts", "PathUtils.d.ts" ] -} +} \ No newline at end of file diff --git a/types/history/v2/tsconfig.json b/types/history/v2/tsconfig.json index 342bb3d25d..4ee5476d05 100644 --- a/types/history/v2/tsconfig.json +++ b/types/history/v2/tsconfig.json @@ -8,14 +8,19 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "types": [], "paths": { - "history": ["history/v2"], - "history/*": ["history/v2/*"] + "history": [ + "history/v2" + ], + "history/*": [ + "history/v2/*" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true @@ -33,4 +38,4 @@ "lib/useBeforeUnload.d.ts", "lib/useQueries.d.ts" ] -} +} \ No newline at end of file diff --git a/types/history/v3/tsconfig.json b/types/history/v3/tsconfig.json index 7523fbbbe9..2075f25a15 100644 --- a/types/history/v3/tsconfig.json +++ b/types/history/v3/tsconfig.json @@ -8,14 +8,19 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "types": [], "paths": { - "history": ["history/v3"], - "history/*": ["history/v3/*"] + "history": [ + "history/v3" + ], + "history/*": [ + "history/v3/*" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true @@ -32,4 +37,4 @@ "lib/useBeforeUnload.d.ts", "lib/useQueries.d.ts" ] -} +} \ No newline at end of file diff --git a/types/hjson/tsconfig.json b/types/hjson/tsconfig.json index 6312b53457..5e6692a9bd 100644 --- a/types/hjson/tsconfig.json +++ b/types/hjson/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "hjson-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/hls.js/tsconfig.json b/types/hls.js/tsconfig.json index 6d7aab4ca9..ed68ee32f3 100644 --- a/types/hls.js/tsconfig.json +++ b/types/hls.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "hls.js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/hoek/tsconfig.json b/types/hoek/tsconfig.json index 2b605d3ae4..06617f251f 100644 --- a/types/hoek/tsconfig.json +++ b/types/hoek/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/homeworks/tsconfig.json b/types/homeworks/tsconfig.json index d29bd1acfe..e26de44673 100644 --- a/types/homeworks/tsconfig.json +++ b/types/homeworks/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "homeworks-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/hooker/tsconfig.json b/types/hooker/tsconfig.json index f746a7c7a4..446825fb97 100644 --- a/types/hooker/tsconfig.json +++ b/types/hooker/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/hopscotch/tsconfig.json b/types/hopscotch/tsconfig.json index f6c2fb553b..d9fb810610 100644 --- a/types/hopscotch/tsconfig.json +++ b/types/hopscotch/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/howler/tsconfig.json b/types/howler/tsconfig.json index 0c5e07318f..00ec7b93d7 100644 --- a/types/howler/tsconfig.json +++ b/types/howler/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/hpp/tsconfig.json b/types/hpp/tsconfig.json index e355d78a8c..0193bd22d2 100644 --- a/types/hpp/tsconfig.json +++ b/types/hpp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "hpp-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/html-entities/tsconfig.json b/types/html-entities/tsconfig.json index f563445dea..ad38016e35 100644 --- a/types/html-entities/tsconfig.json +++ b/types/html-entities/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/html-minifier/tsconfig.json b/types/html-minifier/tsconfig.json index 4baadf6c99..129a20c71f 100644 --- a/types/html-minifier/tsconfig.json +++ b/types/html-minifier/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/html-pdf/tsconfig.json b/types/html-pdf/tsconfig.json index 2c000624ad..e6936f2588 100644 --- a/types/html-pdf/tsconfig.json +++ b/types/html-pdf/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/html-to-text/tsconfig.json b/types/html-to-text/tsconfig.json index 36f0c09901..089a8e128e 100644 --- a/types/html-to-text/tsconfig.json +++ b/types/html-to-text/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/html-webpack-plugin/tsconfig.json b/types/html-webpack-plugin/tsconfig.json index 10d5e8e835..61d842ab9c 100644 --- a/types/html-webpack-plugin/tsconfig.json +++ b/types/html-webpack-plugin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/html-webpack-template/tsconfig.json b/types/html-webpack-template/tsconfig.json index ee25f30942..7b0b56e459 100644 --- a/types/html-webpack-template/tsconfig.json +++ b/types/html-webpack-template/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/html2canvas/tsconfig.json b/types/html2canvas/tsconfig.json index 309c089483..0fcf24b6f8 100644 --- a/types/html2canvas/tsconfig.json +++ b/types/html2canvas/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/htmlbars-inline-precompile/tsconfig.json b/types/htmlbars-inline-precompile/tsconfig.json index 32ad3d22fb..fd03f6a476 100644 --- a/types/htmlbars-inline-precompile/tsconfig.json +++ b/types/htmlbars-inline-precompile/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "htmlbars-inline-precompile-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/htmlescape/tsconfig.json b/types/htmlescape/tsconfig.json index 6ba5d9819a..581a713fff 100644 --- a/types/htmlescape/tsconfig.json +++ b/types/htmlescape/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "htmlescape-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/htmlhint/tsconfig.json b/types/htmlhint/tsconfig.json index 1ae3c23f81..b8472efbda 100644 --- a/types/htmlhint/tsconfig.json +++ b/types/htmlhint/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "htmlhint-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/htmlparser2/tsconfig.json b/types/htmlparser2/tsconfig.json index 01742e875c..c6ccfee7cc 100644 --- a/types/htmlparser2/tsconfig.json +++ b/types/htmlparser2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/htmltojsx/tsconfig.json b/types/htmltojsx/tsconfig.json index 488ecd327b..5b0fc81735 100644 --- a/types/htmltojsx/tsconfig.json +++ b/types/htmltojsx/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/http-assert/tsconfig.json b/types/http-assert/tsconfig.json index 335ea59861..711327f38b 100644 --- a/types/http-assert/tsconfig.json +++ b/types/http-assert/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/http-aws-es/tsconfig.json b/types/http-aws-es/tsconfig.json index f1689d92e4..5d248f0375 100644 --- a/types/http-aws-es/tsconfig.json +++ b/types/http-aws-es/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "http-aws-es-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/http-codes/tsconfig.json b/types/http-codes/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/http-codes/tsconfig.json +++ b/types/http-codes/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/http-errors/tsconfig.json b/types/http-errors/tsconfig.json index 6067e7af56..430bec9565 100644 --- a/types/http-errors/tsconfig.json +++ b/types/http-errors/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "http-errors-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/http-link-header/tsconfig.json b/types/http-link-header/tsconfig.json index bd0c2793e6..3acfe11a33 100644 --- a/types/http-link-header/tsconfig.json +++ b/types/http-link-header/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/http-proxy-middleware/tsconfig.json b/types/http-proxy-middleware/tsconfig.json index 1fa2b32d6d..459138e584 100644 --- a/types/http-proxy-middleware/tsconfig.json +++ b/types/http-proxy-middleware/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "http-proxy-middleware-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/http-proxy/tsconfig.json b/types/http-proxy/tsconfig.json index fe722af931..24a9ed6c48 100644 --- a/types/http-proxy/tsconfig.json +++ b/types/http-proxy/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "http-proxy-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/http-status-codes/tsconfig.json b/types/http-status-codes/tsconfig.json index e114747729..c6e7cecee8 100644 --- a/types/http-status-codes/tsconfig.json +++ b/types/http-status-codes/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/http-status/tsconfig.json b/types/http-status/tsconfig.json index 42d5e2ed18..acb7f89cde 100644 --- a/types/http-status/tsconfig.json +++ b/types/http-status/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "http-status-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/http-string-parser/tsconfig.json b/types/http-string-parser/tsconfig.json index 81569ff0a1..80f7cd176a 100644 --- a/types/http-string-parser/tsconfig.json +++ b/types/http-string-parser/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/httperr/tsconfig.json b/types/httperr/tsconfig.json index 7f55de9d58..85505edbc8 100644 --- a/types/httperr/tsconfig.json +++ b/types/httperr/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/hubot/tsconfig.json b/types/hubot/tsconfig.json index 0e3faa4c35..9354cf926c 100644 --- a/types/hubot/tsconfig.json +++ b/types/hubot/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "hubot-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/hubspot-pace/tsconfig.json b/types/hubspot-pace/tsconfig.json index 63dce2e88f..1d2a2ec99e 100644 --- a/types/hubspot-pace/tsconfig.json +++ b/types/hubspot-pace/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/humane/tsconfig.json b/types/humane/tsconfig.json index 77ee4d370e..7b2fc3e81b 100644 --- a/types/humane/tsconfig.json +++ b/types/humane/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/humanize-plus/tsconfig.json b/types/humanize-plus/tsconfig.json index c79c7259f7..37b195e2cd 100644 --- a/types/humanize-plus/tsconfig.json +++ b/types/humanize-plus/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "humanize-plus-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/humanparser/tsconfig.json b/types/humanparser/tsconfig.json index 54b6d282d0..1e12c171d0 100644 --- a/types/humanparser/tsconfig.json +++ b/types/humanparser/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/humps/tsconfig.json b/types/humps/tsconfig.json index 2b02f594ae..ec1866d58c 100644 --- a/types/humps/tsconfig.json +++ b/types/humps/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/hyco-ws/tsconfig.json b/types/hyco-ws/tsconfig.json index a625ff1bab..cc21647f01 100644 --- a/types/hyco-ws/tsconfig.json +++ b/types/hyco-ws/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "experimentalDecorators": true, "baseUrl": "../", "typeRoots": [ diff --git a/types/hyperscript/tsconfig.json b/types/hyperscript/tsconfig.json index 64f57c346a..dcd78c9f85 100644 --- a/types/hyperscript/tsconfig.json +++ b/types/hyperscript/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/hypertext-application-language/tsconfig.json b/types/hypertext-application-language/tsconfig.json index 6c039ab061..15621fa9c2 100644 --- a/types/hypertext-application-language/tsconfig.json +++ b/types/hypertext-application-language/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/hystrixjs/tsconfig.json b/types/hystrixjs/tsconfig.json index e1cb1a7c4d..0cf5de7b81 100644 --- a/types/hystrixjs/tsconfig.json +++ b/types/hystrixjs/tsconfig.json @@ -8,12 +8,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/i18n/tsconfig.json b/types/i18n/tsconfig.json index c0f4ba7a10..4429a81fe6 100644 --- a/types/i18n/tsconfig.json +++ b/types/i18n/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/i18next-browser-languagedetector/tsconfig.json b/types/i18next-browser-languagedetector/tsconfig.json index eeb1bd7670..32755315aa 100644 --- a/types/i18next-browser-languagedetector/tsconfig.json +++ b/types/i18next-browser-languagedetector/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "i18next-browser-languagedetector-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/i18next-browser-languagedetector/v0/tsconfig.json b/types/i18next-browser-languagedetector/v0/tsconfig.json index 61e38c316d..9873c74134 100644 --- a/types/i18next-browser-languagedetector/v0/tsconfig.json +++ b/types/i18next-browser-languagedetector/v0/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" @@ -24,4 +25,4 @@ "index.d.ts", "i18next-browser-languagedetector-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/i18next-express-middleware/tsconfig.json b/types/i18next-express-middleware/tsconfig.json index 6f42d82105..5a13f1733d 100644 --- a/types/i18next-express-middleware/tsconfig.json +++ b/types/i18next-express-middleware/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "i18next-express-middleware-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/i18next-node-fs-backend/tsconfig.json b/types/i18next-node-fs-backend/tsconfig.json index 6bbdf7e287..03b3347068 100644 --- a/types/i18next-node-fs-backend/tsconfig.json +++ b/types/i18next-node-fs-backend/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -24,4 +25,4 @@ "index.d.ts", "i18next-node-fs-backend-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/i18next-sprintf-postprocessor/tsconfig.json b/types/i18next-sprintf-postprocessor/tsconfig.json index 64c795ab39..9a52882abe 100644 --- a/types/i18next-sprintf-postprocessor/tsconfig.json +++ b/types/i18next-sprintf-postprocessor/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -24,4 +25,4 @@ "index.d.ts", "i18next-sprintf-postprocessor-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/i18next-xhr-backend/tsconfig.json b/types/i18next-xhr-backend/tsconfig.json index f6f93640ce..a7ca4c2adb 100644 --- a/types/i18next-xhr-backend/tsconfig.json +++ b/types/i18next-xhr-backend/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "i18next-xhr-backend-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/i18next/tsconfig.json b/types/i18next/tsconfig.json index 73434ac2f5..9eadf37b0f 100644 --- a/types/i18next/tsconfig.json +++ b/types/i18next/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/i18next/v2/tsconfig.json b/types/i18next/v2/tsconfig.json index faea1ce12c..00464c1701 100644 --- a/types/i18next/v2/tsconfig.json +++ b/types/i18next/v2/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" @@ -25,4 +26,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/i2c-bus/tsconfig.json b/types/i2c-bus/tsconfig.json index d1b7843fdb..8407ea3efd 100644 --- a/types/i2c-bus/tsconfig.json +++ b/types/i2c-bus/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/iban/tsconfig.json b/types/iban/tsconfig.json index 0ddc7bcd4a..352470aa0d 100644 --- a/types/iban/tsconfig.json +++ b/types/iban/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ibm-mobilefirst/tsconfig.json b/types/ibm-mobilefirst/tsconfig.json index 89d222469f..eabcd34447 100644 --- a/types/ibm-mobilefirst/tsconfig.json +++ b/types/ibm-mobilefirst/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "ibm-mobilefirst-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ibm_db/tsconfig.json b/types/ibm_db/tsconfig.json index 4d653705a2..f92b637034 100644 --- a/types/ibm_db/tsconfig.json +++ b/types/ibm_db/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "ibm_db-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/icepick/tsconfig.json b/types/icepick/tsconfig.json index 18a951321c..530031866b 100644 --- a/types/icepick/tsconfig.json +++ b/types/icepick/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/icheck/tsconfig.json b/types/icheck/tsconfig.json index cadcfcd8d6..b700077c47 100644 --- a/types/icheck/tsconfig.json +++ b/types/icheck/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/iconv-lite/tsconfig.json b/types/iconv-lite/tsconfig.json index 6f87b287f5..27ea4716bf 100644 --- a/types/iconv-lite/tsconfig.json +++ b/types/iconv-lite/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/iconv/tsconfig.json b/types/iconv/tsconfig.json index d79b335e7c..b97ea1a7f3 100644 --- a/types/iconv/tsconfig.json +++ b/types/iconv/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ids/tsconfig.json b/types/ids/tsconfig.json index 556184fceb..1c739774db 100644 --- a/types/ids/tsconfig.json +++ b/types/ids/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/iframe-resizer/tsconfig.json b/types/iframe-resizer/tsconfig.json index d2b812a1f7..e8a87f1302 100644 --- a/types/iframe-resizer/tsconfig.json +++ b/types/iframe-resizer/tsconfig.json @@ -1,26 +1,27 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "exclude": [ + "node_modules" ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "exclude": [ - "node_modules" - ], - "files": [ - "index.d.ts", - "iframe-resizer-tests.ts" - ] + "files": [ + "index.d.ts", + "iframe-resizer-tests.ts" + ] } \ No newline at end of file diff --git a/types/ignite-ui/tsconfig.json b/types/ignite-ui/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/ignite-ui/tsconfig.json +++ b/types/ignite-ui/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/image-size/tsconfig.json b/types/image-size/tsconfig.json index bb3fe8cb49..7a864603b7 100644 --- a/types/image-size/tsconfig.json +++ b/types/image-size/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/imagemagick-native/tsconfig.json b/types/imagemagick-native/tsconfig.json index 95c028b28b..bfd2f88451 100644 --- a/types/imagemagick-native/tsconfig.json +++ b/types/imagemagick-native/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/imagemagick/tsconfig.json b/types/imagemagick/tsconfig.json index 80686f53b5..3a28cb5c59 100644 --- a/types/imagemagick/tsconfig.json +++ b/types/imagemagick/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/imagemapster/tsconfig.json b/types/imagemapster/tsconfig.json index ca23742027..cb5e3bdff8 100644 --- a/types/imagemapster/tsconfig.json +++ b/types/imagemapster/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -25,4 +26,4 @@ "index.d.ts", "imagemapster-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/images/tsconfig.json b/types/images/tsconfig.json index 7a261dbc3f..75c7b85340 100644 --- a/types/images/tsconfig.json +++ b/types/images/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "images-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "images-tests.ts" + ] +} \ No newline at end of file diff --git a/types/imagesloaded/tsconfig.json b/types/imagesloaded/tsconfig.json index fb3f883f0b..0673d1eaa2 100644 --- a/types/imagesloaded/tsconfig.json +++ b/types/imagesloaded/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/imap-simple/tsconfig.json b/types/imap-simple/tsconfig.json index 3f51a787ac..859835549a 100644 --- a/types/imap-simple/tsconfig.json +++ b/types/imap-simple/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/imap/tsconfig.json b/types/imap/tsconfig.json index ec1c1b1b69..987167daf3 100644 --- a/types/imap/tsconfig.json +++ b/types/imap/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/imgur-rest-api/tsconfig.json b/types/imgur-rest-api/tsconfig.json index 91f414e021..f2803640de 100644 --- a/types/imgur-rest-api/tsconfig.json +++ b/types/imgur-rest-api/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/immutability-helper/tsconfig.json b/types/immutability-helper/tsconfig.json index b8babd8c43..a2307c394a 100644 --- a/types/immutability-helper/tsconfig.json +++ b/types/immutability-helper/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/impress/tsconfig.json b/types/impress/tsconfig.json index 3f80cf37e7..a278db24c9 100644 --- a/types/impress/tsconfig.json +++ b/types/impress/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/in-range/tsconfig.json b/types/in-range/tsconfig.json index 1f59573204..7d5182a929 100644 --- a/types/in-range/tsconfig.json +++ b/types/in-range/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/incremental-dom/tsconfig.json b/types/incremental-dom/tsconfig.json index 101179c675..8ba7d824d5 100644 --- a/types/incremental-dom/tsconfig.json +++ b/types/incremental-dom/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/indent-string/tsconfig.json b/types/indent-string/tsconfig.json index 4ff0142f89..4f2e008801 100644 --- a/types/indent-string/tsconfig.json +++ b/types/indent-string/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/inert/tsconfig.json b/types/inert/tsconfig.json index 5b805cfc2d..ad4e395bca 100644 --- a/types/inert/tsconfig.json +++ b/types/inert/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/inflected/tsconfig.json b/types/inflected/tsconfig.json index 3f5d7182e5..b0a3a1d8b5 100644 --- a/types/inflected/tsconfig.json +++ b/types/inflected/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/inflection/tsconfig.json b/types/inflection/tsconfig.json index 00f7342815..e77c4028fc 100644 --- a/types/inflection/tsconfig.json +++ b/types/inflection/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/inherits/tsconfig.json b/types/inherits/tsconfig.json index 6a0b0ce1c2..bdb4c4d873 100644 --- a/types/inherits/tsconfig.json +++ b/types/inherits/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ini/tsconfig.json b/types/ini/tsconfig.json index f1e6fa5bc1..ccc924b3fc 100644 --- a/types/ini/tsconfig.json +++ b/types/ini/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/iniparser/tsconfig.json b/types/iniparser/tsconfig.json index 712d167a05..0d7970f93a 100644 --- a/types/iniparser/tsconfig.json +++ b/types/iniparser/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/inline-css/tsconfig.json b/types/inline-css/tsconfig.json index 45a73748a6..4a13506061 100644 --- a/types/inline-css/tsconfig.json +++ b/types/inline-css/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/inline-style-prefixer/tsconfig.json b/types/inline-style-prefixer/tsconfig.json index a0651edee4..7d6d4209bc 100644 --- a/types/inline-style-prefixer/tsconfig.json +++ b/types/inline-style-prefixer/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "inline-style-prefixer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/inquirer/tsconfig.json b/types/inquirer/tsconfig.json index 08d34eac0e..59793a86a1 100644 --- a/types/inquirer/tsconfig.json +++ b/types/inquirer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/insert-module-globals/tsconfig.json b/types/insert-module-globals/tsconfig.json index 0a6e51fb74..a9b4f218da 100644 --- a/types/insert-module-globals/tsconfig.json +++ b/types/insert-module-globals/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "insert-module-globals-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/insight/tsconfig.json b/types/insight/tsconfig.json index c69d2d64d9..7efb108eae 100644 --- a/types/insight/tsconfig.json +++ b/types/insight/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/integer/tsconfig.json b/types/integer/tsconfig.json index 7c5e9c9791..60e0921a42 100644 --- a/types/integer/tsconfig.json +++ b/types/integer/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "integer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/interact.js/tsconfig.json b/types/interact.js/tsconfig.json index eb8868338a..6d4887d0f1 100644 --- a/types/interact.js/tsconfig.json +++ b/types/interact.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/intercom-web/tsconfig.json b/types/intercom-web/tsconfig.json index d11c606183..d77c89a53f 100755 --- a/types/intercom-web/tsconfig.json +++ b/types/intercom-web/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "intercom-web-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/intercomjs/tsconfig.json b/types/intercomjs/tsconfig.json index 42858e375a..a74351a03a 100644 --- a/types/intercomjs/tsconfig.json +++ b/types/intercomjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/internal-ip/tsconfig.json b/types/internal-ip/tsconfig.json index fbca1b2374..746718e07c 100644 --- a/types/internal-ip/tsconfig.json +++ b/types/internal-ip/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "internal-ip-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/intl-messageformat/tsconfig.json b/types/intl-messageformat/tsconfig.json index 1a4a156267..61f9873265 100644 --- a/types/intl-messageformat/tsconfig.json +++ b/types/intl-messageformat/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/intl-tel-input/tsconfig.json b/types/intl-tel-input/tsconfig.json index a9ca5094bc..380d60229d 100644 --- a/types/intl-tel-input/tsconfig.json +++ b/types/intl-tel-input/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/intl/tsconfig.json b/types/intl/tsconfig.json index 520dc3c689..30370fd405 100644 --- a/types/intl/tsconfig.json +++ b/types/intl/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "intl-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/into-stream/tsconfig.json b/types/into-stream/tsconfig.json index c48cf3e387..cc8a2cfa00 100644 --- a/types/into-stream/tsconfig.json +++ b/types/into-stream/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "into-stream-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/intro.js/tsconfig.json b/types/intro.js/tsconfig.json index 0709adac52..c86cbffec5 100644 --- a/types/intro.js/tsconfig.json +++ b/types/intro.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/invariant/tsconfig.json b/types/invariant/tsconfig.json index 5f24d951b1..1cd411b7f4 100644 --- a/types/invariant/tsconfig.json +++ b/types/invariant/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/inversify-devtools/tsconfig.json b/types/inversify-devtools/tsconfig.json index a0953ef1ac..4883fdc99e 100644 --- a/types/inversify-devtools/tsconfig.json +++ b/types/inversify-devtools/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "experimentalDecorators": true, "typeRoots": [ diff --git a/types/ion.rangeslider/tsconfig.json b/types/ion.rangeslider/tsconfig.json index 9ddb909ef3..1affa9f527 100644 --- a/types/ion.rangeslider/tsconfig.json +++ b/types/ion.rangeslider/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ion.rangeslider/v1/tsconfig.json b/types/ion.rangeslider/v1/tsconfig.json index 1d748c4d46..c63da8c0e1 100644 --- a/types/ion.rangeslider/v1/tsconfig.json +++ b/types/ion.rangeslider/v1/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/ionic/tsconfig.json b/types/ionic/tsconfig.json index b057fc1144..0c0ab4f00c 100644 --- a/types/ionic/tsconfig.json +++ b/types/ionic/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ioredis/tsconfig.json b/types/ioredis/tsconfig.json index 908157d5f7..f073160729 100644 --- a/types/ioredis/tsconfig.json +++ b/types/ioredis/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ip-regex/tsconfig.json b/types/ip-regex/tsconfig.json index 4a5780ec8b..e09382966a 100644 --- a/types/ip-regex/tsconfig.json +++ b/types/ip-regex/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "ip-regex-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ip/tsconfig.json b/types/ip/tsconfig.json index ae5838138f..a445ebefe8 100644 --- a/types/ip/tsconfig.json +++ b/types/ip/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/irc/tsconfig.json b/types/irc/tsconfig.json index cfa02bc06b..ac224646a3 100644 --- a/types/irc/tsconfig.json +++ b/types/irc/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/is-absolute-url/tsconfig.json b/types/is-absolute-url/tsconfig.json index aea408feb3..57c46bb32b 100644 --- a/types/is-absolute-url/tsconfig.json +++ b/types/is-absolute-url/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/is-alphanumerical/tsconfig.json b/types/is-alphanumerical/tsconfig.json index 481957289e..90b83f80fb 100644 --- a/types/is-alphanumerical/tsconfig.json +++ b/types/is-alphanumerical/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "is-alphanumerical-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/is-archive/tsconfig.json b/types/is-archive/tsconfig.json index 53afd65081..ce2b001789 100644 --- a/types/is-archive/tsconfig.json +++ b/types/is-archive/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/is-array/tsconfig.json b/types/is-array/tsconfig.json index 2d027ece6d..022fbc852e 100644 --- a/types/is-array/tsconfig.json +++ b/types/is-array/tsconfig.json @@ -1,4 +1,3 @@ - { "compilerOptions": { "module": "commonjs", @@ -8,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +20,4 @@ "index.d.ts", "is-array-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/is-binary-path/tsconfig.json b/types/is-binary-path/tsconfig.json index 062c21523b..e0fd45ed1e 100644 --- a/types/is-binary-path/tsconfig.json +++ b/types/is-binary-path/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/is-compressed/tsconfig.json b/types/is-compressed/tsconfig.json index 51738f3ff4..b44edb3059 100644 --- a/types/is-compressed/tsconfig.json +++ b/types/is-compressed/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/is-finite/tsconfig.json b/types/is-finite/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/is-finite/tsconfig.json +++ b/types/is-finite/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/is-ip/tsconfig.json b/types/is-ip/tsconfig.json index be6e5c55e0..ea49885cbb 100644 --- a/types/is-ip/tsconfig.json +++ b/types/is-ip/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "is-ip-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/is-my-json-valid/tsconfig.json b/types/is-my-json-valid/tsconfig.json index 010220d6a3..687e2a6c57 100644 --- a/types/is-my-json-valid/tsconfig.json +++ b/types/is-my-json-valid/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/is-number/tsconfig.json b/types/is-number/tsconfig.json index 7ccd892bf8..930df6698f 100644 --- a/types/is-number/tsconfig.json +++ b/types/is-number/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "is-number-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/is-path-cwd/tsconfig.json b/types/is-path-cwd/tsconfig.json index d656dedaf0..6f5a83c33d 100644 --- a/types/is-path-cwd/tsconfig.json +++ b/types/is-path-cwd/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/is-path-in-cwd/tsconfig.json b/types/is-path-in-cwd/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/is-path-in-cwd/tsconfig.json +++ b/types/is-path-in-cwd/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/is-plain-object/tsconfig.json b/types/is-plain-object/tsconfig.json index f610df973d..1522dc4f0e 100644 --- a/types/is-plain-object/tsconfig.json +++ b/types/is-plain-object/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/is-promise/tsconfig.json b/types/is-promise/tsconfig.json index 17a7477d06..fbc17a9140 100644 --- a/types/is-promise/tsconfig.json +++ b/types/is-promise/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/is-relative-url/tsconfig.json b/types/is-relative-url/tsconfig.json index efc617ca79..1a85dcf51a 100644 --- a/types/is-relative-url/tsconfig.json +++ b/types/is-relative-url/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/is-root-path/tsconfig.json b/types/is-root-path/tsconfig.json index 6e33afc691..28d7f23893 100644 --- a/types/is-root-path/tsconfig.json +++ b/types/is-root-path/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/is-root/tsconfig.json b/types/is-root/tsconfig.json index 8e69782eae..a92ff73369 100644 --- a/types/is-root/tsconfig.json +++ b/types/is-root/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/is-stream/tsconfig.json b/types/is-stream/tsconfig.json index 926737569f..061e555f72 100644 --- a/types/is-stream/tsconfig.json +++ b/types/is-stream/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "is-stream-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/is-svg/tsconfig.json b/types/is-svg/tsconfig.json index 9776ba1c77..2621a88907 100644 --- a/types/is-svg/tsconfig.json +++ b/types/is-svg/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "is-svg-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/is-text-path/tsconfig.json b/types/is-text-path/tsconfig.json index 1ecb34ba3b..e6587abf96 100644 --- a/types/is-text-path/tsconfig.json +++ b/types/is-text-path/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/is-url-superb/tsconfig.json b/types/is-url-superb/tsconfig.json index 069affddab..3450e58a06 100644 --- a/types/is-url-superb/tsconfig.json +++ b/types/is-url-superb/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "is-url-superb-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/is-url/tsconfig.json b/types/is-url/tsconfig.json index 65d5f8a3b7..56f15b7e2f 100644 --- a/types/is-url/tsconfig.json +++ b/types/is-url/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/is-windows/tsconfig.json b/types/is-windows/tsconfig.json index 94b10d911f..8696d92fe0 100644 --- a/types/is-windows/tsconfig.json +++ b/types/is-windows/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/is/tsconfig.json b/types/is/tsconfig.json index 1df1d26c20..9abe3bbe43 100644 --- a/types/is/tsconfig.json +++ b/types/is/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/isbn-utils/tsconfig.json b/types/isbn-utils/tsconfig.json index b061bf6192..9414c7c040 100644 --- a/types/isbn-utils/tsconfig.json +++ b/types/isbn-utils/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/iscroll/tsconfig.json b/types/iscroll/tsconfig.json index d7642f9fe6..7a1ec2a51b 100644 --- a/types/iscroll/tsconfig.json +++ b/types/iscroll/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/iscroll/v4/tsconfig.json b/types/iscroll/v4/tsconfig.json index e77d78c702..2b09269531 100644 --- a/types/iscroll/v4/tsconfig.json +++ b/types/iscroll/v4/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/iso-3166-2/tsconfig.json b/types/iso-3166-2/tsconfig.json index 7ed345dd25..0e374a83fc 100644 --- a/types/iso-3166-2/tsconfig.json +++ b/types/iso-3166-2/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "iso-3166-2-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/iso8601-localizer/tsconfig.json b/types/iso8601-localizer/tsconfig.json index 047268c980..e245ca21c0 100644 --- a/types/iso8601-localizer/tsconfig.json +++ b/types/iso8601-localizer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/isomorphic-fetch/tsconfig.json b/types/isomorphic-fetch/tsconfig.json index a53b05cd73..f3cc715548 100644 --- a/types/isomorphic-fetch/tsconfig.json +++ b/types/isomorphic-fetch/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/isotope-layout/tsconfig.json b/types/isotope-layout/tsconfig.json index b498c10ce8..8afefdbd01 100644 --- a/types/isotope-layout/tsconfig.json +++ b/types/isotope-layout/tsconfig.json @@ -2,11 +2,13 @@ "compilerOptions": { "module": "commonjs", "lib": [ - "dom", "es2015" + "dom", + "es2015" ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/istanbul-lib-coverage/tsconfig.json b/types/istanbul-lib-coverage/tsconfig.json index fd839f63f8..433ba89644 100644 --- a/types/istanbul-lib-coverage/tsconfig.json +++ b/types/istanbul-lib-coverage/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/istanbul-lib-hook/tsconfig.json b/types/istanbul-lib-hook/tsconfig.json index 824b360999..c010a0879b 100644 --- a/types/istanbul-lib-hook/tsconfig.json +++ b/types/istanbul-lib-hook/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/istanbul-lib-instrument/tsconfig.json b/types/istanbul-lib-instrument/tsconfig.json index 1f44277fc1..60629254a0 100644 --- a/types/istanbul-lib-instrument/tsconfig.json +++ b/types/istanbul-lib-instrument/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/istanbul-lib-report/tsconfig.json b/types/istanbul-lib-report/tsconfig.json index 960c160e83..782aa1860c 100644 --- a/types/istanbul-lib-report/tsconfig.json +++ b/types/istanbul-lib-report/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/istanbul-lib-source-maps/tsconfig.json b/types/istanbul-lib-source-maps/tsconfig.json index 5693013057..ca94b106d7 100644 --- a/types/istanbul-lib-source-maps/tsconfig.json +++ b/types/istanbul-lib-source-maps/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/istanbul-middleware/tsconfig.json b/types/istanbul-middleware/tsconfig.json index 11a7dbca93..3bba961c04 100644 --- a/types/istanbul-middleware/tsconfig.json +++ b/types/istanbul-middleware/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/istanbul-reports/tsconfig.json b/types/istanbul-reports/tsconfig.json index 6235d65f52..1f43d5038d 100644 --- a/types/istanbul-reports/tsconfig.json +++ b/types/istanbul-reports/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/istanbul/tsconfig.json b/types/istanbul/tsconfig.json index 2f1e32e96f..723eb394c5 100644 --- a/types/istanbul/tsconfig.json +++ b/types/istanbul/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ityped/tsconfig.json b/types/ityped/tsconfig.json index 102956be32..2f2ceabe67 100644 --- a/types/ityped/tsconfig.json +++ b/types/ityped/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ix.js/tsconfig.json b/types/ix.js/tsconfig.json index ae75095c1f..c840c77d73 100644 --- a/types/ix.js/tsconfig.json +++ b/types/ix.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jade/tsconfig.json b/types/jade/tsconfig.json index 96cebcb690..f1c2b94f05 100644 --- a/types/jade/tsconfig.json +++ b/types/jade/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jake/tsconfig.json b/types/jake/tsconfig.json index 640fc6c851..5a5e5fcbd8 100644 --- a/types/jake/tsconfig.json +++ b/types/jake/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jalaali-js/tsconfig.json b/types/jalaali-js/tsconfig.json index d7f1e781b3..995b501496 100644 --- a/types/jalaali-js/tsconfig.json +++ b/types/jalaali-js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/japanese-holidays/tsconfig.json b/types/japanese-holidays/tsconfig.json index 11826ce711..1d8aeb27d0 100644 --- a/types/japanese-holidays/tsconfig.json +++ b/types/japanese-holidays/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jasmine-ajax/tsconfig.json b/types/jasmine-ajax/tsconfig.json index 570eb5733d..01c73a745d 100644 --- a/types/jasmine-ajax/tsconfig.json +++ b/types/jasmine-ajax/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jasmine-data_driven_tests/tsconfig.json b/types/jasmine-data_driven_tests/tsconfig.json index 161fc72daf..232e012191 100644 --- a/types/jasmine-data_driven_tests/tsconfig.json +++ b/types/jasmine-data_driven_tests/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jasmine-enzyme/tsconfig.json b/types/jasmine-enzyme/tsconfig.json index d153f4bc10..6b63fe9694 100644 --- a/types/jasmine-enzyme/tsconfig.json +++ b/types/jasmine-enzyme/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jasmine-es6-promise-matchers/tsconfig.json b/types/jasmine-es6-promise-matchers/tsconfig.json index e1d8979dcd..98d8f03e42 100644 --- a/types/jasmine-es6-promise-matchers/tsconfig.json +++ b/types/jasmine-es6-promise-matchers/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jasmine-expect/tsconfig.json b/types/jasmine-expect/tsconfig.json index 9fdf033fba..62a373d410 100644 --- a/types/jasmine-expect/tsconfig.json +++ b/types/jasmine-expect/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jasmine-fixture/tsconfig.json b/types/jasmine-fixture/tsconfig.json index 9d5d258542..149810b10a 100644 --- a/types/jasmine-fixture/tsconfig.json +++ b/types/jasmine-fixture/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jasmine-given/tsconfig.json b/types/jasmine-given/tsconfig.json index cb1571590b..d1b9541f2c 100644 --- a/types/jasmine-given/tsconfig.json +++ b/types/jasmine-given/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "jasmine-given-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "jasmine-given-tests.ts" + ] } \ No newline at end of file diff --git a/types/jasmine-jquery/tsconfig.json b/types/jasmine-jquery/tsconfig.json index e574ccb60f..ac43f3d18c 100644 --- a/types/jasmine-jquery/tsconfig.json +++ b/types/jasmine-jquery/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jasmine-matchers/tsconfig.json b/types/jasmine-matchers/tsconfig.json index 5860949933..943271914e 100644 --- a/types/jasmine-matchers/tsconfig.json +++ b/types/jasmine-matchers/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jasmine-node/tsconfig.json b/types/jasmine-node/tsconfig.json index 269151c845..2b68e61c60 100644 --- a/types/jasmine-node/tsconfig.json +++ b/types/jasmine-node/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jasmine-promise-matchers/tsconfig.json b/types/jasmine-promise-matchers/tsconfig.json index 928daedaf0..0b264e6527 100644 --- a/types/jasmine-promise-matchers/tsconfig.json +++ b/types/jasmine-promise-matchers/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jasmine/tsconfig.json b/types/jasmine/tsconfig.json index 9668002197..3af72e4d8b 100644 --- a/types/jasmine/tsconfig.json +++ b/types/jasmine/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jasmine/v1/tsconfig.json b/types/jasmine/v1/tsconfig.json index 197d3d9308..99a9fb48b4 100644 --- a/types/jasmine/v1/tsconfig.json +++ b/types/jasmine/v1/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/jasmine_dom_matchers/tsconfig.json b/types/jasmine_dom_matchers/tsconfig.json index 30a9ab129d..4b09a5d93a 100644 --- a/types/jasmine_dom_matchers/tsconfig.json +++ b/types/jasmine_dom_matchers/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "jasmine_dom_matchers-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jasminewd2/tsconfig.json b/types/jasminewd2/tsconfig.json index 81aa80fe8e..2267f75819 100644 --- a/types/jasminewd2/tsconfig.json +++ b/types/jasminewd2/tsconfig.json @@ -1,20 +1,23 @@ { - "files": [ - "index.d.ts", - "jasminewd2-tests.ts" - ], - "compilerOptions": { - "module": "commonjs", - "lib": [ "es6" ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" + "files": [ + "index.d.ts", + "jasminewd2-tests.ts" ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - } -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + } +} \ No newline at end of file diff --git a/types/java-applet/tsconfig.json b/types/java-applet/tsconfig.json index aa55b6d035..776886e3f1 100644 --- a/types/java-applet/tsconfig.json +++ b/types/java-applet/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/java/tsconfig.json b/types/java/tsconfig.json index 91fc68d18c..9f5ed2d241 100644 --- a/types/java/tsconfig.json +++ b/types/java/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/javascript-astar/tsconfig.json b/types/javascript-astar/tsconfig.json index 067fc70dd9..6ca80fa293 100644 --- a/types/javascript-astar/tsconfig.json +++ b/types/javascript-astar/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/javascript-bignum/tsconfig.json b/types/javascript-bignum/tsconfig.json index 8894412010..d6a0961172 100644 --- a/types/javascript-bignum/tsconfig.json +++ b/types/javascript-bignum/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/javascript-obfuscator/tsconfig.json b/types/javascript-obfuscator/tsconfig.json index 5c46f1e074..5b53fa94db 100644 --- a/types/javascript-obfuscator/tsconfig.json +++ b/types/javascript-obfuscator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/javascript-state-machine/tsconfig.json b/types/javascript-state-machine/tsconfig.json index 45c4f171fb..75ccb2b212 100644 --- a/types/javascript-state-machine/tsconfig.json +++ b/types/javascript-state-machine/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jbinary/tsconfig.json b/types/jbinary/tsconfig.json index 836b88296d..d272b54223 100644 --- a/types/jbinary/tsconfig.json +++ b/types/jbinary/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jcanvas/tsconfig.json b/types/jcanvas/tsconfig.json index de3dc06b89..9c6aa5edbe 100644 --- a/types/jcanvas/tsconfig.json +++ b/types/jcanvas/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jdataview/tsconfig.json b/types/jdataview/tsconfig.json index 129d85d045..230f748dfe 100644 --- a/types/jdataview/tsconfig.json +++ b/types/jdataview/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jdenticon/tsconfig.json b/types/jdenticon/tsconfig.json index 78414f1426..cb462ee4d6 100644 --- a/types/jdenticon/tsconfig.json +++ b/types/jdenticon/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jee-jsf/tsconfig.json b/types/jee-jsf/tsconfig.json index dc18e1f469..36364a83fa 100644 --- a/types/jee-jsf/tsconfig.json +++ b/types/jee-jsf/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jenkins/tsconfig.json b/types/jenkins/tsconfig.json index be94244e2d..08dc07dbe9 100644 --- a/types/jenkins/tsconfig.json +++ b/types/jenkins/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "jenkins-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jest-docblock/tsconfig.json b/types/jest-docblock/tsconfig.json index a4d7dd0bd2..4b1181bdad 100644 --- a/types/jest-docblock/tsconfig.json +++ b/types/jest-docblock/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "jest-docblock-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jest-matchers/tsconfig.json b/types/jest-matchers/tsconfig.json index 37a7e86d8d..123b605779 100644 --- a/types/jest-matchers/tsconfig.json +++ b/types/jest-matchers/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "jest-matchers-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jest-validate/tsconfig.json b/types/jest-validate/tsconfig.json index b31c51e81a..5b8abec385 100644 --- a/types/jest-validate/tsconfig.json +++ b/types/jest-validate/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "jest-validate-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jest/tsconfig.json b/types/jest/tsconfig.json index 3f8a9c6af1..8a02004840 100644 --- a/types/jest/tsconfig.json +++ b/types/jest/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jest/v16/tsconfig.json b/types/jest/v16/tsconfig.json index 2e023e1205..faf67cd73a 100644 --- a/types/jest/v16/tsconfig.json +++ b/types/jest/v16/tsconfig.json @@ -8,13 +8,18 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "jest": ["jest/v16"], - "jest/*": ["jest/v16/*"] + "jest": [ + "jest/v16" + ], + "jest/*": [ + "jest/v16/*" + ] }, "types": [], "noEmit": true, @@ -24,4 +29,4 @@ "index.d.ts", "jest-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jfp/tsconfig.json b/types/jfp/tsconfig.json index 95ad731d40..81402f37d4 100644 --- a/types/jfp/tsconfig.json +++ b/types/jfp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jfs/tsconfig.json b/types/jfs/tsconfig.json index 7681ab072d..2fd6c9f41b 100644 --- a/types/jfs/tsconfig.json +++ b/types/jfs/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "jfs-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "jfs-tests.ts" + ] +} \ No newline at end of file diff --git a/types/jimp/tsconfig.json b/types/jimp/tsconfig.json index d03d20f554..03ab32095b 100644 --- a/types/jimp/tsconfig.json +++ b/types/jimp/tsconfig.json @@ -1,10 +1,13 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es6"], + "lib": [ + "es6" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -17,4 +20,4 @@ "index.d.ts", "jimp-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jjv/tsconfig.json b/types/jjv/tsconfig.json index 629fdeb617..ce2a0343d8 100644 --- a/types/jjv/tsconfig.json +++ b/types/jjv/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jjve/tsconfig.json b/types/jjve/tsconfig.json index bd4e171dad..12f97579f7 100644 --- a/types/jjve/tsconfig.json +++ b/types/jjve/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jmespath/tsconfig.json b/types/jmespath/tsconfig.json index 7db8ecc248..1b416d36d1 100644 --- a/types/jmespath/tsconfig.json +++ b/types/jmespath/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "jmespath-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jodata/tsconfig.json b/types/jodata/tsconfig.json index c63117eb21..be177ebe58 100644 --- a/types/jodata/tsconfig.json +++ b/types/jodata/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/johnny-five/tsconfig.json b/types/johnny-five/tsconfig.json index 8220fe7f4f..5218cc5e2b 100644 --- a/types/johnny-five/tsconfig.json +++ b/types/johnny-five/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/joi/tsconfig.json b/types/joi/tsconfig.json index 8d3ca40052..f6b8f170dc 100644 --- a/types/joi/tsconfig.json +++ b/types/joi/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/joi/v6/tsconfig.json b/types/joi/v6/tsconfig.json index dc2b727546..75aacbeeea 100644 --- a/types/joi/v6/tsconfig.json +++ b/types/joi/v6/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/joigoose/tsconfig.json b/types/joigoose/tsconfig.json index 0add07f5d7..05aa2fd1c2 100644 --- a/types/joigoose/tsconfig.json +++ b/types/joigoose/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "joigoose-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jointjs/tsconfig.json b/types/jointjs/tsconfig.json index cb169471f2..82e6284376 100644 --- a/types/jointjs/tsconfig.json +++ b/types/jointjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "files": [ "index.d.ts" ] -} +} \ No newline at end of file diff --git a/types/jpeg-js/tsconfig.json b/types/jpeg-js/tsconfig.json index 1e3c116f4f..20d7ba3d8d 100644 --- a/types/jpeg-js/tsconfig.json +++ b/types/jpeg-js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "jpeg-js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jpm/tsconfig.json b/types/jpm/tsconfig.json index 5051f9a7bd..257f95eafa 100644 --- a/types/jpm/tsconfig.json +++ b/types/jpm/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jqgrid/tsconfig.json b/types/jqgrid/tsconfig.json index 1c50c95496..fd6e8c36a2 100644 --- a/types/jqgrid/tsconfig.json +++ b/types/jqgrid/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jqrangeslider/tsconfig.json b/types/jqrangeslider/tsconfig.json index 4a41364b36..9c8eabeb88 100644 --- a/types/jqrangeslider/tsconfig.json +++ b/types/jqrangeslider/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "jqrangeslider-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jquery-ajax-chain/tsconfig.json b/types/jquery-ajax-chain/tsconfig.json index 183a1f0d2a..58a43cc65e 100644 --- a/types/jquery-ajax-chain/tsconfig.json +++ b/types/jquery-ajax-chain/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery-alertable/tsconfig.json b/types/jquery-alertable/tsconfig.json index a098d1a39a..ca545d4a12 100644 --- a/types/jquery-alertable/tsconfig.json +++ b/types/jquery-alertable/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery-backstretch/tsconfig.json b/types/jquery-backstretch/tsconfig.json index c8cdd7e38f..c2fb9bc82f 100644 --- a/types/jquery-backstretch/tsconfig.json +++ b/types/jquery-backstretch/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery-cropbox/tsconfig.json b/types/jquery-cropbox/tsconfig.json index 29f81906b4..8ff494d309 100644 --- a/types/jquery-cropbox/tsconfig.json +++ b/types/jquery-cropbox/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery-deparam/tsconfig.json b/types/jquery-deparam/tsconfig.json index 1ee54a472f..b7d9a9d091 100644 --- a/types/jquery-deparam/tsconfig.json +++ b/types/jquery-deparam/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery-easy-loading/tsconfig.json b/types/jquery-easy-loading/tsconfig.json index 9e16b77cbf..c6c8a6a160 100644 --- a/types/jquery-easy-loading/tsconfig.json +++ b/types/jquery-easy-loading/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "jquery-easy-loading-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jquery-editable-select/tsconfig.json b/types/jquery-editable-select/tsconfig.json index 4ab3a20737..a284c442fa 100644 --- a/types/jquery-editable-select/tsconfig.json +++ b/types/jquery-editable-select/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery-fullscreen/tsconfig.json b/types/jquery-fullscreen/tsconfig.json index ae805153ca..81b275bff5 100644 --- a/types/jquery-fullscreen/tsconfig.json +++ b/types/jquery-fullscreen/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery-galleria/tsconfig.json b/types/jquery-galleria/tsconfig.json index a7e73a2902..c082643a87 100644 --- a/types/jquery-galleria/tsconfig.json +++ b/types/jquery-galleria/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery-handsontable/tsconfig.json b/types/jquery-handsontable/tsconfig.json index 3be8b88cce..fac1311bb7 100644 --- a/types/jquery-handsontable/tsconfig.json +++ b/types/jquery-handsontable/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery-jsonrpcclient/tsconfig.json b/types/jquery-jsonrpcclient/tsconfig.json index 20d202d92d..812781d6cc 100644 --- a/types/jquery-jsonrpcclient/tsconfig.json +++ b/types/jquery-jsonrpcclient/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery-knob/tsconfig.json b/types/jquery-knob/tsconfig.json index 207c14495f..c177f5a019 100644 --- a/types/jquery-knob/tsconfig.json +++ b/types/jquery-knob/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery-mask-plugin/tsconfig.json b/types/jquery-mask-plugin/tsconfig.json index 2b685d11cf..21be524f87 100644 --- a/types/jquery-mask-plugin/tsconfig.json +++ b/types/jquery-mask-plugin/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery-match-height/tsconfig.json b/types/jquery-match-height/tsconfig.json index 2dd28f9c69..103ae84843 100644 --- a/types/jquery-match-height/tsconfig.json +++ b/types/jquery-match-height/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "jquery-match-height-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jquery-mockjax/tsconfig.json b/types/jquery-mockjax/tsconfig.json index 660cf14287..42505b57a0 100644 --- a/types/jquery-mockjax/tsconfig.json +++ b/types/jquery-mockjax/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "jquery-mockjax-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jquery-mousewheel/tsconfig.json b/types/jquery-mousewheel/tsconfig.json index 1285fe551e..7fe74c814f 100644 --- a/types/jquery-mousewheel/tsconfig.json +++ b/types/jquery-mousewheel/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery-param/tsconfig.json b/types/jquery-param/tsconfig.json index 6b84279539..65999b18ff 100644 --- a/types/jquery-param/tsconfig.json +++ b/types/jquery-param/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery-sortable/tsconfig.json b/types/jquery-sortable/tsconfig.json index a01c9497b9..2a77692104 100644 --- a/types/jquery-sortable/tsconfig.json +++ b/types/jquery-sortable/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery-steps/tsconfig.json b/types/jquery-steps/tsconfig.json index f041763a67..5af8c482b0 100644 --- a/types/jquery-steps/tsconfig.json +++ b/types/jquery-steps/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery-timeentry/tsconfig.json b/types/jquery-timeentry/tsconfig.json index 0afdeec58b..0869745caf 100644 --- a/types/jquery-timeentry/tsconfig.json +++ b/types/jquery-timeentry/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery-toastmessage-plugin/tsconfig.json b/types/jquery-toastmessage-plugin/tsconfig.json index 193619fa0a..79e81125ce 100644 --- a/types/jquery-toastmessage-plugin/tsconfig.json +++ b/types/jquery-toastmessage-plugin/tsconfig.json @@ -4,11 +4,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/jquery-truncate-html/tsconfig.json b/types/jquery-truncate-html/tsconfig.json index 7ca5f8dc87..c4ea956cac 100644 --- a/types/jquery-truncate-html/tsconfig.json +++ b/types/jquery-truncate-html/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery-urlparam/tsconfig.json b/types/jquery-urlparam/tsconfig.json index 868feb3104..bdcb0ffebe 100644 --- a/types/jquery-urlparam/tsconfig.json +++ b/types/jquery-urlparam/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery-validation-unobtrusive/tsconfig.json b/types/jquery-validation-unobtrusive/tsconfig.json index 11c359fd95..7cf39e48e0 100644 --- a/types/jquery-validation-unobtrusive/tsconfig.json +++ b/types/jquery-validation-unobtrusive/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.address/tsconfig.json b/types/jquery.address/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/jquery.address/tsconfig.json +++ b/types/jquery.address/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.are-you-sure/tsconfig.json b/types/jquery.are-you-sure/tsconfig.json index d4018d19e4..165728a00e 100644 --- a/types/jquery.are-you-sure/tsconfig.json +++ b/types/jquery.are-you-sure/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.autosize/tsconfig.json b/types/jquery.autosize/tsconfig.json index 5a530e4173..6cb415b04c 100644 --- a/types/jquery.autosize/tsconfig.json +++ b/types/jquery.autosize/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.base64/tsconfig.json b/types/jquery.base64/tsconfig.json index db6880328f..157bbd92d9 100644 --- a/types/jquery.base64/tsconfig.json +++ b/types/jquery.base64/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.bbq/tsconfig.json b/types/jquery.bbq/tsconfig.json index b6df3537a9..48e78a892d 100644 --- a/types/jquery.bbq/tsconfig.json +++ b/types/jquery.bbq/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -25,4 +26,4 @@ "index.d.ts", "jquery.bbq-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jquery.blockui/tsconfig.json b/types/jquery.blockui/tsconfig.json index 33f90965d1..e46b2e83ec 100644 --- a/types/jquery.blockui/tsconfig.json +++ b/types/jquery.blockui/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.bootstrap.wizard/tsconfig.json b/types/jquery.bootstrap.wizard/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/jquery.bootstrap.wizard/tsconfig.json +++ b/types/jquery.bootstrap.wizard/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.cleditor/tsconfig.json b/types/jquery.cleditor/tsconfig.json index e2c0c30f28..70f33953ab 100644 --- a/types/jquery.cleditor/tsconfig.json +++ b/types/jquery.cleditor/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.clientsidelogging/tsconfig.json b/types/jquery.clientsidelogging/tsconfig.json index 5a94a133b5..80a2b6dbf4 100644 --- a/types/jquery.clientsidelogging/tsconfig.json +++ b/types/jquery.clientsidelogging/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "jquery.clientsidelogging-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jquery.color/tsconfig.json b/types/jquery.color/tsconfig.json index e14fefd574..35da9bb381 100644 --- a/types/jquery.color/tsconfig.json +++ b/types/jquery.color/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.colorbox/tsconfig.json b/types/jquery.colorbox/tsconfig.json index 612676d352..decbdf5578 100644 --- a/types/jquery.colorbox/tsconfig.json +++ b/types/jquery.colorbox/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.colorpicker/tsconfig.json b/types/jquery.colorpicker/tsconfig.json index aa2710147b..f0edccd4d6 100644 --- a/types/jquery.colorpicker/tsconfig.json +++ b/types/jquery.colorpicker/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.contextmenu/tsconfig.json b/types/jquery.contextmenu/tsconfig.json index 46294d4b9c..2de43ba64f 100644 --- a/types/jquery.contextmenu/tsconfig.json +++ b/types/jquery.contextmenu/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.cookie/tsconfig.json b/types/jquery.cookie/tsconfig.json index 4152cf2b73..0b4c16e92a 100644 --- a/types/jquery.cookie/tsconfig.json +++ b/types/jquery.cookie/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.customselect/tsconfig.json b/types/jquery.customselect/tsconfig.json index 1ba0efba9e..ce71c3244f 100644 --- a/types/jquery.customselect/tsconfig.json +++ b/types/jquery.customselect/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.cycle/tsconfig.json b/types/jquery.cycle/tsconfig.json index 6df1a02bb3..b807c05700 100644 --- a/types/jquery.cycle/tsconfig.json +++ b/types/jquery.cycle/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.cycle2/tsconfig.json b/types/jquery.cycle2/tsconfig.json index d67131d9ad..8fe54da959 100644 --- a/types/jquery.cycle2/tsconfig.json +++ b/types/jquery.cycle2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.dropotron/tsconfig.json b/types/jquery.dropotron/tsconfig.json index cd856d5abf..c811e857c6 100644 --- a/types/jquery.dropotron/tsconfig.json +++ b/types/jquery.dropotron/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.dynatree/tsconfig.json b/types/jquery.dynatree/tsconfig.json index 18a8b83b88..1963c75cb1 100644 --- a/types/jquery.dynatree/tsconfig.json +++ b/types/jquery.dynatree/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.elang/tsconfig.json b/types/jquery.elang/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/jquery.elang/tsconfig.json +++ b/types/jquery.elang/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.fancytree/tsconfig.json b/types/jquery.fancytree/tsconfig.json index 0d9e0b9fd9..bd2d2932ca 100644 --- a/types/jquery.fancytree/tsconfig.json +++ b/types/jquery.fancytree/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.fileupload/tsconfig.json b/types/jquery.fileupload/tsconfig.json index 2bdcd8e57a..ddefea0e79 100644 --- a/types/jquery.fileupload/tsconfig.json +++ b/types/jquery.fileupload/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.filtertable/tsconfig.json b/types/jquery.filtertable/tsconfig.json index 6f114e37d7..a0166c7d6b 100644 --- a/types/jquery.filtertable/tsconfig.json +++ b/types/jquery.filtertable/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "jquery.filtertable-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jquery.finger/tsconfig.json b/types/jquery.finger/tsconfig.json index 52d43523c7..55be70767e 100644 --- a/types/jquery.finger/tsconfig.json +++ b/types/jquery.finger/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.flagstrap/tsconfig.json b/types/jquery.flagstrap/tsconfig.json index 0ef25065fb..c4bf7e1a72 100644 --- a/types/jquery.flagstrap/tsconfig.json +++ b/types/jquery.flagstrap/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.form/tsconfig.json b/types/jquery.form/tsconfig.json index 2b318e02d3..02b4195224 100644 --- a/types/jquery.form/tsconfig.json +++ b/types/jquery.form/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.fullscreen/tsconfig.json b/types/jquery.fullscreen/tsconfig.json index 5d0d9c9b8e..bc666dcb90 100644 --- a/types/jquery.fullscreen/tsconfig.json +++ b/types/jquery.fullscreen/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.gridster/tsconfig.json b/types/jquery.gridster/tsconfig.json index 194b6347b8..b1e75c13e7 100644 --- a/types/jquery.gridster/tsconfig.json +++ b/types/jquery.gridster/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.growl/tsconfig.json b/types/jquery.growl/tsconfig.json index 8eb3a19e35..8416f143a7 100644 --- a/types/jquery.growl/tsconfig.json +++ b/types/jquery.growl/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "jquery.growl-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jquery.highlight-bartaz/tsconfig.json b/types/jquery.highlight-bartaz/tsconfig.json index ac76c95cf0..4cbe9ddf76 100644 --- a/types/jquery.highlight-bartaz/tsconfig.json +++ b/types/jquery.highlight-bartaz/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.jnotify/tsconfig.json b/types/jquery.jnotify/tsconfig.json index 18fa0b35f3..abfa7d2782 100644 --- a/types/jquery.jnotify/tsconfig.json +++ b/types/jquery.jnotify/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.joyride/tsconfig.json b/types/jquery.joyride/tsconfig.json index 2c4734d4ae..cf307a3611 100644 --- a/types/jquery.joyride/tsconfig.json +++ b/types/jquery.joyride/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -25,4 +26,4 @@ "index.d.ts", "jquery.joyride-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jquery.jsignature/tsconfig.json b/types/jquery.jsignature/tsconfig.json index 51d24c12bb..c802539b0a 100644 --- a/types/jquery.jsignature/tsconfig.json +++ b/types/jquery.jsignature/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.leanmodal/tsconfig.json b/types/jquery.leanmodal/tsconfig.json index a4a5f01b57..3625769dde 100644 --- a/types/jquery.leanmodal/tsconfig.json +++ b/types/jquery.leanmodal/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.livestampjs/tsconfig.json b/types/jquery.livestampjs/tsconfig.json index 397c2367a4..4042cffe68 100644 --- a/types/jquery.livestampjs/tsconfig.json +++ b/types/jquery.livestampjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.menuaim/tsconfig.json b/types/jquery.menuaim/tsconfig.json index 3d80f2be05..c63cface62 100644 --- a/types/jquery.menuaim/tsconfig.json +++ b/types/jquery.menuaim/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.mmenu/tsconfig.json b/types/jquery.mmenu/tsconfig.json index 09d17e6520..f95d7a3e93 100644 --- a/types/jquery.mmenu/tsconfig.json +++ b/types/jquery.mmenu/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.notify/tsconfig.json b/types/jquery.notify/tsconfig.json index 0fbfcb5134..e703d61e37 100644 --- a/types/jquery.notify/tsconfig.json +++ b/types/jquery.notify/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.notifybar/tsconfig.json b/types/jquery.notifybar/tsconfig.json index 7265920772..7541f17487 100644 --- a/types/jquery.notifybar/tsconfig.json +++ b/types/jquery.notifybar/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.noty/tsconfig.json b/types/jquery.noty/tsconfig.json index 9661cf12ad..fa1c069762 100644 --- a/types/jquery.noty/tsconfig.json +++ b/types/jquery.noty/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.payment/tsconfig.json b/types/jquery.payment/tsconfig.json index e9372ea856..84e6f1c89a 100644 --- a/types/jquery.payment/tsconfig.json +++ b/types/jquery.payment/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.pjax/tsconfig.json b/types/jquery.pjax/tsconfig.json index 5364759f80..5d692dbfe4 100644 --- a/types/jquery.pjax/tsconfig.json +++ b/types/jquery.pjax/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "jquery.pjax-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jquery.placeholder/tsconfig.json b/types/jquery.placeholder/tsconfig.json index af2cc1f64a..40c034b33b 100644 --- a/types/jquery.placeholder/tsconfig.json +++ b/types/jquery.placeholder/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.pnotify/tsconfig.json b/types/jquery.pnotify/tsconfig.json index d99c539d32..a7ad412326 100644 --- a/types/jquery.pnotify/tsconfig.json +++ b/types/jquery.pnotify/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.postmessage/tsconfig.json b/types/jquery.postmessage/tsconfig.json index 771fb98481..dffccae0cd 100644 --- a/types/jquery.postmessage/tsconfig.json +++ b/types/jquery.postmessage/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.prettyphoto/tsconfig.json b/types/jquery.prettyphoto/tsconfig.json index ef0512e746..c35b1d3718 100644 --- a/types/jquery.prettyphoto/tsconfig.json +++ b/types/jquery.prettyphoto/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.qrcode/tsconfig.json b/types/jquery.qrcode/tsconfig.json index 309365ed73..bfa114d23a 100644 --- a/types/jquery.qrcode/tsconfig.json +++ b/types/jquery.qrcode/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.rateit/tsconfig.json b/types/jquery.rateit/tsconfig.json index 185c5f4e7d..a2ab54ec3b 100644 --- a/types/jquery.rateit/tsconfig.json +++ b/types/jquery.rateit/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.rowgrid/tsconfig.json b/types/jquery.rowgrid/tsconfig.json index 84db5db709..452aaeee8b 100644 --- a/types/jquery.rowgrid/tsconfig.json +++ b/types/jquery.rowgrid/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.scrollto/tsconfig.json b/types/jquery.scrollto/tsconfig.json index 76d7d92230..587136c6c3 100644 --- a/types/jquery.scrollto/tsconfig.json +++ b/types/jquery.scrollto/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.simplemodal/tsconfig.json b/types/jquery.simplemodal/tsconfig.json index 07eb011fc3..24b60b0f81 100644 --- a/types/jquery.simplemodal/tsconfig.json +++ b/types/jquery.simplemodal/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.simplepagination/tsconfig.json b/types/jquery.simplepagination/tsconfig.json index d5bdf027a7..fa188d40ae 100644 --- a/types/jquery.simplepagination/tsconfig.json +++ b/types/jquery.simplepagination/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.simulate/tsconfig.json b/types/jquery.simulate/tsconfig.json index 01f84a456c..c1586267bc 100644 --- a/types/jquery.simulate/tsconfig.json +++ b/types/jquery.simulate/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.slimscroll/tsconfig.json b/types/jquery.slimscroll/tsconfig.json index 7c9121b767..d6acf16f4e 100644 --- a/types/jquery.slimscroll/tsconfig.json +++ b/types/jquery.slimscroll/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.soap/tsconfig.json b/types/jquery.soap/tsconfig.json index 80ceefd908..30c25fedd2 100644 --- a/types/jquery.soap/tsconfig.json +++ b/types/jquery.soap/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.sortelements/tsconfig.json b/types/jquery.sortelements/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/jquery.sortelements/tsconfig.json +++ b/types/jquery.sortelements/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.superlink/tsconfig.json b/types/jquery.superlink/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/jquery.superlink/tsconfig.json +++ b/types/jquery.superlink/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.tagsmanager/tsconfig.json b/types/jquery.tagsmanager/tsconfig.json index 8f2ee0be57..26ae59c2ef 100644 --- a/types/jquery.tagsmanager/tsconfig.json +++ b/types/jquery.tagsmanager/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.tile/tsconfig.json b/types/jquery.tile/tsconfig.json index 6d92372e66..4dd9e0f2ed 100644 --- a/types/jquery.tile/tsconfig.json +++ b/types/jquery.tile/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.timeago/tsconfig.json b/types/jquery.timeago/tsconfig.json index ed37be4b46..9d61fbd512 100644 --- a/types/jquery.timeago/tsconfig.json +++ b/types/jquery.timeago/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.timepicker/tsconfig.json b/types/jquery.timepicker/tsconfig.json index 3245ae44b9..6536dcca3b 100644 --- a/types/jquery.timepicker/tsconfig.json +++ b/types/jquery.timepicker/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.timer/tsconfig.json b/types/jquery.timer/tsconfig.json index 65cef6c01d..166eec6bc1 100644 --- a/types/jquery.timer/tsconfig.json +++ b/types/jquery.timer/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.tinycarousel/tsconfig.json b/types/jquery.tinycarousel/tsconfig.json index 3963118c45..f8b4040854 100644 --- a/types/jquery.tinycarousel/tsconfig.json +++ b/types/jquery.tinycarousel/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.tinyscrollbar/tsconfig.json b/types/jquery.tinyscrollbar/tsconfig.json index 567041d00a..f318eedaa4 100644 --- a/types/jquery.tinyscrollbar/tsconfig.json +++ b/types/jquery.tinyscrollbar/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.tipsy/tsconfig.json b/types/jquery.tipsy/tsconfig.json index 83ad4e016e..fc95477a54 100644 --- a/types/jquery.tipsy/tsconfig.json +++ b/types/jquery.tipsy/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.tools/tsconfig.json b/types/jquery.tools/tsconfig.json index 64e79cb10d..3b99d33c86 100644 --- a/types/jquery.tools/tsconfig.json +++ b/types/jquery.tools/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.tooltipster/tsconfig.json b/types/jquery.tooltipster/tsconfig.json index baa3c3bdc6..edc2812c82 100644 --- a/types/jquery.tooltipster/tsconfig.json +++ b/types/jquery.tooltipster/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.total-storage/tsconfig.json b/types/jquery.total-storage/tsconfig.json index 9348a6fe20..ab78e13671 100644 --- a/types/jquery.total-storage/tsconfig.json +++ b/types/jquery.total-storage/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.transit/tsconfig.json b/types/jquery.transit/tsconfig.json index 8afd176026..ba68e939c7 100644 --- a/types/jquery.transit/tsconfig.json +++ b/types/jquery.transit/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.ui.datetimepicker/tsconfig.json b/types/jquery.ui.datetimepicker/tsconfig.json index 877cb4a059..6d28673765 100644 --- a/types/jquery.ui.datetimepicker/tsconfig.json +++ b/types/jquery.ui.datetimepicker/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.ui.layout/tsconfig.json b/types/jquery.ui.layout/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/jquery.ui.layout/tsconfig.json +++ b/types/jquery.ui.layout/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.uniform/tsconfig.json b/types/jquery.uniform/tsconfig.json index a419dc1316..0cd374ab15 100644 --- a/types/jquery.uniform/tsconfig.json +++ b/types/jquery.uniform/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.validation/tsconfig.json b/types/jquery.validation/tsconfig.json index 6c399dc97d..83b1ac2d52 100644 --- a/types/jquery.validation/tsconfig.json +++ b/types/jquery.validation/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.watermark/tsconfig.json b/types/jquery.watermark/tsconfig.json index 703e25a8f9..9543996936 100644 --- a/types/jquery.watermark/tsconfig.json +++ b/types/jquery.watermark/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery.window/tsconfig.json b/types/jquery.window/tsconfig.json index c8d0b1e197..d8608684d5 100644 --- a/types/jquery.window/tsconfig.json +++ b/types/jquery.window/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jquery/tsconfig.json b/types/jquery/tsconfig.json index 901642e583..e481dc63c6 100644 --- a/types/jquery/tsconfig.json +++ b/types/jquery/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -28,4 +29,4 @@ "test/jquery-slim-no-window-module-tests.ts", "test/jquery-slim-window-module-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jquery/v1/tsconfig.json b/types/jquery/v1/tsconfig.json index 03de81078e..02855a9f8e 100644 --- a/types/jquery/v1/tsconfig.json +++ b/types/jquery/v1/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" @@ -25,4 +26,4 @@ "index.d.ts", "jquery-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jquery/v2/tsconfig.json b/types/jquery/v2/tsconfig.json index e1c19d0e90..03ea2df8de 100644 --- a/types/jquery/v2/tsconfig.json +++ b/types/jquery/v2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" @@ -25,4 +26,4 @@ "index.d.ts", "jquery-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jquerymobile/tsconfig.json b/types/jquerymobile/tsconfig.json index b98fd820f3..fbbd8cb739 100644 --- a/types/jquerymobile/tsconfig.json +++ b/types/jquerymobile/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jqueryui/tsconfig.json b/types/jqueryui/tsconfig.json index 537439f7cd..ea7c9385c3 100644 --- a/types/jqueryui/tsconfig.json +++ b/types/jqueryui/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "jqueryui-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/js-base64/tsconfig.json b/types/js-base64/tsconfig.json index 08d45d098d..f0622b7bc8 100644 --- a/types/js-base64/tsconfig.json +++ b/types/js-base64/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/js-beautify/tsconfig.json b/types/js-beautify/tsconfig.json index fb4bf8241a..28b0a603af 100644 --- a/types/js-beautify/tsconfig.json +++ b/types/js-beautify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/js-clipper/tsconfig.json b/types/js-clipper/tsconfig.json index 9429aa9612..b4074f17c1 100644 --- a/types/js-clipper/tsconfig.json +++ b/types/js-clipper/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/js-combinatorics/tsconfig.json b/types/js-combinatorics/tsconfig.json index d2c753f35b..ff2a188dcb 100644 --- a/types/js-combinatorics/tsconfig.json +++ b/types/js-combinatorics/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/js-cookie/tsconfig.json b/types/js-cookie/tsconfig.json index 486bcb98e4..63cd342137 100644 --- a/types/js-cookie/tsconfig.json +++ b/types/js-cookie/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "js-cookie-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/js-data-angular/tsconfig.json b/types/js-data-angular/tsconfig.json index 398cd19fdb..e5117ff27a 100644 --- a/types/js-data-angular/tsconfig.json +++ b/types/js-data-angular/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/js-data-http/tsconfig.json b/types/js-data-http/tsconfig.json index d0a5b9be34..2dcba49575 100644 --- a/types/js-data-http/tsconfig.json +++ b/types/js-data-http/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/js-fixtures/tsconfig.json b/types/js-fixtures/tsconfig.json index b67bb5ae6f..2f4cb02c4b 100644 --- a/types/js-fixtures/tsconfig.json +++ b/types/js-fixtures/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/js-git/tsconfig.json b/types/js-git/tsconfig.json index ca3d040658..e53cf4f6d8 100644 --- a/types/js-git/tsconfig.json +++ b/types/js-git/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/js-md5/tsconfig.json b/types/js-md5/tsconfig.json index f0ae291e30..6348210a6b 100644 --- a/types/js-md5/tsconfig.json +++ b/types/js-md5/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "js-md5-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/js-priority-queue/tsconfig.json b/types/js-priority-queue/tsconfig.json index d18a5435ed..12e9d7f000 100644 --- a/types/js-priority-queue/tsconfig.json +++ b/types/js-priority-queue/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/js-quantities/tsconfig.json b/types/js-quantities/tsconfig.json index 4c9210e2f0..1866fc5155 100644 --- a/types/js-quantities/tsconfig.json +++ b/types/js-quantities/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/js-schema/tsconfig.json b/types/js-schema/tsconfig.json index 2df3a57592..1c26cda396 100644 --- a/types/js-schema/tsconfig.json +++ b/types/js-schema/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/js-search/tsconfig.json b/types/js-search/tsconfig.json index 83ce87381c..eb6253aec9 100644 --- a/types/js-search/tsconfig.json +++ b/types/js-search/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "js-search-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/js-to-java/tsconfig.json b/types/js-to-java/tsconfig.json index f5bde3a5bb..6a927d9578 100644 --- a/types/js-to-java/tsconfig.json +++ b/types/js-to-java/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "js-to-java-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/js-url/tsconfig.json b/types/js-url/tsconfig.json index cac2845fc8..117bf43420 100644 --- a/types/js-url/tsconfig.json +++ b/types/js-url/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/js-yaml/tsconfig.json b/types/js-yaml/tsconfig.json index 5e00bebcd7..b1e787d1b3 100644 --- a/types/js-yaml/tsconfig.json +++ b/types/js-yaml/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/js.spec/tsconfig.json b/types/js.spec/tsconfig.json index b3afe65da2..c7a1d13a57 100644 --- a/types/js.spec/tsconfig.json +++ b/types/js.spec/tsconfig.json @@ -1,10 +1,13 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es6"], + "lib": [ + "es6" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -17,4 +20,4 @@ "index.d.ts", "js.spec-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jsbn/tsconfig.json b/types/jsbn/tsconfig.json index 22fbcb3675..68fb5fc2d5 100644 --- a/types/jsbn/tsconfig.json +++ b/types/jsbn/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jscrollpane/tsconfig.json b/types/jscrollpane/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/jscrollpane/tsconfig.json +++ b/types/jscrollpane/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsdeferred/tsconfig.json b/types/jsdeferred/tsconfig.json index 63824aad98..7b6fbf8171 100644 --- a/types/jsdeferred/tsconfig.json +++ b/types/jsdeferred/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -25,4 +26,4 @@ "index.d.ts", "jsdeferred-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jsdom/tsconfig.json b/types/jsdom/tsconfig.json index ea8d7b93b3..fe7f9dd41f 100644 --- a/types/jsdom/tsconfig.json +++ b/types/jsdom/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "jsdom-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jsdom/v2/tsconfig.json b/types/jsdom/v2/tsconfig.json index 79417fd53c..3027a13385 100644 --- a/types/jsdom/v2/tsconfig.json +++ b/types/jsdom/v2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" @@ -25,4 +26,4 @@ "index.d.ts", "jsdom-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jsen/tsconfig.json b/types/jsen/tsconfig.json index 946696fc78..cf32dd60a8 100644 --- a/types/jsen/tsconfig.json +++ b/types/jsen/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsend/tsconfig.json b/types/jsend/tsconfig.json index 5614ffe7d9..13a1b84a23 100644 --- a/types/jsend/tsconfig.json +++ b/types/jsend/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsesc/tsconfig.json b/types/jsesc/tsconfig.json index 4ed5441108..d9f4194987 100644 --- a/types/jsesc/tsconfig.json +++ b/types/jsesc/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsfl/tsconfig.json b/types/jsfl/tsconfig.json index b994fee043..581bbb4199 100644 --- a/types/jsfl/tsconfig.json +++ b/types/jsfl/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsforce/tsconfig.json b/types/jsforce/tsconfig.json index 63812424be..0d480d799f 100644 --- a/types/jsforce/tsconfig.json +++ b/types/jsforce/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jshamcrest/tsconfig.json b/types/jshamcrest/tsconfig.json index 0f9cb7d631..dd54b4d553 100644 --- a/types/jshamcrest/tsconfig.json +++ b/types/jshamcrest/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsmockito/tsconfig.json b/types/jsmockito/tsconfig.json index 8b3d3159c4..3b81da0df0 100644 --- a/types/jsmockito/tsconfig.json +++ b/types/jsmockito/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsnox/tsconfig.json b/types/jsnox/tsconfig.json index 0cbbb155a7..03450f596c 100644 --- a/types/jsnox/tsconfig.json +++ b/types/jsnox/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/json-editor/tsconfig.json b/types/json-editor/tsconfig.json index bc5d6e584c..accf3485bf 100644 --- a/types/json-editor/tsconfig.json +++ b/types/json-editor/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/json-merge-patch/tsconfig.json b/types/json-merge-patch/tsconfig.json index c6552713b4..2c3683dc41 100644 --- a/types/json-merge-patch/tsconfig.json +++ b/types/json-merge-patch/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/json-patch/tsconfig.json b/types/json-patch/tsconfig.json index e3c8bb16c9..bcd1d84d36 100644 --- a/types/json-patch/tsconfig.json +++ b/types/json-patch/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/json-pointer/tsconfig.json b/types/json-pointer/tsconfig.json index 9c4e6d2268..f5b746e548 100644 --- a/types/json-pointer/tsconfig.json +++ b/types/json-pointer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/json-rpc-ws/tsconfig.json b/types/json-rpc-ws/tsconfig.json index 9707d8e10f..d062401159 100644 --- a/types/json-rpc-ws/tsconfig.json +++ b/types/json-rpc-ws/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/json-schema/tsconfig.json b/types/json-schema/tsconfig.json index d3d4af2b73..443caf8239 100644 --- a/types/json-schema/tsconfig.json +++ b/types/json-schema/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/json-socket/tsconfig.json b/types/json-socket/tsconfig.json index 1306eb983e..5901e0b745 100644 --- a/types/json-socket/tsconfig.json +++ b/types/json-socket/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/json-stable-stringify/tsconfig.json b/types/json-stable-stringify/tsconfig.json index 9ce550b0e8..bb605781c5 100644 --- a/types/json-stable-stringify/tsconfig.json +++ b/types/json-stable-stringify/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/json-stringify-safe/tsconfig.json b/types/json-stringify-safe/tsconfig.json index 5ba2999d6d..f4ca1b5e30 100644 --- a/types/json-stringify-safe/tsconfig.json +++ b/types/json-stringify-safe/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "json-stringify-safe-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/json2md/tsconfig.json b/types/json2md/tsconfig.json index 8fec5e6f49..e0fd95f150 100644 --- a/types/json2md/tsconfig.json +++ b/types/json2md/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "json2md-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/json5/tsconfig.json b/types/json5/tsconfig.json index 4e568c642d..bf318f8b10 100644 --- a/types/json5/tsconfig.json +++ b/types/json5/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsonata/tsconfig.json b/types/jsonata/tsconfig.json index e7ca21b6c6..c047ca52bf 100644 --- a/types/jsonata/tsconfig.json +++ b/types/jsonata/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "jsonata-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jsoneditor/tsconfig.json b/types/jsoneditor/tsconfig.json index 3a2fdc86a6..299abd4f68 100644 --- a/types/jsoneditor/tsconfig.json +++ b/types/jsoneditor/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsoneditoronline/tsconfig.json b/types/jsoneditoronline/tsconfig.json index 0a67259635..25ef8ae26a 100644 --- a/types/jsoneditoronline/tsconfig.json +++ b/types/jsoneditoronline/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsonminify/tsconfig.json b/types/jsonminify/tsconfig.json index 64ee314bf6..0df74ef465 100644 --- a/types/jsonminify/tsconfig.json +++ b/types/jsonminify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsonnet/tsconfig.json b/types/jsonnet/tsconfig.json index f890873469..c30a5a2ffb 100644 --- a/types/jsonnet/tsconfig.json +++ b/types/jsonnet/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsonp/tsconfig.json b/types/jsonp/tsconfig.json index 4ba94d9d89..760822ff6b 100644 --- a/types/jsonp/tsconfig.json +++ b/types/jsonp/tsconfig.json @@ -8,8 +8,11 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true @@ -18,4 +21,4 @@ "index.d.ts", "jsonp-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jsonpath/tsconfig.json b/types/jsonpath/tsconfig.json index 1ac9df8aba..04b06d5baf 100644 --- a/types/jsonpath/tsconfig.json +++ b/types/jsonpath/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsonrpc-serializer/tsconfig.json b/types/jsonrpc-serializer/tsconfig.json index f17f1b210b..f3a91d58c1 100644 --- a/types/jsonrpc-serializer/tsconfig.json +++ b/types/jsonrpc-serializer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsonstream/tsconfig.json b/types/jsonstream/tsconfig.json index 84138c9dec..9fe19a4c05 100644 --- a/types/jsonstream/tsconfig.json +++ b/types/jsonstream/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsonwebtoken/tsconfig.json b/types/jsonwebtoken/tsconfig.json index 058e7360ce..c16a931577 100644 --- a/types/jsonwebtoken/tsconfig.json +++ b/types/jsonwebtoken/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jspdf/tsconfig.json b/types/jspdf/tsconfig.json index 90c6d0a5b6..697de6db64 100644 --- a/types/jspdf/tsconfig.json +++ b/types/jspdf/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsplumb/tsconfig.json b/types/jsplumb/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/jsplumb/tsconfig.json +++ b/types/jsplumb/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsqrcode/tsconfig.json b/types/jsqrcode/tsconfig.json index f4a291c106..dcc6bf63a2 100644 --- a/types/jsqrcode/tsconfig.json +++ b/types/jsqrcode/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "noEmit": true, "forceConsistentCasingInFileNames": true, "baseUrl": "../", diff --git a/types/jsrender/tsconfig.json b/types/jsrender/tsconfig.json index 5044b0e8ad..71bcce3848 100644 --- a/types/jsrender/tsconfig.json +++ b/types/jsrender/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsrp/tsconfig.json b/types/jsrp/tsconfig.json index e939c3b49b..eee1ca1391 100644 --- a/types/jsrp/tsconfig.json +++ b/types/jsrp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "jsrp-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jss/tsconfig.json b/types/jss/tsconfig.json index c600a58c9e..d22eb9d75e 100644 --- a/types/jss/tsconfig.json +++ b/types/jss/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jssha/tsconfig.json b/types/jssha/tsconfig.json index ce8218b5d7..9e54d3c27a 100644 --- a/types/jssha/tsconfig.json +++ b/types/jssha/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jstimezonedetect/tsconfig.json b/types/jstimezonedetect/tsconfig.json index ba9295edd9..b774b2f27b 100644 --- a/types/jstimezonedetect/tsconfig.json +++ b/types/jstimezonedetect/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jstorage/tsconfig.json b/types/jstorage/tsconfig.json index 554abb6d04..7d03130196 100644 --- a/types/jstorage/tsconfig.json +++ b/types/jstorage/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jstree/tsconfig.json b/types/jstree/tsconfig.json index ba230e68f1..235aef261c 100644 --- a/types/jstree/tsconfig.json +++ b/types/jstree/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsts/tsconfig.json b/types/jsts/tsconfig.json index 302e50d103..ac8ce72682 100644 --- a/types/jsts/tsconfig.json +++ b/types/jsts/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsuite/tsconfig.json b/types/jsuite/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/jsuite/tsconfig.json +++ b/types/jsuite/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsuri/tsconfig.json b/types/jsuri/tsconfig.json index d065e68f57..aa5a702117 100644 --- a/types/jsuri/tsconfig.json +++ b/types/jsuri/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsurl/tsconfig.json b/types/jsurl/tsconfig.json index 0508fb02fc..3b795be015 100644 --- a/types/jsurl/tsconfig.json +++ b/types/jsurl/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jsx-chai/tsconfig.json b/types/jsx-chai/tsconfig.json index 7995cb00dc..5ff33d9bec 100644 --- a/types/jsx-chai/tsconfig.json +++ b/types/jsx-chai/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jszip/tsconfig.json b/types/jszip/tsconfig.json index 80c7836f06..c5a1abf752 100644 --- a/types/jszip/tsconfig.json +++ b/types/jszip/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "jszip-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jug/tsconfig.json b/types/jug/tsconfig.json index 174d7c3d87..ceaf8a8e0a 100644 --- a/types/jug/tsconfig.json +++ b/types/jug/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jui-core/tsconfig.json b/types/jui-core/tsconfig.json index 1328971c9e..67f1eb8560 100644 --- a/types/jui-core/tsconfig.json +++ b/types/jui-core/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "jui-core-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jui-grid/tsconfig.json b/types/jui-grid/tsconfig.json index e79594958e..44d9c93211 100644 --- a/types/jui-grid/tsconfig.json +++ b/types/jui-grid/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -17,7 +18,7 @@ "forceConsistentCasingInFileNames": true }, "files": [ - "index.d.ts", - "jui-grid-tests.ts" + "index.d.ts", + "jui-grid-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jui/tsconfig.json b/types/jui/tsconfig.json index 9137f72c78..6ea9a2ea6b 100644 --- a/types/jui/tsconfig.json +++ b/types/jui/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -17,7 +18,7 @@ "forceConsistentCasingInFileNames": true }, "files": [ - "index.d.ts", - "jui-tests.ts" + "index.d.ts", + "jui-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jump.js/tsconfig.json b/types/jump.js/tsconfig.json index eb922b4eeb..58186807e9 100644 --- a/types/jump.js/tsconfig.json +++ b/types/jump.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jweixin/tsconfig.json b/types/jweixin/tsconfig.json index 1031f719fd..d2740833c5 100644 --- a/types/jweixin/tsconfig.json +++ b/types/jweixin/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "jweixin-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "jweixin-tests.ts" + ] +} \ No newline at end of file diff --git a/types/jwplayer/tsconfig.json b/types/jwplayer/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/jwplayer/tsconfig.json +++ b/types/jwplayer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jwt-client/tsconfig.json b/types/jwt-client/tsconfig.json index 1e833af482..3611c59237 100644 --- a/types/jwt-client/tsconfig.json +++ b/types/jwt-client/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/jwt-decode/tsconfig.json b/types/jwt-decode/tsconfig.json index 8d87ddb618..f53a16f5a6 100644 --- a/types/jwt-decode/tsconfig.json +++ b/types/jwt-decode/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "jwt-decode-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jwt-decode/v1/tsconfig.json b/types/jwt-decode/v1/tsconfig.json index a0d0dd4f39..261fdece08 100644 --- a/types/jwt-decode/v1/tsconfig.json +++ b/types/jwt-decode/v1/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" @@ -24,4 +25,4 @@ "index.d.ts", "jwt-decode-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/jwt-simple/tsconfig.json b/types/jwt-simple/tsconfig.json index 1ac8cea6f1..52f84f6e77 100644 --- a/types/jwt-simple/tsconfig.json +++ b/types/jwt-simple/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/kafka-node/tsconfig.json b/types/kafka-node/tsconfig.json index 616ae7507a..154c35e191 100644 --- a/types/kafka-node/tsconfig.json +++ b/types/kafka-node/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "kafka-node-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/karma-chai-sinon/tsconfig.json b/types/karma-chai-sinon/tsconfig.json index 48d0aaa5f2..86c4fa3299 100644 --- a/types/karma-chai-sinon/tsconfig.json +++ b/types/karma-chai-sinon/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/karma-chai/tsconfig.json b/types/karma-chai/tsconfig.json index 578bca4c14..726bb90e80 100644 --- a/types/karma-chai/tsconfig.json +++ b/types/karma-chai/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "karma-chai-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/karma-coverage/tsconfig.json b/types/karma-coverage/tsconfig.json index 404aa4ec66..02a491bc01 100644 --- a/types/karma-coverage/tsconfig.json +++ b/types/karma-coverage/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/karma-fixture/tsconfig.json b/types/karma-fixture/tsconfig.json index 29d2f94e74..0b39c302b4 100644 --- a/types/karma-fixture/tsconfig.json +++ b/types/karma-fixture/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/karma-jasmine/tsconfig.json b/types/karma-jasmine/tsconfig.json index 22f2f52c79..54f70b6c45 100644 --- a/types/karma-jasmine/tsconfig.json +++ b/types/karma-jasmine/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/karma-webpack/tsconfig.json b/types/karma-webpack/tsconfig.json index 6f357958af..d91714d8bc 100644 --- a/types/karma-webpack/tsconfig.json +++ b/types/karma-webpack/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "karma-webpack-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/karma/tsconfig.json b/types/karma/tsconfig.json index b2d5e469ba..50bbc0c60b 100644 --- a/types/karma/tsconfig.json +++ b/types/karma/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/katex/tsconfig.json b/types/katex/tsconfig.json index e5f500e3f4..2cf3297aca 100644 --- a/types/katex/tsconfig.json +++ b/types/katex/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/kcors/tsconfig.json b/types/kcors/tsconfig.json index 017137b6dd..3322dc4921 100644 --- a/types/kcors/tsconfig.json +++ b/types/kcors/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/kdbush/tsconfig.json b/types/kdbush/tsconfig.json index 16814b627e..11107837a0 100644 --- a/types/kdbush/tsconfig.json +++ b/types/kdbush/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "kdbush-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/kefir/tsconfig.json b/types/kefir/tsconfig.json index 9f05950582..e1d57fe2e3 100644 --- a/types/kefir/tsconfig.json +++ b/types/kefir/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/kendo-ui/tsconfig.json b/types/kendo-ui/tsconfig.json index e43c0b12f2..e6e296e3ee 100644 --- a/types/kendo-ui/tsconfig.json +++ b/types/kendo-ui/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/keyboardjs/tsconfig.json b/types/keyboardjs/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/keyboardjs/tsconfig.json +++ b/types/keyboardjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/keycloak-js/tsconfig.json b/types/keycloak-js/tsconfig.json index 7ac994a5dc..7c2834a781 100644 --- a/types/keycloak-js/tsconfig.json +++ b/types/keycloak-js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "keycloak-authz.d.ts", "keycloak-js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/keygrip/tsconfig.json b/types/keygrip/tsconfig.json index b5667e063a..6a68ad8ba2 100644 --- a/types/keygrip/tsconfig.json +++ b/types/keygrip/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/keymaster/tsconfig.json b/types/keymaster/tsconfig.json index fb5fbe56d3..c35aaa1b01 100644 --- a/types/keymaster/tsconfig.json +++ b/types/keymaster/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/keymirror/tsconfig.json b/types/keymirror/tsconfig.json index e29384c526..4d6365bc4c 100644 --- a/types/keymirror/tsconfig.json +++ b/types/keymirror/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/keypress.js/tsconfig.json b/types/keypress.js/tsconfig.json index e34001b2f2..1643b0a002 100644 --- a/types/keypress.js/tsconfig.json +++ b/types/keypress.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/keysym/tsconfig.json b/types/keysym/tsconfig.json index 01fdbb99b9..b2daaa6d31 100644 --- a/types/keysym/tsconfig.json +++ b/types/keysym/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "keysym-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/keytar/tsconfig.json b/types/keytar/tsconfig.json index 7fb028fabd..5a2fe428ff 100644 --- a/types/keytar/tsconfig.json +++ b/types/keytar/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/kii-cloud-sdk/tsconfig.json b/types/kii-cloud-sdk/tsconfig.json index 7c1fee614e..fd1b84aab9 100644 --- a/types/kii-cloud-sdk/tsconfig.json +++ b/types/kii-cloud-sdk/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/kik-browser/tsconfig.json b/types/kik-browser/tsconfig.json index e5bd914ec0..d832795617 100644 --- a/types/kik-browser/tsconfig.json +++ b/types/kik-browser/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/kineticjs/tsconfig.json b/types/kineticjs/tsconfig.json index aff40245f3..cee48ec061 100644 --- a/types/kineticjs/tsconfig.json +++ b/types/kineticjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/klaw-sync/tsconfig.json b/types/klaw-sync/tsconfig.json index ca120a7ba3..f6fe9eb8bd 100644 --- a/types/klaw-sync/tsconfig.json +++ b/types/klaw-sync/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "klaw-sync-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/klaw/tsconfig.json b/types/klaw/tsconfig.json index d9191309e7..1d3db09e05 100644 --- a/types/klaw/tsconfig.json +++ b/types/klaw/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/knex-postgis/tsconfig.json b/types/knex-postgis/tsconfig.json index 78352f64b6..7d088da2f2 100644 --- a/types/knex-postgis/tsconfig.json +++ b/types/knex-postgis/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "knex-postgis-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/knex/tsconfig.json b/types/knex/tsconfig.json index 820352f41b..8f0b7771d9 100644 --- a/types/knex/tsconfig.json +++ b/types/knex/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/knockback/tsconfig.json b/types/knockback/tsconfig.json index 9661cf12ad..fa1c069762 100644 --- a/types/knockback/tsconfig.json +++ b/types/knockback/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/knockout-amd-helpers/tsconfig.json b/types/knockout-amd-helpers/tsconfig.json index 83c42c0bd5..b79c6d90d2 100644 --- a/types/knockout-amd-helpers/tsconfig.json +++ b/types/knockout-amd-helpers/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/knockout-secure-binding/tsconfig.json b/types/knockout-secure-binding/tsconfig.json index 1f945cd202..111b6eeeee 100644 --- a/types/knockout-secure-binding/tsconfig.json +++ b/types/knockout-secure-binding/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/knockout-transformations/tsconfig.json b/types/knockout-transformations/tsconfig.json index 296a2aa453..4e5e456ef6 100644 --- a/types/knockout-transformations/tsconfig.json +++ b/types/knockout-transformations/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/knockout.deferred.updates/tsconfig.json b/types/knockout.deferred.updates/tsconfig.json index 4dc316a17a..e454e60d07 100644 --- a/types/knockout.deferred.updates/tsconfig.json +++ b/types/knockout.deferred.updates/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/knockout.editables/tsconfig.json b/types/knockout.editables/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/knockout.editables/tsconfig.json +++ b/types/knockout.editables/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/knockout.es5/tsconfig.json b/types/knockout.es5/tsconfig.json index 6d1c70fe3f..794ea97505 100644 --- a/types/knockout.es5/tsconfig.json +++ b/types/knockout.es5/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/knockout.kogrid/tsconfig.json b/types/knockout.kogrid/tsconfig.json index d46268534b..005a8c6eb1 100644 --- a/types/knockout.kogrid/tsconfig.json +++ b/types/knockout.kogrid/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/knockout.mapper/tsconfig.json b/types/knockout.mapper/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/knockout.mapper/tsconfig.json +++ b/types/knockout.mapper/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/knockout.mapping/tsconfig.json b/types/knockout.mapping/tsconfig.json index 24b00ef829..1ae87d442f 100644 --- a/types/knockout.mapping/tsconfig.json +++ b/types/knockout.mapping/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/knockout.postbox/tsconfig.json b/types/knockout.postbox/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/knockout.postbox/tsconfig.json +++ b/types/knockout.postbox/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/knockout.projections/tsconfig.json b/types/knockout.projections/tsconfig.json index d962e55fc5..97fa4bbc5e 100644 --- a/types/knockout.projections/tsconfig.json +++ b/types/knockout.projections/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/knockout.punches/tsconfig.json b/types/knockout.punches/tsconfig.json index f42d080001..6851149d09 100644 --- a/types/knockout.punches/tsconfig.json +++ b/types/knockout.punches/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/knockout.rx/tsconfig.json b/types/knockout.rx/tsconfig.json index d05b336095..3a2a3fdb73 100644 --- a/types/knockout.rx/tsconfig.json +++ b/types/knockout.rx/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/knockout.validation/tsconfig.json b/types/knockout.validation/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/knockout.validation/tsconfig.json +++ b/types/knockout.validation/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/knockout.viewmodel/tsconfig.json b/types/knockout.viewmodel/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/knockout.viewmodel/tsconfig.json +++ b/types/knockout.viewmodel/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/knockout/tsconfig.json b/types/knockout/tsconfig.json index c5dd9f2ae7..1a314f7b0e 100644 --- a/types/knockout/tsconfig.json +++ b/types/knockout/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "test/templatingBehaviors.ts", "test/index.ts" ] -} +} \ No newline at end of file diff --git a/types/knockstrap/tsconfig.json b/types/knockstrap/tsconfig.json index abe418072e..4d09924e6d 100644 --- a/types/knockstrap/tsconfig.json +++ b/types/knockstrap/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/knuddels-userapps-api/tsconfig.json b/types/knuddels-userapps-api/tsconfig.json index 21fec51518..96c3a04cc9 100644 --- a/types/knuddels-userapps-api/tsconfig.json +++ b/types/knuddels-userapps-api/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "knuddels-userapps-api-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "knuddels-userapps-api-tests.ts" + ] } \ No newline at end of file diff --git a/types/ko.plus/tsconfig.json b/types/ko.plus/tsconfig.json index 5c3f63d332..7dbc42737f 100644 --- a/types/ko.plus/tsconfig.json +++ b/types/ko.plus/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-basic-auth/tsconfig.json b/types/koa-basic-auth/tsconfig.json index 181d92bae2..26e8260665 100644 --- a/types/koa-basic-auth/tsconfig.json +++ b/types/koa-basic-auth/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-bodyparser/tsconfig.json b/types/koa-bodyparser/tsconfig.json index 939c56b2c9..1e7b5ee33e 100644 --- a/types/koa-bodyparser/tsconfig.json +++ b/types/koa-bodyparser/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-cache-control/tsconfig.json b/types/koa-cache-control/tsconfig.json index 846b5abbae..3ecc5fd497 100644 --- a/types/koa-cache-control/tsconfig.json +++ b/types/koa-cache-control/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "koa-cache-control-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/koa-compose/tsconfig.json b/types/koa-compose/tsconfig.json index 452eee9f98..59b13908a4 100644 --- a/types/koa-compose/tsconfig.json +++ b/types/koa-compose/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-compress/tsconfig.json b/types/koa-compress/tsconfig.json index 2f4485fbb0..332dd960c4 100644 --- a/types/koa-compress/tsconfig.json +++ b/types/koa-compress/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-favicon/tsconfig.json b/types/koa-favicon/tsconfig.json index a375b967d4..15566de398 100644 --- a/types/koa-favicon/tsconfig.json +++ b/types/koa-favicon/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-generic-session/tsconfig.json b/types/koa-generic-session/tsconfig.json index b4cf43dab8..d16c12ef15 100644 --- a/types/koa-generic-session/tsconfig.json +++ b/types/koa-generic-session/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-hbs/tsconfig.json b/types/koa-hbs/tsconfig.json index 5e0b9691a4..b286334455 100644 --- a/types/koa-hbs/tsconfig.json +++ b/types/koa-hbs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-helmet/tsconfig.json b/types/koa-helmet/tsconfig.json index 53162f08e8..1024081843 100644 --- a/types/koa-helmet/tsconfig.json +++ b/types/koa-helmet/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "koa-helmet-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/koa-json-error/tsconfig.json b/types/koa-json-error/tsconfig.json index 49d647a322..7aa60a506f 100644 --- a/types/koa-json-error/tsconfig.json +++ b/types/koa-json-error/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-json/tsconfig.json b/types/koa-json/tsconfig.json index 32dcc5d9e4..914c85a096 100644 --- a/types/koa-json/tsconfig.json +++ b/types/koa-json/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-jwt/tsconfig.json b/types/koa-jwt/tsconfig.json index 6b8a12b3d2..0348b0636b 100644 --- a/types/koa-jwt/tsconfig.json +++ b/types/koa-jwt/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-logger-winston/tsconfig.json b/types/koa-logger-winston/tsconfig.json index 0cd24d7f45..2f3ccb79ee 100644 --- a/types/koa-logger-winston/tsconfig.json +++ b/types/koa-logger-winston/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "koa-logger-winston-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/koa-logger/tsconfig.json b/types/koa-logger/tsconfig.json index b919cca987..28110f20ac 100644 --- a/types/koa-logger/tsconfig.json +++ b/types/koa-logger/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-morgan/tsconfig.json b/types/koa-morgan/tsconfig.json index d8dae4f5fc..ecf170e923 100644 --- a/types/koa-morgan/tsconfig.json +++ b/types/koa-morgan/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "koa-morgan-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/koa-mount/tsconfig.json b/types/koa-mount/tsconfig.json index 511ea065f4..d19516145b 100644 --- a/types/koa-mount/tsconfig.json +++ b/types/koa-mount/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-passport/tsconfig.json b/types/koa-passport/tsconfig.json index 90d49d7c29..fcd51d7953 100644 --- a/types/koa-passport/tsconfig.json +++ b/types/koa-passport/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-pino-logger/tsconfig.json b/types/koa-pino-logger/tsconfig.json index ddfc0c7e95..13810e891e 100644 --- a/types/koa-pino-logger/tsconfig.json +++ b/types/koa-pino-logger/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-pug/tsconfig.json b/types/koa-pug/tsconfig.json index c2a62396b1..ac317cd48f 100644 --- a/types/koa-pug/tsconfig.json +++ b/types/koa-pug/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-range/tsconfig.json b/types/koa-range/tsconfig.json index 742860d438..37c1c00f19 100644 --- a/types/koa-range/tsconfig.json +++ b/types/koa-range/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "koa-range-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/koa-redis/tsconfig.json b/types/koa-redis/tsconfig.json index c6a27579dd..a49a3a13c1 100644 --- a/types/koa-redis/tsconfig.json +++ b/types/koa-redis/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "koa-redis-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/koa-route/tsconfig.json b/types/koa-route/tsconfig.json index 7b54228aaa..97dff8158a 100644 --- a/types/koa-route/tsconfig.json +++ b/types/koa-route/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "koa-route-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/koa-router/tsconfig.json b/types/koa-router/tsconfig.json index 998f99cd59..76f07fef64 100644 --- a/types/koa-router/tsconfig.json +++ b/types/koa-router/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-send/tsconfig.json b/types/koa-send/tsconfig.json index 97cf5eeb16..202d12546a 100644 --- a/types/koa-send/tsconfig.json +++ b/types/koa-send/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-session-minimal/tsconfig.json b/types/koa-session-minimal/tsconfig.json index b32297846a..42cafb4d4a 100644 --- a/types/koa-session-minimal/tsconfig.json +++ b/types/koa-session-minimal/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-session/tsconfig.json b/types/koa-session/tsconfig.json index d312ce0105..eea5fc5068 100644 --- a/types/koa-session/tsconfig.json +++ b/types/koa-session/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "koa-session-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/koa-static/tsconfig.json b/types/koa-static/tsconfig.json index 8e8987ca6f..ce89a3c21f 100644 --- a/types/koa-static/tsconfig.json +++ b/types/koa-static/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-views/tsconfig.json b/types/koa-views/tsconfig.json index 69d0c62b8c..95d7a74d53 100644 --- a/types/koa-views/tsconfig.json +++ b/types/koa-views/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa-websocket/tsconfig.json b/types/koa-websocket/tsconfig.json index effcb59356..87c9225d08 100644 --- a/types/koa-websocket/tsconfig.json +++ b/types/koa-websocket/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "koa-websocket-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/koa/tsconfig.json b/types/koa/tsconfig.json index bd57bca4ac..5c4ba0f656 100644 --- a/types/koa/tsconfig.json +++ b/types/koa/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/koa__cors/tsconfig.json b/types/koa__cors/tsconfig.json index 1bde80dc70..220bebc26a 100644 --- a/types/koa__cors/tsconfig.json +++ b/types/koa__cors/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -14,12 +15,14 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "paths":{ - "@koa/cors": ["koa__cors"] + "paths": { + "@koa/cors": [ + "koa__cors" + ] } }, "files": [ "index.d.ts", "koa__cors-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/kolite/tsconfig.json b/types/kolite/tsconfig.json index b45c2a15e1..1dc7da3187 100644 --- a/types/kolite/tsconfig.json +++ b/types/kolite/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/konami.js/tsconfig.json b/types/konami.js/tsconfig.json index 23556b0bde..b802a3109c 100644 --- a/types/konami.js/tsconfig.json +++ b/types/konami.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/kramed/tsconfig.json b/types/kramed/tsconfig.json index dec874decf..b816669307 100644 --- a/types/kramed/tsconfig.json +++ b/types/kramed/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "kramed-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/kss/tsconfig.json b/types/kss/tsconfig.json index 30cdd58f41..987701f0bb 100644 --- a/types/kss/tsconfig.json +++ b/types/kss/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "kss-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/kue/tsconfig.json b/types/kue/tsconfig.json index 52aab9e4f3..dab7ca300b 100644 --- a/types/kue/tsconfig.json +++ b/types/kue/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/kurento-utils/tsconfig.json b/types/kurento-utils/tsconfig.json index 5cf0b9a383..8920df3604 100644 --- a/types/kurento-utils/tsconfig.json +++ b/types/kurento-utils/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/kuromoji/tsconfig.json b/types/kuromoji/tsconfig.json index ba74d250d4..f74ea439af 100644 --- a/types/kuromoji/tsconfig.json +++ b/types/kuromoji/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lab/tsconfig.json b/types/lab/tsconfig.json index 8af22fcd5c..8e0ad06d10 100644 --- a/types/lab/tsconfig.json +++ b/types/lab/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ladda/tsconfig.json b/types/ladda/tsconfig.json index 44d481481a..2d878b6f9d 100644 --- a/types/ladda/tsconfig.json +++ b/types/ladda/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/later/tsconfig.json b/types/later/tsconfig.json index add4a07667..5b74d9d144 100644 --- a/types/later/tsconfig.json +++ b/types/later/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/latinize/tsconfig.json b/types/latinize/tsconfig.json index 00e8ec0f94..90b98478aa 100644 --- a/types/latinize/tsconfig.json +++ b/types/latinize/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/launchpad/tsconfig.json b/types/launchpad/tsconfig.json index e8c758a80f..01333e0ca2 100644 --- a/types/launchpad/tsconfig.json +++ b/types/launchpad/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "noEmit": true, "forceConsistentCasingInFileNames": true, "types": [], diff --git a/types/lazy.js/tsconfig.json b/types/lazy.js/tsconfig.json index a994fa60a9..0f2d64001d 100644 --- a/types/lazy.js/tsconfig.json +++ b/types/lazy.js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lazypipe/tsconfig.json b/types/lazypipe/tsconfig.json index 801cf4648a..31a6b4b294 100644 --- a/types/lazypipe/tsconfig.json +++ b/types/lazypipe/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/ldapjs/tsconfig.json b/types/ldapjs/tsconfig.json index be88c48519..1f1d5bafc9 100644 --- a/types/ldapjs/tsconfig.json +++ b/types/ldapjs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ldclient-js/tsconfig.json b/types/ldclient-js/tsconfig.json index d341317f57..a43d586229 100644 --- a/types/ldclient-js/tsconfig.json +++ b/types/ldclient-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/leadfoot/tsconfig.json b/types/leadfoot/tsconfig.json index 50a2f0042a..5672c5bf4d 100644 --- a/types/leadfoot/tsconfig.json +++ b/types/leadfoot/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/leaflet-areaselect/tsconfig.json b/types/leaflet-areaselect/tsconfig.json index efa50ab66e..98aceb4b21 100644 --- a/types/leaflet-areaselect/tsconfig.json +++ b/types/leaflet-areaselect/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "leaflet-areaselect-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/leaflet-curve/tsconfig.json b/types/leaflet-curve/tsconfig.json index 06ed09cdd1..6ca509b566 100644 --- a/types/leaflet-curve/tsconfig.json +++ b/types/leaflet-curve/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/leaflet-draw/tsconfig.json b/types/leaflet-draw/tsconfig.json index e36b77de72..5db4feb624 100644 --- a/types/leaflet-draw/tsconfig.json +++ b/types/leaflet-draw/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/leaflet-editable/tsconfig.json b/types/leaflet-editable/tsconfig.json index 4ae40d6774..d03e43670e 100644 --- a/types/leaflet-editable/tsconfig.json +++ b/types/leaflet-editable/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/leaflet-fullscreen/tsconfig.json b/types/leaflet-fullscreen/tsconfig.json index 0da8d35169..102331a4af 100644 --- a/types/leaflet-fullscreen/tsconfig.json +++ b/types/leaflet-fullscreen/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/leaflet-geocoder-mapzen/tsconfig.json b/types/leaflet-geocoder-mapzen/tsconfig.json index b5786e4cda..9bf4ee0bfb 100644 --- a/types/leaflet-geocoder-mapzen/tsconfig.json +++ b/types/leaflet-geocoder-mapzen/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/leaflet-gpx/tsconfig.json b/types/leaflet-gpx/tsconfig.json index 68f95ad1a4..08f5612820 100644 --- a/types/leaflet-gpx/tsconfig.json +++ b/types/leaflet-gpx/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "leaflet-gpx-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/leaflet-imageoverlay-rotated/tsconfig.json b/types/leaflet-imageoverlay-rotated/tsconfig.json index c6f8181b86..440971024d 100644 --- a/types/leaflet-imageoverlay-rotated/tsconfig.json +++ b/types/leaflet-imageoverlay-rotated/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/leaflet-label/tsconfig.json b/types/leaflet-label/tsconfig.json index a3e17b8d51..bf2cfa0f43 100644 --- a/types/leaflet-label/tsconfig.json +++ b/types/leaflet-label/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/leaflet-polylinedecorator/tsconfig.json b/types/leaflet-polylinedecorator/tsconfig.json index d50a96123e..f84b2a3913 100644 --- a/types/leaflet-polylinedecorator/tsconfig.json +++ b/types/leaflet-polylinedecorator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "leaflet-polylinedecorator-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/leaflet-providers/tsconfig.json b/types/leaflet-providers/tsconfig.json index 3cacd8e3db..bb2349b7d5 100644 --- a/types/leaflet-providers/tsconfig.json +++ b/types/leaflet-providers/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "leaflet-providers-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/leaflet.awesome-markers/tsconfig.json b/types/leaflet.awesome-markers/tsconfig.json index d4e34220c0..079cf577d2 100644 --- a/types/leaflet.awesome-markers/tsconfig.json +++ b/types/leaflet.awesome-markers/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "leaflet.awesome-markers-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/leaflet.awesome-markers/v0/tsconfig.json b/types/leaflet.awesome-markers/v0/tsconfig.json index 95c7b0b62f..549076e43b 100644 --- a/types/leaflet.awesome-markers/v0/tsconfig.json +++ b/types/leaflet.awesome-markers/v0/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" @@ -28,4 +29,4 @@ "index.d.ts", "leaflet.awesome-markers-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/leaflet.fullscreen/tsconfig.json b/types/leaflet.fullscreen/tsconfig.json index 3ca1cc4de7..bb2cf83e37 100644 --- a/types/leaflet.fullscreen/tsconfig.json +++ b/types/leaflet.fullscreen/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/leaflet.gridlayer.googlemutant/tsconfig.json b/types/leaflet.gridlayer.googlemutant/tsconfig.json index 7001206f48..d739a04322 100644 --- a/types/leaflet.gridlayer.googlemutant/tsconfig.json +++ b/types/leaflet.gridlayer.googlemutant/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/leaflet.locatecontrol/tsconfig.json b/types/leaflet.locatecontrol/tsconfig.json index 0ccab11228..22ab0179b2 100644 --- a/types/leaflet.locatecontrol/tsconfig.json +++ b/types/leaflet.locatecontrol/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/leaflet.markercluster.layersupport/tsconfig.json b/types/leaflet.markercluster.layersupport/tsconfig.json index 4e82ec1409..13ba48e6f4 100644 --- a/types/leaflet.markercluster.layersupport/tsconfig.json +++ b/types/leaflet.markercluster.layersupport/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "leaflet.markercluster.layersupport-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/leaflet.markercluster/tsconfig.json b/types/leaflet.markercluster/tsconfig.json index 6cc587aa00..b1f7f8c1af 100644 --- a/types/leaflet.markercluster/tsconfig.json +++ b/types/leaflet.markercluster/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/leaflet.pm/tsconfig.json b/types/leaflet.pm/tsconfig.json index f106913bbd..b2313b93ee 100644 --- a/types/leaflet.pm/tsconfig.json +++ b/types/leaflet.pm/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/leaflet/tsconfig.json b/types/leaflet/tsconfig.json index 6eaf769059..55862abef1 100644 --- a/types/leaflet/tsconfig.json +++ b/types/leaflet/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/leaflet/v0/tsconfig.json b/types/leaflet/v0/tsconfig.json index a37ed57eab..c8003b67d8 100644 --- a/types/leaflet/v0/tsconfig.json +++ b/types/leaflet/v0/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/leapmotionts/tsconfig.json b/types/leapmotionts/tsconfig.json index 8417c33f63..7ac842a053 100644 --- a/types/leapmotionts/tsconfig.json +++ b/types/leapmotionts/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/left-pad/tsconfig.json b/types/left-pad/tsconfig.json index d8e429b77a..383ebedf76 100644 --- a/types/left-pad/tsconfig.json +++ b/types/left-pad/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/less-middleware/tsconfig.json b/types/less-middleware/tsconfig.json index 1ef75ffec3..8a807955b0 100644 --- a/types/less-middleware/tsconfig.json +++ b/types/less-middleware/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/less/tsconfig.json b/types/less/tsconfig.json index 6ed26dfe1a..635134c330 100644 --- a/types/less/tsconfig.json +++ b/types/less/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lestate/tsconfig.json b/types/lestate/tsconfig.json index 6b25aa19f4..152bf946a6 100644 --- a/types/lestate/tsconfig.json +++ b/types/lestate/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/level-sublevel/tsconfig.json b/types/level-sublevel/tsconfig.json index 28c9e7a208..4dad69a329 100644 --- a/types/level-sublevel/tsconfig.json +++ b/types/level-sublevel/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/leveldown/tsconfig.json b/types/leveldown/tsconfig.json index c69d58061a..68b5638f5b 100644 --- a/types/leveldown/tsconfig.json +++ b/types/leveldown/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "leveldown-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/levelup/tsconfig.json b/types/levelup/tsconfig.json index 1670ee86e6..8825ba9b79 100644 --- a/types/levelup/tsconfig.json +++ b/types/levelup/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/leven/tsconfig.json b/types/leven/tsconfig.json index cddcbe652b..14d505d892 100644 --- a/types/leven/tsconfig.json +++ b/types/leven/tsconfig.json @@ -1,10 +1,13 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es6"], + "lib": [ + "es6" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/levenshtein/tsconfig.json b/types/levenshtein/tsconfig.json index a8f2abee1a..da44f54a3e 100644 --- a/types/levenshtein/tsconfig.json +++ b/types/levenshtein/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/libpq/tsconfig.json b/types/libpq/tsconfig.json index 5ab89a06ee..c2179c6020 100644 --- a/types/libpq/tsconfig.json +++ b/types/libpq/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "libpq-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/libxmljs/tsconfig.json b/types/libxmljs/tsconfig.json index 0b1cbca085..7201fffe81 100644 --- a/types/libxmljs/tsconfig.json +++ b/types/libxmljs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/libxslt/tsconfig.json b/types/libxslt/tsconfig.json index 5819e6de24..a7f7f94ffc 100644 --- a/types/libxslt/tsconfig.json +++ b/types/libxslt/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/license-checker/tsconfig.json b/types/license-checker/tsconfig.json index 4560756381..3cfded1e87 100644 --- a/types/license-checker/tsconfig.json +++ b/types/license-checker/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "license-checker-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/lime-js/tsconfig.json b/types/lime-js/tsconfig.json index 1fbc4e9e82..fb352deb87 100644 --- a/types/lime-js/tsconfig.json +++ b/types/lime-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/line-by-line/tsconfig.json b/types/line-by-line/tsconfig.json index a0f6fb9b81..c92dc43aac 100644 --- a/types/line-by-line/tsconfig.json +++ b/types/line-by-line/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/line-reader/tsconfig.json b/types/line-reader/tsconfig.json index 968735ad02..0bf05161de 100644 --- a/types/line-reader/tsconfig.json +++ b/types/line-reader/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/linkify-it/tsconfig.json b/types/linkify-it/tsconfig.json index d773912f34..53501188a6 100644 --- a/types/linkify-it/tsconfig.json +++ b/types/linkify-it/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "linkify-it-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/linq4js/tsconfig.json b/types/linq4js/tsconfig.json index 3fcd8a216f..3479566f16 100644 --- a/types/linq4js/tsconfig.json +++ b/types/linq4js/tsconfig.json @@ -8,15 +8,16 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "target": "es6", "baseUrl": "../", "typeRoots": [ "../" ], "types": [], - "lib":[ - "es6" - ], + "lib": [ + "es6" + ], "noEmit": true, "forceConsistentCasingInFileNames": true } diff --git a/types/lls/tsconfig.json b/types/lls/tsconfig.json index e159cb7263..41aa184116 100644 --- a/types/lls/tsconfig.json +++ b/types/lls/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/load-json-file/tsconfig.json b/types/load-json-file/tsconfig.json index aca093adfb..9cbafc8746 100644 --- a/types/load-json-file/tsconfig.json +++ b/types/load-json-file/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "load-json-file-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/loader-runner/tsconfig.json b/types/loader-runner/tsconfig.json index 4f926c24c2..9a8894c61b 100644 --- a/types/loader-runner/tsconfig.json +++ b/types/loader-runner/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/loader-utils/tsconfig.json b/types/loader-utils/tsconfig.json index 9b57f2b7b2..91aa5704c4 100644 --- a/types/loader-utils/tsconfig.json +++ b/types/loader-utils/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "loader-utils-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/lobibox/tsconfig.json b/types/lobibox/tsconfig.json index 923f2c88ec..ef1a1c2f64 100644 --- a/types/lobibox/tsconfig.json +++ b/types/lobibox/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/localforage-cordovasqlitedriver/tsconfig.json b/types/localforage-cordovasqlitedriver/tsconfig.json index 21bd910eae..8e2874eaa8 100644 --- a/types/localforage-cordovasqlitedriver/tsconfig.json +++ b/types/localforage-cordovasqlitedriver/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/localized-countries/tsconfig.json b/types/localized-countries/tsconfig.json index ebd99f99c2..61ec539732 100644 --- a/types/localized-countries/tsconfig.json +++ b/types/localized-countries/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "localized-countries-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/localizejs-library/tsconfig.json b/types/localizejs-library/tsconfig.json index 0dfeec7c44..2c7631c828 100644 --- a/types/localizejs-library/tsconfig.json +++ b/types/localizejs-library/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "localizejs-library-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/locate-path/tsconfig.json b/types/locate-path/tsconfig.json index ba894e700e..355b51b851 100644 --- a/types/locate-path/tsconfig.json +++ b/types/locate-path/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "locate-path-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/lockfile/tsconfig.json b/types/lockfile/tsconfig.json index b18316bbb3..83b6126099 100644 --- a/types/lockfile/tsconfig.json +++ b/types/lockfile/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "lockfile-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/lockfile/v0/tsconfig.json b/types/lockfile/v0/tsconfig.json index b4e33bf919..a5f99334c4 100644 --- a/types/lockfile/v0/tsconfig.json +++ b/types/lockfile/v0/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "lockfile": ["lockfile/v0"] + "lockfile": [ + "lockfile/v0" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "lockfile-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/lockr/tsconfig.json b/types/lockr/tsconfig.json index 8aa1ca22ec..391de2fb03 100644 --- a/types/lockr/tsconfig.json +++ b/types/lockr/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/locutus/tsconfig.json b/types/locutus/tsconfig.json index 67e9c76747..2a54cd1721 100644 --- a/types/locutus/tsconfig.json +++ b/types/locutus/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash-es/tsconfig.json b/types/lodash-es/tsconfig.json index 3a7ac3575b..a3f03eab48 100644 --- a/types/lodash-es/tsconfig.json +++ b/types/lodash-es/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash-webpack-plugin/tsconfig.json b/types/lodash-webpack-plugin/tsconfig.json index 34ca502764..5a4f35d31e 100644 --- a/types/lodash-webpack-plugin/tsconfig.json +++ b/types/lodash-webpack-plugin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "lodash-webpack-plugin-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/lodash.add/tsconfig.json b/types/lodash.add/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.add/tsconfig.json +++ b/types/lodash.add/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.after/tsconfig.json b/types/lodash.after/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.after/tsconfig.json +++ b/types/lodash.after/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.ary/tsconfig.json b/types/lodash.ary/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.ary/tsconfig.json +++ b/types/lodash.ary/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.assign/tsconfig.json b/types/lodash.assign/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.assign/tsconfig.json +++ b/types/lodash.assign/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.assignin/tsconfig.json b/types/lodash.assignin/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.assignin/tsconfig.json +++ b/types/lodash.assignin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.assigninwith/tsconfig.json b/types/lodash.assigninwith/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.assigninwith/tsconfig.json +++ b/types/lodash.assigninwith/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.assignwith/tsconfig.json b/types/lodash.assignwith/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.assignwith/tsconfig.json +++ b/types/lodash.assignwith/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.at/tsconfig.json b/types/lodash.at/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.at/tsconfig.json +++ b/types/lodash.at/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.attempt/tsconfig.json b/types/lodash.attempt/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.attempt/tsconfig.json +++ b/types/lodash.attempt/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.before/tsconfig.json b/types/lodash.before/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.before/tsconfig.json +++ b/types/lodash.before/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.bind/tsconfig.json b/types/lodash.bind/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.bind/tsconfig.json +++ b/types/lodash.bind/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.bindall/tsconfig.json b/types/lodash.bindall/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.bindall/tsconfig.json +++ b/types/lodash.bindall/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.bindkey/tsconfig.json b/types/lodash.bindkey/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.bindkey/tsconfig.json +++ b/types/lodash.bindkey/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.camelcase/tsconfig.json b/types/lodash.camelcase/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.camelcase/tsconfig.json +++ b/types/lodash.camelcase/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.capitalize/tsconfig.json b/types/lodash.capitalize/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.capitalize/tsconfig.json +++ b/types/lodash.capitalize/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.castarray/tsconfig.json b/types/lodash.castarray/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.castarray/tsconfig.json +++ b/types/lodash.castarray/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.ceil/tsconfig.json b/types/lodash.ceil/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.ceil/tsconfig.json +++ b/types/lodash.ceil/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.chunk/tsconfig.json b/types/lodash.chunk/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.chunk/tsconfig.json +++ b/types/lodash.chunk/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.clamp/tsconfig.json b/types/lodash.clamp/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.clamp/tsconfig.json +++ b/types/lodash.clamp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.clone/tsconfig.json b/types/lodash.clone/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.clone/tsconfig.json +++ b/types/lodash.clone/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.clonedeep/tsconfig.json b/types/lodash.clonedeep/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.clonedeep/tsconfig.json +++ b/types/lodash.clonedeep/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.clonedeepwith/tsconfig.json b/types/lodash.clonedeepwith/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.clonedeepwith/tsconfig.json +++ b/types/lodash.clonedeepwith/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.clonewith/tsconfig.json b/types/lodash.clonewith/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.clonewith/tsconfig.json +++ b/types/lodash.clonewith/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.compact/tsconfig.json b/types/lodash.compact/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.compact/tsconfig.json +++ b/types/lodash.compact/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.concat/tsconfig.json b/types/lodash.concat/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.concat/tsconfig.json +++ b/types/lodash.concat/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.cond/tsconfig.json b/types/lodash.cond/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.cond/tsconfig.json +++ b/types/lodash.cond/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.constant/tsconfig.json b/types/lodash.constant/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.constant/tsconfig.json +++ b/types/lodash.constant/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.countby/tsconfig.json b/types/lodash.countby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.countby/tsconfig.json +++ b/types/lodash.countby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.create/tsconfig.json b/types/lodash.create/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.create/tsconfig.json +++ b/types/lodash.create/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.curry/tsconfig.json b/types/lodash.curry/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.curry/tsconfig.json +++ b/types/lodash.curry/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.curryright/tsconfig.json b/types/lodash.curryright/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.curryright/tsconfig.json +++ b/types/lodash.curryright/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.debounce/tsconfig.json b/types/lodash.debounce/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.debounce/tsconfig.json +++ b/types/lodash.debounce/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.deburr/tsconfig.json b/types/lodash.deburr/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.deburr/tsconfig.json +++ b/types/lodash.deburr/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.defaults/tsconfig.json b/types/lodash.defaults/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.defaults/tsconfig.json +++ b/types/lodash.defaults/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.defaultsdeep/tsconfig.json b/types/lodash.defaultsdeep/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.defaultsdeep/tsconfig.json +++ b/types/lodash.defaultsdeep/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.defer/tsconfig.json b/types/lodash.defer/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.defer/tsconfig.json +++ b/types/lodash.defer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.delay/tsconfig.json b/types/lodash.delay/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.delay/tsconfig.json +++ b/types/lodash.delay/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.difference/tsconfig.json b/types/lodash.difference/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.difference/tsconfig.json +++ b/types/lodash.difference/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.differenceby/tsconfig.json b/types/lodash.differenceby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.differenceby/tsconfig.json +++ b/types/lodash.differenceby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.differencewith/tsconfig.json b/types/lodash.differencewith/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.differencewith/tsconfig.json +++ b/types/lodash.differencewith/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.divide/tsconfig.json b/types/lodash.divide/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.divide/tsconfig.json +++ b/types/lodash.divide/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.drop/tsconfig.json b/types/lodash.drop/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.drop/tsconfig.json +++ b/types/lodash.drop/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.dropright/tsconfig.json b/types/lodash.dropright/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.dropright/tsconfig.json +++ b/types/lodash.dropright/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.droprightwhile/tsconfig.json b/types/lodash.droprightwhile/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.droprightwhile/tsconfig.json +++ b/types/lodash.droprightwhile/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.dropwhile/tsconfig.json b/types/lodash.dropwhile/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.dropwhile/tsconfig.json +++ b/types/lodash.dropwhile/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.endswith/tsconfig.json b/types/lodash.endswith/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.endswith/tsconfig.json +++ b/types/lodash.endswith/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.eq/tsconfig.json b/types/lodash.eq/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.eq/tsconfig.json +++ b/types/lodash.eq/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.escape/tsconfig.json b/types/lodash.escape/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.escape/tsconfig.json +++ b/types/lodash.escape/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.escaperegexp/tsconfig.json b/types/lodash.escaperegexp/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.escaperegexp/tsconfig.json +++ b/types/lodash.escaperegexp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.every/tsconfig.json b/types/lodash.every/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.every/tsconfig.json +++ b/types/lodash.every/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.fill/tsconfig.json b/types/lodash.fill/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.fill/tsconfig.json +++ b/types/lodash.fill/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.filter/tsconfig.json b/types/lodash.filter/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.filter/tsconfig.json +++ b/types/lodash.filter/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.find/tsconfig.json b/types/lodash.find/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.find/tsconfig.json +++ b/types/lodash.find/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.findindex/tsconfig.json b/types/lodash.findindex/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.findindex/tsconfig.json +++ b/types/lodash.findindex/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.findkey/tsconfig.json b/types/lodash.findkey/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.findkey/tsconfig.json +++ b/types/lodash.findkey/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.findlast/tsconfig.json b/types/lodash.findlast/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.findlast/tsconfig.json +++ b/types/lodash.findlast/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.findlastindex/tsconfig.json b/types/lodash.findlastindex/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.findlastindex/tsconfig.json +++ b/types/lodash.findlastindex/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.findlastkey/tsconfig.json b/types/lodash.findlastkey/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.findlastkey/tsconfig.json +++ b/types/lodash.findlastkey/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.first/tsconfig.json b/types/lodash.first/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.first/tsconfig.json +++ b/types/lodash.first/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.flatmap/tsconfig.json b/types/lodash.flatmap/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.flatmap/tsconfig.json +++ b/types/lodash.flatmap/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.flatmapdeep/tsconfig.json b/types/lodash.flatmapdeep/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.flatmapdeep/tsconfig.json +++ b/types/lodash.flatmapdeep/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.flatmapdepth/tsconfig.json b/types/lodash.flatmapdepth/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.flatmapdepth/tsconfig.json +++ b/types/lodash.flatmapdepth/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.flatten/tsconfig.json b/types/lodash.flatten/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.flatten/tsconfig.json +++ b/types/lodash.flatten/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.flattendeep/tsconfig.json b/types/lodash.flattendeep/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.flattendeep/tsconfig.json +++ b/types/lodash.flattendeep/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.flattendepth/tsconfig.json b/types/lodash.flattendepth/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.flattendepth/tsconfig.json +++ b/types/lodash.flattendepth/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.flip/tsconfig.json b/types/lodash.flip/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.flip/tsconfig.json +++ b/types/lodash.flip/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.floor/tsconfig.json b/types/lodash.floor/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.floor/tsconfig.json +++ b/types/lodash.floor/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.flow/tsconfig.json b/types/lodash.flow/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.flow/tsconfig.json +++ b/types/lodash.flow/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.flowright/tsconfig.json b/types/lodash.flowright/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.flowright/tsconfig.json +++ b/types/lodash.flowright/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.foreach/tsconfig.json b/types/lodash.foreach/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.foreach/tsconfig.json +++ b/types/lodash.foreach/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.foreachright/tsconfig.json b/types/lodash.foreachright/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.foreachright/tsconfig.json +++ b/types/lodash.foreachright/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.forin/tsconfig.json b/types/lodash.forin/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.forin/tsconfig.json +++ b/types/lodash.forin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.forinright/tsconfig.json b/types/lodash.forinright/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.forinright/tsconfig.json +++ b/types/lodash.forinright/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.forown/tsconfig.json b/types/lodash.forown/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.forown/tsconfig.json +++ b/types/lodash.forown/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.forownright/tsconfig.json b/types/lodash.forownright/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.forownright/tsconfig.json +++ b/types/lodash.forownright/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.frompairs/tsconfig.json b/types/lodash.frompairs/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.frompairs/tsconfig.json +++ b/types/lodash.frompairs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.functions/tsconfig.json b/types/lodash.functions/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.functions/tsconfig.json +++ b/types/lodash.functions/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.functionsin/tsconfig.json b/types/lodash.functionsin/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.functionsin/tsconfig.json +++ b/types/lodash.functionsin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.get/tsconfig.json b/types/lodash.get/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.get/tsconfig.json +++ b/types/lodash.get/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.groupby/tsconfig.json b/types/lodash.groupby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.groupby/tsconfig.json +++ b/types/lodash.groupby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.gt/tsconfig.json b/types/lodash.gt/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.gt/tsconfig.json +++ b/types/lodash.gt/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.gte/tsconfig.json b/types/lodash.gte/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.gte/tsconfig.json +++ b/types/lodash.gte/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.has/tsconfig.json b/types/lodash.has/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.has/tsconfig.json +++ b/types/lodash.has/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.hasin/tsconfig.json b/types/lodash.hasin/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.hasin/tsconfig.json +++ b/types/lodash.hasin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.head/tsconfig.json b/types/lodash.head/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.head/tsconfig.json +++ b/types/lodash.head/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.identity/tsconfig.json b/types/lodash.identity/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.identity/tsconfig.json +++ b/types/lodash.identity/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.includes/tsconfig.json b/types/lodash.includes/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.includes/tsconfig.json +++ b/types/lodash.includes/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.indexof/tsconfig.json b/types/lodash.indexof/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.indexof/tsconfig.json +++ b/types/lodash.indexof/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.initial/tsconfig.json b/types/lodash.initial/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.initial/tsconfig.json +++ b/types/lodash.initial/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.inrange/tsconfig.json b/types/lodash.inrange/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.inrange/tsconfig.json +++ b/types/lodash.inrange/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.intersection/tsconfig.json b/types/lodash.intersection/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.intersection/tsconfig.json +++ b/types/lodash.intersection/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.intersectionby/tsconfig.json b/types/lodash.intersectionby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.intersectionby/tsconfig.json +++ b/types/lodash.intersectionby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.intersectionwith/tsconfig.json b/types/lodash.intersectionwith/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.intersectionwith/tsconfig.json +++ b/types/lodash.intersectionwith/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.invert/tsconfig.json b/types/lodash.invert/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.invert/tsconfig.json +++ b/types/lodash.invert/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.invertby/tsconfig.json b/types/lodash.invertby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.invertby/tsconfig.json +++ b/types/lodash.invertby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.invoke/tsconfig.json b/types/lodash.invoke/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.invoke/tsconfig.json +++ b/types/lodash.invoke/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.invokemap/tsconfig.json b/types/lodash.invokemap/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.invokemap/tsconfig.json +++ b/types/lodash.invokemap/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isarguments/tsconfig.json b/types/lodash.isarguments/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isarguments/tsconfig.json +++ b/types/lodash.isarguments/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isarray/tsconfig.json b/types/lodash.isarray/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isarray/tsconfig.json +++ b/types/lodash.isarray/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isarraybuffer/tsconfig.json b/types/lodash.isarraybuffer/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isarraybuffer/tsconfig.json +++ b/types/lodash.isarraybuffer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isarraylike/tsconfig.json b/types/lodash.isarraylike/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isarraylike/tsconfig.json +++ b/types/lodash.isarraylike/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isarraylikeobject/tsconfig.json b/types/lodash.isarraylikeobject/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isarraylikeobject/tsconfig.json +++ b/types/lodash.isarraylikeobject/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isboolean/tsconfig.json b/types/lodash.isboolean/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isboolean/tsconfig.json +++ b/types/lodash.isboolean/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isbuffer/tsconfig.json b/types/lodash.isbuffer/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isbuffer/tsconfig.json +++ b/types/lodash.isbuffer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isdate/tsconfig.json b/types/lodash.isdate/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isdate/tsconfig.json +++ b/types/lodash.isdate/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.iselement/tsconfig.json b/types/lodash.iselement/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.iselement/tsconfig.json +++ b/types/lodash.iselement/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isempty/tsconfig.json b/types/lodash.isempty/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isempty/tsconfig.json +++ b/types/lodash.isempty/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isequal/tsconfig.json b/types/lodash.isequal/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isequal/tsconfig.json +++ b/types/lodash.isequal/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isequalwith/tsconfig.json b/types/lodash.isequalwith/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isequalwith/tsconfig.json +++ b/types/lodash.isequalwith/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.iserror/tsconfig.json b/types/lodash.iserror/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.iserror/tsconfig.json +++ b/types/lodash.iserror/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isfinite/tsconfig.json b/types/lodash.isfinite/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isfinite/tsconfig.json +++ b/types/lodash.isfinite/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isfunction/tsconfig.json b/types/lodash.isfunction/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isfunction/tsconfig.json +++ b/types/lodash.isfunction/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isinteger/tsconfig.json b/types/lodash.isinteger/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isinteger/tsconfig.json +++ b/types/lodash.isinteger/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.islength/tsconfig.json b/types/lodash.islength/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.islength/tsconfig.json +++ b/types/lodash.islength/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.ismap/tsconfig.json b/types/lodash.ismap/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.ismap/tsconfig.json +++ b/types/lodash.ismap/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.ismatch/tsconfig.json b/types/lodash.ismatch/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.ismatch/tsconfig.json +++ b/types/lodash.ismatch/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.ismatchwith/tsconfig.json b/types/lodash.ismatchwith/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.ismatchwith/tsconfig.json +++ b/types/lodash.ismatchwith/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isnan/tsconfig.json b/types/lodash.isnan/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isnan/tsconfig.json +++ b/types/lodash.isnan/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isnative/tsconfig.json b/types/lodash.isnative/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isnative/tsconfig.json +++ b/types/lodash.isnative/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isnil/tsconfig.json b/types/lodash.isnil/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isnil/tsconfig.json +++ b/types/lodash.isnil/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isnull/tsconfig.json b/types/lodash.isnull/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isnull/tsconfig.json +++ b/types/lodash.isnull/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isnumber/tsconfig.json b/types/lodash.isnumber/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isnumber/tsconfig.json +++ b/types/lodash.isnumber/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isobject/tsconfig.json b/types/lodash.isobject/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isobject/tsconfig.json +++ b/types/lodash.isobject/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isobjectlike/tsconfig.json b/types/lodash.isobjectlike/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isobjectlike/tsconfig.json +++ b/types/lodash.isobjectlike/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isplainobject/tsconfig.json b/types/lodash.isplainobject/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isplainobject/tsconfig.json +++ b/types/lodash.isplainobject/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isregexp/tsconfig.json b/types/lodash.isregexp/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isregexp/tsconfig.json +++ b/types/lodash.isregexp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.issafeinteger/tsconfig.json b/types/lodash.issafeinteger/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.issafeinteger/tsconfig.json +++ b/types/lodash.issafeinteger/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isset/tsconfig.json b/types/lodash.isset/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isset/tsconfig.json +++ b/types/lodash.isset/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isstring/tsconfig.json b/types/lodash.isstring/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isstring/tsconfig.json +++ b/types/lodash.isstring/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.issymbol/tsconfig.json b/types/lodash.issymbol/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.issymbol/tsconfig.json +++ b/types/lodash.issymbol/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.istypedarray/tsconfig.json b/types/lodash.istypedarray/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.istypedarray/tsconfig.json +++ b/types/lodash.istypedarray/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isundefined/tsconfig.json b/types/lodash.isundefined/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isundefined/tsconfig.json +++ b/types/lodash.isundefined/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isweakmap/tsconfig.json b/types/lodash.isweakmap/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isweakmap/tsconfig.json +++ b/types/lodash.isweakmap/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.isweakset/tsconfig.json b/types/lodash.isweakset/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.isweakset/tsconfig.json +++ b/types/lodash.isweakset/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.iteratee/tsconfig.json b/types/lodash.iteratee/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.iteratee/tsconfig.json +++ b/types/lodash.iteratee/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.join/tsconfig.json b/types/lodash.join/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.join/tsconfig.json +++ b/types/lodash.join/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.kebabcase/tsconfig.json b/types/lodash.kebabcase/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.kebabcase/tsconfig.json +++ b/types/lodash.kebabcase/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.keyby/tsconfig.json b/types/lodash.keyby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.keyby/tsconfig.json +++ b/types/lodash.keyby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.keys/tsconfig.json b/types/lodash.keys/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.keys/tsconfig.json +++ b/types/lodash.keys/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.keysin/tsconfig.json b/types/lodash.keysin/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.keysin/tsconfig.json +++ b/types/lodash.keysin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.last/tsconfig.json b/types/lodash.last/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.last/tsconfig.json +++ b/types/lodash.last/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.lastindexof/tsconfig.json b/types/lodash.lastindexof/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.lastindexof/tsconfig.json +++ b/types/lodash.lastindexof/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.lowercase/tsconfig.json b/types/lodash.lowercase/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.lowercase/tsconfig.json +++ b/types/lodash.lowercase/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.lowerfirst/tsconfig.json b/types/lodash.lowerfirst/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.lowerfirst/tsconfig.json +++ b/types/lodash.lowerfirst/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.lt/tsconfig.json b/types/lodash.lt/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.lt/tsconfig.json +++ b/types/lodash.lt/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.lte/tsconfig.json b/types/lodash.lte/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.lte/tsconfig.json +++ b/types/lodash.lte/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.mapkeys/tsconfig.json b/types/lodash.mapkeys/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.mapkeys/tsconfig.json +++ b/types/lodash.mapkeys/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.mapvalues/tsconfig.json b/types/lodash.mapvalues/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.mapvalues/tsconfig.json +++ b/types/lodash.mapvalues/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.matches/tsconfig.json b/types/lodash.matches/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.matches/tsconfig.json +++ b/types/lodash.matches/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.matchesproperty/tsconfig.json b/types/lodash.matchesproperty/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.matchesproperty/tsconfig.json +++ b/types/lodash.matchesproperty/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.max/tsconfig.json b/types/lodash.max/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.max/tsconfig.json +++ b/types/lodash.max/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.maxby/tsconfig.json b/types/lodash.maxby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.maxby/tsconfig.json +++ b/types/lodash.maxby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.mean/tsconfig.json b/types/lodash.mean/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.mean/tsconfig.json +++ b/types/lodash.mean/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.meanby/tsconfig.json b/types/lodash.meanby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.meanby/tsconfig.json +++ b/types/lodash.meanby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.memoize/tsconfig.json b/types/lodash.memoize/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.memoize/tsconfig.json +++ b/types/lodash.memoize/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.merge/tsconfig.json b/types/lodash.merge/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.merge/tsconfig.json +++ b/types/lodash.merge/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.mergewith/tsconfig.json b/types/lodash.mergewith/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.mergewith/tsconfig.json +++ b/types/lodash.mergewith/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.method/tsconfig.json b/types/lodash.method/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.method/tsconfig.json +++ b/types/lodash.method/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.methodof/tsconfig.json b/types/lodash.methodof/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.methodof/tsconfig.json +++ b/types/lodash.methodof/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.min/tsconfig.json b/types/lodash.min/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.min/tsconfig.json +++ b/types/lodash.min/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.minby/tsconfig.json b/types/lodash.minby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.minby/tsconfig.json +++ b/types/lodash.minby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.mixin/tsconfig.json b/types/lodash.mixin/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.mixin/tsconfig.json +++ b/types/lodash.mixin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.negate/tsconfig.json b/types/lodash.negate/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.negate/tsconfig.json +++ b/types/lodash.negate/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.noop/tsconfig.json b/types/lodash.noop/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.noop/tsconfig.json +++ b/types/lodash.noop/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.now/tsconfig.json b/types/lodash.now/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.now/tsconfig.json +++ b/types/lodash.now/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.nth/tsconfig.json b/types/lodash.nth/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.nth/tsconfig.json +++ b/types/lodash.nth/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.ntharg/tsconfig.json b/types/lodash.ntharg/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.ntharg/tsconfig.json +++ b/types/lodash.ntharg/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.omit/tsconfig.json b/types/lodash.omit/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.omit/tsconfig.json +++ b/types/lodash.omit/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.omitby/tsconfig.json b/types/lodash.omitby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.omitby/tsconfig.json +++ b/types/lodash.omitby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.once/tsconfig.json b/types/lodash.once/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.once/tsconfig.json +++ b/types/lodash.once/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.orderby/tsconfig.json b/types/lodash.orderby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.orderby/tsconfig.json +++ b/types/lodash.orderby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.over/tsconfig.json b/types/lodash.over/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.over/tsconfig.json +++ b/types/lodash.over/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.overargs/tsconfig.json b/types/lodash.overargs/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.overargs/tsconfig.json +++ b/types/lodash.overargs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.overevery/tsconfig.json b/types/lodash.overevery/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.overevery/tsconfig.json +++ b/types/lodash.overevery/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.oversome/tsconfig.json b/types/lodash.oversome/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.oversome/tsconfig.json +++ b/types/lodash.oversome/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.pad/tsconfig.json b/types/lodash.pad/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.pad/tsconfig.json +++ b/types/lodash.pad/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.padend/tsconfig.json b/types/lodash.padend/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.padend/tsconfig.json +++ b/types/lodash.padend/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.padstart/tsconfig.json b/types/lodash.padstart/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.padstart/tsconfig.json +++ b/types/lodash.padstart/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.parseint/tsconfig.json b/types/lodash.parseint/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.parseint/tsconfig.json +++ b/types/lodash.parseint/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.partial/tsconfig.json b/types/lodash.partial/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.partial/tsconfig.json +++ b/types/lodash.partial/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.partialright/tsconfig.json b/types/lodash.partialright/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.partialright/tsconfig.json +++ b/types/lodash.partialright/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.partition/tsconfig.json b/types/lodash.partition/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.partition/tsconfig.json +++ b/types/lodash.partition/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.pick/tsconfig.json b/types/lodash.pick/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.pick/tsconfig.json +++ b/types/lodash.pick/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.pickby/tsconfig.json b/types/lodash.pickby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.pickby/tsconfig.json +++ b/types/lodash.pickby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.property/tsconfig.json b/types/lodash.property/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.property/tsconfig.json +++ b/types/lodash.property/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.propertyof/tsconfig.json b/types/lodash.propertyof/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.propertyof/tsconfig.json +++ b/types/lodash.propertyof/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.pull/tsconfig.json b/types/lodash.pull/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.pull/tsconfig.json +++ b/types/lodash.pull/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.pullall/tsconfig.json b/types/lodash.pullall/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.pullall/tsconfig.json +++ b/types/lodash.pullall/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.pullallby/tsconfig.json b/types/lodash.pullallby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.pullallby/tsconfig.json +++ b/types/lodash.pullallby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.pullallwith/tsconfig.json b/types/lodash.pullallwith/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.pullallwith/tsconfig.json +++ b/types/lodash.pullallwith/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.pullat/tsconfig.json b/types/lodash.pullat/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.pullat/tsconfig.json +++ b/types/lodash.pullat/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.random/tsconfig.json b/types/lodash.random/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.random/tsconfig.json +++ b/types/lodash.random/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.range/tsconfig.json b/types/lodash.range/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.range/tsconfig.json +++ b/types/lodash.range/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.rangeright/tsconfig.json b/types/lodash.rangeright/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.rangeright/tsconfig.json +++ b/types/lodash.rangeright/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.rearg/tsconfig.json b/types/lodash.rearg/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.rearg/tsconfig.json +++ b/types/lodash.rearg/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.reduce/tsconfig.json b/types/lodash.reduce/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.reduce/tsconfig.json +++ b/types/lodash.reduce/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.reduceright/tsconfig.json b/types/lodash.reduceright/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.reduceright/tsconfig.json +++ b/types/lodash.reduceright/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.reject/tsconfig.json b/types/lodash.reject/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.reject/tsconfig.json +++ b/types/lodash.reject/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.remove/tsconfig.json b/types/lodash.remove/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.remove/tsconfig.json +++ b/types/lodash.remove/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.repeat/tsconfig.json b/types/lodash.repeat/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.repeat/tsconfig.json +++ b/types/lodash.repeat/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.replace/tsconfig.json b/types/lodash.replace/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.replace/tsconfig.json +++ b/types/lodash.replace/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.rest/tsconfig.json b/types/lodash.rest/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.rest/tsconfig.json +++ b/types/lodash.rest/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.result/tsconfig.json b/types/lodash.result/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.result/tsconfig.json +++ b/types/lodash.result/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.reverse/tsconfig.json b/types/lodash.reverse/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.reverse/tsconfig.json +++ b/types/lodash.reverse/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.round/tsconfig.json b/types/lodash.round/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.round/tsconfig.json +++ b/types/lodash.round/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.sample/tsconfig.json b/types/lodash.sample/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.sample/tsconfig.json +++ b/types/lodash.sample/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.samplesize/tsconfig.json b/types/lodash.samplesize/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.samplesize/tsconfig.json +++ b/types/lodash.samplesize/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.set/tsconfig.json b/types/lodash.set/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.set/tsconfig.json +++ b/types/lodash.set/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.setwith/tsconfig.json b/types/lodash.setwith/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.setwith/tsconfig.json +++ b/types/lodash.setwith/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.shuffle/tsconfig.json b/types/lodash.shuffle/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.shuffle/tsconfig.json +++ b/types/lodash.shuffle/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.size/tsconfig.json b/types/lodash.size/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.size/tsconfig.json +++ b/types/lodash.size/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.slice/tsconfig.json b/types/lodash.slice/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.slice/tsconfig.json +++ b/types/lodash.slice/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.snakecase/tsconfig.json b/types/lodash.snakecase/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.snakecase/tsconfig.json +++ b/types/lodash.snakecase/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.some/tsconfig.json b/types/lodash.some/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.some/tsconfig.json +++ b/types/lodash.some/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.sortby/tsconfig.json b/types/lodash.sortby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.sortby/tsconfig.json +++ b/types/lodash.sortby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.sortedindex/tsconfig.json b/types/lodash.sortedindex/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.sortedindex/tsconfig.json +++ b/types/lodash.sortedindex/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.sortedindexby/tsconfig.json b/types/lodash.sortedindexby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.sortedindexby/tsconfig.json +++ b/types/lodash.sortedindexby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.sortedindexof/tsconfig.json b/types/lodash.sortedindexof/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.sortedindexof/tsconfig.json +++ b/types/lodash.sortedindexof/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.sortedlastindex/tsconfig.json b/types/lodash.sortedlastindex/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.sortedlastindex/tsconfig.json +++ b/types/lodash.sortedlastindex/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.sortedlastindexby/tsconfig.json b/types/lodash.sortedlastindexby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.sortedlastindexby/tsconfig.json +++ b/types/lodash.sortedlastindexby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.sortedlastindexof/tsconfig.json b/types/lodash.sortedlastindexof/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.sortedlastindexof/tsconfig.json +++ b/types/lodash.sortedlastindexof/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.sorteduniq/tsconfig.json b/types/lodash.sorteduniq/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.sorteduniq/tsconfig.json +++ b/types/lodash.sorteduniq/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.sorteduniqby/tsconfig.json b/types/lodash.sorteduniqby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.sorteduniqby/tsconfig.json +++ b/types/lodash.sorteduniqby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.split/tsconfig.json b/types/lodash.split/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.split/tsconfig.json +++ b/types/lodash.split/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.spread/tsconfig.json b/types/lodash.spread/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.spread/tsconfig.json +++ b/types/lodash.spread/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.startcase/tsconfig.json b/types/lodash.startcase/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.startcase/tsconfig.json +++ b/types/lodash.startcase/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.startswith/tsconfig.json b/types/lodash.startswith/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.startswith/tsconfig.json +++ b/types/lodash.startswith/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.subtract/tsconfig.json b/types/lodash.subtract/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.subtract/tsconfig.json +++ b/types/lodash.subtract/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.sum/tsconfig.json b/types/lodash.sum/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.sum/tsconfig.json +++ b/types/lodash.sum/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.sumby/tsconfig.json b/types/lodash.sumby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.sumby/tsconfig.json +++ b/types/lodash.sumby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.tail/tsconfig.json b/types/lodash.tail/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.tail/tsconfig.json +++ b/types/lodash.tail/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.take/tsconfig.json b/types/lodash.take/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.take/tsconfig.json +++ b/types/lodash.take/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.takeright/tsconfig.json b/types/lodash.takeright/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.takeright/tsconfig.json +++ b/types/lodash.takeright/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.takerightwhile/tsconfig.json b/types/lodash.takerightwhile/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.takerightwhile/tsconfig.json +++ b/types/lodash.takerightwhile/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.takewhile/tsconfig.json b/types/lodash.takewhile/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.takewhile/tsconfig.json +++ b/types/lodash.takewhile/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.template/tsconfig.json b/types/lodash.template/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.template/tsconfig.json +++ b/types/lodash.template/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.throttle/tsconfig.json b/types/lodash.throttle/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.throttle/tsconfig.json +++ b/types/lodash.throttle/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.times/tsconfig.json b/types/lodash.times/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.times/tsconfig.json +++ b/types/lodash.times/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.toarray/tsconfig.json b/types/lodash.toarray/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.toarray/tsconfig.json +++ b/types/lodash.toarray/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.tofinite/tsconfig.json b/types/lodash.tofinite/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.tofinite/tsconfig.json +++ b/types/lodash.tofinite/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.tointeger/tsconfig.json b/types/lodash.tointeger/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.tointeger/tsconfig.json +++ b/types/lodash.tointeger/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.tolength/tsconfig.json b/types/lodash.tolength/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.tolength/tsconfig.json +++ b/types/lodash.tolength/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.tolower/tsconfig.json b/types/lodash.tolower/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.tolower/tsconfig.json +++ b/types/lodash.tolower/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.tonumber/tsconfig.json b/types/lodash.tonumber/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.tonumber/tsconfig.json +++ b/types/lodash.tonumber/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.topairs/tsconfig.json b/types/lodash.topairs/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.topairs/tsconfig.json +++ b/types/lodash.topairs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.topairsin/tsconfig.json b/types/lodash.topairsin/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.topairsin/tsconfig.json +++ b/types/lodash.topairsin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.topath/tsconfig.json b/types/lodash.topath/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.topath/tsconfig.json +++ b/types/lodash.topath/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.toplainobject/tsconfig.json b/types/lodash.toplainobject/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.toplainobject/tsconfig.json +++ b/types/lodash.toplainobject/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.tosafeinteger/tsconfig.json b/types/lodash.tosafeinteger/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.tosafeinteger/tsconfig.json +++ b/types/lodash.tosafeinteger/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.tostring/tsconfig.json b/types/lodash.tostring/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.tostring/tsconfig.json +++ b/types/lodash.tostring/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.toupper/tsconfig.json b/types/lodash.toupper/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.toupper/tsconfig.json +++ b/types/lodash.toupper/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.transform/tsconfig.json b/types/lodash.transform/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.transform/tsconfig.json +++ b/types/lodash.transform/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.trim/tsconfig.json b/types/lodash.trim/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.trim/tsconfig.json +++ b/types/lodash.trim/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.trimend/tsconfig.json b/types/lodash.trimend/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.trimend/tsconfig.json +++ b/types/lodash.trimend/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.trimstart/tsconfig.json b/types/lodash.trimstart/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.trimstart/tsconfig.json +++ b/types/lodash.trimstart/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.truncate/tsconfig.json b/types/lodash.truncate/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.truncate/tsconfig.json +++ b/types/lodash.truncate/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.unary/tsconfig.json b/types/lodash.unary/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.unary/tsconfig.json +++ b/types/lodash.unary/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.unescape/tsconfig.json b/types/lodash.unescape/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.unescape/tsconfig.json +++ b/types/lodash.unescape/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.union/tsconfig.json b/types/lodash.union/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.union/tsconfig.json +++ b/types/lodash.union/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.unionby/tsconfig.json b/types/lodash.unionby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.unionby/tsconfig.json +++ b/types/lodash.unionby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.unionwith/tsconfig.json b/types/lodash.unionwith/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.unionwith/tsconfig.json +++ b/types/lodash.unionwith/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.uniq/tsconfig.json b/types/lodash.uniq/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.uniq/tsconfig.json +++ b/types/lodash.uniq/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.uniqby/tsconfig.json b/types/lodash.uniqby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.uniqby/tsconfig.json +++ b/types/lodash.uniqby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.uniqueid/tsconfig.json b/types/lodash.uniqueid/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.uniqueid/tsconfig.json +++ b/types/lodash.uniqueid/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.uniqwith/tsconfig.json b/types/lodash.uniqwith/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.uniqwith/tsconfig.json +++ b/types/lodash.uniqwith/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.unset/tsconfig.json b/types/lodash.unset/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.unset/tsconfig.json +++ b/types/lodash.unset/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.unzip/tsconfig.json b/types/lodash.unzip/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.unzip/tsconfig.json +++ b/types/lodash.unzip/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.unzipwith/tsconfig.json b/types/lodash.unzipwith/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.unzipwith/tsconfig.json +++ b/types/lodash.unzipwith/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.update/tsconfig.json b/types/lodash.update/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.update/tsconfig.json +++ b/types/lodash.update/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.updatewith/tsconfig.json b/types/lodash.updatewith/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.updatewith/tsconfig.json +++ b/types/lodash.updatewith/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.uppercase/tsconfig.json b/types/lodash.uppercase/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.uppercase/tsconfig.json +++ b/types/lodash.uppercase/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.upperfirst/tsconfig.json b/types/lodash.upperfirst/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.upperfirst/tsconfig.json +++ b/types/lodash.upperfirst/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.values/tsconfig.json b/types/lodash.values/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.values/tsconfig.json +++ b/types/lodash.values/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.valuesin/tsconfig.json b/types/lodash.valuesin/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.valuesin/tsconfig.json +++ b/types/lodash.valuesin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.without/tsconfig.json b/types/lodash.without/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.without/tsconfig.json +++ b/types/lodash.without/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.words/tsconfig.json b/types/lodash.words/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.words/tsconfig.json +++ b/types/lodash.words/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.wrap/tsconfig.json b/types/lodash.wrap/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.wrap/tsconfig.json +++ b/types/lodash.wrap/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.xor/tsconfig.json b/types/lodash.xor/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.xor/tsconfig.json +++ b/types/lodash.xor/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.xorby/tsconfig.json b/types/lodash.xorby/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.xorby/tsconfig.json +++ b/types/lodash.xorby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.xorwith/tsconfig.json b/types/lodash.xorwith/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.xorwith/tsconfig.json +++ b/types/lodash.xorwith/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.zip/tsconfig.json b/types/lodash.zip/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.zip/tsconfig.json +++ b/types/lodash.zip/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.zipobject/tsconfig.json b/types/lodash.zipobject/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.zipobject/tsconfig.json +++ b/types/lodash.zipobject/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.zipobjectdeep/tsconfig.json b/types/lodash.zipobjectdeep/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.zipobjectdeep/tsconfig.json +++ b/types/lodash.zipobjectdeep/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash.zipwith/tsconfig.json b/types/lodash.zipwith/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/lodash.zipwith/tsconfig.json +++ b/types/lodash.zipwith/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lodash/tsconfig.json b/types/lodash/tsconfig.json index 9947bcc8e6..2c4aa57c54 100644 --- a/types/lodash/tsconfig.json +++ b/types/lodash/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -315,4 +316,4 @@ "zipObjectDeep.d.ts", "zipWith.d.ts" ] -} +} \ No newline at end of file diff --git a/types/lodash/v3/tsconfig.json b/types/lodash/v3/tsconfig.json index e57548c56a..5c5613d3f6 100644 --- a/types/lodash/v3/tsconfig.json +++ b/types/lodash/v3/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/log-symbols/tsconfig.json b/types/log-symbols/tsconfig.json index a8255cad69..8677d194b0 100644 --- a/types/log-symbols/tsconfig.json +++ b/types/log-symbols/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "log-symbols-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/log-update/tsconfig.json b/types/log-update/tsconfig.json index cfc1ac94e3..888455297b 100644 --- a/types/log-update/tsconfig.json +++ b/types/log-update/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "log-update-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/log4javascript/tsconfig.json b/types/log4javascript/tsconfig.json index 4c90f25a3c..27a94829c1 100644 --- a/types/log4javascript/tsconfig.json +++ b/types/log4javascript/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/log4js/tsconfig.json b/types/log4js/tsconfig.json index ed31cb93c7..663df0a13b 100644 --- a/types/log4js/tsconfig.json +++ b/types/log4js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "log4js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/logat/tsconfig.json b/types/logat/tsconfig.json index c8982e5798..75453c3721 100644 --- a/types/logat/tsconfig.json +++ b/types/logat/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/logg/tsconfig.json b/types/logg/tsconfig.json index 3527d06837..9dd1a361e7 100644 --- a/types/logg/tsconfig.json +++ b/types/logg/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/loggly/tsconfig.json b/types/loggly/tsconfig.json index 181a492701..76b8a59ac2 100644 --- a/types/loggly/tsconfig.json +++ b/types/loggly/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/loglevel/tsconfig.json b/types/loglevel/tsconfig.json index 2533113a54..efcc4efad8 100644 --- a/types/loglevel/tsconfig.json +++ b/types/loglevel/tsconfig.json @@ -1,4 +1,4 @@ -{ +{ "compilerOptions": { "module": "commonjs", "lib": [ @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "test/loglevel-tests.ts", "test/loglevel-umd-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/logrotate-stream/tsconfig.json b/types/logrotate-stream/tsconfig.json index 97c28a328c..2f82ad189f 100644 --- a/types/logrotate-stream/tsconfig.json +++ b/types/logrotate-stream/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lokijs/tsconfig.json b/types/lokijs/tsconfig.json index 5ffde42e59..bd01821699 100644 --- a/types/lokijs/tsconfig.json +++ b/types/lokijs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lolex/tsconfig.json b/types/lolex/tsconfig.json index 92e5164d51..e9ab242410 100644 --- a/types/lolex/tsconfig.json +++ b/types/lolex/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/long/tsconfig.json b/types/long/tsconfig.json index 163a7db674..2d90b2337f 100644 --- a/types/long/tsconfig.json +++ b/types/long/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/loopback-boot/tsconfig.json b/types/loopback-boot/tsconfig.json index 1dcded5dd7..2a7cbe1ca5 100644 --- a/types/loopback-boot/tsconfig.json +++ b/types/loopback-boot/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/loopback/tsconfig.json b/types/loopback/tsconfig.json index 3538e33fdf..b967450fde 100644 --- a/types/loopback/tsconfig.json +++ b/types/loopback/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lorem-ipsum/tsconfig.json b/types/lorem-ipsum/tsconfig.json index e337082e32..c1f3e00374 100644 --- a/types/lorem-ipsum/tsconfig.json +++ b/types/lorem-ipsum/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lory.js/tsconfig.json b/types/lory.js/tsconfig.json index 70236e15c6..94d47b69ea 100644 --- a/types/lory.js/tsconfig.json +++ b/types/lory.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/loud-rejection/tsconfig.json b/types/loud-rejection/tsconfig.json index 19094d531a..56909e692c 100644 --- a/types/loud-rejection/tsconfig.json +++ b/types/loud-rejection/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "loud-rejection-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/lovefield/tsconfig.json b/types/lovefield/tsconfig.json index 9dd68ec326..fa9ed6e11d 100644 --- a/types/lovefield/tsconfig.json +++ b/types/lovefield/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lowdb/tsconfig.json b/types/lowdb/tsconfig.json index 4a6104842c..3ca3c13b78 100644 --- a/types/lowdb/tsconfig.json +++ b/types/lowdb/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lowlight/tsconfig.json b/types/lowlight/tsconfig.json index d3ad572247..31ecea4b06 100644 --- a/types/lowlight/tsconfig.json +++ b/types/lowlight/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lozad/tsconfig.json b/types/lozad/tsconfig.json index a6f9e7d96c..9243f7f7d4 100644 --- a/types/lozad/tsconfig.json +++ b/types/lozad/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lru-cache/tsconfig.json b/types/lru-cache/tsconfig.json index e1a61724df..de5c387339 100644 --- a/types/lru-cache/tsconfig.json +++ b/types/lru-cache/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "lru-cache-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/lscache/tsconfig.json b/types/lscache/tsconfig.json index d1db601117..50876365a3 100644 --- a/types/lscache/tsconfig.json +++ b/types/lscache/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ltx/tsconfig.json b/types/ltx/tsconfig.json index 28beec26d4..d4af416e4b 100644 --- a/types/ltx/tsconfig.json +++ b/types/ltx/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "ltx-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "ltx-tests.ts" + ] +} \ No newline at end of file diff --git a/types/luaparse/tsconfig.json b/types/luaparse/tsconfig.json index fca0b48af4..8e932f496e 100644 --- a/types/luaparse/tsconfig.json +++ b/types/luaparse/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lunr/tsconfig.json b/types/lunr/tsconfig.json index 22fad6449b..87faffb76d 100644 --- a/types/lunr/tsconfig.json +++ b/types/lunr/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lunr/v0/tsconfig.json b/types/lunr/v0/tsconfig.json index 37f937893d..a98126157c 100644 --- a/types/lunr/v0/tsconfig.json +++ b/types/lunr/v0/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "lunr": ["lunr/v0"] + "lunr": [ + "lunr/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/lwip/tsconfig.json b/types/lwip/tsconfig.json index 97e74d9626..769d843dfa 100644 --- a/types/lwip/tsconfig.json +++ b/types/lwip/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/lz-string/tsconfig.json b/types/lz-string/tsconfig.json index 397f8ff795..40ca2ffb09 100644 --- a/types/lz-string/tsconfig.json +++ b/types/lz-string/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/magic-number/tsconfig.json b/types/magic-number/tsconfig.json index 079431a4c1..8dedeff2ce 100644 --- a/types/magic-number/tsconfig.json +++ b/types/magic-number/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/magicsuggest/tsconfig.json b/types/magicsuggest/tsconfig.json index 731d9a94e4..19b82ea9cd 100644 --- a/types/magicsuggest/tsconfig.json +++ b/types/magicsuggest/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/magnet-uri/tsconfig.json b/types/magnet-uri/tsconfig.json index ed2ea4e527..e47bf7de89 100644 --- a/types/magnet-uri/tsconfig.json +++ b/types/magnet-uri/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "magnet-uri-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "magnet-uri-tests.ts" + ] +} \ No newline at end of file diff --git a/types/mailcheck/tsconfig.json b/types/mailcheck/tsconfig.json index 1e688725ac..9f3bada102 100644 --- a/types/mailcheck/tsconfig.json +++ b/types/mailcheck/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/maildev/tsconfig.json b/types/maildev/tsconfig.json index f572171d40..e7d5d8aa90 100644 --- a/types/maildev/tsconfig.json +++ b/types/maildev/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mailgen/tsconfig.json b/types/mailgen/tsconfig.json index 5c85d2056c..be58901e20 100644 --- a/types/mailgen/tsconfig.json +++ b/types/mailgen/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mailparser/tsconfig.json b/types/mailparser/tsconfig.json index a48e26aeab..0e85dee795 100644 --- a/types/mailparser/tsconfig.json +++ b/types/mailparser/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/main-bower-files/tsconfig.json b/types/main-bower-files/tsconfig.json index 04b363ffc6..a5555d9521 100644 --- a/types/main-bower-files/tsconfig.json +++ b/types/main-bower-files/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/mainloop.js/tsconfig.json b/types/mainloop.js/tsconfig.json index 5dae699f05..b8e7bf9fd5 100644 --- a/types/mainloop.js/tsconfig.json +++ b/types/mainloop.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "mainloop.js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/make-dir/tsconfig.json b/types/make-dir/tsconfig.json index 90686a9f48..f1770d52af 100644 --- a/types/make-dir/tsconfig.json +++ b/types/make-dir/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "make-dir-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/maker.js/tsconfig.json b/types/maker.js/tsconfig.json index 35dfa654de..3f15fa99e1 100644 --- a/types/maker.js/tsconfig.json +++ b/types/maker.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mandrill-api/tsconfig.json b/types/mandrill-api/tsconfig.json index e93086cbce..9855b826de 100644 --- a/types/mandrill-api/tsconfig.json +++ b/types/mandrill-api/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/map-obj/tsconfig.json b/types/map-obj/tsconfig.json index 5c1bd44df9..70c0243a5b 100644 --- a/types/map-obj/tsconfig.json +++ b/types/map-obj/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "map-obj-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/mapbox-gl/tsconfig.json b/types/mapbox-gl/tsconfig.json index 2fa39335f6..2d80f414a1 100644 --- a/types/mapbox-gl/tsconfig.json +++ b/types/mapbox-gl/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mapbox/tsconfig.json b/types/mapbox/tsconfig.json index a469b979bf..9aec764a7c 100644 --- a/types/mapbox/tsconfig.json +++ b/types/mapbox/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mapbox__shelf-pack/tsconfig.json b/types/mapbox__shelf-pack/tsconfig.json index 540d660492..49afd3f46e 100644 --- a/types/mapbox__shelf-pack/tsconfig.json +++ b/types/mapbox__shelf-pack/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -17,6 +18,6 @@ }, "files": [ "index.d.ts", - "mapbox__shelf-pack-tests.ts" + "mapbox__shelf-pack-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/mapsjs/tsconfig.json b/types/mapsjs/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/mapsjs/tsconfig.json +++ b/types/mapsjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mariasql/tsconfig.json b/types/mariasql/tsconfig.json index 13b15cddda..bab62b5218 100644 --- a/types/mariasql/tsconfig.json +++ b/types/mariasql/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/markdown-it-anchor/tsconfig.json b/types/markdown-it-anchor/tsconfig.json index fde07bc890..df3de49f4a 100644 --- a/types/markdown-it-anchor/tsconfig.json +++ b/types/markdown-it-anchor/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "markdown-it-anchor-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/markdown-it-container/tsconfig.json b/types/markdown-it-container/tsconfig.json index 270b4284f0..9dd6ec9ad2 100644 --- a/types/markdown-it-container/tsconfig.json +++ b/types/markdown-it-container/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/markdown-it/tsconfig.json b/types/markdown-it/tsconfig.json index 1717771467..fc493d2d9b 100644 --- a/types/markdown-it/tsconfig.json +++ b/types/markdown-it/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/marked/tsconfig.json b/types/marked/tsconfig.json index b51a9340d6..222ab4e4f1 100644 --- a/types/marked/tsconfig.json +++ b/types/marked/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/marker-animate-unobtrusive/tsconfig.json b/types/marker-animate-unobtrusive/tsconfig.json index f95f612a71..68e2526510 100644 --- a/types/marker-animate-unobtrusive/tsconfig.json +++ b/types/marker-animate-unobtrusive/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/markerclustererplus/tsconfig.json b/types/markerclustererplus/tsconfig.json index e9fdb4efa9..0aca5b9a0a 100644 --- a/types/markerclustererplus/tsconfig.json +++ b/types/markerclustererplus/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/markitup/tsconfig.json b/types/markitup/tsconfig.json index 91edea9865..daa2c18b72 100644 --- a/types/markitup/tsconfig.json +++ b/types/markitup/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/maskedinput/tsconfig.json b/types/maskedinput/tsconfig.json index 0010b13a2a..0884b77742 100644 --- a/types/maskedinput/tsconfig.json +++ b/types/maskedinput/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/masonry-layout/tsconfig.json b/types/masonry-layout/tsconfig.json index 15980678b3..a2133122a5 100644 --- a/types/masonry-layout/tsconfig.json +++ b/types/masonry-layout/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/massive/tsconfig.json b/types/massive/tsconfig.json index cfa32399c8..916b3e2b47 100644 --- a/types/massive/tsconfig.json +++ b/types/massive/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "massive-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/match-media-mock/tsconfig.json b/types/match-media-mock/tsconfig.json index 6a0658a582..adcb526b65 100644 --- a/types/match-media-mock/tsconfig.json +++ b/types/match-media-mock/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/material-design-lite/tsconfig.json b/types/material-design-lite/tsconfig.json index 381b437b57..96da690ed9 100644 --- a/types/material-design-lite/tsconfig.json +++ b/types/material-design-lite/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/material-ui-pagination/tsconfig.json b/types/material-ui-pagination/tsconfig.json index 23f79c4aa6..c98526003d 100644 --- a/types/material-ui-pagination/tsconfig.json +++ b/types/material-ui-pagination/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "experimentalDecorators": true, @@ -22,4 +23,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/material-ui/tsconfig.json b/types/material-ui/tsconfig.json index 7f7f8d61c7..7d478ab185 100644 --- a/types/material-ui/tsconfig.json +++ b/types/material-ui/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "jsx": "react", "experimentalDecorators": true, diff --git a/types/materialize-css/tsconfig.json b/types/materialize-css/tsconfig.json index 1c24218f86..cc986baa67 100644 --- a/types/materialize-css/tsconfig.json +++ b/types/materialize-css/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/math3d/tsconfig.json b/types/math3d/tsconfig.json index dc28196f64..95a0a4148d 100644 --- a/types/math3d/tsconfig.json +++ b/types/math3d/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mathjax/tsconfig.json b/types/mathjax/tsconfig.json index 72db8ffeff..dcf27a92fb 100644 --- a/types/mathjax/tsconfig.json +++ b/types/mathjax/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mathjs/tsconfig.json b/types/mathjs/tsconfig.json index 55499d6a34..c2aefff773 100644 --- a/types/mathjs/tsconfig.json +++ b/types/mathjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/matter-js/tsconfig.json b/types/matter-js/tsconfig.json index e67ee4f7a1..bac77b2a64 100644 --- a/types/matter-js/tsconfig.json +++ b/types/matter-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/maxmind/tsconfig.json b/types/maxmind/tsconfig.json index 995fba6e58..0b1011f8f7 100644 --- a/types/maxmind/tsconfig.json +++ b/types/maxmind/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mcustomscrollbar/tsconfig.json b/types/mcustomscrollbar/tsconfig.json index 5dba3829a9..b112ee023e 100644 --- a/types/mcustomscrollbar/tsconfig.json +++ b/types/mcustomscrollbar/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/md5/tsconfig.json b/types/md5/tsconfig.json index c3e5a225c7..0f2d4677ab 100644 --- a/types/md5/tsconfig.json +++ b/types/md5/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "md5-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/mdns/tsconfig.json b/types/mdns/tsconfig.json index 905e8be032..94e58f4170 100644 --- a/types/mdns/tsconfig.json +++ b/types/mdns/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/media-typer/tsconfig.json b/types/media-typer/tsconfig.json index a8ba662fc4..fe5268288d 100644 --- a/types/media-typer/tsconfig.json +++ b/types/media-typer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "media-typer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/medium-editor/tsconfig.json b/types/medium-editor/tsconfig.json index 1d05857b75..10748accf4 100644 --- a/types/medium-editor/tsconfig.json +++ b/types/medium-editor/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mem/tsconfig.json b/types/mem/tsconfig.json index 96073a18a4..3545985694 100644 --- a/types/mem/tsconfig.json +++ b/types/mem/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/memcached/tsconfig.json b/types/memcached/tsconfig.json index 9e627ffdd1..720907bb10 100644 --- a/types/memcached/tsconfig.json +++ b/types/memcached/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/memoizee/tsconfig.json b/types/memoizee/tsconfig.json index bf28a77a50..b8aa9634f1 100644 --- a/types/memoizee/tsconfig.json +++ b/types/memoizee/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/memory-cache/tsconfig.json b/types/memory-cache/tsconfig.json index 646c894d6d..1d0ac845ac 100644 --- a/types/memory-cache/tsconfig.json +++ b/types/memory-cache/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/memory-fs/tsconfig.json b/types/memory-fs/tsconfig.json index a6e90280a6..13eb7da317 100644 --- a/types/memory-fs/tsconfig.json +++ b/types/memory-fs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/memwatch-next/tsconfig.json b/types/memwatch-next/tsconfig.json index fd5931927e..4541aaa1cf 100644 --- a/types/memwatch-next/tsconfig.json +++ b/types/memwatch-next/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/menubar/tsconfig.json b/types/menubar/tsconfig.json index a1751019e0..d9d6d843b4 100644 --- a/types/menubar/tsconfig.json +++ b/types/menubar/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/meow/tsconfig.json b/types/meow/tsconfig.json index c9664cbcff..33dd0b0883 100644 --- a/types/meow/tsconfig.json +++ b/types/meow/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/merge-descriptors/tsconfig.json b/types/merge-descriptors/tsconfig.json index 4e224b187b..23f7dfbcce 100644 --- a/types/merge-descriptors/tsconfig.json +++ b/types/merge-descriptors/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/merge-stream/tsconfig.json b/types/merge-stream/tsconfig.json index 07500cf286..d68bbea99f 100644 --- a/types/merge-stream/tsconfig.json +++ b/types/merge-stream/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/merge2/tsconfig.json b/types/merge2/tsconfig.json index 64cf45c2a6..aeb71329c3 100644 --- a/types/merge2/tsconfig.json +++ b/types/merge2/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/mersenne-twister/tsconfig.json b/types/mersenne-twister/tsconfig.json index 0c162224fb..418c7a0355 100644 --- a/types/mersenne-twister/tsconfig.json +++ b/types/mersenne-twister/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "mersenne-twister-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/meshblu/tsconfig.json b/types/meshblu/tsconfig.json index 7abf4e1e84..a00e392388 100644 --- a/types/meshblu/tsconfig.json +++ b/types/meshblu/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mess/tsconfig.json b/types/mess/tsconfig.json index 272b27dbb6..8ca702b9a4 100644 --- a/types/mess/tsconfig.json +++ b/types/mess/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/messenger/tsconfig.json b/types/messenger/tsconfig.json index a9382d1d9f..15915e2f35 100644 --- a/types/messenger/tsconfig.json +++ b/types/messenger/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/meteor-accounts-phone/tsconfig.json b/types/meteor-accounts-phone/tsconfig.json index 21ba959534..f6945ba442 100644 --- a/types/meteor-accounts-phone/tsconfig.json +++ b/types/meteor-accounts-phone/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/meteor-collection-hooks/tsconfig.json b/types/meteor-collection-hooks/tsconfig.json index 90fa93f2b5..462b5cb2fe 100644 --- a/types/meteor-collection-hooks/tsconfig.json +++ b/types/meteor-collection-hooks/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": false, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "meteor-collection-hooks-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": false, + "strictNullChecks": false, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "meteor-collection-hooks-tests.ts" + ] } \ No newline at end of file diff --git a/types/meteor-jboulhous-dev/tsconfig.json b/types/meteor-jboulhous-dev/tsconfig.json index 74fabcdbfb..6a0bc28585 100644 --- a/types/meteor-jboulhous-dev/tsconfig.json +++ b/types/meteor-jboulhous-dev/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/meteor-persistent-session/tsconfig.json b/types/meteor-persistent-session/tsconfig.json index fe76b9d4e3..9f9adaeead 100644 --- a/types/meteor-persistent-session/tsconfig.json +++ b/types/meteor-persistent-session/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/meteor-prime8consulting-oauth2/tsconfig.json b/types/meteor-prime8consulting-oauth2/tsconfig.json index 722d8e6fa1..1d71e79d3c 100644 --- a/types/meteor-prime8consulting-oauth2/tsconfig.json +++ b/types/meteor-prime8consulting-oauth2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/meteor-publish-composite/tsconfig.json b/types/meteor-publish-composite/tsconfig.json index 23189eb80a..81c22f6ce3 100644 --- a/types/meteor-publish-composite/tsconfig.json +++ b/types/meteor-publish-composite/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/meteor-roles/tsconfig.json b/types/meteor-roles/tsconfig.json index eab68b58ca..037db6b9f4 100644 --- a/types/meteor-roles/tsconfig.json +++ b/types/meteor-roles/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/meteor/tsconfig.json b/types/meteor/tsconfig.json index f2b2d3aea0..aaf8ac862c 100644 --- a/types/meteor/tsconfig.json +++ b/types/meteor/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -38,4 +39,4 @@ "index.d.ts", "meteor-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/method-override/tsconfig.json b/types/method-override/tsconfig.json index a0c2ea2d18..1487adc964 100644 --- a/types/method-override/tsconfig.json +++ b/types/method-override/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/methods/tsconfig.json b/types/methods/tsconfig.json index 720595fa80..1b3353ca82 100644 --- a/types/methods/tsconfig.json +++ b/types/methods/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "methods-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/metismenu/tsconfig.json b/types/metismenu/tsconfig.json index 2e3eb83e4f..643934b421 100644 --- a/types/metismenu/tsconfig.json +++ b/types/metismenu/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/metric-suffix/tsconfig.json b/types/metric-suffix/tsconfig.json index 5f31731f40..fc4d7b871f 100644 --- a/types/metric-suffix/tsconfig.json +++ b/types/metric-suffix/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mfiles/tsconfig.json b/types/mfiles/tsconfig.json index d33ba750ee..295542875a 100644 --- a/types/mfiles/tsconfig.json +++ b/types/mfiles/tsconfig.json @@ -1,10 +1,14 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es5", "scripthost"], + "lib": [ + "es5", + "scripthost" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/micro/tsconfig.json b/types/micro/tsconfig.json index 7975056600..7f1e37655b 100644 --- a/types/micro/tsconfig.json +++ b/types/micro/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/microgears/tsconfig.json b/types/microgears/tsconfig.json index f0fd628aa9..7c4170d1af 100644 --- a/types/microgears/tsconfig.json +++ b/types/microgears/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/micromatch/tsconfig.json b/types/micromatch/tsconfig.json index c2edc166e8..acbf548c77 100644 --- a/types/micromatch/tsconfig.json +++ b/types/micromatch/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/microrouter/tsconfig.json b/types/microrouter/tsconfig.json index a2cbd4e379..abf333c6bf 100644 --- a/types/microrouter/tsconfig.json +++ b/types/microrouter/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -18,4 +19,4 @@ "files": [ "index.d.ts" ] -} +} \ No newline at end of file diff --git a/types/microsoft-ajax/tsconfig.json b/types/microsoft-ajax/tsconfig.json index b02b95aa5a..3a8d8bcc37 100644 --- a/types/microsoft-ajax/tsconfig.json +++ b/types/microsoft-ajax/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/microsoft-live-connect/tsconfig.json b/types/microsoft-live-connect/tsconfig.json index b98f234db0..7895e4debe 100644 --- a/types/microsoft-live-connect/tsconfig.json +++ b/types/microsoft-live-connect/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/microsoft-sdk-soap/tsconfig.json b/types/microsoft-sdk-soap/tsconfig.json index 41ffa9a040..3eee7c6b1c 100644 --- a/types/microsoft-sdk-soap/tsconfig.json +++ b/types/microsoft-sdk-soap/tsconfig.json @@ -8,12 +8,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/microsoftteams/tsconfig.json b/types/microsoftteams/tsconfig.json index 3b414b787b..95b8785492 100644 --- a/types/microsoftteams/tsconfig.json +++ b/types/microsoftteams/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/microtime/tsconfig.json b/types/microtime/tsconfig.json index 3bcc951906..c5989f5799 100644 --- a/types/microtime/tsconfig.json +++ b/types/microtime/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "microtime-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/milkcocoa/tsconfig.json b/types/milkcocoa/tsconfig.json index e7df52214b..def0b291ed 100644 --- a/types/milkcocoa/tsconfig.json +++ b/types/milkcocoa/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/milliseconds/tsconfig.json b/types/milliseconds/tsconfig.json index 34585cc8ed..eb756035ba 100644 --- a/types/milliseconds/tsconfig.json +++ b/types/milliseconds/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mime-db/tsconfig.json b/types/mime-db/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/mime-db/tsconfig.json +++ b/types/mime-db/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mime-types/tsconfig.json b/types/mime-types/tsconfig.json index 015c5a8080..d197e5f93c 100644 --- a/types/mime-types/tsconfig.json +++ b/types/mime-types/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "mime-types-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/mime/tsconfig.json b/types/mime/tsconfig.json index 1bf14a5e7f..8e0eb9488e 100644 --- a/types/mime/tsconfig.json +++ b/types/mime/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "Mime.d.ts", "mime-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/mimos/tsconfig.json b/types/mimos/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/mimos/tsconfig.json +++ b/types/mimos/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mina/tsconfig.json b/types/mina/tsconfig.json index a2cbd4e379..abf333c6bf 100644 --- a/types/mina/tsconfig.json +++ b/types/mina/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -18,4 +19,4 @@ "files": [ "index.d.ts" ] -} +} \ No newline at end of file diff --git a/types/minilog/tsconfig.json b/types/minilog/tsconfig.json index cc7db61f43..b999744170 100644 --- a/types/minilog/tsconfig.json +++ b/types/minilog/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/minimatch/tsconfig.json b/types/minimatch/tsconfig.json index 5a39cdda20..7180fe6a29 100644 --- a/types/minimatch/tsconfig.json +++ b/types/minimatch/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/minimist/tsconfig.json b/types/minimist/tsconfig.json index 994d8d3b05..27be869de4 100644 --- a/types/minimist/tsconfig.json +++ b/types/minimist/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/minipass/tsconfig.json b/types/minipass/tsconfig.json index 0bf9d66580..9115c6fe85 100644 --- a/types/minipass/tsconfig.json +++ b/types/minipass/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "minipass-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/mithril-global/tsconfig.json b/types/mithril-global/tsconfig.json index 936d8b88b0..f48de2bee8 100644 --- a/types/mithril-global/tsconfig.json +++ b/types/mithril-global/tsconfig.json @@ -1,21 +1,27 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": ["es2015", "dom"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "baseUrl": "../", - "typeRoots": ["../"], - "types": [] - }, - "files": [ - "index.d.ts", - "mithril-global-tests.ts" - ], - "atom": { - "rewriteTsconfig": false - } -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es2015", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [] + }, + "files": [ + "index.d.ts", + "mithril-global-tests.ts" + ], + "atom": { + "rewriteTsconfig": false + } +} \ No newline at end of file diff --git a/types/mithril/tsconfig.json b/types/mithril/tsconfig.json index e25806a323..3164285eb5 100644 --- a/types/mithril/tsconfig.json +++ b/types/mithril/tsconfig.json @@ -1,38 +1,44 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": ["es2015", "dom"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "forceConsistentCasingInFileNames": true, - "noEmit": true, - "baseUrl": "../", - "typeRoots": ["../"], - "types": [] - }, - "files": [ - "test/test-api.ts", - "test/test-class-component.ts", - "test/test-component.ts", - "test/test-factory-component.ts", - "test/test-fragment.ts", - "test/test-jsonp.ts", - "test/test-misc.ts", - "test/test-request.ts", - "test/test-route.ts", - "test/test-stream.ts", - "index.d.ts", - "hyperscript.d.ts", - "mount.d.ts", - "redraw.d.ts", - "render.d.ts", - "request.d.ts", - "route.d.ts", - "withAttr.d.ts", - "stream/index.d.ts" - ], - "atom": { - "rewriteTsconfig": false - } -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es2015", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": false, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [] + }, + "files": [ + "test/test-api.ts", + "test/test-class-component.ts", + "test/test-component.ts", + "test/test-factory-component.ts", + "test/test-fragment.ts", + "test/test-jsonp.ts", + "test/test-misc.ts", + "test/test-request.ts", + "test/test-route.ts", + "test/test-stream.ts", + "index.d.ts", + "hyperscript.d.ts", + "mount.d.ts", + "redraw.d.ts", + "render.d.ts", + "request.d.ts", + "route.d.ts", + "withAttr.d.ts", + "stream/index.d.ts" + ], + "atom": { + "rewriteTsconfig": false + } +} \ No newline at end of file diff --git a/types/mitm/tsconfig.json b/types/mitm/tsconfig.json index 7b49290ebd..bb19fc1d20 100644 --- a/types/mitm/tsconfig.json +++ b/types/mitm/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mixpanel/tsconfig.json b/types/mixpanel/tsconfig.json index 332e01d6a1..f5cbbce2f5 100644 --- a/types/mixpanel/tsconfig.json +++ b/types/mixpanel/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mixto/tsconfig.json b/types/mixto/tsconfig.json index 2a36103c77..8cbc98843f 100644 --- a/types/mixto/tsconfig.json +++ b/types/mixto/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mkdirp/tsconfig.json b/types/mkdirp/tsconfig.json index 3022b602d3..a5bd09ff68 100644 --- a/types/mkdirp/tsconfig.json +++ b/types/mkdirp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mkpath/tsconfig.json b/types/mkpath/tsconfig.json index ea4d563111..e114847c25 100644 --- a/types/mkpath/tsconfig.json +++ b/types/mkpath/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mmmagic/tsconfig.json b/types/mmmagic/tsconfig.json index 56c0a9a623..074e791e6d 100644 --- a/types/mmmagic/tsconfig.json +++ b/types/mmmagic/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mobile-detect/tsconfig.json b/types/mobile-detect/tsconfig.json index 58e74f0636..d728b72f0e 100644 --- a/types/mobile-detect/tsconfig.json +++ b/types/mobile-detect/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mocha-phantomjs/tsconfig.json b/types/mocha-phantomjs/tsconfig.json index 0b88eaff24..12d2f5cf28 100644 --- a/types/mocha-phantomjs/tsconfig.json +++ b/types/mocha-phantomjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mocha/tsconfig.json b/types/mocha/tsconfig.json index d38cd37afd..43be806414 100644 --- a/types/mocha/tsconfig.json +++ b/types/mocha/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mock-fs/tsconfig.json b/types/mock-fs/tsconfig.json index c9f837a67e..b460b4d1d1 100644 --- a/types/mock-fs/tsconfig.json +++ b/types/mock-fs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mock-raf/tsconfig.json b/types/mock-raf/tsconfig.json index 7d4b6c5a8e..dfb1b63e78 100644 --- a/types/mock-raf/tsconfig.json +++ b/types/mock-raf/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mock-require/tsconfig.json b/types/mock-require/tsconfig.json index 9b02a7c5c6..2f5ec713da 100644 --- a/types/mock-require/tsconfig.json +++ b/types/mock-require/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mockdate/tsconfig.json b/types/mockdate/tsconfig.json index e0a84362b9..062a1f1110 100644 --- a/types/mockdate/tsconfig.json +++ b/types/mockdate/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mockery/tsconfig.json b/types/mockery/tsconfig.json index 2147e75e52..a8eef69452 100644 --- a/types/mockery/tsconfig.json +++ b/types/mockery/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mockjs/tsconfig.json b/types/mockjs/tsconfig.json index 59b6876702..631ad48210 100644 --- a/types/mockjs/tsconfig.json +++ b/types/mockjs/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "mockjs-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "mockjs-tests.ts" + ] } \ No newline at end of file diff --git a/types/modernizr/tsconfig.json b/types/modernizr/tsconfig.json index fd2ef33847..291b4008d2 100644 --- a/types/modernizr/tsconfig.json +++ b/types/modernizr/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/modesl/tsconfig.json b/types/modesl/tsconfig.json index bf010625e0..3fc91a7f71 100644 --- a/types/modesl/tsconfig.json +++ b/types/modesl/tsconfig.json @@ -2,10 +2,13 @@ "compilerOptions": { "module": "commonjs", "target": "es6", - "lib": ["es6"], + "lib": [ + "es6" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -18,4 +21,4 @@ "index.d.ts", "modesl-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/moment-business/tsconfig.json b/types/moment-business/tsconfig.json index 3457222069..b7307b4121 100644 --- a/types/moment-business/tsconfig.json +++ b/types/moment-business/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "moment-business-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/moment-duration-format/tsconfig.json b/types/moment-duration-format/tsconfig.json index 07d419c2ea..997b0f907e 100644 --- a/types/moment-duration-format/tsconfig.json +++ b/types/moment-duration-format/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "moment-duration-format-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/moment-jalaali/tsconfig.json b/types/moment-jalaali/tsconfig.json index cb540b61cc..6c52d43cbf 100644 --- a/types/moment-jalaali/tsconfig.json +++ b/types/moment-jalaali/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/moment-range/tsconfig.json b/types/moment-range/tsconfig.json index 7208f89157..1da3b569e0 100644 --- a/types/moment-range/tsconfig.json +++ b/types/moment-range/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/moment-round/tsconfig.json b/types/moment-round/tsconfig.json index f0a73e2ecd..f6761bd247 100644 --- a/types/moment-round/tsconfig.json +++ b/types/moment-round/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/moment-timezone/tsconfig.json b/types/moment-timezone/tsconfig.json index fd0a27b64d..62cbfb4214 100644 --- a/types/moment-timezone/tsconfig.json +++ b/types/moment-timezone/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mongodb/tsconfig.json b/types/mongodb/tsconfig.json index 19e9086a8f..8ed16ed7e6 100644 --- a/types/mongodb/tsconfig.json +++ b/types/mongodb/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mongodb/v1/tsconfig.json b/types/mongodb/v1/tsconfig.json index da211f11a7..c20dfaa9c6 100644 --- a/types/mongodb/v1/tsconfig.json +++ b/types/mongodb/v1/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/mongoose-auto-increment/tsconfig.json b/types/mongoose-auto-increment/tsconfig.json index 20df7ba15a..faef447b4d 100644 --- a/types/mongoose-auto-increment/tsconfig.json +++ b/types/mongoose-auto-increment/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mongoose-deep-populate/tsconfig.json b/types/mongoose-deep-populate/tsconfig.json index 5d7a18e0d7..eb2e278299 100644 --- a/types/mongoose-deep-populate/tsconfig.json +++ b/types/mongoose-deep-populate/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mongoose-mock/tsconfig.json b/types/mongoose-mock/tsconfig.json index 8ea3916ce1..b3cacf1757 100644 --- a/types/mongoose-mock/tsconfig.json +++ b/types/mongoose-mock/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mongoose-paginate/tsconfig.json b/types/mongoose-paginate/tsconfig.json index 89d88a5bdb..3194368f11 100644 --- a/types/mongoose-paginate/tsconfig.json +++ b/types/mongoose-paginate/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mongoose-promise/tsconfig.json b/types/mongoose-promise/tsconfig.json index 128afbaa84..68c68b35a1 100644 --- a/types/mongoose-promise/tsconfig.json +++ b/types/mongoose-promise/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mongoose-seeder/tsconfig.json b/types/mongoose-seeder/tsconfig.json index 8e3f193dbf..d5d44b75cc 100644 --- a/types/mongoose-seeder/tsconfig.json +++ b/types/mongoose-seeder/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/mongoose-sequence/tsconfig.json b/types/mongoose-sequence/tsconfig.json index 63cde407d1..79efa97e34 100644 --- a/types/mongoose-sequence/tsconfig.json +++ b/types/mongoose-sequence/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mongoose-simple-random/tsconfig.json b/types/mongoose-simple-random/tsconfig.json index 28627f97dd..3b879fd8f0 100644 --- a/types/mongoose-simple-random/tsconfig.json +++ b/types/mongoose-simple-random/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "mongoose-simple-random-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/mongoose-unique-validator/tsconfig.json b/types/mongoose-unique-validator/tsconfig.json index 069b7515ff..02d461889d 100644 --- a/types/mongoose-unique-validator/tsconfig.json +++ b/types/mongoose-unique-validator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "mongoose-unique-validator-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/mongoose/tsconfig.json b/types/mongoose/tsconfig.json index de340232f7..55e06ad201 100644 --- a/types/mongoose/tsconfig.json +++ b/types/mongoose/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mongoose/v3/tsconfig.json b/types/mongoose/v3/tsconfig.json index e718e4bb13..2ea987dff7 100644 --- a/types/mongoose/v3/tsconfig.json +++ b/types/mongoose/v3/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/monk/tsconfig.json b/types/monk/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/monk/tsconfig.json +++ b/types/monk/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/moo/tsconfig.json b/types/moo/tsconfig.json index 18a86a36a5..895fed83d5 100644 --- a/types/moo/tsconfig.json +++ b/types/moo/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "moo-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/moonjs/tsconfig.json b/types/moonjs/tsconfig.json index f4f17e40cf..b66e636445 100644 --- a/types/moonjs/tsconfig.json +++ b/types/moonjs/tsconfig.json @@ -6,9 +6,13 @@ "compilerOptions": { "module": "commonjs", "target": "es6", - "lib": ["es5", "dom"], + "lib": [ + "es5", + "dom" + ], "noImplicitAny": true, "strictNullChecks": true, + "strictFunctionTypes": true, "noImplicitThis": true, "baseUrl": "../", "typeRoots": [ diff --git a/types/morgan/tsconfig.json b/types/morgan/tsconfig.json index 4eec05911f..87ca0a6d5d 100644 --- a/types/morgan/tsconfig.json +++ b/types/morgan/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "morgan-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/morris.js/tsconfig.json b/types/morris.js/tsconfig.json index 7ace6d11e7..10aa9f3c2d 100644 --- a/types/morris.js/tsconfig.json +++ b/types/morris.js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mousetrap/tsconfig.json b/types/mousetrap/tsconfig.json index e6d64d13e9..ade8c0d47d 100644 --- a/types/mousetrap/tsconfig.json +++ b/types/mousetrap/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/move-concurrently/tsconfig.json b/types/move-concurrently/tsconfig.json index 732b0ac5d0..a0e00356c8 100644 --- a/types/move-concurrently/tsconfig.json +++ b/types/move-concurrently/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "move-concurrently-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/moviedb/tsconfig.json b/types/moviedb/tsconfig.json index c943b58729..5b182007ca 100644 --- a/types/moviedb/tsconfig.json +++ b/types/moviedb/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/moxios/tsconfig.json b/types/moxios/tsconfig.json index ae7c3788f9..a0224c335f 100644 --- a/types/moxios/tsconfig.json +++ b/types/moxios/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "moxios-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/mpromise/tsconfig.json b/types/mpromise/tsconfig.json index 1a2e40aa8a..6f5f9d6abc 100644 --- a/types/mpromise/tsconfig.json +++ b/types/mpromise/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mqtt/tsconfig.json b/types/mqtt/tsconfig.json index 4d8e6cef5d..7149db58c4 100644 --- a/types/mqtt/tsconfig.json +++ b/types/mqtt/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mri/tsconfig.json b/types/mri/tsconfig.json index 8e11e720ae..9218819c6b 100644 --- a/types/mri/tsconfig.json +++ b/types/mri/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "mri-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "mri-tests.ts" + ] } \ No newline at end of file diff --git a/types/ms/tsconfig.json b/types/ms/tsconfig.json index e48ac1c207..aaaa9f14e8 100644 --- a/types/ms/tsconfig.json +++ b/types/ms/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/msgpack-lite/tsconfig.json b/types/msgpack-lite/tsconfig.json index 2547929f61..014ff12483 100644 --- a/types/msgpack-lite/tsconfig.json +++ b/types/msgpack-lite/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/msgpack/tsconfig.json b/types/msgpack/tsconfig.json index 5593e7dc63..b004630b6c 100644 --- a/types/msgpack/tsconfig.json +++ b/types/msgpack/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/msgpack5/tsconfig.json b/types/msgpack5/tsconfig.json index aca6d78aa1..f58f4a8a94 100644 --- a/types/msgpack5/tsconfig.json +++ b/types/msgpack5/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/msnodesql/tsconfig.json b/types/msnodesql/tsconfig.json index 1619c42d99..8eb58e9531 100644 --- a/types/msnodesql/tsconfig.json +++ b/types/msnodesql/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/msportalfx-test/tsconfig.json b/types/msportalfx-test/tsconfig.json index 16c68ed3a8..4df355d685 100644 --- a/types/msportalfx-test/tsconfig.json +++ b/types/msportalfx-test/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/mssql/tsconfig.json b/types/mssql/tsconfig.json index 420e1ba065..51f03fd652 100644 --- a/types/mssql/tsconfig.json +++ b/types/mssql/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "mssql-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/mu2/tsconfig.json b/types/mu2/tsconfig.json index 898824f909..3e01589707 100644 --- a/types/mu2/tsconfig.json +++ b/types/mu2/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/multer-gridfs-storage/tsconfig.json b/types/multer-gridfs-storage/tsconfig.json index eaf9a9a1db..4729416ff1 100644 --- a/types/multer-gridfs-storage/tsconfig.json +++ b/types/multer-gridfs-storage/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "multer-gridfs-storage-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/multer-gridfs-storage/v1/tsconfig.json b/types/multer-gridfs-storage/v1/tsconfig.json index 70583a55af..8fb06dfd29 100644 --- a/types/multer-gridfs-storage/v1/tsconfig.json +++ b/types/multer-gridfs-storage/v1/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "multer-gridfs-storage": [ "multer-gridfs-storage/v1" ] + "multer-gridfs-storage": [ + "multer-gridfs-storage/v1" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "multer-gridfs-storage-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/multer-s3/tsconfig.json b/types/multer-s3/tsconfig.json index 8b5444cc52..812fd71b21 100644 --- a/types/multer-s3/tsconfig.json +++ b/types/multer-s3/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/multer/tsconfig.json b/types/multer/tsconfig.json index 500a8758a9..33a047e9dd 100644 --- a/types/multer/tsconfig.json +++ b/types/multer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "multer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/multi-typeof/tsconfig.json b/types/multi-typeof/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/multi-typeof/tsconfig.json +++ b/types/multi-typeof/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/multimatch/tsconfig.json b/types/multimatch/tsconfig.json index 3f5a4db2ac..c7ee9e6f63 100644 --- a/types/multimatch/tsconfig.json +++ b/types/multimatch/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "multimatch-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/multiparty/tsconfig.json b/types/multiparty/tsconfig.json index f77ed2c0e2..0adadcf9a3 100644 --- a/types/multiparty/tsconfig.json +++ b/types/multiparty/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/multiplexjs/tsconfig.json b/types/multiplexjs/tsconfig.json index a2fce51999..bad1ec3652 100644 --- a/types/multiplexjs/tsconfig.json +++ b/types/multiplexjs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/murmurhash-js/tsconfig.json b/types/murmurhash-js/tsconfig.json index f5d9b546a5..bcebcbf18e 100644 --- a/types/murmurhash-js/tsconfig.json +++ b/types/murmurhash-js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/murmurhash3js/tsconfig.json b/types/murmurhash3js/tsconfig.json index ac390b20d2..3f3a3a6fe3 100644 --- a/types/murmurhash3js/tsconfig.json +++ b/types/murmurhash3js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/musicmetadata/tsconfig.json b/types/musicmetadata/tsconfig.json index 4118943a6e..da6158b218 100644 --- a/types/musicmetadata/tsconfig.json +++ b/types/musicmetadata/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mustache/tsconfig.json b/types/mustache/tsconfig.json index caa857f601..dd50c6f999 100644 --- a/types/mustache/tsconfig.json +++ b/types/mustache/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mv/tsconfig.json b/types/mv/tsconfig.json index 5291015a15..fc51bf757d 100644 --- a/types/mv/tsconfig.json +++ b/types/mv/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "mv-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/mysql/tsconfig.json b/types/mysql/tsconfig.json index 06d1fe0961..010904ef8b 100644 --- a/types/mysql/tsconfig.json +++ b/types/mysql/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/mz/tsconfig.json b/types/mz/tsconfig.json index 072ee098f2..f6a2ef5871 100644 --- a/types/mz/tsconfig.json +++ b/types/mz/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/n3/tsconfig.json b/types/n3/tsconfig.json index 65b94afeeb..4ba121903d 100644 --- a/types/n3/tsconfig.json +++ b/types/n3/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nano/tsconfig.json b/types/nano/tsconfig.json index 6290b1a17e..7586d0b0bf 100644 --- a/types/nano/tsconfig.json +++ b/types/nano/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "nano-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/nanoajax/tsconfig.json b/types/nanoajax/tsconfig.json index 92ad1e1c95..0da0980613 100644 --- a/types/nanoajax/tsconfig.json +++ b/types/nanoajax/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nanomsg/tsconfig.json b/types/nanomsg/tsconfig.json index 25060725b5..e42b4841af 100644 --- a/types/nanomsg/tsconfig.json +++ b/types/nanomsg/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nanoscroller/tsconfig.json b/types/nanoscroller/tsconfig.json index 9727a9e274..7aeed7ab3d 100644 --- a/types/nanoscroller/tsconfig.json +++ b/types/nanoscroller/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nanp/tsconfig.json b/types/nanp/tsconfig.json index e240841011..d873227232 100644 --- a/types/nanp/tsconfig.json +++ b/types/nanp/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nats-hemera/tsconfig.json b/types/nats-hemera/tsconfig.json index 367311d2f8..69c6083e56 100644 --- a/types/nats-hemera/tsconfig.json +++ b/types/nats-hemera/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "nats-hemera-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/natsort/tsconfig.json b/types/natsort/tsconfig.json index 8fd932f326..a23b1f358e 100644 --- a/types/natsort/tsconfig.json +++ b/types/natsort/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "natsort-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/natural-sort/tsconfig.json b/types/natural-sort/tsconfig.json index a850693803..b592fcdb65 100644 --- a/types/natural-sort/tsconfig.json +++ b/types/natural-sort/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/natural/tsconfig.json b/types/natural/tsconfig.json index 2c58eef33c..c04f83d753 100644 --- a/types/natural/tsconfig.json +++ b/types/natural/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/navigation-react/tsconfig.json b/types/navigation-react/tsconfig.json index e98deeb536..75ad101514 100644 --- a/types/navigation-react/tsconfig.json +++ b/types/navigation-react/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/navigation/tsconfig.json b/types/navigation/tsconfig.json index 5f8c7ebc76..8b8e594ec2 100644 --- a/types/navigation/tsconfig.json +++ b/types/navigation/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/navigo/tsconfig.json b/types/navigo/tsconfig.json index 18a90350c6..c43965d118 100644 --- a/types/navigo/tsconfig.json +++ b/types/navigo/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nblas/tsconfig.json b/types/nblas/tsconfig.json index 243cdbd0b7..9da3a941dd 100644 --- a/types/nblas/tsconfig.json +++ b/types/nblas/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nconf/tsconfig.json b/types/nconf/tsconfig.json index 8e79b8ffc7..134b7a4fb9 100644 --- a/types/nconf/tsconfig.json +++ b/types/nconf/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ncp/tsconfig.json b/types/ncp/tsconfig.json index 1183234ffb..ad2247a6c9 100644 --- a/types/ncp/tsconfig.json +++ b/types/ncp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ndarray/tsconfig.json b/types/ndarray/tsconfig.json index 986486003c..9f2c134f3d 100644 --- a/types/ndarray/tsconfig.json +++ b/types/ndarray/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nearley/tsconfig.json b/types/nearley/tsconfig.json index 9a4feb8763..bce8ee061a 100644 --- a/types/nearley/tsconfig.json +++ b/types/nearley/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "nearley-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/nedb-logger/tsconfig.json b/types/nedb-logger/tsconfig.json index 917e72a038..857cf7bb11 100644 --- a/types/nedb-logger/tsconfig.json +++ b/types/nedb-logger/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nedb/tsconfig.json b/types/nedb/tsconfig.json index b04339e6e8..220dc976e1 100644 --- a/types/nedb/tsconfig.json +++ b/types/nedb/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/needle/tsconfig.json b/types/needle/tsconfig.json index 59f9b2b49e..b0f67719ed 100644 --- a/types/needle/tsconfig.json +++ b/types/needle/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "needle-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/needle/v0/tsconfig.json b/types/needle/v0/tsconfig.json index fc89dc2d42..3ea9ca7f93 100644 --- a/types/needle/v0/tsconfig.json +++ b/types/needle/v0/tsconfig.json @@ -7,14 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "needle": [ - "needle/v0" - ] + "needle": [ + "needle/v0" + ] }, "types": [], "noEmit": true, @@ -24,4 +25,4 @@ "index.d.ts", "needle-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/needle/v1/tsconfig.json b/types/needle/v1/tsconfig.json index f6b8b1e810..7918dc3952 100644 --- a/types/needle/v1/tsconfig.json +++ b/types/needle/v1/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "needle": ["needle/v1"] + "needle": [ + "needle/v1" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "needle-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/negotiator/tsconfig.json b/types/negotiator/tsconfig.json index f68e76df2f..89c06ad77a 100644 --- a/types/negotiator/tsconfig.json +++ b/types/negotiator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "negotiator-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/neo4j/tsconfig.json b/types/neo4j/tsconfig.json index c81dad245f..fa1c26ea60 100644 --- a/types/neo4j/tsconfig.json +++ b/types/neo4j/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nes/tsconfig.json b/types/nes/tsconfig.json index c03d7c22ee..d0100330cd 100644 --- a/types/nes/tsconfig.json +++ b/types/nes/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -32,4 +33,4 @@ "test/subscriptions-client.ts", "test/subscriptions-server.ts" ] -} +} \ No newline at end of file diff --git a/types/netmask/tsconfig.json b/types/netmask/tsconfig.json index 80cd2fedc3..8666e91a29 100644 --- a/types/netmask/tsconfig.json +++ b/types/netmask/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nexpect/tsconfig.json b/types/nexpect/tsconfig.json index 3026b14835..d73f78e043 100644 --- a/types/nexpect/tsconfig.json +++ b/types/nexpect/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/next-redux-wrapper/tsconfig.json b/types/next-redux-wrapper/tsconfig.json index 75ef2fd85b..7cfafdcb96 100644 --- a/types/next-redux-wrapper/tsconfig.json +++ b/types/next-redux-wrapper/tsconfig.json @@ -1,24 +1,25 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "jsx": "react", - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "next-redux-wrapper-tests.tsx" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "jsx": "react", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "next-redux-wrapper-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/next/tsconfig.json b/types/next/tsconfig.json index 26d33efe57..05e0b4e7ad 100644 --- a/types/next/tsconfig.json +++ b/types/next/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -33,4 +34,4 @@ "test/next-dynamic-tests.tsx", "test/next-router-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/ng-command/tsconfig.json b/types/ng-command/tsconfig.json index 7af8d6ad1f..f64e284ecb 100644 --- a/types/ng-command/tsconfig.json +++ b/types/ng-command/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ng-cordova/tsconfig.json b/types/ng-cordova/tsconfig.json index 86b26ec661..d0885bd15f 100644 --- a/types/ng-cordova/tsconfig.json +++ b/types/ng-cordova/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "experimentalDecorators": true, "typeRoots": [ diff --git a/types/ng-dialog/tsconfig.json b/types/ng-dialog/tsconfig.json index ef30259705..91539585a7 100644 --- a/types/ng-dialog/tsconfig.json +++ b/types/ng-dialog/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ng-facebook/tsconfig.json b/types/ng-facebook/tsconfig.json index c7d1184665..dc239cbe5a 100644 --- a/types/ng-facebook/tsconfig.json +++ b/types/ng-facebook/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ng-file-upload/tsconfig.json b/types/ng-file-upload/tsconfig.json index 38431b0efb..b08385c840 100644 --- a/types/ng-file-upload/tsconfig.json +++ b/types/ng-file-upload/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ng-flow/tsconfig.json b/types/ng-flow/tsconfig.json index a40de884dd..47d56906c5 100644 --- a/types/ng-flow/tsconfig.json +++ b/types/ng-flow/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ng-grid/tsconfig.json b/types/ng-grid/tsconfig.json index e109a6e469..5fcf2d1373 100644 --- a/types/ng-grid/tsconfig.json +++ b/types/ng-grid/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ng-i18next/tsconfig.json b/types/ng-i18next/tsconfig.json index a018b2f3c5..bf666912a5 100644 --- a/types/ng-i18next/tsconfig.json +++ b/types/ng-i18next/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ng-notify/tsconfig.json b/types/ng-notify/tsconfig.json index 5622eb70d1..c8cf3b029a 100644 --- a/types/ng-notify/tsconfig.json +++ b/types/ng-notify/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ng-stomp/tsconfig.json b/types/ng-stomp/tsconfig.json index 5fc937e972..151a99eb53 100644 --- a/types/ng-stomp/tsconfig.json +++ b/types/ng-stomp/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ngbootbox/tsconfig.json b/types/ngbootbox/tsconfig.json index b53b786001..a5e7d7d878 100644 --- a/types/ngbootbox/tsconfig.json +++ b/types/ngbootbox/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ngeohash/tsconfig.json b/types/ngeohash/tsconfig.json index 6b3829293b..7f248102e6 100644 --- a/types/ngeohash/tsconfig.json +++ b/types/ngeohash/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ngkookies/tsconfig.json b/types/ngkookies/tsconfig.json index 739674161a..79178992a5 100644 --- a/types/ngkookies/tsconfig.json +++ b/types/ngkookies/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ngmap/tsconfig.json b/types/ngmap/tsconfig.json index c0385849f3..0427e8a338 100644 --- a/types/ngmap/tsconfig.json +++ b/types/ngmap/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ngprogress-lite/tsconfig.json b/types/ngprogress-lite/tsconfig.json index ddbd06479b..5e8b28fdb2 100644 --- a/types/ngprogress-lite/tsconfig.json +++ b/types/ngprogress-lite/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ngprogress/tsconfig.json b/types/ngprogress/tsconfig.json index 359b6d5a3f..237f5f5962 100644 --- a/types/ngprogress/tsconfig.json +++ b/types/ngprogress/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ngreact/tsconfig.json b/types/ngreact/tsconfig.json index 2ed818098d..39325499dd 100644 --- a/types/ngreact/tsconfig.json +++ b/types/ngreact/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ngstorage/tsconfig.json b/types/ngstorage/tsconfig.json index fffe367328..5bdb5efc09 100644 --- a/types/ngstorage/tsconfig.json +++ b/types/ngstorage/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "ngstorage-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ngtoaster/tsconfig.json b/types/ngtoaster/tsconfig.json index 8644727777..5bc6882baf 100644 --- a/types/ngtoaster/tsconfig.json +++ b/types/ngtoaster/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ngwysiwyg/tsconfig.json b/types/ngwysiwyg/tsconfig.json index ba0d14ce01..4292c2cff6 100644 --- a/types/ngwysiwyg/tsconfig.json +++ b/types/ngwysiwyg/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nightmare/tsconfig.json b/types/nightmare/tsconfig.json index 4cebafb384..4bce8306fd 100644 --- a/types/nightmare/tsconfig.json +++ b/types/nightmare/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nightwatch/tsconfig.json b/types/nightwatch/tsconfig.json index 1130615099..4b080c6048 100644 --- a/types/nightwatch/tsconfig.json +++ b/types/nightwatch/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "nightwatch-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/noble/tsconfig.json b/types/noble/tsconfig.json index 9b75c82d95..3539eef12c 100644 --- a/types/noble/tsconfig.json +++ b/types/noble/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "noble-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/nock/tsconfig.json b/types/nock/tsconfig.json index 25f3704be5..30c4ce3aa7 100644 --- a/types/nock/tsconfig.json +++ b/types/nock/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nodal/tsconfig.json b/types/nodal/tsconfig.json index 1926531290..29407ab0a0 100644 --- a/types/nodal/tsconfig.json +++ b/types/nodal/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-7z/tsconfig.json b/types/node-7z/tsconfig.json index 234991dd83..87c09a2635 100644 --- a/types/node-7z/tsconfig.json +++ b/types/node-7z/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-array-ext/tsconfig.json b/types/node-array-ext/tsconfig.json index 8606f3abd3..b7713bacb2 100644 --- a/types/node-array-ext/tsconfig.json +++ b/types/node-array-ext/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-cache/tsconfig.json b/types/node-cache/tsconfig.json index 7d2199b01a..e024dba82d 100644 --- a/types/node-cache/tsconfig.json +++ b/types/node-cache/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-calendar/tsconfig.json b/types/node-calendar/tsconfig.json index a37a9c56c8..f70d2de8ee 100644 --- a/types/node-calendar/tsconfig.json +++ b/types/node-calendar/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-cleanup/tsconfig.json b/types/node-cleanup/tsconfig.json index c05b3b90bf..0b50b3555b 100644 --- a/types/node-cleanup/tsconfig.json +++ b/types/node-cleanup/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "node-cleanup-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/node-common-errors/tsconfig.json b/types/node-common-errors/tsconfig.json index c0221b2676..a862893b87 100644 --- a/types/node-common-errors/tsconfig.json +++ b/types/node-common-errors/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "node-common-errors-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/node-config-manager/tsconfig.json b/types/node-config-manager/tsconfig.json index 46b55675ea..c308808722 100644 --- a/types/node-config-manager/tsconfig.json +++ b/types/node-config-manager/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-dir/tsconfig.json b/types/node-dir/tsconfig.json index 721afc5ea2..b8e68860af 100644 --- a/types/node-dir/tsconfig.json +++ b/types/node-dir/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-dogstatsd/tsconfig.json b/types/node-dogstatsd/tsconfig.json index f428056382..98d50c65f8 100644 --- a/types/node-dogstatsd/tsconfig.json +++ b/types/node-dogstatsd/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-emoji/tsconfig.json b/types/node-emoji/tsconfig.json index babbfb054a..448cf4351c 100644 --- a/types/node-emoji/tsconfig.json +++ b/types/node-emoji/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-feedparser/tsconfig.json b/types/node-feedparser/tsconfig.json index 31cb0cd3b7..ed769c299b 100644 --- a/types/node-feedparser/tsconfig.json +++ b/types/node-feedparser/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "node-feedparser-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/node-fetch/tsconfig.json b/types/node-fetch/tsconfig.json index 5f00ad6183..98a8d56ff1 100644 --- a/types/node-fetch/tsconfig.json +++ b/types/node-fetch/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-fibers/tsconfig.json b/types/node-fibers/tsconfig.json index ffde5ed236..a646c67d7f 100644 --- a/types/node-fibers/tsconfig.json +++ b/types/node-fibers/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-forge/tsconfig.json b/types/node-forge/tsconfig.json index 21c50fb705..8864280abf 100644 --- a/types/node-forge/tsconfig.json +++ b/types/node-forge/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-gcm/tsconfig.json b/types/node-gcm/tsconfig.json index 11bad84e8d..f68df952f2 100644 --- a/types/node-gcm/tsconfig.json +++ b/types/node-gcm/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-geocoder/tsconfig.json b/types/node-geocoder/tsconfig.json index cf586a416c..8076dc932c 100644 --- a/types/node-geocoder/tsconfig.json +++ b/types/node-geocoder/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "node-geocoder-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/node-getopt/tsconfig.json b/types/node-getopt/tsconfig.json index d3271b9cfe..757df0d365 100644 --- a/types/node-getopt/tsconfig.json +++ b/types/node-getopt/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-hid/tsconfig.json b/types/node-hid/tsconfig.json index 960aa11c02..3dce09c22b 100644 --- a/types/node-hid/tsconfig.json +++ b/types/node-hid/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-hue-api/tsconfig.json b/types/node-hue-api/tsconfig.json index 201c60cd0c..6edecf355c 100644 --- a/types/node-hue-api/tsconfig.json +++ b/types/node-hue-api/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-int64/tsconfig.json b/types/node-int64/tsconfig.json index 04f9e046de..b7911dd7a2 100644 --- a/types/node-int64/tsconfig.json +++ b/types/node-int64/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-ipc/tsconfig.json b/types/node-ipc/tsconfig.json index c691342ad8..d8a28a8334 100644 --- a/types/node-ipc/tsconfig.json +++ b/types/node-ipc/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-jsfl-runner/tsconfig.json b/types/node-jsfl-runner/tsconfig.json index 8345033598..eb2c2d7fe9 100644 --- a/types/node-jsfl-runner/tsconfig.json +++ b/types/node-jsfl-runner/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-json-db/tsconfig.json b/types/node-json-db/tsconfig.json index 629e9ecc86..1372add5aa 100644 --- a/types/node-json-db/tsconfig.json +++ b/types/node-json-db/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-mysql-wrapper/tsconfig.json b/types/node-mysql-wrapper/tsconfig.json index 7c97d0fe46..7e12021cdc 100644 --- a/types/node-mysql-wrapper/tsconfig.json +++ b/types/node-mysql-wrapper/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-notifier/tsconfig.json b/types/node-notifier/tsconfig.json index afc934deb7..97b9bb617e 100644 --- a/types/node-notifier/tsconfig.json +++ b/types/node-notifier/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-persist/tsconfig.json b/types/node-persist/tsconfig.json index b2563c2ac3..bcc3c3f2f9 100644 --- a/types/node-persist/tsconfig.json +++ b/types/node-persist/tsconfig.json @@ -8,12 +8,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/node-pg-migrate/tsconfig.json b/types/node-pg-migrate/tsconfig.json index 16939e0c32..952cddcfc7 100644 --- a/types/node-pg-migrate/tsconfig.json +++ b/types/node-pg-migrate/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "node-pg-migrate-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/node-polyglot/tsconfig.json b/types/node-polyglot/tsconfig.json index 06a5d98957..ebf34971af 100644 --- a/types/node-polyglot/tsconfig.json +++ b/types/node-polyglot/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-powershell/tsconfig.json b/types/node-powershell/tsconfig.json index 6cd3607f4f..d24dc26304 100644 --- a/types/node-powershell/tsconfig.json +++ b/types/node-powershell/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "node-powershell-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/node-ral/tsconfig.json b/types/node-ral/tsconfig.json index f5e25638b8..13eec57091 100644 --- a/types/node-ral/tsconfig.json +++ b/types/node-ral/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "node-ral-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/node-red/tsconfig.json b/types/node-red/tsconfig.json index 06c4329f93..e92fbbd930 100644 --- a/types/node-red/tsconfig.json +++ b/types/node-red/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "node-red-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/node-rsa/tsconfig.json b/types/node-rsa/tsconfig.json index dd128fe3be..662a3c6b6f 100644 --- a/types/node-rsa/tsconfig.json +++ b/types/node-rsa/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-sass-middleware/tsconfig.json b/types/node-sass-middleware/tsconfig.json index 9c0992fe75..f1c2b3a530 100644 --- a/types/node-sass-middleware/tsconfig.json +++ b/types/node-sass-middleware/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-sass/tsconfig.json b/types/node-sass/tsconfig.json index 37a5f52d96..a1e4cdb079 100644 --- a/types/node-sass/tsconfig.json +++ b/types/node-sass/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-schedule/tsconfig.json b/types/node-schedule/tsconfig.json index 104ed7765d..7ff95758d0 100644 --- a/types/node-schedule/tsconfig.json +++ b/types/node-schedule/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-slack/tsconfig.json b/types/node-slack/tsconfig.json index caed4009ff..b32803599a 100644 --- a/types/node-slack/tsconfig.json +++ b/types/node-slack/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-snap7/tsconfig.json b/types/node-snap7/tsconfig.json index f4c56a98e4..c78bc5a83f 100644 --- a/types/node-snap7/tsconfig.json +++ b/types/node-snap7/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-sprite-generator/tsconfig.json b/types/node-sprite-generator/tsconfig.json index 25bb75ef75..1a1abcf56b 100644 --- a/types/node-sprite-generator/tsconfig.json +++ b/types/node-sprite-generator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "node-sprite-generator-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/node-static/tsconfig.json b/types/node-static/tsconfig.json index e857fac482..57a6d79f15 100644 --- a/types/node-static/tsconfig.json +++ b/types/node-static/tsconfig.json @@ -1,19 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "lib": ["es6"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": ["../"], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "node-static-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "node-static-tests.ts" + ] +} \ No newline at end of file diff --git a/types/node-statsd/tsconfig.json b/types/node-statsd/tsconfig.json index cb69327d80..a4f7cdba75 100644 --- a/types/node-statsd/tsconfig.json +++ b/types/node-statsd/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "node-statsd-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/node-telegram-bot-api/tsconfig.json b/types/node-telegram-bot-api/tsconfig.json index 253e5929e6..bb33d5e9b5 100644 --- a/types/node-telegram-bot-api/tsconfig.json +++ b/types/node-telegram-bot-api/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "node-telegram-bot-api-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/node-uuid/tsconfig.json b/types/node-uuid/tsconfig.json index 2ac7435d61..52dc8180a0 100644 --- a/types/node-uuid/tsconfig.json +++ b/types/node-uuid/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-validator/tsconfig.json b/types/node-validator/tsconfig.json index a90813621d..eb98203673 100644 --- a/types/node-validator/tsconfig.json +++ b/types/node-validator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-vault/tsconfig.json b/types/node-vault/tsconfig.json index 272b66070e..d2875ffa4a 100644 --- a/types/node-vault/tsconfig.json +++ b/types/node-vault/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "node-vault-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/node-waves/tsconfig.json b/types/node-waves/tsconfig.json index 793f2d8de3..06ed81e135 100644 --- a/types/node-waves/tsconfig.json +++ b/types/node-waves/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-wit/tsconfig.json b/types/node-wit/tsconfig.json index 64025cf24e..4c183185fe 100644 --- a/types/node-wit/tsconfig.json +++ b/types/node-wit/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/node-xmpp-client/tsconfig.json b/types/node-xmpp-client/tsconfig.json index c76db9a985..35471e38d2 100644 --- a/types/node-xmpp-client/tsconfig.json +++ b/types/node-xmpp-client/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "node-xmpp-client-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "node-xmpp-client-tests.ts" + ] +} \ No newline at end of file diff --git a/types/node-xmpp-core/tsconfig.json b/types/node-xmpp-core/tsconfig.json index 61048d84cb..65e37ab467 100644 --- a/types/node-xmpp-core/tsconfig.json +++ b/types/node-xmpp-core/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "node-xmpp-core-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "node-xmpp-core-tests.ts" + ] +} \ No newline at end of file diff --git a/types/node-zookeeper-client/tsconfig.json b/types/node-zookeeper-client/tsconfig.json index 7b493509d7..0182035432 100644 --- a/types/node-zookeeper-client/tsconfig.json +++ b/types/node-zookeeper-client/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "node-zookeeper-client-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/node/tsconfig.json b/types/node/tsconfig.json index 67b15bb876..e3ac3b2f91 100644 --- a/types/node/tsconfig.json +++ b/types/node/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/node/v0/tsconfig.json b/types/node/v0/tsconfig.json index 4111c68b3c..a4a370b7a7 100644 --- a/types/node/v0/tsconfig.json +++ b/types/node/v0/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/node/v4/tsconfig.json b/types/node/v4/tsconfig.json index 88fc4fb52f..c89540145a 100644 --- a/types/node/v4/tsconfig.json +++ b/types/node/v4/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" @@ -24,4 +25,4 @@ "index.d.ts", "node-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/node/v6/tsconfig.json b/types/node/v6/tsconfig.json index 0a1a39d7e1..8fc9488eac 100644 --- a/types/node/v6/tsconfig.json +++ b/types/node/v6/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/node/v7/tsconfig.json b/types/node/v7/tsconfig.json index 55147d0867..c5badcdaa5 100644 --- a/types/node/v7/tsconfig.json +++ b/types/node/v7/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" @@ -24,4 +25,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/node_redis/tsconfig.json b/types/node_redis/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/node_redis/tsconfig.json +++ b/types/node_redis/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nodegit/tsconfig.json b/types/nodegit/tsconfig.json index 394ec731df..4ba1bdece6 100644 --- a/types/nodegit/tsconfig.json +++ b/types/nodegit/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -116,4 +117,4 @@ "tree-update.d.ts", "tree.d.ts" ] -} +} \ No newline at end of file diff --git a/types/nodemailer-direct-transport/tsconfig.json b/types/nodemailer-direct-transport/tsconfig.json index 4fb7a7f2f3..00d449ecd7 100644 --- a/types/nodemailer-direct-transport/tsconfig.json +++ b/types/nodemailer-direct-transport/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nodemailer-mailgun-transport/tsconfig.json b/types/nodemailer-mailgun-transport/tsconfig.json index 0bccd31841..4098e7a2d4 100644 --- a/types/nodemailer-mailgun-transport/tsconfig.json +++ b/types/nodemailer-mailgun-transport/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nodemailer-pickup-transport/tsconfig.json b/types/nodemailer-pickup-transport/tsconfig.json index f2b97d05f7..777d450e29 100644 --- a/types/nodemailer-pickup-transport/tsconfig.json +++ b/types/nodemailer-pickup-transport/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nodemailer-ses-transport/tsconfig.json b/types/nodemailer-ses-transport/tsconfig.json index f193aa4436..42f2bb9c76 100644 --- a/types/nodemailer-ses-transport/tsconfig.json +++ b/types/nodemailer-ses-transport/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nodemailer-smtp-pool/tsconfig.json b/types/nodemailer-smtp-pool/tsconfig.json index 43c2b697ef..26e5f2737f 100644 --- a/types/nodemailer-smtp-pool/tsconfig.json +++ b/types/nodemailer-smtp-pool/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nodemailer-smtp-transport/tsconfig.json b/types/nodemailer-smtp-transport/tsconfig.json index 2ad534a972..c35d5cade4 100644 --- a/types/nodemailer-smtp-transport/tsconfig.json +++ b/types/nodemailer-smtp-transport/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nodemailer-stub-transport/tsconfig.json b/types/nodemailer-stub-transport/tsconfig.json index 3ebd3a309a..378719af41 100644 --- a/types/nodemailer-stub-transport/tsconfig.json +++ b/types/nodemailer-stub-transport/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nodemailer/tsconfig.json b/types/nodemailer/tsconfig.json index 83d88fb7a4..412f3312eb 100644 --- a/types/nodemailer/tsconfig.json +++ b/types/nodemailer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nodeunit/tsconfig.json b/types/nodeunit/tsconfig.json index 5dbba387ac..3d52af1d14 100644 --- a/types/nodeunit/tsconfig.json +++ b/types/nodeunit/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/noisejs/tsconfig.json b/types/noisejs/tsconfig.json index 12e08dbc3a..43e5b37e38 100644 --- a/types/noisejs/tsconfig.json +++ b/types/noisejs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nomnom/tsconfig.json b/types/nomnom/tsconfig.json index 08af53a375..0c5b757ced 100644 --- a/types/nomnom/tsconfig.json +++ b/types/nomnom/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nopt/tsconfig.json b/types/nopt/tsconfig.json index c1b2f5d5ea..0dc537c0c8 100644 --- a/types/nopt/tsconfig.json +++ b/types/nopt/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/normalize-url/tsconfig.json b/types/normalize-url/tsconfig.json index 8d9596fd6f..1626fe81b7 100644 --- a/types/normalize-url/tsconfig.json +++ b/types/normalize-url/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "normalize-url-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/notie/tsconfig.json b/types/notie/tsconfig.json index 74ddc340c2..0ab631c147 100644 --- a/types/notie/tsconfig.json +++ b/types/notie/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/notify.js/tsconfig.json b/types/notify.js/tsconfig.json index 09f11bc13c..4e338e2e8b 100644 --- a/types/notify.js/tsconfig.json +++ b/types/notify.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/notify/tsconfig.json b/types/notify/tsconfig.json index 282bc8fe35..a6957993f9 100644 --- a/types/notify/tsconfig.json +++ b/types/notify/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/notifyjs/tsconfig.json b/types/notifyjs/tsconfig.json index d74737e50c..0652ac5cfc 100644 --- a/types/notifyjs/tsconfig.json +++ b/types/notifyjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nouislider/tsconfig.json b/types/nouislider/tsconfig.json index 22354d1a33..dd6994a4dd 100644 --- a/types/nouislider/tsconfig.json +++ b/types/nouislider/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nouislider/v7/tsconfig.json b/types/nouislider/v7/tsconfig.json index 0a6e463c0e..d24f6c55b0 100644 --- a/types/nouislider/v7/tsconfig.json +++ b/types/nouislider/v7/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/nouislider/v8/tsconfig.json b/types/nouislider/v8/tsconfig.json index b746f14043..6dfd2ac510 100644 --- a/types/nouislider/v8/tsconfig.json +++ b/types/nouislider/v8/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/novnc-core/tsconfig.json b/types/novnc-core/tsconfig.json index 1faf1fac77..3aed33120e 100644 --- a/types/novnc-core/tsconfig.json +++ b/types/novnc-core/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -24,4 +25,4 @@ "lib/util/logging.d.ts", "novnc-core-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/npm-package-arg/tsconfig.json b/types/npm-package-arg/tsconfig.json index 97e72c70ab..1eea7a98ae 100644 --- a/types/npm-package-arg/tsconfig.json +++ b/types/npm-package-arg/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "npm-package-arg-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/npm/tsconfig.json b/types/npm/tsconfig.json index 5eb669f2f3..01aebadc3e 100644 --- a/types/npm/tsconfig.json +++ b/types/npm/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nprogress/tsconfig.json b/types/nprogress/tsconfig.json index cc183c5885..bd50ab2e1f 100644 --- a/types/nprogress/tsconfig.json +++ b/types/nprogress/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ns-api/tsconfig.json b/types/ns-api/tsconfig.json index 4c5703ed8c..6918e1e567 100644 --- a/types/ns-api/tsconfig.json +++ b/types/ns-api/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nslog/tsconfig.json b/types/nslog/tsconfig.json index 885e4f0dc0..6cd009f29d 100644 --- a/types/nslog/tsconfig.json +++ b/types/nslog/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "nslog-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/nsqjs/tsconfig.json b/types/nsqjs/tsconfig.json index 418c3a8170..2e65f5637c 100644 --- a/types/nsqjs/tsconfig.json +++ b/types/nsqjs/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "nsqjs-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "nsqjs-tests.ts" + ] +} \ No newline at end of file diff --git a/types/number-is-nan/tsconfig.json b/types/number-is-nan/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/number-is-nan/tsconfig.json +++ b/types/number-is-nan/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/number-to-words/tsconfig.json b/types/number-to-words/tsconfig.json index c7d9661c4d..49b562b085 100644 --- a/types/number-to-words/tsconfig.json +++ b/types/number-to-words/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "number-to-words-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/numeral/tsconfig.json b/types/numeral/tsconfig.json index 482da37c2d..332485f391 100644 --- a/types/numeral/tsconfig.json +++ b/types/numeral/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/numjs/tsconfig.json b/types/numjs/tsconfig.json index 1c1fa8fbd3..f76db6c4ca 100644 --- a/types/numjs/tsconfig.json +++ b/types/numjs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "numjs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/nunjucks-date/tsconfig.json b/types/nunjucks-date/tsconfig.json index 16cd14c98d..c5851d125c 100644 --- a/types/nunjucks-date/tsconfig.json +++ b/types/nunjucks-date/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nunjucks/tsconfig.json b/types/nunjucks/tsconfig.json index 78cd25bb53..39cf9bfbca 100644 --- a/types/nunjucks/tsconfig.json +++ b/types/nunjucks/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nvd3/tsconfig.json b/types/nvd3/tsconfig.json index bd0c65ea17..a2aa830e00 100644 --- a/types/nvd3/tsconfig.json +++ b/types/nvd3/tsconfig.json @@ -8,13 +8,16 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" ], "types": [], "paths": { - "d3": ["d3/v3"] + "d3": [ + "d3/v3" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/nw.gui/tsconfig.json b/types/nw.gui/tsconfig.json index 5728b8331b..ec66284c38 100644 --- a/types/nw.gui/tsconfig.json +++ b/types/nw.gui/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/nw.js/tsconfig.json b/types/nw.js/tsconfig.json index 6dd8ccc16c..047aa3c15a 100644 --- a/types/nw.js/tsconfig.json +++ b/types/nw.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/o.js/tsconfig.json b/types/o.js/tsconfig.json index b16d5111e8..a3159265ee 100644 --- a/types/o.js/tsconfig.json +++ b/types/o.js/tsconfig.json @@ -8,12 +8,15 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/oauth.js/tsconfig.json b/types/oauth.js/tsconfig.json index 28a466b5f9..39891ddb92 100644 --- a/types/oauth.js/tsconfig.json +++ b/types/oauth.js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/oauth2-server/tsconfig.json b/types/oauth2-server/tsconfig.json index fdafde9f35..b245965239 100644 --- a/types/oauth2-server/tsconfig.json +++ b/types/oauth2-server/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "oauth2-server-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/oauth2orize/tsconfig.json b/types/oauth2orize/tsconfig.json index f8a4375e1c..7903eeb77f 100644 --- a/types/oauth2orize/tsconfig.json +++ b/types/oauth2orize/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/obelisk.js/tsconfig.json b/types/obelisk.js/tsconfig.json index 5cfe359001..f95e82cb80 100644 --- a/types/obelisk.js/tsconfig.json +++ b/types/obelisk.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/object-assign/tsconfig.json b/types/object-assign/tsconfig.json index 152acb7e02..f00a78b509 100644 --- a/types/object-assign/tsconfig.json +++ b/types/object-assign/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/object-diff/tsconfig.json b/types/object-diff/tsconfig.json index bbec24931c..3fdf287fcf 100644 --- a/types/object-diff/tsconfig.json +++ b/types/object-diff/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/object-hash/tsconfig.json b/types/object-hash/tsconfig.json index 8fa75bf05e..7f1eb2a0f1 100644 --- a/types/object-hash/tsconfig.json +++ b/types/object-hash/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/object-map/tsconfig.json b/types/object-map/tsconfig.json index 1282cdab5b..88256eb7f9 100644 --- a/types/object-map/tsconfig.json +++ b/types/object-map/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "object-map-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/object-path/tsconfig.json b/types/object-path/tsconfig.json index bd115ef4c2..14192cc5b0 100644 --- a/types/object-path/tsconfig.json +++ b/types/object-path/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/object-refs/tsconfig.json b/types/object-refs/tsconfig.json index f4106c84af..3d9337cf0a 100644 --- a/types/object-refs/tsconfig.json +++ b/types/object-refs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/oblo-util/tsconfig.json b/types/oblo-util/tsconfig.json index a08661b4aa..c424a7fff8 100644 --- a/types/oblo-util/tsconfig.json +++ b/types/oblo-util/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/oboe/tsconfig.json b/types/oboe/tsconfig.json index 6f30545b15..1c02019149 100644 --- a/types/oboe/tsconfig.json +++ b/types/oboe/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/observe-js/tsconfig.json b/types/observe-js/tsconfig.json index eb2947c5e0..23b2a5106e 100644 --- a/types/observe-js/tsconfig.json +++ b/types/observe-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/oclazyload/tsconfig.json b/types/oclazyload/tsconfig.json index 7c70c7607d..3ada1d6bee 100644 --- a/types/oclazyload/tsconfig.json +++ b/types/oclazyload/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/odata/tsconfig.json b/types/odata/tsconfig.json index 6aac2e60a7..d7ea224b4e 100644 --- a/types/odata/tsconfig.json +++ b/types/odata/tsconfig.json @@ -8,12 +8,15 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/ofe/tsconfig.json b/types/ofe/tsconfig.json index 9c1f9c174a..dbd94babca 100644 --- a/types/ofe/tsconfig.json +++ b/types/ofe/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "ofe-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/office-js/tsconfig.json b/types/office-js/tsconfig.json index 3e113745ef..28a0881837 100644 --- a/types/office-js/tsconfig.json +++ b/types/office-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/offline-js/tsconfig.json b/types/offline-js/tsconfig.json index 032b471c22..e7d567565c 100644 --- a/types/offline-js/tsconfig.json +++ b/types/offline-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/oibackoff/tsconfig.json b/types/oibackoff/tsconfig.json index 1407693c66..d1f4fd90d8 100644 --- a/types/oibackoff/tsconfig.json +++ b/types/oibackoff/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/oidc-token-manager/tsconfig.json b/types/oidc-token-manager/tsconfig.json index 6e08824c8e..9a1d07adb6 100644 --- a/types/oidc-token-manager/tsconfig.json +++ b/types/oidc-token-manager/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/on-finished/tsconfig.json b/types/on-finished/tsconfig.json index 9bf39ded15..14e726f8c4 100644 --- a/types/on-finished/tsconfig.json +++ b/types/on-finished/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "on-finished-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/on-headers/tsconfig.json b/types/on-headers/tsconfig.json index 815122ee4e..a0e5fc13dd 100644 --- a/types/on-headers/tsconfig.json +++ b/types/on-headers/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "on-headers-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/once/tsconfig.json b/types/once/tsconfig.json index 4da17e3d3b..e6b9784107 100644 --- a/types/once/tsconfig.json +++ b/types/once/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "once-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/onetime/tsconfig.json b/types/onetime/tsconfig.json index d6d6394b99..84d3da86b8 100644 --- a/types/onetime/tsconfig.json +++ b/types/onetime/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "onetime-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/oniguruma/tsconfig.json b/types/oniguruma/tsconfig.json index 3f338cdbab..b807c6e5de 100644 --- a/types/oniguruma/tsconfig.json +++ b/types/oniguruma/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "oniguruma-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/onoff/tsconfig.json b/types/onoff/tsconfig.json index 4624eff8b7..cbe0820a5a 100644 --- a/types/onoff/tsconfig.json +++ b/types/onoff/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/open/tsconfig.json b/types/open/tsconfig.json index 68db8d5149..1395893dcb 100644 --- a/types/open/tsconfig.json +++ b/types/open/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/opener/tsconfig.json b/types/opener/tsconfig.json index 5452230c75..8f8b166751 100644 --- a/types/opener/tsconfig.json +++ b/types/opener/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "opener-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/openfin/tsconfig.json b/types/openfin/tsconfig.json index 5317cc92ce..fd3199ceb7 100644 --- a/types/openfin/tsconfig.json +++ b/types/openfin/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "openfin-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/openfin/v15/tsconfig.json b/types/openfin/v15/tsconfig.json index 6aee95c58a..103e765e43 100644 --- a/types/openfin/v15/tsconfig.json +++ b/types/openfin/v15/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/openfin/v16/tsconfig.json b/types/openfin/v16/tsconfig.json index 88e1dbe7fa..cfb0b2d238 100644 --- a/types/openfin/v16/tsconfig.json +++ b/types/openfin/v16/tsconfig.json @@ -1,28 +1,29 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ + "compilerOptions": { + "module": "commonjs", + "lib": [ "es6", "dom" ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../../", - "typeRoots": [ - "../../" - ], - "types": [], - "paths": { - "openfin": [ - "openfin/v16" - ] - }, - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "openfin-tests.ts" - ] -} + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": false, + "baseUrl": "../../", + "typeRoots": [ + "../../" + ], + "types": [], + "paths": { + "openfin": [ + "openfin/v16" + ] + }, + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "openfin-tests.ts" + ] +} \ No newline at end of file diff --git a/types/openjscad/tsconfig.json b/types/openjscad/tsconfig.json index a43234fe34..971a3ee55a 100644 --- a/types/openjscad/tsconfig.json +++ b/types/openjscad/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/openlayers/tsconfig.json b/types/openlayers/tsconfig.json index 9e86dbffeb..5b45cb31b9 100644 --- a/types/openlayers/tsconfig.json +++ b/types/openlayers/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/openlayers/v2/tsconfig.json b/types/openlayers/v2/tsconfig.json index 7f1aebdfe4..67c0f29fd4 100644 --- a/types/openlayers/v2/tsconfig.json +++ b/types/openlayers/v2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/openlayers/v3/tsconfig.json b/types/openlayers/v3/tsconfig.json index 1433c42333..052323b232 100644 --- a/types/openlayers/v3/tsconfig.json +++ b/types/openlayers/v3/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" @@ -25,4 +26,4 @@ "index.d.ts", "openlayers-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/openpgp/tsconfig.json b/types/openpgp/tsconfig.json index 96cb0b8ce6..8ed156faf3 100644 --- a/types/openpgp/tsconfig.json +++ b/types/openpgp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/openstack-wrapper/tsconfig.json b/types/openstack-wrapper/tsconfig.json index 07feed0989..f6fa4b227b 100644 --- a/types/openstack-wrapper/tsconfig.json +++ b/types/openstack-wrapper/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/opentok/tsconfig.json b/types/opentok/tsconfig.json index 53754e457d..0e035c2a4c 100644 --- a/types/opentok/tsconfig.json +++ b/types/opentok/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/opentype.js/tsconfig.json b/types/opentype.js/tsconfig.json index c63c42c750..ae36366993 100644 --- a/types/opentype.js/tsconfig.json +++ b/types/opentype.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/openui5/tsconfig.json b/types/openui5/tsconfig.json index 45c2bfccaa..e61a38f38c 100644 --- a/types/openui5/tsconfig.json +++ b/types/openui5/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/opn/tsconfig.json b/types/opn/tsconfig.json index a53810b06c..9c2829989d 100644 --- a/types/opn/tsconfig.json +++ b/types/opn/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/optics-agent/tsconfig.json b/types/optics-agent/tsconfig.json index efd9fbe826..046bfaad81 100644 --- a/types/optics-agent/tsconfig.json +++ b/types/optics-agent/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/optimist/tsconfig.json b/types/optimist/tsconfig.json index 6e32ae57f8..da5b6d43c7 100644 --- a/types/optimist/tsconfig.json +++ b/types/optimist/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/optimize-css-assets-webpack-plugin/tsconfig.json b/types/optimize-css-assets-webpack-plugin/tsconfig.json index 8693d603ec..bb2c39172f 100644 --- a/types/optimize-css-assets-webpack-plugin/tsconfig.json +++ b/types/optimize-css-assets-webpack-plugin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "optimize-css-assets-webpack-plugin-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ora/tsconfig.json b/types/ora/tsconfig.json index 464459407a..4092876efe 100644 --- a/types/ora/tsconfig.json +++ b/types/ora/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "ora-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ora/v0/tsconfig.json b/types/ora/v0/tsconfig.json index f611efce94..b614f6cbc4 100644 --- a/types/ora/v0/tsconfig.json +++ b/types/ora/v0/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" @@ -24,4 +25,4 @@ "index.d.ts", "ora-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/oracledb/tsconfig.json b/types/oracledb/tsconfig.json index b9f6db2a88..2e6eeb9b95 100644 --- a/types/oracledb/tsconfig.json +++ b/types/oracledb/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/orchestrator/tsconfig.json b/types/orchestrator/tsconfig.json index d3af83cd62..734b3aae82 100644 --- a/types/orchestrator/tsconfig.json +++ b/types/orchestrator/tsconfig.json @@ -8,12 +8,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/orderedmap/tsconfig.json b/types/orderedmap/tsconfig.json index cc31c6b296..d8428d94cc 100644 --- a/types/orderedmap/tsconfig.json +++ b/types/orderedmap/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "orderedmap-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/orientjs/tsconfig.json b/types/orientjs/tsconfig.json index 7c730bcc51..87bfdfd2a8 100644 --- a/types/orientjs/tsconfig.json +++ b/types/orientjs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/os-homedir/tsconfig.json b/types/os-homedir/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/os-homedir/tsconfig.json +++ b/types/os-homedir/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/os-locale/tsconfig.json b/types/os-locale/tsconfig.json index 1ee35717ce..fbf08733cf 100644 --- a/types/os-locale/tsconfig.json +++ b/types/os-locale/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "os-locale-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/os-locale/v1/tsconfig.json b/types/os-locale/v1/tsconfig.json index 833b306fa5..acb67ee603 100644 --- a/types/os-locale/v1/tsconfig.json +++ b/types/os-locale/v1/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "os-locale": ["os-locale/v1"] + "os-locale": [ + "os-locale/v1" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "os-locale-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/os-name/tsconfig.json b/types/os-name/tsconfig.json index 9e01c425f3..f48355e962 100644 --- a/types/os-name/tsconfig.json +++ b/types/os-name/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "os-name-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/os-tmpdir/tsconfig.json b/types/os-tmpdir/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/os-tmpdir/tsconfig.json +++ b/types/os-tmpdir/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/osmosis/tsconfig.json b/types/osmosis/tsconfig.json index c6c1cd0b81..9627f6d5fe 100644 --- a/types/osmosis/tsconfig.json +++ b/types/osmosis/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "osmosis-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/osmtogeojson/tsconfig.json b/types/osmtogeojson/tsconfig.json index 1d6c6986c3..c50e45768c 100644 --- a/types/osmtogeojson/tsconfig.json +++ b/types/osmtogeojson/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/osrm/tsconfig.json b/types/osrm/tsconfig.json index 75fb168468..8a581c7423 100644 --- a/types/osrm/tsconfig.json +++ b/types/osrm/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "osrm-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/owl.carousel/tsconfig.json b/types/owl.carousel/tsconfig.json index 6d47b2b919..4205eff11f 100644 --- a/types/owl.carousel/tsconfig.json +++ b/types/owl.carousel/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "owl.carousel-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/owlcarousel/tsconfig.json b/types/owlcarousel/tsconfig.json index a4cb1e6220..4438ba88ae 100644 --- a/types/owlcarousel/tsconfig.json +++ b/types/owlcarousel/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/p-all/tsconfig.json b/types/p-all/tsconfig.json index 711f36cb72..5cc346c4e3 100644 --- a/types/p-all/tsconfig.json +++ b/types/p-all/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-all-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-any/tsconfig.json b/types/p-any/tsconfig.json index 564eabff80..67d983361a 100644 --- a/types/p-any/tsconfig.json +++ b/types/p-any/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-any-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-cancelable/tsconfig.json b/types/p-cancelable/tsconfig.json index 2075e9d4f7..504511081d 100644 --- a/types/p-cancelable/tsconfig.json +++ b/types/p-cancelable/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-cancelable-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-debounce/tsconfig.json b/types/p-debounce/tsconfig.json index f2057a00e0..4de0f115d8 100644 --- a/types/p-debounce/tsconfig.json +++ b/types/p-debounce/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-debounce-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-defer/tsconfig.json b/types/p-defer/tsconfig.json index ebf8e83a49..06eb650dbe 100644 --- a/types/p-defer/tsconfig.json +++ b/types/p-defer/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/p-do-whilst/tsconfig.json b/types/p-do-whilst/tsconfig.json index 77b2fc0c71..87392769da 100644 --- a/types/p-do-whilst/tsconfig.json +++ b/types/p-do-whilst/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-do-whilst-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-each-series/tsconfig.json b/types/p-each-series/tsconfig.json index 6fdf68a8d8..e8cd900d05 100644 --- a/types/p-each-series/tsconfig.json +++ b/types/p-each-series/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-each-series-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-event/tsconfig.json b/types/p-event/tsconfig.json index 3d45d58840..0e047aa84b 100644 --- a/types/p-event/tsconfig.json +++ b/types/p-event/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "p-event-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-every/tsconfig.json b/types/p-every/tsconfig.json index ff676d0105..979927093f 100644 --- a/types/p-every/tsconfig.json +++ b/types/p-every/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-every-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-lazy/tsconfig.json b/types/p-lazy/tsconfig.json index 3d90d7b320..73b2e31142 100644 --- a/types/p-lazy/tsconfig.json +++ b/types/p-lazy/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-lazy-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-limit/tsconfig.json b/types/p-limit/tsconfig.json index 62ac82b46f..4634bf6300 100644 --- a/types/p-limit/tsconfig.json +++ b/types/p-limit/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-limit-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-locate/tsconfig.json b/types/p-locate/tsconfig.json index 09d6d1f3dc..1f3e8a7711 100644 --- a/types/p-locate/tsconfig.json +++ b/types/p-locate/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-locate-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-log/tsconfig.json b/types/p-log/tsconfig.json index 04e5764048..891d94fce3 100644 --- a/types/p-log/tsconfig.json +++ b/types/p-log/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-log-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-map-series/tsconfig.json b/types/p-map-series/tsconfig.json index 8843311edf..b06e222983 100644 --- a/types/p-map-series/tsconfig.json +++ b/types/p-map-series/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-map-series-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-map/tsconfig.json b/types/p-map/tsconfig.json index 92e08792e2..ed62309b29 100644 --- a/types/p-map/tsconfig.json +++ b/types/p-map/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-map-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-one/tsconfig.json b/types/p-one/tsconfig.json index 4b4e97dcc9..27a6a05ac7 100644 --- a/types/p-one/tsconfig.json +++ b/types/p-one/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-one-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-props/tsconfig.json b/types/p-props/tsconfig.json index 7e5309c521..8ef73ae141 100644 --- a/types/p-props/tsconfig.json +++ b/types/p-props/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-props-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-queue/tsconfig.json b/types/p-queue/tsconfig.json index 6fd210c82f..b3dd5e5314 100644 --- a/types/p-queue/tsconfig.json +++ b/types/p-queue/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-queue-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-reduce/tsconfig.json b/types/p-reduce/tsconfig.json index 0ae339a232..d06d04e5e7 100644 --- a/types/p-reduce/tsconfig.json +++ b/types/p-reduce/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-reduce-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-reflect/tsconfig.json b/types/p-reflect/tsconfig.json index 7403f4a2ac..0bd514215f 100644 --- a/types/p-reflect/tsconfig.json +++ b/types/p-reflect/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-reflect-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-retry/tsconfig.json b/types/p-retry/tsconfig.json index 68f27fc4b2..8bd6ddd6b5 100644 --- a/types/p-retry/tsconfig.json +++ b/types/p-retry/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-retry-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-series/tsconfig.json b/types/p-series/tsconfig.json index dd97123c13..7ac0ed4d4c 100644 --- a/types/p-series/tsconfig.json +++ b/types/p-series/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-series-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-settle/tsconfig.json b/types/p-settle/tsconfig.json index a83a8b4f49..ba288104e0 100644 --- a/types/p-settle/tsconfig.json +++ b/types/p-settle/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es6", + "target": "es6", "module": "commonjs", "lib": [ "es6" @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "p-settle-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-some/tsconfig.json b/types/p-some/tsconfig.json index 1cf89e7d11..d8bca7e13a 100644 --- a/types/p-some/tsconfig.json +++ b/types/p-some/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-some-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-tap/tsconfig.json b/types/p-tap/tsconfig.json index 57f00f3d05..1d4042647f 100644 --- a/types/p-tap/tsconfig.json +++ b/types/p-tap/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-tap-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-throttle/tsconfig.json b/types/p-throttle/tsconfig.json index 5344df0c1c..81852e4d18 100644 --- a/types/p-throttle/tsconfig.json +++ b/types/p-throttle/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-throttle-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-timeout/tsconfig.json b/types/p-timeout/tsconfig.json index 9ff2454750..d16042504a 100644 --- a/types/p-timeout/tsconfig.json +++ b/types/p-timeout/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-timeout-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-try/tsconfig.json b/types/p-try/tsconfig.json index ea1784a0e7..b8ca67f073 100644 --- a/types/p-try/tsconfig.json +++ b/types/p-try/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-try-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-wait-for/tsconfig.json b/types/p-wait-for/tsconfig.json index 378935ca8e..7df0af64a1 100644 --- a/types/p-wait-for/tsconfig.json +++ b/types/p-wait-for/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-wait-for-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p-whilst/tsconfig.json b/types/p-whilst/tsconfig.json index bcc9fd3dab..3309a228fc 100644 --- a/types/p-whilst/tsconfig.json +++ b/types/p-whilst/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "p-whilst-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/p2/tsconfig.json b/types/p2/tsconfig.json index 494e05a79c..c40f2ddd89 100644 --- a/types/p2/tsconfig.json +++ b/types/p2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/packery/tsconfig.json b/types/packery/tsconfig.json index 60786abd4f..85c7e3ae6a 100644 --- a/types/packery/tsconfig.json +++ b/types/packery/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pad/tsconfig.json b/types/pad/tsconfig.json index 4a93c20fab..6a6ef6d4c7 100644 --- a/types/pad/tsconfig.json +++ b/types/pad/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/page-icon/tsconfig.json b/types/page-icon/tsconfig.json index 6cedf08408..f5dc72cbcd 100644 --- a/types/page-icon/tsconfig.json +++ b/types/page-icon/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/page/tsconfig.json b/types/page/tsconfig.json index 4609dcf236..3a774901be 100644 --- a/types/page/tsconfig.json +++ b/types/page/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/paho-mqtt/tsconfig.json b/types/paho-mqtt/tsconfig.json index e4666b9ef5..7e9a7ce4e6 100644 --- a/types/paho-mqtt/tsconfig.json +++ b/types/paho-mqtt/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "paho-mqtt-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pako/tsconfig.json b/types/pako/tsconfig.json index b82b41525c..011a39c83c 100644 --- a/types/pako/tsconfig.json +++ b/types/pako/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/papaparse/tsconfig.json b/types/papaparse/tsconfig.json index 23f9082cd2..1684012a56 100644 --- a/types/papaparse/tsconfig.json +++ b/types/papaparse/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/paper/tsconfig.json b/types/paper/tsconfig.json index be1ca740bc..ba81ca6cf0 100644 --- a/types/paper/tsconfig.json +++ b/types/paper/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/paralleljs/tsconfig.json b/types/paralleljs/tsconfig.json index 0f69036fbb..0cea925bbd 100644 --- a/types/paralleljs/tsconfig.json +++ b/types/paralleljs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/parse-git-config/tsconfig.json b/types/parse-git-config/tsconfig.json index 453d805680..5295cbc1ee 100644 --- a/types/parse-git-config/tsconfig.json +++ b/types/parse-git-config/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "parse-git-config-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/parse-glob/tsconfig.json b/types/parse-glob/tsconfig.json index a32dc73872..0f620fa4e7 100644 --- a/types/parse-glob/tsconfig.json +++ b/types/parse-glob/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/parse-link-header/tsconfig.json b/types/parse-link-header/tsconfig.json index 02e284e352..82b1addcbd 100644 --- a/types/parse-link-header/tsconfig.json +++ b/types/parse-link-header/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "parse-link-header-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/parse-mockdb/tsconfig.json b/types/parse-mockdb/tsconfig.json index 8267c7c27f..47ec90a997 100644 --- a/types/parse-mockdb/tsconfig.json +++ b/types/parse-mockdb/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/parse-torrent-file/tsconfig.json b/types/parse-torrent-file/tsconfig.json index ea57d0f586..dcd42f04f0 100644 --- a/types/parse-torrent-file/tsconfig.json +++ b/types/parse-torrent-file/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "parse-torrent-file-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "parse-torrent-file-tests.ts" + ] +} \ No newline at end of file diff --git a/types/parse-torrent/tsconfig.json b/types/parse-torrent/tsconfig.json index 70f8227c59..1a2750195a 100644 --- a/types/parse-torrent/tsconfig.json +++ b/types/parse-torrent/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/parse-unit/tsconfig.json b/types/parse-unit/tsconfig.json index 4f0a626508..081dcee45d 100644 --- a/types/parse-unit/tsconfig.json +++ b/types/parse-unit/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "parse-unit-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/parse/tsconfig.json b/types/parse/tsconfig.json index 5fecdb4dd5..53ec60085d 100644 --- a/types/parse/tsconfig.json +++ b/types/parse/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "parse-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/parseurl/tsconfig.json b/types/parseurl/tsconfig.json index 751dc28d31..f47e85f978 100644 --- a/types/parseurl/tsconfig.json +++ b/types/parseurl/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/parsimmon/tsconfig.json b/types/parsimmon/tsconfig.json index 05f997f419..34d78a5d0a 100644 --- a/types/parsimmon/tsconfig.json +++ b/types/parsimmon/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/passport-anonymous/tsconfig.json b/types/passport-anonymous/tsconfig.json index e7d114d6f7..1d8859e706 100644 --- a/types/passport-anonymous/tsconfig.json +++ b/types/passport-anonymous/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/passport-beam/tsconfig.json b/types/passport-beam/tsconfig.json index 22b12d0422..7b3fc8e513 100644 --- a/types/passport-beam/tsconfig.json +++ b/types/passport-beam/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/passport-client-cert/tsconfig.json b/types/passport-client-cert/tsconfig.json index 614afd9842..fbf48f7438 100644 --- a/types/passport-client-cert/tsconfig.json +++ b/types/passport-client-cert/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "passport-client-cert-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/passport-discord/tsconfig.json b/types/passport-discord/tsconfig.json index da28db2fea..38a8051fb9 100644 --- a/types/passport-discord/tsconfig.json +++ b/types/passport-discord/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "passport-discord-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/passport-facebook-token/tsconfig.json b/types/passport-facebook-token/tsconfig.json index f0de7ab94f..a5f4d17112 100644 --- a/types/passport-facebook-token/tsconfig.json +++ b/types/passport-facebook-token/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/passport-facebook/tsconfig.json b/types/passport-facebook/tsconfig.json index 4f16b8ee25..dcc610efec 100644 --- a/types/passport-facebook/tsconfig.json +++ b/types/passport-facebook/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/passport-github/tsconfig.json b/types/passport-github/tsconfig.json index a71ba7d95e..0e7ac43e0e 100644 --- a/types/passport-github/tsconfig.json +++ b/types/passport-github/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/passport-github2/tsconfig.json b/types/passport-github2/tsconfig.json index 23822974be..ae03d3bb32 100644 --- a/types/passport-github2/tsconfig.json +++ b/types/passport-github2/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "passport-github2-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/passport-google-oauth/tsconfig.json b/types/passport-google-oauth/tsconfig.json index c76668f33b..adde576621 100644 --- a/types/passport-google-oauth/tsconfig.json +++ b/types/passport-google-oauth/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/passport-google-oauth2/tsconfig.json b/types/passport-google-oauth2/tsconfig.json index 38b1a17f54..ee60531f41 100644 --- a/types/passport-google-oauth2/tsconfig.json +++ b/types/passport-google-oauth2/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "passport-google-oauth2-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "passport-google-oauth2-tests.ts" + ] +} \ No newline at end of file diff --git a/types/passport-http-bearer/tsconfig.json b/types/passport-http-bearer/tsconfig.json index 64a8086f78..b6033075ab 100644 --- a/types/passport-http-bearer/tsconfig.json +++ b/types/passport-http-bearer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/passport-http/tsconfig.json b/types/passport-http/tsconfig.json index 51cc78d31a..d1a35a3390 100644 --- a/types/passport-http/tsconfig.json +++ b/types/passport-http/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/passport-jwt/tsconfig.json b/types/passport-jwt/tsconfig.json index 8f12dbfbfb..906f33004d 100644 --- a/types/passport-jwt/tsconfig.json +++ b/types/passport-jwt/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/passport-local-mongoose/tsconfig.json b/types/passport-local-mongoose/tsconfig.json index 28d15781c8..c0806a2177 100644 --- a/types/passport-local-mongoose/tsconfig.json +++ b/types/passport-local-mongoose/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/passport-local/tsconfig.json b/types/passport-local/tsconfig.json index 31f5ebca99..340ecca02d 100644 --- a/types/passport-local/tsconfig.json +++ b/types/passport-local/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/passport-oauth2-client-password/tsconfig.json b/types/passport-oauth2-client-password/tsconfig.json index fd9b55b7f6..e7cc4cc177 100644 --- a/types/passport-oauth2-client-password/tsconfig.json +++ b/types/passport-oauth2-client-password/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/passport-oauth2/tsconfig.json b/types/passport-oauth2/tsconfig.json index bee4a8416d..5e71cf6328 100644 --- a/types/passport-oauth2/tsconfig.json +++ b/types/passport-oauth2/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "passport-oauth2-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/passport-saml/tsconfig.json b/types/passport-saml/tsconfig.json index 4935a8ff20..0809dbbaf7 100644 --- a/types/passport-saml/tsconfig.json +++ b/types/passport-saml/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "passport-saml-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/passport-steam/tsconfig.json b/types/passport-steam/tsconfig.json index ab34d06c60..94a0d709a4 100644 --- a/types/passport-steam/tsconfig.json +++ b/types/passport-steam/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "passport-steam-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/passport-strategy/tsconfig.json b/types/passport-strategy/tsconfig.json index 3bd96f3908..b9d033a50e 100644 --- a/types/passport-strategy/tsconfig.json +++ b/types/passport-strategy/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/passport-twitter/tsconfig.json b/types/passport-twitter/tsconfig.json index 0971161910..4034aa5640 100644 --- a/types/passport-twitter/tsconfig.json +++ b/types/passport-twitter/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/passport-unique-token/tsconfig.json b/types/passport-unique-token/tsconfig.json index 3277992cff..405438dd5a 100644 --- a/types/passport-unique-token/tsconfig.json +++ b/types/passport-unique-token/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/passport/tsconfig.json b/types/passport/tsconfig.json index 4e9b96c953..08fe485f60 100644 --- a/types/passport/tsconfig.json +++ b/types/passport/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/password-hash-and-salt/tsconfig.json b/types/password-hash-and-salt/tsconfig.json index 27c9ff3242..a2a0427f51 100644 --- a/types/password-hash-and-salt/tsconfig.json +++ b/types/password-hash-and-salt/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/password-hash/tsconfig.json b/types/password-hash/tsconfig.json index eea6198680..b0e161a8a2 100644 --- a/types/password-hash/tsconfig.json +++ b/types/password-hash/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/path-exists/tsconfig.json b/types/path-exists/tsconfig.json index d6a6dcc606..d9e230ee27 100644 --- a/types/path-exists/tsconfig.json +++ b/types/path-exists/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "path-exists-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/path-exists/v1/tsconfig.json b/types/path-exists/v1/tsconfig.json index 1e8753cb6b..3a52689e9c 100644 --- a/types/path-exists/v1/tsconfig.json +++ b/types/path-exists/v1/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "path-exists": ["path-exists/v1"] + "path-exists": [ + "path-exists/v1" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "path-exists-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/path-is-absolute/tsconfig.json b/types/path-is-absolute/tsconfig.json index 37ce52205e..c3b15bff95 100644 --- a/types/path-is-absolute/tsconfig.json +++ b/types/path-is-absolute/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/path-parse/tsconfig.json b/types/path-parse/tsconfig.json index a03b33267a..9123b62477 100644 --- a/types/path-parse/tsconfig.json +++ b/types/path-parse/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pathfinding/tsconfig.json b/types/pathfinding/tsconfig.json index 21fb39ae72..0428d67daa 100644 --- a/types/pathfinding/tsconfig.json +++ b/types/pathfinding/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pathjs/tsconfig.json b/types/pathjs/tsconfig.json index dc4adb6d63..60a8aba82a 100644 --- a/types/pathjs/tsconfig.json +++ b/types/pathjs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pathwatcher/tsconfig.json b/types/pathwatcher/tsconfig.json index cd2b999654..c413f34011 100644 --- a/types/pathwatcher/tsconfig.json +++ b/types/pathwatcher/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "pathwatcher-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pathwatcher/v0/tsconfig.json b/types/pathwatcher/v0/tsconfig.json index e6020a4021..6e6584c70e 100644 --- a/types/pathwatcher/v0/tsconfig.json +++ b/types/pathwatcher/v0/tsconfig.json @@ -7,13 +7,18 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "pathwatcher": [ "pathwatcher/v0" ], - "q": [ "q/v0" ] + "pathwatcher": [ + "pathwatcher/v0" + ], + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, @@ -23,4 +28,4 @@ "index.d.ts", "pathwatcher-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pause/tsconfig.json b/types/pause/tsconfig.json index 09c24b50a3..76c0af48a3 100644 --- a/types/pause/tsconfig.json +++ b/types/pause/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "pause-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/payment/tsconfig.json b/types/payment/tsconfig.json index c284d0d6a4..4f1166c44f 100644 --- a/types/payment/tsconfig.json +++ b/types/payment/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/paypal-cordova-plugin/tsconfig.json b/types/paypal-cordova-plugin/tsconfig.json index 6aa10eef62..67ee653902 100644 --- a/types/paypal-cordova-plugin/tsconfig.json +++ b/types/paypal-cordova-plugin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/paypal-rest-sdk/tsconfig.json b/types/paypal-rest-sdk/tsconfig.json index 37d11017e6..4e1922b8ba 100644 --- a/types/paypal-rest-sdk/tsconfig.json +++ b/types/paypal-rest-sdk/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "paypal-rest-sdk-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pbf/tsconfig.json b/types/pbf/tsconfig.json index e5e21f23f4..b9ec4bce50 100644 --- a/types/pbf/tsconfig.json +++ b/types/pbf/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pdfjs-dist/tsconfig.json b/types/pdfjs-dist/tsconfig.json index 110e5b444a..d189de9f02 100644 --- a/types/pdfjs-dist/tsconfig.json +++ b/types/pdfjs-dist/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "pdfjs-dist-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pdfkit/tsconfig.json b/types/pdfkit/tsconfig.json index 00430ab1cd..f14037a57f 100644 --- a/types/pdfkit/tsconfig.json +++ b/types/pdfkit/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pdfobject/tsconfig.json b/types/pdfobject/tsconfig.json index a1dab4b2b8..178c186ae8 100644 --- a/types/pdfobject/tsconfig.json +++ b/types/pdfobject/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pebblekitjs/tsconfig.json b/types/pebblekitjs/tsconfig.json index 9172299a17..e09e806e3b 100644 --- a/types/pebblekitjs/tsconfig.json +++ b/types/pebblekitjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/peer-dial/tsconfig.json b/types/peer-dial/tsconfig.json index 5cfd0105d1..4672562aef 100644 --- a/types/peer-dial/tsconfig.json +++ b/types/peer-dial/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "peer-dial-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/peerjs/tsconfig.json b/types/peerjs/tsconfig.json index 7cf22f8322..41e815c2c3 100644 --- a/types/peerjs/tsconfig.json +++ b/types/peerjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pegjs/tsconfig.json b/types/pegjs/tsconfig.json index 4f3ff000cc..ea5f1cc8e4 100644 --- a/types/pegjs/tsconfig.json +++ b/types/pegjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pem/tsconfig.json b/types/pem/tsconfig.json index 9af8892083..509312522f 100644 --- a/types/pem/tsconfig.json +++ b/types/pem/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/perfect-scrollbar/tsconfig.json b/types/perfect-scrollbar/tsconfig.json index 5c584bf17c..a3bd2529c9 100644 --- a/types/perfect-scrollbar/tsconfig.json +++ b/types/perfect-scrollbar/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/persona/tsconfig.json b/types/persona/tsconfig.json index eb489f55f7..cadf2878fc 100644 --- a/types/persona/tsconfig.json +++ b/types/persona/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pet-finder-api/tsconfig.json b/types/pet-finder-api/tsconfig.json index 0730a425dd..66a88e70be 100644 --- a/types/pet-finder-api/tsconfig.json +++ b/types/pet-finder-api/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "pet-finder-api-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pg-connection-string/tsconfig.json b/types/pg-connection-string/tsconfig.json index 780089a760..c3b2765339 100644 --- a/types/pg-connection-string/tsconfig.json +++ b/types/pg-connection-string/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "pg-connection-string-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pg-ears/tsconfig.json b/types/pg-ears/tsconfig.json index 58f2ea0adf..a98396e776 100644 --- a/types/pg-ears/tsconfig.json +++ b/types/pg-ears/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "pg-ears-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pg-escape/tsconfig.json b/types/pg-escape/tsconfig.json index ad675e0892..b5afa8ea9a 100644 --- a/types/pg-escape/tsconfig.json +++ b/types/pg-escape/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "pg-escape-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pg-pool/tsconfig.json b/types/pg-pool/tsconfig.json index 7d97d43d22..5381ba2842 100644 --- a/types/pg-pool/tsconfig.json +++ b/types/pg-pool/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pg-query-stream/tsconfig.json b/types/pg-query-stream/tsconfig.json index aefc4020c0..8137847846 100644 --- a/types/pg-query-stream/tsconfig.json +++ b/types/pg-query-stream/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pg-types/tsconfig.json b/types/pg-types/tsconfig.json index 2530c402a1..d5f4abf341 100644 --- a/types/pg-types/tsconfig.json +++ b/types/pg-types/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pg/tsconfig.json b/types/pg/tsconfig.json index caa997a916..92ec2db62b 100644 --- a/types/pg/tsconfig.json +++ b/types/pg/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "pg-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pg/v6/tsconfig.json b/types/pg/v6/tsconfig.json index 2c44f5862b..4e12c2c891 100644 --- a/types/pg/v6/tsconfig.json +++ b/types/pg/v6/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "pg": [ "pg/v6" ] + "pg": [ + "pg/v6" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "pg-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pgwmodal/tsconfig.json b/types/pgwmodal/tsconfig.json index f758335e9a..5ad4cd4a98 100644 --- a/types/pgwmodal/tsconfig.json +++ b/types/pgwmodal/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/phantom/tsconfig.json b/types/phantom/tsconfig.json index ff89ed0655..39ae0edc93 100644 --- a/types/phantom/tsconfig.json +++ b/types/phantom/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/phantomcss/tsconfig.json b/types/phantomcss/tsconfig.json index 2a06f9be9d..cba4e19ecd 100644 --- a/types/phantomcss/tsconfig.json +++ b/types/phantomcss/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/phantomjs/tsconfig.json b/types/phantomjs/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/phantomjs/tsconfig.json +++ b/types/phantomjs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/phoenix/tsconfig.json b/types/phoenix/tsconfig.json index e2a5f53665..40bfbb22b6 100644 --- a/types/phoenix/tsconfig.json +++ b/types/phoenix/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/phone-formatter/tsconfig.json b/types/phone-formatter/tsconfig.json index d36c85e0ad..48f951581e 100644 --- a/types/phone-formatter/tsconfig.json +++ b/types/phone-formatter/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/phone/tsconfig.json b/types/phone/tsconfig.json index 2ba4beb764..1890b13a08 100644 --- a/types/phone/tsconfig.json +++ b/types/phone/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/phonegap-facebook-plugin/tsconfig.json b/types/phonegap-facebook-plugin/tsconfig.json index afa1570d1c..0a1d090d05 100644 --- a/types/phonegap-facebook-plugin/tsconfig.json +++ b/types/phonegap-facebook-plugin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/phonegap-nfc/tsconfig.json b/types/phonegap-nfc/tsconfig.json index ed6947b182..72b1f019d8 100644 --- a/types/phonegap-nfc/tsconfig.json +++ b/types/phonegap-nfc/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/phonegap-plugin-barcodescanner/tsconfig.json b/types/phonegap-plugin-barcodescanner/tsconfig.json index 690026998b..ec6d41e488 100644 --- a/types/phonegap-plugin-barcodescanner/tsconfig.json +++ b/types/phonegap-plugin-barcodescanner/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/phonegap-plugin-push/tsconfig.json b/types/phonegap-plugin-push/tsconfig.json index 0541ae96a3..1508fa279d 100644 --- a/types/phonegap-plugin-push/tsconfig.json +++ b/types/phonegap-plugin-push/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/phonegap/tsconfig.json b/types/phonegap/tsconfig.json index 60cf757964..714111c6e0 100644 --- a/types/phonegap/tsconfig.json +++ b/types/phonegap/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/phonon/tsconfig.json b/types/phonon/tsconfig.json index 4532a718b0..bbadd8d12a 100644 --- a/types/phonon/tsconfig.json +++ b/types/phonon/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "phonon-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/photonui/tsconfig.json b/types/photonui/tsconfig.json index 53612c4b5e..7aa685b04b 100644 --- a/types/photonui/tsconfig.json +++ b/types/photonui/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/photoswipe/tsconfig.json b/types/photoswipe/tsconfig.json index 4317aba61f..9e83ea1174 100644 --- a/types/photoswipe/tsconfig.json +++ b/types/photoswipe/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "dist/photoswipe-ui-default/index.d.ts", "photoswipe-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/physijs/tsconfig.json b/types/physijs/tsconfig.json index 7ce8c2c431..6d446c60b3 100644 --- a/types/physijs/tsconfig.json +++ b/types/physijs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pi-spi/tsconfig.json b/types/pi-spi/tsconfig.json index b596a7f4bb..0dada24fe6 100644 --- a/types/pi-spi/tsconfig.json +++ b/types/pi-spi/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pick-weight/tsconfig.json b/types/pick-weight/tsconfig.json index 493177c8f6..86f4110d99 100644 --- a/types/pick-weight/tsconfig.json +++ b/types/pick-weight/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "pick-weight-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pickadate/tsconfig.json b/types/pickadate/tsconfig.json index 70c069ed32..7b19418034 100644 --- a/types/pickadate/tsconfig.json +++ b/types/pickadate/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/picturefill/tsconfig.json b/types/picturefill/tsconfig.json index 0fefbd709d..1435f75db0 100644 --- a/types/picturefill/tsconfig.json +++ b/types/picturefill/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "picturefill-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pidusage/tsconfig.json b/types/pidusage/tsconfig.json index 275e85d949..256715e11c 100644 --- a/types/pidusage/tsconfig.json +++ b/types/pidusage/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "pidusage-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pify/tsconfig.json b/types/pify/tsconfig.json index 03f7ad008d..bf0a1104aa 100644 --- a/types/pify/tsconfig.json +++ b/types/pify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pigpio/tsconfig.json b/types/pigpio/tsconfig.json index 0ca0aba095..e5b61af015 100644 --- a/types/pigpio/tsconfig.json +++ b/types/pigpio/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pikaday-time/tsconfig.json b/types/pikaday-time/tsconfig.json index 25e9ff5370..bf96d27d1a 100644 --- a/types/pikaday-time/tsconfig.json +++ b/types/pikaday-time/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pikaday/tsconfig.json b/types/pikaday/tsconfig.json index a748410434..3c936ab905 100644 --- a/types/pikaday/tsconfig.json +++ b/types/pikaday/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pinkyswear/tsconfig.json b/types/pinkyswear/tsconfig.json index 83098b4a73..c815468eb3 100644 --- a/types/pinkyswear/tsconfig.json +++ b/types/pinkyswear/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pino/tsconfig.json b/types/pino/tsconfig.json index 733bb5bc9a..78c8106f18 100644 --- a/types/pino/tsconfig.json +++ b/types/pino/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "pino-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pino/v3/tsconfig.json b/types/pino/v3/tsconfig.json index 86c9bbdaf2..cc1e05b0f1 100644 --- a/types/pino/v3/tsconfig.json +++ b/types/pino/v3/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "pino": [ "pino/v3" ] + "pino": [ + "pino/v3" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "pino-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pinterest-sdk/tsconfig.json b/types/pinterest-sdk/tsconfig.json index 0ab00f9ea9..17bc0c1135 100644 --- a/types/pinterest-sdk/tsconfig.json +++ b/types/pinterest-sdk/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pinyin/tsconfig.json b/types/pinyin/tsconfig.json index 88101a7841..2fc91705ca 100644 --- a/types/pinyin/tsconfig.json +++ b/types/pinyin/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "pinyin-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/piwik-tracker/tsconfig.json b/types/piwik-tracker/tsconfig.json index bb177f4a2e..5f3f92ee94 100644 --- a/types/piwik-tracker/tsconfig.json +++ b/types/piwik-tracker/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pixi.js/tsconfig.json b/types/pixi.js/tsconfig.json index 21341f5421..742fa02137 100644 --- a/types/pixi.js/tsconfig.json +++ b/types/pixi.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pkijs/tsconfig.json b/types/pkijs/tsconfig.json index 92f6ee5464..2a4d04ec08 100644 --- a/types/pkijs/tsconfig.json +++ b/types/pkijs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/platform/tsconfig.json b/types/platform/tsconfig.json index 2efb10866a..95084ee11c 100644 --- a/types/platform/tsconfig.json +++ b/types/platform/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/playerframework/tsconfig.json b/types/playerframework/tsconfig.json index 3e0b8a50fa..56c01ef247 100644 --- a/types/playerframework/tsconfig.json +++ b/types/playerframework/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pleasejs/tsconfig.json b/types/pleasejs/tsconfig.json index 96a6fc89ae..94046488fe 100644 --- a/types/pleasejs/tsconfig.json +++ b/types/pleasejs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/plotly.js/tsconfig.json b/types/plotly.js/tsconfig.json index eef24a3216..dd21321c49 100644 --- a/types/plotly.js/tsconfig.json +++ b/types/plotly.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -22,4 +23,4 @@ "test/index-tests.ts", "test/core-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/plottable/tsconfig.json b/types/plottable/tsconfig.json index af320479a2..3eb45943e1 100644 --- a/types/plottable/tsconfig.json +++ b/types/plottable/tsconfig.json @@ -8,13 +8,16 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "types": [], "paths": { - "d3": ["d3/v3"] + "d3": [ + "d3/v3" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/plugapi/tsconfig.json b/types/plugapi/tsconfig.json index 3db8ce2c64..e0f04186ed 100644 --- a/types/plugapi/tsconfig.json +++ b/types/plugapi/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/plupload/tsconfig.json b/types/plupload/tsconfig.json index a78276fac3..fc46738339 100644 --- a/types/plupload/tsconfig.json +++ b/types/plupload/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pluralize/tsconfig.json b/types/pluralize/tsconfig.json index 7d877b9e83..112ed18147 100644 --- a/types/pluralize/tsconfig.json +++ b/types/pluralize/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/png-async/tsconfig.json b/types/png-async/tsconfig.json index 48e19acc23..181b899496 100644 --- a/types/png-async/tsconfig.json +++ b/types/png-async/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pngjs/tsconfig.json b/types/pngjs/tsconfig.json index bdce83e9a2..4a2c2d47fd 100644 --- a/types/pngjs/tsconfig.json +++ b/types/pngjs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "pngjs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pngjs2/tsconfig.json b/types/pngjs2/tsconfig.json index e89b001db8..cbefc10524 100644 --- a/types/pngjs2/tsconfig.json +++ b/types/pngjs2/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/podcast/tsconfig.json b/types/podcast/tsconfig.json index dd33399b60..8e4c29f1e9 100644 --- a/types/podcast/tsconfig.json +++ b/types/podcast/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/podium/tsconfig.json b/types/podium/tsconfig.json index 267d05537f..a383a8d04c 100644 --- a/types/podium/tsconfig.json +++ b/types/podium/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/point-in-polygon/tsconfig.json b/types/point-in-polygon/tsconfig.json index 7f82e9f497..a17d220c7e 100644 --- a/types/point-in-polygon/tsconfig.json +++ b/types/point-in-polygon/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/polylabel/tsconfig.json b/types/polylabel/tsconfig.json index 88d3cc8826..a9f8f55e42 100644 --- a/types/polylabel/tsconfig.json +++ b/types/polylabel/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/polyline/tsconfig.json b/types/polyline/tsconfig.json index 45f458afdc..267af0e29a 100644 --- a/types/polyline/tsconfig.json +++ b/types/polyline/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/polymer-ts/tsconfig.json b/types/polymer-ts/tsconfig.json index 90a6bcb740..67ef43b3be 100644 --- a/types/polymer-ts/tsconfig.json +++ b/types/polymer-ts/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/polymer/tsconfig.json b/types/polymer/tsconfig.json index cd072e5d74..172edc052b 100644 --- a/types/polymer/tsconfig.json +++ b/types/polymer/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/popcorn/tsconfig.json b/types/popcorn/tsconfig.json index 9661cf12ad..fa1c069762 100644 --- a/types/popcorn/tsconfig.json +++ b/types/popcorn/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/popper.js/tsconfig.json b/types/popper.js/tsconfig.json index d459943eff..e5f5d39e07 100644 --- a/types/popper.js/tsconfig.json +++ b/types/popper.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "popper.js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/portscanner/tsconfig.json b/types/portscanner/tsconfig.json index d9844dae67..0a2ba9f13b 100644 --- a/types/portscanner/tsconfig.json +++ b/types/portscanner/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "portscanner-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/postal/tsconfig.json b/types/postal/tsconfig.json index 2aff504c3f..69e3362d73 100644 --- a/types/postal/tsconfig.json +++ b/types/postal/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/postal/v0/tsconfig.json b/types/postal/v0/tsconfig.json index a9c4e9fca6..207cc2f60b 100644 --- a/types/postal/v0/tsconfig.json +++ b/types/postal/v0/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/postmark/tsconfig.json b/types/postmark/tsconfig.json index a7bd7a7e3c..86df19a17f 100644 --- a/types/postmark/tsconfig.json +++ b/types/postmark/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "postmark-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pouch-redux-middleware/tsconfig.json b/types/pouch-redux-middleware/tsconfig.json index 92849c6885..f9cf608a5e 100644 --- a/types/pouch-redux-middleware/tsconfig.json +++ b/types/pouch-redux-middleware/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pouchdb-adapter-fruitdown/tsconfig.json b/types/pouchdb-adapter-fruitdown/tsconfig.json index e362706244..c3357ce2d2 100644 --- a/types/pouchdb-adapter-fruitdown/tsconfig.json +++ b/types/pouchdb-adapter-fruitdown/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pouchdb-adapter-http/tsconfig.json b/types/pouchdb-adapter-http/tsconfig.json index 172ab6891a..dd66d20097 100644 --- a/types/pouchdb-adapter-http/tsconfig.json +++ b/types/pouchdb-adapter-http/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pouchdb-adapter-idb/tsconfig.json b/types/pouchdb-adapter-idb/tsconfig.json index 6fd6b28b32..ce5edaa36c 100644 --- a/types/pouchdb-adapter-idb/tsconfig.json +++ b/types/pouchdb-adapter-idb/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pouchdb-adapter-leveldb/tsconfig.json b/types/pouchdb-adapter-leveldb/tsconfig.json index 17848d370d..4c3ceef40c 100644 --- a/types/pouchdb-adapter-leveldb/tsconfig.json +++ b/types/pouchdb-adapter-leveldb/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pouchdb-adapter-localstorage/tsconfig.json b/types/pouchdb-adapter-localstorage/tsconfig.json index c181a0755b..b5c18c4a9f 100644 --- a/types/pouchdb-adapter-localstorage/tsconfig.json +++ b/types/pouchdb-adapter-localstorage/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pouchdb-adapter-memory/tsconfig.json b/types/pouchdb-adapter-memory/tsconfig.json index ffcbc69c25..0bf83e3b74 100644 --- a/types/pouchdb-adapter-memory/tsconfig.json +++ b/types/pouchdb-adapter-memory/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pouchdb-adapter-node-websql/tsconfig.json b/types/pouchdb-adapter-node-websql/tsconfig.json index 56c16d68c7..a154ce42e3 100644 --- a/types/pouchdb-adapter-node-websql/tsconfig.json +++ b/types/pouchdb-adapter-node-websql/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pouchdb-adapter-websql/tsconfig.json b/types/pouchdb-adapter-websql/tsconfig.json index a21a8de7e4..a4dd9848fc 100644 --- a/types/pouchdb-adapter-websql/tsconfig.json +++ b/types/pouchdb-adapter-websql/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pouchdb-browser/tsconfig.json b/types/pouchdb-browser/tsconfig.json index 9ec77f7822..892bc704d0 100644 --- a/types/pouchdb-browser/tsconfig.json +++ b/types/pouchdb-browser/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pouchdb-core/tsconfig.json b/types/pouchdb-core/tsconfig.json index 0068067705..61dd8ca4d1 100644 --- a/types/pouchdb-core/tsconfig.json +++ b/types/pouchdb-core/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pouchdb-find/tsconfig.json b/types/pouchdb-find/tsconfig.json index 25ea81c910..3db7946c2a 100644 --- a/types/pouchdb-find/tsconfig.json +++ b/types/pouchdb-find/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pouchdb-http/tsconfig.json b/types/pouchdb-http/tsconfig.json index c23708f695..0e67095870 100644 --- a/types/pouchdb-http/tsconfig.json +++ b/types/pouchdb-http/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pouchdb-mapreduce/tsconfig.json b/types/pouchdb-mapreduce/tsconfig.json index cf01560ee9..1af053e93b 100644 --- a/types/pouchdb-mapreduce/tsconfig.json +++ b/types/pouchdb-mapreduce/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pouchdb-node/tsconfig.json b/types/pouchdb-node/tsconfig.json index 60c68fd778..c1304343b6 100644 --- a/types/pouchdb-node/tsconfig.json +++ b/types/pouchdb-node/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pouchdb-replication/tsconfig.json b/types/pouchdb-replication/tsconfig.json index 6ac34adb7d..6a64902380 100644 --- a/types/pouchdb-replication/tsconfig.json +++ b/types/pouchdb-replication/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pouchdb-upsert/tsconfig.json b/types/pouchdb-upsert/tsconfig.json index 1236a1af0e..ff5dc47e0c 100644 --- a/types/pouchdb-upsert/tsconfig.json +++ b/types/pouchdb-upsert/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pouchdb/tsconfig.json b/types/pouchdb/tsconfig.json index 7f9e1c05d9..6894fb45dc 100644 --- a/types/pouchdb/tsconfig.json +++ b/types/pouchdb/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/power-assert-formatter/tsconfig.json b/types/power-assert-formatter/tsconfig.json index 979f00a1ec..93cc04326a 100644 --- a/types/power-assert-formatter/tsconfig.json +++ b/types/power-assert-formatter/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/power-assert/tsconfig.json b/types/power-assert/tsconfig.json index 23d27b2404..9093028de3 100644 --- a/types/power-assert/tsconfig.json +++ b/types/power-assert/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/precise/tsconfig.json b/types/precise/tsconfig.json index 5022e2b7c4..e400470ee5 100644 --- a/types/precise/tsconfig.json +++ b/types/precise/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/precond/tsconfig.json b/types/precond/tsconfig.json index 2dd6dc2839..8158d9149d 100644 --- a/types/precond/tsconfig.json +++ b/types/precond/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/preloadjs/tsconfig.json b/types/preloadjs/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/preloadjs/tsconfig.json +++ b/types/preloadjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/prelude-ls/tsconfig.json b/types/prelude-ls/tsconfig.json index c40f360c56..7c846df940 100644 --- a/types/prelude-ls/tsconfig.json +++ b/types/prelude-ls/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/prettier/tsconfig.json b/types/prettier/tsconfig.json index 5a6c388e91..c3ff9609e6 100644 --- a/types/prettier/tsconfig.json +++ b/types/prettier/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "prettier-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pretty-bytes/tsconfig.json b/types/pretty-bytes/tsconfig.json index 1f040dc3ac..fd11c640b4 100644 --- a/types/pretty-bytes/tsconfig.json +++ b/types/pretty-bytes/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pretty-format/tsconfig.json b/types/pretty-format/tsconfig.json index db0f3e25e4..b51d58bdbb 100644 --- a/types/pretty-format/tsconfig.json +++ b/types/pretty-format/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "pretty-format-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pretty-ms/tsconfig.json b/types/pretty-ms/tsconfig.json index ebb5c1f0e3..da88b941c7 100644 --- a/types/pretty-ms/tsconfig.json +++ b/types/pretty-ms/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "pretty-ms-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/prettyjson/tsconfig.json b/types/prettyjson/tsconfig.json index 1da749f732..8169c27bba 100644 --- a/types/prettyjson/tsconfig.json +++ b/types/prettyjson/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/printf/tsconfig.json b/types/printf/tsconfig.json index e937977428..620efed257 100644 --- a/types/printf/tsconfig.json +++ b/types/printf/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "printf-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/priorityqueuejs/tsconfig.json b/types/priorityqueuejs/tsconfig.json index 1a961d83f5..565b6f8339 100644 --- a/types/priorityqueuejs/tsconfig.json +++ b/types/priorityqueuejs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/prismjs/tsconfig.json b/types/prismjs/tsconfig.json index 0bd8440986..c5385df0ce 100644 --- a/types/prismjs/tsconfig.json +++ b/types/prismjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "prismjs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/private-ip/tsconfig.json b/types/private-ip/tsconfig.json index 6a04db5f95..33e37f45f5 100644 --- a/types/private-ip/tsconfig.json +++ b/types/private-ip/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "private-ip-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/procfs-stats/tsconfig.json b/types/procfs-stats/tsconfig.json index b59378a269..92d82b595d 100644 --- a/types/procfs-stats/tsconfig.json +++ b/types/procfs-stats/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "procfs-stats-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/progress/tsconfig.json b/types/progress/tsconfig.json index 6881db26b9..8621f46a57 100644 --- a/types/progress/tsconfig.json +++ b/types/progress/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/progressbar/tsconfig.json b/types/progressbar/tsconfig.json index 5f8279d45a..b541482303 100644 --- a/types/progressbar/tsconfig.json +++ b/types/progressbar/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/progressjs/tsconfig.json b/types/progressjs/tsconfig.json index fe96106632..371d303dae 100644 --- a/types/progressjs/tsconfig.json +++ b/types/progressjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/proj4/tsconfig.json b/types/proj4/tsconfig.json index 3822749b6d..a55659d52c 100644 --- a/types/proj4/tsconfig.json +++ b/types/proj4/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/proj4leaflet/tsconfig.json b/types/proj4leaflet/tsconfig.json index 65238995c8..697b96a93a 100644 --- a/types/proj4leaflet/tsconfig.json +++ b/types/proj4leaflet/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "proj4leaflet-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/project-oxford/tsconfig.json b/types/project-oxford/tsconfig.json index aa0c674947..4dbec7201d 100644 --- a/types/project-oxford/tsconfig.json +++ b/types/project-oxford/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/promise-dag/tsconfig.json b/types/promise-dag/tsconfig.json index 97423097e2..c98c23daeb 100644 --- a/types/promise-dag/tsconfig.json +++ b/types/promise-dag/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "promise-dag-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/promise-pg/tsconfig.json b/types/promise-pg/tsconfig.json index b28fb9baa9..33ce665884 100644 --- a/types/promise-pg/tsconfig.json +++ b/types/promise-pg/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/promise-polyfill/tsconfig.json b/types/promise-polyfill/tsconfig.json index 36a713b024..7fc4ac5f7b 100644 --- a/types/promise-polyfill/tsconfig.json +++ b/types/promise-polyfill/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/promise-pool/tsconfig.json b/types/promise-pool/tsconfig.json index f7be6ce41d..98ab2ed31d 100644 --- a/types/promise-pool/tsconfig.json +++ b/types/promise-pool/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/promise.prototype.finally/tsconfig.json b/types/promise.prototype.finally/tsconfig.json index 1ca27b380f..7562ea9a0e 100644 --- a/types/promise.prototype.finally/tsconfig.json +++ b/types/promise.prototype.finally/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/promised-temp/tsconfig.json b/types/promised-temp/tsconfig.json index e1c7a3aef8..95c3dbb03c 100644 --- a/types/promised-temp/tsconfig.json +++ b/types/promised-temp/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -17,7 +18,7 @@ "forceConsistentCasingInFileNames": true }, "files": [ - "index.d.ts", - "promised-temp-tests.ts" + "index.d.ts", + "promised-temp-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/promisify-node/tsconfig.json b/types/promisify-node/tsconfig.json index b0fa5bb453..a6cb4941e3 100644 --- a/types/promisify-node/tsconfig.json +++ b/types/promisify-node/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/promisify-supertest/tsconfig.json b/types/promisify-supertest/tsconfig.json index 74970bfcd1..5c827afe3d 100644 --- a/types/promisify-supertest/tsconfig.json +++ b/types/promisify-supertest/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/prompt-sync-history/tsconfig.json b/types/prompt-sync-history/tsconfig.json index 6a62e81c42..eee808c57f 100644 --- a/types/prompt-sync-history/tsconfig.json +++ b/types/prompt-sync-history/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/prompt-sync/tsconfig.json b/types/prompt-sync/tsconfig.json index 55449f21aa..4e3cc7be7f 100644 --- a/types/prompt-sync/tsconfig.json +++ b/types/prompt-sync/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/promptly/tsconfig.json b/types/promptly/tsconfig.json index 491028f3a6..1743c8cfae 100644 --- a/types/promptly/tsconfig.json +++ b/types/promptly/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/prop-types/tsconfig.json b/types/prop-types/tsconfig.json index 32e0c3a3f5..fc9e42b6d6 100644 --- a/types/prop-types/tsconfig.json +++ b/types/prop-types/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -15,6 +16,8 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, - "lib" : [ "es6" ] + "lib": [ + "es6" + ] } -} +} \ No newline at end of file diff --git a/types/properties-reader/tsconfig.json b/types/properties-reader/tsconfig.json index 12dabc301b..18f69d9755 100644 --- a/types/properties-reader/tsconfig.json +++ b/types/properties-reader/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "properties-reader-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/prosemirror-collab/tsconfig.json b/types/prosemirror-collab/tsconfig.json index 1820ac70bd..42b55853a5 100644 --- a/types/prosemirror-collab/tsconfig.json +++ b/types/prosemirror-collab/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "prosemirror-collab-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/prosemirror-commands/tsconfig.json b/types/prosemirror-commands/tsconfig.json index ff55c68fa5..0d89f90c3b 100644 --- a/types/prosemirror-commands/tsconfig.json +++ b/types/prosemirror-commands/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/prosemirror-history/tsconfig.json b/types/prosemirror-history/tsconfig.json index d9410dcf2e..011798770e 100644 --- a/types/prosemirror-history/tsconfig.json +++ b/types/prosemirror-history/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/prosemirror-inputrules/tsconfig.json b/types/prosemirror-inputrules/tsconfig.json index 6c1ea1cab4..bb5e0cc19b 100644 --- a/types/prosemirror-inputrules/tsconfig.json +++ b/types/prosemirror-inputrules/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/prosemirror-keymap/tsconfig.json b/types/prosemirror-keymap/tsconfig.json index b96daa75b6..266a148c55 100644 --- a/types/prosemirror-keymap/tsconfig.json +++ b/types/prosemirror-keymap/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/prosemirror-markdown/tsconfig.json b/types/prosemirror-markdown/tsconfig.json index bd2598f4c7..1fe943489c 100644 --- a/types/prosemirror-markdown/tsconfig.json +++ b/types/prosemirror-markdown/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "prosemirror-markdown-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/prosemirror-menu/tsconfig.json b/types/prosemirror-menu/tsconfig.json index 567612296f..3f43e1e2eb 100644 --- a/types/prosemirror-menu/tsconfig.json +++ b/types/prosemirror-menu/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/prosemirror-model/tsconfig.json b/types/prosemirror-model/tsconfig.json index ecd6628430..6ae1c43b0c 100644 --- a/types/prosemirror-model/tsconfig.json +++ b/types/prosemirror-model/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/prosemirror-schema-basic/tsconfig.json b/types/prosemirror-schema-basic/tsconfig.json index 0c90a14f5c..44a2b36f28 100644 --- a/types/prosemirror-schema-basic/tsconfig.json +++ b/types/prosemirror-schema-basic/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "prosemirror-schema-basic-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/prosemirror-schema-list/tsconfig.json b/types/prosemirror-schema-list/tsconfig.json index a02b0a9255..3bc76fb24f 100644 --- a/types/prosemirror-schema-list/tsconfig.json +++ b/types/prosemirror-schema-list/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "prosemirror-schema-list-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/prosemirror-state/tsconfig.json b/types/prosemirror-state/tsconfig.json index 2c704a320a..31354bc4ba 100644 --- a/types/prosemirror-state/tsconfig.json +++ b/types/prosemirror-state/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/prosemirror-tables/tsconfig.json b/types/prosemirror-tables/tsconfig.json index 822345265f..956d15d5b9 100644 --- a/types/prosemirror-tables/tsconfig.json +++ b/types/prosemirror-tables/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "prosemirror-tables-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "prosemirror-tables-tests.ts" + ] } \ No newline at end of file diff --git a/types/prosemirror-transform/tsconfig.json b/types/prosemirror-transform/tsconfig.json index 2526e2d213..c5799c88a6 100644 --- a/types/prosemirror-transform/tsconfig.json +++ b/types/prosemirror-transform/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/prosemirror-view/tsconfig.json b/types/prosemirror-view/tsconfig.json index 25af93cd0b..80349461cb 100644 --- a/types/prosemirror-view/tsconfig.json +++ b/types/prosemirror-view/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/protobufjs/tsconfig.json b/types/protobufjs/tsconfig.json index 126f90ff82..30ec4a0f3e 100644 --- a/types/protobufjs/tsconfig.json +++ b/types/protobufjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/protractor-browser-logs/tsconfig.json b/types/protractor-browser-logs/tsconfig.json index 76e8d82d3a..f0cfe8c279 100644 --- a/types/protractor-browser-logs/tsconfig.json +++ b/types/protractor-browser-logs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -17,7 +18,7 @@ "forceConsistentCasingInFileNames": true }, "files": [ - "index.d.ts", - "protractor-browser-logs-tests.ts" + "index.d.ts", + "protractor-browser-logs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/protractor-helpers/tsconfig.json b/types/protractor-helpers/tsconfig.json index 635aeabf5f..6a0cde55eb 100644 --- a/types/protractor-helpers/tsconfig.json +++ b/types/protractor-helpers/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/protractor-http-mock/tsconfig.json b/types/protractor-http-mock/tsconfig.json index 3ab3f8967f..be5b803a40 100644 --- a/types/protractor-http-mock/tsconfig.json +++ b/types/protractor-http-mock/tsconfig.json @@ -7,13 +7,16 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "types": [], "paths": { - "selenium-webdriver": ["selenium-webdriver/v2"] + "selenium-webdriver": [ + "selenium-webdriver/v2" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/proxy-addr/tsconfig.json b/types/proxy-addr/tsconfig.json index cfd79e445d..2fa7369df3 100644 --- a/types/proxy-addr/tsconfig.json +++ b/types/proxy-addr/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "proxy-addr-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/proxyquire/tsconfig.json b/types/proxyquire/tsconfig.json index 8a9a8fa96f..91f5321dca 100644 --- a/types/proxyquire/tsconfig.json +++ b/types/proxyquire/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pty.js/tsconfig.json b/types/pty.js/tsconfig.json index 4fc0717cee..bea732e24f 100644 --- a/types/pty.js/tsconfig.json +++ b/types/pty.js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/public-ip/tsconfig.json b/types/public-ip/tsconfig.json index 88c711afc2..272171128a 100644 --- a/types/public-ip/tsconfig.json +++ b/types/public-ip/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "public-ip-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/pubsub-js/tsconfig.json b/types/pubsub-js/tsconfig.json index ffe2578142..bccf35e64b 100644 --- a/types/pubsub-js/tsconfig.json +++ b/types/pubsub-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pug/tsconfig.json b/types/pug/tsconfig.json index 14a8b2785a..efae8f261c 100644 --- a/types/pug/tsconfig.json +++ b/types/pug/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pulltorefreshjs/tsconfig.json b/types/pulltorefreshjs/tsconfig.json index f285033d9d..000858aefb 100644 --- a/types/pulltorefreshjs/tsconfig.json +++ b/types/pulltorefreshjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pump/tsconfig.json b/types/pump/tsconfig.json index ac0fb7fe1c..64e36bc754 100644 --- a/types/pump/tsconfig.json +++ b/types/pump/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "pump-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/puppeteer/tsconfig.json b/types/puppeteer/tsconfig.json index 287537e136..1231a85489 100644 --- a/types/puppeteer/tsconfig.json +++ b/types/puppeteer/tsconfig.json @@ -1,16 +1,26 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": ["es6", "dom", "es2017"], - "target": "es2017", - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": ["../"], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": ["index.d.ts", "puppeteer-tests.ts"] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom", + "es2017" + ], + "target": "es2017", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "puppeteer-tests.ts" + ] +} \ No newline at end of file diff --git a/types/pure-render-decorator/tsconfig.json b/types/pure-render-decorator/tsconfig.json index 0e1569aa3a..75214d18ff 100644 --- a/types/pure-render-decorator/tsconfig.json +++ b/types/pure-render-decorator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "experimentalDecorators": true, "typeRoots": [ diff --git a/types/purl/tsconfig.json b/types/purl/tsconfig.json index 1af6bbdfee..ed87062a7f 100644 --- a/types/purl/tsconfig.json +++ b/types/purl/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pusher-js/tsconfig.json b/types/pusher-js/tsconfig.json index 564061e4e2..8827ec25e0 100644 --- a/types/pusher-js/tsconfig.json +++ b/types/pusher-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/pvutils/tsconfig.json b/types/pvutils/tsconfig.json index c30dca654c..1715d090ce 100644 --- a/types/pvutils/tsconfig.json +++ b/types/pvutils/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/python-shell/tsconfig.json b/types/python-shell/tsconfig.json index e94fb0c548..6a36da55e1 100644 --- a/types/python-shell/tsconfig.json +++ b/types/python-shell/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/q-io/tsconfig.json b/types/q-io/tsconfig.json index cccbe944b1..a4c26f2b30 100644 --- a/types/q-io/tsconfig.json +++ b/types/q-io/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/q-retry/tsconfig.json b/types/q-retry/tsconfig.json index 19c7cb8412..516bc59abf 100644 --- a/types/q-retry/tsconfig.json +++ b/types/q-retry/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/q/tsconfig.json b/types/q/tsconfig.json index 12c105d622..d78aa85a14 100644 --- a/types/q/tsconfig.json +++ b/types/q/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "q-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/q/v0/tsconfig.json b/types/q/v0/tsconfig.json index c44ffeb935..681e8e1f2e 100644 --- a/types/q/v0/tsconfig.json +++ b/types/q/v0/tsconfig.json @@ -8,12 +8,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/qhistory/tsconfig.json b/types/qhistory/tsconfig.json index e559937ec7..98850cf651 100644 --- a/types/qhistory/tsconfig.json +++ b/types/qhistory/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "qhistory-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/qlik-engineapi/tsconfig.json b/types/qlik-engineapi/tsconfig.json index 96c1d84c5d..2486e3c1a1 100644 --- a/types/qlik-engineapi/tsconfig.json +++ b/types/qlik-engineapi/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/qlik-visualizationextensions/tsconfig.json b/types/qlik-visualizationextensions/tsconfig.json index c71a5c597d..fcda37b74c 100644 --- a/types/qlik-visualizationextensions/tsconfig.json +++ b/types/qlik-visualizationextensions/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/qlik/tsconfig.json b/types/qlik/tsconfig.json index 88e56e6236..9ce852a121 100644 --- a/types/qlik/tsconfig.json +++ b/types/qlik/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "qlik-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": false, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "qlik-tests.ts" + ] +} \ No newline at end of file diff --git a/types/qr-image/tsconfig.json b/types/qr-image/tsconfig.json index c3cc4a05bf..c7703160db 100644 --- a/types/qr-image/tsconfig.json +++ b/types/qr-image/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "qr-image-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/qrcode-generator/tsconfig.json b/types/qrcode-generator/tsconfig.json index 3edfcfe47f..d38967f679 100644 --- a/types/qrcode-generator/tsconfig.json +++ b/types/qrcode-generator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/qrcode.react/tsconfig.json b/types/qrcode.react/tsconfig.json index c9938f0730..43b0544543 100644 --- a/types/qrcode.react/tsconfig.json +++ b/types/qrcode.react/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -21,4 +22,4 @@ "index.d.ts", "qrcode.react-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/qrcode/tsconfig.json b/types/qrcode/tsconfig.json index 792bed6543..9731101a88 100644 --- a/types/qrcode/tsconfig.json +++ b/types/qrcode/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/qs/tsconfig.json b/types/qs/tsconfig.json index 624bdc72f2..afbace4b52 100644 --- a/types/qs/tsconfig.json +++ b/types/qs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "qs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/qtip2/tsconfig.json b/types/qtip2/tsconfig.json index 8ba351f2a4..065a751433 100644 --- a/types/qtip2/tsconfig.json +++ b/types/qtip2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/query-string/tsconfig.json b/types/query-string/tsconfig.json index 3dd890dac3..83d5a52072 100644 --- a/types/query-string/tsconfig.json +++ b/types/query-string/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/quick-lru/tsconfig.json b/types/quick-lru/tsconfig.json index 0678d18c4c..c75dcdb96b 100644 --- a/types/quick-lru/tsconfig.json +++ b/types/quick-lru/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "quick-lru-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/quill/tsconfig.json b/types/quill/tsconfig.json index c412153e0e..a5297158c9 100644 --- a/types/quill/tsconfig.json +++ b/types/quill/tsconfig.json @@ -8,8 +8,11 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true @@ -18,4 +21,4 @@ "index.d.ts", "quill-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/quixote/tsconfig.json b/types/quixote/tsconfig.json index 625e81a419..54bd1570ba 100644 --- a/types/quixote/tsconfig.json +++ b/types/quixote/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/qunit/tsconfig.json b/types/qunit/tsconfig.json index 00a8e979ad..15ac0ffa44 100644 --- a/types/qunit/tsconfig.json +++ b/types/qunit/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/qunit/v1/tsconfig.json b/types/qunit/v1/tsconfig.json index 9e30aaab22..4ed39548dd 100644 --- a/types/qunit/v1/tsconfig.json +++ b/types/qunit/v1/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/quoted-printable/tsconfig.json b/types/quoted-printable/tsconfig.json index 1b061c1715..7bc181f40b 100644 --- a/types/quoted-printable/tsconfig.json +++ b/types/quoted-printable/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/qwest/tsconfig.json b/types/qwest/tsconfig.json index 7c9ff25668..d8cfd81322 100644 --- a/types/qwest/tsconfig.json +++ b/types/qwest/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/r-script/tsconfig.json b/types/r-script/tsconfig.json index 55f03cb8d9..82beae3043 100644 --- a/types/r-script/tsconfig.json +++ b/types/r-script/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "r-script-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/rabbit.js/tsconfig.json b/types/rabbit.js/tsconfig.json index 35908c2526..93e2112a25 100644 --- a/types/rabbit.js/tsconfig.json +++ b/types/rabbit.js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ractive/tsconfig.json b/types/ractive/tsconfig.json index 0921ffe272..a66823796c 100644 --- a/types/ractive/tsconfig.json +++ b/types/ractive/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/radium/tsconfig.json b/types/radium/tsconfig.json index bac345c1e1..73d842bda6 100644 --- a/types/radium/tsconfig.json +++ b/types/radium/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "experimentalDecorators": true, diff --git a/types/radius/tsconfig.json b/types/radius/tsconfig.json index f26dd6826c..9720137921 100644 --- a/types/radius/tsconfig.json +++ b/types/radius/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ramda/tsconfig.json b/types/ramda/tsconfig.json index 25a2a4ef17..d29b3d9783 100644 --- a/types/ramda/tsconfig.json +++ b/types/ramda/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/random-js/tsconfig.json b/types/random-js/tsconfig.json index 1be01a5af8..7f60c90d1b 100644 --- a/types/random-js/tsconfig.json +++ b/types/random-js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/random-seed/tsconfig.json b/types/random-seed/tsconfig.json index 53a4e8347b..0c0fcd958b 100644 --- a/types/random-seed/tsconfig.json +++ b/types/random-seed/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/random-string/tsconfig.json b/types/random-string/tsconfig.json index c80fa79d8c..444464e11e 100644 --- a/types/random-string/tsconfig.json +++ b/types/random-string/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/randomcolor/tsconfig.json b/types/randomcolor/tsconfig.json index 23f5126d10..b3a176e1fc 100644 --- a/types/randomcolor/tsconfig.json +++ b/types/randomcolor/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/randomstring/tsconfig.json b/types/randomstring/tsconfig.json index 893e1b15b6..7a159e3797 100644 --- a/types/randomstring/tsconfig.json +++ b/types/randomstring/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/range-parser/tsconfig.json b/types/range-parser/tsconfig.json index 9fb0a10c5f..15585886a9 100644 --- a/types/range-parser/tsconfig.json +++ b/types/range-parser/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rangy/tsconfig.json b/types/rangy/tsconfig.json index 37d0419d65..4eb68b3ddc 100644 --- a/types/rangy/tsconfig.json +++ b/types/rangy/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "rangy-classapplier.d.ts", "rangy-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/rangyinputs/tsconfig.json b/types/rangyinputs/tsconfig.json index 70eb1c5b70..8db995320f 100644 --- a/types/rangyinputs/tsconfig.json +++ b/types/rangyinputs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/raphael/tsconfig.json b/types/raphael/tsconfig.json index 739025bf33..2225a4e61a 100644 --- a/types/raphael/tsconfig.json +++ b/types/raphael/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rappid/tsconfig.json b/types/rappid/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/rappid/tsconfig.json +++ b/types/rappid/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ratelimiter/tsconfig.json b/types/ratelimiter/tsconfig.json index 21822d6390..7e4e18ce50 100644 --- a/types/ratelimiter/tsconfig.json +++ b/types/ratelimiter/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/raty/tsconfig.json b/types/raty/tsconfig.json index 271d05fb77..d367e9932e 100644 --- a/types/raty/tsconfig.json +++ b/types/raty/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/raven/tsconfig.json b/types/raven/tsconfig.json index dd41de9142..caa66d1660 100644 --- a/types/raven/tsconfig.json +++ b/types/raven/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "raven-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/raygun4js/tsconfig.json b/types/raygun4js/tsconfig.json index f186c8c0e5..13eb0470bc 100644 --- a/types/raygun4js/tsconfig.json +++ b/types/raygun4js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rbush/tsconfig.json b/types/rbush/tsconfig.json index de0fb4e550..fd02361312 100644 --- a/types/rbush/tsconfig.json +++ b/types/rbush/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rc-select/tsconfig.json b/types/rc-select/tsconfig.json index 19f23db405..9f4f75be56 100644 --- a/types/rc-select/tsconfig.json +++ b/types/rc-select/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rc-slider/tsconfig.json b/types/rc-slider/tsconfig.json index d6a3a4e288..8a4133645c 100644 --- a/types/rc-slider/tsconfig.json +++ b/types/rc-slider/tsconfig.json @@ -1,4 +1,4 @@ - { +{ "compilerOptions": { "module": "commonjs", "lib": [ @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -18,7 +19,7 @@ "jsx": "react" }, "files": [ - "index.d.ts", - "rc-slider-tests.tsx" + "index.d.ts", + "rc-slider-tests.tsx" ] } \ No newline at end of file diff --git a/types/rc-tooltip/tsconfig.json b/types/rc-tooltip/tsconfig.json index ff8f56d6e8..6ac85da4a7 100644 --- a/types/rc-tooltip/tsconfig.json +++ b/types/rc-tooltip/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rc-tree/tsconfig.json b/types/rc-tree/tsconfig.json index 3af3996eaf..f0e6f8f352 100644 --- a/types/rc-tree/tsconfig.json +++ b/types/rc-tree/tsconfig.json @@ -10,6 +10,7 @@ "noUnusedParameters": true, "noUnusedLocals": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -23,4 +24,4 @@ "index.d.ts", "rc-tree-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/rc/tsconfig.json b/types/rc/tsconfig.json index a3c5bee88f..dbd3d2ed1f 100644 --- a/types/rc/tsconfig.json +++ b/types/rc/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rcloader/tsconfig.json b/types/rcloader/tsconfig.json index f2da61d680..09cf468a7b 100644 --- a/types/rcloader/tsconfig.json +++ b/types/rcloader/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-addons-create-fragment/tsconfig.json b/types/react-addons-create-fragment/tsconfig.json index 1401eeeedb..d34d6a1d77 100644 --- a/types/react-addons-create-fragment/tsconfig.json +++ b/types/react-addons-create-fragment/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-addons-css-transition-group/tsconfig.json b/types/react-addons-css-transition-group/tsconfig.json index 1401eeeedb..d34d6a1d77 100644 --- a/types/react-addons-css-transition-group/tsconfig.json +++ b/types/react-addons-css-transition-group/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-addons-linked-state-mixin/tsconfig.json b/types/react-addons-linked-state-mixin/tsconfig.json index 1401eeeedb..d34d6a1d77 100644 --- a/types/react-addons-linked-state-mixin/tsconfig.json +++ b/types/react-addons-linked-state-mixin/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-addons-perf/tsconfig.json b/types/react-addons-perf/tsconfig.json index 92ebbc6458..b2099f42a4 100644 --- a/types/react-addons-perf/tsconfig.json +++ b/types/react-addons-perf/tsconfig.json @@ -10,6 +10,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-addons-pure-render-mixin/tsconfig.json b/types/react-addons-pure-render-mixin/tsconfig.json index 1401eeeedb..d34d6a1d77 100644 --- a/types/react-addons-pure-render-mixin/tsconfig.json +++ b/types/react-addons-pure-render-mixin/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-addons-shallow-compare/tsconfig.json b/types/react-addons-shallow-compare/tsconfig.json index 86f50b0584..f6f4aec748 100644 --- a/types/react-addons-shallow-compare/tsconfig.json +++ b/types/react-addons-shallow-compare/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-addons-test-utils/tsconfig.json b/types/react-addons-test-utils/tsconfig.json index 1401eeeedb..d34d6a1d77 100644 --- a/types/react-addons-test-utils/tsconfig.json +++ b/types/react-addons-test-utils/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-addons-transition-group/tsconfig.json b/types/react-addons-transition-group/tsconfig.json index 1401eeeedb..d34d6a1d77 100644 --- a/types/react-addons-transition-group/tsconfig.json +++ b/types/react-addons-transition-group/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-addons-update/tsconfig.json b/types/react-addons-update/tsconfig.json index 1401eeeedb..d34d6a1d77 100644 --- a/types/react-addons-update/tsconfig.json +++ b/types/react-addons-update/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-app/tsconfig.json b/types/react-app/tsconfig.json index b1cf94dbd6..f8571fc792 100644 --- a/types/react-app/tsconfig.json +++ b/types/react-app/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -21,4 +22,4 @@ "index.d.ts", "react-app-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-aria-menubutton/tsconfig.json b/types/react-aria-menubutton/tsconfig.json index 0e2508eac6..2dbf395f45 100644 --- a/types/react-aria-menubutton/tsconfig.json +++ b/types/react-aria-menubutton/tsconfig.json @@ -1,19 +1,25 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": ["es6", "dom"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": ["../"], - "types": [], - "jsx": "react", - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "react-aria-menubutton-tests.tsx" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "jsx": "react", + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "react-aria-menubutton-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/react-autosuggest/tsconfig.json b/types/react-autosuggest/tsconfig.json index f2cd9370b4..b85bc369dc 100644 --- a/types/react-autosuggest/tsconfig.json +++ b/types/react-autosuggest/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-beautiful-dnd/tsconfig.json b/types/react-beautiful-dnd/tsconfig.json index 1dc2ee7b8a..96c9d53cff 100644 --- a/types/react-beautiful-dnd/tsconfig.json +++ b/types/react-beautiful-dnd/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-beautiful-dnd-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-big-calendar/tsconfig.json b/types/react-big-calendar/tsconfig.json index 5869b8490a..1a28fe79ae 100644 --- a/types/react-big-calendar/tsconfig.json +++ b/types/react-big-calendar/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-body-classname/tsconfig.json b/types/react-body-classname/tsconfig.json index ca88f0e9aa..eed9b65a7c 100644 --- a/types/react-body-classname/tsconfig.json +++ b/types/react-body-classname/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-bootstrap-date-picker/tsconfig.json b/types/react-bootstrap-date-picker/tsconfig.json index 7b82f84844..c8beba00b1 100644 --- a/types/react-bootstrap-date-picker/tsconfig.json +++ b/types/react-bootstrap-date-picker/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-bootstrap-daterangepicker/tsconfig.json b/types/react-bootstrap-daterangepicker/tsconfig.json index 8856de035a..bc9c951ccf 100644 --- a/types/react-bootstrap-daterangepicker/tsconfig.json +++ b/types/react-bootstrap-daterangepicker/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-bootstrap-table/tsconfig.json b/types/react-bootstrap-table/tsconfig.json index e088067e04..5947d4a26d 100644 --- a/types/react-bootstrap-table/tsconfig.json +++ b/types/react-bootstrap-table/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-bootstrap/tsconfig.json b/types/react-bootstrap/tsconfig.json index eb50273e85..6368cc93de 100644 --- a/types/react-bootstrap/tsconfig.json +++ b/types/react-bootstrap/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -28,4 +29,4 @@ "lib/utils/splitComponentProps.d.ts", "lib/utils/StyleConfig.d.ts" ] -} +} \ No newline at end of file diff --git a/types/react-breadcrumbs/tsconfig.json b/types/react-breadcrumbs/tsconfig.json index d1a0ccc542..15b3328f6b 100644 --- a/types/react-breadcrumbs/tsconfig.json +++ b/types/react-breadcrumbs/tsconfig.json @@ -8,10 +8,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "paths": { - "history": ["history/v2"], - "react-router": ["react-router/v2"] + "history": [ + "history/v2" + ], + "react-router": [ + "react-router/v2" + ] }, "typeRoots": [ "../" @@ -25,4 +30,4 @@ "index.d.ts", "react-breadcrumbs-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-burger-menu/tsconfig.json b/types/react-burger-menu/tsconfig.json index 19dc806fbe..e8f6d518a5 100644 --- a/types/react-burger-menu/tsconfig.json +++ b/types/react-burger-menu/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-burger-menu-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-bytesize-icons/tsconfig.json b/types/react-bytesize-icons/tsconfig.json index 74943485e6..fdabe49e81 100644 --- a/types/react-bytesize-icons/tsconfig.json +++ b/types/react-bytesize-icons/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-calendar-timeline/tsconfig.json b/types/react-calendar-timeline/tsconfig.json index 4345a77faf..0338517fd1 100644 --- a/types/react-calendar-timeline/tsconfig.json +++ b/types/react-calendar-timeline/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-chartjs-2/tsconfig.json b/types/react-chartjs-2/tsconfig.json index 6320b29ac8..ef5b3e00c9 100644 --- a/types/react-chartjs-2/tsconfig.json +++ b/types/react-chartjs-2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,16 +21,16 @@ "files": [ "index.d.ts", "test/index.tsx", - "test/bar.tsx", - "test/bubble.tsx", - "test/doughnut.tsx", - "test/dynamic-doughnut.tsx", - "test/horizontalBar.tsx", - "test/line.tsx", - "test/mix.tsx", - "test/pie.tsx", - "test/polar.tsx", - "test/radar.tsx", - "test/randomizedLine.tsx" + "test/bar.tsx", + "test/bubble.tsx", + "test/doughnut.tsx", + "test/dynamic-doughnut.tsx", + "test/horizontalBar.tsx", + "test/line.tsx", + "test/mix.tsx", + "test/pie.tsx", + "test/polar.tsx", + "test/radar.tsx", + "test/randomizedLine.tsx" ] } \ No newline at end of file diff --git a/types/react-codemirror/tsconfig.json b/types/react-codemirror/tsconfig.json index 53e0a59d05..af24eb1e1f 100644 --- a/types/react-codemirror/tsconfig.json +++ b/types/react-codemirror/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-color/tsconfig.json b/types/react-color/tsconfig.json index 26e01d85c6..f52a34c374 100644 --- a/types/react-color/tsconfig.json +++ b/types/react-color/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -43,4 +44,4 @@ "lib/components/twitter/Twitter.d.ts", "react-color-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-copy-to-clipboard/tsconfig.json b/types/react-copy-to-clipboard/tsconfig.json index a4e09d1242..99987e8aff 100644 --- a/types/react-copy-to-clipboard/tsconfig.json +++ b/types/react-copy-to-clipboard/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -21,4 +22,4 @@ "index.d.ts", "react-copy-to-clipboard-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-cropper/tsconfig.json b/types/react-cropper/tsconfig.json index a4e8d361dd..aab8a09ee5 100644 --- a/types/react-cropper/tsconfig.json +++ b/types/react-cropper/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-css-modules/tsconfig.json b/types/react-css-modules/tsconfig.json index adbf9bd876..0975a113c1 100644 --- a/types/react-css-modules/tsconfig.json +++ b/types/react-css-modules/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-css-transition-replace/tsconfig.json b/types/react-css-transition-replace/tsconfig.json index 6899c7e04f..7aff1dd2cc 100644 --- a/types/react-css-transition-replace/tsconfig.json +++ b/types/react-css-transition-replace/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-custom-scrollbars/tsconfig.json b/types/react-custom-scrollbars/tsconfig.json index 0b25f24bde..a03a9609b1 100644 --- a/types/react-custom-scrollbars/tsconfig.json +++ b/types/react-custom-scrollbars/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-custom-scrollbars/v3/tsconfig.json b/types/react-custom-scrollbars/v3/tsconfig.json index 81204a9799..47d2b5bc45 100644 --- a/types/react-custom-scrollbars/v3/tsconfig.json +++ b/types/react-custom-scrollbars/v3/tsconfig.json @@ -8,13 +8,18 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "react-custom-scrollbars": ["react-custom-scrollbars/v3"], - "react-custom-scrollbars/*": ["react-custom-scrollbars/v3/*"] + "react-custom-scrollbars": [ + "react-custom-scrollbars/v3" + ], + "react-custom-scrollbars/*": [ + "react-custom-scrollbars/v3/*" + ] }, "types": [], "noEmit": true, @@ -25,4 +30,4 @@ "index.d.ts", "react-custom-scrollbars-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-data-grid/tsconfig.json b/types/react-data-grid/tsconfig.json index 681ae11040..a113c4a69e 100644 --- a/types/react-data-grid/tsconfig.json +++ b/types/react-data-grid/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-data-grid/v1/tsconfig.json b/types/react-data-grid/v1/tsconfig.json index 96020e8aac..c2602fd049 100644 --- a/types/react-data-grid/v1/tsconfig.json +++ b/types/react-data-grid/v1/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "jsx": "react", "typeRoots": [ @@ -17,11 +18,13 @@ "noEmit": true, "forceConsistentCasingInFileNames": true, "paths": { - "react-data-grid": [ "react-data-grid/v1" ] + "react-data-grid": [ + "react-data-grid/v1" + ] } }, "files": [ "index.d.ts", "react-data-grid-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-datagrid/tsconfig.json b/types/react-datagrid/tsconfig.json index 187f70b933..111a9dd7ea 100644 --- a/types/react-datagrid/tsconfig.json +++ b/types/react-datagrid/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-datepicker/tsconfig.json b/types/react-datepicker/tsconfig.json index f27b7a14b6..39a236a343 100644 --- a/types/react-datepicker/tsconfig.json +++ b/types/react-datepicker/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-daterange-picker/tsconfig.json b/types/react-daterange-picker/tsconfig.json index c2c726ab72..72fcee1873 100644 --- a/types/react-daterange-picker/tsconfig.json +++ b/types/react-daterange-picker/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-dates/tsconfig.json b/types/react-dates/tsconfig.json index 7d246baede..82a46d3cd2 100644 --- a/types/react-dates/tsconfig.json +++ b/types/react-dates/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -21,4 +22,4 @@ "index.d.ts", "react-dates-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-daum-postcode/tsconfig.json b/types/react-daum-postcode/tsconfig.json index 190eebaf9d..134796ae08 100644 --- a/types/react-daum-postcode/tsconfig.json +++ b/types/react-daum-postcode/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "experimentalDecorators": true, diff --git a/types/react-dnd-html5-backend/tsconfig.json b/types/react-dnd-html5-backend/tsconfig.json index 22d513103d..dca11ac9e1 100644 --- a/types/react-dnd-html5-backend/tsconfig.json +++ b/types/react-dnd-html5-backend/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-dnd/tsconfig.json b/types/react-dnd/tsconfig.json index 43dc8dc5f1..0f441c38f4 100644 --- a/types/react-dnd/tsconfig.json +++ b/types/react-dnd/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -21,4 +22,4 @@ "index.d.ts", "react-dnd-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-document-title/tsconfig.json b/types/react-document-title/tsconfig.json index 5ebdc1943d..5d63d21fb6 100644 --- a/types/react-document-title/tsconfig.json +++ b/types/react-document-title/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-dom/tsconfig.json b/types/react-dom/tsconfig.json index 8c270fabed..010744a826 100644 --- a/types/react-dom/tsconfig.json +++ b/types/react-dom/tsconfig.json @@ -15,6 +15,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -23,4 +24,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/react-dom/v15/tsconfig.json b/types/react-dom/v15/tsconfig.json index 6cba48934f..8f07ba2276 100644 --- a/types/react-dom/v15/tsconfig.json +++ b/types/react-dom/v15/tsconfig.json @@ -23,6 +23,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" @@ -31,4 +32,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/react-dropzone/tsconfig.json b/types/react-dropzone/tsconfig.json index 4174dabe65..0dbb3fedc8 100644 --- a/types/react-dropzone/tsconfig.json +++ b/types/react-dropzone/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-dropzone/v2/tsconfig.json b/types/react-dropzone/v2/tsconfig.json index 8693dae088..3ea5a034b1 100644 --- a/types/react-dropzone/v2/tsconfig.json +++ b/types/react-dropzone/v2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "jsx": "react", "baseUrl": "../../", "typeRoots": [ @@ -26,4 +27,4 @@ "index.d.ts", "react-dropzone-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-dropzone/v3/tsconfig.json b/types/react-dropzone/v3/tsconfig.json index 3032b7ca7d..46c4c4cbff 100644 --- a/types/react-dropzone/v3/tsconfig.json +++ b/types/react-dropzone/v3/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "jsx": "react", "baseUrl": "../../", "typeRoots": [ diff --git a/types/react-easy-chart/tsconfig.json b/types/react-easy-chart/tsconfig.json index 119be62ce4..06dd62395e 100644 --- a/types/react-easy-chart/tsconfig.json +++ b/types/react-easy-chart/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-event-listener/tsconfig.json b/types/react-event-listener/tsconfig.json index 71c0231e39..79cad9b350 100644 --- a/types/react-event-listener/tsconfig.json +++ b/types/react-event-listener/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-fa/tsconfig.json b/types/react-fa/tsconfig.json index 188401b1cd..ee7e57f029 100644 --- a/types/react-fa/tsconfig.json +++ b/types/react-fa/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-facebook-login/tsconfig.json b/types/react-facebook-login/tsconfig.json index e91aeefdd3..4d76e11a0f 100644 --- a/types/react-facebook-login/tsconfig.json +++ b/types/react-facebook-login/tsconfig.json @@ -10,6 +10,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -22,4 +23,4 @@ "index.d.ts", "react-facebook-login-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-faux-dom/tsconfig.json b/types/react-faux-dom/tsconfig.json index a7354d8795..198db32576 100644 --- a/types/react-faux-dom/tsconfig.json +++ b/types/react-faux-dom/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-file-input/tsconfig.json b/types/react-file-input/tsconfig.json index 3db5799d64..8455a75373 100644 --- a/types/react-file-input/tsconfig.json +++ b/types/react-file-input/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-file-reader-input/tsconfig.json b/types/react-file-reader-input/tsconfig.json index fa55727f01..020a2e0930 100644 --- a/types/react-file-reader-input/tsconfig.json +++ b/types/react-file-reader-input/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-flatpickr/tsconfig.json b/types/react-flatpickr/tsconfig.json index ea43a6c994..dbde62f5d3 100644 --- a/types/react-flatpickr/tsconfig.json +++ b/types/react-flatpickr/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-flatpickr-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-flex/tsconfig.json b/types/react-flex/tsconfig.json index a50abecbb6..2020f9dda4 100644 --- a/types/react-flex/tsconfig.json +++ b/types/react-flex/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-flexr/tsconfig.json b/types/react-flexr/tsconfig.json index 976c506be7..56580115a2 100644 --- a/types/react-flexr/tsconfig.json +++ b/types/react-flexr/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-flip-move/tsconfig.json b/types/react-flip-move/tsconfig.json index 62cb92a878..9472de4695 100644 --- a/types/react-flip-move/tsconfig.json +++ b/types/react-flip-move/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-fontawesome/tsconfig.json b/types/react-fontawesome/tsconfig.json index a305b56a99..c94422a8b8 100644 --- a/types/react-fontawesome/tsconfig.json +++ b/types/react-fontawesome/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-form/tsconfig.json b/types/react-form/tsconfig.json index 13b8c8f5a5..d6c6d41dca 100644 --- a/types/react-form/tsconfig.json +++ b/types/react-form/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -21,4 +22,4 @@ "index.d.ts", "react-form-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-foundation/tsconfig.json b/types/react-foundation/tsconfig.json index 9daeccfa5b..565dbdcece 100644 --- a/types/react-foundation/tsconfig.json +++ b/types/react-foundation/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -23,4 +24,4 @@ "utils.d.ts", "test/react-foundation-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-ga/tsconfig.json b/types/react-ga/tsconfig.json index 0e8c21872c..e3bfb3b9b0 100644 --- a/types/react-ga/tsconfig.json +++ b/types/react-ga/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "react-ga-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/react-geosuggest/tsconfig.json b/types/react-geosuggest/tsconfig.json index 3828f89f27..304546787b 100644 --- a/types/react-geosuggest/tsconfig.json +++ b/types/react-geosuggest/tsconfig.json @@ -2,12 +2,14 @@ "compilerOptions": { "module": "commonjs", "lib": [ - "es6", "dom" + "es6", + "dom" ], "jsx": "react", "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +22,4 @@ "index.d.ts", "react-geosuggest-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-gravatar/tsconfig.json b/types/react-gravatar/tsconfig.json index 83a0731b1c..cd0f8f5f34 100644 --- a/types/react-gravatar/tsconfig.json +++ b/types/react-gravatar/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-grid-layout/tsconfig.json b/types/react-grid-layout/tsconfig.json index 89ece1c775..c6f201354f 100644 --- a/types/react-grid-layout/tsconfig.json +++ b/types/react-grid-layout/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-hamburger-menu/tsconfig.json b/types/react-hamburger-menu/tsconfig.json index ec25dd6737..54703bb696 100644 --- a/types/react-hamburger-menu/tsconfig.json +++ b/types/react-hamburger-menu/tsconfig.json @@ -1,24 +1,25 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "jsx": "react", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "react-hamburger-menu-tests.tsx" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "jsx": "react", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "react-hamburger-menu-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/react-helmet/tsconfig.json b/types/react-helmet/tsconfig.json index cbf28cef27..e0c7684aae 100644 --- a/types/react-helmet/tsconfig.json +++ b/types/react-helmet/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-helmet/v4/tsconfig.json b/types/react-helmet/v4/tsconfig.json index 5813078cfb..6f93ba793e 100644 --- a/types/react-helmet/v4/tsconfig.json +++ b/types/react-helmet/v4/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "jsx": "react", "typeRoots": [ diff --git a/types/react-highlight-words/tsconfig.json b/types/react-highlight-words/tsconfig.json index fcd85363d6..1617289fa7 100644 --- a/types/react-highlight-words/tsconfig.json +++ b/types/react-highlight-words/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-highlighter/tsconfig.json b/types/react-highlighter/tsconfig.json index d0ecf277f0..45e30a642e 100644 --- a/types/react-highlighter/tsconfig.json +++ b/types/react-highlighter/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-holder/tsconfig.json b/types/react-holder/tsconfig.json index 2e70780102..e8ee50c417 100644 --- a/types/react-holder/tsconfig.json +++ b/types/react-holder/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-hot-loader/tsconfig.json b/types/react-hot-loader/tsconfig.json index f75cc89014..5e898cb303 100644 --- a/types/react-hot-loader/tsconfig.json +++ b/types/react-hot-loader/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-i18next/tsconfig.json b/types/react-i18next/tsconfig.json index 9228cf2075..cbb9a8b45f 100644 --- a/types/react-i18next/tsconfig.json +++ b/types/react-i18next/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -27,4 +28,4 @@ "src/trans.d.ts", "src/translate.d.ts" ] -} +} \ No newline at end of file diff --git a/types/react-i18next/v1/tsconfig.json b/types/react-i18next/v1/tsconfig.json index d58a88810b..b16cb92b25 100644 --- a/types/react-i18next/v1/tsconfig.json +++ b/types/react-i18next/v1/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" @@ -30,4 +31,4 @@ "index.d.ts", "react-i18next-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-icon-base/tsconfig.json b/types/react-icon-base/tsconfig.json index bb4889e2e9..4e98b45572 100644 --- a/types/react-icon-base/tsconfig.json +++ b/types/react-icon-base/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-icon-base-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-icons/tsconfig.json b/types/react-icons/tsconfig.json index b3af87fd55..30695260df 100644 --- a/types/react-icons/tsconfig.json +++ b/types/react-icons/tsconfig.json @@ -1,5 +1,5 @@ { - "compilerOptions": { + "compilerOptions": { "module": "commonjs", "lib": [ "es6", @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -16,5665 +17,5665 @@ "noEmit": true, "forceConsistentCasingInFileNames": true, "jsx": "preserve" - }, - "files": [ - "index.d.ts", - "react-icons-tests.tsx", - "fa/index.d.ts", - "go/index.d.ts", - "io/index.d.ts", - "md/index.d.ts", - "ti/index.d.ts", - "fa/500px.d.ts", - "fa/adjust.d.ts", - "fa/adn.d.ts", - "fa/align-center.d.ts", - "fa/align-justify.d.ts", - "fa/align-left.d.ts", - "fa/align-right.d.ts", - "fa/amazon.d.ts", - "fa/ambulance.d.ts", - "fa/american-sign-language-interpreting.d.ts", - "fa/anchor.d.ts", - "fa/android.d.ts", - "fa/angellist.d.ts", - "fa/angle-double-down.d.ts", - "fa/angle-double-left.d.ts", - "fa/angle-double-right.d.ts", - "fa/angle-double-up.d.ts", - "fa/angle-down.d.ts", - "fa/angle-left.d.ts", - "fa/angle-right.d.ts", - "fa/angle-up.d.ts", - "fa/apple.d.ts", - "fa/archive.d.ts", - "fa/area-chart.d.ts", - "fa/arrow-circle-down.d.ts", - "fa/arrow-circle-left.d.ts", - "fa/arrow-circle-o-down.d.ts", - "fa/arrow-circle-o-left.d.ts", - "fa/arrow-circle-o-right.d.ts", - "fa/arrow-circle-o-up.d.ts", - "fa/arrow-circle-right.d.ts", - "fa/arrow-circle-up.d.ts", - "fa/arrow-down.d.ts", - "fa/arrow-left.d.ts", - "fa/arrow-right.d.ts", - "fa/arrow-up.d.ts", - "fa/arrows-alt.d.ts", - "fa/arrows-h.d.ts", - "fa/arrows-v.d.ts", - "fa/arrows.d.ts", - "fa/assistive-listening-systems.d.ts", - "fa/asterisk.d.ts", - "fa/at.d.ts", - "fa/audio-description.d.ts", - "fa/automobile.d.ts", - "fa/backward.d.ts", - "fa/balance-scale.d.ts", - "fa/ban.d.ts", - "fa/bank.d.ts", - "fa/bar-chart.d.ts", - "fa/barcode.d.ts", - "fa/bars.d.ts", - "fa/battery-0.d.ts", - "fa/battery-1.d.ts", - "fa/battery-2.d.ts", - "fa/battery-3.d.ts", - "fa/battery-4.d.ts", - "fa/bed.d.ts", - "fa/beer.d.ts", - "fa/behance-square.d.ts", - "fa/behance.d.ts", - "fa/bell-o.d.ts", - "fa/bell-slash-o.d.ts", - "fa/bell-slash.d.ts", - "fa/bell.d.ts", - "fa/bicycle.d.ts", - "fa/binoculars.d.ts", - "fa/birthday-cake.d.ts", - "fa/bitbucket-square.d.ts", - "fa/bitbucket.d.ts", - "fa/bitcoin.d.ts", - "fa/black-tie.d.ts", - "fa/blind.d.ts", - "fa/bluetooth-b.d.ts", - "fa/bluetooth.d.ts", - "fa/bold.d.ts", - "fa/bolt.d.ts", - "fa/bomb.d.ts", - "fa/book.d.ts", - "fa/bookmark-o.d.ts", - "fa/bookmark.d.ts", - "fa/braille.d.ts", - "fa/briefcase.d.ts", - "fa/bug.d.ts", - "fa/building-o.d.ts", - "fa/building.d.ts", - "fa/bullhorn.d.ts", - "fa/bullseye.d.ts", - "fa/bus.d.ts", - "fa/buysellads.d.ts", - "fa/cab.d.ts", - "fa/calculator.d.ts", - "fa/calendar-check-o.d.ts", - "fa/calendar-minus-o.d.ts", - "fa/calendar-o.d.ts", - "fa/calendar-plus-o.d.ts", - "fa/calendar-times-o.d.ts", - "fa/calendar.d.ts", - "fa/camera-retro.d.ts", - "fa/camera.d.ts", - "fa/caret-down.d.ts", - "fa/caret-left.d.ts", - "fa/caret-right.d.ts", - "fa/caret-square-o-down.d.ts", - "fa/caret-square-o-left.d.ts", - "fa/caret-square-o-right.d.ts", - "fa/caret-square-o-up.d.ts", - "fa/caret-up.d.ts", - "fa/cart-arrow-down.d.ts", - "fa/cart-plus.d.ts", - "fa/cc-amex.d.ts", - "fa/cc-diners-club.d.ts", - "fa/cc-discover.d.ts", - "fa/cc-jcb.d.ts", - "fa/cc-mastercard.d.ts", - "fa/cc-paypal.d.ts", - "fa/cc-stripe.d.ts", - "fa/cc-visa.d.ts", - "fa/cc.d.ts", - "fa/certificate.d.ts", - "fa/chain-broken.d.ts", - "fa/chain.d.ts", - "fa/check-circle-o.d.ts", - "fa/check-circle.d.ts", - "fa/check-square-o.d.ts", - "fa/check-square.d.ts", - "fa/check.d.ts", - "fa/chevron-circle-down.d.ts", - "fa/chevron-circle-left.d.ts", - "fa/chevron-circle-right.d.ts", - "fa/chevron-circle-up.d.ts", - "fa/chevron-down.d.ts", - "fa/chevron-left.d.ts", - "fa/chevron-right.d.ts", - "fa/chevron-up.d.ts", - "fa/child.d.ts", - "fa/chrome.d.ts", - "fa/circle-o-notch.d.ts", - "fa/circle-o.d.ts", - "fa/circle-thin.d.ts", - "fa/circle.d.ts", - "fa/clipboard.d.ts", - "fa/clock-o.d.ts", - "fa/clone.d.ts", - "fa/close.d.ts", - "fa/cloud-download.d.ts", - "fa/cloud-upload.d.ts", - "fa/cloud.d.ts", - "fa/cny.d.ts", - "fa/code-fork.d.ts", - "fa/code.d.ts", - "fa/codepen.d.ts", - "fa/codiepie.d.ts", - "fa/coffee.d.ts", - "fa/cog.d.ts", - "fa/cogs.d.ts", - "fa/columns.d.ts", - "fa/comment-o.d.ts", - "fa/comment.d.ts", - "fa/commenting-o.d.ts", - "fa/commenting.d.ts", - "fa/comments-o.d.ts", - "fa/comments.d.ts", - "fa/compass.d.ts", - "fa/compress.d.ts", - "fa/connectdevelop.d.ts", - "fa/contao.d.ts", - "fa/copy.d.ts", - "fa/copyright.d.ts", - "fa/creative-commons.d.ts", - "fa/credit-card-alt.d.ts", - "fa/credit-card.d.ts", - "fa/crop.d.ts", - "fa/crosshairs.d.ts", - "fa/css3.d.ts", - "fa/cube.d.ts", - "fa/cubes.d.ts", - "fa/cut.d.ts", - "fa/cutlery.d.ts", - "fa/dashboard.d.ts", - "fa/dashcube.d.ts", - "fa/database.d.ts", - "fa/deaf.d.ts", - "fa/dedent.d.ts", - "fa/delicious.d.ts", - "fa/desktop.d.ts", - "fa/deviantart.d.ts", - "fa/diamond.d.ts", - "fa/digg.d.ts", - "fa/dollar.d.ts", - "fa/dot-circle-o.d.ts", - "fa/download.d.ts", - "fa/dribbble.d.ts", - "fa/dropbox.d.ts", - "fa/drupal.d.ts", - "fa/edge.d.ts", - "fa/edit.d.ts", - "fa/eject.d.ts", - "fa/ellipsis-h.d.ts", - "fa/ellipsis-v.d.ts", - "fa/empire.d.ts", - "fa/envelope-o.d.ts", - "fa/envelope-square.d.ts", - "fa/envelope.d.ts", - "fa/envira.d.ts", - "fa/eraser.d.ts", - "fa/eur.d.ts", - "fa/exchange.d.ts", - "fa/exclamation-circle.d.ts", - "fa/exclamation-triangle.d.ts", - "fa/exclamation.d.ts", - "fa/expand.d.ts", - "fa/expeditedssl.d.ts", - "fa/external-link-square.d.ts", - "fa/external-link.d.ts", - "fa/eye-slash.d.ts", - "fa/eye.d.ts", - "fa/eyedropper.d.ts", - "fa/facebook-official.d.ts", - "fa/facebook-square.d.ts", - "fa/facebook.d.ts", - "fa/fast-backward.d.ts", - "fa/fast-forward.d.ts", - "fa/fax.d.ts", - "fa/feed.d.ts", - "fa/female.d.ts", - "fa/fighter-jet.d.ts", - "fa/file-archive-o.d.ts", - "fa/file-audio-o.d.ts", - "fa/file-code-o.d.ts", - "fa/file-excel-o.d.ts", - "fa/file-image-o.d.ts", - "fa/file-movie-o.d.ts", - "fa/file-o.d.ts", - "fa/file-pdf-o.d.ts", - "fa/file-powerpoint-o.d.ts", - "fa/file-text-o.d.ts", - "fa/file-text.d.ts", - "fa/file-word-o.d.ts", - "fa/file.d.ts", - "fa/film.d.ts", - "fa/filter.d.ts", - "fa/fire-extinguisher.d.ts", - "fa/fire.d.ts", - "fa/firefox.d.ts", - "fa/flag-checkered.d.ts", - "fa/flag-o.d.ts", - "fa/flag.d.ts", - "fa/flask.d.ts", - "fa/flickr.d.ts", - "fa/floppy-o.d.ts", - "fa/folder-o.d.ts", - "fa/folder-open-o.d.ts", - "fa/folder-open.d.ts", - "fa/folder.d.ts", - "fa/font.d.ts", - "fa/fonticons.d.ts", - "fa/fort-awesome.d.ts", - "fa/forumbee.d.ts", - "fa/forward.d.ts", - "fa/foursquare.d.ts", - "fa/frown-o.d.ts", - "fa/futbol-o.d.ts", - "fa/gamepad.d.ts", - "fa/gavel.d.ts", - "fa/gbp.d.ts", - "fa/genderless.d.ts", - "fa/get-pocket.d.ts", - "fa/gg-circle.d.ts", - "fa/gg.d.ts", - "fa/gift.d.ts", - "fa/git-square.d.ts", - "fa/git.d.ts", - "fa/github-alt.d.ts", - "fa/github-square.d.ts", - "fa/github.d.ts", - "fa/gitlab.d.ts", - "fa/gittip.d.ts", - "fa/glass.d.ts", - "fa/glide-g.d.ts", - "fa/glide.d.ts", - "fa/globe.d.ts", - "fa/google-plus-square.d.ts", - "fa/google-plus.d.ts", - "fa/google-wallet.d.ts", - "fa/google.d.ts", - "fa/graduation-cap.d.ts", - "fa/group.d.ts", - "fa/h-square.d.ts", - "fa/hacker-news.d.ts", - "fa/hand-grab-o.d.ts", - "fa/hand-lizard-o.d.ts", - "fa/hand-o-down.d.ts", - "fa/hand-o-left.d.ts", - "fa/hand-o-right.d.ts", - "fa/hand-o-up.d.ts", - "fa/hand-paper-o.d.ts", - "fa/hand-peace-o.d.ts", - "fa/hand-pointer-o.d.ts", - "fa/hand-scissors-o.d.ts", - "fa/hand-spock-o.d.ts", - "fa/hashtag.d.ts", - "fa/hdd-o.d.ts", - "fa/header.d.ts", - "fa/headphones.d.ts", - "fa/heart-o.d.ts", - "fa/heart.d.ts", - "fa/heartbeat.d.ts", - "fa/history.d.ts", - "fa/home.d.ts", - "fa/hospital-o.d.ts", - "fa/hourglass-1.d.ts", - "fa/hourglass-2.d.ts", - "fa/hourglass-3.d.ts", - "fa/hourglass-o.d.ts", - "fa/hourglass.d.ts", - "fa/houzz.d.ts", - "fa/html5.d.ts", - "fa/i-cursor.d.ts", - "fa/ils.d.ts", - "fa/image.d.ts", - "fa/inbox.d.ts", - "fa/indent.d.ts", - "fa/industry.d.ts", - "fa/info-circle.d.ts", - "fa/info.d.ts", - "fa/inr.d.ts", - "fa/instagram.d.ts", - "fa/internet-explorer.d.ts", - "fa/intersex.d.ts", - "fa/ioxhost.d.ts", - "fa/italic.d.ts", - "fa/joomla.d.ts", - "fa/jsfiddle.d.ts", - "fa/key.d.ts", - "fa/keyboard-o.d.ts", - "fa/krw.d.ts", - "fa/language.d.ts", - "fa/laptop.d.ts", - "fa/lastfm-square.d.ts", - "fa/lastfm.d.ts", - "fa/leaf.d.ts", - "fa/leanpub.d.ts", - "fa/lemon-o.d.ts", - "fa/level-down.d.ts", - "fa/level-up.d.ts", - "fa/life-bouy.d.ts", - "fa/lightbulb-o.d.ts", - "fa/line-chart.d.ts", - "fa/linkedin-square.d.ts", - "fa/linkedin.d.ts", - "fa/linux.d.ts", - "fa/list-alt.d.ts", - "fa/list-ol.d.ts", - "fa/list-ul.d.ts", - "fa/list.d.ts", - "fa/location-arrow.d.ts", - "fa/lock.d.ts", - "fa/long-arrow-down.d.ts", - "fa/long-arrow-left.d.ts", - "fa/long-arrow-right.d.ts", - "fa/long-arrow-up.d.ts", - "fa/low-vision.d.ts", - "fa/magic.d.ts", - "fa/magnet.d.ts", - "fa/mail-forward.d.ts", - "fa/mail-reply-all.d.ts", - "fa/mail-reply.d.ts", - "fa/male.d.ts", - "fa/map-marker.d.ts", - "fa/map-o.d.ts", - "fa/map-pin.d.ts", - "fa/map-signs.d.ts", - "fa/map.d.ts", - "fa/mars-double.d.ts", - "fa/mars-stroke-h.d.ts", - "fa/mars-stroke-v.d.ts", - "fa/mars-stroke.d.ts", - "fa/mars.d.ts", - "fa/maxcdn.d.ts", - "fa/meanpath.d.ts", - "fa/medium.d.ts", - "fa/medkit.d.ts", - "fa/meh-o.d.ts", - "fa/mercury.d.ts", - "fa/microphone-slash.d.ts", - "fa/microphone.d.ts", - "fa/minus-circle.d.ts", - "fa/minus-square-o.d.ts", - "fa/minus-square.d.ts", - "fa/minus.d.ts", - "fa/mixcloud.d.ts", - "fa/mobile.d.ts", - "fa/modx.d.ts", - "fa/money.d.ts", - "fa/moon-o.d.ts", - "fa/motorcycle.d.ts", - "fa/mouse-pointer.d.ts", - "fa/music.d.ts", - "fa/neuter.d.ts", - "fa/newspaper-o.d.ts", - "fa/object-group.d.ts", - "fa/object-ungroup.d.ts", - "fa/odnoklassniki-square.d.ts", - "fa/odnoklassniki.d.ts", - "fa/opencart.d.ts", - "fa/openid.d.ts", - "fa/opera.d.ts", - "fa/optin-monster.d.ts", - "fa/pagelines.d.ts", - "fa/paint-brush.d.ts", - "fa/paper-plane-o.d.ts", - "fa/paper-plane.d.ts", - "fa/paperclip.d.ts", - "fa/paragraph.d.ts", - "fa/pause-circle-o.d.ts", - "fa/pause-circle.d.ts", - "fa/pause.d.ts", - "fa/paw.d.ts", - "fa/paypal.d.ts", - "fa/pencil-square.d.ts", - "fa/pencil.d.ts", - "fa/percent.d.ts", - "fa/phone-square.d.ts", - "fa/phone.d.ts", - "fa/pie-chart.d.ts", - "fa/pied-piper-alt.d.ts", - "fa/pied-piper.d.ts", - "fa/pinterest-p.d.ts", - "fa/pinterest-square.d.ts", - "fa/pinterest.d.ts", - "fa/plane.d.ts", - "fa/play-circle-o.d.ts", - "fa/play-circle.d.ts", - "fa/play.d.ts", - "fa/plug.d.ts", - "fa/plus-circle.d.ts", - "fa/plus-square-o.d.ts", - "fa/plus-square.d.ts", - "fa/plus.d.ts", - "fa/power-off.d.ts", - "fa/print.d.ts", - "fa/product-hunt.d.ts", - "fa/puzzle-piece.d.ts", - "fa/qq.d.ts", - "fa/qrcode.d.ts", - "fa/question-circle-o.d.ts", - "fa/question-circle.d.ts", - "fa/question.d.ts", - "fa/quote-left.d.ts", - "fa/quote-right.d.ts", - "fa/ra.d.ts", - "fa/random.d.ts", - "fa/recycle.d.ts", - "fa/reddit-alien.d.ts", - "fa/reddit-square.d.ts", - "fa/reddit.d.ts", - "fa/refresh.d.ts", - "fa/registered.d.ts", - "fa/renren.d.ts", - "fa/repeat.d.ts", - "fa/retweet.d.ts", - "fa/road.d.ts", - "fa/rocket.d.ts", - "fa/rotate-left.d.ts", - "fa/rouble.d.ts", - "fa/rss-square.d.ts", - "fa/safari.d.ts", - "fa/scribd.d.ts", - "fa/search-minus.d.ts", - "fa/search-plus.d.ts", - "fa/search.d.ts", - "fa/sellsy.d.ts", - "fa/server.d.ts", - "fa/share-alt-square.d.ts", - "fa/share-alt.d.ts", - "fa/share-square-o.d.ts", - "fa/share-square.d.ts", - "fa/shield.d.ts", - "fa/ship.d.ts", - "fa/shirtsinbulk.d.ts", - "fa/shopping-bag.d.ts", - "fa/shopping-basket.d.ts", - "fa/shopping-cart.d.ts", - "fa/sign-in.d.ts", - "fa/sign-language.d.ts", - "fa/sign-out.d.ts", - "fa/signal.d.ts", - "fa/simplybuilt.d.ts", - "fa/sitemap.d.ts", - "fa/skyatlas.d.ts", - "fa/skype.d.ts", - "fa/slack.d.ts", - "fa/sliders.d.ts", - "fa/slideshare.d.ts", - "fa/smile-o.d.ts", - "fa/snapchat-ghost.d.ts", - "fa/snapchat-square.d.ts", - "fa/snapchat.d.ts", - "fa/sort-alpha-asc.d.ts", - "fa/sort-alpha-desc.d.ts", - "fa/sort-amount-asc.d.ts", - "fa/sort-amount-desc.d.ts", - "fa/sort-asc.d.ts", - "fa/sort-desc.d.ts", - "fa/sort-numeric-asc.d.ts", - "fa/sort-numeric-desc.d.ts", - "fa/sort.d.ts", - "fa/soundcloud.d.ts", - "fa/space-shuttle.d.ts", - "fa/spinner.d.ts", - "fa/spoon.d.ts", - "fa/spotify.d.ts", - "fa/square-o.d.ts", - "fa/square.d.ts", - "fa/stack-exchange.d.ts", - "fa/stack-overflow.d.ts", - "fa/star-half-empty.d.ts", - "fa/star-half.d.ts", - "fa/star-o.d.ts", - "fa/star.d.ts", - "fa/steam-square.d.ts", - "fa/steam.d.ts", - "fa/step-backward.d.ts", - "fa/step-forward.d.ts", - "fa/stethoscope.d.ts", - "fa/sticky-note-o.d.ts", - "fa/sticky-note.d.ts", - "fa/stop-circle-o.d.ts", - "fa/stop-circle.d.ts", - "fa/stop.d.ts", - "fa/street-view.d.ts", - "fa/strikethrough.d.ts", - "fa/stumbleupon-circle.d.ts", - "fa/stumbleupon.d.ts", - "fa/subscript.d.ts", - "fa/subway.d.ts", - "fa/suitcase.d.ts", - "fa/sun-o.d.ts", - "fa/superscript.d.ts", - "fa/table.d.ts", - "fa/tablet.d.ts", - "fa/tag.d.ts", - "fa/tags.d.ts", - "fa/tasks.d.ts", - "fa/television.d.ts", - "fa/tencent-weibo.d.ts", - "fa/terminal.d.ts", - "fa/text-height.d.ts", - "fa/text-width.d.ts", - "fa/th-large.d.ts", - "fa/th-list.d.ts", - "fa/th.d.ts", - "fa/thumb-tack.d.ts", - "fa/thumbs-down.d.ts", - "fa/thumbs-o-down.d.ts", - "fa/thumbs-o-up.d.ts", - "fa/thumbs-up.d.ts", - "fa/ticket.d.ts", - "fa/times-circle-o.d.ts", - "fa/times-circle.d.ts", - "fa/tint.d.ts", - "fa/toggle-off.d.ts", - "fa/toggle-on.d.ts", - "fa/trademark.d.ts", - "fa/train.d.ts", - "fa/transgender-alt.d.ts", - "fa/trash-o.d.ts", - "fa/trash.d.ts", - "fa/tree.d.ts", - "fa/trello.d.ts", - "fa/tripadvisor.d.ts", - "fa/trophy.d.ts", - "fa/truck.d.ts", - "fa/try.d.ts", - "fa/tty.d.ts", - "fa/tumblr-square.d.ts", - "fa/tumblr.d.ts", - "fa/twitch.d.ts", - "fa/twitter-square.d.ts", - "fa/twitter.d.ts", - "fa/umbrella.d.ts", - "fa/underline.d.ts", - "fa/universal-access.d.ts", - "fa/unlock-alt.d.ts", - "fa/unlock.d.ts", - "fa/upload.d.ts", - "fa/usb.d.ts", - "fa/user-md.d.ts", - "fa/user-plus.d.ts", - "fa/user-secret.d.ts", - "fa/user-times.d.ts", - "fa/user.d.ts", - "fa/venus-double.d.ts", - "fa/venus-mars.d.ts", - "fa/venus.d.ts", - "fa/viacoin.d.ts", - "fa/viadeo-square.d.ts", - "fa/viadeo.d.ts", - "fa/video-camera.d.ts", - "fa/vimeo-square.d.ts", - "fa/vimeo.d.ts", - "fa/vine.d.ts", - "fa/vk.d.ts", - "fa/volume-control-phone.d.ts", - "fa/volume-down.d.ts", - "fa/volume-off.d.ts", - "fa/volume-up.d.ts", - "fa/wechat.d.ts", - "fa/weibo.d.ts", - "fa/whatsapp.d.ts", - "fa/wheelchair-alt.d.ts", - "fa/wheelchair.d.ts", - "fa/wifi.d.ts", - "fa/wikipedia-w.d.ts", - "fa/windows.d.ts", - "fa/wordpress.d.ts", - "fa/wpbeginner.d.ts", - "fa/wpforms.d.ts", - "fa/wrench.d.ts", - "fa/xing-square.d.ts", - "fa/xing.d.ts", - "fa/y-combinator.d.ts", - "fa/yahoo.d.ts", - "fa/yelp.d.ts", - "fa/youtube-play.d.ts", - "fa/youtube-square.d.ts", - "fa/youtube.d.ts", - "go/alert.d.ts", - "go/alignment-align.d.ts", - "go/alignment-aligned-to.d.ts", - "go/alignment-unalign.d.ts", - "go/arrow-down.d.ts", - "go/arrow-left.d.ts", - "go/arrow-right.d.ts", - "go/arrow-small-down.d.ts", - "go/arrow-small-left.d.ts", - "go/arrow-small-right.d.ts", - "go/arrow-small-up.d.ts", - "go/arrow-up.d.ts", - "go/beer.d.ts", - "go/book.d.ts", - "go/bookmark.d.ts", - "go/briefcase.d.ts", - "go/broadcast.d.ts", - "go/browser.d.ts", - "go/bug.d.ts", - "go/calendar.d.ts", - "go/check.d.ts", - "go/checklist.d.ts", - "go/chevron-down.d.ts", - "go/chevron-left.d.ts", - "go/chevron-right.d.ts", - "go/chevron-up.d.ts", - "go/circle-slash.d.ts", - "go/circuit-board.d.ts", - "go/clippy.d.ts", - "go/clock.d.ts", - "go/cloud-download.d.ts", - "go/cloud-upload.d.ts", - "go/code.d.ts", - "go/color-mode.d.ts", - "go/comment-discussion.d.ts", - "go/comment.d.ts", - "go/credit-card.d.ts", - "go/dash.d.ts", - "go/dashboard.d.ts", - "go/database.d.ts", - "go/device-camera-video.d.ts", - "go/device-camera.d.ts", - "go/device-desktop.d.ts", - "go/device-mobile.d.ts", - "go/diff-added.d.ts", - "go/diff-ignored.d.ts", - "go/diff-modified.d.ts", - "go/diff-removed.d.ts", - "go/diff-renamed.d.ts", - "go/diff.d.ts", - "go/ellipsis.d.ts", - "go/eye.d.ts", - "go/file-binary.d.ts", - "go/file-code.d.ts", - "go/file-directory.d.ts", - "go/file-media.d.ts", - "go/file-pdf.d.ts", - "go/file-submodule.d.ts", - "go/file-symlink-directory.d.ts", - "go/file-symlink-file.d.ts", - "go/file-text.d.ts", - "go/file-zip.d.ts", - "go/flame.d.ts", - "go/fold.d.ts", - "go/gear.d.ts", - "go/gift.d.ts", - "go/gist-secret.d.ts", - "go/gist.d.ts", - "go/git-branch.d.ts", - "go/git-commit.d.ts", - "go/git-compare.d.ts", - "go/git-merge.d.ts", - "go/git-pull-request.d.ts", - "go/globe.d.ts", - "go/graph.d.ts", - "go/heart.d.ts", - "go/history.d.ts", - "go/home.d.ts", - "go/horizontal-rule.d.ts", - "go/hourglass.d.ts", - "go/hubot.d.ts", - "go/inbox.d.ts", - "go/info.d.ts", - "go/issue-closed.d.ts", - "go/issue-opened.d.ts", - "go/issue-reopened.d.ts", - "go/jersey.d.ts", - "go/jump-down.d.ts", - "go/jump-left.d.ts", - "go/jump-right.d.ts", - "go/jump-up.d.ts", - "go/key.d.ts", - "go/keyboard.d.ts", - "go/law.d.ts", - "go/light-bulb.d.ts", - "go/link-external.d.ts", - "go/link.d.ts", - "go/list-ordered.d.ts", - "go/list-unordered.d.ts", - "go/location.d.ts", - "go/lock.d.ts", - "go/logo-github.d.ts", - "go/mail-read.d.ts", - "go/mail-reply.d.ts", - "go/mail.d.ts", - "go/mark-github.d.ts", - "go/markdown.d.ts", - "go/megaphone.d.ts", - "go/mention.d.ts", - "go/microscope.d.ts", - "go/milestone.d.ts", - "go/mirror.d.ts", - "go/mortar-board.d.ts", - "go/move-down.d.ts", - "go/move-left.d.ts", - "go/move-right.d.ts", - "go/move-up.d.ts", - "go/mute.d.ts", - "go/no-newline.d.ts", - "go/octoface.d.ts", - "go/organization.d.ts", - "go/package.d.ts", - "go/paintcan.d.ts", - "go/pencil.d.ts", - "go/person.d.ts", - "go/pin.d.ts", - "go/playback-fast-forward.d.ts", - "go/playback-pause.d.ts", - "go/playback-play.d.ts", - "go/playback-rewind.d.ts", - "go/plug.d.ts", - "go/plus.d.ts", - "go/podium.d.ts", - "go/primitive-dot.d.ts", - "go/primitive-square.d.ts", - "go/pulse.d.ts", - "go/puzzle.d.ts", - "go/question.d.ts", - "go/quote.d.ts", - "go/radio-tower.d.ts", - "go/repo-clone.d.ts", - "go/repo-force-push.d.ts", - "go/repo-forked.d.ts", - "go/repo-pull.d.ts", - "go/repo-push.d.ts", - "go/repo.d.ts", - "go/rocket.d.ts", - "go/rss.d.ts", - "go/ruby.d.ts", - "go/screen-full.d.ts", - "go/screen-normal.d.ts", - "go/search.d.ts", - "go/server.d.ts", - "go/settings.d.ts", - "go/sign-in.d.ts", - "go/sign-out.d.ts", - "go/split.d.ts", - "go/squirrel.d.ts", - "go/star.d.ts", - "go/steps.d.ts", - "go/stop.d.ts", - "go/sync.d.ts", - "go/tag.d.ts", - "go/telescope.d.ts", - "go/terminal.d.ts", - "go/three-bars.d.ts", - "go/tools.d.ts", - "go/trashcan.d.ts", - "go/triangle-down.d.ts", - "go/triangle-left.d.ts", - "go/triangle-right.d.ts", - "go/triangle-up.d.ts", - "go/unfold.d.ts", - "go/unmute.d.ts", - "go/versions.d.ts", - "go/x.d.ts", - "go/zap.d.ts", - "io/alert-circled.d.ts", - "io/alert.d.ts", - "io/android-add-circle.d.ts", - "io/android-add.d.ts", - "io/android-alarm-clock.d.ts", - "io/android-alert.d.ts", - "io/android-apps.d.ts", - "io/android-archive.d.ts", - "io/android-arrow-back.d.ts", - "io/android-arrow-down.d.ts", - "io/android-arrow-dropdown-circle.d.ts", - "io/android-arrow-dropdown.d.ts", - "io/android-arrow-dropleft-circle.d.ts", - "io/android-arrow-dropleft.d.ts", - "io/android-arrow-dropright-circle.d.ts", - "io/android-arrow-dropright.d.ts", - "io/android-arrow-dropup-circle.d.ts", - "io/android-arrow-dropup.d.ts", - "io/android-arrow-forward.d.ts", - "io/android-arrow-up.d.ts", - "io/android-attach.d.ts", - "io/android-bar.d.ts", - "io/android-bicycle.d.ts", - "io/android-boat.d.ts", - "io/android-bookmark.d.ts", - "io/android-bulb.d.ts", - "io/android-bus.d.ts", - "io/android-calendar.d.ts", - "io/android-call.d.ts", - "io/android-camera.d.ts", - "io/android-cancel.d.ts", - "io/android-car.d.ts", - "io/android-cart.d.ts", - "io/android-chat.d.ts", - "io/android-checkbox-blank.d.ts", - "io/android-checkbox-outline-blank.d.ts", - "io/android-checkbox-outline.d.ts", - "io/android-checkbox.d.ts", - "io/android-checkmark-circle.d.ts", - "io/android-clipboard.d.ts", - "io/android-close.d.ts", - "io/android-cloud-circle.d.ts", - "io/android-cloud-done.d.ts", - "io/android-cloud-outline.d.ts", - "io/android-cloud.d.ts", - "io/android-color-palette.d.ts", - "io/android-compass.d.ts", - "io/android-contact.d.ts", - "io/android-contacts.d.ts", - "io/android-contract.d.ts", - "io/android-create.d.ts", - "io/android-delete.d.ts", - "io/android-desktop.d.ts", - "io/android-document.d.ts", - "io/android-done-all.d.ts", - "io/android-done.d.ts", - "io/android-download.d.ts", - "io/android-drafts.d.ts", - "io/android-exit.d.ts", - "io/android-expand.d.ts", - "io/android-favorite-outline.d.ts", - "io/android-favorite.d.ts", - "io/android-film.d.ts", - "io/android-folder-open.d.ts", - "io/android-folder.d.ts", - "io/android-funnel.d.ts", - "io/android-globe.d.ts", - "io/android-hand.d.ts", - "io/android-hangout.d.ts", - "io/android-happy.d.ts", - "io/android-home.d.ts", - "io/android-image.d.ts", - "io/android-laptop.d.ts", - "io/android-list.d.ts", - "io/android-locate.d.ts", - "io/android-lock.d.ts", - "io/android-mail.d.ts", - "io/android-map.d.ts", - "io/android-menu.d.ts", - "io/android-microphone-off.d.ts", - "io/android-microphone.d.ts", - "io/android-more-horizontal.d.ts", - "io/android-more-vertical.d.ts", - "io/android-navigate.d.ts", - "io/android-notifications-none.d.ts", - "io/android-notifications-off.d.ts", - "io/android-notifications.d.ts", - "io/android-open.d.ts", - "io/android-options.d.ts", - "io/android-people.d.ts", - "io/android-person-add.d.ts", - "io/android-person.d.ts", - "io/android-phone-landscape.d.ts", - "io/android-phone-portrait.d.ts", - "io/android-pin.d.ts", - "io/android-plane.d.ts", - "io/android-playstore.d.ts", - "io/android-print.d.ts", - "io/android-radio-button-off.d.ts", - "io/android-radio-button-on.d.ts", - "io/android-refresh.d.ts", - "io/android-remove-circle.d.ts", - "io/android-remove.d.ts", - "io/android-restaurant.d.ts", - "io/android-sad.d.ts", - "io/android-search.d.ts", - "io/android-send.d.ts", - "io/android-settings.d.ts", - "io/android-share-alt.d.ts", - "io/android-share.d.ts", - "io/android-star-half.d.ts", - "io/android-star-outline.d.ts", - "io/android-star.d.ts", - "io/android-stopwatch.d.ts", - "io/android-subway.d.ts", - "io/android-sunny.d.ts", - "io/android-sync.d.ts", - "io/android-textsms.d.ts", - "io/android-time.d.ts", - "io/android-train.d.ts", - "io/android-unlock.d.ts", - "io/android-upload.d.ts", - "io/android-volume-down.d.ts", - "io/android-volume-mute.d.ts", - "io/android-volume-off.d.ts", - "io/android-volume-up.d.ts", - "io/android-walk.d.ts", - "io/android-warning.d.ts", - "io/android-watch.d.ts", - "io/android-wifi.d.ts", - "io/aperture.d.ts", - "io/archive.d.ts", - "io/arrow-down-a.d.ts", - "io/arrow-down-b.d.ts", - "io/arrow-down-c.d.ts", - "io/arrow-expand.d.ts", - "io/arrow-graph-down-left.d.ts", - "io/arrow-graph-down-right.d.ts", - "io/arrow-graph-up-left.d.ts", - "io/arrow-graph-up-right.d.ts", - "io/arrow-left-a.d.ts", - "io/arrow-left-b.d.ts", - "io/arrow-left-c.d.ts", - "io/arrow-move.d.ts", - "io/arrow-resize.d.ts", - "io/arrow-return-left.d.ts", - "io/arrow-return-right.d.ts", - "io/arrow-right-a.d.ts", - "io/arrow-right-b.d.ts", - "io/arrow-right-c.d.ts", - "io/arrow-shrink.d.ts", - "io/arrow-swap.d.ts", - "io/arrow-up-a.d.ts", - "io/arrow-up-b.d.ts", - "io/arrow-up-c.d.ts", - "io/asterisk.d.ts", - "io/at.d.ts", - "io/backspace-outline.d.ts", - "io/backspace.d.ts", - "io/bag.d.ts", - "io/battery-charging.d.ts", - "io/battery-empty.d.ts", - "io/battery-full.d.ts", - "io/battery-half.d.ts", - "io/battery-low.d.ts", - "io/beaker.d.ts", - "io/beer.d.ts", - "io/bluetooth.d.ts", - "io/bonfire.d.ts", - "io/bookmark.d.ts", - "io/bowtie.d.ts", - "io/briefcase.d.ts", - "io/bug.d.ts", - "io/calculator.d.ts", - "io/calendar.d.ts", - "io/camera.d.ts", - "io/card.d.ts", - "io/cash.d.ts", - "io/chatbox-working.d.ts", - "io/chatbox.d.ts", - "io/chatboxes.d.ts", - "io/chatbubble-working.d.ts", - "io/chatbubble.d.ts", - "io/chatbubbles.d.ts", - "io/checkmark-circled.d.ts", - "io/checkmark-round.d.ts", - "io/checkmark.d.ts", - "io/chevron-down.d.ts", - "io/chevron-left.d.ts", - "io/chevron-right.d.ts", - "io/chevron-up.d.ts", - "io/clipboard.d.ts", - "io/clock.d.ts", - "io/close-circled.d.ts", - "io/close-round.d.ts", - "io/close.d.ts", - "io/closed-captioning.d.ts", - "io/cloud.d.ts", - "io/code-download.d.ts", - "io/code-working.d.ts", - "io/code.d.ts", - "io/coffee.d.ts", - "io/compass.d.ts", - "io/compose.d.ts", - "io/connectbars.d.ts", - "io/contrast.d.ts", - "io/crop.d.ts", - "io/cube.d.ts", - "io/disc.d.ts", - "io/document-text.d.ts", - "io/document.d.ts", - "io/drag.d.ts", - "io/earth.d.ts", - "io/easel.d.ts", - "io/edit.d.ts", - "io/egg.d.ts", - "io/eject.d.ts", - "io/email-unread.d.ts", - "io/email.d.ts", - "io/erlenmeyer-flask-bubbles.d.ts", - "io/erlenmeyer-flask.d.ts", - "io/eye-disabled.d.ts", - "io/eye.d.ts", - "io/female.d.ts", - "io/filing.d.ts", - "io/film-marker.d.ts", - "io/fireball.d.ts", - "io/flag.d.ts", - "io/flame.d.ts", - "io/flash-off.d.ts", - "io/flash.d.ts", - "io/folder.d.ts", - "io/fork-repo.d.ts", - "io/fork.d.ts", - "io/forward.d.ts", - "io/funnel.d.ts", - "io/gear-a.d.ts", - "io/gear-b.d.ts", - "io/grid.d.ts", - "io/hammer.d.ts", - "io/happy-outline.d.ts", - "io/happy.d.ts", - "io/headphone.d.ts", - "io/heart-broken.d.ts", - "io/heart.d.ts", - "io/help-buoy.d.ts", - "io/help-circled.d.ts", - "io/help.d.ts", - "io/home.d.ts", - "io/icecream.d.ts", - "io/image.d.ts", - "io/images.d.ts", - "io/informatcircled.d.ts", - "io/information.d.ts", - "io/ionic.d.ts", - "io/ios-alarm-outline.d.ts", - "io/ios-alarm.d.ts", - "io/ios-albums-outline.d.ts", - "io/ios-albums.d.ts", - "io/ios-americanfootball-outline.d.ts", - "io/ios-americanfootball.d.ts", - "io/ios-analytics-outline.d.ts", - "io/ios-analytics.d.ts", - "io/ios-arrow-back.d.ts", - "io/ios-arrow-down.d.ts", - "io/ios-arrow-forward.d.ts", - "io/ios-arrow-left.d.ts", - "io/ios-arrow-right.d.ts", - "io/ios-arrow-thin-down.d.ts", - "io/ios-arrow-thin-left.d.ts", - "io/ios-arrow-thin-right.d.ts", - "io/ios-arrow-thin-up.d.ts", - "io/ios-arrow-up.d.ts", - "io/ios-at-outline.d.ts", - "io/ios-at.d.ts", - "io/ios-barcode-outline.d.ts", - "io/ios-barcode.d.ts", - "io/ios-baseball-outline.d.ts", - "io/ios-baseball.d.ts", - "io/ios-basketball-outline.d.ts", - "io/ios-basketball.d.ts", - "io/ios-bell-outline.d.ts", - "io/ios-bell.d.ts", - "io/ios-body-outline.d.ts", - "io/ios-body.d.ts", - "io/ios-bolt-outline.d.ts", - "io/ios-bolt.d.ts", - "io/ios-book-outline.d.ts", - "io/ios-book.d.ts", - "io/ios-bookmarks-outline.d.ts", - "io/ios-bookmarks.d.ts", - "io/ios-box-outline.d.ts", - "io/ios-box.d.ts", - "io/ios-briefcase-outline.d.ts", - "io/ios-briefcase.d.ts", - "io/ios-browsers-outline.d.ts", - "io/ios-browsers.d.ts", - "io/ios-calculator-outline.d.ts", - "io/ios-calculator.d.ts", - "io/ios-calendar-outline.d.ts", - "io/ios-calendar.d.ts", - "io/ios-camera-outline.d.ts", - "io/ios-camera.d.ts", - "io/ios-cart-outline.d.ts", - "io/ios-cart.d.ts", - "io/ios-chatboxes-outline.d.ts", - "io/ios-chatboxes.d.ts", - "io/ios-chatbubble-outline.d.ts", - "io/ios-chatbubble.d.ts", - "io/ios-checkmark-empty.d.ts", - "io/ios-checkmark-outline.d.ts", - "io/ios-checkmark.d.ts", - "io/ios-circle-filled.d.ts", - "io/ios-circle-outline.d.ts", - "io/ios-clock-outline.d.ts", - "io/ios-clock.d.ts", - "io/ios-close-empty.d.ts", - "io/ios-close-outline.d.ts", - "io/ios-close.d.ts", - "io/ios-cloud-download-outline.d.ts", - "io/ios-cloud-download.d.ts", - "io/ios-cloud-outline.d.ts", - "io/ios-cloud-upload-outline.d.ts", - "io/ios-cloud-upload.d.ts", - "io/ios-cloud.d.ts", - "io/ios-cloudy-night-outline.d.ts", - "io/ios-cloudy-night.d.ts", - "io/ios-cloudy-outline.d.ts", - "io/ios-cloudy.d.ts", - "io/ios-cog-outline.d.ts", - "io/ios-cog.d.ts", - "io/ios-color-filter-outline.d.ts", - "io/ios-color-filter.d.ts", - "io/ios-color-wand-outline.d.ts", - "io/ios-color-wand.d.ts", - "io/ios-compose-outline.d.ts", - "io/ios-compose.d.ts", - "io/ios-contact-outline.d.ts", - "io/ios-contact.d.ts", - "io/ios-copy-outline.d.ts", - "io/ios-copy.d.ts", - "io/ios-crop-strong.d.ts", - "io/ios-crop.d.ts", - "io/ios-download-outline.d.ts", - "io/ios-download.d.ts", - "io/ios-drag.d.ts", - "io/ios-email-outline.d.ts", - "io/ios-email.d.ts", - "io/ios-eye-outline.d.ts", - "io/ios-eye.d.ts", - "io/ios-fastforward-outline.d.ts", - "io/ios-fastforward.d.ts", - "io/ios-filing-outline.d.ts", - "io/ios-filing.d.ts", - "io/ios-film-outline.d.ts", - "io/ios-film.d.ts", - "io/ios-flag-outline.d.ts", - "io/ios-flag.d.ts", - "io/ios-flame-outline.d.ts", - "io/ios-flame.d.ts", - "io/ios-flask-outline.d.ts", - "io/ios-flask.d.ts", - "io/ios-flower-outline.d.ts", - "io/ios-flower.d.ts", - "io/ios-folder-outline.d.ts", - "io/ios-folder.d.ts", - "io/ios-football-outline.d.ts", - "io/ios-football.d.ts", - "io/ios-game-controller-a-outline.d.ts", - "io/ios-game-controller-a.d.ts", - "io/ios-game-controller-b-outline.d.ts", - "io/ios-game-controller-b.d.ts", - "io/ios-gear-outline.d.ts", - "io/ios-gear.d.ts", - "io/ios-glasses-outline.d.ts", - "io/ios-glasses.d.ts", - "io/ios-grid-view-outline.d.ts", - "io/ios-grid-view.d.ts", - "io/ios-heart-outline.d.ts", - "io/ios-heart.d.ts", - "io/ios-help-empty.d.ts", - "io/ios-help-outline.d.ts", - "io/ios-help.d.ts", - "io/ios-home-outline.d.ts", - "io/ios-home.d.ts", - "io/ios-infinite-outline.d.ts", - "io/ios-infinite.d.ts", - "io/ios-informatempty.d.ts", - "io/ios-information.d.ts", - "io/ios-informatoutline.d.ts", - "io/ios-ionic-outline.d.ts", - "io/ios-keypad-outline.d.ts", - "io/ios-keypad.d.ts", - "io/ios-lightbulb-outline.d.ts", - "io/ios-lightbulb.d.ts", - "io/ios-list-outline.d.ts", - "io/ios-list.d.ts", - "io/ios-location.d.ts", - "io/ios-locatoutline.d.ts", - "io/ios-locked-outline.d.ts", - "io/ios-locked.d.ts", - "io/ios-loop-strong.d.ts", - "io/ios-loop.d.ts", - "io/ios-medical-outline.d.ts", - "io/ios-medical.d.ts", - "io/ios-medkit-outline.d.ts", - "io/ios-medkit.d.ts", - "io/ios-mic-off.d.ts", - "io/ios-mic-outline.d.ts", - "io/ios-mic.d.ts", - "io/ios-minus-empty.d.ts", - "io/ios-minus-outline.d.ts", - "io/ios-minus.d.ts", - "io/ios-monitor-outline.d.ts", - "io/ios-monitor.d.ts", - "io/ios-moon-outline.d.ts", - "io/ios-moon.d.ts", - "io/ios-more-outline.d.ts", - "io/ios-more.d.ts", - "io/ios-musical-note.d.ts", - "io/ios-musical-notes.d.ts", - "io/ios-navigate-outline.d.ts", - "io/ios-navigate.d.ts", - "io/ios-nutrition.d.ts", - "io/ios-nutritoutline.d.ts", - "io/ios-paper-outline.d.ts", - "io/ios-paper.d.ts", - "io/ios-paperplane-outline.d.ts", - "io/ios-paperplane.d.ts", - "io/ios-partlysunny-outline.d.ts", - "io/ios-partlysunny.d.ts", - "io/ios-pause-outline.d.ts", - "io/ios-pause.d.ts", - "io/ios-paw-outline.d.ts", - "io/ios-paw.d.ts", - "io/ios-people-outline.d.ts", - "io/ios-people.d.ts", - "io/ios-person-outline.d.ts", - "io/ios-person.d.ts", - "io/ios-personadd-outline.d.ts", - "io/ios-personadd.d.ts", - "io/ios-photos-outline.d.ts", - "io/ios-photos.d.ts", - "io/ios-pie-outline.d.ts", - "io/ios-pie.d.ts", - "io/ios-pint-outline.d.ts", - "io/ios-pint.d.ts", - "io/ios-play-outline.d.ts", - "io/ios-play.d.ts", - "io/ios-plus-empty.d.ts", - "io/ios-plus-outline.d.ts", - "io/ios-plus.d.ts", - "io/ios-pricetag-outline.d.ts", - "io/ios-pricetag.d.ts", - "io/ios-pricetags-outline.d.ts", - "io/ios-pricetags.d.ts", - "io/ios-printer-outline.d.ts", - "io/ios-printer.d.ts", - "io/ios-pulse-strong.d.ts", - "io/ios-pulse.d.ts", - "io/ios-rainy-outline.d.ts", - "io/ios-rainy.d.ts", - "io/ios-recording-outline.d.ts", - "io/ios-recording.d.ts", - "io/ios-redo-outline.d.ts", - "io/ios-redo.d.ts", - "io/ios-refresh-empty.d.ts", - "io/ios-refresh-outline.d.ts", - "io/ios-refresh.d.ts", - "io/ios-reload.d.ts", - "io/ios-reverse-camera-outline.d.ts", - "io/ios-reverse-camera.d.ts", - "io/ios-rewind-outline.d.ts", - "io/ios-rewind.d.ts", - "io/ios-rose-outline.d.ts", - "io/ios-rose.d.ts", - "io/ios-search-strong.d.ts", - "io/ios-search.d.ts", - "io/ios-settings-strong.d.ts", - "io/ios-settings.d.ts", - "io/ios-shuffle-strong.d.ts", - "io/ios-shuffle.d.ts", - "io/ios-skipbackward-outline.d.ts", - "io/ios-skipbackward.d.ts", - "io/ios-skipforward-outline.d.ts", - "io/ios-skipforward.d.ts", - "io/ios-snowy.d.ts", - "io/ios-speedometer-outline.d.ts", - "io/ios-speedometer.d.ts", - "io/ios-star-half.d.ts", - "io/ios-star-outline.d.ts", - "io/ios-star.d.ts", - "io/ios-stopwatch-outline.d.ts", - "io/ios-stopwatch.d.ts", - "io/ios-sunny-outline.d.ts", - "io/ios-sunny.d.ts", - "io/ios-telephone-outline.d.ts", - "io/ios-telephone.d.ts", - "io/ios-tennisball-outline.d.ts", - "io/ios-tennisball.d.ts", - "io/ios-thunderstorm-outline.d.ts", - "io/ios-thunderstorm.d.ts", - "io/ios-time-outline.d.ts", - "io/ios-time.d.ts", - "io/ios-timer-outline.d.ts", - "io/ios-timer.d.ts", - "io/ios-toggle-outline.d.ts", - "io/ios-toggle.d.ts", - "io/ios-trash-outline.d.ts", - "io/ios-trash.d.ts", - "io/ios-undo-outline.d.ts", - "io/ios-undo.d.ts", - "io/ios-unlocked-outline.d.ts", - "io/ios-unlocked.d.ts", - "io/ios-upload-outline.d.ts", - "io/ios-upload.d.ts", - "io/ios-videocam-outline.d.ts", - "io/ios-videocam.d.ts", - "io/ios-volume-high.d.ts", - "io/ios-volume-low.d.ts", - "io/ios-wineglass-outline.d.ts", - "io/ios-wineglass.d.ts", - "io/ios-world-outline.d.ts", - "io/ios-world.d.ts", - "io/ipad.d.ts", - "io/iphone.d.ts", - "io/ipod.d.ts", - "io/jet.d.ts", - "io/key.d.ts", - "io/knife.d.ts", - "io/laptop.d.ts", - "io/leaf.d.ts", - "io/levels.d.ts", - "io/lightbulb.d.ts", - "io/link.d.ts", - "io/load-a.d.ts", - "io/load-b.d.ts", - "io/load-c.d.ts", - "io/load-d.d.ts", - "io/location.d.ts", - "io/lock-combination.d.ts", - "io/locked.d.ts", - "io/log-in.d.ts", - "io/log-out.d.ts", - "io/loop.d.ts", - "io/magnet.d.ts", - "io/male.d.ts", - "io/man.d.ts", - "io/map.d.ts", - "io/medkit.d.ts", - "io/merge.d.ts", - "io/mic-a.d.ts", - "io/mic-b.d.ts", - "io/mic-c.d.ts", - "io/minus-circled.d.ts", - "io/minus-round.d.ts", - "io/minus.d.ts", - "io/model-s.d.ts", - "io/monitor.d.ts", - "io/more.d.ts", - "io/mouse.d.ts", - "io/music-note.d.ts", - "io/navicon-round.d.ts", - "io/navicon.d.ts", - "io/navigate.d.ts", - "io/network.d.ts", - "io/no-smoking.d.ts", - "io/nuclear.d.ts", - "io/outlet.d.ts", - "io/paintbrush.d.ts", - "io/paintbucket.d.ts", - "io/paper-airplane.d.ts", - "io/paperclip.d.ts", - "io/pause.d.ts", - "io/person-add.d.ts", - "io/person-stalker.d.ts", - "io/person.d.ts", - "io/pie-graph.d.ts", - "io/pin.d.ts", - "io/pinpoint.d.ts", - "io/pizza.d.ts", - "io/plane.d.ts", - "io/planet.d.ts", - "io/play.d.ts", - "io/playstation.d.ts", - "io/plus-circled.d.ts", - "io/plus-round.d.ts", - "io/plus.d.ts", - "io/podium.d.ts", - "io/pound.d.ts", - "io/power.d.ts", - "io/pricetag.d.ts", - "io/pricetags.d.ts", - "io/printer.d.ts", - "io/pull-request.d.ts", - "io/qr-scanner.d.ts", - "io/quote.d.ts", - "io/radio-waves.d.ts", - "io/record.d.ts", - "io/refresh.d.ts", - "io/reply-all.d.ts", - "io/reply.d.ts", - "io/ribbon-a.d.ts", - "io/ribbon-b.d.ts", - "io/sad-outline.d.ts", - "io/sad.d.ts", - "io/scissors.d.ts", - "io/search.d.ts", - "io/settings.d.ts", - "io/share.d.ts", - "io/shuffle.d.ts", - "io/skip-backward.d.ts", - "io/skip-forward.d.ts", - "io/social-android-outline.d.ts", - "io/social-android.d.ts", - "io/social-angular-outline.d.ts", - "io/social-angular.d.ts", - "io/social-apple-outline.d.ts", - "io/social-apple.d.ts", - "io/social-bitcoin-outline.d.ts", - "io/social-bitcoin.d.ts", - "io/social-buffer-outline.d.ts", - "io/social-buffer.d.ts", - "io/social-chrome-outline.d.ts", - "io/social-chrome.d.ts", - "io/social-codepen-outline.d.ts", - "io/social-codepen.d.ts", - "io/social-css3-outline.d.ts", - "io/social-css3.d.ts", - "io/social-designernews-outline.d.ts", - "io/social-designernews.d.ts", - "io/social-dribbble-outline.d.ts", - "io/social-dribbble.d.ts", - "io/social-dropbox-outline.d.ts", - "io/social-dropbox.d.ts", - "io/social-euro-outline.d.ts", - "io/social-euro.d.ts", - "io/social-facebook-outline.d.ts", - "io/social-facebook.d.ts", - "io/social-foursquare-outline.d.ts", - "io/social-foursquare.d.ts", - "io/social-freebsd-devil.d.ts", - "io/social-github-outline.d.ts", - "io/social-github.d.ts", - "io/social-google-outline.d.ts", - "io/social-google.d.ts", - "io/social-googleplus-outline.d.ts", - "io/social-googleplus.d.ts", - "io/social-hackernews-outline.d.ts", - "io/social-hackernews.d.ts", - "io/social-html5-outline.d.ts", - "io/social-html5.d.ts", - "io/social-instagram-outline.d.ts", - "io/social-instagram.d.ts", - "io/social-javascript-outline.d.ts", - "io/social-javascript.d.ts", - "io/social-linkedin-outline.d.ts", - "io/social-linkedin.d.ts", - "io/social-markdown.d.ts", - "io/social-nodejs.d.ts", - "io/social-octocat.d.ts", - "io/social-pinterest-outline.d.ts", - "io/social-pinterest.d.ts", - "io/social-python.d.ts", - "io/social-reddit-outline.d.ts", - "io/social-reddit.d.ts", - "io/social-rss-outline.d.ts", - "io/social-rss.d.ts", - "io/social-sass.d.ts", - "io/social-skype-outline.d.ts", - "io/social-skype.d.ts", - "io/social-snapchat-outline.d.ts", - "io/social-snapchat.d.ts", - "io/social-tumblr-outline.d.ts", - "io/social-tumblr.d.ts", - "io/social-tux.d.ts", - "io/social-twitch-outline.d.ts", - "io/social-twitch.d.ts", - "io/social-twitter-outline.d.ts", - "io/social-twitter.d.ts", - "io/social-usd-outline.d.ts", - "io/social-usd.d.ts", - "io/social-vimeo-outline.d.ts", - "io/social-vimeo.d.ts", - "io/social-whatsapp-outline.d.ts", - "io/social-whatsapp.d.ts", - "io/social-windows-outline.d.ts", - "io/social-windows.d.ts", - "io/social-wordpress-outline.d.ts", - "io/social-wordpress.d.ts", - "io/social-yahoo-outline.d.ts", - "io/social-yahoo.d.ts", - "io/social-yen-outline.d.ts", - "io/social-yen.d.ts", - "io/social-youtube-outline.d.ts", - "io/social-youtube.d.ts", - "io/soup-can-outline.d.ts", - "io/soup-can.d.ts", - "io/speakerphone.d.ts", - "io/speedometer.d.ts", - "io/spoon.d.ts", - "io/star.d.ts", - "io/stats-bars.d.ts", - "io/steam.d.ts", - "io/stop.d.ts", - "io/thermometer.d.ts", - "io/thumbsdown.d.ts", - "io/thumbsup.d.ts", - "io/toggle-filled.d.ts", - "io/toggle.d.ts", - "io/transgender.d.ts", - "io/trash-a.d.ts", - "io/trash-b.d.ts", - "io/trophy.d.ts", - "io/tshirt-outline.d.ts", - "io/tshirt.d.ts", - "io/umbrella.d.ts", - "io/university.d.ts", - "io/unlocked.d.ts", - "io/upload.d.ts", - "io/usb.d.ts", - "io/videocamera.d.ts", - "io/volume-high.d.ts", - "io/volume-low.d.ts", - "io/volume-medium.d.ts", - "io/volume-mute.d.ts", - "io/wand.d.ts", - "io/waterdrop.d.ts", - "io/wifi.d.ts", - "io/wineglass.d.ts", - "io/woman.d.ts", - "io/wrench.d.ts", - "io/xbox.d.ts", - "md/3d-rotation.d.ts", - "md/ac-unit.d.ts", - "md/access-alarm.d.ts", - "md/access-alarms.d.ts", - "md/access-time.d.ts", - "md/accessibility.d.ts", - "md/accessible.d.ts", - "md/account-balance-wallet.d.ts", - "md/account-balance.d.ts", - "md/account-box.d.ts", - "md/account-circle.d.ts", - "md/adb.d.ts", - "md/add-a-photo.d.ts", - "md/add-alarm.d.ts", - "md/add-alert.d.ts", - "md/add-box.d.ts", - "md/add-circle-outline.d.ts", - "md/add-circle.d.ts", - "md/add-location.d.ts", - "md/add-shopping-cart.d.ts", - "md/add-to-photos.d.ts", - "md/add-to-queue.d.ts", - "md/add.d.ts", - "md/adjust.d.ts", - "md/airline-seat-flat-angled.d.ts", - "md/airline-seat-flat.d.ts", - "md/airline-seat-individual-suite.d.ts", - "md/airline-seat-legroom-extra.d.ts", - "md/airline-seat-legroom-normal.d.ts", - "md/airline-seat-legroom-reduced.d.ts", - "md/airline-seat-recline-extra.d.ts", - "md/airline-seat-recline-normal.d.ts", - "md/airplanemode-active.d.ts", - "md/airplanemode-inactive.d.ts", - "md/airplay.d.ts", - "md/airport-shuttle.d.ts", - "md/alarm-add.d.ts", - "md/alarm-off.d.ts", - "md/alarm-on.d.ts", - "md/alarm.d.ts", - "md/album.d.ts", - "md/all-inclusive.d.ts", - "md/all-out.d.ts", - "md/android.d.ts", - "md/announcement.d.ts", - "md/apps.d.ts", - "md/archive.d.ts", - "md/arrow-back.d.ts", - "md/arrow-downward.d.ts", - "md/arrow-drop-down-circle.d.ts", - "md/arrow-drop-down.d.ts", - "md/arrow-drop-up.d.ts", - "md/arrow-forward.d.ts", - "md/arrow-upward.d.ts", - "md/art-track.d.ts", - "md/aspect-ratio.d.ts", - "md/assessment.d.ts", - "md/assignment-ind.d.ts", - "md/assignment-late.d.ts", - "md/assignment-return.d.ts", - "md/assignment-returned.d.ts", - "md/assignment-turned-in.d.ts", - "md/assignment.d.ts", - "md/assistant-photo.d.ts", - "md/assistant.d.ts", - "md/attach-file.d.ts", - "md/attach-money.d.ts", - "md/attachment.d.ts", - "md/audiotrack.d.ts", - "md/autorenew.d.ts", - "md/av-timer.d.ts", - "md/backspace.d.ts", - "md/backup.d.ts", - "md/battery-alert.d.ts", - "md/battery-charging-full.d.ts", - "md/battery-full.d.ts", - "md/battery-std.d.ts", - "md/battery-unknown.d.ts", - "md/beach-access.d.ts", - "md/beenhere.d.ts", - "md/block.d.ts", - "md/bluetooth-audio.d.ts", - "md/bluetooth-connected.d.ts", - "md/bluetooth-disabled.d.ts", - "md/bluetooth-searching.d.ts", - "md/bluetooth.d.ts", - "md/blur-circular.d.ts", - "md/blur-linear.d.ts", - "md/blur-off.d.ts", - "md/blur-on.d.ts", - "md/book.d.ts", - "md/bookmark-outline.d.ts", - "md/bookmark.d.ts", - "md/border-all.d.ts", - "md/border-bottom.d.ts", - "md/border-clear.d.ts", - "md/border-color.d.ts", - "md/border-horizontal.d.ts", - "md/border-inner.d.ts", - "md/border-left.d.ts", - "md/border-outer.d.ts", - "md/border-right.d.ts", - "md/border-style.d.ts", - "md/border-top.d.ts", - "md/border-vertical.d.ts", - "md/branding-watermark.d.ts", - "md/brightness-1.d.ts", - "md/brightness-2.d.ts", - "md/brightness-3.d.ts", - "md/brightness-4.d.ts", - "md/brightness-5.d.ts", - "md/brightness-6.d.ts", - "md/brightness-7.d.ts", - "md/brightness-auto.d.ts", - "md/brightness-high.d.ts", - "md/brightness-low.d.ts", - "md/brightness-medium.d.ts", - "md/broken-image.d.ts", - "md/brush.d.ts", - "md/bubble-chart.d.ts", - "md/bug-report.d.ts", - "md/build.d.ts", - "md/burst-mode.d.ts", - "md/business-center.d.ts", - "md/business.d.ts", - "md/cached.d.ts", - "md/cake.d.ts", - "md/call-end.d.ts", - "md/call-made.d.ts", - "md/call-merge.d.ts", - "md/call-missed-outgoing.d.ts", - "md/call-missed.d.ts", - "md/call-received.d.ts", - "md/call-split.d.ts", - "md/call-to-action.d.ts", - "md/call.d.ts", - "md/camera-alt.d.ts", - "md/camera-enhance.d.ts", - "md/camera-front.d.ts", - "md/camera-rear.d.ts", - "md/camera-roll.d.ts", - "md/camera.d.ts", - "md/cancel.d.ts", - "md/card-giftcard.d.ts", - "md/card-membership.d.ts", - "md/card-travel.d.ts", - "md/casino.d.ts", - "md/cast-connected.d.ts", - "md/cast.d.ts", - "md/center-focus-strong.d.ts", - "md/center-focus-weak.d.ts", - "md/change-history.d.ts", - "md/chat-bubble-outline.d.ts", - "md/chat-bubble.d.ts", - "md/chat.d.ts", - "md/check-box-outline-blank.d.ts", - "md/check-box.d.ts", - "md/check-circle.d.ts", - "md/check.d.ts", - "md/chevron-left.d.ts", - "md/chevron-right.d.ts", - "md/child-care.d.ts", - "md/child-friendly.d.ts", - "md/chrome-reader-mode.d.ts", - "md/class.d.ts", - "md/clear-all.d.ts", - "md/clear.d.ts", - "md/close.d.ts", - "md/closed-caption.d.ts", - "md/cloud-circle.d.ts", - "md/cloud-done.d.ts", - "md/cloud-download.d.ts", - "md/cloud-off.d.ts", - "md/cloud-queue.d.ts", - "md/cloud-upload.d.ts", - "md/cloud.d.ts", - "md/code.d.ts", - "md/collections-bookmark.d.ts", - "md/collections.d.ts", - "md/color-lens.d.ts", - "md/colorize.d.ts", - "md/comment.d.ts", - "md/compare-arrows.d.ts", - "md/compare.d.ts", - "md/computer.d.ts", - "md/confirmation-number.d.ts", - "md/contact-mail.d.ts", - "md/contact-phone.d.ts", - "md/contacts.d.ts", - "md/content-copy.d.ts", - "md/content-cut.d.ts", - "md/content-paste.d.ts", - "md/control-point-duplicate.d.ts", - "md/control-point.d.ts", - "md/copyright.d.ts", - "md/create-new-folder.d.ts", - "md/create.d.ts", - "md/credit-card.d.ts", - "md/crop-16-9.d.ts", - "md/crop-3-2.d.ts", - "md/crop-5-4.d.ts", - "md/crop-7-5.d.ts", - "md/crop-din.d.ts", - "md/crop-free.d.ts", - "md/crop-landscape.d.ts", - "md/crop-original.d.ts", - "md/crop-portrait.d.ts", - "md/crop-rotate.d.ts", - "md/crop-square.d.ts", - "md/crop.d.ts", - "md/dashboard.d.ts", - "md/data-usage.d.ts", - "md/date-range.d.ts", - "md/dehaze.d.ts", - "md/delete-forever.d.ts", - "md/delete-sweep.d.ts", - "md/delete.d.ts", - "md/description.d.ts", - "md/desktop-mac.d.ts", - "md/desktop-windows.d.ts", - "md/details.d.ts", - "md/developer-board.d.ts", - "md/developer-mode.d.ts", - "md/device-hub.d.ts", - "md/devices-other.d.ts", - "md/devices.d.ts", - "md/dialer-sip.d.ts", - "md/dialpad.d.ts", - "md/directions-bike.d.ts", - "md/directions-boat.d.ts", - "md/directions-bus.d.ts", - "md/directions-car.d.ts", - "md/directions-ferry.d.ts", - "md/directions-railway.d.ts", - "md/directions-run.d.ts", - "md/directions-subway.d.ts", - "md/directions-transit.d.ts", - "md/directions-walk.d.ts", - "md/directions.d.ts", - "md/disc-full.d.ts", - "md/dns.d.ts", - "md/do-not-disturb-alt.d.ts", - "md/do-not-disturb-off.d.ts", - "md/do-not-disturb.d.ts", - "md/dock.d.ts", - "md/domain.d.ts", - "md/done-all.d.ts", - "md/done.d.ts", - "md/donut-large.d.ts", - "md/donut-small.d.ts", - "md/drafts.d.ts", - "md/drag-handle.d.ts", - "md/drive-eta.d.ts", - "md/dvr.d.ts", - "md/edit-location.d.ts", - "md/edit.d.ts", - "md/eject.d.ts", - "md/email.d.ts", - "md/enhanced-encryption.d.ts", - "md/equalizer.d.ts", - "md/error-outline.d.ts", - "md/error.d.ts", - "md/euro-symbol.d.ts", - "md/ev-station.d.ts", - "md/event-available.d.ts", - "md/event-busy.d.ts", - "md/event-note.d.ts", - "md/event-seat.d.ts", - "md/event.d.ts", - "md/exit-to-app.d.ts", - "md/expand-less.d.ts", - "md/expand-more.d.ts", - "md/explicit.d.ts", - "md/explore.d.ts", - "md/exposure-minus-1.d.ts", - "md/exposure-minus-2.d.ts", - "md/exposure-neg-1.d.ts", - "md/exposure-neg-2.d.ts", - "md/exposure-plus-1.d.ts", - "md/exposure-plus-2.d.ts", - "md/exposure-zero.d.ts", - "md/exposure.d.ts", - "md/extension.d.ts", - "md/face.d.ts", - "md/fast-forward.d.ts", - "md/fast-rewind.d.ts", - "md/favorite-border.d.ts", - "md/favorite-outline.d.ts", - "md/favorite.d.ts", - "md/featured-play-list.d.ts", - "md/featured-video.d.ts", - "md/feedback.d.ts", - "md/fiber-dvr.d.ts", - "md/fiber-manual-record.d.ts", - "md/fiber-new.d.ts", - "md/fiber-pin.d.ts", - "md/fiber-smart-record.d.ts", - "md/file-download.d.ts", - "md/file-upload.d.ts", - "md/filter-1.d.ts", - "md/filter-2.d.ts", - "md/filter-3.d.ts", - "md/filter-4.d.ts", - "md/filter-5.d.ts", - "md/filter-6.d.ts", - "md/filter-7.d.ts", - "md/filter-8.d.ts", - "md/filter-9-plus.d.ts", - "md/filter-9.d.ts", - "md/filter-b-and-w.d.ts", - "md/filter-center-focus.d.ts", - "md/filter-drama.d.ts", - "md/filter-frames.d.ts", - "md/filter-hdr.d.ts", - "md/filter-list.d.ts", - "md/filter-none.d.ts", - "md/filter-tilt-shift.d.ts", - "md/filter-vintage.d.ts", - "md/filter.d.ts", - "md/find-in-page.d.ts", - "md/find-replace.d.ts", - "md/fingerprint.d.ts", - "md/first-page.d.ts", - "md/fitness-center.d.ts", - "md/flag.d.ts", - "md/flare.d.ts", - "md/flash-auto.d.ts", - "md/flash-off.d.ts", - "md/flash-on.d.ts", - "md/flight-land.d.ts", - "md/flight-takeoff.d.ts", - "md/flight.d.ts", - "md/flip-to-back.d.ts", - "md/flip-to-front.d.ts", - "md/flip.d.ts", - "md/folder-open.d.ts", - "md/folder-shared.d.ts", - "md/folder-special.d.ts", - "md/folder.d.ts", - "md/font-download.d.ts", - "md/format-align-center.d.ts", - "md/format-align-justify.d.ts", - "md/format-align-left.d.ts", - "md/format-align-right.d.ts", - "md/format-bold.d.ts", - "md/format-clear.d.ts", - "md/format-color-fill.d.ts", - "md/format-color-reset.d.ts", - "md/format-color-text.d.ts", - "md/format-indent-decrease.d.ts", - "md/format-indent-increase.d.ts", - "md/format-italic.d.ts", - "md/format-line-spacing.d.ts", - "md/format-list-bulleted.d.ts", - "md/format-list-numbered.d.ts", - "md/format-paint.d.ts", - "md/format-quote.d.ts", - "md/format-shapes.d.ts", - "md/format-size.d.ts", - "md/format-strikethrough.d.ts", - "md/format-textdirection-l-to-r.d.ts", - "md/format-textdirection-r-to-l.d.ts", - "md/format-underlined.d.ts", - "md/forum.d.ts", - "md/forward-10.d.ts", - "md/forward-30.d.ts", - "md/forward-5.d.ts", - "md/forward.d.ts", - "md/free-breakfast.d.ts", - "md/fullscreen-exit.d.ts", - "md/fullscreen.d.ts", - "md/functions.d.ts", - "md/g-translate.d.ts", - "md/gamepad.d.ts", - "md/games.d.ts", - "md/gavel.d.ts", - "md/gesture.d.ts", - "md/get-app.d.ts", - "md/gif.d.ts", - "md/goat.d.ts", - "md/golf-course.d.ts", - "md/gps-fixed.d.ts", - "md/gps-not-fixed.d.ts", - "md/gps-off.d.ts", - "md/grade.d.ts", - "md/gradient.d.ts", - "md/grain.d.ts", - "md/graphic-eq.d.ts", - "md/grid-off.d.ts", - "md/grid-on.d.ts", - "md/group-add.d.ts", - "md/group-work.d.ts", - "md/group.d.ts", - "md/hd.d.ts", - "md/hdr-off.d.ts", - "md/hdr-on.d.ts", - "md/hdr-strong.d.ts", - "md/hdr-weak.d.ts", - "md/headset-mic.d.ts", - "md/headset.d.ts", - "md/healing.d.ts", - "md/hearing.d.ts", - "md/help-outline.d.ts", - "md/help.d.ts", - "md/high-quality.d.ts", - "md/highlight-off.d.ts", - "md/highlight-remove.d.ts", - "md/highlight.d.ts", - "md/history.d.ts", - "md/home.d.ts", - "md/hot-tub.d.ts", - "md/hotel.d.ts", - "md/hourglass-empty.d.ts", - "md/hourglass-full.d.ts", - "md/http.d.ts", - "md/https.d.ts", - "md/image-aspect-ratio.d.ts", - "md/image.d.ts", - "md/import-contacts.d.ts", - "md/import-export.d.ts", - "md/important-devices.d.ts", - "md/inbox.d.ts", - "md/indeterminate-check-box.d.ts", - "md/info-outline.d.ts", - "md/info.d.ts", - "md/input.d.ts", - "md/insert-chart.d.ts", - "md/insert-comment.d.ts", - "md/insert-drive-file.d.ts", - "md/insert-emoticon.d.ts", - "md/insert-invitation.d.ts", - "md/insert-link.d.ts", - "md/insert-photo.d.ts", - "md/invert-colors-off.d.ts", - "md/invert-colors-on.d.ts", - "md/invert-colors.d.ts", - "md/iso.d.ts", - "md/keyboard-arrow-down.d.ts", - "md/keyboard-arrow-left.d.ts", - "md/keyboard-arrow-right.d.ts", - "md/keyboard-arrow-up.d.ts", - "md/keyboard-backspace.d.ts", - "md/keyboard-capslock.d.ts", - "md/keyboard-control.d.ts", - "md/keyboard-hide.d.ts", - "md/keyboard-return.d.ts", - "md/keyboard-tab.d.ts", - "md/keyboard-voice.d.ts", - "md/keyboard.d.ts", - "md/kitchen.d.ts", - "md/label-outline.d.ts", - "md/label.d.ts", - "md/landscape.d.ts", - "md/language.d.ts", - "md/laptop-chromebook.d.ts", - "md/laptop-mac.d.ts", - "md/laptop-windows.d.ts", - "md/laptop.d.ts", - "md/last-page.d.ts", - "md/launch.d.ts", - "md/layers-clear.d.ts", - "md/layers.d.ts", - "md/leak-add.d.ts", - "md/leak-remove.d.ts", - "md/lens.d.ts", - "md/library-add.d.ts", - "md/library-books.d.ts", - "md/library-music.d.ts", - "md/lightbulb-outline.d.ts", - "md/line-style.d.ts", - "md/line-weight.d.ts", - "md/linear-scale.d.ts", - "md/link.d.ts", - "md/linked-camera.d.ts", - "md/list.d.ts", - "md/live-help.d.ts", - "md/live-tv.d.ts", - "md/local-airport.d.ts", - "md/local-atm.d.ts", - "md/local-attraction.d.ts", - "md/local-bar.d.ts", - "md/local-cafe.d.ts", - "md/local-car-wash.d.ts", - "md/local-convenience-store.d.ts", - "md/local-drink.d.ts", - "md/local-florist.d.ts", - "md/local-gas-station.d.ts", - "md/local-grocery-store.d.ts", - "md/local-hospital.d.ts", - "md/local-hotel.d.ts", - "md/local-laundry-service.d.ts", - "md/local-library.d.ts", - "md/local-mall.d.ts", - "md/local-movies.d.ts", - "md/local-offer.d.ts", - "md/local-parking.d.ts", - "md/local-pharmacy.d.ts", - "md/local-phone.d.ts", - "md/local-pizza.d.ts", - "md/local-play.d.ts", - "md/local-post-office.d.ts", - "md/local-print-shop.d.ts", - "md/local-restaurant.d.ts", - "md/local-see.d.ts", - "md/local-shipping.d.ts", - "md/local-taxi.d.ts", - "md/location-city.d.ts", - "md/location-disabled.d.ts", - "md/location-history.d.ts", - "md/location-off.d.ts", - "md/location-on.d.ts", - "md/location-searching.d.ts", - "md/lock-open.d.ts", - "md/lock-outline.d.ts", - "md/lock.d.ts", - "md/looks-3.d.ts", - "md/looks-4.d.ts", - "md/looks-5.d.ts", - "md/looks-6.d.ts", - "md/looks-one.d.ts", - "md/looks-two.d.ts", - "md/looks.d.ts", - "md/loop.d.ts", - "md/loupe.d.ts", - "md/low-priority.d.ts", - "md/loyalty.d.ts", - "md/mail-outline.d.ts", - "md/mail.d.ts", - "md/map.d.ts", - "md/markunread-mailbox.d.ts", - "md/markunread.d.ts", - "md/memory.d.ts", - "md/menu.d.ts", - "md/merge-type.d.ts", - "md/message.d.ts", - "md/mic-none.d.ts", - "md/mic-off.d.ts", - "md/mic.d.ts", - "md/mms.d.ts", - "md/mode-comment.d.ts", - "md/mode-edit.d.ts", - "md/monetization-on.d.ts", - "md/money-off.d.ts", - "md/monochrome-photos.d.ts", - "md/mood-bad.d.ts", - "md/mood.d.ts", - "md/more-horiz.d.ts", - "md/more-vert.d.ts", - "md/more.d.ts", - "md/motorcycle.d.ts", - "md/mouse.d.ts", - "md/move-to-inbox.d.ts", - "md/movie-creation.d.ts", - "md/movie-filter.d.ts", - "md/movie.d.ts", - "md/multiline-chart.d.ts", - "md/music-note.d.ts", - "md/music-video.d.ts", - "md/my-location.d.ts", - "md/nature-people.d.ts", - "md/nature.d.ts", - "md/navigate-before.d.ts", - "md/navigate-next.d.ts", - "md/navigation.d.ts", - "md/near-me.d.ts", - "md/network-cell.d.ts", - "md/network-check.d.ts", - "md/network-locked.d.ts", - "md/network-wifi.d.ts", - "md/new-releases.d.ts", - "md/next-week.d.ts", - "md/nfc.d.ts", - "md/no-encryption.d.ts", - "md/no-sim.d.ts", - "md/not-interested.d.ts", - "md/note-add.d.ts", - "md/note.d.ts", - "md/notifications-active.d.ts", - "md/notifications-none.d.ts", - "md/notifications-off.d.ts", - "md/notifications-paused.d.ts", - "md/notifications.d.ts", - "md/now-wallpaper.d.ts", - "md/now-widgets.d.ts", - "md/offline-pin.d.ts", - "md/ondemand-video.d.ts", - "md/opacity.d.ts", - "md/open-in-browser.d.ts", - "md/open-in-new.d.ts", - "md/open-with.d.ts", - "md/pages.d.ts", - "md/pageview.d.ts", - "md/palette.d.ts", - "md/pan-tool.d.ts", - "md/panorama-fish-eye.d.ts", - "md/panorama-horizontal.d.ts", - "md/panorama-vertical.d.ts", - "md/panorama-wide-angle.d.ts", - "md/panorama.d.ts", - "md/party-mode.d.ts", - "md/pause-circle-filled.d.ts", - "md/pause-circle-outline.d.ts", - "md/pause.d.ts", - "md/payment.d.ts", - "md/people-outline.d.ts", - "md/people.d.ts", - "md/perm-camera-mic.d.ts", - "md/perm-contact-calendar.d.ts", - "md/perm-data-setting.d.ts", - "md/perm-device-information.d.ts", - "md/perm-identity.d.ts", - "md/perm-media.d.ts", - "md/perm-phone-msg.d.ts", - "md/perm-scan-wifi.d.ts", - "md/person-add.d.ts", - "md/person-outline.d.ts", - "md/person-pin-circle.d.ts", - "md/person-pin.d.ts", - "md/person.d.ts", - "md/personal-video.d.ts", - "md/pets.d.ts", - "md/phone-android.d.ts", - "md/phone-bluetooth-speaker.d.ts", - "md/phone-forwarded.d.ts", - "md/phone-in-talk.d.ts", - "md/phone-iphone.d.ts", - "md/phone-locked.d.ts", - "md/phone-missed.d.ts", - "md/phone-paused.d.ts", - "md/phone.d.ts", - "md/phonelink-erase.d.ts", - "md/phonelink-lock.d.ts", - "md/phonelink-off.d.ts", - "md/phonelink-ring.d.ts", - "md/phonelink-setup.d.ts", - "md/phonelink.d.ts", - "md/photo-album.d.ts", - "md/photo-camera.d.ts", - "md/photo-filter.d.ts", - "md/photo-library.d.ts", - "md/photo-size-select-actual.d.ts", - "md/photo-size-select-large.d.ts", - "md/photo-size-select-small.d.ts", - "md/photo.d.ts", - "md/picture-as-pdf.d.ts", - "md/picture-in-picture-alt.d.ts", - "md/picture-in-picture.d.ts", - "md/pie-chart-outlined.d.ts", - "md/pie-chart.d.ts", - "md/pin-drop.d.ts", - "md/place.d.ts", - "md/play-arrow.d.ts", - "md/play-circle-filled.d.ts", - "md/play-circle-outline.d.ts", - "md/play-for-work.d.ts", - "md/playlist-add-check.d.ts", - "md/playlist-add.d.ts", - "md/playlist-play.d.ts", - "md/plus-one.d.ts", - "md/poll.d.ts", - "md/polymer.d.ts", - "md/pool.d.ts", - "md/portable-wifi-off.d.ts", - "md/portrait.d.ts", - "md/power-input.d.ts", - "md/power-settings-new.d.ts", - "md/power.d.ts", - "md/pregnant-woman.d.ts", - "md/present-to-all.d.ts", - "md/print.d.ts", - "md/priority-high.d.ts", - "md/public.d.ts", - "md/publish.d.ts", - "md/query-builder.d.ts", - "md/question-answer.d.ts", - "md/queue-music.d.ts", - "md/queue-play-next.d.ts", - "md/queue.d.ts", - "md/radio-button-checked.d.ts", - "md/radio-button-unchecked.d.ts", - "md/radio.d.ts", - "md/rate-review.d.ts", - "md/receipt.d.ts", - "md/recent-actors.d.ts", - "md/record-voice-over.d.ts", - "md/redeem.d.ts", - "md/redo.d.ts", - "md/refresh.d.ts", - "md/remove-circle-outline.d.ts", - "md/remove-circle.d.ts", - "md/remove-from-queue.d.ts", - "md/remove-red-eye.d.ts", - "md/remove-shopping-cart.d.ts", - "md/remove.d.ts", - "md/reorder.d.ts", - "md/repeat-one.d.ts", - "md/repeat.d.ts", - "md/replay-10.d.ts", - "md/replay-30.d.ts", - "md/replay-5.d.ts", - "md/replay.d.ts", - "md/reply-all.d.ts", - "md/reply.d.ts", - "md/report-problem.d.ts", - "md/report.d.ts", - "md/restaurant-menu.d.ts", - "md/restaurant.d.ts", - "md/restore-page.d.ts", - "md/restore.d.ts", - "md/ring-volume.d.ts", - "md/room-service.d.ts", - "md/room.d.ts", - "md/rotate-90-degrees-ccw.d.ts", - "md/rotate-left.d.ts", - "md/rotate-right.d.ts", - "md/rounded-corner.d.ts", - "md/router.d.ts", - "md/rowing.d.ts", - "md/rss-feed.d.ts", - "md/rv-hookup.d.ts", - "md/satellite.d.ts", - "md/save.d.ts", - "md/scanner.d.ts", - "md/schedule.d.ts", - "md/school.d.ts", - "md/screen-lock-landscape.d.ts", - "md/screen-lock-portrait.d.ts", - "md/screen-lock-rotation.d.ts", - "md/screen-rotation.d.ts", - "md/screen-share.d.ts", - "md/sd-card.d.ts", - "md/sd-storage.d.ts", - "md/search.d.ts", - "md/security.d.ts", - "md/select-all.d.ts", - "md/send.d.ts", - "md/sentiment-dissatisfied.d.ts", - "md/sentiment-neutral.d.ts", - "md/sentiment-satisfied.d.ts", - "md/sentiment-very-dissatisfied.d.ts", - "md/sentiment-very-satisfied.d.ts", - "md/settings-applications.d.ts", - "md/settings-backup-restore.d.ts", - "md/settings-bluetooth.d.ts", - "md/settings-brightness.d.ts", - "md/settings-cell.d.ts", - "md/settings-ethernet.d.ts", - "md/settings-input-antenna.d.ts", - "md/settings-input-component.d.ts", - "md/settings-input-composite.d.ts", - "md/settings-input-hdmi.d.ts", - "md/settings-input-svideo.d.ts", - "md/settings-overscan.d.ts", - "md/settings-phone.d.ts", - "md/settings-power.d.ts", - "md/settings-remote.d.ts", - "md/settings-system-daydream.d.ts", - "md/settings-voice.d.ts", - "md/settings.d.ts", - "md/share.d.ts", - "md/shop-two.d.ts", - "md/shop.d.ts", - "md/shopping-basket.d.ts", - "md/shopping-cart.d.ts", - "md/short-text.d.ts", - "md/show-chart.d.ts", - "md/shuffle.d.ts", - "md/signal-cellular-4-bar.d.ts", - "md/signal-cellular-connected-no-internet-4-bar.d.ts", - "md/signal-cellular-no-sim.d.ts", - "md/signal-cellular-null.d.ts", - "md/signal-cellular-off.d.ts", - "md/signal-wifi-4-bar-lock.d.ts", - "md/signal-wifi-4-bar.d.ts", - "md/signal-wifi-off.d.ts", - "md/sim-card-alert.d.ts", - "md/sim-card.d.ts", - "md/skip-next.d.ts", - "md/skip-previous.d.ts", - "md/slideshow.d.ts", - "md/slow-motion-video.d.ts", - "md/smartphone.d.ts", - "md/smoke-free.d.ts", - "md/smoking-rooms.d.ts", - "md/sms-failed.d.ts", - "md/sms.d.ts", - "md/snooze.d.ts", - "md/sort-by-alpha.d.ts", - "md/sort.d.ts", - "md/spa.d.ts", - "md/space-bar.d.ts", - "md/speaker-group.d.ts", - "md/speaker-notes-off.d.ts", - "md/speaker-notes.d.ts", - "md/speaker-phone.d.ts", - "md/speaker.d.ts", - "md/spellcheck.d.ts", - "md/star-border.d.ts", - "md/star-half.d.ts", - "md/star-outline.d.ts", - "md/star.d.ts", - "md/stars.d.ts", - "md/stay-current-landscape.d.ts", - "md/stay-current-portrait.d.ts", - "md/stay-primary-landscape.d.ts", - "md/stay-primary-portrait.d.ts", - "md/stop-screen-share.d.ts", - "md/stop.d.ts", - "md/storage.d.ts", - "md/store-mall-directory.d.ts", - "md/store.d.ts", - "md/straighten.d.ts", - "md/streetview.d.ts", - "md/strikethrough-s.d.ts", - "md/style.d.ts", - "md/subdirectory-arrow-left.d.ts", - "md/subdirectory-arrow-right.d.ts", - "md/subject.d.ts", - "md/subscriptions.d.ts", - "md/subtitles.d.ts", - "md/subway.d.ts", - "md/supervisor-account.d.ts", - "md/surround-sound.d.ts", - "md/swap-calls.d.ts", - "md/swap-horiz.d.ts", - "md/swap-vert.d.ts", - "md/swap-vertical-circle.d.ts", - "md/switch-camera.d.ts", - "md/switch-video.d.ts", - "md/sync-disabled.d.ts", - "md/sync-problem.d.ts", - "md/sync.d.ts", - "md/system-update-alt.d.ts", - "md/system-update.d.ts", - "md/tab-unselected.d.ts", - "md/tab.d.ts", - "md/tablet-android.d.ts", - "md/tablet-mac.d.ts", - "md/tablet.d.ts", - "md/tag-faces.d.ts", - "md/tap-and-play.d.ts", - "md/terrain.d.ts", - "md/text-fields.d.ts", - "md/text-format.d.ts", - "md/textsms.d.ts", - "md/texture.d.ts", - "md/theaters.d.ts", - "md/thumb-down.d.ts", - "md/thumb-up.d.ts", - "md/thumbs-up-down.d.ts", - "md/time-to-leave.d.ts", - "md/timelapse.d.ts", - "md/timeline.d.ts", - "md/timer-10.d.ts", - "md/timer-3.d.ts", - "md/timer-off.d.ts", - "md/timer.d.ts", - "md/title.d.ts", - "md/toc.d.ts", - "md/today.d.ts", - "md/toll.d.ts", - "md/tonality.d.ts", - "md/touch-app.d.ts", - "md/toys.d.ts", - "md/track-changes.d.ts", - "md/traffic.d.ts", - "md/train.d.ts", - "md/tram.d.ts", - "md/transfer-within-a-station.d.ts", - "md/transform.d.ts", - "md/translate.d.ts", - "md/trending-down.d.ts", - "md/trending-flat.d.ts", - "md/trending-neutral.d.ts", - "md/trending-up.d.ts", - "md/tune.d.ts", - "md/turned-in-not.d.ts", - "md/turned-in.d.ts", - "md/tv.d.ts", - "md/unarchive.d.ts", - "md/undo.d.ts", - "md/unfold-less.d.ts", - "md/unfold-more.d.ts", - "md/update.d.ts", - "md/usb.d.ts", - "md/verified-user.d.ts", - "md/vertical-align-bottom.d.ts", - "md/vertical-align-center.d.ts", - "md/vertical-align-top.d.ts", - "md/vibration.d.ts", - "md/video-call.d.ts", - "md/video-collection.d.ts", - "md/video-label.d.ts", - "md/video-library.d.ts", - "md/videocam-off.d.ts", - "md/videocam.d.ts", - "md/videogame-asset.d.ts", - "md/view-agenda.d.ts", - "md/view-array.d.ts", - "md/view-carousel.d.ts", - "md/view-column.d.ts", - "md/view-comfortable.d.ts", - "md/view-comfy.d.ts", - "md/view-compact.d.ts", - "md/view-day.d.ts", - "md/view-headline.d.ts", - "md/view-list.d.ts", - "md/view-module.d.ts", - "md/view-quilt.d.ts", - "md/view-stream.d.ts", - "md/view-week.d.ts", - "md/vignette.d.ts", - "md/visibility-off.d.ts", - "md/visibility.d.ts", - "md/voice-chat.d.ts", - "md/voicemail.d.ts", - "md/volume-down.d.ts", - "md/volume-mute.d.ts", - "md/volume-off.d.ts", - "md/volume-up.d.ts", - "md/vpn-key.d.ts", - "md/vpn-lock.d.ts", - "md/wallpaper.d.ts", - "md/warning.d.ts", - "md/watch-later.d.ts", - "md/watch.d.ts", - "md/wb-auto.d.ts", - "md/wb-cloudy.d.ts", - "md/wb-incandescent.d.ts", - "md/wb-iridescent.d.ts", - "md/wb-sunny.d.ts", - "md/wc.d.ts", - "md/web-asset.d.ts", - "md/web.d.ts", - "md/weekend.d.ts", - "md/whatshot.d.ts", - "md/widgets.d.ts", - "md/wifi-lock.d.ts", - "md/wifi-tethering.d.ts", - "md/wifi.d.ts", - "md/work.d.ts", - "md/wrap-text.d.ts", - "md/youtube-searched-for.d.ts", - "md/zoom-in.d.ts", - "md/zoom-out-map.d.ts", - "md/zoom-out.d.ts", - "ti/adjust-brightness.d.ts", - "ti/adjust-contrast.d.ts", - "ti/anchor-outline.d.ts", - "ti/anchor.d.ts", - "ti/archive.d.ts", - "ti/arrow-back-outline.d.ts", - "ti/arrow-back.d.ts", - "ti/arrow-down-outline.d.ts", - "ti/arrow-down-thick.d.ts", - "ti/arrow-down.d.ts", - "ti/arrow-forward-outline.d.ts", - "ti/arrow-forward.d.ts", - "ti/arrow-left-outline.d.ts", - "ti/arrow-left-thick.d.ts", - "ti/arrow-left.d.ts", - "ti/arrow-loop-outline.d.ts", - "ti/arrow-loop.d.ts", - "ti/arrow-maximise-outline.d.ts", - "ti/arrow-maximise.d.ts", - "ti/arrow-minimise-outline.d.ts", - "ti/arrow-minimise.d.ts", - "ti/arrow-move-outline.d.ts", - "ti/arrow-move.d.ts", - "ti/arrow-repeat-outline.d.ts", - "ti/arrow-repeat.d.ts", - "ti/arrow-right-outline.d.ts", - "ti/arrow-right-thick.d.ts", - "ti/arrow-right.d.ts", - "ti/arrow-shuffle.d.ts", - "ti/arrow-sorted-down.d.ts", - "ti/arrow-sorted-up.d.ts", - "ti/arrow-sync-outline.d.ts", - "ti/arrow-sync.d.ts", - "ti/arrow-unsorted.d.ts", - "ti/arrow-up-outline.d.ts", - "ti/arrow-up-thick.d.ts", - "ti/arrow-up.d.ts", - "ti/at.d.ts", - "ti/attachment-outline.d.ts", - "ti/attachment.d.ts", - "ti/backspace-outline.d.ts", - "ti/backspace.d.ts", - "ti/battery-charge.d.ts", - "ti/battery-full.d.ts", - "ti/battery-high.d.ts", - "ti/battery-low.d.ts", - "ti/battery-mid.d.ts", - "ti/beaker.d.ts", - "ti/beer.d.ts", - "ti/bell.d.ts", - "ti/book.d.ts", - "ti/bookmark.d.ts", - "ti/briefcase.d.ts", - "ti/brush.d.ts", - "ti/business-card.d.ts", - "ti/calculator.d.ts", - "ti/calendar-outline.d.ts", - "ti/calendar.d.ts", - "ti/calender-outline.d.ts", - "ti/calender.d.ts", - "ti/camera-outline.d.ts", - "ti/camera.d.ts", - "ti/cancel-outline.d.ts", - "ti/cancel.d.ts", - "ti/chart-area-outline.d.ts", - "ti/chart-area.d.ts", - "ti/chart-bar-outline.d.ts", - "ti/chart-bar.d.ts", - "ti/chart-line-outline.d.ts", - "ti/chart-line.d.ts", - "ti/chart-pie-outline.d.ts", - "ti/chart-pie.d.ts", - "ti/chevron-left-outline.d.ts", - "ti/chevron-left.d.ts", - "ti/chevron-right-outline.d.ts", - "ti/chevron-right.d.ts", - "ti/clipboard.d.ts", - "ti/cloud-storage-outline.d.ts", - "ti/cloud-storage.d.ts", - "ti/code-outline.d.ts", - "ti/code.d.ts", - "ti/coffee.d.ts", - "ti/cog-outline.d.ts", - "ti/cog.d.ts", - "ti/compass.d.ts", - "ti/contacts.d.ts", - "ti/credit-card.d.ts", - "ti/cross.d.ts", - "ti/css3.d.ts", - "ti/database.d.ts", - "ti/delete-outline.d.ts", - "ti/delete.d.ts", - "ti/device-desktop.d.ts", - "ti/device-laptop.d.ts", - "ti/device-phone.d.ts", - "ti/device-tablet.d.ts", - "ti/directions.d.ts", - "ti/divide-outline.d.ts", - "ti/divide.d.ts", - "ti/document-add.d.ts", - "ti/document-delete.d.ts", - "ti/document-text.d.ts", - "ti/document.d.ts", - "ti/download-outline.d.ts", - "ti/download.d.ts", - "ti/dropbox.d.ts", - "ti/edit.d.ts", - "ti/eject-outline.d.ts", - "ti/eject.d.ts", - "ti/equals-outline.d.ts", - "ti/equals.d.ts", - "ti/export-outline.d.ts", - "ti/export.d.ts", - "ti/eye-outline.d.ts", - "ti/eye.d.ts", - "ti/feather.d.ts", - "ti/film.d.ts", - "ti/filter.d.ts", - "ti/flag-outline.d.ts", - "ti/flag.d.ts", - "ti/flash-outline.d.ts", - "ti/flash.d.ts", - "ti/flow-children.d.ts", - "ti/flow-merge.d.ts", - "ti/flow-parallel.d.ts", - "ti/flow-switch.d.ts", - "ti/folder-add.d.ts", - "ti/folder-delete.d.ts", - "ti/folder-open.d.ts", - "ti/folder.d.ts", - "ti/gift.d.ts", - "ti/globe-outline.d.ts", - "ti/globe.d.ts", - "ti/group-outline.d.ts", - "ti/group.d.ts", - "ti/headphones.d.ts", - "ti/heart-full-outline.d.ts", - "ti/heart-half-outline.d.ts", - "ti/heart-outline.d.ts", - "ti/heart.d.ts", - "ti/home-outline.d.ts", - "ti/home.d.ts", - "ti/html5.d.ts", - "ti/image-outline.d.ts", - "ti/image.d.ts", - "ti/infinity-outline.d.ts", - "ti/infinity.d.ts", - "ti/info-large-outline.d.ts", - "ti/info-large.d.ts", - "ti/info-outline.d.ts", - "ti/info.d.ts", - "ti/input-checked-outline.d.ts", - "ti/input-checked.d.ts", - "ti/key-outline.d.ts", - "ti/key.d.ts", - "ti/keyboard.d.ts", - "ti/leaf.d.ts", - "ti/lightbulb.d.ts", - "ti/link-outline.d.ts", - "ti/link.d.ts", - "ti/location-arrow-outline.d.ts", - "ti/location-arrow.d.ts", - "ti/location-outline.d.ts", - "ti/location.d.ts", - "ti/lock-closed-outline.d.ts", - "ti/lock-closed.d.ts", - "ti/lock-open-outline.d.ts", - "ti/lock-open.d.ts", - "ti/mail.d.ts", - "ti/map.d.ts", - "ti/media-eject-outline.d.ts", - "ti/media-eject.d.ts", - "ti/media-fast-forward-outline.d.ts", - "ti/media-fast-forward.d.ts", - "ti/media-pause-outline.d.ts", - "ti/media-pause.d.ts", - "ti/media-play-outline.d.ts", - "ti/media-play-reverse-outline.d.ts", - "ti/media-play-reverse.d.ts", - "ti/media-play.d.ts", - "ti/media-record-outline.d.ts", - "ti/media-record.d.ts", - "ti/media-rewind-outline.d.ts", - "ti/media-rewind.d.ts", - "ti/media-stop-outline.d.ts", - "ti/media-stop.d.ts", - "ti/message-typing.d.ts", - "ti/message.d.ts", - "ti/messages.d.ts", - "ti/microphone-outline.d.ts", - "ti/microphone.d.ts", - "ti/minus-outline.d.ts", - "ti/minus.d.ts", - "ti/mortar-board.d.ts", - "ti/news.d.ts", - "ti/notes-outline.d.ts", - "ti/notes.d.ts", - "ti/pen.d.ts", - "ti/pencil.d.ts", - "ti/phone-outline.d.ts", - "ti/phone.d.ts", - "ti/pi-outline.d.ts", - "ti/pi.d.ts", - "ti/pin-outline.d.ts", - "ti/pin.d.ts", - "ti/pipette.d.ts", - "ti/plane-outline.d.ts", - "ti/plane.d.ts", - "ti/plug.d.ts", - "ti/plus-outline.d.ts", - "ti/plus.d.ts", - "ti/point-of-interest-outline.d.ts", - "ti/point-of-interest.d.ts", - "ti/power-outline.d.ts", - "ti/power.d.ts", - "ti/printer.d.ts", - "ti/puzzle-outline.d.ts", - "ti/puzzle.d.ts", - "ti/radar-outline.d.ts", - "ti/radar.d.ts", - "ti/refresh-outline.d.ts", - "ti/refresh.d.ts", - "ti/rss-outline.d.ts", - "ti/rss.d.ts", - "ti/scissors-outline.d.ts", - "ti/scissors.d.ts", - "ti/shopping-bag.d.ts", - "ti/shopping-cart.d.ts", - "ti/social-at-circular.d.ts", - "ti/social-dribbble-circular.d.ts", - "ti/social-dribbble.d.ts", - "ti/social-facebook-circular.d.ts", - "ti/social-facebook.d.ts", - "ti/social-flickr-circular.d.ts", - "ti/social-flickr.d.ts", - "ti/social-github-circular.d.ts", - "ti/social-github.d.ts", - "ti/social-google-plus-circular.d.ts", - "ti/social-google-plus.d.ts", - "ti/social-instagram-circular.d.ts", - "ti/social-instagram.d.ts", - "ti/social-last-fm-circular.d.ts", - "ti/social-last-fm.d.ts", - "ti/social-linkedin-circular.d.ts", - "ti/social-linkedin.d.ts", - "ti/social-pinterest-circular.d.ts", - "ti/social-pinterest.d.ts", - "ti/social-skype-outline.d.ts", - "ti/social-skype.d.ts", - "ti/social-tumbler-circular.d.ts", - "ti/social-tumbler.d.ts", - "ti/social-twitter-circular.d.ts", - "ti/social-twitter.d.ts", - "ti/social-vimeo-circular.d.ts", - "ti/social-vimeo.d.ts", - "ti/social-youtube-circular.d.ts", - "ti/social-youtube.d.ts", - "ti/sort-alphabetically-outline.d.ts", - "ti/sort-alphabetically.d.ts", - "ti/sort-numerically-outline.d.ts", - "ti/sort-numerically.d.ts", - "ti/spanner-outline.d.ts", - "ti/spanner.d.ts", - "ti/spiral.d.ts", - "ti/star-full-outline.d.ts", - "ti/star-half-outline.d.ts", - "ti/star-half.d.ts", - "ti/star-outline.d.ts", - "ti/star.d.ts", - "ti/starburst-outline.d.ts", - "ti/starburst.d.ts", - "ti/stopwatch.d.ts", - "ti/support.d.ts", - "ti/tabs-outline.d.ts", - "ti/tag.d.ts", - "ti/tags.d.ts", - "ti/th-large-outline.d.ts", - "ti/th-large.d.ts", - "ti/th-list-outline.d.ts", - "ti/th-list.d.ts", - "ti/th-menu-outline.d.ts", - "ti/th-menu.d.ts", - "ti/th-small-outline.d.ts", - "ti/th-small.d.ts", - "ti/thermometer.d.ts", - "ti/thumbs-down.d.ts", - "ti/thumbs-ok.d.ts", - "ti/thumbs-up.d.ts", - "ti/tick-outline.d.ts", - "ti/tick.d.ts", - "ti/ticket.d.ts", - "ti/time.d.ts", - "ti/times-outline.d.ts", - "ti/times.d.ts", - "ti/trash.d.ts", - "ti/tree.d.ts", - "ti/upload-outline.d.ts", - "ti/upload.d.ts", - "ti/user-add-outline.d.ts", - "ti/user-add.d.ts", - "ti/user-delete-outline.d.ts", - "ti/user-delete.d.ts", - "ti/user-outline.d.ts", - "ti/user.d.ts", - "ti/vendor-android.d.ts", - "ti/vendor-apple.d.ts", - "ti/vendor-microsoft.d.ts", - "ti/video-outline.d.ts", - "ti/video.d.ts", - "ti/volume-down.d.ts", - "ti/volume-mute.d.ts", - "ti/volume-up.d.ts", - "ti/volume.d.ts", - "ti/warning-outline.d.ts", - "ti/warning.d.ts", - "ti/watch.d.ts", - "ti/waves-outline.d.ts", - "ti/waves.d.ts", - "ti/weather-cloudy.d.ts", - "ti/weather-downpour.d.ts", - "ti/weather-night.d.ts", - "ti/weather-partly-sunny.d.ts", - "ti/weather-shower.d.ts", - "ti/weather-snow.d.ts", - "ti/weather-stormy.d.ts", - "ti/weather-sunny.d.ts", - "ti/weather-windy-cloudy.d.ts", - "ti/weather-windy.d.ts", - "ti/wi-fi-outline.d.ts", - "ti/wi-fi.d.ts", - "ti/wine.d.ts", - "ti/world-outline.d.ts", - "ti/world.d.ts", - "ti/zoom-in-outline.d.ts", - "ti/zoom-in.d.ts", - "ti/zoom-out-outline.d.ts", - "ti/zoom-out.d.ts", - "ti/zoom-outline.d.ts", - "ti/zoom.d.ts", - "lib/fa/index.d.ts", - "lib/go/index.d.ts", - "lib/io/index.d.ts", - "lib/md/index.d.ts", - "lib/ti/index.d.ts", - "lib/fa/500px.d.ts", - "lib/fa/adjust.d.ts", - "lib/fa/adn.d.ts", - "lib/fa/align-center.d.ts", - "lib/fa/align-justify.d.ts", - "lib/fa/align-left.d.ts", - "lib/fa/align-right.d.ts", - "lib/fa/amazon.d.ts", - "lib/fa/ambulance.d.ts", - "lib/fa/american-sign-language-interpreting.d.ts", - "lib/fa/anchor.d.ts", - "lib/fa/android.d.ts", - "lib/fa/angellist.d.ts", - "lib/fa/angle-double-down.d.ts", - "lib/fa/angle-double-left.d.ts", - "lib/fa/angle-double-right.d.ts", - "lib/fa/angle-double-up.d.ts", - "lib/fa/angle-down.d.ts", - "lib/fa/angle-left.d.ts", - "lib/fa/angle-right.d.ts", - "lib/fa/angle-up.d.ts", - "lib/fa/apple.d.ts", - "lib/fa/archive.d.ts", - "lib/fa/area-chart.d.ts", - "lib/fa/arrow-circle-down.d.ts", - "lib/fa/arrow-circle-left.d.ts", - "lib/fa/arrow-circle-o-down.d.ts", - "lib/fa/arrow-circle-o-left.d.ts", - "lib/fa/arrow-circle-o-right.d.ts", - "lib/fa/arrow-circle-o-up.d.ts", - "lib/fa/arrow-circle-right.d.ts", - "lib/fa/arrow-circle-up.d.ts", - "lib/fa/arrow-down.d.ts", - "lib/fa/arrow-left.d.ts", - "lib/fa/arrow-right.d.ts", - "lib/fa/arrow-up.d.ts", - "lib/fa/arrows-alt.d.ts", - "lib/fa/arrows-h.d.ts", - "lib/fa/arrows-v.d.ts", - "lib/fa/arrows.d.ts", - "lib/fa/assistive-listening-systems.d.ts", - "lib/fa/asterisk.d.ts", - "lib/fa/at.d.ts", - "lib/fa/audio-description.d.ts", - "lib/fa/automobile.d.ts", - "lib/fa/backward.d.ts", - "lib/fa/balance-scale.d.ts", - "lib/fa/ban.d.ts", - "lib/fa/bank.d.ts", - "lib/fa/bar-chart.d.ts", - "lib/fa/barcode.d.ts", - "lib/fa/bars.d.ts", - "lib/fa/battery-0.d.ts", - "lib/fa/battery-1.d.ts", - "lib/fa/battery-2.d.ts", - "lib/fa/battery-3.d.ts", - "lib/fa/battery-4.d.ts", - "lib/fa/bed.d.ts", - "lib/fa/beer.d.ts", - "lib/fa/behance-square.d.ts", - "lib/fa/behance.d.ts", - "lib/fa/bell-o.d.ts", - "lib/fa/bell-slash-o.d.ts", - "lib/fa/bell-slash.d.ts", - "lib/fa/bell.d.ts", - "lib/fa/bicycle.d.ts", - "lib/fa/binoculars.d.ts", - "lib/fa/birthday-cake.d.ts", - "lib/fa/bitbucket-square.d.ts", - "lib/fa/bitbucket.d.ts", - "lib/fa/bitcoin.d.ts", - "lib/fa/black-tie.d.ts", - "lib/fa/blind.d.ts", - "lib/fa/bluetooth-b.d.ts", - "lib/fa/bluetooth.d.ts", - "lib/fa/bold.d.ts", - "lib/fa/bolt.d.ts", - "lib/fa/bomb.d.ts", - "lib/fa/book.d.ts", - "lib/fa/bookmark-o.d.ts", - "lib/fa/bookmark.d.ts", - "lib/fa/braille.d.ts", - "lib/fa/briefcase.d.ts", - "lib/fa/bug.d.ts", - "lib/fa/building-o.d.ts", - "lib/fa/building.d.ts", - "lib/fa/bullhorn.d.ts", - "lib/fa/bullseye.d.ts", - "lib/fa/bus.d.ts", - "lib/fa/buysellads.d.ts", - "lib/fa/cab.d.ts", - "lib/fa/calculator.d.ts", - "lib/fa/calendar-check-o.d.ts", - "lib/fa/calendar-minus-o.d.ts", - "lib/fa/calendar-o.d.ts", - "lib/fa/calendar-plus-o.d.ts", - "lib/fa/calendar-times-o.d.ts", - "lib/fa/calendar.d.ts", - "lib/fa/camera-retro.d.ts", - "lib/fa/camera.d.ts", - "lib/fa/caret-down.d.ts", - "lib/fa/caret-left.d.ts", - "lib/fa/caret-right.d.ts", - "lib/fa/caret-square-o-down.d.ts", - "lib/fa/caret-square-o-left.d.ts", - "lib/fa/caret-square-o-right.d.ts", - "lib/fa/caret-square-o-up.d.ts", - "lib/fa/caret-up.d.ts", - "lib/fa/cart-arrow-down.d.ts", - "lib/fa/cart-plus.d.ts", - "lib/fa/cc-amex.d.ts", - "lib/fa/cc-diners-club.d.ts", - "lib/fa/cc-discover.d.ts", - "lib/fa/cc-jcb.d.ts", - "lib/fa/cc-mastercard.d.ts", - "lib/fa/cc-paypal.d.ts", - "lib/fa/cc-stripe.d.ts", - "lib/fa/cc-visa.d.ts", - "lib/fa/cc.d.ts", - "lib/fa/certificate.d.ts", - "lib/fa/chain-broken.d.ts", - "lib/fa/chain.d.ts", - "lib/fa/check-circle-o.d.ts", - "lib/fa/check-circle.d.ts", - "lib/fa/check-square-o.d.ts", - "lib/fa/check-square.d.ts", - "lib/fa/check.d.ts", - "lib/fa/chevron-circle-down.d.ts", - "lib/fa/chevron-circle-left.d.ts", - "lib/fa/chevron-circle-right.d.ts", - "lib/fa/chevron-circle-up.d.ts", - "lib/fa/chevron-down.d.ts", - "lib/fa/chevron-left.d.ts", - "lib/fa/chevron-right.d.ts", - "lib/fa/chevron-up.d.ts", - "lib/fa/child.d.ts", - "lib/fa/chrome.d.ts", - "lib/fa/circle-o-notch.d.ts", - "lib/fa/circle-o.d.ts", - "lib/fa/circle-thin.d.ts", - "lib/fa/circle.d.ts", - "lib/fa/clipboard.d.ts", - "lib/fa/clock-o.d.ts", - "lib/fa/clone.d.ts", - "lib/fa/close.d.ts", - "lib/fa/cloud-download.d.ts", - "lib/fa/cloud-upload.d.ts", - "lib/fa/cloud.d.ts", - "lib/fa/cny.d.ts", - "lib/fa/code-fork.d.ts", - "lib/fa/code.d.ts", - "lib/fa/codepen.d.ts", - "lib/fa/codiepie.d.ts", - "lib/fa/coffee.d.ts", - "lib/fa/cog.d.ts", - "lib/fa/cogs.d.ts", - "lib/fa/columns.d.ts", - "lib/fa/comment-o.d.ts", - "lib/fa/comment.d.ts", - "lib/fa/commenting-o.d.ts", - "lib/fa/commenting.d.ts", - "lib/fa/comments-o.d.ts", - "lib/fa/comments.d.ts", - "lib/fa/compass.d.ts", - "lib/fa/compress.d.ts", - "lib/fa/connectdevelop.d.ts", - "lib/fa/contao.d.ts", - "lib/fa/copy.d.ts", - "lib/fa/copyright.d.ts", - "lib/fa/creative-commons.d.ts", - "lib/fa/credit-card-alt.d.ts", - "lib/fa/credit-card.d.ts", - "lib/fa/crop.d.ts", - "lib/fa/crosshairs.d.ts", - "lib/fa/css3.d.ts", - "lib/fa/cube.d.ts", - "lib/fa/cubes.d.ts", - "lib/fa/cut.d.ts", - "lib/fa/cutlery.d.ts", - "lib/fa/dashboard.d.ts", - "lib/fa/dashcube.d.ts", - "lib/fa/database.d.ts", - "lib/fa/deaf.d.ts", - "lib/fa/dedent.d.ts", - "lib/fa/delicious.d.ts", - "lib/fa/desktop.d.ts", - "lib/fa/deviantart.d.ts", - "lib/fa/diamond.d.ts", - "lib/fa/digg.d.ts", - "lib/fa/dollar.d.ts", - "lib/fa/dot-circle-o.d.ts", - "lib/fa/download.d.ts", - "lib/fa/dribbble.d.ts", - "lib/fa/dropbox.d.ts", - "lib/fa/drupal.d.ts", - "lib/fa/edge.d.ts", - "lib/fa/edit.d.ts", - "lib/fa/eject.d.ts", - "lib/fa/ellipsis-h.d.ts", - "lib/fa/ellipsis-v.d.ts", - "lib/fa/empire.d.ts", - "lib/fa/envelope-o.d.ts", - "lib/fa/envelope-square.d.ts", - "lib/fa/envelope.d.ts", - "lib/fa/envira.d.ts", - "lib/fa/eraser.d.ts", - "lib/fa/eur.d.ts", - "lib/fa/exchange.d.ts", - "lib/fa/exclamation-circle.d.ts", - "lib/fa/exclamation-triangle.d.ts", - "lib/fa/exclamation.d.ts", - "lib/fa/expand.d.ts", - "lib/fa/expeditedssl.d.ts", - "lib/fa/external-link-square.d.ts", - "lib/fa/external-link.d.ts", - "lib/fa/eye-slash.d.ts", - "lib/fa/eye.d.ts", - "lib/fa/eyedropper.d.ts", - "lib/fa/facebook-official.d.ts", - "lib/fa/facebook-square.d.ts", - "lib/fa/facebook.d.ts", - "lib/fa/fast-backward.d.ts", - "lib/fa/fast-forward.d.ts", - "lib/fa/fax.d.ts", - "lib/fa/feed.d.ts", - "lib/fa/female.d.ts", - "lib/fa/fighter-jet.d.ts", - "lib/fa/file-archive-o.d.ts", - "lib/fa/file-audio-o.d.ts", - "lib/fa/file-code-o.d.ts", - "lib/fa/file-excel-o.d.ts", - "lib/fa/file-image-o.d.ts", - "lib/fa/file-movie-o.d.ts", - "lib/fa/file-o.d.ts", - "lib/fa/file-pdf-o.d.ts", - "lib/fa/file-powerpoint-o.d.ts", - "lib/fa/file-text-o.d.ts", - "lib/fa/file-text.d.ts", - "lib/fa/file-word-o.d.ts", - "lib/fa/file.d.ts", - "lib/fa/film.d.ts", - "lib/fa/filter.d.ts", - "lib/fa/fire-extinguisher.d.ts", - "lib/fa/fire.d.ts", - "lib/fa/firefox.d.ts", - "lib/fa/flag-checkered.d.ts", - "lib/fa/flag-o.d.ts", - "lib/fa/flag.d.ts", - "lib/fa/flask.d.ts", - "lib/fa/flickr.d.ts", - "lib/fa/floppy-o.d.ts", - "lib/fa/folder-o.d.ts", - "lib/fa/folder-open-o.d.ts", - "lib/fa/folder-open.d.ts", - "lib/fa/folder.d.ts", - "lib/fa/font.d.ts", - "lib/fa/fonticons.d.ts", - "lib/fa/fort-awesome.d.ts", - "lib/fa/forumbee.d.ts", - "lib/fa/forward.d.ts", - "lib/fa/foursquare.d.ts", - "lib/fa/frown-o.d.ts", - "lib/fa/futbol-o.d.ts", - "lib/fa/gamepad.d.ts", - "lib/fa/gavel.d.ts", - "lib/fa/gbp.d.ts", - "lib/fa/genderless.d.ts", - "lib/fa/get-pocket.d.ts", - "lib/fa/gg-circle.d.ts", - "lib/fa/gg.d.ts", - "lib/fa/gift.d.ts", - "lib/fa/git-square.d.ts", - "lib/fa/git.d.ts", - "lib/fa/github-alt.d.ts", - "lib/fa/github-square.d.ts", - "lib/fa/github.d.ts", - "lib/fa/gitlab.d.ts", - "lib/fa/gittip.d.ts", - "lib/fa/glass.d.ts", - "lib/fa/glide-g.d.ts", - "lib/fa/glide.d.ts", - "lib/fa/globe.d.ts", - "lib/fa/google-plus-square.d.ts", - "lib/fa/google-plus.d.ts", - "lib/fa/google-wallet.d.ts", - "lib/fa/google.d.ts", - "lib/fa/graduation-cap.d.ts", - "lib/fa/group.d.ts", - "lib/fa/h-square.d.ts", - "lib/fa/hacker-news.d.ts", - "lib/fa/hand-grab-o.d.ts", - "lib/fa/hand-lizard-o.d.ts", - "lib/fa/hand-o-down.d.ts", - "lib/fa/hand-o-left.d.ts", - "lib/fa/hand-o-right.d.ts", - "lib/fa/hand-o-up.d.ts", - "lib/fa/hand-paper-o.d.ts", - "lib/fa/hand-peace-o.d.ts", - "lib/fa/hand-pointer-o.d.ts", - "lib/fa/hand-scissors-o.d.ts", - "lib/fa/hand-spock-o.d.ts", - "lib/fa/hashtag.d.ts", - "lib/fa/hdd-o.d.ts", - "lib/fa/header.d.ts", - "lib/fa/headphones.d.ts", - "lib/fa/heart-o.d.ts", - "lib/fa/heart.d.ts", - "lib/fa/heartbeat.d.ts", - "lib/fa/history.d.ts", - "lib/fa/home.d.ts", - "lib/fa/hospital-o.d.ts", - "lib/fa/hourglass-1.d.ts", - "lib/fa/hourglass-2.d.ts", - "lib/fa/hourglass-3.d.ts", - "lib/fa/hourglass-o.d.ts", - "lib/fa/hourglass.d.ts", - "lib/fa/houzz.d.ts", - "lib/fa/html5.d.ts", - "lib/fa/i-cursor.d.ts", - "lib/fa/ils.d.ts", - "lib/fa/image.d.ts", - "lib/fa/inbox.d.ts", - "lib/fa/indent.d.ts", - "lib/fa/industry.d.ts", - "lib/fa/info-circle.d.ts", - "lib/fa/info.d.ts", - "lib/fa/inr.d.ts", - "lib/fa/instagram.d.ts", - "lib/fa/internet-explorer.d.ts", - "lib/fa/intersex.d.ts", - "lib/fa/ioxhost.d.ts", - "lib/fa/italic.d.ts", - "lib/fa/joomla.d.ts", - "lib/fa/jsfiddle.d.ts", - "lib/fa/key.d.ts", - "lib/fa/keyboard-o.d.ts", - "lib/fa/krw.d.ts", - "lib/fa/language.d.ts", - "lib/fa/laptop.d.ts", - "lib/fa/lastfm-square.d.ts", - "lib/fa/lastfm.d.ts", - "lib/fa/leaf.d.ts", - "lib/fa/leanpub.d.ts", - "lib/fa/lemon-o.d.ts", - "lib/fa/level-down.d.ts", - "lib/fa/level-up.d.ts", - "lib/fa/life-bouy.d.ts", - "lib/fa/lightbulb-o.d.ts", - "lib/fa/line-chart.d.ts", - "lib/fa/linkedin-square.d.ts", - "lib/fa/linkedin.d.ts", - "lib/fa/linux.d.ts", - "lib/fa/list-alt.d.ts", - "lib/fa/list-ol.d.ts", - "lib/fa/list-ul.d.ts", - "lib/fa/list.d.ts", - "lib/fa/location-arrow.d.ts", - "lib/fa/lock.d.ts", - "lib/fa/long-arrow-down.d.ts", - "lib/fa/long-arrow-left.d.ts", - "lib/fa/long-arrow-right.d.ts", - "lib/fa/long-arrow-up.d.ts", - "lib/fa/low-vision.d.ts", - "lib/fa/magic.d.ts", - "lib/fa/magnet.d.ts", - "lib/fa/mail-forward.d.ts", - "lib/fa/mail-reply-all.d.ts", - "lib/fa/mail-reply.d.ts", - "lib/fa/male.d.ts", - "lib/fa/map-marker.d.ts", - "lib/fa/map-o.d.ts", - "lib/fa/map-pin.d.ts", - "lib/fa/map-signs.d.ts", - "lib/fa/map.d.ts", - "lib/fa/mars-double.d.ts", - "lib/fa/mars-stroke-h.d.ts", - "lib/fa/mars-stroke-v.d.ts", - "lib/fa/mars-stroke.d.ts", - "lib/fa/mars.d.ts", - "lib/fa/maxcdn.d.ts", - "lib/fa/meanpath.d.ts", - "lib/fa/medium.d.ts", - "lib/fa/medkit.d.ts", - "lib/fa/meh-o.d.ts", - "lib/fa/mercury.d.ts", - "lib/fa/microphone-slash.d.ts", - "lib/fa/microphone.d.ts", - "lib/fa/minus-circle.d.ts", - "lib/fa/minus-square-o.d.ts", - "lib/fa/minus-square.d.ts", - "lib/fa/minus.d.ts", - "lib/fa/mixcloud.d.ts", - "lib/fa/mobile.d.ts", - "lib/fa/modx.d.ts", - "lib/fa/money.d.ts", - "lib/fa/moon-o.d.ts", - "lib/fa/motorcycle.d.ts", - "lib/fa/mouse-pointer.d.ts", - "lib/fa/music.d.ts", - "lib/fa/neuter.d.ts", - "lib/fa/newspaper-o.d.ts", - "lib/fa/object-group.d.ts", - "lib/fa/object-ungroup.d.ts", - "lib/fa/odnoklassniki-square.d.ts", - "lib/fa/odnoklassniki.d.ts", - "lib/fa/opencart.d.ts", - "lib/fa/openid.d.ts", - "lib/fa/opera.d.ts", - "lib/fa/optin-monster.d.ts", - "lib/fa/pagelines.d.ts", - "lib/fa/paint-brush.d.ts", - "lib/fa/paper-plane-o.d.ts", - "lib/fa/paper-plane.d.ts", - "lib/fa/paperclip.d.ts", - "lib/fa/paragraph.d.ts", - "lib/fa/pause-circle-o.d.ts", - "lib/fa/pause-circle.d.ts", - "lib/fa/pause.d.ts", - "lib/fa/paw.d.ts", - "lib/fa/paypal.d.ts", - "lib/fa/pencil-square.d.ts", - "lib/fa/pencil.d.ts", - "lib/fa/percent.d.ts", - "lib/fa/phone-square.d.ts", - "lib/fa/phone.d.ts", - "lib/fa/pie-chart.d.ts", - "lib/fa/pied-piper-alt.d.ts", - "lib/fa/pied-piper.d.ts", - "lib/fa/pinterest-p.d.ts", - "lib/fa/pinterest-square.d.ts", - "lib/fa/pinterest.d.ts", - "lib/fa/plane.d.ts", - "lib/fa/play-circle-o.d.ts", - "lib/fa/play-circle.d.ts", - "lib/fa/play.d.ts", - "lib/fa/plug.d.ts", - "lib/fa/plus-circle.d.ts", - "lib/fa/plus-square-o.d.ts", - "lib/fa/plus-square.d.ts", - "lib/fa/plus.d.ts", - "lib/fa/power-off.d.ts", - "lib/fa/print.d.ts", - "lib/fa/product-hunt.d.ts", - "lib/fa/puzzle-piece.d.ts", - "lib/fa/qq.d.ts", - "lib/fa/qrcode.d.ts", - "lib/fa/question-circle-o.d.ts", - "lib/fa/question-circle.d.ts", - "lib/fa/question.d.ts", - "lib/fa/quote-left.d.ts", - "lib/fa/quote-right.d.ts", - "lib/fa/ra.d.ts", - "lib/fa/random.d.ts", - "lib/fa/recycle.d.ts", - "lib/fa/reddit-alien.d.ts", - "lib/fa/reddit-square.d.ts", - "lib/fa/reddit.d.ts", - "lib/fa/refresh.d.ts", - "lib/fa/registered.d.ts", - "lib/fa/renren.d.ts", - "lib/fa/repeat.d.ts", - "lib/fa/retweet.d.ts", - "lib/fa/road.d.ts", - "lib/fa/rocket.d.ts", - "lib/fa/rotate-left.d.ts", - "lib/fa/rouble.d.ts", - "lib/fa/rss-square.d.ts", - "lib/fa/safari.d.ts", - "lib/fa/scribd.d.ts", - "lib/fa/search-minus.d.ts", - "lib/fa/search-plus.d.ts", - "lib/fa/search.d.ts", - "lib/fa/sellsy.d.ts", - "lib/fa/server.d.ts", - "lib/fa/share-alt-square.d.ts", - "lib/fa/share-alt.d.ts", - "lib/fa/share-square-o.d.ts", - "lib/fa/share-square.d.ts", - "lib/fa/shield.d.ts", - "lib/fa/ship.d.ts", - "lib/fa/shirtsinbulk.d.ts", - "lib/fa/shopping-bag.d.ts", - "lib/fa/shopping-basket.d.ts", - "lib/fa/shopping-cart.d.ts", - "lib/fa/sign-in.d.ts", - "lib/fa/sign-language.d.ts", - "lib/fa/sign-out.d.ts", - "lib/fa/signal.d.ts", - "lib/fa/simplybuilt.d.ts", - "lib/fa/sitemap.d.ts", - "lib/fa/skyatlas.d.ts", - "lib/fa/skype.d.ts", - "lib/fa/slack.d.ts", - "lib/fa/sliders.d.ts", - "lib/fa/slideshare.d.ts", - "lib/fa/smile-o.d.ts", - "lib/fa/snapchat-ghost.d.ts", - "lib/fa/snapchat-square.d.ts", - "lib/fa/snapchat.d.ts", - "lib/fa/sort-alpha-asc.d.ts", - "lib/fa/sort-alpha-desc.d.ts", - "lib/fa/sort-amount-asc.d.ts", - "lib/fa/sort-amount-desc.d.ts", - "lib/fa/sort-asc.d.ts", - "lib/fa/sort-desc.d.ts", - "lib/fa/sort-numeric-asc.d.ts", - "lib/fa/sort-numeric-desc.d.ts", - "lib/fa/sort.d.ts", - "lib/fa/soundcloud.d.ts", - "lib/fa/space-shuttle.d.ts", - "lib/fa/spinner.d.ts", - "lib/fa/spoon.d.ts", - "lib/fa/spotify.d.ts", - "lib/fa/square-o.d.ts", - "lib/fa/square.d.ts", - "lib/fa/stack-exchange.d.ts", - "lib/fa/stack-overflow.d.ts", - "lib/fa/star-half-empty.d.ts", - "lib/fa/star-half.d.ts", - "lib/fa/star-o.d.ts", - "lib/fa/star.d.ts", - "lib/fa/steam-square.d.ts", - "lib/fa/steam.d.ts", - "lib/fa/step-backward.d.ts", - "lib/fa/step-forward.d.ts", - "lib/fa/stethoscope.d.ts", - "lib/fa/sticky-note-o.d.ts", - "lib/fa/sticky-note.d.ts", - "lib/fa/stop-circle-o.d.ts", - "lib/fa/stop-circle.d.ts", - "lib/fa/stop.d.ts", - "lib/fa/street-view.d.ts", - "lib/fa/strikethrough.d.ts", - "lib/fa/stumbleupon-circle.d.ts", - "lib/fa/stumbleupon.d.ts", - "lib/fa/subscript.d.ts", - "lib/fa/subway.d.ts", - "lib/fa/suitcase.d.ts", - "lib/fa/sun-o.d.ts", - "lib/fa/superscript.d.ts", - "lib/fa/table.d.ts", - "lib/fa/tablet.d.ts", - "lib/fa/tag.d.ts", - "lib/fa/tags.d.ts", - "lib/fa/tasks.d.ts", - "lib/fa/television.d.ts", - "lib/fa/tencent-weibo.d.ts", - "lib/fa/terminal.d.ts", - "lib/fa/text-height.d.ts", - "lib/fa/text-width.d.ts", - "lib/fa/th-large.d.ts", - "lib/fa/th-list.d.ts", - "lib/fa/th.d.ts", - "lib/fa/thumb-tack.d.ts", - "lib/fa/thumbs-down.d.ts", - "lib/fa/thumbs-o-down.d.ts", - "lib/fa/thumbs-o-up.d.ts", - "lib/fa/thumbs-up.d.ts", - "lib/fa/ticket.d.ts", - "lib/fa/times-circle-o.d.ts", - "lib/fa/times-circle.d.ts", - "lib/fa/tint.d.ts", - "lib/fa/toggle-off.d.ts", - "lib/fa/toggle-on.d.ts", - "lib/fa/trademark.d.ts", - "lib/fa/train.d.ts", - "lib/fa/transgender-alt.d.ts", - "lib/fa/trash-o.d.ts", - "lib/fa/trash.d.ts", - "lib/fa/tree.d.ts", - "lib/fa/trello.d.ts", - "lib/fa/tripadvisor.d.ts", - "lib/fa/trophy.d.ts", - "lib/fa/truck.d.ts", - "lib/fa/try.d.ts", - "lib/fa/tty.d.ts", - "lib/fa/tumblr-square.d.ts", - "lib/fa/tumblr.d.ts", - "lib/fa/twitch.d.ts", - "lib/fa/twitter-square.d.ts", - "lib/fa/twitter.d.ts", - "lib/fa/umbrella.d.ts", - "lib/fa/underline.d.ts", - "lib/fa/universal-access.d.ts", - "lib/fa/unlock-alt.d.ts", - "lib/fa/unlock.d.ts", - "lib/fa/upload.d.ts", - "lib/fa/usb.d.ts", - "lib/fa/user-md.d.ts", - "lib/fa/user-plus.d.ts", - "lib/fa/user-secret.d.ts", - "lib/fa/user-times.d.ts", - "lib/fa/user.d.ts", - "lib/fa/venus-double.d.ts", - "lib/fa/venus-mars.d.ts", - "lib/fa/venus.d.ts", - "lib/fa/viacoin.d.ts", - "lib/fa/viadeo-square.d.ts", - "lib/fa/viadeo.d.ts", - "lib/fa/video-camera.d.ts", - "lib/fa/vimeo-square.d.ts", - "lib/fa/vimeo.d.ts", - "lib/fa/vine.d.ts", - "lib/fa/vk.d.ts", - "lib/fa/volume-control-phone.d.ts", - "lib/fa/volume-down.d.ts", - "lib/fa/volume-off.d.ts", - "lib/fa/volume-up.d.ts", - "lib/fa/wechat.d.ts", - "lib/fa/weibo.d.ts", - "lib/fa/whatsapp.d.ts", - "lib/fa/wheelchair-alt.d.ts", - "lib/fa/wheelchair.d.ts", - "lib/fa/wifi.d.ts", - "lib/fa/wikipedia-w.d.ts", - "lib/fa/windows.d.ts", - "lib/fa/wordpress.d.ts", - "lib/fa/wpbeginner.d.ts", - "lib/fa/wpforms.d.ts", - "lib/fa/wrench.d.ts", - "lib/fa/xing-square.d.ts", - "lib/fa/xing.d.ts", - "lib/fa/y-combinator.d.ts", - "lib/fa/yahoo.d.ts", - "lib/fa/yelp.d.ts", - "lib/fa/youtube-play.d.ts", - "lib/fa/youtube-square.d.ts", - "lib/fa/youtube.d.ts", - "lib/go/alert.d.ts", - "lib/go/alignment-align.d.ts", - "lib/go/alignment-aligned-to.d.ts", - "lib/go/alignment-unalign.d.ts", - "lib/go/arrow-down.d.ts", - "lib/go/arrow-left.d.ts", - "lib/go/arrow-right.d.ts", - "lib/go/arrow-small-down.d.ts", - "lib/go/arrow-small-left.d.ts", - "lib/go/arrow-small-right.d.ts", - "lib/go/arrow-small-up.d.ts", - "lib/go/arrow-up.d.ts", - "lib/go/beer.d.ts", - "lib/go/book.d.ts", - "lib/go/bookmark.d.ts", - "lib/go/briefcase.d.ts", - "lib/go/broadcast.d.ts", - "lib/go/browser.d.ts", - "lib/go/bug.d.ts", - "lib/go/calendar.d.ts", - "lib/go/check.d.ts", - "lib/go/checklist.d.ts", - "lib/go/chevron-down.d.ts", - "lib/go/chevron-left.d.ts", - "lib/go/chevron-right.d.ts", - "lib/go/chevron-up.d.ts", - "lib/go/circle-slash.d.ts", - "lib/go/circuit-board.d.ts", - "lib/go/clippy.d.ts", - "lib/go/clock.d.ts", - "lib/go/cloud-download.d.ts", - "lib/go/cloud-upload.d.ts", - "lib/go/code.d.ts", - "lib/go/color-mode.d.ts", - "lib/go/comment-discussion.d.ts", - "lib/go/comment.d.ts", - "lib/go/credit-card.d.ts", - "lib/go/dash.d.ts", - "lib/go/dashboard.d.ts", - "lib/go/database.d.ts", - "lib/go/device-camera-video.d.ts", - "lib/go/device-camera.d.ts", - "lib/go/device-desktop.d.ts", - "lib/go/device-mobile.d.ts", - "lib/go/diff-added.d.ts", - "lib/go/diff-ignored.d.ts", - "lib/go/diff-modified.d.ts", - "lib/go/diff-removed.d.ts", - "lib/go/diff-renamed.d.ts", - "lib/go/diff.d.ts", - "lib/go/ellipsis.d.ts", - "lib/go/eye.d.ts", - "lib/go/file-binary.d.ts", - "lib/go/file-code.d.ts", - "lib/go/file-directory.d.ts", - "lib/go/file-media.d.ts", - "lib/go/file-pdf.d.ts", - "lib/go/file-submodule.d.ts", - "lib/go/file-symlink-directory.d.ts", - "lib/go/file-symlink-file.d.ts", - "lib/go/file-text.d.ts", - "lib/go/file-zip.d.ts", - "lib/go/flame.d.ts", - "lib/go/fold.d.ts", - "lib/go/gear.d.ts", - "lib/go/gift.d.ts", - "lib/go/gist-secret.d.ts", - "lib/go/gist.d.ts", - "lib/go/git-branch.d.ts", - "lib/go/git-commit.d.ts", - "lib/go/git-compare.d.ts", - "lib/go/git-merge.d.ts", - "lib/go/git-pull-request.d.ts", - "lib/go/globe.d.ts", - "lib/go/graph.d.ts", - "lib/go/heart.d.ts", - "lib/go/history.d.ts", - "lib/go/home.d.ts", - "lib/go/horizontal-rule.d.ts", - "lib/go/hourglass.d.ts", - "lib/go/hubot.d.ts", - "lib/go/inbox.d.ts", - "lib/go/info.d.ts", - "lib/go/issue-closed.d.ts", - "lib/go/issue-opened.d.ts", - "lib/go/issue-reopened.d.ts", - "lib/go/jersey.d.ts", - "lib/go/jump-down.d.ts", - "lib/go/jump-left.d.ts", - "lib/go/jump-right.d.ts", - "lib/go/jump-up.d.ts", - "lib/go/key.d.ts", - "lib/go/keyboard.d.ts", - "lib/go/law.d.ts", - "lib/go/light-bulb.d.ts", - "lib/go/link-external.d.ts", - "lib/go/link.d.ts", - "lib/go/list-ordered.d.ts", - "lib/go/list-unordered.d.ts", - "lib/go/location.d.ts", - "lib/go/lock.d.ts", - "lib/go/logo-github.d.ts", - "lib/go/mail-read.d.ts", - "lib/go/mail-reply.d.ts", - "lib/go/mail.d.ts", - "lib/go/mark-github.d.ts", - "lib/go/markdown.d.ts", - "lib/go/megaphone.d.ts", - "lib/go/mention.d.ts", - "lib/go/microscope.d.ts", - "lib/go/milestone.d.ts", - "lib/go/mirror.d.ts", - "lib/go/mortar-board.d.ts", - "lib/go/move-down.d.ts", - "lib/go/move-left.d.ts", - "lib/go/move-right.d.ts", - "lib/go/move-up.d.ts", - "lib/go/mute.d.ts", - "lib/go/no-newline.d.ts", - "lib/go/octoface.d.ts", - "lib/go/organization.d.ts", - "lib/go/package.d.ts", - "lib/go/paintcan.d.ts", - "lib/go/pencil.d.ts", - "lib/go/person.d.ts", - "lib/go/pin.d.ts", - "lib/go/playback-fast-forward.d.ts", - "lib/go/playback-pause.d.ts", - "lib/go/playback-play.d.ts", - "lib/go/playback-rewind.d.ts", - "lib/go/plug.d.ts", - "lib/go/plus.d.ts", - "lib/go/podium.d.ts", - "lib/go/primitive-dot.d.ts", - "lib/go/primitive-square.d.ts", - "lib/go/pulse.d.ts", - "lib/go/puzzle.d.ts", - "lib/go/question.d.ts", - "lib/go/quote.d.ts", - "lib/go/radio-tower.d.ts", - "lib/go/repo-clone.d.ts", - "lib/go/repo-force-push.d.ts", - "lib/go/repo-forked.d.ts", - "lib/go/repo-pull.d.ts", - "lib/go/repo-push.d.ts", - "lib/go/repo.d.ts", - "lib/go/rocket.d.ts", - "lib/go/rss.d.ts", - "lib/go/ruby.d.ts", - "lib/go/screen-full.d.ts", - "lib/go/screen-normal.d.ts", - "lib/go/search.d.ts", - "lib/go/server.d.ts", - "lib/go/settings.d.ts", - "lib/go/sign-in.d.ts", - "lib/go/sign-out.d.ts", - "lib/go/split.d.ts", - "lib/go/squirrel.d.ts", - "lib/go/star.d.ts", - "lib/go/steps.d.ts", - "lib/go/stop.d.ts", - "lib/go/sync.d.ts", - "lib/go/tag.d.ts", - "lib/go/telescope.d.ts", - "lib/go/terminal.d.ts", - "lib/go/three-bars.d.ts", - "lib/go/tools.d.ts", - "lib/go/trashcan.d.ts", - "lib/go/triangle-down.d.ts", - "lib/go/triangle-left.d.ts", - "lib/go/triangle-right.d.ts", - "lib/go/triangle-up.d.ts", - "lib/go/unfold.d.ts", - "lib/go/unmute.d.ts", - "lib/go/versions.d.ts", - "lib/go/x.d.ts", - "lib/go/zap.d.ts", - "lib/io/alert-circled.d.ts", - "lib/io/alert.d.ts", - "lib/io/android-add-circle.d.ts", - "lib/io/android-add.d.ts", - "lib/io/android-alarm-clock.d.ts", - "lib/io/android-alert.d.ts", - "lib/io/android-apps.d.ts", - "lib/io/android-archive.d.ts", - "lib/io/android-arrow-back.d.ts", - "lib/io/android-arrow-down.d.ts", - "lib/io/android-arrow-dropdown-circle.d.ts", - "lib/io/android-arrow-dropdown.d.ts", - "lib/io/android-arrow-dropleft-circle.d.ts", - "lib/io/android-arrow-dropleft.d.ts", - "lib/io/android-arrow-dropright-circle.d.ts", - "lib/io/android-arrow-dropright.d.ts", - "lib/io/android-arrow-dropup-circle.d.ts", - "lib/io/android-arrow-dropup.d.ts", - "lib/io/android-arrow-forward.d.ts", - "lib/io/android-arrow-up.d.ts", - "lib/io/android-attach.d.ts", - "lib/io/android-bar.d.ts", - "lib/io/android-bicycle.d.ts", - "lib/io/android-boat.d.ts", - "lib/io/android-bookmark.d.ts", - "lib/io/android-bulb.d.ts", - "lib/io/android-bus.d.ts", - "lib/io/android-calendar.d.ts", - "lib/io/android-call.d.ts", - "lib/io/android-camera.d.ts", - "lib/io/android-cancel.d.ts", - "lib/io/android-car.d.ts", - "lib/io/android-cart.d.ts", - "lib/io/android-chat.d.ts", - "lib/io/android-checkbox-blank.d.ts", - "lib/io/android-checkbox-outline-blank.d.ts", - "lib/io/android-checkbox-outline.d.ts", - "lib/io/android-checkbox.d.ts", - "lib/io/android-checkmark-circle.d.ts", - "lib/io/android-clipboard.d.ts", - "lib/io/android-close.d.ts", - "lib/io/android-cloud-circle.d.ts", - "lib/io/android-cloud-done.d.ts", - "lib/io/android-cloud-outline.d.ts", - "lib/io/android-cloud.d.ts", - "lib/io/android-color-palette.d.ts", - "lib/io/android-compass.d.ts", - "lib/io/android-contact.d.ts", - "lib/io/android-contacts.d.ts", - "lib/io/android-contract.d.ts", - "lib/io/android-create.d.ts", - "lib/io/android-delete.d.ts", - "lib/io/android-desktop.d.ts", - "lib/io/android-document.d.ts", - "lib/io/android-done-all.d.ts", - "lib/io/android-done.d.ts", - "lib/io/android-download.d.ts", - "lib/io/android-drafts.d.ts", - "lib/io/android-exit.d.ts", - "lib/io/android-expand.d.ts", - "lib/io/android-favorite-outline.d.ts", - "lib/io/android-favorite.d.ts", - "lib/io/android-film.d.ts", - "lib/io/android-folder-open.d.ts", - "lib/io/android-folder.d.ts", - "lib/io/android-funnel.d.ts", - "lib/io/android-globe.d.ts", - "lib/io/android-hand.d.ts", - "lib/io/android-hangout.d.ts", - "lib/io/android-happy.d.ts", - "lib/io/android-home.d.ts", - "lib/io/android-image.d.ts", - "lib/io/android-laptop.d.ts", - "lib/io/android-list.d.ts", - "lib/io/android-locate.d.ts", - "lib/io/android-lock.d.ts", - "lib/io/android-mail.d.ts", - "lib/io/android-map.d.ts", - "lib/io/android-menu.d.ts", - "lib/io/android-microphone-off.d.ts", - "lib/io/android-microphone.d.ts", - "lib/io/android-more-horizontal.d.ts", - "lib/io/android-more-vertical.d.ts", - "lib/io/android-navigate.d.ts", - "lib/io/android-notifications-none.d.ts", - "lib/io/android-notifications-off.d.ts", - "lib/io/android-notifications.d.ts", - "lib/io/android-open.d.ts", - "lib/io/android-options.d.ts", - "lib/io/android-people.d.ts", - "lib/io/android-person-add.d.ts", - "lib/io/android-person.d.ts", - "lib/io/android-phone-landscape.d.ts", - "lib/io/android-phone-portrait.d.ts", - "lib/io/android-pin.d.ts", - "lib/io/android-plane.d.ts", - "lib/io/android-playstore.d.ts", - "lib/io/android-print.d.ts", - "lib/io/android-radio-button-off.d.ts", - "lib/io/android-radio-button-on.d.ts", - "lib/io/android-refresh.d.ts", - "lib/io/android-remove-circle.d.ts", - "lib/io/android-remove.d.ts", - "lib/io/android-restaurant.d.ts", - "lib/io/android-sad.d.ts", - "lib/io/android-search.d.ts", - "lib/io/android-send.d.ts", - "lib/io/android-settings.d.ts", - "lib/io/android-share-alt.d.ts", - "lib/io/android-share.d.ts", - "lib/io/android-star-half.d.ts", - "lib/io/android-star-outline.d.ts", - "lib/io/android-star.d.ts", - "lib/io/android-stopwatch.d.ts", - "lib/io/android-subway.d.ts", - "lib/io/android-sunny.d.ts", - "lib/io/android-sync.d.ts", - "lib/io/android-textsms.d.ts", - "lib/io/android-time.d.ts", - "lib/io/android-train.d.ts", - "lib/io/android-unlock.d.ts", - "lib/io/android-upload.d.ts", - "lib/io/android-volume-down.d.ts", - "lib/io/android-volume-mute.d.ts", - "lib/io/android-volume-off.d.ts", - "lib/io/android-volume-up.d.ts", - "lib/io/android-walk.d.ts", - "lib/io/android-warning.d.ts", - "lib/io/android-watch.d.ts", - "lib/io/android-wifi.d.ts", - "lib/io/aperture.d.ts", - "lib/io/archive.d.ts", - "lib/io/arrow-down-a.d.ts", - "lib/io/arrow-down-b.d.ts", - "lib/io/arrow-down-c.d.ts", - "lib/io/arrow-expand.d.ts", - "lib/io/arrow-graph-down-left.d.ts", - "lib/io/arrow-graph-down-right.d.ts", - "lib/io/arrow-graph-up-left.d.ts", - "lib/io/arrow-graph-up-right.d.ts", - "lib/io/arrow-left-a.d.ts", - "lib/io/arrow-left-b.d.ts", - "lib/io/arrow-left-c.d.ts", - "lib/io/arrow-move.d.ts", - "lib/io/arrow-resize.d.ts", - "lib/io/arrow-return-left.d.ts", - "lib/io/arrow-return-right.d.ts", - "lib/io/arrow-right-a.d.ts", - "lib/io/arrow-right-b.d.ts", - "lib/io/arrow-right-c.d.ts", - "lib/io/arrow-shrink.d.ts", - "lib/io/arrow-swap.d.ts", - "lib/io/arrow-up-a.d.ts", - "lib/io/arrow-up-b.d.ts", - "lib/io/arrow-up-c.d.ts", - "lib/io/asterisk.d.ts", - "lib/io/at.d.ts", - "lib/io/backspace-outline.d.ts", - "lib/io/backspace.d.ts", - "lib/io/bag.d.ts", - "lib/io/battery-charging.d.ts", - "lib/io/battery-empty.d.ts", - "lib/io/battery-full.d.ts", - "lib/io/battery-half.d.ts", - "lib/io/battery-low.d.ts", - "lib/io/beaker.d.ts", - "lib/io/beer.d.ts", - "lib/io/bluetooth.d.ts", - "lib/io/bonfire.d.ts", - "lib/io/bookmark.d.ts", - "lib/io/bowtie.d.ts", - "lib/io/briefcase.d.ts", - "lib/io/bug.d.ts", - "lib/io/calculator.d.ts", - "lib/io/calendar.d.ts", - "lib/io/camera.d.ts", - "lib/io/card.d.ts", - "lib/io/cash.d.ts", - "lib/io/chatbox-working.d.ts", - "lib/io/chatbox.d.ts", - "lib/io/chatboxes.d.ts", - "lib/io/chatbubble-working.d.ts", - "lib/io/chatbubble.d.ts", - "lib/io/chatbubbles.d.ts", - "lib/io/checkmark-circled.d.ts", - "lib/io/checkmark-round.d.ts", - "lib/io/checkmark.d.ts", - "lib/io/chevron-down.d.ts", - "lib/io/chevron-left.d.ts", - "lib/io/chevron-right.d.ts", - "lib/io/chevron-up.d.ts", - "lib/io/clipboard.d.ts", - "lib/io/clock.d.ts", - "lib/io/close-circled.d.ts", - "lib/io/close-round.d.ts", - "lib/io/close.d.ts", - "lib/io/closed-captioning.d.ts", - "lib/io/cloud.d.ts", - "lib/io/code-download.d.ts", - "lib/io/code-working.d.ts", - "lib/io/code.d.ts", - "lib/io/coffee.d.ts", - "lib/io/compass.d.ts", - "lib/io/compose.d.ts", - "lib/io/connectbars.d.ts", - "lib/io/contrast.d.ts", - "lib/io/crop.d.ts", - "lib/io/cube.d.ts", - "lib/io/disc.d.ts", - "lib/io/document-text.d.ts", - "lib/io/document.d.ts", - "lib/io/drag.d.ts", - "lib/io/earth.d.ts", - "lib/io/easel.d.ts", - "lib/io/edit.d.ts", - "lib/io/egg.d.ts", - "lib/io/eject.d.ts", - "lib/io/email-unread.d.ts", - "lib/io/email.d.ts", - "lib/io/erlenmeyer-flask-bubbles.d.ts", - "lib/io/erlenmeyer-flask.d.ts", - "lib/io/eye-disabled.d.ts", - "lib/io/eye.d.ts", - "lib/io/female.d.ts", - "lib/io/filing.d.ts", - "lib/io/film-marker.d.ts", - "lib/io/fireball.d.ts", - "lib/io/flag.d.ts", - "lib/io/flame.d.ts", - "lib/io/flash-off.d.ts", - "lib/io/flash.d.ts", - "lib/io/folder.d.ts", - "lib/io/fork-repo.d.ts", - "lib/io/fork.d.ts", - "lib/io/forward.d.ts", - "lib/io/funnel.d.ts", - "lib/io/gear-a.d.ts", - "lib/io/gear-b.d.ts", - "lib/io/grid.d.ts", - "lib/io/hammer.d.ts", - "lib/io/happy-outline.d.ts", - "lib/io/happy.d.ts", - "lib/io/headphone.d.ts", - "lib/io/heart-broken.d.ts", - "lib/io/heart.d.ts", - "lib/io/help-buoy.d.ts", - "lib/io/help-circled.d.ts", - "lib/io/help.d.ts", - "lib/io/home.d.ts", - "lib/io/icecream.d.ts", - "lib/io/image.d.ts", - "lib/io/images.d.ts", - "lib/io/informatcircled.d.ts", - "lib/io/information.d.ts", - "lib/io/ionic.d.ts", - "lib/io/ios-alarm-outline.d.ts", - "lib/io/ios-alarm.d.ts", - "lib/io/ios-albums-outline.d.ts", - "lib/io/ios-albums.d.ts", - "lib/io/ios-americanfootball-outline.d.ts", - "lib/io/ios-americanfootball.d.ts", - "lib/io/ios-analytics-outline.d.ts", - "lib/io/ios-analytics.d.ts", - "lib/io/ios-arrow-back.d.ts", - "lib/io/ios-arrow-down.d.ts", - "lib/io/ios-arrow-forward.d.ts", - "lib/io/ios-arrow-left.d.ts", - "lib/io/ios-arrow-right.d.ts", - "lib/io/ios-arrow-thin-down.d.ts", - "lib/io/ios-arrow-thin-left.d.ts", - "lib/io/ios-arrow-thin-right.d.ts", - "lib/io/ios-arrow-thin-up.d.ts", - "lib/io/ios-arrow-up.d.ts", - "lib/io/ios-at-outline.d.ts", - "lib/io/ios-at.d.ts", - "lib/io/ios-barcode-outline.d.ts", - "lib/io/ios-barcode.d.ts", - "lib/io/ios-baseball-outline.d.ts", - "lib/io/ios-baseball.d.ts", - "lib/io/ios-basketball-outline.d.ts", - "lib/io/ios-basketball.d.ts", - "lib/io/ios-bell-outline.d.ts", - "lib/io/ios-bell.d.ts", - "lib/io/ios-body-outline.d.ts", - "lib/io/ios-body.d.ts", - "lib/io/ios-bolt-outline.d.ts", - "lib/io/ios-bolt.d.ts", - "lib/io/ios-book-outline.d.ts", - "lib/io/ios-book.d.ts", - "lib/io/ios-bookmarks-outline.d.ts", - "lib/io/ios-bookmarks.d.ts", - "lib/io/ios-box-outline.d.ts", - "lib/io/ios-box.d.ts", - "lib/io/ios-briefcase-outline.d.ts", - "lib/io/ios-briefcase.d.ts", - "lib/io/ios-browsers-outline.d.ts", - "lib/io/ios-browsers.d.ts", - "lib/io/ios-calculator-outline.d.ts", - "lib/io/ios-calculator.d.ts", - "lib/io/ios-calendar-outline.d.ts", - "lib/io/ios-calendar.d.ts", - "lib/io/ios-camera-outline.d.ts", - "lib/io/ios-camera.d.ts", - "lib/io/ios-cart-outline.d.ts", - "lib/io/ios-cart.d.ts", - "lib/io/ios-chatboxes-outline.d.ts", - "lib/io/ios-chatboxes.d.ts", - "lib/io/ios-chatbubble-outline.d.ts", - "lib/io/ios-chatbubble.d.ts", - "lib/io/ios-checkmark-empty.d.ts", - "lib/io/ios-checkmark-outline.d.ts", - "lib/io/ios-checkmark.d.ts", - "lib/io/ios-circle-filled.d.ts", - "lib/io/ios-circle-outline.d.ts", - "lib/io/ios-clock-outline.d.ts", - "lib/io/ios-clock.d.ts", - "lib/io/ios-close-empty.d.ts", - "lib/io/ios-close-outline.d.ts", - "lib/io/ios-close.d.ts", - "lib/io/ios-cloud-download-outline.d.ts", - "lib/io/ios-cloud-download.d.ts", - "lib/io/ios-cloud-outline.d.ts", - "lib/io/ios-cloud-upload-outline.d.ts", - "lib/io/ios-cloud-upload.d.ts", - "lib/io/ios-cloud.d.ts", - "lib/io/ios-cloudy-night-outline.d.ts", - "lib/io/ios-cloudy-night.d.ts", - "lib/io/ios-cloudy-outline.d.ts", - "lib/io/ios-cloudy.d.ts", - "lib/io/ios-cog-outline.d.ts", - "lib/io/ios-cog.d.ts", - "lib/io/ios-color-filter-outline.d.ts", - "lib/io/ios-color-filter.d.ts", - "lib/io/ios-color-wand-outline.d.ts", - "lib/io/ios-color-wand.d.ts", - "lib/io/ios-compose-outline.d.ts", - "lib/io/ios-compose.d.ts", - "lib/io/ios-contact-outline.d.ts", - "lib/io/ios-contact.d.ts", - "lib/io/ios-copy-outline.d.ts", - "lib/io/ios-copy.d.ts", - "lib/io/ios-crop-strong.d.ts", - "lib/io/ios-crop.d.ts", - "lib/io/ios-download-outline.d.ts", - "lib/io/ios-download.d.ts", - "lib/io/ios-drag.d.ts", - "lib/io/ios-email-outline.d.ts", - "lib/io/ios-email.d.ts", - "lib/io/ios-eye-outline.d.ts", - "lib/io/ios-eye.d.ts", - "lib/io/ios-fastforward-outline.d.ts", - "lib/io/ios-fastforward.d.ts", - "lib/io/ios-filing-outline.d.ts", - "lib/io/ios-filing.d.ts", - "lib/io/ios-film-outline.d.ts", - "lib/io/ios-film.d.ts", - "lib/io/ios-flag-outline.d.ts", - "lib/io/ios-flag.d.ts", - "lib/io/ios-flame-outline.d.ts", - "lib/io/ios-flame.d.ts", - "lib/io/ios-flask-outline.d.ts", - "lib/io/ios-flask.d.ts", - "lib/io/ios-flower-outline.d.ts", - "lib/io/ios-flower.d.ts", - "lib/io/ios-folder-outline.d.ts", - "lib/io/ios-folder.d.ts", - "lib/io/ios-football-outline.d.ts", - "lib/io/ios-football.d.ts", - "lib/io/ios-game-controller-a-outline.d.ts", - "lib/io/ios-game-controller-a.d.ts", - "lib/io/ios-game-controller-b-outline.d.ts", - "lib/io/ios-game-controller-b.d.ts", - "lib/io/ios-gear-outline.d.ts", - "lib/io/ios-gear.d.ts", - "lib/io/ios-glasses-outline.d.ts", - "lib/io/ios-glasses.d.ts", - "lib/io/ios-grid-view-outline.d.ts", - "lib/io/ios-grid-view.d.ts", - "lib/io/ios-heart-outline.d.ts", - "lib/io/ios-heart.d.ts", - "lib/io/ios-help-empty.d.ts", - "lib/io/ios-help-outline.d.ts", - "lib/io/ios-help.d.ts", - "lib/io/ios-home-outline.d.ts", - "lib/io/ios-home.d.ts", - "lib/io/ios-infinite-outline.d.ts", - "lib/io/ios-infinite.d.ts", - "lib/io/ios-informatempty.d.ts", - "lib/io/ios-information.d.ts", - "lib/io/ios-informatoutline.d.ts", - "lib/io/ios-ionic-outline.d.ts", - "lib/io/ios-keypad-outline.d.ts", - "lib/io/ios-keypad.d.ts", - "lib/io/ios-lightbulb-outline.d.ts", - "lib/io/ios-lightbulb.d.ts", - "lib/io/ios-list-outline.d.ts", - "lib/io/ios-list.d.ts", - "lib/io/ios-location.d.ts", - "lib/io/ios-locatoutline.d.ts", - "lib/io/ios-locked-outline.d.ts", - "lib/io/ios-locked.d.ts", - "lib/io/ios-loop-strong.d.ts", - "lib/io/ios-loop.d.ts", - "lib/io/ios-medical-outline.d.ts", - "lib/io/ios-medical.d.ts", - "lib/io/ios-medkit-outline.d.ts", - "lib/io/ios-medkit.d.ts", - "lib/io/ios-mic-off.d.ts", - "lib/io/ios-mic-outline.d.ts", - "lib/io/ios-mic.d.ts", - "lib/io/ios-minus-empty.d.ts", - "lib/io/ios-minus-outline.d.ts", - "lib/io/ios-minus.d.ts", - "lib/io/ios-monitor-outline.d.ts", - "lib/io/ios-monitor.d.ts", - "lib/io/ios-moon-outline.d.ts", - "lib/io/ios-moon.d.ts", - "lib/io/ios-more-outline.d.ts", - "lib/io/ios-more.d.ts", - "lib/io/ios-musical-note.d.ts", - "lib/io/ios-musical-notes.d.ts", - "lib/io/ios-navigate-outline.d.ts", - "lib/io/ios-navigate.d.ts", - "lib/io/ios-nutrition.d.ts", - "lib/io/ios-nutritoutline.d.ts", - "lib/io/ios-paper-outline.d.ts", - "lib/io/ios-paper.d.ts", - "lib/io/ios-paperplane-outline.d.ts", - "lib/io/ios-paperplane.d.ts", - "lib/io/ios-partlysunny-outline.d.ts", - "lib/io/ios-partlysunny.d.ts", - "lib/io/ios-pause-outline.d.ts", - "lib/io/ios-pause.d.ts", - "lib/io/ios-paw-outline.d.ts", - "lib/io/ios-paw.d.ts", - "lib/io/ios-people-outline.d.ts", - "lib/io/ios-people.d.ts", - "lib/io/ios-person-outline.d.ts", - "lib/io/ios-person.d.ts", - "lib/io/ios-personadd-outline.d.ts", - "lib/io/ios-personadd.d.ts", - "lib/io/ios-photos-outline.d.ts", - "lib/io/ios-photos.d.ts", - "lib/io/ios-pie-outline.d.ts", - "lib/io/ios-pie.d.ts", - "lib/io/ios-pint-outline.d.ts", - "lib/io/ios-pint.d.ts", - "lib/io/ios-play-outline.d.ts", - "lib/io/ios-play.d.ts", - "lib/io/ios-plus-empty.d.ts", - "lib/io/ios-plus-outline.d.ts", - "lib/io/ios-plus.d.ts", - "lib/io/ios-pricetag-outline.d.ts", - "lib/io/ios-pricetag.d.ts", - "lib/io/ios-pricetags-outline.d.ts", - "lib/io/ios-pricetags.d.ts", - "lib/io/ios-printer-outline.d.ts", - "lib/io/ios-printer.d.ts", - "lib/io/ios-pulse-strong.d.ts", - "lib/io/ios-pulse.d.ts", - "lib/io/ios-rainy-outline.d.ts", - "lib/io/ios-rainy.d.ts", - "lib/io/ios-recording-outline.d.ts", - "lib/io/ios-recording.d.ts", - "lib/io/ios-redo-outline.d.ts", - "lib/io/ios-redo.d.ts", - "lib/io/ios-refresh-empty.d.ts", - "lib/io/ios-refresh-outline.d.ts", - "lib/io/ios-refresh.d.ts", - "lib/io/ios-reload.d.ts", - "lib/io/ios-reverse-camera-outline.d.ts", - "lib/io/ios-reverse-camera.d.ts", - "lib/io/ios-rewind-outline.d.ts", - "lib/io/ios-rewind.d.ts", - "lib/io/ios-rose-outline.d.ts", - "lib/io/ios-rose.d.ts", - "lib/io/ios-search-strong.d.ts", - "lib/io/ios-search.d.ts", - "lib/io/ios-settings-strong.d.ts", - "lib/io/ios-settings.d.ts", - "lib/io/ios-shuffle-strong.d.ts", - "lib/io/ios-shuffle.d.ts", - "lib/io/ios-skipbackward-outline.d.ts", - "lib/io/ios-skipbackward.d.ts", - "lib/io/ios-skipforward-outline.d.ts", - "lib/io/ios-skipforward.d.ts", - "lib/io/ios-snowy.d.ts", - "lib/io/ios-speedometer-outline.d.ts", - "lib/io/ios-speedometer.d.ts", - "lib/io/ios-star-half.d.ts", - "lib/io/ios-star-outline.d.ts", - "lib/io/ios-star.d.ts", - "lib/io/ios-stopwatch-outline.d.ts", - "lib/io/ios-stopwatch.d.ts", - "lib/io/ios-sunny-outline.d.ts", - "lib/io/ios-sunny.d.ts", - "lib/io/ios-telephone-outline.d.ts", - "lib/io/ios-telephone.d.ts", - "lib/io/ios-tennisball-outline.d.ts", - "lib/io/ios-tennisball.d.ts", - "lib/io/ios-thunderstorm-outline.d.ts", - "lib/io/ios-thunderstorm.d.ts", - "lib/io/ios-time-outline.d.ts", - "lib/io/ios-time.d.ts", - "lib/io/ios-timer-outline.d.ts", - "lib/io/ios-timer.d.ts", - "lib/io/ios-toggle-outline.d.ts", - "lib/io/ios-toggle.d.ts", - "lib/io/ios-trash-outline.d.ts", - "lib/io/ios-trash.d.ts", - "lib/io/ios-undo-outline.d.ts", - "lib/io/ios-undo.d.ts", - "lib/io/ios-unlocked-outline.d.ts", - "lib/io/ios-unlocked.d.ts", - "lib/io/ios-upload-outline.d.ts", - "lib/io/ios-upload.d.ts", - "lib/io/ios-videocam-outline.d.ts", - "lib/io/ios-videocam.d.ts", - "lib/io/ios-volume-high.d.ts", - "lib/io/ios-volume-low.d.ts", - "lib/io/ios-wineglass-outline.d.ts", - "lib/io/ios-wineglass.d.ts", - "lib/io/ios-world-outline.d.ts", - "lib/io/ios-world.d.ts", - "lib/io/ipad.d.ts", - "lib/io/iphone.d.ts", - "lib/io/ipod.d.ts", - "lib/io/jet.d.ts", - "lib/io/key.d.ts", - "lib/io/knife.d.ts", - "lib/io/laptop.d.ts", - "lib/io/leaf.d.ts", - "lib/io/levels.d.ts", - "lib/io/lightbulb.d.ts", - "lib/io/link.d.ts", - "lib/io/load-a.d.ts", - "lib/io/load-b.d.ts", - "lib/io/load-c.d.ts", - "lib/io/load-d.d.ts", - "lib/io/location.d.ts", - "lib/io/lock-combination.d.ts", - "lib/io/locked.d.ts", - "lib/io/log-in.d.ts", - "lib/io/log-out.d.ts", - "lib/io/loop.d.ts", - "lib/io/magnet.d.ts", - "lib/io/male.d.ts", - "lib/io/man.d.ts", - "lib/io/map.d.ts", - "lib/io/medkit.d.ts", - "lib/io/merge.d.ts", - "lib/io/mic-a.d.ts", - "lib/io/mic-b.d.ts", - "lib/io/mic-c.d.ts", - "lib/io/minus-circled.d.ts", - "lib/io/minus-round.d.ts", - "lib/io/minus.d.ts", - "lib/io/model-s.d.ts", - "lib/io/monitor.d.ts", - "lib/io/more.d.ts", - "lib/io/mouse.d.ts", - "lib/io/music-note.d.ts", - "lib/io/navicon-round.d.ts", - "lib/io/navicon.d.ts", - "lib/io/navigate.d.ts", - "lib/io/network.d.ts", - "lib/io/no-smoking.d.ts", - "lib/io/nuclear.d.ts", - "lib/io/outlet.d.ts", - "lib/io/paintbrush.d.ts", - "lib/io/paintbucket.d.ts", - "lib/io/paper-airplane.d.ts", - "lib/io/paperclip.d.ts", - "lib/io/pause.d.ts", - "lib/io/person-add.d.ts", - "lib/io/person-stalker.d.ts", - "lib/io/person.d.ts", - "lib/io/pie-graph.d.ts", - "lib/io/pin.d.ts", - "lib/io/pinpoint.d.ts", - "lib/io/pizza.d.ts", - "lib/io/plane.d.ts", - "lib/io/planet.d.ts", - "lib/io/play.d.ts", - "lib/io/playstation.d.ts", - "lib/io/plus-circled.d.ts", - "lib/io/plus-round.d.ts", - "lib/io/plus.d.ts", - "lib/io/podium.d.ts", - "lib/io/pound.d.ts", - "lib/io/power.d.ts", - "lib/io/pricetag.d.ts", - "lib/io/pricetags.d.ts", - "lib/io/printer.d.ts", - "lib/io/pull-request.d.ts", - "lib/io/qr-scanner.d.ts", - "lib/io/quote.d.ts", - "lib/io/radio-waves.d.ts", - "lib/io/record.d.ts", - "lib/io/refresh.d.ts", - "lib/io/reply-all.d.ts", - "lib/io/reply.d.ts", - "lib/io/ribbon-a.d.ts", - "lib/io/ribbon-b.d.ts", - "lib/io/sad-outline.d.ts", - "lib/io/sad.d.ts", - "lib/io/scissors.d.ts", - "lib/io/search.d.ts", - "lib/io/settings.d.ts", - "lib/io/share.d.ts", - "lib/io/shuffle.d.ts", - "lib/io/skip-backward.d.ts", - "lib/io/skip-forward.d.ts", - "lib/io/social-android-outline.d.ts", - "lib/io/social-android.d.ts", - "lib/io/social-angular-outline.d.ts", - "lib/io/social-angular.d.ts", - "lib/io/social-apple-outline.d.ts", - "lib/io/social-apple.d.ts", - "lib/io/social-bitcoin-outline.d.ts", - "lib/io/social-bitcoin.d.ts", - "lib/io/social-buffer-outline.d.ts", - "lib/io/social-buffer.d.ts", - "lib/io/social-chrome-outline.d.ts", - "lib/io/social-chrome.d.ts", - "lib/io/social-codepen-outline.d.ts", - "lib/io/social-codepen.d.ts", - "lib/io/social-css3-outline.d.ts", - "lib/io/social-css3.d.ts", - "lib/io/social-designernews-outline.d.ts", - "lib/io/social-designernews.d.ts", - "lib/io/social-dribbble-outline.d.ts", - "lib/io/social-dribbble.d.ts", - "lib/io/social-dropbox-outline.d.ts", - "lib/io/social-dropbox.d.ts", - "lib/io/social-euro-outline.d.ts", - "lib/io/social-euro.d.ts", - "lib/io/social-facebook-outline.d.ts", - "lib/io/social-facebook.d.ts", - "lib/io/social-foursquare-outline.d.ts", - "lib/io/social-foursquare.d.ts", - "lib/io/social-freebsd-devil.d.ts", - "lib/io/social-github-outline.d.ts", - "lib/io/social-github.d.ts", - "lib/io/social-google-outline.d.ts", - "lib/io/social-google.d.ts", - "lib/io/social-googleplus-outline.d.ts", - "lib/io/social-googleplus.d.ts", - "lib/io/social-hackernews-outline.d.ts", - "lib/io/social-hackernews.d.ts", - "lib/io/social-html5-outline.d.ts", - "lib/io/social-html5.d.ts", - "lib/io/social-instagram-outline.d.ts", - "lib/io/social-instagram.d.ts", - "lib/io/social-javascript-outline.d.ts", - "lib/io/social-javascript.d.ts", - "lib/io/social-linkedin-outline.d.ts", - "lib/io/social-linkedin.d.ts", - "lib/io/social-markdown.d.ts", - "lib/io/social-nodejs.d.ts", - "lib/io/social-octocat.d.ts", - "lib/io/social-pinterest-outline.d.ts", - "lib/io/social-pinterest.d.ts", - "lib/io/social-python.d.ts", - "lib/io/social-reddit-outline.d.ts", - "lib/io/social-reddit.d.ts", - "lib/io/social-rss-outline.d.ts", - "lib/io/social-rss.d.ts", - "lib/io/social-sass.d.ts", - "lib/io/social-skype-outline.d.ts", - "lib/io/social-skype.d.ts", - "lib/io/social-snapchat-outline.d.ts", - "lib/io/social-snapchat.d.ts", - "lib/io/social-tumblr-outline.d.ts", - "lib/io/social-tumblr.d.ts", - "lib/io/social-tux.d.ts", - "lib/io/social-twitch-outline.d.ts", - "lib/io/social-twitch.d.ts", - "lib/io/social-twitter-outline.d.ts", - "lib/io/social-twitter.d.ts", - "lib/io/social-usd-outline.d.ts", - "lib/io/social-usd.d.ts", - "lib/io/social-vimeo-outline.d.ts", - "lib/io/social-vimeo.d.ts", - "lib/io/social-whatsapp-outline.d.ts", - "lib/io/social-whatsapp.d.ts", - "lib/io/social-windows-outline.d.ts", - "lib/io/social-windows.d.ts", - "lib/io/social-wordpress-outline.d.ts", - "lib/io/social-wordpress.d.ts", - "lib/io/social-yahoo-outline.d.ts", - "lib/io/social-yahoo.d.ts", - "lib/io/social-yen-outline.d.ts", - "lib/io/social-yen.d.ts", - "lib/io/social-youtube-outline.d.ts", - "lib/io/social-youtube.d.ts", - "lib/io/soup-can-outline.d.ts", - "lib/io/soup-can.d.ts", - "lib/io/speakerphone.d.ts", - "lib/io/speedometer.d.ts", - "lib/io/spoon.d.ts", - "lib/io/star.d.ts", - "lib/io/stats-bars.d.ts", - "lib/io/steam.d.ts", - "lib/io/stop.d.ts", - "lib/io/thermometer.d.ts", - "lib/io/thumbsdown.d.ts", - "lib/io/thumbsup.d.ts", - "lib/io/toggle-filled.d.ts", - "lib/io/toggle.d.ts", - "lib/io/transgender.d.ts", - "lib/io/trash-a.d.ts", - "lib/io/trash-b.d.ts", - "lib/io/trophy.d.ts", - "lib/io/tshirt-outline.d.ts", - "lib/io/tshirt.d.ts", - "lib/io/umbrella.d.ts", - "lib/io/university.d.ts", - "lib/io/unlocked.d.ts", - "lib/io/upload.d.ts", - "lib/io/usb.d.ts", - "lib/io/videocamera.d.ts", - "lib/io/volume-high.d.ts", - "lib/io/volume-low.d.ts", - "lib/io/volume-medium.d.ts", - "lib/io/volume-mute.d.ts", - "lib/io/wand.d.ts", - "lib/io/waterdrop.d.ts", - "lib/io/wifi.d.ts", - "lib/io/wineglass.d.ts", - "lib/io/woman.d.ts", - "lib/io/wrench.d.ts", - "lib/io/xbox.d.ts", - "lib/md/3d-rotation.d.ts", - "lib/md/ac-unit.d.ts", - "lib/md/access-alarm.d.ts", - "lib/md/access-alarms.d.ts", - "lib/md/access-time.d.ts", - "lib/md/accessibility.d.ts", - "lib/md/accessible.d.ts", - "lib/md/account-balance-wallet.d.ts", - "lib/md/account-balance.d.ts", - "lib/md/account-box.d.ts", - "lib/md/account-circle.d.ts", - "lib/md/adb.d.ts", - "lib/md/add-a-photo.d.ts", - "lib/md/add-alarm.d.ts", - "lib/md/add-alert.d.ts", - "lib/md/add-box.d.ts", - "lib/md/add-circle-outline.d.ts", - "lib/md/add-circle.d.ts", - "lib/md/add-location.d.ts", - "lib/md/add-shopping-cart.d.ts", - "lib/md/add-to-photos.d.ts", - "lib/md/add-to-queue.d.ts", - "lib/md/add.d.ts", - "lib/md/adjust.d.ts", - "lib/md/airline-seat-flat-angled.d.ts", - "lib/md/airline-seat-flat.d.ts", - "lib/md/airline-seat-individual-suite.d.ts", - "lib/md/airline-seat-legroom-extra.d.ts", - "lib/md/airline-seat-legroom-normal.d.ts", - "lib/md/airline-seat-legroom-reduced.d.ts", - "lib/md/airline-seat-recline-extra.d.ts", - "lib/md/airline-seat-recline-normal.d.ts", - "lib/md/airplanemode-active.d.ts", - "lib/md/airplanemode-inactive.d.ts", - "lib/md/airplay.d.ts", - "lib/md/airport-shuttle.d.ts", - "lib/md/alarm-add.d.ts", - "lib/md/alarm-off.d.ts", - "lib/md/alarm-on.d.ts", - "lib/md/alarm.d.ts", - "lib/md/album.d.ts", - "lib/md/all-inclusive.d.ts", - "lib/md/all-out.d.ts", - "lib/md/android.d.ts", - "lib/md/announcement.d.ts", - "lib/md/apps.d.ts", - "lib/md/archive.d.ts", - "lib/md/arrow-back.d.ts", - "lib/md/arrow-downward.d.ts", - "lib/md/arrow-drop-down-circle.d.ts", - "lib/md/arrow-drop-down.d.ts", - "lib/md/arrow-drop-up.d.ts", - "lib/md/arrow-forward.d.ts", - "lib/md/arrow-upward.d.ts", - "lib/md/art-track.d.ts", - "lib/md/aspect-ratio.d.ts", - "lib/md/assessment.d.ts", - "lib/md/assignment-ind.d.ts", - "lib/md/assignment-late.d.ts", - "lib/md/assignment-return.d.ts", - "lib/md/assignment-returned.d.ts", - "lib/md/assignment-turned-in.d.ts", - "lib/md/assignment.d.ts", - "lib/md/assistant-photo.d.ts", - "lib/md/assistant.d.ts", - "lib/md/attach-file.d.ts", - "lib/md/attach-money.d.ts", - "lib/md/attachment.d.ts", - "lib/md/audiotrack.d.ts", - "lib/md/autorenew.d.ts", - "lib/md/av-timer.d.ts", - "lib/md/backspace.d.ts", - "lib/md/backup.d.ts", - "lib/md/battery-alert.d.ts", - "lib/md/battery-charging-full.d.ts", - "lib/md/battery-full.d.ts", - "lib/md/battery-std.d.ts", - "lib/md/battery-unknown.d.ts", - "lib/md/beach-access.d.ts", - "lib/md/beenhere.d.ts", - "lib/md/block.d.ts", - "lib/md/bluetooth-audio.d.ts", - "lib/md/bluetooth-connected.d.ts", - "lib/md/bluetooth-disabled.d.ts", - "lib/md/bluetooth-searching.d.ts", - "lib/md/bluetooth.d.ts", - "lib/md/blur-circular.d.ts", - "lib/md/blur-linear.d.ts", - "lib/md/blur-off.d.ts", - "lib/md/blur-on.d.ts", - "lib/md/book.d.ts", - "lib/md/bookmark-outline.d.ts", - "lib/md/bookmark.d.ts", - "lib/md/border-all.d.ts", - "lib/md/border-bottom.d.ts", - "lib/md/border-clear.d.ts", - "lib/md/border-color.d.ts", - "lib/md/border-horizontal.d.ts", - "lib/md/border-inner.d.ts", - "lib/md/border-left.d.ts", - "lib/md/border-outer.d.ts", - "lib/md/border-right.d.ts", - "lib/md/border-style.d.ts", - "lib/md/border-top.d.ts", - "lib/md/border-vertical.d.ts", - "lib/md/branding-watermark.d.ts", - "lib/md/brightness-1.d.ts", - "lib/md/brightness-2.d.ts", - "lib/md/brightness-3.d.ts", - "lib/md/brightness-4.d.ts", - "lib/md/brightness-5.d.ts", - "lib/md/brightness-6.d.ts", - "lib/md/brightness-7.d.ts", - "lib/md/brightness-auto.d.ts", - "lib/md/brightness-high.d.ts", - "lib/md/brightness-low.d.ts", - "lib/md/brightness-medium.d.ts", - "lib/md/broken-image.d.ts", - "lib/md/brush.d.ts", - "lib/md/bubble-chart.d.ts", - "lib/md/bug-report.d.ts", - "lib/md/build.d.ts", - "lib/md/burst-mode.d.ts", - "lib/md/business-center.d.ts", - "lib/md/business.d.ts", - "lib/md/cached.d.ts", - "lib/md/cake.d.ts", - "lib/md/call-end.d.ts", - "lib/md/call-made.d.ts", - "lib/md/call-merge.d.ts", - "lib/md/call-missed-outgoing.d.ts", - "lib/md/call-missed.d.ts", - "lib/md/call-received.d.ts", - "lib/md/call-split.d.ts", - "lib/md/call-to-action.d.ts", - "lib/md/call.d.ts", - "lib/md/camera-alt.d.ts", - "lib/md/camera-enhance.d.ts", - "lib/md/camera-front.d.ts", - "lib/md/camera-rear.d.ts", - "lib/md/camera-roll.d.ts", - "lib/md/camera.d.ts", - "lib/md/cancel.d.ts", - "lib/md/card-giftcard.d.ts", - "lib/md/card-membership.d.ts", - "lib/md/card-travel.d.ts", - "lib/md/casino.d.ts", - "lib/md/cast-connected.d.ts", - "lib/md/cast.d.ts", - "lib/md/center-focus-strong.d.ts", - "lib/md/center-focus-weak.d.ts", - "lib/md/change-history.d.ts", - "lib/md/chat-bubble-outline.d.ts", - "lib/md/chat-bubble.d.ts", - "lib/md/chat.d.ts", - "lib/md/check-box-outline-blank.d.ts", - "lib/md/check-box.d.ts", - "lib/md/check-circle.d.ts", - "lib/md/check.d.ts", - "lib/md/chevron-left.d.ts", - "lib/md/chevron-right.d.ts", - "lib/md/child-care.d.ts", - "lib/md/child-friendly.d.ts", - "lib/md/chrome-reader-mode.d.ts", - "lib/md/class.d.ts", - "lib/md/clear-all.d.ts", - "lib/md/clear.d.ts", - "lib/md/close.d.ts", - "lib/md/closed-caption.d.ts", - "lib/md/cloud-circle.d.ts", - "lib/md/cloud-done.d.ts", - "lib/md/cloud-download.d.ts", - "lib/md/cloud-off.d.ts", - "lib/md/cloud-queue.d.ts", - "lib/md/cloud-upload.d.ts", - "lib/md/cloud.d.ts", - "lib/md/code.d.ts", - "lib/md/collections-bookmark.d.ts", - "lib/md/collections.d.ts", - "lib/md/color-lens.d.ts", - "lib/md/colorize.d.ts", - "lib/md/comment.d.ts", - "lib/md/compare-arrows.d.ts", - "lib/md/compare.d.ts", - "lib/md/computer.d.ts", - "lib/md/confirmation-number.d.ts", - "lib/md/contact-mail.d.ts", - "lib/md/contact-phone.d.ts", - "lib/md/contacts.d.ts", - "lib/md/content-copy.d.ts", - "lib/md/content-cut.d.ts", - "lib/md/content-paste.d.ts", - "lib/md/control-point-duplicate.d.ts", - "lib/md/control-point.d.ts", - "lib/md/copyright.d.ts", - "lib/md/create-new-folder.d.ts", - "lib/md/create.d.ts", - "lib/md/credit-card.d.ts", - "lib/md/crop-16-9.d.ts", - "lib/md/crop-3-2.d.ts", - "lib/md/crop-5-4.d.ts", - "lib/md/crop-7-5.d.ts", - "lib/md/crop-din.d.ts", - "lib/md/crop-free.d.ts", - "lib/md/crop-landscape.d.ts", - "lib/md/crop-original.d.ts", - "lib/md/crop-portrait.d.ts", - "lib/md/crop-rotate.d.ts", - "lib/md/crop-square.d.ts", - "lib/md/crop.d.ts", - "lib/md/dashboard.d.ts", - "lib/md/data-usage.d.ts", - "lib/md/date-range.d.ts", - "lib/md/dehaze.d.ts", - "lib/md/delete-forever.d.ts", - "lib/md/delete-sweep.d.ts", - "lib/md/delete.d.ts", - "lib/md/description.d.ts", - "lib/md/desktop-mac.d.ts", - "lib/md/desktop-windows.d.ts", - "lib/md/details.d.ts", - "lib/md/developer-board.d.ts", - "lib/md/developer-mode.d.ts", - "lib/md/device-hub.d.ts", - "lib/md/devices-other.d.ts", - "lib/md/devices.d.ts", - "lib/md/dialer-sip.d.ts", - "lib/md/dialpad.d.ts", - "lib/md/directions-bike.d.ts", - "lib/md/directions-boat.d.ts", - "lib/md/directions-bus.d.ts", - "lib/md/directions-car.d.ts", - "lib/md/directions-ferry.d.ts", - "lib/md/directions-railway.d.ts", - "lib/md/directions-run.d.ts", - "lib/md/directions-subway.d.ts", - "lib/md/directions-transit.d.ts", - "lib/md/directions-walk.d.ts", - "lib/md/directions.d.ts", - "lib/md/disc-full.d.ts", - "lib/md/dns.d.ts", - "lib/md/do-not-disturb-alt.d.ts", - "lib/md/do-not-disturb-off.d.ts", - "lib/md/do-not-disturb.d.ts", - "lib/md/dock.d.ts", - "lib/md/domain.d.ts", - "lib/md/done-all.d.ts", - "lib/md/done.d.ts", - "lib/md/donut-large.d.ts", - "lib/md/donut-small.d.ts", - "lib/md/drafts.d.ts", - "lib/md/drag-handle.d.ts", - "lib/md/drive-eta.d.ts", - "lib/md/dvr.d.ts", - "lib/md/edit-location.d.ts", - "lib/md/edit.d.ts", - "lib/md/eject.d.ts", - "lib/md/email.d.ts", - "lib/md/enhanced-encryption.d.ts", - "lib/md/equalizer.d.ts", - "lib/md/error-outline.d.ts", - "lib/md/error.d.ts", - "lib/md/euro-symbol.d.ts", - "lib/md/ev-station.d.ts", - "lib/md/event-available.d.ts", - "lib/md/event-busy.d.ts", - "lib/md/event-note.d.ts", - "lib/md/event-seat.d.ts", - "lib/md/event.d.ts", - "lib/md/exit-to-app.d.ts", - "lib/md/expand-less.d.ts", - "lib/md/expand-more.d.ts", - "lib/md/explicit.d.ts", - "lib/md/explore.d.ts", - "lib/md/exposure-minus-1.d.ts", - "lib/md/exposure-minus-2.d.ts", - "lib/md/exposure-neg-1.d.ts", - "lib/md/exposure-neg-2.d.ts", - "lib/md/exposure-plus-1.d.ts", - "lib/md/exposure-plus-2.d.ts", - "lib/md/exposure-zero.d.ts", - "lib/md/exposure.d.ts", - "lib/md/extension.d.ts", - "lib/md/face.d.ts", - "lib/md/fast-forward.d.ts", - "lib/md/fast-rewind.d.ts", - "lib/md/favorite-border.d.ts", - "lib/md/favorite-outline.d.ts", - "lib/md/favorite.d.ts", - "lib/md/featured-play-list.d.ts", - "lib/md/featured-video.d.ts", - "lib/md/feedback.d.ts", - "lib/md/fiber-dvr.d.ts", - "lib/md/fiber-manual-record.d.ts", - "lib/md/fiber-new.d.ts", - "lib/md/fiber-pin.d.ts", - "lib/md/fiber-smart-record.d.ts", - "lib/md/file-download.d.ts", - "lib/md/file-upload.d.ts", - "lib/md/filter-1.d.ts", - "lib/md/filter-2.d.ts", - "lib/md/filter-3.d.ts", - "lib/md/filter-4.d.ts", - "lib/md/filter-5.d.ts", - "lib/md/filter-6.d.ts", - "lib/md/filter-7.d.ts", - "lib/md/filter-8.d.ts", - "lib/md/filter-9-plus.d.ts", - "lib/md/filter-9.d.ts", - "lib/md/filter-b-and-w.d.ts", - "lib/md/filter-center-focus.d.ts", - "lib/md/filter-drama.d.ts", - "lib/md/filter-frames.d.ts", - "lib/md/filter-hdr.d.ts", - "lib/md/filter-list.d.ts", - "lib/md/filter-none.d.ts", - "lib/md/filter-tilt-shift.d.ts", - "lib/md/filter-vintage.d.ts", - "lib/md/filter.d.ts", - "lib/md/find-in-page.d.ts", - "lib/md/find-replace.d.ts", - "lib/md/fingerprint.d.ts", - "lib/md/first-page.d.ts", - "lib/md/fitness-center.d.ts", - "lib/md/flag.d.ts", - "lib/md/flare.d.ts", - "lib/md/flash-auto.d.ts", - "lib/md/flash-off.d.ts", - "lib/md/flash-on.d.ts", - "lib/md/flight-land.d.ts", - "lib/md/flight-takeoff.d.ts", - "lib/md/flight.d.ts", - "lib/md/flip-to-back.d.ts", - "lib/md/flip-to-front.d.ts", - "lib/md/flip.d.ts", - "lib/md/folder-open.d.ts", - "lib/md/folder-shared.d.ts", - "lib/md/folder-special.d.ts", - "lib/md/folder.d.ts", - "lib/md/font-download.d.ts", - "lib/md/format-align-center.d.ts", - "lib/md/format-align-justify.d.ts", - "lib/md/format-align-left.d.ts", - "lib/md/format-align-right.d.ts", - "lib/md/format-bold.d.ts", - "lib/md/format-clear.d.ts", - "lib/md/format-color-fill.d.ts", - "lib/md/format-color-reset.d.ts", - "lib/md/format-color-text.d.ts", - "lib/md/format-indent-decrease.d.ts", - "lib/md/format-indent-increase.d.ts", - "lib/md/format-italic.d.ts", - "lib/md/format-line-spacing.d.ts", - "lib/md/format-list-bulleted.d.ts", - "lib/md/format-list-numbered.d.ts", - "lib/md/format-paint.d.ts", - "lib/md/format-quote.d.ts", - "lib/md/format-shapes.d.ts", - "lib/md/format-size.d.ts", - "lib/md/format-strikethrough.d.ts", - "lib/md/format-textdirection-l-to-r.d.ts", - "lib/md/format-textdirection-r-to-l.d.ts", - "lib/md/format-underlined.d.ts", - "lib/md/forum.d.ts", - "lib/md/forward-10.d.ts", - "lib/md/forward-30.d.ts", - "lib/md/forward-5.d.ts", - "lib/md/forward.d.ts", - "lib/md/free-breakfast.d.ts", - "lib/md/fullscreen-exit.d.ts", - "lib/md/fullscreen.d.ts", - "lib/md/functions.d.ts", - "lib/md/g-translate.d.ts", - "lib/md/gamepad.d.ts", - "lib/md/games.d.ts", - "lib/md/gavel.d.ts", - "lib/md/gesture.d.ts", - "lib/md/get-app.d.ts", - "lib/md/gif.d.ts", - "lib/md/goat.d.ts", - "lib/md/golf-course.d.ts", - "lib/md/gps-fixed.d.ts", - "lib/md/gps-not-fixed.d.ts", - "lib/md/gps-off.d.ts", - "lib/md/grade.d.ts", - "lib/md/gradient.d.ts", - "lib/md/grain.d.ts", - "lib/md/graphic-eq.d.ts", - "lib/md/grid-off.d.ts", - "lib/md/grid-on.d.ts", - "lib/md/group-add.d.ts", - "lib/md/group-work.d.ts", - "lib/md/group.d.ts", - "lib/md/hd.d.ts", - "lib/md/hdr-off.d.ts", - "lib/md/hdr-on.d.ts", - "lib/md/hdr-strong.d.ts", - "lib/md/hdr-weak.d.ts", - "lib/md/headset-mic.d.ts", - "lib/md/headset.d.ts", - "lib/md/healing.d.ts", - "lib/md/hearing.d.ts", - "lib/md/help-outline.d.ts", - "lib/md/help.d.ts", - "lib/md/high-quality.d.ts", - "lib/md/highlight-off.d.ts", - "lib/md/highlight-remove.d.ts", - "lib/md/highlight.d.ts", - "lib/md/history.d.ts", - "lib/md/home.d.ts", - "lib/md/hot-tub.d.ts", - "lib/md/hotel.d.ts", - "lib/md/hourglass-empty.d.ts", - "lib/md/hourglass-full.d.ts", - "lib/md/http.d.ts", - "lib/md/https.d.ts", - "lib/md/image-aspect-ratio.d.ts", - "lib/md/image.d.ts", - "lib/md/import-contacts.d.ts", - "lib/md/import-export.d.ts", - "lib/md/important-devices.d.ts", - "lib/md/inbox.d.ts", - "lib/md/indeterminate-check-box.d.ts", - "lib/md/info-outline.d.ts", - "lib/md/info.d.ts", - "lib/md/input.d.ts", - "lib/md/insert-chart.d.ts", - "lib/md/insert-comment.d.ts", - "lib/md/insert-drive-file.d.ts", - "lib/md/insert-emoticon.d.ts", - "lib/md/insert-invitation.d.ts", - "lib/md/insert-link.d.ts", - "lib/md/insert-photo.d.ts", - "lib/md/invert-colors-off.d.ts", - "lib/md/invert-colors-on.d.ts", - "lib/md/invert-colors.d.ts", - "lib/md/iso.d.ts", - "lib/md/keyboard-arrow-down.d.ts", - "lib/md/keyboard-arrow-left.d.ts", - "lib/md/keyboard-arrow-right.d.ts", - "lib/md/keyboard-arrow-up.d.ts", - "lib/md/keyboard-backspace.d.ts", - "lib/md/keyboard-capslock.d.ts", - "lib/md/keyboard-control.d.ts", - "lib/md/keyboard-hide.d.ts", - "lib/md/keyboard-return.d.ts", - "lib/md/keyboard-tab.d.ts", - "lib/md/keyboard-voice.d.ts", - "lib/md/keyboard.d.ts", - "lib/md/kitchen.d.ts", - "lib/md/label-outline.d.ts", - "lib/md/label.d.ts", - "lib/md/landscape.d.ts", - "lib/md/language.d.ts", - "lib/md/laptop-chromebook.d.ts", - "lib/md/laptop-mac.d.ts", - "lib/md/laptop-windows.d.ts", - "lib/md/laptop.d.ts", - "lib/md/last-page.d.ts", - "lib/md/launch.d.ts", - "lib/md/layers-clear.d.ts", - "lib/md/layers.d.ts", - "lib/md/leak-add.d.ts", - "lib/md/leak-remove.d.ts", - "lib/md/lens.d.ts", - "lib/md/library-add.d.ts", - "lib/md/library-books.d.ts", - "lib/md/library-music.d.ts", - "lib/md/lightbulb-outline.d.ts", - "lib/md/line-style.d.ts", - "lib/md/line-weight.d.ts", - "lib/md/linear-scale.d.ts", - "lib/md/link.d.ts", - "lib/md/linked-camera.d.ts", - "lib/md/list.d.ts", - "lib/md/live-help.d.ts", - "lib/md/live-tv.d.ts", - "lib/md/local-airport.d.ts", - "lib/md/local-atm.d.ts", - "lib/md/local-attraction.d.ts", - "lib/md/local-bar.d.ts", - "lib/md/local-cafe.d.ts", - "lib/md/local-car-wash.d.ts", - "lib/md/local-convenience-store.d.ts", - "lib/md/local-drink.d.ts", - "lib/md/local-florist.d.ts", - "lib/md/local-gas-station.d.ts", - "lib/md/local-grocery-store.d.ts", - "lib/md/local-hospital.d.ts", - "lib/md/local-hotel.d.ts", - "lib/md/local-laundry-service.d.ts", - "lib/md/local-library.d.ts", - "lib/md/local-mall.d.ts", - "lib/md/local-movies.d.ts", - "lib/md/local-offer.d.ts", - "lib/md/local-parking.d.ts", - "lib/md/local-pharmacy.d.ts", - "lib/md/local-phone.d.ts", - "lib/md/local-pizza.d.ts", - "lib/md/local-play.d.ts", - "lib/md/local-post-office.d.ts", - "lib/md/local-print-shop.d.ts", - "lib/md/local-restaurant.d.ts", - "lib/md/local-see.d.ts", - "lib/md/local-shipping.d.ts", - "lib/md/local-taxi.d.ts", - "lib/md/location-city.d.ts", - "lib/md/location-disabled.d.ts", - "lib/md/location-history.d.ts", - "lib/md/location-off.d.ts", - "lib/md/location-on.d.ts", - "lib/md/location-searching.d.ts", - "lib/md/lock-open.d.ts", - "lib/md/lock-outline.d.ts", - "lib/md/lock.d.ts", - "lib/md/looks-3.d.ts", - "lib/md/looks-4.d.ts", - "lib/md/looks-5.d.ts", - "lib/md/looks-6.d.ts", - "lib/md/looks-one.d.ts", - "lib/md/looks-two.d.ts", - "lib/md/looks.d.ts", - "lib/md/loop.d.ts", - "lib/md/loupe.d.ts", - "lib/md/low-priority.d.ts", - "lib/md/loyalty.d.ts", - "lib/md/mail-outline.d.ts", - "lib/md/mail.d.ts", - "lib/md/map.d.ts", - "lib/md/markunread-mailbox.d.ts", - "lib/md/markunread.d.ts", - "lib/md/memory.d.ts", - "lib/md/menu.d.ts", - "lib/md/merge-type.d.ts", - "lib/md/message.d.ts", - "lib/md/mic-none.d.ts", - "lib/md/mic-off.d.ts", - "lib/md/mic.d.ts", - "lib/md/mms.d.ts", - "lib/md/mode-comment.d.ts", - "lib/md/mode-edit.d.ts", - "lib/md/monetization-on.d.ts", - "lib/md/money-off.d.ts", - "lib/md/monochrome-photos.d.ts", - "lib/md/mood-bad.d.ts", - "lib/md/mood.d.ts", - "lib/md/more-horiz.d.ts", - "lib/md/more-vert.d.ts", - "lib/md/more.d.ts", - "lib/md/motorcycle.d.ts", - "lib/md/mouse.d.ts", - "lib/md/move-to-inbox.d.ts", - "lib/md/movie-creation.d.ts", - "lib/md/movie-filter.d.ts", - "lib/md/movie.d.ts", - "lib/md/multiline-chart.d.ts", - "lib/md/music-note.d.ts", - "lib/md/music-video.d.ts", - "lib/md/my-location.d.ts", - "lib/md/nature-people.d.ts", - "lib/md/nature.d.ts", - "lib/md/navigate-before.d.ts", - "lib/md/navigate-next.d.ts", - "lib/md/navigation.d.ts", - "lib/md/near-me.d.ts", - "lib/md/network-cell.d.ts", - "lib/md/network-check.d.ts", - "lib/md/network-locked.d.ts", - "lib/md/network-wifi.d.ts", - "lib/md/new-releases.d.ts", - "lib/md/next-week.d.ts", - "lib/md/nfc.d.ts", - "lib/md/no-encryption.d.ts", - "lib/md/no-sim.d.ts", - "lib/md/not-interested.d.ts", - "lib/md/note-add.d.ts", - "lib/md/note.d.ts", - "lib/md/notifications-active.d.ts", - "lib/md/notifications-none.d.ts", - "lib/md/notifications-off.d.ts", - "lib/md/notifications-paused.d.ts", - "lib/md/notifications.d.ts", - "lib/md/now-wallpaper.d.ts", - "lib/md/now-widgets.d.ts", - "lib/md/offline-pin.d.ts", - "lib/md/ondemand-video.d.ts", - "lib/md/opacity.d.ts", - "lib/md/open-in-browser.d.ts", - "lib/md/open-in-new.d.ts", - "lib/md/open-with.d.ts", - "lib/md/pages.d.ts", - "lib/md/pageview.d.ts", - "lib/md/palette.d.ts", - "lib/md/pan-tool.d.ts", - "lib/md/panorama-fish-eye.d.ts", - "lib/md/panorama-horizontal.d.ts", - "lib/md/panorama-vertical.d.ts", - "lib/md/panorama-wide-angle.d.ts", - "lib/md/panorama.d.ts", - "lib/md/party-mode.d.ts", - "lib/md/pause-circle-filled.d.ts", - "lib/md/pause-circle-outline.d.ts", - "lib/md/pause.d.ts", - "lib/md/payment.d.ts", - "lib/md/people-outline.d.ts", - "lib/md/people.d.ts", - "lib/md/perm-camera-mic.d.ts", - "lib/md/perm-contact-calendar.d.ts", - "lib/md/perm-data-setting.d.ts", - "lib/md/perm-device-information.d.ts", - "lib/md/perm-identity.d.ts", - "lib/md/perm-media.d.ts", - "lib/md/perm-phone-msg.d.ts", - "lib/md/perm-scan-wifi.d.ts", - "lib/md/person-add.d.ts", - "lib/md/person-outline.d.ts", - "lib/md/person-pin-circle.d.ts", - "lib/md/person-pin.d.ts", - "lib/md/person.d.ts", - "lib/md/personal-video.d.ts", - "lib/md/pets.d.ts", - "lib/md/phone-android.d.ts", - "lib/md/phone-bluetooth-speaker.d.ts", - "lib/md/phone-forwarded.d.ts", - "lib/md/phone-in-talk.d.ts", - "lib/md/phone-iphone.d.ts", - "lib/md/phone-locked.d.ts", - "lib/md/phone-missed.d.ts", - "lib/md/phone-paused.d.ts", - "lib/md/phone.d.ts", - "lib/md/phonelink-erase.d.ts", - "lib/md/phonelink-lock.d.ts", - "lib/md/phonelink-off.d.ts", - "lib/md/phonelink-ring.d.ts", - "lib/md/phonelink-setup.d.ts", - "lib/md/phonelink.d.ts", - "lib/md/photo-album.d.ts", - "lib/md/photo-camera.d.ts", - "lib/md/photo-filter.d.ts", - "lib/md/photo-library.d.ts", - "lib/md/photo-size-select-actual.d.ts", - "lib/md/photo-size-select-large.d.ts", - "lib/md/photo-size-select-small.d.ts", - "lib/md/photo.d.ts", - "lib/md/picture-as-pdf.d.ts", - "lib/md/picture-in-picture-alt.d.ts", - "lib/md/picture-in-picture.d.ts", - "lib/md/pie-chart-outlined.d.ts", - "lib/md/pie-chart.d.ts", - "lib/md/pin-drop.d.ts", - "lib/md/place.d.ts", - "lib/md/play-arrow.d.ts", - "lib/md/play-circle-filled.d.ts", - "lib/md/play-circle-outline.d.ts", - "lib/md/play-for-work.d.ts", - "lib/md/playlist-add-check.d.ts", - "lib/md/playlist-add.d.ts", - "lib/md/playlist-play.d.ts", - "lib/md/plus-one.d.ts", - "lib/md/poll.d.ts", - "lib/md/polymer.d.ts", - "lib/md/pool.d.ts", - "lib/md/portable-wifi-off.d.ts", - "lib/md/portrait.d.ts", - "lib/md/power-input.d.ts", - "lib/md/power-settings-new.d.ts", - "lib/md/power.d.ts", - "lib/md/pregnant-woman.d.ts", - "lib/md/present-to-all.d.ts", - "lib/md/print.d.ts", - "lib/md/priority-high.d.ts", - "lib/md/public.d.ts", - "lib/md/publish.d.ts", - "lib/md/query-builder.d.ts", - "lib/md/question-answer.d.ts", - "lib/md/queue-music.d.ts", - "lib/md/queue-play-next.d.ts", - "lib/md/queue.d.ts", - "lib/md/radio-button-checked.d.ts", - "lib/md/radio-button-unchecked.d.ts", - "lib/md/radio.d.ts", - "lib/md/rate-review.d.ts", - "lib/md/receipt.d.ts", - "lib/md/recent-actors.d.ts", - "lib/md/record-voice-over.d.ts", - "lib/md/redeem.d.ts", - "lib/md/redo.d.ts", - "lib/md/refresh.d.ts", - "lib/md/remove-circle-outline.d.ts", - "lib/md/remove-circle.d.ts", - "lib/md/remove-from-queue.d.ts", - "lib/md/remove-red-eye.d.ts", - "lib/md/remove-shopping-cart.d.ts", - "lib/md/remove.d.ts", - "lib/md/reorder.d.ts", - "lib/md/repeat-one.d.ts", - "lib/md/repeat.d.ts", - "lib/md/replay-10.d.ts", - "lib/md/replay-30.d.ts", - "lib/md/replay-5.d.ts", - "lib/md/replay.d.ts", - "lib/md/reply-all.d.ts", - "lib/md/reply.d.ts", - "lib/md/report-problem.d.ts", - "lib/md/report.d.ts", - "lib/md/restaurant-menu.d.ts", - "lib/md/restaurant.d.ts", - "lib/md/restore-page.d.ts", - "lib/md/restore.d.ts", - "lib/md/ring-volume.d.ts", - "lib/md/room-service.d.ts", - "lib/md/room.d.ts", - "lib/md/rotate-90-degrees-ccw.d.ts", - "lib/md/rotate-left.d.ts", - "lib/md/rotate-right.d.ts", - "lib/md/rounded-corner.d.ts", - "lib/md/router.d.ts", - "lib/md/rowing.d.ts", - "lib/md/rss-feed.d.ts", - "lib/md/rv-hookup.d.ts", - "lib/md/satellite.d.ts", - "lib/md/save.d.ts", - "lib/md/scanner.d.ts", - "lib/md/schedule.d.ts", - "lib/md/school.d.ts", - "lib/md/screen-lock-landscape.d.ts", - "lib/md/screen-lock-portrait.d.ts", - "lib/md/screen-lock-rotation.d.ts", - "lib/md/screen-rotation.d.ts", - "lib/md/screen-share.d.ts", - "lib/md/sd-card.d.ts", - "lib/md/sd-storage.d.ts", - "lib/md/search.d.ts", - "lib/md/security.d.ts", - "lib/md/select-all.d.ts", - "lib/md/send.d.ts", - "lib/md/sentiment-dissatisfied.d.ts", - "lib/md/sentiment-neutral.d.ts", - "lib/md/sentiment-satisfied.d.ts", - "lib/md/sentiment-very-dissatisfied.d.ts", - "lib/md/sentiment-very-satisfied.d.ts", - "lib/md/settings-applications.d.ts", - "lib/md/settings-backup-restore.d.ts", - "lib/md/settings-bluetooth.d.ts", - "lib/md/settings-brightness.d.ts", - "lib/md/settings-cell.d.ts", - "lib/md/settings-ethernet.d.ts", - "lib/md/settings-input-antenna.d.ts", - "lib/md/settings-input-component.d.ts", - "lib/md/settings-input-composite.d.ts", - "lib/md/settings-input-hdmi.d.ts", - "lib/md/settings-input-svideo.d.ts", - "lib/md/settings-overscan.d.ts", - "lib/md/settings-phone.d.ts", - "lib/md/settings-power.d.ts", - "lib/md/settings-remote.d.ts", - "lib/md/settings-system-daydream.d.ts", - "lib/md/settings-voice.d.ts", - "lib/md/settings.d.ts", - "lib/md/share.d.ts", - "lib/md/shop-two.d.ts", - "lib/md/shop.d.ts", - "lib/md/shopping-basket.d.ts", - "lib/md/shopping-cart.d.ts", - "lib/md/short-text.d.ts", - "lib/md/show-chart.d.ts", - "lib/md/shuffle.d.ts", - "lib/md/signal-cellular-4-bar.d.ts", - "lib/md/signal-cellular-connected-no-internet-4-bar.d.ts", - "lib/md/signal-cellular-no-sim.d.ts", - "lib/md/signal-cellular-null.d.ts", - "lib/md/signal-cellular-off.d.ts", - "lib/md/signal-wifi-4-bar-lock.d.ts", - "lib/md/signal-wifi-4-bar.d.ts", - "lib/md/signal-wifi-off.d.ts", - "lib/md/sim-card-alert.d.ts", - "lib/md/sim-card.d.ts", - "lib/md/skip-next.d.ts", - "lib/md/skip-previous.d.ts", - "lib/md/slideshow.d.ts", - "lib/md/slow-motion-video.d.ts", - "lib/md/smartphone.d.ts", - "lib/md/smoke-free.d.ts", - "lib/md/smoking-rooms.d.ts", - "lib/md/sms-failed.d.ts", - "lib/md/sms.d.ts", - "lib/md/snooze.d.ts", - "lib/md/sort-by-alpha.d.ts", - "lib/md/sort.d.ts", - "lib/md/spa.d.ts", - "lib/md/space-bar.d.ts", - "lib/md/speaker-group.d.ts", - "lib/md/speaker-notes-off.d.ts", - "lib/md/speaker-notes.d.ts", - "lib/md/speaker-phone.d.ts", - "lib/md/speaker.d.ts", - "lib/md/spellcheck.d.ts", - "lib/md/star-border.d.ts", - "lib/md/star-half.d.ts", - "lib/md/star-outline.d.ts", - "lib/md/star.d.ts", - "lib/md/stars.d.ts", - "lib/md/stay-current-landscape.d.ts", - "lib/md/stay-current-portrait.d.ts", - "lib/md/stay-primary-landscape.d.ts", - "lib/md/stay-primary-portrait.d.ts", - "lib/md/stop-screen-share.d.ts", - "lib/md/stop.d.ts", - "lib/md/storage.d.ts", - "lib/md/store-mall-directory.d.ts", - "lib/md/store.d.ts", - "lib/md/straighten.d.ts", - "lib/md/streetview.d.ts", - "lib/md/strikethrough-s.d.ts", - "lib/md/style.d.ts", - "lib/md/subdirectory-arrow-left.d.ts", - "lib/md/subdirectory-arrow-right.d.ts", - "lib/md/subject.d.ts", - "lib/md/subscriptions.d.ts", - "lib/md/subtitles.d.ts", - "lib/md/subway.d.ts", - "lib/md/supervisor-account.d.ts", - "lib/md/surround-sound.d.ts", - "lib/md/swap-calls.d.ts", - "lib/md/swap-horiz.d.ts", - "lib/md/swap-vert.d.ts", - "lib/md/swap-vertical-circle.d.ts", - "lib/md/switch-camera.d.ts", - "lib/md/switch-video.d.ts", - "lib/md/sync-disabled.d.ts", - "lib/md/sync-problem.d.ts", - "lib/md/sync.d.ts", - "lib/md/system-update-alt.d.ts", - "lib/md/system-update.d.ts", - "lib/md/tab-unselected.d.ts", - "lib/md/tab.d.ts", - "lib/md/tablet-android.d.ts", - "lib/md/tablet-mac.d.ts", - "lib/md/tablet.d.ts", - "lib/md/tag-faces.d.ts", - "lib/md/tap-and-play.d.ts", - "lib/md/terrain.d.ts", - "lib/md/text-fields.d.ts", - "lib/md/text-format.d.ts", - "lib/md/textsms.d.ts", - "lib/md/texture.d.ts", - "lib/md/theaters.d.ts", - "lib/md/thumb-down.d.ts", - "lib/md/thumb-up.d.ts", - "lib/md/thumbs-up-down.d.ts", - "lib/md/time-to-leave.d.ts", - "lib/md/timelapse.d.ts", - "lib/md/timeline.d.ts", - "lib/md/timer-10.d.ts", - "lib/md/timer-3.d.ts", - "lib/md/timer-off.d.ts", - "lib/md/timer.d.ts", - "lib/md/title.d.ts", - "lib/md/toc.d.ts", - "lib/md/today.d.ts", - "lib/md/toll.d.ts", - "lib/md/tonality.d.ts", - "lib/md/touch-app.d.ts", - "lib/md/toys.d.ts", - "lib/md/track-changes.d.ts", - "lib/md/traffic.d.ts", - "lib/md/train.d.ts", - "lib/md/tram.d.ts", - "lib/md/transfer-within-a-station.d.ts", - "lib/md/transform.d.ts", - "lib/md/translate.d.ts", - "lib/md/trending-down.d.ts", - "lib/md/trending-flat.d.ts", - "lib/md/trending-neutral.d.ts", - "lib/md/trending-up.d.ts", - "lib/md/tune.d.ts", - "lib/md/turned-in-not.d.ts", - "lib/md/turned-in.d.ts", - "lib/md/tv.d.ts", - "lib/md/unarchive.d.ts", - "lib/md/undo.d.ts", - "lib/md/unfold-less.d.ts", - "lib/md/unfold-more.d.ts", - "lib/md/update.d.ts", - "lib/md/usb.d.ts", - "lib/md/verified-user.d.ts", - "lib/md/vertical-align-bottom.d.ts", - "lib/md/vertical-align-center.d.ts", - "lib/md/vertical-align-top.d.ts", - "lib/md/vibration.d.ts", - "lib/md/video-call.d.ts", - "lib/md/video-collection.d.ts", - "lib/md/video-label.d.ts", - "lib/md/video-library.d.ts", - "lib/md/videocam-off.d.ts", - "lib/md/videocam.d.ts", - "lib/md/videogame-asset.d.ts", - "lib/md/view-agenda.d.ts", - "lib/md/view-array.d.ts", - "lib/md/view-carousel.d.ts", - "lib/md/view-column.d.ts", - "lib/md/view-comfortable.d.ts", - "lib/md/view-comfy.d.ts", - "lib/md/view-compact.d.ts", - "lib/md/view-day.d.ts", - "lib/md/view-headline.d.ts", - "lib/md/view-list.d.ts", - "lib/md/view-module.d.ts", - "lib/md/view-quilt.d.ts", - "lib/md/view-stream.d.ts", - "lib/md/view-week.d.ts", - "lib/md/vignette.d.ts", - "lib/md/visibility-off.d.ts", - "lib/md/visibility.d.ts", - "lib/md/voice-chat.d.ts", - "lib/md/voicemail.d.ts", - "lib/md/volume-down.d.ts", - "lib/md/volume-mute.d.ts", - "lib/md/volume-off.d.ts", - "lib/md/volume-up.d.ts", - "lib/md/vpn-key.d.ts", - "lib/md/vpn-lock.d.ts", - "lib/md/wallpaper.d.ts", - "lib/md/warning.d.ts", - "lib/md/watch-later.d.ts", - "lib/md/watch.d.ts", - "lib/md/wb-auto.d.ts", - "lib/md/wb-cloudy.d.ts", - "lib/md/wb-incandescent.d.ts", - "lib/md/wb-iridescent.d.ts", - "lib/md/wb-sunny.d.ts", - "lib/md/wc.d.ts", - "lib/md/web-asset.d.ts", - "lib/md/web.d.ts", - "lib/md/weekend.d.ts", - "lib/md/whatshot.d.ts", - "lib/md/widgets.d.ts", - "lib/md/wifi-lock.d.ts", - "lib/md/wifi-tethering.d.ts", - "lib/md/wifi.d.ts", - "lib/md/work.d.ts", - "lib/md/wrap-text.d.ts", - "lib/md/youtube-searched-for.d.ts", - "lib/md/zoom-in.d.ts", - "lib/md/zoom-out-map.d.ts", - "lib/md/zoom-out.d.ts", - "lib/ti/adjust-brightness.d.ts", - "lib/ti/adjust-contrast.d.ts", - "lib/ti/anchor-outline.d.ts", - "lib/ti/anchor.d.ts", - "lib/ti/archive.d.ts", - "lib/ti/arrow-back-outline.d.ts", - "lib/ti/arrow-back.d.ts", - "lib/ti/arrow-down-outline.d.ts", - "lib/ti/arrow-down-thick.d.ts", - "lib/ti/arrow-down.d.ts", - "lib/ti/arrow-forward-outline.d.ts", - "lib/ti/arrow-forward.d.ts", - "lib/ti/arrow-left-outline.d.ts", - "lib/ti/arrow-left-thick.d.ts", - "lib/ti/arrow-left.d.ts", - "lib/ti/arrow-loop-outline.d.ts", - "lib/ti/arrow-loop.d.ts", - "lib/ti/arrow-maximise-outline.d.ts", - "lib/ti/arrow-maximise.d.ts", - "lib/ti/arrow-minimise-outline.d.ts", - "lib/ti/arrow-minimise.d.ts", - "lib/ti/arrow-move-outline.d.ts", - "lib/ti/arrow-move.d.ts", - "lib/ti/arrow-repeat-outline.d.ts", - "lib/ti/arrow-repeat.d.ts", - "lib/ti/arrow-right-outline.d.ts", - "lib/ti/arrow-right-thick.d.ts", - "lib/ti/arrow-right.d.ts", - "lib/ti/arrow-shuffle.d.ts", - "lib/ti/arrow-sorted-down.d.ts", - "lib/ti/arrow-sorted-up.d.ts", - "lib/ti/arrow-sync-outline.d.ts", - "lib/ti/arrow-sync.d.ts", - "lib/ti/arrow-unsorted.d.ts", - "lib/ti/arrow-up-outline.d.ts", - "lib/ti/arrow-up-thick.d.ts", - "lib/ti/arrow-up.d.ts", - "lib/ti/at.d.ts", - "lib/ti/attachment-outline.d.ts", - "lib/ti/attachment.d.ts", - "lib/ti/backspace-outline.d.ts", - "lib/ti/backspace.d.ts", - "lib/ti/battery-charge.d.ts", - "lib/ti/battery-full.d.ts", - "lib/ti/battery-high.d.ts", - "lib/ti/battery-low.d.ts", - "lib/ti/battery-mid.d.ts", - "lib/ti/beaker.d.ts", - "lib/ti/beer.d.ts", - "lib/ti/bell.d.ts", - "lib/ti/book.d.ts", - "lib/ti/bookmark.d.ts", - "lib/ti/briefcase.d.ts", - "lib/ti/brush.d.ts", - "lib/ti/business-card.d.ts", - "lib/ti/calculator.d.ts", - "lib/ti/calendar-outline.d.ts", - "lib/ti/calendar.d.ts", - "lib/ti/calender-outline.d.ts", - "lib/ti/calender.d.ts", - "lib/ti/camera-outline.d.ts", - "lib/ti/camera.d.ts", - "lib/ti/cancel-outline.d.ts", - "lib/ti/cancel.d.ts", - "lib/ti/chart-area-outline.d.ts", - "lib/ti/chart-area.d.ts", - "lib/ti/chart-bar-outline.d.ts", - "lib/ti/chart-bar.d.ts", - "lib/ti/chart-line-outline.d.ts", - "lib/ti/chart-line.d.ts", - "lib/ti/chart-pie-outline.d.ts", - "lib/ti/chart-pie.d.ts", - "lib/ti/chevron-left-outline.d.ts", - "lib/ti/chevron-left.d.ts", - "lib/ti/chevron-right-outline.d.ts", - "lib/ti/chevron-right.d.ts", - "lib/ti/clipboard.d.ts", - "lib/ti/cloud-storage-outline.d.ts", - "lib/ti/cloud-storage.d.ts", - "lib/ti/code-outline.d.ts", - "lib/ti/code.d.ts", - "lib/ti/coffee.d.ts", - "lib/ti/cog-outline.d.ts", - "lib/ti/cog.d.ts", - "lib/ti/compass.d.ts", - "lib/ti/contacts.d.ts", - "lib/ti/credit-card.d.ts", - "lib/ti/cross.d.ts", - "lib/ti/css3.d.ts", - "lib/ti/database.d.ts", - "lib/ti/delete-outline.d.ts", - "lib/ti/delete.d.ts", - "lib/ti/device-desktop.d.ts", - "lib/ti/device-laptop.d.ts", - "lib/ti/device-phone.d.ts", - "lib/ti/device-tablet.d.ts", - "lib/ti/directions.d.ts", - "lib/ti/divide-outline.d.ts", - "lib/ti/divide.d.ts", - "lib/ti/document-add.d.ts", - "lib/ti/document-delete.d.ts", - "lib/ti/document-text.d.ts", - "lib/ti/document.d.ts", - "lib/ti/download-outline.d.ts", - "lib/ti/download.d.ts", - "lib/ti/dropbox.d.ts", - "lib/ti/edit.d.ts", - "lib/ti/eject-outline.d.ts", - "lib/ti/eject.d.ts", - "lib/ti/equals-outline.d.ts", - "lib/ti/equals.d.ts", - "lib/ti/export-outline.d.ts", - "lib/ti/export.d.ts", - "lib/ti/eye-outline.d.ts", - "lib/ti/eye.d.ts", - "lib/ti/feather.d.ts", - "lib/ti/film.d.ts", - "lib/ti/filter.d.ts", - "lib/ti/flag-outline.d.ts", - "lib/ti/flag.d.ts", - "lib/ti/flash-outline.d.ts", - "lib/ti/flash.d.ts", - "lib/ti/flow-children.d.ts", - "lib/ti/flow-merge.d.ts", - "lib/ti/flow-parallel.d.ts", - "lib/ti/flow-switch.d.ts", - "lib/ti/folder-add.d.ts", - "lib/ti/folder-delete.d.ts", - "lib/ti/folder-open.d.ts", - "lib/ti/folder.d.ts", - "lib/ti/gift.d.ts", - "lib/ti/globe-outline.d.ts", - "lib/ti/globe.d.ts", - "lib/ti/group-outline.d.ts", - "lib/ti/group.d.ts", - "lib/ti/headphones.d.ts", - "lib/ti/heart-full-outline.d.ts", - "lib/ti/heart-half-outline.d.ts", - "lib/ti/heart-outline.d.ts", - "lib/ti/heart.d.ts", - "lib/ti/home-outline.d.ts", - "lib/ti/home.d.ts", - "lib/ti/html5.d.ts", - "lib/ti/image-outline.d.ts", - "lib/ti/image.d.ts", - "lib/ti/infinity-outline.d.ts", - "lib/ti/infinity.d.ts", - "lib/ti/info-large-outline.d.ts", - "lib/ti/info-large.d.ts", - "lib/ti/info-outline.d.ts", - "lib/ti/info.d.ts", - "lib/ti/input-checked-outline.d.ts", - "lib/ti/input-checked.d.ts", - "lib/ti/key-outline.d.ts", - "lib/ti/key.d.ts", - "lib/ti/keyboard.d.ts", - "lib/ti/leaf.d.ts", - "lib/ti/lightbulb.d.ts", - "lib/ti/link-outline.d.ts", - "lib/ti/link.d.ts", - "lib/ti/location-arrow-outline.d.ts", - "lib/ti/location-arrow.d.ts", - "lib/ti/location-outline.d.ts", - "lib/ti/location.d.ts", - "lib/ti/lock-closed-outline.d.ts", - "lib/ti/lock-closed.d.ts", - "lib/ti/lock-open-outline.d.ts", - "lib/ti/lock-open.d.ts", - "lib/ti/mail.d.ts", - "lib/ti/map.d.ts", - "lib/ti/media-eject-outline.d.ts", - "lib/ti/media-eject.d.ts", - "lib/ti/media-fast-forward-outline.d.ts", - "lib/ti/media-fast-forward.d.ts", - "lib/ti/media-pause-outline.d.ts", - "lib/ti/media-pause.d.ts", - "lib/ti/media-play-outline.d.ts", - "lib/ti/media-play-reverse-outline.d.ts", - "lib/ti/media-play-reverse.d.ts", - "lib/ti/media-play.d.ts", - "lib/ti/media-record-outline.d.ts", - "lib/ti/media-record.d.ts", - "lib/ti/media-rewind-outline.d.ts", - "lib/ti/media-rewind.d.ts", - "lib/ti/media-stop-outline.d.ts", - "lib/ti/media-stop.d.ts", - "lib/ti/message-typing.d.ts", - "lib/ti/message.d.ts", - "lib/ti/messages.d.ts", - "lib/ti/microphone-outline.d.ts", - "lib/ti/microphone.d.ts", - "lib/ti/minus-outline.d.ts", - "lib/ti/minus.d.ts", - "lib/ti/mortar-board.d.ts", - "lib/ti/news.d.ts", - "lib/ti/notes-outline.d.ts", - "lib/ti/notes.d.ts", - "lib/ti/pen.d.ts", - "lib/ti/pencil.d.ts", - "lib/ti/phone-outline.d.ts", - "lib/ti/phone.d.ts", - "lib/ti/pi-outline.d.ts", - "lib/ti/pi.d.ts", - "lib/ti/pin-outline.d.ts", - "lib/ti/pin.d.ts", - "lib/ti/pipette.d.ts", - "lib/ti/plane-outline.d.ts", - "lib/ti/plane.d.ts", - "lib/ti/plug.d.ts", - "lib/ti/plus-outline.d.ts", - "lib/ti/plus.d.ts", - "lib/ti/point-of-interest-outline.d.ts", - "lib/ti/point-of-interest.d.ts", - "lib/ti/power-outline.d.ts", - "lib/ti/power.d.ts", - "lib/ti/printer.d.ts", - "lib/ti/puzzle-outline.d.ts", - "lib/ti/puzzle.d.ts", - "lib/ti/radar-outline.d.ts", - "lib/ti/radar.d.ts", - "lib/ti/refresh-outline.d.ts", - "lib/ti/refresh.d.ts", - "lib/ti/rss-outline.d.ts", - "lib/ti/rss.d.ts", - "lib/ti/scissors-outline.d.ts", - "lib/ti/scissors.d.ts", - "lib/ti/shopping-bag.d.ts", - "lib/ti/shopping-cart.d.ts", - "lib/ti/social-at-circular.d.ts", - "lib/ti/social-dribbble-circular.d.ts", - "lib/ti/social-dribbble.d.ts", - "lib/ti/social-facebook-circular.d.ts", - "lib/ti/social-facebook.d.ts", - "lib/ti/social-flickr-circular.d.ts", - "lib/ti/social-flickr.d.ts", - "lib/ti/social-github-circular.d.ts", - "lib/ti/social-github.d.ts", - "lib/ti/social-google-plus-circular.d.ts", - "lib/ti/social-google-plus.d.ts", - "lib/ti/social-instagram-circular.d.ts", - "lib/ti/social-instagram.d.ts", - "lib/ti/social-last-fm-circular.d.ts", - "lib/ti/social-last-fm.d.ts", - "lib/ti/social-linkedin-circular.d.ts", - "lib/ti/social-linkedin.d.ts", - "lib/ti/social-pinterest-circular.d.ts", - "lib/ti/social-pinterest.d.ts", - "lib/ti/social-skype-outline.d.ts", - "lib/ti/social-skype.d.ts", - "lib/ti/social-tumbler-circular.d.ts", - "lib/ti/social-tumbler.d.ts", - "lib/ti/social-twitter-circular.d.ts", - "lib/ti/social-twitter.d.ts", - "lib/ti/social-vimeo-circular.d.ts", - "lib/ti/social-vimeo.d.ts", - "lib/ti/social-youtube-circular.d.ts", - "lib/ti/social-youtube.d.ts", - "lib/ti/sort-alphabetically-outline.d.ts", - "lib/ti/sort-alphabetically.d.ts", - "lib/ti/sort-numerically-outline.d.ts", - "lib/ti/sort-numerically.d.ts", - "lib/ti/spanner-outline.d.ts", - "lib/ti/spanner.d.ts", - "lib/ti/spiral.d.ts", - "lib/ti/star-full-outline.d.ts", - "lib/ti/star-half-outline.d.ts", - "lib/ti/star-half.d.ts", - "lib/ti/star-outline.d.ts", - "lib/ti/star.d.ts", - "lib/ti/starburst-outline.d.ts", - "lib/ti/starburst.d.ts", - "lib/ti/stopwatch.d.ts", - "lib/ti/support.d.ts", - "lib/ti/tabs-outline.d.ts", - "lib/ti/tag.d.ts", - "lib/ti/tags.d.ts", - "lib/ti/th-large-outline.d.ts", - "lib/ti/th-large.d.ts", - "lib/ti/th-list-outline.d.ts", - "lib/ti/th-list.d.ts", - "lib/ti/th-menu-outline.d.ts", - "lib/ti/th-menu.d.ts", - "lib/ti/th-small-outline.d.ts", - "lib/ti/th-small.d.ts", - "lib/ti/thermometer.d.ts", - "lib/ti/thumbs-down.d.ts", - "lib/ti/thumbs-ok.d.ts", - "lib/ti/thumbs-up.d.ts", - "lib/ti/tick-outline.d.ts", - "lib/ti/tick.d.ts", - "lib/ti/ticket.d.ts", - "lib/ti/time.d.ts", - "lib/ti/times-outline.d.ts", - "lib/ti/times.d.ts", - "lib/ti/trash.d.ts", - "lib/ti/tree.d.ts", - "lib/ti/upload-outline.d.ts", - "lib/ti/upload.d.ts", - "lib/ti/user-add-outline.d.ts", - "lib/ti/user-add.d.ts", - "lib/ti/user-delete-outline.d.ts", - "lib/ti/user-delete.d.ts", - "lib/ti/user-outline.d.ts", - "lib/ti/user.d.ts", - "lib/ti/vendor-android.d.ts", - "lib/ti/vendor-apple.d.ts", - "lib/ti/vendor-microsoft.d.ts", - "lib/ti/video-outline.d.ts", - "lib/ti/video.d.ts", - "lib/ti/volume-down.d.ts", - "lib/ti/volume-mute.d.ts", - "lib/ti/volume-up.d.ts", - "lib/ti/volume.d.ts", - "lib/ti/warning-outline.d.ts", - "lib/ti/warning.d.ts", - "lib/ti/watch.d.ts", - "lib/ti/waves-outline.d.ts", - "lib/ti/waves.d.ts", - "lib/ti/weather-cloudy.d.ts", - "lib/ti/weather-downpour.d.ts", - "lib/ti/weather-night.d.ts", - "lib/ti/weather-partly-sunny.d.ts", - "lib/ti/weather-shower.d.ts", - "lib/ti/weather-snow.d.ts", - "lib/ti/weather-stormy.d.ts", - "lib/ti/weather-sunny.d.ts", - "lib/ti/weather-windy-cloudy.d.ts", - "lib/ti/weather-windy.d.ts", - "lib/ti/wi-fi-outline.d.ts", - "lib/ti/wi-fi.d.ts", - "lib/ti/wine.d.ts", - "lib/ti/world-outline.d.ts", - "lib/ti/world.d.ts", - "lib/ti/zoom-in-outline.d.ts", - "lib/ti/zoom-in.d.ts", - "lib/ti/zoom-out-outline.d.ts", - "lib/ti/zoom-out.d.ts", - "lib/ti/zoom-outline.d.ts", - "lib/ti/zoom.d.ts" - ] -} + }, + "files": [ + "index.d.ts", + "react-icons-tests.tsx", + "fa/index.d.ts", + "go/index.d.ts", + "io/index.d.ts", + "md/index.d.ts", + "ti/index.d.ts", + "fa/500px.d.ts", + "fa/adjust.d.ts", + "fa/adn.d.ts", + "fa/align-center.d.ts", + "fa/align-justify.d.ts", + "fa/align-left.d.ts", + "fa/align-right.d.ts", + "fa/amazon.d.ts", + "fa/ambulance.d.ts", + "fa/american-sign-language-interpreting.d.ts", + "fa/anchor.d.ts", + "fa/android.d.ts", + "fa/angellist.d.ts", + "fa/angle-double-down.d.ts", + "fa/angle-double-left.d.ts", + "fa/angle-double-right.d.ts", + "fa/angle-double-up.d.ts", + "fa/angle-down.d.ts", + "fa/angle-left.d.ts", + "fa/angle-right.d.ts", + "fa/angle-up.d.ts", + "fa/apple.d.ts", + "fa/archive.d.ts", + "fa/area-chart.d.ts", + "fa/arrow-circle-down.d.ts", + "fa/arrow-circle-left.d.ts", + "fa/arrow-circle-o-down.d.ts", + "fa/arrow-circle-o-left.d.ts", + "fa/arrow-circle-o-right.d.ts", + "fa/arrow-circle-o-up.d.ts", + "fa/arrow-circle-right.d.ts", + "fa/arrow-circle-up.d.ts", + "fa/arrow-down.d.ts", + "fa/arrow-left.d.ts", + "fa/arrow-right.d.ts", + "fa/arrow-up.d.ts", + "fa/arrows-alt.d.ts", + "fa/arrows-h.d.ts", + "fa/arrows-v.d.ts", + "fa/arrows.d.ts", + "fa/assistive-listening-systems.d.ts", + "fa/asterisk.d.ts", + "fa/at.d.ts", + "fa/audio-description.d.ts", + "fa/automobile.d.ts", + "fa/backward.d.ts", + "fa/balance-scale.d.ts", + "fa/ban.d.ts", + "fa/bank.d.ts", + "fa/bar-chart.d.ts", + "fa/barcode.d.ts", + "fa/bars.d.ts", + "fa/battery-0.d.ts", + "fa/battery-1.d.ts", + "fa/battery-2.d.ts", + "fa/battery-3.d.ts", + "fa/battery-4.d.ts", + "fa/bed.d.ts", + "fa/beer.d.ts", + "fa/behance-square.d.ts", + "fa/behance.d.ts", + "fa/bell-o.d.ts", + "fa/bell-slash-o.d.ts", + "fa/bell-slash.d.ts", + "fa/bell.d.ts", + "fa/bicycle.d.ts", + "fa/binoculars.d.ts", + "fa/birthday-cake.d.ts", + "fa/bitbucket-square.d.ts", + "fa/bitbucket.d.ts", + "fa/bitcoin.d.ts", + "fa/black-tie.d.ts", + "fa/blind.d.ts", + "fa/bluetooth-b.d.ts", + "fa/bluetooth.d.ts", + "fa/bold.d.ts", + "fa/bolt.d.ts", + "fa/bomb.d.ts", + "fa/book.d.ts", + "fa/bookmark-o.d.ts", + "fa/bookmark.d.ts", + "fa/braille.d.ts", + "fa/briefcase.d.ts", + "fa/bug.d.ts", + "fa/building-o.d.ts", + "fa/building.d.ts", + "fa/bullhorn.d.ts", + "fa/bullseye.d.ts", + "fa/bus.d.ts", + "fa/buysellads.d.ts", + "fa/cab.d.ts", + "fa/calculator.d.ts", + "fa/calendar-check-o.d.ts", + "fa/calendar-minus-o.d.ts", + "fa/calendar-o.d.ts", + "fa/calendar-plus-o.d.ts", + "fa/calendar-times-o.d.ts", + "fa/calendar.d.ts", + "fa/camera-retro.d.ts", + "fa/camera.d.ts", + "fa/caret-down.d.ts", + "fa/caret-left.d.ts", + "fa/caret-right.d.ts", + "fa/caret-square-o-down.d.ts", + "fa/caret-square-o-left.d.ts", + "fa/caret-square-o-right.d.ts", + "fa/caret-square-o-up.d.ts", + "fa/caret-up.d.ts", + "fa/cart-arrow-down.d.ts", + "fa/cart-plus.d.ts", + "fa/cc-amex.d.ts", + "fa/cc-diners-club.d.ts", + "fa/cc-discover.d.ts", + "fa/cc-jcb.d.ts", + "fa/cc-mastercard.d.ts", + "fa/cc-paypal.d.ts", + "fa/cc-stripe.d.ts", + "fa/cc-visa.d.ts", + "fa/cc.d.ts", + "fa/certificate.d.ts", + "fa/chain-broken.d.ts", + "fa/chain.d.ts", + "fa/check-circle-o.d.ts", + "fa/check-circle.d.ts", + "fa/check-square-o.d.ts", + "fa/check-square.d.ts", + "fa/check.d.ts", + "fa/chevron-circle-down.d.ts", + "fa/chevron-circle-left.d.ts", + "fa/chevron-circle-right.d.ts", + "fa/chevron-circle-up.d.ts", + "fa/chevron-down.d.ts", + "fa/chevron-left.d.ts", + "fa/chevron-right.d.ts", + "fa/chevron-up.d.ts", + "fa/child.d.ts", + "fa/chrome.d.ts", + "fa/circle-o-notch.d.ts", + "fa/circle-o.d.ts", + "fa/circle-thin.d.ts", + "fa/circle.d.ts", + "fa/clipboard.d.ts", + "fa/clock-o.d.ts", + "fa/clone.d.ts", + "fa/close.d.ts", + "fa/cloud-download.d.ts", + "fa/cloud-upload.d.ts", + "fa/cloud.d.ts", + "fa/cny.d.ts", + "fa/code-fork.d.ts", + "fa/code.d.ts", + "fa/codepen.d.ts", + "fa/codiepie.d.ts", + "fa/coffee.d.ts", + "fa/cog.d.ts", + "fa/cogs.d.ts", + "fa/columns.d.ts", + "fa/comment-o.d.ts", + "fa/comment.d.ts", + "fa/commenting-o.d.ts", + "fa/commenting.d.ts", + "fa/comments-o.d.ts", + "fa/comments.d.ts", + "fa/compass.d.ts", + "fa/compress.d.ts", + "fa/connectdevelop.d.ts", + "fa/contao.d.ts", + "fa/copy.d.ts", + "fa/copyright.d.ts", + "fa/creative-commons.d.ts", + "fa/credit-card-alt.d.ts", + "fa/credit-card.d.ts", + "fa/crop.d.ts", + "fa/crosshairs.d.ts", + "fa/css3.d.ts", + "fa/cube.d.ts", + "fa/cubes.d.ts", + "fa/cut.d.ts", + "fa/cutlery.d.ts", + "fa/dashboard.d.ts", + "fa/dashcube.d.ts", + "fa/database.d.ts", + "fa/deaf.d.ts", + "fa/dedent.d.ts", + "fa/delicious.d.ts", + "fa/desktop.d.ts", + "fa/deviantart.d.ts", + "fa/diamond.d.ts", + "fa/digg.d.ts", + "fa/dollar.d.ts", + "fa/dot-circle-o.d.ts", + "fa/download.d.ts", + "fa/dribbble.d.ts", + "fa/dropbox.d.ts", + "fa/drupal.d.ts", + "fa/edge.d.ts", + "fa/edit.d.ts", + "fa/eject.d.ts", + "fa/ellipsis-h.d.ts", + "fa/ellipsis-v.d.ts", + "fa/empire.d.ts", + "fa/envelope-o.d.ts", + "fa/envelope-square.d.ts", + "fa/envelope.d.ts", + "fa/envira.d.ts", + "fa/eraser.d.ts", + "fa/eur.d.ts", + "fa/exchange.d.ts", + "fa/exclamation-circle.d.ts", + "fa/exclamation-triangle.d.ts", + "fa/exclamation.d.ts", + "fa/expand.d.ts", + "fa/expeditedssl.d.ts", + "fa/external-link-square.d.ts", + "fa/external-link.d.ts", + "fa/eye-slash.d.ts", + "fa/eye.d.ts", + "fa/eyedropper.d.ts", + "fa/facebook-official.d.ts", + "fa/facebook-square.d.ts", + "fa/facebook.d.ts", + "fa/fast-backward.d.ts", + "fa/fast-forward.d.ts", + "fa/fax.d.ts", + "fa/feed.d.ts", + "fa/female.d.ts", + "fa/fighter-jet.d.ts", + "fa/file-archive-o.d.ts", + "fa/file-audio-o.d.ts", + "fa/file-code-o.d.ts", + "fa/file-excel-o.d.ts", + "fa/file-image-o.d.ts", + "fa/file-movie-o.d.ts", + "fa/file-o.d.ts", + "fa/file-pdf-o.d.ts", + "fa/file-powerpoint-o.d.ts", + "fa/file-text-o.d.ts", + "fa/file-text.d.ts", + "fa/file-word-o.d.ts", + "fa/file.d.ts", + "fa/film.d.ts", + "fa/filter.d.ts", + "fa/fire-extinguisher.d.ts", + "fa/fire.d.ts", + "fa/firefox.d.ts", + "fa/flag-checkered.d.ts", + "fa/flag-o.d.ts", + "fa/flag.d.ts", + "fa/flask.d.ts", + "fa/flickr.d.ts", + "fa/floppy-o.d.ts", + "fa/folder-o.d.ts", + "fa/folder-open-o.d.ts", + "fa/folder-open.d.ts", + "fa/folder.d.ts", + "fa/font.d.ts", + "fa/fonticons.d.ts", + "fa/fort-awesome.d.ts", + "fa/forumbee.d.ts", + "fa/forward.d.ts", + "fa/foursquare.d.ts", + "fa/frown-o.d.ts", + "fa/futbol-o.d.ts", + "fa/gamepad.d.ts", + "fa/gavel.d.ts", + "fa/gbp.d.ts", + "fa/genderless.d.ts", + "fa/get-pocket.d.ts", + "fa/gg-circle.d.ts", + "fa/gg.d.ts", + "fa/gift.d.ts", + "fa/git-square.d.ts", + "fa/git.d.ts", + "fa/github-alt.d.ts", + "fa/github-square.d.ts", + "fa/github.d.ts", + "fa/gitlab.d.ts", + "fa/gittip.d.ts", + "fa/glass.d.ts", + "fa/glide-g.d.ts", + "fa/glide.d.ts", + "fa/globe.d.ts", + "fa/google-plus-square.d.ts", + "fa/google-plus.d.ts", + "fa/google-wallet.d.ts", + "fa/google.d.ts", + "fa/graduation-cap.d.ts", + "fa/group.d.ts", + "fa/h-square.d.ts", + "fa/hacker-news.d.ts", + "fa/hand-grab-o.d.ts", + "fa/hand-lizard-o.d.ts", + "fa/hand-o-down.d.ts", + "fa/hand-o-left.d.ts", + "fa/hand-o-right.d.ts", + "fa/hand-o-up.d.ts", + "fa/hand-paper-o.d.ts", + "fa/hand-peace-o.d.ts", + "fa/hand-pointer-o.d.ts", + "fa/hand-scissors-o.d.ts", + "fa/hand-spock-o.d.ts", + "fa/hashtag.d.ts", + "fa/hdd-o.d.ts", + "fa/header.d.ts", + "fa/headphones.d.ts", + "fa/heart-o.d.ts", + "fa/heart.d.ts", + "fa/heartbeat.d.ts", + "fa/history.d.ts", + "fa/home.d.ts", + "fa/hospital-o.d.ts", + "fa/hourglass-1.d.ts", + "fa/hourglass-2.d.ts", + "fa/hourglass-3.d.ts", + "fa/hourglass-o.d.ts", + "fa/hourglass.d.ts", + "fa/houzz.d.ts", + "fa/html5.d.ts", + "fa/i-cursor.d.ts", + "fa/ils.d.ts", + "fa/image.d.ts", + "fa/inbox.d.ts", + "fa/indent.d.ts", + "fa/industry.d.ts", + "fa/info-circle.d.ts", + "fa/info.d.ts", + "fa/inr.d.ts", + "fa/instagram.d.ts", + "fa/internet-explorer.d.ts", + "fa/intersex.d.ts", + "fa/ioxhost.d.ts", + "fa/italic.d.ts", + "fa/joomla.d.ts", + "fa/jsfiddle.d.ts", + "fa/key.d.ts", + "fa/keyboard-o.d.ts", + "fa/krw.d.ts", + "fa/language.d.ts", + "fa/laptop.d.ts", + "fa/lastfm-square.d.ts", + "fa/lastfm.d.ts", + "fa/leaf.d.ts", + "fa/leanpub.d.ts", + "fa/lemon-o.d.ts", + "fa/level-down.d.ts", + "fa/level-up.d.ts", + "fa/life-bouy.d.ts", + "fa/lightbulb-o.d.ts", + "fa/line-chart.d.ts", + "fa/linkedin-square.d.ts", + "fa/linkedin.d.ts", + "fa/linux.d.ts", + "fa/list-alt.d.ts", + "fa/list-ol.d.ts", + "fa/list-ul.d.ts", + "fa/list.d.ts", + "fa/location-arrow.d.ts", + "fa/lock.d.ts", + "fa/long-arrow-down.d.ts", + "fa/long-arrow-left.d.ts", + "fa/long-arrow-right.d.ts", + "fa/long-arrow-up.d.ts", + "fa/low-vision.d.ts", + "fa/magic.d.ts", + "fa/magnet.d.ts", + "fa/mail-forward.d.ts", + "fa/mail-reply-all.d.ts", + "fa/mail-reply.d.ts", + "fa/male.d.ts", + "fa/map-marker.d.ts", + "fa/map-o.d.ts", + "fa/map-pin.d.ts", + "fa/map-signs.d.ts", + "fa/map.d.ts", + "fa/mars-double.d.ts", + "fa/mars-stroke-h.d.ts", + "fa/mars-stroke-v.d.ts", + "fa/mars-stroke.d.ts", + "fa/mars.d.ts", + "fa/maxcdn.d.ts", + "fa/meanpath.d.ts", + "fa/medium.d.ts", + "fa/medkit.d.ts", + "fa/meh-o.d.ts", + "fa/mercury.d.ts", + "fa/microphone-slash.d.ts", + "fa/microphone.d.ts", + "fa/minus-circle.d.ts", + "fa/minus-square-o.d.ts", + "fa/minus-square.d.ts", + "fa/minus.d.ts", + "fa/mixcloud.d.ts", + "fa/mobile.d.ts", + "fa/modx.d.ts", + "fa/money.d.ts", + "fa/moon-o.d.ts", + "fa/motorcycle.d.ts", + "fa/mouse-pointer.d.ts", + "fa/music.d.ts", + "fa/neuter.d.ts", + "fa/newspaper-o.d.ts", + "fa/object-group.d.ts", + "fa/object-ungroup.d.ts", + "fa/odnoklassniki-square.d.ts", + "fa/odnoklassniki.d.ts", + "fa/opencart.d.ts", + "fa/openid.d.ts", + "fa/opera.d.ts", + "fa/optin-monster.d.ts", + "fa/pagelines.d.ts", + "fa/paint-brush.d.ts", + "fa/paper-plane-o.d.ts", + "fa/paper-plane.d.ts", + "fa/paperclip.d.ts", + "fa/paragraph.d.ts", + "fa/pause-circle-o.d.ts", + "fa/pause-circle.d.ts", + "fa/pause.d.ts", + "fa/paw.d.ts", + "fa/paypal.d.ts", + "fa/pencil-square.d.ts", + "fa/pencil.d.ts", + "fa/percent.d.ts", + "fa/phone-square.d.ts", + "fa/phone.d.ts", + "fa/pie-chart.d.ts", + "fa/pied-piper-alt.d.ts", + "fa/pied-piper.d.ts", + "fa/pinterest-p.d.ts", + "fa/pinterest-square.d.ts", + "fa/pinterest.d.ts", + "fa/plane.d.ts", + "fa/play-circle-o.d.ts", + "fa/play-circle.d.ts", + "fa/play.d.ts", + "fa/plug.d.ts", + "fa/plus-circle.d.ts", + "fa/plus-square-o.d.ts", + "fa/plus-square.d.ts", + "fa/plus.d.ts", + "fa/power-off.d.ts", + "fa/print.d.ts", + "fa/product-hunt.d.ts", + "fa/puzzle-piece.d.ts", + "fa/qq.d.ts", + "fa/qrcode.d.ts", + "fa/question-circle-o.d.ts", + "fa/question-circle.d.ts", + "fa/question.d.ts", + "fa/quote-left.d.ts", + "fa/quote-right.d.ts", + "fa/ra.d.ts", + "fa/random.d.ts", + "fa/recycle.d.ts", + "fa/reddit-alien.d.ts", + "fa/reddit-square.d.ts", + "fa/reddit.d.ts", + "fa/refresh.d.ts", + "fa/registered.d.ts", + "fa/renren.d.ts", + "fa/repeat.d.ts", + "fa/retweet.d.ts", + "fa/road.d.ts", + "fa/rocket.d.ts", + "fa/rotate-left.d.ts", + "fa/rouble.d.ts", + "fa/rss-square.d.ts", + "fa/safari.d.ts", + "fa/scribd.d.ts", + "fa/search-minus.d.ts", + "fa/search-plus.d.ts", + "fa/search.d.ts", + "fa/sellsy.d.ts", + "fa/server.d.ts", + "fa/share-alt-square.d.ts", + "fa/share-alt.d.ts", + "fa/share-square-o.d.ts", + "fa/share-square.d.ts", + "fa/shield.d.ts", + "fa/ship.d.ts", + "fa/shirtsinbulk.d.ts", + "fa/shopping-bag.d.ts", + "fa/shopping-basket.d.ts", + "fa/shopping-cart.d.ts", + "fa/sign-in.d.ts", + "fa/sign-language.d.ts", + "fa/sign-out.d.ts", + "fa/signal.d.ts", + "fa/simplybuilt.d.ts", + "fa/sitemap.d.ts", + "fa/skyatlas.d.ts", + "fa/skype.d.ts", + "fa/slack.d.ts", + "fa/sliders.d.ts", + "fa/slideshare.d.ts", + "fa/smile-o.d.ts", + "fa/snapchat-ghost.d.ts", + "fa/snapchat-square.d.ts", + "fa/snapchat.d.ts", + "fa/sort-alpha-asc.d.ts", + "fa/sort-alpha-desc.d.ts", + "fa/sort-amount-asc.d.ts", + "fa/sort-amount-desc.d.ts", + "fa/sort-asc.d.ts", + "fa/sort-desc.d.ts", + "fa/sort-numeric-asc.d.ts", + "fa/sort-numeric-desc.d.ts", + "fa/sort.d.ts", + "fa/soundcloud.d.ts", + "fa/space-shuttle.d.ts", + "fa/spinner.d.ts", + "fa/spoon.d.ts", + "fa/spotify.d.ts", + "fa/square-o.d.ts", + "fa/square.d.ts", + "fa/stack-exchange.d.ts", + "fa/stack-overflow.d.ts", + "fa/star-half-empty.d.ts", + "fa/star-half.d.ts", + "fa/star-o.d.ts", + "fa/star.d.ts", + "fa/steam-square.d.ts", + "fa/steam.d.ts", + "fa/step-backward.d.ts", + "fa/step-forward.d.ts", + "fa/stethoscope.d.ts", + "fa/sticky-note-o.d.ts", + "fa/sticky-note.d.ts", + "fa/stop-circle-o.d.ts", + "fa/stop-circle.d.ts", + "fa/stop.d.ts", + "fa/street-view.d.ts", + "fa/strikethrough.d.ts", + "fa/stumbleupon-circle.d.ts", + "fa/stumbleupon.d.ts", + "fa/subscript.d.ts", + "fa/subway.d.ts", + "fa/suitcase.d.ts", + "fa/sun-o.d.ts", + "fa/superscript.d.ts", + "fa/table.d.ts", + "fa/tablet.d.ts", + "fa/tag.d.ts", + "fa/tags.d.ts", + "fa/tasks.d.ts", + "fa/television.d.ts", + "fa/tencent-weibo.d.ts", + "fa/terminal.d.ts", + "fa/text-height.d.ts", + "fa/text-width.d.ts", + "fa/th-large.d.ts", + "fa/th-list.d.ts", + "fa/th.d.ts", + "fa/thumb-tack.d.ts", + "fa/thumbs-down.d.ts", + "fa/thumbs-o-down.d.ts", + "fa/thumbs-o-up.d.ts", + "fa/thumbs-up.d.ts", + "fa/ticket.d.ts", + "fa/times-circle-o.d.ts", + "fa/times-circle.d.ts", + "fa/tint.d.ts", + "fa/toggle-off.d.ts", + "fa/toggle-on.d.ts", + "fa/trademark.d.ts", + "fa/train.d.ts", + "fa/transgender-alt.d.ts", + "fa/trash-o.d.ts", + "fa/trash.d.ts", + "fa/tree.d.ts", + "fa/trello.d.ts", + "fa/tripadvisor.d.ts", + "fa/trophy.d.ts", + "fa/truck.d.ts", + "fa/try.d.ts", + "fa/tty.d.ts", + "fa/tumblr-square.d.ts", + "fa/tumblr.d.ts", + "fa/twitch.d.ts", + "fa/twitter-square.d.ts", + "fa/twitter.d.ts", + "fa/umbrella.d.ts", + "fa/underline.d.ts", + "fa/universal-access.d.ts", + "fa/unlock-alt.d.ts", + "fa/unlock.d.ts", + "fa/upload.d.ts", + "fa/usb.d.ts", + "fa/user-md.d.ts", + "fa/user-plus.d.ts", + "fa/user-secret.d.ts", + "fa/user-times.d.ts", + "fa/user.d.ts", + "fa/venus-double.d.ts", + "fa/venus-mars.d.ts", + "fa/venus.d.ts", + "fa/viacoin.d.ts", + "fa/viadeo-square.d.ts", + "fa/viadeo.d.ts", + "fa/video-camera.d.ts", + "fa/vimeo-square.d.ts", + "fa/vimeo.d.ts", + "fa/vine.d.ts", + "fa/vk.d.ts", + "fa/volume-control-phone.d.ts", + "fa/volume-down.d.ts", + "fa/volume-off.d.ts", + "fa/volume-up.d.ts", + "fa/wechat.d.ts", + "fa/weibo.d.ts", + "fa/whatsapp.d.ts", + "fa/wheelchair-alt.d.ts", + "fa/wheelchair.d.ts", + "fa/wifi.d.ts", + "fa/wikipedia-w.d.ts", + "fa/windows.d.ts", + "fa/wordpress.d.ts", + "fa/wpbeginner.d.ts", + "fa/wpforms.d.ts", + "fa/wrench.d.ts", + "fa/xing-square.d.ts", + "fa/xing.d.ts", + "fa/y-combinator.d.ts", + "fa/yahoo.d.ts", + "fa/yelp.d.ts", + "fa/youtube-play.d.ts", + "fa/youtube-square.d.ts", + "fa/youtube.d.ts", + "go/alert.d.ts", + "go/alignment-align.d.ts", + "go/alignment-aligned-to.d.ts", + "go/alignment-unalign.d.ts", + "go/arrow-down.d.ts", + "go/arrow-left.d.ts", + "go/arrow-right.d.ts", + "go/arrow-small-down.d.ts", + "go/arrow-small-left.d.ts", + "go/arrow-small-right.d.ts", + "go/arrow-small-up.d.ts", + "go/arrow-up.d.ts", + "go/beer.d.ts", + "go/book.d.ts", + "go/bookmark.d.ts", + "go/briefcase.d.ts", + "go/broadcast.d.ts", + "go/browser.d.ts", + "go/bug.d.ts", + "go/calendar.d.ts", + "go/check.d.ts", + "go/checklist.d.ts", + "go/chevron-down.d.ts", + "go/chevron-left.d.ts", + "go/chevron-right.d.ts", + "go/chevron-up.d.ts", + "go/circle-slash.d.ts", + "go/circuit-board.d.ts", + "go/clippy.d.ts", + "go/clock.d.ts", + "go/cloud-download.d.ts", + "go/cloud-upload.d.ts", + "go/code.d.ts", + "go/color-mode.d.ts", + "go/comment-discussion.d.ts", + "go/comment.d.ts", + "go/credit-card.d.ts", + "go/dash.d.ts", + "go/dashboard.d.ts", + "go/database.d.ts", + "go/device-camera-video.d.ts", + "go/device-camera.d.ts", + "go/device-desktop.d.ts", + "go/device-mobile.d.ts", + "go/diff-added.d.ts", + "go/diff-ignored.d.ts", + "go/diff-modified.d.ts", + "go/diff-removed.d.ts", + "go/diff-renamed.d.ts", + "go/diff.d.ts", + "go/ellipsis.d.ts", + "go/eye.d.ts", + "go/file-binary.d.ts", + "go/file-code.d.ts", + "go/file-directory.d.ts", + "go/file-media.d.ts", + "go/file-pdf.d.ts", + "go/file-submodule.d.ts", + "go/file-symlink-directory.d.ts", + "go/file-symlink-file.d.ts", + "go/file-text.d.ts", + "go/file-zip.d.ts", + "go/flame.d.ts", + "go/fold.d.ts", + "go/gear.d.ts", + "go/gift.d.ts", + "go/gist-secret.d.ts", + "go/gist.d.ts", + "go/git-branch.d.ts", + "go/git-commit.d.ts", + "go/git-compare.d.ts", + "go/git-merge.d.ts", + "go/git-pull-request.d.ts", + "go/globe.d.ts", + "go/graph.d.ts", + "go/heart.d.ts", + "go/history.d.ts", + "go/home.d.ts", + "go/horizontal-rule.d.ts", + "go/hourglass.d.ts", + "go/hubot.d.ts", + "go/inbox.d.ts", + "go/info.d.ts", + "go/issue-closed.d.ts", + "go/issue-opened.d.ts", + "go/issue-reopened.d.ts", + "go/jersey.d.ts", + "go/jump-down.d.ts", + "go/jump-left.d.ts", + "go/jump-right.d.ts", + "go/jump-up.d.ts", + "go/key.d.ts", + "go/keyboard.d.ts", + "go/law.d.ts", + "go/light-bulb.d.ts", + "go/link-external.d.ts", + "go/link.d.ts", + "go/list-ordered.d.ts", + "go/list-unordered.d.ts", + "go/location.d.ts", + "go/lock.d.ts", + "go/logo-github.d.ts", + "go/mail-read.d.ts", + "go/mail-reply.d.ts", + "go/mail.d.ts", + "go/mark-github.d.ts", + "go/markdown.d.ts", + "go/megaphone.d.ts", + "go/mention.d.ts", + "go/microscope.d.ts", + "go/milestone.d.ts", + "go/mirror.d.ts", + "go/mortar-board.d.ts", + "go/move-down.d.ts", + "go/move-left.d.ts", + "go/move-right.d.ts", + "go/move-up.d.ts", + "go/mute.d.ts", + "go/no-newline.d.ts", + "go/octoface.d.ts", + "go/organization.d.ts", + "go/package.d.ts", + "go/paintcan.d.ts", + "go/pencil.d.ts", + "go/person.d.ts", + "go/pin.d.ts", + "go/playback-fast-forward.d.ts", + "go/playback-pause.d.ts", + "go/playback-play.d.ts", + "go/playback-rewind.d.ts", + "go/plug.d.ts", + "go/plus.d.ts", + "go/podium.d.ts", + "go/primitive-dot.d.ts", + "go/primitive-square.d.ts", + "go/pulse.d.ts", + "go/puzzle.d.ts", + "go/question.d.ts", + "go/quote.d.ts", + "go/radio-tower.d.ts", + "go/repo-clone.d.ts", + "go/repo-force-push.d.ts", + "go/repo-forked.d.ts", + "go/repo-pull.d.ts", + "go/repo-push.d.ts", + "go/repo.d.ts", + "go/rocket.d.ts", + "go/rss.d.ts", + "go/ruby.d.ts", + "go/screen-full.d.ts", + "go/screen-normal.d.ts", + "go/search.d.ts", + "go/server.d.ts", + "go/settings.d.ts", + "go/sign-in.d.ts", + "go/sign-out.d.ts", + "go/split.d.ts", + "go/squirrel.d.ts", + "go/star.d.ts", + "go/steps.d.ts", + "go/stop.d.ts", + "go/sync.d.ts", + "go/tag.d.ts", + "go/telescope.d.ts", + "go/terminal.d.ts", + "go/three-bars.d.ts", + "go/tools.d.ts", + "go/trashcan.d.ts", + "go/triangle-down.d.ts", + "go/triangle-left.d.ts", + "go/triangle-right.d.ts", + "go/triangle-up.d.ts", + "go/unfold.d.ts", + "go/unmute.d.ts", + "go/versions.d.ts", + "go/x.d.ts", + "go/zap.d.ts", + "io/alert-circled.d.ts", + "io/alert.d.ts", + "io/android-add-circle.d.ts", + "io/android-add.d.ts", + "io/android-alarm-clock.d.ts", + "io/android-alert.d.ts", + "io/android-apps.d.ts", + "io/android-archive.d.ts", + "io/android-arrow-back.d.ts", + "io/android-arrow-down.d.ts", + "io/android-arrow-dropdown-circle.d.ts", + "io/android-arrow-dropdown.d.ts", + "io/android-arrow-dropleft-circle.d.ts", + "io/android-arrow-dropleft.d.ts", + "io/android-arrow-dropright-circle.d.ts", + "io/android-arrow-dropright.d.ts", + "io/android-arrow-dropup-circle.d.ts", + "io/android-arrow-dropup.d.ts", + "io/android-arrow-forward.d.ts", + "io/android-arrow-up.d.ts", + "io/android-attach.d.ts", + "io/android-bar.d.ts", + "io/android-bicycle.d.ts", + "io/android-boat.d.ts", + "io/android-bookmark.d.ts", + "io/android-bulb.d.ts", + "io/android-bus.d.ts", + "io/android-calendar.d.ts", + "io/android-call.d.ts", + "io/android-camera.d.ts", + "io/android-cancel.d.ts", + "io/android-car.d.ts", + "io/android-cart.d.ts", + "io/android-chat.d.ts", + "io/android-checkbox-blank.d.ts", + "io/android-checkbox-outline-blank.d.ts", + "io/android-checkbox-outline.d.ts", + "io/android-checkbox.d.ts", + "io/android-checkmark-circle.d.ts", + "io/android-clipboard.d.ts", + "io/android-close.d.ts", + "io/android-cloud-circle.d.ts", + "io/android-cloud-done.d.ts", + "io/android-cloud-outline.d.ts", + "io/android-cloud.d.ts", + "io/android-color-palette.d.ts", + "io/android-compass.d.ts", + "io/android-contact.d.ts", + "io/android-contacts.d.ts", + "io/android-contract.d.ts", + "io/android-create.d.ts", + "io/android-delete.d.ts", + "io/android-desktop.d.ts", + "io/android-document.d.ts", + "io/android-done-all.d.ts", + "io/android-done.d.ts", + "io/android-download.d.ts", + "io/android-drafts.d.ts", + "io/android-exit.d.ts", + "io/android-expand.d.ts", + "io/android-favorite-outline.d.ts", + "io/android-favorite.d.ts", + "io/android-film.d.ts", + "io/android-folder-open.d.ts", + "io/android-folder.d.ts", + "io/android-funnel.d.ts", + "io/android-globe.d.ts", + "io/android-hand.d.ts", + "io/android-hangout.d.ts", + "io/android-happy.d.ts", + "io/android-home.d.ts", + "io/android-image.d.ts", + "io/android-laptop.d.ts", + "io/android-list.d.ts", + "io/android-locate.d.ts", + "io/android-lock.d.ts", + "io/android-mail.d.ts", + "io/android-map.d.ts", + "io/android-menu.d.ts", + "io/android-microphone-off.d.ts", + "io/android-microphone.d.ts", + "io/android-more-horizontal.d.ts", + "io/android-more-vertical.d.ts", + "io/android-navigate.d.ts", + "io/android-notifications-none.d.ts", + "io/android-notifications-off.d.ts", + "io/android-notifications.d.ts", + "io/android-open.d.ts", + "io/android-options.d.ts", + "io/android-people.d.ts", + "io/android-person-add.d.ts", + "io/android-person.d.ts", + "io/android-phone-landscape.d.ts", + "io/android-phone-portrait.d.ts", + "io/android-pin.d.ts", + "io/android-plane.d.ts", + "io/android-playstore.d.ts", + "io/android-print.d.ts", + "io/android-radio-button-off.d.ts", + "io/android-radio-button-on.d.ts", + "io/android-refresh.d.ts", + "io/android-remove-circle.d.ts", + "io/android-remove.d.ts", + "io/android-restaurant.d.ts", + "io/android-sad.d.ts", + "io/android-search.d.ts", + "io/android-send.d.ts", + "io/android-settings.d.ts", + "io/android-share-alt.d.ts", + "io/android-share.d.ts", + "io/android-star-half.d.ts", + "io/android-star-outline.d.ts", + "io/android-star.d.ts", + "io/android-stopwatch.d.ts", + "io/android-subway.d.ts", + "io/android-sunny.d.ts", + "io/android-sync.d.ts", + "io/android-textsms.d.ts", + "io/android-time.d.ts", + "io/android-train.d.ts", + "io/android-unlock.d.ts", + "io/android-upload.d.ts", + "io/android-volume-down.d.ts", + "io/android-volume-mute.d.ts", + "io/android-volume-off.d.ts", + "io/android-volume-up.d.ts", + "io/android-walk.d.ts", + "io/android-warning.d.ts", + "io/android-watch.d.ts", + "io/android-wifi.d.ts", + "io/aperture.d.ts", + "io/archive.d.ts", + "io/arrow-down-a.d.ts", + "io/arrow-down-b.d.ts", + "io/arrow-down-c.d.ts", + "io/arrow-expand.d.ts", + "io/arrow-graph-down-left.d.ts", + "io/arrow-graph-down-right.d.ts", + "io/arrow-graph-up-left.d.ts", + "io/arrow-graph-up-right.d.ts", + "io/arrow-left-a.d.ts", + "io/arrow-left-b.d.ts", + "io/arrow-left-c.d.ts", + "io/arrow-move.d.ts", + "io/arrow-resize.d.ts", + "io/arrow-return-left.d.ts", + "io/arrow-return-right.d.ts", + "io/arrow-right-a.d.ts", + "io/arrow-right-b.d.ts", + "io/arrow-right-c.d.ts", + "io/arrow-shrink.d.ts", + "io/arrow-swap.d.ts", + "io/arrow-up-a.d.ts", + "io/arrow-up-b.d.ts", + "io/arrow-up-c.d.ts", + "io/asterisk.d.ts", + "io/at.d.ts", + "io/backspace-outline.d.ts", + "io/backspace.d.ts", + "io/bag.d.ts", + "io/battery-charging.d.ts", + "io/battery-empty.d.ts", + "io/battery-full.d.ts", + "io/battery-half.d.ts", + "io/battery-low.d.ts", + "io/beaker.d.ts", + "io/beer.d.ts", + "io/bluetooth.d.ts", + "io/bonfire.d.ts", + "io/bookmark.d.ts", + "io/bowtie.d.ts", + "io/briefcase.d.ts", + "io/bug.d.ts", + "io/calculator.d.ts", + "io/calendar.d.ts", + "io/camera.d.ts", + "io/card.d.ts", + "io/cash.d.ts", + "io/chatbox-working.d.ts", + "io/chatbox.d.ts", + "io/chatboxes.d.ts", + "io/chatbubble-working.d.ts", + "io/chatbubble.d.ts", + "io/chatbubbles.d.ts", + "io/checkmark-circled.d.ts", + "io/checkmark-round.d.ts", + "io/checkmark.d.ts", + "io/chevron-down.d.ts", + "io/chevron-left.d.ts", + "io/chevron-right.d.ts", + "io/chevron-up.d.ts", + "io/clipboard.d.ts", + "io/clock.d.ts", + "io/close-circled.d.ts", + "io/close-round.d.ts", + "io/close.d.ts", + "io/closed-captioning.d.ts", + "io/cloud.d.ts", + "io/code-download.d.ts", + "io/code-working.d.ts", + "io/code.d.ts", + "io/coffee.d.ts", + "io/compass.d.ts", + "io/compose.d.ts", + "io/connectbars.d.ts", + "io/contrast.d.ts", + "io/crop.d.ts", + "io/cube.d.ts", + "io/disc.d.ts", + "io/document-text.d.ts", + "io/document.d.ts", + "io/drag.d.ts", + "io/earth.d.ts", + "io/easel.d.ts", + "io/edit.d.ts", + "io/egg.d.ts", + "io/eject.d.ts", + "io/email-unread.d.ts", + "io/email.d.ts", + "io/erlenmeyer-flask-bubbles.d.ts", + "io/erlenmeyer-flask.d.ts", + "io/eye-disabled.d.ts", + "io/eye.d.ts", + "io/female.d.ts", + "io/filing.d.ts", + "io/film-marker.d.ts", + "io/fireball.d.ts", + "io/flag.d.ts", + "io/flame.d.ts", + "io/flash-off.d.ts", + "io/flash.d.ts", + "io/folder.d.ts", + "io/fork-repo.d.ts", + "io/fork.d.ts", + "io/forward.d.ts", + "io/funnel.d.ts", + "io/gear-a.d.ts", + "io/gear-b.d.ts", + "io/grid.d.ts", + "io/hammer.d.ts", + "io/happy-outline.d.ts", + "io/happy.d.ts", + "io/headphone.d.ts", + "io/heart-broken.d.ts", + "io/heart.d.ts", + "io/help-buoy.d.ts", + "io/help-circled.d.ts", + "io/help.d.ts", + "io/home.d.ts", + "io/icecream.d.ts", + "io/image.d.ts", + "io/images.d.ts", + "io/informatcircled.d.ts", + "io/information.d.ts", + "io/ionic.d.ts", + "io/ios-alarm-outline.d.ts", + "io/ios-alarm.d.ts", + "io/ios-albums-outline.d.ts", + "io/ios-albums.d.ts", + "io/ios-americanfootball-outline.d.ts", + "io/ios-americanfootball.d.ts", + "io/ios-analytics-outline.d.ts", + "io/ios-analytics.d.ts", + "io/ios-arrow-back.d.ts", + "io/ios-arrow-down.d.ts", + "io/ios-arrow-forward.d.ts", + "io/ios-arrow-left.d.ts", + "io/ios-arrow-right.d.ts", + "io/ios-arrow-thin-down.d.ts", + "io/ios-arrow-thin-left.d.ts", + "io/ios-arrow-thin-right.d.ts", + "io/ios-arrow-thin-up.d.ts", + "io/ios-arrow-up.d.ts", + "io/ios-at-outline.d.ts", + "io/ios-at.d.ts", + "io/ios-barcode-outline.d.ts", + "io/ios-barcode.d.ts", + "io/ios-baseball-outline.d.ts", + "io/ios-baseball.d.ts", + "io/ios-basketball-outline.d.ts", + "io/ios-basketball.d.ts", + "io/ios-bell-outline.d.ts", + "io/ios-bell.d.ts", + "io/ios-body-outline.d.ts", + "io/ios-body.d.ts", + "io/ios-bolt-outline.d.ts", + "io/ios-bolt.d.ts", + "io/ios-book-outline.d.ts", + "io/ios-book.d.ts", + "io/ios-bookmarks-outline.d.ts", + "io/ios-bookmarks.d.ts", + "io/ios-box-outline.d.ts", + "io/ios-box.d.ts", + "io/ios-briefcase-outline.d.ts", + "io/ios-briefcase.d.ts", + "io/ios-browsers-outline.d.ts", + "io/ios-browsers.d.ts", + "io/ios-calculator-outline.d.ts", + "io/ios-calculator.d.ts", + "io/ios-calendar-outline.d.ts", + "io/ios-calendar.d.ts", + "io/ios-camera-outline.d.ts", + "io/ios-camera.d.ts", + "io/ios-cart-outline.d.ts", + "io/ios-cart.d.ts", + "io/ios-chatboxes-outline.d.ts", + "io/ios-chatboxes.d.ts", + "io/ios-chatbubble-outline.d.ts", + "io/ios-chatbubble.d.ts", + "io/ios-checkmark-empty.d.ts", + "io/ios-checkmark-outline.d.ts", + "io/ios-checkmark.d.ts", + "io/ios-circle-filled.d.ts", + "io/ios-circle-outline.d.ts", + "io/ios-clock-outline.d.ts", + "io/ios-clock.d.ts", + "io/ios-close-empty.d.ts", + "io/ios-close-outline.d.ts", + "io/ios-close.d.ts", + "io/ios-cloud-download-outline.d.ts", + "io/ios-cloud-download.d.ts", + "io/ios-cloud-outline.d.ts", + "io/ios-cloud-upload-outline.d.ts", + "io/ios-cloud-upload.d.ts", + "io/ios-cloud.d.ts", + "io/ios-cloudy-night-outline.d.ts", + "io/ios-cloudy-night.d.ts", + "io/ios-cloudy-outline.d.ts", + "io/ios-cloudy.d.ts", + "io/ios-cog-outline.d.ts", + "io/ios-cog.d.ts", + "io/ios-color-filter-outline.d.ts", + "io/ios-color-filter.d.ts", + "io/ios-color-wand-outline.d.ts", + "io/ios-color-wand.d.ts", + "io/ios-compose-outline.d.ts", + "io/ios-compose.d.ts", + "io/ios-contact-outline.d.ts", + "io/ios-contact.d.ts", + "io/ios-copy-outline.d.ts", + "io/ios-copy.d.ts", + "io/ios-crop-strong.d.ts", + "io/ios-crop.d.ts", + "io/ios-download-outline.d.ts", + "io/ios-download.d.ts", + "io/ios-drag.d.ts", + "io/ios-email-outline.d.ts", + "io/ios-email.d.ts", + "io/ios-eye-outline.d.ts", + "io/ios-eye.d.ts", + "io/ios-fastforward-outline.d.ts", + "io/ios-fastforward.d.ts", + "io/ios-filing-outline.d.ts", + "io/ios-filing.d.ts", + "io/ios-film-outline.d.ts", + "io/ios-film.d.ts", + "io/ios-flag-outline.d.ts", + "io/ios-flag.d.ts", + "io/ios-flame-outline.d.ts", + "io/ios-flame.d.ts", + "io/ios-flask-outline.d.ts", + "io/ios-flask.d.ts", + "io/ios-flower-outline.d.ts", + "io/ios-flower.d.ts", + "io/ios-folder-outline.d.ts", + "io/ios-folder.d.ts", + "io/ios-football-outline.d.ts", + "io/ios-football.d.ts", + "io/ios-game-controller-a-outline.d.ts", + "io/ios-game-controller-a.d.ts", + "io/ios-game-controller-b-outline.d.ts", + "io/ios-game-controller-b.d.ts", + "io/ios-gear-outline.d.ts", + "io/ios-gear.d.ts", + "io/ios-glasses-outline.d.ts", + "io/ios-glasses.d.ts", + "io/ios-grid-view-outline.d.ts", + "io/ios-grid-view.d.ts", + "io/ios-heart-outline.d.ts", + "io/ios-heart.d.ts", + "io/ios-help-empty.d.ts", + "io/ios-help-outline.d.ts", + "io/ios-help.d.ts", + "io/ios-home-outline.d.ts", + "io/ios-home.d.ts", + "io/ios-infinite-outline.d.ts", + "io/ios-infinite.d.ts", + "io/ios-informatempty.d.ts", + "io/ios-information.d.ts", + "io/ios-informatoutline.d.ts", + "io/ios-ionic-outline.d.ts", + "io/ios-keypad-outline.d.ts", + "io/ios-keypad.d.ts", + "io/ios-lightbulb-outline.d.ts", + "io/ios-lightbulb.d.ts", + "io/ios-list-outline.d.ts", + "io/ios-list.d.ts", + "io/ios-location.d.ts", + "io/ios-locatoutline.d.ts", + "io/ios-locked-outline.d.ts", + "io/ios-locked.d.ts", + "io/ios-loop-strong.d.ts", + "io/ios-loop.d.ts", + "io/ios-medical-outline.d.ts", + "io/ios-medical.d.ts", + "io/ios-medkit-outline.d.ts", + "io/ios-medkit.d.ts", + "io/ios-mic-off.d.ts", + "io/ios-mic-outline.d.ts", + "io/ios-mic.d.ts", + "io/ios-minus-empty.d.ts", + "io/ios-minus-outline.d.ts", + "io/ios-minus.d.ts", + "io/ios-monitor-outline.d.ts", + "io/ios-monitor.d.ts", + "io/ios-moon-outline.d.ts", + "io/ios-moon.d.ts", + "io/ios-more-outline.d.ts", + "io/ios-more.d.ts", + "io/ios-musical-note.d.ts", + "io/ios-musical-notes.d.ts", + "io/ios-navigate-outline.d.ts", + "io/ios-navigate.d.ts", + "io/ios-nutrition.d.ts", + "io/ios-nutritoutline.d.ts", + "io/ios-paper-outline.d.ts", + "io/ios-paper.d.ts", + "io/ios-paperplane-outline.d.ts", + "io/ios-paperplane.d.ts", + "io/ios-partlysunny-outline.d.ts", + "io/ios-partlysunny.d.ts", + "io/ios-pause-outline.d.ts", + "io/ios-pause.d.ts", + "io/ios-paw-outline.d.ts", + "io/ios-paw.d.ts", + "io/ios-people-outline.d.ts", + "io/ios-people.d.ts", + "io/ios-person-outline.d.ts", + "io/ios-person.d.ts", + "io/ios-personadd-outline.d.ts", + "io/ios-personadd.d.ts", + "io/ios-photos-outline.d.ts", + "io/ios-photos.d.ts", + "io/ios-pie-outline.d.ts", + "io/ios-pie.d.ts", + "io/ios-pint-outline.d.ts", + "io/ios-pint.d.ts", + "io/ios-play-outline.d.ts", + "io/ios-play.d.ts", + "io/ios-plus-empty.d.ts", + "io/ios-plus-outline.d.ts", + "io/ios-plus.d.ts", + "io/ios-pricetag-outline.d.ts", + "io/ios-pricetag.d.ts", + "io/ios-pricetags-outline.d.ts", + "io/ios-pricetags.d.ts", + "io/ios-printer-outline.d.ts", + "io/ios-printer.d.ts", + "io/ios-pulse-strong.d.ts", + "io/ios-pulse.d.ts", + "io/ios-rainy-outline.d.ts", + "io/ios-rainy.d.ts", + "io/ios-recording-outline.d.ts", + "io/ios-recording.d.ts", + "io/ios-redo-outline.d.ts", + "io/ios-redo.d.ts", + "io/ios-refresh-empty.d.ts", + "io/ios-refresh-outline.d.ts", + "io/ios-refresh.d.ts", + "io/ios-reload.d.ts", + "io/ios-reverse-camera-outline.d.ts", + "io/ios-reverse-camera.d.ts", + "io/ios-rewind-outline.d.ts", + "io/ios-rewind.d.ts", + "io/ios-rose-outline.d.ts", + "io/ios-rose.d.ts", + "io/ios-search-strong.d.ts", + "io/ios-search.d.ts", + "io/ios-settings-strong.d.ts", + "io/ios-settings.d.ts", + "io/ios-shuffle-strong.d.ts", + "io/ios-shuffle.d.ts", + "io/ios-skipbackward-outline.d.ts", + "io/ios-skipbackward.d.ts", + "io/ios-skipforward-outline.d.ts", + "io/ios-skipforward.d.ts", + "io/ios-snowy.d.ts", + "io/ios-speedometer-outline.d.ts", + "io/ios-speedometer.d.ts", + "io/ios-star-half.d.ts", + "io/ios-star-outline.d.ts", + "io/ios-star.d.ts", + "io/ios-stopwatch-outline.d.ts", + "io/ios-stopwatch.d.ts", + "io/ios-sunny-outline.d.ts", + "io/ios-sunny.d.ts", + "io/ios-telephone-outline.d.ts", + "io/ios-telephone.d.ts", + "io/ios-tennisball-outline.d.ts", + "io/ios-tennisball.d.ts", + "io/ios-thunderstorm-outline.d.ts", + "io/ios-thunderstorm.d.ts", + "io/ios-time-outline.d.ts", + "io/ios-time.d.ts", + "io/ios-timer-outline.d.ts", + "io/ios-timer.d.ts", + "io/ios-toggle-outline.d.ts", + "io/ios-toggle.d.ts", + "io/ios-trash-outline.d.ts", + "io/ios-trash.d.ts", + "io/ios-undo-outline.d.ts", + "io/ios-undo.d.ts", + "io/ios-unlocked-outline.d.ts", + "io/ios-unlocked.d.ts", + "io/ios-upload-outline.d.ts", + "io/ios-upload.d.ts", + "io/ios-videocam-outline.d.ts", + "io/ios-videocam.d.ts", + "io/ios-volume-high.d.ts", + "io/ios-volume-low.d.ts", + "io/ios-wineglass-outline.d.ts", + "io/ios-wineglass.d.ts", + "io/ios-world-outline.d.ts", + "io/ios-world.d.ts", + "io/ipad.d.ts", + "io/iphone.d.ts", + "io/ipod.d.ts", + "io/jet.d.ts", + "io/key.d.ts", + "io/knife.d.ts", + "io/laptop.d.ts", + "io/leaf.d.ts", + "io/levels.d.ts", + "io/lightbulb.d.ts", + "io/link.d.ts", + "io/load-a.d.ts", + "io/load-b.d.ts", + "io/load-c.d.ts", + "io/load-d.d.ts", + "io/location.d.ts", + "io/lock-combination.d.ts", + "io/locked.d.ts", + "io/log-in.d.ts", + "io/log-out.d.ts", + "io/loop.d.ts", + "io/magnet.d.ts", + "io/male.d.ts", + "io/man.d.ts", + "io/map.d.ts", + "io/medkit.d.ts", + "io/merge.d.ts", + "io/mic-a.d.ts", + "io/mic-b.d.ts", + "io/mic-c.d.ts", + "io/minus-circled.d.ts", + "io/minus-round.d.ts", + "io/minus.d.ts", + "io/model-s.d.ts", + "io/monitor.d.ts", + "io/more.d.ts", + "io/mouse.d.ts", + "io/music-note.d.ts", + "io/navicon-round.d.ts", + "io/navicon.d.ts", + "io/navigate.d.ts", + "io/network.d.ts", + "io/no-smoking.d.ts", + "io/nuclear.d.ts", + "io/outlet.d.ts", + "io/paintbrush.d.ts", + "io/paintbucket.d.ts", + "io/paper-airplane.d.ts", + "io/paperclip.d.ts", + "io/pause.d.ts", + "io/person-add.d.ts", + "io/person-stalker.d.ts", + "io/person.d.ts", + "io/pie-graph.d.ts", + "io/pin.d.ts", + "io/pinpoint.d.ts", + "io/pizza.d.ts", + "io/plane.d.ts", + "io/planet.d.ts", + "io/play.d.ts", + "io/playstation.d.ts", + "io/plus-circled.d.ts", + "io/plus-round.d.ts", + "io/plus.d.ts", + "io/podium.d.ts", + "io/pound.d.ts", + "io/power.d.ts", + "io/pricetag.d.ts", + "io/pricetags.d.ts", + "io/printer.d.ts", + "io/pull-request.d.ts", + "io/qr-scanner.d.ts", + "io/quote.d.ts", + "io/radio-waves.d.ts", + "io/record.d.ts", + "io/refresh.d.ts", + "io/reply-all.d.ts", + "io/reply.d.ts", + "io/ribbon-a.d.ts", + "io/ribbon-b.d.ts", + "io/sad-outline.d.ts", + "io/sad.d.ts", + "io/scissors.d.ts", + "io/search.d.ts", + "io/settings.d.ts", + "io/share.d.ts", + "io/shuffle.d.ts", + "io/skip-backward.d.ts", + "io/skip-forward.d.ts", + "io/social-android-outline.d.ts", + "io/social-android.d.ts", + "io/social-angular-outline.d.ts", + "io/social-angular.d.ts", + "io/social-apple-outline.d.ts", + "io/social-apple.d.ts", + "io/social-bitcoin-outline.d.ts", + "io/social-bitcoin.d.ts", + "io/social-buffer-outline.d.ts", + "io/social-buffer.d.ts", + "io/social-chrome-outline.d.ts", + "io/social-chrome.d.ts", + "io/social-codepen-outline.d.ts", + "io/social-codepen.d.ts", + "io/social-css3-outline.d.ts", + "io/social-css3.d.ts", + "io/social-designernews-outline.d.ts", + "io/social-designernews.d.ts", + "io/social-dribbble-outline.d.ts", + "io/social-dribbble.d.ts", + "io/social-dropbox-outline.d.ts", + "io/social-dropbox.d.ts", + "io/social-euro-outline.d.ts", + "io/social-euro.d.ts", + "io/social-facebook-outline.d.ts", + "io/social-facebook.d.ts", + "io/social-foursquare-outline.d.ts", + "io/social-foursquare.d.ts", + "io/social-freebsd-devil.d.ts", + "io/social-github-outline.d.ts", + "io/social-github.d.ts", + "io/social-google-outline.d.ts", + "io/social-google.d.ts", + "io/social-googleplus-outline.d.ts", + "io/social-googleplus.d.ts", + "io/social-hackernews-outline.d.ts", + "io/social-hackernews.d.ts", + "io/social-html5-outline.d.ts", + "io/social-html5.d.ts", + "io/social-instagram-outline.d.ts", + "io/social-instagram.d.ts", + "io/social-javascript-outline.d.ts", + "io/social-javascript.d.ts", + "io/social-linkedin-outline.d.ts", + "io/social-linkedin.d.ts", + "io/social-markdown.d.ts", + "io/social-nodejs.d.ts", + "io/social-octocat.d.ts", + "io/social-pinterest-outline.d.ts", + "io/social-pinterest.d.ts", + "io/social-python.d.ts", + "io/social-reddit-outline.d.ts", + "io/social-reddit.d.ts", + "io/social-rss-outline.d.ts", + "io/social-rss.d.ts", + "io/social-sass.d.ts", + "io/social-skype-outline.d.ts", + "io/social-skype.d.ts", + "io/social-snapchat-outline.d.ts", + "io/social-snapchat.d.ts", + "io/social-tumblr-outline.d.ts", + "io/social-tumblr.d.ts", + "io/social-tux.d.ts", + "io/social-twitch-outline.d.ts", + "io/social-twitch.d.ts", + "io/social-twitter-outline.d.ts", + "io/social-twitter.d.ts", + "io/social-usd-outline.d.ts", + "io/social-usd.d.ts", + "io/social-vimeo-outline.d.ts", + "io/social-vimeo.d.ts", + "io/social-whatsapp-outline.d.ts", + "io/social-whatsapp.d.ts", + "io/social-windows-outline.d.ts", + "io/social-windows.d.ts", + "io/social-wordpress-outline.d.ts", + "io/social-wordpress.d.ts", + "io/social-yahoo-outline.d.ts", + "io/social-yahoo.d.ts", + "io/social-yen-outline.d.ts", + "io/social-yen.d.ts", + "io/social-youtube-outline.d.ts", + "io/social-youtube.d.ts", + "io/soup-can-outline.d.ts", + "io/soup-can.d.ts", + "io/speakerphone.d.ts", + "io/speedometer.d.ts", + "io/spoon.d.ts", + "io/star.d.ts", + "io/stats-bars.d.ts", + "io/steam.d.ts", + "io/stop.d.ts", + "io/thermometer.d.ts", + "io/thumbsdown.d.ts", + "io/thumbsup.d.ts", + "io/toggle-filled.d.ts", + "io/toggle.d.ts", + "io/transgender.d.ts", + "io/trash-a.d.ts", + "io/trash-b.d.ts", + "io/trophy.d.ts", + "io/tshirt-outline.d.ts", + "io/tshirt.d.ts", + "io/umbrella.d.ts", + "io/university.d.ts", + "io/unlocked.d.ts", + "io/upload.d.ts", + "io/usb.d.ts", + "io/videocamera.d.ts", + "io/volume-high.d.ts", + "io/volume-low.d.ts", + "io/volume-medium.d.ts", + "io/volume-mute.d.ts", + "io/wand.d.ts", + "io/waterdrop.d.ts", + "io/wifi.d.ts", + "io/wineglass.d.ts", + "io/woman.d.ts", + "io/wrench.d.ts", + "io/xbox.d.ts", + "md/3d-rotation.d.ts", + "md/ac-unit.d.ts", + "md/access-alarm.d.ts", + "md/access-alarms.d.ts", + "md/access-time.d.ts", + "md/accessibility.d.ts", + "md/accessible.d.ts", + "md/account-balance-wallet.d.ts", + "md/account-balance.d.ts", + "md/account-box.d.ts", + "md/account-circle.d.ts", + "md/adb.d.ts", + "md/add-a-photo.d.ts", + "md/add-alarm.d.ts", + "md/add-alert.d.ts", + "md/add-box.d.ts", + "md/add-circle-outline.d.ts", + "md/add-circle.d.ts", + "md/add-location.d.ts", + "md/add-shopping-cart.d.ts", + "md/add-to-photos.d.ts", + "md/add-to-queue.d.ts", + "md/add.d.ts", + "md/adjust.d.ts", + "md/airline-seat-flat-angled.d.ts", + "md/airline-seat-flat.d.ts", + "md/airline-seat-individual-suite.d.ts", + "md/airline-seat-legroom-extra.d.ts", + "md/airline-seat-legroom-normal.d.ts", + "md/airline-seat-legroom-reduced.d.ts", + "md/airline-seat-recline-extra.d.ts", + "md/airline-seat-recline-normal.d.ts", + "md/airplanemode-active.d.ts", + "md/airplanemode-inactive.d.ts", + "md/airplay.d.ts", + "md/airport-shuttle.d.ts", + "md/alarm-add.d.ts", + "md/alarm-off.d.ts", + "md/alarm-on.d.ts", + "md/alarm.d.ts", + "md/album.d.ts", + "md/all-inclusive.d.ts", + "md/all-out.d.ts", + "md/android.d.ts", + "md/announcement.d.ts", + "md/apps.d.ts", + "md/archive.d.ts", + "md/arrow-back.d.ts", + "md/arrow-downward.d.ts", + "md/arrow-drop-down-circle.d.ts", + "md/arrow-drop-down.d.ts", + "md/arrow-drop-up.d.ts", + "md/arrow-forward.d.ts", + "md/arrow-upward.d.ts", + "md/art-track.d.ts", + "md/aspect-ratio.d.ts", + "md/assessment.d.ts", + "md/assignment-ind.d.ts", + "md/assignment-late.d.ts", + "md/assignment-return.d.ts", + "md/assignment-returned.d.ts", + "md/assignment-turned-in.d.ts", + "md/assignment.d.ts", + "md/assistant-photo.d.ts", + "md/assistant.d.ts", + "md/attach-file.d.ts", + "md/attach-money.d.ts", + "md/attachment.d.ts", + "md/audiotrack.d.ts", + "md/autorenew.d.ts", + "md/av-timer.d.ts", + "md/backspace.d.ts", + "md/backup.d.ts", + "md/battery-alert.d.ts", + "md/battery-charging-full.d.ts", + "md/battery-full.d.ts", + "md/battery-std.d.ts", + "md/battery-unknown.d.ts", + "md/beach-access.d.ts", + "md/beenhere.d.ts", + "md/block.d.ts", + "md/bluetooth-audio.d.ts", + "md/bluetooth-connected.d.ts", + "md/bluetooth-disabled.d.ts", + "md/bluetooth-searching.d.ts", + "md/bluetooth.d.ts", + "md/blur-circular.d.ts", + "md/blur-linear.d.ts", + "md/blur-off.d.ts", + "md/blur-on.d.ts", + "md/book.d.ts", + "md/bookmark-outline.d.ts", + "md/bookmark.d.ts", + "md/border-all.d.ts", + "md/border-bottom.d.ts", + "md/border-clear.d.ts", + "md/border-color.d.ts", + "md/border-horizontal.d.ts", + "md/border-inner.d.ts", + "md/border-left.d.ts", + "md/border-outer.d.ts", + "md/border-right.d.ts", + "md/border-style.d.ts", + "md/border-top.d.ts", + "md/border-vertical.d.ts", + "md/branding-watermark.d.ts", + "md/brightness-1.d.ts", + "md/brightness-2.d.ts", + "md/brightness-3.d.ts", + "md/brightness-4.d.ts", + "md/brightness-5.d.ts", + "md/brightness-6.d.ts", + "md/brightness-7.d.ts", + "md/brightness-auto.d.ts", + "md/brightness-high.d.ts", + "md/brightness-low.d.ts", + "md/brightness-medium.d.ts", + "md/broken-image.d.ts", + "md/brush.d.ts", + "md/bubble-chart.d.ts", + "md/bug-report.d.ts", + "md/build.d.ts", + "md/burst-mode.d.ts", + "md/business-center.d.ts", + "md/business.d.ts", + "md/cached.d.ts", + "md/cake.d.ts", + "md/call-end.d.ts", + "md/call-made.d.ts", + "md/call-merge.d.ts", + "md/call-missed-outgoing.d.ts", + "md/call-missed.d.ts", + "md/call-received.d.ts", + "md/call-split.d.ts", + "md/call-to-action.d.ts", + "md/call.d.ts", + "md/camera-alt.d.ts", + "md/camera-enhance.d.ts", + "md/camera-front.d.ts", + "md/camera-rear.d.ts", + "md/camera-roll.d.ts", + "md/camera.d.ts", + "md/cancel.d.ts", + "md/card-giftcard.d.ts", + "md/card-membership.d.ts", + "md/card-travel.d.ts", + "md/casino.d.ts", + "md/cast-connected.d.ts", + "md/cast.d.ts", + "md/center-focus-strong.d.ts", + "md/center-focus-weak.d.ts", + "md/change-history.d.ts", + "md/chat-bubble-outline.d.ts", + "md/chat-bubble.d.ts", + "md/chat.d.ts", + "md/check-box-outline-blank.d.ts", + "md/check-box.d.ts", + "md/check-circle.d.ts", + "md/check.d.ts", + "md/chevron-left.d.ts", + "md/chevron-right.d.ts", + "md/child-care.d.ts", + "md/child-friendly.d.ts", + "md/chrome-reader-mode.d.ts", + "md/class.d.ts", + "md/clear-all.d.ts", + "md/clear.d.ts", + "md/close.d.ts", + "md/closed-caption.d.ts", + "md/cloud-circle.d.ts", + "md/cloud-done.d.ts", + "md/cloud-download.d.ts", + "md/cloud-off.d.ts", + "md/cloud-queue.d.ts", + "md/cloud-upload.d.ts", + "md/cloud.d.ts", + "md/code.d.ts", + "md/collections-bookmark.d.ts", + "md/collections.d.ts", + "md/color-lens.d.ts", + "md/colorize.d.ts", + "md/comment.d.ts", + "md/compare-arrows.d.ts", + "md/compare.d.ts", + "md/computer.d.ts", + "md/confirmation-number.d.ts", + "md/contact-mail.d.ts", + "md/contact-phone.d.ts", + "md/contacts.d.ts", + "md/content-copy.d.ts", + "md/content-cut.d.ts", + "md/content-paste.d.ts", + "md/control-point-duplicate.d.ts", + "md/control-point.d.ts", + "md/copyright.d.ts", + "md/create-new-folder.d.ts", + "md/create.d.ts", + "md/credit-card.d.ts", + "md/crop-16-9.d.ts", + "md/crop-3-2.d.ts", + "md/crop-5-4.d.ts", + "md/crop-7-5.d.ts", + "md/crop-din.d.ts", + "md/crop-free.d.ts", + "md/crop-landscape.d.ts", + "md/crop-original.d.ts", + "md/crop-portrait.d.ts", + "md/crop-rotate.d.ts", + "md/crop-square.d.ts", + "md/crop.d.ts", + "md/dashboard.d.ts", + "md/data-usage.d.ts", + "md/date-range.d.ts", + "md/dehaze.d.ts", + "md/delete-forever.d.ts", + "md/delete-sweep.d.ts", + "md/delete.d.ts", + "md/description.d.ts", + "md/desktop-mac.d.ts", + "md/desktop-windows.d.ts", + "md/details.d.ts", + "md/developer-board.d.ts", + "md/developer-mode.d.ts", + "md/device-hub.d.ts", + "md/devices-other.d.ts", + "md/devices.d.ts", + "md/dialer-sip.d.ts", + "md/dialpad.d.ts", + "md/directions-bike.d.ts", + "md/directions-boat.d.ts", + "md/directions-bus.d.ts", + "md/directions-car.d.ts", + "md/directions-ferry.d.ts", + "md/directions-railway.d.ts", + "md/directions-run.d.ts", + "md/directions-subway.d.ts", + "md/directions-transit.d.ts", + "md/directions-walk.d.ts", + "md/directions.d.ts", + "md/disc-full.d.ts", + "md/dns.d.ts", + "md/do-not-disturb-alt.d.ts", + "md/do-not-disturb-off.d.ts", + "md/do-not-disturb.d.ts", + "md/dock.d.ts", + "md/domain.d.ts", + "md/done-all.d.ts", + "md/done.d.ts", + "md/donut-large.d.ts", + "md/donut-small.d.ts", + "md/drafts.d.ts", + "md/drag-handle.d.ts", + "md/drive-eta.d.ts", + "md/dvr.d.ts", + "md/edit-location.d.ts", + "md/edit.d.ts", + "md/eject.d.ts", + "md/email.d.ts", + "md/enhanced-encryption.d.ts", + "md/equalizer.d.ts", + "md/error-outline.d.ts", + "md/error.d.ts", + "md/euro-symbol.d.ts", + "md/ev-station.d.ts", + "md/event-available.d.ts", + "md/event-busy.d.ts", + "md/event-note.d.ts", + "md/event-seat.d.ts", + "md/event.d.ts", + "md/exit-to-app.d.ts", + "md/expand-less.d.ts", + "md/expand-more.d.ts", + "md/explicit.d.ts", + "md/explore.d.ts", + "md/exposure-minus-1.d.ts", + "md/exposure-minus-2.d.ts", + "md/exposure-neg-1.d.ts", + "md/exposure-neg-2.d.ts", + "md/exposure-plus-1.d.ts", + "md/exposure-plus-2.d.ts", + "md/exposure-zero.d.ts", + "md/exposure.d.ts", + "md/extension.d.ts", + "md/face.d.ts", + "md/fast-forward.d.ts", + "md/fast-rewind.d.ts", + "md/favorite-border.d.ts", + "md/favorite-outline.d.ts", + "md/favorite.d.ts", + "md/featured-play-list.d.ts", + "md/featured-video.d.ts", + "md/feedback.d.ts", + "md/fiber-dvr.d.ts", + "md/fiber-manual-record.d.ts", + "md/fiber-new.d.ts", + "md/fiber-pin.d.ts", + "md/fiber-smart-record.d.ts", + "md/file-download.d.ts", + "md/file-upload.d.ts", + "md/filter-1.d.ts", + "md/filter-2.d.ts", + "md/filter-3.d.ts", + "md/filter-4.d.ts", + "md/filter-5.d.ts", + "md/filter-6.d.ts", + "md/filter-7.d.ts", + "md/filter-8.d.ts", + "md/filter-9-plus.d.ts", + "md/filter-9.d.ts", + "md/filter-b-and-w.d.ts", + "md/filter-center-focus.d.ts", + "md/filter-drama.d.ts", + "md/filter-frames.d.ts", + "md/filter-hdr.d.ts", + "md/filter-list.d.ts", + "md/filter-none.d.ts", + "md/filter-tilt-shift.d.ts", + "md/filter-vintage.d.ts", + "md/filter.d.ts", + "md/find-in-page.d.ts", + "md/find-replace.d.ts", + "md/fingerprint.d.ts", + "md/first-page.d.ts", + "md/fitness-center.d.ts", + "md/flag.d.ts", + "md/flare.d.ts", + "md/flash-auto.d.ts", + "md/flash-off.d.ts", + "md/flash-on.d.ts", + "md/flight-land.d.ts", + "md/flight-takeoff.d.ts", + "md/flight.d.ts", + "md/flip-to-back.d.ts", + "md/flip-to-front.d.ts", + "md/flip.d.ts", + "md/folder-open.d.ts", + "md/folder-shared.d.ts", + "md/folder-special.d.ts", + "md/folder.d.ts", + "md/font-download.d.ts", + "md/format-align-center.d.ts", + "md/format-align-justify.d.ts", + "md/format-align-left.d.ts", + "md/format-align-right.d.ts", + "md/format-bold.d.ts", + "md/format-clear.d.ts", + "md/format-color-fill.d.ts", + "md/format-color-reset.d.ts", + "md/format-color-text.d.ts", + "md/format-indent-decrease.d.ts", + "md/format-indent-increase.d.ts", + "md/format-italic.d.ts", + "md/format-line-spacing.d.ts", + "md/format-list-bulleted.d.ts", + "md/format-list-numbered.d.ts", + "md/format-paint.d.ts", + "md/format-quote.d.ts", + "md/format-shapes.d.ts", + "md/format-size.d.ts", + "md/format-strikethrough.d.ts", + "md/format-textdirection-l-to-r.d.ts", + "md/format-textdirection-r-to-l.d.ts", + "md/format-underlined.d.ts", + "md/forum.d.ts", + "md/forward-10.d.ts", + "md/forward-30.d.ts", + "md/forward-5.d.ts", + "md/forward.d.ts", + "md/free-breakfast.d.ts", + "md/fullscreen-exit.d.ts", + "md/fullscreen.d.ts", + "md/functions.d.ts", + "md/g-translate.d.ts", + "md/gamepad.d.ts", + "md/games.d.ts", + "md/gavel.d.ts", + "md/gesture.d.ts", + "md/get-app.d.ts", + "md/gif.d.ts", + "md/goat.d.ts", + "md/golf-course.d.ts", + "md/gps-fixed.d.ts", + "md/gps-not-fixed.d.ts", + "md/gps-off.d.ts", + "md/grade.d.ts", + "md/gradient.d.ts", + "md/grain.d.ts", + "md/graphic-eq.d.ts", + "md/grid-off.d.ts", + "md/grid-on.d.ts", + "md/group-add.d.ts", + "md/group-work.d.ts", + "md/group.d.ts", + "md/hd.d.ts", + "md/hdr-off.d.ts", + "md/hdr-on.d.ts", + "md/hdr-strong.d.ts", + "md/hdr-weak.d.ts", + "md/headset-mic.d.ts", + "md/headset.d.ts", + "md/healing.d.ts", + "md/hearing.d.ts", + "md/help-outline.d.ts", + "md/help.d.ts", + "md/high-quality.d.ts", + "md/highlight-off.d.ts", + "md/highlight-remove.d.ts", + "md/highlight.d.ts", + "md/history.d.ts", + "md/home.d.ts", + "md/hot-tub.d.ts", + "md/hotel.d.ts", + "md/hourglass-empty.d.ts", + "md/hourglass-full.d.ts", + "md/http.d.ts", + "md/https.d.ts", + "md/image-aspect-ratio.d.ts", + "md/image.d.ts", + "md/import-contacts.d.ts", + "md/import-export.d.ts", + "md/important-devices.d.ts", + "md/inbox.d.ts", + "md/indeterminate-check-box.d.ts", + "md/info-outline.d.ts", + "md/info.d.ts", + "md/input.d.ts", + "md/insert-chart.d.ts", + "md/insert-comment.d.ts", + "md/insert-drive-file.d.ts", + "md/insert-emoticon.d.ts", + "md/insert-invitation.d.ts", + "md/insert-link.d.ts", + "md/insert-photo.d.ts", + "md/invert-colors-off.d.ts", + "md/invert-colors-on.d.ts", + "md/invert-colors.d.ts", + "md/iso.d.ts", + "md/keyboard-arrow-down.d.ts", + "md/keyboard-arrow-left.d.ts", + "md/keyboard-arrow-right.d.ts", + "md/keyboard-arrow-up.d.ts", + "md/keyboard-backspace.d.ts", + "md/keyboard-capslock.d.ts", + "md/keyboard-control.d.ts", + "md/keyboard-hide.d.ts", + "md/keyboard-return.d.ts", + "md/keyboard-tab.d.ts", + "md/keyboard-voice.d.ts", + "md/keyboard.d.ts", + "md/kitchen.d.ts", + "md/label-outline.d.ts", + "md/label.d.ts", + "md/landscape.d.ts", + "md/language.d.ts", + "md/laptop-chromebook.d.ts", + "md/laptop-mac.d.ts", + "md/laptop-windows.d.ts", + "md/laptop.d.ts", + "md/last-page.d.ts", + "md/launch.d.ts", + "md/layers-clear.d.ts", + "md/layers.d.ts", + "md/leak-add.d.ts", + "md/leak-remove.d.ts", + "md/lens.d.ts", + "md/library-add.d.ts", + "md/library-books.d.ts", + "md/library-music.d.ts", + "md/lightbulb-outline.d.ts", + "md/line-style.d.ts", + "md/line-weight.d.ts", + "md/linear-scale.d.ts", + "md/link.d.ts", + "md/linked-camera.d.ts", + "md/list.d.ts", + "md/live-help.d.ts", + "md/live-tv.d.ts", + "md/local-airport.d.ts", + "md/local-atm.d.ts", + "md/local-attraction.d.ts", + "md/local-bar.d.ts", + "md/local-cafe.d.ts", + "md/local-car-wash.d.ts", + "md/local-convenience-store.d.ts", + "md/local-drink.d.ts", + "md/local-florist.d.ts", + "md/local-gas-station.d.ts", + "md/local-grocery-store.d.ts", + "md/local-hospital.d.ts", + "md/local-hotel.d.ts", + "md/local-laundry-service.d.ts", + "md/local-library.d.ts", + "md/local-mall.d.ts", + "md/local-movies.d.ts", + "md/local-offer.d.ts", + "md/local-parking.d.ts", + "md/local-pharmacy.d.ts", + "md/local-phone.d.ts", + "md/local-pizza.d.ts", + "md/local-play.d.ts", + "md/local-post-office.d.ts", + "md/local-print-shop.d.ts", + "md/local-restaurant.d.ts", + "md/local-see.d.ts", + "md/local-shipping.d.ts", + "md/local-taxi.d.ts", + "md/location-city.d.ts", + "md/location-disabled.d.ts", + "md/location-history.d.ts", + "md/location-off.d.ts", + "md/location-on.d.ts", + "md/location-searching.d.ts", + "md/lock-open.d.ts", + "md/lock-outline.d.ts", + "md/lock.d.ts", + "md/looks-3.d.ts", + "md/looks-4.d.ts", + "md/looks-5.d.ts", + "md/looks-6.d.ts", + "md/looks-one.d.ts", + "md/looks-two.d.ts", + "md/looks.d.ts", + "md/loop.d.ts", + "md/loupe.d.ts", + "md/low-priority.d.ts", + "md/loyalty.d.ts", + "md/mail-outline.d.ts", + "md/mail.d.ts", + "md/map.d.ts", + "md/markunread-mailbox.d.ts", + "md/markunread.d.ts", + "md/memory.d.ts", + "md/menu.d.ts", + "md/merge-type.d.ts", + "md/message.d.ts", + "md/mic-none.d.ts", + "md/mic-off.d.ts", + "md/mic.d.ts", + "md/mms.d.ts", + "md/mode-comment.d.ts", + "md/mode-edit.d.ts", + "md/monetization-on.d.ts", + "md/money-off.d.ts", + "md/monochrome-photos.d.ts", + "md/mood-bad.d.ts", + "md/mood.d.ts", + "md/more-horiz.d.ts", + "md/more-vert.d.ts", + "md/more.d.ts", + "md/motorcycle.d.ts", + "md/mouse.d.ts", + "md/move-to-inbox.d.ts", + "md/movie-creation.d.ts", + "md/movie-filter.d.ts", + "md/movie.d.ts", + "md/multiline-chart.d.ts", + "md/music-note.d.ts", + "md/music-video.d.ts", + "md/my-location.d.ts", + "md/nature-people.d.ts", + "md/nature.d.ts", + "md/navigate-before.d.ts", + "md/navigate-next.d.ts", + "md/navigation.d.ts", + "md/near-me.d.ts", + "md/network-cell.d.ts", + "md/network-check.d.ts", + "md/network-locked.d.ts", + "md/network-wifi.d.ts", + "md/new-releases.d.ts", + "md/next-week.d.ts", + "md/nfc.d.ts", + "md/no-encryption.d.ts", + "md/no-sim.d.ts", + "md/not-interested.d.ts", + "md/note-add.d.ts", + "md/note.d.ts", + "md/notifications-active.d.ts", + "md/notifications-none.d.ts", + "md/notifications-off.d.ts", + "md/notifications-paused.d.ts", + "md/notifications.d.ts", + "md/now-wallpaper.d.ts", + "md/now-widgets.d.ts", + "md/offline-pin.d.ts", + "md/ondemand-video.d.ts", + "md/opacity.d.ts", + "md/open-in-browser.d.ts", + "md/open-in-new.d.ts", + "md/open-with.d.ts", + "md/pages.d.ts", + "md/pageview.d.ts", + "md/palette.d.ts", + "md/pan-tool.d.ts", + "md/panorama-fish-eye.d.ts", + "md/panorama-horizontal.d.ts", + "md/panorama-vertical.d.ts", + "md/panorama-wide-angle.d.ts", + "md/panorama.d.ts", + "md/party-mode.d.ts", + "md/pause-circle-filled.d.ts", + "md/pause-circle-outline.d.ts", + "md/pause.d.ts", + "md/payment.d.ts", + "md/people-outline.d.ts", + "md/people.d.ts", + "md/perm-camera-mic.d.ts", + "md/perm-contact-calendar.d.ts", + "md/perm-data-setting.d.ts", + "md/perm-device-information.d.ts", + "md/perm-identity.d.ts", + "md/perm-media.d.ts", + "md/perm-phone-msg.d.ts", + "md/perm-scan-wifi.d.ts", + "md/person-add.d.ts", + "md/person-outline.d.ts", + "md/person-pin-circle.d.ts", + "md/person-pin.d.ts", + "md/person.d.ts", + "md/personal-video.d.ts", + "md/pets.d.ts", + "md/phone-android.d.ts", + "md/phone-bluetooth-speaker.d.ts", + "md/phone-forwarded.d.ts", + "md/phone-in-talk.d.ts", + "md/phone-iphone.d.ts", + "md/phone-locked.d.ts", + "md/phone-missed.d.ts", + "md/phone-paused.d.ts", + "md/phone.d.ts", + "md/phonelink-erase.d.ts", + "md/phonelink-lock.d.ts", + "md/phonelink-off.d.ts", + "md/phonelink-ring.d.ts", + "md/phonelink-setup.d.ts", + "md/phonelink.d.ts", + "md/photo-album.d.ts", + "md/photo-camera.d.ts", + "md/photo-filter.d.ts", + "md/photo-library.d.ts", + "md/photo-size-select-actual.d.ts", + "md/photo-size-select-large.d.ts", + "md/photo-size-select-small.d.ts", + "md/photo.d.ts", + "md/picture-as-pdf.d.ts", + "md/picture-in-picture-alt.d.ts", + "md/picture-in-picture.d.ts", + "md/pie-chart-outlined.d.ts", + "md/pie-chart.d.ts", + "md/pin-drop.d.ts", + "md/place.d.ts", + "md/play-arrow.d.ts", + "md/play-circle-filled.d.ts", + "md/play-circle-outline.d.ts", + "md/play-for-work.d.ts", + "md/playlist-add-check.d.ts", + "md/playlist-add.d.ts", + "md/playlist-play.d.ts", + "md/plus-one.d.ts", + "md/poll.d.ts", + "md/polymer.d.ts", + "md/pool.d.ts", + "md/portable-wifi-off.d.ts", + "md/portrait.d.ts", + "md/power-input.d.ts", + "md/power-settings-new.d.ts", + "md/power.d.ts", + "md/pregnant-woman.d.ts", + "md/present-to-all.d.ts", + "md/print.d.ts", + "md/priority-high.d.ts", + "md/public.d.ts", + "md/publish.d.ts", + "md/query-builder.d.ts", + "md/question-answer.d.ts", + "md/queue-music.d.ts", + "md/queue-play-next.d.ts", + "md/queue.d.ts", + "md/radio-button-checked.d.ts", + "md/radio-button-unchecked.d.ts", + "md/radio.d.ts", + "md/rate-review.d.ts", + "md/receipt.d.ts", + "md/recent-actors.d.ts", + "md/record-voice-over.d.ts", + "md/redeem.d.ts", + "md/redo.d.ts", + "md/refresh.d.ts", + "md/remove-circle-outline.d.ts", + "md/remove-circle.d.ts", + "md/remove-from-queue.d.ts", + "md/remove-red-eye.d.ts", + "md/remove-shopping-cart.d.ts", + "md/remove.d.ts", + "md/reorder.d.ts", + "md/repeat-one.d.ts", + "md/repeat.d.ts", + "md/replay-10.d.ts", + "md/replay-30.d.ts", + "md/replay-5.d.ts", + "md/replay.d.ts", + "md/reply-all.d.ts", + "md/reply.d.ts", + "md/report-problem.d.ts", + "md/report.d.ts", + "md/restaurant-menu.d.ts", + "md/restaurant.d.ts", + "md/restore-page.d.ts", + "md/restore.d.ts", + "md/ring-volume.d.ts", + "md/room-service.d.ts", + "md/room.d.ts", + "md/rotate-90-degrees-ccw.d.ts", + "md/rotate-left.d.ts", + "md/rotate-right.d.ts", + "md/rounded-corner.d.ts", + "md/router.d.ts", + "md/rowing.d.ts", + "md/rss-feed.d.ts", + "md/rv-hookup.d.ts", + "md/satellite.d.ts", + "md/save.d.ts", + "md/scanner.d.ts", + "md/schedule.d.ts", + "md/school.d.ts", + "md/screen-lock-landscape.d.ts", + "md/screen-lock-portrait.d.ts", + "md/screen-lock-rotation.d.ts", + "md/screen-rotation.d.ts", + "md/screen-share.d.ts", + "md/sd-card.d.ts", + "md/sd-storage.d.ts", + "md/search.d.ts", + "md/security.d.ts", + "md/select-all.d.ts", + "md/send.d.ts", + "md/sentiment-dissatisfied.d.ts", + "md/sentiment-neutral.d.ts", + "md/sentiment-satisfied.d.ts", + "md/sentiment-very-dissatisfied.d.ts", + "md/sentiment-very-satisfied.d.ts", + "md/settings-applications.d.ts", + "md/settings-backup-restore.d.ts", + "md/settings-bluetooth.d.ts", + "md/settings-brightness.d.ts", + "md/settings-cell.d.ts", + "md/settings-ethernet.d.ts", + "md/settings-input-antenna.d.ts", + "md/settings-input-component.d.ts", + "md/settings-input-composite.d.ts", + "md/settings-input-hdmi.d.ts", + "md/settings-input-svideo.d.ts", + "md/settings-overscan.d.ts", + "md/settings-phone.d.ts", + "md/settings-power.d.ts", + "md/settings-remote.d.ts", + "md/settings-system-daydream.d.ts", + "md/settings-voice.d.ts", + "md/settings.d.ts", + "md/share.d.ts", + "md/shop-two.d.ts", + "md/shop.d.ts", + "md/shopping-basket.d.ts", + "md/shopping-cart.d.ts", + "md/short-text.d.ts", + "md/show-chart.d.ts", + "md/shuffle.d.ts", + "md/signal-cellular-4-bar.d.ts", + "md/signal-cellular-connected-no-internet-4-bar.d.ts", + "md/signal-cellular-no-sim.d.ts", + "md/signal-cellular-null.d.ts", + "md/signal-cellular-off.d.ts", + "md/signal-wifi-4-bar-lock.d.ts", + "md/signal-wifi-4-bar.d.ts", + "md/signal-wifi-off.d.ts", + "md/sim-card-alert.d.ts", + "md/sim-card.d.ts", + "md/skip-next.d.ts", + "md/skip-previous.d.ts", + "md/slideshow.d.ts", + "md/slow-motion-video.d.ts", + "md/smartphone.d.ts", + "md/smoke-free.d.ts", + "md/smoking-rooms.d.ts", + "md/sms-failed.d.ts", + "md/sms.d.ts", + "md/snooze.d.ts", + "md/sort-by-alpha.d.ts", + "md/sort.d.ts", + "md/spa.d.ts", + "md/space-bar.d.ts", + "md/speaker-group.d.ts", + "md/speaker-notes-off.d.ts", + "md/speaker-notes.d.ts", + "md/speaker-phone.d.ts", + "md/speaker.d.ts", + "md/spellcheck.d.ts", + "md/star-border.d.ts", + "md/star-half.d.ts", + "md/star-outline.d.ts", + "md/star.d.ts", + "md/stars.d.ts", + "md/stay-current-landscape.d.ts", + "md/stay-current-portrait.d.ts", + "md/stay-primary-landscape.d.ts", + "md/stay-primary-portrait.d.ts", + "md/stop-screen-share.d.ts", + "md/stop.d.ts", + "md/storage.d.ts", + "md/store-mall-directory.d.ts", + "md/store.d.ts", + "md/straighten.d.ts", + "md/streetview.d.ts", + "md/strikethrough-s.d.ts", + "md/style.d.ts", + "md/subdirectory-arrow-left.d.ts", + "md/subdirectory-arrow-right.d.ts", + "md/subject.d.ts", + "md/subscriptions.d.ts", + "md/subtitles.d.ts", + "md/subway.d.ts", + "md/supervisor-account.d.ts", + "md/surround-sound.d.ts", + "md/swap-calls.d.ts", + "md/swap-horiz.d.ts", + "md/swap-vert.d.ts", + "md/swap-vertical-circle.d.ts", + "md/switch-camera.d.ts", + "md/switch-video.d.ts", + "md/sync-disabled.d.ts", + "md/sync-problem.d.ts", + "md/sync.d.ts", + "md/system-update-alt.d.ts", + "md/system-update.d.ts", + "md/tab-unselected.d.ts", + "md/tab.d.ts", + "md/tablet-android.d.ts", + "md/tablet-mac.d.ts", + "md/tablet.d.ts", + "md/tag-faces.d.ts", + "md/tap-and-play.d.ts", + "md/terrain.d.ts", + "md/text-fields.d.ts", + "md/text-format.d.ts", + "md/textsms.d.ts", + "md/texture.d.ts", + "md/theaters.d.ts", + "md/thumb-down.d.ts", + "md/thumb-up.d.ts", + "md/thumbs-up-down.d.ts", + "md/time-to-leave.d.ts", + "md/timelapse.d.ts", + "md/timeline.d.ts", + "md/timer-10.d.ts", + "md/timer-3.d.ts", + "md/timer-off.d.ts", + "md/timer.d.ts", + "md/title.d.ts", + "md/toc.d.ts", + "md/today.d.ts", + "md/toll.d.ts", + "md/tonality.d.ts", + "md/touch-app.d.ts", + "md/toys.d.ts", + "md/track-changes.d.ts", + "md/traffic.d.ts", + "md/train.d.ts", + "md/tram.d.ts", + "md/transfer-within-a-station.d.ts", + "md/transform.d.ts", + "md/translate.d.ts", + "md/trending-down.d.ts", + "md/trending-flat.d.ts", + "md/trending-neutral.d.ts", + "md/trending-up.d.ts", + "md/tune.d.ts", + "md/turned-in-not.d.ts", + "md/turned-in.d.ts", + "md/tv.d.ts", + "md/unarchive.d.ts", + "md/undo.d.ts", + "md/unfold-less.d.ts", + "md/unfold-more.d.ts", + "md/update.d.ts", + "md/usb.d.ts", + "md/verified-user.d.ts", + "md/vertical-align-bottom.d.ts", + "md/vertical-align-center.d.ts", + "md/vertical-align-top.d.ts", + "md/vibration.d.ts", + "md/video-call.d.ts", + "md/video-collection.d.ts", + "md/video-label.d.ts", + "md/video-library.d.ts", + "md/videocam-off.d.ts", + "md/videocam.d.ts", + "md/videogame-asset.d.ts", + "md/view-agenda.d.ts", + "md/view-array.d.ts", + "md/view-carousel.d.ts", + "md/view-column.d.ts", + "md/view-comfortable.d.ts", + "md/view-comfy.d.ts", + "md/view-compact.d.ts", + "md/view-day.d.ts", + "md/view-headline.d.ts", + "md/view-list.d.ts", + "md/view-module.d.ts", + "md/view-quilt.d.ts", + "md/view-stream.d.ts", + "md/view-week.d.ts", + "md/vignette.d.ts", + "md/visibility-off.d.ts", + "md/visibility.d.ts", + "md/voice-chat.d.ts", + "md/voicemail.d.ts", + "md/volume-down.d.ts", + "md/volume-mute.d.ts", + "md/volume-off.d.ts", + "md/volume-up.d.ts", + "md/vpn-key.d.ts", + "md/vpn-lock.d.ts", + "md/wallpaper.d.ts", + "md/warning.d.ts", + "md/watch-later.d.ts", + "md/watch.d.ts", + "md/wb-auto.d.ts", + "md/wb-cloudy.d.ts", + "md/wb-incandescent.d.ts", + "md/wb-iridescent.d.ts", + "md/wb-sunny.d.ts", + "md/wc.d.ts", + "md/web-asset.d.ts", + "md/web.d.ts", + "md/weekend.d.ts", + "md/whatshot.d.ts", + "md/widgets.d.ts", + "md/wifi-lock.d.ts", + "md/wifi-tethering.d.ts", + "md/wifi.d.ts", + "md/work.d.ts", + "md/wrap-text.d.ts", + "md/youtube-searched-for.d.ts", + "md/zoom-in.d.ts", + "md/zoom-out-map.d.ts", + "md/zoom-out.d.ts", + "ti/adjust-brightness.d.ts", + "ti/adjust-contrast.d.ts", + "ti/anchor-outline.d.ts", + "ti/anchor.d.ts", + "ti/archive.d.ts", + "ti/arrow-back-outline.d.ts", + "ti/arrow-back.d.ts", + "ti/arrow-down-outline.d.ts", + "ti/arrow-down-thick.d.ts", + "ti/arrow-down.d.ts", + "ti/arrow-forward-outline.d.ts", + "ti/arrow-forward.d.ts", + "ti/arrow-left-outline.d.ts", + "ti/arrow-left-thick.d.ts", + "ti/arrow-left.d.ts", + "ti/arrow-loop-outline.d.ts", + "ti/arrow-loop.d.ts", + "ti/arrow-maximise-outline.d.ts", + "ti/arrow-maximise.d.ts", + "ti/arrow-minimise-outline.d.ts", + "ti/arrow-minimise.d.ts", + "ti/arrow-move-outline.d.ts", + "ti/arrow-move.d.ts", + "ti/arrow-repeat-outline.d.ts", + "ti/arrow-repeat.d.ts", + "ti/arrow-right-outline.d.ts", + "ti/arrow-right-thick.d.ts", + "ti/arrow-right.d.ts", + "ti/arrow-shuffle.d.ts", + "ti/arrow-sorted-down.d.ts", + "ti/arrow-sorted-up.d.ts", + "ti/arrow-sync-outline.d.ts", + "ti/arrow-sync.d.ts", + "ti/arrow-unsorted.d.ts", + "ti/arrow-up-outline.d.ts", + "ti/arrow-up-thick.d.ts", + "ti/arrow-up.d.ts", + "ti/at.d.ts", + "ti/attachment-outline.d.ts", + "ti/attachment.d.ts", + "ti/backspace-outline.d.ts", + "ti/backspace.d.ts", + "ti/battery-charge.d.ts", + "ti/battery-full.d.ts", + "ti/battery-high.d.ts", + "ti/battery-low.d.ts", + "ti/battery-mid.d.ts", + "ti/beaker.d.ts", + "ti/beer.d.ts", + "ti/bell.d.ts", + "ti/book.d.ts", + "ti/bookmark.d.ts", + "ti/briefcase.d.ts", + "ti/brush.d.ts", + "ti/business-card.d.ts", + "ti/calculator.d.ts", + "ti/calendar-outline.d.ts", + "ti/calendar.d.ts", + "ti/calender-outline.d.ts", + "ti/calender.d.ts", + "ti/camera-outline.d.ts", + "ti/camera.d.ts", + "ti/cancel-outline.d.ts", + "ti/cancel.d.ts", + "ti/chart-area-outline.d.ts", + "ti/chart-area.d.ts", + "ti/chart-bar-outline.d.ts", + "ti/chart-bar.d.ts", + "ti/chart-line-outline.d.ts", + "ti/chart-line.d.ts", + "ti/chart-pie-outline.d.ts", + "ti/chart-pie.d.ts", + "ti/chevron-left-outline.d.ts", + "ti/chevron-left.d.ts", + "ti/chevron-right-outline.d.ts", + "ti/chevron-right.d.ts", + "ti/clipboard.d.ts", + "ti/cloud-storage-outline.d.ts", + "ti/cloud-storage.d.ts", + "ti/code-outline.d.ts", + "ti/code.d.ts", + "ti/coffee.d.ts", + "ti/cog-outline.d.ts", + "ti/cog.d.ts", + "ti/compass.d.ts", + "ti/contacts.d.ts", + "ti/credit-card.d.ts", + "ti/cross.d.ts", + "ti/css3.d.ts", + "ti/database.d.ts", + "ti/delete-outline.d.ts", + "ti/delete.d.ts", + "ti/device-desktop.d.ts", + "ti/device-laptop.d.ts", + "ti/device-phone.d.ts", + "ti/device-tablet.d.ts", + "ti/directions.d.ts", + "ti/divide-outline.d.ts", + "ti/divide.d.ts", + "ti/document-add.d.ts", + "ti/document-delete.d.ts", + "ti/document-text.d.ts", + "ti/document.d.ts", + "ti/download-outline.d.ts", + "ti/download.d.ts", + "ti/dropbox.d.ts", + "ti/edit.d.ts", + "ti/eject-outline.d.ts", + "ti/eject.d.ts", + "ti/equals-outline.d.ts", + "ti/equals.d.ts", + "ti/export-outline.d.ts", + "ti/export.d.ts", + "ti/eye-outline.d.ts", + "ti/eye.d.ts", + "ti/feather.d.ts", + "ti/film.d.ts", + "ti/filter.d.ts", + "ti/flag-outline.d.ts", + "ti/flag.d.ts", + "ti/flash-outline.d.ts", + "ti/flash.d.ts", + "ti/flow-children.d.ts", + "ti/flow-merge.d.ts", + "ti/flow-parallel.d.ts", + "ti/flow-switch.d.ts", + "ti/folder-add.d.ts", + "ti/folder-delete.d.ts", + "ti/folder-open.d.ts", + "ti/folder.d.ts", + "ti/gift.d.ts", + "ti/globe-outline.d.ts", + "ti/globe.d.ts", + "ti/group-outline.d.ts", + "ti/group.d.ts", + "ti/headphones.d.ts", + "ti/heart-full-outline.d.ts", + "ti/heart-half-outline.d.ts", + "ti/heart-outline.d.ts", + "ti/heart.d.ts", + "ti/home-outline.d.ts", + "ti/home.d.ts", + "ti/html5.d.ts", + "ti/image-outline.d.ts", + "ti/image.d.ts", + "ti/infinity-outline.d.ts", + "ti/infinity.d.ts", + "ti/info-large-outline.d.ts", + "ti/info-large.d.ts", + "ti/info-outline.d.ts", + "ti/info.d.ts", + "ti/input-checked-outline.d.ts", + "ti/input-checked.d.ts", + "ti/key-outline.d.ts", + "ti/key.d.ts", + "ti/keyboard.d.ts", + "ti/leaf.d.ts", + "ti/lightbulb.d.ts", + "ti/link-outline.d.ts", + "ti/link.d.ts", + "ti/location-arrow-outline.d.ts", + "ti/location-arrow.d.ts", + "ti/location-outline.d.ts", + "ti/location.d.ts", + "ti/lock-closed-outline.d.ts", + "ti/lock-closed.d.ts", + "ti/lock-open-outline.d.ts", + "ti/lock-open.d.ts", + "ti/mail.d.ts", + "ti/map.d.ts", + "ti/media-eject-outline.d.ts", + "ti/media-eject.d.ts", + "ti/media-fast-forward-outline.d.ts", + "ti/media-fast-forward.d.ts", + "ti/media-pause-outline.d.ts", + "ti/media-pause.d.ts", + "ti/media-play-outline.d.ts", + "ti/media-play-reverse-outline.d.ts", + "ti/media-play-reverse.d.ts", + "ti/media-play.d.ts", + "ti/media-record-outline.d.ts", + "ti/media-record.d.ts", + "ti/media-rewind-outline.d.ts", + "ti/media-rewind.d.ts", + "ti/media-stop-outline.d.ts", + "ti/media-stop.d.ts", + "ti/message-typing.d.ts", + "ti/message.d.ts", + "ti/messages.d.ts", + "ti/microphone-outline.d.ts", + "ti/microphone.d.ts", + "ti/minus-outline.d.ts", + "ti/minus.d.ts", + "ti/mortar-board.d.ts", + "ti/news.d.ts", + "ti/notes-outline.d.ts", + "ti/notes.d.ts", + "ti/pen.d.ts", + "ti/pencil.d.ts", + "ti/phone-outline.d.ts", + "ti/phone.d.ts", + "ti/pi-outline.d.ts", + "ti/pi.d.ts", + "ti/pin-outline.d.ts", + "ti/pin.d.ts", + "ti/pipette.d.ts", + "ti/plane-outline.d.ts", + "ti/plane.d.ts", + "ti/plug.d.ts", + "ti/plus-outline.d.ts", + "ti/plus.d.ts", + "ti/point-of-interest-outline.d.ts", + "ti/point-of-interest.d.ts", + "ti/power-outline.d.ts", + "ti/power.d.ts", + "ti/printer.d.ts", + "ti/puzzle-outline.d.ts", + "ti/puzzle.d.ts", + "ti/radar-outline.d.ts", + "ti/radar.d.ts", + "ti/refresh-outline.d.ts", + "ti/refresh.d.ts", + "ti/rss-outline.d.ts", + "ti/rss.d.ts", + "ti/scissors-outline.d.ts", + "ti/scissors.d.ts", + "ti/shopping-bag.d.ts", + "ti/shopping-cart.d.ts", + "ti/social-at-circular.d.ts", + "ti/social-dribbble-circular.d.ts", + "ti/social-dribbble.d.ts", + "ti/social-facebook-circular.d.ts", + "ti/social-facebook.d.ts", + "ti/social-flickr-circular.d.ts", + "ti/social-flickr.d.ts", + "ti/social-github-circular.d.ts", + "ti/social-github.d.ts", + "ti/social-google-plus-circular.d.ts", + "ti/social-google-plus.d.ts", + "ti/social-instagram-circular.d.ts", + "ti/social-instagram.d.ts", + "ti/social-last-fm-circular.d.ts", + "ti/social-last-fm.d.ts", + "ti/social-linkedin-circular.d.ts", + "ti/social-linkedin.d.ts", + "ti/social-pinterest-circular.d.ts", + "ti/social-pinterest.d.ts", + "ti/social-skype-outline.d.ts", + "ti/social-skype.d.ts", + "ti/social-tumbler-circular.d.ts", + "ti/social-tumbler.d.ts", + "ti/social-twitter-circular.d.ts", + "ti/social-twitter.d.ts", + "ti/social-vimeo-circular.d.ts", + "ti/social-vimeo.d.ts", + "ti/social-youtube-circular.d.ts", + "ti/social-youtube.d.ts", + "ti/sort-alphabetically-outline.d.ts", + "ti/sort-alphabetically.d.ts", + "ti/sort-numerically-outline.d.ts", + "ti/sort-numerically.d.ts", + "ti/spanner-outline.d.ts", + "ti/spanner.d.ts", + "ti/spiral.d.ts", + "ti/star-full-outline.d.ts", + "ti/star-half-outline.d.ts", + "ti/star-half.d.ts", + "ti/star-outline.d.ts", + "ti/star.d.ts", + "ti/starburst-outline.d.ts", + "ti/starburst.d.ts", + "ti/stopwatch.d.ts", + "ti/support.d.ts", + "ti/tabs-outline.d.ts", + "ti/tag.d.ts", + "ti/tags.d.ts", + "ti/th-large-outline.d.ts", + "ti/th-large.d.ts", + "ti/th-list-outline.d.ts", + "ti/th-list.d.ts", + "ti/th-menu-outline.d.ts", + "ti/th-menu.d.ts", + "ti/th-small-outline.d.ts", + "ti/th-small.d.ts", + "ti/thermometer.d.ts", + "ti/thumbs-down.d.ts", + "ti/thumbs-ok.d.ts", + "ti/thumbs-up.d.ts", + "ti/tick-outline.d.ts", + "ti/tick.d.ts", + "ti/ticket.d.ts", + "ti/time.d.ts", + "ti/times-outline.d.ts", + "ti/times.d.ts", + "ti/trash.d.ts", + "ti/tree.d.ts", + "ti/upload-outline.d.ts", + "ti/upload.d.ts", + "ti/user-add-outline.d.ts", + "ti/user-add.d.ts", + "ti/user-delete-outline.d.ts", + "ti/user-delete.d.ts", + "ti/user-outline.d.ts", + "ti/user.d.ts", + "ti/vendor-android.d.ts", + "ti/vendor-apple.d.ts", + "ti/vendor-microsoft.d.ts", + "ti/video-outline.d.ts", + "ti/video.d.ts", + "ti/volume-down.d.ts", + "ti/volume-mute.d.ts", + "ti/volume-up.d.ts", + "ti/volume.d.ts", + "ti/warning-outline.d.ts", + "ti/warning.d.ts", + "ti/watch.d.ts", + "ti/waves-outline.d.ts", + "ti/waves.d.ts", + "ti/weather-cloudy.d.ts", + "ti/weather-downpour.d.ts", + "ti/weather-night.d.ts", + "ti/weather-partly-sunny.d.ts", + "ti/weather-shower.d.ts", + "ti/weather-snow.d.ts", + "ti/weather-stormy.d.ts", + "ti/weather-sunny.d.ts", + "ti/weather-windy-cloudy.d.ts", + "ti/weather-windy.d.ts", + "ti/wi-fi-outline.d.ts", + "ti/wi-fi.d.ts", + "ti/wine.d.ts", + "ti/world-outline.d.ts", + "ti/world.d.ts", + "ti/zoom-in-outline.d.ts", + "ti/zoom-in.d.ts", + "ti/zoom-out-outline.d.ts", + "ti/zoom-out.d.ts", + "ti/zoom-outline.d.ts", + "ti/zoom.d.ts", + "lib/fa/index.d.ts", + "lib/go/index.d.ts", + "lib/io/index.d.ts", + "lib/md/index.d.ts", + "lib/ti/index.d.ts", + "lib/fa/500px.d.ts", + "lib/fa/adjust.d.ts", + "lib/fa/adn.d.ts", + "lib/fa/align-center.d.ts", + "lib/fa/align-justify.d.ts", + "lib/fa/align-left.d.ts", + "lib/fa/align-right.d.ts", + "lib/fa/amazon.d.ts", + "lib/fa/ambulance.d.ts", + "lib/fa/american-sign-language-interpreting.d.ts", + "lib/fa/anchor.d.ts", + "lib/fa/android.d.ts", + "lib/fa/angellist.d.ts", + "lib/fa/angle-double-down.d.ts", + "lib/fa/angle-double-left.d.ts", + "lib/fa/angle-double-right.d.ts", + "lib/fa/angle-double-up.d.ts", + "lib/fa/angle-down.d.ts", + "lib/fa/angle-left.d.ts", + "lib/fa/angle-right.d.ts", + "lib/fa/angle-up.d.ts", + "lib/fa/apple.d.ts", + "lib/fa/archive.d.ts", + "lib/fa/area-chart.d.ts", + "lib/fa/arrow-circle-down.d.ts", + "lib/fa/arrow-circle-left.d.ts", + "lib/fa/arrow-circle-o-down.d.ts", + "lib/fa/arrow-circle-o-left.d.ts", + "lib/fa/arrow-circle-o-right.d.ts", + "lib/fa/arrow-circle-o-up.d.ts", + "lib/fa/arrow-circle-right.d.ts", + "lib/fa/arrow-circle-up.d.ts", + "lib/fa/arrow-down.d.ts", + "lib/fa/arrow-left.d.ts", + "lib/fa/arrow-right.d.ts", + "lib/fa/arrow-up.d.ts", + "lib/fa/arrows-alt.d.ts", + "lib/fa/arrows-h.d.ts", + "lib/fa/arrows-v.d.ts", + "lib/fa/arrows.d.ts", + "lib/fa/assistive-listening-systems.d.ts", + "lib/fa/asterisk.d.ts", + "lib/fa/at.d.ts", + "lib/fa/audio-description.d.ts", + "lib/fa/automobile.d.ts", + "lib/fa/backward.d.ts", + "lib/fa/balance-scale.d.ts", + "lib/fa/ban.d.ts", + "lib/fa/bank.d.ts", + "lib/fa/bar-chart.d.ts", + "lib/fa/barcode.d.ts", + "lib/fa/bars.d.ts", + "lib/fa/battery-0.d.ts", + "lib/fa/battery-1.d.ts", + "lib/fa/battery-2.d.ts", + "lib/fa/battery-3.d.ts", + "lib/fa/battery-4.d.ts", + "lib/fa/bed.d.ts", + "lib/fa/beer.d.ts", + "lib/fa/behance-square.d.ts", + "lib/fa/behance.d.ts", + "lib/fa/bell-o.d.ts", + "lib/fa/bell-slash-o.d.ts", + "lib/fa/bell-slash.d.ts", + "lib/fa/bell.d.ts", + "lib/fa/bicycle.d.ts", + "lib/fa/binoculars.d.ts", + "lib/fa/birthday-cake.d.ts", + "lib/fa/bitbucket-square.d.ts", + "lib/fa/bitbucket.d.ts", + "lib/fa/bitcoin.d.ts", + "lib/fa/black-tie.d.ts", + "lib/fa/blind.d.ts", + "lib/fa/bluetooth-b.d.ts", + "lib/fa/bluetooth.d.ts", + "lib/fa/bold.d.ts", + "lib/fa/bolt.d.ts", + "lib/fa/bomb.d.ts", + "lib/fa/book.d.ts", + "lib/fa/bookmark-o.d.ts", + "lib/fa/bookmark.d.ts", + "lib/fa/braille.d.ts", + "lib/fa/briefcase.d.ts", + "lib/fa/bug.d.ts", + "lib/fa/building-o.d.ts", + "lib/fa/building.d.ts", + "lib/fa/bullhorn.d.ts", + "lib/fa/bullseye.d.ts", + "lib/fa/bus.d.ts", + "lib/fa/buysellads.d.ts", + "lib/fa/cab.d.ts", + "lib/fa/calculator.d.ts", + "lib/fa/calendar-check-o.d.ts", + "lib/fa/calendar-minus-o.d.ts", + "lib/fa/calendar-o.d.ts", + "lib/fa/calendar-plus-o.d.ts", + "lib/fa/calendar-times-o.d.ts", + "lib/fa/calendar.d.ts", + "lib/fa/camera-retro.d.ts", + "lib/fa/camera.d.ts", + "lib/fa/caret-down.d.ts", + "lib/fa/caret-left.d.ts", + "lib/fa/caret-right.d.ts", + "lib/fa/caret-square-o-down.d.ts", + "lib/fa/caret-square-o-left.d.ts", + "lib/fa/caret-square-o-right.d.ts", + "lib/fa/caret-square-o-up.d.ts", + "lib/fa/caret-up.d.ts", + "lib/fa/cart-arrow-down.d.ts", + "lib/fa/cart-plus.d.ts", + "lib/fa/cc-amex.d.ts", + "lib/fa/cc-diners-club.d.ts", + "lib/fa/cc-discover.d.ts", + "lib/fa/cc-jcb.d.ts", + "lib/fa/cc-mastercard.d.ts", + "lib/fa/cc-paypal.d.ts", + "lib/fa/cc-stripe.d.ts", + "lib/fa/cc-visa.d.ts", + "lib/fa/cc.d.ts", + "lib/fa/certificate.d.ts", + "lib/fa/chain-broken.d.ts", + "lib/fa/chain.d.ts", + "lib/fa/check-circle-o.d.ts", + "lib/fa/check-circle.d.ts", + "lib/fa/check-square-o.d.ts", + "lib/fa/check-square.d.ts", + "lib/fa/check.d.ts", + "lib/fa/chevron-circle-down.d.ts", + "lib/fa/chevron-circle-left.d.ts", + "lib/fa/chevron-circle-right.d.ts", + "lib/fa/chevron-circle-up.d.ts", + "lib/fa/chevron-down.d.ts", + "lib/fa/chevron-left.d.ts", + "lib/fa/chevron-right.d.ts", + "lib/fa/chevron-up.d.ts", + "lib/fa/child.d.ts", + "lib/fa/chrome.d.ts", + "lib/fa/circle-o-notch.d.ts", + "lib/fa/circle-o.d.ts", + "lib/fa/circle-thin.d.ts", + "lib/fa/circle.d.ts", + "lib/fa/clipboard.d.ts", + "lib/fa/clock-o.d.ts", + "lib/fa/clone.d.ts", + "lib/fa/close.d.ts", + "lib/fa/cloud-download.d.ts", + "lib/fa/cloud-upload.d.ts", + "lib/fa/cloud.d.ts", + "lib/fa/cny.d.ts", + "lib/fa/code-fork.d.ts", + "lib/fa/code.d.ts", + "lib/fa/codepen.d.ts", + "lib/fa/codiepie.d.ts", + "lib/fa/coffee.d.ts", + "lib/fa/cog.d.ts", + "lib/fa/cogs.d.ts", + "lib/fa/columns.d.ts", + "lib/fa/comment-o.d.ts", + "lib/fa/comment.d.ts", + "lib/fa/commenting-o.d.ts", + "lib/fa/commenting.d.ts", + "lib/fa/comments-o.d.ts", + "lib/fa/comments.d.ts", + "lib/fa/compass.d.ts", + "lib/fa/compress.d.ts", + "lib/fa/connectdevelop.d.ts", + "lib/fa/contao.d.ts", + "lib/fa/copy.d.ts", + "lib/fa/copyright.d.ts", + "lib/fa/creative-commons.d.ts", + "lib/fa/credit-card-alt.d.ts", + "lib/fa/credit-card.d.ts", + "lib/fa/crop.d.ts", + "lib/fa/crosshairs.d.ts", + "lib/fa/css3.d.ts", + "lib/fa/cube.d.ts", + "lib/fa/cubes.d.ts", + "lib/fa/cut.d.ts", + "lib/fa/cutlery.d.ts", + "lib/fa/dashboard.d.ts", + "lib/fa/dashcube.d.ts", + "lib/fa/database.d.ts", + "lib/fa/deaf.d.ts", + "lib/fa/dedent.d.ts", + "lib/fa/delicious.d.ts", + "lib/fa/desktop.d.ts", + "lib/fa/deviantart.d.ts", + "lib/fa/diamond.d.ts", + "lib/fa/digg.d.ts", + "lib/fa/dollar.d.ts", + "lib/fa/dot-circle-o.d.ts", + "lib/fa/download.d.ts", + "lib/fa/dribbble.d.ts", + "lib/fa/dropbox.d.ts", + "lib/fa/drupal.d.ts", + "lib/fa/edge.d.ts", + "lib/fa/edit.d.ts", + "lib/fa/eject.d.ts", + "lib/fa/ellipsis-h.d.ts", + "lib/fa/ellipsis-v.d.ts", + "lib/fa/empire.d.ts", + "lib/fa/envelope-o.d.ts", + "lib/fa/envelope-square.d.ts", + "lib/fa/envelope.d.ts", + "lib/fa/envira.d.ts", + "lib/fa/eraser.d.ts", + "lib/fa/eur.d.ts", + "lib/fa/exchange.d.ts", + "lib/fa/exclamation-circle.d.ts", + "lib/fa/exclamation-triangle.d.ts", + "lib/fa/exclamation.d.ts", + "lib/fa/expand.d.ts", + "lib/fa/expeditedssl.d.ts", + "lib/fa/external-link-square.d.ts", + "lib/fa/external-link.d.ts", + "lib/fa/eye-slash.d.ts", + "lib/fa/eye.d.ts", + "lib/fa/eyedropper.d.ts", + "lib/fa/facebook-official.d.ts", + "lib/fa/facebook-square.d.ts", + "lib/fa/facebook.d.ts", + "lib/fa/fast-backward.d.ts", + "lib/fa/fast-forward.d.ts", + "lib/fa/fax.d.ts", + "lib/fa/feed.d.ts", + "lib/fa/female.d.ts", + "lib/fa/fighter-jet.d.ts", + "lib/fa/file-archive-o.d.ts", + "lib/fa/file-audio-o.d.ts", + "lib/fa/file-code-o.d.ts", + "lib/fa/file-excel-o.d.ts", + "lib/fa/file-image-o.d.ts", + "lib/fa/file-movie-o.d.ts", + "lib/fa/file-o.d.ts", + "lib/fa/file-pdf-o.d.ts", + "lib/fa/file-powerpoint-o.d.ts", + "lib/fa/file-text-o.d.ts", + "lib/fa/file-text.d.ts", + "lib/fa/file-word-o.d.ts", + "lib/fa/file.d.ts", + "lib/fa/film.d.ts", + "lib/fa/filter.d.ts", + "lib/fa/fire-extinguisher.d.ts", + "lib/fa/fire.d.ts", + "lib/fa/firefox.d.ts", + "lib/fa/flag-checkered.d.ts", + "lib/fa/flag-o.d.ts", + "lib/fa/flag.d.ts", + "lib/fa/flask.d.ts", + "lib/fa/flickr.d.ts", + "lib/fa/floppy-o.d.ts", + "lib/fa/folder-o.d.ts", + "lib/fa/folder-open-o.d.ts", + "lib/fa/folder-open.d.ts", + "lib/fa/folder.d.ts", + "lib/fa/font.d.ts", + "lib/fa/fonticons.d.ts", + "lib/fa/fort-awesome.d.ts", + "lib/fa/forumbee.d.ts", + "lib/fa/forward.d.ts", + "lib/fa/foursquare.d.ts", + "lib/fa/frown-o.d.ts", + "lib/fa/futbol-o.d.ts", + "lib/fa/gamepad.d.ts", + "lib/fa/gavel.d.ts", + "lib/fa/gbp.d.ts", + "lib/fa/genderless.d.ts", + "lib/fa/get-pocket.d.ts", + "lib/fa/gg-circle.d.ts", + "lib/fa/gg.d.ts", + "lib/fa/gift.d.ts", + "lib/fa/git-square.d.ts", + "lib/fa/git.d.ts", + "lib/fa/github-alt.d.ts", + "lib/fa/github-square.d.ts", + "lib/fa/github.d.ts", + "lib/fa/gitlab.d.ts", + "lib/fa/gittip.d.ts", + "lib/fa/glass.d.ts", + "lib/fa/glide-g.d.ts", + "lib/fa/glide.d.ts", + "lib/fa/globe.d.ts", + "lib/fa/google-plus-square.d.ts", + "lib/fa/google-plus.d.ts", + "lib/fa/google-wallet.d.ts", + "lib/fa/google.d.ts", + "lib/fa/graduation-cap.d.ts", + "lib/fa/group.d.ts", + "lib/fa/h-square.d.ts", + "lib/fa/hacker-news.d.ts", + "lib/fa/hand-grab-o.d.ts", + "lib/fa/hand-lizard-o.d.ts", + "lib/fa/hand-o-down.d.ts", + "lib/fa/hand-o-left.d.ts", + "lib/fa/hand-o-right.d.ts", + "lib/fa/hand-o-up.d.ts", + "lib/fa/hand-paper-o.d.ts", + "lib/fa/hand-peace-o.d.ts", + "lib/fa/hand-pointer-o.d.ts", + "lib/fa/hand-scissors-o.d.ts", + "lib/fa/hand-spock-o.d.ts", + "lib/fa/hashtag.d.ts", + "lib/fa/hdd-o.d.ts", + "lib/fa/header.d.ts", + "lib/fa/headphones.d.ts", + "lib/fa/heart-o.d.ts", + "lib/fa/heart.d.ts", + "lib/fa/heartbeat.d.ts", + "lib/fa/history.d.ts", + "lib/fa/home.d.ts", + "lib/fa/hospital-o.d.ts", + "lib/fa/hourglass-1.d.ts", + "lib/fa/hourglass-2.d.ts", + "lib/fa/hourglass-3.d.ts", + "lib/fa/hourglass-o.d.ts", + "lib/fa/hourglass.d.ts", + "lib/fa/houzz.d.ts", + "lib/fa/html5.d.ts", + "lib/fa/i-cursor.d.ts", + "lib/fa/ils.d.ts", + "lib/fa/image.d.ts", + "lib/fa/inbox.d.ts", + "lib/fa/indent.d.ts", + "lib/fa/industry.d.ts", + "lib/fa/info-circle.d.ts", + "lib/fa/info.d.ts", + "lib/fa/inr.d.ts", + "lib/fa/instagram.d.ts", + "lib/fa/internet-explorer.d.ts", + "lib/fa/intersex.d.ts", + "lib/fa/ioxhost.d.ts", + "lib/fa/italic.d.ts", + "lib/fa/joomla.d.ts", + "lib/fa/jsfiddle.d.ts", + "lib/fa/key.d.ts", + "lib/fa/keyboard-o.d.ts", + "lib/fa/krw.d.ts", + "lib/fa/language.d.ts", + "lib/fa/laptop.d.ts", + "lib/fa/lastfm-square.d.ts", + "lib/fa/lastfm.d.ts", + "lib/fa/leaf.d.ts", + "lib/fa/leanpub.d.ts", + "lib/fa/lemon-o.d.ts", + "lib/fa/level-down.d.ts", + "lib/fa/level-up.d.ts", + "lib/fa/life-bouy.d.ts", + "lib/fa/lightbulb-o.d.ts", + "lib/fa/line-chart.d.ts", + "lib/fa/linkedin-square.d.ts", + "lib/fa/linkedin.d.ts", + "lib/fa/linux.d.ts", + "lib/fa/list-alt.d.ts", + "lib/fa/list-ol.d.ts", + "lib/fa/list-ul.d.ts", + "lib/fa/list.d.ts", + "lib/fa/location-arrow.d.ts", + "lib/fa/lock.d.ts", + "lib/fa/long-arrow-down.d.ts", + "lib/fa/long-arrow-left.d.ts", + "lib/fa/long-arrow-right.d.ts", + "lib/fa/long-arrow-up.d.ts", + "lib/fa/low-vision.d.ts", + "lib/fa/magic.d.ts", + "lib/fa/magnet.d.ts", + "lib/fa/mail-forward.d.ts", + "lib/fa/mail-reply-all.d.ts", + "lib/fa/mail-reply.d.ts", + "lib/fa/male.d.ts", + "lib/fa/map-marker.d.ts", + "lib/fa/map-o.d.ts", + "lib/fa/map-pin.d.ts", + "lib/fa/map-signs.d.ts", + "lib/fa/map.d.ts", + "lib/fa/mars-double.d.ts", + "lib/fa/mars-stroke-h.d.ts", + "lib/fa/mars-stroke-v.d.ts", + "lib/fa/mars-stroke.d.ts", + "lib/fa/mars.d.ts", + "lib/fa/maxcdn.d.ts", + "lib/fa/meanpath.d.ts", + "lib/fa/medium.d.ts", + "lib/fa/medkit.d.ts", + "lib/fa/meh-o.d.ts", + "lib/fa/mercury.d.ts", + "lib/fa/microphone-slash.d.ts", + "lib/fa/microphone.d.ts", + "lib/fa/minus-circle.d.ts", + "lib/fa/minus-square-o.d.ts", + "lib/fa/minus-square.d.ts", + "lib/fa/minus.d.ts", + "lib/fa/mixcloud.d.ts", + "lib/fa/mobile.d.ts", + "lib/fa/modx.d.ts", + "lib/fa/money.d.ts", + "lib/fa/moon-o.d.ts", + "lib/fa/motorcycle.d.ts", + "lib/fa/mouse-pointer.d.ts", + "lib/fa/music.d.ts", + "lib/fa/neuter.d.ts", + "lib/fa/newspaper-o.d.ts", + "lib/fa/object-group.d.ts", + "lib/fa/object-ungroup.d.ts", + "lib/fa/odnoklassniki-square.d.ts", + "lib/fa/odnoklassniki.d.ts", + "lib/fa/opencart.d.ts", + "lib/fa/openid.d.ts", + "lib/fa/opera.d.ts", + "lib/fa/optin-monster.d.ts", + "lib/fa/pagelines.d.ts", + "lib/fa/paint-brush.d.ts", + "lib/fa/paper-plane-o.d.ts", + "lib/fa/paper-plane.d.ts", + "lib/fa/paperclip.d.ts", + "lib/fa/paragraph.d.ts", + "lib/fa/pause-circle-o.d.ts", + "lib/fa/pause-circle.d.ts", + "lib/fa/pause.d.ts", + "lib/fa/paw.d.ts", + "lib/fa/paypal.d.ts", + "lib/fa/pencil-square.d.ts", + "lib/fa/pencil.d.ts", + "lib/fa/percent.d.ts", + "lib/fa/phone-square.d.ts", + "lib/fa/phone.d.ts", + "lib/fa/pie-chart.d.ts", + "lib/fa/pied-piper-alt.d.ts", + "lib/fa/pied-piper.d.ts", + "lib/fa/pinterest-p.d.ts", + "lib/fa/pinterest-square.d.ts", + "lib/fa/pinterest.d.ts", + "lib/fa/plane.d.ts", + "lib/fa/play-circle-o.d.ts", + "lib/fa/play-circle.d.ts", + "lib/fa/play.d.ts", + "lib/fa/plug.d.ts", + "lib/fa/plus-circle.d.ts", + "lib/fa/plus-square-o.d.ts", + "lib/fa/plus-square.d.ts", + "lib/fa/plus.d.ts", + "lib/fa/power-off.d.ts", + "lib/fa/print.d.ts", + "lib/fa/product-hunt.d.ts", + "lib/fa/puzzle-piece.d.ts", + "lib/fa/qq.d.ts", + "lib/fa/qrcode.d.ts", + "lib/fa/question-circle-o.d.ts", + "lib/fa/question-circle.d.ts", + "lib/fa/question.d.ts", + "lib/fa/quote-left.d.ts", + "lib/fa/quote-right.d.ts", + "lib/fa/ra.d.ts", + "lib/fa/random.d.ts", + "lib/fa/recycle.d.ts", + "lib/fa/reddit-alien.d.ts", + "lib/fa/reddit-square.d.ts", + "lib/fa/reddit.d.ts", + "lib/fa/refresh.d.ts", + "lib/fa/registered.d.ts", + "lib/fa/renren.d.ts", + "lib/fa/repeat.d.ts", + "lib/fa/retweet.d.ts", + "lib/fa/road.d.ts", + "lib/fa/rocket.d.ts", + "lib/fa/rotate-left.d.ts", + "lib/fa/rouble.d.ts", + "lib/fa/rss-square.d.ts", + "lib/fa/safari.d.ts", + "lib/fa/scribd.d.ts", + "lib/fa/search-minus.d.ts", + "lib/fa/search-plus.d.ts", + "lib/fa/search.d.ts", + "lib/fa/sellsy.d.ts", + "lib/fa/server.d.ts", + "lib/fa/share-alt-square.d.ts", + "lib/fa/share-alt.d.ts", + "lib/fa/share-square-o.d.ts", + "lib/fa/share-square.d.ts", + "lib/fa/shield.d.ts", + "lib/fa/ship.d.ts", + "lib/fa/shirtsinbulk.d.ts", + "lib/fa/shopping-bag.d.ts", + "lib/fa/shopping-basket.d.ts", + "lib/fa/shopping-cart.d.ts", + "lib/fa/sign-in.d.ts", + "lib/fa/sign-language.d.ts", + "lib/fa/sign-out.d.ts", + "lib/fa/signal.d.ts", + "lib/fa/simplybuilt.d.ts", + "lib/fa/sitemap.d.ts", + "lib/fa/skyatlas.d.ts", + "lib/fa/skype.d.ts", + "lib/fa/slack.d.ts", + "lib/fa/sliders.d.ts", + "lib/fa/slideshare.d.ts", + "lib/fa/smile-o.d.ts", + "lib/fa/snapchat-ghost.d.ts", + "lib/fa/snapchat-square.d.ts", + "lib/fa/snapchat.d.ts", + "lib/fa/sort-alpha-asc.d.ts", + "lib/fa/sort-alpha-desc.d.ts", + "lib/fa/sort-amount-asc.d.ts", + "lib/fa/sort-amount-desc.d.ts", + "lib/fa/sort-asc.d.ts", + "lib/fa/sort-desc.d.ts", + "lib/fa/sort-numeric-asc.d.ts", + "lib/fa/sort-numeric-desc.d.ts", + "lib/fa/sort.d.ts", + "lib/fa/soundcloud.d.ts", + "lib/fa/space-shuttle.d.ts", + "lib/fa/spinner.d.ts", + "lib/fa/spoon.d.ts", + "lib/fa/spotify.d.ts", + "lib/fa/square-o.d.ts", + "lib/fa/square.d.ts", + "lib/fa/stack-exchange.d.ts", + "lib/fa/stack-overflow.d.ts", + "lib/fa/star-half-empty.d.ts", + "lib/fa/star-half.d.ts", + "lib/fa/star-o.d.ts", + "lib/fa/star.d.ts", + "lib/fa/steam-square.d.ts", + "lib/fa/steam.d.ts", + "lib/fa/step-backward.d.ts", + "lib/fa/step-forward.d.ts", + "lib/fa/stethoscope.d.ts", + "lib/fa/sticky-note-o.d.ts", + "lib/fa/sticky-note.d.ts", + "lib/fa/stop-circle-o.d.ts", + "lib/fa/stop-circle.d.ts", + "lib/fa/stop.d.ts", + "lib/fa/street-view.d.ts", + "lib/fa/strikethrough.d.ts", + "lib/fa/stumbleupon-circle.d.ts", + "lib/fa/stumbleupon.d.ts", + "lib/fa/subscript.d.ts", + "lib/fa/subway.d.ts", + "lib/fa/suitcase.d.ts", + "lib/fa/sun-o.d.ts", + "lib/fa/superscript.d.ts", + "lib/fa/table.d.ts", + "lib/fa/tablet.d.ts", + "lib/fa/tag.d.ts", + "lib/fa/tags.d.ts", + "lib/fa/tasks.d.ts", + "lib/fa/television.d.ts", + "lib/fa/tencent-weibo.d.ts", + "lib/fa/terminal.d.ts", + "lib/fa/text-height.d.ts", + "lib/fa/text-width.d.ts", + "lib/fa/th-large.d.ts", + "lib/fa/th-list.d.ts", + "lib/fa/th.d.ts", + "lib/fa/thumb-tack.d.ts", + "lib/fa/thumbs-down.d.ts", + "lib/fa/thumbs-o-down.d.ts", + "lib/fa/thumbs-o-up.d.ts", + "lib/fa/thumbs-up.d.ts", + "lib/fa/ticket.d.ts", + "lib/fa/times-circle-o.d.ts", + "lib/fa/times-circle.d.ts", + "lib/fa/tint.d.ts", + "lib/fa/toggle-off.d.ts", + "lib/fa/toggle-on.d.ts", + "lib/fa/trademark.d.ts", + "lib/fa/train.d.ts", + "lib/fa/transgender-alt.d.ts", + "lib/fa/trash-o.d.ts", + "lib/fa/trash.d.ts", + "lib/fa/tree.d.ts", + "lib/fa/trello.d.ts", + "lib/fa/tripadvisor.d.ts", + "lib/fa/trophy.d.ts", + "lib/fa/truck.d.ts", + "lib/fa/try.d.ts", + "lib/fa/tty.d.ts", + "lib/fa/tumblr-square.d.ts", + "lib/fa/tumblr.d.ts", + "lib/fa/twitch.d.ts", + "lib/fa/twitter-square.d.ts", + "lib/fa/twitter.d.ts", + "lib/fa/umbrella.d.ts", + "lib/fa/underline.d.ts", + "lib/fa/universal-access.d.ts", + "lib/fa/unlock-alt.d.ts", + "lib/fa/unlock.d.ts", + "lib/fa/upload.d.ts", + "lib/fa/usb.d.ts", + "lib/fa/user-md.d.ts", + "lib/fa/user-plus.d.ts", + "lib/fa/user-secret.d.ts", + "lib/fa/user-times.d.ts", + "lib/fa/user.d.ts", + "lib/fa/venus-double.d.ts", + "lib/fa/venus-mars.d.ts", + "lib/fa/venus.d.ts", + "lib/fa/viacoin.d.ts", + "lib/fa/viadeo-square.d.ts", + "lib/fa/viadeo.d.ts", + "lib/fa/video-camera.d.ts", + "lib/fa/vimeo-square.d.ts", + "lib/fa/vimeo.d.ts", + "lib/fa/vine.d.ts", + "lib/fa/vk.d.ts", + "lib/fa/volume-control-phone.d.ts", + "lib/fa/volume-down.d.ts", + "lib/fa/volume-off.d.ts", + "lib/fa/volume-up.d.ts", + "lib/fa/wechat.d.ts", + "lib/fa/weibo.d.ts", + "lib/fa/whatsapp.d.ts", + "lib/fa/wheelchair-alt.d.ts", + "lib/fa/wheelchair.d.ts", + "lib/fa/wifi.d.ts", + "lib/fa/wikipedia-w.d.ts", + "lib/fa/windows.d.ts", + "lib/fa/wordpress.d.ts", + "lib/fa/wpbeginner.d.ts", + "lib/fa/wpforms.d.ts", + "lib/fa/wrench.d.ts", + "lib/fa/xing-square.d.ts", + "lib/fa/xing.d.ts", + "lib/fa/y-combinator.d.ts", + "lib/fa/yahoo.d.ts", + "lib/fa/yelp.d.ts", + "lib/fa/youtube-play.d.ts", + "lib/fa/youtube-square.d.ts", + "lib/fa/youtube.d.ts", + "lib/go/alert.d.ts", + "lib/go/alignment-align.d.ts", + "lib/go/alignment-aligned-to.d.ts", + "lib/go/alignment-unalign.d.ts", + "lib/go/arrow-down.d.ts", + "lib/go/arrow-left.d.ts", + "lib/go/arrow-right.d.ts", + "lib/go/arrow-small-down.d.ts", + "lib/go/arrow-small-left.d.ts", + "lib/go/arrow-small-right.d.ts", + "lib/go/arrow-small-up.d.ts", + "lib/go/arrow-up.d.ts", + "lib/go/beer.d.ts", + "lib/go/book.d.ts", + "lib/go/bookmark.d.ts", + "lib/go/briefcase.d.ts", + "lib/go/broadcast.d.ts", + "lib/go/browser.d.ts", + "lib/go/bug.d.ts", + "lib/go/calendar.d.ts", + "lib/go/check.d.ts", + "lib/go/checklist.d.ts", + "lib/go/chevron-down.d.ts", + "lib/go/chevron-left.d.ts", + "lib/go/chevron-right.d.ts", + "lib/go/chevron-up.d.ts", + "lib/go/circle-slash.d.ts", + "lib/go/circuit-board.d.ts", + "lib/go/clippy.d.ts", + "lib/go/clock.d.ts", + "lib/go/cloud-download.d.ts", + "lib/go/cloud-upload.d.ts", + "lib/go/code.d.ts", + "lib/go/color-mode.d.ts", + "lib/go/comment-discussion.d.ts", + "lib/go/comment.d.ts", + "lib/go/credit-card.d.ts", + "lib/go/dash.d.ts", + "lib/go/dashboard.d.ts", + "lib/go/database.d.ts", + "lib/go/device-camera-video.d.ts", + "lib/go/device-camera.d.ts", + "lib/go/device-desktop.d.ts", + "lib/go/device-mobile.d.ts", + "lib/go/diff-added.d.ts", + "lib/go/diff-ignored.d.ts", + "lib/go/diff-modified.d.ts", + "lib/go/diff-removed.d.ts", + "lib/go/diff-renamed.d.ts", + "lib/go/diff.d.ts", + "lib/go/ellipsis.d.ts", + "lib/go/eye.d.ts", + "lib/go/file-binary.d.ts", + "lib/go/file-code.d.ts", + "lib/go/file-directory.d.ts", + "lib/go/file-media.d.ts", + "lib/go/file-pdf.d.ts", + "lib/go/file-submodule.d.ts", + "lib/go/file-symlink-directory.d.ts", + "lib/go/file-symlink-file.d.ts", + "lib/go/file-text.d.ts", + "lib/go/file-zip.d.ts", + "lib/go/flame.d.ts", + "lib/go/fold.d.ts", + "lib/go/gear.d.ts", + "lib/go/gift.d.ts", + "lib/go/gist-secret.d.ts", + "lib/go/gist.d.ts", + "lib/go/git-branch.d.ts", + "lib/go/git-commit.d.ts", + "lib/go/git-compare.d.ts", + "lib/go/git-merge.d.ts", + "lib/go/git-pull-request.d.ts", + "lib/go/globe.d.ts", + "lib/go/graph.d.ts", + "lib/go/heart.d.ts", + "lib/go/history.d.ts", + "lib/go/home.d.ts", + "lib/go/horizontal-rule.d.ts", + "lib/go/hourglass.d.ts", + "lib/go/hubot.d.ts", + "lib/go/inbox.d.ts", + "lib/go/info.d.ts", + "lib/go/issue-closed.d.ts", + "lib/go/issue-opened.d.ts", + "lib/go/issue-reopened.d.ts", + "lib/go/jersey.d.ts", + "lib/go/jump-down.d.ts", + "lib/go/jump-left.d.ts", + "lib/go/jump-right.d.ts", + "lib/go/jump-up.d.ts", + "lib/go/key.d.ts", + "lib/go/keyboard.d.ts", + "lib/go/law.d.ts", + "lib/go/light-bulb.d.ts", + "lib/go/link-external.d.ts", + "lib/go/link.d.ts", + "lib/go/list-ordered.d.ts", + "lib/go/list-unordered.d.ts", + "lib/go/location.d.ts", + "lib/go/lock.d.ts", + "lib/go/logo-github.d.ts", + "lib/go/mail-read.d.ts", + "lib/go/mail-reply.d.ts", + "lib/go/mail.d.ts", + "lib/go/mark-github.d.ts", + "lib/go/markdown.d.ts", + "lib/go/megaphone.d.ts", + "lib/go/mention.d.ts", + "lib/go/microscope.d.ts", + "lib/go/milestone.d.ts", + "lib/go/mirror.d.ts", + "lib/go/mortar-board.d.ts", + "lib/go/move-down.d.ts", + "lib/go/move-left.d.ts", + "lib/go/move-right.d.ts", + "lib/go/move-up.d.ts", + "lib/go/mute.d.ts", + "lib/go/no-newline.d.ts", + "lib/go/octoface.d.ts", + "lib/go/organization.d.ts", + "lib/go/package.d.ts", + "lib/go/paintcan.d.ts", + "lib/go/pencil.d.ts", + "lib/go/person.d.ts", + "lib/go/pin.d.ts", + "lib/go/playback-fast-forward.d.ts", + "lib/go/playback-pause.d.ts", + "lib/go/playback-play.d.ts", + "lib/go/playback-rewind.d.ts", + "lib/go/plug.d.ts", + "lib/go/plus.d.ts", + "lib/go/podium.d.ts", + "lib/go/primitive-dot.d.ts", + "lib/go/primitive-square.d.ts", + "lib/go/pulse.d.ts", + "lib/go/puzzle.d.ts", + "lib/go/question.d.ts", + "lib/go/quote.d.ts", + "lib/go/radio-tower.d.ts", + "lib/go/repo-clone.d.ts", + "lib/go/repo-force-push.d.ts", + "lib/go/repo-forked.d.ts", + "lib/go/repo-pull.d.ts", + "lib/go/repo-push.d.ts", + "lib/go/repo.d.ts", + "lib/go/rocket.d.ts", + "lib/go/rss.d.ts", + "lib/go/ruby.d.ts", + "lib/go/screen-full.d.ts", + "lib/go/screen-normal.d.ts", + "lib/go/search.d.ts", + "lib/go/server.d.ts", + "lib/go/settings.d.ts", + "lib/go/sign-in.d.ts", + "lib/go/sign-out.d.ts", + "lib/go/split.d.ts", + "lib/go/squirrel.d.ts", + "lib/go/star.d.ts", + "lib/go/steps.d.ts", + "lib/go/stop.d.ts", + "lib/go/sync.d.ts", + "lib/go/tag.d.ts", + "lib/go/telescope.d.ts", + "lib/go/terminal.d.ts", + "lib/go/three-bars.d.ts", + "lib/go/tools.d.ts", + "lib/go/trashcan.d.ts", + "lib/go/triangle-down.d.ts", + "lib/go/triangle-left.d.ts", + "lib/go/triangle-right.d.ts", + "lib/go/triangle-up.d.ts", + "lib/go/unfold.d.ts", + "lib/go/unmute.d.ts", + "lib/go/versions.d.ts", + "lib/go/x.d.ts", + "lib/go/zap.d.ts", + "lib/io/alert-circled.d.ts", + "lib/io/alert.d.ts", + "lib/io/android-add-circle.d.ts", + "lib/io/android-add.d.ts", + "lib/io/android-alarm-clock.d.ts", + "lib/io/android-alert.d.ts", + "lib/io/android-apps.d.ts", + "lib/io/android-archive.d.ts", + "lib/io/android-arrow-back.d.ts", + "lib/io/android-arrow-down.d.ts", + "lib/io/android-arrow-dropdown-circle.d.ts", + "lib/io/android-arrow-dropdown.d.ts", + "lib/io/android-arrow-dropleft-circle.d.ts", + "lib/io/android-arrow-dropleft.d.ts", + "lib/io/android-arrow-dropright-circle.d.ts", + "lib/io/android-arrow-dropright.d.ts", + "lib/io/android-arrow-dropup-circle.d.ts", + "lib/io/android-arrow-dropup.d.ts", + "lib/io/android-arrow-forward.d.ts", + "lib/io/android-arrow-up.d.ts", + "lib/io/android-attach.d.ts", + "lib/io/android-bar.d.ts", + "lib/io/android-bicycle.d.ts", + "lib/io/android-boat.d.ts", + "lib/io/android-bookmark.d.ts", + "lib/io/android-bulb.d.ts", + "lib/io/android-bus.d.ts", + "lib/io/android-calendar.d.ts", + "lib/io/android-call.d.ts", + "lib/io/android-camera.d.ts", + "lib/io/android-cancel.d.ts", + "lib/io/android-car.d.ts", + "lib/io/android-cart.d.ts", + "lib/io/android-chat.d.ts", + "lib/io/android-checkbox-blank.d.ts", + "lib/io/android-checkbox-outline-blank.d.ts", + "lib/io/android-checkbox-outline.d.ts", + "lib/io/android-checkbox.d.ts", + "lib/io/android-checkmark-circle.d.ts", + "lib/io/android-clipboard.d.ts", + "lib/io/android-close.d.ts", + "lib/io/android-cloud-circle.d.ts", + "lib/io/android-cloud-done.d.ts", + "lib/io/android-cloud-outline.d.ts", + "lib/io/android-cloud.d.ts", + "lib/io/android-color-palette.d.ts", + "lib/io/android-compass.d.ts", + "lib/io/android-contact.d.ts", + "lib/io/android-contacts.d.ts", + "lib/io/android-contract.d.ts", + "lib/io/android-create.d.ts", + "lib/io/android-delete.d.ts", + "lib/io/android-desktop.d.ts", + "lib/io/android-document.d.ts", + "lib/io/android-done-all.d.ts", + "lib/io/android-done.d.ts", + "lib/io/android-download.d.ts", + "lib/io/android-drafts.d.ts", + "lib/io/android-exit.d.ts", + "lib/io/android-expand.d.ts", + "lib/io/android-favorite-outline.d.ts", + "lib/io/android-favorite.d.ts", + "lib/io/android-film.d.ts", + "lib/io/android-folder-open.d.ts", + "lib/io/android-folder.d.ts", + "lib/io/android-funnel.d.ts", + "lib/io/android-globe.d.ts", + "lib/io/android-hand.d.ts", + "lib/io/android-hangout.d.ts", + "lib/io/android-happy.d.ts", + "lib/io/android-home.d.ts", + "lib/io/android-image.d.ts", + "lib/io/android-laptop.d.ts", + "lib/io/android-list.d.ts", + "lib/io/android-locate.d.ts", + "lib/io/android-lock.d.ts", + "lib/io/android-mail.d.ts", + "lib/io/android-map.d.ts", + "lib/io/android-menu.d.ts", + "lib/io/android-microphone-off.d.ts", + "lib/io/android-microphone.d.ts", + "lib/io/android-more-horizontal.d.ts", + "lib/io/android-more-vertical.d.ts", + "lib/io/android-navigate.d.ts", + "lib/io/android-notifications-none.d.ts", + "lib/io/android-notifications-off.d.ts", + "lib/io/android-notifications.d.ts", + "lib/io/android-open.d.ts", + "lib/io/android-options.d.ts", + "lib/io/android-people.d.ts", + "lib/io/android-person-add.d.ts", + "lib/io/android-person.d.ts", + "lib/io/android-phone-landscape.d.ts", + "lib/io/android-phone-portrait.d.ts", + "lib/io/android-pin.d.ts", + "lib/io/android-plane.d.ts", + "lib/io/android-playstore.d.ts", + "lib/io/android-print.d.ts", + "lib/io/android-radio-button-off.d.ts", + "lib/io/android-radio-button-on.d.ts", + "lib/io/android-refresh.d.ts", + "lib/io/android-remove-circle.d.ts", + "lib/io/android-remove.d.ts", + "lib/io/android-restaurant.d.ts", + "lib/io/android-sad.d.ts", + "lib/io/android-search.d.ts", + "lib/io/android-send.d.ts", + "lib/io/android-settings.d.ts", + "lib/io/android-share-alt.d.ts", + "lib/io/android-share.d.ts", + "lib/io/android-star-half.d.ts", + "lib/io/android-star-outline.d.ts", + "lib/io/android-star.d.ts", + "lib/io/android-stopwatch.d.ts", + "lib/io/android-subway.d.ts", + "lib/io/android-sunny.d.ts", + "lib/io/android-sync.d.ts", + "lib/io/android-textsms.d.ts", + "lib/io/android-time.d.ts", + "lib/io/android-train.d.ts", + "lib/io/android-unlock.d.ts", + "lib/io/android-upload.d.ts", + "lib/io/android-volume-down.d.ts", + "lib/io/android-volume-mute.d.ts", + "lib/io/android-volume-off.d.ts", + "lib/io/android-volume-up.d.ts", + "lib/io/android-walk.d.ts", + "lib/io/android-warning.d.ts", + "lib/io/android-watch.d.ts", + "lib/io/android-wifi.d.ts", + "lib/io/aperture.d.ts", + "lib/io/archive.d.ts", + "lib/io/arrow-down-a.d.ts", + "lib/io/arrow-down-b.d.ts", + "lib/io/arrow-down-c.d.ts", + "lib/io/arrow-expand.d.ts", + "lib/io/arrow-graph-down-left.d.ts", + "lib/io/arrow-graph-down-right.d.ts", + "lib/io/arrow-graph-up-left.d.ts", + "lib/io/arrow-graph-up-right.d.ts", + "lib/io/arrow-left-a.d.ts", + "lib/io/arrow-left-b.d.ts", + "lib/io/arrow-left-c.d.ts", + "lib/io/arrow-move.d.ts", + "lib/io/arrow-resize.d.ts", + "lib/io/arrow-return-left.d.ts", + "lib/io/arrow-return-right.d.ts", + "lib/io/arrow-right-a.d.ts", + "lib/io/arrow-right-b.d.ts", + "lib/io/arrow-right-c.d.ts", + "lib/io/arrow-shrink.d.ts", + "lib/io/arrow-swap.d.ts", + "lib/io/arrow-up-a.d.ts", + "lib/io/arrow-up-b.d.ts", + "lib/io/arrow-up-c.d.ts", + "lib/io/asterisk.d.ts", + "lib/io/at.d.ts", + "lib/io/backspace-outline.d.ts", + "lib/io/backspace.d.ts", + "lib/io/bag.d.ts", + "lib/io/battery-charging.d.ts", + "lib/io/battery-empty.d.ts", + "lib/io/battery-full.d.ts", + "lib/io/battery-half.d.ts", + "lib/io/battery-low.d.ts", + "lib/io/beaker.d.ts", + "lib/io/beer.d.ts", + "lib/io/bluetooth.d.ts", + "lib/io/bonfire.d.ts", + "lib/io/bookmark.d.ts", + "lib/io/bowtie.d.ts", + "lib/io/briefcase.d.ts", + "lib/io/bug.d.ts", + "lib/io/calculator.d.ts", + "lib/io/calendar.d.ts", + "lib/io/camera.d.ts", + "lib/io/card.d.ts", + "lib/io/cash.d.ts", + "lib/io/chatbox-working.d.ts", + "lib/io/chatbox.d.ts", + "lib/io/chatboxes.d.ts", + "lib/io/chatbubble-working.d.ts", + "lib/io/chatbubble.d.ts", + "lib/io/chatbubbles.d.ts", + "lib/io/checkmark-circled.d.ts", + "lib/io/checkmark-round.d.ts", + "lib/io/checkmark.d.ts", + "lib/io/chevron-down.d.ts", + "lib/io/chevron-left.d.ts", + "lib/io/chevron-right.d.ts", + "lib/io/chevron-up.d.ts", + "lib/io/clipboard.d.ts", + "lib/io/clock.d.ts", + "lib/io/close-circled.d.ts", + "lib/io/close-round.d.ts", + "lib/io/close.d.ts", + "lib/io/closed-captioning.d.ts", + "lib/io/cloud.d.ts", + "lib/io/code-download.d.ts", + "lib/io/code-working.d.ts", + "lib/io/code.d.ts", + "lib/io/coffee.d.ts", + "lib/io/compass.d.ts", + "lib/io/compose.d.ts", + "lib/io/connectbars.d.ts", + "lib/io/contrast.d.ts", + "lib/io/crop.d.ts", + "lib/io/cube.d.ts", + "lib/io/disc.d.ts", + "lib/io/document-text.d.ts", + "lib/io/document.d.ts", + "lib/io/drag.d.ts", + "lib/io/earth.d.ts", + "lib/io/easel.d.ts", + "lib/io/edit.d.ts", + "lib/io/egg.d.ts", + "lib/io/eject.d.ts", + "lib/io/email-unread.d.ts", + "lib/io/email.d.ts", + "lib/io/erlenmeyer-flask-bubbles.d.ts", + "lib/io/erlenmeyer-flask.d.ts", + "lib/io/eye-disabled.d.ts", + "lib/io/eye.d.ts", + "lib/io/female.d.ts", + "lib/io/filing.d.ts", + "lib/io/film-marker.d.ts", + "lib/io/fireball.d.ts", + "lib/io/flag.d.ts", + "lib/io/flame.d.ts", + "lib/io/flash-off.d.ts", + "lib/io/flash.d.ts", + "lib/io/folder.d.ts", + "lib/io/fork-repo.d.ts", + "lib/io/fork.d.ts", + "lib/io/forward.d.ts", + "lib/io/funnel.d.ts", + "lib/io/gear-a.d.ts", + "lib/io/gear-b.d.ts", + "lib/io/grid.d.ts", + "lib/io/hammer.d.ts", + "lib/io/happy-outline.d.ts", + "lib/io/happy.d.ts", + "lib/io/headphone.d.ts", + "lib/io/heart-broken.d.ts", + "lib/io/heart.d.ts", + "lib/io/help-buoy.d.ts", + "lib/io/help-circled.d.ts", + "lib/io/help.d.ts", + "lib/io/home.d.ts", + "lib/io/icecream.d.ts", + "lib/io/image.d.ts", + "lib/io/images.d.ts", + "lib/io/informatcircled.d.ts", + "lib/io/information.d.ts", + "lib/io/ionic.d.ts", + "lib/io/ios-alarm-outline.d.ts", + "lib/io/ios-alarm.d.ts", + "lib/io/ios-albums-outline.d.ts", + "lib/io/ios-albums.d.ts", + "lib/io/ios-americanfootball-outline.d.ts", + "lib/io/ios-americanfootball.d.ts", + "lib/io/ios-analytics-outline.d.ts", + "lib/io/ios-analytics.d.ts", + "lib/io/ios-arrow-back.d.ts", + "lib/io/ios-arrow-down.d.ts", + "lib/io/ios-arrow-forward.d.ts", + "lib/io/ios-arrow-left.d.ts", + "lib/io/ios-arrow-right.d.ts", + "lib/io/ios-arrow-thin-down.d.ts", + "lib/io/ios-arrow-thin-left.d.ts", + "lib/io/ios-arrow-thin-right.d.ts", + "lib/io/ios-arrow-thin-up.d.ts", + "lib/io/ios-arrow-up.d.ts", + "lib/io/ios-at-outline.d.ts", + "lib/io/ios-at.d.ts", + "lib/io/ios-barcode-outline.d.ts", + "lib/io/ios-barcode.d.ts", + "lib/io/ios-baseball-outline.d.ts", + "lib/io/ios-baseball.d.ts", + "lib/io/ios-basketball-outline.d.ts", + "lib/io/ios-basketball.d.ts", + "lib/io/ios-bell-outline.d.ts", + "lib/io/ios-bell.d.ts", + "lib/io/ios-body-outline.d.ts", + "lib/io/ios-body.d.ts", + "lib/io/ios-bolt-outline.d.ts", + "lib/io/ios-bolt.d.ts", + "lib/io/ios-book-outline.d.ts", + "lib/io/ios-book.d.ts", + "lib/io/ios-bookmarks-outline.d.ts", + "lib/io/ios-bookmarks.d.ts", + "lib/io/ios-box-outline.d.ts", + "lib/io/ios-box.d.ts", + "lib/io/ios-briefcase-outline.d.ts", + "lib/io/ios-briefcase.d.ts", + "lib/io/ios-browsers-outline.d.ts", + "lib/io/ios-browsers.d.ts", + "lib/io/ios-calculator-outline.d.ts", + "lib/io/ios-calculator.d.ts", + "lib/io/ios-calendar-outline.d.ts", + "lib/io/ios-calendar.d.ts", + "lib/io/ios-camera-outline.d.ts", + "lib/io/ios-camera.d.ts", + "lib/io/ios-cart-outline.d.ts", + "lib/io/ios-cart.d.ts", + "lib/io/ios-chatboxes-outline.d.ts", + "lib/io/ios-chatboxes.d.ts", + "lib/io/ios-chatbubble-outline.d.ts", + "lib/io/ios-chatbubble.d.ts", + "lib/io/ios-checkmark-empty.d.ts", + "lib/io/ios-checkmark-outline.d.ts", + "lib/io/ios-checkmark.d.ts", + "lib/io/ios-circle-filled.d.ts", + "lib/io/ios-circle-outline.d.ts", + "lib/io/ios-clock-outline.d.ts", + "lib/io/ios-clock.d.ts", + "lib/io/ios-close-empty.d.ts", + "lib/io/ios-close-outline.d.ts", + "lib/io/ios-close.d.ts", + "lib/io/ios-cloud-download-outline.d.ts", + "lib/io/ios-cloud-download.d.ts", + "lib/io/ios-cloud-outline.d.ts", + "lib/io/ios-cloud-upload-outline.d.ts", + "lib/io/ios-cloud-upload.d.ts", + "lib/io/ios-cloud.d.ts", + "lib/io/ios-cloudy-night-outline.d.ts", + "lib/io/ios-cloudy-night.d.ts", + "lib/io/ios-cloudy-outline.d.ts", + "lib/io/ios-cloudy.d.ts", + "lib/io/ios-cog-outline.d.ts", + "lib/io/ios-cog.d.ts", + "lib/io/ios-color-filter-outline.d.ts", + "lib/io/ios-color-filter.d.ts", + "lib/io/ios-color-wand-outline.d.ts", + "lib/io/ios-color-wand.d.ts", + "lib/io/ios-compose-outline.d.ts", + "lib/io/ios-compose.d.ts", + "lib/io/ios-contact-outline.d.ts", + "lib/io/ios-contact.d.ts", + "lib/io/ios-copy-outline.d.ts", + "lib/io/ios-copy.d.ts", + "lib/io/ios-crop-strong.d.ts", + "lib/io/ios-crop.d.ts", + "lib/io/ios-download-outline.d.ts", + "lib/io/ios-download.d.ts", + "lib/io/ios-drag.d.ts", + "lib/io/ios-email-outline.d.ts", + "lib/io/ios-email.d.ts", + "lib/io/ios-eye-outline.d.ts", + "lib/io/ios-eye.d.ts", + "lib/io/ios-fastforward-outline.d.ts", + "lib/io/ios-fastforward.d.ts", + "lib/io/ios-filing-outline.d.ts", + "lib/io/ios-filing.d.ts", + "lib/io/ios-film-outline.d.ts", + "lib/io/ios-film.d.ts", + "lib/io/ios-flag-outline.d.ts", + "lib/io/ios-flag.d.ts", + "lib/io/ios-flame-outline.d.ts", + "lib/io/ios-flame.d.ts", + "lib/io/ios-flask-outline.d.ts", + "lib/io/ios-flask.d.ts", + "lib/io/ios-flower-outline.d.ts", + "lib/io/ios-flower.d.ts", + "lib/io/ios-folder-outline.d.ts", + "lib/io/ios-folder.d.ts", + "lib/io/ios-football-outline.d.ts", + "lib/io/ios-football.d.ts", + "lib/io/ios-game-controller-a-outline.d.ts", + "lib/io/ios-game-controller-a.d.ts", + "lib/io/ios-game-controller-b-outline.d.ts", + "lib/io/ios-game-controller-b.d.ts", + "lib/io/ios-gear-outline.d.ts", + "lib/io/ios-gear.d.ts", + "lib/io/ios-glasses-outline.d.ts", + "lib/io/ios-glasses.d.ts", + "lib/io/ios-grid-view-outline.d.ts", + "lib/io/ios-grid-view.d.ts", + "lib/io/ios-heart-outline.d.ts", + "lib/io/ios-heart.d.ts", + "lib/io/ios-help-empty.d.ts", + "lib/io/ios-help-outline.d.ts", + "lib/io/ios-help.d.ts", + "lib/io/ios-home-outline.d.ts", + "lib/io/ios-home.d.ts", + "lib/io/ios-infinite-outline.d.ts", + "lib/io/ios-infinite.d.ts", + "lib/io/ios-informatempty.d.ts", + "lib/io/ios-information.d.ts", + "lib/io/ios-informatoutline.d.ts", + "lib/io/ios-ionic-outline.d.ts", + "lib/io/ios-keypad-outline.d.ts", + "lib/io/ios-keypad.d.ts", + "lib/io/ios-lightbulb-outline.d.ts", + "lib/io/ios-lightbulb.d.ts", + "lib/io/ios-list-outline.d.ts", + "lib/io/ios-list.d.ts", + "lib/io/ios-location.d.ts", + "lib/io/ios-locatoutline.d.ts", + "lib/io/ios-locked-outline.d.ts", + "lib/io/ios-locked.d.ts", + "lib/io/ios-loop-strong.d.ts", + "lib/io/ios-loop.d.ts", + "lib/io/ios-medical-outline.d.ts", + "lib/io/ios-medical.d.ts", + "lib/io/ios-medkit-outline.d.ts", + "lib/io/ios-medkit.d.ts", + "lib/io/ios-mic-off.d.ts", + "lib/io/ios-mic-outline.d.ts", + "lib/io/ios-mic.d.ts", + "lib/io/ios-minus-empty.d.ts", + "lib/io/ios-minus-outline.d.ts", + "lib/io/ios-minus.d.ts", + "lib/io/ios-monitor-outline.d.ts", + "lib/io/ios-monitor.d.ts", + "lib/io/ios-moon-outline.d.ts", + "lib/io/ios-moon.d.ts", + "lib/io/ios-more-outline.d.ts", + "lib/io/ios-more.d.ts", + "lib/io/ios-musical-note.d.ts", + "lib/io/ios-musical-notes.d.ts", + "lib/io/ios-navigate-outline.d.ts", + "lib/io/ios-navigate.d.ts", + "lib/io/ios-nutrition.d.ts", + "lib/io/ios-nutritoutline.d.ts", + "lib/io/ios-paper-outline.d.ts", + "lib/io/ios-paper.d.ts", + "lib/io/ios-paperplane-outline.d.ts", + "lib/io/ios-paperplane.d.ts", + "lib/io/ios-partlysunny-outline.d.ts", + "lib/io/ios-partlysunny.d.ts", + "lib/io/ios-pause-outline.d.ts", + "lib/io/ios-pause.d.ts", + "lib/io/ios-paw-outline.d.ts", + "lib/io/ios-paw.d.ts", + "lib/io/ios-people-outline.d.ts", + "lib/io/ios-people.d.ts", + "lib/io/ios-person-outline.d.ts", + "lib/io/ios-person.d.ts", + "lib/io/ios-personadd-outline.d.ts", + "lib/io/ios-personadd.d.ts", + "lib/io/ios-photos-outline.d.ts", + "lib/io/ios-photos.d.ts", + "lib/io/ios-pie-outline.d.ts", + "lib/io/ios-pie.d.ts", + "lib/io/ios-pint-outline.d.ts", + "lib/io/ios-pint.d.ts", + "lib/io/ios-play-outline.d.ts", + "lib/io/ios-play.d.ts", + "lib/io/ios-plus-empty.d.ts", + "lib/io/ios-plus-outline.d.ts", + "lib/io/ios-plus.d.ts", + "lib/io/ios-pricetag-outline.d.ts", + "lib/io/ios-pricetag.d.ts", + "lib/io/ios-pricetags-outline.d.ts", + "lib/io/ios-pricetags.d.ts", + "lib/io/ios-printer-outline.d.ts", + "lib/io/ios-printer.d.ts", + "lib/io/ios-pulse-strong.d.ts", + "lib/io/ios-pulse.d.ts", + "lib/io/ios-rainy-outline.d.ts", + "lib/io/ios-rainy.d.ts", + "lib/io/ios-recording-outline.d.ts", + "lib/io/ios-recording.d.ts", + "lib/io/ios-redo-outline.d.ts", + "lib/io/ios-redo.d.ts", + "lib/io/ios-refresh-empty.d.ts", + "lib/io/ios-refresh-outline.d.ts", + "lib/io/ios-refresh.d.ts", + "lib/io/ios-reload.d.ts", + "lib/io/ios-reverse-camera-outline.d.ts", + "lib/io/ios-reverse-camera.d.ts", + "lib/io/ios-rewind-outline.d.ts", + "lib/io/ios-rewind.d.ts", + "lib/io/ios-rose-outline.d.ts", + "lib/io/ios-rose.d.ts", + "lib/io/ios-search-strong.d.ts", + "lib/io/ios-search.d.ts", + "lib/io/ios-settings-strong.d.ts", + "lib/io/ios-settings.d.ts", + "lib/io/ios-shuffle-strong.d.ts", + "lib/io/ios-shuffle.d.ts", + "lib/io/ios-skipbackward-outline.d.ts", + "lib/io/ios-skipbackward.d.ts", + "lib/io/ios-skipforward-outline.d.ts", + "lib/io/ios-skipforward.d.ts", + "lib/io/ios-snowy.d.ts", + "lib/io/ios-speedometer-outline.d.ts", + "lib/io/ios-speedometer.d.ts", + "lib/io/ios-star-half.d.ts", + "lib/io/ios-star-outline.d.ts", + "lib/io/ios-star.d.ts", + "lib/io/ios-stopwatch-outline.d.ts", + "lib/io/ios-stopwatch.d.ts", + "lib/io/ios-sunny-outline.d.ts", + "lib/io/ios-sunny.d.ts", + "lib/io/ios-telephone-outline.d.ts", + "lib/io/ios-telephone.d.ts", + "lib/io/ios-tennisball-outline.d.ts", + "lib/io/ios-tennisball.d.ts", + "lib/io/ios-thunderstorm-outline.d.ts", + "lib/io/ios-thunderstorm.d.ts", + "lib/io/ios-time-outline.d.ts", + "lib/io/ios-time.d.ts", + "lib/io/ios-timer-outline.d.ts", + "lib/io/ios-timer.d.ts", + "lib/io/ios-toggle-outline.d.ts", + "lib/io/ios-toggle.d.ts", + "lib/io/ios-trash-outline.d.ts", + "lib/io/ios-trash.d.ts", + "lib/io/ios-undo-outline.d.ts", + "lib/io/ios-undo.d.ts", + "lib/io/ios-unlocked-outline.d.ts", + "lib/io/ios-unlocked.d.ts", + "lib/io/ios-upload-outline.d.ts", + "lib/io/ios-upload.d.ts", + "lib/io/ios-videocam-outline.d.ts", + "lib/io/ios-videocam.d.ts", + "lib/io/ios-volume-high.d.ts", + "lib/io/ios-volume-low.d.ts", + "lib/io/ios-wineglass-outline.d.ts", + "lib/io/ios-wineglass.d.ts", + "lib/io/ios-world-outline.d.ts", + "lib/io/ios-world.d.ts", + "lib/io/ipad.d.ts", + "lib/io/iphone.d.ts", + "lib/io/ipod.d.ts", + "lib/io/jet.d.ts", + "lib/io/key.d.ts", + "lib/io/knife.d.ts", + "lib/io/laptop.d.ts", + "lib/io/leaf.d.ts", + "lib/io/levels.d.ts", + "lib/io/lightbulb.d.ts", + "lib/io/link.d.ts", + "lib/io/load-a.d.ts", + "lib/io/load-b.d.ts", + "lib/io/load-c.d.ts", + "lib/io/load-d.d.ts", + "lib/io/location.d.ts", + "lib/io/lock-combination.d.ts", + "lib/io/locked.d.ts", + "lib/io/log-in.d.ts", + "lib/io/log-out.d.ts", + "lib/io/loop.d.ts", + "lib/io/magnet.d.ts", + "lib/io/male.d.ts", + "lib/io/man.d.ts", + "lib/io/map.d.ts", + "lib/io/medkit.d.ts", + "lib/io/merge.d.ts", + "lib/io/mic-a.d.ts", + "lib/io/mic-b.d.ts", + "lib/io/mic-c.d.ts", + "lib/io/minus-circled.d.ts", + "lib/io/minus-round.d.ts", + "lib/io/minus.d.ts", + "lib/io/model-s.d.ts", + "lib/io/monitor.d.ts", + "lib/io/more.d.ts", + "lib/io/mouse.d.ts", + "lib/io/music-note.d.ts", + "lib/io/navicon-round.d.ts", + "lib/io/navicon.d.ts", + "lib/io/navigate.d.ts", + "lib/io/network.d.ts", + "lib/io/no-smoking.d.ts", + "lib/io/nuclear.d.ts", + "lib/io/outlet.d.ts", + "lib/io/paintbrush.d.ts", + "lib/io/paintbucket.d.ts", + "lib/io/paper-airplane.d.ts", + "lib/io/paperclip.d.ts", + "lib/io/pause.d.ts", + "lib/io/person-add.d.ts", + "lib/io/person-stalker.d.ts", + "lib/io/person.d.ts", + "lib/io/pie-graph.d.ts", + "lib/io/pin.d.ts", + "lib/io/pinpoint.d.ts", + "lib/io/pizza.d.ts", + "lib/io/plane.d.ts", + "lib/io/planet.d.ts", + "lib/io/play.d.ts", + "lib/io/playstation.d.ts", + "lib/io/plus-circled.d.ts", + "lib/io/plus-round.d.ts", + "lib/io/plus.d.ts", + "lib/io/podium.d.ts", + "lib/io/pound.d.ts", + "lib/io/power.d.ts", + "lib/io/pricetag.d.ts", + "lib/io/pricetags.d.ts", + "lib/io/printer.d.ts", + "lib/io/pull-request.d.ts", + "lib/io/qr-scanner.d.ts", + "lib/io/quote.d.ts", + "lib/io/radio-waves.d.ts", + "lib/io/record.d.ts", + "lib/io/refresh.d.ts", + "lib/io/reply-all.d.ts", + "lib/io/reply.d.ts", + "lib/io/ribbon-a.d.ts", + "lib/io/ribbon-b.d.ts", + "lib/io/sad-outline.d.ts", + "lib/io/sad.d.ts", + "lib/io/scissors.d.ts", + "lib/io/search.d.ts", + "lib/io/settings.d.ts", + "lib/io/share.d.ts", + "lib/io/shuffle.d.ts", + "lib/io/skip-backward.d.ts", + "lib/io/skip-forward.d.ts", + "lib/io/social-android-outline.d.ts", + "lib/io/social-android.d.ts", + "lib/io/social-angular-outline.d.ts", + "lib/io/social-angular.d.ts", + "lib/io/social-apple-outline.d.ts", + "lib/io/social-apple.d.ts", + "lib/io/social-bitcoin-outline.d.ts", + "lib/io/social-bitcoin.d.ts", + "lib/io/social-buffer-outline.d.ts", + "lib/io/social-buffer.d.ts", + "lib/io/social-chrome-outline.d.ts", + "lib/io/social-chrome.d.ts", + "lib/io/social-codepen-outline.d.ts", + "lib/io/social-codepen.d.ts", + "lib/io/social-css3-outline.d.ts", + "lib/io/social-css3.d.ts", + "lib/io/social-designernews-outline.d.ts", + "lib/io/social-designernews.d.ts", + "lib/io/social-dribbble-outline.d.ts", + "lib/io/social-dribbble.d.ts", + "lib/io/social-dropbox-outline.d.ts", + "lib/io/social-dropbox.d.ts", + "lib/io/social-euro-outline.d.ts", + "lib/io/social-euro.d.ts", + "lib/io/social-facebook-outline.d.ts", + "lib/io/social-facebook.d.ts", + "lib/io/social-foursquare-outline.d.ts", + "lib/io/social-foursquare.d.ts", + "lib/io/social-freebsd-devil.d.ts", + "lib/io/social-github-outline.d.ts", + "lib/io/social-github.d.ts", + "lib/io/social-google-outline.d.ts", + "lib/io/social-google.d.ts", + "lib/io/social-googleplus-outline.d.ts", + "lib/io/social-googleplus.d.ts", + "lib/io/social-hackernews-outline.d.ts", + "lib/io/social-hackernews.d.ts", + "lib/io/social-html5-outline.d.ts", + "lib/io/social-html5.d.ts", + "lib/io/social-instagram-outline.d.ts", + "lib/io/social-instagram.d.ts", + "lib/io/social-javascript-outline.d.ts", + "lib/io/social-javascript.d.ts", + "lib/io/social-linkedin-outline.d.ts", + "lib/io/social-linkedin.d.ts", + "lib/io/social-markdown.d.ts", + "lib/io/social-nodejs.d.ts", + "lib/io/social-octocat.d.ts", + "lib/io/social-pinterest-outline.d.ts", + "lib/io/social-pinterest.d.ts", + "lib/io/social-python.d.ts", + "lib/io/social-reddit-outline.d.ts", + "lib/io/social-reddit.d.ts", + "lib/io/social-rss-outline.d.ts", + "lib/io/social-rss.d.ts", + "lib/io/social-sass.d.ts", + "lib/io/social-skype-outline.d.ts", + "lib/io/social-skype.d.ts", + "lib/io/social-snapchat-outline.d.ts", + "lib/io/social-snapchat.d.ts", + "lib/io/social-tumblr-outline.d.ts", + "lib/io/social-tumblr.d.ts", + "lib/io/social-tux.d.ts", + "lib/io/social-twitch-outline.d.ts", + "lib/io/social-twitch.d.ts", + "lib/io/social-twitter-outline.d.ts", + "lib/io/social-twitter.d.ts", + "lib/io/social-usd-outline.d.ts", + "lib/io/social-usd.d.ts", + "lib/io/social-vimeo-outline.d.ts", + "lib/io/social-vimeo.d.ts", + "lib/io/social-whatsapp-outline.d.ts", + "lib/io/social-whatsapp.d.ts", + "lib/io/social-windows-outline.d.ts", + "lib/io/social-windows.d.ts", + "lib/io/social-wordpress-outline.d.ts", + "lib/io/social-wordpress.d.ts", + "lib/io/social-yahoo-outline.d.ts", + "lib/io/social-yahoo.d.ts", + "lib/io/social-yen-outline.d.ts", + "lib/io/social-yen.d.ts", + "lib/io/social-youtube-outline.d.ts", + "lib/io/social-youtube.d.ts", + "lib/io/soup-can-outline.d.ts", + "lib/io/soup-can.d.ts", + "lib/io/speakerphone.d.ts", + "lib/io/speedometer.d.ts", + "lib/io/spoon.d.ts", + "lib/io/star.d.ts", + "lib/io/stats-bars.d.ts", + "lib/io/steam.d.ts", + "lib/io/stop.d.ts", + "lib/io/thermometer.d.ts", + "lib/io/thumbsdown.d.ts", + "lib/io/thumbsup.d.ts", + "lib/io/toggle-filled.d.ts", + "lib/io/toggle.d.ts", + "lib/io/transgender.d.ts", + "lib/io/trash-a.d.ts", + "lib/io/trash-b.d.ts", + "lib/io/trophy.d.ts", + "lib/io/tshirt-outline.d.ts", + "lib/io/tshirt.d.ts", + "lib/io/umbrella.d.ts", + "lib/io/university.d.ts", + "lib/io/unlocked.d.ts", + "lib/io/upload.d.ts", + "lib/io/usb.d.ts", + "lib/io/videocamera.d.ts", + "lib/io/volume-high.d.ts", + "lib/io/volume-low.d.ts", + "lib/io/volume-medium.d.ts", + "lib/io/volume-mute.d.ts", + "lib/io/wand.d.ts", + "lib/io/waterdrop.d.ts", + "lib/io/wifi.d.ts", + "lib/io/wineglass.d.ts", + "lib/io/woman.d.ts", + "lib/io/wrench.d.ts", + "lib/io/xbox.d.ts", + "lib/md/3d-rotation.d.ts", + "lib/md/ac-unit.d.ts", + "lib/md/access-alarm.d.ts", + "lib/md/access-alarms.d.ts", + "lib/md/access-time.d.ts", + "lib/md/accessibility.d.ts", + "lib/md/accessible.d.ts", + "lib/md/account-balance-wallet.d.ts", + "lib/md/account-balance.d.ts", + "lib/md/account-box.d.ts", + "lib/md/account-circle.d.ts", + "lib/md/adb.d.ts", + "lib/md/add-a-photo.d.ts", + "lib/md/add-alarm.d.ts", + "lib/md/add-alert.d.ts", + "lib/md/add-box.d.ts", + "lib/md/add-circle-outline.d.ts", + "lib/md/add-circle.d.ts", + "lib/md/add-location.d.ts", + "lib/md/add-shopping-cart.d.ts", + "lib/md/add-to-photos.d.ts", + "lib/md/add-to-queue.d.ts", + "lib/md/add.d.ts", + "lib/md/adjust.d.ts", + "lib/md/airline-seat-flat-angled.d.ts", + "lib/md/airline-seat-flat.d.ts", + "lib/md/airline-seat-individual-suite.d.ts", + "lib/md/airline-seat-legroom-extra.d.ts", + "lib/md/airline-seat-legroom-normal.d.ts", + "lib/md/airline-seat-legroom-reduced.d.ts", + "lib/md/airline-seat-recline-extra.d.ts", + "lib/md/airline-seat-recline-normal.d.ts", + "lib/md/airplanemode-active.d.ts", + "lib/md/airplanemode-inactive.d.ts", + "lib/md/airplay.d.ts", + "lib/md/airport-shuttle.d.ts", + "lib/md/alarm-add.d.ts", + "lib/md/alarm-off.d.ts", + "lib/md/alarm-on.d.ts", + "lib/md/alarm.d.ts", + "lib/md/album.d.ts", + "lib/md/all-inclusive.d.ts", + "lib/md/all-out.d.ts", + "lib/md/android.d.ts", + "lib/md/announcement.d.ts", + "lib/md/apps.d.ts", + "lib/md/archive.d.ts", + "lib/md/arrow-back.d.ts", + "lib/md/arrow-downward.d.ts", + "lib/md/arrow-drop-down-circle.d.ts", + "lib/md/arrow-drop-down.d.ts", + "lib/md/arrow-drop-up.d.ts", + "lib/md/arrow-forward.d.ts", + "lib/md/arrow-upward.d.ts", + "lib/md/art-track.d.ts", + "lib/md/aspect-ratio.d.ts", + "lib/md/assessment.d.ts", + "lib/md/assignment-ind.d.ts", + "lib/md/assignment-late.d.ts", + "lib/md/assignment-return.d.ts", + "lib/md/assignment-returned.d.ts", + "lib/md/assignment-turned-in.d.ts", + "lib/md/assignment.d.ts", + "lib/md/assistant-photo.d.ts", + "lib/md/assistant.d.ts", + "lib/md/attach-file.d.ts", + "lib/md/attach-money.d.ts", + "lib/md/attachment.d.ts", + "lib/md/audiotrack.d.ts", + "lib/md/autorenew.d.ts", + "lib/md/av-timer.d.ts", + "lib/md/backspace.d.ts", + "lib/md/backup.d.ts", + "lib/md/battery-alert.d.ts", + "lib/md/battery-charging-full.d.ts", + "lib/md/battery-full.d.ts", + "lib/md/battery-std.d.ts", + "lib/md/battery-unknown.d.ts", + "lib/md/beach-access.d.ts", + "lib/md/beenhere.d.ts", + "lib/md/block.d.ts", + "lib/md/bluetooth-audio.d.ts", + "lib/md/bluetooth-connected.d.ts", + "lib/md/bluetooth-disabled.d.ts", + "lib/md/bluetooth-searching.d.ts", + "lib/md/bluetooth.d.ts", + "lib/md/blur-circular.d.ts", + "lib/md/blur-linear.d.ts", + "lib/md/blur-off.d.ts", + "lib/md/blur-on.d.ts", + "lib/md/book.d.ts", + "lib/md/bookmark-outline.d.ts", + "lib/md/bookmark.d.ts", + "lib/md/border-all.d.ts", + "lib/md/border-bottom.d.ts", + "lib/md/border-clear.d.ts", + "lib/md/border-color.d.ts", + "lib/md/border-horizontal.d.ts", + "lib/md/border-inner.d.ts", + "lib/md/border-left.d.ts", + "lib/md/border-outer.d.ts", + "lib/md/border-right.d.ts", + "lib/md/border-style.d.ts", + "lib/md/border-top.d.ts", + "lib/md/border-vertical.d.ts", + "lib/md/branding-watermark.d.ts", + "lib/md/brightness-1.d.ts", + "lib/md/brightness-2.d.ts", + "lib/md/brightness-3.d.ts", + "lib/md/brightness-4.d.ts", + "lib/md/brightness-5.d.ts", + "lib/md/brightness-6.d.ts", + "lib/md/brightness-7.d.ts", + "lib/md/brightness-auto.d.ts", + "lib/md/brightness-high.d.ts", + "lib/md/brightness-low.d.ts", + "lib/md/brightness-medium.d.ts", + "lib/md/broken-image.d.ts", + "lib/md/brush.d.ts", + "lib/md/bubble-chart.d.ts", + "lib/md/bug-report.d.ts", + "lib/md/build.d.ts", + "lib/md/burst-mode.d.ts", + "lib/md/business-center.d.ts", + "lib/md/business.d.ts", + "lib/md/cached.d.ts", + "lib/md/cake.d.ts", + "lib/md/call-end.d.ts", + "lib/md/call-made.d.ts", + "lib/md/call-merge.d.ts", + "lib/md/call-missed-outgoing.d.ts", + "lib/md/call-missed.d.ts", + "lib/md/call-received.d.ts", + "lib/md/call-split.d.ts", + "lib/md/call-to-action.d.ts", + "lib/md/call.d.ts", + "lib/md/camera-alt.d.ts", + "lib/md/camera-enhance.d.ts", + "lib/md/camera-front.d.ts", + "lib/md/camera-rear.d.ts", + "lib/md/camera-roll.d.ts", + "lib/md/camera.d.ts", + "lib/md/cancel.d.ts", + "lib/md/card-giftcard.d.ts", + "lib/md/card-membership.d.ts", + "lib/md/card-travel.d.ts", + "lib/md/casino.d.ts", + "lib/md/cast-connected.d.ts", + "lib/md/cast.d.ts", + "lib/md/center-focus-strong.d.ts", + "lib/md/center-focus-weak.d.ts", + "lib/md/change-history.d.ts", + "lib/md/chat-bubble-outline.d.ts", + "lib/md/chat-bubble.d.ts", + "lib/md/chat.d.ts", + "lib/md/check-box-outline-blank.d.ts", + "lib/md/check-box.d.ts", + "lib/md/check-circle.d.ts", + "lib/md/check.d.ts", + "lib/md/chevron-left.d.ts", + "lib/md/chevron-right.d.ts", + "lib/md/child-care.d.ts", + "lib/md/child-friendly.d.ts", + "lib/md/chrome-reader-mode.d.ts", + "lib/md/class.d.ts", + "lib/md/clear-all.d.ts", + "lib/md/clear.d.ts", + "lib/md/close.d.ts", + "lib/md/closed-caption.d.ts", + "lib/md/cloud-circle.d.ts", + "lib/md/cloud-done.d.ts", + "lib/md/cloud-download.d.ts", + "lib/md/cloud-off.d.ts", + "lib/md/cloud-queue.d.ts", + "lib/md/cloud-upload.d.ts", + "lib/md/cloud.d.ts", + "lib/md/code.d.ts", + "lib/md/collections-bookmark.d.ts", + "lib/md/collections.d.ts", + "lib/md/color-lens.d.ts", + "lib/md/colorize.d.ts", + "lib/md/comment.d.ts", + "lib/md/compare-arrows.d.ts", + "lib/md/compare.d.ts", + "lib/md/computer.d.ts", + "lib/md/confirmation-number.d.ts", + "lib/md/contact-mail.d.ts", + "lib/md/contact-phone.d.ts", + "lib/md/contacts.d.ts", + "lib/md/content-copy.d.ts", + "lib/md/content-cut.d.ts", + "lib/md/content-paste.d.ts", + "lib/md/control-point-duplicate.d.ts", + "lib/md/control-point.d.ts", + "lib/md/copyright.d.ts", + "lib/md/create-new-folder.d.ts", + "lib/md/create.d.ts", + "lib/md/credit-card.d.ts", + "lib/md/crop-16-9.d.ts", + "lib/md/crop-3-2.d.ts", + "lib/md/crop-5-4.d.ts", + "lib/md/crop-7-5.d.ts", + "lib/md/crop-din.d.ts", + "lib/md/crop-free.d.ts", + "lib/md/crop-landscape.d.ts", + "lib/md/crop-original.d.ts", + "lib/md/crop-portrait.d.ts", + "lib/md/crop-rotate.d.ts", + "lib/md/crop-square.d.ts", + "lib/md/crop.d.ts", + "lib/md/dashboard.d.ts", + "lib/md/data-usage.d.ts", + "lib/md/date-range.d.ts", + "lib/md/dehaze.d.ts", + "lib/md/delete-forever.d.ts", + "lib/md/delete-sweep.d.ts", + "lib/md/delete.d.ts", + "lib/md/description.d.ts", + "lib/md/desktop-mac.d.ts", + "lib/md/desktop-windows.d.ts", + "lib/md/details.d.ts", + "lib/md/developer-board.d.ts", + "lib/md/developer-mode.d.ts", + "lib/md/device-hub.d.ts", + "lib/md/devices-other.d.ts", + "lib/md/devices.d.ts", + "lib/md/dialer-sip.d.ts", + "lib/md/dialpad.d.ts", + "lib/md/directions-bike.d.ts", + "lib/md/directions-boat.d.ts", + "lib/md/directions-bus.d.ts", + "lib/md/directions-car.d.ts", + "lib/md/directions-ferry.d.ts", + "lib/md/directions-railway.d.ts", + "lib/md/directions-run.d.ts", + "lib/md/directions-subway.d.ts", + "lib/md/directions-transit.d.ts", + "lib/md/directions-walk.d.ts", + "lib/md/directions.d.ts", + "lib/md/disc-full.d.ts", + "lib/md/dns.d.ts", + "lib/md/do-not-disturb-alt.d.ts", + "lib/md/do-not-disturb-off.d.ts", + "lib/md/do-not-disturb.d.ts", + "lib/md/dock.d.ts", + "lib/md/domain.d.ts", + "lib/md/done-all.d.ts", + "lib/md/done.d.ts", + "lib/md/donut-large.d.ts", + "lib/md/donut-small.d.ts", + "lib/md/drafts.d.ts", + "lib/md/drag-handle.d.ts", + "lib/md/drive-eta.d.ts", + "lib/md/dvr.d.ts", + "lib/md/edit-location.d.ts", + "lib/md/edit.d.ts", + "lib/md/eject.d.ts", + "lib/md/email.d.ts", + "lib/md/enhanced-encryption.d.ts", + "lib/md/equalizer.d.ts", + "lib/md/error-outline.d.ts", + "lib/md/error.d.ts", + "lib/md/euro-symbol.d.ts", + "lib/md/ev-station.d.ts", + "lib/md/event-available.d.ts", + "lib/md/event-busy.d.ts", + "lib/md/event-note.d.ts", + "lib/md/event-seat.d.ts", + "lib/md/event.d.ts", + "lib/md/exit-to-app.d.ts", + "lib/md/expand-less.d.ts", + "lib/md/expand-more.d.ts", + "lib/md/explicit.d.ts", + "lib/md/explore.d.ts", + "lib/md/exposure-minus-1.d.ts", + "lib/md/exposure-minus-2.d.ts", + "lib/md/exposure-neg-1.d.ts", + "lib/md/exposure-neg-2.d.ts", + "lib/md/exposure-plus-1.d.ts", + "lib/md/exposure-plus-2.d.ts", + "lib/md/exposure-zero.d.ts", + "lib/md/exposure.d.ts", + "lib/md/extension.d.ts", + "lib/md/face.d.ts", + "lib/md/fast-forward.d.ts", + "lib/md/fast-rewind.d.ts", + "lib/md/favorite-border.d.ts", + "lib/md/favorite-outline.d.ts", + "lib/md/favorite.d.ts", + "lib/md/featured-play-list.d.ts", + "lib/md/featured-video.d.ts", + "lib/md/feedback.d.ts", + "lib/md/fiber-dvr.d.ts", + "lib/md/fiber-manual-record.d.ts", + "lib/md/fiber-new.d.ts", + "lib/md/fiber-pin.d.ts", + "lib/md/fiber-smart-record.d.ts", + "lib/md/file-download.d.ts", + "lib/md/file-upload.d.ts", + "lib/md/filter-1.d.ts", + "lib/md/filter-2.d.ts", + "lib/md/filter-3.d.ts", + "lib/md/filter-4.d.ts", + "lib/md/filter-5.d.ts", + "lib/md/filter-6.d.ts", + "lib/md/filter-7.d.ts", + "lib/md/filter-8.d.ts", + "lib/md/filter-9-plus.d.ts", + "lib/md/filter-9.d.ts", + "lib/md/filter-b-and-w.d.ts", + "lib/md/filter-center-focus.d.ts", + "lib/md/filter-drama.d.ts", + "lib/md/filter-frames.d.ts", + "lib/md/filter-hdr.d.ts", + "lib/md/filter-list.d.ts", + "lib/md/filter-none.d.ts", + "lib/md/filter-tilt-shift.d.ts", + "lib/md/filter-vintage.d.ts", + "lib/md/filter.d.ts", + "lib/md/find-in-page.d.ts", + "lib/md/find-replace.d.ts", + "lib/md/fingerprint.d.ts", + "lib/md/first-page.d.ts", + "lib/md/fitness-center.d.ts", + "lib/md/flag.d.ts", + "lib/md/flare.d.ts", + "lib/md/flash-auto.d.ts", + "lib/md/flash-off.d.ts", + "lib/md/flash-on.d.ts", + "lib/md/flight-land.d.ts", + "lib/md/flight-takeoff.d.ts", + "lib/md/flight.d.ts", + "lib/md/flip-to-back.d.ts", + "lib/md/flip-to-front.d.ts", + "lib/md/flip.d.ts", + "lib/md/folder-open.d.ts", + "lib/md/folder-shared.d.ts", + "lib/md/folder-special.d.ts", + "lib/md/folder.d.ts", + "lib/md/font-download.d.ts", + "lib/md/format-align-center.d.ts", + "lib/md/format-align-justify.d.ts", + "lib/md/format-align-left.d.ts", + "lib/md/format-align-right.d.ts", + "lib/md/format-bold.d.ts", + "lib/md/format-clear.d.ts", + "lib/md/format-color-fill.d.ts", + "lib/md/format-color-reset.d.ts", + "lib/md/format-color-text.d.ts", + "lib/md/format-indent-decrease.d.ts", + "lib/md/format-indent-increase.d.ts", + "lib/md/format-italic.d.ts", + "lib/md/format-line-spacing.d.ts", + "lib/md/format-list-bulleted.d.ts", + "lib/md/format-list-numbered.d.ts", + "lib/md/format-paint.d.ts", + "lib/md/format-quote.d.ts", + "lib/md/format-shapes.d.ts", + "lib/md/format-size.d.ts", + "lib/md/format-strikethrough.d.ts", + "lib/md/format-textdirection-l-to-r.d.ts", + "lib/md/format-textdirection-r-to-l.d.ts", + "lib/md/format-underlined.d.ts", + "lib/md/forum.d.ts", + "lib/md/forward-10.d.ts", + "lib/md/forward-30.d.ts", + "lib/md/forward-5.d.ts", + "lib/md/forward.d.ts", + "lib/md/free-breakfast.d.ts", + "lib/md/fullscreen-exit.d.ts", + "lib/md/fullscreen.d.ts", + "lib/md/functions.d.ts", + "lib/md/g-translate.d.ts", + "lib/md/gamepad.d.ts", + "lib/md/games.d.ts", + "lib/md/gavel.d.ts", + "lib/md/gesture.d.ts", + "lib/md/get-app.d.ts", + "lib/md/gif.d.ts", + "lib/md/goat.d.ts", + "lib/md/golf-course.d.ts", + "lib/md/gps-fixed.d.ts", + "lib/md/gps-not-fixed.d.ts", + "lib/md/gps-off.d.ts", + "lib/md/grade.d.ts", + "lib/md/gradient.d.ts", + "lib/md/grain.d.ts", + "lib/md/graphic-eq.d.ts", + "lib/md/grid-off.d.ts", + "lib/md/grid-on.d.ts", + "lib/md/group-add.d.ts", + "lib/md/group-work.d.ts", + "lib/md/group.d.ts", + "lib/md/hd.d.ts", + "lib/md/hdr-off.d.ts", + "lib/md/hdr-on.d.ts", + "lib/md/hdr-strong.d.ts", + "lib/md/hdr-weak.d.ts", + "lib/md/headset-mic.d.ts", + "lib/md/headset.d.ts", + "lib/md/healing.d.ts", + "lib/md/hearing.d.ts", + "lib/md/help-outline.d.ts", + "lib/md/help.d.ts", + "lib/md/high-quality.d.ts", + "lib/md/highlight-off.d.ts", + "lib/md/highlight-remove.d.ts", + "lib/md/highlight.d.ts", + "lib/md/history.d.ts", + "lib/md/home.d.ts", + "lib/md/hot-tub.d.ts", + "lib/md/hotel.d.ts", + "lib/md/hourglass-empty.d.ts", + "lib/md/hourglass-full.d.ts", + "lib/md/http.d.ts", + "lib/md/https.d.ts", + "lib/md/image-aspect-ratio.d.ts", + "lib/md/image.d.ts", + "lib/md/import-contacts.d.ts", + "lib/md/import-export.d.ts", + "lib/md/important-devices.d.ts", + "lib/md/inbox.d.ts", + "lib/md/indeterminate-check-box.d.ts", + "lib/md/info-outline.d.ts", + "lib/md/info.d.ts", + "lib/md/input.d.ts", + "lib/md/insert-chart.d.ts", + "lib/md/insert-comment.d.ts", + "lib/md/insert-drive-file.d.ts", + "lib/md/insert-emoticon.d.ts", + "lib/md/insert-invitation.d.ts", + "lib/md/insert-link.d.ts", + "lib/md/insert-photo.d.ts", + "lib/md/invert-colors-off.d.ts", + "lib/md/invert-colors-on.d.ts", + "lib/md/invert-colors.d.ts", + "lib/md/iso.d.ts", + "lib/md/keyboard-arrow-down.d.ts", + "lib/md/keyboard-arrow-left.d.ts", + "lib/md/keyboard-arrow-right.d.ts", + "lib/md/keyboard-arrow-up.d.ts", + "lib/md/keyboard-backspace.d.ts", + "lib/md/keyboard-capslock.d.ts", + "lib/md/keyboard-control.d.ts", + "lib/md/keyboard-hide.d.ts", + "lib/md/keyboard-return.d.ts", + "lib/md/keyboard-tab.d.ts", + "lib/md/keyboard-voice.d.ts", + "lib/md/keyboard.d.ts", + "lib/md/kitchen.d.ts", + "lib/md/label-outline.d.ts", + "lib/md/label.d.ts", + "lib/md/landscape.d.ts", + "lib/md/language.d.ts", + "lib/md/laptop-chromebook.d.ts", + "lib/md/laptop-mac.d.ts", + "lib/md/laptop-windows.d.ts", + "lib/md/laptop.d.ts", + "lib/md/last-page.d.ts", + "lib/md/launch.d.ts", + "lib/md/layers-clear.d.ts", + "lib/md/layers.d.ts", + "lib/md/leak-add.d.ts", + "lib/md/leak-remove.d.ts", + "lib/md/lens.d.ts", + "lib/md/library-add.d.ts", + "lib/md/library-books.d.ts", + "lib/md/library-music.d.ts", + "lib/md/lightbulb-outline.d.ts", + "lib/md/line-style.d.ts", + "lib/md/line-weight.d.ts", + "lib/md/linear-scale.d.ts", + "lib/md/link.d.ts", + "lib/md/linked-camera.d.ts", + "lib/md/list.d.ts", + "lib/md/live-help.d.ts", + "lib/md/live-tv.d.ts", + "lib/md/local-airport.d.ts", + "lib/md/local-atm.d.ts", + "lib/md/local-attraction.d.ts", + "lib/md/local-bar.d.ts", + "lib/md/local-cafe.d.ts", + "lib/md/local-car-wash.d.ts", + "lib/md/local-convenience-store.d.ts", + "lib/md/local-drink.d.ts", + "lib/md/local-florist.d.ts", + "lib/md/local-gas-station.d.ts", + "lib/md/local-grocery-store.d.ts", + "lib/md/local-hospital.d.ts", + "lib/md/local-hotel.d.ts", + "lib/md/local-laundry-service.d.ts", + "lib/md/local-library.d.ts", + "lib/md/local-mall.d.ts", + "lib/md/local-movies.d.ts", + "lib/md/local-offer.d.ts", + "lib/md/local-parking.d.ts", + "lib/md/local-pharmacy.d.ts", + "lib/md/local-phone.d.ts", + "lib/md/local-pizza.d.ts", + "lib/md/local-play.d.ts", + "lib/md/local-post-office.d.ts", + "lib/md/local-print-shop.d.ts", + "lib/md/local-restaurant.d.ts", + "lib/md/local-see.d.ts", + "lib/md/local-shipping.d.ts", + "lib/md/local-taxi.d.ts", + "lib/md/location-city.d.ts", + "lib/md/location-disabled.d.ts", + "lib/md/location-history.d.ts", + "lib/md/location-off.d.ts", + "lib/md/location-on.d.ts", + "lib/md/location-searching.d.ts", + "lib/md/lock-open.d.ts", + "lib/md/lock-outline.d.ts", + "lib/md/lock.d.ts", + "lib/md/looks-3.d.ts", + "lib/md/looks-4.d.ts", + "lib/md/looks-5.d.ts", + "lib/md/looks-6.d.ts", + "lib/md/looks-one.d.ts", + "lib/md/looks-two.d.ts", + "lib/md/looks.d.ts", + "lib/md/loop.d.ts", + "lib/md/loupe.d.ts", + "lib/md/low-priority.d.ts", + "lib/md/loyalty.d.ts", + "lib/md/mail-outline.d.ts", + "lib/md/mail.d.ts", + "lib/md/map.d.ts", + "lib/md/markunread-mailbox.d.ts", + "lib/md/markunread.d.ts", + "lib/md/memory.d.ts", + "lib/md/menu.d.ts", + "lib/md/merge-type.d.ts", + "lib/md/message.d.ts", + "lib/md/mic-none.d.ts", + "lib/md/mic-off.d.ts", + "lib/md/mic.d.ts", + "lib/md/mms.d.ts", + "lib/md/mode-comment.d.ts", + "lib/md/mode-edit.d.ts", + "lib/md/monetization-on.d.ts", + "lib/md/money-off.d.ts", + "lib/md/monochrome-photos.d.ts", + "lib/md/mood-bad.d.ts", + "lib/md/mood.d.ts", + "lib/md/more-horiz.d.ts", + "lib/md/more-vert.d.ts", + "lib/md/more.d.ts", + "lib/md/motorcycle.d.ts", + "lib/md/mouse.d.ts", + "lib/md/move-to-inbox.d.ts", + "lib/md/movie-creation.d.ts", + "lib/md/movie-filter.d.ts", + "lib/md/movie.d.ts", + "lib/md/multiline-chart.d.ts", + "lib/md/music-note.d.ts", + "lib/md/music-video.d.ts", + "lib/md/my-location.d.ts", + "lib/md/nature-people.d.ts", + "lib/md/nature.d.ts", + "lib/md/navigate-before.d.ts", + "lib/md/navigate-next.d.ts", + "lib/md/navigation.d.ts", + "lib/md/near-me.d.ts", + "lib/md/network-cell.d.ts", + "lib/md/network-check.d.ts", + "lib/md/network-locked.d.ts", + "lib/md/network-wifi.d.ts", + "lib/md/new-releases.d.ts", + "lib/md/next-week.d.ts", + "lib/md/nfc.d.ts", + "lib/md/no-encryption.d.ts", + "lib/md/no-sim.d.ts", + "lib/md/not-interested.d.ts", + "lib/md/note-add.d.ts", + "lib/md/note.d.ts", + "lib/md/notifications-active.d.ts", + "lib/md/notifications-none.d.ts", + "lib/md/notifications-off.d.ts", + "lib/md/notifications-paused.d.ts", + "lib/md/notifications.d.ts", + "lib/md/now-wallpaper.d.ts", + "lib/md/now-widgets.d.ts", + "lib/md/offline-pin.d.ts", + "lib/md/ondemand-video.d.ts", + "lib/md/opacity.d.ts", + "lib/md/open-in-browser.d.ts", + "lib/md/open-in-new.d.ts", + "lib/md/open-with.d.ts", + "lib/md/pages.d.ts", + "lib/md/pageview.d.ts", + "lib/md/palette.d.ts", + "lib/md/pan-tool.d.ts", + "lib/md/panorama-fish-eye.d.ts", + "lib/md/panorama-horizontal.d.ts", + "lib/md/panorama-vertical.d.ts", + "lib/md/panorama-wide-angle.d.ts", + "lib/md/panorama.d.ts", + "lib/md/party-mode.d.ts", + "lib/md/pause-circle-filled.d.ts", + "lib/md/pause-circle-outline.d.ts", + "lib/md/pause.d.ts", + "lib/md/payment.d.ts", + "lib/md/people-outline.d.ts", + "lib/md/people.d.ts", + "lib/md/perm-camera-mic.d.ts", + "lib/md/perm-contact-calendar.d.ts", + "lib/md/perm-data-setting.d.ts", + "lib/md/perm-device-information.d.ts", + "lib/md/perm-identity.d.ts", + "lib/md/perm-media.d.ts", + "lib/md/perm-phone-msg.d.ts", + "lib/md/perm-scan-wifi.d.ts", + "lib/md/person-add.d.ts", + "lib/md/person-outline.d.ts", + "lib/md/person-pin-circle.d.ts", + "lib/md/person-pin.d.ts", + "lib/md/person.d.ts", + "lib/md/personal-video.d.ts", + "lib/md/pets.d.ts", + "lib/md/phone-android.d.ts", + "lib/md/phone-bluetooth-speaker.d.ts", + "lib/md/phone-forwarded.d.ts", + "lib/md/phone-in-talk.d.ts", + "lib/md/phone-iphone.d.ts", + "lib/md/phone-locked.d.ts", + "lib/md/phone-missed.d.ts", + "lib/md/phone-paused.d.ts", + "lib/md/phone.d.ts", + "lib/md/phonelink-erase.d.ts", + "lib/md/phonelink-lock.d.ts", + "lib/md/phonelink-off.d.ts", + "lib/md/phonelink-ring.d.ts", + "lib/md/phonelink-setup.d.ts", + "lib/md/phonelink.d.ts", + "lib/md/photo-album.d.ts", + "lib/md/photo-camera.d.ts", + "lib/md/photo-filter.d.ts", + "lib/md/photo-library.d.ts", + "lib/md/photo-size-select-actual.d.ts", + "lib/md/photo-size-select-large.d.ts", + "lib/md/photo-size-select-small.d.ts", + "lib/md/photo.d.ts", + "lib/md/picture-as-pdf.d.ts", + "lib/md/picture-in-picture-alt.d.ts", + "lib/md/picture-in-picture.d.ts", + "lib/md/pie-chart-outlined.d.ts", + "lib/md/pie-chart.d.ts", + "lib/md/pin-drop.d.ts", + "lib/md/place.d.ts", + "lib/md/play-arrow.d.ts", + "lib/md/play-circle-filled.d.ts", + "lib/md/play-circle-outline.d.ts", + "lib/md/play-for-work.d.ts", + "lib/md/playlist-add-check.d.ts", + "lib/md/playlist-add.d.ts", + "lib/md/playlist-play.d.ts", + "lib/md/plus-one.d.ts", + "lib/md/poll.d.ts", + "lib/md/polymer.d.ts", + "lib/md/pool.d.ts", + "lib/md/portable-wifi-off.d.ts", + "lib/md/portrait.d.ts", + "lib/md/power-input.d.ts", + "lib/md/power-settings-new.d.ts", + "lib/md/power.d.ts", + "lib/md/pregnant-woman.d.ts", + "lib/md/present-to-all.d.ts", + "lib/md/print.d.ts", + "lib/md/priority-high.d.ts", + "lib/md/public.d.ts", + "lib/md/publish.d.ts", + "lib/md/query-builder.d.ts", + "lib/md/question-answer.d.ts", + "lib/md/queue-music.d.ts", + "lib/md/queue-play-next.d.ts", + "lib/md/queue.d.ts", + "lib/md/radio-button-checked.d.ts", + "lib/md/radio-button-unchecked.d.ts", + "lib/md/radio.d.ts", + "lib/md/rate-review.d.ts", + "lib/md/receipt.d.ts", + "lib/md/recent-actors.d.ts", + "lib/md/record-voice-over.d.ts", + "lib/md/redeem.d.ts", + "lib/md/redo.d.ts", + "lib/md/refresh.d.ts", + "lib/md/remove-circle-outline.d.ts", + "lib/md/remove-circle.d.ts", + "lib/md/remove-from-queue.d.ts", + "lib/md/remove-red-eye.d.ts", + "lib/md/remove-shopping-cart.d.ts", + "lib/md/remove.d.ts", + "lib/md/reorder.d.ts", + "lib/md/repeat-one.d.ts", + "lib/md/repeat.d.ts", + "lib/md/replay-10.d.ts", + "lib/md/replay-30.d.ts", + "lib/md/replay-5.d.ts", + "lib/md/replay.d.ts", + "lib/md/reply-all.d.ts", + "lib/md/reply.d.ts", + "lib/md/report-problem.d.ts", + "lib/md/report.d.ts", + "lib/md/restaurant-menu.d.ts", + "lib/md/restaurant.d.ts", + "lib/md/restore-page.d.ts", + "lib/md/restore.d.ts", + "lib/md/ring-volume.d.ts", + "lib/md/room-service.d.ts", + "lib/md/room.d.ts", + "lib/md/rotate-90-degrees-ccw.d.ts", + "lib/md/rotate-left.d.ts", + "lib/md/rotate-right.d.ts", + "lib/md/rounded-corner.d.ts", + "lib/md/router.d.ts", + "lib/md/rowing.d.ts", + "lib/md/rss-feed.d.ts", + "lib/md/rv-hookup.d.ts", + "lib/md/satellite.d.ts", + "lib/md/save.d.ts", + "lib/md/scanner.d.ts", + "lib/md/schedule.d.ts", + "lib/md/school.d.ts", + "lib/md/screen-lock-landscape.d.ts", + "lib/md/screen-lock-portrait.d.ts", + "lib/md/screen-lock-rotation.d.ts", + "lib/md/screen-rotation.d.ts", + "lib/md/screen-share.d.ts", + "lib/md/sd-card.d.ts", + "lib/md/sd-storage.d.ts", + "lib/md/search.d.ts", + "lib/md/security.d.ts", + "lib/md/select-all.d.ts", + "lib/md/send.d.ts", + "lib/md/sentiment-dissatisfied.d.ts", + "lib/md/sentiment-neutral.d.ts", + "lib/md/sentiment-satisfied.d.ts", + "lib/md/sentiment-very-dissatisfied.d.ts", + "lib/md/sentiment-very-satisfied.d.ts", + "lib/md/settings-applications.d.ts", + "lib/md/settings-backup-restore.d.ts", + "lib/md/settings-bluetooth.d.ts", + "lib/md/settings-brightness.d.ts", + "lib/md/settings-cell.d.ts", + "lib/md/settings-ethernet.d.ts", + "lib/md/settings-input-antenna.d.ts", + "lib/md/settings-input-component.d.ts", + "lib/md/settings-input-composite.d.ts", + "lib/md/settings-input-hdmi.d.ts", + "lib/md/settings-input-svideo.d.ts", + "lib/md/settings-overscan.d.ts", + "lib/md/settings-phone.d.ts", + "lib/md/settings-power.d.ts", + "lib/md/settings-remote.d.ts", + "lib/md/settings-system-daydream.d.ts", + "lib/md/settings-voice.d.ts", + "lib/md/settings.d.ts", + "lib/md/share.d.ts", + "lib/md/shop-two.d.ts", + "lib/md/shop.d.ts", + "lib/md/shopping-basket.d.ts", + "lib/md/shopping-cart.d.ts", + "lib/md/short-text.d.ts", + "lib/md/show-chart.d.ts", + "lib/md/shuffle.d.ts", + "lib/md/signal-cellular-4-bar.d.ts", + "lib/md/signal-cellular-connected-no-internet-4-bar.d.ts", + "lib/md/signal-cellular-no-sim.d.ts", + "lib/md/signal-cellular-null.d.ts", + "lib/md/signal-cellular-off.d.ts", + "lib/md/signal-wifi-4-bar-lock.d.ts", + "lib/md/signal-wifi-4-bar.d.ts", + "lib/md/signal-wifi-off.d.ts", + "lib/md/sim-card-alert.d.ts", + "lib/md/sim-card.d.ts", + "lib/md/skip-next.d.ts", + "lib/md/skip-previous.d.ts", + "lib/md/slideshow.d.ts", + "lib/md/slow-motion-video.d.ts", + "lib/md/smartphone.d.ts", + "lib/md/smoke-free.d.ts", + "lib/md/smoking-rooms.d.ts", + "lib/md/sms-failed.d.ts", + "lib/md/sms.d.ts", + "lib/md/snooze.d.ts", + "lib/md/sort-by-alpha.d.ts", + "lib/md/sort.d.ts", + "lib/md/spa.d.ts", + "lib/md/space-bar.d.ts", + "lib/md/speaker-group.d.ts", + "lib/md/speaker-notes-off.d.ts", + "lib/md/speaker-notes.d.ts", + "lib/md/speaker-phone.d.ts", + "lib/md/speaker.d.ts", + "lib/md/spellcheck.d.ts", + "lib/md/star-border.d.ts", + "lib/md/star-half.d.ts", + "lib/md/star-outline.d.ts", + "lib/md/star.d.ts", + "lib/md/stars.d.ts", + "lib/md/stay-current-landscape.d.ts", + "lib/md/stay-current-portrait.d.ts", + "lib/md/stay-primary-landscape.d.ts", + "lib/md/stay-primary-portrait.d.ts", + "lib/md/stop-screen-share.d.ts", + "lib/md/stop.d.ts", + "lib/md/storage.d.ts", + "lib/md/store-mall-directory.d.ts", + "lib/md/store.d.ts", + "lib/md/straighten.d.ts", + "lib/md/streetview.d.ts", + "lib/md/strikethrough-s.d.ts", + "lib/md/style.d.ts", + "lib/md/subdirectory-arrow-left.d.ts", + "lib/md/subdirectory-arrow-right.d.ts", + "lib/md/subject.d.ts", + "lib/md/subscriptions.d.ts", + "lib/md/subtitles.d.ts", + "lib/md/subway.d.ts", + "lib/md/supervisor-account.d.ts", + "lib/md/surround-sound.d.ts", + "lib/md/swap-calls.d.ts", + "lib/md/swap-horiz.d.ts", + "lib/md/swap-vert.d.ts", + "lib/md/swap-vertical-circle.d.ts", + "lib/md/switch-camera.d.ts", + "lib/md/switch-video.d.ts", + "lib/md/sync-disabled.d.ts", + "lib/md/sync-problem.d.ts", + "lib/md/sync.d.ts", + "lib/md/system-update-alt.d.ts", + "lib/md/system-update.d.ts", + "lib/md/tab-unselected.d.ts", + "lib/md/tab.d.ts", + "lib/md/tablet-android.d.ts", + "lib/md/tablet-mac.d.ts", + "lib/md/tablet.d.ts", + "lib/md/tag-faces.d.ts", + "lib/md/tap-and-play.d.ts", + "lib/md/terrain.d.ts", + "lib/md/text-fields.d.ts", + "lib/md/text-format.d.ts", + "lib/md/textsms.d.ts", + "lib/md/texture.d.ts", + "lib/md/theaters.d.ts", + "lib/md/thumb-down.d.ts", + "lib/md/thumb-up.d.ts", + "lib/md/thumbs-up-down.d.ts", + "lib/md/time-to-leave.d.ts", + "lib/md/timelapse.d.ts", + "lib/md/timeline.d.ts", + "lib/md/timer-10.d.ts", + "lib/md/timer-3.d.ts", + "lib/md/timer-off.d.ts", + "lib/md/timer.d.ts", + "lib/md/title.d.ts", + "lib/md/toc.d.ts", + "lib/md/today.d.ts", + "lib/md/toll.d.ts", + "lib/md/tonality.d.ts", + "lib/md/touch-app.d.ts", + "lib/md/toys.d.ts", + "lib/md/track-changes.d.ts", + "lib/md/traffic.d.ts", + "lib/md/train.d.ts", + "lib/md/tram.d.ts", + "lib/md/transfer-within-a-station.d.ts", + "lib/md/transform.d.ts", + "lib/md/translate.d.ts", + "lib/md/trending-down.d.ts", + "lib/md/trending-flat.d.ts", + "lib/md/trending-neutral.d.ts", + "lib/md/trending-up.d.ts", + "lib/md/tune.d.ts", + "lib/md/turned-in-not.d.ts", + "lib/md/turned-in.d.ts", + "lib/md/tv.d.ts", + "lib/md/unarchive.d.ts", + "lib/md/undo.d.ts", + "lib/md/unfold-less.d.ts", + "lib/md/unfold-more.d.ts", + "lib/md/update.d.ts", + "lib/md/usb.d.ts", + "lib/md/verified-user.d.ts", + "lib/md/vertical-align-bottom.d.ts", + "lib/md/vertical-align-center.d.ts", + "lib/md/vertical-align-top.d.ts", + "lib/md/vibration.d.ts", + "lib/md/video-call.d.ts", + "lib/md/video-collection.d.ts", + "lib/md/video-label.d.ts", + "lib/md/video-library.d.ts", + "lib/md/videocam-off.d.ts", + "lib/md/videocam.d.ts", + "lib/md/videogame-asset.d.ts", + "lib/md/view-agenda.d.ts", + "lib/md/view-array.d.ts", + "lib/md/view-carousel.d.ts", + "lib/md/view-column.d.ts", + "lib/md/view-comfortable.d.ts", + "lib/md/view-comfy.d.ts", + "lib/md/view-compact.d.ts", + "lib/md/view-day.d.ts", + "lib/md/view-headline.d.ts", + "lib/md/view-list.d.ts", + "lib/md/view-module.d.ts", + "lib/md/view-quilt.d.ts", + "lib/md/view-stream.d.ts", + "lib/md/view-week.d.ts", + "lib/md/vignette.d.ts", + "lib/md/visibility-off.d.ts", + "lib/md/visibility.d.ts", + "lib/md/voice-chat.d.ts", + "lib/md/voicemail.d.ts", + "lib/md/volume-down.d.ts", + "lib/md/volume-mute.d.ts", + "lib/md/volume-off.d.ts", + "lib/md/volume-up.d.ts", + "lib/md/vpn-key.d.ts", + "lib/md/vpn-lock.d.ts", + "lib/md/wallpaper.d.ts", + "lib/md/warning.d.ts", + "lib/md/watch-later.d.ts", + "lib/md/watch.d.ts", + "lib/md/wb-auto.d.ts", + "lib/md/wb-cloudy.d.ts", + "lib/md/wb-incandescent.d.ts", + "lib/md/wb-iridescent.d.ts", + "lib/md/wb-sunny.d.ts", + "lib/md/wc.d.ts", + "lib/md/web-asset.d.ts", + "lib/md/web.d.ts", + "lib/md/weekend.d.ts", + "lib/md/whatshot.d.ts", + "lib/md/widgets.d.ts", + "lib/md/wifi-lock.d.ts", + "lib/md/wifi-tethering.d.ts", + "lib/md/wifi.d.ts", + "lib/md/work.d.ts", + "lib/md/wrap-text.d.ts", + "lib/md/youtube-searched-for.d.ts", + "lib/md/zoom-in.d.ts", + "lib/md/zoom-out-map.d.ts", + "lib/md/zoom-out.d.ts", + "lib/ti/adjust-brightness.d.ts", + "lib/ti/adjust-contrast.d.ts", + "lib/ti/anchor-outline.d.ts", + "lib/ti/anchor.d.ts", + "lib/ti/archive.d.ts", + "lib/ti/arrow-back-outline.d.ts", + "lib/ti/arrow-back.d.ts", + "lib/ti/arrow-down-outline.d.ts", + "lib/ti/arrow-down-thick.d.ts", + "lib/ti/arrow-down.d.ts", + "lib/ti/arrow-forward-outline.d.ts", + "lib/ti/arrow-forward.d.ts", + "lib/ti/arrow-left-outline.d.ts", + "lib/ti/arrow-left-thick.d.ts", + "lib/ti/arrow-left.d.ts", + "lib/ti/arrow-loop-outline.d.ts", + "lib/ti/arrow-loop.d.ts", + "lib/ti/arrow-maximise-outline.d.ts", + "lib/ti/arrow-maximise.d.ts", + "lib/ti/arrow-minimise-outline.d.ts", + "lib/ti/arrow-minimise.d.ts", + "lib/ti/arrow-move-outline.d.ts", + "lib/ti/arrow-move.d.ts", + "lib/ti/arrow-repeat-outline.d.ts", + "lib/ti/arrow-repeat.d.ts", + "lib/ti/arrow-right-outline.d.ts", + "lib/ti/arrow-right-thick.d.ts", + "lib/ti/arrow-right.d.ts", + "lib/ti/arrow-shuffle.d.ts", + "lib/ti/arrow-sorted-down.d.ts", + "lib/ti/arrow-sorted-up.d.ts", + "lib/ti/arrow-sync-outline.d.ts", + "lib/ti/arrow-sync.d.ts", + "lib/ti/arrow-unsorted.d.ts", + "lib/ti/arrow-up-outline.d.ts", + "lib/ti/arrow-up-thick.d.ts", + "lib/ti/arrow-up.d.ts", + "lib/ti/at.d.ts", + "lib/ti/attachment-outline.d.ts", + "lib/ti/attachment.d.ts", + "lib/ti/backspace-outline.d.ts", + "lib/ti/backspace.d.ts", + "lib/ti/battery-charge.d.ts", + "lib/ti/battery-full.d.ts", + "lib/ti/battery-high.d.ts", + "lib/ti/battery-low.d.ts", + "lib/ti/battery-mid.d.ts", + "lib/ti/beaker.d.ts", + "lib/ti/beer.d.ts", + "lib/ti/bell.d.ts", + "lib/ti/book.d.ts", + "lib/ti/bookmark.d.ts", + "lib/ti/briefcase.d.ts", + "lib/ti/brush.d.ts", + "lib/ti/business-card.d.ts", + "lib/ti/calculator.d.ts", + "lib/ti/calendar-outline.d.ts", + "lib/ti/calendar.d.ts", + "lib/ti/calender-outline.d.ts", + "lib/ti/calender.d.ts", + "lib/ti/camera-outline.d.ts", + "lib/ti/camera.d.ts", + "lib/ti/cancel-outline.d.ts", + "lib/ti/cancel.d.ts", + "lib/ti/chart-area-outline.d.ts", + "lib/ti/chart-area.d.ts", + "lib/ti/chart-bar-outline.d.ts", + "lib/ti/chart-bar.d.ts", + "lib/ti/chart-line-outline.d.ts", + "lib/ti/chart-line.d.ts", + "lib/ti/chart-pie-outline.d.ts", + "lib/ti/chart-pie.d.ts", + "lib/ti/chevron-left-outline.d.ts", + "lib/ti/chevron-left.d.ts", + "lib/ti/chevron-right-outline.d.ts", + "lib/ti/chevron-right.d.ts", + "lib/ti/clipboard.d.ts", + "lib/ti/cloud-storage-outline.d.ts", + "lib/ti/cloud-storage.d.ts", + "lib/ti/code-outline.d.ts", + "lib/ti/code.d.ts", + "lib/ti/coffee.d.ts", + "lib/ti/cog-outline.d.ts", + "lib/ti/cog.d.ts", + "lib/ti/compass.d.ts", + "lib/ti/contacts.d.ts", + "lib/ti/credit-card.d.ts", + "lib/ti/cross.d.ts", + "lib/ti/css3.d.ts", + "lib/ti/database.d.ts", + "lib/ti/delete-outline.d.ts", + "lib/ti/delete.d.ts", + "lib/ti/device-desktop.d.ts", + "lib/ti/device-laptop.d.ts", + "lib/ti/device-phone.d.ts", + "lib/ti/device-tablet.d.ts", + "lib/ti/directions.d.ts", + "lib/ti/divide-outline.d.ts", + "lib/ti/divide.d.ts", + "lib/ti/document-add.d.ts", + "lib/ti/document-delete.d.ts", + "lib/ti/document-text.d.ts", + "lib/ti/document.d.ts", + "lib/ti/download-outline.d.ts", + "lib/ti/download.d.ts", + "lib/ti/dropbox.d.ts", + "lib/ti/edit.d.ts", + "lib/ti/eject-outline.d.ts", + "lib/ti/eject.d.ts", + "lib/ti/equals-outline.d.ts", + "lib/ti/equals.d.ts", + "lib/ti/export-outline.d.ts", + "lib/ti/export.d.ts", + "lib/ti/eye-outline.d.ts", + "lib/ti/eye.d.ts", + "lib/ti/feather.d.ts", + "lib/ti/film.d.ts", + "lib/ti/filter.d.ts", + "lib/ti/flag-outline.d.ts", + "lib/ti/flag.d.ts", + "lib/ti/flash-outline.d.ts", + "lib/ti/flash.d.ts", + "lib/ti/flow-children.d.ts", + "lib/ti/flow-merge.d.ts", + "lib/ti/flow-parallel.d.ts", + "lib/ti/flow-switch.d.ts", + "lib/ti/folder-add.d.ts", + "lib/ti/folder-delete.d.ts", + "lib/ti/folder-open.d.ts", + "lib/ti/folder.d.ts", + "lib/ti/gift.d.ts", + "lib/ti/globe-outline.d.ts", + "lib/ti/globe.d.ts", + "lib/ti/group-outline.d.ts", + "lib/ti/group.d.ts", + "lib/ti/headphones.d.ts", + "lib/ti/heart-full-outline.d.ts", + "lib/ti/heart-half-outline.d.ts", + "lib/ti/heart-outline.d.ts", + "lib/ti/heart.d.ts", + "lib/ti/home-outline.d.ts", + "lib/ti/home.d.ts", + "lib/ti/html5.d.ts", + "lib/ti/image-outline.d.ts", + "lib/ti/image.d.ts", + "lib/ti/infinity-outline.d.ts", + "lib/ti/infinity.d.ts", + "lib/ti/info-large-outline.d.ts", + "lib/ti/info-large.d.ts", + "lib/ti/info-outline.d.ts", + "lib/ti/info.d.ts", + "lib/ti/input-checked-outline.d.ts", + "lib/ti/input-checked.d.ts", + "lib/ti/key-outline.d.ts", + "lib/ti/key.d.ts", + "lib/ti/keyboard.d.ts", + "lib/ti/leaf.d.ts", + "lib/ti/lightbulb.d.ts", + "lib/ti/link-outline.d.ts", + "lib/ti/link.d.ts", + "lib/ti/location-arrow-outline.d.ts", + "lib/ti/location-arrow.d.ts", + "lib/ti/location-outline.d.ts", + "lib/ti/location.d.ts", + "lib/ti/lock-closed-outline.d.ts", + "lib/ti/lock-closed.d.ts", + "lib/ti/lock-open-outline.d.ts", + "lib/ti/lock-open.d.ts", + "lib/ti/mail.d.ts", + "lib/ti/map.d.ts", + "lib/ti/media-eject-outline.d.ts", + "lib/ti/media-eject.d.ts", + "lib/ti/media-fast-forward-outline.d.ts", + "lib/ti/media-fast-forward.d.ts", + "lib/ti/media-pause-outline.d.ts", + "lib/ti/media-pause.d.ts", + "lib/ti/media-play-outline.d.ts", + "lib/ti/media-play-reverse-outline.d.ts", + "lib/ti/media-play-reverse.d.ts", + "lib/ti/media-play.d.ts", + "lib/ti/media-record-outline.d.ts", + "lib/ti/media-record.d.ts", + "lib/ti/media-rewind-outline.d.ts", + "lib/ti/media-rewind.d.ts", + "lib/ti/media-stop-outline.d.ts", + "lib/ti/media-stop.d.ts", + "lib/ti/message-typing.d.ts", + "lib/ti/message.d.ts", + "lib/ti/messages.d.ts", + "lib/ti/microphone-outline.d.ts", + "lib/ti/microphone.d.ts", + "lib/ti/minus-outline.d.ts", + "lib/ti/minus.d.ts", + "lib/ti/mortar-board.d.ts", + "lib/ti/news.d.ts", + "lib/ti/notes-outline.d.ts", + "lib/ti/notes.d.ts", + "lib/ti/pen.d.ts", + "lib/ti/pencil.d.ts", + "lib/ti/phone-outline.d.ts", + "lib/ti/phone.d.ts", + "lib/ti/pi-outline.d.ts", + "lib/ti/pi.d.ts", + "lib/ti/pin-outline.d.ts", + "lib/ti/pin.d.ts", + "lib/ti/pipette.d.ts", + "lib/ti/plane-outline.d.ts", + "lib/ti/plane.d.ts", + "lib/ti/plug.d.ts", + "lib/ti/plus-outline.d.ts", + "lib/ti/plus.d.ts", + "lib/ti/point-of-interest-outline.d.ts", + "lib/ti/point-of-interest.d.ts", + "lib/ti/power-outline.d.ts", + "lib/ti/power.d.ts", + "lib/ti/printer.d.ts", + "lib/ti/puzzle-outline.d.ts", + "lib/ti/puzzle.d.ts", + "lib/ti/radar-outline.d.ts", + "lib/ti/radar.d.ts", + "lib/ti/refresh-outline.d.ts", + "lib/ti/refresh.d.ts", + "lib/ti/rss-outline.d.ts", + "lib/ti/rss.d.ts", + "lib/ti/scissors-outline.d.ts", + "lib/ti/scissors.d.ts", + "lib/ti/shopping-bag.d.ts", + "lib/ti/shopping-cart.d.ts", + "lib/ti/social-at-circular.d.ts", + "lib/ti/social-dribbble-circular.d.ts", + "lib/ti/social-dribbble.d.ts", + "lib/ti/social-facebook-circular.d.ts", + "lib/ti/social-facebook.d.ts", + "lib/ti/social-flickr-circular.d.ts", + "lib/ti/social-flickr.d.ts", + "lib/ti/social-github-circular.d.ts", + "lib/ti/social-github.d.ts", + "lib/ti/social-google-plus-circular.d.ts", + "lib/ti/social-google-plus.d.ts", + "lib/ti/social-instagram-circular.d.ts", + "lib/ti/social-instagram.d.ts", + "lib/ti/social-last-fm-circular.d.ts", + "lib/ti/social-last-fm.d.ts", + "lib/ti/social-linkedin-circular.d.ts", + "lib/ti/social-linkedin.d.ts", + "lib/ti/social-pinterest-circular.d.ts", + "lib/ti/social-pinterest.d.ts", + "lib/ti/social-skype-outline.d.ts", + "lib/ti/social-skype.d.ts", + "lib/ti/social-tumbler-circular.d.ts", + "lib/ti/social-tumbler.d.ts", + "lib/ti/social-twitter-circular.d.ts", + "lib/ti/social-twitter.d.ts", + "lib/ti/social-vimeo-circular.d.ts", + "lib/ti/social-vimeo.d.ts", + "lib/ti/social-youtube-circular.d.ts", + "lib/ti/social-youtube.d.ts", + "lib/ti/sort-alphabetically-outline.d.ts", + "lib/ti/sort-alphabetically.d.ts", + "lib/ti/sort-numerically-outline.d.ts", + "lib/ti/sort-numerically.d.ts", + "lib/ti/spanner-outline.d.ts", + "lib/ti/spanner.d.ts", + "lib/ti/spiral.d.ts", + "lib/ti/star-full-outline.d.ts", + "lib/ti/star-half-outline.d.ts", + "lib/ti/star-half.d.ts", + "lib/ti/star-outline.d.ts", + "lib/ti/star.d.ts", + "lib/ti/starburst-outline.d.ts", + "lib/ti/starburst.d.ts", + "lib/ti/stopwatch.d.ts", + "lib/ti/support.d.ts", + "lib/ti/tabs-outline.d.ts", + "lib/ti/tag.d.ts", + "lib/ti/tags.d.ts", + "lib/ti/th-large-outline.d.ts", + "lib/ti/th-large.d.ts", + "lib/ti/th-list-outline.d.ts", + "lib/ti/th-list.d.ts", + "lib/ti/th-menu-outline.d.ts", + "lib/ti/th-menu.d.ts", + "lib/ti/th-small-outline.d.ts", + "lib/ti/th-small.d.ts", + "lib/ti/thermometer.d.ts", + "lib/ti/thumbs-down.d.ts", + "lib/ti/thumbs-ok.d.ts", + "lib/ti/thumbs-up.d.ts", + "lib/ti/tick-outline.d.ts", + "lib/ti/tick.d.ts", + "lib/ti/ticket.d.ts", + "lib/ti/time.d.ts", + "lib/ti/times-outline.d.ts", + "lib/ti/times.d.ts", + "lib/ti/trash.d.ts", + "lib/ti/tree.d.ts", + "lib/ti/upload-outline.d.ts", + "lib/ti/upload.d.ts", + "lib/ti/user-add-outline.d.ts", + "lib/ti/user-add.d.ts", + "lib/ti/user-delete-outline.d.ts", + "lib/ti/user-delete.d.ts", + "lib/ti/user-outline.d.ts", + "lib/ti/user.d.ts", + "lib/ti/vendor-android.d.ts", + "lib/ti/vendor-apple.d.ts", + "lib/ti/vendor-microsoft.d.ts", + "lib/ti/video-outline.d.ts", + "lib/ti/video.d.ts", + "lib/ti/volume-down.d.ts", + "lib/ti/volume-mute.d.ts", + "lib/ti/volume-up.d.ts", + "lib/ti/volume.d.ts", + "lib/ti/warning-outline.d.ts", + "lib/ti/warning.d.ts", + "lib/ti/watch.d.ts", + "lib/ti/waves-outline.d.ts", + "lib/ti/waves.d.ts", + "lib/ti/weather-cloudy.d.ts", + "lib/ti/weather-downpour.d.ts", + "lib/ti/weather-night.d.ts", + "lib/ti/weather-partly-sunny.d.ts", + "lib/ti/weather-shower.d.ts", + "lib/ti/weather-snow.d.ts", + "lib/ti/weather-stormy.d.ts", + "lib/ti/weather-sunny.d.ts", + "lib/ti/weather-windy-cloudy.d.ts", + "lib/ti/weather-windy.d.ts", + "lib/ti/wi-fi-outline.d.ts", + "lib/ti/wi-fi.d.ts", + "lib/ti/wine.d.ts", + "lib/ti/world-outline.d.ts", + "lib/ti/world.d.ts", + "lib/ti/zoom-in-outline.d.ts", + "lib/ti/zoom-in.d.ts", + "lib/ti/zoom-out-outline.d.ts", + "lib/ti/zoom-out.d.ts", + "lib/ti/zoom-outline.d.ts", + "lib/ti/zoom.d.ts" + ] +} \ No newline at end of file diff --git a/types/react-imageloader/tsconfig.json b/types/react-imageloader/tsconfig.json index 89127c41f8..10c47efd69 100644 --- a/types/react-imageloader/tsconfig.json +++ b/types/react-imageloader/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-infinite-scroller/tsconfig.json b/types/react-infinite-scroller/tsconfig.json index e4dc7b4342..9094853395 100644 --- a/types/react-infinite-scroller/tsconfig.json +++ b/types/react-infinite-scroller/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -21,4 +22,4 @@ "index.d.ts", "react-infinite-scroller-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-infinite/tsconfig.json b/types/react-infinite/tsconfig.json index 3246777fd4..c3ec7e4192 100644 --- a/types/react-infinite/tsconfig.json +++ b/types/react-infinite/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-input-calendar/tsconfig.json b/types/react-input-calendar/tsconfig.json index b828ec3f78..216b0bcfe9 100644 --- a/types/react-input-calendar/tsconfig.json +++ b/types/react-input-calendar/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-input-mask/tsconfig.json b/types/react-input-mask/tsconfig.json index 4eac1b496f..be2a7cc230 100644 --- a/types/react-input-mask/tsconfig.json +++ b/types/react-input-mask/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-input-mask-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-intl-redux/tsconfig.json b/types/react-intl-redux/tsconfig.json index 2c8de4aeed..06eacd254a 100644 --- a/types/react-intl-redux/tsconfig.json +++ b/types/react-intl-redux/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-intl/tsconfig.json b/types/react-intl/tsconfig.json index efc84e3fd3..4d542aee88 100644 --- a/types/react-intl/tsconfig.json +++ b/types/react-intl/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -21,4 +22,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/react-intl/v1/tsconfig.json b/types/react-intl/v1/tsconfig.json index 6fa7e221bd..1f63dae6a5 100644 --- a/types/react-intl/v1/tsconfig.json +++ b/types/react-intl/v1/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/react-is-deprecated/tsconfig.json b/types/react-is-deprecated/tsconfig.json index 005eec453a..ce2c7d740a 100644 --- a/types/react-is-deprecated/tsconfig.json +++ b/types/react-is-deprecated/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-joyride/tsconfig.json b/types/react-joyride/tsconfig.json index 7cd2e1b540..b468366153 100644 --- a/types/react-joyride/tsconfig.json +++ b/types/react-joyride/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-json-pretty/tsconfig.json b/types/react-json-pretty/tsconfig.json index f2456531cf..17b15160c6 100644 --- a/types/react-json-pretty/tsconfig.json +++ b/types/react-json-pretty/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -22,4 +23,4 @@ "index.d.ts", "react-json-pretty-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-json-tree/tsconfig.json b/types/react-json-tree/tsconfig.json index e72b805bf3..134e10e324 100644 --- a/types/react-json-tree/tsconfig.json +++ b/types/react-json-tree/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-json/tsconfig.json b/types/react-json/tsconfig.json index ff5be5812c..b9ee513a9d 100644 --- a/types/react-json/tsconfig.json +++ b/types/react-json/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-json-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-jsonschema-form/tsconfig.json b/types/react-jsonschema-form/tsconfig.json index 44fcb510ce..a4f7127522 100644 --- a/types/react-jsonschema-form/tsconfig.json +++ b/types/react-jsonschema-form/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-lazyload/tsconfig.json b/types/react-lazyload/tsconfig.json index d77160e99c..48e56bab80 100644 --- a/types/react-lazyload/tsconfig.json +++ b/types/react-lazyload/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-lazyload-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-leaflet/tsconfig.json b/types/react-leaflet/tsconfig.json index 8be1b3c2fe..75ce9f7598 100644 --- a/types/react-leaflet/tsconfig.json +++ b/types/react-leaflet/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -21,4 +22,4 @@ "index.d.ts", "react-leaflet-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-list/tsconfig.json b/types/react-list/tsconfig.json index 42ddc64a91..040c8c5fc9 100644 --- a/types/react-list/tsconfig.json +++ b/types/react-list/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-loadable/tsconfig.json b/types/react-loadable/tsconfig.json index 081e8b2577..9d46ae0de9 100644 --- a/types/react-loadable/tsconfig.json +++ b/types/react-loadable/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -22,4 +23,4 @@ "test/imports/no-default.tsx", "test/imports/with-default.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-loader/tsconfig.json b/types/react-loader/tsconfig.json index 8148a9873f..dbe08293df 100644 --- a/types/react-loader/tsconfig.json +++ b/types/react-loader/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "react-loader-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-maskedinput/tsconfig.json b/types/react-maskedinput/tsconfig.json index 8dcdaf409e..a5544e917d 100644 --- a/types/react-maskedinput/tsconfig.json +++ b/types/react-maskedinput/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-mce/tsconfig.json b/types/react-mce/tsconfig.json index 01c35ace6a..7db60d34d1 100644 --- a/types/react-mce/tsconfig.json +++ b/types/react-mce/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -21,4 +22,4 @@ "index.d.ts", "react-mce-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-mdl/tsconfig.json b/types/react-mdl/tsconfig.json index 005decb768..45017dc8c9 100644 --- a/types/react-mdl/tsconfig.json +++ b/types/react-mdl/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-measure/tsconfig.json b/types/react-measure/tsconfig.json index 30d4fbe30f..63aa208f05 100644 --- a/types/react-measure/tsconfig.json +++ b/types/react-measure/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "experimentalDecorators": true, diff --git a/types/react-mixin/tsconfig.json b/types/react-mixin/tsconfig.json index b8b9f60cdb..fd65a09710 100644 --- a/types/react-mixin/tsconfig.json +++ b/types/react-mixin/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "experimentalDecorators": true, diff --git a/types/react-modal/tsconfig.json b/types/react-modal/tsconfig.json index dee457f8cb..8c1dd5988b 100644 --- a/types/react-modal/tsconfig.json +++ b/types/react-modal/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-monaco-editor/tsconfig.json b/types/react-monaco-editor/tsconfig.json index 0b3178ab81..8d55416feb 100644 --- a/types/react-monaco-editor/tsconfig.json +++ b/types/react-monaco-editor/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-monaco-editor-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-motion-slider/tsconfig.json b/types/react-motion-slider/tsconfig.json index db55a702e8..aaf0d16bdb 100644 --- a/types/react-motion-slider/tsconfig.json +++ b/types/react-motion-slider/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-motion/tsconfig.json b/types/react-motion/tsconfig.json index eea3e82af0..9adebe9fd2 100644 --- a/types/react-motion/tsconfig.json +++ b/types/react-motion/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-native-collapsible/tsconfig.json b/types/react-native-collapsible/tsconfig.json index 1e5b287fb1..c9cb0c9278 100644 --- a/types/react-native-collapsible/tsconfig.json +++ b/types/react-native-collapsible/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "Accordion.d.ts", "react-native-collapsible-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-native-communications/tsconfig.json b/types/react-native-communications/tsconfig.json index 86667ea7d7..f66d5a80ce 100644 --- a/types/react-native-communications/tsconfig.json +++ b/types/react-native-communications/tsconfig.json @@ -1,24 +1,25 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "jsx": "react" - }, - "files": [ - "index.d.ts", - "react-native-communications-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "jsx": "react" + }, + "files": [ + "index.d.ts", + "react-native-communications-tests.ts" + ] +} \ No newline at end of file diff --git a/types/react-native-datepicker/tsconfig.json b/types/react-native-datepicker/tsconfig.json index ffbef033e1..b1dd56e20d 100644 --- a/types/react-native-datepicker/tsconfig.json +++ b/types/react-native-datepicker/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-native-datepicker-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-native-doc-viewer/tsconfig.json b/types/react-native-doc-viewer/tsconfig.json index 42412cf514..86d578084a 100644 --- a/types/react-native-doc-viewer/tsconfig.json +++ b/types/react-native-doc-viewer/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-native-doc-viewer-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-native-drawer-layout/tsconfig.json b/types/react-native-drawer-layout/tsconfig.json index e70b67aac5..a0d6721b68 100644 --- a/types/react-native-drawer-layout/tsconfig.json +++ b/types/react-native-drawer-layout/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-native-drawer-layout-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-native-drawer/tsconfig.json b/types/react-native-drawer/tsconfig.json index ae7203c8c2..1617e4715b 100644 --- a/types/react-native-drawer/tsconfig.json +++ b/types/react-native-drawer/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-native-drawer-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-native-elements/tsconfig.json b/types/react-native-elements/tsconfig.json index 52ea75b5cb..fd476e679d 100644 --- a/types/react-native-elements/tsconfig.json +++ b/types/react-native-elements/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-native-elements-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-native-fbsdk/tsconfig.json b/types/react-native-fbsdk/tsconfig.json index d6dccb2d02..0eae296778 100644 --- a/types/react-native-fbsdk/tsconfig.json +++ b/types/react-native-fbsdk/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-native-fbsdk-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-native-fetch-blob/tsconfig.json b/types/react-native-fetch-blob/tsconfig.json index 18538dfe6c..c2cf564bb7 100644 --- a/types/react-native-fetch-blob/tsconfig.json +++ b/types/react-native-fetch-blob/tsconfig.json @@ -1,22 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true -}, - "files": [ - "index.d.ts", - "react-native-fetch-blob-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "react-native-fetch-blob-tests.ts" + ] +} \ No newline at end of file diff --git a/types/react-native-fs/tsconfig.json b/types/react-native-fs/tsconfig.json index 614543661c..f491bb6a7a 100644 --- a/types/react-native-fs/tsconfig.json +++ b/types/react-native-fs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "noUnusedParameters": true, "noUnusedLocals": true, "baseUrl": "../", diff --git a/types/react-native-goby/tsconfig.json b/types/react-native-goby/tsconfig.json index fa2d947691..0c0b3ab77c 100644 --- a/types/react-native-goby/tsconfig.json +++ b/types/react-native-goby/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-native-google-analytics-bridge/tsconfig.json b/types/react-native-google-analytics-bridge/tsconfig.json index b44acba529..91e51ff21b 100644 --- a/types/react-native-google-analytics-bridge/tsconfig.json +++ b/types/react-native-google-analytics-bridge/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "react-native-google-analytics-bridge-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "react-native-google-analytics-bridge-tests.ts" + ] +} \ No newline at end of file diff --git a/types/react-native-keep-awake/tsconfig.json b/types/react-native-keep-awake/tsconfig.json index db8bd3d589..6a53a9effa 100644 --- a/types/react-native-keep-awake/tsconfig.json +++ b/types/react-native-keep-awake/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "jsx": "react" - }, - "files": [ - "index.d.ts", - "react-native-keep-awake-tests.tsx" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "jsx": "react" + }, + "files": [ + "index.d.ts", + "react-native-keep-awake-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/react-native-material-design-searchbar/tsconfig.json b/types/react-native-material-design-searchbar/tsconfig.json index d45789898e..41e6dc8bab 100644 --- a/types/react-native-material-design-searchbar/tsconfig.json +++ b/types/react-native-material-design-searchbar/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-native-material-design-searchbar-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-native-material-kit/tsconfig.json b/types/react-native-material-kit/tsconfig.json index 51291b7c57..f18bd089b8 100644 --- a/types/react-native-material-kit/tsconfig.json +++ b/types/react-native-material-kit/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-native-material-kit-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-native-material-ui/tsconfig.json b/types/react-native-material-ui/tsconfig.json index 9d206f47b7..7c215a4a8b 100644 --- a/types/react-native-material-ui/tsconfig.json +++ b/types/react-native-material-ui/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-native-material-ui-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-native-modal/tsconfig.json b/types/react-native-modal/tsconfig.json index 2f6ecdce05..d496497592 100644 --- a/types/react-native-modal/tsconfig.json +++ b/types/react-native-modal/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "react-native-modal-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-native-modalbox/tsconfig.json b/types/react-native-modalbox/tsconfig.json index b6de5592ff..1c41f2e346 100644 --- a/types/react-native-modalbox/tsconfig.json +++ b/types/react-native-modalbox/tsconfig.json @@ -1,24 +1,25 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "jsx": "react" - }, - "files": [ - "index.d.ts", - "react-native-modalbox-tests.tsx" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "jsx": "react" + }, + "files": [ + "index.d.ts", + "react-native-modalbox-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/react-native-orientation/tsconfig.json b/types/react-native-orientation/tsconfig.json index 58b87f9214..bd692e954d 100644 --- a/types/react-native-orientation/tsconfig.json +++ b/types/react-native-orientation/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-native-safari-view/tsconfig.json b/types/react-native-safari-view/tsconfig.json index 2c9c60b6c8..4f04c6e8b6 100644 --- a/types/react-native-safari-view/tsconfig.json +++ b/types/react-native-safari-view/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "react-native-safari-view-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/react-native-scrollable-tab-view/tsconfig.json b/types/react-native-scrollable-tab-view/tsconfig.json index 7953defd5f..6b88cdde66 100644 --- a/types/react-native-scrollable-tab-view/tsconfig.json +++ b/types/react-native-scrollable-tab-view/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-native-scrollable-tab-view-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-native-sensor-manager/tsconfig.json b/types/react-native-sensor-manager/tsconfig.json index 15d71dd648..97c238c779 100644 --- a/types/react-native-sensor-manager/tsconfig.json +++ b/types/react-native-sensor-manager/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-native-snap-carousel/tsconfig.json b/types/react-native-snap-carousel/tsconfig.json index 0764309c6f..4cba7b2f97 100644 --- a/types/react-native-snap-carousel/tsconfig.json +++ b/types/react-native-snap-carousel/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-native-snap-carousel-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-native-sortable-list/tsconfig.json b/types/react-native-sortable-list/tsconfig.json index a7ef962b89..52474bc36f 100644 --- a/types/react-native-sortable-list/tsconfig.json +++ b/types/react-native-sortable-list/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-native-svg-uri/tsconfig.json b/types/react-native-svg-uri/tsconfig.json index 1dd27f80ff..dad8bbe54a 100644 --- a/types/react-native-svg-uri/tsconfig.json +++ b/types/react-native-svg-uri/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "jsx": "react-native" - }, - "files": [ - "index.d.ts", - "react-native-svg-uri-tests.tsx" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "jsx": "react-native" + }, + "files": [ + "index.d.ts", + "react-native-svg-uri-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/react-native-swiper/tsconfig.json b/types/react-native-swiper/tsconfig.json index ddd3a131f4..68d1350773 100644 --- a/types/react-native-swiper/tsconfig.json +++ b/types/react-native-swiper/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-native-swiper-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-native-tab-navigator/tsconfig.json b/types/react-native-tab-navigator/tsconfig.json index 1506f1471c..b8e913c472 100644 --- a/types/react-native-tab-navigator/tsconfig.json +++ b/types/react-native-tab-navigator/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-native-tab-navigator-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-native-touch-id/tsconfig.json b/types/react-native-touch-id/tsconfig.json index 0a1cd74c96..f927782930 100644 --- a/types/react-native-touch-id/tsconfig.json +++ b/types/react-native-touch-id/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "react-native-touch-id-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/react-native-vector-icons/tsconfig.json b/types/react-native-vector-icons/tsconfig.json index ca9d5de336..f66f39ed95 100644 --- a/types/react-native-vector-icons/tsconfig.json +++ b/types/react-native-vector-icons/tsconfig.json @@ -1,36 +1,37 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "dom", - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "jsx": "react" - }, - "files": [ - "index.d.ts", - "Icon.d.ts", - "Entypo.d.ts", - "EvilIcons.d.ts", - "Feather.d.ts", - "FontAwesome.d.ts", - "Foundation.d.ts", - "Ionicons.d.ts", - "MaterialCommunityIcons.d.ts", - "MaterialIcons.d.ts", - "Octicons.d.ts", - "SimpleLineIcons.d.ts", - "Zocial.d.ts", - "react-native-vector-icons-tests.tsx" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "dom", + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "jsx": "react" + }, + "files": [ + "index.d.ts", + "Icon.d.ts", + "Entypo.d.ts", + "EvilIcons.d.ts", + "Feather.d.ts", + "FontAwesome.d.ts", + "Foundation.d.ts", + "Ionicons.d.ts", + "MaterialCommunityIcons.d.ts", + "MaterialIcons.d.ts", + "Octicons.d.ts", + "SimpleLineIcons.d.ts", + "Zocial.d.ts", + "react-native-vector-icons-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/react-native-video/tsconfig.json b/types/react-native-video/tsconfig.json index ccd97d4d7d..a2e2a80edd 100644 --- a/types/react-native-video/tsconfig.json +++ b/types/react-native-video/tsconfig.json @@ -1,24 +1,25 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "jsx": "react" - }, - "files": [ - "index.d.ts", - "react-native-video-tests.tsx" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "jsx": "react" + }, + "files": [ + "index.d.ts", + "react-native-video-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/react-native/tsconfig.json b/types/react-native/tsconfig.json index 68be3a9834..0d93ac324a 100644 --- a/types/react-native/tsconfig.json +++ b/types/react-native/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -23,4 +24,4 @@ "test/animated.tsx", "test/init-example.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-navigation/tsconfig.json b/types/react-navigation/tsconfig.json index bbf721c233..ac0fcf1f1f 100644 --- a/types/react-navigation/tsconfig.json +++ b/types/react-navigation/tsconfig.json @@ -1,24 +1,25 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "jsx": "react", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "react-navigation-tests.tsx" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": false, + "baseUrl": "../", + "jsx": "react", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "react-navigation-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/react-notification-system-redux/tsconfig.json b/types/react-notification-system-redux/tsconfig.json index b7ef269613..e401225f10 100644 --- a/types/react-notification-system-redux/tsconfig.json +++ b/types/react-notification-system-redux/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-notification-system/tsconfig.json b/types/react-notification-system/tsconfig.json index 56697697d5..033a759d60 100644 --- a/types/react-notification-system/tsconfig.json +++ b/types/react-notification-system/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-onclickoutside/tsconfig.json b/types/react-onclickoutside/tsconfig.json index 07b04b8fee..701a5cf764 100644 --- a/types/react-onclickoutside/tsconfig.json +++ b/types/react-onclickoutside/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-onclickoutside/v5/tsconfig.json b/types/react-onclickoutside/v5/tsconfig.json index af309baba2..9de01e61ab 100644 --- a/types/react-onclickoutside/v5/tsconfig.json +++ b/types/react-onclickoutside/v5/tsconfig.json @@ -8,12 +8,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "react-onclickoutside": ["react-onclickoutside/v5"] + "react-onclickoutside": [ + "react-onclickoutside/v5" + ] }, "types": [], "noEmit": true, @@ -23,4 +26,4 @@ "files": [ "index.d.ts" ] -} +} \ No newline at end of file diff --git a/types/react-onsenui/tsconfig.json b/types/react-onsenui/tsconfig.json index acd4fca231..7835344791 100644 --- a/types/react-onsenui/tsconfig.json +++ b/types/react-onsenui/tsconfig.json @@ -1,24 +1,25 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "jsx": "react" - }, - "files": [ - "index.d.ts", - "react-onsenui-tests.tsx" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "jsx": "react" + }, + "files": [ + "index.d.ts", + "react-onsenui-tests.tsx" + ] } \ No newline at end of file diff --git a/types/react-overlays/tsconfig.json b/types/react-overlays/tsconfig.json index bb2d5734e3..78f037e583 100644 --- a/types/react-overlays/tsconfig.json +++ b/types/react-overlays/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -22,4 +23,4 @@ "test/react-overlays-tests.tsx", "test/react-overlays-tests-individual.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-paginate/tsconfig.json b/types/react-paginate/tsconfig.json index 3d4b5809a6..5653cee275 100644 --- a/types/react-paginate/tsconfig.json +++ b/types/react-paginate/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "forceConsistentCasingInFileNames": true, "jsx": "react" } -} +} \ No newline at end of file diff --git a/types/react-pointable/tsconfig.json b/types/react-pointable/tsconfig.json index 866ea95bb4..f45312f83e 100644 --- a/types/react-pointable/tsconfig.json +++ b/types/react-pointable/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "jsx": "react", "baseUrl": "../", "typeRoots": [ @@ -21,4 +22,4 @@ "index.d.ts", "react-pointable-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-portal/tsconfig.json b/types/react-portal/tsconfig.json index 9b28b70ac3..84bec30f58 100644 --- a/types/react-portal/tsconfig.json +++ b/types/react-portal/tsconfig.json @@ -5,6 +5,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -22,4 +23,4 @@ "index.d.ts", "react-portal-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-props-decorators/tsconfig.json b/types/react-props-decorators/tsconfig.json index 9f4b3ee1d3..92243c709c 100644 --- a/types/react-props-decorators/tsconfig.json +++ b/types/react-props-decorators/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "experimentalDecorators": true, "typeRoots": [ diff --git a/types/react-recaptcha/tsconfig.json b/types/react-recaptcha/tsconfig.json index 97995bcee5..0206cb26c5 100644 --- a/types/react-recaptcha/tsconfig.json +++ b/types/react-recaptcha/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-redux-i18n/tsconfig.json b/types/react-redux-i18n/tsconfig.json index 7f0274cac8..8afdf46c9c 100644 --- a/types/react-redux-i18n/tsconfig.json +++ b/types/react-redux-i18n/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-redux-toastr/tsconfig.json b/types/react-redux-toastr/tsconfig.json index b4d5bbf8be..8760f15ade 100644 --- a/types/react-redux-toastr/tsconfig.json +++ b/types/react-redux-toastr/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "experimentalDecorators": true, diff --git a/types/react-redux/tsconfig.json b/types/react-redux/tsconfig.json index a4ca102dda..981f3c9b0f 100644 --- a/types/react-redux/tsconfig.json +++ b/types/react-redux/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "experimentalDecorators": true, @@ -22,4 +23,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/react-relay/tsconfig.json b/types/react-relay/tsconfig.json index 90680fbafc..8a1407df3a 100644 --- a/types/react-relay/tsconfig.json +++ b/types/react-relay/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-responsive/tsconfig.json b/types/react-responsive/tsconfig.json index 1495e72438..61a49072b7 100644 --- a/types/react-responsive/tsconfig.json +++ b/types/react-responsive/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-router-bootstrap/tsconfig.json b/types/react-router-bootstrap/tsconfig.json index 1760fc3f1a..870c37c742 100644 --- a/types/react-router-bootstrap/tsconfig.json +++ b/types/react-router-bootstrap/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "jsx": "preserve", "baseUrl": "../", "typeRoots": [ @@ -23,4 +24,4 @@ "lib/LinkContainer.d.ts", "react-router-bootstrap-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-router-config/tsconfig.json b/types/react-router-config/tsconfig.json index 34cb44c46f..49ab50e7b0 100644 --- a/types/react-router-config/tsconfig.json +++ b/types/react-router-config/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-router-dom/tsconfig.json b/types/react-router-dom/tsconfig.json index 744d583267..4c308400b7 100644 --- a/types/react-router-dom/tsconfig.json +++ b/types/react-router-dom/tsconfig.json @@ -1,19 +1,25 @@ { - "compilerOptions": { - "baseUrl": "../", - "typeRoots": ["../"], - "types": [], - "module": "commonjs", - "lib": ["es6", "dom"], - "jsx": "react", - "strictNullChecks": true, - "noImplicitAny": true, - "noImplicitThis": true, - "forceConsistentCasingInFileNames": true, - "noEmit": true - }, - "files": [ - "index.d.ts", - "react-router-dom-tests.tsx" - ] -} + "compilerOptions": { + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "jsx": "react", + "strictNullChecks": true, + "strictFunctionTypes": true, + "noImplicitAny": true, + "noImplicitThis": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true + }, + "files": [ + "index.d.ts", + "react-router-dom-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/react-router-native/tsconfig.json b/types/react-router-native/tsconfig.json index 6764b72818..7b5d8f9fe3 100644 --- a/types/react-router-native/tsconfig.json +++ b/types/react-router-native/tsconfig.json @@ -1,19 +1,25 @@ { - "compilerOptions": { - "baseUrl": "../", - "typeRoots": ["../"], - "types": [], - "module": "commonjs", - "lib": ["es6", "dom"], - "jsx": "react", - "strictNullChecks": true, - "noImplicitAny": true, - "noImplicitThis": true, - "forceConsistentCasingInFileNames": true, - "noEmit": true - }, - "files": [ - "index.d.ts", - "react-router-native-tests.tsx" - ] -} + "compilerOptions": { + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "jsx": "react", + "strictNullChecks": true, + "strictFunctionTypes": true, + "noImplicitAny": true, + "noImplicitThis": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true + }, + "files": [ + "index.d.ts", + "react-router-native-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/react-router-redux/tsconfig.json b/types/react-router-redux/tsconfig.json index bd33709ea0..58bf304abc 100644 --- a/types/react-router-redux/tsconfig.json +++ b/types/react-router-redux/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "jsx": "react", "baseUrl": "../", "typeRoots": [ @@ -21,4 +22,4 @@ "index.d.ts", "react-router-redux-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-router-redux/v3/tsconfig.json b/types/react-router-redux/v3/tsconfig.json index 17a9407b8a..e9e48c7e58 100644 --- a/types/react-router-redux/v3/tsconfig.json +++ b/types/react-router-redux/v3/tsconfig.json @@ -8,14 +8,21 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "history": ["history/v3"], - "history/*": ["history/v3/*"], - "react-router-redux": ["react-router-redux/v3"] + "history": [ + "history/v3" + ], + "history/*": [ + "history/v3/*" + ], + "react-router-redux": [ + "react-router-redux/v3" + ] }, "types": [], "noEmit": true, @@ -25,4 +32,4 @@ "index.d.ts", "react-router-redux-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/react-router-redux/v4/tsconfig.json b/types/react-router-redux/v4/tsconfig.json index 83cf349881..427325c7fc 100644 --- a/types/react-router-redux/v4/tsconfig.json +++ b/types/react-router-redux/v4/tsconfig.json @@ -8,14 +8,21 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ - "../../" + "../../" ], "paths": { - "history": ["history/v3"], - "history/*": ["history/v3/*"], - "react-router-redux": ["react-router-redux/v4"] + "history": [ + "history/v3" + ], + "history/*": [ + "history/v3/*" + ], + "react-router-redux": [ + "react-router-redux/v4" + ] }, "types": [], "noEmit": true, @@ -25,4 +32,4 @@ "index.d.ts", "react-router-redux-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/react-router/tsconfig.json b/types/react-router/tsconfig.json index f609cbf859..a9342966b5 100644 --- a/types/react-router/tsconfig.json +++ b/types/react-router/tsconfig.json @@ -1,41 +1,45 @@ { - "compilerOptions": { - "baseUrl": "../", - "typeRoots": ["../"], - "types": [], - "module": "commonjs", - "lib": ["es6", "dom"], - "jsx": "react", - "strictNullChecks": true, - "noImplicitAny": true, - "noImplicitThis": true, - "forceConsistentCasingInFileNames": true, - "noEmit": true, - "experimentalDecorators": true - }, - "files": [ - "index.d.ts", - - "test/examples-from-react-router-website/Ambiguous.tsx", - "test/examples-from-react-router-website/Animation.tsx", - "test/examples-from-react-router-website/Auth.tsx", - "test/examples-from-react-router-website/Basic.tsx", - "test/examples-from-react-router-website/CustomLink.tsx", - "test/examples-from-react-router-website/ModalGallery.tsx", - "test/examples-from-react-router-website/NoMatch.tsx", - "test/examples-from-react-router-website/Params.tsx", - "test/examples-from-react-router-website/PreventingTransitions.tsx", - "test/examples-from-react-router-website/Recursive.tsx", - "test/examples-from-react-router-website/RouteConfig.tsx", - "test/examples-from-react-router-website/Sidebar.tsx", - "test/examples-from-react-router-website/StaticRouter.tsx", - - "test/Children.tsx", - "test/NavigateWithContext.tsx", - "test/MemoryRouter.tsx", - "test/Switch.tsx", - "test/InheritingRoute.tsx", - "test/WithRouter.tsx", - "test/WithRouterDecorator.tsx" - ] -} + "compilerOptions": { + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "jsx": "react", + "strictNullChecks": true, + "strictFunctionTypes": false, + "noImplicitAny": true, + "noImplicitThis": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "experimentalDecorators": true + }, + "files": [ + "index.d.ts", + "test/examples-from-react-router-website/Ambiguous.tsx", + "test/examples-from-react-router-website/Animation.tsx", + "test/examples-from-react-router-website/Auth.tsx", + "test/examples-from-react-router-website/Basic.tsx", + "test/examples-from-react-router-website/CustomLink.tsx", + "test/examples-from-react-router-website/ModalGallery.tsx", + "test/examples-from-react-router-website/NoMatch.tsx", + "test/examples-from-react-router-website/Params.tsx", + "test/examples-from-react-router-website/PreventingTransitions.tsx", + "test/examples-from-react-router-website/Recursive.tsx", + "test/examples-from-react-router-website/RouteConfig.tsx", + "test/examples-from-react-router-website/Sidebar.tsx", + "test/examples-from-react-router-website/StaticRouter.tsx", + "test/Children.tsx", + "test/NavigateWithContext.tsx", + "test/MemoryRouter.tsx", + "test/Switch.tsx", + "test/InheritingRoute.tsx", + "test/WithRouter.tsx", + "test/WithRouterDecorator.tsx" + ] +} \ No newline at end of file diff --git a/types/react-router/v2/tsconfig.json b/types/react-router/v2/tsconfig.json index d9c384bdcf..9e007bef15 100644 --- a/types/react-router/v2/tsconfig.json +++ b/types/react-router/v2/tsconfig.json @@ -8,14 +8,21 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "history": ["history/v2"], - "react-router": ["react-router/v2"], - "react-router/*": ["react-router/v2/*"] + "history": [ + "history/v2" + ], + "react-router": [ + "react-router/v2" + ], + "react-router/*": [ + "react-router/v2/*" + ] }, "types": [], "noEmit": true, @@ -24,4 +31,4 @@ "files": [ "index.d.ts" ] -} +} \ No newline at end of file diff --git a/types/react-router/v3/tsconfig.json b/types/react-router/v3/tsconfig.json index 0f60e7a6ea..a620b2e01b 100644 --- a/types/react-router/v3/tsconfig.json +++ b/types/react-router/v3/tsconfig.json @@ -8,14 +8,25 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "jsx": "react", "baseUrl": "../../", - "typeRoots": ["../../"], + "typeRoots": [ + "../../" + ], "paths": { - "history": ["history/v3"], - "history/*": ["history/v3/*"], - "react-router": ["react-router/v3"], - "react-router/*": ["react-router/v3/*"] + "history": [ + "history/v3" + ], + "history/*": [ + "history/v3/*" + ], + "react-router": [ + "react-router/v3" + ], + "react-router/*": [ + "react-router/v3/*" + ] }, "types": [], "noEmit": true, @@ -43,4 +54,4 @@ "lib/withRouter.d.ts", "react-router-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-scroll/tsconfig.json b/types/react-scroll/tsconfig.json index a4f8e54e6c..4e8422e85d 100644 --- a/types/react-scroll/tsconfig.json +++ b/types/react-scroll/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -30,4 +31,4 @@ "modules/mixins/scroller.d.ts", "test/react-scroll-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-scrollbar/tsconfig.json b/types/react-scrollbar/tsconfig.json index 4e21a07f50..d9586168d7 100644 --- a/types/react-scrollbar/tsconfig.json +++ b/types/react-scrollbar/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-select/tsconfig.json b/types/react-select/tsconfig.json index e5be4f2e31..727747e72c 100644 --- a/types/react-select/tsconfig.json +++ b/types/react-select/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-side-effect/tsconfig.json b/types/react-side-effect/tsconfig.json index e19ac20159..f64b0cedec 100644 --- a/types/react-side-effect/tsconfig.json +++ b/types/react-side-effect/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-sidebar/tsconfig.json b/types/react-sidebar/tsconfig.json index f9e7bafa03..8481bb2fa3 100644 --- a/types/react-sidebar/tsconfig.json +++ b/types/react-sidebar/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-slick/tsconfig.json b/types/react-slick/tsconfig.json index 72d192fbf8..7d8d0c0dbc 100644 --- a/types/react-slick/tsconfig.json +++ b/types/react-slick/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -21,4 +22,4 @@ "index.d.ts", "react-slick-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-smooth-scrollbar/tsconfig.json b/types/react-smooth-scrollbar/tsconfig.json index df9b7c5fa0..7069af35d0 100644 --- a/types/react-smooth-scrollbar/tsconfig.json +++ b/types/react-smooth-scrollbar/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-sortable-hoc/tsconfig.json b/types/react-sortable-hoc/tsconfig.json index d41b62bf34..89aef58db4 100644 --- a/types/react-sortable-hoc/tsconfig.json +++ b/types/react-sortable-hoc/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-sortable-tree/tsconfig.json b/types/react-sortable-tree/tsconfig.json index df74da5295..abf3027b1e 100644 --- a/types/react-sortable-tree/tsconfig.json +++ b/types/react-sortable-tree/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-sortable-tree-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-spinkit/tsconfig.json b/types/react-spinkit/tsconfig.json index 6fcb500bb5..a78e0a8350 100644 --- a/types/react-spinkit/tsconfig.json +++ b/types/react-spinkit/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-spinkit/v1/tsconfig.json b/types/react-spinkit/v1/tsconfig.json index e04f534c2e..9e75ac7eee 100644 --- a/types/react-spinkit/v1/tsconfig.json +++ b/types/react-spinkit/v1/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "jsx": "react", "typeRoots": [ @@ -15,8 +16,12 @@ ], "types": [], "paths": { - "react-spinkit": ["react-spinkit/v1"], - "react-spinkit/*": ["react-spinkit/v1/*"] + "react-spinkit": [ + "react-spinkit/v1" + ], + "react-spinkit/*": [ + "react-spinkit/v1/*" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/react-split-pane/tsconfig.json b/types/react-split-pane/tsconfig.json index 86e7eafcec..4c7d16ba33 100644 --- a/types/react-split-pane/tsconfig.json +++ b/types/react-split-pane/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-sticky/tsconfig.json b/types/react-sticky/tsconfig.json index e2ea2938d1..42ca8483c7 100644 --- a/types/react-sticky/tsconfig.json +++ b/types/react-sticky/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "jsx": "react", "baseUrl": "../", "typeRoots": [ @@ -21,5 +22,4 @@ "index.d.ts", "react-sticky-tests.tsx" ] -} - +} \ No newline at end of file diff --git a/types/react-stripe-elements/tsconfig.json b/types/react-stripe-elements/tsconfig.json index 9aac1000b3..7b41414c95 100644 --- a/types/react-stripe-elements/tsconfig.json +++ b/types/react-stripe-elements/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "jsx": "react", "baseUrl": "../", "typeRoots": [ @@ -20,4 +21,4 @@ "index.d.ts", "react-stripe-elements-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-svg-pan-zoom/tsconfig.json b/types/react-svg-pan-zoom/tsconfig.json index c1b72dd378..9768940812 100644 --- a/types/react-svg-pan-zoom/tsconfig.json +++ b/types/react-svg-pan-zoom/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-svg-pan-zoom-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-swf/tsconfig.json b/types/react-swf/tsconfig.json index 495fff7922..088289e3b4 100644 --- a/types/react-swf/tsconfig.json +++ b/types/react-swf/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-swipe/tsconfig.json b/types/react-swipe/tsconfig.json index 304ae7e451..592223407e 100644 --- a/types/react-swipe/tsconfig.json +++ b/types/react-swipe/tsconfig.json @@ -9,12 +9,12 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], - "types": [ - ], + "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, @@ -22,4 +22,4 @@ "index.d.ts", "react-swipe-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-swipeable-views/tsconfig.json b/types/react-swipeable-views/tsconfig.json index 8c20b95d3c..3d4711fc53 100644 --- a/types/react-swipeable-views/tsconfig.json +++ b/types/react-swipeable-views/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-swipeable/tsconfig.json b/types/react-swipeable/tsconfig.json index 6a45fa01e1..0d676ade9b 100644 --- a/types/react-swipeable/tsconfig.json +++ b/types/react-swipeable/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-syntax-highlighter/tsconfig.json b/types/react-syntax-highlighter/tsconfig.json index 4d3e034d16..b83dacca56 100644 --- a/types/react-syntax-highlighter/tsconfig.json +++ b/types/react-syntax-highlighter/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-table/tsconfig.json b/types/react-table/tsconfig.json index d137af14a2..de6f3f8e69 100644 --- a/types/react-table/tsconfig.json +++ b/types/react-table/tsconfig.json @@ -1,24 +1,25 @@ { "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "jsx": "react", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "jsx": "react", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", "react-table-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-tabs/tsconfig.json b/types/react-tabs/tsconfig.json index dec5f7691c..5c1f1aa63c 100644 --- a/types/react-tabs/tsconfig.json +++ b/types/react-tabs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "react-tabs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/react-tag-input/tsconfig.json b/types/react-tag-input/tsconfig.json index 78318da79d..9a30e8a334 100644 --- a/types/react-tag-input/tsconfig.json +++ b/types/react-tag-input/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-tagcloud/tsconfig.json b/types/react-tagcloud/tsconfig.json index 938a3e1028..0d496a97a1 100644 --- a/types/react-tagcloud/tsconfig.json +++ b/types/react-tagcloud/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-tap-event-plugin/tsconfig.json b/types/react-tap-event-plugin/tsconfig.json index 9a2507463b..38f0ad79b8 100644 --- a/types/react-tap-event-plugin/tsconfig.json +++ b/types/react-tap-event-plugin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-test-renderer/tsconfig.json b/types/react-test-renderer/tsconfig.json index 568caa6698..0c2d149f79 100644 --- a/types/react-test-renderer/tsconfig.json +++ b/types/react-test-renderer/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "shallow/index.d.ts", "react-test-renderer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/react-tether/tsconfig.json b/types/react-tether/tsconfig.json index f2138b25c9..3190ba8cf1 100644 --- a/types/react-tether/tsconfig.json +++ b/types/react-tether/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "jsx": "react", "baseUrl": "../", "typeRoots": [ @@ -21,5 +22,4 @@ "index.d.ts", "react-tether-tests.tsx" ] -} - +} \ No newline at end of file diff --git a/types/react-textarea-autosize/tsconfig.json b/types/react-textarea-autosize/tsconfig.json index 3f37c05560..0946f43d10 100644 --- a/types/react-textarea-autosize/tsconfig.json +++ b/types/react-textarea-autosize/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-toggle/tsconfig.json b/types/react-toggle/tsconfig.json index ad0214db82..e744478741 100644 --- a/types/react-toggle/tsconfig.json +++ b/types/react-toggle/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-toggle/v2/tsconfig.json b/types/react-toggle/v2/tsconfig.json index 5bc4d23bf0..996290fe7b 100644 --- a/types/react-toggle/v2/tsconfig.json +++ b/types/react-toggle/v2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" @@ -26,4 +27,4 @@ "index.d.ts", "react-toggle-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-tooltip/tsconfig.json b/types/react-tooltip/tsconfig.json index d52b7c28ab..17a730e3b5 100644 --- a/types/react-tooltip/tsconfig.json +++ b/types/react-tooltip/tsconfig.json @@ -10,6 +10,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -22,4 +23,4 @@ "index.d.ts", "react-tooltip-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-touch/tsconfig.json b/types/react-touch/tsconfig.json index 931b273805..807d0d7a2c 100644 --- a/types/react-touch/tsconfig.json +++ b/types/react-touch/tsconfig.json @@ -1,24 +1,25 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "jsx": "react", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "react-touch-tests.tsx" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "jsx": "react", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "react-touch-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/react-tracking/tsconfig.json b/types/react-tracking/tsconfig.json index d1533121d0..4200651a42 100644 --- a/types/react-tracking/tsconfig.json +++ b/types/react-tracking/tsconfig.json @@ -2,10 +2,13 @@ "compilerOptions": { "module": "commonjs", "target": "es6", - "lib": ["es6"], + "lib": [ + "es6" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +24,4 @@ "test/react-tracking-with-types-tests.tsx", "test/react-tracking-without-types-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-transition-group/tsconfig.json b/types/react-transition-group/tsconfig.json index ee34f669fc..7b17b06580 100644 --- a/types/react-transition-group/tsconfig.json +++ b/types/react-transition-group/tsconfig.json @@ -3,11 +3,13 @@ "target": "es5", "module": "commonjs", "lib": [ - "es6", "dom" + "es6", + "dom" ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "jsx": "react", "baseUrl": "../", "typeRoots": [ @@ -24,4 +26,4 @@ "TransitionGroup.d.ts", "react-transition-group-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-transition-group/v1/tsconfig.json b/types/react-transition-group/v1/tsconfig.json index b7b4bfd758..22f6d9caeb 100644 --- a/types/react-transition-group/v1/tsconfig.json +++ b/types/react-transition-group/v1/tsconfig.json @@ -7,12 +7,19 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "jsx": "react", "baseUrl": "../../", - "typeRoots": ["../../"], + "typeRoots": [ + "../../" + ], "paths": { - "react-transition-group": ["react-transition-group/v1"], - "react-transition-group/*": ["react-transition-group/v1/*"] + "react-transition-group": [ + "react-transition-group/v1" + ], + "react-transition-group/*": [ + "react-transition-group/v1/*" + ] }, "types": [], "noEmit": true, @@ -24,4 +31,4 @@ "TransitionGroup.d.ts", "react-transition-group-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-treeview/tsconfig.json b/types/react-treeview/tsconfig.json index 62a6f93cbe..f1bf7481d5 100644 --- a/types/react-treeview/tsconfig.json +++ b/types/react-treeview/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -21,4 +22,4 @@ "index.d.ts", "react-treeview-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-truncate/tsconfig.json b/types/react-truncate/tsconfig.json index 51227d4e80..b36c957da6 100644 --- a/types/react-truncate/tsconfig.json +++ b/types/react-truncate/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "react-truncate-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-user-tour/tsconfig.json b/types/react-user-tour/tsconfig.json index 694e401c2c..032fc4c393 100644 --- a/types/react-user-tour/tsconfig.json +++ b/types/react-user-tour/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/react-virtual-keyboard/tsconfig.json b/types/react-virtual-keyboard/tsconfig.json index bd14b36324..b9d7188150 100644 --- a/types/react-virtual-keyboard/tsconfig.json +++ b/types/react-virtual-keyboard/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "jsx": "react", "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/react-virtualized-select/tsconfig.json b/types/react-virtualized-select/tsconfig.json index 4d528426c0..677bdcf43d 100644 --- a/types/react-virtualized-select/tsconfig.json +++ b/types/react-virtualized-select/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "react-virtualized-select-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/react-virtualized/tsconfig.json b/types/react-virtualized/tsconfig.json index 7e2936975f..4457f73e3d 100644 --- a/types/react-virtualized/tsconfig.json +++ b/types/react-virtualized/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "jsx": "react", "baseUrl": "../", "typeRoots": [ diff --git a/types/react-weui/tsconfig.json b/types/react-weui/tsconfig.json index 14cc063ab2..824352a6af 100644 --- a/types/react-weui/tsconfig.json +++ b/types/react-weui/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "react-weui-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/react-widgets/tsconfig.json b/types/react-widgets/tsconfig.json index 96da2ce11e..cb7126a5e5 100644 --- a/types/react-widgets/tsconfig.json +++ b/types/react-widgets/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react-youtube/tsconfig.json b/types/react-youtube/tsconfig.json index bfa6d2396a..e6ddd061cc 100644 --- a/types/react-youtube/tsconfig.json +++ b/types/react-youtube/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/react/tsconfig.json b/types/react/tsconfig.json index d2c4600811..46866c10b1 100644 --- a/types/react/tsconfig.json +++ b/types/react/tsconfig.json @@ -14,6 +14,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -23,4 +24,4 @@ "forceConsistentCasingInFileNames": true, "jsx": "preserve" } -} +} \ No newline at end of file diff --git a/types/react/v15/tsconfig.json b/types/react/v15/tsconfig.json index f6e13d14c2..f9c13ee9f2 100644 --- a/types/react/v15/tsconfig.json +++ b/types/react/v15/tsconfig.json @@ -15,10 +15,11 @@ "react": [ "react/v15" ] - }, + }, "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/reactable/tsconfig.json b/types/reactable/tsconfig.json index c3300f0e32..cf703a49d8 100644 --- a/types/reactable/tsconfig.json +++ b/types/reactable/tsconfig.json @@ -3,11 +3,12 @@ "module": "commonjs", "lib": [ "es6", - "dom" + "dom" ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "reactable-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/reactcss/tsconfig.json b/types/reactcss/tsconfig.json index 55d37b9317..770887668d 100644 --- a/types/reactcss/tsconfig.json +++ b/types/reactcss/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/reactstrap/tsconfig.json b/types/reactstrap/tsconfig.json index 593d60e0ec..eab2583792 100644 --- a/types/reactstrap/tsconfig.json +++ b/types/reactstrap/tsconfig.json @@ -1,24 +1,25 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "jsx": "react", - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "reactstrap-tests.tsx" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "jsx": "react", + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "reactstrap-tests.tsx" + ] } \ No newline at end of file diff --git a/types/read-chunk/tsconfig.json b/types/read-chunk/tsconfig.json index 72f374f6b9..041ee0f648 100644 --- a/types/read-chunk/tsconfig.json +++ b/types/read-chunk/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/read-package-tree/tsconfig.json b/types/read-package-tree/tsconfig.json index 901a9a4074..3e4f94e46c 100644 --- a/types/read-package-tree/tsconfig.json +++ b/types/read-package-tree/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "read-package-tree-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/read-pkg-up/tsconfig.json b/types/read-pkg-up/tsconfig.json index 58be3b23c7..a9c2341011 100644 --- a/types/read-pkg-up/tsconfig.json +++ b/types/read-pkg-up/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "read-pkg-up-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/read/tsconfig.json b/types/read/tsconfig.json index 634526583b..31e23cb479 100644 --- a/types/read/tsconfig.json +++ b/types/read/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/readdir-stream/tsconfig.json b/types/readdir-stream/tsconfig.json index 2a917b34a9..f4fcaeade4 100644 --- a/types/readdir-stream/tsconfig.json +++ b/types/readdir-stream/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/readline-sync/tsconfig.json b/types/readline-sync/tsconfig.json index 63e57a7ec0..24375b96f0 100644 --- a/types/readline-sync/tsconfig.json +++ b/types/readline-sync/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/realm/tsconfig.json b/types/realm/tsconfig.json index 583e188e67..877376802c 100644 --- a/types/realm/tsconfig.json +++ b/types/realm/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/reapop/tsconfig.json b/types/reapop/tsconfig.json index 4c80369b31..4ce459396a 100644 --- a/types/reapop/tsconfig.json +++ b/types/reapop/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "reapop-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/rebass/tsconfig.json b/types/rebass/tsconfig.json index a1d0e53f4e..080a1661b3 100644 --- a/types/rebass/tsconfig.json +++ b/types/rebass/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/recaptcha/tsconfig.json b/types/recaptcha/tsconfig.json index b75f52a9f8..3fb78fba81 100644 --- a/types/recaptcha/tsconfig.json +++ b/types/recaptcha/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/recase/tsconfig.json b/types/recase/tsconfig.json index fe94c39f52..3f0d64b1f1 100644 --- a/types/recase/tsconfig.json +++ b/types/recase/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "recase-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/recharts/tsconfig.json b/types/recharts/tsconfig.json index 1bd69f0d1e..9c1f91ee8c 100644 --- a/types/recharts/tsconfig.json +++ b/types/recharts/tsconfig.json @@ -1,24 +1,25 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "jsx": "react", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "recharts-tests.tsx" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "jsx": "react", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "recharts-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/recompose/tsconfig.json b/types/recompose/tsconfig.json index f457850be5..4c56e4b125 100644 --- a/types/recompose/tsconfig.json +++ b/types/recompose/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/reconnectingwebsocket/tsconfig.json b/types/reconnectingwebsocket/tsconfig.json index 5810760606..da8f1df1aa 100644 --- a/types/reconnectingwebsocket/tsconfig.json +++ b/types/reconnectingwebsocket/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "reconnectingwebsocket-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/recursive-readdir/tsconfig.json b/types/recursive-readdir/tsconfig.json index 3fc7f0590f..f1304716ce 100644 --- a/types/recursive-readdir/tsconfig.json +++ b/types/recursive-readdir/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "recursive-readdir-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/recursive-readdir/v1/tsconfig.json b/types/recursive-readdir/v1/tsconfig.json index 1cb22bfc3c..e87a74efb6 100644 --- a/types/recursive-readdir/v1/tsconfig.json +++ b/types/recursive-readdir/v1/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "recursive-readdir": [ "recursive-readdir/v1" ] + "recursive-readdir": [ + "recursive-readdir/v1" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "recursive-readdir-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/redis-mock/tsconfig.json b/types/redis-mock/tsconfig.json index 84f6e085c4..0805bfe42f 100644 --- a/types/redis-mock/tsconfig.json +++ b/types/redis-mock/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "redis-mock-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/redis-rate-limiter/tsconfig.json b/types/redis-rate-limiter/tsconfig.json index c3258cf3d9..67b67da4d0 100644 --- a/types/redis-rate-limiter/tsconfig.json +++ b/types/redis-rate-limiter/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/redis-scripto/tsconfig.json b/types/redis-scripto/tsconfig.json index 28581baedc..23c922eaf8 100644 --- a/types/redis-scripto/tsconfig.json +++ b/types/redis-scripto/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/redis/tsconfig.json b/types/redis/tsconfig.json index 68bf431633..e79b038103 100644 --- a/types/redis/tsconfig.json +++ b/types/redis/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/redlock/tsconfig.json b/types/redlock/tsconfig.json index dff5c324f6..4b4801f74c 100644 --- a/types/redlock/tsconfig.json +++ b/types/redlock/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "redlock-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/redlock/v2/tsconfig.json b/types/redlock/v2/tsconfig.json index 0ae54b3474..8efab0972e 100644 --- a/types/redlock/v2/tsconfig.json +++ b/types/redlock/v2/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "redlock": [ "redlock/v2" ] + "redlock": [ + "redlock/v2" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "redlock-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/reduce-reducers/tsconfig.json b/types/reduce-reducers/tsconfig.json index d7ca486716..938f4e9c10 100644 --- a/types/reduce-reducers/tsconfig.json +++ b/types/reduce-reducers/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "reduce-reducers-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/redux-action-utils/tsconfig.json b/types/redux-action-utils/tsconfig.json index f4251ee766..a4d94be1cd 100644 --- a/types/redux-action-utils/tsconfig.json +++ b/types/redux-action-utils/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/redux-action/tsconfig.json b/types/redux-action/tsconfig.json index 0acc89b041..779d9d65a8 100644 --- a/types/redux-action/tsconfig.json +++ b/types/redux-action/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "redux-action-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/redux-actions/tsconfig.json b/types/redux-actions/tsconfig.json index 56c720e972..ea4f7f1a53 100644 --- a/types/redux-actions/tsconfig.json +++ b/types/redux-actions/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/redux-auth-wrapper/tsconfig.json b/types/redux-auth-wrapper/tsconfig.json index fa3eff7c5c..22ce438a7b 100644 --- a/types/redux-auth-wrapper/tsconfig.json +++ b/types/redux-auth-wrapper/tsconfig.json @@ -8,8 +8,11 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true, @@ -25,4 +28,4 @@ "index.d.ts", "redux-auth-wrapper-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/redux-auth-wrapper/v1/tsconfig.json b/types/redux-auth-wrapper/v1/tsconfig.json index ec5711a05e..cafddbaf87 100644 --- a/types/redux-auth-wrapper/v1/tsconfig.json +++ b/types/redux-auth-wrapper/v1/tsconfig.json @@ -8,15 +8,22 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "types": [], "paths": { - "history": ["history/v3"], - "history/*": ["history/v3/*"], - "redux-auth-wrapper": ["redux-auth-wrapper/v1"] + "history": [ + "history/v3" + ], + "history/*": [ + "history/v3/*" + ], + "redux-auth-wrapper": [ + "redux-auth-wrapper/v1" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true, @@ -26,4 +33,4 @@ "index.d.ts", "redux-auth-wrapper-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/redux-batched-subscribe/tsconfig.json b/types/redux-batched-subscribe/tsconfig.json index 80aea65c77..81ec34caf6 100644 --- a/types/redux-batched-subscribe/tsconfig.json +++ b/types/redux-batched-subscribe/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "redux-batched-subscribe-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/redux-bootstrap/tsconfig.json b/types/redux-bootstrap/tsconfig.json index cca0524f9c..d9dc59cfdd 100644 --- a/types/redux-bootstrap/tsconfig.json +++ b/types/redux-bootstrap/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "redux-bootstrap-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/redux-debounced/tsconfig.json b/types/redux-debounced/tsconfig.json index 4b1878495f..88d5f414c2 100644 --- a/types/redux-debounced/tsconfig.json +++ b/types/redux-debounced/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/redux-devtools-dock-monitor/tsconfig.json b/types/redux-devtools-dock-monitor/tsconfig.json index cadbae24ba..23b61b4e99 100644 --- a/types/redux-devtools-dock-monitor/tsconfig.json +++ b/types/redux-devtools-dock-monitor/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/redux-devtools-log-monitor/tsconfig.json b/types/redux-devtools-log-monitor/tsconfig.json index 6744123285..e7d0f18465 100644 --- a/types/redux-devtools-log-monitor/tsconfig.json +++ b/types/redux-devtools-log-monitor/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/redux-devtools/tsconfig.json b/types/redux-devtools/tsconfig.json index 887dc97f89..81b47be2b4 100644 --- a/types/redux-devtools/tsconfig.json +++ b/types/redux-devtools/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/redux-doghouse/tsconfig.json b/types/redux-doghouse/tsconfig.json index 122bb36672..5eac70b6a7 100644 --- a/types/redux-doghouse/tsconfig.json +++ b/types/redux-doghouse/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "redux-doghouse-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/redux-first-router-link/tsconfig.json b/types/redux-first-router-link/tsconfig.json index ea8c862f20..ed8cc75176 100644 --- a/types/redux-first-router-link/tsconfig.json +++ b/types/redux-first-router-link/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "redux-first-router-link-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/redux-first-router/tsconfig.json b/types/redux-first-router/tsconfig.json index 5a77030d83..98d9d3cb7c 100644 --- a/types/redux-first-router/tsconfig.json +++ b/types/redux-first-router/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "redux-first-router-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/redux-form/tsconfig.json b/types/redux-form/tsconfig.json index e91a2228b8..ea57d2a38a 100644 --- a/types/redux-form/tsconfig.json +++ b/types/redux-form/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -36,4 +37,4 @@ "lib/selectors.d.ts", "lib/SubmissionError.d.ts" ] -} +} \ No newline at end of file diff --git a/types/redux-form/v4/tsconfig.json b/types/redux-form/v4/tsconfig.json index 26861a00e5..c93094c30e 100644 --- a/types/redux-form/v4/tsconfig.json +++ b/types/redux-form/v4/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/redux-form/v6/tsconfig.json b/types/redux-form/v6/tsconfig.json index 8dbb830b68..c4c9025157 100644 --- a/types/redux-form/v6/tsconfig.json +++ b/types/redux-form/v6/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "jsx": "react", "baseUrl": "../../", "typeRoots": [ @@ -16,8 +17,12 @@ ], "types": [], "paths": { - "redux-form": ["redux-form/v6"], - "redux-form/*": ["redux-form/v6/*"] + "redux-form": [ + "redux-form/v6" + ], + "redux-form/*": [ + "redux-form/v6/*" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true @@ -26,4 +31,4 @@ "index.d.ts", "redux-form-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/redux-immutable-state-invariant/tsconfig.json b/types/redux-immutable-state-invariant/tsconfig.json index 0ff12cf95e..040146ce54 100644 --- a/types/redux-immutable-state-invariant/tsconfig.json +++ b/types/redux-immutable-state-invariant/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/redux-immutable/tsconfig.json b/types/redux-immutable/tsconfig.json index d895744905..8236260774 100644 --- a/types/redux-immutable/tsconfig.json +++ b/types/redux-immutable/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/redux-infinite-scroll/tsconfig.json b/types/redux-infinite-scroll/tsconfig.json index 5f1761a49c..e2e6972d28 100644 --- a/types/redux-infinite-scroll/tsconfig.json +++ b/types/redux-infinite-scroll/tsconfig.json @@ -1,10 +1,14 @@ { "compilerOptions": { "module": "commonjs", - "lib": [ "es6", "dom" ], + "lib": [ + "es6", + "dom" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ @@ -17,6 +21,5 @@ "files": [ "index.d.ts", "redux-infinite-scroll-tests.tsx" - ] } \ No newline at end of file diff --git a/types/redux-localstorage-debounce/tsconfig.json b/types/redux-localstorage-debounce/tsconfig.json index de9e528090..bcb66cf55f 100644 --- a/types/redux-localstorage-debounce/tsconfig.json +++ b/types/redux-localstorage-debounce/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/redux-localstorage-filter/tsconfig.json b/types/redux-localstorage-filter/tsconfig.json index ff32cb9e77..e9fe93855f 100644 --- a/types/redux-localstorage-filter/tsconfig.json +++ b/types/redux-localstorage-filter/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/redux-localstorage/tsconfig.json b/types/redux-localstorage/tsconfig.json index 36c6c8274d..06f38e605b 100644 --- a/types/redux-localstorage/tsconfig.json +++ b/types/redux-localstorage/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/redux-logger/tsconfig.json b/types/redux-logger/tsconfig.json index 3aca2ed3f7..7441f646d7 100644 --- a/types/redux-logger/tsconfig.json +++ b/types/redux-logger/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/redux-mock-store/tsconfig.json b/types/redux-mock-store/tsconfig.json index c8448e51d7..4324410e6a 100644 --- a/types/redux-mock-store/tsconfig.json +++ b/types/redux-mock-store/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/redux-optimistic-ui/tsconfig.json b/types/redux-optimistic-ui/tsconfig.json index abd42681ee..65208605a4 100644 --- a/types/redux-optimistic-ui/tsconfig.json +++ b/types/redux-optimistic-ui/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/redux-pack/tsconfig.json b/types/redux-pack/tsconfig.json index cd4b958eb7..bd6f463e9f 100644 --- a/types/redux-pack/tsconfig.json +++ b/types/redux-pack/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "redux-pack-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/redux-persist-transform-encrypt/tsconfig.json b/types/redux-persist-transform-encrypt/tsconfig.json index e101982e56..b5408e3bcc 100644 --- a/types/redux-persist-transform-encrypt/tsconfig.json +++ b/types/redux-persist-transform-encrypt/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -22,4 +23,4 @@ "index.d.ts", "redux-persist-transform-encrypt-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/redux-persist-transform-filter/tsconfig.json b/types/redux-persist-transform-filter/tsconfig.json index a8f712550c..9055213c6e 100644 --- a/types/redux-persist-transform-filter/tsconfig.json +++ b/types/redux-persist-transform-filter/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "redux-persist-transform-filter-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/redux-promise-middleware/tsconfig.json b/types/redux-promise-middleware/tsconfig.json index 0d4adaee3d..dd3a20f59c 100644 --- a/types/redux-promise-middleware/tsconfig.json +++ b/types/redux-promise-middleware/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/redux-promise/tsconfig.json b/types/redux-promise/tsconfig.json index f17e52e096..497d126d7c 100644 --- a/types/redux-promise/tsconfig.json +++ b/types/redux-promise/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/redux-recycle/tsconfig.json b/types/redux-recycle/tsconfig.json index 60718a1fa3..32970840b6 100644 --- a/types/redux-recycle/tsconfig.json +++ b/types/redux-recycle/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/redux-router/tsconfig.json b/types/redux-router/tsconfig.json index 10120c4840..766e518a6d 100644 --- a/types/redux-router/tsconfig.json +++ b/types/redux-router/tsconfig.json @@ -8,10 +8,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "paths": { - "history": ["history/v2"], - "react-router": ["react-router/v2"] + "history": [ + "history/v2" + ], + "react-router": [ + "react-router/v2" + ] }, "typeRoots": [ "../" @@ -24,4 +29,4 @@ "index.d.ts", "redux-router-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/redux-storage-engine-jsurl/tsconfig.json b/types/redux-storage-engine-jsurl/tsconfig.json index 00030b545e..a2582f5934 100644 --- a/types/redux-storage-engine-jsurl/tsconfig.json +++ b/types/redux-storage-engine-jsurl/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "redux-storage-engine-jsurl-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "redux-storage-engine-jsurl-tests.ts" + ] +} \ No newline at end of file diff --git a/types/redux-storage/tsconfig.json b/types/redux-storage/tsconfig.json index 1a5c88a9bb..420cfbf70d 100644 --- a/types/redux-storage/tsconfig.json +++ b/types/redux-storage/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/redux-ui/tsconfig.json b/types/redux-ui/tsconfig.json index 3449a58d93..bcc9a33a4c 100644 --- a/types/redux-ui/tsconfig.json +++ b/types/redux-ui/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ref-array/tsconfig.json b/types/ref-array/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/ref-array/tsconfig.json +++ b/types/ref-array/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ref-struct/tsconfig.json b/types/ref-struct/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/ref-struct/tsconfig.json +++ b/types/ref-struct/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ref-union/tsconfig.json b/types/ref-union/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/ref-union/tsconfig.json +++ b/types/ref-union/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ref/tsconfig.json b/types/ref/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/ref/tsconfig.json +++ b/types/ref/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/reflect-metadata/tsconfig.json b/types/reflect-metadata/tsconfig.json index b30f6c6282..6fa34eba8e 100644 --- a/types/reflect-metadata/tsconfig.json +++ b/types/reflect-metadata/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/reflux/tsconfig.json b/types/reflux/tsconfig.json index dd4b46b6d9..3ef22150e4 100644 --- a/types/reflux/tsconfig.json +++ b/types/reflux/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/relateurl/tsconfig.json b/types/relateurl/tsconfig.json index cde924b0b6..83c12cc2b8 100644 --- a/types/relateurl/tsconfig.json +++ b/types/relateurl/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/relaxed-json/tsconfig.json b/types/relaxed-json/tsconfig.json index 235aa056fa..2f6aff8f29 100644 --- a/types/relaxed-json/tsconfig.json +++ b/types/relaxed-json/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "relaxed-json-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/remote-redux-devtools/tsconfig.json b/types/remote-redux-devtools/tsconfig.json index d38d13a996..fcf29900c5 100644 --- a/types/remote-redux-devtools/tsconfig.json +++ b/types/remote-redux-devtools/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "remote-redux-devtools-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/remove-markdown/tsconfig.json b/types/remove-markdown/tsconfig.json index 5b65d8fd41..499c750dbf 100644 --- a/types/remove-markdown/tsconfig.json +++ b/types/remove-markdown/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "remove-markdown-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/replace-ext/tsconfig.json b/types/replace-ext/tsconfig.json index 3863e37348..571be7234b 100644 --- a/types/replace-ext/tsconfig.json +++ b/types/replace-ext/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/request-ip/tsconfig.json b/types/request-ip/tsconfig.json index 79c2d23ce6..c7f452cb05 100644 --- a/types/request-ip/tsconfig.json +++ b/types/request-ip/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/request-promise-native/tsconfig.json b/types/request-promise-native/tsconfig.json index ef805e5515..f4369116db 100644 --- a/types/request-promise-native/tsconfig.json +++ b/types/request-promise-native/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/request-promise/tsconfig.json b/types/request-promise/tsconfig.json index d1a446f125..fc7e5e29e7 100644 --- a/types/request-promise/tsconfig.json +++ b/types/request-promise/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/request/tsconfig.json b/types/request/tsconfig.json index 284e49ce77..4f51c5bc65 100644 --- a/types/request/tsconfig.json +++ b/types/request/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/requestretry/tsconfig.json b/types/requestretry/tsconfig.json index aa47fddbed..9bc3b6fce9 100644 --- a/types/requestretry/tsconfig.json +++ b/types/requestretry/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "requestretry-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/require-directory/tsconfig.json b/types/require-directory/tsconfig.json index 95719c2b0c..ce9a3901a7 100644 --- a/types/require-directory/tsconfig.json +++ b/types/require-directory/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "require-directory-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/require-from-string/tsconfig.json b/types/require-from-string/tsconfig.json index cb876e2322..b95716556a 100644 --- a/types/require-from-string/tsconfig.json +++ b/types/require-from-string/tsconfig.json @@ -1,15 +1,23 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es6"], + "lib": [ + "es6" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, - "files": ["index.d.ts", "require-from-string-tests.ts"] -} + "files": [ + "index.d.ts", + "require-from-string-tests.ts" + ] +} \ No newline at end of file diff --git a/types/requirejs-domready/tsconfig.json b/types/requirejs-domready/tsconfig.json index e3dc1ae28b..b73018a5f5 100644 --- a/types/requirejs-domready/tsconfig.json +++ b/types/requirejs-domready/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/requirejs/tsconfig.json b/types/requirejs/tsconfig.json index dc39908c79..fdbc1258c3 100644 --- a/types/requirejs/tsconfig.json +++ b/types/requirejs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/resemblejs/tsconfig.json b/types/resemblejs/tsconfig.json index 3066fdb276..6150ee7e8a 100644 --- a/types/resemblejs/tsconfig.json +++ b/types/resemblejs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/resolve-from/tsconfig.json b/types/resolve-from/tsconfig.json index 566411d37b..b1d826c64c 100644 --- a/types/resolve-from/tsconfig.json +++ b/types/resolve-from/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/resolve/tsconfig.json b/types/resolve/tsconfig.json index c2256b46eb..6623771719 100644 --- a/types/resolve/tsconfig.json +++ b/types/resolve/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/response-time/tsconfig.json b/types/response-time/tsconfig.json index 7bd3a13a25..ddbe6803cc 100644 --- a/types/response-time/tsconfig.json +++ b/types/response-time/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rest/tsconfig.json b/types/rest/tsconfig.json index 656d3f1de0..b200960527 100644 --- a/types/rest/tsconfig.json +++ b/types/rest/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/restangular/tsconfig.json b/types/restangular/tsconfig.json index df878fb04c..18f92d2baa 100644 --- a/types/restangular/tsconfig.json +++ b/types/restangular/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/restful.js/tsconfig.json b/types/restful.js/tsconfig.json index 2a1f15e359..f98da1a8a2 100644 --- a/types/restful.js/tsconfig.json +++ b/types/restful.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/restify-cors-middleware/tsconfig.json b/types/restify-cors-middleware/tsconfig.json index ba47700d0a..3d13513211 100644 --- a/types/restify-cors-middleware/tsconfig.json +++ b/types/restify-cors-middleware/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "restify-cors-middleware-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "restify-cors-middleware-tests.ts" + ] } \ No newline at end of file diff --git a/types/restify-errors/tsconfig.json b/types/restify-errors/tsconfig.json index 11cc40f24f..6d070b59f0 100644 --- a/types/restify-errors/tsconfig.json +++ b/types/restify-errors/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "restify-errors-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/restify-plugins/tsconfig.json b/types/restify-plugins/tsconfig.json index c6b226b64b..4974138ac0 100644 --- a/types/restify-plugins/tsconfig.json +++ b/types/restify-plugins/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/restify/tsconfig.json b/types/restify/tsconfig.json index 22c95b0fd2..8611e47590 100644 --- a/types/restify/tsconfig.json +++ b/types/restify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "restify-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/restify/v4/tsconfig.json b/types/restify/v4/tsconfig.json index dae2203c7e..8b0d3d4f3e 100644 --- a/types/restify/v4/tsconfig.json +++ b/types/restify/v4/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "restify": [ "restify/v4" ] + "restify": [ + "restify/v4" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "restify-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/restler/tsconfig.json b/types/restler/tsconfig.json index 907305699c..543b0a642f 100644 --- a/types/restler/tsconfig.json +++ b/types/restler/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/restling/tsconfig.json b/types/restling/tsconfig.json index d36e06acab..a508594ae4 100644 --- a/types/restling/tsconfig.json +++ b/types/restling/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "restling-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/resumablejs/tsconfig.json b/types/resumablejs/tsconfig.json index a3d0c254f2..1f4d1bb532 100644 --- a/types/resumablejs/tsconfig.json +++ b/types/resumablejs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rethinkdb/tsconfig.json b/types/rethinkdb/tsconfig.json index cd81477b9f..8573222bd2 100644 --- a/types/rethinkdb/tsconfig.json +++ b/types/rethinkdb/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "rethinkdb-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/retry/tsconfig.json b/types/retry/tsconfig.json index 2e8020ea20..6e2c5d42d2 100644 --- a/types/retry/tsconfig.json +++ b/types/retry/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es5" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "retry-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es5" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "retry-tests.ts" + ] +} \ No newline at end of file diff --git a/types/rev-hash/tsconfig.json b/types/rev-hash/tsconfig.json index 5cb85dd768..1c473c7a2c 100644 --- a/types/rev-hash/tsconfig.json +++ b/types/rev-hash/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "rev-hash-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/revalidate/tsconfig.json b/types/revalidate/tsconfig.json index 3c031968d3..60d404aab4 100644 --- a/types/revalidate/tsconfig.json +++ b/types/revalidate/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "revalidate-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/revalidator/tsconfig.json b/types/revalidator/tsconfig.json index 448d00d24e..13116d109b 100644 --- a/types/revalidator/tsconfig.json +++ b/types/revalidator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/reveal/tsconfig.json b/types/reveal/tsconfig.json index 22ce8167e0..5ba4adb5fa 100644 --- a/types/reveal/tsconfig.json +++ b/types/reveal/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rewire/tsconfig.json b/types/rewire/tsconfig.json index 5e4c5549b4..5c9bf9f935 100644 --- a/types/rewire/tsconfig.json +++ b/types/rewire/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rfc2047/tsconfig.json b/types/rfc2047/tsconfig.json index ddcd538656..ab87f15e17 100644 --- a/types/rfc2047/tsconfig.json +++ b/types/rfc2047/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "rfc2047-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/rheostat/tsconfig.json b/types/rheostat/tsconfig.json index 384dce128d..649628d0d8 100644 --- a/types/rheostat/tsconfig.json +++ b/types/rheostat/tsconfig.json @@ -1,21 +1,25 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": ["es6", "dom"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "jsx": "react", - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "rheostat-tests.tsx" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "jsx": "react", + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "rheostat-tests.tsx" + ] +} \ No newline at end of file diff --git a/types/rickshaw/tsconfig.json b/types/rickshaw/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/rickshaw/tsconfig.json +++ b/types/rickshaw/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rimraf/tsconfig.json b/types/rimraf/tsconfig.json index 12a5f5d98f..94fee2f1a2 100644 --- a/types/rimraf/tsconfig.json +++ b/types/rimraf/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/riot-api-nodejs/tsconfig.json b/types/riot-api-nodejs/tsconfig.json index d86f96b3d3..3353d42a62 100644 --- a/types/riot-api-nodejs/tsconfig.json +++ b/types/riot-api-nodejs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/riot-games-api/tsconfig.json b/types/riot-games-api/tsconfig.json index 3058dbd249..7cebc7c3eb 100644 --- a/types/riot-games-api/tsconfig.json +++ b/types/riot-games-api/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/riot/tsconfig.json b/types/riot/tsconfig.json index c1ce29d0cb..88cbc64261 100644 --- a/types/riot/tsconfig.json +++ b/types/riot/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "riot-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/riotcontrol/tsconfig.json b/types/riotcontrol/tsconfig.json index e39e995419..19ef4295e1 100644 --- a/types/riotcontrol/tsconfig.json +++ b/types/riotcontrol/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/riotjs/tsconfig.json b/types/riotjs/tsconfig.json index 1a4f9346d9..a0456ffb47 100644 --- a/types/riotjs/tsconfig.json +++ b/types/riotjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rison/tsconfig.json b/types/rison/tsconfig.json index c06f280e25..2fc235e21a 100644 --- a/types/rison/tsconfig.json +++ b/types/rison/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rivets/tsconfig.json b/types/rivets/tsconfig.json index 084584503e..89bdb805b0 100644 --- a/types/rivets/tsconfig.json +++ b/types/rivets/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rollup/tsconfig.json b/types/rollup/tsconfig.json index 7c7b4dd5c5..2fad31b1b1 100644 --- a/types/rollup/tsconfig.json +++ b/types/rollup/tsconfig.json @@ -2,12 +2,17 @@ "compilerOptions": { "module": "commonjs", "target": "es6", - "lib": ["es6"], + "lib": [ + "es6" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": ["../"], + "typeRoots": [ + "../" + ], "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true @@ -16,4 +21,4 @@ "index.d.ts", "rollup-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ronomon__crypto-async/tsconfig.json b/types/ronomon__crypto-async/tsconfig.json index 217a5f51db..4da367a2f4 100644 --- a/types/ronomon__crypto-async/tsconfig.json +++ b/types/ronomon__crypto-async/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "ronomon__crypto-async-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/rosie/tsconfig.json b/types/rosie/tsconfig.json index b467a1513b..524ab1dd60 100644 --- a/types/rosie/tsconfig.json +++ b/types/rosie/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/roslib/tsconfig.json b/types/roslib/tsconfig.json index 04af9e15a2..32280e350a 100644 --- a/types/roslib/tsconfig.json +++ b/types/roslib/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rot-js/tsconfig.json b/types/rot-js/tsconfig.json index fb42352fb7..80c17f4094 100644 --- a/types/rot-js/tsconfig.json +++ b/types/rot-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "rot-js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/route-parser/tsconfig.json b/types/route-parser/tsconfig.json index 89555e3656..a7a012d46a 100644 --- a/types/route-parser/tsconfig.json +++ b/types/route-parser/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/routie/tsconfig.json b/types/routie/tsconfig.json index 5937ebbe56..2c1585d546 100644 --- a/types/routie/tsconfig.json +++ b/types/routie/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/royalslider/tsconfig.json b/types/royalslider/tsconfig.json index f30477b966..e2c93f82fb 100644 --- a/types/royalslider/tsconfig.json +++ b/types/royalslider/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "royalslider-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/rpio/tsconfig.json b/types/rpio/tsconfig.json index 2b40991af3..19ccfb02da 100644 --- a/types/rpio/tsconfig.json +++ b/types/rpio/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rrc/tsconfig.json b/types/rrc/tsconfig.json index 12588363b6..bfec00e95d 100644 --- a/types/rrc/tsconfig.json +++ b/types/rrc/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "rrc-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/rrule/tsconfig.json b/types/rrule/tsconfig.json index 473e6dcbaf..3e64a1d17a 100644 --- a/types/rrule/tsconfig.json +++ b/types/rrule/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rsmq-worker/tsconfig.json b/types/rsmq-worker/tsconfig.json index 3b36947454..e7a4f1b201 100644 --- a/types/rsmq-worker/tsconfig.json +++ b/types/rsmq-worker/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rsmq/tsconfig.json b/types/rsmq/tsconfig.json index 40a5e2470b..b71ff6f366 100644 --- a/types/rsmq/tsconfig.json +++ b/types/rsmq/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rss/tsconfig.json b/types/rss/tsconfig.json index 00d3dca5b6..83cfd0b91e 100644 --- a/types/rss/tsconfig.json +++ b/types/rss/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rsvp/tsconfig.json b/types/rsvp/tsconfig.json index 4eb44a2f7d..09238278c1 100644 --- a/types/rsvp/tsconfig.json +++ b/types/rsvp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "rsvp-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/rsync/tsconfig.json b/types/rsync/tsconfig.json index 85110bf487..cd9b0e3df1 100644 --- a/types/rsync/tsconfig.json +++ b/types/rsync/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rtree/tsconfig.json b/types/rtree/tsconfig.json index f794055b38..48b12fc5c1 100644 --- a/types/rtree/tsconfig.json +++ b/types/rtree/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/run-sequence/tsconfig.json b/types/run-sequence/tsconfig.json index 2d7e6640db..33e3e06aff 100644 --- a/types/run-sequence/tsconfig.json +++ b/types/run-sequence/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/rvo2/tsconfig.json b/types/rvo2/tsconfig.json index bf6778173d..5c3ed8e702 100644 --- a/types/rvo2/tsconfig.json +++ b/types/rvo2/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "rvo2-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/rwlock/tsconfig.json b/types/rwlock/tsconfig.json index d5eefd893d..84253a02f8 100644 --- a/types/rwlock/tsconfig.json +++ b/types/rwlock/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rx-angular/tsconfig.json b/types/rx-angular/tsconfig.json index a2944ae540..d878b590e2 100644 --- a/types/rx-angular/tsconfig.json +++ b/types/rx-angular/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rx-core-binding/tsconfig.json b/types/rx-core-binding/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/rx-core-binding/tsconfig.json +++ b/types/rx-core-binding/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rx-core/tsconfig.json b/types/rx-core/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/rx-core/tsconfig.json +++ b/types/rx-core/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rx-dom/tsconfig.json b/types/rx-dom/tsconfig.json index 3ea51547a2..90dd5bd604 100644 --- a/types/rx-dom/tsconfig.json +++ b/types/rx-dom/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rx-jquery/tsconfig.json b/types/rx-jquery/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/rx-jquery/tsconfig.json +++ b/types/rx-jquery/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rx-lite-aggregates/tsconfig.json b/types/rx-lite-aggregates/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/rx-lite-aggregates/tsconfig.json +++ b/types/rx-lite-aggregates/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rx-lite-async/tsconfig.json b/types/rx-lite-async/tsconfig.json index 2ea6c2c382..b184ac5f4d 100644 --- a/types/rx-lite-async/tsconfig.json +++ b/types/rx-lite-async/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rx-lite-backpressure/tsconfig.json b/types/rx-lite-backpressure/tsconfig.json index a5e1bd214e..635940cdc4 100644 --- a/types/rx-lite-backpressure/tsconfig.json +++ b/types/rx-lite-backpressure/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rx-lite-coincidence/tsconfig.json b/types/rx-lite-coincidence/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/rx-lite-coincidence/tsconfig.json +++ b/types/rx-lite-coincidence/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rx-lite-experimental/tsconfig.json b/types/rx-lite-experimental/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/rx-lite-experimental/tsconfig.json +++ b/types/rx-lite-experimental/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rx-lite-joinpatterns/tsconfig.json b/types/rx-lite-joinpatterns/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/rx-lite-joinpatterns/tsconfig.json +++ b/types/rx-lite-joinpatterns/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rx-lite-testing/tsconfig.json b/types/rx-lite-testing/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/rx-lite-testing/tsconfig.json +++ b/types/rx-lite-testing/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rx-lite-time/tsconfig.json b/types/rx-lite-time/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/rx-lite-time/tsconfig.json +++ b/types/rx-lite-time/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rx-lite-virtualtime/tsconfig.json b/types/rx-lite-virtualtime/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/rx-lite-virtualtime/tsconfig.json +++ b/types/rx-lite-virtualtime/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rx-lite/tsconfig.json b/types/rx-lite/tsconfig.json index dcde9b5ed9..c5dc049245 100644 --- a/types/rx-lite/tsconfig.json +++ b/types/rx-lite/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rx-node/tsconfig.json b/types/rx-node/tsconfig.json index ec43f1a7c6..c759c65804 100644 --- a/types/rx-node/tsconfig.json +++ b/types/rx-node/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rx.wamp/tsconfig.json b/types/rx.wamp/tsconfig.json index aa65ec323d..17bddf8adf 100644 --- a/types/rx.wamp/tsconfig.json +++ b/types/rx.wamp/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/rx/tsconfig.json b/types/rx/tsconfig.json index 3bc13b0278..abf333c6bf 100644 --- a/types/rx/tsconfig.json +++ b/types/rx/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/s3-upload-stream/tsconfig.json b/types/s3-upload-stream/tsconfig.json index 359cf6e23c..3fbd6ea5e7 100644 --- a/types/s3-upload-stream/tsconfig.json +++ b/types/s3-upload-stream/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/s3-uploader/tsconfig.json b/types/s3-uploader/tsconfig.json index a3670e62d2..ee4f9e2545 100644 --- a/types/s3-uploader/tsconfig.json +++ b/types/s3-uploader/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/s3rver/tsconfig.json b/types/s3rver/tsconfig.json index 734123d95e..c180ab569a 100644 --- a/types/s3rver/tsconfig.json +++ b/types/s3rver/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/safari-extension-content/tsconfig.json b/types/safari-extension-content/tsconfig.json index f3d859aef3..9ce37825af 100644 --- a/types/safari-extension-content/tsconfig.json +++ b/types/safari-extension-content/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/safari-extension/tsconfig.json b/types/safari-extension/tsconfig.json index fa776ab3fb..6e52871954 100644 --- a/types/safari-extension/tsconfig.json +++ b/types/safari-extension/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/safe-json-stringify/tsconfig.json b/types/safe-json-stringify/tsconfig.json index 41137b8bfe..eae116084a 100644 --- a/types/safe-json-stringify/tsconfig.json +++ b/types/safe-json-stringify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "safe-json-stringify-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/safe-regex/tsconfig.json b/types/safe-regex/tsconfig.json index eb2e49ef69..04fa523373 100644 --- a/types/safe-regex/tsconfig.json +++ b/types/safe-regex/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sails.io.js/tsconfig.json b/types/sails.io.js/tsconfig.json index 3265cc0d4f..5a0732ab29 100644 --- a/types/sails.io.js/tsconfig.json +++ b/types/sails.io.js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/saml2-js/tsconfig.json b/types/saml2-js/tsconfig.json index 278664ca4d..6046bc78e4 100644 --- a/types/saml2-js/tsconfig.json +++ b/types/saml2-js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/saml20/tsconfig.json b/types/saml20/tsconfig.json index e1cc76eb6c..8b84de1f06 100644 --- a/types/saml20/tsconfig.json +++ b/types/saml20/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/samlp/tsconfig.json b/types/samlp/tsconfig.json index 8d750b18e1..24ead78438 100644 --- a/types/samlp/tsconfig.json +++ b/types/samlp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sammy/tsconfig.json b/types/sammy/tsconfig.json index 263c872869..caaa4f2c5a 100644 --- a/types/sammy/tsconfig.json +++ b/types/sammy/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sandboxed-module/tsconfig.json b/types/sandboxed-module/tsconfig.json index 6e26ababc5..51919f7b52 100644 --- a/types/sandboxed-module/tsconfig.json +++ b/types/sandboxed-module/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sane/tsconfig.json b/types/sane/tsconfig.json index b9c6dcfa3c..7bf9b5b5ee 100644 --- a/types/sane/tsconfig.json +++ b/types/sane/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "sane-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/sanitize-filename/tsconfig.json b/types/sanitize-filename/tsconfig.json index 09d90e9513..dd53a0c951 100644 --- a/types/sanitize-filename/tsconfig.json +++ b/types/sanitize-filename/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sanitize-html/tsconfig.json b/types/sanitize-html/tsconfig.json index a3303b550f..2b29336785 100644 --- a/types/sanitize-html/tsconfig.json +++ b/types/sanitize-html/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sanitizer/tsconfig.json b/types/sanitizer/tsconfig.json index ebcff7fd3b..52acfba3fd 100644 --- a/types/sanitizer/tsconfig.json +++ b/types/sanitizer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sap__xsenv/tsconfig.json b/types/sap__xsenv/tsconfig.json index f338a2e5d8..ae69497056 100644 --- a/types/sap__xsenv/tsconfig.json +++ b/types/sap__xsenv/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sass-graph/tsconfig.json b/types/sass-graph/tsconfig.json index 3e858101f3..bc2ee4bd6f 100644 --- a/types/sass-graph/tsconfig.json +++ b/types/sass-graph/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sat/tsconfig.json b/types/sat/tsconfig.json index 202364b603..f9b3aa2f9c 100644 --- a/types/sat/tsconfig.json +++ b/types/sat/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/satnav/tsconfig.json b/types/satnav/tsconfig.json index bc37d4d061..84a0a6a1a9 100644 --- a/types/satnav/tsconfig.json +++ b/types/satnav/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sax/tsconfig.json b/types/sax/tsconfig.json index 16ab3820c4..5c19d2b034 100644 --- a/types/sax/tsconfig.json +++ b/types/sax/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/saywhen/tsconfig.json b/types/saywhen/tsconfig.json index b2221f36e1..cbec63d715 100644 --- a/types/saywhen/tsconfig.json +++ b/types/saywhen/tsconfig.json @@ -1,24 +1,25 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "forceConsistentCasingInFileNames": true, - "noImplicitAny": true, - "noImplicitThis": true, - "noUnusedParameters": false, - "noUnusedLocals": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true - }, - "files": [ - "index.d.ts", - "saywhen-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "forceConsistentCasingInFileNames": true, + "noImplicitAny": true, + "noImplicitThis": true, + "noUnusedParameters": false, + "noUnusedLocals": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true + }, + "files": [ + "index.d.ts", + "saywhen-tests.ts" + ] } \ No newline at end of file diff --git a/types/scalike/tsconfig.json b/types/scalike/tsconfig.json index 0496ce0e29..5340905ccc 100644 --- a/types/scalike/tsconfig.json +++ b/types/scalike/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/screenfull/tsconfig.json b/types/screenfull/tsconfig.json index a914bb689f..87cb31765a 100644 --- a/types/screenfull/tsconfig.json +++ b/types/screenfull/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/screeps-profiler/tsconfig.json b/types/screeps-profiler/tsconfig.json index 4334877022..c6043c7e53 100644 --- a/types/screeps-profiler/tsconfig.json +++ b/types/screeps-profiler/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "screeps-profiler-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/scriptjs/tsconfig.json b/types/scriptjs/tsconfig.json index a049745b83..64e1591d1a 100644 --- a/types/scriptjs/tsconfig.json +++ b/types/scriptjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/scroll-into-view/tsconfig.json b/types/scroll-into-view/tsconfig.json index 86fe762891..2c0ced7fc6 100644 --- a/types/scroll-into-view/tsconfig.json +++ b/types/scroll-into-view/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/scroller/tsconfig.json b/types/scroller/tsconfig.json index 74d413a0e8..5db383d25b 100644 --- a/types/scroller/tsconfig.json +++ b/types/scroller/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/scrollreveal/tsconfig.json b/types/scrollreveal/tsconfig.json index 19298ec469..1d562add4b 100644 --- a/types/scrollreveal/tsconfig.json +++ b/types/scrollreveal/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/scrolltofixed/tsconfig.json b/types/scrolltofixed/tsconfig.json index ba86deb895..d0d9a6559f 100644 --- a/types/scrolltofixed/tsconfig.json +++ b/types/scrolltofixed/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/scrypt-async/tsconfig.json b/types/scrypt-async/tsconfig.json index e22c6e20a1..263f2f2691 100644 --- a/types/scrypt-async/tsconfig.json +++ b/types/scrypt-async/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/seamless-immutable/tsconfig.json b/types/seamless-immutable/tsconfig.json index 8e2483cd41..a14f1a72cb 100644 --- a/types/seamless-immutable/tsconfig.json +++ b/types/seamless-immutable/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "seamless-immutable-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/seamless/tsconfig.json b/types/seamless/tsconfig.json index 183185bd9b..5d2ce0da91 100644 --- a/types/seamless/tsconfig.json +++ b/types/seamless/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/seedrandom/tsconfig.json b/types/seedrandom/tsconfig.json index c39261e8f5..ae319353c2 100644 --- a/types/seedrandom/tsconfig.json +++ b/types/seedrandom/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/segment-analytics/tsconfig.json b/types/segment-analytics/tsconfig.json index ce8f0e1ea2..97b4df7f1f 100644 --- a/types/segment-analytics/tsconfig.json +++ b/types/segment-analytics/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/select2/tsconfig.json b/types/select2/tsconfig.json index 5d7c2bc8a5..292cf878b4 100644 --- a/types/select2/tsconfig.json +++ b/types/select2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/selectize/tsconfig.json b/types/selectize/tsconfig.json index dd26dbe3be..85e841a725 100644 --- a/types/selectize/tsconfig.json +++ b/types/selectize/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -25,4 +26,4 @@ "index.d.ts", "selectize-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/selenium-webdriver/tsconfig.json b/types/selenium-webdriver/tsconfig.json index d76ee77a23..0b343058de 100644 --- a/types/selenium-webdriver/tsconfig.json +++ b/types/selenium-webdriver/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -33,4 +34,4 @@ "test/remote.ts", "test/testing.ts" ] -} +} \ No newline at end of file diff --git a/types/selenium-webdriver/v2/tsconfig.json b/types/selenium-webdriver/v2/tsconfig.json index 2849e3669b..53d26538b0 100644 --- a/types/selenium-webdriver/v2/tsconfig.json +++ b/types/selenium-webdriver/v2/tsconfig.json @@ -8,13 +8,18 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "selenium-webdriver": ["selenium-webdriver/v2"], - "selenium-webdriver/*": ["selenium-webdriver/v2/*"] + "selenium-webdriver": [ + "selenium-webdriver/v2" + ], + "selenium-webdriver/*": [ + "selenium-webdriver/v2/*" + ] }, "types": [], "noEmit": true, diff --git a/types/semantic-ui-accordion/tsconfig.json b/types/semantic-ui-accordion/tsconfig.json index 1cf2dd2ed4..7fbe1aac16 100644 --- a/types/semantic-ui-accordion/tsconfig.json +++ b/types/semantic-ui-accordion/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "global.d.ts", "semantic-ui-accordion-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semantic-ui-api/tsconfig.json b/types/semantic-ui-api/tsconfig.json index 660822f6c6..e12d11394d 100644 --- a/types/semantic-ui-api/tsconfig.json +++ b/types/semantic-ui-api/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "global.d.ts", "semantic-ui-api-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semantic-ui-checkbox/tsconfig.json b/types/semantic-ui-checkbox/tsconfig.json index 5f1f5781e8..7a58bbf7d0 100644 --- a/types/semantic-ui-checkbox/tsconfig.json +++ b/types/semantic-ui-checkbox/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "global.d.ts", "semantic-ui-checkbox-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semantic-ui-dimmer/tsconfig.json b/types/semantic-ui-dimmer/tsconfig.json index 7c4280ad64..e3dafc6576 100644 --- a/types/semantic-ui-dimmer/tsconfig.json +++ b/types/semantic-ui-dimmer/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "global.d.ts", "semantic-ui-dimmer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semantic-ui-dropdown/tsconfig.json b/types/semantic-ui-dropdown/tsconfig.json index 99682f13a2..eed261529b 100644 --- a/types/semantic-ui-dropdown/tsconfig.json +++ b/types/semantic-ui-dropdown/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "global.d.ts", "semantic-ui-dropdown-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semantic-ui-embed/tsconfig.json b/types/semantic-ui-embed/tsconfig.json index 0165f1c18f..3391fdb1e0 100644 --- a/types/semantic-ui-embed/tsconfig.json +++ b/types/semantic-ui-embed/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "global.d.ts", "semantic-ui-embed-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semantic-ui-form/tsconfig.json b/types/semantic-ui-form/tsconfig.json index 172834b107..1246f890df 100644 --- a/types/semantic-ui-form/tsconfig.json +++ b/types/semantic-ui-form/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "global.d.ts", "semantic-ui-form-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semantic-ui-modal/tsconfig.json b/types/semantic-ui-modal/tsconfig.json index 804a53e74d..0284ee0abe 100644 --- a/types/semantic-ui-modal/tsconfig.json +++ b/types/semantic-ui-modal/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "global.d.ts", "semantic-ui-modal-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semantic-ui-nag/tsconfig.json b/types/semantic-ui-nag/tsconfig.json index 004ccc40be..32afe86c9e 100644 --- a/types/semantic-ui-nag/tsconfig.json +++ b/types/semantic-ui-nag/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "global.d.ts", "semantic-ui-nag-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semantic-ui-popup/tsconfig.json b/types/semantic-ui-popup/tsconfig.json index 5eb56757b3..76a26453ac 100644 --- a/types/semantic-ui-popup/tsconfig.json +++ b/types/semantic-ui-popup/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "global.d.ts", "semantic-ui-popup-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semantic-ui-progress/tsconfig.json b/types/semantic-ui-progress/tsconfig.json index 258d157912..d39cf7965a 100644 --- a/types/semantic-ui-progress/tsconfig.json +++ b/types/semantic-ui-progress/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "global.d.ts", "semantic-ui-progress-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semantic-ui-rating/tsconfig.json b/types/semantic-ui-rating/tsconfig.json index d3590d5b76..9d971238f4 100644 --- a/types/semantic-ui-rating/tsconfig.json +++ b/types/semantic-ui-rating/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "global.d.ts", "semantic-ui-rating-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semantic-ui-search/tsconfig.json b/types/semantic-ui-search/tsconfig.json index b6fca8e0e6..6531032b45 100644 --- a/types/semantic-ui-search/tsconfig.json +++ b/types/semantic-ui-search/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "global.d.ts", "semantic-ui-search-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semantic-ui-shape/tsconfig.json b/types/semantic-ui-shape/tsconfig.json index 80aca84e86..a18daa3e72 100644 --- a/types/semantic-ui-shape/tsconfig.json +++ b/types/semantic-ui-shape/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "global.d.ts", "semantic-ui-shape-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semantic-ui-sidebar/tsconfig.json b/types/semantic-ui-sidebar/tsconfig.json index 250b2dfae1..0dedadb3f6 100644 --- a/types/semantic-ui-sidebar/tsconfig.json +++ b/types/semantic-ui-sidebar/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "global.d.ts", "semantic-ui-sidebar-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semantic-ui-site/tsconfig.json b/types/semantic-ui-site/tsconfig.json index 0ea895173c..1731e241ee 100644 --- a/types/semantic-ui-site/tsconfig.json +++ b/types/semantic-ui-site/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "global.d.ts", "semantic-ui-site-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semantic-ui-sticky/tsconfig.json b/types/semantic-ui-sticky/tsconfig.json index 8a60c43a02..21deb1a613 100644 --- a/types/semantic-ui-sticky/tsconfig.json +++ b/types/semantic-ui-sticky/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "global.d.ts", "semantic-ui-sticky-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semantic-ui-tab/tsconfig.json b/types/semantic-ui-tab/tsconfig.json index 2896defde1..b98b19dce6 100644 --- a/types/semantic-ui-tab/tsconfig.json +++ b/types/semantic-ui-tab/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "global.d.ts", "semantic-ui-tab-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semantic-ui-transition/tsconfig.json b/types/semantic-ui-transition/tsconfig.json index bf1eaa1f28..f0309456ad 100644 --- a/types/semantic-ui-transition/tsconfig.json +++ b/types/semantic-ui-transition/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "global.d.ts", "semantic-ui-transition-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semantic-ui-visibility/tsconfig.json b/types/semantic-ui-visibility/tsconfig.json index dcf5313a0a..91b236b867 100644 --- a/types/semantic-ui-visibility/tsconfig.json +++ b/types/semantic-ui-visibility/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "global.d.ts", "semantic-ui-visibility-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semantic-ui/tsconfig.json b/types/semantic-ui/tsconfig.json index 510c5ecd05..1b40660b13 100644 --- a/types/semantic-ui/tsconfig.json +++ b/types/semantic-ui/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/semaphore/tsconfig.json b/types/semaphore/tsconfig.json index 64d10913c2..e7a6e01db8 100644 --- a/types/semaphore/tsconfig.json +++ b/types/semaphore/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/semver-compare/tsconfig.json b/types/semver-compare/tsconfig.json index 68a711752a..097db624ec 100644 --- a/types/semver-compare/tsconfig.json +++ b/types/semver-compare/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "semver-compare-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/semver-diff/tsconfig.json b/types/semver-diff/tsconfig.json index 199f9ac3b2..5eadf2b0bc 100644 --- a/types/semver-diff/tsconfig.json +++ b/types/semver-diff/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/semver/tsconfig.json b/types/semver/tsconfig.json index 1139cc58c5..d469c27f7b 100644 --- a/types/semver/tsconfig.json +++ b/types/semver/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "semver-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/sencha_touch/tsconfig.json b/types/sencha_touch/tsconfig.json index 4fbd567192..8f83c336bd 100644 --- a/types/sencha_touch/tsconfig.json +++ b/types/sencha_touch/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/send/tsconfig.json b/types/send/tsconfig.json index 8c484fa56f..2604b99b13 100644 --- a/types/send/tsconfig.json +++ b/types/send/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/seneca/tsconfig.json b/types/seneca/tsconfig.json index 735919a1c8..42534f118c 100644 --- a/types/seneca/tsconfig.json +++ b/types/seneca/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sequelize-fixtures/tsconfig.json b/types/sequelize-fixtures/tsconfig.json index de19e05c15..605c227eb0 100644 --- a/types/sequelize-fixtures/tsconfig.json +++ b/types/sequelize-fixtures/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sequelize/tsconfig.json b/types/sequelize/tsconfig.json index 5e393ff618..891eee0127 100644 --- a/types/sequelize/tsconfig.json +++ b/types/sequelize/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sequelize/v3/tsconfig.json b/types/sequelize/v3/tsconfig.json index 3750e0d69b..8861a2847f 100644 --- a/types/sequelize/v3/tsconfig.json +++ b/types/sequelize/v3/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/sequester/tsconfig.json b/types/sequester/tsconfig.json index 87881b4aa7..2ab8914d80 100644 --- a/types/sequester/tsconfig.json +++ b/types/sequester/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/serialize-javascript/tsconfig.json b/types/serialize-javascript/tsconfig.json index a0b35c9913..90ee4fd0e0 100644 --- a/types/serialize-javascript/tsconfig.json +++ b/types/serialize-javascript/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/serialport/tsconfig.json b/types/serialport/tsconfig.json index 72f0329252..6b45037fcb 100644 --- a/types/serialport/tsconfig.json +++ b/types/serialport/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/serve-favicon/tsconfig.json b/types/serve-favicon/tsconfig.json index 2334cc3424..bc986a0d8b 100644 --- a/types/serve-favicon/tsconfig.json +++ b/types/serve-favicon/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/serve-index/tsconfig.json b/types/serve-index/tsconfig.json index d3e7028fbb..4a9d75b807 100644 --- a/types/serve-index/tsconfig.json +++ b/types/serve-index/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/serve-static/tsconfig.json b/types/serve-static/tsconfig.json index 2b8f21cbb4..784b70c18c 100644 --- a/types/serve-static/tsconfig.json +++ b/types/serve-static/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/server-destroy/tsconfig.json b/types/server-destroy/tsconfig.json index f00147c2a8..e223a90271 100644 --- a/types/server-destroy/tsconfig.json +++ b/types/server-destroy/tsconfig.json @@ -7,11 +7,12 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], - "types": [ ], + "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, @@ -19,4 +20,4 @@ "index.d.ts", "server-destroy-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/session-file-store/tsconfig.json b/types/session-file-store/tsconfig.json index 9fd97e3168..da4459f82c 100644 --- a/types/session-file-store/tsconfig.json +++ b/types/session-file-store/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "session-file-store-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/set-cookie-parser/tsconfig.json b/types/set-cookie-parser/tsconfig.json index 8e0d94c77b..fff750b6b2 100644 --- a/types/set-cookie-parser/tsconfig.json +++ b/types/set-cookie-parser/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sha1/tsconfig.json b/types/sha1/tsconfig.json index dbd1f7997e..66d7c98c86 100644 --- a/types/sha1/tsconfig.json +++ b/types/sha1/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/shallowequal/tsconfig.json b/types/shallowequal/tsconfig.json index 8f1898e84a..de32c6c47b 100644 --- a/types/shallowequal/tsconfig.json +++ b/types/shallowequal/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/shapefile/tsconfig.json b/types/shapefile/tsconfig.json index 9d9b6ac676..86a07711b7 100644 --- a/types/shapefile/tsconfig.json +++ b/types/shapefile/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sharedworker/tsconfig.json b/types/sharedworker/tsconfig.json index cbf986bba0..70a245cd0b 100644 --- a/types/sharedworker/tsconfig.json +++ b/types/sharedworker/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sharepoint/tsconfig.json b/types/sharepoint/tsconfig.json index 74acd996fe..d14ec5c043 100644 --- a/types/sharepoint/tsconfig.json +++ b/types/sharepoint/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sharp-timer/tsconfig.json b/types/sharp-timer/tsconfig.json index ffaeaf9685..b7ab232b28 100644 --- a/types/sharp-timer/tsconfig.json +++ b/types/sharp-timer/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "sharp-timer-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "sharp-timer-tests.ts" + ] +} \ No newline at end of file diff --git a/types/sharp-timer/v0/tsconfig.json b/types/sharp-timer/v0/tsconfig.json index 37520d93f4..423755928a 100644 --- a/types/sharp-timer/v0/tsconfig.json +++ b/types/sharp-timer/v0/tsconfig.json @@ -1,27 +1,28 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../../", - "typeRoots": [ - "../../" - ], - "paths": { - "sharp-timer": [ - "sharp-timer/v0" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../../", + "typeRoots": [ + "../../" + ], + "paths": { + "sharp-timer": [ + "sharp-timer/v0" + ] + }, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true }, - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "sharp-timer-tests.ts" - ] -} + "files": [ + "index.d.ts", + "sharp-timer-tests.ts" + ] +} \ No newline at end of file diff --git a/types/sharp/tsconfig.json b/types/sharp/tsconfig.json index eafee068c7..47060ab248 100644 --- a/types/sharp/tsconfig.json +++ b/types/sharp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sheetify/tsconfig.json b/types/sheetify/tsconfig.json index dc5d92fa24..7766333ac2 100644 --- a/types/sheetify/tsconfig.json +++ b/types/sheetify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/shell-escape/tsconfig.json b/types/shell-escape/tsconfig.json index d457fd7855..98a8c3ebea 100644 --- a/types/shell-escape/tsconfig.json +++ b/types/shell-escape/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "shell-escape-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/shell-quote/tsconfig.json b/types/shell-quote/tsconfig.json index f4db2c63ff..f0fbfe221c 100644 --- a/types/shell-quote/tsconfig.json +++ b/types/shell-quote/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/shelljs/tsconfig.json b/types/shelljs/tsconfig.json index a66a7f15bb..7343a42a7e 100644 --- a/types/shelljs/tsconfig.json +++ b/types/shelljs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/shipit-utils/tsconfig.json b/types/shipit-utils/tsconfig.json index d2fdb45d17..f3bcf2485b 100644 --- a/types/shipit-utils/tsconfig.json +++ b/types/shipit-utils/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "shipit-utils-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "shipit-utils-tests.ts" + ] +} \ No newline at end of file diff --git a/types/shipit/tsconfig.json b/types/shipit/tsconfig.json index 17049e7271..a9df5d067d 100644 --- a/types/shipit/tsconfig.json +++ b/types/shipit/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "shipit-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "shipit-tests.ts" + ] +} \ No newline at end of file diff --git a/types/shopify-buy/tsconfig.json b/types/shopify-buy/tsconfig.json index f8019cfc27..0b825b7bce 100644 --- a/types/shopify-buy/tsconfig.json +++ b/types/shopify-buy/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/shortid/tsconfig.json b/types/shortid/tsconfig.json index dfe0b80c8d..290e89d36b 100644 --- a/types/shortid/tsconfig.json +++ b/types/shortid/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/shot/tsconfig.json b/types/shot/tsconfig.json index eb876b2143..d04d18c38b 100644 --- a/types/shot/tsconfig.json +++ b/types/shot/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/should-promised/tsconfig.json b/types/should-promised/tsconfig.json index 626403ff2d..fc192e4140 100644 --- a/types/should-promised/tsconfig.json +++ b/types/should-promised/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/should/tsconfig.json b/types/should/tsconfig.json index 42bed321bc..2e4d8cdeed 100644 --- a/types/should/tsconfig.json +++ b/types/should/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/showdown/tsconfig.json b/types/showdown/tsconfig.json index 348c4aedc9..a59161d9be 100644 --- a/types/showdown/tsconfig.json +++ b/types/showdown/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/shuffle-array/tsconfig.json b/types/shuffle-array/tsconfig.json index 6dea54fc87..d827278def 100644 --- a/types/shuffle-array/tsconfig.json +++ b/types/shuffle-array/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/siema/tsconfig.json b/types/siema/tsconfig.json index 27e9ba3edc..4fe63d2a73 100644 --- a/types/siema/tsconfig.json +++ b/types/siema/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/siesta/tsconfig.json b/types/siesta/tsconfig.json index 712b4c7074..f95db413fb 100644 --- a/types/siesta/tsconfig.json +++ b/types/siesta/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sigmajs/tsconfig.json b/types/sigmajs/tsconfig.json index b8f105a5f5..b97df29ddf 100644 --- a/types/sigmajs/tsconfig.json +++ b/types/sigmajs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sigmund/tsconfig.json b/types/sigmund/tsconfig.json index a80f97df8b..e9afeef691 100644 --- a/types/sigmund/tsconfig.json +++ b/types/sigmund/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "sigmund-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/signalr-no-jquery/tsconfig.json b/types/signalr-no-jquery/tsconfig.json index ce6cbedc80..43b6a8ee0d 100644 --- a/types/signalr-no-jquery/tsconfig.json +++ b/types/signalr-no-jquery/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/signalr/tsconfig.json b/types/signalr/tsconfig.json index e081470409..8a10547fd6 100644 --- a/types/signalr/tsconfig.json +++ b/types/signalr/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/signalr/v1/tsconfig.json b/types/signalr/v1/tsconfig.json index 65ec4b6bb6..1650a8f9b9 100644 --- a/types/signalr/v1/tsconfig.json +++ b/types/signalr/v1/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/signals/tsconfig.json b/types/signals/tsconfig.json index 84187b7918..2b3b16639c 100644 --- a/types/signals/tsconfig.json +++ b/types/signals/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/signature_pad/tsconfig.json b/types/signature_pad/tsconfig.json index 289b91c163..a20f8b2dfe 100644 --- a/types/signature_pad/tsconfig.json +++ b/types/signature_pad/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/simple-assign/tsconfig.json b/types/simple-assign/tsconfig.json index 7c715b3b05..000826bf23 100644 --- a/types/simple-assign/tsconfig.json +++ b/types/simple-assign/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/simple-cw-node/tsconfig.json b/types/simple-cw-node/tsconfig.json index 6e0fbf0bee..360dbd62bb 100644 --- a/types/simple-cw-node/tsconfig.json +++ b/types/simple-cw-node/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/simple-mock/tsconfig.json b/types/simple-mock/tsconfig.json index 6a37c37525..8d9ce9318c 100644 --- a/types/simple-mock/tsconfig.json +++ b/types/simple-mock/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/simple-oauth2/tsconfig.json b/types/simple-oauth2/tsconfig.json index 61a1370a82..c42e2834d6 100644 --- a/types/simple-oauth2/tsconfig.json +++ b/types/simple-oauth2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/simple-peer/tsconfig.json b/types/simple-peer/tsconfig.json index f45d0067a5..8e1240c525 100644 --- a/types/simple-peer/tsconfig.json +++ b/types/simple-peer/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "simple-peer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/simple-url-cache/tsconfig.json b/types/simple-url-cache/tsconfig.json index 3d62affa6b..6ca7ca0b80 100644 --- a/types/simple-url-cache/tsconfig.json +++ b/types/simple-url-cache/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/simple-xml/tsconfig.json b/types/simple-xml/tsconfig.json index af73b95b83..b11921bcf8 100644 --- a/types/simple-xml/tsconfig.json +++ b/types/simple-xml/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/simplebar/tsconfig.json b/types/simplebar/tsconfig.json index 94a09c5ba7..467b6358e4 100644 --- a/types/simplebar/tsconfig.json +++ b/types/simplebar/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/simplebar/v1/tsconfig.json b/types/simplebar/v1/tsconfig.json index 48fd782d24..f5a517a975 100644 --- a/types/simplebar/v1/tsconfig.json +++ b/types/simplebar/v1/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" @@ -25,4 +26,4 @@ "index.d.ts", "simplebar-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/simplemde/tsconfig.json b/types/simplemde/tsconfig.json index f7f978e7a6..08410a11dc 100644 --- a/types/simplemde/tsconfig.json +++ b/types/simplemde/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/simplesmtp/tsconfig.json b/types/simplesmtp/tsconfig.json index f294555b0b..6ccfb59f40 100644 --- a/types/simplesmtp/tsconfig.json +++ b/types/simplesmtp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/simplestorage.js/tsconfig.json b/types/simplestorage.js/tsconfig.json index fbb628724c..d756b30635 100644 --- a/types/simplestorage.js/tsconfig.json +++ b/types/simplestorage.js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sinon-as-promised/tsconfig.json b/types/sinon-as-promised/tsconfig.json index e56ef92bde..9fe2c226ec 100644 --- a/types/sinon-as-promised/tsconfig.json +++ b/types/sinon-as-promised/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sinon-chai/tsconfig.json b/types/sinon-chai/tsconfig.json index 8d70a9dbd3..58b1749eb6 100644 --- a/types/sinon-chai/tsconfig.json +++ b/types/sinon-chai/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sinon-chrome/tsconfig.json b/types/sinon-chrome/tsconfig.json index f2ab520cb6..8179710487 100644 --- a/types/sinon-chrome/tsconfig.json +++ b/types/sinon-chrome/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sinon-express-mock/tsconfig.json b/types/sinon-express-mock/tsconfig.json index f88c00c6be..87074c925a 100644 --- a/types/sinon-express-mock/tsconfig.json +++ b/types/sinon-express-mock/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "sinon-express-mock-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/sinon-mongoose/tsconfig.json b/types/sinon-mongoose/tsconfig.json index 05ce537d32..31123d641b 100644 --- a/types/sinon-mongoose/tsconfig.json +++ b/types/sinon-mongoose/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sinon-stub-promise/tsconfig.json b/types/sinon-stub-promise/tsconfig.json index a2dd8453da..ec05f389e5 100644 --- a/types/sinon-stub-promise/tsconfig.json +++ b/types/sinon-stub-promise/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sinon-test/tsconfig.json b/types/sinon-test/tsconfig.json index 3f98705174..d4b45dfb80 100644 --- a/types/sinon-test/tsconfig.json +++ b/types/sinon-test/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "sinon-test-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/sinon/tsconfig.json b/types/sinon/tsconfig.json index 714a6cd480..2c9b85ec00 100644 --- a/types/sinon/tsconfig.json +++ b/types/sinon/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "sinon-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/sip.js/tsconfig.json b/types/sip.js/tsconfig.json index b6532e5674..ea3b5a009c 100644 --- a/types/sip.js/tsconfig.json +++ b/types/sip.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "sip.js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/sipml/tsconfig.json b/types/sipml/tsconfig.json index f7cc51c7b2..9731eedc18 100644 --- a/types/sipml/tsconfig.json +++ b/types/sipml/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sitemap2/tsconfig.json b/types/sitemap2/tsconfig.json index 6fd2aba277..dfdc030de9 100644 --- a/types/sitemap2/tsconfig.json +++ b/types/sitemap2/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sizzle/tsconfig.json b/types/sizzle/tsconfig.json index aa10d374d5..2c3aae44e5 100644 --- a/types/sizzle/tsconfig.json +++ b/types/sizzle/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "sizzle-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/sjcl/tsconfig.json b/types/sjcl/tsconfig.json index 6ca825af77..e1a6628713 100644 --- a/types/sjcl/tsconfig.json +++ b/types/sjcl/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ski/tsconfig.json b/types/ski/tsconfig.json index fdf0aff6d0..a523a14f5d 100644 --- a/types/ski/tsconfig.json +++ b/types/ski/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/skyway/tsconfig.json b/types/skyway/tsconfig.json index f5ee6dfaea..28f48c9f91 100644 --- a/types/skyway/tsconfig.json +++ b/types/skyway/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/slack-node/tsconfig.json b/types/slack-node/tsconfig.json index fcf5041e0c..66c41e14ca 100644 --- a/types/slack-node/tsconfig.json +++ b/types/slack-node/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/slack-winston/tsconfig.json b/types/slack-winston/tsconfig.json index a45cbf2dc2..ce19979192 100644 --- a/types/slack-winston/tsconfig.json +++ b/types/slack-winston/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "slack-winston-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "slack-winston-tests.ts" + ] +} \ No newline at end of file diff --git a/types/slackify-html/tsconfig.json b/types/slackify-html/tsconfig.json index 773829070f..587cafc4af 100644 --- a/types/slackify-html/tsconfig.json +++ b/types/slackify-html/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/slate-irc/tsconfig.json b/types/slate-irc/tsconfig.json index ee1a15b7fd..7cc47ac753 100644 --- a/types/slate-irc/tsconfig.json +++ b/types/slate-irc/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sleep/tsconfig.json b/types/sleep/tsconfig.json index 97d5e5cc93..e852889ba0 100644 --- a/types/sleep/tsconfig.json +++ b/types/sleep/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/slick-carousel/tsconfig.json b/types/slick-carousel/tsconfig.json index 36023adb78..eac3bfb435 100644 --- a/types/slick-carousel/tsconfig.json +++ b/types/slick-carousel/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/slickgrid/tsconfig.json b/types/slickgrid/tsconfig.json index 35c5f7cb12..4609f7987e 100644 --- a/types/slickgrid/tsconfig.json +++ b/types/slickgrid/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/slideout/tsconfig.json b/types/slideout/tsconfig.json index 6afcb7ddcf..fa40f2a294 100644 --- a/types/slideout/tsconfig.json +++ b/types/slideout/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/slimerjs/tsconfig.json b/types/slimerjs/tsconfig.json index e25204b8ed..0d9e8b3602 100644 --- a/types/slimerjs/tsconfig.json +++ b/types/slimerjs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "slimerjs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/slocket/tsconfig.json b/types/slocket/tsconfig.json index 16d8617844..719eba3d10 100644 --- a/types/slocket/tsconfig.json +++ b/types/slocket/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "slocket-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/slug/tsconfig.json b/types/slug/tsconfig.json index c192c19b53..9fffc268fa 100644 --- a/types/slug/tsconfig.json +++ b/types/slug/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/smart-fox-server/tsconfig.json b/types/smart-fox-server/tsconfig.json index a12105d463..1c0bd310b8 100644 --- a/types/smart-fox-server/tsconfig.json +++ b/types/smart-fox-server/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/smooth-scrollbar/tsconfig.json b/types/smooth-scrollbar/tsconfig.json index fcf9d316c9..78ba6e77ee 100644 --- a/types/smooth-scrollbar/tsconfig.json +++ b/types/smooth-scrollbar/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/smoothie/tsconfig.json b/types/smoothie/tsconfig.json index 77e7ce5be3..7e9fd9b698 100644 --- a/types/smoothie/tsconfig.json +++ b/types/smoothie/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/smoothscroll-polyfill/tsconfig.json b/types/smoothscroll-polyfill/tsconfig.json index 8f54f5ebfc..f21a2ae0ef 100644 --- a/types/smoothscroll-polyfill/tsconfig.json +++ b/types/smoothscroll-polyfill/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "smoothscroll-polyfill-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/smtp-server/tsconfig.json b/types/smtp-server/tsconfig.json index c32b149509..e5087d15b9 100644 --- a/types/smtp-server/tsconfig.json +++ b/types/smtp-server/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/smtpapi/tsconfig.json b/types/smtpapi/tsconfig.json index b771ea4286..16bd06b68c 100644 --- a/types/smtpapi/tsconfig.json +++ b/types/smtpapi/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/snapsvg/tsconfig.json b/types/snapsvg/tsconfig.json index 0f4b962e7f..7ee69cd259 100644 --- a/types/snapsvg/tsconfig.json +++ b/types/snapsvg/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -22,4 +23,4 @@ "test/2.ts", "test/3.ts" ] -} +} \ No newline at end of file diff --git a/types/snazzy-info-window/tsconfig.json b/types/snazzy-info-window/tsconfig.json index 195d2a5dc0..0fa4776bac 100644 --- a/types/snazzy-info-window/tsconfig.json +++ b/types/snazzy-info-window/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "snazzy-info-window-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/snekfetch/tsconfig.json b/types/snekfetch/tsconfig.json index f07bbc8b66..37402433cc 100644 --- a/types/snekfetch/tsconfig.json +++ b/types/snekfetch/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "snekfetch-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/snoowrap/tsconfig.json b/types/snoowrap/tsconfig.json index d3e20c2063..80f4cc5617 100644 --- a/types/snoowrap/tsconfig.json +++ b/types/snoowrap/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -34,4 +35,4 @@ "dist/objects/WikiPage.d.ts", "snoowrap-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/snowboy/tsconfig.json b/types/snowboy/tsconfig.json index f52d6b8c21..1a013bcb02 100644 --- a/types/snowboy/tsconfig.json +++ b/types/snowboy/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "snowboy-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/soap/tsconfig.json b/types/soap/tsconfig.json index d40a1d415c..5f207207ac 100644 --- a/types/soap/tsconfig.json +++ b/types/soap/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/socket.io-client/tsconfig.json b/types/socket.io-client/tsconfig.json index b9a3895e9e..972f8843d6 100644 --- a/types/socket.io-client/tsconfig.json +++ b/types/socket.io-client/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/socket.io-parser/tsconfig.json b/types/socket.io-parser/tsconfig.json index 1f6da8d309..ff1a74f45e 100644 --- a/types/socket.io-parser/tsconfig.json +++ b/types/socket.io-parser/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/socket.io-redis/tsconfig.json b/types/socket.io-redis/tsconfig.json index 1e2568ad2b..2d96ef817a 100644 --- a/types/socket.io-redis/tsconfig.json +++ b/types/socket.io-redis/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/socket.io.users/tsconfig.json b/types/socket.io.users/tsconfig.json index 790cb84cd4..3261ff53d5 100644 --- a/types/socket.io.users/tsconfig.json +++ b/types/socket.io.users/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/socket.io/tsconfig.json b/types/socket.io/tsconfig.json index 686b05d05a..ec123a68f8 100644 --- a/types/socket.io/tsconfig.json +++ b/types/socket.io/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/socketio-wildcard/tsconfig.json b/types/socketio-wildcard/tsconfig.json index ee0d3805f4..38896916e2 100644 --- a/types/socketio-wildcard/tsconfig.json +++ b/types/socketio-wildcard/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "socketio-wildcard-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/socketty/tsconfig.json b/types/socketty/tsconfig.json index 32f32b3e16..b8623c87c6 100644 --- a/types/socketty/tsconfig.json +++ b/types/socketty/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sockjs-client/tsconfig.json b/types/sockjs-client/tsconfig.json index 9ae13d000a..a0b95f5afb 100644 --- a/types/sockjs-client/tsconfig.json +++ b/types/sockjs-client/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sockjs/tsconfig.json b/types/sockjs/tsconfig.json index 7381df8ce9..1b3c61fb34 100644 --- a/types/sockjs/tsconfig.json +++ b/types/sockjs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "sockjs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/solution-center-communicator/tsconfig.json b/types/solution-center-communicator/tsconfig.json index 74a4173516..c5429cdf1a 100644 --- a/types/solution-center-communicator/tsconfig.json +++ b/types/solution-center-communicator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sortablejs/tsconfig.json b/types/sortablejs/tsconfig.json index 9b8ba61eb3..a5e89ba671 100644 --- a/types/sortablejs/tsconfig.json +++ b/types/sortablejs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/soundjs/tsconfig.json b/types/soundjs/tsconfig.json index 6c6605b46c..c4e228a18c 100644 --- a/types/soundjs/tsconfig.json +++ b/types/soundjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/soundmanager2/tsconfig.json b/types/soundmanager2/tsconfig.json index 3c8545f26d..c08c3d6185 100644 --- a/types/soundmanager2/tsconfig.json +++ b/types/soundmanager2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "soundmanager2-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/source-list-map/tsconfig.json b/types/source-list-map/tsconfig.json index 83de921b7e..c18f940040 100644 --- a/types/source-list-map/tsconfig.json +++ b/types/source-list-map/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/source-map-support/tsconfig.json b/types/source-map-support/tsconfig.json index 3f07ef5207..c5cd7b0000 100644 --- a/types/source-map-support/tsconfig.json +++ b/types/source-map-support/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "source-map-support-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/source-map/tsconfig.json b/types/source-map/tsconfig.json index bd427e1f80..f625e560df 100644 --- a/types/source-map/tsconfig.json +++ b/types/source-map/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/space-pen/tsconfig.json b/types/space-pen/tsconfig.json index 22c4f3b912..2aa1f65d64 100644 --- a/types/space-pen/tsconfig.json +++ b/types/space-pen/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/spark-md5/tsconfig.json b/types/spark-md5/tsconfig.json index 7dabd9b1a8..8eac67ed47 100644 --- a/types/spark-md5/tsconfig.json +++ b/types/spark-md5/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "spark-md5-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/sparkly/tsconfig.json b/types/sparkly/tsconfig.json index f439b0a2e7..3408085ad7 100644 --- a/types/sparkly/tsconfig.json +++ b/types/sparkly/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "sparkly-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/sparkpost/tsconfig.json b/types/sparkpost/tsconfig.json index e40a56608b..6aeba9cb91 100644 --- a/types/sparkpost/tsconfig.json +++ b/types/sparkpost/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "sparkpost-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/sparkpost/v1/tsconfig.json b/types/sparkpost/v1/tsconfig.json index 54f30b3435..114bc5e757 100644 --- a/types/sparkpost/v1/tsconfig.json +++ b/types/sparkpost/v1/tsconfig.json @@ -7,13 +7,18 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "sparkpost": ["sparkpost/v1"], - "sparkpost/*": ["sparkpost/v1/*"] + "sparkpost": [ + "sparkpost/v1" + ], + "sparkpost/*": [ + "sparkpost/v1/*" + ] }, "types": [], "noEmit": true, @@ -23,4 +28,4 @@ "index.d.ts", "sparkpost-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/sparqljs/tsconfig.json b/types/sparqljs/tsconfig.json index 6b6ca5d9d3..3a44e32e68 100644 --- a/types/sparqljs/tsconfig.json +++ b/types/sparqljs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "sparqljs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/spatialite/tsconfig.json b/types/spatialite/tsconfig.json index a432ff2004..0da1bd78cf 100644 --- a/types/spatialite/tsconfig.json +++ b/types/spatialite/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "spatialite-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/spdy/tsconfig.json b/types/spdy/tsconfig.json index 6a2ac31184..a8ffb74515 100644 --- a/types/spdy/tsconfig.json +++ b/types/spdy/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/speakeasy/tsconfig.json b/types/speakeasy/tsconfig.json index 330e714866..e27d664bc4 100644 --- a/types/speakeasy/tsconfig.json +++ b/types/speakeasy/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/speakingurl/tsconfig.json b/types/speakingurl/tsconfig.json index 9a4b87e18b..150dcf9b21 100644 --- a/types/speakingurl/tsconfig.json +++ b/types/speakingurl/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/spectacle/tsconfig.json b/types/spectacle/tsconfig.json index 766fa0b1e2..46722f9753 100644 --- a/types/spectacle/tsconfig.json +++ b/types/spectacle/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/spectrum/tsconfig.json b/types/spectrum/tsconfig.json index 480e58d5ee..31b495ebf9 100644 --- a/types/spectrum/tsconfig.json +++ b/types/spectrum/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/spin.js/tsconfig.json b/types/spin.js/tsconfig.json index 8536370b9e..55b1f25e2d 100644 --- a/types/spin.js/tsconfig.json +++ b/types/spin.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/split.js/tsconfig.json b/types/split.js/tsconfig.json index 5698b64828..31fbcaf148 100644 --- a/types/split.js/tsconfig.json +++ b/types/split.js/tsconfig.json @@ -1,10 +1,14 @@ { "compilerOptions": { "module": "commonjs", - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -17,4 +21,4 @@ "index.d.ts", "split.js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/split/tsconfig.json b/types/split/tsconfig.json index e8b089fcd9..968ce531dc 100644 --- a/types/split/tsconfig.json +++ b/types/split/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/split2/tsconfig.json b/types/split2/tsconfig.json index 303c1c0472..533f82b81a 100644 --- a/types/split2/tsconfig.json +++ b/types/split2/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/spotify-api/tsconfig.json b/types/spotify-api/tsconfig.json index a3d0d40332..6fc2a9e8ac 100644 --- a/types/spotify-api/tsconfig.json +++ b/types/spotify-api/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sprintf-js/tsconfig.json b/types/sprintf-js/tsconfig.json index eda7030ead..2fcd8a7156 100644 --- a/types/sprintf-js/tsconfig.json +++ b/types/sprintf-js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "sprintf-js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/sprintf/tsconfig.json b/types/sprintf/tsconfig.json index e8d46d5357..b56426bd80 100644 --- a/types/sprintf/tsconfig.json +++ b/types/sprintf/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "sprintf-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/sql.js/tsconfig.json b/types/sql.js/tsconfig.json index f32c384324..aa744160cb 100644 --- a/types/sql.js/tsconfig.json +++ b/types/sql.js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sqlite3/tsconfig.json b/types/sqlite3/tsconfig.json index b415b04d21..f3b9bf2d28 100644 --- a/types/sqlite3/tsconfig.json +++ b/types/sqlite3/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sqlstring/tsconfig.json b/types/sqlstring/tsconfig.json index 8af214b3f7..a4d4ce7e89 100644 --- a/types/sqlstring/tsconfig.json +++ b/types/sqlstring/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "sqlstring-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/sqs-consumer/tsconfig.json b/types/sqs-consumer/tsconfig.json index 82fd8a9006..adeb275ec5 100644 --- a/types/sqs-consumer/tsconfig.json +++ b/types/sqs-consumer/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sqs-producer/tsconfig.json b/types/sqs-producer/tsconfig.json index ddd41564cd..68c2013ba1 100644 --- a/types/sqs-producer/tsconfig.json +++ b/types/sqs-producer/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/squirejs/tsconfig.json b/types/squirejs/tsconfig.json index 7cf306afcb..d8ef5e1b75 100644 --- a/types/squirejs/tsconfig.json +++ b/types/squirejs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/srp/tsconfig.json b/types/srp/tsconfig.json index 6c3a3dc34c..81d00268b1 100644 --- a/types/srp/tsconfig.json +++ b/types/srp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ss-utils/tsconfig.json b/types/ss-utils/tsconfig.json index 9ce02c415c..1092eab097 100644 --- a/types/ss-utils/tsconfig.json +++ b/types/ss-utils/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ssh-key-decrypt/tsconfig.json b/types/ssh-key-decrypt/tsconfig.json index 906a06cae4..b05d121ace 100644 --- a/types/ssh-key-decrypt/tsconfig.json +++ b/types/ssh-key-decrypt/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "ssh-key-decrypt-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ssh2-sftp-client/tsconfig.json b/types/ssh2-sftp-client/tsconfig.json index e9546d644e..809639cd51 100644 --- a/types/ssh2-sftp-client/tsconfig.json +++ b/types/ssh2-sftp-client/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ssh2-streams/tsconfig.json b/types/ssh2-streams/tsconfig.json index 86a655b210..c72956547a 100644 --- a/types/ssh2-streams/tsconfig.json +++ b/types/ssh2-streams/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ssh2/tsconfig.json b/types/ssh2/tsconfig.json index 80b1e88138..13d68aa813 100644 --- a/types/ssh2/tsconfig.json +++ b/types/ssh2/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sshpk/tsconfig.json b/types/sshpk/tsconfig.json index fcc7abf590..7b38e1dc9b 100644 --- a/types/sshpk/tsconfig.json +++ b/types/sshpk/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "sshpk-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/stack-mapper/tsconfig.json b/types/stack-mapper/tsconfig.json index 6e67f8b176..f47d33d03e 100644 --- a/types/stack-mapper/tsconfig.json +++ b/types/stack-mapper/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/stack-trace/tsconfig.json b/types/stack-trace/tsconfig.json index cbcb589f52..fd6b41724d 100644 --- a/types/stack-trace/tsconfig.json +++ b/types/stack-trace/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/stack-utils/tsconfig.json b/types/stack-utils/tsconfig.json index 7c538b0a6a..4f74db4b57 100644 --- a/types/stack-utils/tsconfig.json +++ b/types/stack-utils/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "stack-utils-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/stacktrace-js/tsconfig.json b/types/stacktrace-js/tsconfig.json index 6354523702..bbc97ddb49 100644 --- a/types/stacktrace-js/tsconfig.json +++ b/types/stacktrace-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/stale-lru-cache/tsconfig.json b/types/stale-lru-cache/tsconfig.json index ccd4edb516..fdd40eaaea 100644 --- a/types/stale-lru-cache/tsconfig.json +++ b/types/stale-lru-cache/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "stale-lru-cache-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/stampit/tsconfig.json b/types/stampit/tsconfig.json index 0f6348edeb..ee248728d6 100644 --- a/types/stampit/tsconfig.json +++ b/types/stampit/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/stamplay-js-sdk/tsconfig.json b/types/stamplay-js-sdk/tsconfig.json index 0df9bbf9db..e75cfd6828 100644 --- a/types/stamplay-js-sdk/tsconfig.json +++ b/types/stamplay-js-sdk/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/stat-mode/tsconfig.json b/types/stat-mode/tsconfig.json index cebbcc6c12..5b51263a17 100644 --- a/types/stat-mode/tsconfig.json +++ b/types/stat-mode/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "stat-mode-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/static-eval/tsconfig.json b/types/static-eval/tsconfig.json index 4df6f63403..8f182c2170 100644 --- a/types/static-eval/tsconfig.json +++ b/types/static-eval/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/stats.js/tsconfig.json b/types/stats.js/tsconfig.json index fc7b57519b..7471c6140b 100644 --- a/types/stats.js/tsconfig.json +++ b/types/stats.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/statsd-client/tsconfig.json b/types/statsd-client/tsconfig.json index 764f3479ec..81a84eea79 100644 --- a/types/statsd-client/tsconfig.json +++ b/types/statsd-client/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/status-bar/tsconfig.json b/types/status-bar/tsconfig.json index 2e4701e660..14756934ad 100644 --- a/types/status-bar/tsconfig.json +++ b/types/status-bar/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "status-bar-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/statuses/tsconfig.json b/types/statuses/tsconfig.json index 509d34d68b..f307775277 100644 --- a/types/statuses/tsconfig.json +++ b/types/statuses/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "statuses-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/steam/tsconfig.json b/types/steam/tsconfig.json index d6a853e295..e821778fbf 100644 --- a/types/steam/tsconfig.json +++ b/types/steam/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/steed/tsconfig.json b/types/steed/tsconfig.json index 54a669803d..04c8b69bd3 100644 --- a/types/steed/tsconfig.json +++ b/types/steed/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/stompjs/tsconfig.json b/types/stompjs/tsconfig.json index 5849a68217..bb2b4ad2a4 100644 --- a/types/stompjs/tsconfig.json +++ b/types/stompjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/stoppable/tsconfig.json b/types/stoppable/tsconfig.json index ae018fe536..e6a0ead204 100644 --- a/types/stoppable/tsconfig.json +++ b/types/stoppable/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "stoppable-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/storejs/tsconfig.json b/types/storejs/tsconfig.json index 92685d36da..df8e4268e3 100644 --- a/types/storejs/tsconfig.json +++ b/types/storejs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/storejs/v1/tsconfig.json b/types/storejs/v1/tsconfig.json index fdf64bed9a..2d062255ed 100644 --- a/types/storejs/v1/tsconfig.json +++ b/types/storejs/v1/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" @@ -25,4 +26,4 @@ "index.d.ts", "storejs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/storybook__addon-actions/tsconfig.json b/types/storybook__addon-actions/tsconfig.json index af8ab8bd08..89249e8386 100644 --- a/types/storybook__addon-actions/tsconfig.json +++ b/types/storybook__addon-actions/tsconfig.json @@ -8,14 +8,19 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ "../" ], - "paths":{ - "@storybook/addon-actions": ["storybook__addon-actions"], - "@storybook/react": ["storybook__react"] + "paths": { + "@storybook/addon-actions": [ + "storybook__addon-actions" + ], + "@storybook/react": [ + "storybook__react" + ] }, "types": [], "noEmit": true, @@ -25,4 +30,4 @@ "index.d.ts", "storybook__addon-actions-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/storybook__addon-knobs/tsconfig.json b/types/storybook__addon-knobs/tsconfig.json index b7b6d48f98..fb2307556f 100644 --- a/types/storybook__addon-knobs/tsconfig.json +++ b/types/storybook__addon-knobs/tsconfig.json @@ -8,14 +8,19 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ "../" ], - "paths":{ - "@storybook/addon-knobs": ["storybook__addon-knobs"], - "@storybook/react": ["storybook__react"] + "paths": { + "@storybook/addon-knobs": [ + "storybook__addon-knobs" + ], + "@storybook/react": [ + "storybook__react" + ] }, "types": [], "noEmit": true, @@ -25,4 +30,4 @@ "index.d.ts", "storybook__addon-knobs-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/storybook__addon-links/tsconfig.json b/types/storybook__addon-links/tsconfig.json index 8bb10cc0af..bb3183eaec 100644 --- a/types/storybook__addon-links/tsconfig.json +++ b/types/storybook__addon-links/tsconfig.json @@ -7,14 +7,19 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ "../" ], - "paths":{ - "@storybook/addon-links": ["storybook__addon-links"], - "@storybook/react": ["storybook__react"] + "paths": { + "@storybook/addon-links": [ + "storybook__addon-links" + ], + "@storybook/react": [ + "storybook__react" + ] }, "types": [], "noEmit": true, @@ -24,4 +29,4 @@ "index.d.ts", "storybook__addon-links-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/storybook__addon-notes/tsconfig.json b/types/storybook__addon-notes/tsconfig.json index 7dd2c257a4..2bc7d76ea8 100644 --- a/types/storybook__addon-notes/tsconfig.json +++ b/types/storybook__addon-notes/tsconfig.json @@ -8,14 +8,19 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ "../" ], "paths": { - "@storybook/addon-notes": ["storybook__addon-notes"], - "@storybook/react": ["storybook__react"] + "@storybook/addon-notes": [ + "storybook__addon-notes" + ], + "@storybook/react": [ + "storybook__react" + ] }, "types": [], "noEmit": true, @@ -25,4 +30,4 @@ "index.d.ts", "storybook__addon-notes-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/storybook__addon-options/tsconfig.json b/types/storybook__addon-options/tsconfig.json index 72e9716b58..936a535725 100644 --- a/types/storybook__addon-options/tsconfig.json +++ b/types/storybook__addon-options/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "@storybook/addon-options": ["storybook__addon-options"] + "@storybook/addon-options": [ + "storybook__addon-options" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "storybook__addon-options-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/storybook__react/tsconfig.json b/types/storybook__react/tsconfig.json index 2e57ceb35b..906319ce4c 100644 --- a/types/storybook__react/tsconfig.json +++ b/types/storybook__react/tsconfig.json @@ -8,13 +8,16 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": [ "../" ], "paths": { - "@storybook/react": ["storybook__react"] + "@storybook/react": [ + "storybook__react" + ] }, "types": [], "noEmit": true, @@ -24,4 +27,4 @@ "index.d.ts", "storybook__react-tests.tsx" ] -} +} \ No newline at end of file diff --git a/types/stream-buffers/tsconfig.json b/types/stream-buffers/tsconfig.json index 827ea2a3fe..1a7291fb16 100644 --- a/types/stream-buffers/tsconfig.json +++ b/types/stream-buffers/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "stream-buffers-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/stream-meter/tsconfig.json b/types/stream-meter/tsconfig.json index b4d805f46d..8b20593c10 100644 --- a/types/stream-meter/tsconfig.json +++ b/types/stream-meter/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/stream-series/tsconfig.json b/types/stream-series/tsconfig.json index 59cff92f54..63b2241d3f 100644 --- a/types/stream-series/tsconfig.json +++ b/types/stream-series/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/stream-to-array/tsconfig.json b/types/stream-to-array/tsconfig.json index e15304e25e..48b3165006 100644 --- a/types/stream-to-array/tsconfig.json +++ b/types/stream-to-array/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "stream-to-array-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/stream-to-array/v0/tsconfig.json b/types/stream-to-array/v0/tsconfig.json index 66a88dbd4b..1865c9cf98 100644 --- a/types/stream-to-array/v0/tsconfig.json +++ b/types/stream-to-array/v0/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "stream-to-array": ["stream-to-array/v0"] + "stream-to-array": [ + "stream-to-array/v0" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "stream-to-array-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/streaming-json-stringify/tsconfig.json b/types/streaming-json-stringify/tsconfig.json index 0fb9d5196c..b99f577e68 100644 --- a/types/streaming-json-stringify/tsconfig.json +++ b/types/streaming-json-stringify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "streaming-json-stringify-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/streamjs/tsconfig.json b/types/streamjs/tsconfig.json index 359e244cd4..21fc98e70b 100644 --- a/types/streamjs/tsconfig.json +++ b/types/streamjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/strftime/tsconfig.json b/types/strftime/tsconfig.json index 101e98c1a9..b20e8d1a04 100644 --- a/types/strftime/tsconfig.json +++ b/types/strftime/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/string-hash/tsconfig.json b/types/string-hash/tsconfig.json index 54dad889fa..8755e54064 100644 --- a/types/string-hash/tsconfig.json +++ b/types/string-hash/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/string-similarity/tsconfig.json b/types/string-similarity/tsconfig.json index b95b2aeb77..a2a3f2f5eb 100644 --- a/types/string-similarity/tsconfig.json +++ b/types/string-similarity/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "string-similarity-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/string-template/tsconfig.json b/types/string-template/tsconfig.json index c67c055705..936a491f8c 100644 --- a/types/string-template/tsconfig.json +++ b/types/string-template/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/string/tsconfig.json b/types/string/tsconfig.json index 1edf9f88aa..578bc74d25 100644 --- a/types/string/tsconfig.json +++ b/types/string/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/string_score/tsconfig.json b/types/string_score/tsconfig.json index 492a2f565e..95d3c06126 100644 --- a/types/string_score/tsconfig.json +++ b/types/string_score/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/stringify-object/tsconfig.json b/types/stringify-object/tsconfig.json index 00574d2429..7a0b87b2a2 100644 --- a/types/stringify-object/tsconfig.json +++ b/types/stringify-object/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "stringify-object-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/strip-ansi/tsconfig.json b/types/strip-ansi/tsconfig.json index d8b6dc1a1d..6653db94fb 100644 --- a/types/strip-ansi/tsconfig.json +++ b/types/strip-ansi/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/strip-bom/tsconfig.json b/types/strip-bom/tsconfig.json index e65aeb6e0f..9a62caf4e6 100644 --- a/types/strip-bom/tsconfig.json +++ b/types/strip-bom/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/strip-json-comments/tsconfig.json b/types/strip-json-comments/tsconfig.json index afef907b29..02b42695a4 100644 --- a/types/strip-json-comments/tsconfig.json +++ b/types/strip-json-comments/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/stripe-checkout/tsconfig.json b/types/stripe-checkout/tsconfig.json index cf13924505..e60ee3b3dd 100644 --- a/types/stripe-checkout/tsconfig.json +++ b/types/stripe-checkout/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/stripe-node/tsconfig.json b/types/stripe-node/tsconfig.json index 357e210fed..7723446cb5 100644 --- a/types/stripe-node/tsconfig.json +++ b/types/stripe-node/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/stripe-v2/tsconfig.json b/types/stripe-v2/tsconfig.json index a40e816e5a..ac2d6c810b 100644 --- a/types/stripe-v2/tsconfig.json +++ b/types/stripe-v2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "stripe-v2-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/stripe-v3/tsconfig.json b/types/stripe-v3/tsconfig.json index 4740cec2c1..1cdf786f22 100644 --- a/types/stripe-v3/tsconfig.json +++ b/types/stripe-v3/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "stripe-v3-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/striptags/tsconfig.json b/types/striptags/tsconfig.json index c769b272c0..5823e343cd 100644 --- a/types/striptags/tsconfig.json +++ b/types/striptags/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/strong-cluster-control/tsconfig.json b/types/strong-cluster-control/tsconfig.json index 9294ca211a..2f89742361 100644 --- a/types/strong-cluster-control/tsconfig.json +++ b/types/strong-cluster-control/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "strong-cluster-control-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/strophe/tsconfig.json b/types/strophe/tsconfig.json index eee9184d3b..8c8038227a 100644 --- a/types/strophe/tsconfig.json +++ b/types/strophe/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "muc.d.ts", "strophe-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/stylelint-webpack-plugin/tsconfig.json b/types/stylelint-webpack-plugin/tsconfig.json index c80333d6a9..bad8f14fff 100644 --- a/types/stylelint-webpack-plugin/tsconfig.json +++ b/types/stylelint-webpack-plugin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "stylelint-webpack-plugin-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/stylelint/tsconfig.json b/types/stylelint/tsconfig.json index d57b85c2b3..aad83e1984 100644 --- a/types/stylelint/tsconfig.json +++ b/types/stylelint/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "stylelint-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/stylus/tsconfig.json b/types/stylus/tsconfig.json index 205fe91965..d739ff9edd 100644 --- a/types/stylus/tsconfig.json +++ b/types/stylus/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/subsume/tsconfig.json b/types/subsume/tsconfig.json index e9f74a0530..b29ec71ee8 100644 --- a/types/subsume/tsconfig.json +++ b/types/subsume/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "subsume-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/succinct/tsconfig.json b/types/succinct/tsconfig.json index 93d538f2b9..b75d1bb908 100644 --- a/types/succinct/tsconfig.json +++ b/types/succinct/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sudo-block/tsconfig.json b/types/sudo-block/tsconfig.json index c00bc56c68..f7a67ab9d9 100644 --- a/types/sudo-block/tsconfig.json +++ b/types/sudo-block/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "sudo-block-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/suitescript/tsconfig.json b/types/suitescript/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/suitescript/tsconfig.json +++ b/types/suitescript/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sumo-logger/tsconfig.json b/types/sumo-logger/tsconfig.json index 14da599b84..99995493eb 100644 --- a/types/sumo-logger/tsconfig.json +++ b/types/sumo-logger/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "sumo-logger-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/superagent-no-cache/tsconfig.json b/types/superagent-no-cache/tsconfig.json index 668d406795..9047a8ff6c 100644 --- a/types/superagent-no-cache/tsconfig.json +++ b/types/superagent-no-cache/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "superagent-no-cache-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/superagent-prefix/tsconfig.json b/types/superagent-prefix/tsconfig.json index 20c1d2c993..aa53ebadaf 100644 --- a/types/superagent-prefix/tsconfig.json +++ b/types/superagent-prefix/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "superagent-prefix-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/superagent/tsconfig.json b/types/superagent/tsconfig.json index b1f13095f7..e27bc6e788 100644 --- a/types/superagent/tsconfig.json +++ b/types/superagent/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "superagent-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/superagent/v2/tsconfig.json b/types/superagent/v2/tsconfig.json index 9061d77842..b58424d51b 100644 --- a/types/superagent/v2/tsconfig.json +++ b/types/superagent/v2/tsconfig.json @@ -8,13 +8,18 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "superagent": ["superagent/v2"], - "superagent/*": ["superagent/v2/*"] + "superagent": [ + "superagent/v2" + ], + "superagent/*": [ + "superagent/v2/*" + ] }, "types": [], "noEmit": true, @@ -24,4 +29,4 @@ "index.d.ts", "superagent-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/supercluster/tsconfig.json b/types/supercluster/tsconfig.json index b5cc84208d..243cdf4117 100644 --- a/types/supercluster/tsconfig.json +++ b/types/supercluster/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "supercluster-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/supertest-as-promised/tsconfig.json b/types/supertest-as-promised/tsconfig.json index 8c6f805556..29e8790308 100644 --- a/types/supertest-as-promised/tsconfig.json +++ b/types/supertest-as-promised/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/supertest/tsconfig.json b/types/supertest/tsconfig.json index c27926b7d9..8f674d2202 100644 --- a/types/supertest/tsconfig.json +++ b/types/supertest/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/supports-color/tsconfig.json b/types/supports-color/tsconfig.json index 899dd7f179..5084245065 100644 --- a/types/supports-color/tsconfig.json +++ b/types/supports-color/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/survey-knockout/tsconfig.json b/types/survey-knockout/tsconfig.json index 1cbb41272f..362b411778 100644 --- a/types/survey-knockout/tsconfig.json +++ b/types/survey-knockout/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/svg-injector/tsconfig.json b/types/svg-injector/tsconfig.json index 7c210f991a..5b186e06f2 100644 --- a/types/svg-injector/tsconfig.json +++ b/types/svg-injector/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/svg-pan-zoom/tsconfig.json b/types/svg-pan-zoom/tsconfig.json index 3b59289d74..c304d09b35 100644 --- a/types/svg-pan-zoom/tsconfig.json +++ b/types/svg-pan-zoom/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/svg-pan-zoom/v2/tsconfig.json b/types/svg-pan-zoom/v2/tsconfig.json index 97410ce699..67cb4d7679 100644 --- a/types/svg-pan-zoom/v2/tsconfig.json +++ b/types/svg-pan-zoom/v2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/svg-sprite/tsconfig.json b/types/svg-sprite/tsconfig.json index a53c6742fa..42c44c1ece 100644 --- a/types/svg-sprite/tsconfig.json +++ b/types/svg-sprite/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/svg2png/tsconfig.json b/types/svg2png/tsconfig.json index 70d4957066..fc6537e29b 100644 --- a/types/svg2png/tsconfig.json +++ b/types/svg2png/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "svg2png-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/svg4everybody/tsconfig.json b/types/svg4everybody/tsconfig.json index ea4012184a..b6158fd4e9 100644 --- a/types/svg4everybody/tsconfig.json +++ b/types/svg4everybody/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "svg4everybody-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "svg4everybody-tests.ts" + ] +} \ No newline at end of file diff --git a/types/svgjs.draggable/tsconfig.json b/types/svgjs.draggable/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/svgjs.draggable/tsconfig.json +++ b/types/svgjs.draggable/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/svgjs.resize/tsconfig.json b/types/svgjs.resize/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/svgjs.resize/tsconfig.json +++ b/types/svgjs.resize/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/swag/tsconfig.json b/types/swag/tsconfig.json index 0b38b33860..b2eebb5fc1 100644 --- a/types/swag/tsconfig.json +++ b/types/swag/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/swagger-express-middleware/tsconfig.json b/types/swagger-express-middleware/tsconfig.json index 40cc1dff17..efd56f5cc9 100644 --- a/types/swagger-express-middleware/tsconfig.json +++ b/types/swagger-express-middleware/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/swagger-express-mw/tsconfig.json b/types/swagger-express-mw/tsconfig.json index 423a8846c8..8495da733e 100644 --- a/types/swagger-express-mw/tsconfig.json +++ b/types/swagger-express-mw/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/swagger-hapi/tsconfig.json b/types/swagger-hapi/tsconfig.json index a57f96ee46..78127356a4 100644 --- a/types/swagger-hapi/tsconfig.json +++ b/types/swagger-hapi/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/swagger-jsdoc/tsconfig.json b/types/swagger-jsdoc/tsconfig.json index fe1c71b3bb..109b47bad0 100644 --- a/types/swagger-jsdoc/tsconfig.json +++ b/types/swagger-jsdoc/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/swagger-node-runner/tsconfig.json b/types/swagger-node-runner/tsconfig.json index 0feed321ee..3d7cac28ea 100644 --- a/types/swagger-node-runner/tsconfig.json +++ b/types/swagger-node-runner/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/swagger-parser/tsconfig.json b/types/swagger-parser/tsconfig.json index b7f037b638..bd15ee7e32 100644 --- a/types/swagger-parser/tsconfig.json +++ b/types/swagger-parser/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/swagger-restify-mw/tsconfig.json b/types/swagger-restify-mw/tsconfig.json index 7bff907bdc..1ebe8fc759 100644 --- a/types/swagger-restify-mw/tsconfig.json +++ b/types/swagger-restify-mw/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/swagger-sails-hook/tsconfig.json b/types/swagger-sails-hook/tsconfig.json index 2ab6f31033..8700d1e356 100644 --- a/types/swagger-sails-hook/tsconfig.json +++ b/types/swagger-sails-hook/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/swagger-schema-official/tsconfig.json b/types/swagger-schema-official/tsconfig.json index 0c1bd42407..475a0c4579 100644 --- a/types/swagger-schema-official/tsconfig.json +++ b/types/swagger-schema-official/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/swagger-tools/tsconfig.json b/types/swagger-tools/tsconfig.json index a926cbf792..f00040387f 100644 --- a/types/swagger-tools/tsconfig.json +++ b/types/swagger-tools/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "swagger-tools-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/swaggerize-express/tsconfig.json b/types/swaggerize-express/tsconfig.json index 475ef5b234..1ec57ed7db 100644 --- a/types/swaggerize-express/tsconfig.json +++ b/types/swaggerize-express/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sweetalert/tsconfig.json b/types/sweetalert/tsconfig.json index bd5860e214..a7294d8385 100644 --- a/types/sweetalert/tsconfig.json +++ b/types/sweetalert/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/swfobject/tsconfig.json b/types/swfobject/tsconfig.json index d96af11554..905fa4c7c5 100644 --- a/types/swfobject/tsconfig.json +++ b/types/swfobject/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/swiftclick/tsconfig.json b/types/swiftclick/tsconfig.json index 49d50f45d5..903e78b3ae 100644 --- a/types/swiftclick/tsconfig.json +++ b/types/swiftclick/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/swig-email-templates/tsconfig.json b/types/swig-email-templates/tsconfig.json index 14281a5ed6..b25f125136 100644 --- a/types/swig-email-templates/tsconfig.json +++ b/types/swig-email-templates/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/swig/tsconfig.json b/types/swig/tsconfig.json index 4ef1cc2970..29202d9a09 100644 --- a/types/swig/tsconfig.json +++ b/types/swig/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/swipe/tsconfig.json b/types/swipe/tsconfig.json index 25e8937628..dd8718e5a4 100644 --- a/types/swipe/tsconfig.json +++ b/types/swipe/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/swiper/tsconfig.json b/types/swiper/tsconfig.json index 6160384860..8bde882886 100644 --- a/types/swiper/tsconfig.json +++ b/types/swiper/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/swiper/v2/tsconfig.json b/types/swiper/v2/tsconfig.json index b2a53ae341..3b7f35d0f2 100644 --- a/types/swiper/v2/tsconfig.json +++ b/types/swiper/v2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/swipeview/tsconfig.json b/types/swipeview/tsconfig.json index c7e6f2ba5f..482e330299 100644 --- a/types/swipeview/tsconfig.json +++ b/types/swipeview/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/switchery/tsconfig.json b/types/switchery/tsconfig.json index 63103a8ebd..cd6c171807 100644 --- a/types/switchery/tsconfig.json +++ b/types/switchery/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/swiz/tsconfig.json b/types/swiz/tsconfig.json index 95bdada8d1..9f07ba0306 100644 --- a/types/swiz/tsconfig.json +++ b/types/swiz/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/sylvester/tsconfig.json b/types/sylvester/tsconfig.json index 92ea5d6fe5..1bdc202b83 100644 --- a/types/sylvester/tsconfig.json +++ b/types/sylvester/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/synaptic/tsconfig.json b/types/synaptic/tsconfig.json index 7b19b5910d..a8a8ffa40a 100644 --- a/types/synaptic/tsconfig.json +++ b/types/synaptic/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/systeminformation/tsconfig.json b/types/systeminformation/tsconfig.json index 3e291804fb..d1b0e46f7a 100644 --- a/types/systeminformation/tsconfig.json +++ b/types/systeminformation/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "systeminformation-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "systeminformation-tests.ts" + ] +} \ No newline at end of file diff --git a/types/systemjs/tsconfig.json b/types/systemjs/tsconfig.json index 14e365e030..0bfbfa8a16 100644 --- a/types/systemjs/tsconfig.json +++ b/types/systemjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/table/tsconfig.json b/types/table/tsconfig.json index deaa89022e..6aee73e7c0 100644 --- a/types/table/tsconfig.json +++ b/types/table/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tabtab/tsconfig.json b/types/tabtab/tsconfig.json index c95b49a200..b2098e5326 100644 --- a/types/tabtab/tsconfig.json +++ b/types/tabtab/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tabulator/tsconfig.json b/types/tabulator/tsconfig.json index 32db9cfaad..d094f72c74 100644 --- a/types/tabulator/tsconfig.json +++ b/types/tabulator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "tabulator-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/tapable/tsconfig.json b/types/tapable/tsconfig.json index 051e7cfe76..c1a629a0a0 100644 --- a/types/tapable/tsconfig.json +++ b/types/tapable/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tape/tsconfig.json b/types/tape/tsconfig.json index 0508492e1a..14b29b4be3 100644 --- a/types/tape/tsconfig.json +++ b/types/tape/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tar/tsconfig.json b/types/tar/tsconfig.json index 29d0170b3b..103befc21b 100644 --- a/types/tar/tsconfig.json +++ b/types/tar/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tea-merge/tsconfig.json b/types/tea-merge/tsconfig.json index c49ccda90b..0af0988abf 100644 --- a/types/tea-merge/tsconfig.json +++ b/types/tea-merge/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tedious-connection-pool/tsconfig.json b/types/tedious-connection-pool/tsconfig.json index 3c88e6fb5c..cd636ad876 100644 --- a/types/tedious-connection-pool/tsconfig.json +++ b/types/tedious-connection-pool/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tedious/tsconfig.json b/types/tedious/tsconfig.json index e8edcb0a1a..6b1c2d58eb 100644 --- a/types/tedious/tsconfig.json +++ b/types/tedious/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/teechart/tsconfig.json b/types/teechart/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/teechart/tsconfig.json +++ b/types/teechart/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/telebot/tsconfig.json b/types/telebot/tsconfig.json index 1a01e3b413..df24dd318b 100644 --- a/types/telebot/tsconfig.json +++ b/types/telebot/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "telebot-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/temp-fs/tsconfig.json b/types/temp-fs/tsconfig.json index c741d6824b..7f99f0f62a 100644 --- a/types/temp-fs/tsconfig.json +++ b/types/temp-fs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/temp-write/tsconfig.json b/types/temp-write/tsconfig.json index 9d33c2c4b2..e841595edb 100644 --- a/types/temp-write/tsconfig.json +++ b/types/temp-write/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "temp-write-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/temp/tsconfig.json b/types/temp/tsconfig.json index 8544b283f1..f7e1902067 100644 --- a/types/temp/tsconfig.json +++ b/types/temp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tempfile/tsconfig.json b/types/tempfile/tsconfig.json index 0a2e750fbb..2f31cafb72 100644 --- a/types/tempfile/tsconfig.json +++ b/types/tempfile/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "tempfile-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/tempy/tsconfig.json b/types/tempy/tsconfig.json index a0716fb0c9..d6216873d6 100644 --- a/types/tempy/tsconfig.json +++ b/types/tempy/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "tempy-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/terminal-menu/tsconfig.json b/types/terminal-menu/tsconfig.json index 3b2a45653a..0ffdb3da4c 100644 --- a/types/terminal-menu/tsconfig.json +++ b/types/terminal-menu/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tesseract.js/tsconfig.json b/types/tesseract.js/tsconfig.json index 00efae647e..0214ea15e4 100644 --- a/types/tesseract.js/tsconfig.json +++ b/types/tesseract.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/testingbot-api/tsconfig.json b/types/testingbot-api/tsconfig.json index bda7118dd7..f0bd06bb1b 100644 --- a/types/testingbot-api/tsconfig.json +++ b/types/testingbot-api/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "testingbot-api-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/tether-drop/tsconfig.json b/types/tether-drop/tsconfig.json index 49ff4f1e23..c1dc9928ec 100644 --- a/types/tether-drop/tsconfig.json +++ b/types/tether-drop/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tether-shepherd/tsconfig.json b/types/tether-shepherd/tsconfig.json index d5b78d9443..ff7a78897d 100644 --- a/types/tether-shepherd/tsconfig.json +++ b/types/tether-shepherd/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tether/tsconfig.json b/types/tether/tsconfig.json index 587aad20ab..5286a98289 100644 --- a/types/tether/tsconfig.json +++ b/types/tether/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/text-buffer/tsconfig.json b/types/text-buffer/tsconfig.json index cdb73c99ce..786f6efe5e 100644 --- a/types/text-buffer/tsconfig.json +++ b/types/text-buffer/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "text-buffer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/text-buffer/v0/tsconfig.json b/types/text-buffer/v0/tsconfig.json index 3acf4b7176..d6dcbb8c5d 100644 --- a/types/text-buffer/v0/tsconfig.json +++ b/types/text-buffer/v0/tsconfig.json @@ -8,12 +8,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "text-buffer": [ "text-buffer/v0" ] + "text-buffer": [ + "text-buffer/v0" + ] }, "types": [], "noEmit": true, @@ -23,4 +26,4 @@ "index.d.ts", "text-buffer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/text-encoding/tsconfig.json b/types/text-encoding/tsconfig.json index 6fa9e20d3e..898180941a 100644 --- a/types/text-encoding/tsconfig.json +++ b/types/text-encoding/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/three/tsconfig.json b/types/three/tsconfig.json index b3bb3fc8f7..1e615b65b1 100644 --- a/types/three/tsconfig.json +++ b/types/three/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -55,4 +56,4 @@ "test/examples/octree.ts", "test/examples/loaders/webgl_loader_obj_mtl.ts" ] -} +} \ No newline at end of file diff --git a/types/thrift/tsconfig.json b/types/thrift/tsconfig.json index 9f258d3831..9bcbced4ee 100644 --- a/types/thrift/tsconfig.json +++ b/types/thrift/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "thrift-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/throng/tsconfig.json b/types/throng/tsconfig.json index e462697395..20b9b46d85 100644 --- a/types/throng/tsconfig.json +++ b/types/throng/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "throng-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/throttle/tsconfig.json b/types/throttle/tsconfig.json index cae021792d..f05aae2e84 100644 --- a/types/throttle/tsconfig.json +++ b/types/throttle/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "throttle-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/through/tsconfig.json b/types/through/tsconfig.json index 4695bf66b7..88c7abb2fd 100644 --- a/types/through/tsconfig.json +++ b/types/through/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/through2-map/tsconfig.json b/types/through2-map/tsconfig.json index b20edc8d85..282a192f4d 100644 --- a/types/through2-map/tsconfig.json +++ b/types/through2-map/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "through2-map-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/through2/tsconfig.json b/types/through2/tsconfig.json index c979de9e7c..c5c6eaa6b1 100644 --- a/types/through2/tsconfig.json +++ b/types/through2/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/through2/v0/tsconfig.json b/types/through2/v0/tsconfig.json index 82bfaceb14..ea1529c9fe 100644 --- a/types/through2/v0/tsconfig.json +++ b/types/through2/v0/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/tile-reduce/tsconfig.json b/types/tile-reduce/tsconfig.json index a2cfe5de53..2afad7ef56 100644 --- a/types/tile-reduce/tsconfig.json +++ b/types/tile-reduce/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tilebelt/tsconfig.json b/types/tilebelt/tsconfig.json index 52a90d089c..f6c2ff2e44 100644 --- a/types/tilebelt/tsconfig.json +++ b/types/tilebelt/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/time-span/tsconfig.json b/types/time-span/tsconfig.json index c872de67cd..b17a400526 100644 --- a/types/time-span/tsconfig.json +++ b/types/time-span/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "time-span-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/timelinejs/tsconfig.json b/types/timelinejs/tsconfig.json index eb55139ab4..82cb5dd197 100644 --- a/types/timelinejs/tsconfig.json +++ b/types/timelinejs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/timelinejs3/tsconfig.json b/types/timelinejs3/tsconfig.json index 89d36668ff..7f26ea1538 100644 --- a/types/timelinejs3/tsconfig.json +++ b/types/timelinejs3/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/timer-machine/tsconfig.json b/types/timer-machine/tsconfig.json index e29ee58719..31cb1bb2e9 100644 --- a/types/timer-machine/tsconfig.json +++ b/types/timer-machine/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/timezone-js/tsconfig.json b/types/timezone-js/tsconfig.json index 3bff64219e..dac1b5d822 100644 --- a/types/timezone-js/tsconfig.json +++ b/types/timezone-js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/timezonecomplete/tsconfig.json b/types/timezonecomplete/tsconfig.json index 15c628ec36..57312fb0fe 100644 --- a/types/timezonecomplete/tsconfig.json +++ b/types/timezonecomplete/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tinder/tsconfig.json b/types/tinder/tsconfig.json index 43c246b5bc..992b6386e5 100644 --- a/types/tinder/tsconfig.json +++ b/types/tinder/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tinycolor2/tsconfig.json b/types/tinycolor2/tsconfig.json index 2ffb410d0c..c0f4741d8a 100644 --- a/types/tinycolor2/tsconfig.json +++ b/types/tinycolor2/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tinycopy/tsconfig.json b/types/tinycopy/tsconfig.json index adb447485a..8e9af169a5 100644 --- a/types/tinycopy/tsconfig.json +++ b/types/tinycopy/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tinymce/tsconfig.json b/types/tinymce/tsconfig.json index 4dedb0a510..f0922aa2af 100644 --- a/types/tinymce/tsconfig.json +++ b/types/tinymce/tsconfig.json @@ -7,6 +7,7 @@ ], "noImplicitAny": true, "strictNullChecks": true, + "strictFunctionTypes": true, "noImplicitThis": true, "baseUrl": "../", "typeRoots": [ diff --git a/types/titanium/tsconfig.json b/types/titanium/tsconfig.json index 1a74532b51..86e5902e63 100644 --- a/types/titanium/tsconfig.json +++ b/types/titanium/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/title/tsconfig.json b/types/title/tsconfig.json index a137c2558d..ea4f963262 100644 --- a/types/title/tsconfig.json +++ b/types/title/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tldjs/tsconfig.json b/types/tldjs/tsconfig.json index 321dd1ae3f..160d2d2816 100644 --- a/types/tldjs/tsconfig.json +++ b/types/tldjs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tmp/tsconfig.json b/types/tmp/tsconfig.json index 1564e6f13d..0633fc875e 100644 --- a/types/tmp/tsconfig.json +++ b/types/tmp/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/to-camel-case/tsconfig.json b/types/to-camel-case/tsconfig.json index d9eb293d4c..4353053896 100644 --- a/types/to-camel-case/tsconfig.json +++ b/types/to-camel-case/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "to-camel-case-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/to-markdown/tsconfig.json b/types/to-markdown/tsconfig.json index 17519f6d5d..ee0626d37e 100644 --- a/types/to-markdown/tsconfig.json +++ b/types/to-markdown/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "to-markdown-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/to-title-case-gouch/tsconfig.json b/types/to-title-case-gouch/tsconfig.json index f470d1561c..e888de43b8 100644 --- a/types/to-title-case-gouch/tsconfig.json +++ b/types/to-title-case-gouch/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/toastr/tsconfig.json b/types/toastr/tsconfig.json index a3c9da8ca3..6714a59824 100644 --- a/types/toastr/tsconfig.json +++ b/types/toastr/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tocktimer/tsconfig.json b/types/tocktimer/tsconfig.json index 131bc07cde..27e7f3a17e 100644 --- a/types/tocktimer/tsconfig.json +++ b/types/tocktimer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "tocktimer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/tooltipster/tsconfig.json b/types/tooltipster/tsconfig.json index daa1d025d8..4f2b8baead 100644 --- a/types/tooltipster/tsconfig.json +++ b/types/tooltipster/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/topojson/tsconfig.json b/types/topojson/tsconfig.json index 0f3148453b..339e9a307d 100644 --- a/types/topojson/tsconfig.json +++ b/types/topojson/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "topojson-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/torrent-stream/tsconfig.json b/types/torrent-stream/tsconfig.json index dd84f3eab4..cf5dc64a44 100644 --- a/types/torrent-stream/tsconfig.json +++ b/types/torrent-stream/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/touch-events/tsconfig.json b/types/touch-events/tsconfig.json index 1e40bfa787..8ac8a7c23e 100644 --- a/types/touch-events/tsconfig.json +++ b/types/touch-events/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/touch/tsconfig.json b/types/touch/tsconfig.json index c0f6b7fd28..dfac4eaa59 100644 --- a/types/touch/tsconfig.json +++ b/types/touch/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tough-cookie/tsconfig.json b/types/tough-cookie/tsconfig.json index 7c324c4ec3..970d0303b9 100644 --- a/types/tough-cookie/tsconfig.json +++ b/types/tough-cookie/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "tough-cookie-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/traceback/tsconfig.json b/types/traceback/tsconfig.json index 2ceed80a5f..3467f3ed5e 100644 --- a/types/traceback/tsconfig.json +++ b/types/traceback/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tracking/tsconfig.json b/types/tracking/tsconfig.json index 4e8791c688..31c4aecc19 100644 --- a/types/tracking/tsconfig.json +++ b/types/tracking/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/transducers-js/tsconfig.json b/types/transducers-js/tsconfig.json index 3a49663656..e22b22820c 100644 --- a/types/transducers-js/tsconfig.json +++ b/types/transducers-js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/transducers.js/tsconfig.json b/types/transducers.js/tsconfig.json index 9d2e6f5b96..64328c8755 100644 --- a/types/transducers.js/tsconfig.json +++ b/types/transducers.js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "transducers.js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/traverse/tsconfig.json b/types/traverse/tsconfig.json index dc8ad3b6f9..d2d7dfea04 100644 --- a/types/traverse/tsconfig.json +++ b/types/traverse/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/traverson/tsconfig.json b/types/traverson/tsconfig.json index bcbcf61f9e..615fd9677e 100644 --- a/types/traverson/tsconfig.json +++ b/types/traverson/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/trayballoon/tsconfig.json b/types/trayballoon/tsconfig.json index 95fcb69bdd..e5e8cc7fa6 100644 --- a/types/trayballoon/tsconfig.json +++ b/types/trayballoon/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/trim/tsconfig.json b/types/trim/tsconfig.json index dbdb33c2a2..bcea356412 100644 --- a/types/trim/tsconfig.json +++ b/types/trim/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/trunk8/tsconfig.json b/types/trunk8/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/trunk8/tsconfig.json +++ b/types/trunk8/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tspromise/tsconfig.json b/types/tspromise/tsconfig.json index 140164ed23..d2af852afd 100644 --- a/types/tspromise/tsconfig.json +++ b/types/tspromise/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tunnel/tsconfig.json b/types/tunnel/tsconfig.json index 6b7ab12383..55219f49a6 100644 --- a/types/tunnel/tsconfig.json +++ b/types/tunnel/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "tunnel-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/turf/tsconfig.json b/types/turf/tsconfig.json index 8e175eaeff..344431ad7a 100644 --- a/types/turf/tsconfig.json +++ b/types/turf/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/turf/v2/tsconfig.json b/types/turf/v2/tsconfig.json index 17dfbed06a..ce4a40bcfa 100644 --- a/types/turf/v2/tsconfig.json +++ b/types/turf/v2/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/tus-js-client/tsconfig.json b/types/tus-js-client/tsconfig.json index fdb3cf2814..ca60cc6a34 100644 --- a/types/tus-js-client/tsconfig.json +++ b/types/tus-js-client/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "tus-js-client-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/tv4/tsconfig.json b/types/tv4/tsconfig.json index 9966506a52..17ed10aeac 100644 --- a/types/tv4/tsconfig.json +++ b/types/tv4/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tween.js/tsconfig.json b/types/tween.js/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/tween.js/tsconfig.json +++ b/types/tween.js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tweenjs/tsconfig.json b/types/tweenjs/tsconfig.json index 21a7836deb..606261f03f 100644 --- a/types/tweenjs/tsconfig.json +++ b/types/tweenjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tweezer.js/tsconfig.json b/types/tweezer.js/tsconfig.json index 801c03fe35..a2fe795fb5 100644 --- a/types/tweezer.js/tsconfig.json +++ b/types/tweezer.js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/twig/tsconfig.json b/types/twig/tsconfig.json index fd6b6b4b50..e51c10b126 100644 --- a/types/twig/tsconfig.json +++ b/types/twig/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/twilio/tsconfig.json b/types/twilio/tsconfig.json index 805d02ab2f..893fb3276f 100644 --- a/types/twilio/tsconfig.json +++ b/types/twilio/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/twit/tsconfig.json b/types/twit/tsconfig.json index 3281b7f556..e9c475d064 100644 --- a/types/twit/tsconfig.json +++ b/types/twit/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/twitter-stream-channels/tsconfig.json b/types/twitter-stream-channels/tsconfig.json index 720a88392b..176fe10f41 100644 --- a/types/twitter-stream-channels/tsconfig.json +++ b/types/twitter-stream-channels/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/twitter-text/tsconfig.json b/types/twitter-text/tsconfig.json index f8f5153059..d91d87aa20 100644 --- a/types/twitter-text/tsconfig.json +++ b/types/twitter-text/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/twitter/tsconfig.json b/types/twitter/tsconfig.json index 0f9fb72507..f57f1c2156 100644 --- a/types/twitter/tsconfig.json +++ b/types/twitter/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/twix/tsconfig.json b/types/twix/tsconfig.json index e766b0a90a..b8f65213a1 100644 --- a/types/twix/tsconfig.json +++ b/types/twix/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/type-check/tsconfig.json b/types/type-check/tsconfig.json index fbf2a87095..05111076bd 100644 --- a/types/type-check/tsconfig.json +++ b/types/type-check/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/type-detect/tsconfig.json b/types/type-detect/tsconfig.json index 944294242b..f8ac2f8c7d 100644 --- a/types/type-detect/tsconfig.json +++ b/types/type-detect/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/type-is/tsconfig.json b/types/type-is/tsconfig.json index 7bd23fd4fb..9c0663c3e2 100644 --- a/types/type-is/tsconfig.json +++ b/types/type-is/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "type-is-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/type-name/tsconfig.json b/types/type-name/tsconfig.json index e22da46f53..e1b8d8d5d0 100644 --- a/types/type-name/tsconfig.json +++ b/types/type-name/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/typeahead/tsconfig.json b/types/typeahead/tsconfig.json index ce079b5520..2699625f50 100644 --- a/types/typeahead/tsconfig.json +++ b/types/typeahead/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/typedarray-pool/tsconfig.json b/types/typedarray-pool/tsconfig.json index f73dcf6120..6a915ea9b1 100644 --- a/types/typedarray-pool/tsconfig.json +++ b/types/typedarray-pool/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/typescript-deferred/tsconfig.json b/types/typescript-deferred/tsconfig.json index 0a783ef810..4e7d5da179 100644 --- a/types/typescript-deferred/tsconfig.json +++ b/types/typescript-deferred/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/tz-format/tsconfig.json b/types/tz-format/tsconfig.json index 0cf57971cb..524fdf38df 100644 --- a/types/tz-format/tsconfig.json +++ b/types/tz-format/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ua-parser-js/tsconfig.json b/types/ua-parser-js/tsconfig.json index 32bd466dc1..fadebdfdbb 100644 --- a/types/ua-parser-js/tsconfig.json +++ b/types/ua-parser-js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/uglify-js/tsconfig.json b/types/uglify-js/tsconfig.json index 755ecbfb10..314b32b709 100644 --- a/types/uglify-js/tsconfig.json +++ b/types/uglify-js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/uglifycss/tsconfig.json b/types/uglifycss/tsconfig.json index 85ad50d22a..a5b1cb6a01 100644 --- a/types/uglifycss/tsconfig.json +++ b/types/uglifycss/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ui-grid/tsconfig.json b/types/ui-grid/tsconfig.json index e8794ad589..cd43ea45d4 100644 --- a/types/ui-grid/tsconfig.json +++ b/types/ui-grid/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ui-router-extras/tsconfig.json b/types/ui-router-extras/tsconfig.json index f97c3a02d9..fa8f22e667 100644 --- a/types/ui-router-extras/tsconfig.json +++ b/types/ui-router-extras/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ui-select/tsconfig.json b/types/ui-select/tsconfig.json index 14d28d2fd1..c6188861f2 100644 --- a/types/ui-select/tsconfig.json +++ b/types/ui-select/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/uid-safe/tsconfig.json b/types/uid-safe/tsconfig.json index 19301a1a56..4a0a4a03a4 100644 --- a/types/uid-safe/tsconfig.json +++ b/types/uid-safe/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/uikit/tsconfig.json b/types/uikit/tsconfig.json index 59da9e6ea2..486a3184e8 100644 --- a/types/uikit/tsconfig.json +++ b/types/uikit/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/uk.co.workingedge.phonegap.plugin.launchnavigator/tsconfig.json b/types/uk.co.workingedge.phonegap.plugin.launchnavigator/tsconfig.json index d0333af9fa..a6bd2c9ec0 100644 --- a/types/uk.co.workingedge.phonegap.plugin.launchnavigator/tsconfig.json +++ b/types/uk.co.workingedge.phonegap.plugin.launchnavigator/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/umbraco/tsconfig.json b/types/umbraco/tsconfig.json index d3d367b15c..286d8c0496 100644 --- a/types/umbraco/tsconfig.json +++ b/types/umbraco/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/umd/tsconfig.json b/types/umd/tsconfig.json index 6327c1cf47..fcfcb24f99 100644 --- a/types/umd/tsconfig.json +++ b/types/umd/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/umzug/tsconfig.json b/types/umzug/tsconfig.json index 2ecd125878..1d66f656f8 100644 --- a/types/umzug/tsconfig.json +++ b/types/umzug/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/underscore-ko/tsconfig.json b/types/underscore-ko/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/underscore-ko/tsconfig.json +++ b/types/underscore-ko/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/underscore.string/tsconfig.json b/types/underscore.string/tsconfig.json index 2faf88bff9..b2222f4d8b 100644 --- a/types/underscore.string/tsconfig.json +++ b/types/underscore.string/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/underscore/tsconfig.json b/types/underscore/tsconfig.json index a73adc6c5d..549c23e027 100644 --- a/types/underscore/tsconfig.json +++ b/types/underscore/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "underscore-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/undertaker-registry/tsconfig.json b/types/undertaker-registry/tsconfig.json index f3fbd2389f..4cedc8febc 100644 --- a/types/undertaker-registry/tsconfig.json +++ b/types/undertaker-registry/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "undertaker-registry-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/undertaker/tsconfig.json b/types/undertaker/tsconfig.json index 98ec0075c9..55aaee01b5 100644 --- a/types/undertaker/tsconfig.json +++ b/types/undertaker/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/uniq/tsconfig.json b/types/uniq/tsconfig.json index 94a4616a04..db4cf0e58f 100644 --- a/types/uniq/tsconfig.json +++ b/types/uniq/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/uniqid/tsconfig.json b/types/uniqid/tsconfig.json index 437a215958..e081325ae9 100644 --- a/types/uniqid/tsconfig.json +++ b/types/uniqid/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "uniqid-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/unique-hash-stream/tsconfig.json b/types/unique-hash-stream/tsconfig.json index 44d0966096..0a8fe10caa 100644 --- a/types/unique-hash-stream/tsconfig.json +++ b/types/unique-hash-stream/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "unique-hash-stream-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/unique-random/tsconfig.json b/types/unique-random/tsconfig.json index 2a2190f467..7ee86c0a03 100644 --- a/types/unique-random/tsconfig.json +++ b/types/unique-random/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/unist/tsconfig.json b/types/unist/tsconfig.json index 0ba86f9b59..c9f03c2264 100644 --- a/types/unist/tsconfig.json +++ b/types/unist/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "unist-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/unity-webapi/tsconfig.json b/types/unity-webapi/tsconfig.json index 206ebe6339..c400be527d 100644 --- a/types/unity-webapi/tsconfig.json +++ b/types/unity-webapi/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/universal-analytics/tsconfig.json b/types/universal-analytics/tsconfig.json index cb5aa2ddc0..6e301dc22c 100644 --- a/types/universal-analytics/tsconfig.json +++ b/types/universal-analytics/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/universal-router/tsconfig.json b/types/universal-router/tsconfig.json index ca76eb8955..c83170c372 100644 --- a/types/universal-router/tsconfig.json +++ b/types/universal-router/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/unorm/tsconfig.json b/types/unorm/tsconfig.json index fb560bd2bf..55846e2d3e 100644 --- a/types/unorm/tsconfig.json +++ b/types/unorm/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/untildify/tsconfig.json b/types/untildify/tsconfig.json index b0f87787e5..75bfdd7d3e 100644 --- a/types/untildify/tsconfig.json +++ b/types/untildify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "untildify-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/unused-filename/tsconfig.json b/types/unused-filename/tsconfig.json index 1bda71daf8..da9da24039 100644 --- a/types/unused-filename/tsconfig.json +++ b/types/unused-filename/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "unused-filename-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/update-notifier/tsconfig.json b/types/update-notifier/tsconfig.json index 58d52df1bf..df8ad3f8ed 100644 --- a/types/update-notifier/tsconfig.json +++ b/types/update-notifier/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/uppercamelcase/tsconfig.json b/types/uppercamelcase/tsconfig.json index c5a1338d73..07fc20a92b 100644 --- a/types/uppercamelcase/tsconfig.json +++ b/types/uppercamelcase/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "uppercamelcase-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/urbanairship-cordova/tsconfig.json b/types/urbanairship-cordova/tsconfig.json index 72259a34bf..d00b30f908 100644 --- a/types/urbanairship-cordova/tsconfig.json +++ b/types/urbanairship-cordova/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/uri-templates/tsconfig.json b/types/uri-templates/tsconfig.json index f6812b7767..fde5970591 100644 --- a/types/uri-templates/tsconfig.json +++ b/types/uri-templates/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/urijs/tsconfig.json b/types/urijs/tsconfig.json index 6dc8501579..17ecc01182 100644 --- a/types/urijs/tsconfig.json +++ b/types/urijs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/uritemplate/tsconfig.json b/types/uritemplate/tsconfig.json index fecfffe416..d2778846fe 100644 --- a/types/uritemplate/tsconfig.json +++ b/types/uritemplate/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/url-assembler/tsconfig.json b/types/url-assembler/tsconfig.json index ae213e8bc0..5b754bb418 100644 --- a/types/url-assembler/tsconfig.json +++ b/types/url-assembler/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "url-assembler-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/url-join/tsconfig.json b/types/url-join/tsconfig.json index 3f89e8f618..fdbf7a8a9c 100644 --- a/types/url-join/tsconfig.json +++ b/types/url-join/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/url-parse/tsconfig.json b/types/url-parse/tsconfig.json index 2847a21a41..ca6fdbf187 100644 --- a/types/url-parse/tsconfig.json +++ b/types/url-parse/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/url-regex/tsconfig.json b/types/url-regex/tsconfig.json index 702fe52acc..e78f1f0e5d 100644 --- a/types/url-regex/tsconfig.json +++ b/types/url-regex/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "url-regex-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/url-search-params/tsconfig.json b/types/url-search-params/tsconfig.json index a71d65e617..c67e1d9f93 100644 --- a/types/url-search-params/tsconfig.json +++ b/types/url-search-params/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "url-search-params-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/url-template/tsconfig.json b/types/url-template/tsconfig.json index 58e06bc684..b6851260ad 100644 --- a/types/url-template/tsconfig.json +++ b/types/url-template/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/urlrouter/tsconfig.json b/types/urlrouter/tsconfig.json index a5f19ed019..dbb5bdd0f0 100644 --- a/types/urlrouter/tsconfig.json +++ b/types/urlrouter/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/urlsafe-base64/tsconfig.json b/types/urlsafe-base64/tsconfig.json index 2cbec836ca..a3a79d6fb0 100644 --- a/types/urlsafe-base64/tsconfig.json +++ b/types/urlsafe-base64/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/usage/tsconfig.json b/types/usage/tsconfig.json index e4470ea69e..417ff3267d 100644 --- a/types/usage/tsconfig.json +++ b/types/usage/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/usb/tsconfig.json b/types/usb/tsconfig.json index bcff308bef..ba316ad2d1 100644 --- a/types/usb/tsconfig.json +++ b/types/usb/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/user-home/tsconfig.json b/types/user-home/tsconfig.json index 8bba4b7597..dd35bdbe98 100644 --- a/types/user-home/tsconfig.json +++ b/types/user-home/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/useragent/tsconfig.json b/types/useragent/tsconfig.json index fe9ea46600..5ce0443620 100644 --- a/types/useragent/tsconfig.json +++ b/types/useragent/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/username/tsconfig.json b/types/username/tsconfig.json index 77a82aef36..f1ff2eeb4a 100644 --- a/types/username/tsconfig.json +++ b/types/username/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/utf8/tsconfig.json b/types/utf8/tsconfig.json index b65d93679a..673b72ce14 100644 --- a/types/utf8/tsconfig.json +++ b/types/utf8/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/util-deprecate/tsconfig.json b/types/util-deprecate/tsconfig.json index 55fbd05d0b..cdfa8aa957 100644 --- a/types/util-deprecate/tsconfig.json +++ b/types/util-deprecate/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "util-deprecate-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/util.promisify/tsconfig.json b/types/util.promisify/tsconfig.json index c924d659a3..041c10a94c 100644 --- a/types/util.promisify/tsconfig.json +++ b/types/util.promisify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "util.promisify-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/utils-merge/tsconfig.json b/types/utils-merge/tsconfig.json index 4f41e448c0..a841cf3ef3 100644 --- a/types/utils-merge/tsconfig.json +++ b/types/utils-merge/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/uuid-1345/tsconfig.json b/types/uuid-1345/tsconfig.json index e9b5a64370..cd69f6f3b8 100644 --- a/types/uuid-1345/tsconfig.json +++ b/types/uuid-1345/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/uuid-js/tsconfig.json b/types/uuid-js/tsconfig.json index dbb214b17d..959ae5bc26 100644 --- a/types/uuid-js/tsconfig.json +++ b/types/uuid-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/uuid-validate/tsconfig.json b/types/uuid-validate/tsconfig.json index 10b20e3173..037d808448 100644 --- a/types/uuid-validate/tsconfig.json +++ b/types/uuid-validate/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -18,6 +19,6 @@ }, "files": [ "index.d.ts", - "uuid-validate-tests.ts" + "uuid-validate-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/uuid/tsconfig.json b/types/uuid/tsconfig.json index 627132852a..ce6d909022 100644 --- a/types/uuid/tsconfig.json +++ b/types/uuid/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -23,4 +24,4 @@ "interfaces.d.ts", "uuid-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/uuid/v2/tsconfig.json b/types/uuid/v2/tsconfig.json index 921084e8e4..06847b515e 100644 --- a/types/uuid/v2/tsconfig.json +++ b/types/uuid/v2/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "paths": { - "uuid": ["uuid/v2"] + "uuid": [ + "uuid/v2" + ] }, "types": [], "noEmit": true, @@ -22,4 +25,4 @@ "index.d.ts", "uuid-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/uuidjs/tsconfig.json b/types/uuidjs/tsconfig.json index 2ebca98eba..ee3725fc8f 100644 --- a/types/uuidjs/tsconfig.json +++ b/types/uuidjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/uws/tsconfig.json b/types/uws/tsconfig.json index fbce3fad6f..fe7f021800 100644 --- a/types/uws/tsconfig.json +++ b/types/uws/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/v8-profiler/tsconfig.json b/types/v8-profiler/tsconfig.json index d5f038d38d..0d065aaad5 100644 --- a/types/v8-profiler/tsconfig.json +++ b/types/v8-profiler/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/valdr-message/tsconfig.json b/types/valdr-message/tsconfig.json index d83b2c8513..ca46410452 100644 --- a/types/valdr-message/tsconfig.json +++ b/types/valdr-message/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/valdr/tsconfig.json b/types/valdr/tsconfig.json index d5814af6f4..0f55a41f43 100644 --- a/types/valdr/tsconfig.json +++ b/types/valdr/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/valerie/tsconfig.json b/types/valerie/tsconfig.json index 5b89a2b8ab..e943ca70f9 100644 --- a/types/valerie/tsconfig.json +++ b/types/valerie/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/valid-url/tsconfig.json b/types/valid-url/tsconfig.json index a4da86ed13..9ae1f983bc 100644 --- a/types/valid-url/tsconfig.json +++ b/types/valid-url/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/validate.js/tsconfig.json b/types/validate.js/tsconfig.json index 31ed494863..3da830187f 100644 --- a/types/validate.js/tsconfig.json +++ b/types/validate.js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/validator/tsconfig.json b/types/validator/tsconfig.json index 480d163a25..720a2e79c8 100644 --- a/types/validator/tsconfig.json +++ b/types/validator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/validatorjs/tsconfig.json b/types/validatorjs/tsconfig.json index 409dcef8df..3fda638aea 100644 --- a/types/validatorjs/tsconfig.json +++ b/types/validatorjs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/vanilla-tilt/tsconfig.json b/types/vanilla-tilt/tsconfig.json index f95783a19d..71d85c07ab 100644 --- a/types/vanilla-tilt/tsconfig.json +++ b/types/vanilla-tilt/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "vanilla-tilt-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "vanilla-tilt-tests.ts" + ] +} \ No newline at end of file diff --git a/types/vary/tsconfig.json b/types/vary/tsconfig.json index a123095408..8dc896220b 100644 --- a/types/vary/tsconfig.json +++ b/types/vary/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "vary-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/vast-client/tsconfig.json b/types/vast-client/tsconfig.json index 5ab6b994a8..106b26913c 100644 --- a/types/vast-client/tsconfig.json +++ b/types/vast-client/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "vast-client-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "vast-client-tests.ts" + ] +} \ No newline at end of file diff --git a/types/vec3/tsconfig.json b/types/vec3/tsconfig.json index b7a9ca5a71..05cbd739f7 100644 --- a/types/vec3/tsconfig.json +++ b/types/vec3/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/vectorious/tsconfig.json b/types/vectorious/tsconfig.json index 6363fb29b0..6b0974b0ac 100644 --- a/types/vectorious/tsconfig.json +++ b/types/vectorious/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/vega/tsconfig.json b/types/vega/tsconfig.json index a15bdb6a7a..f49e5e811b 100644 --- a/types/vega/tsconfig.json +++ b/types/vega/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/velocity-animate/tsconfig.json b/types/velocity-animate/tsconfig.json index bbdc104c10..a43f8fa036 100644 --- a/types/velocity-animate/tsconfig.json +++ b/types/velocity-animate/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/verror/tsconfig.json b/types/verror/tsconfig.json index 16393e8995..478972649d 100644 --- a/types/verror/tsconfig.json +++ b/types/verror/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/vertx3-eventbus-client/tsconfig.json b/types/vertx3-eventbus-client/tsconfig.json index 07390b013d..b7e963d3d4 100644 --- a/types/vertx3-eventbus-client/tsconfig.json +++ b/types/vertx3-eventbus-client/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "vertx3-eventbus-client-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/vex-js/tsconfig.json b/types/vex-js/tsconfig.json index 569a24122c..bb63a4aad4 100644 --- a/types/vex-js/tsconfig.json +++ b/types/vex-js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/vexflow/tsconfig.json b/types/vexflow/tsconfig.json index 9f7633fe2e..6ca1cf5f8a 100644 --- a/types/vexflow/tsconfig.json +++ b/types/vexflow/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "vexflow-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/vfile/tsconfig.json b/types/vfile/tsconfig.json index af04818380..7f30404056 100644 --- a/types/vfile/tsconfig.json +++ b/types/vfile/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -17,7 +18,6 @@ }, "files": [ "index.d.ts", - "vfile-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/victor/tsconfig.json b/types/victor/tsconfig.json index b11cf5bbc8..8ce6a32927 100644 --- a/types/victor/tsconfig.json +++ b/types/victor/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/victory/tsconfig.json b/types/victory/tsconfig.json index b088744528..a12b6074c7 100644 --- a/types/victory/tsconfig.json +++ b/types/victory/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/video.js/tsconfig.json b/types/video.js/tsconfig.json index 349338b477..3946d11571 100644 --- a/types/video.js/tsconfig.json +++ b/types/video.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/viewability-helper/tsconfig.json b/types/viewability-helper/tsconfig.json index d82bd3708a..fd64db5703 100644 --- a/types/viewability-helper/tsconfig.json +++ b/types/viewability-helper/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "viewability-helper-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/viewerjs/tsconfig.json b/types/viewerjs/tsconfig.json index 41d84c8380..144a0a0fc1 100644 --- a/types/viewerjs/tsconfig.json +++ b/types/viewerjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/viewporter/tsconfig.json b/types/viewporter/tsconfig.json index 88795d6b92..cd83af4238 100644 --- a/types/viewporter/tsconfig.json +++ b/types/viewporter/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/vimeo/tsconfig.json b/types/vimeo/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/vimeo/tsconfig.json +++ b/types/vimeo/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/vimeo__player/tsconfig.json b/types/vimeo__player/tsconfig.json index 5234a318b6..d2875c251f 100644 --- a/types/vimeo__player/tsconfig.json +++ b/types/vimeo__player/tsconfig.json @@ -8,13 +8,16 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "types": [], "paths": { - "@vimeo/player": ["vimeo__player"] + "@vimeo/player": [ + "vimeo__player" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/vinyl-buffer/tsconfig.json b/types/vinyl-buffer/tsconfig.json index 93296b534b..a3d680f61e 100644 --- a/types/vinyl-buffer/tsconfig.json +++ b/types/vinyl-buffer/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/vinyl-fs/tsconfig.json b/types/vinyl-fs/tsconfig.json index d8cea65d47..6f041838fd 100644 --- a/types/vinyl-fs/tsconfig.json +++ b/types/vinyl-fs/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": false, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "vinyl-fs-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": false, + "strictNullChecks": false, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "vinyl-fs-tests.ts" + ] +} \ No newline at end of file diff --git a/types/vinyl-paths/tsconfig.json b/types/vinyl-paths/tsconfig.json index 126374df8c..231e345008 100644 --- a/types/vinyl-paths/tsconfig.json +++ b/types/vinyl-paths/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/vinyl-source-stream/tsconfig.json b/types/vinyl-source-stream/tsconfig.json index ef3c4de3b7..7d29c29e60 100644 --- a/types/vinyl-source-stream/tsconfig.json +++ b/types/vinyl-source-stream/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/vinyl/tsconfig.json b/types/vinyl/tsconfig.json index d7dcf3a8a7..7386da20a1 100644 --- a/types/vinyl/tsconfig.json +++ b/types/vinyl/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/vinyl/v0/tsconfig.json b/types/vinyl/v0/tsconfig.json index 45573e7bf8..a8d30ed9bb 100644 --- a/types/vinyl/v0/tsconfig.json +++ b/types/vinyl/v0/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/virtual-dom/tsconfig.json b/types/virtual-dom/tsconfig.json index bc201594e5..e48bf32e57 100644 --- a/types/virtual-dom/tsconfig.json +++ b/types/virtual-dom/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/virtual-keyboard/tsconfig.json b/types/virtual-keyboard/tsconfig.json index 4d8d420495..b1eaf0612a 100644 --- a/types/virtual-keyboard/tsconfig.json +++ b/types/virtual-keyboard/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "noEmit": true, "forceConsistentCasingInFileNames": true } -} +} \ No newline at end of file diff --git a/types/vis/tsconfig.json b/types/vis/tsconfig.json index 2fec34328a..50fd412eee 100644 --- a/types/vis/tsconfig.json +++ b/types/vis/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/vision/tsconfig.json b/types/vision/tsconfig.json index 9d1c80a15c..b5a7337fa7 100644 --- a/types/vision/tsconfig.json +++ b/types/vision/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/vitalsigns/tsconfig.json b/types/vitalsigns/tsconfig.json index dac5b33c5b..35eb17732d 100644 --- a/types/vitalsigns/tsconfig.json +++ b/types/vitalsigns/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/vivus/tsconfig.json b/types/vivus/tsconfig.json index 6f59145dee..a66fa1e203 100644 --- a/types/vivus/tsconfig.json +++ b/types/vivus/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/vkbeautify/tsconfig.json b/types/vkbeautify/tsconfig.json index 52cf017421..a795394230 100644 --- a/types/vkbeautify/tsconfig.json +++ b/types/vkbeautify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/voca/tsconfig.json b/types/voca/tsconfig.json index e7cd2ff035..8cd5ac1f19 100644 --- a/types/voca/tsconfig.json +++ b/types/voca/tsconfig.json @@ -1,4 +1,3 @@ - { "compilerOptions": { "module": "commonjs", @@ -8,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +20,4 @@ "index.d.ts", "voca-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/voronoi-diagram/tsconfig.json b/types/voronoi-diagram/tsconfig.json index b64a31b8ca..74bb32af15 100644 --- a/types/voronoi-diagram/tsconfig.json +++ b/types/voronoi-diagram/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/vortex-web-client/tsconfig.json b/types/vortex-web-client/tsconfig.json index 9f0ae5d1d4..de0989c9b1 100644 --- a/types/vortex-web-client/tsconfig.json +++ b/types/vortex-web-client/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/voximplant-websdk/tsconfig.json b/types/voximplant-websdk/tsconfig.json index 533fdac5d4..28c84ce5a7 100644 --- a/types/voximplant-websdk/tsconfig.json +++ b/types/voximplant-websdk/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/vue-i18n/tsconfig.json b/types/vue-i18n/tsconfig.json index cbff597b4f..01d16389e6 100644 --- a/types/vue-i18n/tsconfig.json +++ b/types/vue-i18n/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "vue-i18n-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "vue-i18n-tests.ts" + ] +} \ No newline at end of file diff --git a/types/vue-resource/tsconfig.json b/types/vue-resource/tsconfig.json index b8a620e110..62b9761326 100644 --- a/types/vue-resource/tsconfig.json +++ b/types/vue-resource/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/w2ui/tsconfig.json b/types/w2ui/tsconfig.json index 1e1ce363f7..e5a6f41e44 100644 --- a/types/w2ui/tsconfig.json +++ b/types/w2ui/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/w3c-generic-sensor/tsconfig.json b/types/w3c-generic-sensor/tsconfig.json index faf5c63101..4a33837faa 100644 --- a/types/w3c-generic-sensor/tsconfig.json +++ b/types/w3c-generic-sensor/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/w3c-screen-orientation/tsconfig.json b/types/w3c-screen-orientation/tsconfig.json index 664471c21d..fa84e114b1 100644 --- a/types/w3c-screen-orientation/tsconfig.json +++ b/types/w3c-screen-orientation/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "w3c-screen-orientation-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/w3c-web-usb/tsconfig.json b/types/w3c-web-usb/tsconfig.json index 4bd03116b6..dc162699e6 100644 --- a/types/w3c-web-usb/tsconfig.json +++ b/types/w3c-web-usb/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "w3c-web-usb-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/waitme/tsconfig.json b/types/waitme/tsconfig.json index c96e4eb671..3ca35aebea 100644 --- a/types/waitme/tsconfig.json +++ b/types/waitme/tsconfig.json @@ -3,11 +3,12 @@ "module": "commonjs", "lib": [ "es6", - "dom" + "dom" ], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "waitme-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/wake_on_lan/tsconfig.json b/types/wake_on_lan/tsconfig.json index 7191eae30c..0b9e2067fd 100644 --- a/types/wake_on_lan/tsconfig.json +++ b/types/wake_on_lan/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/wallabyjs/tsconfig.json b/types/wallabyjs/tsconfig.json index 7675d3aba5..903d0deaf0 100644 --- a/types/wallabyjs/tsconfig.json +++ b/types/wallabyjs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/wallpaper/tsconfig.json b/types/wallpaper/tsconfig.json index e491008057..ace8bd1f01 100644 --- a/types/wallpaper/tsconfig.json +++ b/types/wallpaper/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "wallpaper-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/wampy/tsconfig.json b/types/wampy/tsconfig.json index 695d78ce64..b324433f07 100644 --- a/types/wampy/tsconfig.json +++ b/types/wampy/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/warning/tsconfig.json b/types/warning/tsconfig.json index 397abc9591..68b31c6a27 100644 --- a/types/warning/tsconfig.json +++ b/types/warning/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/watch/tsconfig.json b/types/watch/tsconfig.json index 372f591f92..776b11b37f 100644 --- a/types/watch/tsconfig.json +++ b/types/watch/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "watch-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/watchify/tsconfig.json b/types/watchify/tsconfig.json index b436be9bf0..73fd603cc8 100644 --- a/types/watchify/tsconfig.json +++ b/types/watchify/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/watchpack/tsconfig.json b/types/watchpack/tsconfig.json index c7fa4149f5..a9011453a0 100644 --- a/types/watchpack/tsconfig.json +++ b/types/watchpack/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/waterline/tsconfig.json b/types/waterline/tsconfig.json index b7ec4e8403..2cdcfaa2d4 100644 --- a/types/waterline/tsconfig.json +++ b/types/waterline/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/watson-developer-cloud/tsconfig.json b/types/watson-developer-cloud/tsconfig.json index 20868ac9d8..005bf02ffe 100644 --- a/types/watson-developer-cloud/tsconfig.json +++ b/types/watson-developer-cloud/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "watson-developer-cloud-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/waypoints/tsconfig.json b/types/waypoints/tsconfig.json index ec14eea22a..c457df62f8 100644 --- a/types/waypoints/tsconfig.json +++ b/types/waypoints/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "waypoints-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/wcwidth/tsconfig.json b/types/wcwidth/tsconfig.json index 55ce5efd5b..8088cd3cc1 100644 --- a/types/wcwidth/tsconfig.json +++ b/types/wcwidth/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "wcwidth-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/weapp-api/tsconfig.json b/types/weapp-api/tsconfig.json index 471be5f98f..ef43ffab75 100644 --- a/types/weapp-api/tsconfig.json +++ b/types/weapp-api/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/web-animations-js/tsconfig.json b/types/web-animations-js/tsconfig.json index 6f7d4d67cb..defb1340f7 100644 --- a/types/web-animations-js/tsconfig.json +++ b/types/web-animations-js/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "web-animations-js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/web-bluetooth/tsconfig.json b/types/web-bluetooth/tsconfig.json index a8c4078637..cb97fe1d0e 100644 --- a/types/web-bluetooth/tsconfig.json +++ b/types/web-bluetooth/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/webappsec-credential-management/tsconfig.json b/types/webappsec-credential-management/tsconfig.json index b5de77bd93..dba66cad28 100644 --- a/types/webappsec-credential-management/tsconfig.json +++ b/types/webappsec-credential-management/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/webassembly-js-api/tsconfig.json b/types/webassembly-js-api/tsconfig.json index 581bbbdf29..286d2c0fb4 100644 --- a/types/webassembly-js-api/tsconfig.json +++ b/types/webassembly-js-api/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "webassembly-js-api-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/webcl/tsconfig.json b/types/webcl/tsconfig.json index 94ea6fea15..cd88a172a7 100644 --- a/types/webcl/tsconfig.json +++ b/types/webcl/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/webcomponents.js/tsconfig.json b/types/webcomponents.js/tsconfig.json index 3822282675..7905e2ea0d 100644 --- a/types/webcomponents.js/tsconfig.json +++ b/types/webcomponents.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/webcrypto/tsconfig.json b/types/webcrypto/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/webcrypto/tsconfig.json +++ b/types/webcrypto/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/webdriverio/tsconfig.json b/types/webdriverio/tsconfig.json index 53b3c26236..654e7fc599 100644 --- a/types/webdriverio/tsconfig.json +++ b/types/webdriverio/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -21,4 +22,4 @@ "index.d.ts", "webdriverio-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/webfontloader/tsconfig.json b/types/webfontloader/tsconfig.json index 26fe6d5e7a..11a2a05131 100644 --- a/types/webfontloader/tsconfig.json +++ b/types/webfontloader/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/webgl-ext/tsconfig.json b/types/webgl-ext/tsconfig.json index 151a5c0e4c..6c8b906888 100644 --- a/types/webgl-ext/tsconfig.json +++ b/types/webgl-ext/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/webgl2/tsconfig.json b/types/webgl2/tsconfig.json index 129c0d86f3..097828d97b 100644 --- a/types/webgl2/tsconfig.json +++ b/types/webgl2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/webgme/tsconfig.json b/types/webgme/tsconfig.json index d1ae63d85c..20b15fd0c0 100644 --- a/types/webgme/tsconfig.json +++ b/types/webgme/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/webix/tsconfig.json b/types/webix/tsconfig.json index a745b2f766..5b395aed79 100644 --- a/types/webix/tsconfig.json +++ b/types/webix/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/webmidi/tsconfig.json b/types/webmidi/tsconfig.json index 2d4444827a..f7669ef043 100644 --- a/types/webmidi/tsconfig.json +++ b/types/webmidi/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/webpack-bundle-analyzer/tsconfig.json b/types/webpack-bundle-analyzer/tsconfig.json index 257de048ef..a1bea1a472 100644 --- a/types/webpack-bundle-analyzer/tsconfig.json +++ b/types/webpack-bundle-analyzer/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "webpack-bundle-analyzer-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/webpack-chain/tsconfig.json b/types/webpack-chain/tsconfig.json index ad23fcfa57..45d1deba96 100644 --- a/types/webpack-chain/tsconfig.json +++ b/types/webpack-chain/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "webpack-chain-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/webpack-chunk-hash/tsconfig.json b/types/webpack-chunk-hash/tsconfig.json index 1d6e971b9d..3d85a2216d 100644 --- a/types/webpack-chunk-hash/tsconfig.json +++ b/types/webpack-chunk-hash/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "webpack-chunk-hash-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/webpack-dev-middleware/tsconfig.json b/types/webpack-dev-middleware/tsconfig.json index 0db95df98f..1688c1d7f3 100644 --- a/types/webpack-dev-middleware/tsconfig.json +++ b/types/webpack-dev-middleware/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "webpack-dev-middleware-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/webpack-dev-server/tsconfig.json b/types/webpack-dev-server/tsconfig.json index e34a6deb4e..93410e23ab 100644 --- a/types/webpack-dev-server/tsconfig.json +++ b/types/webpack-dev-server/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/webpack-dotenv-plugin/tsconfig.json b/types/webpack-dotenv-plugin/tsconfig.json index dbd9d47b1f..f0b09e0b58 100644 --- a/types/webpack-dotenv-plugin/tsconfig.json +++ b/types/webpack-dotenv-plugin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "webpack-dotenv-plugin-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/webpack-env/tsconfig.json b/types/webpack-env/tsconfig.json index fc58944ec0..aaf60b78e5 100644 --- a/types/webpack-env/tsconfig.json +++ b/types/webpack-env/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/webpack-fail-plugin/tsconfig.json b/types/webpack-fail-plugin/tsconfig.json index 87adc04e49..ebd98cd575 100644 --- a/types/webpack-fail-plugin/tsconfig.json +++ b/types/webpack-fail-plugin/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/webpack-hot-middleware/tsconfig.json b/types/webpack-hot-middleware/tsconfig.json index b3eea261c5..a1d77f8b64 100644 --- a/types/webpack-hot-middleware/tsconfig.json +++ b/types/webpack-hot-middleware/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "webpack-hot-middleware-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/webpack-merge/tsconfig.json b/types/webpack-merge/tsconfig.json index 78589b444b..750b2e26f0 100644 --- a/types/webpack-merge/tsconfig.json +++ b/types/webpack-merge/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "webpack-merge-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/webpack-merge/v0/tsconfig.json b/types/webpack-merge/v0/tsconfig.json index aedaa9a44e..f977c6a9f2 100644 --- a/types/webpack-merge/v0/tsconfig.json +++ b/types/webpack-merge/v0/tsconfig.json @@ -7,14 +7,19 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" ], "types": [], "paths": { - "webpack-merge": ["webpack-merge/v0"], - "webpack-merge/*": ["webpack-merge/v0/*"] + "webpack-merge": [ + "webpack-merge/v0" + ], + "webpack-merge/*": [ + "webpack-merge/v0/*" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/webpack-node-externals/tsconfig.json b/types/webpack-node-externals/tsconfig.json index 70e62e7b0c..f8b3349a6b 100644 --- a/types/webpack-node-externals/tsconfig.json +++ b/types/webpack-node-externals/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "webpack-node-externals-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/webpack-notifier/tsconfig.json b/types/webpack-notifier/tsconfig.json index 41e0e3a541..ca18204781 100644 --- a/types/webpack-notifier/tsconfig.json +++ b/types/webpack-notifier/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "webpack-notifier-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/webpack-sources/tsconfig.json b/types/webpack-sources/tsconfig.json index 3472f7ddee..10a0ad4302 100644 --- a/types/webpack-sources/tsconfig.json +++ b/types/webpack-sources/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/webpack-stream/tsconfig.json b/types/webpack-stream/tsconfig.json index 65fc295fdf..b166f37967 100644 --- a/types/webpack-stream/tsconfig.json +++ b/types/webpack-stream/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "webpack-stream-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/webpack-validator/tsconfig.json b/types/webpack-validator/tsconfig.json index 2307459c15..63f41272d6 100644 --- a/types/webpack-validator/tsconfig.json +++ b/types/webpack-validator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/webpack/tsconfig.json b/types/webpack/tsconfig.json index 1a1c5440ce..4cf3324827 100644 --- a/types/webpack/tsconfig.json +++ b/types/webpack/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "webpack-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/webrtc/tsconfig.json b/types/webrtc/tsconfig.json index 98b72f24e9..b8074fbae2 100644 --- a/types/webrtc/tsconfig.json +++ b/types/webrtc/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/website-scraper/tsconfig.json b/types/website-scraper/tsconfig.json index 984767f360..19651124e1 100644 --- a/types/website-scraper/tsconfig.json +++ b/types/website-scraper/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/websocket/tsconfig.json b/types/websocket/tsconfig.json index d77bfdfbe2..b567131872 100644 --- a/types/websocket/tsconfig.json +++ b/types/websocket/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/webspeechapi/tsconfig.json b/types/webspeechapi/tsconfig.json index 21c9d6298c..f1a86255f3 100644 --- a/types/webspeechapi/tsconfig.json +++ b/types/webspeechapi/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/websql/tsconfig.json b/types/websql/tsconfig.json index 4c9200819e..e82ff7c0ec 100644 --- a/types/websql/tsconfig.json +++ b/types/websql/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/webtorrent/tsconfig.json b/types/webtorrent/tsconfig.json index 92d678f0a5..3648235528 100644 --- a/types/webtorrent/tsconfig.json +++ b/types/webtorrent/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "webtorrent-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/webvr-api/tsconfig.json b/types/webvr-api/tsconfig.json index 3dbd3ccc46..38b2249654 100644 --- a/types/webvr-api/tsconfig.json +++ b/types/webvr-api/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/week/tsconfig.json b/types/week/tsconfig.json index 2a969bd826..75a301476e 100644 --- a/types/week/tsconfig.json +++ b/types/week/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "week-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/weighted/tsconfig.json b/types/weighted/tsconfig.json index 9b8cbaedfc..b9f440df8f 100644 --- a/types/weighted/tsconfig.json +++ b/types/weighted/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/weixin-app/tsconfig.json b/types/weixin-app/tsconfig.json index 0e56ec9084..4b2efcd908 100644 --- a/types/weixin-app/tsconfig.json +++ b/types/weixin-app/tsconfig.json @@ -1,23 +1,24 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "weixin-app-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "weixin-app-tests.ts" + ] +} \ No newline at end of file diff --git a/types/wellknown/tsconfig.json b/types/wellknown/tsconfig.json index 66be74a40f..55ca4fc95d 100644 --- a/types/wellknown/tsconfig.json +++ b/types/wellknown/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "wellknown-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/whatwg-streams/tsconfig.json b/types/whatwg-streams/tsconfig.json index 95a18214ff..bf84ec6496 100644 --- a/types/whatwg-streams/tsconfig.json +++ b/types/whatwg-streams/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/when/tsconfig.json b/types/when/tsconfig.json index c8c295ea09..f903b8862c 100644 --- a/types/when/tsconfig.json +++ b/types/when/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/which/tsconfig.json b/types/which/tsconfig.json index fa7a35e452..3c3883a801 100644 --- a/types/which/tsconfig.json +++ b/types/which/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/why-did-you-update/tsconfig.json b/types/why-did-you-update/tsconfig.json index 255e0bdf23..936ab93030 100644 --- a/types/why-did-you-update/tsconfig.json +++ b/types/why-did-you-update/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/wicg-mediasession/tsconfig.json b/types/wicg-mediasession/tsconfig.json index 381f1027e4..2d8373286c 100644 --- a/types/wicg-mediasession/tsconfig.json +++ b/types/wicg-mediasession/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "wicg-mediasession-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/wiiu/tsconfig.json b/types/wiiu/tsconfig.json index 6e96375fe9..06a693d673 100644 --- a/types/wiiu/tsconfig.json +++ b/types/wiiu/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/window-or-global/tsconfig.json b/types/window-or-global/tsconfig.json index ba9f7a5f05..9148664a63 100644 --- a/types/window-or-global/tsconfig.json +++ b/types/window-or-global/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/window-size/tsconfig.json b/types/window-size/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/window-size/tsconfig.json +++ b/types/window-size/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/windows-1251/tsconfig.json b/types/windows-1251/tsconfig.json index b34d485178..153d7d27e5 100644 --- a/types/windows-1251/tsconfig.json +++ b/types/windows-1251/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/windows-service/tsconfig.json b/types/windows-service/tsconfig.json index df34488d23..16d0a0e664 100644 --- a/types/windows-service/tsconfig.json +++ b/types/windows-service/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/winjs/tsconfig.json b/types/winjs/tsconfig.json index 1401eeeedb..d34d6a1d77 100644 --- a/types/winjs/tsconfig.json +++ b/types/winjs/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/winjs/v1/tsconfig.json b/types/winjs/v1/tsconfig.json index f6d6aedde9..f43a6835b9 100644 --- a/types/winjs/v1/tsconfig.json +++ b/types/winjs/v1/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/winjs/v2/tsconfig.json b/types/winjs/v2/tsconfig.json index 857f810042..0fe784e5eb 100644 --- a/types/winjs/v2/tsconfig.json +++ b/types/winjs/v2/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/winreg/tsconfig.json b/types/winreg/tsconfig.json index afcfe12c42..c1aaeb509e 100644 --- a/types/winreg/tsconfig.json +++ b/types/winreg/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/winrt-uwp/tsconfig.json b/types/winrt-uwp/tsconfig.json index 27e01ecd7b..0ecda7bfce 100644 --- a/types/winrt-uwp/tsconfig.json +++ b/types/winrt-uwp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/winrt/tsconfig.json b/types/winrt/tsconfig.json index 8a67eaf271..361d559f74 100644 --- a/types/winrt/tsconfig.json +++ b/types/winrt/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/winston-dynamodb/tsconfig.json b/types/winston-dynamodb/tsconfig.json index 2e684e94de..11a92fe7be 100644 --- a/types/winston-dynamodb/tsconfig.json +++ b/types/winston-dynamodb/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/winston/tsconfig.json b/types/winston/tsconfig.json index b5fa9d9ccf..390e22a274 100644 --- a/types/winston/tsconfig.json +++ b/types/winston/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/wiredep/tsconfig.json b/types/wiredep/tsconfig.json index 69ee121ef9..abf8541ebd 100644 --- a/types/wiredep/tsconfig.json +++ b/types/wiredep/tsconfig.json @@ -7,12 +7,15 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "paths": { - "q": [ "q/v0" ] + "q": [ + "q/v0" + ] }, "types": [], "noEmit": true, diff --git a/types/wiring-pi/tsconfig.json b/types/wiring-pi/tsconfig.json index 77cbb57262..c0b1d996a4 100644 --- a/types/wiring-pi/tsconfig.json +++ b/types/wiring-pi/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/wnumb/tsconfig.json b/types/wnumb/tsconfig.json index d8e656f34e..59a26d6c92 100644 --- a/types/wnumb/tsconfig.json +++ b/types/wnumb/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/wolfy87-eventemitter/tsconfig.json b/types/wolfy87-eventemitter/tsconfig.json index 9829e08cfa..9ab352c8d4 100644 --- a/types/wolfy87-eventemitter/tsconfig.json +++ b/types/wolfy87-eventemitter/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/wonder-commonlib/tsconfig.json b/types/wonder-commonlib/tsconfig.json index 3540cf91c0..960dbbaa5c 100644 --- a/types/wonder-commonlib/tsconfig.json +++ b/types/wonder-commonlib/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/wonder-frp/tsconfig.json b/types/wonder-frp/tsconfig.json index bc145951ba..3df4543743 100644 --- a/types/wonder-frp/tsconfig.json +++ b/types/wonder-frp/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/wonder.js/tsconfig.json b/types/wonder.js/tsconfig.json index 0fdebb2ebc..01c8dfa305 100644 --- a/types/wonder.js/tsconfig.json +++ b/types/wonder.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/wordcloud/tsconfig.json b/types/wordcloud/tsconfig.json index e957e72d27..e4d3526e5e 100644 --- a/types/wordcloud/tsconfig.json +++ b/types/wordcloud/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/words-to-numbers/tsconfig.json b/types/words-to-numbers/tsconfig.json index 282bfbae59..90601f2599 100644 --- a/types/words-to-numbers/tsconfig.json +++ b/types/words-to-numbers/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "words-to-numbers-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/wrap-ansi/tsconfig.json b/types/wrap-ansi/tsconfig.json index 748e251fe3..8df3c547cc 100644 --- a/types/wrap-ansi/tsconfig.json +++ b/types/wrap-ansi/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/wreck/tsconfig.json b/types/wreck/tsconfig.json index 0ab20c0c1d..7b9aa920a7 100644 --- a/types/wreck/tsconfig.json +++ b/types/wreck/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/wrench/tsconfig.json b/types/wrench/tsconfig.json index 0644d7a8a6..6f3e1e115c 100644 --- a/types/wrench/tsconfig.json +++ b/types/wrench/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/write-file-atomic/tsconfig.json b/types/write-file-atomic/tsconfig.json index e4de0610e9..ef38fa7e14 100644 --- a/types/write-file-atomic/tsconfig.json +++ b/types/write-file-atomic/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "write-file-atomic-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/write-json-file/tsconfig.json b/types/write-json-file/tsconfig.json index 27df25f1f7..7eca588265 100644 --- a/types/write-json-file/tsconfig.json +++ b/types/write-json-file/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "write-json-file-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/ws/tsconfig.json b/types/ws/tsconfig.json index 89cd6325e0..7ad5917bb1 100644 --- a/types/ws/tsconfig.json +++ b/types/ws/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/wu/tsconfig.json b/types/wu/tsconfig.json index e165aee3c4..87598365cb 100644 --- a/types/wu/tsconfig.json +++ b/types/wu/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/wx-js-sdk-dt/tsconfig.json b/types/wx-js-sdk-dt/tsconfig.json index 780e3ab13c..b97e63e9c3 100644 --- a/types/wx-js-sdk-dt/tsconfig.json +++ b/types/wx-js-sdk-dt/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "wx-js-sdk-dt-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/x-editable/tsconfig.json b/types/x-editable/tsconfig.json index 2f3014ef21..086e95a8b0 100644 --- a/types/x-editable/tsconfig.json +++ b/types/x-editable/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xadesjs/tsconfig.json b/types/xadesjs/tsconfig.json index bcb7e26be4..1a5e5c7ca1 100644 --- a/types/xadesjs/tsconfig.json +++ b/types/xadesjs/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xdate/tsconfig.json b/types/xdate/tsconfig.json index d87d20ca4f..6862404dfa 100644 --- a/types/xdate/tsconfig.json +++ b/types/xdate/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xdg-basedir/tsconfig.json b/types/xdg-basedir/tsconfig.json index 60be2ca765..67144b1f3f 100644 --- a/types/xdg-basedir/tsconfig.json +++ b/types/xdg-basedir/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xdomain/tsconfig.json b/types/xdomain/tsconfig.json index 8bac97a25d..b13ad1fc53 100644 --- a/types/xdomain/tsconfig.json +++ b/types/xdomain/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xhr-mock/tsconfig.json b/types/xhr-mock/tsconfig.json index 6a5c03268f..f8246e1177 100644 --- a/types/xhr-mock/tsconfig.json +++ b/types/xhr-mock/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "xhr-mock-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/xml-parser/tsconfig.json b/types/xml-parser/tsconfig.json index 7a8d5679d5..25b8ca0c57 100644 --- a/types/xml-parser/tsconfig.json +++ b/types/xml-parser/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xml/tsconfig.json b/types/xml/tsconfig.json index 2ed5a65a43..408f1bde77 100644 --- a/types/xml/tsconfig.json +++ b/types/xml/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xml2js/tsconfig.json b/types/xml2js/tsconfig.json index 7c5f5d51f5..b6c83dabe5 100644 --- a/types/xml2js/tsconfig.json +++ b/types/xml2js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xml2json/tsconfig.json b/types/xml2json/tsconfig.json index 2e96ea8c96..97da8f14ed 100644 --- a/types/xml2json/tsconfig.json +++ b/types/xml2json/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xmlbuilder/tsconfig.json b/types/xmlbuilder/tsconfig.json index 972e1b4bf1..5b01beda43 100644 --- a/types/xmlbuilder/tsconfig.json +++ b/types/xmlbuilder/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xmldoc/tsconfig.json b/types/xmldoc/tsconfig.json index ca7ade502f..ec85b52f4f 100644 --- a/types/xmldoc/tsconfig.json +++ b/types/xmldoc/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xmldom/tsconfig.json b/types/xmldom/tsconfig.json index 80d1635035..eca77a2584 100644 --- a/types/xmldom/tsconfig.json +++ b/types/xmldom/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xmlpoke/tsconfig.json b/types/xmlpoke/tsconfig.json index 461a2b8764..70dbf19b60 100644 --- a/types/xmlpoke/tsconfig.json +++ b/types/xmlpoke/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xmlrpc/tsconfig.json b/types/xmlrpc/tsconfig.json index fb01ac427c..dc38849c0e 100644 --- a/types/xmlrpc/tsconfig.json +++ b/types/xmlrpc/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xmltojson/tsconfig.json b/types/xmltojson/tsconfig.json index 463279a1c3..8614f0feb8 100644 --- a/types/xmltojson/tsconfig.json +++ b/types/xmltojson/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xmpp__jid/tsconfig.json b/types/xmpp__jid/tsconfig.json index 526a2a50c0..827e25b4fd 100644 --- a/types/xmpp__jid/tsconfig.json +++ b/types/xmpp__jid/tsconfig.json @@ -7,13 +7,16 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "types": [], "paths": { - "@xmpp/jid": ["xmpp__jid"] + "@xmpp/jid": [ + "xmpp__jid" + ] }, "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/xregexp/tsconfig.json b/types/xregexp/tsconfig.json index 4b242b1071..08c3876c26 100644 --- a/types/xregexp/tsconfig.json +++ b/types/xregexp/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xrm/tsconfig.json b/types/xrm/tsconfig.json index 8fa3542f3a..3cf6656150 100644 --- a/types/xrm/tsconfig.json +++ b/types/xrm/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xrm/v6/tsconfig.json b/types/xrm/v6/tsconfig.json index 8ea9f3240c..474c263825 100644 --- a/types/xrm/v6/tsconfig.json +++ b/types/xrm/v6/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/xrm/v7/tsconfig.json b/types/xrm/v7/tsconfig.json index a3eb727035..7049164db5 100644 --- a/types/xrm/v7/tsconfig.json +++ b/types/xrm/v7/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/xsd-schema-validator/tsconfig.json b/types/xsd-schema-validator/tsconfig.json index dab88a34a3..cd7f750ca7 100644 --- a/types/xsd-schema-validator/tsconfig.json +++ b/types/xsd-schema-validator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xsockets/tsconfig.json b/types/xsockets/tsconfig.json index b9e8d65653..7d2656429b 100644 --- a/types/xsockets/tsconfig.json +++ b/types/xsockets/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xss-filters/tsconfig.json b/types/xss-filters/tsconfig.json index bcf5ffba88..5a09180498 100644 --- a/types/xss-filters/tsconfig.json +++ b/types/xss-filters/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xtend/tsconfig.json b/types/xtend/tsconfig.json index 452c3d004d..68d8e3dea0 100644 --- a/types/xtend/tsconfig.json +++ b/types/xtend/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xterm/tsconfig.json b/types/xterm/tsconfig.json index 2a3d8b3bd1..3d75f99636 100644 --- a/types/xterm/tsconfig.json +++ b/types/xterm/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/xxhashjs/tsconfig.json b/types/xxhashjs/tsconfig.json index 30d863453a..10233fe7f4 100644 --- a/types/xxhashjs/tsconfig.json +++ b/types/xxhashjs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "xxhashjs-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/yallist/tsconfig.json b/types/yallist/tsconfig.json index 17b02a13c4..e1b421b78c 100644 --- a/types/yallist/tsconfig.json +++ b/types/yallist/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "yallist-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/yamljs/tsconfig.json b/types/yamljs/tsconfig.json index bcced464e6..d617b3128e 100644 --- a/types/yamljs/tsconfig.json +++ b/types/yamljs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/yandex-maps/tsconfig.json b/types/yandex-maps/tsconfig.json index d906997868..d156097923 100644 --- a/types/yandex-maps/tsconfig.json +++ b/types/yandex-maps/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "yandex-maps-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/yandex-money-sdk/tsconfig.json b/types/yandex-money-sdk/tsconfig.json index e5339abc94..e8b7aa37e5 100644 --- a/types/yandex-money-sdk/tsconfig.json +++ b/types/yandex-money-sdk/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/yargs/tsconfig.json b/types/yargs/tsconfig.json index c666e5df04..003b792854 100644 --- a/types/yargs/tsconfig.json +++ b/types/yargs/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/yayson/tsconfig.json b/types/yayson/tsconfig.json index 4967e89920..7c8cdbf4a8 100644 --- a/types/yayson/tsconfig.json +++ b/types/yayson/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/ydn-db/tsconfig.json b/types/ydn-db/tsconfig.json index 6a0807f737..be8afe510b 100644 --- a/types/ydn-db/tsconfig.json +++ b/types/ydn-db/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/yeoman-generator/tsconfig.json b/types/yeoman-generator/tsconfig.json index fdb69029f9..ab104bd246 100644 --- a/types/yeoman-generator/tsconfig.json +++ b/types/yeoman-generator/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "yeoman-generator-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/yeoman-test/tsconfig.json b/types/yeoman-test/tsconfig.json index 2625e68a55..43c2be3164 100644 --- a/types/yeoman-test/tsconfig.json +++ b/types/yeoman-test/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "yeoman-test-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/yfiles/tsconfig.json b/types/yfiles/tsconfig.json index 6c5b8cd59e..9152563e46 100644 --- a/types/yfiles/tsconfig.json +++ b/types/yfiles/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/yog-bigpipe/tsconfig.json b/types/yog-bigpipe/tsconfig.json index e2f641476b..74dfc3ae1e 100644 --- a/types/yog-bigpipe/tsconfig.json +++ b/types/yog-bigpipe/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "yog-bigpipe-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/yog-log/tsconfig.json b/types/yog-log/tsconfig.json index b4b67074f8..056d458bf6 100644 --- a/types/yog-log/tsconfig.json +++ b/types/yog-log/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "yog-log-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/yog2-kernel/tsconfig.json b/types/yog2-kernel/tsconfig.json index f78a6c3483..bc2848fcc6 100644 --- a/types/yog2-kernel/tsconfig.json +++ b/types/yog2-kernel/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +21,4 @@ "index.d.ts", "yog2-kernel-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/yosay/tsconfig.json b/types/yosay/tsconfig.json index 362a9c4be2..884e37fabf 100644 --- a/types/yosay/tsconfig.json +++ b/types/yosay/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/youtube/tsconfig.json b/types/youtube/tsconfig.json index 8a67eaf271..82e6284376 100644 --- a/types/youtube/tsconfig.json +++ b/types/youtube/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/yui/tsconfig.json b/types/yui/tsconfig.json index 27e01ecd7b..02963e3afd 100644 --- a/types/yui/tsconfig.json +++ b/types/yui/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/z-schema/tsconfig.json b/types/z-schema/tsconfig.json index 776b603b1e..54782d4c86 100644 --- a/types/z-schema/tsconfig.json +++ b/types/z-schema/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/zapier-platform-core/tsconfig.json b/types/zapier-platform-core/tsconfig.json index 3755a7ac9a..c197914893 100644 --- a/types/zapier-platform-core/tsconfig.json +++ b/types/zapier-platform-core/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "zapier-platform-core-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/zen-observable/tsconfig.json b/types/zen-observable/tsconfig.json index cfdae044d6..8f7b9ad757 100644 --- a/types/zen-observable/tsconfig.json +++ b/types/zen-observable/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "zen-observable-tests.ts" - ] -} + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "zen-observable-tests.ts" + ] +} \ No newline at end of file diff --git a/types/zepto/tsconfig.json b/types/zepto/tsconfig.json index 6c9e1fed78..cc7da64133 100644 --- a/types/zepto/tsconfig.json +++ b/types/zepto/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/zeroclipboard/tsconfig.json b/types/zeroclipboard/tsconfig.json index 91061c38ee..135f2186a1 100644 --- a/types/zeroclipboard/tsconfig.json +++ b/types/zeroclipboard/tsconfig.json @@ -12,6 +12,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/zeroclipboard/v1/tsconfig.json b/types/zeroclipboard/v1/tsconfig.json index a2ecf0859b..357f8f8784 100644 --- a/types/zeroclipboard/v1/tsconfig.json +++ b/types/zeroclipboard/v1/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/zeromq/tsconfig.json b/types/zeromq/tsconfig.json index aa30afd4b0..ada0d8a1c7 100644 --- a/types/zeromq/tsconfig.json +++ b/types/zeromq/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "zeromq-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/zetapush-js/tsconfig.json b/types/zetapush-js/tsconfig.json index 78526186fb..3ce2c2d301 100644 --- a/types/zetapush-js/tsconfig.json +++ b/types/zetapush-js/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" @@ -19,4 +20,4 @@ "index.d.ts", "zetapush-js-tests.ts" ] -} +} \ No newline at end of file diff --git a/types/zip.js/tsconfig.json b/types/zip.js/tsconfig.json index 008e8fd120..a655a790d8 100644 --- a/types/zip.js/tsconfig.json +++ b/types/zip.js/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/zmq/tsconfig.json b/types/zmq/tsconfig.json index 7e354f61c0..03a35a4048 100644 --- a/types/zmq/tsconfig.json +++ b/types/zmq/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/zui/tsconfig.json b/types/zui/tsconfig.json index 36f8848110..a2d866908a 100644 --- a/types/zui/tsconfig.json +++ b/types/zui/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/zynga-scroller/tsconfig.json b/types/zynga-scroller/tsconfig.json index 62ef861ada..94cb1cf919 100644 --- a/types/zynga-scroller/tsconfig.json +++ b/types/zynga-scroller/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" From 14df840b7d021bc90ff2e5713776ec29c8b52a27 Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Fri, 6 Oct 2017 14:21:13 -0700 Subject: [PATCH 196/433] Fixup strictFunctionTypes settings (#20374) --- types/activex-powerpoint/tsconfig.json | 2 +- types/activex-vbide/tsconfig.json | 2 +- types/activex-word/tsconfig.json | 2 +- types/bull/v2/tsconfig.json | 2 +- types/d3/v3/tsconfig.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/types/activex-powerpoint/tsconfig.json b/types/activex-powerpoint/tsconfig.json index e6cdf6a17f..8a0392da3f 100644 --- a/types/activex-powerpoint/tsconfig.json +++ b/types/activex-powerpoint/tsconfig.json @@ -8,7 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, - "strictFunctionTypes": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/activex-vbide/tsconfig.json b/types/activex-vbide/tsconfig.json index 7d0fc2b7d3..6fb205a3c4 100644 --- a/types/activex-vbide/tsconfig.json +++ b/types/activex-vbide/tsconfig.json @@ -8,7 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, - "strictFunctionTypes": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/activex-word/tsconfig.json b/types/activex-word/tsconfig.json index e956d9527c..c62626ca52 100644 --- a/types/activex-word/tsconfig.json +++ b/types/activex-word/tsconfig.json @@ -8,7 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, - "strictFunctionTypes": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/types/bull/v2/tsconfig.json b/types/bull/v2/tsconfig.json index 975ef0e01c..c0b2369568 100644 --- a/types/bull/v2/tsconfig.json +++ b/types/bull/v2/tsconfig.json @@ -7,7 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, - "strictFunctionTypes": true, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" diff --git a/types/d3/v3/tsconfig.json b/types/d3/v3/tsconfig.json index 86747d9ded..dd4cea8078 100644 --- a/types/d3/v3/tsconfig.json +++ b/types/d3/v3/tsconfig.json @@ -8,7 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, - "strictFunctionTypes": true, + "strictFunctionTypes": false, "baseUrl": "../../", "typeRoots": [ "../../" From 4fd34d1f9b035255060b539d5e003095b02606ad Mon Sep 17 00:00:00 2001 From: Anthony Nichols <hi@anthonynichols.me> Date: Fri, 6 Oct 2017 18:13:29 -0500 Subject: [PATCH 197/433] nedb: add timestampData to DataStoreOptions (#20259) --- types/nedb/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/nedb/index.d.ts b/types/nedb/index.d.ts index 15a2fd4e83..32513ca0da 100644 --- a/types/nedb/index.d.ts +++ b/types/nedb/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for NeDB 1.8 // Project: https://github.com/louischatriot/nedb // Definitions by: Stefan Steinhart <https://github.com/reppners> +// Anthony Nichols <https://github.com/anthonynichols> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export = Nedb; @@ -197,6 +198,9 @@ declare namespace Nedb { // (optional): between 0 and 1, defaults to 10%. NeDB will refuse to start if more than this percentage of the datafile is corrupt. // 0 means you don't tolerate any corruption, 1 means you don't care corruptAlertThreshold?: number; + // (optional, defaults to false) + // timestamp the insertion and last update of all documents, with the fields createdAt and updatedAt. User-specified values override automatic generation, usually useful for testing. + timestampData?: boolean; } /** From 161f89426904e96567b77a71f302401cd58529e2 Mon Sep 17 00:00:00 2001 From: shralpmeister <shralpmeister@me.com> Date: Fri, 6 Oct 2017 16:13:47 -0700 Subject: [PATCH 198/433] Adds rawTxtRecord and txtRecord fields to mdns/Service. (#20360) --- types/mdns/index.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/mdns/index.d.ts b/types/mdns/index.d.ts index 54d31477a1..a51d6cf04a 100644 --- a/types/mdns/index.d.ts +++ b/types/mdns/index.d.ts @@ -68,6 +68,8 @@ declare namespace MDNS { host:string; interfaceIndex: number; name?:string; + rawTxtRecord?:Buffer; + txtRecord?:any; networkInterface:string; port:number; replyDomain:string; @@ -293,4 +295,4 @@ declare namespace MDNS { } -export = MDNS; \ No newline at end of file +export = MDNS; From c0ca3289cbd8e9743074d93d8c0d8dba3a6c1ae7 Mon Sep 17 00:00:00 2001 From: John Gozde <john@gozde.ca> Date: Sun, 8 Oct 2017 00:11:28 -0600 Subject: [PATCH 199/433] react-test-renderer: update to v16 API (#20396) * react-test-renderer: copy existing to v15 * react-test-renderer: update to v16 API * react-test-renderer/shallow: update to v16 API * react-test-renderer: fix lint, path mappings --- types/react-test-renderer/index.d.ts | 53 +++++++++++---- .../react-test-renderer-tests.ts | 65 ++++++++++++++++--- types/react-test-renderer/shallow/index.d.ts | 6 +- types/react-test-renderer/tslint.json | 1 + types/react-test-renderer/v15/index.d.ts | 25 +++++++ .../v15/react-test-renderer-tests.ts | 23 +++++++ .../v15/shallow/index.d.ts | 22 +++++++ types/react-test-renderer/v15/tsconfig.json | 33 ++++++++++ types/react-test-renderer/v15/tslint.json | 7 ++ 9 files changed, 211 insertions(+), 24 deletions(-) create mode 100644 types/react-test-renderer/v15/index.d.ts create mode 100644 types/react-test-renderer/v15/react-test-renderer-tests.ts create mode 100644 types/react-test-renderer/v15/shallow/index.d.ts create mode 100644 types/react-test-renderer/v15/tsconfig.json create mode 100644 types/react-test-renderer/v15/tslint.json diff --git a/types/react-test-renderer/index.d.ts b/types/react-test-renderer/index.d.ts index ab6d51ceaa..ed73041f18 100644 --- a/types/react-test-renderer/index.d.ts +++ b/types/react-test-renderer/index.d.ts @@ -1,25 +1,52 @@ -// Type definitions for react-test-renderer 15.5 +// Type definitions for react-test-renderer 16.0 // Project: https://facebook.github.io/react/ -// Definitions by: Arvitaly <https://github.com/arvitaly>, Lochbrunner <https://github.com/lochbrunner>, Lochbrunner <https://github.com/lochbrunner>, John Reilly <https://github.com/johnnyreilly> +// Definitions by: Arvitaly <https://github.com/arvitaly> +// Lochbrunner <https://github.com/lochbrunner> +// John Reilly <https://github.com/johnnyreilly> +// John Gozde <https://github.com/jgoz> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 -import { ReactElement } from "react"; +import { ReactElement, ReactType } from "react"; + +// extracted from: +// - https://github.com/facebook/react/blob/v16.0.0/src/renderers/testing/ReactTestRendererFiberEntry.js +// - https://reactjs.org/docs/test-renderer.html -export interface ReactTestInstance { - toJSON(): ReactTestRendererJSON; - unmount(nextElement?: ReactElement<any>): void; - update(nextElement: ReactElement<any>): void; - getInstance(): any; -} export interface ReactTestRendererJSON { type: string; props: { [propName: string]: any }; - children: null | Array<string | ReactTestRendererJSON>; - $$typeof?: any; + children: null | ReactTestRendererJSON[]; +} +export interface ReactTestRendererTree extends ReactTestRendererJSON { + nodeType: "component" | "host"; + instance: any; + rendered: null | ReactTestRendererTree; +} +export interface ReactTestInstance { + instance: any; + type: string; + props: { [propName: string]: any }; + parent: null | ReactTestInstance; + children: Array<ReactTestInstance | string>; + + find(predicate: (node: ReactTestInstance) => boolean): ReactTestInstance; + findByType(type: ReactType): ReactTestInstance; + findByProps(props: { [propName: string]: any }): ReactTestInstance; + + findAll(predicate: (node: ReactTestInstance) => boolean, options?: { deep: boolean }): ReactTestInstance[]; + findAllByType(type: ReactType, options?: { deep: boolean }): ReactTestInstance[]; + findAllByProps(props: { [propName: string]: any }, options?: { deep: boolean }): ReactTestInstance[]; +} +export interface ReactTestRenderer { + toJSON(): null | ReactTestRendererJSON; + toTree(): null | ReactTestRendererTree; + unmount(nextElement?: ReactElement<any>): void; + update(nextElement: ReactElement<any>): void; + getInstance(): null | ReactTestInstance; + root: ReactTestInstance; } export interface TestRendererOptions { createNodeMock(element: ReactElement<any>): any; } -// https://github.com/facebook/react/blob/master/src/renderers/testing/ReactTestMount.js#L155 -export function create(nextElement: ReactElement<any>, options?: TestRendererOptions): ReactTestInstance; +export function create(nextElement: ReactElement<any>, options?: TestRendererOptions): ReactTestRenderer; diff --git a/types/react-test-renderer/react-test-renderer-tests.ts b/types/react-test-renderer/react-test-renderer-tests.ts index 810fdad407..45568c81a7 100644 --- a/types/react-test-renderer/react-test-renderer-tests.ts +++ b/types/react-test-renderer/react-test-renderer-tests.ts @@ -1,23 +1,68 @@ import * as React from "react"; -import { create } from "react-test-renderer"; +import { create, ReactTestInstance } from "react-test-renderer"; import { createRenderer } from 'react-test-renderer/shallow'; -const tree = create(React.createElement("div"), { +class TestComponent extends React.Component { } + +const renderer = create(React.createElement("div"), { createNodeMock: (el: React.ReactElement<any>) => { return {}; } -}).toJSON(); +}); -tree.type = "t"; -tree.props = { - prop1: "p", -}; -tree.children = [tree]; -tree.$$typeof = "t"; +const json = renderer.toJSON(); +if (json) { + json.type = "t"; + json.props = { + prop1: "p", + }; + json.children = [json]; +} -class TestComponent extends React.Component { } +const tree = renderer.toTree(); +if (tree) { + tree.type = "t"; + tree.props = { + prop1: "p", + }; + tree.children = [tree]; + tree.rendered = tree; + tree.nodeType = "component"; + tree.nodeType = "host"; +} + +renderer.update(React.createElement(TestComponent)); + +renderer.unmount(); +renderer.unmount(React.createElement(TestComponent)); + +function testInstance(inst: ReactTestInstance) { + inst.children = [inst, "a"]; + inst.parent = instance; + inst.parent = null; + inst.props = { + prop1: "p", + }; + inst.type = "t"; + testInstance(inst.find(n => n.type === "t")); + testInstance(inst.findByProps({ prop1: "p" })); + testInstance(inst.findByType("t")); + testInstance(inst.findByType(TestComponent)); + inst.findAll(n => n.type === "t", { deep: true }).map(testInstance); + inst.findAllByProps({ prop1: "p" }, { deep: true }).map(testInstance); + inst.findAllByType("t", { deep: true }).map(testInstance); + inst.findAllByType(TestComponent, { deep: true }).map(testInstance); +} + +const instance = renderer.getInstance(); +if (instance) { + testInstance(instance); +} + +testInstance(renderer.root); const component = React.createElement(TestComponent); const shallowRenderer = createRenderer(); shallowRenderer.render(component); shallowRenderer.getRenderOutput(); +shallowRenderer.getMountedInstance(); diff --git a/types/react-test-renderer/shallow/index.d.ts b/types/react-test-renderer/shallow/index.d.ts index 493ad4a777..f51fa1e355 100644 --- a/types/react-test-renderer/shallow/index.d.ts +++ b/types/react-test-renderer/shallow/index.d.ts @@ -1,6 +1,10 @@ -import { ReactElement } from 'react'; +import { ReactElement, ReactInstance } from 'react'; export interface ShallowRenderer { + /** + * After `shallowRenderer.render()` has been called, returns mounted instance. + */ + getMountedInstance(): ReactInstance; /** * After `shallowRenderer.render()` has been called, returns shallowly rendered output. */ diff --git a/types/react-test-renderer/tslint.json b/types/react-test-renderer/tslint.json index 71ee04c4e1..c4fd1ce0bb 100644 --- a/types/react-test-renderer/tslint.json +++ b/types/react-test-renderer/tslint.json @@ -1,6 +1,7 @@ { "extends": "dtslint/dt.json", "rules": { + "dt-header": false, "no-unnecessary-generics": false } } diff --git a/types/react-test-renderer/v15/index.d.ts b/types/react-test-renderer/v15/index.d.ts new file mode 100644 index 0000000000..ab6d51ceaa --- /dev/null +++ b/types/react-test-renderer/v15/index.d.ts @@ -0,0 +1,25 @@ +// Type definitions for react-test-renderer 15.5 +// Project: https://facebook.github.io/react/ +// Definitions by: Arvitaly <https://github.com/arvitaly>, Lochbrunner <https://github.com/lochbrunner>, Lochbrunner <https://github.com/lochbrunner>, John Reilly <https://github.com/johnnyreilly> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +import { ReactElement } from "react"; + +export interface ReactTestInstance { + toJSON(): ReactTestRendererJSON; + unmount(nextElement?: ReactElement<any>): void; + update(nextElement: ReactElement<any>): void; + getInstance(): any; +} +export interface ReactTestRendererJSON { + type: string; + props: { [propName: string]: any }; + children: null | Array<string | ReactTestRendererJSON>; + $$typeof?: any; +} +export interface TestRendererOptions { + createNodeMock(element: ReactElement<any>): any; +} +// https://github.com/facebook/react/blob/master/src/renderers/testing/ReactTestMount.js#L155 +export function create(nextElement: ReactElement<any>, options?: TestRendererOptions): ReactTestInstance; diff --git a/types/react-test-renderer/v15/react-test-renderer-tests.ts b/types/react-test-renderer/v15/react-test-renderer-tests.ts new file mode 100644 index 0000000000..810fdad407 --- /dev/null +++ b/types/react-test-renderer/v15/react-test-renderer-tests.ts @@ -0,0 +1,23 @@ +import * as React from "react"; +import { create } from "react-test-renderer"; +import { createRenderer } from 'react-test-renderer/shallow'; + +const tree = create(React.createElement("div"), { + createNodeMock: (el: React.ReactElement<any>) => { + return {}; + } +}).toJSON(); + +tree.type = "t"; +tree.props = { + prop1: "p", +}; +tree.children = [tree]; +tree.$$typeof = "t"; + +class TestComponent extends React.Component { } + +const component = React.createElement(TestComponent); +const shallowRenderer = createRenderer(); +shallowRenderer.render(component); +shallowRenderer.getRenderOutput(); diff --git a/types/react-test-renderer/v15/shallow/index.d.ts b/types/react-test-renderer/v15/shallow/index.d.ts new file mode 100644 index 0000000000..493ad4a777 --- /dev/null +++ b/types/react-test-renderer/v15/shallow/index.d.ts @@ -0,0 +1,22 @@ +import { ReactElement } from 'react'; + +export interface ShallowRenderer { + /** + * After `shallowRenderer.render()` has been called, returns shallowly rendered output. + */ + getRenderOutput<E extends ReactElement<any>>(): E; + /** + * After `shallowRenderer.render()` has been called, returns shallowly rendered output. + */ + getRenderOutput(): ReactElement<any>; + /** + * Similar to `ReactDOM.render` but it doesn't require DOM and only renders a single level deep. + */ + render(element: ReactElement<any>, context?: any): void; + unmount(): void; +} + +/** + * Call this in your tests to create a shallow renderer. + */ +export function createRenderer(): ShallowRenderer; diff --git a/types/react-test-renderer/v15/tsconfig.json b/types/react-test-renderer/v15/tsconfig.json new file mode 100644 index 0000000000..597591256e --- /dev/null +++ b/types/react-test-renderer/v15/tsconfig.json @@ -0,0 +1,33 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "paths": { + "react": [ + "react/v15" + ], + "react-test-renderer": [ + "react-test-renderer/v15" + ] + }, + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../../", + "typeRoots": [ + "../../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "shallow/index.d.ts", + "react-test-renderer-tests.ts" + ] +} diff --git a/types/react-test-renderer/v15/tslint.json b/types/react-test-renderer/v15/tslint.json new file mode 100644 index 0000000000..c4fd1ce0bb --- /dev/null +++ b/types/react-test-renderer/v15/tslint.json @@ -0,0 +1,7 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "dt-header": false, + "no-unnecessary-generics": false + } +} From 2024db07b145d31f2a9bca0f2add058a221df87d Mon Sep 17 00:00:00 2001 From: Nicolas Penin <nicolas.penin@dragon-angel.fr> Date: Sun, 8 Oct 2017 10:24:17 +0200 Subject: [PATCH 200/433] updated require in seqencify tests --- types/sequencify/sequencify-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/sequencify/sequencify-tests.ts b/types/sequencify/sequencify-tests.ts index a39d58c28c..26506d7fbd 100644 --- a/types/sequencify/sequencify-tests.ts +++ b/types/sequencify/sequencify-tests.ts @@ -2,7 +2,7 @@ /// <reference types="node" /> -import * as sequencify from 'sequencify'; +import sequencify = require('sequencify'); const items: sequencify.TaskMap = { a: { From d55a543b6ed0edb6427117d599ba12be8ad51f0a Mon Sep 17 00:00:00 2001 From: huhuanming <workboring@gmail.com> Date: Mon, 9 Oct 2017 22:51:02 +0800 Subject: [PATCH 201/433] remove dom --- types/react-native/tsconfig.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/types/react-native/tsconfig.json b/types/react-native/tsconfig.json index 68be3a9834..8fa39e5d29 100644 --- a/types/react-native/tsconfig.json +++ b/types/react-native/tsconfig.json @@ -2,8 +2,7 @@ "compilerOptions": { "module": "commonjs", "lib": [ - "es6", - "dom" + "es6" ], "noImplicitAny": true, "noImplicitThis": true, From 5ee5a469a4527fb565785fbff35b7b730f5ef8d0 Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Mon, 9 Oct 2017 10:41:31 -0700 Subject: [PATCH 202/433] koa-cors: Remove unnecessary reference to "node" (#20439) --- types/koa__cors/index.d.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/types/koa__cors/index.d.ts b/types/koa__cors/index.d.ts index e0738129e3..c7dc10bad4 100644 --- a/types/koa__cors/index.d.ts +++ b/types/koa__cors/index.d.ts @@ -3,8 +3,6 @@ // Definitions by: Xavier Stouder <https://github.com/Xstoudi>, Izayoi Ko <https://github.com/izayoiko>, Steve Hipwell <https://github.com/stevehipwell> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// <reference types="node"/> - import * as Koa from "koa"; export = cors; From 0aac141a9e04779c4f4e1ec45a5236c50e8f5483 Mon Sep 17 00:00:00 2001 From: alexandre melard <git@melard.fr> Date: Mon, 9 Oct 2017 23:35:33 +0200 Subject: [PATCH 203/433] openlayers: update missing definitions from 4.3.0 to 4.3.4 (#20228) --- types/openlayers/index.d.ts | 61 +++++++++++++++++++++++++--- types/openlayers/openlayers-tests.ts | 10 +++++ 2 files changed, 66 insertions(+), 5 deletions(-) diff --git a/types/openlayers/index.d.ts b/types/openlayers/index.d.ts index a41afed59b..539db01b4d 100644 --- a/types/openlayers/index.d.ts +++ b/types/openlayers/index.d.ts @@ -1,8 +1,9 @@ -// Type definitions for OpenLayers v4.3.0 +// Type definitions for OpenLayers v4.3.4 // Project: http://openlayers.org/ // Definitions by: Olivier Sechet <https://github.com/osechet> // Bin Wang <https://github.com/wb14123> // Junyoung Clare Jang <https://github.com/ailrun> +// Alexandre Melard <https://github.com/mylen> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // Definitions partially generated using tsd-jsdoc (https://github.com/englercj/tsd-jsdoc) @@ -9905,6 +9906,29 @@ declare module ol { } + /** + * Object literal with options for the {@link ol.Sphere.getLength} or + * {@link ol.Sphere.getArea} functions. + */ + interface SphereMetricOptions { + + /** + * Projection of the geometry. By default, the geometry is assumed to be in + * EPSG:3857 (Web Mercator). + */ + projection?: ol.proj.Projection; + + + /** + * Sphere radius. By default, the radius of the earth is used (Clarke 1866 + * Authalic Sphere). + * @type {(number|undefined)} + * @api + */ + radius?: number; + + } + /** * @classdesc * Class to create objects that can be used with {@link @@ -9966,6 +9990,31 @@ declare module ol { */ haversineDistance(c1: ol.Coordinate, c2: ol.Coordinate): number; + /** + * Get the spherical area of a geometry. This is the area (in meters) assuming + * that polygon edges are segments of great circles on a sphere. + * @param {ol.geom.Geometry} geometry A geometry. + * @param {olx.SphereMetricOptions=} opt_options Options for the area + * calculation. By default, geometries are assumed to be in 'EPSG:3857'. + * You can change this by providing a `projection` option. + * @return {number} The spherical area (in square meters). + * @api + */ + static getArea(geometry: geom.Geometry, opt_options?: SphereMetricOptions): number; + + /** + * Get the spherical length of a geometry. This length is the sum of the + * great circle distances between coordinates. For polygons, the length is + * the sum of all rings. For points, the length is zero. For multi-part + * geometries, the length is the sum of the length of each part. + * @param {ol.geom.Geometry} geometry A geometry. + * @param {olx.SphereMetricOptions=} opt_options Options for the length + * calculation. By default, geometries are assumed to be in 'EPSG:3857'. + * You can change this by providing a `projection` option. + * @return {number} The spherical length (in meters). + * @api + */ + static getLength(geometry: geom.Geometry, opt_options?: SphereMetricOptions): number; } /** @@ -12424,12 +12473,14 @@ declare module olx { /** * @typedef {{formatConstructors: (Array.<function(new: ol.format.Feature)>|undefined), * projection: ol.ProjectionLike, - * target: (Element|undefined)}} + * target: (Element|undefined), + * source: (ol.source.Vector|undefined)}} */ interface DragAndDropOptions { formatConstructors?: ((n: ol.format.Feature) => any)[]; projection: ol.ProjectionLike; target?: Element; + source?: ol.source.Vector; } @@ -12569,7 +12620,8 @@ declare module olx { * pixelTolerance: (number|undefined), * style: (ol.style.Style|Array.<ol.style.Style>|ol.StyleFunction|undefined), * features: ol.Collection.<ol.Feature>, - * wrapX: (boolean|undefined)}} + * wrapX: (boolean|undefined), + * source: (ol.source.Vector|undefined)}} */ interface ModifyOptions { condition?: ol.EventsConditionType; @@ -12578,6 +12630,7 @@ declare module olx { style?: (ol.style.Style | ol.style.Style[] | ol.StyleFunction); features: ol.Collection<ol.Feature>; wrapX?: boolean; + source?: ol.source.Vector; } @@ -13025,7 +13078,6 @@ declare module olx { * ol.TileLoadFunctionType)|undefined), * tileGrid: (ol.tilegrid.TileGrid|undefined), * tileLoadFunction: (ol.TileLoadFunctionType|undefined), - * tilePixelRatio: (number|undefined), * tileUrlFunction: (ol.TileUrlFunctionType|undefined), * url: (string|undefined), * urls: (Array.<string>|undefined), @@ -13042,7 +13094,6 @@ declare module olx { tileClass?: ((n: ol.VectorTile, coords: ol.TileCoord, state: ol.Tile.State, s: string, feature: ol.format.Feature, type: ol.TileLoadFunctionType) => any); tileGrid?: ol.tilegrid.TileGrid; tileLoadFunction?: ol.TileLoadFunctionType; - tilePixelRatio?: number; tileUrlFunction?: ol.TileUrlFunctionType; url?: string; urls?: string[]; diff --git a/types/openlayers/openlayers-tests.ts b/types/openlayers/openlayers-tests.ts index b341ad6ffd..29d763344a 100644 --- a/types/openlayers/openlayers-tests.ts +++ b/types/openlayers/openlayers-tests.ts @@ -802,3 +802,13 @@ styleRegularShape = new ol.style.RegularShape({ // let value = ol.proj.METERS_PER_UNIT['degrees']; + +numberValue = ol.Sphere.getArea(geometry, { + projection: projection, + radius: numberValue, +}); + +numberValue = ol.Sphere.getLength(geometry, { + projection: projection, + radius: numberValue, +}); \ No newline at end of file From 10313510109698aff89860406b5f55d47122f59b Mon Sep 17 00:00:00 2001 From: Haroen Viaene <fingebimus@me.com> Date: Mon, 9 Oct 2017 23:36:05 +0200 Subject: [PATCH 204/433] algoliasearch: add string enums for exact values allowed (#20351) * algolia: add string enums instead of just `string`, list the allowed values, see the api doc at https://www.algolia.com/doc/rest-api/search/#batch-write-operations-multiple-indices etc. * add name * Update index.d.ts --- types/algoliasearch/index.d.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/types/algoliasearch/index.d.ts b/types/algoliasearch/index.d.ts index 1bb77a50e9..2f94b2c907 100644 --- a/types/algoliasearch/index.d.ts +++ b/types/algoliasearch/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for algoliasearch-client-js 3.18.1 // Project: https://github.com/algolia/algoliasearch-client-js // Definitions by: Baptiste Coquelle <https://github.com/cbaptiste> +// Haroen Viaene <https://github.com/haroenv> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare namespace algoliasearch { @@ -808,10 +809,9 @@ declare namespace algoliasearch { interface AlgoliaAction { /** * Type of the batch action - * values: addObject, updateObject, partialUpdateObject, partialUpdateObjectNoCreate, deleteObject * https://github.com/algolia/algoliasearch-client-js#custom-batch---batch */ - action: string; + action: "addObject" | "updateObject" | "partialUpdateObject" | "partialUpdateObjectNoCreate" | "deleteObject" | "delete" | "clear"; /** * Name of the index where the bact will be performed * https://github.com/algolia/algoliasearch-client-js#custom-batch---batch @@ -924,10 +924,9 @@ declare namespace algoliasearch { objectID: string; /** * Type of synonym - * values: synonym,oneWaySynonym * https://github.com/algolia/algoliasearch-client-js#save-synonym---savesynonym */ - type: string; + type: "synonym" | "oneWaySynonym"; /** * Values used for the synonym * https://github.com/algolia/algoliasearch-client-js#save-synonym---savesynonym From b3c8a9c24d63d89d6213f9801be814328eeca916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Corbi=C3=A8re?= <thomas.corbiere@tilkal.com> Date: Mon, 9 Oct 2017 23:37:25 +0200 Subject: [PATCH 205/433] nsqjs: adds tslint.json and fixes definitions. (#20437) * Fixes event definitions. * Fixes parameter definition. * Adds new tests. * Fixes lint errors. --- types/nsqjs/index.d.ts | 224 ++++++++++++++++--------------------- types/nsqjs/nsqjs-tests.ts | 82 +++++++------- types/nsqjs/tsconfig.json | 5 +- types/nsqjs/tslint.json | 1 + 4 files changed, 142 insertions(+), 170 deletions(-) create mode 100644 types/nsqjs/tslint.json diff --git a/types/nsqjs/index.d.ts b/types/nsqjs/index.d.ts index fa04d0b78a..05bf43318e 100644 --- a/types/nsqjs/index.d.ts +++ b/types/nsqjs/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for nsqjs 0.8.4 +// Type definitions for nsqjs 0.9 // Project: https://github.com/dudleycarr/nsqjs // Definitions by: Robert Kania <https://github.com/cezaryrk> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -7,138 +7,110 @@ import * as events from 'events'; -export = nsqjs +export class Message extends events.EventEmitter { + static BACKOFF: string; + static RESPOND: string; + static FINISH: number; + static REQUEUE: number; + static TOUCH: number; + readonly id: string; + body: any; + hasResponded: boolean; + timestamp: number; -declare namespace nsqjs { + constructor(id: string, timestamp: number, attempts: number, body: any, + requeueDelay: number, msgTimeout: number, maxMsgTimeout: number); + json(): any; - export enum RESPONSE_TYPE { - FINISH = 0, - REQUEUE = 1, - TOUCH = 2 - } + timeUntilTimeout(hard?: boolean): number; - export class Message extends events.EventEmitter { + finish(): any; - static BACKOFF: string; - static RESPOND: string; - static FINISH: number; - static REQUEUE: number; - static TOUCH: number; + requeue(delay?: number, backoff?: boolean): any; - readonly id: string; - body: any; - hasResponded: boolean; - timestamp: number; - - - constructor(id: string, timestamp: number, attempts: number, body: any, - requeueDelay: number, msgTimeout: number, maxMsgTimeout: number); - - json(): any; - - timeUntilTimeout(hard?: boolean): number; - - finish(): any; - - requeue(delay: number, backoff: string): any; - - touch(): any; - - respond(responseType: RESPONSE_TYPE, wireData: any): any; - - } - - export class Writer extends events.EventEmitter { - - readonly nsqdHost: string - readonly nsqdPort: number - - static READY: string; - static CLOSED: string; - static ERROR: string; - - constructor(nsqdHost: string, nsqdPort: number, options?: IConnectionConfigOptions); - - connect(): any; - - publish(topic: string, msgs: any, listener?: (err: Error) => void): any; - - close(): any; - - on(event: string, listener: Function): this; - on(event: "ready", listener: () => void): void; - on(event: "closed", listener: () => void): void; - on(event: "error", listener: (err: Error) => void): void; - on(event: "connection_error", listener: (err: Error) => void): void; - - } - - export class Reader extends events.EventEmitter { - - static ERROR: string; - static MESSAGE: string; - static DISCARD: string; - static NSQD_CONNECTED: string; - static NSQD_CLOSED: string; - - constructor(topic: string, channel: any, options?: IReaderConnectionConfigOptions); - - connect(): any; - - close(): any; - - pause(): any; - - unpause(): any; - - isPaused(): boolean; - - queryLookupd(): any; - - connectToNSQD(host: string, port: number): any; - - handleMessage(message: any): any; - - on(event: string, listener: Function): this; - on(event: "nsqd_connected", listener: (host: string, port: number) => void): void; - on(event: "nsqd_closed", listener: (host: string, port: number) => void): void; - on(event: "message", listener: (message: Message) => void): void; - on(event: "discard", listener: (message: Message) => void): void; - on(event: "error", listener: (err: Error) => void): void; - on(event: "connection_error", listener: (err: Error) => void): void; - - - } - - - interface IConnectionConfigOptions { - authSecret?: string, - clientId?: string, - deflate?: boolean, - deflateLevel?: number, - heartbeatInterval?: number, - maxInFlight?: number, - messageTimeout?: number, - outputBufferSize?: number, - outputBufferTimeout?: number, - requeueDelay?: number, - sampleRate?: number, - snappy?: boolean, - tls?: boolean, - tlsVerification?: boolean - } - - interface IReaderConnectionConfigOptions extends IConnectionConfigOptions { - lookupdHTTPAddresses?: string | string[], - lookupdPollInterval?: number, - lookupdPollJitter?: number, - name?: string, - nsqdTCPAddresses?: string | string[], - maxAttempts?: number, - maxBackoffDuration?: number - } + touch(): any; + respond(responseType: number, wireData: Buffer): any; + on(event: "backoff", listener: () => void): this; + on(event: "respond", listener: (responseType: number, wireData: Buffer) => void): this; +} + +export class Writer extends events.EventEmitter { + readonly nsqdHost: string; + readonly nsqdPort: number; + + static READY: string; + static CLOSED: string; + static ERROR: string; + + constructor(nsqdHost: string, nsqdPort: number, options?: ConnectionConfigOptions); + + connect(): any; + + publish(topic: string, msgs: any, listener?: (err: Error) => void): any; + + close(): any; + + on(event: "ready" | "closed", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; +} + +export class Reader extends events.EventEmitter { + static ERROR: string; + static MESSAGE: string; + static DISCARD: string; + static NSQD_CONNECTED: string; + static NSQD_CLOSED: string; + + constructor(topic: string, channel: any, options?: ReaderConnectionConfigOptions); + + connect(): any; + + close(): any; + + pause(): any; + + unpause(): any; + + isPaused(): boolean; + + queryLookupd(): any; + + connectToNSQD(host: string, port: number): any; + + handleMessage(message: any): any; + + on(event: "nsqd_connected" | "nsqd_closed", listener: (host: string, port: number) => void): this; + on(event: "message" | "discard", listener: (message: Message) => void): this; + on(event: "error", listener: (err: Error) => void): this; +} + +export interface ConnectionConfigOptions { + authSecret?: string; + clientId?: string; + deflate?: boolean; + deflateLevel?: number; + heartbeatInterval?: number; + maxInFlight?: number; + messageTimeout?: number; + outputBufferSize?: number; + outputBufferTimeout?: number; + requeueDelay?: number; + sampleRate?: number; + snappy?: boolean; + tls?: boolean; + tlsVerification?: boolean; +} + +export interface ReaderConnectionConfigOptions extends ConnectionConfigOptions { + lookupdHTTPAddresses?: string | string[]; + lookupdPollInterval?: number; + lookupdPollJitter?: number; + name?: string; + nsqdTCPAddresses?: string | string[]; + maxAttempts?: number; + maxBackoffDuration?: number; } diff --git a/types/nsqjs/nsqjs-tests.ts b/types/nsqjs/nsqjs-tests.ts index 3a20471181..889a529843 100644 --- a/types/nsqjs/nsqjs-tests.ts +++ b/types/nsqjs/nsqjs-tests.ts @@ -1,52 +1,50 @@ -import nsqjs = require("nsqjs") +import nsqjs = require('nsqjs'); - -/* - * Enable reader - */ - -let reader = new nsqjs.Reader("sample_topic", 'test_channel', { - nsqdTCPAddresses: '127.0.0.1:4150', - //lookupdHTTPAddresses: ['127.0.0.1:4161'] -}) -reader.connect() - - -reader.on("nsqd_connected", function (err: Error) { - console.log('reader connected => ', err) -}) - -reader.on('message', function (msg: nsqjs.Message) { - console.log('Received message [%s]: %s', msg.id, msg.body.toString()); - msg.finish(); +// Reader +const reader = new nsqjs.Reader('sample_topic', 'test_channel', { + nsqdTCPAddresses: '127.0.0.1:4150' }); +reader.connect(); +reader.pause(); +reader.unpause(); +reader.isPaused(); +reader.close(); -/* - * Enable writer - */ +reader.on('nsqd_connected', (host, port) => {}); +reader.on('nsqd_closed', (host, port) => {}); +reader.on('error', error => {}); +reader.on('discard', message => {}); + +reader.on('message', message => { + console.log('Received message [%s]', message.id); + + message.body.toString(); + message.json(); + + message.requeue(); + message.requeue(100); + message.requeue(100, false); + + message.finish(); + + message.on('backoff', () => {}); + message.on('respond', (responseType, wireData) => {}); +}); + +// Writer +const writer = new nsqjs.Writer('127.0.0.1', 4150); -let writer = new nsqjs.Writer("127.0.0.1", 4150) writer.connect(); -writer.on('ready', function () { - console.log('writer ready') - writer.publish('sample_topic', 'it really tied the room together'); - writer.publish('sample_topic', [ - 'Uh, excuse me. Mark it zero. Next frame.', - 'Smokey, this is not \'Nam. This is bowling. There are rules.' - ]); - writer.publish('sample_topic', 'Wu?', function (err: Error) { - if (err) { - return console.error(err.message); - } - console.log('Message sent successfully'); +writer.on('closed', () => {}); +writer.on('error', error => {}); + +writer.on('ready', () => { + writer.publish('sample_topic', 'message'); + writer.publish('sample_topic', ['message 1', 'message 2']); + writer.publish('sample_topic', 'message', error => { + if (error) { return; } writer.close(); }); }); - -writer.on('closed', function () { - console.log('Writer closed'); -}); - - diff --git a/types/nsqjs/tsconfig.json b/types/nsqjs/tsconfig.json index 2e65f5637c..6681afbdb9 100644 --- a/types/nsqjs/tsconfig.json +++ b/types/nsqjs/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true }, "files": [ "index.d.ts", "nsqjs-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/nsqjs/tslint.json b/types/nsqjs/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/nsqjs/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From bcffa79aaeb6f4350ceb5c062e9f6405351753d2 Mon Sep 17 00:00:00 2001 From: Page- <pjgazzard@googlemail.com> Date: Mon, 9 Oct 2017 14:38:13 -0700 Subject: [PATCH 206/433] Memoizee: Options.length can be false (#20408) --- types/memoizee/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/memoizee/index.d.ts b/types/memoizee/index.d.ts index c83e0ea307..9b98945d32 100644 --- a/types/memoizee/index.d.ts +++ b/types/memoizee/index.d.ts @@ -5,7 +5,7 @@ declare namespace memoizee { interface Options { - length?: number; + length?: number | false; maxAge?: number; max?: number; preFetch?: number | true; From 91bbcaf395179b342c9a853de1ca12e798abd265 Mon Sep 17 00:00:00 2001 From: Andrew Hathaway <Andrew@andrewhathaway.net> Date: Mon, 9 Oct 2017 22:38:44 +0100 Subject: [PATCH 207/433] Add compactType prop to react-grid-layout (#20406) * React-grid-layout typings to support compactType prop * Bump version of typings * Add in author details * Fix trailing whitespace --- types/react-grid-layout/index.d.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/types/react-grid-layout/index.d.ts b/types/react-grid-layout/index.d.ts index d6d89c6727..bf3f5805d9 100644 --- a/types/react-grid-layout/index.d.ts +++ b/types/react-grid-layout/index.d.ts @@ -1,8 +1,9 @@ -// Type definitions for react-grid-layout 0.14 +// Type definitions for react-grid-layout 0.16 // Project: https://github.com/STRML/react-grid-layout // Definitions by: Andrew Birkholz <https://github.com/abirkholz>, // Ali Taheri <https://github.com/alitaheri>, -// Zheyang Song <https://github.com/ZheyangSong> +// Zheyang Song <https://github.com/ZheyangSong>, +// Andrew Hathaway <https://github.com/andrewhathaway> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -131,6 +132,11 @@ declare namespace ReactGridLayout { */ verticalCompact?: boolean; + /** + * Compaction type. + */ + compactType?: "vertical" | "horizontal"; + /** * This allows setting the initial width on the server side. * This is required unless using the HOC <WidthProvider> or similar. From 66e778fe306e177c899ead9ce9beb9034d609971 Mon Sep 17 00:00:00 2001 From: Hugues Stefanski <hugues.stefanski@gmail.com> Date: Mon, 9 Oct 2017 23:39:09 +0200 Subject: [PATCH 208/433] =?UTF-8?q?Updated=20d3-geo=20to=20reflect=20versi?= =?UTF-8?q?on=201.9.0:=20added=20fitWidth=20and=20fitHeight=E2=80=A6=20(#2?= =?UTF-8?q?0388)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Updated d3-geo to reflect version 1.9.0: added fitWidth and fitHeight methods * Fix asterisk position * Missing space * Added spacing between methods * Added tests for d3-geo `fitHeight` and `fitWidth` --- types/d3-geo/d3-geo-tests.ts | 20 ++++++++++++ types/d3-geo/index.d.ts | 62 ++++++++++++++++++++++++++++++++++-- 2 files changed, 80 insertions(+), 2 deletions(-) diff --git a/types/d3-geo/d3-geo-tests.ts b/types/d3-geo/d3-geo-tests.ts index 4d423aa5a3..876461e3e9 100644 --- a/types/d3-geo/d3-geo-tests.ts +++ b/types/d3-geo/d3-geo-tests.ts @@ -422,6 +422,26 @@ constructedProjection = constructedProjection.fitSize([960, 500], sampleExtended constructedProjection = constructedProjection.fitSize([960, 500], sampleFeatureCollection); constructedProjection = constructedProjection.fitSize([960, 500], sampleExtendedFeatureCollection); +constructedProjection = constructedProjection.fitWidth(960, samplePolygon); +constructedProjection = constructedProjection.fitWidth(960, sampleSphere); +constructedProjection = constructedProjection.fitWidth(960, sampleGeometryCollection); +constructedProjection = constructedProjection.fitWidth(960, sampleExtendedGeometryCollection); +constructedProjection = constructedProjection.fitWidth(960, sampleFeature); +constructedProjection = constructedProjection.fitWidth(960, sampleExtendedFeature1); +constructedProjection = constructedProjection.fitWidth(960, sampleExtendedFeature2); +constructedProjection = constructedProjection.fitWidth(960, sampleFeatureCollection); +constructedProjection = constructedProjection.fitWidth(960, sampleExtendedFeatureCollection); + +constructedProjection = constructedProjection.fitHeight(500, samplePolygon); +constructedProjection = constructedProjection.fitHeight(500, sampleSphere); +constructedProjection = constructedProjection.fitHeight(500, sampleGeometryCollection); +constructedProjection = constructedProjection.fitHeight(500, sampleExtendedGeometryCollection); +constructedProjection = constructedProjection.fitHeight(500, sampleFeature); +constructedProjection = constructedProjection.fitHeight(500, sampleExtendedFeature1); +constructedProjection = constructedProjection.fitHeight(500, sampleExtendedFeature2); +constructedProjection = constructedProjection.fitHeight(500, sampleFeatureCollection); +constructedProjection = constructedProjection.fitHeight(500, sampleExtendedFeatureCollection); + // ---------------------------------------------------------------------- // GeoConicProjection interface // ---------------------------------------------------------------------- diff --git a/types/d3-geo/index.d.ts b/types/d3-geo/index.d.ts index 6860031224..40ec500f90 100644 --- a/types/d3-geo/index.d.ts +++ b/types/d3-geo/index.d.ts @@ -1,9 +1,9 @@ -// Type definitions for D3JS d3-geo module 1.8 +// Type definitions for D3JS d3-geo module 1.9 // Project: https://github.com/d3/d3-geo/ // Definitions by: Hugues Stefanski <https://github.com/Ledragon>, Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// Last module patch version validated against: 1.8.1 +// Last module patch version validated against: 1.9.0 import * as GeoJSON from 'geojson'; @@ -805,6 +805,64 @@ export interface GeoProjection extends GeoStreamWrapper { */ fitSize(size: [number, number], object: ExtendedGeometryCollection<GeoGeometryObjects>): this; + /** + * A convenience method for projection.fitSize where the height is automatically chosen from the aspect ratio of object and the given constraint on width. + * + * @param width The width of the extent. + * @param object A geographic feature supported by d3-geo (An extension of GeoJSON feature). + */ + fitWidth(width: number, object: ExtendedFeature<GeoGeometryObjects, any>): this; + /** + * A convenience method for projection.fitSize where the height is automatically chosen from the aspect ratio of object and the given constraint on width. + * + * @param width The width of the extent. + * @param object A GeoJson Geometry Object or GeoSphere object supported by d3-geo (An extension of GeoJSON). + */ + fitWidth(width: number, object: ExtendedFeatureCollection<ExtendedFeature<GeoGeometryObjects, any>>): this; + /** + * A convenience method for projection.fitSize where the height is automatically chosen from the aspect ratio of object and the given constraint on width. + * + * @param width The width of the extent. + * @param object A geographic feature supported by d3-geo (An extension of GeoJSON feature). + */ + fitWidth(width: number, object: GeoGeometryObjects): this; + /** + * A convenience method for projection.fitSize where the height is automatically chosen from the aspect ratio of object and the given constraint on width. + * + * @param width The width of the extent. + * @param object A geographic geometry collection supported by d3-geo (An extension of GeoJSON geometry collection). + */ + fitWidth(width: number, object: ExtendedGeometryCollection<GeoGeometryObjects>): this; + + /** + * A convenience method for projection.fitSize where the width is automatically chosen from the aspect ratio of object and the given constraint on height. + * + * @param height The height of the extent. + * @param object A geographic feature supported by d3-geo (An extension of GeoJSON feature). + */ + fitHeight(height: number, object: ExtendedFeature<GeoGeometryObjects, any>): this; + /** + * A convenience method for projection.fitSize where the width is automatically chosen from the aspect ratio of object and the given constraint on height. + * + * @param height The height of the extent. + * @param object A GeoJson Geometry Object or GeoSphere object supported by d3-geo (An extension of GeoJSON). + */ + fitHeight(height: number, object: ExtendedFeatureCollection<ExtendedFeature<GeoGeometryObjects, any>>): this; + /** + * A convenience method for projection.fitSize where the width is automatically chosen from the aspect ratio of object and the given constraint on height. + * + * @param height The height of the extent. + * @param object A geographic feature supported by d3-geo (An extension of GeoJSON feature). + */ + fitHeight(height: number, object: GeoGeometryObjects): this; + /** + * A convenience method for projection.fitSize where the width is automatically chosen from the aspect ratio of object and the given constraint on height. + * + * @param height The height of the extent. + * @param object A geographic geometry collection supported by d3-geo (An extension of GeoJSON geometry collection). + */ + fitHeight(height: number, object: ExtendedGeometryCollection<GeoGeometryObjects>): this; + /** * Returns a new array [longitude, latitude] in degrees representing the unprojected point of the given projected point. * May return null if the specified point has no defined projected position, such as when the point is outside the clipping bounds of the projection. From a4f3e19300e03e8b30e7662d315254277bf35729 Mon Sep 17 00:00:00 2001 From: Brian Schantz <lastchance@gmail.com> Date: Mon, 9 Oct 2017 14:39:31 -0700 Subject: [PATCH 209/433] StreetViewPanorama extends MVCObject (#20405) --- types/googlemaps/googlemaps-tests.ts | 3 +++ types/googlemaps/index.d.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/types/googlemaps/googlemaps-tests.ts b/types/googlemaps/googlemaps-tests.ts index 6eccc81f4d..973a15d03f 100644 --- a/types/googlemaps/googlemaps-tests.ts +++ b/types/googlemaps/googlemaps-tests.ts @@ -313,6 +313,9 @@ var panoramaOptions: google.maps.StreetViewPanoramaOptions = { }; var panorama = new google.maps.StreetViewPanorama(document.createElement("div"), panoramaOptions); +// MVCObject method on StreetViewPanorama +var panoramaEvent = panorama.addListener("pano_changed", () => {}); + /***** MVCArray *****/ diff --git a/types/googlemaps/index.d.ts b/types/googlemaps/index.d.ts index e3cd3a951e..66ddb31f5d 100644 --- a/types/googlemaps/index.d.ts +++ b/types/googlemaps/index.d.ts @@ -1935,7 +1935,7 @@ declare namespace google.maps { } /***** Street View *****/ - export class StreetViewPanorama { + export class StreetViewPanorama extends MVCObject { constructor(container: Element, opts?: StreetViewPanoramaOptions); controls: MVCArray<Node>[]; getLinks(): StreetViewLink[]; From f7fb43c0920e8682abaf9d2551e863bfb297f732 Mon Sep 17 00:00:00 2001 From: BehindTheMath <BehindTheMath@users.noreply.github.com> Date: Mon, 9 Oct 2017 17:39:53 -0400 Subject: [PATCH 210/433] sanitize-html: add allowedSchemesByTag, allowProtocolRelative to IOptions (#20407) * sanitize-html: add allowedSchemesByTag to IOptions * sanitize-html: add allowProtocolRelative to IOptions --- types/sanitize-html/index.d.ts | 8 ++++++-- types/sanitize-html/sanitize-html-tests.ts | 6 +++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/types/sanitize-html/index.d.ts b/types/sanitize-html/index.d.ts index 5225bbc198..bdd70f956a 100644 --- a/types/sanitize-html/index.d.ts +++ b/types/sanitize-html/index.d.ts @@ -1,6 +1,8 @@ -// Type definitions for sanitize-html 1.13.0 +// Type definitions for sanitize-html 1.14.1 // Project: https://github.com/punkave/sanitize-html -// Definitions by: Rogier Schouten <https://github.com/rogierschouten>, Afshin Darian <https://github.com/afshin> +// Definitions by: Rogier Schouten <https://github.com/rogierschouten> +// Afshin Darian <https://github.com/afshin> +// BehindTheMath <https://github.com/BehindTheMath> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export = sanitize; @@ -38,6 +40,8 @@ declare namespace sanitize { allowedAttributes?: { [index: string]: string[] } | boolean; allowedClasses?: { [index: string]: string[] } | boolean; allowedSchemes?: string[] | boolean; + allowedSchemesByTag?: { [index: string]: string[] } | boolean; + allowProtocolRelative?: boolean; allowedTags?: string[] | boolean; exclusiveFilter?: (frame: IFrame) => boolean; nonTextTags?: string[]; diff --git a/types/sanitize-html/sanitize-html-tests.ts b/types/sanitize-html/sanitize-html-tests.ts index 3774c7c1c7..31efb0395f 100644 --- a/types/sanitize-html/sanitize-html-tests.ts +++ b/types/sanitize-html/sanitize-html-tests.ts @@ -17,7 +17,11 @@ let options: sanitize.IOptions = { }, exclusiveFilter: function(frame: sanitize.IFrame) { return frame.tag === 'a' && !frame.text.trim(); - } + }, + allowedSchemesByTag: { + 'a': ['http', 'https'] + }, + allowProtocolRelative: false }; let unsafe = '<div><script>alert("hello");</script></div>'; From 4e39a2f43d7c6b88773c8c21b14a812c71990c09 Mon Sep 17 00:00:00 2001 From: Daniel Glasgow <danielnglasgow@gmail.com> Date: Mon, 9 Oct 2017 17:40:30 -0400 Subject: [PATCH 211/433] @types/auth0 add full typedef for ManagementClientOptions Issue #20210 (#20214) * Add full typedef for ManagementClientOptions * add semi colons and remove '?' --- types/auth0/index.d.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/types/auth0/index.d.ts b/types/auth0/index.d.ts index cb84c7a6bd..353fa38559 100644 --- a/types/auth0/index.d.ts +++ b/types/auth0/index.d.ts @@ -7,8 +7,18 @@ import * as Promise from 'bluebird'; export interface ManagementClientOptions { - token: string; - domain?: string; + token?: string; + domain: string; + clientId?: string; + clientSecret?: string; + audience?: string; + scope?: string; + tokenProvider?: TokenProvider; +} + +export interface TokenProvider { + enableCache: boolean; + cacheTTLInSeconds?: number; } export interface UserMetadata { } From f72b298cc5ff5d8ae9ebd8ed3e8119f7a6ff1cec Mon Sep 17 00:00:00 2001 From: Maarten Rijke <maartenrijke@gmail.com> Date: Mon, 9 Oct 2017 23:41:10 +0200 Subject: [PATCH 212/433] [react-bootstrap-table] csvFileName also accepts function returning string (#20352) The csvFileName prop on the BootstrapTable component also accepts a function that returns a string. --- types/react-bootstrap-table/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-bootstrap-table/index.d.ts b/types/react-bootstrap-table/index.d.ts index 57c8d02218..159470878a 100644 --- a/types/react-bootstrap-table/index.d.ts +++ b/types/react-bootstrap-table/index.d.ts @@ -177,7 +177,7 @@ export interface BootstrapTableProps extends Props<BootstrapTable> { /** * Set CSV filename (e.g. items.csv). Default is spreadsheet.csv */ - csvFileName?: string; + csvFileName?: () => string | string; /** * Enable row selection on table. selectRow accept an object which have the following properties */ From e119988a7172448cb4df728dc079950f9c29b441 Mon Sep 17 00:00:00 2001 From: Ishaan Malhi <OrthoDex@users.noreply.github.com> Date: Tue, 10 Oct 2017 03:11:41 +0530 Subject: [PATCH 213/433] Fixup aws lambda callback definitions. (#20381) --- types/aws-lambda/index.d.ts | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/types/aws-lambda/index.d.ts b/types/aws-lambda/index.d.ts index 0c8f0fc26d..ee8790705e 100644 --- a/types/aws-lambda/index.d.ts +++ b/types/aws-lambda/index.d.ts @@ -1,6 +1,13 @@ // Type definitions for AWS Lambda // Project: http://docs.aws.amazon.com/lambda -// Definitions by: James Darbyshire <https://github.com/darbio/aws-lambda-typescript>, Michael Skarum <https://github.com/skarum>, Stef Heyenrath <https://github.com/StefH/DefinitelyTyped>, Toby Hede <https://github.com/tobyhede>, Rich Buggy <https://github.com/buggy>, Yoriki Yamaguchi <https://github.com/y13i>, wwwy3y3 <https://github.com/wwwy3y3> +// Definitions by: James Darbyshire <https://github.com/darbio/aws-lambda-typescript> +// Michael Skarum <https://github.com/skarum> +// Stef Heyenrath <https://github.com/StefH/DefinitelyTyped> +// Toby Hede <https://github.com/tobyhede> +// Rich Buggy <https://github.com/buggy> +// Yoriki Yamaguchi <https://github.com/y13i> +// wwwy3y3 <https://github.com/wwwy3y3> +// Ishaan Malhi <https://github.com/OrthoDex> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // API Gateway "event" @@ -347,8 +354,8 @@ export type CustomAuthorizerHandler = (event: CustomAuthorizerEvent, context: Co * @param error – an optional parameter that you can use to provide results of the failed Lambda function execution. * @param result – an optional parameter that you can use to provide the result of a successful function execution. The result provided must be JSON.stringify compatible. */ -export type Callback = (error?: Error, result?: any) => void; -export type ProxyCallback = (error?: Error, result?: ProxyResult) => void; -export type CustomAuthorizerCallback = (error?: Error, result?: AuthResponse) => void; +export type Callback = (error?: Error | null, result?: object) => void; +export type ProxyCallback = (error?: Error | null, result?: ProxyResult) => void; +export type CustomAuthorizerCallback = (error?: Error | null, result?: AuthResponse) => void; export as namespace AWSLambda; From fff1fb67be3ba934489328a0a50f751ea9c1a040 Mon Sep 17 00:00:00 2001 From: spacejack <spacejack@users.noreply.github.com> Date: Mon, 9 Oct 2017 17:42:37 -0400 Subject: [PATCH 214/433] Add other component types for onmatch return type (#20378) --- types/mithril/index.d.ts | 2 +- types/mithril/test/test-route.ts | 34 ++++++++++++++++++++++++++++++-- 2 files changed, 33 insertions(+), 3 deletions(-) diff --git a/types/mithril/index.d.ts b/types/mithril/index.d.ts index 8a7a6a6349..32a76fca0e 100644 --- a/types/mithril/index.d.ts +++ b/types/mithril/index.d.ts @@ -65,7 +65,7 @@ declare namespace Mithril { interface RouteResolver<Attrs, State> { /** The onmatch hook is called when the router needs to find a component to render. */ - onmatch?(this: this, args: Attrs, requestedPath: string): Component<any, any> | Promise<any> | void; + onmatch?(this: this, args: Attrs, requestedPath: string): ComponentTypes<any, any> | Promise<any> | void; /** The render method is called on every redraw for a matching route. */ render?(this: this, vnode: Vnode<Attrs, State>): Children; } diff --git a/types/mithril/test/test-route.ts b/types/mithril/test/test-route.ts index fadf4b9c97..70428fde88 100644 --- a/types/mithril/test/test-route.ts +++ b/types/mithril/test/test-route.ts @@ -1,4 +1,4 @@ -import { Component, Comp, RouteResolver } from 'mithril'; +import { Vnode, Component, Comp, ClassComponent, FactoryComponent, RouteResolver } from 'mithril'; import * as h from 'mithril/hyperscript'; import * as route from 'mithril/route'; @@ -22,6 +22,7 @@ interface State { text: string; } +// Test various component types with router const component3: Comp<Attrs, State> = { text: "Uninitialized", oninit({state}) { @@ -32,6 +33,20 @@ const component3: Comp<Attrs, State> = { } }; +class Component4 implements ClassComponent<Attrs> { + view({attrs}: Vnode<Attrs, {}>) { + return h('p', 'id: ' + attrs.id); + } +} + +const component5: FactoryComponent<Attrs> = () => { + return { + view({attrs}) { + return h('p', 'id: ' + attrs.id); + } + }; +}; + // RouteResolver example using Attrs type and this context const routeResolver: RouteResolver<Attrs, State> & {message: string} = { message: "", @@ -75,7 +90,22 @@ route(document.body, '/', { }); } }, - 'test5/:id': routeResolver + 'test5/:id': routeResolver, + test6: { + onmatch(args, path) { + // Can return ClassComponent from onmatch + return Component4; + } + }, + test7: { + onmatch(args, path) { + // Can return FactoryComponent from onmatch + return component5; + } + }, + // Can use other component types for routes + test8: Component4, + test9: component5 }); route.prefix('/app'); From c8e5feb85725a75107c88ebbd9b0294089cf906f Mon Sep 17 00:00:00 2001 From: Connor Schlesiger <connor@schlesiger.ca> Date: Mon, 9 Oct 2017 17:43:47 -0400 Subject: [PATCH 215/433] Nightwatch add missing options property to browser type and fix test_settings type (#19327) * Add 'options' property to browser type * Fix test_settings type; actually object of NightWatchTestSettingScreenshots * Fix nightwatch.js spelling * Add Nightwatch to all exports, fix 'Nightwatch' punctuation, Nightwatch browser returns refer to 'this' for easier extendability * Additional changes mostly to fix issues when adding custom assertions and commands * Fix lint issues * Fix no any union * Switch NighwatchCallbackResult to any * Readd custom assertions and commands interfaces --- types/nightwatch/index.d.ts | 540 ++++++++++++++++----------- types/nightwatch/nightwatch-tests.ts | 2 +- 2 files changed, 326 insertions(+), 216 deletions(-) diff --git a/types/nightwatch/index.d.ts b/types/nightwatch/index.d.ts index 5316aa42cb..7a60aedac5 100644 --- a/types/nightwatch/index.d.ts +++ b/types/nightwatch/index.d.ts @@ -6,11 +6,11 @@ /* tslint:disable:max-line-length */ -interface NightWatchCustomPageObjects { +interface NightwatchCustomPageObjects { page: {}; } -interface DesiredCapabilities { +interface NightwatchDesiredCapabilities { /** * The name of the browser being used; should be one of {android|chrome|firefox|htmlunit|internet explorer|iPhone|iPad|opera|safari}. */ @@ -111,26 +111,26 @@ interface DesiredCapabilities { }; } -interface ScreenshotOptions { +interface NightwatchScreenshotOptions { enabled?: boolean; on_failure?: boolean; on_error?: boolean; path?: string; } -interface NightWatchTestRunner { +interface NightwatchTestRunner { "type"?: string; options?: { ui?: string; }; } -interface NightWatchTestWorker { +interface NightwatchTestWorker { enabled: boolean; workers: string; } -interface NightWatchOptions { +interface NightwatchOptions { /** * An array of folders (excluding subfolders) where the tests are located. */ @@ -165,12 +165,12 @@ interface NightWatchOptions { /** * An object containing Selenium Server related configuration options. See below for details. */ - selenium?: SeleniumOptions; + selenium?: NightwatchSeleniumOptions; /** * This object contains all the test related options. See below for details. */ - test_settings: NightWatchTestSettings; + test_settings: NightwatchTestSettings; /** * Whether or not to buffer the output in case of parallel running. See below for details. @@ -191,16 +191,16 @@ interface NightWatchOptions { * Whether or not to run individual test files in parallel. If set to true, runs the tests in parallel and determines the number of workers automatically. * If set to an object, can specify specify the number of workers as "auto" or a number. Example: "test_workers" : {"enabled" : true, "workers" : "auto"} */ - test_workers?: boolean | NightWatchTestWorker; + test_workers?: boolean | NightwatchTestWorker; /** * Specifies which test runner to use when running the tests. Values can be either default (built in nightwatch runner) or mocha. * Example: "test_runner" : {"type" : "mocha", "options" : {"ui" : "tdd"}} */ - test_runner?: string | NightWatchTestRunner; + test_runner?: string | NightwatchTestRunner; } -interface SeleniumOptions { +interface NightwatchSeleniumOptions { /** * Whether or not to manage the selenium process automatically. */ @@ -250,7 +250,7 @@ interface SeleniumOptions { cli_args: any; } -interface NightWatchTestSettings { +interface NightwatchTestSettingGeneric { /** * A url which can be used later in the tests as the main url to load. Can be useful if your tests will run on different environments, each one with a different url. */ @@ -281,19 +281,6 @@ interface NightWatchTestSettings { */ disable_colors: boolean; - /** - * Selenium generates screenshots when command errors occur. With on_failure set to true, also generates screenshots for failing or erroring tests. These are saved on the disk. - * Since v0.7.5 you can disable screenshots for command errors by setting "on_error" to false. - * Example: - * "screenshots" : { - * "enabled" : true, - * "on_failure" : true, - * "on_error" : false, - * "path" : "" - * } - */ - screenshots: ScreenshotOptions; - /** * In case the selenium server requires credentials this username will be used to compute the Authorization header. * The value can be also an environment variable, in which case it will look like this: "username" : "${SAUCE_USERNAME}" @@ -320,7 +307,7 @@ interface NightWatchTestSettings { * } * You can view the complete list of capabilities https://code.google.com/p/selenium/wiki/DesiredCapabilities. */ - desiredCapabilities: DesiredCapabilities; + desiredCapabilities: NightwatchDesiredCapabilities; /** * An object which will be made available within the test and can be overwritten per environment. Example:"globals" : { "myGlobal" : "some_global" } @@ -365,21 +352,41 @@ interface NightWatchTestSettings { skip_testcases_on_fail: boolean; } -interface TestSuite { +interface NightwatchTestSettingScreenshots extends NightwatchTestSettingGeneric { + /** + * Selenium generates screenshots when command errors occur. With on_failure set to true, also generates screenshots for failing or erroring tests. These are saved on the disk. + * Since v0.7.5 you can disable screenshots for command errors by setting "on_error" to false. + * Example: + * "screenshots" : { + * "enabled" : true, + * "on_failure" : true, + * "on_error" : false, + * "path" : "" + * } + */ + screenshots: NightwatchScreenshotOptions; +} + +interface NightwatchTestOptions extends NightwatchTestSettingGeneric { + screenshots: boolean; + screenshotsPath: string; +} + +interface NightwatchTestSuite { name: string; "module": string; group: string; results: any; } -interface AssertionError { +interface NightwatchAssertionsError { name: string; message: string; showDiff: boolean; stack: string; } -interface LanguageChains { +interface NightwatchLanguageChains { to: Expect; be: Expect; been: Expect; @@ -394,13 +401,17 @@ interface LanguageChains { of: Expect; } -interface Expect extends LanguageChains, NightWatchBrowser { +interface NightwatchTestSettings { + [key: string]: NightwatchTestSettingScreenshots; +} + +interface Expect extends NightwatchLanguageChains, NightwatchBrowser { /** * Returns the DOM Element * @param property: Css / Id property of the DOM element * @returns {} */ - element(property: string): NightWatchBrowser; + element(property: string): this; /** * These methods will perform assertions on the specified target on the current element. @@ -409,14 +420,14 @@ interface Expect extends LanguageChains, NightWatchBrowser { * @param message * @returns {} */ - equal(value: string): NightWatchBrowser; - contain(value: string): NightWatchBrowser; - match(value: string): NightWatchBrowser; + equal(value: string): this; + contain(value: string): this; + match(value: string): this; /** * Negates any of assertions following in the chain. */ - not: NightWatchBrowser; + not: this; /** * These methods perform the same thing which is essentially retrying the assertion for the given amount of time (in milliseconds). @@ -426,8 +437,8 @@ interface Expect extends LanguageChains, NightWatchBrowser { * @param value: Number of milliseconds to wait to perform and operation of check * @returns {} */ - before(value: number): NightWatchBrowser; - after(value: number): NightWatchBrowser; + before(value: number): this; + after(value: number): this; /** * Checks if the type (i.e. tag name) of a specified element is of an expected value. @@ -435,8 +446,8 @@ interface Expect extends LanguageChains, NightWatchBrowser { * @param message: Optional log message to display in the output. If missing, one is displayed by default. * @returns {} */ - a(value: string, message?: string): NightWatchBrowser; - an(value: string, message?: string): NightWatchBrowser; + a(value: string, message?: string): this; + an(value: string, message?: string): this; /** * Checks if a given attribute of an element exists and optionally if it has the expected value. @@ -444,7 +455,7 @@ interface Expect extends LanguageChains, NightWatchBrowser { * @param message: Optional log message to display in the output. If missing, one is displayed by default. * @returns {} */ - attribute(name: string, message?: string): NightWatchBrowser; + attribute(name: string, message?: string): this; /** * Checks a given css property of an element exists and optionally if it has the expected value. @@ -452,40 +463,40 @@ interface Expect extends LanguageChains, NightWatchBrowser { * @param message: Optional log message to display in the output. If missing, one is displayed by default. * @returns {} */ - css(property: string, message?: string): NightWatchBrowser; + css(property: string, message?: string): this; /** * Property that checks if an element is currently enabled. */ - enabled: NightWatchBrowser; + enabled: this; /** * Property that checks if an element is present in the DOM. */ - present: NightWatchBrowser; + present: this; /** * Property that checks if an OPTION element, or an INPUT element of type checkbox or radio button is currently selected. */ - selected: NightWatchBrowser; + selected: this; /** * Property that retrieves the text contained by an element. Can be chained to check if contains/equals/matches the specified text or regex. */ - text: NightWatchBrowser; + text: this; /** * Property that retrieves the value (i.e. the value attributed) of an element. Can be chained to check if contains/equals/matches the specified text or regex. */ - value: NightWatchBrowser; + value: this; /** * Property that asserts the visibility of a specified element. */ - visible: NightWatchBrowser; + visible: this; } -interface Assertion extends NightWatchBrowser { +interface NightwatchAssertions extends NightwatchBrowser { /** * Checks if the given attribute of an element contains the expected value. * @param selector: The selector (CSS / Xpath) used to locate the element. @@ -494,7 +505,7 @@ interface Assertion extends NightWatchBrowser { * @param message: Optional log message to display in the output. If missing, one is displayed by default. * @returns {} */ - attributeContains(selector: string, attribute: string, expected: string, message?: string): NightWatchBrowser; + attributeContains(selector: string, attribute: string, expected: string, message?: string): this; /** * Checks if the given attribute of an element has the expected value. @@ -504,7 +515,7 @@ interface Assertion extends NightWatchBrowser { * @param msg: Optional log message to display in the output. If missing, one is displayed by default. * @returns {} */ - attributeEquals(cssSelector: string, attribute: string, expected: string, msg?: string): NightWatchBrowser; + attributeEquals(cssSelector: string, attribute: string, expected: string, msg?: string): this; /** * Checks if the given element contains the specified text. @@ -513,7 +524,7 @@ interface Assertion extends NightWatchBrowser { * @param msg: Optional log message to display in the output. If missing, one is displayed by default. * @returns {} */ - containsText(cssSelector: string, expectedText: string, msg?: string): NightWatchBrowser; + containsText(cssSelector: string, expectedText: string, msg?: string): this; /** * Checks if the given element has the specified CSS class. @@ -522,7 +533,7 @@ interface Assertion extends NightWatchBrowser { * @param msg: Optional log message to display in the output. If missing, one is displayed by default. * @returns {} */ - cssClassPresent(cssSelector: string, className: string, msg?: string): NightWatchBrowser; + cssClassPresent(cssSelector: string, className: string, msg?: string): this; /** * Checks if the given element does not have the specified CSS class. @@ -531,7 +542,7 @@ interface Assertion extends NightWatchBrowser { * @param msg: Optional log message to display in the output. If missing, one is displayed by default. * @returns {} */ - cssClassNotPresent(cssSelector: string, className: string, msg?: string): NightWatchBrowser; + cssClassNotPresent(cssSelector: string, className: string, msg?: string): this; /** * Checks if the specified css property of a given element has the expected value. @@ -541,13 +552,13 @@ interface Assertion extends NightWatchBrowser { * @param msg: Optional log message to display in the output. If missing, one is displayed by default. * @returns {} */ - cssProperty(cssSelector: string, cssProperty: string, expected: string | number, msg?: string): NightWatchBrowser; + cssProperty(cssSelector: string, cssProperty: string, expected: string | number, msg?: string): this; - deepEqual(value: any, expected: any, message?: string): NightWatchBrowser; + deepEqual(value: any, expected: any, message?: string): this; - deepStrictEqual(value: any, expected: any, message?: string): NightWatchBrowser; + deepStrictEqual(value: any, expected: any, message?: string): this; - doesNotThrow(value: any, expected: any, message?: string): NightWatchBrowser; + doesNotThrow(value: any, expected: any, message?: string): this; /** * Checks if the given element exists in the DOM. @@ -555,7 +566,7 @@ interface Assertion extends NightWatchBrowser { * @param msg: Optional log message to display in the output. If missing, one is displayed by default. * @returns {} */ - elementPresent(cssSelector: string, msg?: string): NightWatchBrowser; + elementPresent(cssSelector: string, msg?: string): this; /** * Checks if the given element does not exist in the DOM. @@ -563,11 +574,11 @@ interface Assertion extends NightWatchBrowser { * @param msg: Optional log message to display in the output. If missing, one is displayed by default. * @returns {} */ - elementNotPresent(cssSelector: string, msg?: string): NightWatchBrowser; + elementNotPresent(cssSelector: string, msg?: string): this; - equal(value: any, expected: any, message?: string): NightWatchBrowser; + equal(value: any, expected: any, message?: string): this; - fail(actual?: any, expected?: any, message?: string, operator?: string): NightWatchBrowser; + fail(actual?: any, expected?: any, message?: string, operator?: string): this; /** * Checks if the given element is not visible on the page. @@ -575,23 +586,23 @@ interface Assertion extends NightWatchBrowser { * @param msg: Optional log message to display in the output. If missing, one is displayed by default. * @returns {} */ - hidden(cssSelector: string, msg?: string): NightWatchBrowser; + hidden(cssSelector: string, msg?: string): this; - ifError(value: any, message?: string): NightWatchBrowser; + ifError(value: any, message?: string): this; - notDeepEqual(actual: any, expected: any, message?: string): NightWatchBrowser; + notDeepEqual(actual: any, expected: any, message?: string): this; - notDeepStrictEqual(value: any, message?: string): NightWatchBrowser; + notDeepStrictEqual(value: any, message?: string): this; - notEqual(actual: any, expected: any, message?: string): NightWatchBrowser; + notEqual(actual: any, expected: any, message?: string): this; - notStrictEqual(value: any, expected: any, message?: string): NightWatchBrowser; + notStrictEqual(value: any, expected: any, message?: string): this; - ok(actual: boolean, message?: string): NightWatchBrowser; + ok(actual: boolean, message?: string): this; - strictEqual(value: any, expected: any, message?: string): NightWatchBrowser; + strictEqual(value: any, expected: any, message?: string): this; - throws(fn: () => void, msg?: string): NightWatchBrowser; + throws(fn: () => void, msg?: string): this; /** * Checks if the current URL contains the given value. @@ -599,7 +610,7 @@ interface Assertion extends NightWatchBrowser { * @param msg: Optional log message to display in the output. If missing, one is displayed by default. * @returns {} */ - urlContains(expectedText: string, msg?: string): NightWatchBrowser; + urlContains(expectedText: string, msg?: string): this; /** * Checks if the current url equals the given value. @@ -607,7 +618,7 @@ interface Assertion extends NightWatchBrowser { * @param msg: Optional log message to display in the output. If missing, one is displayed by default. * @returns {} */ - urlEquals(expected: string, msg?: string): NightWatchBrowser; + urlEquals(expected: string, msg?: string): this; /** * Checks if the given form element's value equals the expected value. @@ -616,7 +627,7 @@ interface Assertion extends NightWatchBrowser { * @param msg: Optional log message to display in the output. If missing, one is displayed by default. * @returns {} */ - value(cssSelector: string, expectedText: string, msg?: string): NightWatchBrowser; + value(cssSelector: string, expectedText: string, msg?: string): this; /** * Checks if the given form element's value contains the expected value. @@ -625,7 +636,7 @@ interface Assertion extends NightWatchBrowser { * @param msg: Optional log message to display in the output. If missing, one is displayed by default. * @returns {} */ - valueContains(cssSelector: string, expectedText: string, msg?: string): NightWatchBrowser; + valueContains(cssSelector: string, expectedText: string, msg?: string): this; /** * Checks if the given element is visible on the page. @@ -633,21 +644,22 @@ interface Assertion extends NightWatchBrowser { * @param msg: Optional log message to display in the output. If missing, one is displayed by default. * @returns {} */ - visible(cssSelector: string, msg?: string): NightWatchBrowser; + visible(cssSelector: string, msg?: string): this; - AssertionError: AssertionError; + NightwatchAssertionsError: NightwatchAssertionsError; } -interface TypedCallbackResult<T> { +interface NightwatchTypedCallbackResult<T> { status: number; value: T; + state: Error | string; } // tslint:disable-next-line:no-empty-interface -interface CallbackResult extends TypedCallbackResult<string | any> { +interface NightwatchCallbackResult extends NightwatchTypedCallbackResult<any> { } -interface LogEntry { +interface NightwatchLogEntry { /** * The log entry message. */ @@ -664,7 +676,7 @@ interface LogEntry { level: string; } -interface Keys { +interface NightwatchKeys { /** Releases all held modifier keys. */ "NULL": string; /** OS-specific keystroke sequence that performs a cancel action. */ @@ -787,12 +799,12 @@ interface Keys { "COMMAND": string; } -interface NightWatchClient { - assert: Assertion; +interface NightwatchAPI { + assert: NightwatchAssertions; expect: Expect; - verify: Assertion; + verify: NightwatchAssertions; /** * Clear a textarea or a text input element's value. Uses elementIdValue protocol command. @@ -807,7 +819,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - clearValue(selector: string, callback?: () => void): NightWatchBrowser; + clearValue(selector: string, callback?: () => void): this; /** * Simulates a click event on the given DOM element. Uses elementIdClick protocol command. @@ -822,7 +834,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - click(selector: string, callback?: () => void): NightWatchBrowser; + click(selector: string, callback?: () => void): this; /** * Close the current window. This can be useful when you're working with multiple windows open (e.g. an OAuth login). Uses window protocol command. @@ -836,7 +848,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - closeWindow(callback?: () => void): NightWatchBrowser; + closeWindow(callback?: () => void): this; /** * Delete the cookie with the given name. This command is a no-op if there is no such cookie visible to the current page. @@ -853,7 +865,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - deleteCookie(The: string, callback?: () => void): NightWatchBrowser; + deleteCookie(The: string, callback?: () => void): this; /** * Delete all cookies visible to the current page. @@ -869,7 +881,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - deleteCookies(callback?: () => void): NightWatchBrowser; + deleteCookies(callback?: () => void): this; /** * Ends the session. Uses session protocol command. @@ -883,7 +895,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - end(callback?: () => void): NightWatchBrowser; + end(callback?: () => void): this; /** * Retrieve the value of an attribute for a given DOM element. Uses elementIdAttribute protocol command. @@ -903,7 +915,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {The value of the attribute} */ - getAttribute(selector: string, attribute: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + getAttribute(selector: string, attribute: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Retrieve a single cookie visible to the current page. The cookie is returned as a cookie JSON object, as defined here. @@ -922,7 +934,7 @@ interface NightWatchClient { * @param callback: The callback function which will receive the response as an argument. * @returns {The cookie object as a selenium cookie JSON object or null if the cookie wasn't found.} */ - getCookie(name: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + getCookie(name: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Retrieve all cookies visible to the current page. The cookies are returned as an array of cookie JSON object, @@ -940,7 +952,7 @@ interface NightWatchClient { * @param callback: The callback function which will receive the response as an argument. * @returns {A list of cookies} */ - getCookies(callback?: (result: CallbackResult) => void): NightWatchBrowser; + getCookies(callback?: (result: NightwatchCallbackResult) => void): this; /** * Retrieve the value of a css property for a given DOM element. Uses elementIdCssProperty protocol command. @@ -960,7 +972,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {The value of the css property} */ - getCssProperty(selector: string, cssProperty: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + getCssProperty(selector: string, cssProperty: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Determine an element's size in pixels. Uses elementIdSize protocol command. @@ -980,7 +992,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {The width and height of the element in pixels} */ - getElementSize(selector: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + getElementSize(selector: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Determine an element's location on the page. The point (0, 0) refers to the upper-left corner of the page. @@ -1001,7 +1013,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {The X and Y coordinates for the element on the page} */ - getLocation(selector: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + getLocation(selector: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Determine an element's location on the screen once it has been scrolled into view. Uses elementIdLocationInView protocol command. @@ -1021,7 +1033,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {The X and Y coordinates for the element on the page.} */ - getLocationInView(selector: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + getLocationInView(selector: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Gets a log from selenium @@ -1041,7 +1053,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - getLog(typestring: string, callback?: (log: LogEntry[]) => void): NightWatchBrowser; + getLog(typestring: string, callback?: (log: NightwatchLogEntry[]) => void): this; /** * Gets the available log types @@ -1057,7 +1069,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {Available log types} */ - getLogTypes(callback?: (result: CallbackResult) => void): NightWatchBrowser; + getLogTypes(callback?: (result: NightwatchCallbackResult) => void): this; /** * Query for an element's tag name. Uses elementIdName protocol command. @@ -1076,7 +1088,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {The element's tag name, as a lowercase string.} */ - getTagName(selector: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + getTagName(selector: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Returns the visible text for the element. Uses elementIdText protocol command. @@ -1095,7 +1107,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {The element's visible text.} */ - getText(selector: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + getText(selector: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Returns the title of the current page. Uses title protocol command. @@ -1105,14 +1117,14 @@ interface NightWatchClient { * this.demoTest = function (browser) { * browser.getTitle(function(title) { * this.assert.equal(typeof title, 'string'); - * this.assert.equal(title, 'Nightwatch.js'); + * this.assert.equal(title, 'nightwatch.js'); * }); * }; * ``` * @param callback: Optional callback function to be called when the command finishes. * @returns {The page title.} */ - getTitle(callback?: (result: CallbackResult) => void): NightWatchBrowser; + getTitle(callback?: (result: NightwatchCallbackResult) => void): this; /** * Returns a form element current value. Uses elementIdValue protocol command. @@ -1131,7 +1143,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {The element's value.} */ - getValue(selector: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + getValue(selector: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * This command is an alias to url and also a convenience method when called without any arguments in the sense that it performs a call to .url() with passing the value of launch_url @@ -1146,7 +1158,7 @@ interface NightWatchClient { * @param url: Url to navigate to. * @returns {} */ - init(url?: string): NightWatchBrowser; + init(url?: string): this; /** * Utility command to load an external script into the page specified by url. @@ -1164,7 +1176,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {The newly created script tag.} */ - injectScript(scriptUrl: string, id?: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + injectScript(scriptUrl: string, id?: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Utility command to test if the log type is available @@ -1181,7 +1193,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - isLogAvailable(typeString: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + isLogAvailable(typeString: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Determine if an element is currently displayed. Uses elementIdDisplayed protocol command. @@ -1200,7 +1212,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - isVisible(selector: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + isVisible(selector: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Maximizes the current window. @@ -1214,7 +1226,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - maximizeWindow(callback?: (result: CallbackResult) => void): NightWatchBrowser; + maximizeWindow(callback?: (result: NightwatchCallbackResult) => void): this; /** * Move the mouse by an offset of the specified element. Uses moveTo protocol command. @@ -1231,7 +1243,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - moveToElement(selector: string, xoffset: number, yoffset: number, callback?: (result: CallbackResult) => void): NightWatchBrowser; + moveToElement(selector: string, xoffset: number, yoffset: number, callback?: (result: NightwatchCallbackResult) => void): this; /** * Suspends the test for the given time in milliseconds. If the milliseconds argument is missing it will suspend the test indefinitely @@ -1248,7 +1260,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - pause(ms: number, callback?: (result: CallbackResult) => void): NightWatchBrowser; + pause(ms: number, callback?: (result: NightwatchCallbackResult) => void): this; /** * A simple perform command which allows access to the "api" in a callback. Can be useful if you want to read variables set by other commands. @@ -1263,6 +1275,58 @@ interface NightWatchClient { * }) * // other stuff going on ... * // + * // asynchronous completion including api (client) + * .perform(function(client, done) { + * console.log('elementValue', elementValue); + * // similar to before, but now with client + * // potentially other async stuff going on + * // on finished, call the done callback + * done(); + * }); + * }; + * ``` + * + * @param callback: The function to run as part of the queue. Its signature can have up to two parameters. No parameters: callback runs and + * perform completes immediately at the end of the execution of the callback. One parameter: allows for asynchronous execution within the + * callback providing a done callback function for completion as the first argument. Two parameters: allows for asynchronous execution + * with the "api" object passed in as the first argument, followed by the done callback. + * @returns {} + */ + perform(callback: (browser: this, done?: () => void) => void): this; + + /** + * A simple perform command which allows access to the "api" in a callback. Can be useful if you want to read variables set by other commands. + * + * Usage: + * ``` + * this.demoTest = function (browser) { + * var elementValue; + * browser + * .getValue('.some-element', function(result) { + * elementValue = result.value; + * }) + * // other stuff going on ... + * // + * // asynchronous completion + * .perform(function(done) { + * console.log('elementValue', elementValue); + * // potentially other async stuff going on + * // on finished, call the done callback + * done(); + * }) + * }; + * ``` + * + * Usage: + * ``` + * this.demoTest = function (browser) { + * var elementValue; + * browser + * .getValue('.some-element', function(result) { + * elementValue = result.value; + * }) + * // other stuff going on ... + * // * // self-completing callback * .perform(function() { * console.log('elementValue', elementValue); @@ -1270,22 +1334,6 @@ interface NightWatchClient { * // completes immediately (synchronously) * }) * // - * // asynchronous completion - * .perform(function(done) { - * console.log('elementValue', elementValue); - * // potentially other async stuff going on - * // on finished, call the done callback - * done(); - * }) - * // - * // asynchronous completion including api (client) - * .perform(function(client, done) { - * console.log('elementValue', elementValue); - * // similar to before, but now with client - * // potentially other async stuff going on - * // on finished, call the done callback - * done(); - * }); * }; * ``` * @param callback: The function to run as part of the queue. Its signature can have up to two parameters. No parameters: callback runs and @@ -1294,7 +1342,7 @@ interface NightWatchClient { * with the "api" object passed in as the first argument, followed by the done callback. * @returns {} */ - perform(callback: (browser: NightWatchBrowser, done?: () => void) => void): NightWatchBrowser; + perform(callback: (done?: () => void) => void): this; // tslint:disable-line:unified-signatures /** * Resizes the current window. @@ -1310,7 +1358,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - resizeWindow(width: number, height: number, callback?: () => void): NightWatchBrowser; + resizeWindow(width: number, height: number, callback?: () => void): this; /** * Take a screenshot of the current page and saves it as the given filename. @@ -1325,7 +1373,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - saveScreenshot(fileName: string, callback?: () => void): NightWatchBrowser; + saveScreenshot(fileName: string, callback?: () => void): this; /** * SessionId of the session used by the Nightwatch api. @@ -1337,7 +1385,7 @@ interface NightWatchClient { * @param sessionId: The session Id to set. * @returns {} */ - setSessionId(sessionId: string): NightWatchBrowser; + setSessionId(sessionId: string): this; /** * Set a cookie, specified as a cookie JSON object, as defined https://code.google.com/p/selenium/wiki/JsonWireProtocol#Cookie_JSON_Object. @@ -1361,7 +1409,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - setCookie(cookie: any, callback?: () => void): NightWatchBrowser; + setCookie(cookie: any, callback?: () => void): this; /** * Sends some text to an element. Can be used to set the value of a form element or to send a sequence of key strokes to an element. Any UTF-8 character may be specified. @@ -1386,7 +1434,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - setValue(selector: string, inputValue: string, callback?: () => void): NightWatchBrowser; + setValue(selector: string, inputValue: string, callback?: () => void): this; /** * Sets the current window position. @@ -1402,7 +1450,7 @@ interface NightWatchClient { * @param callback: ptional callback function to be called when the command finishes. * @returns {} */ - setWindowPosition(OffsetX: number, OffsetY: number, callback?: () => void): NightWatchBrowser; + setWindowPosition(OffsetX: number, OffsetY: number, callback?: () => void): this; /** * Submit a FORM element. The submit command may also be applied to any element that is a descendant of a FORM element. Uses submit protocol command. @@ -1417,7 +1465,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - submitForm(selector: string, callback?: () => void): NightWatchBrowser; + submitForm(selector: string, callback?: () => void): this; /** * Change focus to another window. The window to change focus to may be specified by its server assigned window handle, or by the value of its name attribute. @@ -1436,7 +1484,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - switchWindow(handleOrName: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + switchWindow(handleOrName: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Convenience method that adds the specified hash (i.e. url fragment) to the current value of the launch_url as set in nightwatch.json. @@ -1453,7 +1501,7 @@ interface NightWatchClient { * @param callback: * @returns {} */ - urlHash(hash: string): NightWatchBrowser; + urlHash(hash: string): this; /** * Opposite of waitForElementPresent. Waits a given time in milliseconds for an element to be not present (i.e. removed) in the page before performing any other commands @@ -1470,13 +1518,13 @@ interface NightWatchClient { * @param selector: The selector (CSS / Xpath) used to locate the element. * @param time: The number of milliseconds to wait. The runner performs repeated checks every 500 ms. * @param abortOnFailure: By the default if the element is not found the test will fail. Set this to false if you wish for the test to continue even if the assertion fails. - * To set this globally you can define a property `abortOnAssertionFailure` in your globals. + * To set this globally you can define a property `abortOnNightwatchAssertionsFailure` in your globals. * @param callback: Optional callback function to be called when the command finishes. * @param message: Optional message to be shown in the output; the message supports two placeholders: %s for current selector and %d for the time * (e.g. Element %s was not in the page for %d ms). * @returns {} */ - waitForElementNotPresent(selector: string, time?: number, abortOnFailure?: boolean, callback?: () => void, message?: string): NightWatchBrowser; + waitForElementNotPresent(selector: string, time?: number, abortOnFailure?: boolean, callback?: () => void, message?: string): this; /** * Opposite of waitForElementVisible. Waits a given time in milliseconds for an element to be not visible (i.e. hidden but existing) in the page before performing @@ -1493,13 +1541,13 @@ interface NightWatchClient { * @param selector: The selector (CSS / Xpath) used to locate the element. * @param time: The number of milliseconds to wait. The runner performs repeated checks every 500 ms. * @param abortOnFailure: By the default if the element is not found the test will fail. Set this to false if you wish for the test to continue even if the assertion fails. - * To set this globally you can define a property `abortOnAssertionFailure` in your globals. + * To set this globally you can define a property `abortOnNightwatchAssertionsFailure` in your globals. * @param callback: Optional callback function to be called when the command finishes. * @param message: Optional message to be shown in the output; the message supports two placeholders: %s for current selector and %d for the time * (e.g. Element %s was not in the page for %d ms). * @returns {} */ - waitForElementNotVisible(selector: string, time?: number, abortOnFailure?: boolean, callback?: () => void, message?: string): NightWatchBrowser; + waitForElementNotVisible(selector: string, time?: number, abortOnFailure?: boolean, callback?: () => void, message?: string): this; /** * Waits a given time in milliseconds for an element to be present in the page before performing any other commands or assertions. @@ -1527,13 +1575,13 @@ interface NightWatchClient { * @param selector: The selector (CSS / Xpath) used to locate the element. * @param time: The number of milliseconds to wait. The runner performs repeated checks every 500 ms. * @param abortOnFailure: By the default if the element is not found the test will fail. Set this to false if you wish for the test to continue even if the assertion fails. - * To set this globally you can define a property `abortOnAssertionFailure` in your globals. + * To set this globally you can define a property `abortOnNightwatchAssertionsFailure` in your globals. * @param callback: Optional callback function to be called when the command finishes. * @param message: Optional message to be shown in the output; the message supports two placeholders: %s for current selector and %d for the time * (e.g. Element %s was not in the page for %d ms). * @returns {} */ - waitForElementPresent(selector: string, time?: number, abortOnFailure?: boolean, callback?: () => void, message?: string): NightWatchBrowser; + waitForElementPresent(selector: string, time?: number, abortOnFailure?: boolean, callback?: () => void, message?: string): this; /** * Waits a given time in milliseconds for an element to be visible in the page before performing any other commands or assertions. @@ -1560,26 +1608,26 @@ interface NightWatchClient { * ``` * @param selector: The selector (CSS / Xpath) used to locate the element. * @param time: The number of milliseconds to wait. The runner performs repeated checks every 500 ms. - * @param abortOnFailure: By the default if the element is not found the test will fail. Set this to false if you wish for the test to continue even if the assertion fails. To set this globally you can define a property `abortOnAssertionFailure` in your globals. + * @param abortOnFailure: By the default if the element is not found the test will fail. Set this to false if you wish for the test to continue even if the assertion fails. To set this globally you can define a property `abortOnNightwatchAssertionsFailure` in your globals. * @param callback: Optional callback function to be called when the command finishes. * @param message: Optional message to be shown in the output; the message supports two placeholders: %s for current selector and %d for the time (e.g. Element %s was not in the page for %d ms). * @returns {} */ - waitForElementVisible(selector: string, time?: number, abortOnFailure?: boolean, callback?: () => void, message?: string): NightWatchBrowser; + waitForElementVisible(selector: string, time?: number, abortOnFailure?: boolean, callback?: () => void, message?: string): this; /** * Accepts the currently displayed alert dialog. Usually, this is equivalent to clicking on the 'OK' button in the dialog. * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - acceptAlert(callback?: () => void): NightWatchBrowser; + acceptAlert(callback?: () => void): this; /** * Navigate backwards in the browser history, if possible. * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - back(callback?: () => void): NightWatchBrowser; + back(callback?: () => void): this; /** * Get a list of the available contexts. @@ -1587,7 +1635,7 @@ interface NightWatchClient { * @param callback: Callback function to be called when the command finishes. * @returns {an array of strings representing available contexts, e.g 'WEBVIEW', or 'NATIVE'} */ - contexts(callback?: (result: CallbackResult) => void): NightWatchBrowser; + contexts(callback?: (result: NightwatchCallbackResult) => void): this; /** * Retrieve or delete all cookies visible to the current page or set a cookie. @@ -1595,14 +1643,14 @@ interface NightWatchClient { * @param callbackorCookie * @returns {a string representing the current context or `null`, representing "no context"} */ - cookie(method: string, callbackorCookie?: () => void): NightWatchBrowser; + cookie(method: string, callbackorCookie?: () => void): this; /** * Get current context. * @param callback: Callback function to be called when the command finishes. * @returns {} */ - currentContext(callback?: (result: CallbackResult) => void): NightWatchBrowser; + currentContext(callback?: (result: NightwatchCallbackResult) => void): this; /** * Dismisses the currently displayed alert dialog. For confirm() and prompt() dialogs, this is equivalent to clicking the 'Cancel' button. @@ -1610,14 +1658,14 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - dismissAlert(callback?: () => void): NightWatchBrowser; + dismissAlert(callback?: () => void): this; /** * Double-clicks at the current mouse coordinates (set by moveto). * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - doubleClick(callback?: () => void): NightWatchBrowser; + doubleClick(callback?: () => void): this; /** * Search for an element on the page, starting from the document root. The located element will be returned as a WebElement JSON object. @@ -1637,14 +1685,14 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - element(using: string, value: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + element(using: string, value: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Get the element on the page that currently has focus. * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - elementActive(callback?: (result: CallbackResult) => void): NightWatchBrowser; + elementActive(callback?: (result: NightwatchCallbackResult) => void): this; /** * Get the value of an element's attribute. @@ -1653,7 +1701,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - elementIdAttribute(id: string, attributeName: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + elementIdAttribute(id: string, attributeName: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Clear a TEXTAREA or text INPUT element's value. @@ -1661,7 +1709,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - elementIdClear(id: string, callback?: () => void): NightWatchBrowser; + elementIdClear(id: string, callback?: () => void): this; /** * Click on an element. @@ -1669,7 +1717,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - elementIdClick(id: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + elementIdClick(id: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Query the value of an element's computed CSS property. @@ -1679,7 +1727,7 @@ interface NightWatchClient { * @param callback * @returns {} */ - elementIdCssProperty(id: string, cssPropertyName: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + elementIdCssProperty(id: string, cssPropertyName: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Determine if an element is currently displayed. @@ -1687,7 +1735,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - elementIdDisplayed(id: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + elementIdDisplayed(id: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Search for an element on the page, starting from the identified element. The located element will be returned as a WebElement JSON object. @@ -1697,7 +1745,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - elementIdElement(id: string, using: string, value: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + elementIdElement(id: string, using: string, value: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Search for multiple elements on the page, starting from the identified element. The located element will be returned as a WebElement JSON objects. @@ -1707,7 +1755,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - elementIdElements(id: string, using: string, value: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + elementIdElements(id: string, using: string, value: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Determine if an element is currently enabled. @@ -1715,7 +1763,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - elementIdEnabled(id: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + elementIdEnabled(id: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Test if two element IDs refer to the same DOM element. @@ -1724,7 +1772,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - elementIdEquals(id: string, otherId: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + elementIdEquals(id: string, otherId: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Determine an element's location on the page. The point (0, 0) refers to the upper-left corner of the page. @@ -1733,7 +1781,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {The X and Y coordinates for the element on the page.} */ - elementIdLocation(id: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + elementIdLocation(id: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Determine an element's location on the screen once it has been scrolled into view. @@ -1741,7 +1789,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - elementIdLocationInView(id: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + elementIdLocationInView(id: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Query for an element's tag name. @@ -1749,7 +1797,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - elementIdName(id: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + elementIdName(id: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Determine if an OPTION element, or an INPUT element of type checkbox or radio button is currently selected. @@ -1757,7 +1805,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - elementIdSelected(id: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + elementIdSelected(id: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Determine an element's size in pixels. The size will be returned as a JSON object with width and height properties. @@ -1765,7 +1813,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - elementIdSize(id: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + elementIdSize(id: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Returns the visible text for the element. @@ -1773,7 +1821,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - elementIdText(id: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + elementIdText(id: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Send a sequence of key strokes to an element or returns the current value of the element. @@ -1782,7 +1830,7 @@ interface NightWatchClient { * @param callback * @returns {} */ - elementIdValue(id: string, value?: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + elementIdValue(id: string, value?: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Search for multiple elements on the page, starting from the document root. The located elements will be returned as a WebElement JSON objects. @@ -1792,7 +1840,7 @@ interface NightWatchClient { * @param callback: Callback function to be invoked with the result when the command finishes. * @returns {} */ - elements(using: string, value: string, callback: (result: CallbackResult) => void): NightWatchBrowser; + elements(using: string, value: string, callback: (result: NightwatchCallbackResult) => void): this; /** * Inject a snippet of JavaScript into the page for execution in the context of the currently selected frame. The executed script is assumed to be synchronous and @@ -1816,7 +1864,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {The script result.} */ - execute(body: ((...data: any[]) => void) | string, args?: any[], callback?: (result: CallbackResult) => void): NightWatchBrowser; + execute(body: ((...data: any[]) => void) | string, args?: any[], callback?: (result: NightwatchCallbackResult) => void): this; /** * Inject a snippet of JavaScript into the page for execution in the context of the currently selected frame. The executed script is assumed to be asynchronous @@ -1840,14 +1888,14 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {The script result.} */ - executeAsync(script: ((...data: any[]) => void) | string, args?: any[], callback?: (result: CallbackResult) => void): NightWatchBrowser; + executeAsync(script: ((...data: any[]) => void) | string, args?: any[], callback?: (result: NightwatchCallbackResult) => void): this; /** * Navigate forwards in the browser history, if possible. * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - forward(callback?: () => void): NightWatchBrowser; + forward(callback?: () => void): this; /** * Change focus to another frame on the page. If the frame id is missing or null, the server should switch to the page's default content. @@ -1855,28 +1903,28 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - frame(frameId?: string, callback?: () => void): NightWatchBrowser; + frame(frameId?: string, callback?: () => void): this; /** * Change focus to the parent context. If the current context is the top level browsing context, the context remains unchanged. * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - frameParent(callback?: () => void): NightWatchBrowser; + frameParent(callback?: () => void): this; /** * Gets the text of the currently displayed JavaScript alert(), confirm(), or prompt() dialog. * @param callback: Optional callback function to be called when the command finishes. * @returns {The text of the currently displayed alert.} */ - getAlertText(callback?: (result: CallbackResult) => void): NightWatchBrowser; + getAlertText(callback?: (result: NightwatchCallbackResult) => void): this; /** * Get the current browser orientation. * @param callback: Callback function to be called when the command finishes. * @returns {The current browser orientation: LANDSCAPE|PORTRAIT} */ - getOrientation(callback?: (result: CallbackResult) => void): NightWatchBrowser; + getOrientation(callback?: (result: NightwatchCallbackResult) => void): this; /** * Send a sequence of key strokes to the active element. The sequence is defined in the same format as the sendKeys command. @@ -1886,7 +1934,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - keys(keysToSend: string[], callback?: () => void): NightWatchBrowser; + keys(keysToSend: string[], callback?: () => void): this; /** * Click at the current mouse coordinates (set by moveto). @@ -1895,7 +1943,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - mouseButtonClick(button: string, callback?: () => void): NightWatchBrowser; + mouseButtonClick(button: string, callback?: () => void): this; /** * Click and hold the left mouse button (at the coordinates set by the last moveto command). Note that the next mouse-related command that should follow is mouseButtonUp . Any other mouse command (such as click or another call to buttondown) will yield undefined behaviour. @@ -1904,7 +1952,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - mouseButtonDown(button: string, callback?: () => void): NightWatchBrowser; + mouseButtonDown(button: string, callback?: () => void): this; /** * Releases the mouse button previously held (where the mouse is currently at). Must be called once for every mouseButtonDown command issued. @@ -1913,7 +1961,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - mouseButtonUp(button: string, callback?: () => void): NightWatchBrowser; + mouseButtonUp(button: string, callback?: () => void): this; /** * Move the mouse by an offset of the specificed element. If no element is specified, the move is relative to the current mouse cursor. If an element is provided but no offset, the mouse will be moved to the center of the element. @@ -1924,22 +1972,22 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - moveTo(element: string, xofset: number, yoffset: number, callback?: () => void): NightWatchBrowser; + moveTo(element: string, xofset: number, yoffset: number, callback?: () => void): this; /** * Refresh the current page. * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - refresh(callback?: () => void): NightWatchBrowser; + refresh(callback?: () => void): this; /** * Take a screenshot of the current page. * @param log_screenshot_data: Whether or not the screenshot data should appear in the logs when running with --verbose - * @param callback: Optional callback function to be called when the command finishes. + * @param callback: Optional callback function to be called with the resultant value (Base64 PNG) when the command finishes. * @returns {} */ - screenshot(log_screenshot_data: boolean, callback?: () => void): NightWatchBrowser; + screenshot(log_screenshot_data: boolean, callback?: (screenshotEncoded: string) => void): this; /** * Get info about, delete or create a new session. Defaults to the current session. @@ -1965,7 +2013,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - session(action?: string, sessionId?: string, callback?: (result: CallbackResult) => void): NightWatchBrowser; + session(action?: string, sessionId?: string, callback?: (result: NightwatchCallbackResult) => void): this; /** * Gets the text of the log type specified @@ -1973,14 +2021,14 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {Array of the text entries of the log.} */ - sessionLog(typeString: string, callback?: (log: LogEntry[]) => void): NightWatchBrowser; + sessionLog(typeString: string, callback?: (log: NightwatchLogEntry[]) => void): this; /** * Gets an array of strings for which log types are available. * @param callback: Optional callback function to be called when the command finishes. * @returns {Available log types} */ - sessionLogTypes(callback?: (result: CallbackResult) => void): NightWatchBrowser; + sessionLogTypes(callback?: (result: NightwatchCallbackResult) => void): this; /** * Returns a list of the currently active sessions. @@ -1996,7 +2044,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - sessions(callback?: (result: CallbackResult) => void): NightWatchBrowser; + sessions(callback?: (result: NightwatchCallbackResult) => void): this; /** * Sends keystrokes to a JavaScript prompt() dialog. @@ -2004,7 +2052,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - setAlertText(value: string, callback?: () => void): NightWatchBrowser; + setAlertText(value: string, callback?: () => void): this; /** * Sets the context @@ -2012,7 +2060,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - setContext(context: string, callback?: () => void): NightWatchBrowser; + setContext(context: string, callback?: () => void): this; /** * Sets the browser orientation. @@ -2020,21 +2068,21 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - setOrientation(orientation: string, callback?: () => void): NightWatchBrowser; + setOrientation(orientation: string, callback?: () => void): this; /** * Get the current page source. * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - source(callback?: () => void): NightWatchBrowser; + source(callback?: () => void): this; /** * Query the server's current status. * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - status(callback?: (result: CallbackResult) => void): NightWatchBrowser; + status(callback?: (result: NightwatchCallbackResult) => void): this; /** * Submit a FORM element. The submit command may also be applied to any element that is a descendant of a FORM element. @@ -2042,7 +2090,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - submit(id: string, callback?: () => void): NightWatchBrowser; + submit(id: string, callback?: () => void): this; /** * Configure the amount of time that a particular type of operation can execute for before they are aborted and a |Timeout| error is returned to the client. @@ -2051,7 +2099,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - timeouts(typeOfOperation: string, ms: number, callback?: () => void): NightWatchBrowser; + timeouts(typeOfOperation: string, ms: number, callback?: () => void): this; /** * Set the amount of time, in milliseconds, that asynchronous scripts executed by /session/:sessionId/execute_async are permitted to run before they are aborted and a |Timeout| error is returned to the client. @@ -2059,7 +2107,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - timeoutsAsyncScript(ms: number, callback?: () => void): NightWatchBrowser; + timeoutsAsyncScript(ms: number, callback?: () => void): this; /** * Set the amount of time the driver should wait when searching for elements. If this command is never sent, the driver will default to an implicit wait of 0ms. @@ -2067,7 +2115,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - timeoutsImplicitWait(ms: number, callback?: () => void): NightWatchBrowser; + timeoutsImplicitWait(ms: number, callback?: () => void): this; /** * Get the current page title. @@ -2076,7 +2124,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - title(expected: string, msg?: string, callback?: () => void): NightWatchBrowser; + title(expected: string, msg?: string, callback?: () => void): this; /** * Retrieve the URL of the current page or navigate to a new URL. @@ -2105,7 +2153,7 @@ interface NightWatchClient { * @param callback Optional callback function to be called when the command finishes. * @returns {} */ - url(url?: string | ((result: CallbackResult) => void), callback?: (result: CallbackResult) => void): NightWatchBrowser; + url(url?: string | ((result: NightwatchCallbackResult) => void), callback?: (result: NightwatchCallbackResult) => void): this; /** * Change focus to another window or close the current window. @@ -2114,28 +2162,28 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - window(method: string, handleOrName: string, callback?: () => void): NightWatchBrowser; + window(method: string, handleOrName: string, callback?: () => void): this; /** * Retrieve the current window handle. * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - windowHandle(callback?: (result: CallbackResult) => void): NightWatchBrowser; + windowHandle(callback?: (result: NightwatchCallbackResult) => void): this; /** * Retrieve the list of all window handles available to the session. * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - windowHandles(callback?: (result: CallbackResult) => void): NightWatchBrowser; + windowHandles(callback?: (result: NightwatchCallbackResult) => void): this; /** * Retrieve the list of all window handles available to the session. * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - window_handles(callback?: (result: CallbackResult) => void): NightWatchBrowser; + window_handles(callback?: (result: NightwatchCallbackResult) => void): this; /** * Retrieve the current window handle. @@ -2143,7 +2191,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - windowMaximize(handleOrName?: string, callback?: () => void): NightWatchBrowser; + windowMaximize(handleOrName?: string, callback?: () => void): this; /** * Change or get the position of the specified window. If the second argument is a function it will be used as a callback and the call will perform a get request to retrieve the existing window position. @@ -2153,7 +2201,7 @@ interface NightWatchClient { * @param: callback: * @returns {} */ - windowPosition(windowHandle: string, offsetX: number, offsetY: number, callback: (result: CallbackResult) => void): NightWatchBrowser; + windowPosition(windowHandle: string, offsetX: number, offsetY: number, callback: (result: NightwatchCallbackResult) => void): this; /** * Change or get the size of the specified window. If the second argument is a function it will be used as a callback and the call will perform a get request to retrieve the existing window size. @@ -2163,7 +2211,7 @@ interface NightWatchClient { * @param callback: Optional callback function to be called when the command finishes. * @returns {} */ - windowSize(windowHandle: string, width: number, height: number, callback?: () => void): NightWatchBrowser; + windowSize(windowHandle: string, width: number, height: number, callback?: () => void): this; /** * To switch to xpath selectors instead of css as the locate strategy. @@ -2179,7 +2227,7 @@ interface NightWatchClient { * ``` * @returns {} */ - useXpath(): NightWatchBrowser; + useXpath(): this; /** * To switch to css selectors instead of xpath as the locate strategy @@ -2194,23 +2242,85 @@ interface NightWatchClient { * ``` * @returns {} */ - useCss(): NightWatchBrowser; + useCss(): this; - Keys: Keys; + options: NightwatchTestOptions; - currentTest: TestSuite; + Keys: NightwatchKeys; + + currentTest: NightwatchTestSuite; globals: any; launch_url: string; } -interface NightWatchBrowser extends NightWatchClient, NightWatchCustomPageObjects { } +/* tslint:disable-next-line:no-empty-interface */ +interface NightwatchCustomCommands {} -type NightWatchTest = (arg1: NightWatchBrowser) => void; +/* tslint:disable-next-line:no-empty-interface */ +interface NightwatchCustomAssertions {} -interface NightWatchTests { - [key: string]: NightWatchTest; +interface NightwatchBrowser extends NightwatchAPI, NightwatchCustomCommands, NightwatchCustomAssertions, NightwatchCustomPageObjects { } + +/** + * Performs an assertion + * + * @param passed + * @param receivedValue + * @param expectedValue + * @param message + * @param abortOnFailure + * @param originalStackTrace + */ +type NightwatchTest = (browser: NightwatchBrowser) => void; + +interface NightwatchTests { + [key: string]: NightwatchTest; +} + +/** + * Performs an assertion + * + * @param passed + * @param receivedValue + * @param expectedValue + * @param message + * @param abortOnFailure + * @param originalStackTrace + */ +type NightwatchAssert = (passed: boolean, receivedValue?: any, expectedValue?: any, message?: string, abortOnFailure?: boolean, originalStackTrace?: string) => void; + +/** + * Abstract assertion class that will subclass all defined assertions + * + * All assertions must implement the following api: + * + * - @param {boolean|function} expected + * - @param {string} message + * - @param {function} pass + * - @param {function} value + * - @param {function} command + * - @param {function} - Optional failure + */ +interface NightwatchAssertion { + expected: (() => void) | boolean; + message: string; + pass(...args: any[]): any; + value(...args: any[]): any; + command(...args: any[]): any; + failure?(...args: any[]): any; + api?: NightwatchAPI; +} + +interface NightwatchClient { + api: NightwatchAPI; + assertion: NightwatchAssert; +} + +interface Nightwatch { + api: NightwatchAPI; + client: NightwatchClient; } /* tslint:enable:max-line-length */ diff --git a/types/nightwatch/nightwatch-tests.ts b/types/nightwatch/nightwatch-tests.ts index 1e16c29a95..62122fb041 100644 --- a/types/nightwatch/nightwatch-tests.ts +++ b/types/nightwatch/nightwatch-tests.ts @@ -1,4 +1,4 @@ -const test: NightWatchTests = { +const test: NightwatchTests = { 'Demo test Google': (browser) => { browser .url('http://www.google.com') From 1afcc7cfa8ca8787bbe1cd1aae36d5a5d1a27642 Mon Sep 17 00:00:00 2001 From: Cassey Lottman <clottman@users.noreply.github.com> Date: Mon, 9 Oct 2017 16:44:26 -0500 Subject: [PATCH 216/433] Add missing Chartist element in ClassNames object (#20216) * missing comment * missing comment * add missing scale & gridBackground * remove scale which is from a plugin * missing closing parens --- types/chartist/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/types/chartist/index.d.ts b/types/chartist/index.d.ts index 3eb5e07973..6bdb7ebfe3 100644 --- a/types/chartist/index.d.ts +++ b/types/chartist/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Chartist v0.9.7 +// Type definitions for Chartist v0.9.8 // Project: https://github.com/gionkunz/chartist-js // Definitions by: Matt Gibbs <https://github.com/mtgibbs>, Simon Pfeifer <https://github.com/psimonski>, Cassey Lottman <https://github.com/clottman> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -190,7 +190,7 @@ declare namespace Chartist { /** * If specified the donut segments will be drawn as shapes instead of strokes. - */ + */ donutSolid?: boolean; /** @@ -367,6 +367,7 @@ declare namespace Chartist { area?: string; grid?: string; gridGroup?: string; + gridBackground?: string; vertical?: string; horizontal?: string; start?: string; From ff3bfddfc5eb3376a5c355cc7a1dbd04400f671c Mon Sep 17 00:00:00 2001 From: Denis Bendrikov <Denis.Bendrikov@gmail.com> Date: Tue, 10 Oct 2017 00:44:47 +0300 Subject: [PATCH 217/433] add reloadState argument (#20250) --- types/angular-ui-router/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/angular-ui-router/index.d.ts b/types/angular-ui-router/index.d.ts index d1f2c43b48..04e3c9341a 100644 --- a/types/angular-ui-router/index.d.ts +++ b/types/angular-ui-router/index.d.ts @@ -281,7 +281,7 @@ declare module 'angular' { current: IState; /** A param object, e.g. {sectionId: section.id)}, that you'd like to test against the current active state. */ params: IStateParamsService; - reload(): angular.IPromise<any>; + reload(reloadState?: string | IState): angular.IPromise<any>; /** Currently pending transition. A promise that'll resolve or reject. */ transition: angular.IPromise<{}>; From fff1399971d37e29860a11b979db6483b55e9c65 Mon Sep 17 00:00:00 2001 From: Shenghan Gao <gaoshenghan199123@gmail.com> Date: Mon, 9 Oct 2017 14:46:09 -0700 Subject: [PATCH 218/433] fix issues for auth0-js mentioned in #20210 (#20221) * fix issues for auth0-js mentioned in #20210 * bump version * fix lint errors --- types/auth0-js/auth0-js-tests.ts | 61 ++++++++--------- types/auth0-js/index.d.ts | 111 +++++++++++++++++++------------ types/auth0-js/tslint.json | 4 ++ 3 files changed, 99 insertions(+), 77 deletions(-) create mode 100644 types/auth0-js/tslint.json diff --git a/types/auth0-js/auth0-js-tests.ts b/types/auth0-js/auth0-js-tests.ts index 73426dbd37..b70ff8d688 100644 --- a/types/auth0-js/auth0-js-tests.ts +++ b/types/auth0-js/auth0-js-tests.ts @@ -1,6 +1,6 @@ import * as auth0 from 'auth0-js'; -let webAuth = new auth0.WebAuth({ +const webAuth = new auth0.WebAuth({ domain: 'mine.auth0.com', clientID: 'dsa7d77dsa7d7' }); @@ -14,7 +14,7 @@ webAuth.authorize({ webAuth.parseHash((err, authResult) => { if (err) { - return console.log(err); + console.log(err); } // The contents of authResult depend on which authentication parameters were used. @@ -30,7 +30,7 @@ webAuth.parseHash((err, authResult) => { webAuth.parseHash((err, authResult) => { if (err) { - return console.log(err); + console.log(err); } // The contents of authResult depend on which authentication parameters were used. @@ -47,11 +47,18 @@ webAuth.parseHash((err, authResult) => { webAuth.parseHash( { nonce: 'asfd', - hash: '#access_token=VjubIMBmpgQ2W2&id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6RTROMFpCTTBWRFF6RTJSVVUwTnpJMVF6WTFNelE0UVRrMU16QXdNRUk0UkRneE56RTRSZyJ9.eyJpc3MiOiJodHRwczovL3dwdGVzdC5hdXRoMC5jb20vIiwic3ViIjoiYXV0aDB8NTVkNDhjNTdkNWIwYWQwMjIzYzQwOGQ3IiwiYXVkIjoiZ1lTTmxVNFlDNFYxWVBkcXE4elBRY3VwNnJKdzFNYnQiLCJleHAiOjE0ODI5NjkwMzEsImlhdCI6MTQ4MjkzMzAzMSwibm9uY2UiOiJhc2ZkIn0.PPoh-pITcZ8qbF5l5rMZwXiwk5efbESuqZ0IfMUcamB6jdgLwTxq-HpOT_x5q6-sO1PBHchpSo1WHeDYMlRrOFd9bh741sUuBuXdPQZ3Zb0i2sNOAC2RFB1E11mZn7uNvVPGdPTg-Y5xppz30GSXoOJLbeBszfrVDCmPhpHKGGMPL1N6HV-3EEF77L34YNAi2JQ-b70nFK_dnYmmv0cYTGUxtGTHkl64UEDLi3u7bV-kbGky3iOOCzXKzDDY6BBKpCRTc2KlbrkO2A2PuDn27WVv1QCNEFHvJN7HxiDDzXOsaUmjrQ3sfrHhzD7S9BcCRkekRfD9g95SKD5J0Fj8NA&token_type=Bearer&state=theState&refresh_token=kajshdgfkasdjhgfas&scope=foo' + hash: "#access_token=VjubIMBmpgQ2W2& \ + id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlF6RTROMFpCTTBWRFF6RTJSVVUwTnpJMVF6WTFNelE0UVRrMU16QXdNRUk0UkRneE56RTRSZyJ9. \ + eyJpc3MiOiJodHRwczovL3dwdGVzdC5hdXRoMC5jb20vIiwic3ViIjoiYXV0aDB8NTVkNDhjNTdkNWIwYWQwMjIzYzQwOGQ3IiwiYXVkIjoiZ1lTTmxVNFlDNFYxWVBkcXE \ + 4elBRY3VwNnJKdzFNYnQiLCJleHAiOjE0ODI5NjkwMzEsImlhdCI6MTQ4MjkzMzAzMSwibm9uY2UiOiJhc2ZkIn0. \ + PPoh-pITcZ8qbF5l5rMZwXiwk5efbESuqZ0IfMUcamB6jdgLwTxq-HpOT_x5q6-sO1PBHchpSo1WHeDYMlRrOFd9bh741sUuBuXdPQZ3Zb0i2sNOAC2RFB \ + 1E11mZn7uNvVPGdPTg-Y5xppz30GSXoOJLbeBszfrVDCmPhpHKGGMPL1N6HV-3EEF77L34YNAi2JQ-b70nFK_dnYmmv0cYTGUxtGTHkl64UEDLi3u7bV- \ + kbGky3iOOCzXKzDDY6BBKpCRTc2KlbrkO2A2PuDn27WVv1QCNEFHvJN7HxiDDzXOsaUmjrQ3sfrHhzD7S9BcCRkekRfD9g95SKD5J0Fj8NA& \ + token_type=Bearer&state=theState&refresh_token=kajshdgfkasdjhgfas&scope=foo" }, (err, authResult) => { if (err) { - return console.log(err); + console.log(err); } // The contents of authResult depend on which authentication parameters were used. @@ -71,7 +78,7 @@ webAuth.parseHash( }, (err, authResult) => { if (err) { - return console.log(err); + console.log(err); } // The contents of authResult depend on which authentication parameters were used. @@ -86,14 +93,14 @@ webAuth.parseHash( }); webAuth.renewAuth({ -}, function (err, authResult) { +}, (err, authResult) => { // Renewed tokens or error }); webAuth.renewAuth({ nonce: '123', state: '456' -}, function (err, authResult) { +}, (err, authResult) => { // Renewed tokens or error }); @@ -103,7 +110,7 @@ webAuth.renewAuth({ nonce: '123', state: '456', postMessageDataType: 'auth0:silent-authentication' -}, function (err, authResult) { +}, (err, authResult) => { // Renewed tokens or error }); @@ -111,9 +118,7 @@ webAuth.renewAuth({ audience: 'urn:site:demo:blog', redirectUri: 'http://page.com/callback', usePostMessage: true -}, (err, authResult) => { - -}); +}, (err, authResult) => {}); webAuth.changePassword({connection: 'the_connection', email: 'me@example.com', @@ -134,19 +139,15 @@ webAuth.signupAndAuthorize({ user_metadata: { foo: 'bar' } -}, function (err, data) { - -}); +}, (err, data) => {}); webAuth.client.login({ - realm: 'Username-Password-Authentication', //connection name or HRD domain + realm: 'Username-Password-Authentication', // connection name or HRD domain username: 'info@auth0.com', password: 'areallystrongpassword', audience: 'https://mystore.com/api/v2', scope: 'read:order write:order', -}, function(err, authResult) { - // Auth tokens in the result or an error -}); +}, (err, authResult) => {/*Auth tokens in the result or an error*/}); webAuth.popup.buildPopupHandler(); webAuth.popup.preload({}); @@ -171,7 +172,7 @@ webAuth.login({username: 'bar', password: 'foo'}, (err, data) => {}); webAuth.crossOriginAuthenticationCallback(); -let authentication = new auth0.Authentication({ +const authentication = new auth0.Authentication({ domain: 'me.auth0.com', clientID: '...', redirectUri: 'http://page.com/callback', @@ -179,7 +180,7 @@ let authentication = new auth0.Authentication({ _sendTelemetry: false }); -authentication.buildAuthorizeUrl({state:'1234'}); +authentication.buildAuthorizeUrl({state: '1234'}); authentication.buildAuthorizeUrl({ responseType: 'token', redirectUri: 'http://anotherpage.com/callback2', @@ -191,7 +192,7 @@ authentication.buildAuthorizeUrl({ authentication.buildLogoutUrl({ clientID: 'asdfasdfds' }); authentication.buildLogoutUrl(); authentication.userInfo('abcd1234', (err, data) => { - //user info retrieved + // user info retrieved }); authentication.delegation({ @@ -200,28 +201,22 @@ authentication.delegation({ api_type: 'app' }, (err, data) => { if (!err) { - localStorage.setItem('token', data.idToken) + localStorage.setItem('token', data.idToken); } }); authentication.loginWithDefaultDirectory({ username: 'someUsername', password: '123456' -}, (err, data) => { - -}); +}, (err, data) => {}); authentication.oauthToken({ username: 'someUsername', password: '123456', grantType: 'password' -}, (err, data) => { +}, (err, data) => {}); -}); - -authentication.getUserCountry((err, data) => { - -}); +authentication.getUserCountry((err, data) => {}); authentication.getSSOData(); authentication.getSSOData(true, (err, data) => {}); @@ -239,7 +234,7 @@ authentication.loginWithResourceOwner({ scope: 'openid' }, (err, data) => {}); -let management = new auth0.Management({ +const management = new auth0.Management({ domain: 'me.auth0.com', token: 'token' }); diff --git a/types/auth0-js/index.d.ts b/types/auth0-js/index.d.ts index fa6d6d85bf..980ba162b5 100644 --- a/types/auth0-js/index.d.ts +++ b/types/auth0-js/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Auth0.js 8.6 +// Type definitions for Auth0.js 8.10 // Project: https://github.com/auth0/auth0.js // Definitions by: Adrian Chia <https://github.com/adrianchia> // Matt Durrant <https://github.com/mdurrant> @@ -6,7 +6,6 @@ export as namespace auth0; - export class Authentication { constructor(options: AuthOptions); @@ -145,6 +144,10 @@ export class DBConnection { } export class Management { + /** + * Initialize your client class, by using a Non Interactive Client to fetch an access_token via the Client Credentials Grant. + * @param {ManagementOptions} options + */ constructor(options: ManagementOptions); /** @@ -225,7 +228,8 @@ export class WebAuth { /** * Executes a silent authentication transaction under the hood in order to fetch a new tokens for the current session. * This method requires that all Auth is performed with {@link authorize} - * Watch out! If you're not using the hosted login page to do social logins, you have to use your own [social connection keys](https://manage.auth0.com/#/connections/social). If you use Auth0's dev keys, you'll always get `login_required` as an error when calling this method. + * Watch out! If you're not using the hosted login page to do social logins, you have to use your own [social connection keys](https://manage.auth0.com/#/connections/social). + * If you use Auth0's dev keys, you'll always get `login_required` as an error when calling this method. * * @param {RenewAuthOptions} options: any valid oauth2 parameter to be sent to the `/authorize` endpoint * @param {Function} callback @@ -258,11 +262,15 @@ export class WebAuth { signupAndAuthorize(options: DbSignUpOptions, callback: Auth0Callback<any>): void; /** - * Logs in the user with username and password using the cross origin authentication (/co/authenticate) flow. You can use either `username` or `email` to identify the user, but `username` will take precedence over `email`. - * This only works when 3rd party cookies are enabled in the browser. After the /co/authenticate call, you'll have to use the {@link parseHash} function at the `redirectUri` specified in the constructor. + * Logs in the user with username and password using the cross origin authentication (/co/authenticate) flow. + * You can use either `username` or `email` to identify the user, but `username` will take precedence over `email`. + * + * This only works when 3rd party cookies are enabled in the browser. + * After the /co/authenticate call, you'll have to use the {@link parseHash} function at the `redirectUri` specified in the constructor. * * @param {CrossOriginLoginOptions} options options used in the {@link authorize} call after the login_ticket is acquired - * @param {crossOriginLoginCallback} cb Callback function called only when an authentication error, like invalid username or password, occurs. For other types of errors, there will be a redirect to the `redirectUri`. + * @param {crossOriginLoginCallback} cb Callback function called only when an authentication error, like invalid username or password, occurs. + * For other types of errors, there will be a redirect to the `redirectUri`. */ login(options: CrossOriginLoginOptions, callback: Auth0Callback<any>): void; @@ -361,7 +369,8 @@ export class Popup { * @param {String} options.hash the url hash. If not provided it will extract from window.location.hash * @param {String} [options.state] value originally sent in `state` parameter to {@link authorize} to mitigate XSRF * @param {String} [options.nonce] value originally sent in `nonce` parameter to {@link authorize} to prevent replay attacks - * @param {String} [options._idTokenVerification] makes parseHash perform or skip `id_token` verification. We **strongly** recommend validating the `id_token` yourself if you disable the verification. + * @param {String} [options._idTokenVerification] makes parseHash perform or skip `id_token` verification. + * We **strongly** recommend validating the `id_token` yourself if you disable the verification. * @see {@link parseHash} */ callback(options: any): void; @@ -374,8 +383,10 @@ export class Popup { * @param {String} [options.domain] your Auth0 domain * @param {String} [options.clientID] your Auth0 client identifier obtained when creating the client in the Auth0 Dashboard * @param {String} options.redirectUri url that the Auth0 will redirect after Auth with the Authorization Response - * @param {String} options.responseType type of the response used by OAuth 2.0 flow. It can be any space separated list of the values `code`, `token`, `id_token`. {@link https://openid.net/specs/oauth-v2-multiple-response-types-1_0} - * @param {String} [options.responseMode] how the Auth response is encoded and redirected back to the client. Supported values are `query`, `fragment` and `form_post`. {@link https://openid.net/specs/oauth-v2-multiple-response-types-1_0.html#ResponseModes} + * @param {String} options.responseType type of the response used by OAuth 2.0 flow. + * It can be any space separated list of the values `code`, `token`, `id_token`. {@link https://openid.net/specs/oauth-v2-multiple-response-types-1_0} + * @param {String} [options.responseMode] how the Auth response is encoded and redirected back to the client. + * Supported values are `query`, `fragment` and `form_post`. {@link https://openid.net/specs/oauth-v2-multiple-response-types-1_0.html#ResponseModes} * @param {String} [options.state] value used to mitigate XSRF attacks. {@link https://auth0.com/docs/protocols/oauth2/oauth-state} * @param {String} [options.nonce] value used to mitigate replay attacks when using Implicit Grant. {@link https://auth0.com/docs/api-auth/tutorials/nonce} * @param {String} [options.scope] scopes to be requested during Auth. e.g. `openid email` @@ -436,11 +447,14 @@ export class CrossOriginAuthentication { constructor(webAuth: any, options: any); /** - * Logs in the user with username and password using the cross origin authentication (/co/authenticate) flow. You can use either `username` or `email` to identify the user, but `username` will take precedence over `email`. - * This only works when 3rd party cookies are enabled in the browser. After the /co/authenticate call, you'll have to use the {@link parseHash} function at the `redirectUri` specified in the constructor. + * Logs in the user with username and password using the cross origin authentication (/co/authenticate) flow. + * You can use either `username` or `email` to identify the user, but `username` will take precedence over `email`. + * This only works when 3rd party cookies are enabled in the browser. + * After the /co/authenticate call, you'll have to use the {@link parseHash} function at the `redirectUri` specified in the constructor. * * @param {CrossOriginLoginOptions} options options used in the {@link authorize} call after the login_ticket is acquired - * @param {crossOriginLoginCallback} cb Callback function called only when an authentication error, like invalid username or password, occurs. For other types of errors, there will be a redirect to the `redirectUri`. + * @param {crossOriginLoginCallback} cb Callback function called only when an authentication error, like invalid username or password, occurs. + * For other types of errors, there will be a redirect to the `redirectUri`. */ login(options: CrossOriginLoginOptions, callback: Auth0Callback<any>): void; @@ -451,16 +465,25 @@ export class CrossOriginAuthentication { callback(): void; } -type Auth0Callback<T> = (error: null | Auth0Error, result: T) => void; +export type Auth0Callback<T> = (error: null | Auth0Error, result: T) => void; -interface ManagementOptions { - domain: string; - token: string; - _sendTelemetry?: boolean; - _telemetryInfo?: any; +export interface TokenProvider { + enableCache?: boolean; + cacheTTLInSeconds?: number; } -interface AuthOptions { +export interface ManagementOptions { + domain: string; + token?: string; + clientId?: string; + clientSecret?: string; + audience?: string; + scope?: string; + tokenProvider?: TokenProvider; + telemetry?: boolean; +} + +export interface AuthOptions { domain: string; clientID: string; responseType?: string; @@ -475,14 +498,14 @@ interface AuthOptions { _telemetryInfo?: any; } -interface PasswordlessAuthOptions { +export interface PasswordlessAuthOptions { connection: string; verificationCode: string; phoneNumber: string; email: string; } -interface Auth0Error { +export interface Auth0Error { error?: any; errorDescription?: string; code?: string; @@ -494,7 +517,7 @@ interface Auth0Error { statusText?: string; } -interface Auth0DecodedHash { +export interface Auth0DecodedHash { accessToken?: string; idToken?: string; idTokenPayload?: any; @@ -505,7 +528,7 @@ interface Auth0DecodedHash { } /** Represents the response from an API Token Delegation request. */ -interface Auth0DelegationToken { +export interface Auth0DelegationToken { /** The length of time in seconds the token is valid for. */ expiresIn: number; /** The JWT for delegated access. */ @@ -514,13 +537,13 @@ interface Auth0DelegationToken { tokenType: string; } -interface ChangePasswordOptions { +export interface ChangePasswordOptions { connection: string; email: string; password?: string; } -interface PasswordlessStartOptions { +export interface PasswordlessStartOptions { connection: string; send: string; phoneNumber?: string; @@ -528,7 +551,7 @@ interface PasswordlessStartOptions { authParams?: any; } -interface PasswordlessVerifyOptions { +export interface PasswordlessVerifyOptions { connection: string; verificationCode: string; phoneNumber?: string; @@ -536,7 +559,7 @@ interface PasswordlessVerifyOptions { send?: string; } -interface Auth0UserProfile { +export interface Auth0UserProfile { name: string; nickname: string; picture: string; @@ -557,60 +580,60 @@ interface Auth0UserProfile { app_metadata?: any; } -interface MicrosoftUserProfile extends Auth0UserProfile { - emails?: string[]; //optional depending on whether email addresses permission is granted +export interface MicrosoftUserProfile extends Auth0UserProfile { + emails?: string[]; // optional depending on whether email addresses permission is granted } -interface Office365UserProfile extends Auth0UserProfile { +export interface Office365UserProfile extends Auth0UserProfile { tenantid: string; upn: string; } -interface AdfsUserProfile extends Auth0UserProfile { +export interface AdfsUserProfile extends Auth0UserProfile { issuer?: string; } -interface Auth0Identity { +export interface Auth0Identity { connection: string; isSocial: boolean; provider: string; user_id: string; } -interface LoginOptions { +export interface LoginOptions { username: string; password: string; scope?: string; } -interface DefaultLoginOptions extends LoginOptions { +export interface DefaultLoginOptions extends LoginOptions { audience?: string; realm: string; } -interface DefaultDirectoryLoginOptions extends LoginOptions { +export interface DefaultDirectoryLoginOptions extends LoginOptions { audience?: string; } -interface ResourceOwnerLoginOptions extends LoginOptions { +export interface ResourceOwnerLoginOptions extends LoginOptions { connection: string; device?: string; } -interface CrossOriginLoginOptions { +export interface CrossOriginLoginOptions { username?: string; email?: string; password: string; realm?: string; } -interface LogoutOptions { +export interface LogoutOptions { clientID?: string; returnTo?: string; federated?: boolean; } -interface DelegationOptions { +export interface DelegationOptions { client_id?: string; grant_type: string; id_token?: string; @@ -620,7 +643,7 @@ interface DelegationOptions { api_type?: string; } -interface DbSignUpOptions { +export interface DbSignUpOptions { email: string; password: string; connection: string; @@ -628,14 +651,14 @@ interface DbSignUpOptions { user_metadata?: any; } -interface ParseHashOptions { +export interface ParseHashOptions { hash?: string; state?: string; nonce?: string; _idTokenVerification?: boolean; } -interface RenewAuthOptions { +export interface RenewAuthOptions { domain?: string; clientID?: string; redirectUri?: string; @@ -649,10 +672,10 @@ interface RenewAuthOptions { postMessageDataType?: string; } -interface AuthorizeOptions { +export interface AuthorizeOptions { domain?: string; clientID?: string; - connection?:string; + connection?: string; redirectUri?: string; responseType?: string; responseMode?: string; diff --git a/types/auth0-js/tslint.json b/types/auth0-js/tslint.json new file mode 100644 index 0000000000..5eb4948245 --- /dev/null +++ b/types/auth0-js/tslint.json @@ -0,0 +1,4 @@ +{ + "extends": "dtslint/dt.json" +} + \ No newline at end of file From c7a368b276ebfac7084e9686005c8d2c3cc8787a Mon Sep 17 00:00:00 2001 From: segayuu <segayuu@gmail.com> Date: Tue, 10 Oct 2017 06:47:48 +0900 Subject: [PATCH 219/433] [bluebird]Fix simple lint errors (#20222) * Fix lint-error dt-header * Fix lint-error no-var-keyword * Fix lint error no-padding * Fix lint error only-arrow-functions * Fix lint error space-before-function-paren * Fix lint error prefer-method-signature * Fix lint error typedef-whitespace * Fic Lint ignore whitespace * Fix lint error no-consecutive-blank-lines * Fix lint error semicolon * Fix lint error member-access * Fix lint error comment-format --- types/bluebird/bluebird-tests.ts | 230 +++++++++++++++---------------- types/bluebird/index.d.ts | 13 +- types/bluebird/tslint.json | 16 +-- 3 files changed, 118 insertions(+), 141 deletions(-) diff --git a/types/bluebird/bluebird-tests.ts b/types/bluebird/bluebird-tests.ts index a77a6262db..3fbf9a7c1e 100644 --- a/types/bluebird/bluebird-tests.ts +++ b/types/bluebird/bluebird-tests.ts @@ -7,26 +7,26 @@ import Promise = require("bluebird"); -var obj: Object; -var bool: boolean; -var num: number; -var str: string; -var err: Error; -var x: any; -var f: (...args: any[]) => any; -var asyncfunc: (...args: any[]) => Promise<any>; -var arr: any[]; -var exp: RegExp; -var anyArr: any[]; -var strArr: string[]; -var numArr: number[]; -var voidVar: void; +let obj: Object; +let bool: boolean; +let num: number; +let str: string; +let err: Error; +let x: any; +let f: (...args: any[]) => any; +let asyncfunc: (...args: any[]) => Promise<any>; +let arr: any[]; +let exp: RegExp; +let anyArr: any[]; +let strArr: string[]; +let numArr: number[]; +let voidVar: void; // - - - - - - - - - - - - - - - - - -var value: any; -var reason: any; -var insanity: any; +let value: any; +let reason: any; +let insanity: any; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -43,120 +43,120 @@ interface Baz { // - - - - - - - - - - - - - - - - - interface StrFooMap { - [key:string]:Foo; + [key: string]: Foo; } interface StrBarMap { - [key:string]:Bar; + [key: string]: Bar; } // - - - - - - - - - - - - - - - - - interface StrFooArrMap { - [key:string]:Foo[]; + [key: string]: Foo[]; } interface StrBarArrMap { - [key:string]:Bar[]; + [key: string]: Bar[]; } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var foo: Foo; -var bar: Bar; -var baz: Baz; +let foo: Foo; +let bar: Bar; +let baz: Baz; -var fooArr: Foo[]; -var barArr: Bar[]; +let fooArr: Foo[]; +let barArr: Bar[]; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var numProm: Promise<number>; -var strProm: Promise<string>; -var anyProm: Promise<any>; -var boolProm: Promise<boolean>; -var objProm: Promise<Object>; -var voidProm: Promise<void>; +let numProm: Promise<number>; +let strProm: Promise<string>; +let anyProm: Promise<any>; +let boolProm: Promise<boolean>; +let objProm: Promise<Object>; +let voidProm: Promise<void>; -var fooProm: Promise<Foo>; -var barProm: Promise<Bar>; -var barOrVoidProm: Promise<Bar | void>; -var fooOrBarProm: Promise<Foo|Bar>; -var bazProm: Promise<Baz>; +let fooProm: Promise<Foo>; +let barProm: Promise<Bar>; +let barOrVoidProm: Promise<Bar | void>; +let fooOrBarProm: Promise<Foo|Bar>; +let bazProm: Promise<Baz>; // - - - - - - - - - - - - - - - - - -var numThen: PromiseLike<number>; -var strThen: PromiseLike<string>; -var anyThen: PromiseLike<any>; -var boolThen: PromiseLike<boolean>; -var objThen: PromiseLike<Object>; -var voidThen: PromiseLike<void>; +let numThen: PromiseLike<number>; +let strThen: PromiseLike<string>; +let anyThen: PromiseLike<any>; +let boolThen: PromiseLike<boolean>; +let objThen: PromiseLike<Object>; +let voidThen: PromiseLike<void>; -var fooThen: PromiseLike<Foo>; -var barThen: PromiseLike<Bar>; +let fooThen: PromiseLike<Foo>; +let barThen: PromiseLike<Bar>; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var numArrProm: Promise<number[]>; -var strArrProm: Promise<string[]>; -var anyArrProm: Promise<any[]>; +let numArrProm: Promise<number[]>; +let strArrProm: Promise<string[]>; +let anyArrProm: Promise<any[]>; -var fooArrProm: Promise<Foo[]>; -var barArrProm: Promise<Bar[]>; +let fooArrProm: Promise<Foo[]>; +let barArrProm: Promise<Bar[]>; // - - - - - - - - - - - - - - - - - -var numArrThen: PromiseLike<number[]>; -var strArrThen: PromiseLike<string[]>; -var anyArrThen: PromiseLike<any[]>; +let numArrThen: PromiseLike<number[]>; +let strArrThen: PromiseLike<string[]>; +let anyArrThen: PromiseLike<any[]>; -var fooArrThen: PromiseLike<Foo[]>; -var barArrThen: PromiseLike<Bar[]>; +let fooArrThen: PromiseLike<Foo[]>; +let barArrThen: PromiseLike<Bar[]>; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var numPromArr: Promise<number>[]; -var strPromArr: Promise<string>[]; -var anyPromArr: Promise<any>[]; +let numPromArr: Promise<number>[]; +let strPromArr: Promise<string>[]; +let anyPromArr: Promise<any>[]; -var fooPromArr: Promise<Foo>[]; -var barPromArr: Promise<Bar>[]; +let fooPromArr: Promise<Foo>[]; +let barPromArr: Promise<Bar>[]; // - - - - - - - - - - - - - - - - - -var numThenArr: PromiseLike<number>[]; -var strThenArr: PromiseLike<string>[]; -var anyThenArr: PromiseLike<any>[]; +let numThenArr: PromiseLike<number>[]; +let strThenArr: PromiseLike<string>[]; +let anyThenArr: PromiseLike<any>[]; -var fooThenArr: PromiseLike<Foo>[]; -var barThenArr: PromiseLike<Bar>[]; +let fooThenArr: PromiseLike<Foo>[]; +let barThenArr: PromiseLike<Bar>[]; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // booya! -var fooThenArrThen: PromiseLike<PromiseLike<Foo>[]>; -var barThenArrThen: PromiseLike<PromiseLike<Bar>[]>; +let fooThenArrThen: PromiseLike<PromiseLike<Foo>[]>; +let barThenArrThen: PromiseLike<PromiseLike<Bar>[]>; -var fooResolver: Promise.Resolver<Foo>; -var barResolver: Promise.Resolver<Bar>; +let fooResolver: Promise.Resolver<Foo>; +let barResolver: Promise.Resolver<Bar>; -var fooInspection: Promise.Inspection<Foo>; -var fooInspectionPromise: Promise<Promise.Inspection<Foo>>; +let fooInspection: Promise.Inspection<Foo>; +let fooInspectionPromise: Promise<Promise.Inspection<Foo>>; -var fooInspectionArrProm: Promise<Promise.Inspection<Foo>[]>; -var barInspectionArrProm: Promise<Promise.Inspection<Bar>[]>; +let fooInspectionArrProm: Promise<Promise.Inspection<Foo>[]>; +let barInspectionArrProm: Promise<Promise.Inspection<Bar>[]>; -var BlueBird: typeof Promise; +let BlueBird: typeof Promise; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var version: string = Promise.version; +let version: string = Promise.version; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var nodeCallbackFunc = (callback: (err: any, result: string) => void) => {} -var nodeCallbackFuncErrorOnly = (callback: (err: any) => void) => {} +let nodeCallbackFunc = (callback: (err: any, result: string) => void) => {}; +let nodeCallbackFuncErrorOnly = (callback: (err: any) => void) => {}; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -200,9 +200,7 @@ fooResolver.resolve(foo); fooResolver.reject(err); -fooResolver.callback = (err: any, value: Foo) => { - -}; +fooResolver.callback = (err: any, value: Foo) => {}; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -239,7 +237,7 @@ barProm = fooProm.then((value: Foo) => { }); barProm = barProm.then((value: Bar) => { if (value) return value; - var b:Bar; + let b: Bar; return Promise.resolve(b); }); @@ -282,7 +280,7 @@ fooProm = fooProm.caught((error: any) => { }); fooProm = fooProm.catch((reason: any) => { - //handle multiple valid return types simultaneously + // handle multiple valid return types simultaneously if (foo === null) { return; } else if (!reason) { @@ -341,22 +339,22 @@ fooOrBarProm = fooProm.caught(Promise.CancellationError, (reason: any) => { // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - class CustomError extends Error { - public customField: number; + customField: number; } fooProm = fooProm.catch(CustomError, reason => { - let a: number = reason.customField -}) + let a: number = reason.customField; +}); { class CustomErrorWithConstructor extends Error { constructor(public arg1: boolean, public arg2: number) { super(); - }; + } } fooProm = fooProm.catch(CustomErrorWithConstructor, reason => { let a: boolean = reason.arg1; let b: number = reason.arg2; - }) + }); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -527,7 +525,7 @@ bool = fooProm.isResolved(); anyProm = fooProm.call(str); anyProm = fooProm.call(str, 1, 2, 3); -//TODO enable get() test when implemented +// TODO enable get() test when implemented // barProm = fooProm.get(str); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -573,7 +571,7 @@ barProm = fooArrProm.spread<Bar>((one: Foo, two: Bar, twotwo: Foo) => { // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//TODO fix collection inference +// TODO fix collection inference barArrProm = fooProm.all<Bar>(); fooInspectionPromise = fooProm.reflect(); @@ -583,16 +581,16 @@ barProm = fooProm.race<Bar>(); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var propsValue: { num: number, str: string }; -Promise.resolve({ num: 1, str: Promise.resolve('a') }).props().then(val => { propsValue = val }); -Promise.props({ num: 1, str: Promise.resolve('a') }).then(val => { propsValue = val }); -Promise.props(Promise.props({ num: 1, str: Promise.resolve('a') })).then(val => { propsValue = val }); +let propsValue: { num: number, str: string }; +Promise.resolve({ num: 1, str: Promise.resolve('a') }).props().then(val => { propsValue = val; }); +Promise.props({ num: 1, str: Promise.resolve('a') }).then(val => { propsValue = val; }); +Promise.props(Promise.props({ num: 1, str: Promise.resolve('a') })).then(val => { propsValue = val; }); -var propsMapValue: Map<number, string>; -Promise.resolve(new Map<number, string>()).props().then(val => { propsMapValue = val }); -Promise.resolve(new Map<number, PromiseLike<string>>()).props().then(val => { propsMapValue = val }); -Promise.props(new Map<number, string>()).then(val => { propsMapValue = val }); -Promise.props(new Map<number, PromiseLike<string>>()).then(val => { propsMapValue = val }); +let propsMapValue: Map<number, string>; +Promise.resolve(new Map<number, string>()).props().then(val => { propsMapValue = val; }); +Promise.resolve(new Map<number, PromiseLike<string>>()).props().then(val => { propsMapValue = val; }); +Promise.props(new Map<number, string>()).then(val => { propsMapValue = val; }); +Promise.props(new Map<number, PromiseLike<string>>()).then(val => { propsMapValue = val; }); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -620,7 +618,7 @@ Promise.all([fooProm, barProm, fooProm]).then(result => { // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//TODO fix collection inference +// TODO fix collection inference barArrProm = fooArrProm.map<Foo, Bar>((item: Foo, index: number, arrayLength: number) => { return bar; @@ -649,7 +647,6 @@ barArrProm = fooArrProm.mapSeries<Foo, Bar>((item: Foo) => { return bar; }); - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - barProm = fooArrProm.reduce<Foo, Bar>((memo: Bar, item: Foo, index: number, arrayLength: number) => { @@ -755,9 +752,7 @@ fooProm = Promise.attempt(() => { // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -asyncfunc = Promise.method(function () { - -}); +asyncfunc = Promise.method(() => {}); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -785,7 +780,7 @@ Promise.longStackTraces(); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//TODO enable delay +// TODO enable delay fooProm = Promise.delay(num, fooThen); fooProm = Promise.delay(num, foo); @@ -809,7 +804,7 @@ anyProm = Promise.fromCallback(callback => nodeCallbackFuncErrorOnly(callback), // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -declare var util: any; +declare let util: any; function defaultFilter(name: string, func: Function) { return util.isIdentifier(name) && @@ -820,11 +815,11 @@ function defaultFilter(name: string, func: Function) { function DOMPromisifier(originalMethod: Function) { // return a function return function promisified() { - var args = [].slice.call(arguments); + let args = [].slice.call(arguments); // Needed so that the original method can be called with the correct receiver - var self = this; + let self = this; // which returns a promise - return new Promise(function(resolve, reject) { + return new Promise((resolve, reject) => { args.push(resolve, reject); originalMethod.apply(self, args); }); @@ -839,11 +834,11 @@ obj = Promise.promisifyAll(obj, { // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -const generator = function* (a: number, b: string) {return "string"} +const generator = function*(a: number, b: string) { return "string"; }; const coroutine = Promise.coroutine<string, number, string>(generator); coroutine(5, "foo").then((x: string) => {}); -const coroutineCustomYield = Promise.coroutine(generator, { yieldHandler: (value) => "whatever" }) +const coroutineCustomYield = Promise.coroutine(generator, { yieldHandler: (value) => "whatever" }); /* barProm = Promise.spawn<number>(f); */ @@ -852,13 +847,11 @@ const coroutineCustomYield = Promise.coroutine(generator, { yieldHandler: (value BlueBird = Promise.getNewLibraryCopy(); BlueBird = Promise.noConflict(); -Promise.onPossiblyUnhandledRejection((reason: any) => { - -}); +Promise.onPossiblyUnhandledRejection((reason: any) => {}); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//TODO expand tests to overloads +// TODO expand tests to overloads fooArrProm = Promise.all(fooThenArrThen); fooArrProm = Promise.all(fooArrProm); fooArrProm = Promise.all(fooThenArr); @@ -871,7 +864,7 @@ objProm = Promise.props(obj); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//TODO expand tests to overloads +// TODO expand tests to overloads fooProm = Promise.any(fooThenArrThen); fooProm = Promise.any(fooArrProm); fooProm = Promise.any(fooThenArr); @@ -879,7 +872,7 @@ fooProm = Promise.any(fooArr); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//TODO expand tests to overloads +// TODO expand tests to overloads fooProm = Promise.race(fooThenArrThen); fooProm = Promise.race(fooArrProm); fooProm = Promise.race(fooThenArr); @@ -887,7 +880,7 @@ fooProm = Promise.race(fooArr); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//TODO expand tests to overloads +// TODO expand tests to overloads fooArrProm = Promise.some(fooThenArrThen, num); fooArrProm = Promise.some(fooThenArr, num); fooArrProm = Promise.some(fooArr, num); @@ -1090,7 +1083,6 @@ barArrProm = Promise.mapSeries(fooArrThen, (item: Foo, index: number, arrayLengt return barThen; }); - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // fooThenArr @@ -1108,7 +1100,6 @@ barArrProm = Promise.mapSeries(fooThenArr, (item: Foo, index: number, arrayLengt return barThen; }); - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // fooArr @@ -1126,7 +1117,6 @@ barArrProm = Promise.mapSeries(fooArr, (item: Foo, index: number, arrayLength: n return barThen; }); - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // reduce() diff --git a/types/bluebird/index.d.ts b/types/bluebird/index.d.ts index b9a9d35e4d..8baef9caf9 100644 --- a/types/bluebird/index.d.ts +++ b/types/bluebird/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for bluebird 3.5.0 +// Type definitions for bluebird 3.5 // Project: https://github.com/petkaantonov/bluebird // Definitions by: Leonard Hecker <https://github.com/lhecker> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -1006,7 +1006,7 @@ declare class Bluebird<R> implements PromiseLike<R>, Bluebird.Inspection<R> { * Create a new promise. The passed in function will receive functions `resolve` and `reject` as its arguments which can be called to seal the fate of the created promise. * If promise cancellation is enabled, passed in function will receive one more function argument `onCancel` that allows to register an optional cancellation callback. */ - static Promise: typeof Bluebird + static Promise: typeof Bluebird; /** * The version number of the library @@ -1030,12 +1030,12 @@ declare namespace Bluebird { } export interface PromisifyAllOptions extends PromisifyOptions { suffix?: string; - filter?: (name: string, func: (...args: any[]) => any, target?: any, passesDefaultFilter?: boolean) => boolean; + filter?(name: string, func: (...args: any[]) => any, target?: any, passesDefaultFilter?: boolean): boolean; // The promisifier gets a reference to the original method and should return a function which returns a promise - promisifier?: (originalMethod: (...args: any[]) => any, defaultPromisifer: (...args: any[]) => (...args: any[]) => Bluebird<any>) => () => PromiseLike<any>; + promisifier?(originalMethod: (...args: any[]) => any, defaultPromisifer: (...args: any[]) => (...args: any[]) => Bluebird<any>): () => PromiseLike<any>; } export interface CoroutineOptions { - yieldHandler: (value: any) => any; + yieldHandler(value: any): any; } /** @@ -1088,7 +1088,6 @@ declare namespace Bluebird { reverse(): AggregateError; } - /** * returned by `Bluebird.disposer()`. */ @@ -1123,7 +1122,7 @@ declare namespace Bluebird { * If the the callback is called with multiple success values, the resolver fullfills its promise with an array of the values. */ // TODO specify resolver callback - callback: (err: any, value: R, ...values: R[]) => void; + callback(err: any, value: R, ...values: R[]): void; } export interface Inspection<R> { diff --git a/types/bluebird/tslint.json b/types/bluebird/tslint.json index 55713db673..d2d5c00bef 100644 --- a/types/bluebird/tslint.json +++ b/types/bluebird/tslint.json @@ -4,26 +4,14 @@ "adjacent-overload-signatures": false, "array-type": false, "ban-types": false, - "comment-format": false, - "dt-header": false, "max-line-length": false, - "member-access": false, - "no-consecutive-blank-lines": false, - "no-padding": false, "no-unnecessary-callback-wrapper": false, "no-unnecessary-generics": false, - "no-var-keyword": false, "no-void-expression": false, "one-line": false, - "only-arrow-functions": false, "prefer-const": false, - "prefer-method-signature": false, - "semicolon": false, - "space-before-function-paren": false, "strict-export-declare-modifiers": false, - "typedef-whitespace": false, "unified-signatures": false, - "void-return": false, - "whitespace": false + "void-return": false } -} \ No newline at end of file +} From 4f8a3d571bb2817343558394a2e5f3adc651432e Mon Sep 17 00:00:00 2001 From: Alexey Bolisov <alecsey.bolisov@gmail.com> Date: Tue, 10 Oct 2017 00:55:04 +0300 Subject: [PATCH 220/433] Add Google APIs typings (#19083) * Add Google APIs typings * [gapi.cliebt.* ] Add version as part of typings name and fix gapi.client tslint errors * versions should not get their own folders fixing a few typos using /** syntax so comments show up in editors export only actual (last) version for now * export only actual (last) version for now * merge namespaces and remove unnecessary namespace qualifiers * remove namespace qualifier for gapi.client.Request from nested namespaces and change Request base interface to Promise * disable await-promise rule * fix collision between gapi.client.Request and Request from nested namespace disable no-irregular-whitespace rule * sort properties and namespace resources * remove empty comments sort resources amd methods in tests and readme.md * update 'this is autogenerated file' banner to remove this text from gapi.client namespace hint use multiline comments when comment has several lines * implement no-trailing-whitespace, no-padding, max-line-length, await-promise, no-irregular-whitespace rules * add strictFunctionTypes to tsconfig * fix "Whitespace within parentheses is not allowed" rule * fix ts-lint rules * fixes * remove deprecated replicapool and replicapoolupdater api * fix no-irregular-whitespace * fix no-irregular-whitespace --- ...i.client.acceleratedmobilepageurl-tests.ts | 22 + .../index.d.ts | 97 + .../readme.md | 42 + .../tsconfig.json | 24 + .../tslint.json | 8 + .../gapi.client.adexchangebuyer-tests.ts | 213 + types/gapi.client.adexchangebuyer/index.d.ts | 1989 ++ types/gapi.client.adexchangebuyer/readme.md | 244 + .../gapi.client.adexchangebuyer/tsconfig.json | 24 + types/gapi.client.adexchangebuyer/tslint.json | 8 + .../gapi.client.adexchangebuyer2-tests.ts | 32 + types/gapi.client.adexchangebuyer2/index.d.ts | 2400 +++ types/gapi.client.adexchangebuyer2/readme.md | 54 + .../tsconfig.json | 24 + .../gapi.client.adexchangebuyer2/tslint.json | 8 + .../gapi.client.adexchangeseller-tests.ts | 43 + types/gapi.client.adexchangeseller/index.d.ts | 664 + types/gapi.client.adexchangeseller/readme.md | 67 + .../tsconfig.json | 24 + .../gapi.client.adexchangeseller/tslint.json | 8 + .../gapi.client.adexperiencereport-tests.ts | 39 + .../gapi.client.adexperiencereport/index.d.ts | 125 + .../gapi.client.adexperiencereport/readme.md | 64 + .../tsconfig.json | 24 + .../tslint.json | 8 + .../gapi.client.admin-tests.ts | 80 + types/gapi.client.admin/index.d.ts | 349 + types/gapi.client.admin/readme.md | 82 + types/gapi.client.admin/tsconfig.json | 24 + types/gapi.client.admin/tslint.json | 8 + .../gapi.client.adsense-tests.ts | 121 + types/gapi.client.adsense/index.d.ts | 1529 ++ types/gapi.client.adsense/readme.md | 132 + types/gapi.client.adsense/tsconfig.json | 24 + types/gapi.client.adsense/tslint.json | 8 + .../gapi.client.adsensehost-tests.ts | 119 + types/gapi.client.adsensehost/index.d.ts | 967 + types/gapi.client.adsensehost/readme.md | 134 + types/gapi.client.adsensehost/tsconfig.json | 24 + types/gapi.client.adsensehost/tslint.json | 8 + .../gapi.client.analytics-tests.ts | 45 + types/gapi.client.analytics/index.d.ts | 4071 ++++ types/gapi.client.analytics/readme.md | 74 + types/gapi.client.analytics/tsconfig.json | 24 + types/gapi.client.analytics/tslint.json | 8 + .../gapi.client.analyticsreporting-tests.ts | 37 + .../gapi.client.analyticsreporting/index.d.ts | 698 + .../gapi.client.analyticsreporting/readme.md | 62 + .../tsconfig.json | 24 + .../tslint.json | 8 + ....client.androiddeviceprovisioning-tests.ts | 24 + .../index.d.ts | 683 + .../readme.md | 42 + .../tsconfig.json | 24 + .../tslint.json | 8 + .../gapi.client.androidenterprise-tests.ts | 559 + .../gapi.client.androidenterprise/index.d.ts | 2830 +++ types/gapi.client.androidenterprise/readme.md | 476 + .../tsconfig.json | 24 + .../gapi.client.androidenterprise/tslint.json | 8 + .../gapi.client.androidmanagement-tests.ts | 52 + .../gapi.client.androidmanagement/index.d.ts | 1385 ++ types/gapi.client.androidmanagement/readme.md | 74 + .../tsconfig.json | 24 + .../gapi.client.androidmanagement/tslint.json | 8 + .../gapi.client.androidpublisher-tests.ts | 122 + types/gapi.client.androidpublisher/index.d.ts | 2062 ++ types/gapi.client.androidpublisher/readme.md | 134 + .../tsconfig.json | 24 + .../gapi.client.androidpublisher/tslint.json | 8 + .../gapi.client.appengine-tests.ts | 64 + types/gapi.client.appengine/index.d.ts | 2263 ++ types/gapi.client.appengine/readme.md | 84 + types/gapi.client.appengine/tsconfig.json | 24 + types/gapi.client.appengine/tslint.json | 8 + .../gapi.client.appsactivity-tests.ts | 54 + types/gapi.client.appsactivity/index.d.ts | 168 + types/gapi.client.appsactivity/readme.md | 71 + types/gapi.client.appsactivity/tsconfig.json | 24 + types/gapi.client.appsactivity/tslint.json | 8 + .../gapi.client.appstate-tests.ts | 64 + types/gapi.client.appstate/index.d.ts | 184 + types/gapi.client.appstate/readme.md | 79 + types/gapi.client.appstate/tsconfig.json | 24 + types/gapi.client.appstate/tslint.json | 8 + .../gapi.client.bigquery-tests.ts | 202 + types/gapi.client.bigquery/index.d.ts | 1810 ++ types/gapi.client.bigquery/readme.md | 182 + types/gapi.client.bigquery/tsconfig.json | 24 + types/gapi.client.bigquery/tslint.json | 8 + .../gapi.client.bigquerydatatransfer-tests.ts | 36 + .../index.d.ts | 1579 ++ .../readme.md | 60 + .../tsconfig.json | 24 + .../tslint.json | 8 + .../gapi.client.blogger-tests.ts | 277 + types/gapi.client.blogger/index.d.ts | 1346 ++ types/gapi.client.blogger/readme.md | 222 + types/gapi.client.blogger/tsconfig.json | 24 + types/gapi.client.blogger/tslint.json | 8 + .../gapi.client.books-tests.ts | 193 + types/gapi.client.books/index.d.ts | 2447 +++ types/gapi.client.books/readme.md | 169 + types/gapi.client.books/tsconfig.json | 24 + types/gapi.client.books/tslint.json | 8 + .../gapi.client.calendar-tests.ts | 275 + types/gapi.client.calendar/index.d.ts | 1946 ++ types/gapi.client.calendar/readme.md | 242 + types/gapi.client.calendar/tsconfig.json | 24 + types/gapi.client.calendar/tslint.json | 8 + .../gapi.client.civicinfo-tests.ts | 44 + types/gapi.client.civicinfo/index.d.ts | 599 + types/gapi.client.civicinfo/readme.md | 60 + types/gapi.client.civicinfo/tsconfig.json | 24 + types/gapi.client.civicinfo/tslint.json | 8 + .../gapi.client.classroom-tests.ts | 286 + types/gapi.client.classroom/index.d.ts | 4039 ++++ types/gapi.client.classroom/readme.md | 305 + types/gapi.client.classroom/tsconfig.json | 24 + types/gapi.client.classroom/tslint.json | 8 + .../gapi.client.cloudbilling-tests.ts | 98 + types/gapi.client.cloudbilling/index.d.ts | 640 + types/gapi.client.cloudbilling/readme.md | 116 + types/gapi.client.cloudbilling/tsconfig.json | 24 + types/gapi.client.cloudbilling/tslint.json | 8 + .../gapi.client.cloudbuild-tests.ts | 73 + types/gapi.client.cloudbuild/index.d.ts | 899 + types/gapi.client.cloudbuild/readme.md | 89 + types/gapi.client.cloudbuild/tsconfig.json | 24 + types/gapi.client.cloudbuild/tslint.json | 8 + .../gapi.client.clouddebugger-tests.ts | 34 + types/gapi.client.clouddebugger/index.d.ts | 817 + types/gapi.client.clouddebugger/readme.md | 58 + types/gapi.client.clouddebugger/tsconfig.json | 24 + types/gapi.client.clouddebugger/tslint.json | 8 + .../gapi.client.clouderrorreporting-tests.ts | 36 + .../index.d.ts | 614 + .../gapi.client.clouderrorreporting/readme.md | 60 + .../tsconfig.json | 24 + .../tslint.json | 8 + .../gapi.client.cloudfunctions-tests.ts | 58 + types/gapi.client.cloudfunctions/index.d.ts | 249 + types/gapi.client.cloudfunctions/readme.md | 75 + .../gapi.client.cloudfunctions/tsconfig.json | 24 + types/gapi.client.cloudfunctions/tslint.json | 8 + .../gapi.client.cloudiot-tests.ts | 34 + types/gapi.client.cloudiot/index.d.ts | 1161 ++ types/gapi.client.cloudiot/readme.md | 58 + types/gapi.client.cloudiot/tsconfig.json | 24 + types/gapi.client.cloudiot/tslint.json | 8 + .../gapi.client.cloudkms-tests.ts | 32 + types/gapi.client.cloudkms/index.d.ts | 1285 ++ types/gapi.client.cloudkms/readme.md | 54 + types/gapi.client.cloudkms/tsconfig.json | 24 + types/gapi.client.cloudkms/tslint.json | 8 + .../gapi.client.cloudmonitoring-tests.ts | 97 + types/gapi.client.cloudmonitoring/index.d.ts | 476 + types/gapi.client.cloudmonitoring/readme.md | 87 + .../gapi.client.cloudmonitoring/tsconfig.json | 24 + types/gapi.client.cloudmonitoring/tslint.json | 8 + .../gapi.client.cloudresourcemanager-tests.ts | 404 + .../index.d.ts | 2234 ++ .../readme.md | 409 + .../tsconfig.json | 24 + .../tslint.json | 8 + .../gapi.client.cloudtasks-tests.ts | 32 + types/gapi.client.cloudtasks/index.d.ts | 2100 ++ types/gapi.client.cloudtasks/readme.md | 54 + types/gapi.client.cloudtasks/tsconfig.json | 24 + types/gapi.client.cloudtasks/tslint.json | 8 + .../gapi.client.cloudtrace-tests.ts | 34 + types/gapi.client.cloudtrace/index.d.ts | 378 + types/gapi.client.cloudtrace/readme.md | 58 + types/gapi.client.cloudtrace/tsconfig.json | 24 + types/gapi.client.cloudtrace/tslint.json | 8 + .../gapi.client.clouduseraccounts-tests.ts | 169 + .../gapi.client.clouduseraccounts/index.d.ts | 1084 + types/gapi.client.clouduseraccounts/readme.md | 178 + .../tsconfig.json | 24 + .../gapi.client.clouduseraccounts/tslint.json | 8 + .../gapi.client.compute-tests.ts | 2184 ++ types/gapi.client.compute/index.d.ts | 17367 ++++++++++++++++ types/gapi.client.compute/readme.md | 1557 ++ types/gapi.client.compute/tsconfig.json | 24 + types/gapi.client.compute/tslint.json | 8 + .../gapi.client.consumersurveys-tests.ts | 86 + types/gapi.client.consumersurveys/index.d.ts | 397 + types/gapi.client.consumersurveys/readme.md | 115 + .../gapi.client.consumersurveys/tsconfig.json | 24 + types/gapi.client.consumersurveys/tslint.json | 8 + .../gapi.client.container-tests.ts | 32 + types/gapi.client.container/index.d.ts | 2201 ++ types/gapi.client.container/readme.md | 54 + types/gapi.client.container/tsconfig.json | 24 + types/gapi.client.container/tslint.json | 8 + .../gapi.client.content-tests.ts | 387 + types/gapi.client.content/index.d.ts | 3459 +++ types/gapi.client.content/readme.md | 344 + types/gapi.client.content/tsconfig.json | 24 + types/gapi.client.content/tslint.json | 8 + .../gapi.client.customsearch-tests.ts | 50 + types/gapi.client.customsearch/index.d.ts | 226 + types/gapi.client.customsearch/readme.md | 40 + types/gapi.client.customsearch/tsconfig.json | 24 + types/gapi.client.customsearch/tslint.json | 8 + .../gapi.client.dataflow-tests.ts | 42 + types/gapi.client.dataflow/index.d.ts | 3245 +++ types/gapi.client.dataflow/readme.md | 68 + types/gapi.client.dataflow/tsconfig.json | 24 + types/gapi.client.dataflow/tslint.json | 8 + .../gapi.client.dataproc-tests.ts | 32 + types/gapi.client.dataproc/index.d.ts | 1225 ++ types/gapi.client.dataproc/readme.md | 54 + types/gapi.client.dataproc/tsconfig.json | 24 + types/gapi.client.dataproc/tslint.json | 8 + .../gapi.client.datastore-tests.ts | 64 + types/gapi.client.datastore/index.d.ts | 1027 + types/gapi.client.datastore/readme.md | 90 + types/gapi.client.datastore/tsconfig.json | 24 + types/gapi.client.datastore/tslint.json | 8 + .../gapi.client.deploymentmanager-tests.ts | 154 + .../gapi.client.deploymentmanager/index.d.ts | 1175 ++ types/gapi.client.deploymentmanager/readme.md | 153 + .../tsconfig.json | 24 + .../gapi.client.deploymentmanager/tslint.json | 8 + .../gapi.client.dfareporting-tests.ts | 1301 ++ types/gapi.client.dfareporting/index.d.ts | 9850 +++++++++ types/gapi.client.dfareporting/readme.md | 1070 + types/gapi.client.dfareporting/tsconfig.json | 24 + types/gapi.client.dfareporting/tslint.json | 8 + .../gapi.client.discovery-tests.ts | 26 + types/gapi.client.discovery/index.d.ts | 322 + types/gapi.client.discovery/readme.md | 45 + types/gapi.client.discovery/tsconfig.json | 24 + types/gapi.client.discovery/tslint.json | 8 + .../gapi.client.dlp/gapi.client.dlp-tests.ts | 60 + types/gapi.client.dlp/index.d.ts | 1612 ++ types/gapi.client.dlp/readme.md | 83 + types/gapi.client.dlp/tsconfig.json | 24 + types/gapi.client.dlp/tslint.json | 8 + .../gapi.client.dns/gapi.client.dns-tests.ts | 92 + types/gapi.client.dns/index.d.ts | 392 + types/gapi.client.dns/readme.md | 108 + types/gapi.client.dns/tsconfig.json | 24 + types/gapi.client.dns/tslint.json | 8 + ...gapi.client.doubleclickbidmanager-tests.ts | 63 + .../index.d.ts | 435 + .../readme.md | 99 + .../tsconfig.json | 24 + .../tslint.json | 8 + .../gapi.client.doubleclicksearch-tests.ts | 85 + .../gapi.client.doubleclicksearch/index.d.ts | 578 + types/gapi.client.doubleclicksearch/readme.md | 104 + .../tsconfig.json | 24 + .../gapi.client.doubleclicksearch/tslint.json | 8 + .../gapi.client.drive-tests.ts | 291 + types/gapi.client.drive/index.d.ts | 1831 ++ types/gapi.client.drive/readme.md | 270 + types/gapi.client.drive/tsconfig.json | 24 + types/gapi.client.drive/tslint.json | 8 + .../gapi.client.firebasedynamiclinks-tests.ts | 57 + .../index.d.ts | 430 + .../readme.md | 79 + .../tsconfig.json | 24 + .../tslint.json | 8 + .../gapi.client.firebaseremoteconfig-tests.ts | 48 + .../index.d.ts | 197 + .../readme.md | 64 + .../tsconfig.json | 24 + .../tslint.json | 8 + .../gapi.client.firebaserules-tests.ts | 63 + types/gapi.client.firebaserules/index.d.ts | 828 + types/gapi.client.firebaserules/readme.md | 87 + types/gapi.client.firebaserules/tsconfig.json | 24 + types/gapi.client.firebaserules/tslint.json | 8 + .../gapi.client.firestore-tests.ts | 34 + types/gapi.client.firestore/index.d.ts | 1579 ++ types/gapi.client.firestore/readme.md | 57 + types/gapi.client.firestore/tsconfig.json | 24 + types/gapi.client.firestore/tslint.json | 8 + .../gapi.client.fitness-tests.ts | 66 + types/gapi.client.fitness/index.d.ts | 767 + types/gapi.client.fitness/readme.md | 105 + types/gapi.client.fitness/tsconfig.json | 24 + types/gapi.client.fitness/tslint.json | 8 + .../gapi.client.fusiontables-tests.ts | 225 + types/gapi.client.fusiontables/index.d.ts | 1188 ++ types/gapi.client.fusiontables/readme.md | 232 + types/gapi.client.fusiontables/tsconfig.json | 24 + types/gapi.client.fusiontables/tslint.json | 8 + .../gapi.client.games-tests.ts | 402 + types/gapi.client.games/index.d.ts | 3077 +++ types/gapi.client.games/readme.md | 326 + types/gapi.client.games/tsconfig.json | 24 + types/gapi.client.games/tslint.json | 8 + .../gapi.client.gamesconfiguration-tests.ts | 89 + .../gapi.client.gamesconfiguration/index.d.ts | 490 + .../gapi.client.gamesconfiguration/readme.md | 119 + .../tsconfig.json | 24 + .../tslint.json | 8 + .../gapi.client.gamesmanagement-tests.ts | 190 + types/gapi.client.gamesmanagement/index.d.ts | 835 + types/gapi.client.gamesmanagement/readme.md | 192 + .../gapi.client.gamesmanagement/tsconfig.json | 24 + types/gapi.client.gamesmanagement/tslint.json | 8 + .../gapi.client.genomics-tests.ts | 750 + types/gapi.client.genomics/index.d.ts | 3919 ++++ types/gapi.client.genomics/readme.md | 731 + types/gapi.client.genomics/tsconfig.json | 24 + types/gapi.client.genomics/tslint.json | 8 + .../gapi.client.gmail-tests.ts | 62 + types/gapi.client.gmail/index.d.ts | 2052 ++ types/gapi.client.gmail/readme.md | 96 + types/gapi.client.gmail/tsconfig.json | 24 + types/gapi.client.gmail/tslint.json | 8 + .../gapi.client.groupsmigration-tests.ts | 36 + types/gapi.client.groupsmigration/index.d.ts | 53 + types/gapi.client.groupsmigration/readme.md | 59 + .../gapi.client.groupsmigration/tsconfig.json | 24 + types/gapi.client.groupsmigration/tslint.json | 8 + .../gapi.client.groupssettings-tests.ts | 44 + types/gapi.client.groupssettings/index.d.ts | 164 + types/gapi.client.groupssettings/readme.md | 69 + .../gapi.client.groupssettings/tsconfig.json | 24 + types/gapi.client.groupssettings/tslint.json | 8 + .../gapi.client.iam/gapi.client.iam-tests.ts | 57 + types/gapi.client.iam/index.d.ts | 1608 ++ types/gapi.client.iam/readme.md | 77 + types/gapi.client.iam/tsconfig.json | 24 + types/gapi.client.iam/tslint.json | 8 + .../gapi.client.identitytoolkit-tests.ts | 96 + types/gapi.client.identitytoolkit/index.d.ts | 1163 ++ types/gapi.client.identitytoolkit/readme.md | 157 + .../gapi.client.identitytoolkit/tsconfig.json | 24 + types/gapi.client.identitytoolkit/tslint.json | 8 + .../gapi.client.kgsearch-tests.ts | 30 + types/gapi.client.kgsearch/index.d.ts | 94 + types/gapi.client.kgsearch/readme.md | 42 + types/gapi.client.kgsearch/tsconfig.json | 24 + types/gapi.client.kgsearch/tslint.json | 8 + .../gapi.client.language-tests.ts | 63 + types/gapi.client.language/index.d.ts | 469 + types/gapi.client.language/readme.md | 88 + types/gapi.client.language/tsconfig.json | 24 + types/gapi.client.language/tslint.json | 8 + .../gapi.client.licensing-tests.ts | 76 + types/gapi.client.licensing/index.d.ts | 243 + types/gapi.client.licensing/readme.md | 89 + types/gapi.client.licensing/tsconfig.json | 24 + types/gapi.client.licensing/tslint.json | 8 + .../gapi.client.logging-tests.ts | 54 + types/gapi.client.logging/index.d.ts | 3334 +++ types/gapi.client.logging/readme.md | 81 + types/gapi.client.logging/tsconfig.json | 24 + types/gapi.client.logging/tslint.json | 8 + .../gapi.client.manufacturers-tests.ts | 32 + types/gapi.client.manufacturers/index.d.ts | 550 + types/gapi.client.manufacturers/readme.md | 54 + types/gapi.client.manufacturers/tsconfig.json | 24 + types/gapi.client.manufacturers/tslint.json | 8 + .../gapi.client.mirror-tests.ts | 116 + types/gapi.client.mirror/index.d.ts | 985 + types/gapi.client.mirror/readme.md | 157 + types/gapi.client.mirror/tsconfig.json | 24 + types/gapi.client.mirror/tslint.json | 8 + types/gapi.client.ml/gapi.client.ml-tests.ts | 49 + types/gapi.client.ml/index.d.ts | 1855 ++ types/gapi.client.ml/readme.md | 69 + types/gapi.client.ml/tsconfig.json | 24 + types/gapi.client.ml/tslint.json | 8 + .../gapi.client.monitoring-tests.ts | 38 + types/gapi.client.monitoring/index.d.ts | 1093 + types/gapi.client.monitoring/readme.md | 63 + types/gapi.client.monitoring/tsconfig.json | 24 + types/gapi.client.monitoring/tslint.json | 8 + .../gapi.client.oauth2-tests.ts | 40 + types/gapi.client.oauth2/index.d.ts | 123 + types/gapi.client.oauth2/readme.md | 68 + types/gapi.client.oauth2/tsconfig.json | 24 + types/gapi.client.oauth2/tslint.json | 8 + .../gapi.client.oslogin-tests.ts | 53 + types/gapi.client.oslogin/index.d.ts | 257 + types/gapi.client.oslogin/readme.md | 76 + types/gapi.client.oslogin/tsconfig.json | 24 + types/gapi.client.oslogin/tslint.json | 8 + .../gapi.client.pagespeedonline-tests.ts | 28 + types/gapi.client.pagespeedonline/index.d.ts | 215 + types/gapi.client.pagespeedonline/readme.md | 40 + .../gapi.client.pagespeedonline/tsconfig.json | 24 + types/gapi.client.pagespeedonline/tslint.json | 8 + .../gapi.client.partners-tests.ts | 216 + types/gapi.client.partners/index.d.ts | 1897 ++ types/gapi.client.partners/readme.md | 122 + types/gapi.client.partners/tsconfig.json | 24 + types/gapi.client.partners/tslint.json | 8 + .../gapi.client.people-tests.ts | 140 + types/gapi.client.people/index.d.ts | 1505 ++ types/gapi.client.people/readme.md | 156 + types/gapi.client.people/tsconfig.json | 24 + types/gapi.client.people/tslint.json | 8 + .../gapi.client.playcustomapp-tests.ts | 32 + types/gapi.client.playcustomapp/index.d.ts | 56 + types/gapi.client.playcustomapp/readme.md | 54 + types/gapi.client.playcustomapp/tsconfig.json | 24 + types/gapi.client.playcustomapp/tslint.json | 8 + .../gapi.client.playmoviespartner-tests.ts | 32 + .../gapi.client.playmoviespartner/index.d.ts | 755 + types/gapi.client.playmoviespartner/readme.md | 54 + .../tsconfig.json | 24 + .../gapi.client.playmoviespartner/tslint.json | 8 + .../gapi.client.plus-tests.ts | 94 + types/gapi.client.plus/index.d.ts | 906 + types/gapi.client.plus/readme.md | 108 + types/gapi.client.plus/tsconfig.json | 24 + types/gapi.client.plus/tslint.json | 8 + .../gapi.client.plusdomains-tests.ts | 161 + types/gapi.client.plusdomains/index.d.ts | 1324 ++ types/gapi.client.plusdomains/readme.md | 181 + types/gapi.client.plusdomains/tsconfig.json | 24 + types/gapi.client.plusdomains/tslint.json | 8 + .../gapi.client.prediction-tests.ts | 80 + types/gapi.client.prediction/index.d.ts | 403 + types/gapi.client.prediction/readme.md | 106 + types/gapi.client.prediction/tsconfig.json | 24 + types/gapi.client.prediction/tslint.json | 8 + .../gapi.client.proximitybeacon-tests.ts | 186 + types/gapi.client.proximitybeacon/index.d.ts | 1367 ++ types/gapi.client.proximitybeacon/readme.md | 188 + .../gapi.client.proximitybeacon/tsconfig.json | 24 + types/gapi.client.proximitybeacon/tslint.json | 8 + .../gapi.client.pubsub-tests.ts | 34 + types/gapi.client.pubsub/index.d.ts | 1241 ++ types/gapi.client.pubsub/readme.md | 58 + types/gapi.client.pubsub/tsconfig.json | 24 + types/gapi.client.pubsub/tslint.json | 8 + .../gapi.client.qpxexpress-tests.ts | 19 + types/gapi.client.qpxexpress/index.d.ts | 406 + types/gapi.client.qpxexpress/readme.md | 40 + types/gapi.client.qpxexpress/tsconfig.json | 24 + types/gapi.client.qpxexpress/tslint.json | 8 + .../gapi.client.reseller-tests.ts | 121 + types/gapi.client.reseller/index.d.ts | 793 + types/gapi.client.reseller/readme.md | 142 + types/gapi.client.reseller/tsconfig.json | 24 + types/gapi.client.reseller/tslint.json | 8 + .../gapi.client.resourceviews-tests.ts | 116 + types/gapi.client.resourceviews/index.d.ts | 505 + types/gapi.client.resourceviews/readme.md | 124 + types/gapi.client.resourceviews/tsconfig.json | 24 + types/gapi.client.resourceviews/tslint.json | 8 + .../gapi.client.runtimeconfig-tests.ts | 76 + types/gapi.client.runtimeconfig/index.d.ts | 206 + types/gapi.client.runtimeconfig/readme.md | 93 + types/gapi.client.runtimeconfig/tsconfig.json | 24 + types/gapi.client.runtimeconfig/tslint.json | 8 + .../gapi.client.safebrowsing-tests.ts | 41 + types/gapi.client.safebrowsing/index.d.ts | 499 + types/gapi.client.safebrowsing/readme.md | 66 + types/gapi.client.safebrowsing/tsconfig.json | 24 + types/gapi.client.safebrowsing/tslint.json | 8 + .../gapi.client.script-tests.ts | 66 + types/gapi.client.script/index.d.ts | 166 + types/gapi.client.script/readme.md | 97 + types/gapi.client.script/tsconfig.json | 24 + types/gapi.client.script/tslint.json | 8 + .../gapi.client.searchconsole-tests.ts | 16 + types/gapi.client.searchconsole/index.d.ts | 102 + types/gapi.client.searchconsole/readme.md | 35 + types/gapi.client.searchconsole/tsconfig.json | 24 + types/gapi.client.searchconsole/tslint.json | 8 + .../gapi.client.servicecontrol-tests.ts | 144 + types/gapi.client.servicecontrol/index.d.ts | 1191 ++ types/gapi.client.servicecontrol/readme.md | 161 + .../gapi.client.servicecontrol/tsconfig.json | 24 + types/gapi.client.servicecontrol/tslint.json | 8 + .../gapi.client.servicemanagement-tests.ts | 176 + .../gapi.client.servicemanagement/index.d.ts | 2813 +++ types/gapi.client.servicemanagement/readme.md | 185 + .../tsconfig.json | 24 + .../gapi.client.servicemanagement/tslint.json | 8 + .../gapi.client.serviceuser-tests.ts | 47 + types/gapi.client.serviceuser/index.d.ts | 1585 ++ types/gapi.client.serviceuser/readme.md | 69 + types/gapi.client.serviceuser/tsconfig.json | 24 + types/gapi.client.serviceuser/tslint.json | 8 + .../gapi.client.sheets-tests.ts | 122 + types/gapi.client.sheets/index.d.ts | 3310 +++ types/gapi.client.sheets/readme.md | 145 + types/gapi.client.sheets/tsconfig.json | 24 + types/gapi.client.sheets/tslint.json | 8 + .../gapi.client.siteverification-tests.ts | 60 + types/gapi.client.siteverification/index.d.ts | 213 + types/gapi.client.siteverification/readme.md | 92 + .../tsconfig.json | 24 + .../gapi.client.siteverification/tslint.json | 8 + .../gapi.client.slides-tests.ts | 79 + types/gapi.client.slides/index.d.ts | 2145 ++ types/gapi.client.slides/readme.md | 106 + types/gapi.client.slides/tsconfig.json | 24 + types/gapi.client.slides/tslint.json | 8 + .../gapi.client.sourcerepo-tests.ts | 38 + types/gapi.client.sourcerepo/index.d.ts | 489 + types/gapi.client.sourcerepo/readme.md | 63 + types/gapi.client.sourcerepo/tsconfig.json | 24 + types/gapi.client.sourcerepo/tslint.json | 8 + .../gapi.client.spanner-tests.ts | 36 + types/gapi.client.spanner/index.d.ts | 2705 +++ types/gapi.client.spanner/readme.md | 60 + types/gapi.client.spanner/tsconfig.json | 24 + types/gapi.client.spanner/tslint.json | 8 + .../gapi.client.spectrum-tests.ts | 43 + types/gapi.client.spectrum/index.d.ts | 841 + types/gapi.client.spectrum/readme.md | 65 + types/gapi.client.spectrum/tsconfig.json | 24 + types/gapi.client.spectrum/tslint.json | 8 + .../gapi.client.speech-tests.ts | 96 + types/gapi.client.speech/index.d.ts | 455 + types/gapi.client.speech/readme.md | 111 + types/gapi.client.speech/tsconfig.json | 24 + types/gapi.client.speech/tslint.json | 8 + .../gapi.client.sqladmin-tests.ts | 267 + types/gapi.client.sqladmin/index.d.ts | 1731 ++ types/gapi.client.sqladmin/readme.md | 257 + types/gapi.client.sqladmin/tsconfig.json | 24 + types/gapi.client.sqladmin/tslint.json | 8 + .../gapi.client.storage-tests.ts | 410 + types/gapi.client.storage/index.d.ts | 2019 ++ types/gapi.client.storage/readme.md | 291 + types/gapi.client.storage/tsconfig.json | 24 + types/gapi.client.storage/tslint.json | 8 + .../gapi.client.storagetransfer-tests.ts | 109 + types/gapi.client.storagetransfer/index.d.ts | 856 + types/gapi.client.storagetransfer/readme.md | 129 + .../gapi.client.storagetransfer/tsconfig.json | 24 + types/gapi.client.storagetransfer/tslint.json | 8 + .../gapi.client.streetviewpublish-tests.ts | 214 + .../gapi.client.streetviewpublish/index.d.ts | 787 + types/gapi.client.streetviewpublish/readme.md | 226 + .../tsconfig.json | 24 + .../gapi.client.streetviewpublish/tslint.json | 8 + .../gapi.client.surveys-tests.ts | 86 + types/gapi.client.surveys/index.d.ts | 499 + types/gapi.client.surveys/readme.md | 115 + types/gapi.client.surveys/tsconfig.json | 24 + types/gapi.client.surveys/tslint.json | 8 + .../gapi.client.tagmanager-tests.ts | 57 + types/gapi.client.tagmanager/index.d.ts | 2470 +++ types/gapi.client.tagmanager/readme.md | 87 + types/gapi.client.tagmanager/tsconfig.json | 24 + types/gapi.client.tagmanager/tslint.json | 8 + .../gapi.client.taskqueue-tests.ts | 85 + types/gapi.client.taskqueue/index.d.ts | 300 + types/gapi.client.taskqueue/readme.md | 97 + types/gapi.client.taskqueue/tsconfig.json | 24 + types/gapi.client.taskqueue/tslint.json | 8 + .../gapi.client.tasks-tests.ts | 115 + types/gapi.client.tasks/index.d.ts | 467 + types/gapi.client.tasks/readme.md | 127 + types/gapi.client.tasks/tsconfig.json | 24 + types/gapi.client.tasks/tslint.json | 8 + .../gapi.client.testing-tests.ts | 47 + types/gapi.client.testing/index.d.ts | 997 + types/gapi.client.testing/readme.md | 68 + types/gapi.client.testing/tsconfig.json | 24 + types/gapi.client.testing/tslint.json | 8 + .../gapi.client.toolresults-tests.ts | 64 + types/gapi.client.toolresults/index.d.ts | 2002 ++ types/gapi.client.toolresults/readme.md | 78 + types/gapi.client.toolresults/tsconfig.json | 24 + types/gapi.client.toolresults/tslint.json | 8 + .../gapi.client.translate-tests.ts | 58 + types/gapi.client.translate/index.d.ts | 319 + types/gapi.client.translate/readme.md | 83 + types/gapi.client.translate/tsconfig.json | 24 + types/gapi.client.translate/tslint.json | 8 + .../gapi.client.urlshortener-tests.ts | 45 + types/gapi.client.urlshortener/index.d.ts | 154 + types/gapi.client.urlshortener/readme.md | 69 + types/gapi.client.urlshortener/tsconfig.json | 24 + types/gapi.client.urlshortener/tslint.json | 8 + .../gapi.client.vault-tests.ts | 86 + types/gapi.client.vault/index.d.ts | 804 + types/gapi.client.vault/readme.md | 112 + types/gapi.client.vault/tsconfig.json | 24 + types/gapi.client.vault/tslint.json | 8 + .../gapi.client.videointelligence-tests.ts | 40 + .../gapi.client.videointelligence/index.d.ts | 473 + types/gapi.client.videointelligence/readme.md | 62 + .../tsconfig.json | 24 + .../gapi.client.videointelligence/tslint.json | 8 + .../gapi.client.vision-tests.ts | 37 + types/gapi.client.vision/index.d.ts | 603 + types/gapi.client.vision/readme.md | 62 + types/gapi.client.vision/tsconfig.json | 24 + types/gapi.client.vision/tslint.json | 8 + .../gapi.client.webfonts-tests.ts | 20 + types/gapi.client.webfonts/index.d.ts | 71 + types/gapi.client.webfonts/readme.md | 40 + types/gapi.client.webfonts/tsconfig.json | 24 + types/gapi.client.webfonts/tslint.json | 8 + .../gapi.client.webmasters-tests.ts | 106 + types/gapi.client.webmasters/index.d.ts | 510 + types/gapi.client.webmasters/readme.md | 124 + types/gapi.client.webmasters/tsconfig.json | 24 + types/gapi.client.webmasters/tslint.json | 8 + .../gapi.client.youtube-tests.ts | 589 + types/gapi.client.youtube/index.d.ts | 5732 +++++ types/gapi.client.youtube/readme.md | 435 + types/gapi.client.youtube/tsconfig.json | 24 + types/gapi.client.youtube/tslint.json | 8 + .../gapi.client.youtubeanalytics-tests.ts | 91 + types/gapi.client.youtubeanalytics/index.d.ts | 381 + types/gapi.client.youtubeanalytics/readme.md | 106 + .../tsconfig.json | 24 + .../gapi.client.youtubeanalytics/tslint.json | 8 + .../gapi.client.youtubereporting-tests.ts | 69 + types/gapi.client.youtubereporting/index.d.ts | 483 + types/gapi.client.youtubereporting/readme.md | 88 + .../tsconfig.json | 24 + .../gapi.client.youtubereporting/tslint.json | 8 + types/gapi.client/gapi.client-tests.ts | 12 + types/gapi.client/index.d.ts | 216 + types/gapi.client/readme.md | 8 + types/gapi.client/tsconfig.json | 24 + types/gapi.client/tslint.json | 9 + 625 files changed, 208886 insertions(+) create mode 100644 types/gapi.client.acceleratedmobilepageurl/gapi.client.acceleratedmobilepageurl-tests.ts create mode 100644 types/gapi.client.acceleratedmobilepageurl/index.d.ts create mode 100644 types/gapi.client.acceleratedmobilepageurl/readme.md create mode 100644 types/gapi.client.acceleratedmobilepageurl/tsconfig.json create mode 100644 types/gapi.client.acceleratedmobilepageurl/tslint.json create mode 100644 types/gapi.client.adexchangebuyer/gapi.client.adexchangebuyer-tests.ts create mode 100644 types/gapi.client.adexchangebuyer/index.d.ts create mode 100644 types/gapi.client.adexchangebuyer/readme.md create mode 100644 types/gapi.client.adexchangebuyer/tsconfig.json create mode 100644 types/gapi.client.adexchangebuyer/tslint.json create mode 100644 types/gapi.client.adexchangebuyer2/gapi.client.adexchangebuyer2-tests.ts create mode 100644 types/gapi.client.adexchangebuyer2/index.d.ts create mode 100644 types/gapi.client.adexchangebuyer2/readme.md create mode 100644 types/gapi.client.adexchangebuyer2/tsconfig.json create mode 100644 types/gapi.client.adexchangebuyer2/tslint.json create mode 100644 types/gapi.client.adexchangeseller/gapi.client.adexchangeseller-tests.ts create mode 100644 types/gapi.client.adexchangeseller/index.d.ts create mode 100644 types/gapi.client.adexchangeseller/readme.md create mode 100644 types/gapi.client.adexchangeseller/tsconfig.json create mode 100644 types/gapi.client.adexchangeseller/tslint.json create mode 100644 types/gapi.client.adexperiencereport/gapi.client.adexperiencereport-tests.ts create mode 100644 types/gapi.client.adexperiencereport/index.d.ts create mode 100644 types/gapi.client.adexperiencereport/readme.md create mode 100644 types/gapi.client.adexperiencereport/tsconfig.json create mode 100644 types/gapi.client.adexperiencereport/tslint.json create mode 100644 types/gapi.client.admin/gapi.client.admin-tests.ts create mode 100644 types/gapi.client.admin/index.d.ts create mode 100644 types/gapi.client.admin/readme.md create mode 100644 types/gapi.client.admin/tsconfig.json create mode 100644 types/gapi.client.admin/tslint.json create mode 100644 types/gapi.client.adsense/gapi.client.adsense-tests.ts create mode 100644 types/gapi.client.adsense/index.d.ts create mode 100644 types/gapi.client.adsense/readme.md create mode 100644 types/gapi.client.adsense/tsconfig.json create mode 100644 types/gapi.client.adsense/tslint.json create mode 100644 types/gapi.client.adsensehost/gapi.client.adsensehost-tests.ts create mode 100644 types/gapi.client.adsensehost/index.d.ts create mode 100644 types/gapi.client.adsensehost/readme.md create mode 100644 types/gapi.client.adsensehost/tsconfig.json create mode 100644 types/gapi.client.adsensehost/tslint.json create mode 100644 types/gapi.client.analytics/gapi.client.analytics-tests.ts create mode 100644 types/gapi.client.analytics/index.d.ts create mode 100644 types/gapi.client.analytics/readme.md create mode 100644 types/gapi.client.analytics/tsconfig.json create mode 100644 types/gapi.client.analytics/tslint.json create mode 100644 types/gapi.client.analyticsreporting/gapi.client.analyticsreporting-tests.ts create mode 100644 types/gapi.client.analyticsreporting/index.d.ts create mode 100644 types/gapi.client.analyticsreporting/readme.md create mode 100644 types/gapi.client.analyticsreporting/tsconfig.json create mode 100644 types/gapi.client.analyticsreporting/tslint.json create mode 100644 types/gapi.client.androiddeviceprovisioning/gapi.client.androiddeviceprovisioning-tests.ts create mode 100644 types/gapi.client.androiddeviceprovisioning/index.d.ts create mode 100644 types/gapi.client.androiddeviceprovisioning/readme.md create mode 100644 types/gapi.client.androiddeviceprovisioning/tsconfig.json create mode 100644 types/gapi.client.androiddeviceprovisioning/tslint.json create mode 100644 types/gapi.client.androidenterprise/gapi.client.androidenterprise-tests.ts create mode 100644 types/gapi.client.androidenterprise/index.d.ts create mode 100644 types/gapi.client.androidenterprise/readme.md create mode 100644 types/gapi.client.androidenterprise/tsconfig.json create mode 100644 types/gapi.client.androidenterprise/tslint.json create mode 100644 types/gapi.client.androidmanagement/gapi.client.androidmanagement-tests.ts create mode 100644 types/gapi.client.androidmanagement/index.d.ts create mode 100644 types/gapi.client.androidmanagement/readme.md create mode 100644 types/gapi.client.androidmanagement/tsconfig.json create mode 100644 types/gapi.client.androidmanagement/tslint.json create mode 100644 types/gapi.client.androidpublisher/gapi.client.androidpublisher-tests.ts create mode 100644 types/gapi.client.androidpublisher/index.d.ts create mode 100644 types/gapi.client.androidpublisher/readme.md create mode 100644 types/gapi.client.androidpublisher/tsconfig.json create mode 100644 types/gapi.client.androidpublisher/tslint.json create mode 100644 types/gapi.client.appengine/gapi.client.appengine-tests.ts create mode 100644 types/gapi.client.appengine/index.d.ts create mode 100644 types/gapi.client.appengine/readme.md create mode 100644 types/gapi.client.appengine/tsconfig.json create mode 100644 types/gapi.client.appengine/tslint.json create mode 100644 types/gapi.client.appsactivity/gapi.client.appsactivity-tests.ts create mode 100644 types/gapi.client.appsactivity/index.d.ts create mode 100644 types/gapi.client.appsactivity/readme.md create mode 100644 types/gapi.client.appsactivity/tsconfig.json create mode 100644 types/gapi.client.appsactivity/tslint.json create mode 100644 types/gapi.client.appstate/gapi.client.appstate-tests.ts create mode 100644 types/gapi.client.appstate/index.d.ts create mode 100644 types/gapi.client.appstate/readme.md create mode 100644 types/gapi.client.appstate/tsconfig.json create mode 100644 types/gapi.client.appstate/tslint.json create mode 100644 types/gapi.client.bigquery/gapi.client.bigquery-tests.ts create mode 100644 types/gapi.client.bigquery/index.d.ts create mode 100644 types/gapi.client.bigquery/readme.md create mode 100644 types/gapi.client.bigquery/tsconfig.json create mode 100644 types/gapi.client.bigquery/tslint.json create mode 100644 types/gapi.client.bigquerydatatransfer/gapi.client.bigquerydatatransfer-tests.ts create mode 100644 types/gapi.client.bigquerydatatransfer/index.d.ts create mode 100644 types/gapi.client.bigquerydatatransfer/readme.md create mode 100644 types/gapi.client.bigquerydatatransfer/tsconfig.json create mode 100644 types/gapi.client.bigquerydatatransfer/tslint.json create mode 100644 types/gapi.client.blogger/gapi.client.blogger-tests.ts create mode 100644 types/gapi.client.blogger/index.d.ts create mode 100644 types/gapi.client.blogger/readme.md create mode 100644 types/gapi.client.blogger/tsconfig.json create mode 100644 types/gapi.client.blogger/tslint.json create mode 100644 types/gapi.client.books/gapi.client.books-tests.ts create mode 100644 types/gapi.client.books/index.d.ts create mode 100644 types/gapi.client.books/readme.md create mode 100644 types/gapi.client.books/tsconfig.json create mode 100644 types/gapi.client.books/tslint.json create mode 100644 types/gapi.client.calendar/gapi.client.calendar-tests.ts create mode 100644 types/gapi.client.calendar/index.d.ts create mode 100644 types/gapi.client.calendar/readme.md create mode 100644 types/gapi.client.calendar/tsconfig.json create mode 100644 types/gapi.client.calendar/tslint.json create mode 100644 types/gapi.client.civicinfo/gapi.client.civicinfo-tests.ts create mode 100644 types/gapi.client.civicinfo/index.d.ts create mode 100644 types/gapi.client.civicinfo/readme.md create mode 100644 types/gapi.client.civicinfo/tsconfig.json create mode 100644 types/gapi.client.civicinfo/tslint.json create mode 100644 types/gapi.client.classroom/gapi.client.classroom-tests.ts create mode 100644 types/gapi.client.classroom/index.d.ts create mode 100644 types/gapi.client.classroom/readme.md create mode 100644 types/gapi.client.classroom/tsconfig.json create mode 100644 types/gapi.client.classroom/tslint.json create mode 100644 types/gapi.client.cloudbilling/gapi.client.cloudbilling-tests.ts create mode 100644 types/gapi.client.cloudbilling/index.d.ts create mode 100644 types/gapi.client.cloudbilling/readme.md create mode 100644 types/gapi.client.cloudbilling/tsconfig.json create mode 100644 types/gapi.client.cloudbilling/tslint.json create mode 100644 types/gapi.client.cloudbuild/gapi.client.cloudbuild-tests.ts create mode 100644 types/gapi.client.cloudbuild/index.d.ts create mode 100644 types/gapi.client.cloudbuild/readme.md create mode 100644 types/gapi.client.cloudbuild/tsconfig.json create mode 100644 types/gapi.client.cloudbuild/tslint.json create mode 100644 types/gapi.client.clouddebugger/gapi.client.clouddebugger-tests.ts create mode 100644 types/gapi.client.clouddebugger/index.d.ts create mode 100644 types/gapi.client.clouddebugger/readme.md create mode 100644 types/gapi.client.clouddebugger/tsconfig.json create mode 100644 types/gapi.client.clouddebugger/tslint.json create mode 100644 types/gapi.client.clouderrorreporting/gapi.client.clouderrorreporting-tests.ts create mode 100644 types/gapi.client.clouderrorreporting/index.d.ts create mode 100644 types/gapi.client.clouderrorreporting/readme.md create mode 100644 types/gapi.client.clouderrorreporting/tsconfig.json create mode 100644 types/gapi.client.clouderrorreporting/tslint.json create mode 100644 types/gapi.client.cloudfunctions/gapi.client.cloudfunctions-tests.ts create mode 100644 types/gapi.client.cloudfunctions/index.d.ts create mode 100644 types/gapi.client.cloudfunctions/readme.md create mode 100644 types/gapi.client.cloudfunctions/tsconfig.json create mode 100644 types/gapi.client.cloudfunctions/tslint.json create mode 100644 types/gapi.client.cloudiot/gapi.client.cloudiot-tests.ts create mode 100644 types/gapi.client.cloudiot/index.d.ts create mode 100644 types/gapi.client.cloudiot/readme.md create mode 100644 types/gapi.client.cloudiot/tsconfig.json create mode 100644 types/gapi.client.cloudiot/tslint.json create mode 100644 types/gapi.client.cloudkms/gapi.client.cloudkms-tests.ts create mode 100644 types/gapi.client.cloudkms/index.d.ts create mode 100644 types/gapi.client.cloudkms/readme.md create mode 100644 types/gapi.client.cloudkms/tsconfig.json create mode 100644 types/gapi.client.cloudkms/tslint.json create mode 100644 types/gapi.client.cloudmonitoring/gapi.client.cloudmonitoring-tests.ts create mode 100644 types/gapi.client.cloudmonitoring/index.d.ts create mode 100644 types/gapi.client.cloudmonitoring/readme.md create mode 100644 types/gapi.client.cloudmonitoring/tsconfig.json create mode 100644 types/gapi.client.cloudmonitoring/tslint.json create mode 100644 types/gapi.client.cloudresourcemanager/gapi.client.cloudresourcemanager-tests.ts create mode 100644 types/gapi.client.cloudresourcemanager/index.d.ts create mode 100644 types/gapi.client.cloudresourcemanager/readme.md create mode 100644 types/gapi.client.cloudresourcemanager/tsconfig.json create mode 100644 types/gapi.client.cloudresourcemanager/tslint.json create mode 100644 types/gapi.client.cloudtasks/gapi.client.cloudtasks-tests.ts create mode 100644 types/gapi.client.cloudtasks/index.d.ts create mode 100644 types/gapi.client.cloudtasks/readme.md create mode 100644 types/gapi.client.cloudtasks/tsconfig.json create mode 100644 types/gapi.client.cloudtasks/tslint.json create mode 100644 types/gapi.client.cloudtrace/gapi.client.cloudtrace-tests.ts create mode 100644 types/gapi.client.cloudtrace/index.d.ts create mode 100644 types/gapi.client.cloudtrace/readme.md create mode 100644 types/gapi.client.cloudtrace/tsconfig.json create mode 100644 types/gapi.client.cloudtrace/tslint.json create mode 100644 types/gapi.client.clouduseraccounts/gapi.client.clouduseraccounts-tests.ts create mode 100644 types/gapi.client.clouduseraccounts/index.d.ts create mode 100644 types/gapi.client.clouduseraccounts/readme.md create mode 100644 types/gapi.client.clouduseraccounts/tsconfig.json create mode 100644 types/gapi.client.clouduseraccounts/tslint.json create mode 100644 types/gapi.client.compute/gapi.client.compute-tests.ts create mode 100644 types/gapi.client.compute/index.d.ts create mode 100644 types/gapi.client.compute/readme.md create mode 100644 types/gapi.client.compute/tsconfig.json create mode 100644 types/gapi.client.compute/tslint.json create mode 100644 types/gapi.client.consumersurveys/gapi.client.consumersurveys-tests.ts create mode 100644 types/gapi.client.consumersurveys/index.d.ts create mode 100644 types/gapi.client.consumersurveys/readme.md create mode 100644 types/gapi.client.consumersurveys/tsconfig.json create mode 100644 types/gapi.client.consumersurveys/tslint.json create mode 100644 types/gapi.client.container/gapi.client.container-tests.ts create mode 100644 types/gapi.client.container/index.d.ts create mode 100644 types/gapi.client.container/readme.md create mode 100644 types/gapi.client.container/tsconfig.json create mode 100644 types/gapi.client.container/tslint.json create mode 100644 types/gapi.client.content/gapi.client.content-tests.ts create mode 100644 types/gapi.client.content/index.d.ts create mode 100644 types/gapi.client.content/readme.md create mode 100644 types/gapi.client.content/tsconfig.json create mode 100644 types/gapi.client.content/tslint.json create mode 100644 types/gapi.client.customsearch/gapi.client.customsearch-tests.ts create mode 100644 types/gapi.client.customsearch/index.d.ts create mode 100644 types/gapi.client.customsearch/readme.md create mode 100644 types/gapi.client.customsearch/tsconfig.json create mode 100644 types/gapi.client.customsearch/tslint.json create mode 100644 types/gapi.client.dataflow/gapi.client.dataflow-tests.ts create mode 100644 types/gapi.client.dataflow/index.d.ts create mode 100644 types/gapi.client.dataflow/readme.md create mode 100644 types/gapi.client.dataflow/tsconfig.json create mode 100644 types/gapi.client.dataflow/tslint.json create mode 100644 types/gapi.client.dataproc/gapi.client.dataproc-tests.ts create mode 100644 types/gapi.client.dataproc/index.d.ts create mode 100644 types/gapi.client.dataproc/readme.md create mode 100644 types/gapi.client.dataproc/tsconfig.json create mode 100644 types/gapi.client.dataproc/tslint.json create mode 100644 types/gapi.client.datastore/gapi.client.datastore-tests.ts create mode 100644 types/gapi.client.datastore/index.d.ts create mode 100644 types/gapi.client.datastore/readme.md create mode 100644 types/gapi.client.datastore/tsconfig.json create mode 100644 types/gapi.client.datastore/tslint.json create mode 100644 types/gapi.client.deploymentmanager/gapi.client.deploymentmanager-tests.ts create mode 100644 types/gapi.client.deploymentmanager/index.d.ts create mode 100644 types/gapi.client.deploymentmanager/readme.md create mode 100644 types/gapi.client.deploymentmanager/tsconfig.json create mode 100644 types/gapi.client.deploymentmanager/tslint.json create mode 100644 types/gapi.client.dfareporting/gapi.client.dfareporting-tests.ts create mode 100644 types/gapi.client.dfareporting/index.d.ts create mode 100644 types/gapi.client.dfareporting/readme.md create mode 100644 types/gapi.client.dfareporting/tsconfig.json create mode 100644 types/gapi.client.dfareporting/tslint.json create mode 100644 types/gapi.client.discovery/gapi.client.discovery-tests.ts create mode 100644 types/gapi.client.discovery/index.d.ts create mode 100644 types/gapi.client.discovery/readme.md create mode 100644 types/gapi.client.discovery/tsconfig.json create mode 100644 types/gapi.client.discovery/tslint.json create mode 100644 types/gapi.client.dlp/gapi.client.dlp-tests.ts create mode 100644 types/gapi.client.dlp/index.d.ts create mode 100644 types/gapi.client.dlp/readme.md create mode 100644 types/gapi.client.dlp/tsconfig.json create mode 100644 types/gapi.client.dlp/tslint.json create mode 100644 types/gapi.client.dns/gapi.client.dns-tests.ts create mode 100644 types/gapi.client.dns/index.d.ts create mode 100644 types/gapi.client.dns/readme.md create mode 100644 types/gapi.client.dns/tsconfig.json create mode 100644 types/gapi.client.dns/tslint.json create mode 100644 types/gapi.client.doubleclickbidmanager/gapi.client.doubleclickbidmanager-tests.ts create mode 100644 types/gapi.client.doubleclickbidmanager/index.d.ts create mode 100644 types/gapi.client.doubleclickbidmanager/readme.md create mode 100644 types/gapi.client.doubleclickbidmanager/tsconfig.json create mode 100644 types/gapi.client.doubleclickbidmanager/tslint.json create mode 100644 types/gapi.client.doubleclicksearch/gapi.client.doubleclicksearch-tests.ts create mode 100644 types/gapi.client.doubleclicksearch/index.d.ts create mode 100644 types/gapi.client.doubleclicksearch/readme.md create mode 100644 types/gapi.client.doubleclicksearch/tsconfig.json create mode 100644 types/gapi.client.doubleclicksearch/tslint.json create mode 100644 types/gapi.client.drive/gapi.client.drive-tests.ts create mode 100644 types/gapi.client.drive/index.d.ts create mode 100644 types/gapi.client.drive/readme.md create mode 100644 types/gapi.client.drive/tsconfig.json create mode 100644 types/gapi.client.drive/tslint.json create mode 100644 types/gapi.client.firebasedynamiclinks/gapi.client.firebasedynamiclinks-tests.ts create mode 100644 types/gapi.client.firebasedynamiclinks/index.d.ts create mode 100644 types/gapi.client.firebasedynamiclinks/readme.md create mode 100644 types/gapi.client.firebasedynamiclinks/tsconfig.json create mode 100644 types/gapi.client.firebasedynamiclinks/tslint.json create mode 100644 types/gapi.client.firebaseremoteconfig/gapi.client.firebaseremoteconfig-tests.ts create mode 100644 types/gapi.client.firebaseremoteconfig/index.d.ts create mode 100644 types/gapi.client.firebaseremoteconfig/readme.md create mode 100644 types/gapi.client.firebaseremoteconfig/tsconfig.json create mode 100644 types/gapi.client.firebaseremoteconfig/tslint.json create mode 100644 types/gapi.client.firebaserules/gapi.client.firebaserules-tests.ts create mode 100644 types/gapi.client.firebaserules/index.d.ts create mode 100644 types/gapi.client.firebaserules/readme.md create mode 100644 types/gapi.client.firebaserules/tsconfig.json create mode 100644 types/gapi.client.firebaserules/tslint.json create mode 100644 types/gapi.client.firestore/gapi.client.firestore-tests.ts create mode 100644 types/gapi.client.firestore/index.d.ts create mode 100644 types/gapi.client.firestore/readme.md create mode 100644 types/gapi.client.firestore/tsconfig.json create mode 100644 types/gapi.client.firestore/tslint.json create mode 100644 types/gapi.client.fitness/gapi.client.fitness-tests.ts create mode 100644 types/gapi.client.fitness/index.d.ts create mode 100644 types/gapi.client.fitness/readme.md create mode 100644 types/gapi.client.fitness/tsconfig.json create mode 100644 types/gapi.client.fitness/tslint.json create mode 100644 types/gapi.client.fusiontables/gapi.client.fusiontables-tests.ts create mode 100644 types/gapi.client.fusiontables/index.d.ts create mode 100644 types/gapi.client.fusiontables/readme.md create mode 100644 types/gapi.client.fusiontables/tsconfig.json create mode 100644 types/gapi.client.fusiontables/tslint.json create mode 100644 types/gapi.client.games/gapi.client.games-tests.ts create mode 100644 types/gapi.client.games/index.d.ts create mode 100644 types/gapi.client.games/readme.md create mode 100644 types/gapi.client.games/tsconfig.json create mode 100644 types/gapi.client.games/tslint.json create mode 100644 types/gapi.client.gamesconfiguration/gapi.client.gamesconfiguration-tests.ts create mode 100644 types/gapi.client.gamesconfiguration/index.d.ts create mode 100644 types/gapi.client.gamesconfiguration/readme.md create mode 100644 types/gapi.client.gamesconfiguration/tsconfig.json create mode 100644 types/gapi.client.gamesconfiguration/tslint.json create mode 100644 types/gapi.client.gamesmanagement/gapi.client.gamesmanagement-tests.ts create mode 100644 types/gapi.client.gamesmanagement/index.d.ts create mode 100644 types/gapi.client.gamesmanagement/readme.md create mode 100644 types/gapi.client.gamesmanagement/tsconfig.json create mode 100644 types/gapi.client.gamesmanagement/tslint.json create mode 100644 types/gapi.client.genomics/gapi.client.genomics-tests.ts create mode 100644 types/gapi.client.genomics/index.d.ts create mode 100644 types/gapi.client.genomics/readme.md create mode 100644 types/gapi.client.genomics/tsconfig.json create mode 100644 types/gapi.client.genomics/tslint.json create mode 100644 types/gapi.client.gmail/gapi.client.gmail-tests.ts create mode 100644 types/gapi.client.gmail/index.d.ts create mode 100644 types/gapi.client.gmail/readme.md create mode 100644 types/gapi.client.gmail/tsconfig.json create mode 100644 types/gapi.client.gmail/tslint.json create mode 100644 types/gapi.client.groupsmigration/gapi.client.groupsmigration-tests.ts create mode 100644 types/gapi.client.groupsmigration/index.d.ts create mode 100644 types/gapi.client.groupsmigration/readme.md create mode 100644 types/gapi.client.groupsmigration/tsconfig.json create mode 100644 types/gapi.client.groupsmigration/tslint.json create mode 100644 types/gapi.client.groupssettings/gapi.client.groupssettings-tests.ts create mode 100644 types/gapi.client.groupssettings/index.d.ts create mode 100644 types/gapi.client.groupssettings/readme.md create mode 100644 types/gapi.client.groupssettings/tsconfig.json create mode 100644 types/gapi.client.groupssettings/tslint.json create mode 100644 types/gapi.client.iam/gapi.client.iam-tests.ts create mode 100644 types/gapi.client.iam/index.d.ts create mode 100644 types/gapi.client.iam/readme.md create mode 100644 types/gapi.client.iam/tsconfig.json create mode 100644 types/gapi.client.iam/tslint.json create mode 100644 types/gapi.client.identitytoolkit/gapi.client.identitytoolkit-tests.ts create mode 100644 types/gapi.client.identitytoolkit/index.d.ts create mode 100644 types/gapi.client.identitytoolkit/readme.md create mode 100644 types/gapi.client.identitytoolkit/tsconfig.json create mode 100644 types/gapi.client.identitytoolkit/tslint.json create mode 100644 types/gapi.client.kgsearch/gapi.client.kgsearch-tests.ts create mode 100644 types/gapi.client.kgsearch/index.d.ts create mode 100644 types/gapi.client.kgsearch/readme.md create mode 100644 types/gapi.client.kgsearch/tsconfig.json create mode 100644 types/gapi.client.kgsearch/tslint.json create mode 100644 types/gapi.client.language/gapi.client.language-tests.ts create mode 100644 types/gapi.client.language/index.d.ts create mode 100644 types/gapi.client.language/readme.md create mode 100644 types/gapi.client.language/tsconfig.json create mode 100644 types/gapi.client.language/tslint.json create mode 100644 types/gapi.client.licensing/gapi.client.licensing-tests.ts create mode 100644 types/gapi.client.licensing/index.d.ts create mode 100644 types/gapi.client.licensing/readme.md create mode 100644 types/gapi.client.licensing/tsconfig.json create mode 100644 types/gapi.client.licensing/tslint.json create mode 100644 types/gapi.client.logging/gapi.client.logging-tests.ts create mode 100644 types/gapi.client.logging/index.d.ts create mode 100644 types/gapi.client.logging/readme.md create mode 100644 types/gapi.client.logging/tsconfig.json create mode 100644 types/gapi.client.logging/tslint.json create mode 100644 types/gapi.client.manufacturers/gapi.client.manufacturers-tests.ts create mode 100644 types/gapi.client.manufacturers/index.d.ts create mode 100644 types/gapi.client.manufacturers/readme.md create mode 100644 types/gapi.client.manufacturers/tsconfig.json create mode 100644 types/gapi.client.manufacturers/tslint.json create mode 100644 types/gapi.client.mirror/gapi.client.mirror-tests.ts create mode 100644 types/gapi.client.mirror/index.d.ts create mode 100644 types/gapi.client.mirror/readme.md create mode 100644 types/gapi.client.mirror/tsconfig.json create mode 100644 types/gapi.client.mirror/tslint.json create mode 100644 types/gapi.client.ml/gapi.client.ml-tests.ts create mode 100644 types/gapi.client.ml/index.d.ts create mode 100644 types/gapi.client.ml/readme.md create mode 100644 types/gapi.client.ml/tsconfig.json create mode 100644 types/gapi.client.ml/tslint.json create mode 100644 types/gapi.client.monitoring/gapi.client.monitoring-tests.ts create mode 100644 types/gapi.client.monitoring/index.d.ts create mode 100644 types/gapi.client.monitoring/readme.md create mode 100644 types/gapi.client.monitoring/tsconfig.json create mode 100644 types/gapi.client.monitoring/tslint.json create mode 100644 types/gapi.client.oauth2/gapi.client.oauth2-tests.ts create mode 100644 types/gapi.client.oauth2/index.d.ts create mode 100644 types/gapi.client.oauth2/readme.md create mode 100644 types/gapi.client.oauth2/tsconfig.json create mode 100644 types/gapi.client.oauth2/tslint.json create mode 100644 types/gapi.client.oslogin/gapi.client.oslogin-tests.ts create mode 100644 types/gapi.client.oslogin/index.d.ts create mode 100644 types/gapi.client.oslogin/readme.md create mode 100644 types/gapi.client.oslogin/tsconfig.json create mode 100644 types/gapi.client.oslogin/tslint.json create mode 100644 types/gapi.client.pagespeedonline/gapi.client.pagespeedonline-tests.ts create mode 100644 types/gapi.client.pagespeedonline/index.d.ts create mode 100644 types/gapi.client.pagespeedonline/readme.md create mode 100644 types/gapi.client.pagespeedonline/tsconfig.json create mode 100644 types/gapi.client.pagespeedonline/tslint.json create mode 100644 types/gapi.client.partners/gapi.client.partners-tests.ts create mode 100644 types/gapi.client.partners/index.d.ts create mode 100644 types/gapi.client.partners/readme.md create mode 100644 types/gapi.client.partners/tsconfig.json create mode 100644 types/gapi.client.partners/tslint.json create mode 100644 types/gapi.client.people/gapi.client.people-tests.ts create mode 100644 types/gapi.client.people/index.d.ts create mode 100644 types/gapi.client.people/readme.md create mode 100644 types/gapi.client.people/tsconfig.json create mode 100644 types/gapi.client.people/tslint.json create mode 100644 types/gapi.client.playcustomapp/gapi.client.playcustomapp-tests.ts create mode 100644 types/gapi.client.playcustomapp/index.d.ts create mode 100644 types/gapi.client.playcustomapp/readme.md create mode 100644 types/gapi.client.playcustomapp/tsconfig.json create mode 100644 types/gapi.client.playcustomapp/tslint.json create mode 100644 types/gapi.client.playmoviespartner/gapi.client.playmoviespartner-tests.ts create mode 100644 types/gapi.client.playmoviespartner/index.d.ts create mode 100644 types/gapi.client.playmoviespartner/readme.md create mode 100644 types/gapi.client.playmoviespartner/tsconfig.json create mode 100644 types/gapi.client.playmoviespartner/tslint.json create mode 100644 types/gapi.client.plus/gapi.client.plus-tests.ts create mode 100644 types/gapi.client.plus/index.d.ts create mode 100644 types/gapi.client.plus/readme.md create mode 100644 types/gapi.client.plus/tsconfig.json create mode 100644 types/gapi.client.plus/tslint.json create mode 100644 types/gapi.client.plusdomains/gapi.client.plusdomains-tests.ts create mode 100644 types/gapi.client.plusdomains/index.d.ts create mode 100644 types/gapi.client.plusdomains/readme.md create mode 100644 types/gapi.client.plusdomains/tsconfig.json create mode 100644 types/gapi.client.plusdomains/tslint.json create mode 100644 types/gapi.client.prediction/gapi.client.prediction-tests.ts create mode 100644 types/gapi.client.prediction/index.d.ts create mode 100644 types/gapi.client.prediction/readme.md create mode 100644 types/gapi.client.prediction/tsconfig.json create mode 100644 types/gapi.client.prediction/tslint.json create mode 100644 types/gapi.client.proximitybeacon/gapi.client.proximitybeacon-tests.ts create mode 100644 types/gapi.client.proximitybeacon/index.d.ts create mode 100644 types/gapi.client.proximitybeacon/readme.md create mode 100644 types/gapi.client.proximitybeacon/tsconfig.json create mode 100644 types/gapi.client.proximitybeacon/tslint.json create mode 100644 types/gapi.client.pubsub/gapi.client.pubsub-tests.ts create mode 100644 types/gapi.client.pubsub/index.d.ts create mode 100644 types/gapi.client.pubsub/readme.md create mode 100644 types/gapi.client.pubsub/tsconfig.json create mode 100644 types/gapi.client.pubsub/tslint.json create mode 100644 types/gapi.client.qpxexpress/gapi.client.qpxexpress-tests.ts create mode 100644 types/gapi.client.qpxexpress/index.d.ts create mode 100644 types/gapi.client.qpxexpress/readme.md create mode 100644 types/gapi.client.qpxexpress/tsconfig.json create mode 100644 types/gapi.client.qpxexpress/tslint.json create mode 100644 types/gapi.client.reseller/gapi.client.reseller-tests.ts create mode 100644 types/gapi.client.reseller/index.d.ts create mode 100644 types/gapi.client.reseller/readme.md create mode 100644 types/gapi.client.reseller/tsconfig.json create mode 100644 types/gapi.client.reseller/tslint.json create mode 100644 types/gapi.client.resourceviews/gapi.client.resourceviews-tests.ts create mode 100644 types/gapi.client.resourceviews/index.d.ts create mode 100644 types/gapi.client.resourceviews/readme.md create mode 100644 types/gapi.client.resourceviews/tsconfig.json create mode 100644 types/gapi.client.resourceviews/tslint.json create mode 100644 types/gapi.client.runtimeconfig/gapi.client.runtimeconfig-tests.ts create mode 100644 types/gapi.client.runtimeconfig/index.d.ts create mode 100644 types/gapi.client.runtimeconfig/readme.md create mode 100644 types/gapi.client.runtimeconfig/tsconfig.json create mode 100644 types/gapi.client.runtimeconfig/tslint.json create mode 100644 types/gapi.client.safebrowsing/gapi.client.safebrowsing-tests.ts create mode 100644 types/gapi.client.safebrowsing/index.d.ts create mode 100644 types/gapi.client.safebrowsing/readme.md create mode 100644 types/gapi.client.safebrowsing/tsconfig.json create mode 100644 types/gapi.client.safebrowsing/tslint.json create mode 100644 types/gapi.client.script/gapi.client.script-tests.ts create mode 100644 types/gapi.client.script/index.d.ts create mode 100644 types/gapi.client.script/readme.md create mode 100644 types/gapi.client.script/tsconfig.json create mode 100644 types/gapi.client.script/tslint.json create mode 100644 types/gapi.client.searchconsole/gapi.client.searchconsole-tests.ts create mode 100644 types/gapi.client.searchconsole/index.d.ts create mode 100644 types/gapi.client.searchconsole/readme.md create mode 100644 types/gapi.client.searchconsole/tsconfig.json create mode 100644 types/gapi.client.searchconsole/tslint.json create mode 100644 types/gapi.client.servicecontrol/gapi.client.servicecontrol-tests.ts create mode 100644 types/gapi.client.servicecontrol/index.d.ts create mode 100644 types/gapi.client.servicecontrol/readme.md create mode 100644 types/gapi.client.servicecontrol/tsconfig.json create mode 100644 types/gapi.client.servicecontrol/tslint.json create mode 100644 types/gapi.client.servicemanagement/gapi.client.servicemanagement-tests.ts create mode 100644 types/gapi.client.servicemanagement/index.d.ts create mode 100644 types/gapi.client.servicemanagement/readme.md create mode 100644 types/gapi.client.servicemanagement/tsconfig.json create mode 100644 types/gapi.client.servicemanagement/tslint.json create mode 100644 types/gapi.client.serviceuser/gapi.client.serviceuser-tests.ts create mode 100644 types/gapi.client.serviceuser/index.d.ts create mode 100644 types/gapi.client.serviceuser/readme.md create mode 100644 types/gapi.client.serviceuser/tsconfig.json create mode 100644 types/gapi.client.serviceuser/tslint.json create mode 100644 types/gapi.client.sheets/gapi.client.sheets-tests.ts create mode 100644 types/gapi.client.sheets/index.d.ts create mode 100644 types/gapi.client.sheets/readme.md create mode 100644 types/gapi.client.sheets/tsconfig.json create mode 100644 types/gapi.client.sheets/tslint.json create mode 100644 types/gapi.client.siteverification/gapi.client.siteverification-tests.ts create mode 100644 types/gapi.client.siteverification/index.d.ts create mode 100644 types/gapi.client.siteverification/readme.md create mode 100644 types/gapi.client.siteverification/tsconfig.json create mode 100644 types/gapi.client.siteverification/tslint.json create mode 100644 types/gapi.client.slides/gapi.client.slides-tests.ts create mode 100644 types/gapi.client.slides/index.d.ts create mode 100644 types/gapi.client.slides/readme.md create mode 100644 types/gapi.client.slides/tsconfig.json create mode 100644 types/gapi.client.slides/tslint.json create mode 100644 types/gapi.client.sourcerepo/gapi.client.sourcerepo-tests.ts create mode 100644 types/gapi.client.sourcerepo/index.d.ts create mode 100644 types/gapi.client.sourcerepo/readme.md create mode 100644 types/gapi.client.sourcerepo/tsconfig.json create mode 100644 types/gapi.client.sourcerepo/tslint.json create mode 100644 types/gapi.client.spanner/gapi.client.spanner-tests.ts create mode 100644 types/gapi.client.spanner/index.d.ts create mode 100644 types/gapi.client.spanner/readme.md create mode 100644 types/gapi.client.spanner/tsconfig.json create mode 100644 types/gapi.client.spanner/tslint.json create mode 100644 types/gapi.client.spectrum/gapi.client.spectrum-tests.ts create mode 100644 types/gapi.client.spectrum/index.d.ts create mode 100644 types/gapi.client.spectrum/readme.md create mode 100644 types/gapi.client.spectrum/tsconfig.json create mode 100644 types/gapi.client.spectrum/tslint.json create mode 100644 types/gapi.client.speech/gapi.client.speech-tests.ts create mode 100644 types/gapi.client.speech/index.d.ts create mode 100644 types/gapi.client.speech/readme.md create mode 100644 types/gapi.client.speech/tsconfig.json create mode 100644 types/gapi.client.speech/tslint.json create mode 100644 types/gapi.client.sqladmin/gapi.client.sqladmin-tests.ts create mode 100644 types/gapi.client.sqladmin/index.d.ts create mode 100644 types/gapi.client.sqladmin/readme.md create mode 100644 types/gapi.client.sqladmin/tsconfig.json create mode 100644 types/gapi.client.sqladmin/tslint.json create mode 100644 types/gapi.client.storage/gapi.client.storage-tests.ts create mode 100644 types/gapi.client.storage/index.d.ts create mode 100644 types/gapi.client.storage/readme.md create mode 100644 types/gapi.client.storage/tsconfig.json create mode 100644 types/gapi.client.storage/tslint.json create mode 100644 types/gapi.client.storagetransfer/gapi.client.storagetransfer-tests.ts create mode 100644 types/gapi.client.storagetransfer/index.d.ts create mode 100644 types/gapi.client.storagetransfer/readme.md create mode 100644 types/gapi.client.storagetransfer/tsconfig.json create mode 100644 types/gapi.client.storagetransfer/tslint.json create mode 100644 types/gapi.client.streetviewpublish/gapi.client.streetviewpublish-tests.ts create mode 100644 types/gapi.client.streetviewpublish/index.d.ts create mode 100644 types/gapi.client.streetviewpublish/readme.md create mode 100644 types/gapi.client.streetviewpublish/tsconfig.json create mode 100644 types/gapi.client.streetviewpublish/tslint.json create mode 100644 types/gapi.client.surveys/gapi.client.surveys-tests.ts create mode 100644 types/gapi.client.surveys/index.d.ts create mode 100644 types/gapi.client.surveys/readme.md create mode 100644 types/gapi.client.surveys/tsconfig.json create mode 100644 types/gapi.client.surveys/tslint.json create mode 100644 types/gapi.client.tagmanager/gapi.client.tagmanager-tests.ts create mode 100644 types/gapi.client.tagmanager/index.d.ts create mode 100644 types/gapi.client.tagmanager/readme.md create mode 100644 types/gapi.client.tagmanager/tsconfig.json create mode 100644 types/gapi.client.tagmanager/tslint.json create mode 100644 types/gapi.client.taskqueue/gapi.client.taskqueue-tests.ts create mode 100644 types/gapi.client.taskqueue/index.d.ts create mode 100644 types/gapi.client.taskqueue/readme.md create mode 100644 types/gapi.client.taskqueue/tsconfig.json create mode 100644 types/gapi.client.taskqueue/tslint.json create mode 100644 types/gapi.client.tasks/gapi.client.tasks-tests.ts create mode 100644 types/gapi.client.tasks/index.d.ts create mode 100644 types/gapi.client.tasks/readme.md create mode 100644 types/gapi.client.tasks/tsconfig.json create mode 100644 types/gapi.client.tasks/tslint.json create mode 100644 types/gapi.client.testing/gapi.client.testing-tests.ts create mode 100644 types/gapi.client.testing/index.d.ts create mode 100644 types/gapi.client.testing/readme.md create mode 100644 types/gapi.client.testing/tsconfig.json create mode 100644 types/gapi.client.testing/tslint.json create mode 100644 types/gapi.client.toolresults/gapi.client.toolresults-tests.ts create mode 100644 types/gapi.client.toolresults/index.d.ts create mode 100644 types/gapi.client.toolresults/readme.md create mode 100644 types/gapi.client.toolresults/tsconfig.json create mode 100644 types/gapi.client.toolresults/tslint.json create mode 100644 types/gapi.client.translate/gapi.client.translate-tests.ts create mode 100644 types/gapi.client.translate/index.d.ts create mode 100644 types/gapi.client.translate/readme.md create mode 100644 types/gapi.client.translate/tsconfig.json create mode 100644 types/gapi.client.translate/tslint.json create mode 100644 types/gapi.client.urlshortener/gapi.client.urlshortener-tests.ts create mode 100644 types/gapi.client.urlshortener/index.d.ts create mode 100644 types/gapi.client.urlshortener/readme.md create mode 100644 types/gapi.client.urlshortener/tsconfig.json create mode 100644 types/gapi.client.urlshortener/tslint.json create mode 100644 types/gapi.client.vault/gapi.client.vault-tests.ts create mode 100644 types/gapi.client.vault/index.d.ts create mode 100644 types/gapi.client.vault/readme.md create mode 100644 types/gapi.client.vault/tsconfig.json create mode 100644 types/gapi.client.vault/tslint.json create mode 100644 types/gapi.client.videointelligence/gapi.client.videointelligence-tests.ts create mode 100644 types/gapi.client.videointelligence/index.d.ts create mode 100644 types/gapi.client.videointelligence/readme.md create mode 100644 types/gapi.client.videointelligence/tsconfig.json create mode 100644 types/gapi.client.videointelligence/tslint.json create mode 100644 types/gapi.client.vision/gapi.client.vision-tests.ts create mode 100644 types/gapi.client.vision/index.d.ts create mode 100644 types/gapi.client.vision/readme.md create mode 100644 types/gapi.client.vision/tsconfig.json create mode 100644 types/gapi.client.vision/tslint.json create mode 100644 types/gapi.client.webfonts/gapi.client.webfonts-tests.ts create mode 100644 types/gapi.client.webfonts/index.d.ts create mode 100644 types/gapi.client.webfonts/readme.md create mode 100644 types/gapi.client.webfonts/tsconfig.json create mode 100644 types/gapi.client.webfonts/tslint.json create mode 100644 types/gapi.client.webmasters/gapi.client.webmasters-tests.ts create mode 100644 types/gapi.client.webmasters/index.d.ts create mode 100644 types/gapi.client.webmasters/readme.md create mode 100644 types/gapi.client.webmasters/tsconfig.json create mode 100644 types/gapi.client.webmasters/tslint.json create mode 100644 types/gapi.client.youtube/gapi.client.youtube-tests.ts create mode 100644 types/gapi.client.youtube/index.d.ts create mode 100644 types/gapi.client.youtube/readme.md create mode 100644 types/gapi.client.youtube/tsconfig.json create mode 100644 types/gapi.client.youtube/tslint.json create mode 100644 types/gapi.client.youtubeanalytics/gapi.client.youtubeanalytics-tests.ts create mode 100644 types/gapi.client.youtubeanalytics/index.d.ts create mode 100644 types/gapi.client.youtubeanalytics/readme.md create mode 100644 types/gapi.client.youtubeanalytics/tsconfig.json create mode 100644 types/gapi.client.youtubeanalytics/tslint.json create mode 100644 types/gapi.client.youtubereporting/gapi.client.youtubereporting-tests.ts create mode 100644 types/gapi.client.youtubereporting/index.d.ts create mode 100644 types/gapi.client.youtubereporting/readme.md create mode 100644 types/gapi.client.youtubereporting/tsconfig.json create mode 100644 types/gapi.client.youtubereporting/tslint.json create mode 100644 types/gapi.client/gapi.client-tests.ts create mode 100644 types/gapi.client/index.d.ts create mode 100644 types/gapi.client/readme.md create mode 100644 types/gapi.client/tsconfig.json create mode 100644 types/gapi.client/tslint.json diff --git a/types/gapi.client.acceleratedmobilepageurl/gapi.client.acceleratedmobilepageurl-tests.ts b/types/gapi.client.acceleratedmobilepageurl/gapi.client.acceleratedmobilepageurl-tests.ts new file mode 100644 index 0000000000..f5bce33566 --- /dev/null +++ b/types/gapi.client.acceleratedmobilepageurl/gapi.client.acceleratedmobilepageurl-tests.ts @@ -0,0 +1,22 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('acceleratedmobilepageurl', 'v1', () => { + /** now we can use gapi.client.acceleratedmobilepageurl */ + + run(); + }); + + async function run() { + /** + * Returns AMP URL(s) and equivalent + * [AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format). + */ + await gapi.client.ampUrls.batchGet({ + }); + } +}); diff --git a/types/gapi.client.acceleratedmobilepageurl/index.d.ts b/types/gapi.client.acceleratedmobilepageurl/index.d.ts new file mode 100644 index 0000000000..1c2c968f53 --- /dev/null +++ b/types/gapi.client.acceleratedmobilepageurl/index.d.ts @@ -0,0 +1,97 @@ +// Type definitions for Google Accelerated Mobile Pages (AMP) URL API v1 1.0 +// Project: https://developers.google.com/amp/cache/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://acceleratedmobilepageurl.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Accelerated Mobile Pages (AMP) URL API v1 */ + function load(name: "acceleratedmobilepageurl", version: "v1"): PromiseLike<void>; + function load(name: "acceleratedmobilepageurl", version: "v1", callback: () => any): void; + + const ampUrls: acceleratedmobilepageurl.AmpUrlsResource; + + namespace acceleratedmobilepageurl { + interface AmpUrl { + /** The AMP URL pointing to the publisher's web server. */ + ampUrl?: string; + /** + * The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to + * the cached document in the Google AMP Cache. + */ + cdnAmpUrl?: string; + /** The original non-AMP URL. */ + originalUrl?: string; + } + interface AmpUrlError { + /** The error code of an API call. */ + errorCode?: string; + /** An optional descriptive error message. */ + errorMessage?: string; + /** The original non-AMP URL. */ + originalUrl?: string; + } + interface BatchGetAmpUrlsRequest { + /** The lookup_strategy being requested. */ + lookupStrategy?: string; + /** + * List of URLs to look up for the paired AMP URLs. + * The URLs are case-sensitive. Up to 50 URLs per lookup + * (see [Usage Limits](/amp/cache/reference/limits)). + */ + urls?: string[]; + } + interface BatchGetAmpUrlsResponse { + /** + * For each URL in BatchAmpUrlsRequest, the URL response. The response might + * not be in the same order as URLs in the batch request. + * If BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated + * only once. + */ + ampUrls?: AmpUrl[]; + /** The errors for requested URLs that have no AMP URL. */ + urlErrors?: AmpUrlError[]; + } + interface AmpUrlsResource { + /** + * Returns AMP URL(s) and equivalent + * [AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format). + */ + batchGet(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<BatchGetAmpUrlsResponse>; + } + } +} diff --git a/types/gapi.client.acceleratedmobilepageurl/readme.md b/types/gapi.client.acceleratedmobilepageurl/readme.md new file mode 100644 index 0000000000..788f3882c0 --- /dev/null +++ b/types/gapi.client.acceleratedmobilepageurl/readme.md @@ -0,0 +1,42 @@ +# TypeScript typings for Accelerated Mobile Pages (AMP) URL API v1 +Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s). + +For detailed description please check [documentation](https://developers.google.com/amp/cache/). + +## Installing + +Install typings for Accelerated Mobile Pages (AMP) URL API: +``` +npm install @types/gapi.client.acceleratedmobilepageurl@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('acceleratedmobilepageurl', 'v1', () => { + // now we can use gapi.client.acceleratedmobilepageurl + // ... +}); +``` + + + +After that you can use Accelerated Mobile Pages (AMP) URL API resources: + +```typescript + +/* +Returns AMP URL(s) and equivalent +[AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format). +*/ +await gapi.client.ampUrls.batchGet({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.acceleratedmobilepageurl/tsconfig.json b/types/gapi.client.acceleratedmobilepageurl/tsconfig.json new file mode 100644 index 0000000000..60d81925fe --- /dev/null +++ b/types/gapi.client.acceleratedmobilepageurl/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.acceleratedmobilepageurl-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.acceleratedmobilepageurl/tslint.json b/types/gapi.client.acceleratedmobilepageurl/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.acceleratedmobilepageurl/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.adexchangebuyer/gapi.client.adexchangebuyer-tests.ts b/types/gapi.client.adexchangebuyer/gapi.client.adexchangebuyer-tests.ts new file mode 100644 index 0000000000..b180610519 --- /dev/null +++ b/types/gapi.client.adexchangebuyer/gapi.client.adexchangebuyer-tests.ts @@ -0,0 +1,213 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('adexchangebuyer', 'v1.4', () => { + /** now we can use gapi.client.adexchangebuyer */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage your Ad Exchange buyer account configuration */ + 'https://www.googleapis.com/auth/adexchange.buyer', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Gets one account by ID. */ + await gapi.client.accounts.get({ + id: 1, + }); + /** Retrieves the authenticated user's list of accounts. */ + await gapi.client.accounts.list({ + }); + /** Updates an existing account. This method supports patch semantics. */ + await gapi.client.accounts.patch({ + confirmUnsafeAccountChange: true, + id: 2, + }); + /** Updates an existing account. */ + await gapi.client.accounts.update({ + confirmUnsafeAccountChange: true, + id: 2, + }); + /** Returns the billing information for one account specified by account ID. */ + await gapi.client.billingInfo.get({ + accountId: 1, + }); + /** Retrieves a list of billing information for all accounts of the authenticated user. */ + await gapi.client.billingInfo.list({ + }); + /** Returns the budget information for the adgroup specified by the accountId and billingId. */ + await gapi.client.budget.get({ + accountId: "accountId", + billingId: "billingId", + }); + /** + * Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method + * supports patch semantics. + */ + await gapi.client.budget.patch({ + accountId: "accountId", + billingId: "billingId", + }); + /** Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. */ + await gapi.client.budget.update({ + accountId: "accountId", + billingId: "billingId", + }); + /** Add a deal id association for the creative. */ + await gapi.client.creatives.addDeal({ + accountId: 1, + buyerCreativeId: "buyerCreativeId", + dealId: "dealId", + }); + /** Gets the status for a single creative. A creative will be available 30-40 minutes after submission. */ + await gapi.client.creatives.get({ + accountId: 1, + buyerCreativeId: "buyerCreativeId", + }); + /** Submit a new creative. */ + await gapi.client.creatives.insert({ + }); + /** Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission. */ + await gapi.client.creatives.list({ + accountId: 1, + buyerCreativeId: "buyerCreativeId", + dealsStatusFilter: "dealsStatusFilter", + maxResults: 4, + openAuctionStatusFilter: "openAuctionStatusFilter", + pageToken: "pageToken", + }); + /** Lists the external deal ids associated with the creative. */ + await gapi.client.creatives.listDeals({ + accountId: 1, + buyerCreativeId: "buyerCreativeId", + }); + /** Remove a deal id associated with the creative. */ + await gapi.client.creatives.removeDeal({ + accountId: 1, + buyerCreativeId: "buyerCreativeId", + dealId: "dealId", + }); + /** Delete the specified deals from the proposal */ + await gapi.client.marketplacedeals.delete({ + proposalId: "proposalId", + }); + /** Add new deals for the specified proposal */ + await gapi.client.marketplacedeals.insert({ + proposalId: "proposalId", + }); + /** List all the deals for a given proposal */ + await gapi.client.marketplacedeals.list({ + pqlQuery: "pqlQuery", + proposalId: "proposalId", + }); + /** Replaces all the deals in the proposal with the passed in deals */ + await gapi.client.marketplacedeals.update({ + proposalId: "proposalId", + }); + /** Add notes to the proposal */ + await gapi.client.marketplacenotes.insert({ + proposalId: "proposalId", + }); + /** Get all the notes associated with a proposal */ + await gapi.client.marketplacenotes.list({ + pqlQuery: "pqlQuery", + proposalId: "proposalId", + }); + /** Update a given private auction proposal */ + await gapi.client.marketplaceprivateauction.updateproposal({ + privateAuctionId: "privateAuctionId", + }); + /** Retrieves the authenticated user's list of performance metrics. */ + await gapi.client.performanceReport.list({ + accountId: "accountId", + endDateTime: "endDateTime", + maxResults: 3, + pageToken: "pageToken", + startDateTime: "startDateTime", + }); + /** Deletes an existing pretargeting config. */ + await gapi.client.pretargetingConfig.delete({ + accountId: "accountId", + configId: "configId", + }); + /** Gets a specific pretargeting configuration */ + await gapi.client.pretargetingConfig.get({ + accountId: "accountId", + configId: "configId", + }); + /** Inserts a new pretargeting configuration. */ + await gapi.client.pretargetingConfig.insert({ + accountId: "accountId", + }); + /** Retrieves a list of the authenticated user's pretargeting configurations. */ + await gapi.client.pretargetingConfig.list({ + accountId: "accountId", + }); + /** Updates an existing pretargeting config. This method supports patch semantics. */ + await gapi.client.pretargetingConfig.patch({ + accountId: "accountId", + configId: "configId", + }); + /** Updates an existing pretargeting config. */ + await gapi.client.pretargetingConfig.update({ + accountId: "accountId", + configId: "configId", + }); + /** Gets the requested product by id. */ + await gapi.client.products.get({ + productId: "productId", + }); + /** Gets the requested product. */ + await gapi.client.products.search({ + pqlQuery: "pqlQuery", + }); + /** Get a proposal given its id */ + await gapi.client.proposals.get({ + proposalId: "proposalId", + }); + /** Create the given list of proposals */ + await gapi.client.proposals.insert({ + }); + /** Update the given proposal. This method supports patch semantics. */ + await gapi.client.proposals.patch({ + proposalId: "proposalId", + revisionNumber: "revisionNumber", + updateAction: "updateAction", + }); + /** Search for proposals using pql query */ + await gapi.client.proposals.search({ + pqlQuery: "pqlQuery", + }); + /** Update the given proposal to indicate that setup has been completed. */ + await gapi.client.proposals.setupcomplete({ + proposalId: "proposalId", + }); + /** Update the given proposal */ + await gapi.client.proposals.update({ + proposalId: "proposalId", + revisionNumber: "revisionNumber", + updateAction: "updateAction", + }); + /** Gets the requested publisher profile(s) by publisher accountId. */ + await gapi.client.pubprofiles.list({ + accountId: 1, + }); + } +}); diff --git a/types/gapi.client.adexchangebuyer/index.d.ts b/types/gapi.client.adexchangebuyer/index.d.ts new file mode 100644 index 0000000000..b6ee95d192 --- /dev/null +++ b/types/gapi.client.adexchangebuyer/index.d.ts @@ -0,0 +1,1989 @@ +// Type definitions for Google Ad Exchange Buyer API v1.4 1.4 +// Project: https://developers.google.com/ad-exchange/buyer-rest +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/adexchangebuyer/v1.4/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Ad Exchange Buyer API v1.4 */ + function load(name: "adexchangebuyer", version: "v1.4"): PromiseLike<void>; + function load(name: "adexchangebuyer", version: "v1.4", callback: () => any): void; + + const accounts: adexchangebuyer.AccountsResource; + + const billingInfo: adexchangebuyer.BillingInfoResource; + + const budget: adexchangebuyer.BudgetResource; + + const creatives: adexchangebuyer.CreativesResource; + + const marketplacedeals: adexchangebuyer.MarketplacedealsResource; + + const marketplacenotes: adexchangebuyer.MarketplacenotesResource; + + const marketplaceprivateauction: adexchangebuyer.MarketplaceprivateauctionResource; + + const performanceReport: adexchangebuyer.PerformanceReportResource; + + const pretargetingConfig: adexchangebuyer.PretargetingConfigResource; + + const products: adexchangebuyer.ProductsResource; + + const proposals: adexchangebuyer.ProposalsResource; + + const pubprofiles: adexchangebuyer.PubprofilesResource; + + namespace adexchangebuyer { + interface Account { + /** Your bidder locations that have distinct URLs. */ + bidderLocation?: Array<{ + /** + * The protocol that the bidder endpoint is using. OpenRTB protocols with prefix PROTOCOL_OPENRTB_PROTOBUF use proto buffer, otherwise use JSON. Allowed + * values: + * - PROTOCOL_ADX + * - PROTOCOL_OPENRTB_2_2 + * - PROTOCOL_OPENRTB_2_3 + * - PROTOCOL_OPENRTB_2_4 + * - PROTOCOL_OPENRTB_2_5 + * - PROTOCOL_OPENRTB_PROTOBUF_2_3 + * - PROTOCOL_OPENRTB_PROTOBUF_2_4 + * - PROTOCOL_OPENRTB_PROTOBUF_2_5 + */ + bidProtocol?: string; + /** The maximum queries per second the Ad Exchange will send. */ + maximumQps?: number; + /** + * The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. + * Allowed values: + * - ASIA + * - EUROPE + * - US_EAST + * - US_WEST + */ + region?: string; + /** The URL to which the Ad Exchange will send bid requests. */ + url?: string; + }>; + /** The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this. */ + cookieMatchingNid?: string; + /** The base URL used in cookie match requests. */ + cookieMatchingUrl?: string; + /** Account id. */ + id?: number; + /** Resource type. */ + kind?: string; + /** + * The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please + * contact your technical account manager if you need to change this. + */ + maximumActiveCreatives?: number; + /** The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this. */ + maximumTotalQps?: number; + /** The number of creatives that this account inserted or bid with in the last 30 days. */ + numberActiveCreatives?: number; + } + interface AccountsList { + /** A list of accounts. */ + items?: Account[]; + /** Resource type. */ + kind?: string; + } + interface AddOrderDealsRequest { + /** The list of deals to add */ + deals?: MarketplaceDeal[]; + /** The last known proposal revision number. */ + proposalRevisionNumber?: string; + /** Indicates an optional action to take on the proposal */ + updateAction?: string; + } + interface AddOrderDealsResponse { + /** List of deals added (in the same proposal as passed in the request) */ + deals?: MarketplaceDeal[]; + /** The updated revision number for the proposal. */ + proposalRevisionNumber?: string; + } + interface AddOrderNotesRequest { + /** The list of notes to add. */ + notes?: MarketplaceNote[]; + } + interface AddOrderNotesResponse { + notes?: MarketplaceNote[]; + } + interface BillingInfo { + /** Account id. */ + accountId?: number; + /** Account name. */ + accountName?: string; + /** + * A list of adgroup IDs associated with this particular account. These IDs may show up as part of a realtime bidding BidRequest, which indicates a bid + * request for this account. + */ + billingId?: string[]; + /** Resource type. */ + kind?: string; + } + interface BillingInfoList { + /** A list of billing info relevant for your account. */ + items?: BillingInfo[]; + /** Resource type. */ + kind?: string; + } + interface Budget { + /** The id of the account. This is required for get and update requests. */ + accountId?: string; + /** The billing id to determine which adgroup to provide budget information for. This is required for get and update requests. */ + billingId?: string; + /** The daily budget amount in unit amount of the account currency to apply for the billingId provided. This is required for update requests. */ + budgetAmount?: string; + /** The currency code for the buyer. This cannot be altered here. */ + currencyCode?: string; + /** The unique id that describes this item. */ + id?: string; + /** The kind of the resource, i.e. "adexchangebuyer#budget". */ + kind?: string; + } + interface Buyer { + /** Adx account id of the buyer. */ + accountId?: string; + } + interface ContactInformation { + /** Email address of the contact. */ + email?: string; + /** The name of the contact. */ + name?: string; + } + interface CreateOrdersRequest { + /** The list of proposals to create. */ + proposals?: Proposal[]; + /** Web property id of the seller creating these orders */ + webPropertyCode?: string; + } + interface CreateOrdersResponse { + /** The list of proposals successfully created. */ + proposals?: Proposal[]; + } + interface Creative { + /** The HTML snippet that displays the ad when inserted in the web page. If set, videoURL should not be set. */ + HTMLSnippet?: string; + /** Account id. */ + accountId?: number; + /** The link to the Ad Preferences page. This is only supported for native ads. */ + adChoicesDestinationUrl?: string; + /** Detected advertiser id, if any. Read-only. This field should not be set in requests. */ + advertiserId?: string[]; + /** The name of the company being advertised in the creative. The value provided must exist in the advertisers.txt file. */ + advertiserName?: string; + /** The agency id for this creative. */ + agencyId?: string; + /** + * The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for + * uploads. (formatted RFC 3339 timestamp). + */ + apiUploadTimestamp?: string; + /** + * List of buyer selectable attributes for the ads that may be shown from this snippet. Each attribute is represented by an integer as defined in + * buyer-declarable-creative-attributes.txt. + */ + attribute?: number[]; + /** A buyer-specific id identifying the creative in this ad. */ + buyerCreativeId?: string; + /** The set of destination urls for the snippet. */ + clickThroughUrl?: string[]; + /** Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests. */ + corrections?: Array<{ + /** All known serving contexts containing serving status information. */ + contexts?: Array<{ + /** Only set when contextType=AUCTION_TYPE. Represents the auction types this correction applies to. */ + auctionType?: string[]; + /** The type of context (e.g., location, platform, auction type, SSL-ness). */ + contextType?: string; + /** Only set when contextType=LOCATION. Represents the geo criterias this correction applies to. */ + geoCriteriaId?: number[]; + /** Only set when contextType=PLATFORM. Represents the platforms this correction applies to. */ + platform?: string[]; + }>; + /** Additional details about the correction. */ + details?: string[]; + /** The type of correction that was applied to the creative. */ + reason?: string; + }>; + /** + * Top-level deals status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL) in + * servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from + * servingRestrictions directly. + */ + dealsStatus?: string; + /** Detected domains for this creative. Read-only. This field should not be set in requests. */ + detectedDomains?: string[]; + /** The filtering reasons for the creative. Read-only. This field should not be set in requests. */ + filteringReasons?: { + /** The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST. */ + date?: string; + /** The filtering reasons. */ + reasons?: Array<{ + /** The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange. */ + filteringCount?: string; + /** The filtering status code as defined in creative-status-codes.txt. */ + filteringStatus?: number; + }>; + }; + /** Ad height. */ + height?: number; + /** The set of urls to be called to record an impression. */ + impressionTrackingUrl?: string[]; + /** Resource type. */ + kind?: string; + /** Detected languages for this creative. Read-only. This field should not be set in requests. */ + languages?: string[]; + /** If nativeAd is set, HTMLSnippet and the videoURL outside of nativeAd should not be set. (The videoURL inside nativeAd can be set.) */ + nativeAd?: { + advertiser?: string; + /** The app icon, for app download ads. */ + appIcon?: { + height?: number; + url?: string; + width?: number; + }; + /** A long description of the ad. */ + body?: string; + /** A label for the button that the user is supposed to click. */ + callToAction?: string; + /** The URL that the browser/SDK will load when the user clicks the ad. */ + clickLinkUrl?: string; + /** The URL to use for click tracking. */ + clickTrackingUrl?: string; + /** A short title for the ad. */ + headline?: string; + /** A large image. */ + image?: { + height?: number; + url?: string; + width?: number; + }; + /** The URLs are called when the impression is rendered. */ + impressionTrackingUrl?: string[]; + /** A smaller image, for the advertiser logo. */ + logo?: { + height?: number; + url?: string; + width?: number; + }; + /** The price of the promoted app including the currency info. */ + price?: string; + /** The app rating in the app store. Must be in the range [0-5]. */ + starRating?: number; + /** The URL to the app store to purchase/download the promoted app. */ + store?: string; + /** The URL of the XML VAST for a native ad. Note this is a separate field from resource.video_url. */ + videoURL?: string; + }; + /** + * Top-level open auction status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=OPEN_AUCTION (or ALL) in + * servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from + * ServingRestrictions directly. + */ + openAuctionStatus?: string; + /** + * Detected product categories, if any. Each category is represented by an integer as defined in ad-product-categories.txt. Read-only. This field should + * not be set in requests. + */ + productCategories?: number[]; + /** + * All restricted categories for the ads that may be shown from this snippet. Each category is represented by an integer as defined in the + * ad-restricted-categories.txt. + */ + restrictedCategories?: number[]; + /** + * Detected sensitive categories, if any. Each category is represented by an integer as defined in ad-sensitive-categories.txt. Read-only. This field + * should not be set in requests. + */ + sensitiveCategories?: number[]; + /** + * The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a + * platform, an HTTPS vs HTTP request, or the type of auction). Read-only. This field should not be set in requests. See the examples in the Creatives + * guide for more details. + */ + servingRestrictions?: Array<{ + /** All known contexts/restrictions. */ + contexts?: Array<{ + /** Only set when contextType=AUCTION_TYPE. Represents the auction types this restriction applies to. */ + auctionType?: string[]; + /** The type of context (e.g., location, platform, auction type, SSL-ness). */ + contextType?: string; + /** + * Only set when contextType=LOCATION. Represents the geo criterias this restriction applies to. Impressions are considered to match a context if either + * the user location or publisher location matches a given geoCriteriaId. + */ + geoCriteriaId?: number[]; + /** Only set when contextType=PLATFORM. Represents the platforms this restriction applies to. */ + platform?: string[]; + }>; + /** + * The reasons for disapproval within this restriction, if any. Note that not all disapproval reasons may be categorized, so it is possible for the + * creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED with an empty list for disapproval_reasons. In this case, please reach out to your + * TAM to help debug the issue. + */ + disapprovalReasons?: Array<{ + /** Additional details about the reason for disapproval. */ + details?: string[]; + /** The categorized reason for disapproval. */ + reason?: string; + }>; + /** Why the creative is ineligible to serve in this context (e.g., it has been explicitly disapproved or is pending review). */ + reason?: string; + }>; + /** List of vendor types for the ads that may be shown from this snippet. Each vendor type is represented by an integer as defined in vendors.txt. */ + vendorType?: number[]; + /** The version for this creative. Read-only. This field should not be set in requests. */ + version?: number; + /** The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set. Note, this is different from resource.native_ad.video_url above. */ + videoURL?: string; + /** Ad width. */ + width?: number; + } + interface CreativeDealIds { + /** A list of external deal ids and ARC approval status. */ + dealStatuses?: Array<{ + /** ARC approval status. */ + arcStatus?: string; + /** External deal ID. */ + dealId?: string; + /** Publisher ID. */ + webPropertyId?: number; + }>; + /** Resource type. */ + kind?: string; + } + interface CreativesList { + /** A list of creatives. */ + items?: Creative[]; + /** Resource type. */ + kind?: string; + /** Continuation token used to page through creatives. To retrieve the next page of results, set the next request's "pageToken" value to this. */ + nextPageToken?: string; + } + interface DealServingMetadata { + /** + * True if alcohol ads are allowed for this deal (read-only). This field is only populated when querying for finalized orders using the method + * GetFinalizedOrderDeals + */ + alcoholAdsAllowed?: boolean; + /** Tracks which parties (if any) have paused a deal. (readonly, except via PauseResumeOrderDeals action) */ + dealPauseStatus?: DealServingMetadataDealPauseStatus; + } + interface DealServingMetadataDealPauseStatus { + buyerPauseReason?: string; + /** If the deal is paused, records which party paused the deal first. */ + firstPausedBy?: string; + hasBuyerPaused?: boolean; + hasSellerPaused?: boolean; + sellerPauseReason?: string; + } + interface DealTerms { + /** Visibilty of the URL in bid requests. */ + brandingType?: string; + /** + * Indicates that this ExternalDealId exists under at least two different AdxInventoryDeals. Currently, the only case that the same ExternalDealId will + * exist is programmatic cross sell case. + */ + crossListedExternalDealIdType?: string; + /** Description for the proposed terms of the deal. */ + description?: string; + /** Non-binding estimate of the estimated gross spend for this deal Can be set by buyer or seller. */ + estimatedGrossSpend?: Price; + /** Non-binding estimate of the impressions served per day Can be set by buyer or seller. */ + estimatedImpressionsPerDay?: string; + /** The terms for guaranteed fixed price deals. */ + guaranteedFixedPriceTerms?: DealTermsGuaranteedFixedPriceTerms; + /** The terms for non-guaranteed auction deals. */ + nonGuaranteedAuctionTerms?: DealTermsNonGuaranteedAuctionTerms; + /** The terms for non-guaranteed fixed price deals. */ + nonGuaranteedFixedPriceTerms?: DealTermsNonGuaranteedFixedPriceTerms; + /** The terms for rubicon non-guaranteed deals. */ + rubiconNonGuaranteedTerms?: DealTermsRubiconNonGuaranteedTerms; + /** For deals with Cost Per Day billing, defines the timezone used to mark the boundaries of a day (buyer-readonly) */ + sellerTimeZone?: string; + } + interface DealTermsGuaranteedFixedPriceTerms { + /** External billing info for this Deal. This field is relevant when external billing info such as price has a different currency code than DFP/AdX. */ + billingInfo?: DealTermsGuaranteedFixedPriceTermsBillingInfo; + /** Fixed price for the specified buyer. */ + fixedPrices?: PricePerBuyer[]; + /** Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy. */ + guaranteedImpressions?: string; + /** Count of guaranteed looks. Required for deal, optional for product. For CPD deals, buyer changes to guaranteed_looks will be ignored. */ + guaranteedLooks?: string; + /** Count of minimum daily looks for a CPD deal. For CPD deals, buyer should negotiate on this field instead of guaranteed_looks. */ + minimumDailyLooks?: string; + } + interface DealTermsGuaranteedFixedPriceTermsBillingInfo { + /** + * The timestamp (in ms since epoch) when the original reservation price for the deal was first converted to DFP currency. This is used to convert the + * contracted price into buyer's currency without discrepancy. + */ + currencyConversionTimeMs?: string; + /** The DFP line item id associated with this deal. For features like CPD, buyers can retrieve the DFP line item for billing reconciliation. */ + dfpLineItemId?: string; + /** + * The original contracted quantity (# impressions) for this deal. To ensure delivery, sometimes the publisher will book the deal with a impression + * buffer, such that guaranteed_looks is greater than the contracted quantity. However clients are billed using the original contracted quantity. + */ + originalContractedQuantity?: string; + /** The original reservation price for the deal, if the currency code is different from the one used in negotiation. */ + price?: Price; + } + interface DealTermsNonGuaranteedAuctionTerms { + /** True if open auction buyers are allowed to compete with invited buyers in this private auction (buyer-readonly). */ + autoOptimizePrivateAuction?: boolean; + /** Reserve price for the specified buyer. */ + reservePricePerBuyers?: PricePerBuyer[]; + } + interface DealTermsNonGuaranteedFixedPriceTerms { + /** Fixed price for the specified buyer. */ + fixedPrices?: PricePerBuyer[]; + } + interface DealTermsRubiconNonGuaranteedTerms { + /** Optional price for Rubicon priority access in the auction. */ + priorityPrice?: Price; + /** Optional price for Rubicon standard access in the auction. */ + standardPrice?: Price; + } + interface DeleteOrderDealsRequest { + /** List of deals to delete for a given proposal */ + dealIds?: string[]; + /** The last known proposal revision number. */ + proposalRevisionNumber?: string; + /** Indicates an optional action to take on the proposal */ + updateAction?: string; + } + interface DeleteOrderDealsResponse { + /** List of deals deleted (in the same proposal as passed in the request) */ + deals?: MarketplaceDeal[]; + /** The updated revision number for the proposal. */ + proposalRevisionNumber?: string; + } + interface DeliveryControl { + creativeBlockingLevel?: string; + deliveryRateType?: string; + frequencyCaps?: DeliveryControlFrequencyCap[]; + } + interface DeliveryControlFrequencyCap { + maxImpressions?: number; + numTimeUnits?: number; + timeUnitType?: string; + } + interface Dimension { + dimensionType?: string; + dimensionValues?: DimensionDimensionValue[]; + } + interface DimensionDimensionValue { + /** Id of the dimension. */ + id?: number; + /** Name of the dimension mainly for debugging purposes, except for the case of CREATIVE_SIZE. For CREATIVE_SIZE, strings are used instead of ids. */ + name?: string; + /** + * Percent of total impressions for a dimension type. e.g. {dimension_type: 'GENDER', [{dimension_value: {id: 1, name: 'MALE', percentage: 60}}]} Gender + * MALE is 60% of all impressions which have gender. + */ + percentage?: number; + } + interface EditAllOrderDealsRequest { + /** + * List of deals to edit. Service may perform 3 different operations based on comparison of deals in this list vs deals already persisted in database: 1. + * Add new deal to proposal If a deal in this list does not exist in the proposal, the service will create a new deal and add it to the proposal. + * Validation will follow AddOrderDealsRequest. 2. Update existing deal in the proposal If a deal in this list already exist in the proposal, the service + * will update that existing deal to this new deal in the request. Validation will follow UpdateOrderDealsRequest. 3. Delete deals from the proposal (just + * need the id) If a existing deal in the proposal is not present in this list, the service will delete that deal from the proposal. Validation will + * follow DeleteOrderDealsRequest. + */ + deals?: MarketplaceDeal[]; + /** If specified, also updates the proposal in the batch transaction. This is useful when the proposal and the deals need to be updated in one transaction. */ + proposal?: Proposal; + /** The last known revision number for the proposal. */ + proposalRevisionNumber?: string; + /** Indicates an optional action to take on the proposal */ + updateAction?: string; + } + interface EditAllOrderDealsResponse { + /** List of all deals in the proposal after edit. */ + deals?: MarketplaceDeal[]; + /** The latest revision number after the update has been applied. */ + orderRevisionNumber?: string; + } + interface GetOffersResponse { + /** The returned list of products. */ + products?: Product[]; + } + interface GetOrderDealsResponse { + /** List of deals for the proposal */ + deals?: MarketplaceDeal[]; + } + interface GetOrderNotesResponse { + /** + * The list of matching notes. The notes for a proposal are ordered from oldest to newest. If the notes span multiple proposals, they will be grouped by + * proposal, with the notes for the most recently modified proposal appearing first. + */ + notes?: MarketplaceNote[]; + } + interface GetOrdersResponse { + /** The list of matching proposals. */ + proposals?: Proposal[]; + } + interface GetPublisherProfilesByAccountIdResponse { + /** Profiles for the requested publisher */ + profiles?: PublisherProfileApiProto[]; + } + interface MarketplaceDeal { + /** Buyer private data (hidden from seller). */ + buyerPrivateData?: PrivateData; + /** The time (ms since epoch) of the deal creation. (readonly) */ + creationTimeMs?: string; + /** Specifies the creative pre-approval policy (buyer-readonly) */ + creativePreApprovalPolicy?: string; + /** Specifies whether the creative is safeFrame compatible (buyer-readonly) */ + creativeSafeFrameCompatibility?: string; + /** A unique deal-id for the deal (readonly). */ + dealId?: string; + /** Metadata about the serving status of this deal (readonly, writes via custom actions) */ + dealServingMetadata?: DealServingMetadata; + /** + * The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher. This message + * is assigned an id of 100 since some day we would want to model this as a protobuf extension. + */ + deliveryControl?: DeliveryControl; + /** The external deal id assigned to this deal once the deal is finalized. This is the deal-id that shows up in serving/reporting etc. (readonly) */ + externalDealId?: string; + /** Proposed flight end time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable) */ + flightEndTimeMs?: string; + /** Proposed flight start time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable) */ + flightStartTimeMs?: string; + /** Description for the deal terms. (buyer-readonly) */ + inventoryDescription?: string; + /** Indicates whether the current deal is a RFP template. RFP template is created by buyer and not based on seller created products. */ + isRfpTemplate?: boolean; + /** True, if the buyside inventory setup is complete for this deal. (readonly, except via OrderSetupCompleted action) */ + isSetupComplete?: boolean; + /** Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceDeal". */ + kind?: string; + /** The time (ms since epoch) when the deal was last updated. (readonly) */ + lastUpdateTimeMs?: string; + /** The name of the deal. (updatable) */ + name?: string; + /** The product-id from which this deal was created. (readonly, except on create) */ + productId?: string; + /** The revision number of the product that the deal was created from (readonly, except on create) */ + productRevisionNumber?: string; + /** + * Specifies the creative source for programmatic deals, PUBLISHER means creative is provided by seller and ADVERTISR means creative is provided by buyer. + * (buyer-readonly) + */ + programmaticCreativeSource?: string; + proposalId?: string; + /** Optional Seller contact information for the deal (buyer-readonly) */ + sellerContacts?: ContactInformation[]; + /** The shared targeting visible to buyers and sellers. Each shared targeting entity is AND'd together. (updatable) */ + sharedTargetings?: SharedTargeting[]; + /** The syndication product associated with the deal. (readonly, except on create) */ + syndicationProduct?: string; + /** The negotiable terms of the deal. (updatable) */ + terms?: DealTerms; + webPropertyCode?: string; + } + interface MarketplaceDealParty { + /** The buyer/seller associated with the deal. One of buyer/seller is specified for a deal-party. */ + buyer?: Buyer; + /** The buyer/seller associated with the deal. One of buyer/seller is specified for a deal party. */ + seller?: Seller; + } + interface MarketplaceLabel { + /** The accountId of the party that created the label. */ + accountId?: string; + /** The creation time (in ms since epoch) for the label. */ + createTimeMs?: string; + /** Information about the party that created the label. */ + deprecatedMarketplaceDealParty?: MarketplaceDealParty; + /** The label to use. */ + label?: string; + } + interface MarketplaceNote { + /** The role of the person (buyer/seller) creating the note. (readonly) */ + creatorRole?: string; + /** Notes can optionally be associated with a deal. (readonly, except on create) */ + dealId?: string; + /** Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceNote". */ + kind?: string; + /** The actual note to attach. (readonly, except on create) */ + note?: string; + /** The unique id for the note. (readonly) */ + noteId?: string; + /** The proposalId that a note is attached to. (readonly) */ + proposalId?: string; + /** If the note is associated with a proposal revision number, then store that here. (readonly, except on create) */ + proposalRevisionNumber?: string; + /** The timestamp (ms since epoch) that this note was created. (readonly) */ + timestampMs?: string; + } + interface PerformanceReport { + /** The number of bid responses with an ad. */ + bidRate?: number; + /** The number of bid requests sent to your bidder. */ + bidRequestRate?: number; + /** Rate of various prefiltering statuses per match. Please refer to the callout-status-codes.txt file for different statuses. */ + calloutStatusRate?: any[]; + /** Average QPS for cookie matcher operations. */ + cookieMatcherStatusRate?: any[]; + /** Rate of ads with a given status. Please refer to the creative-status-codes.txt file for different statuses. */ + creativeStatusRate?: any[]; + /** The number of bid responses that were filtered due to a policy violation or other errors. */ + filteredBidRate?: number; + /** Average QPS for hosted match operations. */ + hostedMatchStatusRate?: any[]; + /** The number of potential queries based on your pretargeting settings. */ + inventoryMatchRate?: number; + /** Resource type. */ + kind?: string; + /** The 50th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report. */ + latency50thPercentile?: number; + /** The 85th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report. */ + latency85thPercentile?: number; + /** The 95th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report. */ + latency95thPercentile?: number; + /** Rate of various quota account statuses per quota check. */ + noQuotaInRegion?: number; + /** Rate of various quota account statuses per quota check. */ + outOfQuota?: number; + /** Average QPS for pixel match requests from clients. */ + pixelMatchRequests?: number; + /** Average QPS for pixel match responses from clients. */ + pixelMatchResponses?: number; + /** The configured quota limits for this account. */ + quotaConfiguredLimit?: number; + /** The throttled quota limits for this account. */ + quotaThrottledLimit?: number; + /** The trading location of this data. */ + region?: string; + /** The number of properly formed bid responses received by our servers within the deadline. */ + successfulRequestRate?: number; + /** The unix timestamp of the starting time of this performance data. */ + timestamp?: string; + /** The number of bid responses that were unsuccessful due to timeouts, incorrect formatting, etc. */ + unsuccessfulRequestRate?: number; + } + interface PerformanceReportList { + /** Resource type. */ + kind?: string; + /** A list of performance reports relevant for the account. */ + performanceReport?: PerformanceReport[]; + } + interface PretargetingConfig { + /** The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically. */ + billingId?: string; + /** The config id; generated automatically. Leave this field blank for insert requests. */ + configId?: string; + /** The name of the config. Must be unique. Required for all requests. */ + configName?: string; + /** List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO. */ + creativeType?: string[]; + /** Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions. */ + dimensions?: Array<{ + /** Height in pixels. */ + height?: string; + /** Width in pixels. */ + width?: string; + }>; + /** Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section. */ + excludedContentLabels?: string[]; + /** Requests containing any of these geo criteria ids will not match. */ + excludedGeoCriteriaIds?: string[]; + /** Requests containing any of these placements will not match. */ + excludedPlacements?: Array<{ + /** + * The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id + * for a mobile app placement. + */ + token?: string; + /** The type of the placement. */ + type?: string; + }>; + /** Requests containing any of these users list ids will not match. */ + excludedUserLists?: string[]; + /** Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section. */ + excludedVerticals?: string[]; + /** Requests containing any of these geo criteria ids will match. */ + geoCriteriaIds?: string[]; + /** Whether this config is active. Required for all requests. */ + isActive?: boolean; + /** The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig". */ + kind?: string; + /** Request containing any of these language codes will match. */ + languages?: string[]; + /** + * Requests where the predicted viewability is below the specified decile will not match. E.g. if the buyer sets this value to 5, requests from slots + * where the predicted viewability is below 50% will not match. If the predicted viewability is unknown this field will be ignored. + */ + minimumViewabilityDecile?: number; + /** Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section. */ + mobileCarriers?: string[]; + /** Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section. */ + mobileDevices?: string[]; + /** Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section. */ + mobileOperatingSystemVersions?: string[]; + /** Requests containing any of these placements will match. */ + placements?: Array<{ + /** + * The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id + * for a mobile app placement. + */ + token?: string; + /** The type of the placement. */ + type?: string; + }>; + /** + * Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and + * PRETARGETING_PLATFORM_TABLET. + */ + platforms?: string[]; + /** + * Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are + * from pretargetable-creative-attributes.txt in the downloadable files section. + */ + supportedCreativeAttributes?: string[]; + /** + * Requests containing the specified type of user data will match. Possible values are HOSTED_MATCH_DATA, which means the request is cookie-targetable and + * has a match in the buyer's hosted match table, and COOKIE_OR_IDFA, which means the request has either a targetable cookie or an iOS IDFA. + */ + userIdentifierDataRequired?: string[]; + /** Requests containing any of these user list ids will match. */ + userLists?: string[]; + /** Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section. */ + vendorTypes?: string[]; + /** Requests containing any of these vertical ids will match. */ + verticals?: string[]; + /** Video requests satisfying any of these player size constraints will match. */ + videoPlayerSizes?: Array<{ + /** The type of aspect ratio. Leave this field blank to match all aspect ratios. */ + aspectRatio?: string; + /** The minimum player height in pixels. Leave this field blank to match any player height. */ + minHeight?: string; + /** The minimum player width in pixels. Leave this field blank to match any player width. */ + minWidth?: string; + }>; + } + interface PretargetingConfigList { + /** A list of pretargeting configs */ + items?: PretargetingConfig[]; + /** Resource type. */ + kind?: string; + } + interface Price { + /** The price value in micros. */ + amountMicros?: number; + /** The currency code for the price. */ + currencyCode?: string; + /** In case of CPD deals, the expected CPM in micros. */ + expectedCpmMicros?: number; + /** The pricing type for the deal/product. */ + pricingType?: string; + } + interface PricePerBuyer { + /** Optional access type for this buyer. */ + auctionTier?: string; + /** Reference to the buyer that will get billed. */ + billedBuyer?: Buyer; + /** + * The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the + * buyer). + */ + buyer?: Buyer; + /** The specified price */ + price?: Price; + } + interface PrivateData { + referenceId?: string; + referencePayload?: string; + } + interface Product { + /** The billed buyer corresponding to the buyer that created the offer. (readonly, except on create) */ + billedBuyer?: Buyer; + /** The buyer that created the offer if this is a buyer initiated offer (readonly, except on create) */ + buyer?: Buyer; + /** Creation time in ms. since epoch (readonly) */ + creationTimeMs?: string; + /** Optional contact information for the creator of this product. (buyer-readonly) */ + creatorContacts?: ContactInformation[]; + /** The role that created the offer. Set to BUYER for buyer initiated offers. */ + creatorRole?: string; + /** + * The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher. This message + * is assigned an id of 100 since some day we would want to model this as a protobuf extension. + */ + deliveryControl?: DeliveryControl; + /** The proposed end time for the deal (ms since epoch) (buyer-readonly) */ + flightEndTimeMs?: string; + /** Inventory availability dates. (times are in ms since epoch) The granularity is generally in the order of seconds. (buyer-readonly) */ + flightStartTimeMs?: string; + /** + * If the creator has already signed off on the product, then the buyer can finalize the deal by accepting the product as is. When copying to a proposal, + * if any of the terms are changed, then auto_finalize is automatically set to false. + */ + hasCreatorSignedOff?: boolean; + /** What exchange will provide this inventory (readonly, except on create). */ + inventorySource?: string; + /** Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#product". */ + kind?: string; + /** Optional List of labels for the product (optional, buyer-readonly). */ + labels?: MarketplaceLabel[]; + /** Time of last update in ms. since epoch (readonly) */ + lastUpdateTimeMs?: string; + /** Optional legacy offer id if this offer is a preferred deal offer. */ + legacyOfferId?: string; + /** + * Marketplace publisher profile Id. This Id differs from the regular publisher_profile_id in that 1. This is a new id, the old Id will be deprecated in + * 2017. 2. This id uniquely identifies a publisher profile by itself. + */ + marketplacePublisherProfileId?: string; + /** The name for this product as set by the seller. (buyer-readonly) */ + name?: string; + /** Optional private auction id if this offer is a private auction offer. */ + privateAuctionId?: string; + /** The unique id for the product (readonly) */ + productId?: string; + /** + * Id of the publisher profile for a given seller. A (seller.account_id, publisher_profile_id) pair uniquely identifies a publisher profile. Buyers can + * call the PublisherProfiles::List endpoint to get a list of publisher profiles for a given seller. + */ + publisherProfileId?: string; + /** Publisher self-provided forecast information. */ + publisherProvidedForecast?: PublisherProvidedForecast; + /** The revision number of the product. (readonly) */ + revisionNumber?: string; + /** Information about the seller that created this product (readonly, except on create) */ + seller?: Seller; + /** + * Targeting that is shared between the buyer and the seller. Each targeting criteria has a specified key and for each key there is a list of inclusion + * value or exclusion values. (buyer-readonly) + */ + sharedTargetings?: SharedTargeting[]; + /** The state of the product. (buyer-readonly) */ + state?: string; + /** The syndication product associated with the deal. (readonly, except on create) */ + syndicationProduct?: string; + /** The negotiable terms of the deal (buyer-readonly) */ + terms?: DealTerms; + /** The web property code for the seller. This field is meant to be copied over as is when creating deals. */ + webPropertyCode?: string; + } + interface Proposal { + /** Reference to the buyer that will get billed for this proposal. (readonly) */ + billedBuyer?: Buyer; + /** Reference to the buyer on the proposal. (readonly, except on create) */ + buyer?: Buyer; + /** Optional contact information of the buyer. (seller-readonly) */ + buyerContacts?: ContactInformation[]; + /** Private data for buyer. (hidden from seller). */ + buyerPrivateData?: PrivateData; + /** IDs of DBM advertisers permission to this proposal. */ + dbmAdvertiserIds?: string[]; + /** + * When an proposal is in an accepted state, indicates whether the buyer has signed off. Once both sides have signed off on a deal, the proposal can be + * finalized by the seller. (seller-readonly) + */ + hasBuyerSignedOff?: boolean; + /** + * When an proposal is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the proposal can be + * finalized by the seller. (buyer-readonly) + */ + hasSellerSignedOff?: boolean; + /** What exchange will provide this inventory (readonly, except on create). */ + inventorySource?: string; + /** True if the proposal is being renegotiated (readonly). */ + isRenegotiating?: boolean; + /** + * True, if the buyside inventory setup is complete for this proposal. (readonly, except via OrderSetupCompleted action) Deprecated in favor of deal level + * setup complete flag. + */ + isSetupComplete?: boolean; + /** Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#proposal". */ + kind?: string; + /** List of labels associated with the proposal. (readonly) */ + labels?: MarketplaceLabel[]; + /** The role of the last user that either updated the proposal or left a comment. (readonly) */ + lastUpdaterOrCommentorRole?: string; + /** The name for the proposal (updatable) */ + name?: string; + /** Optional negotiation id if this proposal is a preferred deal proposal. */ + negotiationId?: string; + /** Indicates whether the buyer/seller created the proposal.(readonly) */ + originatorRole?: string; + /** Optional private auction id if this proposal is a private auction proposal. */ + privateAuctionId?: string; + /** The unique id of the proposal. (readonly). */ + proposalId?: string; + /** The current state of the proposal. (readonly) */ + proposalState?: string; + /** The revision number for the proposal (readonly). */ + revisionNumber?: string; + /** The time (ms since epoch) when the proposal was last revised (readonly). */ + revisionTimeMs?: string; + /** Reference to the seller on the proposal. (readonly, except on create) */ + seller?: Seller; + /** Optional contact information of the seller (buyer-readonly). */ + sellerContacts?: ContactInformation[]; + } + interface PublisherProfileApiProto { + /** Deprecated: use the seller.account_id. The account id of the seller. */ + accountId?: string; + /** Publisher provided info on its audience. */ + audience?: string; + /** A pitch statement for the buyer */ + buyerPitchStatement?: string; + /** Direct contact for the publisher profile. */ + directContact?: string; + /** Exchange where this publisher profile is from. E.g. AdX, Rubicon etc... */ + exchange?: string; + /** Link to publisher's Google+ page. */ + googlePlusLink?: string; + /** True, if this is the parent profile, which represents all domains owned by the publisher. */ + isParent?: boolean; + /** True, if this profile is published. Deprecated for state. */ + isPublished?: boolean; + /** Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#publisherProfileApiProto". */ + kind?: string; + /** The url to the logo for the publisher. */ + logoUrl?: string; + /** The url for additional marketing and sales materials. */ + mediaKitLink?: string; + name?: string; + /** Publisher provided overview. */ + overview?: string; + /** The pair of (seller.account_id, profile_id) uniquely identifies a publisher profile for a given publisher. */ + profileId?: number; + /** Programmatic contact for the publisher profile. */ + programmaticContact?: string; + /** The list of domains represented in this publisher profile. Empty if this is a parent profile. */ + publisherDomains?: string[]; + /** Unique Id for publisher profile. */ + publisherProfileId?: string; + /** Publisher provided forecasting information. */ + publisherProvidedForecast?: PublisherProvidedForecast; + /** Link to publisher rate card */ + rateCardInfoLink?: string; + /** Link for a sample content page. */ + samplePageLink?: string; + /** Seller of the publisher profile. */ + seller?: Seller; + /** State of the publisher profile. */ + state?: string; + /** Publisher provided key metrics and rankings. */ + topHeadlines?: string[]; + } + interface PublisherProvidedForecast { + /** Publisher provided dimensions. E.g. geo, sizes etc... */ + dimensions?: Dimension[]; + /** Publisher provided weekly impressions. */ + weeklyImpressions?: string; + /** Publisher provided weekly uniques. */ + weeklyUniques?: string; + } + interface Seller { + /** The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the product. */ + accountId?: string; + /** Optional sub-account id for the seller. */ + subAccountId?: string; + } + interface SharedTargeting { + /** The list of values to exclude from targeting. Each value is AND'd together. */ + exclusions?: TargetingValue[]; + /** The list of value to include as part of the targeting. Each value is OR'd together. */ + inclusions?: TargetingValue[]; + /** The key representing the shared targeting criterion. */ + key?: string; + } + interface TargetingValue { + /** The creative size value to exclude/include. */ + creativeSizeValue?: TargetingValueCreativeSize; + /** The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING. */ + dayPartTargetingValue?: TargetingValueDayPartTargeting; + /** The long value to exclude/include. */ + longValue?: string; + /** The string value to exclude/include. */ + stringValue?: string; + } + interface TargetingValueCreativeSize { + /** For video size type, the list of companion sizes. */ + companionSizes?: TargetingValueSize[]; + /** The Creative size type. */ + creativeSizeType?: string; + /** The native template for native ad. */ + nativeTemplate?: string; + /** For regular or video creative size type, specifies the size of the creative. */ + size?: TargetingValueSize; + /** The skippable ad type for video size. */ + skippableAdType?: string; + } + interface TargetingValueDayPartTargeting { + dayParts?: TargetingValueDayPartTargetingDayPart[]; + timeZoneType?: string; + } + interface TargetingValueDayPartTargetingDayPart { + dayOfWeek?: string; + endHour?: number; + endMinute?: number; + startHour?: number; + startMinute?: number; + } + interface TargetingValueSize { + /** The height of the creative. */ + height?: number; + /** The width of the creative. */ + width?: number; + } + interface UpdatePrivateAuctionProposalRequest { + /** The externalDealId of the deal to be updated. */ + externalDealId?: string; + /** Optional note to be added. */ + note?: MarketplaceNote; + /** The current revision number of the proposal to be updated. */ + proposalRevisionNumber?: string; + /** The proposed action on the private auction proposal. */ + updateAction?: string; + } + interface AccountsResource { + /** Gets one account by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The account id */ + id: number; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Account>; + /** Retrieves the authenticated user's list of accounts. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountsList>; + /** Updates an existing account. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Confirmation for erasing bidder and cookie matching urls. */ + confirmUnsafeAccountChange?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The account id */ + id: number; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Account>; + /** Updates an existing account. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Confirmation for erasing bidder and cookie matching urls. */ + confirmUnsafeAccountChange?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The account id */ + id: number; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Account>; + } + interface BillingInfoResource { + /** Returns the billing information for one account specified by account ID. */ + get(request: { + /** The account id. */ + accountId: number; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<BillingInfo>; + /** Retrieves a list of billing information for all accounts of the authenticated user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<BillingInfoList>; + } + interface BudgetResource { + /** Returns the budget information for the adgroup specified by the accountId and billingId. */ + get(request: { + /** The account id to get the budget information for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** The billing id to get the budget information for. */ + billingId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Budget>; + /** + * Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method + * supports patch semantics. + */ + patch(request: { + /** The account id associated with the budget being updated. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** The billing id associated with the budget being updated. */ + billingId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Budget>; + /** Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. */ + update(request: { + /** The account id associated with the budget being updated. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** The billing id associated with the budget being updated. */ + billingId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Budget>; + } + interface CreativesResource { + /** Add a deal id association for the creative. */ + addDeal(request: { + /** The id for the account that will serve this creative. */ + accountId: number; + /** Data format for the response. */ + alt?: string; + /** The buyer-specific id for this creative. */ + buyerCreativeId: string; + /** The id of the deal id to associate with this creative. */ + dealId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets the status for a single creative. A creative will be available 30-40 minutes after submission. */ + get(request: { + /** The id for the account that will serve this creative. */ + accountId: number; + /** Data format for the response. */ + alt?: string; + /** The buyer-specific id for this creative. */ + buyerCreativeId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Creative>; + /** Submit a new creative. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Creative>; + /** Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission. */ + list(request: { + /** When specified, only creatives for the given account ids are returned. */ + accountId?: number; + /** Data format for the response. */ + alt?: string; + /** When specified, only creatives for the given buyer creative ids are returned. */ + buyerCreativeId?: string; + /** When specified, only creatives having the given deals status are returned. */ + dealsStatusFilter?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of entries returned on one result page. If not set, the default is 100. Optional. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** When specified, only creatives having the given open auction status are returned. */ + openAuctionStatusFilter?: string; + /** + * A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous + * response. Optional. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreativesList>; + /** Lists the external deal ids associated with the creative. */ + listDeals(request: { + /** The id for the account that will serve this creative. */ + accountId: number; + /** Data format for the response. */ + alt?: string; + /** The buyer-specific id for this creative. */ + buyerCreativeId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreativeDealIds>; + /** Remove a deal id associated with the creative. */ + removeDeal(request: { + /** The id for the account that will serve this creative. */ + accountId: number; + /** Data format for the response. */ + alt?: string; + /** The buyer-specific id for this creative. */ + buyerCreativeId: string; + /** The id of the deal id to disassociate with this creative. */ + dealId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface MarketplacedealsResource { + /** Delete the specified deals from the proposal */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The proposalId to delete deals from. */ + proposalId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DeleteOrderDealsResponse>; + /** Add new deals for the specified proposal */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** proposalId for which deals need to be added. */ + proposalId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AddOrderDealsResponse>; + /** List all the deals for a given proposal */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Query string to retrieve specific deals. */ + pqlQuery?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The proposalId to get deals for. To search across all proposals specify order_id = '-' as part of the URL. */ + proposalId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GetOrderDealsResponse>; + /** Replaces all the deals in the proposal with the passed in deals */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The proposalId to edit deals on. */ + proposalId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<EditAllOrderDealsResponse>; + } + interface MarketplacenotesResource { + /** Add notes to the proposal */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The proposalId to add notes for. */ + proposalId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AddOrderNotesResponse>; + /** Get all the notes associated with a proposal */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Query string to retrieve specific notes. To search the text contents of notes, please use syntax like "WHERE note.note = "foo" or "WHERE note.note LIKE + * "%bar%" + */ + pqlQuery?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The proposalId to get notes for. To search across all proposals specify order_id = '-' as part of the URL. */ + proposalId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GetOrderNotesResponse>; + } + interface MarketplaceprivateauctionResource { + /** Update a given private auction proposal */ + updateproposal(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The private auction id to be updated. */ + privateAuctionId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface PerformanceReportResource { + /** Retrieves the authenticated user's list of performance metrics. */ + list(request: { + /** The account id to get the reports. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** The end time of the report in ISO 8601 timestamp format using UTC. */ + endDateTime: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of entries returned on one result page. If not set, the default is 100. Optional. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through performance reports. To retrieve the next page, set this parameter to the value of "nextPageToken" from the + * previous response. Optional. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The start time of the report in ISO 8601 timestamp format using UTC. */ + startDateTime: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PerformanceReportList>; + } + interface PretargetingConfigResource { + /** Deletes an existing pretargeting config. */ + delete(request: { + /** The account id to delete the pretargeting config for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** The specific id of the configuration to delete. */ + configId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets a specific pretargeting configuration */ + get(request: { + /** The account id to get the pretargeting config for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** The specific id of the configuration to retrieve. */ + configId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PretargetingConfig>; + /** Inserts a new pretargeting configuration. */ + insert(request: { + /** The account id to insert the pretargeting config for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PretargetingConfig>; + /** Retrieves a list of the authenticated user's pretargeting configurations. */ + list(request: { + /** The account id to get the pretargeting configs for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PretargetingConfigList>; + /** Updates an existing pretargeting config. This method supports patch semantics. */ + patch(request: { + /** The account id to update the pretargeting config for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** The specific id of the configuration to update. */ + configId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PretargetingConfig>; + /** Updates an existing pretargeting config. */ + update(request: { + /** The account id to update the pretargeting config for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** The specific id of the configuration to update. */ + configId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PretargetingConfig>; + } + interface ProductsResource { + /** Gets the requested product by id. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The id for the product to get the head revision for. */ + productId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Product>; + /** Gets the requested product. */ + search(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The pql query used to query for products. */ + pqlQuery?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GetOffersResponse>; + } + interface ProposalsResource { + /** Get a proposal given its id */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Id of the proposal to retrieve. */ + proposalId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Proposal>; + /** Create the given list of proposals */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreateOrdersResponse>; + /** Update the given proposal. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The proposal id to update. */ + proposalId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The last known revision number to update. If the head revision in the marketplace database has since changed, an error will be thrown. The caller + * should then fetch the latest proposal at head revision and retry the update at that revision. + */ + revisionNumber: string; + /** The proposed action to take on the proposal. This field is required and it must be set when updating a proposal. */ + updateAction: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Proposal>; + /** Search for proposals using pql query */ + search(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Query string to retrieve specific proposals. */ + pqlQuery?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GetOrdersResponse>; + /** Update the given proposal to indicate that setup has been completed. */ + setupcomplete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The proposal id for which the setup is complete */ + proposalId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Update the given proposal */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The proposal id to update. */ + proposalId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The last known revision number to update. If the head revision in the marketplace database has since changed, an error will be thrown. The caller + * should then fetch the latest proposal at head revision and retry the update at that revision. + */ + revisionNumber: string; + /** The proposed action to take on the proposal. This field is required and it must be set when updating a proposal. */ + updateAction: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Proposal>; + } + interface PubprofilesResource { + /** Gets the requested publisher profile(s) by publisher accountId. */ + list(request: { + /** The accountId of the publisher to get profiles for. */ + accountId: number; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GetPublisherProfilesByAccountIdResponse>; + } + } +} diff --git a/types/gapi.client.adexchangebuyer/readme.md b/types/gapi.client.adexchangebuyer/readme.md new file mode 100644 index 0000000000..ab46fb564c --- /dev/null +++ b/types/gapi.client.adexchangebuyer/readme.md @@ -0,0 +1,244 @@ +# TypeScript typings for Ad Exchange Buyer API v1.4 +Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports. +For detailed description please check [documentation](https://developers.google.com/ad-exchange/buyer-rest). + +## Installing + +Install typings for Ad Exchange Buyer API: +``` +npm install @types/gapi.client.adexchangebuyer@v1.4 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('adexchangebuyer', 'v1.4', () => { + // now we can use gapi.client.adexchangebuyer + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage your Ad Exchange buyer account configuration + 'https://www.googleapis.com/auth/adexchange.buyer', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Ad Exchange Buyer API resources: + +```typescript + +/* +Gets one account by ID. +*/ +await gapi.client.accounts.get({ id: 1, }); + +/* +Retrieves the authenticated user's list of accounts. +*/ +await gapi.client.accounts.list({ }); + +/* +Updates an existing account. This method supports patch semantics. +*/ +await gapi.client.accounts.patch({ id: 1, }); + +/* +Updates an existing account. +*/ +await gapi.client.accounts.update({ id: 1, }); + +/* +Returns the billing information for one account specified by account ID. +*/ +await gapi.client.billingInfo.get({ accountId: 1, }); + +/* +Retrieves a list of billing information for all accounts of the authenticated user. +*/ +await gapi.client.billingInfo.list({ }); + +/* +Returns the budget information for the adgroup specified by the accountId and billingId. +*/ +await gapi.client.budget.get({ accountId: "accountId", billingId: "billingId", }); + +/* +Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method supports patch semantics. +*/ +await gapi.client.budget.patch({ accountId: "accountId", billingId: "billingId", }); + +/* +Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. +*/ +await gapi.client.budget.update({ accountId: "accountId", billingId: "billingId", }); + +/* +Add a deal id association for the creative. +*/ +await gapi.client.creatives.addDeal({ accountId: 1, buyerCreativeId: "buyerCreativeId", dealId: "dealId", }); + +/* +Gets the status for a single creative. A creative will be available 30-40 minutes after submission. +*/ +await gapi.client.creatives.get({ accountId: 1, buyerCreativeId: "buyerCreativeId", }); + +/* +Submit a new creative. +*/ +await gapi.client.creatives.insert({ }); + +/* +Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission. +*/ +await gapi.client.creatives.list({ }); + +/* +Lists the external deal ids associated with the creative. +*/ +await gapi.client.creatives.listDeals({ accountId: 1, buyerCreativeId: "buyerCreativeId", }); + +/* +Remove a deal id associated with the creative. +*/ +await gapi.client.creatives.removeDeal({ accountId: 1, buyerCreativeId: "buyerCreativeId", dealId: "dealId", }); + +/* +Delete the specified deals from the proposal +*/ +await gapi.client.marketplacedeals.delete({ proposalId: "proposalId", }); + +/* +Add new deals for the specified proposal +*/ +await gapi.client.marketplacedeals.insert({ proposalId: "proposalId", }); + +/* +List all the deals for a given proposal +*/ +await gapi.client.marketplacedeals.list({ proposalId: "proposalId", }); + +/* +Replaces all the deals in the proposal with the passed in deals +*/ +await gapi.client.marketplacedeals.update({ proposalId: "proposalId", }); + +/* +Add notes to the proposal +*/ +await gapi.client.marketplacenotes.insert({ proposalId: "proposalId", }); + +/* +Get all the notes associated with a proposal +*/ +await gapi.client.marketplacenotes.list({ proposalId: "proposalId", }); + +/* +Update a given private auction proposal +*/ +await gapi.client.marketplaceprivateauction.updateproposal({ privateAuctionId: "privateAuctionId", }); + +/* +Retrieves the authenticated user's list of performance metrics. +*/ +await gapi.client.performanceReport.list({ accountId: "accountId", endDateTime: "endDateTime", startDateTime: "startDateTime", }); + +/* +Deletes an existing pretargeting config. +*/ +await gapi.client.pretargetingConfig.delete({ accountId: "accountId", configId: "configId", }); + +/* +Gets a specific pretargeting configuration +*/ +await gapi.client.pretargetingConfig.get({ accountId: "accountId", configId: "configId", }); + +/* +Inserts a new pretargeting configuration. +*/ +await gapi.client.pretargetingConfig.insert({ accountId: "accountId", }); + +/* +Retrieves a list of the authenticated user's pretargeting configurations. +*/ +await gapi.client.pretargetingConfig.list({ accountId: "accountId", }); + +/* +Updates an existing pretargeting config. This method supports patch semantics. +*/ +await gapi.client.pretargetingConfig.patch({ accountId: "accountId", configId: "configId", }); + +/* +Updates an existing pretargeting config. +*/ +await gapi.client.pretargetingConfig.update({ accountId: "accountId", configId: "configId", }); + +/* +Gets the requested product by id. +*/ +await gapi.client.products.get({ productId: "productId", }); + +/* +Gets the requested product. +*/ +await gapi.client.products.search({ }); + +/* +Get a proposal given its id +*/ +await gapi.client.proposals.get({ proposalId: "proposalId", }); + +/* +Create the given list of proposals +*/ +await gapi.client.proposals.insert({ }); + +/* +Update the given proposal. This method supports patch semantics. +*/ +await gapi.client.proposals.patch({ proposalId: "proposalId", revisionNumber: "revisionNumber", updateAction: "updateAction", }); + +/* +Search for proposals using pql query +*/ +await gapi.client.proposals.search({ }); + +/* +Update the given proposal to indicate that setup has been completed. +*/ +await gapi.client.proposals.setupcomplete({ proposalId: "proposalId", }); + +/* +Update the given proposal +*/ +await gapi.client.proposals.update({ proposalId: "proposalId", revisionNumber: "revisionNumber", updateAction: "updateAction", }); + +/* +Gets the requested publisher profile(s) by publisher accountId. +*/ +await gapi.client.pubprofiles.list({ accountId: 1, }); +``` \ No newline at end of file diff --git a/types/gapi.client.adexchangebuyer/tsconfig.json b/types/gapi.client.adexchangebuyer/tsconfig.json new file mode 100644 index 0000000000..a6ddc40ec7 --- /dev/null +++ b/types/gapi.client.adexchangebuyer/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.adexchangebuyer-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.adexchangebuyer/tslint.json b/types/gapi.client.adexchangebuyer/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.adexchangebuyer/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.adexchangebuyer2/gapi.client.adexchangebuyer2-tests.ts b/types/gapi.client.adexchangebuyer2/gapi.client.adexchangebuyer2-tests.ts new file mode 100644 index 0000000000..0e6ee50fe5 --- /dev/null +++ b/types/gapi.client.adexchangebuyer2/gapi.client.adexchangebuyer2-tests.ts @@ -0,0 +1,32 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('adexchangebuyer2', 'v2beta1', () => { + /** now we can use gapi.client.adexchangebuyer2 */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage your Ad Exchange buyer account configuration */ + 'https://www.googleapis.com/auth/adexchange.buyer', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + } +}); diff --git a/types/gapi.client.adexchangebuyer2/index.d.ts b/types/gapi.client.adexchangebuyer2/index.d.ts new file mode 100644 index 0000000000..40ab26679b --- /dev/null +++ b/types/gapi.client.adexchangebuyer2/index.d.ts @@ -0,0 +1,2400 @@ +// Type definitions for Google Ad Exchange Buyer API II v2beta1 2.0 +// Project: https://developers.google.com/ad-exchange/buyer-rest/reference/rest/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://adexchangebuyer.googleapis.com/$discovery/rest?version=v2beta1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Ad Exchange Buyer API II v2beta1 */ + function load(name: "adexchangebuyer2", version: "v2beta1"): PromiseLike<void>; + function load(name: "adexchangebuyer2", version: "v2beta1", callback: () => any): void; + + const accounts: adexchangebuyer2.AccountsResource; + + namespace adexchangebuyer2 { + interface AbsoluteDateRange { + /** + * The end date of the range (inclusive). + * Must be within the 30 days leading up to current date, and must be equal to + * or after start_date. + */ + endDate?: Date; + /** + * The start date of the range (inclusive). + * Must be within the 30 days leading up to current date, and must be equal to + * or before end_date. + */ + startDate?: Date; + } + interface AddDealAssociationRequest { + /** The association between a creative and a deal that should be added. */ + association?: CreativeDealAssociation; + } + interface AppContext { + /** The app types this restriction applies to. */ + appTypes?: string[]; + } + interface AuctionContext { + /** The auction types this restriction applies to. */ + auctionTypes?: string[]; + } + interface BidMetricsRow { + /** The number of bids that Ad Exchange received from the buyer. */ + bids?: MetricValue; + /** The number of bids that were permitted to compete in the auction. */ + bidsInAuction?: MetricValue; + /** The number of bids for which the buyer was billed. */ + billedImpressions?: MetricValue; + /** The number of bids that won an impression. */ + impressionsWon?: MetricValue; + /** + * The number of bids for which the corresponding impression was measurable + * for viewability (as defined by Active View). + */ + measurableImpressions?: MetricValue; + /** The values of all dimensions associated with metric values in this row. */ + rowDimensions?: RowDimensions; + /** + * The number of bids for which the corresponding impression was viewable (as + * defined by Active View). + */ + viewableImpressions?: MetricValue; + } + interface BidResponseWithoutBidsStatusRow { + /** + * The number of impressions for which there was a bid response with the + * specified status. + */ + impressionCount?: MetricValue; + /** The values of all dimensions associated with metric values in this row. */ + rowDimensions?: RowDimensions; + /** + * The status specifying why the bid responses were considered to have no + * applicable bids. + */ + status?: string; + } + interface CalloutStatusRow { + /** + * The ID of the callout status. + * See [callout-status-codes](https://developers.google.com/ad-exchange/rtb/downloads/callout-status-codes). + */ + calloutStatusId?: number; + /** + * The number of impressions for which there was a bid request or bid response + * with the specified callout status. + */ + impressionCount?: MetricValue; + /** The values of all dimensions associated with metric values in this row. */ + rowDimensions?: RowDimensions; + } + interface Client { + /** + * The globally-unique numerical ID of the client. + * The value of this field is ignored in create and update operations. + */ + clientAccountId?: string; + /** + * Name used to represent this client to publishers. + * You may have multiple clients that map to the same entity, + * but for each client the combination of `clientName` and entity + * must be unique. + * You can specify this field as empty. + */ + clientName?: string; + /** + * Numerical identifier of the client entity. + * The entity can be an advertiser, a brand, or an agency. + * This identifier is unique among all the entities with the same type. + * + * A list of all known advertisers with their identifiers is available in the + * [advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/advertisers.txt) + * file. + * + * A list of all known brands with their identifiers is available in the + * [brands.txt](https://storage.googleapis.com/adx-rtb-dictionaries/brands.txt) + * file. + * + * A list of all known agencies with their identifiers is available in the + * [agencies.txt](https://storage.googleapis.com/adx-rtb-dictionaries/agencies.txt) + * file. + */ + entityId?: string; + /** + * The name of the entity. This field is automatically fetched based on + * the type and ID. + * The value of this field is ignored in create and update operations. + */ + entityName?: string; + /** The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`. */ + entityType?: string; + /** + * The role which is assigned to the client buyer. Each role implies a set of + * permissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`, + * `CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`. + */ + role?: string; + /** The status of the client buyer. */ + status?: string; + /** Whether the client buyer will be visible to sellers. */ + visibleToSeller?: boolean; + } + interface ClientUser { + /** + * Numerical account ID of the client buyer + * with which the user is associated; the + * buyer must be a client of the current sponsor buyer. + * The value of this field is ignored in an update operation. + */ + clientAccountId?: string; + /** + * User's email address. The value of this field + * is ignored in an update operation. + */ + email?: string; + /** The status of the client user. */ + status?: string; + /** + * The unique numerical ID of the client user + * that has accepted an invitation. + * The value of this field is ignored in an update operation. + */ + userId?: string; + } + interface ClientUserInvitation { + /** + * Numerical account ID of the client buyer + * that the invited user is associated with. + * The value of this field is ignored in create operations. + */ + clientAccountId?: string; + /** + * The email address to which the invitation is sent. Email + * addresses should be unique among all client users under each sponsor + * buyer. + */ + email?: string; + /** + * The unique numerical ID of the invitation that is sent to the user. + * The value of this field is ignored in create operations. + */ + invitationId?: string; + } + interface Correction { + /** The contexts for the correction. */ + contexts?: ServingContext[]; + /** Additional details about what was corrected. */ + details?: string[]; + /** The type of correction that was applied to the creative. */ + type?: string; + } + interface Creative { + /** + * The account that this creative belongs to. + * Can be used to filter the response of the + * creatives.list + * method. + */ + accountId?: string; + /** The link to AdChoices destination page. */ + adChoicesDestinationUrl?: string; + /** The name of the company being advertised in the creative. */ + advertiserName?: string; + /** The agency ID for this creative. */ + agencyId?: string; + /** @OutputOnly The last update timestamp of the creative via API. */ + apiUpdateTime?: string; + /** + * All attributes for the ads that may be shown from this creative. + * Can be used to filter the response of the + * creatives.list + * method. + */ + attributes?: string[]; + /** The set of destination URLs for the creative. */ + clickThroughUrls?: string[]; + /** @OutputOnly Shows any corrections that were applied to this creative. */ + corrections?: Correction[]; + /** + * The buyer-defined creative ID of this creative. + * Can be used to filter the response of the + * creatives.list + * method. + */ + creativeId?: string; + /** + * @OutputOnly The top-level deals status of this creative. + * If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in + * serving_restrictions will also exist. Note + * that this may be nuanced with other contextual restrictions, in which case, + * it may be preferable to read from serving_restrictions directly. + * Can be used to filter the response of the + * creatives.list + * method. + */ + dealsStatus?: string; + /** @OutputOnly Detected advertiser IDs, if any. */ + detectedAdvertiserIds?: string[]; + /** + * @OutputOnly + * The detected domains for this creative. + */ + detectedDomains?: string[]; + /** + * @OutputOnly + * The detected languages for this creative. The order is arbitrary. The codes + * are 2 or 5 characters and are documented at + * https://developers.google.com/adwords/api/docs/appendix/languagecodes. + */ + detectedLanguages?: string[]; + /** + * @OutputOnly Detected product categories, if any. + * See the ad-product-categories.txt file in the technical documentation + * for a list of IDs. + */ + detectedProductCategories?: number[]; + /** + * @OutputOnly Detected sensitive categories, if any. + * See the ad-sensitive-categories.txt file in the technical documentation for + * a list of IDs. You should use these IDs along with the + * excluded-sensitive-category field in the bid request to filter your bids. + */ + detectedSensitiveCategories?: number[]; + /** @OutputOnly The filtering stats for this creative. */ + filteringStats?: FilteringStats; + /** An HTML creative. */ + html?: HtmlContent; + /** The set of URLs to be called to record an impression. */ + impressionTrackingUrls?: string[]; + /** A native creative. */ + native?: NativeContent; + /** + * @OutputOnly The top-level open auction status of this creative. + * If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in + * serving_restrictions will also exist. Note + * that this may be nuanced with other contextual restrictions, in which case, + * it may be preferable to read from serving_restrictions directly. + * Can be used to filter the response of the + * creatives.list + * method. + */ + openAuctionStatus?: string; + /** All restricted categories for the ads that may be shown from this creative. */ + restrictedCategories?: string[]; + /** + * @OutputOnly The granular status of this ad in specific contexts. + * A context here relates to where something ultimately serves (for example, + * a physical location, a platform, an HTTPS vs HTTP request, or the type + * of auction). + */ + servingRestrictions?: ServingRestriction[]; + /** + * All vendor IDs for the ads that may be shown from this creative. + * See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt + * for possible values. + */ + vendorIds?: number[]; + /** @OutputOnly The version of this creative. */ + version?: number; + /** A video creative. */ + video?: VideoContent; + } + interface CreativeDealAssociation { + /** The account the creative belongs to. */ + accountId?: string; + /** The ID of the creative associated with the deal. */ + creativeId?: string; + /** The externalDealId for the deal associated with the creative. */ + dealsId?: string; + } + interface CreativeStatusRow { + /** The number of bids with the specified status. */ + bidCount?: MetricValue; + /** + * The ID of the creative status. + * See [creative-status-codes](https://developers.google.com/ad-exchange/rtb/downloads/creative-status-codes). + */ + creativeStatusId?: number; + /** The values of all dimensions associated with metric values in this row. */ + rowDimensions?: RowDimensions; + } + interface Date { + /** + * Day of month. Must be from 1 to 31 and valid for the year and month, or 0 + * if specifying a year/month where the day is not significant. + */ + day?: number; + /** Month of year. Must be from 1 to 12. */ + month?: number; + /** + * Year of date. Must be from 1 to 9999, or 0 if specifying a date without + * a year. + */ + year?: number; + } + interface Disapproval { + /** Additional details about the reason for disapproval. */ + details?: string[]; + /** The categorized reason for disapproval. */ + reason?: string; + } + interface FilterSet { + /** + * An absolute date range, defined by a start date and an end date. + * Interpreted relative to Pacific time zone. + */ + absoluteDateRange?: AbsoluteDateRange; + /** The ID of the buyer account on which to filter; optional. */ + buyerAccountId?: string; + /** The ID of the creative on which to filter; optional. */ + creativeId?: string; + /** The ID of the deal on which to filter; optional. */ + dealId?: string; + /** The environment on which to filter; optional. */ + environment?: string; + /** + * The ID of the filter set; unique within the account of the filter set + * owner. + * The value of this field is ignored in create operations. + */ + filterSetId?: string; + /** The format on which to filter; optional. */ + format?: string; + /** + * The account ID of the buyer who owns this filter set. + * The value of this field is ignored in create operations. + */ + ownerAccountId?: string; + /** + * The list of platforms on which to filter; may be empty. The filters + * represented by multiple platforms are ORed together (i.e. if non-empty, + * results must match any one of the platforms). + */ + platforms?: string[]; + /** + * An open-ended realtime time range, defined by the aggregation start + * timestamp. + */ + realtimeTimeRange?: RealtimeTimeRange; + /** + * A relative date range, defined by an offset from today and a duration. + * Interpreted relative to Pacific time zone. + */ + relativeDateRange?: RelativeDateRange; + /** + * The list of IDs of the seller (publisher) networks on which to filter; + * may be empty. The filters represented by multiple seller network IDs are + * ORed together (i.e. if non-empty, results must match any one of the + * publisher networks). + * See [seller-network-ids](https://developers.google.com/ad-exchange/rtb/downloads/seller-network-ids) + * file for the set of existing seller network IDs. + */ + sellerNetworkIds?: number[]; + /** + * The granularity of time intervals if a time series breakdown is desired; + * optional. + */ + timeSeriesGranularity?: string; + } + interface FilteredBidCreativeRow { + /** The number of bids with the specified creative. */ + bidCount?: MetricValue; + /** The ID of the creative. */ + creativeId?: string; + /** The values of all dimensions associated with metric values in this row. */ + rowDimensions?: RowDimensions; + } + interface FilteredBidDetailRow { + /** The number of bids with the specified detail. */ + bidCount?: MetricValue; + /** + * The ID of the detail. The associated value can be looked up in the + * dictionary file corresponding to the DetailType in the response message. + */ + detailId?: number; + /** The values of all dimensions associated with metric values in this row. */ + rowDimensions?: RowDimensions; + } + interface FilteringStats { + /** + * The day during which the data was collected. + * The data is collected from 00:00:00 to 23:59:59 PT. + * During switches from PST to PDT and back, the day may + * contain 23 or 25 hours of data instead of the usual 24. + */ + date?: Date; + /** The set of filtering reasons for this date. */ + reasons?: Reason[]; + } + interface HtmlContent { + /** The height of the HTML snippet in pixels. */ + height?: number; + /** The HTML snippet that displays the ad when inserted in the web page. */ + snippet?: string; + /** The width of the HTML snippet in pixels. */ + width?: number; + } + interface Image { + /** Image height in pixels. */ + height?: number; + /** The URL of the image. */ + url?: string; + /** Image width in pixels. */ + width?: number; + } + interface ImpressionMetricsRow { + /** + * The number of impressions available to the buyer on Ad Exchange. + * In some cases this value may be unavailable. + */ + availableImpressions?: MetricValue; + /** + * The number of impressions for which Ad Exchange sent the buyer a bid + * request. + */ + bidRequests?: MetricValue; + /** The number of impressions that match the buyer's inventory pretargeting. */ + inventoryMatches?: MetricValue; + /** + * The number of impressions for which Ad Exchange received a response from + * the buyer that contained at least one applicable bid. + */ + responsesWithBids?: MetricValue; + /** The values of all dimensions associated with metric values in this row. */ + rowDimensions?: RowDimensions; + /** + * The number of impressions for which the buyer successfully sent a response + * to Ad Exchange. + */ + successfulResponses?: MetricValue; + } + interface ListBidMetricsResponse { + /** List of rows, each containing a set of bid metrics. */ + bidMetricsRows?: BidMetricsRow[]; + /** + * A token to retrieve the next page of results. + * Pass this value in the + * ListBidMetricsRequest.pageToken + * field in the subsequent call to the + * accounts.filterSets.bidMetrics.list + * method to retrieve the next page of results. + */ + nextPageToken?: string; + } + interface ListBidResponseErrorsResponse { + /** List of rows, with counts of bid responses aggregated by callout status. */ + calloutStatusRows?: CalloutStatusRow[]; + /** + * A token to retrieve the next page of results. + * Pass this value in the + * ListBidResponseErrorsRequest.pageToken + * field in the subsequent call to the + * accounts.filterSets.bidResponseErrors.list + * method to retrieve the next page of results. + */ + nextPageToken?: string; + } + interface ListBidResponsesWithoutBidsResponse { + /** + * List of rows, with counts of bid responses without bids aggregated by + * status. + */ + bidResponseWithoutBidsStatusRows?: BidResponseWithoutBidsStatusRow[]; + /** + * A token to retrieve the next page of results. + * Pass this value in the + * ListBidResponsesWithoutBidsRequest.pageToken + * field in the subsequent call to the + * accounts.filterSets.bidResponsesWithoutBids.list + * method to retrieve the next page of results. + */ + nextPageToken?: string; + } + interface ListClientUserInvitationsResponse { + /** The returned list of client users. */ + invitations?: ClientUserInvitation[]; + /** + * A token to retrieve the next page of results. + * Pass this value in the + * ListClientUserInvitationsRequest.pageToken + * field in the subsequent call to the + * clients.invitations.list + * method to retrieve the next + * page of results. + */ + nextPageToken?: string; + } + interface ListClientUsersResponse { + /** + * A token to retrieve the next page of results. + * Pass this value in the + * ListClientUsersRequest.pageToken + * field in the subsequent call to the + * clients.invitations.list + * method to retrieve the next + * page of results. + */ + nextPageToken?: string; + /** The returned list of client users. */ + users?: ClientUser[]; + } + interface ListClientsResponse { + /** The returned list of clients. */ + clients?: Client[]; + /** + * A token to retrieve the next page of results. + * Pass this value in the + * ListClientsRequest.pageToken + * field in the subsequent call to the + * accounts.clients.list method + * to retrieve the next page of results. + */ + nextPageToken?: string; + } + interface ListCreativeStatusBreakdownByCreativeResponse { + /** + * List of rows, with counts of bids with a given creative status aggregated + * by creative. + */ + filteredBidCreativeRows?: FilteredBidCreativeRow[]; + /** + * A token to retrieve the next page of results. + * Pass this value in the + * ListCreativeStatusBreakdownByCreativeRequest.pageToken + * field in the subsequent call to the + * accounts.filterSets.filteredBids.creatives.list + * method to retrieve the next page of results. + */ + nextPageToken?: string; + } + interface ListCreativeStatusBreakdownByDetailResponse { + /** The type of detail that the detail IDs represent. */ + detailType?: string; + /** + * List of rows, with counts of bids with a given creative status aggregated + * by detail. + */ + filteredBidDetailRows?: FilteredBidDetailRow[]; + /** + * A token to retrieve the next page of results. + * Pass this value in the + * ListCreativeStatusBreakdownByDetailRequest.pageToken + * field in the subsequent call to the + * accounts.filterSets.filteredBids.details.list + * method to retrieve the next page of results. + */ + nextPageToken?: string; + } + interface ListCreativesResponse { + /** The list of creatives. */ + creatives?: Creative[]; + /** + * A token to retrieve the next page of results. + * Pass this value in the + * ListCreativesRequest.page_token + * field in the subsequent call to `ListCreatives` method to retrieve the next + * page of results. + */ + nextPageToken?: string; + } + interface ListDealAssociationsResponse { + /** The list of associations. */ + associations?: CreativeDealAssociation[]; + /** + * A token to retrieve the next page of results. + * Pass this value in the + * ListDealAssociationsRequest.page_token + * field in the subsequent call to 'ListDealAssociation' method to retrieve + * the next page of results. + */ + nextPageToken?: string; + } + interface ListFilterSetsResponse { + /** The filter sets belonging to the buyer. */ + filterSets?: FilterSet[]; + /** + * A token to retrieve the next page of results. + * Pass this value in the + * ListFilterSetsRequest.pageToken + * field in the subsequent call to the + * accounts.filterSets.list + * method to retrieve the next page of results. + */ + nextPageToken?: string; + } + interface ListFilteredBidRequestsResponse { + /** + * List of rows, with counts of filtered bid requests aggregated by callout + * status. + */ + calloutStatusRows?: CalloutStatusRow[]; + /** + * A token to retrieve the next page of results. + * Pass this value in the + * ListFilteredBidRequestsRequest.pageToken + * field in the subsequent call to the + * accounts.filterSets.filteredBidRequests.list + * method to retrieve the next page of results. + */ + nextPageToken?: string; + } + interface ListFilteredBidsResponse { + /** + * List of rows, with counts of filtered bids aggregated by filtering reason + * (i.e. creative status). + */ + creativeStatusRows?: CreativeStatusRow[]; + /** + * A token to retrieve the next page of results. + * Pass this value in the + * ListFilteredBidsRequest.pageToken + * field in the subsequent call to the + * accounts.filterSets.filteredBids.list + * method to retrieve the next page of results. + */ + nextPageToken?: string; + } + interface ListImpressionMetricsResponse { + /** List of rows, each containing a set of impression metrics. */ + impressionMetricsRows?: ImpressionMetricsRow[]; + /** + * A token to retrieve the next page of results. + * Pass this value in the + * ListImpressionMetricsRequest.pageToken + * field in the subsequent call to the + * accounts.filterSets.impressionMetrics.list + * method to retrieve the next page of results. + */ + nextPageToken?: string; + } + interface ListLosingBidsResponse { + /** + * List of rows, with counts of losing bids aggregated by loss reason (i.e. + * creative status). + */ + creativeStatusRows?: CreativeStatusRow[]; + /** + * A token to retrieve the next page of results. + * Pass this value in the + * ListLosingBidsRequest.pageToken + * field in the subsequent call to the + * accounts.filterSets.losingBids.list + * method to retrieve the next page of results. + */ + nextPageToken?: string; + } + interface ListNonBillableWinningBidsResponse { + /** + * A token to retrieve the next page of results. + * Pass this value in the + * ListNonBillableWinningBidsRequest.pageToken + * field in the subsequent call to the + * accounts.filterSets.nonBillableWinningBids.list + * method to retrieve the next page of results. + */ + nextPageToken?: string; + /** List of rows, with counts of bids not billed aggregated by reason. */ + nonBillableWinningBidStatusRows?: NonBillableWinningBidStatusRow[]; + } + interface LocationContext { + /** + * IDs representing the geo location for this context. + * Please refer to the + * [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) + * file for different geo criteria IDs. + */ + geoCriteriaIds?: number[]; + } + interface MetricValue { + /** The expected value of the metric. */ + value?: string; + /** + * The variance (i.e. square of the standard deviation) of the metric value. + * If value is exact, variance is 0. + * Can be used to calculate margin of error as a percentage of value, using + * the following formula, where Z is the standard constant that depends on the + * desired size of the confidence interval (e.g. for 90% confidence interval, + * use Z = 1.645): + * + * marginOfError = 100 * Z * sqrt(variance) / value + */ + variance?: string; + } + interface NativeContent { + /** The name of the advertiser or sponsor, to be displayed in the ad creative. */ + advertiserName?: string; + /** The app icon, for app download ads. */ + appIcon?: Image; + /** A long description of the ad. */ + body?: string; + /** A label for the button that the user is supposed to click. */ + callToAction?: string; + /** The URL that the browser/SDK will load when the user clicks the ad. */ + clickLinkUrl?: string; + /** The URL to use for click tracking. */ + clickTrackingUrl?: string; + /** A short title for the ad. */ + headline?: string; + /** A large image. */ + image?: Image; + /** A smaller image, for the advertiser's logo. */ + logo?: Image; + /** The price of the promoted app including currency info. */ + priceDisplayText?: string; + /** The app rating in the app store. Must be in the range [0-5]. */ + starRating?: number; + /** The URL to the app store to purchase/download the promoted app. */ + storeUrl?: string; + /** The URL to fetch a native video ad. */ + videoUrl?: string; + } + interface NonBillableWinningBidStatusRow { + /** The number of bids with the specified status. */ + bidCount?: MetricValue; + /** The values of all dimensions associated with metric values in this row. */ + rowDimensions?: RowDimensions; + /** The status specifying why the winning bids were not billed. */ + status?: string; + } + interface PlatformContext { + /** The platforms this restriction applies to. */ + platforms?: string[]; + } + interface RealtimeTimeRange { + /** The start timestamp of the real-time RTB metrics aggregation. */ + startTimestamp?: string; + } + interface Reason { + /** + * The number of times the creative was filtered for the status. The + * count is aggregated across all publishers on the exchange. + */ + count?: string; + /** + * The filtering status code. Please refer to the + * [creative-status-codes.txt](https://storage.googleapis.com/adx-rtb-dictionaries/creative-status-codes.txt) + * file for different statuses. + */ + status?: number; + } + interface RelativeDateRange { + /** + * The number of days in the requested date range. E.g. for a range spanning + * today, 1. For a range spanning the last 7 days, 7. + */ + durationDays?: number; + /** + * The end date of the filter set, specified as the number of days before + * today. E.g. for a range where the last date is today, 0. + */ + offsetDays?: number; + } + interface RemoveDealAssociationRequest { + /** The association between a creative and a deal that should be removed. */ + association?: CreativeDealAssociation; + } + interface RowDimensions { + /** The time interval that this row represents. */ + timeInterval?: TimeInterval; + } + interface SecurityContext { + /** The security types in this context. */ + securities?: string[]; + } + interface ServingContext { + /** Matches all contexts. */ + all?: string; + /** Matches impressions for a particular app type. */ + appType?: AppContext; + /** Matches impressions for a particular auction type. */ + auctionType?: AuctionContext; + /** + * Matches impressions coming from users *or* publishers in a specific + * location. + */ + location?: LocationContext; + /** Matches impressions coming from a particular platform. */ + platform?: PlatformContext; + /** Matches impressions for a particular security type. */ + securityType?: SecurityContext; + } + interface ServingRestriction { + /** The contexts for the restriction. */ + contexts?: ServingContext[]; + /** + * Any disapprovals bound to this restriction. + * Only present if status=DISAPPROVED. + * Can be used to filter the response of the + * creatives.list + * method. + */ + disapprovalReasons?: Disapproval[]; + /** + * The status of the creative in this context (for example, it has been + * explicitly disapproved or is pending review). + */ + status?: string; + } + interface TimeInterval { + /** + * The timestamp marking the end of the range (exclusive) for which data is + * included. + */ + endTime?: string; + /** + * The timestamp marking the start of the range (inclusive) for which data is + * included. + */ + startTime?: string; + } + interface VideoContent { + /** The URL to fetch a video ad. */ + videoUrl?: string; + } + interface WatchCreativeRequest { + /** + * The Pub/Sub topic to publish notifications to. + * This topic must already exist and must give permission to + * ad-exchange-buyside-reports@google.com to write to the topic. + * This should be the full resource name in + * "projects/{project_id}/topics/{topic_id}" format. + */ + topic?: string; + } + interface InvitationsResource { + /** + * Creates and sends out an email invitation to access + * an Ad Exchange client buyer account. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Numerical account ID of the client's sponsor buyer. (required) */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Numerical account ID of the client buyer that the user + * should be associated with. (required) + */ + clientAccountId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ClientUserInvitation>; + /** Retrieves an existing client user invitation. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Numerical account ID of the client's sponsor buyer. (required) */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Numerical account ID of the client buyer that the user invitation + * to be retrieved is associated with. (required) + */ + clientAccountId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Numerical identifier of the user invitation to retrieve. (required) */ + invitationId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ClientUserInvitation>; + /** + * Lists all the client users invitations for a client + * with a given account ID. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Numerical account ID of the client's sponsor buyer. (required) */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Numerical account ID of the client buyer to list invitations for. + * (required) + * You must either specify a string representation of a + * numerical account identifier or the `-` character + * to list all the invitations for all the clients + * of a given sponsor buyer. + */ + clientAccountId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Requested page size. Server may return fewer clients than requested. + * If unspecified, server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. + * Typically, this is the value of + * ListClientUserInvitationsResponse.nextPageToken + * returned from the previous call to the + * clients.invitations.list + * method. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListClientUserInvitationsResponse>; + } + interface UsersResource { + /** Retrieves an existing client user. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Numerical account ID of the client's sponsor buyer. (required) */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Numerical account ID of the client buyer + * that the user to be retrieved is associated with. (required) + */ + clientAccountId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Numerical identifier of the user to retrieve. (required) */ + userId: string; + }): Request<ClientUser>; + /** + * Lists all the known client users for a specified + * sponsor buyer account ID. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** + * Numerical account ID of the sponsor buyer of the client to list users for. + * (required) + */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The account ID of the client buyer to list users for. (required) + * You must specify either a string representation of a + * numerical account identifier or the `-` character + * to list all the client users for all the clients + * of a given sponsor buyer. + */ + clientAccountId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Requested page size. The server may return fewer clients than requested. + * If unspecified, the server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. + * Typically, this is the value of + * ListClientUsersResponse.nextPageToken + * returned from the previous call to the + * accounts.clients.users.list method. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListClientUsersResponse>; + /** + * Updates an existing client user. + * Only the user status can be changed on update. + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Numerical account ID of the client's sponsor buyer. (required) */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Numerical account ID of the client buyer that the user to be retrieved + * is associated with. (required) + */ + clientAccountId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Numerical identifier of the user to retrieve. (required) */ + userId: string; + }): Request<ClientUser>; + } + interface ClientsResource { + /** Creates a new client buyer. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** + * Unique numerical account ID for the buyer of which the client buyer + * is a customer; the sponsor buyer to create a client for. (required) + */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Client>; + /** Gets a client buyer with a given client account ID. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Numerical account ID of the client's sponsor buyer. (required) */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Numerical account ID of the client buyer to retrieve. (required) */ + clientAccountId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Client>; + /** Lists all the clients for the current sponsor buyer. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Unique numerical account ID of the sponsor buyer to list the clients for. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Requested page size. The server may return fewer clients than requested. + * If unspecified, the server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. + * Typically, this is the value of + * ListClientsResponse.nextPageToken + * returned from the previous call to the + * accounts.clients.list method. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListClientsResponse>; + /** Updates an existing client buyer. */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** + * Unique numerical account ID for the buyer of which the client buyer + * is a customer; the sponsor buyer to update a client for. (required) + */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Unique numerical account ID of the client to update. (required) */ + clientAccountId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Client>; + invitations: InvitationsResource; + users: UsersResource; + } + interface DealAssociationsResource { + /** Associate an existing deal with a creative. */ + add(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** The account the creative belongs to. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The ID of the creative associated with the deal. */ + creativeId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** List all creative-deal associations. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** + * The account to list the associations from. + * Specify "-" to list all creatives the current user has access to. + */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The creative ID to list the associations from. + * Specify "-" to list all creatives under the above account. + */ + creativeId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Requested page size. Server may return fewer associations than requested. + * If unspecified, server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. + * Typically, this is the value of + * ListDealAssociationsResponse.next_page_token + * returned from the previous call to 'ListDealAssociations' method. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * An optional query string to filter deal associations. If no filter is + * specified, all associations will be returned. + * Supported queries are: + * <ul> + * <li>accountId=<i>account_id_string</i> + * <li>creativeId=<i>creative_id_string</i> + * <li>dealsId=<i>deals_id_string</i> + * <li>dealsStatus:{approved, conditionally_approved, disapproved, + * not_checked} + * <li>openAuctionStatus:{approved, conditionally_approved, disapproved, + * not_checked} + * </ul> + * Example: 'dealsId=12345 AND dealsStatus:disapproved' + */ + query?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListDealAssociationsResponse>; + /** Remove the association between a deal and a creative. */ + remove(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** The account the creative belongs to. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The ID of the creative associated with the deal. */ + creativeId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + } + interface CreativesResource { + /** Creates a creative. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** + * The account that this creative belongs to. + * Can be used to filter the response of the + * creatives.list + * method. + */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Indicates if multiple creatives can share an ID or not. Default is + * NO_DUPLICATES (one ID per creative). + */ + duplicateIdMode?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Creative>; + /** Gets a creative. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** The account the creative belongs to. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The ID of the creative to retrieve. */ + creativeId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Creative>; + /** Lists creatives. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** + * The account to list the creatives from. + * Specify "-" to list all creatives the current user has access to. + */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Requested page size. The server may return fewer creatives than requested + * (due to timeout constraint) even if more are available via another call. + * If unspecified, server will pick an appropriate default. + * Acceptable values are 1 to 1000, inclusive. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. + * Typically, this is the value of + * ListCreativesResponse.next_page_token + * returned from the previous call to 'ListCreatives' method. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * An optional query string to filter creatives. If no filter is specified, + * all active creatives will be returned. + * Supported queries are: + * <ul> + * <li>accountId=<i>account_id_string</i> + * <li>creativeId=<i>creative_id_string</i> + * <li>dealsStatus: {approved, conditionally_approved, disapproved, + * not_checked} + * <li>openAuctionStatus: {approved, conditionally_approved, disapproved, + * not_checked} + * <li>attribute: {a numeric attribute from the list of attributes} + * <li>disapprovalReason: {a reason from + * DisapprovalReason + * </ul> + * Example: 'accountId=12345 AND (dealsStatus:disapproved AND + * disapprovalReason:unacceptable_content) OR attribute:47' + */ + query?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListCreativesResponse>; + /** + * Stops watching a creative. Will stop push notifications being sent to the + * topics when the creative changes status. + */ + stopWatching(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** The account of the creative to stop notifications for. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The creative ID of the creative to stop notifications for. + * Specify "-" to specify stopping account level notifications. + */ + creativeId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Updates a creative. */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** + * The account that this creative belongs to. + * Can be used to filter the response of the + * creatives.list + * method. + */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The buyer-defined creative ID of this creative. + * Can be used to filter the response of the + * creatives.list + * method. + */ + creativeId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Creative>; + /** + * Watches a creative. Will result in push notifications being sent to the + * topic when the creative changes status. + */ + watch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** The account of the creative to watch. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The creative ID to watch for status changes. + * Specify "-" to watch all creatives under the above account. + * If both creative-level and account-level notifications are + * sent, only a single notification will be sent to the + * creative-level notification topic. + */ + creativeId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + dealAssociations: DealAssociationsResource; + } + interface BidMetricsResource { + /** Lists all metrics that are measured in terms of number of bids. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Account ID of the buyer. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the filter set to apply. */ + filterSetId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Requested page size. The server may return fewer results than requested. + * If unspecified, the server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. + * Typically, this is the value of + * ListBidMetricsResponse.nextPageToken + * returned from the previous call to the + * accounts.filterSets.bidMetrics.list + * method. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListBidMetricsResponse>; + } + interface BidResponseErrorsResource { + /** + * List all errors that occurred in bid responses, with the number of bid + * responses affected for each reason. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Account ID of the buyer. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the filter set to apply. */ + filterSetId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Requested page size. The server may return fewer results than requested. + * If unspecified, the server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. + * Typically, this is the value of + * ListBidResponseErrorsResponse.nextPageToken + * returned from the previous call to the + * accounts.filterSets.bidResponseErrors.list + * method. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListBidResponseErrorsResponse>; + } + interface BidResponsesWithoutBidsResource { + /** + * List all reasons for which bid responses were considered to have no + * applicable bids, with the number of bid responses affected for each reason. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Account ID of the buyer. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the filter set to apply. */ + filterSetId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Requested page size. The server may return fewer results than requested. + * If unspecified, the server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. + * Typically, this is the value of + * ListBidResponsesWithoutBidsResponse.nextPageToken + * returned from the previous call to the + * accounts.filterSets.bidResponsesWithoutBids.list + * method. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListBidResponsesWithoutBidsResponse>; + } + interface FilteredBidRequestsResource { + /** + * List all reasons that caused a bid request not to be sent for an + * impression, with the number of bid requests not sent for each reason. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Account ID of the buyer. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the filter set to apply. */ + filterSetId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Requested page size. The server may return fewer results than requested. + * If unspecified, the server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. + * Typically, this is the value of + * ListFilteredBidRequestsResponse.nextPageToken + * returned from the previous call to the + * accounts.filterSets.filteredBidRequests.list + * method. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListFilteredBidRequestsResponse>; + } + interface CreativesResource { + /** + * List all creatives associated with a specific reason for which bids were + * filtered, with the number of bids filtered for each creative. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Account ID of the buyer. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The ID of the creative status for which to retrieve a breakdown by + * creative. + * See + * [creative-status-codes](https://developers.google.com/ad-exchange/rtb/downloads/creative-status-codes). + */ + creativeStatusId: number; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the filter set to apply. */ + filterSetId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Requested page size. The server may return fewer results than requested. + * If unspecified, the server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. + * Typically, this is the value of + * ListCreativeStatusBreakdownByCreativeResponse.nextPageToken + * returned from the previous call to the + * accounts.filterSets.filteredBids.creatives.list + * method. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListCreativeStatusBreakdownByCreativeResponse>; + } + interface DetailsResource { + /** + * List all details associated with a specific reason for which bids were + * filtered, with the number of bids filtered for each detail. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Account ID of the buyer. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The ID of the creative status for which to retrieve a breakdown by detail. + * See + * [creative-status-codes](https://developers.google.com/ad-exchange/rtb/downloads/creative-status-codes). + * Details are only available for statuses 10, 14, 15, 17, 18, 19, 86, and 87. + */ + creativeStatusId: number; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the filter set to apply. */ + filterSetId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Requested page size. The server may return fewer results than requested. + * If unspecified, the server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. + * Typically, this is the value of + * ListCreativeStatusBreakdownByDetailResponse.nextPageToken + * returned from the previous call to the + * accounts.filterSets.filteredBids.details.list + * method. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListCreativeStatusBreakdownByDetailResponse>; + } + interface FilteredBidsResource { + /** + * List all reasons for which bids were filtered, with the number of bids + * filtered for each reason. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Account ID of the buyer. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the filter set to apply. */ + filterSetId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Requested page size. The server may return fewer results than requested. + * If unspecified, the server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. + * Typically, this is the value of + * ListFilteredBidsResponse.nextPageToken + * returned from the previous call to the + * accounts.filterSets.filteredBids.list + * method. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListFilteredBidsResponse>; + creatives: CreativesResource; + details: DetailsResource; + } + interface ImpressionMetricsResource { + /** Lists all metrics that are measured in terms of number of impressions. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Account ID of the buyer. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the filter set to apply. */ + filterSetId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Requested page size. The server may return fewer results than requested. + * If unspecified, the server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. + * Typically, this is the value of + * ListImpressionMetricsResponse.nextPageToken + * returned from the previous call to the + * accounts.filterSets.impressionMetrics.list + * method. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListImpressionMetricsResponse>; + } + interface LosingBidsResource { + /** + * List all reasons for which bids lost in the auction, with the number of + * bids that lost for each reason. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Account ID of the buyer. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the filter set to apply. */ + filterSetId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Requested page size. The server may return fewer results than requested. + * If unspecified, the server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. + * Typically, this is the value of + * ListLosingBidsResponse.nextPageToken + * returned from the previous call to the + * accounts.filterSets.losingBids.list + * method. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListLosingBidsResponse>; + } + interface NonBillableWinningBidsResource { + /** + * List all reasons for which winning bids were not billable, with the number + * of bids not billed for each reason. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Account ID of the buyer. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the filter set to apply. */ + filterSetId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Requested page size. The server may return fewer results than requested. + * If unspecified, the server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. + * Typically, this is the value of + * ListNonBillableWinningBidsResponse.nextPageToken + * returned from the previous call to the + * accounts.filterSets.nonBillableWinningBids.list + * method. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListNonBillableWinningBidsResponse>; + } + interface FilterSetsResource { + /** Creates the specified filter set for the account with the given account ID. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Account ID of the buyer. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Whether the filter set is transient, or should be persisted indefinitely. + * By default, filter sets are not transient. + * If transient, it will be available for at least 1 hour after creation. + */ + isTransient?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<FilterSet>; + /** + * Deletes the requested filter set from the account with the given account + * ID. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Account ID of the buyer. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the filter set to delete. */ + filterSetId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Retrieves the requested filter set for the account with the given account + * ID. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Account ID of the buyer. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the filter set to get. */ + filterSetId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<FilterSet>; + /** Lists all filter sets for the account with the given account ID. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Account ID of the buyer. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Requested page size. The server may return fewer results than requested. + * If unspecified, the server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. + * Typically, this is the value of + * ListFilterSetsResponse.nextPageToken + * returned from the previous call to the + * accounts.filterSets.list + * method. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListFilterSetsResponse>; + bidMetrics: BidMetricsResource; + bidResponseErrors: BidResponseErrorsResource; + bidResponsesWithoutBids: BidResponsesWithoutBidsResource; + filteredBidRequests: FilteredBidRequestsResource; + filteredBids: FilteredBidsResource; + impressionMetrics: ImpressionMetricsResource; + losingBids: LosingBidsResource; + nonBillableWinningBids: NonBillableWinningBidsResource; + } + interface AccountsResource { + clients: ClientsResource; + creatives: CreativesResource; + filterSets: FilterSetsResource; + } + } +} diff --git a/types/gapi.client.adexchangebuyer2/readme.md b/types/gapi.client.adexchangebuyer2/readme.md new file mode 100644 index 0000000000..92b3f3fb30 --- /dev/null +++ b/types/gapi.client.adexchangebuyer2/readme.md @@ -0,0 +1,54 @@ +# TypeScript typings for Ad Exchange Buyer API II v2beta1 +Accesses the latest features for managing Ad Exchange accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals. +For detailed description please check [documentation](https://developers.google.com/ad-exchange/buyer-rest/reference/rest/). + +## Installing + +Install typings for Ad Exchange Buyer API II: +``` +npm install @types/gapi.client.adexchangebuyer2@v2beta1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('adexchangebuyer2', 'v2beta1', () => { + // now we can use gapi.client.adexchangebuyer2 + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage your Ad Exchange buyer account configuration + 'https://www.googleapis.com/auth/adexchange.buyer', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Ad Exchange Buyer API II resources: + +```typescript +``` \ No newline at end of file diff --git a/types/gapi.client.adexchangebuyer2/tsconfig.json b/types/gapi.client.adexchangebuyer2/tsconfig.json new file mode 100644 index 0000000000..453ca167ee --- /dev/null +++ b/types/gapi.client.adexchangebuyer2/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.adexchangebuyer2-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.adexchangebuyer2/tslint.json b/types/gapi.client.adexchangebuyer2/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.adexchangebuyer2/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.adexchangeseller/gapi.client.adexchangeseller-tests.ts b/types/gapi.client.adexchangeseller/gapi.client.adexchangeseller-tests.ts new file mode 100644 index 0000000000..69d7e2feec --- /dev/null +++ b/types/gapi.client.adexchangeseller/gapi.client.adexchangeseller-tests.ts @@ -0,0 +1,43 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('adexchangeseller', 'v2.0', () => { + /** now we can use gapi.client.adexchangeseller */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your Ad Exchange data */ + 'https://www.googleapis.com/auth/adexchange.seller', + /** View your Ad Exchange data */ + 'https://www.googleapis.com/auth/adexchange.seller.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Get information about the selected Ad Exchange account. */ + await gapi.client.accounts.get({ + accountId: "accountId", + }); + /** List all accounts available to this Ad Exchange account. */ + await gapi.client.accounts.list({ + maxResults: 1, + pageToken: "pageToken", + }); + } +}); diff --git a/types/gapi.client.adexchangeseller/index.d.ts b/types/gapi.client.adexchangeseller/index.d.ts new file mode 100644 index 0000000000..dd327ed5ae --- /dev/null +++ b/types/gapi.client.adexchangeseller/index.d.ts @@ -0,0 +1,664 @@ +// Type definitions for Google Ad Exchange Seller API v2.0 2.0 +// Project: https://developers.google.com/ad-exchange/seller-rest/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/adexchangeseller/v2.0/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Ad Exchange Seller API v2.0 */ + function load(name: "adexchangeseller", version: "v2.0"): PromiseLike<void>; + function load(name: "adexchangeseller", version: "v2.0", callback: () => any): void; + + const accounts: adexchangeseller.AccountsResource; + + namespace adexchangeseller { + interface Account { + /** Unique identifier of this account. */ + id?: string; + /** Kind of resource this is, in this case adexchangeseller#account. */ + kind?: string; + /** Name of this account. */ + name?: string; + } + interface Accounts { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The accounts returned in this list response. */ + items?: Account[]; + /** Kind of list this is, in this case adexchangeseller#accounts. */ + kind?: string; + /** Continuation token used to page through accounts. To retrieve the next page of results, set the next request's "pageToken" value to this. */ + nextPageToken?: string; + } + interface AdClient { + /** Whether this ad client is opted in to ARC. */ + arcOptIn?: boolean; + /** Unique identifier of this ad client. */ + id?: string; + /** Kind of resource this is, in this case adexchangeseller#adClient. */ + kind?: string; + /** This ad client's product code, which corresponds to the PRODUCT_CODE report dimension. */ + productCode?: string; + /** Whether this ad client supports being reported on. */ + supportsReporting?: boolean; + } + interface AdClients { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The ad clients returned in this list response. */ + items?: AdClient[]; + /** Kind of list this is, in this case adexchangeseller#adClients. */ + kind?: string; + /** Continuation token used to page through ad clients. To retrieve the next page of results, set the next request's "pageToken" value to this. */ + nextPageToken?: string; + } + interface Alert { + /** Unique identifier of this alert. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format. */ + id?: string; + /** Kind of resource this is, in this case adexchangeseller#alert. */ + kind?: string; + /** The localized alert message. */ + message?: string; + /** Severity of this alert. Possible values: INFO, WARNING, SEVERE. */ + severity?: string; + /** + * Type of this alert. Possible values: SELF_HOLD, MIGRATED_TO_BILLING3, ADDRESS_PIN_VERIFICATION, PHONE_PIN_VERIFICATION, CORPORATE_ENTITY, + * GRAYLISTED_PUBLISHER, API_HOLD. + */ + type?: string; + } + interface Alerts { + /** The alerts returned in this list response. */ + items?: Alert[]; + /** Kind of list this is, in this case adexchangeseller#alerts. */ + kind?: string; + } + interface CustomChannel { + /** Code of this custom channel, not necessarily unique across ad clients. */ + code?: string; + /** Unique identifier of this custom channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format. */ + id?: string; + /** Kind of resource this is, in this case adexchangeseller#customChannel. */ + kind?: string; + /** Name of this custom channel. */ + name?: string; + /** The targeting information of this custom channel, if activated. */ + targetingInfo?: { + /** The name used to describe this channel externally. */ + adsAppearOn?: string; + /** The external description of the channel. */ + description?: string; + /** + * The locations in which ads appear. (Only valid for content and mobile content ads). Acceptable values for content ads are: TOP_LEFT, TOP_CENTER, + * TOP_RIGHT, MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT, BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT, MULTIPLE_LOCATIONS. Acceptable values for mobile content + * ads are: TOP, MIDDLE, BOTTOM, MULTIPLE_LOCATIONS. + */ + location?: string; + /** The language of the sites ads will be displayed on. */ + siteLanguage?: string; + }; + } + interface CustomChannels { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The custom channels returned in this list response. */ + items?: CustomChannel[]; + /** Kind of list this is, in this case adexchangeseller#customChannels. */ + kind?: string; + /** Continuation token used to page through custom channels. To retrieve the next page of results, set the next request's "pageToken" value to this. */ + nextPageToken?: string; + } + interface Metadata { + items?: ReportingMetadataEntry[]; + /** Kind of list this is, in this case adexchangeseller#metadata. */ + kind?: string; + } + interface PreferredDeal { + /** The name of the advertiser this deal is for. */ + advertiserName?: string; + /** The name of the buyer network this deal is for. */ + buyerNetworkName?: string; + /** The currency code that applies to the fixed_cpm value. If not set then assumed to be USD. */ + currencyCode?: string; + /** Time when this deal stops being active in seconds since the epoch (GMT). If not set then this deal is valid until manually disabled by the publisher. */ + endTime?: string; + /** + * The fixed price for this preferred deal. In cpm micros of currency according to currencyCode. If set, then this preferred deal is eligible for the + * fixed price tier of buying (highest priority, pay exactly the configured fixed price). + */ + fixedCpm?: string; + /** Unique identifier of this preferred deal. */ + id?: string; + /** Kind of resource this is, in this case adexchangeseller#preferredDeal. */ + kind?: string; + /** Time when this deal becomes active in seconds since the epoch (GMT). If not set then this deal is active immediately upon creation. */ + startTime?: string; + } + interface PreferredDeals { + /** The preferred deals returned in this list response. */ + items?: PreferredDeal[]; + /** Kind of list this is, in this case adexchangeseller#preferredDeals. */ + kind?: string; + } + interface Report { + /** The averages of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty. */ + averages?: string[]; + /** + * The header information of the columns requested in the report. This is a list of headers; one for each dimension in the request, followed by one for + * each metric in the request. + */ + headers?: Array<{ + /** The currency of this column. Only present if the header type is METRIC_CURRENCY. */ + currency?: string; + /** The name of the header. */ + name?: string; + /** The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or METRIC_CURRENCY. */ + type?: string; + }>; + /** Kind this is, in this case adexchangeseller#report. */ + kind?: string; + /** + * The output rows of the report. Each row is a list of cells; one for each dimension in the request, followed by one for each metric in the request. The + * dimension cells contain strings, and the metric cells contain numbers. + */ + rows?: string[][]; + /** + * The total number of rows matched by the report request. Fewer rows may be returned in the response due to being limited by the row count requested or + * the report row limit. + */ + totalMatchedRows?: string; + /** The totals of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty. */ + totals?: string[]; + /** Any warnings associated with generation of the report. */ + warnings?: string[]; + } + interface ReportingMetadataEntry { + /** + * For metrics this is a list of dimension IDs which the metric is compatible with, for dimensions it is a list of compatibility groups the dimension + * belongs to. + */ + compatibleDimensions?: string[]; + /** The names of the metrics the dimension or metric this reporting metadata entry describes is compatible with. */ + compatibleMetrics?: string[]; + /** Unique identifier of this reporting metadata entry, corresponding to the name of the appropriate dimension or metric. */ + id?: string; + /** Kind of resource this is, in this case adexchangeseller#reportingMetadataEntry. */ + kind?: string; + /** + * The names of the dimensions which the dimension or metric this reporting metadata entry describes requires to also be present in order for the report + * to be valid. Omitting these will not cause an error or warning, but may result in data which cannot be correctly interpreted. + */ + requiredDimensions?: string[]; + /** + * The names of the metrics which the dimension or metric this reporting metadata entry describes requires to also be present in order for the report to + * be valid. Omitting these will not cause an error or warning, but may result in data which cannot be correctly interpreted. + */ + requiredMetrics?: string[]; + /** The codes of the projects supported by the dimension or metric this reporting metadata entry describes. */ + supportedProducts?: string[]; + } + interface SavedReport { + /** Unique identifier of this saved report. */ + id?: string; + /** Kind of resource this is, in this case adexchangeseller#savedReport. */ + kind?: string; + /** This saved report's name. */ + name?: string; + } + interface SavedReports { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The saved reports returned in this list response. */ + items?: SavedReport[]; + /** Kind of list this is, in this case adexchangeseller#savedReports. */ + kind?: string; + /** Continuation token used to page through saved reports. To retrieve the next page of results, set the next request's "pageToken" value to this. */ + nextPageToken?: string; + } + interface UrlChannel { + /** Unique identifier of this URL channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format. */ + id?: string; + /** Kind of resource this is, in this case adexchangeseller#urlChannel. */ + kind?: string; + /** URL Pattern of this URL channel. Does not include "http://" or "https://". Example: www.example.com/home */ + urlPattern?: string; + } + interface UrlChannels { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The URL channels returned in this list response. */ + items?: UrlChannel[]; + /** Kind of list this is, in this case adexchangeseller#urlChannels. */ + kind?: string; + /** Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's "pageToken" value to this. */ + nextPageToken?: string; + } + interface AdclientsResource { + /** List all ad clients in this Ad Exchange account. */ + list(request: { + /** Account to which the ad client belongs. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of ad clients to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous + * response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdClients>; + } + interface AlertsResource { + /** List the alerts for this Ad Exchange account. */ + list(request: { + /** Account owning the alerts. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The locale to use for translating alert messages. The account locale will be used if this is not supplied. The AdSense default (English) will be used + * if the supplied locale is invalid or unsupported. + */ + locale?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Alerts>; + } + interface CustomchannelsResource { + /** Get the specified custom channel from the specified ad client. */ + get(request: { + /** Account to which the ad client belongs. */ + accountId: string; + /** Ad client which contains the custom channel. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Custom channel to retrieve. */ + customChannelId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CustomChannel>; + /** List all custom channels in the specified ad client for this Ad Exchange account. */ + list(request: { + /** Account to which the ad client belongs. */ + accountId: string; + /** Ad client for which to list custom channels. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of custom channels to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the + * previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CustomChannels>; + } + interface DimensionsResource { + /** List the metadata for the dimensions available to this AdExchange account. */ + list(request: { + /** Account with visibility to the dimensions. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Metadata>; + } + interface MetricsResource { + /** List the metadata for the metrics available to this AdExchange account. */ + list(request: { + /** Account with visibility to the metrics. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Metadata>; + } + interface MetadataResource { + dimensions: DimensionsResource; + metrics: MetricsResource; + } + interface PreferreddealsResource { + /** Get information about the selected Ad Exchange Preferred Deal. */ + get(request: { + /** Account owning the deal. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Preferred deal to get information about. */ + dealId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PreferredDeal>; + /** List the preferred deals for this Ad Exchange account. */ + list(request: { + /** Account owning the deals. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PreferredDeals>; + } + interface SavedResource { + /** Generate an Ad Exchange report based on the saved report ID sent in the query parameters. */ + generate(request: { + /** Account owning the saved report. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Optional locale to use for translating report output to a local language. Defaults to "en_US" if not specified. */ + locale?: string; + /** The maximum number of rows of report data to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The saved report to retrieve. */ + savedReportId: string; + /** Index of the first row of report data to return. */ + startIndex?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Report>; + /** List all saved reports in this Ad Exchange account. */ + list(request: { + /** Account owning the saved reports. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of saved reports to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through saved reports. To retrieve the next page, set this parameter to the value of "nextPageToken" from the + * previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SavedReports>; + } + interface ReportsResource { + /** + * Generate an Ad Exchange report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format + * specify "alt=csv" as a query parameter. + */ + generate(request: { + /** Account which owns the generated report. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Dimensions to base the report on. */ + dimension?: string; + /** End of the date range to report on in "YYYY-MM-DD" format, inclusive. */ + endDate: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Filters to be run on the report. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Optional locale to use for translating report output to a local language. Defaults to "en_US" if not specified. */ + locale?: string; + /** The maximum number of rows of report data to return. */ + maxResults?: number; + /** Numeric columns to include in the report. */ + metric?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The name of a dimension or metric to sort the resulting report on, optionally prefixed with "+" to sort ascending or "-" to sort descending. If no + * prefix is specified, the column is sorted ascending. + */ + sort?: string; + /** Start of the date range to report on in "YYYY-MM-DD" format, inclusive. */ + startDate: string; + /** Index of the first row of report data to return. */ + startIndex?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Report>; + saved: SavedResource; + } + interface UrlchannelsResource { + /** List all URL channels in the specified ad client for this Ad Exchange account. */ + list(request: { + /** Account to which the ad client belongs. */ + accountId: string; + /** Ad client for which to list URL channels. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of URL channels to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through URL channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the + * previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UrlChannels>; + } + interface AccountsResource { + /** Get information about the selected Ad Exchange account. */ + get(request: { + /** Account to get information about. Tip: 'myaccount' is a valid ID. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Account>; + /** List all accounts available to this Ad Exchange account. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of accounts to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through accounts. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous + * response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Accounts>; + adclients: AdclientsResource; + alerts: AlertsResource; + customchannels: CustomchannelsResource; + metadata: MetadataResource; + preferreddeals: PreferreddealsResource; + reports: ReportsResource; + urlchannels: UrlchannelsResource; + } + } +} diff --git a/types/gapi.client.adexchangeseller/readme.md b/types/gapi.client.adexchangeseller/readme.md new file mode 100644 index 0000000000..5519aa798f --- /dev/null +++ b/types/gapi.client.adexchangeseller/readme.md @@ -0,0 +1,67 @@ +# TypeScript typings for Ad Exchange Seller API v2.0 +Accesses the inventory of Ad Exchange seller users and generates reports. +For detailed description please check [documentation](https://developers.google.com/ad-exchange/seller-rest/). + +## Installing + +Install typings for Ad Exchange Seller API: +``` +npm install @types/gapi.client.adexchangeseller@v2.0 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('adexchangeseller', 'v2.0', () => { + // now we can use gapi.client.adexchangeseller + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your Ad Exchange data + 'https://www.googleapis.com/auth/adexchange.seller', + + // View your Ad Exchange data + 'https://www.googleapis.com/auth/adexchange.seller.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Ad Exchange Seller API resources: + +```typescript + +/* +Get information about the selected Ad Exchange account. +*/ +await gapi.client.accounts.get({ accountId: "accountId", }); + +/* +List all accounts available to this Ad Exchange account. +*/ +await gapi.client.accounts.list({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.adexchangeseller/tsconfig.json b/types/gapi.client.adexchangeseller/tsconfig.json new file mode 100644 index 0000000000..a38d57f5b8 --- /dev/null +++ b/types/gapi.client.adexchangeseller/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.adexchangeseller-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.adexchangeseller/tslint.json b/types/gapi.client.adexchangeseller/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.adexchangeseller/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.adexperiencereport/gapi.client.adexperiencereport-tests.ts b/types/gapi.client.adexperiencereport/gapi.client.adexperiencereport-tests.ts new file mode 100644 index 0000000000..f621a79da0 --- /dev/null +++ b/types/gapi.client.adexperiencereport/gapi.client.adexperiencereport-tests.ts @@ -0,0 +1,39 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('adexperiencereport', 'v1', () => { + /** now we can use gapi.client.adexperiencereport */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Test scope for access to the Zoo service */ + 'https://www.googleapis.com/auth/xapi.zoo', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Gets a summary of the ad experience rating of a site. */ + await gapi.client.sites.get({ + name: "name", + }); + /** Lists sites with Ad Experience Report statuses of "Failing" or "Warning". */ + await gapi.client.violatingSites.list({ + }); + } +}); diff --git a/types/gapi.client.adexperiencereport/index.d.ts b/types/gapi.client.adexperiencereport/index.d.ts new file mode 100644 index 0000000000..8258568b1d --- /dev/null +++ b/types/gapi.client.adexperiencereport/index.d.ts @@ -0,0 +1,125 @@ +// Type definitions for Google Google Ad Experience Report API v1 1.0 +// Project: https://developers.google.com/ad-experience-report/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://adexperiencereport.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Ad Experience Report API v1 */ + function load(name: "adexperiencereport", version: "v1"): PromiseLike<void>; + function load(name: "adexperiencereport", version: "v1", callback: () => any): void; + + const sites: adexperiencereport.SitesResource; + + const violatingSites: adexperiencereport.ViolatingSitesResource; + + namespace adexperiencereport { + interface PlatformSummary { + /** The status of the site reviewed for the Better Ads Standards. */ + betterAdsStatus?: string; + /** The date on which ad filtering begins. */ + enforcementTime?: string; + /** The ad filtering status of the site. */ + filterStatus?: string; + /** The last time that the site changed status. */ + lastChangeTime?: string; + /** The assigned regions for the site and platform. */ + region?: string[]; + /** A link that leads to a full ad experience report. */ + reportUrl?: string; + /** Whether the site is currently under review. */ + underReview?: boolean; + } + interface SiteSummaryResponse { + /** Summary for the desktop review of the site. */ + desktopSummary?: PlatformSummary; + /** Summary for the mobile review of the site. */ + mobileSummary?: PlatformSummary; + /** The name of the site reviewed. */ + reviewedSite?: string; + } + interface ViolatingSitesResponse { + /** A list of summaries of violating sites. */ + violatingSites?: SiteSummaryResponse[]; + } + interface SitesResource { + /** Gets a summary of the ad experience rating of a site. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The required site name. It should be the site property whose ad experiences + * may have been reviewed, and it should be URL-encoded. For example, + * sites/https%3A%2F%2Fwww.google.com. The server will return an error of + * BAD_REQUEST if this field is not filled in. Note that if the site property + * is not yet verified in Search Console, the reportUrl field returned by the + * API will lead to the verification page, prompting the user to go through + * that process before they can gain access to the Ad Experience Report. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SiteSummaryResponse>; + } + interface ViolatingSitesResource { + /** Lists sites with Ad Experience Report statuses of "Failing" or "Warning". */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ViolatingSitesResponse>; + } + } +} diff --git a/types/gapi.client.adexperiencereport/readme.md b/types/gapi.client.adexperiencereport/readme.md new file mode 100644 index 0000000000..fff8e09ccf --- /dev/null +++ b/types/gapi.client.adexperiencereport/readme.md @@ -0,0 +1,64 @@ +# TypeScript typings for Google Ad Experience Report API v1 +View Ad Experience Report data, and get a list of sites that have a significant number of annoying ads. +For detailed description please check [documentation](https://developers.google.com/ad-experience-report/). + +## Installing + +Install typings for Google Ad Experience Report API: +``` +npm install @types/gapi.client.adexperiencereport@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('adexperiencereport', 'v1', () => { + // now we can use gapi.client.adexperiencereport + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Test scope for access to the Zoo service + 'https://www.googleapis.com/auth/xapi.zoo', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Ad Experience Report API resources: + +```typescript + +/* +Gets a summary of the ad experience rating of a site. +*/ +await gapi.client.sites.get({ name: "name", }); + +/* +Lists sites with Ad Experience Report statuses of "Failing" or "Warning". +*/ +await gapi.client.violatingSites.list({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.adexperiencereport/tsconfig.json b/types/gapi.client.adexperiencereport/tsconfig.json new file mode 100644 index 0000000000..968c080cf9 --- /dev/null +++ b/types/gapi.client.adexperiencereport/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.adexperiencereport-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.adexperiencereport/tslint.json b/types/gapi.client.adexperiencereport/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.adexperiencereport/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.admin/gapi.client.admin-tests.ts b/types/gapi.client.admin/gapi.client.admin-tests.ts new file mode 100644 index 0000000000..698cf0d218 --- /dev/null +++ b/types/gapi.client.admin/gapi.client.admin-tests.ts @@ -0,0 +1,80 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('admin', 'reports_v1', () => { + /** now we can use gapi.client.admin */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View audit reports for your G Suite domain */ + 'https://www.googleapis.com/auth/admin.reports.audit.readonly', + /** View usage reports for your G Suite domain */ + 'https://www.googleapis.com/auth/admin.reports.usage.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Retrieves a list of activities for a specific customer and application. */ + await gapi.client.activities.list({ + actorIpAddress: "actorIpAddress", + applicationName: "applicationName", + customerId: "customerId", + endTime: "endTime", + eventName: "eventName", + filters: "filters", + maxResults: 7, + pageToken: "pageToken", + startTime: "startTime", + userKey: "userKey", + }); + /** Push changes to activities */ + await gapi.client.activities.watch({ + actorIpAddress: "actorIpAddress", + applicationName: "applicationName", + customerId: "customerId", + endTime: "endTime", + eventName: "eventName", + filters: "filters", + maxResults: 7, + pageToken: "pageToken", + startTime: "startTime", + userKey: "userKey", + }); + /** Stop watching resources through this channel */ + await gapi.client.channels.stop({ + }); + /** Retrieves a report which is a collection of properties / statistics for a specific customer. */ + await gapi.client.customerUsageReports.get({ + customerId: "customerId", + date: "date", + pageToken: "pageToken", + parameters: "parameters", + }); + /** Retrieves a report which is a collection of properties / statistics for a set of users. */ + await gapi.client.userUsageReport.get({ + customerId: "customerId", + date: "date", + filters: "filters", + maxResults: 4, + pageToken: "pageToken", + parameters: "parameters", + userKey: "userKey", + }); + } +}); diff --git a/types/gapi.client.admin/index.d.ts b/types/gapi.client.admin/index.d.ts new file mode 100644 index 0000000000..9e82b6a06c --- /dev/null +++ b/types/gapi.client.admin/index.d.ts @@ -0,0 +1,349 @@ +// Type definitions for Google Admin Reports API reports_v1 1.0 +// Project: https://developers.google.com/admin-sdk/reports/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/admin/reports_v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Admin Reports API reports_v1 */ + function load(name: "admin", version: "reports_v1"): PromiseLike<void>; + function load(name: "admin", version: "reports_v1", callback: () => any): void; + + const activities: admin.ActivitiesResource; + + const channels: admin.ChannelsResource; + + const customerUsageReports: admin.CustomerUsageReportsResource; + + const userUsageReport: admin.UserUsageReportResource; + + namespace admin { + interface Activities { + /** ETag of the resource. */ + etag?: string; + /** Each record in read response. */ + items?: Activity[]; + /** Kind of list response this is. */ + kind?: string; + /** Token for retrieving the next page */ + nextPageToken?: string; + } + interface Activity { + /** User doing the action. */ + actor?: { + /** User or OAuth 2LO request. */ + callerType?: string; + /** Email address of the user. */ + email?: string; + /** For OAuth 2LO API requests, consumer_key of the requestor. */ + key?: string; + /** Obfuscated user id of the user. */ + profileId?: string; + }; + /** ETag of the entry. */ + etag?: string; + /** Activity events. */ + events?: Array<{ + /** Name of event. */ + name?: string; + /** Parameter value pairs for various applications. */ + parameters?: Array<{ + /** Boolean value of the parameter. */ + boolValue?: boolean; + /** Integral value of the parameter. */ + intValue?: string; + /** Multi-int value of the parameter. */ + multiIntValue?: string[]; + /** Multi-string value of the parameter. */ + multiValue?: string[]; + /** The name of the parameter. */ + name?: string; + /** String value of the parameter. */ + value?: string; + }>; + /** Type of event. */ + type?: string; + }>; + /** Unique identifier for each activity record. */ + id?: { + /** Application name to which the event belongs. */ + applicationName?: string; + /** Obfuscated customer ID of the source customer. */ + customerId?: string; + /** Time of occurrence of the activity. */ + time?: string; + /** Unique qualifier if multiple events have the same time. */ + uniqueQualifier?: string; + }; + /** IP Address of the user doing the action. */ + ipAddress?: string; + /** Kind of resource this is. */ + kind?: string; + /** Domain of source customer. */ + ownerDomain?: string; + } + interface Channel { + /** The address where notifications are delivered for this channel. */ + address?: string; + /** Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional. */ + expiration?: string; + /** A UUID or similar unique string that identifies this channel. */ + id?: string; + /** Identifies this as a notification channel used to watch for changes to a resource. Value: the fixed string "api#channel". */ + kind?: string; + /** Additional parameters controlling delivery channel behavior. Optional. */ + params?: Record<string, string>; + /** A Boolean value to indicate whether payload is wanted. Optional. */ + payload?: boolean; + /** An opaque ID that identifies the resource being watched on this channel. Stable across different API versions. */ + resourceId?: string; + /** A version-specific identifier for the watched resource. */ + resourceUri?: string; + /** An arbitrary string delivered to the target address with each notification delivered over this channel. Optional. */ + token?: string; + /** The type of delivery mechanism used for this channel. */ + type?: string; + } + interface UsageReport { + /** The date to which the record belongs. */ + date?: string; + /** Information about the type of the item. */ + entity?: { + /** Obfuscated customer id for the record. */ + customerId?: string; + /** Obfuscated user id for the record. */ + profileId?: string; + /** The type of item, can be a customer or user. */ + type?: string; + /** user's email. */ + userEmail?: string; + }; + /** ETag of the resource. */ + etag?: string; + /** The kind of object. */ + kind?: string; + /** Parameter value pairs for various applications. */ + parameters?: Array<{ + /** Boolean value of the parameter. */ + boolValue?: boolean; + /** RFC 3339 formatted value of the parameter. */ + datetimeValue?: string; + /** Integral value of the parameter. */ + intValue?: string; + /** Nested message value of the parameter. */ + msgValue?: Array<Record<string, any>>; + /** The name of the parameter. */ + name?: string; + /** String value of the parameter. */ + stringValue?: string; + }>; + } + interface UsageReports { + /** ETag of the resource. */ + etag?: string; + /** The kind of object. */ + kind?: string; + /** Token for retrieving the next page */ + nextPageToken?: string; + /** Various application parameter records. */ + usageReports?: UsageReport[]; + /** Warnings if any. */ + warnings?: Array<{ + /** Machine readable code / warning type. */ + code?: string; + /** Key-Value pairs to give detailed information on the warning. */ + data?: Array<{ + /** Key associated with a key-value pair to give detailed information on the warning. */ + key?: string; + /** Value associated with a key-value pair to give detailed information on the warning. */ + value?: string; + }>; + /** Human readable message for the warning. */ + message?: string; + }>; + } + interface ActivitiesResource { + /** Retrieves a list of activities for a specific customer and application. */ + list(request: { + /** IP Address of host where the event was performed. Supports both IPv4 and IPv6 addresses. */ + actorIpAddress?: string; + /** Data format for the response. */ + alt?: string; + /** Application name for which the events are to be retrieved. */ + applicationName: string; + /** Represents the customer for which the data is to be fetched. */ + customerId?: string; + /** Return events which occurred at or before this time. */ + endTime?: string; + /** Name of the event being queried. */ + eventName?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Event parameters in the form [parameter1 name][operator][parameter1 value],[parameter2 name][operator][parameter2 value],... */ + filters?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Number of activity records to be shown in each page. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Token to specify next page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Return events which occurred at or after this time. */ + startTime?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** + * Represents the profile id or the user email for which the data should be filtered. When 'all' is specified as the userKey, it returns usageReports for + * all users. + */ + userKey: string; + }): Request<Activities>; + /** Push changes to activities */ + watch(request: { + /** IP Address of host where the event was performed. Supports both IPv4 and IPv6 addresses. */ + actorIpAddress?: string; + /** Data format for the response. */ + alt?: string; + /** Application name for which the events are to be retrieved. */ + applicationName: string; + /** Represents the customer for which the data is to be fetched. */ + customerId?: string; + /** Return events which occurred at or before this time. */ + endTime?: string; + /** Name of the event being queried. */ + eventName?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Event parameters in the form [parameter1 name][operator][parameter1 value],[parameter2 name][operator][parameter2 value],... */ + filters?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Number of activity records to be shown in each page. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Token to specify next page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Return events which occurred at or after this time. */ + startTime?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** + * Represents the profile id or the user email for which the data should be filtered. When 'all' is specified as the userKey, it returns usageReports for + * all users. + */ + userKey: string; + }): Request<Channel>; + } + interface ChannelsResource { + /** Stop watching resources through this channel */ + stop(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface CustomerUsageReportsResource { + /** Retrieves a report which is a collection of properties / statistics for a specific customer. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Represents the customer for which the data is to be fetched. */ + customerId?: string; + /** Represents the date in yyyy-mm-dd format for which the data is to be fetched. */ + date: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Token to specify next page. */ + pageToken?: string; + /** Represents the application name, parameter name pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2. */ + parameters?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UsageReports>; + } + interface UserUsageReportResource { + /** Retrieves a report which is a collection of properties / statistics for a set of users. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Represents the customer for which the data is to be fetched. */ + customerId?: string; + /** Represents the date in yyyy-mm-dd format for which the data is to be fetched. */ + date: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Represents the set of filters including parameter operator value. */ + filters?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. Maximum allowed is 1000 */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Token to specify next page. */ + pageToken?: string; + /** Represents the application name, parameter name pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2. */ + parameters?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Represents the profile id or the user email for which the data should be filtered. */ + userKey: string; + }): Request<UsageReports>; + } + } +} diff --git a/types/gapi.client.admin/readme.md b/types/gapi.client.admin/readme.md new file mode 100644 index 0000000000..680dfa99f9 --- /dev/null +++ b/types/gapi.client.admin/readme.md @@ -0,0 +1,82 @@ +# TypeScript typings for Admin Reports API reports_v1 +Fetches reports for the administrators of G Suite customers about the usage, collaboration, security, and risk for their users. +For detailed description please check [documentation](https://developers.google.com/admin-sdk/reports/). + +## Installing + +Install typings for Admin Reports API: +``` +npm install @types/gapi.client.admin@reports_v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('admin', 'reports_v1', () => { + // now we can use gapi.client.admin + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View audit reports for your G Suite domain + 'https://www.googleapis.com/auth/admin.reports.audit.readonly', + + // View usage reports for your G Suite domain + 'https://www.googleapis.com/auth/admin.reports.usage.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Admin Reports API resources: + +```typescript + +/* +Retrieves a list of activities for a specific customer and application. +*/ +await gapi.client.activities.list({ applicationName: "applicationName", userKey: "userKey", }); + +/* +Push changes to activities +*/ +await gapi.client.activities.watch({ applicationName: "applicationName", userKey: "userKey", }); + +/* +Stop watching resources through this channel +*/ +await gapi.client.channels.stop({ }); + +/* +Retrieves a report which is a collection of properties / statistics for a specific customer. +*/ +await gapi.client.customerUsageReports.get({ date: "date", }); + +/* +Retrieves a report which is a collection of properties / statistics for a set of users. +*/ +await gapi.client.userUsageReport.get({ date: "date", userKey: "userKey", }); +``` \ No newline at end of file diff --git a/types/gapi.client.admin/tsconfig.json b/types/gapi.client.admin/tsconfig.json new file mode 100644 index 0000000000..840f1feb2d --- /dev/null +++ b/types/gapi.client.admin/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.admin-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.admin/tslint.json b/types/gapi.client.admin/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.admin/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.adsense/gapi.client.adsense-tests.ts b/types/gapi.client.adsense/gapi.client.adsense-tests.ts new file mode 100644 index 0000000000..92e9643ad3 --- /dev/null +++ b/types/gapi.client.adsense/gapi.client.adsense-tests.ts @@ -0,0 +1,121 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('adsense', 'v1.4', () => { + /** now we can use gapi.client.adsense */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your AdSense data */ + 'https://www.googleapis.com/auth/adsense', + /** View your AdSense data */ + 'https://www.googleapis.com/auth/adsense.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Get information about the selected AdSense account. */ + await gapi.client.accounts.get({ + accountId: "accountId", + tree: true, + }); + /** List all accounts available to this AdSense account. */ + await gapi.client.accounts.list({ + maxResults: 1, + pageToken: "pageToken", + }); + /** List all ad clients in this AdSense account. */ + await gapi.client.adclients.list({ + maxResults: 1, + pageToken: "pageToken", + }); + /** Gets the specified ad unit in the specified ad client. */ + await gapi.client.adunits.get({ + adClientId: "adClientId", + adUnitId: "adUnitId", + }); + /** Get ad code for the specified ad unit. */ + await gapi.client.adunits.getAdCode({ + adClientId: "adClientId", + adUnitId: "adUnitId", + }); + /** List all ad units in the specified ad client for this AdSense account. */ + await gapi.client.adunits.list({ + adClientId: "adClientId", + includeInactive: true, + maxResults: 3, + pageToken: "pageToken", + }); + /** Dismiss (delete) the specified alert from the publisher's AdSense account. */ + await gapi.client.alerts.delete({ + alertId: "alertId", + }); + /** List the alerts for this AdSense account. */ + await gapi.client.alerts.list({ + locale: "locale", + }); + /** Get the specified custom channel from the specified ad client. */ + await gapi.client.customchannels.get({ + adClientId: "adClientId", + customChannelId: "customChannelId", + }); + /** List all custom channels in the specified ad client for this AdSense account. */ + await gapi.client.customchannels.list({ + adClientId: "adClientId", + maxResults: 2, + pageToken: "pageToken", + }); + /** List the payments for this AdSense account. */ + await gapi.client.payments.list({ + }); + /** + * Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format + * specify "alt=csv" as a query parameter. + */ + await gapi.client.reports.generate({ + accountId: "accountId", + currency: "currency", + dimension: "dimension", + endDate: "endDate", + filter: "filter", + locale: "locale", + maxResults: 7, + metric: "metric", + sort: "sort", + startDate: "startDate", + startIndex: 11, + useTimezoneReporting: true, + }); + /** Get a specific saved ad style from the user's account. */ + await gapi.client.savedadstyles.get({ + savedAdStyleId: "savedAdStyleId", + }); + /** List all saved ad styles in the user's account. */ + await gapi.client.savedadstyles.list({ + maxResults: 1, + pageToken: "pageToken", + }); + /** List all URL channels in the specified ad client for this AdSense account. */ + await gapi.client.urlchannels.list({ + adClientId: "adClientId", + maxResults: 2, + pageToken: "pageToken", + }); + } +}); diff --git a/types/gapi.client.adsense/index.d.ts b/types/gapi.client.adsense/index.d.ts new file mode 100644 index 0000000000..ea9e5fa057 --- /dev/null +++ b/types/gapi.client.adsense/index.d.ts @@ -0,0 +1,1529 @@ +// Type definitions for Google AdSense Management API v1.4 1.4 +// Project: https://developers.google.com/adsense/management/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/adsense/v1.4/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load AdSense Management API v1.4 */ + function load(name: "adsense", version: "v1.4"): PromiseLike<void>; + function load(name: "adsense", version: "v1.4", callback: () => any): void; + + const accounts: adsense.AccountsResource; + + const adclients: adsense.AdclientsResource; + + const adunits: adsense.AdunitsResource; + + const alerts: adsense.AlertsResource; + + const customchannels: adsense.CustomchannelsResource; + + const metadata: adsense.MetadataResource; + + const payments: adsense.PaymentsResource; + + const reports: adsense.ReportsResource; + + const savedadstyles: adsense.SavedadstylesResource; + + const urlchannels: adsense.UrlchannelsResource; + + namespace adsense { + interface Account { + creation_time?: string; + /** Unique identifier of this account. */ + id?: string; + /** Kind of resource this is, in this case adsense#account. */ + kind?: string; + /** Name of this account. */ + name?: string; + /** Whether this account is premium. */ + premium?: boolean; + /** Sub accounts of the this account. */ + subAccounts?: Account[]; + /** AdSense timezone of this account. */ + timezone?: string; + } + interface Accounts { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The accounts returned in this list response. */ + items?: Account[]; + /** Kind of list this is, in this case adsense#accounts. */ + kind?: string; + /** Continuation token used to page through accounts. To retrieve the next page of results, set the next request's "pageToken" value to this. */ + nextPageToken?: string; + } + interface AdClient { + /** Whether this ad client is opted in to ARC. */ + arcOptIn?: boolean; + /** Unique identifier of this ad client. */ + id?: string; + /** Kind of resource this is, in this case adsense#adClient. */ + kind?: string; + /** This ad client's product code, which corresponds to the PRODUCT_CODE report dimension. */ + productCode?: string; + /** Whether this ad client supports being reported on. */ + supportsReporting?: boolean; + } + interface AdClients { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The ad clients returned in this list response. */ + items?: AdClient[]; + /** Kind of list this is, in this case adsense#adClients. */ + kind?: string; + /** Continuation token used to page through ad clients. To retrieve the next page of results, set the next request's "pageToken" value to this. */ + nextPageToken?: string; + } + interface AdCode { + /** The ad code snippet. */ + adCode?: string; + /** Kind this is, in this case adsense#adCode. */ + kind?: string; + } + interface AdStyle { + /** + * The colors which are included in the style. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading + * hash. + */ + colors?: { + /** The color of the ad background. */ + background?: string; + /** The color of the ad border. */ + border?: string; + /** The color of the ad text. */ + text?: string; + /** The color of the ad title. */ + title?: string; + /** The color of the ad url. */ + url?: string; + }; + /** The style of the corners in the ad (deprecated: never populated, ignored). */ + corners?: string; + /** The font which is included in the style. */ + font?: { + /** The family of the font. */ + family?: string; + /** The size of the font. */ + size?: string; + }; + /** Kind this is, in this case adsense#adStyle. */ + kind?: string; + } + interface AdUnit { + /** Identity code of this ad unit, not necessarily unique across ad clients. */ + code?: string; + /** Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated). */ + contentAdsSettings?: { + /** The backup option to be used in instances where no ad is available. */ + backupOption?: { + /** Color to use when type is set to COLOR. */ + color?: string; + /** Type of the backup option. Possible values are BLANK, COLOR and URL. */ + type?: string; + /** URL to use when type is set to URL. */ + url?: string; + }; + /** Size of this ad unit. */ + size?: string; + /** Type of this ad unit. */ + type?: string; + }; + /** Custom style information specific to this ad unit. */ + customStyle?: AdStyle; + /** Settings specific to feed ads (AFF) - deprecated. */ + feedAdsSettings?: { + /** The position of the ads relative to the feed entries. */ + adPosition?: string; + /** The frequency at which ads should appear in the feed (i.e. every N entries). */ + frequency?: number; + /** The minimum length an entry should be in order to have attached ads. */ + minimumWordCount?: number; + /** The type of ads which should appear. */ + type?: string; + }; + /** Unique identifier of this ad unit. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format. */ + id?: string; + /** Kind of resource this is, in this case adsense#adUnit. */ + kind?: string; + /** Settings specific to WAP mobile content ads (AFMC) - deprecated. */ + mobileContentAdsSettings?: { + /** The markup language to use for this ad unit. */ + markupLanguage?: string; + /** The scripting language to use for this ad unit. */ + scriptingLanguage?: string; + /** Size of this ad unit. */ + size?: string; + /** Type of this ad unit. */ + type?: string; + }; + /** Name of this ad unit. */ + name?: string; + /** ID of the saved ad style which holds this ad unit's style information. */ + savedStyleId?: string; + /** + * Status of this ad unit. Possible values are: + * NEW: Indicates that the ad unit was created within the last seven days and does not yet have any activity associated with it. + * + * ACTIVE: Indicates that there has been activity on this ad unit in the last seven days. + * + * INACTIVE: Indicates that there has been no activity on this ad unit in the last seven days. + */ + status?: string; + } + interface AdUnits { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The ad units returned in this list response. */ + items?: AdUnit[]; + /** Kind of list this is, in this case adsense#adUnits. */ + kind?: string; + /** Continuation token used to page through ad units. To retrieve the next page of results, set the next request's "pageToken" value to this. */ + nextPageToken?: string; + } + interface AdsenseReportsGenerateResponse { + /** The averages of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty. */ + averages?: string[]; + /** The requested end date in yyyy-mm-dd format. */ + endDate?: string; + /** + * The header information of the columns requested in the report. This is a list of headers; one for each dimension in the request, followed by one for + * each metric in the request. + */ + headers?: Array<{ + /** The currency of this column. Only present if the header type is METRIC_CURRENCY. */ + currency?: string; + /** The name of the header. */ + name?: string; + /** The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or METRIC_CURRENCY. */ + type?: string; + }>; + /** Kind this is, in this case adsense#report. */ + kind?: string; + /** + * The output rows of the report. Each row is a list of cells; one for each dimension in the request, followed by one for each metric in the request. The + * dimension cells contain strings, and the metric cells contain numbers. + */ + rows?: string[][]; + /** The requested start date in yyyy-mm-dd format. */ + startDate?: string; + /** + * The total number of rows matched by the report request. Fewer rows may be returned in the response due to being limited by the row count requested or + * the report row limit. + */ + totalMatchedRows?: string; + /** The totals of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty. */ + totals?: string[]; + /** Any warnings associated with generation of the report. */ + warnings?: string[]; + } + interface Alert { + /** Unique identifier of this alert. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format. */ + id?: string; + /** Whether this alert can be dismissed. */ + isDismissible?: boolean; + /** Kind of resource this is, in this case adsense#alert. */ + kind?: string; + /** The localized alert message. */ + message?: string; + /** Severity of this alert. Possible values: INFO, WARNING, SEVERE. */ + severity?: string; + /** + * Type of this alert. Possible values: SELF_HOLD, MIGRATED_TO_BILLING3, ADDRESS_PIN_VERIFICATION, PHONE_PIN_VERIFICATION, CORPORATE_ENTITY, + * GRAYLISTED_PUBLISHER, API_HOLD. + */ + type?: string; + } + interface Alerts { + /** The alerts returned in this list response. */ + items?: Alert[]; + /** Kind of list this is, in this case adsense#alerts. */ + kind?: string; + } + interface CustomChannel { + /** Code of this custom channel, not necessarily unique across ad clients. */ + code?: string; + /** Unique identifier of this custom channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format. */ + id?: string; + /** Kind of resource this is, in this case adsense#customChannel. */ + kind?: string; + /** Name of this custom channel. */ + name?: string; + /** The targeting information of this custom channel, if activated. */ + targetingInfo?: { + /** The name used to describe this channel externally. */ + adsAppearOn?: string; + /** The external description of the channel. */ + description?: string; + /** + * The locations in which ads appear. (Only valid for content and mobile content ads (deprecated)). Acceptable values for content ads are: TOP_LEFT, + * TOP_CENTER, TOP_RIGHT, MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT, BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT, MULTIPLE_LOCATIONS. Acceptable values for + * mobile content ads (deprecated) are: TOP, MIDDLE, BOTTOM, MULTIPLE_LOCATIONS. + */ + location?: string; + /** The language of the sites ads will be displayed on. */ + siteLanguage?: string; + }; + } + interface CustomChannels { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The custom channels returned in this list response. */ + items?: CustomChannel[]; + /** Kind of list this is, in this case adsense#customChannels. */ + kind?: string; + /** Continuation token used to page through custom channels. To retrieve the next page of results, set the next request's "pageToken" value to this. */ + nextPageToken?: string; + } + interface Metadata { + items?: ReportingMetadataEntry[]; + /** Kind of list this is, in this case adsense#metadata. */ + kind?: string; + } + interface Payment { + /** Unique identifier of this Payment. */ + id?: string; + /** Kind of resource this is, in this case adsense#payment. */ + kind?: string; + /** The amount to be paid. */ + paymentAmount?: string; + /** The currency code for the amount to be paid. */ + paymentAmountCurrencyCode?: string; + /** The date this payment was/will be credited to the user, or none if the payment threshold has not been met. */ + paymentDate?: string; + } + interface Payments { + /** The list of Payments for the account. One or both of a) the account's most recent payment; and b) the account's upcoming payment. */ + items?: Payment[]; + /** Kind of list this is, in this case adsense#payments. */ + kind?: string; + } + interface ReportingMetadataEntry { + /** + * For metrics this is a list of dimension IDs which the metric is compatible with, for dimensions it is a list of compatibility groups the dimension + * belongs to. + */ + compatibleDimensions?: string[]; + /** The names of the metrics the dimension or metric this reporting metadata entry describes is compatible with. */ + compatibleMetrics?: string[]; + /** Unique identifier of this reporting metadata entry, corresponding to the name of the appropriate dimension or metric. */ + id?: string; + /** Kind of resource this is, in this case adsense#reportingMetadataEntry. */ + kind?: string; + /** + * The names of the dimensions which the dimension or metric this reporting metadata entry describes requires to also be present in order for the report + * to be valid. Omitting these will not cause an error or warning, but may result in data which cannot be correctly interpreted. + */ + requiredDimensions?: string[]; + /** + * The names of the metrics which the dimension or metric this reporting metadata entry describes requires to also be present in order for the report to + * be valid. Omitting these will not cause an error or warning, but may result in data which cannot be correctly interpreted. + */ + requiredMetrics?: string[]; + /** The codes of the projects supported by the dimension or metric this reporting metadata entry describes. */ + supportedProducts?: string[]; + } + interface SavedAdStyle { + /** The AdStyle itself. */ + adStyle?: AdStyle; + /** Unique identifier of this saved ad style. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format. */ + id?: string; + /** Kind of resource this is, in this case adsense#savedAdStyle. */ + kind?: string; + /** The user selected name of this SavedAdStyle. */ + name?: string; + } + interface SavedAdStyles { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The saved ad styles returned in this list response. */ + items?: SavedAdStyle[]; + /** Kind of list this is, in this case adsense#savedAdStyles. */ + kind?: string; + /** Continuation token used to page through ad units. To retrieve the next page of results, set the next request's "pageToken" value to this. */ + nextPageToken?: string; + } + interface SavedReport { + /** Unique identifier of this saved report. */ + id?: string; + /** Kind of resource this is, in this case adsense#savedReport. */ + kind?: string; + /** This saved report's name. */ + name?: string; + } + interface SavedReports { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The saved reports returned in this list response. */ + items?: SavedReport[]; + /** Kind of list this is, in this case adsense#savedReports. */ + kind?: string; + /** Continuation token used to page through saved reports. To retrieve the next page of results, set the next request's "pageToken" value to this. */ + nextPageToken?: string; + } + interface UrlChannel { + /** Unique identifier of this URL channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format. */ + id?: string; + /** Kind of resource this is, in this case adsense#urlChannel. */ + kind?: string; + /** URL Pattern of this URL channel. Does not include "http://" or "https://". Example: www.example.com/home */ + urlPattern?: string; + } + interface UrlChannels { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The URL channels returned in this list response. */ + items?: UrlChannel[]; + /** Kind of list this is, in this case adsense#urlChannels. */ + kind?: string; + /** Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's "pageToken" value to this. */ + nextPageToken?: string; + } + interface AdclientsResource { + /** List all ad clients in the specified account. */ + list(request: { + /** Account for which to list ad clients. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of ad clients to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous + * response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdClients>; + } + interface CustomchannelsResource { + /** List all custom channels which the specified ad unit belongs to. */ + list(request: { + /** Account to which the ad client belongs. */ + accountId: string; + /** Ad client which contains the ad unit. */ + adClientId: string; + /** Ad unit for which to list custom channels. */ + adUnitId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of custom channels to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the + * previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CustomChannels>; + } + interface AdunitsResource { + /** Gets the specified ad unit in the specified ad client for the specified account. */ + get(request: { + /** Account to which the ad client belongs. */ + accountId: string; + /** Ad client for which to get the ad unit. */ + adClientId: string; + /** Ad unit to retrieve. */ + adUnitId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdUnit>; + /** Get ad code for the specified ad unit. */ + getAdCode(request: { + /** Account which contains the ad client. */ + accountId: string; + /** Ad client with contains the ad unit. */ + adClientId: string; + /** Ad unit to get the code for. */ + adUnitId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdCode>; + /** List all ad units in the specified ad client for the specified account. */ + list(request: { + /** Account to which the ad client belongs. */ + accountId: string; + /** Ad client for which to list ad units. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Whether to include inactive ad units. Default: true. */ + includeInactive?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of ad units to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous + * response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdUnits>; + customchannels: CustomchannelsResource; + } + interface AlertsResource { + /** Dismiss (delete) the specified alert from the specified publisher AdSense account. */ + delete(request: { + /** Account which contains the ad unit. */ + accountId: string; + /** Alert to delete. */ + alertId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** List the alerts for the specified AdSense account. */ + list(request: { + /** Account for which to retrieve the alerts. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The locale to use for translating alert messages. The account locale will be used if this is not supplied. The AdSense default (English) will be used + * if the supplied locale is invalid or unsupported. + */ + locale?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Alerts>; + } + interface AdunitsResource { + /** List all ad units in the specified custom channel. */ + list(request: { + /** Account to which the ad client belongs. */ + accountId: string; + /** Ad client which contains the custom channel. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Custom channel for which to list ad units. */ + customChannelId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Whether to include inactive ad units. Default: true. */ + includeInactive?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of ad units to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous + * response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdUnits>; + } + interface CustomchannelsResource { + /** Get the specified custom channel from the specified ad client for the specified account. */ + get(request: { + /** Account to which the ad client belongs. */ + accountId: string; + /** Ad client which contains the custom channel. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Custom channel to retrieve. */ + customChannelId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CustomChannel>; + /** List all custom channels in the specified ad client for the specified account. */ + list(request: { + /** Account to which the ad client belongs. */ + accountId: string; + /** Ad client for which to list custom channels. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of custom channels to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the + * previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CustomChannels>; + adunits: AdunitsResource; + } + interface PaymentsResource { + /** List the payments for the specified AdSense account. */ + list(request: { + /** Account for which to retrieve the payments. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Payments>; + } + interface SavedResource { + /** Generate an AdSense report based on the saved report ID sent in the query parameters. */ + generate(request: { + /** Account to which the saved reports belong. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Optional locale to use for translating report output to a local language. Defaults to "en_US" if not specified. */ + locale?: string; + /** The maximum number of rows of report data to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The saved report to retrieve. */ + savedReportId: string; + /** Index of the first row of report data to return. */ + startIndex?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdsenseReportsGenerateResponse>; + /** List all saved reports in the specified AdSense account. */ + list(request: { + /** Account to which the saved reports belong. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of saved reports to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through saved reports. To retrieve the next page, set this parameter to the value of "nextPageToken" from the + * previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SavedReports>; + } + interface ReportsResource { + /** + * Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format + * specify "alt=csv" as a query parameter. + */ + generate(request: { + /** Account upon which to report. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Optional currency to use when reporting on monetary metrics. Defaults to the account's currency if not set. */ + currency?: string; + /** Dimensions to base the report on. */ + dimension?: string; + /** End of the date range to report on in "YYYY-MM-DD" format, inclusive. */ + endDate: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Filters to be run on the report. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Optional locale to use for translating report output to a local language. Defaults to "en_US" if not specified. */ + locale?: string; + /** The maximum number of rows of report data to return. */ + maxResults?: number; + /** Numeric columns to include in the report. */ + metric?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The name of a dimension or metric to sort the resulting report on, optionally prefixed with "+" to sort ascending or "-" to sort descending. If no + * prefix is specified, the column is sorted ascending. + */ + sort?: string; + /** Start of the date range to report on in "YYYY-MM-DD" format, inclusive. */ + startDate: string; + /** Index of the first row of report data to return. */ + startIndex?: number; + /** Whether the report should be generated in the AdSense account's local timezone. If false default PST/PDT timezone will be used. */ + useTimezoneReporting?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdsenseReportsGenerateResponse>; + saved: SavedResource; + } + interface SavedadstylesResource { + /** List a specific saved ad style for the specified account. */ + get(request: { + /** Account for which to get the saved ad style. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Saved ad style to retrieve. */ + savedAdStyleId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SavedAdStyle>; + /** List all saved ad styles in the specified account. */ + list(request: { + /** Account for which to list saved ad styles. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of saved ad styles to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through saved ad styles. To retrieve the next page, set this parameter to the value of "nextPageToken" from the + * previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SavedAdStyles>; + } + interface UrlchannelsResource { + /** List all URL channels in the specified ad client for the specified account. */ + list(request: { + /** Account to which the ad client belongs. */ + accountId: string; + /** Ad client for which to list URL channels. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of URL channels to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through URL channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the + * previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UrlChannels>; + } + interface AccountsResource { + /** Get information about the selected AdSense account. */ + get(request: { + /** Account to get information about. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether the tree of sub accounts should be returned. */ + tree?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Account>; + /** List all accounts available to this AdSense account. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of accounts to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through accounts. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous + * response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Accounts>; + adclients: AdclientsResource; + adunits: AdunitsResource; + alerts: AlertsResource; + customchannels: CustomchannelsResource; + payments: PaymentsResource; + reports: ReportsResource; + savedadstyles: SavedadstylesResource; + urlchannels: UrlchannelsResource; + } + interface AdclientsResource { + /** List all ad clients in this AdSense account. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of ad clients to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous + * response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdClients>; + } + interface CustomchannelsResource { + /** List all custom channels which the specified ad unit belongs to. */ + list(request: { + /** Ad client which contains the ad unit. */ + adClientId: string; + /** Ad unit for which to list custom channels. */ + adUnitId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of custom channels to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the + * previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CustomChannels>; + } + interface AdunitsResource { + /** Gets the specified ad unit in the specified ad client. */ + get(request: { + /** Ad client for which to get the ad unit. */ + adClientId: string; + /** Ad unit to retrieve. */ + adUnitId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdUnit>; + /** Get ad code for the specified ad unit. */ + getAdCode(request: { + /** Ad client with contains the ad unit. */ + adClientId: string; + /** Ad unit to get the code for. */ + adUnitId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdCode>; + /** List all ad units in the specified ad client for this AdSense account. */ + list(request: { + /** Ad client for which to list ad units. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Whether to include inactive ad units. Default: true. */ + includeInactive?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of ad units to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous + * response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdUnits>; + customchannels: CustomchannelsResource; + } + interface AlertsResource { + /** Dismiss (delete) the specified alert from the publisher's AdSense account. */ + delete(request: { + /** Alert to delete. */ + alertId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** List the alerts for this AdSense account. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The locale to use for translating alert messages. The account locale will be used if this is not supplied. The AdSense default (English) will be used + * if the supplied locale is invalid or unsupported. + */ + locale?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Alerts>; + } + interface AdunitsResource { + /** List all ad units in the specified custom channel. */ + list(request: { + /** Ad client which contains the custom channel. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Custom channel for which to list ad units. */ + customChannelId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Whether to include inactive ad units. Default: true. */ + includeInactive?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of ad units to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous + * response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdUnits>; + } + interface CustomchannelsResource { + /** Get the specified custom channel from the specified ad client. */ + get(request: { + /** Ad client which contains the custom channel. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Custom channel to retrieve. */ + customChannelId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CustomChannel>; + /** List all custom channels in the specified ad client for this AdSense account. */ + list(request: { + /** Ad client for which to list custom channels. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of custom channels to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the + * previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CustomChannels>; + adunits: AdunitsResource; + } + interface DimensionsResource { + /** List the metadata for the dimensions available to this AdSense account. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Metadata>; + } + interface MetricsResource { + /** List the metadata for the metrics available to this AdSense account. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Metadata>; + } + interface MetadataResource { + dimensions: DimensionsResource; + metrics: MetricsResource; + } + interface PaymentsResource { + /** List the payments for this AdSense account. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Payments>; + } + interface SavedResource { + /** Generate an AdSense report based on the saved report ID sent in the query parameters. */ + generate(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Optional locale to use for translating report output to a local language. Defaults to "en_US" if not specified. */ + locale?: string; + /** The maximum number of rows of report data to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The saved report to retrieve. */ + savedReportId: string; + /** Index of the first row of report data to return. */ + startIndex?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdsenseReportsGenerateResponse>; + /** List all saved reports in this AdSense account. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of saved reports to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through saved reports. To retrieve the next page, set this parameter to the value of "nextPageToken" from the + * previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SavedReports>; + } + interface ReportsResource { + /** + * Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format + * specify "alt=csv" as a query parameter. + */ + generate(request: { + /** Accounts upon which to report. */ + accountId?: string; + /** Data format for the response. */ + alt?: string; + /** Optional currency to use when reporting on monetary metrics. Defaults to the account's currency if not set. */ + currency?: string; + /** Dimensions to base the report on. */ + dimension?: string; + /** End of the date range to report on in "YYYY-MM-DD" format, inclusive. */ + endDate: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Filters to be run on the report. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Optional locale to use for translating report output to a local language. Defaults to "en_US" if not specified. */ + locale?: string; + /** The maximum number of rows of report data to return. */ + maxResults?: number; + /** Numeric columns to include in the report. */ + metric?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The name of a dimension or metric to sort the resulting report on, optionally prefixed with "+" to sort ascending or "-" to sort descending. If no + * prefix is specified, the column is sorted ascending. + */ + sort?: string; + /** Start of the date range to report on in "YYYY-MM-DD" format, inclusive. */ + startDate: string; + /** Index of the first row of report data to return. */ + startIndex?: number; + /** Whether the report should be generated in the AdSense account's local timezone. If false default PST/PDT timezone will be used. */ + useTimezoneReporting?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdsenseReportsGenerateResponse>; + saved: SavedResource; + } + interface SavedadstylesResource { + /** Get a specific saved ad style from the user's account. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Saved ad style to retrieve. */ + savedAdStyleId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SavedAdStyle>; + /** List all saved ad styles in the user's account. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of saved ad styles to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through saved ad styles. To retrieve the next page, set this parameter to the value of "nextPageToken" from the + * previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SavedAdStyles>; + } + interface UrlchannelsResource { + /** List all URL channels in the specified ad client for this AdSense account. */ + list(request: { + /** Ad client for which to list URL channels. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of URL channels to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through URL channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the + * previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UrlChannels>; + } + } +} diff --git a/types/gapi.client.adsense/readme.md b/types/gapi.client.adsense/readme.md new file mode 100644 index 0000000000..49de12e874 --- /dev/null +++ b/types/gapi.client.adsense/readme.md @@ -0,0 +1,132 @@ +# TypeScript typings for AdSense Management API v1.4 +Accesses AdSense publishers' inventory and generates performance reports. +For detailed description please check [documentation](https://developers.google.com/adsense/management/). + +## Installing + +Install typings for AdSense Management API: +``` +npm install @types/gapi.client.adsense@v1.4 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('adsense', 'v1.4', () => { + // now we can use gapi.client.adsense + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your AdSense data + 'https://www.googleapis.com/auth/adsense', + + // View your AdSense data + 'https://www.googleapis.com/auth/adsense.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use AdSense Management API resources: + +```typescript + +/* +Get information about the selected AdSense account. +*/ +await gapi.client.accounts.get({ accountId: "accountId", }); + +/* +List all accounts available to this AdSense account. +*/ +await gapi.client.accounts.list({ }); + +/* +List all ad clients in this AdSense account. +*/ +await gapi.client.adclients.list({ }); + +/* +Gets the specified ad unit in the specified ad client. +*/ +await gapi.client.adunits.get({ adClientId: "adClientId", adUnitId: "adUnitId", }); + +/* +Get ad code for the specified ad unit. +*/ +await gapi.client.adunits.getAdCode({ adClientId: "adClientId", adUnitId: "adUnitId", }); + +/* +List all ad units in the specified ad client for this AdSense account. +*/ +await gapi.client.adunits.list({ adClientId: "adClientId", }); + +/* +Dismiss (delete) the specified alert from the publisher's AdSense account. +*/ +await gapi.client.alerts.delete({ alertId: "alertId", }); + +/* +List the alerts for this AdSense account. +*/ +await gapi.client.alerts.list({ }); + +/* +Get the specified custom channel from the specified ad client. +*/ +await gapi.client.customchannels.get({ adClientId: "adClientId", customChannelId: "customChannelId", }); + +/* +List all custom channels in the specified ad client for this AdSense account. +*/ +await gapi.client.customchannels.list({ adClientId: "adClientId", }); + +/* +List the payments for this AdSense account. +*/ +await gapi.client.payments.list({ }); + +/* +Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify "alt=csv" as a query parameter. +*/ +await gapi.client.reports.generate({ endDate: "endDate", startDate: "startDate", }); + +/* +Get a specific saved ad style from the user's account. +*/ +await gapi.client.savedadstyles.get({ savedAdStyleId: "savedAdStyleId", }); + +/* +List all saved ad styles in the user's account. +*/ +await gapi.client.savedadstyles.list({ }); + +/* +List all URL channels in the specified ad client for this AdSense account. +*/ +await gapi.client.urlchannels.list({ adClientId: "adClientId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.adsense/tsconfig.json b/types/gapi.client.adsense/tsconfig.json new file mode 100644 index 0000000000..49b1e08a5a --- /dev/null +++ b/types/gapi.client.adsense/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.adsense-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.adsense/tslint.json b/types/gapi.client.adsense/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.adsense/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.adsensehost/gapi.client.adsensehost-tests.ts b/types/gapi.client.adsensehost/gapi.client.adsensehost-tests.ts new file mode 100644 index 0000000000..12c14af6da --- /dev/null +++ b/types/gapi.client.adsensehost/gapi.client.adsensehost-tests.ts @@ -0,0 +1,119 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('adsensehost', 'v4.1', () => { + /** now we can use gapi.client.adsensehost */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your AdSense host data and associated accounts */ + 'https://www.googleapis.com/auth/adsensehost', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Get information about the selected associated AdSense account. */ + await gapi.client.accounts.get({ + accountId: "accountId", + }); + /** List hosted accounts associated with this AdSense account by ad client id. */ + await gapi.client.accounts.list({ + filterAdClientId: "filterAdClientId", + }); + /** Get information about one of the ad clients in the Host AdSense account. */ + await gapi.client.adclients.get({ + adClientId: "adClientId", + }); + /** List all host ad clients in this AdSense account. */ + await gapi.client.adclients.list({ + maxResults: 1, + pageToken: "pageToken", + }); + /** Create an association session for initiating an association with an AdSense user. */ + await gapi.client.associationsessions.start({ + productCode: "productCode", + userLocale: "userLocale", + websiteLocale: "websiteLocale", + websiteUrl: "websiteUrl", + }); + /** Verify an association session after the association callback returns from AdSense signup. */ + await gapi.client.associationsessions.verify({ + token: "token", + }); + /** Delete a specific custom channel from the host AdSense account. */ + await gapi.client.customchannels.delete({ + adClientId: "adClientId", + customChannelId: "customChannelId", + }); + /** Get a specific custom channel from the host AdSense account. */ + await gapi.client.customchannels.get({ + adClientId: "adClientId", + customChannelId: "customChannelId", + }); + /** Add a new custom channel to the host AdSense account. */ + await gapi.client.customchannels.insert({ + adClientId: "adClientId", + }); + /** List all host custom channels in this AdSense account. */ + await gapi.client.customchannels.list({ + adClientId: "adClientId", + maxResults: 2, + pageToken: "pageToken", + }); + /** Update a custom channel in the host AdSense account. This method supports patch semantics. */ + await gapi.client.customchannels.patch({ + adClientId: "adClientId", + customChannelId: "customChannelId", + }); + /** Update a custom channel in the host AdSense account. */ + await gapi.client.customchannels.update({ + adClientId: "adClientId", + }); + /** + * Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format + * specify "alt=csv" as a query parameter. + */ + await gapi.client.reports.generate({ + dimension: "dimension", + endDate: "endDate", + filter: "filter", + locale: "locale", + maxResults: 5, + metric: "metric", + sort: "sort", + startDate: "startDate", + startIndex: 9, + }); + /** Delete a URL channel from the host AdSense account. */ + await gapi.client.urlchannels.delete({ + adClientId: "adClientId", + urlChannelId: "urlChannelId", + }); + /** Add a new URL channel to the host AdSense account. */ + await gapi.client.urlchannels.insert({ + adClientId: "adClientId", + }); + /** List all host URL channels in the host AdSense account. */ + await gapi.client.urlchannels.list({ + adClientId: "adClientId", + maxResults: 2, + pageToken: "pageToken", + }); + } +}); diff --git a/types/gapi.client.adsensehost/index.d.ts b/types/gapi.client.adsensehost/index.d.ts new file mode 100644 index 0000000000..1595d36c6c --- /dev/null +++ b/types/gapi.client.adsensehost/index.d.ts @@ -0,0 +1,967 @@ +// Type definitions for Google AdSense Host API v4.1 4.1 +// Project: https://developers.google.com/adsense/host/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/adsensehost/v4.1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load AdSense Host API v4.1 */ + function load(name: "adsensehost", version: "v4.1"): PromiseLike<void>; + function load(name: "adsensehost", version: "v4.1", callback: () => any): void; + + const accounts: adsensehost.AccountsResource; + + const adclients: adsensehost.AdclientsResource; + + const associationsessions: adsensehost.AssociationsessionsResource; + + const customchannels: adsensehost.CustomchannelsResource; + + const reports: adsensehost.ReportsResource; + + const urlchannels: adsensehost.UrlchannelsResource; + + namespace adsensehost { + interface Account { + /** Unique identifier of this account. */ + id?: string; + /** Kind of resource this is, in this case adsensehost#account. */ + kind?: string; + /** Name of this account. */ + name?: string; + /** Approval status of this account. One of: PENDING, APPROVED, DISABLED. */ + status?: string; + } + interface Accounts { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The accounts returned in this list response. */ + items?: Account[]; + /** Kind of list this is, in this case adsensehost#accounts. */ + kind?: string; + } + interface AdClient { + /** Whether this ad client is opted in to ARC. */ + arcOptIn?: boolean; + /** Unique identifier of this ad client. */ + id?: string; + /** Kind of resource this is, in this case adsensehost#adClient. */ + kind?: string; + /** This ad client's product code, which corresponds to the PRODUCT_CODE report dimension. */ + productCode?: string; + /** Whether this ad client supports being reported on. */ + supportsReporting?: boolean; + } + interface AdClients { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The ad clients returned in this list response. */ + items?: AdClient[]; + /** Kind of list this is, in this case adsensehost#adClients. */ + kind?: string; + /** Continuation token used to page through ad clients. To retrieve the next page of results, set the next request's "pageToken" value to this. */ + nextPageToken?: string; + } + interface AdCode { + /** The ad code snippet. */ + adCode?: string; + /** Kind this is, in this case adsensehost#adCode. */ + kind?: string; + } + interface AdStyle { + /** The colors included in the style. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash. */ + colors?: { + /** The color of the ad background. */ + background?: string; + /** The color of the ad border. */ + border?: string; + /** The color of the ad text. */ + text?: string; + /** The color of the ad title. */ + title?: string; + /** The color of the ad url. */ + url?: string; + }; + /** The style of the corners in the ad (deprecated: never populated, ignored). */ + corners?: string; + /** The font which is included in the style. */ + font?: { + /** The family of the font. Possible values are: ACCOUNT_DEFAULT_FAMILY, ADSENSE_DEFAULT_FAMILY, ARIAL, TIMES and VERDANA. */ + family?: string; + /** The size of the font. Possible values are: ACCOUNT_DEFAULT_SIZE, ADSENSE_DEFAULT_SIZE, SMALL, MEDIUM and LARGE. */ + size?: string; + }; + /** Kind this is, in this case adsensehost#adStyle. */ + kind?: string; + } + interface AdUnit { + /** Identity code of this ad unit, not necessarily unique across ad clients. */ + code?: string; + /** Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated). */ + contentAdsSettings?: { + /** The backup option to be used in instances where no ad is available. */ + backupOption?: { + /** Color to use when type is set to COLOR. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash. */ + color?: string; + /** Type of the backup option. Possible values are BLANK, COLOR and URL. */ + type?: string; + /** URL to use when type is set to URL. */ + url?: string; + }; + /** Size of this ad unit. Size values are in the form SIZE_{width}_{height}. */ + size?: string; + /** Type of this ad unit. Possible values are TEXT, TEXT_IMAGE, IMAGE and LINK. */ + type?: string; + }; + /** Custom style information specific to this ad unit. */ + customStyle?: AdStyle; + /** Unique identifier of this ad unit. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format. */ + id?: string; + /** Kind of resource this is, in this case adsensehost#adUnit. */ + kind?: string; + /** Settings specific to WAP mobile content ads (AFMC - deprecated). */ + mobileContentAdsSettings?: { + /** The markup language to use for this ad unit. */ + markupLanguage?: string; + /** The scripting language to use for this ad unit. */ + scriptingLanguage?: string; + /** Size of this ad unit. */ + size?: string; + /** Type of this ad unit. */ + type?: string; + }; + /** Name of this ad unit. */ + name?: string; + /** + * Status of this ad unit. Possible values are: + * NEW: Indicates that the ad unit was created within the last seven days and does not yet have any activity associated with it. + * + * ACTIVE: Indicates that there has been activity on this ad unit in the last seven days. + * + * INACTIVE: Indicates that there has been no activity on this ad unit in the last seven days. + */ + status?: string; + } + interface AdUnits { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The ad units returned in this list response. */ + items?: AdUnit[]; + /** Kind of list this is, in this case adsensehost#adUnits. */ + kind?: string; + /** Continuation token used to page through ad units. To retrieve the next page of results, set the next request's "pageToken" value to this. */ + nextPageToken?: string; + } + interface AssociationSession { + /** Hosted account id of the associated publisher after association. Present if status is ACCEPTED. */ + accountId?: string; + /** Unique identifier of this association session. */ + id?: string; + /** Kind of resource this is, in this case adsensehost#associationSession. */ + kind?: string; + /** The products to associate with the user. Options: AFC, AFG, AFV, AFS (deprecated), AFMC (deprecated) */ + productCodes?: string[]; + /** Redirect URL of this association session. Used to redirect users into the AdSense association flow. */ + redirectUrl?: string; + /** Status of the completed association, available once the association callback token has been verified. One of ACCEPTED, REJECTED, or ERROR. */ + status?: string; + /** The preferred locale of the user themselves when going through the AdSense association flow. */ + userLocale?: string; + /** The locale of the user's hosted website. */ + websiteLocale?: string; + /** The URL of the user's hosted website. */ + websiteUrl?: string; + } + interface CustomChannel { + /** Code of this custom channel, not necessarily unique across ad clients. */ + code?: string; + /** Unique identifier of this custom channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format. */ + id?: string; + /** Kind of resource this is, in this case adsensehost#customChannel. */ + kind?: string; + /** Name of this custom channel. */ + name?: string; + } + interface CustomChannels { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The custom channels returned in this list response. */ + items?: CustomChannel[]; + /** Kind of list this is, in this case adsensehost#customChannels. */ + kind?: string; + /** Continuation token used to page through custom channels. To retrieve the next page of results, set the next request's "pageToken" value to this. */ + nextPageToken?: string; + } + interface Report { + /** The averages of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty. */ + averages?: string[]; + /** + * The header information of the columns requested in the report. This is a list of headers; one for each dimension in the request, followed by one for + * each metric in the request. + */ + headers?: Array<{ + /** The currency of this column. Only present if the header type is METRIC_CURRENCY. */ + currency?: string; + /** The name of the header. */ + name?: string; + /** The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or METRIC_CURRENCY. */ + type?: string; + }>; + /** Kind this is, in this case adsensehost#report. */ + kind?: string; + /** + * The output rows of the report. Each row is a list of cells; one for each dimension in the request, followed by one for each metric in the request. The + * dimension cells contain strings, and the metric cells contain numbers. + */ + rows?: string[][]; + /** + * The total number of rows matched by the report request. Fewer rows may be returned in the response due to being limited by the row count requested or + * the report row limit. + */ + totalMatchedRows?: string; + /** The totals of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty. */ + totals?: string[]; + /** Any warnings associated with generation of the report. */ + warnings?: string[]; + } + interface UrlChannel { + /** Unique identifier of this URL channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format. */ + id?: string; + /** Kind of resource this is, in this case adsensehost#urlChannel. */ + kind?: string; + /** URL Pattern of this URL channel. Does not include "http://" or "https://". Example: www.example.com/home */ + urlPattern?: string; + } + interface UrlChannels { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The URL channels returned in this list response. */ + items?: UrlChannel[]; + /** Kind of list this is, in this case adsensehost#urlChannels. */ + kind?: string; + /** Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's "pageToken" value to this. */ + nextPageToken?: string; + } + interface AdclientsResource { + /** Get information about one of the ad clients in the specified publisher's AdSense account. */ + get(request: { + /** Account which contains the ad client. */ + accountId: string; + /** Ad client to get. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdClient>; + /** List all hosted ad clients in the specified hosted account. */ + list(request: { + /** Account for which to list ad clients. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of ad clients to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous + * response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdClients>; + } + interface AdunitsResource { + /** Delete the specified ad unit from the specified publisher AdSense account. */ + delete(request: { + /** Account which contains the ad unit. */ + accountId: string; + /** Ad client for which to get ad unit. */ + adClientId: string; + /** Ad unit to delete. */ + adUnitId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdUnit>; + /** Get the specified host ad unit in this AdSense account. */ + get(request: { + /** Account which contains the ad unit. */ + accountId: string; + /** Ad client for which to get ad unit. */ + adClientId: string; + /** Ad unit to get. */ + adUnitId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdUnit>; + /** Get ad code for the specified ad unit, attaching the specified host custom channels. */ + getAdCode(request: { + /** Account which contains the ad client. */ + accountId: string; + /** Ad client with contains the ad unit. */ + adClientId: string; + /** Ad unit to get the code for. */ + adUnitId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Host custom channel to attach to the ad code. */ + hostCustomChannelId?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdCode>; + /** Insert the supplied ad unit into the specified publisher AdSense account. */ + insert(request: { + /** Account which will contain the ad unit. */ + accountId: string; + /** Ad client into which to insert the ad unit. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdUnit>; + /** List all ad units in the specified publisher's AdSense account. */ + list(request: { + /** Account which contains the ad client. */ + accountId: string; + /** Ad client for which to list ad units. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Whether to include inactive ad units. Default: true. */ + includeInactive?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of ad units to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous + * response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdUnits>; + /** Update the supplied ad unit in the specified publisher AdSense account. This method supports patch semantics. */ + patch(request: { + /** Account which contains the ad client. */ + accountId: string; + /** Ad client which contains the ad unit. */ + adClientId: string; + /** Ad unit to get. */ + adUnitId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdUnit>; + /** Update the supplied ad unit in the specified publisher AdSense account. */ + update(request: { + /** Account which contains the ad client. */ + accountId: string; + /** Ad client which contains the ad unit. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdUnit>; + } + interface ReportsResource { + /** + * Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format + * specify "alt=csv" as a query parameter. + */ + generate(request: { + /** Hosted account upon which to report. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Dimensions to base the report on. */ + dimension?: string; + /** End of the date range to report on in "YYYY-MM-DD" format, inclusive. */ + endDate: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Filters to be run on the report. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Optional locale to use for translating report output to a local language. Defaults to "en_US" if not specified. */ + locale?: string; + /** The maximum number of rows of report data to return. */ + maxResults?: number; + /** Numeric columns to include in the report. */ + metric?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The name of a dimension or metric to sort the resulting report on, optionally prefixed with "+" to sort ascending or "-" to sort descending. If no + * prefix is specified, the column is sorted ascending. + */ + sort?: string; + /** Start of the date range to report on in "YYYY-MM-DD" format, inclusive. */ + startDate: string; + /** Index of the first row of report data to return. */ + startIndex?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Report>; + } + interface AccountsResource { + /** Get information about the selected associated AdSense account. */ + get(request: { + /** Account to get information about. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Account>; + /** List hosted accounts associated with this AdSense account by ad client id. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Ad clients to list accounts for. */ + filterAdClientId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Accounts>; + adclients: AdclientsResource; + adunits: AdunitsResource; + reports: ReportsResource; + } + interface AdclientsResource { + /** Get information about one of the ad clients in the Host AdSense account. */ + get(request: { + /** Ad client to get. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdClient>; + /** List all host ad clients in this AdSense account. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of ad clients to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous + * response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdClients>; + } + interface AssociationsessionsResource { + /** Create an association session for initiating an association with an AdSense user. */ + start(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Products to associate with the user. */ + productCode: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The preferred locale of the user. */ + userLocale?: string; + /** The locale of the user's hosted website. */ + websiteLocale?: string; + /** The URL of the user's hosted website. */ + websiteUrl: string; + }): Request<AssociationSession>; + /** Verify an association session after the association callback returns from AdSense signup. */ + verify(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The token returned to the association callback URL. */ + token: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AssociationSession>; + } + interface CustomchannelsResource { + /** Delete a specific custom channel from the host AdSense account. */ + delete(request: { + /** Ad client from which to delete the custom channel. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Custom channel to delete. */ + customChannelId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CustomChannel>; + /** Get a specific custom channel from the host AdSense account. */ + get(request: { + /** Ad client from which to get the custom channel. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Custom channel to get. */ + customChannelId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CustomChannel>; + /** Add a new custom channel to the host AdSense account. */ + insert(request: { + /** Ad client to which the new custom channel will be added. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CustomChannel>; + /** List all host custom channels in this AdSense account. */ + list(request: { + /** Ad client for which to list custom channels. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of custom channels to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the + * previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CustomChannels>; + /** Update a custom channel in the host AdSense account. This method supports patch semantics. */ + patch(request: { + /** Ad client in which the custom channel will be updated. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Custom channel to get. */ + customChannelId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CustomChannel>; + /** Update a custom channel in the host AdSense account. */ + update(request: { + /** Ad client in which the custom channel will be updated. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CustomChannel>; + } + interface ReportsResource { + /** + * Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format + * specify "alt=csv" as a query parameter. + */ + generate(request: { + /** Data format for the response. */ + alt?: string; + /** Dimensions to base the report on. */ + dimension?: string; + /** End of the date range to report on in "YYYY-MM-DD" format, inclusive. */ + endDate: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Filters to be run on the report. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Optional locale to use for translating report output to a local language. Defaults to "en_US" if not specified. */ + locale?: string; + /** The maximum number of rows of report data to return. */ + maxResults?: number; + /** Numeric columns to include in the report. */ + metric?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The name of a dimension or metric to sort the resulting report on, optionally prefixed with "+" to sort ascending or "-" to sort descending. If no + * prefix is specified, the column is sorted ascending. + */ + sort?: string; + /** Start of the date range to report on in "YYYY-MM-DD" format, inclusive. */ + startDate: string; + /** Index of the first row of report data to return. */ + startIndex?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Report>; + } + interface UrlchannelsResource { + /** Delete a URL channel from the host AdSense account. */ + delete(request: { + /** Ad client from which to delete the URL channel. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** URL channel to delete. */ + urlChannelId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UrlChannel>; + /** Add a new URL channel to the host AdSense account. */ + insert(request: { + /** Ad client to which the new URL channel will be added. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UrlChannel>; + /** List all host URL channels in the host AdSense account. */ + list(request: { + /** Ad client for which to list URL channels. */ + adClientId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of URL channels to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A continuation token, used to page through URL channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the + * previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UrlChannels>; + } + } +} diff --git a/types/gapi.client.adsensehost/readme.md b/types/gapi.client.adsensehost/readme.md new file mode 100644 index 0000000000..2418d40442 --- /dev/null +++ b/types/gapi.client.adsensehost/readme.md @@ -0,0 +1,134 @@ +# TypeScript typings for AdSense Host API v4.1 +Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts. +For detailed description please check [documentation](https://developers.google.com/adsense/host/). + +## Installing + +Install typings for AdSense Host API: +``` +npm install @types/gapi.client.adsensehost@v4.1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('adsensehost', 'v4.1', () => { + // now we can use gapi.client.adsensehost + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your AdSense host data and associated accounts + 'https://www.googleapis.com/auth/adsensehost', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use AdSense Host API resources: + +```typescript + +/* +Get information about the selected associated AdSense account. +*/ +await gapi.client.accounts.get({ accountId: "accountId", }); + +/* +List hosted accounts associated with this AdSense account by ad client id. +*/ +await gapi.client.accounts.list({ filterAdClientId: "filterAdClientId", }); + +/* +Get information about one of the ad clients in the Host AdSense account. +*/ +await gapi.client.adclients.get({ adClientId: "adClientId", }); + +/* +List all host ad clients in this AdSense account. +*/ +await gapi.client.adclients.list({ }); + +/* +Create an association session for initiating an association with an AdSense user. +*/ +await gapi.client.associationsessions.start({ productCode: "productCode", websiteUrl: "websiteUrl", }); + +/* +Verify an association session after the association callback returns from AdSense signup. +*/ +await gapi.client.associationsessions.verify({ token: "token", }); + +/* +Delete a specific custom channel from the host AdSense account. +*/ +await gapi.client.customchannels.delete({ adClientId: "adClientId", customChannelId: "customChannelId", }); + +/* +Get a specific custom channel from the host AdSense account. +*/ +await gapi.client.customchannels.get({ adClientId: "adClientId", customChannelId: "customChannelId", }); + +/* +Add a new custom channel to the host AdSense account. +*/ +await gapi.client.customchannels.insert({ adClientId: "adClientId", }); + +/* +List all host custom channels in this AdSense account. +*/ +await gapi.client.customchannels.list({ adClientId: "adClientId", }); + +/* +Update a custom channel in the host AdSense account. This method supports patch semantics. +*/ +await gapi.client.customchannels.patch({ adClientId: "adClientId", customChannelId: "customChannelId", }); + +/* +Update a custom channel in the host AdSense account. +*/ +await gapi.client.customchannels.update({ adClientId: "adClientId", }); + +/* +Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify "alt=csv" as a query parameter. +*/ +await gapi.client.reports.generate({ endDate: "endDate", startDate: "startDate", }); + +/* +Delete a URL channel from the host AdSense account. +*/ +await gapi.client.urlchannels.delete({ adClientId: "adClientId", urlChannelId: "urlChannelId", }); + +/* +Add a new URL channel to the host AdSense account. +*/ +await gapi.client.urlchannels.insert({ adClientId: "adClientId", }); + +/* +List all host URL channels in the host AdSense account. +*/ +await gapi.client.urlchannels.list({ adClientId: "adClientId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.adsensehost/tsconfig.json b/types/gapi.client.adsensehost/tsconfig.json new file mode 100644 index 0000000000..5cee9dc200 --- /dev/null +++ b/types/gapi.client.adsensehost/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.adsensehost-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.adsensehost/tslint.json b/types/gapi.client.adsensehost/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.adsensehost/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.analytics/gapi.client.analytics-tests.ts b/types/gapi.client.analytics/gapi.client.analytics-tests.ts new file mode 100644 index 0000000000..4a8be2094e --- /dev/null +++ b/types/gapi.client.analytics/gapi.client.analytics-tests.ts @@ -0,0 +1,45 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('analytics', 'v3', () => { + /** now we can use gapi.client.analytics */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your Google Analytics data */ + 'https://www.googleapis.com/auth/analytics', + /** Edit Google Analytics management entities */ + 'https://www.googleapis.com/auth/analytics.edit', + /** Manage Google Analytics Account users by email address */ + 'https://www.googleapis.com/auth/analytics.manage.users', + /** View Google Analytics user permissions */ + 'https://www.googleapis.com/auth/analytics.manage.users.readonly', + /** Create a new Google Analytics account along with its default property and view */ + 'https://www.googleapis.com/auth/analytics.provision', + /** View your Google Analytics data */ + 'https://www.googleapis.com/auth/analytics.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Creates an account ticket. */ + await gapi.client.provisioning.createAccountTicket({ + }); + } +}); diff --git a/types/gapi.client.analytics/index.d.ts b/types/gapi.client.analytics/index.d.ts new file mode 100644 index 0000000000..eeddb3f81f --- /dev/null +++ b/types/gapi.client.analytics/index.d.ts @@ -0,0 +1,4071 @@ +// Type definitions for Google Google Analytics API v3 3.0 +// Project: https://developers.google.com/analytics/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/analytics/v3/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Analytics API v3 */ + function load(name: "analytics", version: "v3"): PromiseLike<void>; + function load(name: "analytics", version: "v3", callback: () => any): void; + + const data: analytics.DataResource; + + const management: analytics.ManagementResource; + + const metadata: analytics.MetadataResource; + + const provisioning: analytics.ProvisioningResource; + + namespace analytics { + interface Account { + /** Child link for an account entry. Points to the list of web properties for this account. */ + childLink?: { + /** Link to the list of web properties for this account. */ + href?: string; + /** Type of the child link. Its value is "analytics#webproperties". */ + type?: string; + }; + /** Time the account was created. */ + created?: string; + /** Account ID. */ + id?: string; + /** Resource type for Analytics account. */ + kind?: string; + /** Account name. */ + name?: string; + /** Permissions the user has for this account. */ + permissions?: { + /** All the permissions that the user has for this account. These include any implied permissions (e.g., EDIT implies VIEW). */ + effective?: string[]; + }; + /** Link for this account. */ + selfLink?: string; + /** Indicates whether this account is starred or not. */ + starred?: boolean; + /** Time the account was last modified. */ + updated?: string; + } + interface AccountRef { + /** Link for this account. */ + href?: string; + /** Account ID. */ + id?: string; + /** Analytics account reference. */ + kind?: string; + /** Account name. */ + name?: string; + } + interface AccountSummaries { + /** A list of AccountSummaries. */ + items?: AccountSummary[]; + /** + * The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a + * value of 1000 by default, or otherwise specified by the max-results query parameter. + */ + itemsPerPage?: number; + /** Collection type. */ + kind?: string; + /** Link to next page for this AccountSummary collection. */ + nextLink?: string; + /** Link to previous page for this AccountSummary collection. */ + previousLink?: string; + /** The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter. */ + startIndex?: number; + /** The total number of results for the query, regardless of the number of results in the response. */ + totalResults?: number; + /** Email ID of the authenticated user */ + username?: string; + } + interface AccountSummary { + /** Account ID. */ + id?: string; + /** Resource type for Analytics AccountSummary. */ + kind?: string; + /** Account name. */ + name?: string; + /** Indicates whether this account is starred or not. */ + starred?: boolean; + /** List of web properties under this account. */ + webProperties?: WebPropertySummary[]; + } + interface AccountTicket { + /** Account for this ticket. */ + account?: Account; + /** Account ticket ID used to access the account ticket. */ + id?: string; + /** Resource type for account ticket. */ + kind?: string; + /** View (Profile) for the account. */ + profile?: Profile; + /** Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in APIs console as a callback URL. */ + redirectUri?: string; + /** Web property for the account. */ + webproperty?: Webproperty; + } + interface Accounts { + /** A list of accounts. */ + items?: Account[]; + /** + * The maximum number of entries the response can contain, regardless of the actual number of entries returned. Its value ranges from 1 to 1000 with a + * value of 1000 by default, or otherwise specified by the max-results query parameter. + */ + itemsPerPage?: number; + /** Collection type. */ + kind?: string; + /** Next link for this account collection. */ + nextLink?: string; + /** Previous link for this account collection. */ + previousLink?: string; + /** The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter. */ + startIndex?: number; + /** The total number of results for the query, regardless of the number of results in the response. */ + totalResults?: number; + /** Email ID of the authenticated user */ + username?: string; + } + interface AdWordsAccount { + /** True if auto-tagging is enabled on the AdWords account. Read-only after the insert operation. */ + autoTaggingEnabled?: boolean; + /** Customer ID. This field is required when creating an AdWords link. */ + customerId?: string; + /** Resource type for AdWords account. */ + kind?: string; + } + interface AnalyticsDataimportDeleteUploadDataRequest { + /** A list of upload UIDs. */ + customDataImportUids?: string[]; + } + interface Column { + /** Map of attribute name and value for this column. */ + attributes?: Record<string, string>; + /** Column id. */ + id?: string; + /** Resource type for Analytics column. */ + kind?: string; + } + interface Columns { + /** List of attributes names returned by columns. */ + attributeNames?: string[]; + /** Etag of collection. This etag can be compared with the last response etag to check if response has changed. */ + etag?: string; + /** List of columns for a report type. */ + items?: Column[]; + /** Collection type. */ + kind?: string; + /** Total number of columns returned in the response. */ + totalResults?: number; + } + interface CustomDataSource { + /** Account ID to which this custom data source belongs. */ + accountId?: string; + childLink?: { + /** Link to the list of daily uploads for this custom data source. Link to the list of uploads for this custom data source. */ + href?: string; + /** Value is "analytics#dailyUploads". Value is "analytics#uploads". */ + type?: string; + }; + /** Time this custom data source was created. */ + created?: string; + /** Description of custom data source. */ + description?: string; + /** Custom data source ID. */ + id?: string; + importBehavior?: string; + /** Resource type for Analytics custom data source. */ + kind?: string; + /** Name of this custom data source. */ + name?: string; + /** Parent link for this custom data source. Points to the web property to which this custom data source belongs. */ + parentLink?: { + /** Link to the web property to which this custom data source belongs. */ + href?: string; + /** Value is "analytics#webproperty". */ + type?: string; + }; + /** IDs of views (profiles) linked to the custom data source. */ + profilesLinked?: string[]; + /** Collection of schema headers of the custom data source. */ + schema?: string[]; + /** Link for this Analytics custom data source. */ + selfLink?: string; + /** Type of the custom data source. */ + type?: string; + /** Time this custom data source was last modified. */ + updated?: string; + /** Upload type of the custom data source. */ + uploadType?: string; + /** Web property ID of the form UA-XXXXX-YY to which this custom data source belongs. */ + webPropertyId?: string; + } + interface CustomDataSources { + /** Collection of custom data sources. */ + items?: CustomDataSource[]; + /** + * The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a + * value of 1000 by default, or otherwise specified by the max-results query parameter. + */ + itemsPerPage?: number; + /** Collection type. */ + kind?: string; + /** Link to next page for this custom data source collection. */ + nextLink?: string; + /** Link to previous page for this custom data source collection. */ + previousLink?: string; + /** The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter. */ + startIndex?: number; + /** The total number of results for the query, regardless of the number of results in the response. */ + totalResults?: number; + /** Email ID of the authenticated user */ + username?: string; + } + interface CustomDimension { + /** Account ID. */ + accountId?: string; + /** Boolean indicating whether the custom dimension is active. */ + active?: boolean; + /** Time the custom dimension was created. */ + created?: string; + /** Custom dimension ID. */ + id?: string; + /** Index of the custom dimension. */ + index?: number; + /** Kind value for a custom dimension. Set to "analytics#customDimension". It is a read-only field. */ + kind?: string; + /** Name of the custom dimension. */ + name?: string; + /** Parent link for the custom dimension. Points to the property to which the custom dimension belongs. */ + parentLink?: { + /** Link to the property to which the custom dimension belongs. */ + href?: string; + /** Type of the parent link. Set to "analytics#webproperty". */ + type?: string; + }; + /** Scope of the custom dimension: HIT, SESSION, USER or PRODUCT. */ + scope?: string; + /** Link for the custom dimension */ + selfLink?: string; + /** Time the custom dimension was last modified. */ + updated?: string; + /** Property ID. */ + webPropertyId?: string; + } + interface CustomDimensions { + /** Collection of custom dimensions. */ + items?: CustomDimension[]; + /** + * The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a + * value of 1000 by default, or otherwise specified by the max-results query parameter. + */ + itemsPerPage?: number; + /** Collection type. */ + kind?: string; + /** Link to next page for this custom dimension collection. */ + nextLink?: string; + /** Link to previous page for this custom dimension collection. */ + previousLink?: string; + /** The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter. */ + startIndex?: number; + /** The total number of results for the query, regardless of the number of results in the response. */ + totalResults?: number; + /** Email ID of the authenticated user */ + username?: string; + } + interface CustomMetric { + /** Account ID. */ + accountId?: string; + /** Boolean indicating whether the custom metric is active. */ + active?: boolean; + /** Time the custom metric was created. */ + created?: string; + /** Custom metric ID. */ + id?: string; + /** Index of the custom metric. */ + index?: number; + /** Kind value for a custom metric. Set to "analytics#customMetric". It is a read-only field. */ + kind?: string; + /** Max value of custom metric. */ + max_value?: string; + /** Min value of custom metric. */ + min_value?: string; + /** Name of the custom metric. */ + name?: string; + /** Parent link for the custom metric. Points to the property to which the custom metric belongs. */ + parentLink?: { + /** Link to the property to which the custom metric belongs. */ + href?: string; + /** Type of the parent link. Set to "analytics#webproperty". */ + type?: string; + }; + /** Scope of the custom metric: HIT or PRODUCT. */ + scope?: string; + /** Link for the custom metric */ + selfLink?: string; + /** Data type of custom metric. */ + type?: string; + /** Time the custom metric was last modified. */ + updated?: string; + /** Property ID. */ + webPropertyId?: string; + } + interface CustomMetrics { + /** Collection of custom metrics. */ + items?: CustomMetric[]; + /** + * The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a + * value of 1000 by default, or otherwise specified by the max-results query parameter. + */ + itemsPerPage?: number; + /** Collection type. */ + kind?: string; + /** Link to next page for this custom metric collection. */ + nextLink?: string; + /** Link to previous page for this custom metric collection. */ + previousLink?: string; + /** The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter. */ + startIndex?: number; + /** The total number of results for the query, regardless of the number of results in the response. */ + totalResults?: number; + /** Email ID of the authenticated user */ + username?: string; + } + interface EntityAdWordsLink { + /** A list of AdWords client accounts. These cannot be MCC accounts. This field is required when creating an AdWords link. It cannot be empty. */ + adWordsAccounts?: AdWordsAccount[]; + /** Web property being linked. */ + entity?: { + webPropertyRef?: WebPropertyRef; + }; + /** Entity AdWords link ID */ + id?: string; + /** Resource type for entity AdWords link. */ + kind?: string; + /** Name of the link. This field is required when creating an AdWords link. */ + name?: string; + /** IDs of linked Views (Profiles) represented as strings. */ + profileIds?: string[]; + /** URL link for this Google Analytics - Google AdWords link. */ + selfLink?: string; + } + interface EntityAdWordsLinks { + /** A list of entity AdWords links. */ + items?: EntityAdWordsLink[]; + /** + * The maximum number of entries the response can contain, regardless of the actual number of entries returned. Its value ranges from 1 to 1000 with a + * value of 1000 by default, or otherwise specified by the max-results query parameter. + */ + itemsPerPage?: number; + /** Collection type. */ + kind?: string; + /** Next link for this AdWords link collection. */ + nextLink?: string; + /** Previous link for this AdWords link collection. */ + previousLink?: string; + /** The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter. */ + startIndex?: number; + /** The total number of results for the query, regardless of the number of results in the response. */ + totalResults?: number; + } + interface EntityUserLink { + /** Entity for this link. It can be an account, a web property, or a view (profile). */ + entity?: { + /** Account for this link. */ + accountRef?: AccountRef; + /** View (Profile) for this link. */ + profileRef?: ProfileRef; + /** Web property for this link. */ + webPropertyRef?: WebPropertyRef; + }; + /** Entity user link ID */ + id?: string; + /** Resource type for entity user link. */ + kind?: string; + /** Permissions the user has for this entity. */ + permissions?: { + /** + * Effective permissions represent all the permissions that a user has for this entity. These include any implied permissions (e.g., EDIT implies VIEW) or + * inherited permissions from the parent entity. Effective permissions are read-only. + */ + effective?: string[]; + /** Permissions that a user has been assigned at this very level. Does not include any implied or inherited permissions. Local permissions are modifiable. */ + local?: string[]; + }; + /** Self link for this resource. */ + selfLink?: string; + /** User reference. */ + userRef?: UserRef; + } + interface EntityUserLinks { + /** A list of entity user links. */ + items?: EntityUserLink[]; + /** + * The maximum number of entries the response can contain, regardless of the actual number of entries returned. Its value ranges from 1 to 1000 with a + * value of 1000 by default, or otherwise specified by the max-results query parameter. + */ + itemsPerPage?: number; + /** Collection type. */ + kind?: string; + /** Next link for this account collection. */ + nextLink?: string; + /** Previous link for this account collection. */ + previousLink?: string; + /** The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter. */ + startIndex?: number; + /** The total number of results for the query, regardless of the number of results in the response. */ + totalResults?: number; + } + interface Experiment { + /** Account ID to which this experiment belongs. This field is read-only. */ + accountId?: string; + /** Time the experiment was created. This field is read-only. */ + created?: string; + /** Notes about this experiment. */ + description?: string; + /** If true, the end user will be able to edit the experiment via the Google Analytics user interface. */ + editableInGaUi?: boolean; + /** + * The ending time of the experiment (the time the status changed from RUNNING to ENDED). This field is present only if the experiment has ended. This + * field is read-only. + */ + endTime?: string; + /** + * Boolean specifying whether to distribute traffic evenly across all variations. If the value is False, content experiments follows the default behavior + * of adjusting traffic dynamically based on variation performance. Optional -- defaults to False. This field may not be changed for an experiment whose + * status is ENDED. + */ + equalWeighting?: boolean; + /** Experiment ID. Required for patch and update. Disallowed for create. */ + id?: string; + /** Internal ID for the web property to which this experiment belongs. This field is read-only. */ + internalWebPropertyId?: string; + /** Resource type for an Analytics experiment. This field is read-only. */ + kind?: string; + /** + * An integer number in [3, 90]. Specifies the minimum length of the experiment. Can be changed for a running experiment. This field may not be changed + * for an experiments whose status is ENDED. + */ + minimumExperimentLengthInDays?: number; + /** Experiment name. This field may not be changed for an experiment whose status is ENDED. This field is required when creating an experiment. */ + name?: string; + /** + * The metric that the experiment is optimizing. Valid values: "ga:goal(n)Completions", "ga:adsenseAdsClicks", "ga:adsenseAdsViewed", "ga:adsenseRevenue", + * "ga:bounces", "ga:pageviews", "ga:sessionDuration", "ga:transactions", "ga:transactionRevenue". This field is required if status is "RUNNING" and + * servingFramework is one of "REDIRECT" or "API". + */ + objectiveMetric?: string; + /** + * Whether the objectiveMetric should be minimized or maximized. Possible values: "MAXIMUM", "MINIMUM". Optional--defaults to "MAXIMUM". Cannot be + * specified without objectiveMetric. Cannot be modified when status is "RUNNING" or "ENDED". + */ + optimizationType?: string; + /** Parent link for an experiment. Points to the view (profile) to which this experiment belongs. */ + parentLink?: { + /** Link to the view (profile) to which this experiment belongs. This field is read-only. */ + href?: string; + /** Value is "analytics#profile". This field is read-only. */ + type?: string; + }; + /** View (Profile) ID to which this experiment belongs. This field is read-only. */ + profileId?: string; + /** + * Why the experiment ended. Possible values: "STOPPED_BY_USER", "WINNER_FOUND", "EXPERIMENT_EXPIRED", "ENDED_WITH_NO_WINNER", "GOAL_OBJECTIVE_CHANGED". + * "ENDED_WITH_NO_WINNER" means that the experiment didn't expire but no winner was projected to be found. If the experiment status is changed via the API + * to ENDED this field is set to STOPPED_BY_USER. This field is read-only. + */ + reasonExperimentEnded?: string; + /** + * Boolean specifying whether variations URLS are rewritten to match those of the original. This field may not be changed for an experiments whose status + * is ENDED. + */ + rewriteVariationUrlsAsOriginal?: boolean; + /** Link for this experiment. This field is read-only. */ + selfLink?: string; + /** + * The framework used to serve the experiment variations and evaluate the results. One of: + * - REDIRECT: Google Analytics redirects traffic to different variation pages, reports the chosen variation and evaluates the results. + * - API: Google Analytics chooses and reports the variation to serve and evaluates the results; the caller is responsible for serving the selected + * variation. + * - EXTERNAL: The variations will be served externally and the chosen variation reported to Google Analytics. The caller is responsible for serving the + * selected variation and evaluating the results. + */ + servingFramework?: string; + /** The snippet of code to include on the control page(s). This field is read-only. */ + snippet?: string; + /** + * The starting time of the experiment (the time the status changed from READY_TO_RUN to RUNNING). This field is present only if the experiment has + * started. This field is read-only. + */ + startTime?: string; + /** + * Experiment status. Possible values: "DRAFT", "READY_TO_RUN", "RUNNING", "ENDED". Experiments can be created in the "DRAFT", "READY_TO_RUN" or "RUNNING" + * state. This field is required when creating an experiment. + */ + status?: string; + /** + * A floating-point number in (0, 1]. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. + * This field may not be changed for an experiments whose status is ENDED. + */ + trafficCoverage?: number; + /** Time the experiment was last modified. This field is read-only. */ + updated?: string; + /** + * Array of variations. The first variation in the array is the original. The number of variations may not change once an experiment is in the RUNNING + * state. At least two variations are required before status can be set to RUNNING. + */ + variations?: Array<{ + /** The name of the variation. This field is required when creating an experiment. This field may not be changed for an experiment whose status is ENDED. */ + name?: string; + /** + * Status of the variation. Possible values: "ACTIVE", "INACTIVE". INACTIVE variations are not served. This field may not be changed for an experiment + * whose status is ENDED. + */ + status?: string; + /** The URL of the variation. This field may not be changed for an experiment whose status is RUNNING or ENDED. */ + url?: string; + /** Weight that this variation should receive. Only present if the experiment is running. This field is read-only. */ + weight?: number; + /** True if the experiment has ended and this variation performed (statistically) significantly better than the original. This field is read-only. */ + won?: boolean; + }>; + /** Web property ID to which this experiment belongs. The web property ID is of the form UA-XXXXX-YY. This field is read-only. */ + webPropertyId?: string; + /** + * A floating-point number in (0, 1). Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose + * status is ENDED. + */ + winnerConfidenceLevel?: number; + /** Boolean specifying whether a winner has been found for this experiment. This field is read-only. */ + winnerFound?: boolean; + } + interface Experiments { + /** A list of experiments. */ + items?: Experiment[]; + /** + * The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a + * value of 1000 by default, or otherwise specified by the max-results query parameter. + */ + itemsPerPage?: number; + /** Collection type. */ + kind?: string; + /** Link to next page for this experiment collection. */ + nextLink?: string; + /** Link to previous page for this experiment collection. */ + previousLink?: string; + /** The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter. */ + startIndex?: number; + /** The total number of results for the query, regardless of the number of resources in the result. */ + totalResults?: number; + /** Email ID of the authenticated user */ + username?: string; + } + interface Filter { + /** Account ID to which this filter belongs. */ + accountId?: string; + /** Details for the filter of the type ADVANCED. */ + advancedDetails?: { + /** Indicates if the filter expressions are case sensitive. */ + caseSensitive?: boolean; + /** Expression to extract from field A. */ + extractA?: string; + /** Expression to extract from field B. */ + extractB?: string; + /** Field A. */ + fieldA?: string; + /** The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION. */ + fieldAIndex?: number; + /** Indicates if field A is required to match. */ + fieldARequired?: boolean; + /** Field B. */ + fieldB?: string; + /** The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION. */ + fieldBIndex?: number; + /** Indicates if field B is required to match. */ + fieldBRequired?: boolean; + /** Expression used to construct the output value. */ + outputConstructor?: string; + /** Output field. */ + outputToField?: string; + /** The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION. */ + outputToFieldIndex?: number; + /** Indicates if the existing value of the output field, if any, should be overridden by the output expression. */ + overrideOutputField?: boolean; + }; + /** Time this filter was created. */ + created?: string; + /** Details for the filter of the type EXCLUDE. */ + excludeDetails?: FilterExpression; + /** Filter ID. */ + id?: string; + /** Details for the filter of the type INCLUDE. */ + includeDetails?: FilterExpression; + /** Resource type for Analytics filter. */ + kind?: string; + /** Details for the filter of the type LOWER. */ + lowercaseDetails?: { + /** Field to use in the filter. */ + field?: string; + /** The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION. */ + fieldIndex?: number; + }; + /** Name of this filter. */ + name?: string; + /** Parent link for this filter. Points to the account to which this filter belongs. */ + parentLink?: { + /** Link to the account to which this filter belongs. */ + href?: string; + /** Value is "analytics#account". */ + type?: string; + }; + /** Details for the filter of the type SEARCH_AND_REPLACE. */ + searchAndReplaceDetails?: { + /** Determines if the filter is case sensitive. */ + caseSensitive?: boolean; + /** Field to use in the filter. */ + field?: string; + /** The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION. */ + fieldIndex?: number; + /** Term to replace the search term with. */ + replaceString?: string; + /** Term to search. */ + searchString?: string; + }; + /** Link for this filter. */ + selfLink?: string; + /** Type of this filter. Possible values are INCLUDE, EXCLUDE, LOWERCASE, UPPERCASE, SEARCH_AND_REPLACE and ADVANCED. */ + type?: string; + /** Time this filter was last modified. */ + updated?: string; + /** Details for the filter of the type UPPER. */ + uppercaseDetails?: { + /** Field to use in the filter. */ + field?: string; + /** The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION. */ + fieldIndex?: number; + }; + } + interface FilterExpression { + /** Determines if the filter is case sensitive. */ + caseSensitive?: boolean; + /** Filter expression value */ + expressionValue?: string; + /** + * Field to filter. Possible values: + * - Content and Traffic + * - PAGE_REQUEST_URI, + * - PAGE_HOSTNAME, + * - PAGE_TITLE, + * - REFERRAL, + * - COST_DATA_URI (Campaign target URL), + * - HIT_TYPE, + * - INTERNAL_SEARCH_TERM, + * - INTERNAL_SEARCH_TYPE, + * - SOURCE_PROPERTY_TRACKING_ID, + * - Campaign or AdGroup + * - CAMPAIGN_SOURCE, + * - CAMPAIGN_MEDIUM, + * - CAMPAIGN_NAME, + * - CAMPAIGN_AD_GROUP, + * - CAMPAIGN_TERM, + * - CAMPAIGN_CONTENT, + * - CAMPAIGN_CODE, + * - CAMPAIGN_REFERRAL_PATH, + * - E-Commerce + * - TRANSACTION_COUNTRY, + * - TRANSACTION_REGION, + * - TRANSACTION_CITY, + * - TRANSACTION_AFFILIATION (Store or order location), + * - ITEM_NAME, + * - ITEM_CODE, + * - ITEM_VARIATION, + * - TRANSACTION_ID, + * - TRANSACTION_CURRENCY_CODE, + * - PRODUCT_ACTION_TYPE, + * - Audience/Users + * - BROWSER, + * - BROWSER_VERSION, + * - BROWSER_SIZE, + * - PLATFORM, + * - PLATFORM_VERSION, + * - LANGUAGE, + * - SCREEN_RESOLUTION, + * - SCREEN_COLORS, + * - JAVA_ENABLED (Boolean Field), + * - FLASH_VERSION, + * - GEO_SPEED (Connection speed), + * - VISITOR_TYPE, + * - GEO_ORGANIZATION (ISP organization), + * - GEO_DOMAIN, + * - GEO_IP_ADDRESS, + * - GEO_IP_VERSION, + * - Location + * - GEO_COUNTRY, + * - GEO_REGION, + * - GEO_CITY, + * - Event + * - EVENT_CATEGORY, + * - EVENT_ACTION, + * - EVENT_LABEL, + * - Other + * - CUSTOM_FIELD_1, + * - CUSTOM_FIELD_2, + * - USER_DEFINED_VALUE, + * - Application + * - APP_ID, + * - APP_INSTALLER_ID, + * - APP_NAME, + * - APP_VERSION, + * - SCREEN, + * - IS_APP (Boolean Field), + * - IS_FATAL_EXCEPTION (Boolean Field), + * - EXCEPTION_DESCRIPTION, + * - Mobile device + * - IS_MOBILE (Boolean Field, Deprecated. Use DEVICE_CATEGORY=mobile), + * - IS_TABLET (Boolean Field, Deprecated. Use DEVICE_CATEGORY=tablet), + * - DEVICE_CATEGORY, + * - MOBILE_HAS_QWERTY_KEYBOARD (Boolean Field), + * - MOBILE_HAS_NFC_SUPPORT (Boolean Field), + * - MOBILE_HAS_CELLULAR_RADIO (Boolean Field), + * - MOBILE_HAS_WIFI_SUPPORT (Boolean Field), + * - MOBILE_BRAND_NAME, + * - MOBILE_MODEL_NAME, + * - MOBILE_MARKETING_NAME, + * - MOBILE_POINTING_METHOD, + * - Social + * - SOCIAL_NETWORK, + * - SOCIAL_ACTION, + * - SOCIAL_ACTION_TARGET, + * - Custom dimension + * - CUSTOM_DIMENSION (See accompanying field index), + */ + field?: string; + /** The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION. */ + fieldIndex?: number; + /** Kind value for filter expression */ + kind?: string; + /** + * Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or + * PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES. + */ + matchType?: string; + } + interface FilterRef { + /** Account ID to which this filter belongs. */ + accountId?: string; + /** Link for this filter. */ + href?: string; + /** Filter ID. */ + id?: string; + /** Kind value for filter reference. */ + kind?: string; + /** Name of this filter. */ + name?: string; + } + interface Filters { + /** A list of filters. */ + items?: Filter[]; + /** + * The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1,000 with + * a value of 1000 by default, or otherwise specified by the max-results query parameter. + */ + itemsPerPage?: number; + /** Collection type. */ + kind?: string; + /** Link to next page for this filter collection. */ + nextLink?: string; + /** Link to previous page for this filter collection. */ + previousLink?: string; + /** The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter. */ + startIndex?: number; + /** The total number of results for the query, regardless of the number of results in the response. */ + totalResults?: number; + /** Email ID of the authenticated user */ + username?: string; + } + interface GaData { + /** Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request. */ + columnHeaders?: Array<{ + /** Column Type. Either DIMENSION or METRIC. */ + columnType?: string; + /** + * Data type. Dimension column headers have only STRING as the data type. Metric column headers have data types for metric values such as INTEGER, DOUBLE, + * CURRENCY etc. + */ + dataType?: string; + /** Column name. */ + name?: string; + }>; + /** Determines if Analytics data contains samples. */ + containsSampledData?: boolean; + /** The last refreshed time in seconds for Analytics data. */ + dataLastRefreshed?: string; + dataTable?: { + cols?: Array<{ + id?: string; + label?: string; + type?: string; + }>; + rows?: Array<{ + c?: Array<{ + v?: string; + }>; + }>; + }; + /** Unique ID for this data response. */ + id?: string; + /** + * The maximum number of rows the response can contain, regardless of the actual number of rows returned. Its value ranges from 1 to 10,000 with a value + * of 1000 by default, or otherwise specified by the max-results query parameter. + */ + itemsPerPage?: number; + /** Resource type. */ + kind?: string; + /** Link to next page for this Analytics data query. */ + nextLink?: string; + /** Link to previous page for this Analytics data query. */ + previousLink?: string; + /** Information for the view (profile), for which the Analytics data was requested. */ + profileInfo?: { + /** Account ID to which this view (profile) belongs. */ + accountId?: string; + /** Internal ID for the web property to which this view (profile) belongs. */ + internalWebPropertyId?: string; + /** View (Profile) ID. */ + profileId?: string; + /** View (Profile) name. */ + profileName?: string; + /** Table ID for view (profile). */ + tableId?: string; + /** Web Property ID to which this view (profile) belongs. */ + webPropertyId?: string; + }; + /** Analytics data request query parameters. */ + query?: { + /** List of analytics dimensions. */ + dimensions?: string; + /** End date. */ + "end-date"?: string; + /** Comma-separated list of dimension or metric filters. */ + filters?: string; + /** Unique table ID. */ + ids?: string; + /** Maximum results per page. */ + "max-results"?: number; + /** List of analytics metrics. */ + metrics?: string[]; + /** Desired sampling level */ + samplingLevel?: string; + /** Analytics advanced segment. */ + segment?: string; + /** List of dimensions or metrics based on which Analytics data is sorted. */ + sort?: string[]; + /** Start date. */ + "start-date"?: string; + /** Start index. */ + "start-index"?: number; + }; + /** + * Analytics data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as + * specified in the request. + */ + rows?: string[][]; + /** The number of samples used to calculate the result. */ + sampleSize?: string; + /** Total size of the sample space from which the samples were selected. */ + sampleSpace?: string; + /** Link to this page. */ + selfLink?: string; + /** The total number of rows for the query, regardless of the number of rows in the response. */ + totalResults?: number; + /** + * Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as + * the metric order specified in the request. + */ + totalsForAllResults?: Record<string, string>; + } + interface Goal { + /** Account ID to which this goal belongs. */ + accountId?: string; + /** Determines whether this goal is active. */ + active?: boolean; + /** Time this goal was created. */ + created?: string; + /** Details for the goal of the type EVENT. */ + eventDetails?: { + /** List of event conditions. */ + eventConditions?: Array<{ + /** Type of comparison. Possible values are LESS_THAN, GREATER_THAN or EQUAL. */ + comparisonType?: string; + /** Value used for this comparison. */ + comparisonValue?: string; + /** Expression used for this match. */ + expression?: string; + /** Type of the match to be performed. Possible values are REGEXP, BEGINS_WITH, or EXACT. */ + matchType?: string; + /** Type of this event condition. Possible values are CATEGORY, ACTION, LABEL, or VALUE. */ + type?: string; + }>; + /** Determines if the event value should be used as the value for this goal. */ + useEventValue?: boolean; + }; + /** Goal ID. */ + id?: string; + /** Internal ID for the web property to which this goal belongs. */ + internalWebPropertyId?: string; + /** Resource type for an Analytics goal. */ + kind?: string; + /** Goal name. */ + name?: string; + /** Parent link for a goal. Points to the view (profile) to which this goal belongs. */ + parentLink?: { + /** Link to the view (profile) to which this goal belongs. */ + href?: string; + /** Value is "analytics#profile". */ + type?: string; + }; + /** View (Profile) ID to which this goal belongs. */ + profileId?: string; + /** Link for this goal. */ + selfLink?: string; + /** Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT. */ + type?: string; + /** Time this goal was last modified. */ + updated?: string; + /** Details for the goal of the type URL_DESTINATION. */ + urlDestinationDetails?: { + /** Determines if the goal URL must exactly match the capitalization of visited URLs. */ + caseSensitive?: boolean; + /** Determines if the first step in this goal is required. */ + firstStepRequired?: boolean; + /** Match type for the goal URL. Possible values are HEAD, EXACT, or REGEX. */ + matchType?: string; + /** List of steps configured for this goal funnel. */ + steps?: Array<{ + /** Step name. */ + name?: string; + /** Step number. */ + number?: number; + /** URL for this step. */ + url?: string; + }>; + /** URL for this goal. */ + url?: string; + }; + /** Goal value. */ + value?: number; + /** Details for the goal of the type VISIT_NUM_PAGES. */ + visitNumPagesDetails?: { + /** Type of comparison. Possible values are LESS_THAN, GREATER_THAN, or EQUAL. */ + comparisonType?: string; + /** Value used for this comparison. */ + comparisonValue?: string; + }; + /** Details for the goal of the type VISIT_TIME_ON_SITE. */ + visitTimeOnSiteDetails?: { + /** Type of comparison. Possible values are LESS_THAN or GREATER_THAN. */ + comparisonType?: string; + /** Value used for this comparison. */ + comparisonValue?: string; + }; + /** Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY. */ + webPropertyId?: string; + } + interface Goals { + /** A list of goals. */ + items?: Goal[]; + /** + * The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a + * value of 1000 by default, or otherwise specified by the max-results query parameter. + */ + itemsPerPage?: number; + /** Collection type. */ + kind?: string; + /** Link to next page for this goal collection. */ + nextLink?: string; + /** Link to previous page for this goal collection. */ + previousLink?: string; + /** The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter. */ + startIndex?: number; + /** The total number of results for the query, regardless of the number of resources in the result. */ + totalResults?: number; + /** Email ID of the authenticated user */ + username?: string; + } + interface IncludeConditions { + /** + * The look-back window lets you specify a time frame for evaluating the behavior that qualifies users for your audience. For example, if your filters + * include users from Central Asia, and Transactions Greater than 2, and you set the look-back window to 14 days, then any user from Central Asia whose + * cumulative transactions exceed 2 during the last 14 days is added to the audience. + */ + daysToLookBack?: number; + /** Boolean indicating whether this segment is a smart list. https://support.google.com/analytics/answer/4628577 */ + isSmartList?: boolean; + /** Resource type for include conditions. */ + kind?: string; + /** Number of days (in the range 1 to 540) a user remains in the audience. */ + membershipDurationDays?: number; + /** The segment condition that will cause a user to be added to an audience. */ + segment?: string; + } + interface LinkedForeignAccount { + /** Account ID to which this linked foreign account belongs. */ + accountId?: string; + /** Boolean indicating whether this is eligible for search. */ + eligibleForSearch?: boolean; + /** Entity ad account link ID. */ + id?: string; + /** Internal ID for the web property to which this linked foreign account belongs. */ + internalWebPropertyId?: string; + /** Resource type for linked foreign account. */ + kind?: string; + /** The foreign account ID. For example the an AdWords `linkedAccountId` has the following format XXX-XXX-XXXX. */ + linkedAccountId?: string; + /** Remarketing audience ID to which this linked foreign account belongs. */ + remarketingAudienceId?: string; + /** The status of this foreign account link. */ + status?: string; + /** The type of the foreign account. For example, `ADWORDS_LINKS`, `DBM_LINKS`, `MCC_LINKS` or `OPTIMIZE`. */ + type?: string; + /** Web property ID of the form UA-XXXXX-YY to which this linked foreign account belongs. */ + webPropertyId?: string; + } + interface McfData { + /** Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request. */ + columnHeaders?: Array<{ + /** Column Type. Either DIMENSION or METRIC. */ + columnType?: string; + /** Data type. Dimension and metric values data types such as INTEGER, DOUBLE, CURRENCY, MCF_SEQUENCE etc. */ + dataType?: string; + /** Column name. */ + name?: string; + }>; + /** Determines if the Analytics data contains sampled data. */ + containsSampledData?: boolean; + /** Unique ID for this data response. */ + id?: string; + /** + * The maximum number of rows the response can contain, regardless of the actual number of rows returned. Its value ranges from 1 to 10,000 with a value + * of 1000 by default, or otherwise specified by the max-results query parameter. + */ + itemsPerPage?: number; + /** Resource type. */ + kind?: string; + /** Link to next page for this Analytics data query. */ + nextLink?: string; + /** Link to previous page for this Analytics data query. */ + previousLink?: string; + /** Information for the view (profile), for which the Analytics data was requested. */ + profileInfo?: { + /** Account ID to which this view (profile) belongs. */ + accountId?: string; + /** Internal ID for the web property to which this view (profile) belongs. */ + internalWebPropertyId?: string; + /** View (Profile) ID. */ + profileId?: string; + /** View (Profile) name. */ + profileName?: string; + /** Table ID for view (profile). */ + tableId?: string; + /** Web Property ID to which this view (profile) belongs. */ + webPropertyId?: string; + }; + /** Analytics data request query parameters. */ + query?: { + /** List of analytics dimensions. */ + dimensions?: string; + /** End date. */ + "end-date"?: string; + /** Comma-separated list of dimension or metric filters. */ + filters?: string; + /** Unique table ID. */ + ids?: string; + /** Maximum results per page. */ + "max-results"?: number; + /** List of analytics metrics. */ + metrics?: string[]; + /** Desired sampling level */ + samplingLevel?: string; + /** Analytics advanced segment. */ + segment?: string; + /** List of dimensions or metrics based on which Analytics data is sorted. */ + sort?: string[]; + /** Start date. */ + "start-date"?: string; + /** Start index. */ + "start-index"?: number; + }; + /** + * Analytics data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as + * specified in the request. + */ + rows?: Array<Array<{ + /** A conversion path dimension value, containing a list of interactions with their attributes. */ + conversionPathValue?: Array<{ + /** Type of an interaction on conversion path. Such as CLICK, IMPRESSION etc. */ + interactionType?: string; + /** Node value of an interaction on conversion path. Such as source, medium etc. */ + nodeValue?: string; + }>; + /** A primitive dimension value. A primitive metric value. */ + primitiveValue?: string; + }>>; + /** The number of samples used to calculate the result. */ + sampleSize?: string; + /** Total size of the sample space from which the samples were selected. */ + sampleSpace?: string; + /** Link to this page. */ + selfLink?: string; + /** The total number of rows for the query, regardless of the number of rows in the response. */ + totalResults?: number; + /** + * Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as + * the metric order specified in the request. + */ + totalsForAllResults?: Record<string, string>; + } + interface Profile { + /** Account ID to which this view (profile) belongs. */ + accountId?: string; + /** Indicates whether bot filtering is enabled for this view (profile). */ + botFilteringEnabled?: boolean; + /** Child link for this view (profile). Points to the list of goals for this view (profile). */ + childLink?: { + /** Link to the list of goals for this view (profile). */ + href?: string; + /** Value is "analytics#goals". */ + type?: string; + }; + /** Time this view (profile) was created. */ + created?: string; + /** + * The currency type associated with this view (profile), defaults to USD. The supported values are: + * USD, JPY, EUR, GBP, AUD, KRW, BRL, CNY, DKK, RUB, SEK, NOK, PLN, TRY, TWD, HKD, THB, IDR, ARS, MXN, VND, PHP, INR, CHF, CAD, CZK, NZD, HUF, BGN, LTL, + * ZAR, UAH, AED, BOB, CLP, COP, EGP, HRK, ILS, MAD, MYR, PEN, PKR, RON, RSD, SAR, SGD, VEF, LVL + */ + currency?: string; + /** Default page for this view (profile). */ + defaultPage?: string; + /** Indicates whether ecommerce tracking is enabled for this view (profile). */ + eCommerceTracking?: boolean; + /** Indicates whether enhanced ecommerce tracking is enabled for this view (profile). This property can only be enabled if ecommerce tracking is enabled. */ + enhancedECommerceTracking?: boolean; + /** The query parameters that are excluded from this view (profile). */ + excludeQueryParameters?: string; + /** View (Profile) ID. */ + id?: string; + /** Internal ID for the web property to which this view (profile) belongs. */ + internalWebPropertyId?: string; + /** Resource type for Analytics view (profile). */ + kind?: string; + /** Name of this view (profile). */ + name?: string; + /** Parent link for this view (profile). Points to the web property to which this view (profile) belongs. */ + parentLink?: { + /** Link to the web property to which this view (profile) belongs. */ + href?: string; + /** Value is "analytics#webproperty". */ + type?: string; + }; + /** Permissions the user has for this view (profile). */ + permissions?: { + /** + * All the permissions that the user has for this view (profile). These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions + * from the parent web property. + */ + effective?: string[]; + }; + /** Link for this view (profile). */ + selfLink?: string; + /** Site search category parameters for this view (profile). */ + siteSearchCategoryParameters?: string; + /** The site search query parameters for this view (profile). */ + siteSearchQueryParameters?: string; + /** Indicates whether this view (profile) is starred or not. */ + starred?: boolean; + /** Whether or not Analytics will strip search category parameters from the URLs in your reports. */ + stripSiteSearchCategoryParameters?: boolean; + /** Whether or not Analytics will strip search query parameters from the URLs in your reports. */ + stripSiteSearchQueryParameters?: boolean; + /** Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database. */ + timezone?: string; + /** View (Profile) type. Supported types: WEB or APP. */ + type?: string; + /** Time this view (profile) was last modified. */ + updated?: string; + /** Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. */ + webPropertyId?: string; + /** Website URL for this view (profile). */ + websiteUrl?: string; + } + interface ProfileFilterLink { + /** Filter for this link. */ + filterRef?: FilterRef; + /** Profile filter link ID. */ + id?: string; + /** Resource type for Analytics filter. */ + kind?: string; + /** View (Profile) for this link. */ + profileRef?: ProfileRef; + /** + * The rank of this profile filter link relative to the other filters linked to the same profile. + * For readonly (i.e., list and get) operations, the rank always starts at 1. + * For write (i.e., create, update, or delete) operations, you may specify a value between 0 and 255 inclusively, [0, 255]. In order to insert a link at + * the end of the list, either don't specify a rank or set a rank to a number greater than the largest rank in the list. In order to insert a link to the + * beginning of the list specify a rank that is less than or equal to 1. The new link will move all existing filters with the same or lower rank down the + * list. After the link is inserted/updated/deleted all profile filter links will be renumbered starting at 1. + */ + rank?: number; + /** Link for this profile filter link. */ + selfLink?: string; + } + interface ProfileFilterLinks { + /** A list of profile filter links. */ + items?: ProfileFilterLink[]; + /** + * The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1,000 with + * a value of 1000 by default, or otherwise specified by the max-results query parameter. + */ + itemsPerPage?: number; + /** Collection type. */ + kind?: string; + /** Link to next page for this profile filter link collection. */ + nextLink?: string; + /** Link to previous page for this profile filter link collection. */ + previousLink?: string; + /** The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter. */ + startIndex?: number; + /** The total number of results for the query, regardless of the number of results in the response. */ + totalResults?: number; + /** Email ID of the authenticated user */ + username?: string; + } + interface ProfileRef { + /** Account ID to which this view (profile) belongs. */ + accountId?: string; + /** Link for this view (profile). */ + href?: string; + /** View (Profile) ID. */ + id?: string; + /** Internal ID for the web property to which this view (profile) belongs. */ + internalWebPropertyId?: string; + /** Analytics view (profile) reference. */ + kind?: string; + /** Name of this view (profile). */ + name?: string; + /** Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. */ + webPropertyId?: string; + } + interface ProfileSummary { + /** View (profile) ID. */ + id?: string; + /** Resource type for Analytics ProfileSummary. */ + kind?: string; + /** View (profile) name. */ + name?: string; + /** Indicates whether this view (profile) is starred or not. */ + starred?: boolean; + /** View (Profile) type. Supported types: WEB or APP. */ + type?: string; + } + interface Profiles { + /** A list of views (profiles). */ + items?: Profile[]; + /** + * The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a + * value of 1000 by default, or otherwise specified by the max-results query parameter. + */ + itemsPerPage?: number; + /** Collection type. */ + kind?: string; + /** Link to next page for this view (profile) collection. */ + nextLink?: string; + /** Link to previous page for this view (profile) collection. */ + previousLink?: string; + /** The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter. */ + startIndex?: number; + /** The total number of results for the query, regardless of the number of results in the response. */ + totalResults?: number; + /** Email ID of the authenticated user */ + username?: string; + } + interface RealtimeData { + /** Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request. */ + columnHeaders?: Array<{ + /** Column Type. Either DIMENSION or METRIC. */ + columnType?: string; + /** + * Data type. Dimension column headers have only STRING as the data type. Metric column headers have data types for metric values such as INTEGER, DOUBLE, + * CURRENCY etc. + */ + dataType?: string; + /** Column name. */ + name?: string; + }>; + /** Unique ID for this data response. */ + id?: string; + /** Resource type. */ + kind?: string; + /** Information for the view (profile), for which the real time data was requested. */ + profileInfo?: { + /** Account ID to which this view (profile) belongs. */ + accountId?: string; + /** Internal ID for the web property to which this view (profile) belongs. */ + internalWebPropertyId?: string; + /** View (Profile) ID. */ + profileId?: string; + /** View (Profile) name. */ + profileName?: string; + /** Table ID for view (profile). */ + tableId?: string; + /** Web Property ID to which this view (profile) belongs. */ + webPropertyId?: string; + }; + /** Real time data request query parameters. */ + query?: { + /** List of real time dimensions. */ + dimensions?: string; + /** Comma-separated list of dimension or metric filters. */ + filters?: string; + /** Unique table ID. */ + ids?: string; + /** Maximum results per page. */ + "max-results"?: number; + /** List of real time metrics. */ + metrics?: string[]; + /** List of dimensions or metrics based on which real time data is sorted. */ + sort?: string[]; + }; + /** + * Real time data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as + * specified in the request. + */ + rows?: string[][]; + /** Link to this page. */ + selfLink?: string; + /** The total number of rows for the query, regardless of the number of rows in the response. */ + totalResults?: number; + /** + * Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as + * the metric order specified in the request. + */ + totalsForAllResults?: Record<string, string>; + } + interface RemarketingAudience { + /** Account ID to which this remarketing audience belongs. */ + accountId?: string; + /** The simple audience definition that will cause a user to be added to an audience. */ + audienceDefinition?: { + /** Defines the conditions to include users to the audience. */ + includeConditions?: IncludeConditions; + }; + /** The type of audience, either SIMPLE or STATE_BASED. */ + audienceType?: string; + /** Time this remarketing audience was created. */ + created?: string; + /** The description of this remarketing audience. */ + description?: string; + /** Remarketing Audience ID. */ + id?: string; + /** Internal ID for the web property to which this remarketing audience belongs. */ + internalWebPropertyId?: string; + /** Collection type. */ + kind?: string; + /** The linked ad accounts associated with this remarketing audience. A remarketing audience can have only one linkedAdAccount currently. */ + linkedAdAccounts?: LinkedForeignAccount[]; + /** The views (profiles) that this remarketing audience is linked to. */ + linkedViews?: string[]; + /** The name of this remarketing audience. */ + name?: string; + /** A state based audience definition that will cause a user to be added or removed from an audience. */ + stateBasedAudienceDefinition?: { + /** Defines the conditions to exclude users from the audience. */ + excludeConditions?: { + /** Whether to make the exclusion TEMPORARY or PERMANENT. */ + exclusionDuration?: string; + /** The segment condition that will cause a user to be removed from an audience. */ + segment?: string; + }; + /** Defines the conditions to include users to the audience. */ + includeConditions?: IncludeConditions; + }; + /** Time this remarketing audience was last modified. */ + updated?: string; + /** Web property ID of the form UA-XXXXX-YY to which this remarketing audience belongs. */ + webPropertyId?: string; + } + interface RemarketingAudiences { + /** A list of remarketing audiences. */ + items?: RemarketingAudience[]; + /** + * The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a + * value of 1000 by default, or otherwise specified by the max-results query parameter. + */ + itemsPerPage?: number; + /** Collection type. */ + kind?: string; + /** Link to next page for this remarketing audience collection. */ + nextLink?: string; + /** Link to previous page for this view (profile) collection. */ + previousLink?: string; + /** The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter. */ + startIndex?: number; + /** The total number of results for the query, regardless of the number of results in the response. */ + totalResults?: number; + /** Email ID of the authenticated user */ + username?: string; + } + interface Segment { + /** Time the segment was created. */ + created?: string; + /** Segment definition. */ + definition?: string; + /** Segment ID. */ + id?: string; + /** Resource type for Analytics segment. */ + kind?: string; + /** Segment name. */ + name?: string; + /** Segment ID. Can be used with the 'segment' parameter in Core Reporting API. */ + segmentId?: string; + /** Link for this segment. */ + selfLink?: string; + /** Type for a segment. Possible values are "BUILT_IN" or "CUSTOM". */ + type?: string; + /** Time the segment was last modified. */ + updated?: string; + } + interface Segments { + /** A list of segments. */ + items?: Segment[]; + /** + * The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a + * value of 1000 by default, or otherwise specified by the max-results query parameter. + */ + itemsPerPage?: number; + /** Collection type for segments. */ + kind?: string; + /** Link to next page for this segment collection. */ + nextLink?: string; + /** Link to previous page for this segment collection. */ + previousLink?: string; + /** The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter. */ + startIndex?: number; + /** The total number of results for the query, regardless of the number of results in the response. */ + totalResults?: number; + /** Email ID of the authenticated user */ + username?: string; + } + interface UnsampledReport { + /** Account ID to which this unsampled report belongs. */ + accountId?: string; + /** Download details for a file stored in Google Cloud Storage. */ + cloudStorageDownloadDetails?: { + /** Id of the bucket the file object is stored in. */ + bucketId?: string; + /** Id of the file object containing the report data. */ + objectId?: string; + }; + /** Time this unsampled report was created. */ + created?: string; + /** The dimensions for the unsampled report. */ + dimensions?: string; + /** + * The type of download you need to use for the report data file. Possible values include `GOOGLE_DRIVE` and `GOOGLE_CLOUD_STORAGE`. If the value is + * `GOOGLE_DRIVE`, see the `driveDownloadDetails` field. If the value is `GOOGLE_CLOUD_STORAGE`, see the `cloudStorageDownloadDetails` field. + */ + downloadType?: string; + /** Download details for a file stored in Google Drive. */ + driveDownloadDetails?: { + /** Id of the document/file containing the report data. */ + documentId?: string; + }; + /** The end date for the unsampled report. */ + "end-date"?: string; + /** The filters for the unsampled report. */ + filters?: string; + /** Unsampled report ID. */ + id?: string; + /** Resource type for an Analytics unsampled report. */ + kind?: string; + /** The metrics for the unsampled report. */ + metrics?: string; + /** View (Profile) ID to which this unsampled report belongs. */ + profileId?: string; + /** The segment for the unsampled report. */ + segment?: string; + /** Link for this unsampled report. */ + selfLink?: string; + /** The start date for the unsampled report. */ + "start-date"?: string; + /** Status of this unsampled report. Possible values are PENDING, COMPLETED, or FAILED. */ + status?: string; + /** Title of the unsampled report. */ + title?: string; + /** Time this unsampled report was last modified. */ + updated?: string; + /** Web property ID to which this unsampled report belongs. The web property ID is of the form UA-XXXXX-YY. */ + webPropertyId?: string; + } + interface UnsampledReports { + /** A list of unsampled reports. */ + items?: UnsampledReport[]; + /** + * The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a + * value of 1000 by default, or otherwise specified by the max-results query parameter. + */ + itemsPerPage?: number; + /** Collection type. */ + kind?: string; + /** Link to next page for this unsampled report collection. */ + nextLink?: string; + /** Link to previous page for this unsampled report collection. */ + previousLink?: string; + /** The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter. */ + startIndex?: number; + /** The total number of results for the query, regardless of the number of resources in the result. */ + totalResults?: number; + /** Email ID of the authenticated user */ + username?: string; + } + interface Upload { + /** Account Id to which this upload belongs. */ + accountId?: string; + /** Custom data source Id to which this data import belongs. */ + customDataSourceId?: string; + /** Data import errors collection. */ + errors?: string[]; + /** A unique ID for this upload. */ + id?: string; + /** Resource type for Analytics upload. */ + kind?: string; + /** Upload status. Possible values: PENDING, COMPLETED, FAILED, DELETING, DELETED. */ + status?: string; + /** Time this file is uploaded. */ + uploadTime?: string; + } + interface Uploads { + /** A list of uploads. */ + items?: Upload[]; + /** + * The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a + * value of 1000 by default, or otherwise specified by the max-results query parameter. + */ + itemsPerPage?: number; + /** Collection type. */ + kind?: string; + /** Link to next page for this upload collection. */ + nextLink?: string; + /** Link to previous page for this upload collection. */ + previousLink?: string; + /** The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter. */ + startIndex?: number; + /** The total number of results for the query, regardless of the number of resources in the result. */ + totalResults?: number; + } + interface UserRef { + /** Email ID of this user. */ + email?: string; + /** User ID. */ + id?: string; + kind?: string; + } + interface WebPropertyRef { + /** Account ID to which this web property belongs. */ + accountId?: string; + /** Link for this web property. */ + href?: string; + /** Web property ID of the form UA-XXXXX-YY. */ + id?: string; + /** Internal ID for this web property. */ + internalWebPropertyId?: string; + /** Analytics web property reference. */ + kind?: string; + /** Name of this web property. */ + name?: string; + } + interface WebPropertySummary { + /** Web property ID of the form UA-XXXXX-YY. */ + id?: string; + /** Internal ID for this web property. */ + internalWebPropertyId?: string; + /** Resource type for Analytics WebPropertySummary. */ + kind?: string; + /** Level for this web property. Possible values are STANDARD or PREMIUM. */ + level?: string; + /** Web property name. */ + name?: string; + /** List of profiles under this web property. */ + profiles?: ProfileSummary[]; + /** Indicates whether this web property is starred or not. */ + starred?: boolean; + /** Website url for this web property. */ + websiteUrl?: string; + } + interface Webproperties { + /** A list of web properties. */ + items?: Webproperty[]; + /** + * The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a + * value of 1000 by default, or otherwise specified by the max-results query parameter. + */ + itemsPerPage?: number; + /** Collection type. */ + kind?: string; + /** Link to next page for this web property collection. */ + nextLink?: string; + /** Link to previous page for this web property collection. */ + previousLink?: string; + /** The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter. */ + startIndex?: number; + /** The total number of results for the query, regardless of the number of results in the response. */ + totalResults?: number; + /** Email ID of the authenticated user */ + username?: string; + } + interface Webproperty { + /** Account ID to which this web property belongs. */ + accountId?: string; + /** Child link for this web property. Points to the list of views (profiles) for this web property. */ + childLink?: { + /** Link to the list of views (profiles) for this web property. */ + href?: string; + /** Type of the parent link. Its value is "analytics#profiles". */ + type?: string; + }; + /** Time this web property was created. */ + created?: string; + /** Default view (profile) ID. */ + defaultProfileId?: string; + /** Web property ID of the form UA-XXXXX-YY. */ + id?: string; + /** The industry vertical/category selected for this web property. */ + industryVertical?: string; + /** Internal ID for this web property. */ + internalWebPropertyId?: string; + /** Resource type for Analytics WebProperty. */ + kind?: string; + /** Level for this web property. Possible values are STANDARD or PREMIUM. */ + level?: string; + /** Name of this web property. */ + name?: string; + /** Parent link for this web property. Points to the account to which this web property belongs. */ + parentLink?: { + /** Link to the account for this web property. */ + href?: string; + /** Type of the parent link. Its value is "analytics#account". */ + type?: string; + }; + /** Permissions the user has for this web property. */ + permissions?: { + /** + * All the permissions that the user has for this web property. These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions + * from the parent account. + */ + effective?: string[]; + }; + /** View (Profile) count for this web property. */ + profileCount?: number; + /** Link for this web property. */ + selfLink?: string; + /** Indicates whether this web property is starred or not. */ + starred?: boolean; + /** Time this web property was last modified. */ + updated?: string; + /** Website url for this web property. */ + websiteUrl?: string; + } + interface GaResource { + /** Returns Analytics data for a view (profile). */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'. */ + dimensions?: string; + /** + * End date for fetching Analytics data. Request can should specify an end date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or + * 7daysAgo). The default value is yesterday. + */ + "end-date": string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** A comma-separated list of dimension or metric filters to be applied to Analytics data. */ + filters?: string; + /** Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID. */ + ids: string; + /** The response will include empty rows if this parameter is set to true, the default is true */ + "include-empty-rows"?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of entries to include in this feed. */ + "max-results"?: number; + /** A comma-separated list of Analytics metrics. E.g., 'ga:sessions,ga:pageviews'. At least one metric must be specified. */ + metrics: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The selected format for the response. Default format is JSON. */ + output?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The desired sampling level. */ + samplingLevel?: string; + /** An Analytics segment to be applied to data. */ + segment?: string; + /** A comma-separated list of dimensions or metrics that determine the sort order for Analytics data. */ + sort?: string; + /** + * Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or + * 7daysAgo). The default value is 7daysAgo. + */ + "start-date": string; + /** An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GaData>; + } + interface McfResource { + /** Returns Analytics Multi-Channel Funnels data for a view (profile). */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'. */ + dimensions?: string; + /** + * End date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or + * 7daysAgo). The default value is 7daysAgo. + */ + "end-date": string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** A comma-separated list of dimension or metric filters to be applied to the Analytics data. */ + filters?: string; + /** Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID. */ + ids: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of entries to include in this feed. */ + "max-results"?: number; + /** A comma-separated list of Multi-Channel Funnels metrics. E.g., 'mcf:totalConversions,mcf:totalConversionValue'. At least one metric must be specified. */ + metrics: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The desired sampling level. */ + samplingLevel?: string; + /** A comma-separated list of dimensions or metrics that determine the sort order for the Analytics data. */ + sort?: string; + /** + * Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or + * 7daysAgo). The default value is 7daysAgo. + */ + "start-date": string; + /** An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<McfData>; + } + interface RealtimeResource { + /** Returns real time data for a view (profile). */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** A comma-separated list of real time dimensions. E.g., 'rt:medium,rt:city'. */ + dimensions?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** A comma-separated list of dimension or metric filters to be applied to real time data. */ + filters?: string; + /** Unique table ID for retrieving real time data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID. */ + ids: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of entries to include in this feed. */ + "max-results"?: number; + /** A comma-separated list of real time metrics. E.g., 'rt:activeUsers'. At least one metric must be specified. */ + metrics: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** A comma-separated list of dimensions or metrics that determine the sort order for real time data. */ + sort?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RealtimeData>; + } + interface DataResource { + ga: GaResource; + mcf: McfResource; + realtime: RealtimeResource; + } + interface AccountSummariesResource { + /** Lists account summaries (lightweight tree comprised of accounts/properties/profiles) to which the user has access. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of account summaries to include in this response, where the largest acceptable value is 1000. */ + "max-results"?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountSummaries>; + } + interface AccountUserLinksResource { + /** Removes a user from the given account. */ + delete(request: { + /** Account ID to delete the user link for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Link ID to delete the user link for. */ + linkId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Adds a new user to the given account. */ + insert(request: { + /** Account ID to create the user link for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<EntityUserLink>; + /** Lists account-user links for a given account. */ + list(request: { + /** Account ID to retrieve the user links for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of account-user links to include in this response. */ + "max-results"?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** An index of the first account-user link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<EntityUserLinks>; + /** Updates permissions for an existing user on the given account. */ + update(request: { + /** Account ID to update the account-user link for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Link ID to update the account-user link for. */ + linkId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<EntityUserLink>; + } + interface AccountsResource { + /** Lists all accounts to which the user has access. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of accounts to include in this response. */ + "max-results"?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** An index of the first account to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Accounts>; + } + interface CustomDataSourcesResource { + /** List custom data sources to which the user has access. */ + list(request: { + /** Account Id for the custom data sources to retrieve. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of custom data sources to include in this response. */ + "max-results"?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** A 1-based index of the first custom data source to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property Id for the custom data sources to retrieve. */ + webPropertyId: string; + }): Request<CustomDataSources>; + } + interface CustomDimensionsResource { + /** Get a custom dimension to which the user has access. */ + get(request: { + /** Account ID for the custom dimension to retrieve. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** The ID of the custom dimension to retrieve. */ + customDimensionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID for the custom dimension to retrieve. */ + webPropertyId: string; + }): Request<CustomDimension>; + /** Create a new custom dimension. */ + insert(request: { + /** Account ID for the custom dimension to create. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID for the custom dimension to create. */ + webPropertyId: string; + }): Request<CustomDimension>; + /** Lists custom dimensions to which the user has access. */ + list(request: { + /** Account ID for the custom dimensions to retrieve. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of custom dimensions to include in this response. */ + "max-results"?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID for the custom dimensions to retrieve. */ + webPropertyId: string; + }): Request<CustomDimensions>; + /** Updates an existing custom dimension. This method supports patch semantics. */ + patch(request: { + /** Account ID for the custom dimension to update. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Custom dimension ID for the custom dimension to update. */ + customDimensionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Force the update and ignore any warnings related to the custom dimension being linked to a custom data source / data set. */ + ignoreCustomDataSourceLinks?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID for the custom dimension to update. */ + webPropertyId: string; + }): Request<CustomDimension>; + /** Updates an existing custom dimension. */ + update(request: { + /** Account ID for the custom dimension to update. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Custom dimension ID for the custom dimension to update. */ + customDimensionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Force the update and ignore any warnings related to the custom dimension being linked to a custom data source / data set. */ + ignoreCustomDataSourceLinks?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID for the custom dimension to update. */ + webPropertyId: string; + }): Request<CustomDimension>; + } + interface CustomMetricsResource { + /** Get a custom metric to which the user has access. */ + get(request: { + /** Account ID for the custom metric to retrieve. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** The ID of the custom metric to retrieve. */ + customMetricId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID for the custom metric to retrieve. */ + webPropertyId: string; + }): Request<CustomMetric>; + /** Create a new custom metric. */ + insert(request: { + /** Account ID for the custom metric to create. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID for the custom dimension to create. */ + webPropertyId: string; + }): Request<CustomMetric>; + /** Lists custom metrics to which the user has access. */ + list(request: { + /** Account ID for the custom metrics to retrieve. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of custom metrics to include in this response. */ + "max-results"?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID for the custom metrics to retrieve. */ + webPropertyId: string; + }): Request<CustomMetrics>; + /** Updates an existing custom metric. This method supports patch semantics. */ + patch(request: { + /** Account ID for the custom metric to update. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Custom metric ID for the custom metric to update. */ + customMetricId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Force the update and ignore any warnings related to the custom metric being linked to a custom data source / data set. */ + ignoreCustomDataSourceLinks?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID for the custom metric to update. */ + webPropertyId: string; + }): Request<CustomMetric>; + /** Updates an existing custom metric. */ + update(request: { + /** Account ID for the custom metric to update. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Custom metric ID for the custom metric to update. */ + customMetricId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Force the update and ignore any warnings related to the custom metric being linked to a custom data source / data set. */ + ignoreCustomDataSourceLinks?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID for the custom metric to update. */ + webPropertyId: string; + }): Request<CustomMetric>; + } + interface ExperimentsResource { + /** Delete an experiment. */ + delete(request: { + /** Account ID to which the experiment belongs */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** ID of the experiment to delete */ + experimentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** View (Profile) ID to which the experiment belongs */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to which the experiment belongs */ + webPropertyId: string; + }): Request<void>; + /** Returns an experiment to which the user has access. */ + get(request: { + /** Account ID to retrieve the experiment for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Experiment ID to retrieve the experiment for. */ + experimentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** View (Profile) ID to retrieve the experiment for. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to retrieve the experiment for. */ + webPropertyId: string; + }): Request<Experiment>; + /** Create a new experiment. */ + insert(request: { + /** Account ID to create the experiment for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** View (Profile) ID to create the experiment for. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to create the experiment for. */ + webPropertyId: string; + }): Request<Experiment>; + /** Lists experiments to which the user has access. */ + list(request: { + /** Account ID to retrieve experiments for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of experiments to include in this response. */ + "max-results"?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** View (Profile) ID to retrieve experiments for. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** An index of the first experiment to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to retrieve experiments for. */ + webPropertyId: string; + }): Request<Experiments>; + /** Update an existing experiment. This method supports patch semantics. */ + patch(request: { + /** Account ID of the experiment to update. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Experiment ID of the experiment to update. */ + experimentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** View (Profile) ID of the experiment to update. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID of the experiment to update. */ + webPropertyId: string; + }): Request<Experiment>; + /** Update an existing experiment. */ + update(request: { + /** Account ID of the experiment to update. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Experiment ID of the experiment to update. */ + experimentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** View (Profile) ID of the experiment to update. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID of the experiment to update. */ + webPropertyId: string; + }): Request<Experiment>; + } + interface FiltersResource { + /** Delete a filter. */ + delete(request: { + /** Account ID to delete the filter for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** ID of the filter to be deleted. */ + filterId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Filter>; + /** Returns a filters to which the user has access. */ + get(request: { + /** Account ID to retrieve filters for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Filter ID to retrieve filters for. */ + filterId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Filter>; + /** Create a new filter. */ + insert(request: { + /** Account ID to create filter for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Filter>; + /** Lists all filters for an account */ + list(request: { + /** Account ID to retrieve filters for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of filters to include in this response. */ + "max-results"?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Filters>; + /** Updates an existing filter. This method supports patch semantics. */ + patch(request: { + /** Account ID to which the filter belongs. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** ID of the filter to be updated. */ + filterId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Filter>; + /** Updates an existing filter. */ + update(request: { + /** Account ID to which the filter belongs. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** ID of the filter to be updated. */ + filterId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Filter>; + } + interface GoalsResource { + /** Gets a goal to which the user has access. */ + get(request: { + /** Account ID to retrieve the goal for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Goal ID to retrieve the goal for. */ + goalId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** View (Profile) ID to retrieve the goal for. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to retrieve the goal for. */ + webPropertyId: string; + }): Request<Goal>; + /** Create a new goal. */ + insert(request: { + /** Account ID to create the goal for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** View (Profile) ID to create the goal for. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to create the goal for. */ + webPropertyId: string; + }): Request<Goal>; + /** Lists goals to which the user has access. */ + list(request: { + /** Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to all the accounts that user has access to. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of goals to include in this response. */ + "max-results"?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or '~all', which refers to all the views (profiles) that user has + * access to. + */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** An index of the first goal to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** + * Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access + * to. + */ + webPropertyId: string; + }): Request<Goals>; + /** Updates an existing goal. This method supports patch semantics. */ + patch(request: { + /** Account ID to update the goal. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Index of the goal to be updated. */ + goalId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** View (Profile) ID to update the goal. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to update the goal. */ + webPropertyId: string; + }): Request<Goal>; + /** Updates an existing goal. */ + update(request: { + /** Account ID to update the goal. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Index of the goal to be updated. */ + goalId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** View (Profile) ID to update the goal. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to update the goal. */ + webPropertyId: string; + }): Request<Goal>; + } + interface ProfileFilterLinksResource { + /** Delete a profile filter link. */ + delete(request: { + /** Account ID to which the profile filter link belongs. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** ID of the profile filter link to delete. */ + linkId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Profile ID to which the filter link belongs. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property Id to which the profile filter link belongs. */ + webPropertyId: string; + }): Request<void>; + /** Returns a single profile filter link. */ + get(request: { + /** Account ID to retrieve profile filter link for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** ID of the profile filter link. */ + linkId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Profile ID to retrieve filter link for. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property Id to retrieve profile filter link for. */ + webPropertyId: string; + }): Request<ProfileFilterLink>; + /** Create a new profile filter link. */ + insert(request: { + /** Account ID to create profile filter link for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Profile ID to create filter link for. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property Id to create profile filter link for. */ + webPropertyId: string; + }): Request<ProfileFilterLink>; + /** Lists all profile filter links for a profile. */ + list(request: { + /** Account ID to retrieve profile filter links for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of profile filter links to include in this response. */ + "max-results"?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Profile ID to retrieve filter links for. Can either be a specific profile ID or '~all', which refers to all the profiles that user has access to. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** + * Web property Id for profile filter links for. Can either be a specific web property ID or '~all', which refers to all the web properties that user has + * access to. + */ + webPropertyId: string; + }): Request<ProfileFilterLinks>; + /** Update an existing profile filter link. This method supports patch semantics. */ + patch(request: { + /** Account ID to which profile filter link belongs. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** ID of the profile filter link to be updated. */ + linkId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Profile ID to which filter link belongs */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property Id to which profile filter link belongs */ + webPropertyId: string; + }): Request<ProfileFilterLink>; + /** Update an existing profile filter link. */ + update(request: { + /** Account ID to which profile filter link belongs. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** ID of the profile filter link to be updated. */ + linkId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Profile ID to which filter link belongs */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property Id to which profile filter link belongs */ + webPropertyId: string; + }): Request<ProfileFilterLink>; + } + interface ProfileUserLinksResource { + /** Removes a user from the given view (profile). */ + delete(request: { + /** Account ID to delete the user link for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Link ID to delete the user link for. */ + linkId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** View (Profile) ID to delete the user link for. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web Property ID to delete the user link for. */ + webPropertyId: string; + }): Request<void>; + /** Adds a new user to the given view (profile). */ + insert(request: { + /** Account ID to create the user link for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** View (Profile) ID to create the user link for. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web Property ID to create the user link for. */ + webPropertyId: string; + }): Request<EntityUserLink>; + /** Lists profile-user links for a given view (profile). */ + list(request: { + /** Account ID which the given view (profile) belongs to. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of profile-user links to include in this response. */ + "max-results"?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * View (Profile) ID to retrieve the profile-user links for. Can either be a specific profile ID or '~all', which refers to all the profiles that user has + * access to. + */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** An index of the first profile-user link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** + * Web Property ID which the given view (profile) belongs to. Can either be a specific web property ID or '~all', which refers to all the web properties + * that user has access to. + */ + webPropertyId: string; + }): Request<EntityUserLinks>; + /** Updates permissions for an existing user on the given view (profile). */ + update(request: { + /** Account ID to update the user link for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Link ID to update the user link for. */ + linkId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** View (Profile ID) to update the user link for. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web Property ID to update the user link for. */ + webPropertyId: string; + }): Request<EntityUserLink>; + } + interface ProfilesResource { + /** Deletes a view (profile). */ + delete(request: { + /** Account ID to delete the view (profile) for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** ID of the view (profile) to be deleted. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to delete the view (profile) for. */ + webPropertyId: string; + }): Request<void>; + /** Gets a view (profile) to which the user has access. */ + get(request: { + /** Account ID to retrieve the view (profile) for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** View (Profile) ID to retrieve the view (profile) for. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to retrieve the view (profile) for. */ + webPropertyId: string; + }): Request<Profile>; + /** Create a new view (profile). */ + insert(request: { + /** Account ID to create the view (profile) for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to create the view (profile) for. */ + webPropertyId: string; + }): Request<Profile>; + /** Lists views (profiles) to which the user has access. */ + list(request: { + /** + * Account ID for the view (profiles) to retrieve. Can either be a specific account ID or '~all', which refers to all the accounts to which the user has + * access. + */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of views (profiles) to include in this response. */ + "max-results"?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** + * Web property ID for the views (profiles) to retrieve. Can either be a specific web property ID or '~all', which refers to all the web properties to + * which the user has access. + */ + webPropertyId: string; + }): Request<Profiles>; + /** Updates an existing view (profile). This method supports patch semantics. */ + patch(request: { + /** Account ID to which the view (profile) belongs */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** ID of the view (profile) to be updated. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to which the view (profile) belongs */ + webPropertyId: string; + }): Request<Profile>; + /** Updates an existing view (profile). */ + update(request: { + /** Account ID to which the view (profile) belongs */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** ID of the view (profile) to be updated. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to which the view (profile) belongs */ + webPropertyId: string; + }): Request<Profile>; + } + interface RemarketingAudienceResource { + /** Delete a remarketing audience. */ + delete(request: { + /** Account ID to which the remarketing audience belongs. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the remarketing audience to delete. */ + remarketingAudienceId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to which the remarketing audience belongs. */ + webPropertyId: string; + }): Request<void>; + /** Gets a remarketing audience to which the user has access. */ + get(request: { + /** The account ID of the remarketing audience to retrieve. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the remarketing audience to retrieve. */ + remarketingAudienceId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The web property ID of the remarketing audience to retrieve. */ + webPropertyId: string; + }): Request<RemarketingAudience>; + /** Creates a new remarketing audience. */ + insert(request: { + /** The account ID for which to create the remarketing audience. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID for which to create the remarketing audience. */ + webPropertyId: string; + }): Request<RemarketingAudience>; + /** Lists remarketing audiences to which the user has access. */ + list(request: { + /** The account ID of the remarketing audiences to retrieve. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of remarketing audiences to include in this response. */ + "max-results"?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + type?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The web property ID of the remarketing audiences to retrieve. */ + webPropertyId: string; + }): Request<RemarketingAudiences>; + /** Updates an existing remarketing audience. This method supports patch semantics. */ + patch(request: { + /** The account ID of the remarketing audience to update. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the remarketing audience to update. */ + remarketingAudienceId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The web property ID of the remarketing audience to update. */ + webPropertyId: string; + }): Request<RemarketingAudience>; + /** Updates an existing remarketing audience. */ + update(request: { + /** The account ID of the remarketing audience to update. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the remarketing audience to update. */ + remarketingAudienceId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The web property ID of the remarketing audience to update. */ + webPropertyId: string; + }): Request<RemarketingAudience>; + } + interface SegmentsResource { + /** Lists segments to which the user has access. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of segments to include in this response. */ + "max-results"?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** An index of the first segment to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Segments>; + } + interface UnsampledReportsResource { + /** Deletes an unsampled report. */ + delete(request: { + /** Account ID to delete the unsampled report for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** View (Profile) ID to delete the unsampled report for. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** ID of the unsampled report to be deleted. */ + unsampledReportId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to delete the unsampled reports for. */ + webPropertyId: string; + }): Request<void>; + /** Returns a single unsampled report. */ + get(request: { + /** Account ID to retrieve unsampled report for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** View (Profile) ID to retrieve unsampled report for. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** ID of the unsampled report to retrieve. */ + unsampledReportId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to retrieve unsampled reports for. */ + webPropertyId: string; + }): Request<UnsampledReport>; + /** Create a new unsampled report. */ + insert(request: { + /** Account ID to create the unsampled report for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** View (Profile) ID to create the unsampled report for. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to create the unsampled report for. */ + webPropertyId: string; + }): Request<UnsampledReport>; + /** Lists unsampled reports to which the user has access. */ + list(request: { + /** Account ID to retrieve unsampled reports for. Must be a specific account ID, ~all is not supported. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of unsampled reports to include in this response. */ + "max-results"?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** View (Profile) ID to retrieve unsampled reports for. Must be a specific view (profile) ID, ~all is not supported. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** An index of the first unsampled report to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to retrieve unsampled reports for. Must be a specific web property ID, ~all is not supported. */ + webPropertyId: string; + }): Request<UnsampledReports>; + } + interface UploadsResource { + /** Delete data associated with a previous upload. */ + deleteUploadData(request: { + /** Account Id for the uploads to be deleted. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Custom data source Id for the uploads to be deleted. */ + customDataSourceId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property Id for the uploads to be deleted. */ + webPropertyId: string; + }): Request<void>; + /** List uploads to which the user has access. */ + get(request: { + /** Account Id for the upload to retrieve. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Custom data source Id for upload to retrieve. */ + customDataSourceId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Upload Id to retrieve. */ + uploadId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property Id for the upload to retrieve. */ + webPropertyId: string; + }): Request<Upload>; + /** List uploads to which the user has access. */ + list(request: { + /** Account Id for the uploads to retrieve. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Custom data source Id for uploads to retrieve. */ + customDataSourceId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of uploads to include in this response. */ + "max-results"?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** A 1-based index of the first upload to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property Id for the uploads to retrieve. */ + webPropertyId: string; + }): Request<Uploads>; + /** Upload data for a custom data source. */ + uploadData(request: { + /** Account Id associated with the upload. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Custom data source Id to which the data being uploaded belongs. */ + customDataSourceId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property UA-string associated with the upload. */ + webPropertyId: string; + }): Request<Upload>; + } + interface WebPropertyAdWordsLinksResource { + /** Deletes a web property-AdWords link. */ + delete(request: { + /** ID of the account which the given web property belongs to. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property AdWords link ID. */ + webPropertyAdWordsLinkId: string; + /** Web property ID to delete the AdWords link for. */ + webPropertyId: string; + }): Request<void>; + /** Returns a web property-AdWords link to which the user has access. */ + get(request: { + /** ID of the account which the given web property belongs to. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property-AdWords link ID. */ + webPropertyAdWordsLinkId: string; + /** Web property ID to retrieve the AdWords link for. */ + webPropertyId: string; + }): Request<EntityAdWordsLink>; + /** Creates a webProperty-AdWords link. */ + insert(request: { + /** ID of the Google Analytics account to create the link for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to create the link for. */ + webPropertyId: string; + }): Request<EntityAdWordsLink>; + /** Lists webProperty-AdWords links for a given web property. */ + list(request: { + /** ID of the account which the given web property belongs to. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of webProperty-AdWords links to include in this response. */ + "max-results"?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** An index of the first webProperty-AdWords link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to retrieve the AdWords links for. */ + webPropertyId: string; + }): Request<EntityAdWordsLinks>; + /** Updates an existing webProperty-AdWords link. This method supports patch semantics. */ + patch(request: { + /** ID of the account which the given web property belongs to. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property-AdWords link ID. */ + webPropertyAdWordsLinkId: string; + /** Web property ID to retrieve the AdWords link for. */ + webPropertyId: string; + }): Request<EntityAdWordsLink>; + /** Updates an existing webProperty-AdWords link. */ + update(request: { + /** ID of the account which the given web property belongs to. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property-AdWords link ID. */ + webPropertyAdWordsLinkId: string; + /** Web property ID to retrieve the AdWords link for. */ + webPropertyId: string; + }): Request<EntityAdWordsLink>; + } + interface WebpropertiesResource { + /** Gets a web property to which the user has access. */ + get(request: { + /** Account ID to retrieve the web property for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** ID to retrieve the web property for. */ + webPropertyId: string; + }): Request<Webproperty>; + /** + * Create a new property if the account has fewer than 20 properties. Web properties are visible in the Google Analytics interface only if they have at + * least one profile. + */ + insert(request: { + /** Account ID to create the web property for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Webproperty>; + /** Lists web properties to which the user has access. */ + list(request: { + /** Account ID to retrieve web properties for. Can either be a specific account ID or '~all', which refers to all the accounts that user has access to. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of web properties to include in this response. */ + "max-results"?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Webproperties>; + /** Updates an existing web property. This method supports patch semantics. */ + patch(request: { + /** Account ID to which the web property belongs */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID */ + webPropertyId: string; + }): Request<Webproperty>; + /** Updates an existing web property. */ + update(request: { + /** Account ID to which the web property belongs */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID */ + webPropertyId: string; + }): Request<Webproperty>; + } + interface WebpropertyUserLinksResource { + /** Removes a user from the given web property. */ + delete(request: { + /** Account ID to delete the user link for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Link ID to delete the user link for. */ + linkId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web Property ID to delete the user link for. */ + webPropertyId: string; + }): Request<void>; + /** Adds a new user to the given web property. */ + insert(request: { + /** Account ID to create the user link for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web Property ID to create the user link for. */ + webPropertyId: string; + }): Request<EntityUserLink>; + /** Lists webProperty-user links for a given web property. */ + list(request: { + /** Account ID which the given web property belongs to. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of webProperty-user Links to include in this response. */ + "max-results"?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** An index of the first webProperty-user link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** + * Web Property ID for the webProperty-user links to retrieve. Can either be a specific web property ID or '~all', which refers to all the web properties + * that user has access to. + */ + webPropertyId: string; + }): Request<EntityUserLinks>; + /** Updates permissions for an existing user on the given web property. */ + update(request: { + /** Account ID to update the account-user link for. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Link ID to update the account-user link for. */ + linkId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Web property ID to update the account-user link for. */ + webPropertyId: string; + }): Request<EntityUserLink>; + } + interface ManagementResource { + accountSummaries: AccountSummariesResource; + accountUserLinks: AccountUserLinksResource; + accounts: AccountsResource; + customDataSources: CustomDataSourcesResource; + customDimensions: CustomDimensionsResource; + customMetrics: CustomMetricsResource; + experiments: ExperimentsResource; + filters: FiltersResource; + goals: GoalsResource; + profileFilterLinks: ProfileFilterLinksResource; + profileUserLinks: ProfileUserLinksResource; + profiles: ProfilesResource; + remarketingAudience: RemarketingAudienceResource; + segments: SegmentsResource; + unsampledReports: UnsampledReportsResource; + uploads: UploadsResource; + webPropertyAdWordsLinks: WebPropertyAdWordsLinksResource; + webproperties: WebpropertiesResource; + webpropertyUserLinks: WebpropertyUserLinksResource; + } + interface ColumnsResource { + /** Lists all columns for a report type */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Report type. Allowed Values: 'ga'. Where 'ga' corresponds to the Core Reporting API */ + reportType: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Columns>; + } + interface MetadataResource { + columns: ColumnsResource; + } + interface ProvisioningResource { + /** Creates an account ticket. */ + createAccountTicket(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountTicket>; + } + } +} diff --git a/types/gapi.client.analytics/readme.md b/types/gapi.client.analytics/readme.md new file mode 100644 index 0000000000..a5d16c9613 --- /dev/null +++ b/types/gapi.client.analytics/readme.md @@ -0,0 +1,74 @@ +# TypeScript typings for Google Analytics API v3 +Views and manages your Google Analytics data. +For detailed description please check [documentation](https://developers.google.com/analytics/). + +## Installing + +Install typings for Google Analytics API: +``` +npm install @types/gapi.client.analytics@v3 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('analytics', 'v3', () => { + // now we can use gapi.client.analytics + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your Google Analytics data + 'https://www.googleapis.com/auth/analytics', + + // Edit Google Analytics management entities + 'https://www.googleapis.com/auth/analytics.edit', + + // Manage Google Analytics Account users by email address + 'https://www.googleapis.com/auth/analytics.manage.users', + + // View Google Analytics user permissions + 'https://www.googleapis.com/auth/analytics.manage.users.readonly', + + // Create a new Google Analytics account along with its default property and view + 'https://www.googleapis.com/auth/analytics.provision', + + // View your Google Analytics data + 'https://www.googleapis.com/auth/analytics.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Analytics API resources: + +```typescript + +/* +Creates an account ticket. +*/ +await gapi.client.provisioning.createAccountTicket({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.analytics/tsconfig.json b/types/gapi.client.analytics/tsconfig.json new file mode 100644 index 0000000000..24b9a3e308 --- /dev/null +++ b/types/gapi.client.analytics/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.analytics-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.analytics/tslint.json b/types/gapi.client.analytics/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.analytics/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.analyticsreporting/gapi.client.analyticsreporting-tests.ts b/types/gapi.client.analyticsreporting/gapi.client.analyticsreporting-tests.ts new file mode 100644 index 0000000000..bacc354694 --- /dev/null +++ b/types/gapi.client.analyticsreporting/gapi.client.analyticsreporting-tests.ts @@ -0,0 +1,37 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('analyticsreporting', 'v4', () => { + /** now we can use gapi.client.analyticsreporting */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your Google Analytics data */ + 'https://www.googleapis.com/auth/analytics', + /** View your Google Analytics data */ + 'https://www.googleapis.com/auth/analytics.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Returns the Analytics data. */ + await gapi.client.reports.batchGet({ + }); + } +}); diff --git a/types/gapi.client.analyticsreporting/index.d.ts b/types/gapi.client.analyticsreporting/index.d.ts new file mode 100644 index 0000000000..e5e1b7aabe --- /dev/null +++ b/types/gapi.client.analyticsreporting/index.d.ts @@ -0,0 +1,698 @@ +// Type definitions for Google Google Analytics Reporting API v4 4.0 +// Project: https://developers.google.com/analytics/devguides/reporting/core/v4/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://analyticsreporting.googleapis.com/$discovery/rest?version=v4 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Analytics Reporting API v4 */ + function load(name: "analyticsreporting", version: "v4"): PromiseLike<void>; + function load(name: "analyticsreporting", version: "v4", callback: () => any): void; + + const reports: analyticsreporting.ReportsResource; + + namespace analyticsreporting { + interface Cohort { + /** + * This is used for `FIRST_VISIT_DATE` cohort, the cohort selects users + * whose first visit date is between start date and end date defined in the + * DateRange. The date ranges should be aligned for cohort requests. If the + * request contains `ga:cohortNthDay` it should be exactly one day long, + * if `ga:cohortNthWeek` it should be aligned to the week boundary (starting + * at Sunday and ending Saturday), and for `ga:cohortNthMonth` the date range + * should be aligned to the month (starting at the first and ending on the + * last day of the month). + * For LTV requests there are no such restrictions. + * You do not need to supply a date range for the + * `reportsRequest.dateRanges` field. + */ + dateRange?: DateRange; + /** + * A unique name for the cohort. If not defined name will be auto-generated + * with values cohort_[1234...]. + */ + name?: string; + /** + * Type of the cohort. The only supported type as of now is + * `FIRST_VISIT_DATE`. If this field is unspecified the cohort is treated + * as `FIRST_VISIT_DATE` type cohort. + */ + type?: string; + } + interface CohortGroup { + /** The definition for the cohort. */ + cohorts?: Cohort[]; + /** + * Enable Life Time Value (LTV). LTV measures lifetime value for users + * acquired through different channels. + * Please see: + * [Cohort Analysis](https://support.google.com/analytics/answer/6074676) and + * [Lifetime Value](https://support.google.com/analytics/answer/6182550) + * If the value of lifetimeValue is false: + * + * - The metric values are similar to the values in the web interface cohort + * report. + * - The cohort definition date ranges must be aligned to the calendar week + * and month. i.e. while requesting `ga:cohortNthWeek` the `startDate` in + * the cohort definition should be a Sunday and the `endDate` should be the + * following Saturday, and for `ga:cohortNthMonth`, the `startDate` + * should be the 1st of the month and `endDate` should be the last day + * of the month. + * + * When the lifetimeValue is true: + * + * - The metric values will correspond to the values in the web interface + * LifeTime value report. + * - The Lifetime Value report shows you how user value (Revenue) and + * engagement (Appviews, Goal Completions, Sessions, and Session Duration) + * grow during the 90 days after a user is acquired. + * - The metrics are calculated as a cumulative average per user per the time + * increment. + * - The cohort definition date ranges need not be aligned to the calendar + * week and month boundaries. + * - The `viewId` must be an + * [app view ID](https://support.google.com/analytics/answer/2649553#WebVersusAppViews) + */ + lifetimeValue?: boolean; + } + interface ColumnHeader { + /** The dimension names in the response. */ + dimensions?: string[]; + /** Metric headers for the metrics in the response. */ + metricHeader?: MetricHeader; + } + interface DateRange { + /** The end date for the query in the format `YYYY-MM-DD`. */ + endDate?: string; + /** The start date for the query in the format `YYYY-MM-DD`. */ + startDate?: string; + } + interface DateRangeValues { + /** The values of each pivot region. */ + pivotValueRegions?: PivotValueRegion[]; + /** Each value corresponds to each Metric in the request. */ + values?: string[]; + } + interface Dimension { + /** + * If non-empty, we place dimension values into buckets after string to + * int64. Dimension values that are not the string representation of an + * integral value will be converted to zero. The bucket values have to be in + * increasing order. Each bucket is closed on the lower end, and open on the + * upper end. The "first" bucket includes all values less than the first + * boundary, the "last" bucket includes all values up to infinity. Dimension + * values that fall in a bucket get transformed to a new dimension value. For + * example, if one gives a list of "0, 1, 3, 4, 7", then we return the + * following buckets: + * + * - bucket #1: values < 0, dimension value "<0" + * - bucket #2: values in [0,1), dimension value "0" + * - bucket #3: values in [1,3), dimension value "1-2" + * - bucket #4: values in [3,4), dimension value "3" + * - bucket #5: values in [4,7), dimension value "4-6" + * - bucket #6: values >= 7, dimension value "7+" + * + * NOTE: If you are applying histogram mutation on any dimension, and using + * that dimension in sort, you will want to use the sort type + * `HISTOGRAM_BUCKET` for that purpose. Without that the dimension values + * will be sorted according to dictionary + * (lexicographic) order. For example the ascending dictionary order is: + * + * "<50", "1001+", "121-1000", "50-120" + * + * And the ascending `HISTOGRAM_BUCKET` order is: + * + * "<50", "50-120", "121-1000", "1001+" + * + * The client has to explicitly request `"orderType": "HISTOGRAM_BUCKET"` + * for a histogram-mutated dimension. + */ + histogramBuckets?: string[]; + /** Name of the dimension to fetch, for example `ga:browser`. */ + name?: string; + } + interface DimensionFilter { + /** Should the match be case sensitive? Default is false. */ + caseSensitive?: boolean; + /** The dimension to filter on. A DimensionFilter must contain a dimension. */ + dimensionName?: string; + /** + * Strings or regular expression to match against. Only the first value of + * the list is used for comparison unless the operator is `IN_LIST`. + * If `IN_LIST` operator, then the entire list is used to filter the + * dimensions as explained in the description of the `IN_LIST` operator. + */ + expressions?: string[]; + /** + * Logical `NOT` operator. If this boolean is set to true, then the matching + * dimension values will be excluded in the report. The default is false. + */ + not?: boolean; + /** How to match the dimension to the expression. The default is REGEXP. */ + operator?: string; + } + interface DimensionFilterClause { + /** + * The repeated set of filters. They are logically combined based on the + * operator specified. + */ + filters?: DimensionFilter[]; + /** + * The operator for combining multiple dimension filters. If unspecified, it + * is treated as an `OR`. + */ + operator?: string; + } + interface DynamicSegment { + /** The name of the dynamic segment. */ + name?: string; + /** Session Segment to select sessions to include in the segment. */ + sessionSegment?: SegmentDefinition; + /** User Segment to select users to include in the segment. */ + userSegment?: SegmentDefinition; + } + interface GetReportsRequest { + /** + * Requests, each request will have a separate response. + * There can be a maximum of 5 requests. All requests should have the same + * `dateRanges`, `viewId`, `segments`, `samplingLevel`, and `cohortGroup`. + */ + reportRequests?: ReportRequest[]; + } + interface GetReportsResponse { + /** Responses corresponding to each of the request. */ + reports?: Report[]; + } + interface Metric { + /** + * An alias for the metric expression is an alternate name for the + * expression. The alias can be used for filtering and sorting. This field + * is optional and is useful if the expression is not a single metric but + * a complex expression which cannot be used in filtering and sorting. + * The alias is also used in the response column header. + */ + alias?: string; + /** + * A metric expression in the request. An expression is constructed from one + * or more metrics and numbers. Accepted operators include: Plus (+), Minus + * (-), Negation (Unary -), Divided by (/), Multiplied by (*), Parenthesis, + * Positive cardinal numbers (0-9), can include decimals and is limited to + * 1024 characters. Example `ga:totalRefunds/ga:users`, in most cases the + * metric expression is just a single metric name like `ga:users`. + * Adding mixed `MetricType` (E.g., `CURRENCY` + `PERCENTAGE`) metrics + * will result in unexpected results. + */ + expression?: string; + /** + * Specifies how the metric expression should be formatted, for example + * `INTEGER`. + */ + formattingType?: string; + } + interface MetricFilter { + /** The value to compare against. */ + comparisonValue?: string; + /** + * The metric that will be filtered on. A metricFilter must contain a metric + * name. A metric name can be an alias earlier defined as a metric or it can + * also be a metric expression. + */ + metricName?: string; + /** + * Logical `NOT` operator. If this boolean is set to true, then the matching + * metric values will be excluded in the report. The default is false. + */ + not?: boolean; + /** + * Is the metric `EQUAL`, `LESS_THAN` or `GREATER_THAN` the + * comparisonValue, the default is `EQUAL`. If the operator is + * `IS_MISSING`, checks if the metric is missing and would ignore the + * comparisonValue. + */ + operator?: string; + } + interface MetricFilterClause { + /** + * The repeated set of filters. They are logically combined based on the + * operator specified. + */ + filters?: MetricFilter[]; + /** + * The operator for combining multiple metric filters. If unspecified, it is + * treated as an `OR`. + */ + operator?: string; + } + interface MetricHeader { + /** Headers for the metrics in the response. */ + metricHeaderEntries?: MetricHeaderEntry[]; + /** Headers for the pivots in the response. */ + pivotHeaders?: PivotHeader[]; + } + interface MetricHeaderEntry { + /** The name of the header. */ + name?: string; + /** The type of the metric, for example `INTEGER`. */ + type?: string; + } + interface OrFiltersForSegment { + /** List of segment filters to be combined with a `OR` operator. */ + segmentFilterClauses?: SegmentFilterClause[]; + } + interface OrderBy { + /** + * The field which to sort by. The default sort order is ascending. Example: + * `ga:browser`. + * Note, that you can only specify one field for sort here. For example, + * `ga:browser, ga:city` is not valid. + */ + fieldName?: string; + /** The order type. The default orderType is `VALUE`. */ + orderType?: string; + /** The sorting order for the field. */ + sortOrder?: string; + } + interface Pivot { + /** + * DimensionFilterClauses are logically combined with an `AND` operator: only + * data that is included by all these DimensionFilterClauses contributes to + * the values in this pivot region. Dimension filters can be used to restrict + * the columns shown in the pivot region. For example if you have + * `ga:browser` as the requested dimension in the pivot region, and you + * specify key filters to restrict `ga:browser` to only "IE" or "Firefox", + * then only those two browsers would show up as columns. + */ + dimensionFilterClauses?: DimensionFilterClause[]; + /** + * A list of dimensions to show as pivot columns. A Pivot can have a maximum + * of 4 dimensions. Pivot dimensions are part of the restriction on the + * total number of dimensions allowed in the request. + */ + dimensions?: Dimension[]; + /** + * Specifies the maximum number of groups to return. + * The default value is 10, also the maximum value is 1,000. + */ + maxGroupCount?: number; + /** + * The pivot metrics. Pivot metrics are part of the + * restriction on total number of metrics allowed in the request. + */ + metrics?: Metric[]; + /** + * If k metrics were requested, then the response will contain some + * data-dependent multiple of k columns in the report. E.g., if you pivoted + * on the dimension `ga:browser` then you'd get k columns for "Firefox", k + * columns for "IE", k columns for "Chrome", etc. The ordering of the groups + * of columns is determined by descending order of "total" for the first of + * the k values. Ties are broken by lexicographic ordering of the first + * pivot dimension, then lexicographic ordering of the second pivot + * dimension, and so on. E.g., if the totals for the first value for + * Firefox, IE, and Chrome were 8, 2, 8, respectively, the order of columns + * would be Chrome, Firefox, IE. + * + * The following let you choose which of the groups of k columns are + * included in the response. + */ + startGroup?: number; + } + interface PivotHeader { + /** A single pivot section header. */ + pivotHeaderEntries?: PivotHeaderEntry[]; + /** The total number of groups for this pivot. */ + totalPivotGroupsCount?: number; + } + interface PivotHeaderEntry { + /** The name of the dimensions in the pivot response. */ + dimensionNames?: string[]; + /** The values for the dimensions in the pivot. */ + dimensionValues?: string[]; + /** The metric header for the metric in the pivot. */ + metric?: MetricHeaderEntry; + } + interface PivotValueRegion { + /** The values of the metrics in each of the pivot regions. */ + values?: string[]; + } + interface Report { + /** The column headers. */ + columnHeader?: ColumnHeader; + /** Response data. */ + data?: ReportData; + /** Page token to retrieve the next page of results in the list. */ + nextPageToken?: string; + } + interface ReportData { + /** + * The last time the data in the report was refreshed. All the hits received + * before this timestamp are included in the calculation of the report. + */ + dataLastRefreshed?: string; + /** + * Indicates if response to this request is golden or not. Data is + * golden when the exact same request will not produce any new results if + * asked at a later point in time. + */ + isDataGolden?: boolean; + /** + * Minimum and maximum values seen over all matching rows. These are both + * empty when `hideValueRanges` in the request is false, or when + * rowCount is zero. + */ + maximums?: DateRangeValues[]; + /** + * Minimum and maximum values seen over all matching rows. These are both + * empty when `hideValueRanges` in the request is false, or when + * rowCount is zero. + */ + minimums?: DateRangeValues[]; + /** Total number of matching rows for this query. */ + rowCount?: number; + /** There's one ReportRow for every unique combination of dimensions. */ + rows?: ReportRow[]; + /** + * If the results are + * [sampled](https://support.google.com/analytics/answer/2637192), + * this returns the total number of samples read, one entry per date range. + * If the results are not sampled this field will not be defined. See + * [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) + * for details. + */ + samplesReadCounts?: string[]; + /** + * If the results are + * [sampled](https://support.google.com/analytics/answer/2637192), + * this returns the total number of + * samples present, one entry per date range. If the results are not sampled + * this field will not be defined. See + * [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) + * for details. + */ + samplingSpaceSizes?: string[]; + /** + * For each requested date range, for the set of all rows that match + * the query, every requested value format gets a total. The total + * for a value format is computed by first totaling the metrics + * mentioned in the value format and then evaluating the value + * format as a scalar expression. E.g., The "totals" for + * `3 / (ga:sessions + 2)` we compute + * `3 / ((sum of all relevant ga:sessions) + 2)`. + * Totals are computed before pagination. + */ + totals?: DateRangeValues[]; + } + interface ReportRequest { + /** + * Cohort group associated with this request. If there is a cohort group + * in the request the `ga:cohort` dimension must be present. + * Every [ReportRequest](#ReportRequest) within a `batchGet` method must + * contain the same `cohortGroup` definition. + */ + cohortGroup?: CohortGroup; + /** + * Date ranges in the request. The request can have a maximum of 2 date + * ranges. The response will contain a set of metric values for each + * combination of the dimensions for each date range in the request. So, if + * there are two date ranges, there will be two set of metric values, one for + * the original date range and one for the second date range. + * The `reportRequest.dateRanges` field should not be specified for cohorts + * or Lifetime value requests. + * If a date range is not provided, the default date range is (startDate: + * current date - 7 days, endDate: current date - 1 day). Every + * [ReportRequest](#ReportRequest) within a `batchGet` method must + * contain the same `dateRanges` definition. + */ + dateRanges?: DateRange[]; + /** + * The dimension filter clauses for filtering Dimension Values. They are + * logically combined with the `AND` operator. Note that filtering occurs + * before any dimensions are aggregated, so that the returned metrics + * represent the total for only the relevant dimensions. + */ + dimensionFilterClauses?: DimensionFilterClause[]; + /** + * The dimensions requested. + * Requests can have a total of 7 dimensions. + */ + dimensions?: Dimension[]; + /** + * Dimension or metric filters that restrict the data returned for your + * request. To use the `filtersExpression`, supply a dimension or metric on + * which to filter, followed by the filter expression. For example, the + * following expression selects `ga:browser` dimension which starts with + * Firefox; `ga:browser=~^Firefox`. For more information on dimensions + * and metric filters, see + * [Filters reference](https://developers.google.com/analytics/devguides/reporting/core/v3/reference#filters). + */ + filtersExpression?: string; + /** + * If set to true, hides the total of all metrics for all the matching rows, + * for every date range. The default false and will return the totals. + */ + hideTotals?: boolean; + /** + * If set to true, hides the minimum and maximum across all matching rows. + * The default is false and the value ranges are returned. + */ + hideValueRanges?: boolean; + /** + * If set to false, the response does not include rows if all the retrieved + * metrics are equal to zero. The default is false which will exclude these + * rows. + */ + includeEmptyRows?: boolean; + /** + * The metric filter clauses. They are logically combined with the `AND` + * operator. Metric filters look at only the first date range and not the + * comparing date range. Note that filtering on metrics occurs after the + * metrics are aggregated. + */ + metricFilterClauses?: MetricFilterClause[]; + /** + * The metrics requested. + * Requests must specify at least one metric. Requests can have a + * total of 10 metrics. + */ + metrics?: Metric[]; + /** + * Sort order on output rows. To compare two rows, the elements of the + * following are applied in order until a difference is found. All date + * ranges in the output get the same row order. + */ + orderBys?: OrderBy[]; + /** + * Page size is for paging and specifies the maximum number of returned rows. + * Page size should be >= 0. A query returns the default of 1,000 rows. + * The Analytics Core Reporting API returns a maximum of 10,000 rows per + * request, no matter how many you ask for. It can also return fewer rows + * than requested, if there aren't as many dimension segments as you expect. + * For instance, there are fewer than 300 possible values for `ga:country`, + * so when segmenting only by country, you can't get more than 300 rows, + * even if you set `pageSize` to a higher value. + */ + pageSize?: number; + /** + * A continuation token to get the next page of the results. Adding this to + * the request will return the rows after the pageToken. The pageToken should + * be the value returned in the nextPageToken parameter in the response to + * the GetReports request. + */ + pageToken?: string; + /** The pivot definitions. Requests can have a maximum of 2 pivots. */ + pivots?: Pivot[]; + /** + * The desired report + * [sample](https://support.google.com/analytics/answer/2637192) size. + * If the the `samplingLevel` field is unspecified the `DEFAULT` sampling + * level is used. Every [ReportRequest](#ReportRequest) within a + * `batchGet` method must contain the same `samplingLevel` definition. See + * [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) + * for details. + */ + samplingLevel?: string; + /** + * Segment the data returned for the request. A segment definition helps look + * at a subset of the segment request. A request can contain up to four + * segments. Every [ReportRequest](#ReportRequest) within a + * `batchGet` method must contain the same `segments` definition. Requests + * with segments must have the `ga:segment` dimension. + */ + segments?: Segment[]; + /** + * The Analytics + * [view ID](https://support.google.com/analytics/answer/1009618) + * from which to retrieve data. Every [ReportRequest](#ReportRequest) + * within a `batchGet` method must contain the same `viewId`. + */ + viewId?: string; + } + interface ReportRow { + /** List of requested dimensions. */ + dimensions?: string[]; + /** List of metrics for each requested DateRange. */ + metrics?: DateRangeValues[]; + } + interface Segment { + /** A dynamic segment definition in the request. */ + dynamicSegment?: DynamicSegment; + /** The segment ID of a built-in or custom segment, for example `gaid::-3`. */ + segmentId?: string; + } + interface SegmentDefinition { + /** + * A segment is defined by a set of segment filters which are combined + * together with a logical `AND` operation. + */ + segmentFilters?: SegmentFilter[]; + } + interface SegmentDimensionFilter { + /** Should the match be case sensitive, ignored for `IN_LIST` operator. */ + caseSensitive?: boolean; + /** Name of the dimension for which the filter is being applied. */ + dimensionName?: string; + /** The list of expressions, only the first element is used for all operators */ + expressions?: string[]; + /** Maximum comparison values for `BETWEEN` match type. */ + maxComparisonValue?: string; + /** Minimum comparison values for `BETWEEN` match type. */ + minComparisonValue?: string; + /** The operator to use to match the dimension with the expressions. */ + operator?: string; + } + interface SegmentFilter { + /** + * If true, match the complement of simple or sequence segment. + * For example, to match all visits not from "New York", we can define the + * segment as follows: + * + * "sessionSegment": { + * "segmentFilters": [{ + * "simpleSegment" :{ + * "orFiltersForSegment": [{ + * "segmentFilterClauses":[{ + * "dimensionFilter": { + * "dimensionName": "ga:city", + * "expressions": ["New York"] + * } + * }] + * }] + * }, + * "not": "True" + * }] + * }, + */ + not?: boolean; + /** + * Sequence conditions consist of one or more steps, where each step is + * defined by one or more dimension/metric conditions. Multiple steps can + * be combined with special sequence operators. + */ + sequenceSegment?: SequenceSegment; + /** + * A Simple segment conditions consist of one or more dimension/metric + * conditions that can be combined + */ + simpleSegment?: SimpleSegment; + } + interface SegmentFilterClause { + /** Dimension Filter for the segment definition. */ + dimensionFilter?: SegmentDimensionFilter; + /** Metric Filter for the segment definition. */ + metricFilter?: SegmentMetricFilter; + /** Matches the complement (`!`) of the filter. */ + not?: boolean; + } + interface SegmentMetricFilter { + /** + * The value to compare against. If the operator is `BETWEEN`, this value is + * treated as minimum comparison value. + */ + comparisonValue?: string; + /** Max comparison value is only used for `BETWEEN` operator. */ + maxComparisonValue?: string; + /** + * The metric that will be filtered on. A `metricFilter` must contain a + * metric name. + */ + metricName?: string; + /** + * Specifies is the operation to perform to compare the metric. The default + * is `EQUAL`. + */ + operator?: string; + /** + * Scope for a metric defines the level at which that metric is defined. The + * specified metric scope must be equal to or greater than its primary scope + * as defined in the data model. The primary scope is defined by if the + * segment is selecting users or sessions. + */ + scope?: string; + } + interface SegmentSequenceStep { + /** + * Specifies if the step immediately precedes or can be any time before the + * next step. + */ + matchType?: string; + /** + * A sequence is specified with a list of Or grouped filters which are + * combined with `AND` operator. + */ + orFiltersForSegment?: OrFiltersForSegment[]; + } + interface SequenceSegment { + /** + * If set, first step condition must match the first hit of the visitor (in + * the date range). + */ + firstStepShouldMatchFirstHit?: boolean; + /** The list of steps in the sequence. */ + segmentSequenceSteps?: SegmentSequenceStep[]; + } + interface SimpleSegment { + /** + * A list of segment filters groups which are combined with logical `AND` + * operator. + */ + orFiltersForSegment?: OrFiltersForSegment[]; + } + interface ReportsResource { + /** Returns the Analytics data. */ + batchGet(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GetReportsResponse>; + } + } +} diff --git a/types/gapi.client.analyticsreporting/readme.md b/types/gapi.client.analyticsreporting/readme.md new file mode 100644 index 0000000000..96b09af1b4 --- /dev/null +++ b/types/gapi.client.analyticsreporting/readme.md @@ -0,0 +1,62 @@ +# TypeScript typings for Google Analytics Reporting API v4 +Accesses Analytics report data. +For detailed description please check [documentation](https://developers.google.com/analytics/devguides/reporting/core/v4/). + +## Installing + +Install typings for Google Analytics Reporting API: +``` +npm install @types/gapi.client.analyticsreporting@v4 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('analyticsreporting', 'v4', () => { + // now we can use gapi.client.analyticsreporting + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your Google Analytics data + 'https://www.googleapis.com/auth/analytics', + + // View your Google Analytics data + 'https://www.googleapis.com/auth/analytics.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Analytics Reporting API resources: + +```typescript + +/* +Returns the Analytics data. +*/ +await gapi.client.reports.batchGet({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.analyticsreporting/tsconfig.json b/types/gapi.client.analyticsreporting/tsconfig.json new file mode 100644 index 0000000000..2f65484898 --- /dev/null +++ b/types/gapi.client.analyticsreporting/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.analyticsreporting-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.analyticsreporting/tslint.json b/types/gapi.client.analyticsreporting/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.analyticsreporting/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.androiddeviceprovisioning/gapi.client.androiddeviceprovisioning-tests.ts b/types/gapi.client.androiddeviceprovisioning/gapi.client.androiddeviceprovisioning-tests.ts new file mode 100644 index 0000000000..b2c1cac362 --- /dev/null +++ b/types/gapi.client.androiddeviceprovisioning/gapi.client.androiddeviceprovisioning-tests.ts @@ -0,0 +1,24 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('androiddeviceprovisioning', 'v1', () => { + /** now we can use gapi.client.androiddeviceprovisioning */ + + run(); + }); + + async function run() { + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + await gapi.client.operations.get({ + name: "name", + }); + } +}); diff --git a/types/gapi.client.androiddeviceprovisioning/index.d.ts b/types/gapi.client.androiddeviceprovisioning/index.d.ts new file mode 100644 index 0000000000..0b896d6fbb --- /dev/null +++ b/types/gapi.client.androiddeviceprovisioning/index.d.ts @@ -0,0 +1,683 @@ +// Type definitions for Google Android Device Provisioning Partner API v1 1.0 +// Project: https://developers.google.com/zero-touch/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://androiddeviceprovisioning.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Android Device Provisioning Partner API v1 */ + function load(name: "androiddeviceprovisioning", version: "v1"): PromiseLike<void>; + function load(name: "androiddeviceprovisioning", version: "v1", callback: () => any): void; + + const operations: androiddeviceprovisioning.OperationsResource; + + const partners: androiddeviceprovisioning.PartnersResource; + + namespace androiddeviceprovisioning { + interface ClaimDeviceRequest { + /** The customer to claim for. */ + customerId?: string; + /** The device identifier of the device to claim. */ + deviceIdentifier?: DeviceIdentifier; + /** The section to claim. */ + sectionType?: string; + } + interface ClaimDeviceResponse { + /** The device ID of the claimed device. */ + deviceId?: string; + /** + * The resource name of the device in the format + * `partners/[PARTNER_ID]/devices/[DEVICE_ID]`. + */ + deviceName?: string; + } + interface ClaimDevicesRequest { + /** List of claims. */ + claims?: PartnerClaim[]; + } + interface Company { + /** + * Input only. Optional. Email address of customer's users in the admin role. + * Each email address must be associated with a Google Account. + */ + adminEmails?: string[]; + /** Output only. The ID of the company. Assigned by the server. */ + companyId?: string; + /** + * Required. The name of the company. For example _XYZ Corp_. Characters + * allowed are: Latin letters, numerals, hyphens, and spaces. Displayed to the + * customer's employees in the zero-touch enrollment portal. + */ + companyName?: string; + /** + * Output only. The API resource name of the company in the format + * `partners/[PARTNER_ID]/customers/[CUSTOMER_ID]`. Assigned by the server. + */ + name?: string; + /** + * Input only. Email address of customer's users in the owner role. At least + * one `owner_email` is required. Each email address must be associated with a + * Google Account. Owners share the same access as admins but can also add, + * delete, and edit your organization's portal users. + */ + ownerEmails?: string[]; + } + interface CreateCustomerRequest { + /** + * Required. The company data to populate the new customer. Must contain a + * value for `companyName` and at least one `owner_email` that's associated + * with a Google Account. The values for `companyId` and `name` must be empty. + */ + customer?: Company; + } + interface Device { + /** Claims. */ + claims?: DeviceClaim[]; + /** + * The resource name of the configuration. + * Only set for customers. + */ + configuration?: string; + /** Device ID. */ + deviceId?: string; + /** Device identifier. */ + deviceIdentifier?: DeviceIdentifier; + /** Device metadata. */ + deviceMetadata?: DeviceMetadata; + /** Resource name in `partners/[PARTNER_ID]/devices/[DEVICE_ID]`. */ + name?: string; + } + interface DeviceClaim { + /** Owner ID. */ + ownerCompanyId?: string; + /** Section type of the device claim. */ + sectionType?: string; + } + interface DeviceIdentifier { + /** IMEI number. */ + imei?: string; + /** + * Manufacturer name to match `android.os.Build.MANUFACTURER` (required). + * Allowed values listed in + * [manufacturer names](/zero-touch/resources/manufacturer-names). + */ + manufacturer?: string; + /** MEID number. */ + meid?: string; + /** Serial number (optional). */ + serialNumber?: string; + } + interface DeviceMetadata { + /** Metadata entries */ + entries?: Record<string, string>; + } + interface DevicesLongRunningOperationMetadata { + /** Number of devices parsed in your requests. */ + devicesCount?: number; + /** The overall processing status. */ + processingStatus?: string; + /** Processing progress from 0 to 100. */ + progress?: number; + } + interface DevicesLongRunningOperationResponse { + /** + * Processing status for each device. + * One `PerDeviceStatus` per device. The order is the same as in your requests. + */ + perDeviceStatus?: OperationPerDevice[]; + /** Number of succeesfully processed ones. */ + successCount?: number; + } + interface FindDevicesByDeviceIdentifierRequest { + /** The device identifier to search. */ + deviceIdentifier?: DeviceIdentifier; + /** Number of devices to show. */ + limit?: string; + /** Page token. */ + pageToken?: string; + } + interface FindDevicesByDeviceIdentifierResponse { + /** Found devices. */ + devices?: Device[]; + /** Page token of the next page. */ + nextPageToken?: string; + } + interface FindDevicesByOwnerRequest { + /** List of customer IDs to search for. */ + customerId?: string[]; + /** The number of devices to show in the result. */ + limit?: string; + /** Page token. */ + pageToken?: string; + /** The section type. */ + sectionType?: string; + } + interface FindDevicesByOwnerResponse { + /** Devices found. */ + devices?: Device[]; + /** Page token of the next page. */ + nextPageToken?: string; + } + interface ListCustomersResponse { + /** List of customers related to this partner. */ + customers?: Company[]; + } + interface Operation { + /** + * If the value is `false`, it means the operation is still in progress. + * If `true`, the operation is completed, and either `error` or `response` is + * available. + */ + done?: boolean; + /** + * This field will always be not set if the operation is created by `claimAsync`, `unclaimAsync`, or `updateMetadataAsync`. In this case, error + * information for each device is set in `response.perDeviceStatus.result.status`. + */ + error?: Status; + /** + * This field will contain a `DevicesLongRunningOperationMetadata` object if the operation is created by `claimAsync`, `unclaimAsync`, or + * `updateMetadataAsync`. + */ + metadata?: Record<string, any>; + /** + * The server-assigned name, which is only unique within the same service that + * originally returns it. If you use the default HTTP mapping, the + * `name` should have the format of `operations/some/unique/name`. + */ + name?: string; + /** + * This field will contain a `DevicesLongRunningOperationResponse` object if the operation is created by `claimAsync`, `unclaimAsync`, or + * `updateMetadataAsync`. + */ + response?: Record<string, any>; + } + interface OperationPerDevice { + /** Request to claim a device. */ + claim?: PartnerClaim; + /** Processing result for every device. */ + result?: PerDeviceStatusInBatch; + /** Request to unclaim a device. */ + unclaim?: PartnerUnclaim; + /** Request to set metadata for a device. */ + updateMetadata?: UpdateMetadataArguments; + } + interface PartnerClaim { + /** Customer ID to claim for. */ + customerId?: string; + /** Device identifier of the device. */ + deviceIdentifier?: DeviceIdentifier; + /** Metadata to set at claim. */ + deviceMetadata?: DeviceMetadata; + /** Section type to claim. */ + sectionType?: string; + } + interface PartnerUnclaim { + /** Device ID of the device. */ + deviceId?: string; + /** Device identifier of the device. */ + deviceIdentifier?: DeviceIdentifier; + /** Section type to unclaim. */ + sectionType?: string; + } + interface PerDeviceStatusInBatch { + /** Device ID of the device if process succeeds. */ + deviceId?: string; + /** Error identifier. */ + errorIdentifier?: string; + /** Error message. */ + errorMessage?: string; + /** Process result. */ + status?: string; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface UnclaimDeviceRequest { + /** The device ID returned by `ClaimDevice`. */ + deviceId?: string; + /** The device identifier you used when you claimed this device. */ + deviceIdentifier?: DeviceIdentifier; + /** The section type to unclaim for. */ + sectionType?: string; + } + interface UnclaimDevicesRequest { + /** List of devices to unclaim. */ + unclaims?: PartnerUnclaim[]; + } + interface UpdateDeviceMetadataInBatchRequest { + /** List of metadata updates. */ + updates?: UpdateMetadataArguments[]; + } + interface UpdateDeviceMetadataRequest { + /** The metdata to set. */ + deviceMetadata?: DeviceMetadata; + } + interface UpdateMetadataArguments { + /** Device ID of the device. */ + deviceId?: string; + /** Device identifier. */ + deviceIdentifier?: DeviceIdentifier; + /** The metadata to update. */ + deviceMetadata?: DeviceMetadata; + } + interface OperationsResource { + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + } + interface CustomersResource { + /** + * Creates a customer for zero-touch enrollment. After the method returns + * successfully, admin and owner roles can manage devices and EMM configs + * by calling API methods or using their zero-touch enrollment portal. The API + * doesn't notify the customer that they have access. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Required. The parent resource ID in format `partners/[PARTNER_ID]` that + * identifies the reseller. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Company>; + /** + * Lists the customers that are enrolled to the reseller identified by the + * `partnerId` argument. This list includes customers that the reseller + * created and customers that enrolled themselves using the portal. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the partner. */ + partnerId: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListCustomersResponse>; + } + interface DevicesResource { + /** Claim the device identified by device identifier. */ + claim(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** ID of the partner. */ + partnerId: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ClaimDeviceResponse>; + /** Claim devices asynchronously. */ + claimAsync(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Partner ID. */ + partnerId: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** Find devices by device identifier. */ + findByIdentifier(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** ID of the partner. */ + partnerId: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<FindDevicesByDeviceIdentifierResponse>; + /** Find devices by ownership. */ + findByOwner(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** ID of the partner. */ + partnerId: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<FindDevicesByOwnerResponse>; + /** Get a device. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Resource name in `partners/[PARTNER_ID]/devices/[DEVICE_ID]`. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Device>; + /** Update the metadata. */ + metadata(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** ID of the partner. */ + deviceId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The owner of the newly set metadata. Set this to the partner ID. */ + metadataOwnerId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<DeviceMetadata>; + /** Unclaim the device identified by the `device_id` or the `deviceIdentifier`. */ + unclaim(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** ID of the partner. */ + partnerId: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Unclaim devices asynchronously. */ + unclaimAsync(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Partner ID. */ + partnerId: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** Set metadata in batch asynchronously. */ + updateMetadataAsync(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Partner ID. */ + partnerId: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + } + interface PartnersResource { + customers: CustomersResource; + devices: DevicesResource; + } + } +} diff --git a/types/gapi.client.androiddeviceprovisioning/readme.md b/types/gapi.client.androiddeviceprovisioning/readme.md new file mode 100644 index 0000000000..bdeb55a582 --- /dev/null +++ b/types/gapi.client.androiddeviceprovisioning/readme.md @@ -0,0 +1,42 @@ +# TypeScript typings for Android Device Provisioning Partner API v1 +Automates reseller integration into zero-touch enrollment by assigning devices to customers and creating device reports. +For detailed description please check [documentation](https://developers.google.com/zero-touch/). + +## Installing + +Install typings for Android Device Provisioning Partner API: +``` +npm install @types/gapi.client.androiddeviceprovisioning@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('androiddeviceprovisioning', 'v1', () => { + // now we can use gapi.client.androiddeviceprovisioning + // ... +}); +``` + + + +After that you can use Android Device Provisioning Partner API resources: + +```typescript + +/* +Gets the latest state of a long-running operation. Clients can use this +method to poll the operation result at intervals as recommended by the API +service. +*/ +await gapi.client.operations.get({ name: "name", }); +``` \ No newline at end of file diff --git a/types/gapi.client.androiddeviceprovisioning/tsconfig.json b/types/gapi.client.androiddeviceprovisioning/tsconfig.json new file mode 100644 index 0000000000..953923be00 --- /dev/null +++ b/types/gapi.client.androiddeviceprovisioning/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.androiddeviceprovisioning-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.androiddeviceprovisioning/tslint.json b/types/gapi.client.androiddeviceprovisioning/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.androiddeviceprovisioning/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.androidenterprise/gapi.client.androidenterprise-tests.ts b/types/gapi.client.androidenterprise/gapi.client.androidenterprise-tests.ts new file mode 100644 index 0000000000..63c1f9101d --- /dev/null +++ b/types/gapi.client.androidenterprise/gapi.client.androidenterprise-tests.ts @@ -0,0 +1,559 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('androidenterprise', 'v1', () => { + /** now we can use gapi.client.androidenterprise */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage corporate Android devices */ + 'https://www.googleapis.com/auth/androidenterprise', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Retrieves the details of a device. */ + await gapi.client.devices.get({ + deviceId: "deviceId", + enterpriseId: "enterpriseId", + userId: "userId", + }); + /** + * Retrieves whether a device's access to Google services is enabled or disabled. The device state takes effect only if enforcing EMM policies on Android + * devices is enabled in the Google Admin Console. Otherwise, the device state is ignored and all devices are allowed access to Google services. This is + * only supported for Google-managed users. + */ + await gapi.client.devices.getState({ + deviceId: "deviceId", + enterpriseId: "enterpriseId", + userId: "userId", + }); + /** Retrieves the IDs of all of a user's devices. */ + await gapi.client.devices.list({ + enterpriseId: "enterpriseId", + userId: "userId", + }); + /** + * Sets whether a device's access to Google services is enabled or disabled. The device state takes effect only if enforcing EMM policies on Android + * devices is enabled in the Google Admin Console. Otherwise, the device state is ignored and all devices are allowed access to Google services. This is + * only supported for Google-managed users. + */ + await gapi.client.devices.setState({ + deviceId: "deviceId", + enterpriseId: "enterpriseId", + userId: "userId", + }); + /** Acknowledges notifications that were received from Enterprises.PullNotificationSet to prevent subsequent calls from returning the same notifications. */ + await gapi.client.enterprises.acknowledgeNotificationSet({ + notificationSetId: "notificationSetId", + }); + /** + * Completes the signup flow, by specifying the Completion token and Enterprise token. This request must not be called multiple times for a given + * Enterprise Token. + */ + await gapi.client.enterprises.completeSignup({ + completionToken: "completionToken", + enterpriseToken: "enterpriseToken", + }); + /** + * Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token into the managed Google Play javascript API. Each + * token may only be used to start one UI session. See the javascript API documentation for further information. + */ + await gapi.client.enterprises.createWebToken({ + enterpriseId: "enterpriseId", + }); + /** + * Deletes the binding between the EMM and enterprise. This is now deprecated. Use this method only to unenroll customers that were previously enrolled + * with the insert call, then enroll them again with the enroll call. + */ + await gapi.client.enterprises.delete({ + enterpriseId: "enterpriseId", + }); + /** Enrolls an enterprise with the calling EMM. */ + await gapi.client.enterprises.enroll({ + token: "token", + }); + /** Generates a sign-up URL. */ + await gapi.client.enterprises.generateSignupUrl({ + callbackUrl: "callbackUrl", + }); + /** Retrieves the name and domain of an enterprise. */ + await gapi.client.enterprises.get({ + enterpriseId: "enterpriseId", + }); + /** Returns the Android Device Policy config resource. */ + await gapi.client.enterprises.getAndroidDevicePolicyConfig({ + enterpriseId: "enterpriseId", + }); + /** + * Returns a service account and credentials. The service account can be bound to the enterprise by calling setAccount. The service account is unique to + * this enterprise and EMM, and will be deleted if the enterprise is unbound. The credentials contain private key data and are not stored server-side. + * + * This method can only be called after calling Enterprises.Enroll or Enterprises.CompleteSignup, and before Enterprises.SetAccount; at other times it + * will return an error. + * + * Subsequent calls after the first will generate a new, unique set of credentials, and invalidate the previously generated credentials. + * + * Once the service account is bound to the enterprise, it can be managed using the serviceAccountKeys resource. + */ + await gapi.client.enterprises.getServiceAccount({ + enterpriseId: "enterpriseId", + keyType: "keyType", + }); + /** Returns the store layout for the enterprise. If the store layout has not been set, returns "basic" as the store layout type and no homepage. */ + await gapi.client.enterprises.getStoreLayout({ + enterpriseId: "enterpriseId", + }); + /** Establishes the binding between the EMM and an enterprise. This is now deprecated; use enroll instead. */ + await gapi.client.enterprises.insert({ + token: "token", + }); + /** + * Looks up an enterprise by domain name. This is only supported for enterprises created via the Google-initiated creation flow. Lookup of the id is not + * needed for enterprises created via the EMM-initiated flow since the EMM learns the enterprise ID in the callback specified in the + * Enterprises.generateSignupUrl call. + */ + await gapi.client.enterprises.list({ + domain: "domain", + }); + /** + * Pulls and returns a notification set for the enterprises associated with the service account authenticated for the request. The notification set may be + * empty if no notification are pending. + * A notification set returned needs to be acknowledged within 20 seconds by calling Enterprises.AcknowledgeNotificationSet, unless the notification set + * is empty. + * Notifications that are not acknowledged within the 20 seconds will eventually be included again in the response to another PullNotificationSet request, + * and those that are never acknowledged will ultimately be deleted according to the Google Cloud Platform Pub/Sub system policy. + * Multiple requests might be performed concurrently to retrieve notifications, in which case the pending notifications (if any) will be split among each + * caller, if any are pending. + * If no notifications are present, an empty notification list is returned. Subsequent requests may return more notifications once they become available. + */ + await gapi.client.enterprises.pullNotificationSet({ + requestMode: "requestMode", + }); + /** Sends a test notification to validate the EMM integration with the Google Cloud Pub/Sub service for this enterprise. */ + await gapi.client.enterprises.sendTestPushNotification({ + enterpriseId: "enterpriseId", + }); + /** Sets the account that will be used to authenticate to the API as the enterprise. */ + await gapi.client.enterprises.setAccount({ + enterpriseId: "enterpriseId", + }); + /** + * Sets the Android Device Policy config resource. EMM may use this method to enable or disable Android Device Policy support for the specified + * enterprise. To learn more about managing devices and apps with Android Device Policy, see the Android Management API. + */ + await gapi.client.enterprises.setAndroidDevicePolicyConfig({ + enterpriseId: "enterpriseId", + }); + /** + * Sets the store layout for the enterprise. By default, storeLayoutType is set to "basic" and the basic store layout is enabled. The basic layout only + * contains apps approved by the admin, and that have been added to the available product set for a user (using the setAvailableProductSet call). Apps on + * the page are sorted in order of their product ID value. If you create a custom store layout (by setting storeLayoutType = "custom" and setting a + * homepage), the basic store layout is disabled. + */ + await gapi.client.enterprises.setStoreLayout({ + enterpriseId: "enterpriseId", + }); + /** Unenrolls an enterprise from the calling EMM. */ + await gapi.client.enterprises.unenroll({ + enterpriseId: "enterpriseId", + }); + /** Removes an entitlement to an app for a user. */ + await gapi.client.entitlements.delete({ + enterpriseId: "enterpriseId", + entitlementId: "entitlementId", + userId: "userId", + }); + /** Retrieves details of an entitlement. */ + await gapi.client.entitlements.get({ + enterpriseId: "enterpriseId", + entitlementId: "entitlementId", + userId: "userId", + }); + /** Lists all entitlements for the specified user. Only the ID is set. */ + await gapi.client.entitlements.list({ + enterpriseId: "enterpriseId", + userId: "userId", + }); + /** Adds or updates an entitlement to an app for a user. This method supports patch semantics. */ + await gapi.client.entitlements.patch({ + enterpriseId: "enterpriseId", + entitlementId: "entitlementId", + install: true, + userId: "userId", + }); + /** Adds or updates an entitlement to an app for a user. */ + await gapi.client.entitlements.update({ + enterpriseId: "enterpriseId", + entitlementId: "entitlementId", + install: true, + userId: "userId", + }); + /** Retrieves details of an enterprise's group license for a product. */ + await gapi.client.grouplicenses.get({ + enterpriseId: "enterpriseId", + groupLicenseId: "groupLicenseId", + }); + /** Retrieves IDs of all products for which the enterprise has a group license. */ + await gapi.client.grouplicenses.list({ + enterpriseId: "enterpriseId", + }); + /** Retrieves the IDs of the users who have been granted entitlements under the license. */ + await gapi.client.grouplicenseusers.list({ + enterpriseId: "enterpriseId", + groupLicenseId: "groupLicenseId", + }); + /** Requests to remove an app from a device. A call to get or list will still show the app as installed on the device until it is actually removed. */ + await gapi.client.installs.delete({ + deviceId: "deviceId", + enterpriseId: "enterpriseId", + installId: "installId", + userId: "userId", + }); + /** Retrieves details of an installation of an app on a device. */ + await gapi.client.installs.get({ + deviceId: "deviceId", + enterpriseId: "enterpriseId", + installId: "installId", + userId: "userId", + }); + /** Retrieves the details of all apps installed on the specified device. */ + await gapi.client.installs.list({ + deviceId: "deviceId", + enterpriseId: "enterpriseId", + userId: "userId", + }); + /** + * Requests to install the latest version of an app to a device. If the app is already installed, then it is updated to the latest version if necessary. + * This method supports patch semantics. + */ + await gapi.client.installs.patch({ + deviceId: "deviceId", + enterpriseId: "enterpriseId", + installId: "installId", + userId: "userId", + }); + /** Requests to install the latest version of an app to a device. If the app is already installed, then it is updated to the latest version if necessary. */ + await gapi.client.installs.update({ + deviceId: "deviceId", + enterpriseId: "enterpriseId", + installId: "installId", + userId: "userId", + }); + /** Removes a per-device managed configuration for an app for the specified device. */ + await gapi.client.managedconfigurationsfordevice.delete({ + deviceId: "deviceId", + enterpriseId: "enterpriseId", + managedConfigurationForDeviceId: "managedConfigurationForDeviceId", + userId: "userId", + }); + /** Retrieves details of a per-device managed configuration. */ + await gapi.client.managedconfigurationsfordevice.get({ + deviceId: "deviceId", + enterpriseId: "enterpriseId", + managedConfigurationForDeviceId: "managedConfigurationForDeviceId", + userId: "userId", + }); + /** Lists all the per-device managed configurations for the specified device. Only the ID is set. */ + await gapi.client.managedconfigurationsfordevice.list({ + deviceId: "deviceId", + enterpriseId: "enterpriseId", + userId: "userId", + }); + /** Adds or updates a per-device managed configuration for an app for the specified device. This method supports patch semantics. */ + await gapi.client.managedconfigurationsfordevice.patch({ + deviceId: "deviceId", + enterpriseId: "enterpriseId", + managedConfigurationForDeviceId: "managedConfigurationForDeviceId", + userId: "userId", + }); + /** Adds or updates a per-device managed configuration for an app for the specified device. */ + await gapi.client.managedconfigurationsfordevice.update({ + deviceId: "deviceId", + enterpriseId: "enterpriseId", + managedConfigurationForDeviceId: "managedConfigurationForDeviceId", + userId: "userId", + }); + /** Removes a per-user managed configuration for an app for the specified user. */ + await gapi.client.managedconfigurationsforuser.delete({ + enterpriseId: "enterpriseId", + managedConfigurationForUserId: "managedConfigurationForUserId", + userId: "userId", + }); + /** Retrieves details of a per-user managed configuration for an app for the specified user. */ + await gapi.client.managedconfigurationsforuser.get({ + enterpriseId: "enterpriseId", + managedConfigurationForUserId: "managedConfigurationForUserId", + userId: "userId", + }); + /** Lists all the per-user managed configurations for the specified user. Only the ID is set. */ + await gapi.client.managedconfigurationsforuser.list({ + enterpriseId: "enterpriseId", + userId: "userId", + }); + /** Adds or updates a per-user managed configuration for an app for the specified user. This method supports patch semantics. */ + await gapi.client.managedconfigurationsforuser.patch({ + enterpriseId: "enterpriseId", + managedConfigurationForUserId: "managedConfigurationForUserId", + userId: "userId", + }); + /** Adds or updates a per-user managed configuration for an app for the specified user. */ + await gapi.client.managedconfigurationsforuser.update({ + enterpriseId: "enterpriseId", + managedConfigurationForUserId: "managedConfigurationForUserId", + userId: "userId", + }); + /** Retrieves details of an Android app permission for display to an enterprise admin. */ + await gapi.client.permissions.get({ + language: "language", + permissionId: "permissionId", + }); + /** + * Approves the specified product and the relevant app permissions, if any. The maximum number of products that you can approve per enterprise customer is + * 1,000. + * + * To learn how to use managed Google Play to design and create a store layout to display approved products to your users, see Store Layout Design. + */ + await gapi.client.products.approve({ + enterpriseId: "enterpriseId", + productId: "productId", + }); + /** + * Generates a URL that can be rendered in an iframe to display the permissions (if any) of a product. An enterprise admin must view these permissions and + * accept them on behalf of their organization in order to approve that product. + * + * Admins should accept the displayed permissions by interacting with a separate UI element in the EMM console, which in turn should trigger the use of + * this URL as the approvalUrlInfo.approvalUrl property in a Products.approve call to approve the product. This URL can only be used to display + * permissions for up to 1 day. + */ + await gapi.client.products.generateApprovalUrl({ + enterpriseId: "enterpriseId", + languageCode: "languageCode", + productId: "productId", + }); + /** Retrieves details of a product for display to an enterprise admin. */ + await gapi.client.products.get({ + enterpriseId: "enterpriseId", + language: "language", + productId: "productId", + }); + /** + * Retrieves the schema that defines the configurable properties for this product. All products have a schema, but this schema may be empty if no managed + * configurations have been defined. This schema can be used to populate a UI that allows an admin to configure the product. To apply a managed + * configuration based on the schema obtained using this API, see Managed Configurations through Play. + */ + await gapi.client.products.getAppRestrictionsSchema({ + enterpriseId: "enterpriseId", + language: "language", + productId: "productId", + }); + /** Retrieves the Android app permissions required by this app. */ + await gapi.client.products.getPermissions({ + enterpriseId: "enterpriseId", + productId: "productId", + }); + /** Finds approved products that match a query, or all approved products if there is no query. */ + await gapi.client.products.list({ + approved: true, + enterpriseId: "enterpriseId", + language: "language", + maxResults: 4, + query: "query", + token: "token", + }); + /** Unapproves the specified product (and the relevant app permissions, if any) */ + await gapi.client.products.unapprove({ + enterpriseId: "enterpriseId", + productId: "productId", + }); + /** + * Removes and invalidates the specified credentials for the service account associated with this enterprise. The calling service account must have been + * retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount. + */ + await gapi.client.serviceaccountkeys.delete({ + enterpriseId: "enterpriseId", + keyId: "keyId", + }); + /** + * Generates new credentials for the service account associated with this enterprise. The calling service account must have been retrieved by calling + * Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount. + * + * Only the type of the key should be populated in the resource to be inserted. + */ + await gapi.client.serviceaccountkeys.insert({ + enterpriseId: "enterpriseId", + }); + /** + * Lists all active credentials for the service account associated with this enterprise. Only the ID and key type are returned. The calling service + * account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling + * Enterprises.SetAccount. + */ + await gapi.client.serviceaccountkeys.list({ + enterpriseId: "enterpriseId", + }); + /** Deletes a cluster. */ + await gapi.client.storelayoutclusters.delete({ + clusterId: "clusterId", + enterpriseId: "enterpriseId", + pageId: "pageId", + }); + /** Retrieves details of a cluster. */ + await gapi.client.storelayoutclusters.get({ + clusterId: "clusterId", + enterpriseId: "enterpriseId", + pageId: "pageId", + }); + /** Inserts a new cluster in a page. */ + await gapi.client.storelayoutclusters.insert({ + enterpriseId: "enterpriseId", + pageId: "pageId", + }); + /** Retrieves the details of all clusters on the specified page. */ + await gapi.client.storelayoutclusters.list({ + enterpriseId: "enterpriseId", + pageId: "pageId", + }); + /** Updates a cluster. This method supports patch semantics. */ + await gapi.client.storelayoutclusters.patch({ + clusterId: "clusterId", + enterpriseId: "enterpriseId", + pageId: "pageId", + }); + /** Updates a cluster. */ + await gapi.client.storelayoutclusters.update({ + clusterId: "clusterId", + enterpriseId: "enterpriseId", + pageId: "pageId", + }); + /** Deletes a store page. */ + await gapi.client.storelayoutpages.delete({ + enterpriseId: "enterpriseId", + pageId: "pageId", + }); + /** Retrieves details of a store page. */ + await gapi.client.storelayoutpages.get({ + enterpriseId: "enterpriseId", + pageId: "pageId", + }); + /** Inserts a new store page. */ + await gapi.client.storelayoutpages.insert({ + enterpriseId: "enterpriseId", + }); + /** Retrieves the details of all pages in the store. */ + await gapi.client.storelayoutpages.list({ + enterpriseId: "enterpriseId", + }); + /** Updates the content of a store page. This method supports patch semantics. */ + await gapi.client.storelayoutpages.patch({ + enterpriseId: "enterpriseId", + pageId: "pageId", + }); + /** Updates the content of a store page. */ + await gapi.client.storelayoutpages.update({ + enterpriseId: "enterpriseId", + pageId: "pageId", + }); + /** Deleted an EMM-managed user. */ + await gapi.client.users.delete({ + enterpriseId: "enterpriseId", + userId: "userId", + }); + /** + * Generates an authentication token which the device policy client can use to provision the given EMM-managed user account on a device. The generated + * token is single-use and expires after a few minutes. + * + * This call only works with EMM-managed accounts. + */ + await gapi.client.users.generateAuthenticationToken({ + enterpriseId: "enterpriseId", + userId: "userId", + }); + /** + * Generates a token (activation code) to allow this user to configure their managed account in the Android Setup Wizard. Revokes any previously generated + * token. + * + * This call only works with Google managed accounts. + */ + await gapi.client.users.generateToken({ + enterpriseId: "enterpriseId", + userId: "userId", + }); + /** Retrieves a user's details. */ + await gapi.client.users.get({ + enterpriseId: "enterpriseId", + userId: "userId", + }); + /** Retrieves the set of products a user is entitled to access. */ + await gapi.client.users.getAvailableProductSet({ + enterpriseId: "enterpriseId", + userId: "userId", + }); + /** + * Creates a new EMM-managed user. + * + * The Users resource passed in the body of the request should include an accountIdentifier and an accountType. + * If a corresponding user already exists with the same account identifier, the user will be updated with the resource. In this case only the displayName + * field can be changed. + */ + await gapi.client.users.insert({ + enterpriseId: "enterpriseId", + }); + /** + * Looks up a user by primary email address. This is only supported for Google-managed users. Lookup of the id is not needed for EMM-managed users because + * the id is already returned in the result of the Users.insert call. + */ + await gapi.client.users.list({ + email: "email", + enterpriseId: "enterpriseId", + }); + /** + * Updates the details of an EMM-managed user. + * + * Can be used with EMM-managed users only (not Google managed users). Pass the new details in the Users resource in the request body. Only the + * displayName field can be changed. Other fields must either be unset or have the currently active value. This method supports patch semantics. + */ + await gapi.client.users.patch({ + enterpriseId: "enterpriseId", + userId: "userId", + }); + /** Revokes a previously generated token (activation code) for the user. */ + await gapi.client.users.revokeToken({ + enterpriseId: "enterpriseId", + userId: "userId", + }); + /** + * Modifies the set of products that a user is entitled to access (referred to as whitelisted products). Only products that are approved or products that + * were previously approved (products with revoked approval) can be whitelisted. + */ + await gapi.client.users.setAvailableProductSet({ + enterpriseId: "enterpriseId", + userId: "userId", + }); + /** + * Updates the details of an EMM-managed user. + * + * Can be used with EMM-managed users only (not Google managed users). Pass the new details in the Users resource in the request body. Only the + * displayName field can be changed. Other fields must either be unset or have the currently active value. + */ + await gapi.client.users.update({ + enterpriseId: "enterpriseId", + userId: "userId", + }); + } +}); diff --git a/types/gapi.client.androidenterprise/index.d.ts b/types/gapi.client.androidenterprise/index.d.ts new file mode 100644 index 0000000000..1e81143609 --- /dev/null +++ b/types/gapi.client.androidenterprise/index.d.ts @@ -0,0 +1,2830 @@ +// Type definitions for Google Google Play EMM API v1 1.0 +// Project: https://developers.google.com/android/work/play/emm-api +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/androidenterprise/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Play EMM API v1 */ + function load(name: "androidenterprise", version: "v1"): PromiseLike<void>; + function load(name: "androidenterprise", version: "v1", callback: () => any): void; + + const devices: androidenterprise.DevicesResource; + + const enterprises: androidenterprise.EnterprisesResource; + + const entitlements: androidenterprise.EntitlementsResource; + + const grouplicenses: androidenterprise.GrouplicensesResource; + + const grouplicenseusers: androidenterprise.GrouplicenseusersResource; + + const installs: androidenterprise.InstallsResource; + + const managedconfigurationsfordevice: androidenterprise.ManagedconfigurationsfordeviceResource; + + const managedconfigurationsforuser: androidenterprise.ManagedconfigurationsforuserResource; + + const permissions: androidenterprise.PermissionsResource; + + const products: androidenterprise.ProductsResource; + + const serviceaccountkeys: androidenterprise.ServiceaccountkeysResource; + + const storelayoutclusters: androidenterprise.StorelayoutclustersResource; + + const storelayoutpages: androidenterprise.StorelayoutpagesResource; + + const users: androidenterprise.UsersResource; + + namespace androidenterprise { + interface Administrator { + /** The admin's email address. */ + email?: string; + } + interface AdministratorWebToken { + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#administratorWebToken". */ + kind?: string; + /** An opaque token to be passed to the Play front-end to generate an iframe. */ + token?: string; + } + interface AdministratorWebTokenSpec { + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#administratorWebTokenSpec". */ + kind?: string; + /** The URI of the parent frame hosting the iframe. To prevent XSS, the iframe may not be hosted at other URIs. This URI must be https. */ + parent?: string; + /** + * The list of permissions the admin is granted within the iframe. The admin will only be allowed to view an iframe if they have all of the permissions + * associated with it. The only valid value is "approveApps" that will allow the admin to access the iframe in "approve" mode. + */ + permission?: string[]; + } + interface AndroidDevicePolicyConfig { + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#androidDevicePolicyConfig". */ + kind?: string; + /** + * The state of Android Device Policy. "enabled" indicates that Android Device Policy is enabled for the enterprise and the EMM is allowed to manage + * devices with Android Device Policy, while "disabled" means that it cannot. + */ + state?: string; + } + interface AppRestrictionsSchema { + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#appRestrictionsSchema". */ + kind?: string; + /** The set of restrictions that make up this schema. */ + restrictions?: AppRestrictionsSchemaRestriction[]; + } + interface AppRestrictionsSchemaChangeEvent { + /** The id of the product (e.g. "app:com.google.android.gm") for which the app restriction schema changed. This field will always be present. */ + productId?: string; + } + interface AppRestrictionsSchemaRestriction { + /** The default value of the restriction. bundle and bundleArray restrictions never have a default value. */ + defaultValue?: AppRestrictionsSchemaRestrictionRestrictionValue; + /** A longer description of the restriction, giving more detail of what it affects. */ + description?: string; + /** For choice or multiselect restrictions, the list of possible entries' human-readable names. */ + entry?: string[]; + /** + * For choice or multiselect restrictions, the list of possible entries' machine-readable values. These values should be used in the configuration, either + * as a single string value for a choice restriction or in a stringArray for a multiselect restriction. + */ + entryValue?: string[]; + /** The unique key that the product uses to identify the restriction, e.g. "com.google.android.gm.fieldname". */ + key?: string; + /** + * For bundle or bundleArray restrictions, the list of nested restrictions. A bundle restriction is always nested within a bundleArray restriction, and a + * bundleArray restriction is at most two levels deep. + */ + nestedRestriction?: AppRestrictionsSchemaRestriction[]; + /** The type of the restriction. */ + restrictionType?: string; + /** The name of the restriction. */ + title?: string; + } + interface AppRestrictionsSchemaRestrictionRestrictionValue { + /** The type of the value being provided. */ + type?: string; + /** The boolean value - this will only be present if type is bool. */ + valueBool?: boolean; + /** The integer value - this will only be present if type is integer. */ + valueInteger?: number; + /** The list of string values - this will only be present if type is multiselect. */ + valueMultiselect?: string[]; + /** The string value - this will be present for types string, choice and hidden. */ + valueString?: string; + } + interface AppUpdateEvent { + /** The id of the product (e.g. "app:com.google.android.gm") that was updated. This field will always be present. */ + productId?: string; + } + interface AppVersion { + /** The track that this app was published in. For example if track is "alpha", this is an alpha version of the app. */ + track?: string; + /** Unique increasing identifier for the app version. */ + versionCode?: number; + /** + * The string used in the Play store by the app developer to identify the version. The string is not necessarily unique or localized (for example, the + * string could be "1.4"). + */ + versionString?: string; + } + interface ApprovalUrlInfo { + /** A URL that displays a product's permissions and that can also be used to approve the product with the Products.approve call. */ + approvalUrl?: string; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#approvalUrlInfo". */ + kind?: string; + } + interface AuthenticationToken { + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#authenticationToken". */ + kind?: string; + /** + * The authentication token to be passed to the device policy client on the device where it can be used to provision the account for which this token was + * generated. + */ + token?: string; + } + interface Device { + /** The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, "123456789abcdef0". */ + androidId?: string; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#device". */ + kind?: string; + /** + * Identifies the extent to which the device is controlled by a managed Google Play EMM in various deployment configurations. + * + * Possible values include: + * - "managedDevice", a device that has the EMM's device policy controller (DPC) as the device owner. + * - "managedProfile", a device that has a profile managed by the DPC (DPC is profile owner) in addition to a separate, personal profile that is + * unavailable to the DPC. + * - "containerApp", no longer used (deprecated). + * - "unmanagedProfile", a device that has been allowed (by the domain's admin, using the Admin Console to enable the privilege) to use managed Google + * Play, but the profile is itself not owned by a DPC. + */ + managementType?: string; + } + interface DeviceState { + /** + * The state of the Google account on the device. "enabled" indicates that the Google account on the device can be used to access Google services + * (including Google Play), while "disabled" means that it cannot. A new device is initially in the "disabled" state. + */ + accountState?: string; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#deviceState". */ + kind?: string; + } + interface DevicesListResponse { + /** A managed device. */ + device?: Device[]; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#devicesListResponse". */ + kind?: string; + } + interface Enterprise { + /** Admins of the enterprise. This is only supported for enterprises created via the EMM-initiated flow. */ + administrator?: Administrator[]; + /** The unique ID for the enterprise. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#enterprise". */ + kind?: string; + /** The name of the enterprise, for example, "Example, Inc". */ + name?: string; + /** The enterprise's primary domain, such as "example.com". */ + primaryDomain?: string; + } + interface EnterpriseAccount { + /** The email address of the service account. */ + accountEmail?: string; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#enterpriseAccount". */ + kind?: string; + } + interface EnterprisesListResponse { + /** An enterprise. */ + enterprise?: Enterprise[]; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#enterprisesListResponse". */ + kind?: string; + } + interface EnterprisesSendTestPushNotificationResponse { + /** The message ID of the test push notification that was sent. */ + messageId?: string; + /** The name of the Cloud Pub/Sub topic to which notifications for this enterprise's enrolled account will be sent. */ + topicName?: string; + } + interface Entitlement { + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#entitlement". */ + kind?: string; + /** The ID of the product that the entitlement is for. For example, "app:com.google.android.gm". */ + productId?: string; + /** + * The reason for the entitlement. For example, "free" for free apps. This property is temporary: it will be replaced by the acquisition kind field of + * group licenses. + */ + reason?: string; + } + interface EntitlementsListResponse { + /** + * An entitlement of a user to a product (e.g. an app). For example, a free app that they have installed, or a paid app that they have been allocated a + * license to. + */ + entitlement?: Entitlement[]; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#entitlementsListResponse". */ + kind?: string; + } + interface GroupLicense { + /** + * How this group license was acquired. "bulkPurchase" means that this Grouplicenses resource was created because the enterprise purchased licenses for + * this product; otherwise, the value is "free" (for free products). + */ + acquisitionKind?: string; + /** + * Whether the product to which this group license relates is currently approved by the enterprise. Products are approved when a group license is first + * created, but this approval may be revoked by an enterprise admin via Google Play. Unapproved products will not be visible to end users in collections, + * and new entitlements to them should not normally be created. + */ + approval?: string; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#groupLicense". */ + kind?: string; + /** The total number of provisioned licenses for this product. Returned by read operations, but ignored in write operations. */ + numProvisioned?: number; + /** + * The number of purchased licenses (possibly in multiple purchases). If this field is omitted, then there is no limit on the number of licenses that can + * be provisioned (for example, if the acquisition kind is "free"). + */ + numPurchased?: number; + /** + * The permission approval status of the product. This field is only set if the product is approved. Possible states are: + * - "currentApproved", the current set of permissions is approved, but additional permissions will require the administrator to reapprove the product (If + * the product was approved without specifying the approved permissions setting, then this is the default behavior.), + * - "needsReapproval", the product has unapproved permissions. No additional product licenses can be assigned until the product is reapproved, + * - "allCurrentAndFutureApproved", the current permissions are approved and any future permission updates will be automatically approved without + * administrator review. + */ + permissions?: string; + /** The ID of the product that the license is for. For example, "app:com.google.android.gm". */ + productId?: string; + } + interface GroupLicenseUsersListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#groupLicenseUsersListResponse". */ + kind?: string; + /** A user of an enterprise. */ + user?: User[]; + } + interface GroupLicensesListResponse { + /** A group license for a product approved for use in the enterprise. */ + groupLicense?: GroupLicense[]; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#groupLicensesListResponse". */ + kind?: string; + } + interface Install { + /** + * Install state. The state "installPending" means that an install request has recently been made and download to the device is in progress. The state + * "installed" means that the app has been installed. This field is read-only. + */ + installState?: string; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#install". */ + kind?: string; + /** The ID of the product that the install is for. For example, "app:com.google.android.gm". */ + productId?: string; + /** The version of the installed product. Guaranteed to be set only if the install state is "installed". */ + versionCode?: number; + } + interface InstallFailureEvent { + /** The Android ID of the device. This field will always be present. */ + deviceId?: string; + /** Additional details on the failure if applicable. */ + failureDetails?: string; + /** The reason for the installation failure. This field will always be present. */ + failureReason?: string; + /** The id of the product (e.g. "app:com.google.android.gm") for which the install failure event occured. This field will always be present. */ + productId?: string; + /** The ID of the user. This field will always be present. */ + userId?: string; + } + interface InstallsListResponse { + /** An installation of an app for a user on a specific device. The existence of an install implies that the user must have an entitlement to the app. */ + install?: Install[]; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#installsListResponse". */ + kind?: string; + } + interface LocalizedText { + /** The BCP47 tag for a locale. (e.g. "en-US", "de"). */ + locale?: string; + /** The text localized in the associated locale. */ + text?: string; + } + interface ManagedConfiguration { + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#managedConfiguration". */ + kind?: string; + /** The set of managed properties for this configuration. */ + managedProperty?: ManagedProperty[]; + /** The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm". */ + productId?: string; + } + interface ManagedConfigurationsForDeviceListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#managedConfigurationsForDeviceListResponse". */ + kind?: string; + /** A managed configuration for an app on a specific device. */ + managedConfigurationForDevice?: ManagedConfiguration[]; + } + interface ManagedConfigurationsForUserListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#managedConfigurationsForUserListResponse". */ + kind?: string; + /** A managed configuration for an app for a specific user. */ + managedConfigurationForUser?: ManagedConfiguration[]; + } + interface ManagedProperty { + /** The unique key that identifies the property. */ + key?: string; + /** The boolean value - this will only be present if type of the property is bool. */ + valueBool?: boolean; + /** The bundle of managed properties - this will only be present if type of the property is bundle. */ + valueBundle?: ManagedPropertyBundle; + /** The list of bundles of properties - this will only be present if type of the property is bundle_array. */ + valueBundleArray?: ManagedPropertyBundle[]; + /** The integer value - this will only be present if type of the property is integer. */ + valueInteger?: number; + /** The string value - this will only be present if type of the property is string, choice or hidden. */ + valueString?: string; + /** The list of string values - this will only be present if type of the property is multiselect. */ + valueStringArray?: string[]; + } + interface ManagedPropertyBundle { + /** The list of managed properties. */ + managedProperty?: ManagedProperty[]; + } + interface NewDeviceEvent { + /** The Android ID of the device. This field will always be present. */ + deviceId?: string; + /** + * Identifies the extent to which the device is controlled by an Android EMM in various deployment configurations. + * + * Possible values include: + * - "managedDevice", a device where the DPC is set as device owner, + * - "managedProfile", a device where the DPC is set as profile owner. + */ + managementType?: string; + /** The ID of the user. This field will always be present. */ + userId?: string; + } + interface NewPermissionsEvent { + /** + * The set of permissions that the enterprise admin has already approved for this application. Use Permissions.Get on the EMM API to retrieve details + * about these permissions. + */ + approvedPermissions?: string[]; + /** The id of the product (e.g. "app:com.google.android.gm") for which new permissions were added. This field will always be present. */ + productId?: string; + /** The set of permissions that the app is currently requesting. Use Permissions.Get on the EMM API to retrieve details about these permissions. */ + requestedPermissions?: string[]; + } + interface Notification { + /** Notifications about new app restrictions schema changes. */ + appRestrictionsSchemaChangeEvent?: AppRestrictionsSchemaChangeEvent; + /** Notifications about app updates. */ + appUpdateEvent?: AppUpdateEvent; + /** The ID of the enterprise for which the notification is sent. This will always be present. */ + enterpriseId?: string; + /** Notifications about an app installation failure. */ + installFailureEvent?: InstallFailureEvent; + /** Notifications about new devices. */ + newDeviceEvent?: NewDeviceEvent; + /** Notifications about new app permissions. */ + newPermissionsEvent?: NewPermissionsEvent; + /** Type of the notification. */ + notificationType?: string; + /** Notifications about changes to a product's approval status. */ + productApprovalEvent?: ProductApprovalEvent; + /** Notifications about product availability changes. */ + productAvailabilityChangeEvent?: ProductAvailabilityChangeEvent; + /** The time when the notification was published in milliseconds since 1970-01-01T00:00:00Z. This will always be present. */ + timestampMillis?: string; + } + interface NotificationSet { + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#notificationSet". */ + kind?: string; + /** The notifications received, or empty if no notifications are present. */ + notification?: Notification[]; + /** + * The notification set ID, required to mark the notification as received with the Enterprises.AcknowledgeNotification API. This will be omitted if no + * notifications are present. + */ + notificationSetId?: string; + } + interface PageInfo { + resultPerPage?: number; + startIndex?: number; + totalResults?: number; + } + interface Permission { + /** A longer description of the Permissions resource, giving more details of what it affects. */ + description?: string; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#permission". */ + kind?: string; + /** The name of the permission. */ + name?: string; + /** An opaque string uniquely identifying the permission. */ + permissionId?: string; + } + interface Product { + /** App versions currently available for this product. */ + appVersion?: AppVersion[]; + /** The name of the author of the product (for example, the app developer). */ + authorName?: string; + /** The tracks that are visible to the enterprise. */ + availableTracks?: string[]; + /** A link to the (consumer) Google Play details page for the product. */ + detailsUrl?: string; + /** + * How and to whom the package is made available. The value publicGoogleHosted means that the package is available through the Play store and not + * restricted to a specific enterprise. The value privateGoogleHosted means that the package is a private app (restricted to an enterprise) but hosted by + * Google. The value privateSelfHosted means that the package is a private app (restricted to an enterprise) and is privately hosted. + */ + distributionChannel?: string; + /** A link to an image that can be used as an icon for the product. This image is suitable for use at up to 512px x 512px. */ + iconUrl?: string; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#product". */ + kind?: string; + /** A string of the form app:<package name>. For example, app:com.google.android.gm represents the Gmail app. */ + productId?: string; + /** + * Whether this product is free, free with in-app purchases, or paid. If the pricing is unknown, this means the product is not generally available anymore + * (even though it might still be available to people who own it). + */ + productPricing?: string; + /** Deprecated. */ + requiresContainerApp?: boolean; + /** The certificate used to sign this product. */ + signingCertificate?: ProductSigningCertificate; + /** A link to a smaller image that can be used as an icon for the product. This image is suitable for use at up to 128px x 128px. */ + smallIconUrl?: string; + /** The name of the product. */ + title?: string; + /** A link to the managed Google Play details page for the product, for use by an Enterprise admin. */ + workDetailsUrl?: string; + } + interface ProductApprovalEvent { + /** Whether the product was approved or unapproved. This field will always be present. */ + approved?: string; + /** The id of the product (e.g. "app:com.google.android.gm") for which the approval status has changed. This field will always be present. */ + productId?: string; + } + interface ProductAvailabilityChangeEvent { + /** The new state of the product. This field will always be present. */ + availabilityStatus?: string; + /** The id of the product (e.g. "app:com.google.android.gm") for which the product availability changed. This field will always be present. */ + productId?: string; + } + interface ProductPermission { + /** An opaque string uniquely identifying the permission. */ + permissionId?: string; + /** Whether the permission has been accepted or not. */ + state?: string; + } + interface ProductPermissions { + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#productPermissions". */ + kind?: string; + /** The permissions required by the app. */ + permission?: ProductPermission[]; + /** The ID of the app that the permissions relate to, e.g. "app:com.google.android.gm". */ + productId?: string; + } + interface ProductSet { + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#productSet". */ + kind?: string; + /** The list of product IDs making up the set of products. */ + productId?: string[]; + /** + * The interpretation of this product set. "unknown" should never be sent and is ignored if received. "whitelist" means that the user is entitled to + * access the product set. "includeAll" means that all products are accessible, including products that are approved, products with revoked approval, and + * products that have never been approved. "allApproved" means that the user is entitled to access all products that are approved for the enterprise. If + * the value is "allApproved" or "includeAll", the productId field is ignored. If no value is provided, it is interpreted as "whitelist" for backwards + * compatibility. Further "allApproved" or "includeAll" does not enable automatic visibility of "alpha" or "beta" tracks for Android app. Use + * ProductVisibility to enable "alpha" or "beta" tracks per user. + */ + productSetBehavior?: string; + /** + * Other products that are part of the set, in addition to those specified in the productId array. The only difference between this field and the + * productId array is that it's possible to specify additional information about this product visibility, see ProductVisibility and its fields for more + * information. Specifying the same product ID both here and in the productId array is not allowed and it will result in an error. + */ + productVisibility?: ProductVisibility[]; + } + interface ProductSigningCertificate { + /** + * The base64 urlsafe encoded SHA1 hash of the certificate. (This field is deprecated in favor of SHA2-256. It should not be used and may be removed at + * any time.) + */ + certificateHashSha1?: string; + /** The base64 urlsafe encoded SHA2-256 hash of the certificate. */ + certificateHashSha256?: string; + } + interface ProductVisibility { + /** The product ID that should be made visible to the user. This is required. */ + productId?: string; + /** + * This allows to only grant visibility to the specified tracks of the app. For example, if an app has a prod version, a beta version and an alpha version + * and the enterprise has been granted visibility to both the alpha and beta tracks, if tracks is {"beta", "production"} the user will be able to install + * the app and they will get the beta version of the app. If there are no app versions in the specified track or if the enterprise wasn't granted + * visibility for the track, adding the "alpha" and "beta" values to the list of tracks will have no effect for now; however they will take effect once + * both conditions are met. Note that the enterprise itself needs to be granted access to the alpha and/or beta tracks, regardless of whether individual + * users or admins have access to those tracks. + * + * The allowed sets are: {} (considered equivalent to {"production"}) {"production"} {"beta", "production"} {"alpha", "beta", "production"} The order of + * elements is not relevant. Any other set of tracks will be rejected with an error. + */ + tracks?: string[]; + } + interface ProductsApproveRequest { + /** + * The approval URL that was shown to the user. Only the permissions shown to the user with that URL will be accepted, which may not be the product's + * entire set of permissions. For example, the URL may only display new permissions from an update after the product was approved, or not include new + * permissions if the product was updated since the URL was generated. + */ + approvalUrlInfo?: ApprovalUrlInfo; + /** + * Sets how new permission requests for the product are handled. "allPermissions" automatically approves all current and future permissions for the + * product. "currentPermissionsOnly" approves the current set of permissions for the product, but any future permissions added through updates will + * require manual reapproval. If not specified, only the current set of permissions will be approved. + */ + approvedPermissions?: string; + } + interface ProductsGenerateApprovalUrlResponse { + /** + * A URL that can be rendered in an iframe to display the permissions (if any) of a product. This URL can be used to approve the product only once and + * only within 24 hours of being generated, using the Products.approve call. If the product is currently unapproved and has no permissions, this URL will + * point to an empty page. If the product is currently approved, a URL will only be generated if that product has added permissions since it was last + * approved, and the URL will only display those new permissions that have not yet been accepted. + */ + url?: string; + } + interface ProductsListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#productsListResponse". */ + kind?: string; + /** General pagination information. */ + pageInfo?: PageInfo; + /** Information about a product (e.g. an app) in the Google Play store, for display to an enterprise admin. */ + product?: Product[]; + /** Pagination information for token pagination. */ + tokenPagination?: TokenPagination; + } + interface ServiceAccount { + /** Credentials that can be used to authenticate as this ServiceAccount. */ + key?: ServiceAccountKey; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#serviceAccount". */ + kind?: string; + /** The account name of the service account, in the form of an email address. Assigned by the server. */ + name?: string; + } + interface ServiceAccountKey { + /** + * The body of the private key credentials file, in string format. This is only populated when the ServiceAccountKey is created, and is not stored by + * Google. + */ + data?: string; + /** An opaque, unique identifier for this ServiceAccountKey. Assigned by the server. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#serviceAccountKey". */ + kind?: string; + /** + * Public key data for the credentials file. This is an X.509 cert. If you are using the googleCredentials key type, this is identical to the cert that + * can be retrieved by using the X.509 cert url inside of the credentials file. + */ + publicData?: string; + /** The file format of the generated key data. */ + type?: string; + } + interface ServiceAccountKeysListResponse { + /** The service account credentials. */ + serviceAccountKey?: ServiceAccountKey[]; + } + interface SignupInfo { + /** An opaque token that will be required, along with the Enterprise Token, for obtaining the enterprise resource from CompleteSignup. */ + completionToken?: string; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#signupInfo". */ + kind?: string; + /** A URL under which the Admin can sign up for an enterprise. The page pointed to cannot be rendered in an iframe. */ + url?: string; + } + interface StoreCluster { + /** Unique ID of this cluster. Assigned by the server. Immutable once assigned. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storeCluster". */ + kind?: string; + /** + * Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if + * there is no good match. There needs to be at least one entry. + */ + name?: LocalizedText[]; + /** + * String (US-ASCII only) used to determine order of this cluster within the parent page's elements. Page elements are sorted in lexicographic order of + * this field. Duplicated values are allowed, but ordering between elements with duplicate order is undefined. + * + * The value of this field is never visible to a user, it is used solely for the purpose of defining an ordering. Maximum length is 256 characters. + */ + orderInPage?: string; + /** List of products in the order they are displayed in the cluster. There should not be duplicates within a cluster. */ + productId?: string[]; + } + interface StoreLayout { + /** + * The ID of the store page to be used as the homepage. The homepage is the first page shown in the managed Google Play Store. + * + * Not specifying a homepage is equivalent to setting the store layout type to "basic". + */ + homepageId?: string; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storeLayout". */ + kind?: string; + /** + * The store layout type. By default, this value is set to "basic" if the homepageId field is not set, and to "custom" otherwise. If set to "basic", the + * layout will consist of all approved apps that have been whitelisted for the user. + */ + storeLayoutType?: string; + } + interface StoreLayoutClustersListResponse { + /** A store cluster of an enterprise. */ + cluster?: StoreCluster[]; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storeLayoutClustersListResponse". */ + kind?: string; + } + interface StoreLayoutPagesListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storeLayoutPagesListResponse". */ + kind?: string; + /** A store page of an enterprise. */ + page?: StorePage[]; + } + interface StorePage { + /** Unique ID of this page. Assigned by the server. Immutable once assigned. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storePage". */ + kind?: string; + /** + * Ordered list of pages a user should be able to reach from this page. The pages must exist, must not be this page, and once a link is created the page + * linked to cannot be deleted until all links to it are removed. It is recommended that the basic pages are created first, before adding the links + * between pages. + * + * No attempt is made to verify that all pages are reachable from the homepage. + */ + link?: string[]; + /** + * Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if + * there is no good match. There needs to be at least one entry. + */ + name?: LocalizedText[]; + } + interface TokenPagination { + nextPageToken?: string; + previousPageToken?: string; + } + interface User { + /** + * A unique identifier you create for this user, such as "user342" or "asset#44418". Do not use personally identifiable information (PII) for this + * property. Must always be set for EMM-managed users. Not set for Google-managed users. + */ + accountIdentifier?: string; + /** + * The type of account that this user represents. A userAccount can be installed on multiple devices, but a deviceAccount is specific to a single device. + * An EMM-managed user (emmManaged) can be either type (userAccount, deviceAccount), but a Google-managed user (googleManaged) is always a userAccount. + */ + accountType?: string; + /** + * The name that will appear in user interfaces. Setting this property is optional when creating EMM-managed users. If you do set this property, use + * something generic about the organization (such as "Example, Inc.") or your name (as EMM). Not used for Google-managed user accounts. + */ + displayName?: string; + /** The unique ID for the user. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#user". */ + kind?: string; + /** + * The entity that manages the user. With googleManaged users, the source of truth is Google so EMMs have to make sure a Google Account exists for the + * user. With emmManaged users, the EMM is in charge. + */ + managementType?: string; + /** The user's primary email address, for example, "jsmith@example.com". Will always be set for Google managed users and not set for EMM managed users. */ + primaryEmail?: string; + } + interface UserToken { + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#userToken". */ + kind?: string; + /** The token (activation code) to be entered by the user. This consists of a sequence of decimal digits. Note that the leading digit may be 0. */ + token?: string; + /** The unique ID for the user. */ + userId?: string; + } + interface UsersListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "androidenterprise#usersListResponse". */ + kind?: string; + /** A user of an enterprise. */ + user?: User[]; + } + interface DevicesResource { + /** Retrieves the details of a device. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the device. */ + deviceId: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Device>; + /** + * Retrieves whether a device's access to Google services is enabled or disabled. The device state takes effect only if enforcing EMM policies on Android + * devices is enabled in the Google Admin Console. Otherwise, the device state is ignored and all devices are allowed access to Google services. This is + * only supported for Google-managed users. + */ + getState(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the device. */ + deviceId: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DeviceState>; + /** Retrieves the IDs of all of a user's devices. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DevicesListResponse>; + /** + * Sets whether a device's access to Google services is enabled or disabled. The device state takes effect only if enforcing EMM policies on Android + * devices is enabled in the Google Admin Console. Otherwise, the device state is ignored and all devices are allowed access to Google services. This is + * only supported for Google-managed users. + */ + setState(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the device. */ + deviceId: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DeviceState>; + } + interface EnterprisesResource { + /** Acknowledges notifications that were received from Enterprises.PullNotificationSet to prevent subsequent calls from returning the same notifications. */ + acknowledgeNotificationSet(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The notification set ID as returned by Enterprises.PullNotificationSet. This must be provided. */ + notificationSetId?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Completes the signup flow, by specifying the Completion token and Enterprise token. This request must not be called multiple times for a given + * Enterprise Token. + */ + completeSignup(request: { + /** Data format for the response. */ + alt?: string; + /** The Completion token initially returned by GenerateSignupUrl. */ + completionToken?: string; + /** The Enterprise token appended to the Callback URL. */ + enterpriseToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Enterprise>; + /** + * Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token into the managed Google Play javascript API. Each + * token may only be used to start one UI session. See the javascript API documentation for further information. + */ + createWebToken(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdministratorWebToken>; + /** + * Deletes the binding between the EMM and enterprise. This is now deprecated. Use this method only to unenroll customers that were previously enrolled + * with the insert call, then enroll them again with the enroll call. + */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Enrolls an enterprise with the calling EMM. */ + enroll(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The token provided by the enterprise to register the EMM. */ + token: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Enterprise>; + /** Generates a sign-up URL. */ + generateSignupUrl(request: { + /** Data format for the response. */ + alt?: string; + /** + * The callback URL to which the Admin will be redirected after successfully creating an enterprise. Before redirecting there the system will add a single + * query parameter to this URL named "enterpriseToken" which will contain an opaque token to be used for the CompleteSignup request. + * Beware that this means that the URL will be parsed, the parameter added and then a new URL formatted, i.e. there may be some minor formatting changes + * and, more importantly, the URL must be well-formed so that it can be parsed. + */ + callbackUrl?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SignupInfo>; + /** Retrieves the name and domain of an enterprise. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Enterprise>; + /** Returns the Android Device Policy config resource. */ + getAndroidDevicePolicyConfig(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AndroidDevicePolicyConfig>; + /** + * Returns a service account and credentials. The service account can be bound to the enterprise by calling setAccount. The service account is unique to + * this enterprise and EMM, and will be deleted if the enterprise is unbound. The credentials contain private key data and are not stored server-side. + * + * This method can only be called after calling Enterprises.Enroll or Enterprises.CompleteSignup, and before Enterprises.SetAccount; at other times it + * will return an error. + * + * Subsequent calls after the first will generate a new, unique set of credentials, and invalidate the previously generated credentials. + * + * Once the service account is bound to the enterprise, it can be managed using the serviceAccountKeys resource. + */ + getServiceAccount(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The type of credential to return with the service account. Required. */ + keyType?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ServiceAccount>; + /** Returns the store layout for the enterprise. If the store layout has not been set, returns "basic" as the store layout type and no homepage. */ + getStoreLayout(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<StoreLayout>; + /** Establishes the binding between the EMM and an enterprise. This is now deprecated; use enroll instead. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The token provided by the enterprise to register the EMM. */ + token: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Enterprise>; + /** + * Looks up an enterprise by domain name. This is only supported for enterprises created via the Google-initiated creation flow. Lookup of the id is not + * needed for enterprises created via the EMM-initiated flow since the EMM learns the enterprise ID in the callback specified in the + * Enterprises.generateSignupUrl call. + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The exact primary domain name of the enterprise to look up. */ + domain: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<EnterprisesListResponse>; + /** + * Pulls and returns a notification set for the enterprises associated with the service account authenticated for the request. The notification set may be + * empty if no notification are pending. + * A notification set returned needs to be acknowledged within 20 seconds by calling Enterprises.AcknowledgeNotificationSet, unless the notification set + * is empty. + * Notifications that are not acknowledged within the 20 seconds will eventually be included again in the response to another PullNotificationSet request, + * and those that are never acknowledged will ultimately be deleted according to the Google Cloud Platform Pub/Sub system policy. + * Multiple requests might be performed concurrently to retrieve notifications, in which case the pending notifications (if any) will be split among each + * caller, if any are pending. + * If no notifications are present, an empty notification list is returned. Subsequent requests may return more notifications once they become available. + */ + pullNotificationSet(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The request mode for pulling notifications. + * Specifying waitForNotifications will cause the request to block and wait until one or more notifications are present, or return an empty notification + * list if no notifications are present after some time. + * Speciying returnImmediately will cause the request to immediately return the pending notifications, or an empty list if no notifications are present. + * If omitted, defaults to waitForNotifications. + */ + requestMode?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<NotificationSet>; + /** Sends a test notification to validate the EMM integration with the Google Cloud Pub/Sub service for this enterprise. */ + sendTestPushNotification(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<EnterprisesSendTestPushNotificationResponse>; + /** Sets the account that will be used to authenticate to the API as the enterprise. */ + setAccount(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<EnterpriseAccount>; + /** + * Sets the Android Device Policy config resource. EMM may use this method to enable or disable Android Device Policy support for the specified + * enterprise. To learn more about managing devices and apps with Android Device Policy, see the Android Management API. + */ + setAndroidDevicePolicyConfig(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AndroidDevicePolicyConfig>; + /** + * Sets the store layout for the enterprise. By default, storeLayoutType is set to "basic" and the basic store layout is enabled. The basic layout only + * contains apps approved by the admin, and that have been added to the available product set for a user (using the setAvailableProductSet call). Apps on + * the page are sorted in order of their product ID value. If you create a custom store layout (by setting storeLayoutType = "custom" and setting a + * homepage), the basic store layout is disabled. + */ + setStoreLayout(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<StoreLayout>; + /** Unenrolls an enterprise from the calling EMM. */ + unenroll(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface EntitlementsResource { + /** Removes an entitlement to an app for a user. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm". */ + entitlementId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves details of an entitlement. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm". */ + entitlementId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Entitlement>; + /** Lists all entitlements for the specified user. Only the ID is set. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<EntitlementsListResponse>; + /** Adds or updates an entitlement to an app for a user. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm". */ + entitlementId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Set to true to also install the product on all the user's devices where possible. Failure to install on one or more devices will not prevent this + * operation from returning successfully, as long as the entitlement was successfully assigned to the user. + */ + install?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Entitlement>; + /** Adds or updates an entitlement to an app for a user. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm". */ + entitlementId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Set to true to also install the product on all the user's devices where possible. Failure to install on one or more devices will not prevent this + * operation from returning successfully, as long as the entitlement was successfully assigned to the user. + */ + install?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Entitlement>; + } + interface GrouplicensesResource { + /** Retrieves details of an enterprise's group license for a product. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the product the group license is for, e.g. "app:com.google.android.gm". */ + groupLicenseId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GroupLicense>; + /** Retrieves IDs of all products for which the enterprise has a group license. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GroupLicensesListResponse>; + } + interface GrouplicenseusersResource { + /** Retrieves the IDs of the users who have been granted entitlements under the license. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the product the group license is for, e.g. "app:com.google.android.gm". */ + groupLicenseId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GroupLicenseUsersListResponse>; + } + interface InstallsResource { + /** Requests to remove an app from a device. A call to get or list will still show the app as installed on the device until it is actually removed. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The Android ID of the device. */ + deviceId: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the product represented by the install, e.g. "app:com.google.android.gm". */ + installId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves details of an installation of an app on a device. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The Android ID of the device. */ + deviceId: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the product represented by the install, e.g. "app:com.google.android.gm". */ + installId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Install>; + /** Retrieves the details of all apps installed on the specified device. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The Android ID of the device. */ + deviceId: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<InstallsListResponse>; + /** + * Requests to install the latest version of an app to a device. If the app is already installed, then it is updated to the latest version if necessary. + * This method supports patch semantics. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** The Android ID of the device. */ + deviceId: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the product represented by the install, e.g. "app:com.google.android.gm". */ + installId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Install>; + /** Requests to install the latest version of an app to a device. If the app is already installed, then it is updated to the latest version if necessary. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** The Android ID of the device. */ + deviceId: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the product represented by the install, e.g. "app:com.google.android.gm". */ + installId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Install>; + } + interface ManagedconfigurationsfordeviceResource { + /** Removes a per-device managed configuration for an app for the specified device. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The Android ID of the device. */ + deviceId: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm". */ + managedConfigurationForDeviceId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves details of a per-device managed configuration. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The Android ID of the device. */ + deviceId: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm". */ + managedConfigurationForDeviceId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ManagedConfiguration>; + /** Lists all the per-device managed configurations for the specified device. Only the ID is set. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The Android ID of the device. */ + deviceId: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ManagedConfigurationsForDeviceListResponse>; + /** Adds or updates a per-device managed configuration for an app for the specified device. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** The Android ID of the device. */ + deviceId: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm". */ + managedConfigurationForDeviceId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ManagedConfiguration>; + /** Adds or updates a per-device managed configuration for an app for the specified device. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** The Android ID of the device. */ + deviceId: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm". */ + managedConfigurationForDeviceId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ManagedConfiguration>; + } + interface ManagedconfigurationsforuserResource { + /** Removes a per-user managed configuration for an app for the specified user. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm". */ + managedConfigurationForUserId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves details of a per-user managed configuration for an app for the specified user. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm". */ + managedConfigurationForUserId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ManagedConfiguration>; + /** Lists all the per-user managed configurations for the specified user. Only the ID is set. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ManagedConfigurationsForUserListResponse>; + /** Adds or updates a per-user managed configuration for an app for the specified user. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm". */ + managedConfigurationForUserId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ManagedConfiguration>; + /** Adds or updates a per-user managed configuration for an app for the specified user. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm". */ + managedConfigurationForUserId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ManagedConfiguration>; + } + interface PermissionsResource { + /** Retrieves details of an Android app permission for display to an enterprise admin. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The BCP47 tag for the user's preferred language (e.g. "en-US", "de") */ + language?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the permission. */ + permissionId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Permission>; + } + interface ProductsResource { + /** + * Approves the specified product and the relevant app permissions, if any. The maximum number of products that you can approve per enterprise customer is + * 1,000. + * + * To learn how to use managed Google Play to design and create a store layout to display approved products to your users, see Store Layout Design. + */ + approve(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the product. */ + productId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Generates a URL that can be rendered in an iframe to display the permissions (if any) of a product. An enterprise admin must view these permissions and + * accept them on behalf of their organization in order to approve that product. + * + * Admins should accept the displayed permissions by interacting with a separate UI element in the EMM console, which in turn should trigger the use of + * this URL as the approvalUrlInfo.approvalUrl property in a Products.approve call to approve the product. This URL can only be used to display + * permissions for up to 1 day. + */ + generateApprovalUrl(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The BCP 47 language code used for permission names and descriptions in the returned iframe, for instance "en-US". */ + languageCode?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the product. */ + productId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ProductsGenerateApprovalUrlResponse>; + /** Retrieves details of a product for display to an enterprise admin. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The BCP47 tag for the user's preferred language (e.g. "en-US", "de"). */ + language?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the product, e.g. "app:com.google.android.gm". */ + productId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Product>; + /** + * Retrieves the schema that defines the configurable properties for this product. All products have a schema, but this schema may be empty if no managed + * configurations have been defined. This schema can be used to populate a UI that allows an admin to configure the product. To apply a managed + * configuration based on the schema obtained using this API, see Managed Configurations through Play. + */ + getAppRestrictionsSchema(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The BCP47 tag for the user's preferred language (e.g. "en-US", "de"). */ + language?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the product. */ + productId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AppRestrictionsSchema>; + /** Retrieves the Android app permissions required by this app. */ + getPermissions(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the product. */ + productId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ProductPermissions>; + /** Finds approved products that match a query, or all approved products if there is no query. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** + * Specifies whether to search among all products (false) or among only products that have been approved (true). Only "true" is supported, and should be + * specified. + */ + approved?: boolean; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The BCP47 tag for the user's preferred language (e.g. "en-US", "de"). Results are returned in the language best matching the preferred language. */ + language?: string; + /** + * Specifies the maximum number of products that can be returned per request. If not specified, uses a default value of 100, which is also the maximum + * retrievable within a single response. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The search query as typed in the Google Play store search box. If omitted, all approved apps will be returned (using the pagination parameters), + * including apps that are not available in the store (e.g. unpublished apps). + */ + query?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * A pagination token is contained in a request''s response when there are more products. The token can be used in a subsequent request to obtain more + * products, and so forth. This parameter cannot be used in the initial request. + */ + token?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ProductsListResponse>; + /** Unapproves the specified product (and the relevant app permissions, if any) */ + unapprove(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the product. */ + productId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface ServiceaccountkeysResource { + /** + * Removes and invalidates the specified credentials for the service account associated with this enterprise. The calling service account must have been + * retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount. + */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the key. */ + keyId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Generates new credentials for the service account associated with this enterprise. The calling service account must have been retrieved by calling + * Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount. + * + * Only the type of the key should be populated in the resource to be inserted. + */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ServiceAccountKey>; + /** + * Lists all active credentials for the service account associated with this enterprise. Only the ID and key type are returned. The calling service + * account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling + * Enterprises.SetAccount. + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ServiceAccountKeysListResponse>; + } + interface StorelayoutclustersResource { + /** Deletes a cluster. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the cluster. */ + clusterId: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the page. */ + pageId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves details of a cluster. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the cluster. */ + clusterId: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the page. */ + pageId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<StoreCluster>; + /** Inserts a new cluster in a page. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the page. */ + pageId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<StoreCluster>; + /** Retrieves the details of all clusters on the specified page. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the page. */ + pageId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<StoreLayoutClustersListResponse>; + /** Updates a cluster. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the cluster. */ + clusterId: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the page. */ + pageId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<StoreCluster>; + /** Updates a cluster. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the cluster. */ + clusterId: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the page. */ + pageId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<StoreCluster>; + } + interface StorelayoutpagesResource { + /** Deletes a store page. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the page. */ + pageId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves details of a store page. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the page. */ + pageId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<StorePage>; + /** Inserts a new store page. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<StorePage>; + /** Retrieves the details of all pages in the store. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<StoreLayoutPagesListResponse>; + /** Updates the content of a store page. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the page. */ + pageId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<StorePage>; + /** Updates the content of a store page. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the page. */ + pageId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<StorePage>; + } + interface UsersResource { + /** Deleted an EMM-managed user. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Generates an authentication token which the device policy client can use to provision the given EMM-managed user account on a device. The generated + * token is single-use and expires after a few minutes. + * + * This call only works with EMM-managed accounts. + */ + generateAuthenticationToken(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AuthenticationToken>; + /** + * Generates a token (activation code) to allow this user to configure their managed account in the Android Setup Wizard. Revokes any previously generated + * token. + * + * This call only works with Google managed accounts. + */ + generateToken(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UserToken>; + /** Retrieves a user's details. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<User>; + /** Retrieves the set of products a user is entitled to access. */ + getAvailableProductSet(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ProductSet>; + /** + * Creates a new EMM-managed user. + * + * The Users resource passed in the body of the request should include an accountIdentifier and an accountType. + * If a corresponding user already exists with the same account identifier, the user will be updated with the resource. In this case only the displayName + * field can be changed. + */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<User>; + /** + * Looks up a user by primary email address. This is only supported for Google-managed users. Lookup of the id is not needed for EMM-managed users because + * the id is already returned in the result of the Users.insert call. + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The exact primary email address of the user to look up. */ + email: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UsersListResponse>; + /** + * Updates the details of an EMM-managed user. + * + * Can be used with EMM-managed users only (not Google managed users). Pass the new details in the Users resource in the request body. Only the + * displayName field can be changed. Other fields must either be unset or have the currently active value. This method supports patch semantics. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<User>; + /** Revokes a previously generated token (activation code) for the user. */ + revokeToken(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Modifies the set of products that a user is entitled to access (referred to as whitelisted products). Only products that are approved or products that + * were previously approved (products with revoked approval) can be whitelisted. + */ + setAvailableProductSet(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ProductSet>; + /** + * Updates the details of an EMM-managed user. + * + * Can be used with EMM-managed users only (not Google managed users). Pass the new details in the Users resource in the request body. Only the + * displayName field can be changed. Other fields must either be unset or have the currently active value. + */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the enterprise. */ + enterpriseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<User>; + } + } +} diff --git a/types/gapi.client.androidenterprise/readme.md b/types/gapi.client.androidenterprise/readme.md new file mode 100644 index 0000000000..af095b5ae6 --- /dev/null +++ b/types/gapi.client.androidenterprise/readme.md @@ -0,0 +1,476 @@ +# TypeScript typings for Google Play EMM API v1 +Manages the deployment of apps to Android for Work users. +For detailed description please check [documentation](https://developers.google.com/android/work/play/emm-api). + +## Installing + +Install typings for Google Play EMM API: +``` +npm install @types/gapi.client.androidenterprise@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('androidenterprise', 'v1', () => { + // now we can use gapi.client.androidenterprise + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage corporate Android devices + 'https://www.googleapis.com/auth/androidenterprise', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Play EMM API resources: + +```typescript + +/* +Retrieves the details of a device. +*/ +await gapi.client.devices.get({ deviceId: "deviceId", enterpriseId: "enterpriseId", userId: "userId", }); + +/* +Retrieves whether a device's access to Google services is enabled or disabled. The device state takes effect only if enforcing EMM policies on Android devices is enabled in the Google Admin Console. Otherwise, the device state is ignored and all devices are allowed access to Google services. This is only supported for Google-managed users. +*/ +await gapi.client.devices.getState({ deviceId: "deviceId", enterpriseId: "enterpriseId", userId: "userId", }); + +/* +Retrieves the IDs of all of a user's devices. +*/ +await gapi.client.devices.list({ enterpriseId: "enterpriseId", userId: "userId", }); + +/* +Sets whether a device's access to Google services is enabled or disabled. The device state takes effect only if enforcing EMM policies on Android devices is enabled in the Google Admin Console. Otherwise, the device state is ignored and all devices are allowed access to Google services. This is only supported for Google-managed users. +*/ +await gapi.client.devices.setState({ deviceId: "deviceId", enterpriseId: "enterpriseId", userId: "userId", }); + +/* +Acknowledges notifications that were received from Enterprises.PullNotificationSet to prevent subsequent calls from returning the same notifications. +*/ +await gapi.client.enterprises.acknowledgeNotificationSet({ }); + +/* +Completes the signup flow, by specifying the Completion token and Enterprise token. This request must not be called multiple times for a given Enterprise Token. +*/ +await gapi.client.enterprises.completeSignup({ }); + +/* +Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token into the managed Google Play javascript API. Each token may only be used to start one UI session. See the javascript API documentation for further information. +*/ +await gapi.client.enterprises.createWebToken({ enterpriseId: "enterpriseId", }); + +/* +Deletes the binding between the EMM and enterprise. This is now deprecated. Use this method only to unenroll customers that were previously enrolled with the insert call, then enroll them again with the enroll call. +*/ +await gapi.client.enterprises.delete({ enterpriseId: "enterpriseId", }); + +/* +Enrolls an enterprise with the calling EMM. +*/ +await gapi.client.enterprises.enroll({ token: "token", }); + +/* +Generates a sign-up URL. +*/ +await gapi.client.enterprises.generateSignupUrl({ }); + +/* +Retrieves the name and domain of an enterprise. +*/ +await gapi.client.enterprises.get({ enterpriseId: "enterpriseId", }); + +/* +Returns the Android Device Policy config resource. +*/ +await gapi.client.enterprises.getAndroidDevicePolicyConfig({ enterpriseId: "enterpriseId", }); + +/* +Returns a service account and credentials. The service account can be bound to the enterprise by calling setAccount. The service account is unique to this enterprise and EMM, and will be deleted if the enterprise is unbound. The credentials contain private key data and are not stored server-side. + +This method can only be called after calling Enterprises.Enroll or Enterprises.CompleteSignup, and before Enterprises.SetAccount; at other times it will return an error. + +Subsequent calls after the first will generate a new, unique set of credentials, and invalidate the previously generated credentials. + +Once the service account is bound to the enterprise, it can be managed using the serviceAccountKeys resource. +*/ +await gapi.client.enterprises.getServiceAccount({ enterpriseId: "enterpriseId", }); + +/* +Returns the store layout for the enterprise. If the store layout has not been set, returns "basic" as the store layout type and no homepage. +*/ +await gapi.client.enterprises.getStoreLayout({ enterpriseId: "enterpriseId", }); + +/* +Establishes the binding between the EMM and an enterprise. This is now deprecated; use enroll instead. +*/ +await gapi.client.enterprises.insert({ token: "token", }); + +/* +Looks up an enterprise by domain name. This is only supported for enterprises created via the Google-initiated creation flow. Lookup of the id is not needed for enterprises created via the EMM-initiated flow since the EMM learns the enterprise ID in the callback specified in the Enterprises.generateSignupUrl call. +*/ +await gapi.client.enterprises.list({ domain: "domain", }); + +/* +Pulls and returns a notification set for the enterprises associated with the service account authenticated for the request. The notification set may be empty if no notification are pending. +A notification set returned needs to be acknowledged within 20 seconds by calling Enterprises.AcknowledgeNotificationSet, unless the notification set is empty. +Notifications that are not acknowledged within the 20 seconds will eventually be included again in the response to another PullNotificationSet request, and those that are never acknowledged will ultimately be deleted according to the Google Cloud Platform Pub/Sub system policy. +Multiple requests might be performed concurrently to retrieve notifications, in which case the pending notifications (if any) will be split among each caller, if any are pending. +If no notifications are present, an empty notification list is returned. Subsequent requests may return more notifications once they become available. +*/ +await gapi.client.enterprises.pullNotificationSet({ }); + +/* +Sends a test notification to validate the EMM integration with the Google Cloud Pub/Sub service for this enterprise. +*/ +await gapi.client.enterprises.sendTestPushNotification({ enterpriseId: "enterpriseId", }); + +/* +Sets the account that will be used to authenticate to the API as the enterprise. +*/ +await gapi.client.enterprises.setAccount({ enterpriseId: "enterpriseId", }); + +/* +Sets the Android Device Policy config resource. EMM may use this method to enable or disable Android Device Policy support for the specified enterprise. To learn more about managing devices and apps with Android Device Policy, see the Android Management API. +*/ +await gapi.client.enterprises.setAndroidDevicePolicyConfig({ enterpriseId: "enterpriseId", }); + +/* +Sets the store layout for the enterprise. By default, storeLayoutType is set to "basic" and the basic store layout is enabled. The basic layout only contains apps approved by the admin, and that have been added to the available product set for a user (using the setAvailableProductSet call). Apps on the page are sorted in order of their product ID value. If you create a custom store layout (by setting storeLayoutType = "custom" and setting a homepage), the basic store layout is disabled. +*/ +await gapi.client.enterprises.setStoreLayout({ enterpriseId: "enterpriseId", }); + +/* +Unenrolls an enterprise from the calling EMM. +*/ +await gapi.client.enterprises.unenroll({ enterpriseId: "enterpriseId", }); + +/* +Removes an entitlement to an app for a user. +*/ +await gapi.client.entitlements.delete({ enterpriseId: "enterpriseId", entitlementId: "entitlementId", userId: "userId", }); + +/* +Retrieves details of an entitlement. +*/ +await gapi.client.entitlements.get({ enterpriseId: "enterpriseId", entitlementId: "entitlementId", userId: "userId", }); + +/* +Lists all entitlements for the specified user. Only the ID is set. +*/ +await gapi.client.entitlements.list({ enterpriseId: "enterpriseId", userId: "userId", }); + +/* +Adds or updates an entitlement to an app for a user. This method supports patch semantics. +*/ +await gapi.client.entitlements.patch({ enterpriseId: "enterpriseId", entitlementId: "entitlementId", userId: "userId", }); + +/* +Adds or updates an entitlement to an app for a user. +*/ +await gapi.client.entitlements.update({ enterpriseId: "enterpriseId", entitlementId: "entitlementId", userId: "userId", }); + +/* +Retrieves details of an enterprise's group license for a product. +*/ +await gapi.client.grouplicenses.get({ enterpriseId: "enterpriseId", groupLicenseId: "groupLicenseId", }); + +/* +Retrieves IDs of all products for which the enterprise has a group license. +*/ +await gapi.client.grouplicenses.list({ enterpriseId: "enterpriseId", }); + +/* +Retrieves the IDs of the users who have been granted entitlements under the license. +*/ +await gapi.client.grouplicenseusers.list({ enterpriseId: "enterpriseId", groupLicenseId: "groupLicenseId", }); + +/* +Requests to remove an app from a device. A call to get or list will still show the app as installed on the device until it is actually removed. +*/ +await gapi.client.installs.delete({ deviceId: "deviceId", enterpriseId: "enterpriseId", installId: "installId", userId: "userId", }); + +/* +Retrieves details of an installation of an app on a device. +*/ +await gapi.client.installs.get({ deviceId: "deviceId", enterpriseId: "enterpriseId", installId: "installId", userId: "userId", }); + +/* +Retrieves the details of all apps installed on the specified device. +*/ +await gapi.client.installs.list({ deviceId: "deviceId", enterpriseId: "enterpriseId", userId: "userId", }); + +/* +Requests to install the latest version of an app to a device. If the app is already installed, then it is updated to the latest version if necessary. This method supports patch semantics. +*/ +await gapi.client.installs.patch({ deviceId: "deviceId", enterpriseId: "enterpriseId", installId: "installId", userId: "userId", }); + +/* +Requests to install the latest version of an app to a device. If the app is already installed, then it is updated to the latest version if necessary. +*/ +await gapi.client.installs.update({ deviceId: "deviceId", enterpriseId: "enterpriseId", installId: "installId", userId: "userId", }); + +/* +Removes a per-device managed configuration for an app for the specified device. +*/ +await gapi.client.managedconfigurationsfordevice.delete({ deviceId: "deviceId", enterpriseId: "enterpriseId", managedConfigurationForDeviceId: "managedConfigurationForDeviceId", userId: "userId", }); + +/* +Retrieves details of a per-device managed configuration. +*/ +await gapi.client.managedconfigurationsfordevice.get({ deviceId: "deviceId", enterpriseId: "enterpriseId", managedConfigurationForDeviceId: "managedConfigurationForDeviceId", userId: "userId", }); + +/* +Lists all the per-device managed configurations for the specified device. Only the ID is set. +*/ +await gapi.client.managedconfigurationsfordevice.list({ deviceId: "deviceId", enterpriseId: "enterpriseId", userId: "userId", }); + +/* +Adds or updates a per-device managed configuration for an app for the specified device. This method supports patch semantics. +*/ +await gapi.client.managedconfigurationsfordevice.patch({ deviceId: "deviceId", enterpriseId: "enterpriseId", managedConfigurationForDeviceId: "managedConfigurationForDeviceId", userId: "userId", }); + +/* +Adds or updates a per-device managed configuration for an app for the specified device. +*/ +await gapi.client.managedconfigurationsfordevice.update({ deviceId: "deviceId", enterpriseId: "enterpriseId", managedConfigurationForDeviceId: "managedConfigurationForDeviceId", userId: "userId", }); + +/* +Removes a per-user managed configuration for an app for the specified user. +*/ +await gapi.client.managedconfigurationsforuser.delete({ enterpriseId: "enterpriseId", managedConfigurationForUserId: "managedConfigurationForUserId", userId: "userId", }); + +/* +Retrieves details of a per-user managed configuration for an app for the specified user. +*/ +await gapi.client.managedconfigurationsforuser.get({ enterpriseId: "enterpriseId", managedConfigurationForUserId: "managedConfigurationForUserId", userId: "userId", }); + +/* +Lists all the per-user managed configurations for the specified user. Only the ID is set. +*/ +await gapi.client.managedconfigurationsforuser.list({ enterpriseId: "enterpriseId", userId: "userId", }); + +/* +Adds or updates a per-user managed configuration for an app for the specified user. This method supports patch semantics. +*/ +await gapi.client.managedconfigurationsforuser.patch({ enterpriseId: "enterpriseId", managedConfigurationForUserId: "managedConfigurationForUserId", userId: "userId", }); + +/* +Adds or updates a per-user managed configuration for an app for the specified user. +*/ +await gapi.client.managedconfigurationsforuser.update({ enterpriseId: "enterpriseId", managedConfigurationForUserId: "managedConfigurationForUserId", userId: "userId", }); + +/* +Retrieves details of an Android app permission for display to an enterprise admin. +*/ +await gapi.client.permissions.get({ permissionId: "permissionId", }); + +/* +Approves the specified product and the relevant app permissions, if any. The maximum number of products that you can approve per enterprise customer is 1,000. + +To learn how to use managed Google Play to design and create a store layout to display approved products to your users, see Store Layout Design. +*/ +await gapi.client.products.approve({ enterpriseId: "enterpriseId", productId: "productId", }); + +/* +Generates a URL that can be rendered in an iframe to display the permissions (if any) of a product. An enterprise admin must view these permissions and accept them on behalf of their organization in order to approve that product. + +Admins should accept the displayed permissions by interacting with a separate UI element in the EMM console, which in turn should trigger the use of this URL as the approvalUrlInfo.approvalUrl property in a Products.approve call to approve the product. This URL can only be used to display permissions for up to 1 day. +*/ +await gapi.client.products.generateApprovalUrl({ enterpriseId: "enterpriseId", productId: "productId", }); + +/* +Retrieves details of a product for display to an enterprise admin. +*/ +await gapi.client.products.get({ enterpriseId: "enterpriseId", productId: "productId", }); + +/* +Retrieves the schema that defines the configurable properties for this product. All products have a schema, but this schema may be empty if no managed configurations have been defined. This schema can be used to populate a UI that allows an admin to configure the product. To apply a managed configuration based on the schema obtained using this API, see Managed Configurations through Play. +*/ +await gapi.client.products.getAppRestrictionsSchema({ enterpriseId: "enterpriseId", productId: "productId", }); + +/* +Retrieves the Android app permissions required by this app. +*/ +await gapi.client.products.getPermissions({ enterpriseId: "enterpriseId", productId: "productId", }); + +/* +Finds approved products that match a query, or all approved products if there is no query. +*/ +await gapi.client.products.list({ enterpriseId: "enterpriseId", }); + +/* +Unapproves the specified product (and the relevant app permissions, if any) +*/ +await gapi.client.products.unapprove({ enterpriseId: "enterpriseId", productId: "productId", }); + +/* +Removes and invalidates the specified credentials for the service account associated with this enterprise. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount. +*/ +await gapi.client.serviceaccountkeys.delete({ enterpriseId: "enterpriseId", keyId: "keyId", }); + +/* +Generates new credentials for the service account associated with this enterprise. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount. + +Only the type of the key should be populated in the resource to be inserted. +*/ +await gapi.client.serviceaccountkeys.insert({ enterpriseId: "enterpriseId", }); + +/* +Lists all active credentials for the service account associated with this enterprise. Only the ID and key type are returned. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount. +*/ +await gapi.client.serviceaccountkeys.list({ enterpriseId: "enterpriseId", }); + +/* +Deletes a cluster. +*/ +await gapi.client.storelayoutclusters.delete({ clusterId: "clusterId", enterpriseId: "enterpriseId", pageId: "pageId", }); + +/* +Retrieves details of a cluster. +*/ +await gapi.client.storelayoutclusters.get({ clusterId: "clusterId", enterpriseId: "enterpriseId", pageId: "pageId", }); + +/* +Inserts a new cluster in a page. +*/ +await gapi.client.storelayoutclusters.insert({ enterpriseId: "enterpriseId", pageId: "pageId", }); + +/* +Retrieves the details of all clusters on the specified page. +*/ +await gapi.client.storelayoutclusters.list({ enterpriseId: "enterpriseId", pageId: "pageId", }); + +/* +Updates a cluster. This method supports patch semantics. +*/ +await gapi.client.storelayoutclusters.patch({ clusterId: "clusterId", enterpriseId: "enterpriseId", pageId: "pageId", }); + +/* +Updates a cluster. +*/ +await gapi.client.storelayoutclusters.update({ clusterId: "clusterId", enterpriseId: "enterpriseId", pageId: "pageId", }); + +/* +Deletes a store page. +*/ +await gapi.client.storelayoutpages.delete({ enterpriseId: "enterpriseId", pageId: "pageId", }); + +/* +Retrieves details of a store page. +*/ +await gapi.client.storelayoutpages.get({ enterpriseId: "enterpriseId", pageId: "pageId", }); + +/* +Inserts a new store page. +*/ +await gapi.client.storelayoutpages.insert({ enterpriseId: "enterpriseId", }); + +/* +Retrieves the details of all pages in the store. +*/ +await gapi.client.storelayoutpages.list({ enterpriseId: "enterpriseId", }); + +/* +Updates the content of a store page. This method supports patch semantics. +*/ +await gapi.client.storelayoutpages.patch({ enterpriseId: "enterpriseId", pageId: "pageId", }); + +/* +Updates the content of a store page. +*/ +await gapi.client.storelayoutpages.update({ enterpriseId: "enterpriseId", pageId: "pageId", }); + +/* +Deleted an EMM-managed user. +*/ +await gapi.client.users.delete({ enterpriseId: "enterpriseId", userId: "userId", }); + +/* +Generates an authentication token which the device policy client can use to provision the given EMM-managed user account on a device. The generated token is single-use and expires after a few minutes. + +This call only works with EMM-managed accounts. +*/ +await gapi.client.users.generateAuthenticationToken({ enterpriseId: "enterpriseId", userId: "userId", }); + +/* +Generates a token (activation code) to allow this user to configure their managed account in the Android Setup Wizard. Revokes any previously generated token. + +This call only works with Google managed accounts. +*/ +await gapi.client.users.generateToken({ enterpriseId: "enterpriseId", userId: "userId", }); + +/* +Retrieves a user's details. +*/ +await gapi.client.users.get({ enterpriseId: "enterpriseId", userId: "userId", }); + +/* +Retrieves the set of products a user is entitled to access. +*/ +await gapi.client.users.getAvailableProductSet({ enterpriseId: "enterpriseId", userId: "userId", }); + +/* +Creates a new EMM-managed user. + +The Users resource passed in the body of the request should include an accountIdentifier and an accountType. +If a corresponding user already exists with the same account identifier, the user will be updated with the resource. In this case only the displayName field can be changed. +*/ +await gapi.client.users.insert({ enterpriseId: "enterpriseId", }); + +/* +Looks up a user by primary email address. This is only supported for Google-managed users. Lookup of the id is not needed for EMM-managed users because the id is already returned in the result of the Users.insert call. +*/ +await gapi.client.users.list({ email: "email", enterpriseId: "enterpriseId", }); + +/* +Updates the details of an EMM-managed user. + +Can be used with EMM-managed users only (not Google managed users). Pass the new details in the Users resource in the request body. Only the displayName field can be changed. Other fields must either be unset or have the currently active value. This method supports patch semantics. +*/ +await gapi.client.users.patch({ enterpriseId: "enterpriseId", userId: "userId", }); + +/* +Revokes a previously generated token (activation code) for the user. +*/ +await gapi.client.users.revokeToken({ enterpriseId: "enterpriseId", userId: "userId", }); + +/* +Modifies the set of products that a user is entitled to access (referred to as whitelisted products). Only products that are approved or products that were previously approved (products with revoked approval) can be whitelisted. +*/ +await gapi.client.users.setAvailableProductSet({ enterpriseId: "enterpriseId", userId: "userId", }); + +/* +Updates the details of an EMM-managed user. + +Can be used with EMM-managed users only (not Google managed users). Pass the new details in the Users resource in the request body. Only the displayName field can be changed. Other fields must either be unset or have the currently active value. +*/ +await gapi.client.users.update({ enterpriseId: "enterpriseId", userId: "userId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.androidenterprise/tsconfig.json b/types/gapi.client.androidenterprise/tsconfig.json new file mode 100644 index 0000000000..d641db9824 --- /dev/null +++ b/types/gapi.client.androidenterprise/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.androidenterprise-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.androidenterprise/tslint.json b/types/gapi.client.androidenterprise/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.androidenterprise/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.androidmanagement/gapi.client.androidmanagement-tests.ts b/types/gapi.client.androidmanagement/gapi.client.androidmanagement-tests.ts new file mode 100644 index 0000000000..8710ad7485 --- /dev/null +++ b/types/gapi.client.androidmanagement/gapi.client.androidmanagement-tests.ts @@ -0,0 +1,52 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('androidmanagement', 'v1', () => { + /** now we can use gapi.client.androidmanagement */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage Android devices and apps for your customers */ + 'https://www.googleapis.com/auth/androidmanagement', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Creates an enterprise by completing the enterprise signup flow. */ + await gapi.client.enterprises.create({ + enterpriseToken: "enterpriseToken", + projectId: "projectId", + signupUrlName: "signupUrlName", + }); + /** Gets an enterprise. */ + await gapi.client.enterprises.get({ + name: "name", + }); + /** Updates an enterprise. */ + await gapi.client.enterprises.patch({ + name: "name", + updateMask: "updateMask", + }); + /** Creates an enterprise signup URL. */ + await gapi.client.signupUrls.create({ + callbackUrl: "callbackUrl", + projectId: "projectId", + }); + } +}); diff --git a/types/gapi.client.androidmanagement/index.d.ts b/types/gapi.client.androidmanagement/index.d.ts new file mode 100644 index 0000000000..b24ccab3e5 --- /dev/null +++ b/types/gapi.client.androidmanagement/index.d.ts @@ -0,0 +1,1385 @@ +// Type definitions for Google Android Management API v1 1.0 +// Project: https://developers.google.com/android/management +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://androidmanagement.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Android Management API v1 */ + function load(name: "androidmanagement", version: "v1"): PromiseLike<void>; + function load(name: "androidmanagement", version: "v1", callback: () => any): void; + + const enterprises: androidmanagement.EnterprisesResource; + + const signupUrls: androidmanagement.SignupUrlsResource; + + namespace androidmanagement { + interface ApiLevelCondition { + /** + * The minimum desired Android Framework API level. If the device does not meet the minimum requirement, this condition is satisfied. Must be greater than + * zero. + */ + minApiLevel?: number; + } + interface Application { + /** The set of managed properties available to be pre-configured for the application. */ + managedProperties?: ManagedProperty[]; + /** The name of the application in the form enterprises/{enterpriseId}/applications/{package_name} */ + name?: string; + /** The permissions required by the app. */ + permissions?: ApplicationPermission[]; + /** The title of the application. Localized. */ + title?: string; + } + interface ApplicationPermission { + /** A longer description of the permission, giving more details of what it affects. Localized. */ + description?: string; + /** The name of the permission. Localized. */ + name?: string; + /** An opaque string uniquely identifying the permission. Not localized. */ + permissionId?: string; + } + interface ApplicationPolicy { + /** + * The default policy for all permissions requested by the app. If specified, this overrides the policy-level default_permission_policy which applies to + * all apps. + */ + defaultPermissionPolicy?: string; + /** The type of installation to perform. */ + installType?: string; + /** Whether the application is allowed to lock itself in full-screen mode. */ + lockTaskAllowed?: boolean; + /** + * Managed configuration applied to the app. The format for the configuration is dictated by the ManagedProperty values supported by the app. Each field + * name in the managed configuration must match the key field of the ManagedProperty. The field value must be compatible with the type of the + * ManagedProperty: <table> <tr><td><i>type</i></td><td><i>JSON value</i></td></tr> <tr><td>BOOL</td><td>true or false</td></tr> + * <tr><td>STRING</td><td>string</td></tr> <tr><td>INTEGER</td><td>number</td></tr> <tr><td>CHOICE</td><td>string</td></tr> + * <tr><td>MULTISELECT</td><td>array of strings</td></tr> <tr><td>HIDDEN</td><td>string</td></tr> <tr><td>BUNDLE_ARRAY</td><td>array of objects</td></tr> + * </table> + */ + managedConfiguration?: Record<string, any>; + /** The package name of the app, e.g. com.google.android.youtube for the YouTube app. */ + packageName?: string; + /** Explicit permission grants or denials for the app. These values override the default_permission_policy. */ + permissionGrants?: PermissionGrant[]; + } + interface Command { + /** The timestamp at which the command was created. The timestamp is automatically generated by the server. */ + createTime?: string; + /** + * The duration for which the command is valid. The command will expire if not executed by the device during this time. The default duration if + * unspecified is ten minutes. There is no maximum duration. + */ + duration?: string; + /** For commands of type RESET_PASSWORD, optionally specifies the new password. */ + newPassword?: string; + /** For commands of type RESET_PASSWORD, optionally specifies flags. */ + resetPasswordFlags?: string[]; + /** The type of the command. */ + type?: string; + } + interface ComplianceRule { + /** A condition which is satisfied if the Android Framework API level on the device does not meet a minimum requirement. */ + apiLevelCondition?: ApiLevelCondition; + /** + * If set to true, the rule includes a mitigating action to disable applications so that the device is effectively disabled, but application data is + * preserved. If the device is running an app in locked task mode, the app will be closed and a UI showing the reason for non-compliance will be + * displayed. + */ + disableApps?: boolean; + /** A condition which is satisfied if there exists any matching NonComplianceDetail for the device. */ + nonComplianceDetailCondition?: NonComplianceDetailCondition; + } + interface Device { + /** The API level of the Android platform version running on the device. */ + apiLevel?: number; + /** The name of the policy that is currently applied by the device. */ + appliedPolicyName?: string; + /** The version of the policy that is currently applied by the device. */ + appliedPolicyVersion?: string; + /** The state that is currently applied by the device. */ + appliedState?: string; + /** + * If the device state is DISABLED, an optional message that is displayed on the device indicating the reason the device is disabled. This field may be + * modified by an update request. + */ + disabledReason?: UserFacingMessage; + /** Displays on the device. This information is only available when displayInfoEnabled is true in the device's policy. */ + displays?: Display[]; + /** The time of device enrollment. */ + enrollmentTime?: string; + /** If this device was enrolled with an enrollment token with additional data provided, this field contains that data. */ + enrollmentTokenData?: string; + /** If this device was enrolled with an enrollment token, this field contains the name of the token. */ + enrollmentTokenName?: string; + /** Detailed information about the device hardware. */ + hardwareInfo?: HardwareInfo; + /** Hardware status samples in chronological order. This information is only available when hardwareStatusEnabled is true in the device's policy. */ + hardwareStatusSamples?: HardwareStatus[]; + /** The last time the device sent a policy compliance report. */ + lastPolicyComplianceReportTime?: string; + /** The last time the device fetched its policy. */ + lastPolicySyncTime?: string; + /** The last time the device sent a status report. */ + lastStatusReportTime?: string; + /** + * Events related to memory and storage measurements in chronological order. This information is only available when memoryInfoEnabled is true in the + * device's policy. + */ + memoryEvents?: MemoryEvent[]; + /** Memory information. This information is only available when memoryInfoEnabled is true in the device's policy. */ + memoryInfo?: MemoryInfo; + /** The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId} */ + name?: string; + /** Device network information. This information is only available when networkInfoEnabled is true in the device's policy. */ + networkInfo?: NetworkInfo; + /** Details about policy settings for which the device is not in compliance. */ + nonComplianceDetails?: NonComplianceDetail[]; + /** Whether the device is compliant with its policy. */ + policyCompliant?: boolean; + /** + * The name of the policy that is intended to be applied to the device. If empty, the policy with id default is applied. This field may be modified by an + * update request. The name of the policy is in the form enterprises/{enterpriseId}/policies/{policyId}. It is also permissible to only specify the + * policyId when updating this field as long as the policyId contains no slashes since the rest of the policy name can be inferred from context. + */ + policyName?: string; + /** + * Power management events on the device in chronological order. This information is only available when powerManagementEventsEnabled is true in the + * device's policy. + */ + powerManagementEvents?: PowerManagementEvent[]; + /** + * The previous device names used for the same physical device when it has been enrolled multiple times. The serial number is used as the unique + * identifier to determine if the same physical device has enrolled previously. The names are in chronological order. + */ + previousDeviceNames?: string[]; + /** Detailed information about the device software. This information is only available when softwareInfoEnabled is true in the device's policy. */ + softwareInfo?: SoftwareInfo; + /** + * The state that is intended to be applied to the device. This field may be modified by an update request. Note that UpdateDevice only handles toggling + * between ACTIVE and DISABLED states. Use the delete device method to cause the device to enter the DELETED state. + */ + state?: string; + /** + * The resource name of the user of the device in the form enterprises/{enterpriseId}/users/{userId}. This is the name of the device account automatically + * created for this device. + */ + userName?: string; + } + interface Display { + /** Display density expressed as dots-per-inch. */ + density?: number; + /** Unique display id. */ + displayId?: number; + /** Display height in pixels. */ + height?: number; + /** Name of the display. */ + name?: string; + /** Refresh rate of the display in frames per second. */ + refreshRate?: number; + /** State of the display. */ + state?: string; + /** Display width in pixels. */ + width?: number; + } + interface EnrollmentToken { + /** + * Optional, arbitrary data associated with the enrollment token. This could contain, for example, the id of an org unit to which the device is assigned + * after enrollment. After a device enrolls with the token, this data will be exposed in the enrollment_token_data field of the Device resource. The data + * must be 1024 characters or less; otherwise, the creation request will fail. + */ + additionalData?: string; + /** The duration of the token. If not specified, the duration will be 1 hour. The allowed range is 1 minute to 30 days. */ + duration?: string; + /** The expiration time of the token. This is a read-only field generated by the server. */ + expirationTimestamp?: string; + /** + * The name of the enrollment token, which is generated by the server during creation, in the form + * enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId} + */ + name?: string; + /** + * The name of the policy that will be initially applied to the enrolled device in the form enterprises/{enterpriseId}/policies/{policyId}. If not + * specified, the policy with id default is applied. It is permissible to only specify the policyId when updating this field as long as the policyId + * contains no slashes since the rest of the policy name can be inferred from context. + */ + policyName?: string; + /** + * A JSON string whose UTF-8 representation can be used to generate a QR code to enroll a device with this enrollment token. To enroll a device using NFC, + * the NFC record must contain a serialized java.util.Properties representation of the properties in the JSON. + */ + qrCode?: string; + /** The token value which is passed to the device and authorizes the device to enroll. This is a read-only field generated by the server. */ + value?: string; + } + interface Enterprise { + /** + * Whether app auto-approval is enabled. When enabled, apps installed via policy for this enterprise have all permissions automatically approved. When + * enabled, it is the caller's responsibility to display the permissions required by an app to the enterprise admin before setting the app to be installed + * in a policy. + */ + appAutoApprovalEnabled?: boolean; + /** The notification types to enable via Google Cloud Pub/Sub. */ + enabledNotificationTypes?: string[]; + /** The name of the enterprise as it will appear to users. */ + enterpriseDisplayName?: string; + /** + * An image displayed as a logo during device provisioning. Supported types are: image/bmp, image/gif, image/x-ico, image/jpeg, image/png, image/webp, + * image/vnd.wap.wbmp, image/x-adobe-dng. + */ + logo?: ExternalData; + /** The name of the enterprise which is generated by the server during creation, in the form enterprises/{enterpriseId} */ + name?: string; + /** + * A color in RGB format indicating the predominant color to display in the device management app UI. The color components are stored as follows: (red << + * 16) | (green << 8) | blue, where each component may take a value between 0 and 255 inclusive. + */ + primaryColor?: number; + /** + * When Cloud Pub/Sub notifications are enabled, this field is required to indicate the topic to which the notifications will be published. The format of + * this field is projects/{project}/topics/{topic}. You must have granted the publish permission on this topic to + * android-cloud-policy@system.gserviceaccount.com + */ + pubsubTopic?: string; + } + interface ExternalData { + /** The base-64 encoded SHA-256 hash of the content hosted at url. If the content does not match this hash, Android Device Policy will not use the data. */ + sha256Hash?: string; + /** + * The absolute URL to the data, which must use either the http or https scheme. Android Device Policy does not provide any credentials in the GET + * request, so the URL must be publicly accessible. Including a long, random component in the URL may be used to prevent attackers from discovering the + * URL. + */ + url?: string; + } + interface HardwareInfo { + /** Battery shutdown temperature thresholds in Celsius for each battery on the device. */ + batteryShutdownTemperatures?: number[]; + /** Battery throttling temperature thresholds in Celsius for each battery on the device. */ + batteryThrottlingTemperatures?: number[]; + /** Brand of the device, e.g. Google. */ + brand?: string; + /** CPU shutdown temperature thresholds in Celsius for each CPU on the device. */ + cpuShutdownTemperatures?: number[]; + /** CPU throttling temperature thresholds in Celsius for each CPU on the device. */ + cpuThrottlingTemperatures?: number[]; + /** Baseband version, e.g. MDM9625_104662.22.05.34p. */ + deviceBasebandVersion?: string; + /** GPU shutdown temperature thresholds in Celsius for each GPU on the device. */ + gpuShutdownTemperatures?: number[]; + /** GPU throttling temperature thresholds in Celsius for each GPU on the device. */ + gpuThrottlingTemperatures?: number[]; + /** Name of the hardware, e.g. Angler. */ + hardware?: string; + /** Manufacturer, e.g. Motorola. */ + manufacturer?: string; + /** The model of the device, e.g. Asus Nexus 7. */ + model?: string; + /** The device serial number. */ + serialNumber?: string; + /** Device skin shutdown temperature thresholds in Celsius. */ + skinShutdownTemperatures?: number[]; + /** Device skin throttling temperature thresholds in Celsius. */ + skinThrottlingTemperatures?: number[]; + } + interface HardwareStatus { + /** Current battery temperatures in Celsius for each battery on the device. */ + batteryTemperatures?: number[]; + /** Current CPU temperatures in Celsius for each CPU on the device. */ + cpuTemperatures?: number[]; + /** + * CPU usages in percentage for each core available on the device. Usage is 0 for each unplugged core. Empty array implies that CPU usage is not supported + * in the system. + */ + cpuUsages?: number[]; + /** The time the measurements were taken. */ + createTime?: string; + /** Fan speeds in RPM for each fan on the device. Empty array means that there are no fans or fan speed is not supported on the system. */ + fanSpeeds?: number[]; + /** Current GPU temperatures in Celsius for each GPU on the device. */ + gpuTemperatures?: number[]; + /** Current device skin temperatures in Celsius. */ + skinTemperatures?: number[]; + } + interface ListDevicesResponse { + /** The list of devices. */ + devices?: Device[]; + /** If there are more results, a token to retrieve next page of results. */ + nextPageToken?: string; + } + interface ListOperationsResponse { + /** The standard List next-page token. */ + nextPageToken?: string; + /** A list of operations that matches the specified filter in the request. */ + operations?: Operation[]; + } + interface ListPoliciesResponse { + /** If there are more results, a token to retrieve next page of results. */ + nextPageToken?: string; + /** The list of policies. */ + policies?: Policy[]; + } + interface ManagedProperty { + /** The default value of the properties. BUNDLE_ARRAY properties never have a default value. */ + defaultValue?: any; + /** A longer description of the property, giving more detail of what it affects. Localized. */ + description?: string; + /** For CHOICE or MULTISELECT properties, the list of possible entries. */ + entries?: ManagedPropertyEntry[]; + /** The unique key that the application uses to identify the property, e.g. "com.google.android.gm.fieldname". */ + key?: string; + /** For BUNDLE_ARRAY properties, the list of nested properties. A BUNDLE_ARRAY property is at most two levels deep. */ + nestedProperties?: ManagedProperty[]; + /** The name of the property. Localized. */ + title?: string; + /** The type of the property. */ + type?: string; + } + interface ManagedPropertyEntry { + /** The human-readable name of the value. Localized. */ + name?: string; + /** The machine-readable value of the entry, which should be used in the configuration. Not localized. */ + value?: string; + } + interface MemoryEvent { + /** The number of free bytes in the medium, or for EXTERNAL_STORAGE_DETECTED, the total capacity in bytes of the storage medium. */ + byteCount?: string; + /** The creation time of the event. */ + createTime?: string; + /** Event type. */ + eventType?: string; + } + interface MemoryInfo { + /** Total internal storage on device in bytes. */ + totalInternalStorage?: string; + /** Total RAM on device in bytes. */ + totalRam?: string; + } + interface NetworkInfo { + /** IMEI number of the GSM device, e.g. A1000031212. */ + imei?: string; + /** MEID number of the CDMA device, e.g. A00000292788E1. */ + meid?: string; + /** WiFi MAC address of the device, e.g. 7c:11:11:11:11:11. */ + wifiMacAddress?: string; + } + interface NonComplianceDetail { + /** If the policy setting could not be applied, the current value of the setting on the device. */ + currentValue?: any; + /** + * For settings with nested fields, if a particular nested field is out of compliance, this specifies the full path to the offending field. The path is + * formatted in the same way the policy JSON field would be referenced in JavaScript, that is: 1) For object-typed fields, the field name is followed by a + * dot then by a subfield name. 2) For array-typed fields, the field name is followed by the array index enclosed in brackets. For example, to indicate + * a problem with the url field in the externalData field in the 3rd application, the path would be applications[2].externalData.url + */ + fieldPath?: string; + /** + * If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or APP_NOT_UPDATED, the detailed reason the app cannot be installed or + * updated. + */ + installationFailureReason?: string; + /** The reason the device is not in compliance with the setting. */ + nonComplianceReason?: string; + /** The package name indicating which application is out of compliance, if applicable. */ + packageName?: string; + /** The name of the policy setting. This is the JSON field name of a top-level Policy field. */ + settingName?: string; + } + interface NonComplianceDetailCondition { + /** The reason the device is not in compliance with the setting. If not set, then this condition matches any reason. */ + nonComplianceReason?: string; + /** The package name indicating which application is out of compliance. If not set, then this condition matches any package name. */ + packageName?: string; + /** The name of the policy setting. This is the JSON field name of a top-level Policy field. If not set, then this condition matches any setting name. */ + settingName?: string; + } + interface Operation { + /** If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available. */ + done?: boolean; + /** The error result of the operation in case of failure or cancellation. */ + error?: Status; + /** + * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some + * services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. + */ + metadata?: Record<string, any>; + /** + * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should + * have the format of operations/some/unique/name. + */ + name?: string; + /** + * The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is + * google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response + * should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred + * response type is TakeSnapshotResponse. + */ + response?: Record<string, any>; + } + interface PasswordRequirements { + /** A device will be wiped after too many incorrect device-unlock passwords have been entered. A value of 0 means there is no restriction. */ + maximumFailedPasswordsForWipe?: number; + /** Password expiration timeout. */ + passwordExpirationTimeout?: string; + /** + * The length of the password history. After setting this, the user will not be able to enter a new password that is the same as any password in the + * history. A value of 0 means there is no restriction. + */ + passwordHistoryLength?: number; + /** + * The minimum allowed password length. A value of 0 means there is no restriction. Only enforced when password_quality is NUMERIC, NUMERIC_COMPLEX, + * ALPHABETIC, ALPHANUMERIC, or COMPLEX. + */ + passwordMinimumLength?: number; + /** Minimum number of letters required in the password. Only enforced when password_quality is COMPLEX. */ + passwordMinimumLetters?: number; + /** Minimum number of lower case letters required in the password. Only enforced when password_quality is COMPLEX. */ + passwordMinimumLowerCase?: number; + /** Minimum number of non-letter characters (numerical digits or symbols) required in the password. Only enforced when password_quality is COMPLEX. */ + passwordMinimumNonLetter?: number; + /** Minimum number of numerical digits required in the password. Only enforced when password_quality is COMPLEX. */ + passwordMinimumNumeric?: number; + /** Minimum number of symbols required in the password. Only enforced when password_quality is COMPLEX. */ + passwordMinimumSymbols?: number; + /** Minimum number of upper case letters required in the password. Only enforced when password_quality is COMPLEX. */ + passwordMinimumUpperCase?: number; + /** The required password quality. */ + passwordQuality?: string; + } + interface PermissionGrant { + /** The android permission, e.g. android.permission.READ_CALENDAR. */ + permission?: string; + /** The policy for granting the permission. */ + policy?: string; + } + interface PersistentPreferredActivity { + /** + * The intent actions to match in the filter. If any actions are included in the filter, then an intent's action must be one of those values for it to + * match. If no actions are included, the intent action is ignored. + */ + actions?: string[]; + /** + * The intent categories to match in the filter. An intent includes the categories that it requires, all of which must be included in the filter in order + * to match. In other words, adding a category to the filter has no impact on matching unless that category is specified in the intent. + */ + categories?: string[]; + /** + * The activity that should be the default intent handler. This should be an Android component name, e.g. com.android.enterprise.app/.MainActivity. + * Alternatively, the value may be the package name of an app, which causes Android Device Policy to choose an appropriate activity from the app to handle + * the intent. + */ + receiverActivity?: string; + } + interface Policy { + /** Whether adding new users and profiles is disabled. */ + addUserDisabled?: boolean; + /** Whether adjusting the master volume is disabled. */ + adjustVolumeDisabled?: boolean; + /** Policy applied to apps. */ + applications?: ApplicationPolicy[]; + /** Whether auto time is required, which prevents the user from manually setting the date and time. */ + autoTimeRequired?: boolean; + /** + * Whether applications other than the ones configured in applications are blocked from being installed. When set, applications that were installed under + * a previous policy but no longer appear in the policy are automatically uninstalled. + */ + blockApplicationsEnabled?: boolean; + /** Whether all cameras on the device are disabled. */ + cameraDisabled?: boolean; + /** + * Rules declaring which mitigating actions to take when a device is not compliant with its policy. When the conditions for multiple rules are satisfied, + * all of the mitigating actions for the rules are taken. There is a maximum limit of 100 rules. + */ + complianceRules?: ComplianceRule[]; + /** Whether the user is allowed to enable debugging features. */ + debuggingFeaturesAllowed?: boolean; + /** The default permission policy for requests for runtime permissions. */ + defaultPermissionPolicy?: string; + /** Whether factory resetting from settings is disabled. */ + factoryResetDisabled?: boolean; + /** + * Email addresses of device administrators for factory reset protection. When the device is factory reset, it will require one of these admins to log in + * with the Google account email and password to unlock the device. If no admins are specified, the device will not provide factory reset protection. + */ + frpAdminEmails?: string[]; + /** Whether the user is allowed to have fun. Controls whether the Easter egg game in Settings is disabled. */ + funDisabled?: boolean; + /** Whether the user is allowed to enable the "Unknown Sources" setting, which allows installation of apps from unknown sources. */ + installUnknownSourcesAllowed?: boolean; + /** Whether the keyguard is disabled. */ + keyguardDisabled?: boolean; + /** Maximum time in milliseconds for user activity until the device will lock. A value of 0 means there is no restriction. */ + maximumTimeToLock?: string; + /** Whether adding or removing accounts is disabled. */ + modifyAccountsDisabled?: boolean; + /** The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId} */ + name?: string; + /** + * Whether the network escape hatch is enabled. If a network connection can't be made at boot time, the escape hatch prompts the user to temporarily + * connect to a network in order to refresh the device policy. After applying policy, the temporary network will be forgotten and the device will continue + * booting. This prevents being unable to connect to a network if there is no suitable network in the last policy and the device boots into an app in lock + * task mode, or the user is otherwise unable to reach device settings. + */ + networkEscapeHatchEnabled?: boolean; + /** Network configuration for the device. See configure networks for more information. */ + openNetworkConfiguration?: Record<string, any>; + /** Password requirements. */ + passwordRequirements?: PasswordRequirements; + /** Default intent handler activities. */ + persistentPreferredActivities?: PersistentPreferredActivity[]; + /** Whether removing other users is disabled. */ + removeUserDisabled?: boolean; + /** Whether rebooting the device into safe boot is disabled. */ + safeBootDisabled?: boolean; + /** Whether screen capture is disabled. */ + screenCaptureDisabled?: boolean; + /** Whether the status bar is disabled. This disables notifications, quick settings and other screen overlays that allow escape from full-screen mode. */ + statusBarDisabled?: boolean; + /** Status reporting settings */ + statusReportingSettings?: StatusReportingSettings; + /** + * The battery plugged in modes for which the device stays on. When using this setting, it is recommended to clear maximum_time_to_lock so that the device + * doesn't lock itself while it stays on. + */ + stayOnPluggedModes?: string[]; + /** + * The system update policy, which controls how OS updates are applied. If the update type is WINDOWED and the device has a device account, the update + * window will automatically apply to Play app updates as well. + */ + systemUpdate?: SystemUpdate; + /** Whether the microphone is muted and adjusting microphone volume is disabled. */ + unmuteMicrophoneDisabled?: boolean; + /** The version of the policy. This is a read-only field. The version is incremented each time the policy is updated. */ + version?: string; + /** Whether configuring WiFi access points is disabled. */ + wifiConfigDisabled?: boolean; + /** Whether WiFi networks defined in Open Network Configuration are locked so they cannot be edited by the user. */ + wifiConfigsLockdownEnabled?: boolean; + } + interface PowerManagementEvent { + /** For BATTERY_LEVEL_COLLECTED events, the battery level as a percentage. */ + batteryLevel?: number; + /** The creation time of the event. */ + createTime?: string; + /** Event type. */ + eventType?: string; + } + interface SignupUrl { + /** The name of the resource. This must be included in the create enterprise request at the end of the signup flow. */ + name?: string; + /** A URL under which the Admin can sign up for an enterprise. The page pointed to cannot be rendered in an iframe. */ + url?: string; + } + interface SoftwareInfo { + /** Android build Id string meant for displaying to the user, e.g. shamu-userdebug 6.0.1 MOB30I 2756745 dev-keys. */ + androidBuildNumber?: string; + /** Build time. */ + androidBuildTime?: string; + /** The user visible Android version string, e.g. 6.0.1. */ + androidVersion?: string; + /** The system bootloader version number, e.g. 0.6.7. */ + bootloaderVersion?: string; + /** Kernel version, e.g. 2.6.32.9-g103d848. */ + deviceKernelVersion?: string; + /** Security patch level, e.g. 2016-05-01. */ + securityPatchLevel?: string; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface StatusReportingSettings { + /** Whether displays reporting is enabled. */ + displayInfoEnabled?: boolean; + /** Whether hardware status reporting is enabled. */ + hardwareStatusEnabled?: boolean; + /** Whether memory info reporting is enabled. */ + memoryInfoEnabled?: boolean; + /** Whether network info reporting is enabled. */ + networkInfoEnabled?: boolean; + /** Whether power management event reporting is enabled. */ + powerManagementEventsEnabled?: boolean; + /** Whether software info reporting is enabled. */ + softwareInfoEnabled?: boolean; + } + interface SystemUpdate { + /** + * If the type is WINDOWED, the end of the maintenance window, measured as the number of minutes after midnight in device local time. This value must be + * between 0 and 1439, inclusive. If this value is less than start_minutes, then the maintenance window spans midnight. If the maintenance window + * specified is smaller than 30 minutes, the actual window is extended to 30 minutes beyond the start time. + */ + endMinutes?: number; + /** + * If the type is WINDOWED, the start of the maintenance window, measured as the number of minutes after midnight in device local time. This value must be + * between 0 and 1439, inclusive. + */ + startMinutes?: number; + /** The type of system update to configure. */ + type?: string; + } + interface UserFacingMessage { + /** + * The default message that gets displayed if no localized message is specified, or the user's locale does not match with any of the localized messages. A + * default message must be provided if any localized messages are provided. + */ + defaultMessage?: string; + /** A map which contains <locale, message> pairs. The locale is a BCP 47 language code, e.g. en-US, es-ES, fr. */ + localizedMessages?: Record<string, string>; + } + interface WebToken { + /** The name of the web token, which is generated by the server during creation, in the form enterprises/{enterpriseId}/webTokens/{webTokenId}. */ + name?: string; + /** + * The URL of the parent frame hosting the iframe with the embedded UI. To prevent XSS, the iframe may not be hosted at other URLs. The URL must use the + * https scheme. + */ + parentFrameUrl?: string; + /** Permissions the admin may exercise in the embedded UI. The admin must have all of these permissions in order to view the UI. */ + permissions?: string[]; + /** The token value which is used in the hosting page to generate the iframe with the embedded UI. This is a read-only field generated by the server. */ + value?: string; + } + interface ApplicationsResource { + /** Gets info about an application. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The preferred language for localized application info, as a BCP47 tag (e.g. "en-US", "de"). If not specified the default language of the application + * will be used. + */ + languageCode?: string; + /** The name of the application in the form enterprises/{enterpriseId}/applications/{package_name} */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Application>; + } + interface OperationsResource { + /** + * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If + * the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check + * whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; + * instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED. + */ + cancel(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be cancelled. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be deleted. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API + * service. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name + * binding allows API services to override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API + * services can add a binding such as "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name + * includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection + * id. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The standard list filter. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation's parent resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The standard list page size. */ + pageSize?: number; + /** The standard list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListOperationsResponse>; + } + interface DevicesResource { + /** Deletes a device, which causes the device to be wiped. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId} */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets a device. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId} */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Device>; + /** + * Issues a command to a device. The Operation resource returned contains a Command in its metadata field. Use the get operation method to get the status + * of the command. + */ + issueCommand(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId} */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** Lists devices for a given enterprise. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The requested page size. The actual page size may be fixed to a min or max value. */ + pageSize?: number; + /** A token identifying a page of results the server should return. */ + pageToken?: string; + /** The name of the enterprise in the form enterprises/{enterpriseId} */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListDevicesResponse>; + /** Updates a device. */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId} */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The field mask indicating the fields to update. If not set, all modifiable fields will be modified. */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Device>; + operations: OperationsResource; + } + interface EnrollmentTokensResource { + /** Creates an enrollment token for a given enterprise. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The name of the enterprise in the form enterprises/{enterpriseId} */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<EnrollmentToken>; + /** Deletes an enrollment token, which prevents future use of the token. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the enrollment token in the form enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId} */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + } + interface PoliciesResource { + /** Deletes a policy. This operation is only permitted if no devices are currently referencing the policy. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId} */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets a policy. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId} */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** Lists policies for a given enterprise. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The requested page size. The actual page size may be fixed to a min or max value. */ + pageSize?: number; + /** A token identifying a page of results the server should return. */ + pageToken?: string; + /** The name of the enterprise in the form enterprises/{enterpriseId} */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListPoliciesResponse>; + /** Updates or creates a policy. */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId} */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The field mask indicating the fields to update. If not set, all modifiable fields will be modified. */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + } + interface WebTokensResource { + /** Creates a web token to access an embeddable managed Google Play web UI for a given enterprise. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The name of the enterprise in the form enterprises/{enterpriseId} */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<WebToken>; + } + interface EnterprisesResource { + /** Creates an enterprise by completing the enterprise signup flow. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The enterprise token appended to the callback URL. */ + enterpriseToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The id of the Google Cloud Platform project which will own the enterprise. */ + projectId?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The name of the SignupUrl used to sign up for the enterprise. */ + signupUrlName?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Enterprise>; + /** Gets an enterprise. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the enterprise in the form enterprises/{enterpriseId} */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Enterprise>; + /** Updates an enterprise. */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the enterprise in the form enterprises/{enterpriseId} */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The field mask indicating the fields to update. If not set, all modifiable fields will be modified. */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Enterprise>; + applications: ApplicationsResource; + devices: DevicesResource; + enrollmentTokens: EnrollmentTokensResource; + policies: PoliciesResource; + webTokens: WebTokensResource; + } + interface SignupUrlsResource { + /** Creates an enterprise signup URL. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The callback URL to which the admin will be redirected after successfully creating an enterprise. Before redirecting there the system will add a query + * parameter to this URL named enterpriseToken which will contain an opaque token to be used for the create enterprise request. The URL will be parsed + * then reformatted in order to add the enterpriseToken parameter, so there may be some minor formatting changes. + */ + callbackUrl?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The id of the Google Cloud Platform project which will own the enterprise. */ + projectId?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SignupUrl>; + } + } +} diff --git a/types/gapi.client.androidmanagement/readme.md b/types/gapi.client.androidmanagement/readme.md new file mode 100644 index 0000000000..e38e2b2653 --- /dev/null +++ b/types/gapi.client.androidmanagement/readme.md @@ -0,0 +1,74 @@ +# TypeScript typings for Android Management API v1 +The Android Management API provides remote enterprise management of Android devices and apps. +For detailed description please check [documentation](https://developers.google.com/android/management). + +## Installing + +Install typings for Android Management API: +``` +npm install @types/gapi.client.androidmanagement@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('androidmanagement', 'v1', () => { + // now we can use gapi.client.androidmanagement + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage Android devices and apps for your customers + 'https://www.googleapis.com/auth/androidmanagement', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Android Management API resources: + +```typescript + +/* +Creates an enterprise by completing the enterprise signup flow. +*/ +await gapi.client.enterprises.create({ }); + +/* +Gets an enterprise. +*/ +await gapi.client.enterprises.get({ name: "name", }); + +/* +Updates an enterprise. +*/ +await gapi.client.enterprises.patch({ name: "name", }); + +/* +Creates an enterprise signup URL. +*/ +await gapi.client.signupUrls.create({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.androidmanagement/tsconfig.json b/types/gapi.client.androidmanagement/tsconfig.json new file mode 100644 index 0000000000..3cfbad08e0 --- /dev/null +++ b/types/gapi.client.androidmanagement/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.androidmanagement-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.androidmanagement/tslint.json b/types/gapi.client.androidmanagement/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.androidmanagement/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.androidpublisher/gapi.client.androidpublisher-tests.ts b/types/gapi.client.androidpublisher/gapi.client.androidpublisher-tests.ts new file mode 100644 index 0000000000..6dfad512ac --- /dev/null +++ b/types/gapi.client.androidpublisher/gapi.client.androidpublisher-tests.ts @@ -0,0 +1,122 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('androidpublisher', 'v2', () => { + /** now we can use gapi.client.androidpublisher */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your Google Play Developer account */ + 'https://www.googleapis.com/auth/androidpublisher', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Commits/applies the changes made in this edit back to the app. */ + await gapi.client.edits.commit({ + editId: "editId", + packageName: "packageName", + }); + /** + * Deletes an edit for an app. Creating a new edit will automatically delete any of your previous edits so this method need only be called if you want to + * preemptively abandon an edit. + */ + await gapi.client.edits.delete({ + editId: "editId", + packageName: "packageName", + }); + /** Returns information about the edit specified. Calls will fail if the edit is no long active (e.g. has been deleted, superseded or expired). */ + await gapi.client.edits.get({ + editId: "editId", + packageName: "packageName", + }); + /** Creates a new edit for an app, populated with the app's current state. */ + await gapi.client.edits.insert({ + packageName: "packageName", + }); + /** Checks that the edit can be successfully committed. The edit's changes are not applied to the live app. */ + await gapi.client.edits.validate({ + editId: "editId", + packageName: "packageName", + }); + /** Lists the user's current inapp item or subscription entitlements */ + await gapi.client.entitlements.list({ + maxResults: 1, + packageName: "packageName", + productId: "productId", + startIndex: 4, + token: "token", + }); + await gapi.client.inappproducts.batch({ + }); + /** Delete an in-app product for an app. */ + await gapi.client.inappproducts.delete({ + packageName: "packageName", + sku: "sku", + }); + /** Returns information about the in-app product specified. */ + await gapi.client.inappproducts.get({ + packageName: "packageName", + sku: "sku", + }); + /** Creates a new in-app product for an app. */ + await gapi.client.inappproducts.insert({ + autoConvertMissingPrices: true, + packageName: "packageName", + }); + /** List all the in-app products for an Android app, both subscriptions and managed in-app products.. */ + await gapi.client.inappproducts.list({ + maxResults: 1, + packageName: "packageName", + startIndex: 3, + token: "token", + }); + /** Updates the details of an in-app product. This method supports patch semantics. */ + await gapi.client.inappproducts.patch({ + autoConvertMissingPrices: true, + packageName: "packageName", + sku: "sku", + }); + /** Updates the details of an in-app product. */ + await gapi.client.inappproducts.update({ + autoConvertMissingPrices: true, + packageName: "packageName", + sku: "sku", + }); + /** Returns a single review. */ + await gapi.client.reviews.get({ + packageName: "packageName", + reviewId: "reviewId", + translationLanguage: "translationLanguage", + }); + /** Returns a list of reviews. Only reviews from last week will be returned. */ + await gapi.client.reviews.list({ + maxResults: 1, + packageName: "packageName", + startIndex: 3, + token: "token", + translationLanguage: "translationLanguage", + }); + /** Reply to a single review, or update an existing reply. */ + await gapi.client.reviews.reply({ + packageName: "packageName", + reviewId: "reviewId", + }); + } +}); diff --git a/types/gapi.client.androidpublisher/index.d.ts b/types/gapi.client.androidpublisher/index.d.ts new file mode 100644 index 0000000000..beae0fb512 --- /dev/null +++ b/types/gapi.client.androidpublisher/index.d.ts @@ -0,0 +1,2062 @@ +// Type definitions for Google Google Play Developer API v2 2.0 +// Project: https://developers.google.com/android-publisher +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/androidpublisher/v2/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Play Developer API v2 */ + function load(name: "androidpublisher", version: "v2"): PromiseLike<void>; + function load(name: "androidpublisher", version: "v2", callback: () => any): void; + + const edits: androidpublisher.EditsResource; + + const entitlements: androidpublisher.EntitlementsResource; + + const inappproducts: androidpublisher.InappproductsResource; + + const purchases: androidpublisher.PurchasesResource; + + const reviews: androidpublisher.ReviewsResource; + + namespace androidpublisher { + interface Apk { + /** Information about the binary payload of this APK. */ + binary?: ApkBinary; + /** The version code of the APK, as specified in the APK's manifest file. */ + versionCode?: number; + } + interface ApkBinary { + /** A sha1 hash of the APK payload, encoded as a hex string and matching the output of the sha1sum command. */ + sha1?: string; + /** A sha256 hash of the APK payload, encoded as a hex string and matching the output of the sha256sum command. */ + sha256?: string; + } + interface ApkListing { + /** The language code, in BCP 47 format (eg "en-US"). */ + language?: string; + /** Describe what's new in your APK. */ + recentChanges?: string; + } + interface ApkListingsListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "androidpublisher#apkListingsListResponse". */ + kind?: string; + listings?: ApkListing[]; + } + interface ApksAddExternallyHostedRequest { + /** The definition of the externally-hosted APK and where it is located. */ + externallyHostedApk?: ExternallyHostedApk; + } + interface ApksAddExternallyHostedResponse { + /** The definition of the externally-hosted APK and where it is located. */ + externallyHostedApk?: ExternallyHostedApk; + } + interface ApksListResponse { + apks?: Apk[]; + /** Identifies what kind of resource this is. Value: the fixed string "androidpublisher#apksListResponse". */ + kind?: string; + } + interface AppDetails { + /** The user-visible support email for this app. */ + contactEmail?: string; + /** The user-visible support telephone number for this app. */ + contactPhone?: string; + /** The user-visible website for this app. */ + contactWebsite?: string; + /** Default language code, in BCP 47 format (eg "en-US"). */ + defaultLanguage?: string; + } + interface AppEdit { + /** The time at which the edit will expire and will be no longer valid for use in any subsequent API calls (encoded as seconds since the Epoch). */ + expiryTimeSeconds?: string; + /** The ID of the edit that can be used in subsequent API calls. */ + id?: string; + } + interface Comment { + /** A comment from a developer. */ + developerComment?: DeveloperComment; + /** A comment from a user. */ + userComment?: UserComment; + } + interface DeobfuscationFile { + /** The type of the deobfuscation file. */ + symbolType?: string; + } + interface DeobfuscationFilesUploadResponse { + deobfuscationFile?: DeobfuscationFile; + } + interface DeveloperComment { + /** The last time at which this comment was updated. */ + lastModified?: Timestamp; + /** The content of the comment, i.e. reply body. */ + text?: string; + } + interface DeviceMetadata { + /** Device CPU make e.g. "Qualcomm" */ + cpuMake?: string; + /** Device CPU model e.g. "MSM8974" */ + cpuModel?: string; + /** Device class (e.g. tablet) */ + deviceClass?: string; + /** OpenGL version */ + glEsVersion?: number; + /** Device manufacturer (e.g. Motorola) */ + manufacturer?: string; + /** Comma separated list of native platforms (e.g. "arm", "arm7") */ + nativePlatform?: string; + /** Device model name (e.g. Droid) */ + productName?: string; + /** Device RAM in Megabytes e.g. "2048" */ + ramMb?: number; + /** Screen density in DPI */ + screenDensityDpi?: number; + /** Screen height in pixels */ + screenHeightPx?: number; + /** Screen width in pixels */ + screenWidthPx?: number; + } + interface Entitlement { + /** This kind represents an entitlement object in the androidpublisher service. */ + kind?: string; + /** The SKU of the product. */ + productId?: string; + /** + * The type of the inapp product. Possible values are: + * - In-app item: "inapp" + * - Subscription: "subs" + */ + productType?: string; + /** The token which can be verified using the subscriptions or products API. */ + token?: string; + } + interface EntitlementsListResponse { + pageInfo?: PageInfo; + resources?: Entitlement[]; + tokenPagination?: TokenPagination; + } + interface ExpansionFile { + /** + * If set this field indicates that this APK has an Expansion File uploaded to it: this APK does not reference another APK's Expansion File. The field's + * value is the size of the uploaded Expansion File in bytes. + */ + fileSize?: string; + /** If set this APK's Expansion File references another APK's Expansion File. The file_size field will not be set. */ + referencesVersion?: number; + } + interface ExpansionFilesUploadResponse { + expansionFile?: ExpansionFile; + } + interface ExternallyHostedApk { + /** The application label. */ + applicationLabel?: string; + /** A certificate (or array of certificates if a certificate-chain is used) used to signed this APK, represented as a base64 encoded byte array. */ + certificateBase64s?: string[]; + /** The URL at which the APK is hosted. This must be an https URL. */ + externallyHostedUrl?: string; + /** The SHA1 checksum of this APK, represented as a base64 encoded byte array. */ + fileSha1Base64?: string; + /** The SHA256 checksum of this APK, represented as a base64 encoded byte array. */ + fileSha256Base64?: string; + /** The file size in bytes of this APK. */ + fileSize?: string; + /** The icon image from the APK, as a base64 encoded byte array. */ + iconBase64?: string; + /** The maximum SDK supported by this APK (optional). */ + maximumSdk?: number; + /** The minimum SDK targeted by this APK. */ + minimumSdk?: number; + /** The native code environments supported by this APK (optional). */ + nativeCodes?: string[]; + /** The package name. */ + packageName?: string; + /** The features required by this APK (optional). */ + usesFeatures?: string[]; + /** The permissions requested by this APK. */ + usesPermissions?: ExternallyHostedApkUsesPermission[]; + /** The version code of this APK. */ + versionCode?: number; + /** The version name of this APK. */ + versionName?: string; + } + interface ExternallyHostedApkUsesPermission { + /** Optionally, the maximum SDK version for which the permission is required. */ + maxSdkVersion?: number; + /** The name of the permission requested. */ + name?: string; + } + interface Image { + /** A unique id representing this image. */ + id?: string; + /** A sha1 hash of the image that was uploaded. */ + sha1?: string; + /** A URL that will serve a preview of the image. */ + url?: string; + } + interface ImagesDeleteAllResponse { + deleted?: Image[]; + } + interface ImagesListResponse { + images?: Image[]; + } + interface ImagesUploadResponse { + image?: Image; + } + interface InAppProduct { + /** The default language of the localized data, as defined by BCP 47. e.g. "en-US", "en-GB". */ + defaultLanguage?: string; + /** Default price cannot be zero. In-app products can never be free. Default price is always in the developer's Checkout merchant currency. */ + defaultPrice?: Price; + /** List of localized title and description data. */ + listings?: Record<string, InAppProductListing>; + /** The package name of the parent app. */ + packageName?: string; + /** Prices per buyer region. None of these prices should be zero. In-app products can never be free. */ + prices?: Record<string, Price>; + /** Purchase type enum value. Unmodifiable after creation. */ + purchaseType?: string; + /** Definition of a season for a seasonal subscription. Can be defined only for yearly subscriptions. */ + season?: Season; + /** The stock-keeping-unit (SKU) of the product, unique within an app. */ + sku?: string; + status?: string; + /** + * Subscription period, specified in ISO 8601 format. Acceptable values are "P1W" (one week), "P1M" (one month), "P3M" (three months), "P6M" (six months), + * and "P1Y" (one year). + */ + subscriptionPeriod?: string; + /** + * Trial period, specified in ISO 8601 format. Acceptable values are anything between "P7D" (seven days) and "P999D" (999 days). Seasonal subscriptions + * cannot have a trial period. + */ + trialPeriod?: string; + } + interface InAppProductListing { + description?: string; + title?: string; + } + interface InappproductsBatchRequest { + entrys?: InappproductsBatchRequestEntry[]; + } + interface InappproductsBatchRequestEntry { + batchId?: number; + inappproductsinsertrequest?: InappproductsInsertRequest; + inappproductsupdaterequest?: InappproductsUpdateRequest; + methodName?: string; + } + interface InappproductsBatchResponse { + entrys?: InappproductsBatchResponseEntry[]; + /** Identifies what kind of resource this is. Value: the fixed string "androidpublisher#inappproductsBatchResponse". */ + kind?: string; + } + interface InappproductsBatchResponseEntry { + batchId?: number; + inappproductsinsertresponse?: InappproductsInsertResponse; + inappproductsupdateresponse?: InappproductsUpdateResponse; + } + interface InappproductsInsertRequest { + inappproduct?: InAppProduct; + } + interface InappproductsInsertResponse { + inappproduct?: InAppProduct; + } + interface InappproductsListResponse { + inappproduct?: InAppProduct[]; + /** Identifies what kind of resource this is. Value: the fixed string "androidpublisher#inappproductsListResponse". */ + kind?: string; + pageInfo?: PageInfo; + tokenPagination?: TokenPagination; + } + interface InappproductsUpdateRequest { + inappproduct?: InAppProduct; + } + interface InappproductsUpdateResponse { + inappproduct?: InAppProduct; + } + interface Listing { + /** Full description of the app; this may be up to 4000 characters in length. */ + fullDescription?: string; + /** Language localization code (for example, "de-AT" for Austrian German). */ + language?: string; + /** Short description of the app (previously known as promo text); this may be up to 80 characters in length. */ + shortDescription?: string; + /** App's localized title. */ + title?: string; + /** URL of a promotional YouTube video for the app. */ + video?: string; + } + interface ListingsListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "androidpublisher#listingsListResponse". */ + kind?: string; + listings?: Listing[]; + } + interface MonthDay { + /** Day of a month, value in [1, 31] range. Valid range depends on the specified month. */ + day?: number; + /** Month of a year. e.g. 1 = JAN, 2 = FEB etc. */ + month?: number; + } + interface PageInfo { + resultPerPage?: number; + startIndex?: number; + totalResults?: number; + } + interface Price { + /** 3 letter Currency code, as defined by ISO 4217. */ + currency?: string; + /** The price in millionths of the currency base unit represented as a string. */ + priceMicros?: string; + } + interface ProductPurchase { + /** + * The consumption state of the inapp product. Possible values are: + * - Yet to be consumed + * - Consumed + */ + consumptionState?: number; + /** A developer-specified string that contains supplemental information about an order. */ + developerPayload?: string; + /** This kind represents an inappPurchase object in the androidpublisher service. */ + kind?: string; + /** The order id associated with the purchase of the inapp product. */ + orderId?: string; + /** + * The purchase state of the order. Possible values are: + * - Purchased + * - Cancelled + */ + purchaseState?: number; + /** The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970). */ + purchaseTimeMillis?: string; + } + interface Prorate { + /** + * Default price cannot be zero and must be less than the full subscription price. Default price is always in the developer's Checkout merchant currency. + * Targeted countries have their prices set automatically based on the default_price. + */ + defaultPrice?: Price; + /** Defines the first day on which the price takes effect. */ + start?: MonthDay; + } + interface Review { + /** The name of the user who wrote the review. */ + authorName?: string; + /** A repeated field containing comments for the review. */ + comments?: Comment[]; + /** Unique identifier for this review. */ + reviewId?: string; + } + interface ReviewReplyResult { + /** The time at which the reply took effect. */ + lastEdited?: Timestamp; + /** The reply text that was applied. */ + replyText?: string; + } + interface ReviewsListResponse { + pageInfo?: PageInfo; + reviews?: Review[]; + tokenPagination?: TokenPagination; + } + interface ReviewsReplyRequest { + /** The text to set as the reply. Replies of more than approximately 350 characters will be rejected. HTML tags will be stripped. */ + replyText?: string; + } + interface ReviewsReplyResponse { + result?: ReviewReplyResult; + } + interface Season { + /** Inclusive end date of the recurrence period. */ + end?: MonthDay; + /** + * Optionally present list of prorations for the season. Each proration is a one-off discounted entry into a subscription. Each proration contains the + * first date on which the discount is available and the new pricing information. + */ + prorations?: Prorate[]; + /** Inclusive start date of the recurrence period. */ + start?: MonthDay; + } + interface SubscriptionDeferralInfo { + /** + * The desired next expiry time to assign to the subscription, in milliseconds since the Epoch. The given time must be later/greater than the current + * expiry time for the subscription. + */ + desiredExpiryTimeMillis?: string; + /** + * The expected expiry time for the subscription. If the current expiry time for the subscription is not the value specified here, the deferral will not + * occur. + */ + expectedExpiryTimeMillis?: string; + } + interface SubscriptionPurchase { + /** Whether the subscription will automatically be renewed when it reaches its current expiry time. */ + autoRenewing?: boolean; + /** + * The reason why a subscription was cancelled or is not auto-renewing. Possible values are: + * - User cancelled the subscription + * - Subscription was cancelled by the system, for example because of a billing problem + * - Subscription was replaced with a new subscription + */ + cancelReason?: number; + /** ISO 3166-1 alpha-2 billing country/region code of the user at the time the subscription was granted. */ + countryCode?: string; + /** A developer-specified string that contains supplemental information about an order. */ + developerPayload?: string; + /** Time at which the subscription will expire, in milliseconds since the Epoch. */ + expiryTimeMillis?: string; + /** This kind represents a subscriptionPurchase object in the androidpublisher service. */ + kind?: string; + /** The order id of the latest recurring order associated with the purchase of the subscription. */ + orderId?: string; + /** + * The payment state of the subscription. Possible values are: + * - Payment pending + * - Payment received + * - Free trial + */ + paymentState?: number; + /** + * Price of the subscription, not including tax. Price is expressed in micro-units, where 1,000,000 micro-units represents one unit of the currency. For + * example, if the subscription price is €1.99, price_amount_micros is 1990000. + */ + priceAmountMicros?: string; + /** ISO 4217 currency code for the subscription price. For example, if the price is specified in British pounds sterling, price_currency_code is "GBP". */ + priceCurrencyCode?: string; + /** Time at which the subscription was granted, in milliseconds since the Epoch. */ + startTimeMillis?: string; + /** The time at which the subscription was canceled by the user, in milliseconds since the epoch. Only present if cancelReason is 0. */ + userCancellationTimeMillis?: string; + } + interface SubscriptionPurchasesDeferRequest { + /** The information about the new desired expiry time for the subscription. */ + deferralInfo?: SubscriptionDeferralInfo; + } + interface SubscriptionPurchasesDeferResponse { + /** The new expiry time for the subscription in milliseconds since the Epoch. */ + newExpiryTimeMillis?: string; + } + interface Testers { + googleGroups?: string[]; + googlePlusCommunities?: string[]; + } + interface Timestamp { + nanos?: number; + seconds?: string; + } + interface TokenPagination { + nextPageToken?: string; + previousPageToken?: string; + } + interface Track { + track?: string; + userFraction?: number; + versionCodes?: number[]; + } + interface TracksListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "androidpublisher#tracksListResponse". */ + kind?: string; + tracks?: Track[]; + } + interface UserComment { + /** Integer Android SDK version of the user's device at the time the review was written, e.g. 23 is Marshmallow. May be absent. */ + androidOsVersion?: number; + /** Integer version code of the app as installed at the time the review was written. May be absent. */ + appVersionCode?: number; + /** String version name of the app as installed at the time the review was written. May be absent. */ + appVersionName?: string; + /** Codename for the reviewer's device, e.g. klte, flounder. May be absent. */ + device?: string; + /** Some information about the characteristics of the user's device */ + deviceMetadata?: DeviceMetadata; + /** The last time at which this comment was updated. */ + lastModified?: Timestamp; + /** Untranslated text of the review, in the case where the review has been translated. If the review has not been translated this is left blank. */ + originalText?: string; + /** + * Language code for the reviewer. This is taken from the device settings so is not guaranteed to match the language the review is written in. May be + * absent. + */ + reviewerLanguage?: string; + /** The star rating associated with the review, from 1 to 5. */ + starRating?: number; + /** + * The content of the comment, i.e. review body. In some cases users have been able to write a review with separate title and body; in those cases the + * title and body are concatenated and separated by a tab character. + */ + text?: string; + /** Number of users who have given this review a thumbs down */ + thumbsDownCount?: number; + /** Number of users who have given this review a thumbs up */ + thumbsUpCount?: number; + } + interface VoidedPurchase { + /** This kind represents a voided purchase object in the androidpublisher service. */ + kind?: string; + /** The time at which the purchase was made, in milliseconds since the epoch (Jan 1, 1970). */ + purchaseTimeMillis?: string; + /** The token that was generated when a purchase was made. This uniquely identifies a purchase. */ + purchaseToken?: string; + /** The time at which the purchase was cancelled/refunded/charged-back, in milliseconds since the epoch (Jan 1, 1970). */ + voidedTimeMillis?: string; + } + interface VoidedPurchasesListResponse { + pageInfo?: PageInfo; + tokenPagination?: TokenPagination; + voidedPurchases?: VoidedPurchase[]; + } + interface ApklistingsResource { + /** Deletes the APK-specific localized listing for a specified APK and language code. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The APK version code whose APK-specific listings should be read or modified. */ + apkVersionCode: number; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The language code (a BCP-47 language tag) of the APK-specific localized listing to read or modify. For example, to select Austrian German, pass + * "de-AT". + */ + language: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Deletes all the APK-specific localized listings for a specified APK. */ + deleteall(request: { + /** Data format for the response. */ + alt?: string; + /** The APK version code whose APK-specific listings should be read or modified. */ + apkVersionCode: number; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Fetches the APK-specific localized listing for a specified APK and language code. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The APK version code whose APK-specific listings should be read or modified. */ + apkVersionCode: number; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The language code (a BCP-47 language tag) of the APK-specific localized listing to read or modify. For example, to select Austrian German, pass + * "de-AT". + */ + language: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ApkListing>; + /** Lists all the APK-specific localized listings for a specified APK. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The APK version code whose APK-specific listings should be read or modified. */ + apkVersionCode: number; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ApkListingsListResponse>; + /** Updates or creates the APK-specific localized listing for a specified APK and language code. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** The APK version code whose APK-specific listings should be read or modified. */ + apkVersionCode: number; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The language code (a BCP-47 language tag) of the APK-specific localized listing to read or modify. For example, to select Austrian German, pass + * "de-AT". + */ + language: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ApkListing>; + /** Updates or creates the APK-specific localized listing for a specified APK and language code. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** The APK version code whose APK-specific listings should be read or modified. */ + apkVersionCode: number; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The language code (a BCP-47 language tag) of the APK-specific localized listing to read or modify. For example, to select Austrian German, pass + * "de-AT". + */ + language: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ApkListing>; + } + interface ApksResource { + /** + * Creates a new APK without uploading the APK itself to Google Play, instead hosting the APK at a specified URL. This function is only available to + * enterprises using Google Play for Work whose application is configured to restrict distribution to the enterprise domain. + */ + addexternallyhosted(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ApksAddExternallyHostedResponse>; + list(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ApksListResponse>; + upload(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Apk>; + } + interface DeobfuscationfilesResource { + /** Uploads the deobfuscation file of the specified APK. If a deobfuscation file already exists, it will be replaced. */ + upload(request: { + /** Data format for the response. */ + alt?: string; + /** The version code of the APK whose deobfuscation file is being uploaded. */ + apkVersionCode: number; + deobfuscationFileType: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier of the Android app for which the deobfuscatiuon files are being uploaded; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DeobfuscationFilesUploadResponse>; + } + interface DetailsResource { + /** Fetches app details for this edit. This includes the default language and developer support contact information. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AppDetails>; + /** Updates app details for this edit. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AppDetails>; + /** Updates app details for this edit. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AppDetails>; + } + interface ExpansionfilesResource { + /** Fetches the Expansion File configuration for the APK specified. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The version code of the APK whose Expansion File configuration is being read or modified. */ + apkVersionCode: number; + /** Unique identifier for this edit. */ + editId: string; + expansionFileType: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ExpansionFile>; + /** + * Updates the APK's Expansion File configuration to reference another APK's Expansion Files. To add a new Expansion File use the Upload method. This + * method supports patch semantics. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** The version code of the APK whose Expansion File configuration is being read or modified. */ + apkVersionCode: number; + /** Unique identifier for this edit. */ + editId: string; + expansionFileType: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ExpansionFile>; + /** Updates the APK's Expansion File configuration to reference another APK's Expansion Files. To add a new Expansion File use the Upload method. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** The version code of the APK whose Expansion File configuration is being read or modified. */ + apkVersionCode: number; + /** Unique identifier for this edit. */ + editId: string; + expansionFileType: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ExpansionFile>; + /** Uploads and attaches a new Expansion File to the APK specified. */ + upload(request: { + /** Data format for the response. */ + alt?: string; + /** The version code of the APK whose Expansion File configuration is being read or modified. */ + apkVersionCode: number; + /** Unique identifier for this edit. */ + editId: string; + expansionFileType: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ExpansionFilesUploadResponse>; + } + interface ImagesResource { + /** Deletes the image (specified by id) from the edit. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Unique identifier an image within the set of images attached to this edit. */ + imageId: string; + imageType: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass + * "de-AT". + */ + language: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Deletes all images for the specified language and image type. */ + deleteall(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + imageType: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass + * "de-AT". + */ + language: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ImagesDeleteAllResponse>; + /** Lists all images for the specified language and image type. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + imageType: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass + * "de-AT". + */ + language: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ImagesListResponse>; + /** Uploads a new image and adds it to the list of images for the specified language and image type. */ + upload(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + imageType: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass + * "de-AT". + */ + language: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ImagesUploadResponse>; + } + interface ListingsResource { + /** Deletes the specified localized store listing from an edit. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass "de-AT". */ + language: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Deletes all localized listings from an edit. */ + deleteall(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Fetches information about a localized store listing. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass "de-AT". */ + language: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Listing>; + /** Returns all of the localized store listings attached to this edit. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListingsListResponse>; + /** Creates or updates a localized store listing. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass "de-AT". */ + language: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Listing>; + /** Creates or updates a localized store listing. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass "de-AT". */ + language: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Listing>; + } + interface TestersResource { + get(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + track: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Testers>; + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + track: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Testers>; + update(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + track: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Testers>; + } + interface TracksResource { + /** Fetches the track configuration for the specified track type. Includes the APK version codes that are in this track. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The track type to read or modify. */ + track: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Track>; + /** Lists all the track configurations for this edit. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TracksListResponse>; + /** + * Updates the track configuration for the specified track type. When halted, the rollout track cannot be updated without adding new APKs, and adding new + * APKs will cause it to resume. This method supports patch semantics. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The track type to read or modify. */ + track: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Track>; + /** + * Updates the track configuration for the specified track type. When halted, the rollout track cannot be updated without adding new APKs, and adding new + * APKs will cause it to resume. + */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The track type to read or modify. */ + track: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Track>; + } + interface EditsResource { + /** Commits/applies the changes made in this edit back to the app. */ + commit(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AppEdit>; + /** + * Deletes an edit for an app. Creating a new edit will automatically delete any of your previous edits so this method need only be called if you want to + * preemptively abandon an edit. + */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Returns information about the edit specified. Calls will fail if the edit is no long active (e.g. has been deleted, superseded or expired). */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AppEdit>; + /** Creates a new edit for an app, populated with the app's current state. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AppEdit>; + /** Checks that the edit can be successfully committed. The edit's changes are not applied to the live app. */ + validate(request: { + /** Data format for the response. */ + alt?: string; + /** Unique identifier for this edit. */ + editId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app that is being updated; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AppEdit>; + apklistings: ApklistingsResource; + apks: ApksResource; + deobfuscationfiles: DeobfuscationfilesResource; + details: DetailsResource; + expansionfiles: ExpansionfilesResource; + images: ImagesResource; + listings: ListingsResource; + testers: TestersResource; + tracks: TracksResource; + } + interface EntitlementsResource { + /** Lists the user's current inapp item or subscription entitlements */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The package name of the application the inapp product was sold in (for example, 'com.some.thing'). */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The product id of the inapp product (for example, 'sku1'). This can be used to restrict the result set. */ + productId?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + startIndex?: number; + token?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<EntitlementsListResponse>; + } + interface InappproductsResource { + batch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<InappproductsBatchResponse>; + /** Delete an in-app product for an app. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app with the in-app product; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Unique identifier for the in-app product. */ + sku: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Returns information about the in-app product specified. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Unique identifier for the in-app product. */ + sku: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<InAppProduct>; + /** Creates a new in-app product for an app. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** + * If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the + * target currency based on the default price. Defaults to false. + */ + autoConvertMissingPrices?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<InAppProduct>; + /** List all the in-app products for an Android app, both subscriptions and managed in-app products.. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app with in-app products; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + startIndex?: number; + token?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<InappproductsListResponse>; + /** Updates the details of an in-app product. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** + * If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the + * target currency based on the default price. Defaults to false. + */ + autoConvertMissingPrices?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app with the in-app product; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Unique identifier for the in-app product. */ + sku: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<InAppProduct>; + /** Updates the details of an in-app product. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** + * If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the + * target currency based on the default price. Defaults to false. + */ + autoConvertMissingPrices?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app with the in-app product; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Unique identifier for the in-app product. */ + sku: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<InAppProduct>; + } + interface ProductsResource { + /** Checks the purchase and consumption status of an inapp item. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The package name of the application the inapp product was sold in (for example, 'com.some.thing'). */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The inapp product SKU (for example, 'com.some.thing.inapp1'). */ + productId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The token provided to the user's device when the inapp product was purchased. */ + token: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ProductPurchase>; + } + interface SubscriptionsResource { + /** Cancels a user's subscription purchase. The subscription remains valid until its expiration time. */ + cancel(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The purchased subscription ID (for example, 'monthly001'). */ + subscriptionId: string; + /** The token provided to the user's device when the subscription was purchased. */ + token: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Defers a user's subscription purchase until a specified future expiration time. */ + defer(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The purchased subscription ID (for example, 'monthly001'). */ + subscriptionId: string; + /** The token provided to the user's device when the subscription was purchased. */ + token: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SubscriptionPurchasesDeferResponse>; + /** Checks whether a user's subscription purchase is valid and returns its expiry time. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The purchased subscription ID (for example, 'monthly001'). */ + subscriptionId: string; + /** The token provided to the user's device when the subscription was purchased. */ + token: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SubscriptionPurchase>; + /** Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur. */ + refund(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The purchased subscription ID (for example, 'monthly001'). */ + subscriptionId: string; + /** The token provided to the user's device when the subscription was purchased. */ + token: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring. */ + revoke(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The purchased subscription ID (for example, 'monthly001'). */ + subscriptionId: string; + /** The token provided to the user's device when the subscription was purchased. */ + token: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface VoidedpurchasesResource { + /** Lists the purchases that were cancelled, refunded or charged-back. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** + * The time, in milliseconds since the Epoch, of the newest voided in-app product purchase that you want to see in the response. The value of this + * parameter cannot be greater than the current time and is ignored if a pagination token is set. Default value is current time. Note: This filter is + * applied on the time at which the record is seen as voided by our systems and not the actual voided time returned in the response. + */ + endTime?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The package name of the application for which voided purchases need to be returned (for example, 'com.some.thing'). */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + startIndex?: number; + /** + * The time, in milliseconds since the Epoch, of the oldest voided in-app product purchase that you want to see in the response. The value of this + * parameter cannot be older than 30 days and is ignored if a pagination token is set. Default value is current time minus 30 days. Note: This filter is + * applied on the time at which the record is seen as voided by our systems and not the actual voided time returned in the response. + */ + startTime?: string; + token?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<VoidedPurchasesListResponse>; + } + interface PurchasesResource { + products: ProductsResource; + subscriptions: SubscriptionsResource; + voidedpurchases: VoidedpurchasesResource; + } + interface ReviewsResource { + /** Returns a single review. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app for which we want reviews; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + reviewId: string; + translationLanguage?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Review>; + /** Returns a list of reviews. Only reviews from last week will be returned. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app for which we want reviews; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + startIndex?: number; + token?: string; + translationLanguage?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ReviewsListResponse>; + /** Reply to a single review, or update an existing reply. */ + reply(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Unique identifier for the Android app for which we want reviews; for example, "com.spiffygame". */ + packageName: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + reviewId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ReviewsReplyResponse>; + } + } +} diff --git a/types/gapi.client.androidpublisher/readme.md b/types/gapi.client.androidpublisher/readme.md new file mode 100644 index 0000000000..a4bbff05c0 --- /dev/null +++ b/types/gapi.client.androidpublisher/readme.md @@ -0,0 +1,134 @@ +# TypeScript typings for Google Play Developer API v2 +Lets Android application developers access their Google Play accounts. +For detailed description please check [documentation](https://developers.google.com/android-publisher). + +## Installing + +Install typings for Google Play Developer API: +``` +npm install @types/gapi.client.androidpublisher@v2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('androidpublisher', 'v2', () => { + // now we can use gapi.client.androidpublisher + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your Google Play Developer account + 'https://www.googleapis.com/auth/androidpublisher', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Play Developer API resources: + +```typescript + +/* +Commits/applies the changes made in this edit back to the app. +*/ +await gapi.client.edits.commit({ editId: "editId", packageName: "packageName", }); + +/* +Deletes an edit for an app. Creating a new edit will automatically delete any of your previous edits so this method need only be called if you want to preemptively abandon an edit. +*/ +await gapi.client.edits.delete({ editId: "editId", packageName: "packageName", }); + +/* +Returns information about the edit specified. Calls will fail if the edit is no long active (e.g. has been deleted, superseded or expired). +*/ +await gapi.client.edits.get({ editId: "editId", packageName: "packageName", }); + +/* +Creates a new edit for an app, populated with the app's current state. +*/ +await gapi.client.edits.insert({ packageName: "packageName", }); + +/* +Checks that the edit can be successfully committed. The edit's changes are not applied to the live app. +*/ +await gapi.client.edits.validate({ editId: "editId", packageName: "packageName", }); + +/* +Lists the user's current inapp item or subscription entitlements +*/ +await gapi.client.entitlements.list({ packageName: "packageName", }); + +/* +undefined +*/ +await gapi.client.inappproducts.batch({ }); + +/* +Delete an in-app product for an app. +*/ +await gapi.client.inappproducts.delete({ packageName: "packageName", sku: "sku", }); + +/* +Returns information about the in-app product specified. +*/ +await gapi.client.inappproducts.get({ packageName: "packageName", sku: "sku", }); + +/* +Creates a new in-app product for an app. +*/ +await gapi.client.inappproducts.insert({ packageName: "packageName", }); + +/* +List all the in-app products for an Android app, both subscriptions and managed in-app products.. +*/ +await gapi.client.inappproducts.list({ packageName: "packageName", }); + +/* +Updates the details of an in-app product. This method supports patch semantics. +*/ +await gapi.client.inappproducts.patch({ packageName: "packageName", sku: "sku", }); + +/* +Updates the details of an in-app product. +*/ +await gapi.client.inappproducts.update({ packageName: "packageName", sku: "sku", }); + +/* +Returns a single review. +*/ +await gapi.client.reviews.get({ packageName: "packageName", reviewId: "reviewId", }); + +/* +Returns a list of reviews. Only reviews from last week will be returned. +*/ +await gapi.client.reviews.list({ packageName: "packageName", }); + +/* +Reply to a single review, or update an existing reply. +*/ +await gapi.client.reviews.reply({ packageName: "packageName", reviewId: "reviewId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.androidpublisher/tsconfig.json b/types/gapi.client.androidpublisher/tsconfig.json new file mode 100644 index 0000000000..6f724fe172 --- /dev/null +++ b/types/gapi.client.androidpublisher/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.androidpublisher-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.androidpublisher/tslint.json b/types/gapi.client.androidpublisher/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.androidpublisher/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.appengine/gapi.client.appengine-tests.ts b/types/gapi.client.appengine/gapi.client.appengine-tests.ts new file mode 100644 index 0000000000..221a648770 --- /dev/null +++ b/types/gapi.client.appengine/gapi.client.appengine-tests.ts @@ -0,0 +1,64 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('appengine', 'v1', () => { + /** now we can use gapi.client.appengine */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your applications deployed on Google App Engine */ + 'https://www.googleapis.com/auth/appengine.admin', + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform.read-only', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Creates an App Engine application for a Google Cloud Platform project. Required fields: + * id - The ID of the target Cloud Platform project. + * location - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about + * App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/python/console/). + */ + await gapi.client.apps.create({ + }); + /** Gets information about an application. */ + await gapi.client.apps.get({ + appsId: "appsId", + }); + /** + * Updates the specified Application resource. You can update the following fields: + * auth_domain - Google authentication domain for controlling user access to the application. + * default_cookie_expiration - Cookie expiration policy for the application. + */ + await gapi.client.apps.patch({ + appsId: "appsId", + updateMask: "updateMask", + }); + /** + * Recreates the required App Engine features for the specified App Engine application, for example a Cloud Storage bucket or App Engine service account. + * Use this method if you receive an error message about a missing feature, for example, Error retrieving the App Engine service account. + */ + await gapi.client.apps.repair({ + appsId: "appsId", + }); + } +}); diff --git a/types/gapi.client.appengine/index.d.ts b/types/gapi.client.appengine/index.d.ts new file mode 100644 index 0000000000..2b97368fb5 --- /dev/null +++ b/types/gapi.client.appengine/index.d.ts @@ -0,0 +1,2263 @@ +// Type definitions for Google Google App Engine Admin API v1 1.0 +// Project: https://cloud.google.com/appengine/docs/admin-api/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://appengine.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google App Engine Admin API v1 */ + function load(name: "appengine", version: "v1"): PromiseLike<void>; + function load(name: "appengine", version: "v1", callback: () => any): void; + + const apps: appengine.AppsResource; + + namespace appengine { + interface ApiConfigHandler { + /** Action to take when users access resources that require authentication. Defaults to redirect. */ + authFailAction?: string; + /** Level of login required to access this resource. Defaults to optional. */ + login?: string; + /** Path to the script from the application root directory. */ + script?: string; + /** Security (HTTPS) enforcement for this URL. */ + securityLevel?: string; + /** URL to serve the endpoint at. */ + url?: string; + } + interface ApiEndpointHandler { + /** Path to the script from the application root directory. */ + scriptPath?: string; + } + interface Application { + /** Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account. */ + authDomain?: string; + /** + * Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated with the application and can + * be used by the gcloud deployment commands.@OutputOnly + */ + codeBucket?: string; + /** Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly */ + defaultBucket?: string; + /** Cookie expiration policy for this application. */ + defaultCookieExpiration?: string; + /** Hostname used to reach this application, as resolved by App Engine.@OutputOnly */ + defaultHostname?: string; + /** + * HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent. Up to 20 + * dispatch rules can be supported.@OutputOnly + */ + dispatchRules?: UrlDispatchRule[]; + /** The feature specific settings to be used in the application. */ + featureSettings?: FeatureSettings; + /** The Google Container Registry domain used for storing managed build docker images for this application. */ + gcrDomain?: string; + iap?: IdentityAwareProxy; + /** + * Identifier of the Application resource. This identifier is equivalent to the project ID of the Google Cloud Platform project where you want to deploy + * your application. Example: myapp. + */ + id?: string; + /** + * Location from which this application will be run. Application instances will run out of data centers in the chosen location, which is also where all of + * the application's end user content is stored.Defaults to us-central.Options are:us-central - Central USeurope-west - Western Europeus-east1 - Eastern + * US + */ + locationId?: string; + /** Full path to the Application resource in the API. Example: apps/myapp.@OutputOnly */ + name?: string; + /** Serving status of this application. */ + servingStatus?: string; + } + interface AuthorizedCertificate { + /** The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority. */ + certificateRawData?: CertificateRawData; + /** The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate. */ + displayName?: string; + /** + * Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not + * have VIEWER permissions.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.@OutputOnly + */ + domainMappingsCount?: number; + /** Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.@OutputOnly */ + domainNames?: string[]; + /** + * The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time + * using AuthorizedCertificates.UpdateAuthorizedCertificate.@OutputOnly + */ + expireTime?: string; + /** Relative name of the certificate. This is a unique value autogenerated on AuthorizedCertificate resource creation. Example: 12345.@OutputOnly */ + id?: string; + /** Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.@OutputOnly */ + name?: string; + /** + * The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not + * represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate + * mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE + * option.@OutputOnly + */ + visibleDomainMappings?: string[]; + } + interface AuthorizedDomain { + /** Fully qualified domain name of the domain authorized for use. Example: example.com. */ + id?: string; + /** Full path to the AuthorizedDomain resource in the API. Example: apps/myapp/authorizedDomains/example.com.@OutputOnly */ + name?: string; + } + interface AutomaticScaling { + /** + * Amount of time that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait between changes to the number of virtual machines. + * Only applicable for VM runtimes. + */ + coolDownPeriod?: string; + /** Target scaling by CPU usage. */ + cpuUtilization?: CpuUtilization; + /** Target scaling by disk usage. */ + diskUtilization?: DiskUtilization; + /** Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value. */ + maxConcurrentRequests?: number; + /** Maximum number of idle instances that should be maintained for this version. */ + maxIdleInstances?: number; + /** Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it. */ + maxPendingLatency?: string; + /** Maximum number of instances that should be started to handle requests. */ + maxTotalInstances?: number; + /** Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service. */ + minIdleInstances?: number; + /** Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it. */ + minPendingLatency?: string; + /** Minimum number of instances that should be maintained for this version. */ + minTotalInstances?: number; + /** Target scaling by network usage. */ + networkUtilization?: NetworkUtilization; + /** Target scaling by request utilization. */ + requestUtilization?: RequestUtilization; + } + interface BasicScaling { + /** Duration of time after the last request that an instance must wait before the instance is shut down. */ + idleTimeout?: string; + /** Maximum number of instances to create for this version. */ + maxInstances?: number; + } + interface BatchUpdateIngressRulesRequest { + /** A list of FirewallRules to replace the existing set. */ + ingressRules?: FirewallRule[]; + } + interface BatchUpdateIngressRulesResponse { + /** The full list of ingress FirewallRules for this application. */ + ingressRules?: FirewallRule[]; + } + interface CertificateRawData { + /** + * Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. + * Must include the header and footer. Example: <pre> -----BEGIN RSA PRIVATE KEY----- <unencrypted_key_value> -----END RSA PRIVATE KEY----- </pre> + * @InputOnly + */ + privateKey?: string; + /** + * PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: <pre> -----BEGIN + * CERTIFICATE----- <certificate_value> -----END CERTIFICATE----- </pre> + */ + publicCertificate?: string; + } + interface ContainerInfo { + /** + * URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: + * "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest" + */ + image?: string; + } + interface CpuUtilization { + /** Period of time over which CPU utilization is calculated. */ + aggregationWindowLength?: string; + /** Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1. */ + targetUtilization?: number; + } + interface DebugInstanceRequest { + /** + * Public SSH key to add to the instance. Examples: + * [USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME] + * [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}For more information, see Adding and Removing SSH Keys + * (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys). + */ + sshKey?: string; + } + interface Deployment { + /** The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment. */ + container?: ContainerInfo; + /** + * Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials + * supplied with this call. + */ + files?: Record<string, FileInfo>; + /** The zip file for this deployment, if this is a zip deployment. */ + zip?: ZipInfo; + } + interface DiskUtilization { + /** Target bytes read per second. */ + targetReadBytesPerSecond?: number; + /** Target ops read per seconds. */ + targetReadOpsPerSecond?: number; + /** Target bytes written per second. */ + targetWriteBytesPerSecond?: number; + /** Target ops written per second. */ + targetWriteOpsPerSecond?: number; + } + interface DomainMapping { + /** Relative name of the domain serving the application. Example: example.com. */ + id?: string; + /** Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.@OutputOnly */ + name?: string; + /** + * The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the + * application via this domain mapping.@OutputOnly + */ + resourceRecords?: ResourceRecord[]; + /** SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. */ + sslSettings?: SslSettings; + } + interface EndpointsApiService { + /** Endpoints service configuration id as specified by the Service Management API. For example "2016-09-19r1" */ + configId?: string; + /** Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog" */ + name?: string; + } + interface ErrorHandler { + /** Error condition this handler applies to. */ + errorCode?: string; + /** MIME type of file. Defaults to text/html. */ + mimeType?: string; + /** Static file content to be served for this error. */ + staticFile?: string; + } + interface FeatureSettings { + /** + * Boolean value indicating if split health checks should be used instead of the legacy health checks. At an app.yaml level, this means defaulting to + * 'readiness_check' and 'liveness_check' values instead of 'health_check' ones. Once the legacy 'health_check' behavior is deprecated, and this value is + * always true, this setting can be removed. + */ + splitHealthChecks?: boolean; + } + interface FileInfo { + /** The MIME type of the file.Defaults to the value from Google Cloud Storage. */ + mimeType?: string; + /** The SHA1 hash of the file, in hex. */ + sha1Sum?: string; + /** + * URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form + * 'http(s)://storage.googleapis.com/<bucket>/<object>'. + */ + sourceUrl?: string; + } + interface FirewallRule { + /** The action to take on matched requests. */ + action?: string; + /** An optional string description of this rule. This field has a maximum length of 100 characters. */ + description?: string; + /** + * A positive integer between 1, Int32.MaxValue-1 that defines the order of rule evaluation. Rules with the lowest priority are evaluated first.A default + * rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic when no previous rule matches. Only the action of this rule can be modified by the + * user. + */ + priority?: number; + /** + * IP address or range, defined using CIDR notation, of requests that this rule applies to. You can use the wildcard character "*" to match all IPs + * equivalent to "0/0" and "::/0" together. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or + * 2001:0db8:0000:0042:0000:8a2e:0370:7334.<p>Truncation will be silently performed on addresses which are not properly truncated. For example, 1.2.3.4/24 + * is accepted as the same address as 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 is accepted as the same address as 2001:db8::/32. + */ + sourceRange?: string; + } + interface HealthCheck { + /** Interval between health checks. */ + checkInterval?: string; + /** Whether to explicitly disable health checks for this instance. */ + disableHealthCheck?: boolean; + /** Number of consecutive successful health checks required before receiving traffic. */ + healthyThreshold?: number; + /** Host header to send when performing an HTTP health check. Example: "myapp.appspot.com" */ + host?: string; + /** Number of consecutive failed health checks required before an instance is restarted. */ + restartThreshold?: number; + /** Time before the health check is considered failed. */ + timeout?: string; + /** Number of consecutive failed health checks required before removing traffic. */ + unhealthyThreshold?: number; + } + interface IdentityAwareProxy { + /** + * Whether the serving infrastructure will authenticate and authorize all incoming requests.If true, the oauth2_client_id and oauth2_client_secret fields + * must be non-empty. + */ + enabled?: boolean; + /** OAuth2 client ID to use for the authentication flow. */ + oauth2ClientId?: string; + /** + * OAuth2 client secret to use for the authentication flow.For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of + * the value is returned in the oauth2_client_secret_sha256 field.@InputOnly + */ + oauth2ClientSecret?: string; + /** Hex-encoded SHA-256 hash of the client secret.@OutputOnly */ + oauth2ClientSecretSha256?: string; + } + interface Instance { + /** App Engine release this instance is running on.@OutputOnly */ + appEngineRelease?: string; + /** Availability of the instance.@OutputOnly */ + availability?: string; + /** Average latency (ms) over the last minute.@OutputOnly */ + averageLatency?: number; + /** Number of errors since this instance was started.@OutputOnly */ + errors?: number; + /** Relative name of the instance within the version. Example: instance-1.@OutputOnly */ + id?: string; + /** Total memory in use (bytes).@OutputOnly */ + memoryUsage?: string; + /** Full path to the Instance resource in the API. Example: apps/myapp/services/default/versions/v1/instances/instance-1.@OutputOnly */ + name?: string; + /** Average queries per second (QPS) over the last minute.@OutputOnly */ + qps?: number; + /** Number of requests since this instance was started.@OutputOnly */ + requests?: number; + /** Time that this instance was started.@OutputOnly */ + startTime?: string; + /** Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment.@OutputOnly */ + vmDebugEnabled?: boolean; + /** Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment.@OutputOnly */ + vmId?: string; + /** The IP address of this instance. Only applicable for instances in App Engine flexible environment.@OutputOnly */ + vmIp?: string; + /** Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.@OutputOnly */ + vmName?: string; + /** Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.@OutputOnly */ + vmStatus?: string; + /** Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment.@OutputOnly */ + vmZoneName?: string; + } + interface Library { + /** Name of the library. Example: "django". */ + name?: string; + /** Version of the library to select, or "latest". */ + version?: string; + } + interface ListAuthorizedCertificatesResponse { + /** The SSL certificates the user is authorized to administer. */ + certificates?: AuthorizedCertificate[]; + /** Continuation token for fetching the next page of results. */ + nextPageToken?: string; + } + interface ListAuthorizedDomainsResponse { + /** The authorized domains belonging to the user. */ + domains?: AuthorizedDomain[]; + /** Continuation token for fetching the next page of results. */ + nextPageToken?: string; + } + interface ListDomainMappingsResponse { + /** The domain mappings for the application. */ + domainMappings?: DomainMapping[]; + /** Continuation token for fetching the next page of results. */ + nextPageToken?: string; + } + interface ListIngressRulesResponse { + /** The ingress FirewallRules for this application. */ + ingressRules?: FirewallRule[]; + /** Continuation token for fetching the next page of results. */ + nextPageToken?: string; + } + interface ListInstancesResponse { + /** The instances belonging to the requested version. */ + instances?: Instance[]; + /** Continuation token for fetching the next page of results. */ + nextPageToken?: string; + } + interface ListLocationsResponse { + /** A list of locations that matches the specified filter in the request. */ + locations?: Location[]; + /** The standard List next-page token. */ + nextPageToken?: string; + } + interface ListOperationsResponse { + /** The standard List next-page token. */ + nextPageToken?: string; + /** A list of operations that matches the specified filter in the request. */ + operations?: Operation[]; + } + interface ListServicesResponse { + /** Continuation token for fetching the next page of results. */ + nextPageToken?: string; + /** The services belonging to the requested application. */ + services?: Service[]; + } + interface ListVersionsResponse { + /** Continuation token for fetching the next page of results. */ + nextPageToken?: string; + /** The versions belonging to the requested service. */ + versions?: Version[]; + } + interface LivenessCheck { + /** Interval between health checks. */ + checkInterval?: string; + /** Number of consecutive failed checks required before considering the VM unhealthy. */ + failureThreshold?: number; + /** Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com" */ + host?: string; + /** The initial delay before starting to execute the checks. */ + initialDelay?: string; + /** The request path. */ + path?: string; + /** Number of consecutive successful checks required before considering the VM healthy. */ + successThreshold?: number; + /** Time before the check is considered failed. */ + timeout?: string; + } + interface Location { + /** + * Cross-service attributes for the location. For example + * {"cloud.googleapis.com/region": "us-east1"} + */ + labels?: Record<string, string>; + /** The canonical id for this location. For example: "us-east1". */ + locationId?: string; + /** Service-specific metadata. For example the available capacity at the given location. */ + metadata?: Record<string, any>; + /** Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1" */ + name?: string; + } + interface LocationMetadata { + /** App Engine Flexible Environment is available in the given location.@OutputOnly */ + flexibleEnvironmentAvailable?: boolean; + /** App Engine Standard Environment is available in the given location.@OutputOnly */ + standardEnvironmentAvailable?: boolean; + } + interface ManualScaling { + /** + * Number of instances to assign to the service at the start. This number can later be altered by using the Modules API + * (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function. + */ + instances?: number; + } + interface Network { + /** + * List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable for App Engine flexible environment + * versions. + */ + forwardedPorts?: string[]; + /** Tag to apply to the VM instance during creation. Only applicable for for App Engine flexible environment versions. */ + instanceTag?: string; + /** Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default. */ + name?: string; + /** + * Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path.If a subnetwork name is + * specified, a network name will also be required unless it is for the default network. + * If the network the VM instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. + * If the network the VM instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetwork_name) + * and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network. + * If the network the VM instance is being created in is a custom Subnet Mode Network, then the subnetwork_name must be specified and the IP address is + * created from the IPCidrRange of the subnetwork.If specified, the subnetwork must exist in the same region as the App Engine flexible environment + * application. + */ + subnetworkName?: string; + } + interface NetworkUtilization { + /** Target bytes received per second. */ + targetReceivedBytesPerSecond?: number; + /** Target packets received per second. */ + targetReceivedPacketsPerSecond?: number; + /** Target bytes sent per second. */ + targetSentBytesPerSecond?: number; + /** Target packets sent per second. */ + targetSentPacketsPerSecond?: number; + } + interface Operation { + /** If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available. */ + done?: boolean; + /** The error result of the operation in case of failure or cancellation. */ + error?: Status; + /** + * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some + * services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. + */ + metadata?: Record<string, any>; + /** + * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should + * have the format of operations/some/unique/name. + */ + name?: string; + /** + * The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is + * google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response + * should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred + * response type is TakeSnapshotResponse. + */ + response?: Record<string, any>; + } + interface OperationMetadata { + /** Timestamp that this operation completed.@OutputOnly */ + endTime?: string; + /** Timestamp that this operation was created.@OutputOnly */ + insertTime?: string; + /** API method that initiated this operation. Example: google.appengine.v1beta4.Version.CreateVersion.@OutputOnly */ + method?: string; + /** Type of this operation. Deprecated, use method field instead. Example: "create_version".@OutputOnly */ + operationType?: string; + /** Name of the resource that this operation is acting on. Example: apps/myapp/modules/default.@OutputOnly */ + target?: string; + /** User who requested this operation.@OutputOnly */ + user?: string; + } + interface OperationMetadataExperimental { + /** Time that this operation completed.@OutputOnly */ + endTime?: string; + /** Time that this operation was created.@OutputOnly */ + insertTime?: string; + /** API method that initiated this operation. Example: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnly */ + method?: string; + /** Name of the resource that this operation is acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly */ + target?: string; + /** User who requested this operation.@OutputOnly */ + user?: string; + } + interface OperationMetadataV1 { + /** Time that this operation completed.@OutputOnly */ + endTime?: string; + /** Ephemeral message that may change every time the operation is polled. @OutputOnly */ + ephemeralMessage?: string; + /** Time that this operation was created.@OutputOnly */ + insertTime?: string; + /** API method that initiated this operation. Example: google.appengine.v1.Versions.CreateVersion.@OutputOnly */ + method?: string; + /** Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly */ + target?: string; + /** User who requested this operation.@OutputOnly */ + user?: string; + /** Durable messages that persist on every operation poll. @OutputOnly */ + warning?: string[]; + } + interface OperationMetadataV1Alpha { + /** Time that this operation completed.@OutputOnly */ + endTime?: string; + /** Ephemeral message that may change every time the operation is polled. @OutputOnly */ + ephemeralMessage?: string; + /** Time that this operation was created.@OutputOnly */ + insertTime?: string; + /** API method that initiated this operation. Example: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly */ + method?: string; + /** Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly */ + target?: string; + /** User who requested this operation.@OutputOnly */ + user?: string; + /** Durable messages that persist on every operation poll. @OutputOnly */ + warning?: string[]; + } + interface OperationMetadataV1Beta { + /** Time that this operation completed.@OutputOnly */ + endTime?: string; + /** Ephemeral message that may change every time the operation is polled. @OutputOnly */ + ephemeralMessage?: string; + /** Time that this operation was created.@OutputOnly */ + insertTime?: string; + /** API method that initiated this operation. Example: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly */ + method?: string; + /** Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly */ + target?: string; + /** User who requested this operation.@OutputOnly */ + user?: string; + /** Durable messages that persist on every operation poll. @OutputOnly */ + warning?: string[]; + } + interface OperationMetadataV1Beta5 { + /** Timestamp that this operation completed.@OutputOnly */ + endTime?: string; + /** Timestamp that this operation was created.@OutputOnly */ + insertTime?: string; + /** API method name that initiated this operation. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly */ + method?: string; + /** Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly */ + target?: string; + /** User who requested this operation.@OutputOnly */ + user?: string; + } + interface ReadinessCheck { + /** + * A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to + * serve traffic. + */ + appStartTimeout?: string; + /** Interval between health checks. */ + checkInterval?: string; + /** Number of consecutive failed checks required before removing traffic. */ + failureThreshold?: number; + /** Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com" */ + host?: string; + /** The request path. */ + path?: string; + /** Number of consecutive successful checks required before receiving traffic. */ + successThreshold?: number; + /** Time before the check is considered failed. */ + timeout?: string; + } + interface RequestUtilization { + /** Target number of concurrent requests. */ + targetConcurrentRequests?: number; + /** Target requests per second. */ + targetRequestCountPerSecond?: number; + } + interface ResourceRecord { + /** Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'. */ + name?: string; + /** Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1). */ + rrdata?: string; + /** Resource record type. Example: AAAA. */ + type?: string; + } + interface Resources { + /** Number of CPU cores needed. */ + cpu?: number; + /** Disk size (GB) needed. */ + diskGb?: number; + /** Memory (GB) needed. */ + memoryGb?: number; + /** User specified volumes. */ + volumes?: Volume[]; + } + interface ScriptHandler { + /** Path to the script from the application root directory. */ + scriptPath?: string; + } + interface Service { + /** Relative name of the service within the application. Example: default.@OutputOnly */ + id?: string; + /** Full path to the Service resource in the API. Example: apps/myapp/services/default.@OutputOnly */ + name?: string; + /** Mapping that defines fractional HTTP traffic diversion to different versions within the service. */ + split?: TrafficSplit; + } + interface SslSettings { + /** ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support. Example: 12345. */ + certificateId?: string; + } + interface StaticFilesHandler { + /** + * Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served + * to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas. + */ + applicationReadable?: boolean; + /** Time a static file served by this handler should be cached by web proxies and browsers. */ + expiration?: string; + /** HTTP headers to use for all responses from these URLs. */ + httpHeaders?: Record<string, string>; + /** MIME type used to serve all files served by this handler.Defaults to file-specific MIME types, which are derived from each file's filename extension. */ + mimeType?: string; + /** + * Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL + * pattern. + */ + path?: string; + /** Whether this handler should match the request if the file referenced by the handler does not exist. */ + requireMatchingFile?: boolean; + /** Regular expression that matches the file paths for all files that should be referenced by this handler. */ + uploadPathRegex?: string; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface TrafficSplit { + /** + * Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, + * but some versions in the service may not have any traffic allocation. Services that have traffic allocated cannot be deleted until either the service + * is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based splits and up + * to three decimal places is supported for cookie-based splits. + */ + allocations?: Record<string, number>; + /** + * Mechanism used to determine which version a request is sent to. The traffic selection algorithm will be stable for either type until allocations are + * changed. + */ + shardBy?: string; + } + interface UrlDispatchRule { + /** Domain name to match against. The wildcard "*" is supported if specified before a period: "*.".Defaults to matching all domains: "*". */ + domain?: string; + /** + * Pathname within the host. Must start with a "/". A single "*" can be included at the end of the path.The sum of the lengths of the domain and path may + * not exceed 100 characters. + */ + path?: string; + /** Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default. */ + service?: string; + } + interface UrlMap { + /** Uses API Endpoints to handle requests. */ + apiEndpoint?: ApiEndpointHandler; + /** Action to take when users access resources that require authentication. Defaults to redirect. */ + authFailAction?: string; + /** Level of login required to access this resource. */ + login?: string; + /** 30x code to use when performing redirects for the secure field. Defaults to 302. */ + redirectHttpResponseCode?: string; + /** Executes a script to handle the request that matches this URL pattern. */ + script?: ScriptHandler; + /** Security (HTTPS) enforcement for this URL. */ + securityLevel?: string; + /** Returns the contents of a file, such as an image, as the response. */ + staticFiles?: StaticFilesHandler; + /** + * URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that + * begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path. + */ + urlRegex?: string; + } + interface Version { + /** + * Serving configuration for Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned in GET requests if view=FULL + * is set. + */ + apiConfig?: ApiConfigHandler; + /** Automatic scaling is based on request rate, response latencies, and other application metrics. */ + automaticScaling?: AutomaticScaling; + /** + * A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes + * idle. Basic scaling is ideal for work that is intermittent or driven by user activity. + */ + basicScaling?: BasicScaling; + /** Metadata settings that are supplied to this version to enable beta runtime features. */ + betaSettings?: Record<string, string>; + /** Time that this version was created.@OutputOnly */ + createTime?: string; + /** Email address of the user who created this version.@OutputOnly */ + createdBy?: string; + /** + * Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler + * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#staticfileshandler) does not specify its own expiration + * time.Only returned in GET requests if view=FULL is set. + */ + defaultExpiration?: string; + /** Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set. */ + deployment?: Deployment; + /** Total size in bytes of all the files that are included in this version and curerntly hosted on the App Engine disk.@OutputOnly */ + diskUsageBytes?: string; + /** + * Cloud Endpoints configuration.If endpoints_api_service is set, the Cloud Endpoints Extensible Service Proxy will be provided to serve the API + * implemented by the app. + */ + endpointsApiService?: EndpointsApiService; + /** App Engine execution environment for this version.Defaults to standard. */ + env?: string; + /** Environment variables available to the application.Only returned in GET requests if view=FULL is set. */ + envVariables?: Record<string, string>; + /** Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set. */ + errorHandlers?: ErrorHandler[]; + /** + * An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request + * handlers are not attempted.Only returned in GET requests if view=FULL is set. + */ + handlers?: UrlMap[]; + /** + * Configures health checking for VM instances. Unhealthy instances are stopped and replaced with new instances. Only applicable for VM runtimes.Only + * returned in GET requests if view=FULL is set. + */ + healthCheck?: HealthCheck; + /** + * Relative name of the version within the service. Example: v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: + * "default", "latest", and any name with the prefix "ah-". + */ + id?: string; + /** Before an application can receive email or XMPP messages, the application must be configured to enable the service. */ + inboundServices?: string[]; + /** + * Instance class that is used to run this version. Valid values are: + * AutomaticScaling: F1, F2, F4, F4_1G + * ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling. + */ + instanceClass?: string; + /** Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set. */ + libraries?: Library[]; + /** + * Configures liveness health checking for VM instances. Unhealthy instances are stopped and replaced with new instancesOnly returned in GET requests if + * view=FULL is set. + */ + livenessCheck?: LivenessCheck; + /** A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. */ + manualScaling?: ManualScaling; + /** Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly */ + name?: string; + /** Extra network settings. Only applicable for App Engine flexible environment versions. */ + network?: Network; + /** Files that match this pattern will not be built into this version. Only applicable for Go runtimes.Only returned in GET requests if view=FULL is set. */ + nobuildFilesRegex?: string; + /** + * Configures readiness health checking for VM instances. Unhealthy instances are not put into the backend traffic rotation.Only returned in GET requests + * if view=FULL is set. + */ + readinessCheck?: ReadinessCheck; + /** Machine resources for this version. Only applicable for VM runtimes. */ + resources?: Resources; + /** Desired runtime. Example: python27. */ + runtime?: string; + /** + * The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at + * https://cloud.google.com/appengine/docs/standard/<language>/config/appref + */ + runtimeApiVersion?: string; + /** + * Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an + * invalid value. Defaults to SERVING. + */ + servingStatus?: string; + /** Whether multiple requests can be dispatched to this version at once. */ + threadsafe?: boolean; + /** Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly */ + versionUrl?: string; + /** Whether to deploy this version in a container on a virtual machine. */ + vm?: boolean; + } + interface Volume { + /** Unique name for the volume. */ + name?: string; + /** Volume size in gigabytes. */ + sizeGb?: number; + /** Underlying volume type, e.g. 'tmpfs'. */ + volumeType?: string; + } + interface ZipInfo { + /** + * An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for + * optimizing performance; if not provided, deployment may be slow. + */ + filesCount?: number; + /** + * URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form + * 'http(s)://storage.googleapis.com/<bucket>/<object>'. + */ + sourceUrl?: string; + } + interface AuthorizedCertificatesResource { + /** Uploads the specified SSL certificate. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<AuthorizedCertificate>; + /** Deletes the specified SSL certificate. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the resource to delete. Example: apps/myapp/authorizedCertificates/12345. */ + appsId: string; + /** Part of `name`. See documentation of `appsId`. */ + authorizedCertificatesId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets the specified SSL certificate. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the resource requested. Example: apps/myapp/authorizedCertificates/12345. */ + appsId: string; + /** Part of `name`. See documentation of `appsId`. */ + authorizedCertificatesId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Controls the set of fields returned in the GET response. */ + view?: string; + }): Request<AuthorizedCertificate>; + /** Lists all SSL certificates the user is authorized to administer. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Maximum results to return per page. */ + pageSize?: number; + /** Continuation token for fetching the next page of results. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Controls the set of fields returned in the LIST response. */ + view?: string; + }): Request<ListAuthorizedCertificatesResponse>; + /** + * Updates the specified SSL certificate. To renew a certificate and maintain its existing domain mappings, update certificate_data with a new + * certificate. The new certificate must be applicable to the same domains as the original certificate. The certificate display_name may also be updated. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the resource to update. Example: apps/myapp/authorizedCertificates/12345. */ + appsId: string; + /** Part of `name`. See documentation of `appsId`. */ + authorizedCertificatesId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Standard field mask for the set of fields to be updated. Updates are only supported on the certificate_raw_data and display_name fields. */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<AuthorizedCertificate>; + } + interface AuthorizedDomainsResource { + /** Lists all domains the user is authorized to administer. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Maximum results to return per page. */ + pageSize?: number; + /** Continuation token for fetching the next page of results. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListAuthorizedDomainsResponse>; + } + interface DomainMappingsResource { + /** + * Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available + * authorized domains, see AuthorizedDomains.ListAuthorizedDomains. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the resource to delete. Example: apps/myapp/domainMappings/example.com. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Part of `name`. See documentation of `appsId`. */ + domainMappingsId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** Gets the specified domain mapping. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the resource requested. Example: apps/myapp/domainMappings/example.com. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Part of `name`. See documentation of `appsId`. */ + domainMappingsId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<DomainMapping>; + /** Lists the domain mappings on an application. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Maximum results to return per page. */ + pageSize?: number; + /** Continuation token for fetching the next page of results. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListDomainMappingsResponse>; + /** + * Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificate_id to point to an AuthorizedCertificate + * resource. A user must be authorized to administer the associated domain in order to update a DomainMapping resource. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the resource to update. Example: apps/myapp/domainMappings/example.com. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Part of `name`. See documentation of `appsId`. */ + domainMappingsId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Standard field mask for the set of fields to be updated. */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + } + interface IngressRulesResource { + /** + * Replaces the entire firewall ruleset in one bulk operation. This overrides and replaces the rules of an existing firewall with the new rules.If the + * final rule does not match traffic with the '*' wildcard IP range, then an "allow all" rule is explicitly added to the end of the list. + */ + batchUpdate(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the Firewall collection to set. Example: apps/myapp/firewall/ingressRules. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<BatchUpdateIngressRulesResponse>; + /** Creates a firewall rule for the application. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `parent`. Name of the parent Firewall collection in which to create a new rule. Example: apps/myapp/firewall/ingressRules. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<FirewallRule>; + /** Deletes the specified firewall rule. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the Firewall resource to delete. Example: apps/myapp/firewall/ingressRules/100. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Part of `name`. See documentation of `appsId`. */ + ingressRulesId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets the specified firewall rule. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the Firewall resource to retrieve. Example: apps/myapp/firewall/ingressRules/100. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Part of `name`. See documentation of `appsId`. */ + ingressRulesId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<FirewallRule>; + /** Lists the firewall rules of an application. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `parent`. Name of the Firewall collection to retrieve. Example: apps/myapp/firewall/ingressRules. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * A valid IP Address. If set, only rules matching this address will be returned. The first returned rule will be the rule that fires on requests from + * this IP. + */ + matchingAddress?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Maximum results to return per page. */ + pageSize?: number; + /** Continuation token for fetching the next page of results. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListIngressRulesResponse>; + /** Updates the specified firewall rule. */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the Firewall resource to update. Example: apps/myapp/firewall/ingressRules/100. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Part of `name`. See documentation of `appsId`. */ + ingressRulesId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Standard field mask for the set of fields to be updated. */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<FirewallRule>; + } + interface FirewallResource { + ingressRules: IngressRulesResource; + } + interface LocationsResource { + /** Get information about a location. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Resource name for the location. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Part of `name`. See documentation of `appsId`. */ + locationsId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Location>; + /** Lists information about the supported locations for this service. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. The resource that owns the locations collection, if applicable. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The standard list filter. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The standard list page size. */ + pageSize?: number; + /** The standard list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListLocationsResponse>; + } + interface OperationsResource { + /** + * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API + * service. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. The name of the operation resource. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Part of `name`. See documentation of `appsId`. */ + operationsId: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name + * binding allows API services to override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API + * services can add a binding such as "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name + * includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection + * id. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. The name of the operation's parent resource. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The standard list filter. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The standard list page size. */ + pageSize?: number; + /** The standard list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListOperationsResponse>; + } + interface InstancesResource { + /** + * Enables debugging on a VM instance. This allows you to use the SSH command to connect to the virtual machine where the instance lives. While in "debug + * mode", the instance continues to serve live traffic. You should delete the instance when you are done debugging and then allow the system to take over + * and determine if another instance should be started.Only applicable for instances in App Engine flexible environment. + */ + debug(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Part of `name`. See documentation of `appsId`. */ + instancesId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Part of `name`. See documentation of `appsId`. */ + servicesId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Part of `name`. See documentation of `appsId`. */ + versionsId: string; + }): Request<Operation>; + /** Stops a running instance. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Part of `name`. See documentation of `appsId`. */ + instancesId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Part of `name`. See documentation of `appsId`. */ + servicesId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Part of `name`. See documentation of `appsId`. */ + versionsId: string; + }): Request<Operation>; + /** Gets instance information. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Part of `name`. See documentation of `appsId`. */ + instancesId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Part of `name`. See documentation of `appsId`. */ + servicesId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Part of `name`. See documentation of `appsId`. */ + versionsId: string; + }): Request<Instance>; + /** + * Lists the instances of a version.Tip: To aggregate details about instances over time, see the Stackdriver Monitoring API + * (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `parent`. Name of the parent Version resource. Example: apps/myapp/services/default/versions/v1. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Maximum results to return per page. */ + pageSize?: number; + /** Continuation token for fetching the next page of results. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Part of `parent`. See documentation of `appsId`. */ + servicesId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Part of `parent`. See documentation of `appsId`. */ + versionsId: string; + }): Request<ListInstancesResponse>; + } + interface VersionsResource { + /** Deploys code and resource files to a new version. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `parent`. Name of the parent resource to create this version under. Example: apps/myapp/services/default. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Part of `parent`. See documentation of `appsId`. */ + servicesId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** Deletes an existing Version resource. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Part of `name`. See documentation of `appsId`. */ + servicesId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Part of `name`. See documentation of `appsId`. */ + versionsId: string; + }): Request<Operation>; + /** Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Part of `name`. See documentation of `appsId`. */ + servicesId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Part of `name`. See documentation of `appsId`. */ + versionsId: string; + /** Controls the set of fields returned in the Get response. */ + view?: string; + }): Request<Version>; + /** Lists the versions of a service. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `parent`. Name of the parent Service resource. Example: apps/myapp/services/default. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Maximum results to return per page. */ + pageSize?: number; + /** Continuation token for fetching the next page of results. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Part of `parent`. See documentation of `appsId`. */ + servicesId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Controls the set of fields returned in the List response. */ + view?: string; + }): Request<ListVersionsResponse>; + /** + * Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the + * version resource uses: + * serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version + * resources that use basic scaling, manual scaling, or run in the App Engine flexible environment. + * instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version + * resources that run in the App Engine standard environment. + * automatic_scaling.min_idle_instances + * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources + * that use automatic scaling and run in the App Engine standard environment. + * automatic_scaling.max_idle_instances + * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources + * that use automatic scaling and run in the App Engine standard environment. + * automatic_scaling.min_total_instances + * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources + * that use automatic scaling and run in the App Engine Flexible environment. + * automatic_scaling.max_total_instances + * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources + * that use automatic scaling and run in the App Engine Flexible environment. + * automatic_scaling.cool_down_period_sec + * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources + * that use automatic scaling and run in the App Engine Flexible environment. + * automatic_scaling.cpu_utilization.target_utilization + * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources + * that use automatic scaling and run in the App Engine Flexible environment. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the resource to update. Example: apps/myapp/services/default/versions/1. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Part of `name`. See documentation of `appsId`. */ + servicesId: string; + /** Standard field mask for the set of fields to be updated. */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Part of `name`. See documentation of `appsId`. */ + versionsId: string; + }): Request<Operation>; + instances: InstancesResource; + } + interface ServicesResource { + /** Deletes the specified service and all enclosed versions. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the resource requested. Example: apps/myapp/services/default. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Part of `name`. See documentation of `appsId`. */ + servicesId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** Gets the current configuration of the specified service. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the resource requested. Example: apps/myapp/services/default. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Part of `name`. See documentation of `appsId`. */ + servicesId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Service>; + /** Lists all the services in the application. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Maximum results to return per page. */ + pageSize?: number; + /** Continuation token for fetching the next page of results. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListServicesResponse>; + /** Updates the configuration of the specified service. */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the resource to update. Example: apps/myapp/services/default. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Set to true to gradually shift traffic to one or more versions that you specify. By default, traffic is shifted immediately. For gradual traffic + * migration, the target versions must be located within instances that are configured for both warmup requests + * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#inboundservicetype) and automatic scaling + * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#automaticscaling). You must specify the shardBy + * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#shardby) field in the Service resource. Gradual traffic migration is + * not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic + * (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic). + */ + migrateTraffic?: boolean; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Part of `name`. See documentation of `appsId`. */ + servicesId: string; + /** Standard field mask for the set of fields to be updated. */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + versions: VersionsResource; + } + interface AppsResource { + /** + * Creates an App Engine application for a Google Cloud Platform project. Required fields: + * id - The ID of the target Cloud Platform project. + * location - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about + * App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/python/console/). + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** Gets information about an application. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the Application resource to get. Example: apps/myapp. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Application>; + /** + * Updates the specified Application resource. You can update the following fields: + * auth_domain - Google authentication domain for controlling user access to the application. + * default_cookie_expiration - Cookie expiration policy for the application. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the Application resource to update. Example: apps/myapp. */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Standard field mask for the set of fields to be updated. */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Recreates the required App Engine features for the specified App Engine application, for example a Cloud Storage bucket or App Engine service account. + * Use this method if you receive an error message about a missing feature, for example, Error retrieving the App Engine service account. + */ + repair(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** Part of `name`. Name of the application to repair. Example: apps/myapp */ + appsId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + authorizedCertificates: AuthorizedCertificatesResource; + authorizedDomains: AuthorizedDomainsResource; + domainMappings: DomainMappingsResource; + firewall: FirewallResource; + locations: LocationsResource; + operations: OperationsResource; + services: ServicesResource; + } + } +} diff --git a/types/gapi.client.appengine/readme.md b/types/gapi.client.appengine/readme.md new file mode 100644 index 0000000000..c038ebf322 --- /dev/null +++ b/types/gapi.client.appengine/readme.md @@ -0,0 +1,84 @@ +# TypeScript typings for Google App Engine Admin API v1 +The App Engine Admin API enables developers to provision and manage their App Engine applications. +For detailed description please check [documentation](https://cloud.google.com/appengine/docs/admin-api/). + +## Installing + +Install typings for Google App Engine Admin API: +``` +npm install @types/gapi.client.appengine@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('appengine', 'v1', () => { + // now we can use gapi.client.appengine + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your applications deployed on Google App Engine + 'https://www.googleapis.com/auth/appengine.admin', + + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform.read-only', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google App Engine Admin API resources: + +```typescript + +/* +Creates an App Engine application for a Google Cloud Platform project. Required fields: +id - The ID of the target Cloud Platform project. +location - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/python/console/). +*/ +await gapi.client.apps.create({ }); + +/* +Gets information about an application. +*/ +await gapi.client.apps.get({ appsId: "appsId", }); + +/* +Updates the specified Application resource. You can update the following fields: +auth_domain - Google authentication domain for controlling user access to the application. +default_cookie_expiration - Cookie expiration policy for the application. +*/ +await gapi.client.apps.patch({ appsId: "appsId", }); + +/* +Recreates the required App Engine features for the specified App Engine application, for example a Cloud Storage bucket or App Engine service account. Use this method if you receive an error message about a missing feature, for example, Error retrieving the App Engine service account. +*/ +await gapi.client.apps.repair({ appsId: "appsId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.appengine/tsconfig.json b/types/gapi.client.appengine/tsconfig.json new file mode 100644 index 0000000000..0af2b9eade --- /dev/null +++ b/types/gapi.client.appengine/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.appengine-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.appengine/tslint.json b/types/gapi.client.appengine/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.appengine/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.appsactivity/gapi.client.appsactivity-tests.ts b/types/gapi.client.appsactivity/gapi.client.appsactivity-tests.ts new file mode 100644 index 0000000000..aa972684b8 --- /dev/null +++ b/types/gapi.client.appsactivity/gapi.client.appsactivity-tests.ts @@ -0,0 +1,54 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('appsactivity', 'v1', () => { + /** now we can use gapi.client.appsactivity */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View the activity history of your Google apps */ + 'https://www.googleapis.com/auth/activity', + /** View and manage the files in your Google Drive */ + 'https://www.googleapis.com/auth/drive', + /** View and manage metadata of files in your Google Drive */ + 'https://www.googleapis.com/auth/drive.metadata', + /** View metadata for files in your Google Drive */ + 'https://www.googleapis.com/auth/drive.metadata.readonly', + /** View the files in your Google Drive */ + 'https://www.googleapis.com/auth/drive.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Returns a list of activities visible to the current logged in user. Visible activities are determined by the visiblity settings of the object that was + * acted on, e.g. Drive files a user can see. An activity is a record of past events. Multiple events may be merged if they are similar. A request is + * scoped to activities from a given Google service using the source parameter. + */ + await gapi.client.activities.list({ + "drive.ancestorId": "drive.ancestorId", + "drive.fileId": "drive.fileId", + groupingStrategy: "groupingStrategy", + pageSize: 4, + pageToken: "pageToken", + source: "source", + userId: "userId", + }); + } +}); diff --git a/types/gapi.client.appsactivity/index.d.ts b/types/gapi.client.appsactivity/index.d.ts new file mode 100644 index 0000000000..e8c9c49f18 --- /dev/null +++ b/types/gapi.client.appsactivity/index.d.ts @@ -0,0 +1,168 @@ +// Type definitions for Google G Suite Activity API v1 1.0 +// Project: https://developers.google.com/google-apps/activity/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/appsactivity/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load G Suite Activity API v1 */ + function load(name: "appsactivity", version: "v1"): PromiseLike<void>; + function load(name: "appsactivity", version: "v1", callback: () => any): void; + + const activities: appsactivity.ActivitiesResource; + + namespace appsactivity { + interface Activity { + /** The fields common to all of the singleEvents that make up the Activity. */ + combinedEvent?: Event; + /** A list of all the Events that make up the Activity. */ + singleEvents?: Event[]; + } + interface Event { + /** + * Additional event types. Some events may have multiple types when multiple actions are part of a single event. For example, creating a document, + * renaming it, and sharing it may be part of a single file-creation event. + */ + additionalEventTypes?: string[]; + /** The time at which the event occurred formatted as Unix time in milliseconds. */ + eventTimeMillis?: string; + /** Whether this event is caused by a user being deleted. */ + fromUserDeletion?: boolean; + /** Extra information for move type events, such as changes in an object's parents. */ + move?: Move; + /** Extra information for permissionChange type events, such as the user or group the new permission applies to. */ + permissionChanges?: PermissionChange[]; + /** The main type of event that occurred. */ + primaryEventType?: string; + /** Extra information for rename type events, such as the old and new names. */ + rename?: Rename; + /** Information specific to the Target object modified by the event. */ + target?: Target; + /** Represents the user responsible for the event. */ + user?: User; + } + interface ListActivitiesResponse { + /** List of activities. */ + activities?: Activity[]; + /** Token for the next page of results. */ + nextPageToken?: string; + } + interface Move { + /** The added parent(s). */ + addedParents?: Parent[]; + /** The removed parent(s). */ + removedParents?: Parent[]; + } + interface Parent { + /** The parent's ID. */ + id?: string; + /** Whether this is the root folder. */ + isRoot?: boolean; + /** The parent's title. */ + title?: string; + } + interface Permission { + /** The name of the user or group the permission applies to. */ + name?: string; + /** The ID for this permission. Corresponds to the Drive API's permission ID returned as part of the Drive Permissions resource. */ + permissionId?: string; + /** Indicates the Google Drive permissions role. The role determines a user's ability to read, write, or comment on the file. */ + role?: string; + /** Indicates how widely permissions are granted. */ + type?: string; + /** The user's information if the type is USER. */ + user?: User; + /** Whether the permission requires a link to the file. */ + withLink?: boolean; + } + interface PermissionChange { + /** Lists all Permission objects added. */ + addedPermissions?: Permission[]; + /** Lists all Permission objects removed. */ + removedPermissions?: Permission[]; + } + interface Photo { + /** The URL of the photo. */ + url?: string; + } + interface Rename { + /** The new title. */ + newTitle?: string; + /** The old title. */ + oldTitle?: string; + } + interface Target { + /** The ID of the target. For example, in Google Drive, this is the file or folder ID. */ + id?: string; + /** The MIME type of the target. */ + mimeType?: string; + /** The name of the target. For example, in Google Drive, this is the title of the file. */ + name?: string; + } + interface User { + /** A boolean which indicates whether the specified User was deleted. If true, name, photo and permission_id will be omitted. */ + isDeleted?: boolean; + /** Whether the user is the authenticated user. */ + isMe?: boolean; + /** The displayable name of the user. */ + name?: string; + /** + * The permission ID associated with this user. Equivalent to the Drive API's permission ID for this user, returned as part of the Drive Permissions + * resource. + */ + permissionId?: string; + /** The profile photo of the user. Not present if the user has no profile photo. */ + photo?: Photo; + } + interface ActivitiesResource { + /** + * Returns a list of activities visible to the current logged in user. Visible activities are determined by the visiblity settings of the object that was + * acted on, e.g. Drive files a user can see. An activity is a record of past events. Multiple events may be merged if they are similar. A request is + * scoped to activities from a given Google service using the source parameter. + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Identifies the Drive folder containing the items for which to return activities. */ + "drive.ancestorId"?: string; + /** Identifies the Drive item to return activities for. */ + "drive.fileId"?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Indicates the strategy to use when grouping singleEvents items in the associated combinedEvent object. */ + groupingStrategy?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The maximum number of events to return on a page. The response includes a continuation token if there are more events. */ + pageSize?: number; + /** A token to retrieve a specific page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The Google service from which to return activities. Possible values of source are: + * - drive.google.com + */ + source?: string; + /** Indicates the user to return activity for. Use the special value me to indicate the currently authenticated user. */ + userId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListActivitiesResponse>; + } + } +} diff --git a/types/gapi.client.appsactivity/readme.md b/types/gapi.client.appsactivity/readme.md new file mode 100644 index 0000000000..9f6052ff29 --- /dev/null +++ b/types/gapi.client.appsactivity/readme.md @@ -0,0 +1,71 @@ +# TypeScript typings for G Suite Activity API v1 +Provides a historical view of activity. +For detailed description please check [documentation](https://developers.google.com/google-apps/activity/). + +## Installing + +Install typings for G Suite Activity API: +``` +npm install @types/gapi.client.appsactivity@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('appsactivity', 'v1', () => { + // now we can use gapi.client.appsactivity + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View the activity history of your Google apps + 'https://www.googleapis.com/auth/activity', + + // View and manage the files in your Google Drive + 'https://www.googleapis.com/auth/drive', + + // View and manage metadata of files in your Google Drive + 'https://www.googleapis.com/auth/drive.metadata', + + // View metadata for files in your Google Drive + 'https://www.googleapis.com/auth/drive.metadata.readonly', + + // View the files in your Google Drive + 'https://www.googleapis.com/auth/drive.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use G Suite Activity API resources: + +```typescript + +/* +Returns a list of activities visible to the current logged in user. Visible activities are determined by the visiblity settings of the object that was acted on, e.g. Drive files a user can see. An activity is a record of past events. Multiple events may be merged if they are similar. A request is scoped to activities from a given Google service using the source parameter. +*/ +await gapi.client.activities.list({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.appsactivity/tsconfig.json b/types/gapi.client.appsactivity/tsconfig.json new file mode 100644 index 0000000000..0afc87f3ad --- /dev/null +++ b/types/gapi.client.appsactivity/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.appsactivity-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.appsactivity/tslint.json b/types/gapi.client.appsactivity/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.appsactivity/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.appstate/gapi.client.appstate-tests.ts b/types/gapi.client.appstate/gapi.client.appstate-tests.ts new file mode 100644 index 0000000000..d34d46e2ee --- /dev/null +++ b/types/gapi.client.appstate/gapi.client.appstate-tests.ts @@ -0,0 +1,64 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('appstate', 'v1', () => { + /** now we can use gapi.client.appstate */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data for this application */ + 'https://www.googleapis.com/auth/appstate', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Clears (sets to empty) the data for the passed key if and only if the passed version matches the currently stored version. This method results in a + * conflict error on version mismatch. + */ + await gapi.client.states.clear({ + currentDataVersion: "currentDataVersion", + stateKey: 2, + }); + /** + * Deletes a key and the data associated with it. The key is removed and no longer counts against the key quota. Note that since this method is not safe + * in the face of concurrent modifications, it should only be used for development and testing purposes. Invoking this method in shipping code can result + * in data loss and data corruption. + */ + await gapi.client.states.delete({ + stateKey: 1, + }); + /** Retrieves the data corresponding to the passed key. If the key does not exist on the server, an HTTP 404 will be returned. */ + await gapi.client.states.get({ + stateKey: 1, + }); + /** Lists all the states keys, and optionally the state data. */ + await gapi.client.states.list({ + includeData: true, + }); + /** + * Update the data associated with the input key if and only if the passed version matches the currently stored version. This method is safe in the face + * of concurrent writes. Maximum per-key size is 128KB. + */ + await gapi.client.states.update({ + currentStateVersion: "currentStateVersion", + stateKey: 2, + }); + } +}); diff --git a/types/gapi.client.appstate/index.d.ts b/types/gapi.client.appstate/index.d.ts new file mode 100644 index 0000000000..9ae6561cb1 --- /dev/null +++ b/types/gapi.client.appstate/index.d.ts @@ -0,0 +1,184 @@ +// Type definitions for Google Google App State API v1 1.0 +// Project: https://developers.google.com/games/services/web/api/states +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/appstate/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google App State API v1 */ + function load(name: "appstate", version: "v1"): PromiseLike<void>; + function load(name: "appstate", version: "v1", callback: () => any): void; + + const states: appstate.StatesResource; + + namespace appstate { + interface GetResponse { + /** The current app state version. */ + currentStateVersion?: string; + /** The requested data. */ + data?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string appstate#getResponse. */ + kind?: string; + /** The key for the data. */ + stateKey?: number; + } + interface ListResponse { + /** The app state data. */ + items?: GetResponse[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string appstate#listResponse. */ + kind?: string; + /** The maximum number of keys allowed for this user. */ + maximumKeyCount?: number; + } + interface UpdateRequest { + /** The new app state data that your application is trying to update with. */ + data?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string appstate#updateRequest. */ + kind?: string; + } + interface WriteResult { + /** The version of the data for this key on the server. */ + currentStateVersion?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string appstate#writeResult. */ + kind?: string; + /** The written key. */ + stateKey?: number; + } + interface StatesResource { + /** + * Clears (sets to empty) the data for the passed key if and only if the passed version matches the currently stored version. This method results in a + * conflict error on version mismatch. + */ + clear(request: { + /** Data format for the response. */ + alt?: string; + /** The version of the data to be cleared. Version strings are returned by the server. */ + currentDataVersion?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The key for the data to be retrieved. */ + stateKey: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<WriteResult>; + /** + * Deletes a key and the data associated with it. The key is removed and no longer counts against the key quota. Note that since this method is not safe + * in the face of concurrent modifications, it should only be used for development and testing purposes. Invoking this method in shipping code can result + * in data loss and data corruption. + */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The key for the data to be retrieved. */ + stateKey: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves the data corresponding to the passed key. If the key does not exist on the server, an HTTP 404 will be returned. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The key for the data to be retrieved. */ + stateKey: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GetResponse>; + /** Lists all the states keys, and optionally the state data. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Whether to include the full data in addition to the version number */ + includeData?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListResponse>; + /** + * Update the data associated with the input key if and only if the passed version matches the currently stored version. This method is safe in the face + * of concurrent writes. Maximum per-key size is 128KB. + */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** + * The version of the app state your application is attempting to update. If this does not match the current version, this method will return a conflict + * error. If there is no data stored on the server for this key, the update will succeed irrespective of the value of this parameter. + */ + currentStateVersion?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The key for the data to be retrieved. */ + stateKey: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<WriteResult>; + } + } +} diff --git a/types/gapi.client.appstate/readme.md b/types/gapi.client.appstate/readme.md new file mode 100644 index 0000000000..a98a3e7942 --- /dev/null +++ b/types/gapi.client.appstate/readme.md @@ -0,0 +1,79 @@ +# TypeScript typings for Google App State API v1 +The Google App State API. +For detailed description please check [documentation](https://developers.google.com/games/services/web/api/states). + +## Installing + +Install typings for Google App State API: +``` +npm install @types/gapi.client.appstate@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('appstate', 'v1', () => { + // now we can use gapi.client.appstate + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data for this application + 'https://www.googleapis.com/auth/appstate', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google App State API resources: + +```typescript + +/* +Clears (sets to empty) the data for the passed key if and only if the passed version matches the currently stored version. This method results in a conflict error on version mismatch. +*/ +await gapi.client.states.clear({ stateKey: 1, }); + +/* +Deletes a key and the data associated with it. The key is removed and no longer counts against the key quota. Note that since this method is not safe in the face of concurrent modifications, it should only be used for development and testing purposes. Invoking this method in shipping code can result in data loss and data corruption. +*/ +await gapi.client.states.delete({ stateKey: 1, }); + +/* +Retrieves the data corresponding to the passed key. If the key does not exist on the server, an HTTP 404 will be returned. +*/ +await gapi.client.states.get({ stateKey: 1, }); + +/* +Lists all the states keys, and optionally the state data. +*/ +await gapi.client.states.list({ }); + +/* +Update the data associated with the input key if and only if the passed version matches the currently stored version. This method is safe in the face of concurrent writes. Maximum per-key size is 128KB. +*/ +await gapi.client.states.update({ stateKey: 1, }); +``` \ No newline at end of file diff --git a/types/gapi.client.appstate/tsconfig.json b/types/gapi.client.appstate/tsconfig.json new file mode 100644 index 0000000000..e9b5b7a850 --- /dev/null +++ b/types/gapi.client.appstate/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.appstate-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.appstate/tslint.json b/types/gapi.client.appstate/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.appstate/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.bigquery/gapi.client.bigquery-tests.ts b/types/gapi.client.bigquery/gapi.client.bigquery-tests.ts new file mode 100644 index 0000000000..3bdcc43b1d --- /dev/null +++ b/types/gapi.client.bigquery/gapi.client.bigquery-tests.ts @@ -0,0 +1,202 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('bigquery', 'v2', () => { + /** now we can use gapi.client.bigquery */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data in Google BigQuery */ + 'https://www.googleapis.com/auth/bigquery', + /** Insert data into Google BigQuery */ + 'https://www.googleapis.com/auth/bigquery.insertdata', + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform.read-only', + /** Manage your data and permissions in Google Cloud Storage */ + 'https://www.googleapis.com/auth/devstorage.full_control', + /** View your data in Google Cloud Storage */ + 'https://www.googleapis.com/auth/devstorage.read_only', + /** Manage your data in Google Cloud Storage */ + 'https://www.googleapis.com/auth/devstorage.read_write', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Deletes the dataset specified by the datasetId value. Before you can delete a dataset, you must delete all its tables, either manually or by specifying + * deleteContents. Immediately after deletion, you can create another dataset with the same name. + */ + await gapi.client.datasets.delete({ + datasetId: "datasetId", + deleteContents: true, + projectId: "projectId", + }); + /** Returns the dataset specified by datasetID. */ + await gapi.client.datasets.get({ + datasetId: "datasetId", + projectId: "projectId", + }); + /** Creates a new empty dataset. */ + await gapi.client.datasets.insert({ + projectId: "projectId", + }); + /** Lists all datasets in the specified project to which you have been granted the READER dataset role. */ + await gapi.client.datasets.list({ + all: true, + filter: "filter", + maxResults: 3, + pageToken: "pageToken", + projectId: "projectId", + }); + /** + * Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that + * are provided in the submitted dataset resource. This method supports patch semantics. + */ + await gapi.client.datasets.patch({ + datasetId: "datasetId", + projectId: "projectId", + }); + /** + * Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that + * are provided in the submitted dataset resource. + */ + await gapi.client.datasets.update({ + datasetId: "datasetId", + projectId: "projectId", + }); + /** + * Requests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed + * successfully. Cancelled jobs may still incur costs. + */ + await gapi.client.jobs.cancel({ + jobId: "jobId", + projectId: "projectId", + }); + /** + * Returns information about a specific job. Job information is available for a six month period after creation. Requires that you're the person who ran + * the job, or have the Is Owner project role. + */ + await gapi.client.jobs.get({ + jobId: "jobId", + projectId: "projectId", + }); + /** Retrieves the results of a query job. */ + await gapi.client.jobs.getQueryResults({ + jobId: "jobId", + maxResults: 2, + pageToken: "pageToken", + projectId: "projectId", + startIndex: "startIndex", + timeoutMs: 6, + }); + /** Starts a new asynchronous job. Requires the Can View project role. */ + await gapi.client.jobs.insert({ + projectId: "projectId", + }); + /** + * Lists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in + * reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property. + */ + await gapi.client.jobs.list({ + allUsers: true, + maxResults: 2, + pageToken: "pageToken", + projectId: "projectId", + projection: "projection", + stateFilter: "stateFilter", + }); + /** Runs a BigQuery SQL query synchronously and returns query results if the query completes within a specified timeout. */ + await gapi.client.jobs.query({ + projectId: "projectId", + }); + /** Returns the email address of the service account for your project used for interactions with Google Cloud KMS. */ + await gapi.client.projects.getServiceAccount({ + projectId: "projectId", + }); + /** Lists all projects to which you have been granted any project role. */ + await gapi.client.projects.list({ + maxResults: 1, + pageToken: "pageToken", + }); + /** Streams data into BigQuery one record at a time without needing to run a load job. Requires the WRITER dataset role. */ + await gapi.client.tabledata.insertAll({ + datasetId: "datasetId", + projectId: "projectId", + tableId: "tableId", + }); + /** Retrieves table data from a specified set of rows. Requires the READER dataset role. */ + await gapi.client.tabledata.list({ + datasetId: "datasetId", + maxResults: 2, + pageToken: "pageToken", + projectId: "projectId", + selectedFields: "selectedFields", + startIndex: "startIndex", + tableId: "tableId", + }); + /** Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted. */ + await gapi.client.tables.delete({ + datasetId: "datasetId", + projectId: "projectId", + tableId: "tableId", + }); + /** + * Gets the specified table resource by table ID. This method does not return the data in the table, it only returns the table resource, which describes + * the structure of this table. + */ + await gapi.client.tables.get({ + datasetId: "datasetId", + projectId: "projectId", + selectedFields: "selectedFields", + tableId: "tableId", + }); + /** Creates a new, empty table in the dataset. */ + await gapi.client.tables.insert({ + datasetId: "datasetId", + projectId: "projectId", + }); + /** Lists all tables in the specified dataset. Requires the READER dataset role. */ + await gapi.client.tables.list({ + datasetId: "datasetId", + maxResults: 2, + pageToken: "pageToken", + projectId: "projectId", + }); + /** + * Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are + * provided in the submitted table resource. This method supports patch semantics. + */ + await gapi.client.tables.patch({ + datasetId: "datasetId", + projectId: "projectId", + tableId: "tableId", + }); + /** + * Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are + * provided in the submitted table resource. + */ + await gapi.client.tables.update({ + datasetId: "datasetId", + projectId: "projectId", + tableId: "tableId", + }); + } +}); diff --git a/types/gapi.client.bigquery/index.d.ts b/types/gapi.client.bigquery/index.d.ts new file mode 100644 index 0000000000..813d668ea7 --- /dev/null +++ b/types/gapi.client.bigquery/index.d.ts @@ -0,0 +1,1810 @@ +// Type definitions for Google BigQuery API v2 2.0 +// Project: https://cloud.google.com/bigquery/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/bigquery/v2/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load BigQuery API v2 */ + function load(name: "bigquery", version: "v2"): PromiseLike<void>; + function load(name: "bigquery", version: "v2", callback: () => any): void; + + const datasets: bigquery.DatasetsResource; + + const jobs: bigquery.JobsResource; + + const projects: bigquery.ProjectsResource; + + const tabledata: bigquery.TabledataResource; + + const tables: bigquery.TablesResource; + + namespace bigquery { + interface BigtableColumn { + /** + * [Optional] The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text + * strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. 'encoding' can also be set at the column family level. + * However, the setting at this level takes precedence if 'encoding' is set at both levels. + */ + encoding?: string; + /** + * [Optional] If the qualifier is not a valid BigQuery field identifier i.e. does not match [a-zA-Z][a-zA-Z0-9_]*, a valid identifier must be provided as + * the column field name and is used as field name in queries. + */ + fieldName?: string; + /** + * [Optional] If this is set, only the latest version of value in this column are exposed. 'onlyReadLatest' can also be set at the column family level. + * However, the setting at this level takes precedence if 'onlyReadLatest' is set at both levels. + */ + onlyReadLatest?: boolean; + /** + * [Required] Qualifier of the column. Columns in the parent column family that has this exact qualifier are exposed as . field. If the qualifier is valid + * UTF-8 string, it can be specified in the qualifier_string field. Otherwise, a base-64 encoded value must be set to qualifier_encoded. The column field + * name is the same as the column qualifier. However, if the qualifier is not a valid BigQuery field identifier i.e. does not match [a-zA-Z][a-zA-Z0-9_]*, + * a valid identifier must be provided as field_name. + */ + qualifierEncoded?: string; + qualifierString?: string; + /** + * [Optional] The type to convert the value in cells of this column. The values are expected to be encoded using HBase Bytes.toBytes function when using + * the BINARY encoding value. Following BigQuery types are allowed (case-sensitive) - BYTES STRING INTEGER FLOAT BOOLEAN Default type is BYTES. 'type' can + * also be set at the column family level. However, the setting at this level takes precedence if 'type' is set at both levels. + */ + type?: string; + } + interface BigtableColumnFamily { + /** + * [Optional] Lists of columns that should be exposed as individual fields as opposed to a list of (column name, value) pairs. All columns whose qualifier + * matches a qualifier in this list can be accessed as .. Other columns can be accessed as a list through .Column field. + */ + columns?: BigtableColumn[]; + /** + * [Optional] The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text + * strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. This can be overridden for a specific column by listing + * that column in 'columns' and specifying an encoding for it. + */ + encoding?: string; + /** Identifier of the column family. */ + familyId?: string; + /** + * [Optional] If this is set only the latest version of value are exposed for all columns in this column family. This can be overridden for a specific + * column by listing that column in 'columns' and specifying a different setting for that column. + */ + onlyReadLatest?: boolean; + /** + * [Optional] The type to convert the value in cells of this column family. The values are expected to be encoded using HBase Bytes.toBytes function when + * using the BINARY encoding value. Following BigQuery types are allowed (case-sensitive) - BYTES STRING INTEGER FLOAT BOOLEAN Default type is BYTES. This + * can be overridden for a specific column by listing that column in 'columns' and specifying a type for it. + */ + type?: string; + } + interface BigtableOptions { + /** + * [Optional] List of column families to expose in the table schema along with their types. This list restricts the column families that can be referenced + * in queries and specifies their value types. You can use this list to do type conversions - see the 'type' field for more details. If you leave this + * list empty, all column families are present in the table schema and their values are read as BYTES. During a query only the column families referenced + * in that query are read from Bigtable. + */ + columnFamilies?: BigtableColumnFamily[]; + /** + * [Optional] If field is true, then the column families that are not specified in columnFamilies list are not exposed in the table schema. Otherwise, + * they are read with BYTES type values. The default value is false. + */ + ignoreUnspecifiedColumnFamilies?: boolean; + /** + * [Optional] If field is true, then the rowkey column families will be read and converted to string. Otherwise they are read with BYTES type values and + * users need to manually cast them with CAST if necessary. The default value is false. + */ + readRowkeyAsString?: boolean; + } + interface CsvOptions { + /** + * [Optional] Indicates if BigQuery should accept rows that are missing trailing optional columns. If true, BigQuery treats missing trailing columns as + * null values. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is + * returned in the job result. The default value is false. + */ + allowJaggedRows?: boolean; + /** [Optional] Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false. */ + allowQuotedNewlines?: boolean; + /** + * [Optional] The character encoding of the data. The supported values are UTF-8 or ISO-8859-1. The default value is UTF-8. BigQuery decodes the data + * after the raw, binary data has been split using the values of the quote and fieldDelimiter properties. + */ + encoding?: string; + /** + * [Optional] The separator for fields in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded + * string to split the data in its raw, binary state. BigQuery also supports the escape sequence "\t" to specify a tab separator. The default value is a + * comma (','). + */ + fieldDelimiter?: string; + /** + * [Optional] The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first + * byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('"'). If your data does not contain quoted + * sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines + * property to true. + */ + quote?: string; + /** + * [Optional] The number of rows at the top of a CSV file that BigQuery will skip when reading the data. The default value is 0. This property is useful + * if you have header rows in the file that should be skipped. + */ + skipLeadingRows?: string; + } + interface Dataset { + /** + * [Optional] An array of objects that define dataset access for one or more entities. You can set this property when inserting or updating a dataset in + * order to control who is allowed to access the data. If unspecified at dataset creation time, BigQuery adds default dataset access for the following + * entities: access.specialGroup: projectReaders; access.role: READER; access.specialGroup: projectWriters; access.role: WRITER; access.specialGroup: + * projectOwners; access.role: OWNER; access.userByEmail: [dataset creator email]; access.role: OWNER; + */ + access?: Array<{ + /** [Pick one] A domain to grant access to. Any users signed in with the domain specified will be granted the specified access. Example: "example.com". */ + domain?: string; + /** [Pick one] An email address of a Google Group to grant access to. */ + groupByEmail?: string; + /** + * [Required] Describes the rights granted to the user specified by the other member of the access object. The following string values are supported: + * READER, WRITER, OWNER. + */ + role?: string; + /** + * [Pick one] A special group to grant access to. Possible values include: projectOwners: Owners of the enclosing project. projectReaders: Readers of the + * enclosing project. projectWriters: Writers of the enclosing project. allAuthenticatedUsers: All authenticated BigQuery users. + */ + specialGroup?: string; + /** [Pick one] An email address of a user to grant access to. For example: fred@example.com. */ + userByEmail?: string; + /** + * [Pick one] A view from a different dataset to grant access to. Queries executed against that view will have read access to tables in this dataset. The + * role field is not required when this field is set. If that view is updated by any user, access to the view needs to be granted again via an update + * operation. + */ + view?: TableReference; + }>; + /** [Output-only] The time when this dataset was created, in milliseconds since the epoch. */ + creationTime?: string; + /** [Required] A reference that identifies the dataset. */ + datasetReference?: DatasetReference; + /** + * [Optional] The default lifetime of all tables in the dataset, in milliseconds. The minimum value is 3600000 milliseconds (one hour). Once this property + * is set, all newly-created tables in the dataset will have an expirationTime property set to the creation time plus the value in this property, and + * changing the value will only affect new tables, not existing ones. When the expirationTime for a given table is reached, that table will be deleted + * automatically. If a table's expirationTime is modified or removed before the table expires, or if you provide an explicit expirationTime when creating + * a table, that value takes precedence over the default expiration time indicated by this property. + */ + defaultTableExpirationMs?: string; + /** [Optional] A user-friendly description of the dataset. */ + description?: string; + /** [Output-only] A hash of the resource. */ + etag?: string; + /** [Optional] A descriptive name for the dataset. */ + friendlyName?: string; + /** + * [Output-only] The fully-qualified unique name of the dataset in the format projectId:datasetId. The dataset name without the project name is given in + * the datasetId field. When creating a new dataset, leave this field blank, and instead specify the datasetId field. + */ + id?: string; + /** [Output-only] The resource type. */ + kind?: string; + /** + * The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a + * dataset. See Labeling Datasets for more information. + */ + labels?: Record<string, string>; + /** [Output-only] The date when this dataset or any of its tables was last modified, in milliseconds since the epoch. */ + lastModifiedTime?: string; + /** The geographic location where the dataset should reside. Possible values include EU and US. The default value is US. */ + location?: string; + /** [Output-only] A URL that can be used to access the resource again. You can use this URL in Get or Update requests to the resource. */ + selfLink?: string; + } + interface DatasetList { + /** + * An array of the dataset resources in the project. Each resource contains basic information. For full information about a particular dataset resource, + * use the Datasets: get method. This property is omitted when there are no datasets in the project. + */ + datasets?: Array<{ + /** The dataset reference. Use this property to access specific parts of the dataset's ID, such as project ID or dataset ID. */ + datasetReference?: DatasetReference; + /** A descriptive name for the dataset, if one exists. */ + friendlyName?: string; + /** The fully-qualified, unique, opaque ID of the dataset. */ + id?: string; + /** The resource type. This property always returns the value "bigquery#dataset". */ + kind?: string; + /** The labels associated with this dataset. You can use these to organize and group your datasets. */ + labels?: Record<string, string>; + }>; + /** A hash value of the results page. You can use this property to determine if the page has changed since the last request. */ + etag?: string; + /** The list type. This property always returns the value "bigquery#datasetList". */ + kind?: string; + /** A token that can be used to request the next results page. This property is omitted on the final results page. */ + nextPageToken?: string; + } + interface DatasetReference { + /** + * [Required] A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The + * maximum length is 1,024 characters. + */ + datasetId?: string; + /** [Optional] The ID of the project containing this dataset. */ + projectId?: string; + } + interface EncryptionConfiguration { + /** + * [Optional] Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with + * your project requires access to this encryption key. + */ + kmsKeyName?: string; + } + interface ErrorProto { + /** Debugging information. This property is internal to Google and should not be used. */ + debugInfo?: string; + /** Specifies where the error occurred, if present. */ + location?: string; + /** A human-readable description of the error. */ + message?: string; + /** A short error code that summarizes the error. */ + reason?: string; + } + interface ExplainQueryStage { + /** Milliseconds the average shard spent on CPU-bound tasks. */ + computeMsAvg?: string; + /** Milliseconds the slowest shard spent on CPU-bound tasks. */ + computeMsMax?: string; + /** Relative amount of time the average shard spent on CPU-bound tasks. */ + computeRatioAvg?: number; + /** Relative amount of time the slowest shard spent on CPU-bound tasks. */ + computeRatioMax?: number; + /** Unique ID for stage within plan. */ + id?: string; + /** Human-readable name for stage. */ + name?: string; + /** Milliseconds the average shard spent reading input. */ + readMsAvg?: string; + /** Milliseconds the slowest shard spent reading input. */ + readMsMax?: string; + /** Relative amount of time the average shard spent reading input. */ + readRatioAvg?: number; + /** Relative amount of time the slowest shard spent reading input. */ + readRatioMax?: number; + /** Number of records read into the stage. */ + recordsRead?: string; + /** Number of records written by the stage. */ + recordsWritten?: string; + /** Total number of bytes written to shuffle. */ + shuffleOutputBytes?: string; + /** Total number of bytes written to shuffle and spilled to disk. */ + shuffleOutputBytesSpilled?: string; + /** Current status for the stage. */ + status?: string; + /** List of operations within the stage in dependency order (approximately chronological). */ + steps?: ExplainQueryStep[]; + /** Milliseconds the average shard spent waiting to be scheduled. */ + waitMsAvg?: string; + /** Milliseconds the slowest shard spent waiting to be scheduled. */ + waitMsMax?: string; + /** Relative amount of time the average shard spent waiting to be scheduled. */ + waitRatioAvg?: number; + /** Relative amount of time the slowest shard spent waiting to be scheduled. */ + waitRatioMax?: number; + /** Milliseconds the average shard spent on writing output. */ + writeMsAvg?: string; + /** Milliseconds the slowest shard spent on writing output. */ + writeMsMax?: string; + /** Relative amount of time the average shard spent on writing output. */ + writeRatioAvg?: number; + /** Relative amount of time the slowest shard spent on writing output. */ + writeRatioMax?: number; + } + interface ExplainQueryStep { + /** Machine-readable operation type. */ + kind?: string; + /** Human-readable stage descriptions. */ + substeps?: string[]; + } + interface ExternalDataConfiguration { + /** Try to detect schema and format options automatically. Any option specified explicitly will be honored. */ + autodetect?: boolean; + /** [Optional] Additional options if sourceFormat is set to BIGTABLE. */ + bigtableOptions?: BigtableOptions; + /** + * [Optional] The compression type of the data source. Possible values include GZIP and NONE. The default value is NONE. This setting is ignored for + * Google Cloud Bigtable, Google Cloud Datastore backups and Avro formats. + */ + compression?: string; + /** Additional properties to set if sourceFormat is set to CSV. */ + csvOptions?: CsvOptions; + /** [Optional] Additional options if sourceFormat is set to GOOGLE_SHEETS. */ + googleSheetsOptions?: GoogleSheetsOptions; + /** + * [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If + * false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. + * The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that + * don't match any column names Google Cloud Bigtable: This setting is ignored. Google Cloud Datastore backups: This setting is ignored. Avro: This + * setting is ignored. + */ + ignoreUnknownValues?: boolean; + /** + * [Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid + * error is returned in the job result. The default value is 0, which requires that all records are valid. This setting is ignored for Google Cloud + * Bigtable, Google Cloud Datastore backups and Avro formats. + */ + maxBadRecords?: number; + /** + * [Optional] The schema for the data. Schema is required for CSV and JSON formats. Schema is disallowed for Google Cloud Bigtable, Cloud Datastore + * backups, and Avro formats. + */ + schema?: TableSchema; + /** + * [Required] The data format. For CSV files, specify "CSV". For Google sheets, specify "GOOGLE_SHEETS". For newline-delimited JSON, specify + * "NEWLINE_DELIMITED_JSON". For Avro files, specify "AVRO". For Google Cloud Datastore backups, specify "DATASTORE_BACKUP". [Beta] For Google Cloud + * Bigtable, specify "BIGTABLE". + */ + sourceFormat?: string; + /** + * [Required] The fully-qualified URIs that point to your data in Google Cloud. For Google Cloud Storage URIs: Each URI can contain one '*' wildcard + * character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources. For Google Cloud Bigtable URIs: + * Exactly one URI can be specified and it has be a fully specified and valid HTTPS URL for a Google Cloud Bigtable table. For Google Cloud Datastore + * backups, exactly one URI can be specified. Also, the '*' wildcard character is not allowed. + */ + sourceUris?: string[]; + } + interface GetQueryResultsResponse { + /** Whether the query result was fetched from the query cache. */ + cacheHit?: boolean; + /** + * [Output-only] The first errors or warnings encountered during the running of the job. The final message includes the number of errors that caused the + * process to stop. Errors here do not necessarily mean that the job has completed or was unsuccessful. + */ + errors?: ErrorProto[]; + /** A hash of this response. */ + etag?: string; + /** Whether the query has completed or not. If rows or totalRows are present, this will always be true. If this is false, totalRows will not be available. */ + jobComplete?: boolean; + /** + * Reference to the BigQuery Job that was created to run the query. This field will be present even if the original request timed out, in which case + * GetQueryResults can be used to read the results once the query has completed. Since this API only returns the first page of results, subsequent pages + * can be fetched via the same mechanism (GetQueryResults). + */ + jobReference?: JobReference; + /** The resource type of the response. */ + kind?: string; + /** [Output-only] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE. */ + numDmlAffectedRows?: string; + /** A token used for paging results. */ + pageToken?: string; + /** + * An object with as many results as can be contained within the maximum permitted reply size. To get any additional rows, you can call GetQueryResults + * and specify the jobReference returned above. Present only when the query completes successfully. + */ + rows?: TableRow[]; + /** The schema of the results. Present only when the query completes successfully. */ + schema?: TableSchema; + /** The total number of bytes processed for this query. */ + totalBytesProcessed?: string; + /** + * The total number of rows in the complete query result set, which can be more than the number of rows in this single page of results. Present only when + * the query completes successfully. + */ + totalRows?: string; + } + interface GetServiceAccountResponse { + /** The service account email address. */ + email?: string; + /** The resource type of the response. */ + kind?: string; + } + interface GoogleSheetsOptions { + /** + * [Optional] The number of rows at the top of a sheet that BigQuery will skip when reading the data. The default value is 0. This property is useful if + * you have header rows that should be skipped. When autodetect is on, behavior is the following: * skipLeadingRows unspecified - Autodetect tries to + * detect headers in the first row. If they are not detected, the row is read as data. Otherwise data is read starting from the second row. * + * skipLeadingRows is 0 - Instructs autodetect that there are no headers and data should be read starting from the first row. * skipLeadingRows = N > 0 - + * Autodetect skips N-1 rows and tries to detect headers in row N. If headers are not detected, row N is just skipped. Otherwise row N is used to extract + * column names for the detected schema. + */ + skipLeadingRows?: string; + } + interface Job { + /** [Required] Describes the job configuration. */ + configuration?: JobConfiguration; + /** [Output-only] A hash of this resource. */ + etag?: string; + /** [Output-only] Opaque ID field of the job */ + id?: string; + /** [Optional] Reference describing the unique-per-user name of the job. */ + jobReference?: JobReference; + /** [Output-only] The type of the resource. */ + kind?: string; + /** [Output-only] A URL that can be used to access this resource again. */ + selfLink?: string; + /** [Output-only] Information about the job, including starting time and ending time of the job. */ + statistics?: JobStatistics; + /** [Output-only] The status of this job. Examine this value when polling an asynchronous job to see if the job is complete. */ + status?: JobStatus; + /** [Output-only] Email address of the user who ran the job. */ + user_email?: string; + } + interface JobCancelResponse { + /** The final state of the job. */ + job?: Job; + /** The resource type of the response. */ + kind?: string; + } + interface JobConfiguration { + /** [Pick one] Copies a table. */ + copy?: JobConfigurationTableCopy; + /** + * [Optional] If set, don't actually run this job. A valid query will return a mostly empty response with some processing statistics, while an invalid + * query will return the same error it would if it wasn't a dry run. Behavior of non-query jobs is undefined. + */ + dryRun?: boolean; + /** [Pick one] Configures an extract job. */ + extract?: JobConfigurationExtract; + /** + * [Experimental] The labels associated with this job. You can use these to organize and group your jobs. Label keys and values can be no longer than 63 + * characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are + * optional. Label keys must start with a letter and each label in the list must have a different key. + */ + labels?: Record<string, string>; + /** [Pick one] Configures a load job. */ + load?: JobConfigurationLoad; + /** [Pick one] Configures a query job. */ + query?: JobConfigurationQuery; + } + interface JobConfigurationExtract { + /** [Optional] The compression type to use for exported files. Possible values include GZIP and NONE. The default value is NONE. */ + compression?: string; + /** + * [Optional] The exported file format. Possible values include CSV, NEWLINE_DELIMITED_JSON and AVRO. The default value is CSV. Tables with nested or + * repeated fields cannot be exported as CSV. + */ + destinationFormat?: string; + /** + * [Pick one] DEPRECATED: Use destinationUris instead, passing only one URI as necessary. The fully-qualified Google Cloud Storage URI where the extracted + * table should be written. + */ + destinationUri?: string; + /** [Pick one] A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written. */ + destinationUris?: string[]; + /** [Optional] Delimiter to use between fields in the exported data. Default is ',' */ + fieldDelimiter?: string; + /** [Optional] Whether to print out a header row in the results. Default is true. */ + printHeader?: boolean; + /** [Required] A reference to the table being exported. */ + sourceTable?: TableReference; + } + interface JobConfigurationLoad { + /** + * [Optional] Accept rows that are missing trailing optional columns. The missing values are treated as nulls. If false, records with missing trailing + * columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. + * Only applicable to CSV, ignored for other formats. + */ + allowJaggedRows?: boolean; + /** Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false. */ + allowQuotedNewlines?: boolean; + /** Indicates if we should automatically infer the options and schema for CSV and JSON sources. */ + autodetect?: boolean; + /** + * [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not + * exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The + * default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion. + */ + createDisposition?: string; + /** [Experimental] Custom encryption configuration (e.g., Cloud KMS keys). */ + destinationEncryptionConfiguration?: EncryptionConfiguration; + /** [Required] The destination table to load the data into. */ + destinationTable?: TableReference; + /** + * [Optional] The character encoding of the data. The supported values are UTF-8 or ISO-8859-1. The default value is UTF-8. BigQuery decodes the data + * after the raw, binary data has been split using the values of the quote and fieldDelimiter properties. + */ + encoding?: string; + /** + * [Optional] The separator for fields in a CSV file. The separator can be any ISO-8859-1 single-byte character. To use a character in the range 128-255, + * you must encode the character as UTF8. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split + * the data in its raw, binary state. BigQuery also supports the escape sequence "\t" to specify a tab separator. The default value is a comma (','). + */ + fieldDelimiter?: string; + /** + * [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If + * false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. + * The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that + * don't match any column names + */ + ignoreUnknownValues?: boolean; + /** + * [Optional] The maximum number of bad records that BigQuery can ignore when running the job. If the number of bad records exceeds this value, an invalid + * error is returned in the job result. The default value is 0, which requires that all records are valid. + */ + maxBadRecords?: number; + /** + * [Optional] Specifies a string that represents a null value in a CSV file. For example, if you specify "\N", BigQuery interprets "\N" as a null value + * when loading a CSV file. The default value is the empty string. If you set this property to a custom value, BigQuery throws an error if an empty string + * is present for all data types except for STRING and BYTE. For STRING and BYTE columns, BigQuery interprets the empty string as an empty value. + */ + nullMarker?: string; + /** + * If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity properties to load into BigQuery from a Cloud Datastore backup. Property names are + * case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties. If any named property isn't found in + * the Cloud Datastore backup, an invalid error is returned in the job result. + */ + projectionFields?: string[]; + /** + * [Optional] The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first + * byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('"'). If your data does not contain quoted + * sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines + * property to true. + */ + quote?: string; + /** + * [Optional] The schema for the destination table. The schema can be omitted if the destination table already exists, or if you're loading data from + * Google Cloud Datastore. + */ + schema?: TableSchema; + /** [Deprecated] The inline schema. For CSV schemas, specify as "Field1:Type1[,Field2:Type2]*". For example, "foo:STRING, bar:INTEGER, baz:FLOAT". */ + schemaInline?: string; + /** [Deprecated] The format of the schemaInline property. */ + schemaInlineFormat?: string; + /** + * [Experimental] Allows the schema of the desitination table to be updated as a side effect of the load job if a schema is autodetected or supplied in + * the job configuration. Schema update options are supported in two cases: when writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE + * and the destination table is a partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the + * schema. One or more of the following values are specified: ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. ALLOW_FIELD_RELAXATION: + * allow relaxing a required field in the original schema to nullable. + */ + schemaUpdateOptions?: string[]; + /** + * [Optional] The number of rows at the top of a CSV file that BigQuery will skip when loading the data. The default value is 0. This property is useful + * if you have header rows in the file that should be skipped. + */ + skipLeadingRows?: number; + /** + * [Optional] The format of the data files. For CSV files, specify "CSV". For datastore backups, specify "DATASTORE_BACKUP". For newline-delimited JSON, + * specify "NEWLINE_DELIMITED_JSON". For Avro, specify "AVRO". The default value is CSV. + */ + sourceFormat?: string; + /** + * [Required] The fully-qualified URIs that point to your data in Google Cloud. For Google Cloud Storage URIs: Each URI can contain one '*' wildcard + * character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources. For Google Cloud Bigtable URIs: + * Exactly one URI can be specified and it has be a fully specified and valid HTTPS URL for a Google Cloud Bigtable table. For Google Cloud Datastore + * backups: Exactly one URI can be specified. Also, the '*' wildcard character is not allowed. + */ + sourceUris?: string[]; + /** [Experimental] If specified, configures time-based partitioning for the destination table. */ + timePartitioning?: TimePartitioning; + /** + * [Optional] Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table + * already exists, BigQuery overwrites the table data. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If + * the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_APPEND. Each action is atomic + * and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job + * completion. + */ + writeDisposition?: string; + } + interface JobConfigurationQuery { + /** + * [Optional] If true and query uses legacy SQL dialect, allows the query to produce arbitrarily large result tables at a slight cost in performance. + * Requires destinationTable to be set. For standard SQL queries, this flag is ignored and large results are always allowed. However, you must still set + * destinationTable when result size exceeds the allowed maximum response size. + */ + allowLargeResults?: boolean; + /** + * [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not + * exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The + * default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion. + */ + createDisposition?: string; + /** [Optional] Specifies the default dataset to use for unqualified table names in the query. */ + defaultDataset?: DatasetReference; + /** [Experimental] Custom encryption configuration (e.g., Cloud KMS keys). */ + destinationEncryptionConfiguration?: EncryptionConfiguration; + /** + * [Optional] Describes the table where the query results should be stored. If not present, a new table will be created to store the results. This + * property must be set for large results that exceed the maximum response size. + */ + destinationTable?: TableReference; + /** + * [Optional] If true and query uses legacy SQL dialect, flattens all nested and repeated fields in the query results. allowLargeResults must be true if + * this is set to false. For standard SQL queries, this flag is ignored and results are never flattened. + */ + flattenResults?: boolean; + /** + * [Optional] Limits the billing tier for this job. Queries that have resource usage beyond this tier will fail (without incurring a charge). If + * unspecified, this will be set to your project default. + */ + maximumBillingTier?: number; + /** + * [Optional] Limits the bytes billed for this job. Queries that will have bytes billed beyond this limit will fail (without incurring a charge). If + * unspecified, this will be set to your project default. + */ + maximumBytesBilled?: string; + /** Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query. */ + parameterMode?: string; + /** [Deprecated] This property is deprecated. */ + preserveNulls?: boolean; + /** [Optional] Specifies a priority for the query. Possible values include INTERACTIVE and BATCH. The default value is INTERACTIVE. */ + priority?: string; + /** [Required] SQL query text to execute. The useLegacySql field can be used to indicate whether the query uses legacy SQL or standard SQL. */ + query?: string; + /** Query parameters for standard SQL queries. */ + queryParameters?: QueryParameter[]; + /** + * [Experimental] Allows the schema of the destination table to be updated as a side effect of the query job. Schema update options are supported in two + * cases: when writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table, specified by + * partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the following values are specified: + * ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to + * nullable. + */ + schemaUpdateOptions?: string[]; + /** + * [Optional] If querying an external data source outside of BigQuery, describes the data format, location and other properties of the data source. By + * defining these properties, the data source can then be queried as if it were a standard BigQuery table. + */ + tableDefinitions?: Record<string, ExternalDataConfiguration>; + /** [Experimental] If specified, configures time-based partitioning for the destination table. */ + timePartitioning?: TimePartitioning; + /** + * Specifies whether to use BigQuery's legacy SQL dialect for this query. The default value is true. If set to false, the query will use BigQuery's + * standard SQL: https://cloud.google.com/bigquery/sql-reference/ When useLegacySql is set to false, the value of flattenResults is ignored; query will be + * run as if flattenResults is false. + */ + useLegacySql?: boolean; + /** + * [Optional] Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever tables in the query + * are modified. Moreover, the query cache is only available when a query does not have a destination table specified. The default value is true. + */ + useQueryCache?: boolean; + /** Describes user-defined function resources used in the query. */ + userDefinedFunctionResources?: UserDefinedFunctionResource[]; + /** + * [Optional] Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table + * already exists, BigQuery overwrites the table data and uses the schema from the query result. WRITE_APPEND: If the table already exists, BigQuery + * appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The + * default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and + * append actions occur as one atomic update upon job completion. + */ + writeDisposition?: string; + } + interface JobConfigurationTableCopy { + /** + * [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not + * exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The + * default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion. + */ + createDisposition?: string; + /** [Experimental] Custom encryption configuration (e.g., Cloud KMS keys). */ + destinationEncryptionConfiguration?: EncryptionConfiguration; + /** [Required] The destination table */ + destinationTable?: TableReference; + /** [Pick one] Source table to copy. */ + sourceTable?: TableReference; + /** [Pick one] Source tables to copy. */ + sourceTables?: TableReference[]; + /** + * [Optional] Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table + * already exists, BigQuery overwrites the table data. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If + * the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic + * and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job + * completion. + */ + writeDisposition?: string; + } + interface JobList { + /** A hash of this page of results. */ + etag?: string; + /** List of jobs that were requested. */ + jobs?: Array<{ + /** [Full-projection-only] Specifies the job configuration. */ + configuration?: JobConfiguration; + /** A result object that will be present only if the job has failed. */ + errorResult?: ErrorProto; + /** Unique opaque ID of the job. */ + id?: string; + /** Job reference uniquely identifying the job. */ + jobReference?: JobReference; + /** The resource type. */ + kind?: string; + /** Running state of the job. When the state is DONE, errorResult can be checked to determine whether the job succeeded or failed. */ + state?: string; + /** [Output-only] Information about the job, including starting time and ending time of the job. */ + statistics?: JobStatistics; + /** [Full-projection-only] Describes the state of the job. */ + status?: JobStatus; + /** [Full-projection-only] Email address of the user who ran the job. */ + user_email?: string; + }>; + /** The resource type of the response. */ + kind?: string; + /** A token to request the next page of results. */ + nextPageToken?: string; + } + interface JobReference { + /** + * [Required] The ID of the job. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). The maximum length is 1,024 + * characters. + */ + jobId?: string; + /** [Required] The ID of the project containing this job. */ + projectId?: string; + } + interface JobStatistics { + /** [Output-only] Creation time of this job, in milliseconds since the epoch. This field will be present on all jobs. */ + creationTime?: string; + /** [Output-only] End time of this job, in milliseconds since the epoch. This field will be present whenever a job is in the DONE state. */ + endTime?: string; + /** [Output-only] Statistics for an extract job. */ + extract?: JobStatistics4; + /** [Output-only] Statistics for a load job. */ + load?: JobStatistics3; + /** [Output-only] Statistics for a query job. */ + query?: JobStatistics2; + /** + * [Output-only] Start time of this job, in milliseconds since the epoch. This field will be present when the job transitions from the PENDING state to + * either RUNNING or DONE. + */ + startTime?: string; + /** [Output-only] [Deprecated] Use the bytes processed in the query statistics instead. */ + totalBytesProcessed?: string; + } + interface JobStatistics2 { + /** [Output-only] Billing tier for the job. */ + billingTier?: number; + /** [Output-only] Whether the query result was fetched from the query cache. */ + cacheHit?: boolean; + /** [Output-only] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE. */ + numDmlAffectedRows?: string; + /** [Output-only] Describes execution plan for the query. */ + queryPlan?: ExplainQueryStage[]; + /** [Output-only, Experimental] Referenced tables for the job. Queries that reference more than 50 tables will not have a complete list. */ + referencedTables?: TableReference[]; + /** [Output-only, Experimental] The schema of the results. Present only for successful dry run of non-legacy SQL queries. */ + schema?: TableSchema; + /** [Output-only, Experimental] The type of query statement, if valid. */ + statementType?: string; + /** [Output-only] Total bytes billed for the job. */ + totalBytesBilled?: string; + /** [Output-only] Total bytes processed for the job. */ + totalBytesProcessed?: string; + /** [Output-only] Slot-milliseconds for the job. */ + totalSlotMs?: string; + /** [Output-only, Experimental] Standard SQL only: list of undeclared query parameters detected during a dry run validation. */ + undeclaredQueryParameters?: QueryParameter[]; + } + interface JobStatistics3 { + /** + * [Output-only] The number of bad records encountered. Note that if the job has failed because of more bad records encountered than the maximum allowed + * in the load job configuration, then this number can be less than the total number of bad records present in the input data. + */ + badRecords?: string; + /** [Output-only] Number of bytes of source data in a load job. */ + inputFileBytes?: string; + /** [Output-only] Number of source files in a load job. */ + inputFiles?: string; + /** [Output-only] Size of the loaded data in bytes. Note that while a load job is in the running state, this value may change. */ + outputBytes?: string; + /** [Output-only] Number of rows imported in a load job. Note that while an import job is in the running state, this value may change. */ + outputRows?: string; + } + interface JobStatistics4 { + /** + * [Output-only] Number of files per destination URI or URI pattern specified in the extract configuration. These values will be in the same order as the + * URIs specified in the 'destinationUris' field. + */ + destinationUriFileCounts?: string[]; + } + interface JobStatus { + /** [Output-only] Final error result of the job. If present, indicates that the job has completed and was unsuccessful. */ + errorResult?: ErrorProto; + /** + * [Output-only] The first errors encountered during the running of the job. The final message includes the number of errors that caused the process to + * stop. Errors here do not necessarily mean that the job has completed or was unsuccessful. + */ + errors?: ErrorProto[]; + /** [Output-only] Running state of the job. */ + state?: string; + } + interface JsonObject { + [key: string]: any; + } + interface ProjectList { + /** A hash of the page of results */ + etag?: string; + /** The type of list. */ + kind?: string; + /** A token to request the next page of results. */ + nextPageToken?: string; + /** Projects to which you have at least READ access. */ + projects?: Array<{ + /** A descriptive name for this project. */ + friendlyName?: string; + /** An opaque ID of this project. */ + id?: string; + /** The resource type. */ + kind?: string; + /** The numeric ID of this project. */ + numericId?: string; + /** A unique reference to this project. */ + projectReference?: ProjectReference; + }>; + /** The total number of projects in the list. */ + totalItems?: number; + } + interface ProjectReference { + /** [Required] ID of the project. Can be either the numeric ID or the assigned ID of the project. */ + projectId?: string; + } + interface QueryParameter { + /** [Optional] If unset, this is a positional parameter. Otherwise, should be unique within a query. */ + name?: string; + /** [Required] The type of this parameter. */ + parameterType?: QueryParameterType; + /** [Required] The value of this parameter. */ + parameterValue?: QueryParameterValue; + } + interface QueryParameterType { + /** [Optional] The type of the array's elements, if this is an array. */ + arrayType?: QueryParameterType; + /** [Optional] The types of the fields of this struct, in order, if this is a struct. */ + structTypes?: Array<{ + /** [Optional] Human-oriented description of the field. */ + description?: string; + /** [Optional] The name of this field. */ + name?: string; + /** [Required] The type of this field. */ + type?: QueryParameterType; + }>; + /** [Required] The top level type of this field. */ + type?: string; + } + interface QueryParameterValue { + /** [Optional] The array values, if this is an array type. */ + arrayValues?: QueryParameterValue[]; + /** [Optional] The struct field values, in order of the struct type's declaration. */ + structValues?: Record<string, QueryParameterValue>; + /** [Optional] The value of this value, if a simple scalar type. */ + value?: string; + } + interface QueryRequest { + /** + * [Optional] Specifies the default datasetId and projectId to assume for any unqualified table names in the query. If not set, all table names in the + * query string must be qualified in the format 'datasetId.tableId'. + */ + defaultDataset?: DatasetReference; + /** + * [Optional] If set to true, BigQuery doesn't run the job. Instead, if the query is valid, BigQuery returns statistics about the job such as how many + * bytes would be processed. If the query is invalid, an error returns. The default value is false. + */ + dryRun?: boolean; + /** The resource type of the request. */ + kind?: string; + /** + * [Optional] The maximum number of rows of data to return per page of results. Setting this flag to a small value such as 1000 and then paging through + * results might improve reliability when the query result set is large. In addition to this limit, responses are also limited to 10 MB. By default, there + * is no maximum row count, and only the byte limit applies. + */ + maxResults?: number; + /** Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query. */ + parameterMode?: string; + /** [Deprecated] This property is deprecated. */ + preserveNulls?: boolean; + /** + * [Required] A query string, following the BigQuery query syntax, of the query to execute. Example: "SELECT count(f1) FROM + * [myProjectId:myDatasetId.myTableId]". + */ + query?: string; + /** Query parameters for Standard SQL queries. */ + queryParameters?: QueryParameter[]; + /** + * [Optional] How long to wait for the query to complete, in milliseconds, before the request times out and returns. Note that this is only a timeout for + * the request, not the query. If the query takes longer to run than the timeout value, the call returns without any results and with the 'jobComplete' + * flag set to false. You can call GetQueryResults() to wait for the query to complete and read the results. The default value is 10000 milliseconds (10 + * seconds). + */ + timeoutMs?: number; + /** + * Specifies whether to use BigQuery's legacy SQL dialect for this query. The default value is true. If set to false, the query will use BigQuery's + * standard SQL: https://cloud.google.com/bigquery/sql-reference/ When useLegacySql is set to false, the value of flattenResults is ignored; query will be + * run as if flattenResults is false. + */ + useLegacySql?: boolean; + /** + * [Optional] Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever tables in the query + * are modified. The default value is true. + */ + useQueryCache?: boolean; + } + interface QueryResponse { + /** Whether the query result was fetched from the query cache. */ + cacheHit?: boolean; + /** + * [Output-only] The first errors or warnings encountered during the running of the job. The final message includes the number of errors that caused the + * process to stop. Errors here do not necessarily mean that the job has completed or was unsuccessful. + */ + errors?: ErrorProto[]; + /** Whether the query has completed or not. If rows or totalRows are present, this will always be true. If this is false, totalRows will not be available. */ + jobComplete?: boolean; + /** + * Reference to the Job that was created to run the query. This field will be present even if the original request timed out, in which case + * GetQueryResults can be used to read the results once the query has completed. Since this API only returns the first page of results, subsequent pages + * can be fetched via the same mechanism (GetQueryResults). + */ + jobReference?: JobReference; + /** The resource type. */ + kind?: string; + /** [Output-only] The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE. */ + numDmlAffectedRows?: string; + /** A token used for paging results. */ + pageToken?: string; + /** + * An object with as many results as can be contained within the maximum permitted reply size. To get any additional rows, you can call GetQueryResults + * and specify the jobReference returned above. + */ + rows?: TableRow[]; + /** The schema of the results. Present only when the query completes successfully. */ + schema?: TableSchema; + /** + * The total number of bytes processed for this query. If this query was a dry run, this is the number of bytes that would be processed if the query were + * run. + */ + totalBytesProcessed?: string; + /** The total number of rows in the complete query result set, which can be more than the number of rows in this single page of results. */ + totalRows?: string; + } + interface Streamingbuffer { + /** [Output-only] A lower-bound estimate of the number of bytes currently in the streaming buffer. */ + estimatedBytes?: string; + /** [Output-only] A lower-bound estimate of the number of rows currently in the streaming buffer. */ + estimatedRows?: string; + /** + * [Output-only] Contains the timestamp of the oldest entry in the streaming buffer, in milliseconds since the epoch, if the streaming buffer is + * available. + */ + oldestEntryTime?: string; + } + interface Table { + /** [Output-only] The time when this table was created, in milliseconds since the epoch. */ + creationTime?: string; + /** [Optional] A user-friendly description of this table. */ + description?: string; + /** [Experimental] Custom encryption configuration (e.g., Cloud KMS keys). */ + encryptionConfiguration?: EncryptionConfiguration; + /** [Output-only] A hash of this resource. */ + etag?: string; + /** + * [Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will + * be deleted and their storage reclaimed. + */ + expirationTime?: string; + /** + * [Optional] Describes the data format, location, and other properties of a table stored outside of BigQuery. By defining these properties, the data + * source can then be queried as if it were a standard BigQuery table. + */ + externalDataConfiguration?: ExternalDataConfiguration; + /** [Optional] A descriptive name for this table. */ + friendlyName?: string; + /** [Output-only] An opaque ID uniquely identifying the table. */ + id?: string; + /** [Output-only] The type of the resource. */ + kind?: string; + /** + * [Experimental] The labels associated with this table. You can use these to organize and group your tables. Label keys and values can be no longer than + * 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are + * optional. Label keys must start with a letter and each label in the list must have a different key. + */ + labels?: Record<string, string>; + /** [Output-only] The time when this table was last modified, in milliseconds since the epoch. */ + lastModifiedTime?: string; + /** [Output-only] The geographic location where the table resides. This value is inherited from the dataset. */ + location?: string; + /** [Output-only] The size of this table in bytes, excluding any data in the streaming buffer. */ + numBytes?: string; + /** [Output-only] The number of bytes in the table that are considered "long-term storage". */ + numLongTermBytes?: string; + /** [Output-only] The number of rows of data in this table, excluding any data in the streaming buffer. */ + numRows?: string; + /** [Optional] Describes the schema of this table. */ + schema?: TableSchema; + /** [Output-only] A URL that can be used to access this resource again. */ + selfLink?: string; + /** + * [Output-only] Contains information regarding this table's streaming buffer, if one is present. This field will be absent if the table is not being + * streamed to or if there is no data in the streaming buffer. + */ + streamingBuffer?: Streamingbuffer; + /** [Required] Reference describing the ID of this table. */ + tableReference?: TableReference; + /** [Experimental] If specified, configures time-based partitioning for this table. */ + timePartitioning?: TimePartitioning; + /** + * [Output-only] Describes the table type. The following values are supported: TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL + * query. EXTERNAL: A table that references data stored in an external storage system, such as Google Cloud Storage. The default value is TABLE. + */ + type?: string; + /** [Optional] The view definition. */ + view?: ViewDefinition; + } + interface TableCell { + v?: any; + } + interface TableDataInsertAllRequest { + /** + * [Optional] Accept rows that contain values that do not match the schema. The unknown values are ignored. Default is false, which treats unknown values + * as errors. + */ + ignoreUnknownValues?: boolean; + /** The resource type of the response. */ + kind?: string; + /** The rows to insert. */ + rows?: Array<{ + /** [Optional] A unique ID for each row. BigQuery uses this property to detect duplicate insertion requests on a best-effort basis. */ + insertId?: string; + /** [Required] A JSON object that contains a row of data. The object's properties and values must match the destination table's schema. */ + json?: JsonObject; + }>; + /** + * [Optional] Insert all valid rows of a request, even if invalid rows exist. The default value is false, which causes the entire request to fail if any + * invalid rows exist. + */ + skipInvalidRows?: boolean; + /** + * [Experimental] If specified, treats the destination table as a base template, and inserts the rows into an instance table named + * "{destination}{templateSuffix}". BigQuery will manage creation of the instance table, using the schema of the base template table. See + * https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables for considerations when working with templates tables. + */ + templateSuffix?: string; + } + interface TableDataInsertAllResponse { + /** An array of errors for rows that were not inserted. */ + insertErrors?: Array<{ + /** Error information for the row indicated by the index property. */ + errors?: ErrorProto[]; + /** The index of the row that error applies to. */ + index?: number; + }>; + /** The resource type of the response. */ + kind?: string; + } + interface TableDataList { + /** A hash of this page of results. */ + etag?: string; + /** The resource type of the response. */ + kind?: string; + /** + * A token used for paging results. Providing this token instead of the startIndex parameter can help you retrieve stable results when an underlying table + * is changing. + */ + pageToken?: string; + /** Rows of results. */ + rows?: TableRow[]; + /** The total number of rows in the complete table. */ + totalRows?: string; + } + interface TableFieldSchema { + /** [Optional] The field description. The maximum length is 1,024 characters. */ + description?: string; + /** [Optional] Describes the nested schema fields if the type property is set to RECORD. */ + fields?: TableFieldSchema[]; + /** [Optional] The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE. */ + mode?: string; + /** + * [Required] The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or + * underscore. The maximum length is 128 characters. + */ + name?: string; + /** + * [Required] The field data type. Possible values include STRING, BYTES, INTEGER, INT64 (same as INTEGER), FLOAT, FLOAT64 (same as FLOAT), BOOLEAN, BOOL + * (same as BOOLEAN), TIMESTAMP, DATE, TIME, DATETIME, RECORD (where RECORD indicates that the field contains a nested schema) or STRUCT (same as RECORD). + */ + type?: string; + } + interface TableList { + /** A hash of this page of results. */ + etag?: string; + /** The type of list. */ + kind?: string; + /** A token to request the next page of results. */ + nextPageToken?: string; + /** Tables in the requested dataset. */ + tables?: Array<{ + /** The time when this table was created, in milliseconds since the epoch. */ + creationTime?: string; + /** + * [Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will + * be deleted and their storage reclaimed. + */ + expirationTime?: string; + /** The user-friendly name for this table. */ + friendlyName?: string; + /** An opaque ID of the table */ + id?: string; + /** The resource type. */ + kind?: string; + /** [Experimental] The labels associated with this table. You can use these to organize and group your tables. */ + labels?: Record<string, string>; + /** A reference uniquely identifying the table. */ + tableReference?: TableReference; + /** [Experimental] The time-based partitioning for this table. */ + timePartitioning?: TimePartitioning; + /** The type of table. Possible values are: TABLE, VIEW. */ + type?: string; + /** Additional details for a view. */ + view?: { + /** True if view is defined in legacy SQL dialect, false if in standard SQL. */ + useLegacySql?: boolean; + }; + }>; + /** The total number of tables in the dataset. */ + totalItems?: number; + } + interface TableReference { + /** [Required] The ID of the dataset containing this table. */ + datasetId?: string; + /** [Required] The ID of the project containing this table. */ + projectId?: string; + /** [Required] The ID of the table. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. */ + tableId?: string; + } + interface TableRow { + /** Represents a single row in the result set, consisting of one or more fields. */ + f?: TableCell[]; + } + interface TableSchema { + /** Describes the fields in a table. */ + fields?: TableFieldSchema[]; + } + interface TimePartitioning { + /** [Optional] Number of milliseconds for which to keep the storage for a partition. */ + expirationMs?: string; + /** + * [Experimental] [Optional] If not set, the table is partitioned by pseudo column '_PARTITIONTIME'; if set, the table is partitioned by this field. The + * field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED. + */ + field?: string; + /** [Required] The only type supported is DAY, which will generate one partition per day. */ + type?: string; + } + interface UserDefinedFunctionResource { + /** + * [Pick one] An inline resource that contains code for a user-defined function (UDF). Providing a inline code resource is equivalent to providing a URI + * for a file containing the same code. + */ + inlineCode?: string; + /** [Pick one] A code resource to load from a Google Cloud Storage URI (gs://bucket/path). */ + resourceUri?: string; + } + interface ViewDefinition { + /** [Required] A query that BigQuery executes when the view is referenced. */ + query?: string; + /** + * Specifies whether to use BigQuery's legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery's standard SQL: + * https://cloud.google.com/bigquery/sql-reference/ Queries and views that reference this view must use the same flag value. + */ + useLegacySql?: boolean; + /** Describes user-defined function resources used in the query. */ + userDefinedFunctionResources?: UserDefinedFunctionResource[]; + } + interface DatasetsResource { + /** + * Deletes the dataset specified by the datasetId value. Before you can delete a dataset, you must delete all its tables, either manually or by specifying + * deleteContents. Immediately after deletion, you can create another dataset with the same name. + */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Dataset ID of dataset being deleted */ + datasetId: string; + /** If True, delete all the tables in the dataset. If False and the dataset contains tables, the request will fail. Default is False */ + deleteContents?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the dataset being deleted */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Returns the dataset specified by datasetID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Dataset ID of the requested dataset */ + datasetId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the requested dataset */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Dataset>; + /** Creates a new empty dataset. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the new dataset */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Dataset>; + /** Lists all datasets in the specified project to which you have been granted the READER dataset role. */ + list(request: { + /** Whether to list all datasets, including hidden ones */ + all?: boolean; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * An expression for filtering the results of the request by label. The syntax is "labels.<name>[:<value>]". Multiple filters can be ANDed together by + * connecting with a space. Example: "labels.department:receiving labels.active". See Filtering datasets using labels for details. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of results to return */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Page token, returned by a previous call, to request the next page of results */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the datasets to be listed */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DatasetList>; + /** + * Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that + * are provided in the submitted dataset resource. This method supports patch semantics. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Dataset ID of the dataset being updated */ + datasetId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the dataset being updated */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Dataset>; + /** + * Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that + * are provided in the submitted dataset resource. + */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Dataset ID of the dataset being updated */ + datasetId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the dataset being updated */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Dataset>; + } + interface JobsResource { + /** + * Requests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed + * successfully. Cancelled jobs may still incur costs. + */ + cancel(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** [Required] Job ID of the job to cancel */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** [Required] Project ID of the job to cancel */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<JobCancelResponse>; + /** + * Returns information about a specific job. Job information is available for a six month period after creation. Requires that you're the person who ran + * the job, or have the Is Owner project role. + */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** [Required] Job ID of the requested job */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** [Required] Project ID of the requested job */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Job>; + /** Retrieves the results of a query job. */ + getQueryResults(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** [Required] Job ID of the query job */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to read */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Page token, returned by a previous call, to request the next page of results */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** [Required] Project ID of the query job */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Zero-based index of the starting row */ + startIndex?: string; + /** + * How long to wait for the query to complete, in milliseconds, before returning. Default is 10 seconds. If the timeout passes before the job completes, + * the 'jobComplete' field in the response will be false + */ + timeoutMs?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GetQueryResultsResponse>; + /** Starts a new asynchronous job. Requires the Can View project role. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that will be billed for the job */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Job>; + /** + * Lists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in + * reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property. + */ + list(request: { + /** Whether to display jobs owned by all users in the project. Default false */ + allUsers?: boolean; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Page token, returned by a previous call, to request the next page of results */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the jobs to list */ + projectId: string; + /** Restrict information returned to a set of selected fields */ + projection?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Filter for job state */ + stateFilter?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<JobList>; + /** Runs a BigQuery SQL query synchronously and returns query results if the query completes within a specified timeout. */ + query(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project billed for the query */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<QueryResponse>; + } + interface ProjectsResource { + /** Returns the email address of the service account for your project used for interactions with Google Cloud KMS. */ + getServiceAccount(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for which the service account is requested. */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GetServiceAccountResponse>; + /** Lists all projects to which you have been granted any project role. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Page token, returned by a previous call, to request the next page of results */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ProjectList>; + } + interface TabledataResource { + /** Streams data into BigQuery one record at a time without needing to run a load job. Requires the WRITER dataset role. */ + insertAll(request: { + /** Data format for the response. */ + alt?: string; + /** Dataset ID of the destination table. */ + datasetId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the destination table. */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Table ID of the destination table. */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TableDataInsertAllResponse>; + /** Retrieves table data from a specified set of rows. Requires the READER dataset role. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Dataset ID of the table to read */ + datasetId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Page token, returned by a previous call, identifying the result set */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the table to read */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** List of fields to return (comma-separated). If unspecified, all fields are returned */ + selectedFields?: string; + /** Zero-based index of the starting row to read */ + startIndex?: string; + /** Table ID of the table to read */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TableDataList>; + } + interface TablesResource { + /** Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Dataset ID of the table to delete */ + datasetId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the table to delete */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Table ID of the table to delete */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Gets the specified table resource by table ID. This method does not return the data in the table, it only returns the table resource, which describes + * the structure of this table. + */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Dataset ID of the requested table */ + datasetId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the requested table */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** List of fields to return (comma-separated). If unspecified, all fields are returned */ + selectedFields?: string; + /** Table ID of the requested table */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Table>; + /** Creates a new, empty table in the dataset. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Dataset ID of the new table */ + datasetId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the new table */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Table>; + /** Lists all tables in the specified dataset. Requires the READER dataset role. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Dataset ID of the tables to list */ + datasetId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Page token, returned by a previous call, to request the next page of results */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the tables to list */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TableList>; + /** + * Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are + * provided in the submitted table resource. This method supports patch semantics. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Dataset ID of the table to update */ + datasetId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the table to update */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Table ID of the table to update */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Table>; + /** + * Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are + * provided in the submitted table resource. + */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Dataset ID of the table to update */ + datasetId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the table to update */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Table ID of the table to update */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Table>; + } + } +} diff --git a/types/gapi.client.bigquery/readme.md b/types/gapi.client.bigquery/readme.md new file mode 100644 index 0000000000..4a76f83277 --- /dev/null +++ b/types/gapi.client.bigquery/readme.md @@ -0,0 +1,182 @@ +# TypeScript typings for BigQuery API v2 +A data platform for customers to create, manage, share and query data. +For detailed description please check [documentation](https://cloud.google.com/bigquery/). + +## Installing + +Install typings for BigQuery API: +``` +npm install @types/gapi.client.bigquery@v2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('bigquery', 'v2', () => { + // now we can use gapi.client.bigquery + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data in Google BigQuery + 'https://www.googleapis.com/auth/bigquery', + + // Insert data into Google BigQuery + 'https://www.googleapis.com/auth/bigquery.insertdata', + + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform.read-only', + + // Manage your data and permissions in Google Cloud Storage + 'https://www.googleapis.com/auth/devstorage.full_control', + + // View your data in Google Cloud Storage + 'https://www.googleapis.com/auth/devstorage.read_only', + + // Manage your data in Google Cloud Storage + 'https://www.googleapis.com/auth/devstorage.read_write', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use BigQuery API resources: + +```typescript + +/* +Deletes the dataset specified by the datasetId value. Before you can delete a dataset, you must delete all its tables, either manually or by specifying deleteContents. Immediately after deletion, you can create another dataset with the same name. +*/ +await gapi.client.datasets.delete({ datasetId: "datasetId", projectId: "projectId", }); + +/* +Returns the dataset specified by datasetID. +*/ +await gapi.client.datasets.get({ datasetId: "datasetId", projectId: "projectId", }); + +/* +Creates a new empty dataset. +*/ +await gapi.client.datasets.insert({ projectId: "projectId", }); + +/* +Lists all datasets in the specified project to which you have been granted the READER dataset role. +*/ +await gapi.client.datasets.list({ projectId: "projectId", }); + +/* +Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. This method supports patch semantics. +*/ +await gapi.client.datasets.patch({ datasetId: "datasetId", projectId: "projectId", }); + +/* +Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. +*/ +await gapi.client.datasets.update({ datasetId: "datasetId", projectId: "projectId", }); + +/* +Requests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed successfully. Cancelled jobs may still incur costs. +*/ +await gapi.client.jobs.cancel({ jobId: "jobId", projectId: "projectId", }); + +/* +Returns information about a specific job. Job information is available for a six month period after creation. Requires that you're the person who ran the job, or have the Is Owner project role. +*/ +await gapi.client.jobs.get({ jobId: "jobId", projectId: "projectId", }); + +/* +Retrieves the results of a query job. +*/ +await gapi.client.jobs.getQueryResults({ jobId: "jobId", projectId: "projectId", }); + +/* +Starts a new asynchronous job. Requires the Can View project role. +*/ +await gapi.client.jobs.insert({ projectId: "projectId", }); + +/* +Lists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property. +*/ +await gapi.client.jobs.list({ projectId: "projectId", }); + +/* +Runs a BigQuery SQL query synchronously and returns query results if the query completes within a specified timeout. +*/ +await gapi.client.jobs.query({ projectId: "projectId", }); + +/* +Returns the email address of the service account for your project used for interactions with Google Cloud KMS. +*/ +await gapi.client.projects.getServiceAccount({ projectId: "projectId", }); + +/* +Lists all projects to which you have been granted any project role. +*/ +await gapi.client.projects.list({ }); + +/* +Streams data into BigQuery one record at a time without needing to run a load job. Requires the WRITER dataset role. +*/ +await gapi.client.tabledata.insertAll({ datasetId: "datasetId", projectId: "projectId", tableId: "tableId", }); + +/* +Retrieves table data from a specified set of rows. Requires the READER dataset role. +*/ +await gapi.client.tabledata.list({ datasetId: "datasetId", projectId: "projectId", tableId: "tableId", }); + +/* +Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted. +*/ +await gapi.client.tables.delete({ datasetId: "datasetId", projectId: "projectId", tableId: "tableId", }); + +/* +Gets the specified table resource by table ID. This method does not return the data in the table, it only returns the table resource, which describes the structure of this table. +*/ +await gapi.client.tables.get({ datasetId: "datasetId", projectId: "projectId", tableId: "tableId", }); + +/* +Creates a new, empty table in the dataset. +*/ +await gapi.client.tables.insert({ datasetId: "datasetId", projectId: "projectId", }); + +/* +Lists all tables in the specified dataset. Requires the READER dataset role. +*/ +await gapi.client.tables.list({ datasetId: "datasetId", projectId: "projectId", }); + +/* +Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. This method supports patch semantics. +*/ +await gapi.client.tables.patch({ datasetId: "datasetId", projectId: "projectId", tableId: "tableId", }); + +/* +Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. +*/ +await gapi.client.tables.update({ datasetId: "datasetId", projectId: "projectId", tableId: "tableId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.bigquery/tsconfig.json b/types/gapi.client.bigquery/tsconfig.json new file mode 100644 index 0000000000..23f55a96a4 --- /dev/null +++ b/types/gapi.client.bigquery/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.bigquery-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.bigquery/tslint.json b/types/gapi.client.bigquery/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.bigquery/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.bigquerydatatransfer/gapi.client.bigquerydatatransfer-tests.ts b/types/gapi.client.bigquerydatatransfer/gapi.client.bigquerydatatransfer-tests.ts new file mode 100644 index 0000000000..2b3fcba3be --- /dev/null +++ b/types/gapi.client.bigquerydatatransfer/gapi.client.bigquerydatatransfer-tests.ts @@ -0,0 +1,36 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('bigquerydatatransfer', 'v1', () => { + /** now we can use gapi.client.bigquerydatatransfer */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data in Google BigQuery */ + 'https://www.googleapis.com/auth/bigquery', + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform.read-only', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + } +}); diff --git a/types/gapi.client.bigquerydatatransfer/index.d.ts b/types/gapi.client.bigquerydatatransfer/index.d.ts new file mode 100644 index 0000000000..0bc090fdf5 --- /dev/null +++ b/types/gapi.client.bigquerydatatransfer/index.d.ts @@ -0,0 +1,1579 @@ +// Type definitions for Google BigQuery Data Transfer API v1 1.0 +// Project: https://cloud.google.com/bigquery/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://bigquerydatatransfer.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load BigQuery Data Transfer API v1 */ + function load(name: "bigquerydatatransfer", version: "v1"): PromiseLike<void>; + function load(name: "bigquerydatatransfer", version: "v1", callback: () => any): void; + + const projects: bigquerydatatransfer.ProjectsResource; + + namespace bigquerydatatransfer { + interface CheckValidCredsResponse { + /** If set to `true`, the credentials exist and are valid. */ + hasValidCreds?: boolean; + } + interface DataSource { + /** Indicates the type of authorization. */ + authorizationType?: string; + /** + * Data source client id which should be used to receive refresh token. + * When not supplied, no offline credentials are populated for data transfer. + */ + clientId?: string; + /** + * Specifies whether the data source supports automatic data refresh for the + * past few days, and how it's supported. + * For some data sources, data might not be complete until a few days later, + * so it's useful to refresh data automatically. + */ + dataRefreshType?: string; + /** Data source id. */ + dataSourceId?: string; + /** + * Default data refresh window on days. + * Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`. + */ + defaultDataRefreshWindowDays?: number; + /** + * Default data transfer schedule. + * Examples of valid schedules include: + * `1st,3rd monday of month 15:30`, + * `every wed,fri of jan,jun 13:15`, and + * `first sunday of quarter 00:00`. + */ + defaultSchedule?: string; + /** User friendly data source description string. */ + description?: string; + /** User friendly data source name. */ + displayName?: string; + /** Url for the help document for this data source. */ + helpUrl?: string; + /** + * Disables backfilling and manual run scheduling + * for the data source. + */ + manualRunsDisabled?: boolean; + /** The minimum interval between two consecutive scheduled runs. */ + minimumScheduleInterval?: string; + /** Data source resource name. */ + name?: string; + /** Data source parameters. */ + parameters?: DataSourceParameter[]; + /** + * Api auth scopes for which refresh token needs to be obtained. Only valid + * when `client_id` is specified. Ignored otherwise. These are scopes needed + * by a data source to prepare data and ingest them into BigQuery, + * e.g., https://www.googleapis.com/auth/bigquery + */ + scopes?: string[]; + /** + * Specifies whether the data source supports a user defined schedule, or + * operates on the default schedule. + * When set to `true`, user can override default schedule. + */ + supportsCustomSchedule?: boolean; + /** + * Indicates whether the data source supports multiple transfers + * to different BigQuery targets. + */ + supportsMultipleTransfers?: boolean; + /** + * Transfer type. Currently supports only batch transfers, + * which are transfers that use the BigQuery batch APIs (load or + * query) to ingest the data. + */ + transferType?: string; + /** + * The number of seconds to wait for an update from the data source + * before BigQuery marks the transfer as failed. + */ + updateDeadlineSeconds?: number; + } + interface DataSourceParameter { + /** All possible values for the parameter. */ + allowedValues?: string[]; + /** Parameter description. */ + description?: string; + /** Parameter display name in the user interface. */ + displayName?: string; + /** When parameter is a record, describes child fields. */ + fields?: DataSourceParameter[]; + /** Cannot be changed after initial creation. */ + immutable?: boolean; + /** For integer and double values specifies maxminum allowed value. */ + maxValue?: number; + /** For integer and double values specifies minimum allowed value. */ + minValue?: number; + /** Parameter identifier. */ + paramId?: string; + /** + * If set to true, schema should be taken from the parent with the same + * parameter_id. Only applicable when parameter type is RECORD. + */ + recurse?: boolean; + /** Can parameter have multiple values. */ + repeated?: boolean; + /** Is parameter required. */ + required?: boolean; + /** Parameter type. */ + type?: string; + /** + * Description of the requirements for this field, in case the user input does + * not fulfill the regex pattern or min/max values. + */ + validationDescription?: string; + /** URL to a help document to further explain the naming requirements. */ + validationHelpUrl?: string; + /** Regular expression which can be used for parameter validation. */ + validationRegex?: string; + } + interface ListDataSourcesResponse { + /** List of supported data sources and their transfer settings. */ + dataSources?: DataSource[]; + /** + * Output only. The next-pagination token. For multiple-page list results, + * this token can be used as the + * `ListDataSourcesRequest.page_token` + * to request the next page of list results. + */ + nextPageToken?: string; + } + interface ListLocationsResponse { + /** A list of locations that matches the specified filter in the request. */ + locations?: Location[]; + /** The standard List next-page token. */ + nextPageToken?: string; + } + interface ListTransferConfigsResponse { + /** + * Output only. The next-pagination token. For multiple-page list results, + * this token can be used as the + * `ListTransferConfigsRequest.page_token` + * to request the next page of list results. + */ + nextPageToken?: string; + /** Output only. The stored pipeline transfer configurations. */ + transferConfigs?: TransferConfig[]; + } + interface ListTransferLogsResponse { + /** + * Output only. The next-pagination token. For multiple-page list results, + * this token can be used as the + * `GetTransferRunLogRequest.page_token` + * to request the next page of list results. + */ + nextPageToken?: string; + /** Output only. The stored pipeline transfer messages. */ + transferMessages?: TransferMessage[]; + } + interface ListTransferRunsResponse { + /** + * Output only. The next-pagination token. For multiple-page list results, + * this token can be used as the + * `ListTransferRunsRequest.page_token` + * to request the next page of list results. + */ + nextPageToken?: string; + /** Output only. The stored pipeline transfer runs. */ + transferRuns?: TransferRun[]; + } + interface Location { + /** + * Cross-service attributes for the location. For example + * + * {"cloud.googleapis.com/region": "us-east1"} + */ + labels?: Record<string, string>; + /** The canonical id for this location. For example: `"us-east1"`. */ + locationId?: string; + /** + * Service-specific metadata. For example the available capacity at the given + * location. + */ + metadata?: Record<string, any>; + /** + * Resource name for the location, which may vary between implementations. + * For example: `"projects/example-project/locations/us-east1"` + */ + name?: string; + } + interface ScheduleTransferRunsRequest { + /** + * End time of the range of transfer runs. For example, + * `"2017-05-30T00:00:00+00:00"`. + */ + endTime?: string; + /** + * Start time of the range of transfer runs. For example, + * `"2017-05-25T00:00:00+00:00"`. + */ + startTime?: string; + } + interface ScheduleTransferRunsResponse { + /** The transfer runs that were scheduled. */ + runs?: TransferRun[]; + } + interface TransferConfig { + /** + * The number of days to look back to automatically refresh the data. + * For example, if `data_refresh_window_days = 10`, then every day + * BigQuery reingests data for [today-10, today-1], rather than ingesting data + * for just [today-1]. + * Only valid if the data source supports the feature. Set the value to 0 + * to use the default value. + */ + dataRefreshWindowDays?: number; + /** Data source id. Cannot be changed once data transfer is created. */ + dataSourceId?: string; + /** Output only. Region in which BigQuery dataset is located. */ + datasetRegion?: string; + /** The BigQuery target dataset id. */ + destinationDatasetId?: string; + /** + * Is this config disabled. When set to true, no runs are scheduled + * for a given transfer. + */ + disabled?: boolean; + /** User specified display name for the data transfer. */ + displayName?: string; + /** + * The resource name of the transfer config. + * Transfer config names have the form + * `projects/{project_id}/transferConfigs/{config_id}`. + * Where `config_id` is usually a uuid, even though it is not + * guaranteed or required. The name is ignored when creating a transfer + * config. + */ + name?: string; + /** Output only. Next time when data transfer will run. */ + nextRunTime?: string; + /** Data transfer specific parameters. */ + params?: Record<string, any>; + /** + * Data transfer schedule. + * If the data source does not support a custom schedule, this should be + * empty. If it is empty, the default value for the data source will be + * used. + * The specified times are in UTC. + * Examples of valid format: + * `1st,3rd monday of month 15:30`, + * `every wed,fri of jan,jun 13:15`, and + * `first sunday of quarter 00:00`. + * See more explanation about the format here: + * https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format + * NOTE: the granularity should be at least 8 hours, or less frequent. + */ + schedule?: string; + /** Output only. State of the most recently updated transfer run. */ + state?: string; + /** Output only. Data transfer modification time. Ignored by server on input. */ + updateTime?: string; + /** + * Output only. Unique ID of the user on whose behalf transfer is done. + * Applicable only to data sources that do not support service accounts. + * When set to 0, the data source service account credentials are used. + */ + userId?: string; + } + interface TransferMessage { + /** Message text. */ + messageText?: string; + /** Time when message was logged. */ + messageTime?: string; + /** Message severity. */ + severity?: string; + } + interface TransferRun { + /** Output only. Data source id. */ + dataSourceId?: string; + /** Output only. Region in which BigQuery dataset is located. */ + datasetRegion?: string; + /** The BigQuery target dataset id. */ + destinationDatasetId?: string; + /** + * Output only. Time when transfer run ended. + * Parameter ignored by server for input requests. + */ + endTime?: string; + /** + * The resource name of the transfer run. + * Transfer run names have the form + * `projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}`. + * The name is ignored when creating a transfer run. + */ + name?: string; + /** Data transfer specific parameters. */ + params?: Record<string, any>; + /** + * For batch transfer runs, specifies the date and time that + * data should be ingested. + */ + runTime?: string; + /** + * Output only. Describes the schedule of this transfer run if it was + * created as part of a regular schedule. For batch transfer runs that are + * scheduled manually, this is empty. + * NOTE: the system might choose to delay the schedule depending on the + * current load, so `schedule_time` doesn't always matches this. + */ + schedule?: string; + /** Minimum time after which a transfer run can be started. */ + scheduleTime?: string; + /** + * Output only. Time when transfer run was started. + * Parameter ignored by server for input requests. + */ + startTime?: string; + /** Output only. Data transfer run state. Ignored for input requests. */ + state?: string; + /** Output only. Last time the data transfer run state was updated. */ + updateTime?: string; + /** + * Output only. Unique ID of the user on whose behalf transfer is done. + * Applicable only to data sources that do not support service accounts. + * When set to 0, the data source service account credentials are used. + */ + userId?: string; + } + interface DataSourcesResource { + /** + * Returns true if valid credentials exist for the given data source and + * requesting user. + * Some data sources doesn't support service account, so we need to talk to + * them on behalf of the end user. This API just checks whether we have OAuth + * token for the particular user, which is a pre-requisite before user can + * create a transfer config. + */ + checkValidCreds(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The data source in the form: + * `projects/{project_id}/dataSources/{data_source_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CheckValidCredsResponse>; + /** + * Retrieves a supported data source and returns its settings, + * which can be used for UI rendering. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The field will contain name of the resource requested, for example: + * `projects/{project_id}/dataSources/{data_source_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<DataSource>; + /** + * Lists supported data sources and returns their settings, + * which can be used for UI rendering. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Page size. The default page size is the maximum value of 1000 results. */ + pageSize?: number; + /** + * Pagination token, which can be used to request a specific page + * of `ListDataSourcesRequest` list results. For multiple-page + * results, `ListDataSourcesResponse` outputs + * a `next_page` token, which can be used as the + * `page_token` value to request the next page of list results. + */ + pageToken?: string; + /** + * The BigQuery project id for which data sources should be returned. + * Must be in the form: `projects/{project_id}` + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListDataSourcesResponse>; + } + interface DataSourcesResource { + /** + * Returns true if valid credentials exist for the given data source and + * requesting user. + * Some data sources doesn't support service account, so we need to talk to + * them on behalf of the end user. This API just checks whether we have OAuth + * token for the particular user, which is a pre-requisite before user can + * create a transfer config. + */ + checkValidCreds(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The data source in the form: + * `projects/{project_id}/dataSources/{data_source_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CheckValidCredsResponse>; + /** + * Retrieves a supported data source and returns its settings, + * which can be used for UI rendering. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The field will contain name of the resource requested, for example: + * `projects/{project_id}/dataSources/{data_source_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<DataSource>; + /** + * Lists supported data sources and returns their settings, + * which can be used for UI rendering. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Page size. The default page size is the maximum value of 1000 results. */ + pageSize?: number; + /** + * Pagination token, which can be used to request a specific page + * of `ListDataSourcesRequest` list results. For multiple-page + * results, `ListDataSourcesResponse` outputs + * a `next_page` token, which can be used as the + * `page_token` value to request the next page of list results. + */ + pageToken?: string; + /** + * The BigQuery project id for which data sources should be returned. + * Must be in the form: `projects/{project_id}` + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListDataSourcesResponse>; + } + interface TransferLogsResource { + /** Returns user facing log messages for the data transfer run. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Message types to return. If not populated - INFO, WARNING and ERROR + * messages are returned. + */ + messageTypes?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Page size. The default page size is the maximum value of 1000 results. */ + pageSize?: number; + /** + * Pagination token, which can be used to request a specific page + * of `ListTransferLogsRequest` list results. For multiple-page + * results, `ListTransferLogsResponse` outputs + * a `next_page` token, which can be used as the + * `page_token` value to request the next page of list results. + */ + pageToken?: string; + /** + * Transfer run name in the form: + * `projects/{project_id}/transferConfigs/{config_Id}/runs/{run_id}`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListTransferLogsResponse>; + } + interface RunsResource { + /** Deletes the specified transfer run. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The field will contain name of the resource requested, for example: + * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Returns information about the particular transfer run. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The field will contain name of the resource requested, for example: + * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TransferRun>; + /** Returns information about running and completed jobs. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Page size. The default page size is the maximum value of 1000 results. */ + pageSize?: number; + /** + * Pagination token, which can be used to request a specific page + * of `ListTransferRunsRequest` list results. For multiple-page + * results, `ListTransferRunsResponse` outputs + * a `next_page` token, which can be used as the + * `page_token` value to request the next page of list results. + */ + pageToken?: string; + /** + * Name of transfer configuration for which transfer runs should be retrieved. + * Format of transfer configuration resource name is: + * `projects/{project_id}/transferConfigs/{config_id}`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Indicates how run attempts are to be pulled. */ + runAttempt?: string; + /** When specified, only transfer runs with requested states are returned. */ + states?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListTransferRunsResponse>; + transferLogs: TransferLogsResource; + } + interface TransferConfigsResource { + /** Creates a new data transfer configuration. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** + * Optional OAuth2 authorization code to use with this transfer configuration. + * This is required if new credentials are needed, as indicated by + * `CheckValidCreds`. + * In order to obtain authorization_code, please make a + * request to + * https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri> + * + * * client_id should be OAuth client_id of BigQuery DTS API for the given + * data source returned by ListDataSources method. + * * data_source_scopes are the scopes returned by ListDataSources method. + * * redirect_uri is an optional parameter. If not specified, then + * authorization code is posted to the opener of authorization flow window. + * Otherwise it will be sent to the redirect uri. A special value of + * urn:ietf:wg:oauth:2.0:oob means that authorization code should be + * returned in the title bar of the browser, with the page text prompting + * the user to copy the code and paste it in the application. + */ + authorizationCode?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The BigQuery project id where the transfer configuration should be created. + * Must be in the format /projects/{project_id}/locations/{location_id} + * or + * /projects/{project_id}/locations/- + * In case when '-' is specified as location_id, location is infered from + * the destination dataset region. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TransferConfig>; + /** + * Deletes a data transfer configuration, + * including any associated transfer runs and logs. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The field will contain name of the resource requested, for example: + * `projects/{project_id}/transferConfigs/{config_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Returns information about a data transfer config. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The field will contain name of the resource requested, for example: + * `projects/{project_id}/transferConfigs/{config_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TransferConfig>; + /** Returns information about all data transfers in the project. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** When specified, only configurations of requested data sources are returned. */ + dataSourceIds?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Page size. The default page size is the maximum value of 1000 results. */ + pageSize?: number; + /** + * Pagination token, which can be used to request a specific page + * of `ListTransfersRequest` list results. For multiple-page + * results, `ListTransfersResponse` outputs + * a `next_page` token, which can be used as the + * `page_token` value to request the next page of list results. + */ + pageToken?: string; + /** + * The BigQuery project id for which data sources + * should be returned: `projects/{project_id}`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListTransferConfigsResponse>; + /** + * Updates a data transfer configuration. + * All fields must be set, even if they are not updated. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** + * Optional OAuth2 authorization code to use with this transfer configuration. + * If it is provided, the transfer configuration will be associated with the + * gaia id of the authorizing user. + * In order to obtain authorization_code, please make a + * request to + * https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri> + * + * * client_id should be OAuth client_id of BigQuery DTS API for the given + * data source returned by ListDataSources method. + * * data_source_scopes are the scopes returned by ListDataSources method. + * * redirect_uri is an optional parameter. If not specified, then + * authorization code is posted to the opener of authorization flow window. + * Otherwise it will be sent to the redirect uri. A special value of + * urn:ietf:wg:oauth:2.0:oob means that authorization code should be + * returned in the title bar of the browser, with the page text prompting + * the user to copy the code and paste it in the application. + */ + authorizationCode?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the transfer config. + * Transfer config names have the form + * `projects/{project_id}/transferConfigs/{config_id}`. + * Where `config_id` is usually a uuid, even though it is not + * guaranteed or required. The name is ignored when creating a transfer + * config. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required list of fields to be updated in this request. */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TransferConfig>; + /** + * Creates transfer runs for a time range [range_start_time, range_end_time]. + * For each date - or whatever granularity the data source supports - in the + * range, one transfer run is created. + * Note that runs are created per UTC time in the time range. + */ + scheduleRuns(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Transfer configuration name in the form: + * `projects/{project_id}/transferConfigs/{config_id}`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ScheduleTransferRunsResponse>; + runs: RunsResource; + } + interface LocationsResource { + /** Get information about a location. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Resource name for the location. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Location>; + /** Lists information about the supported locations for this service. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The standard list filter. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The resource that owns the locations collection, if applicable. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The standard list page size. */ + pageSize?: number; + /** The standard list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListLocationsResponse>; + dataSources: DataSourcesResource; + transferConfigs: TransferConfigsResource; + } + interface TransferLogsResource { + /** Returns user facing log messages for the data transfer run. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Message types to return. If not populated - INFO, WARNING and ERROR + * messages are returned. + */ + messageTypes?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Page size. The default page size is the maximum value of 1000 results. */ + pageSize?: number; + /** + * Pagination token, which can be used to request a specific page + * of `ListTransferLogsRequest` list results. For multiple-page + * results, `ListTransferLogsResponse` outputs + * a `next_page` token, which can be used as the + * `page_token` value to request the next page of list results. + */ + pageToken?: string; + /** + * Transfer run name in the form: + * `projects/{project_id}/transferConfigs/{config_Id}/runs/{run_id}`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListTransferLogsResponse>; + } + interface RunsResource { + /** Deletes the specified transfer run. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The field will contain name of the resource requested, for example: + * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Returns information about the particular transfer run. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The field will contain name of the resource requested, for example: + * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TransferRun>; + /** Returns information about running and completed jobs. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Page size. The default page size is the maximum value of 1000 results. */ + pageSize?: number; + /** + * Pagination token, which can be used to request a specific page + * of `ListTransferRunsRequest` list results. For multiple-page + * results, `ListTransferRunsResponse` outputs + * a `next_page` token, which can be used as the + * `page_token` value to request the next page of list results. + */ + pageToken?: string; + /** + * Name of transfer configuration for which transfer runs should be retrieved. + * Format of transfer configuration resource name is: + * `projects/{project_id}/transferConfigs/{config_id}`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Indicates how run attempts are to be pulled. */ + runAttempt?: string; + /** When specified, only transfer runs with requested states are returned. */ + states?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListTransferRunsResponse>; + transferLogs: TransferLogsResource; + } + interface TransferConfigsResource { + /** Creates a new data transfer configuration. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** + * Optional OAuth2 authorization code to use with this transfer configuration. + * This is required if new credentials are needed, as indicated by + * `CheckValidCreds`. + * In order to obtain authorization_code, please make a + * request to + * https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri> + * + * * client_id should be OAuth client_id of BigQuery DTS API for the given + * data source returned by ListDataSources method. + * * data_source_scopes are the scopes returned by ListDataSources method. + * * redirect_uri is an optional parameter. If not specified, then + * authorization code is posted to the opener of authorization flow window. + * Otherwise it will be sent to the redirect uri. A special value of + * urn:ietf:wg:oauth:2.0:oob means that authorization code should be + * returned in the title bar of the browser, with the page text prompting + * the user to copy the code and paste it in the application. + */ + authorizationCode?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The BigQuery project id where the transfer configuration should be created. + * Must be in the format /projects/{project_id}/locations/{location_id} + * or + * /projects/{project_id}/locations/- + * In case when '-' is specified as location_id, location is infered from + * the destination dataset region. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TransferConfig>; + /** + * Deletes a data transfer configuration, + * including any associated transfer runs and logs. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The field will contain name of the resource requested, for example: + * `projects/{project_id}/transferConfigs/{config_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Returns information about a data transfer config. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The field will contain name of the resource requested, for example: + * `projects/{project_id}/transferConfigs/{config_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TransferConfig>; + /** Returns information about all data transfers in the project. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** When specified, only configurations of requested data sources are returned. */ + dataSourceIds?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Page size. The default page size is the maximum value of 1000 results. */ + pageSize?: number; + /** + * Pagination token, which can be used to request a specific page + * of `ListTransfersRequest` list results. For multiple-page + * results, `ListTransfersResponse` outputs + * a `next_page` token, which can be used as the + * `page_token` value to request the next page of list results. + */ + pageToken?: string; + /** + * The BigQuery project id for which data sources + * should be returned: `projects/{project_id}`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListTransferConfigsResponse>; + /** + * Updates a data transfer configuration. + * All fields must be set, even if they are not updated. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** + * Optional OAuth2 authorization code to use with this transfer configuration. + * If it is provided, the transfer configuration will be associated with the + * gaia id of the authorizing user. + * In order to obtain authorization_code, please make a + * request to + * https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri> + * + * * client_id should be OAuth client_id of BigQuery DTS API for the given + * data source returned by ListDataSources method. + * * data_source_scopes are the scopes returned by ListDataSources method. + * * redirect_uri is an optional parameter. If not specified, then + * authorization code is posted to the opener of authorization flow window. + * Otherwise it will be sent to the redirect uri. A special value of + * urn:ietf:wg:oauth:2.0:oob means that authorization code should be + * returned in the title bar of the browser, with the page text prompting + * the user to copy the code and paste it in the application. + */ + authorizationCode?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the transfer config. + * Transfer config names have the form + * `projects/{project_id}/transferConfigs/{config_id}`. + * Where `config_id` is usually a uuid, even though it is not + * guaranteed or required. The name is ignored when creating a transfer + * config. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required list of fields to be updated in this request. */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TransferConfig>; + /** + * Creates transfer runs for a time range [range_start_time, range_end_time]. + * For each date - or whatever granularity the data source supports - in the + * range, one transfer run is created. + * Note that runs are created per UTC time in the time range. + */ + scheduleRuns(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Transfer configuration name in the form: + * `projects/{project_id}/transferConfigs/{config_id}`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ScheduleTransferRunsResponse>; + runs: RunsResource; + } + interface ProjectsResource { + dataSources: DataSourcesResource; + locations: LocationsResource; + transferConfigs: TransferConfigsResource; + } + } +} diff --git a/types/gapi.client.bigquerydatatransfer/readme.md b/types/gapi.client.bigquerydatatransfer/readme.md new file mode 100644 index 0000000000..539a25cecc --- /dev/null +++ b/types/gapi.client.bigquerydatatransfer/readme.md @@ -0,0 +1,60 @@ +# TypeScript typings for BigQuery Data Transfer API v1 +Transfers data from partner SaaS applications to Google BigQuery on a scheduled, managed basis. +For detailed description please check [documentation](https://cloud.google.com/bigquery/). + +## Installing + +Install typings for BigQuery Data Transfer API: +``` +npm install @types/gapi.client.bigquerydatatransfer@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('bigquerydatatransfer', 'v1', () => { + // now we can use gapi.client.bigquerydatatransfer + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data in Google BigQuery + 'https://www.googleapis.com/auth/bigquery', + + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform.read-only', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use BigQuery Data Transfer API resources: + +```typescript +``` \ No newline at end of file diff --git a/types/gapi.client.bigquerydatatransfer/tsconfig.json b/types/gapi.client.bigquerydatatransfer/tsconfig.json new file mode 100644 index 0000000000..312df37f3f --- /dev/null +++ b/types/gapi.client.bigquerydatatransfer/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.bigquerydatatransfer-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.bigquerydatatransfer/tslint.json b/types/gapi.client.bigquerydatatransfer/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.bigquerydatatransfer/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.blogger/gapi.client.blogger-tests.ts b/types/gapi.client.blogger/gapi.client.blogger-tests.ts new file mode 100644 index 0000000000..09f3da8912 --- /dev/null +++ b/types/gapi.client.blogger/gapi.client.blogger-tests.ts @@ -0,0 +1,277 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('blogger', 'v3', () => { + /** now we can use gapi.client.blogger */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage your Blogger account */ + 'https://www.googleapis.com/auth/blogger', + /** View your Blogger account */ + 'https://www.googleapis.com/auth/blogger.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Gets one blog and user info pair by blogId and userId. */ + await gapi.client.blogUserInfos.get({ + blogId: "blogId", + maxPosts: 2, + userId: "userId", + }); + /** Gets one blog by ID. */ + await gapi.client.blogs.get({ + blogId: "blogId", + maxPosts: 2, + view: "view", + }); + /** Retrieve a Blog by URL. */ + await gapi.client.blogs.getByUrl({ + url: "url", + view: "view", + }); + /** Retrieves a list of blogs, possibly filtered. */ + await gapi.client.blogs.listByUser({ + fetchUserInfo: true, + role: "role", + status: "status", + userId: "userId", + view: "view", + }); + /** Marks a comment as not spam. */ + await gapi.client.comments.approve({ + blogId: "blogId", + commentId: "commentId", + postId: "postId", + }); + /** Delete a comment by ID. */ + await gapi.client.comments.delete({ + blogId: "blogId", + commentId: "commentId", + postId: "postId", + }); + /** Gets one comment by ID. */ + await gapi.client.comments.get({ + blogId: "blogId", + commentId: "commentId", + postId: "postId", + view: "view", + }); + /** Retrieves the comments for a post, possibly filtered. */ + await gapi.client.comments.list({ + blogId: "blogId", + endDate: "endDate", + fetchBodies: true, + maxResults: 4, + pageToken: "pageToken", + postId: "postId", + startDate: "startDate", + status: "status", + view: "view", + }); + /** Retrieves the comments for a blog, across all posts, possibly filtered. */ + await gapi.client.comments.listByBlog({ + blogId: "blogId", + endDate: "endDate", + fetchBodies: true, + maxResults: 4, + pageToken: "pageToken", + startDate: "startDate", + status: "status", + }); + /** Marks a comment as spam. */ + await gapi.client.comments.markAsSpam({ + blogId: "blogId", + commentId: "commentId", + postId: "postId", + }); + /** Removes the content of a comment. */ + await gapi.client.comments.removeContent({ + blogId: "blogId", + commentId: "commentId", + postId: "postId", + }); + /** Retrieve pageview stats for a Blog. */ + await gapi.client.pageViews.get({ + blogId: "blogId", + range: "range", + }); + /** Delete a page by ID. */ + await gapi.client.pages.delete({ + blogId: "blogId", + pageId: "pageId", + }); + /** Gets one blog page by ID. */ + await gapi.client.pages.get({ + blogId: "blogId", + pageId: "pageId", + view: "view", + }); + /** Add a page. */ + await gapi.client.pages.insert({ + blogId: "blogId", + isDraft: true, + }); + /** Retrieves the pages for a blog, optionally including non-LIVE statuses. */ + await gapi.client.pages.list({ + blogId: "blogId", + fetchBodies: true, + maxResults: 3, + pageToken: "pageToken", + status: "status", + view: "view", + }); + /** Update a page. This method supports patch semantics. */ + await gapi.client.pages.patch({ + blogId: "blogId", + pageId: "pageId", + publish: true, + revert: true, + }); + /** Publishes a draft page. */ + await gapi.client.pages.publish({ + blogId: "blogId", + pageId: "pageId", + }); + /** Revert a published or scheduled page to draft state. */ + await gapi.client.pages.revert({ + blogId: "blogId", + pageId: "pageId", + }); + /** Update a page. */ + await gapi.client.pages.update({ + blogId: "blogId", + pageId: "pageId", + publish: true, + revert: true, + }); + /** + * Gets one post and user info pair, by post ID and user ID. The post user info contains per-user information about the post, such as access rights, + * specific to the user. + */ + await gapi.client.postUserInfos.get({ + blogId: "blogId", + maxComments: 2, + postId: "postId", + userId: "userId", + }); + /** + * Retrieves a list of post and post user info pairs, possibly filtered. The post user info contains per-user information about the post, such as access + * rights, specific to the user. + */ + await gapi.client.postUserInfos.list({ + blogId: "blogId", + endDate: "endDate", + fetchBodies: true, + labels: "labels", + maxResults: 5, + orderBy: "orderBy", + pageToken: "pageToken", + startDate: "startDate", + status: "status", + userId: "userId", + view: "view", + }); + /** Delete a post by ID. */ + await gapi.client.posts.delete({ + blogId: "blogId", + postId: "postId", + }); + /** Get a post by ID. */ + await gapi.client.posts.get({ + blogId: "blogId", + fetchBody: true, + fetchImages: true, + maxComments: 4, + postId: "postId", + view: "view", + }); + /** Retrieve a Post by Path. */ + await gapi.client.posts.getByPath({ + blogId: "blogId", + maxComments: 2, + path: "path", + view: "view", + }); + /** Add a post. */ + await gapi.client.posts.insert({ + blogId: "blogId", + fetchBody: true, + fetchImages: true, + isDraft: true, + }); + /** Retrieves a list of posts, possibly filtered. */ + await gapi.client.posts.list({ + blogId: "blogId", + endDate: "endDate", + fetchBodies: true, + fetchImages: true, + labels: "labels", + maxResults: 6, + orderBy: "orderBy", + pageToken: "pageToken", + startDate: "startDate", + status: "status", + view: "view", + }); + /** Update a post. This method supports patch semantics. */ + await gapi.client.posts.patch({ + blogId: "blogId", + fetchBody: true, + fetchImages: true, + maxComments: 4, + postId: "postId", + publish: true, + revert: true, + }); + /** Publishes a draft post, optionally at the specific time of the given publishDate parameter. */ + await gapi.client.posts.publish({ + blogId: "blogId", + postId: "postId", + publishDate: "publishDate", + }); + /** Revert a published or scheduled post to draft state. */ + await gapi.client.posts.revert({ + blogId: "blogId", + postId: "postId", + }); + /** Search for a post. */ + await gapi.client.posts.search({ + blogId: "blogId", + fetchBodies: true, + orderBy: "orderBy", + q: "q", + }); + /** Update a post. */ + await gapi.client.posts.update({ + blogId: "blogId", + fetchBody: true, + fetchImages: true, + maxComments: 4, + postId: "postId", + publish: true, + revert: true, + }); + /** Gets one user by ID. */ + await gapi.client.users.get({ + userId: "userId", + }); + } +}); diff --git a/types/gapi.client.blogger/index.d.ts b/types/gapi.client.blogger/index.d.ts new file mode 100644 index 0000000000..85240dfee5 --- /dev/null +++ b/types/gapi.client.blogger/index.d.ts @@ -0,0 +1,1346 @@ +// Type definitions for Google Blogger API v3 3.0 +// Project: https://developers.google.com/blogger/docs/3.0/getting_started +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/blogger/v3/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Blogger API v3 */ + function load(name: "blogger", version: "v3"): PromiseLike<void>; + function load(name: "blogger", version: "v3", callback: () => any): void; + + const blogUserInfos: blogger.BlogUserInfosResource; + + const blogs: blogger.BlogsResource; + + const comments: blogger.CommentsResource; + + const pageViews: blogger.PageViewsResource; + + const pages: blogger.PagesResource; + + const postUserInfos: blogger.PostUserInfosResource; + + const posts: blogger.PostsResource; + + const users: blogger.UsersResource; + + namespace blogger { + interface Blog { + /** The JSON custom meta-data for the Blog */ + customMetaData?: string; + /** The description of this blog. This is displayed underneath the title. */ + description?: string; + /** The identifier for this resource. */ + id?: string; + /** The kind of this entry. Always blogger#blog */ + kind?: string; + /** The locale this Blog is set to. */ + locale?: { + /** The country this blog's locale is set to. */ + country?: string; + /** The language this blog is authored in. */ + language?: string; + /** The language variant this blog is authored in. */ + variant?: string; + }; + /** The name of this blog. This is displayed as the title. */ + name?: string; + /** The container of pages in this blog. */ + pages?: { + /** The URL of the container for pages in this blog. */ + selfLink?: string; + /** The count of pages in this blog. */ + totalItems?: number; + }; + /** The container of posts in this blog. */ + posts?: { + /** The List of Posts for this Blog. */ + items?: Post[]; + /** The URL of the container for posts in this blog. */ + selfLink?: string; + /** The count of posts in this blog. */ + totalItems?: number; + }; + /** RFC 3339 date-time when this blog was published. */ + published?: string; + /** The API REST URL to fetch this resource from. */ + selfLink?: string; + /** The status of the blog. */ + status?: string; + /** RFC 3339 date-time when this blog was last updated. */ + updated?: string; + /** The URL where this blog is published. */ + url?: string; + } + interface BlogList { + /** Admin level list of blog per-user information */ + blogUserInfos?: BlogUserInfo[]; + /** The list of Blogs this user has Authorship or Admin rights over. */ + items?: Blog[]; + /** The kind of this entity. Always blogger#blogList */ + kind?: string; + } + interface BlogPerUserInfo { + /** ID of the Blog resource */ + blogId?: string; + /** True if the user has Admin level access to the blog. */ + hasAdminAccess?: boolean; + /** The kind of this entity. Always blogger#blogPerUserInfo */ + kind?: string; + /** The Photo Album Key for the user when adding photos to the blog */ + photosAlbumKey?: string; + /** Access permissions that the user has for the blog (ADMIN, AUTHOR, or READER). */ + role?: string; + /** ID of the User */ + userId?: string; + } + interface BlogUserInfo { + /** The Blog resource. */ + blog?: Blog; + /** Information about a User for the Blog. */ + blog_user_info?: BlogPerUserInfo; + /** The kind of this entity. Always blogger#blogUserInfo */ + kind?: string; + } + interface Comment { + /** The author of this Comment. */ + author?: { + /** The display name. */ + displayName?: string; + /** The identifier of the Comment creator. */ + id?: string; + /** The comment creator's avatar. */ + image?: { + /** The comment creator's avatar URL. */ + url?: string; + }; + /** The URL of the Comment creator's Profile page. */ + url?: string; + }; + /** Data about the blog containing this comment. */ + blog?: { + /** The identifier of the blog containing this comment. */ + id?: string; + }; + /** The actual content of the comment. May include HTML markup. */ + content?: string; + /** The identifier for this resource. */ + id?: string; + /** Data about the comment this is in reply to. */ + inReplyTo?: { + /** The identified of the parent of this comment. */ + id?: string; + }; + /** The kind of this entry. Always blogger#comment */ + kind?: string; + /** Data about the post containing this comment. */ + post?: { + /** The identifier of the post containing this comment. */ + id?: string; + }; + /** RFC 3339 date-time when this comment was published. */ + published?: string; + /** The API REST URL to fetch this resource from. */ + selfLink?: string; + /** The status of the comment (only populated for admin users) */ + status?: string; + /** RFC 3339 date-time when this comment was last updated. */ + updated?: string; + } + interface CommentList { + /** Etag of the response. */ + etag?: string; + /** The List of Comments for a Post. */ + items?: Comment[]; + /** The kind of this entry. Always blogger#commentList */ + kind?: string; + /** Pagination token to fetch the next page, if one exists. */ + nextPageToken?: string; + /** Pagination token to fetch the previous page, if one exists. */ + prevPageToken?: string; + } + interface Page { + /** The author of this Page. */ + author?: { + /** The display name. */ + displayName?: string; + /** The identifier of the Page creator. */ + id?: string; + /** The page author's avatar. */ + image?: { + /** The page author's avatar URL. */ + url?: string; + }; + /** The URL of the Page creator's Profile page. */ + url?: string; + }; + /** Data about the blog containing this Page. */ + blog?: { + /** The identifier of the blog containing this page. */ + id?: string; + }; + /** The body content of this Page, in HTML. */ + content?: string; + /** Etag of the resource. */ + etag?: string; + /** The identifier for this resource. */ + id?: string; + /** The kind of this entity. Always blogger#page */ + kind?: string; + /** RFC 3339 date-time when this Page was published. */ + published?: string; + /** The API REST URL to fetch this resource from. */ + selfLink?: string; + /** The status of the page for admin resources (either LIVE or DRAFT). */ + status?: string; + /** The title of this entity. This is the name displayed in the Admin user interface. */ + title?: string; + /** RFC 3339 date-time when this Page was last updated. */ + updated?: string; + /** The URL that this Page is displayed at. */ + url?: string; + } + interface PageList { + /** Etag of the response. */ + etag?: string; + /** The list of Pages for a Blog. */ + items?: Page[]; + /** The kind of this entity. Always blogger#pageList */ + kind?: string; + /** Pagination token to fetch the next page, if one exists. */ + nextPageToken?: string; + } + interface Pageviews { + /** Blog Id */ + blogId?: string; + /** The container of posts in this blog. */ + counts?: Array<{ + /** Count of page views for the given time range */ + count?: string; + /** Time range the given count applies to */ + timeRange?: string; + }>; + /** The kind of this entry. Always blogger#page_views */ + kind?: string; + } + interface Post { + /** The author of this Post. */ + author?: { + /** The display name. */ + displayName?: string; + /** The identifier of the Post creator. */ + id?: string; + /** The Post author's avatar. */ + image?: { + /** The Post author's avatar URL. */ + url?: string; + }; + /** The URL of the Post creator's Profile page. */ + url?: string; + }; + /** Data about the blog containing this Post. */ + blog?: { + /** The identifier of the Blog that contains this Post. */ + id?: string; + }; + /** The content of the Post. May contain HTML markup. */ + content?: string; + /** The JSON meta-data for the Post. */ + customMetaData?: string; + /** Etag of the resource. */ + etag?: string; + /** The identifier of this Post. */ + id?: string; + /** Display image for the Post. */ + images?: Array<{ + url?: string; + }>; + /** The kind of this entity. Always blogger#post */ + kind?: string; + /** The list of labels this Post was tagged with. */ + labels?: string[]; + /** The location for geotagged posts. */ + location?: { + /** Location's latitude. */ + lat?: number; + /** Location's longitude. */ + lng?: number; + /** Location name. */ + name?: string; + /** Location's viewport span. Can be used when rendering a map preview. */ + span?: string; + }; + /** RFC 3339 date-time when this Post was published. */ + published?: string; + /** Comment control and display setting for readers of this post. */ + readerComments?: string; + /** The container of comments on this Post. */ + replies?: { + /** The List of Comments for this Post. */ + items?: Comment[]; + /** The URL of the comments on this post. */ + selfLink?: string; + /** The count of comments on this post. */ + totalItems?: string; + }; + /** The API REST URL to fetch this resource from. */ + selfLink?: string; + /** Status of the post. Only set for admin-level requests */ + status?: string; + /** The title of the Post. */ + title?: string; + /** The title link URL, similar to atom's related link. */ + titleLink?: string; + /** RFC 3339 date-time when this Post was last updated. */ + updated?: string; + /** The URL where this Post is displayed. */ + url?: string; + } + interface PostList { + /** Etag of the response. */ + etag?: string; + /** The list of Posts for this Blog. */ + items?: Post[]; + /** The kind of this entity. Always blogger#postList */ + kind?: string; + /** Pagination token to fetch the next page, if one exists. */ + nextPageToken?: string; + } + interface PostPerUserInfo { + /** ID of the Blog that the post resource belongs to. */ + blogId?: string; + /** True if the user has Author level access to the post. */ + hasEditAccess?: boolean; + /** The kind of this entity. Always blogger#postPerUserInfo */ + kind?: string; + /** ID of the Post resource. */ + postId?: string; + /** ID of the User. */ + userId?: string; + } + interface PostUserInfo { + /** The kind of this entity. Always blogger#postUserInfo */ + kind?: string; + /** The Post resource. */ + post?: Post; + /** Information about a User for the Post. */ + post_user_info?: PostPerUserInfo; + } + interface PostUserInfosList { + /** The list of Posts with User information for the post, for this Blog. */ + items?: PostUserInfo[]; + /** The kind of this entity. Always blogger#postList */ + kind?: string; + /** Pagination token to fetch the next page, if one exists. */ + nextPageToken?: string; + } + interface User { + /** Profile summary information. */ + about?: string; + /** The container of blogs for this user. */ + blogs?: { + /** The URL of the Blogs for this user. */ + selfLink?: string; + }; + /** The timestamp of when this profile was created, in seconds since epoch. */ + created?: string; + /** The display name. */ + displayName?: string; + /** The identifier for this User. */ + id?: string; + /** The kind of this entity. Always blogger#user */ + kind?: string; + /** This user's locale */ + locale?: { + /** The user's country setting. */ + country?: string; + /** The user's language setting. */ + language?: string; + /** The user's language variant setting. */ + variant?: string; + }; + /** The API REST URL to fetch this resource from. */ + selfLink?: string; + /** The user's profile page. */ + url?: string; + } + interface BlogUserInfosResource { + /** Gets one blog and user info pair by blogId and userId. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the blog to get. */ + blogId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of posts to pull back with the blog. */ + maxPosts?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<BlogUserInfo>; + } + interface BlogsResource { + /** Gets one blog by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the blog to get. */ + blogId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of posts to pull back with the blog. */ + maxPosts?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Access level with which to view the blog. Note that some fields require elevated access. */ + view?: string; + }): Request<Blog>; + /** Retrieve a Blog by URL. */ + getByUrl(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The URL of the blog to retrieve. */ + url: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Access level with which to view the blog. Note that some fields require elevated access. */ + view?: string; + }): Request<Blog>; + /** Retrieves a list of blogs, possibly filtered. */ + listByUser(request: { + /** Data format for the response. */ + alt?: string; + /** Whether the response is a list of blogs with per-user information instead of just blogs. */ + fetchUserInfo?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * User access types for blogs to include in the results, e.g. AUTHOR will return blogs where the user has author level access. If no roles are specified, + * defaults to ADMIN and AUTHOR roles. + */ + role?: string; + /** Blog statuses to include in the result (default: Live blogs only). Note that ADMIN access is required to view deleted blogs. */ + status?: string; + /** ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Access level with which to view the blogs. Note that some fields require elevated access. */ + view?: string; + }): Request<BlogList>; + } + interface CommentsResource { + /** Marks a comment as not spam. */ + approve(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the Blog. */ + blogId: string; + /** The ID of the comment to mark as not spam. */ + commentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the Post. */ + postId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Comment>; + /** Delete a comment by ID. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the Blog. */ + blogId: string; + /** The ID of the comment to delete. */ + commentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the Post. */ + postId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets one comment by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** ID of the blog to containing the comment. */ + blogId: string; + /** The ID of the comment to get. */ + commentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** ID of the post to fetch posts from. */ + postId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** + * Access level for the requested comment (default: READER). Note that some comments will require elevated permissions, for example comments where the + * parent posts which is in a draft state, or comments that are pending moderation. + */ + view?: string; + }): Request<Comment>; + /** Retrieves the comments for a post, possibly filtered. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** ID of the blog to fetch comments from. */ + blogId: string; + /** Latest date of comment to fetch, a date-time with RFC 3339 formatting. */ + endDate?: string; + /** Whether the body content of the comments is included. */ + fetchBodies?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of comments to include in the result. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Continuation token if request is paged. */ + pageToken?: string; + /** ID of the post to fetch posts from. */ + postId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Earliest date of comment to fetch, a date-time with RFC 3339 formatting. */ + startDate?: string; + status?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Access level with which to view the returned result. Note that some fields require elevated access. */ + view?: string; + }): Request<CommentList>; + /** Retrieves the comments for a blog, across all posts, possibly filtered. */ + listByBlog(request: { + /** Data format for the response. */ + alt?: string; + /** ID of the blog to fetch comments from. */ + blogId: string; + /** Latest date of comment to fetch, a date-time with RFC 3339 formatting. */ + endDate?: string; + /** Whether the body content of the comments is included. */ + fetchBodies?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of comments to include in the result. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Continuation token if request is paged. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Earliest date of comment to fetch, a date-time with RFC 3339 formatting. */ + startDate?: string; + status?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CommentList>; + /** Marks a comment as spam. */ + markAsSpam(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the Blog. */ + blogId: string; + /** The ID of the comment to mark as spam. */ + commentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the Post. */ + postId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Comment>; + /** Removes the content of a comment. */ + removeContent(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the Blog. */ + blogId: string; + /** The ID of the comment to delete content from. */ + commentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the Post. */ + postId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Comment>; + } + interface PageViewsResource { + /** Retrieve pageview stats for a Blog. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the blog to get. */ + blogId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + range?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Pageviews>; + } + interface PagesResource { + /** Delete a page by ID. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the Blog. */ + blogId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the Page. */ + pageId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets one blog page by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** ID of the blog containing the page. */ + blogId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the page to get. */ + pageId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + view?: string; + }): Request<Page>; + /** Add a page. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** ID of the blog to add the page to. */ + blogId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Whether to create the page as a draft (default: false). */ + isDraft?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Page>; + /** Retrieves the pages for a blog, optionally including non-LIVE statuses. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** ID of the blog to fetch Pages from. */ + blogId: string; + /** Whether to retrieve the Page bodies. */ + fetchBodies?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of Pages to fetch. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Continuation token if the request is paged. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + status?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Access level with which to view the returned result. Note that some fields require elevated access. */ + view?: string; + }): Request<PageList>; + /** Update a page. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the Blog. */ + blogId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the Page. */ + pageId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Whether a publish action should be performed when the page is updated (default: false). */ + publish?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether a revert action should be performed when the page is updated (default: false). */ + revert?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Page>; + /** Publishes a draft page. */ + publish(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the blog. */ + blogId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the page. */ + pageId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Page>; + /** Revert a published or scheduled page to draft state. */ + revert(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the blog. */ + blogId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the page. */ + pageId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Page>; + /** Update a page. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the Blog. */ + blogId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the Page. */ + pageId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Whether a publish action should be performed when the page is updated (default: false). */ + publish?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether a revert action should be performed when the page is updated (default: false). */ + revert?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Page>; + } + interface PostUserInfosResource { + /** + * Gets one post and user info pair, by post ID and user ID. The post user info contains per-user information about the post, such as access rights, + * specific to the user. + */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the blog. */ + blogId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of comments to pull back on a post. */ + maxComments?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the post to get. */ + postId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PostUserInfo>; + /** + * Retrieves a list of post and post user info pairs, possibly filtered. The post user info contains per-user information about the post, such as access + * rights, specific to the user. + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** ID of the blog to fetch posts from. */ + blogId: string; + /** Latest post date to fetch, a date-time with RFC 3339 formatting. */ + endDate?: string; + /** Whether the body content of posts is included. Default is false. */ + fetchBodies?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Comma-separated list of labels to search for. */ + labels?: string; + /** Maximum number of posts to fetch. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Sort order applied to search results. Default is published. */ + orderBy?: string; + /** Continuation token if the request is paged. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Earliest post date to fetch, a date-time with RFC 3339 formatting. */ + startDate?: string; + status?: string; + /** ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Access level with which to view the returned result. Note that some fields require elevated access. */ + view?: string; + }): Request<PostUserInfosList>; + } + interface PostsResource { + /** Delete a post by ID. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the Blog. */ + blogId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the Post. */ + postId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Get a post by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** ID of the blog to fetch the post from. */ + blogId: string; + /** + * Whether the body content of the post is included (default: true). This should be set to false when the post bodies are not required, to help minimize + * traffic. + */ + fetchBody?: boolean; + /** Whether image URL metadata for each post is included (default: false). */ + fetchImages?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of comments to pull back on a post. */ + maxComments?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the post */ + postId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Access level with which to view the returned result. Note that some fields require elevated access. */ + view?: string; + }): Request<Post>; + /** Retrieve a Post by Path. */ + getByPath(request: { + /** Data format for the response. */ + alt?: string; + /** ID of the blog to fetch the post from. */ + blogId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of comments to pull back on a post. */ + maxComments?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Path of the Post to retrieve. */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Access level with which to view the returned result. Note that some fields require elevated access. */ + view?: string; + }): Request<Post>; + /** Add a post. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** ID of the blog to add the post to. */ + blogId: string; + /** Whether the body content of the post is included with the result (default: true). */ + fetchBody?: boolean; + /** Whether image URL metadata for each post is included in the returned result (default: false). */ + fetchImages?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Whether to create the post as a draft (default: false). */ + isDraft?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Post>; + /** Retrieves a list of posts, possibly filtered. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** ID of the blog to fetch posts from. */ + blogId: string; + /** Latest post date to fetch, a date-time with RFC 3339 formatting. */ + endDate?: string; + /** + * Whether the body content of posts is included (default: true). This should be set to false when the post bodies are not required, to help minimize + * traffic. + */ + fetchBodies?: boolean; + /** Whether image URL metadata for each post is included. */ + fetchImages?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Comma-separated list of labels to search for. */ + labels?: string; + /** Maximum number of posts to fetch. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Sort search results */ + orderBy?: string; + /** Continuation token if the request is paged. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Earliest post date to fetch, a date-time with RFC 3339 formatting. */ + startDate?: string; + /** Statuses to include in the results. */ + status?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Access level with which to view the returned result. Note that some fields require escalated access. */ + view?: string; + }): Request<PostList>; + /** Update a post. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the Blog. */ + blogId: string; + /** Whether the body content of the post is included with the result (default: true). */ + fetchBody?: boolean; + /** Whether image URL metadata for each post is included in the returned result (default: false). */ + fetchImages?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of comments to retrieve with the returned post. */ + maxComments?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the Post. */ + postId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Whether a publish action should be performed when the post is updated (default: false). */ + publish?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether a revert action should be performed when the post is updated (default: false). */ + revert?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Post>; + /** Publishes a draft post, optionally at the specific time of the given publishDate parameter. */ + publish(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the Blog. */ + blogId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the Post. */ + postId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Optional date and time to schedule the publishing of the Blog. If no publishDate parameter is given, the post is either published at the a previously + * saved schedule date (if present), or the current time. If a future date is given, the post will be scheduled to be published. + */ + publishDate?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Post>; + /** Revert a published or scheduled post to draft state. */ + revert(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the Blog. */ + blogId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the Post. */ + postId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Post>; + /** Search for a post. */ + search(request: { + /** Data format for the response. */ + alt?: string; + /** ID of the blog to fetch the post from. */ + blogId: string; + /** + * Whether the body content of posts is included (default: true). This should be set to false when the post bodies are not required, to help minimize + * traffic. + */ + fetchBodies?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Sort search results */ + orderBy?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Query terms to search this blog for matching posts. */ + q: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PostList>; + /** Update a post. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the Blog. */ + blogId: string; + /** Whether the body content of the post is included with the result (default: true). */ + fetchBody?: boolean; + /** Whether image URL metadata for each post is included in the returned result (default: false). */ + fetchImages?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of comments to retrieve with the returned post. */ + maxComments?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the Post. */ + postId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Whether a publish action should be performed when the post is updated (default: false). */ + publish?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether a revert action should be performed when the post is updated (default: false). */ + revert?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Post>; + } + interface UsersResource { + /** Gets one user by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user to get. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<User>; + } + } +} diff --git a/types/gapi.client.blogger/readme.md b/types/gapi.client.blogger/readme.md new file mode 100644 index 0000000000..7356d1e034 --- /dev/null +++ b/types/gapi.client.blogger/readme.md @@ -0,0 +1,222 @@ +# TypeScript typings for Blogger API v3 +API for access to the data within Blogger. +For detailed description please check [documentation](https://developers.google.com/blogger/docs/3.0/getting_started). + +## Installing + +Install typings for Blogger API: +``` +npm install @types/gapi.client.blogger@v3 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('blogger', 'v3', () => { + // now we can use gapi.client.blogger + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage your Blogger account + 'https://www.googleapis.com/auth/blogger', + + // View your Blogger account + 'https://www.googleapis.com/auth/blogger.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Blogger API resources: + +```typescript + +/* +Gets one blog and user info pair by blogId and userId. +*/ +await gapi.client.blogUserInfos.get({ blogId: "blogId", userId: "userId", }); + +/* +Gets one blog by ID. +*/ +await gapi.client.blogs.get({ blogId: "blogId", }); + +/* +Retrieve a Blog by URL. +*/ +await gapi.client.blogs.getByUrl({ url: "url", }); + +/* +Retrieves a list of blogs, possibly filtered. +*/ +await gapi.client.blogs.listByUser({ userId: "userId", }); + +/* +Marks a comment as not spam. +*/ +await gapi.client.comments.approve({ blogId: "blogId", commentId: "commentId", postId: "postId", }); + +/* +Delete a comment by ID. +*/ +await gapi.client.comments.delete({ blogId: "blogId", commentId: "commentId", postId: "postId", }); + +/* +Gets one comment by ID. +*/ +await gapi.client.comments.get({ blogId: "blogId", commentId: "commentId", postId: "postId", }); + +/* +Retrieves the comments for a post, possibly filtered. +*/ +await gapi.client.comments.list({ blogId: "blogId", postId: "postId", }); + +/* +Retrieves the comments for a blog, across all posts, possibly filtered. +*/ +await gapi.client.comments.listByBlog({ blogId: "blogId", }); + +/* +Marks a comment as spam. +*/ +await gapi.client.comments.markAsSpam({ blogId: "blogId", commentId: "commentId", postId: "postId", }); + +/* +Removes the content of a comment. +*/ +await gapi.client.comments.removeContent({ blogId: "blogId", commentId: "commentId", postId: "postId", }); + +/* +Retrieve pageview stats for a Blog. +*/ +await gapi.client.pageViews.get({ blogId: "blogId", }); + +/* +Delete a page by ID. +*/ +await gapi.client.pages.delete({ blogId: "blogId", pageId: "pageId", }); + +/* +Gets one blog page by ID. +*/ +await gapi.client.pages.get({ blogId: "blogId", pageId: "pageId", }); + +/* +Add a page. +*/ +await gapi.client.pages.insert({ blogId: "blogId", }); + +/* +Retrieves the pages for a blog, optionally including non-LIVE statuses. +*/ +await gapi.client.pages.list({ blogId: "blogId", }); + +/* +Update a page. This method supports patch semantics. +*/ +await gapi.client.pages.patch({ blogId: "blogId", pageId: "pageId", }); + +/* +Publishes a draft page. +*/ +await gapi.client.pages.publish({ blogId: "blogId", pageId: "pageId", }); + +/* +Revert a published or scheduled page to draft state. +*/ +await gapi.client.pages.revert({ blogId: "blogId", pageId: "pageId", }); + +/* +Update a page. +*/ +await gapi.client.pages.update({ blogId: "blogId", pageId: "pageId", }); + +/* +Gets one post and user info pair, by post ID and user ID. The post user info contains per-user information about the post, such as access rights, specific to the user. +*/ +await gapi.client.postUserInfos.get({ blogId: "blogId", postId: "postId", userId: "userId", }); + +/* +Retrieves a list of post and post user info pairs, possibly filtered. The post user info contains per-user information about the post, such as access rights, specific to the user. +*/ +await gapi.client.postUserInfos.list({ blogId: "blogId", userId: "userId", }); + +/* +Delete a post by ID. +*/ +await gapi.client.posts.delete({ blogId: "blogId", postId: "postId", }); + +/* +Get a post by ID. +*/ +await gapi.client.posts.get({ blogId: "blogId", postId: "postId", }); + +/* +Retrieve a Post by Path. +*/ +await gapi.client.posts.getByPath({ blogId: "blogId", path: "path", }); + +/* +Add a post. +*/ +await gapi.client.posts.insert({ blogId: "blogId", }); + +/* +Retrieves a list of posts, possibly filtered. +*/ +await gapi.client.posts.list({ blogId: "blogId", }); + +/* +Update a post. This method supports patch semantics. +*/ +await gapi.client.posts.patch({ blogId: "blogId", postId: "postId", }); + +/* +Publishes a draft post, optionally at the specific time of the given publishDate parameter. +*/ +await gapi.client.posts.publish({ blogId: "blogId", postId: "postId", }); + +/* +Revert a published or scheduled post to draft state. +*/ +await gapi.client.posts.revert({ blogId: "blogId", postId: "postId", }); + +/* +Search for a post. +*/ +await gapi.client.posts.search({ blogId: "blogId", q: "q", }); + +/* +Update a post. +*/ +await gapi.client.posts.update({ blogId: "blogId", postId: "postId", }); + +/* +Gets one user by ID. +*/ +await gapi.client.users.get({ userId: "userId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.blogger/tsconfig.json b/types/gapi.client.blogger/tsconfig.json new file mode 100644 index 0000000000..1b5be0ad2b --- /dev/null +++ b/types/gapi.client.blogger/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.blogger-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.blogger/tslint.json b/types/gapi.client.blogger/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.blogger/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.books/gapi.client.books-tests.ts b/types/gapi.client.books/gapi.client.books-tests.ts new file mode 100644 index 0000000000..c7f57f61d7 --- /dev/null +++ b/types/gapi.client.books/gapi.client.books-tests.ts @@ -0,0 +1,193 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('books', 'v1', () => { + /** now we can use gapi.client.books */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage your books */ + 'https://www.googleapis.com/auth/books', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Retrieves metadata for a specific bookshelf for the specified user. */ + await gapi.client.bookshelves.get({ + shelf: "shelf", + source: "source", + userId: "userId", + }); + /** Retrieves a list of public bookshelves for the specified user. */ + await gapi.client.bookshelves.list({ + source: "source", + userId: "userId", + }); + await gapi.client.cloudloading.addBook({ + drive_document_id: "drive_document_id", + mime_type: "mime_type", + name: "name", + upload_client_token: "upload_client_token", + }); + /** Remove the book and its contents */ + await gapi.client.cloudloading.deleteBook({ + volumeId: "volumeId", + }); + await gapi.client.cloudloading.updateBook({ + }); + /** Returns a list of offline dictionary metadata available */ + await gapi.client.dictionary.listOfflineMetadata({ + cpksver: "cpksver", + }); + /** Gets the layer summary for a volume. */ + await gapi.client.layers.get({ + contentVersion: "contentVersion", + source: "source", + summaryId: "summaryId", + volumeId: "volumeId", + }); + /** List the layer summaries for a volume. */ + await gapi.client.layers.list({ + contentVersion: "contentVersion", + maxResults: 2, + pageToken: "pageToken", + source: "source", + volumeId: "volumeId", + }); + /** Gets the current settings for the user. */ + await gapi.client.myconfig.getUserSettings({ + }); + /** Release downloaded content access restriction. */ + await gapi.client.myconfig.releaseDownloadAccess({ + cpksver: "cpksver", + locale: "locale", + source: "source", + volumeIds: "volumeIds", + }); + /** Request concurrent and download access restrictions. */ + await gapi.client.myconfig.requestAccess({ + cpksver: "cpksver", + licenseTypes: "licenseTypes", + locale: "locale", + nonce: "nonce", + source: "source", + volumeId: "volumeId", + }); + /** Request downloaded content access for specified volumes on the My eBooks shelf. */ + await gapi.client.myconfig.syncVolumeLicenses({ + cpksver: "cpksver", + features: "features", + includeNonComicsSeries: true, + locale: "locale", + nonce: "nonce", + showPreorders: true, + source: "source", + volumeIds: "volumeIds", + }); + /** + * Sets the settings for the user. If a sub-object is specified, it will overwrite the existing sub-object stored in the server. Unspecified sub-objects + * will retain the existing value. + */ + await gapi.client.myconfig.updateUserSettings({ + }); + /** Returns notification details for a given notification id. */ + await gapi.client.notification.get({ + locale: "locale", + notification_id: "notification_id", + source: "source", + }); + /** List categories for onboarding experience. */ + await gapi.client.onboarding.listCategories({ + locale: "locale", + }); + /** List available volumes under categories for onboarding experience. */ + await gapi.client.onboarding.listCategoryVolumes({ + categoryId: "categoryId", + locale: "locale", + maxAllowedMaturityRating: "maxAllowedMaturityRating", + pageSize: 4, + pageToken: "pageToken", + }); + /** Returns a stream of personalized book clusters */ + await gapi.client.personalizedstream.get({ + locale: "locale", + maxAllowedMaturityRating: "maxAllowedMaturityRating", + source: "source", + }); + await gapi.client.promooffer.accept({ + androidId: "androidId", + device: "device", + manufacturer: "manufacturer", + model: "model", + offerId: "offerId", + product: "product", + serial: "serial", + volumeId: "volumeId", + }); + await gapi.client.promooffer.dismiss({ + androidId: "androidId", + device: "device", + manufacturer: "manufacturer", + model: "model", + offerId: "offerId", + product: "product", + serial: "serial", + }); + /** Returns a list of promo offers available to the user */ + await gapi.client.promooffer.get({ + androidId: "androidId", + device: "device", + manufacturer: "manufacturer", + model: "model", + product: "product", + serial: "serial", + }); + /** Returns Series metadata for the given series ids. */ + await gapi.client.series.get({ + series_id: "series_id", + }); + /** Gets volume information for a single volume. */ + await gapi.client.volumes.get({ + country: "country", + includeNonComicsSeries: true, + partner: "partner", + projection: "projection", + source: "source", + user_library_consistent_read: true, + volumeId: "volumeId", + }); + /** Performs a book search. */ + await gapi.client.volumes.list({ + download: "download", + filter: "filter", + langRestrict: "langRestrict", + libraryRestrict: "libraryRestrict", + maxAllowedMaturityRating: "maxAllowedMaturityRating", + maxResults: 6, + orderBy: "orderBy", + partner: "partner", + printType: "printType", + projection: "projection", + q: "q", + showPreorders: true, + source: "source", + startIndex: 14, + }); + } +}); diff --git a/types/gapi.client.books/index.d.ts b/types/gapi.client.books/index.d.ts new file mode 100644 index 0000000000..e0ca0a63af --- /dev/null +++ b/types/gapi.client.books/index.d.ts @@ -0,0 +1,2447 @@ +// Type definitions for Google Books API v1 1.0 +// Project: https://developers.google.com/books/docs/v1/getting_started +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/books/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Books API v1 */ + function load(name: "books", version: "v1"): PromiseLike<void>; + function load(name: "books", version: "v1", callback: () => any): void; + + const bookshelves: books.BookshelvesResource; + + const cloudloading: books.CloudloadingResource; + + const dictionary: books.DictionaryResource; + + const layers: books.LayersResource; + + const myconfig: books.MyconfigResource; + + const mylibrary: books.MylibraryResource; + + const notification: books.NotificationResource; + + const onboarding: books.OnboardingResource; + + const personalizedstream: books.PersonalizedstreamResource; + + const promooffer: books.PromoofferResource; + + const series: books.SeriesResource; + + const volumes: books.VolumesResource; + + namespace books { + interface Annotation { + /** Anchor text after excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty. */ + afterSelectedText?: string; + /** Anchor text before excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty. */ + beforeSelectedText?: string; + /** Selection ranges sent from the client. */ + clientVersionRanges?: { + /** Range in CFI format for this annotation sent by client. */ + cfiRange?: BooksAnnotationsRange; + /** Content version the client sent in. */ + contentVersion?: string; + /** Range in GB image format for this annotation sent by client. */ + gbImageRange?: BooksAnnotationsRange; + /** Range in GB text format for this annotation sent by client. */ + gbTextRange?: BooksAnnotationsRange; + /** Range in image CFI format for this annotation sent by client. */ + imageCfiRange?: BooksAnnotationsRange; + }; + /** Timestamp for the created time of this annotation. */ + created?: string; + /** Selection ranges for the most recent content version. */ + currentVersionRanges?: { + /** Range in CFI format for this annotation for version above. */ + cfiRange?: BooksAnnotationsRange; + /** Content version applicable to ranges below. */ + contentVersion?: string; + /** Range in GB image format for this annotation for version above. */ + gbImageRange?: BooksAnnotationsRange; + /** Range in GB text format for this annotation for version above. */ + gbTextRange?: BooksAnnotationsRange; + /** Range in image CFI format for this annotation for version above. */ + imageCfiRange?: BooksAnnotationsRange; + }; + /** User-created data for this annotation. */ + data?: string; + /** Indicates that this annotation is deleted. */ + deleted?: boolean; + /** The highlight style for this annotation. */ + highlightStyle?: string; + /** Id of this annotation, in the form of a GUID. */ + id?: string; + /** Resource type. */ + kind?: string; + /** The layer this annotation is for. */ + layerId?: string; + layerSummary?: { + /** Maximum allowed characters on this layer, especially for the "copy" layer. */ + allowedCharacterCount?: number; + /** Type of limitation on this layer. "limited" or "unlimited" for the "copy" layer. */ + limitType?: string; + /** Remaining allowed characters on this layer, especially for the "copy" layer. */ + remainingCharacterCount?: number; + }; + /** Pages that this annotation spans. */ + pageIds?: string[]; + /** Excerpt from the volume. */ + selectedText?: string; + /** URL to this resource. */ + selfLink?: string; + /** Timestamp for the last time this annotation was modified. */ + updated?: string; + /** The volume that this annotation belongs to. */ + volumeId?: string; + } + interface Annotationdata { + /** The type of annotation this data is for. */ + annotationType?: string; + data?: any; + /** Base64 encoded data for this annotation data. */ + encoded_data?: string; + /** Unique id for this annotation data. */ + id?: string; + /** Resource Type */ + kind?: string; + /** The Layer id for this data. * */ + layerId?: string; + /** URL for this resource. * */ + selfLink?: string; + /** Timestamp for the last time this data was updated. (RFC 3339 UTC date-time format). */ + updated?: string; + /** The volume id for this data. * */ + volumeId?: string; + } + interface Annotations { + /** A list of annotations. */ + items?: Annotation[]; + /** Resource type. */ + kind?: string; + /** Token to pass in for pagination for the next page. This will not be present if this request does not have more results. */ + nextPageToken?: string; + /** Total number of annotations found. This may be greater than the number of notes returned in this response if results have been paginated. */ + totalItems?: number; + } + interface AnnotationsSummary { + kind?: string; + layers?: Array<{ + allowedCharacterCount?: number; + layerId?: string; + limitType?: string; + remainingCharacterCount?: number; + updated?: string; + }>; + } + interface Annotationsdata { + /** A list of Annotation Data. */ + items?: Annotationdata[]; + /** Resource type */ + kind?: string; + /** Token to pass in for pagination for the next page. This will not be present if this request does not have more results. */ + nextPageToken?: string; + /** The total number of volume annotations found. */ + totalItems?: number; + } + interface BooksAnnotationsRange { + /** The offset from the ending position. */ + endOffset?: string; + /** The ending position for the range. */ + endPosition?: string; + /** The offset from the starting position. */ + startOffset?: string; + /** The starting position for the range. */ + startPosition?: string; + } + interface BooksCloudloadingResource { + author?: string; + processingState?: string; + title?: string; + volumeId?: string; + } + interface BooksVolumesRecommendedRateResponse { + consistency_token?: string; + } + interface Bookshelf { + /** Whether this bookshelf is PUBLIC or PRIVATE. */ + access?: string; + /** Created time for this bookshelf (formatted UTC timestamp with millisecond resolution). */ + created?: string; + /** Description of this bookshelf. */ + description?: string; + /** Id of this bookshelf, only unique by user. */ + id?: number; + /** Resource type for bookshelf metadata. */ + kind?: string; + /** URL to this resource. */ + selfLink?: string; + /** Title of this bookshelf. */ + title?: string; + /** Last modified time of this bookshelf (formatted UTC timestamp with millisecond resolution). */ + updated?: string; + /** Number of volumes in this bookshelf. */ + volumeCount?: number; + /** Last time a volume was added or removed from this bookshelf (formatted UTC timestamp with millisecond resolution). */ + volumesLastUpdated?: string; + } + interface Bookshelves { + /** A list of bookshelves. */ + items?: Bookshelf[]; + /** Resource type. */ + kind?: string; + } + interface Category { + /** A list of onboarding categories. */ + items?: Array<{ + badgeUrl?: string; + categoryId?: string; + name?: string; + }>; + /** Resource type. */ + kind?: string; + } + interface ConcurrentAccessRestriction { + /** Whether access is granted for this (user, device, volume). */ + deviceAllowed?: boolean; + /** Resource type. */ + kind?: string; + /** The maximum number of concurrent access licenses for this volume. */ + maxConcurrentDevices?: number; + /** Error/warning message. */ + message?: string; + /** Client nonce for verification. Download access and client-validation only. */ + nonce?: string; + /** Error/warning reason code. */ + reasonCode?: string; + /** Whether this volume has any concurrent access restrictions. */ + restricted?: boolean; + /** Response signature. */ + signature?: string; + /** Client app identifier for verification. Download access and client-validation only. */ + source?: string; + /** Time in seconds for license auto-expiration. */ + timeWindowSeconds?: number; + /** Identifies the volume for which this entry applies. */ + volumeId?: string; + } + interface Dictlayerdata { + common?: { + /** The display title and localized canonical name to use when searching for this entity on Google search. */ + title?: string; + }; + dict?: { + /** The source, url and attribution for this dictionary data. */ + source?: { + attribution?: string; + url?: string; + }; + words?: Array<{ + derivatives?: Array<{ + source?: { + attribution?: string; + url?: string; + }; + text?: string; + }>; + examples?: Array<{ + source?: { + attribution?: string; + url?: string; + }; + text?: string; + }>; + senses?: Array<{ + conjugations?: Array<{ + type?: string; + value?: string; + }>; + definitions?: Array<{ + definition?: string; + examples?: Array<{ + source?: { + attribution?: string; + url?: string; + }; + text?: string; + }>; + }>; + partOfSpeech?: string; + pronunciation?: string; + pronunciationUrl?: string; + source?: { + attribution?: string; + url?: string; + }; + syllabification?: string; + synonyms?: Array<{ + source?: { + attribution?: string; + url?: string; + }; + text?: string; + }>; + }>; + /** The words with different meanings but not related words, e.g. "go" (game) and "go" (verb). */ + source?: { + attribution?: string; + url?: string; + }; + }>; + }; + kind?: string; + } + interface Discoveryclusters { + clusters?: Array<{ + banner_with_content_container?: { + fillColorArgb?: string; + imageUrl?: string; + maskColorArgb?: string; + moreButtonText?: string; + moreButtonUrl?: string; + textColorArgb?: string; + }; + subTitle?: string; + title?: string; + totalVolumes?: number; + uid?: string; + volumes?: Volume[]; + }>; + /** Resorce type. */ + kind?: string; + totalClusters?: number; + } + interface DownloadAccessRestriction { + /** If restricted, whether access is granted for this (user, device, volume). */ + deviceAllowed?: boolean; + /** If restricted, the number of content download licenses already acquired (including the requesting client, if licensed). */ + downloadsAcquired?: number; + /** If deviceAllowed, whether access was just acquired with this request. */ + justAcquired?: boolean; + /** Resource type. */ + kind?: string; + /** If restricted, the maximum number of content download licenses for this volume. */ + maxDownloadDevices?: number; + /** Error/warning message. */ + message?: string; + /** Client nonce for verification. Download access and client-validation only. */ + nonce?: string; + /** + * Error/warning reason code. Additional codes may be added in the future. 0 OK 100 ACCESS_DENIED_PUBLISHER_LIMIT 101 ACCESS_DENIED_LIMIT 200 + * WARNING_USED_LAST_ACCESS + */ + reasonCode?: string; + /** Whether this volume has any download access restrictions. */ + restricted?: boolean; + /** Response signature. */ + signature?: string; + /** Client app identifier for verification. Download access and client-validation only. */ + source?: string; + /** Identifies the volume for which this entry applies. */ + volumeId?: string; + } + interface DownloadAccesses { + /** A list of download access responses. */ + downloadAccessList?: DownloadAccessRestriction[]; + /** Resource type. */ + kind?: string; + } + interface Geolayerdata { + common?: { + /** The language of the information url and description. */ + lang?: string; + /** The URL for the preview image information. */ + previewImageUrl?: string; + /** The description for this location. */ + snippet?: string; + /** The URL for information for this location. Ex: wikipedia link. */ + snippetUrl?: string; + /** The display title and localized canonical name to use when searching for this entity on Google search. */ + title?: string; + }; + geo?: { + /** The boundary of the location as a set of loops containing pairs of latitude, longitude coordinates. */ + boundary?: Array<Array<{ + latitude?: number; + longitude?: number; + }>>; + /** The cache policy active for this data. EX: UNRESTRICTED, RESTRICTED, NEVER */ + cachePolicy?: string; + /** The country code of the location. */ + countryCode?: string; + /** The latitude of the location. */ + latitude?: number; + /** The longitude of the location. */ + longitude?: number; + /** The type of map that should be used for this location. EX: HYBRID, ROADMAP, SATELLITE, TERRAIN */ + mapType?: string; + /** The viewport for showing this location. This is a latitude, longitude rectangle. */ + viewport?: { + hi?: { + latitude?: number; + longitude?: number; + }; + lo?: { + latitude?: number; + longitude?: number; + }; + }; + /** + * The Zoom level to use for the map. Zoom levels between 0 (the lowest zoom level, in which the entire world can be seen on one map) to 21+ (down to + * individual buildings). See: https://developers.google.com/maps/documentation/staticmaps/#Zoomlevels + */ + zoom?: number; + }; + kind?: string; + } + interface Layersummaries { + /** A list of layer summary items. */ + items?: Layersummary[]; + /** Resource type. */ + kind?: string; + /** The total number of layer summaries found. */ + totalItems?: number; + } + interface Layersummary { + /** The number of annotations for this layer. */ + annotationCount?: number; + /** The list of annotation types contained for this layer. */ + annotationTypes?: string[]; + /** Link to get data for this annotation. */ + annotationsDataLink?: string; + /** The link to get the annotations for this layer. */ + annotationsLink?: string; + /** The content version this resource is for. */ + contentVersion?: string; + /** The number of data items for this layer. */ + dataCount?: number; + /** Unique id of this layer summary. */ + id?: string; + /** Resource Type */ + kind?: string; + /** The layer id for this summary. */ + layerId?: string; + /** URL to this resource. */ + selfLink?: string; + /** Timestamp for the last time an item in this layer was updated. (RFC 3339 UTC date-time format). */ + updated?: string; + /** + * The current version of this layer's volume annotations. Note that this version applies only to the data in the books.layers.volumeAnnotations.* + * responses. The actual annotation data is versioned separately. + */ + volumeAnnotationsVersion?: string; + /** The volume id this resource is for. */ + volumeId?: string; + } + interface Metadata { + /** A list of offline dictionary metadata. */ + items?: Array<{ + download_url?: string; + encrypted_key?: string; + language?: string; + size?: string; + version?: string; + }>; + /** Resource type. */ + kind?: string; + } + interface Notification { + body?: string; + /** The list of crm experiment ids. */ + crmExperimentIds?: string[]; + doc_id?: string; + doc_type?: string; + dont_show_notification?: boolean; + iconUrl?: string; + /** Resource type. */ + kind?: string; + notificationGroup?: string; + notification_type?: string; + pcampaign_id?: string; + reason?: string; + show_notification_settings_action?: boolean; + targetUrl?: string; + title?: string; + } + interface Offers { + /** A list of offers. */ + items?: Array<{ + artUrl?: string; + gservicesKey?: string; + id?: string; + items?: Array<{ + author?: string; + canonicalVolumeLink?: string; + coverUrl?: string; + description?: string; + title?: string; + volumeId?: string; + }>; + }>; + /** Resource type. */ + kind?: string; + } + interface ReadingPosition { + /** Position in an EPUB as a CFI. */ + epubCfiPosition?: string; + /** Position in a volume for image-based content. */ + gbImagePosition?: string; + /** Position in a volume for text-based content. */ + gbTextPosition?: string; + /** Resource type for a reading position. */ + kind?: string; + /** Position in a PDF file. */ + pdfPosition?: string; + /** Timestamp when this reading position was last updated (formatted UTC timestamp with millisecond resolution). */ + updated?: string; + /** Volume id associated with this reading position. */ + volumeId?: string; + } + interface RequestAccess { + /** A concurrent access response. */ + concurrentAccess?: ConcurrentAccessRestriction; + /** A download access response. */ + downloadAccess?: DownloadAccessRestriction; + /** Resource type. */ + kind?: string; + } + interface Review { + /** Author of this review. */ + author?: { + /** Name of this person. */ + displayName?: string; + }; + /** Review text. */ + content?: string; + /** Date of this review. */ + date?: string; + /** URL for the full review text, for reviews gathered from the web. */ + fullTextUrl?: string; + /** Resource type for a review. */ + kind?: string; + /** Star rating for this review. Possible values are ONE, TWO, THREE, FOUR, FIVE or NOT_RATED. */ + rating?: string; + /** Information regarding the source of this review, when the review is not from a Google Books user. */ + source?: { + /** Name of the source. */ + description?: string; + /** Extra text about the source of the review. */ + extraDescription?: string; + /** URL of the source of the review. */ + url?: string; + }; + /** Title for this review. */ + title?: string; + /** Source type for this review. Possible values are EDITORIAL, WEB_USER or GOOGLE_USER. */ + type?: string; + /** Volume that this review is for. */ + volumeId?: string; + } + interface Series { + /** Resource type. */ + kind?: string; + series?: Array<{ + bannerImageUrl?: string; + imageUrl?: string; + seriesId?: string; + seriesType?: string; + title?: string; + }>; + } + interface Seriesmembership { + /** Resorce type. */ + kind?: string; + member?: Volume[]; + nextPageToken?: string; + } + interface Usersettings { + /** Resource type. */ + kind?: string; + /** User settings in sub-objects, each for different purposes. */ + notesExport?: { + folderName?: string; + isEnabled?: boolean; + }; + notification?: { + moreFromAuthors?: { + opted_state?: string; + }; + moreFromSeries?: { + opted_state?: string; + }; + rewardExpirations?: { + opted_state?: string; + }; + }; + } + interface Volume { + /** + * Any information about a volume related to reading or obtaining that volume text. This information can depend on country (books may be public domain in + * one country but not in another, e.g.). + */ + accessInfo?: { + /** + * Combines the access and viewability of this volume into a single status field for this user. Values can be FULL_PURCHASED, FULL_PUBLIC_DOMAIN, SAMPLE + * or NONE. (In LITE projection.) + */ + accessViewStatus?: string; + /** The two-letter ISO_3166-1 country code for which this access information is valid. (In LITE projection.) */ + country?: string; + /** Information about a volume's download license access restrictions. */ + downloadAccess?: DownloadAccessRestriction; + /** URL to the Google Drive viewer if this volume is uploaded by the user by selecting the file from Google Drive. */ + driveImportedContentLink?: string; + /** Whether this volume can be embedded in a viewport using the Embedded Viewer API. */ + embeddable?: boolean; + /** Information about epub content. (In LITE projection.) */ + epub?: { + /** URL to retrieve ACS token for epub download. (In LITE projection.) */ + acsTokenLink?: string; + /** URL to download epub. (In LITE projection.) */ + downloadLink?: string; + /** Is a flowing text epub available either as public domain or for purchase. (In LITE projection.) */ + isAvailable?: boolean; + }; + /** + * Whether this volume requires that the client explicitly request offline download license rather than have it done automatically when loading the + * content, if the client supports it. + */ + explicitOfflineLicenseManagement?: boolean; + /** Information about pdf content. (In LITE projection.) */ + pdf?: { + /** URL to retrieve ACS token for pdf download. (In LITE projection.) */ + acsTokenLink?: string; + /** URL to download pdf. (In LITE projection.) */ + downloadLink?: string; + /** Is a scanned image pdf available either as public domain or for purchase. (In LITE projection.) */ + isAvailable?: boolean; + }; + /** Whether or not this book is public domain in the country listed above. */ + publicDomain?: boolean; + /** Whether quote sharing is allowed for this volume. */ + quoteSharingAllowed?: boolean; + /** Whether text-to-speech is permitted for this volume. Values can be ALLOWED, ALLOWED_FOR_ACCESSIBILITY, or NOT_ALLOWED. */ + textToSpeechPermission?: string; + /** For ordered but not yet processed orders, we give a URL that can be used to go to the appropriate Google Wallet page. */ + viewOrderUrl?: string; + /** + * The read access of a volume. Possible values are PARTIAL, ALL_PAGES, NO_PAGES or UNKNOWN. This value depends on the country listed above. A value of + * PARTIAL means that the publisher has allowed some portion of the volume to be viewed publicly, without purchase. This can apply to eBooks as well as + * non-eBooks. Public domain books will always have a value of ALL_PAGES. + */ + viewability?: string; + /** URL to read this volume on the Google Books site. Link will not allow users to read non-viewable volumes. */ + webReaderLink?: string; + }; + /** Opaque identifier for a specific version of a volume resource. (In LITE projection) */ + etag?: string; + /** Unique identifier for a volume. (In LITE projection.) */ + id?: string; + /** Resource type for a volume. (In LITE projection.) */ + kind?: string; + /** What layers exist in this volume and high level information about them. */ + layerInfo?: { + /** A layer should appear here if and only if the layer exists for this book. */ + layers?: Array<{ + /** The layer id of this layer (e.g. "geo"). */ + layerId?: string; + /** + * The current version of this layer's volume annotations. Note that this version applies only to the data in the books.layers.volumeAnnotations.* + * responses. The actual annotation data is versioned separately. + */ + volumeAnnotationsVersion?: string; + }>; + }; + /** Recommendation related information for this volume. */ + recommendedInfo?: { + /** A text explaining why this volume is recommended. */ + explanation?: string; + }; + /** + * Any information about a volume related to the eBookstore and/or purchaseability. This information can depend on the country where the request + * originates from (i.e. books may not be for sale in certain countries). + */ + saleInfo?: { + /** URL to purchase this volume on the Google Books site. (In LITE projection) */ + buyLink?: string; + /** The two-letter ISO_3166-1 country code for which this sale information is valid. (In LITE projection.) */ + country?: string; + /** Whether or not this volume is an eBook (can be added to the My eBooks shelf). */ + isEbook?: boolean; + /** Suggested retail price. (In LITE projection.) */ + listPrice?: { + /** Amount in the currency listed below. (In LITE projection.) */ + amount?: number; + /** An ISO 4217, three-letter currency code. (In LITE projection.) */ + currencyCode?: string; + }; + /** Offers available for this volume (sales and rentals). */ + offers?: Array<{ + /** The finsky offer type (e.g., PURCHASE=0 RENTAL=3) */ + finskyOfferType?: number; + /** Indicates whether the offer is giftable. */ + giftable?: boolean; + /** Offer list (=undiscounted) price in Micros. */ + listPrice?: { + amountInMicros?: number; + currencyCode?: string; + }; + /** The rental duration (for rental offers only). */ + rentalDuration?: { + count?: number; + unit?: string; + }; + /** Offer retail (=discounted) price in Micros */ + retailPrice?: { + amountInMicros?: number; + currencyCode?: string; + }; + }>; + /** The date on which this book is available for sale. */ + onSaleDate?: string; + /** + * The actual selling price of the book. This is the same as the suggested retail or list price unless there are offers or discounts on this volume. (In + * LITE projection.) + */ + retailPrice?: { + /** Amount in the currency listed below. (In LITE projection.) */ + amount?: number; + /** An ISO 4217, three-letter currency code. (In LITE projection.) */ + currencyCode?: string; + }; + /** + * Whether or not this book is available for sale or offered for free in the Google eBookstore for the country listed above. Possible values are FOR_SALE, + * FOR_RENTAL_ONLY, FOR_SALE_AND_RENTAL, FREE, NOT_FOR_SALE, or FOR_PREORDER. + */ + saleability?: string; + }; + /** Search result information related to this volume. */ + searchInfo?: { + /** A text snippet containing the search query. */ + textSnippet?: string; + }; + /** URL to this resource. (In LITE projection.) */ + selfLink?: string; + /** User specific information related to this volume. (e.g. page this user last read or whether they purchased this book) */ + userInfo?: { + /** + * Timestamp when this volume was acquired by the user. (RFC 3339 UTC date-time format) Acquiring includes purchase, user upload, receiving family + * sharing, etc. + */ + acquiredTime?: string; + /** How this volume was acquired. */ + acquisitionType?: number; + /** Copy/Paste accounting information. */ + copy?: { + allowedCharacterCount?: number; + limitType?: string; + remainingCharacterCount?: number; + updated?: string; + }; + /** Whether this volume is purchased, sample, pd download etc. */ + entitlementType?: number; + /** Information on the ability to share with the family. */ + familySharing?: { + /** The role of the user in the family. */ + familyRole?: string; + /** + * Whether or not this volume can be shared with the family by the user. This includes sharing eligibility of both the volume and the user. If the value + * is true, the user can initiate a family sharing action. + */ + isSharingAllowed?: boolean; + /** Whether or not sharing this volume is temporarily disabled due to issues with the Family Wallet. */ + isSharingDisabledByFop?: boolean; + }; + /** Whether or not the user shared this volume with the family. */ + isFamilySharedFromUser?: boolean; + /** Whether or not the user received this volume through family sharing. */ + isFamilySharedToUser?: boolean; + /** Deprecated: Replaced by familySharing. */ + isFamilySharingAllowed?: boolean; + /** Deprecated: Replaced by familySharing. */ + isFamilySharingDisabledByFop?: boolean; + /** Whether or not this volume is currently in "my books." */ + isInMyBooks?: boolean; + /** Whether or not this volume was pre-ordered by the authenticated user making the request. (In LITE projection.) */ + isPreordered?: boolean; + /** Whether or not this volume was purchased by the authenticated user making the request. (In LITE projection.) */ + isPurchased?: boolean; + /** Whether or not this volume was user uploaded. */ + isUploaded?: boolean; + /** The user's current reading position in the volume, if one is available. (In LITE projection.) */ + readingPosition?: ReadingPosition; + /** Period during this book is/was a valid rental. */ + rentalPeriod?: { + endUtcSec?: string; + startUtcSec?: string; + }; + /** Whether this book is an active or an expired rental. */ + rentalState?: string; + /** This user's review of this volume, if one exists. */ + review?: Review; + /** + * Timestamp when this volume was last modified by a user action, such as a reading position update, volume purchase or writing a review. (RFC 3339 UTC + * date-time format). + */ + updated?: string; + userUploadedVolumeInfo?: { + processingState?: string; + }; + }; + /** General volume information. */ + volumeInfo?: { + /** Whether anonymous logging should be allowed. */ + allowAnonLogging?: boolean; + /** The names of the authors and/or editors for this volume. (In LITE projection) */ + authors?: string[]; + /** The mean review rating for this volume. (min = 1.0, max = 5.0) */ + averageRating?: number; + /** Canonical URL for a volume. (In LITE projection.) */ + canonicalVolumeLink?: string; + /** A list of subject categories, such as "Fiction", "Suspense", etc. */ + categories?: string[]; + /** An identifier for the version of the volume content (text & images). (In LITE projection) */ + contentVersion?: string; + /** + * A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE + * projection.) + */ + description?: string; + /** Physical dimensions of this volume. */ + dimensions?: { + /** Height or length of this volume (in cm). */ + height?: string; + /** Thickness of this volume (in cm). */ + thickness?: string; + /** Width of this volume (in cm). */ + width?: string; + }; + /** A list of image links for all the sizes that are available. (In LITE projection.) */ + imageLinks?: { + /** Image link for extra large size (width of ~1280 pixels). (In LITE projection) */ + extraLarge?: string; + /** Image link for large size (width of ~800 pixels). (In LITE projection) */ + large?: string; + /** Image link for medium size (width of ~575 pixels). (In LITE projection) */ + medium?: string; + /** Image link for small size (width of ~300 pixels). (In LITE projection) */ + small?: string; + /** Image link for small thumbnail size (width of ~80 pixels). (In LITE projection) */ + smallThumbnail?: string; + /** Image link for thumbnail size (width of ~128 pixels). (In LITE projection) */ + thumbnail?: string; + }; + /** Industry standard identifiers for this volume. */ + industryIdentifiers?: Array<{ + /** Industry specific volume identifier. */ + identifier?: string; + /** Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER. */ + type?: string; + }>; + /** URL to view information about this volume on the Google Books site. (In LITE projection) */ + infoLink?: string; + /** Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc. */ + language?: string; + /** The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight. */ + mainCategory?: string; + maturityRating?: string; + /** Total number of pages as per publisher metadata. */ + pageCount?: number; + /** A top-level summary of the panelization info in this volume. */ + panelizationSummary?: { + containsEpubBubbles?: boolean; + containsImageBubbles?: boolean; + epubBubbleVersion?: string; + imageBubbleVersion?: string; + }; + /** URL to preview this volume on the Google Books site. */ + previewLink?: string; + /** Type of publication of this volume. Possible values are BOOK or MAGAZINE. */ + printType?: string; + /** Total number of printed pages in generated pdf representation. */ + printedPageCount?: number; + /** Date of publication. (In LITE projection.) */ + publishedDate?: string; + /** Publisher of this volume. (In LITE projection.) */ + publisher?: string; + /** The number of review ratings for this volume. */ + ratingsCount?: number; + /** The reading modes available for this volume. */ + readingModes?: any; + /** Total number of sample pages as per publisher metadata. */ + samplePageCount?: number; + seriesInfo?: Volumeseriesinfo; + /** Volume subtitle. (In LITE projection.) */ + subtitle?: string; + /** Volume title. (In LITE projection.) */ + title?: string; + }; + } + interface Volume2 { + /** A list of volumes. */ + items?: Volume[]; + /** Resource type. */ + kind?: string; + nextPageToken?: string; + } + interface Volumeannotation { + /** The annotation data id for this volume annotation. */ + annotationDataId?: string; + /** Link to get data for this annotation. */ + annotationDataLink?: string; + /** The type of annotation this is. */ + annotationType?: string; + /** The content ranges to identify the selected text. */ + contentRanges?: { + /** Range in CFI format for this annotation for version above. */ + cfiRange?: BooksAnnotationsRange; + /** Content version applicable to ranges below. */ + contentVersion?: string; + /** Range in GB image format for this annotation for version above. */ + gbImageRange?: BooksAnnotationsRange; + /** Range in GB text format for this annotation for version above. */ + gbTextRange?: BooksAnnotationsRange; + }; + /** Data for this annotation. */ + data?: string; + /** Indicates that this annotation is deleted. */ + deleted?: boolean; + /** Unique id of this volume annotation. */ + id?: string; + /** Resource Type */ + kind?: string; + /** The Layer this annotation is for. */ + layerId?: string; + /** Pages the annotation spans. */ + pageIds?: string[]; + /** Excerpt from the volume. */ + selectedText?: string; + /** URL to this resource. */ + selfLink?: string; + /** Timestamp for the last time this anntoation was updated. (RFC 3339 UTC date-time format). */ + updated?: string; + /** The Volume this annotation is for. */ + volumeId?: string; + } + interface Volumeannotations { + /** A list of volume annotations. */ + items?: Volumeannotation[]; + /** Resource type */ + kind?: string; + /** Token to pass in for pagination for the next page. This will not be present if this request does not have more results. */ + nextPageToken?: string; + /** The total number of volume annotations found. */ + totalItems?: number; + /** + * The version string for all of the volume annotations in this layer (not just the ones in this response). Note: the version string doesn't apply to the + * annotation data, just the information in this response (e.g. the location of annotations in the book). + */ + version?: string; + } + interface Volumes { + /** A list of volumes. */ + items?: Volume[]; + /** Resource type. */ + kind?: string; + /** Total number of volumes found. This might be greater than the number of volumes returned in this response if results have been paginated. */ + totalItems?: number; + } + interface Volumeseriesinfo { + /** The display number string. This should be used only for display purposes and the actual sequence should be inferred from the below orderNumber. */ + bookDisplayNumber?: string; + /** Resource type. */ + kind?: string; + /** Short book title in the context of the series. */ + shortSeriesBookTitle?: string; + volumeSeries?: Array<{ + /** List of issues. Applicable only for Collection Edition and Omnibus. */ + issue?: Array<{ + issueDisplayNumber?: string; + issueOrderNumber?: number; + }>; + /** The book order number in the series. */ + orderNumber?: number; + /** The book type in the context of series. Examples - Single Issue, Collection Edition, etc. */ + seriesBookType?: string; + /** The series id. */ + seriesId?: string; + }>; + } + interface VolumesResource { + /** Retrieves volumes in a specific bookshelf for the specified user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** ID of bookshelf to retrieve volumes. */ + shelf: string; + /** Set to true to show pre-ordered books. Defaults to false. */ + showPreorders?: boolean; + /** String to identify the originator of this request. */ + source?: string; + /** Index of the first element to return (starts at 0) */ + startIndex?: number; + /** ID of user for whom to retrieve bookshelf volumes. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Volumes>; + } + interface BookshelvesResource { + /** Retrieves metadata for a specific bookshelf for the specified user. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** ID of bookshelf to retrieve. */ + shelf: string; + /** String to identify the originator of this request. */ + source?: string; + /** ID of user for whom to retrieve bookshelves. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Bookshelf>; + /** Retrieves a list of public bookshelves for the specified user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** String to identify the originator of this request. */ + source?: string; + /** ID of user for whom to retrieve bookshelves. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Bookshelves>; + volumes: VolumesResource; + } + interface CloudloadingResource { + addBook(request: { + /** Data format for the response. */ + alt?: string; + /** A drive document id. The upload_client_token must not be set. */ + drive_document_id?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The document MIME type. It can be set only if the drive_document_id is set. */ + mime_type?: string; + /** The document name. It can be set only if the drive_document_id is set. */ + name?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + upload_client_token?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<BooksCloudloadingResource>; + /** Remove the book and its contents */ + deleteBook(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The id of the book to be removed. */ + volumeId: string; + }): Request<void>; + updateBook(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<BooksCloudloadingResource>; + } + interface DictionaryResource { + /** Returns a list of offline dictionary metadata available */ + listOfflineMetadata(request: { + /** Data format for the response. */ + alt?: string; + /** The device/version ID from which to request the data. */ + cpksver: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Metadata>; + } + interface AnnotationDataResource { + /** Gets the annotation data. */ + get(request: { + /** For the dictionary layer. Whether or not to allow web definitions. */ + allowWebDefinitions?: boolean; + /** Data format for the response. */ + alt?: string; + /** The ID of the annotation data to retrieve. */ + annotationDataId: string; + /** The content version for the volume you are trying to retrieve. */ + contentVersion: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The requested pixel height for any images. If height is provided width must also be provided. */ + h?: number; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID for the layer to get the annotations. */ + layerId: string; + /** The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. */ + locale?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The requested scale for the image. */ + scale?: number; + /** String to identify the originator of this request. */ + source?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The volume to retrieve annotations for. */ + volumeId: string; + /** The requested pixel width for any images. If width is provided height must also be provided. */ + w?: number; + }): Request<Annotationdata>; + /** Gets the annotation data for a volume and layer. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The list of Annotation Data Ids to retrieve. Pagination is ignored if this is set. */ + annotationDataId?: string; + /** The content version for the requested volume. */ + contentVersion: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The requested pixel height for any images. If height is provided width must also be provided. */ + h?: number; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID for the layer to get the annotation data. */ + layerId: string; + /** The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. */ + locale?: string; + /** Maximum number of results to return */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The value of the nextToken from the previous page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The requested scale for the image. */ + scale?: number; + /** String to identify the originator of this request. */ + source?: string; + /** RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive). */ + updatedMax?: string; + /** RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive). */ + updatedMin?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The volume to retrieve annotation data for. */ + volumeId: string; + /** The requested pixel width for any images. If width is provided height must also be provided. */ + w?: number; + }): Request<Annotationsdata>; + } + interface VolumeAnnotationsResource { + /** Gets the volume annotation. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the volume annotation to retrieve. */ + annotationId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID for the layer to get the annotations. */ + layerId: string; + /** The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. */ + locale?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** String to identify the originator of this request. */ + source?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The volume to retrieve annotations for. */ + volumeId: string; + }): Request<Volumeannotation>; + /** Gets the volume annotations for a volume and layer. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The content version for the requested volume. */ + contentVersion: string; + /** The end offset to end retrieving data from. */ + endOffset?: string; + /** The end position to end retrieving data from. */ + endPosition?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID for the layer to get the annotations. */ + layerId: string; + /** The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. */ + locale?: string; + /** Maximum number of results to return */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The value of the nextToken from the previous page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Set to true to return deleted annotations. updatedMin must be in the request to use this. Defaults to false. */ + showDeleted?: boolean; + /** String to identify the originator of this request. */ + source?: string; + /** The start offset to start retrieving data from. */ + startOffset?: string; + /** The start position to start retrieving data from. */ + startPosition?: string; + /** RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive). */ + updatedMax?: string; + /** RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive). */ + updatedMin?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The version of the volume annotations that you are requesting. */ + volumeAnnotationsVersion?: string; + /** The volume to retrieve annotations for. */ + volumeId: string; + }): Request<Volumeannotations>; + } + interface LayersResource { + /** Gets the layer summary for a volume. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The content version for the requested volume. */ + contentVersion?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** String to identify the originator of this request. */ + source?: string; + /** The ID for the layer to get the summary for. */ + summaryId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The volume to retrieve layers for. */ + volumeId: string; + }): Request<Layersummary>; + /** List the layer summaries for a volume. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The content version for the requested volume. */ + contentVersion?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The value of the nextToken from the previous page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** String to identify the originator of this request. */ + source?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The volume to retrieve layers for. */ + volumeId: string; + }): Request<Layersummaries>; + annotationData: AnnotationDataResource; + volumeAnnotations: VolumeAnnotationsResource; + } + interface MyconfigResource { + /** Gets the current settings for the user. */ + getUserSettings(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Usersettings>; + /** Release downloaded content access restriction. */ + releaseDownloadAccess(request: { + /** Data format for the response. */ + alt?: string; + /** The device/version ID from which to release the restriction. */ + cpksver: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US. */ + locale?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** String to identify the originator of this request. */ + source?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The volume(s) to release restrictions for. */ + volumeIds: string; + }): Request<DownloadAccesses>; + /** Request concurrent and download access restrictions. */ + requestAccess(request: { + /** Data format for the response. */ + alt?: string; + /** The device/version ID from which to request the restrictions. */ + cpksver: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The type of access license to request. If not specified, the default is BOTH. */ + licenseTypes?: string; + /** ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US. */ + locale?: string; + /** The client nonce value. */ + nonce: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** String to identify the originator of this request. */ + source: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The volume to request concurrent/download restrictions for. */ + volumeId: string; + }): Request<RequestAccess>; + /** Request downloaded content access for specified volumes on the My eBooks shelf. */ + syncVolumeLicenses(request: { + /** Data format for the response. */ + alt?: string; + /** The device/version ID from which to release the restriction. */ + cpksver: string; + /** List of features supported by the client, i.e., 'RENTALS' */ + features?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Set to true to include non-comics series. Defaults to false. */ + includeNonComicsSeries?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US. */ + locale?: string; + /** The client nonce value. */ + nonce: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Set to true to show pre-ordered books. Defaults to false. */ + showPreorders?: boolean; + /** String to identify the originator of this request. */ + source: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The volume(s) to request download restrictions for. */ + volumeIds?: string; + }): Request<Volumes>; + /** + * Sets the settings for the user. If a sub-object is specified, it will overwrite the existing sub-object stored in the server. Unspecified sub-objects + * will retain the existing value. + */ + updateUserSettings(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Usersettings>; + } + interface AnnotationsResource { + /** Deletes an annotation. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The ID for the annotation to delete. */ + annotationId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** String to identify the originator of this request. */ + source?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Inserts a new annotation. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** The ID for the annotation to insert. */ + annotationId?: string; + /** ISO-3166-1 code to override the IP-based location. */ + country?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Requests that only the summary of the specified layer be provided in the response. */ + showOnlySummaryInResponse?: boolean; + /** String to identify the originator of this request. */ + source?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Annotation>; + /** Retrieves a list of annotations, possibly filtered. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The content version for the requested volume. */ + contentVersion?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The layer ID to limit annotation by. */ + layerId?: string; + /** The layer ID(s) to limit annotation by. */ + layerIds?: string; + /** Maximum number of results to return */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The value of the nextToken from the previous page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Set to true to return deleted annotations. updatedMin must be in the request to use this. Defaults to false. */ + showDeleted?: boolean; + /** String to identify the originator of this request. */ + source?: string; + /** RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive). */ + updatedMax?: string; + /** RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive). */ + updatedMin?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The volume to restrict annotations to. */ + volumeId?: string; + }): Request<Annotations>; + /** Gets the summary of specified layers. */ + summary(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Array of layer IDs to get the summary for. */ + layerIds: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Volume id to get the summary for. */ + volumeId: string; + }): Request<AnnotationsSummary>; + /** Updates an existing annotation. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** The ID for the annotation to update. */ + annotationId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** String to identify the originator of this request. */ + source?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Annotation>; + } + interface VolumesResource { + /** Gets volume information for volumes on a bookshelf. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** ISO-3166-1 code to override the IP-based location. */ + country?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Restrict information returned to a set of selected fields. */ + projection?: string; + /** Full-text search query string in this bookshelf. */ + q?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The bookshelf ID or name retrieve volumes for. */ + shelf: string; + /** Set to true to show pre-ordered books. Defaults to false. */ + showPreorders?: boolean; + /** String to identify the originator of this request. */ + source?: string; + /** Index of the first element to return (starts at 0) */ + startIndex?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Volumes>; + } + interface BookshelvesResource { + /** Adds a volume to a bookshelf. */ + addVolume(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The reason for which the book is added to the library. */ + reason?: string; + /** ID of bookshelf to which to add a volume. */ + shelf: string; + /** String to identify the originator of this request. */ + source?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** ID of volume to add. */ + volumeId: string; + }): Request<void>; + /** Clears all volumes from a bookshelf. */ + clearVolumes(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** ID of bookshelf from which to remove a volume. */ + shelf: string; + /** String to identify the originator of this request. */ + source?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves metadata for a specific bookshelf belonging to the authenticated user. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** ID of bookshelf to retrieve. */ + shelf: string; + /** String to identify the originator of this request. */ + source?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Bookshelf>; + /** Retrieves a list of bookshelves belonging to the authenticated user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** String to identify the originator of this request. */ + source?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Bookshelves>; + /** Moves a volume within a bookshelf. */ + moveVolume(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** ID of bookshelf with the volume. */ + shelf: string; + /** String to identify the originator of this request. */ + source?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** ID of volume to move. */ + volumeId: string; + /** Position on shelf to move the item (0 puts the item before the current first item, 1 puts it between the first and the second and so on.) */ + volumePosition: number; + }): Request<void>; + /** Removes a volume from a bookshelf. */ + removeVolume(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The reason for which the book is removed from the library. */ + reason?: string; + /** ID of bookshelf from which to remove a volume. */ + shelf: string; + /** String to identify the originator of this request. */ + source?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** ID of volume to remove. */ + volumeId: string; + }): Request<void>; + volumes: VolumesResource; + } + interface ReadingpositionsResource { + /** Retrieves my reading position information for a volume. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Volume content version for which this reading position is requested. */ + contentVersion?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** String to identify the originator of this request. */ + source?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** ID of volume for which to retrieve a reading position. */ + volumeId: string; + }): Request<ReadingPosition>; + /** Sets my reading position information for a volume. */ + setPosition(request: { + /** Action that caused this reading position to be set. */ + action?: string; + /** Data format for the response. */ + alt?: string; + /** Volume content version for which this reading position applies. */ + contentVersion?: string; + /** Random persistent device cookie optional on set position. */ + deviceCookie?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Position string for the new volume reading position. */ + position: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** String to identify the originator of this request. */ + source?: string; + /** RFC 3339 UTC format timestamp associated with this reading position. */ + timestamp: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** ID of volume for which to update the reading position. */ + volumeId: string; + }): Request<void>; + } + interface MylibraryResource { + annotations: AnnotationsResource; + bookshelves: BookshelvesResource; + readingpositions: ReadingpositionsResource; + } + interface NotificationResource { + /** Returns notification details for a given notification id. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating notification title and body. */ + locale?: string; + /** String to identify the notification. */ + notification_id: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** String to identify the originator of this request. */ + source?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Notification>; + } + interface OnboardingResource { + /** List categories for onboarding experience. */ + listCategories(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** ISO-639-1 language and ISO-3166-1 country code. Default is en-US if unset. */ + locale?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Category>; + /** List available volumes under categories for onboarding experience. */ + listCategoryVolumes(request: { + /** Data format for the response. */ + alt?: string; + /** List of category ids requested. */ + categoryId?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** ISO-639-1 language and ISO-3166-1 country code. Default is en-US if unset. */ + locale?: string; + /** The maximum allowed maturity rating of returned volumes. Books with a higher maturity rating are filtered out. */ + maxAllowedMaturityRating?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Number of maximum results per page to be included in the response. */ + pageSize?: number; + /** The value of the nextToken from the previous page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Volume2>; + } + interface PersonalizedstreamResource { + /** Returns a stream of personalized book clusters */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations. */ + locale?: string; + /** The maximum allowed maturity rating of returned recommendations. Books with a higher maturity rating are filtered out. */ + maxAllowedMaturityRating?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** String to identify the originator of this request. */ + source?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Discoveryclusters>; + } + interface PromoofferResource { + accept(request: { + /** Data format for the response. */ + alt?: string; + /** device android_id */ + androidId?: string; + /** device device */ + device?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** device manufacturer */ + manufacturer?: string; + /** device model */ + model?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + offerId?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** device product */ + product?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** device serial */ + serial?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Volume id to exercise the offer */ + volumeId?: string; + }): Request<void>; + dismiss(request: { + /** Data format for the response. */ + alt?: string; + /** device android_id */ + androidId?: string; + /** device device */ + device?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** device manufacturer */ + manufacturer?: string; + /** device model */ + model?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Offer to dimiss */ + offerId?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** device product */ + product?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** device serial */ + serial?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Returns a list of promo offers available to the user */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** device android_id */ + androidId?: string; + /** device device */ + device?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** device manufacturer */ + manufacturer?: string; + /** device model */ + model?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** device product */ + product?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** device serial */ + serial?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Offers>; + } + interface MembershipResource { + /** Returns Series membership data given the series id. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Number of maximum results per page to be included in the response. */ + page_size?: number; + /** The value of the nextToken from the previous page. */ + page_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** String that identifies the series */ + series_id: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Seriesmembership>; + } + interface SeriesResource { + /** Returns Series metadata for the given series ids. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** String that identifies the series */ + series_id: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Series>; + membership: MembershipResource; + } + interface AssociatedResource { + /** Return a list of associated books. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Association type. */ + association?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations. */ + locale?: string; + /** The maximum allowed maturity rating of returned recommendations. Books with a higher maturity rating are filtered out. */ + maxAllowedMaturityRating?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** String to identify the originator of this request. */ + source?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** ID of the source volume. */ + volumeId: string; + }): Request<Volumes>; + } + interface MybooksResource { + /** Return a list of books in My Library. */ + list(request: { + /** How the book was acquired */ + acquireMethod?: string; + /** Data format for the response. */ + alt?: string; + /** ISO-3166-1 code to override the IP-based location. */ + country?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** ISO-639-1 language and ISO-3166-1 country code. Ex:'en_US'. Used for generating recommendations. */ + locale?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The processing state of the user uploaded volumes to be returned. Applicable only if the UPLOADED is specified in the acquireMethod. */ + processingState?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** String to identify the originator of this request. */ + source?: string; + /** Index of the first result to return (starts at 0) */ + startIndex?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Volumes>; + } + interface RecommendedResource { + /** Return a list of recommended books for the current user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations. */ + locale?: string; + /** The maximum allowed maturity rating of returned recommendations. Books with a higher maturity rating are filtered out. */ + maxAllowedMaturityRating?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** String to identify the originator of this request. */ + source?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Volumes>; + /** Rate a recommended book for the current user. */ + rate(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations. */ + locale?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Rating to be given to the volume. */ + rating: string; + /** String to identify the originator of this request. */ + source?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** ID of the source volume. */ + volumeId: string; + }): Request<BooksVolumesRecommendedRateResponse>; + } + interface UseruploadedResource { + /** Return a list of books uploaded by the current user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations. */ + locale?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The processing state of the user uploaded volumes to be returned. */ + processingState?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** String to identify the originator of this request. */ + source?: string; + /** Index of the first result to return (starts at 0) */ + startIndex?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The ids of the volumes to be returned. If not specified all that match the processingState are returned. */ + volumeId?: string; + }): Request<Volumes>; + } + interface VolumesResource { + /** Gets volume information for a single volume. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** ISO-3166-1 code to override the IP-based location. */ + country?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Set to true to include non-comics series. Defaults to false. */ + includeNonComicsSeries?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Brand results for partner ID. */ + partner?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Restrict information returned to a set of selected fields. */ + projection?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** String to identify the originator of this request. */ + source?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + user_library_consistent_read?: boolean; + /** ID of volume to retrieve. */ + volumeId: string; + }): Request<Volume>; + /** Performs a book search. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Restrict to volumes by download availability. */ + download?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Filter search results. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Restrict results to books with this language code. */ + langRestrict?: string; + /** Restrict search to this user's library. */ + libraryRestrict?: string; + /** The maximum allowed maturity rating of returned recommendations. Books with a higher maturity rating are filtered out. */ + maxAllowedMaturityRating?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Sort search results. */ + orderBy?: string; + /** Restrict and brand results for partner ID. */ + partner?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Restrict to books or magazines. */ + printType?: string; + /** Restrict information returned to a set of selected fields. */ + projection?: string; + /** Full-text search query string. */ + q: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Set to true to show books available for preorder. Defaults to false. */ + showPreorders?: boolean; + /** String to identify the originator of this request. */ + source?: string; + /** Index of the first result to return (starts at 0) */ + startIndex?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Volumes>; + associated: AssociatedResource; + mybooks: MybooksResource; + recommended: RecommendedResource; + useruploaded: UseruploadedResource; + } + } +} diff --git a/types/gapi.client.books/readme.md b/types/gapi.client.books/readme.md new file mode 100644 index 0000000000..1e708d44d0 --- /dev/null +++ b/types/gapi.client.books/readme.md @@ -0,0 +1,169 @@ +# TypeScript typings for Books API v1 +Searches for books and manages your Google Books library. +For detailed description please check [documentation](https://developers.google.com/books/docs/v1/getting_started). + +## Installing + +Install typings for Books API: +``` +npm install @types/gapi.client.books@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('books', 'v1', () => { + // now we can use gapi.client.books + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage your books + 'https://www.googleapis.com/auth/books', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Books API resources: + +```typescript + +/* +Retrieves metadata for a specific bookshelf for the specified user. +*/ +await gapi.client.bookshelves.get({ shelf: "shelf", userId: "userId", }); + +/* +Retrieves a list of public bookshelves for the specified user. +*/ +await gapi.client.bookshelves.list({ userId: "userId", }); + +/* + +*/ +await gapi.client.cloudloading.addBook({ }); + +/* +Remove the book and its contents +*/ +await gapi.client.cloudloading.deleteBook({ volumeId: "volumeId", }); + +/* + +*/ +await gapi.client.cloudloading.updateBook({ }); + +/* +Returns a list of offline dictionary metadata available +*/ +await gapi.client.dictionary.listOfflineMetadata({ cpksver: "cpksver", }); + +/* +Gets the layer summary for a volume. +*/ +await gapi.client.layers.get({ summaryId: "summaryId", volumeId: "volumeId", }); + +/* +List the layer summaries for a volume. +*/ +await gapi.client.layers.list({ volumeId: "volumeId", }); + +/* +Gets the current settings for the user. +*/ +await gapi.client.myconfig.getUserSettings({ }); + +/* +Release downloaded content access restriction. +*/ +await gapi.client.myconfig.releaseDownloadAccess({ cpksver: "cpksver", volumeIds: "volumeIds", }); + +/* +Request concurrent and download access restrictions. +*/ +await gapi.client.myconfig.requestAccess({ cpksver: "cpksver", nonce: "nonce", source: "source", volumeId: "volumeId", }); + +/* +Request downloaded content access for specified volumes on the My eBooks shelf. +*/ +await gapi.client.myconfig.syncVolumeLicenses({ cpksver: "cpksver", nonce: "nonce", source: "source", }); + +/* +Sets the settings for the user. If a sub-object is specified, it will overwrite the existing sub-object stored in the server. Unspecified sub-objects will retain the existing value. +*/ +await gapi.client.myconfig.updateUserSettings({ }); + +/* +Returns notification details for a given notification id. +*/ +await gapi.client.notification.get({ notification_id: "notification_id", }); + +/* +List categories for onboarding experience. +*/ +await gapi.client.onboarding.listCategories({ }); + +/* +List available volumes under categories for onboarding experience. +*/ +await gapi.client.onboarding.listCategoryVolumes({ }); + +/* +Returns a stream of personalized book clusters +*/ +await gapi.client.personalizedstream.get({ }); + +/* + +*/ +await gapi.client.promooffer.accept({ }); + +/* + +*/ +await gapi.client.promooffer.dismiss({ }); + +/* +Returns a list of promo offers available to the user +*/ +await gapi.client.promooffer.get({ }); + +/* +Returns Series metadata for the given series ids. +*/ +await gapi.client.series.get({ series_id: "series_id", }); + +/* +Gets volume information for a single volume. +*/ +await gapi.client.volumes.get({ volumeId: "volumeId", }); + +/* +Performs a book search. +*/ +await gapi.client.volumes.list({ q: "q", }); +``` \ No newline at end of file diff --git a/types/gapi.client.books/tsconfig.json b/types/gapi.client.books/tsconfig.json new file mode 100644 index 0000000000..d011bdcf5c --- /dev/null +++ b/types/gapi.client.books/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.books-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.books/tslint.json b/types/gapi.client.books/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.books/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.calendar/gapi.client.calendar-tests.ts b/types/gapi.client.calendar/gapi.client.calendar-tests.ts new file mode 100644 index 0000000000..807816b26f --- /dev/null +++ b/types/gapi.client.calendar/gapi.client.calendar-tests.ts @@ -0,0 +1,275 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('calendar', 'v3', () => { + /** now we can use gapi.client.calendar */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage your calendars */ + 'https://www.googleapis.com/auth/calendar', + /** View your calendars */ + 'https://www.googleapis.com/auth/calendar.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Deletes an access control rule. */ + await gapi.client.acl.delete({ + calendarId: "calendarId", + ruleId: "ruleId", + }); + /** Returns an access control rule. */ + await gapi.client.acl.get({ + calendarId: "calendarId", + ruleId: "ruleId", + }); + /** Creates an access control rule. */ + await gapi.client.acl.insert({ + calendarId: "calendarId", + }); + /** Returns the rules in the access control list for the calendar. */ + await gapi.client.acl.list({ + calendarId: "calendarId", + maxResults: 2, + pageToken: "pageToken", + showDeleted: true, + syncToken: "syncToken", + }); + /** Updates an access control rule. This method supports patch semantics. */ + await gapi.client.acl.patch({ + calendarId: "calendarId", + ruleId: "ruleId", + }); + /** Updates an access control rule. */ + await gapi.client.acl.update({ + calendarId: "calendarId", + ruleId: "ruleId", + }); + /** Watch for changes to ACL resources. */ + await gapi.client.acl.watch({ + calendarId: "calendarId", + maxResults: 2, + pageToken: "pageToken", + showDeleted: true, + syncToken: "syncToken", + }); + /** Deletes an entry on the user's calendar list. */ + await gapi.client.calendarList.delete({ + calendarId: "calendarId", + }); + /** Returns an entry on the user's calendar list. */ + await gapi.client.calendarList.get({ + calendarId: "calendarId", + }); + /** Adds an entry to the user's calendar list. */ + await gapi.client.calendarList.insert({ + colorRgbFormat: true, + }); + /** Returns entries on the user's calendar list. */ + await gapi.client.calendarList.list({ + maxResults: 1, + minAccessRole: "minAccessRole", + pageToken: "pageToken", + showDeleted: true, + showHidden: true, + syncToken: "syncToken", + }); + /** Updates an entry on the user's calendar list. This method supports patch semantics. */ + await gapi.client.calendarList.patch({ + calendarId: "calendarId", + colorRgbFormat: true, + }); + /** Updates an entry on the user's calendar list. */ + await gapi.client.calendarList.update({ + calendarId: "calendarId", + colorRgbFormat: true, + }); + /** Watch for changes to CalendarList resources. */ + await gapi.client.calendarList.watch({ + maxResults: 1, + minAccessRole: "minAccessRole", + pageToken: "pageToken", + showDeleted: true, + showHidden: true, + syncToken: "syncToken", + }); + /** Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account. */ + await gapi.client.calendars.clear({ + calendarId: "calendarId", + }); + /** Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars. */ + await gapi.client.calendars.delete({ + calendarId: "calendarId", + }); + /** Returns metadata for a calendar. */ + await gapi.client.calendars.get({ + calendarId: "calendarId", + }); + /** Creates a secondary calendar. */ + await gapi.client.calendars.insert({ + }); + /** Updates metadata for a calendar. This method supports patch semantics. */ + await gapi.client.calendars.patch({ + calendarId: "calendarId", + }); + /** Updates metadata for a calendar. */ + await gapi.client.calendars.update({ + calendarId: "calendarId", + }); + /** Stop watching resources through this channel */ + await gapi.client.channels.stop({ + }); + /** Returns the color definitions for calendars and events. */ + await gapi.client.colors.get({ + }); + /** Deletes an event. */ + await gapi.client.events.delete({ + calendarId: "calendarId", + eventId: "eventId", + sendNotifications: true, + }); + /** Returns an event. */ + await gapi.client.events.get({ + alwaysIncludeEmail: true, + calendarId: "calendarId", + eventId: "eventId", + maxAttendees: 4, + timeZone: "timeZone", + }); + /** Imports an event. This operation is used to add a private copy of an existing event to a calendar. */ + await gapi.client.events.import({ + calendarId: "calendarId", + supportsAttachments: true, + }); + /** Creates an event. */ + await gapi.client.events.insert({ + calendarId: "calendarId", + maxAttendees: 2, + sendNotifications: true, + supportsAttachments: true, + }); + /** Returns instances of the specified recurring event. */ + await gapi.client.events.instances({ + alwaysIncludeEmail: true, + calendarId: "calendarId", + eventId: "eventId", + maxAttendees: 4, + maxResults: 5, + originalStart: "originalStart", + pageToken: "pageToken", + showDeleted: true, + timeMax: "timeMax", + timeMin: "timeMin", + timeZone: "timeZone", + }); + /** Returns events on the specified calendar. */ + await gapi.client.events.list({ + alwaysIncludeEmail: true, + calendarId: "calendarId", + iCalUID: "iCalUID", + maxAttendees: 4, + maxResults: 5, + orderBy: "orderBy", + pageToken: "pageToken", + privateExtendedProperty: "privateExtendedProperty", + q: "q", + sharedExtendedProperty: "sharedExtendedProperty", + showDeleted: true, + showHiddenInvitations: true, + singleEvents: true, + syncToken: "syncToken", + timeMax: "timeMax", + timeMin: "timeMin", + timeZone: "timeZone", + updatedMin: "updatedMin", + }); + /** Moves an event to another calendar, i.e. changes an event's organizer. */ + await gapi.client.events.move({ + calendarId: "calendarId", + destination: "destination", + eventId: "eventId", + sendNotifications: true, + }); + /** Updates an event. This method supports patch semantics. */ + await gapi.client.events.patch({ + alwaysIncludeEmail: true, + calendarId: "calendarId", + eventId: "eventId", + maxAttendees: 4, + sendNotifications: true, + supportsAttachments: true, + }); + /** Creates an event based on a simple text string. */ + await gapi.client.events.quickAdd({ + calendarId: "calendarId", + sendNotifications: true, + text: "text", + }); + /** Updates an event. */ + await gapi.client.events.update({ + alwaysIncludeEmail: true, + calendarId: "calendarId", + eventId: "eventId", + maxAttendees: 4, + sendNotifications: true, + supportsAttachments: true, + }); + /** Watch for changes to Events resources. */ + await gapi.client.events.watch({ + alwaysIncludeEmail: true, + calendarId: "calendarId", + iCalUID: "iCalUID", + maxAttendees: 4, + maxResults: 5, + orderBy: "orderBy", + pageToken: "pageToken", + privateExtendedProperty: "privateExtendedProperty", + q: "q", + sharedExtendedProperty: "sharedExtendedProperty", + showDeleted: true, + showHiddenInvitations: true, + singleEvents: true, + syncToken: "syncToken", + timeMax: "timeMax", + timeMin: "timeMin", + timeZone: "timeZone", + updatedMin: "updatedMin", + }); + /** Returns free/busy information for a set of calendars. */ + await gapi.client.freebusy.query({ + }); + /** Returns a single user setting. */ + await gapi.client.settings.get({ + setting: "setting", + }); + /** Returns all user settings for the authenticated user. */ + await gapi.client.settings.list({ + maxResults: 1, + pageToken: "pageToken", + syncToken: "syncToken", + }); + /** Watch for changes to Settings resources. */ + await gapi.client.settings.watch({ + maxResults: 1, + pageToken: "pageToken", + syncToken: "syncToken", + }); + } +}); diff --git a/types/gapi.client.calendar/index.d.ts b/types/gapi.client.calendar/index.d.ts new file mode 100644 index 0000000000..72196ee150 --- /dev/null +++ b/types/gapi.client.calendar/index.d.ts @@ -0,0 +1,1946 @@ +// Type definitions for Google Calendar API v3 3.0 +// Project: https://developers.google.com/google-apps/calendar/firstapp +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/calendar/v3/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Calendar API v3 */ + function load(name: "calendar", version: "v3"): PromiseLike<void>; + function load(name: "calendar", version: "v3", callback: () => any): void; + + const acl: calendar.AclResource; + + const calendarList: calendar.CalendarListResource; + + const calendars: calendar.CalendarsResource; + + const channels: calendar.ChannelsResource; + + const colors: calendar.ColorsResource; + + const events: calendar.EventsResource; + + const freebusy: calendar.FreebusyResource; + + const settings: calendar.SettingsResource; + + namespace calendar { + interface Acl { + /** ETag of the collection. */ + etag?: string; + /** List of rules on the access control list. */ + items?: AclRule[]; + /** Type of the collection ("calendar#acl"). */ + kind?: string; + /** Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided. */ + nextPageToken?: string; + /** + * Token used at a later point in time to retrieve only the entries that have changed since this result was returned. Omitted if further results are + * available, in which case nextPageToken is provided. + */ + nextSyncToken?: string; + } + interface AclRule { + /** ETag of the resource. */ + etag?: string; + /** Identifier of the ACL rule. */ + id?: string; + /** Type of the resource ("calendar#aclRule"). */ + kind?: string; + /** + * The role assigned to the scope. Possible values are: + * - "none" - Provides no access. + * - "freeBusyReader" - Provides read access to free/busy information. + * - "reader" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. + * - "writer" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. + * + * - "owner" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and + * manipulate ACLs. + */ + role?: string; + /** The scope of the rule. */ + scope?: { + /** + * The type of the scope. Possible values are: + * - "default" - The public scope. This is the default value. + * - "user" - Limits the scope to a single user. + * - "group" - Limits the scope to a group. + * - "domain" - Limits the scope to a domain. Note: The permissions granted to the "default", or public, scope apply to any user, authenticated or not. + */ + type?: string; + /** The email address of a user or group, or the name of a domain, depending on the scope type. Omitted for type "default". */ + value?: string; + }; + } + interface Calendar { + /** Description of the calendar. Optional. */ + description?: string; + /** ETag of the resource. */ + etag?: string; + /** Identifier of the calendar. To retrieve IDs call the calendarList.list() method. */ + id?: string; + /** Type of the resource ("calendar#calendar"). */ + kind?: string; + /** Geographic location of the calendar as free-form text. Optional. */ + location?: string; + /** Title of the calendar. */ + summary?: string; + /** The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) Optional. */ + timeZone?: string; + } + interface CalendarList { + /** ETag of the collection. */ + etag?: string; + /** Calendars that are present on the user's calendar list. */ + items?: CalendarListEntry[]; + /** Type of the collection ("calendar#calendarList"). */ + kind?: string; + /** Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided. */ + nextPageToken?: string; + /** + * Token used at a later point in time to retrieve only the entries that have changed since this result was returned. Omitted if further results are + * available, in which case nextPageToken is provided. + */ + nextSyncToken?: string; + } + interface CalendarListEntry { + /** + * The effective access role that the authenticated user has on the calendar. Read-only. Possible values are: + * - "freeBusyReader" - Provides read access to free/busy information. + * - "reader" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. + * - "writer" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. + * + * - "owner" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and + * manipulate ACLs. + */ + accessRole?: string; + /** + * The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. To set or change this + * property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional. + */ + backgroundColor?: string; + /** + * The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). This + * property is superseded by the backgroundColor and foregroundColor properties and can be ignored when using these properties. Optional. + */ + colorId?: string; + /** The default reminders that the authenticated user has for this calendar. */ + defaultReminders?: EventReminder[]; + /** Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False. */ + deleted?: boolean; + /** Description of the calendar. Optional. Read-only. */ + description?: string; + /** ETag of the resource. */ + etag?: string; + /** + * The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. To set or change + * this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional. + */ + foregroundColor?: string; + /** Whether the calendar has been hidden from the list. Optional. The default is False. */ + hidden?: boolean; + /** Identifier of the calendar. */ + id?: string; + /** Type of the resource ("calendar#calendarListEntry"). */ + kind?: string; + /** Geographic location of the calendar as free-form text. Optional. Read-only. */ + location?: string; + /** The notifications that the authenticated user is receiving for this calendar. */ + notificationSettings?: { + /** The list of notifications set for this calendar. */ + notifications?: CalendarNotification[]; + }; + /** Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False. */ + primary?: boolean; + /** Whether the calendar content shows up in the calendar UI. Optional. The default is False. */ + selected?: boolean; + /** Title of the calendar. Read-only. */ + summary?: string; + /** The summary that the authenticated user has set for this calendar. Optional. */ + summaryOverride?: string; + /** The time zone of the calendar. Optional. Read-only. */ + timeZone?: string; + } + interface CalendarNotification { + /** + * The method used to deliver the notification. Possible values are: + * - "email" - Reminders are sent via email. + * - "sms" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. SMS reminders are only available for G Suite + * customers. + */ + method?: string; + /** + * The type of notification. Possible values are: + * - "eventCreation" - Notification sent when a new event is put on the calendar. + * - "eventChange" - Notification sent when an event is changed. + * - "eventCancellation" - Notification sent when an event is cancelled. + * - "eventResponse" - Notification sent when an event is changed. + * - "agenda" - An agenda with the events of the day (sent out in the morning). + */ + type?: string; + } + interface Channel { + /** The address where notifications are delivered for this channel. */ + address?: string; + /** Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional. */ + expiration?: string; + /** A UUID or similar unique string that identifies this channel. */ + id?: string; + /** Identifies this as a notification channel used to watch for changes to a resource. Value: the fixed string "api#channel". */ + kind?: string; + /** Additional parameters controlling delivery channel behavior. Optional. */ + params?: Record<string, string>; + /** A Boolean value to indicate whether payload is wanted. Optional. */ + payload?: boolean; + /** An opaque ID that identifies the resource being watched on this channel. Stable across different API versions. */ + resourceId?: string; + /** A version-specific identifier for the watched resource. */ + resourceUri?: string; + /** An arbitrary string delivered to the target address with each notification delivered over this channel. Optional. */ + token?: string; + /** The type of delivery mechanism used for this channel. */ + type?: string; + } + interface ColorDefinition { + /** The background color associated with this color definition. */ + background?: string; + /** The foreground color that can be used to write on top of a background with 'background' color. */ + foreground?: string; + } + interface Colors { + /** + * A global palette of calendar colors, mapping from the color ID to its definition. A calendarListEntry resource refers to one of these color IDs in its + * color field. Read-only. + */ + calendar?: Record<string, ColorDefinition>; + /** + * A global palette of event colors, mapping from the color ID to its definition. An event resource may refer to one of these color IDs in its color + * field. Read-only. + */ + event?: Record<string, ColorDefinition>; + /** Type of the resource ("calendar#colors"). */ + kind?: string; + /** Last modification time of the color palette (as a RFC3339 timestamp). Read-only. */ + updated?: string; + } + interface Error { + /** Domain, or broad category, of the error. */ + domain?: string; + /** + * Specific reason for the error. Some of the possible values are: + * - "groupTooBig" - The group of users requested is too large for a single query. + * - "tooManyCalendarsRequested" - The number of calendars requested is too large for a single query. + * - "notFound" - The requested resource was not found. + * - "internalError" - The API service has encountered an internal error. Additional error types may be added in the future, so clients should gracefully + * handle additional error statuses not included in this list. + */ + reason?: string; + } + interface Event { + /** Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False. */ + anyoneCanAddSelf?: boolean; + /** + * File attachments for the event. Currently only Google Drive attachments are supported. + * In order to modify attachments the supportsAttachments request parameter should be set to true. + * There can be at most 25 attachments per event, + */ + attachments?: EventAttachment[]; + /** The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. */ + attendees?: EventAttendee[]; + /** + * Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the + * maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False. + */ + attendeesOmitted?: boolean; + /** The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional. */ + colorId?: string; + /** Creation time of the event (as a RFC3339 timestamp). Read-only. */ + created?: string; + /** The creator of the event. Read-only. */ + creator?: { + /** The creator's name, if available. */ + displayName?: string; + /** The creator's email address, if available. */ + email?: string; + /** The creator's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API */ + id?: string; + /** Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False. */ + self?: boolean; + }; + /** Description of the event. Optional. */ + description?: string; + /** The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance. */ + end?: EventDateTime; + /** + * Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The + * default is False. + */ + endTimeUnspecified?: boolean; + /** ETag of the resource. */ + etag?: string; + /** Extended properties of the event. */ + extendedProperties?: { + /** Properties that are private to the copy of the event that appears on this calendar. */ + private?: Record<string, string>; + /** Properties that are shared between copies of the event on other attendees' calendars. */ + shared?: Record<string, string>; + }; + /** A gadget that extends this event. */ + gadget?: { + /** + * The gadget's display mode. Optional. Possible values are: + * - "icon" - The gadget displays next to the event's title in the calendar view. + * - "chip" - The gadget displays when the event is clicked. + */ + display?: string; + /** The gadget's height in pixels. The height must be an integer greater than 0. Optional. */ + height?: number; + /** The gadget's icon URL. The URL scheme must be HTTPS. */ + iconLink?: string; + /** The gadget's URL. The URL scheme must be HTTPS. */ + link?: string; + /** Preferences. */ + preferences?: Record<string, string>; + /** The gadget's title. */ + title?: string; + /** The gadget's type. */ + type?: string; + /** The gadget's width in pixels. The width must be an integer greater than 0. Optional. */ + width?: number; + }; + /** Whether attendees other than the organizer can invite others to the event. Optional. The default is True. */ + guestsCanInviteOthers?: boolean; + /** Whether attendees other than the organizer can modify the event. Optional. The default is False. */ + guestsCanModify?: boolean; + /** Whether attendees other than the organizer can see who the event's attendees are. Optional. The default is True. */ + guestsCanSeeOtherGuests?: boolean; + /** An absolute link to the Google+ hangout associated with this event. Read-only. */ + hangoutLink?: string; + /** An absolute link to this event in the Google Calendar Web UI. Read-only. */ + htmlLink?: string; + /** + * Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing + * events via the import method. + * Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is + * that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. + */ + iCalUID?: string; + /** + * Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: + * - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938 + * - the length of the ID must be between 5 and 1024 characters + * - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at + * event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122. + * If you do not specify an ID, it will be automatically generated by the server. + * Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is + * that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. + */ + id?: string; + /** Type of the resource ("calendar#event"). */ + kind?: string; + /** Geographic location of the event as free-form text. Optional. */ + location?: string; + /** + * Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or + * "recurrence". The default is False. Read-Only. + */ + locked?: boolean; + /** + * The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to + * True. To change the organizer, use the move operation. Read-only, except when importing an event. + */ + organizer?: { + /** The organizer's name, if available. */ + displayName?: string; + /** The organizer's email address, if available. It must be a valid email address as per RFC5322. */ + email?: string; + /** The organizer's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API */ + id?: string; + /** Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False. */ + self?: boolean; + }; + /** + * For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event + * identified by recurringEventId. Immutable. + */ + originalStartTime?: EventDateTime; + /** Whether this is a private event copy where changes are not shared with other copies on other calendars. Optional. Immutable. The default is False. */ + privateCopy?: boolean; + /** + * List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this + * field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events. + */ + recurrence?: string[]; + /** For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable. */ + recurringEventId?: string; + /** Information about the event's reminders for the authenticated user. */ + reminders?: { + /** + * If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for + * this event. The maximum number of override reminders is 5. + */ + overrides?: EventReminder[]; + /** Whether the default reminders of the calendar apply to the event. */ + useDefault?: boolean; + }; + /** Sequence number as per iCalendar. */ + sequence?: number; + /** + * Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. + * Can only be seen or modified by the creator of the event. + */ + source?: { + /** Title of the source; for example a title of a web page or an email subject. */ + title?: string; + /** URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS. */ + url?: string; + }; + /** The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance. */ + start?: EventDateTime; + /** + * Status of the event. Optional. Possible values are: + * - "confirmed" - The event is confirmed. This is the default status. + * - "tentative" - The event is tentatively confirmed. + * - "cancelled" - The event is cancelled. + */ + status?: string; + /** Title of the event. */ + summary?: string; + /** + * Whether the event blocks time on the calendar. Optional. Possible values are: + * - "opaque" - Default value. The event does block time on the calendar. This is equivalent to setting Show me as to Busy in the Calendar UI. + * - "transparent" - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI. + */ + transparency?: string; + /** Last modification time of the event (as a RFC3339 timestamp). Read-only. */ + updated?: string; + /** + * Visibility of the event. Optional. Possible values are: + * - "default" - Uses the default visibility for events on the calendar. This is the default value. + * - "public" - The event is public and event details are visible to all readers of the calendar. + * - "private" - The event is private and only event attendees may view event details. + * - "confidential" - The event is private. This value is provided for compatibility reasons. + */ + visibility?: string; + } + interface EventAttachment { + /** + * ID of the attached file. Read-only. + * For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API. + */ + fileId?: string; + /** + * URL link to the attachment. + * For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API. + */ + fileUrl?: string; + /** URL link to the attachment's icon. Read-only. */ + iconLink?: string; + /** Internet media type (MIME type) of the attachment. */ + mimeType?: string; + /** Attachment title. */ + title?: string; + } + interface EventAttendee { + /** Number of additional guests. Optional. The default is 0. */ + additionalGuests?: number; + /** The attendee's response comment. Optional. */ + comment?: string; + /** The attendee's name, if available. Optional. */ + displayName?: string; + /** The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322. */ + email?: string; + /** The attendee's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API */ + id?: string; + /** Whether this is an optional attendee. Optional. The default is False. */ + optional?: boolean; + /** Whether the attendee is the organizer of the event. Read-only. The default is False. */ + organizer?: boolean; + /** Whether the attendee is a resource. Read-only. The default is False. */ + resource?: boolean; + /** + * The attendee's response status. Possible values are: + * - "needsAction" - The attendee has not responded to the invitation. + * - "declined" - The attendee has declined the invitation. + * - "tentative" - The attendee has tentatively accepted the invitation. + * - "accepted" - The attendee has accepted the invitation. + */ + responseStatus?: string; + /** Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False. */ + self?: boolean; + } + interface EventDateTime { + /** The date, in the format "yyyy-mm-dd", if this is an all-day event. */ + date?: string; + /** + * The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in + * timeZone. + */ + dateTime?: string; + /** + * The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is + * required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for + * the event start/end. + */ + timeZone?: string; + } + interface EventReminder { + /** + * The method used by this reminder. Possible values are: + * - "email" - Reminders are sent via email. + * - "sms" - Reminders are sent via SMS. These are only available for G Suite customers. Requests to set SMS reminders for other account types are + * ignored. + * - "popup" - Reminders are sent via a UI popup. + */ + method?: string; + /** Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). */ + minutes?: number; + } + interface Events { + /** + * The user's access role for this calendar. Read-only. Possible values are: + * - "none" - The user has no access. + * - "freeBusyReader" - The user has read access to free/busy information. + * - "reader" - The user has read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. + * - "writer" - The user has read and write access to the calendar. Private events will appear to users with writer access, and event details will be + * visible. + * - "owner" - The user has ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and + * manipulate ACLs. + */ + accessRole?: string; + /** + * The default reminders on the calendar for the authenticated user. These reminders apply to all events on this calendar that do not explicitly override + * them (i.e. do not have reminders.useDefault set to True). + */ + defaultReminders?: EventReminder[]; + /** Description of the calendar. Read-only. */ + description?: string; + /** ETag of the collection. */ + etag?: string; + /** List of events on the calendar. */ + items?: Event[]; + /** Type of the collection ("calendar#events"). */ + kind?: string; + /** Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided. */ + nextPageToken?: string; + /** + * Token used at a later point in time to retrieve only the entries that have changed since this result was returned. Omitted if further results are + * available, in which case nextPageToken is provided. + */ + nextSyncToken?: string; + /** Title of the calendar. Read-only. */ + summary?: string; + /** The time zone of the calendar. Read-only. */ + timeZone?: string; + /** Last modification time of the calendar (as a RFC3339 timestamp). Read-only. */ + updated?: string; + } + interface FreeBusyCalendar { + /** List of time ranges during which this calendar should be regarded as busy. */ + busy?: TimePeriod[]; + /** Optional error(s) (if computation for the calendar failed). */ + errors?: Error[]; + } + interface FreeBusyGroup { + /** List of calendars' identifiers within a group. */ + calendars?: string[]; + /** Optional error(s) (if computation for the group failed). */ + errors?: Error[]; + } + interface FreeBusyRequest { + /** Maximal number of calendars for which FreeBusy information is to be provided. Optional. */ + calendarExpansionMax?: number; + /** + * Maximal number of calendar identifiers to be provided for a single group. Optional. An error will be returned for a group with more members than this + * value. + */ + groupExpansionMax?: number; + /** List of calendars and/or groups to query. */ + items?: FreeBusyRequestItem[]; + /** The end of the interval for the query. */ + timeMax?: string; + /** The start of the interval for the query. */ + timeMin?: string; + /** Time zone used in the response. Optional. The default is UTC. */ + timeZone?: string; + } + interface FreeBusyRequestItem { + /** The identifier of a calendar or a group. */ + id?: string; + } + interface FreeBusyResponse { + /** List of free/busy information for calendars. */ + calendars?: Record<string, FreeBusyCalendar>; + /** Expansion of groups. */ + groups?: Record<string, FreeBusyGroup>; + /** Type of the resource ("calendar#freeBusy"). */ + kind?: string; + /** The end of the interval. */ + timeMax?: string; + /** The start of the interval. */ + timeMin?: string; + } + interface Setting { + /** ETag of the resource. */ + etag?: string; + /** The id of the user setting. */ + id?: string; + /** Type of the resource ("calendar#setting"). */ + kind?: string; + /** Value of the user setting. The format of the value depends on the ID of the setting. It must always be a UTF-8 string of length up to 1024 characters. */ + value?: string; + } + interface Settings { + /** Etag of the collection. */ + etag?: string; + /** List of user settings. */ + items?: Setting[]; + /** Type of the collection ("calendar#settings"). */ + kind?: string; + /** Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided. */ + nextPageToken?: string; + /** + * Token used at a later point in time to retrieve only the entries that have changed since this result was returned. Omitted if further results are + * available, in which case nextPageToken is provided. + */ + nextSyncToken?: string; + } + interface TimePeriod { + /** The (exclusive) end of the time period. */ + end?: string; + /** The (inclusive) start of the time period. */ + start?: string; + } + interface AclResource { + /** Deletes an access control rule. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** ACL rule identifier. */ + ruleId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Returns an access control rule. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** ACL rule identifier. */ + ruleId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AclRule>; + /** Creates an access control rule. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AclRule>; + /** Returns the rules in the access control list for the calendar. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. + * Optional. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Token specifying which result page to return. Optional. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to "none". Deleted ACLs will always be included if syncToken + * is provided. Optional. The default is False. + */ + showDeleted?: boolean; + /** + * Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list + * request contain only entries that have changed since then. All entries deleted since the previous list request will always be in the result set and it + * is not allowed to set showDeleted to False. + * If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full + * synchronization without any syncToken. + * Learn more about incremental synchronization. + * Optional. The default is to return all entries. + */ + syncToken?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Acl>; + /** Updates an access control rule. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** ACL rule identifier. */ + ruleId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AclRule>; + /** Updates an access control rule. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** ACL rule identifier. */ + ruleId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AclRule>; + /** Watch for changes to ACL resources. */ + watch(request: { + /** Data format for the response. */ + alt?: string; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. + * Optional. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Token specifying which result page to return. Optional. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to "none". Deleted ACLs will always be included if syncToken + * is provided. Optional. The default is False. + */ + showDeleted?: boolean; + /** + * Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list + * request contain only entries that have changed since then. All entries deleted since the previous list request will always be in the result set and it + * is not allowed to set showDeleted to False. + * If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full + * synchronization without any syncToken. + * Learn more about incremental synchronization. + * Optional. The default is to return all entries. + */ + syncToken?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Channel>; + } + interface CalendarListResource { + /** Deletes an entry on the user's calendar list. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Returns an entry on the user's calendar list. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CalendarListEntry>; + /** Adds an entry to the user's calendar list. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** + * Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId + * field will be set to the best matching option automatically. Optional. The default is False. + */ + colorRgbFormat?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CalendarListEntry>; + /** Returns entries on the user's calendar list. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. + * Optional. + */ + maxResults?: number; + /** The minimum access role for the user in the returned entries. Optional. The default is no restriction. */ + minAccessRole?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Token specifying which result page to return. Optional. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether to include deleted calendar list entries in the result. Optional. The default is False. */ + showDeleted?: boolean; + /** Whether to show hidden entries. Optional. The default is False. */ + showHidden?: boolean; + /** + * Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list + * request contain only entries that have changed since then. If only read-only fields such as calendar properties or ACLs have changed, the entry won't + * be returned. All entries deleted and hidden since the previous list request will always be in the result set and it is not allowed to set showDeleted + * neither showHidden to False. + * To ensure client state consistency minAccessRole query parameter cannot be specified together with nextSyncToken. + * If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full + * synchronization without any syncToken. + * Learn more about incremental synchronization. + * Optional. The default is to return all entries. + */ + syncToken?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CalendarList>; + /** Updates an entry on the user's calendar list. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** + * Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId + * field will be set to the best matching option automatically. Optional. The default is False. + */ + colorRgbFormat?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CalendarListEntry>; + /** Updates an entry on the user's calendar list. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** + * Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId + * field will be set to the best matching option automatically. Optional. The default is False. + */ + colorRgbFormat?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CalendarListEntry>; + /** Watch for changes to CalendarList resources. */ + watch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. + * Optional. + */ + maxResults?: number; + /** The minimum access role for the user in the returned entries. Optional. The default is no restriction. */ + minAccessRole?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Token specifying which result page to return. Optional. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether to include deleted calendar list entries in the result. Optional. The default is False. */ + showDeleted?: boolean; + /** Whether to show hidden entries. Optional. The default is False. */ + showHidden?: boolean; + /** + * Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list + * request contain only entries that have changed since then. If only read-only fields such as calendar properties or ACLs have changed, the entry won't + * be returned. All entries deleted and hidden since the previous list request will always be in the result set and it is not allowed to set showDeleted + * neither showHidden to False. + * To ensure client state consistency minAccessRole query parameter cannot be specified together with nextSyncToken. + * If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full + * synchronization without any syncToken. + * Learn more about incremental synchronization. + * Optional. The default is to return all entries. + */ + syncToken?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Channel>; + } + interface CalendarsResource { + /** Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account. */ + clear(request: { + /** Data format for the response. */ + alt?: string; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Returns metadata for a calendar. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Calendar>; + /** Creates a secondary calendar. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Calendar>; + /** Updates metadata for a calendar. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Calendar>; + /** Updates metadata for a calendar. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Calendar>; + } + interface ChannelsResource { + /** Stop watching resources through this channel */ + stop(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface ColorsResource { + /** Returns the color definitions for calendars and events. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Colors>; + } + interface EventsResource { + /** Deletes an event. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Event identifier. */ + eventId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether to send notifications about the deletion of the event. Optional. The default is False. */ + sendNotifications?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Returns an event. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** + * Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, + * non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an + * email address value in the mentioned places. Optional. The default is False. + */ + alwaysIncludeEmail?: boolean; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Event identifier. */ + eventId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. + * Optional. + */ + maxAttendees?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Time zone used in the response. Optional. The default is the time zone of the calendar. */ + timeZone?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Event>; + /** Imports an event. This operation is used to add a private copy of an existing event to a calendar. */ + import(request: { + /** Data format for the response. */ + alt?: string; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether API client performing operation supports event attachments. Optional. The default is False. */ + supportsAttachments?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Event>; + /** Creates an event. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. + * Optional. + */ + maxAttendees?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether to send notifications about the creation of the new event. Optional. The default is False. */ + sendNotifications?: boolean; + /** Whether API client performing operation supports event attachments. Optional. The default is False. */ + supportsAttachments?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Event>; + /** Returns instances of the specified recurring event. */ + instances(request: { + /** Data format for the response. */ + alt?: string; + /** + * Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, + * non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an + * email address value in the mentioned places. Optional. The default is False. + */ + alwaysIncludeEmail?: boolean; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Recurring event identifier. */ + eventId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. + * Optional. + */ + maxAttendees?: number; + /** Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The original start time of the instance in the result. Optional. */ + originalStart?: string; + /** Token specifying which result page to return. Optional. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events will still be included if + * singleEvents is False. Optional. The default is False. + */ + showDeleted?: boolean; + /** + * Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with + * mandatory time zone offset. + */ + timeMax?: string; + /** + * Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with + * mandatory time zone offset. + */ + timeMin?: string; + /** Time zone used in the response. Optional. The default is the time zone of the calendar. */ + timeZone?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Events>; + /** Returns events on the specified calendar. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** + * Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, + * non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an + * email address value in the mentioned places. Optional. The default is False. + */ + alwaysIncludeEmail?: boolean; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Specifies event ID in the iCalendar format to be included in the response. Optional. */ + iCalUID?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. + * Optional. + */ + maxAttendees?: number; + /** + * Maximum number of events returned on one result page. The number of events in the resulting page may be less than this value, or none at all, even if + * there are more events matching the query. Incomplete pages can be detected by a non-empty nextPageToken field in the response. By default the value is + * 250 events. The page size can never be larger than 2500 events. Optional. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The order of the events returned in the result. Optional. The default is an unspecified, stable order. */ + orderBy?: string; + /** Token specifying which result page to return. Optional. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Extended properties constraint specified as propertyName=value. Matches only private properties. This parameter might be repeated multiple times to + * return events that match all given constraints. + */ + privateExtendedProperty?: string; + /** Free text search terms to find events that match these terms in any field, except for extended properties. Optional. */ + q?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Extended properties constraint specified as propertyName=value. Matches only shared properties. This parameter might be repeated multiple times to + * return events that match all given constraints. + */ + sharedExtendedProperty?: string; + /** + * Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events (but not the underlying + * recurring event) will still be included if showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only single + * instances of deleted events (but not the underlying recurring events) are returned. Optional. The default is False. + */ + showDeleted?: boolean; + /** Whether to include hidden invitations in the result. Optional. The default is False. */ + showHiddenInvitations?: boolean; + /** + * Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying + * recurring events themselves. Optional. The default is False. + */ + singleEvents?: boolean; + /** + * Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list + * request contain only entries that have changed since then. All events deleted since the previous list request will always be in the result set and it + * is not allowed to set showDeleted to False. + * There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state. + * + * These are: + * - iCalUID + * - orderBy + * - privateExtendedProperty + * - q + * - sharedExtendedProperty + * - timeMin + * - timeMax + * - updatedMin If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full + * synchronization without any syncToken. + * Learn more about incremental synchronization. + * Optional. The default is to return all entries. + */ + syncToken?: string; + /** + * Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with + * mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but will be ignored. If timeMin is set, + * timeMax must be greater than timeMin. + */ + timeMax?: string; + /** + * Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with + * mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but will be ignored. If timeMax is set, + * timeMin must be smaller than timeMax. + */ + timeMin?: string; + /** Time zone used in the response. Optional. The default is the time zone of the calendar. */ + timeZone?: string; + /** + * Lower bound for an event's last modification time (as a RFC3339 timestamp) to filter by. When specified, entries deleted since this time will always be + * included regardless of showDeleted. Optional. The default is not to filter by last modification time. + */ + updatedMin?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Events>; + /** Moves an event to another calendar, i.e. changes an event's organizer. */ + move(request: { + /** Data format for the response. */ + alt?: string; + /** Calendar identifier of the source calendar where the event currently is on. */ + calendarId: string; + /** Calendar identifier of the target calendar where the event is to be moved to. */ + destination: string; + /** Event identifier. */ + eventId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether to send notifications about the change of the event's organizer. Optional. The default is False. */ + sendNotifications?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Event>; + /** Updates an event. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** + * Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, + * non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an + * email address value in the mentioned places. Optional. The default is False. + */ + alwaysIncludeEmail?: boolean; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Event identifier. */ + eventId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. + * Optional. + */ + maxAttendees?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether to send notifications about the event update (e.g. attendee's responses, title changes, etc.). Optional. The default is False. */ + sendNotifications?: boolean; + /** Whether API client performing operation supports event attachments. Optional. The default is False. */ + supportsAttachments?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Event>; + /** Creates an event based on a simple text string. */ + quickAdd(request: { + /** Data format for the response. */ + alt?: string; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether to send notifications about the creation of the event. Optional. The default is False. */ + sendNotifications?: boolean; + /** The text describing the event to be created. */ + text: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Event>; + /** Updates an event. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** + * Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, + * non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an + * email address value in the mentioned places. Optional. The default is False. + */ + alwaysIncludeEmail?: boolean; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Event identifier. */ + eventId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. + * Optional. + */ + maxAttendees?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether to send notifications about the event update (e.g. attendee's responses, title changes, etc.). Optional. The default is False. */ + sendNotifications?: boolean; + /** Whether API client performing operation supports event attachments. Optional. The default is False. */ + supportsAttachments?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Event>; + /** Watch for changes to Events resources. */ + watch(request: { + /** Data format for the response. */ + alt?: string; + /** + * Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, + * non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an + * email address value in the mentioned places. Optional. The default is False. + */ + alwaysIncludeEmail?: boolean; + /** + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in + * user, use the "primary" keyword. + */ + calendarId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Specifies event ID in the iCalendar format to be included in the response. Optional. */ + iCalUID?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. + * Optional. + */ + maxAttendees?: number; + /** + * Maximum number of events returned on one result page. The number of events in the resulting page may be less than this value, or none at all, even if + * there are more events matching the query. Incomplete pages can be detected by a non-empty nextPageToken field in the response. By default the value is + * 250 events. The page size can never be larger than 2500 events. Optional. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The order of the events returned in the result. Optional. The default is an unspecified, stable order. */ + orderBy?: string; + /** Token specifying which result page to return. Optional. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Extended properties constraint specified as propertyName=value. Matches only private properties. This parameter might be repeated multiple times to + * return events that match all given constraints. + */ + privateExtendedProperty?: string; + /** Free text search terms to find events that match these terms in any field, except for extended properties. Optional. */ + q?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Extended properties constraint specified as propertyName=value. Matches only shared properties. This parameter might be repeated multiple times to + * return events that match all given constraints. + */ + sharedExtendedProperty?: string; + /** + * Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events (but not the underlying + * recurring event) will still be included if showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only single + * instances of deleted events (but not the underlying recurring events) are returned. Optional. The default is False. + */ + showDeleted?: boolean; + /** Whether to include hidden invitations in the result. Optional. The default is False. */ + showHiddenInvitations?: boolean; + /** + * Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying + * recurring events themselves. Optional. The default is False. + */ + singleEvents?: boolean; + /** + * Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list + * request contain only entries that have changed since then. All events deleted since the previous list request will always be in the result set and it + * is not allowed to set showDeleted to False. + * There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state. + * + * These are: + * - iCalUID + * - orderBy + * - privateExtendedProperty + * - q + * - sharedExtendedProperty + * - timeMin + * - timeMax + * - updatedMin If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full + * synchronization without any syncToken. + * Learn more about incremental synchronization. + * Optional. The default is to return all entries. + */ + syncToken?: string; + /** + * Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with + * mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but will be ignored. If timeMin is set, + * timeMax must be greater than timeMin. + */ + timeMax?: string; + /** + * Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with + * mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but will be ignored. If timeMax is set, + * timeMin must be smaller than timeMax. + */ + timeMin?: string; + /** Time zone used in the response. Optional. The default is the time zone of the calendar. */ + timeZone?: string; + /** + * Lower bound for an event's last modification time (as a RFC3339 timestamp) to filter by. When specified, entries deleted since this time will always be + * included regardless of showDeleted. Optional. The default is not to filter by last modification time. + */ + updatedMin?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Channel>; + } + interface FreebusyResource { + /** Returns free/busy information for a set of calendars. */ + query(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FreeBusyResponse>; + } + interface SettingsResource { + /** Returns a single user setting. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The id of the user setting. */ + setting: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Setting>; + /** Returns all user settings for the authenticated user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. + * Optional. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Token specifying which result page to return. Optional. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list + * request contain only entries that have changed since then. + * If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full + * synchronization without any syncToken. + * Learn more about incremental synchronization. + * Optional. The default is to return all entries. + */ + syncToken?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Settings>; + /** Watch for changes to Settings resources. */ + watch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. + * Optional. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Token specifying which result page to return. Optional. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list + * request contain only entries that have changed since then. + * If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full + * synchronization without any syncToken. + * Learn more about incremental synchronization. + * Optional. The default is to return all entries. + */ + syncToken?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Channel>; + } + } +} diff --git a/types/gapi.client.calendar/readme.md b/types/gapi.client.calendar/readme.md new file mode 100644 index 0000000000..cc864bd556 --- /dev/null +++ b/types/gapi.client.calendar/readme.md @@ -0,0 +1,242 @@ +# TypeScript typings for Calendar API v3 +Manipulates events and other calendar data. +For detailed description please check [documentation](https://developers.google.com/google-apps/calendar/firstapp). + +## Installing + +Install typings for Calendar API: +``` +npm install @types/gapi.client.calendar@v3 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('calendar', 'v3', () => { + // now we can use gapi.client.calendar + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage your calendars + 'https://www.googleapis.com/auth/calendar', + + // View your calendars + 'https://www.googleapis.com/auth/calendar.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Calendar API resources: + +```typescript + +/* +Deletes an access control rule. +*/ +await gapi.client.acl.delete({ calendarId: "calendarId", ruleId: "ruleId", }); + +/* +Returns an access control rule. +*/ +await gapi.client.acl.get({ calendarId: "calendarId", ruleId: "ruleId", }); + +/* +Creates an access control rule. +*/ +await gapi.client.acl.insert({ calendarId: "calendarId", }); + +/* +Returns the rules in the access control list for the calendar. +*/ +await gapi.client.acl.list({ calendarId: "calendarId", }); + +/* +Updates an access control rule. This method supports patch semantics. +*/ +await gapi.client.acl.patch({ calendarId: "calendarId", ruleId: "ruleId", }); + +/* +Updates an access control rule. +*/ +await gapi.client.acl.update({ calendarId: "calendarId", ruleId: "ruleId", }); + +/* +Watch for changes to ACL resources. +*/ +await gapi.client.acl.watch({ calendarId: "calendarId", }); + +/* +Deletes an entry on the user's calendar list. +*/ +await gapi.client.calendarList.delete({ calendarId: "calendarId", }); + +/* +Returns an entry on the user's calendar list. +*/ +await gapi.client.calendarList.get({ calendarId: "calendarId", }); + +/* +Adds an entry to the user's calendar list. +*/ +await gapi.client.calendarList.insert({ }); + +/* +Returns entries on the user's calendar list. +*/ +await gapi.client.calendarList.list({ }); + +/* +Updates an entry on the user's calendar list. This method supports patch semantics. +*/ +await gapi.client.calendarList.patch({ calendarId: "calendarId", }); + +/* +Updates an entry on the user's calendar list. +*/ +await gapi.client.calendarList.update({ calendarId: "calendarId", }); + +/* +Watch for changes to CalendarList resources. +*/ +await gapi.client.calendarList.watch({ }); + +/* +Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account. +*/ +await gapi.client.calendars.clear({ calendarId: "calendarId", }); + +/* +Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars. +*/ +await gapi.client.calendars.delete({ calendarId: "calendarId", }); + +/* +Returns metadata for a calendar. +*/ +await gapi.client.calendars.get({ calendarId: "calendarId", }); + +/* +Creates a secondary calendar. +*/ +await gapi.client.calendars.insert({ }); + +/* +Updates metadata for a calendar. This method supports patch semantics. +*/ +await gapi.client.calendars.patch({ calendarId: "calendarId", }); + +/* +Updates metadata for a calendar. +*/ +await gapi.client.calendars.update({ calendarId: "calendarId", }); + +/* +Stop watching resources through this channel +*/ +await gapi.client.channels.stop({ }); + +/* +Returns the color definitions for calendars and events. +*/ +await gapi.client.colors.get({ }); + +/* +Deletes an event. +*/ +await gapi.client.events.delete({ calendarId: "calendarId", eventId: "eventId", }); + +/* +Returns an event. +*/ +await gapi.client.events.get({ calendarId: "calendarId", eventId: "eventId", }); + +/* +Imports an event. This operation is used to add a private copy of an existing event to a calendar. +*/ +await gapi.client.events.import({ calendarId: "calendarId", }); + +/* +Creates an event. +*/ +await gapi.client.events.insert({ calendarId: "calendarId", }); + +/* +Returns instances of the specified recurring event. +*/ +await gapi.client.events.instances({ calendarId: "calendarId", eventId: "eventId", }); + +/* +Returns events on the specified calendar. +*/ +await gapi.client.events.list({ calendarId: "calendarId", }); + +/* +Moves an event to another calendar, i.e. changes an event's organizer. +*/ +await gapi.client.events.move({ calendarId: "calendarId", destination: "destination", eventId: "eventId", }); + +/* +Updates an event. This method supports patch semantics. +*/ +await gapi.client.events.patch({ calendarId: "calendarId", eventId: "eventId", }); + +/* +Creates an event based on a simple text string. +*/ +await gapi.client.events.quickAdd({ calendarId: "calendarId", text: "text", }); + +/* +Updates an event. +*/ +await gapi.client.events.update({ calendarId: "calendarId", eventId: "eventId", }); + +/* +Watch for changes to Events resources. +*/ +await gapi.client.events.watch({ calendarId: "calendarId", }); + +/* +Returns free/busy information for a set of calendars. +*/ +await gapi.client.freebusy.query({ }); + +/* +Returns a single user setting. +*/ +await gapi.client.settings.get({ setting: "setting", }); + +/* +Returns all user settings for the authenticated user. +*/ +await gapi.client.settings.list({ }); + +/* +Watch for changes to Settings resources. +*/ +await gapi.client.settings.watch({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.calendar/tsconfig.json b/types/gapi.client.calendar/tsconfig.json new file mode 100644 index 0000000000..5d44c3d92a --- /dev/null +++ b/types/gapi.client.calendar/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.calendar-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.calendar/tslint.json b/types/gapi.client.calendar/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.calendar/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.civicinfo/gapi.client.civicinfo-tests.ts b/types/gapi.client.civicinfo/gapi.client.civicinfo-tests.ts new file mode 100644 index 0000000000..7a6270dfa5 --- /dev/null +++ b/types/gapi.client.civicinfo/gapi.client.civicinfo-tests.ts @@ -0,0 +1,44 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('civicinfo', 'v2', () => { + /** now we can use gapi.client.civicinfo */ + + run(); + }); + + async function run() { + /** Searches for political divisions by their natural name or OCD ID. */ + await gapi.client.divisions.search({ + query: "query", + }); + /** List of available elections to query. */ + await gapi.client.elections.electionQuery({ + }); + /** Looks up information relevant to a voter based on the voter's registered address. */ + await gapi.client.elections.voterInfoQuery({ + address: "address", + electionId: "electionId", + officialOnly: true, + returnAllAvailableData: true, + }); + /** Looks up political geography and representative information for a single address. */ + await gapi.client.representatives.representativeInfoByAddress({ + address: "address", + includeOffices: true, + levels: "levels", + roles: "roles", + }); + /** Looks up representative information for a single geographic division. */ + await gapi.client.representatives.representativeInfoByDivision({ + levels: "levels", + ocdId: "ocdId", + recursive: true, + roles: "roles", + }); + } +}); diff --git a/types/gapi.client.civicinfo/index.d.ts b/types/gapi.client.civicinfo/index.d.ts new file mode 100644 index 0000000000..efa9098f8e --- /dev/null +++ b/types/gapi.client.civicinfo/index.d.ts @@ -0,0 +1,599 @@ +// Type definitions for Google Google Civic Information API v2 2.0 +// Project: https://developers.google.com/civic-information +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/civicinfo/v2/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Civic Information API v2 */ + function load(name: "civicinfo", version: "v2"): PromiseLike<void>; + function load(name: "civicinfo", version: "v2", callback: () => any): void; + + const divisions: civicinfo.DivisionsResource; + + const elections: civicinfo.ElectionsResource; + + const representatives: civicinfo.RepresentativesResource; + + namespace civicinfo { + interface AdministrationRegion { + /** The election administration body for this area. */ + electionAdministrationBody?: AdministrativeBody; + /** + * An ID for this object. IDs may change in future requests and should not be cached. Access to this field requires special access that can be requested + * from the Request more link on the Quotas page. + */ + id?: string; + /** The city or county that provides election information for this voter. This object can have the same elements as state. */ + local_jurisdiction?: AdministrationRegion; + /** The name of the jurisdiction. */ + name?: string; + /** A list of sources for this area. If multiple sources are listed the data has been aggregated from those sources. */ + sources?: Source[]; + } + interface AdministrativeBody { + /** A URL provided by this administrative body for information on absentee voting. */ + absenteeVotingInfoUrl?: string; + addressLines?: string[]; + /** A URL provided by this administrative body to give contest information to the voter. */ + ballotInfoUrl?: string; + /** The mailing address of this administrative body. */ + correspondenceAddress?: SimpleAddressType; + /** A URL provided by this administrative body for looking up general election information. */ + electionInfoUrl?: string; + /** The election officials for this election administrative body. */ + electionOfficials?: ElectionOfficial[]; + /** A URL provided by this administrative body for confirming that the voter is registered to vote. */ + electionRegistrationConfirmationUrl?: string; + /** A URL provided by this administrative body for looking up how to register to vote. */ + electionRegistrationUrl?: string; + /** A URL provided by this administrative body describing election rules to the voter. */ + electionRulesUrl?: string; + /** A description of the hours of operation for this administrative body. */ + hoursOfOperation?: string; + /** The name of this election administrative body. */ + name?: string; + /** The physical address of this administrative body. */ + physicalAddress?: SimpleAddressType; + /** A description of the services this administrative body may provide. */ + voter_services?: string[]; + /** A URL provided by this administrative body for looking up where to vote. */ + votingLocationFinderUrl?: string; + } + interface Candidate { + /** The URL for the candidate's campaign web site. */ + candidateUrl?: string; + /** A list of known (social) media channels for this candidate. */ + channels?: Channel[]; + /** The email address for the candidate's campaign. */ + email?: string; + /** + * The candidate's name. If this is a joint ticket it will indicate the name of the candidate at the top of a ticket followed by a / and that name of + * candidate at the bottom of the ticket. e.g. "Mitt Romney / Paul Ryan" + */ + name?: string; + /** The order the candidate appears on the ballot for this contest. */ + orderOnBallot?: string; + /** The full name of the party the candidate is a member of. */ + party?: string; + /** The voice phone number for the candidate's campaign office. */ + phone?: string; + /** A URL for a photo of the candidate. */ + photoUrl?: string; + } + interface Channel { + /** The unique public identifier for the candidate's channel. */ + id?: string; + /** + * The type of channel. The following is a list of types of channels, but is not exhaustive. More channel types may be added at a later time. One of: + * GooglePlus, YouTube, Facebook, Twitter + */ + type?: string; + } + interface Contest { + /** A number specifying the position of this contest on the voter's ballot. */ + ballotPlacement?: string; + /** The candidate choices for this contest. */ + candidates?: Candidate[]; + /** Information about the electoral district that this contest is in. */ + district?: ElectoralDistrict; + /** A description of any additional eligibility requirements for voting in this contest. */ + electorateSpecifications?: string; + /** + * An ID for this object. IDs may change in future requests and should not be cached. Access to this field requires special access that can be requested + * from the Request more link on the Quotas page. + */ + id?: string; + /** + * The levels of government of the office for this contest. There may be more than one in cases where a jurisdiction effectively acts at two different + * levels of government; for example, the mayor of the District of Columbia acts at "locality" level, but also effectively at both "administrative-area-2" + * and "administrative-area-1". + */ + level?: string[]; + /** The number of candidates that will be elected to office in this contest. */ + numberElected?: string; + /** The number of candidates that a voter may vote for in this contest. */ + numberVotingFor?: string; + /** The name of the office for this contest. */ + office?: string; + /** If this is a partisan election, the name of the party it is for. */ + primaryParty?: string; + /** + * The set of ballot responses for the referendum. A ballot response represents a line on the ballot. Common examples might include "yes" or "no" for + * referenda. This field is only populated for contests of type 'Referendum'. + */ + referendumBallotResponses?: string[]; + /** + * Specifies a short summary of the referendum that is typically on the ballot below the title but above the text. This field is only populated for + * contests of type 'Referendum'. + */ + referendumBrief?: string; + /** + * A statement in opposition to the referendum. It does not necessarily appear on the ballot. This field is only populated for contests of type + * 'Referendum'. + */ + referendumConStatement?: string; + /** + * Specifies what effect abstaining (not voting) on the proposition will have (i.e. whether abstaining is considered a vote against it). This field is + * only populated for contests of type 'Referendum'. + */ + referendumEffectOfAbstain?: string; + /** The threshold of votes that the referendum needs in order to pass, e.g. "two-thirds". This field is only populated for contests of type 'Referendum'. */ + referendumPassageThreshold?: string; + /** A statement in favor of the referendum. It does not necessarily appear on the ballot. This field is only populated for contests of type 'Referendum'. */ + referendumProStatement?: string; + /** A brief description of the referendum. This field is only populated for contests of type 'Referendum'. */ + referendumSubtitle?: string; + /** The full text of the referendum. This field is only populated for contests of type 'Referendum'. */ + referendumText?: string; + /** The title of the referendum (e.g. 'Proposition 42'). This field is only populated for contests of type 'Referendum'. */ + referendumTitle?: string; + /** A link to the referendum. This field is only populated for contests of type 'Referendum'. */ + referendumUrl?: string; + /** The roles which this office fulfills. */ + roles?: string[]; + /** A list of sources for this contest. If multiple sources are listed, the data has been aggregated from those sources. */ + sources?: Source[]; + /** "Yes" or "No" depending on whether this a contest being held outside the normal election cycle. */ + special?: string; + /** + * The type of contest. Usually this will be 'General', 'Primary', or 'Run-off' for contests with candidates. For referenda this will be 'Referendum'. For + * Retention contests this will typically be 'Retention'. + */ + type?: string; + } + interface ContextParams { + clientProfile?: string; + } + interface DivisionRepresentativeInfoRequest { + contextParams?: ContextParams; + } + interface DivisionSearchRequest { + contextParams?: ContextParams; + } + interface DivisionSearchResponse { + /** Identifies what kind of resource this is. Value: the fixed string "civicinfo#divisionSearchResponse". */ + kind?: string; + results?: DivisionSearchResult[]; + } + interface DivisionSearchResult { + /** + * Other Open Civic Data identifiers that refer to the same division -- for example, those that refer to other political divisions whose boundaries are + * defined to be coterminous with this one. For example, ocd-division/country:us/state:wy will include an alias of ocd-division/country:us/state:wy/cd:1, + * since Wyoming has only one Congressional district. + */ + aliases?: string[]; + /** The name of the division. */ + name?: string; + /** The unique Open Civic Data identifier for this division. */ + ocdId?: string; + } + interface Election { + /** Day of the election in YYYY-MM-DD format. */ + electionDay?: string; + /** The unique ID of this election. */ + id?: string; + /** A displayable name for the election. */ + name?: string; + /** + * The political division of the election. Represented as an OCD Division ID. Voters within these political jurisdictions are covered by this election. + * This is typically a state such as ocd-division/country:us/state:ca or for the midterms or general election the entire US (i.e. + * ocd-division/country:us). + */ + ocdDivisionId?: string; + } + interface ElectionOfficial { + /** The email address of the election official. */ + emailAddress?: string; + /** The fax number of the election official. */ + faxNumber?: string; + /** The full name of the election official. */ + name?: string; + /** The office phone number of the election official. */ + officePhoneNumber?: string; + /** The title of the election official. */ + title?: string; + } + interface ElectionsQueryRequest { + contextParams?: ContextParams; + } + interface ElectionsQueryResponse { + /** A list of available elections */ + elections?: Election[]; + /** Identifies what kind of resource this is. Value: the fixed string "civicinfo#electionsQueryResponse". */ + kind?: string; + } + interface ElectoralDistrict { + /** An identifier for this district, relative to its scope. For example, the 34th State Senate district would have id "34" and a scope of stateUpper. */ + id?: string; + kgForeignKey?: string; + /** The name of the district. */ + name?: string; + /** + * The geographic scope of this district. If unspecified the district's geography is not known. One of: national, statewide, congressional, stateUpper, + * stateLower, countywide, judicial, schoolBoard, cityWide, township, countyCouncil, cityCouncil, ward, special + */ + scope?: string; + } + interface GeographicDivision { + /** + * Any other valid OCD IDs that refer to the same division. + * + * Because OCD IDs are meant to be human-readable and at least somewhat predictable, there are occasionally several identifiers for a single division. + * These identifiers are defined to be equivalent to one another, and one is always indicated as the primary identifier. The primary identifier will be + * returned in ocd_id above, and any other equivalent valid identifiers will be returned in this list. + * + * For example, if this division's OCD ID is ocd-division/country:us/district:dc, this will contain ocd-division/country:us/state:dc. + */ + alsoKnownAs?: string[]; + /** The name of the division. */ + name?: string; + /** + * List of indices in the offices array, one for each office elected from this division. Will only be present if includeOffices was true (or absent) in + * the request. + */ + officeIndices?: number[]; + } + interface Office { + /** The OCD ID of the division with which this office is associated. */ + divisionId?: string; + /** + * The levels of government of which this office is part. There may be more than one in cases where a jurisdiction effectively acts at two different + * levels of government; for example, the mayor of the District of Columbia acts at "locality" level, but also effectively at both "administrative-area-2" + * and "administrative-area-1". + */ + levels?: string[]; + /** The human-readable name of the office. */ + name?: string; + /** List of indices in the officials array of people who presently hold this office. */ + officialIndices?: number[]; + /** + * The roles which this office fulfills. Roles are not meant to be exhaustive, or to exactly specify the entire set of responsibilities of a given office, + * but are meant to be rough categories that are useful for general selection from or sorting of a list of offices. + */ + roles?: string[]; + /** A list of sources for this office. If multiple sources are listed, the data has been aggregated from those sources. */ + sources?: Source[]; + } + interface Official { + /** Addresses at which to contact the official. */ + address?: SimpleAddressType[]; + /** A list of known (social) media channels for this official. */ + channels?: Channel[]; + /** The direct email addresses for the official. */ + emails?: string[]; + /** The official's name. */ + name?: string; + /** The full name of the party the official belongs to. */ + party?: string; + /** The official's public contact phone numbers. */ + phones?: string[]; + /** A URL for a photo of the official. */ + photoUrl?: string; + /** The official's public website URLs. */ + urls?: string[]; + } + interface PollingLocation { + /** The address of the location. */ + address?: SimpleAddressType; + /** The last date that this early vote site or drop off location may be used. This field is not populated for polling locations. */ + endDate?: string; + /** + * An ID for this object. IDs may change in future requests and should not be cached. Access to this field requires special access that can be requested + * from the Request more link on the Quotas page. + */ + id?: string; + /** The name of the early vote site or drop off location. This field is not populated for polling locations. */ + name?: string; + /** Notes about this location (e.g. accessibility ramp or entrance to use). */ + notes?: string; + /** A description of when this location is open. */ + pollingHours?: string; + /** A list of sources for this location. If multiple sources are listed the data has been aggregated from those sources. */ + sources?: Source[]; + /** The first date that this early vote site or drop off location may be used. This field is not populated for polling locations. */ + startDate?: string; + /** The services provided by this early vote site or drop off location. This field is not populated for polling locations. */ + voterServices?: string; + } + interface PostalAddress { + addressLines?: string[]; + administrativeAreaName?: string; + countryName?: string; + countryNameCode?: string; + dependentLocalityName?: string; + dependentThoroughfareLeadingType?: string; + dependentThoroughfareName?: string; + dependentThoroughfarePostDirection?: string; + dependentThoroughfarePreDirection?: string; + dependentThoroughfareTrailingType?: string; + dependentThoroughfaresConnector?: string; + dependentThoroughfaresIndicator?: string; + dependentThoroughfaresType?: string; + firmName?: string; + isDisputed?: boolean; + languageCode?: string; + localityName?: string; + postBoxNumber?: string; + postalCodeNumber?: string; + postalCodeNumberExtension?: string; + premiseName?: string; + recipientName?: string; + sortingCode?: string; + subAdministrativeAreaName?: string; + subPremiseName?: string; + thoroughfareLeadingType?: string; + thoroughfareName?: string; + thoroughfareNumber?: string; + thoroughfarePostDirection?: string; + thoroughfarePreDirection?: string; + thoroughfareTrailingType?: string; + } + interface RepresentativeInfoData { + /** Political geographic divisions that contain the requested address. */ + divisions?: Record<string, GeographicDivision>; + /** Elected offices referenced by the divisions listed above. Will only be present if includeOffices was true in the request. */ + offices?: Office[]; + /** Officials holding the offices listed above. Will only be present if includeOffices was true in the request. */ + officials?: Official[]; + } + interface RepresentativeInfoRequest { + contextParams?: ContextParams; + } + interface RepresentativeInfoResponse { + /** Political geographic divisions that contain the requested address. */ + divisions?: Record<string, GeographicDivision>; + /** Identifies what kind of resource this is. Value: the fixed string "civicinfo#representativeInfoResponse". */ + kind?: string; + /** The normalized version of the requested address */ + normalizedInput?: SimpleAddressType; + /** Elected offices referenced by the divisions listed above. Will only be present if includeOffices was true in the request. */ + offices?: Office[]; + /** Officials holding the offices listed above. Will only be present if includeOffices was true in the request. */ + officials?: Official[]; + } + interface SimpleAddressType { + /** The city or town for the address. */ + city?: string; + /** The street name and number of this address. */ + line1?: string; + /** The second line the address, if needed. */ + line2?: string; + /** The third line of the address, if needed. */ + line3?: string; + /** The name of the location. */ + locationName?: string; + /** The US two letter state abbreviation of the address. */ + state?: string; + /** The US Postal Zip Code of the address. */ + zip?: string; + } + interface Source { + /** The name of the data source. */ + name?: string; + /** Whether this data comes from an official government source. */ + official?: boolean; + } + interface VoterInfoRequest { + contextParams?: ContextParams; + voterInfoSegmentResult?: VoterInfoSegmentResult; + } + interface VoterInfoResponse { + /** Contests that will appear on the voter's ballot. */ + contests?: Contest[]; + /** + * Locations where a voter is eligible to drop off a completed ballot. The voter must have received and completed a ballot prior to arriving at the + * location. The location may not have ballots available on the premises. These locations could be open on or before election day as indicated in the + * pollingHours field. + */ + dropOffLocations?: PollingLocation[]; + /** Locations where the voter is eligible to vote early, prior to election day. */ + earlyVoteSites?: PollingLocation[]; + /** The election that was queried. */ + election?: Election; + /** Identifies what kind of resource this is. Value: the fixed string "civicinfo#voterInfoResponse". */ + kind?: string; + /** Specifies whether voters in the precinct vote only by mailing their ballots (with the possible option of dropping off their ballots as well). */ + mailOnly?: boolean; + /** The normalized version of the requested address */ + normalizedInput?: SimpleAddressType; + /** + * If no election ID was specified in the query, and there was more than one election with data for the given voter, this will contain information about + * the other elections that could apply. + */ + otherElections?: Election[]; + /** Locations where the voter is eligible to vote on election day. */ + pollingLocations?: PollingLocation[]; + precinctId?: string; + /** Local Election Information for the state that the voter votes in. For the US, there will only be one element in this array. */ + state?: AdministrationRegion[]; + } + interface VoterInfoSegmentResult { + generatedMillis?: string; + postalAddress?: PostalAddress; + request?: VoterInfoRequest; + response?: VoterInfoResponse; + } + interface DivisionsResource { + /** Searches for political divisions by their natural name or OCD ID. */ + search(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The search query. Queries can cover any parts of a OCD ID or a human readable division name. All words given in the query are treated as required + * patterns. In addition to that, most query operators of the Apache Lucene library are supported. See + * http://lucene.apache.org/core/2_9_4/queryparsersyntax.html + */ + query?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DivisionSearchResponse>; + } + interface ElectionsResource { + /** List of available elections to query. */ + electionQuery(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ElectionsQueryResponse>; + /** Looks up information relevant to a voter based on the voter's registered address. */ + voterInfoQuery(request: { + /** The registered address of the voter to look up. */ + address: string; + /** Data format for the response. */ + alt?: string; + /** The unique ID of the election to look up. A list of election IDs can be obtained at https://www.googleapis.com/civicinfo/{version}/elections */ + electionId?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** If set to true, only data from official state sources will be returned. */ + officialOnly?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * If set to true, the query will return the success codeand include any partial information when it is unable to determine a matching address or unable + * to determine the election for electionId=0 queries. + */ + returnAllAvailableData?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<VoterInfoResponse>; + } + interface RepresentativesResource { + /** Looks up political geography and representative information for a single address. */ + representativeInfoByAddress(request: { + /** The address to look up. May only be specified if the field ocdId is not given in the URL. */ + address?: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Whether to return information about offices and officials. If false, only the top-level district information will be returned. */ + includeOffices?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * A list of office levels to filter by. Only offices that serve at least one of these levels will be returned. Divisions that don't contain a matching + * office will not be returned. + */ + levels?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * A list of office roles to filter by. Only offices fulfilling one of these roles will be returned. Divisions that don't contain a matching office will + * not be returned. + */ + roles?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RepresentativeInfoResponse>; + /** Looks up representative information for a single geographic division. */ + representativeInfoByDivision(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * A list of office levels to filter by. Only offices that serve at least one of these levels will be returned. Divisions that don't contain a matching + * office will not be returned. + */ + levels?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The Open Civic Data division identifier of the division to look up. */ + ocdId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * If true, information about all divisions contained in the division requested will be included as well. For example, if querying + * ocd-division/country:us/district:dc, this would also return all DC's wards and ANCs. + */ + recursive?: boolean; + /** + * A list of office roles to filter by. Only offices fulfilling one of these roles will be returned. Divisions that don't contain a matching office will + * not be returned. + */ + roles?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RepresentativeInfoData>; + } + } +} diff --git a/types/gapi.client.civicinfo/readme.md b/types/gapi.client.civicinfo/readme.md new file mode 100644 index 0000000000..a423c2345f --- /dev/null +++ b/types/gapi.client.civicinfo/readme.md @@ -0,0 +1,60 @@ +# TypeScript typings for Google Civic Information API v2 +Provides polling places, early vote locations, contest data, election officials, and government representatives for U.S. residential addresses. +For detailed description please check [documentation](https://developers.google.com/civic-information). + +## Installing + +Install typings for Google Civic Information API: +``` +npm install @types/gapi.client.civicinfo@v2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('civicinfo', 'v2', () => { + // now we can use gapi.client.civicinfo + // ... +}); +``` + + + +After that you can use Google Civic Information API resources: + +```typescript + +/* +Searches for political divisions by their natural name or OCD ID. +*/ +await gapi.client.divisions.search({ }); + +/* +List of available elections to query. +*/ +await gapi.client.elections.electionQuery({ }); + +/* +Looks up information relevant to a voter based on the voter's registered address. +*/ +await gapi.client.elections.voterInfoQuery({ address: "address", }); + +/* +Looks up political geography and representative information for a single address. +*/ +await gapi.client.representatives.representativeInfoByAddress({ }); + +/* +Looks up representative information for a single geographic division. +*/ +await gapi.client.representatives.representativeInfoByDivision({ ocdId: "ocdId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.civicinfo/tsconfig.json b/types/gapi.client.civicinfo/tsconfig.json new file mode 100644 index 0000000000..6c3ced88c9 --- /dev/null +++ b/types/gapi.client.civicinfo/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.civicinfo-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.civicinfo/tslint.json b/types/gapi.client.civicinfo/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.civicinfo/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.classroom/gapi.client.classroom-tests.ts b/types/gapi.client.classroom/gapi.client.classroom-tests.ts new file mode 100644 index 0000000000..08cbd4f585 --- /dev/null +++ b/types/gapi.client.classroom/gapi.client.classroom-tests.ts @@ -0,0 +1,286 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('classroom', 'v1', () => { + /** now we can use gapi.client.classroom */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage announcements in Google Classroom */ + 'https://www.googleapis.com/auth/classroom.announcements', + /** View announcements in Google Classroom */ + 'https://www.googleapis.com/auth/classroom.announcements.readonly', + /** Manage your Google Classroom classes */ + 'https://www.googleapis.com/auth/classroom.courses', + /** View your Google Classroom classes */ + 'https://www.googleapis.com/auth/classroom.courses.readonly', + /** Manage your course work and view your grades in Google Classroom */ + 'https://www.googleapis.com/auth/classroom.coursework.me', + /** View your course work and grades in Google Classroom */ + 'https://www.googleapis.com/auth/classroom.coursework.me.readonly', + /** Manage course work and grades for students in the Google Classroom classes you teach and view the course work and grades for classes you administer */ + 'https://www.googleapis.com/auth/classroom.coursework.students', + /** View course work and grades for students in the Google Classroom classes you teach or administer */ + 'https://www.googleapis.com/auth/classroom.coursework.students.readonly', + /** View your Google Classroom guardians */ + 'https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly', + /** View and manage guardians for students in your Google Classroom classes */ + 'https://www.googleapis.com/auth/classroom.guardianlinks.students', + /** View guardians for students in your Google Classroom classes */ + 'https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly', + /** View the email addresses of people in your classes */ + 'https://www.googleapis.com/auth/classroom.profile.emails', + /** View the profile photos of people in your classes */ + 'https://www.googleapis.com/auth/classroom.profile.photos', + /** Manage your Google Classroom class rosters */ + 'https://www.googleapis.com/auth/classroom.rosters', + /** View your Google Classroom class rosters */ + 'https://www.googleapis.com/auth/classroom.rosters.readonly', + /** View your course work and grades in Google Classroom */ + 'https://www.googleapis.com/auth/classroom.student-submissions.me.readonly', + /** View course work and grades for students in the Google Classroom classes you teach or administer */ + 'https://www.googleapis.com/auth/classroom.student-submissions.students.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Creates a course. + * + * The user specified in `ownerId` is the owner of the created course + * and added as a teacher. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to create + * courses or for access errors. + * * `NOT_FOUND` if the primary teacher is not a valid user. + * * `FAILED_PRECONDITION` if the course owner's account is disabled or for + * the following request errors: + * * UserGroupsMembershipLimitReached + * * `ALREADY_EXISTS` if an alias was specified in the `id` and + * already exists. + */ + await gapi.client.courses.create({ + }); + /** + * Deletes a course. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to delete the + * requested course or for access errors. + * * `NOT_FOUND` if no course exists with the requested ID. + */ + await gapi.client.courses.delete({ + id: "id", + }); + /** + * Returns a course. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to access the + * requested course or for access errors. + * * `NOT_FOUND` if no course exists with the requested ID. + */ + await gapi.client.courses.get({ + id: "id", + }); + /** + * Returns a list of courses that the requesting user is permitted to view, + * restricted to those that match the request. Returned courses are ordered by + * creation time, with the most recently created coming first. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` for access errors. + * * `INVALID_ARGUMENT` if the query argument is malformed. + * * `NOT_FOUND` if any users specified in the query arguments do not exist. + */ + await gapi.client.courses.list({ + courseStates: "courseStates", + pageSize: 2, + pageToken: "pageToken", + studentId: "studentId", + teacherId: "teacherId", + }); + /** + * Updates one or more fields in a course. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to modify the + * requested course or for access errors. + * * `NOT_FOUND` if no course exists with the requested ID. + * * `INVALID_ARGUMENT` if invalid fields are specified in the update mask or + * if no update mask is supplied. + * * `FAILED_PRECONDITION` for the following request errors: + * * CourseNotModifiable + */ + await gapi.client.courses.patch({ + id: "id", + updateMask: "updateMask", + }); + /** + * Updates a course. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to modify the + * requested course or for access errors. + * * `NOT_FOUND` if no course exists with the requested ID. + * * `FAILED_PRECONDITION` for the following request errors: + * * CourseNotModifiable + */ + await gapi.client.courses.update({ + id: "id", + }); + /** + * Accepts an invitation, removing it and adding the invited user to the + * teachers or students (as appropriate) of the specified course. Only the + * invited user may accept an invitation. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to accept the + * requested invitation or for access errors. + * * `FAILED_PRECONDITION` for the following request errors: + * * CourseMemberLimitReached + * * CourseNotModifiable + * * CourseTeacherLimitReached + * * UserGroupsMembershipLimitReached + * * `NOT_FOUND` if no invitation exists with the requested ID. + */ + await gapi.client.invitations.accept({ + id: "id", + }); + /** + * Creates an invitation. Only one invitation for a user and course may exist + * at a time. Delete and re-create an invitation to make changes. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to create + * invitations for this course or for access errors. + * * `NOT_FOUND` if the course or the user does not exist. + * * `FAILED_PRECONDITION` if the requested user's account is disabled or if + * the user already has this role or a role with greater permissions. + * * `ALREADY_EXISTS` if an invitation for the specified user and course + * already exists. + */ + await gapi.client.invitations.create({ + }); + /** + * Deletes an invitation. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to delete the + * requested invitation or for access errors. + * * `NOT_FOUND` if no invitation exists with the requested ID. + */ + await gapi.client.invitations.delete({ + id: "id", + }); + /** + * Returns an invitation. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to view the + * requested invitation or for access errors. + * * `NOT_FOUND` if no invitation exists with the requested ID. + */ + await gapi.client.invitations.get({ + id: "id", + }); + /** + * Returns a list of invitations that the requesting user is permitted to + * view, restricted to those that match the list request. + * + * *Note:* At least one of `user_id` or `course_id` must be supplied. Both + * fields can be supplied. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` for access errors. + */ + await gapi.client.invitations.list({ + courseId: "courseId", + pageSize: 2, + pageToken: "pageToken", + userId: "userId", + }); + /** + * Creates a `Registration`, causing Classroom to start sending notifications + * from the provided `feed` to the provided `destination`. + * + * Returns the created `Registration`. Currently, this will be the same as + * the argument, but with server-assigned fields such as `expiry_time` and + * `id` filled in. + * + * Note that any value specified for the `expiry_time` or `id` fields will be + * ignored. + * + * While Classroom may validate the `destination` and return errors on a best + * effort basis, it is the caller's responsibility to ensure that it exists + * and that Classroom has permission to publish to it. + * + * This method may return the following error codes: + * + * * `PERMISSION_DENIED` if: + * * the authenticated user does not have permission to receive + * notifications from the requested field; or + * * the credential provided does not include the appropriate scope for the + * requested feed. + * * another access error is encountered. + * * `INVALID_ARGUMENT` if: + * * no `destination` is specified, or the specified `destination` is not + * valid; or + * * no `feed` is specified, or the specified `feed` is not valid. + * * `NOT_FOUND` if: + * * the specified `feed` cannot be located, or the requesting user does not + * have permission to determine whether or not it exists; or + * * the specified `destination` cannot be located, or Classroom has not + * been granted permission to publish to it. + */ + await gapi.client.registrations.create({ + }); + /** + * Deletes a `Registration`, causing Classroom to stop sending notifications + * for that `Registration`. + */ + await gapi.client.registrations.delete({ + registrationId: "registrationId", + }); + /** + * Returns a user profile. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to access + * this user profile, if no profile exists with the requested ID, or for + * access errors. + */ + await gapi.client.userProfiles.get({ + userId: "userId", + }); + } +}); diff --git a/types/gapi.client.classroom/index.d.ts b/types/gapi.client.classroom/index.d.ts new file mode 100644 index 0000000000..68e2679cad --- /dev/null +++ b/types/gapi.client.classroom/index.d.ts @@ -0,0 +1,4039 @@ +// Type definitions for Google Google Classroom API v1 1.0 +// Project: https://developers.google.com/classroom/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://classroom.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Classroom API v1 */ + function load(name: "classroom", version: "v1"): PromiseLike<void>; + function load(name: "classroom", version: "v1", callback: () => any): void; + + const courses: classroom.CoursesResource; + + const invitations: classroom.InvitationsResource; + + const registrations: classroom.RegistrationsResource; + + const userProfiles: classroom.UserProfilesResource; + + namespace classroom { + interface Announcement { + /** + * Absolute link to this announcement in the Classroom web UI. + * This is only populated if `state` is `PUBLISHED`. + * + * Read-only. + */ + alternateLink?: string; + /** + * Assignee mode of the announcement. + * If unspecified, the default value is `ALL_STUDENTS`. + */ + assigneeMode?: string; + /** + * Identifier of the course. + * + * Read-only. + */ + courseId?: string; + /** + * Timestamp when this announcement was created. + * + * Read-only. + */ + creationTime?: string; + /** + * Identifier for the user that created the announcement. + * + * Read-only. + */ + creatorUserId?: string; + /** + * Classroom-assigned identifier of this announcement, unique per course. + * + * Read-only. + */ + id?: string; + /** + * Identifiers of students with access to the announcement. + * This field is set only if `assigneeMode` is `INDIVIDUAL_STUDENTS`. + * If the `assigneeMode` is `INDIVIDUAL_STUDENTS`, then only students specified in this + * field will be able to see the announcement. + */ + individualStudentsOptions?: IndividualStudentsOptions; + /** + * Additional materials. + * + * Announcements must have no more than 20 material items. + */ + materials?: Material[]; + /** Optional timestamp when this announcement is scheduled to be published. */ + scheduledTime?: string; + /** + * Status of this announcement. + * If unspecified, the default state is `DRAFT`. + */ + state?: string; + /** + * Description of this announcement. + * The text must be a valid UTF-8 string containing no more + * than 30,000 characters. + */ + text?: string; + /** + * Timestamp of the most recent change to this announcement. + * + * Read-only. + */ + updateTime?: string; + } + interface Assignment { + /** + * Drive folder where attachments from student submissions are placed. + * This is only populated for course teachers and administrators. + */ + studentWorkFolder?: DriveFolder; + } + interface AssignmentSubmission { + /** + * Attachments added by the student. + * Drive files that correspond to materials with a share mode of + * STUDENT_COPY may not exist yet if the student has not accessed the + * assignment in Classroom. + * + * Some attachment metadata is only populated if the requesting user has + * permission to access it. Identifier and alternate_link fields are always + * available, but others (e.g. title) may not be. + */ + attachments?: Attachment[]; + } + interface Attachment { + /** Google Drive file attachment. */ + driveFile?: DriveFile; + /** Google Forms attachment. */ + form?: Form; + /** Link attachment. */ + link?: Link; + /** Youtube video attachment. */ + youTubeVideo?: YouTubeVideo; + } + interface CloudPubsubTopic { + /** + * The `name` field of a Cloud Pub/Sub + * [Topic](https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics#Topic). + */ + topicName?: string; + } + interface Course { + /** + * Absolute link to this course in the Classroom web UI. + * + * Read-only. + */ + alternateLink?: string; + /** + * The Calendar ID for a calendar that all course members can see, to which + * Classroom adds events for course work and announcements in the course. + * + * Read-only. + */ + calendarId?: string; + /** + * The email address of a Google group containing all members of the course. + * This group does not accept email and can only be used for permissions. + * + * Read-only. + */ + courseGroupEmail?: string; + /** + * Sets of materials that appear on the "about" page of this course. + * + * Read-only. + */ + courseMaterialSets?: CourseMaterialSet[]; + /** + * State of the course. + * If unspecified, the default state is `PROVISIONED`. + */ + courseState?: string; + /** + * Creation time of the course. + * Specifying this field in a course update mask results in an error. + * + * Read-only. + */ + creationTime?: string; + /** + * Optional description. + * For example, "We'll be learning about the structure of living + * creatures from a combination of textbooks, guest lectures, and lab work. + * Expect to be excited!" + * If set, this field must be a valid UTF-8 string and no longer than 30,000 + * characters. + */ + description?: string; + /** + * Optional heading for the description. + * For example, "Welcome to 10th Grade Biology." + * If set, this field must be a valid UTF-8 string and no longer than 3600 + * characters. + */ + descriptionHeading?: string; + /** + * Enrollment code to use when joining this course. + * Specifying this field in a course update mask results in an error. + * + * Read-only. + */ + enrollmentCode?: string; + /** + * Whether or not guardian notifications are enabled for this course. + * + * Read-only. + */ + guardiansEnabled?: boolean; + /** + * Identifier for this course assigned by Classroom. + * + * When + * creating a course, + * you may optionally set this identifier to an + * alias string in the + * request to create a corresponding alias. The `id` is still assigned by + * Classroom and cannot be updated after the course is created. + * + * Specifying this field in a course update mask results in an error. + */ + id?: string; + /** + * Name of the course. + * For example, "10th Grade Biology". + * The name is required. It must be between 1 and 750 characters and a valid + * UTF-8 string. + */ + name?: string; + /** + * The identifier of the owner of a course. + * + * When specified as a parameter of a + * create course request, this + * field is required. + * The identifier can be one of the following: + * + * * the numeric identifier for the user + * * the email address of the user + * * the string literal `"me"`, indicating the requesting user + * + * This must be set in a create request. Admins can also specify this field + * in a patch course request to + * transfer ownership. In other contexts, it is read-only. + */ + ownerId?: string; + /** + * Optional room location. + * For example, "301". + * If set, this field must be a valid UTF-8 string and no longer than 650 + * characters. + */ + room?: string; + /** + * Section of the course. + * For example, "Period 2". + * If set, this field must be a valid UTF-8 string and no longer than 2800 + * characters. + */ + section?: string; + /** + * Information about a Drive Folder that is shared with all teachers of the + * course. + * + * This field will only be set for teachers of the course and domain administrators. + * + * Read-only. + */ + teacherFolder?: DriveFolder; + /** + * The email address of a Google group containing all teachers of the course. + * This group does not accept email and can only be used for permissions. + * + * Read-only. + */ + teacherGroupEmail?: string; + /** + * Time of the most recent update to this course. + * Specifying this field in a course update mask results in an error. + * + * Read-only. + */ + updateTime?: string; + } + interface CourseAlias { + /** + * Alias string. The format of the string indicates the desired alias scoping. + * + * * `d:<name>` indicates a domain-scoped alias. + * Example: `d:math_101` + * * `p:<name>` indicates a project-scoped alias. + * Example: `p:abc123` + * + * This field has a maximum length of 256 characters. + */ + alias?: string; + } + interface CourseMaterial { + /** Google Drive file attachment. */ + driveFile?: DriveFile; + /** Google Forms attachment. */ + form?: Form; + /** Link atatchment. */ + link?: Link; + /** Youtube video attachment. */ + youTubeVideo?: YouTubeVideo; + } + interface CourseMaterialSet { + /** Materials attached to this set. */ + materials?: CourseMaterial[]; + /** Title for this set. */ + title?: string; + } + interface CourseRosterChangesInfo { + /** The `course_id` of the course to subscribe to roster changes for. */ + courseId?: string; + } + interface CourseWork { + /** + * Absolute link to this course work in the Classroom web UI. + * This is only populated if `state` is `PUBLISHED`. + * + * Read-only. + */ + alternateLink?: string; + /** + * Assignee mode of the coursework. + * If unspecified, the default value is `ALL_STUDENTS`. + */ + assigneeMode?: string; + /** + * Assignment details. + * This is populated only when `work_type` is `ASSIGNMENT`. + * + * Read-only. + */ + assignment?: Assignment; + /** + * Whether this course work item is associated with the Developer Console + * project making the request. + * + * See google.classroom.Work.CreateCourseWork for more + * details. + * + * Read-only. + */ + associatedWithDeveloper?: boolean; + /** + * Identifier of the course. + * + * Read-only. + */ + courseId?: string; + /** + * Timestamp when this course work was created. + * + * Read-only. + */ + creationTime?: string; + /** + * Identifier for the user that created the coursework. + * + * Read-only. + */ + creatorUserId?: string; + /** + * Optional description of this course work. + * If set, the description must be a valid UTF-8 string containing no more + * than 30,000 characters. + */ + description?: string; + /** + * Optional date, in UTC, that submissions for this this course work are due. + * This must be specified if `due_time` is specified. + */ + dueDate?: Date; + /** + * Optional time of day, in UTC, that submissions for this this course work + * are due. + * This must be specified if `due_date` is specified. + */ + dueTime?: TimeOfDay; + /** + * Classroom-assigned identifier of this course work, unique per course. + * + * Read-only. + */ + id?: string; + /** + * Identifiers of students with access to the coursework. + * This field is set only if `assigneeMode` is `INDIVIDUAL_STUDENTS`. + * If the `assigneeMode` is `INDIVIDUAL_STUDENTS`, then only students + * specified in this field will be assigned the coursework. + */ + individualStudentsOptions?: IndividualStudentsOptions; + /** + * Additional materials. + * + * CourseWork must have no more than 20 material items. + */ + materials?: Material[]; + /** + * Maximum grade for this course work. + * If zero or unspecified, this assignment is considered ungraded. + * This must be a non-negative integer value. + */ + maxPoints?: number; + /** + * Multiple choice question details. + * For read operations, this field is populated only when `work_type` is + * `MULTIPLE_CHOICE_QUESTION`. + * For write operations, this field must be specified when creating course + * work with a `work_type` of `MULTIPLE_CHOICE_QUESTION`, and it must not be + * set otherwise. + */ + multipleChoiceQuestion?: MultipleChoiceQuestion; + /** Optional timestamp when this course work is scheduled to be published. */ + scheduledTime?: string; + /** + * Status of this course work. + * If unspecified, the default state is `DRAFT`. + */ + state?: string; + /** + * Setting to determine when students are allowed to modify submissions. + * If unspecified, the default value is `MODIFIABLE_UNTIL_TURNED_IN`. + */ + submissionModificationMode?: string; + /** + * Title of this course work. + * The title must be a valid UTF-8 string containing between 1 and 3000 + * characters. + */ + title?: string; + /** + * Timestamp of the most recent change to this course work. + * + * Read-only. + */ + updateTime?: string; + /** + * Type of this course work. + * + * The type is set when the course work is created and cannot be changed. + */ + workType?: string; + } + interface Date { + /** + * Day of month. Must be from 1 to 31 and valid for the year and month, or 0 + * if specifying a year/month where the day is not significant. + */ + day?: number; + /** Month of year. Must be from 1 to 12. */ + month?: number; + /** + * Year of date. Must be from 1 to 9999, or 0 if specifying a date without + * a year. + */ + year?: number; + } + interface DriveFile { + /** + * URL that can be used to access the Drive item. + * + * Read-only. + */ + alternateLink?: string; + /** Drive API resource ID. */ + id?: string; + /** + * URL of a thumbnail image of the Drive item. + * + * Read-only. + */ + thumbnailUrl?: string; + /** + * Title of the Drive item. + * + * Read-only. + */ + title?: string; + } + interface DriveFolder { + /** + * URL that can be used to access the Drive folder. + * + * Read-only. + */ + alternateLink?: string; + /** Drive API resource ID. */ + id?: string; + /** + * Title of the Drive folder. + * + * Read-only. + */ + title?: string; + } + interface Feed { + /** + * Information about a `Feed` with a `feed_type` of `COURSE_ROSTER_CHANGES`. + * This field must be specified if `feed_type` is `COURSE_ROSTER_CHANGES`. + */ + courseRosterChangesInfo?: CourseRosterChangesInfo; + /** The type of feed. */ + feedType?: string; + } + interface Form { + /** URL of the form. */ + formUrl?: string; + /** + * URL of the form responses document. + * Only set if respsonses have been recorded and only when the + * requesting user is an editor of the form. + * + * Read-only. + */ + responseUrl?: string; + /** + * URL of a thumbnail image of the Form. + * + * Read-only. + */ + thumbnailUrl?: string; + /** + * Title of the Form. + * + * Read-only. + */ + title?: string; + } + interface GlobalPermission { + /** Permission value. */ + permission?: string; + } + interface GradeHistory { + /** The teacher who made the grade change. */ + actorUserId?: string; + /** The type of grade change at this time in the submission grade history. */ + gradeChangeType?: string; + /** When the grade of the submission was changed. */ + gradeTimestamp?: string; + /** + * The denominator of the grade at this time in the submission grade + * history. + */ + maxPoints?: number; + /** The numerator of the grade at this time in the submission grade history. */ + pointsEarned?: number; + } + interface Guardian { + /** Identifier for the guardian. */ + guardianId?: string; + /** User profile for the guardian. */ + guardianProfile?: UserProfile; + /** + * The email address to which the initial guardian invitation was sent. + * This field is only visible to domain administrators. + */ + invitedEmailAddress?: string; + /** Identifier for the student to whom the guardian relationship applies. */ + studentId?: string; + } + interface GuardianInvitation { + /** + * The time that this invitation was created. + * + * Read-only. + */ + creationTime?: string; + /** + * Unique identifier for this invitation. + * + * Read-only. + */ + invitationId?: string; + /** + * Email address that the invitation was sent to. + * This field is only visible to domain administrators. + */ + invitedEmailAddress?: string; + /** The state that this invitation is in. */ + state?: string; + /** ID of the student (in standard format) */ + studentId?: string; + } + interface IndividualStudentsOptions { + /** + * Identifiers for the students that have access to the + * coursework/announcement. + */ + studentIds?: string[]; + } + interface Invitation { + /** Identifier of the course to invite the user to. */ + courseId?: string; + /** + * Identifier assigned by Classroom. + * + * Read-only. + */ + id?: string; + /** + * Role to invite the user to have. + * Must not be `COURSE_ROLE_UNSPECIFIED`. + */ + role?: string; + /** + * Identifier of the invited user. + * + * When specified as a parameter of a request, this identifier can be set to + * one of the following: + * + * * the numeric identifier for the user + * * the email address of the user + * * the string literal `"me"`, indicating the requesting user + */ + userId?: string; + } + interface Link { + /** + * URL of a thumbnail image of the target URL. + * + * Read-only. + */ + thumbnailUrl?: string; + /** + * Title of the target of the URL. + * + * Read-only. + */ + title?: string; + /** + * URL to link to. + * This must be a valid UTF-8 string containing between 1 and 2024 characters. + */ + url?: string; + } + interface ListAnnouncementsResponse { + /** Announcement items that match the request. */ + announcements?: Announcement[]; + /** + * Token identifying the next page of results to return. If empty, no further + * results are available. + */ + nextPageToken?: string; + } + interface ListCourseAliasesResponse { + /** The course aliases. */ + aliases?: CourseAlias[]; + /** + * Token identifying the next page of results to return. If empty, no further + * results are available. + */ + nextPageToken?: string; + } + interface ListCourseWorkResponse { + /** Course work items that match the request. */ + courseWork?: CourseWork[]; + /** + * Token identifying the next page of results to return. If empty, no further + * results are available. + */ + nextPageToken?: string; + } + interface ListCoursesResponse { + /** Courses that match the list request. */ + courses?: Course[]; + /** + * Token identifying the next page of results to return. If empty, no further + * results are available. + */ + nextPageToken?: string; + } + interface ListGuardianInvitationsResponse { + /** Guardian invitations that matched the list request. */ + guardianInvitations?: GuardianInvitation[]; + /** + * Token identifying the next page of results to return. If empty, no further + * results are available. + */ + nextPageToken?: string; + } + interface ListGuardiansResponse { + /** + * Guardians on this page of results that met the criteria specified in + * the request. + */ + guardians?: Guardian[]; + /** + * Token identifying the next page of results to return. If empty, no further + * results are available. + */ + nextPageToken?: string; + } + interface ListInvitationsResponse { + /** Invitations that match the list request. */ + invitations?: Invitation[]; + /** + * Token identifying the next page of results to return. If empty, no further + * results are available. + */ + nextPageToken?: string; + } + interface ListStudentSubmissionsResponse { + /** + * Token identifying the next page of results to return. If empty, no further + * results are available. + */ + nextPageToken?: string; + /** Student work that matches the request. */ + studentSubmissions?: StudentSubmission[]; + } + interface ListStudentsResponse { + /** + * Token identifying the next page of results to return. If empty, no further + * results are available. + */ + nextPageToken?: string; + /** Students who match the list request. */ + students?: Student[]; + } + interface ListTeachersResponse { + /** + * Token identifying the next page of results to return. If empty, no further + * results are available. + */ + nextPageToken?: string; + /** Teachers who match the list request. */ + teachers?: Teacher[]; + } + interface Material { + /** Google Drive file material. */ + driveFile?: SharedDriveFile; + /** Google Forms material. */ + form?: Form; + /** + * Link material. On creation, will be upgraded to a more appropriate type + * if possible, and this will be reflected in the response. + */ + link?: Link; + /** YouTube video material. */ + youtubeVideo?: YouTubeVideo; + } + interface ModifyAnnouncementAssigneesRequest { + /** + * Mode of the announcement describing whether it will be accessible by all + * students or specified individual students. + */ + assigneeMode?: string; + /** + * Set which students can view or cannot view the announcement. + * Must be specified only when `assigneeMode` is `INDIVIDUAL_STUDENTS`. + */ + modifyIndividualStudentsOptions?: ModifyIndividualStudentsOptions; + } + interface ModifyAttachmentsRequest { + /** + * Attachments to add. + * A student submission may not have more than 20 attachments. + * + * Form attachments are not supported. + */ + addAttachments?: Attachment[]; + } + interface ModifyCourseWorkAssigneesRequest { + /** + * Mode of the coursework describing whether it will be assigned to all + * students or specified individual students. + */ + assigneeMode?: string; + /** + * Set which students are assigned or not assigned to the coursework. + * Must be specified only when `assigneeMode` is `INDIVIDUAL_STUDENTS`. + */ + modifyIndividualStudentsOptions?: ModifyIndividualStudentsOptions; + } + interface ModifyIndividualStudentsOptions { + /** + * Ids of students to be added as having access to this + * coursework/announcement. + */ + addStudentIds?: string[]; + /** + * Ids of students to be removed from having access to this + * coursework/announcement. + */ + removeStudentIds?: string[]; + } + interface MultipleChoiceQuestion { + /** Possible choices. */ + choices?: string[]; + } + interface MultipleChoiceSubmission { + /** Student's select choice. */ + answer?: string; + } + interface Name { + /** + * The user's last name. + * + * Read-only. + */ + familyName?: string; + /** + * The user's full name formed by concatenating the first and last name + * values. + * + * Read-only. + */ + fullName?: string; + /** + * The user's first name. + * + * Read-only. + */ + givenName?: string; + } + interface Registration { + /** The Cloud Pub/Sub topic that notifications are to be sent to. */ + cloudPubsubTopic?: CloudPubsubTopic; + /** + * The time until which the `Registration` is effective. + * + * This is a read-only field assigned by the server. + */ + expiryTime?: string; + /** + * Specification for the class of notifications that Classroom should deliver + * to the `destination`. + */ + feed?: Feed; + /** + * A server-generated unique identifier for this `Registration`. + * + * Read-only. + */ + registrationId?: string; + } + interface SharedDriveFile { + /** Drive file details. */ + driveFile?: DriveFile; + /** Mechanism by which students access the Drive item. */ + shareMode?: string; + } + interface ShortAnswerSubmission { + /** Student response to a short-answer question. */ + answer?: string; + } + interface StateHistory { + /** The teacher or student who made the change */ + actorUserId?: string; + /** The workflow pipeline stage. */ + state?: string; + /** When the submission entered this state. */ + stateTimestamp?: string; + } + interface Student { + /** + * Identifier of the course. + * + * Read-only. + */ + courseId?: string; + /** + * Global user information for the student. + * + * Read-only. + */ + profile?: UserProfile; + /** + * Information about a Drive Folder for this student's work in this course. + * Only visible to the student and domain administrators. + * + * Read-only. + */ + studentWorkFolder?: DriveFolder; + /** + * Identifier of the user. + * + * When specified as a parameter of a request, this identifier can be one of + * the following: + * + * * the numeric identifier for the user + * * the email address of the user + * * the string literal `"me"`, indicating the requesting user + */ + userId?: string; + } + interface StudentSubmission { + /** + * Absolute link to the submission in the Classroom web UI. + * + * Read-only. + */ + alternateLink?: string; + /** + * Optional grade. If unset, no grade was set. + * This value must be non-negative. Decimal (i.e. non-integer) values are + * allowed, but will be rounded to two decimal places. + * + * This may be modified only by course teachers. + */ + assignedGrade?: number; + /** + * Submission content when course_work_type is ASSIGNMENT. + * + * Students can modify this content using + * google.classroom.Work.ModifyAttachments. + */ + assignmentSubmission?: AssignmentSubmission; + /** + * Whether this student submission is associated with the Developer Console + * project making the request. + * + * See google.classroom.Work.CreateCourseWork for more + * details. + * + * Read-only. + */ + associatedWithDeveloper?: boolean; + /** + * Identifier of the course. + * + * Read-only. + */ + courseId?: string; + /** + * Identifier for the course work this corresponds to. + * + * Read-only. + */ + courseWorkId?: string; + /** + * Type of course work this submission is for. + * + * Read-only. + */ + courseWorkType?: string; + /** + * Creation time of this submission. + * This may be unset if the student has not accessed this item. + * + * Read-only. + */ + creationTime?: string; + /** + * Optional pending grade. If unset, no grade was set. + * This value must be non-negative. Decimal (i.e. non-integer) values are + * allowed, but will be rounded to two decimal places. + * + * This is only visible to and modifiable by course teachers. + */ + draftGrade?: number; + /** + * Classroom-assigned Identifier for the student submission. + * This is unique among submissions for the relevant course work. + * + * Read-only. + */ + id?: string; + /** + * Whether this submission is late. + * + * Read-only. + */ + late?: boolean; + /** Submission content when course_work_type is MULTIPLE_CHOICE_QUESTION. */ + multipleChoiceSubmission?: MultipleChoiceSubmission; + /** Submission content when course_work_type is SHORT_ANSWER_QUESTION. */ + shortAnswerSubmission?: ShortAnswerSubmission; + /** + * State of this submission. + * + * Read-only. + */ + state?: string; + /** + * The history of the submission (includes state and grade histories). + * + * Read-only. + */ + submissionHistory?: SubmissionHistory[]; + /** + * Last update time of this submission. + * This may be unset if the student has not accessed this item. + * + * Read-only. + */ + updateTime?: string; + /** + * Identifier for the student that owns this submission. + * + * Read-only. + */ + userId?: string; + } + interface SubmissionHistory { + /** The grade history information of the submission, if present. */ + gradeHistory?: GradeHistory; + /** The state history information of the submission, if present. */ + stateHistory?: StateHistory; + } + interface Teacher { + /** + * Identifier of the course. + * + * Read-only. + */ + courseId?: string; + /** + * Global user information for the teacher. + * + * Read-only. + */ + profile?: UserProfile; + /** + * Identifier of the user. + * + * When specified as a parameter of a request, this identifier can be one of + * the following: + * + * * the numeric identifier for the user + * * the email address of the user + * * the string literal `"me"`, indicating the requesting user + */ + userId?: string; + } + interface TimeOfDay { + /** + * Hours of day in 24 hour format. Should be from 0 to 23. An API may choose + * to allow the value "24:00:00" for scenarios like business closing time. + */ + hours?: number; + /** Minutes of hour of day. Must be from 0 to 59. */ + minutes?: number; + /** Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. */ + nanos?: number; + /** + * Seconds of minutes of the time. Must normally be from 0 to 59. An API may + * allow the value 60 if it allows leap-seconds. + */ + seconds?: number; + } + interface UserProfile { + /** + * Email address of the user. + * + * Read-only. + */ + emailAddress?: string; + /** + * Identifier of the user. + * + * Read-only. + */ + id?: string; + /** + * Name of the user. + * + * Read-only. + */ + name?: Name; + /** + * Global permissions of the user. + * + * Read-only. + */ + permissions?: GlobalPermission[]; + /** + * URL of user's profile photo. + * + * Read-only. + */ + photoUrl?: string; + /** + * Represents whether a G Suite for Education user's domain administrator has + * explicitly verified them as being a teacher. If the user is not a member of + * a G Suite for Education domain, than this field will always be false. + * + * Read-only + */ + verifiedTeacher?: boolean; + } + interface YouTubeVideo { + /** + * URL that can be used to view the YouTube video. + * + * Read-only. + */ + alternateLink?: string; + /** YouTube API resource ID. */ + id?: string; + /** + * URL of a thumbnail image of the YouTube video. + * + * Read-only. + */ + thumbnailUrl?: string; + /** + * Title of the YouTube video. + * + * Read-only. + */ + title?: string; + } + interface AliasesResource { + /** + * Creates an alias for a course. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to create the + * alias or for access errors. + * * `NOT_FOUND` if the course does not exist. + * * `ALREADY_EXISTS` if the alias already exists. + * * `FAILED_PRECONDITION` if the alias requested does not make sense for the + * requesting user or course (for example, if a user not in a domain + * attempts to access a domain-scoped alias). + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course to alias. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CourseAlias>; + /** + * Deletes an alias of a course. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to remove the + * alias or for access errors. + * * `NOT_FOUND` if the alias does not exist. + * * `FAILED_PRECONDITION` if the alias requested does not make sense for the + * requesting user or course (for example, if a user not in a domain + * attempts to delete a domain-scoped alias). + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** + * Alias to delete. + * This may not be the Classroom-assigned identifier. + */ + alias: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course whose alias should be deleted. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Returns a list of aliases for a course. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to access the + * course or for access errors. + * * `NOT_FOUND` if the course does not exist. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Maximum number of items to return. Zero or unspecified indicates that the + * server may assign a maximum. + * + * The server may return fewer than the specified number of results. + */ + pageSize?: number; + /** + * nextPageToken + * value returned from a previous + * list call, + * indicating that the subsequent page of results should be returned. + * + * The list request + * must be otherwise identical to the one that resulted in this token. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListCourseAliasesResponse>; + } + interface AnnouncementsResource { + /** + * Creates an announcement. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to access the + * requested course, create announcements in the requested course, share a + * Drive attachment, or for access errors. + * * `INVALID_ARGUMENT` if the request is malformed. + * * `NOT_FOUND` if the requested course does not exist. + * * `FAILED_PRECONDITION` for the following request error: + * * AttachmentNotVisible + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Announcement>; + /** + * Deletes an announcement. + * + * This request must be made by the Developer Console project of the + * [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to + * create the corresponding announcement item. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting developer project did not create + * the corresponding announcement, if the requesting user is not permitted + * to delete the requested course or for access errors. + * * `FAILED_PRECONDITION` if the requested announcement has already been + * deleted. + * * `NOT_FOUND` if no course exists with the requested ID. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Identifier of the announcement to delete. + * This identifier is a Classroom-assigned identifier. + */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Returns an announcement. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to access the + * requested course or announcement, or for access errors. + * * `INVALID_ARGUMENT` if the request is malformed. + * * `NOT_FOUND` if the requested course or announcement does not exist. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Identifier of the announcement. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Announcement>; + /** + * Returns a list of announcements that the requester is permitted to view. + * + * Course students may only view `PUBLISHED` announcements. Course teachers + * and domain administrators may view all announcements. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to access + * the requested course or for access errors. + * * `INVALID_ARGUMENT` if the request is malformed. + * * `NOT_FOUND` if the requested course does not exist. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** + * Restriction on the `state` of announcements returned. + * If this argument is left unspecified, the default value is `PUBLISHED`. + */ + announcementStates?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional sort ordering for results. A comma-separated list of fields with + * an optional sort direction keyword. Supported field is `updateTime`. + * Supported direction keywords are `asc` and `desc`. + * If not specified, `updateTime desc` is the default behavior. + * Examples: `updateTime asc`, `updateTime` + */ + orderBy?: string; + /** + * Maximum number of items to return. Zero or unspecified indicates that the + * server may assign a maximum. + * + * The server may return fewer than the specified number of results. + */ + pageSize?: number; + /** + * nextPageToken + * value returned from a previous + * list call, + * indicating that the subsequent page of results should be returned. + * + * The list request + * must be otherwise identical to the one that resulted in this token. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListAnnouncementsResponse>; + /** + * Modifies assignee mode and options of an announcement. + * + * Only a teacher of the course that contains the announcement may + * call this method. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to access the + * requested course or course work or for access errors. + * * `INVALID_ARGUMENT` if the request is malformed. + * * `NOT_FOUND` if the requested course or course work does not exist. + */ + modifyAssignees(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Identifier of the announcement. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Announcement>; + /** + * Updates one or more fields of an announcement. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting developer project did not create + * the corresponding announcement or for access errors. + * * `INVALID_ARGUMENT` if the request is malformed. + * * `FAILED_PRECONDITION` if the requested announcement has already been + * deleted. + * * `NOT_FOUND` if the requested course or announcement does not exist + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Identifier of the announcement. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Mask that identifies which fields on the announcement to update. + * This field is required to do an update. The update fails if invalid + * fields are specified. If a field supports empty values, it can be cleared + * by specifying it in the update mask and not in the Announcement object. If + * a field that does not support empty values is included in the update mask + * and not set in the Announcement object, an `INVALID_ARGUMENT` error will be + * returned. + * + * The following fields may be specified by teachers: + * + * * `text` + * * `state` + * * `scheduled_time` + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Announcement>; + } + interface StudentSubmissionsResource { + /** + * Returns a student submission. + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to access the + * requested course, course work, or student submission or for + * access errors. + * * `INVALID_ARGUMENT` if the request is malformed. + * * `NOT_FOUND` if the requested course, course work, or student submission + * does not exist. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Identifier of the course work. */ + courseWorkId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Identifier of the student submission. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<StudentSubmission>; + /** + * Returns a list of student submissions that the requester is permitted to + * view, factoring in the OAuth scopes of the request. + * `-` may be specified as the `course_work_id` to include student + * submissions for multiple course work items. + * + * Course students may only view their own work. Course teachers + * and domain administrators may view all student submissions. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to access the + * requested course or course work, or for access errors. + * * `INVALID_ARGUMENT` if the request is malformed. + * * `NOT_FOUND` if the requested course does not exist. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** + * Identifier of the student work to request. + * This may be set to the string literal `"-"` to request student work for + * all course work in the specified course. + */ + courseWorkId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Requested lateness value. If specified, returned student submissions are + * restricted by the requested value. + * If unspecified, submissions are returned regardless of `late` value. + */ + late?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Maximum number of items to return. Zero or unspecified indicates that the + * server may assign a maximum. + * + * The server may return fewer than the specified number of results. + */ + pageSize?: number; + /** + * nextPageToken + * value returned from a previous + * list call, + * indicating that the subsequent page of results should be returned. + * + * The list request + * must be otherwise identical to the one that resulted in this token. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Requested submission states. If specified, returned student submissions + * match one of the specified submission states. + */ + states?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * Optional argument to restrict returned student work to those owned by the + * student with the specified identifier. The identifier can be one of the + * following: + * + * * the numeric identifier for the user + * * the email address of the user + * * the string literal `"me"`, indicating the requesting user + */ + userId?: string; + }): Request<ListStudentSubmissionsResponse>; + /** + * Modifies attachments of student submission. + * + * Attachments may only be added to student submissions belonging to course + * work objects with a `workType` of `ASSIGNMENT`. + * + * This request must be made by the Developer Console project of the + * [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to + * create the corresponding course work item. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to access the + * requested course or course work, if the user is not permitted to modify + * attachments on the requested student submission, or for + * access errors. + * * `INVALID_ARGUMENT` if the request is malformed. + * * `NOT_FOUND` if the requested course, course work, or student submission + * does not exist. + */ + modifyAttachments(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Identifier of the course work. */ + courseWorkId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Identifier of the student submission. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<StudentSubmission>; + /** + * Updates one or more fields of a student submission. + * + * See google.classroom.v1.StudentSubmission for details + * of which fields may be updated and who may change them. + * + * This request must be made by the Developer Console project of the + * [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to + * create the corresponding course work item. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting developer project did not create + * the corresponding course work, if the user is not permitted to make the + * requested modification to the student submission, or for + * access errors. + * * `INVALID_ARGUMENT` if the request is malformed. + * * `NOT_FOUND` if the requested course, course work, or student submission + * does not exist. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Identifier of the course work. */ + courseWorkId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Identifier of the student submission. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Mask that identifies which fields on the student submission to update. + * This field is required to do an update. The update fails if invalid + * fields are specified. + * + * The following fields may be specified by teachers: + * + * * `draft_grade` + * * `assigned_grade` + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<StudentSubmission>; + /** + * Reclaims a student submission on behalf of the student that owns it. + * + * Reclaiming a student submission transfers ownership of attached Drive + * files to the student and update the submission state. + * + * Only the student that owns the requested student submission may call this + * method, and only for a student submission that has been turned in. + * + * This request must be made by the Developer Console project of the + * [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to + * create the corresponding course work item. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to access the + * requested course or course work, unsubmit the requested student submission, + * or for access errors. + * * `FAILED_PRECONDITION` if the student submission has not been turned in. + * * `INVALID_ARGUMENT` if the request is malformed. + * * `NOT_FOUND` if the requested course, course work, or student submission + * does not exist. + */ + reclaim(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Identifier of the course work. */ + courseWorkId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Identifier of the student submission. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Returns a student submission. + * + * Returning a student submission transfers ownership of attached Drive + * files to the student and may also update the submission state. + * Unlike the Classroom application, returning a student submission does not + * set assignedGrade to the draftGrade value. + * + * Only a teacher of the course that contains the requested student submission + * may call this method. + * + * This request must be made by the Developer Console project of the + * [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to + * create the corresponding course work item. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to access the + * requested course or course work, return the requested student submission, + * or for access errors. + * * `INVALID_ARGUMENT` if the request is malformed. + * * `NOT_FOUND` if the requested course, course work, or student submission + * does not exist. + */ + return(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Identifier of the course work. */ + courseWorkId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Identifier of the student submission. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Turns in a student submission. + * + * Turning in a student submission transfers ownership of attached Drive + * files to the teacher and may also update the submission state. + * + * This may only be called by the student that owns the specified student + * submission. + * + * This request must be made by the Developer Console project of the + * [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to + * create the corresponding course work item. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to access the + * requested course or course work, turn in the requested student submission, + * or for access errors. + * * `INVALID_ARGUMENT` if the request is malformed. + * * `NOT_FOUND` if the requested course, course work, or student submission + * does not exist. + */ + turnIn(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Identifier of the course work. */ + courseWorkId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Identifier of the student submission. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + } + interface CourseWorkResource { + /** + * Creates course work. + * + * The resulting course work (and corresponding student submissions) are + * associated with the Developer Console project of the + * [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to + * make the request. Classroom API requests to modify course work and student + * submissions must be made with an OAuth client ID from the associated + * Developer Console project. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to access the + * requested course, create course work in the requested course, share a + * Drive attachment, or for access errors. + * * `INVALID_ARGUMENT` if the request is malformed. + * * `NOT_FOUND` if the requested course does not exist. + * * `FAILED_PRECONDITION` for the following request error: + * * AttachmentNotVisible + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CourseWork>; + /** + * Deletes a course work. + * + * This request must be made by the Developer Console project of the + * [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to + * create the corresponding course work item. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting developer project did not create + * the corresponding course work, if the requesting user is not permitted + * to delete the requested course or for access errors. + * * `FAILED_PRECONDITION` if the requested course work has already been + * deleted. + * * `NOT_FOUND` if no course exists with the requested ID. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Identifier of the course work to delete. + * This identifier is a Classroom-assigned identifier. + */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Returns course work. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to access the + * requested course or course work, or for access errors. + * * `INVALID_ARGUMENT` if the request is malformed. + * * `NOT_FOUND` if the requested course or course work does not exist. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Identifier of the course work. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CourseWork>; + /** + * Returns a list of course work that the requester is permitted to view. + * + * Course students may only view `PUBLISHED` course work. Course teachers + * and domain administrators may view all course work. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to access + * the requested course or for access errors. + * * `INVALID_ARGUMENT` if the request is malformed. + * * `NOT_FOUND` if the requested course does not exist. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** + * Restriction on the work status to return. Only courseWork that matches + * is returned. If unspecified, items with a work status of `PUBLISHED` + * is returned. + */ + courseWorkStates?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional sort ordering for results. A comma-separated list of fields with + * an optional sort direction keyword. Supported fields are `updateTime` + * and `dueDate`. Supported direction keywords are `asc` and `desc`. + * If not specified, `updateTime desc` is the default behavior. + * Examples: `dueDate asc,updateTime desc`, `updateTime,dueDate desc` + */ + orderBy?: string; + /** + * Maximum number of items to return. Zero or unspecified indicates that the + * server may assign a maximum. + * + * The server may return fewer than the specified number of results. + */ + pageSize?: number; + /** + * nextPageToken + * value returned from a previous + * list call, + * indicating that the subsequent page of results should be returned. + * + * The list request + * must be otherwise identical to the one that resulted in this token. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListCourseWorkResponse>; + /** + * Modifies assignee mode and options of a coursework. + * + * Only a teacher of the course that contains the coursework may + * call this method. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to access the + * requested course or course work or for access errors. + * * `INVALID_ARGUMENT` if the request is malformed. + * * `NOT_FOUND` if the requested course or course work does not exist. + */ + modifyAssignees(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Identifier of the coursework. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CourseWork>; + /** + * Updates one or more fields of a course work. + * + * See google.classroom.v1.CourseWork for details + * of which fields may be updated and who may change them. + * + * This request must be made by the Developer Console project of the + * [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to + * create the corresponding course work item. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting developer project did not create + * the corresponding course work, if the user is not permitted to make the + * requested modification to the student submission, or for + * access errors. + * * `INVALID_ARGUMENT` if the request is malformed. + * * `FAILED_PRECONDITION` if the requested course work has already been + * deleted. + * * `NOT_FOUND` if the requested course, course work, or student submission + * does not exist. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Identifier of the course work. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Mask that identifies which fields on the course work to update. + * This field is required to do an update. The update fails if invalid + * fields are specified. If a field supports empty values, it can be cleared + * by specifying it in the update mask and not in the CourseWork object. If a + * field that does not support empty values is included in the update mask and + * not set in the CourseWork object, an `INVALID_ARGUMENT` error will be + * returned. + * + * The following fields may be specified by teachers: + * + * * `title` + * * `description` + * * `state` + * * `due_date` + * * `due_time` + * * `max_points` + * * `scheduled_time` + * * `submission_modification_mode` + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CourseWork>; + studentSubmissions: StudentSubmissionsResource; + } + interface StudentsResource { + /** + * Adds a user as a student of a course. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to create + * students in this course or for access errors. + * * `NOT_FOUND` if the requested course ID does not exist. + * * `FAILED_PRECONDITION` if the requested user's account is disabled, + * for the following request errors: + * * CourseMemberLimitReached + * * CourseNotModifiable + * * UserGroupsMembershipLimitReached + * * `ALREADY_EXISTS` if the user is already a student or teacher in the + * course. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course to create the student in. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** + * Enrollment code of the course to create the student in. + * This code is required if userId + * corresponds to the requesting user; it may be omitted if the requesting + * user has administrative permissions to create students for any user. + */ + enrollmentCode?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Student>; + /** + * Deletes a student of a course. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to delete + * students of this course or for access errors. + * * `NOT_FOUND` if no student of this course has the requested ID or if the + * course does not exist. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * Identifier of the student to delete. The identifier can be one of the + * following: + * + * * the numeric identifier for the user + * * the email address of the user + * * the string literal `"me"`, indicating the requesting user + */ + userId: string; + }): Request<{}>; + /** + * Returns a student of a course. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to view + * students of this course or for access errors. + * * `NOT_FOUND` if no student of this course has the requested ID or if the + * course does not exist. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * Identifier of the student to return. The identifier can be one of the + * following: + * + * * the numeric identifier for the user + * * the email address of the user + * * the string literal `"me"`, indicating the requesting user + */ + userId: string; + }): Request<Student>; + /** + * Returns a list of students of this course that the requester + * is permitted to view. + * + * This method returns the following error codes: + * + * * `NOT_FOUND` if the course does not exist. + * * `PERMISSION_DENIED` for access errors. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Maximum number of items to return. Zero means no maximum. + * + * The server may return fewer than the specified number of results. + */ + pageSize?: number; + /** + * nextPageToken + * value returned from a previous + * list call, indicating that + * the subsequent page of results should be returned. + * + * The list request must be + * otherwise identical to the one that resulted in this token. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListStudentsResponse>; + } + interface TeachersResource { + /** + * Creates a teacher of a course. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to create + * teachers in this course or for access errors. + * * `NOT_FOUND` if the requested course ID does not exist. + * * `FAILED_PRECONDITION` if the requested user's account is disabled, + * for the following request errors: + * * CourseMemberLimitReached + * * CourseNotModifiable + * * CourseTeacherLimitReached + * * UserGroupsMembershipLimitReached + * * `ALREADY_EXISTS` if the user is already a teacher or student in the + * course. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Teacher>; + /** + * Deletes a teacher of a course. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to delete + * teachers of this course or for access errors. + * * `NOT_FOUND` if no teacher of this course has the requested ID or if the + * course does not exist. + * * `FAILED_PRECONDITION` if the requested ID belongs to the primary teacher + * of this course. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * Identifier of the teacher to delete. The identifier can be one of the + * following: + * + * * the numeric identifier for the user + * * the email address of the user + * * the string literal `"me"`, indicating the requesting user + */ + userId: string; + }): Request<{}>; + /** + * Returns a teacher of a course. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to view + * teachers of this course or for access errors. + * * `NOT_FOUND` if no teacher of this course has the requested ID or if the + * course does not exist. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * Identifier of the teacher to return. The identifier can be one of the + * following: + * + * * the numeric identifier for the user + * * the email address of the user + * * the string literal `"me"`, indicating the requesting user + */ + userId: string; + }): Request<Teacher>; + /** + * Returns a list of teachers of this course that the requester + * is permitted to view. + * + * This method returns the following error codes: + * + * * `NOT_FOUND` if the course does not exist. + * * `PERMISSION_DENIED` for access errors. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Identifier of the course. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + courseId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Maximum number of items to return. Zero means no maximum. + * + * The server may return fewer than the specified number of results. + */ + pageSize?: number; + /** + * nextPageToken + * value returned from a previous + * list call, indicating that + * the subsequent page of results should be returned. + * + * The list request must be + * otherwise identical to the one that resulted in this token. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListTeachersResponse>; + } + interface CoursesResource { + /** + * Creates a course. + * + * The user specified in `ownerId` is the owner of the created course + * and added as a teacher. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to create + * courses or for access errors. + * * `NOT_FOUND` if the primary teacher is not a valid user. + * * `FAILED_PRECONDITION` if the course owner's account is disabled or for + * the following request errors: + * * UserGroupsMembershipLimitReached + * * `ALREADY_EXISTS` if an alias was specified in the `id` and + * already exists. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Course>; + /** + * Deletes a course. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to delete the + * requested course or for access errors. + * * `NOT_FOUND` if no course exists with the requested ID. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Identifier of the course to delete. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Returns a course. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to access the + * requested course or for access errors. + * * `NOT_FOUND` if no course exists with the requested ID. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Identifier of the course to return. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Course>; + /** + * Returns a list of courses that the requesting user is permitted to view, + * restricted to those that match the request. Returned courses are ordered by + * creation time, with the most recently created coming first. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` for access errors. + * * `INVALID_ARGUMENT` if the query argument is malformed. + * * `NOT_FOUND` if any users specified in the query arguments do not exist. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Restricts returned courses to those in one of the specified states + * The default value is ACTIVE, ARCHIVED, PROVISIONED, DECLINED. + */ + courseStates?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Maximum number of items to return. Zero or unspecified indicates that the + * server may assign a maximum. + * + * The server may return fewer than the specified number of results. + */ + pageSize?: number; + /** + * nextPageToken + * value returned from a previous + * list call, + * indicating that the subsequent page of results should be returned. + * + * The list request must be + * otherwise identical to the one that resulted in this token. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Restricts returned courses to those having a student with the specified + * identifier. The identifier can be one of the following: + * + * * the numeric identifier for the user + * * the email address of the user + * * the string literal `"me"`, indicating the requesting user + */ + studentId?: string; + /** + * Restricts returned courses to those having a teacher with the specified + * identifier. The identifier can be one of the following: + * + * * the numeric identifier for the user + * * the email address of the user + * * the string literal `"me"`, indicating the requesting user + */ + teacherId?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListCoursesResponse>; + /** + * Updates one or more fields in a course. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to modify the + * requested course or for access errors. + * * `NOT_FOUND` if no course exists with the requested ID. + * * `INVALID_ARGUMENT` if invalid fields are specified in the update mask or + * if no update mask is supplied. + * * `FAILED_PRECONDITION` for the following request errors: + * * CourseNotModifiable + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Identifier of the course to update. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Mask that identifies which fields on the course to update. + * This field is required to do an update. The update will fail if invalid + * fields are specified. The following fields are valid: + * + * * `name` + * * `section` + * * `descriptionHeading` + * * `description` + * * `room` + * * `courseState` + * * `ownerId` + * + * Note: patches to ownerId are treated as being effective immediately, but in + * practice it may take some time for the ownership transfer of all affected + * resources to complete. + * + * When set in a query parameter, this field should be specified as + * + * `updateMask=<field1>,<field2>,...` + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Course>; + /** + * Updates a course. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to modify the + * requested course or for access errors. + * * `NOT_FOUND` if no course exists with the requested ID. + * * `FAILED_PRECONDITION` for the following request errors: + * * CourseNotModifiable + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Identifier of the course to update. + * This identifier can be either the Classroom-assigned identifier or an + * alias. + */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Course>; + aliases: AliasesResource; + announcements: AnnouncementsResource; + courseWork: CourseWorkResource; + students: StudentsResource; + teachers: TeachersResource; + } + interface InvitationsResource { + /** + * Accepts an invitation, removing it and adding the invited user to the + * teachers or students (as appropriate) of the specified course. Only the + * invited user may accept an invitation. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to accept the + * requested invitation or for access errors. + * * `FAILED_PRECONDITION` for the following request errors: + * * CourseMemberLimitReached + * * CourseNotModifiable + * * CourseTeacherLimitReached + * * UserGroupsMembershipLimitReached + * * `NOT_FOUND` if no invitation exists with the requested ID. + */ + accept(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Identifier of the invitation to accept. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Creates an invitation. Only one invitation for a user and course may exist + * at a time. Delete and re-create an invitation to make changes. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to create + * invitations for this course or for access errors. + * * `NOT_FOUND` if the course or the user does not exist. + * * `FAILED_PRECONDITION` if the requested user's account is disabled or if + * the user already has this role or a role with greater permissions. + * * `ALREADY_EXISTS` if an invitation for the specified user and course + * already exists. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Invitation>; + /** + * Deletes an invitation. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to delete the + * requested invitation or for access errors. + * * `NOT_FOUND` if no invitation exists with the requested ID. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Identifier of the invitation to delete. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Returns an invitation. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to view the + * requested invitation or for access errors. + * * `NOT_FOUND` if no invitation exists with the requested ID. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Identifier of the invitation to return. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Invitation>; + /** + * Returns a list of invitations that the requesting user is permitted to + * view, restricted to those that match the list request. + * + * *Note:* At least one of `user_id` or `course_id` must be supplied. Both + * fields can be supplied. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` for access errors. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Restricts returned invitations to those for a course with the specified + * identifier. + */ + courseId?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Maximum number of items to return. Zero means no maximum. + * + * The server may return fewer than the specified number of results. + */ + pageSize?: number; + /** + * nextPageToken + * value returned from a previous + * list call, indicating + * that the subsequent page of results should be returned. + * + * The list request must be + * otherwise identical to the one that resulted in this token. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * Restricts returned invitations to those for a specific user. The identifier + * can be one of the following: + * + * * the numeric identifier for the user + * * the email address of the user + * * the string literal `"me"`, indicating the requesting user + */ + userId?: string; + }): Request<ListInvitationsResponse>; + } + interface RegistrationsResource { + /** + * Creates a `Registration`, causing Classroom to start sending notifications + * from the provided `feed` to the provided `destination`. + * + * Returns the created `Registration`. Currently, this will be the same as + * the argument, but with server-assigned fields such as `expiry_time` and + * `id` filled in. + * + * Note that any value specified for the `expiry_time` or `id` fields will be + * ignored. + * + * While Classroom may validate the `destination` and return errors on a best + * effort basis, it is the caller's responsibility to ensure that it exists + * and that Classroom has permission to publish to it. + * + * This method may return the following error codes: + * + * * `PERMISSION_DENIED` if: + * * the authenticated user does not have permission to receive + * notifications from the requested field; or + * * the credential provided does not include the appropriate scope for the + * requested feed. + * * another access error is encountered. + * * `INVALID_ARGUMENT` if: + * * no `destination` is specified, or the specified `destination` is not + * valid; or + * * no `feed` is specified, or the specified `feed` is not valid. + * * `NOT_FOUND` if: + * * the specified `feed` cannot be located, or the requesting user does not + * have permission to determine whether or not it exists; or + * * the specified `destination` cannot be located, or Classroom has not + * been granted permission to publish to it. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Registration>; + /** + * Deletes a `Registration`, causing Classroom to stop sending notifications + * for that `Registration`. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The `registration_id` of the `Registration` to be deleted. */ + registrationId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + } + interface GuardianInvitationsResource { + /** + * Creates a guardian invitation, and sends an email to the guardian asking + * them to confirm that they are the student's guardian. + * + * Once the guardian accepts the invitation, their `state` will change to + * `COMPLETED` and they will start receiving guardian notifications. A + * `Guardian` resource will also be created to represent the active guardian. + * + * The request object must have the `student_id` and + * `invited_email_address` fields set. Failing to set these fields, or + * setting any other fields in the request, will result in an error. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the current user does not have permission to + * manage guardians, if the guardian in question has already rejected + * too many requests for that student, if guardians are not enabled for the + * domain in question, or for other access errors. + * * `RESOURCE_EXHAUSTED` if the student or guardian has exceeded the guardian + * link limit. + * * `INVALID_ARGUMENT` if the guardian email address is not valid (for + * example, if it is too long), or if the format of the student ID provided + * cannot be recognized (it is not an email address, nor a `user_id` from + * this API). This error will also be returned if read-only fields are set, + * or if the `state` field is set to to a value other than `PENDING`. + * * `NOT_FOUND` if the student ID provided is a valid student ID, but + * Classroom has no record of that student. + * * `ALREADY_EXISTS` if there is already a pending guardian invitation for + * the student and `invited_email_address` provided, or if the provided + * `invited_email_address` matches the Google account of an existing + * `Guardian` for this user. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** ID of the student (in standard format) */ + studentId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GuardianInvitation>; + /** + * Returns a specific guardian invitation. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to view + * guardian invitations for the student identified by the `student_id`, if + * guardians are not enabled for the domain in question, or for other + * access errors. + * * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot + * be recognized (it is not an email address, nor a `student_id` from the + * API, nor the literal string `me`). + * * `NOT_FOUND` if Classroom cannot find any record of the given student or + * `invitation_id`. May also be returned if the student exists, but the + * requesting user does not have access to see that student. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The `id` field of the `GuardianInvitation` being requested. */ + invitationId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The ID of the student whose guardian invitation is being requested. */ + studentId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GuardianInvitation>; + /** + * Returns a list of guardian invitations that the requesting user is + * permitted to view, filtered by the parameters provided. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting + * user is not permitted to view guardian invitations for that student, if + * `"-"` is specified as the `student_id` and the user is not a domain + * administrator, if guardians are not enabled for the domain in question, + * or for other access errors. + * * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot + * be recognized (it is not an email address, nor a `student_id` from the + * API, nor the literal string `me`). May also be returned if an invalid + * `page_token` or `state` is provided. + * * `NOT_FOUND` if a `student_id` is specified, and its format can be + * recognized, but Classroom has no record of that student. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * If specified, only results with the specified `invited_email_address` + * will be returned. + */ + invitedEmailAddress?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Maximum number of items to return. Zero or unspecified indicates that the + * server may assign a maximum. + * + * The server may return fewer than the specified number of results. + */ + pageSize?: number; + /** + * nextPageToken + * value returned from a previous + * list call, + * indicating that the subsequent page of results should be returned. + * + * The list request + * must be otherwise identical to the one that resulted in this token. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * If specified, only results with the specified `state` values will be + * returned. Otherwise, results with a `state` of `PENDING` will be returned. + */ + states?: string; + /** + * The ID of the student whose guardian invitations are to be returned. + * The identifier can be one of the following: + * + * * the numeric identifier for the user + * * the email address of the user + * * the string literal `"me"`, indicating the requesting user + * * the string literal `"-"`, indicating that results should be returned for + * all students that the requesting user is permitted to view guardian + * invitations. + */ + studentId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListGuardianInvitationsResponse>; + /** + * Modifies a guardian invitation. + * + * Currently, the only valid modification is to change the `state` from + * `PENDING` to `COMPLETE`. This has the effect of withdrawing the invitation. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the current user does not have permission to + * manage guardians, if guardians are not enabled for the domain in question + * or for other access errors. + * * `FAILED_PRECONDITION` if the guardian link is not in the `PENDING` state. + * * `INVALID_ARGUMENT` if the format of the student ID provided + * cannot be recognized (it is not an email address, nor a `user_id` from + * this API), or if the passed `GuardianInvitation` has a `state` other than + * `COMPLETE`, or if it modifies fields other than `state`. + * * `NOT_FOUND` if the student ID provided is a valid student ID, but + * Classroom has no record of that student, or if the `id` field does not + * refer to a guardian invitation known to Classroom. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The `id` field of the `GuardianInvitation` to be modified. */ + invitationId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The ID of the student whose guardian invitation is to be modified. */ + studentId: string; + /** + * Mask that identifies which fields on the course to update. + * This field is required to do an update. The update will fail if invalid + * fields are specified. The following fields are valid: + * + * * `state` + * + * When set in a query parameter, this field should be specified as + * + * `updateMask=<field1>,<field2>,...` + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GuardianInvitation>; + } + interface GuardiansResource { + /** + * Deletes a guardian. + * + * The guardian will no longer receive guardian notifications and the guardian + * will no longer be accessible via the API. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if no user that matches the provided `student_id` + * is visible to the requesting user, if the requesting user is not + * permitted to manage guardians for the student identified by the + * `student_id`, if guardians are not enabled for the domain in question, + * or for other access errors. + * * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot + * be recognized (it is not an email address, nor a `student_id` from the + * API). + * * `NOT_FOUND` if the requesting user is permitted to modify guardians for + * the requested `student_id`, but no `Guardian` record exists for that + * student with the provided `guardian_id`. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The `id` field from a `Guardian`. */ + guardianId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The student whose guardian is to be deleted. One of the following: + * + * * the numeric identifier for the user + * * the email address of the user + * * the string literal `"me"`, indicating the requesting user + */ + studentId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Returns a specific guardian. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if no user that matches the provided `student_id` + * is visible to the requesting user, if the requesting user is not + * permitted to view guardian information for the student identified by the + * `student_id`, if guardians are not enabled for the domain in question, + * or for other access errors. + * * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot + * be recognized (it is not an email address, nor a `student_id` from the + * API, nor the literal string `me`). + * * `NOT_FOUND` if the requesting user is permitted to view guardians for + * the requested `student_id`, but no `Guardian` record exists for that + * student that matches the provided `guardian_id`. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The `id` field from a `Guardian`. */ + guardianId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The student whose guardian is being requested. One of the following: + * + * * the numeric identifier for the user + * * the email address of the user + * * the string literal `"me"`, indicating the requesting user + */ + studentId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Guardian>; + /** + * Returns a list of guardians that the requesting user is permitted to + * view, restricted to those that match the request. + * + * To list guardians for any student that the requesting user may view + * guardians for, use the literal character `-` for the student ID. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting + * user is not permitted to view guardian information for that student, if + * `"-"` is specified as the `student_id` and the user is not a domain + * administrator, if guardians are not enabled for the domain in question, + * if the `invited_email_address` filter is set by a user who is not a + * domain administrator, or for other access errors. + * * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot + * be recognized (it is not an email address, nor a `student_id` from the + * API, nor the literal string `me`). May also be returned if an invalid + * `page_token` is provided. + * * `NOT_FOUND` if a `student_id` is specified, and its format can be + * recognized, but Classroom has no record of that student. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Filter results by the email address that the original invitation was sent + * to, resulting in this guardian link. + * This filter can only be used by domain administrators. + */ + invitedEmailAddress?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Maximum number of items to return. Zero or unspecified indicates that the + * server may assign a maximum. + * + * The server may return fewer than the specified number of results. + */ + pageSize?: number; + /** + * nextPageToken + * value returned from a previous + * list call, + * indicating that the subsequent page of results should be returned. + * + * The list request + * must be otherwise identical to the one that resulted in this token. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Filter results by the student who the guardian is linked to. + * The identifier can be one of the following: + * + * * the numeric identifier for the user + * * the email address of the user + * * the string literal `"me"`, indicating the requesting user + * * the string literal `"-"`, indicating that results should be returned for + * all students that the requesting user has access to view. + */ + studentId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListGuardiansResponse>; + } + interface UserProfilesResource { + /** + * Returns a user profile. + * + * This method returns the following error codes: + * + * * `PERMISSION_DENIED` if the requesting user is not permitted to access + * this user profile, if no profile exists with the requested ID, or for + * access errors. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * Identifier of the profile to return. The identifier can be one of the + * following: + * + * * the numeric identifier for the user + * * the email address of the user + * * the string literal `"me"`, indicating the requesting user + */ + userId: string; + }): Request<UserProfile>; + guardianInvitations: GuardianInvitationsResource; + guardians: GuardiansResource; + } + } +} diff --git a/types/gapi.client.classroom/readme.md b/types/gapi.client.classroom/readme.md new file mode 100644 index 0000000000..329be31c73 --- /dev/null +++ b/types/gapi.client.classroom/readme.md @@ -0,0 +1,305 @@ +# TypeScript typings for Google Classroom API v1 +Manages classes, rosters, and invitations in Google Classroom. +For detailed description please check [documentation](https://developers.google.com/classroom/). + +## Installing + +Install typings for Google Classroom API: +``` +npm install @types/gapi.client.classroom@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('classroom', 'v1', () => { + // now we can use gapi.client.classroom + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage announcements in Google Classroom + 'https://www.googleapis.com/auth/classroom.announcements', + + // View announcements in Google Classroom + 'https://www.googleapis.com/auth/classroom.announcements.readonly', + + // Manage your Google Classroom classes + 'https://www.googleapis.com/auth/classroom.courses', + + // View your Google Classroom classes + 'https://www.googleapis.com/auth/classroom.courses.readonly', + + // Manage your course work and view your grades in Google Classroom + 'https://www.googleapis.com/auth/classroom.coursework.me', + + // View your course work and grades in Google Classroom + 'https://www.googleapis.com/auth/classroom.coursework.me.readonly', + + // Manage course work and grades for students in the Google Classroom classes you teach and view the course work and grades for classes you administer + 'https://www.googleapis.com/auth/classroom.coursework.students', + + // View course work and grades for students in the Google Classroom classes you teach or administer + 'https://www.googleapis.com/auth/classroom.coursework.students.readonly', + + // View your Google Classroom guardians + 'https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly', + + // View and manage guardians for students in your Google Classroom classes + 'https://www.googleapis.com/auth/classroom.guardianlinks.students', + + // View guardians for students in your Google Classroom classes + 'https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly', + + // View the email addresses of people in your classes + 'https://www.googleapis.com/auth/classroom.profile.emails', + + // View the profile photos of people in your classes + 'https://www.googleapis.com/auth/classroom.profile.photos', + + // Manage your Google Classroom class rosters + 'https://www.googleapis.com/auth/classroom.rosters', + + // View your Google Classroom class rosters + 'https://www.googleapis.com/auth/classroom.rosters.readonly', + + // View your course work and grades in Google Classroom + 'https://www.googleapis.com/auth/classroom.student-submissions.me.readonly', + + // View course work and grades for students in the Google Classroom classes you teach or administer + 'https://www.googleapis.com/auth/classroom.student-submissions.students.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Classroom API resources: + +```typescript + +/* +Creates a course. + +The user specified in `ownerId` is the owner of the created course +and added as a teacher. + +This method returns the following error codes: + +* `PERMISSION_DENIED` if the requesting user is not permitted to create +courses or for access errors. +* `NOT_FOUND` if the primary teacher is not a valid user. +* `FAILED_PRECONDITION` if the course owner's account is disabled or for +the following request errors: + * UserGroupsMembershipLimitReached +* `ALREADY_EXISTS` if an alias was specified in the `id` and +already exists. +*/ +await gapi.client.courses.create({ }); + +/* +Deletes a course. + +This method returns the following error codes: + +* `PERMISSION_DENIED` if the requesting user is not permitted to delete the +requested course or for access errors. +* `NOT_FOUND` if no course exists with the requested ID. +*/ +await gapi.client.courses.delete({ id: "id", }); + +/* +Returns a course. + +This method returns the following error codes: + +* `PERMISSION_DENIED` if the requesting user is not permitted to access the +requested course or for access errors. +* `NOT_FOUND` if no course exists with the requested ID. +*/ +await gapi.client.courses.get({ id: "id", }); + +/* +Returns a list of courses that the requesting user is permitted to view, +restricted to those that match the request. Returned courses are ordered by +creation time, with the most recently created coming first. + +This method returns the following error codes: + +* `PERMISSION_DENIED` for access errors. +* `INVALID_ARGUMENT` if the query argument is malformed. +* `NOT_FOUND` if any users specified in the query arguments do not exist. +*/ +await gapi.client.courses.list({ }); + +/* +Updates one or more fields in a course. + +This method returns the following error codes: + +* `PERMISSION_DENIED` if the requesting user is not permitted to modify the +requested course or for access errors. +* `NOT_FOUND` if no course exists with the requested ID. +* `INVALID_ARGUMENT` if invalid fields are specified in the update mask or +if no update mask is supplied. +* `FAILED_PRECONDITION` for the following request errors: + * CourseNotModifiable +*/ +await gapi.client.courses.patch({ id: "id", }); + +/* +Updates a course. + +This method returns the following error codes: + +* `PERMISSION_DENIED` if the requesting user is not permitted to modify the +requested course or for access errors. +* `NOT_FOUND` if no course exists with the requested ID. +* `FAILED_PRECONDITION` for the following request errors: + * CourseNotModifiable +*/ +await gapi.client.courses.update({ id: "id", }); + +/* +Accepts an invitation, removing it and adding the invited user to the +teachers or students (as appropriate) of the specified course. Only the +invited user may accept an invitation. + +This method returns the following error codes: + +* `PERMISSION_DENIED` if the requesting user is not permitted to accept the +requested invitation or for access errors. +* `FAILED_PRECONDITION` for the following request errors: + * CourseMemberLimitReached + * CourseNotModifiable + * CourseTeacherLimitReached + * UserGroupsMembershipLimitReached +* `NOT_FOUND` if no invitation exists with the requested ID. +*/ +await gapi.client.invitations.accept({ id: "id", }); + +/* +Creates an invitation. Only one invitation for a user and course may exist +at a time. Delete and re-create an invitation to make changes. + +This method returns the following error codes: + +* `PERMISSION_DENIED` if the requesting user is not permitted to create +invitations for this course or for access errors. +* `NOT_FOUND` if the course or the user does not exist. +* `FAILED_PRECONDITION` if the requested user's account is disabled or if +the user already has this role or a role with greater permissions. +* `ALREADY_EXISTS` if an invitation for the specified user and course +already exists. +*/ +await gapi.client.invitations.create({ }); + +/* +Deletes an invitation. + +This method returns the following error codes: + +* `PERMISSION_DENIED` if the requesting user is not permitted to delete the +requested invitation or for access errors. +* `NOT_FOUND` if no invitation exists with the requested ID. +*/ +await gapi.client.invitations.delete({ id: "id", }); + +/* +Returns an invitation. + +This method returns the following error codes: + +* `PERMISSION_DENIED` if the requesting user is not permitted to view the +requested invitation or for access errors. +* `NOT_FOUND` if no invitation exists with the requested ID. +*/ +await gapi.client.invitations.get({ id: "id", }); + +/* +Returns a list of invitations that the requesting user is permitted to +view, restricted to those that match the list request. + +*Note:* At least one of `user_id` or `course_id` must be supplied. Both +fields can be supplied. + +This method returns the following error codes: + +* `PERMISSION_DENIED` for access errors. +*/ +await gapi.client.invitations.list({ }); + +/* +Creates a `Registration`, causing Classroom to start sending notifications +from the provided `feed` to the provided `destination`. + +Returns the created `Registration`. Currently, this will be the same as +the argument, but with server-assigned fields such as `expiry_time` and +`id` filled in. + +Note that any value specified for the `expiry_time` or `id` fields will be +ignored. + +While Classroom may validate the `destination` and return errors on a best +effort basis, it is the caller's responsibility to ensure that it exists +and that Classroom has permission to publish to it. + +This method may return the following error codes: + +* `PERMISSION_DENIED` if: + * the authenticated user does not have permission to receive + notifications from the requested field; or + * the credential provided does not include the appropriate scope for the + requested feed. + * another access error is encountered. +* `INVALID_ARGUMENT` if: + * no `destination` is specified, or the specified `destination` is not + valid; or + * no `feed` is specified, or the specified `feed` is not valid. +* `NOT_FOUND` if: + * the specified `feed` cannot be located, or the requesting user does not + have permission to determine whether or not it exists; or + * the specified `destination` cannot be located, or Classroom has not + been granted permission to publish to it. +*/ +await gapi.client.registrations.create({ }); + +/* +Deletes a `Registration`, causing Classroom to stop sending notifications +for that `Registration`. +*/ +await gapi.client.registrations.delete({ registrationId: "registrationId", }); + +/* +Returns a user profile. + +This method returns the following error codes: + +* `PERMISSION_DENIED` if the requesting user is not permitted to access +this user profile, if no profile exists with the requested ID, or for +access errors. +*/ +await gapi.client.userProfiles.get({ userId: "userId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.classroom/tsconfig.json b/types/gapi.client.classroom/tsconfig.json new file mode 100644 index 0000000000..4e1a97323a --- /dev/null +++ b/types/gapi.client.classroom/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.classroom-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.classroom/tslint.json b/types/gapi.client.classroom/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.classroom/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.cloudbilling/gapi.client.cloudbilling-tests.ts b/types/gapi.client.cloudbilling/gapi.client.cloudbilling-tests.ts new file mode 100644 index 0000000000..2b846c0c89 --- /dev/null +++ b/types/gapi.client.cloudbilling/gapi.client.cloudbilling-tests.ts @@ -0,0 +1,98 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('cloudbilling', 'v1', () => { + /** now we can use gapi.client.cloudbilling */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Gets information about a billing account. The current authenticated user + * must be an [owner of the billing + * account](https://support.google.com/cloud/answer/4430947). + */ + await gapi.client.billingAccounts.get({ + name: "name", + }); + /** + * Lists the billing accounts that the current authenticated user + * [owns](https://support.google.com/cloud/answer/4430947). + */ + await gapi.client.billingAccounts.list({ + pageSize: 1, + pageToken: "pageToken", + }); + /** + * Gets the billing information for a project. The current authenticated user + * must have [permission to view the + * project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo + * ). + */ + await gapi.client.projects.getBillingInfo({ + name: "name", + }); + /** + * Sets or updates the billing account associated with a project. You specify + * the new billing account by setting the `billing_account_name` in the + * `ProjectBillingInfo` resource to the resource name of a billing account. + * Associating a project with an open billing account enables billing on the + * project and allows charges for resource usage. If the project already had a + * billing account, this method changes the billing account used for resource + * usage charges. + * + * *Note:* Incurred charges that have not yet been reported in the transaction + * history of the Google Cloud Console may be billed to the new billing + * account, even if the charge occurred before the new billing account was + * assigned to the project. + * + * The current authenticated user must have ownership privileges for both the + * [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo + * ) and the [billing + * account](https://support.google.com/cloud/answer/4430947). + * + * You can disable billing on the project by setting the + * `billing_account_name` field to empty. This action disassociates the + * current billing account from the project. Any billable activity of your + * in-use services will stop, and your application could stop functioning as + * expected. Any unbilled charges to date will be billed to the previously + * associated account. The current authenticated user must be either an owner + * of the project or an owner of the billing account for the project. + * + * Note that associating a project with a *closed* billing account will have + * much the same effect as disabling billing on the project: any paid + * resources used by the project will be shut down. Thus, unless you wish to + * disable billing, you should always call this method with the name of an + * *open* billing account. + */ + await gapi.client.projects.updateBillingInfo({ + name: "name", + }); + /** Lists all public cloud services. */ + await gapi.client.services.list({ + pageSize: 1, + pageToken: "pageToken", + }); + } +}); diff --git a/types/gapi.client.cloudbilling/index.d.ts b/types/gapi.client.cloudbilling/index.d.ts new file mode 100644 index 0000000000..cd09fa5e15 --- /dev/null +++ b/types/gapi.client.cloudbilling/index.d.ts @@ -0,0 +1,640 @@ +// Type definitions for Google Google Cloud Billing API v1 1.0 +// Project: https://cloud.google.com/billing/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://cloudbilling.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Cloud Billing API v1 */ + function load(name: "cloudbilling", version: "v1"): PromiseLike<void>; + function load(name: "cloudbilling", version: "v1", callback: () => any): void; + + const billingAccounts: cloudbilling.BillingAccountsResource; + + const projects: cloudbilling.ProjectsResource; + + const services: cloudbilling.ServicesResource; + + namespace cloudbilling { + interface AggregationInfo { + /** + * The number of intervals to aggregate over. + * Example: If aggregation_level is "DAILY" and aggregation_count is 14, + * aggregation will be over 14 days. + */ + aggregationCount?: number; + aggregationInterval?: string; + aggregationLevel?: string; + } + interface BillingAccount { + /** + * The display name given to the billing account, such as `My Billing + * Account`. This name is displayed in the Google Cloud Console. + */ + displayName?: string; + /** + * The resource name of the billing account. The resource name has the form + * `billingAccounts/{billing_account_id}`. For example, + * `billingAccounts/012345-567890-ABCDEF` would be the resource name for + * billing account `012345-567890-ABCDEF`. + */ + name?: string; + /** + * True if the billing account is open, and will therefore be charged for any + * usage on associated projects. False if the billing account is closed, and + * therefore projects associated with it will be unable to use paid services. + */ + open?: boolean; + } + interface Category { + /** + * The type of product the SKU refers to. + * Example: "Compute", "Storage", "Network", "ApplicationServices" etc. + */ + resourceFamily?: string; + /** + * A group classification for related SKUs. + * Example: "RAM", "GPU", "Prediction", "Ops", "GoogleEgress" etc. + */ + resourceGroup?: string; + /** The display name of the service this SKU belongs to. */ + serviceDisplayName?: string; + /** + * Represents how the SKU is consumed. + * Example: "OnDemand", "Preemptible", "Commit1Mo", "Commit1Yr" etc. + */ + usageType?: string; + } + interface ListBillingAccountsResponse { + /** A list of billing accounts. */ + billingAccounts?: BillingAccount[]; + /** + * A token to retrieve the next page of results. To retrieve the next page, + * call `ListBillingAccounts` again with the `page_token` field set to this + * value. This field is empty if there are no more results to retrieve. + */ + nextPageToken?: string; + } + interface ListProjectBillingInfoResponse { + /** + * A token to retrieve the next page of results. To retrieve the next page, + * call `ListProjectBillingInfo` again with the `page_token` field set to this + * value. This field is empty if there are no more results to retrieve. + */ + nextPageToken?: string; + /** + * A list of `ProjectBillingInfo` resources representing the projects + * associated with the billing account. + */ + projectBillingInfo?: ProjectBillingInfo[]; + } + interface ListServicesResponse { + /** + * A token to retrieve the next page of results. To retrieve the next page, + * call `ListServices` again with the `page_token` field set to this + * value. This field is empty if there are no more results to retrieve. + */ + nextPageToken?: string; + /** A list of services. */ + services?: Service[]; + } + interface ListSkusResponse { + /** + * A token to retrieve the next page of results. To retrieve the next page, + * call `ListSkus` again with the `page_token` field set to this + * value. This field is empty if there are no more results to retrieve. + */ + nextPageToken?: string; + /** The list of public SKUs of the given service. */ + skus?: Sku[]; + } + interface Money { + /** The 3-letter currency code defined in ISO 4217. */ + currencyCode?: string; + /** + * Number of nano (10^-9) units of the amount. + * The value must be between -999,999,999 and +999,999,999 inclusive. + * If `units` is positive, `nanos` must be positive or zero. + * If `units` is zero, `nanos` can be positive, zero, or negative. + * If `units` is negative, `nanos` must be negative or zero. + * For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. + */ + nanos?: number; + /** + * The whole units of the amount. + * For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + */ + units?: string; + } + interface PricingExpression { + /** + * The base unit for the SKU which is the unit used in usage exports. + * Example: "By" + */ + baseUnit?: string; + /** + * Conversion factor for converting from price per usage_unit to price per + * base_unit, and start_usage_amount to start_usage_amount in base_unit. + * unit_price / base_unit_conversion_factor = price per base_unit. + * start_usage_amount * base_unit_conversion_factor = start_usage_amount in + * base_unit. + */ + baseUnitConversionFactor?: number; + /** + * The base unit in human readable form. + * Example: "byte". + */ + baseUnitDescription?: string; + /** + * The recommended quantity of units for displaying pricing info. When + * displaying pricing info it is recommended to display: + * (unit_price * display_quantity) per display_quantity usage_unit. + * This field does not affect the pricing formula and is for display purposes + * only. + * Example: If the unit_price is "0.0001 USD", the usage_unit is "GB" and + * the display_quantity is "1000" then the recommended way of displaying the + * pricing info is "0.10 USD per 1000 GB" + */ + displayQuantity?: number; + /** + * The list of tiered rates for this pricing. The total cost is computed by + * applying each of the tiered rates on usage. This repeated list is sorted + * by ascending order of start_usage_amount. + */ + tieredRates?: TierRate[]; + /** + * The short hand for unit of usage this pricing is specified in. + * Example: usage_unit of "GiBy" means that usage is specified in "Gibi Byte". + */ + usageUnit?: string; + /** + * The unit of usage in human readable form. + * Example: "gibi byte". + */ + usageUnitDescription?: string; + } + interface PricingInfo { + /** + * Aggregation Info. This can be left unspecified if the pricing expression + * doesn't require aggregation. + */ + aggregationInfo?: AggregationInfo; + /** + * Conversion rate for currency conversion, from USD to the currency specified + * in the request. If the currency is not specified this defaults to 1.0. + * Example: USD * currency_conversion_rate = JPY + */ + currencyConversionRate?: number; + /** The timestamp from which this pricing was effective. */ + effectiveTime?: string; + /** Expresses the pricing formula. See `PricingExpression` for an example. */ + pricingExpression?: PricingExpression; + /** + * An optional human readable summary of the pricing information, has a + * maximum length of 256 characters. + */ + summary?: string; + } + interface ProjectBillingInfo { + /** + * The resource name of the billing account associated with the project, if + * any. For example, `billingAccounts/012345-567890-ABCDEF`. + */ + billingAccountName?: string; + /** + * True if the project is associated with an open billing account, to which + * usage on the project is charged. False if the project is associated with a + * closed billing account, or no billing account at all, and therefore cannot + * use paid services. This field is read-only. + */ + billingEnabled?: boolean; + /** + * The resource name for the `ProjectBillingInfo`; has the form + * `projects/{project_id}/billingInfo`. For example, the resource name for the + * billing information for project `tokyo-rain-123` would be + * `projects/tokyo-rain-123/billingInfo`. This field is read-only. + */ + name?: string; + /** + * The ID of the project that this `ProjectBillingInfo` represents, such as + * `tokyo-rain-123`. This is a convenience field so that you don't need to + * parse the `name` field to obtain a project ID. This field is read-only. + */ + projectId?: string; + } + interface Service { + /** A human readable display name for this service. */ + displayName?: string; + /** + * The resource name for the service. + * Example: "services/DA34-426B-A397" + */ + name?: string; + /** + * The identifier for the service. + * Example: "DA34-426B-A397" + */ + serviceId?: string; + } + interface Sku { + /** The category hierarchy of this SKU, purely for organizational purpose. */ + category?: Category; + /** + * A human readable description of the SKU, has a maximum length of 256 + * characters. + */ + description?: string; + /** + * The resource name for the SKU. + * Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE" + */ + name?: string; + /** A timeline of pricing info for this SKU in chronological order. */ + pricingInfo?: PricingInfo[]; + /** + * Identifies the service provider. + * This is 'Google' for first party services in Google Cloud Platform. + */ + serviceProviderName?: string; + /** + * List of service regions this SKU is offered at. + * Example: "asia-east1" + * Service regions can be found at https://cloud.google.com/about/locations/ + */ + serviceRegions?: string[]; + /** + * The identifier for the SKU. + * Example: "AA95-CD31-42FE" + */ + skuId?: string; + } + interface TierRate { + /** + * Usage is priced at this rate only after this amount. + * Example: start_usage_amount of 10 indicates that the usage will be priced + * at the unit_price after the first 10 usage_units. + */ + startUsageAmount?: number; + /** + * The price per unit of usage. + * Example: unit_price of amount $10 indicates that each unit will cost $10. + */ + unitPrice?: Money; + } + interface ProjectsResource { + /** + * Lists the projects associated with a billing account. The current + * authenticated user must be an [owner of the billing + * account](https://support.google.com/cloud/answer/4430947). + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the billing account associated with the projects that + * you want to list. For example, `billingAccounts/012345-567890-ABCDEF`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Requested page size. The maximum page size is 100; this is also the + * default. + */ + pageSize?: number; + /** + * A token identifying a page of results to be returned. This should be a + * `next_page_token` value returned from a previous `ListProjectBillingInfo` + * call. If unspecified, the first page of results is returned. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListProjectBillingInfoResponse>; + } + interface BillingAccountsResource { + /** + * Gets information about a billing account. The current authenticated user + * must be an [owner of the billing + * account](https://support.google.com/cloud/answer/4430947). + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the billing account to retrieve. For example, + * `billingAccounts/012345-567890-ABCDEF`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<BillingAccount>; + /** + * Lists the billing accounts that the current authenticated user + * [owns](https://support.google.com/cloud/answer/4430947). + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Requested page size. The maximum page size is 100; this is also the + * default. + */ + pageSize?: number; + /** + * A token identifying a page of results to return. This should be a + * `next_page_token` value returned from a previous `ListBillingAccounts` + * call. If unspecified, the first page of results is returned. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListBillingAccountsResponse>; + projects: ProjectsResource; + } + interface ProjectsResource { + /** + * Gets the billing information for a project. The current authenticated user + * must have [permission to view the + * project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo + * ). + */ + getBillingInfo(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the project for which billing information is + * retrieved. For example, `projects/tokyo-rain-123`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ProjectBillingInfo>; + /** + * Sets or updates the billing account associated with a project. You specify + * the new billing account by setting the `billing_account_name` in the + * `ProjectBillingInfo` resource to the resource name of a billing account. + * Associating a project with an open billing account enables billing on the + * project and allows charges for resource usage. If the project already had a + * billing account, this method changes the billing account used for resource + * usage charges. + * + * *Note:* Incurred charges that have not yet been reported in the transaction + * history of the Google Cloud Console may be billed to the new billing + * account, even if the charge occurred before the new billing account was + * assigned to the project. + * + * The current authenticated user must have ownership privileges for both the + * [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo + * ) and the [billing + * account](https://support.google.com/cloud/answer/4430947). + * + * You can disable billing on the project by setting the + * `billing_account_name` field to empty. This action disassociates the + * current billing account from the project. Any billable activity of your + * in-use services will stop, and your application could stop functioning as + * expected. Any unbilled charges to date will be billed to the previously + * associated account. The current authenticated user must be either an owner + * of the project or an owner of the billing account for the project. + * + * Note that associating a project with a *closed* billing account will have + * much the same effect as disabling billing on the project: any paid + * resources used by the project will be shut down. Thus, unless you wish to + * disable billing, you should always call this method with the name of an + * *open* billing account. + */ + updateBillingInfo(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the project associated with the billing information + * that you want to update. For example, `projects/tokyo-rain-123`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ProjectBillingInfo>; + } + interface SkusResource { + /** Lists all publicly available SKUs for a given cloud service. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The ISO 4217 currency code for the pricing info in the response proto. + * Will use the conversion rate as of start_time. + * Optional. If not specified USD will be used. + */ + currencyCode?: string; + /** + * Optional exclusive end time of the time range for which the pricing + * versions will be returned. Timestamps in the future are not allowed. + * Maximum allowable time range is 1 month (31 days). Time range as a whole + * is optional. If not specified, the latest pricing will be returned (up to + * 12 hours old at most). + */ + endTime?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Requested page size. Defaults to 5000. */ + pageSize?: number; + /** + * A token identifying a page of results to return. This should be a + * `next_page_token` value returned from a previous `ListSkus` + * call. If unspecified, the first page of results is returned. + */ + pageToken?: string; + /** + * The name of the service. + * Example: "services/DA34-426B-A397" + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Optional inclusive start time of the time range for which the pricing + * versions will be returned. Timestamps in the future are not allowed. + * Maximum allowable time range is 1 month (31 days). Time range as a whole + * is optional. If not specified, the latest pricing will be returned (up to + * 12 hours old at most). + */ + startTime?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListSkusResponse>; + } + interface ServicesResource { + /** Lists all public cloud services. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Requested page size. Defaults to 5000. */ + pageSize?: number; + /** + * A token identifying a page of results to return. This should be a + * `next_page_token` value returned from a previous `ListServices` + * call. If unspecified, the first page of results is returned. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListServicesResponse>; + skus: SkusResource; + } + } +} diff --git a/types/gapi.client.cloudbilling/readme.md b/types/gapi.client.cloudbilling/readme.md new file mode 100644 index 0000000000..4c58940e5b --- /dev/null +++ b/types/gapi.client.cloudbilling/readme.md @@ -0,0 +1,116 @@ +# TypeScript typings for Google Cloud Billing API v1 +Allows developers to manage billing for their Google Cloud Platform projects + programmatically. +For detailed description please check [documentation](https://cloud.google.com/billing/). + +## Installing + +Install typings for Google Cloud Billing API: +``` +npm install @types/gapi.client.cloudbilling@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('cloudbilling', 'v1', () => { + // now we can use gapi.client.cloudbilling + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Cloud Billing API resources: + +```typescript + +/* +Gets information about a billing account. The current authenticated user +must be an [owner of the billing +account](https://support.google.com/cloud/answer/4430947). +*/ +await gapi.client.billingAccounts.get({ name: "name", }); + +/* +Lists the billing accounts that the current authenticated user +[owns](https://support.google.com/cloud/answer/4430947). +*/ +await gapi.client.billingAccounts.list({ }); + +/* +Gets the billing information for a project. The current authenticated user +must have [permission to view the +project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo +). +*/ +await gapi.client.projects.getBillingInfo({ name: "name", }); + +/* +Sets or updates the billing account associated with a project. You specify +the new billing account by setting the `billing_account_name` in the +`ProjectBillingInfo` resource to the resource name of a billing account. +Associating a project with an open billing account enables billing on the +project and allows charges for resource usage. If the project already had a +billing account, this method changes the billing account used for resource +usage charges. + +*Note:* Incurred charges that have not yet been reported in the transaction +history of the Google Cloud Console may be billed to the new billing +account, even if the charge occurred before the new billing account was +assigned to the project. + +The current authenticated user must have ownership privileges for both the +[project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo +) and the [billing +account](https://support.google.com/cloud/answer/4430947). + +You can disable billing on the project by setting the +`billing_account_name` field to empty. This action disassociates the +current billing account from the project. Any billable activity of your +in-use services will stop, and your application could stop functioning as +expected. Any unbilled charges to date will be billed to the previously +associated account. The current authenticated user must be either an owner +of the project or an owner of the billing account for the project. + +Note that associating a project with a *closed* billing account will have +much the same effect as disabling billing on the project: any paid +resources used by the project will be shut down. Thus, unless you wish to +disable billing, you should always call this method with the name of an +*open* billing account. +*/ +await gapi.client.projects.updateBillingInfo({ name: "name", }); + +/* +Lists all public cloud services. +*/ +await gapi.client.services.list({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.cloudbilling/tsconfig.json b/types/gapi.client.cloudbilling/tsconfig.json new file mode 100644 index 0000000000..66cfdbefe4 --- /dev/null +++ b/types/gapi.client.cloudbilling/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.cloudbilling-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.cloudbilling/tslint.json b/types/gapi.client.cloudbilling/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.cloudbilling/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.cloudbuild/gapi.client.cloudbuild-tests.ts b/types/gapi.client.cloudbuild/gapi.client.cloudbuild-tests.ts new file mode 100644 index 0000000000..a7b428a695 --- /dev/null +++ b/types/gapi.client.cloudbuild/gapi.client.cloudbuild-tests.ts @@ -0,0 +1,73 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('cloudbuild', 'v1', () => { + /** now we can use gapi.client.cloudbuild */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not + * guaranteed. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use + * Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, + * the operation is not deleted; instead, it becomes an operation with + * an Operation.error value with a google.rpc.Status.code of 1, + * corresponding to `Code.CANCELLED`. + */ + await gapi.client.operations.cancel({ + name: "name", + }); + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + await gapi.client.operations.get({ + name: "name", + }); + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding allows API services to override the binding + * to use different resource name schemes, such as `users/*/operations`. To + * override the binding, API services can add a binding such as + * `"/v1/{name=users/*}/operations"` to their service configuration. + * For backwards compatibility, the default name includes the operations + * collection id, however overriding users must ensure the name binding + * is the parent resource, without the operations collection id. + */ + await gapi.client.operations.list({ + filter: "filter", + name: "name", + pageSize: 3, + pageToken: "pageToken", + }); + } +}); diff --git a/types/gapi.client.cloudbuild/index.d.ts b/types/gapi.client.cloudbuild/index.d.ts new file mode 100644 index 0000000000..ca50422cfb --- /dev/null +++ b/types/gapi.client.cloudbuild/index.d.ts @@ -0,0 +1,899 @@ +// Type definitions for Google Google Cloud Container Builder API v1 1.0 +// Project: https://cloud.google.com/container-builder/docs/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://cloudbuild.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Cloud Container Builder API v1 */ + function load(name: "cloudbuild", version: "v1"): PromiseLike<void>; + function load(name: "cloudbuild", version: "v1", callback: () => any): void; + + const operations: cloudbuild.OperationsResource; + + const projects: cloudbuild.ProjectsResource; + + namespace cloudbuild { + interface Build { + /** + * The ID of the BuildTrigger that triggered this build, if it was + * triggered automatically. + * @OutputOnly + */ + buildTriggerId?: string; + /** + * Time at which the request to create the build was received. + * @OutputOnly + */ + createTime?: string; + /** + * Time at which execution of the build was finished. + * + * The difference between finish_time and start_time is the duration of the + * build's execution. + * @OutputOnly + */ + finishTime?: string; + /** + * Unique identifier of the build. + * @OutputOnly + */ + id?: string; + /** + * A list of images to be pushed upon the successful completion of all build + * steps. + * + * The images will be pushed using the builder service account's credentials. + * + * The digests of the pushed images will be stored in the Build resource's + * results field. + * + * If any of the images fail to be pushed, the build is marked FAILURE. + */ + images?: string[]; + /** + * URL to logs for this build in Google Cloud Logging. + * @OutputOnly + */ + logUrl?: string; + /** + * Google Cloud Storage bucket where logs should be written (see + * [Bucket Name + * Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + * Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`. + */ + logsBucket?: string; + /** Special options for this build. */ + options?: BuildOptions; + /** + * ID of the project. + * @OutputOnly. + */ + projectId?: string; + /** + * Results of the build. + * @OutputOnly + */ + results?: Results; + /** Secrets to decrypt using Cloud KMS. */ + secrets?: Secret[]; + /** Describes where to find the source files to build. */ + source?: Source; + /** + * A permanent fixed identifier for source. + * @OutputOnly + */ + sourceProvenance?: SourceProvenance; + /** + * Time at which execution of the build was started. + * @OutputOnly + */ + startTime?: string; + /** + * Status of the build. + * @OutputOnly + */ + status?: string; + /** + * Customer-readable message about the current status. + * @OutputOnly + */ + statusDetail?: string; + /** Describes the operations to be performed on the workspace. */ + steps?: BuildStep[]; + /** Substitutions data for Build resource. */ + substitutions?: Record<string, string>; + /** Tags for annotation of a Build. These are not docker tags. */ + tags?: string[]; + /** + * Amount of time that this build should be allowed to run, to second + * granularity. If this amount of time elapses, work on the build will cease + * and the build status will be TIMEOUT. + * + * Default time is ten minutes. + */ + timeout?: string; + } + interface BuildOperationMetadata { + /** The build that the operation is tracking. */ + build?: Build; + } + interface BuildOptions { + /** Requested verifiability options. */ + requestedVerifyOption?: string; + /** Requested hash for SourceProvenance. */ + sourceProvenanceHash?: string[]; + /** SubstitutionOption to allow unmatch substitutions. */ + substitutionOption?: string; + } + interface BuildStep { + /** + * A list of arguments that will be presented to the step when it is started. + * + * If the image used to run the step's container has an entrypoint, these args + * will be used as arguments to that entrypoint. If the image does not define + * an entrypoint, the first element in args will be used as the entrypoint, + * and the remainder will be used as arguments. + */ + args?: string[]; + /** + * Working directory (relative to project source root) to use when running + * this operation's container. + */ + dir?: string; + /** + * Optional entrypoint to be used instead of the build step image's default + * If unset, the image's default will be used. + */ + entrypoint?: string; + /** + * A list of environment variable definitions to be used when running a step. + * + * The elements are of the form "KEY=VALUE" for the environment variable "KEY" + * being given the value "VALUE". + */ + env?: string[]; + /** + * Optional unique identifier for this build step, used in wait_for to + * reference this build step as a dependency. + */ + id?: string; + /** + * The name of the container image that will run this particular build step. + * + * If the image is already available in the host's Docker daemon's cache, it + * will be run directly. If not, the host will attempt to pull the image + * first, using the builder service account's credentials if necessary. + * + * The Docker daemon's cache will already have the latest versions of all of + * the officially supported build steps + * ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)). + * The Docker daemon will also have cached many of the layers for some popular + * images, like "ubuntu", "debian", but they will be refreshed at the time you + * attempt to use them. + * + * If you built an image in a previous build step, it will be stored in the + * host's Docker daemon's cache and is available to use as the name for a + * later build step. + */ + name?: string; + /** + * A list of environment variables which are encrypted using a Cloud KMS + * crypto key. These values must be specified in the build's secrets. + */ + secretEnv?: string[]; + /** + * List of volumes to mount into the build step. + * + * Each volume will be created as an empty volume prior to execution of the + * build step. Upon completion of the build, volumes and their contents will + * be discarded. + * + * Using a named volume in only one step is not valid as it is indicative + * of a mis-configured build request. + */ + volumes?: Volume[]; + /** + * The ID(s) of the step(s) that this build step depends on. + * This build step will not start until all the build steps in wait_for + * have completed successfully. If wait_for is empty, this build step will + * start when all previous build steps in the Build.Steps list have completed + * successfully. + */ + waitFor?: string[]; + } + interface BuildTrigger { + /** Contents of the build template. */ + build?: Build; + /** + * Time when the trigger was created. + * + * @OutputOnly + */ + createTime?: string; + /** Human-readable description of this trigger. */ + description?: string; + /** If true, the trigger will never result in a build. */ + disabled?: boolean; + /** + * Path, from the source root, to a file whose contents is used for the + * template. + */ + filename?: string; + /** + * Unique identifier of the trigger. + * + * @OutputOnly + */ + id?: string; + /** Substitutions data for Build resource. */ + substitutions?: Record<string, string>; + /** + * Template describing the types of source changes to trigger a build. + * + * Branch and tag names in trigger templates are interpreted as regular + * expressions. Any branch or tag change that matches that regular expression + * will trigger a build. + */ + triggerTemplate?: RepoSource; + } + interface BuiltImage { + /** Docker Registry 2.0 digest. */ + digest?: string; + /** + * Name used to push the container image to Google Container Registry, as + * presented to `docker push`. + */ + name?: string; + } + interface FileHashes { + /** Collection of file hashes. */ + fileHash?: Hash[]; + } + interface Hash { + /** The type of hash that was performed. */ + type?: string; + /** The hash value. */ + value?: string; + } + interface ListBuildTriggersResponse { + /** BuildTriggers for the project, sorted by create_time descending. */ + triggers?: BuildTrigger[]; + } + interface ListBuildsResponse { + /** Builds will be sorted by create_time, descending. */ + builds?: Build[]; + /** Token to receive the next page of results. */ + nextPageToken?: string; + } + interface ListOperationsResponse { + /** The standard List next-page token. */ + nextPageToken?: string; + /** A list of operations that matches the specified filter in the request. */ + operations?: Operation[]; + } + interface Operation { + /** + * If the value is `false`, it means the operation is still in progress. + * If `true`, the operation is completed, and either `error` or `response` is + * available. + */ + done?: boolean; + /** The error result of the operation in case of failure or cancellation. */ + error?: Status; + /** + * Service-specific metadata associated with the operation. It typically + * contains progress information and common metadata such as create time. + * Some services might not provide such metadata. Any method that returns a + * long-running operation should document the metadata type, if any. + */ + metadata?: Record<string, any>; + /** + * The server-assigned name, which is only unique within the same service that + * originally returns it. If you use the default HTTP mapping, the + * `name` should have the format of `operations/some/unique/name`. + */ + name?: string; + /** + * The normal response of the operation in case of success. If the original + * method returns no data on success, such as `Delete`, the response is + * `google.protobuf.Empty`. If the original method is standard + * `Get`/`Create`/`Update`, the response should be the resource. For other + * methods, the response should have the type `XxxResponse`, where `Xxx` + * is the original method name. For example, if the original method name + * is `TakeSnapshot()`, the inferred response type is + * `TakeSnapshotResponse`. + */ + response?: Record<string, any>; + } + interface RepoSource { + /** Name of the branch to build. */ + branchName?: string; + /** Explicit commit SHA to build. */ + commitSha?: string; + /** + * ID of the project that owns the repo. If omitted, the project ID requesting + * the build is assumed. + */ + projectId?: string; + /** Name of the repo. If omitted, the name "default" is assumed. */ + repoName?: string; + /** Name of the tag to build. */ + tagName?: string; + } + interface Results { + /** List of build step digests, in order corresponding to build step indices. */ + buildStepImages?: string[]; + /** Images that were built as a part of the build. */ + images?: BuiltImage[]; + } + interface Secret { + /** Cloud KMS key name to use to decrypt these envs. */ + kmsKeyName?: string; + /** + * Map of environment variable name to its encrypted value. + * + * Secret environment variables must be unique across all of a build's + * secrets, and must be used by at least one build step. Values can be at most + * 1 KB in size. There can be at most ten secret values across all of a + * build's secrets. + */ + secretEnv?: Record<string, string>; + } + interface Source { + /** If provided, get source from this location in a Cloud Repo. */ + repoSource?: RepoSource; + /** If provided, get the source from this location in Google Cloud Storage. */ + storageSource?: StorageSource; + } + interface SourceProvenance { + /** + * Hash(es) of the build source, which can be used to verify that the original + * source integrity was maintained in the build. Note that FileHashes will + * only be populated if BuildOptions has requested a SourceProvenanceHash. + * + * The keys to this map are file paths used as build source and the values + * contain the hash values for those files. + * + * If the build source came in a single package such as a gzipped tarfile + * (.tar.gz), the FileHash will be for the single path to that file. + * @OutputOnly + */ + fileHashes?: Record<string, FileHashes>; + /** + * A copy of the build's source.repo_source, if exists, with any + * revisions resolved. + */ + resolvedRepoSource?: RepoSource; + /** + * A copy of the build's source.storage_source, if exists, with any + * generations resolved. + */ + resolvedStorageSource?: StorageSource; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface StorageSource { + /** + * Google Cloud Storage bucket containing source (see + * [Bucket Name + * Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + */ + bucket?: string; + /** + * Google Cloud Storage generation for the object. If the generation is + * omitted, the latest generation will be used. + */ + generation?: string; + /** + * Google Cloud Storage object containing source. + * + * This object must be a gzipped archive file (.tar.gz) containing source to + * build. + */ + object?: string; + } + interface Volume { + /** + * Name of the volume to mount. + * + * Volume names must be unique per build step and must be valid names for + * Docker volumes. Each named volume must be used by at least two build steps. + */ + name?: string; + /** + * Path at which to mount the volume. + * + * Paths must be absolute and cannot conflict with other volume paths on the + * same build step or with certain reserved volume paths. + */ + path?: string; + } + interface OperationsResource { + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not + * guaranteed. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use + * Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, + * the operation is not deleted; instead, it becomes an operation with + * an Operation.error value with a google.rpc.Status.code of 1, + * corresponding to `Code.CANCELLED`. + */ + cancel(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be cancelled. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding allows API services to override the binding + * to use different resource name schemes, such as `users/*/operations`. To + * override the binding, API services can add a binding such as + * `"/v1/{name=users/*}/operations"` to their service configuration. + * For backwards compatibility, the default name includes the operations + * collection id, however overriding users must ensure the name binding + * is the parent resource, without the operations collection id. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The standard list filter. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation's parent resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The standard list page size. */ + pageSize?: number; + /** The standard list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListOperationsResponse>; + } + interface BuildsResource { + /** Cancels a requested build in progress. */ + cancel(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** ID of the build. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** ID of the project. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Build>; + /** + * Starts a build with the specified configuration. + * + * The long-running Operation returned by this method will include the ID of + * the build, which can be passed to GetBuild to determine its status (e.g., + * success or failure). + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** ID of the project. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Returns information about a previously requested build. + * + * The Build that is returned includes its status (e.g., success or failure, + * or in-progress), and timing information. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** ID of the build. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** ID of the project. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Build>; + /** + * Lists previously requested builds. + * + * Previously requested builds may still be in-progress, or may have finished + * successfully or unsuccessfully. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The raw filter text to constrain the results. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Number of results to return in the list. */ + pageSize?: number; + /** Token to provide to skip to a particular spot in the list. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** ID of the project. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListBuildsResponse>; + } + interface TriggersResource { + /** + * Creates a new BuildTrigger. + * + * This API is experimental. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** ID of the project for which to configure automatic builds. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<BuildTrigger>; + /** + * Deletes an BuildTrigger by its project ID and trigger ID. + * + * This API is experimental. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** ID of the project that owns the trigger. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** ID of the BuildTrigger to delete. */ + triggerId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets information about a BuildTrigger. + * + * This API is experimental. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** ID of the project that owns the trigger. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** ID of the BuildTrigger to get. */ + triggerId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<BuildTrigger>; + /** + * Lists existing BuildTrigger. + * + * This API is experimental. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** ID of the project for which to list BuildTriggers. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListBuildTriggersResponse>; + /** + * Updates an BuildTrigger by its project ID and trigger ID. + * + * This API is experimental. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** ID of the project that owns the trigger. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** ID of the BuildTrigger to update. */ + triggerId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<BuildTrigger>; + } + interface ProjectsResource { + builds: BuildsResource; + triggers: TriggersResource; + } + } +} diff --git a/types/gapi.client.cloudbuild/readme.md b/types/gapi.client.cloudbuild/readme.md new file mode 100644 index 0000000000..a7371764be --- /dev/null +++ b/types/gapi.client.cloudbuild/readme.md @@ -0,0 +1,89 @@ +# TypeScript typings for Google Cloud Container Builder API v1 +Builds container images in the cloud. +For detailed description please check [documentation](https://cloud.google.com/container-builder/docs/). + +## Installing + +Install typings for Google Cloud Container Builder API: +``` +npm install @types/gapi.client.cloudbuild@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('cloudbuild', 'v1', () => { + // now we can use gapi.client.cloudbuild + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Cloud Container Builder API resources: + +```typescript + +/* +Starts asynchronous cancellation on a long-running operation. The server +makes a best effort to cancel the operation, but success is not +guaranteed. If the server doesn't support this method, it returns +`google.rpc.Code.UNIMPLEMENTED`. Clients can use +Operations.GetOperation or +other methods to check whether the cancellation succeeded or whether the +operation completed despite cancellation. On successful cancellation, +the operation is not deleted; instead, it becomes an operation with +an Operation.error value with a google.rpc.Status.code of 1, +corresponding to `Code.CANCELLED`. +*/ +await gapi.client.operations.cancel({ name: "name", }); + +/* +Gets the latest state of a long-running operation. Clients can use this +method to poll the operation result at intervals as recommended by the API +service. +*/ +await gapi.client.operations.get({ name: "name", }); + +/* +Lists operations that match the specified filter in the request. If the +server doesn't support this method, it returns `UNIMPLEMENTED`. + +NOTE: the `name` binding allows API services to override the binding +to use different resource name schemes, such as `users/*/operations`. To +override the binding, API services can add a binding such as +`"/v1/{name=users/*}/operations"` to their service configuration. +For backwards compatibility, the default name includes the operations +collection id, however overriding users must ensure the name binding +is the parent resource, without the operations collection id. +*/ +await gapi.client.operations.list({ name: "name", }); +``` \ No newline at end of file diff --git a/types/gapi.client.cloudbuild/tsconfig.json b/types/gapi.client.cloudbuild/tsconfig.json new file mode 100644 index 0000000000..22d8d6d390 --- /dev/null +++ b/types/gapi.client.cloudbuild/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.cloudbuild-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.cloudbuild/tslint.json b/types/gapi.client.cloudbuild/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.cloudbuild/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.clouddebugger/gapi.client.clouddebugger-tests.ts b/types/gapi.client.clouddebugger/gapi.client.clouddebugger-tests.ts new file mode 100644 index 0000000000..983c975c44 --- /dev/null +++ b/types/gapi.client.clouddebugger/gapi.client.clouddebugger-tests.ts @@ -0,0 +1,34 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('clouddebugger', 'v2', () => { + /** now we can use gapi.client.clouddebugger */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** Manage cloud debugger */ + 'https://www.googleapis.com/auth/cloud_debugger', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + } +}); diff --git a/types/gapi.client.clouddebugger/index.d.ts b/types/gapi.client.clouddebugger/index.d.ts new file mode 100644 index 0000000000..0fdb5167ce --- /dev/null +++ b/types/gapi.client.clouddebugger/index.d.ts @@ -0,0 +1,817 @@ +// Type definitions for Google Stackdriver Debugger API v2 2.0 +// Project: http://cloud.google.com/debugger +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://clouddebugger.googleapis.com/$discovery/rest?version=v2 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Stackdriver Debugger API v2 */ + function load(name: "clouddebugger", version: "v2"): PromiseLike<void>; + function load(name: "clouddebugger", version: "v2", callback: () => any): void; + + const controller: clouddebugger.ControllerResource; + + namespace clouddebugger { + interface AliasContext { + /** The alias kind. */ + kind?: string; + /** The alias name. */ + name?: string; + } + interface Breakpoint { + /** + * Action that the agent should perform when the code at the + * breakpoint location is hit. + */ + action?: string; + /** + * Condition that triggers the breakpoint. + * The condition is a compound boolean expression composed using expressions + * in a programming language at the source location. + */ + condition?: string; + /** Time this breakpoint was created by the server in seconds resolution. */ + createTime?: string; + /** + * Values of evaluated expressions at breakpoint time. + * The evaluated expressions appear in exactly the same order they + * are listed in the `expressions` field. + * The `name` field holds the original expression text, the `value` or + * `members` field holds the result of the evaluated expression. + * If the expression cannot be evaluated, the `status` inside the `Variable` + * will indicate an error and contain the error text. + */ + evaluatedExpressions?: Variable[]; + /** + * List of read-only expressions to evaluate at the breakpoint location. + * The expressions are composed using expressions in the programming language + * at the source location. If the breakpoint action is `LOG`, the evaluated + * expressions are included in log statements. + */ + expressions?: string[]; + /** + * Time this breakpoint was finalized as seen by the server in seconds + * resolution. + */ + finalTime?: string; + /** Breakpoint identifier, unique in the scope of the debuggee. */ + id?: string; + /** + * When true, indicates that this is a final result and the + * breakpoint state will not change from here on. + */ + isFinalState?: boolean; + /** + * A set of custom breakpoint properties, populated by the agent, to be + * displayed to the user. + */ + labels?: Record<string, string>; + /** Breakpoint source location. */ + location?: SourceLocation; + /** Indicates the severity of the log. Only relevant when action is `LOG`. */ + logLevel?: string; + /** + * Only relevant when action is `LOG`. Defines the message to log when + * the breakpoint hits. The message may include parameter placeholders `$0`, + * `$1`, etc. These placeholders are replaced with the evaluated value + * of the appropriate expression. Expressions not referenced in + * `log_message_format` are not logged. + * + * Example: `Message received, id = $0, count = $1` with + * `expressions` = `[ message.id, message.count ]`. + */ + logMessageFormat?: string; + /** The stack at breakpoint time. */ + stackFrames?: StackFrame[]; + /** + * Breakpoint status. + * + * The status includes an error flag and a human readable message. + * This field is usually unset. The message can be either + * informational or an error message. Regardless, clients should always + * display the text message back to the user. + * + * Error status indicates complete failure of the breakpoint. + * + * Example (non-final state): `Still loading symbols...` + * + * Examples (final state): + * + * * `Invalid line number` referring to location + * * `Field f not found in class C` referring to condition + */ + status?: StatusMessage; + /** E-mail address of the user that created this breakpoint */ + userEmail?: string; + /** + * The `variable_table` exists to aid with computation, memory and network + * traffic optimization. It enables storing a variable once and reference + * it from multiple variables, including variables stored in the + * `variable_table` itself. + * For example, the same `this` object, which may appear at many levels of + * the stack, can have all of its data stored once in this table. The + * stack frame variables then would hold only a reference to it. + * + * The variable `var_table_index` field is an index into this repeated field. + * The stored objects are nameless and get their name from the referencing + * variable. The effective variable is a merge of the referencing variable + * and the referenced variable. + */ + variableTable?: Variable[]; + } + interface CloudRepoSourceContext { + /** An alias, which may be a branch or tag. */ + aliasContext?: AliasContext; + /** The name of an alias (branch, tag, etc.). */ + aliasName?: string; + /** The ID of the repo. */ + repoId?: RepoId; + /** A revision ID. */ + revisionId?: string; + } + interface CloudWorkspaceId { + /** + * The unique name of the workspace within the repo. This is the name + * chosen by the client in the Source API's CreateWorkspace method. + */ + name?: string; + /** The ID of the repo containing the workspace. */ + repoId?: RepoId; + } + interface CloudWorkspaceSourceContext { + /** + * The ID of the snapshot. + * An empty snapshot_id refers to the most recent snapshot. + */ + snapshotId?: string; + /** The ID of the workspace. */ + workspaceId?: CloudWorkspaceId; + } + interface Debuggee { + /** + * Version ID of the agent. + * Schema: `domain/language-platform/vmajor.minor` (for example + * `google.com/java-gcp/v1.1`). + */ + agentVersion?: string; + /** + * Human readable description of the debuggee. + * Including a human-readable project name, environment name and version + * information is recommended. + */ + description?: string; + /** + * References to the locations and revisions of the source code used in the + * deployed application. + * + * NOTE: this field is experimental and can be ignored. + */ + extSourceContexts?: ExtendedSourceContext[]; + /** Unique identifier for the debuggee generated by the controller service. */ + id?: string; + /** + * If set to `true`, indicates that the agent should disable itself and + * detach from the debuggee. + */ + isDisabled?: boolean; + /** + * If set to `true`, indicates that Controller service does not detect any + * activity from the debuggee agents and the application is possibly stopped. + */ + isInactive?: boolean; + /** + * A set of custom debuggee properties, populated by the agent, to be + * displayed to the user. + */ + labels?: Record<string, string>; + /** + * Project the debuggee is associated with. + * Use project number or id when registering a Google Cloud Platform project. + */ + project?: string; + /** + * References to the locations and revisions of the source code used in the + * deployed application. + */ + sourceContexts?: SourceContext[]; + /** + * Human readable message to be displayed to the user about this debuggee. + * Absence of this field indicates no status. The message can be either + * informational or an error status. + */ + status?: StatusMessage; + /** + * Uniquifier to further distiguish the application. + * It is possible that different applications might have identical values in + * the debuggee message, thus, incorrectly identified as a single application + * by the Controller service. This field adds salt to further distiguish the + * application. Agents should consider seeding this field with value that + * identifies the code, binary, configuration and environment. + */ + uniquifier?: string; + } + interface ExtendedSourceContext { + /** Any source context. */ + context?: SourceContext; + /** Labels with user defined metadata. */ + labels?: Record<string, string>; + } + interface FormatMessage { + /** + * Format template for the message. The `format` uses placeholders `$0`, + * `$1`, etc. to reference parameters. `$$` can be used to denote the `$` + * character. + * + * Examples: + * + * * `Failed to load '$0' which helps debug $1 the first time it + * is loaded. Again, $0 is very important.` + * * `Please pay $$10 to use $0 instead of $1.` + */ + format?: string; + /** Optional parameters to be embedded into the message. */ + parameters?: string[]; + } + interface GerritSourceContext { + /** An alias, which may be a branch or tag. */ + aliasContext?: AliasContext; + /** The name of an alias (branch, tag, etc.). */ + aliasName?: string; + /** + * The full project name within the host. Projects may be nested, so + * "project/subproject" is a valid project name. + * The "repo name" is hostURI/project. + */ + gerritProject?: string; + /** The URI of a running Gerrit instance. */ + hostUri?: string; + /** A revision (commit) ID. */ + revisionId?: string; + } + interface GetBreakpointResponse { + /** + * Complete breakpoint state. + * The fields `id` and `location` are guaranteed to be set. + */ + breakpoint?: Breakpoint; + } + interface GitSourceContext { + /** + * Git commit hash. + * required. + */ + revisionId?: string; + /** Git repository URL. */ + url?: string; + } + interface ListActiveBreakpointsResponse { + /** + * List of all active breakpoints. + * The fields `id` and `location` are guaranteed to be set on each breakpoint. + */ + breakpoints?: Breakpoint[]; + /** + * A token that can be used in the next method call to block until + * the list of breakpoints changes. + */ + nextWaitToken?: string; + /** + * If set to `true`, indicates that there is no change to the + * list of active breakpoints and the server-selected timeout has expired. + * The `breakpoints` field would be empty and should be ignored. + */ + waitExpired?: boolean; + } + interface ListBreakpointsResponse { + /** + * List of breakpoints matching the request. + * The fields `id` and `location` are guaranteed to be set on each breakpoint. + * The fields: `stack_frames`, `evaluated_expressions` and `variable_table` + * are cleared on each breakpoint regardless of its status. + */ + breakpoints?: Breakpoint[]; + /** + * A wait token that can be used in the next call to `list` (REST) or + * `ListBreakpoints` (RPC) to block until the list of breakpoints has changes. + */ + nextWaitToken?: string; + } + interface ListDebuggeesResponse { + /** + * List of debuggees accessible to the calling user. + * The fields `debuggee.id` and `description` are guaranteed to be set. + * The `description` field is a human readable field provided by agents and + * can be displayed to users. + */ + debuggees?: Debuggee[]; + } + interface ProjectRepoId { + /** The ID of the project. */ + projectId?: string; + /** The name of the repo. Leave empty for the default repo. */ + repoName?: string; + } + interface RegisterDebuggeeRequest { + /** + * Debuggee information to register. + * The fields `project`, `uniquifier`, `description` and `agent_version` + * of the debuggee must be set. + */ + debuggee?: Debuggee; + } + interface RegisterDebuggeeResponse { + /** + * Debuggee resource. + * The field `id` is guranteed to be set (in addition to the echoed fields). + * If the field `is_disabled` is set to `true`, the agent should disable + * itself by removing all breakpoints and detaching from the application. + * It should however continue to poll `RegisterDebuggee` until reenabled. + */ + debuggee?: Debuggee; + } + interface RepoId { + /** A combination of a project ID and a repo name. */ + projectRepoId?: ProjectRepoId; + /** A server-assigned, globally unique identifier. */ + uid?: string; + } + interface SetBreakpointResponse { + /** + * Breakpoint resource. + * The field `id` is guaranteed to be set (in addition to the echoed fileds). + */ + breakpoint?: Breakpoint; + } + interface SourceContext { + /** A SourceContext referring to a revision in a cloud repo. */ + cloudRepo?: CloudRepoSourceContext; + /** A SourceContext referring to a snapshot in a cloud workspace. */ + cloudWorkspace?: CloudWorkspaceSourceContext; + /** A SourceContext referring to a Gerrit project. */ + gerrit?: GerritSourceContext; + /** A SourceContext referring to any third party Git repo (e.g. GitHub). */ + git?: GitSourceContext; + } + interface SourceLocation { + /** Line inside the file. The first line in the file has the value `1`. */ + line?: number; + /** Path to the source file within the source context of the target binary. */ + path?: string; + } + interface StackFrame { + /** + * Set of arguments passed to this function. + * Note that this might not be populated for all stack frames. + */ + arguments?: Variable[]; + /** Demangled function name at the call site. */ + function?: string; + /** + * Set of local variables at the stack frame location. + * Note that this might not be populated for all stack frames. + */ + locals?: Variable[]; + /** Source location of the call site. */ + location?: SourceLocation; + } + interface StatusMessage { + /** Status message text. */ + description?: FormatMessage; + /** Distinguishes errors from informational messages. */ + isError?: boolean; + /** Reference to which the message applies. */ + refersTo?: string; + } + interface UpdateActiveBreakpointRequest { + /** + * Updated breakpoint information. + * The field `id` must be set. + * The agent must echo all Breakpoint specification fields in the update. + */ + breakpoint?: Breakpoint; + } + interface Variable { + /** Members contained or pointed to by the variable. */ + members?: Variable[]; + /** Name of the variable, if any. */ + name?: string; + /** + * Status associated with the variable. This field will usually stay + * unset. A status of a single variable only applies to that variable or + * expression. The rest of breakpoint data still remains valid. Variables + * might be reported in error state even when breakpoint is not in final + * state. + * + * The message may refer to variable name with `refers_to` set to + * `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`. + * In either case variable value and members will be unset. + * + * Example of error message applied to name: `Invalid expression syntax`. + * + * Example of information message applied to value: `Not captured`. + * + * Examples of error message applied to value: + * + * * `Malformed string`, + * * `Field f not found in class C` + * * `Null pointer dereference` + */ + status?: StatusMessage; + /** + * Variable type (e.g. `MyClass`). If the variable is split with + * `var_table_index`, `type` goes next to `value`. The interpretation of + * a type is agent specific. It is recommended to include the dynamic type + * rather than a static type of an object. + */ + type?: string; + /** Simple value of the variable. */ + value?: string; + /** + * Reference to a variable in the shared variable table. More than + * one variable can reference the same variable in the table. The + * `var_table_index` field is an index into `variable_table` in Breakpoint. + */ + varTableIndex?: number; + } + interface BreakpointsResource { + /** + * Returns the list of all active breakpoints for the debuggee. + * + * The breakpoint specification (`location`, `condition`, and `expressions` + * fields) is semantically immutable, although the field values may + * change. For example, an agent may update the location line number + * to reflect the actual line where the breakpoint was set, but this + * doesn't change the breakpoint semantics. + * + * This means that an agent does not need to check if a breakpoint has changed + * when it encounters the same breakpoint on a successive call. + * Moreover, an agent should remember the breakpoints that are completed + * until the controller removes them from the active list to avoid + * setting those breakpoints again. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Identifies the debuggee. */ + debuggeeId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * If set to `true` (recommended), returns `google.rpc.Code.OK` status and + * sets the `wait_expired` response field to `true` when the server-selected + * timeout has expired. + * + * If set to `false` (deprecated), returns `google.rpc.Code.ABORTED` status + * when the server-selected timeout has expired. + */ + successOnTimeout?: boolean; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * A token that, if specified, blocks the method call until the list + * of active breakpoints has changed, or a server-selected timeout has + * expired. The value should be set from the `next_wait_token` field in + * the last response. The initial value should be set to `"init"`. + */ + waitToken?: string; + }): Request<ListActiveBreakpointsResponse>; + /** + * Updates the breakpoint state or mutable fields. + * The entire Breakpoint message must be sent back to the controller service. + * + * Updates to active breakpoint fields are only allowed if the new value + * does not change the breakpoint specification. Updates to the `location`, + * `condition` and `expressions` fields should not alter the breakpoint + * semantics. These may only make changes such as canonicalizing a value + * or snapping the location to the correct line of code. + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Identifies the debuggee being debugged. */ + debuggeeId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Breakpoint identifier, unique in the scope of the debuggee. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + } + interface DebuggeesResource { + /** + * Registers the debuggee with the controller service. + * + * All agents attached to the same application must call this method with + * exactly the same request content to get back the same stable `debuggee_id`. + * Agents should call this method again whenever `google.rpc.Code.NOT_FOUND` + * is returned from any controller method. + * + * This protocol allows the controller service to disable debuggees, recover + * from data loss, or change the `debuggee_id` format. Agents must handle + * `debuggee_id` value changing upon re-registration. + */ + register(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<RegisterDebuggeeResponse>; + breakpoints: BreakpointsResource; + } + interface ControllerResource { + debuggees: DebuggeesResource; + } + interface BreakpointsResource { + /** Deletes the breakpoint from the debuggee. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** ID of the breakpoint to delete. */ + breakpointId: string; + /** JSONP */ + callback?: string; + /** + * The client version making the call. + * Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). + */ + clientVersion?: string; + /** ID of the debuggee whose breakpoint to delete. */ + debuggeeId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets breakpoint information. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** ID of the breakpoint to get. */ + breakpointId: string; + /** JSONP */ + callback?: string; + /** + * The client version making the call. + * Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). + */ + clientVersion?: string; + /** ID of the debuggee whose breakpoint to get. */ + debuggeeId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GetBreakpointResponse>; + /** Lists all breakpoints for the debuggee. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Only breakpoints with the specified action will pass the filter. */ + "action.value"?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The client version making the call. + * Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). + */ + clientVersion?: string; + /** ID of the debuggee whose breakpoints to list. */ + debuggeeId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * When set to `true`, the response includes the list of breakpoints set by + * any user. Otherwise, it includes only breakpoints set by the caller. + */ + includeAllUsers?: boolean; + /** + * When set to `true`, the response includes active and inactive + * breakpoints. Otherwise, it includes only active breakpoints. + */ + includeInactive?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * This field is deprecated. The following fields are always stripped out of + * the result: `stack_frames`, `evaluated_expressions` and `variable_table`. + */ + stripResults?: boolean; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * A wait token that, if specified, blocks the call until the breakpoints + * list has changed, or a server selected timeout has expired. The value + * should be set from the last response. The error code + * `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which + * should be called again with the same `wait_token`. + */ + waitToken?: string; + }): Request<ListBreakpointsResponse>; + /** Sets the breakpoint to the debuggee. */ + set(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The client version making the call. + * Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). + */ + clientVersion?: string; + /** ID of the debuggee where the breakpoint is to be set. */ + debuggeeId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SetBreakpointResponse>; + } + interface DebuggeesResource { + /** Lists all the debuggees that the user has access to. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The client version making the call. + * Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). + */ + clientVersion?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * When set to `true`, the result includes all debuggees. Otherwise, the + * result includes only debuggees that are active. + */ + includeInactive?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project number of a Google Cloud project whose debuggees to list. */ + project?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListDebuggeesResponse>; + breakpoints: BreakpointsResource; + } + interface DebuggerResource { + debuggees: DebuggeesResource; + } + } +} diff --git a/types/gapi.client.clouddebugger/readme.md b/types/gapi.client.clouddebugger/readme.md new file mode 100644 index 0000000000..1b61d87192 --- /dev/null +++ b/types/gapi.client.clouddebugger/readme.md @@ -0,0 +1,58 @@ +# TypeScript typings for Stackdriver Debugger API v2 +Examines the call stack and variables of a running application without stopping or slowing it down. + +For detailed description please check [documentation](http://cloud.google.com/debugger). + +## Installing + +Install typings for Stackdriver Debugger API: +``` +npm install @types/gapi.client.clouddebugger@v2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('clouddebugger', 'v2', () => { + // now we can use gapi.client.clouddebugger + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // Manage cloud debugger + 'https://www.googleapis.com/auth/cloud_debugger', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Stackdriver Debugger API resources: + +```typescript +``` \ No newline at end of file diff --git a/types/gapi.client.clouddebugger/tsconfig.json b/types/gapi.client.clouddebugger/tsconfig.json new file mode 100644 index 0000000000..de9d4c94bc --- /dev/null +++ b/types/gapi.client.clouddebugger/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.clouddebugger-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.clouddebugger/tslint.json b/types/gapi.client.clouddebugger/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.clouddebugger/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.clouderrorreporting/gapi.client.clouderrorreporting-tests.ts b/types/gapi.client.clouderrorreporting/gapi.client.clouderrorreporting-tests.ts new file mode 100644 index 0000000000..7123a90021 --- /dev/null +++ b/types/gapi.client.clouderrorreporting/gapi.client.clouderrorreporting-tests.ts @@ -0,0 +1,36 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('clouderrorreporting', 'v1beta1', () => { + /** now we can use gapi.client.clouderrorreporting */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Deletes all error events of a given project. */ + await gapi.client.projects.deleteEvents({ + projectName: "projectName", + }); + } +}); diff --git a/types/gapi.client.clouderrorreporting/index.d.ts b/types/gapi.client.clouderrorreporting/index.d.ts new file mode 100644 index 0000000000..a19854416f --- /dev/null +++ b/types/gapi.client.clouderrorreporting/index.d.ts @@ -0,0 +1,614 @@ +// Type definitions for Google Stackdriver Error Reporting API v1beta1 1.0 +// Project: https://cloud.google.com/error-reporting/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://clouderrorreporting.googleapis.com/$discovery/rest?version=v1beta1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Stackdriver Error Reporting API v1beta1 */ + function load(name: "clouderrorreporting", version: "v1beta1"): PromiseLike<void>; + function load(name: "clouderrorreporting", version: "v1beta1", callback: () => any): void; + + const projects: clouderrorreporting.ProjectsResource; + + namespace clouderrorreporting { + interface ErrorContext { + /** + * The HTTP request which was processed when the error was + * triggered. + */ + httpRequest?: HttpRequestContext; + /** + * The location in the source code where the decision was made to + * report the error, usually the place where it was logged. + * For a logged exception this would be the source line where the + * exception is logged, usually close to the place where it was + * caught. + */ + reportLocation?: SourceLocation; + /** + * Source code that was used to build the executable which has + * caused the given error message. + */ + sourceReferences?: SourceReference[]; + /** + * The user who caused or was affected by the crash. + * This can be a user ID, an email address, or an arbitrary token that + * uniquely identifies the user. + * When sending an error report, leave this field empty if the user was not + * logged in. In this case the + * Error Reporting system will use other data, such as remote IP address, to + * distinguish affected users. See `affected_users_count` in + * `ErrorGroupStats`. + */ + user?: string; + } + interface ErrorEvent { + /** Data about the context in which the error occurred. */ + context?: ErrorContext; + /** + * Time when the event occurred as provided in the error report. + * If the report did not contain a timestamp, the time the error was received + * by the Error Reporting system is used. + */ + eventTime?: string; + /** The stack trace that was reported or logged by the service. */ + message?: string; + /** The `ServiceContext` for which this error was reported. */ + serviceContext?: ServiceContext; + } + interface ErrorGroup { + /** + * Group IDs are unique for a given project. If the same kind of error + * occurs in different service contexts, it will receive the same group ID. + */ + groupId?: string; + /** + * The group resource name. + * Example: <code>projects/my-project-123/groups/my-groupid</code> + */ + name?: string; + /** Associated tracking issues. */ + trackingIssues?: TrackingIssue[]; + } + interface ErrorGroupStats { + /** + * Service contexts with a non-zero error count for the given filter + * criteria. This list can be truncated if multiple services are affected. + * Refer to `num_affected_services` for the total count. + */ + affectedServices?: ServiceContext[]; + /** + * Approximate number of affected users in the given group that + * match the filter criteria. + * Users are distinguished by data in the `ErrorContext` of the + * individual error events, such as their login name or their remote + * IP address in case of HTTP requests. + * The number of affected users can be zero even if the number of + * errors is non-zero if no data was provided from which the + * affected user could be deduced. + * Users are counted based on data in the request + * context that was provided in the error report. If more users are + * implicitly affected, such as due to a crash of the whole service, + * this is not reflected here. + */ + affectedUsersCount?: string; + /** + * Approximate total number of events in the given group that match + * the filter criteria. + */ + count?: string; + /** + * Approximate first occurrence that was ever seen for this group + * and which matches the given filter criteria, ignoring the + * time_range that was specified in the request. + */ + firstSeenTime?: string; + /** Group data that is independent of the filter criteria. */ + group?: ErrorGroup; + /** + * Approximate last occurrence that was ever seen for this group and + * which matches the given filter criteria, ignoring the time_range + * that was specified in the request. + */ + lastSeenTime?: string; + /** + * The total number of services with a non-zero error count for the given + * filter criteria. + */ + numAffectedServices?: number; + /** + * An arbitrary event that is chosen as representative for the whole group. + * The representative event is intended to be used as a quick preview for + * the whole group. Events in the group are usually sufficiently similar + * to each other such that showing an arbitrary representative provides + * insight into the characteristics of the group as a whole. + */ + representative?: ErrorEvent; + /** + * Approximate number of occurrences over time. + * Timed counts returned by ListGroups are guaranteed to be: + * + * - Inside the requested time interval + * - Non-overlapping, and + * - Ordered by ascending time. + */ + timedCounts?: TimedCount[]; + } + interface HttpRequestContext { + /** The type of HTTP request, such as `GET`, `POST`, etc. */ + method?: string; + /** The referrer information that is provided with the request. */ + referrer?: string; + /** + * The IP address from which the request originated. + * This can be IPv4, IPv6, or a token which is derived from the + * IP address, depending on the data that has been provided + * in the error report. + */ + remoteIp?: string; + /** The HTTP response status code for the request. */ + responseStatusCode?: number; + /** The URL of the request. */ + url?: string; + /** The user agent information that is provided with the request. */ + userAgent?: string; + } + interface ListEventsResponse { + /** The error events which match the given request. */ + errorEvents?: ErrorEvent[]; + /** + * If non-empty, more results are available. + * Pass this token, along with the same query parameters as the first + * request, to view the next page of results. + */ + nextPageToken?: string; + /** The timestamp specifies the start time to which the request was restricted. */ + timeRangeBegin?: string; + } + interface ListGroupStatsResponse { + /** The error group stats which match the given request. */ + errorGroupStats?: ErrorGroupStats[]; + /** + * If non-empty, more results are available. + * Pass this token, along with the same query parameters as the first + * request, to view the next page of results. + */ + nextPageToken?: string; + /** + * The timestamp specifies the start time to which the request was restricted. + * The start time is set based on the requested time range. It may be adjusted + * to a later time if a project has exceeded the storage quota and older data + * has been deleted. + */ + timeRangeBegin?: string; + } + interface ReportedErrorEvent { + /** [Optional] A description of the context in which the error occurred. */ + context?: ErrorContext; + /** + * [Optional] Time when the event occurred. + * If not provided, the time when the event was received by the + * Error Reporting system will be used. + */ + eventTime?: string; + /** + * [Required] The error message. + * If no `context.reportLocation` is provided, the message must contain a + * header (typically consisting of the exception type name and an error + * message) and an exception stack trace in one of the supported programming + * languages and formats. + * Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go. + * Supported stack trace formats are: + * + * * **Java**: Must be the return value of + * [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29). + * * **Python**: Must be the return value of [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc). + * * **JavaScript**: Must be the value of [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) + * as returned by V8. + * * **Ruby**: Must contain frames returned by [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace). + * * **C#**: Must be the return value of [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx). + * * **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)` + * and contain the result of [`(string)$exception`](http://php.net/manual/en/exception.tostring.php). + * * **Go**: Must be the return value of [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack). + */ + message?: string; + /** [Required] The service context in which this error has occurred. */ + serviceContext?: ServiceContext; + } + interface ServiceContext { + /** + * Type of the MonitoredResource. List of possible values: + * https://cloud.google.com/monitoring/api/resources + * + * Value is set automatically for incoming errors and must not be set when + * reporting errors. + */ + resourceType?: string; + /** + * An identifier of the service, such as the name of the + * executable, job, or Google App Engine service name. This field is expected + * to have a low number of values that are relatively stable over time, as + * opposed to `version`, which can be changed whenever new code is deployed. + * + * Contains the service name for error reports extracted from Google + * App Engine logs or `default` if the App Engine default service is used. + */ + service?: string; + /** + * Represents the source code version that the developer provided, + * which could represent a version label or a Git SHA-1 hash, for example. + * For App Engine standard environment, the version is set to the version of + * the app. + */ + version?: string; + } + interface SourceLocation { + /** + * The source code filename, which can include a truncated relative + * path, or a full path from a production machine. + */ + filePath?: string; + /** + * Human-readable name of a function or method. + * The value can include optional context like the class or package name. + * For example, `my.package.MyClass.method` in case of Java. + */ + functionName?: string; + /** 1-based. 0 indicates that the line number is unknown. */ + lineNumber?: number; + } + interface SourceReference { + /** + * Optional. A URI string identifying the repository. + * Example: "https://github.com/GoogleCloudPlatform/kubernetes.git" + */ + repository?: string; + /** + * The canonical and persistent identifier of the deployed revision. + * Example (git): "0035781c50ec7aa23385dc841529ce8a4b70db1b" + */ + revisionId?: string; + } + interface TimedCount { + /** Approximate number of occurrences in the given time period. */ + count?: string; + /** End of the time period to which `count` refers (excluded). */ + endTime?: string; + /** Start of the time period to which `count` refers (included). */ + startTime?: string; + } + interface TrackingIssue { + /** + * A URL pointing to a related entry in an issue tracking system. + * Example: https://github.com/user/project/issues/4 + */ + url?: string; + } + interface EventsResource { + /** Lists the specified events. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** [Required] The group for which events shall be returned. */ + groupId?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** [Optional] The maximum number of results to return per response. */ + pageSize?: number; + /** [Optional] A `next_page_token` provided by a previous response. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * [Required] The resource name of the Google Cloud Platform project. Written + * as `projects/` plus the + * [Google Cloud Platform project + * ID](https://support.google.com/cloud/answer/6158840). + * Example: `projects/my-project-123`. + */ + projectName: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * [Optional] The exact value to match against + * [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type). + */ + "serviceFilter.resourceType"?: string; + /** + * [Optional] The exact value to match against + * [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service). + */ + "serviceFilter.service"?: string; + /** + * [Optional] The exact value to match against + * [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version). + */ + "serviceFilter.version"?: string; + /** Restricts the query to the specified time range. */ + "timeRange.period"?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListEventsResponse>; + /** + * Report an individual error event. + * + * This endpoint accepts <strong>either</strong> an OAuth token, + * <strong>or</strong> an + * <a href="https://support.google.com/cloud/answer/6158862">API key</a> + * for authentication. To use an API key, append it to the URL as the value of + * a `key` parameter. For example: + * <pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre> + */ + report(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * [Required] The resource name of the Google Cloud Platform project. Written + * as `projects/` plus the + * [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). + * Example: `projects/my-project-123`. + */ + projectName: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + } + interface GroupStatsResource { + /** Lists the specified groups. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** + * [Optional] The alignment of the timed counts to be returned. + * Default is `ALIGNMENT_EQUAL_AT_END`. + */ + alignment?: string; + /** + * [Optional] Time where the timed counts shall be aligned if rounded + * alignment is chosen. Default is 00:00 UTC. + */ + alignmentTime?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** [Optional] List all <code>ErrorGroupStats</code> with these IDs. */ + groupId?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * [Optional] The sort order in which the results are returned. + * Default is `COUNT_DESC`. + */ + order?: string; + /** + * [Optional] The maximum number of results to return per response. + * Default is 20. + */ + pageSize?: number; + /** + * [Optional] A `next_page_token` provided by a previous response. To view + * additional results, pass this token along with the identical query + * parameters as the first request. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * [Required] The resource name of the Google Cloud Platform project. Written + * as <code>projects/</code> plus the + * <a href="https://support.google.com/cloud/answer/6158840">Google Cloud + * Platform project ID</a>. + * + * Example: <code>projects/my-project-123</code>. + */ + projectName: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * [Optional] The exact value to match against + * [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type). + */ + "serviceFilter.resourceType"?: string; + /** + * [Optional] The exact value to match against + * [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service). + */ + "serviceFilter.service"?: string; + /** + * [Optional] The exact value to match against + * [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version). + */ + "serviceFilter.version"?: string; + /** Restricts the query to the specified time range. */ + "timeRange.period"?: string; + /** + * [Optional] The preferred duration for a single returned `TimedCount`. + * If not set, no timed counts are returned. + */ + timedCountDuration?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListGroupStatsResponse>; + } + interface GroupsResource { + /** Get the specified group. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * [Required] The group resource name. Written as + * <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>. + * Call + * <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list"> + * <code>groupStats.list</code></a> to return a list of groups belonging to + * this project. + * + * Example: <code>projects/my-project-123/groups/my-group</code> + */ + groupName: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ErrorGroup>; + /** + * Replace the data for the specified group. + * Fails if the group does not exist. + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The group resource name. + * Example: <code>projects/my-project-123/groups/my-groupid</code> + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ErrorGroup>; + } + interface ProjectsResource { + /** Deletes all error events of a given project. */ + deleteEvents(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * [Required] The resource name of the Google Cloud Platform project. Written + * as `projects/` plus the + * [Google Cloud Platform project + * ID](https://support.google.com/cloud/answer/6158840). + * Example: `projects/my-project-123`. + */ + projectName: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + events: EventsResource; + groupStats: GroupStatsResource; + groups: GroupsResource; + } + } +} diff --git a/types/gapi.client.clouderrorreporting/readme.md b/types/gapi.client.clouderrorreporting/readme.md new file mode 100644 index 0000000000..aacd09c395 --- /dev/null +++ b/types/gapi.client.clouderrorreporting/readme.md @@ -0,0 +1,60 @@ +# TypeScript typings for Stackdriver Error Reporting API v1beta1 +Groups and counts similar errors from cloud services and applications, reports new errors, and provides access to error groups and their associated errors. + +For detailed description please check [documentation](https://cloud.google.com/error-reporting/). + +## Installing + +Install typings for Stackdriver Error Reporting API: +``` +npm install @types/gapi.client.clouderrorreporting@v1beta1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('clouderrorreporting', 'v1beta1', () => { + // now we can use gapi.client.clouderrorreporting + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Stackdriver Error Reporting API resources: + +```typescript + +/* +Deletes all error events of a given project. +*/ +await gapi.client.projects.deleteEvents({ projectName: "projectName", }); +``` \ No newline at end of file diff --git a/types/gapi.client.clouderrorreporting/tsconfig.json b/types/gapi.client.clouderrorreporting/tsconfig.json new file mode 100644 index 0000000000..cc1296f8ee --- /dev/null +++ b/types/gapi.client.clouderrorreporting/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.clouderrorreporting-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.clouderrorreporting/tslint.json b/types/gapi.client.clouderrorreporting/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.clouderrorreporting/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.cloudfunctions/gapi.client.cloudfunctions-tests.ts b/types/gapi.client.cloudfunctions/gapi.client.cloudfunctions-tests.ts new file mode 100644 index 0000000000..fe11f8e612 --- /dev/null +++ b/types/gapi.client.cloudfunctions/gapi.client.cloudfunctions-tests.ts @@ -0,0 +1,58 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('cloudfunctions', 'v1', () => { + /** now we can use gapi.client.cloudfunctions */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + await gapi.client.operations.get({ + name: "name", + }); + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding allows API services to override the binding + * to use different resource name schemes, such as `users/*/operations`. To + * override the binding, API services can add a binding such as + * `"/v1/{name=users/*}/operations"` to their service configuration. + * For backwards compatibility, the default name includes the operations + * collection id, however overriding users must ensure the name binding + * is the parent resource, without the operations collection id. + */ + await gapi.client.operations.list({ + filter: "filter", + name: "name", + pageSize: 3, + pageToken: "pageToken", + }); + } +}); diff --git a/types/gapi.client.cloudfunctions/index.d.ts b/types/gapi.client.cloudfunctions/index.d.ts new file mode 100644 index 0000000000..f3cd5cc4a2 --- /dev/null +++ b/types/gapi.client.cloudfunctions/index.d.ts @@ -0,0 +1,249 @@ +// Type definitions for Google Google Cloud Functions API v1 1.0 +// Project: https://cloud.google.com/functions +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://cloudfunctions.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Cloud Functions API v1 */ + function load(name: "cloudfunctions", version: "v1"): PromiseLike<void>; + function load(name: "cloudfunctions", version: "v1", callback: () => any): void; + + const operations: cloudfunctions.OperationsResource; + + const projects: cloudfunctions.ProjectsResource; + + namespace cloudfunctions { + interface ListLocationsResponse { + /** A list of locations that matches the specified filter in the request. */ + locations?: Location[]; + /** The standard List next-page token. */ + nextPageToken?: string; + } + interface ListOperationsResponse { + /** The standard List next-page token. */ + nextPageToken?: string; + /** A list of operations that matches the specified filter in the request. */ + operations?: Operation[]; + } + interface Location { + /** + * Cross-service attributes for the location. For example + * + * {"cloud.googleapis.com/region": "us-east1"} + */ + labels?: Record<string, string>; + /** The canonical id for this location. For example: `"us-east1"`. */ + locationId?: string; + /** + * Service-specific metadata. For example the available capacity at the given + * location. + */ + metadata?: Record<string, any>; + /** + * Resource name for the location, which may vary between implementations. + * For example: `"projects/example-project/locations/us-east1"` + */ + name?: string; + } + interface Operation { + /** + * If the value is `false`, it means the operation is still in progress. + * If `true`, the operation is completed, and either `error` or `response` is + * available. + */ + done?: boolean; + /** The error result of the operation in case of failure or cancellation. */ + error?: Status; + /** + * Service-specific metadata associated with the operation. It typically + * contains progress information and common metadata such as create time. + * Some services might not provide such metadata. Any method that returns a + * long-running operation should document the metadata type, if any. + */ + metadata?: Record<string, any>; + /** + * The server-assigned name, which is only unique within the same service that + * originally returns it. If you use the default HTTP mapping, the + * `name` should have the format of `operations/some/unique/name`. + */ + name?: string; + /** + * The normal response of the operation in case of success. If the original + * method returns no data on success, such as `Delete`, the response is + * `google.protobuf.Empty`. If the original method is standard + * `Get`/`Create`/`Update`, the response should be the resource. For other + * methods, the response should have the type `XxxResponse`, where `Xxx` + * is the original method name. For example, if the original method name + * is `TakeSnapshot()`, the inferred response type is + * `TakeSnapshotResponse`. + */ + response?: Record<string, any>; + } + interface OperationMetadataV1Beta2 { + /** The original request that started the operation. */ + request?: Record<string, any>; + /** + * Target of the operation - for example + * projects/project-1/locations/region-1/functions/function-1 + */ + target?: string; + /** Type of operation. */ + type?: string; + /** + * Version id of the function created or updated by an API call. + * This field is only pupulated for Create and Update operations. + */ + versionId?: string; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface OperationsResource { + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding allows API services to override the binding + * to use different resource name schemes, such as `users/*/operations`. To + * override the binding, API services can add a binding such as + * `"/v1/{name=users/*}/operations"` to their service configuration. + * For backwards compatibility, the default name includes the operations + * collection id, however overriding users must ensure the name binding + * is the parent resource, without the operations collection id. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The standard list filter. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation's parent resource. */ + name?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The standard list page size. */ + pageSize?: number; + /** The standard list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListOperationsResponse>; + } + interface LocationsResource { + /** Lists information about the supported locations for this service. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The standard list filter. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The resource that owns the locations collection, if applicable. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The standard list page size. */ + pageSize?: number; + /** The standard list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListLocationsResponse>; + } + interface ProjectsResource { + locations: LocationsResource; + } + } +} diff --git a/types/gapi.client.cloudfunctions/readme.md b/types/gapi.client.cloudfunctions/readme.md new file mode 100644 index 0000000000..2d9c14ec33 --- /dev/null +++ b/types/gapi.client.cloudfunctions/readme.md @@ -0,0 +1,75 @@ +# TypeScript typings for Google Cloud Functions API v1 +API for managing lightweight user-provided functions executed in response to events. +For detailed description please check [documentation](https://cloud.google.com/functions). + +## Installing + +Install typings for Google Cloud Functions API: +``` +npm install @types/gapi.client.cloudfunctions@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('cloudfunctions', 'v1', () => { + // now we can use gapi.client.cloudfunctions + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Cloud Functions API resources: + +```typescript + +/* +Gets the latest state of a long-running operation. Clients can use this +method to poll the operation result at intervals as recommended by the API +service. +*/ +await gapi.client.operations.get({ name: "name", }); + +/* +Lists operations that match the specified filter in the request. If the +server doesn't support this method, it returns `UNIMPLEMENTED`. + +NOTE: the `name` binding allows API services to override the binding +to use different resource name schemes, such as `users/*/operations`. To +override the binding, API services can add a binding such as +`"/v1/{name=users/*}/operations"` to their service configuration. +For backwards compatibility, the default name includes the operations +collection id, however overriding users must ensure the name binding +is the parent resource, without the operations collection id. +*/ +await gapi.client.operations.list({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.cloudfunctions/tsconfig.json b/types/gapi.client.cloudfunctions/tsconfig.json new file mode 100644 index 0000000000..720b272f2e --- /dev/null +++ b/types/gapi.client.cloudfunctions/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.cloudfunctions-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.cloudfunctions/tslint.json b/types/gapi.client.cloudfunctions/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.cloudfunctions/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.cloudiot/gapi.client.cloudiot-tests.ts b/types/gapi.client.cloudiot/gapi.client.cloudiot-tests.ts new file mode 100644 index 0000000000..f9e8f3f18b --- /dev/null +++ b/types/gapi.client.cloudiot/gapi.client.cloudiot-tests.ts @@ -0,0 +1,34 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('cloudiot', 'v1', () => { + /** now we can use gapi.client.cloudiot */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** Register and manage devices in the Google Cloud IoT service */ + 'https://www.googleapis.com/auth/cloudiot', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + } +}); diff --git a/types/gapi.client.cloudiot/index.d.ts b/types/gapi.client.cloudiot/index.d.ts new file mode 100644 index 0000000000..eeb0647503 --- /dev/null +++ b/types/gapi.client.cloudiot/index.d.ts @@ -0,0 +1,1161 @@ +// Type definitions for Google Google Cloud IoT API v1 1.0 +// Project: https://cloud.google.com/iot +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://cloudiot.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Cloud IoT API v1 */ + function load(name: "cloudiot", version: "v1"): PromiseLike<void>; + function load(name: "cloudiot", version: "v1", callback: () => any): void; + + const projects: cloudiot.ProjectsResource; + + namespace cloudiot { + interface AuditConfig { + /** + * The configuration for logging of each type of permission. + * Next ID: 4 + */ + auditLogConfigs?: AuditLogConfig[]; + exemptedMembers?: string[]; + /** + * Specifies a service that will be enabled for audit logging. + * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. + * `allServices` is a special value that covers all services. + */ + service?: string; + } + interface AuditLogConfig { + /** + * Specifies the identities that do not cause logging for this type of + * permission. + * Follows the same format of Binding.members. + */ + exemptedMembers?: string[]; + /** The log type that this config enables. */ + logType?: string; + } + interface Binding { + /** + * The condition that is associated with this binding. + * NOTE: an unsatisfied condition will not allow user access via current + * binding. Different bindings, including their conditions, are examined + * independently. + * This field is GOOGLE_INTERNAL. + */ + condition?: Expr; + /** + * Specifies the identities requesting access for a Cloud Platform resource. + * `members` can have the following values: + * + * * `allUsers`: A special identifier that represents anyone who is + * on the internet; with or without a Google account. + * + * * `allAuthenticatedUsers`: A special identifier that represents anyone + * who is authenticated with a Google account or a service account. + * + * * `user:{emailid}`: An email address that represents a specific Google + * account. For example, `alice@gmail.com` or `joe@example.com`. + * + * + * * `serviceAccount:{emailid}`: An email address that represents a service + * account. For example, `my-other-app@appspot.gserviceaccount.com`. + * + * * `group:{emailid}`: An email address that represents a Google group. + * For example, `admins@example.com`. + * + * + * * `domain:{domain}`: A Google Apps domain name that represents all the + * users of that domain. For example, `google.com` or `example.com`. + */ + members?: string[]; + /** + * Role that is assigned to `members`. + * For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + * Required + */ + role?: string; + } + interface Device { + /** + * If a device is blocked, connections or requests from this device will fail. + * Can be used to temporarily prevent the device from connecting if, for + * example, the sensor is generating bad data and needs maintenance. + */ + blocked?: boolean; + /** + * The most recent device configuration, which is eventually sent from + * Cloud IoT Core to the device. If not present on creation, the + * configuration will be initialized with an empty payload and version value + * of `1`. To update this field after creation, use the + * `DeviceManager.ModifyCloudToDeviceConfig` method. + */ + config?: DeviceConfig; + /** + * The credentials used to authenticate this device. To allow credential + * rotation without interruption, multiple device credentials can be bound to + * this device. No more than 3 credentials can be bound to a single device at + * a time. When new credentials are added to a device, they are verified + * against the registry credentials. For details, see the description of the + * `DeviceRegistry.credentials` field. + */ + credentials?: DeviceCredential[]; + /** + * The user-defined device identifier. The device ID must be unique + * within a device registry. + */ + id?: string; + /** + * [Output only] The last time a cloud-to-device config version acknowledgment + * was received from the device. This field is only for configurations + * sent through MQTT. + */ + lastConfigAckTime?: string; + /** + * [Output only] The last time a cloud-to-device config version was sent to + * the device. + */ + lastConfigSendTime?: string; + /** + * [Output only] The error message of the most recent error, such as a failure + * to publish to Cloud Pub/Sub. 'last_error_time' is the timestamp of this + * field. If no errors have occurred, this field has an empty message + * and the status code 0 == OK. Otherwise, this field is expected to have a + * status code other than OK. + */ + lastErrorStatus?: Status; + /** + * [Output only] The time the most recent error occurred, such as a failure to + * publish to Cloud Pub/Sub. This field is the timestamp of + * 'last_error_status'. + */ + lastErrorTime?: string; + /** + * [Output only] The last time a telemetry event was received. Timestamps are + * periodically collected and written to storage; they may be stale by a few + * minutes. + */ + lastEventTime?: string; + /** + * [Output only] The last time a heartbeat was received. Timestamps are + * periodically collected and written to storage; they may be stale by a few + * minutes. This field is only for devices connecting through MQTT. + */ + lastHeartbeatTime?: string; + /** + * [Output only] The last time a state event was received. Timestamps are + * periodically collected and written to storage; they may be stale by a few + * minutes. + */ + lastStateTime?: string; + /** + * The metadata key-value pairs assigned to the device. This metadata is not + * interpreted or indexed by Cloud IoT Core. It can be used to add contextual + * information for the device. + * + * Keys must conform to the regular expression [a-zA-Z0-9-_]+ and be less than + * 128 bytes in length. + * + * Values are free-form strings. Each value must be less than or equal to 32 + * KB in size. + * + * The total size of all keys and values must be less than 256 KB, and the + * maximum number of key-value pairs is 500. + */ + metadata?: Record<string, string>; + /** + * The resource path name. For example, + * `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or + * `projects/p1/locations/us-central1/registries/registry0/devices/{num_id}`. + * When `name` is populated as a response from the service, it always ends + * in the device numeric ID. + */ + name?: string; + /** + * [Output only] A server-defined unique numeric ID for the device. This is a + * more compact way to identify devices, and it is globally unique. + */ + numId?: string; + /** + * [Output only] The state most recently received from the device. If no state + * has been reported, this field is not present. + */ + state?: DeviceState; + } + interface DeviceConfig { + /** The device configuration data. */ + binaryData?: string; + /** + * [Output only] The time at which this configuration version was updated in + * Cloud IoT Core. This timestamp is set by the server. + */ + cloudUpdateTime?: string; + /** + * [Output only] The time at which Cloud IoT Core received the + * acknowledgment from the device, indicating that the device has received + * this configuration version. If this field is not present, the device has + * not yet acknowledged that it received this version. Note that when + * the config was sent to the device, many config versions may have been + * available in Cloud IoT Core while the device was disconnected, and on + * connection, only the latest version is sent to the device. Some + * versions may never be sent to the device, and therefore are never + * acknowledged. This timestamp is set by Cloud IoT Core. + */ + deviceAckTime?: string; + /** + * [Output only] The version of this update. The version number is assigned by + * the server, and is always greater than 0 after device creation. The + * version must be 0 on the `CreateDevice` request if a `config` is + * specified; the response of `CreateDevice` will always have a value of 1. + */ + version?: string; + } + interface DeviceCredential { + /** + * [Optional] The time at which this credential becomes invalid. This + * credential will be ignored for new client authentication requests after + * this timestamp; however, it will not be automatically deleted. + */ + expirationTime?: string; + /** + * A public key used to verify the signature of JSON Web Tokens (JWTs). + * When adding a new device credential, either via device creation or via + * modifications, this public key credential may be required to be signed by + * one of the registry level certificates. More specifically, if the + * registry contains at least one certificate, any new device credential + * must be signed by one of the registry certificates. As a result, + * when the registry contains certificates, only X.509 certificates are + * accepted as device credentials. However, if the registry does + * not contain a certificate, self-signed certificates and public keys will + * be accepted. New device credentials must be different from every + * registry-level certificate. + */ + publicKey?: PublicKeyCredential; + } + interface DeviceRegistry { + /** + * The credentials used to verify the device credentials. No more than 10 + * credentials can be bound to a single registry at a time. The verification + * process occurs at the time of device creation or update. If this field is + * empty, no verification is performed. Otherwise, the credentials of a newly + * created device or added credentials of an updated device should be signed + * with one of these registry credentials. + * + * Note, however, that existing devices will never be affected by + * modifications to this list of credentials: after a device has been + * successfully created in a registry, it should be able to connect even if + * its registry credentials are revoked, deleted, or modified. + */ + credentials?: RegistryCredential[]; + /** + * The configuration for notification of telemetry events received from the + * device. All telemetry events that were successfully published by the + * device and acknowledged by Cloud IoT Core are guaranteed to be + * delivered to Cloud Pub/Sub. Only the first configuration is used. + */ + eventNotificationConfigs?: EventNotificationConfig[]; + /** The DeviceService (HTTP) configuration for this device registry. */ + httpConfig?: HttpConfig; + /** The identifier of this device registry. For example, `myRegistry`. */ + id?: string; + /** The MQTT configuration for this device registry. */ + mqttConfig?: MqttConfig; + /** + * The resource path name. For example, + * `projects/example-project/locations/us-central1/registries/my-registry`. + */ + name?: string; + /** + * The configuration for notification of new states received from the device. + * State updates are guaranteed to be stored in the state history, but + * notifications to Cloud Pub/Sub are not guaranteed. For example, if + * permissions are misconfigured or the specified topic doesn't exist, no + * notification will be published but the state will still be stored in Cloud + * IoT Core. + */ + stateNotificationConfig?: StateNotificationConfig; + } + interface DeviceState { + /** The device state data. */ + binaryData?: string; + /** + * [Output only] The time at which this state version was updated in Cloud + * IoT Core. + */ + updateTime?: string; + } + interface EventNotificationConfig { + /** + * A Cloud Pub/Sub topic name. For example, + * `projects/myProject/topics/deviceEvents`. + */ + pubsubTopicName?: string; + } + interface Expr { + /** + * An optional description of the expression. This is a longer text which + * describes the expression, e.g. when hovered over it in a UI. + */ + description?: string; + /** + * Textual representation of an expression in + * Common Expression Language syntax. + * + * The application context of the containing message determines which + * well-known feature set of CEL is supported. + */ + expression?: string; + /** + * An optional string indicating the location of the expression for error + * reporting, e.g. a file name and a position in the file. + */ + location?: string; + /** + * An optional title for the expression, i.e. a short string describing + * its purpose. This can be used e.g. in UIs which allow to enter the + * expression. + */ + title?: string; + } + interface HttpConfig { + /** + * If enabled, allows devices to use DeviceService via the HTTP protocol. + * Otherwise, any requests to DeviceService will fail for this registry. + */ + httpEnabledState?: string; + } + interface ListDeviceConfigVersionsResponse { + /** + * The device configuration for the last few versions. Versions are listed + * in decreasing order, starting from the most recent one. + */ + deviceConfigs?: DeviceConfig[]; + } + interface ListDeviceRegistriesResponse { + /** The registries that matched the query. */ + deviceRegistries?: DeviceRegistry[]; + /** + * If not empty, indicates that there may be more registries that match the + * request; this value should be passed in a new + * `ListDeviceRegistriesRequest`. + */ + nextPageToken?: string; + } + interface ListDeviceStatesResponse { + /** + * The last few device states. States are listed in descending order of server + * update time, starting from the most recent one. + */ + deviceStates?: DeviceState[]; + } + interface ListDevicesResponse { + /** The devices that match the request. */ + devices?: Device[]; + /** + * If not empty, indicates that there may be more devices that match the + * request; this value should be passed in a new `ListDevicesRequest`. + */ + nextPageToken?: string; + } + interface ModifyCloudToDeviceConfigRequest { + /** The configuration data for the device. */ + binaryData?: string; + /** + * The version number to update. If this value is zero, it will not check the + * version number of the server and will always update the current version; + * otherwise, this update will fail if the version number found on the server + * does not match this version number. This is used to support multiple + * simultaneous updates without losing data. + */ + versionToUpdate?: string; + } + interface MqttConfig { + /** + * If enabled, allows connections using the MQTT protocol. Otherwise, MQTT + * connections to this registry will fail. + */ + mqttEnabledState?: string; + } + interface Policy { + /** Specifies cloud audit logging configuration for this policy. */ + auditConfigs?: AuditConfig[]; + /** + * Associates a list of `members` to a `role`. + * `bindings` with no members will result in an error. + */ + bindings?: Binding[]; + /** + * `etag` is used for optimistic concurrency control as a way to help + * prevent simultaneous updates of a policy from overwriting each other. + * It is strongly suggested that systems make use of the `etag` in the + * read-modify-write cycle to perform policy updates in order to avoid race + * conditions: An `etag` is returned in the response to `getIamPolicy`, and + * systems are expected to put that etag in the request to `setIamPolicy` to + * ensure that their change will be applied to the same version of the policy. + * + * If no `etag` is provided in the call to `setIamPolicy`, then the existing + * policy is overwritten blindly. + */ + etag?: string; + iamOwned?: boolean; + /** Version of the `Policy`. The default version is 0. */ + version?: number; + } + interface PublicKeyCertificate { + /** The certificate data. */ + certificate?: string; + /** The certificate format. */ + format?: string; + /** [Output only] The certificate details. Used only for X.509 certificates. */ + x509Details?: X509CertificateDetails; + } + interface PublicKeyCredential { + /** The format of the key. */ + format?: string; + /** The key data. */ + key?: string; + } + interface RegistryCredential { + /** A public key certificate used to verify the device credentials. */ + publicKeyCertificate?: PublicKeyCertificate; + } + interface SetIamPolicyRequest { + /** + * REQUIRED: The complete policy to be applied to the `resource`. The size of + * the policy is limited to a few 10s of KB. An empty policy is a + * valid policy but certain Cloud Platform services (such as Projects) + * might reject them. + */ + policy?: Policy; + /** + * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only + * the fields in the mask will be modified. If no mask is provided, the + * following default mask is used: + * paths: "bindings, etag" + * This field is only used by Cloud IAM. + */ + updateMask?: string; + } + interface StateNotificationConfig { + /** + * A Cloud Pub/Sub topic name. For example, + * `projects/myProject/topics/deviceEvents`. + */ + pubsubTopicName?: string; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface TestIamPermissionsRequest { + /** + * The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more + * information see + * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + */ + permissions?: string[]; + } + interface TestIamPermissionsResponse { + /** + * A subset of `TestPermissionsRequest.permissions` that the caller is + * allowed. + */ + permissions?: string[]; + } + interface X509CertificateDetails { + /** The time the certificate becomes invalid. */ + expiryTime?: string; + /** The entity that signed the certificate. */ + issuer?: string; + /** The type of public key in the certificate. */ + publicKeyType?: string; + /** The algorithm used to sign the certificate. */ + signatureAlgorithm?: string; + /** The time the certificate becomes valid. */ + startTime?: string; + /** The entity the certificate and public key belong to. */ + subject?: string; + } + interface ConfigVersionsResource { + /** + * Lists the last few versions of the device configuration in descending + * order (i.e.: newest first). + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The name of the device. For example, + * `projects/p0/locations/us-central1/registries/registry0/devices/device0` or + * `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. + */ + name: string; + /** + * The number of versions to list. Versions are listed in decreasing order of + * the version number. The maximum number of versions retained is 10. If this + * value is zero, it will return all the versions available. + */ + numVersions?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListDeviceConfigVersionsResponse>; + } + interface StatesResource { + /** + * Lists the last few versions of the device state in descending order (i.e.: + * newest first). + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The name of the device. For example, + * `projects/p0/locations/us-central1/registries/registry0/devices/device0` or + * `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. + */ + name: string; + /** + * The number of states to list. States are listed in descending order of + * update time. The maximum number of states retained is 10. If this + * value is zero, it will return all the states available. + */ + numStates?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListDeviceStatesResponse>; + } + interface DevicesResource { + /** Creates a device in a device registry. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The name of the device registry where this device should be created. + * For example, + * `projects/example-project/locations/us-central1/registries/my-registry`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Device>; + /** Deletes a device. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The name of the device. For example, + * `projects/p0/locations/us-central1/registries/registry0/devices/device0` or + * `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets details about a device. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The name of the device. For example, + * `projects/p0/locations/us-central1/registries/registry0/devices/device0` or + * `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Device>; + /** List devices in a device registry. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * A list of device string identifiers. If empty, it will ignore this field. + * For example, `['device0', 'device12']`. This field cannot hold more than + * 10,000 entries. + */ + deviceIds?: string; + /** + * A list of device numerical ids. If empty, it will ignore this field. This + * field cannot hold more than 10,000 entries. + */ + deviceNumIds?: string; + /** + * The fields of the `Device` resource to be returned in the response. The + * fields `id`, and `num_id` are always returned by default, along with any + * other fields specified. + */ + fieldMask?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The maximum number of devices to return in the response. If this value + * is zero, the service will select a default size. A call may return fewer + * objects than requested, but if there is a non-empty `page_token`, it + * indicates that more entries are available. + */ + pageSize?: number; + /** + * The value returned by the last `ListDevicesResponse`; indicates + * that this is a continuation of a prior `ListDevices` call, and + * that the system should return the next page of data. + */ + pageToken?: string; + /** + * The device registry path. Required. For example, + * `projects/my-project/locations/us-central1/registries/my-registry`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListDevicesResponse>; + /** + * Modifies the configuration for the device, which is eventually sent from + * the Cloud IoT Core servers. Returns the modified configuration version and + * its metadata. + */ + modifyCloudToDeviceConfig(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The name of the device. For example, + * `projects/p0/locations/us-central1/registries/registry0/devices/device0` or + * `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<DeviceConfig>; + /** Updates a device. */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource path name. For example, + * `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or + * `projects/p1/locations/us-central1/registries/registry0/devices/{num_id}`. + * When `name` is populated as a response from the service, it always ends + * in the device numeric ID. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Only updates the `device` fields indicated by this mask. + * The field mask must not be empty, and it must not contain fields that + * are immutable or only set by the server. + * Mutable top-level fields: `credentials`, `enabled_state`, and `metadata` + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Device>; + configVersions: ConfigVersionsResource; + states: StatesResource; + } + interface RegistriesResource { + /** Creates a device registry that contains devices. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The project and cloud region where this device registry must be created. + * For example, `projects/example-project/locations/us-central1`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<DeviceRegistry>; + /** Deletes a device registry configuration. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The name of the device registry. For example, + * `projects/example-project/locations/us-central1/registries/my-registry`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets a device registry configuration. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The name of the device registry. For example, + * `projects/example-project/locations/us-central1/registries/my-registry`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<DeviceRegistry>; + /** + * Gets the access control policy for a resource. + * Returns an empty policy if the resource exists and does not have a policy + * set. + */ + getIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** Lists device registries. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The maximum number of registries to return in the response. If this value + * is zero, the service will select a default size. A call may return fewer + * objects than requested, but if there is a non-empty `page_token`, it + * indicates that more entries are available. + */ + pageSize?: number; + /** + * The value returned by the last `ListDeviceRegistriesResponse`; indicates + * that this is a continuation of a prior `ListDeviceRegistries` call, and + * that the system should return the next page of data. + */ + pageToken?: string; + /** + * The project and cloud region path. For example, + * `projects/example-project/locations/us-central1`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListDeviceRegistriesResponse>; + /** Updates a device registry configuration. */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource path name. For example, + * `projects/example-project/locations/us-central1/registries/my-registry`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Only updates the `device_registry` fields indicated by this mask. + * The field mask must not be empty, and it must not contain fields that + * are immutable or only set by the server. + * Mutable top-level fields: `event_notification_config`, `mqtt_config`, and + * `state_notification_config`. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<DeviceRegistry>; + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. + */ + setIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being specified. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Returns permissions that a caller has on the specified resource. + * If the resource does not exist, this will return an empty set of + * permissions, not a NOT_FOUND error. + */ + testIamPermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy detail is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TestIamPermissionsResponse>; + devices: DevicesResource; + } + interface LocationsResource { + registries: RegistriesResource; + } + interface ProjectsResource { + locations: LocationsResource; + } + } +} diff --git a/types/gapi.client.cloudiot/readme.md b/types/gapi.client.cloudiot/readme.md new file mode 100644 index 0000000000..290068ffb7 --- /dev/null +++ b/types/gapi.client.cloudiot/readme.md @@ -0,0 +1,58 @@ +# TypeScript typings for Google Cloud IoT API v1 +Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform. + +For detailed description please check [documentation](https://cloud.google.com/iot). + +## Installing + +Install typings for Google Cloud IoT API: +``` +npm install @types/gapi.client.cloudiot@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('cloudiot', 'v1', () => { + // now we can use gapi.client.cloudiot + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // Register and manage devices in the Google Cloud IoT service + 'https://www.googleapis.com/auth/cloudiot', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Cloud IoT API resources: + +```typescript +``` \ No newline at end of file diff --git a/types/gapi.client.cloudiot/tsconfig.json b/types/gapi.client.cloudiot/tsconfig.json new file mode 100644 index 0000000000..03ed93c76d --- /dev/null +++ b/types/gapi.client.cloudiot/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.cloudiot-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.cloudiot/tslint.json b/types/gapi.client.cloudiot/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.cloudiot/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.cloudkms/gapi.client.cloudkms-tests.ts b/types/gapi.client.cloudkms/gapi.client.cloudkms-tests.ts new file mode 100644 index 0000000000..07eeeeb5d7 --- /dev/null +++ b/types/gapi.client.cloudkms/gapi.client.cloudkms-tests.ts @@ -0,0 +1,32 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('cloudkms', 'v1', () => { + /** now we can use gapi.client.cloudkms */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + } +}); diff --git a/types/gapi.client.cloudkms/index.d.ts b/types/gapi.client.cloudkms/index.d.ts new file mode 100644 index 0000000000..82f44805fd --- /dev/null +++ b/types/gapi.client.cloudkms/index.d.ts @@ -0,0 +1,1285 @@ +// Type definitions for Google Google Cloud Key Management Service (KMS) API v1 1.0 +// Project: https://cloud.google.com/kms/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://cloudkms.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Cloud Key Management Service (KMS) API v1 */ + function load(name: "cloudkms", version: "v1"): PromiseLike<void>; + function load(name: "cloudkms", version: "v1", callback: () => any): void; + + const projects: cloudkms.ProjectsResource; + + namespace cloudkms { + interface AuditConfig { + /** + * The configuration for logging of each type of permission. + * Next ID: 4 + */ + auditLogConfigs?: AuditLogConfig[]; + exemptedMembers?: string[]; + /** + * Specifies a service that will be enabled for audit logging. + * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. + * `allServices` is a special value that covers all services. + */ + service?: string; + } + interface AuditLogConfig { + /** + * Specifies the identities that do not cause logging for this type of + * permission. + * Follows the same format of Binding.members. + */ + exemptedMembers?: string[]; + /** The log type that this config enables. */ + logType?: string; + } + interface Binding { + /** + * The condition that is associated with this binding. + * NOTE: an unsatisfied condition will not allow user access via current + * binding. Different bindings, including their conditions, are examined + * independently. + * This field is GOOGLE_INTERNAL. + */ + condition?: Expr; + /** + * Specifies the identities requesting access for a Cloud Platform resource. + * `members` can have the following values: + * + * * `allUsers`: A special identifier that represents anyone who is + * on the internet; with or without a Google account. + * + * * `allAuthenticatedUsers`: A special identifier that represents anyone + * who is authenticated with a Google account or a service account. + * + * * `user:{emailid}`: An email address that represents a specific Google + * account. For example, `alice@gmail.com` or `joe@example.com`. + * + * + * * `serviceAccount:{emailid}`: An email address that represents a service + * account. For example, `my-other-app@appspot.gserviceaccount.com`. + * + * * `group:{emailid}`: An email address that represents a Google group. + * For example, `admins@example.com`. + * + * + * * `domain:{domain}`: A Google Apps domain name that represents all the + * users of that domain. For example, `google.com` or `example.com`. + */ + members?: string[]; + /** + * Role that is assigned to `members`. + * For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + * Required + */ + role?: string; + } + interface CryptoKey { + /** Output only. The time at which this CryptoKey was created. */ + createTime?: string; + /** Labels with user defined metadata. */ + labels?: Record<string, string>; + /** + * Output only. The resource name for this CryptoKey in the format + * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + */ + name?: string; + /** + * At next_rotation_time, the Key Management Service will automatically: + * + * 1. Create a new version of this CryptoKey. + * 2. Mark the new version as primary. + * + * Key rotations performed manually via + * CreateCryptoKeyVersion and + * UpdateCryptoKeyPrimaryVersion + * do not affect next_rotation_time. + */ + nextRotationTime?: string; + /** + * Output only. A copy of the "primary" CryptoKeyVersion that will be used + * by Encrypt when this CryptoKey is given + * in EncryptRequest.name. + * + * The CryptoKey's primary version can be updated via + * UpdateCryptoKeyPrimaryVersion. + */ + primary?: CryptoKeyVersion; + /** + * The immutable purpose of this CryptoKey. Currently, the only acceptable + * purpose is ENCRYPT_DECRYPT. + */ + purpose?: string; + /** + * next_rotation_time will be advanced by this period when the service + * automatically rotates a key. Must be at least one day. + * + * If rotation_period is set, next_rotation_time must also be set. + */ + rotationPeriod?: string; + } + interface CryptoKeyVersion { + /** Output only. The time at which this CryptoKeyVersion was created. */ + createTime?: string; + /** + * Output only. The time this CryptoKeyVersion's key material was + * destroyed. Only present if state is + * DESTROYED. + */ + destroyEventTime?: string; + /** + * Output only. The time this CryptoKeyVersion's key material is scheduled + * for destruction. Only present if state is + * DESTROY_SCHEDULED. + */ + destroyTime?: string; + /** + * Output only. The resource name for this CryptoKeyVersion in the format + * `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. + */ + name?: string; + /** The current state of the CryptoKeyVersion. */ + state?: string; + } + interface DecryptRequest { + /** + * Optional data that must match the data originally supplied in + * EncryptRequest.additional_authenticated_data. + */ + additionalAuthenticatedData?: string; + /** + * Required. The encrypted data originally returned in + * EncryptResponse.ciphertext. + */ + ciphertext?: string; + } + interface DecryptResponse { + /** The decrypted data originally supplied in EncryptRequest.plaintext. */ + plaintext?: string; + } + interface EncryptRequest { + /** + * Optional data that, if specified, must also be provided during decryption + * through DecryptRequest.additional_authenticated_data. Must be no + * larger than 64KiB. + */ + additionalAuthenticatedData?: string; + /** Required. The data to encrypt. Must be no larger than 64KiB. */ + plaintext?: string; + } + interface EncryptResponse { + /** The encrypted data. */ + ciphertext?: string; + /** The resource name of the CryptoKeyVersion used in encryption. */ + name?: string; + } + interface Expr { + /** + * An optional description of the expression. This is a longer text which + * describes the expression, e.g. when hovered over it in a UI. + */ + description?: string; + /** + * Textual representation of an expression in + * Common Expression Language syntax. + * + * The application context of the containing message determines which + * well-known feature set of CEL is supported. + */ + expression?: string; + /** + * An optional string indicating the location of the expression for error + * reporting, e.g. a file name and a position in the file. + */ + location?: string; + /** + * An optional title for the expression, i.e. a short string describing + * its purpose. This can be used e.g. in UIs which allow to enter the + * expression. + */ + title?: string; + } + interface KeyRing { + /** Output only. The time at which this KeyRing was created. */ + createTime?: string; + /** + * Output only. The resource name for the KeyRing in the format + * `projects/*/locations/*/keyRings/*`. + */ + name?: string; + } + interface ListCryptoKeyVersionsResponse { + /** The list of CryptoKeyVersions. */ + cryptoKeyVersions?: CryptoKeyVersion[]; + /** + * A token to retrieve next page of results. Pass this value in + * ListCryptoKeyVersionsRequest.page_token to retrieve the next page of + * results. + */ + nextPageToken?: string; + /** + * The total number of CryptoKeyVersions that matched the + * query. + */ + totalSize?: number; + } + interface ListCryptoKeysResponse { + /** The list of CryptoKeys. */ + cryptoKeys?: CryptoKey[]; + /** + * A token to retrieve next page of results. Pass this value in + * ListCryptoKeysRequest.page_token to retrieve the next page of results. + */ + nextPageToken?: string; + /** The total number of CryptoKeys that matched the query. */ + totalSize?: number; + } + interface ListKeyRingsResponse { + /** The list of KeyRings. */ + keyRings?: KeyRing[]; + /** + * A token to retrieve next page of results. Pass this value in + * ListKeyRingsRequest.page_token to retrieve the next page of results. + */ + nextPageToken?: string; + /** The total number of KeyRings that matched the query. */ + totalSize?: number; + } + interface ListLocationsResponse { + /** A list of locations that matches the specified filter in the request. */ + locations?: Location[]; + /** The standard List next-page token. */ + nextPageToken?: string; + } + interface Location { + /** + * Cross-service attributes for the location. For example + * + * {"cloud.googleapis.com/region": "us-east1"} + */ + labels?: Record<string, string>; + /** The canonical id for this location. For example: `"us-east1"`. */ + locationId?: string; + /** + * Service-specific metadata. For example the available capacity at the given + * location. + */ + metadata?: Record<string, any>; + /** + * Resource name for the location, which may vary between implementations. + * For example: `"projects/example-project/locations/us-east1"` + */ + name?: string; + } + interface Policy { + /** Specifies cloud audit logging configuration for this policy. */ + auditConfigs?: AuditConfig[]; + /** + * Associates a list of `members` to a `role`. + * `bindings` with no members will result in an error. + */ + bindings?: Binding[]; + /** + * `etag` is used for optimistic concurrency control as a way to help + * prevent simultaneous updates of a policy from overwriting each other. + * It is strongly suggested that systems make use of the `etag` in the + * read-modify-write cycle to perform policy updates in order to avoid race + * conditions: An `etag` is returned in the response to `getIamPolicy`, and + * systems are expected to put that etag in the request to `setIamPolicy` to + * ensure that their change will be applied to the same version of the policy. + * + * If no `etag` is provided in the call to `setIamPolicy`, then the existing + * policy is overwritten blindly. + */ + etag?: string; + iamOwned?: boolean; + /** Version of the `Policy`. The default version is 0. */ + version?: number; + } + interface SetIamPolicyRequest { + /** + * REQUIRED: The complete policy to be applied to the `resource`. The size of + * the policy is limited to a few 10s of KB. An empty policy is a + * valid policy but certain Cloud Platform services (such as Projects) + * might reject them. + */ + policy?: Policy; + /** + * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only + * the fields in the mask will be modified. If no mask is provided, the + * following default mask is used: + * paths: "bindings, etag" + * This field is only used by Cloud IAM. + */ + updateMask?: string; + } + interface TestIamPermissionsRequest { + /** + * The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more + * information see + * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + */ + permissions?: string[]; + } + interface TestIamPermissionsResponse { + /** + * A subset of `TestPermissionsRequest.permissions` that the caller is + * allowed. + */ + permissions?: string[]; + } + interface UpdateCryptoKeyPrimaryVersionRequest { + /** The id of the child CryptoKeyVersion to use as primary. */ + cryptoKeyVersionId?: string; + } + interface CryptoKeyVersionsResource { + /** + * Create a new CryptoKeyVersion in a CryptoKey. + * + * The server will assign the next sequential id. If unset, + * state will be set to + * ENABLED. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Required. The name of the CryptoKey associated with + * the CryptoKeyVersions. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CryptoKeyVersion>; + /** + * Schedule a CryptoKeyVersion for destruction. + * + * Upon calling this method, CryptoKeyVersion.state will be set to + * DESTROY_SCHEDULED + * and destroy_time will be set to a time 24 + * hours in the future, at which point the state + * will be changed to + * DESTROYED, and the key + * material will be irrevocably destroyed. + * + * Before the destroy_time is reached, + * RestoreCryptoKeyVersion may be called to reverse the process. + */ + destroy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The resource name of the CryptoKeyVersion to destroy. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CryptoKeyVersion>; + /** Returns metadata for a given CryptoKeyVersion. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the CryptoKeyVersion to get. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CryptoKeyVersion>; + /** Lists CryptoKeyVersions. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional limit on the number of CryptoKeyVersions to + * include in the response. Further CryptoKeyVersions can + * subsequently be obtained by including the + * ListCryptoKeyVersionsResponse.next_page_token in a subsequent request. + * If unspecified, the server will pick an appropriate default. + */ + pageSize?: number; + /** + * Optional pagination token, returned earlier via + * ListCryptoKeyVersionsResponse.next_page_token. + */ + pageToken?: string; + /** + * Required. The resource name of the CryptoKey to list, in the format + * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListCryptoKeyVersionsResponse>; + /** + * Update a CryptoKeyVersion's metadata. + * + * state may be changed between + * ENABLED and + * DISABLED using this + * method. See DestroyCryptoKeyVersion and RestoreCryptoKeyVersion to + * move between other states. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Output only. The resource name for this CryptoKeyVersion in the format + * `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required list of fields to be updated in this request. */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CryptoKeyVersion>; + /** + * Restore a CryptoKeyVersion in the + * DESTROY_SCHEDULED, + * state. + * + * Upon restoration of the CryptoKeyVersion, state + * will be set to DISABLED, + * and destroy_time will be cleared. + */ + restore(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The resource name of the CryptoKeyVersion to restore. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CryptoKeyVersion>; + } + interface CryptoKeysResource { + /** + * Create a new CryptoKey within a KeyRing. + * + * CryptoKey.purpose is required. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Required. It must be unique within a KeyRing and match the regular + * expression `[a-zA-Z0-9_-]{1,63}` + */ + cryptoKeyId?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Required. The name of the KeyRing associated with the + * CryptoKeys. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CryptoKey>; + /** Decrypts data that was protected by Encrypt. */ + decrypt(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of the CryptoKey to use for decryption. + * The server will choose the appropriate version. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<DecryptResponse>; + /** Encrypts data, so that it can only be recovered by a call to Decrypt. */ + encrypt(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of the CryptoKey or CryptoKeyVersion + * to use for encryption. + * + * If a CryptoKey is specified, the server will use its + * primary version. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<EncryptResponse>; + /** + * Returns metadata for a given CryptoKey, as well as its + * primary CryptoKeyVersion. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the CryptoKey to get. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CryptoKey>; + /** + * Gets the access control policy for a resource. + * Returns an empty policy if the resource exists and does not have a policy + * set. + */ + getIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** Lists CryptoKeys. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional limit on the number of CryptoKeys to include in the + * response. Further CryptoKeys can subsequently be obtained by + * including the ListCryptoKeysResponse.next_page_token in a subsequent + * request. If unspecified, the server will pick an appropriate default. + */ + pageSize?: number; + /** + * Optional pagination token, returned earlier via + * ListCryptoKeysResponse.next_page_token. + */ + pageToken?: string; + /** + * Required. The resource name of the KeyRing to list, in the format + * `projects/*/locations/*/keyRings/*`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListCryptoKeysResponse>; + /** Update a CryptoKey. */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Output only. The resource name for this CryptoKey in the format + * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required list of fields to be updated in this request. */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CryptoKey>; + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. + */ + setIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being specified. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Returns permissions that a caller has on the specified resource. + * If the resource does not exist, this will return an empty set of + * permissions, not a NOT_FOUND error. + * + * Note: This operation is designed to be used for building permission-aware + * UIs and command-line tools, not for authorization checking. This operation + * may "fail open" without warning. + */ + testIamPermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy detail is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TestIamPermissionsResponse>; + /** Update the version of a CryptoKey that will be used in Encrypt */ + updatePrimaryVersion(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The resource name of the CryptoKey to update. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CryptoKey>; + cryptoKeyVersions: CryptoKeyVersionsResource; + } + interface KeyRingsResource { + /** Create a new KeyRing in a given Project and Location. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. It must be unique within a location and match the regular + * expression `[a-zA-Z0-9_-]{1,63}` + */ + keyRingId?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Required. The resource name of the location associated with the + * KeyRings, in the format `projects/*/locations/*`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<KeyRing>; + /** Returns metadata for a given KeyRing. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the KeyRing to get. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<KeyRing>; + /** + * Gets the access control policy for a resource. + * Returns an empty policy if the resource exists and does not have a policy + * set. + */ + getIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** Lists KeyRings. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional limit on the number of KeyRings to include in the + * response. Further KeyRings can subsequently be obtained by + * including the ListKeyRingsResponse.next_page_token in a subsequent + * request. If unspecified, the server will pick an appropriate default. + */ + pageSize?: number; + /** + * Optional pagination token, returned earlier via + * ListKeyRingsResponse.next_page_token. + */ + pageToken?: string; + /** + * Required. The resource name of the location associated with the + * KeyRings, in the format `projects/*/locations/*`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListKeyRingsResponse>; + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. + */ + setIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being specified. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Returns permissions that a caller has on the specified resource. + * If the resource does not exist, this will return an empty set of + * permissions, not a NOT_FOUND error. + * + * Note: This operation is designed to be used for building permission-aware + * UIs and command-line tools, not for authorization checking. This operation + * may "fail open" without warning. + */ + testIamPermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy detail is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TestIamPermissionsResponse>; + cryptoKeys: CryptoKeysResource; + } + interface LocationsResource { + /** Get information about a location. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Resource name for the location. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Location>; + /** Lists information about the supported locations for this service. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The standard list filter. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The resource that owns the locations collection, if applicable. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The standard list page size. */ + pageSize?: number; + /** The standard list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListLocationsResponse>; + keyRings: KeyRingsResource; + } + interface ProjectsResource { + locations: LocationsResource; + } + } +} diff --git a/types/gapi.client.cloudkms/readme.md b/types/gapi.client.cloudkms/readme.md new file mode 100644 index 0000000000..23c623c02d --- /dev/null +++ b/types/gapi.client.cloudkms/readme.md @@ -0,0 +1,54 @@ +# TypeScript typings for Google Cloud Key Management Service (KMS) API v1 +Manages encryption for your cloud services the same way you do on-premises. You can generate, use, rotate, and destroy AES256 encryption keys. +For detailed description please check [documentation](https://cloud.google.com/kms/). + +## Installing + +Install typings for Google Cloud Key Management Service (KMS) API: +``` +npm install @types/gapi.client.cloudkms@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('cloudkms', 'v1', () => { + // now we can use gapi.client.cloudkms + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Cloud Key Management Service (KMS) API resources: + +```typescript +``` \ No newline at end of file diff --git a/types/gapi.client.cloudkms/tsconfig.json b/types/gapi.client.cloudkms/tsconfig.json new file mode 100644 index 0000000000..ff982b97d1 --- /dev/null +++ b/types/gapi.client.cloudkms/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.cloudkms-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.cloudkms/tslint.json b/types/gapi.client.cloudkms/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.cloudkms/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.cloudmonitoring/gapi.client.cloudmonitoring-tests.ts b/types/gapi.client.cloudmonitoring/gapi.client.cloudmonitoring-tests.ts new file mode 100644 index 0000000000..c14ba534aa --- /dev/null +++ b/types/gapi.client.cloudmonitoring/gapi.client.cloudmonitoring-tests.ts @@ -0,0 +1,97 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('cloudmonitoring', 'v2beta2', () => { + /** now we can use gapi.client.cloudmonitoring */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View and write monitoring data for all of your Google and third-party Cloud and API projects */ + 'https://www.googleapis.com/auth/monitoring', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Create a new metric. */ + await gapi.client.metricDescriptors.create({ + project: "project", + }); + /** Delete an existing metric. */ + await gapi.client.metricDescriptors.delete({ + metric: "metric", + project: "project", + }); + /** + * List metric descriptors that match the query. If the query is not set, then all of the metric descriptors will be returned. Large responses will be + * paginated, use the nextPageToken returned in the response to request subsequent pages of results by setting the pageToken query parameter to the value + * of the nextPageToken. + */ + await gapi.client.metricDescriptors.list({ + count: 1, + pageToken: "pageToken", + project: "project", + query: "query", + }); + /** + * List the data points of the time series that match the metric and labels values and that have data points in the interval. Large responses are + * paginated; use the nextPageToken returned in the response to request subsequent pages of results by setting the pageToken query parameter to the value + * of the nextPageToken. + */ + await gapi.client.timeseries.list({ + aggregator: "aggregator", + count: 2, + labels: "labels", + metric: "metric", + oldest: "oldest", + pageToken: "pageToken", + project: "project", + timespan: "timespan", + window: "window", + youngest: "youngest", + }); + /** + * Put data points to one or more time series for one or more metrics. If a time series does not exist, a new time series will be created. It is not + * allowed to write a time series point that is older than the existing youngest point of that time series. Points that are older than the existing + * youngest point of that time series will be discarded silently. Therefore, users should make sure that points of a time series are written sequentially + * in the order of their end time. + */ + await gapi.client.timeseries.write({ + project: "project", + }); + /** + * List the descriptors of the time series that match the metric and labels values and that have data points in the interval. Large responses are + * paginated; use the nextPageToken returned in the response to request subsequent pages of results by setting the pageToken query parameter to the value + * of the nextPageToken. + */ + await gapi.client.timeseriesDescriptors.list({ + aggregator: "aggregator", + count: 2, + labels: "labels", + metric: "metric", + oldest: "oldest", + pageToken: "pageToken", + project: "project", + timespan: "timespan", + window: "window", + youngest: "youngest", + }); + } +}); diff --git a/types/gapi.client.cloudmonitoring/index.d.ts b/types/gapi.client.cloudmonitoring/index.d.ts new file mode 100644 index 0000000000..6febf1d4e8 --- /dev/null +++ b/types/gapi.client.cloudmonitoring/index.d.ts @@ -0,0 +1,476 @@ +// Type definitions for Google Cloud Monitoring API v2beta2 2.0 +// Project: https://cloud.google.com/monitoring/v2beta2/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/cloudmonitoring/v2beta2/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Cloud Monitoring API v2beta2 */ + function load(name: "cloudmonitoring", version: "v2beta2"): PromiseLike<void>; + function load(name: "cloudmonitoring", version: "v2beta2", callback: () => any): void; + + const metricDescriptors: cloudmonitoring.MetricDescriptorsResource; + + const timeseries: cloudmonitoring.TimeseriesResource; + + const timeseriesDescriptors: cloudmonitoring.TimeseriesDescriptorsResource; + + namespace cloudmonitoring { + interface DeleteMetricDescriptorResponse { + /** Identifies what kind of resource this is. Value: the fixed string "cloudmonitoring#deleteMetricDescriptorResponse". */ + kind?: string; + } + interface ListMetricDescriptorsRequest { + /** Identifies what kind of resource this is. Value: the fixed string "cloudmonitoring#listMetricDescriptorsRequest". */ + kind?: string; + } + interface ListMetricDescriptorsResponse { + /** Identifies what kind of resource this is. Value: the fixed string "cloudmonitoring#listMetricDescriptorsResponse". */ + kind?: string; + /** The returned metric descriptors. */ + metrics?: MetricDescriptor[]; + /** + * Pagination token. If present, indicates that additional results are available for retrieval. To access the results past the pagination limit, pass this + * value to the pageToken query parameter. + */ + nextPageToken?: string; + } + interface ListTimeseriesDescriptorsRequest { + /** Identifies what kind of resource this is. Value: the fixed string "cloudmonitoring#listTimeseriesDescriptorsRequest". */ + kind?: string; + } + interface ListTimeseriesDescriptorsResponse { + /** Identifies what kind of resource this is. Value: the fixed string "cloudmonitoring#listTimeseriesDescriptorsResponse". */ + kind?: string; + /** + * Pagination token. If present, indicates that additional results are available for retrieval. To access the results past the pagination limit, set this + * value to the pageToken query parameter. + */ + nextPageToken?: string; + /** The oldest timestamp of the interval of this query, as an RFC 3339 string. */ + oldest?: string; + /** The returned time series descriptors. */ + timeseries?: TimeseriesDescriptor[]; + /** The youngest timestamp of the interval of this query, as an RFC 3339 string. */ + youngest?: string; + } + interface ListTimeseriesRequest { + /** Identifies what kind of resource this is. Value: the fixed string "cloudmonitoring#listTimeseriesRequest". */ + kind?: string; + } + interface ListTimeseriesResponse { + /** Identifies what kind of resource this is. Value: the fixed string "cloudmonitoring#listTimeseriesResponse". */ + kind?: string; + /** + * Pagination token. If present, indicates that additional results are available for retrieval. To access the results past the pagination limit, set the + * pageToken query parameter to this value. All of the points of a time series will be returned before returning any point of the subsequent time series. + */ + nextPageToken?: string; + /** The oldest timestamp of the interval of this query as an RFC 3339 string. */ + oldest?: string; + /** The returned time series. */ + timeseries?: Timeseries[]; + /** The youngest timestamp of the interval of this query as an RFC 3339 string. */ + youngest?: string; + } + interface MetricDescriptor { + /** Description of this metric. */ + description?: string; + /** Labels defined for this metric. */ + labels?: MetricDescriptorLabelDescriptor[]; + /** The name of this metric. */ + name?: string; + /** The project ID to which the metric belongs. */ + project?: string; + /** Type description for this metric. */ + typeDescriptor?: MetricDescriptorTypeDescriptor; + } + interface MetricDescriptorLabelDescriptor { + /** Label description. */ + description?: string; + /** Label key. */ + key?: string; + } + interface MetricDescriptorTypeDescriptor { + /** The method of collecting data for the metric. See Metric types. */ + metricType?: string; + /** The data type of of individual points in the metric's time series. See Metric value types. */ + valueType?: string; + } + interface Point { + /** The value of this data point. Either "true" or "false". */ + boolValue?: boolean; + /** + * The value of this data point as a distribution. A distribution value can contain a list of buckets and/or an underflowBucket and an overflowBucket. The + * values of these points can be used to create a histogram. + */ + distributionValue?: PointDistribution; + /** The value of this data point as a double-precision floating-point number. */ + doubleValue?: number; + /** + * The interval [start, end] is the time period to which the point's value applies. For gauge metrics, whose values are instantaneous measurements, this + * interval should be empty (start should equal end). For cumulative metrics (of which deltas and rates are special cases), the interval should be + * non-empty. Both start and end are RFC 3339 strings. + */ + end?: string; + /** The value of this data point as a 64-bit integer. */ + int64Value?: string; + /** + * The interval [start, end] is the time period to which the point's value applies. For gauge metrics, whose values are instantaneous measurements, this + * interval should be empty (start should equal end). For cumulative metrics (of which deltas and rates are special cases), the interval should be + * non-empty. Both start and end are RFC 3339 strings. + */ + start?: string; + /** The value of this data point in string format. */ + stringValue?: string; + } + interface PointDistribution { + /** The finite buckets. */ + buckets?: PointDistributionBucket[]; + /** The overflow bucket. */ + overflowBucket?: PointDistributionOverflowBucket; + /** The underflow bucket. */ + underflowBucket?: PointDistributionUnderflowBucket; + } + interface PointDistributionBucket { + /** The number of events whose values are in the interval defined by this bucket. */ + count?: string; + /** The lower bound of the value interval of this bucket (inclusive). */ + lowerBound?: number; + /** The upper bound of the value interval of this bucket (exclusive). */ + upperBound?: number; + } + interface PointDistributionOverflowBucket { + /** The number of events whose values are in the interval defined by this bucket. */ + count?: string; + /** The lower bound of the value interval of this bucket (inclusive). */ + lowerBound?: number; + } + interface PointDistributionUnderflowBucket { + /** The number of events whose values are in the interval defined by this bucket. */ + count?: string; + /** The upper bound of the value interval of this bucket (exclusive). */ + upperBound?: number; + } + interface Timeseries { + /** The data points of this time series. The points are listed in order of their end timestamp, from younger to older. */ + points?: Point[]; + /** The descriptor of this time series. */ + timeseriesDesc?: TimeseriesDescriptor; + } + interface TimeseriesDescriptor { + /** The label's name. */ + labels?: Record<string, string>; + /** The name of the metric. */ + metric?: string; + /** The Developers Console project number to which this time series belongs. */ + project?: string; + } + interface TimeseriesDescriptorLabel { + /** The label's name. */ + key?: string; + /** The label's value. */ + value?: string; + } + interface TimeseriesPoint { + /** The data point in this time series snapshot. */ + point?: Point; + /** The descriptor of this time series. */ + timeseriesDesc?: TimeseriesDescriptor; + } + interface WriteTimeseriesRequest { + /** The label's name. */ + commonLabels?: Record<string, string>; + /** + * Provide time series specific labels and the data points for each time series. The labels in timeseries and the common_labels should form a complete + * list of labels that required by the metric. + */ + timeseries?: TimeseriesPoint[]; + } + interface WriteTimeseriesResponse { + /** Identifies what kind of resource this is. Value: the fixed string "cloudmonitoring#writeTimeseriesResponse". */ + kind?: string; + } + interface MetricDescriptorsResource { + /** Create a new metric. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project id. The value can be the numeric project ID or string-based project name. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<MetricDescriptor>; + /** Delete an existing metric. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Name of the metric. */ + metric: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project ID to which the metric belongs. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DeleteMetricDescriptorResponse>; + /** + * List metric descriptors that match the query. If the query is not set, then all of the metric descriptors will be returned. Large responses will be + * paginated, use the nextPageToken returned in the response to request subsequent pages of results by setting the pageToken query parameter to the value + * of the nextPageToken. + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Maximum number of metric descriptors per page. Used for pagination. If not specified, count = 100. */ + count?: number; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The pagination token, which is used to page through large result sets. Set this value to the value of the nextPageToken to retrieve the next page of + * results. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project id. The value can be the numeric project ID or string-based project name. */ + project: string; + /** + * The query used to search against existing metrics. Separate keywords with a space; the service joins all keywords with AND, meaning that all keywords + * must match for a metric to be returned. If this field is omitted, all metrics are returned. If an empty string is passed with this field, no metrics + * are returned. + */ + query?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListMetricDescriptorsResponse>; + } + interface TimeseriesResource { + /** + * List the data points of the time series that match the metric and labels values and that have data points in the interval. Large responses are + * paginated; use the nextPageToken returned in the response to request subsequent pages of results by setting the pageToken query parameter to the value + * of the nextPageToken. + */ + list(request: { + /** + * The aggregation function that will reduce the data points in each window to a single point. This parameter is only valid for non-cumulative metrics + * with a value type of INT64 or DOUBLE. + */ + aggregator?: string; + /** Data format for the response. */ + alt?: string; + /** Maximum number of data points per page, which is used for pagination of results. */ + count?: number; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * A collection of labels for the matching time series, which are represented as: + * - key==value: key equals the value + * - key=~value: key regex matches the value + * - key!=value: key does not equal the value + * - key!~value: key regex does not match the value For example, to list all of the time series descriptors for the region us-central1, you could + * specify: + * label=cloud.googleapis.com%2Flocation=~us-central1.* + */ + labels?: string; + /** Metric names are protocol-free URLs as listed in the Supported Metrics page. For example, compute.googleapis.com/instance/disk/read_ops_count. */ + metric: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Start of the time interval (exclusive), which is expressed as an RFC 3339 timestamp. If neither oldest nor timespan is specified, the default time + * interval will be (youngest - 4 hours, youngest] + */ + oldest?: string; + /** + * The pagination token, which is used to page through large result sets. Set this value to the value of the nextPageToken to retrieve the next page of + * results. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project ID to which this time series belongs. The value can be the numeric project ID or string-based project name. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Length of the time interval to query, which is an alternative way to declare the interval: (youngest - timespan, youngest]. The timespan and oldest + * parameters should not be used together. Units: + * - s: second + * - m: minute + * - h: hour + * - d: day + * - w: week Examples: 2s, 3m, 4w. Only one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead. + * + * If neither oldest nor timespan is specified, the default time interval will be (youngest - 4 hours, youngest]. + */ + timespan?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** + * The sampling window. At most one data point will be returned for each window in the requested time interval. This parameter is only valid for + * non-cumulative metric types. Units: + * - m: minute + * - h: hour + * - d: day + * - w: week Examples: 3m, 4w. Only one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead. + */ + window?: string; + /** End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp. */ + youngest: string; + }): Request<ListTimeseriesResponse>; + /** + * Put data points to one or more time series for one or more metrics. If a time series does not exist, a new time series will be created. It is not + * allowed to write a time series point that is older than the existing youngest point of that time series. Points that are older than the existing + * youngest point of that time series will be discarded silently. Therefore, users should make sure that points of a time series are written sequentially + * in the order of their end time. + */ + write(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project ID. The value can be the numeric project ID or string-based project name. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<WriteTimeseriesResponse>; + } + interface TimeseriesDescriptorsResource { + /** + * List the descriptors of the time series that match the metric and labels values and that have data points in the interval. Large responses are + * paginated; use the nextPageToken returned in the response to request subsequent pages of results by setting the pageToken query parameter to the value + * of the nextPageToken. + */ + list(request: { + /** + * The aggregation function that will reduce the data points in each window to a single point. This parameter is only valid for non-cumulative metrics + * with a value type of INT64 or DOUBLE. + */ + aggregator?: string; + /** Data format for the response. */ + alt?: string; + /** Maximum number of time series descriptors per page. Used for pagination. If not specified, count = 100. */ + count?: number; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * A collection of labels for the matching time series, which are represented as: + * - key==value: key equals the value + * - key=~value: key regex matches the value + * - key!=value: key does not equal the value + * - key!~value: key regex does not match the value For example, to list all of the time series descriptors for the region us-central1, you could + * specify: + * label=cloud.googleapis.com%2Flocation=~us-central1.* + */ + labels?: string; + /** Metric names are protocol-free URLs as listed in the Supported Metrics page. For example, compute.googleapis.com/instance/disk/read_ops_count. */ + metric: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Start of the time interval (exclusive), which is expressed as an RFC 3339 timestamp. If neither oldest nor timespan is specified, the default time + * interval will be (youngest - 4 hours, youngest] + */ + oldest?: string; + /** + * The pagination token, which is used to page through large result sets. Set this value to the value of the nextPageToken to retrieve the next page of + * results. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project ID to which this time series belongs. The value can be the numeric project ID or string-based project name. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Length of the time interval to query, which is an alternative way to declare the interval: (youngest - timespan, youngest]. The timespan and oldest + * parameters should not be used together. Units: + * - s: second + * - m: minute + * - h: hour + * - d: day + * - w: week Examples: 2s, 3m, 4w. Only one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead. + * + * If neither oldest nor timespan is specified, the default time interval will be (youngest - 4 hours, youngest]. + */ + timespan?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** + * The sampling window. At most one data point will be returned for each window in the requested time interval. This parameter is only valid for + * non-cumulative metric types. Units: + * - m: minute + * - h: hour + * - d: day + * - w: week Examples: 3m, 4w. Only one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead. + */ + window?: string; + /** End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp. */ + youngest: string; + }): Request<ListTimeseriesDescriptorsResponse>; + } + } +} diff --git a/types/gapi.client.cloudmonitoring/readme.md b/types/gapi.client.cloudmonitoring/readme.md new file mode 100644 index 0000000000..44ce6fbfc0 --- /dev/null +++ b/types/gapi.client.cloudmonitoring/readme.md @@ -0,0 +1,87 @@ +# TypeScript typings for Cloud Monitoring API v2beta2 +Accesses Google Cloud Monitoring data. +For detailed description please check [documentation](https://cloud.google.com/monitoring/v2beta2/). + +## Installing + +Install typings for Cloud Monitoring API: +``` +npm install @types/gapi.client.cloudmonitoring@v2beta2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('cloudmonitoring', 'v2beta2', () => { + // now we can use gapi.client.cloudmonitoring + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View and write monitoring data for all of your Google and third-party Cloud and API projects + 'https://www.googleapis.com/auth/monitoring', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Cloud Monitoring API resources: + +```typescript + +/* +Create a new metric. +*/ +await gapi.client.metricDescriptors.create({ project: "project", }); + +/* +Delete an existing metric. +*/ +await gapi.client.metricDescriptors.delete({ metric: "metric", project: "project", }); + +/* +List metric descriptors that match the query. If the query is not set, then all of the metric descriptors will be returned. Large responses will be paginated, use the nextPageToken returned in the response to request subsequent pages of results by setting the pageToken query parameter to the value of the nextPageToken. +*/ +await gapi.client.metricDescriptors.list({ project: "project", }); + +/* +List the data points of the time series that match the metric and labels values and that have data points in the interval. Large responses are paginated; use the nextPageToken returned in the response to request subsequent pages of results by setting the pageToken query parameter to the value of the nextPageToken. +*/ +await gapi.client.timeseries.list({ metric: "metric", project: "project", youngest: "youngest", }); + +/* +Put data points to one or more time series for one or more metrics. If a time series does not exist, a new time series will be created. It is not allowed to write a time series point that is older than the existing youngest point of that time series. Points that are older than the existing youngest point of that time series will be discarded silently. Therefore, users should make sure that points of a time series are written sequentially in the order of their end time. +*/ +await gapi.client.timeseries.write({ project: "project", }); + +/* +List the descriptors of the time series that match the metric and labels values and that have data points in the interval. Large responses are paginated; use the nextPageToken returned in the response to request subsequent pages of results by setting the pageToken query parameter to the value of the nextPageToken. +*/ +await gapi.client.timeseriesDescriptors.list({ metric: "metric", project: "project", youngest: "youngest", }); +``` \ No newline at end of file diff --git a/types/gapi.client.cloudmonitoring/tsconfig.json b/types/gapi.client.cloudmonitoring/tsconfig.json new file mode 100644 index 0000000000..e007418ca9 --- /dev/null +++ b/types/gapi.client.cloudmonitoring/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.cloudmonitoring-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.cloudmonitoring/tslint.json b/types/gapi.client.cloudmonitoring/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.cloudmonitoring/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.cloudresourcemanager/gapi.client.cloudresourcemanager-tests.ts b/types/gapi.client.cloudresourcemanager/gapi.client.cloudresourcemanager-tests.ts new file mode 100644 index 0000000000..4bb0eafbfc --- /dev/null +++ b/types/gapi.client.cloudresourcemanager/gapi.client.cloudresourcemanager-tests.ts @@ -0,0 +1,404 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('cloudresourcemanager', 'v1', () => { + /** now we can use gapi.client.cloudresourcemanager */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform.read-only', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Clears a `Policy` from a resource. */ + await gapi.client.folders.clearOrgPolicy({ + resource: "resource", + }); + /** + * Gets the effective `Policy` on a resource. This is the result of merging + * `Policies` in the resource hierarchy. The returned `Policy` will not have + * an `etag`set because it is a computed `Policy` across multiple resources. + */ + await gapi.client.folders.getEffectiveOrgPolicy({ + resource: "resource", + }); + /** + * Gets a `Policy` on a resource. + * + * If no `Policy` is set on the resource, a `Policy` is returned with default + * values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The + * `etag` value can be used with `SetOrgPolicy()` to create or update a + * `Policy` during read-modify-write. + */ + await gapi.client.folders.getOrgPolicy({ + resource: "resource", + }); + /** Lists `Constraints` that could be applied on the specified resource. */ + await gapi.client.folders.listAvailableOrgPolicyConstraints({ + resource: "resource", + }); + /** Lists all the `Policies` set for a particular resource. */ + await gapi.client.folders.listOrgPolicies({ + resource: "resource", + }); + /** + * Updates the specified `Policy` on the resource. Creates a new `Policy` for + * that `Constraint` on the resource if one does not exist. + * + * Not supplying an `etag` on the request `Policy` results in an unconditional + * write of the `Policy`. + */ + await gapi.client.folders.setOrgPolicy({ + resource: "resource", + }); + /** + * Create a Lien which applies to the resource denoted by the `parent` field. + * + * Callers of this method will require permission on the `parent` resource. + * For example, applying to `projects/1234` requires permission + * `resourcemanager.projects.updateLiens`. + * + * NOTE: Some resources may limit the number of Liens which may be applied. + */ + await gapi.client.liens.create({ + }); + /** + * Delete a Lien by `name`. + * + * Callers of this method will require permission on the `parent` resource. + * For example, a Lien with a `parent` of `projects/1234` requires permission + * `resourcemanager.projects.updateLiens`. + */ + await gapi.client.liens.delete({ + name: "name", + }); + /** + * List all Liens applied to the `parent` resource. + * + * Callers of this method will require permission on the `parent` resource. + * For example, a Lien with a `parent` of `projects/1234` requires permission + * `resourcemanager.projects.get`. + */ + await gapi.client.liens.list({ + pageSize: 1, + pageToken: "pageToken", + parent: "parent", + }); + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + await gapi.client.operations.get({ + name: "name", + }); + /** Clears a `Policy` from a resource. */ + await gapi.client.organizations.clearOrgPolicy({ + resource: "resource", + }); + /** Fetches an Organization resource identified by the specified resource name. */ + await gapi.client.organizations.get({ + name: "name", + }); + /** + * Gets the effective `Policy` on a resource. This is the result of merging + * `Policies` in the resource hierarchy. The returned `Policy` will not have + * an `etag`set because it is a computed `Policy` across multiple resources. + */ + await gapi.client.organizations.getEffectiveOrgPolicy({ + resource: "resource", + }); + /** + * Gets the access control policy for an Organization resource. May be empty + * if no such policy or resource exists. The `resource` field should be the + * organization's resource name, e.g. "organizations/123". + * + * Authorization requires the Google IAM permission + * `resourcemanager.organizations.getIamPolicy` on the specified organization + */ + await gapi.client.organizations.getIamPolicy({ + resource: "resource", + }); + /** + * Gets a `Policy` on a resource. + * + * If no `Policy` is set on the resource, a `Policy` is returned with default + * values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The + * `etag` value can be used with `SetOrgPolicy()` to create or update a + * `Policy` during read-modify-write. + */ + await gapi.client.organizations.getOrgPolicy({ + resource: "resource", + }); + /** Lists `Constraints` that could be applied on the specified resource. */ + await gapi.client.organizations.listAvailableOrgPolicyConstraints({ + resource: "resource", + }); + /** Lists all the `Policies` set for a particular resource. */ + await gapi.client.organizations.listOrgPolicies({ + resource: "resource", + }); + /** + * Searches Organization resources that are visible to the user and satisfy + * the specified filter. This method returns Organizations in an unspecified + * order. New Organizations do not necessarily appear at the end of the + * results. + * + * Search will only return organizations on which the user has the permission + * `resourcemanager.organizations.get` + */ + await gapi.client.organizations.search({ + }); + /** + * Sets the access control policy on an Organization resource. Replaces any + * existing policy. The `resource` field should be the organization's resource + * name, e.g. "organizations/123". + * + * Authorization requires the Google IAM permission + * `resourcemanager.organizations.setIamPolicy` on the specified organization + */ + await gapi.client.organizations.setIamPolicy({ + resource: "resource", + }); + /** + * Updates the specified `Policy` on the resource. Creates a new `Policy` for + * that `Constraint` on the resource if one does not exist. + * + * Not supplying an `etag` on the request `Policy` results in an unconditional + * write of the `Policy`. + */ + await gapi.client.organizations.setOrgPolicy({ + resource: "resource", + }); + /** + * Returns permissions that a caller has on the specified Organization. + * The `resource` field should be the organization's resource name, + * e.g. "organizations/123". + * + * There are no permissions required for making this API call. + */ + await gapi.client.organizations.testIamPermissions({ + resource: "resource", + }); + /** Clears a `Policy` from a resource. */ + await gapi.client.projects.clearOrgPolicy({ + resource: "resource", + }); + /** + * Request that a new Project be created. The result is an Operation which + * can be used to track the creation process. It is automatically deleted + * after a few hours, so there is no need to call DeleteOperation. + * + * Our SLO permits Project creation to take up to 30 seconds at the 90th + * percentile. As of 2016-08-29, we are observing 6 seconds 50th percentile + * latency. 95th percentile latency is around 11 seconds. We recommend + * polling at the 5th second with an exponential backoff. + * + * Authorization requires the Google IAM permission + * `resourcemanager.projects.create` on the specified parent for the new + * project. + */ + await gapi.client.projects.create({ + }); + /** + * Marks the Project identified by the specified + * `project_id` (for example, `my-project-123`) for deletion. + * This method will only affect the Project if the following criteria are met: + * + * + The Project does not have a billing account associated with it. + * + The Project has a lifecycle state of + * ACTIVE. + * + * This method changes the Project's lifecycle state from + * ACTIVE + * to DELETE_REQUESTED. + * The deletion starts at an unspecified time, + * at which point the Project is no longer accessible. + * + * Until the deletion completes, you can check the lifecycle state + * checked by retrieving the Project with GetProject, + * and the Project remains visible to ListProjects. + * However, you cannot update the project. + * + * After the deletion completes, the Project is not retrievable by + * the GetProject and + * ListProjects methods. + * + * The caller must have modify permissions for this Project. + */ + await gapi.client.projects.delete({ + projectId: "projectId", + }); + /** + * Retrieves the Project identified by the specified + * `project_id` (for example, `my-project-123`). + * + * The caller must have read permissions for this Project. + */ + await gapi.client.projects.get({ + projectId: "projectId", + }); + /** + * Gets a list of ancestors in the resource hierarchy for the Project + * identified by the specified `project_id` (for example, `my-project-123`). + * + * The caller must have read permissions for this Project. + */ + await gapi.client.projects.getAncestry({ + projectId: "projectId", + }); + /** + * Gets the effective `Policy` on a resource. This is the result of merging + * `Policies` in the resource hierarchy. The returned `Policy` will not have + * an `etag`set because it is a computed `Policy` across multiple resources. + */ + await gapi.client.projects.getEffectiveOrgPolicy({ + resource: "resource", + }); + /** + * Returns the IAM access control policy for the specified Project. + * Permission is denied if the policy or the resource does not exist. + * + * Authorization requires the Google IAM permission + * `resourcemanager.projects.getIamPolicy` on the project + */ + await gapi.client.projects.getIamPolicy({ + resource: "resource", + }); + /** + * Gets a `Policy` on a resource. + * + * If no `Policy` is set on the resource, a `Policy` is returned with default + * values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The + * `etag` value can be used with `SetOrgPolicy()` to create or update a + * `Policy` during read-modify-write. + */ + await gapi.client.projects.getOrgPolicy({ + resource: "resource", + }); + /** + * Lists Projects that are visible to the user and satisfy the + * specified filter. This method returns Projects in an unspecified order. + * New Projects do not necessarily appear at the end of the list. + */ + await gapi.client.projects.list({ + filter: "filter", + pageSize: 2, + pageToken: "pageToken", + }); + /** Lists `Constraints` that could be applied on the specified resource. */ + await gapi.client.projects.listAvailableOrgPolicyConstraints({ + resource: "resource", + }); + /** Lists all the `Policies` set for a particular resource. */ + await gapi.client.projects.listOrgPolicies({ + resource: "resource", + }); + /** + * Sets the IAM access control policy for the specified Project. Replaces + * any existing policy. + * + * The following constraints apply when using `setIamPolicy()`: + * + * + Project does not support `allUsers` and `allAuthenticatedUsers` as + * `members` in a `Binding` of a `Policy`. + * + * + The owner role can be granted only to `user` and `serviceAccount`. + * + * + Service accounts can be made owners of a project directly + * without any restrictions. However, to be added as an owner, a user must be + * invited via Cloud Platform console and must accept the invitation. + * + * + A user cannot be granted the owner role using `setIamPolicy()`. The user + * must be granted the owner role using the Cloud Platform Console and must + * explicitly accept the invitation. + * + * + Invitations to grant the owner role cannot be sent using + * `setIamPolicy()`; + * they must be sent only using the Cloud Platform Console. + * + * + Membership changes that leave the project without any owners that have + * accepted the Terms of Service (ToS) will be rejected. + * + * + If the project is not part of an organization, there must be at least + * one owner who has accepted the Terms of Service (ToS) agreement in the + * policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner + * from the policy will fail. This restriction also applies to legacy + * projects that no longer have owners who have accepted the ToS. Edits to + * IAM policies will be rejected until the lack of a ToS-accepting owner is + * rectified. + * + * + Calling this method requires enabling the App Engine Admin API. + * + * Note: Removing service accounts from policies or changing their roles + * can render services completely inoperable. It is important to understand + * how the service account is being used before removing or updating its + * roles. + * + * Authorization requires the Google IAM permission + * `resourcemanager.projects.setIamPolicy` on the project + */ + await gapi.client.projects.setIamPolicy({ + resource: "resource", + }); + /** + * Updates the specified `Policy` on the resource. Creates a new `Policy` for + * that `Constraint` on the resource if one does not exist. + * + * Not supplying an `etag` on the request `Policy` results in an unconditional + * write of the `Policy`. + */ + await gapi.client.projects.setOrgPolicy({ + resource: "resource", + }); + /** + * Returns permissions that a caller has on the specified Project. + * + * There are no permissions required for making this API call. + */ + await gapi.client.projects.testIamPermissions({ + resource: "resource", + }); + /** + * Restores the Project identified by the specified + * `project_id` (for example, `my-project-123`). + * You can only use this method for a Project that has a lifecycle state of + * DELETE_REQUESTED. + * After deletion starts, the Project cannot be restored. + * + * The caller must have modify permissions for this Project. + */ + await gapi.client.projects.undelete({ + projectId: "projectId", + }); + /** + * Updates the attributes of the Project identified by the specified + * `project_id` (for example, `my-project-123`). + * + * The caller must have modify permissions for this Project. + */ + await gapi.client.projects.update({ + projectId: "projectId", + }); + } +}); diff --git a/types/gapi.client.cloudresourcemanager/index.d.ts b/types/gapi.client.cloudresourcemanager/index.d.ts new file mode 100644 index 0000000000..a2c8500ac6 --- /dev/null +++ b/types/gapi.client.cloudresourcemanager/index.d.ts @@ -0,0 +1,2234 @@ +// Type definitions for Google Google Cloud Resource Manager API v1 1.0 +// Project: https://cloud.google.com/resource-manager +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Cloud Resource Manager API v1 */ + function load(name: "cloudresourcemanager", version: "v1"): PromiseLike<void>; + function load(name: "cloudresourcemanager", version: "v1", callback: () => any): void; + + const folders: cloudresourcemanager.FoldersResource; + + const liens: cloudresourcemanager.LiensResource; + + const operations: cloudresourcemanager.OperationsResource; + + const organizations: cloudresourcemanager.OrganizationsResource; + + const projects: cloudresourcemanager.ProjectsResource; + + namespace cloudresourcemanager { + interface Ancestor { + /** Resource id of the ancestor. */ + resourceId?: ResourceId; + } + interface AuditConfig { + /** + * The configuration for logging of each type of permission. + * Next ID: 4 + */ + auditLogConfigs?: AuditLogConfig[]; + /** + * Specifies a service that will be enabled for audit logging. + * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. + * `allServices` is a special value that covers all services. + */ + service?: string; + } + interface AuditLogConfig { + /** + * Specifies the identities that do not cause logging for this type of + * permission. + * Follows the same format of Binding.members. + */ + exemptedMembers?: string[]; + /** The log type that this config enables. */ + logType?: string; + } + interface Binding { + /** + * Specifies the identities requesting access for a Cloud Platform resource. + * `members` can have the following values: + * + * * `allUsers`: A special identifier that represents anyone who is + * on the internet; with or without a Google account. + * + * * `allAuthenticatedUsers`: A special identifier that represents anyone + * who is authenticated with a Google account or a service account. + * + * * `user:{emailid}`: An email address that represents a specific Google + * account. For example, `alice@gmail.com` or `joe@example.com`. + * + * + * * `serviceAccount:{emailid}`: An email address that represents a service + * account. For example, `my-other-app@appspot.gserviceaccount.com`. + * + * * `group:{emailid}`: An email address that represents a Google group. + * For example, `admins@example.com`. + * + * + * * `domain:{domain}`: A Google Apps domain name that represents all the + * users of that domain. For example, `google.com` or `example.com`. + */ + members?: string[]; + /** + * Role that is assigned to `members`. + * For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + * Required + */ + role?: string; + } + interface BooleanPolicy { + /** + * If `true`, then the `Policy` is enforced. If `false`, then any + * configuration is acceptable. + * + * Suppose you have a `Constraint` `constraints/compute.disableSerialPortAccess` + * with `constraint_default` set to `ALLOW`. A `Policy` for that + * `Constraint` exhibits the following behavior: + * - If the `Policy` at this resource has enforced set to `false`, serial + * port connection attempts will be allowed. + * - If the `Policy` at this resource has enforced set to `true`, serial + * port connection attempts will be refused. + * - If the `Policy` at this resource is `RestoreDefault`, serial port + * connection attempts will be allowed. + * - If no `Policy` is set at this resource or anywhere higher in the + * resource hierarchy, serial port connection attempts will be allowed. + * - If no `Policy` is set at this resource, but one exists higher in the + * resource hierarchy, the behavior is as if the`Policy` were set at + * this resource. + * + * The following examples demonstrate the different possible layerings: + * + * Example 1 (nearest `Constraint` wins): + * `organizations/foo` has a `Policy` with: + * {enforced: false} + * `projects/bar` has no `Policy` set. + * The constraint at `projects/bar` and `organizations/foo` will not be + * enforced. + * + * Example 2 (enforcement gets replaced): + * `organizations/foo` has a `Policy` with: + * {enforced: false} + * `projects/bar` has a `Policy` with: + * {enforced: true} + * The constraint at `organizations/foo` is not enforced. + * The constraint at `projects/bar` is enforced. + * + * Example 3 (RestoreDefault): + * `organizations/foo` has a `Policy` with: + * {enforced: true} + * `projects/bar` has a `Policy` with: + * {RestoreDefault: {}} + * The constraint at `organizations/foo` is enforced. + * The constraint at `projects/bar` is not enforced, because + * `constraint_default` for the `Constraint` is `ALLOW`. + */ + enforced?: boolean; + } + interface ClearOrgPolicyRequest { + /** Name of the `Constraint` of the `Policy` to clear. */ + constraint?: string; + /** + * The current version, for concurrency control. Not sending an `etag` + * will cause the `Policy` to be cleared blindly. + */ + etag?: string; + } + interface Constraint { + /** Defines this constraint as being a BooleanConstraint. */ + booleanConstraint?: any; + /** The evaluation behavior of this constraint in the absense of 'Policy'. */ + constraintDefault?: string; + /** + * Detailed description of what this `Constraint` controls as well as how and + * where it is enforced. + * + * Mutable. + */ + description?: string; + /** + * The human readable name. + * + * Mutable. + */ + displayName?: string; + /** Defines this constraint as being a ListConstraint. */ + listConstraint?: ListConstraint; + /** + * Immutable value, required to globally be unique. For example, + * `constraints/serviceuser.services` + */ + name?: string; + /** Version of the `Constraint`. Default version is 0; */ + version?: number; + } + interface FolderOperation { + /** + * The resource name of the folder or organization we are either creating + * the folder under or moving the folder to. + */ + destinationParent?: string; + /** The display name of the folder. */ + displayName?: string; + /** The type of this operation. */ + operationType?: string; + /** + * The resource name of the folder's parent. + * Only applicable when the operation_type is MOVE. + */ + sourceParent?: string; + } + interface FolderOperationError { + /** The type of operation error experienced. */ + errorMessageId?: string; + } + interface GetAncestryResponse { + /** + * Ancestors are ordered from bottom to top of the resource hierarchy. The + * first ancestor is the project itself, followed by the project's parent, + * etc. + */ + ancestor?: Ancestor[]; + } + interface GetEffectiveOrgPolicyRequest { + /** The name of the `Constraint` to compute the effective `Policy`. */ + constraint?: string; + } + interface GetOrgPolicyRequest { + /** Name of the `Constraint` to get the `Policy`. */ + constraint?: string; + } + interface Lien { + /** The creation time of this Lien. */ + createTime?: string; + /** + * A system-generated unique identifier for this Lien. + * + * Example: `liens/1234abcd` + */ + name?: string; + /** + * A stable, user-visible/meaningful string identifying the origin of the + * Lien, intended to be inspected programmatically. Maximum length of 200 + * characters. + * + * Example: 'compute.googleapis.com' + */ + origin?: string; + /** + * A reference to the resource this Lien is attached to. The server will + * validate the parent against those for which Liens are supported. + * + * Example: `projects/1234` + */ + parent?: string; + /** + * Concise user-visible strings indicating why an action cannot be performed + * on a resource. Maximum lenth of 200 characters. + * + * Example: 'Holds production API key' + */ + reason?: string; + /** + * The types of operations which should be blocked as a result of this Lien. + * Each value should correspond to an IAM permission. The server will + * validate the permissions against those for which Liens are supported. + * + * An empty list is meaningless and will be rejected. + * + * Example: ['resourcemanager.projects.delete'] + */ + restrictions?: string[]; + } + interface ListAvailableOrgPolicyConstraintsRequest { + /** + * Size of the pages to be returned. This is currently unsupported and will + * be ignored. The server may at any point start using this field to limit + * page size. + */ + pageSize?: number; + /** + * Page token used to retrieve the next page. This is currently unsupported + * and will be ignored. The server may at any point start using this field. + */ + pageToken?: string; + } + interface ListAvailableOrgPolicyConstraintsResponse { + /** The collection of constraints that are settable on the request resource. */ + constraints?: Constraint[]; + /** Page token used to retrieve the next page. This is currently not used. */ + nextPageToken?: string; + } + interface ListConstraint { + /** + * Optional. The Google Cloud Console will try to default to a configuration + * that matches the value specified in this `Constraint`. + */ + suggestedValue?: string; + } + interface ListLiensResponse { + /** A list of Liens. */ + liens?: Lien[]; + /** + * Token to retrieve the next page of results, or empty if there are no more + * results in the list. + */ + nextPageToken?: string; + } + interface ListOrgPoliciesRequest { + /** + * Size of the pages to be returned. This is currently unsupported and will + * be ignored. The server may at any point start using this field to limit + * page size. + */ + pageSize?: number; + /** + * Page token used to retrieve the next page. This is currently unsupported + * and will be ignored. The server may at any point start using this field. + */ + pageToken?: string; + } + interface ListOrgPoliciesResponse { + /** + * Page token used to retrieve the next page. This is currently not used, but + * the server may at any point start supplying a valid token. + */ + nextPageToken?: string; + /** + * The `Policies` that are set on the resource. It will be empty if no + * `Policies` are set. + */ + policies?: OrgPolicy[]; + } + interface ListPolicy { + /** The policy all_values state. */ + allValues?: string; + /** + * List of values allowed at this resource. Can only be set if no values + * are set for `denied_values` and `all_values` is set to + * `ALL_VALUES_UNSPECIFIED`. + */ + allowedValues?: string[]; + /** + * List of values denied at this resource. Can only be set if no values are + * set for `allowed_values` and `all_values` is set to + * `ALL_VALUES_UNSPECIFIED`. + */ + deniedValues?: string[]; + /** + * Determines the inheritance behavior for this `Policy`. + * + * By default, a `ListPolicy` set at a resource supercedes any `Policy` set + * anywhere up the resource hierarchy. However, if `inherit_from_parent` is + * set to `true`, then the values from the effective `Policy` of the parent + * resource are inherited, meaning the values set in this `Policy` are + * added to the values inherited up the hierarchy. + * + * Setting `Policy` hierarchies that inherit both allowed values and denied + * values isn't recommended in most circumstances to keep the configuration + * simple and understandable. However, it is possible to set a `Policy` with + * `allowed_values` set that inherits a `Policy` with `denied_values` set. + * In this case, the values that are allowed must be in `allowed_values` and + * not present in `denied_values`. + * + * For example, suppose you have a `Constraint` + * `constraints/serviceuser.services`, which has a `constraint_type` of + * `list_constraint`, and with `constraint_default` set to `ALLOW`. + * Suppose that at the Organization level, a `Policy` is applied that + * restricts the allowed API activations to {`E1`, `E2`}. Then, if a + * `Policy` is applied to a project below the Organization that has + * `inherit_from_parent` set to `false` and field all_values set to DENY, + * then an attempt to activate any API will be denied. + * + * The following examples demonstrate different possible layerings: + * + * Example 1 (no inherited values): + * `organizations/foo` has a `Policy` with values: + * {allowed_values: “E1” allowed_values:”E2”} + * ``projects/bar`` has `inherit_from_parent` `false` and values: + * {allowed_values: "E3" allowed_values: "E4"} + * The accepted values at `organizations/foo` are `E1`, `E2`. + * The accepted values at `projects/bar` are `E3`, and `E4`. + * + * Example 2 (inherited values): + * `organizations/foo` has a `Policy` with values: + * {allowed_values: “E1” allowed_values:”E2”} + * `projects/bar` has a `Policy` with values: + * {value: “E3” value: ”E4” inherit_from_parent: true} + * The accepted values at `organizations/foo` are `E1`, `E2`. + * The accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`. + * + * Example 3 (inheriting both allowed and denied values): + * `organizations/foo` has a `Policy` with values: + * {allowed_values: "E1" allowed_values: "E2"} + * `projects/bar` has a `Policy` with: + * {denied_values: "E1"} + * The accepted values at `organizations/foo` are `E1`, `E2`. + * The value accepted at `projects/bar` is `E2`. + * + * Example 4 (RestoreDefault): + * `organizations/foo` has a `Policy` with values: + * {allowed_values: “E1” allowed_values:”E2”} + * `projects/bar` has a `Policy` with values: + * {RestoreDefault: {}} + * The accepted values at `organizations/foo` are `E1`, `E2`. + * The accepted values at `projects/bar` are either all or none depending on + * the value of `constraint_default` (if `ALLOW`, all; if + * `DENY`, none). + * + * Example 5 (no policy inherits parent policy): + * `organizations/foo` has no `Policy` set. + * `projects/bar` has no `Policy` set. + * The accepted values at both levels are either all or none depending on + * the value of `constraint_default` (if `ALLOW`, all; if + * `DENY`, none). + * + * Example 6 (ListConstraint allowing all): + * `organizations/foo` has a `Policy` with values: + * {allowed_values: “E1” allowed_values: ”E2”} + * `projects/bar` has a `Policy` with: + * {all: ALLOW} + * The accepted values at `organizations/foo` are `E1`, E2`. + * Any value is accepted at `projects/bar`. + * + * Example 7 (ListConstraint allowing none): + * `organizations/foo` has a `Policy` with values: + * {allowed_values: “E1” allowed_values: ”E2”} + * `projects/bar` has a `Policy` with: + * {all: DENY} + * The accepted values at `organizations/foo` are `E1`, E2`. + * No value is accepted at `projects/bar`. + */ + inheritFromParent?: boolean; + /** + * Optional. The Google Cloud Console will try to default to a configuration + * that matches the value specified in this `Policy`. If `suggested_value` + * is not set, it will inherit the value specified higher in the hierarchy, + * unless `inherit_from_parent` is `false`. + */ + suggestedValue?: string; + } + interface ListProjectsResponse { + /** + * Pagination token. + * + * If the result set is too large to fit in a single response, this token + * is returned. It encodes the position of the current result cursor. + * Feeding this value into a new list request with the `page_token` parameter + * gives the next page of the results. + * + * When `next_page_token` is not filled in, there is no next page and + * the list returned is the last page in the result set. + * + * Pagination tokens have a limited lifetime. + */ + nextPageToken?: string; + /** + * The list of Projects that matched the list filter. This list can + * be paginated. + */ + projects?: Project[]; + } + interface Operation { + /** + * If the value is `false`, it means the operation is still in progress. + * If `true`, the operation is completed, and either `error` or `response` is + * available. + */ + done?: boolean; + /** The error result of the operation in case of failure or cancellation. */ + error?: Status; + /** + * Service-specific metadata associated with the operation. It typically + * contains progress information and common metadata such as create time. + * Some services might not provide such metadata. Any method that returns a + * long-running operation should document the metadata type, if any. + */ + metadata?: Record<string, any>; + /** + * The server-assigned name, which is only unique within the same service that + * originally returns it. If you use the default HTTP mapping, the + * `name` should have the format of `operations/some/unique/name`. + */ + name?: string; + /** + * The normal response of the operation in case of success. If the original + * method returns no data on success, such as `Delete`, the response is + * `google.protobuf.Empty`. If the original method is standard + * `Get`/`Create`/`Update`, the response should be the resource. For other + * methods, the response should have the type `XxxResponse`, where `Xxx` + * is the original method name. For example, if the original method name + * is `TakeSnapshot()`, the inferred response type is + * `TakeSnapshotResponse`. + */ + response?: Record<string, any>; + } + interface OrgPolicy { + /** For boolean `Constraints`, whether to enforce the `Constraint` or not. */ + booleanPolicy?: BooleanPolicy; + /** + * The name of the `Constraint` the `Policy` is configuring, for example, + * `constraints/serviceuser.services`. + * + * Immutable after creation. + */ + constraint?: string; + /** + * An opaque tag indicating the current version of the `Policy`, used for + * concurrency control. + * + * When the `Policy` is returned from either a `GetPolicy` or a + * `ListOrgPolicy` request, this `etag` indicates the version of the current + * `Policy` to use when executing a read-modify-write loop. + * + * When the `Policy` is returned from a `GetEffectivePolicy` request, the + * `etag` will be unset. + * + * When the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value + * that was returned from a `GetOrgPolicy` request as part of a + * read-modify-write loop for concurrency control. Not setting the `etag`in a + * `SetOrgPolicy` request will result in an unconditional write of the + * `Policy`. + */ + etag?: string; + /** List of values either allowed or disallowed. */ + listPolicy?: ListPolicy; + /** + * Restores the default behavior of the constraint; independent of + * `Constraint` type. + */ + restoreDefault?: any; + /** + * The time stamp the `Policy` was previously updated. This is set by the + * server, not specified by the caller, and represents the last time a call to + * `SetOrgPolicy` was made for that `Policy`. Any value set by the client will + * be ignored. + */ + updateTime?: string; + /** Version of the `Policy`. Default version is 0; */ + version?: number; + } + interface Organization { + /** + * Timestamp when the Organization was created. Assigned by the server. + * @OutputOnly + */ + creationTime?: string; + /** + * A friendly string to be used to refer to the Organization in the UI. + * Assigned by the server, set to the primary domain of the G Suite + * customer that owns the organization. + * @OutputOnly + */ + displayName?: string; + /** + * The organization's current lifecycle state. Assigned by the server. + * @OutputOnly + */ + lifecycleState?: string; + /** + * Output Only. The resource name of the organization. This is the + * organization's relative path in the API. Its format is + * "organizations/[organization_id]". For example, "organizations/1234". + */ + name?: string; + /** + * The owner of this Organization. The owner should be specified on + * creation. Once set, it cannot be changed. + * This field is required. + */ + owner?: OrganizationOwner; + } + interface OrganizationOwner { + /** The Google for Work customer id used in the Directory API. */ + directoryCustomerId?: string; + } + interface Policy { + /** Specifies cloud audit logging configuration for this policy. */ + auditConfigs?: AuditConfig[]; + /** + * Associates a list of `members` to a `role`. + * `bindings` with no members will result in an error. + */ + bindings?: Binding[]; + /** + * `etag` is used for optimistic concurrency control as a way to help + * prevent simultaneous updates of a policy from overwriting each other. + * It is strongly suggested that systems make use of the `etag` in the + * read-modify-write cycle to perform policy updates in order to avoid race + * conditions: An `etag` is returned in the response to `getIamPolicy`, and + * systems are expected to put that etag in the request to `setIamPolicy` to + * ensure that their change will be applied to the same version of the policy. + * + * If no `etag` is provided in the call to `setIamPolicy`, then the existing + * policy is overwritten blindly. + */ + etag?: string; + /** Version of the `Policy`. The default version is 0. */ + version?: number; + } + interface Project { + /** + * Creation time. + * + * Read-only. + */ + createTime?: string; + /** + * The labels associated with this Project. + * + * Label keys must be between 1 and 63 characters long and must conform + * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * + * Label values must be between 0 and 63 characters long and must conform + * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + * + * No more than 256 labels can be associated with a given resource. + * + * Clients should store labels in a representation such as JSON that does not + * depend on specific characters being disallowed. + * + * Example: <code>"environment" : "dev"</code> + * Read-write. + */ + labels?: Record<string, string>; + /** + * The Project lifecycle state. + * + * Read-only. + */ + lifecycleState?: string; + /** + * The user-assigned display name of the Project. + * It must be 4 to 30 characters. + * Allowed characters are: lowercase and uppercase letters, numbers, + * hyphen, single-quote, double-quote, space, and exclamation point. + * + * Example: <code>My Project</code> + * Read-write. + */ + name?: string; + /** + * An optional reference to a parent Resource. + * + * The only supported parent type is "organization". Once set, the parent + * cannot be modified. The `parent` can be set on creation or using the + * `UpdateProject` method; the end user must have the + * `resourcemanager.projects.create` permission on the parent. + * + * Read-write. + */ + parent?: ResourceId; + /** + * The unique, user-assigned ID of the Project. + * It must be 6 to 30 lowercase letters, digits, or hyphens. + * It must start with a letter. + * Trailing hyphens are prohibited. + * + * Example: <code>tokyo-rain-123</code> + * Read-only after creation. + */ + projectId?: string; + /** + * The number uniquely identifying the project. + * + * Example: <code>415104041262</code> + * Read-only. + */ + projectNumber?: string; + } + interface ProjectCreationStatus { + /** Creation time of the project creation workflow. */ + createTime?: string; + /** + * True if the project can be retrieved using GetProject. No other operations + * on the project are guaranteed to work until the project creation is + * complete. + */ + gettable?: boolean; + /** True if the project creation process is complete. */ + ready?: boolean; + } + interface ResourceId { + /** + * Required field for the type-specific id. This should correspond to the id + * used in the type-specific API's. + */ + id?: string; + /** + * Required field representing the resource type this id is for. + * At present, the valid types are: "organization" + */ + type?: string; + } + interface SearchOrganizationsRequest { + /** + * An optional query string used to filter the Organizations to return in + * the response. Filter rules are case-insensitive. + * + * + * Organizations may be filtered by `owner.directoryCustomerId` or by + * `domain`, where the domain is a Google for Work domain, for example: + * + * |Filter|Description| + * |------|-----------| + * |owner.directorycustomerid:123456789|Organizations with + * `owner.directory_customer_id` equal to `123456789`.| + * |domain:google.com|Organizations corresponding to the domain `google.com`.| + * + * This field is optional. + */ + filter?: string; + /** + * The maximum number of Organizations to return in the response. + * This field is optional. + */ + pageSize?: number; + /** + * A pagination token returned from a previous call to `SearchOrganizations` + * that indicates from where listing should continue. + * This field is optional. + */ + pageToken?: string; + } + interface SearchOrganizationsResponse { + /** + * A pagination token to be used to retrieve the next page of results. If the + * result is too large to fit within the page size specified in the request, + * this field will be set with a token that can be used to fetch the next page + * of results. If this field is empty, it indicates that this response + * contains the last page of results. + */ + nextPageToken?: string; + /** + * The list of Organizations that matched the search query, possibly + * paginated. + */ + organizations?: Organization[]; + } + interface SetIamPolicyRequest { + /** + * REQUIRED: The complete policy to be applied to the `resource`. The size of + * the policy is limited to a few 10s of KB. An empty policy is a + * valid policy but certain Cloud Platform services (such as Projects) + * might reject them. + */ + policy?: Policy; + /** + * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only + * the fields in the mask will be modified. If no mask is provided, the + * following default mask is used: + * paths: "bindings, etag" + * This field is only used by Cloud IAM. + */ + updateMask?: string; + } + interface SetOrgPolicyRequest { + /** `Policy` to set on the resource. */ + policy?: OrgPolicy; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface TestIamPermissionsRequest { + /** + * The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more + * information see + * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + */ + permissions?: string[]; + } + interface TestIamPermissionsResponse { + /** + * A subset of `TestPermissionsRequest.permissions` that the caller is + * allowed. + */ + permissions?: string[]; + } + interface FoldersResource { + /** Clears a `Policy` from a resource. */ + clearOrgPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Name of the resource for the `Policy` to clear. */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets the effective `Policy` on a resource. This is the result of merging + * `Policies` in the resource hierarchy. The returned `Policy` will not have + * an `etag`set because it is a computed `Policy` across multiple resources. + */ + getEffectiveOrgPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The name of the resource to start computing the effective `Policy`. */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<OrgPolicy>; + /** + * Gets a `Policy` on a resource. + * + * If no `Policy` is set on the resource, a `Policy` is returned with default + * values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The + * `etag` value can be used with `SetOrgPolicy()` to create or update a + * `Policy` during read-modify-write. + */ + getOrgPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Name of the resource the `Policy` is set on. */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<OrgPolicy>; + /** Lists `Constraints` that could be applied on the specified resource. */ + listAvailableOrgPolicyConstraints(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Name of the resource to list `Constraints` for. */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListAvailableOrgPolicyConstraintsResponse>; + /** Lists all the `Policies` set for a particular resource. */ + listOrgPolicies(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Name of the resource to list Policies for. */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListOrgPoliciesResponse>; + /** + * Updates the specified `Policy` on the resource. Creates a new `Policy` for + * that `Constraint` on the resource if one does not exist. + * + * Not supplying an `etag` on the request `Policy` results in an unconditional + * write of the `Policy`. + */ + setOrgPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Resource name of the resource to attach the `Policy`. */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<OrgPolicy>; + } + interface LiensResource { + /** + * Create a Lien which applies to the resource denoted by the `parent` field. + * + * Callers of this method will require permission on the `parent` resource. + * For example, applying to `projects/1234` requires permission + * `resourcemanager.projects.updateLiens`. + * + * NOTE: Some resources may limit the number of Liens which may be applied. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Lien>; + /** + * Delete a Lien by `name`. + * + * Callers of this method will require permission on the `parent` resource. + * For example, a Lien with a `parent` of `projects/1234` requires permission + * `resourcemanager.projects.updateLiens`. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name/identifier of the Lien to delete. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * List all Liens applied to the `parent` resource. + * + * Callers of this method will require permission on the `parent` resource. + * For example, a Lien with a `parent` of `projects/1234` requires permission + * `resourcemanager.projects.get`. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The maximum number of items to return. This is a suggestion for the server. */ + pageSize?: number; + /** The `next_page_token` value returned from a previous List request, if any. */ + pageToken?: string; + /** + * The name of the resource to list all attached Liens. + * For example, `projects/1234`. + */ + parent?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListLiensResponse>; + } + interface OperationsResource { + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + } + interface OrganizationsResource { + /** Clears a `Policy` from a resource. */ + clearOrgPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Name of the resource for the `Policy` to clear. */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Fetches an Organization resource identified by the specified resource name. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The resource name of the Organization to fetch, e.g. "organizations/1234". */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Organization>; + /** + * Gets the effective `Policy` on a resource. This is the result of merging + * `Policies` in the resource hierarchy. The returned `Policy` will not have + * an `etag`set because it is a computed `Policy` across multiple resources. + */ + getEffectiveOrgPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The name of the resource to start computing the effective `Policy`. */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<OrgPolicy>; + /** + * Gets the access control policy for an Organization resource. May be empty + * if no such policy or resource exists. The `resource` field should be the + * organization's resource name, e.g. "organizations/123". + * + * Authorization requires the Google IAM permission + * `resourcemanager.organizations.getIamPolicy` on the specified organization + */ + getIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Gets a `Policy` on a resource. + * + * If no `Policy` is set on the resource, a `Policy` is returned with default + * values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The + * `etag` value can be used with `SetOrgPolicy()` to create or update a + * `Policy` during read-modify-write. + */ + getOrgPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Name of the resource the `Policy` is set on. */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<OrgPolicy>; + /** Lists `Constraints` that could be applied on the specified resource. */ + listAvailableOrgPolicyConstraints(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Name of the resource to list `Constraints` for. */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListAvailableOrgPolicyConstraintsResponse>; + /** Lists all the `Policies` set for a particular resource. */ + listOrgPolicies(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Name of the resource to list Policies for. */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListOrgPoliciesResponse>; + /** + * Searches Organization resources that are visible to the user and satisfy + * the specified filter. This method returns Organizations in an unspecified + * order. New Organizations do not necessarily appear at the end of the + * results. + * + * Search will only return organizations on which the user has the permission + * `resourcemanager.organizations.get` + */ + search(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SearchOrganizationsResponse>; + /** + * Sets the access control policy on an Organization resource. Replaces any + * existing policy. The `resource` field should be the organization's resource + * name, e.g. "organizations/123". + * + * Authorization requires the Google IAM permission + * `resourcemanager.organizations.setIamPolicy` on the specified organization + */ + setIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being specified. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Updates the specified `Policy` on the resource. Creates a new `Policy` for + * that `Constraint` on the resource if one does not exist. + * + * Not supplying an `etag` on the request `Policy` results in an unconditional + * write of the `Policy`. + */ + setOrgPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Resource name of the resource to attach the `Policy`. */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<OrgPolicy>; + /** + * Returns permissions that a caller has on the specified Organization. + * The `resource` field should be the organization's resource name, + * e.g. "organizations/123". + * + * There are no permissions required for making this API call. + */ + testIamPermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy detail is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TestIamPermissionsResponse>; + } + interface ProjectsResource { + /** Clears a `Policy` from a resource. */ + clearOrgPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Name of the resource for the `Policy` to clear. */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Request that a new Project be created. The result is an Operation which + * can be used to track the creation process. It is automatically deleted + * after a few hours, so there is no need to call DeleteOperation. + * + * Our SLO permits Project creation to take up to 30 seconds at the 90th + * percentile. As of 2016-08-29, we are observing 6 seconds 50th percentile + * latency. 95th percentile latency is around 11 seconds. We recommend + * polling at the 5th second with an exponential backoff. + * + * Authorization requires the Google IAM permission + * `resourcemanager.projects.create` on the specified parent for the new + * project. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Marks the Project identified by the specified + * `project_id` (for example, `my-project-123`) for deletion. + * This method will only affect the Project if the following criteria are met: + * + * + The Project does not have a billing account associated with it. + * + The Project has a lifecycle state of + * ACTIVE. + * + * This method changes the Project's lifecycle state from + * ACTIVE + * to DELETE_REQUESTED. + * The deletion starts at an unspecified time, + * at which point the Project is no longer accessible. + * + * Until the deletion completes, you can check the lifecycle state + * checked by retrieving the Project with GetProject, + * and the Project remains visible to ListProjects. + * However, you cannot update the project. + * + * After the deletion completes, the Project is not retrievable by + * the GetProject and + * ListProjects methods. + * + * The caller must have modify permissions for this Project. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Project ID (for example, `foo-bar-123`). + * + * Required. + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Retrieves the Project identified by the specified + * `project_id` (for example, `my-project-123`). + * + * The caller must have read permissions for this Project. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Project ID (for example, `my-project-123`). + * + * Required. + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Project>; + /** + * Gets a list of ancestors in the resource hierarchy for the Project + * identified by the specified `project_id` (for example, `my-project-123`). + * + * The caller must have read permissions for this Project. + */ + getAncestry(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Project ID (for example, `my-project-123`). + * + * Required. + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GetAncestryResponse>; + /** + * Gets the effective `Policy` on a resource. This is the result of merging + * `Policies` in the resource hierarchy. The returned `Policy` will not have + * an `etag`set because it is a computed `Policy` across multiple resources. + */ + getEffectiveOrgPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The name of the resource to start computing the effective `Policy`. */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<OrgPolicy>; + /** + * Returns the IAM access control policy for the specified Project. + * Permission is denied if the policy or the resource does not exist. + * + * Authorization requires the Google IAM permission + * `resourcemanager.projects.getIamPolicy` on the project + */ + getIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Gets a `Policy` on a resource. + * + * If no `Policy` is set on the resource, a `Policy` is returned with default + * values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The + * `etag` value can be used with `SetOrgPolicy()` to create or update a + * `Policy` during read-modify-write. + */ + getOrgPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Name of the resource the `Policy` is set on. */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<OrgPolicy>; + /** + * Lists Projects that are visible to the user and satisfy the + * specified filter. This method returns Projects in an unspecified order. + * New Projects do not necessarily appear at the end of the list. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * An expression for filtering the results of the request. Filter rules are + * case insensitive. The fields eligible for filtering are: + * + * + `name` + * + `id` + * + <code>labels.<em>key</em></code> where *key* is the name of a label + * + * Some examples of using labels as filters: + * + * |Filter|Description| + * |------|-----------| + * |name:how*|The project's name starts with "how".| + * |name:Howl|The project's name is `Howl` or `howl`.| + * |name:HOWL|Equivalent to above.| + * |NAME:howl|Equivalent to above.| + * |labels.color:*|The project has the label `color`.| + * |labels.color:red|The project's label `color` has the value `red`.| + * |labels.color:red labels.size:big|The project's label `color` has the value `red` and its label `size` has the value `big`. + * + * If you specify a filter that has both `parent.type` and `parent.id`, then + * the `resourcemanager.projects.list` permission is checked on the parent. + * If the user has this permission, all projects under the parent will be + * returned after remaining filters have been applied. If the user lacks this + * permission, then all projects for which the user has the + * `resourcemanager.projects.get` permission will be returned after remaining + * filters have been applied. If no filter is specified, the call will return + * projects for which the user has `resourcemanager.projects.get` permissions. + * + * Optional. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The maximum number of Projects to return in the response. + * The server can return fewer Projects than requested. + * If unspecified, server picks an appropriate default. + * + * Optional. + */ + pageSize?: number; + /** + * A pagination token returned from a previous call to ListProjects + * that indicates from where listing should continue. + * + * Optional. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListProjectsResponse>; + /** Lists `Constraints` that could be applied on the specified resource. */ + listAvailableOrgPolicyConstraints(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Name of the resource to list `Constraints` for. */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListAvailableOrgPolicyConstraintsResponse>; + /** Lists all the `Policies` set for a particular resource. */ + listOrgPolicies(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Name of the resource to list Policies for. */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListOrgPoliciesResponse>; + /** + * Sets the IAM access control policy for the specified Project. Replaces + * any existing policy. + * + * The following constraints apply when using `setIamPolicy()`: + * + * + Project does not support `allUsers` and `allAuthenticatedUsers` as + * `members` in a `Binding` of a `Policy`. + * + * + The owner role can be granted only to `user` and `serviceAccount`. + * + * + Service accounts can be made owners of a project directly + * without any restrictions. However, to be added as an owner, a user must be + * invited via Cloud Platform console and must accept the invitation. + * + * + A user cannot be granted the owner role using `setIamPolicy()`. The user + * must be granted the owner role using the Cloud Platform Console and must + * explicitly accept the invitation. + * + * + Invitations to grant the owner role cannot be sent using + * `setIamPolicy()`; + * they must be sent only using the Cloud Platform Console. + * + * + Membership changes that leave the project without any owners that have + * accepted the Terms of Service (ToS) will be rejected. + * + * + If the project is not part of an organization, there must be at least + * one owner who has accepted the Terms of Service (ToS) agreement in the + * policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner + * from the policy will fail. This restriction also applies to legacy + * projects that no longer have owners who have accepted the ToS. Edits to + * IAM policies will be rejected until the lack of a ToS-accepting owner is + * rectified. + * + * + Calling this method requires enabling the App Engine Admin API. + * + * Note: Removing service accounts from policies or changing their roles + * can render services completely inoperable. It is important to understand + * how the service account is being used before removing or updating its + * roles. + * + * Authorization requires the Google IAM permission + * `resourcemanager.projects.setIamPolicy` on the project + */ + setIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being specified. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Updates the specified `Policy` on the resource. Creates a new `Policy` for + * that `Constraint` on the resource if one does not exist. + * + * Not supplying an `etag` on the request `Policy` results in an unconditional + * write of the `Policy`. + */ + setOrgPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Resource name of the resource to attach the `Policy`. */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<OrgPolicy>; + /** + * Returns permissions that a caller has on the specified Project. + * + * There are no permissions required for making this API call. + */ + testIamPermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy detail is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TestIamPermissionsResponse>; + /** + * Restores the Project identified by the specified + * `project_id` (for example, `my-project-123`). + * You can only use this method for a Project that has a lifecycle state of + * DELETE_REQUESTED. + * After deletion starts, the Project cannot be restored. + * + * The caller must have modify permissions for this Project. + */ + undelete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The project ID (for example, `foo-bar-123`). + * + * Required. + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Updates the attributes of the Project identified by the specified + * `project_id` (for example, `my-project-123`). + * + * The caller must have modify permissions for this Project. + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The project ID (for example, `my-project-123`). + * + * Required. + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Project>; + } + } +} diff --git a/types/gapi.client.cloudresourcemanager/readme.md b/types/gapi.client.cloudresourcemanager/readme.md new file mode 100644 index 0000000000..c034eb5ae9 --- /dev/null +++ b/types/gapi.client.cloudresourcemanager/readme.md @@ -0,0 +1,409 @@ +# TypeScript typings for Google Cloud Resource Manager API v1 +The Google Cloud Resource Manager API provides methods for creating, reading, and updating project metadata. +For detailed description please check [documentation](https://cloud.google.com/resource-manager). + +## Installing + +Install typings for Google Cloud Resource Manager API: +``` +npm install @types/gapi.client.cloudresourcemanager@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('cloudresourcemanager', 'v1', () => { + // now we can use gapi.client.cloudresourcemanager + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform.read-only', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Cloud Resource Manager API resources: + +```typescript + +/* +Clears a `Policy` from a resource. +*/ +await gapi.client.folders.clearOrgPolicy({ resource: "resource", }); + +/* +Gets the effective `Policy` on a resource. This is the result of merging +`Policies` in the resource hierarchy. The returned `Policy` will not have +an `etag`set because it is a computed `Policy` across multiple resources. +*/ +await gapi.client.folders.getEffectiveOrgPolicy({ resource: "resource", }); + +/* +Gets a `Policy` on a resource. + +If no `Policy` is set on the resource, a `Policy` is returned with default +values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The +`etag` value can be used with `SetOrgPolicy()` to create or update a +`Policy` during read-modify-write. +*/ +await gapi.client.folders.getOrgPolicy({ resource: "resource", }); + +/* +Lists `Constraints` that could be applied on the specified resource. +*/ +await gapi.client.folders.listAvailableOrgPolicyConstraints({ resource: "resource", }); + +/* +Lists all the `Policies` set for a particular resource. +*/ +await gapi.client.folders.listOrgPolicies({ resource: "resource", }); + +/* +Updates the specified `Policy` on the resource. Creates a new `Policy` for +that `Constraint` on the resource if one does not exist. + +Not supplying an `etag` on the request `Policy` results in an unconditional +write of the `Policy`. +*/ +await gapi.client.folders.setOrgPolicy({ resource: "resource", }); + +/* +Create a Lien which applies to the resource denoted by the `parent` field. + +Callers of this method will require permission on the `parent` resource. +For example, applying to `projects/1234` requires permission +`resourcemanager.projects.updateLiens`. + +NOTE: Some resources may limit the number of Liens which may be applied. +*/ +await gapi.client.liens.create({ }); + +/* +Delete a Lien by `name`. + +Callers of this method will require permission on the `parent` resource. +For example, a Lien with a `parent` of `projects/1234` requires permission +`resourcemanager.projects.updateLiens`. +*/ +await gapi.client.liens.delete({ name: "name", }); + +/* +List all Liens applied to the `parent` resource. + +Callers of this method will require permission on the `parent` resource. +For example, a Lien with a `parent` of `projects/1234` requires permission +`resourcemanager.projects.get`. +*/ +await gapi.client.liens.list({ }); + +/* +Gets the latest state of a long-running operation. Clients can use this +method to poll the operation result at intervals as recommended by the API +service. +*/ +await gapi.client.operations.get({ name: "name", }); + +/* +Clears a `Policy` from a resource. +*/ +await gapi.client.organizations.clearOrgPolicy({ resource: "resource", }); + +/* +Fetches an Organization resource identified by the specified resource name. +*/ +await gapi.client.organizations.get({ name: "name", }); + +/* +Gets the effective `Policy` on a resource. This is the result of merging +`Policies` in the resource hierarchy. The returned `Policy` will not have +an `etag`set because it is a computed `Policy` across multiple resources. +*/ +await gapi.client.organizations.getEffectiveOrgPolicy({ resource: "resource", }); + +/* +Gets the access control policy for an Organization resource. May be empty +if no such policy or resource exists. The `resource` field should be the +organization's resource name, e.g. "organizations/123". + +Authorization requires the Google IAM permission +`resourcemanager.organizations.getIamPolicy` on the specified organization +*/ +await gapi.client.organizations.getIamPolicy({ resource: "resource", }); + +/* +Gets a `Policy` on a resource. + +If no `Policy` is set on the resource, a `Policy` is returned with default +values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The +`etag` value can be used with `SetOrgPolicy()` to create or update a +`Policy` during read-modify-write. +*/ +await gapi.client.organizations.getOrgPolicy({ resource: "resource", }); + +/* +Lists `Constraints` that could be applied on the specified resource. +*/ +await gapi.client.organizations.listAvailableOrgPolicyConstraints({ resource: "resource", }); + +/* +Lists all the `Policies` set for a particular resource. +*/ +await gapi.client.organizations.listOrgPolicies({ resource: "resource", }); + +/* +Searches Organization resources that are visible to the user and satisfy +the specified filter. This method returns Organizations in an unspecified +order. New Organizations do not necessarily appear at the end of the +results. + +Search will only return organizations on which the user has the permission +`resourcemanager.organizations.get` +*/ +await gapi.client.organizations.search({ }); + +/* +Sets the access control policy on an Organization resource. Replaces any +existing policy. The `resource` field should be the organization's resource +name, e.g. "organizations/123". + +Authorization requires the Google IAM permission +`resourcemanager.organizations.setIamPolicy` on the specified organization +*/ +await gapi.client.organizations.setIamPolicy({ resource: "resource", }); + +/* +Updates the specified `Policy` on the resource. Creates a new `Policy` for +that `Constraint` on the resource if one does not exist. + +Not supplying an `etag` on the request `Policy` results in an unconditional +write of the `Policy`. +*/ +await gapi.client.organizations.setOrgPolicy({ resource: "resource", }); + +/* +Returns permissions that a caller has on the specified Organization. +The `resource` field should be the organization's resource name, +e.g. "organizations/123". + +There are no permissions required for making this API call. +*/ +await gapi.client.organizations.testIamPermissions({ resource: "resource", }); + +/* +Clears a `Policy` from a resource. +*/ +await gapi.client.projects.clearOrgPolicy({ resource: "resource", }); + +/* +Request that a new Project be created. The result is an Operation which +can be used to track the creation process. It is automatically deleted +after a few hours, so there is no need to call DeleteOperation. + +Our SLO permits Project creation to take up to 30 seconds at the 90th +percentile. As of 2016-08-29, we are observing 6 seconds 50th percentile +latency. 95th percentile latency is around 11 seconds. We recommend +polling at the 5th second with an exponential backoff. + +Authorization requires the Google IAM permission +`resourcemanager.projects.create` on the specified parent for the new +project. +*/ +await gapi.client.projects.create({ }); + +/* +Marks the Project identified by the specified +`project_id` (for example, `my-project-123`) for deletion. +This method will only affect the Project if the following criteria are met: + ++ The Project does not have a billing account associated with it. ++ The Project has a lifecycle state of +ACTIVE. + +This method changes the Project's lifecycle state from +ACTIVE +to DELETE_REQUESTED. +The deletion starts at an unspecified time, +at which point the Project is no longer accessible. + +Until the deletion completes, you can check the lifecycle state +checked by retrieving the Project with GetProject, +and the Project remains visible to ListProjects. +However, you cannot update the project. + +After the deletion completes, the Project is not retrievable by +the GetProject and +ListProjects methods. + +The caller must have modify permissions for this Project. +*/ +await gapi.client.projects.delete({ projectId: "projectId", }); + +/* +Retrieves the Project identified by the specified +`project_id` (for example, `my-project-123`). + +The caller must have read permissions for this Project. +*/ +await gapi.client.projects.get({ projectId: "projectId", }); + +/* +Gets a list of ancestors in the resource hierarchy for the Project +identified by the specified `project_id` (for example, `my-project-123`). + +The caller must have read permissions for this Project. +*/ +await gapi.client.projects.getAncestry({ projectId: "projectId", }); + +/* +Gets the effective `Policy` on a resource. This is the result of merging +`Policies` in the resource hierarchy. The returned `Policy` will not have +an `etag`set because it is a computed `Policy` across multiple resources. +*/ +await gapi.client.projects.getEffectiveOrgPolicy({ resource: "resource", }); + +/* +Returns the IAM access control policy for the specified Project. +Permission is denied if the policy or the resource does not exist. + +Authorization requires the Google IAM permission +`resourcemanager.projects.getIamPolicy` on the project +*/ +await gapi.client.projects.getIamPolicy({ resource: "resource", }); + +/* +Gets a `Policy` on a resource. + +If no `Policy` is set on the resource, a `Policy` is returned with default +values including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The +`etag` value can be used with `SetOrgPolicy()` to create or update a +`Policy` during read-modify-write. +*/ +await gapi.client.projects.getOrgPolicy({ resource: "resource", }); + +/* +Lists Projects that are visible to the user and satisfy the +specified filter. This method returns Projects in an unspecified order. +New Projects do not necessarily appear at the end of the list. +*/ +await gapi.client.projects.list({ }); + +/* +Lists `Constraints` that could be applied on the specified resource. +*/ +await gapi.client.projects.listAvailableOrgPolicyConstraints({ resource: "resource", }); + +/* +Lists all the `Policies` set for a particular resource. +*/ +await gapi.client.projects.listOrgPolicies({ resource: "resource", }); + +/* +Sets the IAM access control policy for the specified Project. Replaces +any existing policy. + +The following constraints apply when using `setIamPolicy()`: + ++ Project does not support `allUsers` and `allAuthenticatedUsers` as +`members` in a `Binding` of a `Policy`. + ++ The owner role can be granted only to `user` and `serviceAccount`. + ++ Service accounts can be made owners of a project directly +without any restrictions. However, to be added as an owner, a user must be +invited via Cloud Platform console and must accept the invitation. + ++ A user cannot be granted the owner role using `setIamPolicy()`. The user +must be granted the owner role using the Cloud Platform Console and must +explicitly accept the invitation. + ++ Invitations to grant the owner role cannot be sent using +`setIamPolicy()`; +they must be sent only using the Cloud Platform Console. + ++ Membership changes that leave the project without any owners that have +accepted the Terms of Service (ToS) will be rejected. + ++ If the project is not part of an organization, there must be at least +one owner who has accepted the Terms of Service (ToS) agreement in the +policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner +from the policy will fail. This restriction also applies to legacy +projects that no longer have owners who have accepted the ToS. Edits to +IAM policies will be rejected until the lack of a ToS-accepting owner is +rectified. + ++ Calling this method requires enabling the App Engine Admin API. + +Note: Removing service accounts from policies or changing their roles +can render services completely inoperable. It is important to understand +how the service account is being used before removing or updating its +roles. + +Authorization requires the Google IAM permission +`resourcemanager.projects.setIamPolicy` on the project +*/ +await gapi.client.projects.setIamPolicy({ resource: "resource", }); + +/* +Updates the specified `Policy` on the resource. Creates a new `Policy` for +that `Constraint` on the resource if one does not exist. + +Not supplying an `etag` on the request `Policy` results in an unconditional +write of the `Policy`. +*/ +await gapi.client.projects.setOrgPolicy({ resource: "resource", }); + +/* +Returns permissions that a caller has on the specified Project. + +There are no permissions required for making this API call. +*/ +await gapi.client.projects.testIamPermissions({ resource: "resource", }); + +/* +Restores the Project identified by the specified +`project_id` (for example, `my-project-123`). +You can only use this method for a Project that has a lifecycle state of +DELETE_REQUESTED. +After deletion starts, the Project cannot be restored. + +The caller must have modify permissions for this Project. +*/ +await gapi.client.projects.undelete({ projectId: "projectId", }); + +/* +Updates the attributes of the Project identified by the specified +`project_id` (for example, `my-project-123`). + +The caller must have modify permissions for this Project. +*/ +await gapi.client.projects.update({ projectId: "projectId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.cloudresourcemanager/tsconfig.json b/types/gapi.client.cloudresourcemanager/tsconfig.json new file mode 100644 index 0000000000..c82cbc16f6 --- /dev/null +++ b/types/gapi.client.cloudresourcemanager/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.cloudresourcemanager-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.cloudresourcemanager/tslint.json b/types/gapi.client.cloudresourcemanager/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.cloudresourcemanager/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.cloudtasks/gapi.client.cloudtasks-tests.ts b/types/gapi.client.cloudtasks/gapi.client.cloudtasks-tests.ts new file mode 100644 index 0000000000..dc2da0ba4c --- /dev/null +++ b/types/gapi.client.cloudtasks/gapi.client.cloudtasks-tests.ts @@ -0,0 +1,32 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('cloudtasks', 'v2beta2', () => { + /** now we can use gapi.client.cloudtasks */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + } +}); diff --git a/types/gapi.client.cloudtasks/index.d.ts b/types/gapi.client.cloudtasks/index.d.ts new file mode 100644 index 0000000000..3e1d3f3c08 --- /dev/null +++ b/types/gapi.client.cloudtasks/index.d.ts @@ -0,0 +1,2100 @@ +// Type definitions for Google Cloud Tasks API v2beta2 2.0 +// Project: https://cloud.google.com/cloud-tasks/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://cloudtasks.googleapis.com/$discovery/rest?version=v2beta2 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Cloud Tasks API v2beta2 */ + function load(name: "cloudtasks", version: "v2beta2"): PromiseLike<void>; + function load(name: "cloudtasks", version: "v2beta2", callback: () => any): void; + + const projects: cloudtasks.ProjectsResource; + + namespace cloudtasks { + interface AcknowledgeTaskRequest { + /** + * Required. + * + * The task's current schedule time, available in the Task.schedule_time + * returned in PullTasksResponse.tasks or + * CloudTasks.RenewLease. This restriction is to check that + * the caller is acknowledging the correct task. + */ + scheduleTime?: string; + } + interface AppEngineHttpRequest { + /** + * Task-level setting for App Engine routing. + * + * If set, AppEngineHttpTarget.app_engine_routing_override is used for + * all tasks in the queue, no matter what the setting is for the + * task-level app_engine_routing. + */ + appEngineRouting?: AppEngineRouting; + /** + * HTTP request headers. + * + * This map contains the header field names and values. + * Headers can be set when the + * [task is created](google.cloud.tasks.v2beta2.CloudTasks.CreateTask). + * Repeated headers are not supported but a header value can contain commas. + * + * Cloud Tasks sets some headers to default values: + * + * * `User-Agent`: By default, this header is + * `"AppEngine-Google; (+http://code.google.com/appengine)"`. + * This header can be modified, but Cloud Tasks will append + * `"AppEngine-Google; (+http://code.google.com/appengine)"` to the + * modified `User-Agent`. + * + * If the task has an AppEngineHttpRequest.payload, Cloud Tasks sets the + * following headers: + * + * * `Content-Type`: By default, the `Content-Type` header is set to + * `"application/octet-stream"`. The default can be overridden by explictly + * setting `Content-Type` to a particular media type when the + * [task is created](google.cloud.tasks.v2beta2.CloudTasks.CreateTask). + * For example, `Content-Type` can be set to `"application/json"`. + * * `Content-Length`: This is computed by Cloud Tasks. This value is + * output only. It cannot be changed. + * + * The headers below cannot be set or overridden: + * + * * `Host` + * * `X-Google-*` + * * `X-AppEngine-*` + * + * In addition, some App Engine headers, which contain + * task-specific information, are also be sent to the task handler; see + * [request headers](/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). + */ + headers?: Record<string, string>; + /** + * The HTTP method to use for the request. The default is POST. + * + * The app's request handler for the task's target URL must be able to handle + * HTTP requests with this http_method, otherwise the task attempt will fail + * with error code 405 (Method Not Allowed). See + * the Request-Line is not allowed for the resource identified by the + * Request-URI". See + * [Writing a push task request handler](/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler) + * and the documentation for the request handlers in the language your app is + * written in e.g. + * [python RequestHandler](/appengine/docs/python/tools/webapp/requesthandlerclass). + */ + httpMethod?: string; + /** + * Payload. + * + * The payload will be sent as the HTTP message body. A message + * body, and thus a payload, is allowed only if the HTTP method is + * POST or PUT. It is an error to set a data payload on a task with + * an incompatible HttpMethod. + */ + payload?: string; + /** + * The relative URL. + * + * The relative URL must begin with "/" and must be a valid HTTP relative URL. + * It can contain a path and query string arguments. + * If the relative URL is empty, then the root path "/" will be used. + * No spaces are allowed, and the maximum length allowed is 2083 characters. + */ + relativeUrl?: string; + } + interface AppEngineHttpTarget { + /** + * Overrides for the + * task-level app_engine_routing. + * + * If set, AppEngineHttpTarget.app_engine_routing_override is used for + * all tasks in the queue, no matter what the setting is for the + * task-level app_engine_routing. + */ + appEngineRoutingOverride?: AppEngineRouting; + } + interface AppEngineQueueConfig { + /** Deprecated. Use AppEngineTarget.app_engine_routing_override. */ + appEngineRoutingOverride?: AppEngineRouting; + } + interface AppEngineRouting { + /** + * Output only. + * + * The host that the task is sent to. For more information, see + * [How Requests are Routed](/appengine/docs/standard/python/how-requests-are-routed). + * + * The host is constructed as: + * + * + * * `host = [application_domain_name]`</br> + * `| [service] + '.' + [application_domain_name]`</br> + * `| [version] + '.' + [application_domain_name]`</br> + * `| [version_dot_service]+ '.' + [application_domain_name]`</br> + * `| [instance] + '.' + [application_domain_name]`</br> + * `| [instance_dot_service] + '.' + [application_domain_name]`</br> + * `| [instance_dot_version] + '.' + [application_domain_name]`</br> + * `| [instance_dot_version_dot_service] + '.' + [application_domain_name]` + * + * * `application_domain_name` = The domain name of the app, for + * example <app-id>.appspot.com, which is associated with the + * queue's project ID. Some tasks which were created using the App Engine + * SDK use a custom domain name. + * + * * `service =` AppEngineRouting.service + * + * * `version =` AppEngineRouting.version + * + * * `version_dot_service =` + * AppEngineRouting.version `+ '.' +` AppEngineRouting.service + * + * * `instance =` AppEngineRouting.instance + * + * * `instance_dot_service =` + * AppEngineRouting.instance `+ '.' +` AppEngineRouting.service + * + * * `instance_dot_version =` + * AppEngineRouting.instance `+ '.' +` AppEngineRouting.version + * + * * `instance_dot_version_dot_service =` + * AppEngineRouting.instance `+ '.' +` + * AppEngineRouting.version `+ '.' +` AppEngineRouting.service + * + * If AppEngineRouting.service is empty, then the task will be sent + * to the service which is the default service when the task is attempted. + * + * If AppEngineRouting.version is empty, then the task will be sent + * to the version which is the default version when the task is attempted. + * + * If AppEngineRouting.instance is empty, then the task will be sent + * to an instance which is available when the task is attempted. + * + * When AppEngineRouting.service is "default", + * AppEngineRouting.version is "default", and + * AppEngineRouting.instance is empty, AppEngineRouting.host is + * shortened to just the `application_domain_name`. + * + * If AppEngineRouting.service, AppEngineRouting.version, or + * AppEngineRouting.instance is invalid, then the task will be sent + * to the default version of the default service when the task is attempted. + */ + host?: string; + /** + * App instance. + * + * By default, the task is sent to an instance which is available when + * the task is attempted. + * + * Requests can only be sent to a specific instance if + * [manual scaling is used in App Engine Standard](/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes). + * App Engine Flex does not support instances. For more information, see + * [App Engine Standard request routing](/appengine/docs/standard/python/how-requests-are-routed) + * and [App Engine Flex request routing](/appengine/docs/flexible/python/how-requests-are-routed). + */ + instance?: string; + /** + * App service. + * + * By default, the task is sent to the service which is the default + * service when the task is attempted ("default"). + * + * For some queues or tasks which were created using the App Engine Task Queue + * API, AppEngineRouting.host is not parsable into + * AppEngineRouting.service, AppEngineRouting.version, and + * AppEngineRouting.instance. For example, some tasks which were created + * using the App Engine SDK use a custom domain name; custom domains are not + * parsed by Cloud Tasks. If AppEngineRouting.host is not parsable, then + * AppEngineRouting.service, AppEngineRouting.version, and + * AppEngineRouting.instance are the empty string. + */ + service?: string; + /** + * App version. + * + * By default, the task is sent to the version which is the default + * version when the task is attempted ("default"). + * + * For some queues or tasks which were created using the App Engine Task Queue + * API, AppEngineRouting.host is not parsable into + * AppEngineRouting.service, AppEngineRouting.version, and + * AppEngineRouting.instance. For example, some tasks which were created + * using the App Engine SDK use a custom domain name; custom domains are not + * parsed by Cloud Tasks. If AppEngineRouting.host is not parsable, then + * AppEngineRouting.service, AppEngineRouting.version, and + * AppEngineRouting.instance are the empty string. + */ + version?: string; + } + interface AppEngineTaskTarget { + /** Deprecated. Use AppEngineHttpRequest.app_engine_routing. */ + appEngineRouting?: AppEngineRouting; + /** Deprecated. Use AppEngineHttpRequest.headers. */ + headers?: Record<string, string>; + /** Deprecated. Use AppEngineHttpRequest.http_method. */ + httpMethod?: string; + /** Deprecated. Use AppEngineHttpRequest.payload. */ + payload?: string; + /** Deprecated. Use AppEngineHttpRequest.relative_url. */ + relativeUrl?: string; + } + interface AttemptStatus { + /** + * Output only. + * + * The time that this attempt was dispatched. + * + * `dispatch_time` will be truncated to the nearest microsecond. + */ + dispatchTime?: string; + /** + * Output only. + * + * The response from the target for this attempt. + * + * If the task has not been attempted or the task is currently running + * then the response status is google.rpc.Code.UNKNOWN. + */ + responseStatus?: Status; + /** + * Output only. + * + * The time that this attempt response was received. + * + * `response_time` will be truncated to the nearest microsecond. + */ + responseTime?: string; + /** + * Output only. + * + * The time that this attempt was scheduled. + * + * `schedule_time` will be truncated to the nearest microsecond. + */ + scheduleTime?: string; + } + interface Binding { + /** + * Specifies the identities requesting access for a Cloud Platform resource. + * `members` can have the following values: + * + * * `allUsers`: A special identifier that represents anyone who is + * on the internet; with or without a Google account. + * + * * `allAuthenticatedUsers`: A special identifier that represents anyone + * who is authenticated with a Google account or a service account. + * + * * `user:{emailid}`: An email address that represents a specific Google + * account. For example, `alice@gmail.com` or `joe@example.com`. + * + * + * * `serviceAccount:{emailid}`: An email address that represents a service + * account. For example, `my-other-app@appspot.gserviceaccount.com`. + * + * * `group:{emailid}`: An email address that represents a Google group. + * For example, `admins@example.com`. + * + * + * * `domain:{domain}`: A Google Apps domain name that represents all the + * users of that domain. For example, `google.com` or `example.com`. + */ + members?: string[]; + /** + * Role that is assigned to `members`. + * For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + * Required + */ + role?: string; + } + interface CancelLeaseRequest { + /** + * The response_view specifies which subset of the Task will be + * returned. + * + * By default response_view is Task.View.BASIC; not all + * information is retrieved by default because some data, such as + * payloads, might be desirable to return only when needed because + * of its large size or because of the sensitivity of data that it + * contains. + * + * Authorization for Task.View.FULL requires `cloudtasks.tasks.fullView` + * [Google IAM](/iam/) permission on the + * Task.name resource. + */ + responseView?: string; + /** + * Required. + * + * The task's current schedule time, available in the Task.schedule_time + * returned in PullTasksResponse.tasks or + * CloudTasks.RenewLease. This restriction is to check that + * the caller is canceling the correct task. + */ + scheduleTime?: string; + } + interface CreateTaskRequest { + /** + * The response_view specifies which subset of the Task will be + * returned. + * + * By default response_view is Task.View.BASIC; not all + * information is retrieved by default because some data, such as + * payloads, might be desirable to return only when needed because + * of its large size or because of the sensitivity of data that it + * contains. + * + * Authorization for Task.View.FULL requires `cloudtasks.tasks.fullView` + * [Google IAM](/iam/) permission on the + * Task.name resource. + */ + responseView?: string; + /** + * Required. + * + * The task to add. + * + * Task names have the following format: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. + * The user can optionally specify a name for the task in + * Task.name. If a name is not specified then the system will + * generate a random unique task id, which will be returned in the + * response's Task.name. + * + * If Task.schedule_time is not set or is in the past then Cloud + * Tasks will set it to the current time. + * + * Task De-duplication: + * + * Explicitly specifying a task ID enables task de-duplication. If + * a task's ID is identical to that of an existing task or a task + * that was deleted or completed recently then the call will fail + * with google.rpc.Code.ALREADY_EXISTS. If the task's queue was + * created using Cloud Tasks, then another task with the same name + * can't be created for ~1hour after the original task was deleted + * or completed. If the task's queue was created using queue.yaml or + * queue.xml, then another task with the same name can't be created + * for ~9days after the original task was deleted or completed. + * + * Because there is an extra lookup cost to identify duplicate task + * names, these CloudTasks.CreateTask calls have significantly + * increased latency. Using hashed strings for the task id or for + * the prefix of the task id is recommended. Choosing task ids that + * are sequential or have sequential prefixes, for example using a + * timestamp, causes an increase in latency and error rates in all + * task commands. The infrastructure relies on an approximately + * uniform distribution of task ids to store and serve tasks + * efficiently. + */ + task?: Task; + } + interface ListLocationsResponse { + /** A list of locations that matches the specified filter in the request. */ + locations?: Location[]; + /** The standard List next-page token. */ + nextPageToken?: string; + } + interface ListQueuesResponse { + /** + * A token to retrieve next page of results. + * + * To return the next page of results, call + * CloudTasks.ListQueues with this value as the + * ListQueuesRequest.page_token. + * + * If the next_page_token is empty, there are no more results. + * + * The page token is valid for only 2 hours. + */ + nextPageToken?: string; + /** The list of queues. */ + queues?: Queue[]; + } + interface ListTasksResponse { + /** + * A token to retrieve next page of results. + * + * To return the next page of results, call + * CloudTasks.ListTasks with this value as the + * ListTasksRequest.page_token. + * + * If the next_page_token is empty, there are no more results. + */ + nextPageToken?: string; + /** The list of tasks. */ + tasks?: Task[]; + } + interface Location { + /** + * Cross-service attributes for the location. For example + * + * {"cloud.googleapis.com/region": "us-east1"} + */ + labels?: Record<string, string>; + /** The canonical id for this location. For example: `"us-east1"`. */ + locationId?: string; + /** + * Service-specific metadata. For example the available capacity at the given + * location. + */ + metadata?: Record<string, any>; + /** + * Resource name for the location, which may vary between implementations. + * For example: `"projects/example-project/locations/us-east1"` + */ + name?: string; + } + interface Policy { + /** + * Associates a list of `members` to a `role`. + * `bindings` with no members will result in an error. + */ + bindings?: Binding[]; + /** + * `etag` is used for optimistic concurrency control as a way to help + * prevent simultaneous updates of a policy from overwriting each other. + * It is strongly suggested that systems make use of the `etag` in the + * read-modify-write cycle to perform policy updates in order to avoid race + * conditions: An `etag` is returned in the response to `getIamPolicy`, and + * systems are expected to put that etag in the request to `setIamPolicy` to + * ensure that their change will be applied to the same version of the policy. + * + * If no `etag` is provided in the call to `setIamPolicy`, then the existing + * policy is overwritten blindly. + */ + etag?: string; + /** Version of the `Policy`. The default version is 0. */ + version?: number; + } + interface PullMessage { + /** A data payload consumed by the task worker to execute the task. */ + payload?: string; + /** + * A meta-data tag for this task. + * + * This value is used by CloudTasks.PullTasks calls when + * PullTasksRequest.filter is `tag=<tag>`. + * + * The tag must be less than 500 bytes. + */ + tag?: string; + } + interface PullTaskTarget { + /** Deprecated. Use PullMessage.payload. */ + payload?: string; + /** Deprecated. Use PullMessage.tag. */ + tag?: string; + } + interface PullTasksRequest { + /** + * `filter` can be used to specify a subset of tasks to lease. + * + * When `filter` is set to `tag=<my-tag>` then the + * PullTasksResponse will contain only tasks whose + * PullMessage.tag is equal to `<my-tag>`. `<my-tag>` must be less than + * 500 bytes. + * + * When `filter` is set to `tag_function=oldest_tag()`, only tasks which have + * the same tag as the task with the oldest schedule_time will be returned. + * + * Grammar Syntax: + * + * * `filter = "tag=" tag | "tag_function=" function` + * + * * `tag = string | bytes` + * + * * `function = "oldest_tag()"` + * + * The `oldest_tag()` function returns tasks which have the same tag as the + * oldest task (ordered by schedule time). + */ + filter?: string; + /** + * The duration of the lease. + * + * Each task returned in the PullTasksResponse will have its + * Task.schedule_time set to the current time plus the + * `lease_duration`. A task that has been returned in a + * PullTasksResponse is leased -- that task will not be + * returned in a different PullTasksResponse before the + * Task.schedule_time. + * + * After the lease holder has successfully finished the work + * associated with the task, the lease holder must call + * CloudTasks.AcknowledgeTask. If the task is not acknowledged + * via CloudTasks.AcknowledgeTask before the + * Task.schedule_time then it will be returned in a later + * PullTasksResponse so that another lease holder can process + * it. + * + * The maximum lease duration is 1 week. + * `lease_duration` will be truncated to the nearest second. + */ + leaseDuration?: string; + /** + * The maximum number of tasks to lease. The maximum that can be + * requested is 1000. + */ + maxTasks?: number; + /** + * The response_view specifies which subset of the Task will be + * returned. + * + * By default response_view is Task.View.BASIC; not all + * information is retrieved by default because some data, such as + * payloads, might be desirable to return only when needed because + * of its large size or because of the sensitivity of data that it + * contains. + * + * Authorization for Task.View.FULL requires `cloudtasks.tasks.fullView` + * [Google IAM](/iam/) permission on the + * Task.name resource. + */ + responseView?: string; + } + interface PullTasksResponse { + /** The leased tasks. */ + tasks?: Task[]; + } + interface Queue { + /** + * App Engine HTTP target. + * + * An App Engine queue is a queue that has an AppEngineHttpTarget. + */ + appEngineHttpTarget?: AppEngineHttpTarget; + /** Deprecated. Use Queue.app_engine_http_target. */ + appEngineQueueConfig?: AppEngineQueueConfig; + /** + * The queue name. + * + * The queue name must have the following format: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * + * * `PROJECT_ID` can contain uppercase and lowercase letters, + * numbers, hyphens, colons, and periods; that is, it must match + * the regular expression: `[a-zA-Z\\d-:\\.]+`. + * * `QUEUE_ID` can contain uppercase and lowercase letters, + * numbers, and hyphens; that is, it must match the regular + * expression: `[a-zA-Z\\d-]+`. The maximum length is 100 + * characters. + * + * Caller-specified and required in CreateQueueRequest, after which + * it becomes output only. + */ + name?: string; + /** Deprecated. Use Queue.pull_target. */ + pullQueueConfig?: any; + /** + * Pull target. + * + * A pull queue is a queue that has a PullTarget. + */ + pullTarget?: any; + /** + * Output only. + * + * The last time this queue was purged. All tasks that were + * created before this time were purged. + * + * A queue can be purged using CloudTasks.PurgeQueue, the + * [App Engine Task Queue SDK, or the Cloud + * Console](/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue). + * + * Purge time will be truncated to the nearest microsecond. Purge + * time will be zero if the queue has never been purged. + */ + purgeTime?: string; + /** + * Output only. + * + * The state of the queue. + * + * `queue_state` can only be changed by called + * CloudTasks.PauseQueue, CloudTasks.ResumeQueue, or uploading + * [queue.yaml](/appengine/docs/python/config/queueref). + * CloudTasks.UpdateQueue cannot be used to change `queue_state`. + */ + queueState?: string; + /** + * Rate limits for task dispatches. + * + * Queue.rate_limits and Queue.retry_config are related because they + * both control task attempts however they control how tasks are attempted in + * different ways: + * + * * Queue.rate_limits controls the total rate of dispatches from a queue + * (i.e. all traffic dispatched from the queue, regardless of whether the + * dispatch is from a first attempt or a retry). + * * Queue.retry_config controls what happens to particular a task after + * its first attempt fails. That is, Queue.retry_config controls task + * retries (the second attempt, third attempt, etc). + */ + rateLimits?: RateLimits; + /** + * Settings that determine the retry behavior. + * + * * For tasks created using Cloud Tasks: the queue-level retry settings + * apply to all tasks in the queue that were created using Cloud Tasks. + * Retry settings cannot be set on individual tasks. + * * For tasks created using the App Engine SDK: the queue-level retry + * settings apply to all tasks in the queue which do not have retry settings + * explicitly set on the task and were created by the App Engine SDK. See + * [App Engine documentation](/appengine/docs/standard/python/taskqueue/push/retrying-tasks). + */ + retryConfig?: RetryConfig; + } + interface RateLimits { + /** + * Output only. + * + * The max burst size limits how fast the queue is processed when + * many tasks are in the queue and the rate is high. This field + * allows the queue to have a high rate so processing starts shortly + * after a task is enqueued, but still limits resource usage when + * many tasks are enqueued in a short period of time. + * + * * For App Engine queues, if + * RateLimits.max_tasks_dispatched_per_second is 1, this + * field is 10; otherwise this field is + * RateLimits.max_tasks_dispatched_per_second / 5. + * * For pull queues, this field is output only and always 10,000. + * + * Note: For App Engine queues that were created through + * `queue.yaml/xml`, `max_burst_size` might not have the same + * settings as specified above; CloudTasks.UpdateQueue can be + * used to set `max_burst_size` only to the values specified above. + * + * This field has the same meaning as + * [bucket_size in queue.yaml](/appengine/docs/standard/python/config/queueref#bucket_size). + */ + maxBurstSize?: number; + /** + * The maximum number of concurrent tasks that Cloud Tasks allows + * to be dispatched for this queue. After this threshold has been + * reached, Cloud Tasks stops dispatching tasks until the number of + * concurrent requests decreases. + * + * The maximum allowed value is 5,000. + * + * * For App Engine queues, this field is 10 by default. + * * For pull queues, this field is output only and always -1, which + * indicates no limit. + * + * This field has the same meaning as + * [max_concurrent_requests in queue.yaml](/appengine/docs/standard/python/config/queueref#max_concurrent_requests). + */ + maxConcurrentTasks?: number; + /** + * The maximum rate at which tasks are dispatched from this + * queue. + * + * The maximum allowed value is 500. + * + * * For App Engine queues, this field is 1 by default. + * * For pull queues, this field is output only and always 10,000. + * + * This field has the same meaning as + * [rate in queue.yaml](/appengine/docs/standard/python/config/queueref#rate). + */ + maxTasksDispatchedPerSecond?: number; + } + interface RenewLeaseRequest { + /** + * Required. + * + * The desired new lease duration, starting from now. + * + * + * The maximum lease duration is 1 week. + * `new_lease_duration` will be truncated to the nearest second. + */ + newLeaseDuration?: string; + /** + * The response_view specifies which subset of the Task will be + * returned. + * + * By default response_view is Task.View.BASIC; not all + * information is retrieved by default because some data, such as + * payloads, might be desirable to return only when needed because + * of its large size or because of the sensitivity of data that it + * contains. + * + * Authorization for Task.View.FULL requires `cloudtasks.tasks.fullView` + * [Google IAM](/iam/) permission on the + * Task.name resource. + */ + responseView?: string; + /** + * Required. + * + * The task's current schedule time, available in the Task.schedule_time + * returned in PullTasksResponse.tasks or + * CloudTasks.RenewLease. This restriction is to check that + * the caller is renewing the correct task. + */ + scheduleTime?: string; + } + interface RetryConfig { + /** + * The maximum number of attempts for a task. + * + * Cloud Tasks will attempt the task `max_attempts` times (that + * is, if the first attempt fails, then there will be + * `max_attempts - 1` retries). Must be > 0. + */ + maxAttempts?: number; + /** + * The maximum amount of time to wait before retrying a task after + * it fails. The default is 1 hour. + * + * * For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget), + * this field is 1 hour by default. + * * For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this field + * is output only and always 0. + * + * `max_backoff` will be truncated to the nearest second. + * + * This field has the same meaning as + * [max_backoff_seconds in queue.yaml](/appengine/docs/standard/python/config/queueref#retry_parameters). + */ + maxBackoff?: string; + /** + * The time between retries increases exponentially `max_doublings` times. + * `max_doublings` is maximum number of times that the interval between failed + * task retries will be doubled before the interval increases linearly. + * After max_doublings intervals, the retry interval will be + * 2^(max_doublings - 1) * RetryConfig.min_backoff. + * + * * For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget), + * this field is 16 by default. + * * For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this field + * is output only and always 0. + * + * This field has the same meaning as + * [max_doublings in queue.yaml](/appengine/docs/standard/python/config/queueref#retry_parameters). + */ + maxDoublings?: number; + /** + * If positive, `max_retry_duration` specifies the time limit for retrying a + * failed task, measured from when the task was first attempted. Once + * `max_retry_duration` time has passed *and* the task has been attempted + * RetryConfig.max_attempts times, no further attempts will be made and + * the task will be deleted. + * + * If zero, then the task age is unlimited. + * + * * For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget), + * this field is 0 seconds by default. + * * For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this + * field is output only and always 0. + * + * `max_retry_duration` will be truncated to the nearest second. + * + * This field has the same meaning as + * [task_age_limit in queue.yaml](/appengine/docs/standard/python/config/queueref#retry_parameters). + */ + maxRetryDuration?: string; + /** + * The minimum amount of time to wait before retrying a task after + * it fails. + * + * * For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget), + * this field is 0.1 seconds by default. + * * For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this + * field is output only and always 0. + * + * `min_backoff` will be truncated to the nearest second. + * + * This field has the same meaning as + * [min_backoff_seconds in queue.yaml](/appengine/docs/standard/python/config/queueref#retry_parameters). + */ + minBackoff?: string; + /** If true, then the number of attempts is unlimited. */ + unlimitedAttempts?: boolean; + } + interface RunTaskRequest { + /** + * The response_view specifies which subset of the Task will be + * returned. + * + * By default response_view is Task.View.BASIC; not all + * information is retrieved by default because some data, such as + * payloads, might be desirable to return only when needed because + * of its large size or because of the sensitivity of data that it + * contains. + * + * Authorization for Task.View.FULL requires `cloudtasks.tasks.fullView` + * [Google IAM](/iam/) permission on the + * Task.name resource. + */ + responseView?: string; + } + interface SetIamPolicyRequest { + /** + * REQUIRED: The complete policy to be applied to the `resource`. The size of + * the policy is limited to a few 10s of KB. An empty policy is a + * valid policy but certain Cloud Platform services (such as Projects) + * might reject them. + */ + policy?: Policy; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface Task { + /** + * App Engine HTTP request that is sent to the task's target. Can be set + * only if Queue.app_engine_http_target is set. + * + * An App Engine task is a task that has AppEngineHttpRequest set. + */ + appEngineHttpRequest?: AppEngineHttpRequest; + /** Deprecated. Use Task.app_engine_http_request. */ + appEngineTaskTarget?: AppEngineTaskTarget; + /** + * Output only. + * + * The time that the task was created. + * + * `create_time` will be truncated to the nearest second. + */ + createTime?: string; + /** + * The task name. + * + * The task name must have the following format: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` + * + * * `PROJECT_ID` can contain uppercase and lowercase letters, + * numbers, hyphens, colons, and periods; that is, it must match + * the regular expression: `[a-zA-Z\\d-:\\.]+`. + * * `QUEUE_ID` can contain uppercase and lowercase letters, + * numbers, and hyphens; that is, it must match the regular + * expression: `[a-zA-Z\\d-]+`. The maximum length is 100 + * characters. + * * `TASK_ID` contain uppercase and lowercase letters, numbers, + * underscores, and hyphens; that is, it must match the regular + * expression: `[a-zA-Z\\d_-]+`. The maximum length is 500 + * characters. + * + * Optionally caller-specified in CreateTaskRequest. + */ + name?: string; + /** + * Pull message contains data that should be used by the caller of + * CloudTasks.PullTasks to process the task. Can be set only if + * Queue.pull_target is set. + * + * A pull task is a task that has PullMessage set. + */ + pullMessage?: PullMessage; + /** Deprecated. Use Task.pull_message. */ + pullTaskTarget?: PullTaskTarget; + /** + * The time when the task is scheduled to be attempted. + * + * For pull queues, this is the time when the task is available to + * be leased; if a task is currently leased, this is the time when + * the current lease expires, that is, the time that the task was + * leased plus the PullTasksRequest.lease_duration. + * + * For App Engine queues, this is when the task will be attempted or retried. + * + * `schedule_time` will be truncated to the nearest microsecond. + */ + scheduleTime?: string; + /** + * Output only. + * + * Task status. + */ + taskStatus?: TaskStatus; + /** + * Output only. + * + * The view specifies which subset of the Task has been + * returned. + */ + view?: string; + } + interface TaskStatus { + /** + * Output only. + * + * The number of attempts dispatched. This count includes tasks which have + * been dispatched but haven't received a response. + */ + attemptDispatchCount?: string; + /** + * Output only. + * + * The number of attempts which have received a response. + * + * This field is not calculated for + * [pull tasks](google.cloud.tasks.v2beta2.PullTaskTarget). + */ + attemptResponseCount?: string; + /** + * Output only. + * + * The status of the task's first attempt. + * + * Only AttemptStatus.dispatch_time will be set. + * The other AttemptStatus information is not retained by Cloud Tasks. + * + * This field is not calculated for + * [pull tasks](google.cloud.tasks.v2beta2.PullTaskTarget). + */ + firstAttemptStatus?: AttemptStatus; + /** + * Output only. + * + * The status of the task's last attempt. + * + * This field is not calculated for + * [pull tasks](google.cloud.tasks.v2beta2.PullTaskTarget). + */ + lastAttemptStatus?: AttemptStatus; + } + interface TestIamPermissionsRequest { + /** + * The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more + * information see + * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + */ + permissions?: string[]; + } + interface TestIamPermissionsResponse { + /** + * A subset of `TestPermissionsRequest.permissions` that the caller is + * allowed. + */ + permissions?: string[]; + } + interface TasksResource { + /** + * Acknowledges a pull task. + * + * The lease holder, that is, the entity that received this task in + * a PullTasksResponse, must call this method to indicate that + * the work associated with the task has finished. + * + * The lease holder must acknowledge a task within the + * PullTasksRequest.lease_duration or the lease will expire and + * the task will become ready to be returned in a different + * PullTasksResponse. After the task is acknowledged, it will + * not be returned by a later CloudTasks.PullTasks, + * CloudTasks.GetTask, or CloudTasks.ListTasks. + */ + acknowledge(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. + * + * The task name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Cancel a pull task's lease. + * + * The lease holder can use this method to cancel a task's lease + * by setting Task.schedule_time to now. This will make the task + * available to be leased to the next caller of CloudTasks.PullTasks. + */ + cancelLease(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. + * + * The task name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Task>; + /** + * Creates a task and adds it to a queue. + * + * To add multiple tasks at the same time, use + * [HTTP batching](/storage/docs/json_api/v1/how-tos/batch) + * or the batching documentation for your client library, for example + * https://developers.google.com/api-client-library/python/guide/batch. + * + * Tasks cannot be updated after creation; there is no UpdateTask command. + * + * * For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget), + * the maximum task size is 100KB. + * * For [pull queues](google.cloud.tasks.v2beta2.PullTarget), this + * the maximum task size is 1MB. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Required. + * + * The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * + * The queue must already exist. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Task>; + /** + * Deletes a task. + * + * A task can be deleted if it is scheduled or dispatched. A task + * cannot be deleted if it has completed successfully or permanently + * failed. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. + * + * The task name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets a task. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. + * + * The task name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The response_view specifies which subset of the Task will be + * returned. + * + * By default response_view is Task.View.BASIC; not all + * information is retrieved by default because some data, such as + * payloads, might be desirable to return only when needed because + * of its large size or because of the sensitivity of data that it + * contains. + * + * Authorization for Task.View.FULL requires `cloudtasks.tasks.fullView` + * [Google IAM](/iam/) permission on the + * Task.name resource. + */ + responseView?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Task>; + /** + * Lists the tasks in a queue. + * + * By default response_view is Task.View.BASIC; not all + * information is retrieved by default due to performance + * considerations; ListTasksRequest.response_view controls the + * subset of information which is returned. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sort order used for the query. The fields supported for sorting + * are Task.schedule_time and PullMessage.tag. All results will be + * returned in ascending order. The default ordering is by + * Task.schedule_time. + */ + orderBy?: string; + /** + * Requested page size. Fewer tasks than requested might be returned. + * + * The maximum page size is 1000. If unspecified, the page size will + * be the maximum. Fewer tasks than requested might be returned, + * even if more tasks exist; use + * ListTasksResponse.next_page_token to determine if more tasks + * exist. + */ + pageSize?: number; + /** + * A token identifying the page of results to return. + * + * To request the first page results, page_token must be empty. To + * request the next page of results, page_token must be the value of + * ListTasksResponse.next_page_token returned from the previous + * call to CloudTasks.ListTasks method. + * + * The page token is valid for only 2 hours. + */ + pageToken?: string; + /** + * Required. + * + * The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The response_view specifies which subset of the Task will be + * returned. + * + * By default response_view is Task.View.BASIC; not all + * information is retrieved by default because some data, such as + * payloads, might be desirable to return only when needed because + * of its large size or because of the sensitivity of data that it + * contains. + * + * Authorization for Task.View.FULL requires `cloudtasks.tasks.fullView` + * [Google IAM](/iam/) permission on the + * Task.name resource. + */ + responseView?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListTasksResponse>; + /** + * Pulls tasks from a pull queue and acquires a lease on them for a + * specified PullTasksRequest.lease_duration. + * + * This method is invoked by the lease holder to obtain the + * lease. The lease holder must acknowledge the task via + * CloudTasks.AcknowledgeTask after they have performed the work + * associated with the task. + * + * The payload is intended to store data that the lease holder needs + * to perform the work associated with the task. To return the + * payloads in the PullTasksResponse, set + * PullTasksRequest.response_view to Task.View.FULL. + * + * A maximum of 10 qps of CloudTasks.PullTasks requests are allowed per + * queue. google.rpc.Code.RESOURCE_EXHAUSTED is returned when this limit + * is exceeded. google.rpc.Code.RESOURCE_EXHAUSTED is also returned when + * RateLimits.max_tasks_dispatched_per_second is exceeded. + */ + pull(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. + * + * The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<PullTasksResponse>; + /** + * Renew the current lease of a pull task. + * + * The lease holder can use this method to extend the lease by a new + * duration, starting from now. The new task lease will be + * returned in Task.schedule_time. + */ + renewLease(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. + * + * The task name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Task>; + /** + * Forces a task to run now. + * + * This command is meant to be used for manual debugging. For + * example, CloudTasks.RunTask can be used to retry a failed + * task after a fix has been made or to manually force a task to be + * dispatched now. + * + * When this method is called, Cloud Tasks will dispatch the task to its + * target, even if the queue is Queue.QueueState.PAUSED. + * + * The dispatched task is returned. That is, the task that is returned + * contains the Task.task_status after the task is dispatched but + * before the task is received by its target. + * + * If Cloud Tasks receives a successful response from the task's + * handler, then the task will be deleted; otherwise the task's + * Task.schedule_time will be reset to the time that + * CloudTasks.RunTask was called plus the retry delay specified + * in the queue and task's RetryConfig. + * + * CloudTasks.RunTask returns google.rpc.Code.NOT_FOUND when + * it is called on a task that has already succeeded or permanently + * failed. google.rpc.Code.FAILED_PRECONDITION is returned when + * CloudTasks.RunTask is called on task that is dispatched or + * already running. + */ + run(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. + * + * The task name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Task>; + } + interface QueuesResource { + /** + * Creates a queue. + * + * WARNING: This method is only available to whitelisted + * users. Using this method carries some risk. Read + * [Overview of Queue Management and queue.yaml](/cloud-tasks/docs/queue-yaml) + * carefully and then sign up for + * [whitelist access to this method](https://goo.gl/Fe5mUy). + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Required. + * + * The location name in which the queue will be created. + * For example: `projects/PROJECT_ID/locations/LOCATION_ID` + * + * The list of allowed locations can be obtained by calling Cloud + * Tasks' implementation of + * google.cloud.location.Locations.ListLocations. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Queue>; + /** + * Deletes a queue. + * + * This command will delete the queue even if it has tasks in it. + * + * Note: If you delete a queue, a queue with the same name can't be created + * for 7 days. + * + * WARNING: This method is only available to whitelisted + * users. Using this method carries some risk. Read + * [Overview of Queue Management and queue.yaml](/cloud-tasks/docs/queue-yaml) + * carefully and then sign up for + * [whitelist access to this method](https://goo.gl/Fe5mUy). + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. + * + * The queue name. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets a queue. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. + * + * The resource name of the queue. For example: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Queue>; + /** + * Gets the access control policy for a Queue. + * Returns an empty policy if the resource exists and does not have a policy + * set. + * + * Authorization requires the following [Google IAM](/iam) permission on the + * specified resource parent: + * + * * `cloudtasks.queues.getIamPolicy` + */ + getIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Lists queues. + * + * Queues are returned in lexicographical order. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * `filter` can be used to specify a subset of queues. Any Queue + * field can be used as a filter and several operators as supported. + * For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as + * described in + * [Stackdriver's Advanced Logs Filters](/logging/docs/view/advanced_filters). + * + * Sample filter "app_engine_http_target: *". + * + * Note that using filters might cause fewer queues than the + * requested_page size to be returned. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Requested page size. + * + * The maximum page size is 9800. If unspecified, the page size will + * be the maximum. Fewer queues than requested might be returned, + * even if more queues exist; use + * ListQueuesResponse.next_page_token to determine if more + * queues exist. + */ + pageSize?: number; + /** + * A token identifying the page of results to return. + * + * To request the first page results, page_token must be empty. To + * request the next page of results, page_token must be the value of + * ListQueuesResponse.next_page_token returned from the previous + * call to CloudTasks.ListQueues method. It is an error to + * switch the value of ListQueuesRequest.filter while iterating + * through pages. + */ + pageToken?: string; + /** + * Required. + * + * The location name. + * For example: `projects/PROJECT_ID/locations/LOCATION_ID` + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListQueuesResponse>; + /** + * Updates a queue. + * + * This method creates the queue if it does not exist and updates + * the queue if it does exist. + * + * WARNING: This method is only available to whitelisted + * users. Using this method carries some risk. Read + * [Overview of Queue Management and queue.yaml](/cloud-tasks/docs/queue-yaml) + * carefully and then sign up for + * [whitelist access to this method](https://goo.gl/Fe5mUy). + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The queue name. + * + * The queue name must have the following format: + * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` + * + * * `PROJECT_ID` can contain uppercase and lowercase letters, + * numbers, hyphens, colons, and periods; that is, it must match + * the regular expression: `[a-zA-Z\\d-:\\.]+`. + * * `QUEUE_ID` can contain uppercase and lowercase letters, + * numbers, and hyphens; that is, it must match the regular + * expression: `[a-zA-Z\\d-]+`. The maximum length is 100 + * characters. + * + * Caller-specified and required in CreateQueueRequest, after which + * it becomes output only. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * A mask used to specify which fields of the queue are being updated. + * + * If empty, then all fields will be updated. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Queue>; + /** + * Pauses the queue. + * + * If a queue is paused then the system will stop executing the + * tasks in the queue until it is resumed via + * CloudTasks.ResumeQueue. Tasks can still be added when the + * queue is paused. The state of the queue is stored in + * Queue.queue_state; if paused it will be set to + * Queue.QueueState.PAUSED. + * + * WARNING: This method is only available to whitelisted + * users. Using this method carries some risk. Read + * [Overview of Queue Management and queue.yaml](/cloud-tasks/docs/queue-yaml) + * carefully and then sign up for + * [whitelist access to this method](https://goo.gl/Fe5mUy). + */ + pause(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. + * + * The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Queue>; + /** + * Purges a queue by deleting all of its tasks. + * + * All tasks created before this method is called are permanently deleted. + * + * Purge operations can take up to one minute to take effect. Tasks + * might be dispatched before the purge takes effect. A purge is irreversible. + */ + purge(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. + * + * The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Queue>; + /** + * Resume a queue. + * + * This method resumes a queue after it has been + * Queue.QueueState.PAUSED or Queue.QueueState.DISABLED. The state of + * a queue is stored in Queue.queue_state; after calling this method it + * will be set to Queue.QueueState.RUNNING. + * + * WARNING: This method is only available to whitelisted + * users. Using this method carries some risk. Read + * [Overview of Queue Management and queue.yaml](/cloud-tasks/docs/queue-yaml) + * carefully and then sign up for + * [whitelist access to this method](https://goo.gl/Fe5mUy). + * + * WARNING: Resuming many high-QPS queues at the same time can + * lead to target overloading. If you are resuming high-QPS + * queues, follow the 500/50/5 pattern described in + * [Managing Cloud Tasks Scaling Risks](/cloud-tasks/pdfs/managing-cloud-tasks-scaling-risks-2017-06-05.pdf). + */ + resume(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. + * + * The queue name. For example: + * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Queue>; + /** + * Sets the access control policy for a Queue. Replaces any existing + * policy. + * + * Authorization requires the following [Google IAM](/iam) permission on the + * specified resource parent: + * + * * `cloudtasks.queues.setIamPolicy` + */ + setIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being specified. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Returns permissions that a caller has on a Queue. + * If the resource does not exist, this will return an empty set of + * permissions, not a google.rpc.Code.NOT_FOUND error. + * + * Note: This operation is designed to be used for building permission-aware + * UIs and command-line tools, not for authorization checking. This operation + * may "fail open" without warning. + */ + testIamPermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy detail is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TestIamPermissionsResponse>; + tasks: TasksResource; + } + interface LocationsResource { + /** Get information about a location. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Resource name for the location. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Location>; + /** Lists information about the supported locations for this service. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The standard list filter. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The resource that owns the locations collection, if applicable. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The standard list page size. */ + pageSize?: number; + /** The standard list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListLocationsResponse>; + queues: QueuesResource; + } + interface ProjectsResource { + locations: LocationsResource; + } + } +} diff --git a/types/gapi.client.cloudtasks/readme.md b/types/gapi.client.cloudtasks/readme.md new file mode 100644 index 0000000000..59a3b660e3 --- /dev/null +++ b/types/gapi.client.cloudtasks/readme.md @@ -0,0 +1,54 @@ +# TypeScript typings for Cloud Tasks API v2beta2 +Manages the execution of large numbers of distributed requests. Cloud Tasks is in Alpha. +For detailed description please check [documentation](https://cloud.google.com/cloud-tasks/). + +## Installing + +Install typings for Cloud Tasks API: +``` +npm install @types/gapi.client.cloudtasks@v2beta2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('cloudtasks', 'v2beta2', () => { + // now we can use gapi.client.cloudtasks + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Cloud Tasks API resources: + +```typescript +``` \ No newline at end of file diff --git a/types/gapi.client.cloudtasks/tsconfig.json b/types/gapi.client.cloudtasks/tsconfig.json new file mode 100644 index 0000000000..d4240ab7d4 --- /dev/null +++ b/types/gapi.client.cloudtasks/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.cloudtasks-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.cloudtasks/tslint.json b/types/gapi.client.cloudtasks/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.cloudtasks/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.cloudtrace/gapi.client.cloudtrace-tests.ts b/types/gapi.client.cloudtrace/gapi.client.cloudtrace-tests.ts new file mode 100644 index 0000000000..96bc98ea32 --- /dev/null +++ b/types/gapi.client.cloudtrace/gapi.client.cloudtrace-tests.ts @@ -0,0 +1,34 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('cloudtrace', 'v2', () => { + /** now we can use gapi.client.cloudtrace */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** Write Trace data for a project or application */ + 'https://www.googleapis.com/auth/trace.append', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + } +}); diff --git a/types/gapi.client.cloudtrace/index.d.ts b/types/gapi.client.cloudtrace/index.d.ts new file mode 100644 index 0000000000..ba868581d1 --- /dev/null +++ b/types/gapi.client.cloudtrace/index.d.ts @@ -0,0 +1,378 @@ +// Type definitions for Google Stackdriver Trace API v2 2.0 +// Project: https://cloud.google.com/trace +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://cloudtrace.googleapis.com/$discovery/rest?version=v2 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Stackdriver Trace API v2 */ + function load(name: "cloudtrace", version: "v2"): PromiseLike<void>; + function load(name: "cloudtrace", version: "v2", callback: () => any): void; + + const projects: cloudtrace.ProjectsResource; + + namespace cloudtrace { + interface Annotation { + /** + * A set of attributes on the annotation. There is a limit of 4 attributes + * per Annotation. + */ + attributes?: Attributes; + /** + * A user-supplied message describing the event. The maximum length for + * the description is 256 bytes. + */ + description?: TruncatableString; + } + interface AttributeValue { + /** A Boolean value represented by `true` or `false`. */ + boolValue?: boolean; + /** A 64-bit signed integer. */ + intValue?: string; + /** A string up to 256 bytes long. */ + stringValue?: TruncatableString; + } + interface Attributes { + /** + * The set of attributes. Each attribute's key can be up to 128 bytes + * long. The value can be a string up to 256 bytes, an integer, or the + * Boolean values `true` and `false`. For example: + * + * "/instance_id": "my-instance" + * "/http/user_agent": "" + * "/http/request_bytes": 300 + * "abc.com/myattribute": true + */ + attributeMap?: Record<string, AttributeValue>; + /** + * The number of attributes that were discarded. Attributes can be discarded + * because their keys are too long or because there are too many attributes. + * If this value is 0 then all attributes are valid. + */ + droppedAttributesCount?: number; + } + interface BatchWriteSpansRequest { + /** A collection of spans. */ + spans?: Span[]; + } + interface Link { + /** + * A set of attributes on the link. There is a limit of 32 attributes per + * link. + */ + attributes?: Attributes; + /** `SPAN_ID` identifies a span within a trace. */ + spanId?: string; + /** `TRACE_ID` identifies a trace within a project. */ + traceId?: string; + /** The relationship of the current span relative to the linked span. */ + type?: string; + } + interface Links { + /** + * The number of dropped links after the maximum size was enforced. If + * this value is 0, then no links were dropped. + */ + droppedLinksCount?: number; + /** A collection of links. */ + link?: Link[]; + } + interface Module { + /** + * A unique identifier for the module, usually a hash of its + * contents (up to 128 bytes). + */ + buildId?: TruncatableString; + /** + * For example: main binary, kernel modules, and dynamic libraries + * such as libc.so, sharedlib.so (up to 256 bytes). + */ + module?: TruncatableString; + } + interface NetworkEvent { + /** The number of compressed bytes sent or received. */ + compressedMessageSize?: string; + /** An identifier for the message, which must be unique in this span. */ + messageId?: string; + /** + * For sent messages, this is the time at which the first bit was sent. + * For received messages, this is the time at which the last bit was + * received. + */ + time?: string; + /** + * Type of NetworkEvent. Indicates whether the RPC message was sent or + * received. + */ + type?: string; + /** The number of uncompressed bytes sent or received. */ + uncompressedMessageSize?: string; + } + interface Span { + /** + * A set of attributes on the span. There is a limit of 32 attributes per + * span. + */ + attributes?: Attributes; + /** + * An optional number of child spans that were generated while this span + * was active. If set, allows implementation to detect missing child spans. + */ + childSpanCount?: number; + /** + * A description of the span's operation (up to 128 bytes). + * Stackdriver Trace displays the description in the + * {% dynamic print site_values.console_name %}. + * For example, the display name can be a qualified method name or a file name + * and a line number where the operation is called. A best practice is to use + * the same display name within an application and at the same call point. + * This makes it easier to correlate spans in different traces. + */ + displayName?: TruncatableString; + /** + * The end time of the span. On the client side, this is the time kept by + * the local machine where the span execution ends. On the server side, this + * is the time when the server application handler stops running. + */ + endTime?: string; + /** A maximum of 128 links are allowed per Span. */ + links?: Links; + /** + * The resource name of the span in the following format: + * + * projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a project. + * [SPAN_ID] is a unique identifier for a span within a trace, + * assigned when the span is created. + */ + name?: string; + /** + * The [SPAN_ID] of this span's parent span. If this is a root span, + * then this field must be empty. + */ + parentSpanId?: string; + /** + * A highly recommended but not required flag that identifies when a trace + * crosses a process boundary. True when the parent_span belongs to the + * same process as the current span. + */ + sameProcessAsParentSpan?: boolean; + /** The [SPAN_ID] portion of the span's resource name. */ + spanId?: string; + /** Stack trace captured at the start of the span. */ + stackTrace?: StackTrace; + /** + * The start time of the span. On the client side, this is the time kept by + * the local machine where the span execution starts. On the server side, this + * is the time when the server's application handler starts running. + */ + startTime?: string; + /** An optional final status for this span. */ + status?: Status; + /** + * The included time events. There can be up to 32 annotations and 128 network + * events per span. + */ + timeEvents?: TimeEvents; + } + interface StackFrame { + /** + * The column number where the function call appears, if available. + * This is important in JavaScript because of its anonymous functions. + */ + columnNumber?: string; + /** + * The name of the source file where the function call appears (up to 256 + * bytes). + */ + fileName?: TruncatableString; + /** + * The fully-qualified name that uniquely identifies the function or + * method that is active in this frame (up to 1024 bytes). + */ + functionName?: TruncatableString; + /** The line number in `file_name` where the function call appears. */ + lineNumber?: string; + /** The binary module from where the code was loaded. */ + loadModule?: Module; + /** + * An un-mangled function name, if `function_name` is + * [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can + * be fully-qualified (up to 1024 bytes). + */ + originalFunctionName?: TruncatableString; + /** The version of the deployed source code (up to 128 bytes). */ + sourceVersion?: TruncatableString; + } + interface StackFrames { + /** + * The number of stack frames that were dropped because there + * were too many stack frames. + * If this value is 0, then no stack frames were dropped. + */ + droppedFramesCount?: number; + /** Stack frames in this call stack. */ + frame?: StackFrame[]; + } + interface StackTrace { + /** Stack frames in this stack trace. A maximum of 128 frames are allowed. */ + stackFrames?: StackFrames; + /** + * The hash ID is used to conserve network bandwidth for duplicate + * stack traces within a single trace. + * + * Often multiple spans will have identical stack traces. + * The first occurrence of a stack trace should contain both the + * `stackFrame` content and a value in `stackTraceHashId`. + * + * Subsequent spans within the same request can refer + * to that stack trace by only setting `stackTraceHashId`. + */ + stackTraceHashId?: string; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface TimeEvent { + /** Text annotation with a set of attributes. */ + annotation?: Annotation; + /** An event describing an RPC message sent/received on the network. */ + networkEvent?: NetworkEvent; + /** The timestamp indicating the time the event occurred. */ + time?: string; + } + interface TimeEvents { + /** + * The number of dropped annotations in all the included time events. + * If the value is 0, then no annotations were dropped. + */ + droppedAnnotationsCount?: number; + /** + * The number of dropped network events in all the included time events. + * If the value is 0, then no network events were dropped. + */ + droppedNetworkEventsCount?: number; + /** A collection of `TimeEvent`s. */ + timeEvent?: TimeEvent[]; + } + interface TruncatableString { + /** + * The number of bytes removed from the original string. If this + * value is 0, then the string was not shortened. + */ + truncatedByteCount?: number; + /** + * The shortened string. For example, if the original string was 500 + * bytes long and the limit of the string was 128 bytes, then this + * value contains the first 128 bytes of the 500-byte string. Note that + * truncation always happens on the character boundary, to ensure that + * truncated string is still valid UTF8. In case of multi-byte characters, + * size of truncated string can be less than truncation limit. + */ + value?: string; + } + interface SpansResource { + /** Creates a new Span. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the span in the following format: + * + * projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a project. + * [SPAN_ID] is a unique identifier for a span within a trace, + * assigned when the span is created. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Span>; + } + interface TracesResource { + /** + * Sends new spans to Stackdriver Trace or updates existing traces. If the + * name of a trace that you send matches that of an existing trace, new spans + * are added to the existing trace. Attempt to update existing spans results + * undefined behavior. If the name does not match, a new trace is created + * with given set of spans. + */ + batchWrite(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. Name of the project where the spans belong. The format is + * `projects/PROJECT_ID`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + spans: SpansResource; + } + interface ProjectsResource { + traces: TracesResource; + } + } +} diff --git a/types/gapi.client.cloudtrace/readme.md b/types/gapi.client.cloudtrace/readme.md new file mode 100644 index 0000000000..c7c8408a0b --- /dev/null +++ b/types/gapi.client.cloudtrace/readme.md @@ -0,0 +1,58 @@ +# TypeScript typings for Stackdriver Trace API v2 +Send and retrieve trace data from Stackdriver Trace. Data is generated and available by default for all App Engine applications. Data from other applications can be written to Stackdriver Trace for display, reporting, and analysis. + +For detailed description please check [documentation](https://cloud.google.com/trace). + +## Installing + +Install typings for Stackdriver Trace API: +``` +npm install @types/gapi.client.cloudtrace@v2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('cloudtrace', 'v2', () => { + // now we can use gapi.client.cloudtrace + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // Write Trace data for a project or application + 'https://www.googleapis.com/auth/trace.append', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Stackdriver Trace API resources: + +```typescript +``` \ No newline at end of file diff --git a/types/gapi.client.cloudtrace/tsconfig.json b/types/gapi.client.cloudtrace/tsconfig.json new file mode 100644 index 0000000000..977a1fd91f --- /dev/null +++ b/types/gapi.client.cloudtrace/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.cloudtrace-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.cloudtrace/tslint.json b/types/gapi.client.cloudtrace/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.cloudtrace/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.clouduseraccounts/gapi.client.clouduseraccounts-tests.ts b/types/gapi.client.clouduseraccounts/gapi.client.clouduseraccounts-tests.ts new file mode 100644 index 0000000000..29c552c543 --- /dev/null +++ b/types/gapi.client.clouduseraccounts/gapi.client.clouduseraccounts-tests.ts @@ -0,0 +1,169 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('clouduseraccounts', 'vm_alpha', () => { + /** now we can use gapi.client.clouduseraccounts */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform.read-only', + /** Manage your Google Cloud User Accounts */ + 'https://www.googleapis.com/auth/cloud.useraccounts', + /** View your Google Cloud User Accounts */ + 'https://www.googleapis.com/auth/cloud.useraccounts.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Deletes the specified operation resource. */ + await gapi.client.globalAccountsOperations.delete({ + operation: "operation", + project: "project", + }); + /** Retrieves the specified operation resource. */ + await gapi.client.globalAccountsOperations.get({ + operation: "operation", + project: "project", + }); + /** Retrieves the list of operation resources contained within the specified project. */ + await gapi.client.globalAccountsOperations.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Adds users to the specified group. */ + await gapi.client.groups.addMember({ + groupName: "groupName", + project: "project", + }); + /** Deletes the specified Group resource. */ + await gapi.client.groups.delete({ + groupName: "groupName", + project: "project", + }); + /** Returns the specified Group resource. */ + await gapi.client.groups.get({ + groupName: "groupName", + project: "project", + }); + /** Gets the access control policy for a resource. May be empty if no such policy or resource exists. */ + await gapi.client.groups.getIamPolicy({ + project: "project", + resource: "resource", + }); + /** Creates a Group resource in the specified project using the data included in the request. */ + await gapi.client.groups.insert({ + project: "project", + }); + /** Retrieves the list of groups contained within the specified project. */ + await gapi.client.groups.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Removes users from the specified group. */ + await gapi.client.groups.removeMember({ + groupName: "groupName", + project: "project", + }); + /** Sets the access control policy on the specified resource. Replaces any existing policy. */ + await gapi.client.groups.setIamPolicy({ + project: "project", + resource: "resource", + }); + /** Returns permissions that a caller has on the specified resource. */ + await gapi.client.groups.testIamPermissions({ + project: "project", + resource: "resource", + }); + /** Returns a list of authorized public keys for a specific user account. */ + await gapi.client.linux.getAuthorizedKeysView({ + instance: "instance", + login: true, + project: "project", + user: "user", + zone: "zone", + }); + /** Retrieves a list of user accounts for an instance within a specific project. */ + await gapi.client.linux.getLinuxAccountViews({ + filter: "filter", + instance: "instance", + maxResults: 3, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + zone: "zone", + }); + /** Adds a public key to the specified User resource with the data included in the request. */ + await gapi.client.users.addPublicKey({ + project: "project", + user: "user", + }); + /** Deletes the specified User resource. */ + await gapi.client.users.delete({ + project: "project", + user: "user", + }); + /** Returns the specified User resource. */ + await gapi.client.users.get({ + project: "project", + user: "user", + }); + /** Gets the access control policy for a resource. May be empty if no such policy or resource exists. */ + await gapi.client.users.getIamPolicy({ + project: "project", + resource: "resource", + }); + /** Creates a User resource in the specified project using the data included in the request. */ + await gapi.client.users.insert({ + project: "project", + }); + /** Retrieves a list of users contained within the specified project. */ + await gapi.client.users.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Removes the specified public key from the user. */ + await gapi.client.users.removePublicKey({ + fingerprint: "fingerprint", + project: "project", + user: "user", + }); + /** Sets the access control policy on the specified resource. Replaces any existing policy. */ + await gapi.client.users.setIamPolicy({ + project: "project", + resource: "resource", + }); + /** Returns permissions that a caller has on the specified resource. */ + await gapi.client.users.testIamPermissions({ + project: "project", + resource: "resource", + }); + } +}); diff --git a/types/gapi.client.clouduseraccounts/index.d.ts b/types/gapi.client.clouduseraccounts/index.d.ts new file mode 100644 index 0000000000..75e8f0d852 --- /dev/null +++ b/types/gapi.client.clouduseraccounts/index.d.ts @@ -0,0 +1,1084 @@ +// Type definitions for Google Cloud User Accounts API vm_alpha 0.0 +// Project: https://cloud.google.com/compute/docs/access/user-accounts/api/latest/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/clouduseraccounts/vm_alpha/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Cloud User Accounts API vm_alpha */ + function load(name: "clouduseraccounts", version: "vm_alpha"): PromiseLike<void>; + function load(name: "clouduseraccounts", version: "vm_alpha", callback: () => any): void; + + const globalAccountsOperations: clouduseraccounts.GlobalAccountsOperationsResource; + + const groups: clouduseraccounts.GroupsResource; + + const linux: clouduseraccounts.LinuxResource; + + const users: clouduseraccounts.UsersResource; + + namespace clouduseraccounts { + interface AuditConfig { + /** + * Specifies the identities that are exempted from "data access" audit logging for the `service` specified above. Follows the same format of + * Binding.members. + */ + exemptedMembers?: string[]; + /** + * Specifies a service that will be enabled for "data access" audit logging. For example, `resourcemanager`, `storage`, `compute`. `allServices` is a + * special value that covers all services. + */ + service?: string; + } + interface AuthorizedKeysView { + /** [Output Only] The list of authorized public keys in SSH format. */ + keys?: string[]; + /** [Output Only] Whether the user has the ability to elevate on the instance that requested the authorized keys. */ + sudoer?: boolean; + } + interface Binding { + /** + * Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: + * + * * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. + * + * * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. + * + * * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`. + * + * * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. + * + * * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. + * + * * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`. + */ + members?: string[]; + /** Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */ + role?: string; + } + interface Condition { + /** Trusted attributes supplied by the IAM system. */ + iam?: string; + /** An operator to apply the subject with. */ + op?: string; + /** Trusted attributes discharged by the service. */ + svc?: string; + /** Trusted attributes supplied by any service that owns resources and uses the IAM system for access control. */ + sys?: string; + /** The object of the condition. Exactly one of these must be set. */ + value?: string; + /** The objects of the condition. This is mutually exclusive with 'value'. */ + values?: string[]; + } + interface Group { + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional textual description of the resource; provided by the client when the resource is created. */ + description?: string; + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** [Output Only] Type of the resource. Always clouduseraccounts#group for groups. */ + kind?: string; + /** [Output Only] A list of URLs to User resources who belong to the group. Users may only be members of groups in the same project. */ + members?: string[]; + /** Name of the resource; provided by the client when the resource is created. */ + name?: string; + /** [Output Only] Server defined URL for the resource. */ + selfLink?: string; + } + interface GroupList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** [Output Only] A list of Group resources. */ + items?: Group[]; + /** [Output Only] Type of resource. Always clouduseraccounts#groupList for lists of groups. */ + kind?: string; + /** [Output Only] A token used to continue a truncated list request. */ + nextPageToken?: string; + /** [Output Only] Server defined URL for this resource. */ + selfLink?: string; + } + interface GroupsAddMemberRequest { + /** Fully-qualified URLs of the User resources to add. */ + users?: string[]; + } + interface GroupsRemoveMemberRequest { + /** Fully-qualified URLs of the User resources to remove. */ + users?: string[]; + } + interface LinuxAccountViews { + /** [Output Only] A list of all groups within a project. */ + groupViews?: LinuxGroupView[]; + /** [Output Only] Type of the resource. Always clouduseraccounts#linuxAccountViews for Linux resources. */ + kind?: string; + /** [Output Only] A list of all users within a project. */ + userViews?: LinuxUserView[]; + } + interface LinuxGetAuthorizedKeysViewResponse { + /** [Output Only] A list of authorized public keys for a user. */ + resource?: AuthorizedKeysView; + } + interface LinuxGetLinuxAccountViewsResponse { + /** [Output Only] A list of authorized user accounts and groups. */ + resource?: LinuxAccountViews; + } + interface LinuxGroupView { + /** [Output Only] The Group ID. */ + gid?: number; + /** [Output Only] Group name. */ + groupName?: string; + /** [Output Only] List of user accounts that belong to the group. */ + members?: string[]; + } + interface LinuxUserView { + /** [Output Only] The GECOS (user information) entry for this account. */ + gecos?: string; + /** [Output Only] User's default group ID. */ + gid?: number; + /** [Output Only] The path to the home directory for this account. */ + homeDirectory?: string; + /** [Output Only] The path to the login shell for this account. */ + shell?: string; + /** [Output Only] User ID. */ + uid?: number; + /** [Output Only] The username of the account. */ + username?: string; + } + interface LogConfig { + /** Counter options. */ + counter?: LogConfigCounterOptions; + } + interface LogConfigCounterOptions { + /** The field value to attribute. */ + field?: string; + /** The metric to update. */ + metric?: string; + } + interface Operation { + /** [Output Only] Reserved for future use. */ + clientOperationId?: string; + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** [Output Only] A textual description of the operation, which is set when the operation is created. */ + description?: string; + /** [Output Only] The time that this operation was completed. This value is in RFC3339 text format. */ + endTime?: string; + /** [Output Only] If errors are generated during processing of the operation, this field will be populated. */ + error?: { + /** [Output Only] The array of errors encountered while processing this operation. */ + errors?: Array<{ + /** [Output Only] The error type identifier for this error. */ + code?: string; + /** [Output Only] Indicates the field in the request that caused the error. This property is optional. */ + location?: string; + /** [Output Only] An optional, human-readable error message. */ + message?: string; + }>; + }; + /** [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND. */ + httpErrorMessage?: string; + /** + * [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not + * found. + */ + httpErrorStatusCode?: number; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] The time that this operation was requested. This value is in RFC3339 text format. */ + insertTime?: string; + /** [Output Only] Type of the resource. Always compute#operation for Operation resources. */ + kind?: string; + /** [Output Only] Name of the resource. */ + name?: string; + /** [Output Only] The type of operation, such as insert, update, or delete, and so on. */ + operationType?: string; + /** + * [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of + * operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation + * progresses. + */ + progress?: number; + /** [Output Only] The URL of the region where the operation resides. Only available when performing regional operations. */ + region?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. */ + startTime?: string; + /** [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE. */ + status?: string; + /** [Output Only] An optional textual description of the current status of the operation. */ + statusMessage?: string; + /** [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. */ + targetId?: string; + /** [Output Only] The URL of the resource that the operation modifies. */ + targetLink?: string; + /** [Output Only] User who requested the operation, for example: user@example.com. */ + user?: string; + /** [Output Only] If warning messages are generated during processing of the operation, this field will be populated. */ + warnings?: Array<{ + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }>; + /** [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations. */ + zone?: string; + } + interface OperationList { + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] A list of Operation resources. */ + items?: Operation[]; + /** [Output Only] Type of resource. Always compute#operations for Operations resource. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + } + interface Policy { + /** + * Specifies audit logging configs for "data access". "data access": generally refers to data reads/writes and admin reads. "admin activity": generally + * refers to admin writes. + * + * Note: `AuditConfig` doesn't apply to "admin activity", which always enables audit logging. + */ + auditConfigs?: AuditConfig[]; + /** + * Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an + * error. + */ + bindings?: Binding[]; + /** + * `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly + * suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is + * returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will + * be applied to the same version of the policy. + * + * If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly. + */ + etag?: string; + iamOwned?: boolean; + /** + * If more than one rule is specified, the rules are applied in the following manner: - All matching LOG rules are always applied. - If any + * DENY/DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if one or more matching rule requires logging. - Otherwise, if any + * ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if one or more matching rule requires logging. - Otherwise, if no + * rule applies, permission is denied. + */ + rules?: Rule[]; + /** Version of the `Policy`. The default version is 0. */ + version?: number; + } + interface PublicKey { + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional textual description of the resource; provided by the client when the resource is created. */ + description?: string; + /** Optional expiration timestamp. If provided, the timestamp must be in RFC3339 text format. If not provided, the public key never expires. */ + expirationTimestamp?: string; + /** [Output Only] The fingerprint of the key is defined by RFC4716 to be the MD5 digest of the public key. */ + fingerprint?: string; + /** Public key text in SSH format, defined by RFC4253 section 6.6. */ + key?: string; + } + interface Rule { + /** Required */ + action?: string; + /** Additional restrictions that must be met */ + conditions?: Condition[]; + /** Human-readable description of the rule. */ + description?: string; + /** The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in this set of entries. */ + ins?: string[]; + /** The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action. */ + logConfigs?: LogConfig[]; + /** The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is not in this set of entries. */ + notIns?: string[]; + /** + * A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., + * 'storage.buckets.*') matches all verbs. + */ + permissions?: string[]; + } + interface TestPermissionsRequest { + /** The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. */ + permissions?: string[]; + } + interface TestPermissionsResponse { + /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */ + permissions?: string[]; + } + interface User { + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional textual description of the resource; provided by the client when the resource is created. */ + description?: string; + /** [Output Only] A list of URLs to Group resources who contain the user. Users are only members of groups in the same project. */ + groups?: string[]; + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** [Output Only] Type of the resource. Always clouduseraccounts#user for users. */ + kind?: string; + /** Name of the resource; provided by the client when the resource is created. */ + name?: string; + /** + * Email address of account's owner. This account will be validated to make sure it exists. The email can belong to any domain, but it must be tied to a + * Google account. + */ + owner?: string; + /** [Output Only] Public keys that this user may use to login. */ + publicKeys?: PublicKey[]; + /** [Output Only] Server defined URL for the resource. */ + selfLink?: string; + } + interface UserList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** [Output Only] A list of User resources. */ + items?: User[]; + /** [Output Only] Type of resource. Always clouduseraccounts#userList for lists of users. */ + kind?: string; + /** [Output Only] A token used to continue a truncated list request. */ + nextPageToken?: string; + /** [Output Only] Server defined URL for this resource. */ + selfLink?: string; + } + interface GlobalAccountsOperationsResource { + /** Deletes the specified operation resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the Operations resource to delete. */ + operation: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves the specified operation resource. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the Operations resource to return. */ + operation: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves the list of operation resources contained within the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: field_name + * comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance. + * + * Compute Engine Beta API Only: If you use filtering in the Beta API, you can also filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. In particular, use filtering on nested fields to take advantage of instance labels to + * organize and filter results based on label values. + * + * The Beta API also supports filtering on multiple expressions by providing each separate expression within parentheses. For example, + * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match + * all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OperationList>; + } + interface GroupsResource { + /** Adds users to the specified group. */ + addMember(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the group for this request. */ + groupName: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Deletes the specified Group resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the Group resource to delete. */ + groupName: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified Group resource. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the Group resource to return. */ + groupName: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Group>; + /** Gets the access control policy for a resource. May be empty if no such policy or resource exists. */ + getIamPolicy(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the resource for this request. */ + resource: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Policy>; + /** Creates a Group resource in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves the list of groups contained within the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: field_name + * comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance. + * + * Compute Engine Beta API Only: If you use filtering in the Beta API, you can also filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. In particular, use filtering on nested fields to take advantage of instance labels to + * organize and filter results based on label values. + * + * The Beta API also supports filtering on multiple expressions by providing each separate expression within parentheses. For example, + * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match + * all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GroupList>; + /** Removes users from the specified group. */ + removeMember(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the group for this request. */ + groupName: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Sets the access control policy on the specified resource. Replaces any existing policy. */ + setIamPolicy(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the resource for this request. */ + resource: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Policy>; + /** Returns permissions that a caller has on the specified resource. */ + testIamPermissions(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the resource for this request. */ + resource: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TestPermissionsResponse>; + } + interface LinuxResource { + /** Returns a list of authorized public keys for a specific user account. */ + getAuthorizedKeysView(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The fully-qualified URL of the virtual machine requesting the view. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Whether the view was requested as part of a user-initiated login. */ + login?: boolean; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user account for which you want to get a list of authorized public keys. */ + user: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Name of the zone for this request. */ + zone: string; + }): Request<LinuxGetAuthorizedKeysViewResponse>; + /** Retrieves a list of user accounts for an instance within a specific project. */ + getLinuxAccountViews(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: field_name + * comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance. + * + * Compute Engine Beta API Only: If you use filtering in the Beta API, you can also filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. In particular, use filtering on nested fields to take advantage of instance labels to + * organize and filter results based on label values. + * + * The Beta API also supports filtering on multiple expressions by providing each separate expression within parentheses. For example, + * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match + * all expressions to pass the filters. + */ + filter?: string; + /** The fully-qualified URL of the virtual machine requesting the views. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Name of the zone for this request. */ + zone: string; + }): Request<LinuxGetLinuxAccountViewsResponse>; + } + interface UsersResource { + /** Adds a public key to the specified User resource with the data included in the request. */ + addPublicKey(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the user for this request. */ + user: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Deletes the specified User resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the user resource to delete. */ + user: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified User resource. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the user resource to return. */ + user: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<User>; + /** Gets the access control policy for a resource. May be empty if no such policy or resource exists. */ + getIamPolicy(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the resource for this request. */ + resource: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Policy>; + /** Creates a User resource in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves a list of users contained within the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: field_name + * comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance. + * + * Compute Engine Beta API Only: If you use filtering in the Beta API, you can also filter on nested fields. For example, you could filter on instances + * that have set the scheduling.automaticRestart field to true. In particular, use filtering on nested fields to take advantage of instance labels to + * organize and filter results based on label values. + * + * The Beta API also supports filtering on multiple expressions by providing each separate expression within parentheses. For example, + * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match + * all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UserList>; + /** Removes the specified public key from the user. */ + removePublicKey(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The fingerprint of the public key to delete. Public keys are identified by their fingerprint, which is defined by RFC4716 to be the MD5 digest of the + * public key. + */ + fingerprint: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the user for this request. */ + user: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Sets the access control policy on the specified resource. Replaces any existing policy. */ + setIamPolicy(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the resource for this request. */ + resource: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Policy>; + /** Returns permissions that a caller has on the specified resource. */ + testIamPermissions(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the resource for this request. */ + resource: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TestPermissionsResponse>; + } + } +} diff --git a/types/gapi.client.clouduseraccounts/readme.md b/types/gapi.client.clouduseraccounts/readme.md new file mode 100644 index 0000000000..fb442397ca --- /dev/null +++ b/types/gapi.client.clouduseraccounts/readme.md @@ -0,0 +1,178 @@ +# TypeScript typings for Cloud User Accounts API vm_alpha +Creates and manages users and groups for accessing Google Compute Engine virtual machines. +For detailed description please check [documentation](https://cloud.google.com/compute/docs/access/user-accounts/api/latest/). + +## Installing + +Install typings for Cloud User Accounts API: +``` +npm install @types/gapi.client.clouduseraccounts@vm_alpha --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('clouduseraccounts', 'vm_alpha', () => { + // now we can use gapi.client.clouduseraccounts + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform.read-only', + + // Manage your Google Cloud User Accounts + 'https://www.googleapis.com/auth/cloud.useraccounts', + + // View your Google Cloud User Accounts + 'https://www.googleapis.com/auth/cloud.useraccounts.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Cloud User Accounts API resources: + +```typescript + +/* +Deletes the specified operation resource. +*/ +await gapi.client.globalAccountsOperations.delete({ operation: "operation", project: "project", }); + +/* +Retrieves the specified operation resource. +*/ +await gapi.client.globalAccountsOperations.get({ operation: "operation", project: "project", }); + +/* +Retrieves the list of operation resources contained within the specified project. +*/ +await gapi.client.globalAccountsOperations.list({ project: "project", }); + +/* +Adds users to the specified group. +*/ +await gapi.client.groups.addMember({ groupName: "groupName", project: "project", }); + +/* +Deletes the specified Group resource. +*/ +await gapi.client.groups.delete({ groupName: "groupName", project: "project", }); + +/* +Returns the specified Group resource. +*/ +await gapi.client.groups.get({ groupName: "groupName", project: "project", }); + +/* +Gets the access control policy for a resource. May be empty if no such policy or resource exists. +*/ +await gapi.client.groups.getIamPolicy({ project: "project", resource: "resource", }); + +/* +Creates a Group resource in the specified project using the data included in the request. +*/ +await gapi.client.groups.insert({ project: "project", }); + +/* +Retrieves the list of groups contained within the specified project. +*/ +await gapi.client.groups.list({ project: "project", }); + +/* +Removes users from the specified group. +*/ +await gapi.client.groups.removeMember({ groupName: "groupName", project: "project", }); + +/* +Sets the access control policy on the specified resource. Replaces any existing policy. +*/ +await gapi.client.groups.setIamPolicy({ project: "project", resource: "resource", }); + +/* +Returns permissions that a caller has on the specified resource. +*/ +await gapi.client.groups.testIamPermissions({ project: "project", resource: "resource", }); + +/* +Returns a list of authorized public keys for a specific user account. +*/ +await gapi.client.linux.getAuthorizedKeysView({ instance: "instance", project: "project", user: "user", zone: "zone", }); + +/* +Retrieves a list of user accounts for an instance within a specific project. +*/ +await gapi.client.linux.getLinuxAccountViews({ instance: "instance", project: "project", zone: "zone", }); + +/* +Adds a public key to the specified User resource with the data included in the request. +*/ +await gapi.client.users.addPublicKey({ project: "project", user: "user", }); + +/* +Deletes the specified User resource. +*/ +await gapi.client.users.delete({ project: "project", user: "user", }); + +/* +Returns the specified User resource. +*/ +await gapi.client.users.get({ project: "project", user: "user", }); + +/* +Gets the access control policy for a resource. May be empty if no such policy or resource exists. +*/ +await gapi.client.users.getIamPolicy({ project: "project", resource: "resource", }); + +/* +Creates a User resource in the specified project using the data included in the request. +*/ +await gapi.client.users.insert({ project: "project", }); + +/* +Retrieves a list of users contained within the specified project. +*/ +await gapi.client.users.list({ project: "project", }); + +/* +Removes the specified public key from the user. +*/ +await gapi.client.users.removePublicKey({ fingerprint: "fingerprint", project: "project", user: "user", }); + +/* +Sets the access control policy on the specified resource. Replaces any existing policy. +*/ +await gapi.client.users.setIamPolicy({ project: "project", resource: "resource", }); + +/* +Returns permissions that a caller has on the specified resource. +*/ +await gapi.client.users.testIamPermissions({ project: "project", resource: "resource", }); +``` \ No newline at end of file diff --git a/types/gapi.client.clouduseraccounts/tsconfig.json b/types/gapi.client.clouduseraccounts/tsconfig.json new file mode 100644 index 0000000000..a6e3b9ffec --- /dev/null +++ b/types/gapi.client.clouduseraccounts/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.clouduseraccounts-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.clouduseraccounts/tslint.json b/types/gapi.client.clouduseraccounts/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.clouduseraccounts/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.compute/gapi.client.compute-tests.ts b/types/gapi.client.compute/gapi.client.compute-tests.ts new file mode 100644 index 0000000000..7ebfeccdcd --- /dev/null +++ b/types/gapi.client.compute/gapi.client.compute-tests.ts @@ -0,0 +1,2184 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('compute', 'v1', () => { + /** now we can use gapi.client.compute */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View and manage your Google Compute Engine resources */ + 'https://www.googleapis.com/auth/compute', + /** View your Google Compute Engine resources */ + 'https://www.googleapis.com/auth/compute.readonly', + /** Manage your data and permissions in Google Cloud Storage */ + 'https://www.googleapis.com/auth/devstorage.full_control', + /** View your data in Google Cloud Storage */ + 'https://www.googleapis.com/auth/devstorage.read_only', + /** Manage your data in Google Cloud Storage */ + 'https://www.googleapis.com/auth/devstorage.read_write', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Retrieves an aggregated list of accelerator types. */ + await gapi.client.acceleratorTypes.aggregatedList({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Returns the specified accelerator type. Get a list of available accelerator types by making a list() request. */ + await gapi.client.acceleratorTypes.get({ + acceleratorType: "acceleratorType", + project: "project", + zone: "zone", + }); + /** Retrieves a list of accelerator types available to the specified project. */ + await gapi.client.acceleratorTypes.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + zone: "zone", + }); + /** Retrieves an aggregated list of addresses. */ + await gapi.client.addresses.aggregatedList({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Deletes the specified address resource. */ + await gapi.client.addresses.delete({ + address: "address", + project: "project", + region: "region", + requestId: "requestId", + }); + /** Returns the specified address resource. */ + await gapi.client.addresses.get({ + address: "address", + project: "project", + region: "region", + }); + /** Creates an address resource in the specified project using the data included in the request. */ + await gapi.client.addresses.insert({ + project: "project", + region: "region", + requestId: "requestId", + }); + /** Retrieves a list of addresses contained within the specified region. */ + await gapi.client.addresses.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + region: "region", + }); + /** Retrieves an aggregated list of autoscalers. */ + await gapi.client.autoscalers.aggregatedList({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Deletes the specified autoscaler. */ + await gapi.client.autoscalers.delete({ + autoscaler: "autoscaler", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Returns the specified autoscaler resource. Get a list of available autoscalers by making a list() request. */ + await gapi.client.autoscalers.get({ + autoscaler: "autoscaler", + project: "project", + zone: "zone", + }); + /** Creates an autoscaler in the specified project using the data included in the request. */ + await gapi.client.autoscalers.insert({ + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Retrieves a list of autoscalers contained within the specified zone. */ + await gapi.client.autoscalers.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + zone: "zone", + }); + /** + * Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge + * patch format and processing rules. + */ + await gapi.client.autoscalers.patch({ + autoscaler: "autoscaler", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Updates an autoscaler in the specified project using the data included in the request. */ + await gapi.client.autoscalers.update({ + autoscaler: "autoscaler", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Deletes the specified BackendBucket resource. */ + await gapi.client.backendBuckets.delete({ + backendBucket: "backendBucket", + project: "project", + requestId: "requestId", + }); + /** Returns the specified BackendBucket resource. Get a list of available backend buckets by making a list() request. */ + await gapi.client.backendBuckets.get({ + backendBucket: "backendBucket", + project: "project", + }); + /** Creates a BackendBucket resource in the specified project using the data included in the request. */ + await gapi.client.backendBuckets.insert({ + project: "project", + requestId: "requestId", + }); + /** Retrieves the list of BackendBucket resources available to the specified project. */ + await gapi.client.backendBuckets.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** + * Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch + * format and processing rules. + */ + await gapi.client.backendBuckets.patch({ + backendBucket: "backendBucket", + project: "project", + requestId: "requestId", + }); + /** Updates the specified BackendBucket resource with the data included in the request. */ + await gapi.client.backendBuckets.update({ + backendBucket: "backendBucket", + project: "project", + requestId: "requestId", + }); + /** Retrieves the list of all BackendService resources, regional and global, available to the specified project. */ + await gapi.client.backendServices.aggregatedList({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Deletes the specified BackendService resource. */ + await gapi.client.backendServices.delete({ + backendService: "backendService", + project: "project", + requestId: "requestId", + }); + /** Returns the specified BackendService resource. Get a list of available backend services by making a list() request. */ + await gapi.client.backendServices.get({ + backendService: "backendService", + project: "project", + }); + /** Gets the most recent health check results for this BackendService. */ + await gapi.client.backendServices.getHealth({ + backendService: "backendService", + project: "project", + }); + /** + * Creates a BackendService resource in the specified project using the data included in the request. There are several restrictions and guidelines to + * keep in mind when creating a backend service. Read Restrictions and Guidelines for more information. + */ + await gapi.client.backendServices.insert({ + project: "project", + requestId: "requestId", + }); + /** Retrieves the list of BackendService resources available to the specified project. */ + await gapi.client.backendServices.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** + * Patches the specified BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in mind when + * updating a backend service. Read Restrictions and Guidelines for more information. This method supports PATCH semantics and uses the JSON merge patch + * format and processing rules. + */ + await gapi.client.backendServices.patch({ + backendService: "backendService", + project: "project", + requestId: "requestId", + }); + /** + * Updates the specified BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in mind when + * updating a backend service. Read Restrictions and Guidelines for more information. + */ + await gapi.client.backendServices.update({ + backendService: "backendService", + project: "project", + requestId: "requestId", + }); + /** Retrieves an aggregated list of disk types. */ + await gapi.client.diskTypes.aggregatedList({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Returns the specified disk type. Get a list of available disk types by making a list() request. */ + await gapi.client.diskTypes.get({ + diskType: "diskType", + project: "project", + zone: "zone", + }); + /** Retrieves a list of disk types available to the specified project. */ + await gapi.client.diskTypes.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + zone: "zone", + }); + /** Retrieves an aggregated list of persistent disks. */ + await gapi.client.disks.aggregatedList({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Creates a snapshot of a specified persistent disk. */ + await gapi.client.disks.createSnapshot({ + disk: "disk", + guestFlush: true, + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** + * Deletes the specified persistent disk. Deleting a disk removes its data permanently and is irreversible. However, deleting a disk does not delete any + * snapshots previously made from the disk. You must separately delete snapshots. + */ + await gapi.client.disks.delete({ + disk: "disk", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Returns a specified persistent disk. Get a list of available persistent disks by making a list() request. */ + await gapi.client.disks.get({ + disk: "disk", + project: "project", + zone: "zone", + }); + /** + * Creates a persistent disk in the specified project using the data in the request. You can create a disk with a sourceImage, a sourceSnapshot, or create + * an empty 500 GB data disk by omitting all properties. You can also create a disk that is larger than the default size by specifying the sizeGb + * property. + */ + await gapi.client.disks.insert({ + project: "project", + requestId: "requestId", + sourceImage: "sourceImage", + zone: "zone", + }); + /** Retrieves a list of persistent disks contained within the specified zone. */ + await gapi.client.disks.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + zone: "zone", + }); + /** Resizes the specified persistent disk. */ + await gapi.client.disks.resize({ + disk: "disk", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Sets the labels on a disk. To learn more about labels, read the Labeling Resources documentation. */ + await gapi.client.disks.setLabels({ + project: "project", + requestId: "requestId", + resource: "resource", + zone: "zone", + }); + /** Deletes the specified firewall. */ + await gapi.client.firewalls.delete({ + firewall: "firewall", + project: "project", + requestId: "requestId", + }); + /** Returns the specified firewall. */ + await gapi.client.firewalls.get({ + firewall: "firewall", + project: "project", + }); + /** Creates a firewall rule in the specified project using the data included in the request. */ + await gapi.client.firewalls.insert({ + project: "project", + requestId: "requestId", + }); + /** Retrieves the list of firewall rules available to the specified project. */ + await gapi.client.firewalls.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** + * Updates the specified firewall rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format + * and processing rules. + */ + await gapi.client.firewalls.patch({ + firewall: "firewall", + project: "project", + requestId: "requestId", + }); + /** + * Updates the specified firewall rule with the data included in the request. Using PUT method, can only update following fields of firewall rule: + * allowed, description, sourceRanges, sourceTags, targetTags. + */ + await gapi.client.firewalls.update({ + firewall: "firewall", + project: "project", + requestId: "requestId", + }); + /** Retrieves an aggregated list of forwarding rules. */ + await gapi.client.forwardingRules.aggregatedList({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Deletes the specified ForwardingRule resource. */ + await gapi.client.forwardingRules.delete({ + forwardingRule: "forwardingRule", + project: "project", + region: "region", + requestId: "requestId", + }); + /** Returns the specified ForwardingRule resource. */ + await gapi.client.forwardingRules.get({ + forwardingRule: "forwardingRule", + project: "project", + region: "region", + }); + /** Creates a ForwardingRule resource in the specified project and region using the data included in the request. */ + await gapi.client.forwardingRules.insert({ + project: "project", + region: "region", + requestId: "requestId", + }); + /** Retrieves a list of ForwardingRule resources available to the specified project and region. */ + await gapi.client.forwardingRules.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + region: "region", + }); + /** Changes target URL for forwarding rule. The new target should be of the same type as the old target. */ + await gapi.client.forwardingRules.setTarget({ + forwardingRule: "forwardingRule", + project: "project", + region: "region", + requestId: "requestId", + }); + /** Deletes the specified address resource. */ + await gapi.client.globalAddresses.delete({ + address: "address", + project: "project", + requestId: "requestId", + }); + /** Returns the specified address resource. Get a list of available addresses by making a list() request. */ + await gapi.client.globalAddresses.get({ + address: "address", + project: "project", + }); + /** Creates an address resource in the specified project using the data included in the request. */ + await gapi.client.globalAddresses.insert({ + project: "project", + requestId: "requestId", + }); + /** Retrieves a list of global addresses. */ + await gapi.client.globalAddresses.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Deletes the specified GlobalForwardingRule resource. */ + await gapi.client.globalForwardingRules.delete({ + forwardingRule: "forwardingRule", + project: "project", + requestId: "requestId", + }); + /** Returns the specified GlobalForwardingRule resource. Get a list of available forwarding rules by making a list() request. */ + await gapi.client.globalForwardingRules.get({ + forwardingRule: "forwardingRule", + project: "project", + }); + /** Creates a GlobalForwardingRule resource in the specified project using the data included in the request. */ + await gapi.client.globalForwardingRules.insert({ + project: "project", + requestId: "requestId", + }); + /** Retrieves a list of GlobalForwardingRule resources available to the specified project. */ + await gapi.client.globalForwardingRules.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Changes target URL for the GlobalForwardingRule resource. The new target should be of the same type as the old target. */ + await gapi.client.globalForwardingRules.setTarget({ + forwardingRule: "forwardingRule", + project: "project", + requestId: "requestId", + }); + /** Retrieves an aggregated list of all operations. */ + await gapi.client.globalOperations.aggregatedList({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Deletes the specified Operations resource. */ + await gapi.client.globalOperations.delete({ + operation: "operation", + project: "project", + }); + /** Retrieves the specified Operations resource. Get a list of operations by making a list() request. */ + await gapi.client.globalOperations.get({ + operation: "operation", + project: "project", + }); + /** Retrieves a list of Operation resources contained within the specified project. */ + await gapi.client.globalOperations.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Deletes the specified HealthCheck resource. */ + await gapi.client.healthChecks.delete({ + healthCheck: "healthCheck", + project: "project", + requestId: "requestId", + }); + /** Returns the specified HealthCheck resource. Get a list of available health checks by making a list() request. */ + await gapi.client.healthChecks.get({ + healthCheck: "healthCheck", + project: "project", + }); + /** Creates a HealthCheck resource in the specified project using the data included in the request. */ + await gapi.client.healthChecks.insert({ + project: "project", + requestId: "requestId", + }); + /** Retrieves the list of HealthCheck resources available to the specified project. */ + await gapi.client.healthChecks.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** + * Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON + * merge patch format and processing rules. + */ + await gapi.client.healthChecks.patch({ + healthCheck: "healthCheck", + project: "project", + requestId: "requestId", + }); + /** Updates a HealthCheck resource in the specified project using the data included in the request. */ + await gapi.client.healthChecks.update({ + healthCheck: "healthCheck", + project: "project", + requestId: "requestId", + }); + /** Deletes the specified HttpHealthCheck resource. */ + await gapi.client.httpHealthChecks.delete({ + httpHealthCheck: "httpHealthCheck", + project: "project", + requestId: "requestId", + }); + /** Returns the specified HttpHealthCheck resource. Get a list of available HTTP health checks by making a list() request. */ + await gapi.client.httpHealthChecks.get({ + httpHealthCheck: "httpHealthCheck", + project: "project", + }); + /** Creates a HttpHealthCheck resource in the specified project using the data included in the request. */ + await gapi.client.httpHealthChecks.insert({ + project: "project", + requestId: "requestId", + }); + /** Retrieves the list of HttpHealthCheck resources available to the specified project. */ + await gapi.client.httpHealthChecks.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** + * Updates a HttpHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the + * JSON merge patch format and processing rules. + */ + await gapi.client.httpHealthChecks.patch({ + httpHealthCheck: "httpHealthCheck", + project: "project", + requestId: "requestId", + }); + /** Updates a HttpHealthCheck resource in the specified project using the data included in the request. */ + await gapi.client.httpHealthChecks.update({ + httpHealthCheck: "httpHealthCheck", + project: "project", + requestId: "requestId", + }); + /** Deletes the specified HttpsHealthCheck resource. */ + await gapi.client.httpsHealthChecks.delete({ + httpsHealthCheck: "httpsHealthCheck", + project: "project", + requestId: "requestId", + }); + /** Returns the specified HttpsHealthCheck resource. Get a list of available HTTPS health checks by making a list() request. */ + await gapi.client.httpsHealthChecks.get({ + httpsHealthCheck: "httpsHealthCheck", + project: "project", + }); + /** Creates a HttpsHealthCheck resource in the specified project using the data included in the request. */ + await gapi.client.httpsHealthChecks.insert({ + project: "project", + requestId: "requestId", + }); + /** Retrieves the list of HttpsHealthCheck resources available to the specified project. */ + await gapi.client.httpsHealthChecks.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** + * Updates a HttpsHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the + * JSON merge patch format and processing rules. + */ + await gapi.client.httpsHealthChecks.patch({ + httpsHealthCheck: "httpsHealthCheck", + project: "project", + requestId: "requestId", + }); + /** Updates a HttpsHealthCheck resource in the specified project using the data included in the request. */ + await gapi.client.httpsHealthChecks.update({ + httpsHealthCheck: "httpsHealthCheck", + project: "project", + requestId: "requestId", + }); + /** Deletes the specified image. */ + await gapi.client.images.delete({ + image: "image", + project: "project", + requestId: "requestId", + }); + /** + * Sets the deprecation status of an image. + * + * If an empty request body is given, clears the deprecation status instead. + */ + await gapi.client.images.deprecate({ + image: "image", + project: "project", + requestId: "requestId", + }); + /** Returns the specified image. Get a list of available images by making a list() request. */ + await gapi.client.images.get({ + image: "image", + project: "project", + }); + /** Returns the latest image that is part of an image family and is not deprecated. */ + await gapi.client.images.getFromFamily({ + family: "family", + project: "project", + }); + /** Creates an image in the specified project using the data included in the request. */ + await gapi.client.images.insert({ + forceCreate: true, + project: "project", + requestId: "requestId", + }); + /** + * Retrieves the list of private images available to the specified project. Private images are images you create that belong to your project. This method + * does not get any images that belong to other projects, including publicly-available images, like Debian 8. If you want to get a list of + * publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud. + */ + await gapi.client.images.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Sets the labels on an image. To learn more about labels, read the Labeling Resources documentation. */ + await gapi.client.images.setLabels({ + project: "project", + resource: "resource", + }); + /** + * Schedules a group action to remove the specified instances from the managed instance group. Abandoning an instance does not delete the instance, but it + * does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed + * instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have + * not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. + * + * If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has + * elapsed before the VM instance is removed or deleted. + * + * You can specify a maximum of 1000 instances with this method per request. + */ + await gapi.client.instanceGroupManagers.abandonInstances({ + instanceGroupManager: "instanceGroupManager", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Retrieves the list of managed instance groups and groups them by zone. */ + await gapi.client.instanceGroupManagers.aggregatedList({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** + * Deletes the specified managed instance group and all of the instances in that group. Note that the instance group must not belong to a backend service. + * Read Deleting an instance group for more information. + */ + await gapi.client.instanceGroupManagers.delete({ + instanceGroupManager: "instanceGroupManager", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** + * Schedules a group action to delete the specified instances in the managed instance group. The instances are also removed from any target pools of which + * they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is + * marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action + * with the listmanagedinstances method. + * + * If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has + * elapsed before the VM instance is removed or deleted. + * + * You can specify a maximum of 1000 instances with this method per request. + */ + await gapi.client.instanceGroupManagers.deleteInstances({ + instanceGroupManager: "instanceGroupManager", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Returns all of the details about the specified managed instance group. Get a list of available managed instance groups by making a list() request. */ + await gapi.client.instanceGroupManagers.get({ + instanceGroupManager: "instanceGroupManager", + project: "project", + zone: "zone", + }); + /** + * Creates a managed instance group using the information that you specify in the request. After the group is created, it schedules an action to create + * instances in the group using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the + * group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. + * + * A managed instance group can have up to 1000 VM instances per group. Please contact Cloud Support if you need an increase in this limit. + */ + await gapi.client.instanceGroupManagers.insert({ + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Retrieves a list of managed instance groups that are contained within the specified project and zone. */ + await gapi.client.instanceGroupManagers.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + zone: "zone", + }); + /** + * Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed + * instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous + * action failed, the list displays the errors for that failed action. + */ + await gapi.client.instanceGroupManagers.listManagedInstances({ + filter: "filter", + instanceGroupManager: "instanceGroupManager", + maxResults: 3, + order_by: "order_by", + pageToken: "pageToken", + project: "project", + zone: "zone", + }); + /** + * Schedules a group action to recreate the specified instances in the managed instance group. The instances are deleted and recreated using the current + * instance template for the managed instance group. This operation is marked as DONE when the action is scheduled even if the instances have not yet been + * recreated. You must separately verify the status of the recreating action with the listmanagedinstances method. + * + * If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has + * elapsed before the VM instance is removed or deleted. + * + * You can specify a maximum of 1000 instances with this method per request. + */ + await gapi.client.instanceGroupManagers.recreateInstances({ + instanceGroupManager: "instanceGroupManager", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** + * Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the + * size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or + * deleted any instances. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. + * + * If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has + * elapsed before the VM instance is removed or deleted. + */ + await gapi.client.instanceGroupManagers.resize({ + instanceGroupManager: "instanceGroupManager", + project: "project", + requestId: "requestId", + size: 4, + zone: "zone", + }); + /** + * Specifies the instance template to use when creating new instances in this group. The templates for existing instances in the group do not change + * unless you recreate them. + */ + await gapi.client.instanceGroupManagers.setInstanceTemplate({ + instanceGroupManager: "instanceGroupManager", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** + * Modifies the target pools to which all instances in this managed instance group are assigned. The target pools automatically apply to all of the + * instances in the managed instance group. This operation is marked DONE when you make the request even if the instances have not yet been added to their + * target pools. The change might take some time to apply to all of the instances in the group depending on the size of the group. + */ + await gapi.client.instanceGroupManagers.setTargetPools({ + instanceGroupManager: "instanceGroupManager", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** + * Adds a list of instances to the specified instance group. All of the instances in the instance group must be in the same network/subnetwork. Read + * Adding instances for more information. + */ + await gapi.client.instanceGroups.addInstances({ + instanceGroup: "instanceGroup", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Retrieves the list of instance groups and sorts them by zone. */ + await gapi.client.instanceGroups.aggregatedList({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** + * Deletes the specified instance group. The instances in the group are not deleted. Note that instance group must not belong to a backend service. Read + * Deleting an instance group for more information. + */ + await gapi.client.instanceGroups.delete({ + instanceGroup: "instanceGroup", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Returns the specified instance group. Get a list of available instance groups by making a list() request. */ + await gapi.client.instanceGroups.get({ + instanceGroup: "instanceGroup", + project: "project", + zone: "zone", + }); + /** Creates an instance group in the specified project using the parameters that are included in the request. */ + await gapi.client.instanceGroups.insert({ + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Retrieves the list of instance groups that are located in the specified project and zone. */ + await gapi.client.instanceGroups.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + zone: "zone", + }); + /** Lists the instances in the specified instance group. */ + await gapi.client.instanceGroups.listInstances({ + filter: "filter", + instanceGroup: "instanceGroup", + maxResults: 3, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + zone: "zone", + }); + /** + * Removes one or more instances from the specified instance group, but does not delete those instances. + * + * If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration + * before the VM instance is removed or deleted. + */ + await gapi.client.instanceGroups.removeInstances({ + instanceGroup: "instanceGroup", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Sets the named ports for the specified instance group. */ + await gapi.client.instanceGroups.setNamedPorts({ + instanceGroup: "instanceGroup", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** + * Deletes the specified instance template. If you delete an instance template that is being referenced from another instance group, the instance group + * will not be able to create or recreate virtual machine instances. Deleting an instance template is permanent and cannot be undone. + */ + await gapi.client.instanceTemplates.delete({ + instanceTemplate: "instanceTemplate", + project: "project", + requestId: "requestId", + }); + /** Returns the specified instance template. Get a list of available instance templates by making a list() request. */ + await gapi.client.instanceTemplates.get({ + instanceTemplate: "instanceTemplate", + project: "project", + }); + /** + * Creates an instance template in the specified project using the data that is included in the request. If you are creating a new template to update an + * existing instance group, your new instance template must use the same network or, if applicable, the same subnetwork as the original template. + */ + await gapi.client.instanceTemplates.insert({ + project: "project", + requestId: "requestId", + }); + /** Retrieves a list of instance templates that are contained within the specified project and zone. */ + await gapi.client.instanceTemplates.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Adds an access config to an instance's network interface. */ + await gapi.client.instances.addAccessConfig({ + instance: "instance", + networkInterface: "networkInterface", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Retrieves aggregated list of instances. */ + await gapi.client.instances.aggregatedList({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** + * Attaches an existing Disk resource to an instance. You must first create the disk before you can attach it. It is not possible to create and attach a + * disk at the same time. For more information, read Adding a persistent disk to your instance. + */ + await gapi.client.instances.attachDisk({ + instance: "instance", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Deletes the specified Instance resource. For more information, see Stopping or Deleting an Instance. */ + await gapi.client.instances.delete({ + instance: "instance", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Deletes an access config from an instance's network interface. */ + await gapi.client.instances.deleteAccessConfig({ + accessConfig: "accessConfig", + instance: "instance", + networkInterface: "networkInterface", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Detaches a disk from an instance. */ + await gapi.client.instances.detachDisk({ + deviceName: "deviceName", + instance: "instance", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Returns the specified Instance resource. Get a list of available instances by making a list() request. */ + await gapi.client.instances.get({ + instance: "instance", + project: "project", + zone: "zone", + }); + /** Returns the specified instance's serial port output. */ + await gapi.client.instances.getSerialPortOutput({ + instance: "instance", + port: 2, + project: "project", + start: "start", + zone: "zone", + }); + /** Creates an instance resource in the specified project using the data included in the request. */ + await gapi.client.instances.insert({ + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Retrieves the list of instances contained within the specified zone. */ + await gapi.client.instances.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + zone: "zone", + }); + /** Performs a reset on the instance. For more information, see Resetting an instance. */ + await gapi.client.instances.reset({ + instance: "instance", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Sets the auto-delete flag for a disk attached to an instance. */ + await gapi.client.instances.setDiskAutoDelete({ + autoDelete: true, + deviceName: "deviceName", + instance: "instance", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Sets labels on an instance. To learn more about labels, read the Labeling Resources documentation. */ + await gapi.client.instances.setLabels({ + instance: "instance", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Changes the number and/or type of accelerator for a stopped instance to the values specified in the request. */ + await gapi.client.instances.setMachineResources({ + instance: "instance", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Changes the machine type for a stopped instance to the machine type specified in the request. */ + await gapi.client.instances.setMachineType({ + instance: "instance", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Sets metadata for the specified instance to the data included in the request. */ + await gapi.client.instances.setMetadata({ + instance: "instance", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** + * Changes the minimum CPU platform that this instance should use. This method can only be called on a stopped instance. For more information, read + * Specifying a Minimum CPU Platform. + */ + await gapi.client.instances.setMinCpuPlatform({ + instance: "instance", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Sets an instance's scheduling options. */ + await gapi.client.instances.setScheduling({ + instance: "instance", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Sets the service account on the instance. For more information, read Changing the service account and access scopes for an instance. */ + await gapi.client.instances.setServiceAccount({ + instance: "instance", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Sets tags for the specified instance to the data included in the request. */ + await gapi.client.instances.setTags({ + instance: "instance", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Starts an instance that was stopped using the using the instances().stop method. For more information, see Restart an instance. */ + await gapi.client.instances.start({ + instance: "instance", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Starts an instance that was stopped using the using the instances().stop method. For more information, see Restart an instance. */ + await gapi.client.instances.startWithEncryptionKey({ + instance: "instance", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** + * Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time. Stopped instances do not incur per-minute, + * virtual machine usage charges while they are stopped, but any resources that the virtual machine is using, such as persistent disks and static IP + * addresses, will continue to be charged until they are deleted. For more information, see Stopping an instance. + */ + await gapi.client.instances.stop({ + instance: "instance", + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Returns the specified License resource. */ + await gapi.client.licenses.get({ + license: "license", + project: "project", + }); + /** Retrieves an aggregated list of machine types. */ + await gapi.client.machineTypes.aggregatedList({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Returns the specified machine type. Get a list of available machine types by making a list() request. */ + await gapi.client.machineTypes.get({ + machineType: "machineType", + project: "project", + zone: "zone", + }); + /** Retrieves a list of machine types available to the specified project. */ + await gapi.client.machineTypes.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + zone: "zone", + }); + /** Adds a peering to the specified network. */ + await gapi.client.networks.addPeering({ + network: "network", + project: "project", + requestId: "requestId", + }); + /** Deletes the specified network. */ + await gapi.client.networks.delete({ + network: "network", + project: "project", + requestId: "requestId", + }); + /** Returns the specified network. Get a list of available networks by making a list() request. */ + await gapi.client.networks.get({ + network: "network", + project: "project", + }); + /** Creates a network in the specified project using the data included in the request. */ + await gapi.client.networks.insert({ + project: "project", + requestId: "requestId", + }); + /** Retrieves the list of networks available to the specified project. */ + await gapi.client.networks.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Patches the specified network with the data included in the request. */ + await gapi.client.networks.patch({ + network: "network", + project: "project", + requestId: "requestId", + }); + /** Removes a peering from the specified network. */ + await gapi.client.networks.removePeering({ + network: "network", + project: "project", + requestId: "requestId", + }); + /** Switches the network mode from auto subnet mode to custom subnet mode. */ + await gapi.client.networks.switchToCustomMode({ + network: "network", + project: "project", + requestId: "requestId", + }); + /** Disable this project as a shared VPC host project. */ + await gapi.client.projects.disableXpnHost({ + project: "project", + requestId: "requestId", + }); + /** Disable a serivce resource (a.k.a service project) associated with this host project. */ + await gapi.client.projects.disableXpnResource({ + project: "project", + requestId: "requestId", + }); + /** Enable this project as a shared VPC host project. */ + await gapi.client.projects.enableXpnHost({ + project: "project", + requestId: "requestId", + }); + /** + * Enable service resource (a.k.a service project) for a host project, so that subnets in the host project can be used by instances in the service + * project. + */ + await gapi.client.projects.enableXpnResource({ + project: "project", + requestId: "requestId", + }); + /** Returns the specified Project resource. */ + await gapi.client.projects.get({ + project: "project", + }); + /** Get the shared VPC host project that this project links to. May be empty if no link exists. */ + await gapi.client.projects.getXpnHost({ + project: "project", + }); + /** Get service resources (a.k.a service project) associated with this host project. */ + await gapi.client.projects.getXpnResources({ + filter: "filter", + maxResults: 2, + order_by: "order_by", + pageToken: "pageToken", + project: "project", + }); + /** List all shared VPC host projects visible to the user in an organization. */ + await gapi.client.projects.listXpnHosts({ + filter: "filter", + maxResults: 2, + order_by: "order_by", + pageToken: "pageToken", + project: "project", + }); + /** Moves a persistent disk from one zone to another. */ + await gapi.client.projects.moveDisk({ + project: "project", + requestId: "requestId", + }); + /** Moves an instance and its attached persistent disks from one zone to another. */ + await gapi.client.projects.moveInstance({ + project: "project", + requestId: "requestId", + }); + /** Sets metadata common to all instances within the specified project using the data included in the request. */ + await gapi.client.projects.setCommonInstanceMetadata({ + project: "project", + requestId: "requestId", + }); + /** + * Enables the usage export feature and sets the usage export bucket where reports are stored. If you provide an empty request body using this method, the + * usage export feature will be disabled. + */ + await gapi.client.projects.setUsageExportBucket({ + project: "project", + requestId: "requestId", + }); + /** Deletes the specified autoscaler. */ + await gapi.client.regionAutoscalers.delete({ + autoscaler: "autoscaler", + project: "project", + region: "region", + requestId: "requestId", + }); + /** Returns the specified autoscaler. */ + await gapi.client.regionAutoscalers.get({ + autoscaler: "autoscaler", + project: "project", + region: "region", + }); + /** Creates an autoscaler in the specified project using the data included in the request. */ + await gapi.client.regionAutoscalers.insert({ + project: "project", + region: "region", + requestId: "requestId", + }); + /** Retrieves a list of autoscalers contained within the specified region. */ + await gapi.client.regionAutoscalers.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + region: "region", + }); + /** + * Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge + * patch format and processing rules. + */ + await gapi.client.regionAutoscalers.patch({ + autoscaler: "autoscaler", + project: "project", + region: "region", + requestId: "requestId", + }); + /** Updates an autoscaler in the specified project using the data included in the request. */ + await gapi.client.regionAutoscalers.update({ + autoscaler: "autoscaler", + project: "project", + region: "region", + requestId: "requestId", + }); + /** Deletes the specified regional BackendService resource. */ + await gapi.client.regionBackendServices.delete({ + backendService: "backendService", + project: "project", + region: "region", + requestId: "requestId", + }); + /** Returns the specified regional BackendService resource. */ + await gapi.client.regionBackendServices.get({ + backendService: "backendService", + project: "project", + region: "region", + }); + /** Gets the most recent health check results for this regional BackendService. */ + await gapi.client.regionBackendServices.getHealth({ + backendService: "backendService", + project: "project", + region: "region", + }); + /** + * Creates a regional BackendService resource in the specified project using the data included in the request. There are several restrictions and + * guidelines to keep in mind when creating a regional backend service. Read Restrictions and Guidelines for more information. + */ + await gapi.client.regionBackendServices.insert({ + project: "project", + region: "region", + requestId: "requestId", + }); + /** Retrieves the list of regional BackendService resources available to the specified project in the given region. */ + await gapi.client.regionBackendServices.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + region: "region", + }); + /** + * Updates the specified regional BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in + * mind when updating a backend service. Read Restrictions and Guidelines for more information. This method supports PATCH semantics and uses the JSON + * merge patch format and processing rules. + */ + await gapi.client.regionBackendServices.patch({ + backendService: "backendService", + project: "project", + region: "region", + requestId: "requestId", + }); + /** + * Updates the specified regional BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in + * mind when updating a backend service. Read Restrictions and Guidelines for more information. + */ + await gapi.client.regionBackendServices.update({ + backendService: "backendService", + project: "project", + region: "region", + requestId: "requestId", + }); + /** Retrieves an aggregated list of commitments. */ + await gapi.client.regionCommitments.aggregatedList({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Returns the specified commitment resource. Get a list of available commitments by making a list() request. */ + await gapi.client.regionCommitments.get({ + commitment: "commitment", + project: "project", + region: "region", + }); + /** Creates a commitment in the specified project using the data included in the request. */ + await gapi.client.regionCommitments.insert({ + project: "project", + region: "region", + requestId: "requestId", + }); + /** Retrieves a list of commitments contained within the specified region. */ + await gapi.client.regionCommitments.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + region: "region", + }); + /** + * Schedules a group action to remove the specified instances from the managed instance group. Abandoning an instance does not delete the instance, but it + * does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed + * instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have + * not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. + * + * If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has + * elapsed before the VM instance is removed or deleted. + * + * You can specify a maximum of 1000 instances with this method per request. + */ + await gapi.client.regionInstanceGroupManagers.abandonInstances({ + instanceGroupManager: "instanceGroupManager", + project: "project", + region: "region", + requestId: "requestId", + }); + /** Deletes the specified managed instance group and all of the instances in that group. */ + await gapi.client.regionInstanceGroupManagers.delete({ + instanceGroupManager: "instanceGroupManager", + project: "project", + region: "region", + requestId: "requestId", + }); + /** + * Schedules a group action to delete the specified instances in the managed instance group. The instances are also removed from any target pools of which + * they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is + * marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action + * with the listmanagedinstances method. + * + * If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has + * elapsed before the VM instance is removed or deleted. + * + * You can specify a maximum of 1000 instances with this method per request. + */ + await gapi.client.regionInstanceGroupManagers.deleteInstances({ + instanceGroupManager: "instanceGroupManager", + project: "project", + region: "region", + requestId: "requestId", + }); + /** Returns all of the details about the specified managed instance group. */ + await gapi.client.regionInstanceGroupManagers.get({ + instanceGroupManager: "instanceGroupManager", + project: "project", + region: "region", + }); + /** + * Creates a managed instance group using the information that you specify in the request. After the group is created, it schedules an action to create + * instances in the group using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the + * group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. + * + * A regional managed instance group can contain up to 2000 instances. + */ + await gapi.client.regionInstanceGroupManagers.insert({ + project: "project", + region: "region", + requestId: "requestId", + }); + /** Retrieves the list of managed instance groups that are contained within the specified region. */ + await gapi.client.regionInstanceGroupManagers.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + region: "region", + }); + /** + * Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group + * has scheduled for its instances. + */ + await gapi.client.regionInstanceGroupManagers.listManagedInstances({ + filter: "filter", + instanceGroupManager: "instanceGroupManager", + maxResults: 3, + order_by: "order_by", + pageToken: "pageToken", + project: "project", + region: "region", + }); + /** + * Schedules a group action to recreate the specified instances in the managed instance group. The instances are deleted and recreated using the current + * instance template for the managed instance group. This operation is marked as DONE when the action is scheduled even if the instances have not yet been + * recreated. You must separately verify the status of the recreating action with the listmanagedinstances method. + * + * If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has + * elapsed before the VM instance is removed or deleted. + * + * You can specify a maximum of 1000 instances with this method per request. + */ + await gapi.client.regionInstanceGroupManagers.recreateInstances({ + instanceGroupManager: "instanceGroupManager", + project: "project", + region: "region", + requestId: "requestId", + }); + /** + * Changes the intended size for the managed instance group. If you increase the size, the group schedules actions to create new instances using the + * current instance template. If you decrease the size, the group schedules delete actions on one or more instances. The resize operation is marked DONE + * when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the + * creating or deleting actions with the listmanagedinstances method. + * + * If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has + * elapsed before the VM instance is removed or deleted. + */ + await gapi.client.regionInstanceGroupManagers.resize({ + instanceGroupManager: "instanceGroupManager", + project: "project", + region: "region", + requestId: "requestId", + size: 5, + }); + /** Sets the instance template to use when creating new instances or recreating instances in this group. Existing instances are not affected. */ + await gapi.client.regionInstanceGroupManagers.setInstanceTemplate({ + instanceGroupManager: "instanceGroupManager", + project: "project", + region: "region", + requestId: "requestId", + }); + /** Modifies the target pools to which all new instances in this group are assigned. Existing instances in the group are not affected. */ + await gapi.client.regionInstanceGroupManagers.setTargetPools({ + instanceGroupManager: "instanceGroupManager", + project: "project", + region: "region", + requestId: "requestId", + }); + /** Returns the specified instance group resource. */ + await gapi.client.regionInstanceGroups.get({ + instanceGroup: "instanceGroup", + project: "project", + region: "region", + }); + /** Retrieves the list of instance group resources contained within the specified region. */ + await gapi.client.regionInstanceGroups.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + region: "region", + }); + /** + * Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can + * list all instances or only the instances that are running. + */ + await gapi.client.regionInstanceGroups.listInstances({ + filter: "filter", + instanceGroup: "instanceGroup", + maxResults: 3, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + region: "region", + }); + /** Sets the named ports for the specified regional instance group. */ + await gapi.client.regionInstanceGroups.setNamedPorts({ + instanceGroup: "instanceGroup", + project: "project", + region: "region", + requestId: "requestId", + }); + /** Deletes the specified region-specific Operations resource. */ + await gapi.client.regionOperations.delete({ + operation: "operation", + project: "project", + region: "region", + }); + /** Retrieves the specified region-specific Operations resource. */ + await gapi.client.regionOperations.get({ + operation: "operation", + project: "project", + region: "region", + }); + /** Retrieves a list of Operation resources contained within the specified region. */ + await gapi.client.regionOperations.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + region: "region", + }); + /** Returns the specified Region resource. Get a list of available regions by making a list() request. */ + await gapi.client.regions.get({ + project: "project", + region: "region", + }); + /** Retrieves the list of region resources available to the specified project. */ + await gapi.client.regions.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Retrieves an aggregated list of routers. */ + await gapi.client.routers.aggregatedList({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Deletes the specified Router resource. */ + await gapi.client.routers.delete({ + project: "project", + region: "region", + requestId: "requestId", + router: "router", + }); + /** Returns the specified Router resource. Get a list of available routers by making a list() request. */ + await gapi.client.routers.get({ + project: "project", + region: "region", + router: "router", + }); + /** Retrieves runtime information of the specified router. */ + await gapi.client.routers.getRouterStatus({ + project: "project", + region: "region", + router: "router", + }); + /** Creates a Router resource in the specified project and region using the data included in the request. */ + await gapi.client.routers.insert({ + project: "project", + region: "region", + requestId: "requestId", + }); + /** Retrieves a list of Router resources available to the specified project. */ + await gapi.client.routers.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + region: "region", + }); + /** + * Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and + * processing rules. + */ + await gapi.client.routers.patch({ + project: "project", + region: "region", + requestId: "requestId", + router: "router", + }); + /** Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router. */ + await gapi.client.routers.preview({ + project: "project", + region: "region", + router: "router", + }); + /** Updates the specified Router resource with the data included in the request. */ + await gapi.client.routers.update({ + project: "project", + region: "region", + requestId: "requestId", + router: "router", + }); + /** Deletes the specified Route resource. */ + await gapi.client.routes.delete({ + project: "project", + requestId: "requestId", + route: "route", + }); + /** Returns the specified Route resource. Get a list of available routes by making a list() request. */ + await gapi.client.routes.get({ + project: "project", + route: "route", + }); + /** Creates a Route resource in the specified project using the data included in the request. */ + await gapi.client.routes.insert({ + project: "project", + requestId: "requestId", + }); + /** Retrieves the list of Route resources available to the specified project. */ + await gapi.client.routes.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** + * Deletes the specified Snapshot resource. Keep in mind that deleting a single snapshot might not necessarily delete all the data on that snapshot. If + * any data on the snapshot that is marked for deletion is needed for subsequent snapshots, the data will be moved to the next corresponding snapshot. + * + * For more information, see Deleting snaphots. + */ + await gapi.client.snapshots.delete({ + project: "project", + requestId: "requestId", + snapshot: "snapshot", + }); + /** Returns the specified Snapshot resource. Get a list of available snapshots by making a list() request. */ + await gapi.client.snapshots.get({ + project: "project", + snapshot: "snapshot", + }); + /** Retrieves the list of Snapshot resources contained within the specified project. */ + await gapi.client.snapshots.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Sets the labels on a snapshot. To learn more about labels, read the Labeling Resources documentation. */ + await gapi.client.snapshots.setLabels({ + project: "project", + resource: "resource", + }); + /** Deletes the specified SslCertificate resource. */ + await gapi.client.sslCertificates.delete({ + project: "project", + requestId: "requestId", + sslCertificate: "sslCertificate", + }); + /** Returns the specified SslCertificate resource. Get a list of available SSL certificates by making a list() request. */ + await gapi.client.sslCertificates.get({ + project: "project", + sslCertificate: "sslCertificate", + }); + /** Creates a SslCertificate resource in the specified project using the data included in the request. */ + await gapi.client.sslCertificates.insert({ + project: "project", + requestId: "requestId", + }); + /** Retrieves the list of SslCertificate resources available to the specified project. */ + await gapi.client.sslCertificates.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Retrieves an aggregated list of subnetworks. */ + await gapi.client.subnetworks.aggregatedList({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Deletes the specified subnetwork. */ + await gapi.client.subnetworks.delete({ + project: "project", + region: "region", + requestId: "requestId", + subnetwork: "subnetwork", + }); + /** Expands the IP CIDR range of the subnetwork to a specified value. */ + await gapi.client.subnetworks.expandIpCidrRange({ + project: "project", + region: "region", + requestId: "requestId", + subnetwork: "subnetwork", + }); + /** Returns the specified subnetwork. Get a list of available subnetworks list() request. */ + await gapi.client.subnetworks.get({ + project: "project", + region: "region", + subnetwork: "subnetwork", + }); + /** Creates a subnetwork in the specified project using the data included in the request. */ + await gapi.client.subnetworks.insert({ + project: "project", + region: "region", + requestId: "requestId", + }); + /** Retrieves a list of subnetworks available to the specified project. */ + await gapi.client.subnetworks.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + region: "region", + }); + /** Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access. */ + await gapi.client.subnetworks.setPrivateIpGoogleAccess({ + project: "project", + region: "region", + requestId: "requestId", + subnetwork: "subnetwork", + }); + /** Deletes the specified TargetHttpProxy resource. */ + await gapi.client.targetHttpProxies.delete({ + project: "project", + requestId: "requestId", + targetHttpProxy: "targetHttpProxy", + }); + /** Returns the specified TargetHttpProxy resource. Get a list of available target HTTP proxies by making a list() request. */ + await gapi.client.targetHttpProxies.get({ + project: "project", + targetHttpProxy: "targetHttpProxy", + }); + /** Creates a TargetHttpProxy resource in the specified project using the data included in the request. */ + await gapi.client.targetHttpProxies.insert({ + project: "project", + requestId: "requestId", + }); + /** Retrieves the list of TargetHttpProxy resources available to the specified project. */ + await gapi.client.targetHttpProxies.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Changes the URL map for TargetHttpProxy. */ + await gapi.client.targetHttpProxies.setUrlMap({ + project: "project", + requestId: "requestId", + targetHttpProxy: "targetHttpProxy", + }); + /** Deletes the specified TargetHttpsProxy resource. */ + await gapi.client.targetHttpsProxies.delete({ + project: "project", + requestId: "requestId", + targetHttpsProxy: "targetHttpsProxy", + }); + /** Returns the specified TargetHttpsProxy resource. Get a list of available target HTTPS proxies by making a list() request. */ + await gapi.client.targetHttpsProxies.get({ + project: "project", + targetHttpsProxy: "targetHttpsProxy", + }); + /** Creates a TargetHttpsProxy resource in the specified project using the data included in the request. */ + await gapi.client.targetHttpsProxies.insert({ + project: "project", + requestId: "requestId", + }); + /** Retrieves the list of TargetHttpsProxy resources available to the specified project. */ + await gapi.client.targetHttpsProxies.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Replaces SslCertificates for TargetHttpsProxy. */ + await gapi.client.targetHttpsProxies.setSslCertificates({ + project: "project", + requestId: "requestId", + targetHttpsProxy: "targetHttpsProxy", + }); + /** Changes the URL map for TargetHttpsProxy. */ + await gapi.client.targetHttpsProxies.setUrlMap({ + project: "project", + requestId: "requestId", + targetHttpsProxy: "targetHttpsProxy", + }); + /** Retrieves an aggregated list of target instances. */ + await gapi.client.targetInstances.aggregatedList({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Deletes the specified TargetInstance resource. */ + await gapi.client.targetInstances.delete({ + project: "project", + requestId: "requestId", + targetInstance: "targetInstance", + zone: "zone", + }); + /** Returns the specified TargetInstance resource. Get a list of available target instances by making a list() request. */ + await gapi.client.targetInstances.get({ + project: "project", + targetInstance: "targetInstance", + zone: "zone", + }); + /** Creates a TargetInstance resource in the specified project and zone using the data included in the request. */ + await gapi.client.targetInstances.insert({ + project: "project", + requestId: "requestId", + zone: "zone", + }); + /** Retrieves a list of TargetInstance resources available to the specified project and zone. */ + await gapi.client.targetInstances.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + zone: "zone", + }); + /** Adds health check URLs to a target pool. */ + await gapi.client.targetPools.addHealthCheck({ + project: "project", + region: "region", + requestId: "requestId", + targetPool: "targetPool", + }); + /** Adds an instance to a target pool. */ + await gapi.client.targetPools.addInstance({ + project: "project", + region: "region", + requestId: "requestId", + targetPool: "targetPool", + }); + /** Retrieves an aggregated list of target pools. */ + await gapi.client.targetPools.aggregatedList({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Deletes the specified target pool. */ + await gapi.client.targetPools.delete({ + project: "project", + region: "region", + requestId: "requestId", + targetPool: "targetPool", + }); + /** Returns the specified target pool. Get a list of available target pools by making a list() request. */ + await gapi.client.targetPools.get({ + project: "project", + region: "region", + targetPool: "targetPool", + }); + /** Gets the most recent health check results for each IP for the instance that is referenced by the given target pool. */ + await gapi.client.targetPools.getHealth({ + project: "project", + region: "region", + targetPool: "targetPool", + }); + /** Creates a target pool in the specified project and region using the data included in the request. */ + await gapi.client.targetPools.insert({ + project: "project", + region: "region", + requestId: "requestId", + }); + /** Retrieves a list of target pools available to the specified project and region. */ + await gapi.client.targetPools.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + region: "region", + }); + /** Removes health check URL from a target pool. */ + await gapi.client.targetPools.removeHealthCheck({ + project: "project", + region: "region", + requestId: "requestId", + targetPool: "targetPool", + }); + /** Removes instance URL from a target pool. */ + await gapi.client.targetPools.removeInstance({ + project: "project", + region: "region", + requestId: "requestId", + targetPool: "targetPool", + }); + /** Changes a backup target pool's configurations. */ + await gapi.client.targetPools.setBackup({ + failoverRatio: 1, + project: "project", + region: "region", + requestId: "requestId", + targetPool: "targetPool", + }); + /** Deletes the specified TargetSslProxy resource. */ + await gapi.client.targetSslProxies.delete({ + project: "project", + requestId: "requestId", + targetSslProxy: "targetSslProxy", + }); + /** Returns the specified TargetSslProxy resource. Get a list of available target SSL proxies by making a list() request. */ + await gapi.client.targetSslProxies.get({ + project: "project", + targetSslProxy: "targetSslProxy", + }); + /** Creates a TargetSslProxy resource in the specified project using the data included in the request. */ + await gapi.client.targetSslProxies.insert({ + project: "project", + requestId: "requestId", + }); + /** Retrieves the list of TargetSslProxy resources available to the specified project. */ + await gapi.client.targetSslProxies.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Changes the BackendService for TargetSslProxy. */ + await gapi.client.targetSslProxies.setBackendService({ + project: "project", + requestId: "requestId", + targetSslProxy: "targetSslProxy", + }); + /** Changes the ProxyHeaderType for TargetSslProxy. */ + await gapi.client.targetSslProxies.setProxyHeader({ + project: "project", + requestId: "requestId", + targetSslProxy: "targetSslProxy", + }); + /** Changes SslCertificates for TargetSslProxy. */ + await gapi.client.targetSslProxies.setSslCertificates({ + project: "project", + requestId: "requestId", + targetSslProxy: "targetSslProxy", + }); + /** Deletes the specified TargetTcpProxy resource. */ + await gapi.client.targetTcpProxies.delete({ + project: "project", + requestId: "requestId", + targetTcpProxy: "targetTcpProxy", + }); + /** Returns the specified TargetTcpProxy resource. Get a list of available target TCP proxies by making a list() request. */ + await gapi.client.targetTcpProxies.get({ + project: "project", + targetTcpProxy: "targetTcpProxy", + }); + /** Creates a TargetTcpProxy resource in the specified project using the data included in the request. */ + await gapi.client.targetTcpProxies.insert({ + project: "project", + requestId: "requestId", + }); + /** Retrieves the list of TargetTcpProxy resources available to the specified project. */ + await gapi.client.targetTcpProxies.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Changes the BackendService for TargetTcpProxy. */ + await gapi.client.targetTcpProxies.setBackendService({ + project: "project", + requestId: "requestId", + targetTcpProxy: "targetTcpProxy", + }); + /** Changes the ProxyHeaderType for TargetTcpProxy. */ + await gapi.client.targetTcpProxies.setProxyHeader({ + project: "project", + requestId: "requestId", + targetTcpProxy: "targetTcpProxy", + }); + /** Retrieves an aggregated list of target VPN gateways. */ + await gapi.client.targetVpnGateways.aggregatedList({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Deletes the specified target VPN gateway. */ + await gapi.client.targetVpnGateways.delete({ + project: "project", + region: "region", + requestId: "requestId", + targetVpnGateway: "targetVpnGateway", + }); + /** Returns the specified target VPN gateway. Get a list of available target VPN gateways by making a list() request. */ + await gapi.client.targetVpnGateways.get({ + project: "project", + region: "region", + targetVpnGateway: "targetVpnGateway", + }); + /** Creates a target VPN gateway in the specified project and region using the data included in the request. */ + await gapi.client.targetVpnGateways.insert({ + project: "project", + region: "region", + requestId: "requestId", + }); + /** Retrieves a list of target VPN gateways available to the specified project and region. */ + await gapi.client.targetVpnGateways.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + region: "region", + }); + /** Deletes the specified UrlMap resource. */ + await gapi.client.urlMaps.delete({ + project: "project", + requestId: "requestId", + urlMap: "urlMap", + }); + /** Returns the specified UrlMap resource. Get a list of available URL maps by making a list() request. */ + await gapi.client.urlMaps.get({ + project: "project", + urlMap: "urlMap", + }); + /** Creates a UrlMap resource in the specified project using the data included in the request. */ + await gapi.client.urlMaps.insert({ + project: "project", + requestId: "requestId", + }); + /** Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap. */ + await gapi.client.urlMaps.invalidateCache({ + project: "project", + requestId: "requestId", + urlMap: "urlMap", + }); + /** Retrieves the list of UrlMap resources available to the specified project. */ + await gapi.client.urlMaps.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** + * Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format + * and processing rules. + */ + await gapi.client.urlMaps.patch({ + project: "project", + requestId: "requestId", + urlMap: "urlMap", + }); + /** Updates the specified UrlMap resource with the data included in the request. */ + await gapi.client.urlMaps.update({ + project: "project", + requestId: "requestId", + urlMap: "urlMap", + }); + /** Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap. */ + await gapi.client.urlMaps.validate({ + project: "project", + urlMap: "urlMap", + }); + /** Retrieves an aggregated list of VPN tunnels. */ + await gapi.client.vpnTunnels.aggregatedList({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Deletes the specified VpnTunnel resource. */ + await gapi.client.vpnTunnels.delete({ + project: "project", + region: "region", + requestId: "requestId", + vpnTunnel: "vpnTunnel", + }); + /** Returns the specified VpnTunnel resource. Get a list of available VPN tunnels by making a list() request. */ + await gapi.client.vpnTunnels.get({ + project: "project", + region: "region", + vpnTunnel: "vpnTunnel", + }); + /** Creates a VpnTunnel resource in the specified project and region using the data included in the request. */ + await gapi.client.vpnTunnels.insert({ + project: "project", + region: "region", + requestId: "requestId", + }); + /** Retrieves a list of VpnTunnel resources contained in the specified project and region. */ + await gapi.client.vpnTunnels.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + region: "region", + }); + /** Deletes the specified zone-specific Operations resource. */ + await gapi.client.zoneOperations.delete({ + operation: "operation", + project: "project", + zone: "zone", + }); + /** Retrieves the specified zone-specific Operations resource. */ + await gapi.client.zoneOperations.get({ + operation: "operation", + project: "project", + zone: "zone", + }); + /** Retrieves a list of Operation resources contained within the specified zone. */ + await gapi.client.zoneOperations.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + zone: "zone", + }); + /** Returns the specified Zone resource. Get a list of available zones by making a list() request. */ + await gapi.client.zones.get({ + project: "project", + zone: "zone", + }); + /** Retrieves the list of Zone resources available to the specified project. */ + await gapi.client.zones.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + } +}); diff --git a/types/gapi.client.compute/index.d.ts b/types/gapi.client.compute/index.d.ts new file mode 100644 index 0000000000..fe53df316f --- /dev/null +++ b/types/gapi.client.compute/index.d.ts @@ -0,0 +1,17367 @@ +// Type definitions for Google Compute Engine API v1 1.0 +// Project: https://developers.google.com/compute/docs/reference/latest/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/compute/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Compute Engine API v1 */ + function load(name: "compute", version: "v1"): PromiseLike<void>; + function load(name: "compute", version: "v1", callback: () => any): void; + + const acceleratorTypes: compute.AcceleratorTypesResource; + + const addresses: compute.AddressesResource; + + const autoscalers: compute.AutoscalersResource; + + const backendBuckets: compute.BackendBucketsResource; + + const backendServices: compute.BackendServicesResource; + + const diskTypes: compute.DiskTypesResource; + + const disks: compute.DisksResource; + + const firewalls: compute.FirewallsResource; + + const forwardingRules: compute.ForwardingRulesResource; + + const globalAddresses: compute.GlobalAddressesResource; + + const globalForwardingRules: compute.GlobalForwardingRulesResource; + + const globalOperations: compute.GlobalOperationsResource; + + const healthChecks: compute.HealthChecksResource; + + const httpHealthChecks: compute.HttpHealthChecksResource; + + const httpsHealthChecks: compute.HttpsHealthChecksResource; + + const images: compute.ImagesResource; + + const instanceGroupManagers: compute.InstanceGroupManagersResource; + + const instanceGroups: compute.InstanceGroupsResource; + + const instanceTemplates: compute.InstanceTemplatesResource; + + const instances: compute.InstancesResource; + + const licenses: compute.LicensesResource; + + const machineTypes: compute.MachineTypesResource; + + const networks: compute.NetworksResource; + + const projects: compute.ProjectsResource; + + const regionAutoscalers: compute.RegionAutoscalersResource; + + const regionBackendServices: compute.RegionBackendServicesResource; + + const regionCommitments: compute.RegionCommitmentsResource; + + const regionInstanceGroupManagers: compute.RegionInstanceGroupManagersResource; + + const regionInstanceGroups: compute.RegionInstanceGroupsResource; + + const regionOperations: compute.RegionOperationsResource; + + const regions: compute.RegionsResource; + + const routers: compute.RoutersResource; + + const routes: compute.RoutesResource; + + const snapshots: compute.SnapshotsResource; + + const sslCertificates: compute.SslCertificatesResource; + + const subnetworks: compute.SubnetworksResource; + + const targetHttpProxies: compute.TargetHttpProxiesResource; + + const targetHttpsProxies: compute.TargetHttpsProxiesResource; + + const targetInstances: compute.TargetInstancesResource; + + const targetPools: compute.TargetPoolsResource; + + const targetSslProxies: compute.TargetSslProxiesResource; + + const targetTcpProxies: compute.TargetTcpProxiesResource; + + const targetVpnGateways: compute.TargetVpnGatewaysResource; + + const urlMaps: compute.UrlMapsResource; + + const vpnTunnels: compute.VpnTunnelsResource; + + const zoneOperations: compute.ZoneOperationsResource; + + const zones: compute.ZonesResource; + + namespace compute { + interface AcceleratorConfig { + /** The number of the guest accelerator cards exposed to this instance. */ + acceleratorCount?: number; + /** Full or partial URL of the accelerator type resource to expose to this instance. */ + acceleratorType?: string; + } + interface AcceleratorType { + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** [Output Only] The deprecation status associated with this accelerator type. */ + deprecated?: DeprecationStatus; + /** [Output Only] An optional textual description of the resource. */ + description?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] The type of the resource. Always compute#acceleratorType for accelerator types. */ + kind?: string; + /** [Output Only] Maximum accelerator cards allowed per instance. */ + maximumCardsPerInstance?: number; + /** [Output Only] Name of the resource. */ + name?: string; + /** [Output Only] Server-defined fully-qualified URL for this resource. */ + selfLink?: string; + /** [Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. */ + zone?: string; + } + interface AcceleratorTypeAggregatedList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of AcceleratorTypesScopedList resources. */ + items?: Record<string, AcceleratorTypesScopedList>; + /** [Output Only] Type of resource. Always compute#acceleratorTypeAggregatedList for aggregated lists of accelerator types. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface AcceleratorTypeList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of AcceleratorType resources. */ + items?: AcceleratorType[]; + /** [Output Only] Type of resource. Always compute#acceleratorTypeList for lists of accelerator types. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface AcceleratorTypesScopedList { + /** [Output Only] List of accelerator types contained in this scope. */ + acceleratorTypes?: AcceleratorType[]; + /** [Output Only] An informational warning that appears when the accelerator types list is empty. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface AccessConfig { + /** [Output Only] Type of the resource. Always compute#accessConfig for access configs. */ + kind?: string; + /** + * The name of this access configuration. The default and recommended name is External NAT but you can use any arbitrary string you would like. For + * example, My external IP or Network Access. + */ + name?: string; + /** + * An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field + * undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the + * zone of the instance. + */ + natIP?: string; + /** The type of configuration. The default and only option is ONE_TO_ONE_NAT. */ + type?: string; + } + interface Address { + /** The static IP address represented by this resource. */ + address?: string; + /** The type of address to reserve. If unspecified, defaults to EXTERNAL. */ + addressType?: string; + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** The IP Version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. */ + ipVersion?: string; + /** [Output Only] Type of the resource. Always compute#address for addresses. */ + kind?: string; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** [Output Only] URL of the region where the regional address resides. This field is not applicable to global addresses. */ + region?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** + * [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process + * of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is + * not available. + */ + status?: string; + /** + * For external addresses, this field should not be used. + * + * The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. + */ + subnetwork?: string; + /** [Output Only] The URLs of the resources that are using this address. */ + users?: string[]; + } + interface AddressAggregatedList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of AddressesScopedList resources. */ + items?: Record<string, AddressesScopedList>; + /** [Output Only] Type of resource. Always compute#addressAggregatedList for aggregated lists of addresses. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface AddressList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of Address resources. */ + items?: Address[]; + /** [Output Only] Type of resource. Always compute#addressList for lists of addresses. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface AddressesScopedList { + /** [Output Only] List of addresses contained in this scope. */ + addresses?: Address[]; + /** [Output Only] Informational warning which replaces the list of addresses when the list is empty. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface AliasIpRange { + /** + * The IP CIDR range represented by this alias IP range. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses + * reserved by system or used by other network interfaces. This range may be a single IP address (e.g. 10.2.3.4), a netmask (e.g. /24) or a CIDR format + * string (e.g. 10.1.2.0/24). + */ + ipCidrRange?: string; + /** + * Optional subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range. If left + * unspecified, the primary range of the subnetwork will be used. + */ + subnetworkRangeName?: string; + } + interface AttachedDisk { + /** Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). */ + autoDelete?: boolean; + /** Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem. */ + boot?: boolean; + /** + * Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the + * instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. + * + * If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disks-x, where x is a number assigned by + * Google Compute Engine. This field is only applicable for persistent disks. + */ + deviceName?: string; + /** + * Encrypts or decrypts a disk using a customer-supplied encryption key. + * + * If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that + * is already encrypted, this field decrypts the disk using the customer-supplied encryption key. + * + * If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For + * example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. + * + * If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to + * use the disk later. + * + * Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group. + */ + diskEncryptionKey?: CustomerEncryptionKey; + /** + * [Output Only] A zero-based index to this disk, where 0 is reserved for the boot disk. If you have many disks attached to an instance, each disk would + * have a unique index number. + */ + index?: number; + /** + * [Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot + * disks or local SSDs attached to the new instance. + * + * This property is mutually exclusive with the source property; you can only define one or the other, but not both. + */ + initializeParams?: AttachedDiskInitializeParams; + /** + * Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI + * and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For + * performance characteristics of SCSI over NVMe, see Local SSD performance. + */ + interface?: string; + /** [Output Only] Type of the resource. Always compute#attachedDisk for attached disks. */ + kind?: string; + /** [Output Only] Any valid publicly visible licenses. */ + licenses?: string[]; + /** The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode. */ + mode?: string; + /** + * Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance, one of initializeParams.sourceImage or + * disks.source is required. + * + * If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. + * + * Note that for InstanceTemplate, specify the disk name, not the URL for the disk. + */ + source?: string; + /** Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT. */ + type?: string; + } + interface AttachedDiskInitializeParams { + /** Specifies the disk name. If not specified, the default is to use the name of the instance. */ + diskName?: string; + /** Specifies the size of the disk in base-2 GB. */ + diskSizeGb?: string; + /** + * Specifies the disk type to use to create the instance. If not specified, the default is pd-standard, specified using the full URL. For example: + * + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-standard + * + * Other values include pd-ssd and local-ssd. If you define this field, you can provide either the full or partial URL. For example, the following are + * valid values: + * - https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType + * - projects/project/zones/zone/diskTypes/diskType + * - zones/zone/diskTypes/diskType Note that for InstanceTemplate, this is the name of the disk type, not URL. + */ + diskType?: string; + /** + * The source image to create this disk. When creating a new instance, one of initializeParams.sourceImage or disks.source is required. + * + * To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-8 to use the + * latest Debian 8 image: + * + * projects/debian-cloud/global/images/family/debian-8 + * + * Alternatively, use a specific version of a public operating system image: + * + * projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD + * + * To create a disk with a private image that you created, specify the image name in the following format: + * + * global/images/my-private-image + * + * You can also specify a private image by its image family, which returns the latest version of the image in that family. Replace the image name with + * family/family-name: + * + * global/images/family/my-private-family + * + * If the source image is deleted later, this field will not be set. + */ + sourceImage?: string; + /** + * The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. + * + * Instance templates do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source + * images are encrypted with your own keys. + */ + sourceImageEncryptionKey?: CustomerEncryptionKey; + } + interface Autoscaler { + /** + * The configuration parameters for the autoscaling algorithm. You can define one or more of the policies for an autoscaler: cpuUtilization, + * customMetricUtilizations, and loadBalancingUtilization. + * + * If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%. + */ + autoscalingPolicy?: AutoscalingPolicy; + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] Type of the resource. Always compute#autoscaler for autoscalers. */ + kind?: string; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** [Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope). */ + region?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** [Output Only] The status of the autoscaler configuration. */ + status?: string; + /** + * [Output Only] Human-readable details about the current state of the autoscaler. Read the documentation for Commonly returned status messages for + * examples of status messages you might encounter. + */ + statusDetails?: AutoscalerStatusDetails[]; + /** URL of the managed instance group that this autoscaler will scale. */ + target?: string; + /** [Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope). */ + zone?: string; + } + interface AutoscalerAggregatedList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of AutoscalersScopedList resources. */ + items?: Record<string, AutoscalersScopedList>; + /** [Output Only] Type of resource. Always compute#autoscalerAggregatedList for aggregated lists of autoscalers. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface AutoscalerList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of Autoscaler resources. */ + items?: Autoscaler[]; + /** [Output Only] Type of resource. Always compute#autoscalerList for lists of autoscalers. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface AutoscalerStatusDetails { + /** The status message. */ + message?: string; + /** The type of error returned. */ + type?: string; + } + interface AutoscalersScopedList { + /** [Output Only] List of autoscalers contained in this scope. */ + autoscalers?: Autoscaler[]; + /** [Output Only] Informational warning which replaces the list of autoscalers when the list is empty. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface AutoscalingPolicy { + /** + * The number of seconds that the autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from + * collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is + * 60 seconds. + * + * Virtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To + * do this, create an instance and time the startup process. + */ + coolDownPeriodSec?: number; + /** Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group. */ + cpuUtilization?: AutoscalingPolicyCpuUtilization; + /** Configuration parameters of autoscaling based on a custom metric. */ + customMetricUtilizations?: AutoscalingPolicyCustomMetricUtilization[]; + /** Configuration parameters of autoscaling based on load balancer. */ + loadBalancingUtilization?: AutoscalingPolicyLoadBalancingUtilization; + /** + * The maximum number of instances that the autoscaler can scale up to. This is required when creating or updating an autoscaler. The maximum number of + * replicas should not be lower than minimal number of replicas. + */ + maxNumReplicas?: number; + /** + * The minimum number of replicas that the autoscaler can scale down to. This cannot be less than 0. If not provided, autoscaler will choose a default + * value depending on maximum number of instances allowed. + */ + minNumReplicas?: number; + } + interface AutoscalingPolicyCpuUtilization { + /** + * The target CPU utilization that the autoscaler should maintain. Must be a float value in the range (0, 1]. If not specified, the default is 0.6. + * + * If the CPU level is below the target utilization, the autoscaler scales down the number of instances until it reaches the minimum number of instances + * you specified or until the average CPU of your instances reaches the target utilization. + * + * If the average CPU is above the target utilization, the autoscaler scales up until it reaches the maximum number of instances you specified or until + * the average utilization reaches the target utilization. + */ + utilizationTarget?: number; + } + interface AutoscalingPolicyCustomMetricUtilization { + /** + * The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values and should be a utilization metric, which means that + * the number of virtual machines handling requests should increase or decrease proportionally to the metric. + * + * The metric must have a value type of INT64 or DOUBLE. + */ + metric?: string; + /** + * The target value of the metric that autoscaler should maintain. This must be a positive value. + * + * For example, a good metric to use as a utilization_target is compute.googleapis.com/instance/network/received_bytes_count. The autoscaler will work to + * keep this value constant for each of the instances. + */ + utilizationTarget?: number; + /** + * Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. If not + * specified, the default is GAUGE. + */ + utilizationTargetType?: string; + } + interface AutoscalingPolicyLoadBalancingUtilization { + /** + * Fraction of backend capacity utilization (set in HTTP(s) load balancing configuration) that autoscaler should maintain. Must be a positive float value. + * If not defined, the default is 0.8. + */ + utilizationTarget?: number; + } + interface Backend { + /** + * Specifies the balancing mode for this backend. For global HTTP(S) or TCP/SSL load balancing, the default is UTILIZATION. Valid values are UTILIZATION, + * RATE (for HTTP(S)) and CONNECTION (for TCP/SSL). + * + * For Internal Load Balancing, the default and only supported mode is CONNECTION. + */ + balancingMode?: string; + /** + * A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group + * will serve up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its + * available Capacity. Valid range is [0.0,1.0]. + * + * This cannot be used for internal load balancing. + */ + capacityScaler?: number; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** + * The fully-qualified URL of a Instance Group resource. This instance group defines the list of instances that serve traffic. Member virtual machine + * instances from each instance group must live in the same zone as the instance group itself. No two backends in a backend service are allowed to use + * same Instance Group resource. + * + * Note that you must specify an Instance Group resource using the fully-qualified URL, rather than a partial URL. + * + * When the BackendService has load balancing scheme INTERNAL, the instance group must be within the same region as the BackendService. + */ + group?: string; + /** + * The max number of simultaneous connections for the group. Can be used with either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, + * either maxConnections or maxConnectionsPerInstance must be set. + * + * This cannot be used for internal load balancing. + */ + maxConnections?: number; + /** + * The max number of simultaneous connections that a single backend instance can handle. This is used to calculate the capacity of the group. Can be used + * in either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either maxConnections or maxConnectionsPerInstance must be set. + * + * This cannot be used for internal load balancing. + */ + maxConnectionsPerInstance?: number; + /** + * The max requests per second (RPS) of the group. Can be used with either RATE or UTILIZATION balancing modes, but required if RATE mode. For RATE mode, + * either maxRate or maxRatePerInstance must be set. + * + * This cannot be used for internal load balancing. + */ + maxRate?: number; + /** + * The max requests per second (RPS) that a single backend instance can handle. This is used to calculate the capacity of the group. Can be used in either + * balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be set. + * + * This cannot be used for internal load balancing. + */ + maxRatePerInstance?: number; + /** + * Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization target for the group. The default is 0.8. Valid range is [0.0, 1.0]. + * + * This cannot be used for internal load balancing. + */ + maxUtilization?: number; + } + interface BackendBucket { + /** Cloud Storage bucket name. */ + bucketName?: string; + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional textual description of the resource; provided by the client when the resource is created. */ + description?: string; + /** If true, enable Cloud CDN for this BackendBucket. */ + enableCdn?: boolean; + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** Type of the resource. */ + kind?: string; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + } + interface BackendBucketList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of BackendBucket resources. */ + items?: BackendBucket[]; + /** Type of resource. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface BackendService { + /** + * Lifetime of cookies in seconds if session_affinity is GENERATED_COOKIE. If set to 0, the cookie is non-persistent and lasts only until the end of the + * browser session (or equivalent). The maximum allowed value for TTL is one day. + * + * When the load balancing scheme is INTERNAL, this field is not used. + */ + affinityCookieTtlSec?: number; + /** The list of backends that serve this BackendService. */ + backends?: Backend[]; + /** Cloud CDN configuration for this BackendService. */ + cdnPolicy?: BackendServiceCdnPolicy; + connectionDraining?: ConnectionDraining; + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** + * If true, enable Cloud CDN for this BackendService. + * + * When the load balancing scheme is INTERNAL, this field is not used. + */ + enableCDN?: boolean; + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when + * inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService. + */ + fingerprint?: string; + /** + * The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for health checking this BackendService. Currently at most one health check can be + * specified, and a health check is required for Compute Engine backend services. A health check must not be specified for App Engine backend and Cloud + * Function backend. + * + * For internal load balancing, a URL to a HealthCheck resource must be specified instead. + */ + healthChecks?: string[]; + iap?: BackendServiceIAP; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] Type of resource. Always compute#backendService for backend services. */ + kind?: string; + /** + * Indicates whether the backend service will be used with internal or external load balancing. A backend service created for one type of load balancing + * cannot be used with the other. Possible values are INTERNAL and EXTERNAL. + */ + loadBalancingScheme?: string; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** + * Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. + * + * This cannot be used for internal load balancing. + */ + port?: number; + /** + * Name of backend port. The same name should appear in the instance groups referenced by this service. Required when the load balancing scheme is + * EXTERNAL. + * + * When the load balancing scheme is INTERNAL, this field is not used. + */ + portName?: string; + /** + * The protocol this BackendService uses to communicate with backends. + * + * Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP. + * + * For internal load balancing, the possible values are TCP and UDP, and the default is TCP. + */ + protocol?: string; + /** [Output Only] URL of the region where the regional backend service resides. This field is not applicable to global backend services. */ + region?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** + * Type of session affinity to use. The default is NONE. + * + * When the load balancing scheme is EXTERNAL, can be NONE, CLIENT_IP, or GENERATED_COOKIE. + * + * When the load balancing scheme is INTERNAL, can be NONE, CLIENT_IP, CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO. + * + * When the protocol is UDP, this field is not used. + */ + sessionAffinity?: string; + /** How many seconds to wait for the backend before considering it a failed request. Default is 30 seconds. */ + timeoutSec?: number; + } + interface BackendServiceAggregatedList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of BackendServicesScopedList resources. */ + items?: Record<string, BackendServicesScopedList>; + /** Type of resource. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface BackendServiceCdnPolicy { + /** The CacheKeyPolicy for this CdnPolicy. */ + cacheKeyPolicy?: CacheKeyPolicy; + } + interface BackendServiceGroupHealth { + healthStatus?: HealthStatus[]; + /** [Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services. */ + kind?: string; + } + interface BackendServiceIAP { + enabled?: boolean; + oauth2ClientId?: string; + oauth2ClientSecret?: string; + /** [Output Only] SHA256 hash value for the field oauth2_client_secret above. */ + oauth2ClientSecretSha256?: string; + } + interface BackendServiceList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of BackendService resources. */ + items?: BackendService[]; + /** [Output Only] Type of resource. Always compute#backendServiceList for lists of backend services. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface BackendServicesScopedList { + /** List of BackendServices contained in this scope. */ + backendServices?: BackendService[]; + /** Informational warning which replaces the list of backend services when the list is empty. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface CacheInvalidationRule { + /** If set, this invalidation rule will only apply to requests with a Host header matching host. */ + host?: string; + path?: string; + } + interface CacheKeyPolicy { + /** If true, requests to different hosts will be cached separately. */ + includeHost?: boolean; + /** If true, http and https requests will be cached separately. */ + includeProtocol?: boolean; + /** + * If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist. If neither is set, the entire + * query string will be included. If false, the query string will be excluded from the cache key entirely. + */ + includeQueryString?: boolean; + /** + * Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or + * query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters. + */ + queryStringBlacklist?: string[]; + /** + * Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or + * query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters. + */ + queryStringWhitelist?: string[]; + } + interface Commitment { + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** [Output Only] Commitment end time in RFC3339 text format. */ + endTimestamp?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] Type of the resource. Always compute#commitment for commitments. */ + kind?: string; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** + * The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and + * THIRTY_SIX_MONTH (3 years). + */ + plan?: string; + /** [Output Only] URL of the region where this commitment may be used. */ + region?: string; + /** List of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together. */ + resources?: ResourceCommitment[]; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** [Output Only] Commitment start time in RFC3339 text format. */ + startTimestamp?: string; + /** + * [Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: + * NOT_YET_ACTIVE, ACTIVE, EXPIRED. + */ + status?: string; + /** [Output Only] An optional, human-readable explanation of the status. */ + statusMessage?: string; + } + interface CommitmentAggregatedList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of CommitmentsScopedList resources. */ + items?: Record<string, CommitmentsScopedList>; + /** [Output Only] Type of resource. Always compute#commitmentAggregatedList for aggregated lists of commitments. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface CommitmentList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of Commitment resources. */ + items?: Commitment[]; + /** [Output Only] Type of resource. Always compute#commitmentList for lists of commitments. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface CommitmentsScopedList { + /** [Output Only] List of commitments contained in this scope. */ + commitments?: Commitment[]; + /** [Output Only] Informational warning which replaces the list of commitments when the list is empty. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface ConnectionDraining { + /** Time for which instance will be drained (not accept new connections, but still work to finish started). */ + drainingTimeoutSec?: number; + } + interface CustomerEncryptionKey { + /** Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. */ + rawKey?: string; + /** [Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource. */ + sha256?: string; + } + interface CustomerEncryptionKeyProtectedDisk { + /** Decrypts data associated with the disk with a customer-supplied encryption key. */ + diskEncryptionKey?: CustomerEncryptionKey; + /** Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks. */ + source?: string; + } + interface DeprecationStatus { + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status + * will not change unless the client explicitly changes it. + */ + deleted?: string; + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the + * status will not change unless the client explicitly changes it. + */ + deprecated?: string; + /** + * An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status + * will not change unless the client explicitly changes it. + */ + obsolete?: string; + /** + * The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated + * resource. + */ + replacement?: string; + /** + * The deprecation state of this resource. This can be DEPRECATED, OBSOLETE, or DELETED. Operations which create a new resource using a DEPRECATED + * resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use + * OBSOLETE or DELETED resources will be rejected and result in an error. + */ + state?: string; + } + interface Disk { + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** + * Encrypts the disk using a customer-supplied encryption key. + * + * After you encrypt a disk with a customer-supplied key, you must provide the same key if you use the disk later (e.g. to create a disk snapshot or an + * image, or to attach the disk to a virtual machine). + * + * Customer-supplied encryption keys do not protect access to metadata of the disk. + * + * If you do not provide an encryption key when creating the disk, then the disk will be encrypted using an automatically generated key and you do not + * need to provide a key to use the disk later. + */ + diskEncryptionKey?: CustomerEncryptionKey; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] Type of the resource. Always compute#disk for disks. */ + kind?: string; + /** + * A fingerprint for the labels being applied to this disk, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is + * initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint + * hash in order to update or change labels. + * + * To see the latest fingerprint, make a get() request to retrieve a disk. + */ + labelFingerprint?: string; + /** Labels to apply to this disk. These can be later modified by the setLabels method. */ + labels?: Record<string, string>; + /** [Output Only] Last attach timestamp in RFC3339 text format. */ + lastAttachTimestamp?: string; + /** [Output Only] Last detach timestamp in RFC3339 text format. */ + lastDetachTimestamp?: string; + /** Any applicable publicly visible licenses. */ + licenses?: string[]; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** Internal use only. */ + options?: string; + /** [Output Only] Server-defined fully-qualified URL for this resource. */ + selfLink?: string; + /** + * Size of the persistent disk, specified in GB. You can specify this field when creating a persistent disk using the sourceImage or sourceSnapshot + * parameter, or specify it alone to create an empty persistent disk. + * + * If you specify this field along with sourceImage or sourceSnapshot, the value of sizeGb must not be less than the size of the sourceImage or the size + * of the snapshot. Acceptable values are 1 to 65536, inclusive. + */ + sizeGb?: string; + /** + * The source image used to create this disk. If the source image is deleted, this field will not be set. + * + * To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-8 to use the + * latest Debian 8 image: + * + * projects/debian-cloud/global/images/family/debian-8 + * + * Alternatively, use a specific version of a public operating system image: + * + * projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD + * + * To create a disk with a private image that you created, specify the image name in the following format: + * + * global/images/my-private-image + * + * You can also specify a private image by its image family, which returns the latest version of the image in that family. Replace the image name with + * family/family-name: + * + * global/images/family/my-private-family + */ + sourceImage?: string; + /** The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. */ + sourceImageEncryptionKey?: CustomerEncryptionKey; + /** + * [Output Only] The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. + * For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would + * identify the exact version of the image that was used. + */ + sourceImageId?: string; + /** + * The source snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid + * values: + * - https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot + * - projects/project/global/snapshots/snapshot + * - global/snapshots/snapshot + */ + sourceSnapshot?: string; + /** The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key. */ + sourceSnapshotEncryptionKey?: CustomerEncryptionKey; + /** + * [Output Only] The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent + * disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID + * would identify the exact version of the snapshot that was used. + */ + sourceSnapshotId?: string; + /** [Output Only] The status of disk creation. */ + status?: string; + /** URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. */ + type?: string; + /** [Output Only] Links to the users of the disk (attached instances) in form: project/zones/zone/instances/instance */ + users?: string[]; + /** [Output Only] URL of the zone where the disk resides. */ + zone?: string; + } + interface DiskAggregatedList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of DisksScopedList resources. */ + items?: Record<string, DisksScopedList>; + /** [Output Only] Type of resource. Always compute#diskAggregatedList for aggregated lists of persistent disks. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface DiskList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of Disk resources. */ + items?: Disk[]; + /** [Output Only] Type of resource. Always compute#diskList for lists of disks. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface DiskMoveRequest { + /** + * The URL of the destination zone to move the disk. This can be a full or partial URL. For example, the following are all valid URLs to a zone: + * - https://www.googleapis.com/compute/v1/projects/project/zones/zone + * - projects/project/zones/zone + * - zones/zone + */ + destinationZone?: string; + /** + * The URL of the target disk to move. This can be a full or partial URL. For example, the following are all valid URLs to a disk: + * - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk + * - projects/project/zones/zone/disks/disk + * - zones/zone/disks/disk + */ + targetDisk?: string; + } + interface DiskType { + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** [Output Only] Server-defined default disk size in GB. */ + defaultDiskSizeGb?: string; + /** [Output Only] The deprecation status associated with this disk type. */ + deprecated?: DeprecationStatus; + /** [Output Only] An optional description of this resource. */ + description?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] Type of the resource. Always compute#diskType for disk types. */ + kind?: string; + /** [Output Only] Name of the resource. */ + name?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** [Output Only] An optional textual description of the valid disk size, such as "10GB-10TB". */ + validDiskSize?: string; + /** [Output Only] URL of the zone where the disk type resides. */ + zone?: string; + } + interface DiskTypeAggregatedList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of DiskTypesScopedList resources. */ + items?: Record<string, DiskTypesScopedList>; + /** [Output Only] Type of resource. Always compute#diskTypeAggregatedList. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface DiskTypeList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of DiskType resources. */ + items?: DiskType[]; + /** [Output Only] Type of resource. Always compute#diskTypeList for disk types. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface DiskTypesScopedList { + /** [Output Only] List of disk types contained in this scope. */ + diskTypes?: DiskType[]; + /** [Output Only] Informational warning which replaces the list of disk types when the list is empty. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface DisksResizeRequest { + /** The new size of the persistent disk, which is specified in GB. */ + sizeGb?: string; + } + interface DisksScopedList { + /** [Output Only] List of disks contained in this scope. */ + disks?: Disk[]; + /** [Output Only] Informational warning which replaces the list of disks when the list is empty. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface Firewall { + /** The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a permitted connection. */ + allowed?: Array<{ + /** + * The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following + * well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. + */ + IPProtocol?: string; + /** + * An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a + * range. If not specified, this rule applies to connections through any port. + * + * Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + */ + ports?: string[]; + }>; + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** The list of DENY rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a permitted connection. */ + denied?: Array<{ + /** + * The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following + * well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. + */ + IPProtocol?: string; + /** + * An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a + * range. If not specified, this rule applies to connections through any port. + * + * Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + */ + ports?: string[]; + }>; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** + * If destination ranges are specified, the firewall will apply only to traffic that has destination IP address in these ranges. These ranges must be + * expressed in CIDR format. Only IPv4 is supported. + */ + destinationRanges?: string[]; + /** + * Direction of traffic to which this firewall applies; default is INGRESS. Note: For INGRESS traffic, it is NOT supported to specify destinationRanges; + * For EGRESS traffic, it is NOT supported to specify sourceRanges OR sourceTags. + */ + direction?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] Type of the resource. Always compute#firewall for firewall rules. */ + kind?: string; + /** + * Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** + * URL of the network resource for this firewall rule. If not specified when creating a firewall rule, the default network is used: + * global/networks/default + * If you choose to specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: + * - https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my-network + * - projects/myproject/global/networks/my-network + * - global/networks/default + */ + network?: string; + /** + * Priority for this rule. This is an integer between 0 and 65535, both inclusive. When not specified, the value assumed is 1000. Relative priorities + * determine precedence of conflicting rules. Lower value of priority implies higher precedence (eg, a rule with priority 0 has higher precedence than a + * rule with priority 1). DENY rules take precedence over ALLOW rules having equal priority. + */ + priority?: number; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** + * If source ranges are specified, the firewall will apply only to traffic that has source IP address in these ranges. These ranges must be expressed in + * CIDR format. One or both of sourceRanges and sourceTags may be set. If both properties are set, the firewall will apply to traffic that has source IP + * address within sourceRanges OR the source IP that belongs to a tag listed in the sourceTags property. The connection does not need to match both + * properties for the firewall to apply. Only IPv4 is supported. + */ + sourceRanges?: string[]; + /** + * If source tags are specified, the firewall rule applies only to traffic with source IPs that match the primary network interfaces of VM instances that + * have the tag and are in the same VPC network. Source tags cannot be used to control traffic to an instance's external IP address, it only applies to + * traffic between instances in the same virtual network. Because tags are associated with instances, not IP addresses. One or both of sourceRanges and + * sourceTags may be set. If both properties are set, the firewall will apply to traffic that has source IP address within sourceRanges OR the source IP + * that belongs to a tag listed in the sourceTags property. The connection does not need to match both properties for the firewall to apply. + */ + sourceTags?: string[]; + /** + * A list of instance tags indicating sets of instances located in the network that may make network connections as specified in allowed[]. If no + * targetTags are specified, the firewall rule applies to all instances on the specified network. + */ + targetTags?: string[]; + } + interface FirewallList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of Firewall resources. */ + items?: Firewall[]; + /** [Output Only] Type of resource. Always compute#firewallList for lists of firewalls. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface ForwardingRule { + /** + * The IP address that this forwarding rule is serving on behalf of. + * + * For global forwarding rules, the address must be a global IP. For regional forwarding rules, the address must live in the same region as the forwarding + * rule. By default, this field is empty and an ephemeral IPv4 address from the same scope (global or regional) will be assigned. A regional forwarding + * rule supports IPv4 only. A global forwarding rule supports either IPv4 or IPv6. + * + * When the load balancing scheme is INTERNAL, this can only be an RFC 1918 IP address belonging to the network/subnetwork configured for the forwarding + * rule. A reserved address cannot be used. If the field is empty, the IP address will be automatically allocated from the internal IP range of the + * subnetwork or network configured for this forwarding rule. + */ + IPAddress?: string; + /** + * The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, AH, SCTP or ICMP. + * + * When the load balancing scheme is INTERNAL, only TCP and UDP are valid. + */ + IPProtocol?: string; + /** + * This field is not used for external load balancing. + * + * For internal load balancing, this field identifies the BackendService resource to receive the matched traffic. + */ + backendService?: string; + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. This can only be specified for a global forwarding rule. */ + ipVersion?: string; + /** [Output Only] Type of the resource. Always compute#forwardingRule for Forwarding Rule resources. */ + kind?: string; + /** + * This signifies what the ForwardingRule will be used for and can only take the following values: INTERNAL, EXTERNAL The value of INTERNAL means that + * this will be used for Internal Network Load Balancing (TCP, UDP). The value of EXTERNAL means that this will be used for External Load Balancing + * (HTTP(S) LB, External TCP/UDP LB, SSL Proxy) + */ + loadBalancingScheme?: string; + /** + * Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** + * This field is not used for external load balancing. + * + * For internal load balancing, this field identifies the network that the load balanced IP should belong to for this Forwarding Rule. If this field is + * not specified, the default network will be used. + */ + network?: string; + /** + * This field is used along with the target field for TargetHttpProxy, TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool, + * TargetInstance. + * + * Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets addressed to ports in the specified range will be forwarded to target. Forwarding + * rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges. + * + * Some types of forwarding target have constraints on the acceptable ports: + * - TargetHttpProxy: 80, 8080 + * - TargetHttpsProxy: 443 + * - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, 5222 + * - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, 5222 + * - TargetVpnGateway: 500, 4500 + * - + */ + portRange?: string; + /** + * This field is used along with the backend_service field for internal load balancing. + * + * When the load balancing scheme is INTERNAL, a single port or a comma separated list of ports can be configured. Only packets addressed to these ports + * will be forwarded to the backends configured with this forwarding rule. + * + * You may specify a maximum of up to 5 ports. + */ + ports?: string[]; + /** [Output Only] URL of the region where the regional forwarding rule resides. This field is not applicable to global forwarding rules. */ + region?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** + * This field is not used for external load balancing. + * + * For internal load balancing, this field identifies the subnetwork that the load balanced IP should belong to for this Forwarding Rule. + * + * If the network specified is in auto subnet mode, this field is optional. However, if the network is in custom subnet mode, a subnetwork must be + * specified. + */ + subnetwork?: string; + /** + * The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the + * forwarding rule. For global forwarding rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate + * to the target object. + * + * This field is not used for internal load balancing. + */ + target?: string; + } + interface ForwardingRuleAggregatedList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of ForwardingRulesScopedList resources. */ + items?: Record<string, ForwardingRulesScopedList>; + /** [Output Only] Type of resource. Always compute#forwardingRuleAggregatedList for lists of forwarding rules. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface ForwardingRuleList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of ForwardingRule resources. */ + items?: ForwardingRule[]; + /** Type of resource. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface ForwardingRulesScopedList { + /** List of forwarding rules contained in this scope. */ + forwardingRules?: ForwardingRule[]; + /** Informational warning which replaces the list of forwarding rules when the list is empty. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface GlobalSetLabelsRequest { + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and + * changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels. Make a + * get() request to the resource to get the latest fingerprint. + */ + labelFingerprint?: string; + /** + * A list of labels to apply for this resource. Each label key & value must comply with RFC1035. Specifically, the name must be 1-63 characters long and + * match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must + * be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. For example, "webserver-frontend": "images". A label value + * can also be empty (e.g. "my-label": ""). + */ + labels?: Record<string, string>; + } + interface GuestOsFeature { + /** + * The type of supported feature. Currently only VIRTIO_SCSI_MULTIQUEUE is supported. For newer Windows images, the server might also populate this + * property with the value WINDOWS to indicate that this is a Windows image. + */ + type?: string; + } + interface HTTPHealthCheck { + /** + * The value of the host header in the HTTP health check request. If left empty (default value), the IP on behalf of which this health check is performed + * will be used. + */ + host?: string; + /** The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535. */ + port?: number; + /** Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence. */ + portName?: string; + /** Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. */ + proxyHeader?: string; + /** The request path of the HTTP health check request. The default value is /. */ + requestPath?: string; + } + interface HTTPSHealthCheck { + /** + * The value of the host header in the HTTPS health check request. If left empty (default value), the IP on behalf of which this health check is performed + * will be used. + */ + host?: string; + /** The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535. */ + port?: number; + /** Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence. */ + portName?: string; + /** Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. */ + proxyHeader?: string; + /** The request path of the HTTPS health check request. The default value is /. */ + requestPath?: string; + } + interface HealthCheck { + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ + checkIntervalSec?: number; + /** [Output Only] Creation timestamp in 3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2. */ + healthyThreshold?: number; + httpHealthCheck?: HTTPHealthCheck; + httpsHealthCheck?: HTTPSHealthCheck; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** Type of the resource. */ + kind?: string; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + sslHealthCheck?: SSLHealthCheck; + tcpHealthCheck?: TCPHealthCheck; + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than + * checkIntervalSec. + */ + timeoutSec?: number; + /** + * Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not specified, the default is TCP. Exactly one of the protocol-specific + * health check field must be specified, which must match type field. + */ + type?: string; + /** A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2. */ + unhealthyThreshold?: number; + } + interface HealthCheckList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of HealthCheck resources. */ + items?: HealthCheck[]; + /** Type of resource. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface HealthCheckReference { + healthCheck?: string; + } + interface HealthStatus { + /** Health state of the instance. */ + healthState?: string; + /** URL of the instance resource. */ + instance?: string; + /** The IP address represented by this resource. */ + ipAddress?: string; + /** The port on the instance. */ + port?: number; + } + interface HostRule { + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** + * The list of host patterns to match. They must be valid hostnames, except * will match any string of ([a-z0-9-.]*). In that case, * must be the first + * character and must be followed in the pattern by either - or .. + */ + hosts?: string[]; + /** The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion. */ + pathMatcher?: string; + } + interface HttpHealthCheck { + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ + checkIntervalSec?: number; + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2. */ + healthyThreshold?: number; + /** + * The value of the host header in the HTTP health check request. If left empty (default value), the public IP on behalf of which this health check is + * performed will be used. + */ + host?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks. */ + kind?: string; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** The TCP port number for the HTTP health check request. The default value is 80. */ + port?: number; + /** The request path of the HTTP health check request. The default value is /. */ + requestPath?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than + * checkIntervalSec. + */ + timeoutSec?: number; + /** A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2. */ + unhealthyThreshold?: number; + } + interface HttpHealthCheckList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of HttpHealthCheck resources. */ + items?: HttpHealthCheck[]; + /** Type of resource. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface HttpsHealthCheck { + /** How often (in seconds) to send a health check. The default value is 5 seconds. */ + checkIntervalSec?: number; + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2. */ + healthyThreshold?: number; + /** + * The value of the host header in the HTTPS health check request. If left empty (default value), the public IP on behalf of which this health check is + * performed will be used. + */ + host?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** Type of the resource. */ + kind?: string; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** The TCP port number for the HTTPS health check request. The default value is 443. */ + port?: number; + /** The request path of the HTTPS health check request. The default value is "/". */ + requestPath?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** + * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have a greater value than + * checkIntervalSec. + */ + timeoutSec?: number; + /** A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2. */ + unhealthyThreshold?: number; + } + interface HttpsHealthCheckList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of HttpsHealthCheck resources. */ + items?: HttpsHealthCheck[]; + /** Type of resource. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface Image { + /** Size of the image tar.gz archive stored in Google Cloud Storage (in bytes). */ + archiveSizeBytes?: string; + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** The deprecation status associated with this image. */ + deprecated?: DeprecationStatus; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** Size of the image when restored onto a persistent disk (in GB). */ + diskSizeGb?: string; + /** + * The name of the image family to which this image belongs. You can create disks by specifying an image family instead of a specific image name. The + * image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035. + */ + family?: string; + /** + * A list of features to enable on the guest OS. Applicable for bootable images only. Currently, only one feature can be enabled, VIRTIO_SCSI_MULTIQUEUE, + * which allows each virtual CPU to have its own queue. For Windows images, you can only enable VIRTIO_SCSI_MULTIQUEUE on images with driver version + * 1.2.0.1621 or higher. Linux images with kernel versions 3.17 and higher will support VIRTIO_SCSI_MULTIQUEUE. + * + * For newer Windows images, the server might also populate this property with the value WINDOWS to indicate that this is a Windows image. + */ + guestOsFeatures?: GuestOsFeature[]; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** + * Encrypts the image using a customer-supplied encryption key. + * + * After you encrypt an image with a customer-supplied key, you must provide the same key if you use the image later (e.g. to create a disk from the + * image). + * + * Customer-supplied encryption keys do not protect access to metadata of the disk. + * + * If you do not provide an encryption key when creating the image, then the disk will be encrypted using an automatically generated key and you do not + * need to provide a key to use the image later. + */ + imageEncryptionKey?: CustomerEncryptionKey; + /** [Output Only] Type of the resource. Always compute#image for images. */ + kind?: string; + /** + * A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking. The fingerprint is + * initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint + * hash in order to update or change labels. + * + * To see the latest fingerprint, make a get() request to retrieve an image. + */ + labelFingerprint?: string; + /** Labels to apply to this image. These can be later modified by the setLabels method. */ + labels?: Record<string, string>; + /** Any applicable license URI. */ + licenses?: string[]; + /** + * Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** The parameters of the raw disk image. */ + rawDisk?: { + /** + * The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime + * format. Provided by the client when the disk image is created. + */ + containerType?: string; + /** An optional SHA1 checksum of the disk image before unpackaging; provided by the client when the disk image is created. */ + sha1Checksum?: string; + /** The full Google Cloud Storage URL where the disk image is stored. You must provide either this property or the sourceDisk property but not both. */ + source?: string; + }; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** + * URL of the source disk used to create this image. This can be a full or valid partial URL. You must provide either this property or the rawDisk.source + * property but not both to create an image. For example, the following are valid values: + * - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk + * - projects/project/zones/zone/disks/disk + * - zones/zone/disks/disk + */ + sourceDisk?: string; + /** The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key. */ + sourceDiskEncryptionKey?: CustomerEncryptionKey; + /** + * The ID value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous + * instance of a given disk name. + */ + sourceDiskId?: string; + /** + * URL of the source image used to create this image. This can be a full or valid partial URL. You must provide exactly one of: + * - this property, or + * - the rawDisk.source property, or + * - the sourceDisk property in order to create an image. + */ + sourceImage?: string; + /** The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. */ + sourceImageEncryptionKey?: CustomerEncryptionKey; + /** + * [Output Only] The ID value of the image used to create this image. This value may be used to determine whether the image was taken from the current or + * a previous instance of a given image name. + */ + sourceImageId?: string; + /** The type of the image used to create this disk. The default and only value is RAW */ + sourceType?: string; + /** + * [Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully + * created and the status is set to READY. Possible values are FAILED, PENDING, or READY. + */ + status?: string; + } + interface ImageList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of Image resources. */ + items?: Image[]; + /** Type of resource. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface Instance { + /** + * Allows this instance to send and receive packets with non-matching destination or source IPs. This is required if you plan to use this instance to + * forward routes. For more information, see Enabling IP Forwarding. + */ + canIpForward?: boolean; + /** [Output Only] The CPU platform used by this instance. */ + cpuPlatform?: string; + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** Array of disks associated with this instance. Persistent disks must be created before you can assign them. */ + disks?: AttachedDisk[]; + /** List of the type and count of accelerator cards attached to the instance. */ + guestAccelerators?: AcceleratorConfig[]; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] Type of the resource. Always compute#instance for instances. */ + kind?: string; + /** + * A fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially + * generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in + * order to update or change metadata. + * + * To see the latest fingerprint, make get() request to the instance. + */ + labelFingerprint?: string; + /** Labels to apply to this instance. These can be later modified by the setLabels method. */ + labels?: Record<string, string>; + /** + * Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type. This is provided by the + * client when the instance is created. For example, the following is a valid partial url to a predefined machine type: + * + * zones/us-central1-f/machineTypes/n1-standard-1 + * + * To create a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, + * etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 + * MB): + * + * zones/zone/machineTypes/custom-CPUS-MEMORY + * + * For example: zones/us-central1-f/machineTypes/custom-4-5120 + * + * For a full list of restrictions, read the Specifications for custom machine types. + */ + machineType?: string; + /** The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys. */ + metadata?: Metadata; + /** + * Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel + * Haswell" or minCpuPlatform: "Intel Sandy Bridge". + */ + minCpuPlatform?: string; + /** + * The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with + * RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first + * character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot + * be a dash. + */ + name?: string; + /** + * An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as + * connecting to the internet. Multiple interfaces are supported per instance. + */ + networkInterfaces?: NetworkInterface[]; + /** Sets the scheduling options for this instance. */ + scheduling?: Scheduling; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** + * A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. + * + * Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See + * Service Accounts for more information. + */ + serviceAccounts?: ServiceAccount[]; + /** [Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity. */ + startRestricted?: boolean; + /** + * [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, STOPPED, SUSPENDING, SUSPENDED, and + * TERMINATED. + */ + status?: string; + /** [Output Only] An optional, human-readable explanation of the status. */ + statusMessage?: string; + /** + * A list of tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client + * during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035. + */ + tags?: Tags; + /** [Output Only] URL of the zone where the instance resides. */ + zone?: string; + } + interface InstanceAggregatedList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of InstancesScopedList resources. */ + items?: Record<string, InstancesScopedList>; + /** [Output Only] Type of resource. Always compute#instanceAggregatedList for aggregated lists of Instance resources. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface InstanceGroup { + /** [Output Only] The creation timestamp for this instance group in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** + * [Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect conflicts when multiple users change the named ports + * concurrently. + */ + fingerprint?: string; + /** [Output Only] A unique identifier for this instance group, generated by the server. */ + id?: string; + /** [Output Only] The resource type, which is always compute#instanceGroup for instance groups. */ + kind?: string; + /** The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035. */ + name?: string; + /** + * Assigns a name to a port number. For example: {name: "http", port: 80} + * + * This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: + * [{name: "http", port: 80},{name: "http", port: 8080}] + * + * Named ports apply to all instances in this instance group. + */ + namedPorts?: NamedPort[]; + /** The URL of the network to which all instances in the instance group belong. */ + network?: string; + /** The URL of the region where the instance group is located (for regional resources). */ + region?: string; + /** [Output Only] The URL for this instance group. The server generates this URL. */ + selfLink?: string; + /** [Output Only] The total number of instances in the instance group. */ + size?: number; + /** The URL of the subnetwork to which all instances in the instance group belong. */ + subnetwork?: string; + /** [Output Only] The URL of the zone where the instance group is located (for zonal resources). */ + zone?: string; + } + interface InstanceGroupAggregatedList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of InstanceGroupsScopedList resources. */ + items?: Record<string, InstanceGroupsScopedList>; + /** [Output Only] The resource type, which is always compute#instanceGroupAggregatedList for aggregated lists of instance groups. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface InstanceGroupList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of InstanceGroup resources. */ + items?: InstanceGroup[]; + /** [Output Only] The resource type, which is always compute#instanceGroupList for instance group lists. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface InstanceGroupManager { + /** + * The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a + * random four-character string to the base instance name. The base instance name must comply with RFC1035. + */ + baseInstanceName?: string; + /** [Output Only] The creation timestamp for this managed instance group in RFC3339 text format. */ + creationTimestamp?: string; + /** [Output Only] The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions. */ + currentActions?: InstanceGroupManagerActionsSummary; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** [Output Only] The fingerprint of the resource data. You can use this optional field for optimistic locking when you update the resource. */ + fingerprint?: string; + /** [Output Only] A unique identifier for this resource type. The server generates this identifier. */ + id?: string; + /** [Output Only] The URL of the Instance Group resource. */ + instanceGroup?: string; + /** + * The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the + * managed instance group. + */ + instanceTemplate?: string; + /** [Output Only] The resource type, which is always compute#instanceGroupManager for managed instance groups. */ + kind?: string; + /** The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035. */ + name?: string; + /** Named ports configured for the Instance Groups complementary to this Instance Group Manager. */ + namedPorts?: NamedPort[]; + /** [Output Only] The URL of the region where the managed instance group resides (for regional resources). */ + region?: string; + /** [Output Only] The URL for this managed instance group. The server defines this URL. */ + selfLink?: string; + /** + * The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the + * instances in the managed instance group. + */ + targetPools?: string[]; + /** + * The target number of running instances for this managed instance group. Deleting or abandoning instances reduces this number. Resizing the group + * changes this number. + */ + targetSize?: number; + /** [Output Only] The URL of the zone where the managed instance group is located (for zonal resources). */ + zone?: string; + } + interface InstanceGroupManagerActionsSummary { + /** + * [Output Only] The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from + * the managed instance group without deleting it. + */ + abandoning?: number; + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails + * to create any of these instances, it tries again until it creates the instance successfully. + * + * If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated. + */ + creating?: number; + /** + * [Output Only] The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If + * the group fails to create any of these instances, it decreases the group's targetSize value accordingly. + */ + creatingWithoutRetries?: number; + /** [Output Only] The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted. */ + deleting?: number; + /** [Output Only] The number of instances in the managed instance group that are running and have no scheduled actions. */ + none?: number; + /** + * [Output Only] The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. + * Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template. + */ + recreating?: number; + /** + * [Output Only] The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a + * recreate action. For example, setting or removing target pools for the instance. + */ + refreshing?: number; + /** [Output Only] The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted. */ + restarting?: number; + } + interface InstanceGroupManagerAggregatedList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of InstanceGroupManagersScopedList resources. */ + items?: Record<string, InstanceGroupManagersScopedList>; + /** [Output Only] The resource type, which is always compute#instanceGroupManagerAggregatedList for an aggregated list of managed instance groups. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface InstanceGroupManagerList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of InstanceGroupManager resources. */ + items?: InstanceGroupManager[]; + /** [Output Only] The resource type, which is always compute#instanceGroupManagerList for a list of managed instance groups. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface InstanceGroupManagersAbandonInstancesRequest { + /** The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. */ + instances?: string[]; + } + interface InstanceGroupManagersDeleteInstancesRequest { + /** The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. */ + instances?: string[]; + } + interface InstanceGroupManagersListManagedInstancesResponse { + /** [Output Only] The list of instances in the managed instance group. */ + managedInstances?: ManagedInstance[]; + } + interface InstanceGroupManagersRecreateInstancesRequest { + /** The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. */ + instances?: string[]; + } + interface InstanceGroupManagersScopedList { + /** [Output Only] The list of managed instance groups that are contained in the specified project and zone. */ + instanceGroupManagers?: InstanceGroupManager[]; + /** [Output Only] The warning that replaces the list of managed instance groups when the list is empty. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface InstanceGroupManagersSetInstanceTemplateRequest { + /** + * The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the + * managed instance group. + */ + instanceTemplate?: string; + } + interface InstanceGroupManagersSetTargetPoolsRequest { + /** + * The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings + * concurrently. Obtain the fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not + * overwrite changes that were applied from another concurrent request. + */ + fingerprint?: string; + /** + * The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of + * the instances in the group. Existing instances and new instances in the group all receive these target pool settings. + */ + targetPools?: string[]; + } + interface InstanceGroupsAddInstancesRequest { + /** The list of instances to add to the instance group. */ + instances?: InstanceReference[]; + } + interface InstanceGroupsListInstances { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of InstanceWithNamedPorts resources. */ + items?: InstanceWithNamedPorts[]; + /** [Output Only] The resource type, which is always compute#instanceGroupsListInstances for the list of instances in the specified instance group. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface InstanceGroupsListInstancesRequest { + /** + * A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes + * all instances regardless of their state. + */ + instanceState?: string; + } + interface InstanceGroupsRemoveInstancesRequest { + /** The list of instances to remove from the instance group. */ + instances?: InstanceReference[]; + } + interface InstanceGroupsScopedList { + /** [Output Only] The list of instance groups that are contained in this scope. */ + instanceGroups?: InstanceGroup[]; + /** [Output Only] An informational warning that replaces the list of instance groups when the list is empty. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface InstanceGroupsSetNamedPortsRequest { + /** + * The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the + * named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure + * that you do not overwrite changes that were applied from another concurrent request. + */ + fingerprint?: string; + /** The list of named ports to set for this instance group. */ + namedPorts?: NamedPort[]; + } + interface InstanceList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of Instance resources. */ + items?: Instance[]; + /** [Output Only] Type of resource. Always compute#instanceList for lists of Instance resources. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface InstanceMoveRequest { + /** + * The URL of the destination zone to move the instance. This can be a full or partial URL. For example, the following are all valid URLs to a zone: + * - https://www.googleapis.com/compute/v1/projects/project/zones/zone + * - projects/project/zones/zone + * - zones/zone + */ + destinationZone?: string; + /** + * The URL of the target instance to move. This can be a full or partial URL. For example, the following are all valid URLs to an instance: + * - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance + * - projects/project/zones/zone/instances/instance + * - zones/zone/instances/instance + */ + targetInstance?: string; + } + interface InstanceProperties { + /** + * Enables instances created based on this template to send packets with source IP addresses other than their own and receive packets with destination IP + * addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. + * If unsure, leave this set to false. See the Enable IP forwarding documentation for more information. + */ + canIpForward?: boolean; + /** An optional text description for the instances that are created from this instance template. */ + description?: string; + /** An array of disks that are associated with the instances that are created from this template. */ + disks?: AttachedDisk[]; + /** A list of guest accelerator cards' type and count to use for instances created from the instance template. */ + guestAccelerators?: AcceleratorConfig[]; + /** Labels to apply to instances that are created from this template. */ + labels?: Record<string, string>; + /** The machine type to use for instances that are created from this template. */ + machineType?: string; + /** + * The metadata key/value pairs to assign to instances that are created from this template. These pairs can consist of custom metadata or predefined keys. + * See Project and instance metadata for more information. + */ + metadata?: Metadata; + /** + * Minimum cpu/platform to be used by this instance. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the + * friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying + * a Minimum CPU Platform. + */ + minCpuPlatform?: string; + /** An array of network access configurations for this interface. */ + networkInterfaces?: NetworkInterface[]; + /** Specifies the scheduling options for the instances that are created from this template. */ + scheduling?: Scheduling; + /** + * A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this + * template. Use metadata queries to obtain the access tokens for these instances. + */ + serviceAccounts?: ServiceAccount[]; + /** + * A list of tags to apply to the instances that are created from this template. The tags identify valid sources or targets for network firewalls. The + * setTags method can modify this list of tags. Each tag within the list must comply with RFC1035. + */ + tags?: Tags; + } + interface InstanceReference { + /** The URL for a specific instance. */ + instance?: string; + } + interface InstanceTemplate { + /** [Output Only] The creation timestamp for this instance template in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** [Output Only] A unique identifier for this instance template. The server defines this identifier. */ + id?: string; + /** [Output Only] The resource type, which is always compute#instanceTemplate for instance templates. */ + kind?: string; + /** + * Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** The instance properties for this instance template. */ + properties?: InstanceProperties; + /** [Output Only] The URL for this instance template. The server defines this URL. */ + selfLink?: string; + } + interface InstanceTemplateList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of InstanceTemplate resources. */ + items?: InstanceTemplate[]; + /** [Output Only] The resource type, which is always compute#instanceTemplatesListResponse for instance template lists. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface InstanceWithNamedPorts { + /** [Output Only] The URL of the instance. */ + instance?: string; + /** [Output Only] The named ports that belong to this instance group. */ + namedPorts?: NamedPort[]; + /** [Output Only] The status of the instance. */ + status?: string; + } + interface InstancesScopedList { + /** [Output Only] List of instances contained in this scope. */ + instances?: Instance[]; + /** [Output Only] Informational warning which replaces the list of instances when the list is empty. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface InstancesSetLabelsRequest { + /** + * Fingerprint of the previous set of labels for this resource, used to prevent conflicts. Provide the latest fingerprint value when making a request to + * add or change labels. + */ + labelFingerprint?: string; + labels?: Record<string, string>; + } + interface InstancesSetMachineResourcesRequest { + /** List of the type and count of accelerator cards attached to the instance. */ + guestAccelerators?: AcceleratorConfig[]; + } + interface InstancesSetMachineTypeRequest { + /** + * Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: + * zones/us-central1-f/machineTypes/n1-standard-1 + */ + machineType?: string; + } + interface InstancesSetMinCpuPlatformRequest { + /** Minimum cpu/platform this instance should be started at. */ + minCpuPlatform?: string; + } + interface InstancesSetServiceAccountRequest { + /** Email address of the service account. */ + email?: string; + /** The list of scopes to be made available for this service account. */ + scopes?: string[]; + } + interface InstancesStartWithEncryptionKeyRequest { + /** + * Array of disks associated with this instance that are protected with a customer-supplied encryption key. + * + * In order to start the instance, the disk url and its corresponding key must be provided. + * + * If the disk is not protected with a customer-supplied encryption key it should not be specified. + */ + disks?: CustomerEncryptionKeyProtectedDisk[]; + } + interface License { + /** [Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee. */ + chargesUseFee?: boolean; + /** [Output Only] Type of resource. Always compute#license for licenses. */ + kind?: string; + /** [Output Only] Name of the resource. The name is 1-63 characters long and complies with RFC1035. */ + name?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + } + interface MachineType { + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** [Output Only] The deprecation status associated with this machine type. */ + deprecated?: DeprecationStatus; + /** [Output Only] An optional textual description of the resource. */ + description?: string; + /** [Output Only] The number of virtual CPUs that are available to the instance. */ + guestCpus?: number; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Deprecated] This property is deprecated and will never be populated with any relevant values. */ + imageSpaceGb?: number; + /** [Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information. */ + isSharedCpu?: boolean; + /** [Output Only] The type of the resource. Always compute#machineType for machine types. */ + kind?: string; + /** [Output Only] Maximum persistent disks allowed. */ + maximumPersistentDisks?: number; + /** [Output Only] Maximum total persistent disks size (GB) allowed. */ + maximumPersistentDisksSizeGb?: string; + /** [Output Only] The amount of physical memory available to the instance, defined in MB. */ + memoryMb?: number; + /** [Output Only] Name of the resource. */ + name?: string; + /** [Output Only] List of extended scratch disks assigned to the instance. */ + scratchDisks?: Array<{ + /** Size of the scratch disk, defined in GB. */ + diskGb?: number; + }>; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** [Output Only] The name of the zone where the machine type resides, such as us-central1-a. */ + zone?: string; + } + interface MachineTypeAggregatedList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of MachineTypesScopedList resources. */ + items?: Record<string, MachineTypesScopedList>; + /** [Output Only] Type of resource. Always compute#machineTypeAggregatedList for aggregated lists of machine types. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface MachineTypeList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of MachineType resources. */ + items?: MachineType[]; + /** [Output Only] Type of resource. Always compute#machineTypeList for lists of machine types. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface MachineTypesScopedList { + /** [Output Only] List of machine types contained in this scope. */ + machineTypes?: MachineType[]; + /** [Output Only] An informational warning that appears when the machine types list is empty. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface ManagedInstance { + /** + * [Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: + * - NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. + * - CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. + * - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it + * does not try again and the group's targetSize value is decreased instead. + * - RECREATING The managed instance group is recreating this instance. + * - DELETING The managed instance group is permanently deleting this instance. + * - ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools + * that are associated with this group. + * - RESTARTING The managed instance group is restarting the instance. + * - REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the + * target pool list for an instance without stopping that instance. + */ + currentAction?: string; + /** [Output only] The unique identifier for this resource. This field is empty when instance does not exist. */ + id?: string; + /** [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created. */ + instance?: string; + /** [Output Only] The status of the instance. This field is empty when the instance does not exist. */ + instanceStatus?: string; + /** [Output Only] Information about the last attempt to create or delete the instance. */ + lastAttempt?: ManagedInstanceLastAttempt; + } + interface ManagedInstanceLastAttempt { + /** [Output Only] Encountered errors during the last attempt to create or delete the instance. */ + errors?: { + /** [Output Only] The array of errors encountered while processing this operation. */ + errors?: Array<{ + /** [Output Only] The error type identifier for this error. */ + code?: string; + /** [Output Only] Indicates the field in the request that caused the error. This property is optional. */ + location?: string; + /** [Output Only] An optional, human-readable error message. */ + message?: string; + }>; + }; + } + interface Metadata { + /** + * Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is + * initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint + * hash in order to update or change metadata. + */ + fingerprint?: string; + /** Array of key/value pairs. The total size of all keys and values must be less than 512 KB. */ + items?: Array<{ + /** + * Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length. This is reflected as part + * of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project. + */ + key?: string; + /** + * Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only + * restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB). + */ + value?: string; + }>; + /** [Output Only] Type of the resource. Always compute#metadata for metadata. */ + kind?: string; + } + interface NamedPort { + /** The name for this named port. The name must be 1-63 characters long, and comply with RFC1035. */ + name?: string; + /** The port number, which can be a value between 1 and 65535. */ + port?: number; + } + interface Network { + /** + * The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16. Provided by the client + * when the network is created. + */ + IPv4Range?: string; + /** + * When set to true, the network is created in "auto subnet mode". When set to false, the network is in "custom subnet mode". + * + * In "auto subnet mode", a newly created network is assigned the default CIDR of 10.128.0.0/9 and it automatically creates one subnetwork per region. + */ + autoCreateSubnetworks?: boolean; + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** + * A gateway address for default routing to other networks. This value is read only and is selected by the Google Compute Engine, typically as the first + * usable address in the IPv4Range. + */ + gatewayIPv4?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] Type of the resource. Always compute#network for networks. */ + kind?: string; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** [Output Only] List of network peerings for the resource. */ + peerings?: NetworkPeering[]; + /** The network-level routing configuration for this network. Used by Cloud Router to determine what type of network-wide routing behavior to enforce. */ + routingConfig?: NetworkRoutingConfig; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** [Output Only] Server-defined fully-qualified URLs for all subnetworks in this network. */ + subnetworks?: string[]; + } + interface NetworkInterface { + /** + * An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs + * specified, then this instance will have no external internet access. + */ + accessConfigs?: AccessConfig[]; + /** An array of alias IP ranges for this network interface. Can only be specified for network interfaces on subnet-mode networks. */ + aliasIpRanges?: AliasIpRange[]; + /** [Output Only] Type of the resource. Always compute#networkInterface for network interfaces. */ + kind?: string; + /** [Output Only] The name of the network interface, generated by the server. For network devices, these are eth0, eth1, etc. */ + name?: string; + /** + * URL of the network resource for this instance. When creating an instance, if neither the network nor the subnetwork is specified, the default network + * global/networks/default is used; if the network is not specified but the subnetwork is specified, the network is inferred. + * + * This field is optional when creating a firewall rule. If not specified when creating a firewall rule, the default network global/networks/default is + * used. + * + * If you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: + * - https://www.googleapis.com/compute/v1/projects/project/global/networks/network + * - projects/project/global/networks/network + * - global/networks/default + */ + network?: string; + /** + * An IPv4 internal network address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned + * by the system. + */ + networkIP?: string; + /** + * The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not provide this property. If the network is in + * auto subnet mode, providing the subnetwork is optional. If the network is in custom subnet mode, then this field should be specified. If you specify + * this property, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: + * - https://www.googleapis.com/compute/v1/projects/project/regions/region/subnetworks/subnetwork + * - regions/region/subnetworks/subnetwork + */ + subnetwork?: string; + } + interface NetworkList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of Network resources. */ + items?: Network[]; + /** [Output Only] Type of resource. Always compute#networkList for lists of networks. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface NetworkPeering { + /** + * Whether full mesh connectivity is created and managed automatically. When it is set to true, Google Compute Engine will automatically create and manage + * the routes between two networks when the state is ACTIVE. Otherwise, user needs to create routes manually to route packets to peer network. + */ + autoCreateRoutes?: boolean; + /** + * Name of this peering. Provided by the client when the peering is created. The name must comply with RFC1035. Specifically, the name must be 1-63 + * characters long and match regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all the + * following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** + * The URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not + * contain project, it is assumed that the peer network is in the same project as the current network. + */ + network?: string; + /** [Output Only] State for the peering. */ + state?: string; + /** [Output Only] Details about the current state of the peering. */ + stateDetails?: string; + } + interface NetworkRoutingConfig { + /** + * The network-wide routing mode to use. If set to REGIONAL, this network's cloud routers will only advertise routes with subnetworks of this network in + * the same region as the router. If set to GLOBAL, this network's cloud routers will advertise routes with all subnetworks of this network, across + * regions. + */ + routingMode?: string; + } + interface NetworksAddPeeringRequest { + /** Whether Google Compute Engine manages the routes automatically. */ + autoCreateRoutes?: boolean; + /** Name of the peering, which should conform to RFC1035. */ + name?: string; + /** + * URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not + * contain project, it is assumed that the peer network is in the same project as the current network. + */ + peerNetwork?: string; + } + interface NetworksRemovePeeringRequest { + /** Name of the peering, which should conform to RFC1035. */ + name?: string; + } + interface Operation { + /** [Output Only] Reserved for future use. */ + clientOperationId?: string; + /** [Deprecated] This field is deprecated. */ + creationTimestamp?: string; + /** [Output Only] A textual description of the operation, which is set when the operation is created. */ + description?: string; + /** [Output Only] The time that this operation was completed. This value is in RFC3339 text format. */ + endTime?: string; + /** [Output Only] If errors are generated during processing of the operation, this field will be populated. */ + error?: { + /** [Output Only] The array of errors encountered while processing this operation. */ + errors?: Array<{ + /** [Output Only] The error type identifier for this error. */ + code?: string; + /** [Output Only] Indicates the field in the request that caused the error. This property is optional. */ + location?: string; + /** [Output Only] An optional, human-readable error message. */ + message?: string; + }>; + }; + /** [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND. */ + httpErrorMessage?: string; + /** + * [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not + * found. + */ + httpErrorStatusCode?: number; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] The time that this operation was requested. This value is in RFC3339 text format. */ + insertTime?: string; + /** [Output Only] Type of the resource. Always compute#operation for Operation resources. */ + kind?: string; + /** [Output Only] Name of the resource. */ + name?: string; + /** [Output Only] The type of operation, such as insert, update, or delete, and so on. */ + operationType?: string; + /** + * [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of + * operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation + * progresses. + */ + progress?: number; + /** [Output Only] The URL of the region where the operation resides. Only available when performing regional operations. */ + region?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. */ + startTime?: string; + /** [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE. */ + status?: string; + /** [Output Only] An optional textual description of the current status of the operation. */ + statusMessage?: string; + /** [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. */ + targetId?: string; + /** + * [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk + * that the snapshot was created from. + */ + targetLink?: string; + /** [Output Only] User who requested the operation, for example: user@example.com. */ + user?: string; + /** [Output Only] If warning messages are generated during processing of the operation, this field will be populated. */ + warnings?: Array<{ + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }>; + /** [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations. */ + zone?: string; + } + interface OperationAggregatedList { + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] A map of scoped operation lists. */ + items?: Record<string, OperationsScopedList>; + /** [Output Only] Type of resource. Always compute#operationAggregatedList for aggregated lists of operations. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface OperationList { + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] A list of Operation resources. */ + items?: Operation[]; + /** [Output Only] Type of resource. Always compute#operations for Operations resource. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface OperationsScopedList { + /** [Output Only] List of operations contained in this scope. */ + operations?: Operation[]; + /** [Output Only] Informational warning which replaces the list of operations when the list is empty. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface PathMatcher { + /** + * The full or partial URL to the BackendService resource. This will be used if none of the pathRules defined by this PathMatcher is matched by the URL's + * path portion. For example, the following are all valid URLs to a BackendService resource: + * - https://www.googleapis.com/compute/v1/projects/project/global/backendServices/backendService + * - compute/v1/projects/project/global/backendServices/backendService + * - global/backendServices/backendService + */ + defaultService?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** The name to which this PathMatcher is referred by the HostRule. */ + name?: string; + /** The list of path rules. */ + pathRules?: PathRule[]; + } + interface PathRule { + /** + * The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path + * matcher does not include any text after the first ? or #, and those chars are not allowed here. + */ + paths?: string[]; + /** The URL of the BackendService resource if this rule is matched. */ + service?: string; + } + interface Project { + /** Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information. */ + commonInstanceMetadata?: Metadata; + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** [Output Only] Default service account used by VMs running in this project. */ + defaultServiceAccount?: string; + /** An optional textual description of the resource. */ + description?: string; + /** Restricted features enabled for use on this project. */ + enabledFeatures?: string[]; + /** + * [Output Only] The unique identifier for the resource. This identifier is defined by the server. This is not the project ID, and is just a unique ID + * used by Compute Engine to identify resources. + */ + id?: string; + /** [Output Only] Type of the resource. Always compute#project for projects. */ + kind?: string; + /** The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine. */ + name?: string; + /** [Output Only] Quotas assigned to this project. */ + quotas?: Quota[]; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored. */ + usageExportLocation?: UsageExportLocation; + /** [Output Only] The role this project has in a shared VPC configuration. Currently only HOST projects are differentiated. */ + xpnProjectStatus?: string; + } + interface ProjectsDisableXpnResourceRequest { + /** Service resource (a.k.a service project) ID. */ + xpnResource?: XpnResourceId; + } + interface ProjectsEnableXpnResourceRequest { + /** Service resource (a.k.a service project) ID. */ + xpnResource?: XpnResourceId; + } + interface ProjectsGetXpnResources { + /** [Output Only] Type of resource. Always compute#projectsGetXpnResources for lists of service resources (a.k.a service projects) */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** Service resources (a.k.a service projects) attached to this project as their shared VPC host. */ + resources?: XpnResourceId[]; + } + interface ProjectsListXpnHostsRequest { + /** + * Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be + * inferred from the project. + */ + organization?: string; + } + interface Quota { + /** [Output Only] Quota limit for this metric. */ + limit?: number; + /** [Output Only] Name of the quota metric. */ + metric?: string; + /** [Output Only] Current usage of this metric. */ + usage?: number; + } + interface Region { + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** [Output Only] The deprecation status associated with this region. */ + deprecated?: DeprecationStatus; + /** [Output Only] Textual description of the resource. */ + description?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] Type of the resource. Always compute#region for regions. */ + kind?: string; + /** [Output Only] Name of the resource. */ + name?: string; + /** [Output Only] Quotas assigned to this region. */ + quotas?: Quota[]; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** [Output Only] Status of the region, either UP or DOWN. */ + status?: string; + /** [Output Only] A list of zones available in this region, in the form of resource URLs. */ + zones?: string[]; + } + interface RegionAutoscalerList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of Autoscaler resources. */ + items?: Autoscaler[]; + /** Type of resource. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface RegionInstanceGroupList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of InstanceGroup resources. */ + items?: InstanceGroup[]; + /** The resource type. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface RegionInstanceGroupManagerList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of InstanceGroupManager resources. */ + items?: InstanceGroupManager[]; + /** + * [Output Only] The resource type, which is always compute#instanceGroupManagerList for a list of managed instance groups that exist in th regional + * scope. + */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface RegionInstanceGroupManagersAbandonInstancesRequest { + /** The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. */ + instances?: string[]; + } + interface RegionInstanceGroupManagersDeleteInstancesRequest { + /** The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. */ + instances?: string[]; + } + interface RegionInstanceGroupManagersListInstancesResponse { + /** List of managed instances. */ + managedInstances?: ManagedInstance[]; + } + interface RegionInstanceGroupManagersRecreateRequest { + /** The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. */ + instances?: string[]; + } + interface RegionInstanceGroupManagersSetTargetPoolsRequest { + /** + * Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool + * entries. This field is optional. + */ + fingerprint?: string; + /** + * The URL of all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the + * instances in the managed instance group. + */ + targetPools?: string[]; + } + interface RegionInstanceGroupManagersSetTemplateRequest { + /** URL of the InstanceTemplate resource from which all new instances will be created. */ + instanceTemplate?: string; + } + interface RegionInstanceGroupsListInstances { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of InstanceWithNamedPorts resources. */ + items?: InstanceWithNamedPorts[]; + /** The resource type. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface RegionInstanceGroupsListInstancesRequest { + /** Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances. */ + instanceState?: string; + /** + * Name of port user is interested in. It is optional. If it is set, only information about this ports will be returned. If it is not set, all the named + * ports will be returned. Always lists all instances. + */ + portName?: string; + } + interface RegionInstanceGroupsSetNamedPortsRequest { + /** + * The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the + * named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure + * that you do not overwrite changes that were applied from another concurrent request. + */ + fingerprint?: string; + /** The list of named ports to set for this instance group. */ + namedPorts?: NamedPort[]; + } + interface RegionList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of Region resources. */ + items?: Region[]; + /** [Output Only] Type of resource. Always compute#regionList for lists of regions. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface ResourceCommitment { + /** + * The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be + * provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU. + */ + amount?: string; + /** Type of resource for which this commitment applies. Possible values are VCPU and MEMORY */ + type?: string; + } + interface ResourceGroupReference { + /** A URI referencing one of the instance groups listed in the backend service. */ + group?: string; + } + interface Route { + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** The destination range of outgoing packets that this route applies to. Only IPv4 is supported. */ + destRange?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] Type of this resource. Always compute#routes for Route resources. */ + kind?: string; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** Fully-qualified URL of the network that this route applies to. */ + network?: string; + /** + * The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: + * projects/<project-id>/global/gateways/default-internet-gateway + */ + nextHopGateway?: string; + /** + * The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/ + */ + nextHopInstance?: string; + /** The network IP address of an instance that should handle matching packets. Only IPv4 is supported. */ + nextHopIp?: string; + /** The URL of the local network if it should handle matching packets. */ + nextHopNetwork?: string; + /** [Output Only] The network peering name that should handle matching packets, which should conform to RFC1035. */ + nextHopPeering?: string; + /** The URL to a VpnTunnel that should handle matching packets. */ + nextHopVpnTunnel?: string; + /** + * The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In the case of + * two routes with equal prefix length, the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 through 65535. + */ + priority?: number; + /** [Output Only] Server-defined fully-qualified URL for this resource. */ + selfLink?: string; + /** A list of instance tags to which this route applies. */ + tags?: string[]; + /** [Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages. */ + warnings?: Array<{ + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }>; + } + interface RouteList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of Route resources. */ + items?: Route[]; + /** Type of resource. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface Router { + /** BGP information specific to this router. */ + bgp?: RouterBgp; + /** + * BGP information that needs to be configured into the routing stack to establish the BGP peering. It must specify peer ASN and either interface name, + * IP, or peer IP. Please refer to RFC4273. + */ + bgpPeers?: RouterBgpPeer[]; + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** + * Router interfaces. Each interface requires either one linked resource (e.g. linkedVpnTunnel), or IP address and IP address range (e.g. ipRange), or + * both. + */ + interfaces?: RouterInterface[]; + /** [Output Only] Type of resource. Always compute#router for routers. */ + kind?: string; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** URI of the network to which this router belongs. */ + network?: string; + /** [Output Only] URI of the region where the router resides. */ + region?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + } + interface RouterAggregatedList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of Router resources. */ + items?: Record<string, RoutersScopedList>; + /** Type of resource. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface RouterBgp { + /** + * Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. + * All VPN tunnels that link to this router will have the same local ASN. + */ + asn?: number; + } + interface RouterBgpPeer { + /** + * The priority of routes advertised to this BGP peer. In the case where there is more than one matching route of maximum length, the routes with lowest + * priority value win. + */ + advertisedRoutePriority?: number; + /** Name of the interface the BGP peer is associated with. */ + interfaceName?: string; + /** IP address of the interface inside Google Cloud Platform. Only IPv4 is supported. */ + ipAddress?: string; + /** Name of this BGP peer. The name must be 1-63 characters long and comply with RFC1035. */ + name?: string; + /** Peer BGP Autonomous System Number (ASN). For VPN use case, this value can be different for every tunnel. */ + peerAsn?: number; + /** IP address of the BGP interface outside Google cloud. Only IPv4 is supported. */ + peerIpAddress?: string; + } + interface RouterInterface { + /** + * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. The value must be a CIDR-formatted string, for example: + * 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface. + */ + ipRange?: string; + /** + * URI of the linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource and it could either be a + * VPN Tunnel or an interconnect attachment. + */ + linkedVpnTunnel?: string; + /** Name of this interface entry. The name must be 1-63 characters long and comply with RFC1035. */ + name?: string; + } + interface RouterList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of Router resources. */ + items?: Router[]; + /** [Output Only] Type of resource. Always compute#router for routers. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface RouterStatus { + /** Best routes for this router's network. */ + bestRoutes?: Route[]; + /** Best routes learned by this router. */ + bestRoutesForRouter?: Route[]; + bgpPeerStatus?: RouterStatusBgpPeerStatus[]; + /** URI of the network to which this router belongs. */ + network?: string; + } + interface RouterStatusBgpPeerStatus { + /** Routes that were advertised to the remote BGP peer */ + advertisedRoutes?: Route[]; + /** IP address of the local BGP interface. */ + ipAddress?: string; + /** URL of the VPN tunnel that this BGP peer controls. */ + linkedVpnTunnel?: string; + /** Name of this BGP peer. Unique within the Routers resource. */ + name?: string; + /** Number of routes learned from the remote BGP Peer. */ + numLearnedRoutes?: number; + /** IP address of the remote BGP interface. */ + peerIpAddress?: string; + /** BGP state as specified in RFC1771. */ + state?: string; + /** Status of the BGP peer: {UP, DOWN} */ + status?: string; + /** Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds */ + uptime?: string; + /** Time this session has been up, in seconds. Format: 145 */ + uptimeSeconds?: string; + } + interface RouterStatusResponse { + /** Type of resource. */ + kind?: string; + result?: RouterStatus; + } + interface RoutersPreviewResponse { + /** Preview of given router. */ + resource?: Router; + } + interface RoutersScopedList { + /** List of routers contained in this scope. */ + routers?: Router[]; + /** Informational warning which replaces the list of routers when the list is empty. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface SSLHealthCheck { + /** The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535. */ + port?: number; + /** Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence. */ + portName?: string; + /** Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. */ + proxyHeader?: string; + /** + * The application data to send once the SSL connection has been established (default value is empty). If both request and response are empty, the + * connection establishment alone will indicate health. The request data can only be ASCII. + */ + request?: string; + /** + * The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data + * can only be ASCII. + */ + response?: string; + } + interface Scheduling { + /** + * Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the + * automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. + * + * By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine. + */ + automaticRestart?: boolean; + /** + * Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and + * only possible behavior is TERMINATE. For more information, see Setting Instance Scheduling Options. + */ + onHostMaintenance?: string; + /** + * Defines whether the instance is preemptible. This can only be set during instance creation, it cannot be set or changed after the instance has been + * created. + */ + preemptible?: boolean; + } + interface SerialPortOutput { + /** [Output Only] The contents of the console output. */ + contents?: string; + /** [Output Only] Type of the resource. Always compute#serialPortOutput for serial port output. */ + kind?: string; + /** [Output Only] The position of the next byte of content from the serial console output. Use this value in the next request as the start parameter. */ + next?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** + * The starting byte position of the output that was returned. This should match the start parameter sent with the request. If the serial console output + * exceeds the size of the buffer, older output will be overwritten by newer content and the start values will be mismatched. + */ + start?: string; + } + interface ServiceAccount { + /** Email address of the service account. */ + email?: string; + /** The list of scopes to be made available for this service account. */ + scopes?: string[]; + } + interface Snapshot { + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** [Output Only] Size of the snapshot, specified in GB. */ + diskSizeGb?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources. */ + kind?: string; + /** + * A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking. The fingerprint + * is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint + * hash in order to update or change labels. + * + * To see the latest fingerprint, make a get() request to retrieve a snapshot. + */ + labelFingerprint?: string; + /** Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty. */ + labels?: Record<string, string>; + /** + * [Output Only] A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a + * Windows image). + */ + licenses?: string[]; + /** + * Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** + * Encrypts the snapshot using a customer-supplied encryption key. + * + * After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the image later For example, you must provide the + * encryption key when you create a disk from the encrypted snapshot in a future request. + * + * Customer-supplied encryption keys do not protect access to metadata of the disk. + * + * If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do + * not need to provide a key to use the snapshot later. + */ + snapshotEncryptionKey?: CustomerEncryptionKey; + /** [Output Only] The source disk used to create this snapshot. */ + sourceDisk?: string; + /** The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key. */ + sourceDiskEncryptionKey?: CustomerEncryptionKey; + /** + * [Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the + * current or a previous instance of a given disk name. + */ + sourceDiskId?: string; + /** [Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING. */ + status?: string; + /** + * [Output Only] A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot + * creation/deletion. + */ + storageBytes?: string; + /** + * [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status + * can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. + */ + storageBytesStatus?: string; + } + interface SnapshotList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of Snapshot resources. */ + items?: Snapshot[]; + /** Type of resource. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface SslCertificate { + /** + * A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at + * least one intermediate cert. + */ + certificate?: string; + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates. */ + kind?: string; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** A write-only private key in PEM format. Only insert requests will include this field. */ + privateKey?: string; + /** [Output only] Server-defined URL for the resource. */ + selfLink?: string; + } + interface SslCertificateList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of SslCertificate resources. */ + items?: SslCertificate[]; + /** Type of resource. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface Subnetwork { + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time. */ + description?: string; + /** + * [Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork. This field can be set only at resource + * creation time. + */ + gatewayAddress?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** + * The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or + * 192.168.0.0/16. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field can be set only at resource creation + * time. + */ + ipCidrRange?: string; + /** [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources. */ + kind?: string; + /** + * The name of the resource, provided by the client when initially creating the resource. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** + * The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. Only networks that are in the + * distributed mode can have subnetworks. This field can be set only at resource creation time. + */ + network?: string; + /** + * Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time + * and updated using setPrivateIpGoogleAccess. + */ + privateIpGoogleAccess?: boolean; + /** URL of the region where the Subnetwork resides. This field can be set only at resource creation time. */ + region?: string; + /** + * An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary + * ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. + */ + secondaryIpRanges?: SubnetworkSecondaryRange[]; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + } + interface SubnetworkAggregatedList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of SubnetworksScopedList resources. */ + items?: Record<string, SubnetworksScopedList>; + /** [Output Only] Type of resource. Always compute#subnetworkAggregatedList for aggregated lists of subnetworks. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface SubnetworkList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of Subnetwork resources. */ + items?: Subnetwork[]; + /** [Output Only] Type of resource. Always compute#subnetworkList for lists of subnetworks. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface SubnetworkSecondaryRange { + /** + * The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and + * non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. + */ + ipCidrRange?: string; + /** + * The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, + * and comply with RFC1035. The name must be unique within the subnetwork. + */ + rangeName?: string; + } + interface SubnetworksExpandIpCidrRangeRequest { + /** + * The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. This range should be disjoint from other subnetworks within + * this network. This range can only be larger than (i.e. a superset of) the range previously defined before the update. + */ + ipCidrRange?: string; + } + interface SubnetworksScopedList { + /** List of subnetworks contained in this scope. */ + subnetworks?: Subnetwork[]; + /** An informational warning that appears when the list of addresses is empty. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface SubnetworksSetPrivateIpGoogleAccessRequest { + privateIpGoogleAccess?: boolean; + } + interface TCPHealthCheck { + /** The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535. */ + port?: number; + /** Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence. */ + portName?: string; + /** Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. */ + proxyHeader?: string; + /** + * The application data to send once the TCP connection has been established (default value is empty). If both request and response are empty, the + * connection establishment alone will indicate health. The request data can only be ASCII. + */ + request?: string; + /** + * The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data + * can only be ASCII. + */ + response?: string; + } + interface Tags { + /** + * Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is + * initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint + * hash in order to update or change metadata. + * + * To see the latest fingerprint, make get() request to the instance. + */ + fingerprint?: string; + /** An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035. */ + items?: string[]; + } + interface TargetHttpProxy { + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP proxies. */ + kind?: string; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** URL to the UrlMap resource that defines the mapping from URL to the BackendService. */ + urlMap?: string; + } + interface TargetHttpProxyList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of TargetHttpProxy resources. */ + items?: TargetHttpProxy[]; + /** Type of resource. Always compute#targetHttpProxyList for lists of target HTTP proxies. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface TargetHttpsProxiesSetSslCertificatesRequest { + /** New set of SslCertificate resources to associate with this TargetHttpsProxy resource. Currently exactly one SslCertificate resource must be specified. */ + sslCertificates?: string[]; + } + interface TargetHttpsProxy { + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies. */ + kind?: string; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** + * URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. Currently, exactly one SSL certificate + * must be specified. + */ + sslCertificates?: string[]; + /** + * A fully-qualified or valid partial URL to the UrlMap resource that defines the mapping from URL to the BackendService. For example, the following are + * all valid URLs for specifying a URL map: + * - https://www.googleapis.compute/v1/projects/project/global/urlMaps/url-map + * - projects/project/global/urlMaps/url-map + * - global/urlMaps/url-map + */ + urlMap?: string; + } + interface TargetHttpsProxyList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of TargetHttpsProxy resources. */ + items?: TargetHttpsProxy[]; + /** Type of resource. Always compute#targetHttpsProxyList for lists of target HTTPS proxies. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface TargetInstance { + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** + * A URL to the virtual machine instance that handles traffic for this target instance. When creating a target instance, you can provide the + * fully-qualified URL or a valid partial URL to the desired virtual machine. For example, the following are all valid URLs: + * - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance + * - projects/project/zones/zone/instances/instance + * - zones/zone/instances/instance + */ + instance?: string; + /** [Output Only] The type of the resource. Always compute#targetInstance for target instances. */ + kind?: string; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** NAT option controlling how IPs are NAT'ed to the instance. Currently only NO_NAT (default value) is supported. */ + natPolicy?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** [Output Only] URL of the zone where the target instance resides. */ + zone?: string; + } + interface TargetInstanceAggregatedList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of TargetInstance resources. */ + items?: Record<string, TargetInstancesScopedList>; + /** Type of resource. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface TargetInstanceList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of TargetInstance resources. */ + items?: TargetInstance[]; + /** Type of resource. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface TargetInstancesScopedList { + /** List of target instances contained in this scope. */ + targetInstances?: TargetInstance[]; + /** Informational warning which replaces the list of addresses when the list is empty. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface TargetPool { + /** + * This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly + * set to a value between [0, 1]. + * + * backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary + * pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. + * + * In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the + * primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is + * healthy. + */ + backupPool?: string; + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** + * This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some + * other target pool). The value of the field must be in [0, 1]. + * + * If set, backupPool must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in + * the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool. + * + * In case where failoverRatio is not set or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in + * the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy. + */ + failoverRatio?: number; + /** + * The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if the health checks pass. An empty list + * means all member instances will be considered healthy at all times. Only HttpHealthChecks are supported. Only one health check may be specified. + */ + healthChecks?: string[]; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** A list of resource URLs to the virtual machine instances serving this pool. They must live in zones contained in the same region as this pool. */ + instances?: string[]; + /** [Output Only] Type of the resource. Always compute#targetPool for target pools. */ + kind?: string; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** [Output Only] URL of the region where the target pool resides. */ + region?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** + * Sesssion affinity option, must be one of the following values: + * NONE: Connections from the same client IP may go to any instance in the pool. + * CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. + * CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains + * healthy. + */ + sessionAffinity?: string; + } + interface TargetPoolAggregatedList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of TargetPool resources. */ + items?: Record<string, TargetPoolsScopedList>; + /** [Output Only] Type of resource. Always compute#targetPoolAggregatedList for aggregated lists of target pools. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface TargetPoolInstanceHealth { + healthStatus?: HealthStatus[]; + /** [Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance. */ + kind?: string; + } + interface TargetPoolList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of TargetPool resources. */ + items?: TargetPool[]; + /** [Output Only] Type of resource. Always compute#targetPoolList for lists of target pools. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface TargetPoolsAddHealthCheckRequest { + /** The HttpHealthCheck to add to the target pool. */ + healthChecks?: HealthCheckReference[]; + } + interface TargetPoolsAddInstanceRequest { + /** + * A full or partial URL to an instance to add to this target pool. This can be a full or partial URL. For example, the following are valid URLs: + * - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone/instances/instance-name + * - projects/project-id/zones/zone/instances/instance-name + * - zones/zone/instances/instance-name + */ + instances?: InstanceReference[]; + } + interface TargetPoolsRemoveHealthCheckRequest { + /** + * Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: + * - https://www.googleapis.com/compute/beta/projects/project/global/httpHealthChecks/health-check + * - projects/project/global/httpHealthChecks/health-check + * - global/httpHealthChecks/health-check + */ + healthChecks?: HealthCheckReference[]; + } + interface TargetPoolsRemoveInstanceRequest { + /** URLs of the instances to be removed from target pool. */ + instances?: InstanceReference[]; + } + interface TargetPoolsScopedList { + /** List of target pools contained in this scope. */ + targetPools?: TargetPool[]; + /** Informational warning which replaces the list of addresses when the list is empty. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface TargetReference { + target?: string; + } + interface TargetSslProxiesSetBackendServiceRequest { + /** The URL of the new BackendService resource for the targetSslProxy. */ + service?: string; + } + interface TargetSslProxiesSetProxyHeaderRequest { + /** The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed. */ + proxyHeader?: string; + } + interface TargetSslProxiesSetSslCertificatesRequest { + /** New set of URLs to SslCertificate resources to associate with this TargetSslProxy. Currently exactly one ssl certificate must be specified. */ + sslCertificates?: string[]; + } + interface TargetSslProxy { + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies. */ + kind?: string; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. */ + proxyHeader?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** URL to the BackendService resource. */ + service?: string; + /** URLs to SslCertificate resources that are used to authenticate connections to Backends. Currently exactly one SSL certificate must be specified. */ + sslCertificates?: string[]; + } + interface TargetSslProxyList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of TargetSslProxy resources. */ + items?: TargetSslProxy[]; + /** Type of resource. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface TargetTcpProxiesSetBackendServiceRequest { + /** The URL of the new BackendService resource for the targetTcpProxy. */ + service?: string; + } + interface TargetTcpProxiesSetProxyHeaderRequest { + /** The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed. */ + proxyHeader?: string; + } + interface TargetTcpProxy { + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] Type of the resource. Always compute#targetTcpProxy for target TCP proxies. */ + kind?: string; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. */ + proxyHeader?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** URL to the BackendService resource. */ + service?: string; + } + interface TargetTcpProxyList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of TargetTcpProxy resources. */ + items?: TargetTcpProxy[]; + /** Type of resource. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface TargetVpnGateway { + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** + * [Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated to a VPN + * gateway. + */ + forwardingRules?: string[]; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ + kind?: string; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created. */ + network?: string; + /** [Output Only] URL of the region where the target VPN gateway resides. */ + region?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** [Output Only] The status of the VPN gateway. */ + status?: string; + /** [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using compute.vpntunnels.insert method and associated to a VPN gateway. */ + tunnels?: string[]; + } + interface TargetVpnGatewayAggregatedList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of TargetVpnGateway resources. */ + items?: Record<string, TargetVpnGatewaysScopedList>; + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface TargetVpnGatewayList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of TargetVpnGateway resources. */ + items?: TargetVpnGateway[]; + /** [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface TargetVpnGatewaysScopedList { + /** [Output Only] List of target vpn gateways contained in this scope. */ + targetVpnGateways?: TargetVpnGateway[]; + /** [Output Only] Informational warning which replaces the list of addresses when the list is empty. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface TestFailure { + actualService?: string; + expectedService?: string; + host?: string; + path?: string; + } + interface UrlMap { + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** The URL of the BackendService resource if none of the hostRules match. */ + defaultService?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** + * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when + * inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap. + */ + fingerprint?: string; + /** The list of HostRules to use against the URL. */ + hostRules?: HostRule[]; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] Type of the resource. Always compute#urlMaps for url maps. */ + kind?: string; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** The list of named PathMatchers to use against the URL. */ + pathMatchers?: PathMatcher[]; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** The list of expected URL mappings. Request to update this UrlMap will succeed only if all of the test cases pass. */ + tests?: UrlMapTest[]; + } + interface UrlMapList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of UrlMap resources. */ + items?: UrlMap[]; + /** Type of resource. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface UrlMapReference { + urlMap?: string; + } + interface UrlMapTest { + /** Description of this test case. */ + description?: string; + /** Host portion of the URL. */ + host?: string; + /** Path portion of the URL. */ + path?: string; + /** Expected BackendService resource the given URL should be mapped to. */ + service?: string; + } + interface UrlMapValidationResult { + loadErrors?: string[]; + /** Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the reasons. */ + loadSucceeded?: boolean; + testFailures?: TestFailure[]; + /** If successfully loaded, this field indicates whether the test passed. If false, 'testFailures's indicate the reason of failure. */ + testPassed?: boolean; + } + interface UrlMapsValidateRequest { + /** Content of the UrlMap to be validated. */ + resource?: UrlMap; + } + interface UrlMapsValidateResponse { + result?: UrlMapValidationResult; + } + interface UsageExportLocation { + /** + * The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this + * bucket. This can either be the bucket name by itself, such as example-bucket, or the bucket name with gs:// or https://storage.googleapis.com/ in front + * of it, such as gs://example-bucket. + */ + bucketName?: string; + /** + * An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage. The report is stored as a CSV file + * named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform + * to Cloud Storage object naming conventions. + */ + reportNamePrefix?: string; + } + interface VpnTunnel { + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** An optional description of this resource. Provide this property when you create the resource. */ + description?: string; + /** [Output Only] Detailed status message for the VPN tunnel. */ + detailedStatus?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** IKE protocol version to use when establishing the VPN tunnel with peer VPN gateway. Acceptable IKE versions are 1 or 2. Default version is 2. */ + ikeVersion?: number; + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ + kind?: string; + /** + * Local traffic selector to use when establishing the VPN tunnel with peer VPN gateway. The value should be a CIDR formatted string, for example: + * 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported. + */ + localTrafficSelector?: string[]; + /** + * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** IP address of the peer VPN gateway. Only IPv4 is supported. */ + peerIp?: string; + /** [Output Only] URL of the region where the VPN tunnel resides. */ + region?: string; + /** + * Remote traffic selectors to use when establishing the VPN tunnel with peer VPN gateway. The value should be a CIDR formatted string, for example: + * 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported. + */ + remoteTrafficSelector?: string[]; + /** URL of router resource to be used for dynamic routing. */ + router?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway. */ + sharedSecret?: string; + /** Hash of the shared secret. */ + sharedSecretHash?: string; + /** [Output Only] The status of the VPN tunnel. */ + status?: string; + /** URL of the VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. */ + targetVpnGateway?: string; + } + interface VpnTunnelAggregatedList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of VpnTunnelsScopedList resources. */ + items?: Record<string, VpnTunnelsScopedList>; + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface VpnTunnelList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of VpnTunnel resources. */ + items?: VpnTunnel[]; + /** [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface VpnTunnelsScopedList { + /** List of vpn tunnels contained in this scope. */ + vpnTunnels?: VpnTunnel[]; + /** Informational warning which replaces the list of addresses when the list is empty. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface XpnHostList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** [Output Only] A list of shared VPC host project URLs. */ + items?: Project[]; + /** [Output Only] Type of resource. Always compute#xpnHostList for lists of shared VPC hosts. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface XpnResourceId { + /** The ID of the service resource. In the case of projects, this field matches the project ID (e.g., my-project), not the project number (e.g., 12345678). */ + id?: string; + /** The type of the service resource. */ + type?: string; + } + interface Zone { + /** [Output Only] Available cpu/platform selections for the zone. */ + availableCpuPlatforms?: string[]; + /** [Output Only] Creation timestamp in RFC3339 text format. */ + creationTimestamp?: string; + /** [Output Only] The deprecation status associated with this zone. */ + deprecated?: DeprecationStatus; + /** [Output Only] Textual description of the resource. */ + description?: string; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] Type of the resource. Always compute#zone for zones. */ + kind?: string; + /** [Output Only] Name of the resource. */ + name?: string; + /** [Output Only] Full URL reference to the region which hosts the zone. */ + region?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** [Output Only] Status of the zone, either UP or DOWN. */ + status?: string; + } + interface ZoneList { + /** [Output Only] Unique identifier for the resource; defined by the server. */ + id?: string; + /** A list of Zone resources. */ + items?: Zone[]; + /** Type of resource. */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ + nextPageToken?: string; + /** [Output Only] Server-defined URL for this resource. */ + selfLink?: string; + /** [Output Only] Informational warning message. */ + warning?: { + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }; + } + interface ZoneSetLabelsRequest { + /** + * The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and + * changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. + * Make a get() request to the resource to get the latest fingerprint. + */ + labelFingerprint?: string; + /** The labels to set for this resource. */ + labels?: Record<string, string>; + } + interface AcceleratorTypesResource { + /** Retrieves an aggregated list of accelerator types. */ + aggregatedList(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AcceleratorTypeAggregatedList>; + /** Returns the specified accelerator type. Get a list of available accelerator types by making a list() request. */ + get(request: { + /** Name of the accelerator type to return. */ + acceleratorType: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<AcceleratorType>; + /** Retrieves a list of accelerator types available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<AcceleratorTypeList>; + } + interface AddressesResource { + /** Retrieves an aggregated list of addresses. */ + aggregatedList(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AddressAggregatedList>; + /** Deletes the specified address resource. */ + delete(request: { + /** Name of the address resource to delete. */ + address: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified address resource. */ + get(request: { + /** Name of the address resource to return. */ + address: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Address>; + /** Creates an address resource in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves a list of addresses contained within the specified region. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AddressList>; + } + interface AutoscalersResource { + /** Retrieves an aggregated list of autoscalers. */ + aggregatedList(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AutoscalerAggregatedList>; + /** Deletes the specified autoscaler. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the autoscaler to delete. */ + autoscaler: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Returns the specified autoscaler resource. Get a list of available autoscalers by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the autoscaler to return. */ + autoscaler: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Name of the zone for this request. */ + zone: string; + }): Request<Autoscaler>; + /** Creates an autoscaler in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Retrieves a list of autoscalers contained within the specified zone. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Name of the zone for this request. */ + zone: string; + }): Request<AutoscalerList>; + /** + * Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge + * patch format and processing rules. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the autoscaler to patch. */ + autoscaler?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Updates an autoscaler in the specified project using the data included in the request. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the autoscaler to update. */ + autoscaler?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Name of the zone for this request. */ + zone: string; + }): Request<Operation>; + } + interface BackendBucketsResource { + /** Deletes the specified BackendBucket resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the BackendBucket resource to delete. */ + backendBucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified BackendBucket resource. Get a list of available backend buckets by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the BackendBucket resource to return. */ + backendBucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<BackendBucket>; + /** Creates a BackendBucket resource in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves the list of BackendBucket resources available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<BackendBucketList>; + /** + * Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch + * format and processing rules. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the BackendBucket resource to patch. */ + backendBucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Updates the specified BackendBucket resource with the data included in the request. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the BackendBucket resource to update. */ + backendBucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface BackendServicesResource { + /** Retrieves the list of all BackendService resources, regional and global, available to the specified project. */ + aggregatedList(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Name of the project scoping this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<BackendServiceAggregatedList>; + /** Deletes the specified BackendService resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the BackendService resource to delete. */ + backendService: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified BackendService resource. Get a list of available backend services by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the BackendService resource to return. */ + backendService: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<BackendService>; + /** Gets the most recent health check results for this BackendService. */ + getHealth(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the BackendService resource to which the queried instance belongs. */ + backendService: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<BackendServiceGroupHealth>; + /** + * Creates a BackendService resource in the specified project using the data included in the request. There are several restrictions and guidelines to + * keep in mind when creating a backend service. Read Restrictions and Guidelines for more information. + */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves the list of BackendService resources available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<BackendServiceList>; + /** + * Patches the specified BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in mind when + * updating a backend service. Read Restrictions and Guidelines for more information. This method supports PATCH semantics and uses the JSON merge patch + * format and processing rules. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the BackendService resource to patch. */ + backendService: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** + * Updates the specified BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in mind when + * updating a backend service. Read Restrictions and Guidelines for more information. + */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the BackendService resource to update. */ + backendService: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface DiskTypesResource { + /** Retrieves an aggregated list of disk types. */ + aggregatedList(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DiskTypeAggregatedList>; + /** Returns the specified disk type. Get a list of available disk types by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the disk type to return. */ + diskType: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<DiskType>; + /** Retrieves a list of disk types available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<DiskTypeList>; + } + interface DisksResource { + /** Retrieves an aggregated list of persistent disks. */ + aggregatedList(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DiskAggregatedList>; + /** Creates a snapshot of a specified persistent disk. */ + createSnapshot(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the persistent disk to snapshot. */ + disk: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + guestFlush?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** + * Deletes the specified persistent disk. Deleting a disk removes its data permanently and is irreversible. However, deleting a disk does not delete any + * snapshots previously made from the disk. You must separately delete snapshots. + */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the persistent disk to delete. */ + disk: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Returns a specified persistent disk. Get a list of available persistent disks by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the persistent disk to return. */ + disk: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Disk>; + /** + * Creates a persistent disk in the specified project using the data in the request. You can create a disk with a sourceImage, a sourceSnapshot, or create + * an empty 500 GB data disk by omitting all properties. You can also create a disk that is larger than the default size by specifying the sizeGb + * property. + */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Optional. Source image to restore onto a disk. */ + sourceImage?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Retrieves a list of persistent disks contained within the specified zone. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<DiskList>; + /** Resizes the specified persistent disk. */ + resize(request: { + /** Data format for the response. */ + alt?: string; + /** The name of the persistent disk. */ + disk: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Sets the labels on a disk. To learn more about labels, read the Labeling Resources documentation. */ + setLabels(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the resource for this request. */ + resource: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + } + interface FirewallsResource { + /** Deletes the specified firewall. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the firewall rule to delete. */ + firewall: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified firewall. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the firewall rule to return. */ + firewall: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Firewall>; + /** Creates a firewall rule in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves the list of firewall rules available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FirewallList>; + /** + * Updates the specified firewall rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format + * and processing rules. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the firewall rule to patch. */ + firewall: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** + * Updates the specified firewall rule with the data included in the request. Using PUT method, can only update following fields of firewall rule: + * allowed, description, sourceRanges, sourceTags, targetTags. + */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the firewall rule to update. */ + firewall: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface ForwardingRulesResource { + /** Retrieves an aggregated list of forwarding rules. */ + aggregatedList(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ForwardingRuleAggregatedList>; + /** Deletes the specified ForwardingRule resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the ForwardingRule resource to delete. */ + forwardingRule: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified ForwardingRule resource. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the ForwardingRule resource to return. */ + forwardingRule: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ForwardingRule>; + /** Creates a ForwardingRule resource in the specified project and region using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves a list of ForwardingRule resources available to the specified project and region. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ForwardingRuleList>; + /** Changes target URL for forwarding rule. The new target should be of the same type as the old target. */ + setTarget(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the ForwardingRule resource in which target is to be set. */ + forwardingRule: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface GlobalAddressesResource { + /** Deletes the specified address resource. */ + delete(request: { + /** Name of the address resource to delete. */ + address: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified address resource. Get a list of available addresses by making a list() request. */ + get(request: { + /** Name of the address resource to return. */ + address: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Address>; + /** Creates an address resource in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves a list of global addresses. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AddressList>; + } + interface GlobalForwardingRulesResource { + /** Deletes the specified GlobalForwardingRule resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the ForwardingRule resource to delete. */ + forwardingRule: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified GlobalForwardingRule resource. Get a list of available forwarding rules by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the ForwardingRule resource to return. */ + forwardingRule: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ForwardingRule>; + /** Creates a GlobalForwardingRule resource in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves a list of GlobalForwardingRule resources available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ForwardingRuleList>; + /** Changes target URL for the GlobalForwardingRule resource. The new target should be of the same type as the old target. */ + setTarget(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the ForwardingRule resource in which target is to be set. */ + forwardingRule: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface GlobalOperationsResource { + /** Retrieves an aggregated list of all operations. */ + aggregatedList(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OperationAggregatedList>; + /** Deletes the specified Operations resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the Operations resource to delete. */ + operation: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves the specified Operations resource. Get a list of operations by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the Operations resource to return. */ + operation: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves a list of Operation resources contained within the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OperationList>; + } + interface HealthChecksResource { + /** Deletes the specified HealthCheck resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the HealthCheck resource to delete. */ + healthCheck: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified HealthCheck resource. Get a list of available health checks by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the HealthCheck resource to return. */ + healthCheck: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<HealthCheck>; + /** Creates a HealthCheck resource in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves the list of HealthCheck resources available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<HealthCheckList>; + /** + * Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON + * merge patch format and processing rules. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the HealthCheck resource to patch. */ + healthCheck: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Updates a HealthCheck resource in the specified project using the data included in the request. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the HealthCheck resource to update. */ + healthCheck: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface HttpHealthChecksResource { + /** Deletes the specified HttpHealthCheck resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the HttpHealthCheck resource to delete. */ + httpHealthCheck: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified HttpHealthCheck resource. Get a list of available HTTP health checks by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the HttpHealthCheck resource to return. */ + httpHealthCheck: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<HttpHealthCheck>; + /** Creates a HttpHealthCheck resource in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves the list of HttpHealthCheck resources available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<HttpHealthCheckList>; + /** + * Updates a HttpHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the + * JSON merge patch format and processing rules. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the HttpHealthCheck resource to patch. */ + httpHealthCheck: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Updates a HttpHealthCheck resource in the specified project using the data included in the request. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the HttpHealthCheck resource to update. */ + httpHealthCheck: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface HttpsHealthChecksResource { + /** Deletes the specified HttpsHealthCheck resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the HttpsHealthCheck resource to delete. */ + httpsHealthCheck: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified HttpsHealthCheck resource. Get a list of available HTTPS health checks by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the HttpsHealthCheck resource to return. */ + httpsHealthCheck: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<HttpsHealthCheck>; + /** Creates a HttpsHealthCheck resource in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves the list of HttpsHealthCheck resources available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<HttpsHealthCheckList>; + /** + * Updates a HttpsHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the + * JSON merge patch format and processing rules. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the HttpsHealthCheck resource to patch. */ + httpsHealthCheck: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Updates a HttpsHealthCheck resource in the specified project using the data included in the request. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the HttpsHealthCheck resource to update. */ + httpsHealthCheck: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface ImagesResource { + /** Deletes the specified image. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the image resource to delete. */ + image: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** + * Sets the deprecation status of an image. + * + * If an empty request body is given, clears the deprecation status instead. + */ + deprecate(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Image name. */ + image: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified image. Get a list of available images by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the image resource to return. */ + image: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Image>; + /** Returns the latest image that is part of an image family and is not deprecated. */ + getFromFamily(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the image family to search for. */ + family: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Image>; + /** Creates an image in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Force image creation if true. */ + forceCreate?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** + * Retrieves the list of private images available to the specified project. Private images are images you create that belong to your project. This method + * does not get any images that belong to other projects, including publicly-available images, like Debian 8. If you want to get a list of + * publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud. + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ImageList>; + /** Sets the labels on an image. To learn more about labels, read the Labeling Resources documentation. */ + setLabels(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the resource for this request. */ + resource: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface InstanceGroupManagersResource { + /** + * Schedules a group action to remove the specified instances from the managed instance group. Abandoning an instance does not delete the instance, but it + * does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed + * instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have + * not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. + * + * If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has + * elapsed before the VM instance is removed or deleted. + * + * You can specify a maximum of 1000 instances with this method per request. + */ + abandonInstances(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The name of the managed instance group. */ + instanceGroupManager: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone where the managed instance group is located. */ + zone: string; + }): Request<Operation>; + /** Retrieves the list of managed instance groups and groups them by zone. */ + aggregatedList(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<InstanceGroupManagerAggregatedList>; + /** + * Deletes the specified managed instance group and all of the instances in that group. Note that the instance group must not belong to a backend service. + * Read Deleting an instance group for more information. + */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The name of the managed instance group to delete. */ + instanceGroupManager: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone where the managed instance group is located. */ + zone: string; + }): Request<Operation>; + /** + * Schedules a group action to delete the specified instances in the managed instance group. The instances are also removed from any target pools of which + * they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is + * marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action + * with the listmanagedinstances method. + * + * If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has + * elapsed before the VM instance is removed or deleted. + * + * You can specify a maximum of 1000 instances with this method per request. + */ + deleteInstances(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The name of the managed instance group. */ + instanceGroupManager: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone where the managed instance group is located. */ + zone: string; + }): Request<Operation>; + /** Returns all of the details about the specified managed instance group. Get a list of available managed instance groups by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The name of the managed instance group. */ + instanceGroupManager: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone where the managed instance group is located. */ + zone: string; + }): Request<InstanceGroupManager>; + /** + * Creates a managed instance group using the information that you specify in the request. After the group is created, it schedules an action to create + * instances in the group using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the + * group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. + * + * A managed instance group can have up to 1000 VM instances per group. Please contact Cloud Support if you need an increase in this limit. + */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone where you want to create the managed instance group. */ + zone: string; + }): Request<Operation>; + /** Retrieves a list of managed instance groups that are contained within the specified project and zone. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone where the managed instance group is located. */ + zone: string; + }): Request<InstanceGroupManagerList>; + /** + * Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed + * instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous + * action failed, the list displays the errors for that failed action. + */ + listManagedInstances(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + filter?: string; + /** The name of the managed instance group. */ + instanceGroupManager: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + order_by?: string; + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone where the managed instance group is located. */ + zone: string; + }): Request<InstanceGroupManagersListManagedInstancesResponse>; + /** + * Schedules a group action to recreate the specified instances in the managed instance group. The instances are deleted and recreated using the current + * instance template for the managed instance group. This operation is marked as DONE when the action is scheduled even if the instances have not yet been + * recreated. You must separately verify the status of the recreating action with the listmanagedinstances method. + * + * If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has + * elapsed before the VM instance is removed or deleted. + * + * You can specify a maximum of 1000 instances with this method per request. + */ + recreateInstances(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The name of the managed instance group. */ + instanceGroupManager: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone where the managed instance group is located. */ + zone: string; + }): Request<Operation>; + /** + * Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the + * size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or + * deleted any instances. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. + * + * If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has + * elapsed before the VM instance is removed or deleted. + */ + resize(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The name of the managed instance group. */ + instanceGroupManager: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * The number of running instances that the managed instance group should maintain at any given time. The group automatically adds or removes instances to + * maintain the number of instances specified by this parameter. + */ + size: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone where the managed instance group is located. */ + zone: string; + }): Request<Operation>; + /** + * Specifies the instance template to use when creating new instances in this group. The templates for existing instances in the group do not change + * unless you recreate them. + */ + setInstanceTemplate(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The name of the managed instance group. */ + instanceGroupManager: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone where the managed instance group is located. */ + zone: string; + }): Request<Operation>; + /** + * Modifies the target pools to which all instances in this managed instance group are assigned. The target pools automatically apply to all of the + * instances in the managed instance group. This operation is marked DONE when you make the request even if the instances have not yet been added to their + * target pools. The change might take some time to apply to all of the instances in the group depending on the size of the group. + */ + setTargetPools(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The name of the managed instance group. */ + instanceGroupManager: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone where the managed instance group is located. */ + zone: string; + }): Request<Operation>; + } + interface InstanceGroupsResource { + /** + * Adds a list of instances to the specified instance group. All of the instances in the instance group must be in the same network/subnetwork. Read + * Adding instances for more information. + */ + addInstances(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The name of the instance group where you are adding instances. */ + instanceGroup: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone where the instance group is located. */ + zone: string; + }): Request<Operation>; + /** Retrieves the list of instance groups and sorts them by zone. */ + aggregatedList(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<InstanceGroupAggregatedList>; + /** + * Deletes the specified instance group. The instances in the group are not deleted. Note that instance group must not belong to a backend service. Read + * Deleting an instance group for more information. + */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The name of the instance group to delete. */ + instanceGroup: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone where the instance group is located. */ + zone: string; + }): Request<Operation>; + /** Returns the specified instance group. Get a list of available instance groups by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The name of the instance group. */ + instanceGroup: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone where the instance group is located. */ + zone: string; + }): Request<InstanceGroup>; + /** Creates an instance group in the specified project using the parameters that are included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone where you want to create the instance group. */ + zone: string; + }): Request<Operation>; + /** Retrieves the list of instance groups that are located in the specified project and zone. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone where the instance group is located. */ + zone: string; + }): Request<InstanceGroupList>; + /** Lists the instances in the specified instance group. */ + listInstances(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** The name of the instance group from which you want to generate a list of included instances. */ + instanceGroup: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone where the instance group is located. */ + zone: string; + }): Request<InstanceGroupsListInstances>; + /** + * Removes one or more instances from the specified instance group, but does not delete those instances. + * + * If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration + * before the VM instance is removed or deleted. + */ + removeInstances(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The name of the instance group where the specified instances will be removed. */ + instanceGroup: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone where the instance group is located. */ + zone: string; + }): Request<Operation>; + /** Sets the named ports for the specified instance group. */ + setNamedPorts(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The name of the instance group where the named ports are updated. */ + instanceGroup: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone where the instance group is located. */ + zone: string; + }): Request<Operation>; + } + interface InstanceTemplatesResource { + /** + * Deletes the specified instance template. If you delete an instance template that is being referenced from another instance group, the instance group + * will not be able to create or recreate virtual machine instances. Deleting an instance template is permanent and cannot be undone. + */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The name of the instance template to delete. */ + instanceTemplate: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified instance template. Get a list of available instance templates by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The name of the instance template. */ + instanceTemplate: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<InstanceTemplate>; + /** + * Creates an instance template in the specified project using the data that is included in the request. If you are creating a new template to update an + * existing instance group, your new instance template must use the same network or, if applicable, the same subnetwork as the original template. + */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves a list of instance templates that are contained within the specified project and zone. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<InstanceTemplateList>; + } + interface InstancesResource { + /** Adds an access config to an instance's network interface. */ + addAccessConfig(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The instance name for this request. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the network interface to add to this instance. */ + networkInterface: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Retrieves aggregated list of instances. */ + aggregatedList(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<InstanceAggregatedList>; + /** + * Attaches an existing Disk resource to an instance. You must first create the disk before you can attach it. It is not possible to create and attach a + * disk at the same time. For more information, read Adding a persistent disk to your instance. + */ + attachDisk(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The instance name for this request. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Deletes the specified Instance resource. For more information, see Stopping or Deleting an Instance. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the instance resource to delete. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Deletes an access config from an instance's network interface. */ + deleteAccessConfig(request: { + /** The name of the access config to delete. */ + accessConfig: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The instance name for this request. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the network interface. */ + networkInterface: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Detaches a disk from an instance. */ + detachDisk(request: { + /** Data format for the response. */ + alt?: string; + /** Disk device name to detach. */ + deviceName: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Instance name. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Returns the specified Instance resource. Get a list of available instances by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the instance resource to return. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Instance>; + /** Returns the specified instance's serial port output. */ + getSerialPortOutput(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the instance scoping this request. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Specifies which COM or serial port to retrieve data from. */ + port?: number; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Returns output starting from a specific byte position. Use this to page through output when the output is too large to return in a single request. For + * the initial request, leave this field unspecified. For subsequent calls, this field should be set to the next value returned in the previous call. + */ + start?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<SerialPortOutput>; + /** Creates an instance resource in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Retrieves the list of instances contained within the specified zone. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<InstanceList>; + /** Performs a reset on the instance. For more information, see Resetting an instance. */ + reset(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the instance scoping this request. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Sets the auto-delete flag for a disk attached to an instance. */ + setDiskAutoDelete(request: { + /** Data format for the response. */ + alt?: string; + /** Whether to auto-delete the disk when the instance is deleted. */ + autoDelete: boolean; + /** The device name of the disk to modify. */ + deviceName: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The instance name. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Sets labels on an instance. To learn more about labels, read the Labeling Resources documentation. */ + setLabels(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the instance scoping this request. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Changes the number and/or type of accelerator for a stopped instance to the values specified in the request. */ + setMachineResources(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the instance scoping this request. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Changes the machine type for a stopped instance to the machine type specified in the request. */ + setMachineType(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the instance scoping this request. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Sets metadata for the specified instance to the data included in the request. */ + setMetadata(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the instance scoping this request. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** + * Changes the minimum CPU platform that this instance should use. This method can only be called on a stopped instance. For more information, read + * Specifying a Minimum CPU Platform. + */ + setMinCpuPlatform(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the instance scoping this request. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Sets an instance's scheduling options. */ + setScheduling(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Instance name. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Sets the service account on the instance. For more information, read Changing the service account and access scopes for an instance. */ + setServiceAccount(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the instance resource to start. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Sets tags for the specified instance to the data included in the request. */ + setTags(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the instance scoping this request. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Starts an instance that was stopped using the using the instances().stop method. For more information, see Restart an instance. */ + start(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the instance resource to start. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Starts an instance that was stopped using the using the instances().stop method. For more information, see Restart an instance. */ + startWithEncryptionKey(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the instance resource to start. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** + * Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time. Stopped instances do not incur per-minute, + * virtual machine usage charges while they are stopped, but any resources that the virtual machine is using, such as persistent disks and static IP + * addresses, will continue to be charged until they are deleted. For more information, see Stopping an instance. + */ + stop(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the instance resource to stop. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<Operation>; + } + interface LicensesResource { + /** Returns the specified License resource. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Name of the License resource to return. */ + license: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<License>; + } + interface MachineTypesResource { + /** Retrieves an aggregated list of machine types. */ + aggregatedList(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<MachineTypeAggregatedList>; + /** Returns the specified machine type. Get a list of available machine types by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Name of the machine type to return. */ + machineType: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<MachineType>; + /** Retrieves a list of machine types available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The name of the zone for this request. */ + zone: string; + }): Request<MachineTypeList>; + } + interface NetworksResource { + /** Adds a peering to the specified network. */ + addPeering(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Name of the network resource to add peering to. */ + network: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Deletes the specified network. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Name of the network to delete. */ + network: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified network. Get a list of available networks by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Name of the network to return. */ + network: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Network>; + /** Creates a network in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves the list of networks available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<NetworkList>; + /** Patches the specified network with the data included in the request. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Name of the network to update. */ + network: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Removes a peering from the specified network. */ + removePeering(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Name of the network resource to remove peering from. */ + network: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Switches the network mode from auto subnet mode to custom subnet mode. */ + switchToCustomMode(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Name of the network to be updated. */ + network: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface ProjectsResource { + /** Disable this project as a shared VPC host project. */ + disableXpnHost(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Disable a serivce resource (a.k.a service project) associated with this host project. */ + disableXpnResource(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Enable this project as a shared VPC host project. */ + enableXpnHost(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** + * Enable service resource (a.k.a service project) for a host project, so that subnets in the host project can be used by instances in the service + * project. + */ + enableXpnResource(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified Project resource. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Project>; + /** Get the shared VPC host project that this project links to. May be empty if no link exists. */ + getXpnHost(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Project>; + /** Get service resources (a.k.a service project) associated with this host project. */ + getXpnResources(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + order_by?: string; + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ProjectsGetXpnResources>; + /** List all shared VPC host projects visible to the user in an organization. */ + listXpnHosts(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + order_by?: string; + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<XpnHostList>; + /** Moves a persistent disk from one zone to another. */ + moveDisk(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Moves an instance and its attached persistent disks from one zone to another. */ + moveInstance(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Sets metadata common to all instances within the specified project using the data included in the request. */ + setCommonInstanceMetadata(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** + * Enables the usage export feature and sets the usage export bucket where reports are stored. If you provide an empty request body using this method, the + * usage export feature will be disabled. + */ + setUsageExportBucket(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface RegionAutoscalersResource { + /** Deletes the specified autoscaler. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the autoscaler to delete. */ + autoscaler: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified autoscaler. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the autoscaler to return. */ + autoscaler: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Autoscaler>; + /** Creates an autoscaler in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves a list of autoscalers contained within the specified region. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RegionAutoscalerList>; + /** + * Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge + * patch format and processing rules. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the autoscaler to patch. */ + autoscaler?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Updates an autoscaler in the specified project using the data included in the request. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the autoscaler to update. */ + autoscaler?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface RegionBackendServicesResource { + /** Deletes the specified regional BackendService resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the BackendService resource to delete. */ + backendService: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified regional BackendService resource. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the BackendService resource to return. */ + backendService: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<BackendService>; + /** Gets the most recent health check results for this regional BackendService. */ + getHealth(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the BackendService resource to which the queried instance belongs. */ + backendService: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<BackendServiceGroupHealth>; + /** + * Creates a regional BackendService resource in the specified project using the data included in the request. There are several restrictions and + * guidelines to keep in mind when creating a regional backend service. Read Restrictions and Guidelines for more information. + */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves the list of regional BackendService resources available to the specified project in the given region. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<BackendServiceList>; + /** + * Updates the specified regional BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in + * mind when updating a backend service. Read Restrictions and Guidelines for more information. This method supports PATCH semantics and uses the JSON + * merge patch format and processing rules. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the BackendService resource to patch. */ + backendService: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** + * Updates the specified regional BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in + * mind when updating a backend service. Read Restrictions and Guidelines for more information. + */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the BackendService resource to update. */ + backendService: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface RegionCommitmentsResource { + /** Retrieves an aggregated list of commitments. */ + aggregatedList(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CommitmentAggregatedList>; + /** Returns the specified commitment resource. Get a list of available commitments by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the commitment to return. */ + commitment: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Commitment>; + /** Creates a commitment in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves a list of commitments contained within the specified region. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CommitmentList>; + } + interface RegionInstanceGroupManagersResource { + /** + * Schedules a group action to remove the specified instances from the managed instance group. Abandoning an instance does not delete the instance, but it + * does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed + * instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have + * not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. + * + * If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has + * elapsed before the VM instance is removed or deleted. + * + * You can specify a maximum of 1000 instances with this method per request. + */ + abandonInstances(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the managed instance group. */ + instanceGroupManager: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Deletes the specified managed instance group and all of the instances in that group. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the managed instance group to delete. */ + instanceGroupManager: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** + * Schedules a group action to delete the specified instances in the managed instance group. The instances are also removed from any target pools of which + * they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is + * marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action + * with the listmanagedinstances method. + * + * If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has + * elapsed before the VM instance is removed or deleted. + * + * You can specify a maximum of 1000 instances with this method per request. + */ + deleteInstances(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the managed instance group. */ + instanceGroupManager: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns all of the details about the specified managed instance group. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the managed instance group to return. */ + instanceGroupManager: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<InstanceGroupManager>; + /** + * Creates a managed instance group using the information that you specify in the request. After the group is created, it schedules an action to create + * instances in the group using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the + * group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. + * + * A regional managed instance group can contain up to 2000 instances. + */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves the list of managed instance groups that are contained within the specified region. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RegionInstanceGroupManagerList>; + /** + * Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group + * has scheduled for its instances. + */ + listManagedInstances(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + filter?: string; + /** The name of the managed instance group. */ + instanceGroupManager: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + order_by?: string; + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RegionInstanceGroupManagersListInstancesResponse>; + /** + * Schedules a group action to recreate the specified instances in the managed instance group. The instances are deleted and recreated using the current + * instance template for the managed instance group. This operation is marked as DONE when the action is scheduled even if the instances have not yet been + * recreated. You must separately verify the status of the recreating action with the listmanagedinstances method. + * + * If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has + * elapsed before the VM instance is removed or deleted. + * + * You can specify a maximum of 1000 instances with this method per request. + */ + recreateInstances(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the managed instance group. */ + instanceGroupManager: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** + * Changes the intended size for the managed instance group. If you increase the size, the group schedules actions to create new instances using the + * current instance template. If you decrease the size, the group schedules delete actions on one or more instances. The resize operation is marked DONE + * when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the + * creating or deleting actions with the listmanagedinstances method. + * + * If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has + * elapsed before the VM instance is removed or deleted. + */ + resize(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the managed instance group. */ + instanceGroupManager: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Number of instances that should exist in this instance group manager. */ + size: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Sets the instance template to use when creating new instances or recreating instances in this group. Existing instances are not affected. */ + setInstanceTemplate(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The name of the managed instance group. */ + instanceGroupManager: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Modifies the target pools to which all new instances in this group are assigned. Existing instances in the group are not affected. */ + setTargetPools(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the managed instance group. */ + instanceGroupManager: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface RegionInstanceGroupsResource { + /** Returns the specified instance group resource. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Name of the instance group resource to return. */ + instanceGroup: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<InstanceGroup>; + /** Retrieves the list of instance group resources contained within the specified region. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RegionInstanceGroupList>; + /** + * Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can + * list all instances or only the instances that are running. + */ + listInstances(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** Name of the regional instance group for which we want to list the instances. */ + instanceGroup: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RegionInstanceGroupsListInstances>; + /** Sets the named ports for the specified regional instance group. */ + setNamedPorts(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The name of the regional instance group where the named ports are updated. */ + instanceGroup: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface RegionOperationsResource { + /** Deletes the specified region-specific Operations resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the Operations resource to delete. */ + operation: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves the specified region-specific Operations resource. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the Operations resource to return. */ + operation: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves a list of Operation resources contained within the specified region. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OperationList>; + } + interface RegionsResource { + /** Returns the specified Region resource. Get a list of available regions by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region resource to return. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Region>; + /** Retrieves the list of region resources available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RegionList>; + } + interface RoutersResource { + /** Retrieves an aggregated list of routers. */ + aggregatedList(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RouterAggregatedList>; + /** Deletes the specified Router resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the Router resource to delete. */ + router: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified Router resource. Get a list of available routers by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** Name of the Router resource to return. */ + router: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Router>; + /** Retrieves runtime information of the specified router. */ + getRouterStatus(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** Name of the Router resource to query. */ + router: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RouterStatusResponse>; + /** Creates a Router resource in the specified project and region using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves a list of Router resources available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RouterList>; + /** + * Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and + * processing rules. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the Router resource to patch. */ + router: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router. */ + preview(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** Name of the Router resource to query. */ + router: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RoutersPreviewResponse>; + /** Updates the specified Router resource with the data included in the request. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the Router resource to update. */ + router: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface RoutesResource { + /** Deletes the specified Route resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the Route resource to delete. */ + route: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified Route resource. Get a list of available routes by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the Route resource to return. */ + route: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Route>; + /** Creates a Route resource in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves the list of Route resources available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RouteList>; + } + interface SnapshotsResource { + /** + * Deletes the specified Snapshot resource. Keep in mind that deleting a single snapshot might not necessarily delete all the data on that snapshot. If + * any data on the snapshot that is marked for deletion is needed for subsequent snapshots, the data will be moved to the next corresponding snapshot. + * + * For more information, see Deleting snaphots. + */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the Snapshot resource to delete. */ + snapshot: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified Snapshot resource. Get a list of available snapshots by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the Snapshot resource to return. */ + snapshot: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Snapshot>; + /** Retrieves the list of Snapshot resources contained within the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SnapshotList>; + /** Sets the labels on a snapshot. To learn more about labels, read the Labeling Resources documentation. */ + setLabels(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the resource for this request. */ + resource: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface SslCertificatesResource { + /** Deletes the specified SslCertificate resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the SslCertificate resource to delete. */ + sslCertificate: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified SslCertificate resource. Get a list of available SSL certificates by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the SslCertificate resource to return. */ + sslCertificate: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SslCertificate>; + /** Creates a SslCertificate resource in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves the list of SslCertificate resources available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SslCertificateList>; + } + interface SubnetworksResource { + /** Retrieves an aggregated list of subnetworks. */ + aggregatedList(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SubnetworkAggregatedList>; + /** Deletes the specified subnetwork. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the Subnetwork resource to delete. */ + subnetwork: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Expands the IP CIDR range of the subnetwork to a specified value. */ + expandIpCidrRange(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the Subnetwork resource to update. */ + subnetwork: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified subnetwork. Get a list of available subnetworks list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** Name of the Subnetwork resource to return. */ + subnetwork: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Subnetwork>; + /** Creates a subnetwork in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves a list of subnetworks available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SubnetworkList>; + /** Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access. */ + setPrivateIpGoogleAccess(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the Subnetwork resource. */ + subnetwork: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface TargetHttpProxiesResource { + /** Deletes the specified TargetHttpProxy resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the TargetHttpProxy resource to delete. */ + targetHttpProxy: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified TargetHttpProxy resource. Get a list of available target HTTP proxies by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the TargetHttpProxy resource to return. */ + targetHttpProxy: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetHttpProxy>; + /** Creates a TargetHttpProxy resource in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves the list of TargetHttpProxy resources available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetHttpProxyList>; + /** Changes the URL map for TargetHttpProxy. */ + setUrlMap(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the TargetHttpProxy to set a URL map for. */ + targetHttpProxy: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface TargetHttpsProxiesResource { + /** Deletes the specified TargetHttpsProxy resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the TargetHttpsProxy resource to delete. */ + targetHttpsProxy: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified TargetHttpsProxy resource. Get a list of available target HTTPS proxies by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the TargetHttpsProxy resource to return. */ + targetHttpsProxy: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetHttpsProxy>; + /** Creates a TargetHttpsProxy resource in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves the list of TargetHttpsProxy resources available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetHttpsProxyList>; + /** Replaces SslCertificates for TargetHttpsProxy. */ + setSslCertificates(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the TargetHttpsProxy resource to set an SslCertificates resource for. */ + targetHttpsProxy: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Changes the URL map for TargetHttpsProxy. */ + setUrlMap(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the TargetHttpsProxy resource whose URL map is to be set. */ + targetHttpsProxy: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface TargetInstancesResource { + /** Retrieves an aggregated list of target instances. */ + aggregatedList(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetInstanceAggregatedList>; + /** Deletes the specified TargetInstance resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the TargetInstance resource to delete. */ + targetInstance: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Name of the zone scoping this request. */ + zone: string; + }): Request<Operation>; + /** Returns the specified TargetInstance resource. Get a list of available target instances by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the TargetInstance resource to return. */ + targetInstance: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Name of the zone scoping this request. */ + zone: string; + }): Request<TargetInstance>; + /** Creates a TargetInstance resource in the specified project and zone using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Name of the zone scoping this request. */ + zone: string; + }): Request<Operation>; + /** Retrieves a list of TargetInstance resources available to the specified project and zone. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Name of the zone scoping this request. */ + zone: string; + }): Request<TargetInstanceList>; + } + interface TargetPoolsResource { + /** Adds health check URLs to a target pool. */ + addHealthCheck(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the target pool to add a health check to. */ + targetPool: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Adds an instance to a target pool. */ + addInstance(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the TargetPool resource to add instances to. */ + targetPool: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves an aggregated list of target pools. */ + aggregatedList(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetPoolAggregatedList>; + /** Deletes the specified target pool. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the TargetPool resource to delete. */ + targetPool: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified target pool. Get a list of available target pools by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** Name of the TargetPool resource to return. */ + targetPool: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetPool>; + /** Gets the most recent health check results for each IP for the instance that is referenced by the given target pool. */ + getHealth(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** Name of the TargetPool resource to which the queried instance belongs. */ + targetPool: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetPoolInstanceHealth>; + /** Creates a target pool in the specified project and region using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves a list of target pools available to the specified project and region. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetPoolList>; + /** Removes health check URL from a target pool. */ + removeHealthCheck(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the target pool to remove health checks from. */ + targetPool: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Removes instance URL from a target pool. */ + removeInstance(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the TargetPool resource to remove instances from. */ + targetPool: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Changes a backup target pool's configurations. */ + setBackup(request: { + /** Data format for the response. */ + alt?: string; + /** New failoverRatio value for the target pool. */ + failoverRatio?: number; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region scoping this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the TargetPool resource to set a backup pool for. */ + targetPool: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface TargetSslProxiesResource { + /** Deletes the specified TargetSslProxy resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the TargetSslProxy resource to delete. */ + targetSslProxy: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified TargetSslProxy resource. Get a list of available target SSL proxies by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the TargetSslProxy resource to return. */ + targetSslProxy: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetSslProxy>; + /** Creates a TargetSslProxy resource in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves the list of TargetSslProxy resources available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetSslProxyList>; + /** Changes the BackendService for TargetSslProxy. */ + setBackendService(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the TargetSslProxy resource whose BackendService resource is to be set. */ + targetSslProxy: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Changes the ProxyHeaderType for TargetSslProxy. */ + setProxyHeader(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the TargetSslProxy resource whose ProxyHeader is to be set. */ + targetSslProxy: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Changes SslCertificates for TargetSslProxy. */ + setSslCertificates(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the TargetSslProxy resource whose SslCertificate resource is to be set. */ + targetSslProxy: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface TargetTcpProxiesResource { + /** Deletes the specified TargetTcpProxy resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the TargetTcpProxy resource to delete. */ + targetTcpProxy: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified TargetTcpProxy resource. Get a list of available target TCP proxies by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the TargetTcpProxy resource to return. */ + targetTcpProxy: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetTcpProxy>; + /** Creates a TargetTcpProxy resource in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves the list of TargetTcpProxy resources available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetTcpProxyList>; + /** Changes the BackendService for TargetTcpProxy. */ + setBackendService(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the TargetTcpProxy resource whose BackendService resource is to be set. */ + targetTcpProxy: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Changes the ProxyHeaderType for TargetTcpProxy. */ + setProxyHeader(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the TargetTcpProxy resource whose ProxyHeader is to be set. */ + targetTcpProxy: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface TargetVpnGatewaysResource { + /** Retrieves an aggregated list of target VPN gateways. */ + aggregatedList(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetVpnGatewayAggregatedList>; + /** Deletes the specified target VPN gateway. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the target VPN gateway to delete. */ + targetVpnGateway: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified target VPN gateway. Get a list of available target VPN gateways by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** Name of the target VPN gateway to return. */ + targetVpnGateway: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetVpnGateway>; + /** Creates a target VPN gateway in the specified project and region using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves a list of target VPN gateways available to the specified project and region. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetVpnGatewayList>; + } + interface UrlMapsResource { + /** Deletes the specified UrlMap resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the UrlMap resource to delete. */ + urlMap: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns the specified UrlMap resource. Get a list of available URL maps by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the UrlMap resource to return. */ + urlMap: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UrlMap>; + /** Creates a UrlMap resource in the specified project using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap. */ + invalidateCache(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the UrlMap scoping this request. */ + urlMap: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves the list of UrlMap resources available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UrlMapList>; + /** + * Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format + * and processing rules. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the UrlMap resource to patch. */ + urlMap: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Updates the specified UrlMap resource with the data included in the request. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** Name of the UrlMap resource to update. */ + urlMap: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap. */ + validate(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the UrlMap resource to be validated as. */ + urlMap: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UrlMapsValidateResponse>; + } + interface VpnTunnelsResource { + /** Retrieves an aggregated list of VPN tunnels. */ + aggregatedList(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<VpnTunnelAggregatedList>; + /** Deletes the specified VpnTunnel resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Name of the VpnTunnel resource to delete. */ + vpnTunnel: string; + }): Request<Operation>; + /** Returns the specified VpnTunnel resource. Get a list of available VPN tunnels by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Name of the VpnTunnel resource to return. */ + vpnTunnel: string; + }): Request<VpnTunnel>; + /** Creates a VpnTunnel resource in the specified project and region using the data included in the request. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, + * the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from + * accidentally creating duplicate commitments. + * + * The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves a list of VpnTunnel resources contained in the specified project and region. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the region for this request. */ + region: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<VpnTunnelList>; + } + interface ZoneOperationsResource { + /** Deletes the specified zone-specific Operations resource. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the Operations resource to delete. */ + operation: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Name of the zone for this request. */ + zone: string; + }): Request<void>; + /** Retrieves the specified zone-specific Operations resource. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the Operations resource to return. */ + operation: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Name of the zone for this request. */ + zone: string; + }): Request<Operation>; + /** Retrieves a list of Operation resources contained within the specified zone. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Name of the zone for request. */ + zone: string; + }): Request<OperationList>; + } + interface ZonesResource { + /** Returns the specified Zone resource. Get a list of available zones by making a list() request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Name of the zone resource to return. */ + zone: string; + }): Request<Zone>; + /** Retrieves the list of Zone resources available to the specified project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ZoneList>; + } + } +} diff --git a/types/gapi.client.compute/readme.md b/types/gapi.client.compute/readme.md new file mode 100644 index 0000000000..fcee121864 --- /dev/null +++ b/types/gapi.client.compute/readme.md @@ -0,0 +1,1557 @@ +# TypeScript typings for Compute Engine API v1 +Creates and runs virtual machines on Google Cloud Platform. +For detailed description please check [documentation](https://developers.google.com/compute/docs/reference/latest/). + +## Installing + +Install typings for Compute Engine API: +``` +npm install @types/gapi.client.compute@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('compute', 'v1', () => { + // now we can use gapi.client.compute + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View and manage your Google Compute Engine resources + 'https://www.googleapis.com/auth/compute', + + // View your Google Compute Engine resources + 'https://www.googleapis.com/auth/compute.readonly', + + // Manage your data and permissions in Google Cloud Storage + 'https://www.googleapis.com/auth/devstorage.full_control', + + // View your data in Google Cloud Storage + 'https://www.googleapis.com/auth/devstorage.read_only', + + // Manage your data in Google Cloud Storage + 'https://www.googleapis.com/auth/devstorage.read_write', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Compute Engine API resources: + +```typescript + +/* +Retrieves an aggregated list of accelerator types. +*/ +await gapi.client.acceleratorTypes.aggregatedList({ project: "project", }); + +/* +Returns the specified accelerator type. Get a list of available accelerator types by making a list() request. +*/ +await gapi.client.acceleratorTypes.get({ acceleratorType: "acceleratorType", project: "project", zone: "zone", }); + +/* +Retrieves a list of accelerator types available to the specified project. +*/ +await gapi.client.acceleratorTypes.list({ project: "project", zone: "zone", }); + +/* +Retrieves an aggregated list of addresses. +*/ +await gapi.client.addresses.aggregatedList({ project: "project", }); + +/* +Deletes the specified address resource. +*/ +await gapi.client.addresses.delete({ address: "address", project: "project", region: "region", }); + +/* +Returns the specified address resource. +*/ +await gapi.client.addresses.get({ address: "address", project: "project", region: "region", }); + +/* +Creates an address resource in the specified project using the data included in the request. +*/ +await gapi.client.addresses.insert({ project: "project", region: "region", }); + +/* +Retrieves a list of addresses contained within the specified region. +*/ +await gapi.client.addresses.list({ project: "project", region: "region", }); + +/* +Retrieves an aggregated list of autoscalers. +*/ +await gapi.client.autoscalers.aggregatedList({ project: "project", }); + +/* +Deletes the specified autoscaler. +*/ +await gapi.client.autoscalers.delete({ autoscaler: "autoscaler", project: "project", zone: "zone", }); + +/* +Returns the specified autoscaler resource. Get a list of available autoscalers by making a list() request. +*/ +await gapi.client.autoscalers.get({ autoscaler: "autoscaler", project: "project", zone: "zone", }); + +/* +Creates an autoscaler in the specified project using the data included in the request. +*/ +await gapi.client.autoscalers.insert({ project: "project", zone: "zone", }); + +/* +Retrieves a list of autoscalers contained within the specified zone. +*/ +await gapi.client.autoscalers.list({ project: "project", zone: "zone", }); + +/* +Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. +*/ +await gapi.client.autoscalers.patch({ project: "project", zone: "zone", }); + +/* +Updates an autoscaler in the specified project using the data included in the request. +*/ +await gapi.client.autoscalers.update({ project: "project", zone: "zone", }); + +/* +Deletes the specified BackendBucket resource. +*/ +await gapi.client.backendBuckets.delete({ backendBucket: "backendBucket", project: "project", }); + +/* +Returns the specified BackendBucket resource. Get a list of available backend buckets by making a list() request. +*/ +await gapi.client.backendBuckets.get({ backendBucket: "backendBucket", project: "project", }); + +/* +Creates a BackendBucket resource in the specified project using the data included in the request. +*/ +await gapi.client.backendBuckets.insert({ project: "project", }); + +/* +Retrieves the list of BackendBucket resources available to the specified project. +*/ +await gapi.client.backendBuckets.list({ project: "project", }); + +/* +Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. +*/ +await gapi.client.backendBuckets.patch({ backendBucket: "backendBucket", project: "project", }); + +/* +Updates the specified BackendBucket resource with the data included in the request. +*/ +await gapi.client.backendBuckets.update({ backendBucket: "backendBucket", project: "project", }); + +/* +Retrieves the list of all BackendService resources, regional and global, available to the specified project. +*/ +await gapi.client.backendServices.aggregatedList({ project: "project", }); + +/* +Deletes the specified BackendService resource. +*/ +await gapi.client.backendServices.delete({ backendService: "backendService", project: "project", }); + +/* +Returns the specified BackendService resource. Get a list of available backend services by making a list() request. +*/ +await gapi.client.backendServices.get({ backendService: "backendService", project: "project", }); + +/* +Gets the most recent health check results for this BackendService. +*/ +await gapi.client.backendServices.getHealth({ backendService: "backendService", project: "project", }); + +/* +Creates a BackendService resource in the specified project using the data included in the request. There are several restrictions and guidelines to keep in mind when creating a backend service. Read Restrictions and Guidelines for more information. +*/ +await gapi.client.backendServices.insert({ project: "project", }); + +/* +Retrieves the list of BackendService resources available to the specified project. +*/ +await gapi.client.backendServices.list({ project: "project", }); + +/* +Patches the specified BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in mind when updating a backend service. Read Restrictions and Guidelines for more information. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. +*/ +await gapi.client.backendServices.patch({ backendService: "backendService", project: "project", }); + +/* +Updates the specified BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in mind when updating a backend service. Read Restrictions and Guidelines for more information. +*/ +await gapi.client.backendServices.update({ backendService: "backendService", project: "project", }); + +/* +Retrieves an aggregated list of disk types. +*/ +await gapi.client.diskTypes.aggregatedList({ project: "project", }); + +/* +Returns the specified disk type. Get a list of available disk types by making a list() request. +*/ +await gapi.client.diskTypes.get({ diskType: "diskType", project: "project", zone: "zone", }); + +/* +Retrieves a list of disk types available to the specified project. +*/ +await gapi.client.diskTypes.list({ project: "project", zone: "zone", }); + +/* +Retrieves an aggregated list of persistent disks. +*/ +await gapi.client.disks.aggregatedList({ project: "project", }); + +/* +Creates a snapshot of a specified persistent disk. +*/ +await gapi.client.disks.createSnapshot({ disk: "disk", project: "project", zone: "zone", }); + +/* +Deletes the specified persistent disk. Deleting a disk removes its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots. +*/ +await gapi.client.disks.delete({ disk: "disk", project: "project", zone: "zone", }); + +/* +Returns a specified persistent disk. Get a list of available persistent disks by making a list() request. +*/ +await gapi.client.disks.get({ disk: "disk", project: "project", zone: "zone", }); + +/* +Creates a persistent disk in the specified project using the data in the request. You can create a disk with a sourceImage, a sourceSnapshot, or create an empty 500 GB data disk by omitting all properties. You can also create a disk that is larger than the default size by specifying the sizeGb property. +*/ +await gapi.client.disks.insert({ project: "project", zone: "zone", }); + +/* +Retrieves a list of persistent disks contained within the specified zone. +*/ +await gapi.client.disks.list({ project: "project", zone: "zone", }); + +/* +Resizes the specified persistent disk. +*/ +await gapi.client.disks.resize({ disk: "disk", project: "project", zone: "zone", }); + +/* +Sets the labels on a disk. To learn more about labels, read the Labeling Resources documentation. +*/ +await gapi.client.disks.setLabels({ project: "project", resource: "resource", zone: "zone", }); + +/* +Deletes the specified firewall. +*/ +await gapi.client.firewalls.delete({ firewall: "firewall", project: "project", }); + +/* +Returns the specified firewall. +*/ +await gapi.client.firewalls.get({ firewall: "firewall", project: "project", }); + +/* +Creates a firewall rule in the specified project using the data included in the request. +*/ +await gapi.client.firewalls.insert({ project: "project", }); + +/* +Retrieves the list of firewall rules available to the specified project. +*/ +await gapi.client.firewalls.list({ project: "project", }); + +/* +Updates the specified firewall rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. +*/ +await gapi.client.firewalls.patch({ firewall: "firewall", project: "project", }); + +/* +Updates the specified firewall rule with the data included in the request. Using PUT method, can only update following fields of firewall rule: allowed, description, sourceRanges, sourceTags, targetTags. +*/ +await gapi.client.firewalls.update({ firewall: "firewall", project: "project", }); + +/* +Retrieves an aggregated list of forwarding rules. +*/ +await gapi.client.forwardingRules.aggregatedList({ project: "project", }); + +/* +Deletes the specified ForwardingRule resource. +*/ +await gapi.client.forwardingRules.delete({ forwardingRule: "forwardingRule", project: "project", region: "region", }); + +/* +Returns the specified ForwardingRule resource. +*/ +await gapi.client.forwardingRules.get({ forwardingRule: "forwardingRule", project: "project", region: "region", }); + +/* +Creates a ForwardingRule resource in the specified project and region using the data included in the request. +*/ +await gapi.client.forwardingRules.insert({ project: "project", region: "region", }); + +/* +Retrieves a list of ForwardingRule resources available to the specified project and region. +*/ +await gapi.client.forwardingRules.list({ project: "project", region: "region", }); + +/* +Changes target URL for forwarding rule. The new target should be of the same type as the old target. +*/ +await gapi.client.forwardingRules.setTarget({ forwardingRule: "forwardingRule", project: "project", region: "region", }); + +/* +Deletes the specified address resource. +*/ +await gapi.client.globalAddresses.delete({ address: "address", project: "project", }); + +/* +Returns the specified address resource. Get a list of available addresses by making a list() request. +*/ +await gapi.client.globalAddresses.get({ address: "address", project: "project", }); + +/* +Creates an address resource in the specified project using the data included in the request. +*/ +await gapi.client.globalAddresses.insert({ project: "project", }); + +/* +Retrieves a list of global addresses. +*/ +await gapi.client.globalAddresses.list({ project: "project", }); + +/* +Deletes the specified GlobalForwardingRule resource. +*/ +await gapi.client.globalForwardingRules.delete({ forwardingRule: "forwardingRule", project: "project", }); + +/* +Returns the specified GlobalForwardingRule resource. Get a list of available forwarding rules by making a list() request. +*/ +await gapi.client.globalForwardingRules.get({ forwardingRule: "forwardingRule", project: "project", }); + +/* +Creates a GlobalForwardingRule resource in the specified project using the data included in the request. +*/ +await gapi.client.globalForwardingRules.insert({ project: "project", }); + +/* +Retrieves a list of GlobalForwardingRule resources available to the specified project. +*/ +await gapi.client.globalForwardingRules.list({ project: "project", }); + +/* +Changes target URL for the GlobalForwardingRule resource. The new target should be of the same type as the old target. +*/ +await gapi.client.globalForwardingRules.setTarget({ forwardingRule: "forwardingRule", project: "project", }); + +/* +Retrieves an aggregated list of all operations. +*/ +await gapi.client.globalOperations.aggregatedList({ project: "project", }); + +/* +Deletes the specified Operations resource. +*/ +await gapi.client.globalOperations.delete({ operation: "operation", project: "project", }); + +/* +Retrieves the specified Operations resource. Get a list of operations by making a list() request. +*/ +await gapi.client.globalOperations.get({ operation: "operation", project: "project", }); + +/* +Retrieves a list of Operation resources contained within the specified project. +*/ +await gapi.client.globalOperations.list({ project: "project", }); + +/* +Deletes the specified HealthCheck resource. +*/ +await gapi.client.healthChecks.delete({ healthCheck: "healthCheck", project: "project", }); + +/* +Returns the specified HealthCheck resource. Get a list of available health checks by making a list() request. +*/ +await gapi.client.healthChecks.get({ healthCheck: "healthCheck", project: "project", }); + +/* +Creates a HealthCheck resource in the specified project using the data included in the request. +*/ +await gapi.client.healthChecks.insert({ project: "project", }); + +/* +Retrieves the list of HealthCheck resources available to the specified project. +*/ +await gapi.client.healthChecks.list({ project: "project", }); + +/* +Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. +*/ +await gapi.client.healthChecks.patch({ healthCheck: "healthCheck", project: "project", }); + +/* +Updates a HealthCheck resource in the specified project using the data included in the request. +*/ +await gapi.client.healthChecks.update({ healthCheck: "healthCheck", project: "project", }); + +/* +Deletes the specified HttpHealthCheck resource. +*/ +await gapi.client.httpHealthChecks.delete({ httpHealthCheck: "httpHealthCheck", project: "project", }); + +/* +Returns the specified HttpHealthCheck resource. Get a list of available HTTP health checks by making a list() request. +*/ +await gapi.client.httpHealthChecks.get({ httpHealthCheck: "httpHealthCheck", project: "project", }); + +/* +Creates a HttpHealthCheck resource in the specified project using the data included in the request. +*/ +await gapi.client.httpHealthChecks.insert({ project: "project", }); + +/* +Retrieves the list of HttpHealthCheck resources available to the specified project. +*/ +await gapi.client.httpHealthChecks.list({ project: "project", }); + +/* +Updates a HttpHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. +*/ +await gapi.client.httpHealthChecks.patch({ httpHealthCheck: "httpHealthCheck", project: "project", }); + +/* +Updates a HttpHealthCheck resource in the specified project using the data included in the request. +*/ +await gapi.client.httpHealthChecks.update({ httpHealthCheck: "httpHealthCheck", project: "project", }); + +/* +Deletes the specified HttpsHealthCheck resource. +*/ +await gapi.client.httpsHealthChecks.delete({ httpsHealthCheck: "httpsHealthCheck", project: "project", }); + +/* +Returns the specified HttpsHealthCheck resource. Get a list of available HTTPS health checks by making a list() request. +*/ +await gapi.client.httpsHealthChecks.get({ httpsHealthCheck: "httpsHealthCheck", project: "project", }); + +/* +Creates a HttpsHealthCheck resource in the specified project using the data included in the request. +*/ +await gapi.client.httpsHealthChecks.insert({ project: "project", }); + +/* +Retrieves the list of HttpsHealthCheck resources available to the specified project. +*/ +await gapi.client.httpsHealthChecks.list({ project: "project", }); + +/* +Updates a HttpsHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. +*/ +await gapi.client.httpsHealthChecks.patch({ httpsHealthCheck: "httpsHealthCheck", project: "project", }); + +/* +Updates a HttpsHealthCheck resource in the specified project using the data included in the request. +*/ +await gapi.client.httpsHealthChecks.update({ httpsHealthCheck: "httpsHealthCheck", project: "project", }); + +/* +Deletes the specified image. +*/ +await gapi.client.images.delete({ image: "image", project: "project", }); + +/* +Sets the deprecation status of an image. + +If an empty request body is given, clears the deprecation status instead. +*/ +await gapi.client.images.deprecate({ image: "image", project: "project", }); + +/* +Returns the specified image. Get a list of available images by making a list() request. +*/ +await gapi.client.images.get({ image: "image", project: "project", }); + +/* +Returns the latest image that is part of an image family and is not deprecated. +*/ +await gapi.client.images.getFromFamily({ family: "family", project: "project", }); + +/* +Creates an image in the specified project using the data included in the request. +*/ +await gapi.client.images.insert({ project: "project", }); + +/* +Retrieves the list of private images available to the specified project. Private images are images you create that belong to your project. This method does not get any images that belong to other projects, including publicly-available images, like Debian 8. If you want to get a list of publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud. +*/ +await gapi.client.images.list({ project: "project", }); + +/* +Sets the labels on an image. To learn more about labels, read the Labeling Resources documentation. +*/ +await gapi.client.images.setLabels({ project: "project", resource: "resource", }); + +/* +Schedules a group action to remove the specified instances from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. + +If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. + +You can specify a maximum of 1000 instances with this method per request. +*/ +await gapi.client.instanceGroupManagers.abandonInstances({ instanceGroupManager: "instanceGroupManager", project: "project", zone: "zone", }); + +/* +Retrieves the list of managed instance groups and groups them by zone. +*/ +await gapi.client.instanceGroupManagers.aggregatedList({ project: "project", }); + +/* +Deletes the specified managed instance group and all of the instances in that group. Note that the instance group must not belong to a backend service. Read Deleting an instance group for more information. +*/ +await gapi.client.instanceGroupManagers.delete({ instanceGroupManager: "instanceGroupManager", project: "project", zone: "zone", }); + +/* +Schedules a group action to delete the specified instances in the managed instance group. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action with the listmanagedinstances method. + +If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. + +You can specify a maximum of 1000 instances with this method per request. +*/ +await gapi.client.instanceGroupManagers.deleteInstances({ instanceGroupManager: "instanceGroupManager", project: "project", zone: "zone", }); + +/* +Returns all of the details about the specified managed instance group. Get a list of available managed instance groups by making a list() request. +*/ +await gapi.client.instanceGroupManagers.get({ instanceGroupManager: "instanceGroupManager", project: "project", zone: "zone", }); + +/* +Creates a managed instance group using the information that you specify in the request. After the group is created, it schedules an action to create instances in the group using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. + +A managed instance group can have up to 1000 VM instances per group. Please contact Cloud Support if you need an increase in this limit. +*/ +await gapi.client.instanceGroupManagers.insert({ project: "project", zone: "zone", }); + +/* +Retrieves a list of managed instance groups that are contained within the specified project and zone. +*/ +await gapi.client.instanceGroupManagers.list({ project: "project", zone: "zone", }); + +/* +Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action. +*/ +await gapi.client.instanceGroupManagers.listManagedInstances({ instanceGroupManager: "instanceGroupManager", project: "project", zone: "zone", }); + +/* +Schedules a group action to recreate the specified instances in the managed instance group. The instances are deleted and recreated using the current instance template for the managed instance group. This operation is marked as DONE when the action is scheduled even if the instances have not yet been recreated. You must separately verify the status of the recreating action with the listmanagedinstances method. + +If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. + +You can specify a maximum of 1000 instances with this method per request. +*/ +await gapi.client.instanceGroupManagers.recreateInstances({ instanceGroupManager: "instanceGroupManager", project: "project", zone: "zone", }); + +/* +Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. + +If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. +*/ +await gapi.client.instanceGroupManagers.resize({ instanceGroupManager: "instanceGroupManager", project: "project", size: 1, zone: "zone", }); + +/* +Specifies the instance template to use when creating new instances in this group. The templates for existing instances in the group do not change unless you recreate them. +*/ +await gapi.client.instanceGroupManagers.setInstanceTemplate({ instanceGroupManager: "instanceGroupManager", project: "project", zone: "zone", }); + +/* +Modifies the target pools to which all instances in this managed instance group are assigned. The target pools automatically apply to all of the instances in the managed instance group. This operation is marked DONE when you make the request even if the instances have not yet been added to their target pools. The change might take some time to apply to all of the instances in the group depending on the size of the group. +*/ +await gapi.client.instanceGroupManagers.setTargetPools({ instanceGroupManager: "instanceGroupManager", project: "project", zone: "zone", }); + +/* +Adds a list of instances to the specified instance group. All of the instances in the instance group must be in the same network/subnetwork. Read Adding instances for more information. +*/ +await gapi.client.instanceGroups.addInstances({ instanceGroup: "instanceGroup", project: "project", zone: "zone", }); + +/* +Retrieves the list of instance groups and sorts them by zone. +*/ +await gapi.client.instanceGroups.aggregatedList({ project: "project", }); + +/* +Deletes the specified instance group. The instances in the group are not deleted. Note that instance group must not belong to a backend service. Read Deleting an instance group for more information. +*/ +await gapi.client.instanceGroups.delete({ instanceGroup: "instanceGroup", project: "project", zone: "zone", }); + +/* +Returns the specified instance group. Get a list of available instance groups by making a list() request. +*/ +await gapi.client.instanceGroups.get({ instanceGroup: "instanceGroup", project: "project", zone: "zone", }); + +/* +Creates an instance group in the specified project using the parameters that are included in the request. +*/ +await gapi.client.instanceGroups.insert({ project: "project", zone: "zone", }); + +/* +Retrieves the list of instance groups that are located in the specified project and zone. +*/ +await gapi.client.instanceGroups.list({ project: "project", zone: "zone", }); + +/* +Lists the instances in the specified instance group. +*/ +await gapi.client.instanceGroups.listInstances({ instanceGroup: "instanceGroup", project: "project", zone: "zone", }); + +/* +Removes one or more instances from the specified instance group, but does not delete those instances. + +If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration before the VM instance is removed or deleted. +*/ +await gapi.client.instanceGroups.removeInstances({ instanceGroup: "instanceGroup", project: "project", zone: "zone", }); + +/* +Sets the named ports for the specified instance group. +*/ +await gapi.client.instanceGroups.setNamedPorts({ instanceGroup: "instanceGroup", project: "project", zone: "zone", }); + +/* +Deletes the specified instance template. If you delete an instance template that is being referenced from another instance group, the instance group will not be able to create or recreate virtual machine instances. Deleting an instance template is permanent and cannot be undone. +*/ +await gapi.client.instanceTemplates.delete({ instanceTemplate: "instanceTemplate", project: "project", }); + +/* +Returns the specified instance template. Get a list of available instance templates by making a list() request. +*/ +await gapi.client.instanceTemplates.get({ instanceTemplate: "instanceTemplate", project: "project", }); + +/* +Creates an instance template in the specified project using the data that is included in the request. If you are creating a new template to update an existing instance group, your new instance template must use the same network or, if applicable, the same subnetwork as the original template. +*/ +await gapi.client.instanceTemplates.insert({ project: "project", }); + +/* +Retrieves a list of instance templates that are contained within the specified project and zone. +*/ +await gapi.client.instanceTemplates.list({ project: "project", }); + +/* +Adds an access config to an instance's network interface. +*/ +await gapi.client.instances.addAccessConfig({ instance: "instance", networkInterface: "networkInterface", project: "project", zone: "zone", }); + +/* +Retrieves aggregated list of instances. +*/ +await gapi.client.instances.aggregatedList({ project: "project", }); + +/* +Attaches an existing Disk resource to an instance. You must first create the disk before you can attach it. It is not possible to create and attach a disk at the same time. For more information, read Adding a persistent disk to your instance. +*/ +await gapi.client.instances.attachDisk({ instance: "instance", project: "project", zone: "zone", }); + +/* +Deletes the specified Instance resource. For more information, see Stopping or Deleting an Instance. +*/ +await gapi.client.instances.delete({ instance: "instance", project: "project", zone: "zone", }); + +/* +Deletes an access config from an instance's network interface. +*/ +await gapi.client.instances.deleteAccessConfig({ accessConfig: "accessConfig", instance: "instance", networkInterface: "networkInterface", project: "project", zone: "zone", }); + +/* +Detaches a disk from an instance. +*/ +await gapi.client.instances.detachDisk({ deviceName: "deviceName", instance: "instance", project: "project", zone: "zone", }); + +/* +Returns the specified Instance resource. Get a list of available instances by making a list() request. +*/ +await gapi.client.instances.get({ instance: "instance", project: "project", zone: "zone", }); + +/* +Returns the specified instance's serial port output. +*/ +await gapi.client.instances.getSerialPortOutput({ instance: "instance", project: "project", zone: "zone", }); + +/* +Creates an instance resource in the specified project using the data included in the request. +*/ +await gapi.client.instances.insert({ project: "project", zone: "zone", }); + +/* +Retrieves the list of instances contained within the specified zone. +*/ +await gapi.client.instances.list({ project: "project", zone: "zone", }); + +/* +Performs a reset on the instance. For more information, see Resetting an instance. +*/ +await gapi.client.instances.reset({ instance: "instance", project: "project", zone: "zone", }); + +/* +Sets the auto-delete flag for a disk attached to an instance. +*/ +await gapi.client.instances.setDiskAutoDelete({ autoDelete: , deviceName: "deviceName", instance: "instance", project: "project", zone: "zone", }); + +/* +Sets labels on an instance. To learn more about labels, read the Labeling Resources documentation. +*/ +await gapi.client.instances.setLabels({ instance: "instance", project: "project", zone: "zone", }); + +/* +Changes the number and/or type of accelerator for a stopped instance to the values specified in the request. +*/ +await gapi.client.instances.setMachineResources({ instance: "instance", project: "project", zone: "zone", }); + +/* +Changes the machine type for a stopped instance to the machine type specified in the request. +*/ +await gapi.client.instances.setMachineType({ instance: "instance", project: "project", zone: "zone", }); + +/* +Sets metadata for the specified instance to the data included in the request. +*/ +await gapi.client.instances.setMetadata({ instance: "instance", project: "project", zone: "zone", }); + +/* +Changes the minimum CPU platform that this instance should use. This method can only be called on a stopped instance. For more information, read Specifying a Minimum CPU Platform. +*/ +await gapi.client.instances.setMinCpuPlatform({ instance: "instance", project: "project", zone: "zone", }); + +/* +Sets an instance's scheduling options. +*/ +await gapi.client.instances.setScheduling({ instance: "instance", project: "project", zone: "zone", }); + +/* +Sets the service account on the instance. For more information, read Changing the service account and access scopes for an instance. +*/ +await gapi.client.instances.setServiceAccount({ instance: "instance", project: "project", zone: "zone", }); + +/* +Sets tags for the specified instance to the data included in the request. +*/ +await gapi.client.instances.setTags({ instance: "instance", project: "project", zone: "zone", }); + +/* +Starts an instance that was stopped using the using the instances().stop method. For more information, see Restart an instance. +*/ +await gapi.client.instances.start({ instance: "instance", project: "project", zone: "zone", }); + +/* +Starts an instance that was stopped using the using the instances().stop method. For more information, see Restart an instance. +*/ +await gapi.client.instances.startWithEncryptionKey({ instance: "instance", project: "project", zone: "zone", }); + +/* +Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time. Stopped instances do not incur per-minute, virtual machine usage charges while they are stopped, but any resources that the virtual machine is using, such as persistent disks and static IP addresses, will continue to be charged until they are deleted. For more information, see Stopping an instance. +*/ +await gapi.client.instances.stop({ instance: "instance", project: "project", zone: "zone", }); + +/* +Returns the specified License resource. +*/ +await gapi.client.licenses.get({ license: "license", project: "project", }); + +/* +Retrieves an aggregated list of machine types. +*/ +await gapi.client.machineTypes.aggregatedList({ project: "project", }); + +/* +Returns the specified machine type. Get a list of available machine types by making a list() request. +*/ +await gapi.client.machineTypes.get({ machineType: "machineType", project: "project", zone: "zone", }); + +/* +Retrieves a list of machine types available to the specified project. +*/ +await gapi.client.machineTypes.list({ project: "project", zone: "zone", }); + +/* +Adds a peering to the specified network. +*/ +await gapi.client.networks.addPeering({ network: "network", project: "project", }); + +/* +Deletes the specified network. +*/ +await gapi.client.networks.delete({ network: "network", project: "project", }); + +/* +Returns the specified network. Get a list of available networks by making a list() request. +*/ +await gapi.client.networks.get({ network: "network", project: "project", }); + +/* +Creates a network in the specified project using the data included in the request. +*/ +await gapi.client.networks.insert({ project: "project", }); + +/* +Retrieves the list of networks available to the specified project. +*/ +await gapi.client.networks.list({ project: "project", }); + +/* +Patches the specified network with the data included in the request. +*/ +await gapi.client.networks.patch({ network: "network", project: "project", }); + +/* +Removes a peering from the specified network. +*/ +await gapi.client.networks.removePeering({ network: "network", project: "project", }); + +/* +Switches the network mode from auto subnet mode to custom subnet mode. +*/ +await gapi.client.networks.switchToCustomMode({ network: "network", project: "project", }); + +/* +Disable this project as a shared VPC host project. +*/ +await gapi.client.projects.disableXpnHost({ project: "project", }); + +/* +Disable a serivce resource (a.k.a service project) associated with this host project. +*/ +await gapi.client.projects.disableXpnResource({ project: "project", }); + +/* +Enable this project as a shared VPC host project. +*/ +await gapi.client.projects.enableXpnHost({ project: "project", }); + +/* +Enable service resource (a.k.a service project) for a host project, so that subnets in the host project can be used by instances in the service project. +*/ +await gapi.client.projects.enableXpnResource({ project: "project", }); + +/* +Returns the specified Project resource. +*/ +await gapi.client.projects.get({ project: "project", }); + +/* +Get the shared VPC host project that this project links to. May be empty if no link exists. +*/ +await gapi.client.projects.getXpnHost({ project: "project", }); + +/* +Get service resources (a.k.a service project) associated with this host project. +*/ +await gapi.client.projects.getXpnResources({ project: "project", }); + +/* +List all shared VPC host projects visible to the user in an organization. +*/ +await gapi.client.projects.listXpnHosts({ project: "project", }); + +/* +Moves a persistent disk from one zone to another. +*/ +await gapi.client.projects.moveDisk({ project: "project", }); + +/* +Moves an instance and its attached persistent disks from one zone to another. +*/ +await gapi.client.projects.moveInstance({ project: "project", }); + +/* +Sets metadata common to all instances within the specified project using the data included in the request. +*/ +await gapi.client.projects.setCommonInstanceMetadata({ project: "project", }); + +/* +Enables the usage export feature and sets the usage export bucket where reports are stored. If you provide an empty request body using this method, the usage export feature will be disabled. +*/ +await gapi.client.projects.setUsageExportBucket({ project: "project", }); + +/* +Deletes the specified autoscaler. +*/ +await gapi.client.regionAutoscalers.delete({ autoscaler: "autoscaler", project: "project", region: "region", }); + +/* +Returns the specified autoscaler. +*/ +await gapi.client.regionAutoscalers.get({ autoscaler: "autoscaler", project: "project", region: "region", }); + +/* +Creates an autoscaler in the specified project using the data included in the request. +*/ +await gapi.client.regionAutoscalers.insert({ project: "project", region: "region", }); + +/* +Retrieves a list of autoscalers contained within the specified region. +*/ +await gapi.client.regionAutoscalers.list({ project: "project", region: "region", }); + +/* +Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. +*/ +await gapi.client.regionAutoscalers.patch({ project: "project", region: "region", }); + +/* +Updates an autoscaler in the specified project using the data included in the request. +*/ +await gapi.client.regionAutoscalers.update({ project: "project", region: "region", }); + +/* +Deletes the specified regional BackendService resource. +*/ +await gapi.client.regionBackendServices.delete({ backendService: "backendService", project: "project", region: "region", }); + +/* +Returns the specified regional BackendService resource. +*/ +await gapi.client.regionBackendServices.get({ backendService: "backendService", project: "project", region: "region", }); + +/* +Gets the most recent health check results for this regional BackendService. +*/ +await gapi.client.regionBackendServices.getHealth({ backendService: "backendService", project: "project", region: "region", }); + +/* +Creates a regional BackendService resource in the specified project using the data included in the request. There are several restrictions and guidelines to keep in mind when creating a regional backend service. Read Restrictions and Guidelines for more information. +*/ +await gapi.client.regionBackendServices.insert({ project: "project", region: "region", }); + +/* +Retrieves the list of regional BackendService resources available to the specified project in the given region. +*/ +await gapi.client.regionBackendServices.list({ project: "project", region: "region", }); + +/* +Updates the specified regional BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in mind when updating a backend service. Read Restrictions and Guidelines for more information. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. +*/ +await gapi.client.regionBackendServices.patch({ backendService: "backendService", project: "project", region: "region", }); + +/* +Updates the specified regional BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in mind when updating a backend service. Read Restrictions and Guidelines for more information. +*/ +await gapi.client.regionBackendServices.update({ backendService: "backendService", project: "project", region: "region", }); + +/* +Retrieves an aggregated list of commitments. +*/ +await gapi.client.regionCommitments.aggregatedList({ project: "project", }); + +/* +Returns the specified commitment resource. Get a list of available commitments by making a list() request. +*/ +await gapi.client.regionCommitments.get({ commitment: "commitment", project: "project", region: "region", }); + +/* +Creates a commitment in the specified project using the data included in the request. +*/ +await gapi.client.regionCommitments.insert({ project: "project", region: "region", }); + +/* +Retrieves a list of commitments contained within the specified region. +*/ +await gapi.client.regionCommitments.list({ project: "project", region: "region", }); + +/* +Schedules a group action to remove the specified instances from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. + +If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. + +You can specify a maximum of 1000 instances with this method per request. +*/ +await gapi.client.regionInstanceGroupManagers.abandonInstances({ instanceGroupManager: "instanceGroupManager", project: "project", region: "region", }); + +/* +Deletes the specified managed instance group and all of the instances in that group. +*/ +await gapi.client.regionInstanceGroupManagers.delete({ instanceGroupManager: "instanceGroupManager", project: "project", region: "region", }); + +/* +Schedules a group action to delete the specified instances in the managed instance group. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action with the listmanagedinstances method. + +If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. + +You can specify a maximum of 1000 instances with this method per request. +*/ +await gapi.client.regionInstanceGroupManagers.deleteInstances({ instanceGroupManager: "instanceGroupManager", project: "project", region: "region", }); + +/* +Returns all of the details about the specified managed instance group. +*/ +await gapi.client.regionInstanceGroupManagers.get({ instanceGroupManager: "instanceGroupManager", project: "project", region: "region", }); + +/* +Creates a managed instance group using the information that you specify in the request. After the group is created, it schedules an action to create instances in the group using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. + +A regional managed instance group can contain up to 2000 instances. +*/ +await gapi.client.regionInstanceGroupManagers.insert({ project: "project", region: "region", }); + +/* +Retrieves the list of managed instance groups that are contained within the specified region. +*/ +await gapi.client.regionInstanceGroupManagers.list({ project: "project", region: "region", }); + +/* +Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances. +*/ +await gapi.client.regionInstanceGroupManagers.listManagedInstances({ instanceGroupManager: "instanceGroupManager", project: "project", region: "region", }); + +/* +Schedules a group action to recreate the specified instances in the managed instance group. The instances are deleted and recreated using the current instance template for the managed instance group. This operation is marked as DONE when the action is scheduled even if the instances have not yet been recreated. You must separately verify the status of the recreating action with the listmanagedinstances method. + +If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. + +You can specify a maximum of 1000 instances with this method per request. +*/ +await gapi.client.regionInstanceGroupManagers.recreateInstances({ instanceGroupManager: "instanceGroupManager", project: "project", region: "region", }); + +/* +Changes the intended size for the managed instance group. If you increase the size, the group schedules actions to create new instances using the current instance template. If you decrease the size, the group schedules delete actions on one or more instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. + +If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. +*/ +await gapi.client.regionInstanceGroupManagers.resize({ instanceGroupManager: "instanceGroupManager", project: "project", region: "region", size: 1, }); + +/* +Sets the instance template to use when creating new instances or recreating instances in this group. Existing instances are not affected. +*/ +await gapi.client.regionInstanceGroupManagers.setInstanceTemplate({ instanceGroupManager: "instanceGroupManager", project: "project", region: "region", }); + +/* +Modifies the target pools to which all new instances in this group are assigned. Existing instances in the group are not affected. +*/ +await gapi.client.regionInstanceGroupManagers.setTargetPools({ instanceGroupManager: "instanceGroupManager", project: "project", region: "region", }); + +/* +Returns the specified instance group resource. +*/ +await gapi.client.regionInstanceGroups.get({ instanceGroup: "instanceGroup", project: "project", region: "region", }); + +/* +Retrieves the list of instance group resources contained within the specified region. +*/ +await gapi.client.regionInstanceGroups.list({ project: "project", region: "region", }); + +/* +Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running. +*/ +await gapi.client.regionInstanceGroups.listInstances({ instanceGroup: "instanceGroup", project: "project", region: "region", }); + +/* +Sets the named ports for the specified regional instance group. +*/ +await gapi.client.regionInstanceGroups.setNamedPorts({ instanceGroup: "instanceGroup", project: "project", region: "region", }); + +/* +Deletes the specified region-specific Operations resource. +*/ +await gapi.client.regionOperations.delete({ operation: "operation", project: "project", region: "region", }); + +/* +Retrieves the specified region-specific Operations resource. +*/ +await gapi.client.regionOperations.get({ operation: "operation", project: "project", region: "region", }); + +/* +Retrieves a list of Operation resources contained within the specified region. +*/ +await gapi.client.regionOperations.list({ project: "project", region: "region", }); + +/* +Returns the specified Region resource. Get a list of available regions by making a list() request. +*/ +await gapi.client.regions.get({ project: "project", region: "region", }); + +/* +Retrieves the list of region resources available to the specified project. +*/ +await gapi.client.regions.list({ project: "project", }); + +/* +Retrieves an aggregated list of routers. +*/ +await gapi.client.routers.aggregatedList({ project: "project", }); + +/* +Deletes the specified Router resource. +*/ +await gapi.client.routers.delete({ project: "project", region: "region", router: "router", }); + +/* +Returns the specified Router resource. Get a list of available routers by making a list() request. +*/ +await gapi.client.routers.get({ project: "project", region: "region", router: "router", }); + +/* +Retrieves runtime information of the specified router. +*/ +await gapi.client.routers.getRouterStatus({ project: "project", region: "region", router: "router", }); + +/* +Creates a Router resource in the specified project and region using the data included in the request. +*/ +await gapi.client.routers.insert({ project: "project", region: "region", }); + +/* +Retrieves a list of Router resources available to the specified project. +*/ +await gapi.client.routers.list({ project: "project", region: "region", }); + +/* +Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. +*/ +await gapi.client.routers.patch({ project: "project", region: "region", router: "router", }); + +/* +Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router. +*/ +await gapi.client.routers.preview({ project: "project", region: "region", router: "router", }); + +/* +Updates the specified Router resource with the data included in the request. +*/ +await gapi.client.routers.update({ project: "project", region: "region", router: "router", }); + +/* +Deletes the specified Route resource. +*/ +await gapi.client.routes.delete({ project: "project", route: "route", }); + +/* +Returns the specified Route resource. Get a list of available routes by making a list() request. +*/ +await gapi.client.routes.get({ project: "project", route: "route", }); + +/* +Creates a Route resource in the specified project using the data included in the request. +*/ +await gapi.client.routes.insert({ project: "project", }); + +/* +Retrieves the list of Route resources available to the specified project. +*/ +await gapi.client.routes.list({ project: "project", }); + +/* +Deletes the specified Snapshot resource. Keep in mind that deleting a single snapshot might not necessarily delete all the data on that snapshot. If any data on the snapshot that is marked for deletion is needed for subsequent snapshots, the data will be moved to the next corresponding snapshot. + +For more information, see Deleting snaphots. +*/ +await gapi.client.snapshots.delete({ project: "project", snapshot: "snapshot", }); + +/* +Returns the specified Snapshot resource. Get a list of available snapshots by making a list() request. +*/ +await gapi.client.snapshots.get({ project: "project", snapshot: "snapshot", }); + +/* +Retrieves the list of Snapshot resources contained within the specified project. +*/ +await gapi.client.snapshots.list({ project: "project", }); + +/* +Sets the labels on a snapshot. To learn more about labels, read the Labeling Resources documentation. +*/ +await gapi.client.snapshots.setLabels({ project: "project", resource: "resource", }); + +/* +Deletes the specified SslCertificate resource. +*/ +await gapi.client.sslCertificates.delete({ project: "project", sslCertificate: "sslCertificate", }); + +/* +Returns the specified SslCertificate resource. Get a list of available SSL certificates by making a list() request. +*/ +await gapi.client.sslCertificates.get({ project: "project", sslCertificate: "sslCertificate", }); + +/* +Creates a SslCertificate resource in the specified project using the data included in the request. +*/ +await gapi.client.sslCertificates.insert({ project: "project", }); + +/* +Retrieves the list of SslCertificate resources available to the specified project. +*/ +await gapi.client.sslCertificates.list({ project: "project", }); + +/* +Retrieves an aggregated list of subnetworks. +*/ +await gapi.client.subnetworks.aggregatedList({ project: "project", }); + +/* +Deletes the specified subnetwork. +*/ +await gapi.client.subnetworks.delete({ project: "project", region: "region", subnetwork: "subnetwork", }); + +/* +Expands the IP CIDR range of the subnetwork to a specified value. +*/ +await gapi.client.subnetworks.expandIpCidrRange({ project: "project", region: "region", subnetwork: "subnetwork", }); + +/* +Returns the specified subnetwork. Get a list of available subnetworks list() request. +*/ +await gapi.client.subnetworks.get({ project: "project", region: "region", subnetwork: "subnetwork", }); + +/* +Creates a subnetwork in the specified project using the data included in the request. +*/ +await gapi.client.subnetworks.insert({ project: "project", region: "region", }); + +/* +Retrieves a list of subnetworks available to the specified project. +*/ +await gapi.client.subnetworks.list({ project: "project", region: "region", }); + +/* +Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access. +*/ +await gapi.client.subnetworks.setPrivateIpGoogleAccess({ project: "project", region: "region", subnetwork: "subnetwork", }); + +/* +Deletes the specified TargetHttpProxy resource. +*/ +await gapi.client.targetHttpProxies.delete({ project: "project", targetHttpProxy: "targetHttpProxy", }); + +/* +Returns the specified TargetHttpProxy resource. Get a list of available target HTTP proxies by making a list() request. +*/ +await gapi.client.targetHttpProxies.get({ project: "project", targetHttpProxy: "targetHttpProxy", }); + +/* +Creates a TargetHttpProxy resource in the specified project using the data included in the request. +*/ +await gapi.client.targetHttpProxies.insert({ project: "project", }); + +/* +Retrieves the list of TargetHttpProxy resources available to the specified project. +*/ +await gapi.client.targetHttpProxies.list({ project: "project", }); + +/* +Changes the URL map for TargetHttpProxy. +*/ +await gapi.client.targetHttpProxies.setUrlMap({ project: "project", targetHttpProxy: "targetHttpProxy", }); + +/* +Deletes the specified TargetHttpsProxy resource. +*/ +await gapi.client.targetHttpsProxies.delete({ project: "project", targetHttpsProxy: "targetHttpsProxy", }); + +/* +Returns the specified TargetHttpsProxy resource. Get a list of available target HTTPS proxies by making a list() request. +*/ +await gapi.client.targetHttpsProxies.get({ project: "project", targetHttpsProxy: "targetHttpsProxy", }); + +/* +Creates a TargetHttpsProxy resource in the specified project using the data included in the request. +*/ +await gapi.client.targetHttpsProxies.insert({ project: "project", }); + +/* +Retrieves the list of TargetHttpsProxy resources available to the specified project. +*/ +await gapi.client.targetHttpsProxies.list({ project: "project", }); + +/* +Replaces SslCertificates for TargetHttpsProxy. +*/ +await gapi.client.targetHttpsProxies.setSslCertificates({ project: "project", targetHttpsProxy: "targetHttpsProxy", }); + +/* +Changes the URL map for TargetHttpsProxy. +*/ +await gapi.client.targetHttpsProxies.setUrlMap({ project: "project", targetHttpsProxy: "targetHttpsProxy", }); + +/* +Retrieves an aggregated list of target instances. +*/ +await gapi.client.targetInstances.aggregatedList({ project: "project", }); + +/* +Deletes the specified TargetInstance resource. +*/ +await gapi.client.targetInstances.delete({ project: "project", targetInstance: "targetInstance", zone: "zone", }); + +/* +Returns the specified TargetInstance resource. Get a list of available target instances by making a list() request. +*/ +await gapi.client.targetInstances.get({ project: "project", targetInstance: "targetInstance", zone: "zone", }); + +/* +Creates a TargetInstance resource in the specified project and zone using the data included in the request. +*/ +await gapi.client.targetInstances.insert({ project: "project", zone: "zone", }); + +/* +Retrieves a list of TargetInstance resources available to the specified project and zone. +*/ +await gapi.client.targetInstances.list({ project: "project", zone: "zone", }); + +/* +Adds health check URLs to a target pool. +*/ +await gapi.client.targetPools.addHealthCheck({ project: "project", region: "region", targetPool: "targetPool", }); + +/* +Adds an instance to a target pool. +*/ +await gapi.client.targetPools.addInstance({ project: "project", region: "region", targetPool: "targetPool", }); + +/* +Retrieves an aggregated list of target pools. +*/ +await gapi.client.targetPools.aggregatedList({ project: "project", }); + +/* +Deletes the specified target pool. +*/ +await gapi.client.targetPools.delete({ project: "project", region: "region", targetPool: "targetPool", }); + +/* +Returns the specified target pool. Get a list of available target pools by making a list() request. +*/ +await gapi.client.targetPools.get({ project: "project", region: "region", targetPool: "targetPool", }); + +/* +Gets the most recent health check results for each IP for the instance that is referenced by the given target pool. +*/ +await gapi.client.targetPools.getHealth({ project: "project", region: "region", targetPool: "targetPool", }); + +/* +Creates a target pool in the specified project and region using the data included in the request. +*/ +await gapi.client.targetPools.insert({ project: "project", region: "region", }); + +/* +Retrieves a list of target pools available to the specified project and region. +*/ +await gapi.client.targetPools.list({ project: "project", region: "region", }); + +/* +Removes health check URL from a target pool. +*/ +await gapi.client.targetPools.removeHealthCheck({ project: "project", region: "region", targetPool: "targetPool", }); + +/* +Removes instance URL from a target pool. +*/ +await gapi.client.targetPools.removeInstance({ project: "project", region: "region", targetPool: "targetPool", }); + +/* +Changes a backup target pool's configurations. +*/ +await gapi.client.targetPools.setBackup({ project: "project", region: "region", targetPool: "targetPool", }); + +/* +Deletes the specified TargetSslProxy resource. +*/ +await gapi.client.targetSslProxies.delete({ project: "project", targetSslProxy: "targetSslProxy", }); + +/* +Returns the specified TargetSslProxy resource. Get a list of available target SSL proxies by making a list() request. +*/ +await gapi.client.targetSslProxies.get({ project: "project", targetSslProxy: "targetSslProxy", }); + +/* +Creates a TargetSslProxy resource in the specified project using the data included in the request. +*/ +await gapi.client.targetSslProxies.insert({ project: "project", }); + +/* +Retrieves the list of TargetSslProxy resources available to the specified project. +*/ +await gapi.client.targetSslProxies.list({ project: "project", }); + +/* +Changes the BackendService for TargetSslProxy. +*/ +await gapi.client.targetSslProxies.setBackendService({ project: "project", targetSslProxy: "targetSslProxy", }); + +/* +Changes the ProxyHeaderType for TargetSslProxy. +*/ +await gapi.client.targetSslProxies.setProxyHeader({ project: "project", targetSslProxy: "targetSslProxy", }); + +/* +Changes SslCertificates for TargetSslProxy. +*/ +await gapi.client.targetSslProxies.setSslCertificates({ project: "project", targetSslProxy: "targetSslProxy", }); + +/* +Deletes the specified TargetTcpProxy resource. +*/ +await gapi.client.targetTcpProxies.delete({ project: "project", targetTcpProxy: "targetTcpProxy", }); + +/* +Returns the specified TargetTcpProxy resource. Get a list of available target TCP proxies by making a list() request. +*/ +await gapi.client.targetTcpProxies.get({ project: "project", targetTcpProxy: "targetTcpProxy", }); + +/* +Creates a TargetTcpProxy resource in the specified project using the data included in the request. +*/ +await gapi.client.targetTcpProxies.insert({ project: "project", }); + +/* +Retrieves the list of TargetTcpProxy resources available to the specified project. +*/ +await gapi.client.targetTcpProxies.list({ project: "project", }); + +/* +Changes the BackendService for TargetTcpProxy. +*/ +await gapi.client.targetTcpProxies.setBackendService({ project: "project", targetTcpProxy: "targetTcpProxy", }); + +/* +Changes the ProxyHeaderType for TargetTcpProxy. +*/ +await gapi.client.targetTcpProxies.setProxyHeader({ project: "project", targetTcpProxy: "targetTcpProxy", }); + +/* +Retrieves an aggregated list of target VPN gateways. +*/ +await gapi.client.targetVpnGateways.aggregatedList({ project: "project", }); + +/* +Deletes the specified target VPN gateway. +*/ +await gapi.client.targetVpnGateways.delete({ project: "project", region: "region", targetVpnGateway: "targetVpnGateway", }); + +/* +Returns the specified target VPN gateway. Get a list of available target VPN gateways by making a list() request. +*/ +await gapi.client.targetVpnGateways.get({ project: "project", region: "region", targetVpnGateway: "targetVpnGateway", }); + +/* +Creates a target VPN gateway in the specified project and region using the data included in the request. +*/ +await gapi.client.targetVpnGateways.insert({ project: "project", region: "region", }); + +/* +Retrieves a list of target VPN gateways available to the specified project and region. +*/ +await gapi.client.targetVpnGateways.list({ project: "project", region: "region", }); + +/* +Deletes the specified UrlMap resource. +*/ +await gapi.client.urlMaps.delete({ project: "project", urlMap: "urlMap", }); + +/* +Returns the specified UrlMap resource. Get a list of available URL maps by making a list() request. +*/ +await gapi.client.urlMaps.get({ project: "project", urlMap: "urlMap", }); + +/* +Creates a UrlMap resource in the specified project using the data included in the request. +*/ +await gapi.client.urlMaps.insert({ project: "project", }); + +/* +Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap. +*/ +await gapi.client.urlMaps.invalidateCache({ project: "project", urlMap: "urlMap", }); + +/* +Retrieves the list of UrlMap resources available to the specified project. +*/ +await gapi.client.urlMaps.list({ project: "project", }); + +/* +Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. +*/ +await gapi.client.urlMaps.patch({ project: "project", urlMap: "urlMap", }); + +/* +Updates the specified UrlMap resource with the data included in the request. +*/ +await gapi.client.urlMaps.update({ project: "project", urlMap: "urlMap", }); + +/* +Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap. +*/ +await gapi.client.urlMaps.validate({ project: "project", urlMap: "urlMap", }); + +/* +Retrieves an aggregated list of VPN tunnels. +*/ +await gapi.client.vpnTunnels.aggregatedList({ project: "project", }); + +/* +Deletes the specified VpnTunnel resource. +*/ +await gapi.client.vpnTunnels.delete({ project: "project", region: "region", vpnTunnel: "vpnTunnel", }); + +/* +Returns the specified VpnTunnel resource. Get a list of available VPN tunnels by making a list() request. +*/ +await gapi.client.vpnTunnels.get({ project: "project", region: "region", vpnTunnel: "vpnTunnel", }); + +/* +Creates a VpnTunnel resource in the specified project and region using the data included in the request. +*/ +await gapi.client.vpnTunnels.insert({ project: "project", region: "region", }); + +/* +Retrieves a list of VpnTunnel resources contained in the specified project and region. +*/ +await gapi.client.vpnTunnels.list({ project: "project", region: "region", }); + +/* +Deletes the specified zone-specific Operations resource. +*/ +await gapi.client.zoneOperations.delete({ operation: "operation", project: "project", zone: "zone", }); + +/* +Retrieves the specified zone-specific Operations resource. +*/ +await gapi.client.zoneOperations.get({ operation: "operation", project: "project", zone: "zone", }); + +/* +Retrieves a list of Operation resources contained within the specified zone. +*/ +await gapi.client.zoneOperations.list({ project: "project", zone: "zone", }); + +/* +Returns the specified Zone resource. Get a list of available zones by making a list() request. +*/ +await gapi.client.zones.get({ project: "project", zone: "zone", }); + +/* +Retrieves the list of Zone resources available to the specified project. +*/ +await gapi.client.zones.list({ project: "project", }); +``` \ No newline at end of file diff --git a/types/gapi.client.compute/tsconfig.json b/types/gapi.client.compute/tsconfig.json new file mode 100644 index 0000000000..496204435b --- /dev/null +++ b/types/gapi.client.compute/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.compute-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.compute/tslint.json b/types/gapi.client.compute/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.compute/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.consumersurveys/gapi.client.consumersurveys-tests.ts b/types/gapi.client.consumersurveys/gapi.client.consumersurveys-tests.ts new file mode 100644 index 0000000000..a374f6283a --- /dev/null +++ b/types/gapi.client.consumersurveys/gapi.client.consumersurveys-tests.ts @@ -0,0 +1,86 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('consumersurveys', 'v2', () => { + /** now we can use gapi.client.consumersurveys */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and edit your surveys and results */ + 'https://www.googleapis.com/auth/consumersurveys', + /** View the results for your surveys */ + 'https://www.googleapis.com/auth/consumersurveys.readonly', + /** View your email address */ + 'https://www.googleapis.com/auth/userinfo.email', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Retrieves a MobileAppPanel that is available to the authenticated user. */ + await gapi.client.mobileapppanels.get({ + panelId: "panelId", + }); + /** Lists the MobileAppPanels available to the authenticated user. */ + await gapi.client.mobileapppanels.list({ + maxResults: 1, + startIndex: 2, + token: "token", + }); + /** Updates a MobileAppPanel. Currently the only property that can be updated is the owners property. */ + await gapi.client.mobileapppanels.update({ + panelId: "panelId", + }); + /** + * Retrieves any survey results that have been produced so far. Results are formatted as an Excel file. You must add "?alt=media" to the URL as an + * argument to get results. + */ + await gapi.client.results.get({ + surveyUrlId: "surveyUrlId", + }); + /** Removes a survey from view in all user GET requests. */ + await gapi.client.surveys.delete({ + surveyUrlId: "surveyUrlId", + }); + /** Retrieves information about the specified survey. */ + await gapi.client.surveys.get({ + surveyUrlId: "surveyUrlId", + }); + /** Creates a survey. */ + await gapi.client.surveys.insert({ + }); + /** Lists the surveys owned by the authenticated user. */ + await gapi.client.surveys.list({ + maxResults: 1, + startIndex: 2, + token: "token", + }); + /** Begins running a survey. */ + await gapi.client.surveys.start({ + resourceId: "resourceId", + }); + /** Stops a running survey. */ + await gapi.client.surveys.stop({ + resourceId: "resourceId", + }); + /** Updates a survey. Currently the only property that can be updated is the owners property. */ + await gapi.client.surveys.update({ + surveyUrlId: "surveyUrlId", + }); + } +}); diff --git a/types/gapi.client.consumersurveys/index.d.ts b/types/gapi.client.consumersurveys/index.d.ts new file mode 100644 index 0000000000..41531fce6d --- /dev/null +++ b/types/gapi.client.consumersurveys/index.d.ts @@ -0,0 +1,397 @@ +// Type definitions for Google Consumer Surveys API v2 2.0 +// Project: undefined +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/consumersurveys/v2/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Consumer Surveys API v2 */ + function load(name: "consumersurveys", version: "v2"): PromiseLike<void>; + function load(name: "consumersurveys", version: "v2", callback: () => any): void; + + const mobileapppanels: consumersurveys.MobileapppanelsResource; + + const results: consumersurveys.ResultsResource; + + const surveys: consumersurveys.SurveysResource; + + namespace consumersurveys { + interface FieldMask { + fields?: FieldMask[]; + id?: number; + } + interface MobileAppPanel { + country?: string; + isPublicPanel?: boolean; + language?: string; + mobileAppPanelId?: string; + name?: string; + owners?: string[]; + } + interface MobileAppPanelsListResponse { + pageInfo?: PageInfo; + /** Unique request ID used for logging and debugging. Please include in any error reporting or troubleshooting requests. */ + requestId?: string; + /** An individual predefined panel of Opinion Rewards mobile users. */ + resources?: MobileAppPanel[]; + tokenPagination?: TokenPagination; + } + interface PageInfo { + resultPerPage?: number; + startIndex?: number; + totalResults?: number; + } + interface ResultsGetRequest { + resultMask?: ResultsMask; + } + interface ResultsMask { + fields?: FieldMask[]; + projection?: string; + } + interface Survey { + audience?: SurveyAudience; + cost?: SurveyCost; + customerData?: string; + description?: string; + owners?: string[]; + questions?: SurveyQuestion[]; + rejectionReason?: SurveyRejection; + state?: string; + surveyUrlId?: string; + title?: string; + wantedResponseCount?: number; + } + interface SurveyAudience { + ages?: string[]; + country?: string; + countrySubdivision?: string; + gender?: string; + languages?: string[]; + mobileAppPanelId?: string; + populationSource?: string; + } + interface SurveyCost { + costPerResponseNanos?: string; + currencyCode?: string; + maxCostPerResponseNanos?: string; + nanos?: string; + } + interface SurveyQuestion { + answerOrder?: string; + answers?: string[]; + hasOther?: boolean; + highValueLabel?: string; + images?: SurveyQuestionImage[]; + lastAnswerPositionPinned?: boolean; + lowValueLabel?: string; + mustPickSuggestion?: boolean; + numStars?: string; + openTextPlaceholder?: string; + openTextSuggestions?: string[]; + question?: string; + sentimentText?: string; + singleLineResponse?: boolean; + thresholdAnswers?: string[]; + type?: string; + unitOfMeasurementLabel?: string; + videoId?: string; + } + interface SurveyQuestionImage { + altText?: string; + data?: string; + url?: string; + } + interface SurveyRejection { + explanation?: string; + type?: string; + } + interface SurveyResults { + status?: string; + surveyUrlId?: string; + } + interface SurveysDeleteResponse { + /** Unique request ID used for logging and debugging. Please include in any error reporting or troubleshooting requests. */ + requestId?: string; + } + interface SurveysListResponse { + pageInfo?: PageInfo; + /** Unique request ID used for logging and debugging. Please include in any error reporting or troubleshooting requests. */ + requestId?: string; + /** An individual survey resource. */ + resources?: Survey[]; + tokenPagination?: TokenPagination; + } + interface SurveysStartRequest { + /** Threshold to start a survey automically if the quoted prices is less than or equal to this value. See Survey.Cost for more details. */ + maxCostPerResponseNanos?: string; + } + interface SurveysStartResponse { + /** Unique request ID used for logging and debugging. Please include in any error reporting or troubleshooting requests. */ + requestId?: string; + } + interface SurveysStopResponse { + /** Unique request ID used for logging and debugging. Please include in any error reporting or troubleshooting requests. */ + requestId?: string; + } + interface TokenPagination { + nextPageToken?: string; + previousPageToken?: string; + } + interface MobileapppanelsResource { + /** Retrieves a MobileAppPanel that is available to the authenticated user. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** External URL ID for the panel. */ + panelId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<MobileAppPanel>; + /** Lists the MobileAppPanels available to the authenticated user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + startIndex?: number; + token?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<MobileAppPanelsListResponse>; + /** Updates a MobileAppPanel. Currently the only property that can be updated is the owners property. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** External URL ID for the panel. */ + panelId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<MobileAppPanel>; + } + interface ResultsResource { + /** + * Retrieves any survey results that have been produced so far. Results are formatted as an Excel file. You must add "?alt=media" to the URL as an + * argument to get results. + */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** External URL ID for the survey. */ + surveyUrlId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SurveyResults>; + } + interface SurveysResource { + /** Removes a survey from view in all user GET requests. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** External URL ID for the survey. */ + surveyUrlId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SurveysDeleteResponse>; + /** Retrieves information about the specified survey. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** External URL ID for the survey. */ + surveyUrlId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Survey>; + /** Creates a survey. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Survey>; + /** Lists the surveys owned by the authenticated user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + startIndex?: number; + token?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SurveysListResponse>; + /** Begins running a survey. */ + start(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + resourceId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SurveysStartResponse>; + /** Stops a running survey. */ + stop(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + resourceId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SurveysStopResponse>; + /** Updates a survey. Currently the only property that can be updated is the owners property. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** External URL ID for the survey. */ + surveyUrlId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Survey>; + } + } +} diff --git a/types/gapi.client.consumersurveys/readme.md b/types/gapi.client.consumersurveys/readme.md new file mode 100644 index 0000000000..2c9ec3157f --- /dev/null +++ b/types/gapi.client.consumersurveys/readme.md @@ -0,0 +1,115 @@ +# TypeScript typings for Consumer Surveys API v2 +Creates and conducts surveys, lists the surveys that an authenticated user owns, and retrieves survey results and information about specified surveys. +For detailed description please check [documentation](undefined). + +## Installing + +Install typings for Consumer Surveys API: +``` +npm install @types/gapi.client.consumersurveys@v2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('consumersurveys', 'v2', () => { + // now we can use gapi.client.consumersurveys + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and edit your surveys and results + 'https://www.googleapis.com/auth/consumersurveys', + + // View the results for your surveys + 'https://www.googleapis.com/auth/consumersurveys.readonly', + + // View your email address + 'https://www.googleapis.com/auth/userinfo.email', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Consumer Surveys API resources: + +```typescript + +/* +Retrieves a MobileAppPanel that is available to the authenticated user. +*/ +await gapi.client.mobileapppanels.get({ panelId: "panelId", }); + +/* +Lists the MobileAppPanels available to the authenticated user. +*/ +await gapi.client.mobileapppanels.list({ }); + +/* +Updates a MobileAppPanel. Currently the only property that can be updated is the owners property. +*/ +await gapi.client.mobileapppanels.update({ panelId: "panelId", }); + +/* +Retrieves any survey results that have been produced so far. Results are formatted as an Excel file. You must add "?alt=media" to the URL as an argument to get results. +*/ +await gapi.client.results.get({ surveyUrlId: "surveyUrlId", }); + +/* +Removes a survey from view in all user GET requests. +*/ +await gapi.client.surveys.delete({ surveyUrlId: "surveyUrlId", }); + +/* +Retrieves information about the specified survey. +*/ +await gapi.client.surveys.get({ surveyUrlId: "surveyUrlId", }); + +/* +Creates a survey. +*/ +await gapi.client.surveys.insert({ }); + +/* +Lists the surveys owned by the authenticated user. +*/ +await gapi.client.surveys.list({ }); + +/* +Begins running a survey. +*/ +await gapi.client.surveys.start({ resourceId: "resourceId", }); + +/* +Stops a running survey. +*/ +await gapi.client.surveys.stop({ resourceId: "resourceId", }); + +/* +Updates a survey. Currently the only property that can be updated is the owners property. +*/ +await gapi.client.surveys.update({ surveyUrlId: "surveyUrlId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.consumersurveys/tsconfig.json b/types/gapi.client.consumersurveys/tsconfig.json new file mode 100644 index 0000000000..e8c3646083 --- /dev/null +++ b/types/gapi.client.consumersurveys/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.consumersurveys-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.consumersurveys/tslint.json b/types/gapi.client.consumersurveys/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.consumersurveys/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.container/gapi.client.container-tests.ts b/types/gapi.client.container/gapi.client.container-tests.ts new file mode 100644 index 0000000000..7a30c61361 --- /dev/null +++ b/types/gapi.client.container/gapi.client.container-tests.ts @@ -0,0 +1,32 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('container', 'v1', () => { + /** now we can use gapi.client.container */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + } +}); diff --git a/types/gapi.client.container/index.d.ts b/types/gapi.client.container/index.d.ts new file mode 100644 index 0000000000..41fa31c25f --- /dev/null +++ b/types/gapi.client.container/index.d.ts @@ -0,0 +1,2201 @@ +// Type definitions for Google Google Container Engine API v1 1.0 +// Project: https://cloud.google.com/container-engine/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://container.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Container Engine API v1 */ + function load(name: "container", version: "v1"): PromiseLike<void>; + function load(name: "container", version: "v1", callback: () => any): void; + + const projects: container.ProjectsResource; + + namespace container { + interface AcceleratorConfig { + /** The number of the accelerator cards exposed to an instance. */ + acceleratorCount?: string; + /** + * The accelerator type resource name. List of supported accelerators + * [here](/compute/docs/gpus/#Introduction) + */ + acceleratorType?: string; + } + interface AddonsConfig { + /** + * Configuration for the horizontal pod autoscaling feature, which + * increases or decreases the number of replica pods a replication controller + * has based on the resource usage of the existing pods. + */ + horizontalPodAutoscaling?: HorizontalPodAutoscaling; + /** + * Configuration for the HTTP (L7) load balancing controller addon, which + * makes it easy to set up HTTP load balancers for services in a cluster. + */ + httpLoadBalancing?: HttpLoadBalancing; + /** Configuration for the Kubernetes Dashboard. */ + kubernetesDashboard?: KubernetesDashboard; + /** + * Configuration for NetworkPolicy. This only tracks whether the addon + * is enabled or not on the Master, it does not track whether network policy + * is enabled for the nodes. + */ + networkPolicyConfig?: NetworkPolicyConfig; + } + interface AutoUpgradeOptions { + /** + * [Output only] This field is set when upgrades are about to commence + * with the approximate start time for the upgrades, in + * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + */ + autoUpgradeStartTime?: string; + /** + * [Output only] This field is set when upgrades are about to commence + * with the description of the upgrade. + */ + description?: string; + } + interface CidrBlock { + /** cidr_block must be specified in CIDR notation. */ + cidrBlock?: string; + /** display_name is an optional field for users to identify CIDR blocks. */ + displayName?: string; + } + interface ClientCertificateConfig { + /** Issue a client certificate. */ + issueClientCertificate?: boolean; + } + interface Cluster { + /** Configurations for the various addons available to run in the cluster. */ + addonsConfig?: AddonsConfig; + /** + * The IP address range of the container pods in this cluster, in + * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) + * notation (e.g. `10.96.0.0/14`). Leave blank to have + * one automatically chosen or specify a `/14` block in `10.0.0.0/8`. + */ + clusterIpv4Cidr?: string; + /** + * [Output only] The time the cluster was created, in + * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + */ + createTime?: string; + /** [Output only] The current software version of the master endpoint. */ + currentMasterVersion?: string; + /** [Output only] The number of nodes currently in the cluster. */ + currentNodeCount?: number; + /** + * [Output only] The current version of the node software components. + * If they are currently at multiple versions because they're in the process + * of being upgraded, this reflects the minimum version of all nodes. + */ + currentNodeVersion?: string; + /** An optional description of this cluster. */ + description?: string; + /** + * Kubernetes alpha features are enabled on this cluster. This includes alpha + * API groups (e.g. v1alpha1) and features that may not be production ready in + * the kubernetes version of the master and nodes. + * The cluster has no SLA for uptime and master/node upgrades are disabled. + * Alpha enabled clusters are automatically deleted thirty days after + * creation. + */ + enableKubernetesAlpha?: boolean; + /** + * [Output only] The IP address of this cluster's master endpoint. + * The endpoint can be accessed from the internet at + * `https://username:password@endpoint/`. + * + * See the `masterAuth` property of this resource for username and + * password information. + */ + endpoint?: string; + /** + * [Output only] The time the cluster will be automatically + * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + */ + expireTime?: string; + /** + * The initial Kubernetes version for this cluster. Valid versions are those + * found in validMasterVersions returned by getServerConfig. The version can + * be upgraded over time; such upgrades are reflected in + * currentMasterVersion and currentNodeVersion. + */ + initialClusterVersion?: string; + /** + * The number of nodes to create in this cluster. You must ensure that your + * Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a> + * is sufficient for this number of instances. You must also have available + * firewall and routes quota. + * For requests, this field should only be used in lieu of a + * "node_pool" object, since this configuration (along with the + * "node_config") will be used to create a "NodePool" object with an + * auto-generated name. Do not use this and a node_pool at the same time. + */ + initialNodeCount?: number; + /** + * [Output only] The resource URLs of [instance + * groups](/compute/docs/instance-groups/) associated with this + * cluster. + */ + instanceGroupUrls?: string[]; + /** Configuration for cluster IP allocation. */ + ipAllocationPolicy?: IPAllocationPolicy; + /** The fingerprint of the set of labels for this cluster. */ + labelFingerprint?: string; + /** Configuration for the legacy ABAC authorization mode. */ + legacyAbac?: LegacyAbac; + /** + * The list of Google Compute Engine + * [locations](/compute/docs/zones#available) in which the cluster's nodes + * should be located. + */ + locations?: string[]; + /** + * The logging service the cluster should use to write logs. + * Currently available options: + * + * * `logging.googleapis.com` - the Google Cloud Logging service. + * * `none` - no logs will be exported from the cluster. + * * if left as an empty string,`logging.googleapis.com` will be used. + */ + loggingService?: string; + /** Configure the maintenance policy for this cluster. */ + maintenancePolicy?: MaintenancePolicy; + /** The authentication information for accessing the master endpoint. */ + masterAuth?: MasterAuth; + /** + * Master authorized networks is a Beta feature. + * The configuration options for master authorized networks feature. + */ + masterAuthorizedNetworksConfig?: MasterAuthorizedNetworksConfig; + /** + * The monitoring service the cluster should use to write metrics. + * Currently available options: + * + * * `monitoring.googleapis.com` - the Google Cloud Monitoring service. + * * `none` - no metrics will be exported from the cluster. + * * if left as an empty string, `monitoring.googleapis.com` will be used. + */ + monitoringService?: string; + /** + * The name of this cluster. The name must be unique within this project + * and zone, and can be up to 40 characters with the following restrictions: + * + * * Lowercase letters, numbers, and hyphens only. + * * Must start with a letter. + * * Must end with a number or a letter. + */ + name?: string; + /** + * The name of the Google Compute Engine + * [network](/compute/docs/networks-and-firewalls#networks) to which the + * cluster is connected. If left unspecified, the `default` network + * will be used. + */ + network?: string; + /** Configuration options for the NetworkPolicy feature. */ + networkPolicy?: NetworkPolicy; + /** + * Parameters used in creating the cluster's nodes. + * See `nodeConfig` for the description of its properties. + * For requests, this field should only be used in lieu of a + * "node_pool" object, since this configuration (along with the + * "initial_node_count") will be used to create a "NodePool" object with an + * auto-generated name. Do not use this and a node_pool at the same time. + * For responses, this field will be populated with the node configuration of + * the first node pool. + * + * If unspecified, the defaults are used. + */ + nodeConfig?: NodeConfig; + /** + * [Output only] The size of the address space on each node for hosting + * containers. This is provisioned from within the `container_ipv4_cidr` + * range. + */ + nodeIpv4CidrSize?: number; + /** + * The node pools associated with this cluster. + * This field should not be set if "node_config" or "initial_node_count" are + * specified. + */ + nodePools?: NodePool[]; + /** + * The resource labels for the cluster to use to annotate any related + * Google Compute Engine resources. + */ + resourceLabels?: Record<string, string>; + /** [Output only] Server-defined URL for the resource. */ + selfLink?: string; + /** + * [Output only] The IP address range of the Kubernetes services in + * this cluster, in + * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) + * notation (e.g. `1.2.3.4/29`). Service addresses are + * typically put in the last `/16` from the container CIDR. + */ + servicesIpv4Cidr?: string; + /** [Output only] The current status of this cluster. */ + status?: string; + /** + * [Output only] Additional information about the current status of this + * cluster, if available. + */ + statusMessage?: string; + /** + * The name of the Google Compute Engine + * [subnetwork](/compute/docs/subnetworks) to which the + * cluster is connected. + */ + subnetwork?: string; + /** + * [Output only] The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone?: string; + } + interface ClusterUpdate { + /** Configurations for the various addons available to run in the cluster. */ + desiredAddonsConfig?: AddonsConfig; + /** + * The desired image type for the node pool. + * NOTE: Set the "desired_node_pool" field as well. + */ + desiredImageType?: string; + /** + * The desired list of Google Compute Engine + * [locations](/compute/docs/zones#available) in which the cluster's nodes + * should be located. Changing the locations a cluster is in will result + * in nodes being either created or removed from the cluster, depending on + * whether locations are being added or removed. + * + * This list must always include the cluster's primary zone. + */ + desiredLocations?: string[]; + /** + * Master authorized networks is a Beta feature. + * The desired configuration options for master authorized networks feature. + */ + desiredMasterAuthorizedNetworksConfig?: MasterAuthorizedNetworksConfig; + /** + * The Kubernetes version to change the master to. The only valid value is the + * latest supported version. Use "-" to have the server automatically select + * the latest version. + */ + desiredMasterVersion?: string; + /** + * The monitoring service the cluster should use to write metrics. + * Currently available options: + * + * * "monitoring.googleapis.com" - the Google Cloud Monitoring service + * * "none" - no metrics will be exported from the cluster + */ + desiredMonitoringService?: string; + /** + * Autoscaler configuration for the node pool specified in + * desired_node_pool_id. If there is only one pool in the + * cluster and desired_node_pool_id is not provided then + * the change applies to that single node pool. + */ + desiredNodePoolAutoscaling?: NodePoolAutoscaling; + /** + * The node pool to be upgraded. This field is mandatory if + * "desired_node_version", "desired_image_family" or + * "desired_node_pool_autoscaling" is specified and there is more than one + * node pool on the cluster. + */ + desiredNodePoolId?: string; + /** + * The Kubernetes version to change the nodes to (typically an + * upgrade). Use `-` to upgrade to the latest version supported by + * the server. + */ + desiredNodeVersion?: string; + } + interface CreateClusterRequest { + /** + * A [cluster + * resource](/container-engine/reference/rest/v1/projects.zones.clusters) + */ + cluster?: Cluster; + } + interface CreateNodePoolRequest { + /** The node pool to create. */ + nodePool?: NodePool; + } + interface DailyMaintenanceWindow { + /** + * [Output only] Duration of the time window, automatically chosen to be + * smallest possible in the given scenario. + * Duration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) + * format "PTnHnMnS". + */ + duration?: string; + /** + * Time within the maintenance window to start the maintenance operations. + * Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) + * format "HH:MM”, where HH : [00-23] and MM : [00-59] GMT. + */ + startTime?: string; + } + interface HorizontalPodAutoscaling { + /** + * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. + * When enabled, it ensures that a Heapster pod is running in the cluster, + * which is also used by the Cloud Monitoring service. + */ + disabled?: boolean; + } + interface HttpLoadBalancing { + /** + * Whether the HTTP Load Balancing controller is enabled in the cluster. + * When enabled, it runs a small pod in the cluster that manages the load + * balancers. + */ + disabled?: boolean; + } + interface IPAllocationPolicy { + /** This field is deprecated, use cluster_ipv4_cidr_block. */ + clusterIpv4Cidr?: string; + /** + * The IP address range for the cluster pod IPs. If this field is set, then + * `cluster.cluster_ipv4_cidr` must be left blank. + * + * This field is only applicable when `use_ip_aliases` is true. + * + * Set to blank to have a range chosen with the default size. + * + * Set to /netmask (e.g. `/14`) to have a range chosen with a specific + * netmask. + * + * Set to a + * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) + * notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. + * `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range + * to use. + */ + clusterIpv4CidrBlock?: string; + /** + * The name of the secondary range to be used for the cluster CIDR + * block. The secondary range will be used for pod IP + * addresses. This must be an existing secondary range associated + * with the cluster subnetwork. + * + * This field is only applicable with use_ip_aliases is true and + * create_subnetwork is false. + */ + clusterSecondaryRangeName?: string; + /** + * Whether a new subnetwork will be created automatically for the cluster. + * + * This field is only applicable when `use_ip_aliases` is true. + */ + createSubnetwork?: boolean; + /** This field is deprecated, use node_ipv4_cidr_block. */ + nodeIpv4Cidr?: string; + /** + * The IP address range of the instance IPs in this cluster. + * + * This is applicable only if `create_subnetwork` is true. + * + * Set to blank to have a range chosen with the default size. + * + * Set to /netmask (e.g. `/14`) to have a range chosen with a specific + * netmask. + * + * Set to a + * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) + * notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. + * `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range + * to use. + */ + nodeIpv4CidrBlock?: string; + /** This field is deprecated, use services_ipv4_cidr_block. */ + servicesIpv4Cidr?: string; + /** + * The IP address range of the services IPs in this cluster. If blank, a range + * will be automatically chosen with the default size. + * + * This field is only applicable when `use_ip_aliases` is true. + * + * Set to blank to have a range chosen with the default size. + * + * Set to /netmask (e.g. `/14`) to have a range chosen with a specific + * netmask. + * + * Set to a + * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) + * notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. + * `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range + * to use. + */ + servicesIpv4CidrBlock?: string; + /** + * The name of the secondary range to be used as for the services + * CIDR block. The secondary range will be used for service + * ClusterIPs. This must be an existing secondary range associated + * with the cluster subnetwork. + * + * This field is only applicable with use_ip_aliases is true and + * create_subnetwork is false. + */ + servicesSecondaryRangeName?: string; + /** + * A custom subnetwork name to be used if `create_subnetwork` is true. If + * this field is empty, then an automatic name will be chosen for the new + * subnetwork. + */ + subnetworkName?: string; + /** Whether alias IPs will be used for pod IPs in the cluster. */ + useIpAliases?: boolean; + } + interface KubernetesDashboard { + /** Whether the Kubernetes Dashboard is enabled for this cluster. */ + disabled?: boolean; + } + interface LegacyAbac { + /** + * Whether the ABAC authorizer is enabled for this cluster. When enabled, + * identities in the system, including service accounts, nodes, and + * controllers, will have statically granted permissions beyond those + * provided by the RBAC configuration or IAM. + */ + enabled?: boolean; + } + interface ListClustersResponse { + /** + * A list of clusters in the project in the specified zone, or + * across all ones. + */ + clusters?: Cluster[]; + /** + * If any zones are listed here, the list of clusters returned + * may be missing those zones. + */ + missingZones?: string[]; + } + interface ListNodePoolsResponse { + /** A list of node pools for a cluster. */ + nodePools?: NodePool[]; + } + interface ListOperationsResponse { + /** + * If any zones are listed here, the list of operations returned + * may be missing the operations from those zones. + */ + missingZones?: string[]; + /** A list of operations in the project in the specified zone. */ + operations?: Operation[]; + } + interface MaintenancePolicy { + /** Specifies the maintenance window in which maintenance may be performed. */ + window?: MaintenanceWindow; + } + interface MaintenanceWindow { + /** DailyMaintenanceWindow specifies a daily maintenance operation window. */ + dailyMaintenanceWindow?: DailyMaintenanceWindow; + } + interface MasterAuth { + /** + * [Output only] Base64-encoded public certificate used by clients to + * authenticate to the cluster endpoint. + */ + clientCertificate?: string; + /** + * Configuration for client certificate authentication on the cluster. If no + * configuration is specified, a client certificate is issued. + */ + clientCertificateConfig?: ClientCertificateConfig; + /** + * [Output only] Base64-encoded private key used by clients to authenticate + * to the cluster endpoint. + */ + clientKey?: string; + /** + * [Output only] Base64-encoded public certificate that is the root of + * trust for the cluster. + */ + clusterCaCertificate?: string; + /** + * The password to use for HTTP basic authentication to the master endpoint. + * Because the master endpoint is open to the Internet, you should create a + * strong password. If a password is provided for cluster creation, username + * must be non-empty. + */ + password?: string; + /** + * The username to use for HTTP basic authentication to the master endpoint. + * For clusters v1.6.0 and later, you can disable basic authentication by + * providing an empty username. + */ + username?: string; + } + interface MasterAuthorizedNetworksConfig { + /** + * cidr_blocks define up to 10 external networks that could access + * Kubernetes master through HTTPS. + */ + cidrBlocks?: CidrBlock[]; + /** Whether or not master authorized networks is enabled. */ + enabled?: boolean; + } + interface NetworkPolicy { + /** Whether network policy is enabled on the cluster. */ + enabled?: boolean; + /** The selected network policy provider. */ + provider?: string; + } + interface NetworkPolicyConfig { + /** Whether NetworkPolicy is enabled for this cluster. */ + disabled?: boolean; + } + interface NodeConfig { + /** + * A list of hardware accelerators to be attached to each node. + * See https://cloud.google.com/compute/docs/gpus for more information about + * support for GPUs. + */ + accelerators?: AcceleratorConfig[]; + /** + * Size of the disk attached to each node, specified in GB. + * The smallest allowed disk size is 10GB. + * + * If unspecified, the default disk size is 100GB. + */ + diskSizeGb?: number; + /** + * The image type to use for this node. Note that for a given image type, + * the latest version of it will be used. + */ + imageType?: string; + /** + * The map of Kubernetes labels (key/value pairs) to be applied to each node. + * These will added in addition to any default label(s) that + * Kubernetes may apply to the node. + * In case of conflict in label keys, the applied set may differ depending on + * the Kubernetes version -- it's best to assume the behavior is undefined + * and conflicts should be avoided. + * For more information, including usage and the valid values, see: + * https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ + */ + labels?: Record<string, string>; + /** + * The number of local SSD disks to be attached to the node. + * + * The limit for this value is dependant upon the maximum number of + * disks available on a machine per zone. See: + * https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits + * for more information. + */ + localSsdCount?: number; + /** + * The name of a Google Compute Engine [machine + * type](/compute/docs/machine-types) (e.g. + * `n1-standard-1`). + * + * If unspecified, the default machine type is + * `n1-standard-1`. + */ + machineType?: string; + /** + * The metadata key/value pairs assigned to instances in the cluster. + * + * Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes + * in length. These are reflected as part of a URL in the metadata server. + * Additionally, to avoid ambiguity, keys must not conflict with any other + * metadata keys for the project or be one of the four reserved keys: + * "instance-template", "kube-env", "startup-script", and "user-data" + * + * Values are free-form strings, and only have meaning as interpreted by + * the image running in the instance. The only restriction placed on them is + * that each value's size must be less than or equal to 32 KB. + * + * The total size of all keys and values must be less than 512 KB. + */ + metadata?: Record<string, string>; + /** + * Minimum CPU platform to be used by this instance. The instance may be + * scheduled on the specified or newer CPU platform. Applicable values are the + * friendly names of CPU platforms, such as + * <code>minCpuPlatform: "Intel Haswell"</code> or + * <code>minCpuPlatform: "Intel Sandy Bridge"</code>. For more + * information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) + */ + minCpuPlatform?: string; + /** + * The set of Google API scopes to be made available on all of the + * node VMs under the "default" service account. + * + * The following scopes are recommended, but not required, and by default are + * not included: + * + * * `https://www.googleapis.com/auth/compute` is required for mounting + * persistent storage on your nodes. + * * `https://www.googleapis.com/auth/devstorage.read_only` is required for + * communicating with **gcr.io** + * (the [Google Container Registry](/container-registry/)). + * + * If unspecified, no scopes are added, unless Cloud Logging or Cloud + * Monitoring are enabled, in which case their required scopes will be added. + */ + oauthScopes?: string[]; + /** + * Whether the nodes are created as preemptible VM instances. See: + * https://cloud.google.com/compute/docs/instances/preemptible for more + * information about preemptible VM instances. + */ + preemptible?: boolean; + /** + * The Google Cloud Platform Service Account to be used by the node VMs. If + * no Service Account is specified, the "default" service account is used. + */ + serviceAccount?: string; + /** + * The list of instance tags applied to all nodes. Tags are used to identify + * valid sources or targets for network firewalls and are specified by + * the client during cluster or node pool creation. Each tag within the list + * must comply with RFC1035. + */ + tags?: string[]; + } + interface NodeManagement { + /** + * A flag that specifies whether the node auto-repair is enabled for the node + * pool. If enabled, the nodes in this node pool will be monitored and, if + * they fail health checks too many times, an automatic repair action will be + * triggered. + */ + autoRepair?: boolean; + /** + * A flag that specifies whether node auto-upgrade is enabled for the node + * pool. If enabled, node auto-upgrade helps keep the nodes in your node pool + * up to date with the latest release version of Kubernetes. + */ + autoUpgrade?: boolean; + /** Specifies the Auto Upgrade knobs for the node pool. */ + upgradeOptions?: AutoUpgradeOptions; + } + interface NodePool { + /** + * Autoscaler configuration for this NodePool. Autoscaler is enabled + * only if a valid configuration is present. + */ + autoscaling?: NodePoolAutoscaling; + /** The node configuration of the pool. */ + config?: NodeConfig; + /** + * The initial node count for the pool. You must ensure that your + * Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a> + * is sufficient for this number of instances. You must also have available + * firewall and routes quota. + */ + initialNodeCount?: number; + /** + * [Output only] The resource URLs of [instance + * groups](/compute/docs/instance-groups/) associated with this + * node pool. + */ + instanceGroupUrls?: string[]; + /** NodeManagement configuration for this NodePool. */ + management?: NodeManagement; + /** The name of the node pool. */ + name?: string; + /** [Output only] Server-defined URL for the resource. */ + selfLink?: string; + /** [Output only] The status of the nodes in this pool instance. */ + status?: string; + /** + * [Output only] Additional information about the current status of this + * node pool instance, if available. + */ + statusMessage?: string; + /** [Output only] The version of the Kubernetes of this node. */ + version?: string; + } + interface NodePoolAutoscaling { + /** Is autoscaling enabled for this node pool. */ + enabled?: boolean; + /** + * Maximum number of nodes in the NodePool. Must be >= min_node_count. There + * has to enough quota to scale up the cluster. + */ + maxNodeCount?: number; + /** + * Minimum number of nodes in the NodePool. Must be >= 1 and <= + * max_node_count. + */ + minNodeCount?: number; + } + interface Operation { + /** Detailed operation progress, if available. */ + detail?: string; + /** + * [Output only] The time the operation completed, in + * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + */ + endTime?: string; + /** The server-assigned ID for the operation. */ + name?: string; + /** The operation type. */ + operationType?: string; + /** Server-defined URL for the resource. */ + selfLink?: string; + /** + * [Output only] The time the operation started, in + * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + */ + startTime?: string; + /** The current status of the operation. */ + status?: string; + /** If an error has occurred, a textual description of the error. */ + statusMessage?: string; + /** Server-defined URL for the target of the operation. */ + targetLink?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the operation + * is taking place. + */ + zone?: string; + } + interface ServerConfig { + /** Version of Kubernetes the service deploys by default. */ + defaultClusterVersion?: string; + /** Default image type. */ + defaultImageType?: string; + /** List of valid image types. */ + validImageTypes?: string[]; + /** List of valid master versions. */ + validMasterVersions?: string[]; + /** List of valid node upgrade target versions. */ + validNodeVersions?: string[]; + } + interface SetAddonsConfigRequest { + /** + * The desired configurations for the various addons available to run in the + * cluster. + */ + addonsConfig?: AddonsConfig; + } + interface SetLabelsRequest { + /** + * The fingerprint of the previous set of labels for this resource, + * used to detect conflicts. The fingerprint is initially generated by + * Container Engine and changes after every request to modify or update + * labels. You must always provide an up-to-date fingerprint hash when + * updating or changing labels. Make a <code>get()</code> request to the + * resource to get the latest fingerprint. + */ + labelFingerprint?: string; + /** The labels to set for that cluster. */ + resourceLabels?: Record<string, string>; + } + interface SetLegacyAbacRequest { + /** Whether ABAC authorization will be enabled in the cluster. */ + enabled?: boolean; + } + interface SetLocationsRequest { + /** + * The desired list of Google Compute Engine + * [locations](/compute/docs/zones#available) in which the cluster's nodes + * should be located. Changing the locations a cluster is in will result + * in nodes being either created or removed from the cluster, depending on + * whether locations are being added or removed. + * + * This list must always include the cluster's primary zone. + */ + locations?: string[]; + } + interface SetLoggingServiceRequest { + /** + * The logging service the cluster should use to write metrics. + * Currently available options: + * + * * "logging.googleapis.com" - the Google Cloud Logging service + * * "none" - no metrics will be exported from the cluster + */ + loggingService?: string; + } + interface SetMaintenancePolicyRequest { + /** + * The maintenance policy to be set for the cluster. An empty field + * clears the existing maintenance policy. + */ + maintenancePolicy?: MaintenancePolicy; + } + interface SetMasterAuthRequest { + /** The exact form of action to be taken on the master auth. */ + action?: string; + /** A description of the update. */ + update?: MasterAuth; + } + interface SetMonitoringServiceRequest { + /** + * The monitoring service the cluster should use to write metrics. + * Currently available options: + * + * * "monitoring.googleapis.com" - the Google Cloud Monitoring service + * * "none" - no metrics will be exported from the cluster + */ + monitoringService?: string; + } + interface SetNetworkPolicyRequest { + /** Configuration options for the NetworkPolicy feature. */ + networkPolicy?: NetworkPolicy; + } + interface SetNodePoolAutoscalingRequest { + /** Autoscaling configuration for the node pool. */ + autoscaling?: NodePoolAutoscaling; + } + interface SetNodePoolManagementRequest { + /** NodeManagement configuration for the node pool. */ + management?: NodeManagement; + } + interface SetNodePoolSizeRequest { + /** The desired node count for the pool. */ + nodeCount?: number; + } + interface UpdateClusterRequest { + /** A description of the update. */ + update?: ClusterUpdate; + } + interface UpdateMasterRequest { + /** + * The Kubernetes version to change the master to. The only valid value is the + * latest supported version. Use "-" to have the server automatically select + * the latest version. + */ + masterVersion?: string; + } + interface UpdateNodePoolRequest { + /** The desired image type for the node pool. */ + imageType?: string; + /** + * The Kubernetes version to change the nodes to (typically an + * upgrade). Use `-` to upgrade to the latest version supported by + * the server. + */ + nodeVersion?: string; + } + interface NodePoolsResource { + /** Sets the autoscaling settings of a specific node pool. */ + autoscaling(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster to upgrade. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the node pool to upgrade. */ + nodePoolId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** Creates a node pool for a cluster. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** Deletes a node pool from a cluster. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the node pool to delete. */ + nodePoolId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** Retrieves the node pool requested. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the node pool. */ + nodePoolId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<NodePool>; + /** Lists the node pools for a cluster. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<ListNodePoolsResponse>; + /** + * Roll back the previously Aborted or Failed NodePool upgrade. + * This will be an no-op if the last upgrade successfully completed. + */ + rollback(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster to rollback. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the node pool to rollback. */ + nodePoolId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** Sets the NodeManagement options for a node pool. */ + setManagement(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster to update. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the node pool to update. */ + nodePoolId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** Sets the size of a specific node pool. */ + setSize(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster to update. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the node pool to update. */ + nodePoolId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** Updates the version and/or image type of a specific node pool. */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster to upgrade. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the node pool to upgrade. */ + nodePoolId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + } + interface ClustersResource { + /** Sets the addons of a specific cluster. */ + addons(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster to upgrade. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** Completes master IP rotation. */ + completeIpRotation(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** + * Creates a cluster, consisting of the specified number and type of Google + * Compute Engine instances. + * + * By default, the cluster is created in the project's + * [default network](/compute/docs/networks-and-firewalls#networks). + * + * One firewall is added for the cluster. After cluster creation, + * the cluster creates routes for each node to allow the containers + * on that node to communicate with all other instances in the + * cluster. + * + * Finally, an entry is added to the project's global metadata indicating + * which CIDR range is being used by the cluster. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** + * Deletes the cluster, including the Kubernetes endpoint and all worker + * nodes. + * + * Firewalls and routes that were configured during cluster creation + * are also deleted. + * + * Other Google Compute Engine resources that might be in use by the cluster + * (e.g. load balancer resources) will not be deleted if they weren't present + * at the initial create time. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster to delete. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** Gets the details of a specific cluster. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster to retrieve. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Cluster>; + /** Enables or disables the ABAC authorization mechanism on a cluster. */ + legacyAbac(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster to update. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** + * Lists all clusters owned by a project in either the specified zone or all + * zones. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides, or "-" for all zones. + */ + zone: string; + }): Request<ListClustersResponse>; + /** Sets the locations of a specific cluster. */ + locations(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster to upgrade. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** Sets the logging service of a specific cluster. */ + logging(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster to upgrade. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** Updates the master of a specific cluster. */ + master(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster to upgrade. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** Sets the monitoring service of a specific cluster. */ + monitoring(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster to upgrade. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** Sets labels on a cluster. */ + resourceLabels(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** Sets the maintenance policy for a cluster. */ + setMaintenancePolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster to update. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** + * Used to set master auth materials. Currently supports :- + * Changing the admin password of a specific cluster. + * This can be either via password generation or explicitly set the password. + */ + setMasterAuth(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster to upgrade. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** Enables/Disables Network Policy for a cluster. */ + setNetworkPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** Start master IP rotation. */ + startIpRotation(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** Updates the settings of a specific cluster. */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The name of the cluster to upgrade. */ + clusterId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + nodePools: NodePoolsResource; + } + interface OperationsResource { + /** Cancels the specified operation. */ + cancel(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The server-assigned `name` of the operation. */ + operationId: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the operation resides. + */ + zone: string; + }): Request<{}>; + /** Gets the specified operation. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The server-assigned `name` of the operation. */ + operationId: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster + * resides. + */ + zone: string; + }): Request<Operation>; + /** Lists all operations in a project in a specific zone or all zones. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine [zone](/compute/docs/zones#available) + * to return operations for, or `-` for all zones. + */ + zone: string; + }): Request<ListOperationsResponse>; + } + interface ZonesResource { + /** Returns configuration info about the Container Engine service. */ + getServerconfig(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The name of the Google Compute Engine [zone](/compute/docs/zones#available) + * to return operations for. + */ + zone: string; + }): Request<ServerConfig>; + clusters: ClustersResource; + operations: OperationsResource; + } + interface ProjectsResource { + zones: ZonesResource; + } + } +} diff --git a/types/gapi.client.container/readme.md b/types/gapi.client.container/readme.md new file mode 100644 index 0000000000..a36149296e --- /dev/null +++ b/types/gapi.client.container/readme.md @@ -0,0 +1,54 @@ +# TypeScript typings for Google Container Engine API v1 +The Google Container Engine API is used for building and managing container based applications, powered by the open source Kubernetes technology. +For detailed description please check [documentation](https://cloud.google.com/container-engine/). + +## Installing + +Install typings for Google Container Engine API: +``` +npm install @types/gapi.client.container@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('container', 'v1', () => { + // now we can use gapi.client.container + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Container Engine API resources: + +```typescript +``` \ No newline at end of file diff --git a/types/gapi.client.container/tsconfig.json b/types/gapi.client.container/tsconfig.json new file mode 100644 index 0000000000..51ff6c98bb --- /dev/null +++ b/types/gapi.client.container/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.container-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.container/tslint.json b/types/gapi.client.container/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.container/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.content/gapi.client.content-tests.ts b/types/gapi.client.content/gapi.client.content-tests.ts new file mode 100644 index 0000000000..20b6ef8c93 --- /dev/null +++ b/types/gapi.client.content/gapi.client.content-tests.ts @@ -0,0 +1,387 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('content', 'v2', () => { + /** now we can use gapi.client.content */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage your product listings and accounts for Google Shopping */ + 'https://www.googleapis.com/auth/content', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Returns information about the authenticated user. */ + await gapi.client.accounts.authinfo({ + }); + /** + * Claims the website of a Merchant Center sub-account. This method can only be called for accounts to which the managing account has access: either the + * managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. + */ + await gapi.client.accounts.claimwebsite({ + accountId: "accountId", + merchantId: "merchantId", + overwrite: true, + }); + /** Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request. */ + await gapi.client.accounts.custombatch({ + dryRun: true, + }); + /** Deletes a Merchant Center sub-account. This method can only be called for multi-client accounts. */ + await gapi.client.accounts.delete({ + accountId: "accountId", + dryRun: true, + force: true, + merchantId: "merchantId", + }); + /** + * Retrieves a Merchant Center account. This method can only be called for accounts to which the managing account has access: either the managing account + * itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. + */ + await gapi.client.accounts.get({ + accountId: "accountId", + merchantId: "merchantId", + }); + /** Creates a Merchant Center sub-account. This method can only be called for multi-client accounts. */ + await gapi.client.accounts.insert({ + dryRun: true, + merchantId: "merchantId", + }); + /** Lists the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts. */ + await gapi.client.accounts.list({ + maxResults: 1, + merchantId: "merchantId", + pageToken: "pageToken", + }); + /** + * Updates a Merchant Center account. This method can only be called for accounts to which the managing account has access: either the managing account + * itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. This method supports patch semantics. + */ + await gapi.client.accounts.patch({ + accountId: "accountId", + dryRun: true, + merchantId: "merchantId", + }); + /** + * Updates a Merchant Center account. This method can only be called for accounts to which the managing account has access: either the managing account + * itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. + */ + await gapi.client.accounts.update({ + accountId: "accountId", + dryRun: true, + merchantId: "merchantId", + }); + await gapi.client.accountstatuses.custombatch({ + }); + /** + * Retrieves the status of a Merchant Center account. This method can only be called for accounts to which the managing account has access: either the + * managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. + */ + await gapi.client.accountstatuses.get({ + accountId: "accountId", + merchantId: "merchantId", + }); + /** Lists the statuses of the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts. */ + await gapi.client.accountstatuses.list({ + maxResults: 1, + merchantId: "merchantId", + pageToken: "pageToken", + }); + /** Retrieves and updates tax settings of multiple accounts in a single request. */ + await gapi.client.accounttax.custombatch({ + dryRun: true, + }); + /** + * Retrieves the tax settings of the account. This method can only be called for accounts to which the managing account has access: either the managing + * account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. + */ + await gapi.client.accounttax.get({ + accountId: "accountId", + merchantId: "merchantId", + }); + /** Lists the tax settings of the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts. */ + await gapi.client.accounttax.list({ + maxResults: 1, + merchantId: "merchantId", + pageToken: "pageToken", + }); + /** + * Updates the tax settings of the account. This method can only be called for accounts to which the managing account has access: either the managing + * account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. This method supports patch + * semantics. + */ + await gapi.client.accounttax.patch({ + accountId: "accountId", + dryRun: true, + merchantId: "merchantId", + }); + /** + * Updates the tax settings of the account. This method can only be called for accounts to which the managing account has access: either the managing + * account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. + */ + await gapi.client.accounttax.update({ + accountId: "accountId", + dryRun: true, + merchantId: "merchantId", + }); + await gapi.client.datafeeds.custombatch({ + dryRun: true, + }); + /** Deletes a datafeed configuration from your Merchant Center account. This method can only be called for non-multi-client accounts. */ + await gapi.client.datafeeds.delete({ + datafeedId: "datafeedId", + dryRun: true, + merchantId: "merchantId", + }); + /** Retrieves a datafeed configuration from your Merchant Center account. This method can only be called for non-multi-client accounts. */ + await gapi.client.datafeeds.get({ + datafeedId: "datafeedId", + merchantId: "merchantId", + }); + /** Registers a datafeed configuration with your Merchant Center account. This method can only be called for non-multi-client accounts. */ + await gapi.client.datafeeds.insert({ + dryRun: true, + merchantId: "merchantId", + }); + /** Lists the datafeeds in your Merchant Center account. This method can only be called for non-multi-client accounts. */ + await gapi.client.datafeeds.list({ + maxResults: 1, + merchantId: "merchantId", + pageToken: "pageToken", + }); + /** + * Updates a datafeed configuration of your Merchant Center account. This method can only be called for non-multi-client accounts. This method supports + * patch semantics. + */ + await gapi.client.datafeeds.patch({ + datafeedId: "datafeedId", + dryRun: true, + merchantId: "merchantId", + }); + /** Updates a datafeed configuration of your Merchant Center account. This method can only be called for non-multi-client accounts. */ + await gapi.client.datafeeds.update({ + datafeedId: "datafeedId", + dryRun: true, + merchantId: "merchantId", + }); + await gapi.client.datafeedstatuses.custombatch({ + }); + /** Retrieves the status of a datafeed from your Merchant Center account. This method can only be called for non-multi-client accounts. */ + await gapi.client.datafeedstatuses.get({ + country: "country", + datafeedId: "datafeedId", + language: "language", + merchantId: "merchantId", + }); + /** Lists the statuses of the datafeeds in your Merchant Center account. This method can only be called for non-multi-client accounts. */ + await gapi.client.datafeedstatuses.list({ + maxResults: 1, + merchantId: "merchantId", + pageToken: "pageToken", + }); + /** + * Updates price and availability for multiple products or stores in a single request. This operation does not update the expiration date of the products. + * This method can only be called for non-multi-client accounts. + */ + await gapi.client.inventory.custombatch({ + dryRun: true, + }); + /** + * Updates price and availability of a product in your Merchant Center account. This operation does not update the expiration date of the product. This + * method can only be called for non-multi-client accounts. + */ + await gapi.client.inventory.set({ + dryRun: true, + merchantId: "merchantId", + productId: "productId", + storeCode: "storeCode", + }); + /** Marks an order as acknowledged. This method can only be called for non-multi-client accounts. */ + await gapi.client.orders.acknowledge({ + merchantId: "merchantId", + orderId: "orderId", + }); + /** Sandbox only. Moves a test order from state "inProgress" to state "pendingShipment". This method can only be called for non-multi-client accounts. */ + await gapi.client.orders.advancetestorder({ + merchantId: "merchantId", + orderId: "orderId", + }); + /** Cancels all line items in an order, making a full refund. This method can only be called for non-multi-client accounts. */ + await gapi.client.orders.cancel({ + merchantId: "merchantId", + orderId: "orderId", + }); + /** Cancels a line item, making a full refund. This method can only be called for non-multi-client accounts. */ + await gapi.client.orders.cancellineitem({ + merchantId: "merchantId", + orderId: "orderId", + }); + /** Sandbox only. Creates a test order. This method can only be called for non-multi-client accounts. */ + await gapi.client.orders.createtestorder({ + merchantId: "merchantId", + }); + /** Retrieves or modifies multiple orders in a single request. This method can only be called for non-multi-client accounts. */ + await gapi.client.orders.custombatch({ + }); + /** Retrieves an order from your Merchant Center account. This method can only be called for non-multi-client accounts. */ + await gapi.client.orders.get({ + merchantId: "merchantId", + orderId: "orderId", + }); + /** Retrieves an order using merchant order id. This method can only be called for non-multi-client accounts. */ + await gapi.client.orders.getbymerchantorderid({ + merchantId: "merchantId", + merchantOrderId: "merchantOrderId", + }); + /** + * Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox. This method can only be called for + * non-multi-client accounts. + */ + await gapi.client.orders.gettestordertemplate({ + merchantId: "merchantId", + templateName: "templateName", + }); + /** Lists the orders in your Merchant Center account. This method can only be called for non-multi-client accounts. */ + await gapi.client.orders.list({ + acknowledged: true, + maxResults: 2, + merchantId: "merchantId", + orderBy: "orderBy", + pageToken: "pageToken", + placedDateEnd: "placedDateEnd", + placedDateStart: "placedDateStart", + statuses: "statuses", + }); + /** Refund a portion of the order, up to the full amount paid. This method can only be called for non-multi-client accounts. */ + await gapi.client.orders.refund({ + merchantId: "merchantId", + orderId: "orderId", + }); + /** Returns a line item. This method can only be called for non-multi-client accounts. */ + await gapi.client.orders.returnlineitem({ + merchantId: "merchantId", + orderId: "orderId", + }); + /** Marks line item(s) as shipped. This method can only be called for non-multi-client accounts. */ + await gapi.client.orders.shiplineitems({ + merchantId: "merchantId", + orderId: "orderId", + }); + /** Updates the merchant order ID for a given order. This method can only be called for non-multi-client accounts. */ + await gapi.client.orders.updatemerchantorderid({ + merchantId: "merchantId", + orderId: "orderId", + }); + /** Updates a shipment's status, carrier, and/or tracking ID. This method can only be called for non-multi-client accounts. */ + await gapi.client.orders.updateshipment({ + merchantId: "merchantId", + orderId: "orderId", + }); + /** Retrieves, inserts, and deletes multiple products in a single request. This method can only be called for non-multi-client accounts. */ + await gapi.client.products.custombatch({ + dryRun: true, + }); + /** Deletes a product from your Merchant Center account. This method can only be called for non-multi-client accounts. */ + await gapi.client.products.delete({ + dryRun: true, + merchantId: "merchantId", + productId: "productId", + }); + /** Retrieves a product from your Merchant Center account. This method can only be called for non-multi-client accounts. */ + await gapi.client.products.get({ + merchantId: "merchantId", + productId: "productId", + }); + /** + * Uploads a product to your Merchant Center account. If an item with the same channel, contentLanguage, offerId, and targetCountry already exists, this + * method updates that entry. This method can only be called for non-multi-client accounts. + */ + await gapi.client.products.insert({ + dryRun: true, + merchantId: "merchantId", + }); + /** Lists the products in your Merchant Center account. This method can only be called for non-multi-client accounts. */ + await gapi.client.products.list({ + includeInvalidInsertedItems: true, + maxResults: 2, + merchantId: "merchantId", + pageToken: "pageToken", + }); + /** Gets the statuses of multiple products in a single request. This method can only be called for non-multi-client accounts. */ + await gapi.client.productstatuses.custombatch({ + includeAttributes: true, + }); + /** Gets the status of a product from your Merchant Center account. This method can only be called for non-multi-client accounts. */ + await gapi.client.productstatuses.get({ + includeAttributes: true, + merchantId: "merchantId", + productId: "productId", + }); + /** Lists the statuses of the products in your Merchant Center account. This method can only be called for non-multi-client accounts. */ + await gapi.client.productstatuses.list({ + includeAttributes: true, + includeInvalidInsertedItems: true, + maxResults: 3, + merchantId: "merchantId", + pageToken: "pageToken", + }); + /** Retrieves and updates the shipping settings of multiple accounts in a single request. */ + await gapi.client.shippingsettings.custombatch({ + dryRun: true, + }); + /** + * Retrieves the shipping settings of the account. This method can only be called for accounts to which the managing account has access: either the + * managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. + */ + await gapi.client.shippingsettings.get({ + accountId: "accountId", + merchantId: "merchantId", + }); + /** Retrieves supported carriers and carrier services for an account. */ + await gapi.client.shippingsettings.getsupportedcarriers({ + merchantId: "merchantId", + }); + /** Lists the shipping settings of the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts. */ + await gapi.client.shippingsettings.list({ + maxResults: 1, + merchantId: "merchantId", + pageToken: "pageToken", + }); + /** + * Updates the shipping settings of the account. This method can only be called for accounts to which the managing account has access: either the managing + * account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. This method supports patch + * semantics. + */ + await gapi.client.shippingsettings.patch({ + accountId: "accountId", + dryRun: true, + merchantId: "merchantId", + }); + /** + * Updates the shipping settings of the account. This method can only be called for accounts to which the managing account has access: either the managing + * account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. + */ + await gapi.client.shippingsettings.update({ + accountId: "accountId", + dryRun: true, + merchantId: "merchantId", + }); + } +}); diff --git a/types/gapi.client.content/index.d.ts b/types/gapi.client.content/index.d.ts new file mode 100644 index 0000000000..f3b3b51845 --- /dev/null +++ b/types/gapi.client.content/index.d.ts @@ -0,0 +1,3459 @@ +// Type definitions for Google Content API for Shopping v2 2.0 +// Project: https://developers.google.com/shopping-content +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/content/v2/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Content API for Shopping v2 */ + function load(name: "content", version: "v2"): PromiseLike<void>; + function load(name: "content", version: "v2", callback: () => any): void; + + const accounts: content.AccountsResource; + + const accountstatuses: content.AccountstatusesResource; + + const accounttax: content.AccounttaxResource; + + const datafeeds: content.DatafeedsResource; + + const datafeedstatuses: content.DatafeedstatusesResource; + + const inventory: content.InventoryResource; + + const orders: content.OrdersResource; + + const products: content.ProductsResource; + + const productstatuses: content.ProductstatusesResource; + + const shippingsettings: content.ShippingsettingsResource; + + namespace content { + interface Account { + /** Indicates whether the merchant sells adult content. */ + adultContent?: boolean; + /** + * List of linked AdWords accounts that are active or pending approval. To create a new link request, add a new link with status active to the list. It + * will remain in a pending state until approved or rejected either in the AdWords interface or through the AdWords API. To delete an active link, or to + * cancel a link request, remove it from the list. + */ + adwordsLinks?: AccountAdwordsLink[]; + /** Merchant Center account ID. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "content#account". */ + kind?: string; + /** Display name for the account. */ + name?: string; + /** URL for individual seller reviews, i.e., reviews for each child account. */ + reviewsUrl?: string; + /** Client-specific, locally-unique, internal ID for the child account. */ + sellerId?: string; + /** Users with access to the account. Every account (except for subaccounts) must have at least one admin user. */ + users?: AccountUser[]; + /** The merchant's website. */ + websiteUrl?: string; + /** + * List of linked YouTube channels that are active or pending approval. To create a new link request, add a new link with status active to the list. It + * will remain in a pending state until approved or rejected in the YT Creator Studio interface. To delete an active link, or to cancel a link request, + * remove it from the list. + */ + youtubeChannelLinks?: AccountYouTubeChannelLink[]; + } + interface AccountAdwordsLink { + /** Customer ID of the AdWords account. */ + adwordsId?: string; + /** + * Status of the link between this Merchant Center account and the AdWords account. Upon retrieval, it represents the actual status of the link and can be + * either active if it was approved in Google AdWords or pending if it's pending approval. Upon insertion, it represents the intended status of the link. + * Re-uploading a link with status active when it's still pending or with status pending when it's already active will have no effect: the status will + * remain unchanged. Re-uploading a link with deprecated status inactive is equivalent to not submitting the link at all and will delete the link if it + * was active or cancel the link request if it was pending. + */ + status?: string; + } + interface AccountIdentifier { + /** The aggregator ID, set for aggregators and subaccounts (in that case, it represents the aggregator of the subaccount). */ + aggregatorId?: string; + /** The merchant account ID, set for individual accounts and subaccounts. */ + merchantId?: string; + } + interface AccountStatus { + /** The ID of the account for which the status is reported. */ + accountId?: string; + /** A list of account level issues. */ + accountLevelIssues?: AccountStatusAccountLevelIssue[]; + /** A list of data quality issues. */ + dataQualityIssues?: AccountStatusDataQualityIssue[]; + /** Identifies what kind of resource this is. Value: the fixed string "content#accountStatus". */ + kind?: string; + /** Whether the account's website is claimed or not. */ + websiteClaimed?: boolean; + } + interface AccountStatusAccountLevelIssue { + /** Country for which this issue is reported. */ + country?: string; + /** Additional details about the issue. */ + detail?: string; + /** Issue identifier. */ + id?: string; + /** Severity of the issue. */ + severity?: string; + /** Short description of the issue. */ + title?: string; + } + interface AccountStatusDataQualityIssue { + /** Country for which this issue is reported. */ + country?: string; + /** A more detailed description of the issue. */ + detail?: string; + /** Actual value displayed on the landing page. */ + displayedValue?: string; + /** Example items featuring the issue. */ + exampleItems?: AccountStatusExampleItem[]; + /** Issue identifier. */ + id?: string; + /** Last time the account was checked for this issue. */ + lastChecked?: string; + /** The attribute name that is relevant for the issue. */ + location?: string; + /** Number of items in the account found to have the said issue. */ + numItems?: number; + /** Severity of the problem. */ + severity?: string; + /** Submitted value that causes the issue. */ + submittedValue?: string; + } + interface AccountStatusExampleItem { + /** Unique item ID as specified in the uploaded product data. */ + itemId?: string; + /** Landing page of the item. */ + link?: string; + /** The item value that was submitted. */ + submittedValue?: string; + /** Title of the item. */ + title?: string; + /** The actual value on the landing page. */ + valueOnLandingPage?: string; + } + interface AccountTax { + /** The ID of the account to which these account tax settings belong. */ + accountId?: string; + /** Identifies what kind of resource this is. Value: the fixed string "content#accountTax". */ + kind?: string; + /** Tax rules. Updating the tax rules will enable US taxes (not reversible). Defining no rules is equivalent to not charging tax at all. */ + rules?: AccountTaxTaxRule[]; + } + interface AccountTaxTaxRule { + /** Country code in which tax is applicable. */ + country?: string; + /** State (or province) is which the tax is applicable, described by its location id (also called criteria id). */ + locationId?: string; + /** Explicit tax rate in percent, represented as a floating point number without the percentage character. Must not be negative. */ + ratePercent?: string; + /** If true, shipping charges are also taxed. */ + shippingTaxed?: boolean; + /** Whether the tax rate is taken from a global tax table or specified explicitly. */ + useGlobalRate?: boolean; + } + interface AccountUser { + /** Whether user is an admin. */ + admin?: boolean; + /** User's email address. */ + emailAddress?: string; + } + interface AccountYouTubeChannelLink { + /** Channel ID. */ + channelId?: string; + /** + * Status of the link between this Merchant Center account and the YouTube channel. Upon retrieval, it represents the actual status of the link and can be + * either active if it was approved in YT Creator Studio or pending if it's pending approval. Upon insertion, it represents the intended status of the + * link. Re-uploading a link with status active when it's still pending or with status pending when it's already active will have no effect: the status + * will remain unchanged. Re-uploading a link with deprecated status inactive is equivalent to not submitting the link at all and will delete the link if + * it was active or cancel the link request if it was pending. + */ + status?: string; + } + interface AccountsAuthInfoResponse { + /** + * The account identifiers corresponding to the authenticated user. + * - For an individual account: only the merchant ID is defined + * - For an aggregator: only the aggregator ID is defined + * - For a subaccount of an MCA: both the merchant ID and the aggregator ID are defined. + */ + accountIdentifiers?: AccountIdentifier[]; + /** Identifies what kind of resource this is. Value: the fixed string "content#accountsAuthInfoResponse". */ + kind?: string; + } + interface AccountsClaimWebsiteResponse { + /** Identifies what kind of resource this is. Value: the fixed string "content#accountsClaimWebsiteResponse". */ + kind?: string; + } + interface AccountsCustomBatchRequest { + /** The request entries to be processed in the batch. */ + entries?: AccountsCustomBatchRequestEntry[]; + } + interface AccountsCustomBatchRequestEntry { + /** The account to create or update. Only defined if the method is insert or update. */ + account?: Account; + /** The ID of the targeted account. Only defined if the method is get, delete or claimwebsite. */ + accountId?: string; + /** An entry ID, unique within the batch request. */ + batchId?: number; + /** Whether the account should be deleted if the account has offers. Only applicable if the method is delete. */ + force?: boolean; + /** The ID of the managing account. */ + merchantId?: string; + method?: string; + /** Only applicable if the method is claimwebsite. Indicates whether or not to take the claim from another account in case there is a conflict. */ + overwrite?: boolean; + } + interface AccountsCustomBatchResponse { + /** The result of the execution of the batch requests. */ + entries?: AccountsCustomBatchResponseEntry[]; + /** Identifies what kind of resource this is. Value: the fixed string "content#accountsCustomBatchResponse". */ + kind?: string; + } + interface AccountsCustomBatchResponseEntry { + /** The retrieved, created, or updated account. Not defined if the method was delete or claimwebsite. */ + account?: Account; + /** The ID of the request entry this entry responds to. */ + batchId?: number; + /** A list of errors defined if and only if the request failed. */ + errors?: Errors; + /** Identifies what kind of resource this is. Value: the fixed string "content#accountsCustomBatchResponseEntry". */ + kind?: string; + } + interface AccountsListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "content#accountsListResponse". */ + kind?: string; + /** The token for the retrieval of the next page of accounts. */ + nextPageToken?: string; + resources?: Account[]; + } + interface AccountstatusesCustomBatchRequest { + /** The request entries to be processed in the batch. */ + entries?: AccountstatusesCustomBatchRequestEntry[]; + } + interface AccountstatusesCustomBatchRequestEntry { + /** The ID of the (sub-)account whose status to get. */ + accountId?: string; + /** An entry ID, unique within the batch request. */ + batchId?: number; + /** The ID of the managing account. */ + merchantId?: string; + /** The method (get). */ + method?: string; + } + interface AccountstatusesCustomBatchResponse { + /** The result of the execution of the batch requests. */ + entries?: AccountstatusesCustomBatchResponseEntry[]; + /** Identifies what kind of resource this is. Value: the fixed string "content#accountstatusesCustomBatchResponse". */ + kind?: string; + } + interface AccountstatusesCustomBatchResponseEntry { + /** The requested account status. Defined if and only if the request was successful. */ + accountStatus?: AccountStatus; + /** The ID of the request entry this entry responds to. */ + batchId?: number; + /** A list of errors defined if and only if the request failed. */ + errors?: Errors; + } + interface AccountstatusesListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "content#accountstatusesListResponse". */ + kind?: string; + /** The token for the retrieval of the next page of account statuses. */ + nextPageToken?: string; + resources?: AccountStatus[]; + } + interface AccounttaxCustomBatchRequest { + /** The request entries to be processed in the batch. */ + entries?: AccounttaxCustomBatchRequestEntry[]; + } + interface AccounttaxCustomBatchRequestEntry { + /** The ID of the account for which to get/update account tax settings. */ + accountId?: string; + /** The account tax settings to update. Only defined if the method is update. */ + accountTax?: AccountTax; + /** An entry ID, unique within the batch request. */ + batchId?: number; + /** The ID of the managing account. */ + merchantId?: string; + method?: string; + } + interface AccounttaxCustomBatchResponse { + /** The result of the execution of the batch requests. */ + entries?: AccounttaxCustomBatchResponseEntry[]; + /** Identifies what kind of resource this is. Value: the fixed string "content#accounttaxCustomBatchResponse". */ + kind?: string; + } + interface AccounttaxCustomBatchResponseEntry { + /** The retrieved or updated account tax settings. */ + accountTax?: AccountTax; + /** The ID of the request entry this entry responds to. */ + batchId?: number; + /** A list of errors defined if and only if the request failed. */ + errors?: Errors; + /** Identifies what kind of resource this is. Value: the fixed string "content#accounttaxCustomBatchResponseEntry". */ + kind?: string; + } + interface AccounttaxListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "content#accounttaxListResponse". */ + kind?: string; + /** The token for the retrieval of the next page of account tax settings. */ + nextPageToken?: string; + resources?: AccountTax[]; + } + interface CarrierRate { + /** Carrier service, such as "UPS" or "Fedex". The list of supported carriers can be retrieved via the getSupportedCarriers method. Required. */ + carrierName?: string; + /** + * Carrier service, such as "ground" or "2 days". The list of supported services for a carrier can be retrieved via the getSupportedCarriers method. + * Required. + */ + carrierService?: string; + /** + * Additive shipping rate modifier. Can be negative. For example { "value": "1", "currency" : "USD" } adds $1 to the rate, { "value": "-3", "currency" : + * "USD" } removes $3 from the rate. Optional. + */ + flatAdjustment?: Price; + /** Name of the carrier rate. Must be unique per rate group. Required. */ + name?: string; + /** Shipping origin for this carrier rate. Required. */ + originPostalCode?: string; + /** + * Multiplicative shipping rate modifier as a number in decimal notation. Can be negative. For example "5.4" increases the rate by 5.4%, "-3" decreases + * the rate by 3%. Optional. + */ + percentageAdjustment?: string; + } + interface CarriersCarrier { + /** The CLDR country code of the carrier (e.g., "US"). Always present. */ + country?: string; + /** The name of the carrier (e.g., "UPS"). Always present. */ + name?: string; + /** A list of supported services (e.g., "ground") for that carrier. Contains at least one service. */ + services?: string[]; + } + interface Datafeed { + /** The two-letter ISO 639-1 language in which the attributes are defined in the data feed. */ + attributeLanguage?: string; + /** + * [DEPRECATED] Please use target.language instead. The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for + * targetCountry. + */ + contentLanguage?: string; + /** The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported. */ + contentType?: string; + /** Fetch schedule for the feed file. */ + fetchSchedule?: DatafeedFetchSchedule; + /** The filename of the feed. All feeds must have a unique file name. */ + fileName?: string; + /** Format of the feed file. */ + format?: DatafeedFormat; + /** The ID of the data feed. */ + id?: string; + /** [DEPRECATED] Please use target.includedDestination instead. The list of intended destinations (corresponds to checked check boxes in Merchant Center). */ + intendedDestinations?: string[]; + /** Identifies what kind of resource this is. Value: the fixed string "content#datafeed". */ + kind?: string; + /** A descriptive name of the data feed. */ + name?: string; + /** + * [DEPRECATED] Please use target.country instead. The country where the items in the feed will be included in the search index, represented as a CLDR + * territory code. + */ + targetCountry?: string; + /** The targets this feed should apply to (country, language, destinations). */ + targets?: DatafeedTarget[]; + } + interface DatafeedFetchSchedule { + /** The day of the month the feed file should be fetched (1-31). */ + dayOfMonth?: number; + /** + * The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP + * protocols, so the value will need to be a valid link using one of those four protocols. + */ + fetchUrl?: string; + /** The hour of the day the feed file should be fetched (0-23). */ + hour?: number; + /** The minute of the hour the feed file should be fetched (0-59). Read-only. */ + minuteOfHour?: number; + /** An optional password for fetch_url. */ + password?: string; + /** Whether the scheduled fetch is paused or not. */ + paused?: boolean; + /** Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles". */ + timeZone?: string; + /** An optional user name for fetch_url. */ + username?: string; + /** The day of the week the feed file should be fetched. */ + weekday?: string; + } + interface DatafeedFormat { + /** + * Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV + * data feeds. + */ + columnDelimiter?: string; + /** Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected. */ + fileEncoding?: string; + /** Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds. */ + quotingMode?: string; + } + interface DatafeedStatus { + /** The country for which the status is reported, represented as a CLDR territory code. */ + country?: string; + /** The ID of the feed for which the status is reported. */ + datafeedId?: string; + /** The list of errors occurring in the feed. */ + errors?: DatafeedStatusError[]; + /** The number of items in the feed that were processed. */ + itemsTotal?: string; + /** The number of items in the feed that were valid. */ + itemsValid?: string; + /** Identifies what kind of resource this is. Value: the fixed string "content#datafeedStatus". */ + kind?: string; + /** The two-letter ISO 639-1 language for which the status is reported. */ + language?: string; + /** The last date at which the feed was uploaded. */ + lastUploadDate?: string; + /** The processing status of the feed. */ + processingStatus?: string; + /** The list of errors occurring in the feed. */ + warnings?: DatafeedStatusError[]; + } + interface DatafeedStatusError { + /** The code of the error, e.g., "validation/invalid_value". */ + code?: string; + /** The number of occurrences of the error in the feed. */ + count?: string; + /** A list of example occurrences of the error, grouped by product. */ + examples?: DatafeedStatusExample[]; + /** The error message, e.g., "Invalid price". */ + message?: string; + } + interface DatafeedStatusExample { + /** The ID of the example item. */ + itemId?: string; + /** Line number in the data feed where the example is found. */ + lineNumber?: string; + /** The problematic value. */ + value?: string; + } + interface DatafeedTarget { + /** The country where the items in the feed will be included in the search index, represented as a CLDR territory code. */ + country?: string; + /** The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center). */ + excludedDestinations?: string[]; + /** + * The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included + * unless provided in the excluded_destination field. + */ + includedDestinations?: string[]; + /** The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for targets[].country. */ + language?: string; + } + interface DatafeedsCustomBatchRequest { + /** The request entries to be processed in the batch. */ + entries?: DatafeedsCustomBatchRequestEntry[]; + } + interface DatafeedsCustomBatchRequestEntry { + /** An entry ID, unique within the batch request. */ + batchId?: number; + /** The data feed to insert. */ + datafeed?: Datafeed; + /** The ID of the data feed to get or delete. */ + datafeedId?: string; + /** The ID of the managing account. */ + merchantId?: string; + method?: string; + } + interface DatafeedsCustomBatchResponse { + /** The result of the execution of the batch requests. */ + entries?: DatafeedsCustomBatchResponseEntry[]; + /** Identifies what kind of resource this is. Value: the fixed string "content#datafeedsCustomBatchResponse". */ + kind?: string; + } + interface DatafeedsCustomBatchResponseEntry { + /** The ID of the request entry this entry responds to. */ + batchId?: number; + /** The requested data feed. Defined if and only if the request was successful. */ + datafeed?: Datafeed; + /** A list of errors defined if and only if the request failed. */ + errors?: Errors; + } + interface DatafeedsListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "content#datafeedsListResponse". */ + kind?: string; + /** The token for the retrieval of the next page of datafeeds. */ + nextPageToken?: string; + resources?: Datafeed[]; + } + interface DatafeedstatusesCustomBatchRequest { + /** The request entries to be processed in the batch. */ + entries?: DatafeedstatusesCustomBatchRequestEntry[]; + } + interface DatafeedstatusesCustomBatchRequestEntry { + /** An entry ID, unique within the batch request. */ + batchId?: number; + /** + * The country for which to get the datafeed status. If this parameter is provided then language must also be provided. Note that for multi-target + * datafeeds this parameter is required. + */ + country?: string; + /** The ID of the data feed to get. */ + datafeedId?: string; + /** + * The language for which to get the datafeed status. If this parameter is provided then country must also be provided. Note that for multi-target + * datafeeds this parameter is required. + */ + language?: string; + /** The ID of the managing account. */ + merchantId?: string; + method?: string; + } + interface DatafeedstatusesCustomBatchResponse { + /** The result of the execution of the batch requests. */ + entries?: DatafeedstatusesCustomBatchResponseEntry[]; + /** Identifies what kind of resource this is. Value: the fixed string "content#datafeedstatusesCustomBatchResponse". */ + kind?: string; + } + interface DatafeedstatusesCustomBatchResponseEntry { + /** The ID of the request entry this entry responds to. */ + batchId?: number; + /** The requested data feed status. Defined if and only if the request was successful. */ + datafeedStatus?: DatafeedStatus; + /** A list of errors defined if and only if the request failed. */ + errors?: Errors; + } + interface DatafeedstatusesListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "content#datafeedstatusesListResponse". */ + kind?: string; + /** The token for the retrieval of the next page of datafeed statuses. */ + nextPageToken?: string; + resources?: DatafeedStatus[]; + } + interface DeliveryTime { + /** + * Maximum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to + * minTransitTimeInDays. Required. + */ + maxTransitTimeInDays?: number; + /** Minimum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Required. */ + minTransitTimeInDays?: number; + } + interface Error { + /** The domain of the error. */ + domain?: string; + /** A description of the error. */ + message?: string; + /** The error code. */ + reason?: string; + } + interface Errors { + /** The HTTP status of the first error in errors. */ + code?: number; + /** A list of errors. */ + errors?: Error[]; + /** The message of the first error in errors. */ + message?: string; + } + interface Headers { + /** A list of location ID sets. Must be non-empty. Can only be set if all other fields are not set. */ + locations?: LocationIdSet[]; + /** + * A list of inclusive number of items upper bounds. The last value can be "infinity". For example ["10", "50", "infinity"] represents the headers "<= 10 + * items", " 50 items". Must be non-empty. Can only be set if all other fields are not set. + */ + numberOfItems?: string[]; + /** + * A list of postal group names. The last value can be "all other locations". Example: ["zone 1", "zone 2", "all other locations"]. The referred postal + * code groups must match the delivery country of the service. Must be non-empty. Can only be set if all other fields are not set. + */ + postalCodeGroupNames?: string[]; + /** + * be "infinity". For example [{"value": "10", "currency": "USD"}, {"value": "500", "currency": "USD"}, {"value": "infinity", "currency": "USD"}] + * represents the headers "<= $10", " $500". All prices within a service must have the same currency. Must be non-empty. Can only be set if all other + * fields are not set. + */ + prices?: Price[]; + /** + * be "infinity". For example [{"value": "10", "unit": "kg"}, {"value": "50", "unit": "kg"}, {"value": "infinity", "unit": "kg"}] represents the headers + * "<= 10kg", " 50kg". All weights within a service must have the same unit. Must be non-empty. Can only be set if all other fields are not set. + */ + weights?: Weight[]; + } + interface Installment { + /** The amount the buyer has to pay per month. */ + amount?: Price; + /** The number of installments the buyer has to pay. */ + months?: string; + } + interface Inventory { + /** The availability of the product. */ + availability?: string; + /** Number and amount of installments to pay for an item. Brazil only. */ + installment?: Installment; + /** Identifies what kind of resource this is. Value: the fixed string "content#inventory". */ + kind?: string; + /** Loyalty points that users receive after purchasing the item. Japan only. */ + loyaltyPoints?: LoyaltyPoints; + /** + * Store pickup information. Only supported for local inventory. Not setting pickup means "don't update" while setting it to the empty value ({} in JSON) + * means "delete". Otherwise, pickupMethod and pickupSla must be set together, unless pickupMethod is "not supported". + */ + pickup?: InventoryPickup; + /** The price of the product. */ + price?: Price; + /** The quantity of the product. Must be equal to or greater than zero. Supported only for local products. */ + quantity?: number; + /** The sale price of the product. Mandatory if sale_price_effective_date is defined. */ + salePrice?: Price; + /** A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates might be specified as 'null' if undecided. */ + salePriceEffectiveDate?: string; + /** The quantity of the product that is reserved for sell-on-google ads. Supported only for online products. */ + sellOnGoogleQuantity?: number; + } + interface InventoryCustomBatchRequest { + /** The request entries to be processed in the batch. */ + entries?: InventoryCustomBatchRequestEntry[]; + } + interface InventoryCustomBatchRequestEntry { + /** An entry ID, unique within the batch request. */ + batchId?: number; + /** Price and availability of the product. */ + inventory?: Inventory; + /** The ID of the managing account. */ + merchantId?: string; + /** The ID of the product for which to update price and availability. */ + productId?: string; + /** The code of the store for which to update price and availability. Use online to update price and availability of an online product. */ + storeCode?: string; + } + interface InventoryCustomBatchResponse { + /** The result of the execution of the batch requests. */ + entries?: InventoryCustomBatchResponseEntry[]; + /** Identifies what kind of resource this is. Value: the fixed string "content#inventoryCustomBatchResponse". */ + kind?: string; + } + interface InventoryCustomBatchResponseEntry { + /** The ID of the request entry this entry responds to. */ + batchId?: number; + /** A list of errors defined if and only if the request failed. */ + errors?: Errors; + /** Identifies what kind of resource this is. Value: the fixed string "content#inventoryCustomBatchResponseEntry". */ + kind?: string; + } + interface InventoryPickup { + /** + * Whether store pickup is available for this offer and whether the pickup option should be shown as buy, reserve, or not supported. Only supported for + * local inventory. Unless the value is "not supported", must be submitted together with pickupSla. + */ + pickupMethod?: string; + /** + * The expected date that an order will be ready for pickup, relative to when the order is placed. Only supported for local inventory. Must be submitted + * together with pickupMethod. + */ + pickupSla?: string; + } + interface InventorySetRequest { + /** The availability of the product. */ + availability?: string; + /** Number and amount of installments to pay for an item. Brazil only. */ + installment?: Installment; + /** Loyalty points that users receive after purchasing the item. Japan only. */ + loyaltyPoints?: LoyaltyPoints; + /** + * Store pickup information. Only supported for local inventory. Not setting pickup means "don't update" while setting it to the empty value ({} in JSON) + * means "delete". Otherwise, pickupMethod and pickupSla must be set together, unless pickupMethod is "not supported". + */ + pickup?: InventoryPickup; + /** The price of the product. */ + price?: Price; + /** The quantity of the product. Must be equal to or greater than zero. Supported only for local products. */ + quantity?: number; + /** The sale price of the product. Mandatory if sale_price_effective_date is defined. */ + salePrice?: Price; + /** A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates might be specified as 'null' if undecided. */ + salePriceEffectiveDate?: string; + /** The quantity of the product that is reserved for sell-on-google ads. Supported only for online products. */ + sellOnGoogleQuantity?: number; + } + interface InventorySetResponse { + /** Identifies what kind of resource this is. Value: the fixed string "content#inventorySetResponse". */ + kind?: string; + } + interface LocationIdSet { + /** A non-empty list of location IDs. They must all be of the same location type (e.g., state). */ + locationIds?: string[]; + } + interface LoyaltyPoints { + /** Name of loyalty points program. It is recommended to limit the name to 12 full-width characters or 24 Roman characters. */ + name?: string; + /** The retailer's loyalty points in absolute value. */ + pointsValue?: string; + /** The ratio of a point when converted to currency. Google assumes currency based on Merchant Center settings. If ratio is left out, it defaults to 1.0. */ + ratio?: number; + } + interface Order { + /** Whether the order was acknowledged. */ + acknowledged?: boolean; + /** The channel type of the order: "purchaseOnGoogle" or "googleExpress". */ + channelType?: string; + /** The details of the customer who placed the order. */ + customer?: OrderCustomer; + /** The details for the delivery. */ + deliveryDetails?: OrderDeliveryDetails; + /** The REST id of the order. Globally unique. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "content#order". */ + kind?: string; + /** Line items that are ordered. */ + lineItems?: OrderLineItem[]; + merchantId?: string; + /** Merchant-provided id of the order. */ + merchantOrderId?: string; + /** + * The net amount for the order. For example, if an order was originally for a grand total of $100 and a refund was issued for $20, the net amount will be + * $80. + */ + netAmount?: Price; + /** The details of the payment method. */ + paymentMethod?: OrderPaymentMethod; + /** The status of the payment. */ + paymentStatus?: string; + /** The date when the order was placed, in ISO 8601 format. */ + placedDate?: string; + /** The details of the merchant provided promotions applied to the order. More details about the program are here. */ + promotions?: OrderPromotion[]; + /** Refunds for the order. */ + refunds?: OrderRefund[]; + /** Shipments of the order. */ + shipments?: OrderShipment[]; + /** The total cost of shipping for all items. */ + shippingCost?: Price; + /** The tax for the total shipping cost. */ + shippingCostTax?: Price; + /** The requested shipping option. */ + shippingOption?: string; + /** The status of the order. */ + status?: string; + } + interface OrderAddress { + /** CLDR country code (e.g. "US"). */ + country?: string; + /** + * Strings representing the lines of the printed label for mailing the order, for example: + * John Smith + * 1600 Amphitheatre Parkway + * Mountain View, CA, 94043 + * United States + */ + fullAddress?: string[]; + /** Whether the address is a post office box. */ + isPostOfficeBox?: boolean; + /** City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs). */ + locality?: string; + /** Postal Code or ZIP (e.g. "94043"). */ + postalCode?: string; + /** Name of the recipient. */ + recipientName?: string; + /** Top-level administrative subdivision of the country (e.g. "CA"). */ + region?: string; + /** Street-level part of the address. */ + streetAddress?: string[]; + } + interface OrderCancellation { + /** The actor that created the cancellation. */ + actor?: string; + /** Date on which the cancellation has been created, in ISO 8601 format. */ + creationDate?: string; + /** The quantity that was canceled. */ + quantity?: number; + /** + * The reason for the cancellation. Orders that are cancelled with a noInventory reason will lead to the removal of the product from POG until you make an + * update to that product. This will not affect your Shopping ads. + */ + reason?: string; + /** The explanation of the reason. */ + reasonText?: string; + } + interface OrderCustomer { + /** Email address of the customer. */ + email?: string; + /** + * If set, this indicates the user explicitly chose to opt in or out of providing marketing rights to the merchant. If unset, this indicates the user has + * already made this choice in a previous purchase, and was thus not shown the marketing right opt in/out checkbox during the checkout flow. + */ + explicitMarketingPreference?: boolean; + /** Full name of the customer. */ + fullName?: string; + } + interface OrderDeliveryDetails { + /** The delivery address */ + address?: OrderAddress; + /** The phone number of the person receiving the delivery. */ + phoneNumber?: string; + } + interface OrderLineItem { + /** Cancellations of the line item. */ + cancellations?: OrderCancellation[]; + /** The channel type of the order: "purchaseOnGoogle" or "googleExpress". */ + channelType?: string; + /** The id of the line item. */ + id?: string; + /** Total price for the line item. For example, if two items for $10 are purchased, the total price will be $20. */ + price?: Price; + /** Product data from the time of the order placement. */ + product?: OrderLineItemProduct; + /** Number of items canceled. */ + quantityCanceled?: number; + /** Number of items delivered. */ + quantityDelivered?: number; + /** Number of items ordered. */ + quantityOrdered?: number; + /** Number of items pending. */ + quantityPending?: number; + /** Number of items returned. */ + quantityReturned?: number; + /** Number of items shipped. */ + quantityShipped?: number; + /** Details of the return policy for the line item. */ + returnInfo?: OrderLineItemReturnInfo; + /** Returns of the line item. */ + returns?: OrderReturn[]; + /** Details of the requested shipping for the line item. */ + shippingDetails?: OrderLineItemShippingDetails; + /** Total tax amount for the line item. For example, if two items are purchased, and each have a cost tax of $2, the total tax amount will be $4. */ + tax?: Price; + } + interface OrderLineItemProduct { + /** Brand of the item. */ + brand?: string; + /** The item's channel (online or local). */ + channel?: string; + /** Condition or state of the item. */ + condition?: string; + /** The two-letter ISO 639-1 language code for the item. */ + contentLanguage?: string; + /** Global Trade Item Number (GTIN) of the item. */ + gtin?: string; + /** The REST id of the product. */ + id?: string; + /** URL of an image of the item. */ + imageLink?: string; + /** Shared identifier for all variants of the same product. */ + itemGroupId?: string; + /** Manufacturer Part Number (MPN) of the item. */ + mpn?: string; + /** An identifier of the item. */ + offerId?: string; + /** Price of the item. */ + price?: Price; + /** URL to the cached image shown to the user when order was placed. */ + shownImage?: string; + /** The CLDR territory code of the target country of the product. */ + targetCountry?: string; + /** The title of the product. */ + title?: string; + /** + * Variant attributes for the item. These are dimensions of the product, such as color, gender, material, pattern, and size. You can find a comprehensive + * list of variant attributes here. + */ + variantAttributes?: OrderLineItemProductVariantAttribute[]; + } + interface OrderLineItemProductVariantAttribute { + /** The dimension of the variant. */ + dimension?: string; + /** The value for the dimension. */ + value?: string; + } + interface OrderLineItemReturnInfo { + /** How many days later the item can be returned. */ + daysToReturn?: number; + /** Whether the item is returnable. */ + isReturnable?: boolean; + /** URL of the item return policy. */ + policyUrl?: string; + } + interface OrderLineItemShippingDetails { + /** The delivery by date, in ISO 8601 format. */ + deliverByDate?: string; + /** Details of the shipping method. */ + method?: OrderLineItemShippingDetailsMethod; + /** The ship by date, in ISO 8601 format. */ + shipByDate?: string; + } + interface OrderLineItemShippingDetailsMethod { + /** The carrier for the shipping. Optional. See shipments[].carrier for a list of acceptable values. */ + carrier?: string; + /** Maximum transit time. */ + maxDaysInTransit?: number; + /** The name of the shipping method. */ + methodName?: string; + /** Minimum transit time. */ + minDaysInTransit?: number; + } + interface OrderPaymentMethod { + /** The billing address. */ + billingAddress?: OrderAddress; + /** The card expiration month (January = 1, February = 2 etc.). */ + expirationMonth?: number; + /** The card expiration year (4-digit, e.g. 2015). */ + expirationYear?: number; + /** The last four digits of the card number. */ + lastFourDigits?: string; + /** The billing phone number. */ + phoneNumber?: string; + /** + * The type of instrument. + * + * Acceptable values are: + * - "AMEX" + * - "DISCOVER" + * - "JCB" + * - "MASTERCARD" + * - "UNIONPAY" + * - "VISA" + * - "" + */ + type?: string; + } + interface OrderPromotion { + benefits?: OrderPromotionBenefit[]; + /** + * The date and time frame when the promotion is active and ready for validation review. Note that the promotion live time may be delayed for a few hours + * due to the validation review. + * Start date and end date are separated by a forward slash (/). The start date is specified by the format (YYYY-MM-DD), followed by the letter ?T?, the + * time of the day when the sale starts (in Greenwich Mean Time, GMT), followed by an expression of the time zone for the sale. The end date is in the + * same format. + */ + effectiveDates?: string; + /** Optional. The text code that corresponds to the promotion when applied on the retailer?s website. */ + genericRedemptionCode?: string; + /** The unique ID of the promotion. */ + id?: string; + /** The full title of the promotion. */ + longTitle?: string; + /** Whether the promotion is applicable to all products or only specific products. */ + productApplicability?: string; + /** Indicates that the promotion is valid online. */ + redemptionChannel?: string; + } + interface OrderPromotionBenefit { + /** The discount in the order price when the promotion is applied. */ + discount?: Price; + /** The OfferId(s) that were purchased in this order and map to this specific benefit of the promotion. */ + offerIds?: string[]; + /** Further describes the benefit of the promotion. Note that we will expand on this enumeration as we support new promotion sub-types. */ + subType?: string; + /** The impact on tax when the promotion is applied. */ + taxImpact?: Price; + /** Describes whether the promotion applies to products (e.g. 20% off) or to shipping (e.g. Free Shipping). */ + type?: string; + } + interface OrderRefund { + /** The actor that created the refund. */ + actor?: string; + /** The amount that is refunded. */ + amount?: Price; + /** Date on which the item has been created, in ISO 8601 format. */ + creationDate?: string; + /** The reason for the refund. */ + reason?: string; + /** The explanation of the reason. */ + reasonText?: string; + } + interface OrderReturn { + /** The actor that created the refund. */ + actor?: string; + /** Date on which the item has been created, in ISO 8601 format. */ + creationDate?: string; + /** Quantity that is returned. */ + quantity?: number; + /** The reason for the return. */ + reason?: string; + /** The explanation of the reason. */ + reasonText?: string; + } + interface OrderShipment { + /** + * The carrier handling the shipment. + * + * Acceptable values are: + * - "gsx" + * - "ups" + * - "united parcel service" + * - "usps" + * - "united states postal service" + * - "fedex" + * - "dhl" + * - "ecourier" + * - "cxt" + * - "google" + * - "on trac" + * - "ontrac" + * - "on-trac" + * - "on_trac" + * - "delvic" + * - "dynamex" + * - "lasership" + * - "smartpost" + * - "fedex smartpost" + * - "mpx" + * - "uds" + * - "united delivery service" + */ + carrier?: string; + /** Date on which the shipment has been created, in ISO 8601 format. */ + creationDate?: string; + /** Date on which the shipment has been delivered, in ISO 8601 format. Present only if status is delievered */ + deliveryDate?: string; + /** The id of the shipment. */ + id?: string; + /** The line items that are shipped. */ + lineItems?: OrderShipmentLineItemShipment[]; + /** The status of the shipment. */ + status?: string; + /** The tracking id for the shipment. */ + trackingId?: string; + } + interface OrderShipmentLineItemShipment { + /** The id of the line item that is shipped. */ + lineItemId?: string; + /** The quantity that is shipped. */ + quantity?: number; + } + interface OrdersAcknowledgeRequest { + /** The ID of the operation. Unique across all operations for a given order. */ + operationId?: string; + } + interface OrdersAcknowledgeResponse { + /** The status of the execution. */ + executionStatus?: string; + /** Identifies what kind of resource this is. Value: the fixed string "content#ordersAcknowledgeResponse". */ + kind?: string; + } + interface OrdersAdvanceTestOrderResponse { + /** Identifies what kind of resource this is. Value: the fixed string "content#ordersAdvanceTestOrderResponse". */ + kind?: string; + } + interface OrdersCancelLineItemRequest { + /** + * Amount to refund for the cancelation. Optional. If not set, Google will calculate the default based on the price and tax of the items involved. The + * amount must not be larger than the net amount left on the order. + */ + amount?: Price; + /** The ID of the line item to cancel. */ + lineItemId?: string; + /** The ID of the operation. Unique across all operations for a given order. */ + operationId?: string; + /** The quantity to cancel. */ + quantity?: number; + /** The reason for the cancellation. */ + reason?: string; + /** The explanation of the reason. */ + reasonText?: string; + } + interface OrdersCancelLineItemResponse { + /** The status of the execution. */ + executionStatus?: string; + /** Identifies what kind of resource this is. Value: the fixed string "content#ordersCancelLineItemResponse". */ + kind?: string; + } + interface OrdersCancelRequest { + /** The ID of the operation. Unique across all operations for a given order. */ + operationId?: string; + /** The reason for the cancellation. */ + reason?: string; + /** The explanation of the reason. */ + reasonText?: string; + } + interface OrdersCancelResponse { + /** The status of the execution. */ + executionStatus?: string; + /** Identifies what kind of resource this is. Value: the fixed string "content#ordersCancelResponse". */ + kind?: string; + } + interface OrdersCreateTestOrderRequest { + /** + * The test order template to use. Specify as an alternative to testOrder as a shortcut for retrieving a template and then creating an order using that + * template. + */ + templateName?: string; + /** The test order to create. */ + testOrder?: TestOrder; + } + interface OrdersCreateTestOrderResponse { + /** Identifies what kind of resource this is. Value: the fixed string "content#ordersCreateTestOrderResponse". */ + kind?: string; + /** The ID of the newly created test order. */ + orderId?: string; + } + interface OrdersCustomBatchRequest { + /** The request entries to be processed in the batch. */ + entries?: OrdersCustomBatchRequestEntry[]; + } + interface OrdersCustomBatchRequestEntry { + /** An entry ID, unique within the batch request. */ + batchId?: number; + /** Required for cancel method. */ + cancel?: OrdersCustomBatchRequestEntryCancel; + /** Required for cancelLineItem method. */ + cancelLineItem?: OrdersCustomBatchRequestEntryCancelLineItem; + /** The ID of the managing account. */ + merchantId?: string; + /** The merchant order id. Required for updateMerchantOrderId and getByMerchantOrderId methods. */ + merchantOrderId?: string; + /** The method to apply. */ + method?: string; + /** The ID of the operation. Unique across all operations for a given order. Required for all methods beside get and getByMerchantOrderId. */ + operationId?: string; + /** The ID of the order. Required for all methods beside getByMerchantOrderId. */ + orderId?: string; + /** Required for refund method. */ + refund?: OrdersCustomBatchRequestEntryRefund; + /** Required for returnLineItem method. */ + returnLineItem?: OrdersCustomBatchRequestEntryReturnLineItem; + /** Required for shipLineItems method. */ + shipLineItems?: OrdersCustomBatchRequestEntryShipLineItems; + /** Required for updateShipment method. */ + updateShipment?: OrdersCustomBatchRequestEntryUpdateShipment; + } + interface OrdersCustomBatchRequestEntryCancel { + /** The reason for the cancellation. */ + reason?: string; + /** The explanation of the reason. */ + reasonText?: string; + } + interface OrdersCustomBatchRequestEntryCancelLineItem { + /** + * Amount to refund for the cancelation. Optional. If not set, Google will calculate the default based on the price and tax of the items involved. The + * amount must not be larger than the net amount left on the order. + */ + amount?: Price; + /** The ID of the line item to cancel. */ + lineItemId?: string; + /** The quantity to cancel. */ + quantity?: number; + /** The reason for the cancellation. */ + reason?: string; + /** The explanation of the reason. */ + reasonText?: string; + } + interface OrdersCustomBatchRequestEntryRefund { + /** The amount that is refunded. */ + amount?: Price; + /** The reason for the refund. */ + reason?: string; + /** The explanation of the reason. */ + reasonText?: string; + } + interface OrdersCustomBatchRequestEntryReturnLineItem { + /** The ID of the line item to return. */ + lineItemId?: string; + /** The quantity to return. */ + quantity?: number; + /** The reason for the return. */ + reason?: string; + /** The explanation of the reason. */ + reasonText?: string; + } + interface OrdersCustomBatchRequestEntryShipLineItems { + /** + * Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. See shipments[].carrier in the Orders resource representation for a + * list of acceptable values. + */ + carrier?: string; + /** Line items to ship. */ + lineItems?: OrderShipmentLineItemShipment[]; + /** Deprecated. Please use shipmentInfo instead. The ID of the shipment. */ + shipmentId?: string; + /** Shipment information. This field is repeated because a single line item can be shipped in several packages (and have several tracking IDs). */ + shipmentInfos?: OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo[]; + /** Deprecated. Please use shipmentInfo instead. The tracking id for the shipment. */ + trackingId?: string; + } + interface OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo { + /** The carrier handling the shipment. See shipments[].carrier in the Orders resource representation for a list of acceptable values. */ + carrier?: string; + /** The ID of the shipment. */ + shipmentId?: string; + /** The tracking id for the shipment. */ + trackingId?: string; + } + interface OrdersCustomBatchRequestEntryUpdateShipment { + /** + * The carrier handling the shipment. Not updated if missing. See shipments[].carrier in the Orders resource representation for a list of acceptable + * values. + */ + carrier?: string; + /** The ID of the shipment. */ + shipmentId?: string; + /** New status for the shipment. Not updated if missing. */ + status?: string; + /** The tracking id for the shipment. Not updated if missing. */ + trackingId?: string; + } + interface OrdersCustomBatchResponse { + /** The result of the execution of the batch requests. */ + entries?: OrdersCustomBatchResponseEntry[]; + /** Identifies what kind of resource this is. Value: the fixed string "content#ordersCustomBatchResponse". */ + kind?: string; + } + interface OrdersCustomBatchResponseEntry { + /** The ID of the request entry this entry responds to. */ + batchId?: number; + /** A list of errors defined if and only if the request failed. */ + errors?: Errors; + /** The status of the execution. Only defined if the method is not get or getByMerchantOrderId and if the request was successful. */ + executionStatus?: string; + /** Identifies what kind of resource this is. Value: the fixed string "content#ordersCustomBatchResponseEntry". */ + kind?: string; + /** The retrieved order. Only defined if the method is get and if the request was successful. */ + order?: Order; + } + interface OrdersGetByMerchantOrderIdResponse { + /** Identifies what kind of resource this is. Value: the fixed string "content#ordersGetByMerchantOrderIdResponse". */ + kind?: string; + /** The requested order. */ + order?: Order; + } + interface OrdersGetTestOrderTemplateResponse { + /** Identifies what kind of resource this is. Value: the fixed string "content#ordersGetTestOrderTemplateResponse". */ + kind?: string; + /** The requested test order template. */ + template?: TestOrder; + } + interface OrdersListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "content#ordersListResponse". */ + kind?: string; + /** The token for the retrieval of the next page of orders. */ + nextPageToken?: string; + resources?: Order[]; + } + interface OrdersRefundRequest { + /** The amount that is refunded. */ + amount?: Price; + /** The ID of the operation. Unique across all operations for a given order. */ + operationId?: string; + /** The reason for the refund. */ + reason?: string; + /** The explanation of the reason. */ + reasonText?: string; + } + interface OrdersRefundResponse { + /** The status of the execution. */ + executionStatus?: string; + /** Identifies what kind of resource this is. Value: the fixed string "content#ordersRefundResponse". */ + kind?: string; + } + interface OrdersReturnLineItemRequest { + /** The ID of the line item to return. */ + lineItemId?: string; + /** The ID of the operation. Unique across all operations for a given order. */ + operationId?: string; + /** The quantity to return. */ + quantity?: number; + /** The reason for the return. */ + reason?: string; + /** The explanation of the reason. */ + reasonText?: string; + } + interface OrdersReturnLineItemResponse { + /** The status of the execution. */ + executionStatus?: string; + /** Identifies what kind of resource this is. Value: the fixed string "content#ordersReturnLineItemResponse". */ + kind?: string; + } + interface OrdersShipLineItemsRequest { + /** + * Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. See shipments[].carrier in the Orders resource representation for a + * list of acceptable values. + */ + carrier?: string; + /** Line items to ship. */ + lineItems?: OrderShipmentLineItemShipment[]; + /** The ID of the operation. Unique across all operations for a given order. */ + operationId?: string; + /** Deprecated. Please use shipmentInfo instead. The ID of the shipment. */ + shipmentId?: string; + /** Shipment information. This field is repeated because a single line item can be shipped in several packages (and have several tracking IDs). */ + shipmentInfos?: OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo[]; + /** Deprecated. Please use shipmentInfo instead. The tracking id for the shipment. */ + trackingId?: string; + } + interface OrdersShipLineItemsResponse { + /** The status of the execution. */ + executionStatus?: string; + /** Identifies what kind of resource this is. Value: the fixed string "content#ordersShipLineItemsResponse". */ + kind?: string; + } + interface OrdersUpdateMerchantOrderIdRequest { + /** The merchant order id to be assigned to the order. Must be unique per merchant. */ + merchantOrderId?: string; + /** The ID of the operation. Unique across all operations for a given order. */ + operationId?: string; + } + interface OrdersUpdateMerchantOrderIdResponse { + /** The status of the execution. */ + executionStatus?: string; + /** Identifies what kind of resource this is. Value: the fixed string "content#ordersUpdateMerchantOrderIdResponse". */ + kind?: string; + } + interface OrdersUpdateShipmentRequest { + /** + * The carrier handling the shipment. Not updated if missing. See shipments[].carrier in the Orders resource representation for a list of acceptable + * values. + */ + carrier?: string; + /** The ID of the operation. Unique across all operations for a given order. */ + operationId?: string; + /** The ID of the shipment. */ + shipmentId?: string; + /** New status for the shipment. Not updated if missing. */ + status?: string; + /** The tracking id for the shipment. Not updated if missing. */ + trackingId?: string; + } + interface OrdersUpdateShipmentResponse { + /** The status of the execution. */ + executionStatus?: string; + /** Identifies what kind of resource this is. Value: the fixed string "content#ordersUpdateShipmentResponse". */ + kind?: string; + } + interface PostalCodeGroup { + /** The CLDR territory code of the country the postal code group applies to. Required. */ + country?: string; + /** The name of the postal code group, referred to in headers. Required. */ + name?: string; + /** A range of postal codes. Required. */ + postalCodeRanges?: PostalCodeRange[]; + } + interface PostalCodeRange { + /** + * A postal code or a pattern of the form prefix* denoting the inclusive lower bound of the range defining the area. Examples values: "94108", "9410*", + * "9*". Required. + */ + postalCodeRangeBegin?: string; + /** + * A postal code or a pattern of the form prefix* denoting the inclusive upper bound of the range defining the area. It must have the same length as + * postalCodeRangeBegin: if postalCodeRangeBegin is a postal code then postalCodeRangeEnd must be a postal code too; if postalCodeRangeBegin is a pattern + * then postalCodeRangeEnd must be a pattern with the same prefix length. Optional: if not set, then the area is defined as being all the postal codes + * matching postalCodeRangeBegin. + */ + postalCodeRangeEnd?: string; + } + interface Price { + /** The currency of the price. */ + currency?: string; + /** The price represented as a number. */ + value?: string; + } + interface Product { + /** Additional URLs of images of the item. */ + additionalImageLinks?: string[]; + /** Additional categories of the item (formatted as in products feed specification). */ + additionalProductTypes?: string[]; + /** Set to true if the item is targeted towards adults. */ + adult?: boolean; + /** Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise. */ + adwordsGrouping?: string; + /** Similar to adwords_grouping, but only works on CPC. */ + adwordsLabels?: string[]; + /** Allows advertisers to override the item URL when the product is shown within the context of Product Ads. */ + adwordsRedirect?: string; + /** Target age group of the item. */ + ageGroup?: string; + /** Specifies the intended aspects for the product. */ + aspects?: ProductAspect[]; + /** Availability status of the item. */ + availability?: string; + /** The day a pre-ordered product becomes available for delivery, in ISO 8601 format. */ + availabilityDate?: string; + /** Brand of the item. */ + brand?: string; + /** The item's channel (online or local). */ + channel?: string; + /** Color of the item. */ + color?: string; + /** Condition or state of the item. */ + condition?: string; + /** The two-letter ISO 639-1 language code for the item. */ + contentLanguage?: string; + /** + * A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (e.g., + * { "name": "size type", "type": "text", "value": "regular" }). This is useful for submitting attributes not explicitly exposed by the API. + */ + customAttributes?: ProductCustomAttribute[]; + /** A list of custom (merchant-provided) custom attribute groups. */ + customGroups?: ProductCustomGroup[]; + /** Custom label 0 for custom grouping of items in a Shopping campaign. */ + customLabel0?: string; + /** Custom label 1 for custom grouping of items in a Shopping campaign. */ + customLabel1?: string; + /** Custom label 2 for custom grouping of items in a Shopping campaign. */ + customLabel2?: string; + /** Custom label 3 for custom grouping of items in a Shopping campaign. */ + customLabel3?: string; + /** Custom label 4 for custom grouping of items in a Shopping campaign. */ + customLabel4?: string; + /** Description of the item. */ + description?: string; + /** Specifies the intended destinations for the product. */ + destinations?: ProductDestination[]; + /** An identifier for an item for dynamic remarketing campaigns. */ + displayAdsId?: string; + /** URL directly to your item's landing page for dynamic remarketing campaigns. */ + displayAdsLink?: string; + /** Advertiser-specified recommendations. */ + displayAdsSimilarIds?: string[]; + /** Title of an item for dynamic remarketing campaigns. */ + displayAdsTitle?: string; + /** Offer margin for dynamic remarketing campaigns. */ + displayAdsValue?: number; + /** The energy efficiency class as defined in EU directive 2010/30/EU. */ + energyEfficiencyClass?: string; + /** + * Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date in Google Shopping is exposed in + * productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future. + */ + expirationDate?: string; + /** Target gender of the item. */ + gender?: string; + /** Google's category of the item (see Google product taxonomy). */ + googleProductCategory?: string; + /** Global Trade Item Number (GTIN) of the item. */ + gtin?: string; + /** The REST id of the product. */ + id?: string; + /** + * False when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Required according to the + * Unique Product Identifier Rules for all target countries except for Canada. + */ + identifierExists?: boolean; + /** URL of an image of the item. */ + imageLink?: string; + /** Number and amount of installments to pay for an item. Brazil only. */ + installment?: Installment; + /** Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price. */ + isBundle?: boolean; + /** Shared identifier for all variants of the same product. */ + itemGroupId?: string; + /** Identifies what kind of resource this is. Value: the fixed string "content#product". */ + kind?: string; + /** URL directly linking to your item's page on your website. */ + link?: string; + /** Loyalty points that users receive after purchasing the item. Japan only. */ + loyaltyPoints?: LoyaltyPoints; + /** The material of which the item is made. */ + material?: string; + /** Maximal product handling time (in business days). */ + maxHandlingTime?: string; + /** Minimal product handling time (in business days). */ + minHandlingTime?: string; + /** Link to a mobile-optimized version of the landing page. */ + mobileLink?: string; + /** Manufacturer Part Number (MPN) of the item. */ + mpn?: string; + /** The number of identical products in a merchant-defined multipack. */ + multipack?: string; + /** + * An identifier of the item. Leading and trailing whitespaces are stripped and multiple whitespaces are replaced by a single whitespace upon submission. + * Only valid unicode characters are accepted. See the products feed specification for details. + */ + offerId?: string; + /** Whether an item is available for purchase only online. */ + onlineOnly?: boolean; + /** The item's pattern (e.g. polka dots). */ + pattern?: string; + /** Price of the item. */ + price?: Price; + /** Your category of the item (formatted as in products feed specification). */ + productType?: string; + /** The unique ID of a promotion. */ + promotionIds?: string[]; + /** Advertised sale price of the item. */ + salePrice?: Price; + /** Date range during which the item is on sale (see products feed specification). */ + salePriceEffectiveDate?: string; + /** The quantity of the product that is reserved for sell-on-google ads. */ + sellOnGoogleQuantity?: string; + /** Shipping rules. */ + shipping?: ProductShipping[]; + /** Height of the item for shipping. */ + shippingHeight?: ProductShippingDimension; + /** The shipping label of the product, used to group product in account-level shipping rules. */ + shippingLabel?: string; + /** Length of the item for shipping. */ + shippingLength?: ProductShippingDimension; + /** Weight of the item for shipping. */ + shippingWeight?: ProductShippingWeight; + /** Width of the item for shipping. */ + shippingWidth?: ProductShippingDimension; + /** System in which the size is specified. Recommended for apparel items. */ + sizeSystem?: string; + /** The cut of the item. Recommended for apparel items. */ + sizeType?: string; + /** Size of the item. */ + sizes?: string[]; + /** The CLDR territory code for the item. */ + targetCountry?: string; + /** Tax information. */ + taxes?: ProductTax[]; + /** Title of the item. */ + title?: string; + /** The preference of the denominator of the unit price. */ + unitPricingBaseMeasure?: ProductUnitPricingBaseMeasure; + /** The measure and dimension of an item. */ + unitPricingMeasure?: ProductUnitPricingMeasure; + /** The read-only list of intended destinations which passed validation. */ + validatedDestinations?: string[]; + /** Read-only warnings. */ + warnings?: Error[]; + } + interface ProductAspect { + /** The name of the aspect. */ + aspectName?: string; + /** The name of the destination. Leave out to apply to all destinations. */ + destinationName?: string; + /** Whether the aspect is required, excluded or should be validated. */ + intention?: string; + } + interface ProductCustomAttribute { + /** The name of the attribute. Underscores will be replaced by spaces upon insertion. */ + name?: string; + /** The type of the attribute. */ + type?: string; + /** Free-form unit of the attribute. Unit can only be used for values of type INT or FLOAT. */ + unit?: string; + /** The value of the attribute. */ + value?: string; + } + interface ProductCustomGroup { + /** The sub-attributes. */ + attributes?: ProductCustomAttribute[]; + /** The name of the group. Underscores will be replaced by spaces upon insertion. */ + name?: string; + } + interface ProductDestination { + /** The name of the destination. */ + destinationName?: string; + /** Whether the destination is required, excluded or should be validated. */ + intention?: string; + } + interface ProductShipping { + /** The CLDR territory code of the country to which an item will ship. */ + country?: string; + /** The location where the shipping is applicable, represented by a location group name. */ + locationGroupName?: string; + /** The numeric id of a location that the shipping rate applies to as defined in the AdWords API. */ + locationId?: string; + /** + * The postal code range that the shipping rate applies to, represented by a postal code, a postal code prefix followed by a * wildcard, a range between + * two postal codes or two postal code prefixes of equal length. + */ + postalCode?: string; + /** Fixed shipping price, represented as a number. */ + price?: Price; + /** The geographic region to which a shipping rate applies. */ + region?: string; + /** A free-form description of the service class or delivery speed. */ + service?: string; + } + interface ProductShippingDimension { + /** + * The unit of value. + * + * Acceptable values are: + * - "cm" + * - "in" + */ + unit?: string; + /** The dimension of the product used to calculate the shipping cost of the item. */ + value?: number; + } + interface ProductShippingWeight { + /** The unit of value. */ + unit?: string; + /** The weight of the product used to calculate the shipping cost of the item. */ + value?: number; + } + interface ProductStatus { + /** Date on which the item has been created, in ISO 8601 format. */ + creationDate?: string; + /** A list of data quality issues associated with the product. */ + dataQualityIssues?: ProductStatusDataQualityIssue[]; + /** The intended destinations for the product. */ + destinationStatuses?: ProductStatusDestinationStatus[]; + /** Date on which the item expires in Google Shopping, in ISO 8601 format. */ + googleExpirationDate?: string; + /** Identifies what kind of resource this is. Value: the fixed string "content#productStatus". */ + kind?: string; + /** Date on which the item has been last updated, in ISO 8601 format. */ + lastUpdateDate?: string; + /** The link to the product. */ + link?: string; + /** Product data after applying all the join inputs. */ + product?: Product; + /** The id of the product for which status is reported. */ + productId?: string; + /** The title of the product. */ + title?: string; + } + interface ProductStatusDataQualityIssue { + /** A more detailed error string. */ + detail?: string; + /** The fetch status for landing_page_errors. */ + fetchStatus?: string; + /** The id of the data quality issue. */ + id?: string; + /** The attribute name that is relevant for the issue. */ + location?: string; + /** The severity of the data quality issue. */ + severity?: string; + /** The time stamp of the data quality issue. */ + timestamp?: string; + /** The value of that attribute that was found on the landing page */ + valueOnLandingPage?: string; + /** The value the attribute had at time of evaluation. */ + valueProvided?: string; + } + interface ProductStatusDestinationStatus { + /** The destination's approval status. */ + approvalStatus?: string; + /** The name of the destination */ + destination?: string; + /** Whether the destination is required, excluded, selected by default or should be validated. */ + intention?: string; + } + interface ProductTax { + /** The country within which the item is taxed, specified as a CLDR territory code. */ + country?: string; + /** The numeric id of a location that the tax rate applies to as defined in the AdWords API. */ + locationId?: string; + /** + * The postal code range that the tax rate applies to, represented by a ZIP code, a ZIP code prefix using * wildcard, a range between two ZIP codes or two + * ZIP code prefixes of equal length. Examples: 94114, 94*, 94002-95460, 94*-95*. + */ + postalCode?: string; + /** The percentage of tax rate that applies to the item price. */ + rate?: number; + /** The geographic region to which the tax rate applies. */ + region?: string; + /** Set to true if tax is charged on shipping. */ + taxShip?: boolean; + } + interface ProductUnitPricingBaseMeasure { + /** The unit of the denominator. */ + unit?: string; + /** The denominator of the unit price. */ + value?: string; + } + interface ProductUnitPricingMeasure { + /** The unit of the measure. */ + unit?: string; + /** The measure of an item. */ + value?: number; + } + interface ProductsCustomBatchRequest { + /** The request entries to be processed in the batch. */ + entries?: ProductsCustomBatchRequestEntry[]; + } + interface ProductsCustomBatchRequestEntry { + /** An entry ID, unique within the batch request. */ + batchId?: number; + /** The ID of the managing account. */ + merchantId?: string; + method?: string; + /** The product to insert. Only required if the method is insert. */ + product?: Product; + /** The ID of the product to get or delete. Only defined if the method is get or delete. */ + productId?: string; + } + interface ProductsCustomBatchResponse { + /** The result of the execution of the batch requests. */ + entries?: ProductsCustomBatchResponseEntry[]; + /** Identifies what kind of resource this is. Value: the fixed string "content#productsCustomBatchResponse". */ + kind?: string; + } + interface ProductsCustomBatchResponseEntry { + /** The ID of the request entry this entry responds to. */ + batchId?: number; + /** A list of errors defined if and only if the request failed. */ + errors?: Errors; + /** Identifies what kind of resource this is. Value: the fixed string "content#productsCustomBatchResponseEntry". */ + kind?: string; + /** The inserted product. Only defined if the method is insert and if the request was successful. */ + product?: Product; + } + interface ProductsListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "content#productsListResponse". */ + kind?: string; + /** The token for the retrieval of the next page of products. */ + nextPageToken?: string; + resources?: Product[]; + } + interface ProductstatusesCustomBatchRequest { + /** The request entries to be processed in the batch. */ + entries?: ProductstatusesCustomBatchRequestEntry[]; + } + interface ProductstatusesCustomBatchRequestEntry { + /** An entry ID, unique within the batch request. */ + batchId?: number; + includeAttributes?: boolean; + /** The ID of the managing account. */ + merchantId?: string; + method?: string; + /** The ID of the product whose status to get. */ + productId?: string; + } + interface ProductstatusesCustomBatchResponse { + /** The result of the execution of the batch requests. */ + entries?: ProductstatusesCustomBatchResponseEntry[]; + /** Identifies what kind of resource this is. Value: the fixed string "content#productstatusesCustomBatchResponse". */ + kind?: string; + } + interface ProductstatusesCustomBatchResponseEntry { + /** The ID of the request entry this entry responds to. */ + batchId?: number; + /** A list of errors, if the request failed. */ + errors?: Errors; + /** Identifies what kind of resource this is. Value: the fixed string "content#productstatusesCustomBatchResponseEntry". */ + kind?: string; + /** The requested product status. Only defined if the request was successful. */ + productStatus?: ProductStatus; + } + interface ProductstatusesListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "content#productstatusesListResponse". */ + kind?: string; + /** The token for the retrieval of the next page of products statuses. */ + nextPageToken?: string; + resources?: ProductStatus[]; + } + interface RateGroup { + /** + * A list of shipping labels defining the products to which this rate group applies to. This is a disjunction: only one of the labels has to match for the + * rate group to apply. May only be empty for the last rate group of a service. Required. + */ + applicableShippingLabels?: string[]; + /** A list of carrier rates that can be referred to by mainTable or singleValue. */ + carrierRates?: CarrierRate[]; + /** A table defining the rate group, when singleValue is not expressive enough. Can only be set if singleValue is not set. */ + mainTable?: Table; + /** The value of the rate group (e.g. flat rate $10). Can only be set if mainTable and subtables are not set. */ + singleValue?: Value; + /** A list of subtables referred to by mainTable. Can only be set if mainTable is set. */ + subtables?: Table[]; + } + interface Row { + /** + * The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional + * tables. Required. + */ + cells?: Value[]; + } + interface Service { + /** A boolean exposing the active status of the shipping service. Required. */ + active?: boolean; + /** The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups. */ + currency?: string; + /** The CLDR territory code of the country to which the service applies. Required. */ + deliveryCountry?: string; + /** Time spent in various aspects from order to the delivery of the product. Required. */ + deliveryTime?: DeliveryTime; + /** + * Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have + * the same currency. + */ + minimumOrderValue?: Price; + /** Free-form name of the service. Must be unique within target account. Required. */ + name?: string; + /** + * Shipping rate group definitions. Only the last one is allowed to have an empty applicableShippingLabels, which means "everything else". The other + * applicableShippingLabels must not overlap. + */ + rateGroups?: RateGroup[]; + } + interface ShippingSettings { + /** The ID of the account to which these account shipping settings belong. Ignored upon update, always present in get request responses. */ + accountId?: string; + /** A list of postal code groups that can be referred to in services. Optional. */ + postalCodeGroups?: PostalCodeGroup[]; + /** The target account's list of services. Optional. */ + services?: Service[]; + } + interface ShippingsettingsCustomBatchRequest { + /** The request entries to be processed in the batch. */ + entries?: ShippingsettingsCustomBatchRequestEntry[]; + } + interface ShippingsettingsCustomBatchRequestEntry { + /** The ID of the account for which to get/update account shipping settings. */ + accountId?: string; + /** An entry ID, unique within the batch request. */ + batchId?: number; + /** The ID of the managing account. */ + merchantId?: string; + method?: string; + /** The account shipping settings to update. Only defined if the method is update. */ + shippingSettings?: ShippingSettings; + } + interface ShippingsettingsCustomBatchResponse { + /** The result of the execution of the batch requests. */ + entries?: ShippingsettingsCustomBatchResponseEntry[]; + /** Identifies what kind of resource this is. Value: the fixed string "content#shippingsettingsCustomBatchResponse". */ + kind?: string; + } + interface ShippingsettingsCustomBatchResponseEntry { + /** The ID of the request entry to which this entry responds. */ + batchId?: number; + /** A list of errors defined if, and only if, the request failed. */ + errors?: Errors; + /** Identifies what kind of resource this is. Value: the fixed string "content#shippingsettingsCustomBatchResponseEntry". */ + kind?: string; + /** The retrieved or updated account shipping settings. */ + shippingSettings?: ShippingSettings; + } + interface ShippingsettingsGetSupportedCarriersResponse { + /** A list of supported carriers. May be empty. */ + carriers?: CarriersCarrier[]; + /** Identifies what kind of resource this is. Value: the fixed string "content#shippingsettingsGetSupportedCarriersResponse". */ + kind?: string; + } + interface ShippingsettingsListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "content#shippingsettingsListResponse". */ + kind?: string; + /** The token for the retrieval of the next page of shipping settings. */ + nextPageToken?: string; + resources?: ShippingSettings[]; + } + interface Table { + /** Headers of the table's columns. Optional: if not set then the table has only one dimension. */ + columnHeaders?: Headers; + /** Name of the table. Required for subtables, ignored for the main table. */ + name?: string; + /** Headers of the table's rows. Required. */ + rowHeaders?: Headers; + /** The list of rows that constitute the table. Must have the same length as rowHeaders. Required. */ + rows?: Row[]; + } + interface TestOrder { + /** The details of the customer who placed the order. */ + customer?: TestOrderCustomer; + /** Identifies what kind of resource this is. Value: the fixed string "content#testOrder". */ + kind?: string; + /** Line items that are ordered. At least one line item must be provided. */ + lineItems?: TestOrderLineItem[]; + /** The details of the payment method. */ + paymentMethod?: TestOrderPaymentMethod; + /** Identifier of one of the predefined delivery addresses for the delivery. */ + predefinedDeliveryAddress?: string; + /** The details of the merchant provided promotions applied to the order. More details about the program are here. */ + promotions?: OrderPromotion[]; + /** The total cost of shipping for all items. */ + shippingCost?: Price; + /** The tax for the total shipping cost. */ + shippingCostTax?: Price; + /** The requested shipping option. */ + shippingOption?: string; + } + interface TestOrderCustomer { + /** Email address of the customer. */ + email?: string; + /** + * If set, this indicates the user explicitly chose to opt in or out of providing marketing rights to the merchant. If unset, this indicates the user has + * already made this choice in a previous purchase, and was thus not shown the marketing right opt in/out checkbox during the checkout flow. Optional. + */ + explicitMarketingPreference?: boolean; + /** Full name of the customer. */ + fullName?: string; + } + interface TestOrderLineItem { + /** Product data from the time of the order placement. */ + product?: TestOrderLineItemProduct; + /** Number of items ordered. */ + quantityOrdered?: number; + /** Details of the return policy for the line item. */ + returnInfo?: OrderLineItemReturnInfo; + /** Details of the requested shipping for the line item. */ + shippingDetails?: OrderLineItemShippingDetails; + /** Unit tax for the line item. */ + unitTax?: Price; + } + interface TestOrderLineItemProduct { + /** Brand of the item. */ + brand?: string; + /** The item's channel. */ + channel?: string; + /** Condition or state of the item. */ + condition?: string; + /** The two-letter ISO 639-1 language code for the item. */ + contentLanguage?: string; + /** Global Trade Item Number (GTIN) of the item. Optional. */ + gtin?: string; + /** URL of an image of the item. */ + imageLink?: string; + /** Shared identifier for all variants of the same product. Optional. */ + itemGroupId?: string; + /** Manufacturer Part Number (MPN) of the item. Optional. */ + mpn?: string; + /** An identifier of the item. */ + offerId?: string; + /** The price for the product. */ + price?: Price; + /** The CLDR territory code of the target country of the product. */ + targetCountry?: string; + /** The title of the product. */ + title?: string; + /** Variant attributes for the item. Optional. */ + variantAttributes?: OrderLineItemProductVariantAttribute[]; + } + interface TestOrderPaymentMethod { + /** The card expiration month (January = 1, February = 2 etc.). */ + expirationMonth?: number; + /** The card expiration year (4-digit, e.g. 2015). */ + expirationYear?: number; + /** The last four digits of the card number. */ + lastFourDigits?: string; + /** The billing address. */ + predefinedBillingAddress?: string; + /** The type of instrument. Note that real orders might have different values than the four values accepted by createTestOrder. */ + type?: string; + } + interface Value { + /** The name of a carrier rate referring to a carrier rate defined in the same rate group. Can only be set if all other fields are not set. */ + carrierRateName?: string; + /** A flat rate. Can only be set if all other fields are not set. */ + flatRate?: Price; + /** If true, then the product can't ship. Must be true when set, can only be set if all other fields are not set. */ + noShipping?: boolean; + /** A percentage of the price represented as a number in decimal notation (e.g., "5.4"). Can only be set if all other fields are not set. */ + pricePercentage?: string; + /** The name of a subtable. Can only be set in table cells (i.e., not for single values), and only if all other fields are not set. */ + subtableName?: string; + } + interface Weight { + /** The weight unit. */ + unit?: string; + /** The weight represented as a number. */ + value?: string; + } + interface AccountsResource { + /** Returns information about the authenticated user. */ + authinfo(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountsAuthInfoResponse>; + /** + * Claims the website of a Merchant Center sub-account. This method can only be called for accounts to which the managing account has access: either the + * managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. + */ + claimwebsite(request: { + /** The ID of the account whose website is claimed. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Only available to selected merchants. When set to True, this flag removes any existing claim on the requested website by another account and replaces + * it with a claim from this account. + */ + overwrite?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountsClaimWebsiteResponse>; + /** Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request. */ + custombatch(request: { + /** Data format for the response. */ + alt?: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountsCustomBatchResponse>; + /** Deletes a Merchant Center sub-account. This method can only be called for multi-client accounts. */ + delete(request: { + /** The ID of the account. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Flag to delete sub-accounts with products. The default value is false. */ + force?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Retrieves a Merchant Center account. This method can only be called for accounts to which the managing account has access: either the managing account + * itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. + */ + get(request: { + /** The ID of the account. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Account>; + /** Creates a Merchant Center sub-account. This method can only be called for multi-client accounts. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Account>; + /** Lists the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of accounts to return in the response, used for paging. */ + maxResults?: number; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountsListResponse>; + /** + * Updates a Merchant Center account. This method can only be called for accounts to which the managing account has access: either the managing account + * itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. This method supports patch semantics. + */ + patch(request: { + /** The ID of the account. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Account>; + /** + * Updates a Merchant Center account. This method can only be called for accounts to which the managing account has access: either the managing account + * itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. + */ + update(request: { + /** The ID of the account. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Account>; + } + interface AccountstatusesResource { + custombatch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountstatusesCustomBatchResponse>; + /** + * Retrieves the status of a Merchant Center account. This method can only be called for accounts to which the managing account has access: either the + * managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. + */ + get(request: { + /** The ID of the account. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountStatus>; + /** Lists the statuses of the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of account statuses to return in the response, used for paging. */ + maxResults?: number; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountstatusesListResponse>; + } + interface AccounttaxResource { + /** Retrieves and updates tax settings of multiple accounts in a single request. */ + custombatch(request: { + /** Data format for the response. */ + alt?: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccounttaxCustomBatchResponse>; + /** + * Retrieves the tax settings of the account. This method can only be called for accounts to which the managing account has access: either the managing + * account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. + */ + get(request: { + /** The ID of the account for which to get/update account tax settings. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountTax>; + /** Lists the tax settings of the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of tax settings to return in the response, used for paging. */ + maxResults?: number; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccounttaxListResponse>; + /** + * Updates the tax settings of the account. This method can only be called for accounts to which the managing account has access: either the managing + * account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. This method supports patch + * semantics. + */ + patch(request: { + /** The ID of the account for which to get/update account tax settings. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountTax>; + /** + * Updates the tax settings of the account. This method can only be called for accounts to which the managing account has access: either the managing + * account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. + */ + update(request: { + /** The ID of the account for which to get/update account tax settings. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountTax>; + } + interface DatafeedsResource { + custombatch(request: { + /** Data format for the response. */ + alt?: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DatafeedsCustomBatchResponse>; + /** Deletes a datafeed configuration from your Merchant Center account. This method can only be called for non-multi-client accounts. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + datafeedId: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves a datafeed configuration from your Merchant Center account. This method can only be called for non-multi-client accounts. */ + get(request: { + /** Data format for the response. */ + alt?: string; + datafeedId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Datafeed>; + /** Registers a datafeed configuration with your Merchant Center account. This method can only be called for non-multi-client accounts. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Datafeed>; + /** Lists the datafeeds in your Merchant Center account. This method can only be called for non-multi-client accounts. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of products to return in the response, used for paging. */ + maxResults?: number; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DatafeedsListResponse>; + /** + * Updates a datafeed configuration of your Merchant Center account. This method can only be called for non-multi-client accounts. This method supports + * patch semantics. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + datafeedId: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Datafeed>; + /** Updates a datafeed configuration of your Merchant Center account. This method can only be called for non-multi-client accounts. */ + update(request: { + /** Data format for the response. */ + alt?: string; + datafeedId: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Datafeed>; + } + interface DatafeedstatusesResource { + custombatch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DatafeedstatusesCustomBatchResponse>; + /** Retrieves the status of a datafeed from your Merchant Center account. This method can only be called for non-multi-client accounts. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** + * The country for which to get the datafeed status. If this parameter is provided then language must also be provided. Note that this parameter is + * required for feeds targeting multiple countries and languages, since a feed may have a different status for each target. + */ + country?: string; + datafeedId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The language for which to get the datafeed status. If this parameter is provided then country must also be provided. Note that this parameter is + * required for feeds targeting multiple countries and languages, since a feed may have a different status for each target. + */ + language?: string; + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DatafeedStatus>; + /** Lists the statuses of the datafeeds in your Merchant Center account. This method can only be called for non-multi-client accounts. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of products to return in the response, used for paging. */ + maxResults?: number; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DatafeedstatusesListResponse>; + } + interface InventoryResource { + /** + * Updates price and availability for multiple products or stores in a single request. This operation does not update the expiration date of the products. + * This method can only be called for non-multi-client accounts. + */ + custombatch(request: { + /** Data format for the response. */ + alt?: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<InventoryCustomBatchResponse>; + /** + * Updates price and availability of a product in your Merchant Center account. This operation does not update the expiration date of the product. This + * method can only be called for non-multi-client accounts. + */ + set(request: { + /** Data format for the response. */ + alt?: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the product for which to update price and availability. */ + productId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The code of the store for which to update price and availability. Use online to update price and availability of an online product. */ + storeCode: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<InventorySetResponse>; + } + interface OrdersResource { + /** Marks an order as acknowledged. This method can only be called for non-multi-client accounts. */ + acknowledge(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the order. */ + orderId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OrdersAcknowledgeResponse>; + /** Sandbox only. Moves a test order from state "inProgress" to state "pendingShipment". This method can only be called for non-multi-client accounts. */ + advancetestorder(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the test order to modify. */ + orderId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OrdersAdvanceTestOrderResponse>; + /** Cancels all line items in an order, making a full refund. This method can only be called for non-multi-client accounts. */ + cancel(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the order to cancel. */ + orderId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OrdersCancelResponse>; + /** Cancels a line item, making a full refund. This method can only be called for non-multi-client accounts. */ + cancellineitem(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the order. */ + orderId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OrdersCancelLineItemResponse>; + /** Sandbox only. Creates a test order. This method can only be called for non-multi-client accounts. */ + createtestorder(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OrdersCreateTestOrderResponse>; + /** Retrieves or modifies multiple orders in a single request. This method can only be called for non-multi-client accounts. */ + custombatch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OrdersCustomBatchResponse>; + /** Retrieves an order from your Merchant Center account. This method can only be called for non-multi-client accounts. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the order. */ + orderId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Order>; + /** Retrieves an order using merchant order id. This method can only be called for non-multi-client accounts. */ + getbymerchantorderid(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** The merchant order id to be looked for. */ + merchantOrderId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OrdersGetByMerchantOrderIdResponse>; + /** + * Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox. This method can only be called for + * non-multi-client accounts. + */ + gettestordertemplate(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The name of the template to retrieve. */ + templateName: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OrdersGetTestOrderTemplateResponse>; + /** Lists the orders in your Merchant Center account. This method can only be called for non-multi-client accounts. */ + list(request: { + /** + * Obtains orders that match the acknowledgement status. When set to true, obtains orders that have been acknowledged. When false, obtains orders that + * have not been acknowledged. + * We recommend using this filter set to false, in conjunction with the acknowledge call, such that only un-acknowledged orders are returned. + */ + acknowledged?: boolean; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of orders to return in the response, used for paging. The default value is 25 orders per page, and the maximum allowed value is 250 + * orders per page. + * Known issue: All List calls will return all Orders without limit regardless of the value of this field. + */ + maxResults?: number; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The ordering of the returned list. The only supported value are placedDate desc and placedDate asc for now, which returns orders sorted by placement + * date. "placedDate desc" stands for listing orders by placement date, from oldest to most recent. "placedDate asc" stands for listing orders by + * placement date, from most recent to oldest. In future releases we'll support other sorting criteria. + */ + orderBy?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Obtains orders placed before this date (exclusively), in ISO 8601 format. */ + placedDateEnd?: string; + /** Obtains orders placed after this date (inclusively), in ISO 8601 format. */ + placedDateStart?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Obtains orders that match any of the specified statuses. Multiple values can be specified with comma separation. Additionally, please note that active + * is a shortcut for pendingShipment and partiallyShipped, and completed is a shortcut for shipped , partiallyDelivered, delivered, partiallyReturned, + * returned, and canceled. + */ + statuses?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OrdersListResponse>; + /** Refund a portion of the order, up to the full amount paid. This method can only be called for non-multi-client accounts. */ + refund(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the order to refund. */ + orderId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OrdersRefundResponse>; + /** Returns a line item. This method can only be called for non-multi-client accounts. */ + returnlineitem(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the order. */ + orderId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OrdersReturnLineItemResponse>; + /** Marks line item(s) as shipped. This method can only be called for non-multi-client accounts. */ + shiplineitems(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the order. */ + orderId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OrdersShipLineItemsResponse>; + /** Updates the merchant order ID for a given order. This method can only be called for non-multi-client accounts. */ + updatemerchantorderid(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the order. */ + orderId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OrdersUpdateMerchantOrderIdResponse>; + /** Updates a shipment's status, carrier, and/or tracking ID. This method can only be called for non-multi-client accounts. */ + updateshipment(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the order. */ + orderId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OrdersUpdateShipmentResponse>; + } + interface ProductsResource { + /** Retrieves, inserts, and deletes multiple products in a single request. This method can only be called for non-multi-client accounts. */ + custombatch(request: { + /** Data format for the response. */ + alt?: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ProductsCustomBatchResponse>; + /** Deletes a product from your Merchant Center account. This method can only be called for non-multi-client accounts. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the product. */ + productId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves a product from your Merchant Center account. This method can only be called for non-multi-client accounts. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the product. */ + productId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Product>; + /** + * Uploads a product to your Merchant Center account. If an item with the same channel, contentLanguage, offerId, and targetCountry already exists, this + * method updates that entry. This method can only be called for non-multi-client accounts. + */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Product>; + /** Lists the products in your Merchant Center account. This method can only be called for non-multi-client accounts. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Flag to include the invalid inserted items in the result of the list request. By default the invalid items are not shown (the default value is false). */ + includeInvalidInsertedItems?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of products to return in the response, used for paging. */ + maxResults?: number; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ProductsListResponse>; + } + interface ProductstatusesResource { + /** Gets the statuses of multiple products in a single request. This method can only be called for non-multi-client accounts. */ + custombatch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Flag to include full product data in the results of this request. The default value is false. */ + includeAttributes?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ProductstatusesCustomBatchResponse>; + /** Gets the status of a product from your Merchant Center account. This method can only be called for non-multi-client accounts. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Flag to include full product data in the result of this get request. The default value is false. */ + includeAttributes?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the product. */ + productId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ProductStatus>; + /** Lists the statuses of the products in your Merchant Center account. This method can only be called for non-multi-client accounts. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Flag to include full product data in the results of the list request. The default value is false. */ + includeAttributes?: boolean; + /** Flag to include the invalid inserted items in the result of the list request. By default the invalid items are not shown (the default value is false). */ + includeInvalidInsertedItems?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of product statuses to return in the response, used for paging. */ + maxResults?: number; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ProductstatusesListResponse>; + } + interface ShippingsettingsResource { + /** Retrieves and updates the shipping settings of multiple accounts in a single request. */ + custombatch(request: { + /** Data format for the response. */ + alt?: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ShippingsettingsCustomBatchResponse>; + /** + * Retrieves the shipping settings of the account. This method can only be called for accounts to which the managing account has access: either the + * managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. + */ + get(request: { + /** The ID of the account for which to get/update shipping settings. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ShippingSettings>; + /** Retrieves supported carriers and carrier services for an account. */ + getsupportedcarriers(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the account for which to retrieve the supported carriers. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ShippingsettingsGetSupportedCarriersResponse>; + /** Lists the shipping settings of the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of shipping settings to return in the response, used for paging. */ + maxResults?: number; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ShippingsettingsListResponse>; + /** + * Updates the shipping settings of the account. This method can only be called for accounts to which the managing account has access: either the managing + * account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. This method supports patch + * semantics. + */ + patch(request: { + /** The ID of the account for which to get/update shipping settings. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ShippingSettings>; + /** + * Updates the shipping settings of the account. This method can only be called for accounts to which the managing account has access: either the managing + * account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. + */ + update(request: { + /** The ID of the account for which to get/update shipping settings. */ + accountId: string; + /** Data format for the response. */ + alt?: string; + /** Flag to run the request in dry-run mode. */ + dryRun?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the managing account. */ + merchantId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ShippingSettings>; + } + } +} diff --git a/types/gapi.client.content/readme.md b/types/gapi.client.content/readme.md new file mode 100644 index 0000000000..043429370a --- /dev/null +++ b/types/gapi.client.content/readme.md @@ -0,0 +1,344 @@ +# TypeScript typings for Content API for Shopping v2 +Manages product items, inventory, and Merchant Center accounts for Google Shopping. +For detailed description please check [documentation](https://developers.google.com/shopping-content). + +## Installing + +Install typings for Content API for Shopping: +``` +npm install @types/gapi.client.content@v2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('content', 'v2', () => { + // now we can use gapi.client.content + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage your product listings and accounts for Google Shopping + 'https://www.googleapis.com/auth/content', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Content API for Shopping resources: + +```typescript + +/* +Returns information about the authenticated user. +*/ +await gapi.client.accounts.authinfo({ }); + +/* +Claims the website of a Merchant Center sub-account. This method can only be called for accounts to which the managing account has access: either the managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. +*/ +await gapi.client.accounts.claimwebsite({ accountId: "accountId", merchantId: "merchantId", }); + +/* +Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request. +*/ +await gapi.client.accounts.custombatch({ }); + +/* +Deletes a Merchant Center sub-account. This method can only be called for multi-client accounts. +*/ +await gapi.client.accounts.delete({ accountId: "accountId", merchantId: "merchantId", }); + +/* +Retrieves a Merchant Center account. This method can only be called for accounts to which the managing account has access: either the managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. +*/ +await gapi.client.accounts.get({ accountId: "accountId", merchantId: "merchantId", }); + +/* +Creates a Merchant Center sub-account. This method can only be called for multi-client accounts. +*/ +await gapi.client.accounts.insert({ merchantId: "merchantId", }); + +/* +Lists the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts. +*/ +await gapi.client.accounts.list({ merchantId: "merchantId", }); + +/* +Updates a Merchant Center account. This method can only be called for accounts to which the managing account has access: either the managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. This method supports patch semantics. +*/ +await gapi.client.accounts.patch({ accountId: "accountId", merchantId: "merchantId", }); + +/* +Updates a Merchant Center account. This method can only be called for accounts to which the managing account has access: either the managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. +*/ +await gapi.client.accounts.update({ accountId: "accountId", merchantId: "merchantId", }); + +/* +undefined +*/ +await gapi.client.accountstatuses.custombatch({ }); + +/* +Retrieves the status of a Merchant Center account. This method can only be called for accounts to which the managing account has access: either the managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. +*/ +await gapi.client.accountstatuses.get({ accountId: "accountId", merchantId: "merchantId", }); + +/* +Lists the statuses of the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts. +*/ +await gapi.client.accountstatuses.list({ merchantId: "merchantId", }); + +/* +Retrieves and updates tax settings of multiple accounts in a single request. +*/ +await gapi.client.accounttax.custombatch({ }); + +/* +Retrieves the tax settings of the account. This method can only be called for accounts to which the managing account has access: either the managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. +*/ +await gapi.client.accounttax.get({ accountId: "accountId", merchantId: "merchantId", }); + +/* +Lists the tax settings of the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts. +*/ +await gapi.client.accounttax.list({ merchantId: "merchantId", }); + +/* +Updates the tax settings of the account. This method can only be called for accounts to which the managing account has access: either the managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. This method supports patch semantics. +*/ +await gapi.client.accounttax.patch({ accountId: "accountId", merchantId: "merchantId", }); + +/* +Updates the tax settings of the account. This method can only be called for accounts to which the managing account has access: either the managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. +*/ +await gapi.client.accounttax.update({ accountId: "accountId", merchantId: "merchantId", }); + +/* +undefined +*/ +await gapi.client.datafeeds.custombatch({ }); + +/* +Deletes a datafeed configuration from your Merchant Center account. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.datafeeds.delete({ datafeedId: "datafeedId", merchantId: "merchantId", }); + +/* +Retrieves a datafeed configuration from your Merchant Center account. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.datafeeds.get({ datafeedId: "datafeedId", merchantId: "merchantId", }); + +/* +Registers a datafeed configuration with your Merchant Center account. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.datafeeds.insert({ merchantId: "merchantId", }); + +/* +Lists the datafeeds in your Merchant Center account. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.datafeeds.list({ merchantId: "merchantId", }); + +/* +Updates a datafeed configuration of your Merchant Center account. This method can only be called for non-multi-client accounts. This method supports patch semantics. +*/ +await gapi.client.datafeeds.patch({ datafeedId: "datafeedId", merchantId: "merchantId", }); + +/* +Updates a datafeed configuration of your Merchant Center account. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.datafeeds.update({ datafeedId: "datafeedId", merchantId: "merchantId", }); + +/* +undefined +*/ +await gapi.client.datafeedstatuses.custombatch({ }); + +/* +Retrieves the status of a datafeed from your Merchant Center account. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.datafeedstatuses.get({ datafeedId: "datafeedId", merchantId: "merchantId", }); + +/* +Lists the statuses of the datafeeds in your Merchant Center account. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.datafeedstatuses.list({ merchantId: "merchantId", }); + +/* +Updates price and availability for multiple products or stores in a single request. This operation does not update the expiration date of the products. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.inventory.custombatch({ }); + +/* +Updates price and availability of a product in your Merchant Center account. This operation does not update the expiration date of the product. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.inventory.set({ merchantId: "merchantId", productId: "productId", storeCode: "storeCode", }); + +/* +Marks an order as acknowledged. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.orders.acknowledge({ merchantId: "merchantId", orderId: "orderId", }); + +/* +Sandbox only. Moves a test order from state "inProgress" to state "pendingShipment". This method can only be called for non-multi-client accounts. +*/ +await gapi.client.orders.advancetestorder({ merchantId: "merchantId", orderId: "orderId", }); + +/* +Cancels all line items in an order, making a full refund. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.orders.cancel({ merchantId: "merchantId", orderId: "orderId", }); + +/* +Cancels a line item, making a full refund. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.orders.cancellineitem({ merchantId: "merchantId", orderId: "orderId", }); + +/* +Sandbox only. Creates a test order. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.orders.createtestorder({ merchantId: "merchantId", }); + +/* +Retrieves or modifies multiple orders in a single request. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.orders.custombatch({ }); + +/* +Retrieves an order from your Merchant Center account. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.orders.get({ merchantId: "merchantId", orderId: "orderId", }); + +/* +Retrieves an order using merchant order id. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.orders.getbymerchantorderid({ merchantId: "merchantId", merchantOrderId: "merchantOrderId", }); + +/* +Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.orders.gettestordertemplate({ merchantId: "merchantId", templateName: "templateName", }); + +/* +Lists the orders in your Merchant Center account. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.orders.list({ merchantId: "merchantId", }); + +/* +Refund a portion of the order, up to the full amount paid. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.orders.refund({ merchantId: "merchantId", orderId: "orderId", }); + +/* +Returns a line item. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.orders.returnlineitem({ merchantId: "merchantId", orderId: "orderId", }); + +/* +Marks line item(s) as shipped. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.orders.shiplineitems({ merchantId: "merchantId", orderId: "orderId", }); + +/* +Updates the merchant order ID for a given order. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.orders.updatemerchantorderid({ merchantId: "merchantId", orderId: "orderId", }); + +/* +Updates a shipment's status, carrier, and/or tracking ID. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.orders.updateshipment({ merchantId: "merchantId", orderId: "orderId", }); + +/* +Retrieves, inserts, and deletes multiple products in a single request. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.products.custombatch({ }); + +/* +Deletes a product from your Merchant Center account. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.products.delete({ merchantId: "merchantId", productId: "productId", }); + +/* +Retrieves a product from your Merchant Center account. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.products.get({ merchantId: "merchantId", productId: "productId", }); + +/* +Uploads a product to your Merchant Center account. If an item with the same channel, contentLanguage, offerId, and targetCountry already exists, this method updates that entry. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.products.insert({ merchantId: "merchantId", }); + +/* +Lists the products in your Merchant Center account. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.products.list({ merchantId: "merchantId", }); + +/* +Gets the statuses of multiple products in a single request. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.productstatuses.custombatch({ }); + +/* +Gets the status of a product from your Merchant Center account. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.productstatuses.get({ merchantId: "merchantId", productId: "productId", }); + +/* +Lists the statuses of the products in your Merchant Center account. This method can only be called for non-multi-client accounts. +*/ +await gapi.client.productstatuses.list({ merchantId: "merchantId", }); + +/* +Retrieves and updates the shipping settings of multiple accounts in a single request. +*/ +await gapi.client.shippingsettings.custombatch({ }); + +/* +Retrieves the shipping settings of the account. This method can only be called for accounts to which the managing account has access: either the managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. +*/ +await gapi.client.shippingsettings.get({ accountId: "accountId", merchantId: "merchantId", }); + +/* +Retrieves supported carriers and carrier services for an account. +*/ +await gapi.client.shippingsettings.getsupportedcarriers({ merchantId: "merchantId", }); + +/* +Lists the shipping settings of the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts. +*/ +await gapi.client.shippingsettings.list({ merchantId: "merchantId", }); + +/* +Updates the shipping settings of the account. This method can only be called for accounts to which the managing account has access: either the managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. This method supports patch semantics. +*/ +await gapi.client.shippingsettings.patch({ accountId: "accountId", merchantId: "merchantId", }); + +/* +Updates the shipping settings of the account. This method can only be called for accounts to which the managing account has access: either the managing account itself for any Merchant Center account, or any sub-account when the managing account is a multi-client account. +*/ +await gapi.client.shippingsettings.update({ accountId: "accountId", merchantId: "merchantId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.content/tsconfig.json b/types/gapi.client.content/tsconfig.json new file mode 100644 index 0000000000..566c98a224 --- /dev/null +++ b/types/gapi.client.content/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.content-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.content/tslint.json b/types/gapi.client.content/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.content/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.customsearch/gapi.client.customsearch-tests.ts b/types/gapi.client.customsearch/gapi.client.customsearch-tests.ts new file mode 100644 index 0000000000..6fc523681f --- /dev/null +++ b/types/gapi.client.customsearch/gapi.client.customsearch-tests.ts @@ -0,0 +1,50 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('customsearch', 'v1', () => { + /** now we can use gapi.client.customsearch */ + + run(); + }); + + async function run() { + /** Returns metadata about the search performed, metadata about the custom search engine used for the search, and the search results. */ + await gapi.client.cse.list({ + c2coff: "c2coff", + cr: "cr", + cx: "cx", + dateRestrict: "dateRestrict", + exactTerms: "exactTerms", + excludeTerms: "excludeTerms", + fileType: "fileType", + filter: "filter", + gl: "gl", + googlehost: "googlehost", + highRange: "highRange", + hl: "hl", + hq: "hq", + imgColorType: "imgColorType", + imgDominantColor: "imgDominantColor", + imgSize: "imgSize", + imgType: "imgType", + linkSite: "linkSite", + lowRange: "lowRange", + lr: "lr", + num: 21, + orTerms: "orTerms", + q: "q", + relatedSite: "relatedSite", + rights: "rights", + safe: "safe", + searchType: "searchType", + siteSearch: "siteSearch", + siteSearchFilter: "siteSearchFilter", + sort: "sort", + start: 31, + }); + } +}); diff --git a/types/gapi.client.customsearch/index.d.ts b/types/gapi.client.customsearch/index.d.ts new file mode 100644 index 0000000000..1722767845 --- /dev/null +++ b/types/gapi.client.customsearch/index.d.ts @@ -0,0 +1,226 @@ +// Type definitions for Google CustomSearch API v1 1.0 +// Project: https://developers.google.com/custom-search/v1/using_rest +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/customsearch/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load CustomSearch API v1 */ + function load(name: "customsearch", version: "v1"): PromiseLike<void>; + function load(name: "customsearch", version: "v1", callback: () => any): void; + + const cse: customsearch.CseResource; + + namespace customsearch { + interface Context { + facets?: Array<Array<{ + anchor?: string; + label?: string; + label_with_op?: string; + }>>; + title?: string; + } + interface Promotion { + bodyLines?: Array<{ + htmlTitle?: string; + link?: string; + title?: string; + url?: string; + }>; + displayLink?: string; + htmlTitle?: string; + image?: { + height?: number; + source?: string; + width?: number; + }; + link?: string; + title?: string; + } + interface Query { + count?: number; + cr?: string; + cx?: string; + dateRestrict?: string; + disableCnTwTranslation?: string; + exactTerms?: string; + excludeTerms?: string; + fileType?: string; + filter?: string; + gl?: string; + googleHost?: string; + highRange?: string; + hl?: string; + hq?: string; + imgColorType?: string; + imgDominantColor?: string; + imgSize?: string; + imgType?: string; + inputEncoding?: string; + language?: string; + linkSite?: string; + lowRange?: string; + orTerms?: string; + outputEncoding?: string; + relatedSite?: string; + rights?: string; + safe?: string; + searchTerms?: string; + searchType?: string; + siteSearch?: string; + siteSearchFilter?: string; + sort?: string; + startIndex?: number; + startPage?: number; + title?: string; + totalResults?: string; + } + interface Result { + cacheId?: string; + displayLink?: string; + fileFormat?: string; + formattedUrl?: string; + htmlFormattedUrl?: string; + htmlSnippet?: string; + htmlTitle?: string; + image?: { + byteSize?: number; + contextLink?: string; + height?: number; + thumbnailHeight?: number; + thumbnailLink?: string; + thumbnailWidth?: number; + width?: number; + }; + kind?: string; + labels?: Array<{ + displayName?: string; + label_with_op?: string; + name?: string; + }>; + link?: string; + mime?: string; + pagemap?: Record<string, Array<Record<string, any>>>; + snippet?: string; + title?: string; + } + interface Search { + context?: Context; + items?: Result[]; + kind?: string; + promotions?: Promotion[]; + queries?: Record<string, Query[]>; + searchInformation?: { + formattedSearchTime?: string; + formattedTotalResults?: string; + searchTime?: number; + totalResults?: string; + }; + spelling?: { + correctedQuery?: string; + htmlCorrectedQuery?: string; + }; + url?: { + template?: string; + type?: string; + }; + } + interface CseResource { + /** Returns metadata about the search performed, metadata about the custom search engine used for the search, and the search results. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Turns off the translation between zh-CN and zh-TW. */ + c2coff?: string; + /** Country restrict(s). */ + cr?: string; + /** The custom search engine ID to scope this search query */ + cx?: string; + /** Specifies all search results are from a time period */ + dateRestrict?: string; + /** Identifies a phrase that all documents in the search results must contain */ + exactTerms?: string; + /** Identifies a word or phrase that should not appear in any documents in the search results */ + excludeTerms?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Returns images of a specified type. Some of the allowed values are: bmp, gif, png, jpg, svg, pdf, ... */ + fileType?: string; + /** Controls turning on or off the duplicate content filter. */ + filter?: string; + /** Geolocation of end user. */ + gl?: string; + /** The local Google domain to use to perform the search. */ + googlehost?: string; + /** Creates a range in form as_nlo value..as_nhi value and attempts to append it to query */ + highRange?: string; + /** Sets the user interface language. */ + hl?: string; + /** Appends the extra query terms to the query. */ + hq?: string; + /** Returns black and white, grayscale, or color images: mono, gray, and color. */ + imgColorType?: string; + /** Returns images of a specific dominant color: yellow, green, teal, blue, purple, pink, white, gray, black and brown. */ + imgDominantColor?: string; + /** Returns images of a specified size, where size can be one of: icon, small, medium, large, xlarge, xxlarge, and huge. */ + imgSize?: string; + /** Returns images of a type, which can be one of: clipart, face, lineart, news, and photo. */ + imgType?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Specifies that all search results should contain a link to a particular URL */ + linkSite?: string; + /** Creates a range in form as_nlo value..as_nhi value and attempts to append it to query */ + lowRange?: string; + /** The language restriction for the search results */ + lr?: string; + /** Number of search results to return */ + num?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Provides additional search terms to check for in a document, where each document in the search results must contain at least one of the additional + * search terms + */ + orTerms?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Query */ + q: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Specifies that all search results should be pages that are related to the specified URL */ + relatedSite?: string; + /** + * Filters based on licensing. Supported values include: cc_publicdomain, cc_attribute, cc_sharealike, cc_noncommercial, cc_nonderived and combinations of + * these. + */ + rights?: string; + /** Search safety level */ + safe?: string; + /** Specifies the search type: image. */ + searchType?: string; + /** Specifies all search results should be pages from a given site */ + siteSearch?: string; + /** Controls whether to include or exclude results from the site named in the as_sitesearch parameter */ + siteSearchFilter?: string; + /** The sort expression to apply to the results */ + sort?: string; + /** The index of the first result to return */ + start?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Search>; + } + } +} diff --git a/types/gapi.client.customsearch/readme.md b/types/gapi.client.customsearch/readme.md new file mode 100644 index 0000000000..836af575ac --- /dev/null +++ b/types/gapi.client.customsearch/readme.md @@ -0,0 +1,40 @@ +# TypeScript typings for CustomSearch API v1 +Searches over a website or collection of websites +For detailed description please check [documentation](https://developers.google.com/custom-search/v1/using_rest). + +## Installing + +Install typings for CustomSearch API: +``` +npm install @types/gapi.client.customsearch@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('customsearch', 'v1', () => { + // now we can use gapi.client.customsearch + // ... +}); +``` + + + +After that you can use CustomSearch API resources: + +```typescript + +/* +Returns metadata about the search performed, metadata about the custom search engine used for the search, and the search results. +*/ +await gapi.client.cse.list({ q: "q", }); +``` \ No newline at end of file diff --git a/types/gapi.client.customsearch/tsconfig.json b/types/gapi.client.customsearch/tsconfig.json new file mode 100644 index 0000000000..9b5c4f447d --- /dev/null +++ b/types/gapi.client.customsearch/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.customsearch-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.customsearch/tslint.json b/types/gapi.client.customsearch/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.customsearch/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.dataflow/gapi.client.dataflow-tests.ts b/types/gapi.client.dataflow/gapi.client.dataflow-tests.ts new file mode 100644 index 0000000000..8223d7e49f --- /dev/null +++ b/types/gapi.client.dataflow/gapi.client.dataflow-tests.ts @@ -0,0 +1,42 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('dataflow', 'v1b3', () => { + /** now we can use gapi.client.dataflow */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View and manage your Google Compute Engine resources */ + 'https://www.googleapis.com/auth/compute', + /** View your Google Compute Engine resources */ + 'https://www.googleapis.com/auth/compute.readonly', + /** View your email address */ + 'https://www.googleapis.com/auth/userinfo.email', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Send a worker_message to the service. */ + await gapi.client.projects.workerMessages({ + projectId: "projectId", + }); + } +}); diff --git a/types/gapi.client.dataflow/index.d.ts b/types/gapi.client.dataflow/index.d.ts new file mode 100644 index 0000000000..6c04dad9ea --- /dev/null +++ b/types/gapi.client.dataflow/index.d.ts @@ -0,0 +1,3245 @@ +// Type definitions for Google Google Dataflow API v1b3 1.0 +// Project: https://cloud.google.com/dataflow +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://dataflow.googleapis.com/$discovery/rest?version=v1b3 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Dataflow API v1b3 */ + function load(name: "dataflow", version: "v1b3"): PromiseLike<void>; + function load(name: "dataflow", version: "v1b3", callback: () => any): void; + + const projects: dataflow.ProjectsResource; + + namespace dataflow { + interface ApproximateProgress { + /** Obsolete. */ + percentComplete?: number; + /** Obsolete. */ + position?: Position; + /** Obsolete. */ + remainingTime?: string; + } + interface ApproximateReportedProgress { + /** + * Total amount of parallelism in the portion of input of this task that has + * already been consumed and is no longer active. In the first two examples + * above (see remaining_parallelism), the value should be 29 or 2 + * respectively. The sum of remaining_parallelism and consumed_parallelism + * should equal the total amount of parallelism in this work item. If + * specified, must be finite. + */ + consumedParallelism?: ReportedParallelism; + /** + * Completion as fraction of the input consumed, from 0.0 (beginning, nothing + * consumed), to 1.0 (end of the input, entire input consumed). + */ + fractionConsumed?: number; + /** A Position within the work to represent a progress. */ + position?: Position; + /** + * Total amount of parallelism in the input of this task that remains, + * (i.e. can be delegated to this task and any new tasks via dynamic + * splitting). Always at least 1 for non-finished work items and 0 for + * finished. + * + * "Amount of parallelism" refers to how many non-empty parts of the input + * can be read in parallel. This does not necessarily equal number + * of records. An input that can be read in parallel down to the + * individual records is called "perfectly splittable". + * An example of non-perfectly parallelizable input is a block-compressed + * file format where a block of records has to be read as a whole, + * but different blocks can be read in parallel. + * + * Examples: + * * If we are processing record #30 (starting at 1) out of 50 in a perfectly + * splittable 50-record input, this value should be 21 (20 remaining + 1 + * current). + * * If we are reading through block 3 in a block-compressed file consisting + * of 5 blocks, this value should be 3 (since blocks 4 and 5 can be + * processed in parallel by new tasks via dynamic splitting and the current + * task remains processing block 3). + * * If we are reading through the last block in a block-compressed file, + * or reading or processing the last record in a perfectly splittable + * input, this value should be 1, because apart from the current task, no + * additional remainder can be split off. + */ + remainingParallelism?: ReportedParallelism; + } + interface ApproximateSplitRequest { + /** + * A fraction at which to split the work item, from 0.0 (beginning of the + * input) to 1.0 (end of the input). + */ + fractionConsumed?: number; + /** A Position at which to split the work item. */ + position?: Position; + } + interface AutoscalingEvent { + /** The current number of workers the job has. */ + currentNumWorkers?: string; + /** + * A message describing why the system decided to adjust the current + * number of workers, why it failed, or why the system decided to + * not make any changes to the number of workers. + */ + description?: StructuredMessage; + /** The type of autoscaling event to report. */ + eventType?: string; + /** The target number of workers the worker pool wants to resize to use. */ + targetNumWorkers?: string; + /** + * The time this event was emitted to indicate a new target or current + * num_workers value. + */ + time?: string; + } + interface AutoscalingSettings { + /** The algorithm to use for autoscaling. */ + algorithm?: string; + /** The maximum number of workers to cap scaling at. */ + maxNumWorkers?: number; + } + interface CPUTime { + /** + * Average CPU utilization rate (% non-idle cpu / second) since previous + * sample. + */ + rate?: number; + /** Timestamp of the measurement. */ + timestamp?: string; + /** + * Total active CPU time across all cores (ie., non-idle) in milliseconds + * since start-up. + */ + totalMs?: string; + } + interface ComponentSource { + /** Dataflow service generated name for this source. */ + name?: string; + /** + * User name for the original user transform or collection with which this + * source is most closely associated. + */ + originalTransformOrCollection?: string; + /** Human-readable name for this transform; may be user or system generated. */ + userName?: string; + } + interface ComponentTransform { + /** Dataflow service generated name for this source. */ + name?: string; + /** + * User name for the original user transform with which this transform is + * most closely associated. + */ + originalTransform?: string; + /** Human-readable name for this transform; may be user or system generated. */ + userName?: string; + } + interface ComputationTopology { + /** The ID of the computation. */ + computationId?: string; + /** The inputs to the computation. */ + inputs?: StreamLocation[]; + /** The key ranges processed by the computation. */ + keyRanges?: KeyRangeLocation[]; + /** The outputs from the computation. */ + outputs?: StreamLocation[]; + /** The state family values. */ + stateFamilies?: StateFamilyConfig[]; + /** The system stage name. */ + systemStageName?: string; + } + interface ConcatPosition { + /** Index of the inner source. */ + index?: number; + /** Position within the inner source. */ + position?: Position; + } + interface CounterMetadata { + /** Human-readable description of the counter semantics. */ + description?: string; + /** Counter aggregation kind. */ + kind?: string; + /** A string referring to the unit type. */ + otherUnits?: string; + /** System defined Units, see above enum. */ + standardUnits?: string; + } + interface CounterStructuredName { + /** Name of the optimized step being executed by the workers. */ + componentStepName?: string; + /** Name of the stage. An execution step contains multiple component steps. */ + executionStepName?: string; + /** + * Counter name. Not necessarily globally-unique, but unique within the + * context of the other fields. + * Required. + */ + name?: string; + /** One of the standard Origins defined above. */ + origin?: string; + /** A string containing a more specific namespace of the counter's origin. */ + originNamespace?: string; + /** The GroupByKey step name from the original graph. */ + originalShuffleStepName?: string; + /** + * System generated name of the original step in the user's graph, before + * optimization. + */ + originalStepName?: string; + /** Portion of this counter, either key or value. */ + portion?: string; + /** + * ID of a side input being read from/written to. Side inputs are identified + * by a pair of (reader, input_index). The reader is usually equal to the + * original name, but it may be different, if a ParDo emits it's Iterator / + * Map side input object. + */ + sideInput?: SideInputId; + /** ID of a particular worker. */ + workerId?: string; + } + interface CounterStructuredNameAndMetadata { + /** Metadata associated with a counter */ + metadata?: CounterMetadata; + /** Structured name of the counter. */ + name?: CounterStructuredName; + } + interface CounterUpdate { + /** Boolean value for And, Or. */ + boolean?: boolean; + /** + * True if this counter is reported as the total cumulative aggregate + * value accumulated since the worker started working on this WorkItem. + * By default this is false, indicating that this counter is reported + * as a delta. + */ + cumulative?: boolean; + /** Distribution data */ + distribution?: DistributionUpdate; + /** Floating point value for Sum, Max, Min. */ + floatingPoint?: number; + /** List of floating point numbers, for Set. */ + floatingPointList?: FloatingPointList; + /** Floating point mean aggregation value for Mean. */ + floatingPointMean?: FloatingPointMean; + /** Integer value for Sum, Max, Min. */ + integer?: SplitInt64; + /** List of integers, for Set. */ + integerList?: IntegerList; + /** Integer mean aggregation value for Mean. */ + integerMean?: IntegerMean; + /** Value for internally-defined counters used by the Dataflow service. */ + internal?: any; + /** Counter name and aggregation type. */ + nameAndKind?: NameAndKind; + /** + * The service-generated short identifier for this counter. + * The short_id -> (name, metadata) mapping is constant for the lifetime of + * a job. + */ + shortId?: string; + /** List of strings, for Set. */ + stringList?: StringList; + /** Counter structured name and metadata. */ + structuredNameAndMetadata?: CounterStructuredNameAndMetadata; + } + interface CreateJobFromTemplateRequest { + /** The runtime environment for the job. */ + environment?: RuntimeEnvironment; + /** + * Required. A Cloud Storage path to the template from which to + * create the job. + * Must be a valid Cloud Storage URL, beginning with `gs://`. + */ + gcsPath?: string; + /** Required. The job name to use for the created job. */ + jobName?: string; + /** The location to which to direct the request. */ + location?: string; + /** The runtime parameters to pass to the job. */ + parameters?: Record<string, string>; + } + interface CustomSourceLocation { + /** Whether this source is stateful. */ + stateful?: boolean; + } + interface DataDiskAssignment { + /** + * Mounted data disks. The order is important a data disk's 0-based index in + * this list defines which persistent directory the disk is mounted to, for + * example the list of { "myproject-1014-104817-4c2-harness-0-disk-0" }, + * { "myproject-1014-104817-4c2-harness-0-disk-1" }. + */ + dataDisks?: string[]; + /** + * VM instance name the data disks mounted to, for example + * "myproject-1014-104817-4c2-harness-0". + */ + vmInstance?: string; + } + interface DerivedSource { + /** What source to base the produced source on (if any). */ + derivationMode?: string; + /** Specification of the source. */ + source?: Source; + } + interface Disk { + /** + * Disk storage type, as defined by Google Compute Engine. This + * must be a disk type appropriate to the project and zone in which + * the workers will run. If unknown or unspecified, the service + * will attempt to choose a reasonable default. + * + * For example, the standard persistent disk type is a resource name + * typically ending in "pd-standard". If SSD persistent disks are + * available, the resource name typically ends with "pd-ssd". The + * actual valid values are defined the Google Compute Engine API, + * not by the Cloud Dataflow API; consult the Google Compute Engine + * documentation for more information about determining the set of + * available disk types for a particular project and zone. + * + * Google Compute Engine Disk types are local to a particular + * project in a particular zone, and so the resource name will + * typically look something like this: + * + * compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard + */ + diskType?: string; + /** Directory in a VM where disk is mounted. */ + mountPoint?: string; + /** + * Size of disk in GB. If zero or unspecified, the service will + * attempt to choose a reasonable default. + */ + sizeGb?: number; + } + interface DisplayData { + /** Contains value if the data is of a boolean type. */ + boolValue?: boolean; + /** Contains value if the data is of duration type. */ + durationValue?: string; + /** Contains value if the data is of float type. */ + floatValue?: number; + /** Contains value if the data is of int64 type. */ + int64Value?: string; + /** Contains value if the data is of java class type. */ + javaClassValue?: string; + /** + * The key identifying the display data. + * This is intended to be used as a label for the display data + * when viewed in a dax monitoring system. + */ + key?: string; + /** An optional label to display in a dax UI for the element. */ + label?: string; + /** + * The namespace for the key. This is usually a class name or programming + * language namespace (i.e. python module) which defines the display data. + * This allows a dax monitoring system to specially handle the data + * and perform custom rendering. + */ + namespace?: string; + /** + * A possible additional shorter value to display. + * For example a java_class_name_value of com.mypackage.MyDoFn + * will be stored with MyDoFn as the short_str_value and + * com.mypackage.MyDoFn as the java_class_name value. + * short_str_value can be displayed and java_class_name_value + * will be displayed as a tooltip. + */ + shortStrValue?: string; + /** Contains value if the data is of string type. */ + strValue?: string; + /** Contains value if the data is of timestamp type. */ + timestampValue?: string; + /** An optional full URL. */ + url?: string; + } + interface DistributionUpdate { + /** The count of the number of elements present in the distribution. */ + count?: SplitInt64; + /** (Optional) Histogram of value counts for the distribution. */ + histogram?: Histogram; + /** The maximum value present in the distribution. */ + max?: SplitInt64; + /** The minimum value present in the distribution. */ + min?: SplitInt64; + /** + * Use an int64 since we'd prefer the added precision. If overflow is a common + * problem we can detect it and use an additional int64 or a double. + */ + sum?: SplitInt64; + /** Use a double since the sum of squares is likely to overflow int64. */ + sumOfSquares?: number; + } + interface DynamicSourceSplit { + /** + * Primary part (continued to be processed by worker). + * Specified relative to the previously-current source. + * Becomes current. + */ + primary?: DerivedSource; + /** + * Residual part (returned to the pool of work). + * Specified relative to the previously-current source. + */ + residual?: DerivedSource; + } + interface Environment { + /** + * The type of cluster manager API to use. If unknown or + * unspecified, the service will attempt to choose a reasonable + * default. This should be in the form of the API service name, + * e.g. "compute.googleapis.com". + */ + clusterManagerApiService?: string; + /** + * The dataset for the current project where various workflow + * related tables are stored. + * + * The supported resource type is: + * + * Google BigQuery: + * bigquery.googleapis.com/{dataset} + */ + dataset?: string; + /** The list of experiments to enable. */ + experiments?: string[]; + /** Experimental settings. */ + internalExperiments?: Record<string, any>; + /** + * The Cloud Dataflow SDK pipeline options specified by the user. These + * options are passed through the service and are used to recreate the + * SDK pipeline options on the worker in a language agnostic and platform + * independent way. + */ + sdkPipelineOptions?: Record<string, any>; + /** Identity to run virtual machines as. Defaults to the default account. */ + serviceAccountEmail?: string; + /** + * The prefix of the resources the system should use for temporary + * storage. The system will append the suffix "/temp-{JOBNAME} to + * this resource prefix, where {JOBNAME} is the value of the + * job_name field. The resulting bucket and object prefix is used + * as the prefix of the resources used to store temporary data + * needed during the job execution. NOTE: This will override the + * value in taskrunner_settings. + * The supported resource type is: + * + * Google Cloud Storage: + * + * storage.googleapis.com/{bucket}/{object} + * bucket.storage.googleapis.com/{object} + */ + tempStoragePrefix?: string; + /** A description of the process that generated the request. */ + userAgent?: Record<string, any>; + /** + * A structure describing which components and their versions of the service + * are required in order to run the job. + */ + version?: Record<string, any>; + /** + * The worker pools. At least one "harness" worker pool must be + * specified in order for the job to have workers. + */ + workerPools?: WorkerPool[]; + } + interface ExecutionStageState { + /** The time at which the stage transitioned to this state. */ + currentStateTime?: string; + /** The name of the execution stage. */ + executionStageName?: string; + /** Executions stage states allow the same set of values as JobState. */ + executionStageState?: string; + } + interface ExecutionStageSummary { + /** Collections produced and consumed by component transforms of this stage. */ + componentSource?: ComponentSource[]; + /** Transforms that comprise this execution stage. */ + componentTransform?: ComponentTransform[]; + /** Dataflow service generated id for this stage. */ + id?: string; + /** Input sources for this stage. */ + inputSource?: StageSource[]; + /** Type of tranform this stage is executing. */ + kind?: string; + /** Dataflow service generated name for this stage. */ + name?: string; + /** Output sources for this stage. */ + outputSource?: StageSource[]; + } + interface FailedLocation { + /** The name of the failed location. */ + name?: string; + } + interface FlattenInstruction { + /** Describes the inputs to the flatten instruction. */ + inputs?: InstructionInput[]; + } + interface FloatingPointList { + /** Elements of the list. */ + elements?: number[]; + } + interface FloatingPointMean { + /** The number of values being aggregated. */ + count?: SplitInt64; + /** The sum of all values being aggregated. */ + sum?: number; + } + interface GetDebugConfigRequest { + /** + * The internal component id for which debug configuration is + * requested. + */ + componentId?: string; + /** The location which contains the job specified by job_id. */ + location?: string; + /** The worker id, i.e., VM hostname. */ + workerId?: string; + } + interface GetDebugConfigResponse { + /** The encoded debug configuration for the requested component. */ + config?: string; + } + interface GetTemplateResponse { + /** + * The template metadata describing the template name, available + * parameters, etc. + */ + metadata?: TemplateMetadata; + /** + * The status of the get template request. Any problems with the + * request will be indicated in the error_details. + */ + status?: Status; + } + interface Histogram { + /** + * Counts of values in each bucket. For efficiency, prefix and trailing + * buckets with count = 0 are elided. Buckets can store the full range of + * values of an unsigned long, with ULLONG_MAX falling into the 59th bucket + * with range [1e19, 2e19). + */ + bucketCounts?: string[]; + /** + * Starting index of first stored bucket. The non-inclusive upper-bound of + * the ith bucket is given by: + * pow(10,(i-first_bucket_offset)/3) * (1,2,5)[(i-first_bucket_offset)%3] + */ + firstBucketOffset?: number; + } + interface InstructionInput { + /** The output index (origin zero) within the producer. */ + outputNum?: number; + /** + * The index (origin zero) of the parallel instruction that produces + * the output to be consumed by this input. This index is relative + * to the list of instructions in this input's instruction's + * containing MapTask. + */ + producerInstructionIndex?: number; + } + interface InstructionOutput { + /** The codec to use to encode data being written via this output. */ + codec?: Record<string, any>; + /** The user-provided name of this output. */ + name?: string; + /** + * For system-generated byte and mean byte metrics, certain instructions + * should only report the key size. + */ + onlyCountKeyBytes?: boolean; + /** + * For system-generated byte and mean byte metrics, certain instructions + * should only report the value size. + */ + onlyCountValueBytes?: boolean; + /** + * System-defined name for this output in the original workflow graph. + * Outputs that do not contribute to an original instruction do not set this. + */ + originalName?: string; + /** + * System-defined name of this output. + * Unique across the workflow. + */ + systemName?: string; + } + interface IntegerList { + /** Elements of the list. */ + elements?: SplitInt64[]; + } + interface IntegerMean { + /** The number of values being aggregated. */ + count?: SplitInt64; + /** The sum of all values being aggregated. */ + sum?: SplitInt64; + } + interface Job { + /** + * The client's unique identifier of the job, re-used across retried attempts. + * If this field is set, the service will ensure its uniqueness. + * The request to create a job will fail if the service has knowledge of a + * previously submitted job with the same client's ID and job name. + * The caller may use this field to ensure idempotence of job + * creation across retried attempts to create a job. + * By default, the field is empty and, in that case, the service ignores it. + */ + clientRequestId?: string; + /** + * The timestamp when the job was initially created. Immutable and set by the + * Cloud Dataflow service. + */ + createTime?: string; + /** + * The current state of the job. + * + * Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise + * specified. + * + * A job in the `JOB_STATE_RUNNING` state may asynchronously enter a + * terminal state. After a job has reached a terminal state, no + * further state updates may be made. + * + * This field may be mutated by the Cloud Dataflow service; + * callers cannot mutate it. + */ + currentState?: string; + /** The timestamp associated with the current state. */ + currentStateTime?: string; + /** The environment for the job. */ + environment?: Environment; + /** Deprecated. */ + executionInfo?: JobExecutionInfo; + /** + * The unique ID of this job. + * + * This field is set by the Cloud Dataflow service when the Job is + * created, and is immutable for the life of the job. + */ + id?: string; + /** + * User-defined labels for this job. + * + * The labels map can contain no more than 64 entries. Entries of the labels + * map are UTF8 strings that comply with the following restrictions: + * + * * Keys must conform to regexp: \p{Ll}\p{Lo}{0,62} + * * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63} + * * Both keys and values are additionally constrained to be <= 128 bytes in + * size. + */ + labels?: Record<string, string>; + /** The location that contains this job. */ + location?: string; + /** + * The user-specified Cloud Dataflow job name. + * + * Only one Job with a given name may exist in a project at any + * given time. If a caller attempts to create a Job with the same + * name as an already-existing Job, the attempt returns the + * existing Job. + * + * The name must match the regular expression + * `[a-z]([-a-z0-9]{0,38}[a-z0-9])?` + */ + name?: string; + /** + * Preliminary field: The format of this data may change at any time. + * A description of the user pipeline and stages through which it is executed. + * Created by Cloud Dataflow service. Only retrieved with + * JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL. + */ + pipelineDescription?: PipelineDescription; + /** The ID of the Cloud Platform project that the job belongs to. */ + projectId?: string; + /** + * If this job is an update of an existing job, this field is the job ID + * of the job it replaced. + * + * When sending a `CreateJobRequest`, you can update a job by specifying it + * here. The job named here is stopped, and its intermediate state is + * transferred to this job. + */ + replaceJobId?: string; + /** + * If another job is an update of this job (and thus, this job is in + * `JOB_STATE_UPDATED`), this field contains the ID of that job. + */ + replacedByJobId?: string; + /** + * The job's requested state. + * + * `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and + * `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may + * also be used to directly set a job's requested state to + * `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the + * job if it has not already reached a terminal state. + */ + requestedState?: string; + /** + * This field may be mutated by the Cloud Dataflow service; + * callers cannot mutate it. + */ + stageStates?: ExecutionStageState[]; + /** The top-level steps that constitute the entire job. */ + steps?: Step[]; + /** + * A set of files the system should be aware of that are used + * for temporary storage. These temporary files will be + * removed on job completion. + * No duplicates are allowed. + * No file patterns are supported. + * + * The supported files are: + * + * Google Cloud Storage: + * + * storage.googleapis.com/{bucket}/{object} + * bucket.storage.googleapis.com/{object} + */ + tempFiles?: string[]; + /** + * The map of transform name prefixes of the job to be replaced to the + * corresponding name prefixes of the new job. + */ + transformNameMapping?: Record<string, string>; + /** The type of Cloud Dataflow job. */ + type?: string; + } + interface JobExecutionInfo { + /** A mapping from each stage to the information about that stage. */ + stages?: Record<string, JobExecutionStageInfo>; + } + interface JobExecutionStageInfo { + /** + * The steps associated with the execution stage. + * Note that stages may have several steps, and that a given step + * might be run by more than one stage. + */ + stepName?: string[]; + } + interface JobMessage { + /** Deprecated. */ + id?: string; + /** Importance level of the message. */ + messageImportance?: string; + /** The text of the message. */ + messageText?: string; + /** The timestamp of the message. */ + time?: string; + } + interface JobMetrics { + /** Timestamp as of which metric values are current. */ + metricTime?: string; + /** All metrics for this job. */ + metrics?: MetricUpdate[]; + } + interface KeyRangeDataDiskAssignment { + /** + * The name of the data disk where data for this range is stored. + * This name is local to the Google Cloud Platform project and uniquely + * identifies the disk within that project, for example + * "myproject-1014-104817-4c2-harness-0-disk-1". + */ + dataDisk?: string; + /** The end (exclusive) of the key range. */ + end?: string; + /** The start (inclusive) of the key range. */ + start?: string; + } + interface KeyRangeLocation { + /** + * The name of the data disk where data for this range is stored. + * This name is local to the Google Cloud Platform project and uniquely + * identifies the disk within that project, for example + * "myproject-1014-104817-4c2-harness-0-disk-1". + */ + dataDisk?: string; + /** + * The physical location of this range assignment to be used for + * streaming computation cross-worker message delivery. + */ + deliveryEndpoint?: string; + /** + * DEPRECATED. The location of the persistent state for this range, as a + * persistent directory in the worker local filesystem. + */ + deprecatedPersistentDirectory?: string; + /** The end (exclusive) of the key range. */ + end?: string; + /** The start (inclusive) of the key range. */ + start?: string; + } + interface LaunchTemplateParameters { + /** The runtime environment for the job. */ + environment?: RuntimeEnvironment; + /** Required. The job name to use for the created job. */ + jobName?: string; + /** The runtime parameters to pass to the job. */ + parameters?: Record<string, string>; + } + interface LaunchTemplateResponse { + /** + * The job that was launched, if the request was not a dry run and + * the job was successfully launched. + */ + job?: Job; + } + interface LeaseWorkItemRequest { + /** The current timestamp at the worker. */ + currentWorkerTime?: string; + /** The location which contains the WorkItem's job. */ + location?: string; + /** The initial lease period. */ + requestedLeaseDuration?: string; + /** Filter for WorkItem type. */ + workItemTypes?: string[]; + /** + * Worker capabilities. WorkItems might be limited to workers with specific + * capabilities. + */ + workerCapabilities?: string[]; + /** + * Identifies the worker leasing work -- typically the ID of the + * virtual machine running the worker. + */ + workerId?: string; + } + interface LeaseWorkItemResponse { + /** A list of the leased WorkItems. */ + workItems?: WorkItem[]; + } + interface ListJobMessagesResponse { + /** Autoscaling events in ascending timestamp order. */ + autoscalingEvents?: AutoscalingEvent[]; + /** Messages in ascending timestamp order. */ + jobMessages?: JobMessage[]; + /** The token to obtain the next page of results if there are more. */ + nextPageToken?: string; + } + interface ListJobsResponse { + /** Zero or more messages describing locations that failed to respond. */ + failedLocation?: FailedLocation[]; + /** A subset of the requested job information. */ + jobs?: Job[]; + /** Set if there may be more results than fit in this response. */ + nextPageToken?: string; + } + interface MapTask { + /** The instructions in the MapTask. */ + instructions?: ParallelInstruction[]; + /** + * System-defined name of the stage containing this MapTask. + * Unique across the workflow. + */ + stageName?: string; + /** + * System-defined name of this MapTask. + * Unique across the workflow. + */ + systemName?: string; + } + interface MetricShortId { + /** + * The index of the corresponding metric in + * the ReportWorkItemStatusRequest. Required. + */ + metricIndex?: number; + /** The service-generated short identifier for the metric. */ + shortId?: string; + } + interface MetricStructuredName { + /** + * Zero or more labeled fields which identify the part of the job this + * metric is associated with, such as the name of a step or collection. + * + * For example, built-in counters associated with steps will have + * context['step'] = <step-name>. Counters associated with PCollections + * in the SDK will have context['pcollection'] = <pcollection-name>. + */ + context?: Record<string, string>; + /** Worker-defined metric name. */ + name?: string; + /** + * Origin (namespace) of metric name. May be blank for user-define metrics; + * will be "dataflow" for metrics defined by the Dataflow service or SDK. + */ + origin?: string; + } + interface MetricUpdate { + /** + * True if this metric is reported as the total cumulative aggregate + * value accumulated since the worker started working on this WorkItem. + * By default this is false, indicating that this metric is reported + * as a delta that is not associated with any WorkItem. + */ + cumulative?: boolean; + /** A struct value describing properties of a distribution of numeric values. */ + distribution?: any; + /** + * Worker-computed aggregate value for internal use by the Dataflow + * service. + */ + internal?: any; + /** + * Metric aggregation kind. The possible metric aggregation kinds are + * "Sum", "Max", "Min", "Mean", "Set", "And", "Or", and "Distribution". + * The specified aggregation kind is case-insensitive. + * + * If omitted, this is not an aggregated value but instead + * a single metric sample value. + */ + kind?: string; + /** + * Worker-computed aggregate value for the "Mean" aggregation kind. + * This holds the count of the aggregated values and is used in combination + * with mean_sum above to obtain the actual mean aggregate value. + * The only possible value type is Long. + */ + meanCount?: any; + /** + * Worker-computed aggregate value for the "Mean" aggregation kind. + * This holds the sum of the aggregated values and is used in combination + * with mean_count below to obtain the actual mean aggregate value. + * The only possible value types are Long and Double. + */ + meanSum?: any; + /** Name of the metric. */ + name?: MetricStructuredName; + /** + * Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", + * "And", and "Or". The possible value types are Long, Double, and Boolean. + */ + scalar?: any; + /** + * Worker-computed aggregate value for the "Set" aggregation kind. The only + * possible value type is a list of Values whose type can be Long, Double, + * or String, according to the metric's type. All Values in the list must + * be of the same type. + */ + set?: any; + /** + * Timestamp associated with the metric value. Optional when workers are + * reporting work progress; it will be filled in responses from the + * metrics API. + */ + updateTime?: string; + } + interface MountedDataDisk { + /** + * The name of the data disk. + * This name is local to the Google Cloud Platform project and uniquely + * identifies the disk within that project, for example + * "myproject-1014-104817-4c2-harness-0-disk-1". + */ + dataDisk?: string; + } + interface MultiOutputInfo { + /** + * The id of the tag the user code will emit to this output by; this + * should correspond to the tag of some SideInputInfo. + */ + tag?: string; + } + interface NameAndKind { + /** Counter aggregation kind. */ + kind?: string; + /** Name of the counter. */ + name?: string; + } + interface Package { + /** + * The resource to read the package from. The supported resource type is: + * + * Google Cloud Storage: + * + * storage.googleapis.com/{bucket} + * bucket.storage.googleapis.com/ + */ + location?: string; + /** The name of the package. */ + name?: string; + } + interface ParDoInstruction { + /** The input. */ + input?: InstructionInput; + /** Information about each of the outputs, if user_fn is a MultiDoFn. */ + multiOutputInfos?: MultiOutputInfo[]; + /** The number of outputs. */ + numOutputs?: number; + /** Zero or more side inputs. */ + sideInputs?: SideInputInfo[]; + /** The user function to invoke. */ + userFn?: Record<string, any>; + } + interface ParallelInstruction { + /** Additional information for Flatten instructions. */ + flatten?: FlattenInstruction; + /** User-provided name of this operation. */ + name?: string; + /** System-defined name for the operation in the original workflow graph. */ + originalName?: string; + /** Describes the outputs of the instruction. */ + outputs?: InstructionOutput[]; + /** Additional information for ParDo instructions. */ + parDo?: ParDoInstruction; + /** Additional information for PartialGroupByKey instructions. */ + partialGroupByKey?: PartialGroupByKeyInstruction; + /** Additional information for Read instructions. */ + read?: ReadInstruction; + /** + * System-defined name of this operation. + * Unique across the workflow. + */ + systemName?: string; + /** Additional information for Write instructions. */ + write?: WriteInstruction; + } + interface Parameter { + /** Key or name for this parameter. */ + key?: string; + /** Value for this parameter. */ + value?: any; + } + interface ParameterMetadata { + /** Required. The help text to display for the parameter. */ + helpText?: string; + /** Optional. Whether the parameter is optional. Defaults to false. */ + isOptional?: boolean; + /** Required. The label to display for the parameter. */ + label?: string; + /** Required. The name of the parameter. */ + name?: string; + /** Optional. Regexes that the parameter must match. */ + regexes?: string[]; + } + interface PartialGroupByKeyInstruction { + /** Describes the input to the partial group-by-key instruction. */ + input?: InstructionInput; + /** The codec to use for interpreting an element in the input PTable. */ + inputElementCodec?: Record<string, any>; + /** + * If this instruction includes a combining function this is the name of the + * intermediate store between the GBK and the CombineValues. + */ + originalCombineValuesInputStoreName?: string; + /** + * If this instruction includes a combining function, this is the name of the + * CombineValues instruction lifted into this instruction. + */ + originalCombineValuesStepName?: string; + /** Zero or more side inputs. */ + sideInputs?: SideInputInfo[]; + /** The value combining function to invoke. */ + valueCombiningFn?: Record<string, any>; + } + interface PipelineDescription { + /** Pipeline level display data. */ + displayData?: DisplayData[]; + /** Description of each stage of execution of the pipeline. */ + executionPipelineStage?: ExecutionStageSummary[]; + /** Description of each transform in the pipeline and collections between them. */ + originalPipelineTransform?: TransformSummary[]; + } + interface Position { + /** Position is a byte offset. */ + byteOffset?: string; + /** CloudPosition is a concat position. */ + concatPosition?: ConcatPosition; + /** + * Position is past all other positions. Also useful for the end + * position of an unbounded range. + */ + end?: boolean; + /** Position is a string key, ordered lexicographically. */ + key?: string; + /** Position is a record index. */ + recordIndex?: string; + /** + * CloudPosition is a base64 encoded BatchShufflePosition (with FIXED + * sharding). + */ + shufflePosition?: string; + } + interface PubsubLocation { + /** Indicates whether the pipeline allows late-arriving data. */ + dropLateData?: boolean; + /** + * If set, contains a pubsub label from which to extract record ids. + * If left empty, record deduplication will be strictly best effort. + */ + idLabel?: string; + /** + * A pubsub subscription, in the form of + * "pubsub.googleapis.com/subscriptions/<project-id>/<subscription-name>" + */ + subscription?: string; + /** + * If set, contains a pubsub label from which to extract record timestamps. + * If left empty, record timestamps will be generated upon arrival. + */ + timestampLabel?: string; + /** + * A pubsub topic, in the form of + * "pubsub.googleapis.com/topics/<project-id>/<topic-name>" + */ + topic?: string; + /** + * If set, specifies the pubsub subscription that will be used for tracking + * custom time timestamps for watermark estimation. + */ + trackingSubscription?: string; + /** If true, then the client has requested to get pubsub attributes. */ + withAttributes?: boolean; + } + interface ReadInstruction { + /** The source to read from. */ + source?: Source; + } + interface ReportWorkItemStatusRequest { + /** The current timestamp at the worker. */ + currentWorkerTime?: string; + /** The location which contains the WorkItem's job. */ + location?: string; + /** + * The order is unimportant, except that the order of the + * WorkItemServiceState messages in the ReportWorkItemStatusResponse + * corresponds to the order of WorkItemStatus messages here. + */ + workItemStatuses?: WorkItemStatus[]; + /** + * The ID of the worker reporting the WorkItem status. If this + * does not match the ID of the worker which the Dataflow service + * believes currently has the lease on the WorkItem, the report + * will be dropped (with an error response). + */ + workerId?: string; + } + interface ReportWorkItemStatusResponse { + /** + * A set of messages indicating the service-side state for each + * WorkItem whose status was reported, in the same order as the + * WorkItemStatus messages in the ReportWorkItemStatusRequest which + * resulting in this response. + */ + workItemServiceStates?: WorkItemServiceState[]; + } + interface ReportedParallelism { + /** + * Specifies whether the parallelism is infinite. If true, "value" is + * ignored. + * Infinite parallelism means the service will assume that the work item + * can always be split into more non-empty work items by dynamic splitting. + * This is a work-around for lack of support for infinity by the current + * JSON-based Java RPC stack. + */ + isInfinite?: boolean; + /** Specifies the level of parallelism in case it is finite. */ + value?: number; + } + interface ResourceUtilizationReport { + /** CPU utilization samples. */ + cpuTime?: CPUTime[]; + } + interface RuntimeEnvironment { + /** + * Whether to bypass the safety checks for the job's temporary directory. + * Use with caution. + */ + bypassTempDirValidation?: boolean; + /** + * The machine type to use for the job. Defaults to the value from the + * template if not specified. + */ + machineType?: string; + /** + * The maximum number of Google Compute Engine instances to be made + * available to your pipeline during execution, from 1 to 1000. + */ + maxWorkers?: number; + /** The email address of the service account to run the job as. */ + serviceAccountEmail?: string; + /** + * The Cloud Storage path to use for temporary files. + * Must be a valid Cloud Storage URL, beginning with `gs://`. + */ + tempLocation?: string; + /** + * The Compute Engine [availability + * zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) + * for launching worker instances to run your pipeline. + */ + zone?: string; + } + interface SendDebugCaptureRequest { + /** The internal component id for which debug information is sent. */ + componentId?: string; + /** The encoded debug information. */ + data?: string; + /** The location which contains the job specified by job_id. */ + location?: string; + /** The worker id, i.e., VM hostname. */ + workerId?: string; + } + interface SendWorkerMessagesRequest { + /** The location which contains the job */ + location?: string; + /** The WorkerMessages to send. */ + workerMessages?: WorkerMessage[]; + } + interface SendWorkerMessagesResponse { + /** The servers response to the worker messages. */ + workerMessageResponses?: WorkerMessageResponse[]; + } + interface SeqMapTask { + /** Information about each of the inputs. */ + inputs?: SideInputInfo[]; + /** The user-provided name of the SeqDo operation. */ + name?: string; + /** Information about each of the outputs. */ + outputInfos?: SeqMapTaskOutputInfo[]; + /** + * System-defined name of the stage containing the SeqDo operation. + * Unique across the workflow. + */ + stageName?: string; + /** + * System-defined name of the SeqDo operation. + * Unique across the workflow. + */ + systemName?: string; + /** The user function to invoke. */ + userFn?: Record<string, any>; + } + interface SeqMapTaskOutputInfo { + /** The sink to write the output value to. */ + sink?: Sink; + /** The id of the TupleTag the user code will tag the output value by. */ + tag?: string; + } + interface ShellTask { + /** The shell command to run. */ + command?: string; + /** Exit code for the task. */ + exitCode?: number; + } + interface SideInputId { + /** The step that receives and usually consumes this side input. */ + declaringStepName?: string; + /** The index of the side input, from the list of non_parallel_inputs. */ + inputIndex?: number; + } + interface SideInputInfo { + /** How to interpret the source element(s) as a side input value. */ + kind?: Record<string, any>; + /** + * The source(s) to read element(s) from to get the value of this side input. + * If more than one source, then the elements are taken from the + * sources, in the specified order if order matters. + * At least one source is required. + */ + sources?: Source[]; + /** + * The id of the tag the user code will access this side input by; + * this should correspond to the tag of some MultiOutputInfo. + */ + tag?: string; + } + interface Sink { + /** The codec to use to encode data written to the sink. */ + codec?: Record<string, any>; + /** The sink to write to, plus its parameters. */ + spec?: Record<string, any>; + } + interface Source { + /** + * While splitting, sources may specify the produced bundles + * as differences against another source, in order to save backend-side + * memory and allow bigger jobs. For details, see SourceSplitRequest. + * To support this use case, the full set of parameters of the source + * is logically obtained by taking the latest explicitly specified value + * of each parameter in the order: + * base_specs (later items win), spec (overrides anything in base_specs). + */ + baseSpecs?: Array<Record<string, any>>; + /** The codec to use to decode data read from the source. */ + codec?: Record<string, any>; + /** + * Setting this value to true hints to the framework that the source + * doesn't need splitting, and using SourceSplitRequest on it would + * yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. + * + * E.g. a file splitter may set this to true when splitting a single file + * into a set of byte ranges of appropriate size, and set this + * to false when splitting a filepattern into individual files. + * However, for efficiency, a file splitter may decide to produce + * file subranges directly from the filepattern to avoid a splitting + * round-trip. + * + * See SourceSplitRequest for an overview of the splitting process. + * + * This field is meaningful only in the Source objects populated + * by the user (e.g. when filling in a DerivedSource). + * Source objects supplied by the framework to the user don't have + * this field populated. + */ + doesNotNeedSplitting?: boolean; + /** + * Optionally, metadata for this source can be supplied right away, + * avoiding a SourceGetMetadataOperation roundtrip + * (see SourceOperationRequest). + * + * This field is meaningful only in the Source objects populated + * by the user (e.g. when filling in a DerivedSource). + * Source objects supplied by the framework to the user don't have + * this field populated. + */ + metadata?: SourceMetadata; + /** The source to read from, plus its parameters. */ + spec?: Record<string, any>; + } + interface SourceFork { + /** DEPRECATED */ + primary?: SourceSplitShard; + /** DEPRECATED */ + primarySource?: DerivedSource; + /** DEPRECATED */ + residual?: SourceSplitShard; + /** DEPRECATED */ + residualSource?: DerivedSource; + } + interface SourceGetMetadataRequest { + /** Specification of the source whose metadata should be computed. */ + source?: Source; + } + interface SourceGetMetadataResponse { + /** The computed metadata. */ + metadata?: SourceMetadata; + } + interface SourceMetadata { + /** + * An estimate of the total size (in bytes) of the data that would be + * read from this source. This estimate is in terms of external storage + * size, before any decompression or other processing done by the reader. + */ + estimatedSizeBytes?: string; + /** + * Specifies that the size of this source is known to be infinite + * (this is a streaming source). + */ + infinite?: boolean; + /** + * Whether this source is known to produce key/value pairs with + * the (encoded) keys in lexicographically sorted order. + */ + producesSortedKeys?: boolean; + } + interface SourceOperationRequest { + /** Information about a request to get metadata about a source. */ + getMetadata?: SourceGetMetadataRequest; + /** Information about a request to split a source. */ + split?: SourceSplitRequest; + } + interface SourceOperationResponse { + /** A response to a request to get metadata about a source. */ + getMetadata?: SourceGetMetadataResponse; + /** A response to a request to split a source. */ + split?: SourceSplitResponse; + } + interface SourceSplitOptions { + /** + * The source should be split into a set of bundles where the estimated size + * of each is approximately this many bytes. + */ + desiredBundleSizeBytes?: string; + /** DEPRECATED in favor of desired_bundle_size_bytes. */ + desiredShardSizeBytes?: string; + } + interface SourceSplitRequest { + /** Hints for tuning the splitting process. */ + options?: SourceSplitOptions; + /** Specification of the source to be split. */ + source?: Source; + } + interface SourceSplitResponse { + /** + * If outcome is SPLITTING_HAPPENED, then this is a list of bundles + * into which the source was split. Otherwise this field is ignored. + * This list can be empty, which means the source represents an empty input. + */ + bundles?: DerivedSource[]; + /** + * Indicates whether splitting happened and produced a list of bundles. + * If this is USE_CURRENT_SOURCE_AS_IS, the current source should + * be processed "as is" without splitting. "bundles" is ignored in this case. + * If this is SPLITTING_HAPPENED, then "bundles" contains a list of + * bundles into which the source was split. + */ + outcome?: string; + /** DEPRECATED in favor of bundles. */ + shards?: SourceSplitShard[]; + } + interface SourceSplitShard { + /** DEPRECATED */ + derivationMode?: string; + /** DEPRECATED */ + source?: Source; + } + interface SplitInt64 { + /** The high order bits, including the sign: n >> 32. */ + highBits?: number; + /** The low order bits: n & 0xffffffff. */ + lowBits?: number; + } + interface StageSource { + /** Dataflow service generated name for this source. */ + name?: string; + /** + * User name for the original user transform or collection with which this + * source is most closely associated. + */ + originalTransformOrCollection?: string; + /** Size of the source, if measurable. */ + sizeBytes?: string; + /** Human-readable name for this source; may be user or system generated. */ + userName?: string; + } + interface StateFamilyConfig { + /** If true, this family corresponds to a read operation. */ + isRead?: boolean; + /** The state family value. */ + stateFamily?: string; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface Step { + /** The kind of step in the Cloud Dataflow job. */ + kind?: string; + /** + * The name that identifies the step. This must be unique for each + * step with respect to all other steps in the Cloud Dataflow job. + */ + name?: string; + /** + * Named properties associated with the step. Each kind of + * predefined step has its own required set of properties. + * Must be provided on Create. Only retrieved with JOB_VIEW_ALL. + */ + properties?: Record<string, any>; + } + interface StreamLocation { + /** The stream is a custom source. */ + customSourceLocation?: CustomSourceLocation; + /** The stream is a pubsub stream. */ + pubsubLocation?: PubsubLocation; + /** The stream is a streaming side input. */ + sideInputLocation?: StreamingSideInputLocation; + /** + * The stream is part of another computation within the current + * streaming Dataflow job. + */ + streamingStageLocation?: StreamingStageLocation; + } + interface StreamingComputationConfig { + /** Unique identifier for this computation. */ + computationId?: string; + /** Instructions that comprise the computation. */ + instructions?: ParallelInstruction[]; + /** Stage name of this computation. */ + stageName?: string; + /** System defined name for this computation. */ + systemName?: string; + } + interface StreamingComputationRanges { + /** The ID of the computation. */ + computationId?: string; + /** Data disk assignments for ranges from this computation. */ + rangeAssignments?: KeyRangeDataDiskAssignment[]; + } + interface StreamingComputationTask { + /** Contains ranges of a streaming computation this task should apply to. */ + computationRanges?: StreamingComputationRanges[]; + /** Describes the set of data disks this task should apply to. */ + dataDisks?: MountedDataDisk[]; + /** A type of streaming computation task. */ + taskType?: string; + } + interface StreamingConfigTask { + /** Set of computation configuration information. */ + streamingComputationConfigs?: StreamingComputationConfig[]; + /** Map from user step names to state families. */ + userStepToStateFamilyNameMap?: Record<string, string>; + /** + * If present, the worker must use this endpoint to communicate with Windmill + * Service dispatchers, otherwise the worker must continue to use whatever + * endpoint it had been using. + */ + windmillServiceEndpoint?: string; + /** + * If present, the worker must use this port to communicate with Windmill + * Service dispatchers. Only applicable when windmill_service_endpoint is + * specified. + */ + windmillServicePort?: string; + } + interface StreamingSetupTask { + /** The user has requested drain. */ + drain?: boolean; + /** + * The TCP port on which the worker should listen for messages from + * other streaming computation workers. + */ + receiveWorkPort?: number; + /** The global topology of the streaming Dataflow job. */ + streamingComputationTopology?: TopologyConfig; + /** + * The TCP port used by the worker to communicate with the Dataflow + * worker harness. + */ + workerHarnessPort?: number; + } + interface StreamingSideInputLocation { + /** Identifies the state family where this side input is stored. */ + stateFamily?: string; + /** Identifies the particular side input within the streaming Dataflow job. */ + tag?: string; + } + interface StreamingStageLocation { + /** + * Identifies the particular stream within the streaming Dataflow + * job. + */ + streamId?: string; + } + interface StringList { + /** Elements of the list. */ + elements?: string[]; + } + interface StructuredMessage { + /** + * Idenfier for this message type. Used by external systems to + * internationalize or personalize message. + */ + messageKey?: string; + /** Human-readable version of message. */ + messageText?: string; + /** The structured data associated with this message. */ + parameters?: Parameter[]; + } + interface TaskRunnerSettings { + /** Whether to also send taskrunner log info to stderr. */ + alsologtostderr?: boolean; + /** The location on the worker for task-specific subdirectories. */ + baseTaskDir?: string; + /** + * The base URL for the taskrunner to use when accessing Google Cloud APIs. + * + * When workers access Google Cloud APIs, they logically do so via + * relative URLs. If this field is specified, it supplies the base + * URL to use for resolving these relative URLs. The normative + * algorithm used is defined by RFC 1808, "Relative Uniform Resource + * Locators". + * + * If not specified, the default value is "http://www.googleapis.com/" + */ + baseUrl?: string; + /** The file to store preprocessing commands in. */ + commandlinesFileName?: string; + /** Whether to continue taskrunner if an exception is hit. */ + continueOnException?: boolean; + /** The API version of endpoint, e.g. "v1b3" */ + dataflowApiVersion?: string; + /** The command to launch the worker harness. */ + harnessCommand?: string; + /** The suggested backend language. */ + languageHint?: string; + /** The directory on the VM to store logs. */ + logDir?: string; + /** + * Whether to send taskrunner log info to Google Compute Engine VM serial + * console. + */ + logToSerialconsole?: boolean; + /** + * Indicates where to put logs. If this is not specified, the logs + * will not be uploaded. + * + * The supported resource type is: + * + * Google Cloud Storage: + * storage.googleapis.com/{bucket}/{object} + * bucket.storage.googleapis.com/{object} + */ + logUploadLocation?: string; + /** + * The OAuth2 scopes to be requested by the taskrunner in order to + * access the Cloud Dataflow API. + */ + oauthScopes?: string[]; + /** The settings to pass to the parallel worker harness. */ + parallelWorkerSettings?: WorkerSettings; + /** The streaming worker main class name. */ + streamingWorkerMainClass?: string; + /** + * The UNIX group ID on the worker VM to use for tasks launched by + * taskrunner; e.g. "wheel". + */ + taskGroup?: string; + /** + * The UNIX user ID on the worker VM to use for tasks launched by + * taskrunner; e.g. "root". + */ + taskUser?: string; + /** + * The prefix of the resources the taskrunner should use for + * temporary storage. + * + * The supported resource type is: + * + * Google Cloud Storage: + * storage.googleapis.com/{bucket}/{object} + * bucket.storage.googleapis.com/{object} + */ + tempStoragePrefix?: string; + /** The ID string of the VM. */ + vmId?: string; + /** The file to store the workflow in. */ + workflowFileName?: string; + } + interface TemplateMetadata { + /** Optional. A description of the template. */ + description?: string; + /** Required. The name of the template. */ + name?: string; + /** The parameters for the template. */ + parameters?: ParameterMetadata[]; + } + interface TopologyConfig { + /** The computations associated with a streaming Dataflow job. */ + computations?: ComputationTopology[]; + /** The disks assigned to a streaming Dataflow job. */ + dataDiskAssignments?: DataDiskAssignment[]; + /** The size (in bits) of keys that will be assigned to source messages. */ + forwardingKeyBits?: number; + /** Version number for persistent state. */ + persistentStateVersion?: number; + /** Maps user stage names to stable computation names. */ + userStageToComputationNameMap?: Record<string, string>; + } + interface TransformSummary { + /** Transform-specific display data. */ + displayData?: DisplayData[]; + /** SDK generated id of this transform instance. */ + id?: string; + /** User names for all collection inputs to this transform. */ + inputCollectionName?: string[]; + /** Type of transform. */ + kind?: string; + /** User provided name for this transform instance. */ + name?: string; + /** User names for all collection outputs to this transform. */ + outputCollectionName?: string[]; + } + interface WorkItem { + /** Work item-specific configuration as an opaque blob. */ + configuration?: string; + /** Identifies this WorkItem. */ + id?: string; + /** The initial index to use when reporting the status of the WorkItem. */ + initialReportIndex?: string; + /** Identifies the workflow job this WorkItem belongs to. */ + jobId?: string; + /** Time when the lease on this Work will expire. */ + leaseExpireTime?: string; + /** Additional information for MapTask WorkItems. */ + mapTask?: MapTask; + /** + * Any required packages that need to be fetched in order to execute + * this WorkItem. + */ + packages?: Package[]; + /** Identifies the cloud project this WorkItem belongs to. */ + projectId?: string; + /** Recommended reporting interval. */ + reportStatusInterval?: string; + /** Additional information for SeqMapTask WorkItems. */ + seqMapTask?: SeqMapTask; + /** Additional information for ShellTask WorkItems. */ + shellTask?: ShellTask; + /** Additional information for source operation WorkItems. */ + sourceOperationTask?: SourceOperationRequest; + /** Additional information for StreamingComputationTask WorkItems. */ + streamingComputationTask?: StreamingComputationTask; + /** Additional information for StreamingConfigTask WorkItems. */ + streamingConfigTask?: StreamingConfigTask; + /** Additional information for StreamingSetupTask WorkItems. */ + streamingSetupTask?: StreamingSetupTask; + } + interface WorkItemServiceState { + /** + * Other data returned by the service, specific to the particular + * worker harness. + */ + harnessData?: Record<string, any>; + /** Time at which the current lease will expire. */ + leaseExpireTime?: string; + /** + * The short ids that workers should use in subsequent metric updates. + * Workers should strive to use short ids whenever possible, but it is ok + * to request the short_id again if a worker lost track of it + * (e.g. if the worker is recovering from a crash). + * NOTE: it is possible that the response may have short ids for a subset + * of the metrics. + */ + metricShortId?: MetricShortId[]; + /** + * The index value to use for the next report sent by the worker. + * Note: If the report call fails for whatever reason, the worker should + * reuse this index for subsequent report attempts. + */ + nextReportIndex?: string; + /** New recommended reporting interval. */ + reportStatusInterval?: string; + /** + * The progress point in the WorkItem where the Dataflow service + * suggests that the worker truncate the task. + */ + splitRequest?: ApproximateSplitRequest; + /** DEPRECATED in favor of split_request. */ + suggestedStopPoint?: ApproximateProgress; + /** Obsolete, always empty. */ + suggestedStopPosition?: Position; + } + interface WorkItemStatus { + /** True if the WorkItem was completed (successfully or unsuccessfully). */ + completed?: boolean; + /** Worker output counters for this WorkItem. */ + counterUpdates?: CounterUpdate[]; + /** See documentation of stop_position. */ + dynamicSourceSplit?: DynamicSourceSplit; + /** + * Specifies errors which occurred during processing. If errors are + * provided, and completed = true, then the WorkItem is considered + * to have failed. + */ + errors?: Status[]; + /** DEPRECATED in favor of counter_updates. */ + metricUpdates?: MetricUpdate[]; + /** DEPRECATED in favor of reported_progress. */ + progress?: ApproximateProgress; + /** + * The report index. When a WorkItem is leased, the lease will + * contain an initial report index. When a WorkItem's status is + * reported to the system, the report should be sent with + * that report index, and the response will contain the index the + * worker should use for the next report. Reports received with + * unexpected index values will be rejected by the service. + * + * In order to preserve idempotency, the worker should not alter the + * contents of a report, even if the worker must submit the same + * report multiple times before getting back a response. The worker + * should not submit a subsequent report until the response for the + * previous report had been received from the service. + */ + reportIndex?: string; + /** The worker's progress through this WorkItem. */ + reportedProgress?: ApproximateReportedProgress; + /** Amount of time the worker requests for its lease. */ + requestedLeaseDuration?: string; + /** DEPRECATED in favor of dynamic_source_split. */ + sourceFork?: SourceFork; + /** + * If the work item represented a SourceOperationRequest, and the work + * is completed, contains the result of the operation. + */ + sourceOperationResponse?: SourceOperationResponse; + /** + * A worker may split an active map task in two parts, "primary" and + * "residual", continuing to process the primary part and returning the + * residual part into the pool of available work. + * This event is called a "dynamic split" and is critical to the dynamic + * work rebalancing feature. The two obtained sub-tasks are called + * "parts" of the split. + * The parts, if concatenated, must represent the same input as would + * be read by the current task if the split did not happen. + * The exact way in which the original task is decomposed into the two + * parts is specified either as a position demarcating them + * (stop_position), or explicitly as two DerivedSources, if this + * task consumes a user-defined source type (dynamic_source_split). + * + * The "current" task is adjusted as a result of the split: after a task + * with range [A, B) sends a stop_position update at C, its range is + * considered to be [A, C), e.g.: + * * Progress should be interpreted relative to the new range, e.g. + * "75% completed" means "75% of [A, C) completed" + * * The worker should interpret proposed_stop_position relative to the + * new range, e.g. "split at 68%" should be interpreted as + * "split at 68% of [A, C)". + * * If the worker chooses to split again using stop_position, only + * stop_positions in [A, C) will be accepted. + * * Etc. + * dynamic_source_split has similar semantics: e.g., if a task with + * source S splits using dynamic_source_split into {P, R} + * (where P and R must be together equivalent to S), then subsequent + * progress and proposed_stop_position should be interpreted relative + * to P, and in a potential subsequent dynamic_source_split into {P', R'}, + * P' and R' must be together equivalent to P, etc. + */ + stopPosition?: Position; + /** Total time the worker spent being throttled by external systems. */ + totalThrottlerWaitTimeSeconds?: number; + /** Identifies the WorkItem. */ + workItemId?: string; + } + interface WorkerHealthReport { + /** + * The pods running on the worker. See: + * http://kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_pod + * + * This field is used by the worker to send the status of the indvidual + * containers running on each worker. + */ + pods?: Array<Record<string, any>>; + /** + * The interval at which the worker is sending health reports. + * The default value of 0 should be interpreted as the field is not being + * explicitly set by the worker. + */ + reportInterval?: string; + /** Whether the VM is healthy. */ + vmIsHealthy?: boolean; + /** The time the VM was booted. */ + vmStartupTime?: string; + } + interface WorkerHealthReportResponse { + /** + * A positive value indicates the worker should change its reporting interval + * to the specified value. + * + * The default value of zero means no change in report rate is requested by + * the server. + */ + reportInterval?: string; + } + interface WorkerMessage { + /** + * Labels are used to group WorkerMessages. + * For example, a worker_message about a particular container + * might have the labels: + * { "JOB_ID": "2015-04-22", + * "WORKER_ID": "wordcount-vm-2015…" + * "CONTAINER_TYPE": "worker", + * "CONTAINER_ID": "ac1234def"} + * Label tags typically correspond to Label enum values. However, for ease + * of development other strings can be used as tags. LABEL_UNSPECIFIED should + * not be used here. + */ + labels?: Record<string, string>; + /** The timestamp of the worker_message. */ + time?: string; + /** The health of a worker. */ + workerHealthReport?: WorkerHealthReport; + /** A worker message code. */ + workerMessageCode?: WorkerMessageCode; + /** Resource metrics reported by workers. */ + workerMetrics?: ResourceUtilizationReport; + /** Shutdown notice by workers. */ + workerShutdownNotice?: WorkerShutdownNotice; + } + interface WorkerMessageCode { + /** + * The code is a string intended for consumption by a machine that identifies + * the type of message being sent. + * Examples: + * 1. "HARNESS_STARTED" might be used to indicate the worker harness has + * started. + * 2. "GCS_DOWNLOAD_ERROR" might be used to indicate an error downloading + * a GCS file as part of the boot process of one of the worker containers. + * + * This is a string and not an enum to make it easy to add new codes without + * waiting for an API change. + */ + code?: string; + /** + * Parameters contains specific information about the code. + * + * This is a struct to allow parameters of different types. + * + * Examples: + * 1. For a "HARNESS_STARTED" message parameters might provide the name + * of the worker and additional data like timing information. + * 2. For a "GCS_DOWNLOAD_ERROR" parameters might contain fields listing + * the GCS objects being downloaded and fields containing errors. + * + * In general complex data structures should be avoided. If a worker + * needs to send a specific and complicated data structure then please + * consider defining a new proto and adding it to the data oneof in + * WorkerMessageResponse. + * + * Conventions: + * Parameters should only be used for information that isn't typically passed + * as a label. + * hostname and other worker identifiers should almost always be passed + * as labels since they will be included on most messages. + */ + parameters?: Record<string, any>; + } + interface WorkerMessageResponse { + /** The service's response to a worker's health report. */ + workerHealthReportResponse?: WorkerHealthReportResponse; + /** Service's response to reporting worker metrics (currently empty). */ + workerMetricsResponse?: any; + /** Service's response to shutdown notice (currently empty). */ + workerShutdownNoticeResponse?: any; + } + interface WorkerPool { + /** Settings for autoscaling of this WorkerPool. */ + autoscalingSettings?: AutoscalingSettings; + /** Data disks that are used by a VM in this workflow. */ + dataDisks?: Disk[]; + /** + * The default package set to install. This allows the service to + * select a default set of packages which are useful to worker + * harnesses written in a particular language. + */ + defaultPackageSet?: string; + /** + * Size of root disk for VMs, in GB. If zero or unspecified, the service will + * attempt to choose a reasonable default. + */ + diskSizeGb?: number; + /** Fully qualified source image for disks. */ + diskSourceImage?: string; + /** + * Type of root disk for VMs. If empty or unspecified, the service will + * attempt to choose a reasonable default. + */ + diskType?: string; + /** Configuration for VM IPs. */ + ipConfiguration?: string; + /** + * The kind of the worker pool; currently only `harness` and `shuffle` + * are supported. + */ + kind?: string; + /** + * Machine type (e.g. "n1-standard-1"). If empty or unspecified, the + * service will attempt to choose a reasonable default. + */ + machineType?: string; + /** Metadata to set on the Google Compute Engine VMs. */ + metadata?: Record<string, string>; + /** + * Network to which VMs will be assigned. If empty or unspecified, + * the service will use the network "default". + */ + network?: string; + /** + * The number of threads per worker harness. If empty or unspecified, the + * service will choose a number of threads (according to the number of cores + * on the selected machine type for batch, or 1 by convention for streaming). + */ + numThreadsPerWorker?: number; + /** + * Number of Google Compute Engine workers in this pool needed to + * execute the job. If zero or unspecified, the service will + * attempt to choose a reasonable default. + */ + numWorkers?: number; + /** + * The action to take on host maintenance, as defined by the Google + * Compute Engine API. + */ + onHostMaintenance?: string; + /** Packages to be installed on workers. */ + packages?: Package[]; + /** Extra arguments for this worker pool. */ + poolArgs?: Record<string, any>; + /** + * Subnetwork to which VMs will be assigned, if desired. Expected to be of + * the form "regions/REGION/subnetworks/SUBNETWORK". + */ + subnetwork?: string; + /** + * Settings passed through to Google Compute Engine workers when + * using the standard Dataflow task runner. Users should ignore + * this field. + */ + taskrunnerSettings?: TaskRunnerSettings; + /** + * Sets the policy for determining when to turndown worker pool. + * Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and + * `TEARDOWN_NEVER`. + * `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether + * the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down + * if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn + * down. + * + * If the workers are not torn down by the service, they will + * continue to run and use Google Compute Engine VM resources in the + * user's project until they are explicitly terminated by the user. + * Because of this, Google recommends using the `TEARDOWN_ALWAYS` + * policy except for small, manually supervised test jobs. + * + * If unknown or unspecified, the service will attempt to choose a reasonable + * default. + */ + teardownPolicy?: string; + /** + * Required. Docker container image that executes the Cloud Dataflow worker + * harness, residing in Google Container Registry. + */ + workerHarnessContainerImage?: string; + /** + * Zone to run the worker pools in. If empty or unspecified, the service + * will attempt to choose a reasonable default. + */ + zone?: string; + } + interface WorkerSettings { + /** + * The base URL for accessing Google Cloud APIs. + * + * When workers access Google Cloud APIs, they logically do so via + * relative URLs. If this field is specified, it supplies the base + * URL to use for resolving these relative URLs. The normative + * algorithm used is defined by RFC 1808, "Relative Uniform Resource + * Locators". + * + * If not specified, the default value is "http://www.googleapis.com/" + */ + baseUrl?: string; + /** Whether to send work progress updates to the service. */ + reportingEnabled?: boolean; + /** + * The Cloud Dataflow service path relative to the root URL, for example, + * "dataflow/v1b3/projects". + */ + servicePath?: string; + /** + * The Shuffle service path relative to the root URL, for example, + * "shuffle/v1beta1". + */ + shuffleServicePath?: string; + /** + * The prefix of the resources the system should use for temporary + * storage. + * + * The supported resource type is: + * + * Google Cloud Storage: + * + * storage.googleapis.com/{bucket}/{object} + * bucket.storage.googleapis.com/{object} + */ + tempStoragePrefix?: string; + /** The ID of the worker running this pipeline. */ + workerId?: string; + } + interface WorkerShutdownNotice { + /** + * The reason for the worker shutdown. + * Current possible values are: + * "UNKNOWN": shutdown reason is unknown. + * "PREEMPTION": shutdown reason is preemption. + * Other possible reasons may be added in the future. + */ + reason?: string; + } + interface WriteInstruction { + /** The input. */ + input?: InstructionInput; + /** The sink to write to. */ + sink?: Sink; + } + interface DebugResource { + /** Get encoded debug configuration for component. Not cacheable. */ + getConfig(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The job id. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project id. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GetDebugConfigResponse>; + /** Send encoded debug capture data for component. */ + sendCapture(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The job id. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project id. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + } + interface MessagesResource { + /** Request the job status. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Return only messages with timestamps < end_time. The default is now + * (i.e. return up to the latest messages available). + */ + endTime?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The job to get messages about. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location which contains the job specified by job_id. */ + location?: string; + /** Filter to only get messages with importance >= level */ + minimumImportance?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * If specified, determines the maximum number of messages to + * return. If unspecified, the service may choose an appropriate + * default, or may return an arbitrarily large number of results. + */ + pageSize?: number; + /** + * If supplied, this should be the value of next_page_token returned + * by an earlier call. This will cause the next page of results to + * be returned. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** A project id. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * If specified, return only messages with timestamps >= start_time. + * The default is the job creation time (i.e. beginning of messages). + */ + startTime?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListJobMessagesResponse>; + } + interface WorkItemsResource { + /** Leases a dataflow WorkItem to run. */ + lease(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Identifies the workflow job this worker belongs to. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Identifies the project this worker belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LeaseWorkItemResponse>; + /** Reports the status of dataflow WorkItems leased by a worker. */ + reportStatus(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The job which the WorkItem is part of. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project which owns the WorkItem's job. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ReportWorkItemStatusResponse>; + } + interface JobsResource { + /** List the jobs of a project across all regions. */ + aggregated(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The kind of filter to use. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location that contains this job. */ + location?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * If there are many jobs, limit response to at most this many. + * The actual number of jobs returned will be the lesser of max_responses + * and an unspecified server-defined limit. + */ + pageSize?: number; + /** + * Set this to the 'next_page_token' field of a previous response + * to request additional results in a long list. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project which owns the jobs. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Level of information requested in response. Default is `JOB_VIEW_SUMMARY`. */ + view?: string; + }): Request<ListJobsResponse>; + /** Creates a Cloud Dataflow job. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location that contains this job. */ + location?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the Cloud Platform project that the job belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Deprecated. This field is now in the Job message. */ + replaceJobId?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** The level of information requested in response. */ + view?: string; + }): Request<Job>; + /** Gets the state of the specified Cloud Dataflow job. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The job ID. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location that contains this job. */ + location?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the Cloud Platform project that the job belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** The level of information requested in response. */ + view?: string; + }): Request<Job>; + /** Request the job status. */ + getMetrics(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The job to get messages for. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location which contains the job specified by job_id. */ + location?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** A project id. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Return only metric data that has changed since this time. + * Default is to return all information about all metrics for the job. + */ + startTime?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<JobMetrics>; + /** List the jobs of a project in a given region. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The kind of filter to use. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location that contains this job. */ + location?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * If there are many jobs, limit response to at most this many. + * The actual number of jobs returned will be the lesser of max_responses + * and an unspecified server-defined limit. + */ + pageSize?: number; + /** + * Set this to the 'next_page_token' field of a previous response + * to request additional results in a long list. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project which owns the jobs. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Level of information requested in response. Default is `JOB_VIEW_SUMMARY`. */ + view?: string; + }): Request<ListJobsResponse>; + /** Updates the state of an existing Cloud Dataflow job. */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The job ID. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location that contains this job. */ + location?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the Cloud Platform project that the job belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Job>; + debug: DebugResource; + messages: MessagesResource; + workItems: WorkItemsResource; + } + interface DebugResource { + /** Get encoded debug configuration for component. Not cacheable. */ + getConfig(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The job id. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location which contains the job specified by job_id. */ + location: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project id. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GetDebugConfigResponse>; + /** Send encoded debug capture data for component. */ + sendCapture(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The job id. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location which contains the job specified by job_id. */ + location: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project id. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + } + interface MessagesResource { + /** Request the job status. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Return only messages with timestamps < end_time. The default is now + * (i.e. return up to the latest messages available). + */ + endTime?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The job to get messages about. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location which contains the job specified by job_id. */ + location: string; + /** Filter to only get messages with importance >= level */ + minimumImportance?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * If specified, determines the maximum number of messages to + * return. If unspecified, the service may choose an appropriate + * default, or may return an arbitrarily large number of results. + */ + pageSize?: number; + /** + * If supplied, this should be the value of next_page_token returned + * by an earlier call. This will cause the next page of results to + * be returned. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** A project id. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * If specified, return only messages with timestamps >= start_time. + * The default is the job creation time (i.e. beginning of messages). + */ + startTime?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListJobMessagesResponse>; + } + interface WorkItemsResource { + /** Leases a dataflow WorkItem to run. */ + lease(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Identifies the workflow job this worker belongs to. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location which contains the WorkItem's job. */ + location: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Identifies the project this worker belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LeaseWorkItemResponse>; + /** Reports the status of dataflow WorkItems leased by a worker. */ + reportStatus(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The job which the WorkItem is part of. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location which contains the WorkItem's job. */ + location: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project which owns the WorkItem's job. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ReportWorkItemStatusResponse>; + } + interface JobsResource { + /** Creates a Cloud Dataflow job. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location that contains this job. */ + location: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the Cloud Platform project that the job belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Deprecated. This field is now in the Job message. */ + replaceJobId?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** The level of information requested in response. */ + view?: string; + }): Request<Job>; + /** Gets the state of the specified Cloud Dataflow job. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The job ID. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location that contains this job. */ + location: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the Cloud Platform project that the job belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** The level of information requested in response. */ + view?: string; + }): Request<Job>; + /** Request the job status. */ + getMetrics(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The job to get messages for. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location which contains the job specified by job_id. */ + location: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** A project id. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Return only metric data that has changed since this time. + * Default is to return all information about all metrics for the job. + */ + startTime?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<JobMetrics>; + /** List the jobs of a project in a given region. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The kind of filter to use. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location that contains this job. */ + location: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * If there are many jobs, limit response to at most this many. + * The actual number of jobs returned will be the lesser of max_responses + * and an unspecified server-defined limit. + */ + pageSize?: number; + /** + * Set this to the 'next_page_token' field of a previous response + * to request additional results in a long list. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project which owns the jobs. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Level of information requested in response. Default is `JOB_VIEW_SUMMARY`. */ + view?: string; + }): Request<ListJobsResponse>; + /** Updates the state of an existing Cloud Dataflow job. */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The job ID. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location that contains this job. */ + location: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the Cloud Platform project that the job belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Job>; + debug: DebugResource; + messages: MessagesResource; + workItems: WorkItemsResource; + } + interface TemplatesResource { + /** Creates a Cloud Dataflow job from a template. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location to which to direct the request. */ + location: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Required. The ID of the Cloud Platform project that the job belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Job>; + /** Get the template associated with a template. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Required. A Cloud Storage path to the template from which to + * create the job. + * Must be a valid Cloud Storage URL, beginning with `gs://`. + */ + gcsPath?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location to which to direct the request. */ + location: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Required. The ID of the Cloud Platform project that the job belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** The view to retrieve. Defaults to METADATA_ONLY. */ + view?: string; + }): Request<GetTemplateResponse>; + /** Launch a template. */ + launch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Required. A Cloud Storage path to the template from which to create + * the job. + * Must be valid Cloud Storage URL, beginning with 'gs://'. + */ + gcsPath?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location to which to direct the request. */ + location: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Required. The ID of the Cloud Platform project that the job belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * If true, the request is validated but not actually executed. + * Defaults to false. + */ + validateOnly?: boolean; + }): Request<LaunchTemplateResponse>; + } + interface LocationsResource { + /** Send a worker_message to the service. */ + workerMessages(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location which contains the job */ + location: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project to send the WorkerMessages to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SendWorkerMessagesResponse>; + jobs: JobsResource; + templates: TemplatesResource; + } + interface TemplatesResource { + /** Creates a Cloud Dataflow job from a template. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Required. The ID of the Cloud Platform project that the job belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Job>; + /** Get the template associated with a template. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Required. A Cloud Storage path to the template from which to + * create the job. + * Must be a valid Cloud Storage URL, beginning with `gs://`. + */ + gcsPath?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location to which to direct the request. */ + location?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Required. The ID of the Cloud Platform project that the job belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** The view to retrieve. Defaults to METADATA_ONLY. */ + view?: string; + }): Request<GetTemplateResponse>; + /** Launch a template. */ + launch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Required. A Cloud Storage path to the template from which to create + * the job. + * Must be valid Cloud Storage URL, beginning with 'gs://'. + */ + gcsPath?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The location to which to direct the request. */ + location?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Required. The ID of the Cloud Platform project that the job belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * If true, the request is validated but not actually executed. + * Defaults to false. + */ + validateOnly?: boolean; + }): Request<LaunchTemplateResponse>; + } + interface ProjectsResource { + /** Send a worker_message to the service. */ + workerMessages(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project to send the WorkerMessages to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SendWorkerMessagesResponse>; + jobs: JobsResource; + locations: LocationsResource; + templates: TemplatesResource; + } + } +} diff --git a/types/gapi.client.dataflow/readme.md b/types/gapi.client.dataflow/readme.md new file mode 100644 index 0000000000..d91dd9868b --- /dev/null +++ b/types/gapi.client.dataflow/readme.md @@ -0,0 +1,68 @@ +# TypeScript typings for Google Dataflow API v1b3 +Manages Google Cloud Dataflow projects on Google Cloud Platform. +For detailed description please check [documentation](https://cloud.google.com/dataflow). + +## Installing + +Install typings for Google Dataflow API: +``` +npm install @types/gapi.client.dataflow@v1b3 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('dataflow', 'v1b3', () => { + // now we can use gapi.client.dataflow + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View and manage your Google Compute Engine resources + 'https://www.googleapis.com/auth/compute', + + // View your Google Compute Engine resources + 'https://www.googleapis.com/auth/compute.readonly', + + // View your email address + 'https://www.googleapis.com/auth/userinfo.email', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Dataflow API resources: + +```typescript + +/* +Send a worker_message to the service. +*/ +await gapi.client.projects.workerMessages({ projectId: "projectId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.dataflow/tsconfig.json b/types/gapi.client.dataflow/tsconfig.json new file mode 100644 index 0000000000..08c1fced14 --- /dev/null +++ b/types/gapi.client.dataflow/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.dataflow-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.dataflow/tslint.json b/types/gapi.client.dataflow/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.dataflow/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.dataproc/gapi.client.dataproc-tests.ts b/types/gapi.client.dataproc/gapi.client.dataproc-tests.ts new file mode 100644 index 0000000000..b5408509e6 --- /dev/null +++ b/types/gapi.client.dataproc/gapi.client.dataproc-tests.ts @@ -0,0 +1,32 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('dataproc', 'v1', () => { + /** now we can use gapi.client.dataproc */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + } +}); diff --git a/types/gapi.client.dataproc/index.d.ts b/types/gapi.client.dataproc/index.d.ts new file mode 100644 index 0000000000..cc9f6fcb8f --- /dev/null +++ b/types/gapi.client.dataproc/index.d.ts @@ -0,0 +1,1225 @@ +// Type definitions for Google Google Cloud Dataproc API v1 1.0 +// Project: https://cloud.google.com/dataproc/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://dataproc.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Cloud Dataproc API v1 */ + function load(name: "dataproc", version: "v1"): PromiseLike<void>; + function load(name: "dataproc", version: "v1", callback: () => any): void; + + const projects: dataproc.ProjectsResource; + + namespace dataproc { + interface AcceleratorConfig { + /** The number of the accelerator cards of this type exposed to this instance. */ + acceleratorCount?: number; + /** + * Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Google Compute Engine AcceleratorTypes( + * /compute/docs/reference/beta/acceleratorTypes)Examples * + * https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 * + * projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 * nvidia-tesla-k80 + */ + acceleratorTypeUri?: string; + } + interface Cluster { + /** Required. The cluster name. Cluster names within a project must be unique. Names of deleted clusters can be reused. */ + clusterName?: string; + /** Output-only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster. */ + clusterUuid?: string; + /** Required. The cluster config. Note that Cloud Dataproc may set default values, and values may change when clusters are updated. */ + config?: ClusterConfig; + /** + * Optional. The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 + * (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 + * (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster. + */ + labels?: Record<string, string>; + /** + * Contains cluster daemon metrics such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before + * final release. + */ + metrics?: ClusterMetrics; + /** Required. The Google Cloud Platform project ID that the cluster belongs to. */ + projectId?: string; + /** Output-only. Cluster status. */ + status?: ClusterStatus; + /** Output-only. The previous cluster status. */ + statusHistory?: ClusterStatus[]; + } + interface ClusterConfig { + /** + * Optional. A Google Cloud Storage staging bucket used for sharing generated SSH keys and config. If you do not specify a staging bucket, Cloud Dataproc + * will determine an appropriate Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Google Compute Engine zone + * where your cluster is deployed, and then it will create and manage this project-level, per-location bucket for you. + */ + configBucket?: string; + /** Required. The shared Google Compute Engine config settings for all instances in a cluster. */ + gceClusterConfig?: GceClusterConfig; + /** + * Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a + * node's role metadata to run an executable on a master or worker node, as shown below using curl (you can also use wget): + * ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) + * if [[ "${ROLE}" == 'Master' ]]; then + * ... master specific actions ... + * else + * ... worker specific actions ... + * fi + */ + initializationActions?: NodeInitializationAction[]; + /** Optional. The Google Compute Engine config settings for the master instance in a cluster. */ + masterConfig?: InstanceGroupConfig; + /** Optional. The Google Compute Engine config settings for additional worker instances in a cluster. */ + secondaryWorkerConfig?: InstanceGroupConfig; + /** Optional. The config settings for software inside the cluster. */ + softwareConfig?: SoftwareConfig; + /** Optional. The Google Compute Engine config settings for worker instances in a cluster. */ + workerConfig?: InstanceGroupConfig; + } + interface ClusterMetrics { + /** The HDFS metrics. */ + hdfsMetrics?: Record<string, string>; + /** The YARN metrics. */ + yarnMetrics?: Record<string, string>; + } + interface ClusterOperationMetadata { + /** Output-only. Name of the cluster for the operation. */ + clusterName?: string; + /** Output-only. Cluster UUID for the operation. */ + clusterUuid?: string; + /** Output-only. Short description of operation. */ + description?: string; + /** Output-only. Labels associated with the operation */ + labels?: Record<string, string>; + /** Output-only. The operation type. */ + operationType?: string; + /** Output-only. Current operation status. */ + status?: ClusterOperationStatus; + /** Output-only. The previous operation status. */ + statusHistory?: ClusterOperationStatus[]; + /** Output-only. Errors encountered during operation execution. */ + warnings?: string[]; + } + interface ClusterOperationStatus { + /** Output-only.A message containing any operation metadata details. */ + details?: string; + /** Output-only. A message containing the detailed operation state. */ + innerState?: string; + /** Output-only. A message containing the operation state. */ + state?: string; + /** Output-only. The time this state was entered. */ + stateStartTime?: string; + } + interface ClusterStatus { + /** Output-only. Optional details of cluster's state. */ + detail?: string; + /** Output-only. The cluster's state. */ + state?: string; + /** Output-only. Time when this state was entered. */ + stateStartTime?: string; + /** Output-only. Additional state information that includes status reported by the agent. */ + substate?: string; + } + interface DiagnoseClusterResults { + /** Output-only. The Google Cloud Storage URI of the diagnostic output. The output report is a plain text file with a summary of collected diagnostics. */ + outputUri?: string; + } + interface DiskConfig { + /** Optional. Size in GB of the boot disk (default is 500GB). */ + bootDiskSizeGb?: number; + /** + * Optional. Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS + * (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and + * the boot disk contains only basic config and installed binaries. + */ + numLocalSsds?: number; + } + interface GceClusterConfig { + /** + * Optional. If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, + * and will have ephemeral external IP addresses assigned to each instance. This internal_ip_only restriction can only be enabled for subnetwork enabled + * networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses. + */ + internalIpOnly?: boolean; + /** + * The Google Compute Engine metadata entries to add to all instances (see Project and instance metadata + * (https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)). + */ + metadata?: Record<string, string>; + /** + * Optional. The Google Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor + * subnetwork_uri is specified, the "default" network of the project is used, if it exists. Cannot be a "Custom Subnet Network" (see Using Subnetworks for + * more information).A full URL, partial URI, or short name are valid. Examples: + * https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default + * projects/[project_id]/regions/global/default + * default + */ + networkUri?: string; + /** + * Optional. The service account of the instances. Defaults to the default Google Compute Engine service account. Custom service accounts need permissions + * equivalent to the folloing IAM roles: + * roles/logging.logWriter + * roles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts for more information). Example: + * [account_id]@[project_id].iam.gserviceaccount.com + */ + serviceAccount?: string; + /** + * Optional. The URIs of service account scopes to be included in Google Compute Engine instances. The following base set of scopes is always included: + * https://www.googleapis.com/auth/cloud.useraccounts.readonly + * https://www.googleapis.com/auth/devstorage.read_write + * https://www.googleapis.com/auth/logging.writeIf no scopes are specified, the following defaults are also provided: + * https://www.googleapis.com/auth/bigquery + * https://www.googleapis.com/auth/bigtable.admin.table + * https://www.googleapis.com/auth/bigtable.data + * https://www.googleapis.com/auth/devstorage.full_control + */ + serviceAccountScopes?: string[]; + /** + * Optional. The Google Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri.A full URL, partial URI, or + * short name are valid. Examples: + * https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0 + * projects/[project_id]/regions/us-east1/sub0 + * sub0 + */ + subnetworkUri?: string; + /** The Google Compute Engine tags to add to all instances (see Tagging instances). */ + tags?: string[]; + /** + * Optional. The zone where the Google Compute Engine cluster will be located. On a create request, it is required in the "global" region. If omitted in a + * non-global Cloud Dataproc region, the service will pick a zone in the corresponding Compute Engine region. On a get request, zone will always be + * present.A full URL, partial URI, or short name are valid. Examples: + * https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone] + * projects/[project_id]/zones/[zone] + * us-central1-f + */ + zoneUri?: string; + } + interface HadoopJob { + /** + * Optional. HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, + * or .zip. + */ + archiveUris?: string[]; + /** + * Optional. The arguments to pass to the driver. Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as job properties, since a + * collision may occur that causes an incorrect job submission. + */ + args?: string[]; + /** + * Optional. HCFS (Hadoop Compatible Filesystem) URIs of files to be copied to the working directory of Hadoop drivers and distributed tasks. Useful for + * naively parallel tasks. + */ + fileUris?: string[]; + /** Optional. Jar file URIs to add to the CLASSPATHs of the Hadoop driver and tasks. */ + jarFileUris?: string[]; + /** Optional. The runtime log config for job execution. */ + loggingConfig?: LoggingConfig; + /** The name of the driver's main class. The jar file containing the class must be in the default CLASSPATH or specified in jar_file_uris. */ + mainClass?: string; + /** + * The HCFS URI of the jar file containing the main class. Examples: 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar' + * 'hdfs:/tmp/test-samples/custom-wordcount.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar' + */ + mainJarFileUri?: string; + /** + * Optional. A mapping of property names to values, used to configure Hadoop. Properties that conflict with values set by the Cloud Dataproc API may be + * overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes in user code. + */ + properties?: Record<string, string>; + } + interface HiveJob { + /** + * Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent + * parallel queries. + */ + continueOnFailure?: boolean; + /** Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs. */ + jarFileUris?: string[]; + /** + * Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Cloud Dataproc API may be + * overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code. + */ + properties?: Record<string, string>; + /** The HCFS URI of the script that contains Hive queries. */ + queryFileUri?: string; + /** A list of queries. */ + queryList?: QueryList; + /** Optional. Mapping of query variable names to values (equivalent to the Hive command: SET name="value";). */ + scriptVariables?: Record<string, string>; + } + interface InstanceGroupConfig { + /** + * Optional. The Google Compute Engine accelerator configuration for these instances.Beta Feature: This feature is still under development. It may be + * changed before final release. + */ + accelerators?: AcceleratorConfig[]; + /** Optional. Disk option config settings. */ + diskConfig?: DiskConfig; + /** Output-only. The Google Compute Engine image resource used for cluster instances. Inferred from SoftwareConfig.image_version. */ + imageUri?: string; + /** + * Optional. The list of instance names. Cloud Dataproc derives the names from cluster_name, num_instances, and the instance group if not set by user + * (recommended practice is to let Cloud Dataproc derive the name). + */ + instanceNames?: string[]; + /** Optional. Specifies that this instance group contains preemptible instances. */ + isPreemptible?: boolean; + /** + * Optional. The Google Compute Engine machine type used for cluster instances.A full URL, partial URI, or short name are valid. Examples: + * https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2 + * projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2 + * n1-standard-2 + */ + machineTypeUri?: string; + /** Output-only. The config for Google Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups. */ + managedGroupConfig?: ManagedGroupConfig; + /** Optional. The number of VM instances in the instance group. For master instance groups, must be set to 1. */ + numInstances?: number; + } + interface Job { + /** + * Output-only. If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files + * may be placed in the same location as driver_output_uri. + */ + driverControlFilesUri?: string; + /** Output-only. A URI pointing to the location of the stdout of the job's driver program. */ + driverOutputResourceUri?: string; + /** Job is a Hadoop job. */ + hadoopJob?: HadoopJob; + /** Job is a Hive job. */ + hiveJob?: HiveJob; + /** + * Optional. The labels to associate with this job. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 + * (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 + * (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job. + */ + labels?: Record<string, string>; + /** Job is a Pig job. */ + pigJob?: PigJob; + /** Required. Job information, including how, when, and where to run the job. */ + placement?: JobPlacement; + /** Job is a Pyspark job. */ + pysparkJob?: PySparkJob; + /** + * Optional. The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not + * specified when a job is created, the server generates a <code>job_id</code>. + */ + reference?: JobReference; + /** Optional. Job scheduling configuration. */ + scheduling?: JobScheduling; + /** Job is a Spark job. */ + sparkJob?: SparkJob; + /** Job is a SparkSql job. */ + sparkSqlJob?: SparkSqlJob; + /** + * Output-only. The job status. Additional application-specific status information may be contained in the <code>type_job</code> and + * <code>yarn_applications</code> fields. + */ + status?: JobStatus; + /** Output-only. The previous job status. */ + statusHistory?: JobStatus[]; + /** + * Output-only. The collection of YARN applications spun up by this job.Beta Feature: This report is available for testing purposes only. It may be + * changed before final release. + */ + yarnApplications?: YarnApplication[]; + } + interface JobPlacement { + /** Required. The name of the cluster where the job will be submitted. */ + clusterName?: string; + /** Output-only. A cluster UUID generated by the Cloud Dataproc service when the job is submitted. */ + clusterUuid?: string; + } + interface JobReference { + /** + * Optional. The job ID, which must be unique within the project. The job ID is generated by the server upon job submission or provided by the user as a + * means to perform retries without creating duplicate jobs. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). + * The maximum length is 100 characters. + */ + jobId?: string; + /** Required. The ID of the Google Cloud Platform project that the job belongs to. */ + projectId?: string; + } + interface JobScheduling { + /** + * Optional. Maximum number of times per hour a driver may be restarted as a result of driver terminating with non-zero code before job is reported + * failed.A job may be reported as thrashing if driver exits with non-zero code 4 times within 10 minute window.Maximum value is 10. + */ + maxFailuresPerHour?: number; + } + interface JobStatus { + /** Output-only. Optional job state details, such as an error description if the state is <code>ERROR</code>. */ + details?: string; + /** Output-only. A state message specifying the overall job state. */ + state?: string; + /** Output-only. The time when this state was entered. */ + stateStartTime?: string; + /** Output-only. Additional state information, which includes status reported by the agent. */ + substate?: string; + } + interface ListClustersResponse { + /** Output-only. The clusters in the project. */ + clusters?: Cluster[]; + /** + * Output-only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the + * page_token in a subsequent ListClustersRequest. + */ + nextPageToken?: string; + } + interface ListJobsResponse { + /** Output-only. Jobs list. */ + jobs?: Job[]; + /** + * Optional. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token + * in a subsequent <code>ListJobsRequest</code>. + */ + nextPageToken?: string; + } + interface ListOperationsResponse { + /** The standard List next-page token. */ + nextPageToken?: string; + /** A list of operations that matches the specified filter in the request. */ + operations?: Operation[]; + } + interface LoggingConfig { + /** + * The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = + * INFO', 'org.apache = DEBUG' + */ + driverLogLevels?: Record<string, string>; + } + interface ManagedGroupConfig { + /** Output-only. The name of the Instance Group Manager for this group. */ + instanceGroupManagerName?: string; + /** Output-only. The name of the Instance Template used for the Managed Instance Group. */ + instanceTemplateName?: string; + } + interface NodeInitializationAction { + /** Required. Google Cloud Storage URI of executable file. */ + executableFile?: string; + /** + * Optional. Amount of time executable has to complete. Default is 10 minutes. Cluster creation fails with an explanatory error message (the name of the + * executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period. + */ + executionTimeout?: string; + } + interface Operation { + /** If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available. */ + done?: boolean; + /** The error result of the operation in case of failure or cancellation. */ + error?: Status; + /** + * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some + * services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. + */ + metadata?: Record<string, any>; + /** + * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should + * have the format of operations/some/unique/name. + */ + name?: string; + /** + * The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is + * google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response + * should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred + * response type is TakeSnapshotResponse. + */ + response?: Record<string, any>; + } + interface PigJob { + /** + * Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent + * parallel queries. + */ + continueOnFailure?: boolean; + /** Optional. HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs. */ + jarFileUris?: string[]; + /** Optional. The runtime log config for job execution. */ + loggingConfig?: LoggingConfig; + /** + * Optional. A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the Cloud Dataproc API may be + * overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code. + */ + properties?: Record<string, string>; + /** The HCFS URI of the script that contains the Pig queries. */ + queryFileUri?: string; + /** A list of queries. */ + queryList?: QueryList; + /** Optional. Mapping of query variable names to values (equivalent to the Pig command: name=[value]). */ + scriptVariables?: Record<string, string>; + } + interface PySparkJob { + /** Optional. HCFS URIs of archives to be extracted in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip. */ + archiveUris?: string[]; + /** + * Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur + * that causes an incorrect job submission. + */ + args?: string[]; + /** Optional. HCFS URIs of files to be copied to the working directory of Python drivers and distributed tasks. Useful for naively parallel tasks. */ + fileUris?: string[]; + /** Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks. */ + jarFileUris?: string[]; + /** Optional. The runtime log config for job execution. */ + loggingConfig?: LoggingConfig; + /** Required. The HCFS URI of the main Python file to use as the driver. Must be a .py file. */ + mainPythonFileUri?: string; + /** + * Optional. A mapping of property names to values, used to configure PySpark. Properties that conflict with values set by the Cloud Dataproc API may be + * overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code. + */ + properties?: Record<string, string>; + /** Optional. HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip. */ + pythonFileUris?: string[]; + } + interface QueryList { + /** + * Required. The queries to execute. You do not need to terminate a query with a semicolon. Multiple queries can be specified in one string by separating + * each with a semicolon. Here is an example of an Cloud Dataproc API snippet that uses a QueryList to specify a HiveJob: + * "hiveJob": { + * "queryList": { + * "queries": [ + * "query1", + * "query2", + * "query3;query4", + * ] + * } + * } + */ + queries?: string[]; + } + interface SoftwareConfig { + /** + * Optional. The version of software inside the cluster. It must match the regular expression [0-9]+\.[0-9]+. If unspecified, it defaults to the latest + * version (see Cloud Dataproc Versioning). + */ + imageVersion?: string; + /** + * Optional. The properties to set on daemon config files.Property keys are specified in prefix:property format, such as core:fs.defaultFS. The following + * are supported prefixes and their mappings: + * capacity-scheduler: capacity-scheduler.xml + * core: core-site.xml + * distcp: distcp-default.xml + * hdfs: hdfs-site.xml + * hive: hive-site.xml + * mapred: mapred-site.xml + * pig: pig.properties + * spark: spark-defaults.conf + * yarn: yarn-site.xmlFor more information, see Cluster properties. + */ + properties?: Record<string, string>; + } + interface SparkJob { + /** + * Optional. HCFS URIs of archives to be extracted in the working directory of Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, + * and .zip. + */ + archiveUris?: string[]; + /** + * Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur + * that causes an incorrect job submission. + */ + args?: string[]; + /** Optional. HCFS URIs of files to be copied to the working directory of Spark drivers and distributed tasks. Useful for naively parallel tasks. */ + fileUris?: string[]; + /** Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver and tasks. */ + jarFileUris?: string[]; + /** Optional. The runtime log config for job execution. */ + loggingConfig?: LoggingConfig; + /** The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris. */ + mainClass?: string; + /** The HCFS URI of the jar file that contains the main class. */ + mainJarFileUri?: string; + /** + * Optional. A mapping of property names to values, used to configure Spark. Properties that conflict with values set by the Cloud Dataproc API may be + * overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code. + */ + properties?: Record<string, string>; + } + interface SparkSqlJob { + /** Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH. */ + jarFileUris?: string[]; + /** Optional. The runtime log config for job execution. */ + loggingConfig?: LoggingConfig; + /** + * Optional. A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Cloud + * Dataproc API may be overwritten. + */ + properties?: Record<string, string>; + /** The HCFS URI of the script that contains SQL queries. */ + queryFileUri?: string; + /** A list of queries. */ + queryList?: QueryList; + /** Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET name="value";). */ + scriptVariables?: Record<string, string>; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface SubmitJobRequest { + /** Required. The job resource. */ + job?: Job; + } + interface YarnApplication { + /** Required. The application name. */ + name?: string; + /** Required. The numerical progress of the application, from 1 to 100. */ + progress?: number; + /** Required. The application state. */ + state?: string; + /** + * Optional. The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides application-specific information. The URL uses the + * internal hostname, and requires a proxy server for resolution and, possibly, access. + */ + trackingUrl?: string; + } + interface ClustersResource { + /** Creates a cluster in a project. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Required. The ID of the Google Cloud Platform project that the cluster belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required. The Cloud Dataproc region in which to handle the request. */ + region: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** Deletes a cluster in a project. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Required. The cluster name. */ + clusterName: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Required. The ID of the Google Cloud Platform project that the cluster belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required. The Cloud Dataproc region in which to handle the request. */ + region: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** Gets cluster diagnostic information. After the operation completes, the Operation.response field contains DiagnoseClusterOutputLocation. */ + diagnose(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Required. The cluster name. */ + clusterName: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Required. The ID of the Google Cloud Platform project that the cluster belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required. The Cloud Dataproc region in which to handle the request. */ + region: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** Gets the resource representation for a cluster in a project. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Required. The cluster name. */ + clusterName: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Required. The ID of the Google Cloud Platform project that the cluster belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required. The Cloud Dataproc region in which to handle the request. */ + region: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Cluster>; + /** Lists all regions/{region}/clusters in a project. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Optional. A filter constraining the clusters to list. Filters are case-sensitive and have the following syntax:field = value AND field = value ...where + * field is one of status.state, clusterName, or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be one of + * the following: ACTIVE, INACTIVE, CREATING, RUNNING, ERROR, DELETING, or UPDATING. ACTIVE contains the CREATING, UPDATING, and RUNNING states. INACTIVE + * contains the DELETING and ERROR states. clusterName is the name of the cluster provided at creation time. Only the logical AND operator is supported; + * space-separated items are treated as having an implicit AND operator.Example filter:status.state = ACTIVE AND clusterName = mycluster AND labels.env = + * staging AND labels.starred = * + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Optional. The standard List page size. */ + pageSize?: number; + /** Optional. The standard List page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Required. The ID of the Google Cloud Platform project that the cluster belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required. The Cloud Dataproc region in which to handle the request. */ + region: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListClustersResponse>; + /** Updates a cluster in a project. */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Required. The cluster name. */ + clusterName: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Required. The ID of the Google Cloud Platform project the cluster belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required. The Cloud Dataproc region in which to handle the request. */ + region: string; + /** + * Required. Specifies the path, relative to Cluster, of the field to update. For example, to change the number of workers in a cluster to 5, the + * update_mask parameter would be specified as config.worker_config.num_instances, and the PATCH request body would specify the new value, as follows: + * { + * "config":{ + * "workerConfig":{ + * "numInstances":"5" + * } + * } + * } + * Similarly, to change the number of preemptible workers in a cluster to 5, the update_mask parameter would be + * config.secondary_worker_config.num_instances, and the PATCH request body would be set as follows: + * { + * "config":{ + * "secondaryWorkerConfig":{ + * "numInstances":"5" + * } + * } + * } + * <strong>Note:</strong> Currently, only the following fields can be updated:<table> <tbody> <tr> <td><strong>Mask</strong></td> + * <td><strong>Purpose</strong></td> </tr> <tr> <td><strong><em>labels</em></strong></td> <td>Update labels</td> </tr> <tr> + * <td><strong><em>config.worker_config.num_instances</em></strong></td> <td>Resize primary worker group</td> </tr> <tr> + * <td><strong><em>config.secondary_worker_config.num_instances</em></strong></td> <td>Resize secondary worker group</td> </tr> </tbody> </table> + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + } + interface JobsResource { + /** Starts a job cancellation request. To access the job resource after cancellation, call regions/{region}/jobs.list or regions/{region}/jobs.get. */ + cancel(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Required. The job ID. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Required. The ID of the Google Cloud Platform project that the job belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required. The Cloud Dataproc region in which to handle the request. */ + region: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Job>; + /** Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Required. The job ID. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Required. The ID of the Google Cloud Platform project that the job belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required. The Cloud Dataproc region in which to handle the request. */ + region: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets the resource representation for a job in a project. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Required. The job ID. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Required. The ID of the Google Cloud Platform project that the job belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required. The Cloud Dataproc region in which to handle the request. */ + region: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Job>; + /** Lists regions/{region}/jobs in a project. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Optional. If set, the returned jobs list includes only jobs that were submitted to the named cluster. */ + clusterName?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Optional. A filter constraining the jobs to list. Filters are case-sensitive and have the following syntax:field = value AND field = value ...where + * field is status.state or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be either ACTIVE or INACTIVE. + * Only the logical AND operator is supported; space-separated items are treated as having an implicit AND operator.Example filter:status.state = ACTIVE + * AND labels.env = staging AND labels.starred = * + */ + filter?: string; + /** Optional. Specifies enumerated categories of jobs to list (default = match ALL jobs). */ + jobStateMatcher?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Optional. The number of results to return in each response. */ + pageSize?: number; + /** Optional. The page token, returned by a previous call, to request the next page of results. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Required. The ID of the Google Cloud Platform project that the job belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required. The Cloud Dataproc region in which to handle the request. */ + region: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListJobsResponse>; + /** Updates a job in a project. */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Required. The job ID. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Required. The ID of the Google Cloud Platform project that the job belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required. The Cloud Dataproc region in which to handle the request. */ + region: string; + /** + * Required. Specifies the path, relative to <code>Job</code>, of the field to update. For example, to update the labels of a Job the + * <code>update_mask</code> parameter would be specified as <code>labels</code>, and the PATCH request body would specify the new value. + * <strong>Note:</strong> Currently, <code>labels</code> is the only field that can be updated. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Job>; + /** Submits a job to a cluster. */ + submit(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Required. The ID of the Google Cloud Platform project that the job belongs to. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required. The Cloud Dataproc region in which to handle the request. */ + region: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Job>; + } + interface OperationsResource { + /** + * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If + * the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check + * whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; + * instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED. + */ + cancel(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be cancelled. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be deleted. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API + * service. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name + * binding allows API services to override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API + * services can add a binding such as "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name + * includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection + * id. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The standard list filter. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation's parent resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The standard list page size. */ + pageSize?: number; + /** The standard list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListOperationsResponse>; + } + interface RegionsResource { + clusters: ClustersResource; + jobs: JobsResource; + operations: OperationsResource; + } + interface ProjectsResource { + regions: RegionsResource; + } + } +} diff --git a/types/gapi.client.dataproc/readme.md b/types/gapi.client.dataproc/readme.md new file mode 100644 index 0000000000..1688149759 --- /dev/null +++ b/types/gapi.client.dataproc/readme.md @@ -0,0 +1,54 @@ +# TypeScript typings for Google Cloud Dataproc API v1 +Manages Hadoop-based clusters and jobs on Google Cloud Platform. +For detailed description please check [documentation](https://cloud.google.com/dataproc/). + +## Installing + +Install typings for Google Cloud Dataproc API: +``` +npm install @types/gapi.client.dataproc@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('dataproc', 'v1', () => { + // now we can use gapi.client.dataproc + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Cloud Dataproc API resources: + +```typescript +``` \ No newline at end of file diff --git a/types/gapi.client.dataproc/tsconfig.json b/types/gapi.client.dataproc/tsconfig.json new file mode 100644 index 0000000000..83a765706a --- /dev/null +++ b/types/gapi.client.dataproc/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.dataproc-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.dataproc/tslint.json b/types/gapi.client.dataproc/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.dataproc/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.datastore/gapi.client.datastore-tests.ts b/types/gapi.client.datastore/gapi.client.datastore-tests.ts new file mode 100644 index 0000000000..ce0840ae65 --- /dev/null +++ b/types/gapi.client.datastore/gapi.client.datastore-tests.ts @@ -0,0 +1,64 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('datastore', 'v1', () => { + /** now we can use gapi.client.datastore */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View and manage your Google Cloud Datastore data */ + 'https://www.googleapis.com/auth/datastore', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Allocates IDs for the given keys, which is useful for referencing an entity + * before it is inserted. + */ + await gapi.client.projects.allocateIds({ + projectId: "projectId", + }); + /** Begins a new transaction. */ + await gapi.client.projects.beginTransaction({ + projectId: "projectId", + }); + /** + * Commits a transaction, optionally creating, deleting or modifying some + * entities. + */ + await gapi.client.projects.commit({ + projectId: "projectId", + }); + /** Looks up entities by key. */ + await gapi.client.projects.lookup({ + projectId: "projectId", + }); + /** Rolls back a transaction. */ + await gapi.client.projects.rollback({ + projectId: "projectId", + }); + /** Queries for entities. */ + await gapi.client.projects.runQuery({ + projectId: "projectId", + }); + } +}); diff --git a/types/gapi.client.datastore/index.d.ts b/types/gapi.client.datastore/index.d.ts new file mode 100644 index 0000000000..83c124ce52 --- /dev/null +++ b/types/gapi.client.datastore/index.d.ts @@ -0,0 +1,1027 @@ +// Type definitions for Google Google Cloud Datastore API v1 1.0 +// Project: https://cloud.google.com/datastore/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://datastore.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Cloud Datastore API v1 */ + function load(name: "datastore", version: "v1"): PromiseLike<void>; + function load(name: "datastore", version: "v1", callback: () => any): void; + + const projects: datastore.ProjectsResource; + + namespace datastore { + interface AllocateIdsRequest { + /** + * A list of keys with incomplete key paths for which to allocate IDs. + * No key may be reserved/read-only. + */ + keys?: Key[]; + } + interface AllocateIdsResponse { + /** + * The keys specified in the request (in the same order), each with + * its key path completed with a newly allocated ID. + */ + keys?: Key[]; + } + interface ArrayValue { + /** + * Values in the array. + * The order of this array may not be preserved if it contains a mix of + * indexed and unindexed values. + */ + values?: Value[]; + } + interface BeginTransactionRequest { + /** Options for a new transaction. */ + transactionOptions?: TransactionOptions; + } + interface BeginTransactionResponse { + /** The transaction identifier (always present). */ + transaction?: string; + } + interface CommitRequest { + /** The type of commit to perform. Defaults to `TRANSACTIONAL`. */ + mode?: string; + /** + * The mutations to perform. + * + * When mode is `TRANSACTIONAL`, mutations affecting a single entity are + * applied in order. The following sequences of mutations affecting a single + * entity are not permitted in a single `Commit` request: + * + * - `insert` followed by `insert` + * - `update` followed by `insert` + * - `upsert` followed by `insert` + * - `delete` followed by `update` + * + * When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single + * entity. + */ + mutations?: Mutation[]; + /** + * The identifier of the transaction associated with the commit. A + * transaction identifier is returned by a call to + * Datastore.BeginTransaction. + */ + transaction?: string; + } + interface CommitResponse { + /** + * The number of index entries updated during the commit, or zero if none were + * updated. + */ + indexUpdates?: number; + /** + * The result of performing the mutations. + * The i-th mutation result corresponds to the i-th mutation in the request. + */ + mutationResults?: MutationResult[]; + } + interface CompositeFilter { + /** + * The list of filters to combine. + * Must contain at least one filter. + */ + filters?: Filter[]; + /** The operator for combining multiple filters. */ + op?: string; + } + interface Entity { + /** + * The entity's key. + * + * An entity must have a key, unless otherwise documented (for example, + * an entity in `Value.entity_value` may have no key). + * An entity's kind is its key path's last element's kind, + * or null if it has no key. + */ + key?: Key; + /** + * The entity's properties. + * The map's keys are property names. + * A property name matching regex `__.*__` is reserved. + * A reserved property name is forbidden in certain documented contexts. + * The name must not contain more than 500 characters. + * The name cannot be `""`. + */ + properties?: Record<string, Value>; + } + interface EntityResult { + /** + * A cursor that points to the position after the result entity. + * Set only when the `EntityResult` is part of a `QueryResultBatch` message. + */ + cursor?: string; + /** The resulting entity. */ + entity?: Entity; + /** + * The version of the entity, a strictly positive number that monotonically + * increases with changes to the entity. + * + * This field is set for `FULL` entity + * results. + * + * For missing entities in `LookupResponse`, this + * is the version of the snapshot that was used to look up the entity, and it + * is always set except for eventually consistent reads. + */ + version?: string; + } + interface Filter { + /** A composite filter. */ + compositeFilter?: CompositeFilter; + /** A filter on a property. */ + propertyFilter?: PropertyFilter; + } + interface GoogleDatastoreAdminV1beta1CommonMetadata { + /** The time the operation ended, either successfully or otherwise. */ + endTime?: string; + /** + * The client-assigned labels which were provided when the operation was + * created. May also include additional labels. + */ + labels?: Record<string, string>; + /** + * The type of the operation. Can be used as a filter in + * ListOperationsRequest. + */ + operationType?: string; + /** The time that work began on the operation. */ + startTime?: string; + /** The current state of the Operation. */ + state?: string; + } + interface GoogleDatastoreAdminV1beta1EntityFilter { + /** If empty, then this represents all kinds. */ + kinds?: string[]; + /** + * An empty list represents all namespaces. This is the preferred + * usage for projects that don't use namespaces. + * + * An empty string element represents the default namespace. This should be + * used if the project has data in non-default namespaces, but doesn't want to + * include them. + * Each namespace in this list must be unique. + */ + namespaceIds?: string[]; + } + interface GoogleDatastoreAdminV1beta1ExportEntitiesMetadata { + /** Metadata common to all Datastore Admin operations. */ + common?: GoogleDatastoreAdminV1beta1CommonMetadata; + /** Description of which entities are being exported. */ + entityFilter?: GoogleDatastoreAdminV1beta1EntityFilter; + /** + * Location for the export metadata and data files. This will be the same + * value as the + * google.datastore.admin.v1beta1.ExportEntitiesRequest.output_url_prefix + * field. The final output location is provided in + * google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url. + */ + outputUrlPrefix?: string; + /** An estimate of the number of bytes processed. */ + progressBytes?: GoogleDatastoreAdminV1beta1Progress; + /** An estimate of the number of entities processed. */ + progressEntities?: GoogleDatastoreAdminV1beta1Progress; + } + interface GoogleDatastoreAdminV1beta1ExportEntitiesResponse { + /** + * Location of the output metadata file. This can be used to begin an import + * into Cloud Datastore (this project or another project). See + * google.datastore.admin.v1beta1.ImportEntitiesRequest.input_url. + * Only present if the operation completed successfully. + */ + outputUrl?: string; + } + interface GoogleDatastoreAdminV1beta1ImportEntitiesMetadata { + /** Metadata common to all Datastore Admin operations. */ + common?: GoogleDatastoreAdminV1beta1CommonMetadata; + /** Description of which entities are being imported. */ + entityFilter?: GoogleDatastoreAdminV1beta1EntityFilter; + /** + * The location of the import metadata file. This will be the same value as + * the google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url + * field. + */ + inputUrl?: string; + /** An estimate of the number of bytes processed. */ + progressBytes?: GoogleDatastoreAdminV1beta1Progress; + /** An estimate of the number of entities processed. */ + progressEntities?: GoogleDatastoreAdminV1beta1Progress; + } + interface GoogleDatastoreAdminV1beta1Progress { + /** + * The amount of work that has been completed. Note that this may be greater + * than work_estimated. + */ + workCompleted?: string; + /** + * An estimate of how much work needs to be performed. May be zero if the + * work estimate is unavailable. + */ + workEstimated?: string; + } + interface GoogleLongrunningListOperationsResponse { + /** The standard List next-page token. */ + nextPageToken?: string; + /** A list of operations that matches the specified filter in the request. */ + operations?: GoogleLongrunningOperation[]; + } + interface GoogleLongrunningOperation { + /** + * If the value is `false`, it means the operation is still in progress. + * If `true`, the operation is completed, and either `error` or `response` is + * available. + */ + done?: boolean; + /** The error result of the operation in case of failure or cancellation. */ + error?: Status; + /** + * Service-specific metadata associated with the operation. It typically + * contains progress information and common metadata such as create time. + * Some services might not provide such metadata. Any method that returns a + * long-running operation should document the metadata type, if any. + */ + metadata?: Record<string, any>; + /** + * The server-assigned name, which is only unique within the same service that + * originally returns it. If you use the default HTTP mapping, the + * `name` should have the format of `operations/some/unique/name`. + */ + name?: string; + /** + * The normal response of the operation in case of success. If the original + * method returns no data on success, such as `Delete`, the response is + * `google.protobuf.Empty`. If the original method is standard + * `Get`/`Create`/`Update`, the response should be the resource. For other + * methods, the response should have the type `XxxResponse`, where `Xxx` + * is the original method name. For example, if the original method name + * is `TakeSnapshot()`, the inferred response type is + * `TakeSnapshotResponse`. + */ + response?: Record<string, any>; + } + interface GqlQuery { + /** + * When false, the query string must not contain any literals and instead must + * bind all values. For example, + * `SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while + * `SELECT * FROM Kind WHERE a = @value` is. + */ + allowLiterals?: boolean; + /** + * For each non-reserved named binding site in the query string, there must be + * a named parameter with that name, but not necessarily the inverse. + * + * Key must match regex `A-Za-z_$*`, must not match regex + * `__.*__`, and must not be `""`. + */ + namedBindings?: Record<string, GqlQueryParameter>; + /** + * Numbered binding site @1 references the first numbered parameter, + * effectively using 1-based indexing, rather than the usual 0. + * + * For each binding site numbered i in `query_string`, there must be an i-th + * numbered parameter. The inverse must also be true. + */ + positionalBindings?: GqlQueryParameter[]; + /** + * A string of the format described + * [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). + */ + queryString?: string; + } + interface GqlQueryParameter { + /** + * A query cursor. Query cursors are returned in query + * result batches. + */ + cursor?: string; + /** A value parameter. */ + value?: Value; + } + interface Key { + /** + * Entities are partitioned into subsets, currently identified by a project + * ID and namespace ID. + * Queries are scoped to a single partition. + */ + partitionId?: PartitionId; + /** + * The entity path. + * An entity path consists of one or more elements composed of a kind and a + * string or numerical identifier, which identify entities. The first + * element identifies a _root entity_, the second element identifies + * a _child_ of the root entity, the third element identifies a child of the + * second entity, and so forth. The entities identified by all prefixes of + * the path are called the element's _ancestors_. + * + * An entity path is always fully complete: *all* of the entity's ancestors + * are required to be in the path along with the entity identifier itself. + * The only exception is that in some documented cases, the identifier in the + * last path element (for the entity) itself may be omitted. For example, + * the last path element of the key of `Mutation.insert` may have no + * identifier. + * + * A path can never be empty, and a path can have at most 100 elements. + */ + path?: PathElement[]; + } + interface KindExpression { + /** The name of the kind. */ + name?: string; + } + interface LatLng { + /** The latitude in degrees. It must be in the range [-90.0, +90.0]. */ + latitude?: number; + /** The longitude in degrees. It must be in the range [-180.0, +180.0]. */ + longitude?: number; + } + interface LookupRequest { + /** Keys of entities to look up. */ + keys?: Key[]; + /** The options for this lookup request. */ + readOptions?: ReadOptions; + } + interface LookupResponse { + /** + * A list of keys that were not looked up due to resource constraints. The + * order of results in this field is undefined and has no relation to the + * order of the keys in the input. + */ + deferred?: Key[]; + /** + * Entities found as `ResultType.FULL` entities. The order of results in this + * field is undefined and has no relation to the order of the keys in the + * input. + */ + found?: EntityResult[]; + /** + * Entities not found as `ResultType.KEY_ONLY` entities. The order of results + * in this field is undefined and has no relation to the order of the keys + * in the input. + */ + missing?: EntityResult[]; + } + interface Mutation { + /** + * The version of the entity that this mutation is being applied to. If this + * does not match the current version on the server, the mutation conflicts. + */ + baseVersion?: string; + /** + * The key of the entity to delete. The entity may or may not already exist. + * Must have a complete key path and must not be reserved/read-only. + */ + delete?: Key; + /** + * The entity to insert. The entity must not already exist. + * The entity key's final path element may be incomplete. + */ + insert?: Entity; + /** + * The entity to update. The entity must already exist. + * Must have a complete key path. + */ + update?: Entity; + /** + * The entity to upsert. The entity may or may not already exist. + * The entity key's final path element may be incomplete. + */ + upsert?: Entity; + } + interface MutationResult { + /** + * Whether a conflict was detected for this mutation. Always false when a + * conflict detection strategy field is not set in the mutation. + */ + conflictDetected?: boolean; + /** + * The automatically allocated key. + * Set only when the mutation allocated a key. + */ + key?: Key; + /** + * The version of the entity on the server after processing the mutation. If + * the mutation doesn't change anything on the server, then the version will + * be the version of the current entity or, if no entity is present, a version + * that is strictly greater than the version of any previous entity and less + * than the version of any possible future entity. + */ + version?: string; + } + interface PartitionId { + /** If not empty, the ID of the namespace to which the entities belong. */ + namespaceId?: string; + /** The ID of the project to which the entities belong. */ + projectId?: string; + } + interface PathElement { + /** + * The auto-allocated ID of the entity. + * Never equal to zero. Values less than zero are discouraged and may not + * be supported in the future. + */ + id?: string; + /** + * The kind of the entity. + * A kind matching regex `__.*__` is reserved/read-only. + * A kind must not contain more than 1500 bytes when UTF-8 encoded. + * Cannot be `""`. + */ + kind?: string; + /** + * The name of the entity. + * A name matching regex `__.*__` is reserved/read-only. + * A name must not be more than 1500 bytes when UTF-8 encoded. + * Cannot be `""`. + */ + name?: string; + } + interface Projection { + /** The property to project. */ + property?: PropertyReference; + } + interface PropertyFilter { + /** The operator to filter by. */ + op?: string; + /** The property to filter by. */ + property?: PropertyReference; + /** The value to compare the property to. */ + value?: Value; + } + interface PropertyOrder { + /** The direction to order by. Defaults to `ASCENDING`. */ + direction?: string; + /** The property to order by. */ + property?: PropertyReference; + } + interface PropertyReference { + /** + * The name of the property. + * If name includes "."s, it may be interpreted as a property name path. + */ + name?: string; + } + interface Query { + /** + * The properties to make distinct. The query results will contain the first + * result for each distinct combination of values for the given properties + * (if empty, all results are returned). + */ + distinctOn?: PropertyReference[]; + /** + * An ending point for the query results. Query cursors are + * returned in query result batches and + * [can only be used to limit the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets). + */ + endCursor?: string; + /** The filter to apply. */ + filter?: Filter; + /** + * The kinds to query (if empty, returns entities of all kinds). + * Currently at most 1 kind may be specified. + */ + kind?: KindExpression[]; + /** + * The maximum number of results to return. Applies after all other + * constraints. Optional. + * Unspecified is interpreted as no limit. + * Must be >= 0 if specified. + */ + limit?: number; + /** + * The number of results to skip. Applies before limit, but after all other + * constraints. Optional. Must be >= 0 if specified. + */ + offset?: number; + /** The order to apply to the query results (if empty, order is unspecified). */ + order?: PropertyOrder[]; + /** The projection to return. Defaults to returning all properties. */ + projection?: Projection[]; + /** + * A starting point for the query results. Query cursors are + * returned in query result batches and + * [can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets). + */ + startCursor?: string; + } + interface QueryResultBatch { + /** A cursor that points to the position after the last result in the batch. */ + endCursor?: string; + /** The result type for every entity in `entity_results`. */ + entityResultType?: string; + /** The results for this batch. */ + entityResults?: EntityResult[]; + /** The state of the query after the current batch. */ + moreResults?: string; + /** + * A cursor that points to the position after the last skipped result. + * Will be set when `skipped_results` != 0. + */ + skippedCursor?: string; + /** The number of results skipped, typically because of an offset. */ + skippedResults?: number; + /** + * The version number of the snapshot this batch was returned from. + * This applies to the range of results from the query's `start_cursor` (or + * the beginning of the query if no cursor was given) to this batch's + * `end_cursor` (not the query's `end_cursor`). + * + * In a single transaction, subsequent query result batches for the same query + * can have a greater snapshot version number. Each batch's snapshot version + * is valid for all preceding batches. + * The value will be zero for eventually consistent queries. + */ + snapshotVersion?: string; + } + interface ReadOptions { + /** + * The non-transactional read consistency to use. + * Cannot be set to `STRONG` for global queries. + */ + readConsistency?: string; + /** + * The identifier of the transaction in which to read. A + * transaction identifier is returned by a call to + * Datastore.BeginTransaction. + */ + transaction?: string; + } + interface ReadWrite { + /** The transaction identifier of the transaction being retried. */ + previousTransaction?: string; + } + interface RollbackRequest { + /** + * The transaction identifier, returned by a call to + * Datastore.BeginTransaction. + */ + transaction?: string; + } + interface RunQueryRequest { + /** The GQL query to run. */ + gqlQuery?: GqlQuery; + /** + * Entities are partitioned into subsets, identified by a partition ID. + * Queries are scoped to a single partition. + * This partition ID is normalized with the standard default context + * partition ID. + */ + partitionId?: PartitionId; + /** The query to run. */ + query?: Query; + /** The options for this query. */ + readOptions?: ReadOptions; + } + interface RunQueryResponse { + /** A batch of query results (always present). */ + batch?: QueryResultBatch; + /** The parsed form of the `GqlQuery` from the request, if it was set. */ + query?: Query; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface TransactionOptions { + /** The transaction should only allow reads. */ + readOnly?: any; + /** The transaction should allow both reads and writes. */ + readWrite?: ReadWrite; + } + interface Value { + /** + * An array value. + * Cannot contain another array value. + * A `Value` instance that sets field `array_value` must not set fields + * `meaning` or `exclude_from_indexes`. + */ + arrayValue?: ArrayValue; + /** + * A blob value. + * May have at most 1,000,000 bytes. + * When `exclude_from_indexes` is false, may have at most 1500 bytes. + * In JSON requests, must be base64-encoded. + */ + blobValue?: string; + /** A boolean value. */ + booleanValue?: boolean; + /** A double value. */ + doubleValue?: number; + /** + * An entity value. + * + * - May have no key. + * - May have a key with an incomplete key path. + * - May have a reserved/read-only key. + */ + entityValue?: Entity; + /** + * If the value should be excluded from all indexes including those defined + * explicitly. + */ + excludeFromIndexes?: boolean; + /** A geo point value representing a point on the surface of Earth. */ + geoPointValue?: LatLng; + /** An integer value. */ + integerValue?: string; + /** A key value. */ + keyValue?: Key; + /** The `meaning` field should only be populated for backwards compatibility. */ + meaning?: number; + /** A null value. */ + nullValue?: string; + /** + * A UTF-8 encoded string value. + * When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes. + * Otherwise, may be set to at least 1,000,000 bytes. + */ + stringValue?: string; + /** + * A timestamp value. + * When stored in the Datastore, precise only to microseconds; + * any additional precision is rounded down. + */ + timestampValue?: string; + } + interface OperationsResource { + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not + * guaranteed. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use + * Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, + * the operation is not deleted; instead, it becomes an operation with + * an Operation.error value with a google.rpc.Status.code of 1, + * corresponding to `Code.CANCELLED`. + */ + cancel(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be cancelled. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be deleted. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleLongrunningOperation>; + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding allows API services to override the binding + * to use different resource name schemes, such as `users/*/operations`. To + * override the binding, API services can add a binding such as + * `"/v1/{name=users/*}/operations"` to their service configuration. + * For backwards compatibility, the default name includes the operations + * collection id, however overriding users must ensure the name binding + * is the parent resource, without the operations collection id. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The standard list filter. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation's parent resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The standard list page size. */ + pageSize?: number; + /** The standard list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleLongrunningListOperationsResponse>; + } + interface ProjectsResource { + /** + * Allocates IDs for the given keys, which is useful for referencing an entity + * before it is inserted. + */ + allocateIds(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the project against which to make the request. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<AllocateIdsResponse>; + /** Begins a new transaction. */ + beginTransaction(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the project against which to make the request. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<BeginTransactionResponse>; + /** + * Commits a transaction, optionally creating, deleting or modifying some + * entities. + */ + commit(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the project against which to make the request. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CommitResponse>; + /** Looks up entities by key. */ + lookup(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the project against which to make the request. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LookupResponse>; + /** Rolls back a transaction. */ + rollback(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the project against which to make the request. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Queries for entities. */ + runQuery(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the project against which to make the request. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<RunQueryResponse>; + operations: OperationsResource; + } + } +} diff --git a/types/gapi.client.datastore/readme.md b/types/gapi.client.datastore/readme.md new file mode 100644 index 0000000000..4a9a9bff5d --- /dev/null +++ b/types/gapi.client.datastore/readme.md @@ -0,0 +1,90 @@ +# TypeScript typings for Google Cloud Datastore API v1 +Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application. + +For detailed description please check [documentation](https://cloud.google.com/datastore/). + +## Installing + +Install typings for Google Cloud Datastore API: +``` +npm install @types/gapi.client.datastore@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('datastore', 'v1', () => { + // now we can use gapi.client.datastore + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View and manage your Google Cloud Datastore data + 'https://www.googleapis.com/auth/datastore', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Cloud Datastore API resources: + +```typescript + +/* +Allocates IDs for the given keys, which is useful for referencing an entity +before it is inserted. +*/ +await gapi.client.projects.allocateIds({ projectId: "projectId", }); + +/* +Begins a new transaction. +*/ +await gapi.client.projects.beginTransaction({ projectId: "projectId", }); + +/* +Commits a transaction, optionally creating, deleting or modifying some +entities. +*/ +await gapi.client.projects.commit({ projectId: "projectId", }); + +/* +Looks up entities by key. +*/ +await gapi.client.projects.lookup({ projectId: "projectId", }); + +/* +Rolls back a transaction. +*/ +await gapi.client.projects.rollback({ projectId: "projectId", }); + +/* +Queries for entities. +*/ +await gapi.client.projects.runQuery({ projectId: "projectId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.datastore/tsconfig.json b/types/gapi.client.datastore/tsconfig.json new file mode 100644 index 0000000000..a84cddd73f --- /dev/null +++ b/types/gapi.client.datastore/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.datastore-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.datastore/tslint.json b/types/gapi.client.datastore/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.datastore/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.deploymentmanager/gapi.client.deploymentmanager-tests.ts b/types/gapi.client.deploymentmanager/gapi.client.deploymentmanager-tests.ts new file mode 100644 index 0000000000..e15cf3611e --- /dev/null +++ b/types/gapi.client.deploymentmanager/gapi.client.deploymentmanager-tests.ts @@ -0,0 +1,154 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('deploymentmanager', 'v2', () => { + /** now we can use gapi.client.deploymentmanager */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform.read-only', + /** View and manage your Google Cloud Platform management resources and deployment status information */ + 'https://www.googleapis.com/auth/ndev.cloudman', + /** View your Google Cloud Platform management resources and deployment status information */ + 'https://www.googleapis.com/auth/ndev.cloudman.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Cancels and removes the preview currently associated with the deployment. */ + await gapi.client.deployments.cancelPreview({ + deployment: "deployment", + project: "project", + }); + /** Deletes a deployment and all of the resources in the deployment. */ + await gapi.client.deployments.delete({ + deletePolicy: "deletePolicy", + deployment: "deployment", + project: "project", + }); + /** Gets information about a specific deployment. */ + await gapi.client.deployments.get({ + deployment: "deployment", + project: "project", + }); + /** Gets the access control policy for a resource. May be empty if no such policy or resource exists. */ + await gapi.client.deployments.getIamPolicy({ + project: "project", + resource: "resource", + }); + /** Creates a deployment and all of the resources described by the deployment manifest. */ + await gapi.client.deployments.insert({ + preview: true, + project: "project", + }); + /** Lists all deployments for a given project. */ + await gapi.client.deployments.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Updates a deployment and all of the resources described by the deployment manifest. This method supports patch semantics. */ + await gapi.client.deployments.patch({ + createPolicy: "createPolicy", + deletePolicy: "deletePolicy", + deployment: "deployment", + preview: true, + project: "project", + }); + /** Sets the access control policy on the specified resource. Replaces any existing policy. */ + await gapi.client.deployments.setIamPolicy({ + project: "project", + resource: "resource", + }); + /** Stops an ongoing operation. This does not roll back any work that has already been completed, but prevents any new work from being started. */ + await gapi.client.deployments.stop({ + deployment: "deployment", + project: "project", + }); + /** Returns permissions that a caller has on the specified resource. */ + await gapi.client.deployments.testIamPermissions({ + project: "project", + resource: "resource", + }); + /** Updates a deployment and all of the resources described by the deployment manifest. */ + await gapi.client.deployments.update({ + createPolicy: "createPolicy", + deletePolicy: "deletePolicy", + deployment: "deployment", + preview: true, + project: "project", + }); + /** Gets information about a specific manifest. */ + await gapi.client.manifests.get({ + deployment: "deployment", + manifest: "manifest", + project: "project", + }); + /** Lists all manifests for a given deployment. */ + await gapi.client.manifests.list({ + deployment: "deployment", + filter: "filter", + maxResults: 3, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Gets information about a specific operation. */ + await gapi.client.operations.get({ + operation: "operation", + project: "project", + }); + /** Lists all operations for a project. */ + await gapi.client.operations.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Gets information about a single resource. */ + await gapi.client.resources.get({ + deployment: "deployment", + project: "project", + resource: "resource", + }); + /** Lists all resources in a given deployment. */ + await gapi.client.resources.list({ + deployment: "deployment", + filter: "filter", + maxResults: 3, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + /** Lists all resource types for Deployment Manager. */ + await gapi.client.types.list({ + filter: "filter", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + project: "project", + }); + } +}); diff --git a/types/gapi.client.deploymentmanager/index.d.ts b/types/gapi.client.deploymentmanager/index.d.ts new file mode 100644 index 0000000000..2528111b57 --- /dev/null +++ b/types/gapi.client.deploymentmanager/index.d.ts @@ -0,0 +1,1175 @@ +// Type definitions for Google Google Cloud Deployment Manager API v2 2.0 +// Project: https://cloud.google.com/deployment-manager/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/deploymentmanager/v2/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Cloud Deployment Manager API v2 */ + function load(name: "deploymentmanager", version: "v2"): PromiseLike<void>; + function load(name: "deploymentmanager", version: "v2", callback: () => any): void; + + const deployments: deploymentmanager.DeploymentsResource; + + const manifests: deploymentmanager.ManifestsResource; + + const operations: deploymentmanager.OperationsResource; + + const resources: deploymentmanager.ResourcesResource; + + const types: deploymentmanager.TypesResource; + + namespace deploymentmanager { + interface AuditConfig { + /** The configuration for logging of each type of permission. */ + auditLogConfigs?: AuditLogConfig[]; + exemptedMembers?: string[]; + /** + * Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a + * special value that covers all services. + */ + service?: string; + } + interface AuditLogConfig { + /** Specifies the identities that do not cause logging for this type of permission. Follows the same format of [Binding.members][]. */ + exemptedMembers?: string[]; + /** The log type that this config enables. */ + logType?: string; + } + interface AuthorizationLoggingOptions { + /** The type of the permission that was checked. */ + permissionType?: string; + } + interface Binding { + /** + * The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, + * including their conditions, are examined independently. This field is GOOGLE_INTERNAL. + */ + condition?: Expr; + /** + * Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: + * + * * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. + * + * * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. + * + * * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`. + * + * + * + * * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. + * + * * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. + * + * + * + * * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`. + */ + members?: string[]; + /** Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */ + role?: string; + } + interface Condition { + /** Trusted attributes supplied by the IAM system. */ + iam?: string; + /** An operator to apply the subject with. */ + op?: string; + /** Trusted attributes discharged by the service. */ + svc?: string; + /** Trusted attributes supplied by any service that owns resources and uses the IAM system for access control. */ + sys?: string; + /** DEPRECATED. Use 'values' instead. */ + value?: string; + /** The objects of the condition. This is mutually exclusive with 'value'. */ + values?: string[]; + } + interface ConfigFile { + /** The contents of the file. */ + content?: string; + } + interface Deployment { + /** An optional user-provided description of the deployment. */ + description?: string; + /** + * Provides a fingerprint to use in requests to modify a deployment, such as update(), stop(), and cancelPreview() requests. A fingerprint is a randomly + * generated value that must be provided with update(), stop(), and cancelPreview() requests to perform optimistic locking. This ensures optimistic + * concurrency so that only one request happens at a time. + * + * The fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, + * perform a get() request to a deployment. + */ + fingerprint?: string; + /** Output only. Unique identifier for the resource; defined by the server. */ + id?: string; + /** Output only. Timestamp when the deployment was created, in RFC3339 text format . */ + insertTime?: string; + /** + * Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and + * must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to + * the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)? + */ + labels?: DeploymentLabelEntry[]; + /** Output only. URL of the manifest representing the last manifest that was successfully deployed. */ + manifest?: string; + /** + * Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + * Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be + * a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + */ + name?: string; + /** Output only. The Operation that most recently ran, or is currently running, on this deployment. */ + operation?: Operation; + /** Output only. Self link for the deployment. */ + selfLink?: string; + /** [Input Only] The parameters that define your deployment, including the deployment configuration and relevant templates. */ + target?: TargetConfiguration; + /** Output only. If Deployment Manager is currently updating or previewing an update to this deployment, the updated configuration appears here. */ + update?: DeploymentUpdate; + } + interface DeploymentLabelEntry { + key?: string; + value?: string; + } + interface DeploymentUpdate { + /** Output only. An optional user-provided description of the deployment after the current update has been applied. */ + description?: string; + /** + * Output only. Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 + * characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long + * and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)? + */ + labels?: DeploymentUpdateLabelEntry[]; + /** Output only. URL of the manifest representing the update configuration of this deployment. */ + manifest?: string; + } + interface DeploymentUpdateLabelEntry { + key?: string; + value?: string; + } + interface DeploymentsCancelPreviewRequest { + /** + * Specifies a fingerprint for cancelPreview() requests. A fingerprint is a randomly generated value that must be provided in cancelPreview() requests to + * perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to + * make a new update request while another user attempts to cancel a preview, this would prevent one of the requests). + * + * The fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint + * value, perform a get() request on the deployment. + */ + fingerprint?: string; + } + interface DeploymentsListResponse { + /** Output only. The deployments contained in this response. */ + deployments?: Deployment[]; + /** Output only. A token used to continue a truncated list request. */ + nextPageToken?: string; + } + interface DeploymentsStopRequest { + /** + * Specifies a fingerprint for stop() requests. A fingerprint is a randomly generated value that must be provided in stop() requests to perform optimistic + * locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update + * request while another user attempts to stop an ongoing update request, this would prevent a collision). + * + * The fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint + * value, perform a get() request on the deployment. + */ + fingerprint?: string; + } + interface Expr { + /** An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */ + description?: string; + /** + * Textual representation of an expression in Common Expression Language syntax. + * + * The application context of the containing message determines which well-known feature set of CEL is supported. + */ + expression?: string; + /** An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */ + location?: string; + /** An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */ + title?: string; + } + interface ImportFile { + /** The contents of the file. */ + content?: string; + /** The name of the file. */ + name?: string; + } + interface LogConfig { + /** Cloud audit options. */ + cloudAudit?: LogConfigCloudAuditOptions; + /** Counter options. */ + counter?: LogConfigCounterOptions; + /** Data access options. */ + dataAccess?: LogConfigDataAccessOptions; + } + interface LogConfigCloudAuditOptions { + /** Information used by the Cloud Audit Logging pipeline. */ + authorizationLoggingOptions?: AuthorizationLoggingOptions; + /** The log_name to populate in the Cloud Audit Record. */ + logName?: string; + } + interface LogConfigCounterOptions { + /** The field value to attribute. */ + field?: string; + /** The metric to update. */ + metric?: string; + } + interface LogConfigDataAccessOptions { + /** Whether Gin logging should happen in a fail-closed manner at the caller. This is relevant only in the LocalIAM implementation, for now. */ + logMode?: string; + } + interface Manifest { + /** Output only. The YAML configuration for this manifest. */ + config?: ConfigFile; + /** Output only. The fully-expanded configuration file, including any templates and references. */ + expandedConfig?: string; + /** Output only. Unique identifier for the resource; defined by the server. */ + id?: string; + /** Output only. The imported files for this manifest. */ + imports?: ImportFile[]; + /** Output only. Timestamp when the manifest was created, in RFC3339 text format. */ + insertTime?: string; + /** Output only. The YAML layout for this manifest. */ + layout?: string; + /** + * Output only. + * + * The name of the manifest. + */ + name?: string; + /** Output only. Self link for the manifest. */ + selfLink?: string; + } + interface ManifestsListResponse { + /** Output only. Manifests contained in this list response. */ + manifests?: Manifest[]; + /** Output only. A token used to continue a truncated list request. */ + nextPageToken?: string; + } + interface Operation { + /** [Output Only] Reserved for future use. */ + clientOperationId?: string; + /** [Deprecated] This field is deprecated. */ + creationTimestamp?: string; + /** [Output Only] A textual description of the operation, which is set when the operation is created. */ + description?: string; + /** [Output Only] The time that this operation was completed. This value is in RFC3339 text format. */ + endTime?: string; + /** [Output Only] If errors are generated during processing of the operation, this field will be populated. */ + error?: { + /** [Output Only] The array of errors encountered while processing this operation. */ + errors?: Array<{ + /** [Output Only] The error type identifier for this error. */ + code?: string; + /** [Output Only] Indicates the field in the request that caused the error. This property is optional. */ + location?: string; + /** [Output Only] An optional, human-readable error message. */ + message?: string; + }>; + }; + /** [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND. */ + httpErrorMessage?: string; + /** + * [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not + * found. + */ + httpErrorStatusCode?: number; + /** [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ + id?: string; + /** [Output Only] The time that this operation was requested. This value is in RFC3339 text format. */ + insertTime?: string; + /** [Output Only] Type of the resource. Always compute#operation for Operation resources. */ + kind?: string; + /** [Output Only] Name of the resource. */ + name?: string; + /** [Output Only] The type of operation, such as insert, update, or delete, and so on. */ + operationType?: string; + /** + * [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of + * operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation + * progresses. + */ + progress?: number; + /** [Output Only] The URL of the region where the operation resides. Only available when performing regional operations. */ + region?: string; + /** [Output Only] Server-defined URL for the resource. */ + selfLink?: string; + /** [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. */ + startTime?: string; + /** [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE. */ + status?: string; + /** [Output Only] An optional textual description of the current status of the operation. */ + statusMessage?: string; + /** [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. */ + targetId?: string; + /** + * [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk + * that the snapshot was created from. + */ + targetLink?: string; + /** [Output Only] User who requested the operation, for example: user@example.com. */ + user?: string; + /** [Output Only] If warning messages are generated during processing of the operation, this field will be populated. */ + warnings?: Array<{ + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }>; + /** [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations. */ + zone?: string; + } + interface OperationsListResponse { + /** Output only. A token used to continue a truncated list request. */ + nextPageToken?: string; + /** Output only. Operations contained in this list response. */ + operations?: Operation[]; + } + interface Policy { + /** Specifies cloud audit logging configuration for this policy. */ + auditConfigs?: AuditConfig[]; + /** Associates a list of `members` to a `role`. `bindings` with no members will result in an error. */ + bindings?: Binding[]; + /** + * `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly + * suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is + * returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will + * be applied to the same version of the policy. + * + * If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly. + */ + etag?: string; + iamOwned?: boolean; + /** + * If more than one rule is specified, the rules are applied in the following manner: - All matching LOG rules are always applied. - If any + * DENY/DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if one or more matching rule requires logging. - Otherwise, if any + * ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if one or more matching rule requires logging. - Otherwise, if no + * rule applies, permission is denied. + */ + rules?: Rule[]; + /** Version of the `Policy`. The default version is 0. */ + version?: number; + } + interface Resource { + /** The Access Control Policy set on this resource. */ + accessControl?: ResourceAccessControl; + /** Output only. The evaluated properties of the resource with references expanded. Returned as serialized YAML. */ + finalProperties?: string; + /** Output only. Unique identifier for the resource; defined by the server. */ + id?: string; + /** Output only. Timestamp when the resource was created or acquired, in RFC3339 text format . */ + insertTime?: string; + /** Output only. URL of the manifest representing the current configuration of this resource. */ + manifest?: string; + /** Output only. The name of the resource as it appears in the YAML config. */ + name?: string; + /** Output only. The current properties of the resource before any references have been filled in. Returned as serialized YAML. */ + properties?: string; + /** Output only. The type of the resource, for example compute.v1.instance, or cloudfunctions.v1beta1.function. */ + type?: string; + /** Output only. If Deployment Manager is currently updating or previewing an update to this resource, the updated configuration appears here. */ + update?: ResourceUpdate; + /** Output only. Timestamp when the resource was updated, in RFC3339 text format . */ + updateTime?: string; + /** Output only. The URL of the actual resource. */ + url?: string; + /** Output only. If warning messages are generated during processing of this resource, this field will be populated. */ + warnings?: Array<{ + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }>; + } + interface ResourceAccessControl { + /** The GCP IAM Policy to set on the resource. */ + gcpIamPolicy?: string; + } + interface ResourceUpdate { + /** The Access Control Policy to set on this resource after updating the resource itself. */ + accessControl?: ResourceAccessControl; + /** Output only. If errors are generated during update of the resource, this field will be populated. */ + error?: { + /** [Output Only] The array of errors encountered while processing this operation. */ + errors?: Array<{ + /** [Output Only] The error type identifier for this error. */ + code?: string; + /** [Output Only] Indicates the field in the request that caused the error. This property is optional. */ + location?: string; + /** [Output Only] An optional, human-readable error message. */ + message?: string; + }>; + }; + /** Output only. The expanded properties of the resource with reference values expanded. Returned as serialized YAML. */ + finalProperties?: string; + /** Output only. The intent of the resource: PREVIEW, UPDATE, or CANCEL. */ + intent?: string; + /** Output only. URL of the manifest representing the update configuration of this resource. */ + manifest?: string; + /** Output only. The set of updated properties for this resource, before references are expanded. Returned as serialized YAML. */ + properties?: string; + /** Output only. The state of the resource. */ + state?: string; + /** Output only. If warning messages are generated during processing of this resource, this field will be populated. */ + warnings?: Array<{ + /** [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. */ + code?: string; + /** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ + data?: Array<{ + /** + * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for + * a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and + * a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ + key?: string; + /** [Output Only] A warning data value corresponding to the key. */ + value?: string; + }>; + /** [Output Only] A human-readable description of the warning code. */ + message?: string; + }>; + } + interface ResourcesListResponse { + /** A token used to continue a truncated list request. */ + nextPageToken?: string; + /** Resources contained in this list response. */ + resources?: Resource[]; + } + interface Rule { + /** Required */ + action?: string; + /** Additional restrictions that must be met. All conditions must pass for the rule to match. */ + conditions?: Condition[]; + /** Human-readable description of the rule. */ + description?: string; + /** If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. */ + ins?: string[]; + /** The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action. */ + logConfigs?: LogConfig[]; + /** If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. */ + notIns?: string[]; + /** + * A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., + * 'storage.buckets.*') matches all verbs. + */ + permissions?: string[]; + } + interface TargetConfiguration { + /** The configuration to use for this deployment. */ + config?: ConfigFile; + /** + * Specifies any files to import for this configuration. This can be used to import templates or other files. For example, you might import a text file in + * order to use the file in a template. + */ + imports?: ImportFile[]; + } + interface TestPermissionsRequest { + /** The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. */ + permissions?: string[]; + } + interface TestPermissionsResponse { + /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */ + permissions?: string[]; + } + interface Type { + /** Output only. Unique identifier for the resource; defined by the server. */ + id?: string; + /** Output only. Timestamp when the type was created, in RFC3339 text format. */ + insertTime?: string; + /** Name of the type. */ + name?: string; + /** Output only. The Operation that most recently ran, or is currently running, on this type. */ + operation?: Operation; + /** Output only. Self link for the type. */ + selfLink?: string; + } + interface TypesListResponse { + /** A token used to continue a truncated list request. */ + nextPageToken?: string; + /** Output only. A list of resource types supported by Deployment Manager. */ + types?: Type[]; + } + interface DeploymentsResource { + /** Cancels and removes the preview currently associated with the deployment. */ + cancelPreview(request: { + /** Data format for the response. */ + alt?: string; + /** The name of the deployment for this request. */ + deployment: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Deletes a deployment and all of the resources in the deployment. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Sets the policy to use for deleting resources. */ + deletePolicy?: string; + /** The name of the deployment for this request. */ + deployment: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Gets information about a specific deployment. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The name of the deployment for this request. */ + deployment: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Deployment>; + /** Gets the access control policy for a resource. May be empty if no such policy or resource exists. */ + getIamPolicy(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the resource for this request. */ + resource: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Policy>; + /** Creates a deployment and all of the resources described by the deployment manifest. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * If set to true, creates a deployment and creates "shell" resources but does not actually instantiate these resources. This allows you to preview what + * your deployment looks like. After previewing a deployment, you can deploy your resources by making a request with the update() method or you can use + * the cancelPreview() method to cancel the preview altogether. Note that the deployment will still exist after you cancel the preview and you must + * separately delete this deployment if you want to remove it. + */ + preview?: boolean; + /** The project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Lists all deployments for a given project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DeploymentsListResponse>; + /** Updates a deployment and all of the resources described by the deployment manifest. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Sets the policy to use for creating new resources. */ + createPolicy?: string; + /** Sets the policy to use for deleting resources. */ + deletePolicy?: string; + /** The name of the deployment for this request. */ + deployment: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * If set to true, updates the deployment and creates and updates the "shell" resources but does not actually alter or instantiate these resources. This + * allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must + * provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request + * with the update() or you can cancelPreview() to remove the preview altogether. Note that the deployment will still exist after you cancel the preview + * and you must separately delete this deployment if you want to remove it. + */ + preview?: boolean; + /** The project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Sets the access control policy on the specified resource. Replaces any existing policy. */ + setIamPolicy(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the resource for this request. */ + resource: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Policy>; + /** Stops an ongoing operation. This does not roll back any work that has already been completed, but prevents any new work from being started. */ + stop(request: { + /** Data format for the response. */ + alt?: string; + /** The name of the deployment for this request. */ + deployment: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Returns permissions that a caller has on the specified resource. */ + testIamPermissions(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the resource for this request. */ + resource: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TestPermissionsResponse>; + /** Updates a deployment and all of the resources described by the deployment manifest. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Sets the policy to use for creating new resources. */ + createPolicy?: string; + /** Sets the policy to use for deleting resources. */ + deletePolicy?: string; + /** The name of the deployment for this request. */ + deployment: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * If set to true, updates the deployment and creates and updates the "shell" resources but does not actually alter or instantiate these resources. This + * allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must + * provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request + * with the update() or you can cancelPreview() to remove the preview altogether. Note that the deployment will still exist after you cancel the preview + * and you must separately delete this deployment if you want to remove it. + */ + preview?: boolean; + /** The project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface ManifestsResource { + /** Gets information about a specific manifest. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The name of the deployment for this request. */ + deployment: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the manifest for this request. */ + manifest: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Manifest>; + /** Lists all manifests for a given deployment. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The name of the deployment for this request. */ + deployment: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ManifestsListResponse>; + } + interface OperationsResource { + /** Gets information about a specific operation. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The name of the operation for this request. */ + operation: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Lists all operations for a project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OperationsListResponse>; + } + interface ResourcesResource { + /** Gets information about a single resource. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The name of the deployment for this request. */ + deployment: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The name of the resource for this request. */ + resource: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Resource>; + /** Lists all resources in a given deployment. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The name of the deployment for this request. */ + deployment: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ResourcesListResponse>; + } + interface TypesResource { + /** Lists all resource types for Deployment Manager. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string. + * + * The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string + * must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of + * field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The + * literal value must match the entire field. + * + * For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance. + * + * You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering + * on nested fields to take advantage of labels to organize and search for results based on label values. + * + * To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq + * us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a + * nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation + * is returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + */ + orderBy?: string; + /** Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project ID for this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TypesListResponse>; + } + } +} diff --git a/types/gapi.client.deploymentmanager/readme.md b/types/gapi.client.deploymentmanager/readme.md new file mode 100644 index 0000000000..b14c3e91e7 --- /dev/null +++ b/types/gapi.client.deploymentmanager/readme.md @@ -0,0 +1,153 @@ +# TypeScript typings for Google Cloud Deployment Manager API v2 +Declares, configures, and deploys complex solutions on Google Cloud Platform. +For detailed description please check [documentation](https://cloud.google.com/deployment-manager/). + +## Installing + +Install typings for Google Cloud Deployment Manager API: +``` +npm install @types/gapi.client.deploymentmanager@v2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('deploymentmanager', 'v2', () => { + // now we can use gapi.client.deploymentmanager + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform.read-only', + + // View and manage your Google Cloud Platform management resources and deployment status information + 'https://www.googleapis.com/auth/ndev.cloudman', + + // View your Google Cloud Platform management resources and deployment status information + 'https://www.googleapis.com/auth/ndev.cloudman.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Cloud Deployment Manager API resources: + +```typescript + +/* +Cancels and removes the preview currently associated with the deployment. +*/ +await gapi.client.deployments.cancelPreview({ deployment: "deployment", project: "project", }); + +/* +Deletes a deployment and all of the resources in the deployment. +*/ +await gapi.client.deployments.delete({ deployment: "deployment", project: "project", }); + +/* +Gets information about a specific deployment. +*/ +await gapi.client.deployments.get({ deployment: "deployment", project: "project", }); + +/* +Gets the access control policy for a resource. May be empty if no such policy or resource exists. +*/ +await gapi.client.deployments.getIamPolicy({ project: "project", resource: "resource", }); + +/* +Creates a deployment and all of the resources described by the deployment manifest. +*/ +await gapi.client.deployments.insert({ project: "project", }); + +/* +Lists all deployments for a given project. +*/ +await gapi.client.deployments.list({ project: "project", }); + +/* +Updates a deployment and all of the resources described by the deployment manifest. This method supports patch semantics. +*/ +await gapi.client.deployments.patch({ deployment: "deployment", project: "project", }); + +/* +Sets the access control policy on the specified resource. Replaces any existing policy. +*/ +await gapi.client.deployments.setIamPolicy({ project: "project", resource: "resource", }); + +/* +Stops an ongoing operation. This does not roll back any work that has already been completed, but prevents any new work from being started. +*/ +await gapi.client.deployments.stop({ deployment: "deployment", project: "project", }); + +/* +Returns permissions that a caller has on the specified resource. +*/ +await gapi.client.deployments.testIamPermissions({ project: "project", resource: "resource", }); + +/* +Updates a deployment and all of the resources described by the deployment manifest. +*/ +await gapi.client.deployments.update({ deployment: "deployment", project: "project", }); + +/* +Gets information about a specific manifest. +*/ +await gapi.client.manifests.get({ deployment: "deployment", manifest: "manifest", project: "project", }); + +/* +Lists all manifests for a given deployment. +*/ +await gapi.client.manifests.list({ deployment: "deployment", project: "project", }); + +/* +Gets information about a specific operation. +*/ +await gapi.client.operations.get({ operation: "operation", project: "project", }); + +/* +Lists all operations for a project. +*/ +await gapi.client.operations.list({ project: "project", }); + +/* +Gets information about a single resource. +*/ +await gapi.client.resources.get({ deployment: "deployment", project: "project", resource: "resource", }); + +/* +Lists all resources in a given deployment. +*/ +await gapi.client.resources.list({ deployment: "deployment", project: "project", }); + +/* +Lists all resource types for Deployment Manager. +*/ +await gapi.client.types.list({ project: "project", }); +``` \ No newline at end of file diff --git a/types/gapi.client.deploymentmanager/tsconfig.json b/types/gapi.client.deploymentmanager/tsconfig.json new file mode 100644 index 0000000000..76527cf87c --- /dev/null +++ b/types/gapi.client.deploymentmanager/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.deploymentmanager-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.deploymentmanager/tslint.json b/types/gapi.client.deploymentmanager/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.deploymentmanager/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.dfareporting/gapi.client.dfareporting-tests.ts b/types/gapi.client.dfareporting/gapi.client.dfareporting-tests.ts new file mode 100644 index 0000000000..eef00757ac --- /dev/null +++ b/types/gapi.client.dfareporting/gapi.client.dfareporting-tests.ts @@ -0,0 +1,1301 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('dfareporting', 'v2.8', () => { + /** now we can use gapi.client.dfareporting */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage DoubleClick Digital Marketing conversions */ + 'https://www.googleapis.com/auth/ddmconversions', + /** View and manage DoubleClick for Advertisers reports */ + 'https://www.googleapis.com/auth/dfareporting', + /** View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns */ + 'https://www.googleapis.com/auth/dfatrafficking', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Gets the account's active ad summary by account ID. */ + await gapi.client.accountActiveAdSummaries.get({ + profileId: "profileId", + summaryAccountId: "summaryAccountId", + }); + /** Gets one account permission group by ID. */ + await gapi.client.accountPermissionGroups.get({ + id: "id", + profileId: "profileId", + }); + /** Retrieves the list of account permission groups. */ + await gapi.client.accountPermissionGroups.list({ + profileId: "profileId", + }); + /** Gets one account permission by ID. */ + await gapi.client.accountPermissions.get({ + id: "id", + profileId: "profileId", + }); + /** Retrieves the list of account permissions. */ + await gapi.client.accountPermissions.list({ + profileId: "profileId", + }); + /** Gets one account user profile by ID. */ + await gapi.client.accountUserProfiles.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new account user profile. */ + await gapi.client.accountUserProfiles.insert({ + profileId: "profileId", + }); + /** Retrieves a list of account user profiles, possibly filtered. This method supports paging. */ + await gapi.client.accountUserProfiles.list({ + active: true, + ids: "ids", + maxResults: 3, + pageToken: "pageToken", + profileId: "profileId", + searchString: "searchString", + sortField: "sortField", + sortOrder: "sortOrder", + subaccountId: "subaccountId", + userRoleId: "userRoleId", + }); + /** Updates an existing account user profile. This method supports patch semantics. */ + await gapi.client.accountUserProfiles.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing account user profile. */ + await gapi.client.accountUserProfiles.update({ + profileId: "profileId", + }); + /** Gets one account by ID. */ + await gapi.client.accounts.get({ + id: "id", + profileId: "profileId", + }); + /** Retrieves the list of accounts, possibly filtered. This method supports paging. */ + await gapi.client.accounts.list({ + active: true, + ids: "ids", + maxResults: 3, + pageToken: "pageToken", + profileId: "profileId", + searchString: "searchString", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Updates an existing account. This method supports patch semantics. */ + await gapi.client.accounts.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing account. */ + await gapi.client.accounts.update({ + profileId: "profileId", + }); + /** Gets one ad by ID. */ + await gapi.client.ads.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new ad. */ + await gapi.client.ads.insert({ + profileId: "profileId", + }); + /** Retrieves a list of ads, possibly filtered. This method supports paging. */ + await gapi.client.ads.list({ + active: true, + advertiserId: "advertiserId", + archived: true, + audienceSegmentIds: "audienceSegmentIds", + campaignIds: "campaignIds", + compatibility: "compatibility", + creativeIds: "creativeIds", + creativeOptimizationConfigurationIds: "creativeOptimizationConfigurationIds", + dynamicClickTracker: true, + ids: "ids", + landingPageIds: "landingPageIds", + maxResults: 12, + overriddenEventTagId: "overriddenEventTagId", + pageToken: "pageToken", + placementIds: "placementIds", + profileId: "profileId", + remarketingListIds: "remarketingListIds", + searchString: "searchString", + sizeIds: "sizeIds", + sortField: "sortField", + sortOrder: "sortOrder", + sslCompliant: true, + sslRequired: true, + type: "type", + }); + /** Updates an existing ad. This method supports patch semantics. */ + await gapi.client.ads.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing ad. */ + await gapi.client.ads.update({ + profileId: "profileId", + }); + /** Deletes an existing advertiser group. */ + await gapi.client.advertiserGroups.delete({ + id: "id", + profileId: "profileId", + }); + /** Gets one advertiser group by ID. */ + await gapi.client.advertiserGroups.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new advertiser group. */ + await gapi.client.advertiserGroups.insert({ + profileId: "profileId", + }); + /** Retrieves a list of advertiser groups, possibly filtered. This method supports paging. */ + await gapi.client.advertiserGroups.list({ + ids: "ids", + maxResults: 2, + pageToken: "pageToken", + profileId: "profileId", + searchString: "searchString", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Updates an existing advertiser group. This method supports patch semantics. */ + await gapi.client.advertiserGroups.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing advertiser group. */ + await gapi.client.advertiserGroups.update({ + profileId: "profileId", + }); + /** Gets one advertiser by ID. */ + await gapi.client.advertisers.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new advertiser. */ + await gapi.client.advertisers.insert({ + profileId: "profileId", + }); + /** Retrieves a list of advertisers, possibly filtered. This method supports paging. */ + await gapi.client.advertisers.list({ + advertiserGroupIds: "advertiserGroupIds", + floodlightConfigurationIds: "floodlightConfigurationIds", + ids: "ids", + includeAdvertisersWithoutGroupsOnly: true, + maxResults: 5, + onlyParent: true, + pageToken: "pageToken", + profileId: "profileId", + searchString: "searchString", + sortField: "sortField", + sortOrder: "sortOrder", + status: "status", + subaccountId: "subaccountId", + }); + /** Updates an existing advertiser. This method supports patch semantics. */ + await gapi.client.advertisers.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing advertiser. */ + await gapi.client.advertisers.update({ + profileId: "profileId", + }); + /** Retrieves a list of browsers. */ + await gapi.client.browsers.list({ + profileId: "profileId", + }); + /** + * Associates a creative with the specified campaign. This method creates a default ad with dimensions matching the creative in the campaign if such a + * default ad does not exist already. + */ + await gapi.client.campaignCreativeAssociations.insert({ + campaignId: "campaignId", + profileId: "profileId", + }); + /** Retrieves the list of creative IDs associated with the specified campaign. This method supports paging. */ + await gapi.client.campaignCreativeAssociations.list({ + campaignId: "campaignId", + maxResults: 2, + pageToken: "pageToken", + profileId: "profileId", + sortOrder: "sortOrder", + }); + /** Gets one campaign by ID. */ + await gapi.client.campaigns.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new campaign. */ + await gapi.client.campaigns.insert({ + defaultLandingPageName: "defaultLandingPageName", + defaultLandingPageUrl: "defaultLandingPageUrl", + profileId: "profileId", + }); + /** Retrieves a list of campaigns, possibly filtered. This method supports paging. */ + await gapi.client.campaigns.list({ + advertiserGroupIds: "advertiserGroupIds", + advertiserIds: "advertiserIds", + archived: true, + atLeastOneOptimizationActivity: true, + excludedIds: "excludedIds", + ids: "ids", + maxResults: 7, + overriddenEventTagId: "overriddenEventTagId", + pageToken: "pageToken", + profileId: "profileId", + searchString: "searchString", + sortField: "sortField", + sortOrder: "sortOrder", + subaccountId: "subaccountId", + }); + /** Updates an existing campaign. This method supports patch semantics. */ + await gapi.client.campaigns.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing campaign. */ + await gapi.client.campaigns.update({ + profileId: "profileId", + }); + /** Gets one change log by ID. */ + await gapi.client.changeLogs.get({ + id: "id", + profileId: "profileId", + }); + /** Retrieves a list of change logs. This method supports paging. */ + await gapi.client.changeLogs.list({ + action: "action", + ids: "ids", + maxChangeTime: "maxChangeTime", + maxResults: 4, + minChangeTime: "minChangeTime", + objectIds: "objectIds", + objectType: "objectType", + pageToken: "pageToken", + profileId: "profileId", + searchString: "searchString", + userProfileIds: "userProfileIds", + }); + /** Retrieves a list of cities, possibly filtered. */ + await gapi.client.cities.list({ + countryDartIds: "countryDartIds", + dartIds: "dartIds", + namePrefix: "namePrefix", + profileId: "profileId", + regionDartIds: "regionDartIds", + }); + /** Gets one connection type by ID. */ + await gapi.client.connectionTypes.get({ + id: "id", + profileId: "profileId", + }); + /** Retrieves a list of connection types. */ + await gapi.client.connectionTypes.list({ + profileId: "profileId", + }); + /** Deletes an existing content category. */ + await gapi.client.contentCategories.delete({ + id: "id", + profileId: "profileId", + }); + /** Gets one content category by ID. */ + await gapi.client.contentCategories.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new content category. */ + await gapi.client.contentCategories.insert({ + profileId: "profileId", + }); + /** Retrieves a list of content categories, possibly filtered. This method supports paging. */ + await gapi.client.contentCategories.list({ + ids: "ids", + maxResults: 2, + pageToken: "pageToken", + profileId: "profileId", + searchString: "searchString", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Updates an existing content category. This method supports patch semantics. */ + await gapi.client.contentCategories.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing content category. */ + await gapi.client.contentCategories.update({ + profileId: "profileId", + }); + /** Inserts conversions. */ + await gapi.client.conversions.batchinsert({ + profileId: "profileId", + }); + /** Updates existing conversions. */ + await gapi.client.conversions.batchupdate({ + profileId: "profileId", + }); + /** Gets one country by ID. */ + await gapi.client.countries.get({ + dartId: "dartId", + profileId: "profileId", + }); + /** Retrieves a list of countries. */ + await gapi.client.countries.list({ + profileId: "profileId", + }); + /** Inserts a new creative asset. */ + await gapi.client.creativeAssets.insert({ + advertiserId: "advertiserId", + profileId: "profileId", + }); + /** Deletes an existing creative field value. */ + await gapi.client.creativeFieldValues.delete({ + creativeFieldId: "creativeFieldId", + id: "id", + profileId: "profileId", + }); + /** Gets one creative field value by ID. */ + await gapi.client.creativeFieldValues.get({ + creativeFieldId: "creativeFieldId", + id: "id", + profileId: "profileId", + }); + /** Inserts a new creative field value. */ + await gapi.client.creativeFieldValues.insert({ + creativeFieldId: "creativeFieldId", + profileId: "profileId", + }); + /** Retrieves a list of creative field values, possibly filtered. This method supports paging. */ + await gapi.client.creativeFieldValues.list({ + creativeFieldId: "creativeFieldId", + ids: "ids", + maxResults: 3, + pageToken: "pageToken", + profileId: "profileId", + searchString: "searchString", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Updates an existing creative field value. This method supports patch semantics. */ + await gapi.client.creativeFieldValues.patch({ + creativeFieldId: "creativeFieldId", + id: "id", + profileId: "profileId", + }); + /** Updates an existing creative field value. */ + await gapi.client.creativeFieldValues.update({ + creativeFieldId: "creativeFieldId", + profileId: "profileId", + }); + /** Deletes an existing creative field. */ + await gapi.client.creativeFields.delete({ + id: "id", + profileId: "profileId", + }); + /** Gets one creative field by ID. */ + await gapi.client.creativeFields.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new creative field. */ + await gapi.client.creativeFields.insert({ + profileId: "profileId", + }); + /** Retrieves a list of creative fields, possibly filtered. This method supports paging. */ + await gapi.client.creativeFields.list({ + advertiserIds: "advertiserIds", + ids: "ids", + maxResults: 3, + pageToken: "pageToken", + profileId: "profileId", + searchString: "searchString", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Updates an existing creative field. This method supports patch semantics. */ + await gapi.client.creativeFields.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing creative field. */ + await gapi.client.creativeFields.update({ + profileId: "profileId", + }); + /** Gets one creative group by ID. */ + await gapi.client.creativeGroups.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new creative group. */ + await gapi.client.creativeGroups.insert({ + profileId: "profileId", + }); + /** Retrieves a list of creative groups, possibly filtered. This method supports paging. */ + await gapi.client.creativeGroups.list({ + advertiserIds: "advertiserIds", + groupNumber: 2, + ids: "ids", + maxResults: 4, + pageToken: "pageToken", + profileId: "profileId", + searchString: "searchString", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Updates an existing creative group. This method supports patch semantics. */ + await gapi.client.creativeGroups.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing creative group. */ + await gapi.client.creativeGroups.update({ + profileId: "profileId", + }); + /** Gets one creative by ID. */ + await gapi.client.creatives.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new creative. */ + await gapi.client.creatives.insert({ + profileId: "profileId", + }); + /** Retrieves a list of creatives, possibly filtered. This method supports paging. */ + await gapi.client.creatives.list({ + active: true, + advertiserId: "advertiserId", + archived: true, + campaignId: "campaignId", + companionCreativeIds: "companionCreativeIds", + creativeFieldIds: "creativeFieldIds", + ids: "ids", + maxResults: 8, + pageToken: "pageToken", + profileId: "profileId", + renderingIds: "renderingIds", + searchString: "searchString", + sizeIds: "sizeIds", + sortField: "sortField", + sortOrder: "sortOrder", + studioCreativeId: "studioCreativeId", + types: "types", + }); + /** Updates an existing creative. This method supports patch semantics. */ + await gapi.client.creatives.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing creative. */ + await gapi.client.creatives.update({ + profileId: "profileId", + }); + /** Retrieves list of report dimension values for a list of filters. */ + await gapi.client.dimensionValues.query({ + maxResults: 1, + pageToken: "pageToken", + profileId: "profileId", + }); + /** Gets one directory site contact by ID. */ + await gapi.client.directorySiteContacts.get({ + id: "id", + profileId: "profileId", + }); + /** Retrieves a list of directory site contacts, possibly filtered. This method supports paging. */ + await gapi.client.directorySiteContacts.list({ + directorySiteIds: "directorySiteIds", + ids: "ids", + maxResults: 3, + pageToken: "pageToken", + profileId: "profileId", + searchString: "searchString", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Gets one directory site by ID. */ + await gapi.client.directorySites.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new directory site. */ + await gapi.client.directorySites.insert({ + profileId: "profileId", + }); + /** Retrieves a list of directory sites, possibly filtered. This method supports paging. */ + await gapi.client.directorySites.list({ + acceptsInStreamVideoPlacements: true, + acceptsInterstitialPlacements: true, + acceptsPublisherPaidPlacements: true, + active: true, + countryId: "countryId", + dfpNetworkCode: "dfpNetworkCode", + ids: "ids", + maxResults: 8, + pageToken: "pageToken", + parentId: "parentId", + profileId: "profileId", + searchString: "searchString", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Deletes an existing dynamic targeting key. */ + await gapi.client.dynamicTargetingKeys.delete({ + name: "name", + objectId: "objectId", + objectType: "objectType", + profileId: "profileId", + }); + /** + * Inserts a new dynamic targeting key. Keys must be created at the advertiser level before being assigned to the advertiser's ads, creatives, or + * placements. There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 keys can be assigned per ad, creative, or placement. + */ + await gapi.client.dynamicTargetingKeys.insert({ + profileId: "profileId", + }); + /** Retrieves a list of dynamic targeting keys. */ + await gapi.client.dynamicTargetingKeys.list({ + advertiserId: "advertiserId", + names: "names", + objectId: "objectId", + objectType: "objectType", + profileId: "profileId", + }); + /** Deletes an existing event tag. */ + await gapi.client.eventTags.delete({ + id: "id", + profileId: "profileId", + }); + /** Gets one event tag by ID. */ + await gapi.client.eventTags.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new event tag. */ + await gapi.client.eventTags.insert({ + profileId: "profileId", + }); + /** Retrieves a list of event tags, possibly filtered. */ + await gapi.client.eventTags.list({ + adId: "adId", + advertiserId: "advertiserId", + campaignId: "campaignId", + definitionsOnly: true, + enabled: true, + eventTagTypes: "eventTagTypes", + ids: "ids", + profileId: "profileId", + searchString: "searchString", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Updates an existing event tag. This method supports patch semantics. */ + await gapi.client.eventTags.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing event tag. */ + await gapi.client.eventTags.update({ + profileId: "profileId", + }); + /** Retrieves a report file by its report ID and file ID. This method supports media download. */ + await gapi.client.files.get({ + fileId: "fileId", + reportId: "reportId", + }); + /** Lists files for a user profile. */ + await gapi.client.files.list({ + maxResults: 1, + pageToken: "pageToken", + profileId: "profileId", + scope: "scope", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Deletes an existing floodlight activity. */ + await gapi.client.floodlightActivities.delete({ + id: "id", + profileId: "profileId", + }); + /** Generates a tag for a floodlight activity. */ + await gapi.client.floodlightActivities.generatetag({ + floodlightActivityId: "floodlightActivityId", + profileId: "profileId", + }); + /** Gets one floodlight activity by ID. */ + await gapi.client.floodlightActivities.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new floodlight activity. */ + await gapi.client.floodlightActivities.insert({ + profileId: "profileId", + }); + /** Retrieves a list of floodlight activities, possibly filtered. This method supports paging. */ + await gapi.client.floodlightActivities.list({ + advertiserId: "advertiserId", + floodlightActivityGroupIds: "floodlightActivityGroupIds", + floodlightActivityGroupName: "floodlightActivityGroupName", + floodlightActivityGroupTagString: "floodlightActivityGroupTagString", + floodlightActivityGroupType: "floodlightActivityGroupType", + floodlightConfigurationId: "floodlightConfigurationId", + ids: "ids", + maxResults: 8, + pageToken: "pageToken", + profileId: "profileId", + searchString: "searchString", + sortField: "sortField", + sortOrder: "sortOrder", + tagString: "tagString", + }); + /** Updates an existing floodlight activity. This method supports patch semantics. */ + await gapi.client.floodlightActivities.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing floodlight activity. */ + await gapi.client.floodlightActivities.update({ + profileId: "profileId", + }); + /** Gets one floodlight activity group by ID. */ + await gapi.client.floodlightActivityGroups.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new floodlight activity group. */ + await gapi.client.floodlightActivityGroups.insert({ + profileId: "profileId", + }); + /** Retrieves a list of floodlight activity groups, possibly filtered. This method supports paging. */ + await gapi.client.floodlightActivityGroups.list({ + advertiserId: "advertiserId", + floodlightConfigurationId: "floodlightConfigurationId", + ids: "ids", + maxResults: 4, + pageToken: "pageToken", + profileId: "profileId", + searchString: "searchString", + sortField: "sortField", + sortOrder: "sortOrder", + type: "type", + }); + /** Updates an existing floodlight activity group. This method supports patch semantics. */ + await gapi.client.floodlightActivityGroups.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing floodlight activity group. */ + await gapi.client.floodlightActivityGroups.update({ + profileId: "profileId", + }); + /** Gets one floodlight configuration by ID. */ + await gapi.client.floodlightConfigurations.get({ + id: "id", + profileId: "profileId", + }); + /** Retrieves a list of floodlight configurations, possibly filtered. */ + await gapi.client.floodlightConfigurations.list({ + ids: "ids", + profileId: "profileId", + }); + /** Updates an existing floodlight configuration. This method supports patch semantics. */ + await gapi.client.floodlightConfigurations.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing floodlight configuration. */ + await gapi.client.floodlightConfigurations.update({ + profileId: "profileId", + }); + /** Gets one inventory item by ID. */ + await gapi.client.inventoryItems.get({ + id: "id", + profileId: "profileId", + projectId: "projectId", + }); + /** Retrieves a list of inventory items, possibly filtered. This method supports paging. */ + await gapi.client.inventoryItems.list({ + ids: "ids", + inPlan: true, + maxResults: 3, + orderId: "orderId", + pageToken: "pageToken", + profileId: "profileId", + projectId: "projectId", + siteId: "siteId", + sortField: "sortField", + sortOrder: "sortOrder", + type: "type", + }); + /** Deletes an existing campaign landing page. */ + await gapi.client.landingPages.delete({ + campaignId: "campaignId", + id: "id", + profileId: "profileId", + }); + /** Gets one campaign landing page by ID. */ + await gapi.client.landingPages.get({ + campaignId: "campaignId", + id: "id", + profileId: "profileId", + }); + /** Inserts a new landing page for the specified campaign. */ + await gapi.client.landingPages.insert({ + campaignId: "campaignId", + profileId: "profileId", + }); + /** Retrieves the list of landing pages for the specified campaign. */ + await gapi.client.landingPages.list({ + campaignId: "campaignId", + profileId: "profileId", + }); + /** Updates an existing campaign landing page. This method supports patch semantics. */ + await gapi.client.landingPages.patch({ + campaignId: "campaignId", + id: "id", + profileId: "profileId", + }); + /** Updates an existing campaign landing page. */ + await gapi.client.landingPages.update({ + campaignId: "campaignId", + profileId: "profileId", + }); + /** Retrieves a list of languages. */ + await gapi.client.languages.list({ + profileId: "profileId", + }); + /** Retrieves a list of metros. */ + await gapi.client.metros.list({ + profileId: "profileId", + }); + /** Gets one mobile carrier by ID. */ + await gapi.client.mobileCarriers.get({ + id: "id", + profileId: "profileId", + }); + /** Retrieves a list of mobile carriers. */ + await gapi.client.mobileCarriers.list({ + profileId: "profileId", + }); + /** Gets one operating system version by ID. */ + await gapi.client.operatingSystemVersions.get({ + id: "id", + profileId: "profileId", + }); + /** Retrieves a list of operating system versions. */ + await gapi.client.operatingSystemVersions.list({ + profileId: "profileId", + }); + /** Gets one operating system by DART ID. */ + await gapi.client.operatingSystems.get({ + dartId: "dartId", + profileId: "profileId", + }); + /** Retrieves a list of operating systems. */ + await gapi.client.operatingSystems.list({ + profileId: "profileId", + }); + /** Gets one order document by ID. */ + await gapi.client.orderDocuments.get({ + id: "id", + profileId: "profileId", + projectId: "projectId", + }); + /** Retrieves a list of order documents, possibly filtered. This method supports paging. */ + await gapi.client.orderDocuments.list({ + approved: true, + ids: "ids", + maxResults: 3, + orderId: "orderId", + pageToken: "pageToken", + profileId: "profileId", + projectId: "projectId", + searchString: "searchString", + siteId: "siteId", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Gets one order by ID. */ + await gapi.client.orders.get({ + id: "id", + profileId: "profileId", + projectId: "projectId", + }); + /** Retrieves a list of orders, possibly filtered. This method supports paging. */ + await gapi.client.orders.list({ + ids: "ids", + maxResults: 2, + pageToken: "pageToken", + profileId: "profileId", + projectId: "projectId", + searchString: "searchString", + siteId: "siteId", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Gets one placement group by ID. */ + await gapi.client.placementGroups.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new placement group. */ + await gapi.client.placementGroups.insert({ + profileId: "profileId", + }); + /** Retrieves a list of placement groups, possibly filtered. This method supports paging. */ + await gapi.client.placementGroups.list({ + advertiserIds: "advertiserIds", + archived: true, + campaignIds: "campaignIds", + contentCategoryIds: "contentCategoryIds", + directorySiteIds: "directorySiteIds", + ids: "ids", + maxEndDate: "maxEndDate", + maxResults: 8, + maxStartDate: "maxStartDate", + minEndDate: "minEndDate", + minStartDate: "minStartDate", + pageToken: "pageToken", + placementGroupType: "placementGroupType", + placementStrategyIds: "placementStrategyIds", + pricingTypes: "pricingTypes", + profileId: "profileId", + searchString: "searchString", + siteIds: "siteIds", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Updates an existing placement group. This method supports patch semantics. */ + await gapi.client.placementGroups.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing placement group. */ + await gapi.client.placementGroups.update({ + profileId: "profileId", + }); + /** Deletes an existing placement strategy. */ + await gapi.client.placementStrategies.delete({ + id: "id", + profileId: "profileId", + }); + /** Gets one placement strategy by ID. */ + await gapi.client.placementStrategies.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new placement strategy. */ + await gapi.client.placementStrategies.insert({ + profileId: "profileId", + }); + /** Retrieves a list of placement strategies, possibly filtered. This method supports paging. */ + await gapi.client.placementStrategies.list({ + ids: "ids", + maxResults: 2, + pageToken: "pageToken", + profileId: "profileId", + searchString: "searchString", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Updates an existing placement strategy. This method supports patch semantics. */ + await gapi.client.placementStrategies.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing placement strategy. */ + await gapi.client.placementStrategies.update({ + profileId: "profileId", + }); + /** Generates tags for a placement. */ + await gapi.client.placements.generatetags({ + campaignId: "campaignId", + placementIds: "placementIds", + profileId: "profileId", + tagFormats: "tagFormats", + }); + /** Gets one placement by ID. */ + await gapi.client.placements.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new placement. */ + await gapi.client.placements.insert({ + profileId: "profileId", + }); + /** Retrieves a list of placements, possibly filtered. This method supports paging. */ + await gapi.client.placements.list({ + advertiserIds: "advertiserIds", + archived: true, + campaignIds: "campaignIds", + compatibilities: "compatibilities", + contentCategoryIds: "contentCategoryIds", + directorySiteIds: "directorySiteIds", + groupIds: "groupIds", + ids: "ids", + maxEndDate: "maxEndDate", + maxResults: 10, + maxStartDate: "maxStartDate", + minEndDate: "minEndDate", + minStartDate: "minStartDate", + pageToken: "pageToken", + paymentSource: "paymentSource", + placementStrategyIds: "placementStrategyIds", + pricingTypes: "pricingTypes", + profileId: "profileId", + searchString: "searchString", + siteIds: "siteIds", + sizeIds: "sizeIds", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Updates an existing placement. This method supports patch semantics. */ + await gapi.client.placements.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing placement. */ + await gapi.client.placements.update({ + profileId: "profileId", + }); + /** Gets one platform type by ID. */ + await gapi.client.platformTypes.get({ + id: "id", + profileId: "profileId", + }); + /** Retrieves a list of platform types. */ + await gapi.client.platformTypes.list({ + profileId: "profileId", + }); + /** Gets one postal code by ID. */ + await gapi.client.postalCodes.get({ + code: "code", + profileId: "profileId", + }); + /** Retrieves a list of postal codes. */ + await gapi.client.postalCodes.list({ + profileId: "profileId", + }); + /** Gets one project by ID. */ + await gapi.client.projects.get({ + id: "id", + profileId: "profileId", + }); + /** Retrieves a list of projects, possibly filtered. This method supports paging. */ + await gapi.client.projects.list({ + advertiserIds: "advertiserIds", + ids: "ids", + maxResults: 3, + pageToken: "pageToken", + profileId: "profileId", + searchString: "searchString", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Retrieves a list of regions. */ + await gapi.client.regions.list({ + profileId: "profileId", + }); + /** Gets one remarketing list share by remarketing list ID. */ + await gapi.client.remarketingListShares.get({ + profileId: "profileId", + remarketingListId: "remarketingListId", + }); + /** Updates an existing remarketing list share. This method supports patch semantics. */ + await gapi.client.remarketingListShares.patch({ + profileId: "profileId", + remarketingListId: "remarketingListId", + }); + /** Updates an existing remarketing list share. */ + await gapi.client.remarketingListShares.update({ + profileId: "profileId", + }); + /** Gets one remarketing list by ID. */ + await gapi.client.remarketingLists.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new remarketing list. */ + await gapi.client.remarketingLists.insert({ + profileId: "profileId", + }); + /** Retrieves a list of remarketing lists, possibly filtered. This method supports paging. */ + await gapi.client.remarketingLists.list({ + active: true, + advertiserId: "advertiserId", + floodlightActivityId: "floodlightActivityId", + maxResults: 4, + name: "name", + pageToken: "pageToken", + profileId: "profileId", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Updates an existing remarketing list. This method supports patch semantics. */ + await gapi.client.remarketingLists.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing remarketing list. */ + await gapi.client.remarketingLists.update({ + profileId: "profileId", + }); + /** Deletes a report by its ID. */ + await gapi.client.reports.delete({ + profileId: "profileId", + reportId: "reportId", + }); + /** Retrieves a report by its ID. */ + await gapi.client.reports.get({ + profileId: "profileId", + reportId: "reportId", + }); + /** Creates a report. */ + await gapi.client.reports.insert({ + profileId: "profileId", + }); + /** Retrieves list of reports. */ + await gapi.client.reports.list({ + maxResults: 1, + pageToken: "pageToken", + profileId: "profileId", + scope: "scope", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Updates a report. This method supports patch semantics. */ + await gapi.client.reports.patch({ + profileId: "profileId", + reportId: "reportId", + }); + /** Runs a report. */ + await gapi.client.reports.run({ + profileId: "profileId", + reportId: "reportId", + synchronous: true, + }); + /** Updates a report. */ + await gapi.client.reports.update({ + profileId: "profileId", + reportId: "reportId", + }); + /** Gets one site by ID. */ + await gapi.client.sites.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new site. */ + await gapi.client.sites.insert({ + profileId: "profileId", + }); + /** Retrieves a list of sites, possibly filtered. This method supports paging. */ + await gapi.client.sites.list({ + acceptsInStreamVideoPlacements: true, + acceptsInterstitialPlacements: true, + acceptsPublisherPaidPlacements: true, + adWordsSite: true, + approved: true, + campaignIds: "campaignIds", + directorySiteIds: "directorySiteIds", + ids: "ids", + maxResults: 9, + pageToken: "pageToken", + profileId: "profileId", + searchString: "searchString", + sortField: "sortField", + sortOrder: "sortOrder", + subaccountId: "subaccountId", + unmappedSite: true, + }); + /** Updates an existing site. This method supports patch semantics. */ + await gapi.client.sites.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing site. */ + await gapi.client.sites.update({ + profileId: "profileId", + }); + /** Gets one size by ID. */ + await gapi.client.sizes.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new size. */ + await gapi.client.sizes.insert({ + profileId: "profileId", + }); + /** Retrieves a list of sizes, possibly filtered. */ + await gapi.client.sizes.list({ + height: 1, + iabStandard: true, + ids: "ids", + profileId: "profileId", + width: 5, + }); + /** Gets one subaccount by ID. */ + await gapi.client.subaccounts.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new subaccount. */ + await gapi.client.subaccounts.insert({ + profileId: "profileId", + }); + /** Gets a list of subaccounts, possibly filtered. This method supports paging. */ + await gapi.client.subaccounts.list({ + ids: "ids", + maxResults: 2, + pageToken: "pageToken", + profileId: "profileId", + searchString: "searchString", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Updates an existing subaccount. This method supports patch semantics. */ + await gapi.client.subaccounts.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing subaccount. */ + await gapi.client.subaccounts.update({ + profileId: "profileId", + }); + /** Gets one remarketing list by ID. */ + await gapi.client.targetableRemarketingLists.get({ + id: "id", + profileId: "profileId", + }); + /** Retrieves a list of targetable remarketing lists, possibly filtered. This method supports paging. */ + await gapi.client.targetableRemarketingLists.list({ + active: true, + advertiserId: "advertiserId", + maxResults: 3, + name: "name", + pageToken: "pageToken", + profileId: "profileId", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Gets one targeting template by ID. */ + await gapi.client.targetingTemplates.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new targeting template. */ + await gapi.client.targetingTemplates.insert({ + profileId: "profileId", + }); + /** Retrieves a list of targeting templates, optionally filtered. This method supports paging. */ + await gapi.client.targetingTemplates.list({ + advertiserId: "advertiserId", + ids: "ids", + maxResults: 3, + pageToken: "pageToken", + profileId: "profileId", + searchString: "searchString", + sortField: "sortField", + sortOrder: "sortOrder", + }); + /** Updates an existing targeting template. This method supports patch semantics. */ + await gapi.client.targetingTemplates.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing targeting template. */ + await gapi.client.targetingTemplates.update({ + profileId: "profileId", + }); + /** Gets one user profile by ID. */ + await gapi.client.userProfiles.get({ + profileId: "profileId", + }); + /** Retrieves list of user profiles for a user. */ + await gapi.client.userProfiles.list({ + }); + /** Gets one user role permission group by ID. */ + await gapi.client.userRolePermissionGroups.get({ + id: "id", + profileId: "profileId", + }); + /** Gets a list of all supported user role permission groups. */ + await gapi.client.userRolePermissionGroups.list({ + profileId: "profileId", + }); + /** Gets one user role permission by ID. */ + await gapi.client.userRolePermissions.get({ + id: "id", + profileId: "profileId", + }); + /** Gets a list of user role permissions, possibly filtered. */ + await gapi.client.userRolePermissions.list({ + ids: "ids", + profileId: "profileId", + }); + /** Deletes an existing user role. */ + await gapi.client.userRoles.delete({ + id: "id", + profileId: "profileId", + }); + /** Gets one user role by ID. */ + await gapi.client.userRoles.get({ + id: "id", + profileId: "profileId", + }); + /** Inserts a new user role. */ + await gapi.client.userRoles.insert({ + profileId: "profileId", + }); + /** Retrieves a list of user roles, possibly filtered. This method supports paging. */ + await gapi.client.userRoles.list({ + accountUserRoleOnly: true, + ids: "ids", + maxResults: 3, + pageToken: "pageToken", + profileId: "profileId", + searchString: "searchString", + sortField: "sortField", + sortOrder: "sortOrder", + subaccountId: "subaccountId", + }); + /** Updates an existing user role. This method supports patch semantics. */ + await gapi.client.userRoles.patch({ + id: "id", + profileId: "profileId", + }); + /** Updates an existing user role. */ + await gapi.client.userRoles.update({ + profileId: "profileId", + }); + /** Gets one video format by ID. */ + await gapi.client.videoFormats.get({ + id: 1, + profileId: "profileId", + }); + /** Lists available video formats. */ + await gapi.client.videoFormats.list({ + profileId: "profileId", + }); + } +}); diff --git a/types/gapi.client.dfareporting/index.d.ts b/types/gapi.client.dfareporting/index.d.ts new file mode 100644 index 0000000000..e8050193e4 --- /dev/null +++ b/types/gapi.client.dfareporting/index.d.ts @@ -0,0 +1,9850 @@ +// Type definitions for Google DCM/DFA Reporting And Trafficking API v2.8 2.8 +// Project: https://developers.google.com/doubleclick-advertisers/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/dfareporting/v2.8/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load DCM/DFA Reporting And Trafficking API v2.8 */ + function load(name: "dfareporting", version: "v2.8"): PromiseLike<void>; + function load(name: "dfareporting", version: "v2.8", callback: () => any): void; + + const accountActiveAdSummaries: dfareporting.AccountActiveAdSummariesResource; + + const accountPermissionGroups: dfareporting.AccountPermissionGroupsResource; + + const accountPermissions: dfareporting.AccountPermissionsResource; + + const accountUserProfiles: dfareporting.AccountUserProfilesResource; + + const accounts: dfareporting.AccountsResource; + + const ads: dfareporting.AdsResource; + + const advertiserGroups: dfareporting.AdvertiserGroupsResource; + + const advertisers: dfareporting.AdvertisersResource; + + const browsers: dfareporting.BrowsersResource; + + const campaignCreativeAssociations: dfareporting.CampaignCreativeAssociationsResource; + + const campaigns: dfareporting.CampaignsResource; + + const changeLogs: dfareporting.ChangeLogsResource; + + const cities: dfareporting.CitiesResource; + + const connectionTypes: dfareporting.ConnectionTypesResource; + + const contentCategories: dfareporting.ContentCategoriesResource; + + const conversions: dfareporting.ConversionsResource; + + const countries: dfareporting.CountriesResource; + + const creativeAssets: dfareporting.CreativeAssetsResource; + + const creativeFieldValues: dfareporting.CreativeFieldValuesResource; + + const creativeFields: dfareporting.CreativeFieldsResource; + + const creativeGroups: dfareporting.CreativeGroupsResource; + + const creatives: dfareporting.CreativesResource; + + const dimensionValues: dfareporting.DimensionValuesResource; + + const directorySiteContacts: dfareporting.DirectorySiteContactsResource; + + const directorySites: dfareporting.DirectorySitesResource; + + const dynamicTargetingKeys: dfareporting.DynamicTargetingKeysResource; + + const eventTags: dfareporting.EventTagsResource; + + const files: dfareporting.FilesResource; + + const floodlightActivities: dfareporting.FloodlightActivitiesResource; + + const floodlightActivityGroups: dfareporting.FloodlightActivityGroupsResource; + + const floodlightConfigurations: dfareporting.FloodlightConfigurationsResource; + + const inventoryItems: dfareporting.InventoryItemsResource; + + const landingPages: dfareporting.LandingPagesResource; + + const languages: dfareporting.LanguagesResource; + + const metros: dfareporting.MetrosResource; + + const mobileCarriers: dfareporting.MobileCarriersResource; + + const operatingSystemVersions: dfareporting.OperatingSystemVersionsResource; + + const operatingSystems: dfareporting.OperatingSystemsResource; + + const orderDocuments: dfareporting.OrderDocumentsResource; + + const orders: dfareporting.OrdersResource; + + const placementGroups: dfareporting.PlacementGroupsResource; + + const placementStrategies: dfareporting.PlacementStrategiesResource; + + const placements: dfareporting.PlacementsResource; + + const platformTypes: dfareporting.PlatformTypesResource; + + const postalCodes: dfareporting.PostalCodesResource; + + const projects: dfareporting.ProjectsResource; + + const regions: dfareporting.RegionsResource; + + const remarketingListShares: dfareporting.RemarketingListSharesResource; + + const remarketingLists: dfareporting.RemarketingListsResource; + + const reports: dfareporting.ReportsResource; + + const sites: dfareporting.SitesResource; + + const sizes: dfareporting.SizesResource; + + const subaccounts: dfareporting.SubaccountsResource; + + const targetableRemarketingLists: dfareporting.TargetableRemarketingListsResource; + + const targetingTemplates: dfareporting.TargetingTemplatesResource; + + const userProfiles: dfareporting.UserProfilesResource; + + const userRolePermissionGroups: dfareporting.UserRolePermissionGroupsResource; + + const userRolePermissions: dfareporting.UserRolePermissionsResource; + + const userRoles: dfareporting.UserRolesResource; + + const videoFormats: dfareporting.VideoFormatsResource; + + namespace dfareporting { + interface Account { + /** Account permissions assigned to this account. */ + accountPermissionIds?: string[]; + /** Profile for this account. This is a read-only field that can be left blank. */ + accountProfile?: string; + /** Whether this account is active. */ + active?: boolean; + /** Maximum number of active ads allowed for this account. */ + activeAdsLimitTier?: string; + /** Whether to serve creatives with Active View tags. If disabled, viewability data will not be available for any impressions. */ + activeViewOptOut?: boolean; + /** User role permissions available to the user roles of this account. */ + availablePermissionIds?: string[]; + /** ID of the country associated with this account. */ + countryId?: string; + /** + * ID of currency associated with this account. This is a required field. + * Acceptable values are: + * - "1" for USD + * - "2" for GBP + * - "3" for ESP + * - "4" for SEK + * - "5" for CAD + * - "6" for JPY + * - "7" for DEM + * - "8" for AUD + * - "9" for FRF + * - "10" for ITL + * - "11" for DKK + * - "12" for NOK + * - "13" for FIM + * - "14" for ZAR + * - "15" for IEP + * - "16" for NLG + * - "17" for EUR + * - "18" for KRW + * - "19" for TWD + * - "20" for SGD + * - "21" for CNY + * - "22" for HKD + * - "23" for NZD + * - "24" for MYR + * - "25" for BRL + * - "26" for PTE + * - "27" for MXP + * - "28" for CLP + * - "29" for TRY + * - "30" for ARS + * - "31" for PEN + * - "32" for ILS + * - "33" for CHF + * - "34" for VEF + * - "35" for COP + * - "36" for GTQ + * - "37" for PLN + * - "39" for INR + * - "40" for THB + * - "41" for IDR + * - "42" for CZK + * - "43" for RON + * - "44" for HUF + * - "45" for RUB + * - "46" for AED + * - "47" for BGN + * - "48" for HRK + * - "49" for MXN + */ + currencyId?: string; + /** Default placement dimensions for this account. */ + defaultCreativeSizeId?: string; + /** Description of this account. */ + description?: string; + /** ID of this account. This is a read-only, auto-generated field. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#account". */ + kind?: string; + /** + * Locale of this account. + * Acceptable values are: + * - "cs" (Czech) + * - "de" (German) + * - "en" (English) + * - "en-GB" (English United Kingdom) + * - "es" (Spanish) + * - "fr" (French) + * - "it" (Italian) + * - "ja" (Japanese) + * - "ko" (Korean) + * - "pl" (Polish) + * - "pt-BR" (Portuguese Brazil) + * - "ru" (Russian) + * - "sv" (Swedish) + * - "tr" (Turkish) + * - "zh-CN" (Chinese Simplified) + * - "zh-TW" (Chinese Traditional) + */ + locale?: string; + /** Maximum image size allowed for this account, in kilobytes. Value must be greater than or equal to 1. */ + maximumImageSize?: string; + /** Name of this account. This is a required field, and must be less than 128 characters long and be globally unique. */ + name?: string; + /** Whether campaigns created in this account will be enabled for Nielsen OCR reach ratings by default. */ + nielsenOcrEnabled?: boolean; + /** Reporting configuration of this account. */ + reportsConfiguration?: ReportsConfiguration; + /** Share Path to Conversion reports with Twitter. */ + shareReportsWithTwitter?: boolean; + /** File size limit in kilobytes of Rich Media teaser creatives. Acceptable values are 1 to 10240, inclusive. */ + teaserSizeLimit?: string; + } + interface AccountActiveAdSummary { + /** ID of the account. */ + accountId?: string; + /** Ads that have been activated for the account */ + activeAds?: string; + /** Maximum number of active ads allowed for the account. */ + activeAdsLimitTier?: string; + /** Ads that can be activated for the account. */ + availableAds?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountActiveAdSummary". */ + kind?: string; + } + interface AccountPermission { + /** + * Account profiles associated with this account permission. + * + * Possible values are: + * - "ACCOUNT_PROFILE_BASIC" + * - "ACCOUNT_PROFILE_STANDARD" + */ + accountProfiles?: string[]; + /** ID of this account permission. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermission". */ + kind?: string; + /** Administrative level required to enable this account permission. */ + level?: string; + /** Name of this account permission. */ + name?: string; + /** Permission group of this account permission. */ + permissionGroupId?: string; + } + interface AccountPermissionGroup { + /** ID of this account permission group. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermissionGroup". */ + kind?: string; + /** Name of this account permission group. */ + name?: string; + } + interface AccountPermissionGroupsListResponse { + /** Account permission group collection. */ + accountPermissionGroups?: AccountPermissionGroup[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermissionGroupsListResponse". */ + kind?: string; + } + interface AccountPermissionsListResponse { + /** Account permission collection. */ + accountPermissions?: AccountPermission[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermissionsListResponse". */ + kind?: string; + } + interface AccountUserProfile { + /** Account ID of the user profile. This is a read-only field that can be left blank. */ + accountId?: string; + /** Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable. */ + active?: boolean; + /** Filter that describes which advertisers are visible to the user profile. */ + advertiserFilter?: ObjectFilter; + /** Filter that describes which campaigns are visible to the user profile. */ + campaignFilter?: ObjectFilter; + /** Comments for this user profile. */ + comments?: string; + /** Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion. */ + email?: string; + /** ID of the user profile. This is a read-only, auto-generated field. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile". */ + kind?: string; + /** + * Locale of the user profile. This is a required field. + * Acceptable values are: + * - "cs" (Czech) + * - "de" (German) + * - "en" (English) + * - "en-GB" (English United Kingdom) + * - "es" (Spanish) + * - "fr" (French) + * - "it" (Italian) + * - "ja" (Japanese) + * - "ko" (Korean) + * - "pl" (Polish) + * - "pt-BR" (Portuguese Brazil) + * - "ru" (Russian) + * - "sv" (Swedish) + * - "tr" (Turkish) + * - "zh-CN" (Chinese Simplified) + * - "zh-TW" (Chinese Traditional) + */ + locale?: string; + /** + * Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any + * of the following characters: "&;"#%,". + */ + name?: string; + /** Filter that describes which sites are visible to the user profile. */ + siteFilter?: ObjectFilter; + /** Subaccount ID of the user profile. This is a read-only field that can be left blank. */ + subaccountId?: string; + /** Trafficker type of this user profile. */ + traffickerType?: string; + /** User type of the user profile. This is a read-only field that can be left blank. */ + userAccessType?: string; + /** Filter that describes which user roles are visible to the user profile. */ + userRoleFilter?: ObjectFilter; + /** User role ID of the user profile. This is a required field. */ + userRoleId?: string; + } + interface AccountUserProfilesListResponse { + /** Account user profile collection. */ + accountUserProfiles?: AccountUserProfile[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfilesListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + } + interface AccountsListResponse { + /** Account collection. */ + accounts?: Account[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountsListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + } + interface Activities { + /** List of activity filters. The dimension values need to be all either of type "dfa:activity" or "dfa:activityGroup". */ + filters?: DimensionValue[]; + /** The kind of resource this is, in this case dfareporting#activities. */ + kind?: string; + /** List of names of floodlight activity metrics. */ + metricNames?: string[]; + } + interface Ad { + /** Account ID of this ad. This is a read-only field that can be left blank. */ + accountId?: string; + /** Whether this ad is active. When true, archived must be false. */ + active?: boolean; + /** Advertiser ID of this ad. This is a required field on insertion. */ + advertiserId?: string; + /** Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. */ + advertiserIdDimensionValue?: DimensionValue; + /** Whether this ad is archived. When true, active must be false. */ + archived?: boolean; + /** Audience segment ID that is being targeted for this ad. Applicable when type is AD_SERVING_STANDARD_AD. */ + audienceSegmentId?: string; + /** Campaign ID of this ad. This is a required field on insertion. */ + campaignId?: string; + /** Dimension value for the ID of the campaign. This is a read-only, auto-generated field. */ + campaignIdDimensionValue?: DimensionValue; + /** Click-through URL for this ad. This is a required field on insertion. Applicable when type is AD_SERVING_CLICK_TRACKER. */ + clickThroughUrl?: ClickThroughUrl; + /** Click-through URL suffix properties for this ad. Applies to the URL in the ad or (if overriding ad properties) the URL in the creative. */ + clickThroughUrlSuffixProperties?: ClickThroughUrlSuffixProperties; + /** Comments for this ad. */ + comments?: string; + /** + * Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and DISPLAY_INTERSTITIAL refer to either rendering on desktop or on + * mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are only used for existing default ads. New + * mobile placements must be assigned DISPLAY or DISPLAY_INTERSTITIAL and default ads created for those placements will be limited to those compatibility + * types. IN_STREAM_VIDEO refers to rendering in-stream video ads developed with the VAST standard. + */ + compatibility?: string; + /** Information about the creation of this ad. This is a read-only field. */ + createInfo?: LastModifiedInfo; + /** + * Creative group assignments for this ad. Applicable when type is AD_SERVING_CLICK_TRACKER. Only one assignment per creative group number is allowed for + * a maximum of two assignments. + */ + creativeGroupAssignments?: CreativeGroupAssignment[]; + /** + * Creative rotation for this ad. Applicable when type is AD_SERVING_DEFAULT_AD, AD_SERVING_STANDARD_AD, or AD_SERVING_TRACKING. When type is + * AD_SERVING_DEFAULT_AD, this field should have exactly one creativeAssignment. + */ + creativeRotation?: CreativeRotation; + /** + * Time and day targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is + * AD_SERVING_STANDARD_AD. + */ + dayPartTargeting?: DayPartTargeting; + /** Default click-through event tag properties for this ad. */ + defaultClickThroughEventTagProperties?: DefaultClickThroughEventTagProperties; + /** + * Delivery schedule information for this ad. Applicable when type is AD_SERVING_STANDARD_AD or AD_SERVING_TRACKING. This field along with subfields + * priority and impressionRatio are required on insertion when type is AD_SERVING_STANDARD_AD. + */ + deliverySchedule?: DeliverySchedule; + /** + * Whether this ad is a dynamic click tracker. Applicable when type is AD_SERVING_CLICK_TRACKER. This is a required field on insert, and is read-only + * after insert. + */ + dynamicClickTracker?: boolean; + /** Date and time that this ad should stop serving. Must be later than the start time. This is a required field on insertion. */ + endTime?: string; + /** Event tag overrides for this ad. */ + eventTagOverrides?: EventTagOverride[]; + /** + * Geographical targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is + * AD_SERVING_STANDARD_AD. + */ + geoTargeting?: GeoTargeting; + /** ID of this ad. This is a read-only, auto-generated field. */ + id?: string; + /** Dimension value for the ID of this ad. This is a read-only, auto-generated field. */ + idDimensionValue?: DimensionValue; + /** + * Key-value targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is + * AD_SERVING_STANDARD_AD. + */ + keyValueTargetingExpression?: KeyValueTargetingExpression; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#ad". */ + kind?: string; + /** + * Language targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is + * AD_SERVING_STANDARD_AD. + */ + languageTargeting?: LanguageTargeting; + /** Information about the most recent modification of this ad. This is a read-only field. */ + lastModifiedInfo?: LastModifiedInfo; + /** Name of this ad. This is a required field and must be less than 256 characters long. */ + name?: string; + /** Placement assignments for this ad. */ + placementAssignments?: PlacementAssignment[]; + /** + * Remarketing list targeting expression for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is + * AD_SERVING_STANDARD_AD. + */ + remarketingListExpression?: ListTargetingExpression; + /** Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. */ + size?: Size; + /** Whether this ad is ssl compliant. This is a read-only field that is auto-generated when the ad is inserted or updated. */ + sslCompliant?: boolean; + /** Whether this ad requires ssl. This is a read-only field that is auto-generated when the ad is inserted or updated. */ + sslRequired?: boolean; + /** Date and time that this ad should start serving. If creating an ad, this field must be a time in the future. This is a required field on insertion. */ + startTime?: string; + /** Subaccount ID of this ad. This is a read-only field that can be left blank. */ + subaccountId?: string; + /** + * Targeting template ID, used to apply preconfigured targeting information to this ad. This cannot be set while any of dayPartTargeting, geoTargeting, + * keyValueTargetingExpression, languageTargeting, remarketingListExpression, or technologyTargeting are set. Applicable when type is + * AD_SERVING_STANDARD_AD. + */ + targetingTemplateId?: string; + /** + * Technology platform targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is + * AD_SERVING_STANDARD_AD. + */ + technologyTargeting?: TechnologyTargeting; + /** Type of ad. This is a required field on insertion. Note that default ads (AD_SERVING_DEFAULT_AD) cannot be created directly (see Creative resource). */ + type?: string; + } + interface AdBlockingConfiguration { + /** Click-through URL used by brand-neutral ads. This is a required field when overrideClickThroughUrl is set to true. */ + clickThroughUrl?: string; + /** + * ID of a creative bundle to use for this campaign. If set, brand-neutral ads will select creatives from this bundle. Otherwise, a default transparent + * pixel will be used. + */ + creativeBundleId?: string; + /** + * Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and + * placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings. + */ + enabled?: boolean; + /** + * Whether the brand-neutral ad's click-through URL comes from the campaign's creative bundle or the override URL. Must be set to true if ad blocking is + * enabled and no creative bundle is configured. + */ + overrideClickThroughUrl?: boolean; + } + interface AdSlot { + /** Comment for this ad slot. */ + comment?: string; + /** + * Ad slot compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop, mobile devices or in mobile apps for regular or + * interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads + * developed with the VAST standard. + */ + compatibility?: string; + /** Height of this ad slot. */ + height?: string; + /** ID of the placement from an external platform that is linked to this ad slot. */ + linkedPlacementId?: string; + /** Name of this ad slot. */ + name?: string; + /** Payment source type of this ad slot. */ + paymentSourceType?: string; + /** Primary ad slot of a roadblock inventory item. */ + primary?: boolean; + /** Width of this ad slot. */ + width?: string; + } + interface AdsListResponse { + /** Ad collection. */ + ads?: Ad[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#adsListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + } + interface Advertiser { + /** Account ID of this advertiser.This is a read-only field that can be left blank. */ + accountId?: string; + /** + * ID of the advertiser group this advertiser belongs to. You can group advertisers for reporting purposes, allowing you to see aggregated information for + * all advertisers in each group. + */ + advertiserGroupId?: string; + /** Suffix added to click-through URL of ad creative associations under this advertiser. Must be less than 129 characters long. */ + clickThroughUrlSuffix?: string; + /** ID of the click-through event tag to apply by default to the landing pages of this advertiser's campaigns. */ + defaultClickThroughEventTagId?: string; + /** Default email address used in sender field for tag emails. */ + defaultEmail?: string; + /** + * Floodlight configuration ID of this advertiser. The floodlight configuration ID will be created automatically, so on insert this field should be left + * blank. This field can be set to another advertiser's floodlight configuration ID in order to share that advertiser's floodlight configuration with this + * advertiser, so long as: + * - This advertiser's original floodlight configuration is not already associated with floodlight activities or floodlight activity groups. + * - This advertiser's original floodlight configuration is not already shared with another advertiser. + */ + floodlightConfigurationId?: string; + /** Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field. */ + floodlightConfigurationIdDimensionValue?: DimensionValue; + /** ID of this advertiser. This is a read-only, auto-generated field. */ + id?: string; + /** Dimension value for the ID of this advertiser. This is a read-only, auto-generated field. */ + idDimensionValue?: DimensionValue; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiser". */ + kind?: string; + /** Name of this advertiser. This is a required field and must be less than 256 characters long and unique among advertisers of the same account. */ + name?: string; + /** + * Original floodlight configuration before any sharing occurred. Set the floodlightConfigurationId of this advertiser to + * originalFloodlightConfigurationId to unshare the advertiser's current floodlight configuration. You cannot unshare an advertiser's floodlight + * configuration if the shared configuration has activities associated with any campaign or placement. + */ + originalFloodlightConfigurationId?: string; + /** Status of this advertiser. */ + status?: string; + /** Subaccount ID of this advertiser.This is a read-only field that can be left blank. */ + subaccountId?: string; + /** Suspension status of this advertiser. */ + suspended?: boolean; + } + interface AdvertiserGroup { + /** Account ID of this advertiser group. This is a read-only field that can be left blank. */ + accountId?: string; + /** ID of this advertiser group. This is a read-only, auto-generated field. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiserGroup". */ + kind?: string; + /** + * Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same + * account. + */ + name?: string; + } + interface AdvertiserGroupsListResponse { + /** Advertiser group collection. */ + advertiserGroups?: AdvertiserGroup[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiserGroupsListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + } + interface AdvertisersListResponse { + /** Advertiser collection. */ + advertisers?: Advertiser[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertisersListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + } + interface AudienceSegment { + /** + * Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment + * group. Acceptable values are 1 to 1000, inclusive. + */ + allocation?: number; + /** ID of this audience segment. This is a read-only, auto-generated field. */ + id?: string; + /** Name of this audience segment. This is a required field and must be less than 65 characters long. */ + name?: string; + } + interface AudienceSegmentGroup { + /** Audience segments assigned to this group. The number of segments must be between 2 and 100. */ + audienceSegments?: AudienceSegment[]; + /** ID of this audience segment group. This is a read-only, auto-generated field. */ + id?: string; + /** Name of this audience segment group. This is a required field and must be less than 65 characters long. */ + name?: string; + } + interface Browser { + /** ID referring to this grouping of browser and version numbers. This is the ID used for targeting. */ + browserVersionId?: string; + /** DART ID of this browser. This is the ID used when generating reports. */ + dartId?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#browser". */ + kind?: string; + /** + * Major version number (leftmost number) of this browser. For example, for Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk (*) may be + * used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, + * Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where + * the ad server knows the browser is Firefox but can't tell which version it is. + */ + majorVersion?: string; + /** + * Minor version number (number after first dot on left) of this browser. For example, for Chrome 5.0.375.86 beta, this field should be set to 0. An + * asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be + * identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox + * ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is. + */ + minorVersion?: string; + /** Name of this browser. */ + name?: string; + } + interface BrowsersListResponse { + /** Browser collection. */ + browsers?: Browser[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#browsersListResponse". */ + kind?: string; + } + interface Campaign { + /** Account ID of this campaign. This is a read-only field that can be left blank. */ + accountId?: string; + /** Ad blocking settings for this campaign. */ + adBlockingConfiguration?: AdBlockingConfiguration; + /** Additional creative optimization configurations for the campaign. */ + additionalCreativeOptimizationConfigurations?: CreativeOptimizationConfiguration[]; + /** Advertiser group ID of the associated advertiser. */ + advertiserGroupId?: string; + /** Advertiser ID of this campaign. This is a required field. */ + advertiserId?: string; + /** Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field. */ + advertiserIdDimensionValue?: DimensionValue; + /** Whether this campaign has been archived. */ + archived?: boolean; + /** Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups. */ + audienceSegmentGroups?: AudienceSegmentGroup[]; + /** Billing invoice code included in the DCM client billing invoices associated with the campaign. */ + billingInvoiceCode?: string; + /** Click-through URL suffix override properties for this campaign. */ + clickThroughUrlSuffixProperties?: ClickThroughUrlSuffixProperties; + /** Arbitrary comments about this campaign. Must be less than 256 characters long. */ + comment?: string; + /** Information about the creation of this campaign. This is a read-only field. */ + createInfo?: LastModifiedInfo; + /** List of creative group IDs that are assigned to the campaign. */ + creativeGroupIds?: string[]; + /** Creative optimization configuration for the campaign. */ + creativeOptimizationConfiguration?: CreativeOptimizationConfiguration; + /** Click-through event tag ID override properties for this campaign. */ + defaultClickThroughEventTagProperties?: DefaultClickThroughEventTagProperties; + /** + * Date on which the campaign will stop running. On insert, the end date must be today or a future date. The end date must be later than or be the same as + * the start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective campaign run date is just that day only, 6/25/2015. + * The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This is a required field. + */ + endDate?: string; + /** Overrides that can be used to activate or deactivate advertiser event tags. */ + eventTagOverrides?: EventTagOverride[]; + /** External ID for this campaign. */ + externalId?: string; + /** ID of this campaign. This is a read-only auto-generated field. */ + id?: string; + /** Dimension value for the ID of this campaign. This is a read-only, auto-generated field. */ + idDimensionValue?: DimensionValue; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign". */ + kind?: string; + /** Information about the most recent modification of this campaign. This is a read-only field. */ + lastModifiedInfo?: LastModifiedInfo; + /** Lookback window settings for the campaign. */ + lookbackConfiguration?: LookbackConfiguration; + /** Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser. */ + name?: string; + /** Whether Nielsen reports are enabled for this campaign. */ + nielsenOcrEnabled?: boolean; + /** + * Date on which the campaign starts running. The start date can be any date. The hours, minutes, and seconds of the start date should not be set, as + * doing so will result in an error. This is a required field. + */ + startDate?: string; + /** Subaccount ID of this campaign. This is a read-only field that can be left blank. */ + subaccountId?: string; + /** Campaign trafficker contact emails. */ + traffickerEmails?: string[]; + } + interface CampaignCreativeAssociation { + /** ID of the creative associated with the campaign. This is a required field. */ + creativeId?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaignCreativeAssociation". */ + kind?: string; + } + interface CampaignCreativeAssociationsListResponse { + /** Campaign creative association collection */ + campaignCreativeAssociations?: CampaignCreativeAssociation[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaignCreativeAssociationsListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + } + interface CampaignsListResponse { + /** Campaign collection. */ + campaigns?: Campaign[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaignsListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + } + interface ChangeLog { + /** Account ID of the modified object. */ + accountId?: string; + /** Action which caused the change. */ + action?: string; + /** Time when the object was modified. */ + changeTime?: string; + /** Field name of the object which changed. */ + fieldName?: string; + /** ID of this change log. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#changeLog". */ + kind?: string; + /** New value of the object field. */ + newValue?: string; + /** ID of the object of this change log. The object could be a campaign, placement, ad, or other type. */ + objectId?: string; + /** Object type of the change log. */ + objectType?: string; + /** Old value of the object field. */ + oldValue?: string; + /** Subaccount ID of the modified object. */ + subaccountId?: string; + /** + * Transaction ID of this change log. When a single API call results in many changes, each change will have a separate ID in the change log but will share + * the same transactionId. + */ + transactionId?: string; + /** ID of the user who modified the object. */ + userProfileId?: string; + /** User profile name of the user who modified the object. */ + userProfileName?: string; + } + interface ChangeLogsListResponse { + /** Change log collection. */ + changeLogs?: ChangeLog[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#changeLogsListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + } + interface CitiesListResponse { + /** City collection. */ + cities?: City[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#citiesListResponse". */ + kind?: string; + } + interface City { + /** Country code of the country to which this city belongs. */ + countryCode?: string; + /** DART ID of the country to which this city belongs. */ + countryDartId?: string; + /** DART ID of this city. This is the ID used for targeting and generating reports. */ + dartId?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#city". */ + kind?: string; + /** Metro region code of the metro region (DMA) to which this city belongs. */ + metroCode?: string; + /** ID of the metro region (DMA) to which this city belongs. */ + metroDmaId?: string; + /** Name of this city. */ + name?: string; + /** Region code of the region to which this city belongs. */ + regionCode?: string; + /** DART ID of the region to which this city belongs. */ + regionDartId?: string; + } + interface ClickTag { + /** + * Advertiser event name associated with the click tag. This field is used by DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY when + * the primary asset type is not HTML_IMAGE. + */ + eventName?: string; + /** + * Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY creative assets, this field must match the value of the creative asset's + * creativeAssetId.name field. + */ + name?: string; + /** Parameter value for the specified click tag. This field contains a click-through url. */ + value?: string; + } + interface ClickThroughUrl { + /** + * Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: + * - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field. + * - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field. + * - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field. + */ + computedClickThroughUrl?: string; + /** Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset. */ + customClickThroughUrl?: string; + /** Whether the campaign default landing page is used. */ + defaultLandingPage?: boolean; + /** ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false. */ + landingPageId?: string; + } + interface ClickThroughUrlSuffixProperties { + /** Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long. */ + clickThroughUrlSuffix?: string; + /** Whether this entity should override the inherited click-through URL suffix with its own defined value. */ + overrideInheritedSuffix?: boolean; + } + interface CompanionClickThroughOverride { + /** Click-through URL of this companion click-through override. */ + clickThroughUrl?: ClickThroughUrl; + /** ID of the creative for this companion click-through override. */ + creativeId?: string; + } + interface CompanionSetting { + /** Whether companions are disabled for this placement. */ + companionsDisabled?: boolean; + /** Whitelist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes. */ + enabledSizes?: Size[]; + /** Whether to serve only static images as companions. */ + imageOnly?: boolean; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#companionSetting". */ + kind?: string; + } + interface CompatibleFields { + /** Contains items that are compatible to be selected for a report of type "CROSS_DIMENSION_REACH". */ + crossDimensionReachReportCompatibleFields?: CrossDimensionReachReportCompatibleFields; + /** Contains items that are compatible to be selected for a report of type "FLOODLIGHT". */ + floodlightReportCompatibleFields?: FloodlightReportCompatibleFields; + /** The kind of resource this is, in this case dfareporting#compatibleFields. */ + kind?: string; + /** Contains items that are compatible to be selected for a report of type "PATH_TO_CONVERSION". */ + pathToConversionReportCompatibleFields?: PathToConversionReportCompatibleFields; + /** Contains items that are compatible to be selected for a report of type "REACH". */ + reachReportCompatibleFields?: ReachReportCompatibleFields; + /** Contains items that are compatible to be selected for a report of type "STANDARD". */ + reportCompatibleFields?: ReportCompatibleFields; + } + interface ConnectionType { + /** ID of this connection type. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#connectionType". */ + kind?: string; + /** Name of this connection type. */ + name?: string; + } + interface ConnectionTypesListResponse { + /** Collection of connection types such as broadband and mobile. */ + connectionTypes?: ConnectionType[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#connectionTypesListResponse". */ + kind?: string; + } + interface ContentCategoriesListResponse { + /** Content category collection. */ + contentCategories?: ContentCategory[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#contentCategoriesListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + } + interface ContentCategory { + /** Account ID of this content category. This is a read-only field that can be left blank. */ + accountId?: string; + /** ID of this content category. This is a read-only, auto-generated field. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#contentCategory". */ + kind?: string; + /** + * Name of this content category. This is a required field and must be less than 256 characters long and unique among content categories of the same + * account. + */ + name?: string; + } + interface Conversion { + /** Whether the conversion was directed toward children. */ + childDirectedTreatment?: boolean; + /** Custom floodlight variables. */ + customVariables?: CustomFloodlightVariable[]; + /** + * The alphanumeric encrypted user ID. When set, encryptionInfo should also be specified. This field is mutually exclusive with + * encryptedUserIdCandidates[], mobileDeviceId and gclid. This or encryptedUserIdCandidates[] or mobileDeviceId or gclid is a required field. + */ + encryptedUserId?: string; + /** + * A list of the alphanumeric encrypted user IDs. Any user ID with exposure prior to the conversion timestamp will be used in the inserted conversion. If + * no such user ID is found then the conversion will be rejected with NO_COOKIE_MATCH_FOUND error. When set, encryptionInfo should also be specified. This + * field may only be used when calling batchinsert; it is not supported by batchupdate. This field is mutually exclusive with encryptedUserId, + * mobileDeviceId and gclid. This or encryptedUserId or mobileDeviceId or gclid is a required field. + */ + encryptedUserIdCandidates?: string[]; + /** Floodlight Activity ID of this conversion. This is a required field. */ + floodlightActivityId?: string; + /** Floodlight Configuration ID of this conversion. This is a required field. */ + floodlightConfigurationId?: string; + /** + * The Google click ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[] and mobileDeviceId. This or encryptedUserId or + * encryptedUserIdCandidates[] or mobileDeviceId is a required field. + */ + gclid?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#conversion". */ + kind?: string; + /** Whether Limit Ad Tracking is enabled. When set to true, the conversion will be used for reporting but not targeting. This will prevent remarketing. */ + limitAdTracking?: boolean; + /** + * The mobile device ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[] and gclid. This or encryptedUserId or + * encryptedUserIdCandidates[] or gclid is a required field. + */ + mobileDeviceId?: string; + /** The ordinal of the conversion. Use this field to control how conversions of the same user and day are de-duplicated. This is a required field. */ + ordinal?: string; + /** The quantity of the conversion. */ + quantity?: string; + /** The timestamp of conversion, in Unix epoch micros. This is a required field. */ + timestampMicros?: string; + /** The value of the conversion. */ + value?: number; + } + interface ConversionError { + /** The error code. */ + code?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#conversionError". */ + kind?: string; + /** A description of the error. */ + message?: string; + } + interface ConversionStatus { + /** The original conversion that was inserted or updated. */ + conversion?: Conversion; + /** A list of errors related to this conversion. */ + errors?: ConversionError[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#conversionStatus". */ + kind?: string; + } + interface ConversionsBatchInsertRequest { + /** The set of conversions to insert. */ + conversions?: Conversion[]; + /** + * Describes how encryptedUserId or encryptedUserIdCandidates[] is encrypted. This is a required field if encryptedUserId or encryptedUserIdCandidates[] + * is used. + */ + encryptionInfo?: EncryptionInfo; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#conversionsBatchInsertRequest". */ + kind?: string; + } + interface ConversionsBatchInsertResponse { + /** Indicates that some or all conversions failed to insert. */ + hasFailures?: boolean; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#conversionsBatchInsertResponse". */ + kind?: string; + /** The insert status of each conversion. Statuses are returned in the same order that conversions are inserted. */ + status?: ConversionStatus[]; + } + interface ConversionsBatchUpdateRequest { + /** The set of conversions to update. */ + conversions?: Conversion[]; + /** Describes how encryptedUserId is encrypted. This is a required field if encryptedUserId is used. */ + encryptionInfo?: EncryptionInfo; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#conversionsBatchUpdateRequest". */ + kind?: string; + } + interface ConversionsBatchUpdateResponse { + /** Indicates that some or all conversions failed to update. */ + hasFailures?: boolean; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#conversionsBatchUpdateResponse". */ + kind?: string; + /** The update status of each conversion. Statuses are returned in the same order that conversions are updated. */ + status?: ConversionStatus[]; + } + interface CountriesListResponse { + /** Country collection. */ + countries?: Country[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#countriesListResponse". */ + kind?: string; + } + interface Country { + /** Country code. */ + countryCode?: string; + /** DART ID of this country. This is the ID used for targeting and generating reports. */ + dartId?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#country". */ + kind?: string; + /** Name of this country. */ + name?: string; + /** Whether ad serving supports secure servers in this country. */ + sslEnabled?: boolean; + } + interface Creative { + /** Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types. */ + accountId?: string; + /** Whether the creative is active. Applicable to all creative types. */ + active?: boolean; + /** Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID. */ + adParameters?: string; + /** + * Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact + * the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all + * RICH_MEDIA, and all VPAID. + */ + adTagKeys?: string[]; + /** Advertiser ID of this creative. This is a required field. Applicable to all creative types. */ + advertiserId?: string; + /** + * Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. + * Applicable to the following creative types: FLASH_INPAGE. + */ + allowScriptAccess?: boolean; + /** Whether the creative is archived. Applicable to all creative types. */ + archived?: boolean; + /** Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. */ + artworkType?: string; + /** Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types. */ + authoringSource?: string; + /** Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. */ + authoringTool?: string; + /** Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. */ + autoAdvanceImages?: boolean; + /** + * The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. + * Applicable to the following creative types: FLASH_INPAGE. + */ + backgroundColor?: string; + /** + * Click-through URL for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary + * asset type is not HTML_IMAGE. + */ + backupImageClickThroughUrl?: string; + /** + * List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies + * are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to + * contain all features detected by DCM for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the + * creativeAssets' detected features. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not + * HTML_IMAGE. + */ + backupImageFeatures?: string[]; + /** Reporting label used for HTML5 banner backup image. Applicable to the following creative types: DISPLAY when the primary asset type is not HTML_IMAGE. */ + backupImageReportingLabel?: string; + /** + * Target window for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset + * type is not HTML_IMAGE. + */ + backupImageTargetWindow?: TargetWindow; + /** + * Click tags of the creative. For DISPLAY, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated + * with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, + * populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For DISPLAY_IMAGE_GALLERY creatives, there should be exactly one + * entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with + * the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER. Applicable + * to DISPLAY when the primary asset type is not HTML_IMAGE. + */ + clickTags?: ClickTag[]; + /** Industry standard ID assigned to creative for reach and frequency. Applicable to INSTREAM_VIDEO_REDIRECT creatives. */ + commercialId?: string; + /** + * List of companion creatives assigned to an in-Stream videocreative. Acceptable values include IDs of existing flash and image creatives. Applicable to + * the following creative types: all VPAID and all INSTREAM_VIDEO with dynamicAssetSelection set to false. + */ + companionCreatives?: string[]; + /** + * Compatibilities associated with this creative. This is a read-only field. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on + * mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. Only + * pre-existing creatives may have these compatibilities since new creatives will either be assigned DISPLAY or DISPLAY_INTERSTITIAL instead. + * IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. Applicable to all creative types. + * + * Acceptable values are: + * - "APP" + * - "APP_INTERSTITIAL" + * - "IN_STREAM_VIDEO" + * - "DISPLAY" + * - "DISPLAY_INTERSTITIAL" + */ + compatibility?: string[]; + /** + * Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to + * disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative type: FLASH_INPAGE. + * Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + */ + convertFlashToHtml5?: boolean; + /** + * List of counter events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. + * Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. + */ + counterCustomEvents?: CreativeCustomEvent[]; + /** Required if dynamicAssetSelection is true. */ + creativeAssetSelection?: CreativeAssetSelection; + /** Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT */ + creativeAssets?: CreativeAsset[]; + /** Creative field assignments for this creative. Applicable to all creative types. */ + creativeFieldAssignments?: CreativeFieldAssignment[]; + /** + * Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having + * to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative + * types: all RICH_MEDIA, and all VPAID. + */ + customKeyValues?: string[]; + /** + * Set this to true to enable the use of rules to target individual assets in this creative. When set to true creativeAssetSelection must be set. This + * also controls asset-level companions. When this is true, companion creatives should be assigned to creative assets. Learn more. Applicable to + * INSTREAM_VIDEO creatives. + */ + dynamicAssetSelection?: boolean; + /** + * List of exit events configured for the creative. For DISPLAY and DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from + * clickTags, For DISPLAY, an event is also created from the backupImageReportingLabel. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, + * all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + */ + exitCustomEvents?: CreativeCustomEvent[]; + /** + * OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web + * browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE. + */ + fsCommand?: FsCommand; + /** + * HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is true. Applicable to the following + * creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA. + */ + htmlCode?: string; + /** + * Whether HTML code is DCM-generated or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: + * FLASH_INPAGE and HTML5_BANNER. + */ + htmlCodeLocked?: boolean; + /** ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types. */ + id?: string; + /** Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types. */ + idDimensionValue?: DimensionValue; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative". */ + kind?: string; + /** Creative last modification information. This is a read-only field. Applicable to all creative types. */ + lastModifiedInfo?: LastModifiedInfo; + /** + * Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative + * types: all RICH_MEDIA, and all VPAID. + */ + latestTraffickedCreativeId?: string; + /** Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types. */ + name?: string; + /** Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA. */ + overrideCss?: string; + /** Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO. */ + progressOffset?: VideoOffset; + /** + * URL of hosted image or hosted video or another ad tag. For INSTREAM_VIDEO_REDIRECT creatives this is the in-stream video redirect URL. The standard for + * a VAST (Video Ad Serving Template) ad response allows for a redirect link to another VAST 2.0 or 3.0 call. This is a required field when applicable. + * Applicable to the following creative types: DISPLAY_REDIRECT, INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO_REDIRECT + */ + redirectUrl?: string; + /** ID of current rendering version. This is a read-only field. Applicable to all creative types. */ + renderingId?: string; + /** Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types. */ + renderingIdDimensionValue?: DimensionValue; + /** + * The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative + * types: all RICH_MEDIA, and all VPAID. + */ + requiredFlashPluginVersion?: string; + /** + * The internal Flash version for this creative as calculated by DoubleClick Studio. This is a read-only field. Applicable to the following creative + * types: FLASH_INPAGE all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + */ + requiredFlashVersion?: number; + /** + * Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is + * a required field when applicable; however for IMAGE, FLASH_INPAGE creatives, and for DISPLAY creatives with a primary asset of type HTML_IMAGE, if left + * blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: DISPLAY, + * DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. + */ + size?: Size; + /** Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO. */ + skipOffset?: VideoOffset; + /** Whether the user can choose to skip the creative. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. */ + skippable?: boolean; + /** Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types. */ + sslCompliant?: boolean; + /** Whether creative should be treated as SSL compliant even if the system scan shows it's not. Applicable to all creative types. */ + sslOverride?: boolean; + /** + * Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all + * RICH_MEDIA, and all VPAID. + */ + studioAdvertiserId?: string; + /** + * Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all + * RICH_MEDIA, and all VPAID. + */ + studioCreativeId?: string; + /** + * Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: + * all RICH_MEDIA, and all VPAID. + */ + studioTraffickedCreativeId?: string; + /** + * Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative + * types. + */ + subaccountId?: string; + /** Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA. */ + thirdPartyBackupImageImpressionsUrl?: string; + /** Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA. */ + thirdPartyRichMediaImpressionsUrl?: string; + /** Third-party URLs for tracking in-stream video creative events. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. */ + thirdPartyUrls?: ThirdPartyTrackingUrl[]; + /** + * List of timer events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. + * Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset is not + * HTML_IMAGE. + */ + timerCustomEvents?: CreativeCustomEvent[]; + /** Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. */ + totalFileSize?: string; + /** + * Type of this creative. This is a required field. Applicable to all creative types. + * + * Note: FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types. + */ + type?: string; + /** A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_VIDEO and VPAID. */ + universalAdId?: UniversalAdId; + /** + * The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during + * insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the + * version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich + * Media creative merging. Applicable to all creative types. + */ + version?: number; + /** Description of the video ad. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. */ + videoDescription?: string; + /** + * Creative video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, all RICH_MEDIA, and all + * VPAID. + */ + videoDuration?: number; + } + interface CreativeAsset { + /** + * Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to + * DISPLAY when the primary asset type is not HTML_IMAGE. + */ + actionScript3?: boolean; + /** + * Whether the video asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: + * INSTREAM_VIDEO and all VPAID. + */ + active?: boolean; + /** + * Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: + * RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL. + */ + alignment?: string; + /** Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. */ + artworkType?: string; + /** + * Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but + * the following creative types: all REDIRECT and TRACKING_TEXT. + */ + assetIdentifier?: CreativeAssetId; + /** Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. */ + backupImageExit?: CreativeCustomEvent; + /** Detected bit-rate for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. */ + bitRate?: number; + /** Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. */ + childAssetType?: string; + /** + * Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, + * applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. + */ + collapsedSize?: Size; + /** + * List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. + * Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true. + */ + companionCreativeIds?: string[]; + /** + * Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or + * equal to 0. + */ + customStartTimeValue?: number; + /** + * List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support + * in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. + * Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + */ + detectedFeatures?: string[]; + /** Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. */ + displayType?: string; + /** + * Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must + * be greater than or equal to 1. + */ + duration?: number; + /** Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. */ + durationType?: string; + /** Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. */ + expandedDimension?: Size; + /** + * File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and + * TRACKING_TEXT. + */ + fileSize?: string; + /** + * Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. + * Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + */ + flashVersion?: number; + /** Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. */ + hideFlashObjects?: boolean; + /** Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. */ + hideSelectionBoxes?: boolean; + /** Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. */ + horizontallyLocked?: boolean; + /** + * Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all + * REDIRECT and TRACKING_TEXT. + */ + id?: string; + /** Dimension value for the ID of the asset. This is a read-only, auto-generated field. */ + idDimensionValue?: DimensionValue; + /** Detected MIME type for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. */ + mimeType?: string; + /** + * Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. + * Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. + */ + offset?: OffsetPosition; + /** Whether the backup asset is original or changed by the user in DCM. Applicable to the following creative types: all RICH_MEDIA. */ + originalBackup?: boolean; + /** Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. */ + position?: OffsetPosition; + /** Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. */ + positionLeftUnit?: string; + /** + * Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative + * types: all RICH_MEDIA. + */ + positionTopUnit?: string; + /** Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. */ + progressiveServingUrl?: string; + /** + * Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset + * offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. + */ + pushdown?: boolean; + /** + * Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset + * pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. + * Acceptable values are 0 to 9.99, inclusive. + */ + pushdownDuration?: number; + /** + * Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required + * field. + * PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and + * all VPAID creatives. + * BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not + * HTML_IMAGE. + * ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. + * OTHER refers to assets from sources other than DCM, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. + * PARENT_VIDEO refers to videos uploaded by the user in DCM and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. + * TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. + * ALTERNATE_VIDEO refers to the DCM representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be + * added or removed within DCM. + * For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID + * creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. + */ + role?: string; + /** + * Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this + * field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, + * FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + */ + size?: Size; + /** Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. */ + sslCompliant?: boolean; + /** Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. */ + startTimeType?: string; + /** Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. */ + streamingServingUrl?: string; + /** Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. */ + transparency?: boolean; + /** Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. */ + verticallyLocked?: boolean; + /** Detected video duration for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. */ + videoDuration?: number; + /** + * Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, + * RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING. + */ + windowMode?: string; + /** + * zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT + * one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive. + */ + zIndex?: number; + /** File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. */ + zipFilename?: string; + /** Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. */ + zipFilesize?: string; + } + interface CreativeAssetId { + /** + * Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded + * asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed. + */ + name?: string; + /** Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE. */ + type?: string; + } + interface CreativeAssetMetadata { + /** ID of the creative asset. This is a required field. */ + assetIdentifier?: CreativeAssetId; + /** List of detected click tags for assets. This is a read-only auto-generated field. */ + clickTags?: ClickTag[]; + /** + * List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support + * in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. + */ + detectedFeatures?: string[]; + /** Numeric ID of the asset. This is a read-only, auto-generated field. */ + id?: string; + /** Dimension value for the numeric ID of the asset. This is a read-only, auto-generated field. */ + idDimensionValue?: DimensionValue; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeAssetMetadata". */ + kind?: string; + /** + * Rules validated during code generation that generated a warning. This is a read-only, auto-generated field. + * + * Possible values are: + * - "ADMOB_REFERENCED" + * - "ASSET_FORMAT_UNSUPPORTED_DCM" + * - "ASSET_INVALID" + * - "CLICK_TAG_HARD_CODED" + * - "CLICK_TAG_INVALID" + * - "CLICK_TAG_IN_GWD" + * - "CLICK_TAG_MISSING" + * - "CLICK_TAG_MORE_THAN_ONE" + * - "CLICK_TAG_NON_TOP_LEVEL" + * - "COMPONENT_UNSUPPORTED_DCM" + * - "ENABLER_UNSUPPORTED_METHOD_DCM" + * - "EXTERNAL_FILE_REFERENCED" + * - "FILE_DETAIL_EMPTY" + * - "FILE_TYPE_INVALID" + * - "GWD_PROPERTIES_INVALID" + * - "HTML5_FEATURE_UNSUPPORTED" + * - "LINKED_FILE_NOT_FOUND" + * - "MAX_FLASH_VERSION_11" + * - "MRAID_REFERENCED" + * - "NOT_SSL_COMPLIANT" + * - "ORPHANED_ASSET" + * - "PRIMARY_HTML_MISSING" + * - "SVG_INVALID" + * - "ZIP_INVALID" + */ + warnedValidationRules?: string[]; + } + interface CreativeAssetSelection { + /** + * A creativeAssets[].id. This should refer to one of the parent assets in this creative, and will be served if none of the rules match. This is a + * required field. + */ + defaultAssetId?: string; + /** + * Rules determine which asset will be served to a viewer. Rules will be evaluated in the order in which they are stored in this list. This list must + * contain at least one rule. Applicable to INSTREAM_VIDEO creatives. + */ + rules?: Rule[]; + } + interface CreativeAssignment { + /** Whether this creative assignment is active. When true, the creative will be included in the ad's rotation. */ + active?: boolean; + /** + * Whether applicable event tags should fire when this creative assignment is rendered. If this value is unset when the ad is inserted or updated, it will + * default to true for all creative types EXCEPT for INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO. + */ + applyEventTags?: boolean; + /** Click-through URL of the creative assignment. */ + clickThroughUrl?: ClickThroughUrl; + /** Companion creative overrides for this creative assignment. Applicable to video ads. */ + companionCreativeOverrides?: CompanionClickThroughOverride[]; + /** Creative group assignments for this creative assignment. Only one assignment per creative group number is allowed for a maximum of two assignments. */ + creativeGroupAssignments?: CreativeGroupAssignment[]; + /** ID of the creative to be assigned. This is a required field. */ + creativeId?: string; + /** Dimension value for the ID of the creative. This is a read-only, auto-generated field. */ + creativeIdDimensionValue?: DimensionValue; + /** Date and time that the assigned creative should stop serving. Must be later than the start time. */ + endTime?: string; + /** + * Rich media exit overrides for this creative assignment. + * Applicable when the creative type is any of the following: + * - DISPLAY + * - RICH_MEDIA_INPAGE + * - RICH_MEDIA_INPAGE_FLOATING + * - RICH_MEDIA_IM_EXPAND + * - RICH_MEDIA_EXPANDING + * - RICH_MEDIA_INTERSTITIAL_FLOAT + * - RICH_MEDIA_MOBILE_IN_APP + * - RICH_MEDIA_MULTI_FLOATING + * - RICH_MEDIA_PEEL_DOWN + * - VPAID_LINEAR + * - VPAID_NON_LINEAR + */ + richMediaExitOverrides?: RichMediaExitOverride[]; + /** + * Sequence number of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_SEQUENTIAL. Acceptable values are 1 to 65535, + * inclusive. + */ + sequence?: number; + /** Whether the creative to be assigned is SSL-compliant. This is a read-only field that is auto-generated when the ad is inserted or updated. */ + sslCompliant?: boolean; + /** Date and time that the assigned creative should start serving. */ + startTime?: string; + /** Weight of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_RANDOM. Value must be greater than or equal to 1. */ + weight?: number; + } + interface CreativeCustomEvent { + /** Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. */ + advertiserCustomEventId?: string; + /** User-entered name for the event. */ + advertiserCustomEventName?: string; + /** Type of the event. This is a read-only field. */ + advertiserCustomEventType?: string; + /** Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. */ + artworkLabel?: string; + /** Artwork type used by the creative.This is a read-only field. */ + artworkType?: string; + /** Exit URL of the event. This field is used only for exit events. */ + exitUrl?: string; + /** ID of this event. This is a required field and should not be modified after insertion. */ + id?: string; + /** Properties for rich media popup windows. This field is used only for exit events. */ + popupWindowProperties?: PopupWindowProperties; + /** Target type used by the event. */ + targetType?: string; + /** Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. */ + videoReportingId?: string; + } + interface CreativeField { + /** Account ID of this creative field. This is a read-only field that can be left blank. */ + accountId?: string; + /** Advertiser ID of this creative field. This is a required field on insertion. */ + advertiserId?: string; + /** Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. */ + advertiserIdDimensionValue?: DimensionValue; + /** ID of this creative field. This is a read-only, auto-generated field. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeField". */ + kind?: string; + /** + * Name of this creative field. This is a required field and must be less than 256 characters long and unique among creative fields of the same + * advertiser. + */ + name?: string; + /** Subaccount ID of this creative field. This is a read-only field that can be left blank. */ + subaccountId?: string; + } + interface CreativeFieldAssignment { + /** ID of the creative field. */ + creativeFieldId?: string; + /** ID of the creative field value. */ + creativeFieldValueId?: string; + } + interface CreativeFieldValue { + /** ID of this creative field value. This is a read-only, auto-generated field. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeFieldValue". */ + kind?: string; + /** Value of this creative field value. It needs to be less than 256 characters in length and unique per creative field. */ + value?: string; + } + interface CreativeFieldValuesListResponse { + /** Creative field value collection. */ + creativeFieldValues?: CreativeFieldValue[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeFieldValuesListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + } + interface CreativeFieldsListResponse { + /** Creative field collection. */ + creativeFields?: CreativeField[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeFieldsListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + } + interface CreativeGroup { + /** Account ID of this creative group. This is a read-only field that can be left blank. */ + accountId?: string; + /** Advertiser ID of this creative group. This is a required field on insertion. */ + advertiserId?: string; + /** Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. */ + advertiserIdDimensionValue?: DimensionValue; + /** + * Subgroup of the creative group. Assign your creative groups to a subgroup in order to filter or manage them more easily. This field is required on + * insertion and is read-only after insertion. Acceptable values are 1 to 2, inclusive. + */ + groupNumber?: number; + /** ID of this creative group. This is a read-only, auto-generated field. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeGroup". */ + kind?: string; + /** + * Name of this creative group. This is a required field and must be less than 256 characters long and unique among creative groups of the same + * advertiser. + */ + name?: string; + /** Subaccount ID of this creative group. This is a read-only field that can be left blank. */ + subaccountId?: string; + } + interface CreativeGroupAssignment { + /** ID of the creative group to be assigned. */ + creativeGroupId?: string; + /** Creative group number of the creative group assignment. */ + creativeGroupNumber?: string; + } + interface CreativeGroupsListResponse { + /** Creative group collection. */ + creativeGroups?: CreativeGroup[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeGroupsListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + } + interface CreativeOptimizationConfiguration { + /** ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns. */ + id?: string; + /** Name of this creative optimization config. This is a required field and must be less than 129 characters long. */ + name?: string; + /** List of optimization activities associated with this configuration. */ + optimizationActivitys?: OptimizationActivity[]; + /** Optimization model for this configuration. */ + optimizationModel?: string; + } + interface CreativeRotation { + /** Creative assignments in this creative rotation. */ + creativeAssignments?: CreativeAssignment[]; + /** + * Creative optimization configuration that is used by this ad. It should refer to one of the existing optimization configurations in the ad's campaign. + * If it is unset or set to 0, then the campaign's default optimization configuration will be used for this ad. + */ + creativeOptimizationConfigurationId?: string; + /** Type of creative rotation. Can be used to specify whether to use sequential or random rotation. */ + type?: string; + /** Strategy for calculating weights. Used with CREATIVE_ROTATION_TYPE_RANDOM. */ + weightCalculationStrategy?: string; + } + interface CreativeSettings { + /** Header text for iFrames for this site. Must be less than or equal to 2000 characters long. */ + iFrameFooter?: string; + /** Header text for iFrames for this site. Must be less than or equal to 2000 characters long. */ + iFrameHeader?: string; + } + interface CreativesListResponse { + /** Creative collection. */ + creatives?: Creative[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativesListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + } + interface CrossDimensionReachReportCompatibleFields { + /** Dimensions which are compatible to be selected in the "breakdown" section of the report. */ + breakdown?: Dimension[]; + /** Dimensions which are compatible to be selected in the "dimensionFilters" section of the report. */ + dimensionFilters?: Dimension[]; + /** The kind of resource this is, in this case dfareporting#crossDimensionReachReportCompatibleFields. */ + kind?: string; + /** Metrics which are compatible to be selected in the "metricNames" section of the report. */ + metrics?: Metric[]; + /** Metrics which are compatible to be selected in the "overlapMetricNames" section of the report. */ + overlapMetrics?: Metric[]; + } + interface CustomFloodlightVariable { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#customFloodlightVariable". */ + kind?: string; + /** The type of custom floodlight variable to supply a value for. These map to the "u[1-20]=" in the tags. */ + type?: string; + /** The value of the custom floodlight variable. The length of string must not exceed 50 characters. */ + value?: string; + } + interface CustomRichMediaEvents { + /** List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName. */ + filteredEventIds?: DimensionValue[]; + /** The kind of resource this is, in this case dfareporting#customRichMediaEvents. */ + kind?: string; + } + interface DateRange { + /** The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd". */ + endDate?: string; + /** The kind of resource this is, in this case dfareporting#dateRange. */ + kind?: string; + /** The date range relative to the date of when the report is run. */ + relativeDateRange?: string; + /** The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd". */ + startDate?: string; + } + interface DayPartTargeting { + /** + * Days of the week when the ad will serve. + * + * Acceptable values are: + * - "SUNDAY" + * - "MONDAY" + * - "TUESDAY" + * - "WEDNESDAY" + * - "THURSDAY" + * - "FRIDAY" + * - "SATURDAY" + */ + daysOfWeek?: string[]; + /** + * Hours of the day when the ad will serve, where 0 is midnight to 1 AM and 23 is 11 PM to midnight. Can be specified with days of week, in which case the + * ad would serve during these hours on the specified days. For example if Monday, Wednesday, Friday are the days of week specified and 9-10am, 3-5pm + * (hours 9, 15, and 16) is specified, the ad would serve Monday, Wednesdays, and Fridays at 9-10am and 3-5pm. Acceptable values are 0 to 23, inclusive. + */ + hoursOfDay?: number[]; + /** Whether or not to use the user's local time. If false, the America/New York time zone applies. */ + userLocalTime?: boolean; + } + interface DefaultClickThroughEventTagProperties { + /** ID of the click-through event tag to apply to all ads in this entity's scope. */ + defaultClickThroughEventTagId?: string; + /** Whether this entity should override the inherited default click-through event tag with its own defined value. */ + overrideInheritedEventTag?: boolean; + } + interface DeliverySchedule { + /** Limit on the number of times an individual user can be served the ad within a specified period of time. */ + frequencyCap?: FrequencyCap; + /** + * Whether or not hard cutoff is enabled. If true, the ad will not serve after the end date and time. Otherwise the ad will continue to be served until it + * has reached its delivery goals. + */ + hardCutoff?: boolean; + /** + * Impression ratio for this ad. This ratio determines how often each ad is served relative to the others. For example, if ad A has an impression ratio of + * 1 and ad B has an impression ratio of 3, then DCM will serve ad B three times as often as ad A. Acceptable values are 1 to 10, inclusive. + */ + impressionRatio?: string; + /** Serving priority of an ad, with respect to other ads. The lower the priority number, the greater the priority with which it is served. */ + priority?: string; + } + interface DfpSettings { + /** DFP network code for this directory site. */ + dfpNetworkCode?: string; + /** DFP network name for this directory site. */ + dfpNetworkName?: string; + /** Whether this directory site accepts programmatic placements. */ + programmaticPlacementAccepted?: boolean; + /** Whether this directory site accepts publisher-paid tags. */ + pubPaidPlacementAccepted?: boolean; + /** Whether this directory site is available only via DoubleClick Publisher Portal. */ + publisherPortalOnly?: boolean; + } + interface Dimension { + /** The kind of resource this is, in this case dfareporting#dimension. */ + kind?: string; + /** The dimension name, e.g. dfa:advertiser */ + name?: string; + } + interface DimensionFilter { + /** The name of the dimension to filter. */ + dimensionName?: string; + /** The kind of resource this is, in this case dfareporting#dimensionFilter. */ + kind?: string; + /** The value of the dimension to filter. */ + value?: string; + } + interface DimensionValue { + /** The name of the dimension. */ + dimensionName?: string; + /** The eTag of this response for caching purposes. */ + etag?: string; + /** The ID associated with the value if available. */ + id?: string; + /** The kind of resource this is, in this case dfareporting#dimensionValue. */ + kind?: string; + /** + * Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a + * placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') + * allow a matchType other than EXACT. + */ + matchType?: string; + /** The value of the dimension. */ + value?: string; + } + interface DimensionValueList { + /** The eTag of this response for caching purposes. */ + etag?: string; + /** The dimension values returned in this response. */ + items?: DimensionValue[]; + /** The kind of list this is, in this case dfareporting#dimensionValueList. */ + kind?: string; + /** + * Continuation token used to page through dimension values. To retrieve the next page of results, set the next request's "pageToken" to the value of this + * field. The page token is only valid for a limited amount of time and should not be persisted. + */ + nextPageToken?: string; + } + interface DimensionValueRequest { + /** The name of the dimension for which values should be requested. */ + dimensionName?: string; + /** The end date of the date range for which to retrieve dimension values. A string of the format "yyyy-MM-dd". */ + endDate?: string; + /** The list of filters by which to filter values. The filters are ANDed. */ + filters?: DimensionFilter[]; + /** The kind of request this is, in this case dfareporting#dimensionValueRequest. */ + kind?: string; + /** The start date of the date range for which to retrieve dimension values. A string of the format "yyyy-MM-dd". */ + startDate?: string; + } + interface DirectorySite { + /** Whether this directory site is active. */ + active?: boolean; + /** Directory site contacts. */ + contactAssignments?: DirectorySiteContactAssignment[]; + /** Country ID of this directory site. This is a read-only field. */ + countryId?: string; + /** + * Currency ID of this directory site. This is a read-only field. + * Possible values are: + * - "1" for USD + * - "2" for GBP + * - "3" for ESP + * - "4" for SEK + * - "5" for CAD + * - "6" for JPY + * - "7" for DEM + * - "8" for AUD + * - "9" for FRF + * - "10" for ITL + * - "11" for DKK + * - "12" for NOK + * - "13" for FIM + * - "14" for ZAR + * - "15" for IEP + * - "16" for NLG + * - "17" for EUR + * - "18" for KRW + * - "19" for TWD + * - "20" for SGD + * - "21" for CNY + * - "22" for HKD + * - "23" for NZD + * - "24" for MYR + * - "25" for BRL + * - "26" for PTE + * - "27" for MXP + * - "28" for CLP + * - "29" for TRY + * - "30" for ARS + * - "31" for PEN + * - "32" for ILS + * - "33" for CHF + * - "34" for VEF + * - "35" for COP + * - "36" for GTQ + * - "37" for PLN + * - "39" for INR + * - "40" for THB + * - "41" for IDR + * - "42" for CZK + * - "43" for RON + * - "44" for HUF + * - "45" for RUB + * - "46" for AED + * - "47" for BGN + * - "48" for HRK + * - "49" for MXN + */ + currencyId?: string; + /** Description of this directory site. This is a read-only field. */ + description?: string; + /** ID of this directory site. This is a read-only, auto-generated field. */ + id?: string; + /** Dimension value for the ID of this directory site. This is a read-only, auto-generated field. */ + idDimensionValue?: DimensionValue; + /** + * Tag types for regular placements. + * + * Acceptable values are: + * - "STANDARD" + * - "IFRAME_JAVASCRIPT_INPAGE" + * - "INTERNAL_REDIRECT_INPAGE" + * - "JAVASCRIPT_INPAGE" + */ + inpageTagFormats?: string[]; + /** + * Tag types for interstitial placements. + * + * Acceptable values are: + * - "IFRAME_JAVASCRIPT_INTERSTITIAL" + * - "INTERNAL_REDIRECT_INTERSTITIAL" + * - "JAVASCRIPT_INTERSTITIAL" + */ + interstitialTagFormats?: string[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#directorySite". */ + kind?: string; + /** Name of this directory site. */ + name?: string; + /** Parent directory site ID. */ + parentId?: string; + /** Directory site settings. */ + settings?: DirectorySiteSettings; + /** URL of this directory site. */ + url?: string; + } + interface DirectorySiteContact { + /** Address of this directory site contact. */ + address?: string; + /** Email address of this directory site contact. */ + email?: string; + /** First name of this directory site contact. */ + firstName?: string; + /** ID of this directory site contact. This is a read-only, auto-generated field. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#directorySiteContact". */ + kind?: string; + /** Last name of this directory site contact. */ + lastName?: string; + /** Phone number of this directory site contact. */ + phone?: string; + /** Directory site contact role. */ + role?: string; + /** Title or designation of this directory site contact. */ + title?: string; + /** Directory site contact type. */ + type?: string; + } + interface DirectorySiteContactAssignment { + /** ID of this directory site contact. This is a read-only, auto-generated field. */ + contactId?: string; + /** + * Visibility of this directory site contact assignment. When set to PUBLIC this contact assignment is visible to all account and agency users; when set + * to PRIVATE it is visible only to the site. + */ + visibility?: string; + } + interface DirectorySiteContactsListResponse { + /** Directory site contact collection */ + directorySiteContacts?: DirectorySiteContact[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#directorySiteContactsListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + } + interface DirectorySiteSettings { + /** Whether this directory site has disabled active view creatives. */ + activeViewOptOut?: boolean; + /** Directory site DFP settings. */ + dfpSettings?: DfpSettings; + /** Whether this site accepts in-stream video ads. */ + instreamVideoPlacementAccepted?: boolean; + /** Whether this site accepts interstitial ads. */ + interstitialPlacementAccepted?: boolean; + /** Whether this directory site has disabled Nielsen OCR reach ratings. */ + nielsenOcrOptOut?: boolean; + /** Whether this directory site has disabled generation of Verification ins tags. */ + verificationTagOptOut?: boolean; + /** Whether this directory site has disabled active view for in-stream video creatives. This is a read-only field. */ + videoActiveViewOptOut?: boolean; + } + interface DirectorySitesListResponse { + /** Directory site collection. */ + directorySites?: DirectorySite[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#directorySitesListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + } + interface DynamicTargetingKey { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#dynamicTargetingKey". */ + kind?: string; + /** + * Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are + * converted to lowercase. + */ + name?: string; + /** ID of the object of this dynamic targeting key. This is a required field. */ + objectId?: string; + /** Type of the object of this dynamic targeting key. This is a required field. */ + objectType?: string; + } + interface DynamicTargetingKeysListResponse { + /** Dynamic targeting key collection. */ + dynamicTargetingKeys?: DynamicTargetingKey[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#dynamicTargetingKeysListResponse". */ + kind?: string; + } + interface EncryptionInfo { + /** The encryption entity ID. This should match the encryption configuration for ad serving or Data Transfer. */ + encryptionEntityId?: string; + /** The encryption entity type. This should match the encryption configuration for ad serving or Data Transfer. */ + encryptionEntityType?: string; + /** Describes whether the encrypted cookie was received from ad serving (the %m macro) or from Data Transfer. */ + encryptionSource?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#encryptionInfo". */ + kind?: string; + } + interface EventTag { + /** Account ID of this event tag. This is a read-only field that can be left blank. */ + accountId?: string; + /** Advertiser ID of this event tag. This field or the campaignId field is required on insertion. */ + advertiserId?: string; + /** Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. */ + advertiserIdDimensionValue?: DimensionValue; + /** Campaign ID of this event tag. This field or the advertiserId field is required on insertion. */ + campaignId?: string; + /** Dimension value for the ID of the campaign. This is a read-only, auto-generated field. */ + campaignIdDimensionValue?: DimensionValue; + /** Whether this event tag should be automatically enabled for all of the advertiser's campaigns and ads. */ + enabledByDefault?: boolean; + /** + * Whether to remove this event tag from ads that are trafficked through DoubleClick Bid Manager to Ad Exchange. This may be useful if the event tag uses + * a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network. + */ + excludeFromAdxRequests?: boolean; + /** ID of this event tag. This is a read-only, auto-generated field. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#eventTag". */ + kind?: string; + /** Name of this event tag. This is a required field and must be less than 256 characters long. */ + name?: string; + /** Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites. */ + siteFilterType?: string; + /** Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a whitelist or blacklist filter. */ + siteIds?: string[]; + /** Whether this tag is SSL-compliant or not. This is a read-only field. */ + sslCompliant?: boolean; + /** Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field. */ + status?: string; + /** Subaccount ID of this event tag. This is a read-only field that can be left blank. */ + subaccountId?: string; + /** + * Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either + * impression or click tracking. This is a required field. + */ + type?: string; + /** + * Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required + * on insertion. + */ + url?: string; + /** + * Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through + * event tags as specified by the event tag type. + */ + urlEscapeLevels?: number; + } + interface EventTagOverride { + /** Whether this override is enabled. */ + enabled?: boolean; + /** ID of this event tag override. This is a read-only, auto-generated field. */ + id?: string; + } + interface EventTagsListResponse { + /** Event tag collection. */ + eventTags?: EventTag[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#eventTagsListResponse". */ + kind?: string; + } + interface File { + /** The date range for which the file has report data. The date range will always be the absolute date range for which the report is run. */ + dateRange?: DateRange; + /** The eTag of this response for caching purposes. */ + etag?: string; + /** The filename of the file. */ + fileName?: string; + /** The output format of the report. Only available once the file is available. */ + format?: string; + /** The unique ID of this report file. */ + id?: string; + /** The kind of resource this is, in this case dfareporting#file. */ + kind?: string; + /** The timestamp in milliseconds since epoch when this file was last modified. */ + lastModifiedTime?: string; + /** The ID of the report this file was generated from. */ + reportId?: string; + /** The status of the report file. */ + status?: string; + /** The URLs where the completed report file can be downloaded. */ + urls?: { + /** The URL for downloading the report data through the API. */ + apiUrl?: string; + /** The URL for downloading the report data through a browser. */ + browserUrl?: string; + }; + } + interface FileList { + /** The eTag of this response for caching purposes. */ + etag?: string; + /** The files returned in this response. */ + items?: File[]; + /** The kind of list this is, in this case dfareporting#fileList. */ + kind?: string; + /** + * Continuation token used to page through files. To retrieve the next page of results, set the next request's "pageToken" to the value of this field. The + * page token is only valid for a limited amount of time and should not be persisted. + */ + nextPageToken?: string; + } + interface Flight { + /** Inventory item flight end date. */ + endDate?: string; + /** Rate or cost of this flight. */ + rateOrCost?: string; + /** Inventory item flight start date. */ + startDate?: string; + /** Units of this flight. */ + units?: string; + } + interface FloodlightActivitiesGenerateTagResponse { + /** Generated tag for this floodlight activity. */ + floodlightActivityTag?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivitiesGenerateTagResponse". */ + kind?: string; + } + interface FloodlightActivitiesListResponse { + /** Floodlight activity collection. */ + floodlightActivities?: FloodlightActivity[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivitiesListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + } + interface FloodlightActivity { + /** Account ID of this floodlight activity. This is a read-only field that can be left blank. */ + accountId?: string; + /** + * Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or + * the existing activity's advertiser. + */ + advertiserId?: string; + /** Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. */ + advertiserIdDimensionValue?: DimensionValue; + /** + * Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is + * STANDARD_COUNTING or UNIQUE_COUNTING. + */ + cacheBustingType?: string; + /** Counting method for conversions for this floodlight activity. This is a required field. */ + countingMethod?: string; + /** Dynamic floodlight tags. */ + defaultTags?: FloodlightActivityDynamicTag[]; + /** URL where this tag will be deployed. If specified, must be less than 256 characters long. */ + expectedUrl?: string; + /** Floodlight activity group ID of this floodlight activity. This is a required field. */ + floodlightActivityGroupId?: string; + /** Name of the associated floodlight activity group. This is a read-only field. */ + floodlightActivityGroupName?: string; + /** Tag string of the associated floodlight activity group. This is a read-only field. */ + floodlightActivityGroupTagString?: string; + /** Type of the associated floodlight activity group. This is a read-only field. */ + floodlightActivityGroupType?: string; + /** + * Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's + * floodlight configuration or from the existing activity's floodlight configuration. + */ + floodlightConfigurationId?: string; + /** Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field. */ + floodlightConfigurationIdDimensionValue?: DimensionValue; + /** Whether this activity is archived. */ + hidden?: boolean; + /** ID of this floodlight activity. This is a read-only, auto-generated field. */ + id?: string; + /** Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field. */ + idDimensionValue?: DimensionValue; + /** Whether the image tag is enabled for this activity. */ + imageTagEnabled?: boolean; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivity". */ + kind?: string; + /** Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes. */ + name?: string; + /** General notes or implementation instructions for the tag. */ + notes?: string; + /** Publisher dynamic floodlight tags. */ + publisherTags?: FloodlightActivityPublisherDynamicTag[]; + /** Whether this tag should use SSL. */ + secure?: boolean; + /** Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags. */ + sslCompliant?: boolean; + /** Whether this floodlight activity must be SSL-compliant. */ + sslRequired?: boolean; + /** Subaccount ID of this floodlight activity. This is a read-only field that can be left blank. */ + subaccountId?: string; + /** Tag format type for the floodlight activity. If left blank, the tag format will default to HTML. */ + tagFormat?: string; + /** + * Value of the cat= paramter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will + * be generated for you. This string must be 1 to 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be + * unique among activities of the same activity group. This field is read-only after insertion. + */ + tagString?: string; + /** + * List of the user-defined variables used by this conversion tag. These map to the "u[1-100]=" in the tags. Each of these can have a user defined type. + * Acceptable values are U1 to U100, inclusive. + */ + userDefinedVariableTypes?: string[]; + } + interface FloodlightActivityDynamicTag { + /** ID of this dynamic tag. This is a read-only, auto-generated field. */ + id?: string; + /** Name of this tag. */ + name?: string; + /** Tag code. */ + tag?: string; + } + interface FloodlightActivityGroup { + /** Account ID of this floodlight activity group. This is a read-only field that can be left blank. */ + accountId?: string; + /** + * Advertiser ID of this floodlight activity group. If this field is left blank, the value will be copied over either from the floodlight configuration's + * advertiser or from the existing activity group's advertiser. + */ + advertiserId?: string; + /** Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. */ + advertiserIdDimensionValue?: DimensionValue; + /** Floodlight configuration ID of this floodlight activity group. This is a required field. */ + floodlightConfigurationId?: string; + /** Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field. */ + floodlightConfigurationIdDimensionValue?: DimensionValue; + /** ID of this floodlight activity group. This is a read-only, auto-generated field. */ + id?: string; + /** Dimension value for the ID of this floodlight activity group. This is a read-only, auto-generated field. */ + idDimensionValue?: DimensionValue; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivityGroup". */ + kind?: string; + /** Name of this floodlight activity group. This is a required field. Must be less than 65 characters long and cannot contain quotes. */ + name?: string; + /** Subaccount ID of this floodlight activity group. This is a read-only field that can be left blank. */ + subaccountId?: string; + /** + * Value of the type= parameter in the floodlight tag, which the ad servers use to identify the activity group that the activity belongs to. This is + * optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being + * [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activity groups of the same floodlight configuration. This field is read-only after + * insertion. + */ + tagString?: string; + /** Type of the floodlight activity group. This is a required field that is read-only after insertion. */ + type?: string; + } + interface FloodlightActivityGroupsListResponse { + /** Floodlight activity group collection. */ + floodlightActivityGroups?: FloodlightActivityGroup[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivityGroupsListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + } + interface FloodlightActivityPublisherDynamicTag { + /** Whether this tag is applicable only for click-throughs. */ + clickThrough?: boolean; + /** + * Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is + * retrieved, only the siteId field will be populated. + */ + directorySiteId?: string; + /** Dynamic floodlight tag. */ + dynamicTag?: FloodlightActivityDynamicTag; + /** Site ID of this dynamic tag. */ + siteId?: string; + /** Dimension value for the ID of the site. This is a read-only, auto-generated field. */ + siteIdDimensionValue?: DimensionValue; + /** Whether this tag is applicable only for view-throughs. */ + viewThrough?: boolean; + } + interface FloodlightConfiguration { + /** Account ID of this floodlight configuration. This is a read-only field that can be left blank. */ + accountId?: string; + /** Advertiser ID of the parent advertiser of this floodlight configuration. */ + advertiserId?: string; + /** Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. */ + advertiserIdDimensionValue?: DimensionValue; + /** Whether advertiser data is shared with Google Analytics. */ + analyticsDataSharingEnabled?: boolean; + /** + * Whether the exposure-to-conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen + * by a user before converting. + */ + exposureToConversionEnabled?: boolean; + /** Day that will be counted as the first day of the week in reports. This is a required field. */ + firstDayOfWeek?: string; + /** ID of this floodlight configuration. This is a read-only, auto-generated field. */ + id?: string; + /** Dimension value for the ID of this floodlight configuration. This is a read-only, auto-generated field. */ + idDimensionValue?: DimensionValue; + /** Whether in-app attribution tracking is enabled. */ + inAppAttributionTrackingEnabled?: boolean; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightConfiguration". */ + kind?: string; + /** Lookback window settings for this floodlight configuration. */ + lookbackConfiguration?: LookbackConfiguration; + /** Types of attribution options for natural search conversions. */ + naturalSearchConversionAttributionOption?: string; + /** Settings for DCM Omniture integration. */ + omnitureSettings?: OmnitureSettings; + /** Subaccount ID of this floodlight configuration. This is a read-only field that can be left blank. */ + subaccountId?: string; + /** Configuration settings for dynamic and image floodlight tags. */ + tagSettings?: TagSettings; + /** List of third-party authentication tokens enabled for this configuration. */ + thirdPartyAuthenticationTokens?: ThirdPartyAuthenticationToken[]; + /** List of user defined variables enabled for this configuration. */ + userDefinedVariableConfigurations?: UserDefinedVariableConfiguration[]; + } + interface FloodlightConfigurationsListResponse { + /** Floodlight configuration collection. */ + floodlightConfigurations?: FloodlightConfiguration[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightConfigurationsListResponse". */ + kind?: string; + } + interface FloodlightReportCompatibleFields { + /** Dimensions which are compatible to be selected in the "dimensionFilters" section of the report. */ + dimensionFilters?: Dimension[]; + /** Dimensions which are compatible to be selected in the "dimensions" section of the report. */ + dimensions?: Dimension[]; + /** The kind of resource this is, in this case dfareporting#floodlightReportCompatibleFields. */ + kind?: string; + /** Metrics which are compatible to be selected in the "metricNames" section of the report. */ + metrics?: Metric[]; + } + interface FrequencyCap { + /** Duration of time, in seconds, for this frequency cap. The maximum duration is 90 days. Acceptable values are 1 to 7776000, inclusive. */ + duration?: string; + /** Number of times an individual user can be served the ad within the specified duration. Acceptable values are 1 to 15, inclusive. */ + impressions?: string; + } + interface FsCommand { + /** Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. */ + left?: number; + /** Position in the browser where the window will open. */ + positionOption?: string; + /** Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. */ + top?: number; + /** Height of the window. */ + windowHeight?: number; + /** Width of the window. */ + windowWidth?: number; + } + interface GeoTargeting { + /** + * Cities to be targeted. For each city only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If + * targeting a city, do not target or exclude the country of the city, and do not target the metro or region of the city. + */ + cities?: City[]; + /** + * Countries to be targeted or excluded from targeting, depending on the setting of the excludeCountries field. For each country only dartId is required. + * The other fields are populated automatically when the ad is inserted or updated. If targeting or excluding a country, do not target regions, cities, + * metros, or postal codes in the same country. + */ + countries?: Country[]; + /** + * Whether or not to exclude the countries in the countries field from targeting. If false, the countries field refers to countries which will be targeted + * by the ad. + */ + excludeCountries?: boolean; + /** + * Metros to be targeted. For each metro only dmaId is required. The other fields are populated automatically when the ad is inserted or updated. If + * targeting a metro, do not target or exclude the country of the metro. + */ + metros?: Metro[]; + /** + * Postal codes to be targeted. For each postal code only id is required. The other fields are populated automatically when the ad is inserted or updated. + * If targeting a postal code, do not target or exclude the country of the postal code. + */ + postalCodes?: PostalCode[]; + /** + * Regions to be targeted. For each region only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If + * targeting a region, do not target or exclude the country of the region. + */ + regions?: Region[]; + } + interface InventoryItem { + /** Account ID of this inventory item. */ + accountId?: string; + /** + * Ad slots of this inventory item. If this inventory item represents a standalone placement, there will be exactly one ad slot. If this inventory item + * represents a placement group, there will be more than one ad slot, each representing one child placement in that placement group. + */ + adSlots?: AdSlot[]; + /** Advertiser ID of this inventory item. */ + advertiserId?: string; + /** Content category ID of this inventory item. */ + contentCategoryId?: string; + /** Estimated click-through rate of this inventory item. */ + estimatedClickThroughRate?: string; + /** Estimated conversion rate of this inventory item. */ + estimatedConversionRate?: string; + /** ID of this inventory item. */ + id?: string; + /** Whether this inventory item is in plan. */ + inPlan?: boolean; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#inventoryItem". */ + kind?: string; + /** Information about the most recent modification of this inventory item. */ + lastModifiedInfo?: LastModifiedInfo; + /** + * Name of this inventory item. For standalone inventory items, this is the same name as that of its only ad slot. For group inventory items, this can + * differ from the name of any of its ad slots. + */ + name?: string; + /** Negotiation channel ID of this inventory item. */ + negotiationChannelId?: string; + /** Order ID of this inventory item. */ + orderId?: string; + /** Placement strategy ID of this inventory item. */ + placementStrategyId?: string; + /** Pricing of this inventory item. */ + pricing?: Pricing; + /** Project ID of this inventory item. */ + projectId?: string; + /** RFP ID of this inventory item. */ + rfpId?: string; + /** ID of the site this inventory item is associated with. */ + siteId?: string; + /** Subaccount ID of this inventory item. */ + subaccountId?: string; + /** Type of inventory item. */ + type?: string; + } + interface InventoryItemsListResponse { + /** Inventory item collection */ + inventoryItems?: InventoryItem[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#inventoryItemsListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + } + interface KeyValueTargetingExpression { + /** Keyword expression being targeted by the ad. */ + expression?: string; + } + interface LandingPage { + /** + * Whether or not this landing page will be assigned to any ads or creatives that do not have a landing page assigned explicitly. Only one default landing + * page is allowed per campaign. + */ + default?: boolean; + /** ID of this landing page. This is a read-only, auto-generated field. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#landingPage". */ + kind?: string; + /** + * Name of this landing page. This is a required field. It must be less than 256 characters long, and must be unique among landing pages of the same + * campaign. + */ + name?: string; + /** URL of this landing page. This is a required field. */ + url?: string; + } + interface LandingPagesListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#landingPagesListResponse". */ + kind?: string; + /** Landing page collection */ + landingPages?: LandingPage[]; + } + interface Language { + /** Language ID of this language. This is the ID used for targeting and generating reports. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#language". */ + kind?: string; + /** + * Format of language code is an ISO 639 two-letter language code optionally followed by an underscore followed by an ISO 3166 code. Examples are "en" for + * English or "zh_CN" for Simplified Chinese. + */ + languageCode?: string; + /** Name of this language. */ + name?: string; + } + interface LanguageTargeting { + /** + * Languages that this ad targets. For each language only languageId is required. The other fields are populated automatically when the ad is inserted or + * updated. + */ + languages?: Language[]; + } + interface LanguagesListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#languagesListResponse". */ + kind?: string; + /** Language collection. */ + languages?: Language[]; + } + interface LastModifiedInfo { + /** Timestamp of the last change in milliseconds since epoch. */ + time?: string; + } + interface ListPopulationClause { + /** Terms of this list population clause. Each clause is made up of list population terms representing constraints and are joined by ORs. */ + terms?: ListPopulationTerm[]; + } + interface ListPopulationRule { + /** Floodlight activity ID associated with this rule. This field can be left blank. */ + floodlightActivityId?: string; + /** Name of floodlight activity associated with this rule. This is a read-only, auto-generated field. */ + floodlightActivityName?: string; + /** + * Clauses that make up this list population rule. Clauses are joined by ANDs, and the clauses themselves are made up of list population terms which are + * joined by ORs. + */ + listPopulationClauses?: ListPopulationClause[]; + } + interface ListPopulationTerm { + /** + * Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only + * relevant when type is set to LIST_MEMBERSHIP_TERM. False by default. + */ + contains?: boolean; + /** + * Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to + * CUSTOM_VARIABLE_TERM or REFERRER_TERM. + */ + negation?: boolean; + /** Comparison operator of this term. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM. */ + operator?: string; + /** ID of the list in question. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. */ + remarketingListId?: string; + /** + * List population term type determines the applicable fields in this object. If left unset or set to CUSTOM_VARIABLE_TERM, then variableName, + * variableFriendlyName, operator, value, and negation are applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. + * If set to REFERRER_TERM then operator, value, and negation are applicable. + */ + type?: string; + /** Literal to compare the variable to. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM. */ + value?: string; + /** + * Friendly name of this term's variable. This is a read-only, auto-generated field. This field is only relevant when type is left unset or set to + * CUSTOM_VARIABLE_TERM. + */ + variableFriendlyName?: string; + /** + * Name of the variable (U1, U2, etc.) being compared in this term. This field is only relevant when type is set to null, CUSTOM_VARIABLE_TERM or + * REFERRER_TERM. + */ + variableName?: string; + } + interface ListTargetingExpression { + /** Expression describing which lists are being targeted by the ad. */ + expression?: string; + } + interface LookbackConfiguration { + /** + * Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering + * events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, + * inclusive. + */ + clickDuration?: number; + /** + * Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering + * events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, + * inclusive. + */ + postImpressionActivitiesDuration?: number; + } + interface Metric { + /** The kind of resource this is, in this case dfareporting#metric. */ + kind?: string; + /** The metric name, e.g. dfa:impressions */ + name?: string; + } + interface Metro { + /** Country code of the country to which this metro region belongs. */ + countryCode?: string; + /** DART ID of the country to which this metro region belongs. */ + countryDartId?: string; + /** DART ID of this metro region. */ + dartId?: string; + /** DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code. */ + dmaId?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#metro". */ + kind?: string; + /** Metro code of this metro region. This is equivalent to dma_id. */ + metroCode?: string; + /** Name of this metro region. */ + name?: string; + } + interface MetrosListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#metrosListResponse". */ + kind?: string; + /** Metro collection. */ + metros?: Metro[]; + } + interface MobileCarrier { + /** Country code of the country to which this mobile carrier belongs. */ + countryCode?: string; + /** DART ID of the country to which this mobile carrier belongs. */ + countryDartId?: string; + /** ID of this mobile carrier. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileCarrier". */ + kind?: string; + /** Name of this mobile carrier. */ + name?: string; + } + interface MobileCarriersListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileCarriersListResponse". */ + kind?: string; + /** Mobile carrier collection. */ + mobileCarriers?: MobileCarrier[]; + } + interface ObjectFilter { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". */ + kind?: string; + /** Applicable when status is ASSIGNED. The user has access to objects with these object IDs. */ + objectIds?: string[]; + /** + * Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has + * access to the objects with IDs in the objectIds list. + */ + status?: string; + } + interface OffsetPosition { + /** Offset distance from left side of an asset or a window. */ + left?: number; + /** Offset distance from top side of an asset or a window. */ + top?: number; + } + interface OmnitureSettings { + /** Whether placement cost data will be sent to Omniture. This property can be enabled only if omnitureIntegrationEnabled is true. */ + omnitureCostDataEnabled?: boolean; + /** Whether Omniture integration is enabled. This property can be enabled only when the "Advanced Ad Serving" account setting is enabled. */ + omnitureIntegrationEnabled?: boolean; + } + interface OperatingSystem { + /** DART ID of this operating system. This is the ID used for targeting. */ + dartId?: string; + /** Whether this operating system is for desktop. */ + desktop?: boolean; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem". */ + kind?: string; + /** Whether this operating system is for mobile. */ + mobile?: boolean; + /** Name of this operating system. */ + name?: string; + } + interface OperatingSystemVersion { + /** ID of this operating system version. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersion". */ + kind?: string; + /** Major version (leftmost number) of this operating system version. */ + majorVersion?: string; + /** Minor version (number after the first dot) of this operating system version. */ + minorVersion?: string; + /** Name of this operating system version. */ + name?: string; + /** Operating system of this operating system version. */ + operatingSystem?: OperatingSystem; + } + interface OperatingSystemVersionsListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersionsListResponse". */ + kind?: string; + /** Operating system version collection. */ + operatingSystemVersions?: OperatingSystemVersion[]; + } + interface OperatingSystemsListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemsListResponse". */ + kind?: string; + /** Operating system collection. */ + operatingSystems?: OperatingSystem[]; + } + interface OptimizationActivity { + /** Floodlight activity ID of this optimization activity. This is a required field. */ + floodlightActivityId?: string; + /** Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field. */ + floodlightActivityIdDimensionValue?: DimensionValue; + /** + * Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization + * activities. Value must be greater than or equal to 1. + */ + weight?: number; + } + interface Order { + /** Account ID of this order. */ + accountId?: string; + /** Advertiser ID of this order. */ + advertiserId?: string; + /** IDs for users that have to approve documents created for this order. */ + approverUserProfileIds?: string[]; + /** Buyer invoice ID associated with this order. */ + buyerInvoiceId?: string; + /** Name of the buyer organization. */ + buyerOrganizationName?: string; + /** Comments in this order. */ + comments?: string; + /** Contacts for this order. */ + contacts?: OrderContact[]; + /** ID of this order. This is a read-only, auto-generated field. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#order". */ + kind?: string; + /** Information about the most recent modification of this order. */ + lastModifiedInfo?: LastModifiedInfo; + /** Name of this order. */ + name?: string; + /** Notes of this order. */ + notes?: string; + /** ID of the terms and conditions template used in this order. */ + planningTermId?: string; + /** Project ID of this order. */ + projectId?: string; + /** Seller order ID associated with this order. */ + sellerOrderId?: string; + /** Name of the seller organization. */ + sellerOrganizationName?: string; + /** Site IDs this order is associated with. */ + siteId?: string[]; + /** Free-form site names this order is associated with. */ + siteNames?: string[]; + /** Subaccount ID of this order. */ + subaccountId?: string; + /** Terms and conditions of this order. */ + termsAndConditions?: string; + } + interface OrderContact { + /** + * Free-form information about this contact. It could be any information related to this contact in addition to type, title, name, and signature user + * profile ID. + */ + contactInfo?: string; + /** Name of this contact. */ + contactName?: string; + /** Title of this contact. */ + contactTitle?: string; + /** Type of this contact. */ + contactType?: string; + /** ID of the user profile containing the signature that will be embedded into order documents. */ + signatureUserProfileId?: string; + } + interface OrderDocument { + /** Account ID of this order document. */ + accountId?: string; + /** Advertiser ID of this order document. */ + advertiserId?: string; + /** + * The amended order document ID of this order document. An order document can be created by optionally amending another order document so that the change + * history can be preserved. + */ + amendedOrderDocumentId?: string; + /** IDs of users who have approved this order document. */ + approvedByUserProfileIds?: string[]; + /** Whether this order document is cancelled. */ + cancelled?: boolean; + /** Information about the creation of this order document. */ + createdInfo?: LastModifiedInfo; + /** Effective date of this order document. */ + effectiveDate?: string; + /** ID of this order document. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#orderDocument". */ + kind?: string; + /** List of email addresses that received the last sent document. */ + lastSentRecipients?: string[]; + /** Timestamp of the last email sent with this order document. */ + lastSentTime?: string; + /** ID of the order from which this order document is created. */ + orderId?: string; + /** Project ID of this order document. */ + projectId?: string; + /** Whether this order document has been signed. */ + signed?: boolean; + /** Subaccount ID of this order document. */ + subaccountId?: string; + /** Title of this order document. */ + title?: string; + /** Type of this order document */ + type?: string; + } + interface OrderDocumentsListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#orderDocumentsListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + /** Order document collection */ + orderDocuments?: OrderDocument[]; + } + interface OrdersListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#ordersListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + /** Order collection. */ + orders?: Order[]; + } + interface PathToConversionReportCompatibleFields { + /** Conversion dimensions which are compatible to be selected in the "conversionDimensions" section of the report. */ + conversionDimensions?: Dimension[]; + /** Custom floodlight variables which are compatible to be selected in the "customFloodlightVariables" section of the report. */ + customFloodlightVariables?: Dimension[]; + /** The kind of resource this is, in this case dfareporting#pathToConversionReportCompatibleFields. */ + kind?: string; + /** Metrics which are compatible to be selected in the "metricNames" section of the report. */ + metrics?: Metric[]; + /** Per-interaction dimensions which are compatible to be selected in the "perInteractionDimensions" section of the report. */ + perInteractionDimensions?: Dimension[]; + } + interface Placement { + /** Account ID of this placement. This field can be left blank. */ + accountId?: string; + /** + * Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take + * effect. + */ + adBlockingOptOut?: boolean; + /** Advertiser ID of this placement. This field can be left blank. */ + advertiserId?: string; + /** Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. */ + advertiserIdDimensionValue?: DimensionValue; + /** Whether this placement is archived. */ + archived?: boolean; + /** Campaign ID of this placement. This field is a required field on insertion. */ + campaignId?: string; + /** Dimension value for the ID of the campaign. This is a read-only, auto-generated field. */ + campaignIdDimensionValue?: DimensionValue; + /** Comments for this placement. */ + comment?: string; + /** + * Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or + * interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or + * DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion. + */ + compatibility?: string; + /** ID of the content category assigned to this placement. */ + contentCategoryId?: string; + /** Information about the creation of this placement. This is a read-only field. */ + createInfo?: LastModifiedInfo; + /** + * Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. + * This is a required field that is read-only after insertion. + */ + directorySiteId?: string; + /** Dimension value for the ID of the directory site. This is a read-only, auto-generated field. */ + directorySiteIdDimensionValue?: DimensionValue; + /** External ID for this placement. */ + externalId?: string; + /** ID of this placement. This is a read-only, auto-generated field. */ + id?: string; + /** Dimension value for the ID of this placement. This is a read-only, auto-generated field. */ + idDimensionValue?: DimensionValue; + /** Key name of this placement. This is a read-only, auto-generated field. */ + keyName?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement". */ + kind?: string; + /** Information about the most recent modification of this placement. This is a read-only field. */ + lastModifiedInfo?: LastModifiedInfo; + /** Lookback window settings for this placement. */ + lookbackConfiguration?: LookbackConfiguration; + /** Name of this placement.This is a required field and must be less than 256 characters long. */ + name?: string; + /** Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements. */ + paymentApproved?: boolean; + /** Payment source for this placement. This is a required field that is read-only after insertion. */ + paymentSource?: string; + /** ID of this placement's group, if applicable. */ + placementGroupId?: string; + /** Dimension value for the ID of the placement group. This is a read-only, auto-generated field. */ + placementGroupIdDimensionValue?: DimensionValue; + /** ID of the placement strategy assigned to this placement. */ + placementStrategyId?: string; + /** Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType. */ + pricingSchedule?: PricingSchedule; + /** + * Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field + * to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the + * roadblock's primaryPlacementId field to the ID of this placement. + */ + primary?: boolean; + /** Information about the last publisher update. This is a read-only field. */ + publisherUpdateInfo?: LastModifiedInfo; + /** + * Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this + * placement. This is a required field that is read-only after insertion. + */ + siteId?: string; + /** Dimension value for the ID of the site. This is a read-only, auto-generated field. */ + siteIdDimensionValue?: DimensionValue; + /** Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion. */ + size?: Size; + /** Whether creatives assigned to this placement must be SSL-compliant. */ + sslRequired?: boolean; + /** Third-party placement status. */ + status?: string; + /** Subaccount ID of this placement. This field can be left blank. */ + subaccountId?: string; + /** + * Tag formats to generate for this placement. This field is required on insertion. + * Acceptable values are: + * - "PLACEMENT_TAG_STANDARD" + * - "PLACEMENT_TAG_IFRAME_JAVASCRIPT" + * - "PLACEMENT_TAG_IFRAME_ILAYER" + * - "PLACEMENT_TAG_INTERNAL_REDIRECT" + * - "PLACEMENT_TAG_JAVASCRIPT" + * - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT" + * - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT" + * - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT" + * - "PLACEMENT_TAG_CLICK_COMMANDS" + * - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH" + * - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3" + * - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4" + * - "PLACEMENT_TAG_TRACKING" + * - "PLACEMENT_TAG_TRACKING_IFRAME" + * - "PLACEMENT_TAG_TRACKING_JAVASCRIPT" + */ + tagFormats?: string[]; + /** Tag settings for this placement. */ + tagSetting?: TagSetting; + /** + * Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the + * site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or + * Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display + * ads, from Verification and ActiveView. + */ + videoActiveViewOptOut?: boolean; + /** A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility. */ + videoSettings?: VideoSettings; + /** + * VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this + * placement. + * + * Note: Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH. + */ + vpaidAdapterChoice?: string; + } + interface PlacementAssignment { + /** Whether this placement assignment is active. When true, the placement will be included in the ad's rotation. */ + active?: boolean; + /** ID of the placement to be assigned. This is a required field. */ + placementId?: string; + /** Dimension value for the ID of the placement. This is a read-only, auto-generated field. */ + placementIdDimensionValue?: DimensionValue; + /** Whether the placement to be assigned requires SSL. This is a read-only field that is auto-generated when the ad is inserted or updated. */ + sslRequired?: boolean; + } + interface PlacementGroup { + /** Account ID of this placement group. This is a read-only field that can be left blank. */ + accountId?: string; + /** Advertiser ID of this placement group. This is a required field on insertion. */ + advertiserId?: string; + /** Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. */ + advertiserIdDimensionValue?: DimensionValue; + /** Whether this placement group is archived. */ + archived?: boolean; + /** Campaign ID of this placement group. This field is required on insertion. */ + campaignId?: string; + /** Dimension value for the ID of the campaign. This is a read-only, auto-generated field. */ + campaignIdDimensionValue?: DimensionValue; + /** IDs of placements which are assigned to this placement group. This is a read-only, auto-generated field. */ + childPlacementIds?: string[]; + /** Comments for this placement group. */ + comment?: string; + /** ID of the content category assigned to this placement group. */ + contentCategoryId?: string; + /** Information about the creation of this placement group. This is a read-only field. */ + createInfo?: LastModifiedInfo; + /** + * Directory site ID associated with this placement group. On insert, you must set either this field or the site_id field to specify the site associated + * with this placement group. This is a required field that is read-only after insertion. + */ + directorySiteId?: string; + /** Dimension value for the ID of the directory site. This is a read-only, auto-generated field. */ + directorySiteIdDimensionValue?: DimensionValue; + /** External ID for this placement. */ + externalId?: string; + /** ID of this placement group. This is a read-only, auto-generated field. */ + id?: string; + /** Dimension value for the ID of this placement group. This is a read-only, auto-generated field. */ + idDimensionValue?: DimensionValue; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementGroup". */ + kind?: string; + /** Information about the most recent modification of this placement group. This is a read-only field. */ + lastModifiedInfo?: LastModifiedInfo; + /** Name of this placement group. This is a required field and must be less than 256 characters long. */ + name?: string; + /** + * Type of this placement group. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group + * of placements that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock + * requires one of its assigned placements to be marked as primary for reporting. This field is required on insertion. + */ + placementGroupType?: string; + /** ID of the placement strategy assigned to this placement group. */ + placementStrategyId?: string; + /** Pricing schedule of this placement group. This field is required on insertion. */ + pricingSchedule?: PricingSchedule; + /** + * ID of the primary placement, used to calculate the media cost of a roadblock (placement group). Modifying this field will automatically modify the + * primary field on all affected roadblock child placements. + */ + primaryPlacementId?: string; + /** Dimension value for the ID of the primary placement. This is a read-only, auto-generated field. */ + primaryPlacementIdDimensionValue?: DimensionValue; + /** + * Site ID associated with this placement group. On insert, you must set either this field or the directorySiteId field to specify the site associated + * with this placement group. This is a required field that is read-only after insertion. + */ + siteId?: string; + /** Dimension value for the ID of the site. This is a read-only, auto-generated field. */ + siteIdDimensionValue?: DimensionValue; + /** Subaccount ID of this placement group. This is a read-only field that can be left blank. */ + subaccountId?: string; + } + interface PlacementGroupsListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementGroupsListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + /** Placement group collection. */ + placementGroups?: PlacementGroup[]; + } + interface PlacementStrategiesListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementStrategiesListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + /** Placement strategy collection. */ + placementStrategies?: PlacementStrategy[]; + } + interface PlacementStrategy { + /** Account ID of this placement strategy.This is a read-only field that can be left blank. */ + accountId?: string; + /** ID of this placement strategy. This is a read-only, auto-generated field. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementStrategy". */ + kind?: string; + /** + * Name of this placement strategy. This is a required field. It must be less than 256 characters long and unique among placement strategies of the same + * account. + */ + name?: string; + } + interface PlacementTag { + /** Placement ID */ + placementId?: string; + /** Tags generated for this placement. */ + tagDatas?: TagData[]; + } + interface PlacementsGenerateTagsResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementsGenerateTagsResponse". */ + kind?: string; + /** Set of generated tags for the specified placements. */ + placementTags?: PlacementTag[]; + } + interface PlacementsListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementsListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + /** Placement collection. */ + placements?: Placement[]; + } + interface PlatformType { + /** ID of this platform type. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#platformType". */ + kind?: string; + /** Name of this platform type. */ + name?: string; + } + interface PlatformTypesListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#platformTypesListResponse". */ + kind?: string; + /** Platform type collection. */ + platformTypes?: PlatformType[]; + } + interface PopupWindowProperties { + /** Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID */ + dimension?: Size; + /** Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. */ + offset?: OffsetPosition; + /** Popup window position either centered or at specific coordinate. */ + positionType?: string; + /** Whether to display the browser address bar. */ + showAddressBar?: boolean; + /** Whether to display the browser menu bar. */ + showMenuBar?: boolean; + /** Whether to display the browser scroll bar. */ + showScrollBar?: boolean; + /** Whether to display the browser status bar. */ + showStatusBar?: boolean; + /** Whether to display the browser tool bar. */ + showToolBar?: boolean; + /** Title of popup window. */ + title?: string; + } + interface PostalCode { + /** Postal code. This is equivalent to the id field. */ + code?: string; + /** Country code of the country to which this postal code belongs. */ + countryCode?: string; + /** DART ID of the country to which this postal code belongs. */ + countryDartId?: string; + /** ID of this postal code. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#postalCode". */ + kind?: string; + } + interface PostalCodesListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#postalCodesListResponse". */ + kind?: string; + /** Postal code collection. */ + postalCodes?: PostalCode[]; + } + interface Pricing { + /** Cap cost type of this inventory item. */ + capCostType?: string; + /** End date of this inventory item. */ + endDate?: string; + /** Flights of this inventory item. A flight (a.k.a. pricing period) represents the inventory item pricing information for a specific period of time. */ + flights?: Flight[]; + /** + * Group type of this inventory item if it represents a placement group. Is null otherwise. There are two type of placement groups: + * PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE is a simple group of inventory items that acts as a single pricing point for a group of tags. + * PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK is a group of inventory items that not only acts as a single pricing point, but also assumes that all the tags + * in it will be served at the same time. A roadblock requires one of its assigned inventory items to be marked as primary. + */ + groupType?: string; + /** Pricing type of this inventory item. */ + pricingType?: string; + /** Start date of this inventory item. */ + startDate?: string; + } + interface PricingSchedule { + /** Placement cap cost option. */ + capCostOption?: string; + /** Whether cap costs are ignored by ad serving. */ + disregardOverdelivery?: boolean; + /** + * Placement end date. This date must be later than, or the same day as, the placement start date, but not later than the campaign end date. If, for + * example, you set 6/25/2015 as both the start and end dates, the effective placement date is just that day only, 6/25/2015. The hours, minutes, and + * seconds of the end date should not be set, as doing so will result in an error. This field is required on insertion. + */ + endDate?: string; + /** Whether this placement is flighted. If true, pricing periods will be computed automatically. */ + flighted?: boolean; + /** Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA. */ + floodlightActivityId?: string; + /** Pricing periods for this placement. */ + pricingPeriods?: PricingSchedulePricingPeriod[]; + /** Placement pricing type. This field is required on insertion. */ + pricingType?: string; + /** + * Placement start date. This date must be later than, or the same day as, the campaign start date. The hours, minutes, and seconds of the start date + * should not be set, as doing so will result in an error. This field is required on insertion. + */ + startDate?: string; + /** Testing start date of this placement. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. */ + testingStartDate?: string; + } + interface PricingSchedulePricingPeriod { + /** + * Pricing period end date. This date must be later than, or the same day as, the pricing period start date, but not later than the placement end date. + * The period end date can be the same date as the period start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective + * pricing period date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an + * error. + */ + endDate?: string; + /** Comments for this pricing period. */ + pricingComment?: string; + /** Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive. */ + rateOrCostNanos?: string; + /** + * Pricing period start date. This date must be later than, or the same day as, the placement start date. The hours, minutes, and seconds of the start + * date should not be set, as doing so will result in an error. + */ + startDate?: string; + /** Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive. */ + units?: string; + } + interface Project { + /** Account ID of this project. */ + accountId?: string; + /** Advertiser ID of this project. */ + advertiserId?: string; + /** Audience age group of this project. */ + audienceAgeGroup?: string; + /** Audience gender of this project. */ + audienceGender?: string; + /** + * Budget of this project in the currency specified by the current account. The value stored in this field represents only the non-fractional amount. For + * example, for USD, the smallest value that can be represented by this field is 1 US dollar. + */ + budget?: string; + /** Client billing code of this project. */ + clientBillingCode?: string; + /** Name of the project client. */ + clientName?: string; + /** End date of the project. */ + endDate?: string; + /** ID of this project. This is a read-only, auto-generated field. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#project". */ + kind?: string; + /** Information about the most recent modification of this project. */ + lastModifiedInfo?: LastModifiedInfo; + /** Name of this project. */ + name?: string; + /** Overview of this project. */ + overview?: string; + /** Start date of the project. */ + startDate?: string; + /** Subaccount ID of this project. */ + subaccountId?: string; + /** Number of clicks that the advertiser is targeting. */ + targetClicks?: string; + /** Number of conversions that the advertiser is targeting. */ + targetConversions?: string; + /** CPA that the advertiser is targeting. */ + targetCpaNanos?: string; + /** CPC that the advertiser is targeting. */ + targetCpcNanos?: string; + /** vCPM from Active View that the advertiser is targeting. */ + targetCpmActiveViewNanos?: string; + /** CPM that the advertiser is targeting. */ + targetCpmNanos?: string; + /** Number of impressions that the advertiser is targeting. */ + targetImpressions?: string; + } + interface ProjectsListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#projectsListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + /** Project collection. */ + projects?: Project[]; + } + interface ReachReportCompatibleFields { + /** Dimensions which are compatible to be selected in the "dimensionFilters" section of the report. */ + dimensionFilters?: Dimension[]; + /** Dimensions which are compatible to be selected in the "dimensions" section of the report. */ + dimensions?: Dimension[]; + /** The kind of resource this is, in this case dfareporting#reachReportCompatibleFields. */ + kind?: string; + /** Metrics which are compatible to be selected in the "metricNames" section of the report. */ + metrics?: Metric[]; + /** Metrics which are compatible to be selected as activity metrics to pivot on in the "activities" section of the report. */ + pivotedActivityMetrics?: Metric[]; + /** Metrics which are compatible to be selected in the "reachByFrequencyMetricNames" section of the report. */ + reachByFrequencyMetrics?: Metric[]; + } + interface Recipient { + /** The delivery type for the recipient. */ + deliveryType?: string; + /** The email address of the recipient. */ + email?: string; + /** The kind of resource this is, in this case dfareporting#recipient. */ + kind?: string; + } + interface Region { + /** Country code of the country to which this region belongs. */ + countryCode?: string; + /** DART ID of the country to which this region belongs. */ + countryDartId?: string; + /** DART ID of this region. */ + dartId?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#region". */ + kind?: string; + /** Name of this region. */ + name?: string; + /** Region code. */ + regionCode?: string; + } + interface RegionsListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#regionsListResponse". */ + kind?: string; + /** Region collection. */ + regions?: Region[]; + } + interface RemarketingList { + /** Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests. */ + accountId?: string; + /** Whether this remarketing list is active. */ + active?: boolean; + /** Dimension value for the advertiser ID that owns this remarketing list. This is a required field. */ + advertiserId?: string; + /** Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. */ + advertiserIdDimensionValue?: DimensionValue; + /** Remarketing list description. */ + description?: string; + /** Remarketing list ID. This is a read-only, auto-generated field. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingList". */ + kind?: string; + /** Number of days that a user should remain in the remarketing list without an impression. Acceptable values are 1 to 540, inclusive. */ + lifeSpan?: string; + /** Rule used to populate the remarketing list with users. */ + listPopulationRule?: ListPopulationRule; + /** Number of users currently in the list. This is a read-only field. */ + listSize?: string; + /** Product from which this remarketing list was originated. */ + listSource?: string; + /** Name of the remarketing list. This is a required field. Must be no greater than 128 characters long. */ + name?: string; + /** Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests. */ + subaccountId?: string; + } + interface RemarketingListShare { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingListShare". */ + kind?: string; + /** Remarketing list ID. This is a read-only, auto-generated field. */ + remarketingListId?: string; + /** Accounts that the remarketing list is shared with. */ + sharedAccountIds?: string[]; + /** Advertisers that the remarketing list is shared with. */ + sharedAdvertiserIds?: string[]; + } + interface RemarketingListsListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingListsListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + /** Remarketing list collection. */ + remarketingLists?: RemarketingList[]; + } + interface Report { + /** The account ID to which this report belongs. */ + accountId?: string; + /** The report criteria for a report of type "STANDARD". */ + criteria?: { + /** Activity group. */ + activities?: Activities; + /** Custom Rich Media Events group. */ + customRichMediaEvents?: CustomRichMediaEvents; + /** The date range for which this report should be run. */ + dateRange?: DateRange; + /** + * The list of filters on which dimensions are filtered. + * Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed. + */ + dimensionFilters?: DimensionValue[]; + /** The list of standard dimensions the report should include. */ + dimensions?: SortedDimension[]; + /** The list of names of metrics the report should include. */ + metricNames?: string[]; + }; + /** The report criteria for a report of type "CROSS_DIMENSION_REACH". */ + crossDimensionReachCriteria?: { + /** The list of dimensions the report should include. */ + breakdown?: SortedDimension[]; + /** The date range this report should be run for. */ + dateRange?: DateRange; + /** The dimension option. */ + dimension?: string; + /** The list of filters on which dimensions are filtered. */ + dimensionFilters?: DimensionValue[]; + /** The list of names of metrics the report should include. */ + metricNames?: string[]; + /** The list of names of overlap metrics the report should include. */ + overlapMetricNames?: string[]; + /** Whether the report is pivoted or not. Defaults to true. */ + pivoted?: boolean; + }; + /** The report's email delivery settings. */ + delivery?: { + /** Whether the report should be emailed to the report owner. */ + emailOwner?: boolean; + /** The type of delivery for the owner to receive, if enabled. */ + emailOwnerDeliveryType?: string; + /** The message to be sent with each email. */ + message?: string; + /** The list of recipients to which to email the report. */ + recipients?: Recipient[]; + }; + /** The eTag of this response for caching purposes. */ + etag?: string; + /** The filename used when generating report files for this report. */ + fileName?: string; + /** The report criteria for a report of type "FLOODLIGHT". */ + floodlightCriteria?: { + /** The list of custom rich media events to include. */ + customRichMediaEvents?: DimensionValue[]; + /** The date range this report should be run for. */ + dateRange?: DateRange; + /** + * The list of filters on which dimensions are filtered. + * Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed. + */ + dimensionFilters?: DimensionValue[]; + /** The list of dimensions the report should include. */ + dimensions?: SortedDimension[]; + /** + * The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the + * value needs to be 'dfa:floodlightConfigId'. + */ + floodlightConfigId?: DimensionValue; + /** The list of names of metrics the report should include. */ + metricNames?: string[]; + /** The properties of the report. */ + reportProperties?: { + /** Include conversions that have no cookie, but do have an exposure path. */ + includeAttributedIPConversions?: boolean; + /** + * Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser + * within the Floodlight group, or that the interaction happened outside the lookback window. + */ + includeUnattributedCookieConversions?: boolean; + /** + * Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the + * lookback window prior to a conversion. + */ + includeUnattributedIPConversions?: boolean; + }; + }; + /** + * The output format of the report. If not specified, default format is "CSV". Note that the actual format in the completed report file might differ if + * for instance the report's size exceeds the format's capabilities. "CSV" will then be the fallback format. + */ + format?: string; + /** The unique ID identifying this report resource. */ + id?: string; + /** The kind of resource this is, in this case dfareporting#report. */ + kind?: string; + /** The timestamp (in milliseconds since epoch) of when this report was last modified. */ + lastModifiedTime?: string; + /** The name of the report. */ + name?: string; + /** The user profile id of the owner of this report. */ + ownerProfileId?: string; + /** The report criteria for a report of type "PATH_TO_CONVERSION". */ + pathToConversionCriteria?: { + /** The list of 'dfa:activity' values to filter on. */ + activityFilters?: DimensionValue[]; + /** The list of conversion dimensions the report should include. */ + conversionDimensions?: SortedDimension[]; + /** The list of custom floodlight variables the report should include. */ + customFloodlightVariables?: SortedDimension[]; + /** The list of custom rich media events to include. */ + customRichMediaEvents?: DimensionValue[]; + /** The date range this report should be run for. */ + dateRange?: DateRange; + /** + * The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the + * value needs to be 'dfa:floodlightConfigId'. + */ + floodlightConfigId?: DimensionValue; + /** The list of names of metrics the report should include. */ + metricNames?: string[]; + /** The list of per interaction dimensions the report should include. */ + perInteractionDimensions?: SortedDimension[]; + /** The properties of the report. */ + reportProperties?: { + /** + * DFA checks to see if a click interaction occurred within the specified period of time before a conversion. By default the value is pulled from + * Floodlight or you can manually enter a custom value. Valid values: 1-90. + */ + clicksLookbackWindow?: number; + /** + * DFA checks to see if an impression interaction occurred within the specified period of time before a conversion. By default the value is pulled from + * Floodlight or you can manually enter a custom value. Valid values: 1-90. + */ + impressionsLookbackWindow?: number; + /** Deprecated: has no effect. */ + includeAttributedIPConversions?: boolean; + /** + * Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser + * within the Floodlight group, or that the interaction happened outside the lookback window. + */ + includeUnattributedCookieConversions?: boolean; + /** + * Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the + * lookback window prior to a conversion. + */ + includeUnattributedIPConversions?: boolean; + /** + * The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 + * impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report. + */ + maximumClickInteractions?: number; + /** + * The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 + * impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report. + */ + maximumImpressionInteractions?: number; + /** The maximum amount of time that can take place between interactions (clicks or impressions) by the same user. Valid values: 1-90. */ + maximumInteractionGap?: number; + /** Enable pivoting on interaction path. */ + pivotOnInteractionPath?: boolean; + }; + }; + /** The report criteria for a report of type "REACH". */ + reachCriteria?: { + /** Activity group. */ + activities?: Activities; + /** Custom Rich Media Events group. */ + customRichMediaEvents?: CustomRichMediaEvents; + /** The date range this report should be run for. */ + dateRange?: DateRange; + /** + * The list of filters on which dimensions are filtered. + * Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed. + */ + dimensionFilters?: DimensionValue[]; + /** The list of dimensions the report should include. */ + dimensions?: SortedDimension[]; + /** + * Whether to enable all reach dimension combinations in the report. Defaults to false. If enabled, the date range of the report should be within the last + * three months. + */ + enableAllDimensionCombinations?: boolean; + /** The list of names of metrics the report should include. */ + metricNames?: string[]; + /** The list of names of Reach By Frequency metrics the report should include. */ + reachByFrequencyMetricNames?: string[]; + }; + /** The report's schedule. Can only be set if the report's 'dateRange' is a relative date range and the relative date range is not "TODAY". */ + schedule?: { + /** Whether the schedule is active or not. Must be set to either true or false. */ + active?: boolean; + /** Defines every how many days, weeks or months the report should be run. Needs to be set when "repeats" is either "DAILY", "WEEKLY" or "MONTHLY". */ + every?: number; + /** The expiration date when the scheduled report stops running. */ + expirationDate?: string; + /** + * The interval for which the report is repeated. Note: + * - "DAILY" also requires field "every" to be set. + * - "WEEKLY" also requires fields "every" and "repeatsOnWeekDays" to be set. + * - "MONTHLY" also requires fields "every" and "runsOnDayOfMonth" to be set. + */ + repeats?: string; + /** List of week days "WEEKLY" on which scheduled reports should run. */ + repeatsOnWeekDays?: string[]; + /** + * Enum to define for "MONTHLY" scheduled reports whether reports should be repeated on the same day of the month as "startDate" or the same day of the + * week of the month. + * Example: If 'startDate' is Monday, April 2nd 2012 (2012-04-02), "DAY_OF_MONTH" would run subsequent reports on the 2nd of every Month, and + * "WEEK_OF_MONTH" would run subsequent reports on the first Monday of the month. + */ + runsOnDayOfMonth?: string; + /** Start date of date range for which scheduled reports should be run. */ + startDate?: string; + }; + /** The subaccount ID to which this report belongs if applicable. */ + subAccountId?: string; + /** The type of the report. */ + type?: string; + } + interface ReportCompatibleFields { + /** Dimensions which are compatible to be selected in the "dimensionFilters" section of the report. */ + dimensionFilters?: Dimension[]; + /** Dimensions which are compatible to be selected in the "dimensions" section of the report. */ + dimensions?: Dimension[]; + /** The kind of resource this is, in this case dfareporting#reportCompatibleFields. */ + kind?: string; + /** Metrics which are compatible to be selected in the "metricNames" section of the report. */ + metrics?: Metric[]; + /** Metrics which are compatible to be selected as activity metrics to pivot on in the "activities" section of the report. */ + pivotedActivityMetrics?: Metric[]; + } + interface ReportList { + /** The eTag of this response for caching purposes. */ + etag?: string; + /** The reports returned in this response. */ + items?: Report[]; + /** The kind of list this is, in this case dfareporting#reportList. */ + kind?: string; + /** + * Continuation token used to page through reports. To retrieve the next page of results, set the next request's "pageToken" to the value of this field. + * The page token is only valid for a limited amount of time and should not be persisted. + */ + nextPageToken?: string; + } + interface ReportsConfiguration { + /** + * Whether the exposure to conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen + * by a user before converting. + */ + exposureToConversionEnabled?: boolean; + /** Default lookback windows for new advertisers in this account. */ + lookbackConfiguration?: LookbackConfiguration; + /** + * Report generation time zone ID of this account. This is a required field that can only be changed by a superuser. + * Acceptable values are: + * + * - "1" for "America/New_York" + * - "2" for "Europe/London" + * - "3" for "Europe/Paris" + * - "4" for "Africa/Johannesburg" + * - "5" for "Asia/Jerusalem" + * - "6" for "Asia/Shanghai" + * - "7" for "Asia/Hong_Kong" + * - "8" for "Asia/Tokyo" + * - "9" for "Australia/Sydney" + * - "10" for "Asia/Dubai" + * - "11" for "America/Los_Angeles" + * - "12" for "Pacific/Auckland" + * - "13" for "America/Sao_Paulo" + */ + reportGenerationTimeZoneId?: string; + } + interface RichMediaExitOverride { + /** Click-through URL of this rich media exit override. Applicable if the enabled field is set to true. */ + clickThroughUrl?: ClickThroughUrl; + /** Whether to use the clickThroughUrl. If false, the creative-level exit will be used. */ + enabled?: boolean; + /** ID for the override to refer to a specific exit in the creative. */ + exitId?: string; + } + interface Rule { + /** A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field. */ + assetId?: string; + /** A user-friendly name for this rule. This is a required field. */ + name?: string; + /** + * A targeting template ID. The targeting from the targeting template will be used to determine whether this asset should be served. This is a required + * field. + */ + targetingTemplateId?: string; + } + interface Site { + /** Account ID of this site. This is a read-only field that can be left blank. */ + accountId?: string; + /** Whether this site is approved. */ + approved?: boolean; + /** Directory site associated with this site. This is a required field that is read-only after insertion. */ + directorySiteId?: string; + /** Dimension value for the ID of the directory site. This is a read-only, auto-generated field. */ + directorySiteIdDimensionValue?: DimensionValue; + /** ID of this site. This is a read-only, auto-generated field. */ + id?: string; + /** Dimension value for the ID of this site. This is a read-only, auto-generated field. */ + idDimensionValue?: DimensionValue; + /** Key name of this site. This is a read-only, auto-generated field. */ + keyName?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#site". */ + kind?: string; + /** + * Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among + * sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account. + */ + name?: string; + /** Site contacts. */ + siteContacts?: SiteContact[]; + /** Site-wide settings. */ + siteSettings?: SiteSettings; + /** Subaccount ID of this site. This is a read-only field that can be left blank. */ + subaccountId?: string; + } + interface SiteContact { + /** Address of this site contact. */ + address?: string; + /** Site contact type. */ + contactType?: string; + /** Email address of this site contact. This is a required field. */ + email?: string; + /** First name of this site contact. */ + firstName?: string; + /** ID of this site contact. This is a read-only, auto-generated field. */ + id?: string; + /** Last name of this site contact. */ + lastName?: string; + /** Primary phone number of this site contact. */ + phone?: string; + /** Title or designation of this site contact. */ + title?: string; + } + interface SiteSettings { + /** Whether active view creatives are disabled for this site. */ + activeViewOptOut?: boolean; + /** + * Whether this site opts out of ad blocking. When true, ad blocking is disabled for all placements under the site, regardless of the individual placement + * settings. When false, the campaign and placement settings take effect. + */ + adBlockingOptOut?: boolean; + /** Site-wide creative settings. */ + creativeSettings?: CreativeSettings; + /** Whether new cookies are disabled for this site. */ + disableNewCookie?: boolean; + /** Lookback window settings for this site. */ + lookbackConfiguration?: LookbackConfiguration; + /** Configuration settings for dynamic and image floodlight tags. */ + tagSetting?: TagSetting; + /** + * Whether Verification and ActiveView for in-stream video creatives are disabled by default for new placements created under this site. This value will + * be used to populate the placement.videoActiveViewOptOut field, when no value is specified for the new placement. + */ + videoActiveViewOptOutTemplate?: boolean; + /** + * Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice field, + * when no value is specified for the new placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned + * to the placement. The publisher's specifications will typically determine this setting. For VPAID creatives, the adapter format will match the VPAID + * format (HTML5 VPAID creatives use the HTML5 adapter). + * + * Note: Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH. + */ + vpaidAdapterChoiceTemplate?: string; + } + interface SitesListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#sitesListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + /** Site collection. */ + sites?: Site[]; + } + interface Size { + /** Height of this size. Acceptable values are 0 to 32767, inclusive. */ + height?: number; + /** IAB standard size. This is a read-only, auto-generated field. */ + iab?: boolean; + /** ID of this size. This is a read-only, auto-generated field. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". */ + kind?: string; + /** Width of this size. Acceptable values are 0 to 32767, inclusive. */ + width?: number; + } + interface SizesListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#sizesListResponse". */ + kind?: string; + /** Size collection. */ + sizes?: Size[]; + } + interface SkippableSetting { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#skippableSetting". */ + kind?: string; + /** Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true. */ + progressOffset?: VideoOffset; + /** Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true. */ + skipOffset?: VideoOffset; + /** Whether the user can skip creatives served to this placement. */ + skippable?: boolean; + } + interface SortedDimension { + /** The kind of resource this is, in this case dfareporting#sortedDimension. */ + kind?: string; + /** The name of the dimension. */ + name?: string; + /** An optional sort order for the dimension column. */ + sortOrder?: string; + } + interface Subaccount { + /** ID of the account that contains this subaccount. This is a read-only field that can be left blank. */ + accountId?: string; + /** IDs of the available user role permissions for this subaccount. */ + availablePermissionIds?: string[]; + /** ID of this subaccount. This is a read-only, auto-generated field. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#subaccount". */ + kind?: string; + /** Name of this subaccount. This is a required field. Must be less than 128 characters long and be unique among subaccounts of the same account. */ + name?: string; + } + interface SubaccountsListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#subaccountsListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + /** Subaccount collection. */ + subaccounts?: Subaccount[]; + } + interface TagData { + /** Ad associated with this placement tag. Applicable only when format is PLACEMENT_TAG_TRACKING. */ + adId?: string; + /** Tag string to record a click. */ + clickTag?: string; + /** Creative associated with this placement tag. Applicable only when format is PLACEMENT_TAG_TRACKING. */ + creativeId?: string; + /** TagData tag format of this tag. */ + format?: string; + /** Tag string for serving an ad. */ + impressionTag?: string; + } + interface TagSetting { + /** + * Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys + * and values must not contain commas. For example, id=2;color=red is a valid value for this field. + */ + additionalKeyValues?: string; + /** Whether static landing page URLs should be included in the tags. This setting applies only to placements. */ + includeClickThroughUrls?: boolean; + /** Whether click-tracking string should be included in the tags. */ + includeClickTracking?: boolean; + /** + * Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags + * for this site. Publishers can then add keywords to those placeholders. + */ + keywordOption?: string; + } + interface TagSettings { + /** Whether dynamic floodlight tags are enabled. */ + dynamicTagEnabled?: boolean; + /** Whether image tags are enabled. */ + imageTagEnabled?: boolean; + } + interface TargetWindow { + /** User-entered value. */ + customHtml?: string; + /** Type of browser window for which the backup image of the flash creative can be displayed. */ + targetWindowOption?: string; + } + interface TargetableRemarketingList { + /** Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests. */ + accountId?: string; + /** Whether this targetable remarketing list is active. */ + active?: boolean; + /** Dimension value for the advertiser ID that owns this targetable remarketing list. */ + advertiserId?: string; + /** Dimension value for the ID of the advertiser. */ + advertiserIdDimensionValue?: DimensionValue; + /** Targetable remarketing list description. */ + description?: string; + /** Targetable remarketing list ID. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#targetableRemarketingList". */ + kind?: string; + /** Number of days that a user should remain in the targetable remarketing list without an impression. */ + lifeSpan?: string; + /** Number of users currently in the list. This is a read-only field. */ + listSize?: string; + /** Product from which this targetable remarketing list was originated. */ + listSource?: string; + /** Name of the targetable remarketing list. Is no greater than 128 characters long. */ + name?: string; + /** Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests. */ + subaccountId?: string; + } + interface TargetableRemarketingListsListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#targetableRemarketingListsListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + /** Targetable remarketing list collection. */ + targetableRemarketingLists?: TargetableRemarketingList[]; + } + interface TargetingTemplate { + /** Account ID of this targeting template. This field, if left unset, will be auto-generated on insert and is read-only after insert. */ + accountId?: string; + /** Advertiser ID of this targeting template. This is a required field on insert and is read-only after insert. */ + advertiserId?: string; + /** Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. */ + advertiserIdDimensionValue?: DimensionValue; + /** Time and day targeting criteria. */ + dayPartTargeting?: DayPartTargeting; + /** Geographical targeting criteria. */ + geoTargeting?: GeoTargeting; + /** ID of this targeting template. This is a read-only, auto-generated field. */ + id?: string; + /** Key-value targeting criteria. */ + keyValueTargetingExpression?: KeyValueTargetingExpression; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#targetingTemplate". */ + kind?: string; + /** Language targeting criteria. */ + languageTargeting?: LanguageTargeting; + /** Remarketing list targeting criteria. */ + listTargetingExpression?: ListTargetingExpression; + /** Name of this targeting template. This field is required. It must be less than 256 characters long and unique within an advertiser. */ + name?: string; + /** Subaccount ID of this targeting template. This field, if left unset, will be auto-generated on insert and is read-only after insert. */ + subaccountId?: string; + /** Technology platform targeting criteria. */ + technologyTargeting?: TechnologyTargeting; + } + interface TargetingTemplatesListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#targetingTemplatesListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + /** Targeting template collection. */ + targetingTemplates?: TargetingTemplate[]; + } + interface TechnologyTargeting { + /** + * Browsers that this ad targets. For each browser either set browserVersionId or dartId along with the version numbers. If both are specified, only + * browserVersionId will be used. The other fields are populated automatically when the ad is inserted or updated. + */ + browsers?: Browser[]; + /** + * Connection types that this ad targets. For each connection type only id is required. The other fields are populated automatically when the ad is + * inserted or updated. + */ + connectionTypes?: ConnectionType[]; + /** + * Mobile carriers that this ad targets. For each mobile carrier only id is required, and the other fields are populated automatically when the ad is + * inserted or updated. If targeting a mobile carrier, do not set targeting for any zip codes. + */ + mobileCarriers?: MobileCarrier[]; + /** + * Operating system versions that this ad targets. To target all versions, use operatingSystems. For each operating system version, only id is required. + * The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system version, do not set targeting for the + * corresponding operating system in operatingSystems. + */ + operatingSystemVersions?: OperatingSystemVersion[]; + /** + * Operating systems that this ad targets. To target specific versions, use operatingSystemVersions. For each operating system only dartId is required. + * The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system, do not set targeting for operating + * system versions for the same operating system. + */ + operatingSystems?: OperatingSystem[]; + /** + * Platform types that this ad targets. For example, desktop, mobile, or tablet. For each platform type, only id is required, and the other fields are + * populated automatically when the ad is inserted or updated. + */ + platformTypes?: PlatformType[]; + } + interface ThirdPartyAuthenticationToken { + /** Name of the third-party authentication token. */ + name?: string; + /** Value of the third-party authentication token. This is a read-only, auto-generated field. */ + value?: string; + } + interface ThirdPartyTrackingUrl { + /** Third-party URL type for in-stream video creatives. */ + thirdPartyUrlType?: string; + /** URL for the specified third-party URL type. */ + url?: string; + } + interface TranscodeSetting { + /** Whitelist of video formats to be served to this placement. Set this list to null or empty to serve all video formats. */ + enabledVideoFormats?: number[]; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#transcodeSetting". */ + kind?: string; + } + interface UniversalAdId { + /** Registry used for the Ad ID value. */ + registry?: string; + /** + * ID value for this creative. Only alphanumeric characters and the following symbols are valid: "_/\-". Maximum length is 64 characters. Read only when + * registry is DCM. + */ + value?: string; + } + interface UserDefinedVariableConfiguration { + /** Data type for the variable. This is a required field. */ + dataType?: string; + /** + * User-friendly name for the variable which will appear in reports. This is a required field, must be less than 64 characters long, and cannot contain + * the following characters: ""<>". + */ + reportName?: string; + /** Variable name in the tag. This is a required field. */ + variableType?: string; + } + interface UserProfile { + /** The account ID to which this profile belongs. */ + accountId?: string; + /** The account name this profile belongs to. */ + accountName?: string; + /** The eTag of this response for caching purposes. */ + etag?: string; + /** The kind of resource this is, in this case dfareporting#userProfile. */ + kind?: string; + /** The unique ID of the user profile. */ + profileId?: string; + /** The sub account ID this profile belongs to if applicable. */ + subAccountId?: string; + /** The sub account name this profile belongs to if applicable. */ + subAccountName?: string; + /** The user name. */ + userName?: string; + } + interface UserProfileList { + /** The eTag of this response for caching purposes. */ + etag?: string; + /** The user profiles returned in this response. */ + items?: UserProfile[]; + /** The kind of list this is, in this case dfareporting#userProfileList. */ + kind?: string; + } + interface UserRole { + /** Account ID of this user role. This is a read-only field that can be left blank. */ + accountId?: string; + /** + * Whether this is a default user role. Default user roles are created by the system for the account/subaccount and cannot be modified or deleted. Each + * default user role comes with a basic set of preassigned permissions. + */ + defaultUserRole?: boolean; + /** ID of this user role. This is a read-only, auto-generated field. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRole". */ + kind?: string; + /** + * Name of this user role. This is a required field. Must be less than 256 characters long. If this user role is under a subaccount, the name must be + * unique among sites of the same subaccount. Otherwise, this user role is a top-level user role, and the name must be unique among top-level user roles + * of the same account. + */ + name?: string; + /** ID of the user role that this user role is based on or copied from. This is a required field. */ + parentUserRoleId?: string; + /** List of permissions associated with this user role. */ + permissions?: UserRolePermission[]; + /** Subaccount ID of this user role. This is a read-only field that can be left blank. */ + subaccountId?: string; + } + interface UserRolePermission { + /** Levels of availability for a user role permission. */ + availability?: string; + /** ID of this user role permission. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermission". */ + kind?: string; + /** Name of this user role permission. */ + name?: string; + /** ID of the permission group that this user role permission belongs to. */ + permissionGroupId?: string; + } + interface UserRolePermissionGroup { + /** ID of this user role permission. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermissionGroup". */ + kind?: string; + /** Name of this user role permission group. */ + name?: string; + } + interface UserRolePermissionGroupsListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermissionGroupsListResponse". */ + kind?: string; + /** User role permission group collection. */ + userRolePermissionGroups?: UserRolePermissionGroup[]; + } + interface UserRolePermissionsListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermissionsListResponse". */ + kind?: string; + /** User role permission collection. */ + userRolePermissions?: UserRolePermission[]; + } + interface UserRolesListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolesListResponse". */ + kind?: string; + /** Pagination token to be used for the next list operation. */ + nextPageToken?: string; + /** User role collection. */ + userRoles?: UserRole[]; + } + interface VideoFormat { + /** File type of the video format. */ + fileType?: string; + /** ID of the video format. */ + id?: number; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoFormat". */ + kind?: string; + /** The resolution of this video format. */ + resolution?: Size; + /** The target bit rate of this video format. */ + targetBitRate?: number; + } + interface VideoFormatsListResponse { + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoFormatsListResponse". */ + kind?: string; + /** Video format collection. */ + videoFormats?: VideoFormat[]; + } + interface VideoOffset { + /** Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. */ + offsetPercentage?: number; + /** Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. */ + offsetSeconds?: number; + } + interface VideoSettings { + /** Settings for the companion creatives of video creatives served to this placement. */ + companionSettings?: CompanionSetting; + /** Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoSettings". */ + kind?: string; + /** + * Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be + * overridden. + */ + skippableSettings?: SkippableSetting; + /** + * Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be + * overridden. + */ + transcodeSettings?: TranscodeSetting; + } + interface AccountActiveAdSummariesResource { + /** Gets the account's active ad summary by account ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Account ID. */ + summaryAccountId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountActiveAdSummary>; + } + interface AccountPermissionGroupsResource { + /** Gets one account permission group by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Account permission group ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountPermissionGroup>; + /** Retrieves the list of account permission groups. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountPermissionGroupsListResponse>; + } + interface AccountPermissionsResource { + /** Gets one account permission by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Account permission ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountPermission>; + /** Retrieves the list of account permissions. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountPermissionsListResponse>; + } + interface AccountUserProfilesResource { + /** Gets one account user profile by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** User profile ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountUserProfile>; + /** Inserts a new account user profile. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountUserProfile>; + /** Retrieves a list of account user profiles, possibly filtered. This method supports paging. */ + list(request: { + /** Select only active user profiles. */ + active?: boolean; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only user profiles with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for objects by name, ID or email. Wildcards (*) are allowed. For example, "user profile*2015" will return objects with names like + * "user profile June 2015", "user profile April 2015", or simply "user profile 2015". Most of the searches also add wildcards implicitly at the start and + * the end of the search string. For example, a search string of "user profile" will match objects with name "my user profile", "user profile 2015", or + * simply "user profile". + */ + searchString?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** Select only user profiles with the specified subaccount ID. */ + subaccountId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Select only user profiles with the specified user role ID. */ + userRoleId?: string; + }): Request<AccountUserProfilesListResponse>; + /** Updates an existing account user profile. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** User profile ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountUserProfile>; + /** Updates an existing account user profile. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountUserProfile>; + } + interface AccountsResource { + /** Gets one account by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Account ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Account>; + /** Retrieves the list of accounts, possibly filtered. This method supports paging. */ + list(request: { + /** Select only active accounts. Don't set this field to select both active and non-active accounts. */ + active?: boolean; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only accounts with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "account*2015" will return objects with names like "account June + * 2015", "account April 2015", or simply "account 2015". Most of the searches also add wildcards implicitly at the start and the end of the search + * string. For example, a search string of "account" will match objects with name "my account", "account 2015", or simply "account". + */ + searchString?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AccountsListResponse>; + /** Updates an existing account. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Account ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Account>; + /** Updates an existing account. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Account>; + } + interface AdsResource { + /** Gets one ad by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Ad ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Ad>; + /** Inserts a new ad. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Ad>; + /** Retrieves a list of ads, possibly filtered. This method supports paging. */ + list(request: { + /** Select only active ads. */ + active?: boolean; + /** Select only ads with this advertiser ID. */ + advertiserId?: string; + /** Data format for the response. */ + alt?: string; + /** Select only archived ads. */ + archived?: boolean; + /** Select only ads with these audience segment IDs. */ + audienceSegmentIds?: string; + /** Select only ads with these campaign IDs. */ + campaignIds?: string; + /** + * Select default ads with the specified compatibility. Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering + * either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. + * IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the VAST standard. + */ + compatibility?: string; + /** Select only ads with these creative IDs assigned. */ + creativeIds?: string; + /** Select only ads with these creative optimization configuration IDs. */ + creativeOptimizationConfigurationIds?: string; + /** + * Select only dynamic click trackers. Applicable when type is AD_SERVING_CLICK_TRACKER. If true, select dynamic click trackers. If false, select static + * click trackers. Leave unset to select both. + */ + dynamicClickTracker?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only ads with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Select only ads with these landing page IDs. */ + landingPageIds?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Select only ads with this event tag override ID. */ + overriddenEventTagId?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Select only ads with these placement IDs assigned. */ + placementIds?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Select only ads whose list targeting expression use these remarketing list IDs. */ + remarketingListIds?: string; + /** + * Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "ad*2015" will return objects with names like "ad June 2015", "ad + * April 2015", or simply "ad 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a + * search string of "ad" will match objects with name "my ad", "ad 2015", or simply "ad". + */ + searchString?: string; + /** Select only ads with these size IDs. */ + sizeIds?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** Select only ads that are SSL-compliant. */ + sslCompliant?: boolean; + /** Select only ads that require SSL. */ + sslRequired?: boolean; + /** Select only ads with these types. */ + type?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdsListResponse>; + /** Updates an existing ad. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Ad ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Ad>; + /** Updates an existing ad. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Ad>; + } + interface AdvertiserGroupsResource { + /** Deletes an existing advertiser group. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Advertiser group ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets one advertiser group by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Advertiser group ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdvertiserGroup>; + /** Inserts a new advertiser group. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdvertiserGroup>; + /** Retrieves a list of advertiser groups, possibly filtered. This method supports paging. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only advertiser groups with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "advertiser*2015" will return objects with names like "advertiser + * group June 2015", "advertiser group April 2015", or simply "advertiser group 2015". Most of the searches also add wildcards implicitly at the start and + * the end of the search string. For example, a search string of "advertisergroup" will match objects with name "my advertisergroup", "advertisergroup + * 2015", or simply "advertisergroup". + */ + searchString?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdvertiserGroupsListResponse>; + /** Updates an existing advertiser group. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Advertiser group ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdvertiserGroup>; + /** Updates an existing advertiser group. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdvertiserGroup>; + } + interface AdvertisersResource { + /** Gets one advertiser by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Advertiser ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Advertiser>; + /** Inserts a new advertiser. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Advertiser>; + /** Retrieves a list of advertisers, possibly filtered. This method supports paging. */ + list(request: { + /** Select only advertisers with these advertiser group IDs. */ + advertiserGroupIds?: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only advertisers with these floodlight configuration IDs. */ + floodlightConfigurationIds?: string; + /** Select only advertisers with these IDs. */ + ids?: string; + /** Select only advertisers which do not belong to any advertiser group. */ + includeAdvertisersWithoutGroupsOnly?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Select only advertisers which use another advertiser's floodlight configuration. */ + onlyParent?: boolean; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "advertiser*2015" will return objects with names like "advertiser + * June 2015", "advertiser April 2015", or simply "advertiser 2015". Most of the searches also add wildcards implicitly at the start and the end of the + * search string. For example, a search string of "advertiser" will match objects with name "my advertiser", "advertiser 2015", or simply "advertiser". + */ + searchString?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** Select only advertisers with the specified status. */ + status?: string; + /** Select only advertisers with these subaccount IDs. */ + subaccountId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AdvertisersListResponse>; + /** Updates an existing advertiser. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Advertiser ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Advertiser>; + /** Updates an existing advertiser. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Advertiser>; + } + interface BrowsersResource { + /** Retrieves a list of browsers. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<BrowsersListResponse>; + } + interface CampaignCreativeAssociationsResource { + /** + * Associates a creative with the specified campaign. This method creates a default ad with dimensions matching the creative in the campaign if such a + * default ad does not exist already. + */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Campaign ID in this association. */ + campaignId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CampaignCreativeAssociation>; + /** Retrieves the list of creative IDs associated with the specified campaign. This method supports paging. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Campaign ID in this association. */ + campaignId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CampaignCreativeAssociationsListResponse>; + } + interface CampaignsResource { + /** Gets one campaign by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Campaign ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Campaign>; + /** Inserts a new campaign. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Default landing page name for this new campaign. Must be less than 256 characters long. */ + defaultLandingPageName: string; + /** Default landing page URL for this new campaign. */ + defaultLandingPageUrl: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Campaign>; + /** Retrieves a list of campaigns, possibly filtered. This method supports paging. */ + list(request: { + /** Select only campaigns whose advertisers belong to these advertiser groups. */ + advertiserGroupIds?: string; + /** Select only campaigns that belong to these advertisers. */ + advertiserIds?: string; + /** Data format for the response. */ + alt?: string; + /** Select only archived campaigns. Don't set this field to select both archived and non-archived campaigns. */ + archived?: boolean; + /** Select only campaigns that have at least one optimization activity. */ + atLeastOneOptimizationActivity?: boolean; + /** Exclude campaigns with these IDs. */ + excludedIds?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only campaigns with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Select only campaigns that have overridden this event tag ID. */ + overriddenEventTagId?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for campaigns by name or ID. Wildcards (*) are allowed. For example, "campaign*2015" will return campaigns with names like "campaign + * June 2015", "campaign April 2015", or simply "campaign 2015". Most of the searches also add wildcards implicitly at the start and the end of the search + * string. For example, a search string of "campaign" will match campaigns with name "my campaign", "campaign 2015", or simply "campaign". + */ + searchString?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** Select only campaigns that belong to this subaccount. */ + subaccountId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CampaignsListResponse>; + /** Updates an existing campaign. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Campaign ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Campaign>; + /** Updates an existing campaign. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Campaign>; + } + interface ChangeLogsResource { + /** Gets one change log by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Change log ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ChangeLog>; + /** Retrieves a list of change logs. This method supports paging. */ + list(request: { + /** Select only change logs with the specified action. */ + action?: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only change logs with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Select only change logs whose change time is before the specified maxChangeTime.The time should be formatted as an RFC3339 date/time string. For + * example, for 10:54 PM on July 18th, 2015, in the America/New York time zone, the format is "2015-07-18T22:54:00-04:00". In other words, the year, + * month, day, the letter T, the hour (24-hour clock system), minute, second, and then the time zone offset. + */ + maxChangeTime?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** + * Select only change logs whose change time is before the specified minChangeTime.The time should be formatted as an RFC3339 date/time string. For + * example, for 10:54 PM on July 18th, 2015, in the America/New York time zone, the format is "2015-07-18T22:54:00-04:00". In other words, the year, + * month, day, the letter T, the hour (24-hour clock system), minute, second, and then the time zone offset. + */ + minChangeTime?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Select only change logs with these object IDs. */ + objectIds?: string; + /** Select only change logs with the specified object type. */ + objectType?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Select only change logs whose object ID, user name, old or new values match the search string. */ + searchString?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Select only change logs with these user profile IDs. */ + userProfileIds?: string; + }): Request<ChangeLogsListResponse>; + } + interface CitiesResource { + /** Retrieves a list of cities, possibly filtered. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Select only cities from these countries. */ + countryDartIds?: string; + /** Select only cities with these DART IDs. */ + dartIds?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Select only cities with names starting with this prefix. */ + namePrefix?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Select only cities from these regions. */ + regionDartIds?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CitiesListResponse>; + } + interface ConnectionTypesResource { + /** Gets one connection type by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Connection type ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ConnectionType>; + /** Retrieves a list of connection types. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ConnectionTypesListResponse>; + } + interface ContentCategoriesResource { + /** Deletes an existing content category. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Content category ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets one content category by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Content category ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ContentCategory>; + /** Inserts a new content category. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ContentCategory>; + /** Retrieves a list of content categories, possibly filtered. This method supports paging. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only content categories with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "contentcategory*2015" will return objects with names like + * "contentcategory June 2015", "contentcategory April 2015", or simply "contentcategory 2015". Most of the searches also add wildcards implicitly at the + * start and the end of the search string. For example, a search string of "contentcategory" will match objects with name "my contentcategory", + * "contentcategory 2015", or simply "contentcategory". + */ + searchString?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ContentCategoriesListResponse>; + /** Updates an existing content category. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Content category ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ContentCategory>; + /** Updates an existing content category. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ContentCategory>; + } + interface ConversionsResource { + /** Inserts conversions. */ + batchinsert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ConversionsBatchInsertResponse>; + /** Updates existing conversions. */ + batchupdate(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ConversionsBatchUpdateResponse>; + } + interface CountriesResource { + /** Gets one country by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Country DART ID. */ + dartId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Country>; + /** Retrieves a list of countries. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CountriesListResponse>; + } + interface CreativeAssetsResource { + /** Inserts a new creative asset. */ + insert(request: { + /** Advertiser ID of this creative. This is a required field. */ + advertiserId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreativeAssetMetadata>; + } + interface CreativeFieldValuesResource { + /** Deletes an existing creative field value. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Creative field ID for this creative field value. */ + creativeFieldId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Creative Field Value ID */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets one creative field value by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Creative field ID for this creative field value. */ + creativeFieldId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Creative Field Value ID */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreativeFieldValue>; + /** Inserts a new creative field value. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Creative field ID for this creative field value. */ + creativeFieldId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreativeFieldValue>; + /** Retrieves a list of creative field values, possibly filtered. This method supports paging. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Creative field ID for this creative field value. */ + creativeFieldId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only creative field values with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Allows searching for creative field values by their values. Wildcards (e.g. *) are not allowed. */ + searchString?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreativeFieldValuesListResponse>; + /** Updates an existing creative field value. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Creative field ID for this creative field value. */ + creativeFieldId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Creative Field Value ID */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreativeFieldValue>; + /** Updates an existing creative field value. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Creative field ID for this creative field value. */ + creativeFieldId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreativeFieldValue>; + } + interface CreativeFieldsResource { + /** Deletes an existing creative field. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Creative Field ID */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets one creative field by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Creative Field ID */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreativeField>; + /** Inserts a new creative field. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreativeField>; + /** Retrieves a list of creative fields, possibly filtered. This method supports paging. */ + list(request: { + /** Select only creative fields that belong to these advertisers. */ + advertiserIds?: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only creative fields with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for creative fields by name or ID. Wildcards (*) are allowed. For example, "creativefield*2015" will return creative fields with names + * like "creativefield June 2015", "creativefield April 2015", or simply "creativefield 2015". Most of the searches also add wild-cards implicitly at the + * start and the end of the search string. For example, a search string of "creativefield" will match creative fields with the name "my creativefield", + * "creativefield 2015", or simply "creativefield". + */ + searchString?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreativeFieldsListResponse>; + /** Updates an existing creative field. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Creative Field ID */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreativeField>; + /** Updates an existing creative field. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreativeField>; + } + interface CreativeGroupsResource { + /** Gets one creative group by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Creative group ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreativeGroup>; + /** Inserts a new creative group. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreativeGroup>; + /** Retrieves a list of creative groups, possibly filtered. This method supports paging. */ + list(request: { + /** Select only creative groups that belong to these advertisers. */ + advertiserIds?: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only creative groups that belong to this subgroup. */ + groupNumber?: number; + /** Select only creative groups with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for creative groups by name or ID. Wildcards (*) are allowed. For example, "creativegroup*2015" will return creative groups with names + * like "creativegroup June 2015", "creativegroup April 2015", or simply "creativegroup 2015". Most of the searches also add wild-cards implicitly at the + * start and the end of the search string. For example, a search string of "creativegroup" will match creative groups with the name "my creativegroup", + * "creativegroup 2015", or simply "creativegroup". + */ + searchString?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreativeGroupsListResponse>; + /** Updates an existing creative group. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Creative group ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreativeGroup>; + /** Updates an existing creative group. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreativeGroup>; + } + interface CreativesResource { + /** Gets one creative by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Creative ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Creative>; + /** Inserts a new creative. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Creative>; + /** Retrieves a list of creatives, possibly filtered. This method supports paging. */ + list(request: { + /** Select only active creatives. Leave blank to select active and inactive creatives. */ + active?: boolean; + /** Select only creatives with this advertiser ID. */ + advertiserId?: string; + /** Data format for the response. */ + alt?: string; + /** Select only archived creatives. Leave blank to select archived and unarchived creatives. */ + archived?: boolean; + /** Select only creatives with this campaign ID. */ + campaignId?: string; + /** Select only in-stream video creatives with these companion IDs. */ + companionCreativeIds?: string; + /** Select only creatives with these creative field IDs. */ + creativeFieldIds?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only creatives with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Select only creatives with these rendering IDs. */ + renderingIds?: string; + /** + * Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "creative*2015" will return objects with names like "creative June + * 2015", "creative April 2015", or simply "creative 2015". Most of the searches also add wildcards implicitly at the start and the end of the search + * string. For example, a search string of "creative" will match objects with name "my creative", "creative 2015", or simply "creative". + */ + searchString?: string; + /** Select only creatives with these size IDs. */ + sizeIds?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** Select only creatives corresponding to this Studio creative ID. */ + studioCreativeId?: string; + /** Select only creatives with these creative types. */ + types?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreativesListResponse>; + /** Updates an existing creative. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Creative ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Creative>; + /** Updates an existing creative. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Creative>; + } + interface DimensionValuesResource { + /** Retrieves list of report dimension values for a list of filters. */ + query(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The value of the nextToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The DFA user profile ID. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DimensionValueList>; + } + interface DirectorySiteContactsResource { + /** Gets one directory site contact by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Directory site contact ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DirectorySiteContact>; + /** Retrieves a list of directory site contacts, possibly filtered. This method supports paging. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Select only directory site contacts with these directory site IDs. This is a required field. */ + directorySiteIds?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only directory site contacts with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for objects by name, ID or email. Wildcards (*) are allowed. For example, "directory site contact*2015" will return objects with names + * like "directory site contact June 2015", "directory site contact April 2015", or simply "directory site contact 2015". Most of the searches also add + * wildcards implicitly at the start and the end of the search string. For example, a search string of "directory site contact" will match objects with + * name "my directory site contact", "directory site contact 2015", or simply "directory site contact". + */ + searchString?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DirectorySiteContactsListResponse>; + } + interface DirectorySitesResource { + /** Gets one directory site by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Directory site ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DirectorySite>; + /** Inserts a new directory site. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DirectorySite>; + /** Retrieves a list of directory sites, possibly filtered. This method supports paging. */ + list(request: { + /** This search filter is no longer supported and will have no effect on the results returned. */ + acceptsInStreamVideoPlacements?: boolean; + /** This search filter is no longer supported and will have no effect on the results returned. */ + acceptsInterstitialPlacements?: boolean; + /** Select only directory sites that accept publisher paid placements. This field can be left blank. */ + acceptsPublisherPaidPlacements?: boolean; + /** Select only active directory sites. Leave blank to retrieve both active and inactive directory sites. */ + active?: boolean; + /** Data format for the response. */ + alt?: string; + /** Select only directory sites with this country ID. */ + countryId?: string; + /** Select only directory sites with this DFP network code. */ + dfpNetworkCode?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only directory sites with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Select only directory sites with this parent ID. */ + parentId?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for objects by name, ID or URL. Wildcards (*) are allowed. For example, "directory site*2015" will return objects with names like + * "directory site June 2015", "directory site April 2015", or simply "directory site 2015". Most of the searches also add wildcards implicitly at the + * start and the end of the search string. For example, a search string of "directory site" will match objects with name "my directory site", "directory + * site 2015" or simply, "directory site". + */ + searchString?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DirectorySitesListResponse>; + } + interface DynamicTargetingKeysResource { + /** Deletes an existing dynamic targeting key. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are + * converted to lowercase. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** ID of the object of this dynamic targeting key. This is a required field. */ + objectId: string; + /** Type of the object of this dynamic targeting key. This is a required field. */ + objectType: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Inserts a new dynamic targeting key. Keys must be created at the advertiser level before being assigned to the advertiser's ads, creatives, or + * placements. There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 keys can be assigned per ad, creative, or placement. + */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DynamicTargetingKey>; + /** Retrieves a list of dynamic targeting keys. */ + list(request: { + /** Select only dynamic targeting keys whose object has this advertiser ID. */ + advertiserId?: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Select only dynamic targeting keys exactly matching these names. */ + names?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Select only dynamic targeting keys with this object ID. */ + objectId?: string; + /** Select only dynamic targeting keys with this object type. */ + objectType?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DynamicTargetingKeysListResponse>; + } + interface EventTagsResource { + /** Deletes an existing event tag. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Event tag ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets one event tag by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Event tag ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<EventTag>; + /** Inserts a new event tag. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<EventTag>; + /** Retrieves a list of event tags, possibly filtered. */ + list(request: { + /** Select only event tags that belong to this ad. */ + adId?: string; + /** Select only event tags that belong to this advertiser. */ + advertiserId?: string; + /** Data format for the response. */ + alt?: string; + /** Select only event tags that belong to this campaign. */ + campaignId?: string; + /** + * Examine only the specified campaign or advertiser's event tags for matching selector criteria. When set to false, the parent advertiser and parent + * campaign of the specified ad or campaign is examined as well. In addition, when set to false, the status field is examined as well, along with the + * enabledByDefault field. This parameter can not be set to true when adId is specified as ads do not define their own even tags. + */ + definitionsOnly?: boolean; + /** + * Select only enabled event tags. What is considered enabled or disabled depends on the definitionsOnly parameter. When definitionsOnly is set to true, + * only the specified advertiser or campaign's event tags' enabledByDefault field is examined. When definitionsOnly is set to false, the specified ad or + * specified campaign's parent advertiser's or parent campaign's event tags' enabledByDefault and status fields are examined as well. + */ + enabled?: boolean; + /** + * Select only event tags with the specified event tag types. Event tag types can be used to specify whether to use a third-party pixel, a third-party + * JavaScript URL, or a third-party click-through URL for either impression or click tracking. + */ + eventTagTypes?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only event tags with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "eventtag*2015" will return objects with names like "eventtag June + * 2015", "eventtag April 2015", or simply "eventtag 2015". Most of the searches also add wildcards implicitly at the start and the end of the search + * string. For example, a search string of "eventtag" will match objects with name "my eventtag", "eventtag 2015", or simply "eventtag". + */ + searchString?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<EventTagsListResponse>; + /** Updates an existing event tag. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Event tag ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<EventTag>; + /** Updates an existing event tag. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<EventTag>; + } + interface FilesResource { + /** Retrieves a report file by its report ID and file ID. This method supports media download. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the report file. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the report. */ + reportId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<File>; + /** Lists files for a user profile. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The value of the nextToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The DFA profile ID. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The scope that defines which results are returned. */ + scope?: string; + /** The field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FileList>; + } + interface FloodlightActivitiesResource { + /** Deletes an existing floodlight activity. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Floodlight activity ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Generates a tag for a floodlight activity. */ + generatetag(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Floodlight activity ID for which we want to generate a tag. */ + floodlightActivityId?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FloodlightActivitiesGenerateTagResponse>; + /** Gets one floodlight activity by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Floodlight activity ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FloodlightActivity>; + /** Inserts a new floodlight activity. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FloodlightActivity>; + /** Retrieves a list of floodlight activities, possibly filtered. This method supports paging. */ + list(request: { + /** + * Select only floodlight activities for the specified advertiser ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty + * result. + */ + advertiserId?: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only floodlight activities with the specified floodlight activity group IDs. */ + floodlightActivityGroupIds?: string; + /** Select only floodlight activities with the specified floodlight activity group name. */ + floodlightActivityGroupName?: string; + /** Select only floodlight activities with the specified floodlight activity group tag string. */ + floodlightActivityGroupTagString?: string; + /** Select only floodlight activities with the specified floodlight activity group type. */ + floodlightActivityGroupType?: string; + /** + * Select only floodlight activities for the specified floodlight configuration ID. Must specify either ids, advertiserId, or floodlightConfigurationId + * for a non-empty result. + */ + floodlightConfigurationId?: string; + /** Select only floodlight activities with the specified IDs. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "floodlightactivity*2015" will return objects with names like + * "floodlightactivity June 2015", "floodlightactivity April 2015", or simply "floodlightactivity 2015". Most of the searches also add wildcards + * implicitly at the start and the end of the search string. For example, a search string of "floodlightactivity" will match objects with name "my + * floodlightactivity activity", "floodlightactivity 2015", or simply "floodlightactivity". + */ + searchString?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** Select only floodlight activities with the specified tag string. */ + tagString?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FloodlightActivitiesListResponse>; + /** Updates an existing floodlight activity. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Floodlight activity ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FloodlightActivity>; + /** Updates an existing floodlight activity. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FloodlightActivity>; + } + interface FloodlightActivityGroupsResource { + /** Gets one floodlight activity group by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Floodlight activity Group ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FloodlightActivityGroup>; + /** Inserts a new floodlight activity group. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FloodlightActivityGroup>; + /** Retrieves a list of floodlight activity groups, possibly filtered. This method supports paging. */ + list(request: { + /** + * Select only floodlight activity groups with the specified advertiser ID. Must specify either advertiserId or floodlightConfigurationId for a non-empty + * result. + */ + advertiserId?: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Select only floodlight activity groups with the specified floodlight configuration ID. Must specify either advertiserId, or floodlightConfigurationId + * for a non-empty result. + */ + floodlightConfigurationId?: string; + /** Select only floodlight activity groups with the specified IDs. Must specify either advertiserId or floodlightConfigurationId for a non-empty result. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "floodlightactivitygroup*2015" will return objects with names like + * "floodlightactivitygroup June 2015", "floodlightactivitygroup April 2015", or simply "floodlightactivitygroup 2015". Most of the searches also add + * wildcards implicitly at the start and the end of the search string. For example, a search string of "floodlightactivitygroup" will match objects with + * name "my floodlightactivitygroup activity", "floodlightactivitygroup 2015", or simply "floodlightactivitygroup". + */ + searchString?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** Select only floodlight activity groups with the specified floodlight activity group type. */ + type?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FloodlightActivityGroupsListResponse>; + /** Updates an existing floodlight activity group. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Floodlight activity Group ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FloodlightActivityGroup>; + /** Updates an existing floodlight activity group. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FloodlightActivityGroup>; + } + interface FloodlightConfigurationsResource { + /** Gets one floodlight configuration by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Floodlight configuration ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FloodlightConfiguration>; + /** Retrieves a list of floodlight configurations, possibly filtered. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Set of IDs of floodlight configurations to retrieve. Required field; otherwise an empty list will be returned. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FloodlightConfigurationsListResponse>; + /** Updates an existing floodlight configuration. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Floodlight configuration ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FloodlightConfiguration>; + /** Updates an existing floodlight configuration. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FloodlightConfiguration>; + } + interface InventoryItemsResource { + /** Gets one inventory item by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Inventory item ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** Project ID for order documents. */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<InventoryItem>; + /** Retrieves a list of inventory items, possibly filtered. This method supports paging. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only inventory items with these IDs. */ + ids?: string; + /** Select only inventory items that are in plan. */ + inPlan?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Select only inventory items that belong to specified orders. */ + orderId?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** Project ID for order documents. */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Select only inventory items that are associated with these sites. */ + siteId?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** Select only inventory items with this type. */ + type?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<InventoryItemsListResponse>; + } + interface LandingPagesResource { + /** Deletes an existing campaign landing page. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Landing page campaign ID. */ + campaignId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Landing page ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets one campaign landing page by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Landing page campaign ID. */ + campaignId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Landing page ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LandingPage>; + /** Inserts a new landing page for the specified campaign. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Landing page campaign ID. */ + campaignId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LandingPage>; + /** Retrieves the list of landing pages for the specified campaign. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Landing page campaign ID. */ + campaignId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LandingPagesListResponse>; + /** Updates an existing campaign landing page. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Landing page campaign ID. */ + campaignId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Landing page ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LandingPage>; + /** Updates an existing campaign landing page. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Landing page campaign ID. */ + campaignId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LandingPage>; + } + interface LanguagesResource { + /** Retrieves a list of languages. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LanguagesListResponse>; + } + interface MetrosResource { + /** Retrieves a list of metros. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<MetrosListResponse>; + } + interface MobileCarriersResource { + /** Gets one mobile carrier by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Mobile carrier ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<MobileCarrier>; + /** Retrieves a list of mobile carriers. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<MobileCarriersListResponse>; + } + interface OperatingSystemVersionsResource { + /** Gets one operating system version by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Operating system version ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OperatingSystemVersion>; + /** Retrieves a list of operating system versions. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OperatingSystemVersionsListResponse>; + } + interface OperatingSystemsResource { + /** Gets one operating system by DART ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Operating system DART ID. */ + dartId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OperatingSystem>; + /** Retrieves a list of operating systems. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OperatingSystemsListResponse>; + } + interface OrderDocumentsResource { + /** Gets one order document by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Order document ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** Project ID for order documents. */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OrderDocument>; + /** Retrieves a list of order documents, possibly filtered. This method supports paging. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Select only order documents that have been approved by at least one user. */ + approved?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only order documents with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Select only order documents for specified orders. */ + orderId?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** Project ID for order documents. */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for order documents by name or ID. Wildcards (*) are allowed. For example, "orderdocument*2015" will return order documents with names + * like "orderdocument June 2015", "orderdocument April 2015", or simply "orderdocument 2015". Most of the searches also add wildcards implicitly at the + * start and the end of the search string. For example, a search string of "orderdocument" will match order documents with name "my orderdocument", + * "orderdocument 2015", or simply "orderdocument". + */ + searchString?: string; + /** Select only order documents that are associated with these sites. */ + siteId?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OrderDocumentsListResponse>; + } + interface OrdersResource { + /** Gets one order by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Order ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** Project ID for orders. */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Order>; + /** Retrieves a list of orders, possibly filtered. This method supports paging. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only orders with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** Project ID for orders. */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for orders by name or ID. Wildcards (*) are allowed. For example, "order*2015" will return orders with names like "order June 2015", + * "order April 2015", or simply "order 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For + * example, a search string of "order" will match orders with name "my order", "order 2015", or simply "order". + */ + searchString?: string; + /** Select only orders that are associated with these site IDs. */ + siteId?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OrdersListResponse>; + } + interface PlacementGroupsResource { + /** Gets one placement group by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Placement group ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlacementGroup>; + /** Inserts a new placement group. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlacementGroup>; + /** Retrieves a list of placement groups, possibly filtered. This method supports paging. */ + list(request: { + /** Select only placement groups that belong to these advertisers. */ + advertiserIds?: string; + /** Data format for the response. */ + alt?: string; + /** Select only archived placements. Don't set this field to select both archived and non-archived placements. */ + archived?: boolean; + /** Select only placement groups that belong to these campaigns. */ + campaignIds?: string; + /** Select only placement groups that are associated with these content categories. */ + contentCategoryIds?: string; + /** Select only placement groups that are associated with these directory sites. */ + directorySiteIds?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only placement groups with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Select only placements or placement groups whose end date is on or before the specified maxEndDate. The date should be formatted as "yyyy-MM-dd". */ + maxEndDate?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** Select only placements or placement groups whose start date is on or before the specified maxStartDate. The date should be formatted as "yyyy-MM-dd". */ + maxStartDate?: string; + /** Select only placements or placement groups whose end date is on or after the specified minEndDate. The date should be formatted as "yyyy-MM-dd". */ + minEndDate?: string; + /** Select only placements or placement groups whose start date is on or after the specified minStartDate. The date should be formatted as "yyyy-MM-dd". */ + minStartDate?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** + * Select only placement groups belonging with this group type. A package is a simple group of placements that acts as a single pricing point for a group + * of tags. A roadblock is a group of placements that not only acts as a single pricing point but also assumes that all the tags in it will be served at + * the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting. + */ + placementGroupType?: string; + /** Select only placement groups that are associated with these placement strategies. */ + placementStrategyIds?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Select only placement groups with these pricing types. */ + pricingTypes?: string; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for placement groups by name or ID. Wildcards (*) are allowed. For example, "placement*2015" will return placement groups with names + * like "placement group June 2015", "placement group May 2015", or simply "placements 2015". Most of the searches also add wildcards implicitly at the + * start and the end of the search string. For example, a search string of "placementgroup" will match placement groups with name "my placementgroup", + * "placementgroup 2015", or simply "placementgroup". + */ + searchString?: string; + /** Select only placement groups that are associated with these sites. */ + siteIds?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlacementGroupsListResponse>; + /** Updates an existing placement group. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Placement group ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlacementGroup>; + /** Updates an existing placement group. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlacementGroup>; + } + interface PlacementStrategiesResource { + /** Deletes an existing placement strategy. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Placement strategy ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets one placement strategy by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Placement strategy ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlacementStrategy>; + /** Inserts a new placement strategy. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlacementStrategy>; + /** Retrieves a list of placement strategies, possibly filtered. This method supports paging. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only placement strategies with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "placementstrategy*2015" will return objects with names like + * "placementstrategy June 2015", "placementstrategy April 2015", or simply "placementstrategy 2015". Most of the searches also add wildcards implicitly + * at the start and the end of the search string. For example, a search string of "placementstrategy" will match objects with name "my placementstrategy", + * "placementstrategy 2015", or simply "placementstrategy". + */ + searchString?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlacementStrategiesListResponse>; + /** Updates an existing placement strategy. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Placement strategy ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlacementStrategy>; + /** Updates an existing placement strategy. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlacementStrategy>; + } + interface PlacementsResource { + /** Generates tags for a placement. */ + generatetags(request: { + /** Data format for the response. */ + alt?: string; + /** Generate placements belonging to this campaign. This is a required field. */ + campaignId?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Generate tags for these placements. */ + placementIds?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Tag formats to generate for these placements. + * + * Note: PLACEMENT_TAG_STANDARD can only be generated for 1x1 placements. + */ + tagFormats?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlacementsGenerateTagsResponse>; + /** Gets one placement by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Placement ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Placement>; + /** Inserts a new placement. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Placement>; + /** Retrieves a list of placements, possibly filtered. This method supports paging. */ + list(request: { + /** Select only placements that belong to these advertisers. */ + advertiserIds?: string; + /** Data format for the response. */ + alt?: string; + /** Select only archived placements. Don't set this field to select both archived and non-archived placements. */ + archived?: boolean; + /** Select only placements that belong to these campaigns. */ + campaignIds?: string; + /** + * Select only placements that are associated with these compatibilities. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on + * mobile devices for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to + * rendering in in-stream video ads developed with the VAST standard. + */ + compatibilities?: string; + /** Select only placements that are associated with these content categories. */ + contentCategoryIds?: string; + /** Select only placements that are associated with these directory sites. */ + directorySiteIds?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only placements that belong to these placement groups. */ + groupIds?: string; + /** Select only placements with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Select only placements or placement groups whose end date is on or before the specified maxEndDate. The date should be formatted as "yyyy-MM-dd". */ + maxEndDate?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** Select only placements or placement groups whose start date is on or before the specified maxStartDate. The date should be formatted as "yyyy-MM-dd". */ + maxStartDate?: string; + /** Select only placements or placement groups whose end date is on or after the specified minEndDate. The date should be formatted as "yyyy-MM-dd". */ + minEndDate?: string; + /** Select only placements or placement groups whose start date is on or after the specified minStartDate. The date should be formatted as "yyyy-MM-dd". */ + minStartDate?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Select only placements with this payment source. */ + paymentSource?: string; + /** Select only placements that are associated with these placement strategies. */ + placementStrategyIds?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Select only placements with these pricing types. */ + pricingTypes?: string; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for placements by name or ID. Wildcards (*) are allowed. For example, "placement*2015" will return placements with names like + * "placement June 2015", "placement May 2015", or simply "placements 2015". Most of the searches also add wildcards implicitly at the start and the end + * of the search string. For example, a search string of "placement" will match placements with name "my placement", "placement 2015", or simply + * "placement". + */ + searchString?: string; + /** Select only placements that are associated with these sites. */ + siteIds?: string; + /** Select only placements that are associated with these sizes. */ + sizeIds?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlacementsListResponse>; + /** Updates an existing placement. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Placement ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Placement>; + /** Updates an existing placement. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Placement>; + } + interface PlatformTypesResource { + /** Gets one platform type by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Platform type ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlatformType>; + /** Retrieves a list of platform types. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlatformTypesListResponse>; + } + interface PostalCodesResource { + /** Gets one postal code by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Postal code ID. */ + code: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PostalCode>; + /** Retrieves a list of postal codes. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PostalCodesListResponse>; + } + interface ProjectsResource { + /** Gets one project by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Project ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Project>; + /** Retrieves a list of projects, possibly filtered. This method supports paging. */ + list(request: { + /** Select only projects with these advertiser IDs. */ + advertiserIds?: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only projects with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for projects by name or ID. Wildcards (*) are allowed. For example, "project*2015" will return projects with names like "project June + * 2015", "project April 2015", or simply "project 2015". Most of the searches also add wildcards implicitly at the start and the end of the search + * string. For example, a search string of "project" will match projects with name "my project", "project 2015", or simply "project". + */ + searchString?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ProjectsListResponse>; + } + interface RegionsResource { + /** Retrieves a list of regions. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RegionsListResponse>; + } + interface RemarketingListSharesResource { + /** Gets one remarketing list share by remarketing list ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Remarketing list ID. */ + remarketingListId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RemarketingListShare>; + /** Updates an existing remarketing list share. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Remarketing list ID. */ + remarketingListId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RemarketingListShare>; + /** Updates an existing remarketing list share. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RemarketingListShare>; + } + interface RemarketingListsResource { + /** Gets one remarketing list by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Remarketing list ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RemarketingList>; + /** Inserts a new remarketing list. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RemarketingList>; + /** Retrieves a list of remarketing lists, possibly filtered. This method supports paging. */ + list(request: { + /** Select only active or only inactive remarketing lists. */ + active?: boolean; + /** Select only remarketing lists owned by this advertiser. */ + advertiserId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only remarketing lists that have this floodlight activity ID. */ + floodlightActivityId?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** + * Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "remarketing list*2015" will return objects with names like + * "remarketing list June 2015", "remarketing list April 2015", or simply "remarketing list 2015". Most of the searches also add wildcards implicitly at + * the start and the end of the search string. For example, a search string of "remarketing list" will match objects with name "my remarketing list", + * "remarketing list 2015", or simply "remarketing list". + */ + name?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RemarketingListsListResponse>; + /** Updates an existing remarketing list. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Remarketing list ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RemarketingList>; + /** Updates an existing remarketing list. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RemarketingList>; + } + interface CompatibleFieldsResource { + /** + * Returns the fields that are compatible to be selected in the respective sections of a report criteria, given the fields already selected in the input + * report and user permissions. + */ + query(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The DFA user profile ID. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CompatibleFields>; + } + interface FilesResource { + /** Retrieves a report file. This method supports media download. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the report file. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The DFA profile ID. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the report. */ + reportId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<File>; + /** Lists files for a report. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The value of the nextToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The DFA profile ID. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the parent report. */ + reportId: string; + /** The field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FileList>; + } + interface ReportsResource { + /** Deletes a report by its ID. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The DFA user profile ID. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the report. */ + reportId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves a report by its ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The DFA user profile ID. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the report. */ + reportId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Report>; + /** Creates a report. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The DFA user profile ID. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Report>; + /** Retrieves list of reports. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The value of the nextToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The DFA user profile ID. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The scope that defines which results are returned. */ + scope?: string; + /** The field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ReportList>; + /** Updates a report. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The DFA user profile ID. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the report. */ + reportId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Report>; + /** Runs a report. */ + run(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The DFA profile ID. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the report. */ + reportId: string; + /** If set and true, tries to run the report synchronously. */ + synchronous?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<File>; + /** Updates a report. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The DFA user profile ID. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the report. */ + reportId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Report>; + compatibleFields: CompatibleFieldsResource; + files: FilesResource; + } + interface SitesResource { + /** Gets one site by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Site ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Site>; + /** Inserts a new site. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Site>; + /** Retrieves a list of sites, possibly filtered. This method supports paging. */ + list(request: { + /** This search filter is no longer supported and will have no effect on the results returned. */ + acceptsInStreamVideoPlacements?: boolean; + /** This search filter is no longer supported and will have no effect on the results returned. */ + acceptsInterstitialPlacements?: boolean; + /** Select only sites that accept publisher paid placements. */ + acceptsPublisherPaidPlacements?: boolean; + /** Select only AdWords sites. */ + adWordsSite?: boolean; + /** Data format for the response. */ + alt?: string; + /** Select only approved sites. */ + approved?: boolean; + /** Select only sites with these campaign IDs. */ + campaignIds?: string; + /** Select only sites with these directory site IDs. */ + directorySiteIds?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only sites with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for objects by name, ID or keyName. Wildcards (*) are allowed. For example, "site*2015" will return objects with names like "site June + * 2015", "site April 2015", or simply "site 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For + * example, a search string of "site" will match objects with name "my site", "site 2015", or simply "site". + */ + searchString?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** Select only sites with this subaccount ID. */ + subaccountId?: string; + /** Select only sites that have not been mapped to a directory site. */ + unmappedSite?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SitesListResponse>; + /** Updates an existing site. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Site ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Site>; + /** Updates an existing site. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Site>; + } + interface SizesResource { + /** Gets one size by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Size ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Size>; + /** Inserts a new size. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Size>; + /** Retrieves a list of sizes, possibly filtered. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only sizes with this height. */ + height?: number; + /** Select only IAB standard sizes. */ + iabStandard?: boolean; + /** Select only sizes with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Select only sizes with this width. */ + width?: number; + }): Request<SizesListResponse>; + } + interface SubaccountsResource { + /** Gets one subaccount by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Subaccount ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Subaccount>; + /** Inserts a new subaccount. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Subaccount>; + /** Gets a list of subaccounts, possibly filtered. This method supports paging. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only subaccounts with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "subaccount*2015" will return objects with names like "subaccount + * June 2015", "subaccount April 2015", or simply "subaccount 2015". Most of the searches also add wildcards implicitly at the start and the end of the + * search string. For example, a search string of "subaccount" will match objects with name "my subaccount", "subaccount 2015", or simply "subaccount". + */ + searchString?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SubaccountsListResponse>; + /** Updates an existing subaccount. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Subaccount ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Subaccount>; + /** Updates an existing subaccount. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Subaccount>; + } + interface TargetableRemarketingListsResource { + /** Gets one remarketing list by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Remarketing list ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetableRemarketingList>; + /** Retrieves a list of targetable remarketing lists, possibly filtered. This method supports paging. */ + list(request: { + /** Select only active or only inactive targetable remarketing lists. */ + active?: boolean; + /** Select only targetable remarketing lists targetable by these advertisers. */ + advertiserId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** + * Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "remarketing list*2015" will return objects with names like + * "remarketing list June 2015", "remarketing list April 2015", or simply "remarketing list 2015". Most of the searches also add wildcards implicitly at + * the start and the end of the search string. For example, a search string of "remarketing list" will match objects with name "my remarketing list", + * "remarketing list 2015", or simply "remarketing list". + */ + name?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetableRemarketingListsListResponse>; + } + interface TargetingTemplatesResource { + /** Gets one targeting template by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Targeting template ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetingTemplate>; + /** Inserts a new targeting template. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetingTemplate>; + /** Retrieves a list of targeting templates, optionally filtered. This method supports paging. */ + list(request: { + /** Select only targeting templates with this advertiser ID. */ + advertiserId?: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only targeting templates with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "template*2015" will return objects with names like "template June + * 2015", "template April 2015", or simply "template 2015". Most of the searches also add wildcards implicitly at the start and the end of the search + * string. For example, a search string of "template" will match objects with name "my template", "template 2015", or simply "template". + */ + searchString?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetingTemplatesListResponse>; + /** Updates an existing targeting template. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Targeting template ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetingTemplate>; + /** Updates an existing targeting template. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TargetingTemplate>; + } + interface UserProfilesResource { + /** Gets one user profile by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The user profile ID. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UserProfile>; + /** Retrieves list of user profiles for a user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UserProfileList>; + } + interface UserRolePermissionGroupsResource { + /** Gets one user role permission group by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** User role permission group ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UserRolePermissionGroup>; + /** Gets a list of all supported user role permission groups. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UserRolePermissionGroupsListResponse>; + } + interface UserRolePermissionsResource { + /** Gets one user role permission by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** User role permission ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UserRolePermission>; + /** Gets a list of user role permissions, possibly filtered. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only user role permissions with these IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UserRolePermissionsListResponse>; + } + interface UserRolesResource { + /** Deletes an existing user role. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** User role ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets one user role by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** User role ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UserRole>; + /** Inserts a new user role. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UserRole>; + /** Retrieves a list of user roles, possibly filtered. This method supports paging. */ + list(request: { + /** Select only account level user roles not associated with any specific subaccount. */ + accountUserRoleOnly?: boolean; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Select only user roles with the specified IDs. */ + ids?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Value of the nextPageToken from the previous result page. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "userrole*2015" will return objects with names like "userrole June + * 2015", "userrole April 2015", or simply "userrole 2015". Most of the searches also add wildcards implicitly at the start and the end of the search + * string. For example, a search string of "userrole" will match objects with name "my userrole", "userrole 2015", or simply "userrole". + */ + searchString?: string; + /** Field by which to sort the list. */ + sortField?: string; + /** Order of sorted results. */ + sortOrder?: string; + /** Select only user roles that belong to this subaccount. */ + subaccountId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UserRolesListResponse>; + /** Updates an existing user role. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** User role ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UserRole>; + /** Updates an existing user role. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UserRole>; + } + interface VideoFormatsResource { + /** Gets one video format by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Video format ID. */ + id: number; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<VideoFormat>; + /** Lists available video formats. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** User profile ID associated with this request. */ + profileId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<VideoFormatsListResponse>; + } + } +} diff --git a/types/gapi.client.dfareporting/readme.md b/types/gapi.client.dfareporting/readme.md new file mode 100644 index 0000000000..2a210805c5 --- /dev/null +++ b/types/gapi.client.dfareporting/readme.md @@ -0,0 +1,1070 @@ +# TypeScript typings for DCM/DFA Reporting And Trafficking API v2.8 +Manages your DoubleClick Campaign Manager ad campaigns and reports. +For detailed description please check [documentation](https://developers.google.com/doubleclick-advertisers/). + +## Installing + +Install typings for DCM/DFA Reporting And Trafficking API: +``` +npm install @types/gapi.client.dfareporting@v2.8 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('dfareporting', 'v2.8', () => { + // now we can use gapi.client.dfareporting + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage DoubleClick Digital Marketing conversions + 'https://www.googleapis.com/auth/ddmconversions', + + // View and manage DoubleClick for Advertisers reports + 'https://www.googleapis.com/auth/dfareporting', + + // View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns + 'https://www.googleapis.com/auth/dfatrafficking', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use DCM/DFA Reporting And Trafficking API resources: + +```typescript + +/* +Gets the account's active ad summary by account ID. +*/ +await gapi.client.accountActiveAdSummaries.get({ profileId: "profileId", summaryAccountId: "summaryAccountId", }); + +/* +Gets one account permission group by ID. +*/ +await gapi.client.accountPermissionGroups.get({ id: "id", profileId: "profileId", }); + +/* +Retrieves the list of account permission groups. +*/ +await gapi.client.accountPermissionGroups.list({ profileId: "profileId", }); + +/* +Gets one account permission by ID. +*/ +await gapi.client.accountPermissions.get({ id: "id", profileId: "profileId", }); + +/* +Retrieves the list of account permissions. +*/ +await gapi.client.accountPermissions.list({ profileId: "profileId", }); + +/* +Gets one account user profile by ID. +*/ +await gapi.client.accountUserProfiles.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new account user profile. +*/ +await gapi.client.accountUserProfiles.insert({ profileId: "profileId", }); + +/* +Retrieves a list of account user profiles, possibly filtered. This method supports paging. +*/ +await gapi.client.accountUserProfiles.list({ profileId: "profileId", }); + +/* +Updates an existing account user profile. This method supports patch semantics. +*/ +await gapi.client.accountUserProfiles.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing account user profile. +*/ +await gapi.client.accountUserProfiles.update({ profileId: "profileId", }); + +/* +Gets one account by ID. +*/ +await gapi.client.accounts.get({ id: "id", profileId: "profileId", }); + +/* +Retrieves the list of accounts, possibly filtered. This method supports paging. +*/ +await gapi.client.accounts.list({ profileId: "profileId", }); + +/* +Updates an existing account. This method supports patch semantics. +*/ +await gapi.client.accounts.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing account. +*/ +await gapi.client.accounts.update({ profileId: "profileId", }); + +/* +Gets one ad by ID. +*/ +await gapi.client.ads.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new ad. +*/ +await gapi.client.ads.insert({ profileId: "profileId", }); + +/* +Retrieves a list of ads, possibly filtered. This method supports paging. +*/ +await gapi.client.ads.list({ profileId: "profileId", }); + +/* +Updates an existing ad. This method supports patch semantics. +*/ +await gapi.client.ads.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing ad. +*/ +await gapi.client.ads.update({ profileId: "profileId", }); + +/* +Deletes an existing advertiser group. +*/ +await gapi.client.advertiserGroups.delete({ id: "id", profileId: "profileId", }); + +/* +Gets one advertiser group by ID. +*/ +await gapi.client.advertiserGroups.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new advertiser group. +*/ +await gapi.client.advertiserGroups.insert({ profileId: "profileId", }); + +/* +Retrieves a list of advertiser groups, possibly filtered. This method supports paging. +*/ +await gapi.client.advertiserGroups.list({ profileId: "profileId", }); + +/* +Updates an existing advertiser group. This method supports patch semantics. +*/ +await gapi.client.advertiserGroups.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing advertiser group. +*/ +await gapi.client.advertiserGroups.update({ profileId: "profileId", }); + +/* +Gets one advertiser by ID. +*/ +await gapi.client.advertisers.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new advertiser. +*/ +await gapi.client.advertisers.insert({ profileId: "profileId", }); + +/* +Retrieves a list of advertisers, possibly filtered. This method supports paging. +*/ +await gapi.client.advertisers.list({ profileId: "profileId", }); + +/* +Updates an existing advertiser. This method supports patch semantics. +*/ +await gapi.client.advertisers.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing advertiser. +*/ +await gapi.client.advertisers.update({ profileId: "profileId", }); + +/* +Retrieves a list of browsers. +*/ +await gapi.client.browsers.list({ profileId: "profileId", }); + +/* +Associates a creative with the specified campaign. This method creates a default ad with dimensions matching the creative in the campaign if such a default ad does not exist already. +*/ +await gapi.client.campaignCreativeAssociations.insert({ campaignId: "campaignId", profileId: "profileId", }); + +/* +Retrieves the list of creative IDs associated with the specified campaign. This method supports paging. +*/ +await gapi.client.campaignCreativeAssociations.list({ campaignId: "campaignId", profileId: "profileId", }); + +/* +Gets one campaign by ID. +*/ +await gapi.client.campaigns.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new campaign. +*/ +await gapi.client.campaigns.insert({ defaultLandingPageName: "defaultLandingPageName", defaultLandingPageUrl: "defaultLandingPageUrl", profileId: "profileId", }); + +/* +Retrieves a list of campaigns, possibly filtered. This method supports paging. +*/ +await gapi.client.campaigns.list({ profileId: "profileId", }); + +/* +Updates an existing campaign. This method supports patch semantics. +*/ +await gapi.client.campaigns.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing campaign. +*/ +await gapi.client.campaigns.update({ profileId: "profileId", }); + +/* +Gets one change log by ID. +*/ +await gapi.client.changeLogs.get({ id: "id", profileId: "profileId", }); + +/* +Retrieves a list of change logs. This method supports paging. +*/ +await gapi.client.changeLogs.list({ profileId: "profileId", }); + +/* +Retrieves a list of cities, possibly filtered. +*/ +await gapi.client.cities.list({ profileId: "profileId", }); + +/* +Gets one connection type by ID. +*/ +await gapi.client.connectionTypes.get({ id: "id", profileId: "profileId", }); + +/* +Retrieves a list of connection types. +*/ +await gapi.client.connectionTypes.list({ profileId: "profileId", }); + +/* +Deletes an existing content category. +*/ +await gapi.client.contentCategories.delete({ id: "id", profileId: "profileId", }); + +/* +Gets one content category by ID. +*/ +await gapi.client.contentCategories.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new content category. +*/ +await gapi.client.contentCategories.insert({ profileId: "profileId", }); + +/* +Retrieves a list of content categories, possibly filtered. This method supports paging. +*/ +await gapi.client.contentCategories.list({ profileId: "profileId", }); + +/* +Updates an existing content category. This method supports patch semantics. +*/ +await gapi.client.contentCategories.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing content category. +*/ +await gapi.client.contentCategories.update({ profileId: "profileId", }); + +/* +Inserts conversions. +*/ +await gapi.client.conversions.batchinsert({ profileId: "profileId", }); + +/* +Updates existing conversions. +*/ +await gapi.client.conversions.batchupdate({ profileId: "profileId", }); + +/* +Gets one country by ID. +*/ +await gapi.client.countries.get({ dartId: "dartId", profileId: "profileId", }); + +/* +Retrieves a list of countries. +*/ +await gapi.client.countries.list({ profileId: "profileId", }); + +/* +Inserts a new creative asset. +*/ +await gapi.client.creativeAssets.insert({ advertiserId: "advertiserId", profileId: "profileId", }); + +/* +Deletes an existing creative field value. +*/ +await gapi.client.creativeFieldValues.delete({ creativeFieldId: "creativeFieldId", id: "id", profileId: "profileId", }); + +/* +Gets one creative field value by ID. +*/ +await gapi.client.creativeFieldValues.get({ creativeFieldId: "creativeFieldId", id: "id", profileId: "profileId", }); + +/* +Inserts a new creative field value. +*/ +await gapi.client.creativeFieldValues.insert({ creativeFieldId: "creativeFieldId", profileId: "profileId", }); + +/* +Retrieves a list of creative field values, possibly filtered. This method supports paging. +*/ +await gapi.client.creativeFieldValues.list({ creativeFieldId: "creativeFieldId", profileId: "profileId", }); + +/* +Updates an existing creative field value. This method supports patch semantics. +*/ +await gapi.client.creativeFieldValues.patch({ creativeFieldId: "creativeFieldId", id: "id", profileId: "profileId", }); + +/* +Updates an existing creative field value. +*/ +await gapi.client.creativeFieldValues.update({ creativeFieldId: "creativeFieldId", profileId: "profileId", }); + +/* +Deletes an existing creative field. +*/ +await gapi.client.creativeFields.delete({ id: "id", profileId: "profileId", }); + +/* +Gets one creative field by ID. +*/ +await gapi.client.creativeFields.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new creative field. +*/ +await gapi.client.creativeFields.insert({ profileId: "profileId", }); + +/* +Retrieves a list of creative fields, possibly filtered. This method supports paging. +*/ +await gapi.client.creativeFields.list({ profileId: "profileId", }); + +/* +Updates an existing creative field. This method supports patch semantics. +*/ +await gapi.client.creativeFields.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing creative field. +*/ +await gapi.client.creativeFields.update({ profileId: "profileId", }); + +/* +Gets one creative group by ID. +*/ +await gapi.client.creativeGroups.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new creative group. +*/ +await gapi.client.creativeGroups.insert({ profileId: "profileId", }); + +/* +Retrieves a list of creative groups, possibly filtered. This method supports paging. +*/ +await gapi.client.creativeGroups.list({ profileId: "profileId", }); + +/* +Updates an existing creative group. This method supports patch semantics. +*/ +await gapi.client.creativeGroups.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing creative group. +*/ +await gapi.client.creativeGroups.update({ profileId: "profileId", }); + +/* +Gets one creative by ID. +*/ +await gapi.client.creatives.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new creative. +*/ +await gapi.client.creatives.insert({ profileId: "profileId", }); + +/* +Retrieves a list of creatives, possibly filtered. This method supports paging. +*/ +await gapi.client.creatives.list({ profileId: "profileId", }); + +/* +Updates an existing creative. This method supports patch semantics. +*/ +await gapi.client.creatives.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing creative. +*/ +await gapi.client.creatives.update({ profileId: "profileId", }); + +/* +Retrieves list of report dimension values for a list of filters. +*/ +await gapi.client.dimensionValues.query({ profileId: "profileId", }); + +/* +Gets one directory site contact by ID. +*/ +await gapi.client.directorySiteContacts.get({ id: "id", profileId: "profileId", }); + +/* +Retrieves a list of directory site contacts, possibly filtered. This method supports paging. +*/ +await gapi.client.directorySiteContacts.list({ profileId: "profileId", }); + +/* +Gets one directory site by ID. +*/ +await gapi.client.directorySites.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new directory site. +*/ +await gapi.client.directorySites.insert({ profileId: "profileId", }); + +/* +Retrieves a list of directory sites, possibly filtered. This method supports paging. +*/ +await gapi.client.directorySites.list({ profileId: "profileId", }); + +/* +Deletes an existing dynamic targeting key. +*/ +await gapi.client.dynamicTargetingKeys.delete({ name: "name", objectId: "objectId", objectType: "objectType", profileId: "profileId", }); + +/* +Inserts a new dynamic targeting key. Keys must be created at the advertiser level before being assigned to the advertiser's ads, creatives, or placements. There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 keys can be assigned per ad, creative, or placement. +*/ +await gapi.client.dynamicTargetingKeys.insert({ profileId: "profileId", }); + +/* +Retrieves a list of dynamic targeting keys. +*/ +await gapi.client.dynamicTargetingKeys.list({ profileId: "profileId", }); + +/* +Deletes an existing event tag. +*/ +await gapi.client.eventTags.delete({ id: "id", profileId: "profileId", }); + +/* +Gets one event tag by ID. +*/ +await gapi.client.eventTags.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new event tag. +*/ +await gapi.client.eventTags.insert({ profileId: "profileId", }); + +/* +Retrieves a list of event tags, possibly filtered. +*/ +await gapi.client.eventTags.list({ profileId: "profileId", }); + +/* +Updates an existing event tag. This method supports patch semantics. +*/ +await gapi.client.eventTags.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing event tag. +*/ +await gapi.client.eventTags.update({ profileId: "profileId", }); + +/* +Retrieves a report file by its report ID and file ID. This method supports media download. +*/ +await gapi.client.files.get({ fileId: "fileId", reportId: "reportId", }); + +/* +Lists files for a user profile. +*/ +await gapi.client.files.list({ profileId: "profileId", }); + +/* +Deletes an existing floodlight activity. +*/ +await gapi.client.floodlightActivities.delete({ id: "id", profileId: "profileId", }); + +/* +Generates a tag for a floodlight activity. +*/ +await gapi.client.floodlightActivities.generatetag({ profileId: "profileId", }); + +/* +Gets one floodlight activity by ID. +*/ +await gapi.client.floodlightActivities.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new floodlight activity. +*/ +await gapi.client.floodlightActivities.insert({ profileId: "profileId", }); + +/* +Retrieves a list of floodlight activities, possibly filtered. This method supports paging. +*/ +await gapi.client.floodlightActivities.list({ profileId: "profileId", }); + +/* +Updates an existing floodlight activity. This method supports patch semantics. +*/ +await gapi.client.floodlightActivities.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing floodlight activity. +*/ +await gapi.client.floodlightActivities.update({ profileId: "profileId", }); + +/* +Gets one floodlight activity group by ID. +*/ +await gapi.client.floodlightActivityGroups.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new floodlight activity group. +*/ +await gapi.client.floodlightActivityGroups.insert({ profileId: "profileId", }); + +/* +Retrieves a list of floodlight activity groups, possibly filtered. This method supports paging. +*/ +await gapi.client.floodlightActivityGroups.list({ profileId: "profileId", }); + +/* +Updates an existing floodlight activity group. This method supports patch semantics. +*/ +await gapi.client.floodlightActivityGroups.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing floodlight activity group. +*/ +await gapi.client.floodlightActivityGroups.update({ profileId: "profileId", }); + +/* +Gets one floodlight configuration by ID. +*/ +await gapi.client.floodlightConfigurations.get({ id: "id", profileId: "profileId", }); + +/* +Retrieves a list of floodlight configurations, possibly filtered. +*/ +await gapi.client.floodlightConfigurations.list({ profileId: "profileId", }); + +/* +Updates an existing floodlight configuration. This method supports patch semantics. +*/ +await gapi.client.floodlightConfigurations.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing floodlight configuration. +*/ +await gapi.client.floodlightConfigurations.update({ profileId: "profileId", }); + +/* +Gets one inventory item by ID. +*/ +await gapi.client.inventoryItems.get({ id: "id", profileId: "profileId", projectId: "projectId", }); + +/* +Retrieves a list of inventory items, possibly filtered. This method supports paging. +*/ +await gapi.client.inventoryItems.list({ profileId: "profileId", projectId: "projectId", }); + +/* +Deletes an existing campaign landing page. +*/ +await gapi.client.landingPages.delete({ campaignId: "campaignId", id: "id", profileId: "profileId", }); + +/* +Gets one campaign landing page by ID. +*/ +await gapi.client.landingPages.get({ campaignId: "campaignId", id: "id", profileId: "profileId", }); + +/* +Inserts a new landing page for the specified campaign. +*/ +await gapi.client.landingPages.insert({ campaignId: "campaignId", profileId: "profileId", }); + +/* +Retrieves the list of landing pages for the specified campaign. +*/ +await gapi.client.landingPages.list({ campaignId: "campaignId", profileId: "profileId", }); + +/* +Updates an existing campaign landing page. This method supports patch semantics. +*/ +await gapi.client.landingPages.patch({ campaignId: "campaignId", id: "id", profileId: "profileId", }); + +/* +Updates an existing campaign landing page. +*/ +await gapi.client.landingPages.update({ campaignId: "campaignId", profileId: "profileId", }); + +/* +Retrieves a list of languages. +*/ +await gapi.client.languages.list({ profileId: "profileId", }); + +/* +Retrieves a list of metros. +*/ +await gapi.client.metros.list({ profileId: "profileId", }); + +/* +Gets one mobile carrier by ID. +*/ +await gapi.client.mobileCarriers.get({ id: "id", profileId: "profileId", }); + +/* +Retrieves a list of mobile carriers. +*/ +await gapi.client.mobileCarriers.list({ profileId: "profileId", }); + +/* +Gets one operating system version by ID. +*/ +await gapi.client.operatingSystemVersions.get({ id: "id", profileId: "profileId", }); + +/* +Retrieves a list of operating system versions. +*/ +await gapi.client.operatingSystemVersions.list({ profileId: "profileId", }); + +/* +Gets one operating system by DART ID. +*/ +await gapi.client.operatingSystems.get({ dartId: "dartId", profileId: "profileId", }); + +/* +Retrieves a list of operating systems. +*/ +await gapi.client.operatingSystems.list({ profileId: "profileId", }); + +/* +Gets one order document by ID. +*/ +await gapi.client.orderDocuments.get({ id: "id", profileId: "profileId", projectId: "projectId", }); + +/* +Retrieves a list of order documents, possibly filtered. This method supports paging. +*/ +await gapi.client.orderDocuments.list({ profileId: "profileId", projectId: "projectId", }); + +/* +Gets one order by ID. +*/ +await gapi.client.orders.get({ id: "id", profileId: "profileId", projectId: "projectId", }); + +/* +Retrieves a list of orders, possibly filtered. This method supports paging. +*/ +await gapi.client.orders.list({ profileId: "profileId", projectId: "projectId", }); + +/* +Gets one placement group by ID. +*/ +await gapi.client.placementGroups.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new placement group. +*/ +await gapi.client.placementGroups.insert({ profileId: "profileId", }); + +/* +Retrieves a list of placement groups, possibly filtered. This method supports paging. +*/ +await gapi.client.placementGroups.list({ profileId: "profileId", }); + +/* +Updates an existing placement group. This method supports patch semantics. +*/ +await gapi.client.placementGroups.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing placement group. +*/ +await gapi.client.placementGroups.update({ profileId: "profileId", }); + +/* +Deletes an existing placement strategy. +*/ +await gapi.client.placementStrategies.delete({ id: "id", profileId: "profileId", }); + +/* +Gets one placement strategy by ID. +*/ +await gapi.client.placementStrategies.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new placement strategy. +*/ +await gapi.client.placementStrategies.insert({ profileId: "profileId", }); + +/* +Retrieves a list of placement strategies, possibly filtered. This method supports paging. +*/ +await gapi.client.placementStrategies.list({ profileId: "profileId", }); + +/* +Updates an existing placement strategy. This method supports patch semantics. +*/ +await gapi.client.placementStrategies.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing placement strategy. +*/ +await gapi.client.placementStrategies.update({ profileId: "profileId", }); + +/* +Generates tags for a placement. +*/ +await gapi.client.placements.generatetags({ profileId: "profileId", }); + +/* +Gets one placement by ID. +*/ +await gapi.client.placements.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new placement. +*/ +await gapi.client.placements.insert({ profileId: "profileId", }); + +/* +Retrieves a list of placements, possibly filtered. This method supports paging. +*/ +await gapi.client.placements.list({ profileId: "profileId", }); + +/* +Updates an existing placement. This method supports patch semantics. +*/ +await gapi.client.placements.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing placement. +*/ +await gapi.client.placements.update({ profileId: "profileId", }); + +/* +Gets one platform type by ID. +*/ +await gapi.client.platformTypes.get({ id: "id", profileId: "profileId", }); + +/* +Retrieves a list of platform types. +*/ +await gapi.client.platformTypes.list({ profileId: "profileId", }); + +/* +Gets one postal code by ID. +*/ +await gapi.client.postalCodes.get({ code: "code", profileId: "profileId", }); + +/* +Retrieves a list of postal codes. +*/ +await gapi.client.postalCodes.list({ profileId: "profileId", }); + +/* +Gets one project by ID. +*/ +await gapi.client.projects.get({ id: "id", profileId: "profileId", }); + +/* +Retrieves a list of projects, possibly filtered. This method supports paging. +*/ +await gapi.client.projects.list({ profileId: "profileId", }); + +/* +Retrieves a list of regions. +*/ +await gapi.client.regions.list({ profileId: "profileId", }); + +/* +Gets one remarketing list share by remarketing list ID. +*/ +await gapi.client.remarketingListShares.get({ profileId: "profileId", remarketingListId: "remarketingListId", }); + +/* +Updates an existing remarketing list share. This method supports patch semantics. +*/ +await gapi.client.remarketingListShares.patch({ profileId: "profileId", remarketingListId: "remarketingListId", }); + +/* +Updates an existing remarketing list share. +*/ +await gapi.client.remarketingListShares.update({ profileId: "profileId", }); + +/* +Gets one remarketing list by ID. +*/ +await gapi.client.remarketingLists.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new remarketing list. +*/ +await gapi.client.remarketingLists.insert({ profileId: "profileId", }); + +/* +Retrieves a list of remarketing lists, possibly filtered. This method supports paging. +*/ +await gapi.client.remarketingLists.list({ advertiserId: "advertiserId", profileId: "profileId", }); + +/* +Updates an existing remarketing list. This method supports patch semantics. +*/ +await gapi.client.remarketingLists.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing remarketing list. +*/ +await gapi.client.remarketingLists.update({ profileId: "profileId", }); + +/* +Deletes a report by its ID. +*/ +await gapi.client.reports.delete({ profileId: "profileId", reportId: "reportId", }); + +/* +Retrieves a report by its ID. +*/ +await gapi.client.reports.get({ profileId: "profileId", reportId: "reportId", }); + +/* +Creates a report. +*/ +await gapi.client.reports.insert({ profileId: "profileId", }); + +/* +Retrieves list of reports. +*/ +await gapi.client.reports.list({ profileId: "profileId", }); + +/* +Updates a report. This method supports patch semantics. +*/ +await gapi.client.reports.patch({ profileId: "profileId", reportId: "reportId", }); + +/* +Runs a report. +*/ +await gapi.client.reports.run({ profileId: "profileId", reportId: "reportId", }); + +/* +Updates a report. +*/ +await gapi.client.reports.update({ profileId: "profileId", reportId: "reportId", }); + +/* +Gets one site by ID. +*/ +await gapi.client.sites.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new site. +*/ +await gapi.client.sites.insert({ profileId: "profileId", }); + +/* +Retrieves a list of sites, possibly filtered. This method supports paging. +*/ +await gapi.client.sites.list({ profileId: "profileId", }); + +/* +Updates an existing site. This method supports patch semantics. +*/ +await gapi.client.sites.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing site. +*/ +await gapi.client.sites.update({ profileId: "profileId", }); + +/* +Gets one size by ID. +*/ +await gapi.client.sizes.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new size. +*/ +await gapi.client.sizes.insert({ profileId: "profileId", }); + +/* +Retrieves a list of sizes, possibly filtered. +*/ +await gapi.client.sizes.list({ profileId: "profileId", }); + +/* +Gets one subaccount by ID. +*/ +await gapi.client.subaccounts.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new subaccount. +*/ +await gapi.client.subaccounts.insert({ profileId: "profileId", }); + +/* +Gets a list of subaccounts, possibly filtered. This method supports paging. +*/ +await gapi.client.subaccounts.list({ profileId: "profileId", }); + +/* +Updates an existing subaccount. This method supports patch semantics. +*/ +await gapi.client.subaccounts.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing subaccount. +*/ +await gapi.client.subaccounts.update({ profileId: "profileId", }); + +/* +Gets one remarketing list by ID. +*/ +await gapi.client.targetableRemarketingLists.get({ id: "id", profileId: "profileId", }); + +/* +Retrieves a list of targetable remarketing lists, possibly filtered. This method supports paging. +*/ +await gapi.client.targetableRemarketingLists.list({ advertiserId: "advertiserId", profileId: "profileId", }); + +/* +Gets one targeting template by ID. +*/ +await gapi.client.targetingTemplates.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new targeting template. +*/ +await gapi.client.targetingTemplates.insert({ profileId: "profileId", }); + +/* +Retrieves a list of targeting templates, optionally filtered. This method supports paging. +*/ +await gapi.client.targetingTemplates.list({ profileId: "profileId", }); + +/* +Updates an existing targeting template. This method supports patch semantics. +*/ +await gapi.client.targetingTemplates.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing targeting template. +*/ +await gapi.client.targetingTemplates.update({ profileId: "profileId", }); + +/* +Gets one user profile by ID. +*/ +await gapi.client.userProfiles.get({ profileId: "profileId", }); + +/* +Retrieves list of user profiles for a user. +*/ +await gapi.client.userProfiles.list({ }); + +/* +Gets one user role permission group by ID. +*/ +await gapi.client.userRolePermissionGroups.get({ id: "id", profileId: "profileId", }); + +/* +Gets a list of all supported user role permission groups. +*/ +await gapi.client.userRolePermissionGroups.list({ profileId: "profileId", }); + +/* +Gets one user role permission by ID. +*/ +await gapi.client.userRolePermissions.get({ id: "id", profileId: "profileId", }); + +/* +Gets a list of user role permissions, possibly filtered. +*/ +await gapi.client.userRolePermissions.list({ profileId: "profileId", }); + +/* +Deletes an existing user role. +*/ +await gapi.client.userRoles.delete({ id: "id", profileId: "profileId", }); + +/* +Gets one user role by ID. +*/ +await gapi.client.userRoles.get({ id: "id", profileId: "profileId", }); + +/* +Inserts a new user role. +*/ +await gapi.client.userRoles.insert({ profileId: "profileId", }); + +/* +Retrieves a list of user roles, possibly filtered. This method supports paging. +*/ +await gapi.client.userRoles.list({ profileId: "profileId", }); + +/* +Updates an existing user role. This method supports patch semantics. +*/ +await gapi.client.userRoles.patch({ id: "id", profileId: "profileId", }); + +/* +Updates an existing user role. +*/ +await gapi.client.userRoles.update({ profileId: "profileId", }); + +/* +Gets one video format by ID. +*/ +await gapi.client.videoFormats.get({ id: 1, profileId: "profileId", }); + +/* +Lists available video formats. +*/ +await gapi.client.videoFormats.list({ profileId: "profileId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.dfareporting/tsconfig.json b/types/gapi.client.dfareporting/tsconfig.json new file mode 100644 index 0000000000..78bcd11678 --- /dev/null +++ b/types/gapi.client.dfareporting/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.dfareporting-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.dfareporting/tslint.json b/types/gapi.client.dfareporting/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.dfareporting/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.discovery/gapi.client.discovery-tests.ts b/types/gapi.client.discovery/gapi.client.discovery-tests.ts new file mode 100644 index 0000000000..c1dab1700b --- /dev/null +++ b/types/gapi.client.discovery/gapi.client.discovery-tests.ts @@ -0,0 +1,26 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('discovery', 'v1', () => { + /** now we can use gapi.client.discovery */ + + run(); + }); + + async function run() { + /** Retrieve the description of a particular version of an api. */ + await gapi.client.apis.getRest({ + api: "api", + version: "version", + }); + /** Retrieve the list of APIs supported at this endpoint. */ + await gapi.client.apis.list({ + name: "name", + preferred: true, + }); + } +}); diff --git a/types/gapi.client.discovery/index.d.ts b/types/gapi.client.discovery/index.d.ts new file mode 100644 index 0000000000..570928f44f --- /dev/null +++ b/types/gapi.client.discovery/index.d.ts @@ -0,0 +1,322 @@ +// Type definitions for Google APIs Discovery Service v1 1.0 +// Project: https://developers.google.com/discovery/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/discovery/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load APIs Discovery Service v1 */ + function load(name: "discovery", version: "v1"): PromiseLike<void>; + function load(name: "discovery", version: "v1", callback: () => any): void; + + const apis: discovery.ApisResource; + + namespace discovery { + interface DirectoryList { + /** Indicate the version of the Discovery API used to generate this doc. */ + discoveryVersion?: string; + /** The individual directory entries. One entry per api/version pair. */ + items?: Array<{ + /** The description of this API. */ + description?: string; + /** A link to the discovery document. */ + discoveryLink?: string; + /** The URL for the discovery REST document. */ + discoveryRestUrl?: string; + /** A link to human readable documentation for the API. */ + documentationLink?: string; + /** Links to 16x16 and 32x32 icons representing the API. */ + icons?: { + /** The URL of the 16x16 icon. */ + x16?: string; + /** The URL of the 32x32 icon. */ + x32?: string; + }; + /** The id of this API. */ + id?: string; + /** The kind for this response. */ + kind?: string; + /** Labels for the status of this API, such as labs or deprecated. */ + labels?: string[]; + /** The name of the API. */ + name?: string; + /** True if this version is the preferred version to use. */ + preferred?: boolean; + /** The title of this API. */ + title?: string; + /** The version of the API. */ + version?: string; + }>; + /** The kind for this response. */ + kind?: string; + } + interface JsonSchema { + /** A reference to another schema. The value of this property is the "id" of another schema. */ + $ref?: string; + /** If this is a schema for an object, this property is the schema for any additional properties with dynamic keys on this object. */ + additionalProperties?: JsonSchema; + /** Additional information about this property. */ + annotations?: { + /** A list of methods for which this property is required on requests. */ + required?: string[]; + }; + /** The default value of this property (if one exists). */ + default?: string; + /** A description of this object. */ + description?: string; + /** Values this parameter may take (if it is an enum). */ + enum?: string[]; + /** The descriptions for the enums. Each position maps to the corresponding value in the "enum" array. */ + enumDescriptions?: string[]; + /** + * An additional regular expression or key that helps constrain the value. For more details see: + * http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.23 + */ + format?: string; + /** Unique identifier for this schema. */ + id?: string; + /** If this is a schema for an array, this property is the schema for each element in the array. */ + items?: JsonSchema; + /** Whether this parameter goes in the query or the path for REST requests. */ + location?: string; + /** The maximum value of this parameter. */ + maximum?: string; + /** The minimum value of this parameter. */ + minimum?: string; + /** The regular expression this parameter must conform to. Uses Java 6 regex format: http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html */ + pattern?: string; + /** If this is a schema for an object, list the schema for each property of this object. */ + properties?: Record<string, JsonSchema>; + /** + * The value is read-only, generated by the service. The value cannot be modified by the client. If the value is included in a POST, PUT, or PATCH + * request, it is ignored by the service. + */ + readOnly?: boolean; + /** Whether this parameter may appear multiple times. */ + repeated?: boolean; + /** Whether the parameter is required. */ + required?: boolean; + /** The value type for this schema. A list of values can be found here: http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.1 */ + type?: string; + /** + * In a variant data type, the value of one property is used to determine how to interpret the entire entity. Its value must exist in a map of + * descriminant values to schema names. + */ + variant?: { + /** The name of the type discriminant property. */ + discriminant?: string; + /** The map of discriminant value to schema to use for parsing.. */ + map?: Array<{ + $ref?: string; + type_value?: string; + }>; + }; + } + interface RestDescription { + /** Authentication information. */ + auth?: { + /** OAuth 2.0 authentication information. */ + oauth2?: { + /** Available OAuth 2.0 scopes. */ + scopes?: Record<string, { + /** Description of scope. */ + description?: string; + }>; + }; + }; + /** [DEPRECATED] The base path for REST requests. */ + basePath?: string; + /** [DEPRECATED] The base URL for REST requests. */ + baseUrl?: string; + /** The path for REST batch requests. */ + batchPath?: string; + /** Indicates how the API name should be capitalized and split into various parts. Useful for generating pretty class names. */ + canonicalName?: string; + /** The description of this API. */ + description?: string; + /** Indicate the version of the Discovery API used to generate this doc. */ + discoveryVersion?: string; + /** A link to human readable documentation for the API. */ + documentationLink?: string; + /** The ETag for this response. */ + etag?: string; + /** Enable exponential backoff for suitable methods in the generated clients. */ + exponentialBackoffDefault?: boolean; + /** A list of supported features for this API. */ + features?: string[]; + /** Links to 16x16 and 32x32 icons representing the API. */ + icons?: { + /** The URL of the 16x16 icon. */ + x16?: string; + /** The URL of the 32x32 icon. */ + x32?: string; + }; + /** The ID of this API. */ + id?: string; + /** The kind for this response. */ + kind?: string; + /** Labels for the status of this API, such as labs or deprecated. */ + labels?: string[]; + /** API-level methods for this API. */ + methods?: Record<string, RestMethod>; + /** The name of this API. */ + name?: string; + /** + * The domain of the owner of this API. Together with the ownerName and a packagePath values, this can be used to generate a library for this API which + * would have a unique fully qualified name. + */ + ownerDomain?: string; + /** The name of the owner of this API. See ownerDomain. */ + ownerName?: string; + /** The package of the owner of this API. See ownerDomain. */ + packagePath?: string; + /** Common parameters that apply across all apis. */ + parameters?: Record<string, JsonSchema>; + /** The protocol described by this document. */ + protocol?: string; + /** The resources in this API. */ + resources?: Record<string, RestResource>; + /** The version of this API. */ + revision?: string; + /** The root URL under which all API services live. */ + rootUrl?: string; + /** The schemas for this API. */ + schemas?: Record<string, JsonSchema>; + /** The base path for all REST requests. */ + servicePath?: string; + /** The title of this API. */ + title?: string; + /** The version of this API. */ + version?: string; + version_module?: boolean; + } + interface RestMethod { + /** Description of this method. */ + description?: string; + /** Whether this method requires an ETag to be specified. The ETag is sent as an HTTP If-Match or If-None-Match header. */ + etagRequired?: boolean; + /** HTTP method used by this method. */ + httpMethod?: string; + /** A unique ID for this method. This property can be used to match methods between different versions of Discovery. */ + id?: string; + /** Media upload parameters. */ + mediaUpload?: { + /** MIME Media Ranges for acceptable media uploads to this method. */ + accept?: string[]; + /** Maximum size of a media upload, such as "1MB", "2GB" or "3TB". */ + maxSize?: string; + /** Supported upload protocols. */ + protocols?: { + /** Supports the Resumable Media Upload protocol. */ + resumable?: { + /** True if this endpoint supports uploading multipart media. */ + multipart?: boolean; + /** The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level. */ + path?: string; + }; + /** Supports uploading as a single HTTP request. */ + simple?: { + /** True if this endpoint supports upload multipart media. */ + multipart?: boolean; + /** The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level. */ + path?: string; + }; + }; + }; + /** + * Ordered list of required parameters, serves as a hint to clients on how to structure their method signatures. The array is ordered such that the + * "most-significant" parameter appears first. + */ + parameterOrder?: string[]; + /** Details for all parameters in this method. */ + parameters?: Record<string, JsonSchema>; + /** The URI path of this REST method. Should be used in conjunction with the basePath property at the api-level. */ + path?: string; + /** The schema for the request. */ + request?: { + /** Schema ID for the request schema. */ + $ref?: string; + /** parameter name. */ + parameterName?: string; + }; + /** The schema for the response. */ + response?: { + /** Schema ID for the response schema. */ + $ref?: string; + }; + /** OAuth 2.0 scopes applicable to this method. */ + scopes?: string[]; + /** Whether this method supports media downloads. */ + supportsMediaDownload?: boolean; + /** Whether this method supports media uploads. */ + supportsMediaUpload?: boolean; + /** Whether this method supports subscriptions. */ + supportsSubscription?: boolean; + /** Indicates that downloads from this method should use the download service URL (i.e. "/download"). Only applies if the method supports media download. */ + useMediaDownloadService?: boolean; + } + interface RestResource { + /** Methods on this resource. */ + methods?: Record<string, RestMethod>; + /** Sub-resources on this resource. */ + resources?: Record<string, RestResource>; + } + interface ApisResource { + /** Retrieve the description of a particular version of an api. */ + getRest(request: { + /** Data format for the response. */ + alt?: string; + /** The name of the API. */ + api: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The version of the API. */ + version: string; + }): Request<RestDescription>; + /** Retrieve the list of APIs supported at this endpoint. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Only include APIs with the given name. */ + name?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Return only the preferred version of an API. */ + preferred?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DirectoryList>; + } + } +} diff --git a/types/gapi.client.discovery/readme.md b/types/gapi.client.discovery/readme.md new file mode 100644 index 0000000000..6ac616bdea --- /dev/null +++ b/types/gapi.client.discovery/readme.md @@ -0,0 +1,45 @@ +# TypeScript typings for APIs Discovery Service v1 +Provides information about other Google APIs, such as what APIs are available, the resource, and method details for each API. +For detailed description please check [documentation](https://developers.google.com/discovery/). + +## Installing + +Install typings for APIs Discovery Service: +``` +npm install @types/gapi.client.discovery@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('discovery', 'v1', () => { + // now we can use gapi.client.discovery + // ... +}); +``` + + + +After that you can use APIs Discovery Service resources: + +```typescript + +/* +Retrieve the description of a particular version of an api. +*/ +await gapi.client.apis.getRest({ api: "api", version: "version", }); + +/* +Retrieve the list of APIs supported at this endpoint. +*/ +await gapi.client.apis.list({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.discovery/tsconfig.json b/types/gapi.client.discovery/tsconfig.json new file mode 100644 index 0000000000..b597d1b278 --- /dev/null +++ b/types/gapi.client.discovery/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.discovery-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.discovery/tslint.json b/types/gapi.client.discovery/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.discovery/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.dlp/gapi.client.dlp-tests.ts b/types/gapi.client.dlp/gapi.client.dlp-tests.ts new file mode 100644 index 0000000000..87fe123a67 --- /dev/null +++ b/types/gapi.client.dlp/gapi.client.dlp-tests.ts @@ -0,0 +1,60 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('dlp', 'v2beta1', () => { + /** now we can use gapi.client.dlp */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * De-identifies potentially sensitive info from a list of strings. + * This method has limits on input size and output size. + */ + await gapi.client.content.deidentify({ + }); + /** + * Finds potentially sensitive info in a list of strings. + * This method has limits on input size, processing time, and output size. + */ + await gapi.client.content.inspect({ + }); + /** + * Redacts potentially sensitive info from a list of strings. + * This method has limits on input size, processing time, and output size. + */ + await gapi.client.content.redact({ + }); + /** + * Schedules a job to compute risk analysis metrics over content in a Google + * Cloud Platform repository. + */ + await gapi.client.dataSource.analyze({ + }); + /** Returns the list of root categories of sensitive information. */ + await gapi.client.rootCategories.list({ + languageCode: "languageCode", + }); + } +}); diff --git a/types/gapi.client.dlp/index.d.ts b/types/gapi.client.dlp/index.d.ts new file mode 100644 index 0000000000..29839bac80 --- /dev/null +++ b/types/gapi.client.dlp/index.d.ts @@ -0,0 +1,1612 @@ +// Type definitions for Google DLP API v2beta1 2.0 +// Project: https://cloud.google.com/dlp/docs/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://dlp.googleapis.com/$discovery/rest?version=v2beta1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load DLP API v2beta1 */ + function load(name: "dlp", version: "v2beta1"): PromiseLike<void>; + function load(name: "dlp", version: "v2beta1", callback: () => any): void; + + const content: dlp.ContentResource; + + const dataSource: dlp.DataSourceResource; + + const inspect: dlp.InspectResource; + + const riskAnalysis: dlp.RiskAnalysisResource; + + const rootCategories: dlp.RootCategoriesResource; + + namespace dlp { + interface GoogleLongrunningListOperationsResponse { + /** The standard List next-page token. */ + nextPageToken?: string; + /** A list of operations that matches the specified filter in the request. */ + operations?: GoogleLongrunningOperation[]; + } + interface GoogleLongrunningOperation { + /** + * If the value is `false`, it means the operation is still in progress. + * If `true`, the operation is completed, and either `error` or `response` is + * available. + */ + done?: boolean; + /** The error result of the operation in case of failure or cancellation. */ + error?: GoogleRpcStatus; + /** + * This field will contain an InspectOperationMetadata object for `inspect.operations.create` or a RiskAnalysisOperationMetadata object for + * `dataSource.analyze`. This will always be returned with the Operation. + */ + metadata?: Record<string, any>; + /** The server-assigned name. The `name` should have the format of `inspect/operations/<identifier>`. */ + name?: string; + /** + * This field will contain an InspectOperationResult object for `inspect.operations.create` or a RiskAnalysisOperationResult object for + * `dataSource.analyze`. + */ + response?: Record<string, any>; + } + interface GooglePrivacyDlpV2beta1AnalyzeDataSourceRiskRequest { + /** Privacy metric to compute. */ + privacyMetric?: GooglePrivacyDlpV2beta1PrivacyMetric; + /** Input dataset to compute metrics over. */ + sourceTable?: GooglePrivacyDlpV2beta1BigQueryTable; + } + interface GooglePrivacyDlpV2beta1BigQueryOptions { + /** + * References to fields uniquely identifying rows within the table. + * Nested fields in the format, like `person.birthdate.year`, are allowed. + */ + identifyingFields?: GooglePrivacyDlpV2beta1FieldId[]; + /** Complete BigQuery table reference. */ + tableReference?: GooglePrivacyDlpV2beta1BigQueryTable; + } + interface GooglePrivacyDlpV2beta1BigQueryTable { + /** Dataset ID of the table. */ + datasetId?: string; + /** + * The Google Cloud Platform project ID of the project containing the table. + * If omitted, project ID is inferred from the API call. + */ + projectId?: string; + /** Name of the table. */ + tableId?: string; + } + interface GooglePrivacyDlpV2beta1Bucket { + /** Upper bound of the range, exclusive; type must match min. */ + max?: GooglePrivacyDlpV2beta1Value; + /** + * Lower bound of the range, inclusive. Type should be the same as max if + * used. + */ + min?: GooglePrivacyDlpV2beta1Value; + /** + * Replacement value for this bucket. If not provided + * the default behavior will be to hyphenate the min-max range. + */ + replacementValue?: GooglePrivacyDlpV2beta1Value; + } + interface GooglePrivacyDlpV2beta1BucketingConfig { + buckets?: GooglePrivacyDlpV2beta1Bucket[]; + } + interface GooglePrivacyDlpV2beta1CategoricalStatsConfig { + /** + * Field to compute categorical stats on. All column types are + * supported except for arrays and structs. However, it may be more + * informative to use NumericalStats when the field type is supported, + * depending on the data. + */ + field?: GooglePrivacyDlpV2beta1FieldId; + } + interface GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket { + /** Total number of records in this bucket. */ + bucketSize?: string; + /** + * Sample of value frequencies in this bucket. The total number of + * values returned per bucket is capped at 20. + */ + bucketValues?: GooglePrivacyDlpV2beta1ValueFrequency[]; + /** Lower bound on the value frequency of the values in this bucket. */ + valueFrequencyLowerBound?: string; + /** Upper bound on the value frequency of the values in this bucket. */ + valueFrequencyUpperBound?: string; + } + interface GooglePrivacyDlpV2beta1CategoricalStatsResult { + /** Histogram of value frequencies in the column. */ + valueFrequencyHistogramBuckets?: GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket[]; + } + interface GooglePrivacyDlpV2beta1CategoryDescription { + /** Human readable form of the category name. */ + displayName?: string; + /** Internal name of the category. */ + name?: string; + } + interface GooglePrivacyDlpV2beta1CharacterMaskConfig { + /** + * When masking a string, items in this list will be skipped when replacing. + * For example, if your string is 555-555-5555 and you ask us to skip `-` and + * mask 5 chars with * we would produce ***-*55-5555. + */ + charactersToIgnore?: GooglePrivacyDlpV2beta1CharsToIgnore[]; + /** + * Character to mask the sensitive values—for example, "*" for an + * alphabetic string such as name, or "0" for a numeric string such as ZIP + * code or credit card number. String must have length 1. If not supplied, we + * will default to "*" for strings, 0 for digits. + */ + maskingCharacter?: string; + /** + * Number of characters to mask. If not set, all matching chars will be + * masked. Skipped characters do not count towards this tally. + */ + numberToMask?: number; + /** + * Mask characters in reverse order. For example, if `masking_character` is + * '0', number_to_mask is 14, and `reverse_order` is false, then + * 1234-5678-9012-3456 -> 00000000000000-3456 + * If `masking_character` is '*', `number_to_mask` is 3, and `reverse_order` + * is true, then 12345 -> 12*** + */ + reverseOrder?: boolean; + } + interface GooglePrivacyDlpV2beta1CharsToIgnore { + charactersToSkip?: string; + commonCharactersToIgnore?: string; + } + interface GooglePrivacyDlpV2beta1CloudStorageKey { + /** Path to the file. */ + filePath?: string; + /** Byte offset of the referenced data in the file. */ + startOffset?: string; + } + interface GooglePrivacyDlpV2beta1CloudStorageOptions { + fileSet?: GooglePrivacyDlpV2beta1FileSet; + } + interface GooglePrivacyDlpV2beta1CloudStoragePath { + /** The url, in the format of `gs://bucket/<path>`. */ + path?: string; + } + interface GooglePrivacyDlpV2beta1Color { + /** The amount of blue in the color as a value in the interval [0, 1]. */ + blue?: number; + /** The amount of green in the color as a value in the interval [0, 1]. */ + green?: number; + /** The amount of red in the color as a value in the interval [0, 1]. */ + red?: number; + } + interface GooglePrivacyDlpV2beta1Condition { + /** Field within the record this condition is evaluated against. [required] */ + field?: GooglePrivacyDlpV2beta1FieldId; + /** Operator used to compare the field or info type to the value. [required] */ + operator?: string; + /** Value to compare against. [Required, except for `EXISTS` tests.] */ + value?: GooglePrivacyDlpV2beta1Value; + } + interface GooglePrivacyDlpV2beta1Conditions { + conditions?: GooglePrivacyDlpV2beta1Condition[]; + } + interface GooglePrivacyDlpV2beta1ContentItem { + /** Content data to inspect or redact. */ + data?: string; + /** Structured content for inspection. */ + table?: GooglePrivacyDlpV2beta1Table; + /** + * Type of the content, as defined in Content-Type HTTP header. + * Supported types are: all "text" types, octet streams, PNG images, + * JPEG images. + */ + type?: string; + /** String data to inspect or redact. */ + value?: string; + } + interface GooglePrivacyDlpV2beta1CreateInspectOperationRequest { + /** Configuration for the inspector. */ + inspectConfig?: GooglePrivacyDlpV2beta1InspectConfig; + /** Additional configuration settings for long running operations. */ + operationConfig?: GooglePrivacyDlpV2beta1OperationConfig; + /** Optional location to store findings. */ + outputConfig?: GooglePrivacyDlpV2beta1OutputStorageConfig; + /** Specification of the data set to process. */ + storageConfig?: GooglePrivacyDlpV2beta1StorageConfig; + } + interface GooglePrivacyDlpV2beta1CryptoHashConfig { + /** The key used by the hash function. */ + cryptoKey?: GooglePrivacyDlpV2beta1CryptoKey; + } + interface GooglePrivacyDlpV2beta1CryptoKey { + kmsWrapped?: GooglePrivacyDlpV2beta1KmsWrappedCryptoKey; + transient?: GooglePrivacyDlpV2beta1TransientCryptoKey; + unwrapped?: GooglePrivacyDlpV2beta1UnwrappedCryptoKey; + } + interface GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig { + commonAlphabet?: string; + /** + * A context may be used for higher security since the same + * identifier in two different contexts likely will be given a distinct + * surrogate. The principle is that the likeliness is inversely related + * to the ratio of the number of distinct identifiers per context over the + * number of possible surrogates: As long as this ratio is small, the + * likehood is large. + * + * If the context is not set, a default tweak will be used. + * If the context is set but: + * + * 1. there is no record present when transforming a given value or + * 1. the field is not present when transforming a given value, + * + * a default tweak will be used. + * + * Note that case (1) is expected when an `InfoTypeTransformation` is + * applied to both structured and non-structured `ContentItem`s. + * Currently, the referenced field may be of value type integer or string. + * + * The tweak is constructed as a sequence of bytes in big endian byte order + * such that: + * + * - a 64 bit integer is encoded followed by a single byte of value 1 + * - a string is encoded in UTF-8 format followed by a single byte of value 2 + * + * This is also known as the 'tweak', as in tweakable encryption. + */ + context?: GooglePrivacyDlpV2beta1FieldId; + /** The key used by the encryption algorithm. [required] */ + cryptoKey?: GooglePrivacyDlpV2beta1CryptoKey; + /** + * This is supported by mapping these to the alphanumeric characters + * that the FFX mode natively supports. This happens before/after + * encryption/decryption. + * Each character listed must appear only once. + * Number of characters must be in the range [2, 62]. + * This must be encoded as ASCII. + * The order of characters does not matter. + */ + customAlphabet?: string; + /** The native way to select the alphabet. Must be in the range [2, 62]. */ + radix?: number; + } + interface GooglePrivacyDlpV2beta1DatastoreKey { + /** Datastore entity key. */ + entityKey?: GooglePrivacyDlpV2beta1Key; + } + interface GooglePrivacyDlpV2beta1DatastoreOptions { + /** The kind to process. */ + kind?: GooglePrivacyDlpV2beta1KindExpression; + /** + * A partition ID identifies a grouping of entities. The grouping is always + * by project and namespace, however the namespace ID may be empty. + */ + partitionId?: GooglePrivacyDlpV2beta1PartitionId; + /** + * Properties to scan. If none are specified, all properties will be scanned + * by default. + */ + projection?: GooglePrivacyDlpV2beta1Projection[]; + } + interface GooglePrivacyDlpV2beta1DeidentificationSummary { + /** Transformations applied to the dataset. */ + transformationSummaries?: GooglePrivacyDlpV2beta1TransformationSummary[]; + /** Total size in bytes that were transformed in some way. */ + transformedBytes?: string; + } + interface GooglePrivacyDlpV2beta1DeidentifyConfig { + /** + * Treat the dataset as free-form text and apply the same free text + * transformation everywhere. + */ + infoTypeTransformations?: GooglePrivacyDlpV2beta1InfoTypeTransformations; + /** + * Treat the dataset as structured. Transformations can be applied to + * specific locations within structured datasets, such as transforming + * a column within a table. + */ + recordTransformations?: GooglePrivacyDlpV2beta1RecordTransformations; + } + interface GooglePrivacyDlpV2beta1DeidentifyContentRequest { + /** Configuration for the de-identification of the list of content items. */ + deidentifyConfig?: GooglePrivacyDlpV2beta1DeidentifyConfig; + /** Configuration for the inspector. */ + inspectConfig?: GooglePrivacyDlpV2beta1InspectConfig; + /** + * The list of items to inspect. Up to 100 are allowed per request. + * All items will be treated as text/*. + */ + items?: GooglePrivacyDlpV2beta1ContentItem[]; + } + interface GooglePrivacyDlpV2beta1DeidentifyContentResponse { + items?: GooglePrivacyDlpV2beta1ContentItem[]; + /** A review of the transformations that took place for each item. */ + summaries?: GooglePrivacyDlpV2beta1DeidentificationSummary[]; + } + interface GooglePrivacyDlpV2beta1EntityId { + /** Composite key indicating which field contains the entity identifier. */ + field?: GooglePrivacyDlpV2beta1FieldId; + } + interface GooglePrivacyDlpV2beta1Expressions { + conditions?: GooglePrivacyDlpV2beta1Conditions; + /** + * The operator to apply to the result of conditions. Default and currently + * only supported value is `AND`. + */ + logicalOperator?: string; + } + interface GooglePrivacyDlpV2beta1FieldId { + /** Name describing the field. */ + columnName?: string; + } + interface GooglePrivacyDlpV2beta1FieldTransformation { + /** + * Only apply the transformation if the condition evaluates to true for the + * given `RecordCondition`. The conditions are allowed to reference fields + * that are not used in the actual transformation. [optional] + * + * Example Use Cases: + * + * - Apply a different bucket transformation to an age column if the zip code + * column for the same record is within a specific range. + * - Redact a field if the date of birth field is greater than 85. + */ + condition?: GooglePrivacyDlpV2beta1RecordCondition; + /** Input field(s) to apply the transformation to. [required] */ + fields?: GooglePrivacyDlpV2beta1FieldId[]; + /** + * Treat the contents of the field as free text, and selectively + * transform content that matches an `InfoType`. + */ + infoTypeTransformations?: GooglePrivacyDlpV2beta1InfoTypeTransformations; + /** Apply the transformation to the entire field. */ + primitiveTransformation?: GooglePrivacyDlpV2beta1PrimitiveTransformation; + } + interface GooglePrivacyDlpV2beta1FileSet { + /** + * The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the + * path is allowed. + */ + url?: string; + } + interface GooglePrivacyDlpV2beta1Finding { + /** Timestamp when finding was detected. */ + createTime?: string; + /** The specific type of info the string might be. */ + infoType?: GooglePrivacyDlpV2beta1InfoType; + /** Estimate of how likely it is that the info_type is correct. */ + likelihood?: string; + /** Location of the info found. */ + location?: GooglePrivacyDlpV2beta1Location; + /** The specific string that may be potentially sensitive info. */ + quote?: string; + } + interface GooglePrivacyDlpV2beta1FixedSizeBucketingConfig { + /** + * Size of each bucket (except for minimum and maximum buckets). So if + * `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the + * following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60, + * 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works. [Required]. + */ + bucketSize?: number; + /** + * Lower bound value of buckets. All values less than `lower_bound` are + * grouped together into a single bucket; for example if `lower_bound` = 10, + * then all values less than 10 are replaced with the value “-10”. [Required]. + */ + lowerBound?: GooglePrivacyDlpV2beta1Value; + /** + * Upper bound value of buckets. All values greater than upper_bound are + * grouped together into a single bucket; for example if `upper_bound` = 89, + * then all values greater than 89 are replaced with the value “89+”. + * [Required]. + */ + upperBound?: GooglePrivacyDlpV2beta1Value; + } + interface GooglePrivacyDlpV2beta1ImageLocation { + /** Height of the bounding box in pixels. */ + height?: number; + /** Left coordinate of the bounding box. (0,0) is upper left. */ + left?: number; + /** Top coordinate of the bounding box. (0,0) is upper left. */ + top?: number; + /** Width of the bounding box in pixels. */ + width?: number; + } + interface GooglePrivacyDlpV2beta1ImageRedactionConfig { + /** + * Only one per info_type should be provided per request. If not + * specified, and redact_all_text is false, the DLP API will redact all + * text that it matches against all info_types that are found, but not + * specified in another ImageRedactionConfig. + */ + infoType?: GooglePrivacyDlpV2beta1InfoType; + /** + * If true, all text found in the image, regardless whether it matches an + * info_type, is redacted. + */ + redactAllText?: boolean; + /** + * The color to use when redacting content from an image. If not specified, + * the default is black. + */ + redactionColor?: GooglePrivacyDlpV2beta1Color; + } + interface GooglePrivacyDlpV2beta1InfoType { + /** Name of the information type. */ + name?: string; + } + interface GooglePrivacyDlpV2beta1InfoTypeDescription { + /** List of categories this infoType belongs to. */ + categories?: GooglePrivacyDlpV2beta1CategoryDescription[]; + /** Human readable form of the infoType name. */ + displayName?: string; + /** Internal name of the infoType. */ + name?: string; + } + interface GooglePrivacyDlpV2beta1InfoTypeLimit { + /** + * Type of information the findings limit applies to. Only one limit per + * info_type should be provided. If InfoTypeLimit does not have an + * info_type, the DLP API applies the limit against all info_types that are + * found but not specified in another InfoTypeLimit. + */ + infoType?: GooglePrivacyDlpV2beta1InfoType; + /** Max findings limit for the given infoType. */ + maxFindings?: number; + } + interface GooglePrivacyDlpV2beta1InfoTypeStatistics { + /** Number of findings for this info type. */ + count?: string; + /** The type of finding this stat is for. */ + infoType?: GooglePrivacyDlpV2beta1InfoType; + } + interface GooglePrivacyDlpV2beta1InfoTypeTransformation { + /** + * Info types to apply the transformation to. Empty list will match all + * available info types for this transformation. + */ + infoTypes?: GooglePrivacyDlpV2beta1InfoType[]; + /** Primitive transformation to apply to the info type. [required] */ + primitiveTransformation?: GooglePrivacyDlpV2beta1PrimitiveTransformation; + } + interface GooglePrivacyDlpV2beta1InfoTypeTransformations { + /** + * Transformation for each info type. Cannot specify more than one + * for a given info type. [required] + */ + transformations?: GooglePrivacyDlpV2beta1InfoTypeTransformation[]; + } + interface GooglePrivacyDlpV2beta1InspectConfig { + /** When true, excludes type information of the findings. */ + excludeTypes?: boolean; + /** + * When true, a contextual quote from the data that triggered a finding is + * included in the response; see Finding.quote. + */ + includeQuote?: boolean; + /** Configuration of findings limit given for specified info types. */ + infoTypeLimits?: GooglePrivacyDlpV2beta1InfoTypeLimit[]; + /** + * Restricts what info_types to look for. The values must correspond to + * InfoType values returned by ListInfoTypes or found in documentation. + * Empty info_types runs all enabled detectors. + */ + infoTypes?: GooglePrivacyDlpV2beta1InfoType[]; + /** Limits the number of findings per content item or long running operation. */ + maxFindings?: number; + /** Only returns findings equal or above this threshold. */ + minLikelihood?: string; + } + interface GooglePrivacyDlpV2beta1InspectContentRequest { + /** Configuration for the inspector. */ + inspectConfig?: GooglePrivacyDlpV2beta1InspectConfig; + /** + * The list of items to inspect. Items in a single request are + * considered "related" unless inspect_config.independent_inputs is true. + * Up to 100 are allowed per request. + */ + items?: GooglePrivacyDlpV2beta1ContentItem[]; + } + interface GooglePrivacyDlpV2beta1InspectContentResponse { + /** + * Each content_item from the request has a result in this list, in the + * same order as the request. + */ + results?: GooglePrivacyDlpV2beta1InspectResult[]; + } + interface GooglePrivacyDlpV2beta1InspectOperationMetadata { + /** The time which this request was started. */ + createTime?: string; + infoTypeStats?: GooglePrivacyDlpV2beta1InfoTypeStatistics[]; + /** Total size in bytes that were processed. */ + processedBytes?: string; + /** The inspect config used to create the Operation. */ + requestInspectConfig?: GooglePrivacyDlpV2beta1InspectConfig; + /** Optional location to store findings. */ + requestOutputConfig?: GooglePrivacyDlpV2beta1OutputStorageConfig; + /** The storage config used to create the Operation. */ + requestStorageConfig?: GooglePrivacyDlpV2beta1StorageConfig; + /** Estimate of the number of bytes to process. */ + totalEstimatedBytes?: string; + } + interface GooglePrivacyDlpV2beta1InspectOperationResult { + /** + * The server-assigned name, which is only unique within the same service that + * originally returns it. If you use the default HTTP mapping, the + * `name` should have the format of `inspect/results/{id}`. + */ + name?: string; + } + interface GooglePrivacyDlpV2beta1InspectResult { + /** List of findings for an item. */ + findings?: GooglePrivacyDlpV2beta1Finding[]; + /** + * If true, then this item might have more findings than were returned, + * and the findings returned are an arbitrary subset of all findings. + * The findings list might be truncated because the input items were too + * large, or because the server reached the maximum amount of resources + * allowed for a single API call. For best results, divide the input into + * smaller batches. + */ + findingsTruncated?: boolean; + } + interface GooglePrivacyDlpV2beta1KAnonymityConfig { + /** + * Optional message indicating that each distinct `EntityId` should not + * contribute to the k-anonymity count more than once per equivalence class. + */ + entityId?: GooglePrivacyDlpV2beta1EntityId; + /** + * Set of fields to compute k-anonymity over. When multiple fields are + * specified, they are considered a single composite key. Structs and + * repeated data types are not supported; however, nested fields are + * supported so long as they are not structs themselves or nested within + * a repeated field. + */ + quasiIds?: GooglePrivacyDlpV2beta1FieldId[]; + } + interface GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass { + /** + * Size of the equivalence class, for example number of rows with the + * above set of values. + */ + equivalenceClassSize?: string; + /** + * Set of values defining the equivalence class. One value per + * quasi-identifier column in the original KAnonymity metric message. + * The order is always the same as the original request. + */ + quasiIdsValues?: GooglePrivacyDlpV2beta1Value[]; + } + interface GooglePrivacyDlpV2beta1KAnonymityHistogramBucket { + /** Total number of records in this bucket. */ + bucketSize?: string; + /** + * Sample of equivalence classes in this bucket. The total number of + * classes returned per bucket is capped at 20. + */ + bucketValues?: GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass[]; + /** Lower bound on the size of the equivalence classes in this bucket. */ + equivalenceClassSizeLowerBound?: string; + /** Upper bound on the size of the equivalence classes in this bucket. */ + equivalenceClassSizeUpperBound?: string; + } + interface GooglePrivacyDlpV2beta1KAnonymityResult { + /** Histogram of k-anonymity equivalence classes. */ + equivalenceClassHistogramBuckets?: GooglePrivacyDlpV2beta1KAnonymityHistogramBucket[]; + } + interface GooglePrivacyDlpV2beta1Key { + /** + * Entities are partitioned into subsets, currently identified by a project + * ID and namespace ID. + * Queries are scoped to a single partition. + */ + partitionId?: GooglePrivacyDlpV2beta1PartitionId; + /** + * The entity path. + * An entity path consists of one or more elements composed of a kind and a + * string or numerical identifier, which identify entities. The first + * element identifies a _root entity_, the second element identifies + * a _child_ of the root entity, the third element identifies a child of the + * second entity, and so forth. The entities identified by all prefixes of + * the path are called the element's _ancestors_. + * + * A path can never be empty, and a path can have at most 100 elements. + */ + path?: GooglePrivacyDlpV2beta1PathElement[]; + } + interface GooglePrivacyDlpV2beta1KindExpression { + /** The name of the kind. */ + name?: string; + } + interface GooglePrivacyDlpV2beta1KmsWrappedCryptoKey { + /** The resource name of the KMS CryptoKey to use for unwrapping. [required] */ + cryptoKeyName?: string; + /** The wrapped data crypto key. [required] */ + wrappedKey?: string; + } + interface GooglePrivacyDlpV2beta1LDiversityConfig { + /** + * Set of quasi-identifiers indicating how equivalence classes are + * defined for the l-diversity computation. When multiple fields are + * specified, they are considered a single composite key. + */ + quasiIds?: GooglePrivacyDlpV2beta1FieldId[]; + /** Sensitive field for computing the l-value. */ + sensitiveAttribute?: GooglePrivacyDlpV2beta1FieldId; + } + interface GooglePrivacyDlpV2beta1LDiversityEquivalenceClass { + /** Size of the k-anonymity equivalence class. */ + equivalenceClassSize?: string; + /** Number of distinct sensitive values in this equivalence class. */ + numDistinctSensitiveValues?: string; + /** + * Quasi-identifier values defining the k-anonymity equivalence + * class. The order is always the same as the original request. + */ + quasiIdsValues?: GooglePrivacyDlpV2beta1Value[]; + /** Estimated frequencies of top sensitive values. */ + topSensitiveValues?: GooglePrivacyDlpV2beta1ValueFrequency[]; + } + interface GooglePrivacyDlpV2beta1LDiversityHistogramBucket { + /** Total number of records in this bucket. */ + bucketSize?: string; + /** + * Sample of equivalence classes in this bucket. The total number of + * classes returned per bucket is capped at 20. + */ + bucketValues?: GooglePrivacyDlpV2beta1LDiversityEquivalenceClass[]; + /** + * Lower bound on the sensitive value frequencies of the equivalence + * classes in this bucket. + */ + sensitiveValueFrequencyLowerBound?: string; + /** + * Upper bound on the sensitive value frequencies of the equivalence + * classes in this bucket. + */ + sensitiveValueFrequencyUpperBound?: string; + } + interface GooglePrivacyDlpV2beta1LDiversityResult { + /** Histogram of l-diversity equivalence class sensitive value frequencies. */ + sensitiveValueFrequencyHistogramBuckets?: GooglePrivacyDlpV2beta1LDiversityHistogramBucket[]; + } + interface GooglePrivacyDlpV2beta1ListInfoTypesResponse { + /** Set of sensitive info types belonging to a category. */ + infoTypes?: GooglePrivacyDlpV2beta1InfoTypeDescription[]; + } + interface GooglePrivacyDlpV2beta1ListInspectFindingsResponse { + /** + * If not empty, indicates that there may be more results that match the + * request; this value should be passed in a new `ListInspectFindingsRequest`. + */ + nextPageToken?: string; + /** The results. */ + result?: GooglePrivacyDlpV2beta1InspectResult; + } + interface GooglePrivacyDlpV2beta1ListRootCategoriesResponse { + /** List of all into type categories supported by the API. */ + categories?: GooglePrivacyDlpV2beta1CategoryDescription[]; + } + interface GooglePrivacyDlpV2beta1Location { + /** Zero-based byte offsets within a content item. */ + byteRange?: GooglePrivacyDlpV2beta1Range; + /** + * Character offsets within a content item, included when content type + * is a text. Default charset assumed to be UTF-8. + */ + codepointRange?: GooglePrivacyDlpV2beta1Range; + /** Field id of the field containing the finding. */ + fieldId?: GooglePrivacyDlpV2beta1FieldId; + /** Location within an image's pixels. */ + imageBoxes?: GooglePrivacyDlpV2beta1ImageLocation[]; + /** Key of the finding. */ + recordKey?: GooglePrivacyDlpV2beta1RecordKey; + /** Location within a `ContentItem.Table`. */ + tableLocation?: GooglePrivacyDlpV2beta1TableLocation; + } + interface GooglePrivacyDlpV2beta1NumericalStatsConfig { + /** + * Field to compute numerical stats on. Supported types are + * integer, float, date, datetime, timestamp, time. + */ + field?: GooglePrivacyDlpV2beta1FieldId; + } + interface GooglePrivacyDlpV2beta1NumericalStatsResult { + /** Maximum value appearing in the column. */ + maxValue?: GooglePrivacyDlpV2beta1Value; + /** Minimum value appearing in the column. */ + minValue?: GooglePrivacyDlpV2beta1Value; + /** + * List of 99 values that partition the set of field values into 100 equal + * sized buckets. + */ + quantileValues?: GooglePrivacyDlpV2beta1Value[]; + } + interface GooglePrivacyDlpV2beta1OperationConfig { + /** Max number of findings per file, Datastore entity, or database row. */ + maxItemFindings?: string; + } + interface GooglePrivacyDlpV2beta1OutputStorageConfig { + /** + * The path to a Google Cloud Storage location to store output. + * The bucket must already exist and + * the Google APIs service account for DLP must have write permission to + * write to the given bucket. + * Results are split over multiple csv files with each file name matching + * the pattern "[operation_id]_[count].csv", for example + * `3094877188788974909_1.csv`. The `operation_id` matches the + * identifier for the Operation, and the `count` is a counter used for + * tracking the number of files written. + * + * The CSV file(s) contain the following columns regardless of storage type + * scanned: + * - id + * - info_type + * - likelihood + * - byte size of finding + * - quote + * - timestamp + * + * For Cloud Storage the next columns are: + * + * - file_path + * - start_offset + * + * For Cloud Datastore the next columns are: + * + * - project_id + * - namespace_id + * - path + * - column_name + * - offset + * + * For BigQuery the next columns are: + * + * - row_number + * - project_id + * - dataset_id + * - table_id + */ + storagePath?: GooglePrivacyDlpV2beta1CloudStoragePath; + /** Store findings in a new table in the dataset. */ + table?: GooglePrivacyDlpV2beta1BigQueryTable; + } + interface GooglePrivacyDlpV2beta1PartitionId { + /** If not empty, the ID of the namespace to which the entities belong. */ + namespaceId?: string; + /** The ID of the project to which the entities belong. */ + projectId?: string; + } + interface GooglePrivacyDlpV2beta1PathElement { + /** + * The auto-allocated ID of the entity. + * Never equal to zero. Values less than zero are discouraged and may not + * be supported in the future. + */ + id?: string; + /** + * The kind of the entity. + * A kind matching regex `__.*__` is reserved/read-only. + * A kind must not contain more than 1500 bytes when UTF-8 encoded. + * Cannot be `""`. + */ + kind?: string; + /** + * The name of the entity. + * A name matching regex `__.*__` is reserved/read-only. + * A name must not be more than 1500 bytes when UTF-8 encoded. + * Cannot be `""`. + */ + name?: string; + } + interface GooglePrivacyDlpV2beta1PrimitiveTransformation { + bucketingConfig?: GooglePrivacyDlpV2beta1BucketingConfig; + characterMaskConfig?: GooglePrivacyDlpV2beta1CharacterMaskConfig; + cryptoHashConfig?: GooglePrivacyDlpV2beta1CryptoHashConfig; + cryptoReplaceFfxFpeConfig?: GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig; + fixedSizeBucketingConfig?: GooglePrivacyDlpV2beta1FixedSizeBucketingConfig; + redactConfig?: any; + replaceConfig?: GooglePrivacyDlpV2beta1ReplaceValueConfig; + replaceWithInfoTypeConfig?: any; + timePartConfig?: GooglePrivacyDlpV2beta1TimePartConfig; + } + interface GooglePrivacyDlpV2beta1PrivacyMetric { + categoricalStatsConfig?: GooglePrivacyDlpV2beta1CategoricalStatsConfig; + kAnonymityConfig?: GooglePrivacyDlpV2beta1KAnonymityConfig; + lDiversityConfig?: GooglePrivacyDlpV2beta1LDiversityConfig; + numericalStatsConfig?: GooglePrivacyDlpV2beta1NumericalStatsConfig; + } + interface GooglePrivacyDlpV2beta1Projection { + /** The property to project. */ + property?: GooglePrivacyDlpV2beta1PropertyReference; + } + interface GooglePrivacyDlpV2beta1PropertyReference { + /** + * The name of the property. + * If name includes "."s, it may be interpreted as a property name path. + */ + name?: string; + } + interface GooglePrivacyDlpV2beta1Range { + /** Index of the last character of the range (exclusive). */ + end?: string; + /** Index of the first character of the range (inclusive). */ + start?: string; + } + interface GooglePrivacyDlpV2beta1RecordCondition { + expressions?: GooglePrivacyDlpV2beta1Expressions; + } + interface GooglePrivacyDlpV2beta1RecordKey { + cloudStorageKey?: GooglePrivacyDlpV2beta1CloudStorageKey; + datastoreKey?: GooglePrivacyDlpV2beta1DatastoreKey; + } + interface GooglePrivacyDlpV2beta1RecordSuppression { + condition?: GooglePrivacyDlpV2beta1RecordCondition; + } + interface GooglePrivacyDlpV2beta1RecordTransformations { + /** Transform the record by applying various field transformations. */ + fieldTransformations?: GooglePrivacyDlpV2beta1FieldTransformation[]; + /** + * Configuration defining which records get suppressed entirely. Records that + * match any suppression rule are omitted from the output [optional]. + */ + recordSuppressions?: GooglePrivacyDlpV2beta1RecordSuppression[]; + } + interface GooglePrivacyDlpV2beta1RedactContentRequest { + /** The configuration for specifying what content to redact from images. */ + imageRedactionConfigs?: GooglePrivacyDlpV2beta1ImageRedactionConfig[]; + /** Configuration for the inspector. */ + inspectConfig?: GooglePrivacyDlpV2beta1InspectConfig; + /** The list of items to inspect. Up to 100 are allowed per request. */ + items?: GooglePrivacyDlpV2beta1ContentItem[]; + /** + * The strings to replace findings text findings with. Must specify at least + * one of these or one ImageRedactionConfig if redacting images. + */ + replaceConfigs?: GooglePrivacyDlpV2beta1ReplaceConfig[]; + } + interface GooglePrivacyDlpV2beta1RedactContentResponse { + /** The redacted content. */ + items?: GooglePrivacyDlpV2beta1ContentItem[]; + } + interface GooglePrivacyDlpV2beta1ReplaceConfig { + /** + * Type of information to replace. Only one ReplaceConfig per info_type + * should be provided. If ReplaceConfig does not have an info_type, the DLP + * API matches it against all info_types that are found but not specified in + * another ReplaceConfig. + */ + infoType?: GooglePrivacyDlpV2beta1InfoType; + /** Content replacing sensitive information of given type. Max 256 chars. */ + replaceWith?: string; + } + interface GooglePrivacyDlpV2beta1ReplaceValueConfig { + /** Value to replace it with. */ + newValue?: GooglePrivacyDlpV2beta1Value; + } + interface GooglePrivacyDlpV2beta1RiskAnalysisOperationMetadata { + /** The time which this request was started. */ + createTime?: string; + /** Privacy metric to compute. */ + requestedPrivacyMetric?: GooglePrivacyDlpV2beta1PrivacyMetric; + /** Input dataset to compute metrics over. */ + requestedSourceTable?: GooglePrivacyDlpV2beta1BigQueryTable; + } + interface GooglePrivacyDlpV2beta1RiskAnalysisOperationResult { + categoricalStatsResult?: GooglePrivacyDlpV2beta1CategoricalStatsResult; + kAnonymityResult?: GooglePrivacyDlpV2beta1KAnonymityResult; + lDiversityResult?: GooglePrivacyDlpV2beta1LDiversityResult; + numericalStatsResult?: GooglePrivacyDlpV2beta1NumericalStatsResult; + } + interface GooglePrivacyDlpV2beta1Row { + values?: GooglePrivacyDlpV2beta1Value[]; + } + interface GooglePrivacyDlpV2beta1StorageConfig { + /** BigQuery options specification. */ + bigQueryOptions?: GooglePrivacyDlpV2beta1BigQueryOptions; + /** Google Cloud Storage options specification. */ + cloudStorageOptions?: GooglePrivacyDlpV2beta1CloudStorageOptions; + /** Google Cloud Datastore options specification. */ + datastoreOptions?: GooglePrivacyDlpV2beta1DatastoreOptions; + } + interface GooglePrivacyDlpV2beta1SummaryResult { + code?: string; + count?: string; + /** + * A place for warnings or errors to show up if a transformation didn't + * work as expected. + */ + details?: string; + } + interface GooglePrivacyDlpV2beta1Table { + headers?: GooglePrivacyDlpV2beta1FieldId[]; + rows?: GooglePrivacyDlpV2beta1Row[]; + } + interface GooglePrivacyDlpV2beta1TableLocation { + /** The zero-based index of the row where the finding is located. */ + rowIndex?: string; + } + interface GooglePrivacyDlpV2beta1TimePartConfig { + partToExtract?: string; + } + interface GooglePrivacyDlpV2beta1TransformationSummary { + /** Set if the transformation was limited to a specific FieldId. */ + field?: GooglePrivacyDlpV2beta1FieldId; + /** + * The field transformation that was applied. This list will contain + * multiple only in the case of errors. + */ + fieldTransformations?: GooglePrivacyDlpV2beta1FieldTransformation[]; + /** Set if the transformation was limited to a specific info_type. */ + infoType?: GooglePrivacyDlpV2beta1InfoType; + /** The specific suppression option these stats apply to. */ + recordSuppress?: GooglePrivacyDlpV2beta1RecordSuppression; + results?: GooglePrivacyDlpV2beta1SummaryResult[]; + /** The specific transformation these stats apply to. */ + transformation?: GooglePrivacyDlpV2beta1PrimitiveTransformation; + } + interface GooglePrivacyDlpV2beta1TransientCryptoKey { + /** + * Name of the key. [required] + * This is an arbitrary string used to differentiate different keys. + * A unique key is generated per name: two separate `TransientCryptoKey` + * protos share the same generated key if their names are the same. + * When the data crypto key is generated, this name is not used in any way + * (repeating the api call will result in a different key being generated). + */ + name?: string; + } + interface GooglePrivacyDlpV2beta1UnwrappedCryptoKey { + /** The AES 128/192/256 bit key. [required] */ + key?: string; + } + interface GooglePrivacyDlpV2beta1Value { + booleanValue?: boolean; + dateValue?: GoogleTypeDate; + floatValue?: number; + integerValue?: string; + stringValue?: string; + timeValue?: GoogleTypeTimeOfDay; + timestampValue?: string; + } + interface GooglePrivacyDlpV2beta1ValueFrequency { + /** How many times the value is contained in the field. */ + count?: string; + /** A value contained in the field in question. */ + value?: GooglePrivacyDlpV2beta1Value; + } + interface GoogleRpcStatus { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface GoogleTypeDate { + /** + * Day of month. Must be from 1 to 31 and valid for the year and month, or 0 + * if specifying a year/month where the day is not significant. + */ + day?: number; + /** Month of year. Must be from 1 to 12. */ + month?: number; + /** + * Year of date. Must be from 1 to 9999, or 0 if specifying a date without + * a year. + */ + year?: number; + } + interface GoogleTypeTimeOfDay { + /** + * Hours of day in 24 hour format. Should be from 0 to 23. An API may choose + * to allow the value "24:00:00" for scenarios like business closing time. + */ + hours?: number; + /** Minutes of hour of day. Must be from 0 to 59. */ + minutes?: number; + /** Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. */ + nanos?: number; + /** + * Seconds of minutes of the time. Must normally be from 0 to 59. An API may + * allow the value 60 if it allows leap-seconds. + */ + seconds?: number; + } + interface ContentResource { + /** + * De-identifies potentially sensitive info from a list of strings. + * This method has limits on input size and output size. + */ + deidentify(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GooglePrivacyDlpV2beta1DeidentifyContentResponse>; + /** + * Finds potentially sensitive info in a list of strings. + * This method has limits on input size, processing time, and output size. + */ + inspect(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GooglePrivacyDlpV2beta1InspectContentResponse>; + /** + * Redacts potentially sensitive info from a list of strings. + * This method has limits on input size, processing time, and output size. + */ + redact(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GooglePrivacyDlpV2beta1RedactContentResponse>; + } + interface DataSourceResource { + /** + * Schedules a job to compute risk analysis metrics over content in a Google + * Cloud Platform repository. + */ + analyze(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleLongrunningOperation>; + } + interface OperationsResource { + /** Cancels an operation. Use the `inspect.operations.get` to check whether the cancellation succeeded or the operation completed despite cancellation. */ + cancel(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be cancelled. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Schedules a job scanning content in a Google Cloud Platform data + * repository. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleLongrunningOperation>; + /** This method is not supported and the server returns `UNIMPLEMENTED`. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be deleted. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleLongrunningOperation>; + /** Fetches the list of long running operations. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Filters by `done`. That is, `done=true` or `done=false`. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation's parent resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The list page size. The maximum allowed value is 256 and the default is 100. */ + pageSize?: number; + /** The standard list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleLongrunningListOperationsResponse>; + } + interface FindingsResource { + /** Returns list of results for given inspect operation result set id. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Restricts findings to items that match. Supports info_type and likelihood. + * + * Examples: + * + * - info_type=EMAIL_ADDRESS + * - info_type=PHONE_NUMBER,EMAIL_ADDRESS + * - likelihood=VERY_LIKELY + * - likelihood=VERY_LIKELY,LIKELY + * - info_type=EMAIL_ADDRESS,likelihood=VERY_LIKELY,LIKELY + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Identifier of the results set returned as metadata of + * the longrunning operation created by a call to InspectDataSource. + * Should be in the format of `inspect/results/{id}`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Maximum number of results to return. + * If 0, the implementation selects a reasonable value. + */ + pageSize?: number; + /** + * The value returned by the last `ListInspectFindingsResponse`; indicates + * that this is a continuation of a prior `ListInspectFindings` call, and that + * the system should return the next page of data. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GooglePrivacyDlpV2beta1ListInspectFindingsResponse>; + } + interface ResultsResource { + findings: FindingsResource; + } + interface InspectResource { + operations: OperationsResource; + results: ResultsResource; + } + interface OperationsResource { + /** Cancels an operation. Use the `inspect.operations.get` to check whether the cancellation succeeded or the operation completed despite cancellation. */ + cancel(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be cancelled. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** This method is not supported and the server returns `UNIMPLEMENTED`. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be deleted. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleLongrunningOperation>; + /** Fetches the list of long running operations. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Filters by `done`. That is, `done=true` or `done=false`. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation's parent resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The list page size. The maximum allowed value is 256 and the default is 100. */ + pageSize?: number; + /** The standard list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleLongrunningListOperationsResponse>; + } + interface RiskAnalysisResource { + operations: OperationsResource; + } + interface InfoTypesResource { + /** Returns sensitive information types for given category. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Category name as returned by ListRootCategories. */ + category: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Optional BCP-47 language code for localized info type friendly + * names. If omitted, or if localized strings are not available, + * en-US strings will be returned. + */ + languageCode?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GooglePrivacyDlpV2beta1ListInfoTypesResponse>; + } + interface RootCategoriesResource { + /** Returns the list of root categories of sensitive information. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Optional language code for localized friendly category names. + * If omitted or if localized strings are not available, + * en-US strings will be returned. + */ + languageCode?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GooglePrivacyDlpV2beta1ListRootCategoriesResponse>; + infoTypes: InfoTypesResource; + } + } +} diff --git a/types/gapi.client.dlp/readme.md b/types/gapi.client.dlp/readme.md new file mode 100644 index 0000000000..8a9a52d069 --- /dev/null +++ b/types/gapi.client.dlp/readme.md @@ -0,0 +1,83 @@ +# TypeScript typings for DLP API v2beta1 +The Google Data Loss Prevention API provides methods for detection of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories. +For detailed description please check [documentation](https://cloud.google.com/dlp/docs/). + +## Installing + +Install typings for DLP API: +``` +npm install @types/gapi.client.dlp@v2beta1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('dlp', 'v2beta1', () => { + // now we can use gapi.client.dlp + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use DLP API resources: + +```typescript + +/* +De-identifies potentially sensitive info from a list of strings. +This method has limits on input size and output size. +*/ +await gapi.client.content.deidentify({ }); + +/* +Finds potentially sensitive info in a list of strings. +This method has limits on input size, processing time, and output size. +*/ +await gapi.client.content.inspect({ }); + +/* +Redacts potentially sensitive info from a list of strings. +This method has limits on input size, processing time, and output size. +*/ +await gapi.client.content.redact({ }); + +/* +Schedules a job to compute risk analysis metrics over content in a Google +Cloud Platform repository. +*/ +await gapi.client.dataSource.analyze({ }); + +/* +Returns the list of root categories of sensitive information. +*/ +await gapi.client.rootCategories.list({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.dlp/tsconfig.json b/types/gapi.client.dlp/tsconfig.json new file mode 100644 index 0000000000..b7ab822674 --- /dev/null +++ b/types/gapi.client.dlp/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.dlp-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.dlp/tslint.json b/types/gapi.client.dlp/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.dlp/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.dns/gapi.client.dns-tests.ts b/types/gapi.client.dns/gapi.client.dns-tests.ts new file mode 100644 index 0000000000..16164e4e41 --- /dev/null +++ b/types/gapi.client.dns/gapi.client.dns-tests.ts @@ -0,0 +1,92 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('dns', 'v1', () => { + /** now we can use gapi.client.dns */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform.read-only', + /** View your DNS records hosted by Google Cloud DNS */ + 'https://www.googleapis.com/auth/ndev.clouddns.readonly', + /** View and manage your DNS records hosted by Google Cloud DNS */ + 'https://www.googleapis.com/auth/ndev.clouddns.readwrite', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Atomically update the ResourceRecordSet collection. */ + await gapi.client.changes.create({ + managedZone: "managedZone", + project: "project", + }); + /** Fetch the representation of an existing Change. */ + await gapi.client.changes.get({ + changeId: "changeId", + managedZone: "managedZone", + project: "project", + }); + /** Enumerate Changes to a ResourceRecordSet collection. */ + await gapi.client.changes.list({ + managedZone: "managedZone", + maxResults: 2, + pageToken: "pageToken", + project: "project", + sortBy: "sortBy", + sortOrder: "sortOrder", + }); + /** Create a new ManagedZone. */ + await gapi.client.managedZones.create({ + project: "project", + }); + /** Delete a previously created ManagedZone. */ + await gapi.client.managedZones.delete({ + managedZone: "managedZone", + project: "project", + }); + /** Fetch the representation of an existing ManagedZone. */ + await gapi.client.managedZones.get({ + managedZone: "managedZone", + project: "project", + }); + /** Enumerate ManagedZones that have been created but not yet deleted. */ + await gapi.client.managedZones.list({ + dnsName: "dnsName", + maxResults: 2, + pageToken: "pageToken", + project: "project", + }); + /** Fetch the representation of an existing Project. */ + await gapi.client.projects.get({ + project: "project", + }); + /** Enumerate ResourceRecordSets that have been created but not yet deleted. */ + await gapi.client.resourceRecordSets.list({ + managedZone: "managedZone", + maxResults: 2, + name: "name", + pageToken: "pageToken", + project: "project", + type: "type", + }); + } +}); diff --git a/types/gapi.client.dns/index.d.ts b/types/gapi.client.dns/index.d.ts new file mode 100644 index 0000000000..c97f2c0240 --- /dev/null +++ b/types/gapi.client.dns/index.d.ts @@ -0,0 +1,392 @@ +// Type definitions for Google Google Cloud DNS API v1 1.0 +// Project: https://developers.google.com/cloud-dns +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/dns/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Cloud DNS API v1 */ + function load(name: "dns", version: "v1"): PromiseLike<void>; + function load(name: "dns", version: "v1", callback: () => any): void; + + const changes: dns.ChangesResource; + + const managedZones: dns.ManagedZonesResource; + + const projects: dns.ProjectsResource; + + const resourceRecordSets: dns.ResourceRecordSetsResource; + + namespace dns { + interface Change { + /** Which ResourceRecordSets to add? */ + additions?: ResourceRecordSet[]; + /** Which ResourceRecordSets to remove? Must match existing data exactly. */ + deletions?: ResourceRecordSet[]; + /** Unique identifier for the resource; defined by the server (output only). */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dns#change". */ + kind?: string; + /** The time that this operation was started by the server (output only). This is in RFC3339 text format. */ + startTime?: string; + /** Status of the operation (output only). */ + status?: string; + } + interface ChangesListResponse { + /** The requested changes. */ + changes?: Change[]; + /** Type of resource. */ + kind?: string; + /** + * The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another + * list request using this value as your pagination token. + * + * In this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change + * between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to + * retrieve a "snapshot" of collections larger than the maximum page size. + */ + nextPageToken?: string; + } + interface ManagedZone { + /** The time that this resource was created on the server. This is in RFC3339 text format. Output only. */ + creationTime?: string; + /** A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function. */ + description?: string; + /** The DNS name of this managed zone, for instance "example.com.". */ + dnsName?: string; + /** Unique identifier for the resource; defined by the server (output only) */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dns#managedZone". */ + kind?: string; + /** + * User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a + * letter or digit, and only contain lowercase letters, digits or dashes. + */ + name?: string; + /** + * Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most + * users will leave this field unset. + */ + nameServerSet?: string; + /** Delegate your managed_zone to these virtual name servers; defined by the server (output only) */ + nameServers?: string[]; + } + interface ManagedZonesListResponse { + /** Type of resource. */ + kind?: string; + /** The managed zone resources. */ + managedZones?: ManagedZone[]; + /** + * The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another + * list request using this value as your page token. + * + * In this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change + * between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to + * retrieve a consistent snapshot of a collection larger than the maximum page size. + */ + nextPageToken?: string; + } + interface Project { + /** User assigned unique identifier for the resource (output only). */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "dns#project". */ + kind?: string; + /** Unique numeric identifier for the resource; defined by the server (output only). */ + number?: string; + /** Quotas assigned to this project (output only). */ + quota?: Quota; + } + interface Quota { + /** Identifies what kind of resource this is. Value: the fixed string "dns#quota". */ + kind?: string; + /** Maximum allowed number of managed zones in the project. */ + managedZones?: number; + /** Maximum allowed number of ResourceRecords per ResourceRecordSet. */ + resourceRecordsPerRrset?: number; + /** Maximum allowed number of ResourceRecordSets to add per ChangesCreateRequest. */ + rrsetAdditionsPerChange?: number; + /** Maximum allowed number of ResourceRecordSets to delete per ChangesCreateRequest. */ + rrsetDeletionsPerChange?: number; + /** Maximum allowed number of ResourceRecordSets per zone in the project. */ + rrsetsPerManagedZone?: number; + /** Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes. */ + totalRrdataSizePerChange?: number; + } + interface ResourceRecordSet { + /** Identifies what kind of resource this is. Value: the fixed string "dns#resourceRecordSet". */ + kind?: string; + /** For example, www.example.com. */ + name?: string; + /** As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1). */ + rrdatas?: string[]; + /** Number of seconds that this ResourceRecordSet can be cached by resolvers. */ + ttl?: number; + /** The identifier of a supported record type, for example, A, AAAA, MX, TXT, and so on. */ + type?: string; + } + interface ResourceRecordSetsListResponse { + /** Type of resource. */ + kind?: string; + /** + * The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another + * list request using this value as your pagination token. + * + * In this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change + * between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to + * retrieve a consistent snapshot of a collection larger than the maximum page size. + */ + nextPageToken?: string; + /** The resource record set resources. */ + rrsets?: ResourceRecordSet[]; + } + interface ChangesResource { + /** Atomically update the ResourceRecordSet collection. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Identifies the managed zone addressed by this request. Can be the managed zone name or id. */ + managedZone: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Identifies the project addressed by this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Change>; + /** Fetch the representation of an existing Change. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The identifier of the requested change, from a previous ResourceRecordSetsChangeResponse. */ + changeId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Identifies the managed zone addressed by this request. Can be the managed zone name or id. */ + managedZone: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Identifies the project addressed by this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Change>; + /** Enumerate Changes to a ResourceRecordSet collection. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Identifies the managed zone addressed by this request. Can be the managed zone name or id. */ + managedZone: string; + /** Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Identifies the project addressed by this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Sorting criterion. The only supported value is change sequence. */ + sortBy?: string; + /** Sorting order direction: 'ascending' or 'descending'. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ChangesListResponse>; + } + interface ManagedZonesResource { + /** Create a new ManagedZone. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Identifies the project addressed by this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ManagedZone>; + /** Delete a previously created ManagedZone. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Identifies the managed zone addressed by this request. Can be the managed zone name or id. */ + managedZone: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Identifies the project addressed by this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Fetch the representation of an existing ManagedZone. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Identifies the managed zone addressed by this request. Can be the managed zone name or id. */ + managedZone: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Identifies the project addressed by this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ManagedZone>; + /** Enumerate ManagedZones that have been created but not yet deleted. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Restricts the list to return only zones with this domain name. */ + dnsName?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Identifies the project addressed by this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ManagedZonesListResponse>; + } + interface ProjectsResource { + /** Fetch the representation of an existing Project. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Identifies the project addressed by this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Project>; + } + interface ResourceRecordSetsResource { + /** Enumerate ResourceRecordSets that have been created but not yet deleted. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Identifies the managed zone addressed by this request. Can be the managed zone name or id. */ + managedZone: string; + /** Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return. */ + maxResults?: number; + /** Restricts the list to return only records with this fully qualified domain name. */ + name?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Identifies the project addressed by this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Restricts the list to return only records of this type. If present, the "name" parameter must also be present. */ + type?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ResourceRecordSetsListResponse>; + } + } +} diff --git a/types/gapi.client.dns/readme.md b/types/gapi.client.dns/readme.md new file mode 100644 index 0000000000..2f7171937e --- /dev/null +++ b/types/gapi.client.dns/readme.md @@ -0,0 +1,108 @@ +# TypeScript typings for Google Cloud DNS API v1 +Configures and serves authoritative DNS records. +For detailed description please check [documentation](https://developers.google.com/cloud-dns). + +## Installing + +Install typings for Google Cloud DNS API: +``` +npm install @types/gapi.client.dns@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('dns', 'v1', () => { + // now we can use gapi.client.dns + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform.read-only', + + // View your DNS records hosted by Google Cloud DNS + 'https://www.googleapis.com/auth/ndev.clouddns.readonly', + + // View and manage your DNS records hosted by Google Cloud DNS + 'https://www.googleapis.com/auth/ndev.clouddns.readwrite', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Cloud DNS API resources: + +```typescript + +/* +Atomically update the ResourceRecordSet collection. +*/ +await gapi.client.changes.create({ managedZone: "managedZone", project: "project", }); + +/* +Fetch the representation of an existing Change. +*/ +await gapi.client.changes.get({ changeId: "changeId", managedZone: "managedZone", project: "project", }); + +/* +Enumerate Changes to a ResourceRecordSet collection. +*/ +await gapi.client.changes.list({ managedZone: "managedZone", project: "project", }); + +/* +Create a new ManagedZone. +*/ +await gapi.client.managedZones.create({ project: "project", }); + +/* +Delete a previously created ManagedZone. +*/ +await gapi.client.managedZones.delete({ managedZone: "managedZone", project: "project", }); + +/* +Fetch the representation of an existing ManagedZone. +*/ +await gapi.client.managedZones.get({ managedZone: "managedZone", project: "project", }); + +/* +Enumerate ManagedZones that have been created but not yet deleted. +*/ +await gapi.client.managedZones.list({ project: "project", }); + +/* +Fetch the representation of an existing Project. +*/ +await gapi.client.projects.get({ project: "project", }); + +/* +Enumerate ResourceRecordSets that have been created but not yet deleted. +*/ +await gapi.client.resourceRecordSets.list({ managedZone: "managedZone", project: "project", }); +``` \ No newline at end of file diff --git a/types/gapi.client.dns/tsconfig.json b/types/gapi.client.dns/tsconfig.json new file mode 100644 index 0000000000..93f3858c6c --- /dev/null +++ b/types/gapi.client.dns/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.dns-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.dns/tslint.json b/types/gapi.client.dns/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.dns/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.doubleclickbidmanager/gapi.client.doubleclickbidmanager-tests.ts b/types/gapi.client.doubleclickbidmanager/gapi.client.doubleclickbidmanager-tests.ts new file mode 100644 index 0000000000..85dbaea986 --- /dev/null +++ b/types/gapi.client.doubleclickbidmanager/gapi.client.doubleclickbidmanager-tests.ts @@ -0,0 +1,63 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('doubleclickbidmanager', 'v1', () => { + /** now we can use gapi.client.doubleclickbidmanager */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your reports in DoubleClick Bid Manager */ + 'https://www.googleapis.com/auth/doubleclickbidmanager', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Retrieves line items in CSV format. */ + await gapi.client.lineitems.downloadlineitems({ + }); + /** Uploads line items in CSV format. */ + await gapi.client.lineitems.uploadlineitems({ + }); + /** Creates a query. */ + await gapi.client.queries.createquery({ + }); + /** Deletes a stored query as well as the associated stored reports. */ + await gapi.client.queries.deletequery({ + queryId: "queryId", + }); + /** Retrieves a stored query. */ + await gapi.client.queries.getquery({ + queryId: "queryId", + }); + /** Retrieves stored queries. */ + await gapi.client.queries.listqueries({ + }); + /** Runs a stored query to generate a report. */ + await gapi.client.queries.runquery({ + queryId: "queryId", + }); + /** Retrieves stored reports. */ + await gapi.client.reports.listreports({ + queryId: "queryId", + }); + /** Retrieves entities in SDF format. */ + await gapi.client.sdf.download({ + }); + } +}); diff --git a/types/gapi.client.doubleclickbidmanager/index.d.ts b/types/gapi.client.doubleclickbidmanager/index.d.ts new file mode 100644 index 0000000000..13274ff247 --- /dev/null +++ b/types/gapi.client.doubleclickbidmanager/index.d.ts @@ -0,0 +1,435 @@ +// Type definitions for Google DoubleClick Bid Manager API v1 1.0 +// Project: https://developers.google.com/bid-manager/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/doubleclickbidmanager/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load DoubleClick Bid Manager API v1 */ + function load(name: "doubleclickbidmanager", version: "v1"): PromiseLike<void>; + function load(name: "doubleclickbidmanager", version: "v1", callback: () => any): void; + + const lineitems: doubleclickbidmanager.LineitemsResource; + + const queries: doubleclickbidmanager.QueriesResource; + + const reports: doubleclickbidmanager.ReportsResource; + + const sdf: doubleclickbidmanager.SdfResource; + + namespace doubleclickbidmanager { + interface DownloadLineItemsRequest { + /** File specification (column names, types, order) in which the line items will be returned. Default to EWF. */ + fileSpec?: string; + /** Ids of the specified filter type used to filter line items to fetch. If omitted, all the line items will be returned. */ + filterIds?: string[]; + /** Filter type used to filter line items to fetch. */ + filterType?: string; + /** Format in which the line items will be returned. Default to CSV. */ + format?: string; + } + interface DownloadLineItemsResponse { + /** Retrieved line items in CSV format. For more information about file formats, see Entity Write File Format. */ + lineItems?: string; + } + interface DownloadRequest { + /** File types that will be returned. */ + fileTypes?: string[]; + /** + * The IDs of the specified filter type. This is used to filter entities to fetch. At least one ID must be specified. Only one ID is allowed for the + * ADVERTISER_ID filter type. For INSERTION_ORDER_ID or LINE_ITEM_ID filter types, all IDs must be from the same Advertiser. + */ + filterIds?: string[]; + /** Filter type used to filter line items to fetch. */ + filterType?: string; + /** SDF Version (column names, types, order) in which the entities will be returned. Default to 3. */ + version?: string; + } + interface DownloadResponse { + /** Retrieved ad groups in SDF format. */ + adGroups?: string; + /** Retrieved ads in SDF format. */ + ads?: string; + /** Retrieved insertion orders in SDF format. */ + insertionOrders?: string; + /** Retrieved line items in SDF format. */ + lineItems?: string; + } + interface FilterPair { + /** Filter type. */ + type?: string; + /** Filter value. */ + value?: string; + } + interface ListQueriesResponse { + /** Identifies what kind of resource this is. Value: the fixed string "doubleclickbidmanager#listQueriesResponse". */ + kind?: string; + /** Retrieved queries. */ + queries?: Query[]; + } + interface ListReportsResponse { + /** Identifies what kind of resource this is. Value: the fixed string "doubleclickbidmanager#listReportsResponse". */ + kind?: string; + /** Retrieved reports. */ + reports?: Report[]; + } + interface Parameters { + /** Filters used to match traffic data in your report. */ + filters?: FilterPair[]; + /** Data is grouped by the filters listed in this field. */ + groupBys?: string[]; + /** Whether to include data from Invite Media. */ + includeInviteData?: boolean; + /** Metrics to include as columns in your report. */ + metrics?: string[]; + /** Report type. */ + type?: string; + } + interface Query { + /** Identifies what kind of resource this is. Value: the fixed string "doubleclickbidmanager#query". */ + kind?: string; + /** Query metadata. */ + metadata?: QueryMetadata; + /** Query parameters. */ + params?: Parameters; + /** Query ID. */ + queryId?: string; + /** + * The ending time for the data that is shown in the report. Note, reportDataEndTimeMs is required if metadata.dataRange is CUSTOM_DATES and ignored + * otherwise. + */ + reportDataEndTimeMs?: string; + /** + * The starting time for the data that is shown in the report. Note, reportDataStartTimeMs is required if metadata.dataRange is CUSTOM_DATES and ignored + * otherwise. + */ + reportDataStartTimeMs?: string; + /** Information on how often and when to run a query. */ + schedule?: QuerySchedule; + /** Canonical timezone code for report data time. Defaults to America/New_York. */ + timezoneCode?: string; + } + interface QueryMetadata { + /** Range of report data. */ + dataRange?: string; + /** Format of the generated report. */ + format?: string; + /** The path to the location in Google Cloud Storage where the latest report is stored. */ + googleCloudStoragePathForLatestReport?: string; + /** The path in Google Drive for the latest report. */ + googleDrivePathForLatestReport?: string; + /** The time when the latest report started to run. */ + latestReportRunTimeMs?: string; + /** + * Locale of the generated reports. Valid values are cs CZECH de GERMAN en ENGLISH es SPANISH fr FRENCH it ITALIAN ja JAPANESE ko KOREAN pl POLISH pt-BR + * BRAZILIAN_PORTUGUESE ru RUSSIAN tr TURKISH uk UKRAINIAN zh-CN CHINA_CHINESE zh-TW TAIWAN_CHINESE + * + * An locale string not in the list above will generate reports in English. + */ + locale?: string; + /** Number of reports that have been generated for the query. */ + reportCount?: number; + /** Whether the latest report is currently running. */ + running?: boolean; + /** Whether to send an email notification when a report is ready. Default to false. */ + sendNotification?: boolean; + /** List of email addresses which are sent email notifications when the report is finished. Separate from sendNotification. */ + shareEmailAddress?: string[]; + /** Query title. It is used to name the reports generated from this query. */ + title?: string; + } + interface QuerySchedule { + /** Datetime to periodically run the query until. */ + endTimeMs?: string; + /** How often the query is run. */ + frequency?: string; + /** Time of day at which a new report will be generated, represented as minutes past midnight. Range is 0 to 1439. Only applies to scheduled reports. */ + nextRunMinuteOfDay?: number; + /** Canonical timezone code for report generation time. Defaults to America/New_York. */ + nextRunTimezoneCode?: string; + } + interface Report { + /** Key used to identify a report. */ + key?: ReportKey; + /** Report metadata. */ + metadata?: ReportMetadata; + /** Report parameters. */ + params?: Parameters; + } + interface ReportFailure { + /** Error code that shows why the report was not created. */ + errorCode?: string; + } + interface ReportKey { + /** Query ID. */ + queryId?: string; + /** Report ID. */ + reportId?: string; + } + interface ReportMetadata { + /** The path to the location in Google Cloud Storage where the report is stored. */ + googleCloudStoragePath?: string; + /** The ending time for the data that is shown in the report. */ + reportDataEndTimeMs?: string; + /** The starting time for the data that is shown in the report. */ + reportDataStartTimeMs?: string; + /** Report status. */ + status?: ReportStatus; + } + interface ReportStatus { + /** If the report failed, this records the cause. */ + failure?: ReportFailure; + /** The time when this report either completed successfully or failed. */ + finishTimeMs?: string; + /** The file type of the report. */ + format?: string; + /** The state of the report. */ + state?: string; + } + interface RowStatus { + /** Whether the stored entity is changed as a result of upload. */ + changed?: boolean; + /** Entity Id. */ + entityId?: string; + /** Entity name. */ + entityName?: string; + /** Reasons why the entity can't be uploaded. */ + errors?: string[]; + /** Whether the entity is persisted. */ + persisted?: boolean; + /** Row number. */ + rowNumber?: number; + } + interface RunQueryRequest { + /** Report data range used to generate the report. */ + dataRange?: string; + /** The ending time for the data that is shown in the report. Note, reportDataEndTimeMs is required if dataRange is CUSTOM_DATES and ignored otherwise. */ + reportDataEndTimeMs?: string; + /** The starting time for the data that is shown in the report. Note, reportDataStartTimeMs is required if dataRange is CUSTOM_DATES and ignored otherwise. */ + reportDataStartTimeMs?: string; + /** Canonical timezone code for report data time. Defaults to America/New_York. */ + timezoneCode?: string; + } + interface UploadLineItemsRequest { + /** Set to true to get upload status without actually persisting the line items. */ + dryRun?: boolean; + /** Format the line items are in. Default to CSV. */ + format?: string; + /** Line items in CSV to upload. Refer to Entity Write File Format for more information on file format. */ + lineItems?: string; + } + interface UploadLineItemsResponse { + /** Status of upload. */ + uploadStatus?: UploadStatus; + } + interface UploadStatus { + /** Reasons why upload can't be completed. */ + errors?: string[]; + /** Per-row upload status. */ + rowStatus?: RowStatus[]; + } + interface LineitemsResource { + /** Retrieves line items in CSV format. */ + downloadlineitems(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DownloadLineItemsResponse>; + /** Uploads line items in CSV format. */ + uploadlineitems(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UploadLineItemsResponse>; + } + interface QueriesResource { + /** Creates a query. */ + createquery(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Query>; + /** Deletes a stored query as well as the associated stored reports. */ + deletequery(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Query ID to delete. */ + queryId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves a stored query. */ + getquery(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Query ID to retrieve. */ + queryId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Query>; + /** Retrieves stored queries. */ + listqueries(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListQueriesResponse>; + /** Runs a stored query to generate a report. */ + runquery(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Query ID to run. */ + queryId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface ReportsResource { + /** Retrieves stored reports. */ + listreports(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Query ID with which the reports are associated. */ + queryId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListReportsResponse>; + } + interface SdfResource { + /** Retrieves entities in SDF format. */ + download(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DownloadResponse>; + } + } +} diff --git a/types/gapi.client.doubleclickbidmanager/readme.md b/types/gapi.client.doubleclickbidmanager/readme.md new file mode 100644 index 0000000000..cdb82d9f8f --- /dev/null +++ b/types/gapi.client.doubleclickbidmanager/readme.md @@ -0,0 +1,99 @@ +# TypeScript typings for DoubleClick Bid Manager API v1 +API for viewing and managing your reports in DoubleClick Bid Manager. +For detailed description please check [documentation](https://developers.google.com/bid-manager/). + +## Installing + +Install typings for DoubleClick Bid Manager API: +``` +npm install @types/gapi.client.doubleclickbidmanager@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('doubleclickbidmanager', 'v1', () => { + // now we can use gapi.client.doubleclickbidmanager + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your reports in DoubleClick Bid Manager + 'https://www.googleapis.com/auth/doubleclickbidmanager', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use DoubleClick Bid Manager API resources: + +```typescript + +/* +Retrieves line items in CSV format. +*/ +await gapi.client.lineitems.downloadlineitems({ }); + +/* +Uploads line items in CSV format. +*/ +await gapi.client.lineitems.uploadlineitems({ }); + +/* +Creates a query. +*/ +await gapi.client.queries.createquery({ }); + +/* +Deletes a stored query as well as the associated stored reports. +*/ +await gapi.client.queries.deletequery({ queryId: "queryId", }); + +/* +Retrieves a stored query. +*/ +await gapi.client.queries.getquery({ queryId: "queryId", }); + +/* +Retrieves stored queries. +*/ +await gapi.client.queries.listqueries({ }); + +/* +Runs a stored query to generate a report. +*/ +await gapi.client.queries.runquery({ queryId: "queryId", }); + +/* +Retrieves stored reports. +*/ +await gapi.client.reports.listreports({ queryId: "queryId", }); + +/* +Retrieves entities in SDF format. +*/ +await gapi.client.sdf.download({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.doubleclickbidmanager/tsconfig.json b/types/gapi.client.doubleclickbidmanager/tsconfig.json new file mode 100644 index 0000000000..1e00b8c904 --- /dev/null +++ b/types/gapi.client.doubleclickbidmanager/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.doubleclickbidmanager-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.doubleclickbidmanager/tslint.json b/types/gapi.client.doubleclickbidmanager/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.doubleclickbidmanager/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.doubleclicksearch/gapi.client.doubleclicksearch-tests.ts b/types/gapi.client.doubleclicksearch/gapi.client.doubleclicksearch-tests.ts new file mode 100644 index 0000000000..14dc6b1fb6 --- /dev/null +++ b/types/gapi.client.doubleclicksearch/gapi.client.doubleclicksearch-tests.ts @@ -0,0 +1,85 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('doubleclicksearch', 'v2', () => { + /** now we can use gapi.client.doubleclicksearch */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your advertising data in DoubleClick Search */ + 'https://www.googleapis.com/auth/doubleclicksearch', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Retrieves a list of conversions from a DoubleClick Search engine account. */ + await gapi.client.conversion.get({ + adGroupId: "adGroupId", + adId: "adId", + advertiserId: "advertiserId", + agencyId: "agencyId", + campaignId: "campaignId", + criterionId: "criterionId", + endDate: 7, + engineAccountId: "engineAccountId", + rowCount: 9, + startDate: 10, + startRow: 11, + }); + /** Inserts a batch of new conversions into DoubleClick Search. */ + await gapi.client.conversion.insert({ + }); + /** Updates a batch of conversions in DoubleClick Search. This method supports patch semantics. */ + await gapi.client.conversion.patch({ + advertiserId: "advertiserId", + agencyId: "agencyId", + endDate: 3, + engineAccountId: "engineAccountId", + rowCount: 5, + startDate: 6, + startRow: 7, + }); + /** Updates a batch of conversions in DoubleClick Search. */ + await gapi.client.conversion.update({ + }); + /** Updates the availabilities of a batch of floodlight activities in DoubleClick Search. */ + await gapi.client.conversion.updateAvailability({ + }); + /** Generates and returns a report immediately. */ + await gapi.client.reports.generate({ + }); + /** Polls for the status of a report request. */ + await gapi.client.reports.get({ + reportId: "reportId", + }); + /** Downloads a report file encoded in UTF-8. */ + await gapi.client.reports.getFile({ + reportFragment: 1, + reportId: "reportId", + }); + /** Inserts a report request into the reporting system. */ + await gapi.client.reports.request({ + }); + /** Retrieve the list of saved columns for a specified advertiser. */ + await gapi.client.savedColumns.list({ + advertiserId: "advertiserId", + agencyId: "agencyId", + }); + } +}); diff --git a/types/gapi.client.doubleclicksearch/index.d.ts b/types/gapi.client.doubleclicksearch/index.d.ts new file mode 100644 index 0000000000..f1e0a69436 --- /dev/null +++ b/types/gapi.client.doubleclicksearch/index.d.ts @@ -0,0 +1,578 @@ +// Type definitions for Google DoubleClick Search API v2 2.0 +// Project: https://developers.google.com/doubleclick-search/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/doubleclicksearch/v2/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load DoubleClick Search API v2 */ + function load(name: "doubleclicksearch", version: "v2"): PromiseLike<void>; + function load(name: "doubleclicksearch", version: "v2", callback: () => any): void; + + const conversion: doubleclicksearch.ConversionResource; + + const reports: doubleclicksearch.ReportsResource; + + const savedColumns: doubleclicksearch.SavedColumnsResource; + + namespace doubleclicksearch { + interface Availability { + /** DS advertiser ID. */ + advertiserId?: string; + /** DS agency ID. */ + agencyId?: string; + /** The time by which all conversions have been uploaded, in epoch millis UTC. */ + availabilityTimestamp?: string; + /** The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). */ + segmentationId?: string; + /** The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). */ + segmentationName?: string; + /** The segmentation type that this availability is for (its default value is FLOODLIGHT). */ + segmentationType?: string; + } + interface Conversion { + /** DS ad group ID. */ + adGroupId?: string; + /** DS ad ID. */ + adId?: string; + /** DS advertiser ID. */ + advertiserId?: string; + /** DS agency ID. */ + agencyId?: string; + /** Available to advertisers only after contacting DoubleClick Search customer support. */ + attributionModel?: string; + /** DS campaign ID. */ + campaignId?: string; + /** + * Sales channel for the product. Acceptable values are: + * - "local": a physical store + * - "online": an online store + */ + channel?: string; + /** DS click ID for the conversion. */ + clickId?: string; + /** + * For offline conversions, advertisers provide this ID. Advertisers can specify any ID that is meaningful to them. Each conversion in a request must + * specify a unique ID, and the combination of ID and timestamp must be unique amongst all conversions within the advertiser. + * For online conversions, DS copies the dsConversionId or floodlightOrderId into this property depending on the advertiser's Floodlight instructions. + */ + conversionId?: string; + /** The time at which the conversion was last modified, in epoch millis UTC. */ + conversionModifiedTimestamp?: string; + /** The time at which the conversion took place, in epoch millis UTC. */ + conversionTimestamp?: string; + /** Available to advertisers only after contacting DoubleClick Search customer support. */ + countMillis?: string; + /** DS criterion (keyword) ID. */ + criterionId?: string; + /** The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. */ + currencyCode?: string; + /** Custom dimensions for the conversion, which can be used to filter data in a report. */ + customDimension?: CustomDimension[]; + /** Custom metrics for the conversion. */ + customMetric?: CustomMetric[]; + /** The type of device on which the conversion occurred. */ + deviceType?: string; + /** ID that DoubleClick Search generates for each conversion. */ + dsConversionId?: string; + /** DS engine account ID. */ + engineAccountId?: string; + /** The Floodlight order ID provided by the advertiser for the conversion. */ + floodlightOrderId?: string; + /** ID that DS generates and uses to uniquely identify the inventory account that contains the product. */ + inventoryAccountId?: string; + /** The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country. */ + productCountry?: string; + /** DS product group ID. */ + productGroupId?: string; + /** The product ID (SKU). */ + productId?: string; + /** The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language. */ + productLanguage?: string; + /** The quantity of this conversion, in millis. */ + quantityMillis?: string; + /** + * The revenue amount of this TRANSACTION conversion, in micros (value multiplied by 1000000, no decimal). For example, to specify a revenue value of "10" + * enter "10000000" (10 million) in your request. + */ + revenueMicros?: string; + /** The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). */ + segmentationId?: string; + /** The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). */ + segmentationName?: string; + /** The segmentation type of this conversion (for example, FLOODLIGHT). */ + segmentationType?: string; + /** The state of the conversion, that is, either ACTIVE or REMOVED. Note: state DELETED is deprecated. */ + state?: string; + /** The ID of the local store for which the product was advertised. Applicable only when the channel is "local". */ + storeId?: string; + /** + * The type of the conversion, that is, either ACTION or TRANSACTION. An ACTION conversion is an action by the user that has no monetarily quantifiable + * value, while a TRANSACTION conversion is an action that does have a monetarily quantifiable value. Examples are email list signups (ACTION) versus + * ecommerce purchases (TRANSACTION). + */ + type?: string; + } + interface ConversionList { + /** The conversions being requested. */ + conversion?: Conversion[]; + /** Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. */ + kind?: string; + } + interface CustomDimension { + /** Custom dimension name. */ + name?: string; + /** Custom dimension value. */ + value?: string; + } + interface CustomMetric { + /** Custom metric name. */ + name?: string; + /** Custom metric numeric value. */ + value?: number; + } + interface Report { + /** Asynchronous report only. Contains a list of generated report files once the report has succesfully completed. */ + files?: Array<{ + /** The size of this report file in bytes. */ + byteCount?: string; + /** Use this url to download the report file. */ + url?: string; + }>; + /** Asynchronous report only. Id of the report. */ + id?: string; + /** Asynchronous report only. True if and only if the report has completed successfully and the report files are ready to be downloaded. */ + isReportReady?: boolean; + /** Identifies this as a Report resource. Value: the fixed string doubleclicksearch#report. */ + kind?: string; + /** The request that created the report. Optional fields not specified in the original request are filled with default values. */ + request?: ReportRequest; + /** The number of report rows generated by the report, not including headers. */ + rowCount?: number; + /** Synchronous report only. Generated report rows. */ + rows?: ReportRow[]; + /** + * The currency code of all monetary values produced in the report, including values that are set by users (e.g., keyword bid settings) and metrics (e.g., + * cost and revenue). The currency code of a report is determined by the statisticsCurrency field of the report request. + */ + statisticsCurrencyCode?: string; + /** If all statistics of the report are sourced from the same time zone, this would be it. Otherwise the field is unset. */ + statisticsTimeZone?: string; + } + interface ReportApiColumnSpec { + /** Name of a DoubleClick Search column to include in the report. */ + columnName?: string; + /** + * Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in + * DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive. + * If used in a conversion report, returns the value of the specified custom dimension for the given conversion, if set. This column does not segment the + * conversion report. + */ + customDimensionName?: string; + /** + * Name of a custom metric to include in the report. The report must be scoped to an advertiser or lower, and the custom metric must already be set up in + * DoubleClick Search. The custom metric name, which appears in DoubleClick Search, is case sensitive. + */ + customMetricName?: string; + /** + * Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together + * with startDate. + */ + endDate?: string; + /** Synchronous report only. Set to true to group by this column. Defaults to false. */ + groupByColumn?: boolean; + /** + * Text used to identify this column in the report output; defaults to columnName or savedColumnName when not specified. This can be used to prevent + * collisions between DoubleClick Search columns and saved columns with the same name. + */ + headerText?: string; + /** The platform that is used to provide data for the custom dimension. Acceptable values are "floodlight". */ + platformSource?: string; + /** + * Returns metrics only for a specific type of product activity. Accepted values are: + * - "sold": returns metrics only for products that were sold + * - "advertised": returns metrics only for products that were advertised in a Shopping campaign, and that might or might not have been sold + */ + productReportPerspective?: string; + /** + * Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the + * DoubleClick Search UI. + */ + savedColumnName?: string; + /** + * Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together + * with endDate. + */ + startDate?: string; + } + interface ReportRequest { + /** + * The columns to include in the report. This includes both DoubleClick Search columns and saved columns. For DoubleClick Search columns, only the + * columnName parameter is required. For saved columns only the savedColumnName parameter is required. Both columnName and savedColumnName cannot be set + * in the same stanza. + */ + columns?: ReportApiColumnSpec[]; + /** Format that the report should be returned in. Currently csv or tsv is supported. */ + downloadFormat?: string; + /** A list of filters to be applied to the report. */ + filters?: Array<{ + /** Column to perform the filter on. This can be a DoubleClick Search column or a saved column. */ + column?: ReportApiColumnSpec; + /** Operator to use in the filter. See the filter reference for a list of available operators. */ + operator?: string; + /** A list of values to filter the column value against. */ + values?: any[]; + }>; + /** Determines if removed entities should be included in the report. Defaults to false. Deprecated, please use includeRemovedEntities instead. */ + includeDeletedEntities?: boolean; + /** Determines if removed entities should be included in the report. Defaults to false. */ + includeRemovedEntities?: boolean; + /** + * Asynchronous report only. The maximum number of rows per report file. A large report is split into many files based on this field. Acceptable values + * are 1000000 to 100000000, inclusive. + */ + maxRowsPerFile?: number; + /** Synchronous report only. A list of columns and directions defining sorting to be performed on the report rows. */ + orderBy?: Array<{ + /** Column to perform the sort on. This can be a DoubleClick Search-defined column or a saved column. */ + column?: ReportApiColumnSpec; + /** The sort direction, which is either ascending or descending. */ + sortOrder?: string; + }>; + /** + * The reportScope is a set of IDs that are used to determine which subset of entities will be returned in the report. The full lineage of IDs from the + * lowest scoped level desired up through agency is required. + */ + reportScope?: { + /** DS ad group ID. */ + adGroupId?: string; + /** DS ad ID. */ + adId?: string; + /** DS advertiser ID. */ + advertiserId?: string; + /** DS agency ID. */ + agencyId?: string; + /** DS campaign ID. */ + campaignId?: string; + /** DS engine account ID. */ + engineAccountId?: string; + /** DS keyword ID. */ + keywordId?: string; + }; + /** + * Determines the type of rows that are returned in the report. For example, if you specify reportType: keyword, each row in the report will contain data + * about a keyword. See the Types of Reports reference for the columns that are available for each type. + */ + reportType?: string; + /** + * Synchronous report only. The maxinum number of rows to return; additional rows are dropped. Acceptable values are 0 to 10000, inclusive. Defaults to + * 10000. + */ + rowCount?: number; + /** Synchronous report only. Zero-based index of the first row to return. Acceptable values are 0 to 50000, inclusive. Defaults to 0. */ + startRow?: number; + /** + * Specifies the currency in which monetary will be returned. Possible values are: usd, agency (valid if the report is scoped to agency or lower), + * advertiser (valid if the report is scoped to * advertiser or lower), or account (valid if the report is scoped to engine account or lower). + */ + statisticsCurrency?: string; + /** If metrics are requested in a report, this argument will be used to restrict the metrics to a specific time range. */ + timeRange?: { + /** Inclusive UTC timestamp in RFC format, e.g., 2013-07-16T10:16:23.555Z. See additional references on how changed attribute reports work. */ + changedAttributesSinceTimestamp?: string; + /** Inclusive UTC timestamp in RFC format, e.g., 2013-07-16T10:16:23.555Z. See additional references on how changed metrics reports work. */ + changedMetricsSinceTimestamp?: string; + /** Inclusive date in YYYY-MM-DD format. */ + endDate?: string; + /** Inclusive date in YYYY-MM-DD format. */ + startDate?: string; + }; + /** If true, the report would only be created if all the requested stat data are sourced from a single timezone. Defaults to false. */ + verifySingleTimeZone?: boolean; + } + interface ReportRow { + [key: string]: any; + } + interface SavedColumn { + /** Identifies this as a SavedColumn resource. Value: the fixed string doubleclicksearch#savedColumn. */ + kind?: string; + /** The name of the saved column. */ + savedColumnName?: string; + /** The type of data this saved column will produce. */ + type?: string; + } + interface SavedColumnList { + /** The saved columns being requested. */ + items?: SavedColumn[]; + /** Identifies this as a SavedColumnList resource. Value: the fixed string doubleclicksearch#savedColumnList. */ + kind?: string; + } + interface UpdateAvailabilityRequest { + /** The availabilities being requested. */ + availabilities?: Availability[]; + } + interface UpdateAvailabilityResponse { + /** The availabilities being returned. */ + availabilities?: Availability[]; + } + interface ConversionResource { + /** Retrieves a list of conversions from a DoubleClick Search engine account. */ + get(request: { + /** Numeric ID of the ad group. */ + adGroupId?: string; + /** Numeric ID of the ad. */ + adId?: string; + /** Numeric ID of the advertiser. */ + advertiserId: string; + /** Numeric ID of the agency. */ + agencyId: string; + /** Data format for the response. */ + alt?: string; + /** Numeric ID of the campaign. */ + campaignId?: string; + /** Numeric ID of the criterion. */ + criterionId?: string; + /** Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd. */ + endDate: number; + /** Numeric ID of the engine account. */ + engineAccountId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The number of conversions to return per call. */ + rowCount: number; + /** First date (inclusive) on which to retrieve conversions. Format is yyyymmdd. */ + startDate: number; + /** The 0-based starting index for retrieving conversions results. */ + startRow: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ConversionList>; + /** Inserts a batch of new conversions into DoubleClick Search. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ConversionList>; + /** Updates a batch of conversions in DoubleClick Search. This method supports patch semantics. */ + patch(request: { + /** Numeric ID of the advertiser. */ + advertiserId: string; + /** Numeric ID of the agency. */ + agencyId: string; + /** Data format for the response. */ + alt?: string; + /** Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd. */ + endDate: number; + /** Numeric ID of the engine account. */ + engineAccountId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The number of conversions to return per call. */ + rowCount: number; + /** First date (inclusive) on which to retrieve conversions. Format is yyyymmdd. */ + startDate: number; + /** The 0-based starting index for retrieving conversions results. */ + startRow: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ConversionList>; + /** Updates a batch of conversions in DoubleClick Search. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ConversionList>; + /** Updates the availabilities of a batch of floodlight activities in DoubleClick Search. */ + updateAvailability(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UpdateAvailabilityResponse>; + } + interface ReportsResource { + /** Generates and returns a report immediately. */ + generate(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Report>; + /** Polls for the status of a report request. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** ID of the report request being polled. */ + reportId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Report>; + /** Downloads a report file encoded in UTF-8. */ + getFile(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The index of the report fragment to download. */ + reportFragment: number; + /** ID of the report. */ + reportId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Inserts a report request into the reporting system. */ + request(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Report>; + } + interface SavedColumnsResource { + /** Retrieve the list of saved columns for a specified advertiser. */ + list(request: { + /** DS ID of the advertiser. */ + advertiserId: string; + /** DS ID of the agency. */ + agencyId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SavedColumnList>; + } + } +} diff --git a/types/gapi.client.doubleclicksearch/readme.md b/types/gapi.client.doubleclicksearch/readme.md new file mode 100644 index 0000000000..5889f83d22 --- /dev/null +++ b/types/gapi.client.doubleclicksearch/readme.md @@ -0,0 +1,104 @@ +# TypeScript typings for DoubleClick Search API v2 +Reports and modifies your advertising data in DoubleClick Search (for example, campaigns, ad groups, keywords, and conversions). +For detailed description please check [documentation](https://developers.google.com/doubleclick-search/). + +## Installing + +Install typings for DoubleClick Search API: +``` +npm install @types/gapi.client.doubleclicksearch@v2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('doubleclicksearch', 'v2', () => { + // now we can use gapi.client.doubleclicksearch + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your advertising data in DoubleClick Search + 'https://www.googleapis.com/auth/doubleclicksearch', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use DoubleClick Search API resources: + +```typescript + +/* +Retrieves a list of conversions from a DoubleClick Search engine account. +*/ +await gapi.client.conversion.get({ advertiserId: "advertiserId", agencyId: "agencyId", endDate: 1, engineAccountId: "engineAccountId", rowCount: 1, startDate: 1, startRow: 1, }); + +/* +Inserts a batch of new conversions into DoubleClick Search. +*/ +await gapi.client.conversion.insert({ }); + +/* +Updates a batch of conversions in DoubleClick Search. This method supports patch semantics. +*/ +await gapi.client.conversion.patch({ advertiserId: "advertiserId", agencyId: "agencyId", endDate: 1, engineAccountId: "engineAccountId", rowCount: 1, startDate: 1, startRow: 1, }); + +/* +Updates a batch of conversions in DoubleClick Search. +*/ +await gapi.client.conversion.update({ }); + +/* +Updates the availabilities of a batch of floodlight activities in DoubleClick Search. +*/ +await gapi.client.conversion.updateAvailability({ }); + +/* +Generates and returns a report immediately. +*/ +await gapi.client.reports.generate({ }); + +/* +Polls for the status of a report request. +*/ +await gapi.client.reports.get({ reportId: "reportId", }); + +/* +Downloads a report file encoded in UTF-8. +*/ +await gapi.client.reports.getFile({ reportFragment: 1, reportId: "reportId", }); + +/* +Inserts a report request into the reporting system. +*/ +await gapi.client.reports.request({ }); + +/* +Retrieve the list of saved columns for a specified advertiser. +*/ +await gapi.client.savedColumns.list({ advertiserId: "advertiserId", agencyId: "agencyId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.doubleclicksearch/tsconfig.json b/types/gapi.client.doubleclicksearch/tsconfig.json new file mode 100644 index 0000000000..fb0d0a44bd --- /dev/null +++ b/types/gapi.client.doubleclicksearch/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.doubleclicksearch-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.doubleclicksearch/tslint.json b/types/gapi.client.doubleclicksearch/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.doubleclicksearch/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.drive/gapi.client.drive-tests.ts b/types/gapi.client.drive/gapi.client.drive-tests.ts new file mode 100644 index 0000000000..f9fa0ce332 --- /dev/null +++ b/types/gapi.client.drive/gapi.client.drive-tests.ts @@ -0,0 +1,291 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('drive', 'v3', () => { + /** now we can use gapi.client.drive */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage the files in your Google Drive */ + 'https://www.googleapis.com/auth/drive', + /** View and manage its own configuration data in your Google Drive */ + 'https://www.googleapis.com/auth/drive.appdata', + /** View and manage Google Drive files and folders that you have opened or created with this app */ + 'https://www.googleapis.com/auth/drive.file', + /** View and manage metadata of files in your Google Drive */ + 'https://www.googleapis.com/auth/drive.metadata', + /** View metadata for files in your Google Drive */ + 'https://www.googleapis.com/auth/drive.metadata.readonly', + /** View the photos, videos and albums in your Google Photos */ + 'https://www.googleapis.com/auth/drive.photos.readonly', + /** View the files in your Google Drive */ + 'https://www.googleapis.com/auth/drive.readonly', + /** Modify your Google Apps Script scripts' behavior */ + 'https://www.googleapis.com/auth/drive.scripts', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Gets information about the user, the user's Drive, and system capabilities. */ + await gapi.client.about.get({ + }); + /** Gets the starting pageToken for listing future changes. */ + await gapi.client.changes.getStartPageToken({ + supportsTeamDrives: true, + teamDriveId: "teamDriveId", + }); + /** Lists the changes for a user or Team Drive. */ + await gapi.client.changes.list({ + includeCorpusRemovals: true, + includeRemoved: true, + includeTeamDriveItems: true, + pageSize: 4, + pageToken: "pageToken", + restrictToMyDrive: true, + spaces: "spaces", + supportsTeamDrives: true, + teamDriveId: "teamDriveId", + }); + /** Subscribes to changes for a user. */ + await gapi.client.changes.watch({ + includeCorpusRemovals: true, + includeRemoved: true, + includeTeamDriveItems: true, + pageSize: 4, + pageToken: "pageToken", + restrictToMyDrive: true, + spaces: "spaces", + supportsTeamDrives: true, + teamDriveId: "teamDriveId", + }); + /** Stop watching resources through this channel */ + await gapi.client.channels.stop({ + }); + /** Creates a new comment on a file. */ + await gapi.client.comments.create({ + fileId: "fileId", + }); + /** Deletes a comment. */ + await gapi.client.comments.delete({ + commentId: "commentId", + fileId: "fileId", + }); + /** Gets a comment by ID. */ + await gapi.client.comments.get({ + commentId: "commentId", + fileId: "fileId", + includeDeleted: true, + }); + /** Lists a file's comments. */ + await gapi.client.comments.list({ + fileId: "fileId", + includeDeleted: true, + pageSize: 3, + pageToken: "pageToken", + startModifiedTime: "startModifiedTime", + }); + /** Updates a comment with patch semantics. */ + await gapi.client.comments.update({ + commentId: "commentId", + fileId: "fileId", + }); + /** Creates a copy of a file and applies any requested updates with patch semantics. */ + await gapi.client.files.copy({ + fileId: "fileId", + ignoreDefaultVisibility: true, + keepRevisionForever: true, + ocrLanguage: "ocrLanguage", + supportsTeamDrives: true, + }); + /** Creates a new file. */ + await gapi.client.files.create({ + ignoreDefaultVisibility: true, + keepRevisionForever: true, + ocrLanguage: "ocrLanguage", + supportsTeamDrives: true, + useContentAsIndexableText: true, + }); + /** + * Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a Team Drive the user must be an organizer on the + * parent. If the target is a folder, all descendants owned by the user are also deleted. + */ + await gapi.client.files.delete({ + fileId: "fileId", + supportsTeamDrives: true, + }); + /** Permanently deletes all of the user's trashed files. */ + await gapi.client.files.emptyTrash({ + }); + /** Exports a Google Doc to the requested MIME type and returns the exported content. Please note that the exported content is limited to 10MB. */ + await gapi.client.files.export({ + fileId: "fileId", + mimeType: "mimeType", + }); + /** Generates a set of file IDs which can be provided in create requests. */ + await gapi.client.files.generateIds({ + count: 1, + space: "space", + }); + /** Gets a file's metadata or content by ID. */ + await gapi.client.files.get({ + acknowledgeAbuse: true, + fileId: "fileId", + supportsTeamDrives: true, + }); + /** Lists or searches files. */ + await gapi.client.files.list({ + corpora: "corpora", + corpus: "corpus", + includeTeamDriveItems: true, + orderBy: "orderBy", + pageSize: 5, + pageToken: "pageToken", + q: "q", + spaces: "spaces", + supportsTeamDrives: true, + teamDriveId: "teamDriveId", + }); + /** Updates a file's metadata and/or content with patch semantics. */ + await gapi.client.files.update({ + addParents: "addParents", + fileId: "fileId", + keepRevisionForever: true, + ocrLanguage: "ocrLanguage", + removeParents: "removeParents", + supportsTeamDrives: true, + useContentAsIndexableText: true, + }); + /** Subscribes to changes to a file */ + await gapi.client.files.watch({ + acknowledgeAbuse: true, + fileId: "fileId", + supportsTeamDrives: true, + }); + /** Creates a permission for a file or Team Drive. */ + await gapi.client.permissions.create({ + emailMessage: "emailMessage", + fileId: "fileId", + sendNotificationEmail: true, + supportsTeamDrives: true, + transferOwnership: true, + }); + /** Deletes a permission. */ + await gapi.client.permissions.delete({ + fileId: "fileId", + permissionId: "permissionId", + supportsTeamDrives: true, + }); + /** Gets a permission by ID. */ + await gapi.client.permissions.get({ + fileId: "fileId", + permissionId: "permissionId", + supportsTeamDrives: true, + }); + /** Lists a file's or Team Drive's permissions. */ + await gapi.client.permissions.list({ + fileId: "fileId", + pageSize: 2, + pageToken: "pageToken", + supportsTeamDrives: true, + }); + /** Updates a permission with patch semantics. */ + await gapi.client.permissions.update({ + fileId: "fileId", + permissionId: "permissionId", + removeExpiration: true, + supportsTeamDrives: true, + transferOwnership: true, + }); + /** Creates a new reply to a comment. */ + await gapi.client.replies.create({ + commentId: "commentId", + fileId: "fileId", + }); + /** Deletes a reply. */ + await gapi.client.replies.delete({ + commentId: "commentId", + fileId: "fileId", + replyId: "replyId", + }); + /** Gets a reply by ID. */ + await gapi.client.replies.get({ + commentId: "commentId", + fileId: "fileId", + includeDeleted: true, + replyId: "replyId", + }); + /** Lists a comment's replies. */ + await gapi.client.replies.list({ + commentId: "commentId", + fileId: "fileId", + includeDeleted: true, + pageSize: 4, + pageToken: "pageToken", + }); + /** Updates a reply with patch semantics. */ + await gapi.client.replies.update({ + commentId: "commentId", + fileId: "fileId", + replyId: "replyId", + }); + /** Permanently deletes a revision. This method is only applicable to files with binary content in Drive. */ + await gapi.client.revisions.delete({ + fileId: "fileId", + revisionId: "revisionId", + }); + /** Gets a revision's metadata or content by ID. */ + await gapi.client.revisions.get({ + acknowledgeAbuse: true, + fileId: "fileId", + revisionId: "revisionId", + }); + /** Lists a file's revisions. */ + await gapi.client.revisions.list({ + fileId: "fileId", + pageSize: 2, + pageToken: "pageToken", + }); + /** Updates a revision with patch semantics. */ + await gapi.client.revisions.update({ + fileId: "fileId", + revisionId: "revisionId", + }); + /** Creates a new Team Drive. */ + await gapi.client.teamdrives.create({ + requestId: "requestId", + }); + /** Permanently deletes a Team Drive for which the user is an organizer. The Team Drive cannot contain any untrashed items. */ + await gapi.client.teamdrives.delete({ + teamDriveId: "teamDriveId", + }); + /** Gets a Team Drive's metadata by ID. */ + await gapi.client.teamdrives.get({ + teamDriveId: "teamDriveId", + }); + /** Lists the user's Team Drives. */ + await gapi.client.teamdrives.list({ + pageSize: 1, + pageToken: "pageToken", + }); + /** Updates a Team Drive's metadata */ + await gapi.client.teamdrives.update({ + teamDriveId: "teamDriveId", + }); + } +}); diff --git a/types/gapi.client.drive/index.d.ts b/types/gapi.client.drive/index.d.ts new file mode 100644 index 0000000000..7004e2c0bb --- /dev/null +++ b/types/gapi.client.drive/index.d.ts @@ -0,0 +1,1831 @@ +// Type definitions for Google Drive API v3 3.0 +// Project: https://developers.google.com/drive/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/drive/v3/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Drive API v3 */ + function load(name: "drive", version: "v3"): PromiseLike<void>; + function load(name: "drive", version: "v3", callback: () => any): void; + + const about: drive.AboutResource; + + const changes: drive.ChangesResource; + + const channels: drive.ChannelsResource; + + const comments: drive.CommentsResource; + + const files: drive.FilesResource; + + const permissions: drive.PermissionsResource; + + const replies: drive.RepliesResource; + + const revisions: drive.RevisionsResource; + + const teamdrives: drive.TeamdrivesResource; + + namespace drive { + interface About { + /** Whether the user has installed the requesting app. */ + appInstalled?: boolean; + /** A map of source MIME type to possible targets for all supported exports. */ + exportFormats?: Record<string, string[]>; + /** The currently supported folder colors as RGB hex strings. */ + folderColorPalette?: string[]; + /** A map of source MIME type to possible targets for all supported imports. */ + importFormats?: Record<string, string[]>; + /** Identifies what kind of resource this is. Value: the fixed string "drive#about". */ + kind?: string; + /** A map of maximum import sizes by MIME type, in bytes. */ + maxImportSizes?: Record<string, string>; + /** The maximum upload size in bytes. */ + maxUploadSize?: string; + /** The user's storage quota limits and usage. All fields are measured in bytes. */ + storageQuota?: { + /** The usage limit, if applicable. This will not be present if the user has unlimited storage. */ + limit?: string; + /** The total usage across all services. */ + usage?: string; + /** The usage by all files in Google Drive. */ + usageInDrive?: string; + /** The usage by trashed files in Google Drive. */ + usageInDriveTrash?: string; + }; + /** A list of themes that are supported for Team Drives. */ + teamDriveThemes?: Array<{ + /** A link to this Team Drive theme's background image. */ + backgroundImageLink?: string; + /** The color of this Team Drive theme as an RGB hex string. */ + colorRgb?: string; + /** The ID of the theme. */ + id?: string; + }>; + /** The authenticated user. */ + user?: User; + } + interface Change { + /** The updated state of the file. Present if the type is file and the file has not been removed from this list of changes. */ + file?: File; + /** The ID of the file which has changed. */ + fileId?: string; + /** Identifies what kind of resource this is. Value: the fixed string "drive#change". */ + kind?: string; + /** Whether the file or Team Drive has been removed from this list of changes, for example by deletion or loss of access. */ + removed?: boolean; + /** + * The updated state of the Team Drive. Present if the type is teamDrive, the user is still a member of the Team Drive, and the Team Drive has not been + * removed. + */ + teamDrive?: TeamDrive; + /** The ID of the Team Drive associated with this change. */ + teamDriveId?: string; + /** The time of this change (RFC 3339 date-time). */ + time?: string; + /** The type of the change. Possible values are file and teamDrive. */ + type?: string; + } + interface ChangeList { + /** The list of changes. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. */ + changes?: Change[]; + /** Identifies what kind of resource this is. Value: the fixed string "drive#changeList". */ + kind?: string; + /** The starting page token for future changes. This will be present only if the end of the current changes list has been reached. */ + newStartPageToken?: string; + /** + * The page token for the next page of changes. This will be absent if the end of the changes list has been reached. If the token is rejected for any + * reason, it should be discarded, and pagination should be restarted from the first page of results. + */ + nextPageToken?: string; + } + interface Channel { + /** The address where notifications are delivered for this channel. */ + address?: string; + /** Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional. */ + expiration?: string; + /** A UUID or similar unique string that identifies this channel. */ + id?: string; + /** Identifies this as a notification channel used to watch for changes to a resource. Value: the fixed string "api#channel". */ + kind?: string; + /** Additional parameters controlling delivery channel behavior. Optional. */ + params?: Record<string, string>; + /** A Boolean value to indicate whether payload is wanted. Optional. */ + payload?: boolean; + /** An opaque ID that identifies the resource being watched on this channel. Stable across different API versions. */ + resourceId?: string; + /** A version-specific identifier for the watched resource. */ + resourceUri?: string; + /** An arbitrary string delivered to the target address with each notification delivered over this channel. Optional. */ + token?: string; + /** The type of delivery mechanism used for this channel. */ + type?: string; + } + interface Comment { + /** A region of the document represented as a JSON string. See anchor documentation for details on how to define and interpret anchor properties. */ + anchor?: string; + /** The user who created the comment. */ + author?: User; + /** The plain text content of the comment. This field is used for setting the content, while htmlContent should be displayed. */ + content?: string; + /** The time at which the comment was created (RFC 3339 date-time). */ + createdTime?: string; + /** Whether the comment has been deleted. A deleted comment has no content. */ + deleted?: boolean; + /** The content of the comment with HTML formatting. */ + htmlContent?: string; + /** The ID of the comment. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "drive#comment". */ + kind?: string; + /** The last time the comment or any of its replies was modified (RFC 3339 date-time). */ + modifiedTime?: string; + /** + * The file content to which the comment refers, typically within the anchor region. For a text file, for example, this would be the text at the location + * of the comment. + */ + quotedFileContent?: { + /** The MIME type of the quoted content. */ + mimeType?: string; + /** The quoted content itself. This is interpreted as plain text if set through the API. */ + value?: string; + }; + /** The full list of replies to the comment in chronological order. */ + replies?: Reply[]; + /** Whether the comment has been resolved by one of its replies. */ + resolved?: boolean; + } + interface CommentList { + /** The list of comments. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. */ + comments?: Comment[]; + /** Identifies what kind of resource this is. Value: the fixed string "drive#commentList". */ + kind?: string; + /** + * The page token for the next page of comments. This will be absent if the end of the comments list has been reached. If the token is rejected for any + * reason, it should be discarded, and pagination should be restarted from the first page of results. + */ + nextPageToken?: string; + } + interface File { + /** + * A collection of arbitrary key-value pairs which are private to the requesting app. + * Entries with null values are cleared in update and copy requests. + */ + appProperties?: Record<string, string>; + /** Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take. */ + capabilities?: { + /** Whether the current user can add children to this folder. This is always false when the item is not a folder. */ + canAddChildren?: boolean; + /** Whether the current user can change whether viewers can copy the contents of this file. */ + canChangeViewersCanCopyContent?: boolean; + /** Whether the current user can comment on this file. */ + canComment?: boolean; + /** + * Whether the current user can copy this file. For a Team Drive item, whether the current user can copy non-folder descendants of this item, or this item + * itself if it is not a folder. + */ + canCopy?: boolean; + /** Whether the current user can delete this file. */ + canDelete?: boolean; + /** Whether the current user can download this file. */ + canDownload?: boolean; + /** Whether the current user can edit this file. */ + canEdit?: boolean; + /** Whether the current user can list the children of this folder. This is always false when the item is not a folder. */ + canListChildren?: boolean; + /** Whether the current user can move this item into a Team Drive. If the item is in a Team Drive, this field is equivalent to canMoveTeamDriveItem. */ + canMoveItemIntoTeamDrive?: boolean; + /** + * Whether the current user can move this Team Drive item by changing its parent. Note that a request to change the parent for this item may still fail + * depending on the new parent that is being added. Only populated for Team Drive files. + */ + canMoveTeamDriveItem?: boolean; + /** + * Whether the current user can read the revisions resource of this file. For a Team Drive item, whether revisions of non-folder descendants of this item, + * or this item itself if it is not a folder, can be read. + */ + canReadRevisions?: boolean; + /** Whether the current user can read the Team Drive to which this file belongs. Only populated for Team Drive files. */ + canReadTeamDrive?: boolean; + /** Whether the current user can remove children from this folder. This is always false when the item is not a folder. */ + canRemoveChildren?: boolean; + /** Whether the current user can rename this file. */ + canRename?: boolean; + /** Whether the current user can modify the sharing settings for this file. */ + canShare?: boolean; + /** Whether the current user can move this file to trash. */ + canTrash?: boolean; + /** Whether the current user can restore this file from trash. */ + canUntrash?: boolean; + }; + /** Additional information about the content of the file. These fields are never populated in responses. */ + contentHints?: { + /** Text to be indexed for the file to improve fullText queries. This is limited to 128KB in length and may contain HTML elements. */ + indexableText?: string; + /** A thumbnail for the file. This will only be used if Drive cannot generate a standard thumbnail. */ + thumbnail?: { + /** The thumbnail data encoded with URL-safe Base64 (RFC 4648 section 5). */ + image?: string; + /** The MIME type of the thumbnail. */ + mimeType?: string; + }; + }; + /** The time at which the file was created (RFC 3339 date-time). */ + createdTime?: string; + /** A short description of the file. */ + description?: string; + /** Whether the file has been explicitly trashed, as opposed to recursively trashed from a parent folder. */ + explicitlyTrashed?: boolean; + /** The final component of fullFileExtension. This is only available for files with binary content in Drive. */ + fileExtension?: string; + /** + * The color for a folder as an RGB hex string. The supported colors are published in the folderColorPalette field of the About resource. + * If an unsupported color is specified, the closest color in the palette will be used instead. + */ + folderColorRgb?: string; + /** + * The full file extension extracted from the name field. May contain multiple concatenated extensions, such as "tar.gz". This is only available for files + * with binary content in Drive. + * This is automatically updated when the name field changes, however it is not cleared if the new name does not contain a valid extension. + */ + fullFileExtension?: string; + /** Whether any users are granted file access directly on this file. This field is only populated for Team Drive files. */ + hasAugmentedPermissions?: boolean; + /** + * Whether this file has a thumbnail. This does not indicate whether the requesting app has access to the thumbnail. To check access, look for the + * presence of the thumbnailLink field. + */ + hasThumbnail?: boolean; + /** The ID of the file's head revision. This is currently only available for files with binary content in Drive. */ + headRevisionId?: string; + /** A static, unauthenticated link to the file's icon. */ + iconLink?: string; + /** The ID of the file. */ + id?: string; + /** Additional metadata about image media, if available. */ + imageMediaMetadata?: { + /** The aperture used to create the photo (f-number). */ + aperture?: number; + /** The make of the camera used to create the photo. */ + cameraMake?: string; + /** The model of the camera used to create the photo. */ + cameraModel?: string; + /** The color space of the photo. */ + colorSpace?: string; + /** The exposure bias of the photo (APEX value). */ + exposureBias?: number; + /** The exposure mode used to create the photo. */ + exposureMode?: string; + /** The length of the exposure, in seconds. */ + exposureTime?: number; + /** Whether a flash was used to create the photo. */ + flashUsed?: boolean; + /** The focal length used to create the photo, in millimeters. */ + focalLength?: number; + /** The height of the image in pixels. */ + height?: number; + /** The ISO speed used to create the photo. */ + isoSpeed?: number; + /** The lens used to create the photo. */ + lens?: string; + /** Geographic location information stored in the image. */ + location?: { + /** The altitude stored in the image. */ + altitude?: number; + /** The latitude stored in the image. */ + latitude?: number; + /** The longitude stored in the image. */ + longitude?: number; + }; + /** The smallest f-number of the lens at the focal length used to create the photo (APEX value). */ + maxApertureValue?: number; + /** The metering mode used to create the photo. */ + meteringMode?: string; + /** The rotation in clockwise degrees from the image's original orientation. */ + rotation?: number; + /** The type of sensor used to create the photo. */ + sensor?: string; + /** The distance to the subject of the photo, in meters. */ + subjectDistance?: number; + /** The date and time the photo was taken (EXIF DateTime). */ + time?: string; + /** The white balance mode used to create the photo. */ + whiteBalance?: string; + /** The width of the image in pixels. */ + width?: number; + }; + /** Whether the file was created or opened by the requesting app. */ + isAppAuthorized?: boolean; + /** Identifies what kind of resource this is. Value: the fixed string "drive#file". */ + kind?: string; + /** The last user to modify the file. */ + lastModifyingUser?: User; + /** The MD5 checksum for the content of the file. This is only applicable to files with binary content in Drive. */ + md5Checksum?: string; + /** + * The MIME type of the file. + * Drive will attempt to automatically detect an appropriate value from uploaded content if no value is provided. The value cannot be changed unless a new + * revision is uploaded. + * If a file is created with a Google Doc MIME type, the uploaded content will be imported if possible. The supported import formats are published in the + * About resource. + */ + mimeType?: string; + /** Whether the file has been modified by this user. */ + modifiedByMe?: boolean; + /** The last time the file was modified by the user (RFC 3339 date-time). */ + modifiedByMeTime?: string; + /** + * The last time the file was modified by anyone (RFC 3339 date-time). + * Note that setting modifiedTime will also update modifiedByMeTime for the user. + */ + modifiedTime?: string; + /** + * The name of the file. This is not necessarily unique within a folder. Note that for immutable items such as the top level folders of Team Drives, My + * Drive root folder, and Application Data folder the name is constant. + */ + name?: string; + /** + * The original filename of the uploaded content if available, or else the original value of the name field. This is only available for files with binary + * content in Drive. + */ + originalFilename?: string; + /** Whether the user owns the file. Not populated for Team Drive files. */ + ownedByMe?: boolean; + /** The owners of the file. Currently, only certain legacy files may have more than one owner. Not populated for Team Drive files. */ + owners?: User[]; + /** + * The IDs of the parent folders which contain the file. + * If not specified as part of a create request, the file will be placed directly in the My Drive folder. Update requests must use the addParents and + * removeParents parameters to modify the values. + */ + parents?: string[]; + /** List of permission IDs for users with access to this file. */ + permissionIds?: string[]; + /** The full list of permissions for the file. This is only available if the requesting user can share the file. Not populated for Team Drive files. */ + permissions?: Permission[]; + /** + * A collection of arbitrary key-value pairs which are visible to all apps. + * Entries with null values are cleared in update and copy requests. + */ + properties?: Record<string, string>; + /** The number of storage quota bytes used by the file. This includes the head revision as well as previous revisions with keepForever enabled. */ + quotaBytesUsed?: string; + /** Whether the file has been shared. Not populated for Team Drive files. */ + shared?: boolean; + /** The time at which the file was shared with the user, if applicable (RFC 3339 date-time). */ + sharedWithMeTime?: string; + /** The user who shared the file with the requesting user, if applicable. */ + sharingUser?: User; + /** The size of the file's content in bytes. This is only applicable to files with binary content in Drive. */ + size?: string; + /** The list of spaces which contain the file. The currently supported values are 'drive', 'appDataFolder' and 'photos'. */ + spaces?: string[]; + /** Whether the user has starred the file. */ + starred?: boolean; + /** ID of the Team Drive the file resides in. */ + teamDriveId?: string; + /** + * A short-lived link to the file's thumbnail, if available. Typically lasts on the order of hours. Only populated when the requesting app can access the + * file's content. + */ + thumbnailLink?: string; + /** The thumbnail version for use in thumbnail cache invalidation. */ + thumbnailVersion?: string; + /** + * Whether the file has been trashed, either explicitly or from a trashed parent folder. Only the owner may trash a file, and other users cannot see files + * in the owner's trash. + */ + trashed?: boolean; + /** The time that the item was trashed (RFC 3339 date-time). Only populated for Team Drive files. */ + trashedTime?: string; + /** If the file has been explicitly trashed, the user who trashed it. Only populated for Team Drive files. */ + trashingUser?: User; + /** A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the user. */ + version?: string; + /** Additional metadata about video media. This may not be available immediately upon upload. */ + videoMediaMetadata?: { + /** The duration of the video in milliseconds. */ + durationMillis?: string; + /** The height of the video in pixels. */ + height?: number; + /** The width of the video in pixels. */ + width?: number; + }; + /** Whether the file has been viewed by this user. */ + viewedByMe?: boolean; + /** The last time the file was viewed by the user (RFC 3339 date-time). */ + viewedByMeTime?: string; + /** Whether users with only reader or commenter permission can copy the file's content. This affects copy, download, and print operations. */ + viewersCanCopyContent?: boolean; + /** A link for downloading the content of the file in a browser. This is only available for files with binary content in Drive. */ + webContentLink?: string; + /** A link for opening the file in a relevant Google editor or viewer in a browser. */ + webViewLink?: string; + /** Whether users with only writer permission can modify the file's permissions. Not populated for Team Drive files. */ + writersCanShare?: boolean; + } + interface FileList { + /** The list of files. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. */ + files?: File[]; + /** + * Whether the search process was incomplete. If true, then some search results may be missing, since all documents were not searched. This may occur when + * searching multiple Team Drives with the "user,allTeamDrives" corpora, but all corpora could not be searched. When this happens, it is suggested that + * clients narrow their query by choosing a different corpus such as "user" or "teamDrive". + */ + incompleteSearch?: boolean; + /** Identifies what kind of resource this is. Value: the fixed string "drive#fileList". */ + kind?: string; + /** + * The page token for the next page of files. This will be absent if the end of the files list has been reached. If the token is rejected for any reason, + * it should be discarded, and pagination should be restarted from the first page of results. + */ + nextPageToken?: string; + } + interface GeneratedIds { + /** The IDs generated for the requesting user in the specified space. */ + ids?: string[]; + /** Identifies what kind of resource this is. Value: the fixed string "drive#generatedIds". */ + kind?: string; + /** The type of file that can be created with these IDs. */ + space?: string; + } + interface Permission { + /** Whether the permission allows the file to be discovered through search. This is only applicable for permissions of type domain or anyone. */ + allowFileDiscovery?: boolean; + /** Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions. */ + deleted?: boolean; + /** A displayable name for users, groups or domains. */ + displayName?: string; + /** The domain to which this permission refers. */ + domain?: string; + /** The email address of the user or group to which this permission refers. */ + emailAddress?: string; + /** + * The time at which this permission will expire (RFC 3339 date-time). Expiration times have the following restrictions: + * - They can only be set on user and group permissions + * - The time must be in the future + * - The time cannot be more than a year in the future + */ + expirationTime?: string; + /** The ID of this permission. This is a unique identifier for the grantee, and is published in User resources as permissionId. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "drive#permission". */ + kind?: string; + /** A link to the user's profile photo, if available. */ + photoLink?: string; + /** + * The role granted by this permission. While new values may be supported in the future, the following are currently allowed: + * - organizer + * - owner + * - writer + * - commenter + * - reader + */ + role?: string; + /** + * Details of whether the permissions on this Team Drive item are inherited or directly on this item. This is an output-only field which is present only + * for Team Drive items. + */ + teamDrivePermissionDetails?: Array<{ + /** Whether this permission is inherited. This field is always populated. This is an output-only field. */ + inherited?: boolean; + /** The ID of the item from which this permission is inherited. This is an output-only field and is only populated for members of the Team Drive. */ + inheritedFrom?: string; + /** + * The primary role for this user. While new values may be added in the future, the following are currently possible: + * - organizer + * - writer + * - commenter + * - reader + */ + role?: string; + /** + * The Team Drive permission type for this user. While new values may be added in future, the following are currently possible: + * - file + * - member + */ + teamDrivePermissionType?: string; + }>; + /** + * The type of the grantee. Valid values are: + * - user + * - group + * - domain + * - anyone + */ + type?: string; + } + interface PermissionList { + /** Identifies what kind of resource this is. Value: the fixed string "drive#permissionList". */ + kind?: string; + /** + * The page token for the next page of permissions. This field will be absent if the end of the permissions list has been reached. If the token is + * rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results. + */ + nextPageToken?: string; + /** The list of permissions. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. */ + permissions?: Permission[]; + } + interface Reply { + /** + * The action the reply performed to the parent comment. Valid values are: + * - resolve + * - reopen + */ + action?: string; + /** The user who created the reply. */ + author?: User; + /** + * The plain text content of the reply. This field is used for setting the content, while htmlContent should be displayed. This is required on creates if + * no action is specified. + */ + content?: string; + /** The time at which the reply was created (RFC 3339 date-time). */ + createdTime?: string; + /** Whether the reply has been deleted. A deleted reply has no content. */ + deleted?: boolean; + /** The content of the reply with HTML formatting. */ + htmlContent?: string; + /** The ID of the reply. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "drive#reply". */ + kind?: string; + /** The last time the reply was modified (RFC 3339 date-time). */ + modifiedTime?: string; + } + interface ReplyList { + /** Identifies what kind of resource this is. Value: the fixed string "drive#replyList". */ + kind?: string; + /** + * The page token for the next page of replies. This will be absent if the end of the replies list has been reached. If the token is rejected for any + * reason, it should be discarded, and pagination should be restarted from the first page of results. + */ + nextPageToken?: string; + /** The list of replies. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. */ + replies?: Reply[]; + } + interface Revision { + /** The ID of the revision. */ + id?: string; + /** + * Whether to keep this revision forever, even if it is no longer the head revision. If not set, the revision will be automatically purged 30 days after + * newer content is uploaded. This can be set on a maximum of 200 revisions for a file. + * This field is only applicable to files with binary content in Drive. + */ + keepForever?: boolean; + /** Identifies what kind of resource this is. Value: the fixed string "drive#revision". */ + kind?: string; + /** The last user to modify this revision. */ + lastModifyingUser?: User; + /** The MD5 checksum of the revision's content. This is only applicable to files with binary content in Drive. */ + md5Checksum?: string; + /** The MIME type of the revision. */ + mimeType?: string; + /** The last time the revision was modified (RFC 3339 date-time). */ + modifiedTime?: string; + /** The original filename used to create this revision. This is only applicable to files with binary content in Drive. */ + originalFilename?: string; + /** Whether subsequent revisions will be automatically republished. This is only applicable to Google Docs. */ + publishAuto?: boolean; + /** Whether this revision is published. This is only applicable to Google Docs. */ + published?: boolean; + /** Whether this revision is published outside the domain. This is only applicable to Google Docs. */ + publishedOutsideDomain?: boolean; + /** The size of the revision's content in bytes. This is only applicable to files with binary content in Drive. */ + size?: string; + } + interface RevisionList { + /** Identifies what kind of resource this is. Value: the fixed string "drive#revisionList". */ + kind?: string; + /** + * The page token for the next page of revisions. This will be absent if the end of the revisions list has been reached. If the token is rejected for any + * reason, it should be discarded, and pagination should be restarted from the first page of results. + */ + nextPageToken?: string; + /** The list of revisions. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. */ + revisions?: Revision[]; + } + interface StartPageToken { + /** Identifies what kind of resource this is. Value: the fixed string "drive#startPageToken". */ + kind?: string; + /** The starting page token for listing changes. */ + startPageToken?: string; + } + interface TeamDrive { + /** + * An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field; it can only be set on + * drive.teamdrives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be set. + */ + backgroundImageFile?: { + /** The ID of an image file in Drive to use for the background image. */ + id?: string; + /** + * The width of the cropped image in the closed range of 0 to 1. This value represents the width of the cropped image divided by the width of the entire + * image. The height is computed by applying a width to height aspect ratio of 80 to 9. The resulting image must be at least 1280 pixels wide and 144 + * pixels high. + */ + width?: number; + /** + * The X coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value + * represents the horizontal distance from the left side of the entire image to the left side of the cropping area divided by the width of the entire + * image. + */ + xCoordinate?: number; + /** + * The Y coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value + * represents the vertical distance from the top side of the entire image to the top side of the cropping area divided by the height of the entire image. + */ + yCoordinate?: number; + }; + /** A short-lived link to this Team Drive's background image. */ + backgroundImageLink?: string; + /** Capabilities the current user has on this Team Drive. */ + capabilities?: { + /** Whether the current user can add children to folders in this Team Drive. */ + canAddChildren?: boolean; + /** Whether the current user can change the background of this Team Drive. */ + canChangeTeamDriveBackground?: boolean; + /** Whether the current user can comment on files in this Team Drive. */ + canComment?: boolean; + /** Whether the current user can copy files in this Team Drive. */ + canCopy?: boolean; + /** + * Whether the current user can delete this Team Drive. Attempting to delete the Team Drive may still fail if there are untrashed items inside the Team + * Drive. + */ + canDeleteTeamDrive?: boolean; + /** Whether the current user can download files in this Team Drive. */ + canDownload?: boolean; + /** Whether the current user can edit files in this Team Drive */ + canEdit?: boolean; + /** Whether the current user can list the children of folders in this Team Drive. */ + canListChildren?: boolean; + /** Whether the current user can add members to this Team Drive or remove them or change their role. */ + canManageMembers?: boolean; + /** Whether the current user can read the revisions resource of files in this Team Drive. */ + canReadRevisions?: boolean; + /** Whether the current user can remove children from folders in this Team Drive. */ + canRemoveChildren?: boolean; + /** Whether the current user can rename files or folders in this Team Drive. */ + canRename?: boolean; + /** Whether the current user can rename this Team Drive. */ + canRenameTeamDrive?: boolean; + /** Whether the current user can share files or folders in this Team Drive. */ + canShare?: boolean; + }; + /** The color of this Team Drive as an RGB hex string. It can only be set on a drive.teamdrives.update request that does not set themeId. */ + colorRgb?: string; + /** The ID of this Team Drive which is also the ID of the top level folder for this Team Drive. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "drive#teamDrive". */ + kind?: string; + /** The name of this Team Drive. */ + name?: string; + /** + * The ID of the theme from which the background image and color will be set. The set of possible teamDriveThemes can be retrieved from a drive.about.get + * response. When not specified on a drive.teamdrives.create request, a random theme is chosen from which the background image and color are set. This is + * a write-only field; it can only be set on requests that don't set colorRgb or backgroundImageFile. + */ + themeId?: string; + } + interface TeamDriveList { + /** Identifies what kind of resource this is. Value: the fixed string "drive#teamDriveList". */ + kind?: string; + /** + * The page token for the next page of Team Drives. This will be absent if the end of the Team Drives list has been reached. If the token is rejected for + * any reason, it should be discarded, and pagination should be restarted from the first page of results. + */ + nextPageToken?: string; + /** The list of Team Drives. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. */ + teamDrives?: TeamDrive[]; + } + interface User { + /** A plain text displayable name for this user. */ + displayName?: string; + /** The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester. */ + emailAddress?: string; + /** Identifies what kind of resource this is. Value: the fixed string "drive#user". */ + kind?: string; + /** Whether this user is the requesting user. */ + me?: boolean; + /** The user's ID as visible in Permission resources. */ + permissionId?: string; + /** A link to the user's profile photo, if available. */ + photoLink?: string; + } + interface AboutResource { + /** Gets information about the user, the user's Drive, and system capabilities. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<About>; + } + interface ChangesResource { + /** Gets the starting pageToken for listing future changes. */ + getStartPageToken(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether the requesting application supports Team Drives. */ + supportsTeamDrives?: boolean; + /** The ID of the Team Drive for which the starting pageToken for listing future changes from that Team Drive will be returned. */ + teamDriveId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<StartPageToken>; + /** Lists the changes for a user or Team Drive. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed + * from the list of changes and there will be no further change entries for this file. + */ + includeCorpusRemovals?: boolean; + /** Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access. */ + includeRemoved?: boolean; + /** Whether Team Drive files or changes should be included in results. */ + includeTeamDriveItems?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The maximum number of changes to return per page. */ + pageSize?: number; + /** + * The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to + * the response from the getStartPageToken method. + */ + pageToken: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or + * shared files which have not been added to My Drive. + */ + restrictToMyDrive?: boolean; + /** A comma-separated list of spaces to query within the user corpus. Supported values are 'drive', 'appDataFolder' and 'photos'. */ + spaces?: string; + /** Whether the requesting application supports Team Drives. */ + supportsTeamDrives?: boolean; + /** + * The Team Drive from which changes will be returned. If specified the change IDs will be reflective of the Team Drive; use the combined Team Drive ID + * and change ID as an identifier. + */ + teamDriveId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ChangeList>; + /** Subscribes to changes for a user. */ + watch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed + * from the list of changes and there will be no further change entries for this file. + */ + includeCorpusRemovals?: boolean; + /** Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access. */ + includeRemoved?: boolean; + /** Whether Team Drive files or changes should be included in results. */ + includeTeamDriveItems?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The maximum number of changes to return per page. */ + pageSize?: number; + /** + * The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to + * the response from the getStartPageToken method. + */ + pageToken: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or + * shared files which have not been added to My Drive. + */ + restrictToMyDrive?: boolean; + /** A comma-separated list of spaces to query within the user corpus. Supported values are 'drive', 'appDataFolder' and 'photos'. */ + spaces?: string; + /** Whether the requesting application supports Team Drives. */ + supportsTeamDrives?: boolean; + /** + * The Team Drive from which changes will be returned. If specified the change IDs will be reflective of the Team Drive; use the combined Team Drive ID + * and change ID as an identifier. + */ + teamDriveId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Channel>; + } + interface ChannelsResource { + /** Stop watching resources through this channel */ + stop(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface CommentsResource { + /** Creates a new comment on a file. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Comment>; + /** Deletes a comment. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the comment. */ + commentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets a comment by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the comment. */ + commentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** Whether to return deleted comments. Deleted comments will not include their original content. */ + includeDeleted?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Comment>; + /** Lists a file's comments. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** Whether to include deleted comments. Deleted comments will not include their original content. */ + includeDeleted?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The maximum number of comments to return per page. */ + pageSize?: number; + /** The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The minimum value of 'modifiedTime' for the result comments (RFC 3339 date-time). */ + startModifiedTime?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CommentList>; + /** Updates a comment with patch semantics. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the comment. */ + commentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Comment>; + } + interface FilesResource { + /** Creates a copy of a file and applies any requested updates with patch semantics. */ + copy(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** + * Whether to ignore the domain's default visibility settings for the created file. Domain administrators can choose to make all uploaded files visible to + * the domain by default; this parameter bypasses that behavior for the request. Permissions are still inherited from parent folders. + */ + ignoreDefaultVisibility?: boolean; + /** Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Drive. */ + keepRevisionForever?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** A language hint for OCR processing during image import (ISO 639-1 code). */ + ocrLanguage?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether the requesting application supports Team Drives. */ + supportsTeamDrives?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<File>; + /** Creates a new file. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Whether to ignore the domain's default visibility settings for the created file. Domain administrators can choose to make all uploaded files visible to + * the domain by default; this parameter bypasses that behavior for the request. Permissions are still inherited from parent folders. + */ + ignoreDefaultVisibility?: boolean; + /** Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Drive. */ + keepRevisionForever?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** A language hint for OCR processing during image import (ISO 639-1 code). */ + ocrLanguage?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether the requesting application supports Team Drives. */ + supportsTeamDrives?: boolean; + /** Whether to use the uploaded content as indexable text. */ + useContentAsIndexableText?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<File>; + /** + * Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a Team Drive the user must be an organizer on the + * parent. If the target is a folder, all descendants owned by the user are also deleted. + */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether the requesting application supports Team Drives. */ + supportsTeamDrives?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Permanently deletes all of the user's trashed files. */ + emptyTrash(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Exports a Google Doc to the requested MIME type and returns the exported content. Please note that the exported content is limited to 10MB. */ + export(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The MIME type of the format requested for this export. */ + mimeType: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Generates a set of file IDs which can be provided in create requests. */ + generateIds(request: { + /** Data format for the response. */ + alt?: string; + /** The number of IDs to return. */ + count?: number; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The space in which the IDs can be used to create new files. Supported values are 'drive' and 'appDataFolder'. */ + space?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GeneratedIds>; + /** Gets a file's metadata or content by ID. */ + get(request: { + /** Whether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when alt=media. */ + acknowledgeAbuse?: boolean; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether the requesting application supports Team Drives. */ + supportsTeamDrives?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<File>; + /** Lists or searches files. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** + * Comma-separated list of bodies of items (files/documents) to which the query applies. Supported bodies are 'user', 'domain', 'teamDrive' and + * 'allTeamDrives'. 'allTeamDrives' must be combined with 'user'; all other values must be used in isolation. Prefer 'user' or 'teamDrive' to + * 'allTeamDrives' for efficiency. + */ + corpora?: string; + /** The source of files to list. Deprecated: use 'corpora' instead. */ + corpus?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Whether Team Drive items should be included in results. */ + includeTeamDriveItems?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * A comma-separated list of sort keys. Valid keys are 'createdTime', 'folder', 'modifiedByMeTime', 'modifiedTime', 'name', 'name_natural', + * 'quotaBytesUsed', 'recency', 'sharedWithMeTime', 'starred', and 'viewedByMeTime'. Each key sorts ascending by default, but may be reversed with the + * 'desc' modifier. Example usage: ?orderBy=folder,modifiedTime desc,name. Please note that there is a current limitation for users with approximately one + * million files in which the requested sort order is ignored. + */ + orderBy?: string; + /** The maximum number of files to return per page. Partial or empty result pages are possible even before the end of the files list has been reached. */ + pageSize?: number; + /** The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** A query for filtering the file results. See the "Search for Files" guide for supported syntax. */ + q?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** A comma-separated list of spaces to query within the corpus. Supported values are 'drive', 'appDataFolder' and 'photos'. */ + spaces?: string; + /** Whether the requesting application supports Team Drives. */ + supportsTeamDrives?: boolean; + /** ID of Team Drive to search. */ + teamDriveId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FileList>; + /** Updates a file's metadata and/or content with patch semantics. */ + update(request: { + /** A comma-separated list of parent IDs to add. */ + addParents?: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Drive. */ + keepRevisionForever?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** A language hint for OCR processing during image import (ISO 639-1 code). */ + ocrLanguage?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** A comma-separated list of parent IDs to remove. */ + removeParents?: string; + /** Whether the requesting application supports Team Drives. */ + supportsTeamDrives?: boolean; + /** Whether to use the uploaded content as indexable text. */ + useContentAsIndexableText?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<File>; + /** Subscribes to changes to a file */ + watch(request: { + /** Whether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when alt=media. */ + acknowledgeAbuse?: boolean; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether the requesting application supports Team Drives. */ + supportsTeamDrives?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Channel>; + } + interface PermissionsResource { + /** Creates a permission for a file or Team Drive. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** A custom message to include in the notification email. */ + emailMessage?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file or Team Drive. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Whether to send a notification email when sharing to users or groups. This defaults to true for users and groups, and is not allowed for other + * requests. It must not be disabled for ownership transfers. + */ + sendNotificationEmail?: boolean; + /** Whether the requesting application supports Team Drives. */ + supportsTeamDrives?: boolean; + /** + * Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of + * the side effect. + */ + transferOwnership?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Permission>; + /** Deletes a permission. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file or Team Drive. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the permission. */ + permissionId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether the requesting application supports Team Drives. */ + supportsTeamDrives?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets a permission by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the permission. */ + permissionId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether the requesting application supports Team Drives. */ + supportsTeamDrives?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Permission>; + /** Lists a file's or Team Drive's permissions. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file or Team Drive. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The maximum number of permissions to return per page. When not set for files in a Team Drive, at most 100 results will be returned. When not set for + * files that are not in a Team Drive, the entire list will be returned. + */ + pageSize?: number; + /** The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether the requesting application supports Team Drives. */ + supportsTeamDrives?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PermissionList>; + /** Updates a permission with patch semantics. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file or Team Drive. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The ID of the permission. */ + permissionId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether to remove the expiration date. */ + removeExpiration?: boolean; + /** Whether the requesting application supports Team Drives. */ + supportsTeamDrives?: boolean; + /** + * Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of + * the side effect. + */ + transferOwnership?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Permission>; + } + interface RepliesResource { + /** Creates a new reply to a comment. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the comment. */ + commentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Reply>; + /** Deletes a reply. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the comment. */ + commentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the reply. */ + replyId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets a reply by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the comment. */ + commentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** Whether to return deleted replies. Deleted replies will not include their original content. */ + includeDeleted?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the reply. */ + replyId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Reply>; + /** Lists a comment's replies. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the comment. */ + commentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** Whether to include deleted replies. Deleted replies will not include their original content. */ + includeDeleted?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The maximum number of replies to return per page. */ + pageSize?: number; + /** The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ReplyList>; + /** Updates a reply with patch semantics. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the comment. */ + commentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the reply. */ + replyId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Reply>; + } + interface RevisionsResource { + /** Permanently deletes a revision. This method is only applicable to files with binary content in Drive. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the revision. */ + revisionId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets a revision's metadata or content by ID. */ + get(request: { + /** Whether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when alt=media. */ + acknowledgeAbuse?: boolean; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the revision. */ + revisionId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Revision>; + /** Lists a file's revisions. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The maximum number of revisions to return per page. */ + pageSize?: number; + /** The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RevisionList>; + /** Updates a revision with patch semantics. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the file. */ + fileId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the revision. */ + revisionId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Revision>; + } + interface TeamdrivesResource { + /** Creates a new Team Drive. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * An ID, such as a random UUID, which uniquely identifies this user's request for idempotent creation of a Team Drive. A repeated request by the same + * user and with the same request ID will avoid creating duplicates by attempting to create the same Team Drive. If the Team Drive already exists a 409 + * error will be returned. + */ + requestId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TeamDrive>; + /** Permanently deletes a Team Drive for which the user is an organizer. The Team Drive cannot contain any untrashed items. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the Team Drive */ + teamDriveId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets a Team Drive's metadata by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the Team Drive */ + teamDriveId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TeamDrive>; + /** Lists the user's Team Drives. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Maximum number of Team Drives to return. */ + pageSize?: number; + /** Page token for Team Drives. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TeamDriveList>; + /** Updates a Team Drive's metadata */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the Team Drive */ + teamDriveId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TeamDrive>; + } + } +} diff --git a/types/gapi.client.drive/readme.md b/types/gapi.client.drive/readme.md new file mode 100644 index 0000000000..da5a3fb6e5 --- /dev/null +++ b/types/gapi.client.drive/readme.md @@ -0,0 +1,270 @@ +# TypeScript typings for Drive API v3 +Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions. +For detailed description please check [documentation](https://developers.google.com/drive/). + +## Installing + +Install typings for Drive API: +``` +npm install @types/gapi.client.drive@v3 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('drive', 'v3', () => { + // now we can use gapi.client.drive + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage the files in your Google Drive + 'https://www.googleapis.com/auth/drive', + + // View and manage its own configuration data in your Google Drive + 'https://www.googleapis.com/auth/drive.appdata', + + // View and manage Google Drive files and folders that you have opened or created with this app + 'https://www.googleapis.com/auth/drive.file', + + // View and manage metadata of files in your Google Drive + 'https://www.googleapis.com/auth/drive.metadata', + + // View metadata for files in your Google Drive + 'https://www.googleapis.com/auth/drive.metadata.readonly', + + // View the photos, videos and albums in your Google Photos + 'https://www.googleapis.com/auth/drive.photos.readonly', + + // View the files in your Google Drive + 'https://www.googleapis.com/auth/drive.readonly', + + // Modify your Google Apps Script scripts' behavior + 'https://www.googleapis.com/auth/drive.scripts', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Drive API resources: + +```typescript + +/* +Gets information about the user, the user's Drive, and system capabilities. +*/ +await gapi.client.about.get({ }); + +/* +Gets the starting pageToken for listing future changes. +*/ +await gapi.client.changes.getStartPageToken({ }); + +/* +Lists the changes for a user or Team Drive. +*/ +await gapi.client.changes.list({ pageToken: "pageToken", }); + +/* +Subscribes to changes for a user. +*/ +await gapi.client.changes.watch({ pageToken: "pageToken", }); + +/* +Stop watching resources through this channel +*/ +await gapi.client.channels.stop({ }); + +/* +Creates a new comment on a file. +*/ +await gapi.client.comments.create({ fileId: "fileId", }); + +/* +Deletes a comment. +*/ +await gapi.client.comments.delete({ commentId: "commentId", fileId: "fileId", }); + +/* +Gets a comment by ID. +*/ +await gapi.client.comments.get({ commentId: "commentId", fileId: "fileId", }); + +/* +Lists a file's comments. +*/ +await gapi.client.comments.list({ fileId: "fileId", }); + +/* +Updates a comment with patch semantics. +*/ +await gapi.client.comments.update({ commentId: "commentId", fileId: "fileId", }); + +/* +Creates a copy of a file and applies any requested updates with patch semantics. +*/ +await gapi.client.files.copy({ fileId: "fileId", }); + +/* +Creates a new file. +*/ +await gapi.client.files.create({ }); + +/* +Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a Team Drive the user must be an organizer on the parent. If the target is a folder, all descendants owned by the user are also deleted. +*/ +await gapi.client.files.delete({ fileId: "fileId", }); + +/* +Permanently deletes all of the user's trashed files. +*/ +await gapi.client.files.emptyTrash({ }); + +/* +Exports a Google Doc to the requested MIME type and returns the exported content. Please note that the exported content is limited to 10MB. +*/ +await gapi.client.files.export({ fileId: "fileId", mimeType: "mimeType", }); + +/* +Generates a set of file IDs which can be provided in create requests. +*/ +await gapi.client.files.generateIds({ }); + +/* +Gets a file's metadata or content by ID. +*/ +await gapi.client.files.get({ fileId: "fileId", }); + +/* +Lists or searches files. +*/ +await gapi.client.files.list({ }); + +/* +Updates a file's metadata and/or content with patch semantics. +*/ +await gapi.client.files.update({ fileId: "fileId", }); + +/* +Subscribes to changes to a file +*/ +await gapi.client.files.watch({ fileId: "fileId", }); + +/* +Creates a permission for a file or Team Drive. +*/ +await gapi.client.permissions.create({ fileId: "fileId", }); + +/* +Deletes a permission. +*/ +await gapi.client.permissions.delete({ fileId: "fileId", permissionId: "permissionId", }); + +/* +Gets a permission by ID. +*/ +await gapi.client.permissions.get({ fileId: "fileId", permissionId: "permissionId", }); + +/* +Lists a file's or Team Drive's permissions. +*/ +await gapi.client.permissions.list({ fileId: "fileId", }); + +/* +Updates a permission with patch semantics. +*/ +await gapi.client.permissions.update({ fileId: "fileId", permissionId: "permissionId", }); + +/* +Creates a new reply to a comment. +*/ +await gapi.client.replies.create({ commentId: "commentId", fileId: "fileId", }); + +/* +Deletes a reply. +*/ +await gapi.client.replies.delete({ commentId: "commentId", fileId: "fileId", replyId: "replyId", }); + +/* +Gets a reply by ID. +*/ +await gapi.client.replies.get({ commentId: "commentId", fileId: "fileId", replyId: "replyId", }); + +/* +Lists a comment's replies. +*/ +await gapi.client.replies.list({ commentId: "commentId", fileId: "fileId", }); + +/* +Updates a reply with patch semantics. +*/ +await gapi.client.replies.update({ commentId: "commentId", fileId: "fileId", replyId: "replyId", }); + +/* +Permanently deletes a revision. This method is only applicable to files with binary content in Drive. +*/ +await gapi.client.revisions.delete({ fileId: "fileId", revisionId: "revisionId", }); + +/* +Gets a revision's metadata or content by ID. +*/ +await gapi.client.revisions.get({ fileId: "fileId", revisionId: "revisionId", }); + +/* +Lists a file's revisions. +*/ +await gapi.client.revisions.list({ fileId: "fileId", }); + +/* +Updates a revision with patch semantics. +*/ +await gapi.client.revisions.update({ fileId: "fileId", revisionId: "revisionId", }); + +/* +Creates a new Team Drive. +*/ +await gapi.client.teamdrives.create({ requestId: "requestId", }); + +/* +Permanently deletes a Team Drive for which the user is an organizer. The Team Drive cannot contain any untrashed items. +*/ +await gapi.client.teamdrives.delete({ teamDriveId: "teamDriveId", }); + +/* +Gets a Team Drive's metadata by ID. +*/ +await gapi.client.teamdrives.get({ teamDriveId: "teamDriveId", }); + +/* +Lists the user's Team Drives. +*/ +await gapi.client.teamdrives.list({ }); + +/* +Updates a Team Drive's metadata +*/ +await gapi.client.teamdrives.update({ teamDriveId: "teamDriveId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.drive/tsconfig.json b/types/gapi.client.drive/tsconfig.json new file mode 100644 index 0000000000..6d5901b410 --- /dev/null +++ b/types/gapi.client.drive/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.drive-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.drive/tslint.json b/types/gapi.client.drive/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.drive/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.firebasedynamiclinks/gapi.client.firebasedynamiclinks-tests.ts b/types/gapi.client.firebasedynamiclinks/gapi.client.firebasedynamiclinks-tests.ts new file mode 100644 index 0000000000..4ef78ca6ba --- /dev/null +++ b/types/gapi.client.firebasedynamiclinks/gapi.client.firebasedynamiclinks-tests.ts @@ -0,0 +1,57 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('firebasedynamiclinks', 'v1', () => { + /** now we can use gapi.client.firebasedynamiclinks */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and administer all your Firebase data and settings */ + 'https://www.googleapis.com/auth/firebase', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Creates a short Dynamic Link given either a valid long Dynamic Link or + * details such as Dynamic Link domain, Android and iOS app information. + * The created short Dynamic Link will not expire. + * + * Repeated calls with the same long Dynamic Link or Dynamic Link information + * will produce the same short Dynamic Link. + * + * The Dynamic Link domain in the request must be owned by requester's + * Firebase project. + */ + await gapi.client.shortLinks.create({ + }); + /** + * Fetches analytics stats of a short Dynamic Link for a given + * duration. Metrics include number of clicks, redirects, installs, + * app first opens, and app reopens. + */ + await gapi.client.v1.getLinkStats({ + durationDays: "durationDays", + dynamicLink: "dynamicLink", + }); + /** Get iOS strong/weak-match info for post-install attribution. */ + await gapi.client.v1.installAttribution({ + }); + } +}); diff --git a/types/gapi.client.firebasedynamiclinks/index.d.ts b/types/gapi.client.firebasedynamiclinks/index.d.ts new file mode 100644 index 0000000000..618a8845a6 --- /dev/null +++ b/types/gapi.client.firebasedynamiclinks/index.d.ts @@ -0,0 +1,430 @@ +// Type definitions for Google Firebase Dynamic Links API v1 1.0 +// Project: https://firebase.google.com/docs/dynamic-links/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://firebasedynamiclinks.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Firebase Dynamic Links API v1 */ + function load(name: "firebasedynamiclinks", version: "v1"): PromiseLike<void>; + function load(name: "firebasedynamiclinks", version: "v1", callback: () => any): void; + + const shortLinks: firebasedynamiclinks.ShortLinksResource; + + const v1: firebasedynamiclinks.V1Resource; + + namespace firebasedynamiclinks { + interface AnalyticsInfo { + /** Google Play Campaign Measurements. */ + googlePlayAnalytics?: GooglePlayAnalytics; + /** iTunes Connect App Analytics. */ + itunesConnectAnalytics?: ITunesConnectAnalytics; + } + interface AndroidInfo { + /** Link to open on Android if the app is not installed. */ + androidFallbackLink?: string; + /** If specified, this overrides the ‘link’ parameter on Android. */ + androidLink?: string; + /** + * Minimum version code for the Android app. If the installed app’s version + * code is lower, then the user is taken to the Play Store. + */ + androidMinPackageVersionCode?: string; + /** Android package name of the app. */ + androidPackageName?: string; + } + interface CreateShortDynamicLinkRequest { + /** + * Information about the Dynamic Link to be shortened. + * [Learn more](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically). + */ + dynamicLinkInfo?: DynamicLinkInfo; + /** + * Full long Dynamic Link URL with desired query parameters specified. + * For example, + * "https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample", + * [Learn more](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically). + */ + longDynamicLink?: string; + /** Short Dynamic Link suffix. Optional. */ + suffix?: Suffix; + } + interface CreateShortDynamicLinkResponse { + /** Preivew link to show the link flow chart. */ + previewLink?: string; + /** Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz */ + shortLink?: string; + /** Information about potential warnings on link creation. */ + warning?: DynamicLinkWarning[]; + } + interface DeviceInfo { + /** Device model name. */ + deviceModelName?: string; + /** Device language code setting. */ + languageCode?: string; + /** Device display resolution height. */ + screenResolutionHeight?: string; + /** Device display resolution width. */ + screenResolutionWidth?: string; + /** Device timezone setting. */ + timezone?: string; + } + interface DynamicLinkEventStat { + /** The number of times this event occurred. */ + count?: string; + /** Link event. */ + event?: string; + /** Requested platform. */ + platform?: string; + } + interface DynamicLinkInfo { + /** + * Parameters used for tracking. See all tracking parameters in the + * [documentation](https://firebase.google.com/docs/dynamic-links/create-manually). + */ + analyticsInfo?: AnalyticsInfo; + /** + * Android related information. See Android related parameters in the + * [documentation](https://firebase.google.com/docs/dynamic-links/create-manually). + */ + androidInfo?: AndroidInfo; + /** + * Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl + * [Learn more](https://firebase.google.com/docs/dynamic-links/android/receive) + * on how to set up Dynamic Link domain associated with your Firebase project. + * + * Required. + */ + dynamicLinkDomain?: string; + /** + * iOS related information. See iOS related parameters in the + * [documentation](https://firebase.google.com/docs/dynamic-links/create-manually). + */ + iosInfo?: IosInfo; + /** + * The link your app will open, You can specify any URL your app can handle. + * This link must be a well-formatted URL, be properly URL-encoded, and use + * the HTTP or HTTPS scheme. See 'link' parameters in the + * [documentation](https://firebase.google.com/docs/dynamic-links/create-manually). + * + * Required. + */ + link?: string; + /** Information of navigation behavior of a Firebase Dynamic Links. */ + navigationInfo?: NavigationInfo; + /** + * Parameters for social meta tag params. + * Used to set meta tag data for link previews on social sites. + */ + socialMetaTagInfo?: SocialMetaTagInfo; + } + interface DynamicLinkStats { + /** Dynamic Link event stats. */ + linkEventStats?: DynamicLinkEventStat[]; + } + interface DynamicLinkWarning { + /** The warning code. */ + warningCode?: string; + /** The document describing the warning, and helps resolve. */ + warningDocumentLink?: string; + /** The warning message to help developers improve their requests. */ + warningMessage?: string; + } + interface GetIosPostInstallAttributionRequest { + /** + * App installation epoch time (https://en.wikipedia.org/wiki/Unix_time). + * This is a client signal for a more accurate weak match. + */ + appInstallationTime?: string; + /** APP bundle ID. */ + bundleId?: string; + /** Device information. */ + device?: DeviceInfo; + /** + * iOS version, ie: 9.3.5. + * Consider adding "build". + */ + iosVersion?: string; + /** + * App post install attribution retrieval information. Disambiguates + * mechanism (iSDK or developer invoked) to retrieve payload from + * clicked link. + */ + retrievalMethod?: string; + /** Google SDK version. */ + sdkVersion?: string; + /** + * Possible unique matched link that server need to check before performing + * fingerprint match. If passed link is short server need to expand the link. + * If link is long server need to vslidate the link. + */ + uniqueMatchLinkToCheck?: string; + /** + * Strong match page information. Disambiguates between default UI and + * custom page to present when strong match succeeds/fails to find cookie. + */ + visualStyle?: string; + } + interface GetIosPostInstallAttributionResponse { + /** + * The minimum version for app, specified by dev through ?imv= parameter. + * Return to iSDK to allow app to evaluate if current version meets this. + */ + appMinimumVersion?: string; + /** The confidence of the returned attribution. */ + attributionConfidence?: string; + /** + * The deep-link attributed post-install via one of several techniques + * (fingerprint, copy unique). + */ + deepLink?: string; + /** + * User-agent specific custom-scheme URIs for iSDK to open. This will be set + * according to the user-agent tha the click was originally made in. There is + * no Safari-equivalent custom-scheme open URLs. + * ie: googlechrome://www.example.com + * ie: firefox://open-url?url=http://www.example.com + * ie: opera-http://example.com + */ + externalBrowserDestinationLink?: string; + /** + * The link to navigate to update the app if min version is not met. + * This is either (in order): 1) fallback link (from ?ifl= parameter, if + * specified by developer) or 2) AppStore URL (from ?isi= parameter, if + * specified), or 3) the payload link (from required link= parameter). + */ + fallbackLink?: string; + /** + * Invitation ID attributed post-install via one of several techniques + * (fingerprint, copy unique). + */ + invitationId?: string; + /** + * Instruction for iSDK to attemmpt to perform strong match. For instance, + * if browser does not support/allow cookie or outside of support browsers, + * this will be false. + */ + isStrongMatchExecutable?: boolean; + /** + * Describes why match failed, ie: "discarded due to low confidence". + * This message will be publicly visible. + */ + matchMessage?: string; + /** + * Entire FDL (short or long) attributed post-install via one of several + * techniques (fingerprint, copy unique). + */ + requestedLink?: string; + /** + * The entire FDL, expanded from a short link. It is the same as the + * requested_link, if it is long. Parameters from this should not be + * used directly (ie: server can default utm_[campaign|medium|source] + * to a value when requested_link lack them, server determine the best + * fallback_link when requested_link specifies >1 fallback links). + */ + resolvedLink?: string; + /** Scion campaign value to be propagated by iSDK to Scion at post-install. */ + utmCampaign?: string; + /** Scion medium value to be propagated by iSDK to Scion at post-install. */ + utmMedium?: string; + /** Scion source value to be propagated by iSDK to Scion at post-install. */ + utmSource?: string; + } + interface GooglePlayAnalytics { + /** + * [AdWords autotagging parameter](https://support.google.com/analytics/answer/1033981?hl=en); + * used to measure Google AdWords ads. This value is generated dynamically + * and should never be modified. + */ + gclid?: string; + /** + * Campaign name; used for keyword analysis to identify a specific product + * promotion or strategic campaign. + */ + utmCampaign?: string; + /** + * Campaign content; used for A/B testing and content-targeted ads to + * differentiate ads or links that point to the same URL. + */ + utmContent?: string; + /** Campaign medium; used to identify a medium such as email or cost-per-click. */ + utmMedium?: string; + /** + * Campaign source; used to identify a search engine, newsletter, or other + * source. + */ + utmSource?: string; + /** Campaign term; used with paid search to supply the keywords for ads. */ + utmTerm?: string; + } + interface ITunesConnectAnalytics { + /** Affiliate token used to create affiliate-coded links. */ + at?: string; + /** + * Campaign text that developers can optionally add to any link in order to + * track sales from a specific marketing campaign. + */ + ct?: string; + /** iTune media types, including music, podcasts, audiobooks and so on. */ + mt?: string; + /** + * Provider token that enables analytics for Dynamic Links from within iTunes + * Connect. + */ + pt?: string; + } + interface IosInfo { + /** iOS App Store ID. */ + iosAppStoreId?: string; + /** iOS bundle ID of the app. */ + iosBundleId?: string; + /** + * Custom (destination) scheme to use for iOS. By default, we’ll use the + * bundle ID as the custom scheme. Developer can override this behavior using + * this param. + */ + iosCustomScheme?: string; + /** Link to open on iOS if the app is not installed. */ + iosFallbackLink?: string; + /** iPad bundle ID of the app. */ + iosIpadBundleId?: string; + /** If specified, this overrides the ios_fallback_link value on iPads. */ + iosIpadFallbackLink?: string; + } + interface NavigationInfo { + /** + * If this option is on, FDL click will be forced to redirect rather than + * show an interstitial page. + */ + enableForcedRedirect?: boolean; + } + interface SocialMetaTagInfo { + /** A short description of the link. Optional. */ + socialDescription?: string; + /** An image url string. Optional. */ + socialImageLink?: string; + /** Title to be displayed. Optional. */ + socialTitle?: string; + } + interface Suffix { + /** Suffix option. */ + option?: string; + } + interface ShortLinksResource { + /** + * Creates a short Dynamic Link given either a valid long Dynamic Link or + * details such as Dynamic Link domain, Android and iOS app information. + * The created short Dynamic Link will not expire. + * + * Repeated calls with the same long Dynamic Link or Dynamic Link information + * will produce the same short Dynamic Link. + * + * The Dynamic Link domain in the request must be owned by requester's + * Firebase project. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CreateShortDynamicLinkResponse>; + } + interface V1Resource { + /** + * Fetches analytics stats of a short Dynamic Link for a given + * duration. Metrics include number of clicks, redirects, installs, + * app first opens, and app reopens. + */ + getLinkStats(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The span of time requested in days. */ + durationDays?: string; + /** Dynamic Link URL. e.g. https://abcd.app.goo.gl/wxyz */ + dynamicLink: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<DynamicLinkStats>; + /** Get iOS strong/weak-match info for post-install attribution. */ + installAttribution(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GetIosPostInstallAttributionResponse>; + } + } +} diff --git a/types/gapi.client.firebasedynamiclinks/readme.md b/types/gapi.client.firebasedynamiclinks/readme.md new file mode 100644 index 0000000000..ec49c972a7 --- /dev/null +++ b/types/gapi.client.firebasedynamiclinks/readme.md @@ -0,0 +1,79 @@ +# TypeScript typings for Firebase Dynamic Links API v1 +Programmatically creates and manages Firebase Dynamic Links. +For detailed description please check [documentation](https://firebase.google.com/docs/dynamic-links/). + +## Installing + +Install typings for Firebase Dynamic Links API: +``` +npm install @types/gapi.client.firebasedynamiclinks@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('firebasedynamiclinks', 'v1', () => { + // now we can use gapi.client.firebasedynamiclinks + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and administer all your Firebase data and settings + 'https://www.googleapis.com/auth/firebase', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Firebase Dynamic Links API resources: + +```typescript + +/* +Creates a short Dynamic Link given either a valid long Dynamic Link or +details such as Dynamic Link domain, Android and iOS app information. +The created short Dynamic Link will not expire. + +Repeated calls with the same long Dynamic Link or Dynamic Link information +will produce the same short Dynamic Link. + +The Dynamic Link domain in the request must be owned by requester's +Firebase project. +*/ +await gapi.client.shortLinks.create({ }); + +/* +Fetches analytics stats of a short Dynamic Link for a given +duration. Metrics include number of clicks, redirects, installs, +app first opens, and app reopens. +*/ +await gapi.client.v1.getLinkStats({ dynamicLink: "dynamicLink", }); + +/* +Get iOS strong/weak-match info for post-install attribution. +*/ +await gapi.client.v1.installAttribution({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.firebasedynamiclinks/tsconfig.json b/types/gapi.client.firebasedynamiclinks/tsconfig.json new file mode 100644 index 0000000000..e43d9944a4 --- /dev/null +++ b/types/gapi.client.firebasedynamiclinks/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.firebasedynamiclinks-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.firebasedynamiclinks/tslint.json b/types/gapi.client.firebasedynamiclinks/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.firebasedynamiclinks/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.firebaseremoteconfig/gapi.client.firebaseremoteconfig-tests.ts b/types/gapi.client.firebaseremoteconfig/gapi.client.firebaseremoteconfig-tests.ts new file mode 100644 index 0000000000..60c5cec59c --- /dev/null +++ b/types/gapi.client.firebaseremoteconfig/gapi.client.firebaseremoteconfig-tests.ts @@ -0,0 +1,48 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('firebaseremoteconfig', 'v1', () => { + /** now we can use gapi.client.firebaseremoteconfig */ + + run(); + }); + + async function run() { + /** + * Get the latest version Remote Configuration for a project. + * Returns the RemoteConfig as the payload, and also the eTag as a + * response header. + */ + await gapi.client.projects.getRemoteConfig({ + project: "project", + }); + /** + * Update a RemoteConfig. We treat this as an always-existing + * resource (when it is not found in our data store, we treat it as version + * 0, a template with zero conditions and zero parameters). Hence there are + * no Create or Delete operations. Returns the updated template when + * successful (and the updated eTag as a response header), or an error if + * things go wrong. + * Possible error messages: + * * VALIDATION_ERROR (HTTP status 400) with additional details if the + * template being passed in can not be validated. + * * AUTHENTICATION_ERROR (HTTP status 401) if the request can not be + * authenticate (e.g. no access token, or invalid access token). + * * AUTHORIZATION_ERROR (HTTP status 403) if the request can not be + * authorized (e.g. the user has no access to the specified project id). + * * VERSION_MISMATCH (HTTP status 412) when trying to update when the + * expected eTag (passed in via the "If-match" header) is not specified, or + * is specified but does does not match the current eTag. + * * Internal error (HTTP status 500) for Database problems or other internal + * errors. + */ + await gapi.client.projects.updateRemoteConfig({ + project: "project", + validateOnly: true, + }); + } +}); diff --git a/types/gapi.client.firebaseremoteconfig/index.d.ts b/types/gapi.client.firebaseremoteconfig/index.d.ts new file mode 100644 index 0000000000..22c96e59c8 --- /dev/null +++ b/types/gapi.client.firebaseremoteconfig/index.d.ts @@ -0,0 +1,197 @@ +// Type definitions for Google Firebase Remote Config API v1 1.0 +// Project: https://firebase.google.com/docs/remote-config/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://firebaseremoteconfig.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Firebase Remote Config API v1 */ + function load(name: "firebaseremoteconfig", version: "v1"): PromiseLike<void>; + function load(name: "firebaseremoteconfig", version: "v1", callback: () => any): void; + + const projects: firebaseremoteconfig.ProjectsResource; + + namespace firebaseremoteconfig { + interface RemoteConfig { + /** + * The list of named conditions. The order *does* affect the semantics. + * The condition_name values of these entries must be unique. + * + * The resolved value of a config parameter P is determined as follow: + * * Let Y be the set of values from the submap of P that refer to conditions + * that evaluate to <code>true</code>. + * * If Y is non empty, the value is taken from the specific submap in Y whose + * condition_name is the earliest in this condition list. + * * Else, if P has a default value option (condition_name is empty) then + * the value is taken from that option. + * * Else, parameter P has no value and is omitted from the config result. + * + * Example: parameter key "p1", default value "v1", submap specified as + * {"c1": v2, "c2": v3} where "c1" and "c2" are names of conditions in the + * condition list (where "c1" in this example appears before "c2"). The + * value of p1 would be v2 as long as c1 is true. Otherwise, if c2 is true, + * p1 would evaluate to v3, and if c1 and c2 are both false, p1 would evaluate + * to v1. If no default value was specified, and c1 and c2 were both false, + * no value for p1 would be generated. + */ + conditions?: RemoteConfigCondition[]; + /** + * Map of parameter keys to their optional default values and optional submap + * of (condition name : value). Order doesn't affect semantics, and so is + * sorted by the server. The 'key' values of the params must be unique. + */ + parameters?: Record<string, RemoteConfigParameter>; + } + interface RemoteConfigCondition { + /** Required. */ + expression?: string; + /** + * Required. + * A non empty and unique name of this condition. + */ + name?: string; + /** + * Optional. + * The display (tag) color of this condition. This serves as part of a tag + * (in the future, we may add tag text as well as tag color, but that is not + * yet implemented in the UI). + * This value has no affect on the semantics of the delivered config and it + * is ignored by the backend, except for passing it through write/read + * requests. + * Not having this value or having the "CONDITION_DISPLAY_COLOR_UNSPECIFIED" + * value (0) have the same meaning: Let the UI choose any valid color when + * displaying the condition. + */ + tagColor?: string; + } + interface RemoteConfigParameter { + /** + * Optional - a map of (condition_name, value). The condition_name of the + * highest priority (the one listed first in the conditions array) determines + * the value of this parameter. + */ + conditionalValues?: Record<string, RemoteConfigParameterValue>; + /** + * Optional - value to set the parameter to, when none of the named conditions + * evaluate to <code>true</code>. + */ + defaultValue?: RemoteConfigParameterValue; + } + interface RemoteConfigParameterValue { + /** if true, omit the parameter from the map of fetched parameter values */ + useInAppDefault?: boolean; + /** the string to set the parameter to */ + value?: string; + } + interface ProjectsResource { + /** + * Get the latest version Remote Configuration for a project. + * Returns the RemoteConfig as the payload, and also the eTag as a + * response header. + */ + getRemoteConfig(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The GMP project identifier. Required. + * See note at the beginning of this file regarding project ids. + */ + project: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<RemoteConfig>; + /** + * Update a RemoteConfig. We treat this as an always-existing + * resource (when it is not found in our data store, we treat it as version + * 0, a template with zero conditions and zero parameters). Hence there are + * no Create or Delete operations. Returns the updated template when + * successful (and the updated eTag as a response header), or an error if + * things go wrong. + * Possible error messages: + * * VALIDATION_ERROR (HTTP status 400) with additional details if the + * template being passed in can not be validated. + * * AUTHENTICATION_ERROR (HTTP status 401) if the request can not be + * authenticate (e.g. no access token, or invalid access token). + * * AUTHORIZATION_ERROR (HTTP status 403) if the request can not be + * authorized (e.g. the user has no access to the specified project id). + * * VERSION_MISMATCH (HTTP status 412) when trying to update when the + * expected eTag (passed in via the "If-match" header) is not specified, or + * is specified but does does not match the current eTag. + * * Internal error (HTTP status 500) for Database problems or other internal + * errors. + */ + updateRemoteConfig(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The GMP project identifier. Required. + * See note at the beginning of this file regarding project ids. + */ + project: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * Optional. Defaults to <code>false</code> (UpdateRemoteConfig call should + * update the backend if there are no validation/interal errors). May be set + * to <code>true</code> to indicate that, should no validation errors occur, + * the call should return a "200 OK" instead of performing the update. Note + * that other error messages (500 Internal Error, 412 Version Mismatch, etc) + * may still result after flipping to <code>false</code>, even if getting a + * "200 OK" when calling with <code>true</code>. + */ + validateOnly?: boolean; + }): Request<RemoteConfig>; + } + } +} diff --git a/types/gapi.client.firebaseremoteconfig/readme.md b/types/gapi.client.firebaseremoteconfig/readme.md new file mode 100644 index 0000000000..eb99d22d5f --- /dev/null +++ b/types/gapi.client.firebaseremoteconfig/readme.md @@ -0,0 +1,64 @@ +# TypeScript typings for Firebase Remote Config API v1 +Firebase Remote Config API allows the 3P clients to manage Remote Config conditions and parameters for Firebase applications. +For detailed description please check [documentation](https://firebase.google.com/docs/remote-config/). + +## Installing + +Install typings for Firebase Remote Config API: +``` +npm install @types/gapi.client.firebaseremoteconfig@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('firebaseremoteconfig', 'v1', () => { + // now we can use gapi.client.firebaseremoteconfig + // ... +}); +``` + + + +After that you can use Firebase Remote Config API resources: + +```typescript + +/* +Get the latest version Remote Configuration for a project. +Returns the RemoteConfig as the payload, and also the eTag as a +response header. +*/ +await gapi.client.projects.getRemoteConfig({ project: "project", }); + +/* +Update a RemoteConfig. We treat this as an always-existing +resource (when it is not found in our data store, we treat it as version +0, a template with zero conditions and zero parameters). Hence there are +no Create or Delete operations. Returns the updated template when +successful (and the updated eTag as a response header), or an error if +things go wrong. +Possible error messages: +* VALIDATION_ERROR (HTTP status 400) with additional details if the +template being passed in can not be validated. +* AUTHENTICATION_ERROR (HTTP status 401) if the request can not be +authenticate (e.g. no access token, or invalid access token). +* AUTHORIZATION_ERROR (HTTP status 403) if the request can not be +authorized (e.g. the user has no access to the specified project id). +* VERSION_MISMATCH (HTTP status 412) when trying to update when the +expected eTag (passed in via the "If-match" header) is not specified, or +is specified but does does not match the current eTag. +* Internal error (HTTP status 500) for Database problems or other internal +errors. +*/ +await gapi.client.projects.updateRemoteConfig({ project: "project", }); +``` \ No newline at end of file diff --git a/types/gapi.client.firebaseremoteconfig/tsconfig.json b/types/gapi.client.firebaseremoteconfig/tsconfig.json new file mode 100644 index 0000000000..9366ffa276 --- /dev/null +++ b/types/gapi.client.firebaseremoteconfig/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.firebaseremoteconfig-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.firebaseremoteconfig/tslint.json b/types/gapi.client.firebaseremoteconfig/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.firebaseremoteconfig/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.firebaserules/gapi.client.firebaserules-tests.ts b/types/gapi.client.firebaserules/gapi.client.firebaserules-tests.ts new file mode 100644 index 0000000000..28ca08a8d8 --- /dev/null +++ b/types/gapi.client.firebaserules/gapi.client.firebaserules-tests.ts @@ -0,0 +1,63 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('firebaserules', 'v1', () => { + /** now we can use gapi.client.firebaserules */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View and administer all your Firebase data and settings */ + 'https://www.googleapis.com/auth/firebase', + /** View all your Firebase data and settings */ + 'https://www.googleapis.com/auth/firebase.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Test `Source` for syntactic and semantic correctness. Issues present, if + * any, will be returned to the caller with a description, severity, and + * source location. + * + * The test method may be executed with `Source` or a `Ruleset` name. + * Passing `Source` is useful for unit testing new rules. Passing a `Ruleset` + * name is useful for regression testing an existing rule. + * + * The following is an example of `Source` that permits users to upload images + * to a bucket bearing their user id and matching the correct metadata: + * + * _*Example*_ + * + * // Users are allowed to subscribe and unsubscribe to the blog. + * service firebase.storage { + * match /users/{userId}/images/{imageName} { + * allow write: if userId == request.auth.uid + * && (imageName.matches('*.png$') + * || imageName.matches('*.jpg$')) + * && resource.mimeType.matches('^image/') + * } + * } + */ + await gapi.client.projects.test({ + name: "name", + }); + } +}); diff --git a/types/gapi.client.firebaserules/index.d.ts b/types/gapi.client.firebaserules/index.d.ts new file mode 100644 index 0000000000..fbe2fb4da7 --- /dev/null +++ b/types/gapi.client.firebaserules/index.d.ts @@ -0,0 +1,828 @@ +// Type definitions for Google Firebase Rules API v1 1.0 +// Project: https://firebase.google.com/docs/storage/security +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://firebaserules.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Firebase Rules API v1 */ + function load(name: "firebaserules", version: "v1"): PromiseLike<void>; + function load(name: "firebaserules", version: "v1", callback: () => any): void; + + const projects: firebaserules.ProjectsResource; + + namespace firebaserules { + interface Arg { + /** Argument matches any value provided. */ + anyValue?: any; + /** Argument exactly matches value provided. */ + exactValue?: any; + } + interface File { + /** Textual Content. */ + content?: string; + /** Fingerprint (e.g. github sha) associated with the `File`. */ + fingerprint?: string; + /** File name. */ + name?: string; + } + interface FunctionCall { + /** The arguments that were provided to the function. */ + args?: any[]; + /** Name of the function invoked. */ + function?: string; + } + interface FunctionMock { + /** + * The list of `Arg` values to match. The order in which the arguments are + * provided is the order in which they must appear in the function + * invocation. + */ + args?: Arg[]; + /** + * The name of the function. + * + * The function name must match one provided by a service declaration. + */ + function?: string; + /** The mock result of the function call. */ + result?: Result; + } + interface GetReleaseExecutableResponse { + /** Executable view of the `Ruleset` referenced by the `Release`. */ + executable?: string; + /** The Rules runtime version of the executable. */ + executableVersion?: string; + /** `Language` used to generate the executable bytes. */ + language?: string; + /** `Ruleset` name associated with the `Release` executable. */ + rulesetName?: string; + /** Timestamp for the most recent `Release.update_time`. */ + updateTime?: string; + } + interface Issue { + /** Short error description. */ + description?: string; + /** The severity of the issue. */ + severity?: string; + /** Position of the issue in the `Source`. */ + sourcePosition?: SourcePosition; + } + interface ListReleasesResponse { + /** + * The pagination token to retrieve the next page of results. If the value is + * empty, no further results remain. + */ + nextPageToken?: string; + /** List of `Release` instances. */ + releases?: Release[]; + } + interface ListRulesetsResponse { + /** + * The pagination token to retrieve the next page of results. If the value is + * empty, no further results remain. + */ + nextPageToken?: string; + /** List of `Ruleset` instances. */ + rulesets?: Ruleset[]; + } + interface Release { + /** + * Time the release was created. + * Output only. + */ + createTime?: string; + /** + * Resource name for the `Release`. + * + * `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2` + * which affords developers a great deal of flexibility in mapping the name + * to the style that best fits their existing development practices. For + * example, a name could refer to an environment, an app, a version, or some + * combination of three. + * + * In the table below, for the project name `projects/foo`, the following + * relative release paths show how flat and structured names might be chosen + * to match a desired development / deployment strategy. + * + * Use Case | Flat Name | Structured Name + * -------------|---------------------|---------------- + * Environments | releases/qa | releases/qa + * Apps | releases/app1_qa | releases/app1/qa + * Versions | releases/app1_v2_qa | releases/app1/v2/qa + * + * The delimiter between the release name path elements can be almost anything + * and it should work equally well with the release name list filter, but in + * many ways the structured paths provide a clearer picture of the + * relationship between `Release` instances. + * + * Format: `projects/{project_id}/releases/{release_id}` + */ + name?: string; + /** + * Name of the `Ruleset` referred to by this `Release`. The `Ruleset` must + * exist the `Release` to be created. + */ + rulesetName?: string; + /** + * Time the release was updated. + * Output only. + */ + updateTime?: string; + } + interface Result { + /** The result is undefined, meaning the result could not be computed. */ + undefined?: any; + /** + * The result is an actual value. The type of the value must match that + * of the type declared by the service. + */ + value?: any; + } + interface Ruleset { + /** + * Time the `Ruleset` was created. + * Output only. + */ + createTime?: string; + /** + * Name of the `Ruleset`. The ruleset_id is auto generated by the service. + * Format: `projects/{project_id}/rulesets/{ruleset_id}` + * Output only. + */ + name?: string; + /** `Source` for the `Ruleset`. */ + source?: Source; + } + interface Source { + /** `File` set constituting the `Source` bundle. */ + files?: File[]; + } + interface SourcePosition { + /** First column on the source line associated with the source fragment. */ + column?: number; + /** Name of the `File`. */ + fileName?: string; + /** Line number of the source fragment. 1-based. */ + line?: number; + } + interface TestCase { + /** Test expectation. */ + expectation?: string; + /** + * Optional function mocks for service-defined functions. If not set, any + * service defined function is expected to return an error, which may or may + * not influence the test outcome. + */ + functionMocks?: FunctionMock[]; + /** + * Request context. + * + * The exact format of the request context is service-dependent. See the + * appropriate service documentation for information about the supported + * fields and types on the request. Minimally, all services support the + * following fields and types: + * + * Request field | Type + * ---------------|----------------- + * auth.uid | `string` + * auth.token | `map<string, string>` + * headers | `map<string, string>` + * method | `string` + * params | `map<string, string>` + * path | `string` + * time | `google.protobuf.Timestamp` + * + * If the request value is not well-formed for the service, the request will + * be rejected as an invalid argument. + */ + request?: any; + /** + * Optional resource value as it appears in persistent storage before the + * request is fulfilled. + * + * The resource type depends on the `request.path` value. + */ + resource?: any; + } + interface TestResult { + /** + * Debug messages related to test execution issues encountered during + * evaluation. + * + * Debug messages may be related to too many or too few invocations of + * function mocks or to runtime errors that occur during evaluation. + * + * For example: ```Unable to read variable [name: "resource"]``` + */ + debugMessages?: string[]; + /** + * Position in the `Source` or `Ruleset` where the principle runtime error + * occurs. + * + * Evaluation of an expression may result in an error. Rules are deny by + * default, so a `DENY` expectation when an error is generated is valid. + * When there is a `DENY` with an error, the `SourcePosition` is returned. + * + * E.g. `error_position { line: 19 column: 37 }` + */ + errorPosition?: SourcePosition; + /** + * The set of function calls made to service-defined methods. + * + * Function calls are included in the order in which they are encountered + * during evaluation, are provided for both mocked and unmocked functions, + * and included on the response regardless of the test `state`. + */ + functionCalls?: FunctionCall[]; + /** State of the test. */ + state?: string; + } + interface TestRulesetRequest { + /** + * Optional `Source` to be checked for correctness. + * + * This field must not be set when the resource name refers to a `Ruleset`. + */ + source?: Source; + /** Inline `TestSuite` to run. */ + testSuite?: TestSuite; + } + interface TestRulesetResponse { + /** + * Syntactic and semantic `Source` issues of varying severity. Issues of + * `ERROR` severity will prevent tests from executing. + */ + issues?: Issue[]; + /** + * The set of test results given the test cases in the `TestSuite`. + * The results will appear in the same order as the test cases appear in the + * `TestSuite`. + */ + testResults?: TestResult[]; + } + interface TestSuite { + /** Collection of test cases associated with the `TestSuite`. */ + testCases?: TestCase[]; + } + interface ReleasesResource { + /** + * Create a `Release`. + * + * Release names should reflect the developer's deployment practices. For + * example, the release name may include the environment name, application + * name, application version, or any other name meaningful to the developer. + * Once a `Release` refers to a `Ruleset`, the rules can be enforced by + * Firebase Rules-enabled services. + * + * More than one `Release` may be 'live' concurrently. Consider the following + * three `Release` names for `projects/foo` and the `Ruleset` to which they + * refer. + * + * Release Name | Ruleset Name + * --------------------------------|------------- + * projects/foo/releases/prod | projects/foo/rulesets/uuid123 + * projects/foo/releases/prod/beta | projects/foo/rulesets/uuid123 + * projects/foo/releases/prod/v23 | projects/foo/rulesets/uuid456 + * + * The table reflects the `Ruleset` rollout in progress. The `prod` and + * `prod/beta` releases refer to the same `Ruleset`. However, `prod/v23` + * refers to a new `Ruleset`. The `Ruleset` reference for a `Release` may be + * updated using the UpdateRelease method. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Resource name for the project which owns this `Release`. + * + * Format: `projects/{project_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Release>; + /** Delete a `Release` by resource name. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Resource name for the `Release` to delete. + * + * Format: `projects/{project_id}/releases/{release_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Get a `Release` by name. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Resource name of the `Release`. + * + * Format: `projects/{project_id}/releases/{release_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Release>; + /** Get the `Release` executable to use when enforcing rules. */ + getExecutable(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The requested runtime executable version. + * Defaults to FIREBASE_RULES_EXECUTABLE_V1 + */ + executableVersion?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Resource name of the `Release`. + * + * Format: `projects/{project_id}/releases/{release_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GetReleaseExecutableResponse>; + /** + * List the `Release` values for a project. This list may optionally be + * filtered by `Release` name, `Ruleset` name, `TestSuite` name, or any + * combination thereof. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * `Release` filter. The list method supports filters with restrictions on the + * `Release.name`, `Release.ruleset_name`, and `Release.test_suite_name`. + * + * Example 1: A filter of 'name=prod*' might return `Release`s with names + * within 'projects/foo' prefixed with 'prod': + * + * Name | Ruleset Name + * ------------------------------|------------- + * projects/foo/releases/prod | projects/foo/rulesets/uuid1234 + * projects/foo/releases/prod/v1 | projects/foo/rulesets/uuid1234 + * projects/foo/releases/prod/v2 | projects/foo/rulesets/uuid8888 + * + * Example 2: A filter of `name=prod* ruleset_name=uuid1234` would return only + * `Release` instances for 'projects/foo' with names prefixed with 'prod' + * referring to the same `Ruleset` name of 'uuid1234': + * + * Name | Ruleset Name + * ------------------------------|------------- + * projects/foo/releases/prod | projects/foo/rulesets/1234 + * projects/foo/releases/prod/v1 | projects/foo/rulesets/1234 + * + * In the examples, the filter parameters refer to the search filters are + * relative to the project. Fully qualified prefixed may also be used. e.g. + * `test_suite_name=projects/foo/testsuites/uuid1` + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Resource name for the project. + * + * Format: `projects/{project_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Page size to load. Maximum of 100. Defaults to 10. + * Note: `page_size` is just a hint and the service may choose to load fewer + * than `page_size` results due to the size of the output. To traverse all of + * the releases, the caller should iterate until the `page_token` on the + * response is empty. + */ + pageSize?: number; + /** Next page token for the next batch of `Release` instances. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListReleasesResponse>; + /** + * Update a `Release`. + * + * Only updates to the `ruleset_name` and `test_suite_name` fields will be + * honored. `Release` rename is not supported. To create a `Release` use the + * CreateRelease method. + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Resource name for the `Release`. + * + * `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2` + * which affords developers a great deal of flexibility in mapping the name + * to the style that best fits their existing development practices. For + * example, a name could refer to an environment, an app, a version, or some + * combination of three. + * + * In the table below, for the project name `projects/foo`, the following + * relative release paths show how flat and structured names might be chosen + * to match a desired development / deployment strategy. + * + * Use Case | Flat Name | Structured Name + * -------------|---------------------|---------------- + * Environments | releases/qa | releases/qa + * Apps | releases/app1_qa | releases/app1/qa + * Versions | releases/app1_v2_qa | releases/app1/v2/qa + * + * The delimiter between the release name path elements can be almost anything + * and it should work equally well with the release name list filter, but in + * many ways the structured paths provide a clearer picture of the + * relationship between `Release` instances. + * + * Format: `projects/{project_id}/releases/{release_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Release>; + } + interface RulesetsResource { + /** + * Create a `Ruleset` from `Source`. + * + * The `Ruleset` is given a unique generated name which is returned to the + * caller. `Source` containing syntactic or semantics errors will result in an + * error response indicating the first error encountered. For a detailed view + * of `Source` issues, use TestRuleset. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Resource name for Project which owns this `Ruleset`. + * + * Format: `projects/{project_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Ruleset>; + /** + * Delete a `Ruleset` by resource name. + * + * If the `Ruleset` is referenced by a `Release` the operation will fail. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Resource name for the ruleset to delete. + * + * Format: `projects/{project_id}/rulesets/{ruleset_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Get a `Ruleset` by name including the full `Source` contents. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Resource name for the ruleset to get. + * + * Format: `projects/{project_id}/rulesets/{ruleset_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Ruleset>; + /** + * List `Ruleset` metadata only and optionally filter the results by `Ruleset` + * name. + * + * The full `Source` contents of a `Ruleset` may be retrieved with + * GetRuleset. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * `Ruleset` filter. The list method supports filters with restrictions on + * `Ruleset.name`. + * + * Filters on `Ruleset.create_time` should use the `date` function which + * parses strings that conform to the RFC 3339 date/time specifications. + * + * Example: `create_time > date("2017-01-01") AND name=UUID-*` + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Resource name for the project. + * + * Format: `projects/{project_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Page size to load. Maximum of 100. Defaults to 10. + * Note: `page_size` is just a hint and the service may choose to load less + * than `page_size` due to the size of the output. To traverse all of the + * releases, caller should iterate until the `page_token` is empty. + */ + pageSize?: number; + /** Next page token for loading the next batch of `Ruleset` instances. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListRulesetsResponse>; + } + interface ProjectsResource { + /** + * Test `Source` for syntactic and semantic correctness. Issues present, if + * any, will be returned to the caller with a description, severity, and + * source location. + * + * The test method may be executed with `Source` or a `Ruleset` name. + * Passing `Source` is useful for unit testing new rules. Passing a `Ruleset` + * name is useful for regression testing an existing rule. + * + * The following is an example of `Source` that permits users to upload images + * to a bucket bearing their user id and matching the correct metadata: + * + * _*Example*_ + * + * // Users are allowed to subscribe and unsubscribe to the blog. + * service firebase.storage { + * match /users/{userId}/images/{imageName} { + * allow write: if userId == request.auth.uid + * && (imageName.matches('*.png$') + * || imageName.matches('*.jpg$')) + * && resource.mimeType.matches('^image/') + * } + * } + */ + test(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Tests may either provide `source` or a `Ruleset` resource name. + * + * For tests against `source`, the resource name must refer to the project: + * Format: `projects/{project_id}` + * + * For tests against a `Ruleset`, this must be the `Ruleset` resource name: + * Format: `projects/{project_id}/rulesets/{ruleset_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TestRulesetResponse>; + releases: ReleasesResource; + rulesets: RulesetsResource; + } + } +} diff --git a/types/gapi.client.firebaserules/readme.md b/types/gapi.client.firebaserules/readme.md new file mode 100644 index 0000000000..992701be26 --- /dev/null +++ b/types/gapi.client.firebaserules/readme.md @@ -0,0 +1,87 @@ +# TypeScript typings for Firebase Rules API v1 +Creates and manages rules that determine when a Firebase Rules-enabled service should permit a request. + +For detailed description please check [documentation](https://firebase.google.com/docs/storage/security). + +## Installing + +Install typings for Firebase Rules API: +``` +npm install @types/gapi.client.firebaserules@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('firebaserules', 'v1', () => { + // now we can use gapi.client.firebaserules + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View and administer all your Firebase data and settings + 'https://www.googleapis.com/auth/firebase', + + // View all your Firebase data and settings + 'https://www.googleapis.com/auth/firebase.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Firebase Rules API resources: + +```typescript + +/* +Test `Source` for syntactic and semantic correctness. Issues present, if +any, will be returned to the caller with a description, severity, and +source location. + +The test method may be executed with `Source` or a `Ruleset` name. +Passing `Source` is useful for unit testing new rules. Passing a `Ruleset` +name is useful for regression testing an existing rule. + +The following is an example of `Source` that permits users to upload images +to a bucket bearing their user id and matching the correct metadata: + +_*Example*_ + + // Users are allowed to subscribe and unsubscribe to the blog. + service firebase.storage { + match /users/{userId}/images/{imageName} { + allow write: if userId == request.auth.uid + && (imageName.matches('*.png$') + || imageName.matches('*.jpg$')) + && resource.mimeType.matches('^image/') + } + } +*/ +await gapi.client.projects.test({ name: "name", }); +``` \ No newline at end of file diff --git a/types/gapi.client.firebaserules/tsconfig.json b/types/gapi.client.firebaserules/tsconfig.json new file mode 100644 index 0000000000..fe476614b8 --- /dev/null +++ b/types/gapi.client.firebaserules/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.firebaserules-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.firebaserules/tslint.json b/types/gapi.client.firebaserules/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.firebaserules/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.firestore/gapi.client.firestore-tests.ts b/types/gapi.client.firestore/gapi.client.firestore-tests.ts new file mode 100644 index 0000000000..45c7838019 --- /dev/null +++ b/types/gapi.client.firestore/gapi.client.firestore-tests.ts @@ -0,0 +1,34 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('firestore', 'v1beta1', () => { + /** now we can use gapi.client.firestore */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View and manage your Google Cloud Datastore data */ + 'https://www.googleapis.com/auth/datastore', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + } +}); diff --git a/types/gapi.client.firestore/index.d.ts b/types/gapi.client.firestore/index.d.ts new file mode 100644 index 0000000000..783434a8c7 --- /dev/null +++ b/types/gapi.client.firestore/index.d.ts @@ -0,0 +1,1579 @@ +// Type definitions for Google Google Cloud Firestore API v1beta1 1.0 +// Project: https://cloud.google.com/firestore +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://firestore.googleapis.com/$discovery/rest?version=v1beta1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Cloud Firestore API v1beta1 */ + function load(name: "firestore", version: "v1beta1"): PromiseLike<void>; + function load(name: "firestore", version: "v1beta1", callback: () => any): void; + + const projects: firestore.ProjectsResource; + + namespace firestore { + interface ArrayValue { + /** Values in the array. */ + values?: Value[]; + } + interface BatchGetDocumentsRequest { + /** + * The names of the documents to retrieve. In the format: + * `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + * The request will fail if any of the document is not a child resource of the + * given `database`. Duplicate names will be elided. + */ + documents?: string[]; + /** + * The fields to return. If not set, returns all fields. + * + * If a document has a field that is not present in this mask, that field will + * not be returned in the response. + */ + mask?: DocumentMask; + /** + * Starts a new transaction and reads the documents. + * Defaults to a read-only transaction. + * The new transaction ID will be returned as the first response in the + * stream. + */ + newTransaction?: TransactionOptions; + /** + * Reads documents as they were at the given time. + * This may not be older than 60 seconds. + */ + readTime?: string; + /** Reads documents in a transaction. */ + transaction?: string; + } + interface BatchGetDocumentsResponse { + /** A document that was requested. */ + found?: Document; + /** + * A document name that was requested but does not exist. In the format: + * `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + */ + missing?: string; + /** + * The time at which the document was read. + * This may be monotically increasing, in this case the previous documents in + * the result stream are guaranteed not to have changed between their + * read_time and this one. + */ + readTime?: string; + /** + * The transaction that was started as part of this request. + * Will only be set in the first response, and only if + * BatchGetDocumentsRequest.new_transaction was set in the request. + */ + transaction?: string; + } + interface BeginTransactionRequest { + /** + * The options for the transaction. + * Defaults to a read-write transaction. + */ + options?: TransactionOptions; + } + interface BeginTransactionResponse { + /** The transaction that was started. */ + transaction?: string; + } + interface CollectionSelector { + /** + * When false, selects only collections that are immediate children of + * the `parent` specified in the containing `RunQueryRequest`. + * When true, selects all descendant collections. + */ + allDescendants?: boolean; + /** + * The collection ID. + * When set, selects only collections with this ID. + */ + collectionId?: string; + } + interface CommitRequest { + /** + * If non-empty, applies all writes in this transaction, and commits it. + * Otherwise, applies the writes as if they were in their own transaction. + */ + transaction?: string; + /** + * The writes to apply. + * + * Always executed atomically and in order. + */ + writes?: Write[]; + } + interface CommitResponse { + /** The time at which the commit occurred. */ + commitTime?: string; + /** + * The result of applying the writes. + * + * This i-th write result corresponds to the i-th write in the + * request. + */ + writeResults?: WriteResult[]; + } + interface CompositeFilter { + /** + * The list of filters to combine. + * Must contain at least one filter. + */ + filters?: Filter[]; + /** The operator for combining multiple filters. */ + op?: string; + } + interface Cursor { + /** + * If the position is just before or just after the given values, relative + * to the sort order defined by the query. + */ + before?: boolean; + /** + * The values that represent a position, in the order they appear in + * the order by clause of a query. + * + * Can contain fewer values than specified in the order by clause. + */ + values?: Value[]; + } + interface Document { + /** + * Output only. The time at which the document was created. + * + * This value increases monotonically when a document is deleted then + * recreated. It can also be compared to values from other documents and + * the `read_time` of a query. + */ + createTime?: string; + /** + * The document's fields. + * + * The map keys represent field names. + * + * A simple field name contains only characters `a` to `z`, `A` to `Z`, + * `0` to `9`, or `_`, and must not start with `0` to `9` or `_`. For example, + * `foo_bar_17`. + * + * Field names matching the regular expression `__.*__` are reserved. Reserved + * field names are forbidden except in certain documented contexts. The map + * keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be + * empty. + * + * Field paths may be used in other contexts to refer to structured fields + * defined here. For `map_value`, the field path is represented by the simple + * or quoted field names of the containing fields, delimited by `.`. For + * example, the structured field + * `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be + * represented by the field path `foo.x&y`. + * + * Within a field path, a quoted field name starts and ends with `` ` `` and + * may contain any character. Some characters, including `` ` ``, must be + * escaped using a `\`. For example, `` `x&y` `` represents `x&y` and + * `` `bak\`tik` `` represents `` bak`tik ``. + */ + fields?: Record<string, Value>; + /** + * The resource name of the document, for example + * `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + */ + name?: string; + /** + * Output only. The time at which the document was last changed. + * + * This value is initally set to the `create_time` then increases + * monotonically with each change to the document. It can also be + * compared to values from other documents and the `read_time` of a query. + */ + updateTime?: string; + } + interface DocumentChange { + /** + * The new state of the Document. + * + * If `mask` is set, contains only fields that were updated or added. + */ + document?: Document; + /** A set of target IDs for targets that no longer match this document. */ + removedTargetIds?: number[]; + /** A set of target IDs of targets that match this document. */ + targetIds?: number[]; + } + interface DocumentDelete { + /** The resource name of the Document that was deleted. */ + document?: string; + /** + * The read timestamp at which the delete was observed. + * + * Greater or equal to the `commit_time` of the delete. + */ + readTime?: string; + /** A set of target IDs for targets that previously matched this entity. */ + removedTargetIds?: number[]; + } + interface DocumentMask { + /** + * The list of field paths in the mask. See Document.fields for a field + * path syntax reference. + */ + fieldPaths?: string[]; + } + interface DocumentRemove { + /** The resource name of the Document that has gone out of view. */ + document?: string; + /** + * The read timestamp at which the remove was observed. + * + * Greater or equal to the `commit_time` of the change/delete/remove. + */ + readTime?: string; + /** A set of target IDs for targets that previously matched this document. */ + removedTargetIds?: number[]; + } + interface DocumentTransform { + /** The name of the document to transform. */ + document?: string; + /** + * The list of transformations to apply to the fields of the document, in + * order. + */ + fieldTransforms?: FieldTransform[]; + } + interface DocumentsTarget { + /** + * The names of the documents to retrieve. In the format: + * `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + * The request will fail if any of the document is not a child resource of + * the given `database`. Duplicate names will be elided. + */ + documents?: string[]; + } + interface ExistenceFilter { + /** + * The total count of documents that match target_id. + * + * If different from the count of documents in the client that match, the + * client must manually determine which documents no longer match the target. + */ + count?: number; + /** The target ID to which this filter applies. */ + targetId?: number; + } + interface FieldFilter { + /** The field to filter by. */ + field?: FieldReference; + /** The operator to filter by. */ + op?: string; + /** The value to compare to. */ + value?: Value; + } + interface FieldReference { + fieldPath?: string; + } + interface FieldTransform { + /** + * The path of the field. See Document.fields for the field path syntax + * reference. + */ + fieldPath?: string; + /** Sets the field to the given server value. */ + setToServerValue?: string; + } + interface Filter { + /** A composite filter. */ + compositeFilter?: CompositeFilter; + /** A filter on a document field. */ + fieldFilter?: FieldFilter; + /** A filter that takes exactly one argument. */ + unaryFilter?: UnaryFilter; + } + interface Index { + /** The collection ID to which this index applies. Required. */ + collectionId?: string; + /** The fields to index. */ + fields?: IndexField[]; + /** The resource name of the index. */ + name?: string; + /** + * The state of the index. + * The state is read-only. + * @OutputOnly + */ + state?: string; + } + interface IndexField { + /** + * The path of the field. Must match the field path specification described + * by google.firestore.v1beta1.Document.fields. + * Special field path `__name__` may be used by itself or at the end of a + * path. `__type__` may be used only at the end of path. + */ + fieldPath?: string; + /** The field's mode. */ + mode?: string; + } + interface IndexOperationMetadata { + /** + * True if the [google.longrunning.Operation] was cancelled. If the + * cancellation is in progress, cancelled will be true but + * google.longrunning.Operation.done will be false. + */ + cancelled?: boolean; + /** Progress of the existing operation, measured in number of documents. */ + documentProgress?: Progress; + /** + * The time the operation ended, either successfully or otherwise. Unset if + * the operation is still active. + */ + endTime?: string; + /** + * The index resource that this operation is acting on. For example: + * `projects/{project_id}/databases/{database_id}/indexes/{index_id}` + */ + index?: string; + /** The type of index operation. */ + operationType?: string; + /** The time that work began on the operation. */ + startTime?: string; + } + interface LatLng { + /** The latitude in degrees. It must be in the range [-90.0, +90.0]. */ + latitude?: number; + /** The longitude in degrees. It must be in the range [-180.0, +180.0]. */ + longitude?: number; + } + interface ListCollectionIdsResponse { + /** The collection ids. */ + collectionIds?: string[]; + /** A page token that may be used to continue the list. */ + nextPageToken?: string; + } + interface ListDocumentsResponse { + /** The Documents found. */ + documents?: Document[]; + /** The next page token. */ + nextPageToken?: string; + } + interface ListIndexesResponse { + /** The indexes. */ + indexes?: Index[]; + /** The standard List next-page token. */ + nextPageToken?: string; + } + interface ListenRequest { + /** A target to add to this stream. */ + addTarget?: Target; + /** Labels associated with this target change. */ + labels?: Record<string, string>; + /** The ID of a target to remove from this stream. */ + removeTarget?: number; + } + interface ListenResponse { + /** A Document has changed. */ + documentChange?: DocumentChange; + /** A Document has been deleted. */ + documentDelete?: DocumentDelete; + /** + * A Document has been removed from a target (because it is no longer + * relevant to that target). + */ + documentRemove?: DocumentRemove; + /** + * A filter to apply to the set of documents previously returned for the + * given target. + * + * Returned when documents may have been removed from the given target, but + * the exact documents are unknown. + */ + filter?: ExistenceFilter; + /** Targets have changed. */ + targetChange?: TargetChange; + } + interface MapValue { + /** + * The map's fields. + * + * The map keys represent field names. Field names matching the regular + * expression `__.*__` are reserved. Reserved field names are forbidden except + * in certain documented contexts. The map keys, represented as UTF-8, must + * not exceed 1,500 bytes and cannot be empty. + */ + fields?: Record<string, Value>; + } + interface Operation { + /** + * If the value is `false`, it means the operation is still in progress. + * If `true`, the operation is completed, and either `error` or `response` is + * available. + */ + done?: boolean; + /** The error result of the operation in case of failure or cancellation. */ + error?: Status; + /** + * Service-specific metadata associated with the operation. It typically + * contains progress information and common metadata such as create time. + * Some services might not provide such metadata. Any method that returns a + * long-running operation should document the metadata type, if any. + */ + metadata?: Record<string, any>; + /** + * The server-assigned name, which is only unique within the same service that + * originally returns it. If you use the default HTTP mapping, the + * `name` should have the format of `operations/some/unique/name`. + */ + name?: string; + /** + * The normal response of the operation in case of success. If the original + * method returns no data on success, such as `Delete`, the response is + * `google.protobuf.Empty`. If the original method is standard + * `Get`/`Create`/`Update`, the response should be the resource. For other + * methods, the response should have the type `XxxResponse`, where `Xxx` + * is the original method name. For example, if the original method name + * is `TakeSnapshot()`, the inferred response type is + * `TakeSnapshotResponse`. + */ + response?: Record<string, any>; + } + interface Order { + /** The direction to order by. Defaults to `ASCENDING`. */ + direction?: string; + /** The field to order by. */ + field?: FieldReference; + } + interface Precondition { + /** + * When set to `true`, the target document must exist. + * When set to `false`, the target document must not exist. + */ + exists?: boolean; + /** + * When set, the target document must exist and have been last updated at + * that time. + */ + updateTime?: string; + } + interface Progress { + /** + * An estimate of how much work has been completed. Note that this may be + * greater than `work_estimated`. + */ + workCompleted?: string; + /** + * An estimate of how much work needs to be performed. Zero if the + * work estimate is unavailable. May change as work progresses. + */ + workEstimated?: string; + } + interface Projection { + /** + * The fields to return. + * + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. + */ + fields?: FieldReference[]; + } + interface QueryTarget { + /** + * The parent resource name. In the format: + * `projects/{project_id}/databases/{database_id}/documents` or + * `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + * For example: + * `projects/my-project/databases/my-database/documents` or + * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom` + */ + parent?: string; + /** A structured query. */ + structuredQuery?: StructuredQuery; + } + interface ReadOnly { + /** + * Reads documents at the given time. + * This may not be older than 60 seconds. + */ + readTime?: string; + } + interface ReadWrite { + /** An optional transaction to retry. */ + retryTransaction?: string; + } + interface RollbackRequest { + /** The transaction to roll back. */ + transaction?: string; + } + interface RunQueryRequest { + /** + * Starts a new transaction and reads the documents. + * Defaults to a read-only transaction. + * The new transaction ID will be returned as the first response in the + * stream. + */ + newTransaction?: TransactionOptions; + /** + * Reads documents as they were at the given time. + * This may not be older than 60 seconds. + */ + readTime?: string; + /** A structured query. */ + structuredQuery?: StructuredQuery; + /** Reads documents in a transaction. */ + transaction?: string; + } + interface RunQueryResponse { + /** + * A query result. + * Not set when reporting partial progress. + */ + document?: Document; + /** + * The time at which the document was read. This may be monotonically + * increasing; in this case, the previous documents in the result stream are + * guaranteed not to have changed between their `read_time` and this one. + * + * If the query returns no results, a response with `read_time` and no + * `document` will be sent, and this represents the time at which the query + * was run. + */ + readTime?: string; + /** + * The number of results that have been skipped due to an offset between + * the last response and the current response. + */ + skippedResults?: number; + /** + * The transaction that was started as part of this request. + * Can only be set in the first response, and only if + * RunQueryRequest.new_transaction was set in the request. + * If set, no other fields will be set in this response. + */ + transaction?: string; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface StructuredQuery { + /** A end point for the query results. */ + endAt?: Cursor; + /** The collections to query. */ + from?: CollectionSelector[]; + /** + * The maximum number of results to return. + * + * Applies after all other constraints. + * Must be >= 0 if specified. + */ + limit?: number; + /** + * The number of results to skip. + * + * Applies before limit, but after all other constraints. Must be >= 0 if + * specified. + */ + offset?: number; + /** + * The order to apply to the query results. + * + * Firestore guarantees a stable ordering through the following rules: + * + * * Any field required to appear in `order_by`, that is not already + * specified in `order_by`, is appended to the order in field name order + * by default. + * * If an order on `__name__` is not specified, it is appended by default. + * + * Fields are appended with the same sort direction as the last order + * specified, or 'ASCENDING' if no order was specified. For example: + * + * * `SELECT * FROM Foo ORDER BY A` becomes + * `SELECT * FROM Foo ORDER BY A, __name__` + * * `SELECT * FROM Foo ORDER BY A DESC` becomes + * `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` + * * `SELECT * FROM Foo WHERE A > 1` becomes + * `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__` + */ + orderBy?: Order[]; + /** The projection to return. */ + select?: Projection; + /** A starting point for the query results. */ + startAt?: Cursor; + /** The filter to apply. */ + where?: Filter; + } + interface Target { + /** A target specified by a set of document names. */ + documents?: DocumentsTarget; + /** If the target should be removed once it is current and consistent. */ + once?: boolean; + /** A target specified by a query. */ + query?: QueryTarget; + /** + * Start listening after a specific `read_time`. + * + * The client must know the state of matching documents at this time. + */ + readTime?: string; + /** + * A resume token from a prior TargetChange for an identical target. + * + * Using a resume token with a different target is unsupported and may fail. + */ + resumeToken?: string; + /** + * A client provided target ID. + * + * If not set, the server will assign an ID for the target. + * + * Used for resuming a target without changing IDs. The IDs can either be + * client-assigned or be server-assigned in a previous stream. All targets + * with client provided IDs must be added before adding a target that needs + * a server-assigned id. + */ + targetId?: number; + } + interface TargetChange { + /** The error that resulted in this change, if applicable. */ + cause?: Status; + /** + * The consistent `read_time` for the given `target_ids` (omitted when the + * target_ids are not at a consistent snapshot). + * + * The stream is guaranteed to send a `read_time` with `target_ids` empty + * whenever the entire stream reaches a new consistent snapshot. ADD, + * CURRENT, and RESET messages are guaranteed to (eventually) result in a + * new consistent snapshot (while NO_CHANGE and REMOVE messages are not). + * + * For a given stream, `read_time` is guaranteed to be monotonically + * increasing. + */ + readTime?: string; + /** + * A token that can be used to resume the stream for the given `target_ids`, + * or all targets if `target_ids` is empty. + * + * Not set on every target change. + */ + resumeToken?: string; + /** The type of change that occurred. */ + targetChangeType?: string; + /** + * The target IDs of targets that have changed. + * + * If empty, the change applies to all targets. + * + * For `target_change_type=ADD`, the order of the target IDs matches the order + * of the requests to add the targets. This allows clients to unambiguously + * associate server-assigned target IDs with added targets. + * + * For other states, the order of the target IDs is not defined. + */ + targetIds?: number[]; + } + interface TransactionOptions { + /** The transaction can only be used for read operations. */ + readOnly?: ReadOnly; + /** The transaction can be used for both read and write operations. */ + readWrite?: ReadWrite; + } + interface UnaryFilter { + /** The field to which to apply the operator. */ + field?: FieldReference; + /** The unary operator to apply. */ + op?: string; + } + interface Value { + /** + * An array value. + * + * Cannot contain another array value. + */ + arrayValue?: ArrayValue; + /** A boolean value. */ + booleanValue?: boolean; + /** + * A bytes value. + * + * Must not exceed 1 MiB - 89 bytes. + * Only the first 1,500 bytes are considered by queries. + */ + bytesValue?: string; + /** A double value. */ + doubleValue?: number; + /** A geo point value representing a point on the surface of Earth. */ + geoPointValue?: LatLng; + /** An integer value. */ + integerValue?: string; + /** A map value. */ + mapValue?: MapValue; + /** A null value. */ + nullValue?: string; + /** + * A reference to a document. For example: + * `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + */ + referenceValue?: string; + /** + * A string value. + * + * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes. + * Only the first 1,500 bytes of the UTF-8 representation are considered by + * queries. + */ + stringValue?: string; + /** + * A timestamp value. + * + * Precise only to microseconds. When stored, any additional precision is + * rounded down. + */ + timestampValue?: string; + } + interface Write { + /** + * An optional precondition on the document. + * + * The write will fail if this is set and not met by the target document. + */ + currentDocument?: Precondition; + /** + * A document name to delete. In the format: + * `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + */ + delete?: string; + /** + * Applies a tranformation to a document. + * At most one `transform` per document is allowed in a given request. + * An `update` cannot follow a `transform` on the same document in a given + * request. + */ + transform?: DocumentTransform; + /** A document to write. */ + update?: Document; + /** + * The fields to update in this write. + * + * This field can be set only when the operation is `update`. + * None of the field paths in the mask may contain a reserved name. + * If the document exists on the server and has fields not referenced in the + * mask, they are left unchanged. + * Fields referenced in the mask, but not present in the input document, are + * deleted from the document on the server. + * The field paths in this mask must not contain a reserved field name. + */ + updateMask?: DocumentMask; + } + interface WriteRequest { + /** Labels associated with this write request. */ + labels?: Record<string, string>; + /** + * The ID of the write stream to resume. + * This may only be set in the first message. When left empty, a new write + * stream will be created. + */ + streamId?: string; + /** + * A stream token that was previously sent by the server. + * + * The client should set this field to the token from the most recent + * WriteResponse it has received. This acknowledges that the client has + * received responses up to this token. After sending this token, earlier + * tokens may not be used anymore. + * + * The server may close the stream if there are too many unacknowledged + * responses. + * + * Leave this field unset when creating a new stream. To resume a stream at + * a specific point, set this field and the `stream_id` field. + * + * Leave this field unset when creating a new stream. + */ + streamToken?: string; + /** + * The writes to apply. + * + * Always executed atomically and in order. + * This must be empty on the first request. + * This may be empty on the last request. + * This must not be empty on all other requests. + */ + writes?: Write[]; + } + interface WriteResponse { + /** The time at which the commit occurred. */ + commitTime?: string; + /** + * The ID of the stream. + * Only set on the first message, when a new stream was created. + */ + streamId?: string; + /** + * A token that represents the position of this response in the stream. + * This can be used by a client to resume the stream at this point. + * + * This field is always set. + */ + streamToken?: string; + /** + * The result of applying the writes. + * + * This i-th write result corresponds to the i-th write in the + * request. + */ + writeResults?: WriteResult[]; + } + interface WriteResult { + /** + * The results of applying each DocumentTransform.FieldTransform, in the + * same order. + */ + transformResults?: Value[]; + /** + * The last update time of the document after applying the write. Not set + * after a `delete`. + * + * If the write did not actually change the document, this will be the + * previous update_time. + */ + updateTime?: string; + } + interface DocumentsResource { + /** + * Gets multiple documents. + * + * Documents returned by this method are not guaranteed to be returned in the + * same order that they were requested. + */ + batchGet(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The database name. In the format: + * `projects/{project_id}/databases/{database_id}`. + */ + database: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<BatchGetDocumentsResponse>; + /** Starts a new transaction. */ + beginTransaction(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The database name. In the format: + * `projects/{project_id}/databases/{database_id}`. + */ + database: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<BeginTransactionResponse>; + /** Commits a transaction, while optionally updating documents. */ + commit(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The database name. In the format: + * `projects/{project_id}/databases/{database_id}`. + */ + database: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CommitResponse>; + /** Creates a new document. */ + createDocument(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The collection ID, relative to `parent`, to list. For example: `chatrooms`. */ + collectionId: string; + /** + * The client-assigned document ID to use for this document. + * + * Optional. If not specified, an ID will be assigned by the service. + */ + documentId?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The list of field paths in the mask. See Document.fields for a field + * path syntax reference. + */ + "mask.fieldPaths"?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The parent resource. For example: + * `projects/{project_id}/databases/{database_id}/documents` or + * `projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}` + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Document>; + /** Deletes a document. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * When set to `true`, the target document must exist. + * When set to `false`, the target document must not exist. + */ + "currentDocument.exists"?: boolean; + /** + * When set, the target document must exist and have been last updated at + * that time. + */ + "currentDocument.updateTime"?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the Document to delete. In the format: + * `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets a single document. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The list of field paths in the mask. See Document.fields for a field + * path syntax reference. + */ + "mask.fieldPaths"?: string; + /** + * The resource name of the Document to get. In the format: + * `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Reads the version of the document at the given time. + * This may not be older than 60 seconds. + */ + readTime?: string; + /** Reads the document in a transaction. */ + transaction?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Document>; + /** Lists documents. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The collection ID, relative to `parent`, to list. For example: `chatrooms` + * or `messages`. + */ + collectionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The list of field paths in the mask. See Document.fields for a field + * path syntax reference. + */ + "mask.fieldPaths"?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The order to sort results by. For example: `priority desc, name`. */ + orderBy?: string; + /** The maximum number of documents to return. */ + pageSize?: number; + /** The `next_page_token` value returned from a previous List request, if any. */ + pageToken?: string; + /** + * The parent resource name. In the format: + * `projects/{project_id}/databases/{database_id}/documents` or + * `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + * For example: + * `projects/my-project/databases/my-database/documents` or + * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom` + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Reads documents as they were at the given time. + * This may not be older than 60 seconds. + */ + readTime?: string; + /** + * If the list should show missing documents. A missing document is a + * document that does not exist but has sub-documents. These documents will + * be returned with a key but will not have fields, Document.create_time, + * or Document.update_time set. + * + * Requests with `show_missing` may not specify `where` or + * `order_by`. + */ + showMissing?: boolean; + /** Reads documents in a transaction. */ + transaction?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListDocumentsResponse>; + /** Lists all the collection IDs underneath a document. */ + listCollectionIds(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The maximum number of results to return. */ + pageSize?: number; + /** + * A page token. Must be a value from + * ListCollectionIdsResponse. + */ + pageToken?: string; + /** + * The parent document. In the format: + * `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + * For example: + * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom` + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListCollectionIdsResponse>; + /** Listens to changes. */ + listen(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The database name. In the format: + * `projects/{project_id}/databases/{database_id}`. + */ + database: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListenResponse>; + /** Updates or inserts a document. */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * When set to `true`, the target document must exist. + * When set to `false`, the target document must not exist. + */ + "currentDocument.exists"?: boolean; + /** + * When set, the target document must exist and have been last updated at + * that time. + */ + "currentDocument.updateTime"?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The list of field paths in the mask. See Document.fields for a field + * path syntax reference. + */ + "mask.fieldPaths"?: string; + /** + * The resource name of the document, for example + * `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The list of field paths in the mask. See Document.fields for a field + * path syntax reference. + */ + "updateMask.fieldPaths"?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Document>; + /** Rolls back a transaction. */ + rollback(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The database name. In the format: + * `projects/{project_id}/databases/{database_id}`. + */ + database: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Runs a query. */ + runQuery(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The parent resource name. In the format: + * `projects/{project_id}/databases/{database_id}/documents` or + * `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + * For example: + * `projects/my-project/databases/my-database/documents` or + * `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom` + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<RunQueryResponse>; + /** Streams batches of document updates and deletes, in order. */ + write(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The database name. In the format: + * `projects/{project_id}/databases/{database_id}`. + * This is only required in the first message. + */ + database: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<WriteResponse>; + } + interface IndexesResource { + /** + * Creates the specified index. + * A newly created index's initial state is `CREATING`. On completion of the + * returned google.longrunning.Operation, the state will be `READY`. + * If the index already exists, the call will return an `ALREADY_EXISTS` + * status. + * + * During creation, the process could result in an error, in which case the + * index will move to the `ERROR` state. The process can be recovered by + * fixing the data that caused the error, removing the index with + * delete, then re-creating the index with + * create. + * + * Indexes with a single field cannot be created. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The name of the database this index will apply to. For example: + * `projects/{project_id}/databases/{database_id}` + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** Deletes an index. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The index name. For example: + * `projects/{project_id}/databases/{database_id}/indexes/{index_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets an index. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The name of the index. For example: + * `projects/{project_id}/databases/{database_id}/indexes/{index_id}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Index>; + /** Lists the indexes that match the specified filters. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The standard List page size. */ + pageSize?: number; + /** The standard List page token. */ + pageToken?: string; + /** + * The database name. For example: + * `projects/{project_id}/databases/{database_id}` + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListIndexesResponse>; + } + interface DatabasesResource { + documents: DocumentsResource; + indexes: IndexesResource; + } + interface ProjectsResource { + databases: DatabasesResource; + } + } +} diff --git a/types/gapi.client.firestore/readme.md b/types/gapi.client.firestore/readme.md new file mode 100644 index 0000000000..8609bf31fb --- /dev/null +++ b/types/gapi.client.firestore/readme.md @@ -0,0 +1,57 @@ +# TypeScript typings for Google Cloud Firestore API v1beta1 + +For detailed description please check [documentation](https://cloud.google.com/firestore). + +## Installing + +Install typings for Google Cloud Firestore API: +``` +npm install @types/gapi.client.firestore@v1beta1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('firestore', 'v1beta1', () => { + // now we can use gapi.client.firestore + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View and manage your Google Cloud Datastore data + 'https://www.googleapis.com/auth/datastore', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Cloud Firestore API resources: + +```typescript +``` \ No newline at end of file diff --git a/types/gapi.client.firestore/tsconfig.json b/types/gapi.client.firestore/tsconfig.json new file mode 100644 index 0000000000..c15195612c --- /dev/null +++ b/types/gapi.client.firestore/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.firestore-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.firestore/tslint.json b/types/gapi.client.firestore/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.firestore/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.fitness/gapi.client.fitness-tests.ts b/types/gapi.client.fitness/gapi.client.fitness-tests.ts new file mode 100644 index 0000000000..81bcf6a5bf --- /dev/null +++ b/types/gapi.client.fitness/gapi.client.fitness-tests.ts @@ -0,0 +1,66 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('fitness', 'v1', () => { + /** now we can use gapi.client.fitness */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View your activity information in Google Fit */ + 'https://www.googleapis.com/auth/fitness.activity.read', + /** View and store your activity information in Google Fit */ + 'https://www.googleapis.com/auth/fitness.activity.write', + /** View blood glucose data in Google Fit */ + 'https://www.googleapis.com/auth/fitness.blood_glucose.read', + /** View and store blood glucose data in Google Fit */ + 'https://www.googleapis.com/auth/fitness.blood_glucose.write', + /** View blood pressure data in Google Fit */ + 'https://www.googleapis.com/auth/fitness.blood_pressure.read', + /** View and store blood pressure data in Google Fit */ + 'https://www.googleapis.com/auth/fitness.blood_pressure.write', + /** View body sensor information in Google Fit */ + 'https://www.googleapis.com/auth/fitness.body.read', + /** View and store body sensor data in Google Fit */ + 'https://www.googleapis.com/auth/fitness.body.write', + /** View body temperature data in Google Fit */ + 'https://www.googleapis.com/auth/fitness.body_temperature.read', + /** View and store body temperature data in Google Fit */ + 'https://www.googleapis.com/auth/fitness.body_temperature.write', + /** View your stored location data in Google Fit */ + 'https://www.googleapis.com/auth/fitness.location.read', + /** View and store your location data in Google Fit */ + 'https://www.googleapis.com/auth/fitness.location.write', + /** View nutrition information in Google Fit */ + 'https://www.googleapis.com/auth/fitness.nutrition.read', + /** View and store nutrition information in Google Fit */ + 'https://www.googleapis.com/auth/fitness.nutrition.write', + /** View oxygen saturation data in Google Fit */ + 'https://www.googleapis.com/auth/fitness.oxygen_saturation.read', + /** View and store oxygen saturation data in Google Fit */ + 'https://www.googleapis.com/auth/fitness.oxygen_saturation.write', + /** View reproductive health data in Google Fit */ + 'https://www.googleapis.com/auth/fitness.reproductive_health.read', + /** View and store reproductive health data in Google Fit */ + 'https://www.googleapis.com/auth/fitness.reproductive_health.write', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + } +}); diff --git a/types/gapi.client.fitness/index.d.ts b/types/gapi.client.fitness/index.d.ts new file mode 100644 index 0000000000..a5b2f034d5 --- /dev/null +++ b/types/gapi.client.fitness/index.d.ts @@ -0,0 +1,767 @@ +// Type definitions for Google Fitness v1 1.0 +// Project: https://developers.google.com/fit/rest/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/fitness/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Fitness v1 */ + function load(name: "fitness", version: "v1"): PromiseLike<void>; + function load(name: "fitness", version: "v1", callback: () => any): void; + + const users: fitness.UsersResource; + + namespace fitness { + interface AggregateBucket { + /** Available for Bucket.Type.ACTIVITY_TYPE, Bucket.Type.ACTIVITY_SEGMENT */ + activity?: number; + /** There will be one dataset per AggregateBy in the request. */ + dataset?: Dataset[]; + /** The end time for the aggregated data, in milliseconds since epoch, inclusive. */ + endTimeMillis?: string; + /** Available for Bucket.Type.SESSION */ + session?: Session; + /** The start time for the aggregated data, in milliseconds since epoch, inclusive. */ + startTimeMillis?: string; + /** The type of a bucket signifies how the data aggregation is performed in the bucket. */ + type?: string; + } + interface AggregateBy { + /** + * A data source ID to aggregate. Mutually exclusive of dataTypeName. Only data from the specified data source ID will be included in the aggregation. The + * dataset in the response will have the same data source ID. + */ + dataSourceId?: string; + /** + * The data type to aggregate. All data sources providing this data type will contribute data to the aggregation. The response will contain a single + * dataset for this data type name. The dataset will have a data source ID of derived:com.google.:com.google.android.gms:aggregated + */ + dataTypeName?: string; + } + interface AggregateRequest { + /** + * The specification of data to be aggregated. At least one aggregateBy spec must be provided. All data that is specified will be aggregated using the + * same bucketing criteria. There will be one dataset in the response for every aggregateBy spec. + */ + aggregateBy?: AggregateBy[]; + /** + * Specifies that data be aggregated each activity segment recored for a user. Similar to bucketByActivitySegment, but bucketing is done for each activity + * segment rather than all segments of the same type. Mutually exclusive of other bucketing specifications. + */ + bucketByActivitySegment?: BucketByActivity; + /** + * Specifies that data be aggregated by the type of activity being performed when the data was recorded. All data that was recorded during a certain + * activity type (for the given time range) will be aggregated into the same bucket. Data that was recorded while the user was not active will not be + * included in the response. Mutually exclusive of other bucketing specifications. + */ + bucketByActivityType?: BucketByActivity; + /** + * Specifies that data be aggregated by user sessions. Data that does not fall within the time range of a session will not be included in the response. + * Mutually exclusive of other bucketing specifications. + */ + bucketBySession?: BucketBySession; + /** Specifies that data be aggregated by a single time interval. Mutually exclusive of other bucketing specifications. */ + bucketByTime?: BucketByTime; + /** The end of a window of time. Data that intersects with this time window will be aggregated. The time is in milliseconds since epoch, inclusive. */ + endTimeMillis?: string; + /** + * A list of acceptable data quality standards. Only data points which conform to at least one of the specified data quality standards will be returned. + * If the list is empty, all data points are returned. + */ + filteredDataQualityStandard?: string[]; + /** The start of a window of time. Data that intersects with this time window will be aggregated. The time is in milliseconds since epoch, inclusive. */ + startTimeMillis?: string; + } + interface AggregateResponse { + /** A list of buckets containing the aggregated data. */ + bucket?: AggregateBucket[]; + } + interface Application { + /** An optional URI that can be used to link back to the application. */ + detailsUrl?: string; + /** + * The name of this application. This is required for REST clients, but we do not enforce uniqueness of this name. It is provided as a matter of + * convenience for other developers who would like to identify which REST created an Application or Data Source. + */ + name?: string; + /** + * Package name for this application. This is used as a unique identifier when created by Android applications, but cannot be specified by REST clients. + * REST clients will have their developer project number reflected into the Data Source data stream IDs, instead of the packageName. + */ + packageName?: string; + /** Version of the application. You should update this field whenever the application changes in a way that affects the computation of the data. */ + version?: string; + } + interface BucketByActivity { + /** The default activity stream will be used if a specific activityDataSourceId is not specified. */ + activityDataSourceId?: string; + /** Specifies that only activity segments of duration longer than minDurationMillis are considered and used as a container for aggregated data. */ + minDurationMillis?: string; + } + interface BucketBySession { + /** Specifies that only sessions of duration longer than minDurationMillis are considered and used as a container for aggregated data. */ + minDurationMillis?: string; + } + interface BucketByTime { + /** + * Specifies that result buckets aggregate data by exactly durationMillis time frames. Time frames that contain no data will be included in the response + * with an empty dataset. + */ + durationMillis?: string; + period?: BucketByTimePeriod; + } + interface BucketByTimePeriod { + /** org.joda.timezone.DateTimeZone */ + timeZoneId?: string; + type?: string; + value?: number; + } + interface DataPoint { + /** Used for version checking during transformation; that is, a datapoint can only replace another datapoint that has an older computation time stamp. */ + computationTimeMillis?: string; + /** The data type defining the format of the values in this data point. */ + dataTypeName?: string; + /** The end time of the interval represented by this data point, in nanoseconds since epoch. */ + endTimeNanos?: string; + /** + * Indicates the last time this data point was modified. Useful only in contexts where we are listing the data changes, rather than representing the + * current state of the data. + */ + modifiedTimeMillis?: string; + /** + * If the data point is contained in a dataset for a derived data source, this field will be populated with the data source stream ID that created the + * data point originally. + */ + originDataSourceId?: string; + /** The raw timestamp from the original SensorEvent. */ + rawTimestampNanos?: string; + /** The start time of the interval represented by this data point, in nanoseconds since epoch. */ + startTimeNanos?: string; + /** + * Values of each data type field for the data point. It is expected that each value corresponding to a data type field will occur in the same order that + * the field is listed with in the data type specified in a data source. + * + * Only one of integer and floating point fields will be populated, depending on the format enum value within data source's type field. + */ + value?: Value[]; + } + interface DataSource { + /** Information about an application which feeds sensor data into the platform. */ + application?: Application; + dataQualityStandard?: string[]; + /** + * A unique identifier for the data stream produced by this data source. The identifier includes: + * + * + * - The physical device's manufacturer, model, and serial number (UID). + * - The application's package name or name. Package name is used when the data source was created by an Android application. The developer project number + * is used when the data source was created by a REST client. + * - The data source's type. + * - The data source's stream name. Note that not all attributes of the data source are used as part of the stream identifier. In particular, the version + * of the hardware/the application isn't used. This allows us to preserve the same stream through version updates. This also means that two DataSource + * objects may represent the same data stream even if they're not equal. + * + * The exact format of the data stream ID created by an Android application is: + * type:dataType.name:application.packageName:device.manufacturer:device.model:device.uid:dataStreamName + * + * The exact format of the data stream ID created by a REST client is: type:dataType.name:developer project + * number:device.manufacturer:device.model:device.uid:dataStreamName + * + * When any of the optional fields that comprise of the data stream ID are blank, they will be omitted from the data stream ID. The minimum viable data + * stream ID would be: type:dataType.name:developer project number + * + * Finally, the developer project number is obfuscated when read by any REST or Android client that did not create the data source. Only the data source + * creator will see the developer project number in clear and normal form. + */ + dataStreamId?: string; + /** + * The stream name uniquely identifies this particular data source among other data sources of the same type from the same underlying producer. Setting + * the stream name is optional, but should be done whenever an application exposes two streams for the same data type, or when a device has two equivalent + * sensors. + */ + dataStreamName?: string; + /** The data type defines the schema for a stream of data being collected by, inserted into, or queried from the Fitness API. */ + dataType?: DataType; + /** Representation of an integrated device (such as a phone or a wearable) that can hold sensors. */ + device?: Device; + /** An end-user visible name for this data source. */ + name?: string; + /** A constant describing the type of this data source. Indicates whether this data source produces raw or derived data. */ + type?: string; + } + interface DataType { + /** A field represents one dimension of a data type. */ + field?: DataTypeField[]; + /** Each data type has a unique, namespaced, name. All data types in the com.google namespace are shared as part of the platform. */ + name?: string; + } + interface DataTypeField { + /** The different supported formats for each field in a data type. */ + format?: string; + /** Defines the name and format of data. Unlike data type names, field names are not namespaced, and only need to be unique within the data type. */ + name?: string; + optional?: boolean; + } + interface Dataset { + /** The data stream ID of the data source that created the points in this dataset. */ + dataSourceId?: string; + /** + * The largest end time of all data points in this possibly partial representation of the dataset. Time is in nanoseconds from epoch. This should also + * match the first part of the dataset identifier. + */ + maxEndTimeNs?: string; + /** + * The smallest start time of all data points in this possibly partial representation of the dataset. Time is in nanoseconds from epoch. This should also + * match the first part of the dataset identifier. + */ + minStartTimeNs?: string; + /** + * This token will be set when a dataset is received in response to a GET request and the dataset is too large to be included in a single response. + * Provide this value in a subsequent GET request to return the next page of data points within this dataset. + */ + nextPageToken?: string; + /** + * A partial list of data points contained in the dataset, ordered by largest endTimeNanos first. This list is considered complete when retrieving a small + * dataset and partial when patching a dataset or retrieving a dataset that is too large to include in a single response. + */ + point?: DataPoint[]; + } + interface Device { + /** Manufacturer of the product/hardware. */ + manufacturer?: string; + /** End-user visible model name for the device. */ + model?: string; + /** A constant representing the type of the device. */ + type?: string; + /** + * The serial number or other unique ID for the hardware. This field is obfuscated when read by any REST or Android client that did not create the data + * source. Only the data source creator will see the uid field in clear and normal form. + */ + uid?: string; + /** Version string for the device hardware/software. */ + version?: string; + } + interface ListDataPointChangesResponse { + /** The data stream ID of the data source with data point changes. */ + dataSourceId?: string; + /** Deleted data points for the user. Note, for modifications this should be parsed before handling insertions. */ + deletedDataPoint?: DataPoint[]; + /** Inserted data points for the user. */ + insertedDataPoint?: DataPoint[]; + /** The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */ + nextPageToken?: string; + } + interface ListDataSourcesResponse { + /** A previously created data source. */ + dataSource?: DataSource[]; + } + interface ListSessionsResponse { + /** + * If includeDeleted is set to true in the request, this list will contain sessions deleted with original end times that are within the startTime and + * endTime frame. + */ + deletedSession?: Session[]; + /** Flag to indicate server has more data to transfer */ + hasMoreData?: boolean; + /** The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */ + nextPageToken?: string; + /** Sessions with an end time that is between startTime and endTime of the request. */ + session?: Session[]; + } + interface MapValue { + /** Floating point value. */ + fpVal?: number; + } + interface Session { + /** + * Session active time. While start_time_millis and end_time_millis define the full session time, the active time can be shorter and specified by + * active_time_millis. If the inactive time during the session is known, it should also be inserted via a com.google.activity.segment data point with a + * STILL activity value + */ + activeTimeMillis?: string; + /** The type of activity this session represents. */ + activityType?: number; + /** The application that created the session. */ + application?: Application; + /** A description for this session. */ + description?: string; + /** An end time, in milliseconds since epoch, inclusive. */ + endTimeMillis?: string; + /** A client-generated identifier that is unique across all sessions owned by this particular user. */ + id?: string; + /** A timestamp that indicates when the session was last modified. */ + modifiedTimeMillis?: string; + /** A human readable name of the session. */ + name?: string; + /** A start time, in milliseconds since epoch, inclusive. */ + startTimeMillis?: string; + } + interface Value { + /** Floating point value. When this is set, other values must not be set. */ + fpVal?: number; + /** Integer value. When this is set, other values must not be set. */ + intVal?: number; + /** + * Map value. The valid key space and units for the corresponding value of each entry should be documented as part of the data type definition. Keys + * should be kept small whenever possible. Data streams with large keys and high data frequency may be down sampled. + */ + mapVal?: ValueMapValEntry[]; + /** + * String value. When this is set, other values must not be set. Strings should be kept small whenever possible. Data streams with large string values and + * high data frequency may be down sampled. + */ + stringVal?: string; + } + interface ValueMapValEntry { + key?: string; + value?: MapValue; + } + interface DataPointChangesResource { + /** Queries for user's data point changes for a particular data source. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The data stream ID of the data source that created the dataset. */ + dataSourceId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** If specified, no more than this many data point changes will be included in the response. */ + limit?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of + * nextPageToken from the previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** List data points for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListDataPointChangesResponse>; + } + interface DatasetsResource { + /** + * Performs an inclusive delete of all data points whose start and end times have any overlap with the time range specified by the dataset ID. For most + * data types, the entire data point will be deleted. For data types where the time span represents a consistent value (such as + * com.google.activity.segment), and a data point straddles either end point of the dataset, only the overlapping portion of the data point will be + * deleted. + */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The client's current time in milliseconds since epoch. */ + currentTimeMillis?: string; + /** The data stream ID of the data source that created the dataset. */ + dataSourceId: string; + /** + * Dataset identifier that is a composite of the minimum data point start time and maximum data point end time represented as nanoseconds from the epoch. + * The ID is formatted like: "startTime-endTime" where startTime and endTime are 64 bit integers. + */ + datasetId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** When the operation was performed on the client. */ + modifiedTimeMillis?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Delete a dataset for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Returns a dataset containing all data points whose start and end times overlap with the specified range of the dataset minimum start time and maximum + * end time. Specifically, any data point whose start time is less than or equal to the dataset end time and whose end time is greater than or equal to + * the dataset start time. + */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The data stream ID of the data source that created the dataset. */ + dataSourceId: string; + /** + * Dataset identifier that is a composite of the minimum data point start time and maximum data point end time represented as nanoseconds from the epoch. + * The ID is formatted like: "startTime-endTime" where startTime and endTime are 64 bit integers. + */ + datasetId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * If specified, no more than this many data points will be included in the dataset. If there are more data points in the dataset, nextPageToken will be + * set in the dataset response. + */ + limit?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The continuation token, which is used to page through large datasets. To get the next page of a dataset, set this parameter to the value of + * nextPageToken from the previous response. Each subsequent call will yield a partial dataset with data point end timestamps that are strictly smaller + * than those in the previous partial response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Retrieve a dataset for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Dataset>; + /** + * Adds data points to a dataset. The dataset need not be previously created. All points within the given dataset will be returned with subsquent calls to + * retrieve this dataset. Data points can belong to more than one dataset. This method does not use patch semantics. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** + * The client's current time in milliseconds since epoch. Note that the minStartTimeNs and maxEndTimeNs properties in the request body are in nanoseconds + * instead of milliseconds. + */ + currentTimeMillis?: string; + /** The data stream ID of the data source that created the dataset. */ + dataSourceId: string; + /** + * Dataset identifier that is a composite of the minimum data point start time and maximum data point end time represented as nanoseconds from the epoch. + * The ID is formatted like: "startTime-endTime" where startTime and endTime are 64 bit integers. + */ + datasetId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Patch a dataset for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Dataset>; + } + interface DataSourcesResource { + /** + * Creates a new data source that is unique across all data sources belonging to this user. The data stream ID field can be omitted and will be generated + * by the server with the correct format. The data stream ID is an ordered combination of some fields from the data source. In addition to the data source + * fields reflected into the data source ID, the developer project number that is authenticated when creating the data source is included. This developer + * project number is obfuscated when read by any other developer reading public data types. + */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Create the data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DataSource>; + /** Deletes the specified data source. The request will fail if the data source contains any data points. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The data stream ID of the data source to delete. */ + dataSourceId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Retrieve a data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DataSource>; + /** Returns the specified data source. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The data stream ID of the data source to retrieve. */ + dataSourceId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Retrieve a data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DataSource>; + /** + * Lists all data sources that are visible to the developer, using the OAuth scopes provided. The list is not exhaustive; the user may have private data + * sources that are only visible to other developers, or calls using other scopes. + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The names of data types to include in the list. If not specified, all data sources will be returned. */ + dataTypeName?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** List data sources for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListDataSourcesResponse>; + /** + * Updates the specified data source. The dataStreamId, dataType, type, dataStreamName, and device properties with the exception of version, cannot be + * modified. + * + * Data sources are identified by their dataStreamId. This method supports patch semantics. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** The data stream ID of the data source to update. */ + dataSourceId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Update the data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DataSource>; + /** + * Updates the specified data source. The dataStreamId, dataType, type, dataStreamName, and device properties with the exception of version, cannot be + * modified. + * + * Data sources are identified by their dataStreamId. + */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** The data stream ID of the data source to update. */ + dataSourceId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Update the data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DataSource>; + dataPointChanges: DataPointChangesResource; + datasets: DatasetsResource; + } + interface DatasetResource { + /** + * Aggregates data of a certain type or stream into buckets divided by a given type of boundary. Multiple data sets of multiple types and from multiple + * sources can be aggreated into exactly one bucket type per request. + */ + aggregate(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Aggregate data for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AggregateResponse>; + } + interface SessionsResource { + /** Deletes a session specified by the given session ID. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The client's current time in milliseconds since epoch. */ + currentTimeMillis?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the session to be deleted. */ + sessionId: string; + /** Delete a session for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Lists sessions previously created. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** An RFC3339 timestamp. Only sessions ending between the start and end times will be included in the response. */ + endTime?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * If true, deleted sessions will be returned. When set to true, sessions returned in this response will only have an ID and will not have any other + * fields. + */ + includeDeleted?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of + * nextPageToken from the previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** An RFC3339 timestamp. Only sessions ending between the start and end times will be included in the response. */ + startTime?: string; + /** List sessions for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListSessionsResponse>; + /** Updates or insert a given session. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** The client's current time in milliseconds since epoch. */ + currentTimeMillis?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the session to be created. */ + sessionId: string; + /** Create sessions for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Session>; + } + interface UsersResource { + dataSources: DataSourcesResource; + dataset: DatasetResource; + sessions: SessionsResource; + } + } +} diff --git a/types/gapi.client.fitness/readme.md b/types/gapi.client.fitness/readme.md new file mode 100644 index 0000000000..e8dee74aba --- /dev/null +++ b/types/gapi.client.fitness/readme.md @@ -0,0 +1,105 @@ +# TypeScript typings for Fitness v1 +Stores and accesses user data in the fitness store from apps on any platform. +For detailed description please check [documentation](https://developers.google.com/fit/rest/). + +## Installing + +Install typings for Fitness: +``` +npm install @types/gapi.client.fitness@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('fitness', 'v1', () => { + // now we can use gapi.client.fitness + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View your activity information in Google Fit + 'https://www.googleapis.com/auth/fitness.activity.read', + + // View and store your activity information in Google Fit + 'https://www.googleapis.com/auth/fitness.activity.write', + + // View blood glucose data in Google Fit + 'https://www.googleapis.com/auth/fitness.blood_glucose.read', + + // View and store blood glucose data in Google Fit + 'https://www.googleapis.com/auth/fitness.blood_glucose.write', + + // View blood pressure data in Google Fit + 'https://www.googleapis.com/auth/fitness.blood_pressure.read', + + // View and store blood pressure data in Google Fit + 'https://www.googleapis.com/auth/fitness.blood_pressure.write', + + // View body sensor information in Google Fit + 'https://www.googleapis.com/auth/fitness.body.read', + + // View and store body sensor data in Google Fit + 'https://www.googleapis.com/auth/fitness.body.write', + + // View body temperature data in Google Fit + 'https://www.googleapis.com/auth/fitness.body_temperature.read', + + // View and store body temperature data in Google Fit + 'https://www.googleapis.com/auth/fitness.body_temperature.write', + + // View your stored location data in Google Fit + 'https://www.googleapis.com/auth/fitness.location.read', + + // View and store your location data in Google Fit + 'https://www.googleapis.com/auth/fitness.location.write', + + // View nutrition information in Google Fit + 'https://www.googleapis.com/auth/fitness.nutrition.read', + + // View and store nutrition information in Google Fit + 'https://www.googleapis.com/auth/fitness.nutrition.write', + + // View oxygen saturation data in Google Fit + 'https://www.googleapis.com/auth/fitness.oxygen_saturation.read', + + // View and store oxygen saturation data in Google Fit + 'https://www.googleapis.com/auth/fitness.oxygen_saturation.write', + + // View reproductive health data in Google Fit + 'https://www.googleapis.com/auth/fitness.reproductive_health.read', + + // View and store reproductive health data in Google Fit + 'https://www.googleapis.com/auth/fitness.reproductive_health.write', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Fitness resources: + +```typescript +``` \ No newline at end of file diff --git a/types/gapi.client.fitness/tsconfig.json b/types/gapi.client.fitness/tsconfig.json new file mode 100644 index 0000000000..d165e53085 --- /dev/null +++ b/types/gapi.client.fitness/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.fitness-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.fitness/tslint.json b/types/gapi.client.fitness/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.fitness/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.fusiontables/gapi.client.fusiontables-tests.ts b/types/gapi.client.fusiontables/gapi.client.fusiontables-tests.ts new file mode 100644 index 0000000000..3ce93fc7f1 --- /dev/null +++ b/types/gapi.client.fusiontables/gapi.client.fusiontables-tests.ts @@ -0,0 +1,225 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('fusiontables', 'v2', () => { + /** now we can use gapi.client.fusiontables */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage your Fusion Tables */ + 'https://www.googleapis.com/auth/fusiontables', + /** View your Fusion Tables */ + 'https://www.googleapis.com/auth/fusiontables.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Deletes the specified column. */ + await gapi.client.column.delete({ + columnId: "columnId", + tableId: "tableId", + }); + /** Retrieves a specific column by its ID. */ + await gapi.client.column.get({ + columnId: "columnId", + tableId: "tableId", + }); + /** Adds a new column to the table. */ + await gapi.client.column.insert({ + tableId: "tableId", + }); + /** Retrieves a list of columns. */ + await gapi.client.column.list({ + maxResults: 1, + pageToken: "pageToken", + tableId: "tableId", + }); + /** Updates the name or type of an existing column. This method supports patch semantics. */ + await gapi.client.column.patch({ + columnId: "columnId", + tableId: "tableId", + }); + /** Updates the name or type of an existing column. */ + await gapi.client.column.update({ + columnId: "columnId", + tableId: "tableId", + }); + /** + * Executes a Fusion Tables SQL statement, which can be any of + * - SELECT + * - INSERT + * - UPDATE + * - DELETE + * - SHOW + * - DESCRIBE + * - CREATE statement. + */ + await gapi.client.query.sql({ + hdrs: true, + sql: "sql", + typed: true, + }); + /** + * Executes a SQL statement which can be any of + * - SELECT + * - SHOW + * - DESCRIBE + */ + await gapi.client.query.sqlGet({ + hdrs: true, + sql: "sql", + typed: true, + }); + /** Deletes a style. */ + await gapi.client.style.delete({ + styleId: 1, + tableId: "tableId", + }); + /** Gets a specific style. */ + await gapi.client.style.get({ + styleId: 1, + tableId: "tableId", + }); + /** Adds a new style for the table. */ + await gapi.client.style.insert({ + tableId: "tableId", + }); + /** Retrieves a list of styles. */ + await gapi.client.style.list({ + maxResults: 1, + pageToken: "pageToken", + tableId: "tableId", + }); + /** Updates an existing style. This method supports patch semantics. */ + await gapi.client.style.patch({ + styleId: 1, + tableId: "tableId", + }); + /** Updates an existing style. */ + await gapi.client.style.update({ + styleId: 1, + tableId: "tableId", + }); + /** Copies a table. */ + await gapi.client.table.copy({ + copyPresentation: true, + tableId: "tableId", + }); + /** Deletes a table. */ + await gapi.client.table.delete({ + tableId: "tableId", + }); + /** Retrieves a specific table by its ID. */ + await gapi.client.table.get({ + tableId: "tableId", + }); + /** Imports more rows into a table. */ + await gapi.client.table.importRows({ + delimiter: "delimiter", + encoding: "encoding", + endLine: 3, + isStrict: true, + startLine: 5, + tableId: "tableId", + }); + /** Imports a new table. */ + await gapi.client.table.importTable({ + delimiter: "delimiter", + encoding: "encoding", + name: "name", + }); + /** Creates a new table. */ + await gapi.client.table.insert({ + }); + /** Retrieves a list of tables a user owns. */ + await gapi.client.table.list({ + maxResults: 1, + pageToken: "pageToken", + }); + /** + * Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. This method supports patch + * semantics. + */ + await gapi.client.table.patch({ + replaceViewDefinition: true, + tableId: "tableId", + }); + /** Replaces rows of an existing table. Current rows remain visible until all replacement rows are ready. */ + await gapi.client.table.replaceRows({ + delimiter: "delimiter", + encoding: "encoding", + endLine: 3, + isStrict: true, + startLine: 5, + tableId: "tableId", + }); + /** Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. */ + await gapi.client.table.update({ + replaceViewDefinition: true, + tableId: "tableId", + }); + /** Deletes a specific task by its ID, unless that task has already started running. */ + await gapi.client.task.delete({ + tableId: "tableId", + taskId: "taskId", + }); + /** Retrieves a specific task by its ID. */ + await gapi.client.task.get({ + tableId: "tableId", + taskId: "taskId", + }); + /** Retrieves a list of tasks. */ + await gapi.client.task.list({ + maxResults: 1, + pageToken: "pageToken", + startIndex: 3, + tableId: "tableId", + }); + /** Deletes a template */ + await gapi.client.template.delete({ + tableId: "tableId", + templateId: 2, + }); + /** Retrieves a specific template by its id */ + await gapi.client.template.get({ + tableId: "tableId", + templateId: 2, + }); + /** Creates a new template for the table. */ + await gapi.client.template.insert({ + tableId: "tableId", + }); + /** Retrieves a list of templates. */ + await gapi.client.template.list({ + maxResults: 1, + pageToken: "pageToken", + tableId: "tableId", + }); + /** Updates an existing template. This method supports patch semantics. */ + await gapi.client.template.patch({ + tableId: "tableId", + templateId: 2, + }); + /** Updates an existing template */ + await gapi.client.template.update({ + tableId: "tableId", + templateId: 2, + }); + } +}); diff --git a/types/gapi.client.fusiontables/index.d.ts b/types/gapi.client.fusiontables/index.d.ts new file mode 100644 index 0000000000..95750c8f38 --- /dev/null +++ b/types/gapi.client.fusiontables/index.d.ts @@ -0,0 +1,1188 @@ +// Type definitions for Google Fusion Tables API v2 2.0 +// Project: https://developers.google.com/fusiontables +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/fusiontables/v2/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Fusion Tables API v2 */ + function load(name: "fusiontables", version: "v2"): PromiseLike<void>; + function load(name: "fusiontables", version: "v2", callback: () => any): void; + + const column: fusiontables.ColumnResource; + + const query: fusiontables.QueryResource; + + const style: fusiontables.StyleResource; + + const table: fusiontables.TableResource; + + const task: fusiontables.TaskResource; + + const template: fusiontables.TemplateResource; + + namespace fusiontables { + interface Bucket { + /** Color of line or the interior of a polygon in #RRGGBB format. */ + color?: string; + /** Icon name used for a point. */ + icon?: string; + /** Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. */ + max?: number; + /** Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. */ + min?: number; + /** Opacity of the color: 0.0 (transparent) to 1.0 (opaque). */ + opacity?: number; + /** Width of a line (in pixels). */ + weight?: number; + } + interface Column { + /** Identifier of the base column. If present, this column is derived from the specified base column. */ + baseColumn?: { + /** The id of the column in the base table from which this column is derived. */ + columnId?: number; + /** Offset to the entry in the list of base tables in the table definition. */ + tableIndex?: number; + }; + /** Identifier for the column. */ + columnId?: number; + /** JSON schema for interpreting JSON in this column. */ + columnJsonSchema?: string; + /** JSON object containing custom column properties. */ + columnPropertiesJson?: string; + /** Column description. */ + description?: string; + /** + * Format pattern. + * Acceptable values are DT_DATE_MEDIUMe.g Dec 24, 2008 DT_DATE_SHORTfor example 12/24/08 DT_DATE_TIME_MEDIUMfor example Dec 24, 2008 8:30:45 PM + * DT_DATE_TIME_SHORTfor example 12/24/08 8:30 PM DT_DAY_MONTH_2_DIGIT_YEARfor example 24/12/08 DT_DAY_MONTH_2_DIGIT_YEAR_TIMEfor example 24/12/08 20:30 + * DT_DAY_MONTH_2_DIGIT_YEAR_TIME_MERIDIANfor example 24/12/08 8:30 PM DT_DAY_MONTH_4_DIGIT_YEARfor example 24/12/2008 DT_DAY_MONTH_4_DIGIT_YEAR_TIMEfor + * example 24/12/2008 20:30 DT_DAY_MONTH_4_DIGIT_YEAR_TIME_MERIDIANfor example 24/12/2008 8:30 PM DT_ISO_YEAR_MONTH_DAYfor example 2008-12-24 + * DT_ISO_YEAR_MONTH_DAY_TIMEfor example 2008-12-24 20:30:45 DT_MONTH_DAY_4_DIGIT_YEARfor example 12/24/2008 DT_TIME_LONGfor example 8:30:45 PM UTC-6 + * DT_TIME_MEDIUMfor example 8:30:45 PM DT_TIME_SHORTfor example 8:30 PM DT_YEAR_ONLYfor example 2008 HIGHLIGHT_UNTYPED_CELLSHighlight cell data that does + * not match the data type NONENo formatting (default) NUMBER_CURRENCYfor example $1234.56 NUMBER_DEFAULTfor example 1,234.56 NUMBER_INTEGERfor example + * 1235 NUMBER_NO_SEPARATORfor example 1234.56 NUMBER_PERCENTfor example 123,456% NUMBER_SCIENTIFICfor example 1E3 STRING_EIGHT_LINE_IMAGEDisplays + * thumbnail images as tall as eight lines of text STRING_FOUR_LINE_IMAGEDisplays thumbnail images as tall as four lines of text STRING_JSON_TEXTAllows + * editing of text as JSON in UI STRING_JSON_LISTAllows editing of text as a JSON list in UI STRING_LINKTreats cell as a link (must start with http:// or + * https://) STRING_ONE_LINE_IMAGEDisplays thumbnail images as tall as one line of text STRING_VIDEO_OR_MAPDisplay a video or map thumbnail + */ + formatPattern?: string; + /** + * Column graph predicate. + * Used to map table to graph data model (subject,predicate,object) + * See W3C Graph-based Data Model. + */ + graphPredicate?: string; + /** The kind of item this is. For a column, this is always fusiontables#column. */ + kind?: string; + /** Name of the column. */ + name?: string; + /** Type of the column. */ + type?: string; + /** List of valid values used to validate data and supply a drop-down list of values in the web application. */ + validValues?: string[]; + /** If true, data entered via the web application is validated. */ + validateData?: boolean; + } + interface ColumnList { + /** List of all requested columns. */ + items?: Column[]; + /** The kind of item this is. For a column list, this is always fusiontables#columnList. */ + kind?: string; + /** Token used to access the next page of this result. No token is displayed if there are no more pages left. */ + nextPageToken?: string; + /** Total number of columns for the table. */ + totalItems?: number; + } + interface Geometry { + /** The list of geometries in this geometry collection. */ + geometries?: any[]; + geometry?: any; + /** Type: A collection of geometries. */ + type?: string; + } + interface Import { + /** The kind of item this is. For an import, this is always fusiontables#import. */ + kind?: string; + /** The number of rows received from the import request. */ + numRowsReceived?: string; + } + interface Line { + /** The coordinates that define the line. */ + coordinates?: number[][]; + /** Type: A line geometry. */ + type?: string; + } + interface LineStyle { + /** Color of the line in #RRGGBB format. */ + strokeColor?: string; + /** Column-value, gradient or buckets styler that is used to determine the line color and opacity. */ + strokeColorStyler?: StyleFunction; + /** Opacity of the line : 0.0 (transparent) to 1.0 (opaque). */ + strokeOpacity?: number; + /** Width of the line in pixels. */ + strokeWeight?: number; + /** Column-value or bucket styler that is used to determine the width of the line. */ + strokeWeightStyler?: StyleFunction; + } + interface Point { + /** The coordinates that define the point. */ + coordinates?: number[]; + /** Point: A point geometry. */ + type?: string; + } + interface PointStyle { + /** Name of the icon. Use values defined in http://www.google.com/fusiontables/DataSource?dsrcid=308519 */ + iconName?: string; + /** Column or a bucket value from which the icon name is to be determined. */ + iconStyler?: StyleFunction; + } + interface Polygon { + /** The coordinates that define the polygon. */ + coordinates?: number[][][]; + /** Type: A polygon geometry. */ + type?: string; + } + interface PolygonStyle { + /** Color of the interior of the polygon in #RRGGBB format. */ + fillColor?: string; + /** Column-value, gradient, or bucket styler that is used to determine the interior color and opacity of the polygon. */ + fillColorStyler?: StyleFunction; + /** Opacity of the interior of the polygon: 0.0 (transparent) to 1.0 (opaque). */ + fillOpacity?: number; + /** Color of the polygon border in #RRGGBB format. */ + strokeColor?: string; + /** Column-value, gradient or buckets styler that is used to determine the border color and opacity. */ + strokeColorStyler?: StyleFunction; + /** Opacity of the polygon border: 0.0 (transparent) to 1.0 (opaque). */ + strokeOpacity?: number; + /** Width of the polyon border in pixels. */ + strokeWeight?: number; + /** Column-value or bucket styler that is used to determine the width of the polygon border. */ + strokeWeightStyler?: StyleFunction; + } + interface Sqlresponse { + /** Columns in the table. */ + columns?: string[]; + /** The kind of item this is. For responses to SQL queries, this is always fusiontables#sqlresponse. */ + kind?: string; + /** + * The rows in the table. For each cell we print out whatever cell value (e.g., numeric, string) exists. Thus it is important that each cell contains only + * one value. + */ + rows?: any[][]; + } + interface StyleFunction { + /** Bucket function that assigns a style based on the range a column value falls into. */ + buckets?: Bucket[]; + /** Name of the column whose value is used in the style. */ + columnName?: string; + /** Gradient function that interpolates a range of colors based on column value. */ + gradient?: { + /** Array with two or more colors. */ + colors?: Array<{ + /** Color in #RRGGBB format. */ + color?: string; + /** Opacity of the color: 0.0 (transparent) to 1.0 (opaque). */ + opacity?: number; + }>; + /** Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. */ + max?: number; + /** Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. */ + min?: number; + }; + /** + * Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in + * #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function + * on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. + */ + kind?: string; + } + interface StyleSetting { + /** + * The kind of item this is. A StyleSetting contains the style definitions for points, lines, and polygons in a table. Since a table can have any one or + * all of them, a style definition can have point, line and polygon style definitions. + */ + kind?: string; + /** Style definition for points in the table. */ + markerOptions?: PointStyle; + /** Optional name for the style setting. */ + name?: string; + /** Style definition for polygons in the table. */ + polygonOptions?: PolygonStyle; + /** Style definition for lines in the table. */ + polylineOptions?: LineStyle; + /** Identifier for the style setting (unique only within tables). */ + styleId?: number; + /** Identifier for the table. */ + tableId?: string; + } + interface StyleSettingList { + /** All requested style settings. */ + items?: StyleSetting[]; + /** The kind of item this is. For a style list, this is always fusiontables#styleSettingList . */ + kind?: string; + /** Token used to access the next page of this result. No token is displayed if there are no more styles left. */ + nextPageToken?: string; + /** Total number of styles for the table. */ + totalItems?: number; + } + interface Table { + /** Attribution assigned to the table. */ + attribution?: string; + /** Optional link for attribution. */ + attributionLink?: string; + /** Base table identifier if this table is a view or merged table. */ + baseTableIds?: string[]; + /** Default JSON schema for validating all JSON column properties. */ + columnPropertiesJsonSchema?: string; + /** Columns in the table. */ + columns?: Column[]; + /** Description assigned to the table. */ + description?: string; + /** Variable for whether table is exportable. */ + isExportable?: boolean; + /** The kind of item this is. For a table, this is always fusiontables#table. */ + kind?: string; + /** Name assigned to a table. */ + name?: string; + /** SQL that encodes the table definition for derived tables. */ + sql?: string; + /** Encrypted unique alphanumeric identifier for the table. */ + tableId?: string; + /** JSON object containing custom table properties. */ + tablePropertiesJson?: string; + /** JSON schema for validating the JSON table properties. */ + tablePropertiesJsonSchema?: string; + } + interface TableList { + /** List of all requested tables. */ + items?: Table[]; + /** The kind of item this is. For table list, this is always fusiontables#tableList. */ + kind?: string; + /** Token used to access the next page of this result. No token is displayed if there are no more pages left. */ + nextPageToken?: string; + } + interface Task { + /** Type of the resource. This is always "fusiontables#task". */ + kind?: string; + /** Task percentage completion. */ + progress?: string; + /** false while the table is busy with some other task. true if this background task is currently running. */ + started?: boolean; + /** Identifier for the task. */ + taskId?: string; + /** Type of background task. */ + type?: string; + } + interface TaskList { + /** List of all requested tasks. */ + items?: Task[]; + /** Type of the resource. This is always "fusiontables#taskList". */ + kind?: string; + /** Token used to access the next page of this result. No token is displayed if there are no more pages left. */ + nextPageToken?: string; + /** Total number of tasks for the table. */ + totalItems?: number; + } + interface Template { + /** List of columns from which the template is to be automatically constructed. Only one of body or automaticColumns can be specified. */ + automaticColumnNames?: string[]; + /** + * Body of the template. It contains HTML with {column_name} to insert values from a particular column. The body is sanitized to remove certain tags, + * e.g., script. Only one of body or automaticColumns can be specified. + */ + body?: string; + /** The kind of item this is. For a template, this is always fusiontables#template. */ + kind?: string; + /** Optional name assigned to a template. */ + name?: string; + /** Identifier for the table for which the template is defined. */ + tableId?: string; + /** Identifier for the template, unique within the context of a particular table. */ + templateId?: number; + } + interface TemplateList { + /** List of all requested templates. */ + items?: Template[]; + /** The kind of item this is. For a template list, this is always fusiontables#templateList . */ + kind?: string; + /** Token used to access the next page of this result. No token is displayed if there are no more pages left. */ + nextPageToken?: string; + /** Total number of templates for the table. */ + totalItems?: number; + } + interface ColumnResource { + /** Deletes the specified column. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Name or identifier for the column being deleted. */ + columnId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Table from which the column is being deleted. */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves a specific column by its ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Name or identifier for the column that is being requested. */ + columnId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Table to which the column belongs. */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Column>; + /** Adds a new column to the table. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Table for which a new column is being added. */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Column>; + /** Retrieves a list of columns. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of columns to return. Default is 5. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Continuation token specifying which result page to return. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Table whose columns are being listed. */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ColumnList>; + /** Updates the name or type of an existing column. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Name or identifier for the column that is being updated. */ + columnId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Table for which the column is being updated. */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Column>; + /** Updates the name or type of an existing column. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Name or identifier for the column that is being updated. */ + columnId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Table for which the column is being updated. */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Column>; + } + interface QueryResource { + /** + * Executes a Fusion Tables SQL statement, which can be any of + * - SELECT + * - INSERT + * - UPDATE + * - DELETE + * - SHOW + * - DESCRIBE + * - CREATE statement. + */ + sql(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Whether column names are included in the first row. Default is true. */ + hdrs?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * A Fusion Tables SQL statement, which can be any of + * - SELECT + * - INSERT + * - UPDATE + * - DELETE + * - SHOW + * - DESCRIBE + * - CREATE + */ + sql: string; + /** Whether typed values are returned in the (JSON) response: numbers for numeric values and parsed geometries for KML values. Default is true. */ + typed?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Sqlresponse>; + /** + * Executes a SQL statement which can be any of + * - SELECT + * - SHOW + * - DESCRIBE + */ + sqlGet(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Whether column names are included (in the first row). Default is true. */ + hdrs?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * A SQL statement which can be any of + * - SELECT + * - SHOW + * - DESCRIBE + */ + sql: string; + /** Whether typed values are returned in the (JSON) response: numbers for numeric values and parsed geometries for KML values. Default is true. */ + typed?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Sqlresponse>; + } + interface StyleResource { + /** Deletes a style. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Identifier (within a table) for the style being deleted */ + styleId: number; + /** Table from which the style is being deleted */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets a specific style. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Identifier (integer) for a specific style in a table */ + styleId: number; + /** Table to which the requested style belongs */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<StyleSetting>; + /** Adds a new style for the table. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Table for which a new style is being added */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<StyleSetting>; + /** Retrieves a list of styles. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of styles to return. Optional. Default is 5. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Continuation token specifying which result page to return. Optional. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Table whose styles are being listed */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<StyleSettingList>; + /** Updates an existing style. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Identifier (within a table) for the style being updated. */ + styleId: number; + /** Table whose style is being updated. */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<StyleSetting>; + /** Updates an existing style. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Identifier (within a table) for the style being updated. */ + styleId: number; + /** Table whose style is being updated. */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<StyleSetting>; + } + interface TableResource { + /** Copies a table. */ + copy(request: { + /** Data format for the response. */ + alt?: string; + /** Whether to also copy tabs, styles, and templates. Default is false. */ + copyPresentation?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** ID of the table that is being copied. */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Table>; + /** Deletes a table. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** ID of the table to be deleted. */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves a specific table by its ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Identifier for the table being requested. */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Table>; + /** Imports more rows into a table. */ + importRows(request: { + /** Data format for the response. */ + alt?: string; + /** The delimiter used to separate cell values. This can only consist of a single character. Default is ,. */ + delimiter?: string; + /** The encoding of the content. Default is UTF-8. Use auto-detect if you are unsure of the encoding. */ + encoding?: string; + /** + * The index of the line up to which data will be imported. Default is to import the entire file. If endLine is negative, it is an offset from the end of + * the file; the imported content will exclude the last endLine lines. + */ + endLine?: number; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Whether the imported CSV must have the same number of values for each row. If false, rows with fewer values will be padded with empty values. Default + * is true. + */ + isStrict?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The index of the first line from which to start importing, inclusive. Default is 0. */ + startLine?: number; + /** The table into which new rows are being imported. */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Import>; + /** Imports a new table. */ + importTable(request: { + /** Data format for the response. */ + alt?: string; + /** The delimiter used to separate cell values. This can only consist of a single character. Default is ,. */ + delimiter?: string; + /** The encoding of the content. Default is UTF-8. Use auto-detect if you are unsure of the encoding. */ + encoding?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name to be assigned to the new table. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Table>; + /** Creates a new table. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Table>; + /** Retrieves a list of tables a user owns. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of tables to return. Default is 5. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Continuation token specifying which result page to return. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TableList>; + /** + * Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. This method supports patch + * semantics. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether the view definition is also updated. The specified view definition replaces the existing one. Only a view can be updated with a new definition. */ + replaceViewDefinition?: boolean; + /** ID of the table that is being updated. */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Table>; + /** Replaces rows of an existing table. Current rows remain visible until all replacement rows are ready. */ + replaceRows(request: { + /** Data format for the response. */ + alt?: string; + /** The delimiter used to separate cell values. This can only consist of a single character. Default is ,. */ + delimiter?: string; + /** The encoding of the content. Default is UTF-8. Use 'auto-detect' if you are unsure of the encoding. */ + encoding?: string; + /** + * The index of the line up to which data will be imported. Default is to import the entire file. If endLine is negative, it is an offset from the end of + * the file; the imported content will exclude the last endLine lines. + */ + endLine?: number; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Whether the imported CSV must have the same number of column values for each row. If true, throws an exception if the CSV does not have the same number + * of columns. If false, rows with fewer column values will be padded with empty values. Default is true. + */ + isStrict?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The index of the first line from which to start importing, inclusive. Default is 0. */ + startLine?: number; + /** Table whose rows will be replaced. */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Task>; + /** Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Whether the view definition is also updated. The specified view definition replaces the existing one. Only a view can be updated with a new definition. */ + replaceViewDefinition?: boolean; + /** ID of the table that is being updated. */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Table>; + } + interface TaskResource { + /** Deletes a specific task by its ID, unless that task has already started running. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Table from which the task is being deleted. */ + tableId: string; + /** The identifier of the task to delete. */ + taskId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves a specific task by its ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Table to which the task belongs. */ + tableId: string; + /** The identifier of the task to get. */ + taskId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Task>; + /** Retrieves a list of tasks. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of tasks to return. Default is 5. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Continuation token specifying which result page to return. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Index of the first result returned in the current page. */ + startIndex?: number; + /** Table whose tasks are being listed. */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TaskList>; + } + interface TemplateResource { + /** Deletes a template */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Table from which the template is being deleted */ + tableId: string; + /** Identifier for the template which is being deleted */ + templateId: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves a specific template by its id */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Table to which the template belongs */ + tableId: string; + /** Identifier for the template that is being requested */ + templateId: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Template>; + /** Creates a new template for the table. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Table for which a new template is being created */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Template>; + /** Retrieves a list of templates. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of templates to return. Optional. Default is 5. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Continuation token specifying which results page to return. Optional. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Identifier for the table whose templates are being requested */ + tableId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TemplateList>; + /** Updates an existing template. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Table to which the updated template belongs */ + tableId: string; + /** Identifier for the template that is being updated */ + templateId: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Template>; + /** Updates an existing template */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Table to which the updated template belongs */ + tableId: string; + /** Identifier for the template that is being updated */ + templateId: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Template>; + } + } +} diff --git a/types/gapi.client.fusiontables/readme.md b/types/gapi.client.fusiontables/readme.md new file mode 100644 index 0000000000..575e0f7d01 --- /dev/null +++ b/types/gapi.client.fusiontables/readme.md @@ -0,0 +1,232 @@ +# TypeScript typings for Fusion Tables API v2 +API for working with Fusion Tables data. +For detailed description please check [documentation](https://developers.google.com/fusiontables). + +## Installing + +Install typings for Fusion Tables API: +``` +npm install @types/gapi.client.fusiontables@v2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('fusiontables', 'v2', () => { + // now we can use gapi.client.fusiontables + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage your Fusion Tables + 'https://www.googleapis.com/auth/fusiontables', + + // View your Fusion Tables + 'https://www.googleapis.com/auth/fusiontables.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Fusion Tables API resources: + +```typescript + +/* +Deletes the specified column. +*/ +await gapi.client.column.delete({ columnId: "columnId", tableId: "tableId", }); + +/* +Retrieves a specific column by its ID. +*/ +await gapi.client.column.get({ columnId: "columnId", tableId: "tableId", }); + +/* +Adds a new column to the table. +*/ +await gapi.client.column.insert({ tableId: "tableId", }); + +/* +Retrieves a list of columns. +*/ +await gapi.client.column.list({ tableId: "tableId", }); + +/* +Updates the name or type of an existing column. This method supports patch semantics. +*/ +await gapi.client.column.patch({ columnId: "columnId", tableId: "tableId", }); + +/* +Updates the name or type of an existing column. +*/ +await gapi.client.column.update({ columnId: "columnId", tableId: "tableId", }); + +/* +Executes a Fusion Tables SQL statement, which can be any of +- SELECT +- INSERT +- UPDATE +- DELETE +- SHOW +- DESCRIBE +- CREATE statement. +*/ +await gapi.client.query.sql({ sql: "sql", }); + +/* +Executes a SQL statement which can be any of +- SELECT +- SHOW +- DESCRIBE +*/ +await gapi.client.query.sqlGet({ sql: "sql", }); + +/* +Deletes a style. +*/ +await gapi.client.style.delete({ styleId: 1, tableId: "tableId", }); + +/* +Gets a specific style. +*/ +await gapi.client.style.get({ styleId: 1, tableId: "tableId", }); + +/* +Adds a new style for the table. +*/ +await gapi.client.style.insert({ tableId: "tableId", }); + +/* +Retrieves a list of styles. +*/ +await gapi.client.style.list({ tableId: "tableId", }); + +/* +Updates an existing style. This method supports patch semantics. +*/ +await gapi.client.style.patch({ styleId: 1, tableId: "tableId", }); + +/* +Updates an existing style. +*/ +await gapi.client.style.update({ styleId: 1, tableId: "tableId", }); + +/* +Copies a table. +*/ +await gapi.client.table.copy({ tableId: "tableId", }); + +/* +Deletes a table. +*/ +await gapi.client.table.delete({ tableId: "tableId", }); + +/* +Retrieves a specific table by its ID. +*/ +await gapi.client.table.get({ tableId: "tableId", }); + +/* +Imports more rows into a table. +*/ +await gapi.client.table.importRows({ tableId: "tableId", }); + +/* +Imports a new table. +*/ +await gapi.client.table.importTable({ name: "name", }); + +/* +Creates a new table. +*/ +await gapi.client.table.insert({ }); + +/* +Retrieves a list of tables a user owns. +*/ +await gapi.client.table.list({ }); + +/* +Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. This method supports patch semantics. +*/ +await gapi.client.table.patch({ tableId: "tableId", }); + +/* +Replaces rows of an existing table. Current rows remain visible until all replacement rows are ready. +*/ +await gapi.client.table.replaceRows({ tableId: "tableId", }); + +/* +Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. +*/ +await gapi.client.table.update({ tableId: "tableId", }); + +/* +Deletes a specific task by its ID, unless that task has already started running. +*/ +await gapi.client.task.delete({ tableId: "tableId", taskId: "taskId", }); + +/* +Retrieves a specific task by its ID. +*/ +await gapi.client.task.get({ tableId: "tableId", taskId: "taskId", }); + +/* +Retrieves a list of tasks. +*/ +await gapi.client.task.list({ tableId: "tableId", }); + +/* +Deletes a template +*/ +await gapi.client.template.delete({ tableId: "tableId", templateId: 1, }); + +/* +Retrieves a specific template by its id +*/ +await gapi.client.template.get({ tableId: "tableId", templateId: 1, }); + +/* +Creates a new template for the table. +*/ +await gapi.client.template.insert({ tableId: "tableId", }); + +/* +Retrieves a list of templates. +*/ +await gapi.client.template.list({ tableId: "tableId", }); + +/* +Updates an existing template. This method supports patch semantics. +*/ +await gapi.client.template.patch({ tableId: "tableId", templateId: 1, }); + +/* +Updates an existing template +*/ +await gapi.client.template.update({ tableId: "tableId", templateId: 1, }); +``` \ No newline at end of file diff --git a/types/gapi.client.fusiontables/tsconfig.json b/types/gapi.client.fusiontables/tsconfig.json new file mode 100644 index 0000000000..74936cb7a6 --- /dev/null +++ b/types/gapi.client.fusiontables/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.fusiontables-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.fusiontables/tslint.json b/types/gapi.client.fusiontables/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.fusiontables/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.games/gapi.client.games-tests.ts b/types/gapi.client.games/gapi.client.games-tests.ts new file mode 100644 index 0000000000..2f2b38a3d0 --- /dev/null +++ b/types/gapi.client.games/gapi.client.games-tests.ts @@ -0,0 +1,402 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('games', 'v1', () => { + /** now we can use gapi.client.games */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage its own configuration data in your Google Drive */ + 'https://www.googleapis.com/auth/drive.appdata', + /** Share your Google+ profile information and view and manage your game activity */ + 'https://www.googleapis.com/auth/games', + /** Know the list of people in your circles, your age range, and language */ + 'https://www.googleapis.com/auth/plus.login', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Lists all the achievement definitions for your application. */ + await gapi.client.achievementDefinitions.list({ + consistencyToken: "consistencyToken", + language: "language", + maxResults: 3, + pageToken: "pageToken", + }); + /** Increments the steps of the achievement with the given ID for the currently authenticated player. */ + await gapi.client.achievements.increment({ + achievementId: "achievementId", + consistencyToken: "consistencyToken", + requestId: "requestId", + stepsToIncrement: 4, + }); + /** Lists the progress for all your application's achievements for the currently authenticated player. */ + await gapi.client.achievements.list({ + consistencyToken: "consistencyToken", + language: "language", + maxResults: 3, + pageToken: "pageToken", + playerId: "playerId", + state: "state", + }); + /** Sets the state of the achievement with the given ID to REVEALED for the currently authenticated player. */ + await gapi.client.achievements.reveal({ + achievementId: "achievementId", + consistencyToken: "consistencyToken", + }); + /** + * Sets the steps for the currently authenticated player towards unlocking an achievement. If the steps parameter is less than the current number of steps + * that the player already gained for the achievement, the achievement is not modified. + */ + await gapi.client.achievements.setStepsAtLeast({ + achievementId: "achievementId", + consistencyToken: "consistencyToken", + steps: 3, + }); + /** Unlocks this achievement for the currently authenticated player. */ + await gapi.client.achievements.unlock({ + achievementId: "achievementId", + consistencyToken: "consistencyToken", + }); + /** Updates multiple achievements for the currently authenticated player. */ + await gapi.client.achievements.updateMultiple({ + consistencyToken: "consistencyToken", + }); + /** + * Retrieves the metadata of the application with the given ID. If the requested application is not available for the specified platformType, the returned + * response will not include any instance data. + */ + await gapi.client.applications.get({ + applicationId: "applicationId", + consistencyToken: "consistencyToken", + language: "language", + platformType: "platformType", + }); + /** Indicate that the the currently authenticated user is playing your application. */ + await gapi.client.applications.played({ + consistencyToken: "consistencyToken", + }); + /** Verifies the auth token provided with this request is for the application with the specified ID, and returns the ID of the player it was granted for. */ + await gapi.client.applications.verify({ + applicationId: "applicationId", + consistencyToken: "consistencyToken", + }); + /** Returns a list showing the current progress on events in this application for the currently authenticated user. */ + await gapi.client.events.listByPlayer({ + consistencyToken: "consistencyToken", + language: "language", + maxResults: 3, + pageToken: "pageToken", + }); + /** Returns a list of the event definitions in this application. */ + await gapi.client.events.listDefinitions({ + consistencyToken: "consistencyToken", + language: "language", + maxResults: 3, + pageToken: "pageToken", + }); + /** Records a batch of changes to the number of times events have occurred for the currently authenticated user of this application. */ + await gapi.client.events.record({ + consistencyToken: "consistencyToken", + language: "language", + }); + /** Retrieves the metadata of the leaderboard with the given ID. */ + await gapi.client.leaderboards.get({ + consistencyToken: "consistencyToken", + language: "language", + leaderboardId: "leaderboardId", + }); + /** Lists all the leaderboard metadata for your application. */ + await gapi.client.leaderboards.list({ + consistencyToken: "consistencyToken", + language: "language", + maxResults: 3, + pageToken: "pageToken", + }); + /** Return the metagame configuration data for the calling application. */ + await gapi.client.metagame.getMetagameConfig({ + consistencyToken: "consistencyToken", + }); + /** List play data aggregated per category for the player corresponding to playerId. */ + await gapi.client.metagame.listCategoriesByPlayer({ + collection: "collection", + consistencyToken: "consistencyToken", + language: "language", + maxResults: 4, + pageToken: "pageToken", + playerId: "playerId", + }); + /** Retrieves the Player resource with the given ID. To retrieve the player for the currently authenticated user, set playerId to me. */ + await gapi.client.players.get({ + consistencyToken: "consistencyToken", + language: "language", + playerId: "playerId", + }); + /** Get the collection of players for the currently authenticated user. */ + await gapi.client.players.list({ + collection: "collection", + consistencyToken: "consistencyToken", + language: "language", + maxResults: 4, + pageToken: "pageToken", + }); + /** Removes a push token for the current user and application. Removing a non-existent push token will report success. */ + await gapi.client.pushtokens.remove({ + consistencyToken: "consistencyToken", + }); + /** Registers a push token for the current user and application. */ + await gapi.client.pushtokens.update({ + consistencyToken: "consistencyToken", + }); + /** + * Report that a reward for the milestone corresponding to milestoneId for the quest corresponding to questId has been claimed by the currently authorized + * user. + */ + await gapi.client.questMilestones.claim({ + consistencyToken: "consistencyToken", + milestoneId: "milestoneId", + questId: "questId", + requestId: "requestId", + }); + /** Indicates that the currently authorized user will participate in the quest. */ + await gapi.client.quests.accept({ + consistencyToken: "consistencyToken", + language: "language", + questId: "questId", + }); + /** Get a list of quests for your application and the currently authenticated player. */ + await gapi.client.quests.list({ + consistencyToken: "consistencyToken", + language: "language", + maxResults: 3, + pageToken: "pageToken", + playerId: "playerId", + }); + /** Checks whether the games client is out of date. */ + await gapi.client.revisions.check({ + clientRevision: "clientRevision", + consistencyToken: "consistencyToken", + }); + /** Create a room. For internal use by the Games SDK only. Calling this method directly is unsupported. */ + await gapi.client.rooms.create({ + consistencyToken: "consistencyToken", + language: "language", + }); + /** Decline an invitation to join a room. For internal use by the Games SDK only. Calling this method directly is unsupported. */ + await gapi.client.rooms.decline({ + consistencyToken: "consistencyToken", + language: "language", + roomId: "roomId", + }); + /** Dismiss an invitation to join a room. For internal use by the Games SDK only. Calling this method directly is unsupported. */ + await gapi.client.rooms.dismiss({ + consistencyToken: "consistencyToken", + roomId: "roomId", + }); + /** Get the data for a room. */ + await gapi.client.rooms.get({ + consistencyToken: "consistencyToken", + language: "language", + roomId: "roomId", + }); + /** Join a room. For internal use by the Games SDK only. Calling this method directly is unsupported. */ + await gapi.client.rooms.join({ + consistencyToken: "consistencyToken", + language: "language", + roomId: "roomId", + }); + /** Leave a room. For internal use by the Games SDK only. Calling this method directly is unsupported. */ + await gapi.client.rooms.leave({ + consistencyToken: "consistencyToken", + language: "language", + roomId: "roomId", + }); + /** Returns invitations to join rooms. */ + await gapi.client.rooms.list({ + consistencyToken: "consistencyToken", + language: "language", + maxResults: 3, + pageToken: "pageToken", + }); + /** Updates sent by a client reporting the status of peers in a room. For internal use by the Games SDK only. Calling this method directly is unsupported. */ + await gapi.client.rooms.reportStatus({ + consistencyToken: "consistencyToken", + language: "language", + roomId: "roomId", + }); + /** + * Get high scores, and optionally ranks, in leaderboards for the currently authenticated player. For a specific time span, leaderboardId can be set to + * ALL to retrieve data for all leaderboards in a given time span. + * NOTE: You cannot ask for 'ALL' leaderboards and 'ALL' timeSpans in the same request; only one parameter may be set to 'ALL'. + */ + await gapi.client.scores.get({ + consistencyToken: "consistencyToken", + includeRankType: "includeRankType", + language: "language", + leaderboardId: "leaderboardId", + maxResults: 5, + pageToken: "pageToken", + playerId: "playerId", + timeSpan: "timeSpan", + }); + /** Lists the scores in a leaderboard, starting from the top. */ + await gapi.client.scores.list({ + collection: "collection", + consistencyToken: "consistencyToken", + language: "language", + leaderboardId: "leaderboardId", + maxResults: 5, + pageToken: "pageToken", + timeSpan: "timeSpan", + }); + /** Lists the scores in a leaderboard around (and including) a player's score. */ + await gapi.client.scores.listWindow({ + collection: "collection", + consistencyToken: "consistencyToken", + language: "language", + leaderboardId: "leaderboardId", + maxResults: 5, + pageToken: "pageToken", + resultsAbove: 7, + returnTopIfAbsent: true, + timeSpan: "timeSpan", + }); + /** Submits a score to the specified leaderboard. */ + await gapi.client.scores.submit({ + consistencyToken: "consistencyToken", + language: "language", + leaderboardId: "leaderboardId", + score: "score", + scoreTag: "scoreTag", + }); + /** Submits multiple scores to leaderboards. */ + await gapi.client.scores.submitMultiple({ + consistencyToken: "consistencyToken", + language: "language", + }); + /** Retrieves the metadata for a given snapshot ID. */ + await gapi.client.snapshots.get({ + consistencyToken: "consistencyToken", + language: "language", + snapshotId: "snapshotId", + }); + /** Retrieves a list of snapshots created by your application for the player corresponding to the player ID. */ + await gapi.client.snapshots.list({ + consistencyToken: "consistencyToken", + language: "language", + maxResults: 3, + pageToken: "pageToken", + playerId: "playerId", + }); + /** Cancel a turn-based match. */ + await gapi.client.turnBasedMatches.cancel({ + consistencyToken: "consistencyToken", + matchId: "matchId", + }); + /** Create a turn-based match. */ + await gapi.client.turnBasedMatches.create({ + consistencyToken: "consistencyToken", + language: "language", + }); + /** Decline an invitation to play a turn-based match. */ + await gapi.client.turnBasedMatches.decline({ + consistencyToken: "consistencyToken", + language: "language", + matchId: "matchId", + }); + /** Dismiss a turn-based match from the match list. The match will no longer show up in the list and will not generate notifications. */ + await gapi.client.turnBasedMatches.dismiss({ + consistencyToken: "consistencyToken", + matchId: "matchId", + }); + /** + * Finish a turn-based match. Each player should make this call once, after all results are in. Only the player whose turn it is may make the first call + * to Finish, and can pass in the final match state. + */ + await gapi.client.turnBasedMatches.finish({ + consistencyToken: "consistencyToken", + language: "language", + matchId: "matchId", + }); + /** Get the data for a turn-based match. */ + await gapi.client.turnBasedMatches.get({ + consistencyToken: "consistencyToken", + includeMatchData: true, + language: "language", + matchId: "matchId", + }); + /** Join a turn-based match. */ + await gapi.client.turnBasedMatches.join({ + consistencyToken: "consistencyToken", + language: "language", + matchId: "matchId", + }); + /** Leave a turn-based match when it is not the current player's turn, without canceling the match. */ + await gapi.client.turnBasedMatches.leave({ + consistencyToken: "consistencyToken", + language: "language", + matchId: "matchId", + }); + /** Leave a turn-based match during the current player's turn, without canceling the match. */ + await gapi.client.turnBasedMatches.leaveTurn({ + consistencyToken: "consistencyToken", + language: "language", + matchId: "matchId", + matchVersion: 4, + pendingParticipantId: "pendingParticipantId", + }); + /** Returns turn-based matches the player is or was involved in. */ + await gapi.client.turnBasedMatches.list({ + consistencyToken: "consistencyToken", + includeMatchData: true, + language: "language", + maxCompletedMatches: 4, + maxResults: 5, + pageToken: "pageToken", + }); + /** + * Create a rematch of a match that was previously completed, with the same participants. This can be called by only one player on a match still in their + * list; the player must have called Finish first. Returns the newly created match; it will be the caller's turn. + */ + await gapi.client.turnBasedMatches.rematch({ + consistencyToken: "consistencyToken", + language: "language", + matchId: "matchId", + requestId: "requestId", + }); + /** + * Returns turn-based matches the player is or was involved in that changed since the last sync call, with the least recent changes coming first. Matches + * that should be removed from the local cache will have a status of MATCH_DELETED. + */ + await gapi.client.turnBasedMatches.sync({ + consistencyToken: "consistencyToken", + includeMatchData: true, + language: "language", + maxCompletedMatches: 4, + maxResults: 5, + pageToken: "pageToken", + }); + /** Commit the results of a player turn. */ + await gapi.client.turnBasedMatches.takeTurn({ + consistencyToken: "consistencyToken", + language: "language", + matchId: "matchId", + }); + } +}); diff --git a/types/gapi.client.games/index.d.ts b/types/gapi.client.games/index.d.ts new file mode 100644 index 0000000000..cd40fe4c43 --- /dev/null +++ b/types/gapi.client.games/index.d.ts @@ -0,0 +1,3077 @@ +// Type definitions for Google Google Play Game Services API v1 1.0 +// Project: https://developers.google.com/games/services/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/games/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Play Game Services API v1 */ + function load(name: "games", version: "v1"): PromiseLike<void>; + function load(name: "games", version: "v1", callback: () => any): void; + + const achievementDefinitions: games.AchievementDefinitionsResource; + + const achievements: games.AchievementsResource; + + const applications: games.ApplicationsResource; + + const events: games.EventsResource; + + const leaderboards: games.LeaderboardsResource; + + const metagame: games.MetagameResource; + + const players: games.PlayersResource; + + const pushtokens: games.PushtokensResource; + + const questMilestones: games.QuestMilestonesResource; + + const quests: games.QuestsResource; + + const revisions: games.RevisionsResource; + + const rooms: games.RoomsResource; + + const scores: games.ScoresResource; + + const snapshots: games.SnapshotsResource; + + const turnBasedMatches: games.TurnBasedMatchesResource; + + namespace games { + interface AchievementDefinition { + /** + * The type of the achievement. + * Possible values are: + * - "STANDARD" - Achievement is either locked or unlocked. + * - "INCREMENTAL" - Achievement is incremental. + */ + achievementType?: string; + /** The description of the achievement. */ + description?: string; + /** Experience points which will be earned when unlocking this achievement. */ + experiencePoints?: string; + /** The total steps for an incremental achievement as a string. */ + formattedTotalSteps?: string; + /** The ID of the achievement. */ + id?: string; + /** + * The initial state of the achievement. + * Possible values are: + * - "HIDDEN" - Achievement is hidden. + * - "REVEALED" - Achievement is revealed. + * - "UNLOCKED" - Achievement is unlocked. + */ + initialState?: string; + /** Indicates whether the revealed icon image being returned is a default image, or is provided by the game. */ + isRevealedIconUrlDefault?: boolean; + /** Indicates whether the unlocked icon image being returned is a default image, or is game-provided. */ + isUnlockedIconUrlDefault?: boolean; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#achievementDefinition. */ + kind?: string; + /** The name of the achievement. */ + name?: string; + /** The image URL for the revealed achievement icon. */ + revealedIconUrl?: string; + /** The total steps for an incremental achievement. */ + totalSteps?: number; + /** The image URL for the unlocked achievement icon. */ + unlockedIconUrl?: string; + } + interface AchievementDefinitionsListResponse { + /** The achievement definitions. */ + items?: AchievementDefinition[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#achievementDefinitionsListResponse. */ + kind?: string; + /** Token corresponding to the next page of results. */ + nextPageToken?: string; + } + interface AchievementIncrementResponse { + /** The current steps recorded for this incremental achievement. */ + currentSteps?: number; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#achievementIncrementResponse. */ + kind?: string; + /** Whether the current steps for the achievement has reached the number of steps required to unlock. */ + newlyUnlocked?: boolean; + } + interface AchievementRevealResponse { + /** + * The current state of the achievement for which a reveal was attempted. This might be UNLOCKED if the achievement was already unlocked. + * Possible values are: + * - "REVEALED" - Achievement is revealed. + * - "UNLOCKED" - Achievement is unlocked. + */ + currentState?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#achievementRevealResponse. */ + kind?: string; + } + interface AchievementSetStepsAtLeastResponse { + /** The current steps recorded for this incremental achievement. */ + currentSteps?: number; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#achievementSetStepsAtLeastResponse. */ + kind?: string; + /** Whether the the current steps for the achievement has reached the number of steps required to unlock. */ + newlyUnlocked?: boolean; + } + interface AchievementUnlockResponse { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#achievementUnlockResponse. */ + kind?: string; + /** Whether this achievement was newly unlocked (that is, whether the unlock request for the achievement was the first for the player). */ + newlyUnlocked?: boolean; + } + interface AchievementUpdateMultipleRequest { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#achievementUpdateMultipleRequest. */ + kind?: string; + /** The individual achievement update requests. */ + updates?: AchievementUpdateRequest[]; + } + interface AchievementUpdateMultipleResponse { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#achievementUpdateListResponse. */ + kind?: string; + /** The updated state of the achievements. */ + updatedAchievements?: AchievementUpdateResponse[]; + } + interface AchievementUpdateRequest { + /** The achievement this update is being applied to. */ + achievementId?: string; + /** The payload if an update of type INCREMENT was requested for the achievement. */ + incrementPayload?: GamesAchievementIncrement; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#achievementUpdateRequest. */ + kind?: string; + /** The payload if an update of type SET_STEPS_AT_LEAST was requested for the achievement. */ + setStepsAtLeastPayload?: GamesAchievementSetStepsAtLeast; + /** + * The type of update being applied. + * Possible values are: + * - "REVEAL" - Achievement is revealed. + * - "UNLOCK" - Achievement is unlocked. + * - "INCREMENT" - Achievement is incremented. + * - "SET_STEPS_AT_LEAST" - Achievement progress is set to at least the passed value. + */ + updateType?: string; + } + interface AchievementUpdateResponse { + /** The achievement this update is was applied to. */ + achievementId?: string; + /** + * The current state of the achievement. + * Possible values are: + * - "HIDDEN" - Achievement is hidden. + * - "REVEALED" - Achievement is revealed. + * - "UNLOCKED" - Achievement is unlocked. + */ + currentState?: string; + /** The current steps recorded for this achievement if it is incremental. */ + currentSteps?: number; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#achievementUpdateResponse. */ + kind?: string; + /** Whether this achievement was newly unlocked (that is, whether the unlock request for the achievement was the first for the player). */ + newlyUnlocked?: boolean; + /** Whether the requested updates actually affected the achievement. */ + updateOccurred?: boolean; + } + interface AggregateStats { + /** The number of messages sent between a pair of peers. */ + count?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#aggregateStats. */ + kind?: string; + /** The maximum amount. */ + max?: string; + /** The minimum amount. */ + min?: string; + /** The total number of bytes sent for messages between a pair of peers. */ + sum?: string; + } + interface AnonymousPlayer { + /** The base URL for the image to display for the anonymous player. */ + avatarImageUrl?: string; + /** The name to display for the anonymous player. */ + displayName?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#anonymousPlayer. */ + kind?: string; + } + interface Application { + /** The number of achievements visible to the currently authenticated player. */ + achievement_count?: number; + /** The assets of the application. */ + assets?: ImageAsset[]; + /** The author of the application. */ + author?: string; + /** The category of the application. */ + category?: ApplicationCategory; + /** The description of the application. */ + description?: string; + /** + * A list of features that have been enabled for the application. + * Possible values are: + * - "SNAPSHOTS" - Snapshots has been enabled + */ + enabledFeatures?: string[]; + /** The ID of the application. */ + id?: string; + /** The instances of the application. */ + instances?: Instance[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#application. */ + kind?: string; + /** The last updated timestamp of the application. */ + lastUpdatedTimestamp?: string; + /** The number of leaderboards visible to the currently authenticated player. */ + leaderboard_count?: number; + /** The name of the application. */ + name?: string; + /** A hint to the client UI for what color to use as an app-themed color. The color is given as an RGB triplet (e.g. "E0E0E0"). */ + themeColor?: string; + } + interface ApplicationCategory { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#applicationCategory. */ + kind?: string; + /** The primary category. */ + primary?: string; + /** The secondary category. */ + secondary?: string; + } + interface ApplicationVerifyResponse { + /** An alternate ID that was once used for the player that was issued the auth token used in this request. (This field is not normally populated.) */ + alternate_player_id?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#applicationVerifyResponse. */ + kind?: string; + /** The ID of the player that was issued the auth token used in this request. */ + player_id?: string; + } + interface Category { + /** The category name. */ + category?: string; + /** Experience points earned in this category. */ + experiencePoints?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#category. */ + kind?: string; + } + interface CategoryListResponse { + /** The list of categories with usage data. */ + items?: Category[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#categoryListResponse. */ + kind?: string; + /** Token corresponding to the next page of results. */ + nextPageToken?: string; + } + interface EventBatchRecordFailure { + /** + * The cause for the update failure. + * Possible values are: + * - "TOO_LARGE": A batch request was issued with more events than are allowed in a single batch. + * - "TIME_PERIOD_EXPIRED": A batch was sent with data too far in the past to record. + * - "TIME_PERIOD_SHORT": A batch was sent with a time range that was too short. + * - "TIME_PERIOD_LONG": A batch was sent with a time range that was too long. + * - "ALREADY_UPDATED": An attempt was made to record a batch of data which was already seen. + * - "RECORD_RATE_HIGH": An attempt was made to record data faster than the server will apply updates. + */ + failureCause?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#eventBatchRecordFailure. */ + kind?: string; + /** The time range which was rejected; empty for a request-wide failure. */ + range?: EventPeriodRange; + } + interface EventChild { + /** The ID of the child event. */ + childId?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#eventChild. */ + kind?: string; + } + interface EventDefinition { + /** A list of events that are a child of this event. */ + childEvents?: EventChild[]; + /** Description of what this event represents. */ + description?: string; + /** The name to display for the event. */ + displayName?: string; + /** The ID of the event. */ + id?: string; + /** The base URL for the image that represents the event. */ + imageUrl?: string; + /** Indicates whether the icon image being returned is a default image, or is game-provided. */ + isDefaultImageUrl?: boolean; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#eventDefinition. */ + kind?: string; + /** + * The visibility of event being tracked in this definition. + * Possible values are: + * - "REVEALED": This event should be visible to all users. + * - "HIDDEN": This event should only be shown to users that have recorded this event at least once. + */ + visibility?: string; + } + interface EventDefinitionListResponse { + /** The event definitions. */ + items?: EventDefinition[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#eventDefinitionListResponse. */ + kind?: string; + /** The pagination token for the next page of results. */ + nextPageToken?: string; + } + interface EventPeriodRange { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#eventPeriodRange. */ + kind?: string; + /** The time when this update period ends, in millis, since 1970 UTC (Unix Epoch). */ + periodEndMillis?: string; + /** The time when this update period begins, in millis, since 1970 UTC (Unix Epoch). */ + periodStartMillis?: string; + } + interface EventPeriodUpdate { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#eventPeriodUpdate. */ + kind?: string; + /** The time period being covered by this update. */ + timePeriod?: EventPeriodRange; + /** The updates being made for this time period. */ + updates?: EventUpdateRequest[]; + } + interface EventRecordFailure { + /** The ID of the event that was not updated. */ + eventId?: string; + /** + * The cause for the update failure. + * Possible values are: + * - "NOT_FOUND" - An attempt was made to set an event that was not defined. + * - "INVALID_UPDATE_VALUE" - An attempt was made to increment an event by a non-positive value. + */ + failureCause?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#eventRecordFailure. */ + kind?: string; + } + interface EventRecordRequest { + /** The current time when this update was sent, in milliseconds, since 1970 UTC (Unix Epoch). */ + currentTimeMillis?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#eventRecordRequest. */ + kind?: string; + /** The request ID used to identify this attempt to record events. */ + requestId?: string; + /** A list of the time period updates being made in this request. */ + timePeriods?: EventPeriodUpdate[]; + } + interface EventUpdateRequest { + /** The ID of the event being modified in this update. */ + definitionId?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#eventUpdateRequest. */ + kind?: string; + /** The number of times this event occurred in this time period. */ + updateCount?: string; + } + interface EventUpdateResponse { + /** Any batch-wide failures which occurred applying updates. */ + batchFailures?: EventBatchRecordFailure[]; + /** Any failures updating a particular event. */ + eventFailures?: EventRecordFailure[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#eventUpdateResponse. */ + kind?: string; + /** The current status of any updated events */ + playerEvents?: PlayerEvent[]; + } + interface GamesAchievementIncrement { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#GamesAchievementIncrement. */ + kind?: string; + /** The requestId associated with an increment to an achievement. */ + requestId?: string; + /** The number of steps to be incremented. */ + steps?: number; + } + interface GamesAchievementSetStepsAtLeast { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#GamesAchievementSetStepsAtLeast. */ + kind?: string; + /** The minimum number of steps for the achievement to be set to. */ + steps?: number; + } + interface ImageAsset { + /** The height of the asset. */ + height?: number; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#imageAsset. */ + kind?: string; + /** The name of the asset. */ + name?: string; + /** The URL of the asset. */ + url?: string; + /** The width of the asset. */ + width?: number; + } + interface Instance { + /** URI which shows where a user can acquire this instance. */ + acquisitionUri?: string; + /** Platform dependent details for Android. */ + androidInstance?: InstanceAndroidDetails; + /** Platform dependent details for iOS. */ + iosInstance?: InstanceIosDetails; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#instance. */ + kind?: string; + /** Localized display name. */ + name?: string; + /** + * The platform type. + * Possible values are: + * - "ANDROID" - Instance is for Android. + * - "IOS" - Instance is for iOS + * - "WEB_APP" - Instance is for Web App. + */ + platformType?: string; + /** Flag to show if this game instance supports realtime play. */ + realtimePlay?: boolean; + /** Flag to show if this game instance supports turn based play. */ + turnBasedPlay?: boolean; + /** Platform dependent details for Web. */ + webInstance?: InstanceWebDetails; + } + interface InstanceAndroidDetails { + /** Flag indicating whether the anti-piracy check is enabled. */ + enablePiracyCheck?: boolean; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#instanceAndroidDetails. */ + kind?: string; + /** Android package name which maps to Google Play URL. */ + packageName?: string; + /** Indicates that this instance is the default for new installations. */ + preferred?: boolean; + } + interface InstanceIosDetails { + /** Bundle identifier. */ + bundleIdentifier?: string; + /** iTunes App ID. */ + itunesAppId?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#instanceIosDetails. */ + kind?: string; + /** Indicates that this instance is the default for new installations on iPad devices. */ + preferredForIpad?: boolean; + /** Indicates that this instance is the default for new installations on iPhone devices. */ + preferredForIphone?: boolean; + /** Flag to indicate if this instance supports iPad. */ + supportIpad?: boolean; + /** Flag to indicate if this instance supports iPhone. */ + supportIphone?: boolean; + } + interface InstanceWebDetails { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#instanceWebDetails. */ + kind?: string; + /** Launch URL for the game. */ + launchUrl?: string; + /** Indicates that this instance is the default for new installations. */ + preferred?: boolean; + } + interface Leaderboard { + /** The icon for the leaderboard. */ + iconUrl?: string; + /** The leaderboard ID. */ + id?: string; + /** Indicates whether the icon image being returned is a default image, or is game-provided. */ + isIconUrlDefault?: boolean; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#leaderboard. */ + kind?: string; + /** The name of the leaderboard. */ + name?: string; + /** + * How scores are ordered. + * Possible values are: + * - "LARGER_IS_BETTER" - Larger values are better; scores are sorted in descending order. + * - "SMALLER_IS_BETTER" - Smaller values are better; scores are sorted in ascending order. + */ + order?: string; + } + interface LeaderboardEntry { + /** The localized string for the numerical value of this score. */ + formattedScore?: string; + /** The localized string for the rank of this score for this leaderboard. */ + formattedScoreRank?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#leaderboardEntry. */ + kind?: string; + /** The player who holds this score. */ + player?: Player; + /** The rank of this score for this leaderboard. */ + scoreRank?: string; + /** Additional information about the score. Values must contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986. */ + scoreTag?: string; + /** The numerical value of this score. */ + scoreValue?: string; + /** + * The time span of this high score. + * Possible values are: + * - "ALL_TIME" - The score is an all-time high score. + * - "WEEKLY" - The score is a weekly high score. + * - "DAILY" - The score is a daily high score. + */ + timeSpan?: string; + /** The timestamp at which this score was recorded, in milliseconds since the epoch in UTC. */ + writeTimestampMillis?: string; + } + interface LeaderboardListResponse { + /** The leaderboards. */ + items?: Leaderboard[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#leaderboardListResponse. */ + kind?: string; + /** Token corresponding to the next page of results. */ + nextPageToken?: string; + } + interface LeaderboardScoreRank { + /** The number of scores in the leaderboard as a string. */ + formattedNumScores?: string; + /** The rank in the leaderboard as a string. */ + formattedRank?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#leaderboardScoreRank. */ + kind?: string; + /** The number of scores in the leaderboard. */ + numScores?: string; + /** The rank in the leaderboard. */ + rank?: string; + } + interface LeaderboardScores { + /** The scores in the leaderboard. */ + items?: LeaderboardEntry[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#leaderboardScores. */ + kind?: string; + /** The pagination token for the next page of results. */ + nextPageToken?: string; + /** The total number of scores in the leaderboard. */ + numScores?: string; + /** + * The score of the requesting player on the leaderboard. The player's score may appear both here and in the list of scores above. If you are viewing a + * public leaderboard and the player is not sharing their gameplay information publicly, the scoreRank and formattedScoreRank values will not be present. + */ + playerScore?: LeaderboardEntry; + /** The pagination token for the previous page of results. */ + prevPageToken?: string; + } + interface MetagameConfig { + /** Current version of the metagame configuration data. When this data is updated, the version number will be increased by one. */ + currentVersion?: number; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#metagameConfig. */ + kind?: string; + /** The list of player levels. */ + playerLevels?: PlayerLevel[]; + } + interface NetworkDiagnostics { + /** The Android network subtype. */ + androidNetworkSubtype?: number; + /** The Android network type. */ + androidNetworkType?: number; + /** iOS network type as defined in Reachability.h. */ + iosNetworkType?: number; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#networkDiagnostics. */ + kind?: string; + /** + * The MCC+MNC code for the client's network connection. On Android: + * http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperator() On iOS, see: + * https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html + */ + networkOperatorCode?: string; + /** + * The name of the carrier of the client's network connection. On Android: + * http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperatorName() On iOS: + * https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html#//apple_ref/occ/instp/CTCarrier/carrierName + */ + networkOperatorName?: string; + /** The amount of time in milliseconds it took for the client to establish a connection with the XMPP server. */ + registrationLatencyMillis?: number; + } + interface ParticipantResult { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#participantResult. */ + kind?: string; + /** The ID of the participant. */ + participantId?: string; + /** + * The placement or ranking of the participant in the match results; a number from one to the number of participants in the match. Multiple participants + * may have the same placing value in case of a type. + */ + placing?: number; + /** + * The result of the participant for this match. + * Possible values are: + * - "MATCH_RESULT_WIN" - The participant won the match. + * - "MATCH_RESULT_LOSS" - The participant lost the match. + * - "MATCH_RESULT_TIE" - The participant tied the match. + * - "MATCH_RESULT_NONE" - There was no winner for the match (nobody wins or loses this kind of game.) + * - "MATCH_RESULT_DISCONNECT" - The participant disconnected / left during the match. + * - "MATCH_RESULT_DISAGREED" - Different clients reported different results for this participant. + */ + result?: string; + } + interface PeerChannelDiagnostics { + /** Number of bytes received. */ + bytesReceived?: AggregateStats; + /** Number of bytes sent. */ + bytesSent?: AggregateStats; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#peerChannelDiagnostics. */ + kind?: string; + /** Number of messages lost. */ + numMessagesLost?: number; + /** Number of messages received. */ + numMessagesReceived?: number; + /** Number of messages sent. */ + numMessagesSent?: number; + /** Number of send failures. */ + numSendFailures?: number; + /** Roundtrip latency stats in milliseconds. */ + roundtripLatencyMillis?: AggregateStats; + } + interface PeerSessionDiagnostics { + /** Connected time in milliseconds. */ + connectedTimestampMillis?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#peerSessionDiagnostics. */ + kind?: string; + /** The participant ID of the peer. */ + participantId?: string; + /** Reliable channel diagnostics. */ + reliableChannel?: PeerChannelDiagnostics; + /** Unreliable channel diagnostics. */ + unreliableChannel?: PeerChannelDiagnostics; + } + interface Played { + /** True if the player was auto-matched with the currently authenticated user. */ + autoMatched?: boolean; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#played. */ + kind?: string; + /** The last time the player played the game in milliseconds since the epoch in UTC. */ + timeMillis?: string; + } + interface Player { + /** The base URL for the image that represents the player. */ + avatarImageUrl?: string; + /** The url to the landscape mode player banner image. */ + bannerUrlLandscape?: string; + /** The url to the portrait mode player banner image. */ + bannerUrlPortrait?: string; + /** The name to display for the player. */ + displayName?: string; + /** An object to represent Play Game experience information for the player. */ + experienceInfo?: PlayerExperienceInfo; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#player. */ + kind?: string; + /** + * Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection + * members. + */ + lastPlayedWith?: Played; + /** An object representation of the individual components of the player's name. For some players, these fields may not be present. */ + name?: { + /** The family name of this player. In some places, this is known as the last name. */ + familyName?: string; + /** The given name of this player. In some places, this is known as the first name. */ + givenName?: string; + }; + /** + * The player ID that was used for this player the first time they signed into the game in question. This is only populated for calls to player.get for + * the requesting player, only if the player ID has subsequently changed, and only to clients that support remapping player IDs. + */ + originalPlayerId?: string; + /** The ID of the player. */ + playerId?: string; + /** The player's profile settings. Controls whether or not the player's profile is visible to other players. */ + profileSettings?: ProfileSettings; + /** The player's title rewarded for their game activities. */ + title?: string; + } + interface PlayerAchievement { + /** + * The state of the achievement. + * Possible values are: + * - "HIDDEN" - Achievement is hidden. + * - "REVEALED" - Achievement is revealed. + * - "UNLOCKED" - Achievement is unlocked. + */ + achievementState?: string; + /** The current steps for an incremental achievement. */ + currentSteps?: number; + /** + * Experience points earned for the achievement. This field is absent for achievements that have not yet been unlocked and 0 for achievements that have + * been unlocked by testers but that are unpublished. + */ + experiencePoints?: string; + /** The current steps for an incremental achievement as a string. */ + formattedCurrentStepsString?: string; + /** The ID of the achievement. */ + id?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#playerAchievement. */ + kind?: string; + /** The timestamp of the last modification to this achievement's state. */ + lastUpdatedTimestamp?: string; + } + interface PlayerAchievementListResponse { + /** The achievements. */ + items?: PlayerAchievement[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#playerAchievementListResponse. */ + kind?: string; + /** Token corresponding to the next page of results. */ + nextPageToken?: string; + } + interface PlayerEvent { + /** The ID of the event definition. */ + definitionId?: string; + /** + * The current number of times this event has occurred, as a string. The formatting of this string depends on the configuration of your event in the Play + * Games Developer Console. + */ + formattedNumEvents?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#playerEvent. */ + kind?: string; + /** The current number of times this event has occurred. */ + numEvents?: string; + /** The ID of the player. */ + playerId?: string; + } + interface PlayerEventListResponse { + /** The player events. */ + items?: PlayerEvent[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#playerEventListResponse. */ + kind?: string; + /** The pagination token for the next page of results. */ + nextPageToken?: string; + } + interface PlayerExperienceInfo { + /** The current number of experience points for the player. */ + currentExperiencePoints?: string; + /** The current level of the player. */ + currentLevel?: PlayerLevel; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#playerExperienceInfo. */ + kind?: string; + /** The timestamp when the player was leveled up, in millis since Unix epoch UTC. */ + lastLevelUpTimestampMillis?: string; + /** The next level of the player. If the current level is the maximum level, this should be same as the current level. */ + nextLevel?: PlayerLevel; + } + interface PlayerLeaderboardScore { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#playerLeaderboardScore. */ + kind?: string; + /** The ID of the leaderboard this score is in. */ + leaderboard_id?: string; + /** The public rank of the score in this leaderboard. This object will not be present if the user is not sharing their scores publicly. */ + publicRank?: LeaderboardScoreRank; + /** The formatted value of this score. */ + scoreString?: string; + /** Additional information about the score. Values must contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986. */ + scoreTag?: string; + /** The numerical value of this score. */ + scoreValue?: string; + /** The social rank of the score in this leaderboard. */ + socialRank?: LeaderboardScoreRank; + /** + * The time span of this score. + * Possible values are: + * - "ALL_TIME" - The score is an all-time score. + * - "WEEKLY" - The score is a weekly score. + * - "DAILY" - The score is a daily score. + */ + timeSpan?: string; + /** The timestamp at which this score was recorded, in milliseconds since the epoch in UTC. */ + writeTimestamp?: string; + } + interface PlayerLeaderboardScoreListResponse { + /** The leaderboard scores. */ + items?: PlayerLeaderboardScore[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#playerLeaderboardScoreListResponse. */ + kind?: string; + /** The pagination token for the next page of results. */ + nextPageToken?: string; + /** The Player resources for the owner of this score. */ + player?: Player; + } + interface PlayerLevel { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel. */ + kind?: string; + /** The level for the user. */ + level?: number; + /** The maximum experience points for this level. */ + maxExperiencePoints?: string; + /** The minimum experience points for this level. */ + minExperiencePoints?: string; + } + interface PlayerListResponse { + /** The players. */ + items?: Player[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#playerListResponse. */ + kind?: string; + /** Token corresponding to the next page of results. */ + nextPageToken?: string; + } + interface PlayerScore { + /** The formatted score for this player score. */ + formattedScore?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#playerScore. */ + kind?: string; + /** The numerical value for this player score. */ + score?: string; + /** Additional information about this score. Values will contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986. */ + scoreTag?: string; + /** + * The time span for this player score. + * Possible values are: + * - "ALL_TIME" - The score is an all-time score. + * - "WEEKLY" - The score is a weekly score. + * - "DAILY" - The score is a daily score. + */ + timeSpan?: string; + } + interface PlayerScoreListResponse { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#playerScoreListResponse. */ + kind?: string; + /** The score submissions statuses. */ + submittedScores?: PlayerScoreResponse[]; + } + interface PlayerScoreResponse { + /** + * The time spans where the submitted score is better than the existing score for that time span. + * Possible values are: + * - "ALL_TIME" - The score is an all-time score. + * - "WEEKLY" - The score is a weekly score. + * - "DAILY" - The score is a daily score. + */ + beatenScoreTimeSpans?: string[]; + /** The formatted value of the submitted score. */ + formattedScore?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#playerScoreResponse. */ + kind?: string; + /** The leaderboard ID that this score was submitted to. */ + leaderboardId?: string; + /** Additional information about this score. Values will contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986. */ + scoreTag?: string; + /** + * The scores in time spans that have not been beaten. As an example, the submitted score may be better than the player's DAILY score, but not better than + * the player's scores for the WEEKLY or ALL_TIME time spans. + */ + unbeatenScores?: PlayerScore[]; + } + interface PlayerScoreSubmissionList { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#playerScoreSubmissionList. */ + kind?: string; + /** The score submissions. */ + scores?: ScoreSubmission[]; + } + interface ProfileSettings { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#profileSettings. */ + kind?: string; + /** The player's current profile visibility. This field is visible to both 1P and 3P APIs. */ + profileVisible?: boolean; + } + interface PushToken { + /** + * The revision of the client SDK used by your application, in the same format that's used by revisions.check. Used to send backward compatible messages. + * Format: [PLATFORM_TYPE]:[VERSION_NUMBER]. Possible values of PLATFORM_TYPE are: + * - IOS - Push token is for iOS + */ + clientRevision?: string; + /** Unique identifier for this push token. */ + id?: PushTokenId; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#pushToken. */ + kind?: string; + /** The preferred language for notifications that are sent using this token. */ + language?: string; + } + interface PushTokenId { + /** A push token ID for iOS devices. */ + ios?: { + /** Device token supplied by an iOS system call to register for remote notifications. Encode this field as web-safe base64. */ + apns_device_token?: string; + /** Indicates whether this token should be used for the production or sandbox APNS server. */ + apns_environment?: string; + }; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#pushTokenId. */ + kind?: string; + } + interface Quest { + /** The timestamp at which the user accepted the quest in milliseconds since the epoch in UTC. Only present if the player has accepted the quest. */ + acceptedTimestampMillis?: string; + /** The ID of the application this quest is part of. */ + applicationId?: string; + /** The banner image URL for the quest. */ + bannerUrl?: string; + /** The description of the quest. */ + description?: string; + /** The timestamp at which the quest ceases to be active in milliseconds since the epoch in UTC. */ + endTimestampMillis?: string; + /** The icon image URL for the quest. */ + iconUrl?: string; + /** The ID of the quest. */ + id?: string; + /** Indicates whether the banner image being returned is a default image, or is game-provided. */ + isDefaultBannerUrl?: boolean; + /** Indicates whether the icon image being returned is a default image, or is game-provided. */ + isDefaultIconUrl?: boolean; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#quest. */ + kind?: string; + /** + * The timestamp at which the quest was last updated by the user in milliseconds since the epoch in UTC. Only present if the player has accepted the + * quest. + */ + lastUpdatedTimestampMillis?: string; + /** The quest milestones. */ + milestones?: QuestMilestone[]; + /** The name of the quest. */ + name?: string; + /** The timestamp at which the user should be notified that the quest will end soon in milliseconds since the epoch in UTC. */ + notifyTimestampMillis?: string; + /** The timestamp at which the quest becomes active in milliseconds since the epoch in UTC. */ + startTimestampMillis?: string; + /** + * The state of the quest. + * Possible values are: + * - "UPCOMING": The quest is upcoming. The user can see the quest, but cannot accept it until it is open. + * - "OPEN": The quest is currently open and may be accepted at this time. + * - "ACCEPTED": The user is currently participating in this quest. + * - "COMPLETED": The user has completed the quest. + * - "FAILED": The quest was attempted but was not completed before the deadline expired. + * - "EXPIRED": The quest has expired and was not accepted. + * - "DELETED": The quest should be deleted from the local database. + */ + state?: string; + } + interface QuestContribution { + /** + * The formatted value of the contribution as a string. Format depends on the configuration for the associated event definition in the Play Games + * Developer Console. + */ + formattedValue?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#questContribution. */ + kind?: string; + /** The value of the contribution. */ + value?: string; + } + interface QuestCriterion { + /** The total number of times the associated event must be incremented for the player to complete this quest. */ + completionContribution?: QuestContribution; + /** + * The number of increments the player has made toward the completion count event increments required to complete the quest. This value will not exceed + * the completion contribution. + * There will be no currentContribution until the player has accepted the quest. + */ + currentContribution?: QuestContribution; + /** The ID of the event the criterion corresponds to. */ + eventId?: string; + /** + * The value of the event associated with this quest at the time that the quest was accepted. This value may change if event increments that took place + * before the start of quest are uploaded after the quest starts. + * There will be no initialPlayerProgress until the player has accepted the quest. + */ + initialPlayerProgress?: QuestContribution; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#questCriterion. */ + kind?: string; + } + interface QuestListResponse { + /** The quests. */ + items?: Quest[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#questListResponse. */ + kind?: string; + /** Token corresponding to the next page of results. */ + nextPageToken?: string; + } + interface QuestMilestone { + /** + * The completion reward data of the milestone, represented as a Base64-encoded string. This is a developer-specified binary blob with size between 0 and + * 2 KB before encoding. + */ + completionRewardData?: string; + /** The criteria of the milestone. */ + criteria?: QuestCriterion[]; + /** The milestone ID. */ + id?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#questMilestone. */ + kind?: string; + /** + * The current state of the milestone. + * Possible values are: + * - "COMPLETED_NOT_CLAIMED" - The milestone is complete, but has not yet been claimed. + * - "CLAIMED" - The milestone is complete and has been claimed. + * - "NOT_COMPLETED" - The milestone has not yet been completed. + * - "NOT_STARTED" - The milestone is for a quest that has not yet been accepted. + */ + state?: string; + } + interface RevisionCheckResponse { + /** The version of the API this client revision should use when calling API methods. */ + apiVersion?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#revisionCheckResponse. */ + kind?: string; + /** + * The result of the revision check. + * Possible values are: + * - "OK" - The revision being used is current. + * - "DEPRECATED" - There is currently a newer version available, but the revision being used still works. + * - "INVALID" - The revision being used is not supported in any released version. + */ + revisionStatus?: string; + } + interface Room { + /** The ID of the application being played. */ + applicationId?: string; + /** Criteria for auto-matching players into this room. */ + autoMatchingCriteria?: RoomAutoMatchingCriteria; + /** Auto-matching status for this room. Not set if the room is not currently in the auto-matching queue. */ + autoMatchingStatus?: RoomAutoMatchStatus; + /** Details about the room creation. */ + creationDetails?: RoomModification; + /** + * This short description is generated by our servers and worded relative to the player requesting the room. It is intended to be displayed when the room + * is shown in a list (that is, an invitation to a room.) + */ + description?: string; + /** The ID of the participant that invited the user to the room. Not set if the user was not invited to the room. */ + inviterId?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#room. */ + kind?: string; + /** Details about the last update to the room. */ + lastUpdateDetails?: RoomModification; + /** The participants involved in the room, along with their statuses. Includes participants who have left or declined invitations. */ + participants?: RoomParticipant[]; + /** Globally unique ID for a room. */ + roomId?: string; + /** The version of the room status: an increasing counter, used by the client to ignore out-of-order updates to room status. */ + roomStatusVersion?: number; + /** + * The status of the room. + * Possible values are: + * - "ROOM_INVITING" - One or more players have been invited and not responded. + * - "ROOM_AUTO_MATCHING" - One or more slots need to be filled by auto-matching. + * - "ROOM_CONNECTING" - Players have joined and are connecting to each other (either before or after auto-matching). + * - "ROOM_ACTIVE" - All players have joined and connected to each other. + * - "ROOM_DELETED" - The room should no longer be shown on the client. Returned in sync calls when a player joins a room (as a tombstone), or for rooms + * where all joined participants have left. + */ + status?: string; + /** The variant / mode of the application being played; can be any integer value, or left blank. */ + variant?: number; + } + interface RoomAutoMatchStatus { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#roomAutoMatchStatus. */ + kind?: string; + /** An estimate for the amount of time (in seconds) that auto-matching is expected to take to complete. */ + waitEstimateSeconds?: number; + } + interface RoomAutoMatchingCriteria { + /** + * A bitmask indicating when auto-matches are valid. When ANDed with other exclusive bitmasks, the result must be zero. Can be used to support exclusive + * roles within a game. + */ + exclusiveBitmask?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#roomAutoMatchingCriteria. */ + kind?: string; + /** The maximum number of players that should be added to the room by auto-matching. */ + maxAutoMatchingPlayers?: number; + /** The minimum number of players that should be added to the room by auto-matching. */ + minAutoMatchingPlayers?: number; + } + interface RoomClientAddress { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#roomClientAddress. */ + kind?: string; + /** The XMPP address of the client on the Google Games XMPP network. */ + xmppAddress?: string; + } + interface RoomCreateRequest { + /** Criteria for auto-matching players into this room. */ + autoMatchingCriteria?: RoomAutoMatchingCriteria; + /** The capabilities that this client supports for realtime communication. */ + capabilities?: string[]; + /** Client address for the player creating the room. */ + clientAddress?: RoomClientAddress; + /** The player IDs to invite to the room. */ + invitedPlayerIds?: string[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#roomCreateRequest. */ + kind?: string; + /** Network diagnostics for the client creating the room. */ + networkDiagnostics?: NetworkDiagnostics; + /** A randomly generated numeric ID. This number is used at the server to ensure that the request is handled correctly across retries. */ + requestId?: string; + /** + * The variant / mode of the application to be played. This can be any integer value, or left blank. You should use a small number of variants to keep the + * auto-matching pool as large as possible. + */ + variant?: number; + } + interface RoomJoinRequest { + /** The capabilities that this client supports for realtime communication. */ + capabilities?: string[]; + /** Client address for the player joining the room. */ + clientAddress?: RoomClientAddress; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#roomJoinRequest. */ + kind?: string; + /** Network diagnostics for the client joining the room. */ + networkDiagnostics?: NetworkDiagnostics; + } + interface RoomLeaveDiagnostics { + /** Android network subtype. http://developer.android.com/reference/android/net/NetworkInfo.html#getSubtype() */ + androidNetworkSubtype?: number; + /** Android network type. http://developer.android.com/reference/android/net/NetworkInfo.html#getType() */ + androidNetworkType?: number; + /** iOS network type as defined in Reachability.h. */ + iosNetworkType?: number; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#roomLeaveDiagnostics. */ + kind?: string; + /** + * The MCC+MNC code for the client's network connection. On Android: + * http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperator() On iOS, see: + * https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html + */ + networkOperatorCode?: string; + /** + * The name of the carrier of the client's network connection. On Android: + * http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperatorName() On iOS: + * https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html#//apple_ref/occ/instp/CTCarrier/carrierName + */ + networkOperatorName?: string; + /** Diagnostics about all peer sessions. */ + peerSession?: PeerSessionDiagnostics[]; + /** Whether or not sockets were used. */ + socketsUsed?: boolean; + } + interface RoomLeaveRequest { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#roomLeaveRequest. */ + kind?: string; + /** Diagnostics for a player leaving the room. */ + leaveDiagnostics?: RoomLeaveDiagnostics; + /** + * Reason for leaving the match. + * Possible values are: + * - "PLAYER_LEFT" - The player chose to leave the room.. + * - "GAME_LEFT" - The game chose to remove the player from the room. + * - "REALTIME_ABANDONED" - The player switched to another application and abandoned the room. + * - "REALTIME_PEER_CONNECTION_FAILURE" - The client was unable to establish a connection to other peer(s). + * - "REALTIME_SERVER_CONNECTION_FAILURE" - The client was unable to communicate with the server. + * - "REALTIME_SERVER_ERROR" - The client received an error response when it tried to communicate with the server. + * - "REALTIME_TIMEOUT" - The client timed out while waiting for a room. + * - "REALTIME_CLIENT_DISCONNECTING" - The client disconnects without first calling Leave. + * - "REALTIME_SIGN_OUT" - The user signed out of G+ while in the room. + * - "REALTIME_GAME_CRASHED" - The game crashed. + * - "REALTIME_ROOM_SERVICE_CRASHED" - RoomAndroidService crashed. + * - "REALTIME_DIFFERENT_CLIENT_ROOM_OPERATION" - Another client is trying to enter a room. + * - "REALTIME_SAME_CLIENT_ROOM_OPERATION" - The same client is trying to enter a new room. + */ + reason?: string; + } + interface RoomList { + /** The rooms. */ + items?: Room[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#roomList. */ + kind?: string; + /** The pagination token for the next page of results. */ + nextPageToken?: string; + } + interface RoomModification { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#roomModification. */ + kind?: string; + /** The timestamp at which they modified the room, in milliseconds since the epoch in UTC. */ + modifiedTimestampMillis?: string; + /** The ID of the participant that modified the room. */ + participantId?: string; + } + interface RoomP2PStatus { + /** The amount of time in milliseconds it took to establish connections with this peer. */ + connectionSetupLatencyMillis?: number; + /** + * The error code in event of a failure. + * Possible values are: + * - "P2P_FAILED" - The client failed to establish a P2P connection with the peer. + * - "PRESENCE_FAILED" - The client failed to register to receive P2P connections. + * - "RELAY_SERVER_FAILED" - The client received an error when trying to use the relay server to establish a P2P connection with the peer. + */ + error?: string; + /** More detailed diagnostic message returned in event of a failure. */ + error_reason?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#roomP2PStatus. */ + kind?: string; + /** The ID of the participant. */ + participantId?: string; + /** + * The status of the peer in the room. + * Possible values are: + * - "CONNECTION_ESTABLISHED" - The client established a P2P connection with the peer. + * - "CONNECTION_FAILED" - The client failed to establish directed presence with the peer. + */ + status?: string; + /** The amount of time in milliseconds it took to send packets back and forth on the unreliable channel with this peer. */ + unreliableRoundtripLatencyMillis?: number; + } + interface RoomP2PStatuses { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#roomP2PStatuses. */ + kind?: string; + /** The updates for the peers. */ + updates?: RoomP2PStatus[]; + } + interface RoomParticipant { + /** True if this participant was auto-matched with the requesting player. */ + autoMatched?: boolean; + /** Information about a player that has been anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.) */ + autoMatchedPlayer?: AnonymousPlayer; + /** The capabilities which can be used when communicating with this participant. */ + capabilities?: string[]; + /** Client address for the participant. */ + clientAddress?: RoomClientAddress; + /** True if this participant is in the fully connected set of peers in the room. */ + connected?: boolean; + /** An identifier for the participant in the scope of the room. Cannot be used to identify a player across rooms or in other contexts. */ + id?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#roomParticipant. */ + kind?: string; + /** + * The reason the participant left the room; populated if the participant status is PARTICIPANT_LEFT. + * Possible values are: + * - "PLAYER_LEFT" - The player explicitly chose to leave the room. + * - "GAME_LEFT" - The game chose to remove the player from the room. + * - "ABANDONED" - The player switched to another application and abandoned the room. + * - "PEER_CONNECTION_FAILURE" - The client was unable to establish or maintain a connection to other peer(s) in the room. + * - "SERVER_ERROR" - The client received an error response when it tried to communicate with the server. + * - "TIMEOUT" - The client timed out while waiting for players to join and connect. + * - "PRESENCE_FAILURE" - The client's XMPP connection ended abruptly. + */ + leaveReason?: string; + /** + * Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or + * autoMatchedPlayer will be set.) + */ + player?: Player; + /** + * The status of the participant with respect to the room. + * Possible values are: + * - "PARTICIPANT_INVITED" - The participant has been invited to join the room, but has not yet responded. + * - "PARTICIPANT_JOINED" - The participant has joined the room (either after creating it or accepting an invitation.) + * - "PARTICIPANT_DECLINED" - The participant declined an invitation to join the room. + * - "PARTICIPANT_LEFT" - The participant joined the room and then left it. + */ + status?: string; + } + interface RoomStatus { + /** Auto-matching status for this room. Not set if the room is not currently in the automatching queue. */ + autoMatchingStatus?: RoomAutoMatchStatus; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#roomStatus. */ + kind?: string; + /** The participants involved in the room, along with their statuses. Includes participants who have left or declined invitations. */ + participants?: RoomParticipant[]; + /** Globally unique ID for a room. */ + roomId?: string; + /** + * The status of the room. + * Possible values are: + * - "ROOM_INVITING" - One or more players have been invited and not responded. + * - "ROOM_AUTO_MATCHING" - One or more slots need to be filled by auto-matching. + * - "ROOM_CONNECTING" - Players have joined are connecting to each other (either before or after auto-matching). + * - "ROOM_ACTIVE" - All players have joined and connected to each other. + * - "ROOM_DELETED" - All joined players have left. + */ + status?: string; + /** The version of the status for the room: an increasing counter, used by the client to ignore out-of-order updates to room status. */ + statusVersion?: number; + } + interface ScoreSubmission { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#scoreSubmission. */ + kind?: string; + /** The leaderboard this score is being submitted to. */ + leaderboardId?: string; + /** The new score being submitted. */ + score?: string; + /** Additional information about this score. Values will contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986. */ + scoreTag?: string; + /** Signature Values will contain URI-safe characters as defined by section 2.3 of RFC 3986. */ + signature?: string; + } + interface Snapshot { + /** The cover image of this snapshot. May be absent if there is no image. */ + coverImage?: SnapshotImage; + /** The description of this snapshot. */ + description?: string; + /** + * The ID of the file underlying this snapshot in the Drive API. Only present if the snapshot is a view on a Drive file and the file is owned by the + * caller. + */ + driveId?: string; + /** The duration associated with this snapshot, in millis. */ + durationMillis?: string; + /** The ID of the snapshot. */ + id?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#snapshot. */ + kind?: string; + /** The timestamp (in millis since Unix epoch) of the last modification to this snapshot. */ + lastModifiedMillis?: string; + /** The progress value (64-bit integer set by developer) associated with this snapshot. */ + progressValue?: string; + /** The title of this snapshot. */ + title?: string; + /** + * The type of this snapshot. + * Possible values are: + * - "SAVE_GAME" - A snapshot representing a save game. + */ + type?: string; + /** The unique name provided when the snapshot was created. */ + uniqueName?: string; + } + interface SnapshotImage { + /** The height of the image. */ + height?: number; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#snapshotImage. */ + kind?: string; + /** The MIME type of the image. */ + mime_type?: string; + /** The URL of the image. This URL may be invalidated at any time and should not be cached. */ + url?: string; + /** The width of the image. */ + width?: number; + } + interface SnapshotListResponse { + /** The snapshots. */ + items?: Snapshot[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#snapshotListResponse. */ + kind?: string; + /** Token corresponding to the next page of results. If there are no more results, the token is omitted. */ + nextPageToken?: string; + } + interface TurnBasedAutoMatchingCriteria { + /** + * A bitmask indicating when auto-matches are valid. When ANDed with other exclusive bitmasks, the result must be zero. Can be used to support exclusive + * roles within a game. + */ + exclusiveBitmask?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedAutoMatchingCriteria. */ + kind?: string; + /** The maximum number of players that should be added to the match by auto-matching. */ + maxAutoMatchingPlayers?: number; + /** The minimum number of players that should be added to the match by auto-matching. */ + minAutoMatchingPlayers?: number; + } + interface TurnBasedMatch { + /** The ID of the application being played. */ + applicationId?: string; + /** Criteria for auto-matching players into this match. */ + autoMatchingCriteria?: TurnBasedAutoMatchingCriteria; + /** Details about the match creation. */ + creationDetails?: TurnBasedMatchModification; + /** The data / game state for this match. */ + data?: TurnBasedMatchData; + /** + * This short description is generated by our servers based on turn state and is localized and worded relative to the player requesting the match. It is + * intended to be displayed when the match is shown in a list. + */ + description?: string; + /** The ID of the participant that invited the user to the match. Not set if the user was not invited to the match. */ + inviterId?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatch. */ + kind?: string; + /** Details about the last update to the match. */ + lastUpdateDetails?: TurnBasedMatchModification; + /** Globally unique ID for a turn-based match. */ + matchId?: string; + /** The number of the match in a chain of rematches. Will be set to 1 for the first match and incremented by 1 for each rematch. */ + matchNumber?: number; + /** The version of this match: an increasing counter, used to avoid out-of-date updates to the match. */ + matchVersion?: number; + /** The participants involved in the match, along with their statuses. Includes participants who have left or declined invitations. */ + participants?: TurnBasedMatchParticipant[]; + /** The ID of the participant that is taking a turn. */ + pendingParticipantId?: string; + /** The data / game state for the previous match; set for the first turn of rematches only. */ + previousMatchData?: TurnBasedMatchData; + /** The ID of a rematch of this match. Only set for completed matches that have been rematched. */ + rematchId?: string; + /** The results reported for this match. */ + results?: ParticipantResult[]; + /** + * The status of the match. + * Possible values are: + * - "MATCH_AUTO_MATCHING" - One or more slots need to be filled by auto-matching; the match cannot be established until they are filled. + * - "MATCH_ACTIVE" - The match has started. + * - "MATCH_COMPLETE" - The match has finished. + * - "MATCH_CANCELED" - The match was canceled. + * - "MATCH_EXPIRED" - The match expired due to inactivity. + * - "MATCH_DELETED" - The match should no longer be shown on the client. Returned only for tombstones for matches when sync is called. + */ + status?: string; + /** + * The status of the current user in the match. Derived from the match type, match status, the user's participant status, and the pending participant for + * the match. + * Possible values are: + * - "USER_INVITED" - The user has been invited to join the match and has not responded yet. + * - "USER_AWAITING_TURN" - The user is waiting for their turn. + * - "USER_TURN" - The user has an action to take in the match. + * - "USER_MATCH_COMPLETED" - The match has ended (it is completed, canceled, or expired.) + */ + userMatchStatus?: string; + /** The variant / mode of the application being played; can be any integer value, or left blank. */ + variant?: number; + /** The ID of another participant in the match that can be used when describing the participants the user is playing with. */ + withParticipantId?: string; + } + interface TurnBasedMatchCreateRequest { + /** Criteria for auto-matching players into this match. */ + autoMatchingCriteria?: TurnBasedAutoMatchingCriteria; + /** The player ids to invite to the match. */ + invitedPlayerIds?: string[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchCreateRequest. */ + kind?: string; + /** A randomly generated numeric ID. This number is used at the server to ensure that the request is handled correctly across retries. */ + requestId?: string; + /** + * The variant / mode of the application to be played. This can be any integer value, or left blank. You should use a small number of variants to keep the + * auto-matching pool as large as possible. + */ + variant?: number; + } + interface TurnBasedMatchData { + /** The byte representation of the data (limited to 128 kB), as a Base64-encoded string with the URL_SAFE encoding option. */ + data?: string; + /** True if this match has data available but it wasn't returned in a list response; fetching the match individually will retrieve this data. */ + dataAvailable?: boolean; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchData. */ + kind?: string; + } + interface TurnBasedMatchDataRequest { + /** The byte representation of the data (limited to 128 kB), as a Base64-encoded string with the URL_SAFE encoding option. */ + data?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchDataRequest. */ + kind?: string; + } + interface TurnBasedMatchList { + /** The matches. */ + items?: TurnBasedMatch[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchList. */ + kind?: string; + /** The pagination token for the next page of results. */ + nextPageToken?: string; + } + interface TurnBasedMatchModification { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchModification. */ + kind?: string; + /** The timestamp at which they modified the match, in milliseconds since the epoch in UTC. */ + modifiedTimestampMillis?: string; + /** The ID of the participant that modified the match. */ + participantId?: string; + } + interface TurnBasedMatchParticipant { + /** True if this participant was auto-matched with the requesting player. */ + autoMatched?: boolean; + /** Information about a player that has been anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.) */ + autoMatchedPlayer?: AnonymousPlayer; + /** An identifier for the participant in the scope of the match. Cannot be used to identify a player across matches or in other contexts. */ + id?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchParticipant. */ + kind?: string; + /** + * Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or + * autoMatchedPlayer will be set.) + */ + player?: Player; + /** + * The status of the participant with respect to the match. + * Possible values are: + * - "PARTICIPANT_NOT_INVITED_YET" - The participant is slated to be invited to the match, but the invitation has not been sent; the invite will be sent + * when it becomes their turn. + * - "PARTICIPANT_INVITED" - The participant has been invited to join the match, but has not yet responded. + * - "PARTICIPANT_JOINED" - The participant has joined the match (either after creating it or accepting an invitation.) + * - "PARTICIPANT_DECLINED" - The participant declined an invitation to join the match. + * - "PARTICIPANT_LEFT" - The participant joined the match and then left it. + * - "PARTICIPANT_FINISHED" - The participant finished playing in the match. + * - "PARTICIPANT_UNRESPONSIVE" - The participant did not take their turn in the allotted time. + */ + status?: string; + } + interface TurnBasedMatchRematch { + /** Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchRematch. */ + kind?: string; + /** The old match that the rematch was created from; will be updated such that the rematchId field will point at the new match. */ + previousMatch?: TurnBasedMatch; + /** The newly created match; a rematch of the old match with the same participants. */ + rematch?: TurnBasedMatch; + } + interface TurnBasedMatchResults { + /** The final match data. */ + data?: TurnBasedMatchDataRequest; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchResults. */ + kind?: string; + /** The version of the match being updated. */ + matchVersion?: number; + /** The match results for the participants in the match. */ + results?: ParticipantResult[]; + } + interface TurnBasedMatchSync { + /** The matches. */ + items?: TurnBasedMatch[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchSync. */ + kind?: string; + /** True if there were more matches available to fetch at the time the response was generated (which were not returned due to page size limits.) */ + moreAvailable?: boolean; + /** The pagination token for the next page of results. */ + nextPageToken?: string; + } + interface TurnBasedMatchTurn { + /** The shared game state data after the turn is over. */ + data?: TurnBasedMatchDataRequest; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchTurn. */ + kind?: string; + /** The version of this match: an increasing counter, used to avoid out-of-date updates to the match. */ + matchVersion?: number; + /** + * The ID of the participant who should take their turn next. May be set to the current player's participant ID to update match state without changing the + * turn. If not set, the match will wait for other player(s) to join via automatching; this is only valid if automatch criteria is set on the match with + * remaining slots for automatched players. + */ + pendingParticipantId?: string; + /** The match results for the participants in the match. */ + results?: ParticipantResult[]; + } + interface AchievementDefinitionsResource { + /** Lists all the achievement definitions for your application. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** + * The maximum number of achievement resources to return in the response, used for paging. For any response, the actual number of achievement resources + * returned may be less than the specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AchievementDefinitionsListResponse>; + } + interface AchievementsResource { + /** Increments the steps of the achievement with the given ID for the currently authenticated player. */ + increment(request: { + /** The ID of the achievement used by this method. */ + achievementId: string; + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * A randomly generated numeric ID for each request specified by the caller. This number is used at the server to ensure that the request is handled + * correctly across retries. + */ + requestId?: string; + /** The number of steps to increment. */ + stepsToIncrement: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AchievementIncrementResponse>; + /** Lists the progress for all your application's achievements for the currently authenticated player. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** + * The maximum number of achievement resources to return in the response, used for paging. For any response, the actual number of achievement resources + * returned may be less than the specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** A player ID. A value of me may be used in place of the authenticated player's ID. */ + playerId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Tells the server to return only achievements with the specified state. If this parameter isn't specified, all achievements are returned. */ + state?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlayerAchievementListResponse>; + /** Sets the state of the achievement with the given ID to REVEALED for the currently authenticated player. */ + reveal(request: { + /** The ID of the achievement used by this method. */ + achievementId: string; + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AchievementRevealResponse>; + /** + * Sets the steps for the currently authenticated player towards unlocking an achievement. If the steps parameter is less than the current number of steps + * that the player already gained for the achievement, the achievement is not modified. + */ + setStepsAtLeast(request: { + /** The ID of the achievement used by this method. */ + achievementId: string; + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The minimum value to set the steps to. */ + steps: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AchievementSetStepsAtLeastResponse>; + /** Unlocks this achievement for the currently authenticated player. */ + unlock(request: { + /** The ID of the achievement used by this method. */ + achievementId: string; + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AchievementUnlockResponse>; + /** Updates multiple achievements for the currently authenticated player. */ + updateMultiple(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AchievementUpdateMultipleResponse>; + } + interface ApplicationsResource { + /** + * Retrieves the metadata of the application with the given ID. If the requested application is not available for the specified platformType, the returned + * response will not include any instance data. + */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The application ID from the Google Play developer console. */ + applicationId: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Restrict application details returned to the specific platform. */ + platformType?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Application>; + /** Indicate that the the currently authenticated user is playing your application. */ + played(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Verifies the auth token provided with this request is for the application with the specified ID, and returns the ID of the player it was granted for. */ + verify(request: { + /** Data format for the response. */ + alt?: string; + /** The application ID from the Google Play developer console. */ + applicationId: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ApplicationVerifyResponse>; + } + interface EventsResource { + /** Returns a list showing the current progress on events in this application for the currently authenticated user. */ + listByPlayer(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** + * The maximum number of events to return in the response, used for paging. For any response, the actual number of events to return may be less than the + * specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlayerEventListResponse>; + /** Returns a list of the event definitions in this application. */ + listDefinitions(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** + * The maximum number of event definitions to return in the response, used for paging. For any response, the actual number of event definitions to return + * may be less than the specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<EventDefinitionListResponse>; + /** Records a batch of changes to the number of times events have occurred for the currently authenticated user of this application. */ + record(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<EventUpdateResponse>; + } + interface LeaderboardsResource { + /** Retrieves the metadata of the leaderboard with the given ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** The ID of the leaderboard. */ + leaderboardId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Leaderboard>; + /** Lists all the leaderboard metadata for your application. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** + * The maximum number of leaderboards to return in the response. For any response, the actual number of leaderboards returned may be less than the + * specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LeaderboardListResponse>; + } + interface MetagameResource { + /** Return the metagame configuration data for the calling application. */ + getMetagameConfig(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<MetagameConfig>; + /** List play data aggregated per category for the player corresponding to playerId. */ + listCategoriesByPlayer(request: { + /** Data format for the response. */ + alt?: string; + /** The collection of categories for which data will be returned. */ + collection: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** + * The maximum number of category resources to return in the response, used for paging. For any response, the actual number of category resources returned + * may be less than the specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** A player ID. A value of me may be used in place of the authenticated player's ID. */ + playerId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CategoryListResponse>; + } + interface PlayersResource { + /** Retrieves the Player resource with the given ID. To retrieve the player for the currently authenticated user, set playerId to me. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** A player ID. A value of me may be used in place of the authenticated player's ID. */ + playerId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Player>; + /** Get the collection of players for the currently authenticated user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Collection of players being retrieved */ + collection: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** + * The maximum number of player resources to return in the response, used for paging. For any response, the actual number of player resources returned may + * be less than the specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlayerListResponse>; + } + interface PushtokensResource { + /** Removes a push token for the current user and application. Removing a non-existent push token will report success. */ + remove(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Registers a push token for the current user and application. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface QuestMilestonesResource { + /** + * Report that a reward for the milestone corresponding to milestoneId for the quest corresponding to questId has been claimed by the currently authorized + * user. + */ + claim(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the milestone. */ + milestoneId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the quest. */ + questId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** A numeric ID to ensure that the request is handled correctly across retries. Your client application must generate this ID randomly. */ + requestId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface QuestsResource { + /** Indicates that the currently authorized user will participate in the quest. */ + accept(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the quest. */ + questId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Quest>; + /** Get a list of quests for your application and the currently authenticated player. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** + * The maximum number of quest resources to return in the response, used for paging. For any response, the actual number of quest resources returned may + * be less than the specified maxResults. Acceptable values are 1 to 50, inclusive. (Default: 50). + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** A player ID. A value of me may be used in place of the authenticated player's ID. */ + playerId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<QuestListResponse>; + } + interface RevisionsResource { + /** Checks whether the games client is out of date. */ + check(request: { + /** Data format for the response. */ + alt?: string; + /** + * The revision of the client SDK used by your application. Format: + * [PLATFORM_TYPE]:[VERSION_NUMBER]. Possible values of PLATFORM_TYPE are: + * + * - "ANDROID" - Client is running the Android SDK. + * - "IOS" - Client is running the iOS SDK. + * - "WEB_APP" - Client is running as a Web App. + */ + clientRevision: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RevisionCheckResponse>; + } + interface RoomsResource { + /** Create a room. For internal use by the Games SDK only. Calling this method directly is unsupported. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Room>; + /** Decline an invitation to join a room. For internal use by the Games SDK only. Calling this method directly is unsupported. */ + decline(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the room. */ + roomId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Room>; + /** Dismiss an invitation to join a room. For internal use by the Games SDK only. Calling this method directly is unsupported. */ + dismiss(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the room. */ + roomId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Get the data for a room. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the room. */ + roomId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Room>; + /** Join a room. For internal use by the Games SDK only. Calling this method directly is unsupported. */ + join(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the room. */ + roomId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Room>; + /** Leave a room. For internal use by the Games SDK only. Calling this method directly is unsupported. */ + leave(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the room. */ + roomId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Room>; + /** Returns invitations to join rooms. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** + * The maximum number of rooms to return in the response, used for paging. For any response, the actual number of rooms to return may be less than the + * specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RoomList>; + /** Updates sent by a client reporting the status of peers in a room. For internal use by the Games SDK only. Calling this method directly is unsupported. */ + reportStatus(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the room. */ + roomId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RoomStatus>; + } + interface ScoresResource { + /** + * Get high scores, and optionally ranks, in leaderboards for the currently authenticated player. For a specific time span, leaderboardId can be set to + * ALL to retrieve data for all leaderboards in a given time span. + * NOTE: You cannot ask for 'ALL' leaderboards and 'ALL' timeSpans in the same request; only one parameter may be set to 'ALL'. + */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The types of ranks to return. If the parameter is omitted, no ranks will be returned. */ + includeRankType?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** The ID of the leaderboard. Can be set to 'ALL' to retrieve data for all leaderboards for this application. */ + leaderboardId: string; + /** + * The maximum number of leaderboard scores to return in the response. For any response, the actual number of leaderboard scores returned may be less than + * the specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** A player ID. A value of me may be used in place of the authenticated player's ID. */ + playerId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The time span for the scores and ranks you're requesting. */ + timeSpan: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlayerLeaderboardScoreListResponse>; + /** Lists the scores in a leaderboard, starting from the top. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The collection of scores you're requesting. */ + collection: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** The ID of the leaderboard. */ + leaderboardId: string; + /** + * The maximum number of leaderboard scores to return in the response. For any response, the actual number of leaderboard scores returned may be less than + * the specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The time span for the scores and ranks you're requesting. */ + timeSpan: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LeaderboardScores>; + /** Lists the scores in a leaderboard around (and including) a player's score. */ + listWindow(request: { + /** Data format for the response. */ + alt?: string; + /** The collection of scores you're requesting. */ + collection: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** The ID of the leaderboard. */ + leaderboardId: string; + /** + * The maximum number of leaderboard scores to return in the response. For any response, the actual number of leaderboard scores returned may be less than + * the specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The preferred number of scores to return above the player's score. More scores may be returned if the player is at the bottom of the leaderboard; fewer + * may be returned if the player is at the top. Must be less than or equal to maxResults. + */ + resultsAbove?: number; + /** True if the top scores should be returned when the player is not in the leaderboard. Defaults to true. */ + returnTopIfAbsent?: boolean; + /** The time span for the scores and ranks you're requesting. */ + timeSpan: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LeaderboardScores>; + /** Submits a score to the specified leaderboard. */ + submit(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** The ID of the leaderboard. */ + leaderboardId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The score you're submitting. The submitted score is ignored if it is worse than a previously submitted score, where worse depends on the leaderboard + * sort order. The meaning of the score value depends on the leaderboard format type. For fixed-point, the score represents the raw value. For time, the + * score represents elapsed time in milliseconds. For currency, the score represents a value in micro units. + */ + score: string; + /** + * Additional information about the score you're submitting. Values must contain no more than 64 URI-safe characters as defined by section 2.3 of RFC + * 3986. + */ + scoreTag?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlayerScoreResponse>; + /** Submits multiple scores to leaderboards. */ + submitMultiple(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlayerScoreListResponse>; + } + interface SnapshotsResource { + /** Retrieves the metadata for a given snapshot ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the snapshot. */ + snapshotId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Snapshot>; + /** Retrieves a list of snapshots created by your application for the player corresponding to the player ID. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** + * The maximum number of snapshot resources to return in the response, used for paging. For any response, the actual number of snapshot resources returned + * may be less than the specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** A player ID. A value of me may be used in place of the authenticated player's ID. */ + playerId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SnapshotListResponse>; + } + interface TurnBasedMatchesResource { + /** Cancel a turn-based match. */ + cancel(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the match. */ + matchId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Create a turn-based match. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TurnBasedMatch>; + /** Decline an invitation to play a turn-based match. */ + decline(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** The ID of the match. */ + matchId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TurnBasedMatch>; + /** Dismiss a turn-based match from the match list. The match will no longer show up in the list and will not generate notifications. */ + dismiss(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the match. */ + matchId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Finish a turn-based match. Each player should make this call once, after all results are in. Only the player whose turn it is may make the first call + * to Finish, and can pass in the final match state. + */ + finish(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** The ID of the match. */ + matchId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TurnBasedMatch>; + /** Get the data for a turn-based match. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Get match data along with metadata. */ + includeMatchData?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** The ID of the match. */ + matchId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TurnBasedMatch>; + /** Join a turn-based match. */ + join(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** The ID of the match. */ + matchId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TurnBasedMatch>; + /** Leave a turn-based match when it is not the current player's turn, without canceling the match. */ + leave(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** The ID of the match. */ + matchId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TurnBasedMatch>; + /** Leave a turn-based match during the current player's turn, without canceling the match. */ + leaveTurn(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** The ID of the match. */ + matchId: string; + /** The version of the match being updated. */ + matchVersion: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The ID of another participant who should take their turn next. If not set, the match will wait for other player(s) to join via automatching; this is + * only valid if automatch criteria is set on the match with remaining slots for automatched players. + */ + pendingParticipantId?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TurnBasedMatch>; + /** Returns turn-based matches the player is or was involved in. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * True if match data should be returned in the response. Note that not all data will necessarily be returned if include_match_data is true; the server + * may decide to only return data for some of the matches to limit download size for the client. The remainder of the data for these matches will be + * retrievable on request. + */ + includeMatchData?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** The maximum number of completed or canceled matches to return in the response. If not set, all matches returned could be completed or canceled. */ + maxCompletedMatches?: number; + /** + * The maximum number of matches to return in the response, used for paging. For any response, the actual number of matches to return may be less than the + * specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TurnBasedMatchList>; + /** + * Create a rematch of a match that was previously completed, with the same participants. This can be called by only one player on a match still in their + * list; the player must have called Finish first. Returns the newly created match; it will be the caller's turn. + */ + rematch(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** The ID of the match. */ + matchId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * A randomly generated numeric ID for each request specified by the caller. This number is used at the server to ensure that the request is handled + * correctly across retries. + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TurnBasedMatchRematch>; + /** + * Returns turn-based matches the player is or was involved in that changed since the last sync call, with the least recent changes coming first. Matches + * that should be removed from the local cache will have a status of MATCH_DELETED. + */ + sync(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * True if match data should be returned in the response. Note that not all data will necessarily be returned if include_match_data is true; the server + * may decide to only return data for some of the matches to limit download size for the client. The remainder of the data for these matches will be + * retrievable on request. + */ + includeMatchData?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** The maximum number of completed or canceled matches to return in the response. If not set, all matches returned could be completed or canceled. */ + maxCompletedMatches?: number; + /** + * The maximum number of matches to return in the response, used for paging. For any response, the actual number of matches to return may be less than the + * specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TurnBasedMatchSync>; + /** Commit the results of a player turn. */ + takeTurn(request: { + /** Data format for the response. */ + alt?: string; + /** The last-seen mutation timestamp. */ + consistencyToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The preferred language to use for strings returned by this method. */ + language?: string; + /** The ID of the match. */ + matchId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TurnBasedMatch>; + } + } +} diff --git a/types/gapi.client.games/readme.md b/types/gapi.client.games/readme.md new file mode 100644 index 0000000000..b057ba0b6c --- /dev/null +++ b/types/gapi.client.games/readme.md @@ -0,0 +1,326 @@ +# TypeScript typings for Google Play Game Services API v1 +The API for Google Play Game Services. +For detailed description please check [documentation](https://developers.google.com/games/services/). + +## Installing + +Install typings for Google Play Game Services API: +``` +npm install @types/gapi.client.games@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('games', 'v1', () => { + // now we can use gapi.client.games + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage its own configuration data in your Google Drive + 'https://www.googleapis.com/auth/drive.appdata', + + // Share your Google+ profile information and view and manage your game activity + 'https://www.googleapis.com/auth/games', + + // Know the list of people in your circles, your age range, and language + 'https://www.googleapis.com/auth/plus.login', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Play Game Services API resources: + +```typescript + +/* +Lists all the achievement definitions for your application. +*/ +await gapi.client.achievementDefinitions.list({ }); + +/* +Increments the steps of the achievement with the given ID for the currently authenticated player. +*/ +await gapi.client.achievements.increment({ achievementId: "achievementId", stepsToIncrement: 1, }); + +/* +Lists the progress for all your application's achievements for the currently authenticated player. +*/ +await gapi.client.achievements.list({ playerId: "playerId", }); + +/* +Sets the state of the achievement with the given ID to REVEALED for the currently authenticated player. +*/ +await gapi.client.achievements.reveal({ achievementId: "achievementId", }); + +/* +Sets the steps for the currently authenticated player towards unlocking an achievement. If the steps parameter is less than the current number of steps that the player already gained for the achievement, the achievement is not modified. +*/ +await gapi.client.achievements.setStepsAtLeast({ achievementId: "achievementId", steps: 1, }); + +/* +Unlocks this achievement for the currently authenticated player. +*/ +await gapi.client.achievements.unlock({ achievementId: "achievementId", }); + +/* +Updates multiple achievements for the currently authenticated player. +*/ +await gapi.client.achievements.updateMultiple({ }); + +/* +Retrieves the metadata of the application with the given ID. If the requested application is not available for the specified platformType, the returned response will not include any instance data. +*/ +await gapi.client.applications.get({ applicationId: "applicationId", }); + +/* +Indicate that the the currently authenticated user is playing your application. +*/ +await gapi.client.applications.played({ }); + +/* +Verifies the auth token provided with this request is for the application with the specified ID, and returns the ID of the player it was granted for. +*/ +await gapi.client.applications.verify({ applicationId: "applicationId", }); + +/* +Returns a list showing the current progress on events in this application for the currently authenticated user. +*/ +await gapi.client.events.listByPlayer({ }); + +/* +Returns a list of the event definitions in this application. +*/ +await gapi.client.events.listDefinitions({ }); + +/* +Records a batch of changes to the number of times events have occurred for the currently authenticated user of this application. +*/ +await gapi.client.events.record({ }); + +/* +Retrieves the metadata of the leaderboard with the given ID. +*/ +await gapi.client.leaderboards.get({ leaderboardId: "leaderboardId", }); + +/* +Lists all the leaderboard metadata for your application. +*/ +await gapi.client.leaderboards.list({ }); + +/* +Return the metagame configuration data for the calling application. +*/ +await gapi.client.metagame.getMetagameConfig({ }); + +/* +List play data aggregated per category for the player corresponding to playerId. +*/ +await gapi.client.metagame.listCategoriesByPlayer({ collection: "collection", playerId: "playerId", }); + +/* +Retrieves the Player resource with the given ID. To retrieve the player for the currently authenticated user, set playerId to me. +*/ +await gapi.client.players.get({ playerId: "playerId", }); + +/* +Get the collection of players for the currently authenticated user. +*/ +await gapi.client.players.list({ collection: "collection", }); + +/* +Removes a push token for the current user and application. Removing a non-existent push token will report success. +*/ +await gapi.client.pushtokens.remove({ }); + +/* +Registers a push token for the current user and application. +*/ +await gapi.client.pushtokens.update({ }); + +/* +Report that a reward for the milestone corresponding to milestoneId for the quest corresponding to questId has been claimed by the currently authorized user. +*/ +await gapi.client.questMilestones.claim({ milestoneId: "milestoneId", questId: "questId", requestId: "requestId", }); + +/* +Indicates that the currently authorized user will participate in the quest. +*/ +await gapi.client.quests.accept({ questId: "questId", }); + +/* +Get a list of quests for your application and the currently authenticated player. +*/ +await gapi.client.quests.list({ playerId: "playerId", }); + +/* +Checks whether the games client is out of date. +*/ +await gapi.client.revisions.check({ clientRevision: "clientRevision", }); + +/* +Create a room. For internal use by the Games SDK only. Calling this method directly is unsupported. +*/ +await gapi.client.rooms.create({ }); + +/* +Decline an invitation to join a room. For internal use by the Games SDK only. Calling this method directly is unsupported. +*/ +await gapi.client.rooms.decline({ roomId: "roomId", }); + +/* +Dismiss an invitation to join a room. For internal use by the Games SDK only. Calling this method directly is unsupported. +*/ +await gapi.client.rooms.dismiss({ roomId: "roomId", }); + +/* +Get the data for a room. +*/ +await gapi.client.rooms.get({ roomId: "roomId", }); + +/* +Join a room. For internal use by the Games SDK only. Calling this method directly is unsupported. +*/ +await gapi.client.rooms.join({ roomId: "roomId", }); + +/* +Leave a room. For internal use by the Games SDK only. Calling this method directly is unsupported. +*/ +await gapi.client.rooms.leave({ roomId: "roomId", }); + +/* +Returns invitations to join rooms. +*/ +await gapi.client.rooms.list({ }); + +/* +Updates sent by a client reporting the status of peers in a room. For internal use by the Games SDK only. Calling this method directly is unsupported. +*/ +await gapi.client.rooms.reportStatus({ roomId: "roomId", }); + +/* +Get high scores, and optionally ranks, in leaderboards for the currently authenticated player. For a specific time span, leaderboardId can be set to ALL to retrieve data for all leaderboards in a given time span. +NOTE: You cannot ask for 'ALL' leaderboards and 'ALL' timeSpans in the same request; only one parameter may be set to 'ALL'. +*/ +await gapi.client.scores.get({ leaderboardId: "leaderboardId", playerId: "playerId", timeSpan: "timeSpan", }); + +/* +Lists the scores in a leaderboard, starting from the top. +*/ +await gapi.client.scores.list({ collection: "collection", leaderboardId: "leaderboardId", timeSpan: "timeSpan", }); + +/* +Lists the scores in a leaderboard around (and including) a player's score. +*/ +await gapi.client.scores.listWindow({ collection: "collection", leaderboardId: "leaderboardId", timeSpan: "timeSpan", }); + +/* +Submits a score to the specified leaderboard. +*/ +await gapi.client.scores.submit({ leaderboardId: "leaderboardId", score: "score", }); + +/* +Submits multiple scores to leaderboards. +*/ +await gapi.client.scores.submitMultiple({ }); + +/* +Retrieves the metadata for a given snapshot ID. +*/ +await gapi.client.snapshots.get({ snapshotId: "snapshotId", }); + +/* +Retrieves a list of snapshots created by your application for the player corresponding to the player ID. +*/ +await gapi.client.snapshots.list({ playerId: "playerId", }); + +/* +Cancel a turn-based match. +*/ +await gapi.client.turnBasedMatches.cancel({ matchId: "matchId", }); + +/* +Create a turn-based match. +*/ +await gapi.client.turnBasedMatches.create({ }); + +/* +Decline an invitation to play a turn-based match. +*/ +await gapi.client.turnBasedMatches.decline({ matchId: "matchId", }); + +/* +Dismiss a turn-based match from the match list. The match will no longer show up in the list and will not generate notifications. +*/ +await gapi.client.turnBasedMatches.dismiss({ matchId: "matchId", }); + +/* +Finish a turn-based match. Each player should make this call once, after all results are in. Only the player whose turn it is may make the first call to Finish, and can pass in the final match state. +*/ +await gapi.client.turnBasedMatches.finish({ matchId: "matchId", }); + +/* +Get the data for a turn-based match. +*/ +await gapi.client.turnBasedMatches.get({ matchId: "matchId", }); + +/* +Join a turn-based match. +*/ +await gapi.client.turnBasedMatches.join({ matchId: "matchId", }); + +/* +Leave a turn-based match when it is not the current player's turn, without canceling the match. +*/ +await gapi.client.turnBasedMatches.leave({ matchId: "matchId", }); + +/* +Leave a turn-based match during the current player's turn, without canceling the match. +*/ +await gapi.client.turnBasedMatches.leaveTurn({ matchId: "matchId", matchVersion: 1, }); + +/* +Returns turn-based matches the player is or was involved in. +*/ +await gapi.client.turnBasedMatches.list({ }); + +/* +Create a rematch of a match that was previously completed, with the same participants. This can be called by only one player on a match still in their list; the player must have called Finish first. Returns the newly created match; it will be the caller's turn. +*/ +await gapi.client.turnBasedMatches.rematch({ matchId: "matchId", }); + +/* +Returns turn-based matches the player is or was involved in that changed since the last sync call, with the least recent changes coming first. Matches that should be removed from the local cache will have a status of MATCH_DELETED. +*/ +await gapi.client.turnBasedMatches.sync({ }); + +/* +Commit the results of a player turn. +*/ +await gapi.client.turnBasedMatches.takeTurn({ matchId: "matchId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.games/tsconfig.json b/types/gapi.client.games/tsconfig.json new file mode 100644 index 0000000000..d2bbd017e2 --- /dev/null +++ b/types/gapi.client.games/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.games-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.games/tslint.json b/types/gapi.client.games/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.games/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.gamesconfiguration/gapi.client.gamesconfiguration-tests.ts b/types/gapi.client.gamesconfiguration/gapi.client.gamesconfiguration-tests.ts new file mode 100644 index 0000000000..cf0ae57960 --- /dev/null +++ b/types/gapi.client.gamesconfiguration/gapi.client.gamesconfiguration-tests.ts @@ -0,0 +1,89 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('gamesconfiguration', 'v1configuration', () => { + /** now we can use gapi.client.gamesconfiguration */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your Google Play Developer account */ + 'https://www.googleapis.com/auth/androidpublisher', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Delete the achievement configuration with the given ID. */ + await gapi.client.achievementConfigurations.delete({ + achievementId: "achievementId", + }); + /** Retrieves the metadata of the achievement configuration with the given ID. */ + await gapi.client.achievementConfigurations.get({ + achievementId: "achievementId", + }); + /** Insert a new achievement configuration in this application. */ + await gapi.client.achievementConfigurations.insert({ + applicationId: "applicationId", + }); + /** Returns a list of the achievement configurations in this application. */ + await gapi.client.achievementConfigurations.list({ + applicationId: "applicationId", + maxResults: 2, + pageToken: "pageToken", + }); + /** Update the metadata of the achievement configuration with the given ID. This method supports patch semantics. */ + await gapi.client.achievementConfigurations.patch({ + achievementId: "achievementId", + }); + /** Update the metadata of the achievement configuration with the given ID. */ + await gapi.client.achievementConfigurations.update({ + achievementId: "achievementId", + }); + /** Uploads an image for a resource with the given ID and image type. */ + await gapi.client.imageConfigurations.upload({ + imageType: "imageType", + resourceId: "resourceId", + }); + /** Delete the leaderboard configuration with the given ID. */ + await gapi.client.leaderboardConfigurations.delete({ + leaderboardId: "leaderboardId", + }); + /** Retrieves the metadata of the leaderboard configuration with the given ID. */ + await gapi.client.leaderboardConfigurations.get({ + leaderboardId: "leaderboardId", + }); + /** Insert a new leaderboard configuration in this application. */ + await gapi.client.leaderboardConfigurations.insert({ + applicationId: "applicationId", + }); + /** Returns a list of the leaderboard configurations in this application. */ + await gapi.client.leaderboardConfigurations.list({ + applicationId: "applicationId", + maxResults: 2, + pageToken: "pageToken", + }); + /** Update the metadata of the leaderboard configuration with the given ID. This method supports patch semantics. */ + await gapi.client.leaderboardConfigurations.patch({ + leaderboardId: "leaderboardId", + }); + /** Update the metadata of the leaderboard configuration with the given ID. */ + await gapi.client.leaderboardConfigurations.update({ + leaderboardId: "leaderboardId", + }); + } +}); diff --git a/types/gapi.client.gamesconfiguration/index.d.ts b/types/gapi.client.gamesconfiguration/index.d.ts new file mode 100644 index 0000000000..f36c73d73d --- /dev/null +++ b/types/gapi.client.gamesconfiguration/index.d.ts @@ -0,0 +1,490 @@ +// Type definitions for Google Google Play Game Services Publishing API v1configuration 1.0 +// Project: https://developers.google.com/games/services +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/gamesConfiguration/v1configuration/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Play Game Services Publishing API v1configuration */ + function load(name: "gamesconfiguration", version: "v1configuration"): PromiseLike<void>; + function load(name: "gamesconfiguration", version: "v1configuration", callback: () => any): void; + + const achievementConfigurations: gamesconfiguration.AchievementConfigurationsResource; + + const imageConfigurations: gamesconfiguration.ImageConfigurationsResource; + + const leaderboardConfigurations: gamesconfiguration.LeaderboardConfigurationsResource; + + namespace gamesconfiguration { + interface AchievementConfiguration { + /** + * The type of the achievement. + * Possible values are: + * - "STANDARD" - Achievement is either locked or unlocked. + * - "INCREMENTAL" - Achievement is incremental. + */ + achievementType?: string; + /** The draft data of the achievement. */ + draft?: AchievementConfigurationDetail; + /** The ID of the achievement. */ + id?: string; + /** + * The initial state of the achievement. + * Possible values are: + * - "HIDDEN" - Achievement is hidden. + * - "REVEALED" - Achievement is revealed. + * - "UNLOCKED" - Achievement is unlocked. + */ + initialState?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfiguration. */ + kind?: string; + /** The read-only published data of the achievement. */ + published?: AchievementConfigurationDetail; + /** Steps to unlock. Only applicable to incremental achievements. */ + stepsToUnlock?: number; + /** The token for this resource. */ + token?: string; + } + interface AchievementConfigurationDetail { + /** Localized strings for the achievement description. */ + description?: LocalizedStringBundle; + /** The icon url of this achievement. Writes to this field are ignored. */ + iconUrl?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfigurationDetail. */ + kind?: string; + /** Localized strings for the achievement name. */ + name?: LocalizedStringBundle; + /** Point value for the achievement. */ + pointValue?: number; + /** The sort rank of this achievement. Writes to this field are ignored. */ + sortRank?: number; + } + interface AchievementConfigurationListResponse { + /** The achievement configurations. */ + items?: AchievementConfiguration[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#achievementConfigurationListResponse. */ + kind?: string; + /** The pagination token for the next page of results. */ + nextPageToken?: string; + } + interface GamesNumberAffixConfiguration { + /** + * When the language requires special treatment of "small" numbers (as with 2, 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in + * Polish). + */ + few?: LocalizedStringBundle; + /** When the language requires special treatment of "large" numbers (as with numbers ending 11-99 in Maltese). */ + many?: LocalizedStringBundle; + /** + * When the language requires special treatment of numbers like one (as with the number 1 in English and most other languages; in Russian, any number + * ending in 1 but not ending in 11 is in this class). + */ + one?: LocalizedStringBundle; + /** When the language does not require special treatment of the given quantity (as with all numbers in Chinese, or 42 in English). */ + other?: LocalizedStringBundle; + /** When the language requires special treatment of numbers like two (as with 2 in Welsh, or 102 in Slovenian). */ + two?: LocalizedStringBundle; + /** When the language requires special treatment of the number 0 (as in Arabic). */ + zero?: LocalizedStringBundle; + } + interface GamesNumberFormatConfiguration { + /** The curreny code string. Only used for CURRENCY format type. */ + currencyCode?: string; + /** The number of decimal places for number. Only used for NUMERIC format type. */ + numDecimalPlaces?: number; + /** + * The formatting for the number. + * Possible values are: + * - "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit + * can be added. + * - "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds. + * - "CURRENCY" - Numbers are formatted to currency according to locale. + */ + numberFormatType?: string; + /** An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources. */ + suffix?: GamesNumberAffixConfiguration; + } + interface ImageConfiguration { + /** The image type for the image. */ + imageType?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#imageConfiguration. */ + kind?: string; + /** The resource ID of resource which the image belongs to. */ + resourceId?: string; + /** The url for this image. */ + url?: string; + } + interface LeaderboardConfiguration { + /** The draft data of the leaderboard. */ + draft?: LeaderboardConfigurationDetail; + /** The ID of the leaderboard. */ + id?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfiguration. */ + kind?: string; + /** The read-only published data of the leaderboard. */ + published?: LeaderboardConfigurationDetail; + /** Maximum score that can be posted to this leaderboard. */ + scoreMax?: string; + /** Minimum score that can be posted to this leaderboard. */ + scoreMin?: string; + /** + * The type of the leaderboard. + * Possible values are: + * - "LARGER_IS_BETTER" - Larger scores posted are ranked higher. + * - "SMALLER_IS_BETTER" - Smaller scores posted are ranked higher. + */ + scoreOrder?: string; + /** The token for this resource. */ + token?: string; + } + interface LeaderboardConfigurationDetail { + /** The icon url of this leaderboard. Writes to this field are ignored. */ + iconUrl?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfigurationDetail. */ + kind?: string; + /** Localized strings for the leaderboard name. */ + name?: LocalizedStringBundle; + /** The score formatting for the leaderboard. */ + scoreFormat?: GamesNumberFormatConfiguration; + /** The sort rank of this leaderboard. Writes to this field are ignored. */ + sortRank?: number; + } + interface LeaderboardConfigurationListResponse { + /** The leaderboard configurations. */ + items?: LeaderboardConfiguration[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string games#leaderboardConfigurationListResponse. */ + kind?: string; + /** The pagination token for the next page of results. */ + nextPageToken?: string; + } + interface LocalizedString { + /** Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString. */ + kind?: string; + /** The locale string. */ + locale?: string; + /** The string value. */ + value?: string; + } + interface LocalizedStringBundle { + /** Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle. */ + kind?: string; + /** The locale strings. */ + translations?: LocalizedString[]; + } + interface AchievementConfigurationsResource { + /** Delete the achievement configuration with the given ID. */ + delete(request: { + /** The ID of the achievement used by this method. */ + achievementId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves the metadata of the achievement configuration with the given ID. */ + get(request: { + /** The ID of the achievement used by this method. */ + achievementId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AchievementConfiguration>; + /** Insert a new achievement configuration in this application. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** The application ID from the Google Play developer console. */ + applicationId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AchievementConfiguration>; + /** Returns a list of the achievement configurations in this application. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The application ID from the Google Play developer console. */ + applicationId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of resource configurations to return in the response, used for paging. For any response, the actual number of resources returned may + * be less than the specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AchievementConfigurationListResponse>; + /** Update the metadata of the achievement configuration with the given ID. This method supports patch semantics. */ + patch(request: { + /** The ID of the achievement used by this method. */ + achievementId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AchievementConfiguration>; + /** Update the metadata of the achievement configuration with the given ID. */ + update(request: { + /** The ID of the achievement used by this method. */ + achievementId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AchievementConfiguration>; + } + interface ImageConfigurationsResource { + /** Uploads an image for a resource with the given ID and image type. */ + upload(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Selects which image in a resource for this method. */ + imageType: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the resource used by this method. */ + resourceId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ImageConfiguration>; + } + interface LeaderboardConfigurationsResource { + /** Delete the leaderboard configuration with the given ID. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the leaderboard. */ + leaderboardId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves the metadata of the leaderboard configuration with the given ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the leaderboard. */ + leaderboardId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LeaderboardConfiguration>; + /** Insert a new leaderboard configuration in this application. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** The application ID from the Google Play developer console. */ + applicationId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LeaderboardConfiguration>; + /** Returns a list of the leaderboard configurations in this application. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The application ID from the Google Play developer console. */ + applicationId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of resource configurations to return in the response, used for paging. For any response, the actual number of resources returned may + * be less than the specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LeaderboardConfigurationListResponse>; + /** Update the metadata of the leaderboard configuration with the given ID. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the leaderboard. */ + leaderboardId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LeaderboardConfiguration>; + /** Update the metadata of the leaderboard configuration with the given ID. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the leaderboard. */ + leaderboardId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LeaderboardConfiguration>; + } + } +} diff --git a/types/gapi.client.gamesconfiguration/readme.md b/types/gapi.client.gamesconfiguration/readme.md new file mode 100644 index 0000000000..3e32eb22ee --- /dev/null +++ b/types/gapi.client.gamesconfiguration/readme.md @@ -0,0 +1,119 @@ +# TypeScript typings for Google Play Game Services Publishing API v1configuration +The Publishing API for Google Play Game Services. +For detailed description please check [documentation](https://developers.google.com/games/services). + +## Installing + +Install typings for Google Play Game Services Publishing API: +``` +npm install @types/gapi.client.gamesconfiguration@v1configuration --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('gamesconfiguration', 'v1configuration', () => { + // now we can use gapi.client.gamesconfiguration + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your Google Play Developer account + 'https://www.googleapis.com/auth/androidpublisher', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Play Game Services Publishing API resources: + +```typescript + +/* +Delete the achievement configuration with the given ID. +*/ +await gapi.client.achievementConfigurations.delete({ achievementId: "achievementId", }); + +/* +Retrieves the metadata of the achievement configuration with the given ID. +*/ +await gapi.client.achievementConfigurations.get({ achievementId: "achievementId", }); + +/* +Insert a new achievement configuration in this application. +*/ +await gapi.client.achievementConfigurations.insert({ applicationId: "applicationId", }); + +/* +Returns a list of the achievement configurations in this application. +*/ +await gapi.client.achievementConfigurations.list({ applicationId: "applicationId", }); + +/* +Update the metadata of the achievement configuration with the given ID. This method supports patch semantics. +*/ +await gapi.client.achievementConfigurations.patch({ achievementId: "achievementId", }); + +/* +Update the metadata of the achievement configuration with the given ID. +*/ +await gapi.client.achievementConfigurations.update({ achievementId: "achievementId", }); + +/* +Uploads an image for a resource with the given ID and image type. +*/ +await gapi.client.imageConfigurations.upload({ imageType: "imageType", resourceId: "resourceId", }); + +/* +Delete the leaderboard configuration with the given ID. +*/ +await gapi.client.leaderboardConfigurations.delete({ leaderboardId: "leaderboardId", }); + +/* +Retrieves the metadata of the leaderboard configuration with the given ID. +*/ +await gapi.client.leaderboardConfigurations.get({ leaderboardId: "leaderboardId", }); + +/* +Insert a new leaderboard configuration in this application. +*/ +await gapi.client.leaderboardConfigurations.insert({ applicationId: "applicationId", }); + +/* +Returns a list of the leaderboard configurations in this application. +*/ +await gapi.client.leaderboardConfigurations.list({ applicationId: "applicationId", }); + +/* +Update the metadata of the leaderboard configuration with the given ID. This method supports patch semantics. +*/ +await gapi.client.leaderboardConfigurations.patch({ leaderboardId: "leaderboardId", }); + +/* +Update the metadata of the leaderboard configuration with the given ID. +*/ +await gapi.client.leaderboardConfigurations.update({ leaderboardId: "leaderboardId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.gamesconfiguration/tsconfig.json b/types/gapi.client.gamesconfiguration/tsconfig.json new file mode 100644 index 0000000000..66a95276f8 --- /dev/null +++ b/types/gapi.client.gamesconfiguration/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.gamesconfiguration-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.gamesconfiguration/tslint.json b/types/gapi.client.gamesconfiguration/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.gamesconfiguration/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.gamesmanagement/gapi.client.gamesmanagement-tests.ts b/types/gapi.client.gamesmanagement/gapi.client.gamesmanagement-tests.ts new file mode 100644 index 0000000000..0dd3ae32d4 --- /dev/null +++ b/types/gapi.client.gamesmanagement/gapi.client.gamesmanagement-tests.ts @@ -0,0 +1,190 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('gamesmanagement', 'v1management', () => { + /** now we can use gapi.client.gamesmanagement */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Share your Google+ profile information and view and manage your game activity */ + 'https://www.googleapis.com/auth/games', + /** Know the list of people in your circles, your age range, and language */ + 'https://www.googleapis.com/auth/plus.login', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Resets the achievement with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your + * application. + */ + await gapi.client.achievements.reset({ + achievementId: "achievementId", + }); + /** + * Resets all achievements for the currently authenticated player for your application. This method is only accessible to whitelisted tester accounts for + * your application. + */ + await gapi.client.achievements.resetAll({ + }); + /** Resets all draft achievements for all players. This method is only available to user accounts for your developer console. */ + await gapi.client.achievements.resetAllForAllPlayers({ + }); + /** + * Resets the achievement with the given ID for all players. This method is only available to user accounts for your developer console. Only draft + * achievements can be reset. + */ + await gapi.client.achievements.resetForAllPlayers({ + achievementId: "achievementId", + }); + /** + * Resets achievements with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft + * achievements may be reset. + */ + await gapi.client.achievements.resetMultipleForAllPlayers({ + }); + /** Get the list of players hidden from the given application. This method is only available to user accounts for your developer console. */ + await gapi.client.applications.listHidden({ + applicationId: "applicationId", + maxResults: 2, + pageToken: "pageToken", + }); + /** + * Resets all player progress on the event with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester + * accounts for your application. All quests for this player that use the event will also be reset. + */ + await gapi.client.events.reset({ + eventId: "eventId", + }); + /** + * Resets all player progress on all events for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your + * application. All quests for this player will also be reset. + */ + await gapi.client.events.resetAll({ + }); + /** + * Resets all draft events for all players. This method is only available to user accounts for your developer console. All quests that use any of these + * events will also be reset. + */ + await gapi.client.events.resetAllForAllPlayers({ + }); + /** + * Resets the event with the given ID for all players. This method is only available to user accounts for your developer console. Only draft events can be + * reset. All quests that use the event will also be reset. + */ + await gapi.client.events.resetForAllPlayers({ + eventId: "eventId", + }); + /** + * Resets events with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft events may be + * reset. All quests that use any of the events will also be reset. + */ + await gapi.client.events.resetMultipleForAllPlayers({ + }); + /** Hide the given player's leaderboard scores from the given application. This method is only available to user accounts for your developer console. */ + await gapi.client.players.hide({ + applicationId: "applicationId", + playerId: "playerId", + }); + /** Unhide the given player's leaderboard scores from the given application. This method is only available to user accounts for your developer console. */ + await gapi.client.players.unhide({ + applicationId: "applicationId", + playerId: "playerId", + }); + /** + * Resets all player progress on the quest with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester + * accounts for your application. + */ + await gapi.client.quests.reset({ + questId: "questId", + }); + /** + * Resets all player progress on all quests for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your + * application. + */ + await gapi.client.quests.resetAll({ + }); + /** Resets all draft quests for all players. This method is only available to user accounts for your developer console. */ + await gapi.client.quests.resetAllForAllPlayers({ + }); + /** + * Resets all player progress on the quest with the given ID for all players. This method is only available to user accounts for your developer console. + * Only draft quests can be reset. + */ + await gapi.client.quests.resetForAllPlayers({ + questId: "questId", + }); + /** + * Resets quests with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft quests may be + * reset. + */ + await gapi.client.quests.resetMultipleForAllPlayers({ + }); + /** + * Reset all rooms for the currently authenticated player for your application. This method is only accessible to whitelisted tester accounts for your + * application. + */ + await gapi.client.rooms.reset({ + }); + /** + * Deletes rooms where the only room participants are from whitelisted tester accounts for your application. This method is only available to user + * accounts for your developer console. + */ + await gapi.client.rooms.resetForAllPlayers({ + }); + /** + * Resets scores for the leaderboard with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester + * accounts for your application. + */ + await gapi.client.scores.reset({ + leaderboardId: "leaderboardId", + }); + /** + * Resets all scores for all leaderboards for the currently authenticated players. This method is only accessible to whitelisted tester accounts for your + * application. + */ + await gapi.client.scores.resetAll({ + }); + /** Resets scores for all draft leaderboards for all players. This method is only available to user accounts for your developer console. */ + await gapi.client.scores.resetAllForAllPlayers({ + }); + /** + * Resets scores for the leaderboard with the given ID for all players. This method is only available to user accounts for your developer console. Only + * draft leaderboards can be reset. + */ + await gapi.client.scores.resetForAllPlayers({ + leaderboardId: "leaderboardId", + }); + /** + * Resets scores for the leaderboards with the given IDs for all players. This method is only available to user accounts for your developer console. Only + * draft leaderboards may be reset. + */ + await gapi.client.scores.resetMultipleForAllPlayers({ + }); + /** Reset all turn-based match data for a user. This method is only accessible to whitelisted tester accounts for your application. */ + await gapi.client.turnBasedMatches.reset({ + }); + /** + * Deletes turn-based matches where the only match participants are from whitelisted tester accounts for your application. This method is only available + * to user accounts for your developer console. + */ + await gapi.client.turnBasedMatches.resetForAllPlayers({ + }); + } +}); diff --git a/types/gapi.client.gamesmanagement/index.d.ts b/types/gapi.client.gamesmanagement/index.d.ts new file mode 100644 index 0000000000..48ea1c6c14 --- /dev/null +++ b/types/gapi.client.gamesmanagement/index.d.ts @@ -0,0 +1,835 @@ +// Type definitions for Google Google Play Game Services Management API v1management 1.0 +// Project: https://developers.google.com/games/services +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/gamesManagement/v1management/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Play Game Services Management API v1management */ + function load(name: "gamesmanagement", version: "v1management"): PromiseLike<void>; + function load(name: "gamesmanagement", version: "v1management", callback: () => any): void; + + const achievements: gamesmanagement.AchievementsResource; + + const applications: gamesmanagement.ApplicationsResource; + + const events: gamesmanagement.EventsResource; + + const players: gamesmanagement.PlayersResource; + + const quests: gamesmanagement.QuestsResource; + + const rooms: gamesmanagement.RoomsResource; + + const scores: gamesmanagement.ScoresResource; + + const turnBasedMatches: gamesmanagement.TurnBasedMatchesResource; + + namespace gamesmanagement { + interface AchievementResetAllResponse { + /** Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#achievementResetAllResponse. */ + kind?: string; + /** The achievement reset results. */ + results?: AchievementResetResponse[]; + } + interface AchievementResetMultipleForAllRequest { + /** The IDs of achievements to reset. */ + achievement_ids?: string[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#achievementResetMultipleForAllRequest. */ + kind?: string; + } + interface AchievementResetResponse { + /** + * The current state of the achievement. This is the same as the initial state of the achievement. + * Possible values are: + * - "HIDDEN"- Achievement is hidden. + * - "REVEALED" - Achievement is revealed. + * - "UNLOCKED" - Achievement is unlocked. + */ + currentState?: string; + /** The ID of an achievement for which player state has been updated. */ + definitionId?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#achievementResetResponse. */ + kind?: string; + /** Flag to indicate if the requested update actually occurred. */ + updateOccurred?: boolean; + } + interface EventsResetMultipleForAllRequest { + /** The IDs of events to reset. */ + event_ids?: string[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#eventsResetMultipleForAllRequest. */ + kind?: string; + } + interface GamesPlayedResource { + /** True if the player was auto-matched with the currently authenticated user. */ + autoMatched?: boolean; + /** The last time the player played the game in milliseconds since the epoch in UTC. */ + timeMillis?: string; + } + interface GamesPlayerExperienceInfoResource { + /** The current number of experience points for the player. */ + currentExperiencePoints?: string; + /** The current level of the player. */ + currentLevel?: GamesPlayerLevelResource; + /** The timestamp when the player was leveled up, in millis since Unix epoch UTC. */ + lastLevelUpTimestampMillis?: string; + /** The next level of the player. If the current level is the maximum level, this should be same as the current level. */ + nextLevel?: GamesPlayerLevelResource; + } + interface GamesPlayerLevelResource { + /** The level for the user. */ + level?: number; + /** The maximum experience points for this level. */ + maxExperiencePoints?: string; + /** The minimum experience points for this level. */ + minExperiencePoints?: string; + } + interface HiddenPlayer { + /** The time this player was hidden. */ + hiddenTimeMillis?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#hiddenPlayer. */ + kind?: string; + /** The player information. */ + player?: Player; + } + interface HiddenPlayerList { + /** The players. */ + items?: HiddenPlayer[]; + /** Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#hiddenPlayerList. */ + kind?: string; + /** The pagination token for the next page of results. */ + nextPageToken?: string; + } + interface Player { + /** The base URL for the image that represents the player. */ + avatarImageUrl?: string; + /** The url to the landscape mode player banner image. */ + bannerUrlLandscape?: string; + /** The url to the portrait mode player banner image. */ + bannerUrlPortrait?: string; + /** The name to display for the player. */ + displayName?: string; + /** An object to represent Play Game experience information for the player. */ + experienceInfo?: GamesPlayerExperienceInfoResource; + /** Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#player. */ + kind?: string; + /** + * Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection + * members. + */ + lastPlayedWith?: GamesPlayedResource; + /** An object representation of the individual components of the player's name. For some players, these fields may not be present. */ + name?: { + /** The family name of this player. In some places, this is known as the last name. */ + familyName?: string; + /** The given name of this player. In some places, this is known as the first name. */ + givenName?: string; + }; + /** + * The player ID that was used for this player the first time they signed into the game in question. This is only populated for calls to player.get for + * the requesting player, only if the player ID has subsequently changed, and only to clients that support remapping player IDs. + */ + originalPlayerId?: string; + /** The ID of the player. */ + playerId?: string; + /** The player's profile settings. Controls whether or not the player's profile is visible to other players. */ + profileSettings?: ProfileSettings; + /** The player's title rewarded for their game activities. */ + title?: string; + } + interface PlayerScoreResetAllResponse { + /** Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#playerScoreResetResponse. */ + kind?: string; + /** The leaderboard reset results. */ + results?: PlayerScoreResetResponse[]; + } + interface PlayerScoreResetResponse { + /** The ID of an leaderboard for which player state has been updated. */ + definitionId?: string; + /** Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#playerScoreResetResponse. */ + kind?: string; + /** + * The time spans of the updated score. + * Possible values are: + * - "ALL_TIME" - The score is an all-time score. + * - "WEEKLY" - The score is a weekly score. + * - "DAILY" - The score is a daily score. + */ + resetScoreTimeSpans?: string[]; + } + interface ProfileSettings { + /** Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#profileSettings. */ + kind?: string; + /** The player's current profile visibility. This field is visible to both 1P and 3P APIs. */ + profileVisible?: boolean; + } + interface QuestsResetMultipleForAllRequest { + /** Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#questsResetMultipleForAllRequest. */ + kind?: string; + /** The IDs of quests to reset. */ + quest_ids?: string[]; + } + interface ScoresResetMultipleForAllRequest { + /** Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#scoresResetMultipleForAllRequest. */ + kind?: string; + /** The IDs of leaderboards to reset. */ + leaderboard_ids?: string[]; + } + interface AchievementsResource { + /** + * Resets the achievement with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your + * application. + */ + reset(request: { + /** The ID of the achievement used by this method. */ + achievementId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AchievementResetResponse>; + /** + * Resets all achievements for the currently authenticated player for your application. This method is only accessible to whitelisted tester accounts for + * your application. + */ + resetAll(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AchievementResetAllResponse>; + /** Resets all draft achievements for all players. This method is only available to user accounts for your developer console. */ + resetAllForAllPlayers(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Resets the achievement with the given ID for all players. This method is only available to user accounts for your developer console. Only draft + * achievements can be reset. + */ + resetForAllPlayers(request: { + /** The ID of the achievement used by this method. */ + achievementId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Resets achievements with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft + * achievements may be reset. + */ + resetMultipleForAllPlayers(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface ApplicationsResource { + /** Get the list of players hidden from the given application. This method is only available to user accounts for your developer console. */ + listHidden(request: { + /** Data format for the response. */ + alt?: string; + /** The application ID from the Google Play developer console. */ + applicationId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of player resources to return in the response, used for paging. For any response, the actual number of player resources returned may + * be less than the specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The token returned by the previous request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<HiddenPlayerList>; + } + interface EventsResource { + /** + * Resets all player progress on the event with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester + * accounts for your application. All quests for this player that use the event will also be reset. + */ + reset(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the event. */ + eventId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Resets all player progress on all events for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your + * application. All quests for this player will also be reset. + */ + resetAll(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Resets all draft events for all players. This method is only available to user accounts for your developer console. All quests that use any of these + * events will also be reset. + */ + resetAllForAllPlayers(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Resets the event with the given ID for all players. This method is only available to user accounts for your developer console. Only draft events can be + * reset. All quests that use the event will also be reset. + */ + resetForAllPlayers(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the event. */ + eventId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Resets events with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft events may be + * reset. All quests that use any of the events will also be reset. + */ + resetMultipleForAllPlayers(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface PlayersResource { + /** Hide the given player's leaderboard scores from the given application. This method is only available to user accounts for your developer console. */ + hide(request: { + /** Data format for the response. */ + alt?: string; + /** The application ID from the Google Play developer console. */ + applicationId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** A player ID. A value of me may be used in place of the authenticated player's ID. */ + playerId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Unhide the given player's leaderboard scores from the given application. This method is only available to user accounts for your developer console. */ + unhide(request: { + /** Data format for the response. */ + alt?: string; + /** The application ID from the Google Play developer console. */ + applicationId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** A player ID. A value of me may be used in place of the authenticated player's ID. */ + playerId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface QuestsResource { + /** + * Resets all player progress on the quest with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester + * accounts for your application. + */ + reset(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the quest. */ + questId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Resets all player progress on all quests for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your + * application. + */ + resetAll(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Resets all draft quests for all players. This method is only available to user accounts for your developer console. */ + resetAllForAllPlayers(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Resets all player progress on the quest with the given ID for all players. This method is only available to user accounts for your developer console. + * Only draft quests can be reset. + */ + resetForAllPlayers(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The ID of the quest. */ + questId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Resets quests with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft quests may be + * reset. + */ + resetMultipleForAllPlayers(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface RoomsResource { + /** + * Reset all rooms for the currently authenticated player for your application. This method is only accessible to whitelisted tester accounts for your + * application. + */ + reset(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Deletes rooms where the only room participants are from whitelisted tester accounts for your application. This method is only available to user + * accounts for your developer console. + */ + resetForAllPlayers(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface ScoresResource { + /** + * Resets scores for the leaderboard with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester + * accounts for your application. + */ + reset(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the leaderboard. */ + leaderboardId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlayerScoreResetResponse>; + /** + * Resets all scores for all leaderboards for the currently authenticated players. This method is only accessible to whitelisted tester accounts for your + * application. + */ + resetAll(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlayerScoreResetAllResponse>; + /** Resets scores for all draft leaderboards for all players. This method is only available to user accounts for your developer console. */ + resetAllForAllPlayers(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Resets scores for the leaderboard with the given ID for all players. This method is only available to user accounts for your developer console. Only + * draft leaderboards can be reset. + */ + resetForAllPlayers(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the leaderboard. */ + leaderboardId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Resets scores for the leaderboards with the given IDs for all players. This method is only available to user accounts for your developer console. Only + * draft leaderboards may be reset. + */ + resetMultipleForAllPlayers(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface TurnBasedMatchesResource { + /** Reset all turn-based match data for a user. This method is only accessible to whitelisted tester accounts for your application. */ + reset(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Deletes turn-based matches where the only match participants are from whitelisted tester accounts for your application. This method is only available + * to user accounts for your developer console. + */ + resetForAllPlayers(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + } +} diff --git a/types/gapi.client.gamesmanagement/readme.md b/types/gapi.client.gamesmanagement/readme.md new file mode 100644 index 0000000000..d6678b5ddd --- /dev/null +++ b/types/gapi.client.gamesmanagement/readme.md @@ -0,0 +1,192 @@ +# TypeScript typings for Google Play Game Services Management API v1management +The Management API for Google Play Game Services. +For detailed description please check [documentation](https://developers.google.com/games/services). + +## Installing + +Install typings for Google Play Game Services Management API: +``` +npm install @types/gapi.client.gamesmanagement@v1management --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('gamesmanagement', 'v1management', () => { + // now we can use gapi.client.gamesmanagement + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Share your Google+ profile information and view and manage your game activity + 'https://www.googleapis.com/auth/games', + + // Know the list of people in your circles, your age range, and language + 'https://www.googleapis.com/auth/plus.login', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Play Game Services Management API resources: + +```typescript + +/* +Resets the achievement with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application. +*/ +await gapi.client.achievements.reset({ achievementId: "achievementId", }); + +/* +Resets all achievements for the currently authenticated player for your application. This method is only accessible to whitelisted tester accounts for your application. +*/ +await gapi.client.achievements.resetAll({ }); + +/* +Resets all draft achievements for all players. This method is only available to user accounts for your developer console. +*/ +await gapi.client.achievements.resetAllForAllPlayers({ }); + +/* +Resets the achievement with the given ID for all players. This method is only available to user accounts for your developer console. Only draft achievements can be reset. +*/ +await gapi.client.achievements.resetForAllPlayers({ achievementId: "achievementId", }); + +/* +Resets achievements with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft achievements may be reset. +*/ +await gapi.client.achievements.resetMultipleForAllPlayers({ }); + +/* +Get the list of players hidden from the given application. This method is only available to user accounts for your developer console. +*/ +await gapi.client.applications.listHidden({ applicationId: "applicationId", }); + +/* +Resets all player progress on the event with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application. All quests for this player that use the event will also be reset. +*/ +await gapi.client.events.reset({ eventId: "eventId", }); + +/* +Resets all player progress on all events for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application. All quests for this player will also be reset. +*/ +await gapi.client.events.resetAll({ }); + +/* +Resets all draft events for all players. This method is only available to user accounts for your developer console. All quests that use any of these events will also be reset. +*/ +await gapi.client.events.resetAllForAllPlayers({ }); + +/* +Resets the event with the given ID for all players. This method is only available to user accounts for your developer console. Only draft events can be reset. All quests that use the event will also be reset. +*/ +await gapi.client.events.resetForAllPlayers({ eventId: "eventId", }); + +/* +Resets events with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft events may be reset. All quests that use any of the events will also be reset. +*/ +await gapi.client.events.resetMultipleForAllPlayers({ }); + +/* +Hide the given player's leaderboard scores from the given application. This method is only available to user accounts for your developer console. +*/ +await gapi.client.players.hide({ applicationId: "applicationId", playerId: "playerId", }); + +/* +Unhide the given player's leaderboard scores from the given application. This method is only available to user accounts for your developer console. +*/ +await gapi.client.players.unhide({ applicationId: "applicationId", playerId: "playerId", }); + +/* +Resets all player progress on the quest with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application. +*/ +await gapi.client.quests.reset({ questId: "questId", }); + +/* +Resets all player progress on all quests for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application. +*/ +await gapi.client.quests.resetAll({ }); + +/* +Resets all draft quests for all players. This method is only available to user accounts for your developer console. +*/ +await gapi.client.quests.resetAllForAllPlayers({ }); + +/* +Resets all player progress on the quest with the given ID for all players. This method is only available to user accounts for your developer console. Only draft quests can be reset. +*/ +await gapi.client.quests.resetForAllPlayers({ questId: "questId", }); + +/* +Resets quests with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft quests may be reset. +*/ +await gapi.client.quests.resetMultipleForAllPlayers({ }); + +/* +Reset all rooms for the currently authenticated player for your application. This method is only accessible to whitelisted tester accounts for your application. +*/ +await gapi.client.rooms.reset({ }); + +/* +Deletes rooms where the only room participants are from whitelisted tester accounts for your application. This method is only available to user accounts for your developer console. +*/ +await gapi.client.rooms.resetForAllPlayers({ }); + +/* +Resets scores for the leaderboard with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application. +*/ +await gapi.client.scores.reset({ leaderboardId: "leaderboardId", }); + +/* +Resets all scores for all leaderboards for the currently authenticated players. This method is only accessible to whitelisted tester accounts for your application. +*/ +await gapi.client.scores.resetAll({ }); + +/* +Resets scores for all draft leaderboards for all players. This method is only available to user accounts for your developer console. +*/ +await gapi.client.scores.resetAllForAllPlayers({ }); + +/* +Resets scores for the leaderboard with the given ID for all players. This method is only available to user accounts for your developer console. Only draft leaderboards can be reset. +*/ +await gapi.client.scores.resetForAllPlayers({ leaderboardId: "leaderboardId", }); + +/* +Resets scores for the leaderboards with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft leaderboards may be reset. +*/ +await gapi.client.scores.resetMultipleForAllPlayers({ }); + +/* +Reset all turn-based match data for a user. This method is only accessible to whitelisted tester accounts for your application. +*/ +await gapi.client.turnBasedMatches.reset({ }); + +/* +Deletes turn-based matches where the only match participants are from whitelisted tester accounts for your application. This method is only available to user accounts for your developer console. +*/ +await gapi.client.turnBasedMatches.resetForAllPlayers({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.gamesmanagement/tsconfig.json b/types/gapi.client.gamesmanagement/tsconfig.json new file mode 100644 index 0000000000..91d2485de8 --- /dev/null +++ b/types/gapi.client.gamesmanagement/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.gamesmanagement-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.gamesmanagement/tslint.json b/types/gapi.client.gamesmanagement/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.gamesmanagement/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.genomics/gapi.client.genomics-tests.ts b/types/gapi.client.genomics/gapi.client.genomics-tests.ts new file mode 100644 index 0000000000..bce48908e6 --- /dev/null +++ b/types/gapi.client.genomics/gapi.client.genomics-tests.ts @@ -0,0 +1,750 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('genomics', 'v1', () => { + /** now we can use gapi.client.genomics */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data in Google BigQuery */ + 'https://www.googleapis.com/auth/bigquery', + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** Manage your data in Google Cloud Storage */ + 'https://www.googleapis.com/auth/devstorage.read_write', + /** View and manage Genomics data */ + 'https://www.googleapis.com/auth/genomics', + /** View Genomics data */ + 'https://www.googleapis.com/auth/genomics.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Creates one or more new annotations atomically. All annotations must + * belong to the same annotation set. Caller must have WRITE + * permission for this annotation set. For optimal performance, batch + * positionally adjacent annotations together. + * + * If the request has a systemic issue, such as an attempt to write to + * an inaccessible annotation set, the entire RPC will fail accordingly. For + * lesser data issues, when possible an error will be isolated to the + * corresponding batch entry in the response; the remaining well formed + * annotations will be created normally. + * + * For details on the requirements for each individual annotation resource, + * see + * CreateAnnotation. + */ + await gapi.client.annotations.batchCreate({ + }); + /** + * Creates a new annotation. Caller must have WRITE permission + * for the associated annotation set. + * + * The following fields are required: + * + * * annotationSetId + * * referenceName or + * referenceId + * + * ### Transcripts + * + * For annotations of type TRANSCRIPT, the following fields of + * transcript must be provided: + * + * * exons.start + * * exons.end + * + * All other fields may be optionally specified, unless documented as being + * server-generated (for example, the `id` field). The annotated + * range must be no longer than 100Mbp (mega base pairs). See the + * Annotation resource + * for additional restrictions on each field. + */ + await gapi.client.annotations.create({ + }); + /** + * Deletes an annotation. Caller must have WRITE permission for + * the associated annotation set. + */ + await gapi.client.annotations.delete({ + annotationId: "annotationId", + }); + /** + * Gets an annotation. Caller must have READ permission + * for the associated annotation set. + */ + await gapi.client.annotations.get({ + annotationId: "annotationId", + }); + /** + * Searches for annotations that match the given criteria. Results are + * ordered by genomic coordinate (by reference sequence, then position). + * Annotations with equivalent genomic coordinates are returned in an + * unspecified order. This order is consistent, such that two queries for the + * same content (regardless of page size) yield annotations in the same order + * across their respective streams of paginated responses. Caller must have + * READ permission for the queried annotation sets. + */ + await gapi.client.annotations.search({ + }); + /** + * Updates an annotation. Caller must have + * WRITE permission for the associated dataset. + */ + await gapi.client.annotations.update({ + annotationId: "annotationId", + updateMask: "updateMask", + }); + /** + * Creates a new annotation set. Caller must have WRITE permission for the + * associated dataset. + * + * The following fields are required: + * + * * datasetId + * * referenceSetId + * + * All other fields may be optionally specified, unless documented as being + * server-generated (for example, the `id` field). + */ + await gapi.client.annotationsets.create({ + }); + /** + * Deletes an annotation set. Caller must have WRITE permission + * for the associated annotation set. + */ + await gapi.client.annotationsets.delete({ + annotationSetId: "annotationSetId", + }); + /** + * Gets an annotation set. Caller must have READ permission for + * the associated dataset. + */ + await gapi.client.annotationsets.get({ + annotationSetId: "annotationSetId", + }); + /** + * Searches for annotation sets that match the given criteria. Annotation sets + * are returned in an unspecified order. This order is consistent, such that + * two queries for the same content (regardless of page size) yield annotation + * sets in the same order across their respective streams of paginated + * responses. Caller must have READ permission for the queried datasets. + */ + await gapi.client.annotationsets.search({ + }); + /** + * Updates an annotation set. The update must respect all mutability + * restrictions and other invariants described on the annotation set resource. + * Caller must have WRITE permission for the associated dataset. + */ + await gapi.client.annotationsets.update({ + annotationSetId: "annotationSetId", + updateMask: "updateMask", + }); + /** + * Creates a new call set. + * + * For the definitions of call sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + await gapi.client.callsets.create({ + }); + /** + * Deletes a call set. + * + * For the definitions of call sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + await gapi.client.callsets.delete({ + callSetId: "callSetId", + }); + /** + * Gets a call set by ID. + * + * For the definitions of call sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + await gapi.client.callsets.get({ + callSetId: "callSetId", + }); + /** + * Updates a call set. + * + * For the definitions of call sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * This method supports patch semantics. + */ + await gapi.client.callsets.patch({ + callSetId: "callSetId", + updateMask: "updateMask", + }); + /** + * Gets a list of call sets matching the criteria. + * + * For the definitions of call sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Implements + * [GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L178). + */ + await gapi.client.callsets.search({ + }); + /** + * Creates a new dataset. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + await gapi.client.datasets.create({ + }); + /** + * Deletes a dataset and all of its contents (all read group sets, + * reference sets, variant sets, call sets, annotation sets, etc.) + * This is reversible (up to one week after the deletion) via + * the + * datasets.undelete + * operation. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + await gapi.client.datasets.delete({ + datasetId: "datasetId", + }); + /** + * Gets a dataset by ID. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + await gapi.client.datasets.get({ + datasetId: "datasetId", + }); + /** + * Gets the access control policy for the dataset. This is empty if the + * policy or resource does not exist. + * + * See <a href="/iam/docs/managing-policies#getting_a_policy">Getting a + * Policy</a> for more information. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + await gapi.client.datasets.getIamPolicy({ + resource: "resource", + }); + /** + * Lists datasets within a project. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + await gapi.client.datasets.list({ + pageSize: 1, + pageToken: "pageToken", + projectId: "projectId", + }); + /** + * Updates a dataset. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * This method supports patch semantics. + */ + await gapi.client.datasets.patch({ + datasetId: "datasetId", + updateMask: "updateMask", + }); + /** + * Sets the access control policy on the specified dataset. Replaces any + * existing policy. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * See <a href="/iam/docs/managing-policies#setting_a_policy">Setting a + * Policy</a> for more information. + */ + await gapi.client.datasets.setIamPolicy({ + resource: "resource", + }); + /** + * Returns permissions that a caller has on the specified resource. + * See <a href="/iam/docs/managing-policies#testing_permissions">Testing + * Permissions</a> for more information. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + await gapi.client.datasets.testIamPermissions({ + resource: "resource", + }); + /** + * Undeletes a dataset by restoring a dataset which was deleted via this API. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * This operation is only possible for a week after the deletion occurred. + */ + await gapi.client.datasets.undelete({ + datasetId: "datasetId", + }); + /** + * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. + * Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite + * cancellation. + */ + await gapi.client.operations.cancel({ + name: "name", + }); + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + await gapi.client.operations.get({ + name: "name", + }); + /** Lists operations that match the specified filter in the request. */ + await gapi.client.operations.list({ + filter: "filter", + name: "name", + pageSize: 3, + pageToken: "pageToken", + }); + /** + * Deletes a read group set. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + await gapi.client.readgroupsets.delete({ + readGroupSetId: "readGroupSetId", + }); + /** + * Exports a read group set to a BAM file in Google Cloud Storage. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Note that currently there may be some differences between exported BAM + * files and the original BAM file at the time of import. See + * ImportReadGroupSets + * for caveats. + */ + await gapi.client.readgroupsets.export({ + readGroupSetId: "readGroupSetId", + }); + /** + * Gets a read group set by ID. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + await gapi.client.readgroupsets.get({ + readGroupSetId: "readGroupSetId", + }); + /** + * Creates read group sets by asynchronously importing the provided + * information. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * The caller must have WRITE permissions to the dataset. + * + * ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import + * + * - Tags will be converted to strings - tag types are not preserved + * - Comments (`@CO`) in the input file header will not be preserved + * - Original header order of references (`@SQ`) will not be preserved + * - Any reverse stranded unmapped reads will be reverse complemented, and + * their qualities (also the "BQ" and "OQ" tags, if any) will be reversed + * - Unmapped reads will be stripped of positional information (reference name + * and position) + */ + await gapi.client.readgroupsets.import({ + }); + /** + * Updates a read group set. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * This method supports patch semantics. + */ + await gapi.client.readgroupsets.patch({ + readGroupSetId: "readGroupSetId", + updateMask: "updateMask", + }); + /** + * Searches for read group sets matching the criteria. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Implements + * [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135). + */ + await gapi.client.readgroupsets.search({ + }); + /** + * Gets a list of reads for one or more read group sets. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Reads search operates over a genomic coordinate space of reference sequence + * & position defined over the reference sequences to which the requested + * read group sets are aligned. + * + * If a target positional range is specified, search returns all reads whose + * alignment to the reference genome overlap the range. A query which + * specifies only read group set IDs yields all reads in those read group + * sets, including unmapped reads. + * + * All reads returned (including reads on subsequent pages) are ordered by + * genomic coordinate (by reference sequence, then position). Reads with + * equivalent genomic coordinates are returned in an unspecified order. This + * order is consistent, such that two queries for the same content (regardless + * of page size) yield reads in the same order across their respective streams + * of paginated responses. + * + * Implements + * [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85). + */ + await gapi.client.reads.search({ + }); + /** + * Gets a reference. + * + * For the definitions of references and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Implements + * [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158). + */ + await gapi.client.references.get({ + referenceId: "referenceId", + }); + /** + * Searches for references which match the given criteria. + * + * For the definitions of references and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Implements + * [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146). + */ + await gapi.client.references.search({ + }); + /** + * Gets a reference set. + * + * For the definitions of references and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Implements + * [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83). + */ + await gapi.client.referencesets.get({ + referenceSetId: "referenceSetId", + }); + /** + * Searches for reference sets which match the given criteria. + * + * For the definitions of references and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Implements + * [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71) + */ + await gapi.client.referencesets.search({ + }); + /** + * Creates a new variant. + * + * For the definitions of variants and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + await gapi.client.variants.create({ + }); + /** + * Deletes a variant. + * + * For the definitions of variants and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + await gapi.client.variants.delete({ + variantId: "variantId", + }); + /** + * Gets a variant by ID. + * + * For the definitions of variants and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + await gapi.client.variants.get({ + variantId: "variantId", + }); + /** + * Creates variant data by asynchronously importing the provided information. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * The variants for import will be merged with any existing variant that + * matches its reference sequence, start, end, reference bases, and + * alternative bases. If no such variant exists, a new one will be created. + * + * When variants are merged, the call information from the new variant + * is added to the existing variant, and Variant info fields are merged + * as specified in + * infoMergeConfig. + * As a special case, for single-sample VCF files, QUAL and FILTER fields will + * be moved to the call level; these are sometimes interpreted in a + * call-specific context. + * Imported VCF headers are appended to the metadata already in a variant set. + */ + await gapi.client.variants.import({ + }); + /** + * Merges the given variants with existing variants. + * + * For the definitions of variants and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Each variant will be + * merged with an existing variant that matches its reference sequence, + * start, end, reference bases, and alternative bases. If no such variant + * exists, a new one will be created. + * + * When variants are merged, the call information from the new variant + * is added to the existing variant. Variant info fields are merged as + * specified in the + * infoMergeConfig + * field of the MergeVariantsRequest. + * + * Please exercise caution when using this method! It is easy to introduce + * mistakes in existing variants and difficult to back out of them. For + * example, + * suppose you were trying to merge a new variant with an existing one and + * both + * variants contain calls that belong to callsets with the same callset ID. + * + * // Existing variant - irrelevant fields trimmed for clarity + * { + * "variantSetId": "10473108253681171589", + * "referenceName": "1", + * "start": "10582", + * "referenceBases": "G", + * "alternateBases": [ + * "A" + * ], + * "calls": [ + * { + * "callSetId": "10473108253681171589-0", + * "callSetName": "CALLSET0", + * "genotype": [ + * 0, + * 1 + * ], + * } + * ] + * } + * + * // New variant with conflicting call information + * { + * "variantSetId": "10473108253681171589", + * "referenceName": "1", + * "start": "10582", + * "referenceBases": "G", + * "alternateBases": [ + * "A" + * ], + * "calls": [ + * { + * "callSetId": "10473108253681171589-0", + * "callSetName": "CALLSET0", + * "genotype": [ + * 1, + * 1 + * ], + * } + * ] + * } + * + * The resulting merged variant would overwrite the existing calls with those + * from the new variant: + * + * { + * "variantSetId": "10473108253681171589", + * "referenceName": "1", + * "start": "10582", + * "referenceBases": "G", + * "alternateBases": [ + * "A" + * ], + * "calls": [ + * { + * "callSetId": "10473108253681171589-0", + * "callSetName": "CALLSET0", + * "genotype": [ + * 1, + * 1 + * ], + * } + * ] + * } + * + * This may be the desired outcome, but it is up to the user to determine if + * if that is indeed the case. + */ + await gapi.client.variants.merge({ + }); + /** + * Updates a variant. + * + * For the definitions of variants and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * This method supports patch semantics. Returns the modified variant without + * its calls. + */ + await gapi.client.variants.patch({ + updateMask: "updateMask", + variantId: "variantId", + }); + /** + * Gets a list of variants matching the criteria. + * + * For the definitions of variants and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Implements + * [GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L126). + */ + await gapi.client.variants.search({ + }); + /** + * Creates a new variant set. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * The provided variant set must have a valid `datasetId` set - all other + * fields are optional. Note that the `id` field will be ignored, as this is + * assigned by the server. + */ + await gapi.client.variantsets.create({ + }); + /** + * Deletes a variant set including all variants, call sets, and calls within. + * This is not reversible. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + await gapi.client.variantsets.delete({ + variantSetId: "variantSetId", + }); + /** + * Exports variant set data to an external destination. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + await gapi.client.variantsets.export({ + variantSetId: "variantSetId", + }); + /** + * Gets a variant set by ID. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + await gapi.client.variantsets.get({ + variantSetId: "variantSetId", + }); + /** + * Updates a variant set using patch semantics. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + await gapi.client.variantsets.patch({ + updateMask: "updateMask", + variantSetId: "variantSetId", + }); + /** + * Returns a list of all variant sets matching search criteria. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Implements + * [GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L49). + */ + await gapi.client.variantsets.search({ + }); + } +}); diff --git a/types/gapi.client.genomics/index.d.ts b/types/gapi.client.genomics/index.d.ts new file mode 100644 index 0000000000..6ea50827b4 --- /dev/null +++ b/types/gapi.client.genomics/index.d.ts @@ -0,0 +1,3919 @@ +// Type definitions for Google Genomics API v1 1.0 +// Project: https://cloud.google.com/genomics +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://genomics.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Genomics API v1 */ + function load(name: "genomics", version: "v1"): PromiseLike<void>; + function load(name: "genomics", version: "v1", callback: () => any): void; + + const annotations: genomics.AnnotationsResource; + + const annotationsets: genomics.AnnotationsetsResource; + + const callsets: genomics.CallsetsResource; + + const datasets: genomics.DatasetsResource; + + const operations: genomics.OperationsResource; + + const readgroupsets: genomics.ReadgroupsetsResource; + + const reads: genomics.ReadsResource; + + const references: genomics.ReferencesResource; + + const referencesets: genomics.ReferencesetsResource; + + const variants: genomics.VariantsResource; + + const variantsets: genomics.VariantsetsResource; + + namespace genomics { + interface Annotation { + /** The annotation set to which this annotation belongs. */ + annotationSetId?: string; + /** The end position of the range on the reference, 0-based exclusive. */ + end?: string; + /** The server-generated annotation ID, unique across all annotations. */ + id?: string; + /** + * A map of additional read alignment information. This must be of the form + * map<string, string[]> (string key mapping to a list of string values). + */ + info?: Record<string, any[]>; + /** The display name of this annotation. */ + name?: string; + /** The ID of the Google Genomics reference associated with this range. */ + referenceId?: string; + /** + * The display name corresponding to the reference specified by + * `referenceId`, for example `chr1`, `1`, or `chrX`. + */ + referenceName?: string; + /** + * Whether this range refers to the reverse strand, as opposed to the forward + * strand. Note that regardless of this field, the start/end position of the + * range always refer to the forward strand. + */ + reverseStrand?: boolean; + /** The start position of the range on the reference, 0-based inclusive. */ + start?: string; + /** + * A transcript value represents the assertion that a particular region of + * the reference genome may be transcribed as RNA. An alternative splicing + * pattern would be represented as a separate transcript object. This field + * is only set for annotations of type `TRANSCRIPT`. + */ + transcript?: Transcript; + /** + * The data type for this annotation. Must match the containing annotation + * set's type. + */ + type?: string; + /** + * A variant annotation, which describes the effect of a variant on the + * genome, the coding sequence, and/or higher level consequences at the + * organism level e.g. pathogenicity. This field is only set for annotations + * of type `VARIANT`. + */ + variant?: VariantAnnotation; + } + interface AnnotationSet { + /** The dataset to which this annotation set belongs. */ + datasetId?: string; + /** The server-generated annotation set ID, unique across all annotation sets. */ + id?: string; + /** + * A map of additional read alignment information. This must be of the form + * map<string, string[]> (string key mapping to a list of string values). + */ + info?: Record<string, any[]>; + /** The display name for this annotation set. */ + name?: string; + /** + * The ID of the reference set that defines the coordinate space for this + * set's annotations. + */ + referenceSetId?: string; + /** + * The source URI describing the file from which this annotation set was + * generated, if any. + */ + sourceUri?: string; + /** The type of annotations contained within this set. */ + type?: string; + } + interface BatchCreateAnnotationsRequest { + /** + * The annotations to be created. At most 4096 can be specified in a single + * request. + */ + annotations?: Annotation[]; + /** + * A unique request ID which enables the server to detect duplicated requests. + * If provided, duplicated requests will result in the same response; if not + * provided, duplicated requests may result in duplicated data. For a given + * annotation set, callers should not reuse `request_id`s when writing + * different batches of annotations - behavior in this case is undefined. + * A common approach is to use a UUID. For batch jobs where worker crashes are + * a possibility, consider using some unique variant of a worker or run ID. + */ + requestId?: string; + } + interface BatchCreateAnnotationsResponse { + /** + * The resulting per-annotation entries, ordered consistently with the + * original request. + */ + entries?: Entry[]; + } + interface Binding { + /** + * Specifies the identities requesting access for a Cloud Platform resource. + * `members` can have the following values: + * + * * `allUsers`: A special identifier that represents anyone who is + * on the internet; with or without a Google account. + * + * * `allAuthenticatedUsers`: A special identifier that represents anyone + * who is authenticated with a Google account or a service account. + * + * * `user:{emailid}`: An email address that represents a specific Google + * account. For example, `alice@gmail.com` or `joe@example.com`. + * + * + * * `serviceAccount:{emailid}`: An email address that represents a service + * account. For example, `my-other-app@appspot.gserviceaccount.com`. + * + * * `group:{emailid}`: An email address that represents a Google group. + * For example, `admins@example.com`. + * + * + * * `domain:{domain}`: A Google Apps domain name that represents all the + * users of that domain. For example, `google.com` or `example.com`. + */ + members?: string[]; + /** + * Role that is assigned to `members`. + * For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + * Required + */ + role?: string; + } + interface CallSet { + /** The date this call set was created in milliseconds from the epoch. */ + created?: string; + /** The server-generated call set ID, unique across all call sets. */ + id?: string; + /** + * A map of additional call set information. This must be of the form + * map<string, string[]> (string key mapping to a list of string values). + */ + info?: Record<string, any[]>; + /** The call set name. */ + name?: string; + /** The sample ID this call set corresponds to. */ + sampleId?: string; + /** + * The IDs of the variant sets this call set belongs to. This field must + * have exactly length one, as a call set belongs to a single variant set. + * This field is repeated for compatibility with the + * [GA4GH 0.5.1 + * API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76). + */ + variantSetIds?: string[]; + } + interface CigarUnit { + operation?: string; + /** The number of genomic bases that the operation runs for. Required. */ + operationLength?: string; + /** + * `referenceSequence` is only used at mismatches + * (`SEQUENCE_MISMATCH`) and deletions (`DELETE`). + * Filling this field replaces SAM's MD tag. If the relevant information is + * not available, this field is unset. + */ + referenceSequence?: string; + } + interface ClinicalCondition { + /** + * The MedGen concept id associated with this gene. + * Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/ + */ + conceptId?: string; + /** The set of external IDs for this condition. */ + externalIds?: ExternalId[]; + /** A set of names for the condition. */ + names?: string[]; + /** + * The OMIM id for this condition. + * Search for these IDs at http://omim.org/ + */ + omimId?: string; + } + interface CodingSequence { + /** + * The end of the coding sequence on this annotation's reference sequence, + * 0-based exclusive. Note that this position is relative to the reference + * start, and *not* the containing annotation start. + */ + end?: string; + /** + * The start of the coding sequence on this annotation's reference sequence, + * 0-based inclusive. Note that this position is relative to the reference + * start, and *not* the containing annotation start. + */ + start?: string; + } + interface ComputeEngine { + /** The names of the disks that were created for this pipeline. */ + diskNames?: string[]; + /** The instance on which the operation is running. */ + instanceName?: string; + /** The machine type of the instance. */ + machineType?: string; + /** The availability zone in which the instance resides. */ + zone?: string; + } + interface CoverageBucket { + /** + * The average number of reads which are aligned to each individual + * reference base in this bucket. + */ + meanCoverage?: number; + /** The genomic coordinate range spanned by this bucket. */ + range?: Range; + } + interface Dataset { + /** The time this dataset was created, in seconds from the epoch. */ + createTime?: string; + /** The server-generated dataset ID, unique across all datasets. */ + id?: string; + /** The dataset name. */ + name?: string; + /** The Google Cloud project ID that this dataset belongs to. */ + projectId?: string; + } + interface Entry { + /** The created annotation, if creation was successful. */ + annotation?: Annotation; + /** The creation status. */ + status?: Status; + } + interface Exon { + /** + * The end position of the exon on this annotation's reference sequence, + * 0-based exclusive. Note that this is relative to the reference start, and + * *not* the containing annotation start. + */ + end?: string; + /** + * The frame of this exon. Contains a value of 0, 1, or 2, which indicates + * the offset of the first coding base of the exon within the reading frame + * of the coding DNA sequence, if any. This field is dependent on the + * strandedness of this annotation (see + * Annotation.reverse_strand). + * For forward stranded annotations, this offset is relative to the + * exon.start. For reverse + * strand annotations, this offset is relative to the + * exon.end `- 1`. + * + * Unset if this exon does not intersect the coding sequence. Upon creation + * of a transcript, the frame must be populated for all or none of the + * coding exons. + */ + frame?: number; + /** + * The start position of the exon on this annotation's reference sequence, + * 0-based inclusive. Note that this is relative to the reference start, and + * **not** the containing annotation start. + */ + start?: string; + } + interface Experiment { + /** + * The instrument model used as part of this experiment. This maps to + * sequencing technology in the SAM spec. + */ + instrumentModel?: string; + /** + * A client-supplied library identifier; a library is a collection of DNA + * fragments which have been prepared for sequencing from a sample. This + * field is important for quality control as error or bias can be introduced + * during sample preparation. + */ + libraryId?: string; + /** + * The platform unit used as part of this experiment, for example + * flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the + * @RG PU field in the SAM spec. + */ + platformUnit?: string; + /** The sequencing center used as part of this experiment. */ + sequencingCenter?: string; + } + interface ExportReadGroupSetRequest { + /** + * Required. A Google Cloud Storage URI for the exported BAM file. + * The currently authenticated user must have write access to the new file. + * An error will be returned if the URI already contains data. + */ + exportUri?: string; + /** + * Required. The Google Cloud project ID that owns this + * export. The caller must have WRITE access to this project. + */ + projectId?: string; + /** + * The reference names to export. If this is not specified, all reference + * sequences, including unmapped reads, are exported. + * Use `*` to export only unmapped reads. + */ + referenceNames?: string[]; + } + interface ExportVariantSetRequest { + /** + * Required. The BigQuery dataset to export data to. This dataset must already + * exist. Note that this is distinct from the Genomics concept of "dataset". + */ + bigqueryDataset?: string; + /** + * Required. The BigQuery table to export data to. + * If the table doesn't exist, it will be created. If it already exists, it + * will be overwritten. + */ + bigqueryTable?: string; + /** + * If provided, only variant call information from the specified call sets + * will be exported. By default all variant calls are exported. + */ + callSetIds?: string[]; + /** The format for the exported data. */ + format?: string; + /** + * Required. The Google Cloud project ID that owns the destination + * BigQuery dataset. The caller must have WRITE access to this project. This + * project will also own the resulting export job. + */ + projectId?: string; + } + interface ExternalId { + /** The id used by the source of this data. */ + id?: string; + /** The name of the source of this data. */ + sourceName?: string; + } + interface ImportReadGroupSetsRequest { + /** + * Required. The ID of the dataset these read group sets will belong to. The + * caller must have WRITE permissions to this dataset. + */ + datasetId?: string; + /** + * The partition strategy describes how read groups are partitioned into read + * group sets. + */ + partitionStrategy?: string; + /** + * The reference set to which the imported read group sets are aligned to, if + * any. The reference names of this reference set must be a superset of those + * found in the imported file headers. If no reference set id is provided, a + * best effort is made to associate with a matching reference set. + */ + referenceSetId?: string; + /** + * A list of URIs pointing at [BAM + * files](https://samtools.github.io/hts-specs/SAMv1.pdf) + * in Google Cloud Storage. + * Those URIs can include wildcards (*), but do not add or remove + * matching files before import has completed. + * + * Note that Google Cloud Storage object listing is only eventually + * consistent: files added may be not be immediately visible to + * everyone. Thus, if using a wildcard it is preferable not to start + * the import immediately after the files are created. + */ + sourceUris?: string[]; + } + interface ImportReadGroupSetsResponse { + /** IDs of the read group sets that were created. */ + readGroupSetIds?: string[]; + } + interface ImportVariantsRequest { + /** + * The format of the variant data being imported. If unspecified, defaults to + * to `VCF`. + */ + format?: string; + /** + * A mapping between info field keys and the InfoMergeOperations to + * be performed on them. This is plumbed down to the MergeVariantRequests + * generated by the resulting import job. + */ + infoMergeConfig?: Record<string, string>; + /** + * Convert reference names to the canonical representation. + * hg19 haploytypes (those reference names containing "_hap") + * are not modified in any way. + * All other reference names are modified according to the following rules: + * The reference name is capitalized. + * The "chr" prefix is dropped for all autosomes and sex chromsomes. + * For example "chr17" becomes "17" and "chrX" becomes "X". + * All mitochondrial chromosomes ("chrM", "chrMT", etc) become "MT". + */ + normalizeReferenceNames?: boolean; + /** + * A list of URIs referencing variant files in Google Cloud Storage. URIs can + * include wildcards [as described + * here](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). + * Note that recursive wildcards ('**') are not supported. + */ + sourceUris?: string[]; + /** Required. The variant set to which variant data should be imported. */ + variantSetId?: string; + } + interface ImportVariantsResponse { + /** IDs of the call sets created during the import. */ + callSetIds?: string[]; + } + interface LinearAlignment { + /** + * Represents the local alignment of this sequence (alignment matches, indels, + * etc) against the reference. + */ + cigar?: CigarUnit[]; + /** + * The mapping quality of this alignment. Represents how likely + * the read maps to this position as opposed to other locations. + * + * Specifically, this is -10 log10 Pr(mapping position is wrong), rounded to + * the nearest integer. + */ + mappingQuality?: number; + /** The position of this alignment. */ + position?: Position; + } + interface ListBasesResponse { + /** + * The continuation token, which is used to page through large result sets. + * Provide this value in a subsequent request to return the next page of + * results. This field will be empty if there aren't any additional results. + */ + nextPageToken?: string; + /** + * The offset position (0-based) of the given `sequence` from the + * start of this `Reference`. This value will differ for each page + * in a paginated request. + */ + offset?: string; + /** A substring of the bases that make up this reference. */ + sequence?: string; + } + interface ListCoverageBucketsResponse { + /** + * The length of each coverage bucket in base pairs. Note that buckets at the + * end of a reference sequence may be shorter. This value is omitted if the + * bucket width is infinity (the default behaviour, with no range or + * `targetBucketWidth`). + */ + bucketWidth?: string; + /** + * The coverage buckets. The list of buckets is sparse; a bucket with 0 + * overlapping reads is not returned. A bucket never crosses more than one + * reference sequence. Each bucket has width `bucketWidth`, unless + * its end is the end of the reference sequence. + */ + coverageBuckets?: CoverageBucket[]; + /** + * The continuation token, which is used to page through large result sets. + * Provide this value in a subsequent request to return the next page of + * results. This field will be empty if there aren't any additional results. + */ + nextPageToken?: string; + } + interface ListDatasetsResponse { + /** The list of matching Datasets. */ + datasets?: Dataset[]; + /** + * The continuation token, which is used to page through large result sets. + * Provide this value in a subsequent request to return the next page of + * results. This field will be empty if there aren't any additional results. + */ + nextPageToken?: string; + } + interface ListOperationsResponse { + /** The standard List next-page token. */ + nextPageToken?: string; + /** A list of operations that matches the specified filter in the request. */ + operations?: Operation[]; + } + interface MergeVariantsRequest { + /** + * A mapping between info field keys and the InfoMergeOperations to + * be performed on them. + */ + infoMergeConfig?: Record<string, string>; + /** The destination variant set. */ + variantSetId?: string; + /** The variants to be merged with existing variants. */ + variants?: Variant[]; + } + interface Operation { + /** + * If the value is `false`, it means the operation is still in progress. + * If `true`, the operation is completed, and either `error` or `response` is + * available. + */ + done?: boolean; + /** The error result of the operation in case of failure or cancellation. */ + error?: Status; + /** An OperationMetadata object. This will always be returned with the Operation. */ + metadata?: Record<string, any>; + /** + * The server-assigned name, which is only unique within the same service that originally returns it. For example: + * `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw` + */ + name?: string; + /** + * If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If importing Variants, an ImportVariantsResponse is returned. For pipelines and + * exports, an Empty response is returned. + */ + response?: Record<string, any>; + } + interface OperationEvent { + /** Required description of event. */ + description?: string; + /** + * Optional time of when event finished. An event can have a start time and no + * finish time. If an event has a finish time, there must be a start time. + */ + endTime?: string; + /** Optional time of when event started. */ + startTime?: string; + } + interface OperationMetadata { + /** + * This field is deprecated. Use `labels` instead. Optionally provided by the + * caller when submitting the request that creates the operation. + */ + clientId?: string; + /** The time at which the job was submitted to the Genomics service. */ + createTime?: string; + /** The time at which the job stopped running. */ + endTime?: string; + /** + * Optional event messages that were generated during the job's execution. + * This also contains any warnings that were generated during import + * or export. + */ + events?: OperationEvent[]; + /** + * Optionally provided by the caller when submitting the request that creates + * the operation. + */ + labels?: Record<string, string>; + /** The Google Cloud Project in which the job is scoped. */ + projectId?: string; + /** + * The original request that started the operation. Note that this will be in + * current version of the API. If the operation was started with v1beta2 API + * and a GetOperation is performed on v1 API, a v1 request will be returned. + */ + request?: Record<string, any>; + /** Runtime metadata on this Operation. */ + runtimeMetadata?: Record<string, any>; + /** The time at which the job began to run. */ + startTime?: string; + } + interface Policy { + /** + * Associates a list of `members` to a `role`. + * `bindings` with no members will result in an error. + */ + bindings?: Binding[]; + /** + * `etag` is used for optimistic concurrency control as a way to help + * prevent simultaneous updates of a policy from overwriting each other. + * It is strongly suggested that systems make use of the `etag` in the + * read-modify-write cycle to perform policy updates in order to avoid race + * conditions: An `etag` is returned in the response to `getIamPolicy`, and + * systems are expected to put that etag in the request to `setIamPolicy` to + * ensure that their change will be applied to the same version of the policy. + * + * If no `etag` is provided in the call to `setIamPolicy`, then the existing + * policy is overwritten blindly. + */ + etag?: string; + /** Version of the `Policy`. The default version is 0. */ + version?: number; + } + interface Position { + /** The 0-based offset from the start of the forward strand for that reference. */ + position?: string; + /** The name of the reference in whatever reference set is being used. */ + referenceName?: string; + /** + * Whether this position is on the reverse strand, as opposed to the forward + * strand. + */ + reverseStrand?: boolean; + } + interface Program { + /** The command line used to run this program. */ + commandLine?: string; + /** + * The user specified locally unique ID of the program. Used along with + * `prevProgramId` to define an ordering between programs. + */ + id?: string; + /** + * The display name of the program. This is typically the colloquial name of + * the tool used, for example 'bwa' or 'picard'. + */ + name?: string; + /** The ID of the program run before this one. */ + prevProgramId?: string; + /** The version of the program run. */ + version?: string; + } + interface Range { + /** The end position of the range on the reference, 0-based exclusive. */ + end?: string; + /** + * The reference sequence name, for example `chr1`, + * `1`, or `chrX`. + */ + referenceName?: string; + /** The start position of the range on the reference, 0-based inclusive. */ + start?: string; + } + interface Read { + /** + * The quality of the read sequence contained in this alignment record + * (equivalent to QUAL in SAM). + * `alignedSequence` and `alignedQuality` may be shorter than the full read + * sequence and quality. This will occur if the alignment is part of a + * chimeric alignment, or if the read was trimmed. When this occurs, the CIGAR + * for this read will begin/end with a hard clip operator that will indicate + * the length of the excised sequence. + */ + alignedQuality?: number[]; + /** + * The bases of the read sequence contained in this alignment record, + * **without CIGAR operations applied** (equivalent to SEQ in SAM). + * `alignedSequence` and `alignedQuality` may be + * shorter than the full read sequence and quality. This will occur if the + * alignment is part of a chimeric alignment, or if the read was trimmed. When + * this occurs, the CIGAR for this read will begin/end with a hard clip + * operator that will indicate the length of the excised sequence. + */ + alignedSequence?: string; + /** + * The linear alignment for this alignment record. This field is null for + * unmapped reads. + */ + alignment?: LinearAlignment; + /** The fragment is a PCR or optical duplicate (SAM flag 0x400). */ + duplicateFragment?: boolean; + /** + * Whether this read did not pass filters, such as platform or vendor quality + * controls (SAM flag 0x200). + */ + failedVendorQualityChecks?: boolean; + /** The observed length of the fragment, equivalent to TLEN in SAM. */ + fragmentLength?: number; + /** The fragment name. Equivalent to QNAME (query template name) in SAM. */ + fragmentName?: string; + /** + * The server-generated read ID, unique across all reads. This is different + * from the `fragmentName`. + */ + id?: string; + /** + * A map of additional read alignment information. This must be of the form + * map<string, string[]> (string key mapping to a list of string values). + */ + info?: Record<string, any[]>; + /** + * The mapping of the primary alignment of the + * `(readNumber+1)%numberReads` read in the fragment. It replaces + * mate position and mate strand in SAM. + */ + nextMatePosition?: Position; + /** The number of reads in the fragment (extension to SAM flag 0x1). */ + numberReads?: number; + /** + * The orientation and the distance between reads from the fragment are + * consistent with the sequencing protocol (SAM flag 0x2). + */ + properPlacement?: boolean; + /** + * The ID of the read group this read belongs to. A read belongs to exactly + * one read group. This is a server-generated ID which is distinct from SAM's + * RG tag (for that value, see + * ReadGroup.name). + */ + readGroupId?: string; + /** + * The ID of the read group set this read belongs to. A read belongs to + * exactly one read group set. + */ + readGroupSetId?: string; + /** + * The read number in sequencing. 0-based and less than numberReads. This + * field replaces SAM flag 0x40 and 0x80. + */ + readNumber?: number; + /** + * Whether this alignment is secondary. Equivalent to SAM flag 0x100. + * A secondary alignment represents an alternative to the primary alignment + * for this read. Aligners may return secondary alignments if a read can map + * ambiguously to multiple coordinates in the genome. By convention, each read + * has one and only one alignment where both `secondaryAlignment` + * and `supplementaryAlignment` are false. + */ + secondaryAlignment?: boolean; + /** + * Whether this alignment is supplementary. Equivalent to SAM flag 0x800. + * Supplementary alignments are used in the representation of a chimeric + * alignment. In a chimeric alignment, a read is split into multiple + * linear alignments that map to different reference contigs. The first + * linear alignment in the read will be designated as the representative + * alignment; the remaining linear alignments will be designated as + * supplementary alignments. These alignments may have different mapping + * quality scores. In each linear alignment in a chimeric alignment, the read + * will be hard clipped. The `alignedSequence` and + * `alignedQuality` fields in the alignment record will only + * represent the bases for its respective linear alignment. + */ + supplementaryAlignment?: boolean; + } + interface ReadGroup { + /** The dataset to which this read group belongs. */ + datasetId?: string; + /** A free-form text description of this read group. */ + description?: string; + /** The experiment used to generate this read group. */ + experiment?: Experiment; + /** + * The server-generated read group ID, unique for all read groups. + * Note: This is different than the @RG ID field in the SAM spec. For that + * value, see name. + */ + id?: string; + /** + * A map of additional read group information. This must be of the form + * map<string, string[]> (string key mapping to a list of string values). + */ + info?: Record<string, any[]>; + /** The read group name. This corresponds to the @RG ID field in the SAM spec. */ + name?: string; + /** + * The predicted insert size of this read group. The insert size is the length + * the sequenced DNA fragment from end-to-end, not including the adapters. + */ + predictedInsertSize?: number; + /** + * The programs used to generate this read group. Programs are always + * identical for all read groups within a read group set. For this reason, + * only the first read group in a returned set will have this field + * populated. + */ + programs?: Program[]; + /** The reference set the reads in this read group are aligned to. */ + referenceSetId?: string; + /** A client-supplied sample identifier for the reads in this read group. */ + sampleId?: string; + } + interface ReadGroupSet { + /** The dataset to which this read group set belongs. */ + datasetId?: string; + /** The filename of the original source file for this read group set, if any. */ + filename?: string; + /** The server-generated read group set ID, unique for all read group sets. */ + id?: string; + /** A map of additional read group set information. */ + info?: Record<string, any[]>; + /** + * The read group set name. By default this will be initialized to the sample + * name of the sequenced data contained in this set. + */ + name?: string; + /** + * The read groups in this set. There are typically 1-10 read groups in a read + * group set. + */ + readGroups?: ReadGroup[]; + /** The reference set to which the reads in this read group set are aligned. */ + referenceSetId?: string; + } + interface Reference { + /** The server-generated reference ID, unique across all references. */ + id?: string; + /** The length of this reference's sequence. */ + length?: string; + /** + * MD5 of the upper-case sequence excluding all whitespace characters (this + * is equivalent to SQ:M5 in SAM). This value is represented in lower case + * hexadecimal format. + */ + md5checksum?: string; + /** The name of this reference, for example `22`. */ + name?: string; + /** ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human. */ + ncbiTaxonId?: number; + /** + * All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally + * with a version number, for example `GCF_000001405.26`. + */ + sourceAccessions?: string[]; + /** + * The URI from which the sequence was obtained. Typically specifies a FASTA + * format file. + */ + sourceUri?: string; + } + interface ReferenceBound { + /** The name of the reference associated with this reference bound. */ + referenceName?: string; + /** + * An upper bound (inclusive) on the starting coordinate of any + * variant in the reference sequence. + */ + upperBound?: string; + } + interface ReferenceSet { + /** Public id of this reference set, such as `GRCh37`. */ + assemblyId?: string; + /** Free text description of this reference set. */ + description?: string; + /** The server-generated reference set ID, unique across all reference sets. */ + id?: string; + /** + * Order-independent MD5 checksum which identifies this reference set. The + * checksum is computed by sorting all lower case hexidecimal string + * `reference.md5checksum` (for all reference in this set) in + * ascending lexicographic order, concatenating, and taking the MD5 of that + * value. The resulting value is represented in lower case hexadecimal format. + */ + md5checksum?: string; + /** + * ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human) + * indicating the species which this reference set is intended to model. Note + * that contained references may specify a different `ncbiTaxonId`, as + * assemblies may contain reference sequences which do not belong to the + * modeled species, for example EBV in a human reference genome. + */ + ncbiTaxonId?: number; + /** + * The IDs of the reference objects that are part of this set. + * `Reference.md5checksum` must be unique within this set. + */ + referenceIds?: string[]; + /** + * All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally + * with a version number, for example `NC_000001.11`. + */ + sourceAccessions?: string[]; + /** The URI from which the references were obtained. */ + sourceUri?: string; + } + interface RuntimeMetadata { + /** Execution information specific to Google Compute Engine. */ + computeEngine?: ComputeEngine; + } + interface SearchAnnotationSetsRequest { + /** + * Required. The dataset IDs to search within. Caller must have `READ` access + * to these datasets. + */ + datasetIds?: string[]; + /** + * Only return annotations sets for which a substring of the name matches this + * string (case insensitive). + */ + name?: string; + /** + * The maximum number of results to return in a single page. If unspecified, + * defaults to 128. The maximum value is 1024. + */ + pageSize?: number; + /** + * The continuation token, which is used to page through large result sets. + * To get the next page of results, set this parameter to the value of + * `nextPageToken` from the previous response. + */ + pageToken?: string; + /** + * If specified, only annotation sets associated with the given reference set + * are returned. + */ + referenceSetId?: string; + /** + * If specified, only annotation sets that have any of these types are + * returned. + */ + types?: string[]; + } + interface SearchAnnotationSetsResponse { + /** The matching annotation sets. */ + annotationSets?: AnnotationSet[]; + /** + * The continuation token, which is used to page through large result sets. + * Provide this value in a subsequent request to return the next page of + * results. This field will be empty if there aren't any additional results. + */ + nextPageToken?: string; + } + interface SearchAnnotationsRequest { + /** + * Required. The annotation sets to search within. The caller must have + * `READ` access to these annotation sets. + * All queried annotation sets must have the same type. + */ + annotationSetIds?: string[]; + /** + * The end position of the range on the reference, 0-based exclusive. If + * referenceId or + * referenceName + * must be specified, Defaults to the length of the reference. + */ + end?: string; + /** + * The maximum number of results to return in a single page. If unspecified, + * defaults to 256. The maximum value is 2048. + */ + pageSize?: number; + /** + * The continuation token, which is used to page through large result sets. + * To get the next page of results, set this parameter to the value of + * `nextPageToken` from the previous response. + */ + pageToken?: string; + /** The ID of the reference to query. */ + referenceId?: string; + /** + * The name of the reference to query, within the reference set associated + * with this query. + */ + referenceName?: string; + /** + * The start position of the range on the reference, 0-based inclusive. If + * specified, + * referenceId or + * referenceName + * must be specified. Defaults to 0. + */ + start?: string; + } + interface SearchAnnotationsResponse { + /** The matching annotations. */ + annotations?: Annotation[]; + /** + * The continuation token, which is used to page through large result sets. + * Provide this value in a subsequent request to return the next page of + * results. This field will be empty if there aren't any additional results. + */ + nextPageToken?: string; + } + interface SearchCallSetsRequest { + /** + * Only return call sets for which a substring of the name matches this + * string. + */ + name?: string; + /** + * The maximum number of results to return in a single page. If unspecified, + * defaults to 1024. + */ + pageSize?: number; + /** + * The continuation token, which is used to page through large result sets. + * To get the next page of results, set this parameter to the value of + * `nextPageToken` from the previous response. + */ + pageToken?: string; + /** + * Restrict the query to call sets within the given variant sets. At least one + * ID must be provided. + */ + variantSetIds?: string[]; + } + interface SearchCallSetsResponse { + /** The list of matching call sets. */ + callSets?: CallSet[]; + /** + * The continuation token, which is used to page through large result sets. + * Provide this value in a subsequent request to return the next page of + * results. This field will be empty if there aren't any additional results. + */ + nextPageToken?: string; + } + interface SearchReadGroupSetsRequest { + /** + * Restricts this query to read group sets within the given datasets. At least + * one ID must be provided. + */ + datasetIds?: string[]; + /** + * Only return read group sets for which a substring of the name matches this + * string. + */ + name?: string; + /** + * The maximum number of results to return in a single page. If unspecified, + * defaults to 256. The maximum value is 1024. + */ + pageSize?: number; + /** + * The continuation token, which is used to page through large result sets. + * To get the next page of results, set this parameter to the value of + * `nextPageToken` from the previous response. + */ + pageToken?: string; + } + interface SearchReadGroupSetsResponse { + /** + * The continuation token, which is used to page through large result sets. + * Provide this value in a subsequent request to return the next page of + * results. This field will be empty if there aren't any additional results. + */ + nextPageToken?: string; + /** The list of matching read group sets. */ + readGroupSets?: ReadGroupSet[]; + } + interface SearchReadsRequest { + /** + * The end position of the range on the reference, 0-based exclusive. If + * specified, `referenceName` must also be specified. + */ + end?: string; + /** + * The maximum number of results to return in a single page. If unspecified, + * defaults to 256. The maximum value is 2048. + */ + pageSize?: number; + /** + * The continuation token, which is used to page through large result sets. + * To get the next page of results, set this parameter to the value of + * `nextPageToken` from the previous response. + */ + pageToken?: string; + /** + * The IDs of the read groups within which to search for reads. All specified + * read groups must belong to the same read group sets. Must specify one of + * `readGroupSetIds` or `readGroupIds`. + */ + readGroupIds?: string[]; + /** + * The IDs of the read groups sets within which to search for reads. All + * specified read group sets must be aligned against a common set of reference + * sequences; this defines the genomic coordinates for the query. Must specify + * one of `readGroupSetIds` or `readGroupIds`. + */ + readGroupSetIds?: string[]; + /** + * The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to + * `*`, only unmapped reads are returned. If unspecified, all reads (mapped + * and unmapped) are returned. + */ + referenceName?: string; + /** + * The start position of the range on the reference, 0-based inclusive. If + * specified, `referenceName` must also be specified. + */ + start?: string; + } + interface SearchReadsResponse { + /** + * The list of matching alignments sorted by mapped genomic coordinate, + * if any, ascending in position within the same reference. Unmapped reads, + * which have no position, are returned contiguously and are sorted in + * ascending lexicographic order by fragment name. + */ + alignments?: Read[]; + /** + * The continuation token, which is used to page through large result sets. + * Provide this value in a subsequent request to return the next page of + * results. This field will be empty if there aren't any additional results. + */ + nextPageToken?: string; + } + interface SearchReferenceSetsRequest { + /** + * If present, return reference sets for which a prefix of any of + * sourceAccessions + * match any of these strings. Accession numbers typically have a main number + * and a version, for example `NC_000001.11`. + */ + accessions?: string[]; + /** + * If present, return reference sets for which a substring of their + * `assemblyId` matches this string (case insensitive). + */ + assemblyId?: string; + /** + * If present, return reference sets for which the + * md5checksum matches exactly. + */ + md5checksums?: string[]; + /** + * The maximum number of results to return in a single page. If unspecified, + * defaults to 1024. The maximum value is 4096. + */ + pageSize?: number; + /** + * The continuation token, which is used to page through large result sets. + * To get the next page of results, set this parameter to the value of + * `nextPageToken` from the previous response. + */ + pageToken?: string; + } + interface SearchReferenceSetsResponse { + /** + * The continuation token, which is used to page through large result sets. + * Provide this value in a subsequent request to return the next page of + * results. This field will be empty if there aren't any additional results. + */ + nextPageToken?: string; + /** The matching references sets. */ + referenceSets?: ReferenceSet[]; + } + interface SearchReferencesRequest { + /** + * If present, return references for which a prefix of any of + * sourceAccessions match + * any of these strings. Accession numbers typically have a main number and a + * version, for example `GCF_000001405.26`. + */ + accessions?: string[]; + /** + * If present, return references for which the + * md5checksum matches exactly. + */ + md5checksums?: string[]; + /** + * The maximum number of results to return in a single page. If unspecified, + * defaults to 1024. The maximum value is 4096. + */ + pageSize?: number; + /** + * The continuation token, which is used to page through large result sets. + * To get the next page of results, set this parameter to the value of + * `nextPageToken` from the previous response. + */ + pageToken?: string; + /** If present, return only references which belong to this reference set. */ + referenceSetId?: string; + } + interface SearchReferencesResponse { + /** + * The continuation token, which is used to page through large result sets. + * Provide this value in a subsequent request to return the next page of + * results. This field will be empty if there aren't any additional results. + */ + nextPageToken?: string; + /** The matching references. */ + references?: Reference[]; + } + interface SearchVariantSetsRequest { + /** + * Exactly one dataset ID must be provided here. Only variant sets which + * belong to this dataset will be returned. + */ + datasetIds?: string[]; + /** + * The maximum number of results to return in a single page. If unspecified, + * defaults to 1024. + */ + pageSize?: number; + /** + * The continuation token, which is used to page through large result sets. + * To get the next page of results, set this parameter to the value of + * `nextPageToken` from the previous response. + */ + pageToken?: string; + } + interface SearchVariantSetsResponse { + /** + * The continuation token, which is used to page through large result sets. + * Provide this value in a subsequent request to return the next page of + * results. This field will be empty if there aren't any additional results. + */ + nextPageToken?: string; + /** The variant sets belonging to the requested dataset. */ + variantSets?: VariantSet[]; + } + interface SearchVariantsRequest { + /** + * Only return variant calls which belong to call sets with these ids. + * Leaving this blank returns all variant calls. If a variant has no + * calls belonging to any of these call sets, it won't be returned at all. + */ + callSetIds?: string[]; + /** + * The end of the window, 0-based exclusive. If unspecified or 0, defaults to + * the length of the reference. + */ + end?: string; + /** + * The maximum number of calls to return in a single page. Note that this + * limit may be exceeded in the event that a matching variant contains more + * calls than the requested maximum. If unspecified, defaults to 5000. The + * maximum value is 10000. + */ + maxCalls?: number; + /** + * The maximum number of variants to return in a single page. If unspecified, + * defaults to 5000. The maximum value is 10000. + */ + pageSize?: number; + /** + * The continuation token, which is used to page through large result sets. + * To get the next page of results, set this parameter to the value of + * `nextPageToken` from the previous response. + */ + pageToken?: string; + /** Required. Only return variants in this reference sequence. */ + referenceName?: string; + /** + * The beginning of the window (0-based, inclusive) for which + * overlapping variants should be returned. If unspecified, defaults to 0. + */ + start?: string; + /** Only return variants which have exactly this name. */ + variantName?: string; + /** + * At most one variant set ID must be provided. Only variants from this + * variant set will be returned. If omitted, a call set id must be included in + * the request. + */ + variantSetIds?: string[]; + } + interface SearchVariantsResponse { + /** + * The continuation token, which is used to page through large result sets. + * Provide this value in a subsequent request to return the next page of + * results. This field will be empty if there aren't any additional results. + */ + nextPageToken?: string; + /** The list of matching Variants. */ + variants?: Variant[]; + } + interface SetIamPolicyRequest { + /** + * REQUIRED: The complete policy to be applied to the `resource`. The size of + * the policy is limited to a few 10s of KB. An empty policy is a + * valid policy but certain Cloud Platform services (such as Projects) + * might reject them. + */ + policy?: Policy; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface TestIamPermissionsRequest { + /** + * REQUIRED: The set of permissions to check for the 'resource'. + * Permissions with wildcards (such as '*' or 'storage.*') are not allowed. + * Allowed permissions are: + * + * * `genomics.datasets.create` + * * `genomics.datasets.delete` + * * `genomics.datasets.get` + * * `genomics.datasets.list` + * * `genomics.datasets.update` + * * `genomics.datasets.getIamPolicy` + * * `genomics.datasets.setIamPolicy` + */ + permissions?: string[]; + } + interface TestIamPermissionsResponse { + /** + * A subset of `TestPermissionsRequest.permissions` that the caller is + * allowed. + */ + permissions?: string[]; + } + interface Transcript { + /** + * The range of the coding sequence for this transcript, if any. To determine + * the exact ranges of coding sequence, intersect this range with those of the + * exons, if any. If there are any + * exons, the + * codingSequence must start + * and end within them. + * + * Note that in some cases, the reference genome will not exactly match the + * observed mRNA transcript e.g. due to variance in the source genome from + * reference. In these cases, + * exon.frame will not necessarily + * match the expected reference reading frame and coding exon reference bases + * cannot necessarily be concatenated to produce the original transcript mRNA. + */ + codingSequence?: CodingSequence; + /** + * The <a href="http://en.wikipedia.org/wiki/Exon">exons</a> that compose + * this transcript. This field should be unset for genomes where transcript + * splicing does not occur, for example prokaryotes. + * + * Introns are regions of the transcript that are not included in the + * spliced RNA product. Though not explicitly modeled here, intron ranges can + * be deduced; all regions of this transcript that are not exons are introns. + * + * Exonic sequences do not necessarily code for a translational product + * (amino acids). Only the regions of exons bounded by the + * codingSequence correspond + * to coding DNA sequence. + * + * Exons are ordered by start position and may not overlap. + */ + exons?: Exon[]; + /** The annotation ID of the gene from which this transcript is transcribed. */ + geneId?: string; + } + interface Variant { + /** The bases that appear instead of the reference bases. */ + alternateBases?: string[]; + /** + * The variant calls for this particular variant. Each one represents the + * determination of genotype with respect to this variant. + */ + calls?: VariantCall[]; + /** The date this variant was created, in milliseconds from the epoch. */ + created?: string; + /** + * The end position (0-based) of this variant. This corresponds to the first + * base after the last base in the reference allele. So, the length of + * the reference allele is (end - start). This is useful for variants + * that don't explicitly give alternate bases, for example large deletions. + */ + end?: string; + /** + * A list of filters (normally quality filters) this variant has failed. + * `PASS` indicates this variant has passed all filters. + */ + filter?: string[]; + /** The server-generated variant ID, unique across all variants. */ + id?: string; + /** + * A map of additional variant information. This must be of the form + * map<string, string[]> (string key mapping to a list of string values). + */ + info?: Record<string, any[]>; + /** Names for the variant, for example a RefSNP ID. */ + names?: string[]; + /** + * A measure of how likely this variant is to be real. + * A higher value is better. + */ + quality?: number; + /** + * The reference bases for this variant. They start at the given + * position. + */ + referenceBases?: string; + /** + * The reference on which this variant occurs. + * (such as `chr20` or `X`) + */ + referenceName?: string; + /** + * The position at which this variant occurs (0-based). + * This corresponds to the first base of the string of reference bases. + */ + start?: string; + /** The ID of the variant set this variant belongs to. */ + variantSetId?: string; + } + interface VariantAnnotation { + /** + * The alternate allele for this variant. If multiple alternate alleles + * exist at this location, create a separate variant for each one, as they + * may represent distinct conditions. + */ + alternateBases?: string; + /** + * Describes the clinical significance of a variant. + * It is adapted from the ClinVar controlled vocabulary for clinical + * significance described at: + * http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ + */ + clinicalSignificance?: string; + /** + * The set of conditions associated with this variant. + * A condition describes the way a variant influences human health. + */ + conditions?: ClinicalCondition[]; + /** Effect of the variant on the coding sequence. */ + effect?: string; + /** + * Google annotation ID of the gene affected by this variant. This should + * be provided when the variant is created. + */ + geneId?: string; + /** + * Google annotation IDs of the transcripts affected by this variant. These + * should be provided when the variant is created. + */ + transcriptIds?: string[]; + /** Type has been adapted from ClinVar's list of variant types. */ + type?: string; + } + interface VariantCall { + /** The ID of the call set this variant call belongs to. */ + callSetId?: string; + /** The name of the call set this variant call belongs to. */ + callSetName?: string; + /** + * The genotype of this variant call. Each value represents either the value + * of the `referenceBases` field or a 1-based index into + * `alternateBases`. If a variant had a `referenceBases` + * value of `T` and an `alternateBases` + * value of `["A", "C"]`, and the `genotype` was + * `[2, 1]`, that would mean the call + * represented the heterozygous value `CA` for this variant. + * If the `genotype` was instead `[0, 1]`, the + * represented value would be `TA`. Ordering of the + * genotype values is important if the `phaseset` is present. + * If a genotype is not called (that is, a `.` is present in the + * GT string) -1 is returned. + */ + genotype?: number[]; + /** + * The genotype likelihoods for this variant call. Each array entry + * represents how likely a specific genotype is for this call. The value + * ordering is defined by the GL tag in the VCF spec. + * If Phred-scaled genotype likelihood scores (PL) are available and + * log10(P) genotype likelihood scores (GL) are not, PL scores are converted + * to GL scores. If both are available, PL scores are stored in `info`. + */ + genotypeLikelihood?: number[]; + /** + * A map of additional variant call information. This must be of the form + * map<string, string[]> (string key mapping to a list of string values). + */ + info?: Record<string, any[]>; + /** + * If this field is present, this variant call's genotype ordering implies + * the phase of the bases and is consistent with any other variant calls in + * the same reference sequence which have the same phaseset value. + * When importing data from VCF, if the genotype data was phased but no + * phase set was specified this field will be set to `*`. + */ + phaseset?: string; + } + interface VariantSet { + /** The dataset to which this variant set belongs. */ + datasetId?: string; + /** A textual description of this variant set. */ + description?: string; + /** The server-generated variant set ID, unique across all variant sets. */ + id?: string; + /** The metadata associated with this variant set. */ + metadata?: VariantSetMetadata[]; + /** User-specified, mutable name. */ + name?: string; + /** + * A list of all references used by the variants in a variant set + * with associated coordinate upper bounds for each one. + */ + referenceBounds?: ReferenceBound[]; + /** + * The reference set to which the variant set is mapped. The reference set + * describes the alignment provenance of the variant set, while the + * `referenceBounds` describe the shape of the actual variant data. The + * reference set's reference names are a superset of those found in the + * `referenceBounds`. + * + * For example, given a variant set that is mapped to the GRCh38 reference set + * and contains a single variant on reference 'X', `referenceBounds` would + * contain only an entry for 'X', while the associated reference set + * enumerates all possible references: '1', '2', 'X', 'Y', 'MT', etc. + */ + referenceSetId?: string; + } + interface VariantSetMetadata { + /** A textual description of this metadata. */ + description?: string; + /** + * User-provided ID field, not enforced by this API. + * Two or more pieces of structured metadata with identical + * id and key fields are considered equivalent. + */ + id?: string; + /** + * Remaining structured metadata key-value pairs. This must be of the form + * map<string, string[]> (string key mapping to a list of string values). + */ + info?: Record<string, any[]>; + /** The top-level key. */ + key?: string; + /** + * The number of values that can be included in a field described by this + * metadata. + */ + number?: string; + /** + * The type of data. Possible types include: Integer, Float, + * Flag, Character, and String. + */ + type?: string; + /** The value field for simple metadata */ + value?: string; + } + interface AnnotationsResource { + /** + * Creates one or more new annotations atomically. All annotations must + * belong to the same annotation set. Caller must have WRITE + * permission for this annotation set. For optimal performance, batch + * positionally adjacent annotations together. + * + * If the request has a systemic issue, such as an attempt to write to + * an inaccessible annotation set, the entire RPC will fail accordingly. For + * lesser data issues, when possible an error will be isolated to the + * corresponding batch entry in the response; the remaining well formed + * annotations will be created normally. + * + * For details on the requirements for each individual annotation resource, + * see + * CreateAnnotation. + */ + batchCreate(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<BatchCreateAnnotationsResponse>; + /** + * Creates a new annotation. Caller must have WRITE permission + * for the associated annotation set. + * + * The following fields are required: + * + * * annotationSetId + * * referenceName or + * referenceId + * + * ### Transcripts + * + * For annotations of type TRANSCRIPT, the following fields of + * transcript must be provided: + * + * * exons.start + * * exons.end + * + * All other fields may be optionally specified, unless documented as being + * server-generated (for example, the `id` field). The annotated + * range must be no longer than 100Mbp (mega base pairs). See the + * Annotation resource + * for additional restrictions on each field. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Annotation>; + /** + * Deletes an annotation. Caller must have WRITE permission for + * the associated annotation set. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** The ID of the annotation to be deleted. */ + annotationId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets an annotation. Caller must have READ permission + * for the associated annotation set. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** The ID of the annotation to be retrieved. */ + annotationId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Annotation>; + /** + * Searches for annotations that match the given criteria. Results are + * ordered by genomic coordinate (by reference sequence, then position). + * Annotations with equivalent genomic coordinates are returned in an + * unspecified order. This order is consistent, such that two queries for the + * same content (regardless of page size) yield annotations in the same order + * across their respective streams of paginated responses. Caller must have + * READ permission for the queried annotation sets. + */ + search(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SearchAnnotationsResponse>; + /** + * Updates an annotation. Caller must have + * WRITE permission for the associated dataset. + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** The ID of the annotation to be updated. */ + annotationId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * An optional mask specifying which fields to update. Mutable fields are + * name, + * variant, + * transcript, and + * info. If unspecified, all mutable + * fields will be updated. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Annotation>; + } + interface AnnotationsetsResource { + /** + * Creates a new annotation set. Caller must have WRITE permission for the + * associated dataset. + * + * The following fields are required: + * + * * datasetId + * * referenceSetId + * + * All other fields may be optionally specified, unless documented as being + * server-generated (for example, the `id` field). + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<AnnotationSet>; + /** + * Deletes an annotation set. Caller must have WRITE permission + * for the associated annotation set. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** The ID of the annotation set to be deleted. */ + annotationSetId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets an annotation set. Caller must have READ permission for + * the associated dataset. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** The ID of the annotation set to be retrieved. */ + annotationSetId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<AnnotationSet>; + /** + * Searches for annotation sets that match the given criteria. Annotation sets + * are returned in an unspecified order. This order is consistent, such that + * two queries for the same content (regardless of page size) yield annotation + * sets in the same order across their respective streams of paginated + * responses. Caller must have READ permission for the queried datasets. + */ + search(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SearchAnnotationSetsResponse>; + /** + * Updates an annotation set. The update must respect all mutability + * restrictions and other invariants described on the annotation set resource. + * Caller must have WRITE permission for the associated dataset. + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** The ID of the annotation set to be updated. */ + annotationSetId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * An optional mask specifying which fields to update. Mutable fields are + * name, + * source_uri, and + * info. If unspecified, all + * mutable fields will be updated. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<AnnotationSet>; + } + interface CallsetsResource { + /** + * Creates a new call set. + * + * For the definitions of call sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CallSet>; + /** + * Deletes a call set. + * + * For the definitions of call sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** The ID of the call set to be deleted. */ + callSetId: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets a call set by ID. + * + * For the definitions of call sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** The ID of the call set. */ + callSetId: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CallSet>; + /** + * Updates a call set. + * + * For the definitions of call sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * This method supports patch semantics. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** The ID of the call set to be updated. */ + callSetId: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * An optional mask specifying which fields to update. At this time, the only + * mutable field is name. The only + * acceptable value is "name". If unspecified, all mutable fields will be + * updated. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CallSet>; + /** + * Gets a list of call sets matching the criteria. + * + * For the definitions of call sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Implements + * [GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L178). + */ + search(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SearchCallSetsResponse>; + } + interface DatasetsResource { + /** + * Creates a new dataset. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Dataset>; + /** + * Deletes a dataset and all of its contents (all read group sets, + * reference sets, variant sets, call sets, annotation sets, etc.) + * This is reversible (up to one week after the deletion) via + * the + * datasets.undelete + * operation. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The ID of the dataset to be deleted. */ + datasetId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets a dataset by ID. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The ID of the dataset. */ + datasetId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Dataset>; + /** + * Gets the access control policy for the dataset. This is empty if the + * policy or resource does not exist. + * + * See <a href="/iam/docs/managing-policies#getting_a_policy">Getting a + * Policy</a> for more information. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + getIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which policy is being specified. Format is + * `datasets/<dataset ID>`. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Lists datasets within a project. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The maximum number of results to return in a single page. If unspecified, + * defaults to 50. The maximum value is 1024. + */ + pageSize?: number; + /** + * The continuation token, which is used to page through large result sets. + * To get the next page of results, set this parameter to the value of + * `nextPageToken` from the previous response. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Required. The Google Cloud project ID to list datasets for. */ + projectId?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListDatasetsResponse>; + /** + * Updates a dataset. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * This method supports patch semantics. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The ID of the dataset to be updated. */ + datasetId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * An optional mask specifying which fields to update. At this time, the only + * mutable field is name. The only + * acceptable value is "name". If unspecified, all mutable fields will be + * updated. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Dataset>; + /** + * Sets the access control policy on the specified dataset. Replaces any + * existing policy. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * See <a href="/iam/docs/managing-policies#setting_a_policy">Setting a + * Policy</a> for more information. + */ + setIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which policy is being specified. Format is + * `datasets/<dataset ID>`. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Returns permissions that a caller has on the specified resource. + * See <a href="/iam/docs/managing-policies#testing_permissions">Testing + * Permissions</a> for more information. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + testIamPermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which policy is being specified. Format is + * `datasets/<dataset ID>`. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TestIamPermissionsResponse>; + /** + * Undeletes a dataset by restoring a dataset which was deleted via this API. + * + * For the definitions of datasets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * This operation is only possible for a week after the deletion occurred. + */ + undelete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The ID of the dataset to be undeleted. */ + datasetId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Dataset>; + } + interface OperationsResource { + /** + * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. + * Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite + * cancellation. + */ + cancel(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be cancelled. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** Lists operations that match the specified filter in the request. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * A string for filtering Operations. + * The following filter fields are supported: + * + * * projectId: Required. Corresponds to + * OperationMetadata.projectId. + * * createTime: The time this job was created, in seconds from the + * [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `<=` + * operators. + * * status: Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only + * one status may be specified. + * * labels.key where key is a label key. + * + * Examples: + * + * * `projectId = my-project AND createTime >= 1432140000` + * * `projectId = my-project AND createTime >= 1432140000 AND createTime <= 1432150000 AND status = RUNNING` + * * `projectId = my-project AND labels.color = *` + * * `projectId = my-project AND labels.color = red` + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation's parent resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The maximum number of results to return. If unspecified, defaults to + * 256. The maximum value is 2048. + */ + pageSize?: number; + /** The standard list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListOperationsResponse>; + } + interface CoveragebucketsResource { + /** + * Lists fixed width coverage buckets for a read group set, each of which + * correspond to a range of a reference sequence. Each bucket summarizes + * coverage information across its corresponding genomic range. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Coverage is defined as the number of reads which are aligned to a given + * base in the reference sequence. Coverage buckets are available at several + * precomputed bucket widths, enabling retrieval of various coverage 'zoom + * levels'. The caller must have READ permissions for the target read group + * set. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The end position of the range on the reference, 0-based exclusive. If + * specified, `referenceName` must also be specified. If unset or 0, defaults + * to the length of the reference. + */ + end?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The maximum number of results to return in a single page. If unspecified, + * defaults to 1024. The maximum value is 2048. + */ + pageSize?: number; + /** + * The continuation token, which is used to page through large result sets. + * To get the next page of results, set this parameter to the value of + * `nextPageToken` from the previous response. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required. The ID of the read group set over which coverage is requested. */ + readGroupSetId: string; + /** + * The name of the reference to query, within the reference set associated + * with this query. Optional. + */ + referenceName?: string; + /** + * The start position of the range on the reference, 0-based inclusive. If + * specified, `referenceName` must also be specified. Defaults to 0. + */ + start?: string; + /** + * The desired width of each reported coverage bucket in base pairs. This + * will be rounded down to the nearest precomputed bucket width; the value + * of which is returned as `bucketWidth` in the response. Defaults + * to infinity (each bucket spans an entire reference sequence) or the length + * of the target range, if specified. The smallest precomputed + * `bucketWidth` is currently 2048 base pairs; this is subject to + * change. + */ + targetBucketWidth?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListCoverageBucketsResponse>; + } + interface ReadgroupsetsResource { + /** + * Deletes a read group set. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The ID of the read group set to be deleted. The caller must have WRITE + * permissions to the dataset associated with this read group set. + */ + readGroupSetId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Exports a read group set to a BAM file in Google Cloud Storage. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Note that currently there may be some differences between exported BAM + * files and the original BAM file at the time of import. See + * ImportReadGroupSets + * for caveats. + */ + export(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. The ID of the read group set to export. The caller must have + * READ access to this read group set. + */ + readGroupSetId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Gets a read group set by ID. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The ID of the read group set. */ + readGroupSetId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ReadGroupSet>; + /** + * Creates read group sets by asynchronously importing the provided + * information. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * The caller must have WRITE permissions to the dataset. + * + * ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import + * + * - Tags will be converted to strings - tag types are not preserved + * - Comments (`@CO`) in the input file header will not be preserved + * - Original header order of references (`@SQ`) will not be preserved + * - Any reverse stranded unmapped reads will be reverse complemented, and + * their qualities (also the "BQ" and "OQ" tags, if any) will be reversed + * - Unmapped reads will be stripped of positional information (reference name + * and position) + */ + import(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Updates a read group set. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * This method supports patch semantics. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The ID of the read group set to be updated. The caller must have WRITE + * permissions to the dataset associated with this read group set. + */ + readGroupSetId: string; + /** + * An optional mask specifying which fields to update. Supported fields: + * + * * name. + * * referenceSetId. + * + * Leaving `updateMask` unset is equivalent to specifying all mutable + * fields. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ReadGroupSet>; + /** + * Searches for read group sets matching the criteria. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Implements + * [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135). + */ + search(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SearchReadGroupSetsResponse>; + coveragebuckets: CoveragebucketsResource; + } + interface ReadsResource { + /** + * Gets a list of reads for one or more read group sets. + * + * For the definitions of read group sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Reads search operates over a genomic coordinate space of reference sequence + * & position defined over the reference sequences to which the requested + * read group sets are aligned. + * + * If a target positional range is specified, search returns all reads whose + * alignment to the reference genome overlap the range. A query which + * specifies only read group set IDs yields all reads in those read group + * sets, including unmapped reads. + * + * All reads returned (including reads on subsequent pages) are ordered by + * genomic coordinate (by reference sequence, then position). Reads with + * equivalent genomic coordinates are returned in an unspecified order. This + * order is consistent, such that two queries for the same content (regardless + * of page size) yield reads in the same order across their respective streams + * of paginated responses. + * + * Implements + * [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85). + */ + search(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SearchReadsResponse>; + } + interface BasesResource { + /** + * Lists the bases in a reference, optionally restricted to a range. + * + * For the definitions of references and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Implements + * [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221). + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The end position (0-based, exclusive) of this query. Defaults to the length + * of this reference. + */ + end?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The maximum number of bases to return in a single page. If unspecified, + * defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base + * pairs). + */ + pageSize?: number; + /** + * The continuation token, which is used to page through large result sets. + * To get the next page of results, set this parameter to the value of + * `nextPageToken` from the previous response. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The ID of the reference. */ + referenceId: string; + /** The start position (0-based) of this query. Defaults to 0. */ + start?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListBasesResponse>; + } + interface ReferencesResource { + /** + * Gets a reference. + * + * For the definitions of references and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Implements + * [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158). + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The ID of the reference. */ + referenceId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Reference>; + /** + * Searches for references which match the given criteria. + * + * For the definitions of references and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Implements + * [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146). + */ + search(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SearchReferencesResponse>; + bases: BasesResource; + } + interface ReferencesetsResource { + /** + * Gets a reference set. + * + * For the definitions of references and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Implements + * [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83). + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The ID of the reference set. */ + referenceSetId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ReferenceSet>; + /** + * Searches for reference sets which match the given criteria. + * + * For the definitions of references and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Implements + * [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71) + */ + search(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SearchReferenceSetsResponse>; + } + interface VariantsResource { + /** + * Creates a new variant. + * + * For the definitions of variants and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Variant>; + /** + * Deletes a variant. + * + * For the definitions of variants and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** The ID of the variant to be deleted. */ + variantId: string; + }): Request<{}>; + /** + * Gets a variant by ID. + * + * For the definitions of variants and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** The ID of the variant. */ + variantId: string; + }): Request<Variant>; + /** + * Creates variant data by asynchronously importing the provided information. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * The variants for import will be merged with any existing variant that + * matches its reference sequence, start, end, reference bases, and + * alternative bases. If no such variant exists, a new one will be created. + * + * When variants are merged, the call information from the new variant + * is added to the existing variant, and Variant info fields are merged + * as specified in + * infoMergeConfig. + * As a special case, for single-sample VCF files, QUAL and FILTER fields will + * be moved to the call level; these are sometimes interpreted in a + * call-specific context. + * Imported VCF headers are appended to the metadata already in a variant set. + */ + import(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Merges the given variants with existing variants. + * + * For the definitions of variants and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Each variant will be + * merged with an existing variant that matches its reference sequence, + * start, end, reference bases, and alternative bases. If no such variant + * exists, a new one will be created. + * + * When variants are merged, the call information from the new variant + * is added to the existing variant. Variant info fields are merged as + * specified in the + * infoMergeConfig + * field of the MergeVariantsRequest. + * + * Please exercise caution when using this method! It is easy to introduce + * mistakes in existing variants and difficult to back out of them. For + * example, + * suppose you were trying to merge a new variant with an existing one and + * both + * variants contain calls that belong to callsets with the same callset ID. + * + * // Existing variant - irrelevant fields trimmed for clarity + * { + * "variantSetId": "10473108253681171589", + * "referenceName": "1", + * "start": "10582", + * "referenceBases": "G", + * "alternateBases": [ + * "A" + * ], + * "calls": [ + * { + * "callSetId": "10473108253681171589-0", + * "callSetName": "CALLSET0", + * "genotype": [ + * 0, + * 1 + * ], + * } + * ] + * } + * + * // New variant with conflicting call information + * { + * "variantSetId": "10473108253681171589", + * "referenceName": "1", + * "start": "10582", + * "referenceBases": "G", + * "alternateBases": [ + * "A" + * ], + * "calls": [ + * { + * "callSetId": "10473108253681171589-0", + * "callSetName": "CALLSET0", + * "genotype": [ + * 1, + * 1 + * ], + * } + * ] + * } + * + * The resulting merged variant would overwrite the existing calls with those + * from the new variant: + * + * { + * "variantSetId": "10473108253681171589", + * "referenceName": "1", + * "start": "10582", + * "referenceBases": "G", + * "alternateBases": [ + * "A" + * ], + * "calls": [ + * { + * "callSetId": "10473108253681171589-0", + * "callSetName": "CALLSET0", + * "genotype": [ + * 1, + * 1 + * ], + * } + * ] + * } + * + * This may be the desired outcome, but it is up to the user to determine if + * if that is indeed the case. + */ + merge(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Updates a variant. + * + * For the definitions of variants and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * This method supports patch semantics. Returns the modified variant without + * its calls. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * An optional mask specifying which fields to update. At this time, mutable + * fields are names and + * info. Acceptable values are "names" and + * "info". If unspecified, all mutable fields will be updated. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** The ID of the variant to be updated. */ + variantId: string; + }): Request<Variant>; + /** + * Gets a list of variants matching the criteria. + * + * For the definitions of variants and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Implements + * [GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L126). + */ + search(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SearchVariantsResponse>; + } + interface VariantsetsResource { + /** + * Creates a new variant set. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * The provided variant set must have a valid `datasetId` set - all other + * fields are optional. Note that the `id` field will be ignored, as this is + * assigned by the server. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<VariantSet>; + /** + * Deletes a variant set including all variants, call sets, and calls within. + * This is not reversible. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** The ID of the variant set to be deleted. */ + variantSetId: string; + }): Request<{}>; + /** + * Exports variant set data to an external destination. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + export(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * Required. The ID of the variant set that contains variant data which + * should be exported. The caller must have READ access to this variant set. + */ + variantSetId: string; + }): Request<Operation>; + /** + * Gets a variant set by ID. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Required. The ID of the variant set. */ + variantSetId: string; + }): Request<VariantSet>; + /** + * Updates a variant set using patch semantics. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * An optional mask specifying which fields to update. Supported fields: + * + * * metadata. + * * name. + * * description. + * + * Leaving `updateMask` unset is equivalent to specifying all mutable + * fields. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** The ID of the variant to be updated (must already exist). */ + variantSetId: string; + }): Request<VariantSet>; + /** + * Returns a list of all variant sets matching search criteria. + * + * For the definitions of variant sets and other genomics resources, see + * [Fundamentals of Google + * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + * + * Implements + * [GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L49). + */ + search(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SearchVariantSetsResponse>; + } + } +} diff --git a/types/gapi.client.genomics/readme.md b/types/gapi.client.genomics/readme.md new file mode 100644 index 0000000000..a2e3df8b62 --- /dev/null +++ b/types/gapi.client.genomics/readme.md @@ -0,0 +1,731 @@ +# TypeScript typings for Genomics API v1 +Upload, process, query, and search Genomics data in the cloud. +For detailed description please check [documentation](https://cloud.google.com/genomics). + +## Installing + +Install typings for Genomics API: +``` +npm install @types/gapi.client.genomics@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('genomics', 'v1', () => { + // now we can use gapi.client.genomics + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data in Google BigQuery + 'https://www.googleapis.com/auth/bigquery', + + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // Manage your data in Google Cloud Storage + 'https://www.googleapis.com/auth/devstorage.read_write', + + // View and manage Genomics data + 'https://www.googleapis.com/auth/genomics', + + // View Genomics data + 'https://www.googleapis.com/auth/genomics.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Genomics API resources: + +```typescript + +/* +Creates one or more new annotations atomically. All annotations must +belong to the same annotation set. Caller must have WRITE +permission for this annotation set. For optimal performance, batch +positionally adjacent annotations together. + +If the request has a systemic issue, such as an attempt to write to +an inaccessible annotation set, the entire RPC will fail accordingly. For +lesser data issues, when possible an error will be isolated to the +corresponding batch entry in the response; the remaining well formed +annotations will be created normally. + +For details on the requirements for each individual annotation resource, +see +CreateAnnotation. +*/ +await gapi.client.annotations.batchCreate({ }); + +/* +Creates a new annotation. Caller must have WRITE permission +for the associated annotation set. + +The following fields are required: + +* annotationSetId +* referenceName or + referenceId + +### Transcripts + +For annotations of type TRANSCRIPT, the following fields of +transcript must be provided: + +* exons.start +* exons.end + +All other fields may be optionally specified, unless documented as being +server-generated (for example, the `id` field). The annotated +range must be no longer than 100Mbp (mega base pairs). See the +Annotation resource +for additional restrictions on each field. +*/ +await gapi.client.annotations.create({ }); + +/* +Deletes an annotation. Caller must have WRITE permission for +the associated annotation set. +*/ +await gapi.client.annotations.delete({ annotationId: "annotationId", }); + +/* +Gets an annotation. Caller must have READ permission +for the associated annotation set. +*/ +await gapi.client.annotations.get({ annotationId: "annotationId", }); + +/* +Searches for annotations that match the given criteria. Results are +ordered by genomic coordinate (by reference sequence, then position). +Annotations with equivalent genomic coordinates are returned in an +unspecified order. This order is consistent, such that two queries for the +same content (regardless of page size) yield annotations in the same order +across their respective streams of paginated responses. Caller must have +READ permission for the queried annotation sets. +*/ +await gapi.client.annotations.search({ }); + +/* +Updates an annotation. Caller must have +WRITE permission for the associated dataset. +*/ +await gapi.client.annotations.update({ annotationId: "annotationId", }); + +/* +Creates a new annotation set. Caller must have WRITE permission for the +associated dataset. + +The following fields are required: + + * datasetId + * referenceSetId + +All other fields may be optionally specified, unless documented as being +server-generated (for example, the `id` field). +*/ +await gapi.client.annotationsets.create({ }); + +/* +Deletes an annotation set. Caller must have WRITE permission +for the associated annotation set. +*/ +await gapi.client.annotationsets.delete({ annotationSetId: "annotationSetId", }); + +/* +Gets an annotation set. Caller must have READ permission for +the associated dataset. +*/ +await gapi.client.annotationsets.get({ annotationSetId: "annotationSetId", }); + +/* +Searches for annotation sets that match the given criteria. Annotation sets +are returned in an unspecified order. This order is consistent, such that +two queries for the same content (regardless of page size) yield annotation +sets in the same order across their respective streams of paginated +responses. Caller must have READ permission for the queried datasets. +*/ +await gapi.client.annotationsets.search({ }); + +/* +Updates an annotation set. The update must respect all mutability +restrictions and other invariants described on the annotation set resource. +Caller must have WRITE permission for the associated dataset. +*/ +await gapi.client.annotationsets.update({ annotationSetId: "annotationSetId", }); + +/* +Creates a new call set. + +For the definitions of call sets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) +*/ +await gapi.client.callsets.create({ }); + +/* +Deletes a call set. + +For the definitions of call sets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) +*/ +await gapi.client.callsets.delete({ callSetId: "callSetId", }); + +/* +Gets a call set by ID. + +For the definitions of call sets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) +*/ +await gapi.client.callsets.get({ callSetId: "callSetId", }); + +/* +Updates a call set. + +For the definitions of call sets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + +This method supports patch semantics. +*/ +await gapi.client.callsets.patch({ callSetId: "callSetId", }); + +/* +Gets a list of call sets matching the criteria. + +For the definitions of call sets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + +Implements +[GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L178). +*/ +await gapi.client.callsets.search({ }); + +/* +Creates a new dataset. + +For the definitions of datasets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) +*/ +await gapi.client.datasets.create({ }); + +/* +Deletes a dataset and all of its contents (all read group sets, +reference sets, variant sets, call sets, annotation sets, etc.) +This is reversible (up to one week after the deletion) via +the +datasets.undelete +operation. + +For the definitions of datasets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) +*/ +await gapi.client.datasets.delete({ datasetId: "datasetId", }); + +/* +Gets a dataset by ID. + +For the definitions of datasets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) +*/ +await gapi.client.datasets.get({ datasetId: "datasetId", }); + +/* +Gets the access control policy for the dataset. This is empty if the +policy or resource does not exist. + +See <a href="/iam/docs/managing-policies#getting_a_policy">Getting a +Policy</a> for more information. + +For the definitions of datasets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) +*/ +await gapi.client.datasets.getIamPolicy({ resource: "resource", }); + +/* +Lists datasets within a project. + +For the definitions of datasets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) +*/ +await gapi.client.datasets.list({ }); + +/* +Updates a dataset. + +For the definitions of datasets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + +This method supports patch semantics. +*/ +await gapi.client.datasets.patch({ datasetId: "datasetId", }); + +/* +Sets the access control policy on the specified dataset. Replaces any +existing policy. + +For the definitions of datasets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + +See <a href="/iam/docs/managing-policies#setting_a_policy">Setting a +Policy</a> for more information. +*/ +await gapi.client.datasets.setIamPolicy({ resource: "resource", }); + +/* +Returns permissions that a caller has on the specified resource. +See <a href="/iam/docs/managing-policies#testing_permissions">Testing +Permissions</a> for more information. + +For the definitions of datasets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) +*/ +await gapi.client.datasets.testIamPermissions({ resource: "resource", }); + +/* +Undeletes a dataset by restoring a dataset which was deleted via this API. + +For the definitions of datasets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + +This operation is only possible for a week after the deletion occurred. +*/ +await gapi.client.datasets.undelete({ datasetId: "datasetId", }); + +/* +Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite cancellation. +*/ +await gapi.client.operations.cancel({ name: "name", }); + +/* +Gets the latest state of a long-running operation. Clients can use this +method to poll the operation result at intervals as recommended by the API +service. +*/ +await gapi.client.operations.get({ name: "name", }); + +/* +Lists operations that match the specified filter in the request. +*/ +await gapi.client.operations.list({ name: "name", }); + +/* +Deletes a read group set. + +For the definitions of read group sets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) +*/ +await gapi.client.readgroupsets.delete({ readGroupSetId: "readGroupSetId", }); + +/* +Exports a read group set to a BAM file in Google Cloud Storage. + +For the definitions of read group sets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + +Note that currently there may be some differences between exported BAM +files and the original BAM file at the time of import. See +ImportReadGroupSets +for caveats. +*/ +await gapi.client.readgroupsets.export({ readGroupSetId: "readGroupSetId", }); + +/* +Gets a read group set by ID. + +For the definitions of read group sets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) +*/ +await gapi.client.readgroupsets.get({ readGroupSetId: "readGroupSetId", }); + +/* +Creates read group sets by asynchronously importing the provided +information. + +For the definitions of read group sets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + +The caller must have WRITE permissions to the dataset. + +## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import + +- Tags will be converted to strings - tag types are not preserved +- Comments (`@CO`) in the input file header will not be preserved +- Original header order of references (`@SQ`) will not be preserved +- Any reverse stranded unmapped reads will be reverse complemented, and +their qualities (also the "BQ" and "OQ" tags, if any) will be reversed +- Unmapped reads will be stripped of positional information (reference name +and position) +*/ +await gapi.client.readgroupsets.import({ }); + +/* +Updates a read group set. + +For the definitions of read group sets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + +This method supports patch semantics. +*/ +await gapi.client.readgroupsets.patch({ readGroupSetId: "readGroupSetId", }); + +/* +Searches for read group sets matching the criteria. + +For the definitions of read group sets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + +Implements +[GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135). +*/ +await gapi.client.readgroupsets.search({ }); + +/* +Gets a list of reads for one or more read group sets. + +For the definitions of read group sets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + +Reads search operates over a genomic coordinate space of reference sequence +& position defined over the reference sequences to which the requested +read group sets are aligned. + +If a target positional range is specified, search returns all reads whose +alignment to the reference genome overlap the range. A query which +specifies only read group set IDs yields all reads in those read group +sets, including unmapped reads. + +All reads returned (including reads on subsequent pages) are ordered by +genomic coordinate (by reference sequence, then position). Reads with +equivalent genomic coordinates are returned in an unspecified order. This +order is consistent, such that two queries for the same content (regardless +of page size) yield reads in the same order across their respective streams +of paginated responses. + +Implements +[GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85). +*/ +await gapi.client.reads.search({ }); + +/* +Gets a reference. + +For the definitions of references and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + +Implements +[GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158). +*/ +await gapi.client.references.get({ referenceId: "referenceId", }); + +/* +Searches for references which match the given criteria. + +For the definitions of references and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + +Implements +[GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146). +*/ +await gapi.client.references.search({ }); + +/* +Gets a reference set. + +For the definitions of references and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + +Implements +[GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83). +*/ +await gapi.client.referencesets.get({ referenceSetId: "referenceSetId", }); + +/* +Searches for reference sets which match the given criteria. + +For the definitions of references and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + +Implements +[GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71) +*/ +await gapi.client.referencesets.search({ }); + +/* +Creates a new variant. + +For the definitions of variants and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) +*/ +await gapi.client.variants.create({ }); + +/* +Deletes a variant. + +For the definitions of variants and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) +*/ +await gapi.client.variants.delete({ variantId: "variantId", }); + +/* +Gets a variant by ID. + +For the definitions of variants and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) +*/ +await gapi.client.variants.get({ variantId: "variantId", }); + +/* +Creates variant data by asynchronously importing the provided information. + +For the definitions of variant sets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + +The variants for import will be merged with any existing variant that +matches its reference sequence, start, end, reference bases, and +alternative bases. If no such variant exists, a new one will be created. + +When variants are merged, the call information from the new variant +is added to the existing variant, and Variant info fields are merged +as specified in +infoMergeConfig. +As a special case, for single-sample VCF files, QUAL and FILTER fields will +be moved to the call level; these are sometimes interpreted in a +call-specific context. +Imported VCF headers are appended to the metadata already in a variant set. +*/ +await gapi.client.variants.import({ }); + +/* +Merges the given variants with existing variants. + +For the definitions of variants and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + +Each variant will be +merged with an existing variant that matches its reference sequence, +start, end, reference bases, and alternative bases. If no such variant +exists, a new one will be created. + +When variants are merged, the call information from the new variant +is added to the existing variant. Variant info fields are merged as +specified in the +infoMergeConfig +field of the MergeVariantsRequest. + +Please exercise caution when using this method! It is easy to introduce +mistakes in existing variants and difficult to back out of them. For +example, +suppose you were trying to merge a new variant with an existing one and +both +variants contain calls that belong to callsets with the same callset ID. + + // Existing variant - irrelevant fields trimmed for clarity + { + "variantSetId": "10473108253681171589", + "referenceName": "1", + "start": "10582", + "referenceBases": "G", + "alternateBases": [ + "A" + ], + "calls": [ + { + "callSetId": "10473108253681171589-0", + "callSetName": "CALLSET0", + "genotype": [ + 0, + 1 + ], + } + ] + } + + // New variant with conflicting call information + { + "variantSetId": "10473108253681171589", + "referenceName": "1", + "start": "10582", + "referenceBases": "G", + "alternateBases": [ + "A" + ], + "calls": [ + { + "callSetId": "10473108253681171589-0", + "callSetName": "CALLSET0", + "genotype": [ + 1, + 1 + ], + } + ] + } + +The resulting merged variant would overwrite the existing calls with those +from the new variant: + + { + "variantSetId": "10473108253681171589", + "referenceName": "1", + "start": "10582", + "referenceBases": "G", + "alternateBases": [ + "A" + ], + "calls": [ + { + "callSetId": "10473108253681171589-0", + "callSetName": "CALLSET0", + "genotype": [ + 1, + 1 + ], + } + ] + } + +This may be the desired outcome, but it is up to the user to determine if +if that is indeed the case. +*/ +await gapi.client.variants.merge({ }); + +/* +Updates a variant. + +For the definitions of variants and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + +This method supports patch semantics. Returns the modified variant without +its calls. +*/ +await gapi.client.variants.patch({ variantId: "variantId", }); + +/* +Gets a list of variants matching the criteria. + +For the definitions of variants and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + +Implements +[GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L126). +*/ +await gapi.client.variants.search({ }); + +/* +Creates a new variant set. + +For the definitions of variant sets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + +The provided variant set must have a valid `datasetId` set - all other +fields are optional. Note that the `id` field will be ignored, as this is +assigned by the server. +*/ +await gapi.client.variantsets.create({ }); + +/* +Deletes a variant set including all variants, call sets, and calls within. +This is not reversible. + +For the definitions of variant sets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) +*/ +await gapi.client.variantsets.delete({ variantSetId: "variantSetId", }); + +/* +Exports variant set data to an external destination. + +For the definitions of variant sets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) +*/ +await gapi.client.variantsets.export({ variantSetId: "variantSetId", }); + +/* +Gets a variant set by ID. + +For the definitions of variant sets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) +*/ +await gapi.client.variantsets.get({ variantSetId: "variantSetId", }); + +/* +Updates a variant set using patch semantics. + +For the definitions of variant sets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) +*/ +await gapi.client.variantsets.patch({ variantSetId: "variantSetId", }); + +/* +Returns a list of all variant sets matching search criteria. + +For the definitions of variant sets and other genomics resources, see +[Fundamentals of Google +Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + +Implements +[GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L49). +*/ +await gapi.client.variantsets.search({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.genomics/tsconfig.json b/types/gapi.client.genomics/tsconfig.json new file mode 100644 index 0000000000..f3814992d0 --- /dev/null +++ b/types/gapi.client.genomics/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.genomics-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.genomics/tslint.json b/types/gapi.client.genomics/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.genomics/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.gmail/gapi.client.gmail-tests.ts b/types/gapi.client.gmail/gapi.client.gmail-tests.ts new file mode 100644 index 0000000000..41f584517c --- /dev/null +++ b/types/gapi.client.gmail/gapi.client.gmail-tests.ts @@ -0,0 +1,62 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('gmail', 'v1', () => { + /** now we can use gapi.client.gmail */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Read, send, delete, and manage your email */ + 'https://mail.google.com/', + /** Manage drafts and send emails */ + 'https://www.googleapis.com/auth/gmail.compose', + /** Insert mail into your mailbox */ + 'https://www.googleapis.com/auth/gmail.insert', + /** Manage mailbox labels */ + 'https://www.googleapis.com/auth/gmail.labels', + /** View your email message metadata such as labels and headers, but not the email body */ + 'https://www.googleapis.com/auth/gmail.metadata', + /** View and modify but not delete your email */ + 'https://www.googleapis.com/auth/gmail.modify', + /** View your email messages and settings */ + 'https://www.googleapis.com/auth/gmail.readonly', + /** Send email on your behalf */ + 'https://www.googleapis.com/auth/gmail.send', + /** Manage your basic mail settings */ + 'https://www.googleapis.com/auth/gmail.settings.basic', + /** Manage your sensitive mail settings, including who can manage your mail */ + 'https://www.googleapis.com/auth/gmail.settings.sharing', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Gets the current user's Gmail profile. */ + await gapi.client.users.getProfile({ + userId: "userId", + }); + /** Stop receiving push notifications for the given user mailbox. */ + await gapi.client.users.stop({ + userId: "userId", + }); + /** Set up or update a push notification watch on the given user mailbox. */ + await gapi.client.users.watch({ + userId: "userId", + }); + } +}); diff --git a/types/gapi.client.gmail/index.d.ts b/types/gapi.client.gmail/index.d.ts new file mode 100644 index 0000000000..68fb9e2eb0 --- /dev/null +++ b/types/gapi.client.gmail/index.d.ts @@ -0,0 +1,2052 @@ +// Type definitions for Google Gmail API v1 1.0 +// Project: https://developers.google.com/gmail/api/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/gmail/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Gmail API v1 */ + function load(name: "gmail", version: "v1"): PromiseLike<void>; + function load(name: "gmail", version: "v1", callback: () => any): void; + + const users: gmail.UsersResource; + + namespace gmail { + interface AutoForwarding { + /** The state that a message should be left in after it has been forwarded. */ + disposition?: string; + /** Email address to which all incoming messages are forwarded. This email address must be a verified member of the forwarding addresses. */ + emailAddress?: string; + /** Whether all incoming mail is automatically forwarded to another address. */ + enabled?: boolean; + } + interface BatchDeleteMessagesRequest { + /** The IDs of the messages to delete. */ + ids?: string[]; + } + interface BatchModifyMessagesRequest { + /** A list of label IDs to add to messages. */ + addLabelIds?: string[]; + /** The IDs of the messages to modify. There is a limit of 1000 ids per request. */ + ids?: string[]; + /** A list of label IDs to remove from messages. */ + removeLabelIds?: string[]; + } + interface Draft { + /** The immutable ID of the draft. */ + id?: string; + /** The message content of the draft. */ + message?: Message; + } + interface Filter { + /** Action that the filter performs. */ + action?: FilterAction; + /** Matching criteria for the filter. */ + criteria?: FilterCriteria; + /** The server assigned ID of the filter. */ + id?: string; + } + interface FilterAction { + /** List of labels to add to the message. */ + addLabelIds?: string[]; + /** Email address that the message should be forwarded to. */ + forward?: string; + /** List of labels to remove from the message. */ + removeLabelIds?: string[]; + } + interface FilterCriteria { + /** Whether the response should exclude chats. */ + excludeChats?: boolean; + /** The sender's display name or email address. */ + from?: string; + /** Whether the message has any attachment. */ + hasAttachment?: boolean; + /** + * Only return messages not matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com + * rfc822msgid: is:unread". + */ + negatedQuery?: string; + /** + * Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com + * rfc822msgid: is:unread". + */ + query?: string; + /** The size of the entire RFC822 message in bytes, including all headers and attachments. */ + size?: number; + /** How the message size in bytes should be in relation to the size field. */ + sizeComparison?: string; + /** Case-insensitive phrase found in the message's subject. Trailing and leading whitespace are be trimmed and adjacent spaces are collapsed. */ + subject?: string; + /** + * The recipient's display name or email address. Includes recipients in the "to", "cc", and "bcc" header fields. You can use simply the local part of the + * email address. For example, "example" and "example@" both match "example@gmail.com". This field is case-insensitive. + */ + to?: string; + } + interface ForwardingAddress { + /** An email address to which messages can be forwarded. */ + forwardingEmail?: string; + /** Indicates whether this address has been verified and is usable for forwarding. Read-only. */ + verificationStatus?: string; + } + interface History { + /** The mailbox sequence ID. */ + id?: string; + /** Labels added to messages in this history record. */ + labelsAdded?: HistoryLabelAdded[]; + /** Labels removed from messages in this history record. */ + labelsRemoved?: HistoryLabelRemoved[]; + /** + * List of messages changed in this history record. The fields for specific change types, such as messagesAdded may duplicate messages in this field. We + * recommend using the specific change-type fields instead of this. + */ + messages?: Message[]; + /** Messages added to the mailbox in this history record. */ + messagesAdded?: HistoryMessageAdded[]; + /** Messages deleted (not Trashed) from the mailbox in this history record. */ + messagesDeleted?: HistoryMessageDeleted[]; + } + interface HistoryLabelAdded { + /** Label IDs added to the message. */ + labelIds?: string[]; + message?: Message; + } + interface HistoryLabelRemoved { + /** Label IDs removed from the message. */ + labelIds?: string[]; + message?: Message; + } + interface HistoryMessageAdded { + message?: Message; + } + interface HistoryMessageDeleted { + message?: Message; + } + interface ImapSettings { + /** + * If this value is true, Gmail will immediately expunge a message when it is marked as deleted in IMAP. Otherwise, Gmail will wait for an update from the + * client before expunging messages marked as deleted. + */ + autoExpunge?: boolean; + /** Whether IMAP is enabled for the account. */ + enabled?: boolean; + /** The action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder. */ + expungeBehavior?: string; + /** + * An optional limit on the number of messages that an IMAP folder may contain. Legal values are 0, 1000, 2000, 5000 or 10000. A value of zero is + * interpreted to mean that there is no limit. + */ + maxFolderSize?: number; + } + interface Label { + /** The immutable ID of the label. */ + id?: string; + /** The visibility of the label in the label list in the Gmail web interface. */ + labelListVisibility?: string; + /** The visibility of the label in the message list in the Gmail web interface. */ + messageListVisibility?: string; + /** The total number of messages with the label. */ + messagesTotal?: number; + /** The number of unread messages with the label. */ + messagesUnread?: number; + /** The display name of the label. */ + name?: string; + /** The total number of threads with the label. */ + threadsTotal?: number; + /** The number of unread threads with the label. */ + threadsUnread?: number; + /** + * The owner type for the label. User labels are created by the user and can be modified and deleted by the user and can be applied to any message or + * thread. System labels are internally created and cannot be added, modified, or deleted. System labels may be able to be applied to or removed from + * messages and threads under some circumstances but this is not guaranteed. For example, users can apply and remove the INBOX and UNREAD labels from + * messages and threads, but cannot apply or remove the DRAFTS or SENT labels from messages or threads. + */ + type?: string; + } + interface ListDraftsResponse { + /** List of drafts. */ + drafts?: Draft[]; + /** Token to retrieve the next page of results in the list. */ + nextPageToken?: string; + /** Estimated total number of results. */ + resultSizeEstimate?: number; + } + interface ListFiltersResponse { + /** List of a user's filters. */ + filter?: Filter[]; + } + interface ListForwardingAddressesResponse { + /** List of addresses that may be used for forwarding. */ + forwardingAddresses?: ForwardingAddress[]; + } + interface ListHistoryResponse { + /** List of history records. Any messages contained in the response will typically only have id and threadId fields populated. */ + history?: History[]; + /** The ID of the mailbox's current history record. */ + historyId?: string; + /** Page token to retrieve the next page of results in the list. */ + nextPageToken?: string; + } + interface ListLabelsResponse { + /** List of labels. */ + labels?: Label[]; + } + interface ListMessagesResponse { + /** List of messages. */ + messages?: Message[]; + /** Token to retrieve the next page of results in the list. */ + nextPageToken?: string; + /** Estimated total number of results. */ + resultSizeEstimate?: number; + } + interface ListSendAsResponse { + /** List of send-as aliases. */ + sendAs?: SendAs[]; + } + interface ListSmimeInfoResponse { + /** List of SmimeInfo. */ + smimeInfo?: SmimeInfo[]; + } + interface ListThreadsResponse { + /** Page token to retrieve the next page of results in the list. */ + nextPageToken?: string; + /** Estimated total number of results. */ + resultSizeEstimate?: number; + /** List of threads. */ + threads?: Thread[]; + } + interface Message { + /** The ID of the last history record that modified this message. */ + historyId?: string; + /** The immutable ID of the message. */ + id?: string; + /** + * The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time + * the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by + * client to be based on the Date header. + */ + internalDate?: string; + /** List of IDs of labels applied to this message. */ + labelIds?: string[]; + /** The parsed email structure in the message parts. */ + payload?: MessagePart; + /** + * The entire email message in an RFC 2822 formatted and base64url encoded string. Returned in messages.get and drafts.get responses when the format=RAW + * parameter is supplied. + */ + raw?: string; + /** Estimated size in bytes of the message. */ + sizeEstimate?: number; + /** A short part of the message text. */ + snippet?: string; + /** + * The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met: + * - The requested threadId must be specified on the Message or Draft.Message you supply with your request. + * - The References and In-Reply-To headers must be set in compliance with the RFC 2822 standard. + * - The Subject headers must match. + */ + threadId?: string; + } + interface MessagePart { + /** The message part body for this part, which may be empty for container MIME message parts. */ + body?: MessagePartBody; + /** The filename of the attachment. Only present if this message part represents an attachment. */ + filename?: string; + /** + * List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 + * email headers such as To, From, and Subject. + */ + headers?: MessagePartHeader[]; + /** The MIME type of the message part. */ + mimeType?: string; + /** The immutable ID of the message part. */ + partId?: string; + /** + * The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message + * part types, such as text/plain, this field is empty. For more information, see RFC 1521. + */ + parts?: MessagePart[]; + } + interface MessagePartBody { + /** + * When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the + * entire content of the message part body is contained in the data field. + */ + attachmentId?: string; + /** + * The body data of a MIME message part as a base64url encoded string. May be empty for MIME container types that have no message body or when the body + * data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment. + */ + data?: string; + /** Number of bytes for the message part data (encoding notwithstanding). */ + size?: number; + } + interface MessagePartHeader { + /** The name of the header before the : separator. For example, To. */ + name?: string; + /** The value of the header after the : separator. For example, someuser@example.com. */ + value?: string; + } + interface ModifyMessageRequest { + /** A list of IDs of labels to add to this message. */ + addLabelIds?: string[]; + /** A list IDs of labels to remove from this message. */ + removeLabelIds?: string[]; + } + interface ModifyThreadRequest { + /** A list of IDs of labels to add to this thread. */ + addLabelIds?: string[]; + /** A list of IDs of labels to remove from this thread. */ + removeLabelIds?: string[]; + } + interface PopSettings { + /** The range of messages which are accessible via POP. */ + accessWindow?: string; + /** The action that will be executed on a message after it has been fetched via POP. */ + disposition?: string; + } + interface Profile { + /** The user's email address. */ + emailAddress?: string; + /** The ID of the mailbox's current history record. */ + historyId?: string; + /** The total number of messages in the mailbox. */ + messagesTotal?: number; + /** The total number of threads in the mailbox. */ + threadsTotal?: number; + } + interface SendAs { + /** + * A name that appears in the "From:" header for mail sent using this alias. For custom "from" addresses, when this is empty, Gmail will populate the + * "From:" header with the name that is used for the primary address associated with the account. + */ + displayName?: string; + /** + * Whether this address is selected as the default "From:" address in situations such as composing a new message or sending a vacation auto-reply. Every + * Gmail account has exactly one default send-as address, so the only legal value that clients may write to this field is true. Changing this from false + * to true for an address will result in this field becoming false for the other previous default address. + */ + isDefault?: boolean; + /** + * Whether this address is the primary address used to login to the account. Every Gmail account has exactly one primary address, and it cannot be deleted + * from the collection of send-as aliases. This field is read-only. + */ + isPrimary?: boolean; + /** + * An optional email address that is included in a "Reply-To:" header for mail sent using this alias. If this is empty, Gmail will not generate a + * "Reply-To:" header. + */ + replyToAddress?: string; + /** The email address that appears in the "From:" header for mail sent using this alias. This is read-only for all operations except create. */ + sendAsEmail?: string; + /** An optional HTML signature that is included in messages composed with this alias in the Gmail web UI. */ + signature?: string; + /** + * An optional SMTP service that will be used as an outbound relay for mail sent using this alias. If this is empty, outbound mail will be sent directly + * from Gmail's servers to the destination SMTP service. This setting only applies to custom "from" aliases. + */ + smtpMsa?: SmtpMsa; + /** Whether Gmail should treat this address as an alias for the user's primary email address. This setting only applies to custom "from" aliases. */ + treatAsAlias?: boolean; + /** Indicates whether this address has been verified for use as a send-as alias. Read-only. This setting only applies to custom "from" aliases. */ + verificationStatus?: string; + } + interface SmimeInfo { + /** Encrypted key password, when key is encrypted. */ + encryptedKeyPassword?: string; + /** When the certificate expires (in milliseconds since epoch). */ + expiration?: string; + /** The immutable ID for the SmimeInfo. */ + id?: string; + /** Whether this SmimeInfo is the default one for this user's send-as address. */ + isDefault?: boolean; + /** The S/MIME certificate issuer's common name. */ + issuerCn?: string; + /** + * PEM formatted X509 concatenated certificate string (standard base64 encoding). Format used for returning key, which includes public key as well as + * certificate chain (not private key). + */ + pem?: string; + /** + * PKCS#12 format containing a single private/public key pair and certificate chain. This format is only accepted from client for creating a new SmimeInfo + * and is never returned, because the private key is not intended to be exported. PKCS#12 may be encrypted, in which case encryptedKeyPassword should be + * set appropriately. + */ + pkcs12?: string; + } + interface SmtpMsa { + /** The hostname of the SMTP service. Required. */ + host?: string; + /** + * The password that will be used for authentication with the SMTP service. This is a write-only field that can be specified in requests to create or + * update SendAs settings; it is never populated in responses. + */ + password?: string; + /** The port of the SMTP service. Required. */ + port?: number; + /** The protocol that will be used to secure communication with the SMTP service. Required. */ + securityMode?: string; + /** + * The username that will be used for authentication with the SMTP service. This is a write-only field that can be specified in requests to create or + * update SendAs settings; it is never populated in responses. + */ + username?: string; + } + interface Thread { + /** The ID of the last history record that modified this thread. */ + historyId?: string; + /** The unique ID of the thread. */ + id?: string; + /** The list of messages in the thread. */ + messages?: Message[]; + /** A short part of the message text. */ + snippet?: string; + } + interface VacationSettings { + /** Flag that controls whether Gmail automatically replies to messages. */ + enableAutoReply?: boolean; + /** + * An optional end time for sending auto-replies (epoch ms). When this is specified, Gmail will automatically reply only to messages that it receives + * before the end time. If both startTime and endTime are specified, startTime must precede endTime. + */ + endTime?: string; + /** Response body in HTML format. Gmail will sanitize the HTML before storing it. */ + responseBodyHtml?: string; + /** Response body in plain text format. */ + responseBodyPlainText?: string; + /** + * Optional text to prepend to the subject line in vacation responses. In order to enable auto-replies, either the response subject or the response body + * must be nonempty. + */ + responseSubject?: string; + /** Flag that determines whether responses are sent to recipients who are not in the user's list of contacts. */ + restrictToContacts?: boolean; + /** Flag that determines whether responses are sent to recipients who are outside of the user's domain. This feature is only available for G Suite users. */ + restrictToDomain?: boolean; + /** + * An optional start time for sending auto-replies (epoch ms). When this is specified, Gmail will automatically reply only to messages that it receives + * after the start time. If both startTime and endTime are specified, startTime must precede endTime. + */ + startTime?: string; + } + interface WatchRequest { + /** Filtering behavior of labelIds list specified. */ + labelFilterAction?: string; + /** + * List of label_ids to restrict notifications about. By default, if unspecified, all changes are pushed out. If specified then dictates which labels are + * required for a push notification to be generated. + */ + labelIds?: string[]; + /** + * A fully qualified Google Cloud Pub/Sub API topic name to publish the events to. This topic name **must** already exist in Cloud Pub/Sub and you + * **must** have already granted gmail "publish" permission on it. For example, "projects/my-project-identifier/topics/my-topic-name" (using the Cloud + * Pub/Sub "v1" topic naming format). + * + * Note that the "my-project-identifier" portion must exactly match your Google developer project id (the one executing this watch request). + */ + topicName?: string; + } + interface WatchResponse { + /** When Gmail will stop sending notifications for mailbox updates (epoch millis). Call watch again before this time to renew the watch. */ + expiration?: string; + /** The ID of the mailbox's current history record. */ + historyId?: string; + } + interface DraftsResource { + /** Creates a new draft with the DRAFT label. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Draft>; + /** Immediately and permanently deletes the specified draft. Does not simply trash it. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the draft to delete. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets the specified draft. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The format to return the draft in. */ + format?: string; + /** The ID of the draft to retrieve. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Draft>; + /** Lists the drafts in the user's mailbox. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Include drafts from SPAM and TRASH in the results. */ + includeSpamTrash?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of drafts to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Page token to retrieve a specific page of results in the list. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Only return draft messages matching the specified query. Supports the same query format as the Gmail search box. For example, + * "from:someuser@example.com rfc822msgid: is:unread". + */ + q?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListDraftsResponse>; + /** Sends the specified, existing draft to the recipients in the To, Cc, and Bcc headers. */ + send(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Message>; + /** Replaces a draft's content. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the draft to update. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Draft>; + } + interface HistoryResource { + /** Lists the history of all changes to the given mailbox. History results are returned in chronological order (increasing historyId). */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** History types to be returned by the function */ + historyTypes?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Only return messages with a label matching the ID. */ + labelId?: string; + /** The maximum number of history records to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Page token to retrieve a specific page of results in the list. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Required. Returns history records after the specified startHistoryId. The supplied startHistoryId should be obtained from the historyId of a message, + * thread, or previous list response. History IDs increase chronologically but are not contiguous with random gaps in between valid IDs. Supplying an + * invalid or out of date startHistoryId typically returns an HTTP 404 error code. A historyId is typically valid for at least a week, but in some rare + * circumstances may be valid for only a few hours. If you receive an HTTP 404 error response, your application should perform a full sync. If you receive + * no nextPageToken in the response, there are no updates to retrieve and you can store the returned historyId for a future request. + */ + startHistoryId?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListHistoryResponse>; + } + interface LabelsResource { + /** Creates a new label. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Label>; + /** Immediately and permanently deletes the specified label and removes it from any messages and threads that it is applied to. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the label to delete. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets the specified label. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the label to retrieve. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Label>; + /** Lists all labels in the user's mailbox. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListLabelsResponse>; + /** Updates the specified label. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the label to update. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Label>; + /** Updates the specified label. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the label to update. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Label>; + } + interface AttachmentsResource { + /** Gets the specified message attachment. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the attachment. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the message containing the attachment. */ + messageId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<MessagePartBody>; + } + interface MessagesResource { + /** Deletes many messages by message ID. Provides no guarantees that messages were not already deleted or even existed at all. */ + batchDelete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Modifies the labels on the specified messages. */ + batchModify(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer messages.trash instead. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the message to delete. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets the specified message. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The format to return the message in. */ + format?: string; + /** The ID of the message to retrieve. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** When given and format is METADATA, only include headers specified. */ + metadataHeaders?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Message>; + /** + * Imports a message into only this user's mailbox, with standard email delivery scanning and classification similar to receiving via SMTP. Does not send + * a message. + */ + import(request: { + /** Data format for the response. */ + alt?: string; + /** Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for G Suite accounts. */ + deleted?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Source for Gmail's internal date of the message. */ + internalDateSource?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Ignore the Gmail spam classifier decision and never mark this email as SPAM in the mailbox. */ + neverMarkSpam?: boolean; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Process calendar invites in the email and add any extracted meetings to the Google Calendar for this user. */ + processForCalendar?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Message>; + /** Directly inserts a message into only this user's mailbox similar to IMAP APPEND, bypassing most scanning and classification. Does not send a message. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for G Suite accounts. */ + deleted?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Source for Gmail's internal date of the message. */ + internalDateSource?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Message>; + /** Lists the messages in the user's mailbox. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Include messages from SPAM and TRASH in the results. */ + includeSpamTrash?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Only return messages with labels that match all of the specified label IDs. */ + labelIds?: string; + /** Maximum number of messages to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Page token to retrieve a specific page of results in the list. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com + * rfc822msgid:<somemsgid@example.com> is:unread". Parameter cannot be used when accessing the api using the gmail.metadata scope. + */ + q?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListMessagesResponse>; + /** Modifies the labels on the specified message. */ + modify(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the message to modify. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Message>; + /** Sends the specified message to the recipients in the To, Cc, and Bcc headers. */ + send(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Message>; + /** Moves the specified message to the trash. */ + trash(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the message to Trash. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Message>; + /** Removes the specified message from the trash. */ + untrash(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the message to remove from Trash. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Message>; + attachments: AttachmentsResource; + } + interface FiltersResource { + /** Creates a filter. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Filter>; + /** Deletes a filter. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the filter to be deleted. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets a filter. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the filter to be fetched. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Filter>; + /** Lists the message filters of a Gmail user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListFiltersResponse>; + } + interface ForwardingAddressesResource { + /** + * Creates a forwarding address. If ownership verification is required, a message will be sent to the recipient and the resource's verification status + * will be set to pending; otherwise, the resource will be created with verification status set to accepted. + * + * This method is only available to service account clients that have been delegated domain-wide authority. + */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ForwardingAddress>; + /** + * Deletes the specified forwarding address and revokes any verification that may have been required. + * + * This method is only available to service account clients that have been delegated domain-wide authority. + */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The forwarding address to be deleted. */ + forwardingEmail: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets the specified forwarding address. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The forwarding address to be retrieved. */ + forwardingEmail: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ForwardingAddress>; + /** Lists the forwarding addresses for the specified account. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListForwardingAddressesResponse>; + } + interface SmimeInfoResource { + /** Deletes the specified S/MIME config for the specified send-as alias. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The immutable ID for the SmimeInfo. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The email address that appears in the "From:" header for mail sent using this alias. */ + sendAsEmail: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets the specified S/MIME config for the specified send-as alias. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The immutable ID for the SmimeInfo. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The email address that appears in the "From:" header for mail sent using this alias. */ + sendAsEmail: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SmimeInfo>; + /** Insert (upload) the given S/MIME config for the specified send-as alias. Note that pkcs12 format is required for the key. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The email address that appears in the "From:" header for mail sent using this alias. */ + sendAsEmail: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SmimeInfo>; + /** Lists S/MIME configs for the specified send-as alias. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The email address that appears in the "From:" header for mail sent using this alias. */ + sendAsEmail: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListSmimeInfoResponse>; + /** Sets the default S/MIME config for the specified send-as alias. */ + setDefault(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The immutable ID for the SmimeInfo. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The email address that appears in the "From:" header for mail sent using this alias. */ + sendAsEmail: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface SendAsResource { + /** + * Creates a custom "from" send-as alias. If an SMTP MSA is specified, Gmail will attempt to connect to the SMTP service to validate the configuration + * before creating the alias. If ownership verification is required for the alias, a message will be sent to the email address and the resource's + * verification status will be set to pending; otherwise, the resource will be created with verification status set to accepted. If a signature is + * provided, Gmail will sanitize the HTML before saving it with the alias. + * + * This method is only available to service account clients that have been delegated domain-wide authority. + */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SendAs>; + /** + * Deletes the specified send-as alias. Revokes any verification that may have been required for using it. + * + * This method is only available to service account clients that have been delegated domain-wide authority. + */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The send-as alias to be deleted. */ + sendAsEmail: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets the specified send-as alias. Fails with an HTTP 404 error if the specified address is not a member of the collection. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The send-as alias to be retrieved. */ + sendAsEmail: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SendAs>; + /** + * Lists the send-as aliases for the specified account. The result includes the primary send-as address associated with the account as well as any custom + * "from" aliases. + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListSendAsResponse>; + /** + * Updates a send-as alias. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias. + * + * Addresses other than the primary address for the account can only be updated by service account clients that have been delegated domain-wide authority. + * This method supports patch semantics. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The send-as alias to be updated. */ + sendAsEmail: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SendAs>; + /** + * Updates a send-as alias. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias. + * + * Addresses other than the primary address for the account can only be updated by service account clients that have been delegated domain-wide authority. + */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The send-as alias to be updated. */ + sendAsEmail: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SendAs>; + /** + * Sends a verification email to the specified send-as alias address. The verification status must be pending. + * + * This method is only available to service account clients that have been delegated domain-wide authority. + */ + verify(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The send-as alias to be verified. */ + sendAsEmail: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + smimeInfo: SmimeInfoResource; + } + interface SettingsResource { + /** Gets the auto-forwarding setting for the specified account. */ + getAutoForwarding(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AutoForwarding>; + /** Gets IMAP settings. */ + getImap(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ImapSettings>; + /** Gets POP settings. */ + getPop(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PopSettings>; + /** Gets vacation responder settings. */ + getVacation(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<VacationSettings>; + /** + * Updates the auto-forwarding setting for the specified account. A verified forwarding address must be specified when auto-forwarding is enabled. + * + * This method is only available to service account clients that have been delegated domain-wide authority. + */ + updateAutoForwarding(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AutoForwarding>; + /** Updates IMAP settings. */ + updateImap(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ImapSettings>; + /** Updates POP settings. */ + updatePop(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PopSettings>; + /** Updates vacation responder settings. */ + updateVacation(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** User's email address. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<VacationSettings>; + filters: FiltersResource; + forwardingAddresses: ForwardingAddressesResource; + sendAs: SendAsResource; + } + interface ThreadsResource { + /** Immediately and permanently deletes the specified thread. This operation cannot be undone. Prefer threads.trash instead. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** ID of the Thread to delete. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets the specified thread. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The format to return the messages in. */ + format?: string; + /** The ID of the thread to retrieve. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** When given and format is METADATA, only include headers specified. */ + metadataHeaders?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Thread>; + /** Lists the threads in the user's mailbox. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Include threads from SPAM and TRASH in the results. */ + includeSpamTrash?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Only return threads with labels that match all of the specified label IDs. */ + labelIds?: string; + /** Maximum number of threads to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Page token to retrieve a specific page of results in the list. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Only return threads matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com + * rfc822msgid: is:unread". Parameter cannot be used when accessing the api using the gmail.metadata scope. + */ + q?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListThreadsResponse>; + /** Modifies the labels applied to the thread. This applies to all messages in the thread. */ + modify(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the thread to modify. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Thread>; + /** Moves the specified thread to the trash. */ + trash(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the thread to Trash. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Thread>; + /** Removes the specified thread from the trash. */ + untrash(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the thread to remove from Trash. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Thread>; + } + interface UsersResource { + /** Gets the current user's Gmail profile. */ + getProfile(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Profile>; + /** Stop receiving push notifications for the given user mailbox. */ + stop(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Set up or update a push notification watch on the given user mailbox. */ + watch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The user's email address. The special value me can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<WatchResponse>; + drafts: DraftsResource; + history: HistoryResource; + labels: LabelsResource; + messages: MessagesResource; + settings: SettingsResource; + threads: ThreadsResource; + } + } +} diff --git a/types/gapi.client.gmail/readme.md b/types/gapi.client.gmail/readme.md new file mode 100644 index 0000000000..216666af48 --- /dev/null +++ b/types/gapi.client.gmail/readme.md @@ -0,0 +1,96 @@ +# TypeScript typings for Gmail API v1 +Access Gmail mailboxes including sending user email. +For detailed description please check [documentation](https://developers.google.com/gmail/api/). + +## Installing + +Install typings for Gmail API: +``` +npm install @types/gapi.client.gmail@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('gmail', 'v1', () => { + // now we can use gapi.client.gmail + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Read, send, delete, and manage your email + 'https://mail.google.com/', + + // Manage drafts and send emails + 'https://www.googleapis.com/auth/gmail.compose', + + // Insert mail into your mailbox + 'https://www.googleapis.com/auth/gmail.insert', + + // Manage mailbox labels + 'https://www.googleapis.com/auth/gmail.labels', + + // View your email message metadata such as labels and headers, but not the email body + 'https://www.googleapis.com/auth/gmail.metadata', + + // View and modify but not delete your email + 'https://www.googleapis.com/auth/gmail.modify', + + // View your email messages and settings + 'https://www.googleapis.com/auth/gmail.readonly', + + // Send email on your behalf + 'https://www.googleapis.com/auth/gmail.send', + + // Manage your basic mail settings + 'https://www.googleapis.com/auth/gmail.settings.basic', + + // Manage your sensitive mail settings, including who can manage your mail + 'https://www.googleapis.com/auth/gmail.settings.sharing', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Gmail API resources: + +```typescript + +/* +Gets the current user's Gmail profile. +*/ +await gapi.client.users.getProfile({ userId: "userId", }); + +/* +Stop receiving push notifications for the given user mailbox. +*/ +await gapi.client.users.stop({ userId: "userId", }); + +/* +Set up or update a push notification watch on the given user mailbox. +*/ +await gapi.client.users.watch({ userId: "userId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.gmail/tsconfig.json b/types/gapi.client.gmail/tsconfig.json new file mode 100644 index 0000000000..f0a8989f4f --- /dev/null +++ b/types/gapi.client.gmail/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.gmail-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.gmail/tslint.json b/types/gapi.client.gmail/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.gmail/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.groupsmigration/gapi.client.groupsmigration-tests.ts b/types/gapi.client.groupsmigration/gapi.client.groupsmigration-tests.ts new file mode 100644 index 0000000000..95068f5cdc --- /dev/null +++ b/types/gapi.client.groupsmigration/gapi.client.groupsmigration-tests.ts @@ -0,0 +1,36 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('groupsmigration', 'v1', () => { + /** now we can use gapi.client.groupsmigration */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage messages in groups on your domain */ + 'https://www.googleapis.com/auth/apps.groups.migration', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Inserts a new mail into the archive of the Google group. */ + await gapi.client.archive.insert({ + groupId: "groupId", + }); + } +}); diff --git a/types/gapi.client.groupsmigration/index.d.ts b/types/gapi.client.groupsmigration/index.d.ts new file mode 100644 index 0000000000..19204dc725 --- /dev/null +++ b/types/gapi.client.groupsmigration/index.d.ts @@ -0,0 +1,53 @@ +// Type definitions for Google Groups Migration API v1 1.0 +// Project: https://developers.google.com/google-apps/groups-migration/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/groupsmigration/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Groups Migration API v1 */ + function load(name: "groupsmigration", version: "v1"): PromiseLike<void>; + function load(name: "groupsmigration", version: "v1", callback: () => any): void; + + const archive: groupsmigration.ArchiveResource; + + namespace groupsmigration { + interface Groups { + /** The kind of insert resource this is. */ + kind?: string; + /** The status of the insert request. */ + responseCode?: string; + } + interface ArchiveResource { + /** Inserts a new mail into the archive of the Google group. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The group ID */ + groupId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Groups>; + } + } +} diff --git a/types/gapi.client.groupsmigration/readme.md b/types/gapi.client.groupsmigration/readme.md new file mode 100644 index 0000000000..b46d8aaec9 --- /dev/null +++ b/types/gapi.client.groupsmigration/readme.md @@ -0,0 +1,59 @@ +# TypeScript typings for Groups Migration API v1 +Groups Migration Api. +For detailed description please check [documentation](https://developers.google.com/google-apps/groups-migration/). + +## Installing + +Install typings for Groups Migration API: +``` +npm install @types/gapi.client.groupsmigration@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('groupsmigration', 'v1', () => { + // now we can use gapi.client.groupsmigration + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage messages in groups on your domain + 'https://www.googleapis.com/auth/apps.groups.migration', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Groups Migration API resources: + +```typescript + +/* +Inserts a new mail into the archive of the Google group. +*/ +await gapi.client.archive.insert({ groupId: "groupId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.groupsmigration/tsconfig.json b/types/gapi.client.groupsmigration/tsconfig.json new file mode 100644 index 0000000000..e790df35fc --- /dev/null +++ b/types/gapi.client.groupsmigration/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.groupsmigration-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.groupsmigration/tslint.json b/types/gapi.client.groupsmigration/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.groupsmigration/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.groupssettings/gapi.client.groupssettings-tests.ts b/types/gapi.client.groupssettings/gapi.client.groupssettings-tests.ts new file mode 100644 index 0000000000..0c404df675 --- /dev/null +++ b/types/gapi.client.groupssettings/gapi.client.groupssettings-tests.ts @@ -0,0 +1,44 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('groupssettings', 'v1', () => { + /** now we can use gapi.client.groupssettings */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage the settings of a G Suite group */ + 'https://www.googleapis.com/auth/apps.groups.settings', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Gets one resource by id. */ + await gapi.client.groups.get({ + groupUniqueId: "groupUniqueId", + }); + /** Updates an existing resource. This method supports patch semantics. */ + await gapi.client.groups.patch({ + groupUniqueId: "groupUniqueId", + }); + /** Updates an existing resource. */ + await gapi.client.groups.update({ + groupUniqueId: "groupUniqueId", + }); + } +}); diff --git a/types/gapi.client.groupssettings/index.d.ts b/types/gapi.client.groupssettings/index.d.ts new file mode 100644 index 0000000000..763e19abcc --- /dev/null +++ b/types/gapi.client.groupssettings/index.d.ts @@ -0,0 +1,164 @@ +// Type definitions for Google Groups Settings API v1 1.0 +// Project: https://developers.google.com/google-apps/groups-settings/get_started +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/groupssettings/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Groups Settings API v1 */ + function load(name: "groupssettings", version: "v1"): PromiseLike<void>; + function load(name: "groupssettings", version: "v1", callback: () => any): void; + + const groups: groupssettings.GroupsResource; + + namespace groupssettings { + interface Groups { + /** Are external members allowed to join the group. */ + allowExternalMembers?: string; + /** Is google allowed to contact admins. */ + allowGoogleCommunication?: string; + /** If posting from web is allowed. */ + allowWebPosting?: string; + /** If the group is archive only */ + archiveOnly?: string; + /** Custom footer text. */ + customFooterText?: string; + /** Default email to which reply to any message should go. */ + customReplyTo?: string; + /** Default message deny notification message */ + defaultMessageDenyNotificationText?: string; + /** Description of the group */ + description?: string; + /** Email id of the group */ + email?: string; + /** Whether to include custom footer. */ + includeCustomFooter?: string; + /** If this groups should be included in global address list or not. */ + includeInGlobalAddressList?: string; + /** If the contents of the group are archived. */ + isArchived?: string; + /** The type of the resource. */ + kind?: string; + /** Maximum message size allowed. */ + maxMessageBytes?: number; + /** Can members post using the group email address. */ + membersCanPostAsTheGroup?: string; + /** Default message display font. Possible values are: DEFAULT_FONT FIXED_WIDTH_FONT */ + messageDisplayFont?: string; + /** Moderation level for messages. Possible values are: MODERATE_ALL_MESSAGES MODERATE_NON_MEMBERS MODERATE_NEW_MEMBERS MODERATE_NONE */ + messageModerationLevel?: string; + /** Name of the Group */ + name?: string; + /** Primary language for the group. */ + primaryLanguage?: string; + /** + * Whome should the default reply to a message go to. Possible values are: REPLY_TO_CUSTOM REPLY_TO_SENDER REPLY_TO_LIST REPLY_TO_OWNER REPLY_TO_IGNORE + * REPLY_TO_MANAGERS + */ + replyTo?: string; + /** Should the member be notified if his message is denied by owner. */ + sendMessageDenyNotification?: string; + /** Is the group listed in groups directory */ + showInGroupDirectory?: string; + /** Moderation level for messages detected as spam. Possible values are: ALLOW MODERATE SILENTLY_MODERATE REJECT */ + spamModerationLevel?: string; + /** Permissions to add members. Possible values are: ALL_MANAGERS_CAN_ADD ALL_MEMBERS_CAN_ADD NONE_CAN_ADD */ + whoCanAdd?: string; + /** + * Permission to contact owner of the group via web UI. Possible values are: ANYONE_CAN_CONTACT ALL_IN_DOMAIN_CAN_CONTACT ALL_MEMBERS_CAN_CONTACT + * ALL_MANAGERS_CAN_CONTACT + */ + whoCanContactOwner?: string; + /** Permissions to invite members. Possible values are: ALL_MEMBERS_CAN_INVITE ALL_MANAGERS_CAN_INVITE NONE_CAN_INVITE */ + whoCanInvite?: string; + /** Permissions to join the group. Possible values are: ANYONE_CAN_JOIN ALL_IN_DOMAIN_CAN_JOIN INVITED_CAN_JOIN CAN_REQUEST_TO_JOIN */ + whoCanJoin?: string; + /** Permission to leave the group. Possible values are: ALL_MANAGERS_CAN_LEAVE ALL_MEMBERS_CAN_LEAVE NONE_CAN_LEAVE */ + whoCanLeaveGroup?: string; + /** + * Permissions to post messages to the group. Possible values are: NONE_CAN_POST ALL_MANAGERS_CAN_POST ALL_MEMBERS_CAN_POST ALL_OWNERS_CAN_POST + * ALL_IN_DOMAIN_CAN_POST ANYONE_CAN_POST + */ + whoCanPostMessage?: string; + /** Permissions to view group. Possible values are: ANYONE_CAN_VIEW ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW */ + whoCanViewGroup?: string; + /** Permissions to view membership. Possible values are: ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW */ + whoCanViewMembership?: string; + } + interface GroupsResource { + /** Gets one resource by id. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The resource ID */ + groupUniqueId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Groups>; + /** Updates an existing resource. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The resource ID */ + groupUniqueId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Groups>; + /** Updates an existing resource. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The resource ID */ + groupUniqueId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Groups>; + } + } +} diff --git a/types/gapi.client.groupssettings/readme.md b/types/gapi.client.groupssettings/readme.md new file mode 100644 index 0000000000..76ae9a0dc2 --- /dev/null +++ b/types/gapi.client.groupssettings/readme.md @@ -0,0 +1,69 @@ +# TypeScript typings for Groups Settings API v1 +Lets you manage permission levels and related settings of a group. +For detailed description please check [documentation](https://developers.google.com/google-apps/groups-settings/get_started). + +## Installing + +Install typings for Groups Settings API: +``` +npm install @types/gapi.client.groupssettings@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('groupssettings', 'v1', () => { + // now we can use gapi.client.groupssettings + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage the settings of a G Suite group + 'https://www.googleapis.com/auth/apps.groups.settings', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Groups Settings API resources: + +```typescript + +/* +Gets one resource by id. +*/ +await gapi.client.groups.get({ groupUniqueId: "groupUniqueId", }); + +/* +Updates an existing resource. This method supports patch semantics. +*/ +await gapi.client.groups.patch({ groupUniqueId: "groupUniqueId", }); + +/* +Updates an existing resource. +*/ +await gapi.client.groups.update({ groupUniqueId: "groupUniqueId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.groupssettings/tsconfig.json b/types/gapi.client.groupssettings/tsconfig.json new file mode 100644 index 0000000000..855b1f2828 --- /dev/null +++ b/types/gapi.client.groupssettings/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.groupssettings-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.groupssettings/tslint.json b/types/gapi.client.groupssettings/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.groupssettings/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.iam/gapi.client.iam-tests.ts b/types/gapi.client.iam/gapi.client.iam-tests.ts new file mode 100644 index 0000000000..0a54f9d05d --- /dev/null +++ b/types/gapi.client.iam/gapi.client.iam-tests.ts @@ -0,0 +1,57 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('iam', 'v1', () => { + /** now we can use gapi.client.iam */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Lists the permissions testable on a resource. + * A permission is testable if it can be tested for an identity on a resource. + */ + await gapi.client.permissions.queryTestablePermissions({ + }); + /** Gets a Role definition. */ + await gapi.client.roles.get({ + name: "name", + }); + /** Lists the Roles defined on a resource. */ + await gapi.client.roles.list({ + pageSize: 1, + pageToken: "pageToken", + parent: "parent", + showDeleted: true, + view: "view", + }); + /** + * Queries roles that can be granted on a particular resource. + * A role is grantable if it can be used as the role in a binding for a policy + * for that resource. + */ + await gapi.client.roles.queryGrantableRoles({ + }); + } +}); diff --git a/types/gapi.client.iam/index.d.ts b/types/gapi.client.iam/index.d.ts new file mode 100644 index 0000000000..ccbb4a1fde --- /dev/null +++ b/types/gapi.client.iam/index.d.ts @@ -0,0 +1,1608 @@ +// Type definitions for Google Google Identity and Access Management (IAM) API v1 1.0 +// Project: https://cloud.google.com/iam/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://iam.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Identity and Access Management (IAM) API v1 */ + function load(name: "iam", version: "v1"): PromiseLike<void>; + function load(name: "iam", version: "v1", callback: () => any): void; + + const organizations: iam.OrganizationsResource; + + const permissions: iam.PermissionsResource; + + const projects: iam.ProjectsResource; + + const roles: iam.RolesResource; + + namespace iam { + interface AuditData { + /** Policy delta between the original policy and the newly set policy. */ + policyDelta?: PolicyDelta; + } + interface Binding { + /** + * Specifies the identities requesting access for a Cloud Platform resource. + * `members` can have the following values: + * + * * `allUsers`: A special identifier that represents anyone who is + * on the internet; with or without a Google account. + * + * * `allAuthenticatedUsers`: A special identifier that represents anyone + * who is authenticated with a Google account or a service account. + * + * * `user:{emailid}`: An email address that represents a specific Google + * account. For example, `alice@gmail.com` or `joe@example.com`. + * + * + * * `serviceAccount:{emailid}`: An email address that represents a service + * account. For example, `my-other-app@appspot.gserviceaccount.com`. + * + * * `group:{emailid}`: An email address that represents a Google group. + * For example, `admins@example.com`. + * + * + * * `domain:{domain}`: A Google Apps domain name that represents all the + * users of that domain. For example, `google.com` or `example.com`. + */ + members?: string[]; + /** + * Role that is assigned to `members`. + * For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + * Required + */ + role?: string; + } + interface BindingDelta { + /** + * The action that was performed on a Binding. + * Required + */ + action?: string; + /** + * The condition that is associated with this binding. + * This field is GOOGLE_INTERNAL. + * This field is not logged in IAM side because it's only for audit logging. + * Optional + */ + condition?: Expr; + /** + * A single identity requesting access for a Cloud Platform resource. + * Follows the same format of Binding.members. + * Required + */ + member?: string; + /** + * Role that is assigned to `members`. + * For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + * Required + */ + role?: string; + } + interface CreateRoleRequest { + /** The Role resource to create. */ + role?: Role; + /** The role id to use for this role. */ + roleId?: string; + } + interface CreateServiceAccountKeyRequest { + /** + * Which type of key and algorithm to use for the key. + * The default is currently a 2K RSA key. However this may change in the + * future. + */ + keyAlgorithm?: string; + /** + * The output format of the private key. `GOOGLE_CREDENTIALS_FILE` is the + * default output format. + */ + privateKeyType?: string; + } + interface CreateServiceAccountRequest { + /** + * Required. The account id that is used to generate the service account + * email address and a stable unique id. It is unique within a project, + * must be 6-30 characters long, and match the regular expression + * `[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035. + */ + accountId?: string; + /** + * The ServiceAccount resource to create. + * Currently, only the following values are user assignable: + * `display_name` . + */ + serviceAccount?: ServiceAccount; + } + interface Expr { + /** + * An optional description of the expression. This is a longer text which + * describes the expression, e.g. when hovered over it in a UI. + */ + description?: string; + /** + * Textual representation of an expression in + * Common Expression Language syntax. + * + * The application context of the containing message determines which + * well-known feature set of CEL is supported. + */ + expression?: string; + /** + * An optional string indicating the location of the expression for error + * reporting, e.g. a file name and a position in the file. + */ + location?: string; + /** + * An optional title for the expression, i.e. a short string describing + * its purpose. This can be used e.g. in UIs which allow to enter the + * expression. + */ + title?: string; + } + interface ListRolesResponse { + /** + * To retrieve the next page of results, set + * `ListRolesRequest.page_token` to this value. + */ + nextPageToken?: string; + /** The Roles defined on this resource. */ + roles?: Role[]; + } + interface ListServiceAccountKeysResponse { + /** The public keys for the service account. */ + keys?: ServiceAccountKey[]; + } + interface ListServiceAccountsResponse { + /** The list of matching service accounts. */ + accounts?: ServiceAccount[]; + /** + * To retrieve the next page of results, set + * ListServiceAccountsRequest.page_token + * to this value. + */ + nextPageToken?: string; + } + interface Permission { + /** The current custom role support level. */ + customRolesSupportLevel?: string; + /** A brief description of what this Permission is used for. */ + description?: string; + /** The name of this Permission. */ + name?: string; + /** This permission can ONLY be used in predefined roles. */ + onlyInPredefinedRoles?: boolean; + /** The current launch stage of the permission. */ + stage?: string; + /** The title of this Permission. */ + title?: string; + } + interface Policy { + /** + * Associates a list of `members` to a `role`. + * `bindings` with no members will result in an error. + */ + bindings?: Binding[]; + /** + * `etag` is used for optimistic concurrency control as a way to help + * prevent simultaneous updates of a policy from overwriting each other. + * It is strongly suggested that systems make use of the `etag` in the + * read-modify-write cycle to perform policy updates in order to avoid race + * conditions: An `etag` is returned in the response to `getIamPolicy`, and + * systems are expected to put that etag in the request to `setIamPolicy` to + * ensure that their change will be applied to the same version of the policy. + * + * If no `etag` is provided in the call to `setIamPolicy`, then the existing + * policy is overwritten blindly. + */ + etag?: string; + /** Version of the `Policy`. The default version is 0. */ + version?: number; + } + interface PolicyDelta { + /** The delta for Bindings between two policies. */ + bindingDeltas?: BindingDelta[]; + } + interface QueryGrantableRolesRequest { + /** + * Required. The full resource name to query from the list of grantable roles. + * + * The name follows the Google Cloud Platform resource format. + * For example, a Cloud Platform project with id `my-project` will be named + * `//cloudresourcemanager.googleapis.com/projects/my-project`. + */ + fullResourceName?: string; + /** Optional limit on the number of roles to include in the response. */ + pageSize?: number; + /** + * Optional pagination token returned in an earlier + * QueryGrantableRolesResponse. + */ + pageToken?: string; + view?: string; + } + interface QueryGrantableRolesResponse { + /** + * To retrieve the next page of results, set + * `QueryGrantableRolesRequest.page_token` to this value. + */ + nextPageToken?: string; + /** The list of matching roles. */ + roles?: Role[]; + } + interface QueryTestablePermissionsRequest { + /** + * Required. The full resource name to query from the list of testable + * permissions. + * + * The name follows the Google Cloud Platform resource format. + * For example, a Cloud Platform project with id `my-project` will be named + * `//cloudresourcemanager.googleapis.com/projects/my-project`. + */ + fullResourceName?: string; + /** Optional limit on the number of permissions to include in the response. */ + pageSize?: number; + /** + * Optional pagination token returned in an earlier + * QueryTestablePermissionsRequest. + */ + pageToken?: string; + } + interface QueryTestablePermissionsResponse { + /** + * To retrieve the next page of results, set + * `QueryTestableRolesRequest.page_token` to this value. + */ + nextPageToken?: string; + /** The Permissions testable on the requested resource. */ + permissions?: Permission[]; + } + interface Role { + /** + * The current deleted state of the role. This field is read only. + * It will be ignored in calls to CreateRole and UpdateRole. + */ + deleted?: boolean; + /** Optional. A human-readable description for the role. */ + description?: string; + /** Used to perform a consistent read-modify-write. */ + etag?: string; + /** The names of the permissions this role grants when bound in an IAM policy. */ + includedPermissions?: string[]; + /** + * The name of the role. + * + * When Role is used in CreateRole, the role name must not be set. + * + * When Role is used in output and other input such as UpdateRole, the role + * name is the complete path, e.g., roles/logging.viewer for curated roles + * and organizations/{ORGANIZATION_ID}/roles/logging.viewer for custom roles. + */ + name?: string; + /** The current launch stage of the role. */ + stage?: string; + /** + * Optional. A human-readable title for the role. Typically this + * is limited to 100 UTF-8 bytes. + */ + title?: string; + } + interface ServiceAccount { + /** + * Optional. A user-specified description of the service account. Must be + * fewer than 100 UTF-8 bytes. + */ + displayName?: string; + /** @OutputOnly The email address of the service account. */ + email?: string; + /** Used to perform a consistent read-modify-write. */ + etag?: string; + /** + * The resource name of the service account in the following format: + * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. + * + * Requests using `-` as a wildcard for the `PROJECT_ID` will infer the + * project from the `account` and the `ACCOUNT` value can be the `email` + * address or the `unique_id` of the service account. + * + * In responses the resource name will always be in the format + * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. + */ + name?: string; + /** + * @OutputOnly. The OAuth2 client id for the service account. + * This is used in conjunction with the OAuth2 clientconfig API to make + * three legged OAuth2 (3LO) flows to access the data of Google users. + */ + oauth2ClientId?: string; + /** @OutputOnly The id of the project that owns the service account. */ + projectId?: string; + /** @OutputOnly The unique and stable id of the service account. */ + uniqueId?: string; + } + interface ServiceAccountKey { + /** Specifies the algorithm (and possibly key size) for the key. */ + keyAlgorithm?: string; + /** + * The resource name of the service account key in the following format + * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. + */ + name?: string; + /** + * The private key data. Only provided in `CreateServiceAccountKey` + * responses. Make sure to keep the private key data secure because it + * allows for the assertion of the service account identity. + * When decoded, the private key data can be used to authenticate with + * Google API client libraries and with + * <a href="/sdk/gcloud/reference/auth/activate-service-account">gcloud + * auth activate-service-account</a>. + */ + privateKeyData?: string; + /** + * The output format for the private key. + * Only provided in `CreateServiceAccountKey` responses, not + * in `GetServiceAccountKey` or `ListServiceAccountKey` responses. + * + * Google never exposes system-managed private keys, and never retains + * user-managed private keys. + */ + privateKeyType?: string; + /** The public key data. Only provided in `GetServiceAccountKey` responses. */ + publicKeyData?: string; + /** The key can be used after this timestamp. */ + validAfterTime?: string; + /** The key can be used before this timestamp. */ + validBeforeTime?: string; + } + interface SetIamPolicyRequest { + /** + * REQUIRED: The complete policy to be applied to the `resource`. The size of + * the policy is limited to a few 10s of KB. An empty policy is a + * valid policy but certain Cloud Platform services (such as Projects) + * might reject them. + */ + policy?: Policy; + } + interface SignBlobRequest { + /** The bytes to sign. */ + bytesToSign?: string; + } + interface SignBlobResponse { + /** The id of the key used to sign the blob. */ + keyId?: string; + /** The signed blob. */ + signature?: string; + } + interface SignJwtRequest { + /** The JWT payload to sign, a JSON JWT Claim set. */ + payload?: string; + } + interface SignJwtResponse { + /** The id of the key used to sign the JWT. */ + keyId?: string; + /** The signed JWT. */ + signedJwt?: string; + } + interface TestIamPermissionsRequest { + /** + * The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more + * information see + * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + */ + permissions?: string[]; + } + interface TestIamPermissionsResponse { + /** + * A subset of `TestPermissionsRequest.permissions` that the caller is + * allowed. + */ + permissions?: string[]; + } + interface UndeleteRoleRequest { + /** Used to perform a consistent read-modify-write. */ + etag?: string; + } + interface RolesResource { + /** Creates a new Role. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The resource name of the parent resource in one of the following formats: + * `organizations/{ORGANIZATION_ID}` + * `projects/{PROJECT_ID}` + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Role>; + /** + * Soft deletes a role. The role is suspended and cannot be used to create new + * IAM Policy Bindings. + * The Role will not be included in `ListRoles()` unless `show_deleted` is set + * in the `ListRolesRequest`. The Role contains the deleted boolean set. + * Existing Bindings remains, but are inactive. The Role can be undeleted + * within 7 days. After 7 days the Role is deleted and all Bindings associated + * with the role are removed. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Used to perform a consistent read-modify-write. */ + etag?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the role in one of the following formats: + * `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}` + * `projects/{PROJECT_ID}/roles/{ROLE_NAME}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Role>; + /** Gets a Role definition. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the role in one of the following formats: + * `roles/{ROLE_NAME}` + * `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}` + * `projects/{PROJECT_ID}/roles/{ROLE_NAME}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Role>; + /** Lists the Roles defined on a resource. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Optional limit on the number of roles to include in the response. */ + pageSize?: number; + /** Optional pagination token returned in an earlier ListRolesResponse. */ + pageToken?: string; + /** + * The resource name of the parent resource in one of the following formats: + * `` (empty string) -- this refers to curated roles. + * `organizations/{ORGANIZATION_ID}` + * `projects/{PROJECT_ID}` + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Include Roles that have been deleted. */ + showDeleted?: boolean; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Optional view for the returned Role objects. */ + view?: string; + }): Request<ListRolesResponse>; + /** Updates a Role definition. */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the role in one of the following formats: + * `roles/{ROLE_NAME}` + * `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}` + * `projects/{PROJECT_ID}/roles/{ROLE_NAME}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** A mask describing which fields in the Role have changed. */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Role>; + /** Undelete a Role, bringing it back in its previous state. */ + undelete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the role in one of the following formats: + * `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}` + * `projects/{PROJECT_ID}/roles/{ROLE_NAME}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Role>; + } + interface OrganizationsResource { + roles: RolesResource; + } + interface PermissionsResource { + /** + * Lists the permissions testable on a resource. + * A permission is testable if it can be tested for an identity on a resource. + */ + queryTestablePermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<QueryTestablePermissionsResponse>; + } + interface RolesResource { + /** Creates a new Role. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The resource name of the parent resource in one of the following formats: + * `organizations/{ORGANIZATION_ID}` + * `projects/{PROJECT_ID}` + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Role>; + /** + * Soft deletes a role. The role is suspended and cannot be used to create new + * IAM Policy Bindings. + * The Role will not be included in `ListRoles()` unless `show_deleted` is set + * in the `ListRolesRequest`. The Role contains the deleted boolean set. + * Existing Bindings remains, but are inactive. The Role can be undeleted + * within 7 days. After 7 days the Role is deleted and all Bindings associated + * with the role are removed. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Used to perform a consistent read-modify-write. */ + etag?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the role in one of the following formats: + * `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}` + * `projects/{PROJECT_ID}/roles/{ROLE_NAME}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Role>; + /** Gets a Role definition. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the role in one of the following formats: + * `roles/{ROLE_NAME}` + * `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}` + * `projects/{PROJECT_ID}/roles/{ROLE_NAME}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Role>; + /** Lists the Roles defined on a resource. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Optional limit on the number of roles to include in the response. */ + pageSize?: number; + /** Optional pagination token returned in an earlier ListRolesResponse. */ + pageToken?: string; + /** + * The resource name of the parent resource in one of the following formats: + * `` (empty string) -- this refers to curated roles. + * `organizations/{ORGANIZATION_ID}` + * `projects/{PROJECT_ID}` + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Include Roles that have been deleted. */ + showDeleted?: boolean; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Optional view for the returned Role objects. */ + view?: string; + }): Request<ListRolesResponse>; + /** Updates a Role definition. */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the role in one of the following formats: + * `roles/{ROLE_NAME}` + * `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}` + * `projects/{PROJECT_ID}/roles/{ROLE_NAME}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** A mask describing which fields in the Role have changed. */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Role>; + /** Undelete a Role, bringing it back in its previous state. */ + undelete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the role in one of the following formats: + * `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}` + * `projects/{PROJECT_ID}/roles/{ROLE_NAME}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Role>; + } + interface KeysResource { + /** + * Creates a ServiceAccountKey + * and returns it. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the service account in the following format: + * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. + * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from + * the account. The `ACCOUNT` value can be the `email` address or the + * `unique_id` of the service account. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ServiceAccountKey>; + /** Deletes a ServiceAccountKey. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the service account key in the following format: + * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. + * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from + * the account. The `ACCOUNT` value can be the `email` address or the + * `unique_id` of the service account. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets the ServiceAccountKey + * by key id. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the service account key in the following format: + * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. + * + * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from + * the account. The `ACCOUNT` value can be the `email` address or the + * `unique_id` of the service account. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The output format of the public key requested. + * X509_PEM is the default output format. + */ + publicKeyType?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ServiceAccountKey>; + /** Lists ServiceAccountKeys. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Filters the types of keys the user wants to include in the list + * response. Duplicate key types are not allowed. If no key type + * is provided, all keys are returned. + */ + keyTypes?: string; + /** + * The resource name of the service account in the following format: + * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. + * + * Using `-` as a wildcard for the `PROJECT_ID`, will infer the project from + * the account. The `ACCOUNT` value can be the `email` address or the + * `unique_id` of the service account. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListServiceAccountKeysResponse>; + } + interface ServiceAccountsResource { + /** + * Creates a ServiceAccount + * and returns it. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of the project associated with the service + * accounts, such as `projects/my-project-123`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ServiceAccount>; + /** Deletes a ServiceAccount. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the service account in the following format: + * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. + * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from + * the account. The `ACCOUNT` value can be the `email` address or the + * `unique_id` of the service account. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets a ServiceAccount. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the service account in the following format: + * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. + * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from + * the account. The `ACCOUNT` value can be the `email` address or the + * `unique_id` of the service account. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ServiceAccount>; + /** + * Returns the IAM access control policy for a + * ServiceAccount. + */ + getIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** Lists ServiceAccounts for a project. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of the project associated with the service + * accounts, such as `projects/my-project-123`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional limit on the number of service accounts to include in the + * response. Further accounts can subsequently be obtained by including the + * ListServiceAccountsResponse.next_page_token + * in a subsequent request. + */ + pageSize?: number; + /** + * Optional pagination token returned in an earlier + * ListServiceAccountsResponse.next_page_token. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListServiceAccountsResponse>; + /** + * Sets the IAM access control policy for a + * ServiceAccount. + */ + setIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being specified. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** Signs a blob using a service account's system-managed private key. */ + signBlob(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the service account in the following format: + * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. + * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from + * the account. The `ACCOUNT` value can be the `email` address or the + * `unique_id` of the service account. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SignBlobResponse>; + /** + * Signs a JWT using a service account's system-managed private key. + * + * If no expiry time (`exp`) is provided in the `SignJwtRequest`, IAM sets an + * an expiry time of one hour by default. If you request an expiry time of + * more than one hour, the request will fail. + */ + signJwt(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the service account in the following format: + * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. + * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from + * the account. The `ACCOUNT` value can be the `email` address or the + * `unique_id` of the service account. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SignJwtResponse>; + /** + * Tests the specified permissions against the IAM access control policy + * for a ServiceAccount. + */ + testIamPermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy detail is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TestIamPermissionsResponse>; + /** + * Updates a ServiceAccount. + * + * Currently, only the following fields are updatable: + * `display_name` . + * The `etag` is mandatory. + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the service account in the following format: + * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. + * + * Requests using `-` as a wildcard for the `PROJECT_ID` will infer the + * project from the `account` and the `ACCOUNT` value can be the `email` + * address or the `unique_id` of the service account. + * + * In responses the resource name will always be in the format + * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ServiceAccount>; + keys: KeysResource; + } + interface ProjectsResource { + roles: RolesResource; + serviceAccounts: ServiceAccountsResource; + } + interface RolesResource { + /** Gets a Role definition. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the role in one of the following formats: + * `roles/{ROLE_NAME}` + * `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}` + * `projects/{PROJECT_ID}/roles/{ROLE_NAME}` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Role>; + /** Lists the Roles defined on a resource. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Optional limit on the number of roles to include in the response. */ + pageSize?: number; + /** Optional pagination token returned in an earlier ListRolesResponse. */ + pageToken?: string; + /** + * The resource name of the parent resource in one of the following formats: + * `` (empty string) -- this refers to curated roles. + * `organizations/{ORGANIZATION_ID}` + * `projects/{PROJECT_ID}` + */ + parent?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Include Roles that have been deleted. */ + showDeleted?: boolean; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Optional view for the returned Role objects. */ + view?: string; + }): Request<ListRolesResponse>; + /** + * Queries roles that can be granted on a particular resource. + * A role is grantable if it can be used as the role in a binding for a policy + * for that resource. + */ + queryGrantableRoles(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<QueryGrantableRolesResponse>; + } + } +} diff --git a/types/gapi.client.iam/readme.md b/types/gapi.client.iam/readme.md new file mode 100644 index 0000000000..b099b00a26 --- /dev/null +++ b/types/gapi.client.iam/readme.md @@ -0,0 +1,77 @@ +# TypeScript typings for Google Identity and Access Management (IAM) API v1 +Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. +For detailed description please check [documentation](https://cloud.google.com/iam/). + +## Installing + +Install typings for Google Identity and Access Management (IAM) API: +``` +npm install @types/gapi.client.iam@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('iam', 'v1', () => { + // now we can use gapi.client.iam + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Identity and Access Management (IAM) API resources: + +```typescript + +/* +Lists the permissions testable on a resource. +A permission is testable if it can be tested for an identity on a resource. +*/ +await gapi.client.permissions.queryTestablePermissions({ }); + +/* +Gets a Role definition. +*/ +await gapi.client.roles.get({ name: "name", }); + +/* +Lists the Roles defined on a resource. +*/ +await gapi.client.roles.list({ }); + +/* +Queries roles that can be granted on a particular resource. +A role is grantable if it can be used as the role in a binding for a policy +for that resource. +*/ +await gapi.client.roles.queryGrantableRoles({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.iam/tsconfig.json b/types/gapi.client.iam/tsconfig.json new file mode 100644 index 0000000000..4cfc571a22 --- /dev/null +++ b/types/gapi.client.iam/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.iam-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.iam/tslint.json b/types/gapi.client.iam/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.iam/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.identitytoolkit/gapi.client.identitytoolkit-tests.ts b/types/gapi.client.identitytoolkit/gapi.client.identitytoolkit-tests.ts new file mode 100644 index 0000000000..e7705865ed --- /dev/null +++ b/types/gapi.client.identitytoolkit/gapi.client.identitytoolkit-tests.ts @@ -0,0 +1,96 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('identitytoolkit', 'v3', () => { + /** now we can use gapi.client.identitytoolkit */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View and administer all your Firebase data and settings */ + 'https://www.googleapis.com/auth/firebase', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Creates the URI used by the IdP to authenticate the user. */ + await gapi.client.relyingparty.createAuthUri({ + }); + /** Delete user account. */ + await gapi.client.relyingparty.deleteAccount({ + }); + /** Batch download user accounts. */ + await gapi.client.relyingparty.downloadAccount({ + }); + /** Reset password for a user. */ + await gapi.client.relyingparty.emailLinkSignin({ + }); + /** Returns the account info. */ + await gapi.client.relyingparty.getAccountInfo({ + }); + /** Get a code for user action confirmation. */ + await gapi.client.relyingparty.getOobConfirmationCode({ + }); + /** Get project configuration. */ + await gapi.client.relyingparty.getProjectConfig({ + delegatedProjectNumber: "delegatedProjectNumber", + projectNumber: "projectNumber", + }); + /** Get token signing public key. */ + await gapi.client.relyingparty.getPublicKeys({ + }); + /** Get recaptcha secure param. */ + await gapi.client.relyingparty.getRecaptchaParam({ + }); + /** Reset password for a user. */ + await gapi.client.relyingparty.resetPassword({ + }); + /** Send SMS verification code. */ + await gapi.client.relyingparty.sendVerificationCode({ + }); + /** Set account info for a user. */ + await gapi.client.relyingparty.setAccountInfo({ + }); + /** Set project configuration. */ + await gapi.client.relyingparty.setProjectConfig({ + }); + /** Sign out user. */ + await gapi.client.relyingparty.signOutUser({ + }); + /** Signup new user. */ + await gapi.client.relyingparty.signupNewUser({ + }); + /** Batch upload existing user accounts. */ + await gapi.client.relyingparty.uploadAccount({ + }); + /** Verifies the assertion returned by the IdP. */ + await gapi.client.relyingparty.verifyAssertion({ + }); + /** Verifies the developer asserted ID token. */ + await gapi.client.relyingparty.verifyCustomToken({ + }); + /** Verifies the user entered password. */ + await gapi.client.relyingparty.verifyPassword({ + }); + /** Verifies ownership of a phone number and creates/updates the user account accordingly. */ + await gapi.client.relyingparty.verifyPhoneNumber({ + }); + } +}); diff --git a/types/gapi.client.identitytoolkit/index.d.ts b/types/gapi.client.identitytoolkit/index.d.ts new file mode 100644 index 0000000000..7b5a219f2b --- /dev/null +++ b/types/gapi.client.identitytoolkit/index.d.ts @@ -0,0 +1,1163 @@ +// Type definitions for Google Google Identity Toolkit API v3 3.0 +// Project: https://developers.google.com/identity-toolkit/v3/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/identitytoolkit/v3/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Identity Toolkit API v3 */ + function load(name: "identitytoolkit", version: "v3"): PromiseLike<void>; + function load(name: "identitytoolkit", version: "v3", callback: () => any): void; + + const relyingparty: identitytoolkit.RelyingpartyResource; + + namespace identitytoolkit { + interface CreateAuthUriResponse { + /** all providers the user has once used to do federated login */ + allProviders?: string[]; + /** The URI used by the IDP to authenticate the user. */ + authUri?: string; + /** True if captcha is required. */ + captchaRequired?: boolean; + /** True if the authUri is for user's existing provider. */ + forExistingProvider?: boolean; + /** The fixed string identitytoolkit#CreateAuthUriResponse". */ + kind?: string; + /** The provider ID of the auth URI. */ + providerId?: string; + /** Whether the user is registered if the identifier is an email. */ + registered?: boolean; + /** Session ID which should be passed in the following verifyAssertion request. */ + sessionId?: string; + /** All sign-in methods this user has used. */ + signinMethods?: string[]; + } + interface DeleteAccountResponse { + /** The fixed string "identitytoolkit#DeleteAccountResponse". */ + kind?: string; + } + interface DownloadAccountResponse { + /** The fixed string "identitytoolkit#DownloadAccountResponse". */ + kind?: string; + /** The next page token. To be used in a subsequent request to return the next page of results. */ + nextPageToken?: string; + /** The user accounts data. */ + users?: UserInfo[]; + } + interface EmailLinkSigninResponse { + /** The user's email. */ + email?: string; + /** Expiration time of STS id token in seconds. */ + expiresIn?: string; + /** The STS id token to login the newly signed in user. */ + idToken?: string; + /** Whether the user is new. */ + isNewUser?: boolean; + /** The fixed string "identitytoolkit#EmailLinkSigninResponse". */ + kind?: string; + /** The RP local ID of the user. */ + localId?: string; + /** The refresh token for the signed in user. */ + refreshToken?: string; + } + interface EmailTemplate { + /** Email body. */ + body?: string; + /** Email body format. */ + format?: string; + /** From address of the email. */ + from?: string; + /** From display name. */ + fromDisplayName?: string; + /** Reply-to address. */ + replyTo?: string; + /** Subject of the email. */ + subject?: string; + } + interface GetAccountInfoResponse { + /** The fixed string "identitytoolkit#GetAccountInfoResponse". */ + kind?: string; + /** The info of the users. */ + users?: UserInfo[]; + } + interface GetOobConfirmationCodeResponse { + /** The email address that the email is sent to. */ + email?: string; + /** The fixed string "identitytoolkit#GetOobConfirmationCodeResponse". */ + kind?: string; + /** The code to be send to the user. */ + oobCode?: string; + } + interface GetRecaptchaParamResponse { + /** The fixed string "identitytoolkit#GetRecaptchaParamResponse". */ + kind?: string; + /** Site key registered at recaptcha. */ + recaptchaSiteKey?: string; + /** The stoken field for the recaptcha widget, used to request captcha challenge. */ + recaptchaStoken?: string; + } + interface IdentitytoolkitRelyingpartyCreateAuthUriRequest { + /** The app ID of the mobile app, base64(CERT_SHA1):PACKAGE_NAME for Android, BUNDLE_ID for iOS. */ + appId?: string; + /** Explicitly specify the auth flow type. Currently only support "CODE_FLOW" type. The field is only used for Google provider. */ + authFlowType?: string; + /** The relying party OAuth client ID. */ + clientId?: string; + /** The opaque value used by the client to maintain context info between the authentication request and the IDP callback. */ + context?: string; + /** The URI to which the IDP redirects the user after the federated login flow. */ + continueUri?: string; + /** + * The query parameter that client can customize by themselves in auth url. The following parameters are reserved for server so that they cannot be + * customized by clients: client_id, response_type, scope, redirect_uri, state, oauth_token. + */ + customParameter?: Record<string, string>; + /** The hosted domain to restrict sign-in to accounts at that domain for Google Apps hosted accounts. */ + hostedDomain?: string; + /** The email or federated ID of the user. */ + identifier?: string; + /** The developer's consumer key for OpenId OAuth Extension */ + oauthConsumerKey?: string; + /** Additional oauth scopes, beyond the basid user profile, that the user would be prompted to grant */ + oauthScope?: string; + /** Optional realm for OpenID protocol. The sub string "scheme://domain:port" of the param "continueUri" is used if this is not set. */ + openidRealm?: string; + /** The native app package for OTA installation. */ + otaApp?: string; + /** + * The IdP ID. For white listed IdPs it's a short domain name e.g. google.com, aol.com, live.net and yahoo.com. For other OpenID IdPs it's the OP + * identifier. + */ + providerId?: string; + /** The session_id passed by client. */ + sessionId?: string; + } + interface IdentitytoolkitRelyingpartyDeleteAccountRequest { + /** GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration. */ + delegatedProjectNumber?: string; + /** The GITKit token or STS id token of the authenticated user. */ + idToken?: string; + /** The local ID of the user. */ + localId?: string; + } + interface IdentitytoolkitRelyingpartyDownloadAccountRequest { + /** GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration. */ + delegatedProjectNumber?: string; + /** The max number of results to return in the response. */ + maxResults?: number; + /** The token for the next page. This should be taken from the previous response. */ + nextPageToken?: string; + /** Specify which project (field value is actually project id) to operate. Only used when provided credential. */ + targetProjectId?: string; + } + interface IdentitytoolkitRelyingpartyEmailLinkSigninRequest { + /** The email address of the user. */ + email?: string; + /** Token for linking flow. */ + idToken?: string; + /** The confirmation code. */ + oobCode?: string; + } + interface IdentitytoolkitRelyingpartyGetAccountInfoRequest { + /** GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration. */ + delegatedProjectNumber?: string; + /** The list of emails of the users to inquiry. */ + email?: string[]; + /** The GITKit token of the authenticated user. */ + idToken?: string; + /** The list of local ID's of the users to inquiry. */ + localId?: string[]; + /** Privileged caller can query users by specified phone number. */ + phoneNumber?: string[]; + } + interface IdentitytoolkitRelyingpartyGetProjectConfigResponse { + /** Whether to allow password user sign in or sign up. */ + allowPasswordUser?: boolean; + /** Browser API key, needed when making http request to Apiary. */ + apiKey?: string; + /** Authorized domains. */ + authorizedDomains?: string[]; + /** Change email template. */ + changeEmailTemplate?: EmailTemplate; + dynamicLinksDomain?: string; + /** Whether anonymous user is enabled. */ + enableAnonymousUser?: boolean; + /** OAuth2 provider configuration. */ + idpConfig?: IdpConfig[]; + /** Legacy reset password email template. */ + legacyResetPasswordTemplate?: EmailTemplate; + /** Project ID of the relying party. */ + projectId?: string; + /** Reset password email template. */ + resetPasswordTemplate?: EmailTemplate; + /** Whether to use email sending provided by Firebear. */ + useEmailSending?: boolean; + /** Verify email template. */ + verifyEmailTemplate?: EmailTemplate; + } + interface IdentitytoolkitRelyingpartyGetPublicKeysResponse { + [key: string]: string; + } + interface IdentitytoolkitRelyingpartyResetPasswordRequest { + /** The email address of the user. */ + email?: string; + /** The new password inputted by the user. */ + newPassword?: string; + /** The old password inputted by the user. */ + oldPassword?: string; + /** The confirmation code. */ + oobCode?: string; + } + interface IdentitytoolkitRelyingpartySendVerificationCodeRequest { + /** Receipt of successful app token validation with APNS. */ + iosReceipt?: string; + /** Secret delivered to iOS app via APNS. */ + iosSecret?: string; + /** The phone number to send the verification code to in E.164 format. */ + phoneNumber?: string; + /** Recaptcha solution. */ + recaptchaToken?: string; + } + interface IdentitytoolkitRelyingpartySendVerificationCodeResponse { + /** Encrypted session information */ + sessionInfo?: string; + } + interface IdentitytoolkitRelyingpartySetAccountInfoRequest { + /** The captcha challenge. */ + captchaChallenge?: string; + /** Response to the captcha. */ + captchaResponse?: string; + /** The timestamp when the account is created. */ + createdAt?: string; + /** The custom attributes to be set in the user's id token. */ + customAttributes?: string; + /** GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration. */ + delegatedProjectNumber?: string; + /** The attributes users request to delete. */ + deleteAttribute?: string[]; + /** The IDPs the user request to delete. */ + deleteProvider?: string[]; + /** Whether to disable the user. */ + disableUser?: boolean; + /** The name of the user. */ + displayName?: string; + /** The email of the user. */ + email?: string; + /** Mark the email as verified or not. */ + emailVerified?: boolean; + /** The GITKit token of the authenticated user. */ + idToken?: string; + /** Instance id token of the app. */ + instanceId?: string; + /** Last login timestamp. */ + lastLoginAt?: string; + /** The local ID of the user. */ + localId?: string; + /** The out-of-band code of the change email request. */ + oobCode?: string; + /** The new password of the user. */ + password?: string; + /** Privileged caller can update user with specified phone number. */ + phoneNumber?: string; + /** The photo url of the user. */ + photoUrl?: string; + /** The associated IDPs of the user. */ + provider?: string[]; + /** Whether return sts id token and refresh token instead of gitkit token. */ + returnSecureToken?: boolean; + /** Mark the user to upgrade to federated login. */ + upgradeToFederatedLogin?: boolean; + /** Timestamp in seconds for valid login token. */ + validSince?: string; + } + interface IdentitytoolkitRelyingpartySetProjectConfigRequest { + /** Whether to allow password user sign in or sign up. */ + allowPasswordUser?: boolean; + /** Browser API key, needed when making http request to Apiary. */ + apiKey?: string; + /** Authorized domains for widget redirect. */ + authorizedDomains?: string[]; + /** Change email template. */ + changeEmailTemplate?: EmailTemplate; + /** GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration. */ + delegatedProjectNumber?: string; + /** Whether to enable anonymous user. */ + enableAnonymousUser?: boolean; + /** Oauth2 provider configuration. */ + idpConfig?: IdpConfig[]; + /** Legacy reset password email template. */ + legacyResetPasswordTemplate?: EmailTemplate; + /** Reset password email template. */ + resetPasswordTemplate?: EmailTemplate; + /** Whether to use email sending provided by Firebear. */ + useEmailSending?: boolean; + /** Verify email template. */ + verifyEmailTemplate?: EmailTemplate; + } + interface IdentitytoolkitRelyingpartySetProjectConfigResponse { + /** Project ID of the relying party. */ + projectId?: string; + } + interface IdentitytoolkitRelyingpartySignOutUserRequest { + /** Instance id token of the app. */ + instanceId?: string; + /** The local ID of the user. */ + localId?: string; + } + interface IdentitytoolkitRelyingpartySignOutUserResponse { + /** The local ID of the user. */ + localId?: string; + } + interface IdentitytoolkitRelyingpartySignupNewUserRequest { + /** The captcha challenge. */ + captchaChallenge?: string; + /** Response to the captcha. */ + captchaResponse?: string; + /** Whether to disable the user. Only can be used by service account. */ + disabled?: boolean; + /** The name of the user. */ + displayName?: string; + /** The email of the user. */ + email?: string; + /** Mark the email as verified or not. Only can be used by service account. */ + emailVerified?: boolean; + /** The GITKit token of the authenticated user. */ + idToken?: string; + /** Instance id token of the app. */ + instanceId?: string; + /** Privileged caller can create user with specified user id. */ + localId?: string; + /** The new password of the user. */ + password?: string; + /** Privileged caller can create user with specified phone number. */ + phoneNumber?: string; + /** The photo url of the user. */ + photoUrl?: string; + } + interface IdentitytoolkitRelyingpartyUploadAccountRequest { + /** Whether allow overwrite existing account when user local_id exists. */ + allowOverwrite?: boolean; + blockSize?: number; + /** The following 4 fields are for standard scrypt algorithm. */ + cpuMemCost?: number; + /** GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration. */ + delegatedProjectNumber?: string; + dkLen?: number; + /** The password hash algorithm. */ + hashAlgorithm?: string; + /** Memory cost for hash calculation. Used by scrypt similar algorithms. */ + memoryCost?: number; + parallelization?: number; + /** Rounds for hash calculation. Used by scrypt and similar algorithms. */ + rounds?: number; + /** The salt separator. */ + saltSeparator?: string; + /** If true, backend will do sanity check(including duplicate email and federated id) when uploading account. */ + sanityCheck?: boolean; + /** The key for to hash the password. */ + signerKey?: string; + /** Specify which project (field value is actually project id) to operate. Only used when provided credential. */ + targetProjectId?: string; + /** The account info to be stored. */ + users?: UserInfo[]; + } + interface IdentitytoolkitRelyingpartyVerifyAssertionRequest { + /** + * When it's true, automatically creates a new account if the user doesn't exist. When it's false, allows existing user to sign in normally and throws + * exception if the user doesn't exist. + */ + autoCreate?: boolean; + /** GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration. */ + delegatedProjectNumber?: string; + /** The GITKit token of the authenticated user. */ + idToken?: string; + /** Instance id token of the app. */ + instanceId?: string; + /** The GITKit token for the non-trusted IDP pending to be confirmed by the user. */ + pendingIdToken?: string; + /** The post body if the request is a HTTP POST. */ + postBody?: string; + /** The URI to which the IDP redirects the user back. It may contain federated login result params added by the IDP. */ + requestUri?: string; + /** Whether return 200 and IDP credential rather than throw exception when federated id is already linked. */ + returnIdpCredential?: boolean; + /** Whether to return refresh tokens. */ + returnRefreshToken?: boolean; + /** Whether return sts id token and refresh token instead of gitkit token. */ + returnSecureToken?: boolean; + /** Session ID, which should match the one in previous createAuthUri request. */ + sessionId?: string; + } + interface IdentitytoolkitRelyingpartyVerifyCustomTokenRequest { + /** GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration. */ + delegatedProjectNumber?: string; + /** Instance id token of the app. */ + instanceId?: string; + /** Whether return sts id token and refresh token instead of gitkit token. */ + returnSecureToken?: boolean; + /** The custom token to verify */ + token?: string; + } + interface IdentitytoolkitRelyingpartyVerifyPasswordRequest { + /** The captcha challenge. */ + captchaChallenge?: string; + /** Response to the captcha. */ + captchaResponse?: string; + /** GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration. */ + delegatedProjectNumber?: string; + /** The email of the user. */ + email?: string; + /** The GITKit token of the authenticated user. */ + idToken?: string; + /** Instance id token of the app. */ + instanceId?: string; + /** The password inputed by the user. */ + password?: string; + /** The GITKit token for the non-trusted IDP, which is to be confirmed by the user. */ + pendingIdToken?: string; + /** Whether return sts id token and refresh token instead of gitkit token. */ + returnSecureToken?: boolean; + } + interface IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest { + code?: string; + idToken?: string; + operation?: string; + phoneNumber?: string; + /** The session info previously returned by IdentityToolkit-SendVerificationCode. */ + sessionInfo?: string; + temporaryProof?: string; + verificationProof?: string; + } + interface IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse { + expiresIn?: string; + idToken?: string; + isNewUser?: boolean; + localId?: string; + phoneNumber?: string; + refreshToken?: string; + temporaryProof?: string; + temporaryProofExpiresIn?: string; + verificationProof?: string; + verificationProofExpiresIn?: string; + } + interface IdpConfig { + /** OAuth2 client ID. */ + clientId?: string; + /** Whether this IDP is enabled. */ + enabled?: boolean; + /** Percent of users who will be prompted/redirected federated login for this IDP. */ + experimentPercent?: number; + /** OAuth2 provider. */ + provider?: string; + /** OAuth2 client secret. */ + secret?: string; + /** Whitelisted client IDs for audience check. */ + whitelistedAudiences?: string[]; + } + interface Relyingparty { + /** whether or not to install the android app on the device where the link is opened */ + androidInstallApp?: boolean; + /** minimum version of the app. if the version on the device is lower than this version then the user is taken to the play store to upgrade the app */ + androidMinimumVersion?: string; + /** android package name of the android app to handle the action code */ + androidPackageName?: string; + /** whether or not the app can handle the oob code without first going to web */ + canHandleCodeInApp?: boolean; + /** The recaptcha response from the user. */ + captchaResp?: string; + /** The recaptcha challenge presented to the user. */ + challenge?: string; + /** The url to continue to the Gitkit app */ + continueUrl?: string; + /** The email of the user. */ + email?: string; + /** iOS app store id to download the app if it's not already installed */ + iOSAppStoreId?: string; + /** the iOS bundle id of iOS app to handle the action code */ + iOSBundleId?: string; + /** The user's Gitkit login token for email change. */ + idToken?: string; + /** The fixed string "identitytoolkit#relyingparty". */ + kind?: string; + /** The new email if the code is for email change. */ + newEmail?: string; + /** The request type. */ + requestType?: string; + /** The IP address of the user. */ + userIp?: string; + } + interface ResetPasswordResponse { + /** The user's email. If the out-of-band code is for email recovery, the user's original email. */ + email?: string; + /** The fixed string "identitytoolkit#ResetPasswordResponse". */ + kind?: string; + /** If the out-of-band code is for email recovery, the user's new email. */ + newEmail?: string; + /** The request type. */ + requestType?: string; + } + interface SetAccountInfoResponse { + /** The name of the user. */ + displayName?: string; + /** The email of the user. */ + email?: string; + /** If email has been verified. */ + emailVerified?: boolean; + /** If idToken is STS id token, then this field will be expiration time of STS id token in seconds. */ + expiresIn?: string; + /** The Gitkit id token to login the newly sign up user. */ + idToken?: string; + /** The fixed string "identitytoolkit#SetAccountInfoResponse". */ + kind?: string; + /** The local ID of the user. */ + localId?: string; + /** The new email the user attempts to change to. */ + newEmail?: string; + /** The user's hashed password. */ + passwordHash?: string; + /** The photo url of the user. */ + photoUrl?: string; + /** The user's profiles at the associated IdPs. */ + providerUserInfo?: Array<{ + /** The user's display name at the IDP. */ + displayName?: string; + /** User's identifier at IDP. */ + federatedId?: string; + /** The user's photo url at the IDP. */ + photoUrl?: string; + /** + * The IdP ID. For whitelisted IdPs it's a short domain name, e.g., google.com, aol.com, live.net and yahoo.com. For other OpenID IdPs it's the OP + * identifier. + */ + providerId?: string; + }>; + /** If idToken is STS id token, then this field will be refresh token. */ + refreshToken?: string; + } + interface SignupNewUserResponse { + /** The name of the user. */ + displayName?: string; + /** The email of the user. */ + email?: string; + /** If idToken is STS id token, then this field will be expiration time of STS id token in seconds. */ + expiresIn?: string; + /** The Gitkit id token to login the newly sign up user. */ + idToken?: string; + /** The fixed string "identitytoolkit#SignupNewUserResponse". */ + kind?: string; + /** The RP local ID of the user. */ + localId?: string; + /** If idToken is STS id token, then this field will be refresh token. */ + refreshToken?: string; + } + interface UploadAccountResponse { + /** The error encountered while processing the account info. */ + error?: Array<{ + /** The index of the malformed account, starting from 0. */ + index?: number; + /** Detailed error message for the account info. */ + message?: string; + }>; + /** The fixed string "identitytoolkit#UploadAccountResponse". */ + kind?: string; + } + interface UserInfo { + /** User creation timestamp. */ + createdAt?: string; + /** The custom attributes to be set in the user's id token. */ + customAttributes?: string; + /** Whether the user is authenticated by the developer. */ + customAuth?: boolean; + /** Whether the user is disabled. */ + disabled?: boolean; + /** The name of the user. */ + displayName?: string; + /** The email of the user. */ + email?: string; + /** Whether the email has been verified. */ + emailVerified?: boolean; + /** last login timestamp. */ + lastLoginAt?: string; + /** The local ID of the user. */ + localId?: string; + /** The user's hashed password. */ + passwordHash?: string; + /** The timestamp when the password was last updated. */ + passwordUpdatedAt?: number; + /** User's phone number. */ + phoneNumber?: string; + /** The URL of the user profile photo. */ + photoUrl?: string; + /** The IDP of the user. */ + providerUserInfo?: Array<{ + /** The user's display name at the IDP. */ + displayName?: string; + /** User's email at IDP. */ + email?: string; + /** User's identifier at IDP. */ + federatedId?: string; + /** User's phone number. */ + phoneNumber?: string; + /** The user's photo url at the IDP. */ + photoUrl?: string; + /** + * The IdP ID. For white listed IdPs it's a short domain name, e.g., google.com, aol.com, live.net and yahoo.com. For other OpenID IdPs it's the OP + * identifier. + */ + providerId?: string; + /** User's raw identifier directly returned from IDP. */ + rawId?: string; + /** User's screen name at Twitter or login name at Github. */ + screenName?: string; + }>; + /** The user's plain text password. */ + rawPassword?: string; + /** The user's password salt. */ + salt?: string; + /** User's screen name at Twitter or login name at Github. */ + screenName?: string; + /** Timestamp in seconds for valid login token. */ + validSince?: string; + /** Version of the user's password. */ + version?: number; + } + interface VerifyAssertionResponse { + /** The action code. */ + action?: string; + /** URL for OTA app installation. */ + appInstallationUrl?: string; + /** The custom scheme used by mobile app. */ + appScheme?: string; + /** The opaque value used by the client to maintain context info between the authentication request and the IDP callback. */ + context?: string; + /** The birth date of the IdP account. */ + dateOfBirth?: string; + /** The display name of the user. */ + displayName?: string; + /** The email returned by the IdP. NOTE: The federated login user may not own the email. */ + email?: string; + /** It's true if the email is recycled. */ + emailRecycled?: boolean; + /** The value is true if the IDP is also the email provider. It means the user owns the email. */ + emailVerified?: boolean; + /** Client error code. */ + errorMessage?: string; + /** If idToken is STS id token, then this field will be expiration time of STS id token in seconds. */ + expiresIn?: string; + /** The unique ID identifies the IdP account. */ + federatedId?: string; + /** The first name of the user. */ + firstName?: string; + /** The full name of the user. */ + fullName?: string; + /** The ID token. */ + idToken?: string; + /** + * It's the identifier param in the createAuthUri request if the identifier is an email. It can be used to check whether the user input email is different + * from the asserted email. + */ + inputEmail?: string; + /** True if it's a new user sign-in, false if it's a returning user. */ + isNewUser?: boolean; + /** The fixed string "identitytoolkit#VerifyAssertionResponse". */ + kind?: string; + /** The language preference of the user. */ + language?: string; + /** The last name of the user. */ + lastName?: string; + /** The RP local ID if it's already been mapped to the IdP account identified by the federated ID. */ + localId?: string; + /** Whether the assertion is from a non-trusted IDP and need account linking confirmation. */ + needConfirmation?: boolean; + /** Whether need client to supply email to complete the federated login flow. */ + needEmail?: boolean; + /** The nick name of the user. */ + nickName?: string; + /** The OAuth2 access token. */ + oauthAccessToken?: string; + /** The OAuth2 authorization code. */ + oauthAuthorizationCode?: string; + /** The lifetime in seconds of the OAuth2 access token. */ + oauthExpireIn?: number; + /** The OIDC id token. */ + oauthIdToken?: string; + /** The user approved request token for the OpenID OAuth extension. */ + oauthRequestToken?: string; + /** The scope for the OpenID OAuth extension. */ + oauthScope?: string; + /** The OAuth1 access token secret. */ + oauthTokenSecret?: string; + /** The original email stored in the mapping storage. It's returned when the federated ID is associated to a different email. */ + originalEmail?: string; + /** The URI of the public accessible profiel picture. */ + photoUrl?: string; + /** + * The IdP ID. For white listed IdPs it's a short domain name e.g. google.com, aol.com, live.net and yahoo.com. If the "providerId" param is set to OpenID + * OP identifer other than the whilte listed IdPs the OP identifier is returned. If the "identifier" param is federated ID in the createAuthUri request. + * The domain part of the federated ID is returned. + */ + providerId?: string; + /** Raw IDP-returned user info. */ + rawUserInfo?: string; + /** If idToken is STS id token, then this field will be refresh token. */ + refreshToken?: string; + /** The screen_name of a Twitter user or the login name at Github. */ + screenName?: string; + /** The timezone of the user. */ + timeZone?: string; + /** When action is 'map', contains the idps which can be used for confirmation. */ + verifiedProvider?: string[]; + } + interface VerifyCustomTokenResponse { + /** If idToken is STS id token, then this field will be expiration time of STS id token in seconds. */ + expiresIn?: string; + /** The GITKit token for authenticated user. */ + idToken?: string; + /** True if it's a new user sign-in, false if it's a returning user. */ + isNewUser?: boolean; + /** The fixed string "identitytoolkit#VerifyCustomTokenResponse". */ + kind?: string; + /** If idToken is STS id token, then this field will be refresh token. */ + refreshToken?: string; + } + interface VerifyPasswordResponse { + /** The name of the user. */ + displayName?: string; + /** The email returned by the IdP. NOTE: The federated login user may not own the email. */ + email?: string; + /** If idToken is STS id token, then this field will be expiration time of STS id token in seconds. */ + expiresIn?: string; + /** The GITKit token for authenticated user. */ + idToken?: string; + /** The fixed string "identitytoolkit#VerifyPasswordResponse". */ + kind?: string; + /** The RP local ID if it's already been mapped to the IdP account identified by the federated ID. */ + localId?: string; + /** The OAuth2 access token. */ + oauthAccessToken?: string; + /** The OAuth2 authorization code. */ + oauthAuthorizationCode?: string; + /** The lifetime in seconds of the OAuth2 access token. */ + oauthExpireIn?: number; + /** The URI of the user's photo at IdP */ + photoUrl?: string; + /** If idToken is STS id token, then this field will be refresh token. */ + refreshToken?: string; + /** Whether the email is registered. */ + registered?: boolean; + } + interface RelyingpartyResource { + /** Creates the URI used by the IdP to authenticate the user. */ + createAuthUri(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreateAuthUriResponse>; + /** Delete user account. */ + deleteAccount(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DeleteAccountResponse>; + /** Batch download user accounts. */ + downloadAccount(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DownloadAccountResponse>; + /** Reset password for a user. */ + emailLinkSignin(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<EmailLinkSigninResponse>; + /** Returns the account info. */ + getAccountInfo(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GetAccountInfoResponse>; + /** Get a code for user action confirmation. */ + getOobConfirmationCode(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GetOobConfirmationCodeResponse>; + /** Get project configuration. */ + getProjectConfig(request: { + /** Data format for the response. */ + alt?: string; + /** Delegated GCP project number of the request. */ + delegatedProjectNumber?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** GCP project number of the request. */ + projectNumber?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<IdentitytoolkitRelyingpartyGetProjectConfigResponse>; + /** Get token signing public key. */ + getPublicKeys(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<{}>; + /** Get recaptcha secure param. */ + getRecaptchaParam(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GetRecaptchaParamResponse>; + /** Reset password for a user. */ + resetPassword(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ResetPasswordResponse>; + /** Send SMS verification code. */ + sendVerificationCode(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<IdentitytoolkitRelyingpartySendVerificationCodeResponse>; + /** Set account info for a user. */ + setAccountInfo(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SetAccountInfoResponse>; + /** Set project configuration. */ + setProjectConfig(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<IdentitytoolkitRelyingpartySetProjectConfigResponse>; + /** Sign out user. */ + signOutUser(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<IdentitytoolkitRelyingpartySignOutUserResponse>; + /** Signup new user. */ + signupNewUser(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SignupNewUserResponse>; + /** Batch upload existing user accounts. */ + uploadAccount(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UploadAccountResponse>; + /** Verifies the assertion returned by the IdP. */ + verifyAssertion(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<VerifyAssertionResponse>; + /** Verifies the developer asserted ID token. */ + verifyCustomToken(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<VerifyCustomTokenResponse>; + /** Verifies the user entered password. */ + verifyPassword(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<VerifyPasswordResponse>; + /** Verifies ownership of a phone number and creates/updates the user account accordingly. */ + verifyPhoneNumber(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse>; + } + } +} diff --git a/types/gapi.client.identitytoolkit/readme.md b/types/gapi.client.identitytoolkit/readme.md new file mode 100644 index 0000000000..37da84be83 --- /dev/null +++ b/types/gapi.client.identitytoolkit/readme.md @@ -0,0 +1,157 @@ +# TypeScript typings for Google Identity Toolkit API v3 +Help the third party sites to implement federated login. +For detailed description please check [documentation](https://developers.google.com/identity-toolkit/v3/). + +## Installing + +Install typings for Google Identity Toolkit API: +``` +npm install @types/gapi.client.identitytoolkit@v3 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('identitytoolkit', 'v3', () => { + // now we can use gapi.client.identitytoolkit + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View and administer all your Firebase data and settings + 'https://www.googleapis.com/auth/firebase', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Identity Toolkit API resources: + +```typescript + +/* +Creates the URI used by the IdP to authenticate the user. +*/ +await gapi.client.relyingparty.createAuthUri({ }); + +/* +Delete user account. +*/ +await gapi.client.relyingparty.deleteAccount({ }); + +/* +Batch download user accounts. +*/ +await gapi.client.relyingparty.downloadAccount({ }); + +/* +Reset password for a user. +*/ +await gapi.client.relyingparty.emailLinkSignin({ }); + +/* +Returns the account info. +*/ +await gapi.client.relyingparty.getAccountInfo({ }); + +/* +Get a code for user action confirmation. +*/ +await gapi.client.relyingparty.getOobConfirmationCode({ }); + +/* +Get project configuration. +*/ +await gapi.client.relyingparty.getProjectConfig({ }); + +/* +Get token signing public key. +*/ +await gapi.client.relyingparty.getPublicKeys({ }); + +/* +Get recaptcha secure param. +*/ +await gapi.client.relyingparty.getRecaptchaParam({ }); + +/* +Reset password for a user. +*/ +await gapi.client.relyingparty.resetPassword({ }); + +/* +Send SMS verification code. +*/ +await gapi.client.relyingparty.sendVerificationCode({ }); + +/* +Set account info for a user. +*/ +await gapi.client.relyingparty.setAccountInfo({ }); + +/* +Set project configuration. +*/ +await gapi.client.relyingparty.setProjectConfig({ }); + +/* +Sign out user. +*/ +await gapi.client.relyingparty.signOutUser({ }); + +/* +Signup new user. +*/ +await gapi.client.relyingparty.signupNewUser({ }); + +/* +Batch upload existing user accounts. +*/ +await gapi.client.relyingparty.uploadAccount({ }); + +/* +Verifies the assertion returned by the IdP. +*/ +await gapi.client.relyingparty.verifyAssertion({ }); + +/* +Verifies the developer asserted ID token. +*/ +await gapi.client.relyingparty.verifyCustomToken({ }); + +/* +Verifies the user entered password. +*/ +await gapi.client.relyingparty.verifyPassword({ }); + +/* +Verifies ownership of a phone number and creates/updates the user account accordingly. +*/ +await gapi.client.relyingparty.verifyPhoneNumber({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.identitytoolkit/tsconfig.json b/types/gapi.client.identitytoolkit/tsconfig.json new file mode 100644 index 0000000000..558805120e --- /dev/null +++ b/types/gapi.client.identitytoolkit/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.identitytoolkit-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.identitytoolkit/tslint.json b/types/gapi.client.identitytoolkit/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.identitytoolkit/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.kgsearch/gapi.client.kgsearch-tests.ts b/types/gapi.client.kgsearch/gapi.client.kgsearch-tests.ts new file mode 100644 index 0000000000..8cf2017b1b --- /dev/null +++ b/types/gapi.client.kgsearch/gapi.client.kgsearch-tests.ts @@ -0,0 +1,30 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('kgsearch', 'v1', () => { + /** now we can use gapi.client.kgsearch */ + + run(); + }); + + async function run() { + /** + * Searches Knowledge Graph for entities that match the constraints. + * A list of matched entities will be returned in response, which will be in + * JSON-LD format and compatible with http://schema.org + */ + await gapi.client.entities.search({ + ids: "ids", + indent: true, + languages: "languages", + limit: 4, + prefix: true, + query: "query", + types: "types", + }); + } +}); diff --git a/types/gapi.client.kgsearch/index.d.ts b/types/gapi.client.kgsearch/index.d.ts new file mode 100644 index 0000000000..44e6c53d67 --- /dev/null +++ b/types/gapi.client.kgsearch/index.d.ts @@ -0,0 +1,94 @@ +// Type definitions for Google Knowledge Graph Search API v1 1.0 +// Project: https://developers.google.com/knowledge-graph/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://kgsearch.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Knowledge Graph Search API v1 */ + function load(name: "kgsearch", version: "v1"): PromiseLike<void>; + function load(name: "kgsearch", version: "v1", callback: () => any): void; + + const entities: kgsearch.EntitiesResource; + + namespace kgsearch { + interface SearchResponse { + /** + * The local context applicable for the response. See more details at + * http://www.w3.org/TR/json-ld/#context-definitions. + */ + "@context"?: any; + /** The schema type of top-level JSON-LD object, e.g. ItemList. */ + "@type"?: any; + /** The item list of search results. */ + itemListElement?: any[]; + } + interface EntitiesResource { + /** + * Searches Knowledge Graph for entities that match the constraints. + * A list of matched entities will be returned in response, which will be in + * JSON-LD format and compatible with http://schema.org + */ + search(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The list of entity id to be used for search instead of query string. + * To specify multiple ids in the HTTP request, repeat the parameter in the + * URL as in ...?ids=A&ids=B + */ + ids?: string; + /** Enables indenting of json results. */ + indent?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The list of language codes (defined in ISO 693) to run the query with, + * e.g. 'en'. + */ + languages?: string; + /** Limits the number of entities to be returned. */ + limit?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Enables prefix match against names and aliases of entities */ + prefix?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The literal query string for search. */ + query?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Restricts returned entities with these types, e.g. Person + * (as defined in http://schema.org/Person). If multiple types are specified, + * returned entities will contain one or more of these types. + */ + types?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SearchResponse>; + } + } +} diff --git a/types/gapi.client.kgsearch/readme.md b/types/gapi.client.kgsearch/readme.md new file mode 100644 index 0000000000..c8238252b9 --- /dev/null +++ b/types/gapi.client.kgsearch/readme.md @@ -0,0 +1,42 @@ +# TypeScript typings for Knowledge Graph Search API v1 +Searches the Google Knowledge Graph for entities. +For detailed description please check [documentation](https://developers.google.com/knowledge-graph/). + +## Installing + +Install typings for Knowledge Graph Search API: +``` +npm install @types/gapi.client.kgsearch@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('kgsearch', 'v1', () => { + // now we can use gapi.client.kgsearch + // ... +}); +``` + + + +After that you can use Knowledge Graph Search API resources: + +```typescript + +/* +Searches Knowledge Graph for entities that match the constraints. +A list of matched entities will be returned in response, which will be in +JSON-LD format and compatible with http://schema.org +*/ +await gapi.client.entities.search({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.kgsearch/tsconfig.json b/types/gapi.client.kgsearch/tsconfig.json new file mode 100644 index 0000000000..3dc92ba79b --- /dev/null +++ b/types/gapi.client.kgsearch/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.kgsearch-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.kgsearch/tslint.json b/types/gapi.client.kgsearch/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.kgsearch/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.language/gapi.client.language-tests.ts b/types/gapi.client.language/gapi.client.language-tests.ts new file mode 100644 index 0000000000..6ca966bf79 --- /dev/null +++ b/types/gapi.client.language/gapi.client.language-tests.ts @@ -0,0 +1,63 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('language', 'v1', () => { + /** now we can use gapi.client.language */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Apply machine learning models to reveal the structure and meaning of text */ + 'https://www.googleapis.com/auth/cloud-language', + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Finds named entities (currently proper names and common nouns) in the text + * along with entity types, salience, mentions for each entity, and + * other properties. + */ + await gapi.client.documents.analyzeEntities({ + }); + /** + * Finds entities, similar to AnalyzeEntities in the text and analyzes + * sentiment associated with each entity and its mentions. + */ + await gapi.client.documents.analyzeEntitySentiment({ + }); + /** Analyzes the sentiment of the provided text. */ + await gapi.client.documents.analyzeSentiment({ + }); + /** + * Analyzes the syntax of the text and provides sentence boundaries and + * tokenization along with part of speech tags, dependency trees, and other + * properties. + */ + await gapi.client.documents.analyzeSyntax({ + }); + /** + * A convenience method that provides all the features that analyzeSentiment, + * analyzeEntities, and analyzeSyntax provide in one call. + */ + await gapi.client.documents.annotateText({ + }); + } +}); diff --git a/types/gapi.client.language/index.d.ts b/types/gapi.client.language/index.d.ts new file mode 100644 index 0000000000..72a44ecd28 --- /dev/null +++ b/types/gapi.client.language/index.d.ts @@ -0,0 +1,469 @@ +// Type definitions for Google Google Cloud Natural Language API v1 1.0 +// Project: https://cloud.google.com/natural-language/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://language.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Cloud Natural Language API v1 */ + function load(name: "language", version: "v1"): PromiseLike<void>; + function load(name: "language", version: "v1", callback: () => any): void; + + const documents: language.DocumentsResource; + + namespace language { + interface AnalyzeEntitiesRequest { + /** Input document. */ + document?: Document; + /** The encoding type used by the API to calculate offsets. */ + encodingType?: string; + } + interface AnalyzeEntitiesResponse { + /** The recognized entities in the input document. */ + entities?: Entity[]; + /** + * The language of the text, which will be the same as the language specified + * in the request or, if not specified, the automatically-detected language. + * See Document.language field for more details. + */ + language?: string; + } + interface AnalyzeEntitySentimentRequest { + /** Input document. */ + document?: Document; + /** The encoding type used by the API to calculate offsets. */ + encodingType?: string; + } + interface AnalyzeEntitySentimentResponse { + /** The recognized entities in the input document with associated sentiments. */ + entities?: Entity[]; + /** + * The language of the text, which will be the same as the language specified + * in the request or, if not specified, the automatically-detected language. + * See Document.language field for more details. + */ + language?: string; + } + interface AnalyzeSentimentRequest { + /** Input document. */ + document?: Document; + /** The encoding type used by the API to calculate sentence offsets. */ + encodingType?: string; + } + interface AnalyzeSentimentResponse { + /** The overall sentiment of the input document. */ + documentSentiment?: Sentiment; + /** + * The language of the text, which will be the same as the language specified + * in the request or, if not specified, the automatically-detected language. + * See Document.language field for more details. + */ + language?: string; + /** The sentiment for all the sentences in the document. */ + sentences?: Sentence[]; + } + interface AnalyzeSyntaxRequest { + /** Input document. */ + document?: Document; + /** The encoding type used by the API to calculate offsets. */ + encodingType?: string; + } + interface AnalyzeSyntaxResponse { + /** + * The language of the text, which will be the same as the language specified + * in the request or, if not specified, the automatically-detected language. + * See Document.language field for more details. + */ + language?: string; + /** Sentences in the input document. */ + sentences?: Sentence[]; + /** Tokens, along with their syntactic information, in the input document. */ + tokens?: Token[]; + } + interface AnnotateTextRequest { + /** Input document. */ + document?: Document; + /** The encoding type used by the API to calculate offsets. */ + encodingType?: string; + /** The enabled features. */ + features?: Features; + } + interface AnnotateTextResponse { + /** + * The overall sentiment for the document. Populated if the user enables + * AnnotateTextRequest.Features.extract_document_sentiment. + */ + documentSentiment?: Sentiment; + /** + * Entities, along with their semantic information, in the input document. + * Populated if the user enables + * AnnotateTextRequest.Features.extract_entities. + */ + entities?: Entity[]; + /** + * The language of the text, which will be the same as the language specified + * in the request or, if not specified, the automatically-detected language. + * See Document.language field for more details. + */ + language?: string; + /** + * Sentences in the input document. Populated if the user enables + * AnnotateTextRequest.Features.extract_syntax. + */ + sentences?: Sentence[]; + /** + * Tokens, along with their syntactic information, in the input document. + * Populated if the user enables + * AnnotateTextRequest.Features.extract_syntax. + */ + tokens?: Token[]; + } + interface DependencyEdge { + /** + * Represents the head of this token in the dependency tree. + * This is the index of the token which has an arc going to this token. + * The index is the position of the token in the array of tokens returned + * by the API method. If this token is a root token, then the + * `head_token_index` is its own index. + */ + headTokenIndex?: number; + /** The parse label for the token. */ + label?: string; + } + interface Document { + /** The content of the input in string format. */ + content?: string; + /** + * The Google Cloud Storage URI where the file content is located. + * This URI must be of the form: gs://bucket_name/object_name. For more + * details, see https://cloud.google.com/storage/docs/reference-uris. + * NOTE: Cloud Storage object versioning is not supported. + */ + gcsContentUri?: string; + /** + * The language of the document (if not specified, the language is + * automatically detected). Both ISO and BCP-47 language codes are + * accepted.<br> + * [Language Support](/natural-language/docs/languages) + * lists currently supported languages for each API method. + * If the language (either specified by the caller or automatically detected) + * is not supported by the called API method, an `INVALID_ARGUMENT` error + * is returned. + */ + language?: string; + /** + * Required. If the type is not set or is `TYPE_UNSPECIFIED`, + * returns an `INVALID_ARGUMENT` error. + */ + type?: string; + } + interface Entity { + /** + * The mentions of this entity in the input document. The API currently + * supports proper noun mentions. + */ + mentions?: EntityMention[]; + /** + * Metadata associated with the entity. + * + * Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if + * available. The associated keys are "wikipedia_url" and "mid", respectively. + */ + metadata?: Record<string, string>; + /** The representative name for the entity. */ + name?: string; + /** + * The salience score associated with the entity in the [0, 1.0] range. + * + * The salience score for an entity provides information about the + * importance or centrality of that entity to the entire document text. + * Scores closer to 0 are less salient, while scores closer to 1.0 are highly + * salient. + */ + salience?: number; + /** + * For calls to AnalyzeEntitySentiment or if + * AnnotateTextRequest.Features.extract_entity_sentiment is set to + * true, this field will contain the aggregate sentiment expressed for this + * entity in the provided document. + */ + sentiment?: Sentiment; + /** The entity type. */ + type?: string; + } + interface EntityMention { + /** + * For calls to AnalyzeEntitySentiment or if + * AnnotateTextRequest.Features.extract_entity_sentiment is set to + * true, this field will contain the sentiment expressed for this mention of + * the entity in the provided document. + */ + sentiment?: Sentiment; + /** The mention text. */ + text?: TextSpan; + /** The type of the entity mention. */ + type?: string; + } + interface Features { + /** Extract document-level sentiment. */ + extractDocumentSentiment?: boolean; + /** Extract entities. */ + extractEntities?: boolean; + /** Extract entities and their associated sentiment. */ + extractEntitySentiment?: boolean; + /** Extract syntax information. */ + extractSyntax?: boolean; + } + interface PartOfSpeech { + /** The grammatical aspect. */ + aspect?: string; + /** The grammatical case. */ + case?: string; + /** The grammatical form. */ + form?: string; + /** The grammatical gender. */ + gender?: string; + /** The grammatical mood. */ + mood?: string; + /** The grammatical number. */ + number?: string; + /** The grammatical person. */ + person?: string; + /** The grammatical properness. */ + proper?: string; + /** The grammatical reciprocity. */ + reciprocity?: string; + /** The part of speech tag. */ + tag?: string; + /** The grammatical tense. */ + tense?: string; + /** The grammatical voice. */ + voice?: string; + } + interface Sentence { + /** + * For calls to AnalyzeSentiment or if + * AnnotateTextRequest.Features.extract_document_sentiment is set to + * true, this field will contain the sentiment for the sentence. + */ + sentiment?: Sentiment; + /** The sentence text. */ + text?: TextSpan; + } + interface Sentiment { + /** + * A non-negative number in the [0, +inf) range, which represents + * the absolute magnitude of sentiment regardless of score (positive or + * negative). + */ + magnitude?: number; + /** + * Sentiment score between -1.0 (negative sentiment) and 1.0 + * (positive sentiment). + */ + score?: number; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface TextSpan { + /** + * The API calculates the beginning offset of the content in the original + * document according to the EncodingType specified in the API request. + */ + beginOffset?: number; + /** The content of the output text. */ + content?: string; + } + interface Token { + /** Dependency tree parse for this token. */ + dependencyEdge?: DependencyEdge; + /** [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token. */ + lemma?: string; + /** Parts of speech tag for this token. */ + partOfSpeech?: PartOfSpeech; + /** The token text. */ + text?: TextSpan; + } + interface DocumentsResource { + /** + * Finds named entities (currently proper names and common nouns) in the text + * along with entity types, salience, mentions for each entity, and + * other properties. + */ + analyzeEntities(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<AnalyzeEntitiesResponse>; + /** + * Finds entities, similar to AnalyzeEntities in the text and analyzes + * sentiment associated with each entity and its mentions. + */ + analyzeEntitySentiment(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<AnalyzeEntitySentimentResponse>; + /** Analyzes the sentiment of the provided text. */ + analyzeSentiment(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<AnalyzeSentimentResponse>; + /** + * Analyzes the syntax of the text and provides sentence boundaries and + * tokenization along with part of speech tags, dependency trees, and other + * properties. + */ + analyzeSyntax(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<AnalyzeSyntaxResponse>; + /** + * A convenience method that provides all the features that analyzeSentiment, + * analyzeEntities, and analyzeSyntax provide in one call. + */ + annotateText(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<AnnotateTextResponse>; + } + } +} diff --git a/types/gapi.client.language/readme.md b/types/gapi.client.language/readme.md new file mode 100644 index 0000000000..ae7aaef594 --- /dev/null +++ b/types/gapi.client.language/readme.md @@ -0,0 +1,88 @@ +# TypeScript typings for Google Cloud Natural Language API v1 +Provides natural language understanding technologies to developers. Examples include sentiment analysis, entity recognition, entity sentiment analysis, and text annotations. +For detailed description please check [documentation](https://cloud.google.com/natural-language/). + +## Installing + +Install typings for Google Cloud Natural Language API: +``` +npm install @types/gapi.client.language@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('language', 'v1', () => { + // now we can use gapi.client.language + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Apply machine learning models to reveal the structure and meaning of text + 'https://www.googleapis.com/auth/cloud-language', + + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Cloud Natural Language API resources: + +```typescript + +/* +Finds named entities (currently proper names and common nouns) in the text +along with entity types, salience, mentions for each entity, and +other properties. +*/ +await gapi.client.documents.analyzeEntities({ }); + +/* +Finds entities, similar to AnalyzeEntities in the text and analyzes +sentiment associated with each entity and its mentions. +*/ +await gapi.client.documents.analyzeEntitySentiment({ }); + +/* +Analyzes the sentiment of the provided text. +*/ +await gapi.client.documents.analyzeSentiment({ }); + +/* +Analyzes the syntax of the text and provides sentence boundaries and +tokenization along with part of speech tags, dependency trees, and other +properties. +*/ +await gapi.client.documents.analyzeSyntax({ }); + +/* +A convenience method that provides all the features that analyzeSentiment, +analyzeEntities, and analyzeSyntax provide in one call. +*/ +await gapi.client.documents.annotateText({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.language/tsconfig.json b/types/gapi.client.language/tsconfig.json new file mode 100644 index 0000000000..12044b7569 --- /dev/null +++ b/types/gapi.client.language/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.language-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.language/tslint.json b/types/gapi.client.language/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.language/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.licensing/gapi.client.licensing-tests.ts b/types/gapi.client.licensing/gapi.client.licensing-tests.ts new file mode 100644 index 0000000000..efc0328b02 --- /dev/null +++ b/types/gapi.client.licensing/gapi.client.licensing-tests.ts @@ -0,0 +1,76 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('licensing', 'v1', () => { + /** now we can use gapi.client.licensing */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage G Suite licenses for your domain */ + 'https://www.googleapis.com/auth/apps.licensing', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Revoke License. */ + await gapi.client.licenseAssignments.delete({ + productId: "productId", + skuId: "skuId", + userId: "userId", + }); + /** Get license assignment of a particular product and sku for a user */ + await gapi.client.licenseAssignments.get({ + productId: "productId", + skuId: "skuId", + userId: "userId", + }); + /** Assign License. */ + await gapi.client.licenseAssignments.insert({ + productId: "productId", + skuId: "skuId", + }); + /** List license assignments for given product of the customer. */ + await gapi.client.licenseAssignments.listForProduct({ + customerId: "customerId", + maxResults: 2, + pageToken: "pageToken", + productId: "productId", + }); + /** List license assignments for given product and sku of the customer. */ + await gapi.client.licenseAssignments.listForProductAndSku({ + customerId: "customerId", + maxResults: 2, + pageToken: "pageToken", + productId: "productId", + skuId: "skuId", + }); + /** Assign License. This method supports patch semantics. */ + await gapi.client.licenseAssignments.patch({ + productId: "productId", + skuId: "skuId", + userId: "userId", + }); + /** Assign License. */ + await gapi.client.licenseAssignments.update({ + productId: "productId", + skuId: "skuId", + userId: "userId", + }); + } +}); diff --git a/types/gapi.client.licensing/index.d.ts b/types/gapi.client.licensing/index.d.ts new file mode 100644 index 0000000000..06cd0946d0 --- /dev/null +++ b/types/gapi.client.licensing/index.d.ts @@ -0,0 +1,243 @@ +// Type definitions for Google Enterprise License Manager API v1 1.0 +// Project: https://developers.google.com/google-apps/licensing/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/licensing/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Enterprise License Manager API v1 */ + function load(name: "licensing", version: "v1"): PromiseLike<void>; + function load(name: "licensing", version: "v1", callback: () => any): void; + + const licenseAssignments: licensing.LicenseAssignmentsResource; + + namespace licensing { + interface LicenseAssignment { + /** ETag of the resource. */ + etags?: string; + /** Identifies the resource as a LicenseAssignment. */ + kind?: string; + /** Id of the product. */ + productId?: string; + /** Display Name of the product. */ + productName?: string; + /** Link to this page. */ + selfLink?: string; + /** Id of the sku of the product. */ + skuId?: string; + /** Display Name of the sku of the product. */ + skuName?: string; + /** Email id of the user. */ + userId?: string; + } + interface LicenseAssignmentInsert { + /** Email id of the user */ + userId?: string; + } + interface LicenseAssignmentList { + /** ETag of the resource. */ + etag?: string; + /** The LicenseAssignments in this page of results. */ + items?: LicenseAssignment[]; + /** Identifies the resource as a collection of LicenseAssignments. */ + kind?: string; + /** The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */ + nextPageToken?: string; + } + interface LicenseAssignmentsResource { + /** Revoke License. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Name for product */ + productId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name for sku */ + skuId: string; + /** email id or unique Id of the user */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Get license assignment of a particular product and sku for a user */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Name for product */ + productId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name for sku */ + skuId: string; + /** email id or unique Id of the user */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LicenseAssignment>; + /** Assign License. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Name for product */ + productId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name for sku */ + skuId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LicenseAssignment>; + /** List license assignments for given product of the customer. */ + listForProduct(request: { + /** Data format for the response. */ + alt?: string; + /** CustomerId represents the customer for whom licenseassignments are queried */ + customerId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of campaigns to return at one time. Must be positive. Optional. Default value is 100. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Token to fetch the next page.Optional. By default server will return first page */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Name for product */ + productId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LicenseAssignmentList>; + /** List license assignments for given product and sku of the customer. */ + listForProductAndSku(request: { + /** Data format for the response. */ + alt?: string; + /** CustomerId represents the customer for whom licenseassignments are queried */ + customerId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of campaigns to return at one time. Must be positive. Optional. Default value is 100. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Token to fetch the next page.Optional. By default server will return first page */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Name for product */ + productId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name for sku */ + skuId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LicenseAssignmentList>; + /** Assign License. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Name for product */ + productId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name for sku for which license would be revoked */ + skuId: string; + /** email id or unique Id of the user */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LicenseAssignment>; + /** Assign License. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Name for product */ + productId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name for sku for which license would be revoked */ + skuId: string; + /** email id or unique Id of the user */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LicenseAssignment>; + } + } +} diff --git a/types/gapi.client.licensing/readme.md b/types/gapi.client.licensing/readme.md new file mode 100644 index 0000000000..1932077d1c --- /dev/null +++ b/types/gapi.client.licensing/readme.md @@ -0,0 +1,89 @@ +# TypeScript typings for Enterprise License Manager API v1 +Views and manages licenses for your domain. +For detailed description please check [documentation](https://developers.google.com/google-apps/licensing/). + +## Installing + +Install typings for Enterprise License Manager API: +``` +npm install @types/gapi.client.licensing@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('licensing', 'v1', () => { + // now we can use gapi.client.licensing + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage G Suite licenses for your domain + 'https://www.googleapis.com/auth/apps.licensing', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Enterprise License Manager API resources: + +```typescript + +/* +Revoke License. +*/ +await gapi.client.licenseAssignments.delete({ productId: "productId", skuId: "skuId", userId: "userId", }); + +/* +Get license assignment of a particular product and sku for a user +*/ +await gapi.client.licenseAssignments.get({ productId: "productId", skuId: "skuId", userId: "userId", }); + +/* +Assign License. +*/ +await gapi.client.licenseAssignments.insert({ productId: "productId", skuId: "skuId", }); + +/* +List license assignments for given product of the customer. +*/ +await gapi.client.licenseAssignments.listForProduct({ customerId: "customerId", productId: "productId", }); + +/* +List license assignments for given product and sku of the customer. +*/ +await gapi.client.licenseAssignments.listForProductAndSku({ customerId: "customerId", productId: "productId", skuId: "skuId", }); + +/* +Assign License. This method supports patch semantics. +*/ +await gapi.client.licenseAssignments.patch({ productId: "productId", skuId: "skuId", userId: "userId", }); + +/* +Assign License. +*/ +await gapi.client.licenseAssignments.update({ productId: "productId", skuId: "skuId", userId: "userId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.licensing/tsconfig.json b/types/gapi.client.licensing/tsconfig.json new file mode 100644 index 0000000000..2cde1d0a5f --- /dev/null +++ b/types/gapi.client.licensing/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.licensing-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.licensing/tslint.json b/types/gapi.client.licensing/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.licensing/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.logging/gapi.client.logging-tests.ts b/types/gapi.client.logging/gapi.client.logging-tests.ts new file mode 100644 index 0000000000..c66af9cc97 --- /dev/null +++ b/types/gapi.client.logging/gapi.client.logging-tests.ts @@ -0,0 +1,54 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('logging', 'v2', () => { + /** now we can use gapi.client.logging */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform.read-only', + /** Administrate log data for your projects */ + 'https://www.googleapis.com/auth/logging.admin', + /** View log data for your projects */ + 'https://www.googleapis.com/auth/logging.read', + /** Submit log data for your projects */ + 'https://www.googleapis.com/auth/logging.write', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Lists log entries. Use this method to retrieve log entries from Stackdriver Logging. For ways to export log entries, see Exporting Logs. */ + await gapi.client.entries.list({ + }); + /** + * Log entry resourcesWrites log entries to Stackdriver Logging. This API method is the only way to send log entries to Stackdriver Logging. This method + * is used, directly or indirectly, by the Stackdriver Logging agent (fluentd) and all logging libraries configured to use Stackdriver Logging. + */ + await gapi.client.entries.write({ + }); + /** Lists the descriptors for monitored resource types used by Stackdriver Logging. */ + await gapi.client.monitoredResourceDescriptors.list({ + pageSize: 1, + pageToken: "pageToken", + }); + } +}); diff --git a/types/gapi.client.logging/index.d.ts b/types/gapi.client.logging/index.d.ts new file mode 100644 index 0000000000..057cc13926 --- /dev/null +++ b/types/gapi.client.logging/index.d.ts @@ -0,0 +1,3334 @@ +// Type definitions for Google Stackdriver Logging API v2 2.0 +// Project: https://cloud.google.com/logging/docs/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://logging.googleapis.com/$discovery/rest?version=v2 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Stackdriver Logging API v2 */ + function load(name: "logging", version: "v2"): PromiseLike<void>; + function load(name: "logging", version: "v2", callback: () => any): void; + + const billingAccounts: logging.BillingAccountsResource; + + const entries: logging.EntriesResource; + + const folders: logging.FoldersResource; + + const monitoredResourceDescriptors: logging.MonitoredResourceDescriptorsResource; + + const organizations: logging.OrganizationsResource; + + const projects: logging.ProjectsResource; + + namespace logging { + interface BucketOptions { + /** The explicit buckets. */ + explicitBuckets?: Explicit; + /** The exponential buckets. */ + exponentialBuckets?: Exponential; + /** The linear bucket. */ + linearBuckets?: Linear; + } + interface Explicit { + /** The values must be monotonically increasing. */ + bounds?: number[]; + } + interface Exponential { + /** Must be greater than 1. */ + growthFactor?: number; + /** Must be greater than 0. */ + numFiniteBuckets?: number; + /** Must be greater than 0. */ + scale?: number; + } + interface HttpRequest { + /** The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted. */ + cacheFillBytes?: string; + /** Whether or not an entity was served from cache (with or without validation). */ + cacheHit?: boolean; + /** Whether or not a cache lookup was attempted. */ + cacheLookup?: boolean; + /** Whether or not the response was validated with the origin server before being served from cache. This field is only meaningful if cache_hit is True. */ + cacheValidatedWithOriginServer?: boolean; + /** The request processing latency on the server, from the time the request was received until the response was sent. */ + latency?: string; + /** Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket" */ + protocol?: string; + /** The referer URL of the request, as defined in HTTP/1.1 Header Field Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). */ + referer?: string; + /** The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: "192.168.1.1", "FE80::0202:B3FF:FE1E:8329". */ + remoteIp?: string; + /** The request method. Examples: "GET", "HEAD", "PUT", "POST". */ + requestMethod?: string; + /** The size of the HTTP request message in bytes, including the request headers and the request body. */ + requestSize?: string; + /** + * The scheme (http, https), the host name, the path and the query portion of the URL that was requested. Example: + * "http://example.com/some/info?color=red". + */ + requestUrl?: string; + /** The size of the HTTP response message sent back to the client, in bytes, including the response headers and the response body. */ + responseSize?: string; + /** The IP address (IPv4 or IPv6) of the origin server that the request was sent to. */ + serverIp?: string; + /** The response code indicating the status of response. Examples: 200, 404. */ + status?: number; + /** The user agent sent by the client. Example: "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)". */ + userAgent?: string; + } + interface LabelDescriptor { + /** A human-readable description for the label. */ + description?: string; + /** The label key. */ + key?: string; + /** The type of data that can be assigned to the label. */ + valueType?: string; + } + interface Linear { + /** Must be greater than 0. */ + numFiniteBuckets?: number; + /** Lower bound of the first bucket. */ + offset?: number; + /** Must be greater than 0. */ + width?: number; + } + interface ListExclusionsResponse { + /** A list of exclusions. */ + exclusions?: LogExclusion[]; + /** + * If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again + * using the value of nextPageToken as pageToken. + */ + nextPageToken?: string; + } + interface ListLogEntriesRequest { + /** + * Optional. A filter that chooses which log entries to return. See Advanced Logs Filters. Only log entries that match the filter are returned. An empty + * filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause + * the filter to return no results. The maximum length of the filter is 20000 characters. + */ + filter?: string; + /** + * Optional. How the results should be sorted. Presently, the only permitted values are "timestamp asc" (default) and "timestamp desc". The first option + * returns entries in order of increasing values of LogEntry.timestamp (oldest first), and the second option returns entries in order of decreasing + * timestamps (newest first). Entries with equal timestamps are returned in order of their insert_id values. + */ + orderBy?: string; + /** + * Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of next_page_token in the response + * indicates that more results might be available. + */ + pageSize?: number; + /** + * Optional. If present, then retrieve the next batch of results from the preceding call to this method. page_token must be the value of next_page_token + * from the previous response. The values of other method parameters should be identical to those in the previous call. + */ + pageToken?: string; + /** + * Deprecated. Use resource_names instead. One or more project identifiers or project numbers from which to retrieve log entries. Example: + * "my-project-1A". If present, these project identifiers are converted to resource name format and added to the list of resources in resource_names. + */ + projectIds?: string[]; + /** + * Required. Names of one or more parent resources from which to retrieve log entries: + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + * Projects listed in the project_ids field are added to this list. + */ + resourceNames?: string[]; + } + interface ListLogEntriesResponse { + /** + * A list of log entries. If entries is empty, nextPageToken may still be returned, indicating that more entries may exist. See nextPageToken for more + * information. + */ + entries?: LogEntry[]; + /** + * If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method + * again using the value of nextPageToken as pageToken.If a value for next_page_token appears and the entries field is empty, it means that the search + * found no log entries so far but it did not have time to search all the possible log entries. Retry the method with this value for page_token to + * continue the search. Alternatively, consider speeding up the search by changing your filter to specify a single log name or resource type, or to narrow + * the time range of the search. + */ + nextPageToken?: string; + } + interface ListLogMetricsResponse { + /** A list of logs-based metrics. */ + metrics?: LogMetric[]; + /** + * If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call this method again + * using the value of nextPageToken as pageToken. + */ + nextPageToken?: string; + } + interface ListLogsResponse { + /** A list of log names. For example, "projects/my-project/syslog" or "organizations/123/cloudresourcemanager.googleapis.com%2Factivity". */ + logNames?: string[]; + /** + * If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method + * again using the value of nextPageToken as pageToken. + */ + nextPageToken?: string; + } + interface ListMonitoredResourceDescriptorsResponse { + /** + * If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method + * again using the value of nextPageToken as pageToken. + */ + nextPageToken?: string; + /** A list of resource descriptors. */ + resourceDescriptors?: MonitoredResourceDescriptor[]; + } + interface ListSinksResponse { + /** + * If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again + * using the value of nextPageToken as pageToken. + */ + nextPageToken?: string; + /** A list of sinks. */ + sinks?: LogSink[]; + } + interface LogEntry { + /** Optional. Information about the HTTP request associated with this log entry, if applicable. */ + httpRequest?: HttpRequest; + /** + * Optional. A unique identifier for the log entry. If you provide a value, then Stackdriver Logging considers other log entries in the same project, with + * the same timestamp, and with the same insert_id to be duplicates which can be removed. If omitted in new log entries, then Stackdriver Logging assigns + * its own unique identifier. The insert_id is also used to order log entries that have the same timestamp value. + */ + insertId?: string; + /** The log entry payload, represented as a structure that is expressed as a JSON object. */ + jsonPayload?: Record<string, any>; + /** Optional. A set of user-defined (key, value) data that provides additional information about the log entry. */ + labels?: Record<string, string>; + /** + * Required. The resource name of the log to which this log entry belongs: + * "projects/[PROJECT_ID]/logs/[LOG_ID]" + * "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + * "folders/[FOLDER_ID]/logs/[LOG_ID]" + * A project number may optionally be used in place of PROJECT_ID. The project number is translated to its corresponding PROJECT_ID internally and the + * log_name field will contain PROJECT_ID in queries and exports.[LOG_ID] must be URL-encoded within log_name. Example: + * "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity". [LOG_ID] must be less than 512 characters long and can only include the + * following characters: upper and lower case alphanumeric characters, forward-slash, underscore, hyphen, and period.For backward compatibility, if + * log_name begins with a forward-slash, such as /projects/..., then the log entry is ingested as usual but the forward-slash is removed. Listing the log + * entry will not show the leading slash and filtering for a log name with a leading slash will never return any results. + */ + logName?: string; + /** Optional. Information about an operation associated with the log entry, if applicable. */ + operation?: LogEntryOperation; + /** The log entry payload, represented as a protocol buffer. Some Google Cloud Platform services use this field for their log entry payloads. */ + protoPayload?: Record<string, any>; + /** Output only. The time the log entry was received by Stackdriver Logging. */ + receiveTimestamp?: string; + /** + * Required. The monitored resource associated with this log entry. Example: a log entry that reports a database error would be associated with the + * monitored resource designating the particular database that reported the error. + */ + resource?: MonitoredResource; + /** Optional. The severity of the log entry. The default value is LogSeverity.DEFAULT. */ + severity?: string; + /** Optional. Source code location information associated with the log entry, if any. */ + sourceLocation?: LogEntrySourceLocation; + /** The log entry payload, represented as a Unicode string (UTF-8). */ + textPayload?: string; + /** + * Optional. The time the event described by the log entry occurred. This time is used to compute the log entry's age and to enforce the logs retention + * period. If this field is omitted in a new log entry, then Stackdriver Logging assigns it the current time.Incoming log entries should have timestamps + * that are no more than the logs retention period in the past, and no more than 24 hours in the future. See the entries.write API method for more + * information. + */ + timestamp?: string; + /** + * Optional. Resource name of the trace associated with the log entry, if any. If it contains a relative resource name, the name is assumed to be relative + * to //tracing.googleapis.com. Example: projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824 + */ + trace?: string; + } + interface LogEntryOperation { + /** Optional. Set this to True if this is the first log entry in the operation. */ + first?: boolean; + /** Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation. */ + id?: string; + /** Optional. Set this to True if this is the last log entry in the operation. */ + last?: boolean; + /** + * Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for producer: + * "MyDivision.MyBigCompany.com", "github.com/MyProject/MyApplication". + */ + producer?: string; + } + interface LogEntrySourceLocation { + /** Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name. */ + file?: string; + /** + * Optional. Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information may be + * used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: + * qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python). + */ + function?: string; + /** Optional. Line within the source file. 1-based; 0 indicates no line number available. */ + line?: string; + } + interface LogExclusion { + /** Optional. A description of this exclusion. */ + description?: string; + /** + * Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can use exclusions.patch to change the value of + * this field. + */ + disabled?: boolean; + /** + * Required. An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the + * matching log entries. For example, the following filter matches 99% of low-severity log entries from load balancers: + * "resource.type=http_load_balancer severity<ERROR sample(insertId, 0.99)" + */ + filter?: string; + /** + * Required. A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, + * digits, underscores, hyphens, and periods. + */ + name?: string; + } + interface LogLine { + /** App-provided log message. */ + logMessage?: string; + /** Severity of this log entry. */ + severity?: string; + /** Where in the source code this log message was written. */ + sourceLocation?: SourceLocation; + /** Approximate time when this log entry was made. */ + time?: string; + } + interface LogMetric { + /** + * Optional. The bucket_options are required when the logs-based metric is using a DISTRIBUTION value type and it describes the bucket boundaries used to + * create a histogram of the extracted values. + */ + bucketOptions?: BucketOptions; + /** Optional. A description of this metric, which is used in documentation. */ + description?: string; + /** + * Required. An advanced logs filter which is used to match log entries. Example: + * "resource.type=gae_app AND severity>=ERROR" + * The maximum length of the filter is 20000 characters. + */ + filter?: string; + /** + * Optional. A map from a label key string to an extractor expression which is used to extract data from a log entry field and assign as the label value. + * Each label key specified in the LabelDescriptor must have an associated extractor expression in this map. The syntax of the extractor expression is the + * same as for the value_extractor field.The extracted value is converted to the type defined in the label descriptor. If the either the extraction or the + * type conversion fails, the label will have a default value. The default value for a string label is an empty string, for an integer label its 0, and + * for a boolean label its false.Note that there are upper bounds on the maximum number of labels and the number of active time series that are allowed in + * a project. + */ + labelExtractors?: Record<string, string>; + /** + * Optional. The metric descriptor associated with the logs-based metric. If unspecified, it uses a default metric descriptor with a DELTA metric kind, + * INT64 value type, with no labels and a unit of "1". Such a metric counts the number of log entries matching the filter expression.The name, type, and + * description fields in the metric_descriptor are output only, and is constructed using the name and description field in the LogMetric.To create a + * logs-based metric that records a distribution of log values, a DELTA metric kind with a DISTRIBUTION value type must be used along with a + * value_extractor expression in the LogMetric.Each label in the metric descriptor must have a matching label name as the key and an extractor expression + * as the value in the label_extractors map.The metric_kind and value_type fields in the metric_descriptor cannot be updated once initially configured. + * New labels can be added in the metric_descriptor, but existing labels cannot be modified except for their description. + */ + metricDescriptor?: MetricDescriptor; + /** + * Required. The client-assigned metric identifier. Examples: "error_count", "nginx/requests".Metric identifiers are limited to 100 characters and can + * include only the following characters: A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash character (/) denotes a hierarchy of + * name pieces, and it cannot be the first character of the name.The metric identifier in this field must not be URL-encoded + * (https://en.wikipedia.org/wiki/Percent-encoding). However, when the metric identifier appears as the [METRIC_ID] part of a metric_name API parameter, + * then the metric identifier must be URL-encoded. Example: "projects/my-project/metrics/nginx%2Frequests". + */ + name?: string; + /** + * Optional. A value_extractor is required when using a distribution logs-based metric to extract the values to record from a log entry. Two functions are + * supported for value extraction: EXTRACT(field) or REGEXP_EXTRACT(field, regex). The argument are: 1. field: The name of the log entry field from which + * the value is to be extracted. 2. regex: A regular expression using the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax) with a single + * capture group to extract data from the specified log entry field. The value of the field is converted to a string before applying the regex. It is + * an error to specify a regex that does not include exactly one capture group.The result of the extraction must be convertible to a double type, as the + * distribution always records double values. If either the extraction or the conversion to double fails, then those values are not recorded in the + * distribution.Example: REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*") + */ + valueExtractor?: string; + /** Deprecated. The API version that created or updated this metric. The v2 format is used by default and cannot be changed. */ + version?: string; + } + interface LogSink { + /** + * Required. The export destination: + * "storage.googleapis.com/[GCS_BUCKET]" + * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" + * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" + * The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. + * For more information, see Exporting Logs With Sinks. + */ + destination?: string; + /** Deprecated. This field is ignored when creating or updating sinks. */ + endTime?: string; + /** + * Optional. An advanced logs filter. The only exported log entries are those that are in the resource owning the sink and that match the filter. For + * example: + * logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR + */ + filter?: string; + /** + * Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's + * parent resource are available for export. If the field is true, then logs from all the projects, folders, and billing accounts contained in the sink's + * parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression. + * For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all + * projects in the sink's parent. To only export entries from certain child projects, filter on the project part of the log name: + * logName:("projects/test-project1/" OR "projects/test-project2/") AND + * resource.type=gce_instance + */ + includeChildren?: boolean; + /** + * Required. The client-assigned sink identifier, unique within the project. Example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 + * characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. + */ + name?: string; + /** Deprecated. The log entry format to use for this sink's exported log entries. The v2 format is used by default and cannot be changed. */ + outputVersionFormat?: string; + /** Deprecated. This field is ignored when creating or updating sinks. */ + startTime?: string; + /** + * Output only. An IAM identity—a service account or group—under which Stackdriver Logging writes the exported log entries to the sink's + * destination. This field is set by sinks.create and sinks.update, based on the setting of unique_writer_identity in those methods.Until you grant this + * identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting access for a resource. Consult + * the destination service's documentation to determine the appropriate IAM roles to assign to the identity. + */ + writerIdentity?: string; + } + interface MetricDescriptor { + /** A detailed description of the metric, which can be used in documentation. */ + description?: string; + /** + * A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count". This + * field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota. + */ + displayName?: string; + /** + * The set of labels that can be used to describe a specific instance of this metric type. For example, the + * appengine.googleapis.com/http/server/response_latencies metric type has a label for the HTTP response code, response_code, so you can look at latencies + * for successful responses or just for responses that failed. + */ + labels?: LabelDescriptor[]; + /** Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported. */ + metricKind?: string; + /** The resource name of the metric descriptor. */ + name?: string; + /** + * The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined custom metric types have the DNS name + * custom.googleapis.com. Metric types should use a natural hierarchical grouping. For example: + * "custom.googleapis.com/invoice/paid/amount" + * "appengine.googleapis.com/http/server/response_latencies" + */ + type?: string; + /** + * The unit in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The supported units are a + * subset of The Unified Code for Units of Measure (http://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT) + * bit bit + * By byte + * s second + * min minute + * h hour + * d dayPrefixes (PREFIX) + * k kilo (10**3) + * M mega (10**6) + * G giga (10**9) + * T tera (10**12) + * P peta (10**15) + * E exa (10**18) + * Z zetta (10**21) + * Y yotta (10**24) + * m milli (10**-3) + * u micro (10**-6) + * n nano (10**-9) + * p pico (10**-12) + * f femto (10**-15) + * a atto (10**-18) + * z zepto (10**-21) + * y yocto (10**-24) + * Ki kibi (2**10) + * Mi mebi (2**20) + * Gi gibi (2**30) + * Ti tebi (2**40)GrammarThe grammar includes the dimensionless unit 1, such as 1/s.The grammar also includes these connectors: + * / division (as an infix operator, e.g. 1/s). + * . multiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is as follows: + * Expression = Component { "." Component } { "/" Component } ; + * + * Component = [ PREFIX ] UNIT [ Annotation ] + * | Annotation + * | "1" + * ; + * + * Annotation = "{" NAME "}" ; + * Notes: + * Annotation is just a comment if it follows a UNIT and is equivalent to 1 if it is used alone. For examples, {requests}/s == 1/s, By{transmitted}/s == + * By/s. + * NAME is a sequence of non-blank printable ASCII characters not containing '{' or '}'. + */ + unit?: string; + /** Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported. */ + valueType?: string; + } + interface MonitoredResource { + /** + * Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels + * "project_id", "instance_id", and "zone". + */ + labels?: Record<string, string>; + /** + * Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Compute + * Engine VM instance is gce_instance. + */ + type?: string; + } + interface MonitoredResourceDescriptor { + /** Optional. A detailed description of the monitored resource type that might be used in documentation. */ + description?: string; + /** + * Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without + * any article or other determiners. For example, "Google Cloud SQL Database". + */ + displayName?: string; + /** + * Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels "database_id" and "zone". + */ + labels?: LabelDescriptor[]; + /** + * Optional. The resource name of the monitored resource descriptor: "projects/{project_id}/monitoredResourceDescriptors/{type}" where {type} is the value + * of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use + * project information can use the resource name format "monitoredResourceDescriptors/{type}". + */ + name?: string; + /** + * Required. The monitored resource type. For example, the type "cloudsql_database" represents databases in Google Cloud SQL. The maximum length of this + * value is 256 characters. + */ + type?: string; + } + interface RequestLog { + /** App Engine release version. */ + appEngineRelease?: string; + /** Application that handled this request. */ + appId?: string; + /** An indication of the relative cost of serving this request. */ + cost?: number; + /** Time when the request finished. */ + endTime?: string; + /** Whether this request is finished or active. */ + finished?: boolean; + /** + * Whether this is the first RequestLog entry for this request. If an active request has several RequestLog entries written to Stackdriver Logging, then + * this field will be set for one of them. + */ + first?: boolean; + /** Internet host and port number of the resource being requested. */ + host?: string; + /** HTTP version of request. Example: "HTTP/1.1". */ + httpVersion?: string; + /** An identifier for the instance that handled the request. */ + instanceId?: string; + /** + * If the instance processing this request belongs to a manually scaled module, then this is the 0-based index of the instance. Otherwise, this value is + * -1. + */ + instanceIndex?: number; + /** Origin IP address. */ + ip?: string; + /** Latency of the request. */ + latency?: string; + /** A list of log lines emitted by the application while serving this request. */ + line?: LogLine[]; + /** Number of CPU megacycles used to process request. */ + megaCycles?: string; + /** Request method. Example: "GET", "HEAD", "PUT", "POST", "DELETE". */ + method?: string; + /** Module of the application that handled this request. */ + moduleId?: string; + /** + * The logged-in user who made the request.Most likely, this is the part of the user's email before the @ sign. The field value is the same for different + * requests from the same user, but different users can have similar names. This information is also available to the application via the App Engine Users + * API.This field will be populated starting with App Engine 1.9.21. + */ + nickname?: string; + /** Time this request spent in the pending request queue. */ + pendingTime?: string; + /** Referrer URL of request. */ + referrer?: string; + /** + * Globally unique identifier for a request, which is based on the request start time. Request IDs for requests which started later will compare greater + * as strings than those for requests which started earlier. + */ + requestId?: string; + /** + * Contains the path and query portion of the URL that was requested. For example, if the URL was "http://example.com/app?name=val", the resource would be + * "/app?name=val". The fragment identifier, which is identified by the # character, is not included. + */ + resource?: string; + /** Size in bytes sent back to client by request. */ + responseSize?: string; + /** + * Source code for the application that handled this request. There can be more than one source reference per deployed application if source code is + * distributed among multiple repositories. + */ + sourceReference?: SourceReference[]; + /** Time when the request started. */ + startTime?: string; + /** HTTP response status code. Example: 200, 404. */ + status?: number; + /** Task name of the request, in the case of an offline request. */ + taskName?: string; + /** Queue name of the request, in the case of an offline request. */ + taskQueueName?: string; + /** Stackdriver Trace identifier for this request. */ + traceId?: string; + /** File or class that handled the request. */ + urlMapEntry?: string; + /** User agent that made the request. */ + userAgent?: string; + /** Version of the application that handled this request. */ + versionId?: string; + /** Whether this was a loading request for the instance. */ + wasLoadingRequest?: boolean; + } + interface SourceLocation { + /** Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name. */ + file?: string; + /** + * Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information is used in + * contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: + * qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python). + */ + functionName?: string; + /** Line within the source file. */ + line?: string; + } + interface SourceReference { + /** Optional. A URI string identifying the repository. Example: "https://github.com/GoogleCloudPlatform/kubernetes.git" */ + repository?: string; + /** The canonical and persistent identifier of the deployed revision. Example (git): "0035781c50ec7aa23385dc841529ce8a4b70db1b" */ + revisionId?: string; + } + interface WriteLogEntriesRequest { + /** + * Required. The log entries to send to Stackdriver Logging. The order of log entries in this list does not matter. Values supplied in this method's + * log_name, resource, and labels fields are copied into those log entries in this list that do not include values for their corresponding fields. For + * more information, see the LogEntry type.If the timestamp or insert_id fields are missing in log entries, then this method supplies the current time or + * a unique identifier, respectively. The supplied values are chosen so that, among the log entries that did not supply their own values, the entries + * earlier in the list will sort before the entries later in the list. See the entries.list method.Log entries with timestamps that are more than the logs + * retention period in the past or more than 24 hours in the future might be discarded. Discarding does not return an error.To improve throughput and to + * avoid exceeding the quota limit for calls to entries.write, you should try to include several log entries in this list, rather than calling this method + * for each individual log entry. + */ + entries?: LogEntry[]; + /** + * Optional. Default labels that are added to the labels field of all log entries in entries. If a log entry already has a label with the same key as a + * label in this parameter, then the log entry's label is not changed. See LogEntry. + */ + labels?: Record<string, string>; + /** + * Optional. A default log resource name that is assigned to all log entries in entries that do not specify a value for log_name: + * "projects/[PROJECT_ID]/logs/[LOG_ID]" + * "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + * "folders/[FOLDER_ID]/logs/[LOG_ID]" + * [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog" or + * "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity". For more information about log names, see LogEntry. + */ + logName?: string; + /** + * Optional. Whether valid entries should be written even if some other entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is + * not written, then the response status is the error associated with one of the failed entries and the response includes error details keyed by the + * entries' zero-based index in the entries.write method. + */ + partialSuccess?: boolean; + /** + * Optional. A default monitored resource object that is assigned to all log entries in entries that do not specify a value for resource. Example: + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * See LogEntry. + */ + resource?: MonitoredResource; + } + interface ExclusionsResource { + /** + * Creates a new exclusion in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions + * in a resource. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Required. The parent resource in which to create the exclusion: + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + * Examples: "projects/my-logging-project", "organizations/123456789". + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogExclusion>; + /** Deletes an exclusion. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of an existing exclusion to delete: + * "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" + * "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" + * "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" + * Example: "projects/my-project-id/exclusions/my-exclusion-id". + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets the description of an exclusion. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of an existing exclusion: + * "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" + * "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" + * "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" + * Example: "projects/my-project-id/exclusions/my-exclusion-id". + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogExclusion>; + /** Lists all the exclusions in a parent resource. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response + * indicates that more results might be available. + */ + pageSize?: number; + /** + * Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from + * the previous response. The values of other method parameters should be identical to those in the previous call. + */ + pageToken?: string; + /** + * Required. The parent resource whose exclusions are to be listed. + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListExclusionsResponse>; + /** Changes one or more properties of an existing exclusion. */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of the exclusion to update: + * "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" + * "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" + * "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" + * Example: "projects/my-project-id/exclusions/my-exclusion-id". + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. A nonempty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the + * LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the + * filter and description of an exclusion, specify an update_mask of "filter,description". + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogExclusion>; + } + interface LogsResource { + /** + * Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not + * be deleted. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of the log to delete: + * "projects/[PROJECT_ID]/logs/[LOG_ID]" + * "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + * "folders/[FOLDER_ID]/logs/[LOG_ID]" + * [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog", + * "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity". For more information about log names, see LogEntry. + */ + logName: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response + * indicates that more results might be available. + */ + pageSize?: number; + /** + * Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from + * the previous response. The values of other method parameters should be identical to those in the previous call. + */ + pageToken?: string; + /** + * Required. The resource name that owns the logs: + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListLogsResponse>; + } + interface SinksResource { + /** + * Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's + * writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Required. The resource in which to create the sink: + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + * Examples: "projects/my-logging-project", "organizations/123456789". + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's + * parent is a project, then the value returned as writer_identity is the same group or service account used by Stackdriver Logging before the addition of + * writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is + * owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from + * the new sink. For more information, see writer_identity in LogSink. + */ + uniqueWriterIdentity?: boolean; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogSink>; + /** Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" + * Example: "projects/my-project-id/sinks/my-sink-id". + */ + sinkName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets a sink. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. The resource name of the sink: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" + * Example: "projects/my-project-id/sinks/my-sink-id". + */ + sinkName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogSink>; + /** Lists sinks. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response + * indicates that more results might be available. + */ + pageSize?: number; + /** + * Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from + * the previous response. The values of other method parameters should be identical to those in the previous call. + */ + pageToken?: string; + /** + * Required. The parent resource whose sinks are to be listed: + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListSinksResponse>; + /** + * Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter. The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. The full resource name of the sink to update, including the parent resource and the sink identifier: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" + * Example: "projects/my-project-id/sinks/my-sink-id". + */ + sinkName: string; + /** + * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the + * updated sink depends on both the old and new values of this field: + * If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. + * If the old value is false and the new value is true, then writer_identity is changed to a unique service account. + * It is an error if the old value is true and the new value is set to false or defaulted to false. + */ + uniqueWriterIdentity?: boolean; + /** + * Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. + * name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility + * purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an + * error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmaskExample: + * updateMask=filter. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogSink>; + /** + * Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter. The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. The full resource name of the sink to update, including the parent resource and the sink identifier: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" + * Example: "projects/my-project-id/sinks/my-sink-id". + */ + sinkName: string; + /** + * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the + * updated sink depends on both the old and new values of this field: + * If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. + * If the old value is false and the new value is true, then writer_identity is changed to a unique service account. + * It is an error if the old value is true and the new value is set to false or defaulted to false. + */ + uniqueWriterIdentity?: boolean; + /** + * Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. + * name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility + * purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an + * error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmaskExample: + * updateMask=filter. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogSink>; + } + interface BillingAccountsResource { + exclusions: ExclusionsResource; + logs: LogsResource; + sinks: SinksResource; + } + interface EntriesResource { + /** Lists log entries. Use this method to retrieve log entries from Stackdriver Logging. For ways to export log entries, see Exporting Logs. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListLogEntriesResponse>; + /** + * Log entry resourcesWrites log entries to Stackdriver Logging. This API method is the only way to send log entries to Stackdriver Logging. This method + * is used, directly or indirectly, by the Stackdriver Logging agent (fluentd) and all logging libraries configured to use Stackdriver Logging. + */ + write(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + } + interface ExclusionsResource { + /** + * Creates a new exclusion in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions + * in a resource. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Required. The parent resource in which to create the exclusion: + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + * Examples: "projects/my-logging-project", "organizations/123456789". + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogExclusion>; + /** Deletes an exclusion. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of an existing exclusion to delete: + * "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" + * "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" + * "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" + * Example: "projects/my-project-id/exclusions/my-exclusion-id". + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets the description of an exclusion. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of an existing exclusion: + * "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" + * "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" + * "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" + * Example: "projects/my-project-id/exclusions/my-exclusion-id". + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogExclusion>; + /** Lists all the exclusions in a parent resource. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response + * indicates that more results might be available. + */ + pageSize?: number; + /** + * Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from + * the previous response. The values of other method parameters should be identical to those in the previous call. + */ + pageToken?: string; + /** + * Required. The parent resource whose exclusions are to be listed. + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListExclusionsResponse>; + /** Changes one or more properties of an existing exclusion. */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of the exclusion to update: + * "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" + * "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" + * "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" + * Example: "projects/my-project-id/exclusions/my-exclusion-id". + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. A nonempty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the + * LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the + * filter and description of an exclusion, specify an update_mask of "filter,description". + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogExclusion>; + } + interface LogsResource { + /** + * Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not + * be deleted. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of the log to delete: + * "projects/[PROJECT_ID]/logs/[LOG_ID]" + * "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + * "folders/[FOLDER_ID]/logs/[LOG_ID]" + * [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog", + * "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity". For more information about log names, see LogEntry. + */ + logName: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response + * indicates that more results might be available. + */ + pageSize?: number; + /** + * Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from + * the previous response. The values of other method parameters should be identical to those in the previous call. + */ + pageToken?: string; + /** + * Required. The resource name that owns the logs: + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListLogsResponse>; + } + interface SinksResource { + /** + * Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's + * writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Required. The resource in which to create the sink: + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + * Examples: "projects/my-logging-project", "organizations/123456789". + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's + * parent is a project, then the value returned as writer_identity is the same group or service account used by Stackdriver Logging before the addition of + * writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is + * owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from + * the new sink. For more information, see writer_identity in LogSink. + */ + uniqueWriterIdentity?: boolean; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogSink>; + /** Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" + * Example: "projects/my-project-id/sinks/my-sink-id". + */ + sinkName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets a sink. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. The resource name of the sink: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" + * Example: "projects/my-project-id/sinks/my-sink-id". + */ + sinkName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogSink>; + /** Lists sinks. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response + * indicates that more results might be available. + */ + pageSize?: number; + /** + * Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from + * the previous response. The values of other method parameters should be identical to those in the previous call. + */ + pageToken?: string; + /** + * Required. The parent resource whose sinks are to be listed: + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListSinksResponse>; + /** + * Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter. The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. The full resource name of the sink to update, including the parent resource and the sink identifier: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" + * Example: "projects/my-project-id/sinks/my-sink-id". + */ + sinkName: string; + /** + * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the + * updated sink depends on both the old and new values of this field: + * If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. + * If the old value is false and the new value is true, then writer_identity is changed to a unique service account. + * It is an error if the old value is true and the new value is set to false or defaulted to false. + */ + uniqueWriterIdentity?: boolean; + /** + * Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. + * name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility + * purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an + * error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmaskExample: + * updateMask=filter. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogSink>; + /** + * Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter. The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. The full resource name of the sink to update, including the parent resource and the sink identifier: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" + * Example: "projects/my-project-id/sinks/my-sink-id". + */ + sinkName: string; + /** + * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the + * updated sink depends on both the old and new values of this field: + * If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. + * If the old value is false and the new value is true, then writer_identity is changed to a unique service account. + * It is an error if the old value is true and the new value is set to false or defaulted to false. + */ + uniqueWriterIdentity?: boolean; + /** + * Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. + * name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility + * purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an + * error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmaskExample: + * updateMask=filter. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogSink>; + } + interface FoldersResource { + exclusions: ExclusionsResource; + logs: LogsResource; + sinks: SinksResource; + } + interface MonitoredResourceDescriptorsResource { + /** Lists the descriptors for monitored resource types used by Stackdriver Logging. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response + * indicates that more results might be available. + */ + pageSize?: number; + /** + * Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from + * the previous response. The values of other method parameters should be identical to those in the previous call. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListMonitoredResourceDescriptorsResponse>; + } + interface ExclusionsResource { + /** + * Creates a new exclusion in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions + * in a resource. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Required. The parent resource in which to create the exclusion: + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + * Examples: "projects/my-logging-project", "organizations/123456789". + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogExclusion>; + /** Deletes an exclusion. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of an existing exclusion to delete: + * "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" + * "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" + * "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" + * Example: "projects/my-project-id/exclusions/my-exclusion-id". + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets the description of an exclusion. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of an existing exclusion: + * "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" + * "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" + * "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" + * Example: "projects/my-project-id/exclusions/my-exclusion-id". + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogExclusion>; + /** Lists all the exclusions in a parent resource. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response + * indicates that more results might be available. + */ + pageSize?: number; + /** + * Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from + * the previous response. The values of other method parameters should be identical to those in the previous call. + */ + pageToken?: string; + /** + * Required. The parent resource whose exclusions are to be listed. + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListExclusionsResponse>; + /** Changes one or more properties of an existing exclusion. */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of the exclusion to update: + * "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" + * "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" + * "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" + * Example: "projects/my-project-id/exclusions/my-exclusion-id". + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. A nonempty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the + * LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the + * filter and description of an exclusion, specify an update_mask of "filter,description". + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogExclusion>; + } + interface LogsResource { + /** + * Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not + * be deleted. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of the log to delete: + * "projects/[PROJECT_ID]/logs/[LOG_ID]" + * "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + * "folders/[FOLDER_ID]/logs/[LOG_ID]" + * [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog", + * "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity". For more information about log names, see LogEntry. + */ + logName: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response + * indicates that more results might be available. + */ + pageSize?: number; + /** + * Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from + * the previous response. The values of other method parameters should be identical to those in the previous call. + */ + pageToken?: string; + /** + * Required. The resource name that owns the logs: + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListLogsResponse>; + } + interface SinksResource { + /** + * Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's + * writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Required. The resource in which to create the sink: + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + * Examples: "projects/my-logging-project", "organizations/123456789". + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's + * parent is a project, then the value returned as writer_identity is the same group or service account used by Stackdriver Logging before the addition of + * writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is + * owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from + * the new sink. For more information, see writer_identity in LogSink. + */ + uniqueWriterIdentity?: boolean; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogSink>; + /** Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" + * Example: "projects/my-project-id/sinks/my-sink-id". + */ + sinkName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets a sink. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. The resource name of the sink: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" + * Example: "projects/my-project-id/sinks/my-sink-id". + */ + sinkName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogSink>; + /** Lists sinks. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response + * indicates that more results might be available. + */ + pageSize?: number; + /** + * Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from + * the previous response. The values of other method parameters should be identical to those in the previous call. + */ + pageToken?: string; + /** + * Required. The parent resource whose sinks are to be listed: + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListSinksResponse>; + /** + * Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter. The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. The full resource name of the sink to update, including the parent resource and the sink identifier: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" + * Example: "projects/my-project-id/sinks/my-sink-id". + */ + sinkName: string; + /** + * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the + * updated sink depends on both the old and new values of this field: + * If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. + * If the old value is false and the new value is true, then writer_identity is changed to a unique service account. + * It is an error if the old value is true and the new value is set to false or defaulted to false. + */ + uniqueWriterIdentity?: boolean; + /** + * Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. + * name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility + * purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an + * error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmaskExample: + * updateMask=filter. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogSink>; + /** + * Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter. The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. The full resource name of the sink to update, including the parent resource and the sink identifier: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" + * Example: "projects/my-project-id/sinks/my-sink-id". + */ + sinkName: string; + /** + * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the + * updated sink depends on both the old and new values of this field: + * If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. + * If the old value is false and the new value is true, then writer_identity is changed to a unique service account. + * It is an error if the old value is true and the new value is set to false or defaulted to false. + */ + uniqueWriterIdentity?: boolean; + /** + * Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. + * name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility + * purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an + * error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmaskExample: + * updateMask=filter. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogSink>; + } + interface OrganizationsResource { + exclusions: ExclusionsResource; + logs: LogsResource; + sinks: SinksResource; + } + interface ExclusionsResource { + /** + * Creates a new exclusion in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions + * in a resource. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Required. The parent resource in which to create the exclusion: + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + * Examples: "projects/my-logging-project", "organizations/123456789". + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogExclusion>; + /** Deletes an exclusion. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of an existing exclusion to delete: + * "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" + * "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" + * "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" + * Example: "projects/my-project-id/exclusions/my-exclusion-id". + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets the description of an exclusion. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of an existing exclusion: + * "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" + * "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" + * "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" + * Example: "projects/my-project-id/exclusions/my-exclusion-id". + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogExclusion>; + /** Lists all the exclusions in a parent resource. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response + * indicates that more results might be available. + */ + pageSize?: number; + /** + * Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from + * the previous response. The values of other method parameters should be identical to those in the previous call. + */ + pageToken?: string; + /** + * Required. The parent resource whose exclusions are to be listed. + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListExclusionsResponse>; + /** Changes one or more properties of an existing exclusion. */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of the exclusion to update: + * "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" + * "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" + * "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" + * Example: "projects/my-project-id/exclusions/my-exclusion-id". + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. A nonempty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the + * LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the + * filter and description of an exclusion, specify an update_mask of "filter,description". + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogExclusion>; + } + interface LogsResource { + /** + * Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not + * be deleted. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of the log to delete: + * "projects/[PROJECT_ID]/logs/[LOG_ID]" + * "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + * "folders/[FOLDER_ID]/logs/[LOG_ID]" + * [LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog", + * "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity". For more information about log names, see LogEntry. + */ + logName: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response + * indicates that more results might be available. + */ + pageSize?: number; + /** + * Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from + * the previous response. The values of other method parameters should be identical to those in the previous call. + */ + pageToken?: string; + /** + * Required. The resource name that owns the logs: + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListLogsResponse>; + } + interface MetricsResource { + /** Creates a logs-based metric. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The resource name of the project in which to create the metric: + * "projects/[PROJECT_ID]" + * The new metric must be provided in the request. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogMetric>; + /** Deletes a logs-based metric. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the metric to delete: + * "projects/[PROJECT_ID]/metrics/[METRIC_ID]" + */ + metricName: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets a logs-based metric. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the desired metric: + * "projects/[PROJECT_ID]/metrics/[METRIC_ID]" + */ + metricName: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogMetric>; + /** Lists logs-based metrics. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response + * indicates that more results might be available. + */ + pageSize?: number; + /** + * Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from + * the previous response. The values of other method parameters should be identical to those in the previous call. + */ + pageToken?: string; + /** + * Required. The name of the project containing the metrics: + * "projects/[PROJECT_ID]" + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListLogMetricsResponse>; + /** Creates or updates a logs-based metric. */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The resource name of the metric to update: + * "projects/[PROJECT_ID]/metrics/[METRIC_ID]" + * The updated metric must be provided in the request and it's name field must be the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], + * then a new metric is created. + */ + metricName: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogMetric>; + } + interface SinksResource { + /** + * Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's + * writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Required. The resource in which to create the sink: + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + * Examples: "projects/my-logging-project", "organizations/123456789". + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's + * parent is a project, then the value returned as writer_identity is the same group or service account used by Stackdriver Logging before the addition of + * writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is + * owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from + * the new sink. For more information, see writer_identity in LogSink. + */ + uniqueWriterIdentity?: boolean; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogSink>; + /** Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" + * Example: "projects/my-project-id/sinks/my-sink-id". + */ + sinkName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets a sink. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. The resource name of the sink: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" + * Example: "projects/my-project-id/sinks/my-sink-id". + */ + sinkName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogSink>; + /** Lists sinks. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response + * indicates that more results might be available. + */ + pageSize?: number; + /** + * Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from + * the previous response. The values of other method parameters should be identical to those in the previous call. + */ + pageToken?: string; + /** + * Required. The parent resource whose sinks are to be listed: + * "projects/[PROJECT_ID]" + * "organizations/[ORGANIZATION_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]" + * "folders/[FOLDER_ID]" + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListSinksResponse>; + /** + * Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter. The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. The full resource name of the sink to update, including the parent resource and the sink identifier: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" + * Example: "projects/my-project-id/sinks/my-sink-id". + */ + sinkName: string; + /** + * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the + * updated sink depends on both the old and new values of this field: + * If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. + * If the old value is false and the new value is true, then writer_identity is changed to a unique service account. + * It is an error if the old value is true and the new value is set to false or defaulted to false. + */ + uniqueWriterIdentity?: boolean; + /** + * Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. + * name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility + * purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an + * error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmaskExample: + * updateMask=filter. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogSink>; + /** + * Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter. The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. The full resource name of the sink to update, including the parent resource and the sink identifier: + * "projects/[PROJECT_ID]/sinks/[SINK_ID]" + * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + * "folders/[FOLDER_ID]/sinks/[SINK_ID]" + * Example: "projects/my-project-id/sinks/my-sink-id". + */ + sinkName: string; + /** + * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the + * updated sink depends on both the old and new values of this field: + * If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. + * If the old value is false and the new value is true, then writer_identity is changed to a unique service account. + * It is an error if the old value is true and the new value is set to false or defaulted to false. + */ + uniqueWriterIdentity?: boolean; + /** + * Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. + * name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility + * purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an + * error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmaskExample: + * updateMask=filter. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogSink>; + } + interface ProjectsResource { + exclusions: ExclusionsResource; + logs: LogsResource; + metrics: MetricsResource; + sinks: SinksResource; + } + } +} diff --git a/types/gapi.client.logging/readme.md b/types/gapi.client.logging/readme.md new file mode 100644 index 0000000000..d75fcad13a --- /dev/null +++ b/types/gapi.client.logging/readme.md @@ -0,0 +1,81 @@ +# TypeScript typings for Stackdriver Logging API v2 +Writes log entries and manages your Stackdriver Logging configuration. +For detailed description please check [documentation](https://cloud.google.com/logging/docs/). + +## Installing + +Install typings for Stackdriver Logging API: +``` +npm install @types/gapi.client.logging@v2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('logging', 'v2', () => { + // now we can use gapi.client.logging + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform.read-only', + + // Administrate log data for your projects + 'https://www.googleapis.com/auth/logging.admin', + + // View log data for your projects + 'https://www.googleapis.com/auth/logging.read', + + // Submit log data for your projects + 'https://www.googleapis.com/auth/logging.write', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Stackdriver Logging API resources: + +```typescript + +/* +Lists log entries. Use this method to retrieve log entries from Stackdriver Logging. For ways to export log entries, see Exporting Logs. +*/ +await gapi.client.entries.list({ }); + +/* +Log entry resourcesWrites log entries to Stackdriver Logging. This API method is the only way to send log entries to Stackdriver Logging. This method is used, directly or indirectly, by the Stackdriver Logging agent (fluentd) and all logging libraries configured to use Stackdriver Logging. +*/ +await gapi.client.entries.write({ }); + +/* +Lists the descriptors for monitored resource types used by Stackdriver Logging. +*/ +await gapi.client.monitoredResourceDescriptors.list({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.logging/tsconfig.json b/types/gapi.client.logging/tsconfig.json new file mode 100644 index 0000000000..315ea3a5e0 --- /dev/null +++ b/types/gapi.client.logging/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.logging-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.logging/tslint.json b/types/gapi.client.logging/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.logging/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.manufacturers/gapi.client.manufacturers-tests.ts b/types/gapi.client.manufacturers/gapi.client.manufacturers-tests.ts new file mode 100644 index 0000000000..1a29657c4b --- /dev/null +++ b/types/gapi.client.manufacturers/gapi.client.manufacturers-tests.ts @@ -0,0 +1,32 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('manufacturers', 'v1', () => { + /** now we can use gapi.client.manufacturers */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage your product listings for Google Manufacturer Center */ + 'https://www.googleapis.com/auth/manufacturercenter', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + } +}); diff --git a/types/gapi.client.manufacturers/index.d.ts b/types/gapi.client.manufacturers/index.d.ts new file mode 100644 index 0000000000..db2738ec35 --- /dev/null +++ b/types/gapi.client.manufacturers/index.d.ts @@ -0,0 +1,550 @@ +// Type definitions for Google Manufacturer Center API v1 1.0 +// Project: https://developers.google.com/manufacturers/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://manufacturers.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Manufacturer Center API v1 */ + function load(name: "manufacturers", version: "v1"): PromiseLike<void>; + function load(name: "manufacturers", version: "v1", callback: () => any): void; + + const accounts: manufacturers.AccountsResource; + + namespace manufacturers { + interface Attributes { + /** + * The additional images of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#addlimage. + */ + additionalImageLink?: Image[]; + /** + * The target age group of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#agegroup. + */ + ageGroup?: string; + /** + * The brand name of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#brand. + */ + brand?: string; + /** + * The capacity of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#capacity. + */ + capacity?: Capacity; + /** + * The color of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#color. + */ + color?: string; + /** + * The count of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#count. + */ + count?: Count; + /** + * The description of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#description. + */ + description?: string; + /** + * The disclosure date of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#disclosure. + */ + disclosureDate?: string; + /** + * The rich format description of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#featuredesc. + */ + featureDescription?: FeatureDescription[]; + /** + * The flavor of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#flavor. + */ + flavor?: string; + /** + * The format of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#format. + */ + format?: string; + /** + * The target gender of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#gender. + */ + gender?: string; + /** + * The Global Trade Item Number (GTIN) of the product. For more information, + * see https://support.google.com/manufacturers/answer/6124116#gtin. + */ + gtin?: string[]; + /** + * The image of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#image. + */ + imageLink?: Image; + /** + * The item group id of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#itemgroupid. + */ + itemGroupId?: string; + /** + * The material of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#material. + */ + material?: string; + /** + * The Manufacturer Part Number (MPN) of the product. For more information, + * see https://support.google.com/manufacturers/answer/6124116#mpn. + */ + mpn?: string; + /** + * The pattern of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#pattern. + */ + pattern?: string; + /** + * The details of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#productdetail. + */ + productDetail?: ProductDetail[]; + /** + * The name of the group of products related to the product. For more + * information, see + * https://support.google.com/manufacturers/answer/6124116#productline. + */ + productLine?: string; + /** + * The canonical name of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#productname. + */ + productName?: string; + /** + * The URL of the detail page of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#productpage. + */ + productPageUrl?: string; + /** + * The category of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#producttype. + */ + productType?: string[]; + /** + * The release date of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#release. + */ + releaseDate?: string; + /** + * The scent of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#scent. + */ + scent?: string; + /** + * The size of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#size. + */ + size?: string; + /** + * The size system of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#sizesystem. + */ + sizeSystem?: string; + /** + * The size type of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#sizetype. + */ + sizeType?: string; + /** + * The suggested retail price (MSRP) of the product. For more information, + * see https://support.google.com/manufacturers/answer/6124116#price. + */ + suggestedRetailPrice?: Price; + /** + * The target account id. Should only be used in the accounts of the data + * partners. + */ + targetAccountId?: string; + /** + * The theme of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#theme. + */ + theme?: string; + /** + * The title of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#title. + */ + title?: string; + /** + * The videos of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#video. + */ + videoLink?: string[]; + } + interface Capacity { + /** The unit of the capacity, i.e., MB, GB, or TB. */ + unit?: string; + /** The numeric value of the capacity. */ + value?: string; + } + interface Count { + /** The unit in which these products are counted. */ + unit?: string; + /** The numeric value of the number of products in a package. */ + value?: string; + } + interface FeatureDescription { + /** A short description of the feature. */ + headline?: string; + /** An optional image describing the feature. */ + image?: Image; + /** A detailed description of the feature. */ + text?: string; + } + interface Image { + /** + * The URL of the image. For crawled images, this is the provided URL. For + * uploaded images, this is a serving URL from Google if the image has been + * processed successfully. + */ + imageUrl?: string; + /** + * The status of the image. + * @OutputOnly + */ + status?: string; + /** + * The type of the image, i.e., crawled or uploaded. + * @OutputOnly + */ + type?: string; + } + interface Issue { + /** + * If present, the attribute that triggered the issue. For more information + * about attributes, see + * https://support.google.com/manufacturers/answer/6124116. + */ + attribute?: string; + /** Description of the issue. */ + description?: string; + /** The severity of the issue. */ + severity?: string; + /** The timestamp when this issue appeared. */ + timestamp?: string; + /** + * The server-generated type of the issue, for example, + * “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc. + */ + type?: string; + } + interface ListProductsResponse { + /** The token for the retrieval of the next page of product statuses. */ + nextPageToken?: string; + /** List of the products. */ + products?: Product[]; + } + interface Price { + /** The numeric value of the price. */ + amount?: string; + /** The currency in which the price is denoted. */ + currency?: string; + } + interface Product { + /** + * The content language of the product as a two-letter ISO 639-1 language code + * (for example, en). + * @OutputOnly + */ + contentLanguage?: string; + /** + * Final attributes of the product. The final attributes are obtained by + * overriding the uploaded attributes with the manually provided and deleted + * attributes. Google systems only process, evaluate, review, and/or use final + * attributes. + * @OutputOnly + */ + finalAttributes?: Attributes; + /** + * A server-generated list of issues associated with the product. + * @OutputOnly + */ + issues?: Issue[]; + /** + * Names of the attributes of the product deleted manually via the + * Manufacturer Center UI. + * @OutputOnly + */ + manuallyDeletedAttributes?: string[]; + /** + * Attributes of the product provided manually via the Manufacturer Center UI. + * @OutputOnly + */ + manuallyProvidedAttributes?: Attributes; + /** + * Name in the format `{target_country}:{content_language}:{product_id}`. + * + * `target_country` - The target country of the product as a CLDR territory + * code (for example, US). + * + * `content_language` - The content language of the product as a two-letter + * ISO 639-1 language code (for example, en). + * + * `product_id` - The ID of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#id. + * @OutputOnly + */ + name?: string; + /** + * Parent ID in the format `accounts/{account_id}`. + * + * `account_id` - The ID of the Manufacturer Center account. + * @OutputOnly + */ + parent?: string; + /** + * The ID of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#id. + * @OutputOnly + */ + productId?: string; + /** + * The target country of the product as a CLDR territory code (for example, + * US). + * @OutputOnly + */ + targetCountry?: string; + /** + * Attributes of the product uploaded via the Manufacturer Center API or via + * feeds. + */ + uploadedAttributes?: Attributes; + } + interface ProductDetail { + /** The name of the attribute. */ + attributeName?: string; + /** The value of the attribute. */ + attributeValue?: string; + /** A short section name that can be reused between multiple product details. */ + sectionName?: string; + } + interface ProductsResource { + /** Deletes the product from a Manufacturer Center account. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Name in the format `{target_country}:{content_language}:{product_id}`. + * + * `target_country` - The target country of the product as a CLDR territory + * code (for example, US). + * + * `content_language` - The content language of the product as a two-letter + * ISO 639-1 language code (for example, en). + * + * `product_id` - The ID of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#id. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Parent ID in the format `accounts/{account_id}`. + * + * `account_id` - The ID of the Manufacturer Center account. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets the product from a Manufacturer Center account, including product + * issues. + * + * A recently updated product takes around 15 minutes to process. Changes are + * only visible after it has been processed. While some issues may be + * available once the product has been processed, other issues may take days + * to appear. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Name in the format `{target_country}:{content_language}:{product_id}`. + * + * `target_country` - The target country of the product as a CLDR territory + * code (for example, US). + * + * `content_language` - The content language of the product as a two-letter + * ISO 639-1 language code (for example, en). + * + * `product_id` - The ID of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#id. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Parent ID in the format `accounts/{account_id}`. + * + * `account_id` - The ID of the Manufacturer Center account. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Product>; + /** Lists all the products in a Manufacturer Center account. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Maximum number of product statuses to return in the response, used for + * paging. + */ + pageSize?: number; + /** The token returned by the previous request. */ + pageToken?: string; + /** + * Parent ID in the format `accounts/{account_id}`. + * + * `account_id` - The ID of the Manufacturer Center account. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListProductsResponse>; + /** + * Inserts or updates the product in a Manufacturer Center account. + * + * The checks at upload time are minimal. All required attributes need to be + * present for a product to be valid. Issues may show up later + * after the API has accepted an update for a product and it is possible to + * overwrite an existing valid product with an invalid product. To detect + * this, you should retrieve the product and check it for issues once the + * updated version is available. + * + * Inserted or updated products first need to be processed before they can be + * retrieved. Until then, new products will be unavailable, and retrieval + * of updated products will return the original state of the product. + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Name in the format `{target_country}:{content_language}:{product_id}`. + * + * `target_country` - The target country of the product as a CLDR territory + * code (for example, US). + * + * `content_language` - The content language of the product as a two-letter + * ISO 639-1 language code (for example, en). + * + * `product_id` - The ID of the product. For more information, see + * https://support.google.com/manufacturers/answer/6124116#id. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Parent ID in the format `accounts/{account_id}`. + * + * `account_id` - The ID of the Manufacturer Center account. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Product>; + } + interface AccountsResource { + products: ProductsResource; + } + } +} diff --git a/types/gapi.client.manufacturers/readme.md b/types/gapi.client.manufacturers/readme.md new file mode 100644 index 0000000000..8a41bf51ec --- /dev/null +++ b/types/gapi.client.manufacturers/readme.md @@ -0,0 +1,54 @@ +# TypeScript typings for Manufacturer Center API v1 +Public API for managing Manufacturer Center related data. +For detailed description please check [documentation](https://developers.google.com/manufacturers/). + +## Installing + +Install typings for Manufacturer Center API: +``` +npm install @types/gapi.client.manufacturers@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('manufacturers', 'v1', () => { + // now we can use gapi.client.manufacturers + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage your product listings for Google Manufacturer Center + 'https://www.googleapis.com/auth/manufacturercenter', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Manufacturer Center API resources: + +```typescript +``` \ No newline at end of file diff --git a/types/gapi.client.manufacturers/tsconfig.json b/types/gapi.client.manufacturers/tsconfig.json new file mode 100644 index 0000000000..143de33ad9 --- /dev/null +++ b/types/gapi.client.manufacturers/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.manufacturers-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.manufacturers/tslint.json b/types/gapi.client.manufacturers/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.manufacturers/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.mirror/gapi.client.mirror-tests.ts b/types/gapi.client.mirror/gapi.client.mirror-tests.ts new file mode 100644 index 0000000000..749956b12c --- /dev/null +++ b/types/gapi.client.mirror/gapi.client.mirror-tests.ts @@ -0,0 +1,116 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('mirror', 'v1', () => { + /** now we can use gapi.client.mirror */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View your location */ + 'https://www.googleapis.com/auth/glass.location', + /** View and manage your Glass timeline */ + 'https://www.googleapis.com/auth/glass.timeline', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Inserts a new account for a user */ + await gapi.client.accounts.insert({ + accountName: "accountName", + accountType: "accountType", + userToken: "userToken", + }); + /** Deletes a contact. */ + await gapi.client.contacts.delete({ + id: "id", + }); + /** Gets a single contact by ID. */ + await gapi.client.contacts.get({ + id: "id", + }); + /** Inserts a new contact. */ + await gapi.client.contacts.insert({ + }); + /** Retrieves a list of contacts for the authenticated user. */ + await gapi.client.contacts.list({ + }); + /** Updates a contact in place. This method supports patch semantics. */ + await gapi.client.contacts.patch({ + id: "id", + }); + /** Updates a contact in place. */ + await gapi.client.contacts.update({ + id: "id", + }); + /** Gets a single location by ID. */ + await gapi.client.locations.get({ + id: "id", + }); + /** Retrieves a list of locations for the user. */ + await gapi.client.locations.list({ + }); + /** Gets a single setting by ID. */ + await gapi.client.settings.get({ + id: "id", + }); + /** Deletes a subscription. */ + await gapi.client.subscriptions.delete({ + id: "id", + }); + /** Creates a new subscription. */ + await gapi.client.subscriptions.insert({ + }); + /** Retrieves a list of subscriptions for the authenticated user and service. */ + await gapi.client.subscriptions.list({ + }); + /** Updates an existing subscription in place. */ + await gapi.client.subscriptions.update({ + id: "id", + }); + /** Deletes a timeline item. */ + await gapi.client.timeline.delete({ + id: "id", + }); + /** Gets a single timeline item by ID. */ + await gapi.client.timeline.get({ + id: "id", + }); + /** Inserts a new item into the timeline. */ + await gapi.client.timeline.insert({ + }); + /** Retrieves a list of timeline items for the authenticated user. */ + await gapi.client.timeline.list({ + bundleId: "bundleId", + includeDeleted: true, + maxResults: 3, + orderBy: "orderBy", + pageToken: "pageToken", + pinnedOnly: true, + sourceItemId: "sourceItemId", + }); + /** Updates a timeline item in place. This method supports patch semantics. */ + await gapi.client.timeline.patch({ + id: "id", + }); + /** Updates a timeline item in place. */ + await gapi.client.timeline.update({ + id: "id", + }); + } +}); diff --git a/types/gapi.client.mirror/index.d.ts b/types/gapi.client.mirror/index.d.ts new file mode 100644 index 0000000000..4ff633511b --- /dev/null +++ b/types/gapi.client.mirror/index.d.ts @@ -0,0 +1,985 @@ +// Type definitions for Google Google Mirror API v1 1.0 +// Project: https://developers.google.com/glass +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/mirror/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Mirror API v1 */ + function load(name: "mirror", version: "v1"): PromiseLike<void>; + function load(name: "mirror", version: "v1", callback: () => any): void; + + const accounts: mirror.AccountsResource; + + const contacts: mirror.ContactsResource; + + const locations: mirror.LocationsResource; + + const settings: mirror.SettingsResource; + + const subscriptions: mirror.SubscriptionsResource; + + const timeline: mirror.TimelineResource; + + namespace mirror { + interface Account { + authTokens?: AuthToken[]; + features?: string[]; + password?: string; + userData?: UserData[]; + } + interface Attachment { + /** The MIME type of the attachment. */ + contentType?: string; + /** The URL for the content. */ + contentUrl?: string; + /** The ID of the attachment. */ + id?: string; + /** + * Indicates that the contentUrl is not available because the attachment content is still being processed. If the caller wishes to retrieve the content, + * it should try again later. + */ + isProcessingContent?: boolean; + } + interface AttachmentsListResponse { + /** The list of attachments. */ + items?: Attachment[]; + /** The type of resource. This is always mirror#attachmentsList. */ + kind?: string; + } + interface AuthToken { + authToken?: string; + type?: string; + } + interface Command { + /** + * The type of operation this command corresponds to. Allowed values are: + * - TAKE_A_NOTE - Shares a timeline item with the transcription of user speech from the "Take a note" voice menu command. + * - POST_AN_UPDATE - Shares a timeline item with the transcription of user speech from the "Post an update" voice menu command. + */ + type?: string; + } + interface Contact { + /** + * A list of voice menu commands that a contact can handle. Glass shows up to three contacts for each voice menu command. If there are more than that, the + * three contacts with the highest priority are shown for that particular command. + */ + acceptCommands?: Command[]; + /** + * A list of MIME types that a contact supports. The contact will be shown to the user if any of its acceptTypes matches any of the types of the + * attachments on the item. If no acceptTypes are given, the contact will be shown for all items. + */ + acceptTypes?: string[]; + /** The name to display for this contact. */ + displayName?: string; + /** An ID for this contact. This is generated by the application and is treated as an opaque token. */ + id?: string; + /** + * Set of image URLs to display for a contact. Most contacts will have a single image, but a "group" contact may include up to 8 image URLs and they will + * be resized and cropped into a mosaic on the client. + */ + imageUrls?: string[]; + /** The type of resource. This is always mirror#contact. */ + kind?: string; + /** Primary phone number for the contact. This can be a fully-qualified number, with country calling code and area code, or a local number. */ + phoneNumber?: string; + /** Priority for the contact to determine ordering in a list of contacts. Contacts with higher priorities will be shown before ones with lower priorities. */ + priority?: number; + /** + * A list of sharing features that a contact can handle. Allowed values are: + * - ADD_CAPTION + */ + sharingFeatures?: string[]; + /** The ID of the application that created this contact. This is populated by the API */ + source?: string; + /** + * Name of this contact as it should be pronounced. If this contact's name must be spoken as part of a voice disambiguation menu, this name is used as the + * expected pronunciation. This is useful for contact names with unpronounceable characters or whose display spelling is otherwise not phonetic. + */ + speakableName?: string; + /** + * The type for this contact. This is used for sorting in UIs. Allowed values are: + * - INDIVIDUAL - Represents a single person. This is the default. + * - GROUP - Represents more than a single person. + */ + type?: string; + } + interface ContactsListResponse { + /** Contact list. */ + items?: Contact[]; + /** The type of resource. This is always mirror#contacts. */ + kind?: string; + } + interface Location { + /** The accuracy of the location fix in meters. */ + accuracy?: number; + /** The full address of the location. */ + address?: string; + /** The name to be displayed. This may be a business name or a user-defined place, such as "Home". */ + displayName?: string; + /** The ID of the location. */ + id?: string; + /** The type of resource. This is always mirror#location. */ + kind?: string; + /** The latitude, in degrees. */ + latitude?: number; + /** The longitude, in degrees. */ + longitude?: number; + /** The time at which this location was captured, formatted according to RFC 3339. */ + timestamp?: string; + } + interface LocationsListResponse { + /** The list of locations. */ + items?: Location[]; + /** The type of resource. This is always mirror#locationsList. */ + kind?: string; + } + interface MenuItem { + /** + * Controls the behavior when the user picks the menu option. Allowed values are: + * - CUSTOM - Custom action set by the service. When the user selects this menuItem, the API triggers a notification to your callbackUrl with the + * userActions.type set to CUSTOM and the userActions.payload set to the ID of this menu item. This is the default value. + * - Built-in actions: + * - REPLY - Initiate a reply to the timeline item using the voice recording UI. The creator attribute must be set in the timeline item for this menu to + * be available. + * - REPLY_ALL - Same behavior as REPLY. The original timeline item's recipients will be added to the reply item. + * - DELETE - Delete the timeline item. + * - SHARE - Share the timeline item with the available contacts. + * - READ_ALOUD - Read the timeline item's speakableText aloud; if this field is not set, read the text field; if none of those fields are set, this menu + * item is ignored. + * - GET_MEDIA_INPUT - Allow users to provide media payloads to Glassware from a menu item (currently, only transcribed text from voice input is + * supported). Subscribe to notifications when users invoke this menu item to receive the timeline item ID. Retrieve the media from the timeline item in + * the payload property. + * - VOICE_CALL - Initiate a phone call using the timeline item's creator.phoneNumber attribute as recipient. + * - NAVIGATE - Navigate to the timeline item's location. + * - TOGGLE_PINNED - Toggle the isPinned state of the timeline item. + * - OPEN_URI - Open the payload of the menu item in the browser. + * - PLAY_VIDEO - Open the payload of the menu item in the Glass video player. + * - SEND_MESSAGE - Initiate sending a message to the timeline item's creator: + * - If the creator.phoneNumber is set and Glass is connected to an Android phone, the message is an SMS. + * - Otherwise, if the creator.email is set, the message is an email. + */ + action?: string; + /** + * The ContextualMenus.Command associated with this MenuItem (e.g. READ_ALOUD). The voice label for this command will be displayed in the voice menu and + * the touch label will be displayed in the touch menu. Note that the default menu value's display name will be overriden if you specify this property. + * Values that do not correspond to a ContextualMenus.Command name will be ignored. + */ + contextual_command?: string; + /** The ID for this menu item. This is generated by the application and is treated as an opaque token. */ + id?: string; + /** + * A generic payload whose meaning changes depending on this MenuItem's action. + * - When the action is OPEN_URI, the payload is the URL of the website to view. + * - When the action is PLAY_VIDEO, the payload is the streaming URL of the video + * - When the action is GET_MEDIA_INPUT, the payload is the text transcription of a user's speech input + */ + payload?: string; + /** If set to true on a CUSTOM menu item, that item will be removed from the menu after it is selected. */ + removeWhenSelected?: boolean; + /** + * For CUSTOM items, a list of values controlling the appearance of the menu item in each of its states. A value for the DEFAULT state must be provided. + * If the PENDING or CONFIRMED states are missing, they will not be shown. + */ + values?: MenuValue[]; + } + interface MenuValue { + /** + * The name to display for the menu item. If you specify this property for a built-in menu item, the default contextual voice command for that menu item + * is not shown. + */ + displayName?: string; + /** URL of an icon to display with the menu item. */ + iconUrl?: string; + /** + * The state that this value applies to. Allowed values are: + * - DEFAULT - Default value shown when displayed in the menuItems list. + * - PENDING - Value shown when the menuItem has been selected by the user but can still be cancelled. + * - CONFIRMED - Value shown when the menuItem has been selected by the user and can no longer be cancelled. + */ + state?: string; + } + interface Notification { + /** The collection that generated the notification. */ + collection?: string; + /** The ID of the item that generated the notification. */ + itemId?: string; + /** The type of operation that generated the notification. */ + operation?: string; + /** A list of actions taken by the user that triggered the notification. */ + userActions?: UserAction[]; + /** The user token provided by the service when it subscribed for notifications. */ + userToken?: string; + /** The secret verify token provided by the service when it subscribed for notifications. */ + verifyToken?: string; + } + interface NotificationConfig { + /** The time at which the notification should be delivered. */ + deliveryTime?: string; + /** + * Describes how important the notification is. Allowed values are: + * - DEFAULT - Notifications of default importance. A chime will be played to alert users. + */ + level?: string; + } + interface Setting { + /** + * The setting's ID. The following IDs are valid: + * - locale - The key to the user’s language/locale (BCP 47 identifier) that Glassware should use to render localized content. + * - timezone - The key to the user’s current time zone region as defined in the tz database. Example: America/Los_Angeles. + */ + id?: string; + /** The type of resource. This is always mirror#setting. */ + kind?: string; + /** The setting value, as a string. */ + value?: string; + } + interface Subscription { + /** The URL where notifications should be delivered (must start with https://). */ + callbackUrl?: string; + /** + * The collection to subscribe to. Allowed values are: + * - timeline - Changes in the timeline including insertion, deletion, and updates. + * - locations - Location updates. + * - settings - Settings updates. + */ + collection?: string; + /** The ID of the subscription. */ + id?: string; + /** The type of resource. This is always mirror#subscription. */ + kind?: string; + /** Container object for notifications. This is not populated in the Subscription resource. */ + notification?: Notification; + /** + * A list of operations that should be subscribed to. An empty list indicates that all operations on the collection should be subscribed to. Allowed + * values are: + * - UPDATE - The item has been updated. + * - INSERT - A new item has been inserted. + * - DELETE - The item has been deleted. + * - MENU_ACTION - A custom menu item has been triggered by the user. + */ + operation?: string[]; + /** The time at which this subscription was last modified, formatted according to RFC 3339. */ + updated?: string; + /** An opaque token sent to the subscriber in notifications so that it can determine the ID of the user. */ + userToken?: string; + /** A secret token sent to the subscriber in notifications so that it can verify that the notification was generated by Google. */ + verifyToken?: string; + } + interface SubscriptionsListResponse { + /** The list of subscriptions. */ + items?: Subscription[]; + /** The type of resource. This is always mirror#subscriptionsList. */ + kind?: string; + } + interface TimelineItem { + /** + * A list of media attachments associated with this item. As a convenience, you can refer to attachments in your HTML payloads with the attachment or cid + * scheme. For example: + * - attachment: <img src="attachment:attachment_index"> where attachment_index is the 0-based index of this array. + * - cid: <img src="cid:attachment_id"> where attachment_id is the ID of the attachment. + */ + attachments?: Attachment[]; + /** The bundle ID for this item. Services can specify a bundleId to group many items together. They appear under a single top-level item on the device. */ + bundleId?: string; + /** A canonical URL pointing to the canonical/high quality version of the data represented by the timeline item. */ + canonicalUrl?: string; + /** The time at which this item was created, formatted according to RFC 3339. */ + created?: string; + /** The user or group that created this item. */ + creator?: Contact; + /** + * The time that should be displayed when this item is viewed in the timeline, formatted according to RFC 3339. This user's timeline is sorted + * chronologically on display time, so this will also determine where the item is displayed in the timeline. If not set by the service, the display time + * defaults to the updated time. + */ + displayTime?: string; + /** ETag for this item. */ + etag?: string; + /** + * HTML content for this item. If both text and html are provided for an item, the html will be rendered in the timeline. + * Allowed HTML elements - You can use these elements in your timeline cards. + * + * - Headers: h1, h2, h3, h4, h5, h6 + * - Images: img + * - Lists: li, ol, ul + * - HTML5 semantics: article, aside, details, figure, figcaption, footer, header, nav, section, summary, time + * - Structural: blockquote, br, div, hr, p, span + * - Style: b, big, center, em, i, u, s, small, strike, strong, style, sub, sup + * - Tables: table, tbody, td, tfoot, th, thead, tr + * Blocked HTML elements: These elements and their contents are removed from HTML payloads. + * + * - Document headers: head, title + * - Embeds: audio, embed, object, source, video + * - Frames: frame, frameset + * - Scripting: applet, script + * Other elements: Any elements that aren't listed are removed, but their contents are preserved. + */ + html?: string; + /** The ID of the timeline item. This is unique within a user's timeline. */ + id?: string; + /** + * If this item was generated as a reply to another item, this field will be set to the ID of the item being replied to. This can be used to attach a + * reply to the appropriate conversation or post. + */ + inReplyTo?: string; + /** + * Whether this item is a bundle cover. + * + * If an item is marked as a bundle cover, it will be the entry point to the bundle of items that have the same bundleId as that item. It will be shown + * only on the main timeline — not within the opened bundle. + * + * On the main timeline, items that are shown are: + * - Items that have isBundleCover set to true + * - Items that do not have a bundleId In a bundle sub-timeline, items that are shown are: + * - Items that have the bundleId in question AND isBundleCover set to false + */ + isBundleCover?: boolean; + /** When true, indicates this item is deleted, and only the ID property is set. */ + isDeleted?: boolean; + /** + * When true, indicates this item is pinned, which means it's grouped alongside "active" items like navigation and hangouts, on the opposite side of the + * home screen from historical (non-pinned) timeline items. You can allow the user to toggle the value of this property with the TOGGLE_PINNED built-in + * menu item. + */ + isPinned?: boolean; + /** The type of resource. This is always mirror#timelineItem. */ + kind?: string; + /** The geographic location associated with this item. */ + location?: Location; + /** A list of menu items that will be presented to the user when this item is selected in the timeline. */ + menuItems?: MenuItem[]; + /** Controls how notifications for this item are presented on the device. If this is missing, no notification will be generated. */ + notification?: NotificationConfig; + /** + * For pinned items, this determines the order in which the item is displayed in the timeline, with a higher score appearing closer to the clock. Note: + * setting this field is currently not supported. + */ + pinScore?: number; + /** A list of users or groups that this item has been shared with. */ + recipients?: Contact[]; + /** A URL that can be used to retrieve this item. */ + selfLink?: string; + /** Opaque string you can use to map a timeline item to data in your own service. */ + sourceItemId?: string; + /** + * The speakable version of the content of this item. Along with the READ_ALOUD menu item, use this field to provide text that would be clearer when read + * aloud, or to provide extended information to what is displayed visually on Glass. + * + * Glassware should also specify the speakableType field, which will be spoken before this text in cases where the additional context is useful, for + * example when the user requests that the item be read aloud following a notification. + */ + speakableText?: string; + /** + * A speakable description of the type of this item. This will be announced to the user prior to reading the content of the item in cases where the + * additional context is useful, for example when the user requests that the item be read aloud following a notification. + * + * This should be a short, simple noun phrase such as "Email", "Text message", or "Daily Planet News Update". + * + * Glassware are encouraged to populate this field for every timeline item, even if the item does not contain speakableText or text so that the user can + * learn the type of the item without looking at the screen. + */ + speakableType?: string; + /** Text content of this item. */ + text?: string; + /** The title of this item. */ + title?: string; + /** The time at which this item was last modified, formatted according to RFC 3339. */ + updated?: string; + } + interface TimelineListResponse { + /** Items in the timeline. */ + items?: TimelineItem[]; + /** The type of resource. This is always mirror#timeline. */ + kind?: string; + /** The next page token. Provide this as the pageToken parameter in the request to retrieve the next page of results. */ + nextPageToken?: string; + } + interface UserAction { + /** + * An optional payload for the action. + * + * For actions of type CUSTOM, this is the ID of the custom menu item that was selected. + */ + payload?: string; + /** + * The type of action. The value of this can be: + * - SHARE - the user shared an item. + * - REPLY - the user replied to an item. + * - REPLY_ALL - the user replied to all recipients of an item. + * - CUSTOM - the user selected a custom menu item on the timeline item. + * - DELETE - the user deleted the item. + * - PIN - the user pinned the item. + * - UNPIN - the user unpinned the item. + * - LAUNCH - the user initiated a voice command. In the future, additional types may be added. UserActions with unrecognized types should be ignored. + */ + type?: string; + } + interface UserData { + key?: string; + value?: string; + } + interface AccountsResource { + /** Inserts a new account for a user */ + insert(request: { + /** The name of the account to be passed to the Android Account Manager. */ + accountName: string; + /** Account type to be passed to Android Account Manager. */ + accountType: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The ID for the user. */ + userToken: string; + }): Request<Account>; + } + interface ContactsResource { + /** Deletes a contact. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the contact. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets a single contact by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the contact. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Contact>; + /** Inserts a new contact. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Contact>; + /** Retrieves a list of contacts for the authenticated user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ContactsListResponse>; + /** Updates a contact in place. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the contact. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Contact>; + /** Updates a contact in place. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the contact. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Contact>; + } + interface LocationsResource { + /** Gets a single location by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the location or latest for the last known location. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Location>; + /** Retrieves a list of locations for the user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LocationsListResponse>; + } + interface SettingsResource { + /** Gets a single setting by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The ID of the setting. The following IDs are valid: + * - locale - The key to the user’s language/locale (BCP 47 identifier) that Glassware should use to render localized content. + * - timezone - The key to the user’s current time zone region as defined in the tz database. Example: America/Los_Angeles. + */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Setting>; + } + interface SubscriptionsResource { + /** Deletes a subscription. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the subscription. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Creates a new subscription. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Subscription>; + /** Retrieves a list of subscriptions for the authenticated user and service. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SubscriptionsListResponse>; + /** Updates an existing subscription in place. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the subscription. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Subscription>; + } + interface AttachmentsResource { + /** Deletes an attachment from a timeline item. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the attachment. */ + attachmentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the timeline item the attachment belongs to. */ + itemId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves an attachment on a timeline item by item ID and attachment ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the attachment. */ + attachmentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the timeline item the attachment belongs to. */ + itemId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Attachment>; + /** Adds a new attachment to a timeline item. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the timeline item the attachment belongs to. */ + itemId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Attachment>; + /** Returns a list of attachments for a timeline item. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the timeline item whose attachments should be listed. */ + itemId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AttachmentsListResponse>; + } + interface TimelineResource { + /** Deletes a timeline item. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the timeline item. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets a single timeline item by ID. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the timeline item. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TimelineItem>; + /** Inserts a new item into the timeline. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TimelineItem>; + /** Retrieves a list of timeline items for the authenticated user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** If provided, only items with the given bundleId will be returned. */ + bundleId?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** If true, tombstone records for deleted items will be returned. */ + includeDeleted?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of items to include in the response, used for paging. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Controls the order in which timeline items are returned. */ + orderBy?: string; + /** Token for the page of results to return. */ + pageToken?: string; + /** If true, only pinned items will be returned. */ + pinnedOnly?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** If provided, only items with the given sourceItemId will be returned. */ + sourceItemId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TimelineListResponse>; + /** Updates a timeline item in place. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the timeline item. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TimelineItem>; + /** Updates a timeline item in place. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the timeline item. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TimelineItem>; + attachments: AttachmentsResource; + } + } +} diff --git a/types/gapi.client.mirror/readme.md b/types/gapi.client.mirror/readme.md new file mode 100644 index 0000000000..c168b12928 --- /dev/null +++ b/types/gapi.client.mirror/readme.md @@ -0,0 +1,157 @@ +# TypeScript typings for Google Mirror API v1 +Interacts with Glass users via the timeline. +For detailed description please check [documentation](https://developers.google.com/glass). + +## Installing + +Install typings for Google Mirror API: +``` +npm install @types/gapi.client.mirror@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('mirror', 'v1', () => { + // now we can use gapi.client.mirror + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View your location + 'https://www.googleapis.com/auth/glass.location', + + // View and manage your Glass timeline + 'https://www.googleapis.com/auth/glass.timeline', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Mirror API resources: + +```typescript + +/* +Inserts a new account for a user +*/ +await gapi.client.accounts.insert({ accountName: "accountName", accountType: "accountType", userToken: "userToken", }); + +/* +Deletes a contact. +*/ +await gapi.client.contacts.delete({ id: "id", }); + +/* +Gets a single contact by ID. +*/ +await gapi.client.contacts.get({ id: "id", }); + +/* +Inserts a new contact. +*/ +await gapi.client.contacts.insert({ }); + +/* +Retrieves a list of contacts for the authenticated user. +*/ +await gapi.client.contacts.list({ }); + +/* +Updates a contact in place. This method supports patch semantics. +*/ +await gapi.client.contacts.patch({ id: "id", }); + +/* +Updates a contact in place. +*/ +await gapi.client.contacts.update({ id: "id", }); + +/* +Gets a single location by ID. +*/ +await gapi.client.locations.get({ id: "id", }); + +/* +Retrieves a list of locations for the user. +*/ +await gapi.client.locations.list({ }); + +/* +Gets a single setting by ID. +*/ +await gapi.client.settings.get({ id: "id", }); + +/* +Deletes a subscription. +*/ +await gapi.client.subscriptions.delete({ id: "id", }); + +/* +Creates a new subscription. +*/ +await gapi.client.subscriptions.insert({ }); + +/* +Retrieves a list of subscriptions for the authenticated user and service. +*/ +await gapi.client.subscriptions.list({ }); + +/* +Updates an existing subscription in place. +*/ +await gapi.client.subscriptions.update({ id: "id", }); + +/* +Deletes a timeline item. +*/ +await gapi.client.timeline.delete({ id: "id", }); + +/* +Gets a single timeline item by ID. +*/ +await gapi.client.timeline.get({ id: "id", }); + +/* +Inserts a new item into the timeline. +*/ +await gapi.client.timeline.insert({ }); + +/* +Retrieves a list of timeline items for the authenticated user. +*/ +await gapi.client.timeline.list({ }); + +/* +Updates a timeline item in place. This method supports patch semantics. +*/ +await gapi.client.timeline.patch({ id: "id", }); + +/* +Updates a timeline item in place. +*/ +await gapi.client.timeline.update({ id: "id", }); +``` \ No newline at end of file diff --git a/types/gapi.client.mirror/tsconfig.json b/types/gapi.client.mirror/tsconfig.json new file mode 100644 index 0000000000..3404622c43 --- /dev/null +++ b/types/gapi.client.mirror/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.mirror-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.mirror/tslint.json b/types/gapi.client.mirror/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.mirror/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.ml/gapi.client.ml-tests.ts b/types/gapi.client.ml/gapi.client.ml-tests.ts new file mode 100644 index 0000000000..6413d28665 --- /dev/null +++ b/types/gapi.client.ml/gapi.client.ml-tests.ts @@ -0,0 +1,49 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('ml', 'v1', () => { + /** now we can use gapi.client.ml */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Get the service account information associated with your project. You need + * this information in order to grant the service account persmissions for + * the Google Cloud Storage location where you put your model training code + * for training the model with Google Cloud Machine Learning. + */ + await gapi.client.projects.getConfig({ + name: "name", + }); + /** + * Performs prediction on the data in the request. + * + * **** REMOVE FROM GENERATED DOCUMENTATION + */ + await gapi.client.projects.predict({ + name: "name", + }); + } +}); diff --git a/types/gapi.client.ml/index.d.ts b/types/gapi.client.ml/index.d.ts new file mode 100644 index 0000000000..1801e3c6e2 --- /dev/null +++ b/types/gapi.client.ml/index.d.ts @@ -0,0 +1,1855 @@ +// Type definitions for Google Google Cloud Machine Learning Engine v1 1.0 +// Project: https://cloud.google.com/ml/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://ml.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Cloud Machine Learning Engine v1 */ + function load(name: "ml", version: "v1"): PromiseLike<void>; + function load(name: "ml", version: "v1", callback: () => any): void; + + const projects: ml.ProjectsResource; + + namespace ml { + interface GoogleApi__HttpBody { + /** The HTTP Content-Type string representing the content type of the body. */ + contentType?: string; + /** HTTP body binary data. */ + data?: string; + /** + * Application specific response metadata. Must be set in the first response + * for streaming APIs. + */ + extensions?: Array<Record<string, any>>; + } + interface GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric { + /** The objective value at this training step. */ + objectiveValue?: number; + /** The global training step for this metric. */ + trainingStep?: string; + } + interface GoogleCloudMlV1__AutoScaling { + /** + * Optional. The minimum number of nodes to allocate for this model. These + * nodes are always up, starting from the time the model is deployed, so the + * cost of operating this model will be at least + * `rate` * `min_nodes` * number of hours since last billing cycle, + * where `rate` is the cost per node-hour as documented in + * [pricing](https://cloud.google.com/ml-engine/pricing#prediction_pricing), + * even if no predictions are performed. There is additional cost for each + * prediction performed. + * + * Unlike manual scaling, if the load gets too heavy for the nodes + * that are up, the service will automatically add nodes to handle the + * increased load as well as scale back as traffic drops, always maintaining + * at least `min_nodes`. You will be charged for the time in which additional + * nodes are used. + * + * If not specified, `min_nodes` defaults to 0, in which case, when traffic + * to a model stops (and after a cool-down period), nodes will be shut down + * and no charges will be incurred until traffic to the model resumes. + */ + minNodes?: number; + } + interface GoogleCloudMlV1__GetConfigResponse { + /** The service account Cloud ML uses to access resources in the project. */ + serviceAccount?: string; + /** The project number for `service_account`. */ + serviceAccountProject?: string; + } + interface GoogleCloudMlV1__HyperparameterOutput { + /** + * All recorded object metrics for this trial. This field is not currently + * populated. + */ + allMetrics?: GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric[]; + /** The final objective metric seen for this trial. */ + finalMetric?: GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric; + /** The hyperparameters given to this trial. */ + hyperparameters?: Record<string, string>; + /** The trial id for these results. */ + trialId?: string; + } + interface GoogleCloudMlV1__HyperparameterSpec { + /** + * Required. The type of goal to use for tuning. Available types are + * `MAXIMIZE` and `MINIMIZE`. + * + * Defaults to `MAXIMIZE`. + */ + goal?: string; + /** + * Optional. The Tensorflow summary tag name to use for optimizing trials. For + * current versions of Tensorflow, this tag name should exactly match what is + * shown in Tensorboard, including all scopes. For versions of Tensorflow + * prior to 0.12, this should be only the tag passed to tf.Summary. + * By default, "training/hptuning/metric" will be used. + */ + hyperparameterMetricTag?: string; + /** + * Optional. The number of training trials to run concurrently. + * You can reduce the time it takes to perform hyperparameter tuning by adding + * trials in parallel. However, each trail only benefits from the information + * gained in completed trials. That means that a trial does not get access to + * the results of trials running at the same time, which could reduce the + * quality of the overall optimization. + * + * Each trial will use the same scale tier and machine types. + * + * Defaults to one. + */ + maxParallelTrials?: number; + /** + * Optional. How many training trials should be attempted to optimize + * the specified hyperparameters. + * + * Defaults to one. + */ + maxTrials?: number; + /** Required. The set of parameters to tune. */ + params?: GoogleCloudMlV1__ParameterSpec[]; + } + interface GoogleCloudMlV1__Job { + /** Output only. When the job was created. */ + createTime?: string; + /** Output only. When the job processing was completed. */ + endTime?: string; + /** Output only. The details of a failure or a cancellation. */ + errorMessage?: string; + /** Required. The user-specified id of the job. */ + jobId?: string; + /** Input parameters to create a prediction job. */ + predictionInput?: GoogleCloudMlV1__PredictionInput; + /** The current prediction job result. */ + predictionOutput?: GoogleCloudMlV1__PredictionOutput; + /** Output only. When the job processing was started. */ + startTime?: string; + /** Output only. The detailed state of a job. */ + state?: string; + /** Input parameters to create a training job. */ + trainingInput?: GoogleCloudMlV1__TrainingInput; + /** The current training job result. */ + trainingOutput?: GoogleCloudMlV1__TrainingOutput; + } + interface GoogleCloudMlV1__ListJobsResponse { + /** The list of jobs. */ + jobs?: GoogleCloudMlV1__Job[]; + /** + * Optional. Pass this token as the `page_token` field of the request for a + * subsequent call. + */ + nextPageToken?: string; + } + interface GoogleCloudMlV1__ListModelsResponse { + /** The list of models. */ + models?: GoogleCloudMlV1__Model[]; + /** + * Optional. Pass this token as the `page_token` field of the request for a + * subsequent call. + */ + nextPageToken?: string; + } + interface GoogleCloudMlV1__ListVersionsResponse { + /** + * Optional. Pass this token as the `page_token` field of the request for a + * subsequent call. + */ + nextPageToken?: string; + /** The list of versions. */ + versions?: GoogleCloudMlV1__Version[]; + } + interface GoogleCloudMlV1__ManualScaling { + /** + * The number of nodes to allocate for this model. These nodes are always up, + * starting from the time the model is deployed, so the cost of operating + * this model will be proportional to `nodes` * number of hours since + * last billing cycle plus the cost for each prediction performed. + */ + nodes?: number; + } + interface GoogleCloudMlV1__Model { + /** + * Output only. The default version of the model. This version will be used to + * handle prediction requests that do not specify a version. + * + * You can change the default version by calling + * [projects.methods.versions.setDefault](/ml-engine/reference/rest/v1/projects.models.versions/setDefault). + */ + defaultVersion?: GoogleCloudMlV1__Version; + /** Optional. The description specified for the model when it was created. */ + description?: string; + /** + * Required. The name specified for the model when it was created. + * + * The model name must be unique within the project it is created in. + */ + name?: string; + /** + * Optional. If true, enables StackDriver Logging for online prediction. + * Default is false. + */ + onlinePredictionLogging?: boolean; + /** + * Optional. The list of regions where the model is going to be deployed. + * Currently only one region per model is supported. + * Defaults to 'us-central1' if nothing is set. + * Note: + * * No matter where a model is deployed, it can always be accessed by + * users from anywhere, both for online and batch prediction. + * * The region for a batch prediction job is set by the region field when + * submitting the batch prediction job and does not take its value from + * this field. + */ + regions?: string[]; + } + interface GoogleCloudMlV1__OperationMetadata { + /** The time the operation was submitted. */ + createTime?: string; + /** The time operation processing completed. */ + endTime?: string; + /** Indicates whether a request to cancel this operation has been made. */ + isCancellationRequested?: boolean; + /** Contains the name of the model associated with the operation. */ + modelName?: string; + /** The operation type. */ + operationType?: string; + /** The time operation processing started. */ + startTime?: string; + /** Contains the version associated with the operation. */ + version?: GoogleCloudMlV1__Version; + } + interface GoogleCloudMlV1__ParameterSpec { + /** Required if type is `CATEGORICAL`. The list of possible categories. */ + categoricalValues?: string[]; + /** + * Required if type is `DISCRETE`. + * A list of feasible points. + * The list should be in strictly increasing order. For instance, this + * parameter might have possible settings of 1.5, 2.5, and 4.0. This list + * should not contain more than 1,000 values. + */ + discreteValues?: number[]; + /** + * Required if typeis `DOUBLE` or `INTEGER`. This field + * should be unset if type is `CATEGORICAL`. This value should be integers if + * type is `INTEGER`. + */ + maxValue?: number; + /** + * Required if type is `DOUBLE` or `INTEGER`. This field + * should be unset if type is `CATEGORICAL`. This value should be integers if + * type is INTEGER. + */ + minValue?: number; + /** + * Required. The parameter name must be unique amongst all ParameterConfigs in + * a HyperparameterSpec message. E.g., "learning_rate". + */ + parameterName?: string; + /** + * Optional. How the parameter should be scaled to the hypercube. + * Leave unset for categorical parameters. + * Some kind of scaling is strongly recommended for real or integral + * parameters (e.g., `UNIT_LINEAR_SCALE`). + */ + scaleType?: string; + /** Required. The type of the parameter. */ + type?: string; + } + interface GoogleCloudMlV1__PredictRequest { + /** Required. The prediction request body. */ + httpBody?: GoogleApi__HttpBody; + } + interface GoogleCloudMlV1__PredictionInput { + /** + * Optional. Number of records per batch, defaults to 64. + * The service will buffer batch_size number of records in memory before + * invoking one Tensorflow prediction call internally. So take the record + * size and memory available into consideration when setting this parameter. + */ + batchSize?: string; + /** Required. The format of the input data files. */ + dataFormat?: string; + /** + * Required. The Google Cloud Storage location of the input data files. + * May contain wildcards. + */ + inputPaths?: string[]; + /** + * Optional. The maximum number of workers to be used for parallel processing. + * Defaults to 10 if not specified. + */ + maxWorkerCount?: string; + /** + * Use this field if you want to use the default version for the specified + * model. The string must use the following format: + * + * `"projects/<var>[YOUR_PROJECT]</var>/models/<var>[YOUR_MODEL]</var>"` + */ + modelName?: string; + /** Required. The output Google Cloud Storage location. */ + outputPath?: string; + /** Required. The Google Compute Engine region to run the prediction job in. */ + region?: string; + /** + * Optional. The Google Cloud ML runtime version to use for this batch + * prediction. If not set, Google Cloud ML will pick the runtime version used + * during the CreateVersion request for this model version, or choose the + * latest stable version when model version information is not available + * such as when the model is specified by uri. + */ + runtimeVersion?: string; + /** + * Use this field if you want to specify a Google Cloud Storage path for + * the model to use. + */ + uri?: string; + /** + * Use this field if you want to specify a version of the model to use. The + * string is formatted the same way as `model_version`, with the addition + * of the version information: + * + * `"projects/<var>[YOUR_PROJECT]</var>/models/<var>YOUR_MODEL/versions/<var>[YOUR_VERSION]</var>"` + */ + versionName?: string; + } + interface GoogleCloudMlV1__PredictionOutput { + /** The number of data instances which resulted in errors. */ + errorCount?: string; + /** Node hours used by the batch prediction job. */ + nodeHours?: number; + /** The output Google Cloud Storage location provided at the job creation time. */ + outputPath?: string; + /** The number of generated predictions. */ + predictionCount?: string; + } + interface GoogleCloudMlV1__TrainingInput { + /** Optional. Command line arguments to pass to the program. */ + args?: string[]; + /** Optional. The set of Hyperparameters to tune. */ + hyperparameters?: GoogleCloudMlV1__HyperparameterSpec; + /** + * Optional. A Google Cloud Storage path in which to store training outputs + * and other data needed for training. This path is passed to your TensorFlow + * program as the 'job_dir' command-line argument. The benefit of specifying + * this field is that Cloud ML validates the path for use in training. + */ + jobDir?: string; + /** + * Optional. Specifies the type of virtual machine to use for your training + * job's master worker. + * + * The following types are supported: + * + * <dl> + * <dt>standard</dt> + * <dd> + * A basic machine configuration suitable for training simple models with + * small to moderate datasets. + * </dd> + * <dt>large_model</dt> + * <dd> + * A machine with a lot of memory, specially suited for parameter servers + * when your model is large (having many hidden layers or layers with very + * large numbers of nodes). + * </dd> + * <dt>complex_model_s</dt> + * <dd> + * A machine suitable for the master and workers of the cluster when your + * model requires more computation than the standard machine can handle + * satisfactorily. + * </dd> + * <dt>complex_model_m</dt> + * <dd> + * A machine with roughly twice the number of cores and roughly double the + * memory of <code suppresswarning="true">complex_model_s</code>. + * </dd> + * <dt>complex_model_l</dt> + * <dd> + * A machine with roughly twice the number of cores and roughly double the + * memory of <code suppresswarning="true">complex_model_m</code>. + * </dd> + * <dt>standard_gpu</dt> + * <dd> + * A machine equivalent to <code suppresswarning="true">standard</code> that + * also includes a + * <a href="/ml-engine/docs/how-tos/using-gpus"> + * GPU that you can use in your trainer</a>. + * </dd> + * <dt>complex_model_m_gpu</dt> + * <dd> + * A machine equivalent to + * <code suppresswarning="true">complex_model_m</code> that also includes + * four GPUs. + * </dd> + * </dl> + * + * You must set this value when `scaleTier` is set to `CUSTOM`. + */ + masterType?: string; + /** + * Required. The Google Cloud Storage location of the packages with + * the training program and any additional dependencies. + * The maximum number of package URIs is 100. + */ + packageUris?: string[]; + /** + * Optional. The number of parameter server replicas to use for the training + * job. Each replica in the cluster will be of the type specified in + * `parameter_server_type`. + * + * This value can only be used when `scale_tier` is set to `CUSTOM`.If you + * set this value, you must also set `parameter_server_type`. + */ + parameterServerCount?: string; + /** + * Optional. Specifies the type of virtual machine to use for your training + * job's parameter server. + * + * The supported values are the same as those described in the entry for + * `master_type`. + * + * This value must be present when `scaleTier` is set to `CUSTOM` and + * `parameter_server_count` is greater than zero. + */ + parameterServerType?: string; + /** Required. The Python module name to run after installing the packages. */ + pythonModule?: string; + /** Required. The Google Compute Engine region to run the training job in. */ + region?: string; + /** + * Optional. The Google Cloud ML runtime version to use for training. If not + * set, Google Cloud ML will choose the latest stable version. + */ + runtimeVersion?: string; + /** + * Required. Specifies the machine types, the number of replicas for workers + * and parameter servers. + */ + scaleTier?: string; + /** + * Optional. The number of worker replicas to use for the training job. Each + * replica in the cluster will be of the type specified in `worker_type`. + * + * This value can only be used when `scale_tier` is set to `CUSTOM`. If you + * set this value, you must also set `worker_type`. + */ + workerCount?: string; + /** + * Optional. Specifies the type of virtual machine to use for your training + * job's worker nodes. + * + * The supported values are the same as those described in the entry for + * `masterType`. + * + * This value must be present when `scaleTier` is set to `CUSTOM` and + * `workerCount` is greater than zero. + */ + workerType?: string; + } + interface GoogleCloudMlV1__TrainingOutput { + /** + * The number of hyperparameter tuning trials that completed successfully. + * Only set for hyperparameter tuning jobs. + */ + completedTrialCount?: string; + /** The amount of ML units consumed by the job. */ + consumedMLUnits?: number; + /** Whether this job is a hyperparameter tuning job. */ + isHyperparameterTuningJob?: boolean; + /** + * Results for individual Hyperparameter trials. + * Only set for hyperparameter tuning jobs. + */ + trials?: GoogleCloudMlV1__HyperparameterOutput[]; + } + interface GoogleCloudMlV1__Version { + /** + * Automatically scale the number of nodes used to serve the model in + * response to increases and decreases in traffic. Care should be + * taken to ramp up traffic according to the model's ability to scale + * or you will start seeing increases in latency and 429 response codes. + */ + autoScaling?: GoogleCloudMlV1__AutoScaling; + /** Output only. The time the version was created. */ + createTime?: string; + /** + * Required. The Google Cloud Storage location of the trained model used to + * create the version. See the + * [overview of model + * deployment](/ml-engine/docs/concepts/deployment-overview) for more + * information. + * + * When passing Version to + * [projects.models.versions.create](/ml-engine/reference/rest/v1/projects.models.versions/create) + * the model service uses the specified location as the source of the model. + * Once deployed, the model version is hosted by the prediction service, so + * this location is useful only as a historical record. + * The total number of model files can't exceed 1000. + */ + deploymentUri?: string; + /** Optional. The description specified for the version when it was created. */ + description?: string; + /** Output only. The details of a failure or a cancellation. */ + errorMessage?: string; + /** + * Output only. If true, this version will be used to handle prediction + * requests that do not specify a version. + * + * You can change the default version by calling + * [projects.methods.versions.setDefault](/ml-engine/reference/rest/v1/projects.models.versions/setDefault). + */ + isDefault?: boolean; + /** Output only. The time the version was last used for prediction. */ + lastUseTime?: string; + /** + * Manually select the number of nodes to use for serving the + * model. You should generally use `auto_scaling` with an appropriate + * `min_nodes` instead, but this option is available if you want more + * predictable billing. Beware that latency and error rates will increase + * if the traffic exceeds that capability of the system to serve it based + * on the selected number of nodes. + */ + manualScaling?: GoogleCloudMlV1__ManualScaling; + /** + * Required.The name specified for the version when it was created. + * + * The version name must be unique within the model it is created in. + */ + name?: string; + /** + * Optional. The Google Cloud ML runtime version to use for this deployment. + * If not set, Google Cloud ML will choose a version. + */ + runtimeVersion?: string; + /** Output only. The state of a version. */ + state?: string; + } + interface GoogleIamV1__AuditConfig { + /** + * The configuration for logging of each type of permission. + * Next ID: 4 + */ + auditLogConfigs?: GoogleIamV1__AuditLogConfig[]; + exemptedMembers?: string[]; + /** + * Specifies a service that will be enabled for audit logging. + * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. + * `allServices` is a special value that covers all services. + */ + service?: string; + } + interface GoogleIamV1__AuditLogConfig { + /** + * Specifies the identities that do not cause logging for this type of + * permission. + * Follows the same format of Binding.members. + */ + exemptedMembers?: string[]; + /** The log type that this config enables. */ + logType?: string; + } + interface GoogleIamV1__Binding { + /** + * The condition that is associated with this binding. + * NOTE: an unsatisfied condition will not allow user access via current + * binding. Different bindings, including their conditions, are examined + * independently. + * This field is GOOGLE_INTERNAL. + */ + condition?: GoogleType__Expr; + /** + * Specifies the identities requesting access for a Cloud Platform resource. + * `members` can have the following values: + * + * * `allUsers`: A special identifier that represents anyone who is + * on the internet; with or without a Google account. + * + * * `allAuthenticatedUsers`: A special identifier that represents anyone + * who is authenticated with a Google account or a service account. + * + * * `user:{emailid}`: An email address that represents a specific Google + * account. For example, `alice@gmail.com` or `joe@example.com`. + * + * + * * `serviceAccount:{emailid}`: An email address that represents a service + * account. For example, `my-other-app@appspot.gserviceaccount.com`. + * + * * `group:{emailid}`: An email address that represents a Google group. + * For example, `admins@example.com`. + * + * + * * `domain:{domain}`: A Google Apps domain name that represents all the + * users of that domain. For example, `google.com` or `example.com`. + */ + members?: string[]; + /** + * Role that is assigned to `members`. + * For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + * Required + */ + role?: string; + } + interface GoogleIamV1__Policy { + /** Specifies cloud audit logging configuration for this policy. */ + auditConfigs?: GoogleIamV1__AuditConfig[]; + /** + * Associates a list of `members` to a `role`. + * `bindings` with no members will result in an error. + */ + bindings?: GoogleIamV1__Binding[]; + /** + * `etag` is used for optimistic concurrency control as a way to help + * prevent simultaneous updates of a policy from overwriting each other. + * It is strongly suggested that systems make use of the `etag` in the + * read-modify-write cycle to perform policy updates in order to avoid race + * conditions: An `etag` is returned in the response to `getIamPolicy`, and + * systems are expected to put that etag in the request to `setIamPolicy` to + * ensure that their change will be applied to the same version of the policy. + * + * If no `etag` is provided in the call to `setIamPolicy`, then the existing + * policy is overwritten blindly. + */ + etag?: string; + iamOwned?: boolean; + /** Version of the `Policy`. The default version is 0. */ + version?: number; + } + interface GoogleIamV1__SetIamPolicyRequest { + /** + * REQUIRED: The complete policy to be applied to the `resource`. The size of + * the policy is limited to a few 10s of KB. An empty policy is a + * valid policy but certain Cloud Platform services (such as Projects) + * might reject them. + */ + policy?: GoogleIamV1__Policy; + /** + * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only + * the fields in the mask will be modified. If no mask is provided, the + * following default mask is used: + * paths: "bindings, etag" + * This field is only used by Cloud IAM. + */ + updateMask?: string; + } + interface GoogleIamV1__TestIamPermissionsRequest { + /** + * The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more + * information see + * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + */ + permissions?: string[]; + } + interface GoogleIamV1__TestIamPermissionsResponse { + /** + * A subset of `TestPermissionsRequest.permissions` that the caller is + * allowed. + */ + permissions?: string[]; + } + interface GoogleLongrunning__ListOperationsResponse { + /** The standard List next-page token. */ + nextPageToken?: string; + /** A list of operations that matches the specified filter in the request. */ + operations?: GoogleLongrunning__Operation[]; + } + interface GoogleLongrunning__Operation { + /** + * If the value is `false`, it means the operation is still in progress. + * If `true`, the operation is completed, and either `error` or `response` is + * available. + */ + done?: boolean; + /** The error result of the operation in case of failure or cancellation. */ + error?: GoogleRpc__Status; + /** + * Service-specific metadata associated with the operation. It typically + * contains progress information and common metadata such as create time. + * Some services might not provide such metadata. Any method that returns a + * long-running operation should document the metadata type, if any. + */ + metadata?: Record<string, any>; + /** + * The server-assigned name, which is only unique within the same service that + * originally returns it. If you use the default HTTP mapping, the + * `name` should have the format of `operations/some/unique/name`. + */ + name?: string; + /** + * The normal response of the operation in case of success. If the original + * method returns no data on success, such as `Delete`, the response is + * `google.protobuf.Empty`. If the original method is standard + * `Get`/`Create`/`Update`, the response should be the resource. For other + * methods, the response should have the type `XxxResponse`, where `Xxx` + * is the original method name. For example, if the original method name + * is `TakeSnapshot()`, the inferred response type is + * `TakeSnapshotResponse`. + */ + response?: Record<string, any>; + } + interface GoogleRpc__Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface GoogleType__Expr { + /** + * An optional description of the expression. This is a longer text which + * describes the expression, e.g. when hovered over it in a UI. + */ + description?: string; + /** + * Textual representation of an expression in + * Common Expression Language syntax. + * + * The application context of the containing message determines which + * well-known feature set of CEL is supported. + */ + expression?: string; + /** + * An optional string indicating the location of the expression for error + * reporting, e.g. a file name and a position in the file. + */ + location?: string; + /** + * An optional title for the expression, i.e. a short string describing + * its purpose. This can be used e.g. in UIs which allow to enter the + * expression. + */ + title?: string; + } + interface JobsResource { + /** Cancels a running job. */ + cancel(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Required. The name of the job to cancel. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Creates a training or a batch prediction job. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Required. The project name. */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleCloudMlV1__Job>; + /** Describes a job. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Required. The name of the job to get the description of. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleCloudMlV1__Job>; + /** + * Gets the access control policy for a resource. + * Returns an empty policy if the resource exists and does not have a policy + * set. + */ + getIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleIamV1__Policy>; + /** Lists the jobs in the project. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Optional. Specifies the subset of jobs to retrieve. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional. The number of jobs to retrieve per "page" of results. If there + * are more remaining results than this number, the response message will + * contain a valid value in the `next_page_token` field. + * + * The default value is 20, and the maximum page size is 100. + */ + pageSize?: number; + /** + * Optional. A page token to request the next page of results. + * + * You get the token from the `next_page_token` field of the response from + * the previous call. + */ + pageToken?: string; + /** Required. The name of the project for which to list jobs. */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleCloudMlV1__ListJobsResponse>; + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. + */ + setIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being specified. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleIamV1__Policy>; + /** + * Returns permissions that a caller has on the specified resource. + * If the resource does not exist, this will return an empty set of + * permissions, not a NOT_FOUND error. + * + * Note: This operation is designed to be used for building permission-aware + * UIs and command-line tools, not for authorization checking. This operation + * may "fail open" without warning. + */ + testIamPermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy detail is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleIamV1__TestIamPermissionsResponse>; + } + interface VersionsResource { + /** + * Creates a new version of a model from a trained TensorFlow model. + * + * If the version created in the cloud by this call is the first deployed + * version of the specified model, it will be made the default version of the + * model. When you add a version to a model that already has one or more + * versions, the default version does not automatically change. If you want a + * new version to be the default, you must call + * [projects.models.versions.setDefault](/ml-engine/reference/rest/v1/projects.models.versions/setDefault). + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Required. The name of the model. */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleLongrunning__Operation>; + /** + * Deletes a model version. + * + * Each model can have multiple versions deployed and in use at any given + * time. Use this method to remove a single version. + * + * Note: You cannot delete the version that is set as the default version + * of the model unless it is the only remaining version. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The name of the version. You can get the names of all the + * versions of a model by calling + * [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.versions/list). + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleLongrunning__Operation>; + /** + * Gets information about a model version. + * + * Models can have multiple versions. You can call + * [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.versions/list) + * to get the same information that this method returns for all of the + * versions of a model. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Required. The name of the version. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleCloudMlV1__Version>; + /** + * Gets basic information about all the versions of a model. + * + * If you expect that a model has a lot of versions, or if you need to handle + * only a limited number of results at a time, you can request that the list + * be retrieved in batches (called pages): + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional. The number of versions to retrieve per "page" of results. If + * there are more remaining results than this number, the response message + * will contain a valid value in the `next_page_token` field. + * + * The default value is 20, and the maximum page size is 100. + */ + pageSize?: number; + /** + * Optional. A page token to request the next page of results. + * + * You get the token from the `next_page_token` field of the response from + * the previous call. + */ + pageToken?: string; + /** Required. The name of the model for which to list the version. */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleCloudMlV1__ListVersionsResponse>; + /** + * Updates the specified Version resource. + * + * Currently the only supported field to update is `description`. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Required. The name of the model. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. Specifies the path, relative to `Version`, of the field to + * update. Must be present and non-empty. + * + * For example, to change the description of a version to "foo", the + * `update_mask` parameter would be specified as `description`, and the + * `PATCH` request body would specify the new value, as follows: + * { + * "description": "foo" + * } + * In this example, the version is blindly overwritten since no etag is given. + * + * To adopt etag mechanism, include `etag` field in the mask, and include the + * `etag` value in your version resource. + * + * Currently the only supported update masks are `description`, `labels`, and + * `etag`. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleLongrunning__Operation>; + /** + * Designates a version to be the default for the model. + * + * The default version is used for prediction requests made against the model + * that don't specify a version. + * + * The first version to be created for a model is automatically set as the + * default. You must make any subsequent changes to the default version + * setting manually using this method. + */ + setDefault(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The name of the version to make the default for the model. You + * can get the names of all the versions of a model by calling + * [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.versions/list). + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleCloudMlV1__Version>; + } + interface ModelsResource { + /** + * Creates a model which will later contain one or more versions. + * + * You must add at least one version before you can request predictions from + * the model. Add versions by calling + * [projects.models.versions.create](/ml-engine/reference/rest/v1/projects.models.versions/create). + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Required. The project name. */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleCloudMlV1__Model>; + /** + * Deletes a model. + * + * You can only delete a model if there are no versions in it. You can delete + * versions by calling + * [projects.models.versions.delete](/ml-engine/reference/rest/v1/projects.models.versions/delete). + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Required. The name of the model. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleLongrunning__Operation>; + /** + * Gets information about a model, including its name, the description (if + * set), and the default version (if at least one version of the model has + * been deployed). + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Required. The name of the model. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleCloudMlV1__Model>; + /** + * Gets the access control policy for a resource. + * Returns an empty policy if the resource exists and does not have a policy + * set. + */ + getIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleIamV1__Policy>; + /** + * Lists the models in a project. + * + * Each project can contain multiple models, and each model can have multiple + * versions. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Optional. The number of models to retrieve per "page" of results. If there + * are more remaining results than this number, the response message will + * contain a valid value in the `next_page_token` field. + * + * The default value is 20, and the maximum page size is 100. + */ + pageSize?: number; + /** + * Optional. A page token to request the next page of results. + * + * You get the token from the `next_page_token` field of the response from + * the previous call. + */ + pageToken?: string; + /** Required. The name of the project whose models are to be listed. */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleCloudMlV1__ListModelsResponse>; + /** + * Updates a specific model resource. + * + * Currently the only supported fields to update are `description` and + * `default_version.name`. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Required. The project name. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Required. Specifies the path, relative to `Model`, of the field to update. + * + * For example, to change the description of a model to "foo" and set its + * default version to "version_1", the `update_mask` parameter would be + * specified as `description`, `default_version.name`, and the `PATCH` + * request body would specify the new value, as follows: + * { + * "description": "foo", + * "defaultVersion": { + * "name":"version_1" + * } + * } + * In this example, the model is blindly overwritten since no etag is given. + * + * To adopt etag mechanism, include `etag` field in the mask, and include the + * `etag` value in your model resource. + * + * Currently the supported update masks are `description`, + * `default_version.name`, `labels`, and `etag`. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleLongrunning__Operation>; + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. + */ + setIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being specified. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleIamV1__Policy>; + /** + * Returns permissions that a caller has on the specified resource. + * If the resource does not exist, this will return an empty set of + * permissions, not a NOT_FOUND error. + * + * Note: This operation is designed to be used for building permission-aware + * UIs and command-line tools, not for authorization checking. This operation + * may "fail open" without warning. + */ + testIamPermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy detail is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleIamV1__TestIamPermissionsResponse>; + versions: VersionsResource; + } + interface OperationsResource { + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not + * guaranteed. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use + * Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, + * the operation is not deleted; instead, it becomes an operation with + * an Operation.error value with a google.rpc.Status.code of 1, + * corresponding to `Code.CANCELLED`. + */ + cancel(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be cancelled. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be deleted. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleLongrunning__Operation>; + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding allows API services to override the binding + * to use different resource name schemes, such as `users/*/operations`. To + * override the binding, API services can add a binding such as + * `"/v1/{name=users/*}/operations"` to their service configuration. + * For backwards compatibility, the default name includes the operations + * collection id, however overriding users must ensure the name binding + * is the parent resource, without the operations collection id. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The standard list filter. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation's parent resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The standard list page size. */ + pageSize?: number; + /** The standard list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleLongrunning__ListOperationsResponse>; + } + interface ProjectsResource { + /** + * Get the service account information associated with your project. You need + * this information in order to grant the service account persmissions for + * the Google Cloud Storage location where you put your model training code + * for training the model with Google Cloud Machine Learning. + */ + getConfig(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Required. The project name. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleCloudMlV1__GetConfigResponse>; + /** + * Performs prediction on the data in the request. + * + * **** REMOVE FROM GENERATED DOCUMENTATION + */ + predict(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The resource name of a model or a version. + * + * Authorization: requires the `predict` permission on the specified resource. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleApi__HttpBody>; + jobs: JobsResource; + models: ModelsResource; + operations: OperationsResource; + } + } +} diff --git a/types/gapi.client.ml/readme.md b/types/gapi.client.ml/readme.md new file mode 100644 index 0000000000..f6cc2cbbc1 --- /dev/null +++ b/types/gapi.client.ml/readme.md @@ -0,0 +1,69 @@ +# TypeScript typings for Google Cloud Machine Learning Engine v1 +An API to enable creating and using machine learning models. +For detailed description please check [documentation](https://cloud.google.com/ml/). + +## Installing + +Install typings for Google Cloud Machine Learning Engine: +``` +npm install @types/gapi.client.ml@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('ml', 'v1', () => { + // now we can use gapi.client.ml + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Cloud Machine Learning Engine resources: + +```typescript + +/* +Get the service account information associated with your project. You need +this information in order to grant the service account persmissions for +the Google Cloud Storage location where you put your model training code +for training the model with Google Cloud Machine Learning. +*/ +await gapi.client.projects.getConfig({ name: "name", }); + +/* +Performs prediction on the data in the request. + +**** REMOVE FROM GENERATED DOCUMENTATION +*/ +await gapi.client.projects.predict({ name: "name", }); +``` \ No newline at end of file diff --git a/types/gapi.client.ml/tsconfig.json b/types/gapi.client.ml/tsconfig.json new file mode 100644 index 0000000000..e665f45a5b --- /dev/null +++ b/types/gapi.client.ml/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.ml-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.ml/tslint.json b/types/gapi.client.ml/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.ml/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.monitoring/gapi.client.monitoring-tests.ts b/types/gapi.client.monitoring/gapi.client.monitoring-tests.ts new file mode 100644 index 0000000000..4b0490186a --- /dev/null +++ b/types/gapi.client.monitoring/gapi.client.monitoring-tests.ts @@ -0,0 +1,38 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('monitoring', 'v3', () => { + /** now we can use gapi.client.monitoring */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View and write monitoring data for all of your Google and third-party Cloud and API projects */ + 'https://www.googleapis.com/auth/monitoring', + /** View monitoring data for all of your Google Cloud and third-party projects */ + 'https://www.googleapis.com/auth/monitoring.read', + /** Publish metric data to your Google Cloud projects */ + 'https://www.googleapis.com/auth/monitoring.write', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + } +}); diff --git a/types/gapi.client.monitoring/index.d.ts b/types/gapi.client.monitoring/index.d.ts new file mode 100644 index 0000000000..7331defa60 --- /dev/null +++ b/types/gapi.client.monitoring/index.d.ts @@ -0,0 +1,1093 @@ +// Type definitions for Google Stackdriver Monitoring API v3 3.0 +// Project: https://cloud.google.com/monitoring/api/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://monitoring.googleapis.com/$discovery/rest?version=v3 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Stackdriver Monitoring API v3 */ + function load(name: "monitoring", version: "v3"): PromiseLike<void>; + function load(name: "monitoring", version: "v3", callback: () => any): void; + + const projects: monitoring.ProjectsResource; + + namespace monitoring { + interface BucketOptions { + /** The explicit buckets. */ + explicitBuckets?: Explicit; + /** The exponential buckets. */ + exponentialBuckets?: Exponential; + /** The linear bucket. */ + linearBuckets?: Linear; + } + interface CollectdPayload { + /** The end time of the interval. */ + endTime?: string; + /** The measurement metadata. Example: "process_id" -> 12345 */ + metadata?: Record<string, TypedValue>; + /** The name of the plugin. Example: "disk". */ + plugin?: string; + /** The instance name of the plugin Example: "hdcl". */ + pluginInstance?: string; + /** The start time of the interval. */ + startTime?: string; + /** The measurement type. Example: "memory". */ + type?: string; + /** The measurement type instance. Example: "used". */ + typeInstance?: string; + /** The measured values during this time interval. Each value must have a different dataSourceName. */ + values?: CollectdValue[]; + } + interface CollectdPayloadError { + /** Records the error status for the payload. If this field is present, the partial errors for nested values won't be populated. */ + error?: Status; + /** The zero-based index in CreateCollectdTimeSeriesRequest.collectd_payloads. */ + index?: number; + /** + * Records the error status for values that were not written due to an error.Failed payloads for which nothing is written will not include partial value + * errors. + */ + valueErrors?: CollectdValueError[]; + } + interface CollectdValue { + /** The data source for the collectd value. For example there are two data sources for network measurements: "rx" and "tx". */ + dataSourceName?: string; + /** The type of measurement. */ + dataSourceType?: string; + /** The measurement value. */ + value?: TypedValue; + } + interface CollectdValueError { + /** Records the error status for the value. */ + error?: Status; + /** The zero-based index in CollectdPayload.values within the parent CreateCollectdTimeSeriesRequest.collectd_payloads. */ + index?: number; + } + interface CreateCollectdTimeSeriesRequest { + /** + * The collectd payloads representing the time series data. You must not include more than a single point for each time series, so no two payloads can + * have the same values for all of the fields plugin, plugin_instance, type, and type_instance. + */ + collectdPayloads?: CollectdPayload[]; + /** The version of collectd that collected the data. Example: "5.3.0-192.el6". */ + collectdVersion?: string; + /** The monitored resource associated with the time series. */ + resource?: MonitoredResource; + } + interface CreateCollectdTimeSeriesResponse { + /** + * Records the error status for points that were not written due to an error.Failed requests for which nothing is written will return an error response + * instead. + */ + payloadErrors?: CollectdPayloadError[]; + } + interface CreateTimeSeriesRequest { + /** + * The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent + * than any other point in its time series. Each TimeSeries value must fully specify a unique time series by supplying all label values for the metric and + * the monitored resource. + */ + timeSeries?: TimeSeries[]; + } + interface Distribution { + /** + * Required in the Stackdriver Monitoring API v3. The values for each bucket specified in bucket_options. The sum of the values in bucketCounts must equal + * the value in the count field of the Distribution object. The order of the bucket counts follows the numbering schemes described for the three bucket + * types. The underflow bucket has number 0; the finite buckets, if any, have numbers 1 through N-2; and the overflow bucket has number N-1. The size of + * bucket_counts must not be greater than N. If the size is less than N, then the remaining buckets are assigned values of zero. + */ + bucketCounts?: string[]; + /** Required in the Stackdriver Monitoring API v3. Defines the histogram bucket boundaries. */ + bucketOptions?: BucketOptions; + /** The number of values in the population. Must be non-negative. This value must equal the sum of the values in bucket_counts if a histogram is provided. */ + count?: string; + /** The arithmetic mean of the values in the population. If count is zero then this field must be zero. */ + mean?: number; + /** + * If specified, contains the range of the population values. The field must not be present if the count is zero. This field is presently ignored by the + * Stackdriver Monitoring API v3. + */ + range?: Range; + /** + * The sum of squared deviations from the mean of the values in the population. For values x_i this is: + * Sum[i=1..n]((x_i - mean)^2) + * Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition describes Welford's method for accumulating this sum in one pass.If count is + * zero then this field must be zero. + */ + sumOfSquaredDeviation?: number; + } + interface Explicit { + /** The values must be monotonically increasing. */ + bounds?: number[]; + } + interface Exponential { + /** Must be greater than 1. */ + growthFactor?: number; + /** Must be greater than 0. */ + numFiniteBuckets?: number; + /** Must be greater than 0. */ + scale?: number; + } + interface Field { + /** The field cardinality. */ + cardinality?: string; + /** The string value of the default value of this field. Proto2 syntax only. */ + defaultValue?: string; + /** The field JSON name. */ + jsonName?: string; + /** The field type. */ + kind?: string; + /** The field name. */ + name?: string; + /** The field number. */ + number?: number; + /** The index of the field type in Type.oneofs, for message or enumeration types. The first type has index 1; zero means the type is not in the list. */ + oneofIndex?: number; + /** The protocol buffer options. */ + options?: Option[]; + /** Whether to use alternative packed wire representation. */ + packed?: boolean; + /** The field type URL, without the scheme, for message or enumeration types. Example: "type.googleapis.com/google.protobuf.Timestamp". */ + typeUrl?: string; + } + interface Group { + /** A user-assigned name for this group, used only for display purposes. */ + displayName?: string; + /** The filter used to determine which monitored resources belong to this group. */ + filter?: string; + /** If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters. */ + isCluster?: boolean; + /** + * Output only. The name of this group. The format is "projects/{project_id_or_number}/groups/{group_id}". When creating a group, this field is ignored + * and a new name is created consisting of the project specified in the call to CreateGroup and a unique {group_id} that is generated automatically. + */ + name?: string; + /** + * The name of the group's parent, if it has one. The format is "projects/{project_id_or_number}/groups/{group_id}". For groups with no parent, parentName + * is the empty string, "". + */ + parentName?: string; + } + interface LabelDescriptor { + /** A human-readable description for the label. */ + description?: string; + /** The label key. */ + key?: string; + /** The type of data that can be assigned to the label. */ + valueType?: string; + } + interface Linear { + /** Must be greater than 0. */ + numFiniteBuckets?: number; + /** Lower bound of the first bucket. */ + offset?: number; + /** Must be greater than 0. */ + width?: number; + } + interface ListGroupMembersResponse { + /** A set of monitored resources in the group. */ + members?: MonitoredResource[]; + /** + * If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as + * pageToken in the next call to this method. + */ + nextPageToken?: string; + /** The total number of elements matching this request. */ + totalSize?: number; + } + interface ListGroupsResponse { + /** The groups that match the specified filters. */ + group?: Group[]; + /** + * If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as + * pageToken in the next call to this method. + */ + nextPageToken?: string; + } + interface ListMetricDescriptorsResponse { + /** The metric descriptors that are available to the project and that match the value of filter, if present. */ + metricDescriptors?: MetricDescriptor[]; + /** + * If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as + * pageToken in the next call to this method. + */ + nextPageToken?: string; + } + interface ListMonitoredResourceDescriptorsResponse { + /** + * If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as + * pageToken in the next call to this method. + */ + nextPageToken?: string; + /** The monitored resource descriptors that are available to this project and that match filter, if present. */ + resourceDescriptors?: MonitoredResourceDescriptor[]; + } + interface ListTimeSeriesResponse { + /** + * If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as + * pageToken in the next call to this method. + */ + nextPageToken?: string; + /** One or more time series that match the filter included in the request. */ + timeSeries?: TimeSeries[]; + } + interface Metric { + /** The set of label values that uniquely identify this metric. All labels listed in the MetricDescriptor must be assigned values. */ + labels?: Record<string, string>; + /** An existing metric type, see google.api.MetricDescriptor. For example, custom.googleapis.com/invoice/paid/amount. */ + type?: string; + } + interface MetricDescriptor { + /** A detailed description of the metric, which can be used in documentation. */ + description?: string; + /** + * A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count". This + * field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota. + */ + displayName?: string; + /** + * The set of labels that can be used to describe a specific instance of this metric type. For example, the + * appengine.googleapis.com/http/server/response_latencies metric type has a label for the HTTP response code, response_code, so you can look at latencies + * for successful responses or just for responses that failed. + */ + labels?: LabelDescriptor[]; + /** Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported. */ + metricKind?: string; + /** The resource name of the metric descriptor. */ + name?: string; + /** + * The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined custom metric types have the DNS name + * custom.googleapis.com. Metric types should use a natural hierarchical grouping. For example: + * "custom.googleapis.com/invoice/paid/amount" + * "appengine.googleapis.com/http/server/response_latencies" + */ + type?: string; + /** + * The unit in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The supported units are a + * subset of The Unified Code for Units of Measure (http://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT) + * bit bit + * By byte + * s second + * min minute + * h hour + * d dayPrefixes (PREFIX) + * k kilo (10**3) + * M mega (10**6) + * G giga (10**9) + * T tera (10**12) + * P peta (10**15) + * E exa (10**18) + * Z zetta (10**21) + * Y yotta (10**24) + * m milli (10**-3) + * u micro (10**-6) + * n nano (10**-9) + * p pico (10**-12) + * f femto (10**-15) + * a atto (10**-18) + * z zepto (10**-21) + * y yocto (10**-24) + * Ki kibi (2**10) + * Mi mebi (2**20) + * Gi gibi (2**30) + * Ti tebi (2**40)GrammarThe grammar includes the dimensionless unit 1, such as 1/s.The grammar also includes these connectors: + * / division (as an infix operator, e.g. 1/s). + * . multiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is as follows: + * Expression = Component { "." Component } { "/" Component } ; + * + * Component = [ PREFIX ] UNIT [ Annotation ] + * | Annotation + * | "1" + * ; + * + * Annotation = "{" NAME "}" ; + * Notes: + * Annotation is just a comment if it follows a UNIT and is equivalent to 1 if it is used alone. For examples, {requests}/s == 1/s, By{transmitted}/s == + * By/s. + * NAME is a sequence of non-blank printable ASCII characters not containing '{' or '}'. + */ + unit?: string; + /** Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported. */ + valueType?: string; + } + interface MonitoredResource { + /** + * Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels + * "project_id", "instance_id", and "zone". + */ + labels?: Record<string, string>; + /** + * Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Compute + * Engine VM instance is gce_instance. + */ + type?: string; + } + interface MonitoredResourceDescriptor { + /** Optional. A detailed description of the monitored resource type that might be used in documentation. */ + description?: string; + /** + * Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without + * any article or other determiners. For example, "Google Cloud SQL Database". + */ + displayName?: string; + /** + * Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels "database_id" and "zone". + */ + labels?: LabelDescriptor[]; + /** + * Optional. The resource name of the monitored resource descriptor: "projects/{project_id}/monitoredResourceDescriptors/{type}" where {type} is the value + * of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use + * project information can use the resource name format "monitoredResourceDescriptors/{type}". + */ + name?: string; + /** + * Required. The monitored resource type. For example, the type "cloudsql_database" represents databases in Google Cloud SQL. The maximum length of this + * value is 256 characters. + */ + type?: string; + } + interface Option { + /** + * The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, "map_entry". For custom + * options, it should be the fully-qualified name. For example, "google.api.http". + */ + name?: string; + /** + * The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto + * should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type. + */ + value?: Record<string, any>; + } + interface Point { + /** + * The time interval to which the data point applies. For GAUGE metrics, only the end time of the interval is used. For DELTA metrics, the start and end + * time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For CUMULATIVE metrics, the start + * and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets + * the cumulative value to zero and sets a new start time for the following points. + */ + interval?: TimeInterval; + /** The value of the data point. */ + value?: TypedValue; + } + interface Range { + /** The maximum of the population values. */ + max?: number; + /** The minimum of the population values. */ + min?: number; + } + interface SourceContext { + /** The path-qualified name of the .proto file that contained the associated protobuf element. For example: "google/protobuf/source_context.proto". */ + fileName?: string; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface TimeInterval { + /** Required. The end of the time interval. */ + endTime?: string; + /** Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time. */ + startTime?: string; + } + interface TimeSeries { + /** The associated metric. A fully-specified metric used to identify the time series. */ + metric?: Metric; + /** + * The metric kind of the time series. When listing time series, this metric kind might be different from the metric kind of the associated metric if this + * time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as + * the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the + * new descriptor and must be either GAUGE (the default) or CUMULATIVE. + */ + metricKind?: string; + /** + * The data points of this time series. When listing time series, the order of the points is specified by the list method.When creating a time series, + * this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's + * descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be BOOL, INT64, DOUBLE, or + * DISTRIBUTION. + */ + points?: Point[]; + /** The associated monitored resource. Custom metrics can use only certain monitored resource types in their time series data. */ + resource?: MonitoredResource; + /** + * The value type of the time series. When listing time series, this value type might be different from the value type of the associated metric if this + * time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as + * the type of the data in the points field. + */ + valueType?: string; + } + interface Type { + /** The list of fields. */ + fields?: Field[]; + /** The fully qualified message name. */ + name?: string; + /** The list of types appearing in oneof definitions in this type. */ + oneofs?: string[]; + /** The protocol buffer options. */ + options?: Option[]; + /** The source context. */ + sourceContext?: SourceContext; + /** The source syntax. */ + syntax?: string; + } + interface TypedValue { + /** A Boolean value: true or false. */ + boolValue?: boolean; + /** A distribution value. */ + distributionValue?: Distribution; + /** + * A 64-bit double-precision floating-point number. Its magnitude is approximately ±10<sup>±300</sup> and it has 16 significant digits of + * precision. + */ + doubleValue?: number; + /** A 64-bit integer. Its range is approximately ±9.2x10<sup>18</sup>. */ + int64Value?: string; + /** A variable-length string value. */ + stringValue?: string; + } + interface CollectdTimeSeriesResource { + /** + * Stackdriver Monitoring Agent only: Creates a new time series.<aside class="caution">This method is only for use by the Stackdriver Monitoring Agent. + * Use projects.timeSeries.create instead.</aside> + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The project in which to create the time series. The format is "projects/PROJECT_ID_OR_NUMBER". */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CreateCollectdTimeSeriesResponse>; + } + interface MembersResource { + /** Lists the monitored resources that are members of a group. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * An optional list filter describing the members to be returned. The filter may reference the type, labels, and metadata of monitored resources that + * comprise the group. For example, to return only resources representing Compute Engine VM instances, use this filter: + * resource.type = "gce_instance" + */ + filter?: string; + /** Required. The end of the time interval. */ + "interval.endTime"?: string; + /** Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time. */ + "interval.startTime"?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The group whose members are listed. The format is "projects/{project_id_or_number}/groups/{group_id}". */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** A positive number that is the maximum number of results to return. */ + pageSize?: number; + /** + * If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method + * to return additional results from the previous method call. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListGroupMembersResponse>; + } + interface GroupsResource { + /** Creates a new group. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The project in which to create the group. The format is "projects/{project_id_or_number}". */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** If true, validate this request but do not create the group. */ + validateOnly?: boolean; + }): Request<Group>; + /** Deletes an existing group. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The group to delete. The format is "projects/{project_id_or_number}/groups/{group_id}". */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets a single group. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The group to retrieve. The format is "projects/{project_id_or_number}/groups/{group_id}". */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Group>; + /** Lists the existing groups. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** + * A group name: "projects/{project_id_or_number}/groups/{group_id}". Returns groups that are ancestors of the specified group. The groups are returned in + * order, starting with the immediate parent and ending with the most distant ancestor. If the specified group has no immediate parent, the results are + * empty. + */ + ancestorsOfGroup?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * A group name: "projects/{project_id_or_number}/groups/{group_id}". Returns groups whose parentName field contains the group name. If no groups have + * this parent, the results are empty. + */ + childrenOfGroup?: string; + /** + * A group name: "projects/{project_id_or_number}/groups/{group_id}". Returns the descendants of the specified group. This is a superset of the results + * returned by the childrenOfGroup filter, and includes children-of-children, and so forth. + */ + descendantsOfGroup?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The project whose groups are to be listed. The format is "projects/{project_id_or_number}". */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** A positive number that is the maximum number of results to return. */ + pageSize?: number; + /** + * If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method + * to return additional results from the previous method call. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListGroupsResponse>; + /** Updates an existing group. You can change any group attributes except name. */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Output only. The name of this group. The format is "projects/{project_id_or_number}/groups/{group_id}". When creating a group, this field is ignored + * and a new name is created consisting of the project specified in the call to CreateGroup and a unique {group_id} that is generated automatically. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** If true, validate this request but do not update the existing group. */ + validateOnly?: boolean; + }): Request<Group>; + members: MembersResource; + } + interface MetricDescriptorsResource { + /** Creates a new metric descriptor. User-created metric descriptors define custom metrics. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The project on which to execute the request. The format is "projects/{project_id_or_number}". */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<MetricDescriptor>; + /** Deletes a metric descriptor. Only user-created custom metrics can be deleted. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The metric descriptor on which to execute the request. The format is "projects/{project_id_or_number}/metricDescriptors/{metric_id}". An example of + * {metric_id} is: "custom.googleapis.com/my_test_metric". + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets a single metric descriptor. This method does not require a Stackdriver account. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The metric descriptor on which to execute the request. The format is "projects/{project_id_or_number}/metricDescriptors/{metric_id}". An example value + * of {metric_id} is "compute.googleapis.com/instance/disk/read_bytes_count". + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<MetricDescriptor>; + /** Lists metric descriptors that match a filter. This method does not require a Stackdriver account. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * If this field is empty, all custom and system-defined metric descriptors are returned. Otherwise, the filter specifies which metric descriptors are to + * be returned. For example, the following filter matches all custom metrics: + * metric.type = starts_with("custom.googleapis.com/") + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The project on which to execute the request. The format is "projects/{project_id_or_number}". */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** A positive number that is the maximum number of results to return. */ + pageSize?: number; + /** + * If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method + * to return additional results from the previous method call. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListMetricDescriptorsResponse>; + } + interface MonitoredResourceDescriptorsResource { + /** Gets a single monitored resource descriptor. This method does not require a Stackdriver account. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The monitored resource descriptor to get. The format is "projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}". The + * {resource_type} is a predefined type, such as cloudsql_database. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<MonitoredResourceDescriptor>; + /** Lists monitored resource descriptors that match a filter. This method does not require a Stackdriver account. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * An optional filter describing the descriptors to be returned. The filter can reference the descriptor's type and labels. For example, the following + * filter returns only Google Compute Engine descriptors that have an id label: + * resource.type = starts_with("gce_") AND resource.label:id + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The project on which to execute the request. The format is "projects/{project_id_or_number}". */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** A positive number that is the maximum number of results to return. */ + pageSize?: number; + /** + * If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method + * to return additional results from the previous method call. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListMonitoredResourceDescriptorsResponse>; + } + interface TimeSeriesResource { + /** + * Creates or adds data to one or more time series. The response is empty if all time series in the request were written. If any time series could not be + * written, a corresponding failure message is included in the error response. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The project on which to execute the request. The format is "projects/{project_id_or_number}". */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Lists time series that match a filter. This method does not require a Stackdriver account. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** + * The alignment period for per-time series alignment. If present, alignmentPeriod must be at least 60 seconds. After per-time series alignment, each time + * series will contain data points only on the period boundaries. If perSeriesAligner is not specified or equals ALIGN_NONE, then this field is ignored. + * If perSeriesAligner is specified and does not equal ALIGN_NONE, then this field must be defined; otherwise an error is returned. + */ + "aggregation.alignmentPeriod"?: string; + /** + * The approach to be used to combine time series. Not all reducer functions may be applied to all time series, depending on the metric type and the value + * type of the original time series. Reduction may change the metric type of value type of the time series.Time series data must be aligned in order to + * perform cross-time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and + * alignmentPeriod must be specified; otherwise, an error is returned. + */ + "aggregation.crossSeriesReducer"?: string; + /** + * The set of fields to preserve when crossSeriesReducer is specified. The groupByFields determine how the time series are partitioned into subsets prior + * to applying the aggregation function. Each subset contains time series that have the same value for each of the grouping fields. Each individual time + * series is a member of exactly one subset. The crossSeriesReducer is applied to each subset of time series. It is not possible to reduce across + * different resource types, so this field implicitly contains resource.type. Fields not specified in groupByFields are aggregated away. If groupByFields + * is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If + * crossSeriesReducer is not defined, this field is ignored. + */ + "aggregation.groupByFields"?: string; + /** + * The approach to be used to align individual time series. Not all alignment functions may be applied to all time series, depending on the metric type + * and value type of the original time series. Alignment may change the metric type or the value type of the time series.Time series data must be aligned + * in order to perform cross-time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE + * and alignmentPeriod must be specified; otherwise, an error is returned. + */ + "aggregation.perSeriesAligner"?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * A monitoring filter that specifies which time series should be returned. The filter must specify a single metric type, and can additionally specify + * metric labels and other information. For example: + * metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND + * metric.label.instance_name = "my-instance-name" + */ + filter?: string; + /** Required. The end of the time interval. */ + "interval.endTime"?: string; + /** Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time. */ + "interval.startTime"?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The project on which to execute the request. The format is "projects/{project_id_or_number}". */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Specifies the order in which the points of the time series should be returned. By default, results are not ordered. Currently, this field must be left + * blank. + */ + orderBy?: string; + /** + * A positive number that is the maximum number of results to return. When view field sets to FULL, it limits the number of Points server will return; if + * view field is HEADERS, it limits the number of TimeSeries server will return. + */ + pageSize?: number; + /** + * If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method + * to return additional results from the previous method call. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Specifies which information is returned about the time series. */ + view?: string; + }): Request<ListTimeSeriesResponse>; + } + interface ProjectsResource { + collectdTimeSeries: CollectdTimeSeriesResource; + groups: GroupsResource; + metricDescriptors: MetricDescriptorsResource; + monitoredResourceDescriptors: MonitoredResourceDescriptorsResource; + timeSeries: TimeSeriesResource; + } + } +} diff --git a/types/gapi.client.monitoring/readme.md b/types/gapi.client.monitoring/readme.md new file mode 100644 index 0000000000..5e98aa8b91 --- /dev/null +++ b/types/gapi.client.monitoring/readme.md @@ -0,0 +1,63 @@ +# TypeScript typings for Stackdriver Monitoring API v3 +Manages your Stackdriver Monitoring data and configurations. Most projects must be associated with a Stackdriver account, with a few exceptions as noted on the individual method pages. +For detailed description please check [documentation](https://cloud.google.com/monitoring/api/). + +## Installing + +Install typings for Stackdriver Monitoring API: +``` +npm install @types/gapi.client.monitoring@v3 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('monitoring', 'v3', () => { + // now we can use gapi.client.monitoring + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View and write monitoring data for all of your Google and third-party Cloud and API projects + 'https://www.googleapis.com/auth/monitoring', + + // View monitoring data for all of your Google Cloud and third-party projects + 'https://www.googleapis.com/auth/monitoring.read', + + // Publish metric data to your Google Cloud projects + 'https://www.googleapis.com/auth/monitoring.write', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Stackdriver Monitoring API resources: + +```typescript +``` \ No newline at end of file diff --git a/types/gapi.client.monitoring/tsconfig.json b/types/gapi.client.monitoring/tsconfig.json new file mode 100644 index 0000000000..4c5c8d9129 --- /dev/null +++ b/types/gapi.client.monitoring/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.monitoring-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.monitoring/tslint.json b/types/gapi.client.monitoring/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.monitoring/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.oauth2/gapi.client.oauth2-tests.ts b/types/gapi.client.oauth2/gapi.client.oauth2-tests.ts new file mode 100644 index 0000000000..2905cd2e40 --- /dev/null +++ b/types/gapi.client.oauth2/gapi.client.oauth2-tests.ts @@ -0,0 +1,40 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('oauth2', 'v2', () => { + /** now we can use gapi.client.oauth2 */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Know the list of people in your circles, your age range, and language */ + 'https://www.googleapis.com/auth/plus.login', + /** Know who you are on Google */ + 'https://www.googleapis.com/auth/plus.me', + /** View your email address */ + 'https://www.googleapis.com/auth/userinfo.email', + /** View your basic profile info */ + 'https://www.googleapis.com/auth/userinfo.profile', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + await gapi.client.userinfo.get({ + }); + } +}); diff --git a/types/gapi.client.oauth2/index.d.ts b/types/gapi.client.oauth2/index.d.ts new file mode 100644 index 0000000000..50d11d3574 --- /dev/null +++ b/types/gapi.client.oauth2/index.d.ts @@ -0,0 +1,123 @@ +// Type definitions for Google Google OAuth2 API v2 2.0 +// Project: https://developers.google.com/accounts/docs/OAuth2 +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/oauth2/v2/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google OAuth2 API v2 */ + function load(name: "oauth2", version: "v2"): PromiseLike<void>; + function load(name: "oauth2", version: "v2", callback: () => any): void; + + const userinfo: oauth2.UserinfoResource; + + namespace oauth2 { + interface Jwk { + keys?: Array<{ + alg?: string; + e?: string; + kid?: string; + kty?: string; + n?: string; + use?: string; + }>; + } + interface Tokeninfo { + /** The access type granted with this token. It can be offline or online. */ + access_type?: string; + /** Who is the intended audience for this token. In general the same as issued_to. */ + audience?: string; + /** The email address of the user. Present only if the email scope is present in the request. */ + email?: string; + /** The expiry time of the token, as number of seconds left until expiry. */ + expires_in?: number; + /** To whom was the token issued to. In general the same as audience. */ + issued_to?: string; + /** The space separated list of scopes granted to this token. */ + scope?: string; + /** The token handle associated with this token. */ + token_handle?: string; + /** The obfuscated user id. */ + user_id?: string; + /** Boolean flag which is true if the email address is verified. Present only if the email scope is present in the request. */ + verified_email?: boolean; + } + interface Userinfoplus { + /** The user's email address. */ + email?: string; + /** The user's last name. */ + family_name?: string; + /** The user's gender. */ + gender?: string; + /** The user's first name. */ + given_name?: string; + /** The hosted domain e.g. example.com if the user is Google apps user. */ + hd?: string; + /** The obfuscated ID of the user. */ + id?: string; + /** URL of the profile page. */ + link?: string; + /** The user's preferred locale. */ + locale?: string; + /** The user's full name. */ + name?: string; + /** URL of the user's picture image. */ + picture?: string; + /** Boolean flag which is true if the email address is verified. Always verified because we only return the user's primary email address. */ + verified_email?: boolean; + } + interface MeResource { + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Userinfoplus>; + } + interface V2Resource { + me: MeResource; + } + interface UserinfoResource { + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Userinfoplus>; + v2: V2Resource; + } + } +} diff --git a/types/gapi.client.oauth2/readme.md b/types/gapi.client.oauth2/readme.md new file mode 100644 index 0000000000..b140073c15 --- /dev/null +++ b/types/gapi.client.oauth2/readme.md @@ -0,0 +1,68 @@ +# TypeScript typings for Google OAuth2 API v2 +Obtains end-user authorization grants for use with other Google APIs. +For detailed description please check [documentation](https://developers.google.com/accounts/docs/OAuth2). + +## Installing + +Install typings for Google OAuth2 API: +``` +npm install @types/gapi.client.oauth2@v2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('oauth2', 'v2', () => { + // now we can use gapi.client.oauth2 + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Know the list of people in your circles, your age range, and language + 'https://www.googleapis.com/auth/plus.login', + + // Know who you are on Google + 'https://www.googleapis.com/auth/plus.me', + + // View your email address + 'https://www.googleapis.com/auth/userinfo.email', + + // View your basic profile info + 'https://www.googleapis.com/auth/userinfo.profile', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google OAuth2 API resources: + +```typescript + +/* +undefined +*/ +await gapi.client.userinfo.get({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.oauth2/tsconfig.json b/types/gapi.client.oauth2/tsconfig.json new file mode 100644 index 0000000000..593137d956 --- /dev/null +++ b/types/gapi.client.oauth2/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.oauth2-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.oauth2/tslint.json b/types/gapi.client.oauth2/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.oauth2/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.oslogin/gapi.client.oslogin-tests.ts b/types/gapi.client.oslogin/gapi.client.oslogin-tests.ts new file mode 100644 index 0000000000..e9b23eb706 --- /dev/null +++ b/types/gapi.client.oslogin/gapi.client.oslogin-tests.ts @@ -0,0 +1,53 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('oslogin', 'v1alpha', () => { + /** now we can use gapi.client.oslogin */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform.read-only', + /** View and manage your Google Compute Engine resources */ + 'https://www.googleapis.com/auth/compute', + /** View your Google Compute Engine resources */ + 'https://www.googleapis.com/auth/compute.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Retrieves the profile information used for logging in to a virtual machine + * on Google Compute Engine. + */ + await gapi.client.users.getLoginProfile({ + name: "name", + }); + /** + * Adds an SSH public key and returns the profile information. Default POSIX + * account information is set when no username and UID exist as part of the + * login profile. + */ + await gapi.client.users.importSshPublicKey({ + parent: "parent", + }); + } +}); diff --git a/types/gapi.client.oslogin/index.d.ts b/types/gapi.client.oslogin/index.d.ts new file mode 100644 index 0000000000..fd570c4703 --- /dev/null +++ b/types/gapi.client.oslogin/index.d.ts @@ -0,0 +1,257 @@ +// Type definitions for Google Google Cloud OS Login API v1alpha 1.0 +// Project: https://cloud.google.com/compute/docs/oslogin/rest/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://oslogin.googleapis.com/$discovery/rest?version=v1alpha + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Cloud OS Login API v1alpha */ + function load(name: "oslogin", version: "v1alpha"): PromiseLike<void>; + function load(name: "oslogin", version: "v1alpha", callback: () => any): void; + + const users: oslogin.UsersResource; + + namespace oslogin { + interface ImportSshPublicKeyResponse { + /** The login profile information for the user. */ + loginProfile?: LoginProfile; + } + interface LoginProfile { + /** A unique user ID for identifying the user. */ + name?: string; + /** The list of POSIX accounts associated with the Directory API user. */ + posixAccounts?: PosixAccount[]; + /** A map from SSH public key fingerprint to the associated key object. */ + sshPublicKeys?: Record<string, SshPublicKey>; + /** Indicates if the user is suspended. */ + suspended?: boolean; + } + interface PosixAccount { + /** The GECOS (user information) entry for this account. */ + gecos?: string; + /** The default group ID. */ + gid?: string; + /** The path to the home directory for this account. */ + homeDirectory?: string; + /** Only one POSIX account can be marked as primary. */ + primary?: boolean; + /** The path to the logic shell for this account. */ + shell?: string; + /** + * System identifier for which account the username or uid applies to. + * By default, the empty value is used. + */ + systemId?: string; + /** The user ID. */ + uid?: string; + /** The username of the POSIX account. */ + username?: string; + } + interface SshPublicKey { + /** An expiration time in microseconds since epoch. */ + expirationTimeUsec?: string; + /** + * The SHA-256 fingerprint of the SSH public key. + * Output only. + */ + fingerprint?: string; + /** + * Public key text in SSH format, defined by + * <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a> + * section 6.6. + */ + key?: string; + } + interface SshPublicKeysResource { + /** Deletes an SSH public key. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The fingerprint of the public key to update. Public keys are identified by + * their SHA-256 fingerprint. The fingerprint of the public key is in format + * `users/{user}/sshPublicKeys/{fingerprint}`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Retrieves an SSH public key. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The fingerprint of the public key to retrieve. Public keys are identified + * by their SHA-256 fingerprint. The fingerprint of the public key is in + * format `users/{user}/sshPublicKeys/{fingerprint}`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SshPublicKey>; + /** + * Updates an SSH public key and returns the profile information. This method + * supports patch semantics. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The fingerprint of the public key to update. Public keys are identified by + * their SHA-256 fingerprint. The fingerprint of the public key is in format + * `users/{user}/sshPublicKeys/{fingerprint}`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Mask to control which fields get updated. Updates all if not present. */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SshPublicKey>; + } + interface UsersResource { + /** + * Retrieves the profile information used for logging in to a virtual machine + * on Google Compute Engine. + */ + getLoginProfile(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The unique ID for the user in format `users/{user}`. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LoginProfile>; + /** + * Adds an SSH public key and returns the profile information. Default POSIX + * account information is set when no username and UID exist as part of the + * login profile. + */ + importSshPublicKey(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The unique ID for the user in format `users/{user}`. */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ImportSshPublicKeyResponse>; + sshPublicKeys: SshPublicKeysResource; + } + } +} diff --git a/types/gapi.client.oslogin/readme.md b/types/gapi.client.oslogin/readme.md new file mode 100644 index 0000000000..fa35a915a5 --- /dev/null +++ b/types/gapi.client.oslogin/readme.md @@ -0,0 +1,76 @@ +# TypeScript typings for Google Cloud OS Login API v1alpha +Manages OS login configuration for Directory API users. +For detailed description please check [documentation](https://cloud.google.com/compute/docs/oslogin/rest/). + +## Installing + +Install typings for Google Cloud OS Login API: +``` +npm install @types/gapi.client.oslogin@v1alpha --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('oslogin', 'v1alpha', () => { + // now we can use gapi.client.oslogin + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform.read-only', + + // View and manage your Google Compute Engine resources + 'https://www.googleapis.com/auth/compute', + + // View your Google Compute Engine resources + 'https://www.googleapis.com/auth/compute.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Cloud OS Login API resources: + +```typescript + +/* +Retrieves the profile information used for logging in to a virtual machine +on Google Compute Engine. +*/ +await gapi.client.users.getLoginProfile({ name: "name", }); + +/* +Adds an SSH public key and returns the profile information. Default POSIX +account information is set when no username and UID exist as part of the +login profile. +*/ +await gapi.client.users.importSshPublicKey({ parent: "parent", }); +``` \ No newline at end of file diff --git a/types/gapi.client.oslogin/tsconfig.json b/types/gapi.client.oslogin/tsconfig.json new file mode 100644 index 0000000000..bcf0faa3cb --- /dev/null +++ b/types/gapi.client.oslogin/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.oslogin-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.oslogin/tslint.json b/types/gapi.client.oslogin/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.oslogin/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.pagespeedonline/gapi.client.pagespeedonline-tests.ts b/types/gapi.client.pagespeedonline/gapi.client.pagespeedonline-tests.ts new file mode 100644 index 0000000000..d0b23d56f5 --- /dev/null +++ b/types/gapi.client.pagespeedonline/gapi.client.pagespeedonline-tests.ts @@ -0,0 +1,28 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('pagespeedonline', 'v2', () => { + /** now we can use gapi.client.pagespeedonline */ + + run(); + }); + + async function run() { + /** + * Runs PageSpeed analysis on the page at the specified URL, and returns PageSpeed scores, a list of suggestions to make that page faster, and other + * information. + */ + await gapi.client.pagespeedapi.runpagespeed({ + filter_third_party_resources: true, + locale: "locale", + rule: "rule", + screenshot: true, + strategy: "strategy", + url: "url", + }); + } +}); diff --git a/types/gapi.client.pagespeedonline/index.d.ts b/types/gapi.client.pagespeedonline/index.d.ts new file mode 100644 index 0000000000..510ddbc7c4 --- /dev/null +++ b/types/gapi.client.pagespeedonline/index.d.ts @@ -0,0 +1,215 @@ +// Type definitions for Google PageSpeed Insights API v2 2.0 +// Project: https://developers.google.com/speed/docs/insights/v2/getting-started +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/pagespeedonline/v2/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load PageSpeed Insights API v2 */ + function load(name: "pagespeedonline", version: "v2"): PromiseLike<void>; + function load(name: "pagespeedonline", version: "v2", callback: () => any): void; + + const pagespeedapi: pagespeedonline.PagespeedapiResource; + + namespace pagespeedonline { + interface PagespeedApiFormatStringV2 { + /** List of arguments for the format string. */ + args?: Array<{ + /** The placeholder key for this arg, as a string. */ + key?: string; + /** + * The screen rectangles being referred to, with dimensions measured in CSS pixels. This is only ever used for SNAPSHOT_RECT arguments. If this is absent + * for a SNAPSHOT_RECT argument, it means that that argument refers to the entire snapshot. + */ + rects?: Array<{ + /** The height of the rect. */ + height?: number; + /** The left coordinate of the rect, in page coordinates. */ + left?: number; + /** The top coordinate of the rect, in page coordinates. */ + top?: number; + /** The width of the rect. */ + width?: number; + }>; + /** Secondary screen rectangles being referred to, with dimensions measured in CSS pixels. This is only ever used for SNAPSHOT_RECT arguments. */ + secondary_rects?: Array<{ + /** The height of the rect. */ + height?: number; + /** The left coordinate of the rect, in page coordinates. */ + left?: number; + /** The top coordinate of the rect, in page coordinates. */ + top?: number; + /** The width of the rect. */ + width?: number; + }>; + /** Type of argument. One of URL, STRING_LITERAL, INT_LITERAL, BYTES, DURATION, VERBATIM_STRING, PERCENTAGE, HYPERLINK, or SNAPSHOT_RECT. */ + type?: string; + /** Argument value, as a localized string. */ + value?: string; + }>; + /** + * A localized format string with {{FOO}} placeholders, where 'FOO' is the key of the argument whose value should be substituted. For HYPERLINK arguments, + * the format string will instead contain {{BEGIN_FOO}} and {{END_FOO}} for the argument with key 'FOO'. + */ + format?: string; + } + interface PagespeedApiImageV2 { + /** Image data base64 encoded. */ + data?: string; + /** Height of screenshot in pixels. */ + height?: number; + /** Unique string key, if any, identifying this image. */ + key?: string; + /** Mime type of image data (e.g. "image/jpeg"). */ + mime_type?: string; + /** The region of the page that is captured by this image, with dimensions measured in CSS pixels. */ + page_rect?: { + /** The height of the rect. */ + height?: number; + /** The left coordinate of the rect, in page coordinates. */ + left?: number; + /** The top coordinate of the rect, in page coordinates. */ + top?: number; + /** The width of the rect. */ + width?: number; + }; + /** Width of screenshot in pixels. */ + width?: number; + } + interface Result { + /** Localized PageSpeed results. Contains a ruleResults entry for each PageSpeed rule instantiated and run by the server. */ + formattedResults?: { + /** The locale of the formattedResults, e.g. "en_US". */ + locale?: string; + /** Dictionary of formatted rule results, with one entry for each PageSpeed rule instantiated and run by the server. */ + ruleResults?: Record<string, { + /** List of rule groups that this rule belongs to. Each entry in the list is one of "SPEED" or "USABILITY". */ + groups?: string[]; + /** Localized name of the rule, intended for presentation to a user. */ + localizedRuleName?: string; + /** + * The impact (unbounded floating point value) that implementing the suggestions for this rule would have on making the page faster. Impact is comparable + * between rules to determine which rule's suggestions would have a higher or lower impact on making a page faster. For instance, if enabling compression + * would save 1MB, while optimizing images would save 500kB, the enable compression rule would have 2x the impact of the image optimization rule, all + * other things being equal. + */ + ruleImpact?: number; + /** A brief summary description for the rule, indicating at a high level what should be done to follow the rule and what benefit can be gained by doing so. */ + summary?: PagespeedApiFormatStringV2; + /** List of blocks of URLs. Each block may contain a heading and a list of URLs. Each URL may optionally include additional details. */ + urlBlocks?: Array<{ + /** Heading to be displayed with the list of URLs. */ + header?: PagespeedApiFormatStringV2; + /** List of entries that provide information about URLs in the url block. Optional. */ + urls?: Array<{ + /** List of entries that provide additional details about a single URL. Optional. */ + details?: PagespeedApiFormatStringV2[]; + /** A format string that gives information about the URL, and a list of arguments for that format string. */ + result?: PagespeedApiFormatStringV2; + }>; + }>; + }>; + }; + /** Canonicalized and final URL for the document, after following page redirects (if any). */ + id?: string; + /** List of rules that were specified in the request, but which the server did not know how to instantiate. */ + invalidRules?: string[]; + /** Kind of result. */ + kind?: string; + /** Summary statistics for the page, such as number of JavaScript bytes, number of HTML bytes, etc. */ + pageStats?: { + /** Number of uncompressed response bytes for CSS resources on the page. */ + cssResponseBytes?: string; + /** Number of response bytes for flash resources on the page. */ + flashResponseBytes?: string; + /** Number of uncompressed response bytes for the main HTML document and all iframes on the page. */ + htmlResponseBytes?: string; + /** Number of response bytes for image resources on the page. */ + imageResponseBytes?: string; + /** Number of uncompressed response bytes for JS resources on the page. */ + javascriptResponseBytes?: string; + /** Number of CSS resources referenced by the page. */ + numberCssResources?: number; + /** Number of unique hosts referenced by the page. */ + numberHosts?: number; + /** Number of JavaScript resources referenced by the page. */ + numberJsResources?: number; + /** Number of HTTP resources loaded by the page. */ + numberResources?: number; + /** Number of static (i.e. cacheable) resources on the page. */ + numberStaticResources?: number; + /** Number of response bytes for other resources on the page. */ + otherResponseBytes?: string; + /** Number of uncompressed response bytes for text resources not covered by other statistics (i.e non-HTML, non-script, non-CSS resources) on the page. */ + textResponseBytes?: string; + /** Total size of all request bytes sent by the page. */ + totalRequestBytes?: string; + }; + /** Response code for the document. 200 indicates a normal page load. 4xx/5xx indicates an error. */ + responseCode?: number; + /** A map with one entry for each rule group in these results. */ + ruleGroups?: Record<string, { + /** + * The score (0-100) for this rule group, which indicates how much better a page could be in that category (e.g. how much faster, or how much more + * usable). A high score indicates little room for improvement, while a lower score indicates more room for improvement. + */ + score?: number; + }>; + /** Base64-encoded screenshot of the page that was analyzed. */ + screenshot?: PagespeedApiImageV2; + /** Title of the page, as displayed in the browser's title bar. */ + title?: string; + /** The version of PageSpeed used to generate these results. */ + version?: { + /** The major version number of PageSpeed used to generate these results. */ + major?: number; + /** The minor version number of PageSpeed used to generate these results. */ + minor?: number; + }; + } + interface PagespeedapiResource { + /** + * Runs PageSpeed analysis on the page at the specified URL, and returns PageSpeed scores, a list of suggestions to make that page faster, and other + * information. + */ + runpagespeed(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Indicates if third party resources should be filtered out before PageSpeed analysis. */ + filter_third_party_resources?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The locale used to localize formatted results */ + locale?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** A PageSpeed rule to run; if none are given, all rules are run */ + rule?: string; + /** Indicates if binary data containing a screenshot should be included */ + screenshot?: boolean; + /** The analysis strategy to use */ + strategy?: string; + /** The URL to fetch and analyze */ + url: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Result>; + } + } +} diff --git a/types/gapi.client.pagespeedonline/readme.md b/types/gapi.client.pagespeedonline/readme.md new file mode 100644 index 0000000000..462af96aa9 --- /dev/null +++ b/types/gapi.client.pagespeedonline/readme.md @@ -0,0 +1,40 @@ +# TypeScript typings for PageSpeed Insights API v2 +Analyzes the performance of a web page and provides tailored suggestions to make that page faster. +For detailed description please check [documentation](https://developers.google.com/speed/docs/insights/v2/getting-started). + +## Installing + +Install typings for PageSpeed Insights API: +``` +npm install @types/gapi.client.pagespeedonline@v2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('pagespeedonline', 'v2', () => { + // now we can use gapi.client.pagespeedonline + // ... +}); +``` + + + +After that you can use PageSpeed Insights API resources: + +```typescript + +/* +Runs PageSpeed analysis on the page at the specified URL, and returns PageSpeed scores, a list of suggestions to make that page faster, and other information. +*/ +await gapi.client.pagespeedapi.runpagespeed({ url: "url", }); +``` \ No newline at end of file diff --git a/types/gapi.client.pagespeedonline/tsconfig.json b/types/gapi.client.pagespeedonline/tsconfig.json new file mode 100644 index 0000000000..38b680e5ae --- /dev/null +++ b/types/gapi.client.pagespeedonline/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.pagespeedonline-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.pagespeedonline/tslint.json b/types/gapi.client.pagespeedonline/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.pagespeedonline/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.partners/gapi.client.partners-tests.ts b/types/gapi.client.partners/gapi.client.partners-tests.ts new file mode 100644 index 0000000000..5e4cd8e3ab --- /dev/null +++ b/types/gapi.client.partners/gapi.client.partners-tests.ts @@ -0,0 +1,216 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('partners', 'v2', () => { + /** now we can use gapi.client.partners */ + + run(); + }); + + async function run() { + /** + * Lists analytics data for a user's associated company. + * Should only be called within the context of an authorized logged in user. + */ + await gapi.client.analytics.list({ + pageSize: 1, + pageToken: "pageToken", + "requestMetadata.experimentIds": "requestMetadata.experimentIds", + "requestMetadata.locale": "requestMetadata.locale", + "requestMetadata.partnersSessionId": "requestMetadata.partnersSessionId", + "requestMetadata.trafficSource.trafficSourceId": "requestMetadata.trafficSource.trafficSourceId", + "requestMetadata.trafficSource.trafficSubId": "requestMetadata.trafficSource.trafficSubId", + "requestMetadata.userOverrides.ipAddress": "requestMetadata.userOverrides.ipAddress", + "requestMetadata.userOverrides.userId": "requestMetadata.userOverrides.userId", + }); + /** + * Logs a generic message from the client, such as + * `Failed to render component`, `Profile page is running slow`, + * `More than 500 users have accessed this result.`, etc. + */ + await gapi.client.clientMessages.log({ + }); + /** Gets a company. */ + await gapi.client.companies.get({ + address: "address", + companyId: "companyId", + currencyCode: "currencyCode", + orderBy: "orderBy", + "requestMetadata.experimentIds": "requestMetadata.experimentIds", + "requestMetadata.locale": "requestMetadata.locale", + "requestMetadata.partnersSessionId": "requestMetadata.partnersSessionId", + "requestMetadata.trafficSource.trafficSourceId": "requestMetadata.trafficSource.trafficSourceId", + "requestMetadata.trafficSource.trafficSubId": "requestMetadata.trafficSource.trafficSubId", + "requestMetadata.userOverrides.ipAddress": "requestMetadata.userOverrides.ipAddress", + "requestMetadata.userOverrides.userId": "requestMetadata.userOverrides.userId", + view: "view", + }); + /** Lists companies. */ + await gapi.client.companies.list({ + address: "address", + companyName: "companyName", + gpsMotivations: "gpsMotivations", + industries: "industries", + languageCodes: "languageCodes", + "maxMonthlyBudget.currencyCode": "maxMonthlyBudget.currencyCode", + "maxMonthlyBudget.nanos": 7, + "maxMonthlyBudget.units": "maxMonthlyBudget.units", + "minMonthlyBudget.currencyCode": "minMonthlyBudget.currencyCode", + "minMonthlyBudget.nanos": 10, + "minMonthlyBudget.units": "minMonthlyBudget.units", + orderBy: "orderBy", + pageSize: 13, + pageToken: "pageToken", + "requestMetadata.experimentIds": "requestMetadata.experimentIds", + "requestMetadata.locale": "requestMetadata.locale", + "requestMetadata.partnersSessionId": "requestMetadata.partnersSessionId", + "requestMetadata.trafficSource.trafficSourceId": "requestMetadata.trafficSource.trafficSourceId", + "requestMetadata.trafficSource.trafficSubId": "requestMetadata.trafficSource.trafficSubId", + "requestMetadata.userOverrides.ipAddress": "requestMetadata.userOverrides.ipAddress", + "requestMetadata.userOverrides.userId": "requestMetadata.userOverrides.userId", + services: "services", + specializations: "specializations", + view: "view", + websiteUrl: "websiteUrl", + }); + /** Gets an Exam Token for a Partner's user to take an exam in the Exams System */ + await gapi.client.exams.getToken({ + examType: "examType", + "requestMetadata.experimentIds": "requestMetadata.experimentIds", + "requestMetadata.locale": "requestMetadata.locale", + "requestMetadata.partnersSessionId": "requestMetadata.partnersSessionId", + "requestMetadata.trafficSource.trafficSourceId": "requestMetadata.trafficSource.trafficSourceId", + "requestMetadata.trafficSource.trafficSubId": "requestMetadata.trafficSource.trafficSubId", + "requestMetadata.userOverrides.ipAddress": "requestMetadata.userOverrides.ipAddress", + "requestMetadata.userOverrides.userId": "requestMetadata.userOverrides.userId", + }); + /** + * Lists advertiser leads for a user's associated company. + * Should only be called within the context of an authorized logged in user. + */ + await gapi.client.leads.list({ + orderBy: "orderBy", + pageSize: 2, + pageToken: "pageToken", + "requestMetadata.experimentIds": "requestMetadata.experimentIds", + "requestMetadata.locale": "requestMetadata.locale", + "requestMetadata.partnersSessionId": "requestMetadata.partnersSessionId", + "requestMetadata.trafficSource.trafficSourceId": "requestMetadata.trafficSource.trafficSourceId", + "requestMetadata.trafficSource.trafficSubId": "requestMetadata.trafficSource.trafficSubId", + "requestMetadata.userOverrides.ipAddress": "requestMetadata.userOverrides.ipAddress", + "requestMetadata.userOverrides.userId": "requestMetadata.userOverrides.userId", + }); + /** Lists the Offers available for the current user */ + await gapi.client.offers.list({ + "requestMetadata.experimentIds": "requestMetadata.experimentIds", + "requestMetadata.locale": "requestMetadata.locale", + "requestMetadata.partnersSessionId": "requestMetadata.partnersSessionId", + "requestMetadata.trafficSource.trafficSourceId": "requestMetadata.trafficSource.trafficSourceId", + "requestMetadata.trafficSource.trafficSubId": "requestMetadata.trafficSource.trafficSubId", + "requestMetadata.userOverrides.ipAddress": "requestMetadata.userOverrides.ipAddress", + "requestMetadata.userOverrides.userId": "requestMetadata.userOverrides.userId", + }); + /** Logs a user event. */ + await gapi.client.userEvents.log({ + }); + /** Lists states for current user. */ + await gapi.client.userStates.list({ + "requestMetadata.experimentIds": "requestMetadata.experimentIds", + "requestMetadata.locale": "requestMetadata.locale", + "requestMetadata.partnersSessionId": "requestMetadata.partnersSessionId", + "requestMetadata.trafficSource.trafficSourceId": "requestMetadata.trafficSource.trafficSourceId", + "requestMetadata.trafficSource.trafficSubId": "requestMetadata.trafficSource.trafficSubId", + "requestMetadata.userOverrides.ipAddress": "requestMetadata.userOverrides.ipAddress", + "requestMetadata.userOverrides.userId": "requestMetadata.userOverrides.userId", + }); + /** Creates a user's company relation. Affiliates the user to a company. */ + await gapi.client.users.createCompanyRelation({ + "requestMetadata.experimentIds": "requestMetadata.experimentIds", + "requestMetadata.locale": "requestMetadata.locale", + "requestMetadata.partnersSessionId": "requestMetadata.partnersSessionId", + "requestMetadata.trafficSource.trafficSourceId": "requestMetadata.trafficSource.trafficSourceId", + "requestMetadata.trafficSource.trafficSubId": "requestMetadata.trafficSource.trafficSubId", + "requestMetadata.userOverrides.ipAddress": "requestMetadata.userOverrides.ipAddress", + "requestMetadata.userOverrides.userId": "requestMetadata.userOverrides.userId", + userId: "userId", + }); + /** Deletes a user's company relation. Unaffiliaites the user from a company. */ + await gapi.client.users.deleteCompanyRelation({ + "requestMetadata.experimentIds": "requestMetadata.experimentIds", + "requestMetadata.locale": "requestMetadata.locale", + "requestMetadata.partnersSessionId": "requestMetadata.partnersSessionId", + "requestMetadata.trafficSource.trafficSourceId": "requestMetadata.trafficSource.trafficSourceId", + "requestMetadata.trafficSource.trafficSubId": "requestMetadata.trafficSource.trafficSubId", + "requestMetadata.userOverrides.ipAddress": "requestMetadata.userOverrides.ipAddress", + "requestMetadata.userOverrides.userId": "requestMetadata.userOverrides.userId", + userId: "userId", + }); + /** Gets a user. */ + await gapi.client.users.get({ + "requestMetadata.experimentIds": "requestMetadata.experimentIds", + "requestMetadata.locale": "requestMetadata.locale", + "requestMetadata.partnersSessionId": "requestMetadata.partnersSessionId", + "requestMetadata.trafficSource.trafficSourceId": "requestMetadata.trafficSource.trafficSourceId", + "requestMetadata.trafficSource.trafficSubId": "requestMetadata.trafficSource.trafficSubId", + "requestMetadata.userOverrides.ipAddress": "requestMetadata.userOverrides.ipAddress", + "requestMetadata.userOverrides.userId": "requestMetadata.userOverrides.userId", + userId: "userId", + userView: "userView", + }); + /** + * Updates a user's profile. A user can only update their own profile and + * should only be called within the context of a logged in user. + */ + await gapi.client.users.updateProfile({ + "requestMetadata.experimentIds": "requestMetadata.experimentIds", + "requestMetadata.locale": "requestMetadata.locale", + "requestMetadata.partnersSessionId": "requestMetadata.partnersSessionId", + "requestMetadata.trafficSource.trafficSourceId": "requestMetadata.trafficSource.trafficSourceId", + "requestMetadata.trafficSource.trafficSubId": "requestMetadata.trafficSource.trafficSubId", + "requestMetadata.userOverrides.ipAddress": "requestMetadata.userOverrides.ipAddress", + "requestMetadata.userOverrides.userId": "requestMetadata.userOverrides.userId", + }); + /** + * Gets Partners Status of the logged in user's agency. + * Should only be called if the logged in user is the admin of the agency. + */ + await gapi.client.v2.getPartnersstatus({ + "requestMetadata.experimentIds": "requestMetadata.experimentIds", + "requestMetadata.locale": "requestMetadata.locale", + "requestMetadata.partnersSessionId": "requestMetadata.partnersSessionId", + "requestMetadata.trafficSource.trafficSourceId": "requestMetadata.trafficSource.trafficSourceId", + "requestMetadata.trafficSource.trafficSubId": "requestMetadata.trafficSource.trafficSubId", + "requestMetadata.userOverrides.ipAddress": "requestMetadata.userOverrides.ipAddress", + "requestMetadata.userOverrides.userId": "requestMetadata.userOverrides.userId", + }); + /** + * Update company. + * Should only be called within the context of an authorized logged in user. + */ + await gapi.client.v2.updateCompanies({ + "requestMetadata.experimentIds": "requestMetadata.experimentIds", + "requestMetadata.locale": "requestMetadata.locale", + "requestMetadata.partnersSessionId": "requestMetadata.partnersSessionId", + "requestMetadata.trafficSource.trafficSourceId": "requestMetadata.trafficSource.trafficSourceId", + "requestMetadata.trafficSource.trafficSubId": "requestMetadata.trafficSource.trafficSubId", + "requestMetadata.userOverrides.ipAddress": "requestMetadata.userOverrides.ipAddress", + "requestMetadata.userOverrides.userId": "requestMetadata.userOverrides.userId", + updateMask: "updateMask", + }); + /** Updates the specified lead. */ + await gapi.client.v2.updateLeads({ + "requestMetadata.experimentIds": "requestMetadata.experimentIds", + "requestMetadata.locale": "requestMetadata.locale", + "requestMetadata.partnersSessionId": "requestMetadata.partnersSessionId", + "requestMetadata.trafficSource.trafficSourceId": "requestMetadata.trafficSource.trafficSourceId", + "requestMetadata.trafficSource.trafficSubId": "requestMetadata.trafficSource.trafficSubId", + "requestMetadata.userOverrides.ipAddress": "requestMetadata.userOverrides.ipAddress", + "requestMetadata.userOverrides.userId": "requestMetadata.userOverrides.userId", + updateMask: "updateMask", + }); + } +}); diff --git a/types/gapi.client.partners/index.d.ts b/types/gapi.client.partners/index.d.ts new file mode 100644 index 0000000000..fd1ef4a8b1 --- /dev/null +++ b/types/gapi.client.partners/index.d.ts @@ -0,0 +1,1897 @@ +// Type definitions for Google Google Partners API v2 2.0 +// Project: https://developers.google.com/partners/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://partners.googleapis.com/$discovery/rest?version=v2 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Partners API v2 */ + function load(name: "partners", version: "v2"): PromiseLike<void>; + function load(name: "partners", version: "v2", callback: () => any): void; + + const analytics: partners.AnalyticsResource; + + const clientMessages: partners.ClientMessagesResource; + + const companies: partners.CompaniesResource; + + const exams: partners.ExamsResource; + + const leads: partners.LeadsResource; + + const offers: partners.OffersResource; + + const userEvents: partners.UserEventsResource; + + const userStates: partners.UserStatesResource; + + const users: partners.UsersResource; + + const v2: partners.V2Resource; + + namespace partners { + interface AdWordsManagerAccountInfo { + /** Name of the customer this account represents. */ + customerName?: string; + /** The AdWords Manager Account id. */ + id?: string; + } + interface Analytics { + /** + * Instances of users contacting the `Company` + * on the specified date. + */ + contacts?: AnalyticsDataPoint; + /** Date on which these events occurred. */ + eventDate?: Date; + /** + * Instances of users viewing the `Company` profile + * on the specified date. + */ + profileViews?: AnalyticsDataPoint; + /** + * Instances of users seeing the `Company` in Google Partners Search results + * on the specified date. + */ + searchViews?: AnalyticsDataPoint; + } + interface AnalyticsDataPoint { + /** + * Number of times the type of event occurred. + * Meaning depends on context (e.g. profile views, contacts, etc.). + */ + eventCount?: number; + /** Location information of where these events occurred. */ + eventLocations?: LatLng[]; + } + interface AnalyticsSummary { + /** + * Aggregated number of times users contacted the `Company` + * for given date range. + */ + contactsCount?: number; + /** Aggregated number of profile views for the `Company` for given date range. */ + profileViewsCount?: number; + /** + * Aggregated number of times users saw the `Company` + * in Google Partners Search results for given date range. + */ + searchViewsCount?: number; + } + interface AvailableOffer { + /** The number of codes for this offer that are available for distribution. */ + available?: number; + /** Offer info by country. */ + countryOfferInfos?: CountryOfferInfo[]; + /** Description of the offer. */ + description?: string; + /** ID of this offer. */ + id?: string; + /** The maximum age of an account [in days] to be eligible. */ + maxAccountAge?: number; + /** Name of the offer. */ + name?: string; + /** Level of this offer. */ + offerLevel?: string; + /** Type of offer. */ + offerType?: string; + /** Customers who qualify for this offer. */ + qualifiedCustomer?: OfferCustomer[]; + /** Whether or not the list of qualified customers is definitely complete. */ + qualifiedCustomersComplete?: boolean; + /** Should special text be shown on the offers page. */ + showSpecialOfferCopy?: boolean; + /** Terms of the offer. */ + terms?: string; + } + interface Certification { + /** Whether this certification has been achieved. */ + achieved?: boolean; + /** The type of certification, the area of expertise. */ + certificationType?: string; + /** Date this certification is due to expire. */ + expiration?: string; + /** The date the user last achieved certification. */ + lastAchieved?: string; + /** Whether this certification is in the state of warning. */ + warning?: boolean; + } + interface CertificationExamStatus { + /** The number of people who have passed the certification exam. */ + numberUsersPass?: number; + /** The type of certification exam. */ + type?: string; + } + interface CertificationStatus { + /** List of certification exam statuses. */ + examStatuses?: CertificationExamStatus[]; + /** Whether certification is passing. */ + isCertified?: boolean; + /** The type of the certification. */ + type?: string; + /** Number of people who are certified, */ + userCount?: number; + } + interface Company { + /** + * URL of the company's additional websites used to verify the dynamic badges. + * These are stored as full URLs as entered by the user, but only the TLD will + * be used for the actual verification. + */ + additionalWebsites?: string[]; + /** + * Email domains that allow users with a matching email address to get + * auto-approved for associating with this company. + */ + autoApprovalEmailDomains?: string[]; + /** Partner badge tier */ + badgeTier?: string; + /** The list of Google Partners certification statuses for the company. */ + certificationStatuses?: CertificationStatus[]; + /** Company type labels listed on the company's profile. */ + companyTypes?: string[]; + /** + * The minimum monthly budget that the company accepts for partner business, + * converted to the requested currency code. + */ + convertedMinMonthlyBudget?: Money; + /** The ID of the company. */ + id?: string; + /** Industries the company can help with. */ + industries?: string[]; + /** The list of localized info for the company. */ + localizedInfos?: LocalizedCompanyInfo[]; + /** + * The list of all company locations. + * If set, must include the + * primary_location + * in the list. + */ + locations?: Location[]; + /** The name of the company. */ + name?: string; + /** + * The unconverted minimum monthly budget that the company accepts for partner + * business. + */ + originalMinMonthlyBudget?: Money; + /** The Primary AdWords Manager Account id. */ + primaryAdwordsManagerAccountId?: string; + /** + * The primary language code of the company, as defined by + * <a href="https://tools.ietf.org/html/bcp47">BCP 47</a> + * (IETF BCP 47, "Tags for Identifying Languages"). + */ + primaryLanguageCode?: string; + /** The primary location of the company. */ + primaryLocation?: Location; + /** The public viewability status of the company's profile. */ + profileStatus?: string; + /** Basic information from the company's public profile. */ + publicProfile?: PublicProfile; + /** + * Information related to the ranking of the company within the list of + * companies. + */ + ranks?: Rank[]; + /** Services the company can help with. */ + services?: string[]; + /** The list of Google Partners specialization statuses for the company. */ + specializationStatus?: SpecializationStatus[]; + /** URL of the company's website. */ + websiteUrl?: string; + } + interface CompanyRelation { + /** The primary address for this company. */ + address?: string; + /** Whether the company is a Partner. */ + badgeTier?: string; + /** Indicates if the user is an admin for this company. */ + companyAdmin?: boolean; + /** + * The ID of the company. There may be no id if this is a + * pending company.5 + */ + companyId?: string; + /** + * The timestamp of when affiliation was requested. + * @OutputOnly + */ + creationTime?: string; + /** + * The internal company ID. + * Only available for a whitelisted set of api clients. + */ + internalCompanyId?: string; + /** The flag that indicates if the company is pending verification. */ + isPending?: boolean; + /** A URL to a profile photo, e.g. a G+ profile photo. */ + logoUrl?: string; + /** The AdWords manager account # associated this company. */ + managerAccount?: string; + /** The name (in the company's primary language) for the company. */ + name?: string; + /** The phone number for the company's primary address. */ + phoneNumber?: string; + /** The primary location of the company. */ + primaryAddress?: Location; + /** The primary country code of the company. */ + primaryCountryCode?: string; + /** The primary language code of the company. */ + primaryLanguageCode?: string; + /** + * The timestamp when the user was approved. + * @OutputOnly + */ + resolvedTimestamp?: string; + /** The segment the company is classified as. */ + segment?: string[]; + /** The list of Google Partners specialization statuses for the company. */ + specializationStatus?: SpecializationStatus[]; + /** The state of relationship, in terms of approvals. */ + state?: string; + /** The website URL for this company. */ + website?: string; + } + interface CountryOfferInfo { + /** (localized) Get Y amount for that country's offer. */ + getYAmount?: string; + /** Country code for which offer codes may be requested. */ + offerCountryCode?: string; + /** Type of offer country is eligible for. */ + offerType?: string; + /** (localized) Spend X amount for that country's offer. */ + spendXAmount?: string; + } + interface CreateLeadRequest { + /** + * The lead resource. The `LeadType` must not be `LEAD_TYPE_UNSPECIFIED` + * and either `email` or `phone_number` must be provided. + */ + lead?: Lead; + /** <a href="https://www.google.com/recaptcha/">reCaptcha</a> challenge info. */ + recaptchaChallenge?: RecaptchaChallenge; + /** Current request metadata. */ + requestMetadata?: RequestMetadata; + } + interface CreateLeadResponse { + /** + * Lead that was created depending on the outcome of + * <a href="https://www.google.com/recaptcha/">reCaptcha</a> validation. + */ + lead?: Lead; + /** + * The outcome of <a href="https://www.google.com/recaptcha/">reCaptcha</a> + * validation. + */ + recaptchaStatus?: string; + /** Current response metadata. */ + responseMetadata?: ResponseMetadata; + } + interface Date { + /** + * Day of month. Must be from 1 to 31 and valid for the year and month, or 0 + * if specifying a year/month where the day is not significant. + */ + day?: number; + /** Month of year. Must be from 1 to 12. */ + month?: number; + /** + * Year of date. Must be from 1 to 9999, or 0 if specifying a date without + * a year. + */ + year?: number; + } + interface DebugInfo { + /** Info about the server that serviced this request. */ + serverInfo?: string; + /** Server-side debug stack trace. */ + serverTraceInfo?: string; + /** URL of the service that handled this request. */ + serviceUrl?: string; + } + interface EventData { + /** Data type. */ + key?: string; + /** Data values. */ + values?: string[]; + } + interface ExamStatus { + /** The type of the exam. */ + examType?: string; + /** Date this exam is due to expire. */ + expiration?: string; + /** The date the user last passed this exam. */ + lastPassed?: string; + /** Whether this exam has been passed and not expired. */ + passed?: boolean; + /** The date the user last taken this exam. */ + taken?: string; + /** Whether this exam is in the state of warning. */ + warning?: boolean; + } + interface ExamToken { + /** The id of the exam the token is for. */ + examId?: string; + /** The type of the exam the token belongs to. */ + examType?: string; + /** The token, only present if the user has access to the exam. */ + token?: string; + } + interface GetCompanyResponse { + /** The company. */ + company?: Company; + /** Current response metadata. */ + responseMetadata?: ResponseMetadata; + } + interface GetPartnersStatusResponse { + /** Current response metadata. */ + responseMetadata?: ResponseMetadata; + } + interface HistoricalOffer { + /** Client's AdWords page URL. */ + adwordsUrl?: string; + /** Email address for client. */ + clientEmail?: string; + /** ID of client. */ + clientId?: string; + /** Name of the client. */ + clientName?: string; + /** Time offer was first created. */ + creationTime?: string; + /** Time this offer expires. */ + expirationTime?: string; + /** Time last action was taken. */ + lastModifiedTime?: string; + /** Offer code. */ + offerCode?: string; + /** Country Code for the offer country. */ + offerCountryCode?: string; + /** Type of offer. */ + offerType?: string; + /** Name (First + Last) of the partners user to whom the incentive is allocated. */ + senderName?: string; + /** Status of the offer. */ + status?: string; + } + interface LatLng { + /** The latitude in degrees. It must be in the range [-90.0, +90.0]. */ + latitude?: number; + /** The longitude in degrees. It must be in the range [-180.0, +180.0]. */ + longitude?: number; + } + interface Lead { + /** The AdWords Customer ID of the lead. */ + adwordsCustomerId?: string; + /** Comments lead source gave. */ + comments?: string; + /** Timestamp of when this lead was created. */ + createTime?: string; + /** Email address of lead source. */ + email?: string; + /** Last name of lead source. */ + familyName?: string; + /** First name of lead source. */ + givenName?: string; + /** List of reasons for using Google Partner Search and creating a lead. */ + gpsMotivations?: string[]; + /** ID of the lead. */ + id?: string; + /** + * Language code of the lead's language preference, as defined by + * <a href="https://tools.ietf.org/html/bcp47">BCP 47</a> + * (IETF BCP 47, "Tags for Identifying Languages"). + */ + languageCode?: string; + /** Whether or not the lead signed up for marketing emails */ + marketingOptIn?: boolean; + /** The minimum monthly budget lead source is willing to spend. */ + minMonthlyBudget?: Money; + /** Phone number of lead source. */ + phoneNumber?: string; + /** The lead's state in relation to the company. */ + state?: string; + /** Type of lead. */ + type?: string; + /** Website URL of lead source. */ + websiteUrl?: string; + } + interface ListAnalyticsResponse { + /** + * The list of analytics. + * Sorted in ascending order of + * Analytics.event_date. + */ + analytics?: Analytics[]; + /** + * Aggregated information across the response's + * analytics. + */ + analyticsSummary?: AnalyticsSummary; + /** + * A token to retrieve next page of results. + * Pass this value in the `ListAnalyticsRequest.page_token` field in the + * subsequent call to + * ListAnalytics to retrieve the + * next page of results. + */ + nextPageToken?: string; + /** Current response metadata. */ + responseMetadata?: ResponseMetadata; + } + interface ListCompaniesResponse { + /** The list of companies. */ + companies?: Company[]; + /** + * A token to retrieve next page of results. + * Pass this value in the `ListCompaniesRequest.page_token` field in the + * subsequent call to + * ListCompanies to retrieve the + * next page of results. + */ + nextPageToken?: string; + /** Current response metadata. */ + responseMetadata?: ResponseMetadata; + } + interface ListLeadsResponse { + /** The list of leads. */ + leads?: Lead[]; + /** + * A token to retrieve next page of results. + * Pass this value in the `ListLeadsRequest.page_token` field in the + * subsequent call to + * ListLeads to retrieve the + * next page of results. + */ + nextPageToken?: string; + /** Current response metadata. */ + responseMetadata?: ResponseMetadata; + /** The total count of leads for the given company. */ + totalSize?: number; + } + interface ListOffersHistoryResponse { + /** True if the user has the option to show entire company history. */ + canShowEntireCompany?: boolean; + /** Supply this token in a ListOffersHistoryRequest to retrieve the next page. */ + nextPageToken?: string; + /** Historical offers meeting request. */ + offers?: HistoricalOffer[]; + /** Current response metadata. */ + responseMetadata?: ResponseMetadata; + /** True if this response is showing entire company history. */ + showingEntireCompany?: boolean; + /** Number of results across all pages. */ + totalResults?: number; + } + interface ListOffersResponse { + /** Available Offers to be distributed. */ + availableOffers?: AvailableOffer[]; + /** Reason why no Offers are available. */ + noOfferReason?: string; + /** Current response metadata. */ + responseMetadata?: ResponseMetadata; + } + interface ListUserStatesResponse { + /** Current response metadata. */ + responseMetadata?: ResponseMetadata; + /** User's states. */ + userStates?: string[]; + } + interface LocalizedCompanyInfo { + /** List of country codes for the localized company info. */ + countryCodes?: string[]; + /** Localized display name. */ + displayName?: string; + /** + * Language code of the localized company info, as defined by + * <a href="https://tools.ietf.org/html/bcp47">BCP 47</a> + * (IETF BCP 47, "Tags for Identifying Languages"). + */ + languageCode?: string; + /** Localized brief description that the company uses to advertise themselves. */ + overview?: string; + } + interface Location { + /** The single string version of the address. */ + address?: string; + /** + * The following address lines represent the most specific part of any + * address. + */ + addressLine?: string[]; + /** Top-level administrative subdivision of this country. */ + administrativeArea?: string; + /** + * Dependent locality or sublocality. Used for UK dependent localities, or + * neighborhoods or boroughs in other locations. + */ + dependentLocality?: string; + /** Language code of the address. Should be in BCP 47 format. */ + languageCode?: string; + /** The latitude and longitude of the location, in degrees. */ + latLng?: LatLng; + /** Generally refers to the city/town portion of an address. */ + locality?: string; + /** Values are frequently alphanumeric. */ + postalCode?: string; + /** CLDR (Common Locale Data Repository) region code . */ + regionCode?: string; + /** + * Use of this code is very country-specific, but will refer to a secondary + * classification code for sorting mail. + */ + sortingCode?: string; + } + interface LogMessageRequest { + /** Map of client info, such as URL, browser navigator, browser platform, etc. */ + clientInfo?: Record<string, string>; + /** Details about the client message. */ + details?: string; + /** Message level of client message. */ + level?: string; + /** Current request metadata. */ + requestMetadata?: RequestMetadata; + } + interface LogMessageResponse { + /** Current response metadata. */ + responseMetadata?: ResponseMetadata; + } + interface LogUserEventRequest { + /** The action that occurred. */ + eventAction?: string; + /** The category the action belongs to. */ + eventCategory?: string; + /** List of event data for the event. */ + eventDatas?: EventData[]; + /** The scope of the event. */ + eventScope?: string; + /** Advertiser lead information. */ + lead?: Lead; + /** Current request metadata. */ + requestMetadata?: RequestMetadata; + /** The URL where the event occurred. */ + url?: string; + } + interface LogUserEventResponse { + /** Current response metadata. */ + responseMetadata?: ResponseMetadata; + } + interface Money { + /** The 3-letter currency code defined in ISO 4217. */ + currencyCode?: string; + /** + * Number of nano (10^-9) units of the amount. + * The value must be between -999,999,999 and +999,999,999 inclusive. + * If `units` is positive, `nanos` must be positive or zero. + * If `units` is zero, `nanos` can be positive, zero, or negative. + * If `units` is negative, `nanos` must be negative or zero. + * For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. + */ + nanos?: number; + /** + * The whole units of the amount. + * For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + */ + units?: string; + } + interface OfferCustomer { + /** URL to the customer's AdWords page. */ + adwordsUrl?: string; + /** Country code of the customer. */ + countryCode?: string; + /** Time the customer was created. */ + creationTime?: string; + /** Days the customer is still eligible. */ + eligibilityDaysLeft?: number; + /** External CID for the customer. */ + externalCid?: string; + /** Formatted Get Y amount with currency code. */ + getYAmount?: string; + /** Name of the customer. */ + name?: string; + /** Type of the offer */ + offerType?: string; + /** Formatted Spend X amount with currency code. */ + spendXAmount?: string; + } + interface OptIns { + /** + * An opt-in about receiving email from Partners marketing teams. Includes + * member-only events and special promotional offers for Google products. + */ + marketComm?: boolean; + /** + * An opt-in about receiving email with customized AdWords campaign management + * tips. + */ + performanceSuggestions?: boolean; + /** An opt-in to allow recieivng phone calls about their Partners account. */ + phoneContact?: boolean; + /** An opt-in to receive special promotional gifts and material in the mail. */ + physicalMail?: boolean; + /** An opt-in about receiving email regarding new features and products. */ + specialOffers?: boolean; + } + interface PublicProfile { + /** The URL to the main display image of the public profile. Being deprecated. */ + displayImageUrl?: string; + /** The display name of the public profile. */ + displayName?: string; + /** The ID which can be used to retrieve more details about the public profile. */ + id?: string; + /** The URL to the main profile image of the public profile. */ + profileImage?: string; + /** The URL of the public profile. */ + url?: string; + } + interface Rank { + /** The type of rank. */ + type?: string; + /** The numerical value of the rank. */ + value?: number; + } + interface RecaptchaChallenge { + /** The ID of the reCaptcha challenge. */ + id?: string; + /** The response to the reCaptcha challenge. */ + response?: string; + } + interface RequestMetadata { + /** Experiment IDs the current request belongs to. */ + experimentIds?: string[]; + /** Locale to use for the current request. */ + locale?: string; + /** Google Partners session ID. */ + partnersSessionId?: string; + /** Source of traffic for the current request. */ + trafficSource?: TrafficSource; + /** + * Values to use instead of the user's respective defaults for the current + * request. These are only honored by whitelisted products. + */ + userOverrides?: UserOverrides; + } + interface ResponseMetadata { + /** Debug information about this request. */ + debugInfo?: DebugInfo; + } + interface SpecializationStatus { + /** The specialization this status is for. */ + badgeSpecialization?: string; + /** State of agency specialization. */ + badgeSpecializationState?: string; + } + interface TrafficSource { + /** + * Identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + trafficSourceId?: string; + /** + * Second level identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + trafficSubId?: string; + } + interface User { + /** + * This is the list of AdWords Manager Accounts the user has edit access to. + * If the user has edit access to multiple accounts, the user can choose the + * preferred account and we use this when a personal account is needed. Can + * be empty meaning the user has access to no accounts. + * @OutputOnly + */ + availableAdwordsManagerAccounts?: AdWordsManagerAccountInfo[]; + /** + * The list of achieved certifications. These are calculated based on exam + * results and other requirements. + * @OutputOnly + */ + certificationStatus?: Certification[]; + /** + * The company that the user is associated with. + * If not present, the user is not associated with any company. + */ + company?: CompanyRelation; + /** + * The email address used by the user used for company verification. + * @OutputOnly + */ + companyVerificationEmail?: string; + /** + * The list of exams the user ever taken. For each type of exam, only one + * entry is listed. + */ + examStatus?: ExamStatus[]; + /** The ID of the user. */ + id?: string; + /** + * The internal user ID. + * Only available for a whitelisted set of api clients. + */ + internalId?: string; + /** + * The most recent time the user interacted with the Partners site. + * @OutputOnly + */ + lastAccessTime?: string; + /** + * The list of emails the user has access to/can select as primary. + * @OutputOnly + */ + primaryEmails?: string[]; + /** + * The profile information of a Partners user, contains all the directly + * editable user information. + */ + profile?: UserProfile; + /** Information about a user's external public profile outside Google Partners. */ + publicProfile?: PublicProfile; + } + interface UserOverrides { + /** IP address to use instead of the user's geo-located IP address. */ + ipAddress?: string; + /** Logged-in user ID to impersonate instead of the user's ID. */ + userId?: string; + } + interface UserProfile { + /** The user's mailing address, contains multiple fields. */ + address?: Location; + /** + * If the user has edit access to multiple accounts, the user can choose the + * preferred account and it is used when a personal account is needed. Can + * be empty. + */ + adwordsManagerAccount?: string; + /** A list of ids representing which channels the user selected they were in. */ + channels?: string[]; + /** The email address the user has selected on the Partners site as primary. */ + emailAddress?: string; + /** The list of opt-ins for the user, related to communication preferences. */ + emailOptIns?: OptIns; + /** The user's family name. */ + familyName?: string; + /** The user's given name. */ + givenName?: string; + /** A list of ids representing which industries the user selected. */ + industries?: string[]; + /** A list of ids represnting which job categories the user selected. */ + jobFunctions?: string[]; + /** The list of languages this user understands. */ + languages?: string[]; + /** A list of ids representing which markets the user was interested in. */ + markets?: string[]; + /** The user's phone number. */ + phoneNumber?: string; + /** The user's primary country, an ISO 2-character code. */ + primaryCountryCode?: string; + /** Whether the user's public profile is visible to anyone with the URL. */ + profilePublic?: boolean; + } + interface AnalyticsResource { + /** + * Lists analytics data for a user's associated company. + * Should only be called within the context of an authorized logged in user. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Requested page size. Server may return fewer analytics than requested. + * If unspecified or set to 0, default value is 30. + * Specifies the number of days in the date range when querying analytics. + * The `page_token` represents the end date of the date range + * and the start date is calculated using the `page_size` as the number + * of days BEFORE the end date. + * Must be a non-negative integer. + */ + pageSize?: number; + /** + * A token identifying a page of results that the server returns. + * Typically, this is the value of `ListAnalyticsResponse.next_page_token` + * returned from the previous call to + * ListAnalytics. + * Will be a date string in `YYYY-MM-DD` format representing the end date + * of the date range of results to return. + * If unspecified or set to "", default value is the current date. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Experiment IDs the current request belongs to. */ + "requestMetadata.experimentIds"?: string; + /** Locale to use for the current request. */ + "requestMetadata.locale"?: string; + /** Google Partners session ID. */ + "requestMetadata.partnersSessionId"?: string; + /** + * Identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSourceId"?: string; + /** + * Second level identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSubId"?: string; + /** IP address to use instead of the user's geo-located IP address. */ + "requestMetadata.userOverrides.ipAddress"?: string; + /** Logged-in user ID to impersonate instead of the user's ID. */ + "requestMetadata.userOverrides.userId"?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListAnalyticsResponse>; + } + interface ClientMessagesResource { + /** + * Logs a generic message from the client, such as + * `Failed to render component`, `Profile page is running slow`, + * `More than 500 users have accessed this result.`, etc. + */ + log(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogMessageResponse>; + } + interface LeadsResource { + /** Creates an advertiser lead for the given company ID. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The ID of the company to contact. */ + companyId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CreateLeadResponse>; + } + interface CompaniesResource { + /** Gets a company. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** + * The address to use for sorting the company's addresses by proximity. + * If not given, the geo-located address of the request is used. + * Used when order_by is set. + */ + address?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The ID of the company to retrieve. */ + companyId: string; + /** + * If the company's budget is in a different currency code than this one, then + * the converted budget is converted to this currency code. + */ + currencyCode?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * How to order addresses within the returned company. Currently, only + * `address` and `address desc` is supported which will sorted by closest to + * farthest in distance from given address and farthest to closest distance + * from given address respectively. + */ + orderBy?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Experiment IDs the current request belongs to. */ + "requestMetadata.experimentIds"?: string; + /** Locale to use for the current request. */ + "requestMetadata.locale"?: string; + /** Google Partners session ID. */ + "requestMetadata.partnersSessionId"?: string; + /** + * Identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSourceId"?: string; + /** + * Second level identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSubId"?: string; + /** IP address to use instead of the user's geo-located IP address. */ + "requestMetadata.userOverrides.ipAddress"?: string; + /** Logged-in user ID to impersonate instead of the user's ID. */ + "requestMetadata.userOverrides.userId"?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The view of `Company` resource to be returned. This must not be + * `COMPANY_VIEW_UNSPECIFIED`. + */ + view?: string; + }): Request<GetCompanyResponse>; + /** Lists companies. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** + * The address to use when searching for companies. + * If not given, the geo-located address of the request is used. + */ + address?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Company name to search for. */ + companyName?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** List of reasons for using Google Partner Search to get companies. */ + gpsMotivations?: string; + /** List of industries the company can help with. */ + industries?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * List of language codes that company can support. Only primary language + * subtags are accepted as defined by + * <a href="https://tools.ietf.org/html/bcp47">BCP 47</a> + * (IETF BCP 47, "Tags for Identifying Languages"). + */ + languageCodes?: string; + /** The 3-letter currency code defined in ISO 4217. */ + "maxMonthlyBudget.currencyCode"?: string; + /** + * Number of nano (10^-9) units of the amount. + * The value must be between -999,999,999 and +999,999,999 inclusive. + * If `units` is positive, `nanos` must be positive or zero. + * If `units` is zero, `nanos` can be positive, zero, or negative. + * If `units` is negative, `nanos` must be negative or zero. + * For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. + */ + "maxMonthlyBudget.nanos"?: number; + /** + * The whole units of the amount. + * For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + */ + "maxMonthlyBudget.units"?: string; + /** The 3-letter currency code defined in ISO 4217. */ + "minMonthlyBudget.currencyCode"?: string; + /** + * Number of nano (10^-9) units of the amount. + * The value must be between -999,999,999 and +999,999,999 inclusive. + * If `units` is positive, `nanos` must be positive or zero. + * If `units` is zero, `nanos` can be positive, zero, or negative. + * If `units` is negative, `nanos` must be negative or zero. + * For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. + */ + "minMonthlyBudget.nanos"?: number; + /** + * The whole units of the amount. + * For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + */ + "minMonthlyBudget.units"?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * How to order addresses within the returned companies. Currently, only + * `address` and `address desc` is supported which will sorted by closest to + * farthest in distance from given address and farthest to closest distance + * from given address respectively. + */ + orderBy?: string; + /** + * Requested page size. Server may return fewer companies than requested. + * If unspecified, server picks an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results that the server returns. + * Typically, this is the value of `ListCompaniesResponse.next_page_token` + * returned from the previous call to + * ListCompanies. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Experiment IDs the current request belongs to. */ + "requestMetadata.experimentIds"?: string; + /** Locale to use for the current request. */ + "requestMetadata.locale"?: string; + /** Google Partners session ID. */ + "requestMetadata.partnersSessionId"?: string; + /** + * Identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSourceId"?: string; + /** + * Second level identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSubId"?: string; + /** IP address to use instead of the user's geo-located IP address. */ + "requestMetadata.userOverrides.ipAddress"?: string; + /** Logged-in user ID to impersonate instead of the user's ID. */ + "requestMetadata.userOverrides.userId"?: string; + /** + * List of services that the returned agencies should provide. If this is + * not empty, any returned agency must have at least one of these services, + * or one of the specializations in the "specializations" field. + */ + services?: string; + /** + * List of specializations that the returned agencies should provide. If this + * is not empty, any returned agency must have at least one of these + * specializations, or one of the services in the "services" field. + */ + specializations?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The view of the `Company` resource to be returned. This must not be + * `COMPANY_VIEW_UNSPECIFIED`. + */ + view?: string; + /** + * Website URL that will help to find a better matched company. + * . + */ + websiteUrl?: string; + }): Request<ListCompaniesResponse>; + leads: LeadsResource; + } + interface ExamsResource { + /** Gets an Exam Token for a Partner's user to take an exam in the Exams System */ + getToken(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The exam type we are requesting a token for. */ + examType: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Experiment IDs the current request belongs to. */ + "requestMetadata.experimentIds"?: string; + /** Locale to use for the current request. */ + "requestMetadata.locale"?: string; + /** Google Partners session ID. */ + "requestMetadata.partnersSessionId"?: string; + /** + * Identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSourceId"?: string; + /** + * Second level identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSubId"?: string; + /** IP address to use instead of the user's geo-located IP address. */ + "requestMetadata.userOverrides.ipAddress"?: string; + /** Logged-in user ID to impersonate instead of the user's ID. */ + "requestMetadata.userOverrides.userId"?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ExamToken>; + } + interface LeadsResource { + /** + * Lists advertiser leads for a user's associated company. + * Should only be called within the context of an authorized logged in user. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * How to order Leads. Currently, only `create_time` + * and `create_time desc` are supported + */ + orderBy?: string; + /** + * Requested page size. Server may return fewer leads than requested. + * If unspecified, server picks an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results that the server returns. + * Typically, this is the value of `ListLeadsResponse.next_page_token` + * returned from the previous call to + * ListLeads. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Experiment IDs the current request belongs to. */ + "requestMetadata.experimentIds"?: string; + /** Locale to use for the current request. */ + "requestMetadata.locale"?: string; + /** Google Partners session ID. */ + "requestMetadata.partnersSessionId"?: string; + /** + * Identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSourceId"?: string; + /** + * Second level identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSubId"?: string; + /** IP address to use instead of the user's geo-located IP address. */ + "requestMetadata.userOverrides.ipAddress"?: string; + /** Logged-in user ID to impersonate instead of the user's ID. */ + "requestMetadata.userOverrides.userId"?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListLeadsResponse>; + } + interface HistoryResource { + /** Lists the Historical Offers for the current user (or user's entire company) */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** if true, show history for the entire company. Requires user to be admin. */ + entireCompany?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Comma-separated list of fields to order by, e.g.: "foo,bar,baz". + * Use "foo desc" to sort descending. + * List of valid field names is: name, offer_code, expiration_time, status, + * last_modified_time, sender_name, creation_time, country_code, + * offer_type. + */ + orderBy?: string; + /** Maximum number of rows to return per page. */ + pageSize?: number; + /** Token to retrieve a specific page. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Experiment IDs the current request belongs to. */ + "requestMetadata.experimentIds"?: string; + /** Locale to use for the current request. */ + "requestMetadata.locale"?: string; + /** Google Partners session ID. */ + "requestMetadata.partnersSessionId"?: string; + /** + * Identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSourceId"?: string; + /** + * Second level identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSubId"?: string; + /** IP address to use instead of the user's geo-located IP address. */ + "requestMetadata.userOverrides.ipAddress"?: string; + /** Logged-in user ID to impersonate instead of the user's ID. */ + "requestMetadata.userOverrides.userId"?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListOffersHistoryResponse>; + } + interface OffersResource { + /** Lists the Offers available for the current user */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Experiment IDs the current request belongs to. */ + "requestMetadata.experimentIds"?: string; + /** Locale to use for the current request. */ + "requestMetadata.locale"?: string; + /** Google Partners session ID. */ + "requestMetadata.partnersSessionId"?: string; + /** + * Identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSourceId"?: string; + /** + * Second level identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSubId"?: string; + /** IP address to use instead of the user's geo-located IP address. */ + "requestMetadata.userOverrides.ipAddress"?: string; + /** Logged-in user ID to impersonate instead of the user's ID. */ + "requestMetadata.userOverrides.userId"?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListOffersResponse>; + history: HistoryResource; + } + interface UserEventsResource { + /** Logs a user event. */ + log(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LogUserEventResponse>; + } + interface UserStatesResource { + /** Lists states for current user. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Experiment IDs the current request belongs to. */ + "requestMetadata.experimentIds"?: string; + /** Locale to use for the current request. */ + "requestMetadata.locale"?: string; + /** Google Partners session ID. */ + "requestMetadata.partnersSessionId"?: string; + /** + * Identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSourceId"?: string; + /** + * Second level identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSubId"?: string; + /** IP address to use instead of the user's geo-located IP address. */ + "requestMetadata.userOverrides.ipAddress"?: string; + /** Logged-in user ID to impersonate instead of the user's ID. */ + "requestMetadata.userOverrides.userId"?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListUserStatesResponse>; + } + interface UsersResource { + /** Creates a user's company relation. Affiliates the user to a company. */ + createCompanyRelation(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Experiment IDs the current request belongs to. */ + "requestMetadata.experimentIds"?: string; + /** Locale to use for the current request. */ + "requestMetadata.locale"?: string; + /** Google Partners session ID. */ + "requestMetadata.partnersSessionId"?: string; + /** + * Identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSourceId"?: string; + /** + * Second level identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSubId"?: string; + /** IP address to use instead of the user's geo-located IP address. */ + "requestMetadata.userOverrides.ipAddress"?: string; + /** Logged-in user ID to impersonate instead of the user's ID. */ + "requestMetadata.userOverrides.userId"?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The ID of the user. Can be set to <code>me</code> to mean + * the currently authenticated user. + */ + userId: string; + }): Request<CompanyRelation>; + /** Deletes a user's company relation. Unaffiliaites the user from a company. */ + deleteCompanyRelation(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Experiment IDs the current request belongs to. */ + "requestMetadata.experimentIds"?: string; + /** Locale to use for the current request. */ + "requestMetadata.locale"?: string; + /** Google Partners session ID. */ + "requestMetadata.partnersSessionId"?: string; + /** + * Identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSourceId"?: string; + /** + * Second level identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSubId"?: string; + /** IP address to use instead of the user's geo-located IP address. */ + "requestMetadata.userOverrides.ipAddress"?: string; + /** Logged-in user ID to impersonate instead of the user's ID. */ + "requestMetadata.userOverrides.userId"?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * The ID of the user. Can be set to <code>me</code> to mean + * the currently authenticated user. + */ + userId: string; + }): Request<{}>; + /** Gets a user. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Experiment IDs the current request belongs to. */ + "requestMetadata.experimentIds"?: string; + /** Locale to use for the current request. */ + "requestMetadata.locale"?: string; + /** Google Partners session ID. */ + "requestMetadata.partnersSessionId"?: string; + /** + * Identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSourceId"?: string; + /** + * Second level identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSubId"?: string; + /** IP address to use instead of the user's geo-located IP address. */ + "requestMetadata.userOverrides.ipAddress"?: string; + /** Logged-in user ID to impersonate instead of the user's ID. */ + "requestMetadata.userOverrides.userId"?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * Identifier of the user. Can be set to <code>me</code> to mean the currently + * authenticated user. + */ + userId: string; + /** Specifies what parts of the user information to return. */ + userView?: string; + }): Request<User>; + /** + * Updates a user's profile. A user can only update their own profile and + * should only be called within the context of a logged in user. + */ + updateProfile(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Experiment IDs the current request belongs to. */ + "requestMetadata.experimentIds"?: string; + /** Locale to use for the current request. */ + "requestMetadata.locale"?: string; + /** Google Partners session ID. */ + "requestMetadata.partnersSessionId"?: string; + /** + * Identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSourceId"?: string; + /** + * Second level identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSubId"?: string; + /** IP address to use instead of the user's geo-located IP address. */ + "requestMetadata.userOverrides.ipAddress"?: string; + /** Logged-in user ID to impersonate instead of the user's ID. */ + "requestMetadata.userOverrides.userId"?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<UserProfile>; + } + interface V2Resource { + /** + * Gets Partners Status of the logged in user's agency. + * Should only be called if the logged in user is the admin of the agency. + */ + getPartnersstatus(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Experiment IDs the current request belongs to. */ + "requestMetadata.experimentIds"?: string; + /** Locale to use for the current request. */ + "requestMetadata.locale"?: string; + /** Google Partners session ID. */ + "requestMetadata.partnersSessionId"?: string; + /** + * Identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSourceId"?: string; + /** + * Second level identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSubId"?: string; + /** IP address to use instead of the user's geo-located IP address. */ + "requestMetadata.userOverrides.ipAddress"?: string; + /** Logged-in user ID to impersonate instead of the user's ID. */ + "requestMetadata.userOverrides.userId"?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GetPartnersStatusResponse>; + /** + * Update company. + * Should only be called within the context of an authorized logged in user. + */ + updateCompanies(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Experiment IDs the current request belongs to. */ + "requestMetadata.experimentIds"?: string; + /** Locale to use for the current request. */ + "requestMetadata.locale"?: string; + /** Google Partners session ID. */ + "requestMetadata.partnersSessionId"?: string; + /** + * Identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSourceId"?: string; + /** + * Second level identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSubId"?: string; + /** IP address to use instead of the user's geo-located IP address. */ + "requestMetadata.userOverrides.ipAddress"?: string; + /** Logged-in user ID to impersonate instead of the user's ID. */ + "requestMetadata.userOverrides.userId"?: string; + /** + * Standard field mask for the set of fields to be updated. + * Required with at least 1 value in FieldMask's paths. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Company>; + /** Updates the specified lead. */ + updateLeads(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Experiment IDs the current request belongs to. */ + "requestMetadata.experimentIds"?: string; + /** Locale to use for the current request. */ + "requestMetadata.locale"?: string; + /** Google Partners session ID. */ + "requestMetadata.partnersSessionId"?: string; + /** + * Identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSourceId"?: string; + /** + * Second level identifier to indicate where the traffic comes from. + * An identifier has multiple letters created by a team which redirected the + * traffic to us. + */ + "requestMetadata.trafficSource.trafficSubId"?: string; + /** IP address to use instead of the user's geo-located IP address. */ + "requestMetadata.userOverrides.ipAddress"?: string; + /** Logged-in user ID to impersonate instead of the user's ID. */ + "requestMetadata.userOverrides.userId"?: string; + /** + * Standard field mask for the set of fields to be updated. + * Required with at least 1 value in FieldMask's paths. + * Only `state` and `adwords_customer_id` are currently supported. + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Lead>; + } + } +} diff --git a/types/gapi.client.partners/readme.md b/types/gapi.client.partners/readme.md new file mode 100644 index 0000000000..4fcc985c26 --- /dev/null +++ b/types/gapi.client.partners/readme.md @@ -0,0 +1,122 @@ +# TypeScript typings for Google Partners API v2 +Searches certified companies and creates contact leads with them, and also audits the usage of clients. +For detailed description please check [documentation](https://developers.google.com/partners/). + +## Installing + +Install typings for Google Partners API: +``` +npm install @types/gapi.client.partners@v2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('partners', 'v2', () => { + // now we can use gapi.client.partners + // ... +}); +``` + + + +After that you can use Google Partners API resources: + +```typescript + +/* +Lists analytics data for a user's associated company. +Should only be called within the context of an authorized logged in user. +*/ +await gapi.client.analytics.list({ }); + +/* +Logs a generic message from the client, such as +`Failed to render component`, `Profile page is running slow`, +`More than 500 users have accessed this result.`, etc. +*/ +await gapi.client.clientMessages.log({ }); + +/* +Gets a company. +*/ +await gapi.client.companies.get({ companyId: "companyId", }); + +/* +Lists companies. +*/ +await gapi.client.companies.list({ }); + +/* +Gets an Exam Token for a Partner's user to take an exam in the Exams System +*/ +await gapi.client.exams.getToken({ examType: "examType", }); + +/* +Lists advertiser leads for a user's associated company. +Should only be called within the context of an authorized logged in user. +*/ +await gapi.client.leads.list({ }); + +/* +Lists the Offers available for the current user +*/ +await gapi.client.offers.list({ }); + +/* +Logs a user event. +*/ +await gapi.client.userEvents.log({ }); + +/* +Lists states for current user. +*/ +await gapi.client.userStates.list({ }); + +/* +Creates a user's company relation. Affiliates the user to a company. +*/ +await gapi.client.users.createCompanyRelation({ userId: "userId", }); + +/* +Deletes a user's company relation. Unaffiliaites the user from a company. +*/ +await gapi.client.users.deleteCompanyRelation({ userId: "userId", }); + +/* +Gets a user. +*/ +await gapi.client.users.get({ userId: "userId", }); + +/* +Updates a user's profile. A user can only update their own profile and +should only be called within the context of a logged in user. +*/ +await gapi.client.users.updateProfile({ }); + +/* +Gets Partners Status of the logged in user's agency. +Should only be called if the logged in user is the admin of the agency. +*/ +await gapi.client.v2.getPartnersstatus({ }); + +/* +Update company. +Should only be called within the context of an authorized logged in user. +*/ +await gapi.client.v2.updateCompanies({ }); + +/* +Updates the specified lead. +*/ +await gapi.client.v2.updateLeads({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.partners/tsconfig.json b/types/gapi.client.partners/tsconfig.json new file mode 100644 index 0000000000..cbecfb7e6e --- /dev/null +++ b/types/gapi.client.partners/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.partners-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.partners/tslint.json b/types/gapi.client.partners/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.partners/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.people/gapi.client.people-tests.ts b/types/gapi.client.people/gapi.client.people-tests.ts new file mode 100644 index 0000000000..95f1a10be8 --- /dev/null +++ b/types/gapi.client.people/gapi.client.people-tests.ts @@ -0,0 +1,140 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('people', 'v1', () => { + /** now we can use gapi.client.people */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage your contacts */ + 'https://www.googleapis.com/auth/contacts', + /** View your contacts */ + 'https://www.googleapis.com/auth/contacts.readonly', + /** Know the list of people in your circles, your age range, and language */ + 'https://www.googleapis.com/auth/plus.login', + /** View your street addresses */ + 'https://www.googleapis.com/auth/user.addresses.read', + /** View your complete date of birth */ + 'https://www.googleapis.com/auth/user.birthday.read', + /** View your email addresses */ + 'https://www.googleapis.com/auth/user.emails.read', + /** View your phone numbers */ + 'https://www.googleapis.com/auth/user.phonenumbers.read', + /** View your email address */ + 'https://www.googleapis.com/auth/userinfo.email', + /** View your basic profile info */ + 'https://www.googleapis.com/auth/userinfo.profile', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Get a list of contact groups owned by the authenticated user by specifying + * a list of contact group resource names. + */ + await gapi.client.contactGroups.batchGet({ + maxMembers: 1, + resourceNames: "resourceNames", + }); + /** Create a new contact group owned by the authenticated user. */ + await gapi.client.contactGroups.create({ + }); + /** + * Delete an existing contact group owned by the authenticated user by + * specifying a contact group resource name. + */ + await gapi.client.contactGroups.delete({ + deleteContacts: true, + resourceName: "resourceName", + }); + /** + * Get a specific contact group owned by the authenticated user by specifying + * a contact group resource name. + */ + await gapi.client.contactGroups.get({ + maxMembers: 1, + resourceName: "resourceName", + }); + /** + * List all contact groups owned by the authenticated user. Members of the + * contact groups are not populated. + */ + await gapi.client.contactGroups.list({ + pageSize: 1, + pageToken: "pageToken", + syncToken: "syncToken", + }); + /** + * Update the name of an existing contact group owned by the authenticated + * user. + */ + await gapi.client.contactGroups.update({ + resourceName: "resourceName", + }); + /** Create a new contact and return the person resource for that contact. */ + await gapi.client.people.createContact({ + parent: "parent", + }); + /** Delete a contact person. Any non-contact data will not be deleted. */ + await gapi.client.people.deleteContact({ + resourceName: "resourceName", + }); + /** + * Provides information about a person by specifying a resource name. Use + * `people/me` to indicate the authenticated user. + * <br> + * The request throws a 400 error if 'personFields' is not specified. + */ + await gapi.client.people.get({ + personFields: "personFields", + "requestMask.includeField": "requestMask.includeField", + resourceName: "resourceName", + }); + /** + * Provides information about a list of specific people by specifying a list + * of requested resource names. Use `people/me` to indicate the authenticated + * user. + * <br> + * The request throws a 400 error if 'personFields' is not specified. + */ + await gapi.client.people.getBatchGet({ + personFields: "personFields", + "requestMask.includeField": "requestMask.includeField", + resourceNames: "resourceNames", + }); + /** + * Update contact data for an existing contact person. Any non-contact data + * will not be modified. + * + * The request throws a 400 error if `updatePersonFields` is not specified. + * <br> + * The request throws a 400 error if `person.metadata.sources` is not + * specified for the contact to be updated. + * <br> + * The request throws a 412 error if `person.metadata.sources.etag` is + * different than the contact's etag, which indicates the contact has changed + * since its data was read. Clients should get the latest person and re-apply + * their updates to the latest person. + */ + await gapi.client.people.updateContact({ + resourceName: "resourceName", + updatePersonFields: "updatePersonFields", + }); + } +}); diff --git a/types/gapi.client.people/index.d.ts b/types/gapi.client.people/index.d.ts new file mode 100644 index 0000000000..77213e6306 --- /dev/null +++ b/types/gapi.client.people/index.d.ts @@ -0,0 +1,1505 @@ +// Type definitions for Google Google People API v1 1.0 +// Project: https://developers.google.com/people/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://people.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google People API v1 */ + function load(name: "people", version: "v1"): PromiseLike<void>; + function load(name: "people", version: "v1", callback: () => any): void; + + const contactGroups: people.ContactGroupsResource; + + const people: people.PeopleResource; + + namespace people { + interface Address { + /** The city of the address. */ + city?: string; + /** The country of the address. */ + country?: string; + /** + * The [ISO 3166-1 alpha-2](http://www.iso.org/iso/country_codes.htm) country + * code of the address. + */ + countryCode?: string; + /** The extended address of the address; for example, the apartment number. */ + extendedAddress?: string; + /** + * The read-only type of the address translated and formatted in the viewer's + * account locale or the `Accept-Language` HTTP header locale. + */ + formattedType?: string; + /** + * The unstructured value of the address. If this is not set by the user it + * will be automatically constructed from structured values. + */ + formattedValue?: string; + /** Metadata about the address. */ + metadata?: FieldMetadata; + /** The P.O. box of the address. */ + poBox?: string; + /** The postal code of the address. */ + postalCode?: string; + /** The region of the address; for example, the state or province. */ + region?: string; + /** The street address. */ + streetAddress?: string; + /** + * The type of the address. The type can be custom or predefined. + * Possible values include, but are not limited to, the following: + * + * * `home` + * * `work` + * * `other` + */ + type?: string; + } + interface AgeRangeType { + /** The age range. */ + ageRange?: string; + /** Metadata about the age range. */ + metadata?: FieldMetadata; + } + interface BatchGetContactGroupsResponse { + /** The list of responses for each requested contact group resource. */ + responses?: ContactGroupResponse[]; + } + interface Biography { + /** The content type of the biography. */ + contentType?: string; + /** Metadata about the biography. */ + metadata?: FieldMetadata; + /** The short biography. */ + value?: string; + } + interface Birthday { + /** The date of the birthday. */ + date?: Date; + /** Metadata about the birthday. */ + metadata?: FieldMetadata; + /** A free-form string representing the user's birthday. */ + text?: string; + } + interface BraggingRights { + /** Metadata about the bragging rights. */ + metadata?: FieldMetadata; + /** The bragging rights; for example, `climbed mount everest`. */ + value?: string; + } + interface ContactGroup { + /** + * The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the + * resource. Used for web cache validation. + */ + etag?: string; + /** + * The read-only name translated and formatted in the viewer's account locale + * or the `Accept-Language` HTTP header locale for system groups names. + * Group names set by the owner are the same as name. + */ + formattedName?: string; + /** The read-only contact group type. */ + groupType?: string; + /** + * The total number of contacts in the group irrespective of max members in + * specified in the request. + */ + memberCount?: number; + /** + * The list of contact person resource names that are members of the contact + * group. The field is not populated for LIST requests and can only be updated + * through the + * [ModifyContactGroupMembers](/people/api/rest/v1/contactgroups/members/modify). + */ + memberResourceNames?: string[]; + /** Metadata about the contact group. */ + metadata?: ContactGroupMetadata; + /** + * The contact group name set by the group owner or a system provided name + * for system groups. + */ + name?: string; + /** + * The resource name for the contact group, assigned by the server. An ASCII + * string, in the form of `contactGroups/`<var>contact_group_id</var>. + */ + resourceName?: string; + } + interface ContactGroupMembership { + /** + * The contact group ID for the contact group membership. The contact group + * ID can be custom or predefined. Possible values include, but are not + * limited to, the following: + * + * * `myContacts` + * * `starred` + * * A numerical ID for user-created groups. + */ + contactGroupId?: string; + } + interface ContactGroupMetadata { + /** + * True if the contact group resource has been deleted. Populated only for + * [`ListContactGroups`](/people/api/rest/v1/contactgroups/list) requests + * that include a sync token. + */ + deleted?: boolean; + /** The time the group was last updated. */ + updateTime?: string; + } + interface ContactGroupResponse { + /** The contact group. */ + contactGroup?: ContactGroup; + /** The original requested resource name. */ + requestedResourceName?: string; + /** The status of the response. */ + status?: Status; + } + interface CoverPhoto { + /** + * True if the cover photo is the default cover photo; + * false if the cover photo is a user-provided cover photo. + */ + default?: boolean; + /** Metadata about the cover photo. */ + metadata?: FieldMetadata; + /** The URL of the cover photo. */ + url?: string; + } + interface CreateContactGroupRequest { + /** The contact group to create. */ + contactGroup?: ContactGroup; + } + interface Date { + /** + * Day of month. Must be from 1 to 31 and valid for the year and month, or 0 + * if specifying a year/month where the day is not significant. + */ + day?: number; + /** Month of year. Must be from 1 to 12. */ + month?: number; + /** + * Year of date. Must be from 1 to 9999, or 0 if specifying a date without + * a year. + */ + year?: number; + } + interface DomainMembership { + /** True if the person is in the viewer's Google Apps domain. */ + inViewerDomain?: boolean; + } + interface EmailAddress { + /** The display name of the email. */ + displayName?: string; + /** + * The read-only type of the email address translated and formatted in the + * viewer's account locale or the `Accept-Language` HTTP header locale. + */ + formattedType?: string; + /** Metadata about the email address. */ + metadata?: FieldMetadata; + /** + * The type of the email address. The type can be custom or predefined. + * Possible values include, but are not limited to, the following: + * + * * `home` + * * `work` + * * `other` + */ + type?: string; + /** The email address. */ + value?: string; + } + interface Event { + /** The date of the event. */ + date?: Date; + /** + * The read-only type of the event translated and formatted in the + * viewer's account locale or the `Accept-Language` HTTP header locale. + */ + formattedType?: string; + /** Metadata about the event. */ + metadata?: FieldMetadata; + /** + * The type of the event. The type can be custom or predefined. + * Possible values include, but are not limited to, the following: + * + * * `anniversary` + * * `other` + */ + type?: string; + } + interface FieldMetadata { + /** + * True if the field is the primary field; false if the field is a secondary + * field. + */ + primary?: boolean; + /** The source of the field. */ + source?: Source; + /** + * True if the field is verified; false if the field is unverified. A + * verified field is typically a name, email address, phone number, or + * website that has been confirmed to be owned by the person. + */ + verified?: boolean; + } + interface Gender { + /** + * The read-only value of the gender translated and formatted in the viewer's + * account locale or the `Accept-Language` HTTP header locale. + */ + formattedValue?: string; + /** Metadata about the gender. */ + metadata?: FieldMetadata; + /** + * The gender for the person. The gender can be custom or predefined. + * Possible values include, but are not limited to, the + * following: + * + * * `male` + * * `female` + * * `other` + * * `unknown` + */ + value?: string; + } + interface GetPeopleResponse { + /** The response for each requested resource name. */ + responses?: PersonResponse[]; + } + interface ImClient { + /** + * The read-only protocol of the IM client formatted in the viewer's account + * locale or the `Accept-Language` HTTP header locale. + */ + formattedProtocol?: string; + /** + * The read-only type of the IM client translated and formatted in the + * viewer's account locale or the `Accept-Language` HTTP header locale. + */ + formattedType?: string; + /** Metadata about the IM client. */ + metadata?: FieldMetadata; + /** + * The protocol of the IM client. The protocol can be custom or predefined. + * Possible values include, but are not limited to, the following: + * + * * `aim` + * * `msn` + * * `yahoo` + * * `skype` + * * `qq` + * * `googleTalk` + * * `icq` + * * `jabber` + * * `netMeeting` + */ + protocol?: string; + /** + * The type of the IM client. The type can be custom or predefined. + * Possible values include, but are not limited to, the following: + * + * * `home` + * * `work` + * * `other` + */ + type?: string; + /** The user name used in the IM client. */ + username?: string; + } + interface Interest { + /** Metadata about the interest. */ + metadata?: FieldMetadata; + /** The interest; for example, `stargazing`. */ + value?: string; + } + interface ListConnectionsResponse { + /** The list of people that the requestor is connected to. */ + connections?: Person[]; + /** The token that can be used to retrieve the next page of results. */ + nextPageToken?: string; + /** The token that can be used to retrieve changes since the last request. */ + nextSyncToken?: string; + /** The total number of items in the list without pagination. */ + totalItems?: number; + /** + * **DEPRECATED** (Please use totalItems) + * The total number of people in the list without pagination. + */ + totalPeople?: number; + } + interface ListContactGroupsResponse { + /** + * The list of contact groups. Members of the contact groups are not + * populated. + */ + contactGroups?: ContactGroup[]; + /** The token that can be used to retrieve the next page of results. */ + nextPageToken?: string; + /** The token that can be used to retrieve changes since the last request. */ + nextSyncToken?: string; + /** The total number of items in the list without pagination. */ + totalItems?: number; + } + interface Locale { + /** Metadata about the locale. */ + metadata?: FieldMetadata; + /** + * The well-formed [IETF BCP 47](https://tools.ietf.org/html/bcp47) + * language tag representing the locale. + */ + value?: string; + } + interface Membership { + /** The contact group membership. */ + contactGroupMembership?: ContactGroupMembership; + /** The domain membership. */ + domainMembership?: DomainMembership; + /** Metadata about the membership. */ + metadata?: FieldMetadata; + } + interface ModifyContactGroupMembersRequest { + /** + * The resource names of the contact people to add in the form of in the form + * `people/`<var>person_id</var>. + */ + resourceNamesToAdd?: string[]; + /** + * The resource names of the contact people to remove in the form of in the + * form of `people/`<var>person_id</var>. + */ + resourceNamesToRemove?: string[]; + } + interface ModifyContactGroupMembersResponse { + /** The contact people resource names that were not found. */ + notFoundResourceNames?: string[]; + } + interface Name { + /** + * The read-only display name formatted according to the locale specified by + * the viewer's account or the `Accept-Language` HTTP header. + */ + displayName?: string; + /** + * The read-only display name with the last name first formatted according to + * the locale specified by the viewer's account or the + * `Accept-Language` HTTP header. + */ + displayNameLastFirst?: string; + /** The family name. */ + familyName?: string; + /** The given name. */ + givenName?: string; + /** The honorific prefixes, such as `Mrs.` or `Dr.` */ + honorificPrefix?: string; + /** The honorific suffixes, such as `Jr.` */ + honorificSuffix?: string; + /** Metadata about the name. */ + metadata?: FieldMetadata; + /** The middle name(s). */ + middleName?: string; + /** The family name spelled as it sounds. */ + phoneticFamilyName?: string; + /** The full name spelled as it sounds. */ + phoneticFullName?: string; + /** The given name spelled as it sounds. */ + phoneticGivenName?: string; + /** The honorific prefixes spelled as they sound. */ + phoneticHonorificPrefix?: string; + /** The honorific suffixes spelled as they sound. */ + phoneticHonorificSuffix?: string; + /** The middle name(s) spelled as they sound. */ + phoneticMiddleName?: string; + } + interface Nickname { + /** Metadata about the nickname. */ + metadata?: FieldMetadata; + /** The type of the nickname. */ + type?: string; + /** The nickname. */ + value?: string; + } + interface Occupation { + /** Metadata about the occupation. */ + metadata?: FieldMetadata; + /** The occupation; for example, `carpenter`. */ + value?: string; + } + interface Organization { + /** + * True if the organization is the person's current organization; + * false if the organization is a past organization. + */ + current?: boolean; + /** The person's department at the organization. */ + department?: string; + /** The domain name associated with the organization; for example, `google.com`. */ + domain?: string; + /** The end date when the person left the organization. */ + endDate?: Date; + /** + * The read-only type of the organization translated and formatted in the + * viewer's account locale or the `Accept-Language` HTTP header locale. + */ + formattedType?: string; + /** The person's job description at the organization. */ + jobDescription?: string; + /** The location of the organization office the person works at. */ + location?: string; + /** Metadata about the organization. */ + metadata?: FieldMetadata; + /** The name of the organization. */ + name?: string; + /** The phonetic name of the organization. */ + phoneticName?: string; + /** The start date when the person joined the organization. */ + startDate?: Date; + /** + * The symbol associated with the organization; for example, a stock ticker + * symbol, abbreviation, or acronym. + */ + symbol?: string; + /** The person's job title at the organization. */ + title?: string; + /** + * The type of the organization. The type can be custom or predefined. + * Possible values include, but are not limited to, the following: + * + * * `work` + * * `school` + */ + type?: string; + } + interface Person { + /** The person's street addresses. */ + addresses?: Address[]; + /** + * **DEPRECATED** (Please use `person.ageRanges` instead)** + * + * The person's read-only age range. + */ + ageRange?: string; + /** The person's read-only age ranges. */ + ageRanges?: AgeRangeType[]; + /** The person's biographies. */ + biographies?: Biography[]; + /** The person's birthdays. */ + birthdays?: Birthday[]; + /** The person's bragging rights. */ + braggingRights?: BraggingRights[]; + /** The person's read-only cover photos. */ + coverPhotos?: CoverPhoto[]; + /** The person's email addresses. */ + emailAddresses?: EmailAddress[]; + /** + * The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the + * resource. Used for web cache validation. + */ + etag?: string; + /** The person's events. */ + events?: Event[]; + /** The person's genders. */ + genders?: Gender[]; + /** The person's instant messaging clients. */ + imClients?: ImClient[]; + /** The person's interests. */ + interests?: Interest[]; + /** The person's locale preferences. */ + locales?: Locale[]; + /** The person's read-only group memberships. */ + memberships?: Membership[]; + /** Read-only metadata about the person. */ + metadata?: PersonMetadata; + /** The person's names. */ + names?: Name[]; + /** The person's nicknames. */ + nicknames?: Nickname[]; + /** The person's occupations. */ + occupations?: Occupation[]; + /** The person's past or current organizations. */ + organizations?: Organization[]; + /** The person's phone numbers. */ + phoneNumbers?: PhoneNumber[]; + /** The person's read-only photos. */ + photos?: Photo[]; + /** The person's relations. */ + relations?: Relation[]; + /** The person's read-only relationship interests. */ + relationshipInterests?: RelationshipInterest[]; + /** The person's read-only relationship statuses. */ + relationshipStatuses?: RelationshipStatus[]; + /** The person's residences. */ + residences?: Residence[]; + /** + * The resource name for the person, assigned by the server. An ASCII string + * with a max length of 27 characters, in the form of + * `people/`<var>person_id</var>. + */ + resourceName?: string; + /** The person's skills. */ + skills?: Skill[]; + /** The person's read-only taglines. */ + taglines?: Tagline[]; + /** The person's associated URLs. */ + urls?: Url[]; + /** The person's user defined data. */ + userDefined?: UserDefined[]; + } + interface PersonMetadata { + /** + * True if the person resource has been deleted. Populated only for + * [`connections.list`](/people/api/rest/v1/people.connections/list) requests + * that include a sync token. + */ + deleted?: boolean; + /** Resource names of people linked to this resource. */ + linkedPeopleResourceNames?: string[]; + /** + * **DEPRECATED** (Please use + * `person.metadata.sources.profileMetadata.objectType` instead) + * + * The type of the person object. + */ + objectType?: string; + /** + * Any former resource names this person has had. Populated only for + * [`connections.list`](/people/api/rest/v1/people.connections/list) requests + * that include a sync token. + * + * The resource name may change when adding or removing fields that link a + * contact and profile such as a verified email, verified phone number, or + * profile URL. + */ + previousResourceNames?: string[]; + /** The sources of data for the person. */ + sources?: Source[]; + } + interface PersonResponse { + /** + * **DEPRECATED** (Please use status instead) + * + * [HTTP 1.1 status code] + * (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html). + */ + httpStatusCode?: number; + /** The person. */ + person?: Person; + /** + * The original requested resource name. May be different than the resource + * name on the returned person. + * + * The resource name can change when adding or removing fields that link a + * contact and profile such as a verified email, verified phone number, or a + * profile URL. + */ + requestedResourceName?: string; + /** The status of the response. */ + status?: Status; + } + interface PhoneNumber { + /** + * The read-only canonicalized [ITU-T E.164](https://law.resource.org/pub/us/cfr/ibr/004/itu-t.E.164.1.2008.pdf) + * form of the phone number. + */ + canonicalForm?: string; + /** + * The read-only type of the phone number translated and formatted in the + * viewer's account locale or the `Accept-Language` HTTP header locale. + */ + formattedType?: string; + /** Metadata about the phone number. */ + metadata?: FieldMetadata; + /** + * The type of the phone number. The type can be custom or predefined. + * Possible values include, but are not limited to, the following: + * + * * `home` + * * `work` + * * `mobile` + * * `homeFax` + * * `workFax` + * * `otherFax` + * * `pager` + * * `workMobile` + * * `workPager` + * * `main` + * * `googleVoice` + * * `other` + */ + type?: string; + /** The phone number. */ + value?: string; + } + interface Photo { + /** + * True if the photo is a default photo; + * false if the photo is a user-provided photo. + */ + default?: boolean; + /** Metadata about the photo. */ + metadata?: FieldMetadata; + /** + * The URL of the photo. You can change the desired size by appending a query + * parameter `sz=`<var>size</var> at the end of the url. Example: + * `https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/AAAAAAAABa8/00gzXvDBYqw/s100/photo.jpg?sz=50` + */ + url?: string; + } + interface ProfileMetadata { + /** The profile object type. */ + objectType?: string; + /** The user types. */ + userTypes?: string[]; + } + interface Relation { + /** + * The type of the relation translated and formatted in the viewer's account + * locale or the locale specified in the Accept-Language HTTP header. + */ + formattedType?: string; + /** Metadata about the relation. */ + metadata?: FieldMetadata; + /** The name of the other person this relation refers to. */ + person?: string; + /** + * The person's relation to the other person. The type can be custom or predefined. + * Possible values include, but are not limited to, the following values: + * + * * `spouse` + * * `child` + * * `mother` + * * `father` + * * `parent` + * * `brother` + * * `sister` + * * `friend` + * * `relative` + * * `domesticPartner` + * * `manager` + * * `assistant` + * * `referredBy` + * * `partner` + */ + type?: string; + } + interface RelationshipInterest { + /** + * The value of the relationship interest translated and formatted in the + * viewer's account locale or the locale specified in the Accept-Language + * HTTP header. + */ + formattedValue?: string; + /** Metadata about the relationship interest. */ + metadata?: FieldMetadata; + /** + * The kind of relationship the person is looking for. The value can be custom + * or predefined. Possible values include, but are not limited to, the + * following values: + * + * * `friend` + * * `date` + * * `relationship` + * * `networking` + */ + value?: string; + } + interface RelationshipStatus { + /** + * The read-only value of the relationship status translated and formatted in + * the viewer's account locale or the `Accept-Language` HTTP header locale. + */ + formattedValue?: string; + /** Metadata about the relationship status. */ + metadata?: FieldMetadata; + /** + * The relationship status. The value can be custom or predefined. + * Possible values include, but are not limited to, the following: + * + * * `single` + * * `inARelationship` + * * `engaged` + * * `married` + * * `itsComplicated` + * * `openRelationship` + * * `widowed` + * * `inDomesticPartnership` + * * `inCivilUnion` + */ + value?: string; + } + interface Residence { + /** + * True if the residence is the person's current residence; + * false if the residence is a past residence. + */ + current?: boolean; + /** Metadata about the residence. */ + metadata?: FieldMetadata; + /** The address of the residence. */ + value?: string; + } + interface Skill { + /** Metadata about the skill. */ + metadata?: FieldMetadata; + /** The skill; for example, `underwater basket weaving`. */ + value?: string; + } + interface Source { + /** + * **Only populated in `person.metadata.sources`.** + * + * The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the + * source. Used for web cache validation. + */ + etag?: string; + /** The unique identifier within the source type generated by the server. */ + id?: string; + /** + * **Only populated in `person.metadata.sources`.** + * + * Metadata about a source of type PROFILE. + */ + profileMetadata?: ProfileMetadata; + /** The source type. */ + type?: string; + /** + * **Only populated in `person.metadata.sources`.** + * + * Last update timestamp of this source. + */ + updateTime?: string; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface Tagline { + /** Metadata about the tagline. */ + metadata?: FieldMetadata; + /** The tagline. */ + value?: string; + } + interface UpdateContactGroupRequest { + /** The contact group to update. */ + contactGroup?: ContactGroup; + } + interface Url { + /** + * The read-only type of the URL translated and formatted in the viewer's + * account locale or the `Accept-Language` HTTP header locale. + */ + formattedType?: string; + /** Metadata about the URL. */ + metadata?: FieldMetadata; + /** + * The type of the URL. The type can be custom or predefined. + * Possible values include, but are not limited to, the following: + * + * * `home` + * * `work` + * * `blog` + * * `profile` + * * `homePage` + * * `ftp` + * * `reservations` + * * `appInstallPage`: website for a Google+ application. + * * `other` + */ + type?: string; + /** The URL. */ + value?: string; + } + interface UserDefined { + /** The end user specified key of the user defined data. */ + key?: string; + /** Metadata about the user defined data. */ + metadata?: FieldMetadata; + /** The end user specified value of the user defined data. */ + value?: string; + } + interface MembersResource { + /** Modify the members of a contact group owned by the authenticated user. */ + modify(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The resource name of the contact group to modify. */ + resourceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ModifyContactGroupMembersResponse>; + } + interface ContactGroupsResource { + /** + * Get a list of contact groups owned by the authenticated user by specifying + * a list of contact group resource names. + */ + batchGet(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Specifies the maximum number of members to return for each group. */ + maxMembers?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The resource names of the contact groups to get. */ + resourceNames?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<BatchGetContactGroupsResponse>; + /** Create a new contact group owned by the authenticated user. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ContactGroup>; + /** + * Delete an existing contact group owned by the authenticated user by + * specifying a contact group resource name. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Set to true to also delete the contacts in the specified group. */ + deleteContacts?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The resource name of the contact group to delete. */ + resourceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Get a specific contact group owned by the authenticated user by specifying + * a contact group resource name. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Specifies the maximum number of members to return. */ + maxMembers?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The resource name of the contact group to get. */ + resourceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ContactGroup>; + /** + * List all contact groups owned by the authenticated user. Members of the + * contact groups are not populated. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The maximum number of resources to return. */ + pageSize?: number; + /** + * The next_page_token value returned from a previous call to + * [ListContactGroups](/people/api/rest/v1/contactgroups/list). + * Requests the next page of resources. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * A sync token, returned by a previous call to `contactgroups.list`. + * Only resources changed since the sync token was created will be returned. + */ + syncToken?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListContactGroupsResponse>; + /** + * Update the name of an existing contact group owned by the authenticated + * user. + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The resource name for the contact group, assigned by the server. An ASCII + * string, in the form of `contactGroups/`<var>contact_group_id</var>. + */ + resourceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ContactGroup>; + members: MembersResource; + } + interface ConnectionsResource { + /** + * Provides a list of the authenticated user's contacts merged with any + * connected profiles. + * <br> + * The request throws a 400 error if 'personFields' is not specified. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The number of connections to include in the response. Valid values are + * between 1 and 2000, inclusive. Defaults to 100. + */ + pageSize?: number; + /** The token of the page to be returned. */ + pageToken?: string; + /** + * **Required.** A field mask to restrict which fields on each person are + * returned. Valid values are: + * + * * addresses + * * ageRanges + * * biographies + * * birthdays + * * braggingRights + * * coverPhotos + * * emailAddresses + * * events + * * genders + * * imClients + * * interests + * * locales + * * memberships + * * metadata + * * names + * * nicknames + * * occupations + * * organizations + * * phoneNumbers + * * photos + * * relations + * * relationshipInterests + * * relationshipStatuses + * * residences + * * skills + * * taglines + * * urls + */ + personFields?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * **Required.** Comma-separated list of person fields to be included in the + * response. Each path should start with `person.`: for example, + * `person.names` or `person.photos`. + */ + "requestMask.includeField"?: string; + /** + * Whether the response should include a sync token, which can be used to get + * all changes since the last request. + */ + requestSyncToken?: boolean; + /** The resource name to return connections for. Only `people/me` is valid. */ + resourceName: string; + /** + * The order in which the connections should be sorted. Defaults to + * `LAST_MODIFIED_ASCENDING`. + */ + sortOrder?: string; + /** + * A sync token, returned by a previous call to `people.connections.list`. + * Only resources changed since the sync token was created will be returned. + */ + syncToken?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListConnectionsResponse>; + } + interface PeopleResource { + /** Create a new contact and return the person resource for that contact. */ + createContact(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The resource name of the owning person resource. */ + parent?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Person>; + /** Delete a contact person. Any non-contact data will not be deleted. */ + deleteContact(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The resource name of the contact to delete. */ + resourceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Provides information about a person by specifying a resource name. Use + * `people/me` to indicate the authenticated user. + * <br> + * The request throws a 400 error if 'personFields' is not specified. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * **Required.** A field mask to restrict which fields on the person are + * returned. Valid values are: + * + * * addresses + * * ageRanges + * * biographies + * * birthdays + * * braggingRights + * * coverPhotos + * * emailAddresses + * * events + * * genders + * * imClients + * * interests + * * locales + * * memberships + * * metadata + * * names + * * nicknames + * * occupations + * * organizations + * * phoneNumbers + * * photos + * * relations + * * relationshipInterests + * * relationshipStatuses + * * residences + * * skills + * * taglines + * * urls + */ + personFields?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * **Required.** Comma-separated list of person fields to be included in the + * response. Each path should start with `person.`: for example, + * `person.names` or `person.photos`. + */ + "requestMask.includeField"?: string; + /** + * The resource name of the person to provide information about. + * + * - To get information about the authenticated user, specify `people/me`. + * - To get information about a google account, specify + * `people/`<var>account_id</var>. + * - To get information about a contact, specify the resource name that + * identifies the contact as returned by + * [`people.connections.list`](/people/api/rest/v1/people.connections/list). + */ + resourceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Person>; + /** + * Provides information about a list of specific people by specifying a list + * of requested resource names. Use `people/me` to indicate the authenticated + * user. + * <br> + * The request throws a 400 error if 'personFields' is not specified. + */ + getBatchGet(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * **Required.** A field mask to restrict which fields on each person are + * returned. Valid values are: + * + * * addresses + * * ageRanges + * * biographies + * * birthdays + * * braggingRights + * * coverPhotos + * * emailAddresses + * * events + * * genders + * * imClients + * * interests + * * locales + * * memberships + * * metadata + * * names + * * nicknames + * * occupations + * * organizations + * * phoneNumbers + * * photos + * * relations + * * relationshipInterests + * * relationshipStatuses + * * residences + * * skills + * * taglines + * * urls + */ + personFields?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * **Required.** Comma-separated list of person fields to be included in the + * response. Each path should start with `person.`: for example, + * `person.names` or `person.photos`. + */ + "requestMask.includeField"?: string; + /** + * The resource names of the people to provide information about. + * + * - To get information about the authenticated user, specify `people/me`. + * - To get information about a google account, specify + * `people/`<var>account_id</var>. + * - To get information about a contact, specify the resource name that + * identifies the contact as returned by + * [`people.connections.list`](/people/api/rest/v1/people.connections/list). + * + * You can include up to 50 resource names in one request. + */ + resourceNames?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GetPeopleResponse>; + /** + * Update contact data for an existing contact person. Any non-contact data + * will not be modified. + * + * The request throws a 400 error if `updatePersonFields` is not specified. + * <br> + * The request throws a 400 error if `person.metadata.sources` is not + * specified for the contact to be updated. + * <br> + * The request throws a 412 error if `person.metadata.sources.etag` is + * different than the contact's etag, which indicates the contact has changed + * since its data was read. Clients should get the latest person and re-apply + * their updates to the latest person. + */ + updateContact(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The resource name for the person, assigned by the server. An ASCII string + * with a max length of 27 characters, in the form of + * `people/`<var>person_id</var>. + */ + resourceName: string; + /** + * **Required.** A field mask to restrict which fields on the person are + * updated. Valid values are: + * + * * addresses + * * biographies + * * birthdays + * * braggingRights + * * emailAddresses + * * events + * * genders + * * imClients + * * interests + * * locales + * * names + * * nicknames + * * occupations + * * organizations + * * phoneNumbers + * * relations + * * residences + * * skills + * * urls + */ + updatePersonFields?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Person>; + connections: ConnectionsResource; + } + } +} diff --git a/types/gapi.client.people/readme.md b/types/gapi.client.people/readme.md new file mode 100644 index 0000000000..cca9f7d496 --- /dev/null +++ b/types/gapi.client.people/readme.md @@ -0,0 +1,156 @@ +# TypeScript typings for Google People API v1 +Provides access to information about profiles and contacts. +For detailed description please check [documentation](https://developers.google.com/people/). + +## Installing + +Install typings for Google People API: +``` +npm install @types/gapi.client.people@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('people', 'v1', () => { + // now we can use gapi.client.people + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage your contacts + 'https://www.googleapis.com/auth/contacts', + + // View your contacts + 'https://www.googleapis.com/auth/contacts.readonly', + + // Know the list of people in your circles, your age range, and language + 'https://www.googleapis.com/auth/plus.login', + + // View your street addresses + 'https://www.googleapis.com/auth/user.addresses.read', + + // View your complete date of birth + 'https://www.googleapis.com/auth/user.birthday.read', + + // View your email addresses + 'https://www.googleapis.com/auth/user.emails.read', + + // View your phone numbers + 'https://www.googleapis.com/auth/user.phonenumbers.read', + + // View your email address + 'https://www.googleapis.com/auth/userinfo.email', + + // View your basic profile info + 'https://www.googleapis.com/auth/userinfo.profile', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google People API resources: + +```typescript + +/* +Get a list of contact groups owned by the authenticated user by specifying +a list of contact group resource names. +*/ +await gapi.client.contactGroups.batchGet({ }); + +/* +Create a new contact group owned by the authenticated user. +*/ +await gapi.client.contactGroups.create({ }); + +/* +Delete an existing contact group owned by the authenticated user by +specifying a contact group resource name. +*/ +await gapi.client.contactGroups.delete({ resourceName: "resourceName", }); + +/* +Get a specific contact group owned by the authenticated user by specifying +a contact group resource name. +*/ +await gapi.client.contactGroups.get({ resourceName: "resourceName", }); + +/* +List all contact groups owned by the authenticated user. Members of the +contact groups are not populated. +*/ +await gapi.client.contactGroups.list({ }); + +/* +Update the name of an existing contact group owned by the authenticated +user. +*/ +await gapi.client.contactGroups.update({ resourceName: "resourceName", }); + +/* +Create a new contact and return the person resource for that contact. +*/ +await gapi.client.people.createContact({ }); + +/* +Delete a contact person. Any non-contact data will not be deleted. +*/ +await gapi.client.people.deleteContact({ resourceName: "resourceName", }); + +/* +Provides information about a person by specifying a resource name. Use +`people/me` to indicate the authenticated user. +<br> +The request throws a 400 error if 'personFields' is not specified. +*/ +await gapi.client.people.get({ resourceName: "resourceName", }); + +/* +Provides information about a list of specific people by specifying a list +of requested resource names. Use `people/me` to indicate the authenticated +user. +<br> +The request throws a 400 error if 'personFields' is not specified. +*/ +await gapi.client.people.getBatchGet({ }); + +/* +Update contact data for an existing contact person. Any non-contact data +will not be modified. + +The request throws a 400 error if `updatePersonFields` is not specified. +<br> +The request throws a 400 error if `person.metadata.sources` is not +specified for the contact to be updated. +<br> +The request throws a 412 error if `person.metadata.sources.etag` is +different than the contact's etag, which indicates the contact has changed +since its data was read. Clients should get the latest person and re-apply +their updates to the latest person. +*/ +await gapi.client.people.updateContact({ resourceName: "resourceName", }); +``` \ No newline at end of file diff --git a/types/gapi.client.people/tsconfig.json b/types/gapi.client.people/tsconfig.json new file mode 100644 index 0000000000..4a64b3a83d --- /dev/null +++ b/types/gapi.client.people/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.people-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.people/tslint.json b/types/gapi.client.people/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.people/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.playcustomapp/gapi.client.playcustomapp-tests.ts b/types/gapi.client.playcustomapp/gapi.client.playcustomapp-tests.ts new file mode 100644 index 0000000000..fce60183a0 --- /dev/null +++ b/types/gapi.client.playcustomapp/gapi.client.playcustomapp-tests.ts @@ -0,0 +1,32 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('playcustomapp', 'v1', () => { + /** now we can use gapi.client.playcustomapp */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your Google Play Developer account */ + 'https://www.googleapis.com/auth/androidpublisher', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + } +}); diff --git a/types/gapi.client.playcustomapp/index.d.ts b/types/gapi.client.playcustomapp/index.d.ts new file mode 100644 index 0000000000..c7abd49d01 --- /dev/null +++ b/types/gapi.client.playcustomapp/index.d.ts @@ -0,0 +1,56 @@ +// Type definitions for Google Google Play Custom App Publishing API v1 1.0 +// Project: https://developers.google.com/android/work/play/custom-app-api +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/playcustomapp/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Play Custom App Publishing API v1 */ + function load(name: "playcustomapp", version: "v1"): PromiseLike<void>; + function load(name: "playcustomapp", version: "v1", callback: () => any): void; + + const accounts: playcustomapp.AccountsResource; + + namespace playcustomapp { + interface CustomApp { + /** Default listing language in BCP 47 format. */ + languageCode?: string; + /** Title for the Android app. */ + title?: string; + } + interface CustomAppsResource { + /** Create and publish a new custom app. */ + create(request: { + /** Developer account ID. */ + account: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CustomApp>; + } + interface AccountsResource { + customApps: CustomAppsResource; + } + } +} diff --git a/types/gapi.client.playcustomapp/readme.md b/types/gapi.client.playcustomapp/readme.md new file mode 100644 index 0000000000..d2119ccdc4 --- /dev/null +++ b/types/gapi.client.playcustomapp/readme.md @@ -0,0 +1,54 @@ +# TypeScript typings for Google Play Custom App Publishing API v1 +An API to publish custom Android apps. +For detailed description please check [documentation](https://developers.google.com/android/work/play/custom-app-api). + +## Installing + +Install typings for Google Play Custom App Publishing API: +``` +npm install @types/gapi.client.playcustomapp@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('playcustomapp', 'v1', () => { + // now we can use gapi.client.playcustomapp + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your Google Play Developer account + 'https://www.googleapis.com/auth/androidpublisher', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Play Custom App Publishing API resources: + +```typescript +``` \ No newline at end of file diff --git a/types/gapi.client.playcustomapp/tsconfig.json b/types/gapi.client.playcustomapp/tsconfig.json new file mode 100644 index 0000000000..432fd7ebe4 --- /dev/null +++ b/types/gapi.client.playcustomapp/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.playcustomapp-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.playcustomapp/tslint.json b/types/gapi.client.playcustomapp/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.playcustomapp/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.playmoviespartner/gapi.client.playmoviespartner-tests.ts b/types/gapi.client.playmoviespartner/gapi.client.playmoviespartner-tests.ts new file mode 100644 index 0000000000..77c4dab88b --- /dev/null +++ b/types/gapi.client.playmoviespartner/gapi.client.playmoviespartner-tests.ts @@ -0,0 +1,32 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('playmoviespartner', 'v1', () => { + /** now we can use gapi.client.playmoviespartner */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View the digital assets you publish on Google Play Movies and TV */ + 'https://www.googleapis.com/auth/playmovies_partner.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + } +}); diff --git a/types/gapi.client.playmoviespartner/index.d.ts b/types/gapi.client.playmoviespartner/index.d.ts new file mode 100644 index 0000000000..99f4f2b275 --- /dev/null +++ b/types/gapi.client.playmoviespartner/index.d.ts @@ -0,0 +1,755 @@ +// Type definitions for Google Google Play Movies Partner API v1 1.0 +// Project: https://developers.google.com/playmoviespartner/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://playmoviespartner.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Play Movies Partner API v1 */ + function load(name: "playmoviespartner", version: "v1"): PromiseLike<void>; + function load(name: "playmoviespartner", version: "v1", callback: () => any): void; + + const accounts: playmoviespartner.AccountsResource; + + namespace playmoviespartner { + interface Avail { + /** + * Other identifier referring to the Edit, as defined by partner. + * Example: "GOOGLER_2006" + */ + altId?: string; + /** + * ID internally generated by Google to uniquely identify an Avail. + * Not part of EMA Specs. + */ + availId?: string; + /** + * Communicating an exempt category as defined by FCC regulations. + * It is not required for non-US Avails. + * Example: "1" + */ + captionExemption?: string; + /** Communicating if caption file will be delivered. */ + captionIncluded?: boolean; + /** + * Title Identifier. This should be the Title Level EIDR. + * Example: "10.5240/1489-49A2-3956-4B2D-FE16-5". + */ + contentId?: string; + /** + * The name of the studio that owns the Edit referred in the Avail. + * This is the equivalent of `studio_name` in other resources, but it follows + * the EMA nomenclature. + * Example: "Google Films". + */ + displayName?: string; + /** + * Manifestation Identifier. This should be the Manifestation + * Level EIDR. + * Example: "10.2340/1489-49A2-3956-4B2D-FE16-7" + */ + encodeId?: string; + /** + * End of term in YYYY-MM-DD format in the timezone of the country + * of the Avail. + * "Open" if no end date is available. + * Example: "2019-02-17" + */ + end?: string; + /** + * Other identifier referring to the episode, as defined by partner. + * Only available on TV avails. + * Example: "rs_googlers_s1_3". + */ + episodeAltId?: string; + /** + * The number assigned to the episode within a season. + * Only available on TV Avails. + * Example: "3". + */ + episodeNumber?: string; + /** + * OPTIONAL.TV Only. Title used by involved parties to refer to this episode. + * Only available on TV Avails. + * Example: "Coding at Google". + */ + episodeTitleInternalAlias?: string; + /** Indicates the format profile covered by the transaction. */ + formatProfile?: string; + /** Type of transaction. */ + licenseType?: string; + /** + * Name of the post-production houses that manage the Avail. + * Not part of EMA Specs. + */ + pphNames?: string[]; + /** + * Type of pricing that should be applied to this Avail + * based on how the partner classify them. + * Example: "Tier", "WSP", "SRP", or "Category". + */ + priceType?: string; + /** + * Value to be applied to the pricing type. + * Example: "4" or "2.99" + */ + priceValue?: string; + /** + * Edit Identifier. This should be the Edit Level EIDR. + * Example: "10.2340/1489-49A2-3956-4B2D-FE16-6" + */ + productId?: string; + /** + * Value representing the rating reason. + * Rating reasons should be formatted as per + * [EMA ratings spec](http://www.movielabs.com/md/ratings/) + * and comma-separated for inclusion of multiple reasons. + * Example: "L, S, V" + */ + ratingReason?: string; + /** + * Rating system applied to the version of title within territory + * of Avail. + * Rating systems should be formatted as per + * [EMA ratings spec](http://www.movielabs.com/md/ratings/) + * Example: "MPAA" + */ + ratingSystem?: string; + /** + * Value representing the rating. + * Ratings should be formatted as per http://www.movielabs.com/md/ratings/ + * Example: "PG" + */ + ratingValue?: string; + /** + * Release date of the Title in earliest released territory. + * Typically it is just the year, but it is free-form as per EMA spec. + * Examples: "1979", "Oct 2014" + */ + releaseDate?: string; + /** + * Other identifier referring to the season, as defined by partner. + * Only available on TV avails. + * Example: "rs_googlers_s1". + */ + seasonAltId?: string; + /** + * The number assigned to the season within a series. + * Only available on TV Avails. + * Example: "1". + */ + seasonNumber?: string; + /** + * Title used by involved parties to refer to this season. + * Only available on TV Avails. + * Example: "Googlers, The". + */ + seasonTitleInternalAlias?: string; + /** + * Other identifier referring to the series, as defined by partner. + * Only available on TV avails. + * Example: "rs_googlers". + */ + seriesAltId?: string; + /** + * Title used by involved parties to refer to this series. + * Only available on TV Avails. + * Example: "Googlers, The". + */ + seriesTitleInternalAlias?: string; + /** + * Start of term in YYYY-MM-DD format in the timezone of the + * country of the Avail. + * Example: "2013-05-14". + */ + start?: string; + /** + * Spoken language of the intended audience. + * Language shall be encoded in accordance with RFC 5646. + * Example: "fr". + */ + storeLanguage?: string; + /** + * First date an Edit could be publically announced as becoming + * available at a specific future date in territory of Avail. + * *Not* the Avail start date or pre-order start date. + * Format is YYYY-MM-DD. + * Only available for pre-orders. + * Example: "2012-12-10" + */ + suppressionLiftDate?: string; + /** + * ISO 3166-1 alpha-2 country code for the country or territory + * of this Avail. + * For Avails, we use Territory in lieu of Country to comply with + * EMA specifications. + * But please note that Territory and Country identify the same thing. + * Example: "US". + */ + territory?: string; + /** + * Title used by involved parties to refer to this content. + * Example: "Googlers, The". + * Only available on Movie Avails. + */ + titleInternalAlias?: string; + /** + * Google-generated ID identifying the video linked to this Avail, once + * delivered. + * Not part of EMA Specs. + * Example: 'gtry456_xc' + */ + videoId?: string; + /** Work type as enumerated in EMA. */ + workType?: string; + } + interface ListAvailsResponse { + /** List of Avails that match the request criteria. */ + avails?: Avail[]; + /** See _List methods rules_ for info about this field. */ + nextPageToken?: string; + /** See _List methods rules_ for more information about this field. */ + totalSize?: number; + } + interface ListOrdersResponse { + /** See _List methods rules_ for info about this field. */ + nextPageToken?: string; + /** List of Orders that match the request criteria. */ + orders?: Order[]; + /** See _List methods rules_ for more information about this field. */ + totalSize?: number; + } + interface ListStoreInfosResponse { + /** See 'List methods rules' for info about this field. */ + nextPageToken?: string; + /** List of StoreInfos that match the request criteria. */ + storeInfos?: StoreInfo[]; + /** See _List methods rules_ for more information about this field. */ + totalSize?: number; + } + interface Order { + /** Timestamp when the Order was approved. */ + approvedTime?: string; + /** + * YouTube Channel ID that should be used to fulfill the Order. + * Example: "UCRG64darCZhb". + */ + channelId?: string; + /** + * YouTube Channel Name that should be used to fulfill the Order. + * Example: "Google_channel". + */ + channelName?: string; + /** + * Countries where the Order is available, + * using the "ISO 3166-1 alpha-2" format (example: "US"). + */ + countries?: string[]; + /** + * ID that can be used to externally identify an Order. + * This ID is provided by partners when submitting the Avails. + * Example: 'GOOGLER_2006' + */ + customId?: string; + /** + * Timestamp of the earliest start date of the Avails + * linked to this Order. + */ + earliestAvailStartTime?: string; + /** + * Default Episode name, + * usually in the language of the country of origin. + * Only available for TV Edits + * Example: "Googlers, The - Pilot". + */ + episodeName?: string; + /** + * Legacy Order priority, as defined by Google. + * Example: 'P0' + */ + legacyPriority?: string; + /** + * Default Edit name, + * usually in the language of the country of origin. + * Example: "Googlers, The". + */ + name?: string; + /** A simpler representation of the priority. */ + normalizedPriority?: string; + /** + * ID internally generated by Google to uniquely identify an Order. + * Example: 'abcde12_x' + */ + orderId?: string; + /** Timestamp when the Order was created. */ + orderedTime?: string; + /** Name of the post-production house that manages the Edit ordered. */ + pphName?: string; + /** + * Order priority, as defined by Google. + * The higher the value, the higher the priority. + * Example: 90 + */ + priority?: number; + /** Timestamp when the Order was fulfilled. */ + receivedTime?: string; + /** + * Field explaining why an Order has been rejected. + * Example: "Trailer audio is 2ch mono, please re-deliver in stereo". + */ + rejectionNote?: string; + /** + * Default Season name, + * usually in the language of the country of origin. + * Only available for TV Edits + * Example: "Googlers, The - A Brave New World". + */ + seasonName?: string; + /** + * Default Show name, + * usually in the language of the country of origin. + * Only available for TV Edits + * Example: "Googlers, The". + */ + showName?: string; + /** High-level status of the order. */ + status?: string; + /** Detailed status of the order */ + statusDetail?: string; + /** Name of the studio that owns the Edit ordered. */ + studioName?: string; + /** Type of the Edit linked to the Order. */ + type?: string; + /** + * Google-generated ID identifying the video linked to this Order, once + * delivered. + * Example: 'gtry456_xc'. + */ + videoId?: string; + } + interface StoreInfo { + /** Audio tracks available for this Edit. */ + audioTracks?: string[]; + /** + * Country where Edit is available in ISO 3166-1 alpha-2 country + * code. + * Example: "US". + */ + country?: string; + /** + * Edit-level EIDR ID. + * Example: "10.5240/1489-49A2-3956-4B2D-FE16-6". + */ + editLevelEidr?: string; + /** + * The number assigned to the episode within a season. + * Only available on TV Edits. + * Example: "1". + */ + episodeNumber?: string; + /** Whether the Edit has a 5.1 channel audio track. */ + hasAudio51?: boolean; + /** Whether the Edit has a EST offer. */ + hasEstOffer?: boolean; + /** Whether the Edit has a HD offer. */ + hasHdOffer?: boolean; + /** Whether the Edit has info cards. */ + hasInfoCards?: boolean; + /** Whether the Edit has a SD offer. */ + hasSdOffer?: boolean; + /** Whether the Edit has a VOD offer. */ + hasVodOffer?: boolean; + /** Timestamp when the Edit went live on the Store. */ + liveTime?: string; + /** + * Knowledge Graph ID associated to this Edit, if available. + * This ID links the Edit to its knowledge entity, externally accessible + * at http://freebase.com. + * In the absense of Title EIDR or Edit EIDR, this ID helps link together + * multiple Edits across countries. + * Example: '/m/0ffx29' + */ + mid?: string; + /** + * Default Edit name, usually in the language of the country of + * origin. + * Example: "Googlers, The". + */ + name?: string; + /** Name of the post-production houses that manage the Edit. */ + pphNames?: string[]; + /** + * Google-generated ID identifying the season linked to the Edit. + * Only available for TV Edits. + * Example: 'ster23ex' + */ + seasonId?: string; + /** + * Default Season name, usually in the language of the country of + * origin. + * Only available for TV Edits + * Example: "Googlers, The - A Brave New World". + */ + seasonName?: string; + /** + * The number assigned to the season within a show. + * Only available on TV Edits. + * Example: "1". + */ + seasonNumber?: string; + /** + * Google-generated ID identifying the show linked to the Edit. + * Only available for TV Edits. + * Example: 'et2hsue_x' + */ + showId?: string; + /** + * Default Show name, usually in the language of the country of + * origin. + * Only available for TV Edits + * Example: "Googlers, The". + */ + showName?: string; + /** Name of the studio that owns the Edit ordered. */ + studioName?: string; + /** Subtitles available for this Edit. */ + subtitles?: string[]; + /** + * Title-level EIDR ID. + * Example: "10.5240/1489-49A2-3956-4B2D-FE16-5". + */ + titleLevelEidr?: string; + /** + * Google-generated ID identifying the trailer linked to the Edit. + * Example: 'bhd_4e_cx' + */ + trailerId?: string; + /** Edit type, like Movie, Episode or Season. */ + type?: string; + /** + * Google-generated ID identifying the video linked to the Edit. + * Example: 'gtry456_xc' + */ + videoId?: string; + } + interface AvailsResource { + /** Get an Avail given its avail group id and avail id. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** REQUIRED. See _General rules_ for more information about this field. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** REQUIRED. Avail ID. */ + availId: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Avail>; + /** + * List Avails owned or managed by the partner. + * + * See _Authentication and Authorization rules_ and + * _List methods rules_ for more information about this method. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** REQUIRED. See _General rules_ for more information about this field. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** + * Filter Avails that match a case-insensitive, partner-specific custom id. + * NOTE: this field is deprecated and will be removed on V2; `alt_ids` + * should be used instead. + */ + altId?: string; + /** Filter Avails that match (case-insensitive) any of the given partner-specific custom ids. */ + altIds?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** See _List methods rules_ for info about this field. */ + pageSize?: number; + /** See _List methods rules_ for info about this field. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** See _List methods rules_ for info about this field. */ + pphNames?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** See _List methods rules_ for info about this field. */ + studioNames?: string; + /** + * Filter Avails that match (case-insensitive) any of the given country codes, + * using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us"). + */ + territories?: string; + /** + * Filter that matches Avails with a `title_internal_alias`, + * `series_title_internal_alias`, `season_title_internal_alias`, + * or `episode_title_internal_alias` that contains the given + * case-insensitive title. + */ + title?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Filter Avails that match any of the given `video_id`s. */ + videoIds?: string; + }): Request<ListAvailsResponse>; + } + interface OrdersResource { + /** + * Get an Order given its id. + * + * See _Authentication and Authorization rules_ and + * _Get methods rules_ for more information about this method. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** REQUIRED. See _General rules_ for more information about this field. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** REQUIRED. Order ID. */ + orderId: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Order>; + /** + * List Orders owned or managed by the partner. + * + * See _Authentication and Authorization rules_ and + * _List methods rules_ for more information about this method. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** REQUIRED. See _General rules_ for more information about this field. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Filter Orders that match a case-insensitive, partner-specific custom id. */ + customId?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Filter that matches Orders with a `name`, `show`, `season` or `episode` + * that contains the given case-insensitive name. + */ + name?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** See _List methods rules_ for info about this field. */ + pageSize?: number; + /** See _List methods rules_ for info about this field. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** See _List methods rules_ for info about this field. */ + pphNames?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Filter Orders that match one of the given status. */ + status?: string; + /** See _List methods rules_ for info about this field. */ + studioNames?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Filter Orders that match any of the given `video_id`s. */ + videoIds?: string; + }): Request<ListOrdersResponse>; + } + interface CountryResource { + /** + * Get a StoreInfo given its video id and country. + * + * See _Authentication and Authorization rules_ and + * _Get methods rules_ for more information about this method. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** REQUIRED. See _General rules_ for more information about this field. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** REQUIRED. Edit country. */ + country: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** REQUIRED. Video ID. */ + videoId: string; + }): Request<StoreInfo>; + } + interface StoreInfosResource { + /** + * List StoreInfos owned or managed by the partner. + * + * See _Authentication and Authorization rules_ and + * _List methods rules_ for more information about this method. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** REQUIRED. See _General rules_ for more information about this field. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Filter StoreInfos that match (case-insensitive) any of the given country + * codes, using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us"). + */ + countries?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Filter StoreInfos that match any of the given `mid`s. */ + mids?: string; + /** + * Filter that matches StoreInfos with a `name` or `show_name` + * that contains the given case-insensitive name. + */ + name?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** See _List methods rules_ for info about this field. */ + pageSize?: number; + /** See _List methods rules_ for info about this field. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** See _List methods rules_ for info about this field. */ + pphNames?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Filter StoreInfos that match any of the given `season_id`s. */ + seasonIds?: string; + /** See _List methods rules_ for info about this field. */ + studioNames?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * Filter StoreInfos that match a given `video_id`. + * NOTE: this field is deprecated and will be removed on V2; `video_ids` + * should be used instead. + */ + videoId?: string; + /** Filter StoreInfos that match any of the given `video_id`s. */ + videoIds?: string; + }): Request<ListStoreInfosResponse>; + country: CountryResource; + } + interface AccountsResource { + avails: AvailsResource; + orders: OrdersResource; + storeInfos: StoreInfosResource; + } + } +} diff --git a/types/gapi.client.playmoviespartner/readme.md b/types/gapi.client.playmoviespartner/readme.md new file mode 100644 index 0000000000..f42bae6fc5 --- /dev/null +++ b/types/gapi.client.playmoviespartner/readme.md @@ -0,0 +1,54 @@ +# TypeScript typings for Google Play Movies Partner API v1 +Gets the delivery status of titles for Google Play Movies Partners. +For detailed description please check [documentation](https://developers.google.com/playmoviespartner/). + +## Installing + +Install typings for Google Play Movies Partner API: +``` +npm install @types/gapi.client.playmoviespartner@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('playmoviespartner', 'v1', () => { + // now we can use gapi.client.playmoviespartner + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View the digital assets you publish on Google Play Movies and TV + 'https://www.googleapis.com/auth/playmovies_partner.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Play Movies Partner API resources: + +```typescript +``` \ No newline at end of file diff --git a/types/gapi.client.playmoviespartner/tsconfig.json b/types/gapi.client.playmoviespartner/tsconfig.json new file mode 100644 index 0000000000..9751ed88eb --- /dev/null +++ b/types/gapi.client.playmoviespartner/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.playmoviespartner-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.playmoviespartner/tslint.json b/types/gapi.client.playmoviespartner/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.playmoviespartner/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.plus/gapi.client.plus-tests.ts b/types/gapi.client.plus/gapi.client.plus-tests.ts new file mode 100644 index 0000000000..fecbc2a51c --- /dev/null +++ b/types/gapi.client.plus/gapi.client.plus-tests.ts @@ -0,0 +1,94 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('plus', 'v1', () => { + /** now we can use gapi.client.plus */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Know the list of people in your circles, your age range, and language */ + 'https://www.googleapis.com/auth/plus.login', + /** Know who you are on Google */ + 'https://www.googleapis.com/auth/plus.me', + /** View your email address */ + 'https://www.googleapis.com/auth/userinfo.email', + /** View your basic profile info */ + 'https://www.googleapis.com/auth/userinfo.profile', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Get an activity. */ + await gapi.client.activities.get({ + activityId: "activityId", + }); + /** List all of the activities in the specified collection for a particular user. */ + await gapi.client.activities.list({ + collection: "collection", + maxResults: 2, + pageToken: "pageToken", + userId: "userId", + }); + /** Search public activities. */ + await gapi.client.activities.search({ + language: "language", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + query: "query", + }); + /** Get a comment. */ + await gapi.client.comments.get({ + commentId: "commentId", + }); + /** List all of the comments for an activity. */ + await gapi.client.comments.list({ + activityId: "activityId", + maxResults: 2, + pageToken: "pageToken", + sortOrder: "sortOrder", + }); + /** Get a person's profile. If your app uses scope https://www.googleapis.com/auth/plus.login, this method is guaranteed to return ageRange and language. */ + await gapi.client.people.get({ + userId: "userId", + }); + /** List all of the people in the specified collection. */ + await gapi.client.people.list({ + collection: "collection", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + userId: "userId", + }); + /** List all of the people in the specified collection for a particular activity. */ + await gapi.client.people.listByActivity({ + activityId: "activityId", + collection: "collection", + maxResults: 3, + pageToken: "pageToken", + }); + /** Search all public profiles. */ + await gapi.client.people.search({ + language: "language", + maxResults: 2, + pageToken: "pageToken", + query: "query", + }); + } +}); diff --git a/types/gapi.client.plus/index.d.ts b/types/gapi.client.plus/index.d.ts new file mode 100644 index 0000000000..71fd6fd938 --- /dev/null +++ b/types/gapi.client.plus/index.d.ts @@ -0,0 +1,906 @@ +// Type definitions for Google Google+ API v1 1.0 +// Project: https://developers.google.com/+/api/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/plus/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google+ API v1 */ + function load(name: "plus", version: "v1"): PromiseLike<void>; + function load(name: "plus", version: "v1", callback: () => any): void; + + const activities: plus.ActivitiesResource; + + const comments: plus.CommentsResource; + + const people: plus.PeopleResource; + + namespace plus { + interface Acl { + /** Description of the access granted, suitable for display. */ + description?: string; + /** The list of access entries. */ + items?: PlusAclentryResource[]; + /** Identifies this resource as a collection of access controls. Value: "plus#acl". */ + kind?: string; + } + interface Activity { + /** Identifies who has access to see this activity. */ + access?: Acl; + /** The person who performed this activity. */ + actor?: { + /** Actor info specific to particular clients. */ + clientSpecificActorInfo?: { + /** Actor info specific to YouTube clients. */ + youtubeActorInfo?: { + /** ID of the YouTube channel owned by the Actor. */ + channelId?: string; + }; + }; + /** The name of the actor, suitable for display. */ + displayName?: string; + /** The ID of the actor's Person resource. */ + id?: string; + /** The image representation of the actor. */ + image?: { + /** + * The URL of the actor's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of + * each side. + */ + url?: string; + }; + /** An object representation of the individual components of name. */ + name?: { + /** The family name ("last name") of the actor. */ + familyName?: string; + /** The given name ("first name") of the actor. */ + givenName?: string; + }; + /** The link to the actor's Google profile. */ + url?: string; + /** Verification status of actor. */ + verification?: { + /** Verification for one-time or manual processes. */ + adHocVerified?: string; + }; + }; + /** Street address where this activity occurred. */ + address?: string; + /** Additional content added by the person who shared this activity, applicable only when resharing an activity. */ + annotation?: string; + /** If this activity is a crosspost from another system, this property specifies the ID of the original activity. */ + crosspostSource?: string; + /** ETag of this response for caching purposes. */ + etag?: string; + /** Latitude and longitude where this activity occurred. Format is latitude followed by longitude, space separated. */ + geocode?: string; + /** The ID of this activity. */ + id?: string; + /** Identifies this resource as an activity. Value: "plus#activity". */ + kind?: string; + /** The location where this activity occurred. */ + location?: Place; + /** The object of this activity. */ + object?: { + /** + * If this activity's object is itself another activity, such as when a person reshares an activity, this property specifies the original activity's + * actor. + */ + actor?: { + /** Actor info specific to particular clients. */ + clientSpecificActorInfo?: { + /** Actor info specific to YouTube clients. */ + youtubeActorInfo?: { + /** ID of the YouTube channel owned by the Actor. */ + channelId?: string; + }; + }; + /** The original actor's name, which is suitable for display. */ + displayName?: string; + /** ID of the original actor. */ + id?: string; + /** The image representation of the original actor. */ + image?: { + /** A URL that points to a thumbnail photo of the original actor. */ + url?: string; + }; + /** A link to the original actor's Google profile. */ + url?: string; + /** Verification status of actor. */ + verification?: { + /** Verification for one-time or manual processes. */ + adHocVerified?: string; + }; + }; + /** The media objects attached to this activity. */ + attachments?: Array<{ + /** If the attachment is an article, this property contains a snippet of text from the article. It can also include descriptions for other types. */ + content?: string; + /** The title of the attachment, such as a photo caption or an article title. */ + displayName?: string; + /** If the attachment is a video, the embeddable link. */ + embed?: { + /** Media type of the link. */ + type?: string; + /** URL of the link. */ + url?: string; + }; + /** The full image URL for photo attachments. */ + fullImage?: { + /** The height, in pixels, of the linked resource. */ + height?: number; + /** Media type of the link. */ + type?: string; + /** URL of the image. */ + url?: string; + /** The width, in pixels, of the linked resource. */ + width?: number; + }; + /** The ID of the attachment. */ + id?: string; + /** The preview image for photos or videos. */ + image?: { + /** The height, in pixels, of the linked resource. */ + height?: number; + /** Media type of the link. */ + type?: string; + /** Image URL. */ + url?: string; + /** The width, in pixels, of the linked resource. */ + width?: number; + }; + /** + * The type of media object. Possible values include, but are not limited to, the following values: + * - "photo" - A photo. + * - "album" - A photo album. + * - "video" - A video. + * - "article" - An article, specified by a link. + */ + objectType?: string; + /** If the attachment is an album, this property is a list of potential additional thumbnails from the album. */ + thumbnails?: Array<{ + /** Potential name of the thumbnail. */ + description?: string; + /** Image resource. */ + image?: { + /** The height, in pixels, of the linked resource. */ + height?: number; + /** Media type of the link. */ + type?: string; + /** Image url. */ + url?: string; + /** The width, in pixels, of the linked resource. */ + width?: number; + }; + /** URL of the webpage containing the image. */ + url?: string; + }>; + /** The link to the attachment, which should be of type text/html. */ + url?: string; + }>; + /** The HTML-formatted content, which is suitable for display. */ + content?: string; + /** The ID of the object. When resharing an activity, this is the ID of the activity that is being reshared. */ + id?: string; + /** + * The type of the object. Possible values include, but are not limited to, the following values: + * - "note" - Textual content. + * - "activity" - A Google+ activity. + */ + objectType?: string; + /** + * The content (text) as provided by the author, which is stored without any HTML formatting. When creating or updating an activity, this value must be + * supplied as plain text in the request. + */ + originalContent?: string; + /** People who +1'd this activity. */ + plusoners?: { + /** The URL for the collection of people who +1'd this activity. */ + selfLink?: string; + /** Total number of people who +1'd this activity. */ + totalItems?: number; + }; + /** Comments in reply to this activity. */ + replies?: { + /** The URL for the collection of comments in reply to this activity. */ + selfLink?: string; + /** Total number of comments on this activity. */ + totalItems?: number; + }; + /** People who reshared this activity. */ + resharers?: { + /** The URL for the collection of resharers. */ + selfLink?: string; + /** Total number of people who reshared this activity. */ + totalItems?: number; + }; + /** The URL that points to the linked resource. */ + url?: string; + }; + /** ID of the place where this activity occurred. */ + placeId?: string; + /** Name of the place where this activity occurred. */ + placeName?: string; + /** The service provider that initially published this activity. */ + provider?: { + /** Name of the service provider. */ + title?: string; + }; + /** The time at which this activity was initially published. Formatted as an RFC 3339 timestamp. */ + published?: string; + /** Radius, in meters, of the region where this activity occurred, centered at the latitude and longitude identified in geocode. */ + radius?: string; + /** Title of this activity. */ + title?: string; + /** The time at which this activity was last updated. Formatted as an RFC 3339 timestamp. */ + updated?: string; + /** The link to this activity. */ + url?: string; + /** + * This activity's verb, which indicates the action that was performed. Possible values include, but are not limited to, the following values: + * - "post" - Publish content to the stream. + * - "share" - Reshare an activity. + */ + verb?: string; + } + interface ActivityFeed { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The ID of this collection of activities. Deprecated. */ + id?: string; + /** The activities in this page of results. */ + items?: Activity[]; + /** Identifies this resource as a collection of activities. Value: "plus#activityFeed". */ + kind?: string; + /** Link to the next page of activities. */ + nextLink?: string; + /** The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */ + nextPageToken?: string; + /** Link to this activity resource. */ + selfLink?: string; + /** The title of this collection of activities, which is a truncated portion of the content. */ + title?: string; + /** The time at which this collection of activities was last updated. Formatted as an RFC 3339 timestamp. */ + updated?: string; + } + interface Comment { + /** The person who posted this comment. */ + actor?: { + /** Actor info specific to particular clients. */ + clientSpecificActorInfo?: { + /** Actor info specific to YouTube clients. */ + youtubeActorInfo?: { + /** ID of the YouTube channel owned by the Actor. */ + channelId?: string; + }; + }; + /** The name of this actor, suitable for display. */ + displayName?: string; + /** The ID of the actor. */ + id?: string; + /** The image representation of this actor. */ + image?: { + /** + * The URL of the actor's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of + * each side. + */ + url?: string; + }; + /** A link to the Person resource for this actor. */ + url?: string; + /** Verification status of actor. */ + verification?: { + /** Verification for one-time or manual processes. */ + adHocVerified?: string; + }; + }; + /** ETag of this response for caching purposes. */ + etag?: string; + /** The ID of this comment. */ + id?: string; + /** The activity this comment replied to. */ + inReplyTo?: Array<{ + /** The ID of the activity. */ + id?: string; + /** The URL of the activity. */ + url?: string; + }>; + /** Identifies this resource as a comment. Value: "plus#comment". */ + kind?: string; + /** The object of this comment. */ + object?: { + /** The HTML-formatted content, suitable for display. */ + content?: string; + /** + * The object type of this comment. Possible values are: + * - "comment" - A comment in reply to an activity. + */ + objectType?: string; + /** + * The content (text) as provided by the author, stored without any HTML formatting. When creating or updating a comment, this value must be supplied as + * plain text in the request. + */ + originalContent?: string; + }; + /** People who +1'd this comment. */ + plusoners?: { + /** Total number of people who +1'd this comment. */ + totalItems?: number; + }; + /** The time at which this comment was initially published. Formatted as an RFC 3339 timestamp. */ + published?: string; + /** Link to this comment resource. */ + selfLink?: string; + /** The time at which this comment was last updated. Formatted as an RFC 3339 timestamp. */ + updated?: string; + /** + * This comment's verb, indicating what action was performed. Possible values are: + * - "post" - Publish content to the stream. + */ + verb?: string; + } + interface CommentFeed { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The ID of this collection of comments. */ + id?: string; + /** The comments in this page of results. */ + items?: Comment[]; + /** Identifies this resource as a collection of comments. Value: "plus#commentFeed". */ + kind?: string; + /** Link to the next page of activities. */ + nextLink?: string; + /** The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */ + nextPageToken?: string; + /** The title of this collection of comments. */ + title?: string; + /** The time at which this collection of comments was last updated. Formatted as an RFC 3339 timestamp. */ + updated?: string; + } + interface PeopleFeed { + /** ETag of this response for caching purposes. */ + etag?: string; + /** + * The people in this page of results. Each item includes the id, displayName, image, and url for the person. To retrieve additional profile data, see the + * people.get method. + */ + items?: Person[]; + /** Identifies this resource as a collection of people. Value: "plus#peopleFeed". */ + kind?: string; + /** The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */ + nextPageToken?: string; + /** Link to this resource. */ + selfLink?: string; + /** The title of this collection of people. */ + title?: string; + /** + * The total number of people available in this list. The number of people in a response might be smaller due to paging. This might not be set for all + * collections. + */ + totalItems?: number; + } + interface Person { + /** A short biography for this person. */ + aboutMe?: string; + /** + * The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21 or older. Age is determined from the user's birthday using Western age + * reckoning. + */ + ageRange?: { + /** + * The age range's upper bound, if any. Possible values include, but are not limited to, the following: + * - "17" - for age 17 + * - "20" - for age 20 + */ + max?: number; + /** + * The age range's lower bound, if any. Possible values include, but are not limited to, the following: + * - "21" - for age 21 + * - "18" - for age 18 + */ + min?: number; + }; + /** The person's date of birth, represented as YYYY-MM-DD. */ + birthday?: string; + /** The "bragging rights" line of this person. */ + braggingRights?: string; + /** For followers who are visible, the number of people who have added this person or page to a circle. */ + circledByCount?: number; + /** The cover photo content. */ + cover?: { + /** Extra information about the cover photo. */ + coverInfo?: { + /** The difference between the left position of the cover image and the actual displayed cover image. Only valid for banner layout. */ + leftImageOffset?: number; + /** The difference between the top position of the cover image and the actual displayed cover image. Only valid for banner layout. */ + topImageOffset?: number; + }; + /** The person's primary cover image. */ + coverPhoto?: { + /** The height of the image. */ + height?: number; + /** The URL of the image. */ + url?: string; + /** The width of the image. */ + width?: number; + }; + /** + * The layout of the cover art. Possible values include, but are not limited to, the following values: + * - "banner" - One large image banner. + */ + layout?: string; + }; + /** (this field is not currently used) */ + currentLocation?: string; + /** The name of this person, which is suitable for display. */ + displayName?: string; + /** + * The hosted domain name for the user's Google Apps account. For instance, example.com. The plus.profile.emails.read or email scope is needed to get this + * domain name. + */ + domain?: string; + /** + * A list of email addresses that this person has, including their Google account email address, and the public verified email addresses on their Google+ + * profile. The plus.profile.emails.read scope is needed to retrieve these email addresses, or the email scope can be used to retrieve just the Google + * account email address. + */ + emails?: Array<{ + /** + * The type of address. Possible values include, but are not limited to, the following values: + * - "account" - Google account email address. + * - "home" - Home email address. + * - "work" - Work email address. + * - "other" - Other. + */ + type?: string; + /** The email address. */ + value?: string; + }>; + /** ETag of this response for caching purposes. */ + etag?: string; + /** + * The person's gender. Possible values include, but are not limited to, the following values: + * - "male" - Male gender. + * - "female" - Female gender. + * - "other" - Other. + */ + gender?: string; + /** The ID of this person. */ + id?: string; + /** The representation of the person's profile photo. */ + image?: { + /** Whether the person's profile photo is the default one */ + isDefault?: boolean; + /** + * The URL of the person's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels + * of each side. + */ + url?: string; + }; + /** Whether this user has signed up for Google+. */ + isPlusUser?: boolean; + /** Identifies this resource as a person. Value: "plus#person". */ + kind?: string; + /** The user's preferred language for rendering. */ + language?: string; + /** An object representation of the individual components of a person's name. */ + name?: { + /** The family name (last name) of this person. */ + familyName?: string; + /** The full name of this person, including middle names, suffixes, etc. */ + formatted?: string; + /** The given name (first name) of this person. */ + givenName?: string; + /** The honorific prefixes (such as "Dr." or "Mrs.") for this person. */ + honorificPrefix?: string; + /** The honorific suffixes (such as "Jr.") for this person. */ + honorificSuffix?: string; + /** The middle name of this person. */ + middleName?: string; + }; + /** The nickname of this person. */ + nickname?: string; + /** + * Type of person within Google+. Possible values include, but are not limited to, the following values: + * - "person" - represents an actual person. + * - "page" - represents a page. + */ + objectType?: string; + /** The occupation of this person. */ + occupation?: string; + /** A list of current or past organizations with which this person is associated. */ + organizations?: Array<{ + /** The department within the organization. Deprecated. */ + department?: string; + /** A short description of the person's role in this organization. Deprecated. */ + description?: string; + /** The date that the person left this organization. */ + endDate?: string; + /** The location of this organization. Deprecated. */ + location?: string; + /** The name of the organization. */ + name?: string; + /** If "true", indicates this organization is the person's primary one, which is typically interpreted as the current one. */ + primary?: boolean; + /** The date that the person joined this organization. */ + startDate?: string; + /** The person's job title or role within the organization. */ + title?: string; + /** + * The type of organization. Possible values include, but are not limited to, the following values: + * - "work" - Work. + * - "school" - School. + */ + type?: string; + }>; + /** A list of places where this person has lived. */ + placesLived?: Array<{ + /** If "true", this place of residence is this person's primary residence. */ + primary?: boolean; + /** A place where this person has lived. For example: "Seattle, WA", "Near Toronto". */ + value?: string; + }>; + /** If a Google+ Page, the number of people who have +1'd this page. */ + plusOneCount?: number; + /** + * The person's relationship status. Possible values include, but are not limited to, the following values: + * - "single" - Person is single. + * - "in_a_relationship" - Person is in a relationship. + * - "engaged" - Person is engaged. + * - "married" - Person is married. + * - "its_complicated" - The relationship is complicated. + * - "open_relationship" - Person is in an open relationship. + * - "widowed" - Person is widowed. + * - "in_domestic_partnership" - Person is in a domestic partnership. + * - "in_civil_union" - Person is in a civil union. + */ + relationshipStatus?: string; + /** The person's skills. */ + skills?: string; + /** The brief description (tagline) of this person. */ + tagline?: string; + /** The URL of this person's profile. */ + url?: string; + /** A list of URLs for this person. */ + urls?: Array<{ + /** The label of the URL. */ + label?: string; + /** + * The type of URL. Possible values include, but are not limited to, the following values: + * - "otherProfile" - URL for another profile. + * - "contributor" - URL to a site for which this person is a contributor. + * - "website" - URL for this Google+ Page's primary website. + * - "other" - Other URL. + */ + type?: string; + /** The URL value. */ + value?: string; + }>; + /** Whether the person or Google+ Page has been verified. */ + verified?: boolean; + } + interface Place { + /** The physical address of the place. */ + address?: { + /** The formatted address for display. */ + formatted?: string; + }; + /** The display name of the place. */ + displayName?: string; + /** The id of the place. */ + id?: string; + /** Identifies this resource as a place. Value: "plus#place". */ + kind?: string; + /** The position of the place. */ + position?: { + /** The latitude of this position. */ + latitude?: number; + /** The longitude of this position. */ + longitude?: number; + }; + } + interface PlusAclentryResource { + /** A descriptive name for this entry. Suitable for display. */ + displayName?: string; + /** The ID of the entry. For entries of type "person" or "circle", this is the ID of the resource. For other types, this property is not set. */ + id?: string; + /** + * The type of entry describing to whom access is granted. Possible values are: + * - "person" - Access to an individual. + * - "circle" - Access to members of a circle. + * - "myCircles" - Access to members of all the person's circles. + * - "extendedCircles" - Access to members of all the person's circles, plus all of the people in their circles. + * - "domain" - Access to members of the person's Google Apps domain. + * - "public" - Access to anyone on the web. + */ + type?: string; + } + interface ActivitiesResource { + /** Get an activity. */ + get(request: { + /** The ID of the activity to get. */ + activityId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Activity>; + /** List all of the activities in the specified collection for a particular user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The collection of activities to list. */ + collection: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of activities to include in the response, which is used for paging. For any response, the actual number returned might be less than + * the specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of + * "nextPageToken" from the previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user to get activities for. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ActivityFeed>; + /** Search public activities. */ + search(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Specify the preferred language to search with. See search language codes for available values. */ + language?: string; + /** + * The maximum number of activities to include in the response, which is used for paging. For any response, the actual number returned might be less than + * the specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Specifies how to order search results. */ + orderBy?: string; + /** + * The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of + * "nextPageToken" from the previous response. This token can be of any length. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Full-text search query string. */ + query: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ActivityFeed>; + } + interface CommentsResource { + /** Get a comment. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the comment to get. */ + commentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Comment>; + /** List all of the comments for an activity. */ + list(request: { + /** The ID of the activity to get comments for. */ + activityId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of comments to include in the response, which is used for paging. For any response, the actual number returned might be less than + * the specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of + * "nextPageToken" from the previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The order in which to sort the list of comments. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CommentFeed>; + } + interface PeopleResource { + /** Get a person's profile. If your app uses scope https://www.googleapis.com/auth/plus.login, this method is guaranteed to return ageRange and language. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the person to get the profile for. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Person>; + /** List all of the people in the specified collection. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The collection of people to list. */ + collection: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of people to include in the response, which is used for paging. For any response, the actual number returned might be less than the + * specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The order to return people in. */ + orderBy?: string; + /** + * The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of + * "nextPageToken" from the previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Get the collection of people for the person identified. Use "me" to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PeopleFeed>; + /** List all of the people in the specified collection for a particular activity. */ + listByActivity(request: { + /** The ID of the activity to get the list of people for. */ + activityId: string; + /** Data format for the response. */ + alt?: string; + /** The collection of people to list. */ + collection: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of people to include in the response, which is used for paging. For any response, the actual number returned might be less than the + * specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of + * "nextPageToken" from the previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PeopleFeed>; + /** Search all public profiles. */ + search(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Specify the preferred language to search with. See search language codes for available values. */ + language?: string; + /** + * The maximum number of people to include in the response, which is used for paging. For any response, the actual number returned might be less than the + * specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of + * "nextPageToken" from the previous response. This token can be of any length. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Specify a query string for full text search of public text in all profiles. */ + query: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PeopleFeed>; + } + } +} diff --git a/types/gapi.client.plus/readme.md b/types/gapi.client.plus/readme.md new file mode 100644 index 0000000000..d045a0d8e5 --- /dev/null +++ b/types/gapi.client.plus/readme.md @@ -0,0 +1,108 @@ +# TypeScript typings for Google+ API v1 +Builds on top of the Google+ platform. +For detailed description please check [documentation](https://developers.google.com/+/api/). + +## Installing + +Install typings for Google+ API: +``` +npm install @types/gapi.client.plus@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('plus', 'v1', () => { + // now we can use gapi.client.plus + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Know the list of people in your circles, your age range, and language + 'https://www.googleapis.com/auth/plus.login', + + // Know who you are on Google + 'https://www.googleapis.com/auth/plus.me', + + // View your email address + 'https://www.googleapis.com/auth/userinfo.email', + + // View your basic profile info + 'https://www.googleapis.com/auth/userinfo.profile', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google+ API resources: + +```typescript + +/* +Get an activity. +*/ +await gapi.client.activities.get({ activityId: "activityId", }); + +/* +List all of the activities in the specified collection for a particular user. +*/ +await gapi.client.activities.list({ collection: "collection", userId: "userId", }); + +/* +Search public activities. +*/ +await gapi.client.activities.search({ query: "query", }); + +/* +Get a comment. +*/ +await gapi.client.comments.get({ commentId: "commentId", }); + +/* +List all of the comments for an activity. +*/ +await gapi.client.comments.list({ activityId: "activityId", }); + +/* +Get a person's profile. If your app uses scope https://www.googleapis.com/auth/plus.login, this method is guaranteed to return ageRange and language. +*/ +await gapi.client.people.get({ userId: "userId", }); + +/* +List all of the people in the specified collection. +*/ +await gapi.client.people.list({ collection: "collection", userId: "userId", }); + +/* +List all of the people in the specified collection for a particular activity. +*/ +await gapi.client.people.listByActivity({ activityId: "activityId", collection: "collection", }); + +/* +Search all public profiles. +*/ +await gapi.client.people.search({ query: "query", }); +``` \ No newline at end of file diff --git a/types/gapi.client.plus/tsconfig.json b/types/gapi.client.plus/tsconfig.json new file mode 100644 index 0000000000..933d6c865a --- /dev/null +++ b/types/gapi.client.plus/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.plus-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.plus/tslint.json b/types/gapi.client.plus/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.plus/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.plusdomains/gapi.client.plusdomains-tests.ts b/types/gapi.client.plusdomains/gapi.client.plusdomains-tests.ts new file mode 100644 index 0000000000..943828a4b8 --- /dev/null +++ b/types/gapi.client.plusdomains/gapi.client.plusdomains-tests.ts @@ -0,0 +1,161 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('plusdomains', 'v1', () => { + /** now we can use gapi.client.plusdomains */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View your circles and the people and pages in them */ + 'https://www.googleapis.com/auth/plus.circles.read', + /** + * Manage your circles and add people and pages. People and pages you add to your circles will be notified. Others may see this information publicly. + * People you add to circles can use Hangouts with you. + */ + 'https://www.googleapis.com/auth/plus.circles.write', + /** Know the list of people in your circles, your age range, and language */ + 'https://www.googleapis.com/auth/plus.login', + /** Know who you are on Google */ + 'https://www.googleapis.com/auth/plus.me', + /** Send your photos and videos to Google+ */ + 'https://www.googleapis.com/auth/plus.media.upload', + /** View your own Google+ profile and profiles visible to you */ + 'https://www.googleapis.com/auth/plus.profiles.read', + /** View your Google+ posts, comments, and stream */ + 'https://www.googleapis.com/auth/plus.stream.read', + /** Manage your Google+ posts, comments, and stream */ + 'https://www.googleapis.com/auth/plus.stream.write', + /** View your email address */ + 'https://www.googleapis.com/auth/userinfo.email', + /** View your basic profile info */ + 'https://www.googleapis.com/auth/userinfo.profile', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Get an activity. */ + await gapi.client.activities.get({ + activityId: "activityId", + }); + /** Create a new activity for the authenticated user. */ + await gapi.client.activities.insert({ + preview: true, + userId: "userId", + }); + /** List all of the activities in the specified collection for a particular user. */ + await gapi.client.activities.list({ + collection: "collection", + maxResults: 2, + pageToken: "pageToken", + userId: "userId", + }); + /** List all of the audiences to which a user can share. */ + await gapi.client.audiences.list({ + maxResults: 1, + pageToken: "pageToken", + userId: "userId", + }); + /** Add a person to a circle. Google+ limits certain circle operations, including the number of circle adds. Learn More. */ + await gapi.client.circles.addPeople({ + circleId: "circleId", + email: "email", + userId: "userId", + }); + /** Get a circle. */ + await gapi.client.circles.get({ + circleId: "circleId", + }); + /** Create a new circle for the authenticated user. */ + await gapi.client.circles.insert({ + userId: "userId", + }); + /** List all of the circles for a user. */ + await gapi.client.circles.list({ + maxResults: 1, + pageToken: "pageToken", + userId: "userId", + }); + /** Update a circle's description. This method supports patch semantics. */ + await gapi.client.circles.patch({ + circleId: "circleId", + }); + /** Delete a circle. */ + await gapi.client.circles.remove({ + circleId: "circleId", + }); + /** Remove a person from a circle. */ + await gapi.client.circles.removePeople({ + circleId: "circleId", + email: "email", + userId: "userId", + }); + /** Update a circle's description. */ + await gapi.client.circles.update({ + circleId: "circleId", + }); + /** Get a comment. */ + await gapi.client.comments.get({ + commentId: "commentId", + }); + /** Create a new comment in reply to an activity. */ + await gapi.client.comments.insert({ + activityId: "activityId", + }); + /** List all of the comments for an activity. */ + await gapi.client.comments.list({ + activityId: "activityId", + maxResults: 2, + pageToken: "pageToken", + sortOrder: "sortOrder", + }); + /** + * Add a new media item to an album. The current upload size limitations are 36MB for a photo and 1GB for a video. Uploads do not count against quota if + * photos are less than 2048 pixels on their longest side or videos are less than 15 minutes in length. + */ + await gapi.client.media.insert({ + collection: "collection", + userId: "userId", + }); + /** Get a person's profile. */ + await gapi.client.people.get({ + userId: "userId", + }); + /** List all of the people in the specified collection. */ + await gapi.client.people.list({ + collection: "collection", + maxResults: 2, + orderBy: "orderBy", + pageToken: "pageToken", + userId: "userId", + }); + /** List all of the people in the specified collection for a particular activity. */ + await gapi.client.people.listByActivity({ + activityId: "activityId", + collection: "collection", + maxResults: 3, + pageToken: "pageToken", + }); + /** List all of the people who are members of a circle. */ + await gapi.client.people.listByCircle({ + circleId: "circleId", + maxResults: 2, + pageToken: "pageToken", + }); + } +}); diff --git a/types/gapi.client.plusdomains/index.d.ts b/types/gapi.client.plusdomains/index.d.ts new file mode 100644 index 0000000000..f07cfd7483 --- /dev/null +++ b/types/gapi.client.plusdomains/index.d.ts @@ -0,0 +1,1324 @@ +// Type definitions for Google Google+ Domains API v1 1.0 +// Project: https://developers.google.com/+/domains/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/plusDomains/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google+ Domains API v1 */ + function load(name: "plusdomains", version: "v1"): PromiseLike<void>; + function load(name: "plusdomains", version: "v1", callback: () => any): void; + + const activities: plusdomains.ActivitiesResource; + + const audiences: plusdomains.AudiencesResource; + + const circles: plusdomains.CirclesResource; + + const comments: plusdomains.CommentsResource; + + const media: plusdomains.MediaResource; + + const people: plusdomains.PeopleResource; + + namespace plusdomains { + interface Acl { + /** Description of the access granted, suitable for display. */ + description?: string; + /** Whether access is restricted to the domain. */ + domainRestricted?: boolean; + /** The list of access entries. */ + items?: PlusDomainsAclentryResource[]; + /** Identifies this resource as a collection of access controls. Value: "plus#acl". */ + kind?: string; + } + interface Activity { + /** Identifies who has access to see this activity. */ + access?: Acl; + /** The person who performed this activity. */ + actor?: { + /** Actor info specific to particular clients. */ + clientSpecificActorInfo?: { + /** Actor info specific to YouTube clients. */ + youtubeActorInfo?: { + /** ID of the YouTube channel owned by the Actor. */ + channelId?: string; + }; + }; + /** The name of the actor, suitable for display. */ + displayName?: string; + /** The ID of the actor's Person resource. */ + id?: string; + /** The image representation of the actor. */ + image?: { + /** + * The URL of the actor's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of + * each side. + */ + url?: string; + }; + /** An object representation of the individual components of name. */ + name?: { + /** The family name ("last name") of the actor. */ + familyName?: string; + /** The given name ("first name") of the actor. */ + givenName?: string; + }; + /** The link to the actor's Google profile. */ + url?: string; + /** Verification status of actor. */ + verification?: { + /** Verification for one-time or manual processes. */ + adHocVerified?: string; + }; + }; + /** Street address where this activity occurred. */ + address?: string; + /** Additional content added by the person who shared this activity, applicable only when resharing an activity. */ + annotation?: string; + /** If this activity is a crosspost from another system, this property specifies the ID of the original activity. */ + crosspostSource?: string; + /** ETag of this response for caching purposes. */ + etag?: string; + /** Latitude and longitude where this activity occurred. Format is latitude followed by longitude, space separated. */ + geocode?: string; + /** The ID of this activity. */ + id?: string; + /** Identifies this resource as an activity. Value: "plus#activity". */ + kind?: string; + /** The location where this activity occurred. */ + location?: Place; + /** The object of this activity. */ + object?: { + /** + * If this activity's object is itself another activity, such as when a person reshares an activity, this property specifies the original activity's + * actor. + */ + actor?: { + /** Actor info specific to particular clients. */ + clientSpecificActorInfo?: { + /** Actor info specific to YouTube clients. */ + youtubeActorInfo?: { + /** ID of the YouTube channel owned by the Actor. */ + channelId?: string; + }; + }; + /** The original actor's name, which is suitable for display. */ + displayName?: string; + /** ID of the original actor. */ + id?: string; + /** The image representation of the original actor. */ + image?: { + /** A URL that points to a thumbnail photo of the original actor. */ + url?: string; + }; + /** A link to the original actor's Google profile. */ + url?: string; + /** Verification status of actor. */ + verification?: { + /** Verification for one-time or manual processes. */ + adHocVerified?: string; + }; + }; + /** The media objects attached to this activity. */ + attachments?: Array<{ + /** If the attachment is an article, this property contains a snippet of text from the article. It can also include descriptions for other types. */ + content?: string; + /** The title of the attachment, such as a photo caption or an article title. */ + displayName?: string; + /** If the attachment is a video, the embeddable link. */ + embed?: { + /** Media type of the link. */ + type?: string; + /** URL of the link. */ + url?: string; + }; + /** The full image URL for photo attachments. */ + fullImage?: { + /** The height, in pixels, of the linked resource. */ + height?: number; + /** Media type of the link. */ + type?: string; + /** URL of the image. */ + url?: string; + /** The width, in pixels, of the linked resource. */ + width?: number; + }; + /** The ID of the attachment. */ + id?: string; + /** The preview image for photos or videos. */ + image?: { + /** The height, in pixels, of the linked resource. */ + height?: number; + /** Media type of the link. */ + type?: string; + /** Image URL. */ + url?: string; + /** The width, in pixels, of the linked resource. */ + width?: number; + }; + /** + * The type of media object. Possible values include, but are not limited to, the following values: + * - "photo" - A photo. + * - "album" - A photo album. + * - "video" - A video. + * - "article" - An article, specified by a link. + */ + objectType?: string; + /** + * When previewing, these are the optional thumbnails for the post. When posting an article, choose one by setting the attachment.image.url property. If + * you don't choose one, one will be chosen for you. + */ + previewThumbnails?: Array<{ + /** URL of the thumbnail image. */ + url?: string; + }>; + /** If the attachment is an album, this property is a list of potential additional thumbnails from the album. */ + thumbnails?: Array<{ + /** Potential name of the thumbnail. */ + description?: string; + /** Image resource. */ + image?: { + /** The height, in pixels, of the linked resource. */ + height?: number; + /** Media type of the link. */ + type?: string; + /** Image url. */ + url?: string; + /** The width, in pixels, of the linked resource. */ + width?: number; + }; + /** URL of the webpage containing the image. */ + url?: string; + }>; + /** The link to the attachment, which should be of type text/html. */ + url?: string; + }>; + /** The HTML-formatted content, which is suitable for display. */ + content?: string; + /** The ID of the object. When resharing an activity, this is the ID of the activity that is being reshared. */ + id?: string; + /** + * The type of the object. Possible values include, but are not limited to, the following values: + * - "note" - Textual content. + * - "activity" - A Google+ activity. + */ + objectType?: string; + /** + * The content (text) as provided by the author, which is stored without any HTML formatting. When creating or updating an activity, this value must be + * supplied as plain text in the request. + */ + originalContent?: string; + /** People who +1'd this activity. */ + plusoners?: { + /** The URL for the collection of people who +1'd this activity. */ + selfLink?: string; + /** Total number of people who +1'd this activity. */ + totalItems?: number; + }; + /** Comments in reply to this activity. */ + replies?: { + /** The URL for the collection of comments in reply to this activity. */ + selfLink?: string; + /** Total number of comments on this activity. */ + totalItems?: number; + }; + /** People who reshared this activity. */ + resharers?: { + /** The URL for the collection of resharers. */ + selfLink?: string; + /** Total number of people who reshared this activity. */ + totalItems?: number; + }; + /** Status of the activity as seen by the viewer. */ + statusForViewer?: { + /** Whether the viewer can comment on the activity. */ + canComment?: boolean; + /** Whether the viewer can +1 the activity. */ + canPlusone?: boolean; + /** Whether the viewer can edit or delete the activity. */ + canUpdate?: boolean; + /** Whether the viewer has +1'd the activity. */ + isPlusOned?: boolean; + /** Whether reshares are disabled for the activity. */ + resharingDisabled?: boolean; + }; + /** The URL that points to the linked resource. */ + url?: string; + }; + /** ID of the place where this activity occurred. */ + placeId?: string; + /** Name of the place where this activity occurred. */ + placeName?: string; + /** The service provider that initially published this activity. */ + provider?: { + /** Name of the service provider. */ + title?: string; + }; + /** The time at which this activity was initially published. Formatted as an RFC 3339 timestamp. */ + published?: string; + /** Radius, in meters, of the region where this activity occurred, centered at the latitude and longitude identified in geocode. */ + radius?: string; + /** Title of this activity. */ + title?: string; + /** The time at which this activity was last updated. Formatted as an RFC 3339 timestamp. */ + updated?: string; + /** The link to this activity. */ + url?: string; + /** + * This activity's verb, which indicates the action that was performed. Possible values include, but are not limited to, the following values: + * - "post" - Publish content to the stream. + * - "share" - Reshare an activity. + */ + verb?: string; + } + interface ActivityFeed { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The ID of this collection of activities. Deprecated. */ + id?: string; + /** The activities in this page of results. */ + items?: Activity[]; + /** Identifies this resource as a collection of activities. Value: "plus#activityFeed". */ + kind?: string; + /** Link to the next page of activities. */ + nextLink?: string; + /** The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */ + nextPageToken?: string; + /** Link to this activity resource. */ + selfLink?: string; + /** The title of this collection of activities, which is a truncated portion of the content. */ + title?: string; + /** The time at which this collection of activities was last updated. Formatted as an RFC 3339 timestamp. */ + updated?: string; + } + interface Audience { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The access control list entry. */ + item?: PlusDomainsAclentryResource; + /** Identifies this resource as an audience. Value: "plus#audience". */ + kind?: string; + /** The number of people in this circle. This only applies if entity_type is CIRCLE. */ + memberCount?: number; + /** + * The circle members' visibility as chosen by the owner of the circle. This only applies for items with "item.type" equals "circle". Possible values are: + * + * - "public" - Members are visible to the public. + * - "limited" - Members are visible to a limited audience. + * - "private" - Members are visible to the owner only. + */ + visibility?: string; + } + interface AudiencesFeed { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The audiences in this result. */ + items?: Audience[]; + /** Identifies this resource as a collection of audiences. Value: "plus#audienceFeed". */ + kind?: string; + /** The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */ + nextPageToken?: string; + /** The total number of ACL entries. The number of entries in this response may be smaller due to paging. */ + totalItems?: number; + } + interface Circle { + /** The description of this circle. */ + description?: string; + /** The circle name. */ + displayName?: string; + /** ETag of this response for caching purposes. */ + etag?: string; + /** The ID of the circle. */ + id?: string; + /** Identifies this resource as a circle. Value: "plus#circle". */ + kind?: string; + /** The people in this circle. */ + people?: { + /** The total number of people in this circle. */ + totalItems?: number; + }; + /** Link to this circle resource */ + selfLink?: string; + } + interface CircleFeed { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The circles in this page of results. */ + items?: Circle[]; + /** Identifies this resource as a collection of circles. Value: "plus#circleFeed". */ + kind?: string; + /** Link to the next page of circles. */ + nextLink?: string; + /** The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */ + nextPageToken?: string; + /** Link to this page of circles. */ + selfLink?: string; + /** The title of this list of resources. */ + title?: string; + /** The total number of circles. The number of circles in this response may be smaller due to paging. */ + totalItems?: number; + } + interface Comment { + /** The person who posted this comment. */ + actor?: { + /** Actor info specific to particular clients. */ + clientSpecificActorInfo?: { + /** Actor info specific to YouTube clients. */ + youtubeActorInfo?: { + /** ID of the YouTube channel owned by the Actor. */ + channelId?: string; + }; + }; + /** The name of this actor, suitable for display. */ + displayName?: string; + /** The ID of the actor. */ + id?: string; + /** The image representation of this actor. */ + image?: { + /** + * The URL of the actor's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of + * each side. + */ + url?: string; + }; + /** A link to the Person resource for this actor. */ + url?: string; + /** Verification status of actor. */ + verification?: { + /** Verification for one-time or manual processes. */ + adHocVerified?: string; + }; + }; + /** ETag of this response for caching purposes. */ + etag?: string; + /** The ID of this comment. */ + id?: string; + /** The activity this comment replied to. */ + inReplyTo?: Array<{ + /** The ID of the activity. */ + id?: string; + /** The URL of the activity. */ + url?: string; + }>; + /** Identifies this resource as a comment. Value: "plus#comment". */ + kind?: string; + /** The object of this comment. */ + object?: { + /** The HTML-formatted content, suitable for display. */ + content?: string; + /** + * The object type of this comment. Possible values are: + * - "comment" - A comment in reply to an activity. + */ + objectType?: string; + /** + * The content (text) as provided by the author, stored without any HTML formatting. When creating or updating a comment, this value must be supplied as + * plain text in the request. + */ + originalContent?: string; + }; + /** People who +1'd this comment. */ + plusoners?: { + /** Total number of people who +1'd this comment. */ + totalItems?: number; + }; + /** The time at which this comment was initially published. Formatted as an RFC 3339 timestamp. */ + published?: string; + /** Link to this comment resource. */ + selfLink?: string; + /** The time at which this comment was last updated. Formatted as an RFC 3339 timestamp. */ + updated?: string; + /** + * This comment's verb, indicating what action was performed. Possible values are: + * - "post" - Publish content to the stream. + */ + verb?: string; + } + interface CommentFeed { + /** ETag of this response for caching purposes. */ + etag?: string; + /** The ID of this collection of comments. */ + id?: string; + /** The comments in this page of results. */ + items?: Comment[]; + /** Identifies this resource as a collection of comments. Value: "plus#commentFeed". */ + kind?: string; + /** Link to the next page of activities. */ + nextLink?: string; + /** The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */ + nextPageToken?: string; + /** The title of this collection of comments. */ + title?: string; + /** The time at which this collection of comments was last updated. Formatted as an RFC 3339 timestamp. */ + updated?: string; + } + interface Media { + /** The person who uploaded this media. */ + author?: { + /** The author's name. */ + displayName?: string; + /** ID of the author. */ + id?: string; + /** The author's Google profile image. */ + image?: { + /** + * The URL of the author's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels + * of each side. + */ + url?: string; + }; + /** A link to the author's Google profile. */ + url?: string; + }; + /** The display name for this media. */ + displayName?: string; + /** ETag of this response for caching purposes. */ + etag?: string; + /** Exif information of the media item. */ + exif?: { + /** The time the media was captured. Formatted as an RFC 3339 timestamp. */ + time?: string; + }; + /** The height in pixels of the original image. */ + height?: number; + /** ID of this media, which is generated by the API. */ + id?: string; + /** The type of resource. */ + kind?: string; + /** The time at which this media was originally created in UTC. Formatted as an RFC 3339 timestamp that matches this example: 2010-11-25T14:30:27.655Z */ + mediaCreatedTime?: string; + /** The URL of this photo or video's still image. */ + mediaUrl?: string; + /** The time at which this media was uploaded. Formatted as an RFC 3339 timestamp. */ + published?: string; + /** The size in bytes of this video. */ + sizeBytes?: string; + /** The list of video streams for this video. There might be several different streams available for a single video, either Flash or MPEG, of various sizes */ + streams?: Videostream[]; + /** A description, or caption, for this media. */ + summary?: string; + /** The time at which this media was last updated. This includes changes to media metadata. Formatted as an RFC 3339 timestamp. */ + updated?: string; + /** The URL for the page that hosts this media. */ + url?: string; + /** The duration in milliseconds of this video. */ + videoDuration?: string; + /** + * The encoding status of this video. Possible values are: + * - "UPLOADING" - Not all the video bytes have been received. + * - "PENDING" - Video not yet processed. + * - "FAILED" - Video processing failed. + * - "READY" - A single video stream is playable. + * - "FINAL" - All video streams are playable. + */ + videoStatus?: string; + /** The width in pixels of the original image. */ + width?: number; + } + interface PeopleFeed { + /** ETag of this response for caching purposes. */ + etag?: string; + /** + * The people in this page of results. Each item includes the id, displayName, image, and url for the person. To retrieve additional profile data, see the + * people.get method. + */ + items?: Person[]; + /** Identifies this resource as a collection of people. Value: "plus#peopleFeed". */ + kind?: string; + /** The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */ + nextPageToken?: string; + /** Link to this resource. */ + selfLink?: string; + /** The title of this collection of people. */ + title?: string; + /** + * The total number of people available in this list. The number of people in a response might be smaller due to paging. This might not be set for all + * collections. + */ + totalItems?: number; + } + interface Person { + /** A short biography for this person. */ + aboutMe?: string; + /** The person's date of birth, represented as YYYY-MM-DD. */ + birthday?: string; + /** The "bragging rights" line of this person. */ + braggingRights?: string; + /** For followers who are visible, the number of people who have added this person or page to a circle. */ + circledByCount?: number; + /** The cover photo content. */ + cover?: { + /** Extra information about the cover photo. */ + coverInfo?: { + /** The difference between the left position of the cover image and the actual displayed cover image. Only valid for banner layout. */ + leftImageOffset?: number; + /** The difference between the top position of the cover image and the actual displayed cover image. Only valid for banner layout. */ + topImageOffset?: number; + }; + /** The person's primary cover image. */ + coverPhoto?: { + /** The height of the image. */ + height?: number; + /** The URL of the image. */ + url?: string; + /** The width of the image. */ + width?: number; + }; + /** + * The layout of the cover art. Possible values include, but are not limited to, the following values: + * - "banner" - One large image banner. + */ + layout?: string; + }; + /** (this field is not currently used) */ + currentLocation?: string; + /** The name of this person, which is suitable for display. */ + displayName?: string; + /** + * The hosted domain name for the user's Google Apps account. For instance, example.com. The plus.profile.emails.read or email scope is needed to get this + * domain name. + */ + domain?: string; + /** + * A list of email addresses that this person has, including their Google account email address, and the public verified email addresses on their Google+ + * profile. The plus.profile.emails.read scope is needed to retrieve these email addresses, or the email scope can be used to retrieve just the Google + * account email address. + */ + emails?: Array<{ + /** + * The type of address. Possible values include, but are not limited to, the following values: + * - "account" - Google account email address. + * - "home" - Home email address. + * - "work" - Work email address. + * - "other" - Other. + */ + type?: string; + /** The email address. */ + value?: string; + }>; + /** ETag of this response for caching purposes. */ + etag?: string; + /** + * The person's gender. Possible values include, but are not limited to, the following values: + * - "male" - Male gender. + * - "female" - Female gender. + * - "other" - Other. + */ + gender?: string; + /** The ID of this person. */ + id?: string; + /** The representation of the person's profile photo. */ + image?: { + /** Whether the person's profile photo is the default one */ + isDefault?: boolean; + /** + * The URL of the person's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels + * of each side. + */ + url?: string; + }; + /** Whether this user has signed up for Google+. */ + isPlusUser?: boolean; + /** Identifies this resource as a person. Value: "plus#person". */ + kind?: string; + /** An object representation of the individual components of a person's name. */ + name?: { + /** The family name (last name) of this person. */ + familyName?: string; + /** The full name of this person, including middle names, suffixes, etc. */ + formatted?: string; + /** The given name (first name) of this person. */ + givenName?: string; + /** The honorific prefixes (such as "Dr." or "Mrs.") for this person. */ + honorificPrefix?: string; + /** The honorific suffixes (such as "Jr.") for this person. */ + honorificSuffix?: string; + /** The middle name of this person. */ + middleName?: string; + }; + /** The nickname of this person. */ + nickname?: string; + /** + * Type of person within Google+. Possible values include, but are not limited to, the following values: + * - "person" - represents an actual person. + * - "page" - represents a page. + */ + objectType?: string; + /** The occupation of this person. */ + occupation?: string; + /** A list of current or past organizations with which this person is associated. */ + organizations?: Array<{ + /** The department within the organization. Deprecated. */ + department?: string; + /** A short description of the person's role in this organization. Deprecated. */ + description?: string; + /** The date that the person left this organization. */ + endDate?: string; + /** The location of this organization. Deprecated. */ + location?: string; + /** The name of the organization. */ + name?: string; + /** If "true", indicates this organization is the person's primary one, which is typically interpreted as the current one. */ + primary?: boolean; + /** The date that the person joined this organization. */ + startDate?: string; + /** The person's job title or role within the organization. */ + title?: string; + /** + * The type of organization. Possible values include, but are not limited to, the following values: + * - "work" - Work. + * - "school" - School. + */ + type?: string; + }>; + /** A list of places where this person has lived. */ + placesLived?: Array<{ + /** If "true", this place of residence is this person's primary residence. */ + primary?: boolean; + /** A place where this person has lived. For example: "Seattle, WA", "Near Toronto". */ + value?: string; + }>; + /** If a Google+ Page, the number of people who have +1'd this page. */ + plusOneCount?: number; + /** + * The person's relationship status. Possible values include, but are not limited to, the following values: + * - "single" - Person is single. + * - "in_a_relationship" - Person is in a relationship. + * - "engaged" - Person is engaged. + * - "married" - Person is married. + * - "its_complicated" - The relationship is complicated. + * - "open_relationship" - Person is in an open relationship. + * - "widowed" - Person is widowed. + * - "in_domestic_partnership" - Person is in a domestic partnership. + * - "in_civil_union" - Person is in a civil union. + */ + relationshipStatus?: string; + /** The person's skills. */ + skills?: string; + /** The brief description (tagline) of this person. */ + tagline?: string; + /** The URL of this person's profile. */ + url?: string; + /** A list of URLs for this person. */ + urls?: Array<{ + /** The label of the URL. */ + label?: string; + /** + * The type of URL. Possible values include, but are not limited to, the following values: + * - "otherProfile" - URL for another profile. + * - "contributor" - URL to a site for which this person is a contributor. + * - "website" - URL for this Google+ Page's primary website. + * - "other" - Other URL. + */ + type?: string; + /** The URL value. */ + value?: string; + }>; + /** Whether the person or Google+ Page has been verified. */ + verified?: boolean; + } + interface Place { + /** The physical address of the place. */ + address?: { + /** The formatted address for display. */ + formatted?: string; + }; + /** The display name of the place. */ + displayName?: string; + /** The id of the place. */ + id?: string; + /** Identifies this resource as a place. Value: "plus#place". */ + kind?: string; + /** The position of the place. */ + position?: { + /** The latitude of this position. */ + latitude?: number; + /** The longitude of this position. */ + longitude?: number; + }; + } + interface PlusDomainsAclentryResource { + /** A descriptive name for this entry. Suitable for display. */ + displayName?: string; + /** The ID of the entry. For entries of type "person" or "circle", this is the ID of the resource. For other types, this property is not set. */ + id?: string; + /** + * The type of entry describing to whom access is granted. Possible values are: + * - "person" - Access to an individual. + * - "circle" - Access to members of a circle. + * - "myCircles" - Access to members of all the person's circles. + * - "extendedCircles" - Access to members of all the person's circles, plus all of the people in their circles. + * - "domain" - Access to members of the person's Google Apps domain. + * - "public" - Access to anyone on the web. + */ + type?: string; + } + interface Videostream { + /** The height, in pixels, of the video resource. */ + height?: number; + /** MIME type of the video stream. */ + type?: string; + /** URL of the video stream. */ + url?: string; + /** The width, in pixels, of the video resource. */ + width?: number; + } + interface ActivitiesResource { + /** Get an activity. */ + get(request: { + /** The ID of the activity to get. */ + activityId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Activity>; + /** Create a new activity for the authenticated user. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * If "true", extract the potential media attachments for a URL. The response will include all possible attachments for a URL, including video, photos, + * and articles based on the content of the page. + */ + preview?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user to create the activity on behalf of. Its value should be "me", to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Activity>; + /** List all of the activities in the specified collection for a particular user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The collection of activities to list. */ + collection: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of activities to include in the response, which is used for paging. For any response, the actual number returned might be less than + * the specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of + * "nextPageToken" from the previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user to get activities for. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ActivityFeed>; + } + interface AudiencesResource { + /** List all of the audiences to which a user can share. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of circles to include in the response, which is used for paging. For any response, the actual number returned might be less than the + * specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of + * "nextPageToken" from the previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user to get audiences for. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<AudiencesFeed>; + } + interface CirclesResource { + /** Add a person to a circle. Google+ limits certain circle operations, including the number of circle adds. Learn More. */ + addPeople(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the circle to add the person to. */ + circleId: string; + /** Email of the people to add to the circle. Optional, can be repeated. */ + email?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IDs of the people to add to the circle. Optional, can be repeated. */ + userId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Circle>; + /** Get a circle. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the circle to get. */ + circleId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Circle>; + /** Create a new circle for the authenticated user. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user to create the circle on behalf of. The value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Circle>; + /** List all of the circles for a user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of circles to include in the response, which is used for paging. For any response, the actual number returned might be less than the + * specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of + * "nextPageToken" from the previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user to get circles for. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CircleFeed>; + /** Update a circle's description. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the circle to update. */ + circleId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Circle>; + /** Delete a circle. */ + remove(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the circle to delete. */ + circleId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Remove a person from a circle. */ + removePeople(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the circle to remove the person from. */ + circleId: string; + /** Email of the people to add to the circle. Optional, can be repeated. */ + email?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IDs of the people to remove from the circle. Optional, can be repeated. */ + userId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Update a circle's description. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the circle to update. */ + circleId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Circle>; + } + interface CommentsResource { + /** Get a comment. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the comment to get. */ + commentId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Comment>; + /** Create a new comment in reply to an activity. */ + insert(request: { + /** The ID of the activity to reply to. */ + activityId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Comment>; + /** List all of the comments for an activity. */ + list(request: { + /** The ID of the activity to get comments for. */ + activityId: string; + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of comments to include in the response, which is used for paging. For any response, the actual number returned might be less than + * the specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of + * "nextPageToken" from the previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The order in which to sort the list of comments. */ + sortOrder?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CommentFeed>; + } + interface MediaResource { + /** + * Add a new media item to an album. The current upload size limitations are 36MB for a photo and 1GB for a video. Uploads do not count against quota if + * photos are less than 2048 pixels on their longest side or videos are less than 15 minutes in length. + */ + insert(request: { + /** Data format for the response. */ + alt?: string; + collection: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the user to create the activity on behalf of. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Media>; + } + interface PeopleResource { + /** Get a person's profile. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The ID of the person to get the profile for. The special value "me" can be used to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Person>; + /** List all of the people in the specified collection. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The collection of people to list. */ + collection: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of people to include in the response, which is used for paging. For any response, the actual number returned might be less than the + * specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The order to return people in. */ + orderBy?: string; + /** + * The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of + * "nextPageToken" from the previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Get the collection of people for the person identified. Use "me" to indicate the authenticated user. */ + userId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PeopleFeed>; + /** List all of the people in the specified collection for a particular activity. */ + listByActivity(request: { + /** The ID of the activity to get the list of people for. */ + activityId: string; + /** Data format for the response. */ + alt?: string; + /** The collection of people to list. */ + collection: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of people to include in the response, which is used for paging. For any response, the actual number returned might be less than the + * specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of + * "nextPageToken" from the previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PeopleFeed>; + /** List all of the people who are members of a circle. */ + listByCircle(request: { + /** Data format for the response. */ + alt?: string; + /** The ID of the circle to get the members of. */ + circleId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of people to include in the response, which is used for paging. For any response, the actual number returned might be less than the + * specified maxResults. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of + * "nextPageToken" from the previous response. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PeopleFeed>; + } + } +} diff --git a/types/gapi.client.plusdomains/readme.md b/types/gapi.client.plusdomains/readme.md new file mode 100644 index 0000000000..ae90d68b38 --- /dev/null +++ b/types/gapi.client.plusdomains/readme.md @@ -0,0 +1,181 @@ +# TypeScript typings for Google+ Domains API v1 +Builds on top of the Google+ platform for Google Apps Domains. +For detailed description please check [documentation](https://developers.google.com/+/domains/). + +## Installing + +Install typings for Google+ Domains API: +``` +npm install @types/gapi.client.plusdomains@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('plusdomains', 'v1', () => { + // now we can use gapi.client.plusdomains + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View your circles and the people and pages in them + 'https://www.googleapis.com/auth/plus.circles.read', + + // Manage your circles and add people and pages. People and pages you add to your circles will be notified. Others may see this information publicly. People you add to circles can use Hangouts with you. + 'https://www.googleapis.com/auth/plus.circles.write', + + // Know the list of people in your circles, your age range, and language + 'https://www.googleapis.com/auth/plus.login', + + // Know who you are on Google + 'https://www.googleapis.com/auth/plus.me', + + // Send your photos and videos to Google+ + 'https://www.googleapis.com/auth/plus.media.upload', + + // View your own Google+ profile and profiles visible to you + 'https://www.googleapis.com/auth/plus.profiles.read', + + // View your Google+ posts, comments, and stream + 'https://www.googleapis.com/auth/plus.stream.read', + + // Manage your Google+ posts, comments, and stream + 'https://www.googleapis.com/auth/plus.stream.write', + + // View your email address + 'https://www.googleapis.com/auth/userinfo.email', + + // View your basic profile info + 'https://www.googleapis.com/auth/userinfo.profile', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google+ Domains API resources: + +```typescript + +/* +Get an activity. +*/ +await gapi.client.activities.get({ activityId: "activityId", }); + +/* +Create a new activity for the authenticated user. +*/ +await gapi.client.activities.insert({ userId: "userId", }); + +/* +List all of the activities in the specified collection for a particular user. +*/ +await gapi.client.activities.list({ collection: "collection", userId: "userId", }); + +/* +List all of the audiences to which a user can share. +*/ +await gapi.client.audiences.list({ userId: "userId", }); + +/* +Add a person to a circle. Google+ limits certain circle operations, including the number of circle adds. Learn More. +*/ +await gapi.client.circles.addPeople({ circleId: "circleId", }); + +/* +Get a circle. +*/ +await gapi.client.circles.get({ circleId: "circleId", }); + +/* +Create a new circle for the authenticated user. +*/ +await gapi.client.circles.insert({ userId: "userId", }); + +/* +List all of the circles for a user. +*/ +await gapi.client.circles.list({ userId: "userId", }); + +/* +Update a circle's description. This method supports patch semantics. +*/ +await gapi.client.circles.patch({ circleId: "circleId", }); + +/* +Delete a circle. +*/ +await gapi.client.circles.remove({ circleId: "circleId", }); + +/* +Remove a person from a circle. +*/ +await gapi.client.circles.removePeople({ circleId: "circleId", }); + +/* +Update a circle's description. +*/ +await gapi.client.circles.update({ circleId: "circleId", }); + +/* +Get a comment. +*/ +await gapi.client.comments.get({ commentId: "commentId", }); + +/* +Create a new comment in reply to an activity. +*/ +await gapi.client.comments.insert({ activityId: "activityId", }); + +/* +List all of the comments for an activity. +*/ +await gapi.client.comments.list({ activityId: "activityId", }); + +/* +Add a new media item to an album. The current upload size limitations are 36MB for a photo and 1GB for a video. Uploads do not count against quota if photos are less than 2048 pixels on their longest side or videos are less than 15 minutes in length. +*/ +await gapi.client.media.insert({ collection: "collection", userId: "userId", }); + +/* +Get a person's profile. +*/ +await gapi.client.people.get({ userId: "userId", }); + +/* +List all of the people in the specified collection. +*/ +await gapi.client.people.list({ collection: "collection", userId: "userId", }); + +/* +List all of the people in the specified collection for a particular activity. +*/ +await gapi.client.people.listByActivity({ activityId: "activityId", collection: "collection", }); + +/* +List all of the people who are members of a circle. +*/ +await gapi.client.people.listByCircle({ circleId: "circleId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.plusdomains/tsconfig.json b/types/gapi.client.plusdomains/tsconfig.json new file mode 100644 index 0000000000..aad16ba9c1 --- /dev/null +++ b/types/gapi.client.plusdomains/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.plusdomains-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.plusdomains/tslint.json b/types/gapi.client.plusdomains/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.plusdomains/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.prediction/gapi.client.prediction-tests.ts b/types/gapi.client.prediction/gapi.client.prediction-tests.ts new file mode 100644 index 0000000000..fdbf2fff63 --- /dev/null +++ b/types/gapi.client.prediction/gapi.client.prediction-tests.ts @@ -0,0 +1,80 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('prediction', 'v1.6', () => { + /** now we can use gapi.client.prediction */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** Manage your data and permissions in Google Cloud Storage */ + 'https://www.googleapis.com/auth/devstorage.full_control', + /** View your data in Google Cloud Storage */ + 'https://www.googleapis.com/auth/devstorage.read_only', + /** Manage your data in Google Cloud Storage */ + 'https://www.googleapis.com/auth/devstorage.read_write', + /** Manage your data in the Google Prediction API */ + 'https://www.googleapis.com/auth/prediction', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Submit input and request an output against a hosted model. */ + await gapi.client.hostedmodels.predict({ + hostedModelName: "hostedModelName", + project: "project", + }); + /** Get analysis of the model and the data the model was trained on. */ + await gapi.client.trainedmodels.analyze({ + id: "id", + project: "project", + }); + /** Delete a trained model. */ + await gapi.client.trainedmodels.delete({ + id: "id", + project: "project", + }); + /** Check training status of your model. */ + await gapi.client.trainedmodels.get({ + id: "id", + project: "project", + }); + /** Train a Prediction API model. */ + await gapi.client.trainedmodels.insert({ + project: "project", + }); + /** List available models. */ + await gapi.client.trainedmodels.list({ + maxResults: 1, + pageToken: "pageToken", + project: "project", + }); + /** Submit model id and request a prediction. */ + await gapi.client.trainedmodels.predict({ + id: "id", + project: "project", + }); + /** Add new data to a trained model. */ + await gapi.client.trainedmodels.update({ + id: "id", + project: "project", + }); + } +}); diff --git a/types/gapi.client.prediction/index.d.ts b/types/gapi.client.prediction/index.d.ts new file mode 100644 index 0000000000..0c0a8af350 --- /dev/null +++ b/types/gapi.client.prediction/index.d.ts @@ -0,0 +1,403 @@ +// Type definitions for Google Prediction API v1.6 1.6 +// Project: https://developers.google.com/prediction/docs/developer-guide +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/prediction/v1.6/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Prediction API v1.6 */ + function load(name: "prediction", version: "v1.6"): PromiseLike<void>; + function load(name: "prediction", version: "v1.6", callback: () => any): void; + + const hostedmodels: prediction.HostedmodelsResource; + + const trainedmodels: prediction.TrainedmodelsResource; + + namespace prediction { + interface Analyze { + /** Description of the data the model was trained on. */ + dataDescription?: { + /** Description of the input features in the data set. */ + features?: Array<{ + /** Description of the categorical values of this feature. */ + categorical?: { + /** Number of categorical values for this feature in the data. */ + count?: string; + /** List of all the categories for this feature in the data set. */ + values?: Array<{ + /** Number of times this feature had this value. */ + count?: string; + /** The category name. */ + value?: string; + }>; + }; + /** The feature index. */ + index?: string; + /** Description of the numeric values of this feature. */ + numeric?: { + /** Number of numeric values for this feature in the data set. */ + count?: string; + /** Mean of the numeric values of this feature in the data set. */ + mean?: string; + /** Variance of the numeric values of this feature in the data set. */ + variance?: string; + }; + /** Description of multiple-word text values of this feature. */ + text?: { + /** Number of multiple-word text values for this feature. */ + count?: string; + }; + }>; + /** Description of the output value or label. */ + outputFeature?: { + /** Description of the output values in the data set. */ + numeric?: { + /** Number of numeric output values in the data set. */ + count?: string; + /** Mean of the output values in the data set. */ + mean?: string; + /** Variance of the output values in the data set. */ + variance?: string; + }; + /** Description of the output labels in the data set. */ + text?: Array<{ + /** Number of times the output label occurred in the data set. */ + count?: string; + /** The output label. */ + value?: string; + }>; + }; + }; + /** List of errors with the data. */ + errors?: Array<Record<string, string>>; + /** The unique name for the predictive model. */ + id?: string; + /** What kind of resource this is. */ + kind?: string; + /** Description of the model. */ + modelDescription?: { + /** + * An output confusion matrix. This shows an estimate for how this model will do in predictions. This is first indexed by the true class label. For each + * true class label, this provides a pair {predicted_label, count}, where count is the estimated number of times the model will predict the predicted + * label given the true label. Will not output if more then 100 classes (Categorical models only). + */ + confusionMatrix?: Record<string, Record<string, string>>; + /** A list of the confusion matrix row totals. */ + confusionMatrixRowTotals?: Record<string, string>; + /** Basic information about the model. */ + modelinfo?: Insert2; + }; + /** A URL to re-request this resource. */ + selfLink?: string; + } + interface Input { + /** Input to the model for a prediction. */ + input?: { + /** A list of input features, these can be strings or doubles. */ + csvInstance?: any[]; + }; + } + interface Insert { + /** The unique name for the predictive model. */ + id?: string; + /** Type of predictive model (classification or regression). */ + modelType?: string; + /** The Id of the model to be copied over. */ + sourceModel?: string; + /** Google storage location of the training data file. */ + storageDataLocation?: string; + /** Google storage location of the preprocessing pmml file. */ + storagePMMLLocation?: string; + /** Google storage location of the pmml model file. */ + storagePMMLModelLocation?: string; + /** Instances to train model on. */ + trainingInstances?: Array<{ + /** The input features for this instance. */ + csvInstance?: any[]; + /** The generic output value - could be regression or class label. */ + output?: string; + }>; + /** A class weighting function, which allows the importance weights for class labels to be specified (Categorical models only). */ + utility?: Array<Record<string, number>>; + } + interface Insert2 { + /** Insert time of the model (as a RFC 3339 timestamp). */ + created?: string; + /** The unique name for the predictive model. */ + id?: string; + /** What kind of resource this is. */ + kind?: string; + /** Model metadata. */ + modelInfo?: { + /** Estimated accuracy of model taking utility weights into account (Categorical models only). */ + classWeightedAccuracy?: string; + /** + * A number between 0.0 and 1.0, where 1.0 is 100% accurate. This is an estimate, based on the amount and quality of the training data, of the estimated + * prediction accuracy. You can use this is a guide to decide whether the results are accurate enough for your needs. This estimate will be more reliable + * if your real input data is similar to your training data (Categorical models only). + */ + classificationAccuracy?: string; + /** An estimated mean squared error. The can be used to measure the quality of the predicted model (Regression models only). */ + meanSquaredError?: string; + /** Type of predictive model (CLASSIFICATION or REGRESSION). */ + modelType?: string; + /** Number of valid data instances used in the trained model. */ + numberInstances?: string; + /** Number of class labels in the trained model (Categorical models only). */ + numberLabels?: string; + }; + /** Type of predictive model (CLASSIFICATION or REGRESSION). */ + modelType?: string; + /** A URL to re-request this resource. */ + selfLink?: string; + /** Google storage location of the training data file. */ + storageDataLocation?: string; + /** Google storage location of the preprocessing pmml file. */ + storagePMMLLocation?: string; + /** Google storage location of the pmml model file. */ + storagePMMLModelLocation?: string; + /** Training completion time (as a RFC 3339 timestamp). */ + trainingComplete?: string; + /** The current status of the training job. This can be one of following: RUNNING; DONE; ERROR; ERROR: TRAINING JOB NOT FOUND */ + trainingStatus?: string; + } + interface List { + /** List of models. */ + items?: Insert2[]; + /** What kind of resource this is. */ + kind?: string; + /** Pagination token to fetch the next page, if one exists. */ + nextPageToken?: string; + /** A URL to re-request this resource. */ + selfLink?: string; + } + interface Output { + /** The unique name for the predictive model. */ + id?: string; + /** What kind of resource this is. */ + kind?: string; + /** The most likely class label (Categorical models only). */ + outputLabel?: string; + /** A list of class labels with their estimated probabilities (Categorical models only). */ + outputMulti?: Array<{ + /** The class label. */ + label?: string; + /** The probability of the class label. */ + score?: string; + }>; + /** The estimated regression value (Regression models only). */ + outputValue?: string; + /** A URL to re-request this resource. */ + selfLink?: string; + } + interface Update { + /** The input features for this instance. */ + csvInstance?: any[]; + /** The generic output value - could be regression or class label. */ + output?: string; + } + interface HostedmodelsResource { + /** Submit input and request an output against a hosted model. */ + predict(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The name of a hosted model. */ + hostedModelName: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project associated with the model. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Output>; + } + interface TrainedmodelsResource { + /** Get analysis of the model and the data the model was trained on. */ + analyze(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The unique name for the predictive model. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project associated with the model. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Analyze>; + /** Delete a trained model. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The unique name for the predictive model. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project associated with the model. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Check training status of your model. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The unique name for the predictive model. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project associated with the model. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Insert2>; + /** Train a Prediction API model. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project associated with the model. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Insert2>; + /** List available models. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of results to return. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pagination token. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project associated with the model. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<List>; + /** Submit model id and request a prediction. */ + predict(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The unique name for the predictive model. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project associated with the model. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Output>; + /** Add new data to a trained model. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The unique name for the predictive model. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project associated with the model. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Insert2>; + } + } +} diff --git a/types/gapi.client.prediction/readme.md b/types/gapi.client.prediction/readme.md new file mode 100644 index 0000000000..21d8aebaff --- /dev/null +++ b/types/gapi.client.prediction/readme.md @@ -0,0 +1,106 @@ +# TypeScript typings for Prediction API v1.6 +Lets you access a cloud hosted machine learning service that makes it easy to build smart apps +For detailed description please check [documentation](https://developers.google.com/prediction/docs/developer-guide). + +## Installing + +Install typings for Prediction API: +``` +npm install @types/gapi.client.prediction@v1.6 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('prediction', 'v1.6', () => { + // now we can use gapi.client.prediction + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // Manage your data and permissions in Google Cloud Storage + 'https://www.googleapis.com/auth/devstorage.full_control', + + // View your data in Google Cloud Storage + 'https://www.googleapis.com/auth/devstorage.read_only', + + // Manage your data in Google Cloud Storage + 'https://www.googleapis.com/auth/devstorage.read_write', + + // Manage your data in the Google Prediction API + 'https://www.googleapis.com/auth/prediction', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Prediction API resources: + +```typescript + +/* +Submit input and request an output against a hosted model. +*/ +await gapi.client.hostedmodels.predict({ hostedModelName: "hostedModelName", project: "project", }); + +/* +Get analysis of the model and the data the model was trained on. +*/ +await gapi.client.trainedmodels.analyze({ id: "id", project: "project", }); + +/* +Delete a trained model. +*/ +await gapi.client.trainedmodels.delete({ id: "id", project: "project", }); + +/* +Check training status of your model. +*/ +await gapi.client.trainedmodels.get({ id: "id", project: "project", }); + +/* +Train a Prediction API model. +*/ +await gapi.client.trainedmodels.insert({ project: "project", }); + +/* +List available models. +*/ +await gapi.client.trainedmodels.list({ project: "project", }); + +/* +Submit model id and request a prediction. +*/ +await gapi.client.trainedmodels.predict({ id: "id", project: "project", }); + +/* +Add new data to a trained model. +*/ +await gapi.client.trainedmodels.update({ id: "id", project: "project", }); +``` \ No newline at end of file diff --git a/types/gapi.client.prediction/tsconfig.json b/types/gapi.client.prediction/tsconfig.json new file mode 100644 index 0000000000..15c0255ef0 --- /dev/null +++ b/types/gapi.client.prediction/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.prediction-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.prediction/tslint.json b/types/gapi.client.prediction/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.prediction/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.proximitybeacon/gapi.client.proximitybeacon-tests.ts b/types/gapi.client.proximitybeacon/gapi.client.proximitybeacon-tests.ts new file mode 100644 index 0000000000..4d383e4015 --- /dev/null +++ b/types/gapi.client.proximitybeacon/gapi.client.proximitybeacon-tests.ts @@ -0,0 +1,186 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('proximitybeacon', 'v1beta1', () => { + /** now we can use gapi.client.proximitybeacon */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and modify your beacons */ + 'https://www.googleapis.com/auth/userlocation.beacon.registry', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Given one or more beacon observations, returns any beacon information + * and attachments accessible to your application. Authorize by using the + * [API key](https://developers.google.com/beacons/proximity/get-started#request_a_browser_api_key) + * for the application. + */ + await gapi.client.beaconinfo.getforobserved({ + }); + /** + * Activates a beacon. A beacon that is active will return information + * and attachment data when queried via `beaconinfo.getforobserved`. + * Calling this method on an already active beacon will do nothing (but + * will return a successful response code). + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **Is owner** or **Can edit** permissions in the + * Google Developers Console project. + */ + await gapi.client.beacons.activate({ + beaconName: "beaconName", + projectId: "projectId", + }); + /** + * Deactivates a beacon. Once deactivated, the API will not return + * information nor attachment data for the beacon when queried via + * `beaconinfo.getforobserved`. Calling this method on an already inactive + * beacon will do nothing (but will return a successful response code). + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **Is owner** or **Can edit** permissions in the + * Google Developers Console project. + */ + await gapi.client.beacons.deactivate({ + beaconName: "beaconName", + projectId: "projectId", + }); + /** + * Decommissions the specified beacon in the service. This beacon will no + * longer be returned from `beaconinfo.getforobserved`. This operation is + * permanent -- you will not be able to re-register a beacon with this ID + * again. + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **Is owner** or **Can edit** permissions in the + * Google Developers Console project. + */ + await gapi.client.beacons.decommission({ + beaconName: "beaconName", + projectId: "projectId", + }); + /** + * Deletes the specified beacon including all diagnostics data for the beacon + * as well as any attachments on the beacon (including those belonging to + * other projects). This operation cannot be undone. + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **Is owner** or **Can edit** permissions in the + * Google Developers Console project. + */ + await gapi.client.beacons.delete({ + beaconName: "beaconName", + projectId: "projectId", + }); + /** + * Returns detailed information about the specified beacon. + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **viewer**, **Is owner** or **Can edit** + * permissions in the Google Developers Console project. + * + * Requests may supply an Eddystone-EID beacon name in the form: + * `beacons/4!beaconId` where the `beaconId` is the base16 ephemeral ID + * broadcast by the beacon. The returned `Beacon` object will contain the + * beacon's stable Eddystone-UID. Clients not authorized to resolve the + * beacon's ephemeral Eddystone-EID broadcast will receive an error. + */ + await gapi.client.beacons.get({ + beaconName: "beaconName", + projectId: "projectId", + }); + /** + * Searches the beacon registry for beacons that match the given search + * criteria. Only those beacons that the client has permission to list + * will be returned. + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **viewer**, **Is owner** or **Can edit** + * permissions in the Google Developers Console project. + */ + await gapi.client.beacons.list({ + pageSize: 1, + pageToken: "pageToken", + projectId: "projectId", + q: "q", + }); + /** + * Registers a previously unregistered beacon given its `advertisedId`. + * These IDs are unique within the system. An ID can be registered only once. + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **Is owner** or **Can edit** permissions in the + * Google Developers Console project. + */ + await gapi.client.beacons.register({ + projectId: "projectId", + }); + /** + * Updates the information about the specified beacon. **Any field that you do + * not populate in the submitted beacon will be permanently erased**, so you + * should follow the "read, modify, write" pattern to avoid inadvertently + * destroying data. + * + * Changes to the beacon status via this method will be silently ignored. + * To update beacon status, use the separate methods on this API for + * activation, deactivation, and decommissioning. + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **Is owner** or **Can edit** permissions in the + * Google Developers Console project. + */ + await gapi.client.beacons.update({ + beaconName: "beaconName", + projectId: "projectId", + }); + /** + * Lists all attachment namespaces owned by your Google Developers Console + * project. Attachment data associated with a beacon must include a + * namespaced type, and the namespace must be owned by your project. + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **viewer**, **Is owner** or **Can edit** + * permissions in the Google Developers Console project. + */ + await gapi.client.namespaces.list({ + projectId: "projectId", + }); + /** + * Updates the information about the specified namespace. Only the namespace + * visibility can be updated. + */ + await gapi.client.namespaces.update({ + namespaceName: "namespaceName", + projectId: "projectId", + }); + /** + * Gets the Proximity Beacon API's current public key and associated + * parameters used to initiate the Diffie-Hellman key exchange required to + * register a beacon that broadcasts the Eddystone-EID format. This key + * changes periodically; clients may cache it and re-use the same public key + * to provision and register multiple beacons. However, clients should be + * prepared to refresh this key when they encounter an error registering an + * Eddystone-EID beacon. + */ + await gapi.client.v1beta1.getEidparams({ + }); + } +}); diff --git a/types/gapi.client.proximitybeacon/index.d.ts b/types/gapi.client.proximitybeacon/index.d.ts new file mode 100644 index 0000000000..af2db3bc79 --- /dev/null +++ b/types/gapi.client.proximitybeacon/index.d.ts @@ -0,0 +1,1367 @@ +// Type definitions for Google Google Proximity Beacon API v1beta1 1.0 +// Project: https://developers.google.com/beacons/proximity/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://proximitybeacon.googleapis.com/$discovery/rest?version=v1beta1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Proximity Beacon API v1beta1 */ + function load(name: "proximitybeacon", version: "v1beta1"): PromiseLike<void>; + function load(name: "proximitybeacon", version: "v1beta1", callback: () => any): void; + + const beaconinfo: proximitybeacon.BeaconinfoResource; + + const beacons: proximitybeacon.BeaconsResource; + + const namespaces: proximitybeacon.NamespacesResource; + + const v1beta1: proximitybeacon.V1beta1Resource; + + namespace proximitybeacon { + interface AdvertisedId { + /** + * The actual beacon identifier, as broadcast by the beacon hardware. Must be + * [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP + * requests, and will be so encoded (with padding) in responses. The base64 + * encoding should be of the binary byte-stream and not any textual (such as + * hex) representation thereof. + * Required. + */ + id?: string; + /** + * Specifies the identifier type. + * Required. + */ + type?: string; + } + interface AttachmentInfo { + /** An opaque data container for client-provided data. */ + data?: string; + /** + * Specifies what kind of attachment this is. Tells a client how to + * interpret the `data` field. Format is <var>namespace/type</var>, for + * example <code>scrupulous-wombat-12345/welcome-message</code> + */ + namespacedType?: string; + } + interface Beacon { + /** + * The identifier of a beacon as advertised by it. This field must be + * populated when registering. It may be empty when updating a beacon + * record because it is ignored in updates. + * + * When registering a beacon that broadcasts Eddystone-EID, this field + * should contain a "stable" Eddystone-UID that identifies the beacon and + * links it to its attachments. The stable Eddystone-UID is only used for + * administering the beacon. + */ + advertisedId?: AdvertisedId; + /** + * Resource name of this beacon. A beacon name has the format + * "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by + * the beacon and N is a code for the beacon's type. Possible values are + * `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon. + * + * This field must be left empty when registering. After reading a beacon, + * clients can use the name for future operations. + */ + beaconName?: string; + /** + * Free text used to identify and describe the beacon. Maximum length 140 + * characters. + * Optional. + */ + description?: string; + /** + * Write-only registration parameters for beacons using Eddystone-EID + * (remotely resolved ephemeral ID) format. This information will not be + * populated in API responses. When submitting this data, the `advertised_id` + * field must contain an ID of type Eddystone-UID. Any other ID type will + * result in an error. + */ + ephemeralIdRegistration?: EphemeralIdRegistration; + /** + * Expected location stability. This is set when the beacon is registered or + * updated, not automatically detected in any way. + * Optional. + */ + expectedStability?: string; + /** + * The indoor level information for this beacon, if known. As returned by the + * Google Maps API. + * Optional. + */ + indoorLevel?: IndoorLevel; + /** + * The location of the beacon, expressed as a latitude and longitude pair. + * This location is given when the beacon is registered or updated. It does + * not necessarily indicate the actual current location of the beacon. + * Optional. + */ + latLng?: LatLng; + /** + * The [Google Places API](/places/place-id) Place ID of the place where + * the beacon is deployed. This is given when the beacon is registered or + * updated, not automatically detected in any way. + * Optional. + */ + placeId?: string; + /** + * Properties of the beacon device, for example battery type or firmware + * version. + * Optional. + */ + properties?: Record<string, string>; + /** + * Some beacons may require a user to provide an authorization key before + * changing any of its configuration (e.g. broadcast frames, transmit power). + * This field provides a place to store and control access to that key. + * This field is populated in responses to `GET /v1beta1/beacons/3!beaconId` + * from users with write access to the given beacon. That is to say: If the + * user is authorized to write the beacon's confidential data in the service, + * the service considers them authorized to configure the beacon. Note + * that this key grants nothing on the service, only on the beacon itself. + */ + provisioningKey?: string; + /** + * Current status of the beacon. + * Required. + */ + status?: string; + } + interface BeaconAttachment { + /** + * Resource name of this attachment. Attachment names have the format: + * <code>beacons/<var>beacon_id</var>/attachments/<var>attachment_id</var></code>. + * Leave this empty on creation. + */ + attachmentName?: string; + /** + * The UTC time when this attachment was created, in milliseconds since the + * UNIX epoch. + */ + creationTimeMs?: string; + /** + * An opaque data container for client-provided data. Must be + * [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP + * requests, and will be so encoded (with padding) in responses. + * Required. + */ + data?: string; + /** + * The distance away from the beacon at which this attachment should be + * delivered to a mobile app. + * + * Setting this to a value greater than zero indicates that the app should + * behave as if the beacon is "seen" when the mobile device is less than this + * distance away from the beacon. + * + * Different attachments on the same beacon can have different max distances. + * + * Note that even though this value is expressed with fractional meter + * precision, real-world behavior is likley to be much less precise than one + * meter, due to the nature of current Bluetooth radio technology. + * + * Optional. When not set or zero, the attachment should be delivered at the + * beacon's outer limit of detection. + * + * Negative values are invalid and return an error. + */ + maxDistanceMeters?: number; + /** + * Specifies what kind of attachment this is. Tells a client how to + * interpret the `data` field. Format is <var>namespace/type</var>. Namespace + * provides type separation between clients. Type describes the type of + * `data`, for use by the client when parsing the `data` field. + * Required. + */ + namespacedType?: string; + } + interface BeaconInfo { + /** The ID advertised by the beacon. */ + advertisedId?: AdvertisedId; + /** + * Attachments matching the type(s) requested. + * May be empty if no attachment types were requested. + */ + attachments?: AttachmentInfo[]; + /** The name under which the beacon is registered. */ + beaconName?: string; + } + interface Date { + /** + * Day of month. Must be from 1 to 31 and valid for the year and month, or 0 + * if specifying a year/month where the day is not significant. + */ + day?: number; + /** Month of year. Must be from 1 to 12. */ + month?: number; + /** + * Year of date. Must be from 1 to 9999, or 0 if specifying a date without + * a year. + */ + year?: number; + } + interface DeleteAttachmentsResponse { + /** The number of attachments that were deleted. */ + numDeleted?: number; + } + interface Diagnostics { + /** An unordered list of Alerts that the beacon has. */ + alerts?: string[]; + /** + * Resource name of the beacon. For Eddystone-EID beacons, this may + * be the beacon's current EID, or the beacon's "stable" Eddystone-UID. + */ + beaconName?: string; + /** + * The date when the battery is expected to be low. If the value is missing + * then there is no estimate for when the battery will be low. + * This value is only an estimate, not an exact date. + */ + estimatedLowBatteryDate?: Date; + } + interface EphemeralIdRegistration { + /** + * The beacon's public key used for the Elliptic curve Diffie-Hellman + * key exchange. When this field is populated, `service_ecdh_public_key` + * must also be populated, and `beacon_identity_key` must not be. + */ + beaconEcdhPublicKey?: string; + /** + * The private key of the beacon. If this field is populated, + * `beacon_ecdh_public_key` and `service_ecdh_public_key` must not be + * populated. + */ + beaconIdentityKey?: string; + /** + * The initial clock value of the beacon. The beacon's clock must have + * begun counting at this value immediately prior to transmitting this + * value to the resolving service. Significant delay in transmitting this + * value to the service risks registration or resolution failures. If a + * value is not provided, the default is zero. + */ + initialClockValue?: string; + /** + * An initial ephemeral ID calculated using the clock value submitted as + * `initial_clock_value`, and the secret key generated by the + * Diffie-Hellman key exchange using `service_ecdh_public_key` and + * `service_ecdh_public_key`. This initial EID value will be used by the + * service to confirm that the key exchange process was successful. + */ + initialEid?: string; + /** + * Indicates the nominal period between each rotation of the beacon's + * ephemeral ID. "Nominal" because the beacon should randomize the + * actual interval. See [the spec at github](https://github.com/google/eddystone/tree/master/eddystone-eid) + * for details. This value corresponds to a power-of-two scaler on the + * beacon's clock: when the scaler value is K, the beacon will begin + * broadcasting a new ephemeral ID on average every 2^K seconds. + */ + rotationPeriodExponent?: number; + /** + * The service's public key used for the Elliptic curve Diffie-Hellman + * key exchange. When this field is populated, `beacon_ecdh_public_key` + * must also be populated, and `beacon_identity_key` must not be. + */ + serviceEcdhPublicKey?: string; + } + interface EphemeralIdRegistrationParams { + /** + * Indicates the maximum rotation period supported by the service. + * See EddystoneEidRegistration.rotation_period_exponent + */ + maxRotationPeriodExponent?: number; + /** + * Indicates the minimum rotation period supported by the service. + * See EddystoneEidRegistration.rotation_period_exponent + */ + minRotationPeriodExponent?: number; + /** + * The beacon service's public key for use by a beacon to derive its + * Identity Key using Elliptic Curve Diffie-Hellman key exchange. + */ + serviceEcdhPublicKey?: string; + } + interface GetInfoForObservedBeaconsRequest { + /** + * Specifies what kind of attachments to include in the response. + * When given, the response will include only attachments of the given types. + * When empty, no attachments will be returned. Must be in the format + * <var>namespace/type</var>. Accepts `*` to specify all types in + * all namespaces owned by the client. + * Optional. + */ + namespacedTypes?: string[]; + /** + * The beacons that the client has encountered. + * At least one must be given. + */ + observations?: Observation[]; + } + interface GetInfoForObservedBeaconsResponse { + /** + * Public information about beacons. + * May be empty if the request matched no beacons. + */ + beacons?: BeaconInfo[]; + } + interface IndoorLevel { + /** The name of this level. */ + name?: string; + } + interface LatLng { + /** The latitude in degrees. It must be in the range [-90.0, +90.0]. */ + latitude?: number; + /** The longitude in degrees. It must be in the range [-180.0, +180.0]. */ + longitude?: number; + } + interface ListBeaconAttachmentsResponse { + /** The attachments that corresponded to the request params. */ + attachments?: BeaconAttachment[]; + } + interface ListBeaconsResponse { + /** The beacons that matched the search criteria. */ + beacons?: Beacon[]; + /** + * An opaque pagination token that the client may provide in their next + * request to retrieve the next page of results. + */ + nextPageToken?: string; + /** + * Estimate of the total number of beacons matched by the query. Higher + * values may be less accurate. + */ + totalCount?: string; + } + interface ListDiagnosticsResponse { + /** The diagnostics matching the given request. */ + diagnostics?: Diagnostics[]; + /** + * Token that can be used for pagination. Returned only if the + * request matches more beacons than can be returned in this response. + */ + nextPageToken?: string; + } + interface ListNamespacesResponse { + /** The attachments that corresponded to the request params. */ + namespaces?: Namespace[]; + } + interface Namespace { + /** + * Resource name of this namespace. Namespaces names have the format: + * <code>namespaces/<var>namespace</var></code>. + */ + namespaceName?: string; + /** + * Specifies what clients may receive attachments under this namespace + * via `beaconinfo.getforobserved`. + */ + servingVisibility?: string; + } + interface Observation { + /** + * The ID advertised by the beacon the client has encountered. + * + * If the submitted `advertised_id` type is Eddystone-EID, then the client + * must be authorized to resolve the given beacon. Otherwise no data will be + * returned for that beacon. + * Required. + */ + advertisedId?: AdvertisedId; + /** + * The array of telemetry bytes received from the beacon. The server is + * responsible for parsing it. This field may frequently be empty, as + * with a beacon that transmits telemetry only occasionally. + */ + telemetry?: string; + /** Time when the beacon was observed. */ + timestampMs?: string; + } + interface BeaconinfoResource { + /** + * Given one or more beacon observations, returns any beacon information + * and attachments accessible to your application. Authorize by using the + * [API key](https://developers.google.com/beacons/proximity/get-started#request_a_browser_api_key) + * for the application. + */ + getforobserved(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GetInfoForObservedBeaconsResponse>; + } + interface AttachmentsResource { + /** + * Deletes multiple attachments on a given beacon. This operation is + * permanent and cannot be undone. + * + * You can optionally specify `namespacedType` to choose which attachments + * should be deleted. If you do not specify `namespacedType`, all your + * attachments on the given beacon will be deleted. You also may explicitly + * specify `*/*` to delete all. + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **Is owner** or **Can edit** permissions in the + * Google Developers Console project. + */ + batchDelete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** + * The beacon whose attachments should be deleted. A beacon name has the + * format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast + * by the beacon and N is a code for the beacon's type. Possible values are + * `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` + * for AltBeacon. For Eddystone-EID beacons, you may use either the + * current EID or the beacon's "stable" UID. + * Required. + */ + beaconName: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Specifies the namespace and type of attachments to delete in + * `namespace/type` format. Accepts `*/*` to specify + * "all types in all namespaces". + * Optional. + */ + namespacedType?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The project id to delete beacon attachments under. This field can be + * used when "*" is specified to mean all attachment namespaces. Projects + * may have multiple attachments with multiple namespaces. If "*" is + * specified and the projectId string is empty, then the project + * making the request is used. + * Optional. + */ + projectId?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<DeleteAttachmentsResponse>; + /** + * Associates the given data with the specified beacon. Attachment data must + * contain two parts: + * <ul> + * <li>A namespaced type.</li> + * <li>The actual attachment data itself.</li> + * </ul> + * The namespaced type consists of two parts, the namespace and the type. + * The namespace must be one of the values returned by the `namespaces` + * endpoint, while the type can be a string of any characters except for the + * forward slash (`/`) up to 100 characters in length. + * + * Attachment data can be up to 1024 bytes long. + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **Is owner** or **Can edit** permissions in the + * Google Developers Console project. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** + * Beacon on which the attachment should be created. A beacon name has the + * format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast + * by the beacon and N is a code for the beacon's type. Possible values are + * `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` + * for AltBeacon. For Eddystone-EID beacons, you may use either the + * current EID or the beacon's "stable" UID. + * Required. + */ + beaconName: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The project id of the project the attachment will belong to. If + * the project id is not specified then the project making the request + * is used. + * Optional. + */ + projectId?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<BeaconAttachment>; + /** + * Deletes the specified attachment for the given beacon. Each attachment has + * a unique attachment name (`attachmentName`) which is returned when you + * fetch the attachment data via this API. You specify this with the delete + * request to control which attachment is removed. This operation cannot be + * undone. + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **Is owner** or **Can edit** permissions in the + * Google Developers Console project. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** + * The attachment name (`attachmentName`) of + * the attachment to remove. For example: + * `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738`. For + * Eddystone-EID beacons, the beacon ID portion (`3!893737abc9`) may be the + * beacon's current EID, or its "stable" Eddystone-UID. + * Required. + */ + attachmentName: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The project id of the attachment to delete. If not provided, the project + * that is making the request is used. + * Optional. + */ + projectId?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Returns the attachments for the specified beacon that match the specified + * namespaced-type pattern. + * + * To control which namespaced types are returned, you add the + * `namespacedType` query parameter to the request. You must either use + * `*/*`, to return all attachments, or the namespace must be one of + * the ones returned from the `namespaces` endpoint. + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **viewer**, **Is owner** or **Can edit** + * permissions in the Google Developers Console project. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** + * Beacon whose attachments should be fetched. A beacon name has the + * format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast + * by the beacon and N is a code for the beacon's type. Possible values are + * `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` + * for AltBeacon. For Eddystone-EID beacons, you may use either the + * current EID or the beacon's "stable" UID. + * Required. + */ + beaconName: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Specifies the namespace and type of attachment to include in response in + * <var>namespace/type</var> format. Accepts `*/*` to specify + * "all types in all namespaces". + */ + namespacedType?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The project id to list beacon attachments under. This field can be + * used when "*" is specified to mean all attachment namespaces. Projects + * may have multiple attachments with multiple namespaces. If "*" is + * specified and the projectId string is empty, then the project + * making the request is used. + * Optional. + */ + projectId?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListBeaconAttachmentsResponse>; + } + interface DiagnosticsResource { + /** + * List the diagnostics for a single beacon. You can also list diagnostics for + * all the beacons owned by your Google Developers Console project by using + * the beacon name `beacons/-`. + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **viewer**, **Is owner** or **Can edit** + * permissions in the Google Developers Console project. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** + * Requests only beacons that have the given alert. For example, to find + * beacons that have low batteries use `alert_filter=LOW_BATTERY`. + */ + alertFilter?: string; + /** Data format for response. */ + alt?: string; + /** Beacon that the diagnostics are for. */ + beaconName: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Specifies the maximum number of results to return. Defaults to + * 10. Maximum 1000. Optional. + */ + pageSize?: number; + /** + * Requests results that occur after the `page_token`, obtained from the + * response to a previous request. Optional. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Requests only diagnostic records for the given project id. If not set, + * then the project making the request will be used for looking up + * diagnostic records. Optional. + */ + projectId?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListDiagnosticsResponse>; + } + interface BeaconsResource { + /** + * Activates a beacon. A beacon that is active will return information + * and attachment data when queried via `beaconinfo.getforobserved`. + * Calling this method on an already active beacon will do nothing (but + * will return a successful response code). + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **Is owner** or **Can edit** permissions in the + * Google Developers Console project. + */ + activate(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** + * Beacon that should be activated. A beacon name has the format + * "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by + * the beacon and N is a code for the beacon's type. Possible values are + * `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` + * for AltBeacon. For Eddystone-EID beacons, you may use either the + * current EID or the beacon's "stable" UID. + * Required. + */ + beaconName: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The project id of the beacon to activate. If the project id is not + * specified then the project making the request is used. The project id + * must match the project that owns the beacon. + * Optional. + */ + projectId?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Deactivates a beacon. Once deactivated, the API will not return + * information nor attachment data for the beacon when queried via + * `beaconinfo.getforobserved`. Calling this method on an already inactive + * beacon will do nothing (but will return a successful response code). + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **Is owner** or **Can edit** permissions in the + * Google Developers Console project. + */ + deactivate(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** + * Beacon that should be deactivated. A beacon name has the format + * "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by + * the beacon and N is a code for the beacon's type. Possible values are + * `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` + * for AltBeacon. For Eddystone-EID beacons, you may use either the + * current EID or the beacon's "stable" UID. + * Required. + */ + beaconName: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The project id of the beacon to deactivate. If the project id is not + * specified then the project making the request is used. The project id must + * match the project that owns the beacon. + * Optional. + */ + projectId?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Decommissions the specified beacon in the service. This beacon will no + * longer be returned from `beaconinfo.getforobserved`. This operation is + * permanent -- you will not be able to re-register a beacon with this ID + * again. + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **Is owner** or **Can edit** permissions in the + * Google Developers Console project. + */ + decommission(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** + * Beacon that should be decommissioned. A beacon name has the format + * "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by + * the beacon and N is a code for the beacon's type. Possible values are + * `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` + * for AltBeacon. For Eddystone-EID beacons, you may use either the + * current EID of the beacon's "stable" UID. + * Required. + */ + beaconName: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The project id of the beacon to decommission. If the project id is not + * specified then the project making the request is used. The project id + * must match the project that owns the beacon. + * Optional. + */ + projectId?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Deletes the specified beacon including all diagnostics data for the beacon + * as well as any attachments on the beacon (including those belonging to + * other projects). This operation cannot be undone. + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **Is owner** or **Can edit** permissions in the + * Google Developers Console project. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** + * Beacon that should be deleted. A beacon name has the format + * "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by + * the beacon and N is a code for the beacon's type. Possible values are + * `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` + * for AltBeacon. For Eddystone-EID beacons, you may use either the + * current EID or the beacon's "stable" UID. + * Required. + */ + beaconName: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The project id of the beacon to delete. If not provided, the project + * that is making the request is used. + * Optional. + */ + projectId?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Returns detailed information about the specified beacon. + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **viewer**, **Is owner** or **Can edit** + * permissions in the Google Developers Console project. + * + * Requests may supply an Eddystone-EID beacon name in the form: + * `beacons/4!beaconId` where the `beaconId` is the base16 ephemeral ID + * broadcast by the beacon. The returned `Beacon` object will contain the + * beacon's stable Eddystone-UID. Clients not authorized to resolve the + * beacon's ephemeral Eddystone-EID broadcast will receive an error. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** + * Resource name of this beacon. A beacon name has the format + * "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by + * the beacon and N is a code for the beacon's type. Possible values are + * `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` + * for AltBeacon. For Eddystone-EID beacons, you may use either the + * current EID or the beacon's "stable" UID. + * Required. + */ + beaconName: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The project id of the beacon to request. If the project id is not specified + * then the project making the request is used. The project id must match the + * project that owns the beacon. + * Optional. + */ + projectId?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Beacon>; + /** + * Searches the beacon registry for beacons that match the given search + * criteria. Only those beacons that the client has permission to list + * will be returned. + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **viewer**, **Is owner** or **Can edit** + * permissions in the Google Developers Console project. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The maximum number of records to return for this request, up to a + * server-defined upper limit. + */ + pageSize?: number; + /** A pagination token obtained from a previous request to list beacons. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The project id to list beacons under. If not present then the project + * credential that made the request is used as the project. + * Optional. + */ + projectId?: string; + /** + * Filter query string that supports the following field filters: + * + * * **description:`"<string>"`** + * For example: **description:"Room 3"** + * Returns beacons whose description matches tokens in the string "Room 3" + * (not necessarily that exact string). + * The string must be double-quoted. + * * **status:`<enum>`** + * For example: **status:active** + * Returns beacons whose status matches the given value. Values must be + * one of the Beacon.Status enum values (case insensitive). Accepts + * multiple filters which will be combined with OR logic. + * * **stability:`<enum>`** + * For example: **stability:mobile** + * Returns beacons whose expected stability matches the given value. + * Values must be one of the Beacon.Stability enum values (case + * insensitive). Accepts multiple filters which will be combined with + * OR logic. + * * **place\_id:`"<string>"`** + * For example: **place\_id:"ChIJVSZzVR8FdkgRXGmmm6SslKw="** + * Returns beacons explicitly registered at the given place, expressed as + * a Place ID obtained from [Google Places API](/places/place-id). Does not + * match places inside the given place. Does not consider the beacon's + * actual location (which may be different from its registered place). + * Accepts multiple filters that will be combined with OR logic. The place + * ID must be double-quoted. + * * **registration\_time`[<|>|<=|>=]<integer>`** + * For example: **registration\_time>=1433116800** + * Returns beacons whose registration time matches the given filter. + * Supports the operators: <, >, <=, and >=. Timestamp must be expressed as + * an integer number of seconds since midnight January 1, 1970 UTC. Accepts + * at most two filters that will be combined with AND logic, to support + * "between" semantics. If more than two are supplied, the latter ones are + * ignored. + * * **lat:`<double> lng:<double> radius:<integer>`** + * For example: **lat:51.1232343 lng:-1.093852 radius:1000** + * Returns beacons whose registered location is within the given circle. + * When any of these fields are given, all are required. Latitude and + * longitude must be decimal degrees between -90.0 and 90.0 and between + * -180.0 and 180.0 respectively. Radius must be an integer number of + * meters between 10 and 1,000,000 (1000 km). + * * **property:`"<string>=<string>"`** + * For example: **property:"battery-type=CR2032"** + * Returns beacons which have a property of the given name and value. + * Supports multiple filters which will be combined with OR logic. + * The entire name=value string must be double-quoted as one string. + * * **attachment\_type:`"<string>"`** + * For example: **attachment_type:"my-namespace/my-type"** + * Returns beacons having at least one attachment of the given namespaced + * type. Supports "any within this namespace" via the partial wildcard + * syntax: "my-namespace/*". Supports multiple filters which will be + * combined with OR logic. The string must be double-quoted. + * * **indoor\_level:`"<string>"`** + * For example: **indoor\_level:"1"** + * Returns beacons which are located on the given indoor level. Accepts + * multiple filters that will be combined with OR logic. + * + * Multiple filters on the same field are combined with OR logic (except + * registration_time which is combined with AND logic). + * Multiple filters on different fields are combined with AND logic. + * Filters should be separated by spaces. + * + * As with any HTTP query string parameter, the whole filter expression must + * be URL-encoded. + * + * Example REST request: + * `GET /v1beta1/beacons?q=status:active%20lat:51.123%20lng:-1.095%20radius:1000` + */ + q?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListBeaconsResponse>; + /** + * Registers a previously unregistered beacon given its `advertisedId`. + * These IDs are unique within the system. An ID can be registered only once. + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **Is owner** or **Can edit** permissions in the + * Google Developers Console project. + */ + register(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The project id of the project the beacon will be registered to. If + * the project id is not specified then the project making the request + * is used. + * Optional. + */ + projectId?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Beacon>; + /** + * Updates the information about the specified beacon. **Any field that you do + * not populate in the submitted beacon will be permanently erased**, so you + * should follow the "read, modify, write" pattern to avoid inadvertently + * destroying data. + * + * Changes to the beacon status via this method will be silently ignored. + * To update beacon status, use the separate methods on this API for + * activation, deactivation, and decommissioning. + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **Is owner** or **Can edit** permissions in the + * Google Developers Console project. + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** + * Resource name of this beacon. A beacon name has the format + * "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by + * the beacon and N is a code for the beacon's type. Possible values are + * `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon. + * + * This field must be left empty when registering. After reading a beacon, + * clients can use the name for future operations. + */ + beaconName: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The project id of the beacon to update. If the project id is not + * specified then the project making the request is used. The project id + * must match the project that owns the beacon. + * Optional. + */ + projectId?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Beacon>; + attachments: AttachmentsResource; + diagnostics: DiagnosticsResource; + } + interface NamespacesResource { + /** + * Lists all attachment namespaces owned by your Google Developers Console + * project. Attachment data associated with a beacon must include a + * namespaced type, and the namespace must be owned by your project. + * + * Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) + * from a signed-in user with **viewer**, **Is owner** or **Can edit** + * permissions in the Google Developers Console project. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The project id to list namespaces under. + * Optional. + */ + projectId?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListNamespacesResponse>; + /** + * Updates the information about the specified namespace. Only the namespace + * visibility can be updated. + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Resource name of this namespace. Namespaces names have the format: + * <code>namespaces/<var>namespace</var></code>. + */ + namespaceName: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The project id of the namespace to update. If the project id is not + * specified then the project making the request is used. The project id + * must match the project that owns the beacon. + * Optional. + */ + projectId?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Namespace>; + } + interface V1beta1Resource { + /** + * Gets the Proximity Beacon API's current public key and associated + * parameters used to initiate the Diffie-Hellman key exchange required to + * register a beacon that broadcasts the Eddystone-EID format. This key + * changes periodically; clients may cache it and re-use the same public key + * to provision and register multiple beacons. However, clients should be + * prepared to refresh this key when they encounter an error registering an + * Eddystone-EID beacon. + */ + getEidparams(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<EphemeralIdRegistrationParams>; + } + } +} diff --git a/types/gapi.client.proximitybeacon/readme.md b/types/gapi.client.proximitybeacon/readme.md new file mode 100644 index 0000000000..97ec218e0a --- /dev/null +++ b/types/gapi.client.proximitybeacon/readme.md @@ -0,0 +1,188 @@ +# TypeScript typings for Google Proximity Beacon API v1beta1 +Registers, manages, indexes, and searches beacons. +For detailed description please check [documentation](https://developers.google.com/beacons/proximity/). + +## Installing + +Install typings for Google Proximity Beacon API: +``` +npm install @types/gapi.client.proximitybeacon@v1beta1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('proximitybeacon', 'v1beta1', () => { + // now we can use gapi.client.proximitybeacon + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and modify your beacons + 'https://www.googleapis.com/auth/userlocation.beacon.registry', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Proximity Beacon API resources: + +```typescript + +/* +Given one or more beacon observations, returns any beacon information +and attachments accessible to your application. Authorize by using the +[API key](https://developers.google.com/beacons/proximity/get-started#request_a_browser_api_key) +for the application. +*/ +await gapi.client.beaconinfo.getforobserved({ }); + +/* +Activates a beacon. A beacon that is active will return information +and attachment data when queried via `beaconinfo.getforobserved`. +Calling this method on an already active beacon will do nothing (but +will return a successful response code). + +Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) +from a signed-in user with **Is owner** or **Can edit** permissions in the +Google Developers Console project. +*/ +await gapi.client.beacons.activate({ beaconName: "beaconName", }); + +/* +Deactivates a beacon. Once deactivated, the API will not return +information nor attachment data for the beacon when queried via +`beaconinfo.getforobserved`. Calling this method on an already inactive +beacon will do nothing (but will return a successful response code). + +Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) +from a signed-in user with **Is owner** or **Can edit** permissions in the +Google Developers Console project. +*/ +await gapi.client.beacons.deactivate({ beaconName: "beaconName", }); + +/* +Decommissions the specified beacon in the service. This beacon will no +longer be returned from `beaconinfo.getforobserved`. This operation is +permanent -- you will not be able to re-register a beacon with this ID +again. + +Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) +from a signed-in user with **Is owner** or **Can edit** permissions in the +Google Developers Console project. +*/ +await gapi.client.beacons.decommission({ beaconName: "beaconName", }); + +/* +Deletes the specified beacon including all diagnostics data for the beacon +as well as any attachments on the beacon (including those belonging to +other projects). This operation cannot be undone. + +Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) +from a signed-in user with **Is owner** or **Can edit** permissions in the +Google Developers Console project. +*/ +await gapi.client.beacons.delete({ beaconName: "beaconName", }); + +/* +Returns detailed information about the specified beacon. + +Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) +from a signed-in user with **viewer**, **Is owner** or **Can edit** +permissions in the Google Developers Console project. + +Requests may supply an Eddystone-EID beacon name in the form: +`beacons/4!beaconId` where the `beaconId` is the base16 ephemeral ID +broadcast by the beacon. The returned `Beacon` object will contain the +beacon's stable Eddystone-UID. Clients not authorized to resolve the +beacon's ephemeral Eddystone-EID broadcast will receive an error. +*/ +await gapi.client.beacons.get({ beaconName: "beaconName", }); + +/* +Searches the beacon registry for beacons that match the given search +criteria. Only those beacons that the client has permission to list +will be returned. + +Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) +from a signed-in user with **viewer**, **Is owner** or **Can edit** +permissions in the Google Developers Console project. +*/ +await gapi.client.beacons.list({ }); + +/* +Registers a previously unregistered beacon given its `advertisedId`. +These IDs are unique within the system. An ID can be registered only once. + +Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) +from a signed-in user with **Is owner** or **Can edit** permissions in the +Google Developers Console project. +*/ +await gapi.client.beacons.register({ }); + +/* +Updates the information about the specified beacon. **Any field that you do +not populate in the submitted beacon will be permanently erased**, so you +should follow the "read, modify, write" pattern to avoid inadvertently +destroying data. + +Changes to the beacon status via this method will be silently ignored. +To update beacon status, use the separate methods on this API for +activation, deactivation, and decommissioning. +Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) +from a signed-in user with **Is owner** or **Can edit** permissions in the +Google Developers Console project. +*/ +await gapi.client.beacons.update({ beaconName: "beaconName", }); + +/* +Lists all attachment namespaces owned by your Google Developers Console +project. Attachment data associated with a beacon must include a +namespaced type, and the namespace must be owned by your project. + +Authenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2) +from a signed-in user with **viewer**, **Is owner** or **Can edit** +permissions in the Google Developers Console project. +*/ +await gapi.client.namespaces.list({ }); + +/* +Updates the information about the specified namespace. Only the namespace +visibility can be updated. +*/ +await gapi.client.namespaces.update({ namespaceName: "namespaceName", }); + +/* +Gets the Proximity Beacon API's current public key and associated +parameters used to initiate the Diffie-Hellman key exchange required to +register a beacon that broadcasts the Eddystone-EID format. This key +changes periodically; clients may cache it and re-use the same public key +to provision and register multiple beacons. However, clients should be +prepared to refresh this key when they encounter an error registering an +Eddystone-EID beacon. +*/ +await gapi.client.v1beta1.getEidparams({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.proximitybeacon/tsconfig.json b/types/gapi.client.proximitybeacon/tsconfig.json new file mode 100644 index 0000000000..8f240f1352 --- /dev/null +++ b/types/gapi.client.proximitybeacon/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.proximitybeacon-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.proximitybeacon/tslint.json b/types/gapi.client.proximitybeacon/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.proximitybeacon/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.pubsub/gapi.client.pubsub-tests.ts b/types/gapi.client.pubsub/gapi.client.pubsub-tests.ts new file mode 100644 index 0000000000..de07bfc2cc --- /dev/null +++ b/types/gapi.client.pubsub/gapi.client.pubsub-tests.ts @@ -0,0 +1,34 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('pubsub', 'v1', () => { + /** now we can use gapi.client.pubsub */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View and manage Pub/Sub topics and subscriptions */ + 'https://www.googleapis.com/auth/pubsub', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + } +}); diff --git a/types/gapi.client.pubsub/index.d.ts b/types/gapi.client.pubsub/index.d.ts new file mode 100644 index 0000000000..fea2d4e8c1 --- /dev/null +++ b/types/gapi.client.pubsub/index.d.ts @@ -0,0 +1,1241 @@ +// Type definitions for Google Google Cloud Pub/Sub API v1 1.0 +// Project: https://cloud.google.com/pubsub/docs +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://pubsub.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Cloud Pub/Sub API v1 */ + function load(name: "pubsub", version: "v1"): PromiseLike<void>; + function load(name: "pubsub", version: "v1", callback: () => any): void; + + const projects: pubsub.ProjectsResource; + + namespace pubsub { + interface AcknowledgeRequest { + /** + * The acknowledgment ID for the messages being acknowledged that was returned + * by the Pub/Sub system in the `Pull` response. Must not be empty. + */ + ackIds?: string[]; + } + interface Binding { + /** + * Specifies the identities requesting access for a Cloud Platform resource. + * `members` can have the following values: + * + * * `allUsers`: A special identifier that represents anyone who is + * on the internet; with or without a Google account. + * + * * `allAuthenticatedUsers`: A special identifier that represents anyone + * who is authenticated with a Google account or a service account. + * + * * `user:{emailid}`: An email address that represents a specific Google + * account. For example, `alice@gmail.com` or `joe@example.com`. + * + * + * * `serviceAccount:{emailid}`: An email address that represents a service + * account. For example, `my-other-app@appspot.gserviceaccount.com`. + * + * * `group:{emailid}`: An email address that represents a Google group. + * For example, `admins@example.com`. + * + * + * * `domain:{domain}`: A Google Apps domain name that represents all the + * users of that domain. For example, `google.com` or `example.com`. + */ + members?: string[]; + /** + * Role that is assigned to `members`. + * For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + * Required + */ + role?: string; + } + interface ListSubscriptionsResponse { + /** + * If not empty, indicates that there may be more subscriptions that match + * the request; this value should be passed in a new + * `ListSubscriptionsRequest` to get more subscriptions. + */ + nextPageToken?: string; + /** The subscriptions that match the request. */ + subscriptions?: Subscription[]; + } + interface ListTopicSubscriptionsResponse { + /** + * If not empty, indicates that there may be more subscriptions that match + * the request; this value should be passed in a new + * `ListTopicSubscriptionsRequest` to get more subscriptions. + */ + nextPageToken?: string; + /** The names of the subscriptions that match the request. */ + subscriptions?: string[]; + } + interface ListTopicsResponse { + /** + * If not empty, indicates that there may be more topics that match the + * request; this value should be passed in a new `ListTopicsRequest`. + */ + nextPageToken?: string; + /** The resulting topics. */ + topics?: Topic[]; + } + interface ModifyAckDeadlineRequest { + /** + * The new ack deadline with respect to the time this request was sent to + * the Pub/Sub system. For example, if the value is 10, the new + * ack deadline will expire 10 seconds after the `ModifyAckDeadline` call + * was made. Specifying zero may immediately make the message available for + * another pull request. + * The minimum deadline you can specify is 0 seconds. + * The maximum deadline you can specify is 600 seconds (10 minutes). + */ + ackDeadlineSeconds?: number; + /** List of acknowledgment IDs. */ + ackIds?: string[]; + } + interface ModifyPushConfigRequest { + /** + * The push configuration for future deliveries. + * + * An empty `pushConfig` indicates that the Pub/Sub system should + * stop pushing messages from the given subscription and allow + * messages to be pulled and acknowledged - effectively pausing + * the subscription if `Pull` or `StreamingPull` is not called. + */ + pushConfig?: PushConfig; + } + interface Policy { + /** + * Associates a list of `members` to a `role`. + * `bindings` with no members will result in an error. + */ + bindings?: Binding[]; + /** + * `etag` is used for optimistic concurrency control as a way to help + * prevent simultaneous updates of a policy from overwriting each other. + * It is strongly suggested that systems make use of the `etag` in the + * read-modify-write cycle to perform policy updates in order to avoid race + * conditions: An `etag` is returned in the response to `getIamPolicy`, and + * systems are expected to put that etag in the request to `setIamPolicy` to + * ensure that their change will be applied to the same version of the policy. + * + * If no `etag` is provided in the call to `setIamPolicy`, then the existing + * policy is overwritten blindly. + */ + etag?: string; + /** Version of the `Policy`. The default version is 0. */ + version?: number; + } + interface PublishRequest { + /** The messages to publish. */ + messages?: PubsubMessage[]; + } + interface PublishResponse { + /** + * The server-assigned ID of each published message, in the same order as + * the messages in the request. IDs are guaranteed to be unique within + * the topic. + */ + messageIds?: string[]; + } + interface PubsubMessage { + /** Optional attributes for this message. */ + attributes?: Record<string, string>; + /** The message payload. */ + data?: string; + /** + * ID of this message, assigned by the server when the message is published. + * Guaranteed to be unique within the topic. This value may be read by a + * subscriber that receives a `PubsubMessage` via a `Pull` call or a push + * delivery. It must not be populated by the publisher in a `Publish` call. + */ + messageId?: string; + /** + * The time at which the message was published, populated by the server when + * it receives the `Publish` call. It must not be populated by the + * publisher in a `Publish` call. + */ + publishTime?: string; + } + interface PullRequest { + /** + * The maximum number of messages returned for this request. The Pub/Sub + * system may return fewer than the number specified. + */ + maxMessages?: number; + /** + * If this field set to true, the system will respond immediately even if + * it there are no messages available to return in the `Pull` response. + * Otherwise, the system may wait (for a bounded amount of time) until at + * least one message is available, rather than returning no messages. The + * client may cancel the request if it does not wish to wait any longer for + * the response. + */ + returnImmediately?: boolean; + } + interface PullResponse { + /** + * Received Pub/Sub messages. The Pub/Sub system will return zero messages if + * there are no more available in the backlog. The Pub/Sub system may return + * fewer than the `maxMessages` requested even if there are more messages + * available in the backlog. + */ + receivedMessages?: ReceivedMessage[]; + } + interface PushConfig { + /** + * Endpoint configuration attributes. + * + * Every endpoint has a set of API supported attributes that can be used to + * control different aspects of the message delivery. + * + * The currently supported attribute is `x-goog-version`, which you can + * use to change the format of the pushed message. This attribute + * indicates the version of the data expected by the endpoint. This + * controls the shape of the pushed message (i.e., its fields and metadata). + * The endpoint version is based on the version of the Pub/Sub API. + * + * If not present during the `CreateSubscription` call, it will default to + * the version of the API used to make such call. If not present during a + * `ModifyPushConfig` call, its value will not be changed. `GetSubscription` + * calls will always return a valid version, even if the subscription was + * created without this attribute. + * + * The possible values for this attribute are: + * + * * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. + * * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. + */ + attributes?: Record<string, string>; + /** + * A URL locating the endpoint to which messages should be pushed. + * For example, a Webhook endpoint might use "https://example.com/push". + */ + pushEndpoint?: string; + } + interface ReceivedMessage { + /** This ID can be used to acknowledge the received message. */ + ackId?: string; + /** The message. */ + message?: PubsubMessage; + } + interface SetIamPolicyRequest { + /** + * REQUIRED: The complete policy to be applied to the `resource`. The size of + * the policy is limited to a few 10s of KB. An empty policy is a + * valid policy but certain Cloud Platform services (such as Projects) + * might reject them. + */ + policy?: Policy; + } + interface Subscription { + /** + * This value is the maximum time after a subscriber receives a message + * before the subscriber should acknowledge the message. After message + * delivery but before the ack deadline expires and before the message is + * acknowledged, it is an outstanding message and will not be delivered + * again during that time (on a best-effort basis). + * + * For pull subscriptions, this value is used as the initial value for the ack + * deadline. To override this value for a given message, call + * `ModifyAckDeadline` with the corresponding `ack_id` if using + * non-streaming pull or send the `ack_id` in a + * `StreamingModifyAckDeadlineRequest` if using streaming pull. + * The minimum custom deadline you can specify is 10 seconds. + * The maximum custom deadline you can specify is 600 seconds (10 minutes). + * If this parameter is 0, a default value of 10 seconds is used. + * + * For push delivery, this value is also used to set the request timeout for + * the call to the push endpoint. + * + * If the subscriber never acknowledges the message, the Pub/Sub + * system will eventually redeliver the message. + */ + ackDeadlineSeconds?: number; + /** + * The name of the subscription. It must have the format + * `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must + * start with a letter, and contain only letters (`[A-Za-z]`), numbers + * (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), + * plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters + * in length, and it must not start with `"goog"`. + */ + name?: string; + /** + * If push delivery is used with this subscription, this field is + * used to configure it. An empty `pushConfig` signifies that the subscriber + * will pull and ack messages using API methods. + */ + pushConfig?: PushConfig; + /** + * The name of the topic from which this subscription is receiving messages. + * Format is `projects/{project}/topics/{topic}`. + * The value of this field will be `_deleted-topic_` if the topic has been + * deleted. + */ + topic?: string; + } + interface TestIamPermissionsRequest { + /** + * The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more + * information see + * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + */ + permissions?: string[]; + } + interface TestIamPermissionsResponse { + /** + * A subset of `TestPermissionsRequest.permissions` that the caller is + * allowed. + */ + permissions?: string[]; + } + interface Topic { + /** + * The name of the topic. It must have the format + * `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, + * and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), + * underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent + * signs (`%`). It must be between 3 and 255 characters in length, and it + * must not start with `"goog"`. + */ + name?: string; + } + interface SnapshotsResource { + /** + * Gets the access control policy for a resource. + * Returns an empty policy if the resource exists and does not have a policy + * set. + */ + getIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. + */ + setIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being specified. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Returns permissions that a caller has on the specified resource. + * If the resource does not exist, this will return an empty set of + * permissions, not a NOT_FOUND error. + * + * Note: This operation is designed to be used for building permission-aware + * UIs and command-line tools, not for authorization checking. This operation + * may "fail open" without warning. + */ + testIamPermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy detail is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TestIamPermissionsResponse>; + } + interface SubscriptionsResource { + /** + * Acknowledges the messages associated with the `ack_ids` in the + * `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages + * from the subscription. + * + * Acknowledging a message whose ack deadline has expired may succeed, + * but such a message may be redelivered later. Acknowledging a message more + * than once will not result in an error. + */ + acknowledge(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The subscription whose message is being acknowledged. + * Format is `projects/{project}/subscriptions/{sub}`. + */ + subscription: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Creates a subscription to a given topic. + * If the subscription already exists, returns `ALREADY_EXISTS`. + * If the corresponding topic doesn't exist, returns `NOT_FOUND`. + * + * If the name is not provided in the request, the server will assign a random + * name for this subscription on the same project as the topic, conforming + * to the + * [resource name format](https://cloud.google.com/pubsub/docs/overview#names). + * The generated name is populated in the returned Subscription object. + * Note that for REST API requests, you must specify a name in the request. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The name of the subscription. It must have the format + * `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must + * start with a letter, and contain only letters (`[A-Za-z]`), numbers + * (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), + * plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters + * in length, and it must not start with `"goog"`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Subscription>; + /** + * Deletes an existing subscription. All messages retained in the subscription + * are immediately dropped. Calls to `Pull` after deletion will return + * `NOT_FOUND`. After a subscription is deleted, a new one may be created with + * the same name, but the new one has no association with the old + * subscription or its topic unless the same topic is specified. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The subscription to delete. + * Format is `projects/{project}/subscriptions/{sub}`. + */ + subscription: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets the configuration details of a subscription. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The name of the subscription to get. + * Format is `projects/{project}/subscriptions/{sub}`. + */ + subscription: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Subscription>; + /** + * Gets the access control policy for a resource. + * Returns an empty policy if the resource exists and does not have a policy + * set. + */ + getIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** Lists matching subscriptions. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Maximum number of subscriptions to return. */ + pageSize?: number; + /** + * The value returned by the last `ListSubscriptionsResponse`; indicates that + * this is a continuation of a prior `ListSubscriptions` call, and that the + * system should return the next page of data. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The name of the cloud project that subscriptions belong to. + * Format is `projects/{project}`. + */ + project: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListSubscriptionsResponse>; + /** + * Modifies the ack deadline for a specific message. This method is useful + * to indicate that more time is needed to process a message by the + * subscriber, or to make the message available for redelivery if the + * processing was interrupted. Note that this does not modify the + * subscription-level `ackDeadlineSeconds` used for subsequent messages. + */ + modifyAckDeadline(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The name of the subscription. + * Format is `projects/{project}/subscriptions/{sub}`. + */ + subscription: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Modifies the `PushConfig` for a specified subscription. + * + * This may be used to change a push subscription to a pull one (signified by + * an empty `PushConfig`) or vice versa, or change the endpoint URL and other + * attributes of a push subscription. Messages will accumulate for delivery + * continuously through the call regardless of changes to the `PushConfig`. + */ + modifyPushConfig(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The name of the subscription. + * Format is `projects/{project}/subscriptions/{sub}`. + */ + subscription: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Pulls messages from the server. Returns an empty list if there are no + * messages available in the backlog. The server may return `UNAVAILABLE` if + * there are too many concurrent pull requests pending for the given + * subscription. + */ + pull(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The subscription from which messages should be pulled. + * Format is `projects/{project}/subscriptions/{sub}`. + */ + subscription: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<PullResponse>; + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. + */ + setIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being specified. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Returns permissions that a caller has on the specified resource. + * If the resource does not exist, this will return an empty set of + * permissions, not a NOT_FOUND error. + * + * Note: This operation is designed to be used for building permission-aware + * UIs and command-line tools, not for authorization checking. This operation + * may "fail open" without warning. + */ + testIamPermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy detail is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TestIamPermissionsResponse>; + } + interface SubscriptionsResource { + /** Lists the name of the subscriptions for this topic. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Maximum number of subscription names to return. */ + pageSize?: number; + /** + * The value returned by the last `ListTopicSubscriptionsResponse`; indicates + * that this is a continuation of a prior `ListTopicSubscriptions` call, and + * that the system should return the next page of data. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The name of the topic that subscriptions are attached to. + * Format is `projects/{project}/topics/{topic}`. + */ + topic: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListTopicSubscriptionsResponse>; + } + interface TopicsResource { + /** Creates the given topic with the given name. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The name of the topic. It must have the format + * `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, + * and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), + * underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent + * signs (`%`). It must be between 3 and 255 characters in length, and it + * must not start with `"goog"`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Topic>; + /** + * Deletes the topic with the given name. Returns `NOT_FOUND` if the topic + * does not exist. After a topic is deleted, a new topic may be created with + * the same name; this is an entirely new topic with none of the old + * configuration or subscriptions. Existing subscriptions to this topic are + * not deleted, but their `topic` field is set to `_deleted-topic_`. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Name of the topic to delete. + * Format is `projects/{project}/topics/{topic}`. + */ + topic: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets the configuration of a topic. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The name of the topic to get. + * Format is `projects/{project}/topics/{topic}`. + */ + topic: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Topic>; + /** + * Gets the access control policy for a resource. + * Returns an empty policy if the resource exists and does not have a policy + * set. + */ + getIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** Lists matching topics. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Maximum number of topics to return. */ + pageSize?: number; + /** + * The value returned by the last `ListTopicsResponse`; indicates that this is + * a continuation of a prior `ListTopics` call, and that the system should + * return the next page of data. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The name of the cloud project that topics belong to. + * Format is `projects/{project}`. + */ + project: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListTopicsResponse>; + /** + * Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic + * does not exist. The message payload must not be empty; it must contain + * either a non-empty data field, or at least one attribute. + */ + publish(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The messages in the request will be published on this topic. + * Format is `projects/{project}/topics/{topic}`. + */ + topic: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<PublishResponse>; + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. + */ + setIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being specified. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Returns permissions that a caller has on the specified resource. + * If the resource does not exist, this will return an empty set of + * permissions, not a NOT_FOUND error. + * + * Note: This operation is designed to be used for building permission-aware + * UIs and command-line tools, not for authorization checking. This operation + * may "fail open" without warning. + */ + testIamPermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy detail is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TestIamPermissionsResponse>; + subscriptions: SubscriptionsResource; + } + interface ProjectsResource { + snapshots: SnapshotsResource; + subscriptions: SubscriptionsResource; + topics: TopicsResource; + } + } +} diff --git a/types/gapi.client.pubsub/readme.md b/types/gapi.client.pubsub/readme.md new file mode 100644 index 0000000000..06be8a08b0 --- /dev/null +++ b/types/gapi.client.pubsub/readme.md @@ -0,0 +1,58 @@ +# TypeScript typings for Google Cloud Pub/Sub API v1 +Provides reliable, many-to-many, asynchronous messaging between applications. + +For detailed description please check [documentation](https://cloud.google.com/pubsub/docs). + +## Installing + +Install typings for Google Cloud Pub/Sub API: +``` +npm install @types/gapi.client.pubsub@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('pubsub', 'v1', () => { + // now we can use gapi.client.pubsub + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View and manage Pub/Sub topics and subscriptions + 'https://www.googleapis.com/auth/pubsub', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Cloud Pub/Sub API resources: + +```typescript +``` \ No newline at end of file diff --git a/types/gapi.client.pubsub/tsconfig.json b/types/gapi.client.pubsub/tsconfig.json new file mode 100644 index 0000000000..c5b386832c --- /dev/null +++ b/types/gapi.client.pubsub/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.pubsub-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.pubsub/tslint.json b/types/gapi.client.pubsub/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.pubsub/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.qpxexpress/gapi.client.qpxexpress-tests.ts b/types/gapi.client.qpxexpress/gapi.client.qpxexpress-tests.ts new file mode 100644 index 0000000000..fa6b757b04 --- /dev/null +++ b/types/gapi.client.qpxexpress/gapi.client.qpxexpress-tests.ts @@ -0,0 +1,19 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('qpxexpress', 'v1', () => { + /** now we can use gapi.client.qpxexpress */ + + run(); + }); + + async function run() { + /** Returns a list of flights. */ + await gapi.client.trips.search({ + }); + } +}); diff --git a/types/gapi.client.qpxexpress/index.d.ts b/types/gapi.client.qpxexpress/index.d.ts new file mode 100644 index 0000000000..2ebaaa35b2 --- /dev/null +++ b/types/gapi.client.qpxexpress/index.d.ts @@ -0,0 +1,406 @@ +// Type definitions for Google QPX Express API v1 1.0 +// Project: http://developers.google.com/qpx-express +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/qpxExpress/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load QPX Express API v1 */ + function load(name: "qpxexpress", version: "v1"): PromiseLike<void>; + function load(name: "qpxexpress", version: "v1", callback: () => any): void; + + const trips: qpxexpress.TripsResource; + + namespace qpxexpress { + interface AircraftData { + /** The aircraft code. For example, for a Boeing 777 the code would be 777. */ + code?: string; + /** Identifies this as an aircraftData object. Value: the fixed string qpxexpress#aircraftData */ + kind?: string; + /** The name of an aircraft, for example Boeing 777. */ + name?: string; + } + interface AirportData { + /** The city code an airport is located in. For example, for JFK airport, this is NYC. */ + city?: string; + /** An airport's code. For example, for Boston Logan airport, this is BOS. */ + code?: string; + /** Identifies this as an airport object. Value: the fixed string qpxexpress#airportData. */ + kind?: string; + /** The name of an airport. For example, for airport BOS the name is "Boston Logan International". */ + name?: string; + } + interface BagDescriptor { + /** Provides the commercial name for an optional service. */ + commercialName?: string; + /** How many of this type of bag will be checked on this flight. */ + count?: number; + /** A description of the baggage. */ + description?: string[]; + /** Identifies this as a baggage object. Value: the fixed string qpxexpress#bagDescriptor. */ + kind?: string; + /** The standard IATA subcode used to identify this optional service. */ + subcode?: string; + } + interface CarrierData { + /** The IATA designator of a carrier (airline, etc). For example, for American Airlines, the code is AA. */ + code?: string; + /** Identifies this as a kind of carrier (ie. an airline, bus line, railroad, etc). Value: the fixed string qpxexpress#carrierData. */ + kind?: string; + /** The long, full name of a carrier. For example: American Airlines. */ + name?: string; + } + interface CityData { + /** The IATA character ID of a city. For example, for Boston this is BOS. */ + code?: string; + /** The two-character country code of the country the city is located in. For example, US for the United States of America. */ + country?: string; + /** Identifies this as a city, typically with one or more airports. Value: the fixed string qpxexpress#cityData. */ + kind?: string; + /** The full name of a city. An example would be: New York. */ + name?: string; + } + interface Data { + /** The aircraft that is flying between an origin and destination. */ + aircraft?: AircraftData[]; + /** The airport of an origin or destination. */ + airport?: AirportData[]; + /** The airline carrier of the aircraft flying between an origin and destination. Allowed values are IATA carrier codes. */ + carrier?: CarrierData[]; + /** The city that is either the origin or destination of part of a trip. */ + city?: CityData[]; + /** + * Identifies this as QPX Express response resource, including a trip's airport, city, taxes, airline, and aircraft. Value: the fixed string + * qpxexpress#data. + */ + kind?: string; + /** The taxes due for flying between an origin and a destination. */ + tax?: TaxData[]; + } + interface FareInfo { + basisCode?: string; + /** The carrier of the aircraft or other vehicle commuting between two points. */ + carrier?: string; + /** The city code of the city the trip ends at. */ + destination?: string; + /** A unique identifier of the fare. */ + id?: string; + /** Identifies this as a fare object. Value: the fixed string qpxexpress#fareInfo. */ + kind?: string; + /** The city code of the city the trip begins at. */ + origin?: string; + /** Whether this is a private fare, for example one offered only to select customers rather than the general public. */ + private?: boolean; + } + interface FlightInfo { + carrier?: string; + /** The flight number. */ + number?: string; + } + interface FreeBaggageAllowance { + /** A representation of a type of bag, such as an ATPCo subcode, Commercial Name, or other description. */ + bagDescriptor?: BagDescriptor[]; + /** The maximum number of kilos all the free baggage together may weigh. */ + kilos?: number; + /** The maximum number of kilos any one piece of baggage may weigh. */ + kilosPerPiece?: number; + /** Identifies this as free baggage object, allowed on one segment of a trip. Value: the fixed string qpxexpress#freeBaggageAllowance. */ + kind?: string; + /** The number of free pieces of baggage allowed. */ + pieces?: number; + /** The number of pounds of free baggage allowed. */ + pounds?: number; + } + interface LegInfo { + /** The aircraft (or bus, ferry, railcar, etc) travelling between the two points of this leg. */ + aircraft?: string; + /** The scheduled time of arrival at the destination of the leg, local to the point of arrival. */ + arrivalTime?: string; + /** Whether you have to change planes following this leg. Only applies to the next leg. */ + changePlane?: boolean; + /** Duration of a connection following this leg, in minutes. */ + connectionDuration?: number; + /** The scheduled departure time of the leg, local to the point of departure. */ + departureTime?: string; + /** The leg destination as a city and airport. */ + destination?: string; + /** The terminal the flight is scheduled to arrive at. */ + destinationTerminal?: string; + /** The scheduled travelling time from the origin to the destination. */ + duration?: number; + /** An identifier that uniquely identifies this leg in the solution. */ + id?: string; + /** + * Identifies this as a leg object. A leg is the smallest unit of travel, in the case of a flight a takeoff immediately followed by a landing at two set + * points on a particular carrier with a particular flight number. Value: the fixed string qpxexpress#legInfo. + */ + kind?: string; + /** A simple, general description of the meal(s) served on the flight, for example: "Hot meal". */ + meal?: string; + /** The number of miles in this leg. */ + mileage?: number; + /** In percent, the published on time performance on this leg. */ + onTimePerformance?: number; + /** + * Department of Transportation disclosure information on the actual operator of a flight in a code share. (A code share refers to a marketing agreement + * between two carriers, where one carrier will list in its schedules (and take bookings for) flights that are actually operated by another carrier.) + */ + operatingDisclosure?: string; + /** The leg origin as a city and airport. */ + origin?: string; + /** The terminal the flight is scheduled to depart from. */ + originTerminal?: string; + /** Whether passenger information must be furnished to the United States Transportation Security Administration (TSA) prior to departure. */ + secure?: boolean; + } + interface PassengerCounts { + /** The number of passengers that are adults. */ + adultCount?: number; + /** The number of passengers that are children. */ + childCount?: number; + /** The number of passengers that are infants travelling in the lap of an adult. */ + infantInLapCount?: number; + /** The number of passengers that are infants each assigned a seat. */ + infantInSeatCount?: number; + /** Identifies this as a passenger count object, representing the number of passengers. Value: the fixed string qpxexpress#passengerCounts. */ + kind?: string; + /** The number of passengers that are senior citizens. */ + seniorCount?: number; + } + interface PricingInfo { + /** + * The total fare in the base fare currency (the currency of the country of origin). This element is only present when the sales currency and the currency + * of the country of commencement are different. + */ + baseFareTotal?: string; + /** The fare used to price one or more segments. */ + fare?: FareInfo[]; + /** The horizontal fare calculation. This is a field on a ticket that displays all of the relevant items that go into the calculation of the fare. */ + fareCalculation?: string; + /** Identifies this as a pricing object, representing the price of one or more travel segments. Value: the fixed string qpxexpress#pricingInfo. */ + kind?: string; + /** + * The latest ticketing time for this pricing assuming the reservation occurs at ticketing time and there is no change in fares/rules. The time is local + * to the point of sale (POS). + */ + latestTicketingTime?: string; + /** The number of passengers to which this price applies. */ + passengers?: PassengerCounts; + /** + * The passenger type code for this pricing. An alphanumeric code used by a carrier to restrict fares to certain categories of passenger. For instance, a + * fare might be valid only for senior citizens. + */ + ptc?: string; + /** Whether the fares on this pricing are refundable. */ + refundable?: boolean; + /** The total fare in the sale or equivalent currency. */ + saleFareTotal?: string; + /** The taxes in the sale or equivalent currency. */ + saleTaxTotal?: string; + /** Total per-passenger price (fare and tax) in the sale or equivalent currency. */ + saleTotal?: string; + /** The per-segment price and baggage information. */ + segmentPricing?: SegmentPricing[]; + /** The taxes used to calculate the tax total per ticket. */ + tax?: TaxInfo[]; + } + interface SegmentInfo { + /** The booking code or class for this segment. */ + bookingCode?: string; + /** The number of seats available in this booking code on this segment. */ + bookingCodeCount?: number; + /** The cabin booked for this segment. */ + cabin?: string; + /** In minutes, the duration of the connection following this segment. */ + connectionDuration?: number; + /** The duration of the flight segment in minutes. */ + duration?: number; + /** The flight this is a segment of. */ + flight?: FlightInfo; + /** An id uniquely identifying the segment in the solution. */ + id?: string; + /** + * Identifies this as a segment object. A segment is one or more consecutive legs on the same flight. For example a hypothetical flight ZZ001, from DFW to + * OGG, could have one segment with two legs: DFW to HNL (leg 1), HNL to OGG (leg 2). Value: the fixed string qpxexpress#segmentInfo. + */ + kind?: string; + /** The legs composing this segment. */ + leg?: LegInfo[]; + /** + * The solution-based index of a segment in a married segment group. Married segments can only be booked together. For example, an airline might report a + * certain booking code as sold out from Boston to Pittsburgh, but as available as part of two married segments Boston to Chicago connecting through + * Pittsburgh. For example content of this field, consider the round-trip flight ZZ1 PHX-PHL ZZ2 PHL-CLT ZZ3 CLT-PHX. This has three segments, with the + * two outbound ones (ZZ1 ZZ2) married. In this case, the two outbound segments belong to married segment group 0, and the return segment belongs to + * married segment group 1. + */ + marriedSegmentGroup?: string; + /** Whether the operation of this segment remains subject to government approval. */ + subjectToGovernmentApproval?: boolean; + } + interface SegmentPricing { + /** A segment identifier unique within a single solution. It is used to refer to different parts of the same solution. */ + fareId?: string; + /** Details of the free baggage allowance on this segment. */ + freeBaggageOption?: FreeBaggageAllowance[]; + /** Identifies this as a segment pricing object, representing the price of this segment. Value: the fixed string qpxexpress#segmentPricing. */ + kind?: string; + /** Unique identifier in the response of this segment. */ + segmentId?: string; + } + interface SliceInfo { + /** The duration of the slice in minutes. */ + duration?: number; + /** + * Identifies this as a slice object. A slice represents a traveller's intent, the portion of a low-fare search corresponding to a traveler's request to + * get between two points. One-way journeys are generally expressed using 1 slice, round-trips using 2. Value: the fixed string qpxexpress#sliceInfo. + */ + kind?: string; + /** The segment(s) constituting the slice. */ + segment?: SegmentInfo[]; + } + interface SliceInput { + /** + * Slices with only the carriers in this alliance should be returned; do not use this field with permittedCarrier. Allowed values are ONEWORLD, SKYTEAM, + * and STAR. + */ + alliance?: string; + /** Departure date in YYYY-MM-DD format. */ + date?: string; + /** Airport or city IATA designator of the destination. */ + destination?: string; + /** Identifies this as a slice input object, representing the criteria a desired slice must satisfy. Value: the fixed string qpxexpress#sliceInput. */ + kind?: string; + /** The longest connection between two legs, in minutes, you are willing to accept. */ + maxConnectionDuration?: number; + /** The maximum number of stops you are willing to accept in this slice. */ + maxStops?: number; + /** Airport or city IATA designator of the origin. */ + origin?: string; + /** A list of 2-letter IATA airline designators. Slices with only these carriers should be returned. */ + permittedCarrier?: string[]; + /** Slices must depart in this time of day range, local to the point of departure. */ + permittedDepartureTime?: TimeOfDayRange; + /** Prefer solutions that book in this cabin for this slice. Allowed values are COACH, PREMIUM_COACH, BUSINESS, and FIRST. */ + preferredCabin?: string; + /** A list of 2-letter IATA airline designators. Exclude slices that use these carriers. */ + prohibitedCarrier?: string[]; + } + interface TaxData { + /** An identifier uniquely identifying a tax in a response. */ + id?: string; + /** Identifies this as a tax data object, representing some tax. Value: the fixed string qpxexpress#taxData. */ + kind?: string; + /** The name of a tax. */ + name?: string; + } + interface TaxInfo { + /** Whether this is a government charge or a carrier surcharge. */ + chargeType?: string; + /** The code to enter in the ticket's tax box. */ + code?: string; + /** For government charges, the country levying the charge. */ + country?: string; + /** Identifier uniquely identifying this tax in a response. Not present for unnamed carrier surcharges. */ + id?: string; + /** Identifies this as a tax information object. Value: the fixed string qpxexpress#taxInfo. */ + kind?: string; + /** The price of the tax in the sales or equivalent currency. */ + salePrice?: string; + } + interface TimeOfDayRange { + /** The earliest time of day in HH:MM format. */ + earliestTime?: string; + /** + * Identifies this as a time of day range object, representing two times in a single day defining a time range. Value: the fixed string + * qpxexpress#timeOfDayRange. + */ + kind?: string; + /** The latest time of day in HH:MM format. */ + latestTime?: string; + } + interface TripOption { + /** Identifier uniquely identifying this trip in a response. */ + id?: string; + /** Identifies this as a trip information object. Value: the fixed string qpxexpress#tripOption. */ + kind?: string; + /** Per passenger pricing information. */ + pricing?: PricingInfo[]; + /** The total price for all passengers on the trip, in the form of a currency followed by an amount, e.g. USD253.35. */ + saleTotal?: string; + /** The slices that make up this trip's itinerary. */ + slice?: SliceInfo[]; + } + interface TripOptionsRequest { + /** + * Do not return solutions that cost more than this price. The alphabetical part of the price is in ISO 4217. The format, in regex, is [A-Z]{3}\d+(\.\d+)? + * Example: $102.07 + */ + maxPrice?: string; + /** Counts for each passenger type in the request. */ + passengers?: PassengerCounts; + /** Return only solutions with refundable fares. */ + refundable?: boolean; + /** IATA country code representing the point of sale. This determines the "equivalent amount paid" currency for the ticket. */ + saleCountry?: string; + /** + * The slices that make up the itinerary of this trip. A slice represents a traveler's intent, the portion of a low-fare search corresponding to a + * traveler's request to get between two points. One-way journeys are generally expressed using one slice, round-trips using two. An example of a one + * slice trip with three segments might be BOS-SYD, SYD-LAX, LAX-BOS if the traveler only stopped in SYD and LAX just long enough to change planes. + */ + slice?: SliceInput[]; + /** The number of solutions to return, maximum 500. */ + solutions?: number; + /** IATA country code representing the point of ticketing. */ + ticketingCountry?: string; + } + interface TripOptionsResponse { + /** Informational data global to list of solutions. */ + data?: Data; + /** Identifies this as a QPX Express trip response object, which consists of zero or more solutions. Value: the fixed string qpxexpress#tripOptions. */ + kind?: string; + /** An identifier uniquely identifying this response. */ + requestId?: string; + /** A list of priced itinerary solutions to the QPX Express query. */ + tripOption?: TripOption[]; + } + interface TripsSearchRequest { + /** A QPX Express search request. Required values are at least one adult or senior passenger, an origin, a destination, and a date. */ + request?: TripOptionsRequest; + } + interface TripsSearchResponse { + /** Identifies this as a QPX Express API search response resource. Value: the fixed string qpxExpress#tripsSearch. */ + kind?: string; + /** All possible solutions to the QPX Express search request. */ + trips?: TripOptionsResponse; + } + interface TripsResource { + /** Returns a list of flights. */ + search(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TripsSearchResponse>; + } + } +} diff --git a/types/gapi.client.qpxexpress/readme.md b/types/gapi.client.qpxexpress/readme.md new file mode 100644 index 0000000000..e881d44ec3 --- /dev/null +++ b/types/gapi.client.qpxexpress/readme.md @@ -0,0 +1,40 @@ +# TypeScript typings for QPX Express API v1 +Finds the least expensive flights between an origin and a destination. +For detailed description please check [documentation](http://developers.google.com/qpx-express). + +## Installing + +Install typings for QPX Express API: +``` +npm install @types/gapi.client.qpxexpress@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('qpxexpress', 'v1', () => { + // now we can use gapi.client.qpxexpress + // ... +}); +``` + + + +After that you can use QPX Express API resources: + +```typescript + +/* +Returns a list of flights. +*/ +await gapi.client.trips.search({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.qpxexpress/tsconfig.json b/types/gapi.client.qpxexpress/tsconfig.json new file mode 100644 index 0000000000..759fd511d6 --- /dev/null +++ b/types/gapi.client.qpxexpress/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.qpxexpress-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.qpxexpress/tslint.json b/types/gapi.client.qpxexpress/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.qpxexpress/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.reseller/gapi.client.reseller-tests.ts b/types/gapi.client.reseller/gapi.client.reseller-tests.ts new file mode 100644 index 0000000000..2bb4e2822e --- /dev/null +++ b/types/gapi.client.reseller/gapi.client.reseller-tests.ts @@ -0,0 +1,121 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('reseller', 'v1', () => { + /** now we can use gapi.client.reseller */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage users on your domain */ + 'https://www.googleapis.com/auth/apps.order', + /** Manage users on your domain */ + 'https://www.googleapis.com/auth/apps.order.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Get a customer account. */ + await gapi.client.customers.get({ + customerId: "customerId", + }); + /** Order a new customer's account. */ + await gapi.client.customers.insert({ + customerAuthToken: "customerAuthToken", + }); + /** Update a customer account's settings. This method supports patch semantics. */ + await gapi.client.customers.patch({ + customerId: "customerId", + }); + /** Update a customer account's settings. */ + await gapi.client.customers.update({ + customerId: "customerId", + }); + /** Returns all the details of the watch corresponding to the reseller. */ + await gapi.client.resellernotify.getwatchdetails({ + }); + /** Registers a Reseller for receiving notifications. */ + await gapi.client.resellernotify.register({ + serviceAccountEmailAddress: "serviceAccountEmailAddress", + }); + /** Unregisters a Reseller for receiving notifications. */ + await gapi.client.resellernotify.unregister({ + serviceAccountEmailAddress: "serviceAccountEmailAddress", + }); + /** Activates a subscription previously suspended by the reseller */ + await gapi.client.subscriptions.activate({ + customerId: "customerId", + subscriptionId: "subscriptionId", + }); + /** + * Update a subscription plan. Use this method to update a plan for a 30-day trial or a flexible plan subscription to an annual commitment plan with + * monthly or yearly payments. + */ + await gapi.client.subscriptions.changePlan({ + customerId: "customerId", + subscriptionId: "subscriptionId", + }); + /** Update a user license's renewal settings. This is applicable for accounts with annual commitment plans only. */ + await gapi.client.subscriptions.changeRenewalSettings({ + customerId: "customerId", + subscriptionId: "subscriptionId", + }); + /** Update a subscription's user license settings. */ + await gapi.client.subscriptions.changeSeats({ + customerId: "customerId", + subscriptionId: "subscriptionId", + }); + /** Cancel, suspend or transfer a subscription to direct. */ + await gapi.client.subscriptions.delete({ + customerId: "customerId", + deletionType: "deletionType", + subscriptionId: "subscriptionId", + }); + /** Get a specific subscription. */ + await gapi.client.subscriptions.get({ + customerId: "customerId", + subscriptionId: "subscriptionId", + }); + /** Create or transfer a subscription. */ + await gapi.client.subscriptions.insert({ + customerAuthToken: "customerAuthToken", + customerId: "customerId", + }); + /** + * List of subscriptions managed by the reseller. The list can be all subscriptions, all of a customer's subscriptions, or all of a customer's + * transferable subscriptions. + */ + await gapi.client.subscriptions.list({ + customerAuthToken: "customerAuthToken", + customerId: "customerId", + customerNamePrefix: "customerNamePrefix", + maxResults: 4, + pageToken: "pageToken", + }); + /** Immediately move a 30-day free trial subscription to a paid service subscription. */ + await gapi.client.subscriptions.startPaidService({ + customerId: "customerId", + subscriptionId: "subscriptionId", + }); + /** Suspends an active subscription. */ + await gapi.client.subscriptions.suspend({ + customerId: "customerId", + subscriptionId: "subscriptionId", + }); + } +}); diff --git a/types/gapi.client.reseller/index.d.ts b/types/gapi.client.reseller/index.d.ts new file mode 100644 index 0000000000..dd09c51e7e --- /dev/null +++ b/types/gapi.client.reseller/index.d.ts @@ -0,0 +1,793 @@ +// Type definitions for Google Enterprise Apps Reseller API v1 1.0 +// Project: https://developers.google.com/google-apps/reseller/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/reseller/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Enterprise Apps Reseller API v1 */ + function load(name: "reseller", version: "v1"): PromiseLike<void>; + function load(name: "reseller", version: "v1", callback: () => any): void; + + const customers: reseller.CustomersResource; + + const resellernotify: reseller.ResellernotifyResource; + + const subscriptions: reseller.SubscriptionsResource; + + namespace reseller { + interface Address { + /** A customer's physical address. An address can be composed of one to three lines. The addressline2 and addressLine3 are optional. */ + addressLine1?: string; + /** Line 2 of the address. */ + addressLine2?: string; + /** Line 3 of the address. */ + addressLine3?: string; + /** The customer contact's name. This is required. */ + contactName?: string; + /** + * For countryCode information, see the ISO 3166 country code elements. Verify that country is approved for resale of Google products. This property is + * required when creating a new customer. + */ + countryCode?: string; + /** Identifies the resource as a customer address. Value: customers#address */ + kind?: string; + /** An example of a locality value is the city of San Francisco. */ + locality?: string; + /** The company or company division name. This is required. */ + organizationName?: string; + /** A postalCode example is a postal zip code such as 94043. This property is required when creating a new customer. */ + postalCode?: string; + /** An example of a region value is CA for the state of California. */ + region?: string; + } + interface ChangePlanRequest { + /** + * Google-issued code (100 char max) for discounted pricing on subscription plans. Deal code must be included in changePlan request in order to receive + * discounted rate. This property is optional. If a deal code has already been added to a subscription, this property may be left empty and the existing + * discounted rate will still apply (if not empty, only provide the deal code that is already present on the subscription). If a deal code has never been + * added to a subscription and this property is left blank, regular pricing will apply. + */ + dealCode?: string; + /** Identifies the resource as a subscription change plan request. Value: subscriptions#changePlanRequest */ + kind?: string; + /** + * The planName property is required. This is the name of the subscription's payment plan. For more information about the Google payment plans, see API + * concepts. + * + * Possible values are: + * - ANNUAL_MONTHLY_PAY - The annual commitment plan with monthly payments + * - ANNUAL_YEARLY_PAY - The annual commitment plan with yearly payments + * - FLEXIBLE - The flexible plan + * - TRIAL - The 30-day free trial plan + */ + planName?: string; + /** + * This is an optional property. This purchase order (PO) information is for resellers to use for their company tracking usage. If a purchaseOrderId value + * is given it appears in the API responses and shows up in the invoice. The property accepts up to 80 plain text characters. + */ + purchaseOrderId?: string; + /** This is a required property. The seats property is the number of user seat licenses. */ + seats?: Seats; + } + interface Customer { + /** + * Like the "Customer email" in the reseller tools, this email is the secondary contact used if something happens to the customer's service such as + * service outage or a security issue. This property is required when creating a new customer and should not use the same domain as customerDomain. + */ + alternateEmail?: string; + /** + * The customer's primary domain name string. customerDomain is required when creating a new customer. Do not include the www prefix in the domain when + * adding a customer. + */ + customerDomain?: string; + /** Whether the customer's primary domain has been verified. */ + customerDomainVerified?: boolean; + /** + * This property will always be returned in a response as the unique identifier generated by Google. In a request, this property can be either the primary + * domain or the unique identifier generated by Google. + */ + customerId?: string; + /** Identifies the resource as a customer. Value: reseller#customer */ + kind?: string; + /** + * Customer contact phone number. This can be continuous numbers, with spaces, etc. But it must be a real phone number and not, for example, "123". See + * phone local format conventions. + */ + phoneNumber?: string; + /** A customer's address information. Each field has a limit of 255 charcters. */ + postalAddress?: Address; + /** + * URL to customer's Admin console dashboard. The read-only URL is generated by the API service. This is used if your client application requires the + * customer to complete a task in the Admin console. + */ + resourceUiUrl?: string; + } + interface RenewalSettings { + /** Identifies the resource as a subscription renewal setting. Value: subscriptions#renewalSettings */ + kind?: string; + /** + * Renewal settings for the annual commitment plan. For more detailed information, see renewal options in the administrator help center. When renewing a + * subscription, the renewalType is a required property. + */ + renewalType?: string; + } + interface ResellernotifyGetwatchdetailsResponse { + /** List of registered service accounts. */ + serviceAccountEmailAddresses?: string[]; + /** Topic name of the PubSub */ + topicName?: string; + } + interface ResellernotifyResource { + /** Topic name of the PubSub */ + topicName?: string; + } + interface Seats { + /** Identifies the resource as a subscription change plan request. Value: subscriptions#seats */ + kind?: string; + /** + * Read-only field containing the current number of licensed seats for FLEXIBLE Google-Apps subscriptions and secondary subscriptions such as Google-Vault + * and Drive-storage. + */ + licensedNumberOfSeats?: number; + /** + * The maximumNumberOfSeats property is the maximum number of licenses that the customer can purchase. This property applies to plans other than the + * annual commitment plan. How a user's licenses are managed depends on the subscription's payment plan: + * - annual commitment plan (with monthly or yearly payments) — For this plan, a reseller is invoiced on the number of user licenses in the numberOfSeats + * property. The maximumNumberOfSeats property is a read-only property in the API's response. + * - flexible plan — For this plan, a reseller is invoiced on the actual number of users which is capped by the maximumNumberOfSeats. This is the maximum + * number of user licenses a customer has for user license provisioning. This quantity can be increased up to the maximum limit defined in the reseller's + * contract. And the minimum quantity is the current number of users in the customer account. + * - 30-day free trial plan — A subscription in a 30-day free trial is restricted to maximum 10 seats. + */ + maximumNumberOfSeats?: number; + /** + * The numberOfSeats property holds the customer's number of user licenses. How a user's licenses are managed depends on the subscription's plan: + * - annual commitment plan (with monthly or yearly pay) — For this plan, a reseller is invoiced on the number of user licenses in the numberOfSeats + * property. This is the maximum number of user licenses that a reseller's customer can create. The reseller can add more licenses, but once set, the + * numberOfSeats can not be reduced until renewal. The reseller is invoiced based on the numberOfSeats value regardless of how many of these user licenses + * are provisioned users. + * - flexible plan — For this plan, a reseller is invoiced on the actual number of users which is capped by the maximumNumberOfSeats. The numberOfSeats + * property is not used in the request or response for flexible plan customers. + * - 30-day free trial plan — The numberOfSeats property is not used in the request or response for an account in a 30-day trial. + */ + numberOfSeats?: number; + } + interface Subscription { + /** Read-only field that returns the current billing method for a subscription. */ + billingMethod?: string; + /** The creationTime property is the date when subscription was created. It is in milliseconds using the Epoch format. See an example Epoch converter. */ + creationTime?: string; + /** Primary domain name of the customer */ + customerDomain?: string; + /** + * This property will always be returned in a response as the unique identifier generated by Google. In a request, this property can be either the primary + * domain or the unique identifier generated by Google. + */ + customerId?: string; + /** + * Google-issued code (100 char max) for discounted pricing on subscription plans. Deal code must be included in insert requests in order to receive + * discounted rate. This property is optional, regular pricing applies if left empty. + */ + dealCode?: string; + /** Identifies the resource as a Subscription. Value: reseller#subscription */ + kind?: string; + /** + * The plan property is required. In this version of the API, the G Suite plans are the flexible plan, annual commitment plan, and the 30-day free trial + * plan. For more information about the API"s payment plans, see the API concepts. + */ + plan?: { + /** In this version of the API, annual commitment plan's interval is one year. */ + commitmentInterval?: { + /** An annual commitment plan's interval's endTime in milliseconds using the UNIX Epoch format. See an example Epoch converter. */ + endTime?: string; + /** An annual commitment plan's interval's startTime in milliseconds using UNIX Epoch format. See an example Epoch converter. */ + startTime?: string; + }; + /** + * The isCommitmentPlan property's boolean value identifies the plan as an annual commitment plan: + * - true — The subscription's plan is an annual commitment plan. + * - false — The plan is not an annual commitment plan. + */ + isCommitmentPlan?: boolean; + /** + * The planName property is required. This is the name of the subscription's plan. For more information about the Google payment plans, see the API + * concepts. + * + * Possible values are: + * - ANNUAL_MONTHLY_PAY — The annual commitment plan with monthly payments + * - ANNUAL_YEARLY_PAY — The annual commitment plan with yearly payments + * - FLEXIBLE — The flexible plan + * - TRIAL — The 30-day free trial plan. A subscription in trial will be suspended after the 30th free day if no payment plan is assigned. Calling + * changePlan will assign a payment plan to a trial but will not activate the plan. A trial will automatically begin its assigned payment plan after its + * 30th free day or immediately after calling startPaidService. + */ + planName?: string; + }; + /** + * This is an optional property. This purchase order (PO) information is for resellers to use for their company tracking usage. If a purchaseOrderId value + * is given it appears in the API responses and shows up in the invoice. The property accepts up to 80 plain text characters. + */ + purchaseOrderId?: string; + /** Renewal settings for the annual commitment plan. For more detailed information, see renewal options in the administrator help center. */ + renewalSettings?: RenewalSettings; + /** + * URL to customer's Subscriptions page in the Admin console. The read-only URL is generated by the API service. This is used if your client application + * requires the customer to complete a task using the Subscriptions page in the Admin console. + */ + resourceUiUrl?: string; + /** This is a required property. The number and limit of user seat licenses in the plan. */ + seats?: Seats; + /** + * A required property. The skuId is a unique system identifier for a product's SKU assigned to a customer in the subscription. For products and SKUs + * available in this version of the API, see Product and SKU IDs. + */ + skuId?: string; + /** + * Read-only external display name for a product's SKU assigned to a customer in the subscription. SKU names are subject to change at Google's discretion. + * For products and SKUs available in this version of the API, see Product and SKU IDs. + */ + skuName?: string; + /** This is an optional property. */ + status?: string; + /** + * The subscriptionId is the subscription identifier and is unique for each customer. This is a required property. Since a subscriptionId changes when a + * subscription is updated, we recommend not using this ID as a key for persistent data. Use the subscriptionId as described in retrieve all reseller + * subscriptions. + */ + subscriptionId?: string; + /** + * Read-only field containing an enumerable of all the current suspension reasons for a subscription. It is possible for a subscription to have many + * concurrent, overlapping suspension reasons. A subscription's STATUS is SUSPENDED until all pending suspensions are removed. + * + * Possible options include: + * - PENDING_TOS_ACCEPTANCE - The customer has not logged in and accepted the G Suite Resold Terms of Services. + * - RENEWAL_WITH_TYPE_CANCEL - The customer's commitment ended and their service was cancelled at the end of their term. + * - RESELLER_INITIATED - A manual suspension invoked by a Reseller. + * - TRIAL_ENDED - The customer's trial expired without a plan selected. + * - OTHER - The customer is suspended for an internal Google reason (e.g. abuse or otherwise). + */ + suspensionReasons?: string[]; + /** Read-only transfer related information for the subscription. For more information, see retrieve transferable subscriptions for a customer. */ + transferInfo?: { + /** + * When inserting a subscription, this is the minimum number of seats listed in the transfer order for this product. For example, if the customer has 20 + * users, the reseller cannot place a transfer order of 15 seats. The minimum is 20 seats. + */ + minimumTransferableSeats?: number; + /** The time when transfer token or intent to transfer will expire. The time is in milliseconds using UNIX Epoch format. */ + transferabilityExpirationTime?: string; + }; + /** The G Suite annual commitment and flexible payment plans can be in a 30-day free trial. For more information, see the API concepts. */ + trialSettings?: { + /** + * Determines if a subscription's plan is in a 30-day free trial or not: + * - true — The plan is in trial. + * - false — The plan is not in trial. + */ + isInTrial?: boolean; + /** Date when the trial ends. The value is in milliseconds using the UNIX Epoch format. See an example Epoch converter. */ + trialEndTime?: string; + }; + } + interface Subscriptions { + /** Identifies the resource as a collection of subscriptions. Value: reseller#subscriptions */ + kind?: string; + /** The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */ + nextPageToken?: string; + /** The subscriptions in this page of results. */ + subscriptions?: Subscription[]; + } + interface CustomersResource { + /** Get a customer account. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** + * Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a + * key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. + */ + customerId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Customer>; + /** Order a new customer's account. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** + * The customerAuthToken query string is required when creating a resold account that transfers a direct customer's subscription or transfers another + * reseller customer's subscription to your reseller management. This is a hexadecimal authentication token needed to complete the subscription transfer. + * For more information, see the administrator help center. + */ + customerAuthToken?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Customer>; + /** Update a customer account's settings. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** + * Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a + * key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. + */ + customerId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Customer>; + /** Update a customer account's settings. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** + * Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a + * key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. + */ + customerId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Customer>; + } + interface ResellernotifyResource { + /** Returns all the details of the watch corresponding to the reseller. */ + getwatchdetails(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ResellernotifyGetwatchdetailsResponse>; + /** Registers a Reseller for receiving notifications. */ + register(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The service account which will own the created Cloud-PubSub topic. */ + serviceAccountEmailAddress?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ResellernotifyResource>; + /** Unregisters a Reseller for receiving notifications. */ + unregister(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The service account which owns the Cloud-PubSub topic. */ + serviceAccountEmailAddress?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ResellernotifyResource>; + } + interface SubscriptionsResource { + /** Activates a subscription previously suspended by the reseller */ + activate(request: { + /** Data format for the response. */ + alt?: string; + /** + * Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a + * key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. + */ + customerId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a + * subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all + * reseller subscriptions method. + */ + subscriptionId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Subscription>; + /** + * Update a subscription plan. Use this method to update a plan for a 30-day trial or a flexible plan subscription to an annual commitment plan with + * monthly or yearly payments. + */ + changePlan(request: { + /** Data format for the response. */ + alt?: string; + /** + * Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a + * key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. + */ + customerId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a + * subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all + * reseller subscriptions method. + */ + subscriptionId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Subscription>; + /** Update a user license's renewal settings. This is applicable for accounts with annual commitment plans only. */ + changeRenewalSettings(request: { + /** Data format for the response. */ + alt?: string; + /** + * Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a + * key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. + */ + customerId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a + * subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all + * reseller subscriptions method. + */ + subscriptionId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Subscription>; + /** Update a subscription's user license settings. */ + changeSeats(request: { + /** Data format for the response. */ + alt?: string; + /** + * Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a + * key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. + */ + customerId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a + * subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all + * reseller subscriptions method. + */ + subscriptionId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Subscription>; + /** Cancel, suspend or transfer a subscription to direct. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** + * Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a + * key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. + */ + customerId: string; + /** The deletionType query string enables the cancellation, downgrade, or suspension of a subscription. */ + deletionType: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a + * subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all + * reseller subscriptions method. + */ + subscriptionId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Get a specific subscription. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** + * Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a + * key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. + */ + customerId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a + * subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all + * reseller subscriptions method. + */ + subscriptionId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Subscription>; + /** Create or transfer a subscription. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** + * The customerAuthToken query string is required when creating a resold account that transfers a direct customer's subscription or transfers another + * reseller customer's subscription to your reseller management. This is a hexadecimal authentication token needed to complete the subscription transfer. + * For more information, see the administrator help center. + */ + customerAuthToken?: string; + /** + * Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a + * key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. + */ + customerId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Subscription>; + /** + * List of subscriptions managed by the reseller. The list can be all subscriptions, all of a customer's subscriptions, or all of a customer's + * transferable subscriptions. + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** + * The customerAuthToken query string is required when creating a resold account that transfers a direct customer's subscription or transfers another + * reseller customer's subscription to your reseller management. This is a hexadecimal authentication token needed to complete the subscription transfer. + * For more information, see the administrator help center. + */ + customerAuthToken?: string; + /** + * Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a + * key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. + */ + customerId?: string; + /** + * When retrieving all of your subscriptions and filtering for specific customers, you can enter a prefix for a customer name. Using an example customer + * group that includes exam.com, example20.com and example.com: + * - exa -- Returns all customer names that start with 'exa' which could include exam.com, example20.com, and example.com. A name prefix is similar to + * using a regular expression's asterisk, exa*. + * - example -- Returns example20.com and example.com. + */ + customerNamePrefix?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * When retrieving a large list, the maxResults is the maximum number of results per page. The nextPageToken value takes you to the next page. The default + * is 20. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Token to specify next page in the list */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Subscriptions>; + /** Immediately move a 30-day free trial subscription to a paid service subscription. */ + startPaidService(request: { + /** Data format for the response. */ + alt?: string; + /** + * Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a + * key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. + */ + customerId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a + * subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all + * reseller subscriptions method. + */ + subscriptionId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Subscription>; + /** Suspends an active subscription. */ + suspend(request: { + /** Data format for the response. */ + alt?: string; + /** + * Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a + * key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. + */ + customerId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a + * subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all + * reseller subscriptions method. + */ + subscriptionId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Subscription>; + } + } +} diff --git a/types/gapi.client.reseller/readme.md b/types/gapi.client.reseller/readme.md new file mode 100644 index 0000000000..ec4a60a6b0 --- /dev/null +++ b/types/gapi.client.reseller/readme.md @@ -0,0 +1,142 @@ +# TypeScript typings for Enterprise Apps Reseller API v1 +Creates and manages your customers and their subscriptions. +For detailed description please check [documentation](https://developers.google.com/google-apps/reseller/). + +## Installing + +Install typings for Enterprise Apps Reseller API: +``` +npm install @types/gapi.client.reseller@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('reseller', 'v1', () => { + // now we can use gapi.client.reseller + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage users on your domain + 'https://www.googleapis.com/auth/apps.order', + + // Manage users on your domain + 'https://www.googleapis.com/auth/apps.order.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Enterprise Apps Reseller API resources: + +```typescript + +/* +Get a customer account. +*/ +await gapi.client.customers.get({ customerId: "customerId", }); + +/* +Order a new customer's account. +*/ +await gapi.client.customers.insert({ }); + +/* +Update a customer account's settings. This method supports patch semantics. +*/ +await gapi.client.customers.patch({ customerId: "customerId", }); + +/* +Update a customer account's settings. +*/ +await gapi.client.customers.update({ customerId: "customerId", }); + +/* +Returns all the details of the watch corresponding to the reseller. +*/ +await gapi.client.resellernotify.getwatchdetails({ }); + +/* +Registers a Reseller for receiving notifications. +*/ +await gapi.client.resellernotify.register({ }); + +/* +Unregisters a Reseller for receiving notifications. +*/ +await gapi.client.resellernotify.unregister({ }); + +/* +Activates a subscription previously suspended by the reseller +*/ +await gapi.client.subscriptions.activate({ customerId: "customerId", subscriptionId: "subscriptionId", }); + +/* +Update a subscription plan. Use this method to update a plan for a 30-day trial or a flexible plan subscription to an annual commitment plan with monthly or yearly payments. +*/ +await gapi.client.subscriptions.changePlan({ customerId: "customerId", subscriptionId: "subscriptionId", }); + +/* +Update a user license's renewal settings. This is applicable for accounts with annual commitment plans only. +*/ +await gapi.client.subscriptions.changeRenewalSettings({ customerId: "customerId", subscriptionId: "subscriptionId", }); + +/* +Update a subscription's user license settings. +*/ +await gapi.client.subscriptions.changeSeats({ customerId: "customerId", subscriptionId: "subscriptionId", }); + +/* +Cancel, suspend or transfer a subscription to direct. +*/ +await gapi.client.subscriptions.delete({ customerId: "customerId", deletionType: "deletionType", subscriptionId: "subscriptionId", }); + +/* +Get a specific subscription. +*/ +await gapi.client.subscriptions.get({ customerId: "customerId", subscriptionId: "subscriptionId", }); + +/* +Create or transfer a subscription. +*/ +await gapi.client.subscriptions.insert({ customerId: "customerId", }); + +/* +List of subscriptions managed by the reseller. The list can be all subscriptions, all of a customer's subscriptions, or all of a customer's transferable subscriptions. +*/ +await gapi.client.subscriptions.list({ }); + +/* +Immediately move a 30-day free trial subscription to a paid service subscription. +*/ +await gapi.client.subscriptions.startPaidService({ customerId: "customerId", subscriptionId: "subscriptionId", }); + +/* +Suspends an active subscription. +*/ +await gapi.client.subscriptions.suspend({ customerId: "customerId", subscriptionId: "subscriptionId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.reseller/tsconfig.json b/types/gapi.client.reseller/tsconfig.json new file mode 100644 index 0000000000..62660a16cc --- /dev/null +++ b/types/gapi.client.reseller/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.reseller-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.reseller/tslint.json b/types/gapi.client.reseller/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.reseller/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.resourceviews/gapi.client.resourceviews-tests.ts b/types/gapi.client.resourceviews/gapi.client.resourceviews-tests.ts new file mode 100644 index 0000000000..7e4788940f --- /dev/null +++ b/types/gapi.client.resourceviews/gapi.client.resourceviews-tests.ts @@ -0,0 +1,116 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('resourceviews', 'v1beta2', () => { + /** now we can use gapi.client.resourceviews */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform.read-only', + /** View and manage your Google Compute Engine resources */ + 'https://www.googleapis.com/auth/compute', + /** View your Google Compute Engine resources */ + 'https://www.googleapis.com/auth/compute.readonly', + /** View and manage your Google Cloud Platform management resources and deployment status information */ + 'https://www.googleapis.com/auth/ndev.cloudman', + /** View your Google Cloud Platform management resources and deployment status information */ + 'https://www.googleapis.com/auth/ndev.cloudman.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Retrieves the specified zone-specific operation resource. */ + await gapi.client.zoneOperations.get({ + operation: "operation", + project: "project", + zone: "zone", + }); + /** Retrieves the list of operation resources contained within the specified zone. */ + await gapi.client.zoneOperations.list({ + filter: "filter", + maxResults: 2, + pageToken: "pageToken", + project: "project", + zone: "zone", + }); + /** Add resources to the view. */ + await gapi.client.zoneViews.addResources({ + project: "project", + resourceView: "resourceView", + zone: "zone", + }); + /** Delete a resource view. */ + await gapi.client.zoneViews.delete({ + project: "project", + resourceView: "resourceView", + zone: "zone", + }); + /** Get the information of a zonal resource view. */ + await gapi.client.zoneViews.get({ + project: "project", + resourceView: "resourceView", + zone: "zone", + }); + /** Get the service information of a resource view or a resource. */ + await gapi.client.zoneViews.getService({ + project: "project", + resourceName: "resourceName", + resourceView: "resourceView", + zone: "zone", + }); + /** Create a resource view. */ + await gapi.client.zoneViews.insert({ + project: "project", + zone: "zone", + }); + /** List resource views. */ + await gapi.client.zoneViews.list({ + maxResults: 1, + pageToken: "pageToken", + project: "project", + zone: "zone", + }); + /** List the resources of the resource view. */ + await gapi.client.zoneViews.listResources({ + format: "format", + listState: "listState", + maxResults: 3, + pageToken: "pageToken", + project: "project", + resourceView: "resourceView", + serviceName: "serviceName", + zone: "zone", + }); + /** Remove resources from the view. */ + await gapi.client.zoneViews.removeResources({ + project: "project", + resourceView: "resourceView", + zone: "zone", + }); + /** Update the service information of a resource view or a resource. */ + await gapi.client.zoneViews.setService({ + project: "project", + resourceView: "resourceView", + zone: "zone", + }); + } +}); diff --git a/types/gapi.client.resourceviews/index.d.ts b/types/gapi.client.resourceviews/index.d.ts new file mode 100644 index 0000000000..35960c3d95 --- /dev/null +++ b/types/gapi.client.resourceviews/index.d.ts @@ -0,0 +1,505 @@ +// Type definitions for Google Google Compute Engine Instance Groups API v1beta2 1.0 +// Project: https://developers.google.com/compute/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/resourceviews/v1beta2/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Compute Engine Instance Groups API v1beta2 */ + function load(name: "resourceviews", version: "v1beta2"): PromiseLike<void>; + function load(name: "resourceviews", version: "v1beta2", callback: () => any): void; + + const zoneOperations: resourceviews.ZoneOperationsResource; + + const zoneViews: resourceviews.ZoneViewsResource; + + namespace resourceviews { + interface Label { + /** Key of the label. */ + key?: string; + /** Value of the label. */ + value?: string; + } + interface ListResourceResponseItem { + /** The list of service end points on the resource. */ + endpoints?: Record<string, number[]>; + /** The full URL of the resource. */ + resource?: string; + } + interface Operation { + /** + * [Output only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the + * project. + */ + clientOperationId?: string; + /** [Output Only] The time that this operation was requested, in RFC3339 text format. */ + creationTimestamp?: string; + /** [Output Only] The time that this operation was completed, in RFC3339 text format. */ + endTime?: string; + /** [Output Only] If errors occurred during processing of this operation, this field will be populated. */ + error?: { + /** [Output Only] The array of errors encountered while processing this operation. */ + errors?: Array<{ + /** [Output Only] The error type identifier for this error. */ + code?: string; + /** [Output Only] Indicates the field in the request which caused the error. This property is optional. */ + location?: string; + /** [Output Only] An optional, human-readable error message. */ + message?: string; + }>; + }; + /** [Output only] If operation fails, the HTTP error message returned. */ + httpErrorMessage?: string; + /** [Output only] If operation fails, the HTTP error status code returned. */ + httpErrorStatusCode?: number; + /** [Output Only] Unique identifier for the resource, generated by the server. */ + id?: string; + /** [Output Only] The time that this operation was requested, in RFC3339 text format. */ + insertTime?: string; + /** [Output only] Type of the resource. */ + kind?: string; + /** [Output Only] Name of the resource. */ + name?: string; + /** [Output only] Type of the operation. Operations include insert, update, and delete. */ + operationType?: string; + /** + * [Output only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of + * operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation + * progresses. + */ + progress?: number; + /** [Output Only] URL of the region where the operation resides. Only available when performing regional operations. */ + region?: string; + /** [Output Only] Server-defined fully-qualified URL for this resource. */ + selfLink?: string; + /** [Output Only] The time that this operation was started by the server, in RFC3339 text format. */ + startTime?: string; + /** [Output Only] Status of the operation. */ + status?: string; + /** [Output Only] An optional textual description of the current status of the operation. */ + statusMessage?: string; + /** [Output Only] Unique target ID which identifies a particular incarnation of the target. */ + targetId?: string; + /** [Output only] URL of the resource the operation is mutating. */ + targetLink?: string; + /** [Output Only] User who requested the operation, for example: user@example.com. */ + user?: string; + /** [Output Only] If there are issues with this operation, a warning is returned. */ + warnings?: Array<{ + /** [Output only] The warning type identifier for this warning. */ + code?: string; + /** [Output only] Metadata for this warning in key:value format. */ + data?: Array<{ + /** [Output Only] Metadata key for this warning. */ + key?: string; + /** [Output Only] Metadata value for this warning. */ + value?: string; + }>; + /** [Output only] Optional human-readable details for this warning. */ + message?: string; + }>; + /** [Output Only] URL of the zone where the operation resides. Only available when performing per-zone operations. */ + zone?: string; + } + interface OperationList { + /** Unique identifier for the resource; defined by the server (output only). */ + id?: string; + /** The operation resources. */ + items?: Operation[]; + /** Type of resource. */ + kind?: string; + /** A token used to continue a truncated list request (output only). */ + nextPageToken?: string; + /** Server defined URL for this resource (output only). */ + selfLink?: string; + } + interface ResourceView { + /** The creation time of the resource view. */ + creationTimestamp?: string; + /** The detailed description of the resource view. */ + description?: string; + /** Services endpoint information. */ + endpoints?: ServiceEndpoint[]; + /** The fingerprint of the service endpoint information. */ + fingerprint?: string; + /** [Output Only] The ID of the resource view. */ + id?: string; + /** Type of the resource. */ + kind?: string; + /** The labels for events. */ + labels?: Label[]; + /** The name of the resource view. */ + name?: string; + /** The URL of a Compute Engine network to which the resources in the view belong. */ + network?: string; + /** A list of all resources in the resource view. */ + resources?: string[]; + /** [Output Only] A self-link to the resource view. */ + selfLink?: string; + /** The total number of resources in the resource view. */ + size?: number; + } + interface ServiceEndpoint { + /** The name of the service endpoint. */ + name?: string; + /** The port of the service endpoint. */ + port?: number; + } + interface ZoneViewsAddResourcesRequest { + /** The list of resources to be added. */ + resources?: string[]; + } + interface ZoneViewsGetServiceResponse { + /** The service information. */ + endpoints?: ServiceEndpoint[]; + /** The fingerprint of the service information. */ + fingerprint?: string; + } + interface ZoneViewsList { + /** The result that contains all resource views that meet the criteria. */ + items?: ResourceView[]; + /** Type of resource. */ + kind?: string; + /** A token used for pagination. */ + nextPageToken?: string; + /** Server defined URL for this resource (output only). */ + selfLink?: string; + } + interface ZoneViewsListResourcesResponse { + /** The formatted JSON that is requested by the user. */ + items?: ListResourceResponseItem[]; + /** The URL of a Compute Engine network to which the resources in the view belong. */ + network?: string; + /** A token used for pagination. */ + nextPageToken?: string; + } + interface ZoneViewsRemoveResourcesRequest { + /** The list of resources to be removed. */ + resources?: string[]; + } + interface ZoneViewsSetServiceRequest { + /** The service information to be updated. */ + endpoints?: ServiceEndpoint[]; + /** Fingerprint of the service information; a hash of the contents. This field is used for optimistic locking when updating the service entries. */ + fingerprint?: string; + /** The name of the resource if user wants to update the service information of the resource. */ + resourceName?: string; + } + interface ZoneOperationsResource { + /** Retrieves the specified zone-specific operation resource. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the operation resource to return. */ + operation: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Name of the project scoping this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Name of the zone scoping this request. */ + zone: string; + }): Request<Operation>; + /** Retrieves the list of operation resources contained within the specified zone. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Optional. Filter expression for filtering listed resources. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 500. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Name of the project scoping this request. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** Name of the zone scoping this request. */ + zone: string; + }): Request<OperationList>; + } + interface ZoneViewsResource { + /** Add resources to the view. */ + addResources(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project name of the resource view. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The name of the resource view. */ + resourceView: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The zone name of the resource view. */ + zone: string; + }): Request<Operation>; + /** Delete a resource view. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project name of the resource view. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The name of the resource view. */ + resourceView: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The zone name of the resource view. */ + zone: string; + }): Request<Operation>; + /** Get the information of a zonal resource view. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project name of the resource view. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The name of the resource view. */ + resourceView: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The zone name of the resource view. */ + zone: string; + }): Request<ResourceView>; + /** Get the service information of a resource view or a resource. */ + getService(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project name of the resource view. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The name of the resource if user wants to get the service information of the resource. */ + resourceName?: string; + /** The name of the resource view. */ + resourceView: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The zone name of the resource view. */ + zone: string; + }): Request<ZoneViewsGetServiceResponse>; + /** Create a resource view. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project name of the resource view. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The zone name of the resource view. */ + zone: string; + }): Request<Operation>; + /** List resource views. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000) */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project name of the resource view. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The zone name of the resource view. */ + zone: string; + }): Request<ZoneViewsList>; + /** List the resources of the resource view. */ + listResources(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The requested format of the return value. It can be URL or URL_PORT. A JSON object will be included in the response based on the format. The default + * format is NONE, which results in no JSON in the response. + */ + format?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The state of the instance to list. By default, it lists all instances. */ + listState?: string; + /** Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000) */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project name of the resource view. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The name of the resource view. */ + resourceView: string; + /** The service name to return in the response. It is optional and if it is not set, all the service end points will be returned. */ + serviceName?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The zone name of the resource view. */ + zone: string; + }): Request<ZoneViewsListResourcesResponse>; + /** Remove resources from the view. */ + removeResources(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project name of the resource view. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The name of the resource view. */ + resourceView: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The zone name of the resource view. */ + zone: string; + }): Request<Operation>; + /** Update the service information of a resource view or a resource. */ + setService(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project name of the resource view. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The name of the resource view. */ + resourceView: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The zone name of the resource view. */ + zone: string; + }): Request<Operation>; + } + } +} diff --git a/types/gapi.client.resourceviews/readme.md b/types/gapi.client.resourceviews/readme.md new file mode 100644 index 0000000000..76b71ca6a0 --- /dev/null +++ b/types/gapi.client.resourceviews/readme.md @@ -0,0 +1,124 @@ +# TypeScript typings for Google Compute Engine Instance Groups API v1beta2 +The Resource View API allows users to create and manage logical sets of Google Compute Engine instances. +For detailed description please check [documentation](https://developers.google.com/compute/). + +## Installing + +Install typings for Google Compute Engine Instance Groups API: +``` +npm install @types/gapi.client.resourceviews@v1beta2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('resourceviews', 'v1beta2', () => { + // now we can use gapi.client.resourceviews + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform.read-only', + + // View and manage your Google Compute Engine resources + 'https://www.googleapis.com/auth/compute', + + // View your Google Compute Engine resources + 'https://www.googleapis.com/auth/compute.readonly', + + // View and manage your Google Cloud Platform management resources and deployment status information + 'https://www.googleapis.com/auth/ndev.cloudman', + + // View your Google Cloud Platform management resources and deployment status information + 'https://www.googleapis.com/auth/ndev.cloudman.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Compute Engine Instance Groups API resources: + +```typescript + +/* +Retrieves the specified zone-specific operation resource. +*/ +await gapi.client.zoneOperations.get({ operation: "operation", project: "project", zone: "zone", }); + +/* +Retrieves the list of operation resources contained within the specified zone. +*/ +await gapi.client.zoneOperations.list({ project: "project", zone: "zone", }); + +/* +Add resources to the view. +*/ +await gapi.client.zoneViews.addResources({ project: "project", resourceView: "resourceView", zone: "zone", }); + +/* +Delete a resource view. +*/ +await gapi.client.zoneViews.delete({ project: "project", resourceView: "resourceView", zone: "zone", }); + +/* +Get the information of a zonal resource view. +*/ +await gapi.client.zoneViews.get({ project: "project", resourceView: "resourceView", zone: "zone", }); + +/* +Get the service information of a resource view or a resource. +*/ +await gapi.client.zoneViews.getService({ project: "project", resourceView: "resourceView", zone: "zone", }); + +/* +Create a resource view. +*/ +await gapi.client.zoneViews.insert({ project: "project", zone: "zone", }); + +/* +List resource views. +*/ +await gapi.client.zoneViews.list({ project: "project", zone: "zone", }); + +/* +List the resources of the resource view. +*/ +await gapi.client.zoneViews.listResources({ project: "project", resourceView: "resourceView", zone: "zone", }); + +/* +Remove resources from the view. +*/ +await gapi.client.zoneViews.removeResources({ project: "project", resourceView: "resourceView", zone: "zone", }); + +/* +Update the service information of a resource view or a resource. +*/ +await gapi.client.zoneViews.setService({ project: "project", resourceView: "resourceView", zone: "zone", }); +``` \ No newline at end of file diff --git a/types/gapi.client.resourceviews/tsconfig.json b/types/gapi.client.resourceviews/tsconfig.json new file mode 100644 index 0000000000..d910ac6b45 --- /dev/null +++ b/types/gapi.client.resourceviews/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.resourceviews-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.resourceviews/tslint.json b/types/gapi.client.resourceviews/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.resourceviews/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.runtimeconfig/gapi.client.runtimeconfig-tests.ts b/types/gapi.client.runtimeconfig/gapi.client.runtimeconfig-tests.ts new file mode 100644 index 0000000000..87c61d3697 --- /dev/null +++ b/types/gapi.client.runtimeconfig/gapi.client.runtimeconfig-tests.ts @@ -0,0 +1,76 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('runtimeconfig', 'v1', () => { + /** now we can use gapi.client.runtimeconfig */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** Manage your Google Cloud Platform services' runtime configuration */ + 'https://www.googleapis.com/auth/cloudruntimeconfig', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not + * guaranteed. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use + * Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, + * the operation is not deleted; instead, it becomes an operation with + * an Operation.error value with a google.rpc.Status.code of 1, + * corresponding to `Code.CANCELLED`. + */ + await gapi.client.operations.cancel({ + name: "name", + }); + /** + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + */ + await gapi.client.operations.delete({ + name: "name", + }); + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding allows API services to override the binding + * to use different resource name schemes, such as `users/*/operations`. To + * override the binding, API services can add a binding such as + * `"/v1/{name=users/*}/operations"` to their service configuration. + * For backwards compatibility, the default name includes the operations + * collection id, however overriding users must ensure the name binding + * is the parent resource, without the operations collection id. + */ + await gapi.client.operations.list({ + filter: "filter", + name: "name", + pageSize: 3, + pageToken: "pageToken", + }); + } +}); diff --git a/types/gapi.client.runtimeconfig/index.d.ts b/types/gapi.client.runtimeconfig/index.d.ts new file mode 100644 index 0000000000..9f2121e39c --- /dev/null +++ b/types/gapi.client.runtimeconfig/index.d.ts @@ -0,0 +1,206 @@ +// Type definitions for Google Google Cloud Runtime Configuration API v1 1.0 +// Project: https://cloud.google.com/deployment-manager/runtime-configurator/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://runtimeconfig.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Cloud Runtime Configuration API v1 */ + function load(name: "runtimeconfig", version: "v1"): PromiseLike<void>; + function load(name: "runtimeconfig", version: "v1", callback: () => any): void; + + const operations: runtimeconfig.OperationsResource; + + namespace runtimeconfig { + interface ListOperationsResponse { + /** The standard List next-page token. */ + nextPageToken?: string; + /** A list of operations that matches the specified filter in the request. */ + operations?: Operation[]; + } + interface Operation { + /** + * If the value is `false`, it means the operation is still in progress. + * If `true`, the operation is completed, and either `error` or `response` is + * available. + */ + done?: boolean; + /** The error result of the operation in case of failure or cancellation. */ + error?: Status; + /** + * Service-specific metadata associated with the operation. It typically + * contains progress information and common metadata such as create time. + * Some services might not provide such metadata. Any method that returns a + * long-running operation should document the metadata type, if any. + */ + metadata?: Record<string, any>; + /** + * The server-assigned name, which is only unique within the same service that + * originally returns it. If you use the default HTTP mapping, the + * `name` should have the format of `operations/some/unique/name`. + */ + name?: string; + /** + * The normal response of the operation in case of success. If the original + * method returns no data on success, such as `Delete`, the response is + * `google.protobuf.Empty`. If the original method is standard + * `Get`/`Create`/`Update`, the response should be the resource. For other + * methods, the response should have the type `XxxResponse`, where `Xxx` + * is the original method name. For example, if the original method name + * is `TakeSnapshot()`, the inferred response type is + * `TakeSnapshotResponse`. + */ + response?: Record<string, any>; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface OperationsResource { + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not + * guaranteed. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use + * Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, + * the operation is not deleted; instead, it becomes an operation with + * an Operation.error value with a google.rpc.Status.code of 1, + * corresponding to `Code.CANCELLED`. + */ + cancel(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be cancelled. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be deleted. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding allows API services to override the binding + * to use different resource name schemes, such as `users/*/operations`. To + * override the binding, API services can add a binding such as + * `"/v1/{name=users/*}/operations"` to their service configuration. + * For backwards compatibility, the default name includes the operations + * collection id, however overriding users must ensure the name binding + * is the parent resource, without the operations collection id. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The standard list filter. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation's parent resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The standard list page size. */ + pageSize?: number; + /** The standard list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListOperationsResponse>; + } + } +} diff --git a/types/gapi.client.runtimeconfig/readme.md b/types/gapi.client.runtimeconfig/readme.md new file mode 100644 index 0000000000..170d4be04a --- /dev/null +++ b/types/gapi.client.runtimeconfig/readme.md @@ -0,0 +1,93 @@ +# TypeScript typings for Google Cloud Runtime Configuration API v1 +The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions. +For detailed description please check [documentation](https://cloud.google.com/deployment-manager/runtime-configurator/). + +## Installing + +Install typings for Google Cloud Runtime Configuration API: +``` +npm install @types/gapi.client.runtimeconfig@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('runtimeconfig', 'v1', () => { + // now we can use gapi.client.runtimeconfig + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // Manage your Google Cloud Platform services' runtime configuration + 'https://www.googleapis.com/auth/cloudruntimeconfig', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Cloud Runtime Configuration API resources: + +```typescript + +/* +Starts asynchronous cancellation on a long-running operation. The server +makes a best effort to cancel the operation, but success is not +guaranteed. If the server doesn't support this method, it returns +`google.rpc.Code.UNIMPLEMENTED`. Clients can use +Operations.GetOperation or +other methods to check whether the cancellation succeeded or whether the +operation completed despite cancellation. On successful cancellation, +the operation is not deleted; instead, it becomes an operation with +an Operation.error value with a google.rpc.Status.code of 1, +corresponding to `Code.CANCELLED`. +*/ +await gapi.client.operations.cancel({ name: "name", }); + +/* +Deletes a long-running operation. This method indicates that the client is +no longer interested in the operation result. It does not cancel the +operation. If the server doesn't support this method, it returns +`google.rpc.Code.UNIMPLEMENTED`. +*/ +await gapi.client.operations.delete({ name: "name", }); + +/* +Lists operations that match the specified filter in the request. If the +server doesn't support this method, it returns `UNIMPLEMENTED`. + +NOTE: the `name` binding allows API services to override the binding +to use different resource name schemes, such as `users/*/operations`. To +override the binding, API services can add a binding such as +`"/v1/{name=users/*}/operations"` to their service configuration. +For backwards compatibility, the default name includes the operations +collection id, however overriding users must ensure the name binding +is the parent resource, without the operations collection id. +*/ +await gapi.client.operations.list({ name: "name", }); +``` \ No newline at end of file diff --git a/types/gapi.client.runtimeconfig/tsconfig.json b/types/gapi.client.runtimeconfig/tsconfig.json new file mode 100644 index 0000000000..5e27079b43 --- /dev/null +++ b/types/gapi.client.runtimeconfig/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.runtimeconfig-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.runtimeconfig/tslint.json b/types/gapi.client.runtimeconfig/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.runtimeconfig/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.safebrowsing/gapi.client.safebrowsing-tests.ts b/types/gapi.client.safebrowsing/gapi.client.safebrowsing-tests.ts new file mode 100644 index 0000000000..107c78817c --- /dev/null +++ b/types/gapi.client.safebrowsing/gapi.client.safebrowsing-tests.ts @@ -0,0 +1,41 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('safebrowsing', 'v4', () => { + /** now we can use gapi.client.safebrowsing */ + + run(); + }); + + async function run() { + await gapi.client.encodedFullHashes.get({ + clientId: "clientId", + clientVersion: "clientVersion", + encodedRequest: "encodedRequest", + }); + await gapi.client.encodedUpdates.get({ + clientId: "clientId", + clientVersion: "clientVersion", + encodedRequest: "encodedRequest", + }); + /** Finds the full hashes that match the requested hash prefixes. */ + await gapi.client.fullHashes.find({ + }); + /** + * Fetches the most recent threat list updates. A client can request updates + * for multiple lists at once. + */ + await gapi.client.threatListUpdates.fetch({ + }); + /** Lists the Safe Browsing threat lists available for download. */ + await gapi.client.threatLists.list({ + }); + /** Finds the threat entries that match the Safe Browsing lists. */ + await gapi.client.threatMatches.find({ + }); + } +}); diff --git a/types/gapi.client.safebrowsing/index.d.ts b/types/gapi.client.safebrowsing/index.d.ts new file mode 100644 index 0000000000..c388a0327f --- /dev/null +++ b/types/gapi.client.safebrowsing/index.d.ts @@ -0,0 +1,499 @@ +// Type definitions for Google Google Safe Browsing API v4 4.0 +// Project: https://developers.google.com/safe-browsing/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://safebrowsing.googleapis.com/$discovery/rest?version=v4 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Safe Browsing API v4 */ + function load(name: "safebrowsing", version: "v4"): PromiseLike<void>; + function load(name: "safebrowsing", version: "v4", callback: () => any): void; + + const encodedFullHashes: safebrowsing.EncodedFullHashesResource; + + const encodedUpdates: safebrowsing.EncodedUpdatesResource; + + const fullHashes: safebrowsing.FullHashesResource; + + const threatListUpdates: safebrowsing.ThreatListUpdatesResource; + + const threatLists: safebrowsing.ThreatListsResource; + + const threatMatches: safebrowsing.ThreatMatchesResource; + + namespace safebrowsing { + interface Checksum { + /** + * The SHA256 hash of the client state; that is, of the sorted list of all + * hashes present in the database. + */ + sha256?: string; + } + interface ClientInfo { + /** + * A client ID that (hopefully) uniquely identifies the client implementation + * of the Safe Browsing API. + */ + clientId?: string; + /** The version of the client implementation. */ + clientVersion?: string; + } + interface Constraints { + /** + * Sets the maximum number of entries that the client is willing to have + * in the local database. This should be a power of 2 between 2**10 and + * 2**20. If zero, no database size limit is set. + */ + maxDatabaseEntries?: number; + /** + * The maximum size in number of entries. The update will not contain more + * entries than this value. This should be a power of 2 between 2**10 and + * 2**20. If zero, no update size limit is set. + */ + maxUpdateEntries?: number; + /** + * Requests the list for a specific geographic location. If not set the + * server may pick that value based on the user's IP address. Expects ISO + * 3166-1 alpha-2 format. + */ + region?: string; + /** The compression types supported by the client. */ + supportedCompressions?: string[]; + } + interface FetchThreatListUpdatesRequest { + /** The client metadata. */ + client?: ClientInfo; + /** The requested threat list updates. */ + listUpdateRequests?: ListUpdateRequest[]; + } + interface FetchThreatListUpdatesResponse { + /** The list updates requested by the clients. */ + listUpdateResponses?: ListUpdateResponse[]; + /** + * The minimum duration the client must wait before issuing any update + * request. If this field is not set clients may update as soon as they want. + */ + minimumWaitDuration?: string; + } + interface FindFullHashesRequest { + /** + * Client metadata associated with callers of higher-level APIs built on top + * of the client's implementation. + */ + apiClient?: ClientInfo; + /** The client metadata. */ + client?: ClientInfo; + /** The current client states for each of the client's local threat lists. */ + clientStates?: string[]; + /** The lists and hashes to be checked. */ + threatInfo?: ThreatInfo; + } + interface FindFullHashesResponse { + /** The full hashes that matched the requested prefixes. */ + matches?: ThreatMatch[]; + /** + * The minimum duration the client must wait before issuing any find hashes + * request. If this field is not set, clients can issue a request as soon as + * they want. + */ + minimumWaitDuration?: string; + /** + * For requested entities that did not match the threat list, how long to + * cache the response. + */ + negativeCacheDuration?: string; + } + interface FindThreatMatchesRequest { + /** The client metadata. */ + client?: ClientInfo; + /** The lists and entries to be checked for matches. */ + threatInfo?: ThreatInfo; + } + interface FindThreatMatchesResponse { + /** The threat list matches. */ + matches?: ThreatMatch[]; + } + interface ListThreatListsResponse { + /** The lists available for download by the client. */ + threatLists?: ThreatListDescriptor[]; + } + interface ListUpdateRequest { + /** The constraints associated with this request. */ + constraints?: Constraints; + /** The type of platform at risk by entries present in the list. */ + platformType?: string; + /** + * The current state of the client for the requested list (the encrypted + * client state that was received from the last successful list update). + */ + state?: string; + /** The types of entries present in the list. */ + threatEntryType?: string; + /** The type of threat posed by entries present in the list. */ + threatType?: string; + } + interface ListUpdateResponse { + /** + * A set of entries to add to a local threat type's list. Repeated to allow + * for a combination of compressed and raw data to be sent in a single + * response. + */ + additions?: ThreatEntrySet[]; + /** + * The expected SHA256 hash of the client state; that is, of the sorted list + * of all hashes present in the database after applying the provided update. + * If the client state doesn't match the expected state, the client must + * disregard this update and retry later. + */ + checksum?: Checksum; + /** The new client state, in encrypted format. Opaque to clients. */ + newClientState?: string; + /** The platform type for which data is returned. */ + platformType?: string; + /** + * A set of entries to remove from a local threat type's list. In practice, + * this field is empty or contains exactly one ThreatEntrySet. + */ + removals?: ThreatEntrySet[]; + /** + * The type of response. This may indicate that an action is required by the + * client when the response is received. + */ + responseType?: string; + /** The format of the threats. */ + threatEntryType?: string; + /** The threat type for which data is returned. */ + threatType?: string; + } + interface MetadataEntry { + /** The metadata entry key. For JSON requests, the key is base64-encoded. */ + key?: string; + /** The metadata entry value. For JSON requests, the value is base64-encoded. */ + value?: string; + } + interface RawHashes { + /** + * The number of bytes for each prefix encoded below. This field can be + * anywhere from 4 (shortest prefix) to 32 (full SHA256 hash). + */ + prefixSize?: number; + /** + * The hashes, in binary format, concatenated into one long string. Hashes are + * sorted in lexicographic order. For JSON API users, hashes are + * base64-encoded. + */ + rawHashes?: string; + } + interface RawIndices { + /** The indices to remove from a lexicographically-sorted local list. */ + indices?: number[]; + } + interface RiceDeltaEncoding { + /** The encoded deltas that are encoded using the Golomb-Rice coder. */ + encodedData?: string; + /** + * The offset of the first entry in the encoded data, or, if only a single + * integer was encoded, that single integer's value. + */ + firstValue?: string; + /** + * The number of entries that are delta encoded in the encoded data. If only a + * single integer was encoded, this will be zero and the single value will be + * stored in `first_value`. + */ + numEntries?: number; + /** + * The Golomb-Rice parameter, which is a number between 2 and 28. This field + * is missing (that is, zero) if `num_entries` is zero. + */ + riceParameter?: number; + } + interface ThreatEntry { + /** + * The digest of an executable in SHA256 format. The API supports both + * binary and hex digests. For JSON requests, digests are base64-encoded. + */ + digest?: string; + /** + * A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 + * hash. This field is in binary format. For JSON requests, hashes are + * base64-encoded. + */ + hash?: string; + /** A URL. */ + url?: string; + } + interface ThreatEntryMetadata { + /** The metadata entries. */ + entries?: MetadataEntry[]; + } + interface ThreatEntrySet { + /** The compression type for the entries in this set. */ + compressionType?: string; + /** The raw SHA256-formatted entries. */ + rawHashes?: RawHashes; + /** The raw removal indices for a local list. */ + rawIndices?: RawIndices; + /** + * The encoded 4-byte prefixes of SHA256-formatted entries, using a + * Golomb-Rice encoding. The hashes are converted to uint32, sorted in + * ascending order, then delta encoded and stored as encoded_data. + */ + riceHashes?: RiceDeltaEncoding; + /** + * The encoded local, lexicographically-sorted list indices, using a + * Golomb-Rice encoding. Used for sending compressed removal indices. The + * removal indices (uint32) are sorted in ascending order, then delta encoded + * and stored as encoded_data. + */ + riceIndices?: RiceDeltaEncoding; + } + interface ThreatInfo { + /** The platform types to be checked. */ + platformTypes?: string[]; + /** The threat entries to be checked. */ + threatEntries?: ThreatEntry[]; + /** The entry types to be checked. */ + threatEntryTypes?: string[]; + /** The threat types to be checked. */ + threatTypes?: string[]; + } + interface ThreatListDescriptor { + /** The platform type targeted by the list's entries. */ + platformType?: string; + /** The entry types contained in the list. */ + threatEntryType?: string; + /** The threat type posed by the list's entries. */ + threatType?: string; + } + interface ThreatMatch { + /** + * The cache lifetime for the returned match. Clients must not cache this + * response for more than this duration to avoid false positives. + */ + cacheDuration?: string; + /** The platform type matching this threat. */ + platformType?: string; + /** The threat matching this threat. */ + threat?: ThreatEntry; + /** Optional metadata associated with this threat. */ + threatEntryMetadata?: ThreatEntryMetadata; + /** The threat entry type matching this threat. */ + threatEntryType?: string; + /** The threat type matching this threat. */ + threatType?: string; + } + interface EncodedFullHashesResource { + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * A client ID that (hopefully) uniquely identifies the client implementation + * of the Safe Browsing API. + */ + clientId?: string; + /** The version of the client implementation. */ + clientVersion?: string; + /** A serialized FindFullHashesRequest proto. */ + encodedRequest: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<FindFullHashesResponse>; + } + interface EncodedUpdatesResource { + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * A client ID that uniquely identifies the client implementation of the Safe + * Browsing API. + */ + clientId?: string; + /** The version of the client implementation. */ + clientVersion?: string; + /** A serialized FetchThreatListUpdatesRequest proto. */ + encodedRequest: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<FetchThreatListUpdatesResponse>; + } + interface FullHashesResource { + /** Finds the full hashes that match the requested hash prefixes. */ + find(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<FindFullHashesResponse>; + } + interface ThreatListUpdatesResource { + /** + * Fetches the most recent threat list updates. A client can request updates + * for multiple lists at once. + */ + fetch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<FetchThreatListUpdatesResponse>; + } + interface ThreatListsResource { + /** Lists the Safe Browsing threat lists available for download. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListThreatListsResponse>; + } + interface ThreatMatchesResource { + /** Finds the threat entries that match the Safe Browsing lists. */ + find(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<FindThreatMatchesResponse>; + } + } +} diff --git a/types/gapi.client.safebrowsing/readme.md b/types/gapi.client.safebrowsing/readme.md new file mode 100644 index 0000000000..3ee9a9aaeb --- /dev/null +++ b/types/gapi.client.safebrowsing/readme.md @@ -0,0 +1,66 @@ +# TypeScript typings for Google Safe Browsing API v4 +Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. +For detailed description please check [documentation](https://developers.google.com/safe-browsing/). + +## Installing + +Install typings for Google Safe Browsing API: +``` +npm install @types/gapi.client.safebrowsing@v4 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('safebrowsing', 'v4', () => { + // now we can use gapi.client.safebrowsing + // ... +}); +``` + + + +After that you can use Google Safe Browsing API resources: + +```typescript + +/* + +*/ +await gapi.client.encodedFullHashes.get({ encodedRequest: "encodedRequest", }); + +/* + +*/ +await gapi.client.encodedUpdates.get({ encodedRequest: "encodedRequest", }); + +/* +Finds the full hashes that match the requested hash prefixes. +*/ +await gapi.client.fullHashes.find({ }); + +/* +Fetches the most recent threat list updates. A client can request updates +for multiple lists at once. +*/ +await gapi.client.threatListUpdates.fetch({ }); + +/* +Lists the Safe Browsing threat lists available for download. +*/ +await gapi.client.threatLists.list({ }); + +/* +Finds the threat entries that match the Safe Browsing lists. +*/ +await gapi.client.threatMatches.find({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.safebrowsing/tsconfig.json b/types/gapi.client.safebrowsing/tsconfig.json new file mode 100644 index 0000000000..3545ceeab3 --- /dev/null +++ b/types/gapi.client.safebrowsing/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.safebrowsing-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.safebrowsing/tslint.json b/types/gapi.client.safebrowsing/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.safebrowsing/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.script/gapi.client.script-tests.ts b/types/gapi.client.script/gapi.client.script-tests.ts new file mode 100644 index 0000000000..86f91b1935 --- /dev/null +++ b/types/gapi.client.script/gapi.client.script-tests.ts @@ -0,0 +1,66 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('script', 'v1', () => { + /** now we can use gapi.client.script */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Read, send, delete, and manage your email */ + 'https://mail.google.com/', + /** Manage your calendars */ + 'https://www.google.com/calendar/feeds', + /** Manage your contacts */ + 'https://www.google.com/m8/feeds', + /** View and manage the provisioning of groups on your domain */ + 'https://www.googleapis.com/auth/admin.directory.group', + /** View and manage the provisioning of users on your domain */ + 'https://www.googleapis.com/auth/admin.directory.user', + /** View and manage the files in your Google Drive */ + 'https://www.googleapis.com/auth/drive', + /** View and manage your forms in Google Drive */ + 'https://www.googleapis.com/auth/forms', + /** View and manage forms that this application has been installed in */ + 'https://www.googleapis.com/auth/forms.currentonly', + /** View and manage your Google Groups */ + 'https://www.googleapis.com/auth/groups', + /** View and manage your spreadsheets in Google Drive */ + 'https://www.googleapis.com/auth/spreadsheets', + /** View your email address */ + 'https://www.googleapis.com/auth/userinfo.email', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Runs a function in an Apps Script project. The project must be deployed + * for use with the Apps Script Execution API. + * + * This method requires authorization with an OAuth 2.0 token that includes at + * least one of the scopes listed in the [Authorization](#authorization) + * section; script projects that do not require authorization cannot be + * executed through this API. To find the correct scopes to include in the + * authentication token, open the project in the script editor, then select + * **File > Project properties** and click the **Scopes** tab. + */ + await gapi.client.scripts.run({ + scriptId: "scriptId", + }); + } +}); diff --git a/types/gapi.client.script/index.d.ts b/types/gapi.client.script/index.d.ts new file mode 100644 index 0000000000..2679e97960 --- /dev/null +++ b/types/gapi.client.script/index.d.ts @@ -0,0 +1,166 @@ +// Type definitions for Google Google Apps Script Execution API v1 1.0 +// Project: https://developers.google.com/apps-script/execution/rest/v1/scripts/run +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://script.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Apps Script Execution API v1 */ + function load(name: "script", version: "v1"): PromiseLike<void>; + function load(name: "script", version: "v1", callback: () => any): void; + + const scripts: script.ScriptsResource; + + namespace script { + interface ExecutionError { + /** + * The error message thrown by Apps Script, usually localized into the user's + * language. + */ + errorMessage?: string; + /** + * The error type, for example `TypeError` or `ReferenceError`. If the error + * type is unavailable, this field is not included. + */ + errorType?: string; + /** + * An array of objects that provide a stack trace through the script to show + * where the execution failed, with the deepest call first. + */ + scriptStackTraceElements?: ScriptStackTraceElement[]; + } + interface ExecutionRequest { + /** + * If `true` and the user is an owner of the script, the script runs at the + * most recently saved version rather than the version deployed for use with + * the Execution API. Optional; default is `false`. + */ + devMode?: boolean; + /** + * The name of the function to execute in the given script. The name does not + * include parentheses or parameters. + */ + function?: string; + /** + * The parameters to be passed to the function being executed. The object type + * for each parameter should match the expected type in Apps Script. + * Parameters cannot be Apps Script-specific object types (such as a + * `Document` or a `Calendar`); they can only be primitive types such as + * `string`, `number`, `array`, `object`, or `boolean`. Optional. + */ + parameters?: any[]; + /** + * For Android add-ons only. An ID that represents the user's current session + * in the Android app for Google Docs or Sheets, included as extra data in the + * [`Intent`](https://developer.android.com/guide/components/intents-filters.html) + * that launches the add-on. When an Android add-on is run with a session + * state, it gains the privileges of a + * [bound](https://developers.google.com/apps-script/guides/bound) script — + * that is, it can access information like the user's current cursor position + * (in Docs) or selected cell (in Sheets). To retrieve the state, call + * `Intent.getStringExtra("com.google.android.apps.docs.addons.SessionState")`. + * Optional. + */ + sessionState?: string; + } + interface ExecutionResponse { + /** + * The return value of the script function. The type matches the object type + * returned in Apps Script. Functions called through the Execution API cannot + * return Apps Script-specific objects (such as a `Document` or a `Calendar`); + * they can only return primitive types such as a `string`, `number`, `array`, + * `object`, or `boolean`. + */ + result?: any; + } + interface Operation { + /** + * This field is only used with asynchronous executions and indicates whether or not the script execution has completed. A completed execution has a + * populated response field containing the `ExecutionResponse` from function that was executed. + */ + done?: boolean; + /** + * If a `run` call succeeds but the script function (or Apps Script itself) throws an exception, this field will contain a `Status` object. The `Status` + * object's `details` field will contain an array with a single `ExecutionError` object that provides information about the nature of the error. + */ + error?: Status; + /** This field is not used. */ + metadata?: Record<string, any>; + /** + * If the script function returns successfully, this field will contain an `ExecutionResponse` object with the function's return value as the object's + * `result` field. + */ + response?: Record<string, any>; + } + interface ScriptStackTraceElement { + /** The name of the function that failed. */ + function?: string; + /** The line number where the script failed. */ + lineNumber?: number; + } + interface Status { + /** The status code. For this API, this value will always be 3, corresponding to an <code>INVALID_ARGUMENT</code> error. */ + code?: number; + /** An array that contains a single `ExecutionError` object that provides information about the nature of the error. */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which is in English. Any user-facing error message is localized and sent in the + * [`google.rpc.Status.details`](google.rpc.Status.details) field, or localized by the client. + */ + message?: string; + } + interface ScriptsResource { + /** + * Runs a function in an Apps Script project. The project must be deployed + * for use with the Apps Script Execution API. + * + * This method requires authorization with an OAuth 2.0 token that includes at + * least one of the scopes listed in the [Authorization](#authorization) + * section; script projects that do not require authorization cannot be + * executed through this API. To find the correct scopes to include in the + * authentication token, open the project in the script editor, then select + * **File > Project properties** and click the **Scopes** tab. + */ + run(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The script ID of the script to be executed. To find the script ID, open + * the project in the script editor and select **File > Project properties**. + */ + scriptId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + } + } +} diff --git a/types/gapi.client.script/readme.md b/types/gapi.client.script/readme.md new file mode 100644 index 0000000000..e8d67cb1c7 --- /dev/null +++ b/types/gapi.client.script/readme.md @@ -0,0 +1,97 @@ +# TypeScript typings for Google Apps Script Execution API v1 +An API for managing and executing Google Apps Script projects. +For detailed description please check [documentation](https://developers.google.com/apps-script/execution/rest/v1/scripts/run). + +## Installing + +Install typings for Google Apps Script Execution API: +``` +npm install @types/gapi.client.script@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('script', 'v1', () => { + // now we can use gapi.client.script + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Read, send, delete, and manage your email + 'https://mail.google.com/', + + // Manage your calendars + 'https://www.google.com/calendar/feeds', + + // Manage your contacts + 'https://www.google.com/m8/feeds', + + // View and manage the provisioning of groups on your domain + 'https://www.googleapis.com/auth/admin.directory.group', + + // View and manage the provisioning of users on your domain + 'https://www.googleapis.com/auth/admin.directory.user', + + // View and manage the files in your Google Drive + 'https://www.googleapis.com/auth/drive', + + // View and manage your forms in Google Drive + 'https://www.googleapis.com/auth/forms', + + // View and manage forms that this application has been installed in + 'https://www.googleapis.com/auth/forms.currentonly', + + // View and manage your Google Groups + 'https://www.googleapis.com/auth/groups', + + // View and manage your spreadsheets in Google Drive + 'https://www.googleapis.com/auth/spreadsheets', + + // View your email address + 'https://www.googleapis.com/auth/userinfo.email', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Apps Script Execution API resources: + +```typescript + +/* +Runs a function in an Apps Script project. The project must be deployed +for use with the Apps Script Execution API. + +This method requires authorization with an OAuth 2.0 token that includes at +least one of the scopes listed in the [Authorization](#authorization) +section; script projects that do not require authorization cannot be +executed through this API. To find the correct scopes to include in the +authentication token, open the project in the script editor, then select +**File > Project properties** and click the **Scopes** tab. +*/ +await gapi.client.scripts.run({ scriptId: "scriptId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.script/tsconfig.json b/types/gapi.client.script/tsconfig.json new file mode 100644 index 0000000000..2ee2653a1f --- /dev/null +++ b/types/gapi.client.script/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.script-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.script/tslint.json b/types/gapi.client.script/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.script/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.searchconsole/gapi.client.searchconsole-tests.ts b/types/gapi.client.searchconsole/gapi.client.searchconsole-tests.ts new file mode 100644 index 0000000000..3c2a02a16a --- /dev/null +++ b/types/gapi.client.searchconsole/gapi.client.searchconsole-tests.ts @@ -0,0 +1,16 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('searchconsole', 'v1', () => { + /** now we can use gapi.client.searchconsole */ + + run(); + }); + + async function run() { + } +}); diff --git a/types/gapi.client.searchconsole/index.d.ts b/types/gapi.client.searchconsole/index.d.ts new file mode 100644 index 0000000000..47fb28f5b1 --- /dev/null +++ b/types/gapi.client.searchconsole/index.d.ts @@ -0,0 +1,102 @@ +// Type definitions for Google Google Search Console URL Testing Tools API v1 1.0 +// Project: https://developers.google.com/webmaster-tools/search-console-api/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://searchconsole.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Search Console URL Testing Tools API v1 */ + function load(name: "searchconsole", version: "v1"): PromiseLike<void>; + function load(name: "searchconsole", version: "v1", callback: () => any): void; + + const urlTestingTools: searchconsole.UrlTestingToolsResource; + + namespace searchconsole { + interface BlockedResource { + /** URL of the blocked resource. */ + url?: string; + } + interface Image { + /** + * Image data in format determined by the mime type. Currently, the format + * will always be "image/png", but this might change in the future. + */ + data?: string; + /** The mime-type of the image data. */ + mimeType?: string; + } + interface MobileFriendlyIssue { + /** Rule violated. */ + rule?: string; + } + interface ResourceIssue { + /** Describes a blocked resource issue. */ + blockedResource?: BlockedResource; + } + interface RunMobileFriendlyTestRequest { + /** Whether or not screenshot is requested. Default is false. */ + requestScreenshot?: boolean; + /** URL for inspection. */ + url?: string; + } + interface RunMobileFriendlyTestResponse { + /** Test verdict, whether the page is mobile friendly or not. */ + mobileFriendliness?: string; + /** List of mobile-usability issues. */ + mobileFriendlyIssues?: MobileFriendlyIssue[]; + /** Information about embedded resources issues. */ + resourceIssues?: ResourceIssue[]; + /** Screenshot of the requested URL. */ + screenshot?: Image; + /** Final state of the test, can be either complete or an error. */ + testStatus?: TestStatus; + } + interface TestStatus { + /** Error details if applicable. */ + details?: string; + /** Status of the test. */ + status?: string; + } + interface MobileFriendlyTestResource { + /** Runs Mobile-Friendly Test for a given URL. */ + run(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<RunMobileFriendlyTestResponse>; + } + interface UrlTestingToolsResource { + mobileFriendlyTest: MobileFriendlyTestResource; + } + } +} diff --git a/types/gapi.client.searchconsole/readme.md b/types/gapi.client.searchconsole/readme.md new file mode 100644 index 0000000000..32ca0b85c5 --- /dev/null +++ b/types/gapi.client.searchconsole/readme.md @@ -0,0 +1,35 @@ +# TypeScript typings for Google Search Console URL Testing Tools API v1 +Provides tools for running validation tests against single URLs +For detailed description please check [documentation](https://developers.google.com/webmaster-tools/search-console-api/). + +## Installing + +Install typings for Google Search Console URL Testing Tools API: +``` +npm install @types/gapi.client.searchconsole@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('searchconsole', 'v1', () => { + // now we can use gapi.client.searchconsole + // ... +}); +``` + + + +After that you can use Google Search Console URL Testing Tools API resources: + +```typescript +``` \ No newline at end of file diff --git a/types/gapi.client.searchconsole/tsconfig.json b/types/gapi.client.searchconsole/tsconfig.json new file mode 100644 index 0000000000..f2e33ebce6 --- /dev/null +++ b/types/gapi.client.searchconsole/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.searchconsole-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.searchconsole/tslint.json b/types/gapi.client.searchconsole/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.searchconsole/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.servicecontrol/gapi.client.servicecontrol-tests.ts b/types/gapi.client.servicecontrol/gapi.client.servicecontrol-tests.ts new file mode 100644 index 0000000000..99e0029138 --- /dev/null +++ b/types/gapi.client.servicecontrol/gapi.client.servicecontrol-tests.ts @@ -0,0 +1,144 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('servicecontrol', 'v1', () => { + /** now we can use gapi.client.servicecontrol */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** Manage your Google Service Control data */ + 'https://www.googleapis.com/auth/servicecontrol', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Attempts to allocate quota for the specified consumer. It should be called + * before the operation is executed. + * + * This method requires the `servicemanagement.services.quota` + * permission on the specified service. For more information, see + * [Cloud IAM](https://cloud.google.com/iam). + * + * **NOTE:** The client **must** fail-open on server errors `INTERNAL`, + * `UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system + * reliability, the server may inject these errors to prohibit any hard + * dependency on the quota functionality. + */ + await gapi.client.services.allocateQuota({ + serviceName: "serviceName", + }); + /** + * Checks an operation with Google Service Control to decide whether + * the given operation should proceed. It should be called before the + * operation is executed. + * + * If feasible, the client should cache the check results and reuse them for + * 60 seconds. In case of server errors, the client can rely on the cached + * results for longer time. + * + * NOTE: the CheckRequest has the size limit of 64KB. + * + * This method requires the `servicemanagement.services.check` permission + * on the specified service. For more information, see + * [Google Cloud IAM](https://cloud.google.com/iam). + */ + await gapi.client.services.check({ + serviceName: "serviceName", + }); + /** + * Signals the quota controller that service ends the ongoing usage + * reconciliation. + * + * This method requires the `servicemanagement.services.quota` + * permission on the specified service. For more information, see + * [Google Cloud IAM](https://cloud.google.com/iam). + */ + await gapi.client.services.endReconciliation({ + serviceName: "serviceName", + }); + /** + * Releases previously allocated quota done through AllocateQuota method. + * + * This method requires the `servicemanagement.services.quota` + * permission on the specified service. For more information, see + * [Cloud IAM](https://cloud.google.com/iam). + * + * + * **NOTE:** The client **must** fail-open on server errors `INTERNAL`, + * `UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system + * reliability, the server may inject these errors to prohibit any hard + * dependency on the quota functionality. + */ + await gapi.client.services.releaseQuota({ + serviceName: "serviceName", + }); + /** + * Reports operation results to Google Service Control, such as logs and + * metrics. It should be called after an operation is completed. + * + * If feasible, the client should aggregate reporting data for up to 5 + * seconds to reduce API traffic. Limiting aggregation to 5 seconds is to + * reduce data loss during client crashes. Clients should carefully choose + * the aggregation time window to avoid data loss risk more than 0.01% + * for business and compliance reasons. + * + * NOTE: the ReportRequest has the size limit of 1MB. + * + * This method requires the `servicemanagement.services.report` permission + * on the specified service. For more information, see + * [Google Cloud IAM](https://cloud.google.com/iam). + */ + await gapi.client.services.report({ + serviceName: "serviceName", + }); + /** + * Unlike rate quota, allocation quota does not get refilled periodically. + * So, it is possible that the quota usage as seen by the service differs from + * what the One Platform considers the usage is. This is expected to happen + * only rarely, but over time this can accumulate. Services can invoke + * StartReconciliation and EndReconciliation to correct this usage drift, as + * described below: + * 1. Service sends StartReconciliation with a timestamp in future for each + * metric that needs to be reconciled. The timestamp being in future allows + * to account for in-flight AllocateQuota and ReleaseQuota requests for the + * same metric. + * 2. One Platform records this timestamp and starts tracking subsequent + * AllocateQuota and ReleaseQuota requests until EndReconciliation is + * called. + * 3. At or after the time specified in the StartReconciliation, service + * sends EndReconciliation with the usage that needs to be reconciled to. + * 4. One Platform adjusts its own record of usage for that metric to the + * value specified in EndReconciliation by taking in to account any + * allocation or release between StartReconciliation and EndReconciliation. + * + * Signals the quota controller that the service wants to perform a usage + * reconciliation as specified in the request. + * + * This method requires the `servicemanagement.services.quota` + * permission on the specified service. For more information, see + * [Google Cloud IAM](https://cloud.google.com/iam). + */ + await gapi.client.services.startReconciliation({ + serviceName: "serviceName", + }); + } +}); diff --git a/types/gapi.client.servicecontrol/index.d.ts b/types/gapi.client.servicecontrol/index.d.ts new file mode 100644 index 0000000000..f5459a386e --- /dev/null +++ b/types/gapi.client.servicecontrol/index.d.ts @@ -0,0 +1,1191 @@ +// Type definitions for Google Google Service Control API v1 1.0 +// Project: https://cloud.google.com/service-control/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://servicecontrol.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Service Control API v1 */ + function load(name: "servicecontrol", version: "v1"): PromiseLike<void>; + function load(name: "servicecontrol", version: "v1", callback: () => any): void; + + const services: servicecontrol.ServicesResource; + + namespace servicecontrol { + interface AllocateInfo { + /** + * A list of label keys that were unused by the server in processing the + * request. Thus, for similar requests repeated in a certain future time + * window, the caller can choose to ignore these labels in the requests + * to achieve better client-side cache hits and quota aggregation. + */ + unusedArguments?: string[]; + } + interface AllocateQuotaRequest { + /** Operation that describes the quota allocation. */ + allocateOperation?: QuotaOperation; + /** + * Specifies which version of service configuration should be used to process + * the request. If unspecified or no matching version can be found, the latest + * one will be used. + */ + serviceConfigId?: string; + } + interface AllocateQuotaResponse { + /** Indicates the decision of the allocate. */ + allocateErrors?: QuotaError[]; + /** WARNING: DO NOT use this field until this warning message is removed. */ + allocateInfo?: AllocateInfo; + /** + * The same operation_id value used in the AllocateQuotaRequest. Used for + * logging and diagnostics purposes. + */ + operationId?: string; + /** + * Quota metrics to indicate the result of allocation. Depending on the + * request, one or more of the following metrics will be included: + * + * 1. Per quota group or per quota metric incremental usage will be specified + * using the following delta metric : + * "serviceruntime.googleapis.com/api/consumer/quota_used_count" + * + * 2. The quota limit reached condition will be specified using the following + * boolean metric : + * "serviceruntime.googleapis.com/quota/exceeded" + */ + quotaMetrics?: MetricValueSet[]; + /** ID of the actual config used to process the request. */ + serviceConfigId?: string; + } + interface AuditLog { + /** Authentication information. */ + authenticationInfo?: AuthenticationInfo; + /** + * Authorization information. If there are multiple + * resources or permissions involved, then there is + * one AuthorizationInfo element for each {resource, permission} tuple. + */ + authorizationInfo?: AuthorizationInfo[]; + /** + * Other service-specific data about the request, response, and other + * information associated with the current audited event. + */ + metadata?: Record<string, any>; + /** + * The name of the service method or operation. + * For API calls, this should be the name of the API method. + * For example, + * + * "google.datastore.v1.Datastore.RunQuery" + * "google.logging.v1.LoggingService.DeleteLog" + */ + methodName?: string; + /** + * The number of items returned from a List or Query API method, + * if applicable. + */ + numResponseItems?: string; + /** + * The operation request. This may not include all request parameters, + * such as those that are too large, privacy-sensitive, or duplicated + * elsewhere in the log record. + * It should never include user-generated data, such as file contents. + * When the JSON object represented here has a proto equivalent, the proto + * name will be indicated in the `@type` property. + */ + request?: Record<string, any>; + /** Metadata about the operation. */ + requestMetadata?: RequestMetadata; + /** + * The resource or collection that is the target of the operation. + * The name is a scheme-less URI, not including the API service name. + * For example: + * + * "shelves/SHELF_ID/books" + * "shelves/SHELF_ID/books/BOOK_ID" + */ + resourceName?: string; + /** + * The operation response. This may not include all response elements, + * such as those that are too large, privacy-sensitive, or duplicated + * elsewhere in the log record. + * It should never include user-generated data, such as file contents. + * When the JSON object represented here has a proto equivalent, the proto + * name will be indicated in the `@type` property. + */ + response?: Record<string, any>; + /** + * Deprecated, use `metadata` field instead. + * Other service-specific data about the request, response, and other + * activities. + */ + serviceData?: Record<string, any>; + /** + * The name of the API service performing the operation. For example, + * `"datastore.googleapis.com"`. + */ + serviceName?: string; + /** The status of the overall operation. */ + status?: Status; + } + interface AuthenticationInfo { + /** + * The authority selector specified by the requestor, if any. + * It is not guaranteed that the principal was allowed to use this authority. + */ + authoritySelector?: string; + /** + * The email address of the authenticated user (or service account on behalf + * of third party principal) making the request. For privacy reasons, the + * principal email address is redacted for all read-only operations that fail + * with a "permission denied" error. + */ + principalEmail?: string; + /** + * The third party identification (if any) of the authenticated user making + * the request. + * When the JSON object represented here has a proto equivalent, the proto + * name will be indicated in the `@type` property. + */ + thirdPartyPrincipal?: Record<string, any>; + } + interface AuthorizationInfo { + /** + * Whether or not authorization for `resource` and `permission` + * was granted. + */ + granted?: boolean; + /** The required IAM permission. */ + permission?: string; + /** + * The resource being accessed, as a REST-style string. For example: + * + * bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID + */ + resource?: string; + } + interface CheckError { + /** The error code. */ + code?: string; + /** Free-form text providing details on the error cause of the error. */ + detail?: string; + } + interface CheckInfo { + /** Consumer info of this check. */ + consumerInfo?: ConsumerInfo; + /** + * A list of fields and label keys that are ignored by the server. + * The client doesn't need to send them for following requests to improve + * performance and allow better aggregation. + */ + unusedArguments?: string[]; + } + interface CheckRequest { + /** The operation to be checked. */ + operation?: Operation; + /** Requests the project settings to be returned as part of the check response. */ + requestProjectSettings?: boolean; + /** + * Specifies which version of service configuration should be used to process + * the request. + * + * If unspecified or no matching version can be found, the + * latest one will be used. + */ + serviceConfigId?: string; + /** + * Indicates if service activation check should be skipped for this request. + * Default behavior is to perform the check and apply relevant quota. + */ + skipActivationCheck?: boolean; + } + interface CheckResponse { + /** + * Indicate the decision of the check. + * + * If no check errors are present, the service should process the operation. + * Otherwise the service should use the list of errors to determine the + * appropriate action. + */ + checkErrors?: CheckError[]; + /** Feedback data returned from the server during processing a Check request. */ + checkInfo?: CheckInfo; + /** + * The same operation_id value used in the CheckRequest. + * Used for logging and diagnostics purposes. + */ + operationId?: string; + /** Quota information for the check request associated with this response. */ + quotaInfo?: QuotaInfo; + /** The actual config id used to process the request. */ + serviceConfigId?: string; + } + interface ConsumerInfo { + /** + * The Google cloud project number, e.g. 1234567890. A value of 0 indicates + * no project number is found. + */ + projectNumber?: string; + } + interface Distribution { + /** + * The number of samples in each histogram bucket. `bucket_counts` are + * optional. If present, they must sum to the `count` value. + * + * The buckets are defined below in `bucket_option`. There are N buckets. + * `bucket_counts[0]` is the number of samples in the underflow bucket. + * `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples + * in each of the finite buckets. And `bucket_counts[N] is the number + * of samples in the overflow bucket. See the comments of `bucket_option` + * below for more details. + * + * Any suffix of trailing zeros may be omitted. + */ + bucketCounts?: string[]; + /** The total number of samples in the distribution. Must be >= 0. */ + count?: string; + /** Buckets with arbitrary user-provided width. */ + explicitBuckets?: ExplicitBuckets; + /** Buckets with exponentially growing width. */ + exponentialBuckets?: ExponentialBuckets; + /** Buckets with constant width. */ + linearBuckets?: LinearBuckets; + /** The maximum of the population of values. Ignored if `count` is zero. */ + maximum?: number; + /** + * The arithmetic mean of the samples in the distribution. If `count` is + * zero then this field must be zero. + */ + mean?: number; + /** The minimum of the population of values. Ignored if `count` is zero. */ + minimum?: number; + /** + * The sum of squared deviations from the mean: + * Sum[i=1..count]((x_i - mean)^2) + * where each x_i is a sample values. If `count` is zero then this field + * must be zero, otherwise validation of the request fails. + */ + sumOfSquaredDeviation?: number; + } + interface EndReconciliationRequest { + /** Operation that describes the quota reconciliation. */ + reconciliationOperation?: QuotaOperation; + /** + * Specifies which version of service configuration should be used to process + * the request. If unspecified or no matching version can be found, the latest + * one will be used. + */ + serviceConfigId?: string; + } + interface EndReconciliationResponse { + /** + * The same operation_id value used in the EndReconciliationRequest. Used for + * logging and diagnostics purposes. + */ + operationId?: string; + /** + * Metric values as tracked by One Platform before the adjustment was made. + * The following metrics will be included: + * + * 1. Per quota metric total usage will be specified using the following gauge + * metric: + * "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" + * + * 2. Value for each quota limit associated with the metrics will be specified + * using the following gauge metric: + * "serviceruntime.googleapis.com/quota/limit" + * + * 3. Delta value of the usage after the reconciliation for limits associated + * with the metrics will be specified using the following metric: + * "serviceruntime.googleapis.com/allocation/reconciliation_delta" + * The delta value is defined as: + * new_usage_from_client - existing_value_in_spanner. + * This metric is not defined in serviceruntime.yaml or in Cloud Monarch. + * This metric is meant for callers' use only. Since this metric is not + * defined in the monitoring backend, reporting on this metric will result in + * an error. + */ + quotaMetrics?: MetricValueSet[]; + /** Indicates the decision of the reconciliation end. */ + reconciliationErrors?: QuotaError[]; + /** ID of the actual config used to process the request. */ + serviceConfigId?: string; + } + interface ExplicitBuckets { + /** + * 'bound' is a list of strictly increasing boundaries between + * buckets. Note that a list of length N-1 defines N buckets because + * of fenceposting. See comments on `bucket_options` for details. + * + * The i'th finite bucket covers the interval + * [bound[i-1], bound[i]) + * where i ranges from 1 to bound_size() - 1. Note that there are no + * finite buckets at all if 'bound' only contains a single element; in + * that special case the single bound defines the boundary between the + * underflow and overflow buckets. + * + * bucket number lower bound upper bound + * i == 0 (underflow) -inf bound[i] + * 0 < i < bound_size() bound[i-1] bound[i] + * i == bound_size() (overflow) bound[i-1] +inf + */ + bounds?: number[]; + } + interface ExponentialBuckets { + /** + * The i'th exponential bucket covers the interval + * [scale * growth_factor^(i-1), scale * growth_factor^i) + * where i ranges from 1 to num_finite_buckets inclusive. + * Must be larger than 1.0. + */ + growthFactor?: number; + /** + * The number of finite buckets. With the underflow and overflow buckets, + * the total number of buckets is `num_finite_buckets` + 2. + * See comments on `bucket_options` for details. + */ + numFiniteBuckets?: number; + /** + * The i'th exponential bucket covers the interval + * [scale * growth_factor^(i-1), scale * growth_factor^i) + * where i ranges from 1 to num_finite_buckets inclusive. + * Must be > 0. + */ + scale?: number; + } + interface LinearBuckets { + /** + * The number of finite buckets. With the underflow and overflow buckets, + * the total number of buckets is `num_finite_buckets` + 2. + * See comments on `bucket_options` for details. + */ + numFiniteBuckets?: number; + /** + * The i'th linear bucket covers the interval + * [offset + (i-1) * width, offset + i * width) + * where i ranges from 1 to num_finite_buckets, inclusive. + */ + offset?: number; + /** + * The i'th linear bucket covers the interval + * [offset + (i-1) * width, offset + i * width) + * where i ranges from 1 to num_finite_buckets, inclusive. + * Must be strictly positive. + */ + width?: number; + } + interface LogEntry { + /** + * A unique ID for the log entry used for deduplication. If omitted, + * the implementation will generate one based on operation_id. + */ + insertId?: string; + /** + * A set of user-defined (key, value) data that provides additional + * information about the log entry. + */ + labels?: Record<string, string>; + /** + * Required. The log to which this log entry belongs. Examples: `"syslog"`, + * `"book_log"`. + */ + name?: string; + /** + * The log entry payload, represented as a protocol buffer that is + * expressed as a JSON object. The only accepted type currently is + * AuditLog. + */ + protoPayload?: Record<string, any>; + /** + * The severity of the log entry. The default value is + * `LogSeverity.DEFAULT`. + */ + severity?: string; + /** + * The log entry payload, represented as a structure that + * is expressed as a JSON object. + */ + structPayload?: Record<string, any>; + /** The log entry payload, represented as a Unicode string (UTF-8). */ + textPayload?: string; + /** + * The time the event described by the log entry occurred. If + * omitted, defaults to operation start time. + */ + timestamp?: string; + } + interface MetricValue { + /** A boolean value. */ + boolValue?: boolean; + /** A distribution value. */ + distributionValue?: Distribution; + /** A double precision floating point value. */ + doubleValue?: number; + /** + * The end of the time period over which this metric value's measurement + * applies. + */ + endTime?: string; + /** A signed 64-bit integer value. */ + int64Value?: string; + /** + * The labels describing the metric value. + * See comments on google.api.servicecontrol.v1.Operation.labels for + * the overriding relationship. + */ + labels?: Record<string, string>; + /** A money value. */ + moneyValue?: Money; + /** + * The start of the time period over which this metric value's measurement + * applies. The time period has different semantics for different metric + * types (cumulative, delta, and gauge). See the metric definition + * documentation in the service configuration for details. + */ + startTime?: string; + /** A text string value. */ + stringValue?: string; + } + interface MetricValueSet { + /** The metric name defined in the service configuration. */ + metricName?: string; + /** The values in this metric. */ + metricValues?: MetricValue[]; + } + interface Money { + /** The 3-letter currency code defined in ISO 4217. */ + currencyCode?: string; + /** + * Number of nano (10^-9) units of the amount. + * The value must be between -999,999,999 and +999,999,999 inclusive. + * If `units` is positive, `nanos` must be positive or zero. + * If `units` is zero, `nanos` can be positive, zero, or negative. + * If `units` is negative, `nanos` must be negative or zero. + * For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. + */ + nanos?: number; + /** + * The whole units of the amount. + * For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + */ + units?: string; + } + interface Operation { + /** + * Identity of the consumer who is using the service. + * This field should be filled in for the operations initiated by a + * consumer, but not for service-initiated operations that are + * not related to a specific consumer. + * + * This can be in one of the following formats: + * project:<project_id>, + * project_number:<project_number>, + * api_key:<api_key>. + */ + consumerId?: string; + /** + * End time of the operation. + * Required when the operation is used in ServiceController.Report, + * but optional when the operation is used in ServiceController.Check. + */ + endTime?: string; + /** DO NOT USE. This is an experimental field. */ + importance?: string; + /** + * Labels describing the operation. Only the following labels are allowed: + * + * - Labels describing monitored resources as defined in + * the service configuration. + * - Default labels of metric values. When specified, labels defined in the + * metric value override these default. + * - The following labels defined by Google Cloud Platform: + * - `cloud.googleapis.com/location` describing the location where the + * operation happened, + * - `servicecontrol.googleapis.com/user_agent` describing the user agent + * of the API request, + * - `servicecontrol.googleapis.com/service_agent` describing the service + * used to handle the API request (e.g. ESP), + * - `servicecontrol.googleapis.com/platform` describing the platform + * where the API is served (e.g. GAE, GCE, GKE). + */ + labels?: Record<string, string>; + /** Represents information to be logged. */ + logEntries?: LogEntry[]; + /** + * Represents information about this operation. Each MetricValueSet + * corresponds to a metric defined in the service configuration. + * The data type used in the MetricValueSet must agree with + * the data type specified in the metric definition. + * + * Within a single operation, it is not allowed to have more than one + * MetricValue instances that have the same metric names and identical + * label value combinations. If a request has such duplicated MetricValue + * instances, the entire request is rejected with + * an invalid argument error. + */ + metricValueSets?: MetricValueSet[]; + /** + * Identity of the operation. This must be unique within the scope of the + * service that generated the operation. If the service calls + * Check() and Report() on the same operation, the two calls should carry + * the same id. + * + * UUID version 4 is recommended, though not required. + * In scenarios where an operation is computed from existing information + * and an idempotent id is desirable for deduplication purpose, UUID version 5 + * is recommended. See RFC 4122 for details. + */ + operationId?: string; + /** Fully qualified name of the operation. Reserved for future use. */ + operationName?: string; + /** + * Represents the properties needed for quota check. Applicable only if this + * operation is for a quota check request. If this is not specified, no quota + * check will be performed. + */ + quotaProperties?: QuotaProperties; + /** + * DO NOT USE. This field is deprecated, use "resources" field instead. + * The resource name of the parent of a resource in the resource hierarchy. + * + * This can be in one of the following formats: + * - “projects/<project-id or project-number>” + * - “folders/<folder-id>” + * - “organizations/<organization-id>” + */ + resourceContainer?: string; + /** The resources that are involved in the operation. */ + resources?: ResourceInfo[]; + /** Required. Start time of the operation. */ + startTime?: string; + /** + * User defined labels for the resource that this operation is associated + * with. Only a combination of 1000 user labels per consumer project are + * allowed. + */ + userLabels?: Record<string, string>; + } + interface QuotaError { + /** Error code. */ + code?: string; + /** Free-form text that provides details on the cause of the error. */ + description?: string; + /** + * Subject to whom this error applies. See the specific enum for more details + * on this field. For example, "clientip:<ip address of client>" or + * "project:<Google developer project id>". + */ + subject?: string; + } + interface QuotaInfo { + /** + * Quota Metrics that have exceeded quota limits. + * For QuotaGroup-based quota, this is QuotaGroup.name + * For QuotaLimit-based quota, this is QuotaLimit.name + * See: google.api.Quota + * Deprecated: Use quota_metrics to get per quota group limit exceeded status. + */ + limitExceeded?: string[]; + /** + * Map of quota group name to the actual number of tokens consumed. If the + * quota check was not successful, then this will not be populated due to no + * quota consumption. + * + * We are not merging this field with 'quota_metrics' field because of the + * complexity of scaling in Chemist client code base. For simplicity, we will + * keep this field for Castor (that scales quota usage) and 'quota_metrics' + * for SuperQuota (that doesn't scale quota usage). + */ + quotaConsumed?: Record<string, number>; + /** + * Quota metrics to indicate the usage. Depending on the check request, one or + * more of the following metrics will be included: + * + * 1. For rate quota, per quota group or per quota metric incremental usage + * will be specified using the following delta metric: + * "serviceruntime.googleapis.com/api/consumer/quota_used_count" + * + * 2. For allocation quota, per quota metric total usage will be specified + * using the following gauge metric: + * "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" + * + * 3. For both rate quota and allocation quota, the quota limit reached + * condition will be specified using the following boolean metric: + * "serviceruntime.googleapis.com/quota/exceeded" + */ + quotaMetrics?: MetricValueSet[]; + } + interface QuotaOperation { + /** + * Identity of the consumer for whom this quota operation is being performed. + * + * This can be in one of the following formats: + * project:<project_id>, + * project_number:<project_number>, + * api_key:<api_key>. + */ + consumerId?: string; + /** Labels describing the operation. */ + labels?: Record<string, string>; + /** + * Fully qualified name of the API method for which this quota operation is + * requested. This name is used for matching quota rules or metric rules and + * billing status rules defined in service configuration. This field is not + * required if the quota operation is performed on non-API resources. + * + * Example of an RPC method name: + * google.example.library.v1.LibraryService.CreateShelf + */ + methodName?: string; + /** + * Identity of the operation. This is expected to be unique within the scope + * of the service that generated the operation, and guarantees idempotency in + * case of retries. + * + * UUID version 4 is recommended, though not required. In scenarios where an + * operation is computed from existing information and an idempotent id is + * desirable for deduplication purpose, UUID version 5 is recommended. See + * RFC 4122 for details. + */ + operationId?: string; + /** + * Represents information about this operation. Each MetricValueSet + * corresponds to a metric defined in the service configuration. + * The data type used in the MetricValueSet must agree with + * the data type specified in the metric definition. + * + * Within a single operation, it is not allowed to have more than one + * MetricValue instances that have the same metric names and identical + * label value combinations. If a request has such duplicated MetricValue + * instances, the entire request is rejected with + * an invalid argument error. + */ + quotaMetrics?: MetricValueSet[]; + /** Quota mode for this operation. */ + quotaMode?: string; + } + interface QuotaProperties { + /** Quota mode for this operation. */ + quotaMode?: string; + } + interface ReleaseQuotaRequest { + /** Operation that describes the quota release. */ + releaseOperation?: QuotaOperation; + /** + * Specifies which version of service configuration should be used to process + * the request. If unspecified or no matching version can be found, the latest + * one will be used. + */ + serviceConfigId?: string; + } + interface ReleaseQuotaResponse { + /** + * The same operation_id value used in the ReleaseQuotaRequest. Used for + * logging and diagnostics purposes. + */ + operationId?: string; + /** + * Quota metrics to indicate the result of release. Depending on the + * request, one or more of the following metrics will be included: + * + * 1. For rate quota, per quota group or per quota metric released amount + * will be specified using the following delta metric: + * "serviceruntime.googleapis.com/api/consumer/quota_refund_count" + * + * 2. For allocation quota, per quota metric total usage will be specified + * using the following gauge metric: + * "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" + * + * 3. For allocation quota, value for each quota limit associated with + * the metrics will be specified using the following gauge metric: + * "serviceruntime.googleapis.com/quota/limit" + */ + quotaMetrics?: MetricValueSet[]; + /** Indicates the decision of the release. */ + releaseErrors?: QuotaError[]; + /** ID of the actual config used to process the request. */ + serviceConfigId?: string; + } + interface ReportError { + /** The Operation.operation_id value from the request. */ + operationId?: string; + /** Details of the error when processing the Operation. */ + status?: Status; + } + interface ReportInfo { + /** The Operation.operation_id value from the request. */ + operationId?: string; + /** Quota usage info when processing the `Operation`. */ + quotaInfo?: QuotaInfo; + } + interface ReportRequest { + /** + * Operations to be reported. + * + * Typically the service should report one operation per request. + * Putting multiple operations into a single request is allowed, but should + * be used only when multiple operations are natually available at the time + * of the report. + * + * If multiple operations are in a single request, the total request size + * should be no larger than 1MB. See ReportResponse.report_errors for + * partial failure behavior. + */ + operations?: Operation[]; + /** + * Specifies which version of service config should be used to process the + * request. + * + * If unspecified or no matching version can be found, the + * latest one will be used. + */ + serviceConfigId?: string; + } + interface ReportResponse { + /** + * Partial failures, one for each `Operation` in the request that failed + * processing. There are three possible combinations of the RPC status: + * + * 1. The combination of a successful RPC status and an empty `report_errors` + * list indicates a complete success where all `Operations` in the + * request are processed successfully. + * 2. The combination of a successful RPC status and a non-empty + * `report_errors` list indicates a partial success where some + * `Operations` in the request succeeded. Each + * `Operation` that failed processing has a corresponding item + * in this list. + * 3. A failed RPC status indicates a general non-deterministic failure. + * When this happens, it's impossible to know which of the + * 'Operations' in the request succeeded or failed. + */ + reportErrors?: ReportError[]; + /** + * Quota usage for each quota release `Operation` request. + * + * Fully or partially failed quota release request may or may not be present + * in `report_quota_info`. For example, a failed quota release request will + * have the current quota usage info when precise quota library returns the + * info. A deadline exceeded quota request will not have quota usage info. + * + * If there is no quota release request, report_quota_info will be empty. + */ + reportInfos?: ReportInfo[]; + /** The actual config id used to process the request. */ + serviceConfigId?: string; + } + interface RequestMetadata { + /** + * The IP address of the caller. + * For caller from internet, this will be public IPv4 or IPv6 address. + * For caller from a Compute Engine VM with external IP address, this + * will be the VM's external IP address. For caller from a Compute + * Engine VM without external IP address, if the VM is in the same + * organization (or project) as the accessed resource, `caller_ip` will + * be the VM's internal IPv4 address, otherwise the `caller_ip` will be + * redacted to "gce-internal-ip". + * See https://cloud.google.com/compute/docs/vpc/ for more information. + */ + callerIp?: string; + /** + * The network of the caller. + * Set only if the network host project is part of the same GCP organization + * (or project) as the accessed resource. + * See https://cloud.google.com/compute/docs/vpc/ for more information. + * This is a scheme-less URI full resource name. For example: + * + * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" + */ + callerNetwork?: string; + /** + * The user agent of the caller. + * This information is not authenticated and should be treated accordingly. + * For example: + * + * + `google-api-python-client/1.4.0`: + * The request was made by the Google API client for Python. + * + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: + * The request was made by the Google Cloud SDK CLI (gcloud). + * + `AppEngine-Google; (+http://code.google.com/appengine; appid: s~my-project`: + * The request was made from the `my-project` App Engine app. + * NOLINT + */ + callerSuppliedUserAgent?: string; + } + interface ResourceInfo { + /** + * The identifier of the parent of this resource instance. + * Must be in one of the following formats: + * - “projects/<project-id or project-number>” + * - “folders/<folder-id>” + * - “organizations/<organization-id>” + */ + resourceContainer?: string; + /** Name of the resource. This is used for auditing purposes. */ + resourceName?: string; + } + interface StartReconciliationRequest { + /** Operation that describes the quota reconciliation. */ + reconciliationOperation?: QuotaOperation; + /** + * Specifies which version of service configuration should be used to process + * the request. If unspecified or no matching version can be found, the latest + * one will be used. + */ + serviceConfigId?: string; + } + interface StartReconciliationResponse { + /** + * The same operation_id value used in the StartReconciliationRequest. Used + * for logging and diagnostics purposes. + */ + operationId?: string; + /** + * Metric values as tracked by One Platform before the start of + * reconciliation. The following metrics will be included: + * + * 1. Per quota metric total usage will be specified using the following gauge + * metric: + * "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" + * + * 2. Value for each quota limit associated with the metrics will be specified + * using the following gauge metric: + * "serviceruntime.googleapis.com/quota/limit" + */ + quotaMetrics?: MetricValueSet[]; + /** Indicates the decision of the reconciliation start. */ + reconciliationErrors?: QuotaError[]; + /** ID of the actual config used to process the request. */ + serviceConfigId?: string; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface ServicesResource { + /** + * Attempts to allocate quota for the specified consumer. It should be called + * before the operation is executed. + * + * This method requires the `servicemanagement.services.quota` + * permission on the specified service. For more information, see + * [Cloud IAM](https://cloud.google.com/iam). + * + * **NOTE:** The client **must** fail-open on server errors `INTERNAL`, + * `UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system + * reliability, the server may inject these errors to prohibit any hard + * dependency on the quota functionality. + */ + allocateQuota(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Name of the service as specified in the service configuration. For example, + * `"pubsub.googleapis.com"`. + * + * See google.api.Service for the definition of a service name. + */ + serviceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<AllocateQuotaResponse>; + /** + * Checks an operation with Google Service Control to decide whether + * the given operation should proceed. It should be called before the + * operation is executed. + * + * If feasible, the client should cache the check results and reuse them for + * 60 seconds. In case of server errors, the client can rely on the cached + * results for longer time. + * + * NOTE: the CheckRequest has the size limit of 64KB. + * + * This method requires the `servicemanagement.services.check` permission + * on the specified service. For more information, see + * [Google Cloud IAM](https://cloud.google.com/iam). + */ + check(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The service name as specified in its service configuration. For example, + * `"pubsub.googleapis.com"`. + * + * See + * [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) + * for the definition of a service name. + */ + serviceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CheckResponse>; + /** + * Signals the quota controller that service ends the ongoing usage + * reconciliation. + * + * This method requires the `servicemanagement.services.quota` + * permission on the specified service. For more information, see + * [Google Cloud IAM](https://cloud.google.com/iam). + */ + endReconciliation(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Name of the service as specified in the service configuration. For example, + * `"pubsub.googleapis.com"`. + * + * See google.api.Service for the definition of a service name. + */ + serviceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<EndReconciliationResponse>; + /** + * Releases previously allocated quota done through AllocateQuota method. + * + * This method requires the `servicemanagement.services.quota` + * permission on the specified service. For more information, see + * [Cloud IAM](https://cloud.google.com/iam). + * + * + * **NOTE:** The client **must** fail-open on server errors `INTERNAL`, + * `UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system + * reliability, the server may inject these errors to prohibit any hard + * dependency on the quota functionality. + */ + releaseQuota(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Name of the service as specified in the service configuration. For example, + * `"pubsub.googleapis.com"`. + * + * See google.api.Service for the definition of a service name. + */ + serviceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ReleaseQuotaResponse>; + /** + * Reports operation results to Google Service Control, such as logs and + * metrics. It should be called after an operation is completed. + * + * If feasible, the client should aggregate reporting data for up to 5 + * seconds to reduce API traffic. Limiting aggregation to 5 seconds is to + * reduce data loss during client crashes. Clients should carefully choose + * the aggregation time window to avoid data loss risk more than 0.01% + * for business and compliance reasons. + * + * NOTE: the ReportRequest has the size limit of 1MB. + * + * This method requires the `servicemanagement.services.report` permission + * on the specified service. For more information, see + * [Google Cloud IAM](https://cloud.google.com/iam). + */ + report(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The service name as specified in its service configuration. For example, + * `"pubsub.googleapis.com"`. + * + * See + * [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) + * for the definition of a service name. + */ + serviceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ReportResponse>; + /** + * Unlike rate quota, allocation quota does not get refilled periodically. + * So, it is possible that the quota usage as seen by the service differs from + * what the One Platform considers the usage is. This is expected to happen + * only rarely, but over time this can accumulate. Services can invoke + * StartReconciliation and EndReconciliation to correct this usage drift, as + * described below: + * 1. Service sends StartReconciliation with a timestamp in future for each + * metric that needs to be reconciled. The timestamp being in future allows + * to account for in-flight AllocateQuota and ReleaseQuota requests for the + * same metric. + * 2. One Platform records this timestamp and starts tracking subsequent + * AllocateQuota and ReleaseQuota requests until EndReconciliation is + * called. + * 3. At or after the time specified in the StartReconciliation, service + * sends EndReconciliation with the usage that needs to be reconciled to. + * 4. One Platform adjusts its own record of usage for that metric to the + * value specified in EndReconciliation by taking in to account any + * allocation or release between StartReconciliation and EndReconciliation. + * + * Signals the quota controller that the service wants to perform a usage + * reconciliation as specified in the request. + * + * This method requires the `servicemanagement.services.quota` + * permission on the specified service. For more information, see + * [Google Cloud IAM](https://cloud.google.com/iam). + */ + startReconciliation(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Name of the service as specified in the service configuration. For example, + * `"pubsub.googleapis.com"`. + * + * See google.api.Service for the definition of a service name. + */ + serviceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<StartReconciliationResponse>; + } + } +} diff --git a/types/gapi.client.servicecontrol/readme.md b/types/gapi.client.servicecontrol/readme.md new file mode 100644 index 0000000000..66a487a256 --- /dev/null +++ b/types/gapi.client.servicecontrol/readme.md @@ -0,0 +1,161 @@ +# TypeScript typings for Google Service Control API v1 +Google Service Control provides control plane functionality to managed services, such as logging, monitoring, and status checks. +For detailed description please check [documentation](https://cloud.google.com/service-control/). + +## Installing + +Install typings for Google Service Control API: +``` +npm install @types/gapi.client.servicecontrol@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('servicecontrol', 'v1', () => { + // now we can use gapi.client.servicecontrol + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // Manage your Google Service Control data + 'https://www.googleapis.com/auth/servicecontrol', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Service Control API resources: + +```typescript + +/* +Attempts to allocate quota for the specified consumer. It should be called +before the operation is executed. + +This method requires the `servicemanagement.services.quota` +permission on the specified service. For more information, see +[Cloud IAM](https://cloud.google.com/iam). + +**NOTE:** The client **must** fail-open on server errors `INTERNAL`, +`UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system +reliability, the server may inject these errors to prohibit any hard +dependency on the quota functionality. +*/ +await gapi.client.services.allocateQuota({ serviceName: "serviceName", }); + +/* +Checks an operation with Google Service Control to decide whether +the given operation should proceed. It should be called before the +operation is executed. + +If feasible, the client should cache the check results and reuse them for +60 seconds. In case of server errors, the client can rely on the cached +results for longer time. + +NOTE: the CheckRequest has the size limit of 64KB. + +This method requires the `servicemanagement.services.check` permission +on the specified service. For more information, see +[Google Cloud IAM](https://cloud.google.com/iam). +*/ +await gapi.client.services.check({ serviceName: "serviceName", }); + +/* +Signals the quota controller that service ends the ongoing usage +reconciliation. + +This method requires the `servicemanagement.services.quota` +permission on the specified service. For more information, see +[Google Cloud IAM](https://cloud.google.com/iam). +*/ +await gapi.client.services.endReconciliation({ serviceName: "serviceName", }); + +/* +Releases previously allocated quota done through AllocateQuota method. + +This method requires the `servicemanagement.services.quota` +permission on the specified service. For more information, see +[Cloud IAM](https://cloud.google.com/iam). + + +**NOTE:** The client **must** fail-open on server errors `INTERNAL`, +`UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system +reliability, the server may inject these errors to prohibit any hard +dependency on the quota functionality. +*/ +await gapi.client.services.releaseQuota({ serviceName: "serviceName", }); + +/* +Reports operation results to Google Service Control, such as logs and +metrics. It should be called after an operation is completed. + +If feasible, the client should aggregate reporting data for up to 5 +seconds to reduce API traffic. Limiting aggregation to 5 seconds is to +reduce data loss during client crashes. Clients should carefully choose +the aggregation time window to avoid data loss risk more than 0.01% +for business and compliance reasons. + +NOTE: the ReportRequest has the size limit of 1MB. + +This method requires the `servicemanagement.services.report` permission +on the specified service. For more information, see +[Google Cloud IAM](https://cloud.google.com/iam). +*/ +await gapi.client.services.report({ serviceName: "serviceName", }); + +/* +Unlike rate quota, allocation quota does not get refilled periodically. +So, it is possible that the quota usage as seen by the service differs from +what the One Platform considers the usage is. This is expected to happen +only rarely, but over time this can accumulate. Services can invoke +StartReconciliation and EndReconciliation to correct this usage drift, as +described below: +1. Service sends StartReconciliation with a timestamp in future for each + metric that needs to be reconciled. The timestamp being in future allows + to account for in-flight AllocateQuota and ReleaseQuota requests for the + same metric. +2. One Platform records this timestamp and starts tracking subsequent + AllocateQuota and ReleaseQuota requests until EndReconciliation is + called. +3. At or after the time specified in the StartReconciliation, service + sends EndReconciliation with the usage that needs to be reconciled to. +4. One Platform adjusts its own record of usage for that metric to the + value specified in EndReconciliation by taking in to account any + allocation or release between StartReconciliation and EndReconciliation. + +Signals the quota controller that the service wants to perform a usage +reconciliation as specified in the request. + +This method requires the `servicemanagement.services.quota` +permission on the specified service. For more information, see +[Google Cloud IAM](https://cloud.google.com/iam). +*/ +await gapi.client.services.startReconciliation({ serviceName: "serviceName", }); +``` \ No newline at end of file diff --git a/types/gapi.client.servicecontrol/tsconfig.json b/types/gapi.client.servicecontrol/tsconfig.json new file mode 100644 index 0000000000..14d7667280 --- /dev/null +++ b/types/gapi.client.servicecontrol/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.servicecontrol-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.servicecontrol/tslint.json b/types/gapi.client.servicecontrol/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.servicecontrol/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.servicemanagement/gapi.client.servicemanagement-tests.ts b/types/gapi.client.servicemanagement/gapi.client.servicemanagement-tests.ts new file mode 100644 index 0000000000..26a107c0ea --- /dev/null +++ b/types/gapi.client.servicemanagement/gapi.client.servicemanagement-tests.ts @@ -0,0 +1,176 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('servicemanagement', 'v1', () => { + /** now we can use gapi.client.servicemanagement */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform.read-only', + /** Manage your Google API service configuration */ + 'https://www.googleapis.com/auth/service.management', + /** View your Google API service configuration */ + 'https://www.googleapis.com/auth/service.management.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + await gapi.client.operations.get({ + name: "name", + }); + /** Lists service operations that match the specified filter in the request. */ + await gapi.client.operations.list({ + filter: "filter", + name: "name", + pageSize: 3, + pageToken: "pageToken", + }); + /** + * Creates a new managed service. + * Please note one producer project can own no more than 20 services. + * + * Operation<response: ManagedService> + */ + await gapi.client.services.create({ + }); + /** + * Deletes a managed service. This method will change the service to the + * `Soft-Delete` state for 30 days. Within this period, service producers may + * call UndeleteService to restore the service. + * After 30 days, the service will be permanently deleted. + * + * Operation<response: google.protobuf.Empty> + */ + await gapi.client.services.delete({ + serviceName: "serviceName", + }); + /** + * Disables a service for a project, so it can no longer be + * be used for the project. It prevents accidental usage that may cause + * unexpected billing charges or security leaks. + * + * Operation<response: DisableServiceResponse> + */ + await gapi.client.services.disable({ + serviceName: "serviceName", + }); + /** + * Enables a service for a project, so it can be used + * for the project. See + * [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for + * more information. + * + * Operation<response: EnableServiceResponse> + */ + await gapi.client.services.enable({ + serviceName: "serviceName", + }); + /** + * Generates and returns a report (errors, warnings and changes from + * existing configurations) associated with + * GenerateConfigReportRequest.new_value + * + * If GenerateConfigReportRequest.old_value is specified, + * GenerateConfigReportRequest will contain a single ChangeReport based on the + * comparison between GenerateConfigReportRequest.new_value and + * GenerateConfigReportRequest.old_value. + * If GenerateConfigReportRequest.old_value is not specified, this method + * will compare GenerateConfigReportRequest.new_value with the last pushed + * service configuration. + */ + await gapi.client.services.generateConfigReport({ + }); + /** + * Gets a managed service. Authentication is required unless the service is + * public. + */ + await gapi.client.services.get({ + serviceName: "serviceName", + }); + /** Gets a service configuration (version) for a managed service. */ + await gapi.client.services.getConfig({ + configId: "configId", + serviceName: "serviceName", + view: "view", + }); + /** + * Gets the access control policy for a resource. + * Returns an empty policy if the resource exists and does not have a policy + * set. + */ + await gapi.client.services.getIamPolicy({ + resource: "resource", + }); + /** + * Lists managed services. + * + * Returns all public services. For authenticated users, also returns all + * services the calling user has "servicemanagement.services.get" permission + * for. + * + * **BETA:** If the caller specifies the `consumer_id`, it returns only the + * services enabled on the consumer. The `consumer_id` must have the format + * of "project:{PROJECT-ID}". + */ + await gapi.client.services.list({ + consumerId: "consumerId", + pageSize: 2, + pageToken: "pageToken", + producerProjectId: "producerProjectId", + }); + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. + */ + await gapi.client.services.setIamPolicy({ + resource: "resource", + }); + /** + * Returns permissions that a caller has on the specified resource. + * If the resource does not exist, this will return an empty set of + * permissions, not a NOT_FOUND error. + * + * Note: This operation is designed to be used for building permission-aware + * UIs and command-line tools, not for authorization checking. This operation + * may "fail open" without warning. + */ + await gapi.client.services.testIamPermissions({ + resource: "resource", + }); + /** + * Revives a previously deleted managed service. The method restores the + * service using the configuration at the time the service was deleted. + * The target service must exist and must have been deleted within the + * last 30 days. + * + * Operation<response: UndeleteServiceResponse> + */ + await gapi.client.services.undelete({ + serviceName: "serviceName", + }); + } +}); diff --git a/types/gapi.client.servicemanagement/index.d.ts b/types/gapi.client.servicemanagement/index.d.ts new file mode 100644 index 0000000000..005fbc9fcc --- /dev/null +++ b/types/gapi.client.servicemanagement/index.d.ts @@ -0,0 +1,2813 @@ +// Type definitions for Google Google Service Management API v1 1.0 +// Project: https://cloud.google.com/service-management/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://servicemanagement.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Service Management API v1 */ + function load(name: "servicemanagement", version: "v1"): PromiseLike<void>; + function load(name: "servicemanagement", version: "v1", callback: () => any): void; + + const operations: servicemanagement.OperationsResource; + + const services: servicemanagement.ServicesResource; + + namespace servicemanagement { + interface Advice { + /** + * Useful description for why this advice was applied and what actions should + * be taken to mitigate any implied risks. + */ + description?: string; + } + interface Api { + /** The methods of this interface, in unspecified order. */ + methods?: Method[]; + /** Included interfaces. See Mixin. */ + mixins?: Mixin[]; + /** + * The fully qualified name of this interface, including package name + * followed by the interface's simple name. + */ + name?: string; + /** Any metadata attached to the interface. */ + options?: Option[]; + /** + * Source context for the protocol buffer service represented by this + * message. + */ + sourceContext?: SourceContext; + /** The source syntax of the service. */ + syntax?: string; + /** + * A version string for this interface. If specified, must have the form + * `major-version.minor-version`, as in `1.10`. If the minor version is + * omitted, it defaults to zero. If the entire version field is empty, the + * major version is derived from the package name, as outlined below. If the + * field is not empty, the version in the package name will be verified to be + * consistent with what is provided here. + * + * The versioning schema uses [semantic + * versioning](http://semver.org) where the major version number + * indicates a breaking change and the minor version an additive, + * non-breaking change. Both version numbers are signals to users + * what to expect from different versions, and should be carefully + * chosen based on the product plan. + * + * The major version is also reflected in the package name of the + * interface, which must end in `v<major-version>`, as in + * `google.feature.v1`. For major versions 0 and 1, the suffix can + * be omitted. Zero major versions must only be used for + * experimental, non-GA interfaces. + */ + version?: string; + } + interface AuditConfig { + /** + * The configuration for logging of each type of permission. + * Next ID: 4 + */ + auditLogConfigs?: AuditLogConfig[]; + exemptedMembers?: string[]; + /** + * Specifies a service that will be enabled for audit logging. + * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. + * `allServices` is a special value that covers all services. + */ + service?: string; + } + interface AuditLogConfig { + /** + * Specifies the identities that do not cause logging for this type of + * permission. + * Follows the same format of Binding.members. + */ + exemptedMembers?: string[]; + /** The log type that this config enables. */ + logType?: string; + } + interface AuthProvider { + /** + * The list of JWT + * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). + * that are allowed to access. A JWT containing any of these audiences will + * be accepted. When this setting is absent, only JWTs with audience + * "https://Service_name/API_name" + * will be accepted. For example, if no audiences are in the setting, + * LibraryService API will only accept JWTs with the following audience + * "https://library-example.googleapis.com/google.example.library.v1.LibraryService". + * + * Example: + * + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com + */ + audiences?: string; + /** + * Redirect URL if JWT token is required but no present or is expired. + * Implement authorizationUrl of securityDefinitions in OpenAPI spec. + */ + authorizationUrl?: string; + /** + * The unique identifier of the auth provider. It will be referred to by + * `AuthRequirement.provider_id`. + * + * Example: "bookstore_auth". + */ + id?: string; + /** + * Identifies the principal that issued the JWT. See + * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 + * Usually a URL or an email address. + * + * Example: https://securetoken.google.com + * Example: 1234567-compute@developer.gserviceaccount.com + */ + issuer?: string; + /** + * URL of the provider's public key set to validate signature of the JWT. See + * [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). + * Optional if the key set document: + * - can be retrieved from + * [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html + * of the issuer. + * - can be inferred from the email domain of the issuer (e.g. a Google service account). + * + * Example: https://www.googleapis.com/oauth2/v1/certs + */ + jwksUri?: string; + } + interface AuthRequirement { + /** + * NOTE: This will be deprecated soon, once AuthProvider.audiences is + * implemented and accepted in all the runtime components. + * + * The list of JWT + * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). + * that are allowed to access. A JWT containing any of these audiences will + * be accepted. When this setting is absent, only JWTs with audience + * "https://Service_name/API_name" + * will be accepted. For example, if no audiences are in the setting, + * LibraryService API will only accept JWTs with the following audience + * "https://library-example.googleapis.com/google.example.library.v1.LibraryService". + * + * Example: + * + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com + */ + audiences?: string; + /** + * id from authentication provider. + * + * Example: + * + * provider_id: bookstore_auth + */ + providerId?: string; + } + interface Authentication { + /** Defines a set of authentication providers that a service supports. */ + providers?: AuthProvider[]; + /** + * A list of authentication rules that apply to individual API methods. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules?: AuthenticationRule[]; + } + interface AuthenticationRule { + /** + * Whether to allow requests without a credential. The credential can be + * an OAuth token, Google cookies (first-party auth) or EndUserCreds. + * + * For requests without credentials, if the service control environment is + * specified, each incoming request **must** be associated with a service + * consumer. This can be done by passing an API key that belongs to a consumer + * project. + */ + allowWithoutCredential?: boolean; + /** Configuration for custom authentication. */ + customAuth?: CustomAuthRequirements; + /** The requirements for OAuth credentials. */ + oauth?: OAuthRequirements; + /** Requirements for additional authentication providers. */ + requirements?: AuthRequirement[]; + /** + * Selects the methods to which this rule applies. + * + * Refer to selector for syntax details. + */ + selector?: string; + } + interface AuthorizationConfig { + /** + * The name of the authorization provider, such as + * firebaserules.googleapis.com. + */ + provider?: string; + } + interface Backend { + /** + * A list of API backend rules that apply to individual API methods. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules?: BackendRule[]; + } + interface BackendRule { + /** The address of the API backend. */ + address?: string; + /** + * The number of seconds to wait for a response from a request. The default + * deadline for gRPC is infinite (no deadline) and HTTP requests is 5 seconds. + */ + deadline?: number; + /** + * Minimum deadline in seconds needed for this method. Calls having deadline + * value lower than this will be rejected. + */ + minDeadline?: number; + /** + * Selects the methods to which this rule applies. + * + * Refer to selector for syntax details. + */ + selector?: string; + } + interface Billing { + /** + * Billing configurations for sending metrics to the consumer project. + * There can be multiple consumer destinations per service, each one must have + * a different monitored resource type. A metric can be used in at most + * one consumer destination. + */ + consumerDestinations?: BillingDestination[]; + } + interface BillingDestination { + /** + * Names of the metrics to report to this billing destination. + * Each name must be defined in Service.metrics section. + */ + metrics?: string[]; + /** + * The monitored resource type. The type must be defined in + * Service.monitored_resources section. + */ + monitoredResource?: string; + } + interface Binding { + /** + * The condition that is associated with this binding. + * NOTE: an unsatisfied condition will not allow user access via current + * binding. Different bindings, including their conditions, are examined + * independently. + * This field is GOOGLE_INTERNAL. + */ + condition?: Expr; + /** + * Specifies the identities requesting access for a Cloud Platform resource. + * `members` can have the following values: + * + * * `allUsers`: A special identifier that represents anyone who is + * on the internet; with or without a Google account. + * + * * `allAuthenticatedUsers`: A special identifier that represents anyone + * who is authenticated with a Google account or a service account. + * + * * `user:{emailid}`: An email address that represents a specific Google + * account. For example, `alice@gmail.com` or `joe@example.com`. + * + * + * * `serviceAccount:{emailid}`: An email address that represents a service + * account. For example, `my-other-app@appspot.gserviceaccount.com`. + * + * * `group:{emailid}`: An email address that represents a Google group. + * For example, `admins@example.com`. + * + * + * * `domain:{domain}`: A Google Apps domain name that represents all the + * users of that domain. For example, `google.com` or `example.com`. + */ + members?: string[]; + /** + * Role that is assigned to `members`. + * For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + * Required + */ + role?: string; + } + interface ChangeReport { + /** + * List of changes between two service configurations. + * The changes will be alphabetically sorted based on the identifier + * of each change. + * A ConfigChange identifier is a dot separated path to the configuration. + * Example: visibility.rules[selector='LibraryService.CreateBook'].restriction + */ + configChanges?: ConfigChange[]; + } + interface ConfigChange { + /** + * Collection of advice provided for this change, useful for determining the + * possible impact of this change. + */ + advices?: Advice[]; + /** The type for this change, either ADDED, REMOVED, or MODIFIED. */ + changeType?: string; + /** + * Object hierarchy path to the change, with levels separated by a '.' + * character. For repeated fields, an applicable unique identifier field is + * used for the index (usually selector, name, or id). For maps, the term + * 'key' is used. If the field has no unique identifier, the numeric index + * is used. + * Examples: + * - visibility.rules[selector=="google.LibraryService.CreateBook"].restriction + * - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value + * - logging.producer_destinations[0] + */ + element?: string; + /** + * Value of the changed object in the new Service configuration, + * in JSON format. This field will not be populated if ChangeType == REMOVED. + */ + newValue?: string; + /** + * Value of the changed object in the old Service configuration, + * in JSON format. This field will not be populated if ChangeType == ADDED. + */ + oldValue?: string; + } + interface ConfigFile { + /** The bytes that constitute the file. */ + fileContents?: string; + /** The file name of the configuration file (full or relative path). */ + filePath?: string; + /** The type of configuration file this represents. */ + fileType?: string; + } + interface ConfigRef { + /** + * Resource name of a service config. It must have the following + * format: "services/{service name}/configs/{config id}". + */ + name?: string; + } + interface ConfigSource { + /** + * Set of source configuration files that are used to generate a service + * configuration (`google.api.Service`). + */ + files?: ConfigFile[]; + /** + * A unique ID for a specific instance of this message, typically assigned + * by the client for tracking purpose. If empty, the server may choose to + * generate one instead. + */ + id?: string; + } + interface Context { + /** + * A list of RPC context rules that apply to individual API methods. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules?: ContextRule[]; + } + interface ContextRule { + /** A list of full type names of provided contexts. */ + provided?: string[]; + /** A list of full type names of requested contexts. */ + requested?: string[]; + /** + * Selects the methods to which this rule applies. + * + * Refer to selector for syntax details. + */ + selector?: string; + } + interface Control { + /** + * The service control environment to use. If empty, no control plane + * feature (like quota and billing) will be enabled. + */ + environment?: string; + } + interface CustomAuthRequirements { + /** + * A configuration string containing connection information for the + * authentication provider, typically formatted as a SmartService string + * (go/smartservice). + */ + provider?: string; + } + interface CustomError { + /** + * The list of custom error rules that apply to individual API messages. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules?: CustomErrorRule[]; + /** The list of custom error detail types, e.g. 'google.foo.v1.CustomError'. */ + types?: string[]; + } + interface CustomErrorRule { + /** + * Mark this message as possible payload in error response. Otherwise, + * objects of this type will be filtered when they appear in error payload. + */ + isErrorType?: boolean; + /** + * Selects messages to which this rule applies. + * + * Refer to selector for syntax details. + */ + selector?: string; + } + interface CustomHttpPattern { + /** The name of this custom HTTP verb. */ + kind?: string; + /** The path matched by this custom verb. */ + path?: string; + } + interface Diagnostic { + /** The kind of diagnostic information provided. */ + kind?: string; + /** File name and line number of the error or warning. */ + location?: string; + /** Message describing the error or warning. */ + message?: string; + } + interface DisableServiceRequest { + /** + * The identity of consumer resource which service disablement will be + * applied to. + * + * The Google Service Management implementation accepts the following + * forms: + * - "project:<project_id>" + * + * Note: this is made compatible with + * google.api.servicecontrol.v1.Operation.consumer_id. + */ + consumerId?: string; + } + interface Documentation { + /** The URL to the root of documentation. */ + documentationRootUrl?: string; + /** + * Declares a single overview page. For example: + * <pre><code>documentation: + * summary: ... + * overview: (== include overview.md ==) + * </code></pre> + * This is a shortcut for the following declaration (using pages style): + * <pre><code>documentation: + * summary: ... + * pages: + * - name: Overview + * content: (== include overview.md ==) + * </code></pre> + * Note: you cannot specify both `overview` field and `pages` field. + */ + overview?: string; + /** The top level pages for the documentation set. */ + pages?: Page[]; + /** + * A list of documentation rules that apply to individual API elements. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules?: DocumentationRule[]; + /** + * A short summary of what the service does. Can only be provided by + * plain text. + */ + summary?: string; + } + interface DocumentationRule { + /** + * Deprecation description of the selected element(s). It can be provided if an + * element is marked as `deprecated`. + */ + deprecationDescription?: string; + /** Description of the selected API(s). */ + description?: string; + /** + * The selector is a comma-separated list of patterns. Each pattern is a + * qualified name of the element which may end in "*", indicating a wildcard. + * Wildcards are only allowed at the end and for a whole component of the + * qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To + * specify a default for all applicable elements, the whole pattern "*" + * is used. + */ + selector?: string; + } + interface EnableServiceRequest { + /** + * The identity of consumer resource which service enablement will be + * applied to. + * + * The Google Service Management implementation accepts the following + * forms: + * - "project:<project_id>" + * + * Note: this is made compatible with + * google.api.servicecontrol.v1.Operation.consumer_id. + */ + consumerId?: string; + } + interface Endpoint { + /** + * DEPRECATED: This field is no longer supported. Instead of using aliases, + * please specify multiple google.api.Endpoint for each of the intented + * alias. + * + * Additional names that this endpoint will be hosted on. + */ + aliases?: string[]; + /** + * Allowing + * [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka + * cross-domain traffic, would allow the backends served from this endpoint to + * receive and respond to HTTP OPTIONS requests. The response will be used by + * the browser to determine whether the subsequent cross-origin request is + * allowed to proceed. + */ + allowCors?: boolean; + /** + * The list of APIs served by this endpoint. + * + * If no APIs are specified this translates to "all APIs" exported by the + * service, as defined in the top-level service configuration. + */ + apis?: string[]; + /** The list of features enabled on this endpoint. */ + features?: string[]; + /** The canonical name of this endpoint. */ + name?: string; + /** + * The specification of an Internet routable address of API frontend that will + * handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary). + * It should be either a valid IPv4 address or a fully-qualified domain name. + * For example, "8.8.8.8" or "myservice.appspot.com". + */ + target?: string; + } + interface Enum { + /** Enum value definitions. */ + enumvalue?: EnumValue[]; + /** Enum type name. */ + name?: string; + /** Protocol buffer options. */ + options?: Option[]; + /** The source context. */ + sourceContext?: SourceContext; + /** The source syntax. */ + syntax?: string; + } + interface EnumValue { + /** Enum value name. */ + name?: string; + /** Enum value number. */ + number?: number; + /** Protocol buffer options. */ + options?: Option[]; + } + interface Experimental { + /** Authorization configuration. */ + authorization?: AuthorizationConfig; + } + interface Expr { + /** + * An optional description of the expression. This is a longer text which + * describes the expression, e.g. when hovered over it in a UI. + */ + description?: string; + /** + * Textual representation of an expression in + * Common Expression Language syntax. + * + * The application context of the containing message determines which + * well-known feature set of CEL is supported. + */ + expression?: string; + /** + * An optional string indicating the location of the expression for error + * reporting, e.g. a file name and a position in the file. + */ + location?: string; + /** + * An optional title for the expression, i.e. a short string describing + * its purpose. This can be used e.g. in UIs which allow to enter the + * expression. + */ + title?: string; + } + interface Field { + /** The field cardinality. */ + cardinality?: string; + /** The string value of the default value of this field. Proto2 syntax only. */ + defaultValue?: string; + /** The field JSON name. */ + jsonName?: string; + /** The field type. */ + kind?: string; + /** The field name. */ + name?: string; + /** The field number. */ + number?: number; + /** + * The index of the field type in `Type.oneofs`, for message or enumeration + * types. The first type has index 1; zero means the type is not in the list. + */ + oneofIndex?: number; + /** The protocol buffer options. */ + options?: Option[]; + /** Whether to use alternative packed wire representation. */ + packed?: boolean; + /** + * The field type URL, without the scheme, for message or enumeration + * types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. + */ + typeUrl?: string; + } + interface FlowOperationMetadata { + /** The state of the operation with respect to cancellation. */ + cancelState?: string; + /** + * Deadline for the flow to complete, to prevent orphaned Operations. + * + * If the flow has not completed by this time, it may be terminated by + * the engine, or force-failed by Operation lookup. + * + * Note that this is not a hard deadline after which the Flow will + * definitely be failed, rather it is a deadline after which it is reasonable + * to suspect a problem and other parts of the system may kill operation + * to ensure we don't have orphans. + * see also: go/prevent-orphaned-operations + */ + deadline?: string; + /** + * The name of the top-level flow corresponding to this operation. + * Must be equal to the "name" field for a FlowName enum. + */ + flowName?: string; + /** + * Operation type which is a flow type and subtype info as that is missing in + * our datastore otherwise. This maps to the ordinal value of the enum: + * jcg/api/tenant/operations/OperationNamespace.java + */ + operationType?: number; + /** The full name of the resources that this flow is directly associated with. */ + resourceNames?: string[]; + /** The start time of the operation. */ + startTime?: string; + surface?: string; + } + interface GenerateConfigReportRequest { + /** + * Service configuration for which we want to generate the report. + * For this version of API, the supported types are + * google.api.servicemanagement.v1.ConfigRef, + * google.api.servicemanagement.v1.ConfigSource, + * and google.api.Service + */ + newConfig?: Record<string, any>; + /** + * Service configuration against which the comparison will be done. + * For this version of API, the supported types are + * google.api.servicemanagement.v1.ConfigRef, + * google.api.servicemanagement.v1.ConfigSource, + * and google.api.Service + */ + oldConfig?: Record<string, any>; + } + interface GenerateConfigReportResponse { + /** + * list of ChangeReport, each corresponding to comparison between two + * service configurations. + */ + changeReports?: ChangeReport[]; + /** + * Errors / Linter warnings associated with the service definition this + * report + * belongs to. + */ + diagnostics?: Diagnostic[]; + /** ID of the service configuration this report belongs to. */ + id?: string; + /** Name of the service this report belongs to. */ + serviceName?: string; + } + interface Http { + /** + * When set to true, URL path parmeters will be fully URI-decoded except in + * cases of single segment matches in reserved expansion, where "%2F" will be + * left encoded. + * + * The default behavior is to not decode RFC 6570 reserved characters in multi + * segment matches. + */ + fullyDecodeReservedExpansion?: boolean; + /** + * A list of HTTP configuration rules that apply to individual API methods. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules?: HttpRule[]; + } + interface HttpRule { + /** + * Additional HTTP bindings for the selector. Nested bindings must + * not contain an `additional_bindings` field themselves (that is, + * the nesting may only be one level deep). + */ + additionalBindings?: HttpRule[]; + /** + * The name of the request field whose value is mapped to the HTTP body, or + * `*` for mapping all fields not captured by the path pattern to the HTTP + * body. NOTE: the referred field must not be a repeated field and must be + * present at the top-level of request message type. + */ + body?: string; + /** + * The custom pattern is used for specifying an HTTP method that is not + * included in the `pattern` field, such as HEAD, or "*" to leave the + * HTTP method unspecified for this rule. The wild-card rule is useful + * for services that provide content to Web (HTML) clients. + */ + custom?: CustomHttpPattern; + /** Used for deleting a resource. */ + delete?: string; + /** Used for listing and getting information about resources. */ + get?: string; + /** + * Use this only for Scotty Requests. Do not use this for bytestream methods. + * For media support, add instead [][google.bytestream.RestByteStream] as an + * API to your configuration. + */ + mediaDownload?: MediaDownload; + /** + * Use this only for Scotty Requests. Do not use this for media support using + * Bytestream, add instead + * [][google.bytestream.RestByteStream] as an API to your + * configuration for Bytestream methods. + */ + mediaUpload?: MediaUpload; + /** Used for updating a resource. */ + patch?: string; + /** Used for creating a resource. */ + post?: string; + /** Used for updating a resource. */ + put?: string; + /** + * The name of the response field whose value is mapped to the HTTP body of + * response. Other response fields are ignored. This field is optional. When + * not set, the response message will be used as HTTP body of response. + * NOTE: the referred field must be not a repeated field and must be present + * at the top-level of response message type. + */ + responseBody?: string; + /** + * Selects methods to which this rule applies. + * + * Refer to selector for syntax details. + */ + selector?: string; + } + interface LabelDescriptor { + /** A human-readable description for the label. */ + description?: string; + /** The label key. */ + key?: string; + /** The type of data that can be assigned to the label. */ + valueType?: string; + } + interface ListOperationsResponse { + /** The standard List next-page token. */ + nextPageToken?: string; + /** A list of operations that matches the specified filter in the request. */ + operations?: Operation[]; + } + interface ListServiceConfigsResponse { + /** The token of the next page of results. */ + nextPageToken?: string; + /** The list of service configuration resources. */ + serviceConfigs?: Service[]; + } + interface ListServiceRolloutsResponse { + /** The token of the next page of results. */ + nextPageToken?: string; + /** The list of rollout resources. */ + rollouts?: Rollout[]; + } + interface ListServicesResponse { + /** Token that can be passed to `ListServices` to resume a paginated query. */ + nextPageToken?: string; + /** The returned services will only have the name field set. */ + services?: ManagedService[]; + } + interface LogDescriptor { + /** + * A human-readable description of this log. This information appears in + * the documentation and can contain details. + */ + description?: string; + /** + * The human-readable name for this log. This information appears on + * the user interface and should be concise. + */ + displayName?: string; + /** + * The set of labels that are available to describe a specific log entry. + * Runtime requests that contain labels not specified here are + * considered invalid. + */ + labels?: LabelDescriptor[]; + /** + * The name of the log. It must be less than 512 characters long and can + * include the following characters: upper- and lower-case alphanumeric + * characters [A-Za-z0-9], and punctuation characters including + * slash, underscore, hyphen, period [/_-.]. + */ + name?: string; + } + interface Logging { + /** + * Logging configurations for sending logs to the consumer project. + * There can be multiple consumer destinations, each one must have a + * different monitored resource type. A log can be used in at most + * one consumer destination. + */ + consumerDestinations?: LoggingDestination[]; + /** + * Logging configurations for sending logs to the producer project. + * There can be multiple producer destinations, each one must have a + * different monitored resource type. A log can be used in at most + * one producer destination. + */ + producerDestinations?: LoggingDestination[]; + } + interface LoggingDestination { + /** + * Names of the logs to be sent to this destination. Each name must + * be defined in the Service.logs section. If the log name is + * not a domain scoped name, it will be automatically prefixed with + * the service name followed by "/". + */ + logs?: string[]; + /** + * The monitored resource type. The type must be defined in the + * Service.monitored_resources section. + */ + monitoredResource?: string; + } + interface ManagedService { + /** ID of the project that produces and owns this service. */ + producerProjectId?: string; + /** + * The name of the service. See the [overview](/service-management/overview) + * for naming requirements. + */ + serviceName?: string; + } + interface MediaDownload { + /** + * A boolean that determines whether a notification for the completion of a + * download should be sent to the backend. + */ + completeNotification?: boolean; + /** + * DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED. + * + * Specify name of the download service if one is used for download. + */ + downloadService?: string; + /** Name of the Scotty dropzone to use for the current API. */ + dropzone?: string; + /** Whether download is enabled. */ + enabled?: boolean; + /** + * Optional maximum acceptable size for direct download. + * The size is specified in bytes. + */ + maxDirectDownloadSize?: string; + /** + * A boolean that determines if direct download from ESF should be used for + * download of this media. + */ + useDirectDownload?: boolean; + } + interface MediaUpload { + /** + * A boolean that determines whether a notification for the completion of an + * upload should be sent to the backend. These notifications will not be seen + * by the client and will not consume quota. + */ + completeNotification?: boolean; + /** Name of the Scotty dropzone to use for the current API. */ + dropzone?: string; + /** Whether upload is enabled. */ + enabled?: boolean; + /** + * Optional maximum acceptable size for an upload. + * The size is specified in bytes. + */ + maxSize?: string; + /** + * An array of mimetype patterns. Esf will only accept uploads that match one + * of the given patterns. + */ + mimeTypes?: string[]; + /** Whether to receive a notification for progress changes of media upload. */ + progressNotification?: boolean; + /** Whether to receive a notification on the start of media upload. */ + startNotification?: boolean; + /** + * DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED. + * + * Specify name of the upload service if one is used for upload. + */ + uploadService?: string; + } + interface Method { + /** The simple name of this method. */ + name?: string; + /** Any metadata attached to the method. */ + options?: Option[]; + /** If true, the request is streamed. */ + requestStreaming?: boolean; + /** A URL of the input message type. */ + requestTypeUrl?: string; + /** If true, the response is streamed. */ + responseStreaming?: boolean; + /** The URL of the output message type. */ + responseTypeUrl?: string; + /** The source syntax of this method. */ + syntax?: string; + } + interface MetricDescriptor { + /** A detailed description of the metric, which can be used in documentation. */ + description?: string; + /** + * A concise name for the metric, which can be displayed in user interfaces. + * Use sentence case without an ending period, for example "Request count". + */ + displayName?: string; + /** + * The set of labels that can be used to describe a specific + * instance of this metric type. For example, the + * `appengine.googleapis.com/http/server/response_latencies` metric + * type has a label for the HTTP response code, `response_code`, so + * you can look at latencies for successful responses or just + * for responses that failed. + */ + labels?: LabelDescriptor[]; + /** + * Whether the metric records instantaneous values, changes to a value, etc. + * Some combinations of `metric_kind` and `value_type` might not be supported. + */ + metricKind?: string; + /** + * The resource name of the metric descriptor. Depending on the + * implementation, the name typically includes: (1) the parent resource name + * that defines the scope of the metric type or of its data; and (2) the + * metric's URL-encoded type, which also appears in the `type` field of this + * descriptor. For example, following is the resource name of a custom + * metric within the GCP project `my-project-id`: + * + * "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount" + */ + name?: string; + /** + * The metric type, including its DNS name prefix. The type is not + * URL-encoded. All user-defined custom metric types have the DNS name + * `custom.googleapis.com`. Metric types should use a natural hierarchical + * grouping. For example: + * + * "custom.googleapis.com/invoice/paid/amount" + * "appengine.googleapis.com/http/server/response_latencies" + */ + type?: string; + /** + * The unit in which the metric value is reported. It is only applicable + * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The + * supported units are a subset of [The Unified Code for Units of + * Measure](http://unitsofmeasure.org/ucum.html) standard: + * + * **Basic units (UNIT)** + * + * * `bit` bit + * * `By` byte + * * `s` second + * * `min` minute + * * `h` hour + * * `d` day + * + * **Prefixes (PREFIX)** + * + * * `k` kilo (10**3) + * * `M` mega (10**6) + * * `G` giga (10**9) + * * `T` tera (10**12) + * * `P` peta (10**15) + * * `E` exa (10**18) + * * `Z` zetta (10**21) + * * `Y` yotta (10**24) + * * `m` milli (10**-3) + * * `u` micro (10**-6) + * * `n` nano (10**-9) + * * `p` pico (10**-12) + * * `f` femto (10**-15) + * * `a` atto (10**-18) + * * `z` zepto (10**-21) + * * `y` yocto (10**-24) + * * `Ki` kibi (2**10) + * * `Mi` mebi (2**20) + * * `Gi` gibi (2**30) + * * `Ti` tebi (2**40) + * + * **Grammar** + * + * The grammar includes the dimensionless unit `1`, such as `1/s`. + * + * The grammar also includes these connectors: + * + * * `/` division (as an infix operator, e.g. `1/s`). + * * `.` multiplication (as an infix operator, e.g. `GBy.d`) + * + * The grammar for a unit is as follows: + * + * Expression = Component { "." Component } { "/" Component } ; + * + * Component = [ PREFIX ] UNIT [ Annotation ] + * | Annotation + * | "1" + * ; + * + * Annotation = "{" NAME "}" ; + * + * Notes: + * + * * `Annotation` is just a comment if it follows a `UNIT` and is + * equivalent to `1` if it is used alone. For examples, + * `{requests}/s == 1/s`, `By{transmitted}/s == By/s`. + * * `NAME` is a sequence of non-blank printable ASCII characters not + * containing '{' or '}'. + */ + unit?: string; + /** + * Whether the measurement is an integer, a floating-point number, etc. + * Some combinations of `metric_kind` and `value_type` might not be supported. + */ + valueType?: string; + } + interface MetricRule { + /** + * Metrics to update when the selected methods are called, and the associated + * cost applied to each metric. + * + * The key of the map is the metric name, and the values are the amount + * increased for the metric against which the quota limits are defined. + * The value must not be negative. + */ + metricCosts?: Record<string, string>; + /** + * Selects the methods to which this rule applies. + * + * Refer to selector for syntax details. + */ + selector?: string; + } + interface Mixin { + /** The fully qualified name of the interface which is included. */ + name?: string; + /** + * If non-empty specifies a path under which inherited HTTP paths + * are rooted. + */ + root?: string; + } + interface MonitoredResourceDescriptor { + /** + * Optional. A detailed description of the monitored resource type that might + * be used in documentation. + */ + description?: string; + /** + * Optional. A concise name for the monitored resource type that might be + * displayed in user interfaces. It should be a Title Cased Noun Phrase, + * without any article or other determiners. For example, + * `"Google Cloud SQL Database"`. + */ + displayName?: string; + /** + * Required. A set of labels used to describe instances of this monitored + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. + */ + labels?: LabelDescriptor[]; + /** + * Optional. The resource name of the monitored resource descriptor: + * `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where + * {type} is the value of the `type` field in this object and + * {project_id} is a project ID that provides API-specific context for + * accessing the type. APIs that do not use project information can use the + * resource name format `"monitoredResourceDescriptors/{type}"`. + */ + name?: string; + /** + * Required. The monitored resource type. For example, the type + * `"cloudsql_database"` represents databases in Google Cloud SQL. + * The maximum length of this value is 256 characters. + */ + type?: string; + } + interface Monitoring { + /** + * Monitoring configurations for sending metrics to the consumer project. + * There can be multiple consumer destinations, each one must have a + * different monitored resource type. A metric can be used in at most + * one consumer destination. + */ + consumerDestinations?: MonitoringDestination[]; + /** + * Monitoring configurations for sending metrics to the producer project. + * There can be multiple producer destinations, each one must have a + * different monitored resource type. A metric can be used in at most + * one producer destination. + */ + producerDestinations?: MonitoringDestination[]; + } + interface MonitoringDestination { + /** + * Names of the metrics to report to this monitoring destination. + * Each name must be defined in Service.metrics section. + */ + metrics?: string[]; + /** + * The monitored resource type. The type must be defined in + * Service.monitored_resources section. + */ + monitoredResource?: string; + } + interface OAuthRequirements { + /** + * The list of publicly documented OAuth scopes that are allowed access. An + * OAuth token containing any of these scopes will be accepted. + * + * Example: + * + * canonical_scopes: https://www.googleapis.com/auth/calendar, + * https://www.googleapis.com/auth/calendar.read + */ + canonicalScopes?: string; + } + interface Operation { + /** + * If the value is `false`, it means the operation is still in progress. + * If `true`, the operation is completed, and either `error` or `response` is + * available. + */ + done?: boolean; + /** The error result of the operation in case of failure or cancellation. */ + error?: Status; + /** + * Service-specific metadata associated with the operation. It typically + * contains progress information and common metadata such as create time. + * Some services might not provide such metadata. Any method that returns a + * long-running operation should document the metadata type, if any. + */ + metadata?: Record<string, any>; + /** + * The server-assigned name, which is only unique within the same service that + * originally returns it. If you use the default HTTP mapping, the + * `name` should have the format of `operations/some/unique/name`. + */ + name?: string; + /** + * The normal response of the operation in case of success. If the original + * method returns no data on success, such as `Delete`, the response is + * `google.protobuf.Empty`. If the original method is standard + * `Get`/`Create`/`Update`, the response should be the resource. For other + * methods, the response should have the type `XxxResponse`, where `Xxx` + * is the original method name. For example, if the original method name + * is `TakeSnapshot()`, the inferred response type is + * `TakeSnapshotResponse`. + */ + response?: Record<string, any>; + } + interface OperationMetadata { + /** Percentage of completion of this operation, ranging from 0 to 100. */ + progressPercentage?: number; + /** + * The full name of the resources that this operation is directly + * associated with. + */ + resourceNames?: string[]; + /** The start time of the operation. */ + startTime?: string; + /** Detailed status information for each step. The order is undetermined. */ + steps?: Step[]; + } + interface Option { + /** + * The option's name. For protobuf built-in options (options defined in + * descriptor.proto), this is the short name. For example, `"map_entry"`. + * For custom options, it should be the fully-qualified name. For example, + * `"google.api.http"`. + */ + name?: string; + /** + * The option's value packed in an Any message. If the value is a primitive, + * the corresponding wrapper type defined in google/protobuf/wrappers.proto + * should be used. If the value is an enum, it should be stored as an int32 + * value using the google.protobuf.Int32Value type. + */ + value?: Record<string, any>; + } + interface Page { + /** + * The Markdown content of the page. You can use <code>(== include {path} ==)</code> + * to include content from a Markdown file. + */ + content?: string; + /** + * The name of the page. It will be used as an identity of the page to + * generate URI of the page, text of the link to this page in navigation, + * etc. The full page name (start from the root page name to this page + * concatenated with `.`) can be used as reference to the page in your + * documentation. For example: + * <pre><code>pages: + * - name: Tutorial + * content: (== include tutorial.md ==) + * subpages: + * - name: Java + * content: (== include tutorial_java.md ==) + * </code></pre> + * You can reference `Java` page using Markdown reference link syntax: + * `Java`. + */ + name?: string; + /** + * Subpages of this page. The order of subpages specified here will be + * honored in the generated docset. + */ + subpages?: Page[]; + } + interface Policy { + /** Specifies cloud audit logging configuration for this policy. */ + auditConfigs?: AuditConfig[]; + /** + * Associates a list of `members` to a `role`. + * `bindings` with no members will result in an error. + */ + bindings?: Binding[]; + /** + * `etag` is used for optimistic concurrency control as a way to help + * prevent simultaneous updates of a policy from overwriting each other. + * It is strongly suggested that systems make use of the `etag` in the + * read-modify-write cycle to perform policy updates in order to avoid race + * conditions: An `etag` is returned in the response to `getIamPolicy`, and + * systems are expected to put that etag in the request to `setIamPolicy` to + * ensure that their change will be applied to the same version of the policy. + * + * If no `etag` is provided in the call to `setIamPolicy`, then the existing + * policy is overwritten blindly. + */ + etag?: string; + iamOwned?: boolean; + /** Version of the `Policy`. The default version is 0. */ + version?: number; + } + interface Quota { + /** List of `QuotaLimit` definitions for the service. */ + limits?: QuotaLimit[]; + /** + * List of `MetricRule` definitions, each one mapping a selected method to one + * or more metrics. + */ + metricRules?: MetricRule[]; + } + interface QuotaLimit { + /** + * Default number of tokens that can be consumed during the specified + * duration. This is the number of tokens assigned when a client + * application developer activates the service for his/her project. + * + * Specifying a value of 0 will block all requests. This can be used if you + * are provisioning quota to selected consumers and blocking others. + * Similarly, a value of -1 will indicate an unlimited quota. No other + * negative values are allowed. + * + * Used by group-based quotas only. + */ + defaultLimit?: string; + /** + * Optional. User-visible, extended description for this quota limit. + * Should be used only when more context is needed to understand this limit + * than provided by the limit's display name (see: `display_name`). + */ + description?: string; + /** + * User-visible display name for this limit. + * Optional. If not set, the UI will provide a default display name based on + * the quota configuration. This field can be used to override the default + * display name generated from the configuration. + */ + displayName?: string; + /** + * Duration of this limit in textual notation. Example: "100s", "24h", "1d". + * For duration longer than a day, only multiple of days is supported. We + * support only "100s" and "1d" for now. Additional support will be added in + * the future. "0" indicates indefinite duration. + * + * Used by group-based quotas only. + */ + duration?: string; + /** + * Free tier value displayed in the Developers Console for this limit. + * The free tier is the number of tokens that will be subtracted from the + * billed amount when billing is enabled. + * This field can only be set on a limit with duration "1d", in a billable + * group; it is invalid on any other limit. If this field is not set, it + * defaults to 0, indicating that there is no free tier for this service. + * + * Used by group-based quotas only. + */ + freeTier?: string; + /** + * Maximum number of tokens that can be consumed during the specified + * duration. Client application developers can override the default limit up + * to this maximum. If specified, this value cannot be set to a value less + * than the default limit. If not specified, it is set to the default limit. + * + * To allow clients to apply overrides with no upper bound, set this to -1, + * indicating unlimited maximum quota. + * + * Used by group-based quotas only. + */ + maxLimit?: string; + /** + * The name of the metric this quota limit applies to. The quota limits with + * the same metric will be checked together during runtime. The metric must be + * defined within the service config. + * + * Used by metric-based quotas only. + */ + metric?: string; + /** + * Name of the quota limit. The name is used to refer to the limit when + * overriding the default limit on per-consumer basis. + * + * For metric-based quota limits, the name must be provided, and it must be + * unique within the service. The name can only include alphanumeric + * characters as well as '-'. + * + * The maximum length of the limit name is 64 characters. + * + * The name of a limit is used as a unique identifier for this limit. + * Therefore, once a limit has been put into use, its name should be + * immutable. You can use the display_name field to provide a user-friendly + * name for the limit. The display name can be evolved over time without + * affecting the identity of the limit. + */ + name?: string; + /** + * Specify the unit of the quota limit. It uses the same syntax as + * Metric.unit. The supported unit kinds are determined by the quota + * backend system. + * + * The [Google Service Control](https://cloud.google.com/service-control) + * supports the following unit components: + * * One of the time intevals: + * * "/min" for quota every minute. + * * "/d" for quota every 24 hours, starting 00:00 US Pacific Time. + * * Otherwise the quota won't be reset by time, such as storage limit. + * * One and only one of the granted containers: + * * "/{project}" quota for a project + * + * Here are some examples: + * * "1/min/{project}" for quota per minute per project. + * + * Note: the order of unit components is insignificant. + * The "1" at the beginning is required to follow the metric unit syntax. + * + * Used by metric-based quotas only. + */ + unit?: string; + /** Tiered limit values, currently only STANDARD is supported. */ + values?: Record<string, string>; + } + interface Rollout { + /** Creation time of the rollout. Readonly. */ + createTime?: string; + /** The user who created the Rollout. Readonly. */ + createdBy?: string; + /** + * The strategy associated with a rollout to delete a `ManagedService`. + * Readonly. + */ + deleteServiceStrategy?: any; + /** + * Optional unique identifier of this Rollout. Only lower case letters, digits + * and '-' are allowed. + * + * If not specified by client, the server will generate one. The generated id + * will have the form of <date><revision number>, where "date" is the create + * date in ISO 8601 format. "revision number" is a monotonically increasing + * positive number that is reset every day for each service. + * An example of the generated rollout_id is '2016-02-16r1' + */ + rolloutId?: string; + /** The name of the service associated with this Rollout. */ + serviceName?: string; + /** + * The status of this rollout. Readonly. In case of a failed rollout, + * the system will automatically rollback to the current Rollout + * version. Readonly. + */ + status?: string; + /** + * Google Service Control selects service configurations based on + * traffic percentage. + */ + trafficPercentStrategy?: TrafficPercentStrategy; + } + interface Service { + /** + * A list of API interfaces exported by this service. Only the `name` field + * of the google.protobuf.Api needs to be provided by the configuration + * author, as the remaining fields will be derived from the IDL during the + * normalization process. It is an error to specify an API interface here + * which cannot be resolved against the associated IDL files. + */ + apis?: Api[]; + /** Auth configuration. */ + authentication?: Authentication; + /** API backend configuration. */ + backend?: Backend; + /** Billing configuration. */ + billing?: Billing; + /** + * The semantic version of the service configuration. The config version + * affects the interpretation of the service configuration. For example, + * certain features are enabled by default for certain config versions. + * The latest config version is `3`. + */ + configVersion?: number; + /** Context configuration. */ + context?: Context; + /** Configuration for the service control plane. */ + control?: Control; + /** Custom error configuration. */ + customError?: CustomError; + /** Additional API documentation. */ + documentation?: Documentation; + /** + * Configuration for network endpoints. If this is empty, then an endpoint + * with the same name as the service is automatically generated to service all + * defined APIs. + */ + endpoints?: Endpoint[]; + /** + * A list of all enum types included in this API service. Enums + * referenced directly or indirectly by the `apis` are automatically + * included. Enums which are not referenced but shall be included + * should be listed here by name. Example: + * + * enums: + * - name: google.someapi.v1.SomeEnum + */ + enums?: Enum[]; + /** Experimental configuration. */ + experimental?: Experimental; + /** HTTP configuration. */ + http?: Http; + /** + * A unique ID for a specific instance of this message, typically assigned + * by the client for tracking purpose. If empty, the server may choose to + * generate one instead. + */ + id?: string; + /** Logging configuration. */ + logging?: Logging; + /** Defines the logs used by this service. */ + logs?: LogDescriptor[]; + /** Defines the metrics used by this service. */ + metrics?: MetricDescriptor[]; + /** + * Defines the monitored resources used by this service. This is required + * by the Service.monitoring and Service.logging configurations. + */ + monitoredResources?: MonitoredResourceDescriptor[]; + /** Monitoring configuration. */ + monitoring?: Monitoring; + /** + * The DNS address at which this service is available, + * e.g. `calendar.googleapis.com`. + */ + name?: string; + /** The Google project that owns this service. */ + producerProjectId?: string; + /** Quota configuration. */ + quota?: Quota; + /** Output only. The source information for this configuration if available. */ + sourceInfo?: SourceInfo; + /** System parameter configuration. */ + systemParameters?: SystemParameters; + /** + * A list of all proto message types included in this API service. + * It serves similar purpose as [google.api.Service.types], except that + * these types are not needed by user-defined APIs. Therefore, they will not + * show up in the generated discovery doc. This field should only be used + * to define system APIs in ESF. + */ + systemTypes?: Type[]; + /** The product title for this service. */ + title?: string; + /** + * A list of all proto message types included in this API service. + * Types referenced directly or indirectly by the `apis` are + * automatically included. Messages which are not referenced but + * shall be included, such as types used by the `google.protobuf.Any` type, + * should be listed here by name. Example: + * + * types: + * - name: google.protobuf.Int32 + */ + types?: Type[]; + /** Configuration controlling usage of this service. */ + usage?: Usage; + /** API visibility configuration. */ + visibility?: Visibility; + } + interface SetIamPolicyRequest { + /** + * REQUIRED: The complete policy to be applied to the `resource`. The size of + * the policy is limited to a few 10s of KB. An empty policy is a + * valid policy but certain Cloud Platform services (such as Projects) + * might reject them. + */ + policy?: Policy; + /** + * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only + * the fields in the mask will be modified. If no mask is provided, the + * following default mask is used: + * paths: "bindings, etag" + * This field is only used by Cloud IAM. + */ + updateMask?: string; + } + interface SourceContext { + /** + * The path-qualified name of the .proto file that contained the associated + * protobuf element. For example: `"google/protobuf/source_context.proto"`. + */ + fileName?: string; + } + interface SourceInfo { + /** All files used during config generation. */ + sourceFiles?: Array<Record<string, any>>; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface Step { + /** The short description of the step. */ + description?: string; + /** The status code. */ + status?: string; + } + interface SubmitConfigSourceRequest { + /** The source configuration for the service. */ + configSource?: ConfigSource; + /** + * Optional. If set, this will result in the generation of a + * `google.api.Service` configuration based on the `ConfigSource` provided, + * but the generated config and the sources will NOT be persisted. + */ + validateOnly?: boolean; + } + interface SubmitConfigSourceResponse { + /** The generated service configuration. */ + serviceConfig?: Service; + } + interface SystemParameter { + /** + * Define the HTTP header name to use for the parameter. It is case + * insensitive. + */ + httpHeader?: string; + /** Define the name of the parameter, such as "api_key" . It is case sensitive. */ + name?: string; + /** + * Define the URL query parameter name to use for the parameter. It is case + * sensitive. + */ + urlQueryParameter?: string; + } + interface SystemParameterRule { + /** + * Define parameters. Multiple names may be defined for a parameter. + * For a given method call, only one of them should be used. If multiple + * names are used the behavior is implementation-dependent. + * If none of the specified names are present the behavior is + * parameter-dependent. + */ + parameters?: SystemParameter[]; + /** + * Selects the methods to which this rule applies. Use '*' to indicate all + * methods in all APIs. + * + * Refer to selector for syntax details. + */ + selector?: string; + } + interface SystemParameters { + /** + * Define system parameters. + * + * The parameters defined here will override the default parameters + * implemented by the system. If this field is missing from the service + * config, default system parameters will be used. Default system parameters + * and names is implementation-dependent. + * + * Example: define api key for all methods + * + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key + * + * + * Example: define 2 api key names for a specific method. + * + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules?: SystemParameterRule[]; + } + interface TestIamPermissionsRequest { + /** + * The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more + * information see + * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + */ + permissions?: string[]; + } + interface TestIamPermissionsResponse { + /** + * A subset of `TestPermissionsRequest.permissions` that the caller is + * allowed. + */ + permissions?: string[]; + } + interface TrafficPercentStrategy { + /** + * Maps service configuration IDs to their corresponding traffic percentage. + * Key is the service configuration ID, Value is the traffic percentage + * which must be greater than 0.0 and the sum must equal to 100.0. + */ + percentages?: Record<string, number>; + } + interface Type { + /** The list of fields. */ + fields?: Field[]; + /** The fully qualified message name. */ + name?: string; + /** The list of types appearing in `oneof` definitions in this type. */ + oneofs?: string[]; + /** The protocol buffer options. */ + options?: Option[]; + /** The source context. */ + sourceContext?: SourceContext; + /** The source syntax. */ + syntax?: string; + } + interface UndeleteServiceResponse { + /** Revived service resource. */ + service?: ManagedService; + } + interface Usage { + /** + * The full resource name of a channel used for sending notifications to the + * service producer. + * + * Google Service Management currently only supports + * [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification + * channel. To use Google Cloud Pub/Sub as the channel, this must be the name + * of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format + * documented in https://cloud.google.com/pubsub/docs/overview. + */ + producerNotificationChannel?: string; + /** + * Requirements that must be satisfied before a consumer project can use the + * service. Each requirement is of the form <service.name>/<requirement-id>; + * for example 'serviceusage.googleapis.com/billing-enabled'. + */ + requirements?: string[]; + /** + * A list of usage rules that apply to individual API methods. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules?: UsageRule[]; + } + interface UsageRule { + /** True, if the method allows unregistered calls; false otherwise. */ + allowUnregisteredCalls?: boolean; + /** + * Selects the methods to which this rule applies. Use '*' to indicate all + * methods in all APIs. + * + * Refer to selector for syntax details. + */ + selector?: string; + /** + * True, if the method should skip service control. If so, no control plane + * feature (like quota and billing) will be enabled. + */ + skipServiceControl?: boolean; + } + interface Visibility { + /** + * A list of visibility rules that apply to individual API elements. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules?: VisibilityRule[]; + } + interface VisibilityRule { + /** + * A comma-separated list of visibility labels that apply to the `selector`. + * Any of the listed labels can be used to grant the visibility. + * + * If a rule has multiple labels, removing one of the labels but not all of + * them can break clients. + * + * Example: + * + * visibility: + * rules: + * - selector: google.calendar.Calendar.EnhancedSearch + * restriction: GOOGLE_INTERNAL, TRUSTED_TESTER + * + * Removing GOOGLE_INTERNAL from this restriction will break clients that + * rely on this method and only had access to it through GOOGLE_INTERNAL. + */ + restriction?: string; + /** + * Selects methods, messages, fields, enums, etc. to which this rule applies. + * + * Refer to selector for syntax details. + */ + selector?: string; + } + interface OperationsResource { + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** Lists service operations that match the specified filter in the request. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * A string for filtering Operations. + * The following filter fields are supported: + * + * * serviceName: Required. Only `=` operator is allowed. + * * startTime: The time this job was started, in ISO 8601 format. + * Allowed operators are `>=`, `>`, `<=`, and `<`. + * * status: Can be `done`, `in_progress`, or `failed`. Allowed + * operators are `=`, and `!=`. + * + * Filter expression supports conjunction (AND) and disjunction (OR) + * logical operators. However, the serviceName restriction must be at the + * top-level and can only be combined with other restrictions via the AND + * logical operator. + * + * Examples: + * + * * `serviceName={some-service}.googleapis.com` + * * `serviceName={some-service}.googleapis.com AND startTime>="2017-02-01"` + * * `serviceName={some-service}.googleapis.com AND status=done` + * * `serviceName={some-service}.googleapis.com AND (status=done OR startTime>="2017-02-01")` + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Not used. */ + name?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The maximum number of operations to return. If unspecified, defaults to + * 50. The maximum value is 100. + */ + pageSize?: number; + /** The standard list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListOperationsResponse>; + } + interface ConfigsResource { + /** + * Creates a new service configuration (version) for a managed service. + * This method only stores the service configuration. To roll out the service + * configuration to backend systems please call + * CreateServiceRollout. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The name of the service. See the [overview](/service-management/overview) + * for naming requirements. For example: `example.googleapis.com`. + */ + serviceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Service>; + /** Gets a service configuration (version) for a managed service. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The id of the service configuration resource. */ + configId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The name of the service. See the [overview](/service-management/overview) + * for naming requirements. For example: `example.googleapis.com`. + */ + serviceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * Specifies which parts of the Service Config should be returned in the + * response. + */ + view?: string; + }): Request<Service>; + /** + * Lists the history of the service configuration for a managed service, + * from the newest to the oldest. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The max number of items to include in the response list. */ + pageSize?: number; + /** The token of the page to retrieve. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The name of the service. See the [overview](/service-management/overview) + * for naming requirements. For example: `example.googleapis.com`. + */ + serviceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListServiceConfigsResponse>; + /** + * Creates a new service configuration (version) for a managed service based + * on + * user-supplied configuration source files (for example: OpenAPI + * Specification). This method stores the source configurations as well as the + * generated service configuration. To rollout the service configuration to + * other services, + * please call CreateServiceRollout. + * + * Operation<response: SubmitConfigSourceResponse> + */ + submit(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The name of the service. See the [overview](/service-management/overview) + * for naming requirements. For example: `example.googleapis.com`. + */ + serviceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + } + interface ConsumersResource { + /** + * Gets the access control policy for a resource. + * Returns an empty policy if the resource exists and does not have a policy + * set. + */ + getIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. + */ + setIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being specified. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Returns permissions that a caller has on the specified resource. + * If the resource does not exist, this will return an empty set of + * permissions, not a NOT_FOUND error. + * + * Note: This operation is designed to be used for building permission-aware + * UIs and command-line tools, not for authorization checking. This operation + * may "fail open" without warning. + */ + testIamPermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy detail is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TestIamPermissionsResponse>; + } + interface RolloutsResource { + /** + * Creates a new service configuration rollout. Based on rollout, the + * Google Service Management will roll out the service configurations to + * different backend services. For example, the logging configuration will be + * pushed to Google Cloud Logging. + * + * Please note that any previous pending and running Rollouts and associated + * Operations will be automatically cancelled so that the latest Rollout will + * not be blocked by previous Rollouts. + * + * Operation<response: Rollout> + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The name of the service. See the [overview](/service-management/overview) + * for naming requirements. For example: `example.googleapis.com`. + */ + serviceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** Gets a service configuration rollout. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The id of the rollout resource. */ + rolloutId: string; + /** + * The name of the service. See the [overview](/service-management/overview) + * for naming requirements. For example: `example.googleapis.com`. + */ + serviceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Rollout>; + /** + * Lists the history of the service configuration rollouts for a managed + * service, from the newest to the oldest. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Use `filter` to return subset of rollouts. + * The following filters are supported: + * -- To limit the results to only those in + * [status](google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS', + * use filter='status=SUCCESS' + * -- To limit the results to those in + * [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED' + * or 'FAILED', use filter='status=CANCELLED OR status=FAILED' + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The max number of items to include in the response list. */ + pageSize?: number; + /** The token of the page to retrieve. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The name of the service. See the [overview](/service-management/overview) + * for naming requirements. For example: `example.googleapis.com`. + */ + serviceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListServiceRolloutsResponse>; + } + interface ServicesResource { + /** + * Creates a new managed service. + * Please note one producer project can own no more than 20 services. + * + * Operation<response: ManagedService> + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Deletes a managed service. This method will change the service to the + * `Soft-Delete` state for 30 days. Within this period, service producers may + * call UndeleteService to restore the service. + * After 30 days, the service will be permanently deleted. + * + * Operation<response: google.protobuf.Empty> + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The name of the service. See the [overview](/service-management/overview) + * for naming requirements. For example: `example.googleapis.com`. + */ + serviceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Disables a service for a project, so it can no longer be + * be used for the project. It prevents accidental usage that may cause + * unexpected billing charges or security leaks. + * + * Operation<response: DisableServiceResponse> + */ + disable(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Name of the service to disable. Specifying an unknown service name + * will cause the request to fail. + */ + serviceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Enables a service for a project, so it can be used + * for the project. See + * [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for + * more information. + * + * Operation<response: EnableServiceResponse> + */ + enable(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Name of the service to enable. Specifying an unknown service name will + * cause the request to fail. + */ + serviceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Generates and returns a report (errors, warnings and changes from + * existing configurations) associated with + * GenerateConfigReportRequest.new_value + * + * If GenerateConfigReportRequest.old_value is specified, + * GenerateConfigReportRequest will contain a single ChangeReport based on the + * comparison between GenerateConfigReportRequest.new_value and + * GenerateConfigReportRequest.old_value. + * If GenerateConfigReportRequest.old_value is not specified, this method + * will compare GenerateConfigReportRequest.new_value with the last pushed + * service configuration. + */ + generateConfigReport(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GenerateConfigReportResponse>; + /** + * Gets a managed service. Authentication is required unless the service is + * public. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The name of the service. See the `ServiceManager` overview for naming + * requirements. For example: `example.googleapis.com`. + */ + serviceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ManagedService>; + /** Gets a service configuration (version) for a managed service. */ + getConfig(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The id of the service configuration resource. */ + configId?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The name of the service. See the [overview](/service-management/overview) + * for naming requirements. For example: `example.googleapis.com`. + */ + serviceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * Specifies which parts of the Service Config should be returned in the + * response. + */ + view?: string; + }): Request<Service>; + /** + * Gets the access control policy for a resource. + * Returns an empty policy if the resource exists and does not have a policy + * set. + */ + getIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Lists managed services. + * + * Returns all public services. For authenticated users, also returns all + * services the calling user has "servicemanagement.services.get" permission + * for. + * + * **BETA:** If the caller specifies the `consumer_id`, it returns only the + * services enabled on the consumer. The `consumer_id` must have the format + * of "project:{PROJECT-ID}". + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * Include services consumed by the specified consumer. + * + * The Google Service Management implementation accepts the following + * forms: + * - project:<project_id> + */ + consumerId?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Requested size of the next page of data. */ + pageSize?: number; + /** + * Token identifying which result to start with; returned by a previous list + * call. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Include services produced by the specified project. */ + producerProjectId?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListServicesResponse>; + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. + */ + setIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being specified. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Returns permissions that a caller has on the specified resource. + * If the resource does not exist, this will return an empty set of + * permissions, not a NOT_FOUND error. + * + * Note: This operation is designed to be used for building permission-aware + * UIs and command-line tools, not for authorization checking. This operation + * may "fail open" without warning. + */ + testIamPermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy detail is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TestIamPermissionsResponse>; + /** + * Revives a previously deleted managed service. The method restores the + * service using the configuration at the time the service was deleted. + * The target service must exist and must have been deleted within the + * last 30 days. + * + * Operation<response: UndeleteServiceResponse> + */ + undelete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The name of the service. See the [overview](/service-management/overview) + * for naming requirements. For example: `example.googleapis.com`. + */ + serviceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + configs: ConfigsResource; + consumers: ConsumersResource; + rollouts: RolloutsResource; + } + } +} diff --git a/types/gapi.client.servicemanagement/readme.md b/types/gapi.client.servicemanagement/readme.md new file mode 100644 index 0000000000..61d37b4f8c --- /dev/null +++ b/types/gapi.client.servicemanagement/readme.md @@ -0,0 +1,185 @@ +# TypeScript typings for Google Service Management API v1 +Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers. +For detailed description please check [documentation](https://cloud.google.com/service-management/). + +## Installing + +Install typings for Google Service Management API: +``` +npm install @types/gapi.client.servicemanagement@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('servicemanagement', 'v1', () => { + // now we can use gapi.client.servicemanagement + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform.read-only', + + // Manage your Google API service configuration + 'https://www.googleapis.com/auth/service.management', + + // View your Google API service configuration + 'https://www.googleapis.com/auth/service.management.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Service Management API resources: + +```typescript + +/* +Gets the latest state of a long-running operation. Clients can use this +method to poll the operation result at intervals as recommended by the API +service. +*/ +await gapi.client.operations.get({ name: "name", }); + +/* +Lists service operations that match the specified filter in the request. +*/ +await gapi.client.operations.list({ }); + +/* +Creates a new managed service. +Please note one producer project can own no more than 20 services. + +Operation<response: ManagedService> +*/ +await gapi.client.services.create({ }); + +/* +Deletes a managed service. This method will change the service to the +`Soft-Delete` state for 30 days. Within this period, service producers may +call UndeleteService to restore the service. +After 30 days, the service will be permanently deleted. + +Operation<response: google.protobuf.Empty> +*/ +await gapi.client.services.delete({ serviceName: "serviceName", }); + +/* +Disables a service for a project, so it can no longer be +be used for the project. It prevents accidental usage that may cause +unexpected billing charges or security leaks. + +Operation<response: DisableServiceResponse> +*/ +await gapi.client.services.disable({ serviceName: "serviceName", }); + +/* +Enables a service for a project, so it can be used +for the project. See +[Cloud Auth Guide](https://cloud.google.com/docs/authentication) for +more information. + +Operation<response: EnableServiceResponse> +*/ +await gapi.client.services.enable({ serviceName: "serviceName", }); + +/* +Generates and returns a report (errors, warnings and changes from +existing configurations) associated with +GenerateConfigReportRequest.new_value + +If GenerateConfigReportRequest.old_value is specified, +GenerateConfigReportRequest will contain a single ChangeReport based on the +comparison between GenerateConfigReportRequest.new_value and +GenerateConfigReportRequest.old_value. +If GenerateConfigReportRequest.old_value is not specified, this method +will compare GenerateConfigReportRequest.new_value with the last pushed +service configuration. +*/ +await gapi.client.services.generateConfigReport({ }); + +/* +Gets a managed service. Authentication is required unless the service is +public. +*/ +await gapi.client.services.get({ serviceName: "serviceName", }); + +/* +Gets a service configuration (version) for a managed service. +*/ +await gapi.client.services.getConfig({ serviceName: "serviceName", }); + +/* +Gets the access control policy for a resource. +Returns an empty policy if the resource exists and does not have a policy +set. +*/ +await gapi.client.services.getIamPolicy({ resource: "resource", }); + +/* +Lists managed services. + +Returns all public services. For authenticated users, also returns all +services the calling user has "servicemanagement.services.get" permission +for. + +**BETA:** If the caller specifies the `consumer_id`, it returns only the +services enabled on the consumer. The `consumer_id` must have the format +of "project:{PROJECT-ID}". +*/ +await gapi.client.services.list({ }); + +/* +Sets the access control policy on the specified resource. Replaces any +existing policy. +*/ +await gapi.client.services.setIamPolicy({ resource: "resource", }); + +/* +Returns permissions that a caller has on the specified resource. +If the resource does not exist, this will return an empty set of +permissions, not a NOT_FOUND error. + +Note: This operation is designed to be used for building permission-aware +UIs and command-line tools, not for authorization checking. This operation +may "fail open" without warning. +*/ +await gapi.client.services.testIamPermissions({ resource: "resource", }); + +/* +Revives a previously deleted managed service. The method restores the +service using the configuration at the time the service was deleted. +The target service must exist and must have been deleted within the +last 30 days. + +Operation<response: UndeleteServiceResponse> +*/ +await gapi.client.services.undelete({ serviceName: "serviceName", }); +``` \ No newline at end of file diff --git a/types/gapi.client.servicemanagement/tsconfig.json b/types/gapi.client.servicemanagement/tsconfig.json new file mode 100644 index 0000000000..c1ec19c789 --- /dev/null +++ b/types/gapi.client.servicemanagement/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.servicemanagement-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.servicemanagement/tslint.json b/types/gapi.client.servicemanagement/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.servicemanagement/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.serviceuser/gapi.client.serviceuser-tests.ts b/types/gapi.client.serviceuser/gapi.client.serviceuser-tests.ts new file mode 100644 index 0000000000..d7212ca26b --- /dev/null +++ b/types/gapi.client.serviceuser/gapi.client.serviceuser-tests.ts @@ -0,0 +1,47 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('serviceuser', 'v1', () => { + /** now we can use gapi.client.serviceuser */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform.read-only', + /** Manage your Google API service configuration */ + 'https://www.googleapis.com/auth/service.management', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Search available services. + * + * When no filter is specified, returns all accessible services. For + * authenticated users, also returns all services the calling user has + * "servicemanagement.services.bind" permission for. + */ + await gapi.client.services.search({ + pageSize: 1, + pageToken: "pageToken", + }); + } +}); diff --git a/types/gapi.client.serviceuser/index.d.ts b/types/gapi.client.serviceuser/index.d.ts new file mode 100644 index 0000000000..f66351e851 --- /dev/null +++ b/types/gapi.client.serviceuser/index.d.ts @@ -0,0 +1,1585 @@ +// Type definitions for Google Google Service User API v1 1.0 +// Project: https://cloud.google.com/service-management/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://serviceuser.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Service User API v1 */ + function load(name: "serviceuser", version: "v1"): PromiseLike<void>; + function load(name: "serviceuser", version: "v1", callback: () => any): void; + + const projects: serviceuser.ProjectsResource; + + const services: serviceuser.ServicesResource; + + namespace serviceuser { + interface Api { + /** The methods of this interface, in unspecified order. */ + methods?: Method[]; + /** Included interfaces. See Mixin. */ + mixins?: Mixin[]; + /** + * The fully qualified name of this interface, including package name + * followed by the interface's simple name. + */ + name?: string; + /** Any metadata attached to the interface. */ + options?: Option[]; + /** + * Source context for the protocol buffer service represented by this + * message. + */ + sourceContext?: SourceContext; + /** The source syntax of the service. */ + syntax?: string; + /** + * A version string for this interface. If specified, must have the form + * `major-version.minor-version`, as in `1.10`. If the minor version is + * omitted, it defaults to zero. If the entire version field is empty, the + * major version is derived from the package name, as outlined below. If the + * field is not empty, the version in the package name will be verified to be + * consistent with what is provided here. + * + * The versioning schema uses [semantic + * versioning](http://semver.org) where the major version number + * indicates a breaking change and the minor version an additive, + * non-breaking change. Both version numbers are signals to users + * what to expect from different versions, and should be carefully + * chosen based on the product plan. + * + * The major version is also reflected in the package name of the + * interface, which must end in `v<major-version>`, as in + * `google.feature.v1`. For major versions 0 and 1, the suffix can + * be omitted. Zero major versions must only be used for + * experimental, non-GA interfaces. + */ + version?: string; + } + interface AuthProvider { + /** + * The list of JWT + * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). + * that are allowed to access. A JWT containing any of these audiences will + * be accepted. When this setting is absent, only JWTs with audience + * "https://Service_name/API_name" + * will be accepted. For example, if no audiences are in the setting, + * LibraryService API will only accept JWTs with the following audience + * "https://library-example.googleapis.com/google.example.library.v1.LibraryService". + * + * Example: + * + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com + */ + audiences?: string; + /** + * Redirect URL if JWT token is required but no present or is expired. + * Implement authorizationUrl of securityDefinitions in OpenAPI spec. + */ + authorizationUrl?: string; + /** + * The unique identifier of the auth provider. It will be referred to by + * `AuthRequirement.provider_id`. + * + * Example: "bookstore_auth". + */ + id?: string; + /** + * Identifies the principal that issued the JWT. See + * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 + * Usually a URL or an email address. + * + * Example: https://securetoken.google.com + * Example: 1234567-compute@developer.gserviceaccount.com + */ + issuer?: string; + /** + * URL of the provider's public key set to validate signature of the JWT. See + * [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). + * Optional if the key set document: + * - can be retrieved from + * [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html + * of the issuer. + * - can be inferred from the email domain of the issuer (e.g. a Google service account). + * + * Example: https://www.googleapis.com/oauth2/v1/certs + */ + jwksUri?: string; + } + interface AuthRequirement { + /** + * NOTE: This will be deprecated soon, once AuthProvider.audiences is + * implemented and accepted in all the runtime components. + * + * The list of JWT + * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). + * that are allowed to access. A JWT containing any of these audiences will + * be accepted. When this setting is absent, only JWTs with audience + * "https://Service_name/API_name" + * will be accepted. For example, if no audiences are in the setting, + * LibraryService API will only accept JWTs with the following audience + * "https://library-example.googleapis.com/google.example.library.v1.LibraryService". + * + * Example: + * + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com + */ + audiences?: string; + /** + * id from authentication provider. + * + * Example: + * + * provider_id: bookstore_auth + */ + providerId?: string; + } + interface Authentication { + /** Defines a set of authentication providers that a service supports. */ + providers?: AuthProvider[]; + /** + * A list of authentication rules that apply to individual API methods. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules?: AuthenticationRule[]; + } + interface AuthenticationRule { + /** + * Whether to allow requests without a credential. The credential can be + * an OAuth token, Google cookies (first-party auth) or EndUserCreds. + * + * For requests without credentials, if the service control environment is + * specified, each incoming request **must** be associated with a service + * consumer. This can be done by passing an API key that belongs to a consumer + * project. + */ + allowWithoutCredential?: boolean; + /** Configuration for custom authentication. */ + customAuth?: CustomAuthRequirements; + /** The requirements for OAuth credentials. */ + oauth?: OAuthRequirements; + /** Requirements for additional authentication providers. */ + requirements?: AuthRequirement[]; + /** + * Selects the methods to which this rule applies. + * + * Refer to selector for syntax details. + */ + selector?: string; + } + interface AuthorizationConfig { + /** + * The name of the authorization provider, such as + * firebaserules.googleapis.com. + */ + provider?: string; + } + interface Backend { + /** + * A list of API backend rules that apply to individual API methods. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules?: BackendRule[]; + } + interface BackendRule { + /** The address of the API backend. */ + address?: string; + /** + * The number of seconds to wait for a response from a request. The default + * deadline for gRPC is infinite (no deadline) and HTTP requests is 5 seconds. + */ + deadline?: number; + /** + * Minimum deadline in seconds needed for this method. Calls having deadline + * value lower than this will be rejected. + */ + minDeadline?: number; + /** + * Selects the methods to which this rule applies. + * + * Refer to selector for syntax details. + */ + selector?: string; + } + interface Billing { + /** + * Billing configurations for sending metrics to the consumer project. + * There can be multiple consumer destinations per service, each one must have + * a different monitored resource type. A metric can be used in at most + * one consumer destination. + */ + consumerDestinations?: BillingDestination[]; + } + interface BillingDestination { + /** + * Names of the metrics to report to this billing destination. + * Each name must be defined in Service.metrics section. + */ + metrics?: string[]; + /** + * The monitored resource type. The type must be defined in + * Service.monitored_resources section. + */ + monitoredResource?: string; + } + interface Context { + /** + * A list of RPC context rules that apply to individual API methods. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules?: ContextRule[]; + } + interface ContextRule { + /** A list of full type names of provided contexts. */ + provided?: string[]; + /** A list of full type names of requested contexts. */ + requested?: string[]; + /** + * Selects the methods to which this rule applies. + * + * Refer to selector for syntax details. + */ + selector?: string; + } + interface Control { + /** + * The service control environment to use. If empty, no control plane + * feature (like quota and billing) will be enabled. + */ + environment?: string; + } + interface CustomAuthRequirements { + /** + * A configuration string containing connection information for the + * authentication provider, typically formatted as a SmartService string + * (go/smartservice). + */ + provider?: string; + } + interface CustomError { + /** + * The list of custom error rules that apply to individual API messages. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules?: CustomErrorRule[]; + /** The list of custom error detail types, e.g. 'google.foo.v1.CustomError'. */ + types?: string[]; + } + interface CustomErrorRule { + /** + * Mark this message as possible payload in error response. Otherwise, + * objects of this type will be filtered when they appear in error payload. + */ + isErrorType?: boolean; + /** + * Selects messages to which this rule applies. + * + * Refer to selector for syntax details. + */ + selector?: string; + } + interface CustomHttpPattern { + /** The name of this custom HTTP verb. */ + kind?: string; + /** The path matched by this custom verb. */ + path?: string; + } + interface Documentation { + /** The URL to the root of documentation. */ + documentationRootUrl?: string; + /** + * Declares a single overview page. For example: + * <pre><code>documentation: + * summary: ... + * overview: (== include overview.md ==) + * </code></pre> + * This is a shortcut for the following declaration (using pages style): + * <pre><code>documentation: + * summary: ... + * pages: + * - name: Overview + * content: (== include overview.md ==) + * </code></pre> + * Note: you cannot specify both `overview` field and `pages` field. + */ + overview?: string; + /** The top level pages for the documentation set. */ + pages?: Page[]; + /** + * A list of documentation rules that apply to individual API elements. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules?: DocumentationRule[]; + /** + * A short summary of what the service does. Can only be provided by + * plain text. + */ + summary?: string; + } + interface DocumentationRule { + /** + * Deprecation description of the selected element(s). It can be provided if an + * element is marked as `deprecated`. + */ + deprecationDescription?: string; + /** Description of the selected API(s). */ + description?: string; + /** + * The selector is a comma-separated list of patterns. Each pattern is a + * qualified name of the element which may end in "*", indicating a wildcard. + * Wildcards are only allowed at the end and for a whole component of the + * qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To + * specify a default for all applicable elements, the whole pattern "*" + * is used. + */ + selector?: string; + } + interface Endpoint { + /** + * DEPRECATED: This field is no longer supported. Instead of using aliases, + * please specify multiple google.api.Endpoint for each of the intented + * alias. + * + * Additional names that this endpoint will be hosted on. + */ + aliases?: string[]; + /** + * Allowing + * [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka + * cross-domain traffic, would allow the backends served from this endpoint to + * receive and respond to HTTP OPTIONS requests. The response will be used by + * the browser to determine whether the subsequent cross-origin request is + * allowed to proceed. + */ + allowCors?: boolean; + /** + * The list of APIs served by this endpoint. + * + * If no APIs are specified this translates to "all APIs" exported by the + * service, as defined in the top-level service configuration. + */ + apis?: string[]; + /** The list of features enabled on this endpoint. */ + features?: string[]; + /** The canonical name of this endpoint. */ + name?: string; + /** + * The specification of an Internet routable address of API frontend that will + * handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary). + * It should be either a valid IPv4 address or a fully-qualified domain name. + * For example, "8.8.8.8" or "myservice.appspot.com". + */ + target?: string; + } + interface Enum { + /** Enum value definitions. */ + enumvalue?: EnumValue[]; + /** Enum type name. */ + name?: string; + /** Protocol buffer options. */ + options?: Option[]; + /** The source context. */ + sourceContext?: SourceContext; + /** The source syntax. */ + syntax?: string; + } + interface EnumValue { + /** Enum value name. */ + name?: string; + /** Enum value number. */ + number?: number; + /** Protocol buffer options. */ + options?: Option[]; + } + interface Experimental { + /** Authorization configuration. */ + authorization?: AuthorizationConfig; + } + interface Field { + /** The field cardinality. */ + cardinality?: string; + /** The string value of the default value of this field. Proto2 syntax only. */ + defaultValue?: string; + /** The field JSON name. */ + jsonName?: string; + /** The field type. */ + kind?: string; + /** The field name. */ + name?: string; + /** The field number. */ + number?: number; + /** + * The index of the field type in `Type.oneofs`, for message or enumeration + * types. The first type has index 1; zero means the type is not in the list. + */ + oneofIndex?: number; + /** The protocol buffer options. */ + options?: Option[]; + /** Whether to use alternative packed wire representation. */ + packed?: boolean; + /** + * The field type URL, without the scheme, for message or enumeration + * types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. + */ + typeUrl?: string; + } + interface Http { + /** + * When set to true, URL path parmeters will be fully URI-decoded except in + * cases of single segment matches in reserved expansion, where "%2F" will be + * left encoded. + * + * The default behavior is to not decode RFC 6570 reserved characters in multi + * segment matches. + */ + fullyDecodeReservedExpansion?: boolean; + /** + * A list of HTTP configuration rules that apply to individual API methods. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules?: HttpRule[]; + } + interface HttpRule { + /** + * Additional HTTP bindings for the selector. Nested bindings must + * not contain an `additional_bindings` field themselves (that is, + * the nesting may only be one level deep). + */ + additionalBindings?: HttpRule[]; + /** + * The name of the request field whose value is mapped to the HTTP body, or + * `*` for mapping all fields not captured by the path pattern to the HTTP + * body. NOTE: the referred field must not be a repeated field and must be + * present at the top-level of request message type. + */ + body?: string; + /** + * The custom pattern is used for specifying an HTTP method that is not + * included in the `pattern` field, such as HEAD, or "*" to leave the + * HTTP method unspecified for this rule. The wild-card rule is useful + * for services that provide content to Web (HTML) clients. + */ + custom?: CustomHttpPattern; + /** Used for deleting a resource. */ + delete?: string; + /** Used for listing and getting information about resources. */ + get?: string; + /** + * Use this only for Scotty Requests. Do not use this for bytestream methods. + * For media support, add instead [][google.bytestream.RestByteStream] as an + * API to your configuration. + */ + mediaDownload?: MediaDownload; + /** + * Use this only for Scotty Requests. Do not use this for media support using + * Bytestream, add instead + * [][google.bytestream.RestByteStream] as an API to your + * configuration for Bytestream methods. + */ + mediaUpload?: MediaUpload; + /** Used for updating a resource. */ + patch?: string; + /** Used for creating a resource. */ + post?: string; + /** Used for updating a resource. */ + put?: string; + /** + * The name of the response field whose value is mapped to the HTTP body of + * response. Other response fields are ignored. This field is optional. When + * not set, the response message will be used as HTTP body of response. + * NOTE: the referred field must be not a repeated field and must be present + * at the top-level of response message type. + */ + responseBody?: string; + /** + * Selects methods to which this rule applies. + * + * Refer to selector for syntax details. + */ + selector?: string; + } + interface LabelDescriptor { + /** A human-readable description for the label. */ + description?: string; + /** The label key. */ + key?: string; + /** The type of data that can be assigned to the label. */ + valueType?: string; + } + interface ListEnabledServicesResponse { + /** + * Token that can be passed to `ListEnabledServices` to resume a paginated + * query. + */ + nextPageToken?: string; + /** Services enabled for the specified parent. */ + services?: PublishedService[]; + } + interface LogDescriptor { + /** + * A human-readable description of this log. This information appears in + * the documentation and can contain details. + */ + description?: string; + /** + * The human-readable name for this log. This information appears on + * the user interface and should be concise. + */ + displayName?: string; + /** + * The set of labels that are available to describe a specific log entry. + * Runtime requests that contain labels not specified here are + * considered invalid. + */ + labels?: LabelDescriptor[]; + /** + * The name of the log. It must be less than 512 characters long and can + * include the following characters: upper- and lower-case alphanumeric + * characters [A-Za-z0-9], and punctuation characters including + * slash, underscore, hyphen, period [/_-.]. + */ + name?: string; + } + interface Logging { + /** + * Logging configurations for sending logs to the consumer project. + * There can be multiple consumer destinations, each one must have a + * different monitored resource type. A log can be used in at most + * one consumer destination. + */ + consumerDestinations?: LoggingDestination[]; + /** + * Logging configurations for sending logs to the producer project. + * There can be multiple producer destinations, each one must have a + * different monitored resource type. A log can be used in at most + * one producer destination. + */ + producerDestinations?: LoggingDestination[]; + } + interface LoggingDestination { + /** + * Names of the logs to be sent to this destination. Each name must + * be defined in the Service.logs section. If the log name is + * not a domain scoped name, it will be automatically prefixed with + * the service name followed by "/". + */ + logs?: string[]; + /** + * The monitored resource type. The type must be defined in the + * Service.monitored_resources section. + */ + monitoredResource?: string; + } + interface MediaDownload { + /** + * A boolean that determines whether a notification for the completion of a + * download should be sent to the backend. + */ + completeNotification?: boolean; + /** + * DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED. + * + * Specify name of the download service if one is used for download. + */ + downloadService?: string; + /** Name of the Scotty dropzone to use for the current API. */ + dropzone?: string; + /** Whether download is enabled. */ + enabled?: boolean; + /** + * Optional maximum acceptable size for direct download. + * The size is specified in bytes. + */ + maxDirectDownloadSize?: string; + /** + * A boolean that determines if direct download from ESF should be used for + * download of this media. + */ + useDirectDownload?: boolean; + } + interface MediaUpload { + /** + * A boolean that determines whether a notification for the completion of an + * upload should be sent to the backend. These notifications will not be seen + * by the client and will not consume quota. + */ + completeNotification?: boolean; + /** Name of the Scotty dropzone to use for the current API. */ + dropzone?: string; + /** Whether upload is enabled. */ + enabled?: boolean; + /** + * Optional maximum acceptable size for an upload. + * The size is specified in bytes. + */ + maxSize?: string; + /** + * An array of mimetype patterns. Esf will only accept uploads that match one + * of the given patterns. + */ + mimeTypes?: string[]; + /** Whether to receive a notification for progress changes of media upload. */ + progressNotification?: boolean; + /** Whether to receive a notification on the start of media upload. */ + startNotification?: boolean; + /** + * DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED. + * + * Specify name of the upload service if one is used for upload. + */ + uploadService?: string; + } + interface Method { + /** The simple name of this method. */ + name?: string; + /** Any metadata attached to the method. */ + options?: Option[]; + /** If true, the request is streamed. */ + requestStreaming?: boolean; + /** A URL of the input message type. */ + requestTypeUrl?: string; + /** If true, the response is streamed. */ + responseStreaming?: boolean; + /** The URL of the output message type. */ + responseTypeUrl?: string; + /** The source syntax of this method. */ + syntax?: string; + } + interface MetricDescriptor { + /** A detailed description of the metric, which can be used in documentation. */ + description?: string; + /** + * A concise name for the metric, which can be displayed in user interfaces. + * Use sentence case without an ending period, for example "Request count". + */ + displayName?: string; + /** + * The set of labels that can be used to describe a specific + * instance of this metric type. For example, the + * `appengine.googleapis.com/http/server/response_latencies` metric + * type has a label for the HTTP response code, `response_code`, so + * you can look at latencies for successful responses or just + * for responses that failed. + */ + labels?: LabelDescriptor[]; + /** + * Whether the metric records instantaneous values, changes to a value, etc. + * Some combinations of `metric_kind` and `value_type` might not be supported. + */ + metricKind?: string; + /** + * The resource name of the metric descriptor. Depending on the + * implementation, the name typically includes: (1) the parent resource name + * that defines the scope of the metric type or of its data; and (2) the + * metric's URL-encoded type, which also appears in the `type` field of this + * descriptor. For example, following is the resource name of a custom + * metric within the GCP project `my-project-id`: + * + * "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount" + */ + name?: string; + /** + * The metric type, including its DNS name prefix. The type is not + * URL-encoded. All user-defined custom metric types have the DNS name + * `custom.googleapis.com`. Metric types should use a natural hierarchical + * grouping. For example: + * + * "custom.googleapis.com/invoice/paid/amount" + * "appengine.googleapis.com/http/server/response_latencies" + */ + type?: string; + /** + * The unit in which the metric value is reported. It is only applicable + * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The + * supported units are a subset of [The Unified Code for Units of + * Measure](http://unitsofmeasure.org/ucum.html) standard: + * + * **Basic units (UNIT)** + * + * * `bit` bit + * * `By` byte + * * `s` second + * * `min` minute + * * `h` hour + * * `d` day + * + * **Prefixes (PREFIX)** + * + * * `k` kilo (10**3) + * * `M` mega (10**6) + * * `G` giga (10**9) + * * `T` tera (10**12) + * * `P` peta (10**15) + * * `E` exa (10**18) + * * `Z` zetta (10**21) + * * `Y` yotta (10**24) + * * `m` milli (10**-3) + * * `u` micro (10**-6) + * * `n` nano (10**-9) + * * `p` pico (10**-12) + * * `f` femto (10**-15) + * * `a` atto (10**-18) + * * `z` zepto (10**-21) + * * `y` yocto (10**-24) + * * `Ki` kibi (2**10) + * * `Mi` mebi (2**20) + * * `Gi` gibi (2**30) + * * `Ti` tebi (2**40) + * + * **Grammar** + * + * The grammar includes the dimensionless unit `1`, such as `1/s`. + * + * The grammar also includes these connectors: + * + * * `/` division (as an infix operator, e.g. `1/s`). + * * `.` multiplication (as an infix operator, e.g. `GBy.d`) + * + * The grammar for a unit is as follows: + * + * Expression = Component { "." Component } { "/" Component } ; + * + * Component = [ PREFIX ] UNIT [ Annotation ] + * | Annotation + * | "1" + * ; + * + * Annotation = "{" NAME "}" ; + * + * Notes: + * + * * `Annotation` is just a comment if it follows a `UNIT` and is + * equivalent to `1` if it is used alone. For examples, + * `{requests}/s == 1/s`, `By{transmitted}/s == By/s`. + * * `NAME` is a sequence of non-blank printable ASCII characters not + * containing '{' or '}'. + */ + unit?: string; + /** + * Whether the measurement is an integer, a floating-point number, etc. + * Some combinations of `metric_kind` and `value_type` might not be supported. + */ + valueType?: string; + } + interface MetricRule { + /** + * Metrics to update when the selected methods are called, and the associated + * cost applied to each metric. + * + * The key of the map is the metric name, and the values are the amount + * increased for the metric against which the quota limits are defined. + * The value must not be negative. + */ + metricCosts?: Record<string, string>; + /** + * Selects the methods to which this rule applies. + * + * Refer to selector for syntax details. + */ + selector?: string; + } + interface Mixin { + /** The fully qualified name of the interface which is included. */ + name?: string; + /** + * If non-empty specifies a path under which inherited HTTP paths + * are rooted. + */ + root?: string; + } + interface MonitoredResourceDescriptor { + /** + * Optional. A detailed description of the monitored resource type that might + * be used in documentation. + */ + description?: string; + /** + * Optional. A concise name for the monitored resource type that might be + * displayed in user interfaces. It should be a Title Cased Noun Phrase, + * without any article or other determiners. For example, + * `"Google Cloud SQL Database"`. + */ + displayName?: string; + /** + * Required. A set of labels used to describe instances of this monitored + * resource type. For example, an individual Google Cloud SQL database is + * identified by values for the labels `"database_id"` and `"zone"`. + */ + labels?: LabelDescriptor[]; + /** + * Optional. The resource name of the monitored resource descriptor: + * `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where + * {type} is the value of the `type` field in this object and + * {project_id} is a project ID that provides API-specific context for + * accessing the type. APIs that do not use project information can use the + * resource name format `"monitoredResourceDescriptors/{type}"`. + */ + name?: string; + /** + * Required. The monitored resource type. For example, the type + * `"cloudsql_database"` represents databases in Google Cloud SQL. + * The maximum length of this value is 256 characters. + */ + type?: string; + } + interface Monitoring { + /** + * Monitoring configurations for sending metrics to the consumer project. + * There can be multiple consumer destinations, each one must have a + * different monitored resource type. A metric can be used in at most + * one consumer destination. + */ + consumerDestinations?: MonitoringDestination[]; + /** + * Monitoring configurations for sending metrics to the producer project. + * There can be multiple producer destinations, each one must have a + * different monitored resource type. A metric can be used in at most + * one producer destination. + */ + producerDestinations?: MonitoringDestination[]; + } + interface MonitoringDestination { + /** + * Names of the metrics to report to this monitoring destination. + * Each name must be defined in Service.metrics section. + */ + metrics?: string[]; + /** + * The monitored resource type. The type must be defined in + * Service.monitored_resources section. + */ + monitoredResource?: string; + } + interface OAuthRequirements { + /** + * The list of publicly documented OAuth scopes that are allowed access. An + * OAuth token containing any of these scopes will be accepted. + * + * Example: + * + * canonical_scopes: https://www.googleapis.com/auth/calendar, + * https://www.googleapis.com/auth/calendar.read + */ + canonicalScopes?: string; + } + interface Operation { + /** + * If the value is `false`, it means the operation is still in progress. + * If `true`, the operation is completed, and either `error` or `response` is + * available. + */ + done?: boolean; + /** The error result of the operation in case of failure or cancellation. */ + error?: Status; + /** + * Service-specific metadata associated with the operation. It typically + * contains progress information and common metadata such as create time. + * Some services might not provide such metadata. Any method that returns a + * long-running operation should document the metadata type, if any. + */ + metadata?: Record<string, any>; + /** + * The server-assigned name, which is only unique within the same service that + * originally returns it. If you use the default HTTP mapping, the + * `name` should have the format of `operations/some/unique/name`. + */ + name?: string; + /** + * The normal response of the operation in case of success. If the original + * method returns no data on success, such as `Delete`, the response is + * `google.protobuf.Empty`. If the original method is standard + * `Get`/`Create`/`Update`, the response should be the resource. For other + * methods, the response should have the type `XxxResponse`, where `Xxx` + * is the original method name. For example, if the original method name + * is `TakeSnapshot()`, the inferred response type is + * `TakeSnapshotResponse`. + */ + response?: Record<string, any>; + } + interface OperationMetadata { + /** Percentage of completion of this operation, ranging from 0 to 100. */ + progressPercentage?: number; + /** + * The full name of the resources that this operation is directly + * associated with. + */ + resourceNames?: string[]; + /** The start time of the operation. */ + startTime?: string; + /** Detailed status information for each step. The order is undetermined. */ + steps?: Step[]; + } + interface Option { + /** + * The option's name. For protobuf built-in options (options defined in + * descriptor.proto), this is the short name. For example, `"map_entry"`. + * For custom options, it should be the fully-qualified name. For example, + * `"google.api.http"`. + */ + name?: string; + /** + * The option's value packed in an Any message. If the value is a primitive, + * the corresponding wrapper type defined in google/protobuf/wrappers.proto + * should be used. If the value is an enum, it should be stored as an int32 + * value using the google.protobuf.Int32Value type. + */ + value?: Record<string, any>; + } + interface Page { + /** + * The Markdown content of the page. You can use <code>(== include {path} ==)</code> + * to include content from a Markdown file. + */ + content?: string; + /** + * The name of the page. It will be used as an identity of the page to + * generate URI of the page, text of the link to this page in navigation, + * etc. The full page name (start from the root page name to this page + * concatenated with `.`) can be used as reference to the page in your + * documentation. For example: + * <pre><code>pages: + * - name: Tutorial + * content: (== include tutorial.md ==) + * subpages: + * - name: Java + * content: (== include tutorial_java.md ==) + * </code></pre> + * You can reference `Java` page using Markdown reference link syntax: + * `Java`. + */ + name?: string; + /** + * Subpages of this page. The order of subpages specified here will be + * honored in the generated docset. + */ + subpages?: Page[]; + } + interface PublishedService { + /** + * The resource name of the service. + * + * A valid name would be: + * - services/serviceuser.googleapis.com + */ + name?: string; + /** The service's published configuration. */ + service?: Service; + } + interface Quota { + /** List of `QuotaLimit` definitions for the service. */ + limits?: QuotaLimit[]; + /** + * List of `MetricRule` definitions, each one mapping a selected method to one + * or more metrics. + */ + metricRules?: MetricRule[]; + } + interface QuotaLimit { + /** + * Default number of tokens that can be consumed during the specified + * duration. This is the number of tokens assigned when a client + * application developer activates the service for his/her project. + * + * Specifying a value of 0 will block all requests. This can be used if you + * are provisioning quota to selected consumers and blocking others. + * Similarly, a value of -1 will indicate an unlimited quota. No other + * negative values are allowed. + * + * Used by group-based quotas only. + */ + defaultLimit?: string; + /** + * Optional. User-visible, extended description for this quota limit. + * Should be used only when more context is needed to understand this limit + * than provided by the limit's display name (see: `display_name`). + */ + description?: string; + /** + * User-visible display name for this limit. + * Optional. If not set, the UI will provide a default display name based on + * the quota configuration. This field can be used to override the default + * display name generated from the configuration. + */ + displayName?: string; + /** + * Duration of this limit in textual notation. Example: "100s", "24h", "1d". + * For duration longer than a day, only multiple of days is supported. We + * support only "100s" and "1d" for now. Additional support will be added in + * the future. "0" indicates indefinite duration. + * + * Used by group-based quotas only. + */ + duration?: string; + /** + * Free tier value displayed in the Developers Console for this limit. + * The free tier is the number of tokens that will be subtracted from the + * billed amount when billing is enabled. + * This field can only be set on a limit with duration "1d", in a billable + * group; it is invalid on any other limit. If this field is not set, it + * defaults to 0, indicating that there is no free tier for this service. + * + * Used by group-based quotas only. + */ + freeTier?: string; + /** + * Maximum number of tokens that can be consumed during the specified + * duration. Client application developers can override the default limit up + * to this maximum. If specified, this value cannot be set to a value less + * than the default limit. If not specified, it is set to the default limit. + * + * To allow clients to apply overrides with no upper bound, set this to -1, + * indicating unlimited maximum quota. + * + * Used by group-based quotas only. + */ + maxLimit?: string; + /** + * The name of the metric this quota limit applies to. The quota limits with + * the same metric will be checked together during runtime. The metric must be + * defined within the service config. + * + * Used by metric-based quotas only. + */ + metric?: string; + /** + * Name of the quota limit. The name is used to refer to the limit when + * overriding the default limit on per-consumer basis. + * + * For metric-based quota limits, the name must be provided, and it must be + * unique within the service. The name can only include alphanumeric + * characters as well as '-'. + * + * The maximum length of the limit name is 64 characters. + * + * The name of a limit is used as a unique identifier for this limit. + * Therefore, once a limit has been put into use, its name should be + * immutable. You can use the display_name field to provide a user-friendly + * name for the limit. The display name can be evolved over time without + * affecting the identity of the limit. + */ + name?: string; + /** + * Specify the unit of the quota limit. It uses the same syntax as + * Metric.unit. The supported unit kinds are determined by the quota + * backend system. + * + * The [Google Service Control](https://cloud.google.com/service-control) + * supports the following unit components: + * * One of the time intevals: + * * "/min" for quota every minute. + * * "/d" for quota every 24 hours, starting 00:00 US Pacific Time. + * * Otherwise the quota won't be reset by time, such as storage limit. + * * One and only one of the granted containers: + * * "/{project}" quota for a project + * + * Here are some examples: + * * "1/min/{project}" for quota per minute per project. + * + * Note: the order of unit components is insignificant. + * The "1" at the beginning is required to follow the metric unit syntax. + * + * Used by metric-based quotas only. + */ + unit?: string; + /** Tiered limit values, currently only STANDARD is supported. */ + values?: Record<string, string>; + } + interface SearchServicesResponse { + /** + * Token that can be passed to `ListAvailableServices` to resume a paginated + * query. + */ + nextPageToken?: string; + /** Services available publicly or available to the authenticated caller. */ + services?: PublishedService[]; + } + interface Service { + /** + * A list of API interfaces exported by this service. Only the `name` field + * of the google.protobuf.Api needs to be provided by the configuration + * author, as the remaining fields will be derived from the IDL during the + * normalization process. It is an error to specify an API interface here + * which cannot be resolved against the associated IDL files. + */ + apis?: Api[]; + /** Auth configuration. */ + authentication?: Authentication; + /** API backend configuration. */ + backend?: Backend; + /** Billing configuration. */ + billing?: Billing; + /** + * The semantic version of the service configuration. The config version + * affects the interpretation of the service configuration. For example, + * certain features are enabled by default for certain config versions. + * The latest config version is `3`. + */ + configVersion?: number; + /** Context configuration. */ + context?: Context; + /** Configuration for the service control plane. */ + control?: Control; + /** Custom error configuration. */ + customError?: CustomError; + /** Additional API documentation. */ + documentation?: Documentation; + /** + * Configuration for network endpoints. If this is empty, then an endpoint + * with the same name as the service is automatically generated to service all + * defined APIs. + */ + endpoints?: Endpoint[]; + /** + * A list of all enum types included in this API service. Enums + * referenced directly or indirectly by the `apis` are automatically + * included. Enums which are not referenced but shall be included + * should be listed here by name. Example: + * + * enums: + * - name: google.someapi.v1.SomeEnum + */ + enums?: Enum[]; + /** Experimental configuration. */ + experimental?: Experimental; + /** HTTP configuration. */ + http?: Http; + /** + * A unique ID for a specific instance of this message, typically assigned + * by the client for tracking purpose. If empty, the server may choose to + * generate one instead. + */ + id?: string; + /** Logging configuration. */ + logging?: Logging; + /** Defines the logs used by this service. */ + logs?: LogDescriptor[]; + /** Defines the metrics used by this service. */ + metrics?: MetricDescriptor[]; + /** + * Defines the monitored resources used by this service. This is required + * by the Service.monitoring and Service.logging configurations. + */ + monitoredResources?: MonitoredResourceDescriptor[]; + /** Monitoring configuration. */ + monitoring?: Monitoring; + /** + * The DNS address at which this service is available, + * e.g. `calendar.googleapis.com`. + */ + name?: string; + /** The Google project that owns this service. */ + producerProjectId?: string; + /** Quota configuration. */ + quota?: Quota; + /** Output only. The source information for this configuration if available. */ + sourceInfo?: SourceInfo; + /** System parameter configuration. */ + systemParameters?: SystemParameters; + /** + * A list of all proto message types included in this API service. + * It serves similar purpose as [google.api.Service.types], except that + * these types are not needed by user-defined APIs. Therefore, they will not + * show up in the generated discovery doc. This field should only be used + * to define system APIs in ESF. + */ + systemTypes?: Type[]; + /** The product title for this service. */ + title?: string; + /** + * A list of all proto message types included in this API service. + * Types referenced directly or indirectly by the `apis` are + * automatically included. Messages which are not referenced but + * shall be included, such as types used by the `google.protobuf.Any` type, + * should be listed here by name. Example: + * + * types: + * - name: google.protobuf.Int32 + */ + types?: Type[]; + /** Configuration controlling usage of this service. */ + usage?: Usage; + /** API visibility configuration. */ + visibility?: Visibility; + } + interface SourceContext { + /** + * The path-qualified name of the .proto file that contained the associated + * protobuf element. For example: `"google/protobuf/source_context.proto"`. + */ + fileName?: string; + } + interface SourceInfo { + /** All files used during config generation. */ + sourceFiles?: Array<Record<string, any>>; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface Step { + /** The short description of the step. */ + description?: string; + /** The status code. */ + status?: string; + } + interface SystemParameter { + /** + * Define the HTTP header name to use for the parameter. It is case + * insensitive. + */ + httpHeader?: string; + /** Define the name of the parameter, such as "api_key" . It is case sensitive. */ + name?: string; + /** + * Define the URL query parameter name to use for the parameter. It is case + * sensitive. + */ + urlQueryParameter?: string; + } + interface SystemParameterRule { + /** + * Define parameters. Multiple names may be defined for a parameter. + * For a given method call, only one of them should be used. If multiple + * names are used the behavior is implementation-dependent. + * If none of the specified names are present the behavior is + * parameter-dependent. + */ + parameters?: SystemParameter[]; + /** + * Selects the methods to which this rule applies. Use '*' to indicate all + * methods in all APIs. + * + * Refer to selector for syntax details. + */ + selector?: string; + } + interface SystemParameters { + /** + * Define system parameters. + * + * The parameters defined here will override the default parameters + * implemented by the system. If this field is missing from the service + * config, default system parameters will be used. Default system parameters + * and names is implementation-dependent. + * + * Example: define api key for all methods + * + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key + * + * + * Example: define 2 api key names for a specific method. + * + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules?: SystemParameterRule[]; + } + interface Type { + /** The list of fields. */ + fields?: Field[]; + /** The fully qualified message name. */ + name?: string; + /** The list of types appearing in `oneof` definitions in this type. */ + oneofs?: string[]; + /** The protocol buffer options. */ + options?: Option[]; + /** The source context. */ + sourceContext?: SourceContext; + /** The source syntax. */ + syntax?: string; + } + interface Usage { + /** + * The full resource name of a channel used for sending notifications to the + * service producer. + * + * Google Service Management currently only supports + * [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification + * channel. To use Google Cloud Pub/Sub as the channel, this must be the name + * of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format + * documented in https://cloud.google.com/pubsub/docs/overview. + */ + producerNotificationChannel?: string; + /** + * Requirements that must be satisfied before a consumer project can use the + * service. Each requirement is of the form <service.name>/<requirement-id>; + * for example 'serviceusage.googleapis.com/billing-enabled'. + */ + requirements?: string[]; + /** + * A list of usage rules that apply to individual API methods. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules?: UsageRule[]; + } + interface UsageRule { + /** True, if the method allows unregistered calls; false otherwise. */ + allowUnregisteredCalls?: boolean; + /** + * Selects the methods to which this rule applies. Use '*' to indicate all + * methods in all APIs. + * + * Refer to selector for syntax details. + */ + selector?: string; + /** + * True, if the method should skip service control. If so, no control plane + * feature (like quota and billing) will be enabled. + */ + skipServiceControl?: boolean; + } + interface Visibility { + /** + * A list of visibility rules that apply to individual API elements. + * + * **NOTE:** All service configuration rules follow "last one wins" order. + */ + rules?: VisibilityRule[]; + } + interface VisibilityRule { + /** + * A comma-separated list of visibility labels that apply to the `selector`. + * Any of the listed labels can be used to grant the visibility. + * + * If a rule has multiple labels, removing one of the labels but not all of + * them can break clients. + * + * Example: + * + * visibility: + * rules: + * - selector: google.calendar.Calendar.EnhancedSearch + * restriction: GOOGLE_INTERNAL, TRUSTED_TESTER + * + * Removing GOOGLE_INTERNAL from this restriction will break clients that + * rely on this method and only had access to it through GOOGLE_INTERNAL. + */ + restriction?: string; + /** + * Selects methods, messages, fields, enums, etc. to which this rule applies. + * + * Refer to selector for syntax details. + */ + selector?: string; + } + interface ServicesResource { + /** + * Disable a service so it can no longer be used with a + * project. This prevents unintended usage that may cause unexpected billing + * charges or security leaks. + * + * Operation<response: google.protobuf.Empty> + */ + disable(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Name of the consumer and the service to disable for that consumer. + * + * The Service User implementation accepts the following forms for consumer: + * - "project:<project_id>" + * + * A valid path would be: + * - /v1/projects/my-project/services/servicemanagement.googleapis.com:disable + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Enable a service so it can be used with a project. + * See [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for + * more information. + * + * Operation<response: google.protobuf.Empty> + */ + enable(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Name of the consumer and the service to enable for that consumer. + * + * A valid path would be: + * - /v1/projects/my-project/services/servicemanagement.googleapis.com:enable + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** List enabled services for the specified consumer. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Requested size of the next page of data. */ + pageSize?: number; + /** + * Token identifying which result to start with; returned by a previous list + * call. + */ + pageToken?: string; + /** + * List enabled services for the specified parent. + * + * An example valid parent would be: + * - projects/my-project + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListEnabledServicesResponse>; + } + interface ProjectsResource { + services: ServicesResource; + } + interface ServicesResource { + /** + * Search available services. + * + * When no filter is specified, returns all accessible services. For + * authenticated users, also returns all services the calling user has + * "servicemanagement.services.bind" permission for. + */ + search(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Requested size of the next page of data. */ + pageSize?: number; + /** + * Token identifying which result to start with; returned by a previous list + * call. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<SearchServicesResponse>; + } + } +} diff --git a/types/gapi.client.serviceuser/readme.md b/types/gapi.client.serviceuser/readme.md new file mode 100644 index 0000000000..5039beb4a8 --- /dev/null +++ b/types/gapi.client.serviceuser/readme.md @@ -0,0 +1,69 @@ +# TypeScript typings for Google Service User API v1 +Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use. +For detailed description please check [documentation](https://cloud.google.com/service-management/). + +## Installing + +Install typings for Google Service User API: +``` +npm install @types/gapi.client.serviceuser@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('serviceuser', 'v1', () => { + // now we can use gapi.client.serviceuser + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform.read-only', + + // Manage your Google API service configuration + 'https://www.googleapis.com/auth/service.management', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Service User API resources: + +```typescript + +/* +Search available services. + +When no filter is specified, returns all accessible services. For +authenticated users, also returns all services the calling user has +"servicemanagement.services.bind" permission for. +*/ +await gapi.client.services.search({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.serviceuser/tsconfig.json b/types/gapi.client.serviceuser/tsconfig.json new file mode 100644 index 0000000000..3213e6fbe7 --- /dev/null +++ b/types/gapi.client.serviceuser/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.serviceuser-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.serviceuser/tslint.json b/types/gapi.client.serviceuser/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.serviceuser/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.sheets/gapi.client.sheets-tests.ts b/types/gapi.client.sheets/gapi.client.sheets-tests.ts new file mode 100644 index 0000000000..032a8793ad --- /dev/null +++ b/types/gapi.client.sheets/gapi.client.sheets-tests.ts @@ -0,0 +1,122 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('sheets', 'v4', () => { + /** now we can use gapi.client.sheets */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage the files in your Google Drive */ + 'https://www.googleapis.com/auth/drive', + /** View and manage Google Drive files and folders that you have opened or created with this app */ + 'https://www.googleapis.com/auth/drive.file', + /** View the files in your Google Drive */ + 'https://www.googleapis.com/auth/drive.readonly', + /** View and manage your spreadsheets in Google Drive */ + 'https://www.googleapis.com/auth/spreadsheets', + /** View your Google Spreadsheets */ + 'https://www.googleapis.com/auth/spreadsheets.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Applies one or more updates to the spreadsheet. + * + * Each request is validated before + * being applied. If any request is not valid then the entire request will + * fail and nothing will be applied. + * + * Some requests have replies to + * give you some information about how + * they are applied. The replies will mirror the requests. For example, + * if you applied 4 updates and the 3rd one had a reply, then the + * response will have 2 empty replies, the actual reply, and another empty + * reply, in that order. + * + * Due to the collaborative nature of spreadsheets, it is not guaranteed that + * the spreadsheet will reflect exactly your changes after this completes, + * however it is guaranteed that the updates in the request will be + * applied together atomically. Your changes may be altered with respect to + * collaborator changes. If there are no collaborators, the spreadsheet + * should reflect your changes. + */ + await gapi.client.spreadsheets.batchUpdate({ + spreadsheetId: "spreadsheetId", + }); + /** Creates a spreadsheet, returning the newly created spreadsheet. */ + await gapi.client.spreadsheets.create({ + }); + /** + * Returns the spreadsheet at the given ID. + * The caller must specify the spreadsheet ID. + * + * By default, data within grids will not be returned. + * You can include grid data one of two ways: + * + * * Specify a field mask listing your desired fields using the `fields` URL + * parameter in HTTP + * + * * Set the includeGridData + * URL parameter to true. If a field mask is set, the `includeGridData` + * parameter is ignored + * + * For large spreadsheets, it is recommended to retrieve only the specific + * fields of the spreadsheet that you want. + * + * To retrieve only subsets of the spreadsheet, use the + * ranges URL parameter. + * Multiple ranges can be specified. Limiting the range will + * return only the portions of the spreadsheet that intersect the requested + * ranges. Ranges are specified using A1 notation. + */ + await gapi.client.spreadsheets.get({ + includeGridData: true, + ranges: "ranges", + spreadsheetId: "spreadsheetId", + }); + /** + * Returns the spreadsheet at the given ID. + * The caller must specify the spreadsheet ID. + * + * This method differs from GetSpreadsheet in that it allows selecting + * which subsets of spreadsheet data to return by specifying a + * dataFilters parameter. + * Multiple DataFilters can be specified. Specifying one or + * more data filters will return the portions of the spreadsheet that + * intersect ranges matched by any of the filters. + * + * By default, data within grids will not be returned. + * You can include grid data one of two ways: + * + * * Specify a field mask listing your desired fields using the `fields` URL + * parameter in HTTP + * + * * Set the includeGridData + * parameter to true. If a field mask is set, the `includeGridData` + * parameter is ignored + * + * For large spreadsheets, it is recommended to retrieve only the specific + * fields of the spreadsheet that you want. + */ + await gapi.client.spreadsheets.getByDataFilter({ + spreadsheetId: "spreadsheetId", + }); + } +}); diff --git a/types/gapi.client.sheets/index.d.ts b/types/gapi.client.sheets/index.d.ts new file mode 100644 index 0000000000..1f9752d361 --- /dev/null +++ b/types/gapi.client.sheets/index.d.ts @@ -0,0 +1,3310 @@ +// Type definitions for Google Google Sheets API v4 4.0 +// Project: https://developers.google.com/sheets/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://sheets.googleapis.com/$discovery/rest?version=v4 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Sheets API v4 */ + function load(name: "sheets", version: "v4"): PromiseLike<void>; + function load(name: "sheets", version: "v4", callback: () => any): void; + + const spreadsheets: sheets.SpreadsheetsResource; + + namespace sheets { + interface AddBandingRequest { + /** + * The banded range to add. The bandedRangeId + * field is optional; if one is not set, an id will be randomly generated. (It + * is an error to specify the ID of a range that already exists.) + */ + bandedRange?: BandedRange; + } + interface AddBandingResponse { + /** The banded range that was added. */ + bandedRange?: BandedRange; + } + interface AddChartRequest { + /** + * The chart that should be added to the spreadsheet, including the position + * where it should be placed. The chartId + * field is optional; if one is not set, an id will be randomly generated. (It + * is an error to specify the ID of a chart that already exists.) + */ + chart?: EmbeddedChart; + } + interface AddChartResponse { + /** The newly added chart. */ + chart?: EmbeddedChart; + } + interface AddConditionalFormatRuleRequest { + /** The zero-based index where the rule should be inserted. */ + index?: number; + /** The rule to add. */ + rule?: ConditionalFormatRule; + } + interface AddFilterViewRequest { + /** + * The filter to add. The filterViewId + * field is optional; if one is not set, an id will be randomly generated. (It + * is an error to specify the ID of a filter that already exists.) + */ + filter?: FilterView; + } + interface AddFilterViewResponse { + /** The newly added filter view. */ + filter?: FilterView; + } + interface AddNamedRangeRequest { + /** + * The named range to add. The namedRangeId + * field is optional; if one is not set, an id will be randomly generated. (It + * is an error to specify the ID of a range that already exists.) + */ + namedRange?: NamedRange; + } + interface AddNamedRangeResponse { + /** The named range to add. */ + namedRange?: NamedRange; + } + interface AddProtectedRangeRequest { + /** + * The protected range to be added. The + * protectedRangeId field is optional; if + * one is not set, an id will be randomly generated. (It is an error to + * specify the ID of a range that already exists.) + */ + protectedRange?: ProtectedRange; + } + interface AddProtectedRangeResponse { + /** The newly added protected range. */ + protectedRange?: ProtectedRange; + } + interface AddSheetRequest { + /** + * The properties the new sheet should have. + * All properties are optional. + * The sheetId field is optional; if one is not + * set, an id will be randomly generated. (It is an error to specify the ID + * of a sheet that already exists.) + */ + properties?: SheetProperties; + } + interface AddSheetResponse { + /** The properties of the newly added sheet. */ + properties?: SheetProperties; + } + interface AppendCellsRequest { + /** + * The fields of CellData that should be updated. + * At least one field must be specified. + * The root is the CellData; 'row.values.' should not be specified. + * A single `"*"` can be used as short-hand for listing every field. + */ + fields?: string; + /** The data to append. */ + rows?: RowData[]; + /** The sheet ID to append the data to. */ + sheetId?: number; + } + interface AppendDimensionRequest { + /** Whether rows or columns should be appended. */ + dimension?: string; + /** The number of rows or columns to append. */ + length?: number; + /** The sheet to append rows or columns to. */ + sheetId?: number; + } + interface AppendValuesResponse { + /** The spreadsheet the updates were applied to. */ + spreadsheetId?: string; + /** + * The range (in A1 notation) of the table that values are being appended to + * (before the values were appended). + * Empty if no table was found. + */ + tableRange?: string; + /** Information about the updates that were applied. */ + updates?: UpdateValuesResponse; + } + interface AutoFillRequest { + /** + * The range to autofill. This will examine the range and detect + * the location that has data and automatically fill that data + * in to the rest of the range. + */ + range?: GridRange; + /** + * The source and destination areas to autofill. + * This explicitly lists the source of the autofill and where to + * extend that data. + */ + sourceAndDestination?: SourceAndDestination; + /** + * True if we should generate data with the "alternate" series. + * This differs based on the type and amount of source data. + */ + useAlternateSeries?: boolean; + } + interface AutoResizeDimensionsRequest { + /** The dimensions to automatically resize. */ + dimensions?: DimensionRange; + } + interface BandedRange { + /** The id of the banded range. */ + bandedRangeId?: number; + /** + * Properties for column bands. These properties will be applied on a column- + * by-column basis throughout all the columns in the range. At least one of + * row_properties or column_properties must be specified. + */ + columnProperties?: BandingProperties; + /** The range over which these properties are applied. */ + range?: GridRange; + /** + * Properties for row bands. These properties will be applied on a row-by-row + * basis throughout all the rows in the range. At least one of + * row_properties or column_properties must be specified. + */ + rowProperties?: BandingProperties; + } + interface BandingProperties { + /** The first color that is alternating. (Required) */ + firstBandColor?: Color; + /** + * The color of the last row or column. If this field is not set, the last + * row or column will be filled with either first_band_color or + * second_band_color, depending on the color of the previous row or + * column. + */ + footerColor?: Color; + /** + * The color of the first row or column. If this field is set, the first + * row or column will be filled with this color and the colors will + * alternate between first_band_color and second_band_color starting + * from the second row or column. Otherwise, the first row or column will be + * filled with first_band_color and the colors will proceed to alternate + * as they normally would. + */ + headerColor?: Color; + /** The second color that is alternating. (Required) */ + secondBandColor?: Color; + } + interface BasicChartAxis { + /** + * The format of the title. + * Only valid if the axis is not associated with the domain. + */ + format?: TextFormat; + /** The position of this axis. */ + position?: string; + /** + * The title of this axis. If set, this overrides any title inferred + * from headers of the data. + */ + title?: string; + /** The axis title text position. */ + titleTextPosition?: TextPosition; + } + interface BasicChartDomain { + /** + * The data of the domain. For example, if charting stock prices over time, + * this is the data representing the dates. + */ + domain?: ChartData; + /** True to reverse the order of the domain values (horizontal axis). */ + reversed?: boolean; + } + interface BasicChartSeries { + /** The data being visualized in this chart series. */ + series?: ChartData; + /** + * The minor axis that will specify the range of values for this series. + * For example, if charting stocks over time, the "Volume" series + * may want to be pinned to the right with the prices pinned to the left, + * because the scale of trading volume is different than the scale of + * prices. + * It is an error to specify an axis that isn't a valid minor axis + * for the chart's type. + */ + targetAxis?: string; + /** + * The type of this series. Valid only if the + * chartType is + * COMBO. + * Different types will change the way the series is visualized. + * Only LINE, AREA, + * and COLUMN are supported. + */ + type?: string; + } + interface BasicChartSpec { + /** The axis on the chart. */ + axis?: BasicChartAxis[]; + /** The type of the chart. */ + chartType?: string; + /** + * The behavior of tooltips and data highlighting when hovering on data and + * chart area. + */ + compareMode?: string; + /** + * The domain of data this is charting. + * Only a single domain is supported. + */ + domains?: BasicChartDomain[]; + /** + * The number of rows or columns in the data that are "headers". + * If not set, Google Sheets will guess how many rows are headers based + * on the data. + * + * (Note that BasicChartAxis.title may override the axis title + * inferred from the header values.) + */ + headerCount?: number; + /** + * If some values in a series are missing, gaps may appear in the chart (e.g, + * segments of lines in a line chart will be missing). To eliminate these + * gaps set this to true. + * Applies to Line, Area, and Combo charts. + */ + interpolateNulls?: boolean; + /** The position of the chart legend. */ + legendPosition?: string; + /** + * Gets whether all lines should be rendered smooth or straight by default. + * Applies to Line charts. + */ + lineSmoothing?: boolean; + /** The data this chart is visualizing. */ + series?: BasicChartSeries[]; + /** + * The stacked type for charts that support vertical stacking. + * Applies to Area, Bar, Column, and Stepped Area charts. + */ + stackedType?: string; + /** + * True to make the chart 3D. + * Applies to Bar and Column charts. + */ + threeDimensional?: boolean; + } + interface BasicFilter { + /** + * The criteria for showing/hiding values per column. + * The map's key is the column index, and the value is the criteria for + * that column. + */ + criteria?: Record<string, FilterCriteria>; + /** The range the filter covers. */ + range?: GridRange; + /** + * The sort order per column. Later specifications are used when values + * are equal in the earlier specifications. + */ + sortSpecs?: SortSpec[]; + } + interface BatchClearValuesByDataFilterRequest { + /** The DataFilters used to determine which ranges to clear. */ + dataFilters?: DataFilter[]; + } + interface BatchClearValuesByDataFilterResponse { + /** + * The ranges that were cleared, in A1 notation. + * (If the requests were for an unbounded range or a ranger larger + * than the bounds of the sheet, this will be the actual ranges + * that were cleared, bounded to the sheet's limits.) + */ + clearedRanges?: string[]; + /** The spreadsheet the updates were applied to. */ + spreadsheetId?: string; + } + interface BatchClearValuesRequest { + /** The ranges to clear, in A1 notation. */ + ranges?: string[]; + } + interface BatchClearValuesResponse { + /** + * The ranges that were cleared, in A1 notation. + * (If the requests were for an unbounded range or a ranger larger + * than the bounds of the sheet, this will be the actual ranges + * that were cleared, bounded to the sheet's limits.) + */ + clearedRanges?: string[]; + /** The spreadsheet the updates were applied to. */ + spreadsheetId?: string; + } + interface BatchGetValuesByDataFilterRequest { + /** + * The data filters used to match the ranges of values to retrieve. Ranges + * that match any of the specified data filters will be included in the + * response. + */ + dataFilters?: DataFilter[]; + /** + * How dates, times, and durations should be represented in the output. + * This is ignored if value_render_option is + * FORMATTED_VALUE. + * The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. + */ + dateTimeRenderOption?: string; + /** + * The major dimension that results should use. + * + * For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, + * then a request that selects that range and sets `majorDimension=ROWS` will + * return `[[1,2],[3,4]]`, + * whereas a request that sets `majorDimension=COLUMNS` will return + * `[[1,3],[2,4]]`. + */ + majorDimension?: string; + /** + * How values should be represented in the output. + * The default render option is ValueRenderOption.FORMATTED_VALUE. + */ + valueRenderOption?: string; + } + interface BatchGetValuesByDataFilterResponse { + /** The ID of the spreadsheet the data was retrieved from. */ + spreadsheetId?: string; + /** The requested values with the list of data filters that matched them. */ + valueRanges?: MatchedValueRange[]; + } + interface BatchGetValuesResponse { + /** The ID of the spreadsheet the data was retrieved from. */ + spreadsheetId?: string; + /** + * The requested values. The order of the ValueRanges is the same as the + * order of the requested ranges. + */ + valueRanges?: ValueRange[]; + } + interface BatchUpdateSpreadsheetRequest { + /** + * Determines if the update response should include the spreadsheet + * resource. + */ + includeSpreadsheetInResponse?: boolean; + /** + * A list of updates to apply to the spreadsheet. + * Requests will be applied in the order they are specified. + * If any request is not valid, no requests will be applied. + */ + requests?: Request[]; + /** + * True if grid data should be returned. Meaningful only if + * if include_spreadsheet_response is 'true'. + * This parameter is ignored if a field mask was set in the request. + */ + responseIncludeGridData?: boolean; + /** + * Limits the ranges included in the response spreadsheet. + * Meaningful only if include_spreadsheet_response is 'true'. + */ + responseRanges?: string[]; + } + interface BatchUpdateSpreadsheetResponse { + /** + * The reply of the updates. This maps 1:1 with the updates, although + * replies to some requests may be empty. + */ + replies?: Response[]; + /** The spreadsheet the updates were applied to. */ + spreadsheetId?: string; + /** + * The spreadsheet after updates were applied. This is only set if + * [BatchUpdateSpreadsheetRequest.include_spreadsheet_in_response] is `true`. + */ + updatedSpreadsheet?: Spreadsheet; + } + interface BatchUpdateValuesByDataFilterRequest { + /** + * The new values to apply to the spreadsheet. If more than one range is + * matched by the specified DataFilter the specified values will be + * applied to all of those ranges. + */ + data?: DataFilterValueRange[]; + /** + * Determines if the update response should include the values + * of the cells that were updated. By default, responses + * do not include the updated values. The `updatedData` field within + * each of the BatchUpdateValuesResponse.responses will contain + * the updated values. If the range to write was larger than than the range + * actually written, the response will include all values in the requested + * range (excluding trailing empty rows and columns). + */ + includeValuesInResponse?: boolean; + /** + * Determines how dates, times, and durations in the response should be + * rendered. This is ignored if response_value_render_option is + * FORMATTED_VALUE. + * The default dateTime render option is + * DateTimeRenderOption.SERIAL_NUMBER. + */ + responseDateTimeRenderOption?: string; + /** + * Determines how values in the response should be rendered. + * The default render option is ValueRenderOption.FORMATTED_VALUE. + */ + responseValueRenderOption?: string; + /** How the input data should be interpreted. */ + valueInputOption?: string; + } + interface BatchUpdateValuesByDataFilterResponse { + /** The response for each range updated. */ + responses?: UpdateValuesByDataFilterResponse[]; + /** The spreadsheet the updates were applied to. */ + spreadsheetId?: string; + /** The total number of cells updated. */ + totalUpdatedCells?: number; + /** + * The total number of columns where at least one cell in the column was + * updated. + */ + totalUpdatedColumns?: number; + /** The total number of rows where at least one cell in the row was updated. */ + totalUpdatedRows?: number; + /** + * The total number of sheets where at least one cell in the sheet was + * updated. + */ + totalUpdatedSheets?: number; + } + interface BatchUpdateValuesRequest { + /** The new values to apply to the spreadsheet. */ + data?: ValueRange[]; + /** + * Determines if the update response should include the values + * of the cells that were updated. By default, responses + * do not include the updated values. The `updatedData` field within + * each of the BatchUpdateValuesResponse.responses will contain + * the updated values. If the range to write was larger than than the range + * actually written, the response will include all values in the requested + * range (excluding trailing empty rows and columns). + */ + includeValuesInResponse?: boolean; + /** + * Determines how dates, times, and durations in the response should be + * rendered. This is ignored if response_value_render_option is + * FORMATTED_VALUE. + * The default dateTime render option is + * DateTimeRenderOption.SERIAL_NUMBER. + */ + responseDateTimeRenderOption?: string; + /** + * Determines how values in the response should be rendered. + * The default render option is ValueRenderOption.FORMATTED_VALUE. + */ + responseValueRenderOption?: string; + /** How the input data should be interpreted. */ + valueInputOption?: string; + } + interface BatchUpdateValuesResponse { + /** + * One UpdateValuesResponse per requested range, in the same order as + * the requests appeared. + */ + responses?: UpdateValuesResponse[]; + /** The spreadsheet the updates were applied to. */ + spreadsheetId?: string; + /** The total number of cells updated. */ + totalUpdatedCells?: number; + /** + * The total number of columns where at least one cell in the column was + * updated. + */ + totalUpdatedColumns?: number; + /** The total number of rows where at least one cell in the row was updated. */ + totalUpdatedRows?: number; + /** + * The total number of sheets where at least one cell in the sheet was + * updated. + */ + totalUpdatedSheets?: number; + } + interface BooleanCondition { + /** The type of condition. */ + type?: string; + /** + * The values of the condition. The number of supported values depends + * on the condition type. Some support zero values, + * others one or two values, + * and ConditionType.ONE_OF_LIST supports an arbitrary number of values. + */ + values?: ConditionValue[]; + } + interface BooleanRule { + /** + * The condition of the rule. If the condition evaluates to true, + * the format will be applied. + */ + condition?: BooleanCondition; + /** + * The format to apply. + * Conditional formatting can only apply a subset of formatting: + * bold, italic, + * strikethrough, + * foreground color & + * background color. + */ + format?: CellFormat; + } + interface Border { + /** The color of the border. */ + color?: Color; + /** The style of the border. */ + style?: string; + /** + * The width of the border, in pixels. + * Deprecated; the width is determined by the "style" field. + */ + width?: number; + } + interface Borders { + /** The bottom border of the cell. */ + bottom?: Border; + /** The left border of the cell. */ + left?: Border; + /** The right border of the cell. */ + right?: Border; + /** The top border of the cell. */ + top?: Border; + } + interface BubbleChartSpec { + /** The bubble border color. */ + bubbleBorderColor?: Color; + /** The data containing the bubble labels. These do not need to be unique. */ + bubbleLabels?: ChartData; + /** + * The max radius size of the bubbles, in pixels. + * If specified, the field must be a positive value. + */ + bubbleMaxRadiusSize?: number; + /** + * The minimum radius size of the bubbles, in pixels. + * If specific, the field must be a positive value. + */ + bubbleMinRadiusSize?: number; + /** + * The opacity of the bubbles between 0 and 1.0. + * 0 is fully transparent and 1 is fully opaque. + */ + bubbleOpacity?: number; + /** + * The data contianing the bubble sizes. Bubble sizes are used to draw + * the bubbles at different sizes relative to each other. + * If specified, group_ids must also be specified. This field is + * optional. + */ + bubbleSizes?: ChartData; + /** + * The format of the text inside the bubbles. + * Underline and Strikethrough are not supported. + */ + bubbleTextStyle?: TextFormat; + /** + * The data containing the bubble x-values. These values locate the bubbles + * in the chart horizontally. + */ + domain?: ChartData; + /** + * The data containing the bubble group IDs. All bubbles with the same group + * ID will be drawn in the same color. If bubble_sizes is specified then + * this field must also be specified but may contain blank values. + * This field is optional. + */ + groupIds?: ChartData; + /** Where the legend of the chart should be drawn. */ + legendPosition?: string; + /** + * The data contianing the bubble y-values. These values locate the bubbles + * in the chart vertically. + */ + series?: ChartData; + } + interface CandlestickChartSpec { + /** + * The Candlestick chart data. + * Only one CandlestickData is supported. + */ + data?: CandlestickData[]; + /** + * The domain data (horizontal axis) for the candlestick chart. String data + * will be treated as discrete labels, other data will be treated as + * continuous values. + */ + domain?: CandlestickDomain; + } + interface CandlestickData { + /** + * The range data (vertical axis) for the close/final value for each candle. + * This is the top of the candle body. If greater than the open value the + * candle will be filled. Otherwise the candle will be hollow. + */ + closeSeries?: CandlestickSeries; + /** + * The range data (vertical axis) for the high/maximum value for each + * candle. This is the top of the candle's center line. + */ + highSeries?: CandlestickSeries; + /** + * The range data (vertical axis) for the low/minimum value for each candle. + * This is the bottom of the candle's center line. + */ + lowSeries?: CandlestickSeries; + /** + * The range data (vertical axis) for the open/initial value for each + * candle. This is the bottom of the candle body. If less than the close + * value the candle will be filled. Otherwise the candle will be hollow. + */ + openSeries?: CandlestickSeries; + } + interface CandlestickDomain { + /** The data of the CandlestickDomain. */ + data?: ChartData; + /** True to reverse the order of the domain values (horizontal axis). */ + reversed?: boolean; + } + interface CandlestickSeries { + /** The data of the CandlestickSeries. */ + data?: ChartData; + } + interface CellData { + /** + * A data validation rule on the cell, if any. + * + * When writing, the new data validation rule will overwrite any prior rule. + */ + dataValidation?: DataValidationRule; + /** + * The effective format being used by the cell. + * This includes the results of applying any conditional formatting and, + * if the cell contains a formula, the computed number format. + * If the effective format is the default format, effective format will + * not be written. + * This field is read-only. + */ + effectiveFormat?: CellFormat; + /** + * The effective value of the cell. For cells with formulas, this will be + * the calculated value. For cells with literals, this will be + * the same as the user_entered_value. + * This field is read-only. + */ + effectiveValue?: ExtendedValue; + /** + * The formatted value of the cell. + * This is the value as it's shown to the user. + * This field is read-only. + */ + formattedValue?: string; + /** + * A hyperlink this cell points to, if any. + * This field is read-only. (To set it, use a `=HYPERLINK` formula + * in the userEnteredValue.formulaValue + * field.) + */ + hyperlink?: string; + /** Any note on the cell. */ + note?: string; + /** + * A pivot table anchored at this cell. The size of pivot table itself + * is computed dynamically based on its data, grouping, filters, values, + * etc. Only the top-left cell of the pivot table contains the pivot table + * definition. The other cells will contain the calculated values of the + * results of the pivot in their effective_value fields. + */ + pivotTable?: PivotTable; + /** + * Runs of rich text applied to subsections of the cell. Runs are only valid + * on user entered strings, not formulas, bools, or numbers. + * Runs start at specific indexes in the text and continue until the next + * run. Properties of a run will continue unless explicitly changed + * in a subsequent run (and properties of the first run will continue + * the properties of the cell unless explicitly changed). + * + * When writing, the new runs will overwrite any prior runs. When writing a + * new user_entered_value, previous runs will be erased. + */ + textFormatRuns?: TextFormatRun[]; + /** + * The format the user entered for the cell. + * + * When writing, the new format will be merged with the existing format. + */ + userEnteredFormat?: CellFormat; + /** + * The value the user entered in the cell. e.g, `1234`, `'Hello'`, or `=NOW()` + * Note: Dates, Times and DateTimes are represented as doubles in + * serial number format. + */ + userEnteredValue?: ExtendedValue; + } + interface CellFormat { + /** The background color of the cell. */ + backgroundColor?: Color; + /** The borders of the cell. */ + borders?: Borders; + /** The horizontal alignment of the value in the cell. */ + horizontalAlignment?: string; + /** How a hyperlink, if it exists, should be displayed in the cell. */ + hyperlinkDisplayType?: string; + /** A format describing how number values should be represented to the user. */ + numberFormat?: NumberFormat; + /** The padding of the cell. */ + padding?: Padding; + /** The direction of the text in the cell. */ + textDirection?: string; + /** The format of the text in the cell (unless overridden by a format run). */ + textFormat?: TextFormat; + /** The rotation applied to text in a cell */ + textRotation?: TextRotation; + /** The vertical alignment of the value in the cell. */ + verticalAlignment?: string; + /** The wrap strategy for the value in the cell. */ + wrapStrategy?: string; + } + interface ChartData { + /** The source ranges of the data. */ + sourceRange?: ChartSourceRange; + } + interface ChartSourceRange { + /** + * The ranges of data for a series or domain. + * Exactly one dimension must have a length of 1, + * and all sources in the list must have the same dimension + * with length 1. + * The domain (if it exists) & all series must have the same number + * of source ranges. If using more than one source range, then the source + * range at a given offset must be contiguous across the domain and series. + * + * For example, these are valid configurations: + * + * domain sources: A1:A5 + * series1 sources: B1:B5 + * series2 sources: D6:D10 + * + * domain sources: A1:A5, C10:C12 + * series1 sources: B1:B5, D10:D12 + * series2 sources: C1:C5, E10:E12 + */ + sources?: GridRange[]; + } + interface ChartSpec { + /** + * The alternative text that describes the chart. This is often used + * for accessibility. + */ + altText?: string; + /** + * The background color of the entire chart. + * Not applicable to Org charts. + */ + backgroundColor?: Color; + /** + * A basic chart specification, can be one of many kinds of charts. + * See BasicChartType for the list of all + * charts this supports. + */ + basicChart?: BasicChartSpec; + /** A bubble chart specification. */ + bubbleChart?: BubbleChartSpec; + /** A candlestick chart specification. */ + candlestickChart?: CandlestickChartSpec; + /** + * The name of the font to use by default for all chart text (e.g. title, + * axis labels, legend). If a font is specified for a specific part of the + * chart it will override this font name. + */ + fontName?: string; + /** Determines how the charts will use hidden rows or columns. */ + hiddenDimensionStrategy?: string; + /** A histogram chart specification. */ + histogramChart?: HistogramChartSpec; + /** + * True to make a chart fill the entire space in which it's rendered with + * minimum padding. False to use the default padding. + * (Not applicable to Geo and Org charts.) + */ + maximized?: boolean; + /** An org chart specification. */ + orgChart?: OrgChartSpec; + /** A pie chart specification. */ + pieChart?: PieChartSpec; + /** The subtitle of the chart. */ + subtitle?: string; + /** + * The subtitle text format. + * Strikethrough and underline are not supported. + */ + subtitleTextFormat?: TextFormat; + /** + * The subtitle text position. + * This field is optional. + */ + subtitleTextPosition?: TextPosition; + /** The title of the chart. */ + title?: string; + /** + * The title text format. + * Strikethrough and underline are not supported. + */ + titleTextFormat?: TextFormat; + /** + * The title text position. + * This field is optional. + */ + titleTextPosition?: TextPosition; + } + interface ClearBasicFilterRequest { + /** The sheet ID on which the basic filter should be cleared. */ + sheetId?: number; + } + interface ClearValuesResponse { + /** + * The range (in A1 notation) that was cleared. + * (If the request was for an unbounded range or a ranger larger + * than the bounds of the sheet, this will be the actual range + * that was cleared, bounded to the sheet's limits.) + */ + clearedRange?: string; + /** The spreadsheet the updates were applied to. */ + spreadsheetId?: string; + } + interface Color { + /** + * The fraction of this color that should be applied to the pixel. That is, + * the final pixel color is defined by the equation: + * + * pixel color = alpha * (this color) + (1.0 - alpha) * (background color) + * + * This means that a value of 1.0 corresponds to a solid color, whereas + * a value of 0.0 corresponds to a completely transparent color. This + * uses a wrapper message rather than a simple float scalar so that it is + * possible to distinguish between a default value and the value being unset. + * If omitted, this color object is to be rendered as a solid color + * (as if the alpha value had been explicitly given with a value of 1.0). + */ + alpha?: number; + /** The amount of blue in the color as a value in the interval [0, 1]. */ + blue?: number; + /** The amount of green in the color as a value in the interval [0, 1]. */ + green?: number; + /** The amount of red in the color as a value in the interval [0, 1]. */ + red?: number; + } + interface ConditionValue { + /** + * A relative date (based on the current date). + * Valid only if the type is + * DATE_BEFORE, + * DATE_AFTER, + * DATE_ON_OR_BEFORE or + * DATE_ON_OR_AFTER. + * + * Relative dates are not supported in data validation. + * They are supported only in conditional formatting and + * conditional filters. + */ + relativeDate?: string; + /** + * A value the condition is based on. + * The value will be parsed as if the user typed into a cell. + * Formulas are supported (and must begin with an `=`). + */ + userEnteredValue?: string; + } + interface ConditionalFormatRule { + /** The formatting is either "on" or "off" according to the rule. */ + booleanRule?: BooleanRule; + /** The formatting will vary based on the gradients in the rule. */ + gradientRule?: GradientRule; + /** + * The ranges that will be formatted if the condition is true. + * All the ranges must be on the same grid. + */ + ranges?: GridRange[]; + } + interface CopyPasteRequest { + /** + * The location to paste to. If the range covers a span that's + * a multiple of the source's height or width, then the + * data will be repeated to fill in the destination range. + * If the range is smaller than the source range, the entire + * source data will still be copied (beyond the end of the destination range). + */ + destination?: GridRange; + /** How that data should be oriented when pasting. */ + pasteOrientation?: string; + /** What kind of data to paste. */ + pasteType?: string; + /** The source range to copy. */ + source?: GridRange; + } + interface CopySheetToAnotherSpreadsheetRequest { + /** The ID of the spreadsheet to copy the sheet to. */ + destinationSpreadsheetId?: string; + } + interface CreateDeveloperMetadataRequest { + /** The developer metadata to create. */ + developerMetadata?: DeveloperMetadata; + } + interface CreateDeveloperMetadataResponse { + /** The developer metadata that was created. */ + developerMetadata?: DeveloperMetadata; + } + interface CutPasteRequest { + /** The top-left coordinate where the data should be pasted. */ + destination?: GridCoordinate; + /** + * What kind of data to paste. All the source data will be cut, regardless + * of what is pasted. + */ + pasteType?: string; + /** The source data to cut. */ + source?: GridRange; + } + interface DataFilter { + /** Selects data that matches the specified A1 range. */ + a1Range?: string; + /** + * Selects data associated with the developer metadata matching the criteria + * described by this DeveloperMetadataLookup. + */ + developerMetadataLookup?: DeveloperMetadataLookup; + /** Selects data that matches the range described by the GridRange. */ + gridRange?: GridRange; + } + interface DataFilterValueRange { + /** The data filter describing the location of the values in the spreadsheet. */ + dataFilter?: DataFilter; + /** The major dimension of the values. */ + majorDimension?: string; + /** + * The data to be written. If the provided values exceed any of the ranges + * matched by the data filter then the request will fail. If the provided + * values are less than the matched ranges only the specified values will be + * written, existing values in the matched ranges will remain unaffected. + */ + values?: any[][]; + } + interface DataValidationRule { + /** The condition that data in the cell must match. */ + condition?: BooleanCondition; + /** A message to show the user when adding data to the cell. */ + inputMessage?: string; + /** + * True if the UI should be customized based on the kind of condition. + * If true, "List" conditions will show a dropdown. + */ + showCustomUi?: boolean; + /** True if invalid data should be rejected. */ + strict?: boolean; + } + interface DeleteBandingRequest { + /** The ID of the banded range to delete. */ + bandedRangeId?: number; + } + interface DeleteConditionalFormatRuleRequest { + /** The zero-based index of the rule to be deleted. */ + index?: number; + /** The sheet the rule is being deleted from. */ + sheetId?: number; + } + interface DeleteConditionalFormatRuleResponse { + /** The rule that was deleted. */ + rule?: ConditionalFormatRule; + } + interface DeleteDeveloperMetadataRequest { + /** + * The data filter describing the criteria used to select which developer + * metadata entry to delete. + */ + dataFilter?: DataFilter; + } + interface DeleteDeveloperMetadataResponse { + /** The metadata that was deleted. */ + deletedDeveloperMetadata?: DeveloperMetadata[]; + } + interface DeleteDimensionRequest { + /** The dimensions to delete from the sheet. */ + range?: DimensionRange; + } + interface DeleteEmbeddedObjectRequest { + /** The ID of the embedded object to delete. */ + objectId?: number; + } + interface DeleteFilterViewRequest { + /** The ID of the filter to delete. */ + filterId?: number; + } + interface DeleteNamedRangeRequest { + /** The ID of the named range to delete. */ + namedRangeId?: string; + } + interface DeleteProtectedRangeRequest { + /** The ID of the protected range to delete. */ + protectedRangeId?: number; + } + interface DeleteRangeRequest { + /** The range of cells to delete. */ + range?: GridRange; + /** + * The dimension from which deleted cells will be replaced with. + * If ROWS, existing cells will be shifted upward to + * replace the deleted cells. If COLUMNS, existing cells + * will be shifted left to replace the deleted cells. + */ + shiftDimension?: string; + } + interface DeleteSheetRequest { + /** The ID of the sheet to delete. */ + sheetId?: number; + } + interface DeveloperMetadata { + /** The location where the metadata is associated. */ + location?: DeveloperMetadataLocation; + /** + * The spreadsheet-scoped unique ID that identifies the metadata. IDs may be + * specified when metadata is created, otherwise one will be randomly + * generated and assigned. Must be positive. + */ + metadataId?: number; + /** + * The metadata key. There may be multiple metadata in a spreadsheet with the + * same key. Developer metadata must always have a key specified. + */ + metadataKey?: string; + /** Data associated with the metadata's key. */ + metadataValue?: string; + /** + * The metadata visibility. Developer metadata must always have a visibility + * specified. + */ + visibility?: string; + } + interface DeveloperMetadataLocation { + /** + * Represents the row or column when metadata is associated with + * a dimension. The specified DimensionRange must represent a single row + * or column; it cannot be unbounded or span multiple rows or columns. + */ + dimensionRange?: DimensionRange; + /** The type of location this object represents. This field is read-only. */ + locationType?: string; + /** The ID of the sheet when metadata is associated with an entire sheet. */ + sheetId?: number; + /** True when metadata is associated with an entire spreadsheet. */ + spreadsheet?: boolean; + } + interface DeveloperMetadataLookup { + /** + * Determines how this lookup matches the location. If this field is + * specified as EXACT, only developer metadata associated on the exact + * location specified is matched. If this field is specified to INTERSECTING, + * developer metadata associated on intersecting locations is also + * matched. If left unspecified, this field assumes a default value of + * INTERSECTING. + * If this field is specified, a metadataLocation + * must also be specified. + */ + locationMatchingStrategy?: string; + /** + * Limits the selected developer metadata to those entries which are + * associated with locations of the specified type. For example, when this + * field is specified as ROW this lookup + * only considers developer metadata associated on rows. If the field is left + * unspecified, all location types are considered. This field cannot be + * specified as SPREADSHEET when + * the locationMatchingStrategy + * is specified as INTERSECTING or when the + * metadataLocation is specified as a + * non-spreadsheet location: spreadsheet metadata cannot intersect any other + * developer metadata location. This field also must be left unspecified when + * the locationMatchingStrategy + * is specified as EXACT. + */ + locationType?: string; + /** + * Limits the selected developer metadata to that which has a matching + * DeveloperMetadata.metadata_id. + */ + metadataId?: number; + /** + * Limits the selected developer metadata to that which has a matching + * DeveloperMetadata.metadata_key. + */ + metadataKey?: string; + /** + * Limits the selected developer metadata to those entries associated with + * the specified location. This field either matches exact locations or all + * intersecting locations according the specified + * locationMatchingStrategy. + */ + metadataLocation?: DeveloperMetadataLocation; + /** + * Limits the selected developer metadata to that which has a matching + * DeveloperMetadata.metadata_value. + */ + metadataValue?: string; + /** + * Limits the selected developer metadata to that which has a matching + * DeveloperMetadata.visibility. If left unspecified, all developer + * metadata visibile to the requesting project is considered. + */ + visibility?: string; + } + interface DimensionProperties { + /** The developer metadata associated with a single row or column. */ + developerMetadata?: DeveloperMetadata[]; + /** + * True if this dimension is being filtered. + * This field is read-only. + */ + hiddenByFilter?: boolean; + /** True if this dimension is explicitly hidden. */ + hiddenByUser?: boolean; + /** The height (if a row) or width (if a column) of the dimension in pixels. */ + pixelSize?: number; + } + interface DimensionRange { + /** The dimension of the span. */ + dimension?: string; + /** The end (exclusive) of the span, or not set if unbounded. */ + endIndex?: number; + /** The sheet this span is on. */ + sheetId?: number; + /** The start (inclusive) of the span, or not set if unbounded. */ + startIndex?: number; + } + interface DuplicateFilterViewRequest { + /** The ID of the filter being duplicated. */ + filterId?: number; + } + interface DuplicateFilterViewResponse { + /** The newly created filter. */ + filter?: FilterView; + } + interface DuplicateSheetRequest { + /** + * The zero-based index where the new sheet should be inserted. + * The index of all sheets after this are incremented. + */ + insertSheetIndex?: number; + /** + * If set, the ID of the new sheet. If not set, an ID is chosen. + * If set, the ID must not conflict with any existing sheet ID. + * If set, it must be non-negative. + */ + newSheetId?: number; + /** The name of the new sheet. If empty, a new name is chosen for you. */ + newSheetName?: string; + /** The sheet to duplicate. */ + sourceSheetId?: number; + } + interface DuplicateSheetResponse { + /** The properties of the duplicate sheet. */ + properties?: SheetProperties; + } + interface Editors { + /** + * True if anyone in the document's domain has edit access to the protected + * range. Domain protection is only supported on documents within a domain. + */ + domainUsersCanEdit?: boolean; + /** The email addresses of groups with edit access to the protected range. */ + groups?: string[]; + /** The email addresses of users with edit access to the protected range. */ + users?: string[]; + } + interface EmbeddedChart { + /** The ID of the chart. */ + chartId?: number; + /** The position of the chart. */ + position?: EmbeddedObjectPosition; + /** The specification of the chart. */ + spec?: ChartSpec; + } + interface EmbeddedObjectPosition { + /** + * If true, the embedded object will be put on a new sheet whose ID + * is chosen for you. Used only when writing. + */ + newSheet?: boolean; + /** The position at which the object is overlaid on top of a grid. */ + overlayPosition?: OverlayPosition; + /** + * The sheet this is on. Set only if the embedded object + * is on its own sheet. Must be non-negative. + */ + sheetId?: number; + } + interface ErrorValue { + /** + * A message with more information about the error + * (in the spreadsheet's locale). + */ + message?: string; + /** The type of error. */ + type?: string; + } + interface ExtendedValue { + /** Represents a boolean value. */ + boolValue?: boolean; + /** + * Represents an error. + * This field is read-only. + */ + errorValue?: ErrorValue; + /** Represents a formula. */ + formulaValue?: string; + /** + * Represents a double value. + * Note: Dates, Times and DateTimes are represented as doubles in + * "serial number" format. + */ + numberValue?: number; + /** + * Represents a string value. + * Leading single quotes are not included. For example, if the user typed + * `'123` into the UI, this would be represented as a `stringValue` of + * `"123"`. + */ + stringValue?: string; + } + interface FilterCriteria { + /** + * A condition that must be true for values to be shown. + * (This does not override hiddenValues -- if a value is listed there, + * it will still be hidden.) + */ + condition?: BooleanCondition; + /** Values that should be hidden. */ + hiddenValues?: string[]; + } + interface FilterView { + /** + * The criteria for showing/hiding values per column. + * The map's key is the column index, and the value is the criteria for + * that column. + */ + criteria?: Record<string, FilterCriteria>; + /** The ID of the filter view. */ + filterViewId?: number; + /** + * The named range this filter view is backed by, if any. + * + * When writing, only one of range or named_range_id + * may be set. + */ + namedRangeId?: string; + /** + * The range this filter view covers. + * + * When writing, only one of range or named_range_id + * may be set. + */ + range?: GridRange; + /** + * The sort order per column. Later specifications are used when values + * are equal in the earlier specifications. + */ + sortSpecs?: SortSpec[]; + /** The name of the filter view. */ + title?: string; + } + interface FindReplaceRequest { + /** True to find/replace over all sheets. */ + allSheets?: boolean; + /** The value to search. */ + find?: string; + /** + * True if the search should include cells with formulas. + * False to skip cells with formulas. + */ + includeFormulas?: boolean; + /** True if the search is case sensitive. */ + matchCase?: boolean; + /** True if the find value should match the entire cell. */ + matchEntireCell?: boolean; + /** The range to find/replace over. */ + range?: GridRange; + /** The value to use as the replacement. */ + replacement?: string; + /** + * True if the find value is a regex. + * The regular expression and replacement should follow Java regex rules + * at https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html. + * The replacement string is allowed to refer to capturing groups. + * For example, if one cell has the contents `"Google Sheets"` and another + * has `"Google Docs"`, then searching for `"o.* (.*)"` with a replacement of + * `"$1 Rocks"` would change the contents of the cells to + * `"GSheets Rocks"` and `"GDocs Rocks"` respectively. + */ + searchByRegex?: boolean; + /** The sheet to find/replace over. */ + sheetId?: number; + } + interface FindReplaceResponse { + /** The number of formula cells changed. */ + formulasChanged?: number; + /** + * The number of occurrences (possibly multiple within a cell) changed. + * For example, if replacing `"e"` with `"o"` in `"Google Sheets"`, this would + * be `"3"` because `"Google Sheets"` -> `"Googlo Shoots"`. + */ + occurrencesChanged?: number; + /** The number of rows changed. */ + rowsChanged?: number; + /** The number of sheets changed. */ + sheetsChanged?: number; + /** The number of non-formula cells changed. */ + valuesChanged?: number; + } + interface GetSpreadsheetByDataFilterRequest { + /** + * The DataFilters used to select which ranges to retrieve from + * the spreadsheet. + */ + dataFilters?: DataFilter[]; + /** + * True if grid data should be returned. + * This parameter is ignored if a field mask was set in the request. + */ + includeGridData?: boolean; + } + interface GradientRule { + /** The final interpolation point. */ + maxpoint?: InterpolationPoint; + /** An optional midway interpolation point. */ + midpoint?: InterpolationPoint; + /** The starting interpolation point. */ + minpoint?: InterpolationPoint; + } + interface GridCoordinate { + /** The column index of the coordinate. */ + columnIndex?: number; + /** The row index of the coordinate. */ + rowIndex?: number; + /** The sheet this coordinate is on. */ + sheetId?: number; + } + interface GridData { + /** + * Metadata about the requested columns in the grid, starting with the column + * in start_column. + */ + columnMetadata?: DimensionProperties[]; + /** + * The data in the grid, one entry per row, + * starting with the row in startRow. + * The values in RowData will correspond to columns starting + * at start_column. + */ + rowData?: RowData[]; + /** + * Metadata about the requested rows in the grid, starting with the row + * in start_row. + */ + rowMetadata?: DimensionProperties[]; + /** The first column this GridData refers to, zero-based. */ + startColumn?: number; + /** The first row this GridData refers to, zero-based. */ + startRow?: number; + } + interface GridProperties { + /** The number of columns in the grid. */ + columnCount?: number; + /** The number of columns that are frozen in the grid. */ + frozenColumnCount?: number; + /** The number of rows that are frozen in the grid. */ + frozenRowCount?: number; + /** True if the grid isn't showing gridlines in the UI. */ + hideGridlines?: boolean; + /** The number of rows in the grid. */ + rowCount?: number; + } + interface GridRange { + /** The end column (exclusive) of the range, or not set if unbounded. */ + endColumnIndex?: number; + /** The end row (exclusive) of the range, or not set if unbounded. */ + endRowIndex?: number; + /** The sheet this range is on. */ + sheetId?: number; + /** The start column (inclusive) of the range, or not set if unbounded. */ + startColumnIndex?: number; + /** The start row (inclusive) of the range, or not set if unbounded. */ + startRowIndex?: number; + } + interface HistogramChartSpec { + /** + * By default the bucket size (the range of values stacked in a single + * column) is chosen automatically, but it may be overridden here. + * E.g., A bucket size of 1.5 results in buckets from 0 - 1.5, 1.5 - 3.0, etc. + * Cannot be negative. + * This field is optional. + */ + bucketSize?: number; + /** The position of the chart legend. */ + legendPosition?: string; + /** + * The outlier percentile is used to ensure that outliers do not adversely + * affect the calculation of bucket sizes. For example, setting an outlier + * percentile of 0.05 indicates that the top and bottom 5% of values when + * calculating buckets. The values are still included in the chart, they will + * be added to the first or last buckets instead of their own buckets. + * Must be between 0.0 and 0.5. + */ + outlierPercentile?: number; + /** + * The series for a histogram may be either a single series of values to be + * bucketed or multiple series, each of the same length, containing the name + * of the series followed by the values to be bucketed for that series. + */ + series?: HistogramSeries[]; + /** + * Whether horizontal divider lines should be displayed between items in each + * column. + */ + showItemDividers?: boolean; + } + interface HistogramSeries { + /** + * The color of the column representing this series in each bucket. + * This field is optional. + */ + barColor?: Color; + /** The data for this histogram series. */ + data?: ChartData; + } + interface InsertDimensionRequest { + /** + * Whether dimension properties should be extended from the dimensions + * before or after the newly inserted dimensions. + * True to inherit from the dimensions before (in which case the start + * index must be greater than 0), and false to inherit from the dimensions + * after. + * + * For example, if row index 0 has red background and row index 1 + * has a green background, then inserting 2 rows at index 1 can inherit + * either the green or red background. If `inheritFromBefore` is true, + * the two new rows will be red (because the row before the insertion point + * was red), whereas if `inheritFromBefore` is false, the two new rows will + * be green (because the row after the insertion point was green). + */ + inheritFromBefore?: boolean; + /** The dimensions to insert. Both the start and end indexes must be bounded. */ + range?: DimensionRange; + } + interface InsertRangeRequest { + /** The range to insert new cells into. */ + range?: GridRange; + /** + * The dimension which will be shifted when inserting cells. + * If ROWS, existing cells will be shifted down. + * If COLUMNS, existing cells will be shifted right. + */ + shiftDimension?: string; + } + interface InterpolationPoint { + /** The color this interpolation point should use. */ + color?: Color; + /** How the value should be interpreted. */ + type?: string; + /** + * The value this interpolation point uses. May be a formula. + * Unused if type is MIN or + * MAX. + */ + value?: string; + } + interface IterativeCalculationSettings { + /** + * When iterative calculation is enabled and successive results differ by + * less than this threshold value, the calculation rounds stop. + */ + convergenceThreshold?: number; + /** + * When iterative calculation is enabled, the maximum number of calculation + * rounds to perform. + */ + maxIterations?: number; + } + interface MatchedDeveloperMetadata { + /** All filters matching the returned developer metadata. */ + dataFilters?: DataFilter[]; + /** The developer metadata matching the specified filters. */ + developerMetadata?: DeveloperMetadata; + } + interface MatchedValueRange { + /** + * The DataFilters from the request that matched the range of + * values. + */ + dataFilters?: DataFilter[]; + /** The values matched by the DataFilter. */ + valueRange?: ValueRange; + } + interface MergeCellsRequest { + /** How the cells should be merged. */ + mergeType?: string; + /** The range of cells to merge. */ + range?: GridRange; + } + interface MoveDimensionRequest { + /** + * The zero-based start index of where to move the source data to, + * based on the coordinates *before* the source data is removed + * from the grid. Existing data will be shifted down or right + * (depending on the dimension) to make room for the moved dimensions. + * The source dimensions are removed from the grid, so the + * the data may end up in a different index than specified. + * + * For example, given `A1..A5` of `0, 1, 2, 3, 4` and wanting to move + * `"1"` and `"2"` to between `"3"` and `"4"`, the source would be + * `ROWS [1..3)`,and the destination index would be `"4"` + * (the zero-based index of row 5). + * The end result would be `A1..A5` of `0, 3, 1, 2, 4`. + */ + destinationIndex?: number; + /** The source dimensions to move. */ + source?: DimensionRange; + } + interface NamedRange { + /** The name of the named range. */ + name?: string; + /** The ID of the named range. */ + namedRangeId?: string; + /** The range this represents. */ + range?: GridRange; + } + interface NumberFormat { + /** + * Pattern string used for formatting. If not set, a default pattern based on + * the user's locale will be used if necessary for the given type. + * See the [Date and Number Formats guide](/sheets/api/guides/formats) for more + * information about the supported patterns. + */ + pattern?: string; + /** + * The type of the number format. + * When writing, this field must be set. + */ + type?: string; + } + interface OrgChartSpec { + /** + * The data containing the labels for all the nodes in the chart. Labels + * must be unique. + */ + labels?: ChartData; + /** The color of the org chart nodes. */ + nodeColor?: Color; + /** The size of the org chart nodes. */ + nodeSize?: string; + /** + * The data containing the label of the parent for the corresponding node. + * A blank value indicates that the node has no parent and is a top-level + * node. + * This field is optional. + */ + parentLabels?: ChartData; + /** The color of the selected org chart nodes. */ + selectedNodeColor?: Color; + /** + * The data containing the tooltip for the corresponding node. A blank value + * results in no tooltip being displayed for the node. + * This field is optional. + */ + tooltips?: ChartData; + } + interface OverlayPosition { + /** The cell the object is anchored to. */ + anchorCell?: GridCoordinate; + /** The height of the object, in pixels. Defaults to 371. */ + heightPixels?: number; + /** + * The horizontal offset, in pixels, that the object is offset + * from the anchor cell. + */ + offsetXPixels?: number; + /** + * The vertical offset, in pixels, that the object is offset + * from the anchor cell. + */ + offsetYPixels?: number; + /** The width of the object, in pixels. Defaults to 600. */ + widthPixels?: number; + } + interface Padding { + /** The bottom padding of the cell. */ + bottom?: number; + /** The left padding of the cell. */ + left?: number; + /** The right padding of the cell. */ + right?: number; + /** The top padding of the cell. */ + top?: number; + } + interface PasteDataRequest { + /** The coordinate at which the data should start being inserted. */ + coordinate?: GridCoordinate; + /** The data to insert. */ + data?: string; + /** The delimiter in the data. */ + delimiter?: string; + /** True if the data is HTML. */ + html?: boolean; + /** How the data should be pasted. */ + type?: string; + } + interface PieChartSpec { + /** The data that covers the domain of the pie chart. */ + domain?: ChartData; + /** Where the legend of the pie chart should be drawn. */ + legendPosition?: string; + /** The size of the hole in the pie chart. */ + pieHole?: number; + /** The data that covers the one and only series of the pie chart. */ + series?: ChartData; + /** True if the pie is three dimensional. */ + threeDimensional?: boolean; + } + interface PivotFilterCriteria { + /** Values that should be included. Values not listed here are excluded. */ + visibleValues?: string[]; + } + interface PivotGroup { + /** True if the pivot table should include the totals for this grouping. */ + showTotals?: boolean; + /** The order the values in this group should be sorted. */ + sortOrder?: string; + /** + * The column offset of the source range that this grouping is based on. + * + * For example, if the source was `C10:E15`, a `sourceColumnOffset` of `0` + * means this group refers to column `C`, whereas the offset `1` would refer + * to column `D`. + */ + sourceColumnOffset?: number; + /** + * The bucket of the opposite pivot group to sort by. + * If not specified, sorting is alphabetical by this group's values. + */ + valueBucket?: PivotGroupSortValueBucket; + /** Metadata about values in the grouping. */ + valueMetadata?: PivotGroupValueMetadata[]; + } + interface PivotGroupSortValueBucket { + /** + * Determines the bucket from which values are chosen to sort. + * + * For example, in a pivot table with one row group & two column groups, + * the row group can list up to two values. The first value corresponds + * to a value within the first column group, and the second value + * corresponds to a value in the second column group. If no values + * are listed, this would indicate that the row should be sorted according + * to the "Grand Total" over the column groups. If a single value is listed, + * this would correspond to using the "Total" of that bucket. + */ + buckets?: ExtendedValue[]; + /** + * The offset in the PivotTable.values list which the values in this + * grouping should be sorted by. + */ + valuesIndex?: number; + } + interface PivotGroupValueMetadata { + /** True if the data corresponding to the value is collapsed. */ + collapsed?: boolean; + /** + * The calculated value the metadata corresponds to. + * (Note that formulaValue is not valid, + * because the values will be calculated.) + */ + value?: ExtendedValue; + } + interface PivotTable { + /** Each column grouping in the pivot table. */ + columns?: PivotGroup[]; + /** + * An optional mapping of filters per source column offset. + * + * The filters will be applied before aggregating data into the pivot table. + * The map's key is the column offset of the source range that you want to + * filter, and the value is the criteria for that column. + * + * For example, if the source was `C10:E15`, a key of `0` will have the filter + * for column `C`, whereas the key `1` is for column `D`. + */ + criteria?: Record<string, PivotFilterCriteria>; + /** Each row grouping in the pivot table. */ + rows?: PivotGroup[]; + /** The range the pivot table is reading data from. */ + source?: GridRange; + /** + * Whether values should be listed horizontally (as columns) + * or vertically (as rows). + */ + valueLayout?: string; + /** A list of values to include in the pivot table. */ + values?: PivotValue[]; + } + interface PivotValue { + /** + * A custom formula to calculate the value. The formula must start + * with an `=` character. + */ + formula?: string; + /** + * A name to use for the value. This is only used if formula was set. + * Otherwise, the column name is used. + */ + name?: string; + /** + * The column offset of the source range that this value reads from. + * + * For example, if the source was `C10:E15`, a `sourceColumnOffset` of `0` + * means this value refers to column `C`, whereas the offset `1` would + * refer to column `D`. + */ + sourceColumnOffset?: number; + /** + * A function to summarize the value. + * If formula is set, the only supported values are + * SUM and + * CUSTOM. + * If sourceColumnOffset is set, then `CUSTOM` + * is not supported. + */ + summarizeFunction?: string; + } + interface ProtectedRange { + /** The description of this protected range. */ + description?: string; + /** + * The users and groups with edit access to the protected range. + * This field is only visible to users with edit access to the protected + * range and the document. + * Editors are not supported with warning_only protection. + */ + editors?: Editors; + /** + * The named range this protected range is backed by, if any. + * + * When writing, only one of range or named_range_id + * may be set. + */ + namedRangeId?: string; + /** + * The ID of the protected range. + * This field is read-only. + */ + protectedRangeId?: number; + /** + * The range that is being protected. + * The range may be fully unbounded, in which case this is considered + * a protected sheet. + * + * When writing, only one of range or named_range_id + * may be set. + */ + range?: GridRange; + /** + * True if the user who requested this protected range can edit the + * protected area. + * This field is read-only. + */ + requestingUserCanEdit?: boolean; + /** + * The list of unprotected ranges within a protected sheet. + * Unprotected ranges are only supported on protected sheets. + */ + unprotectedRanges?: GridRange[]; + /** + * True if this protected range will show a warning when editing. + * Warning-based protection means that every user can edit data in the + * protected range, except editing will prompt a warning asking the user + * to confirm the edit. + * + * When writing: if this field is true, then editors is ignored. + * Additionally, if this field is changed from true to false and the + * `editors` field is not set (nor included in the field mask), then + * the editors will be set to all the editors in the document. + */ + warningOnly?: boolean; + } + interface RandomizeRangeRequest { + /** The range to randomize. */ + range?: GridRange; + } + interface RepeatCellRequest { + /** The data to write. */ + cell?: CellData; + /** + * The fields that should be updated. At least one field must be specified. + * The root `cell` is implied and should not be specified. + * A single `"*"` can be used as short-hand for listing every field. + */ + fields?: string; + /** The range to repeat the cell in. */ + range?: GridRange; + } + interface Request { + /** Adds a new banded range */ + addBanding?: AddBandingRequest; + /** Adds a chart. */ + addChart?: AddChartRequest; + /** Adds a new conditional format rule. */ + addConditionalFormatRule?: AddConditionalFormatRuleRequest; + /** Adds a filter view. */ + addFilterView?: AddFilterViewRequest; + /** Adds a named range. */ + addNamedRange?: AddNamedRangeRequest; + /** Adds a protected range. */ + addProtectedRange?: AddProtectedRangeRequest; + /** Adds a sheet. */ + addSheet?: AddSheetRequest; + /** Appends cells after the last row with data in a sheet. */ + appendCells?: AppendCellsRequest; + /** Appends dimensions to the end of a sheet. */ + appendDimension?: AppendDimensionRequest; + /** Automatically fills in more data based on existing data. */ + autoFill?: AutoFillRequest; + /** + * Automatically resizes one or more dimensions based on the contents + * of the cells in that dimension. + */ + autoResizeDimensions?: AutoResizeDimensionsRequest; + /** Clears the basic filter on a sheet. */ + clearBasicFilter?: ClearBasicFilterRequest; + /** Copies data from one area and pastes it to another. */ + copyPaste?: CopyPasteRequest; + /** Creates new developer metadata */ + createDeveloperMetadata?: CreateDeveloperMetadataRequest; + /** Cuts data from one area and pastes it to another. */ + cutPaste?: CutPasteRequest; + /** Removes a banded range */ + deleteBanding?: DeleteBandingRequest; + /** Deletes an existing conditional format rule. */ + deleteConditionalFormatRule?: DeleteConditionalFormatRuleRequest; + /** Deletes developer metadata */ + deleteDeveloperMetadata?: DeleteDeveloperMetadataRequest; + /** Deletes rows or columns in a sheet. */ + deleteDimension?: DeleteDimensionRequest; + /** Deletes an embedded object (e.g, chart, image) in a sheet. */ + deleteEmbeddedObject?: DeleteEmbeddedObjectRequest; + /** Deletes a filter view from a sheet. */ + deleteFilterView?: DeleteFilterViewRequest; + /** Deletes a named range. */ + deleteNamedRange?: DeleteNamedRangeRequest; + /** Deletes a protected range. */ + deleteProtectedRange?: DeleteProtectedRangeRequest; + /** Deletes a range of cells from a sheet, shifting the remaining cells. */ + deleteRange?: DeleteRangeRequest; + /** Deletes a sheet. */ + deleteSheet?: DeleteSheetRequest; + /** Duplicates a filter view. */ + duplicateFilterView?: DuplicateFilterViewRequest; + /** Duplicates a sheet. */ + duplicateSheet?: DuplicateSheetRequest; + /** Finds and replaces occurrences of some text with other text. */ + findReplace?: FindReplaceRequest; + /** Inserts new rows or columns in a sheet. */ + insertDimension?: InsertDimensionRequest; + /** Inserts new cells in a sheet, shifting the existing cells. */ + insertRange?: InsertRangeRequest; + /** Merges cells together. */ + mergeCells?: MergeCellsRequest; + /** Moves rows or columns to another location in a sheet. */ + moveDimension?: MoveDimensionRequest; + /** Pastes data (HTML or delimited) into a sheet. */ + pasteData?: PasteDataRequest; + /** Randomizes the order of the rows in a range. */ + randomizeRange?: RandomizeRangeRequest; + /** Repeats a single cell across a range. */ + repeatCell?: RepeatCellRequest; + /** Sets the basic filter on a sheet. */ + setBasicFilter?: SetBasicFilterRequest; + /** Sets data validation for one or more cells. */ + setDataValidation?: SetDataValidationRequest; + /** Sorts data in a range. */ + sortRange?: SortRangeRequest; + /** Converts a column of text into many columns of text. */ + textToColumns?: TextToColumnsRequest; + /** Unmerges merged cells. */ + unmergeCells?: UnmergeCellsRequest; + /** Updates a banded range */ + updateBanding?: UpdateBandingRequest; + /** Updates the borders in a range of cells. */ + updateBorders?: UpdateBordersRequest; + /** Updates many cells at once. */ + updateCells?: UpdateCellsRequest; + /** Updates a chart's specifications. */ + updateChartSpec?: UpdateChartSpecRequest; + /** Updates an existing conditional format rule. */ + updateConditionalFormatRule?: UpdateConditionalFormatRuleRequest; + /** Updates an existing developer metadata entry */ + updateDeveloperMetadata?: UpdateDeveloperMetadataRequest; + /** Updates dimensions' properties. */ + updateDimensionProperties?: UpdateDimensionPropertiesRequest; + /** Updates an embedded object's (e.g. chart, image) position. */ + updateEmbeddedObjectPosition?: UpdateEmbeddedObjectPositionRequest; + /** Updates the properties of a filter view. */ + updateFilterView?: UpdateFilterViewRequest; + /** Updates a named range. */ + updateNamedRange?: UpdateNamedRangeRequest; + /** Updates a protected range. */ + updateProtectedRange?: UpdateProtectedRangeRequest; + /** Updates a sheet's properties. */ + updateSheetProperties?: UpdateSheetPropertiesRequest; + /** Updates the spreadsheet's properties. */ + updateSpreadsheetProperties?: UpdateSpreadsheetPropertiesRequest; + } + interface Response { + /** A reply from adding a banded range. */ + addBanding?: AddBandingResponse; + /** A reply from adding a chart. */ + addChart?: AddChartResponse; + /** A reply from adding a filter view. */ + addFilterView?: AddFilterViewResponse; + /** A reply from adding a named range. */ + addNamedRange?: AddNamedRangeResponse; + /** A reply from adding a protected range. */ + addProtectedRange?: AddProtectedRangeResponse; + /** A reply from adding a sheet. */ + addSheet?: AddSheetResponse; + /** A reply from creating a developer metadata entry. */ + createDeveloperMetadata?: CreateDeveloperMetadataResponse; + /** A reply from deleting a conditional format rule. */ + deleteConditionalFormatRule?: DeleteConditionalFormatRuleResponse; + /** A reply from deleting a developer metadata entry. */ + deleteDeveloperMetadata?: DeleteDeveloperMetadataResponse; + /** A reply from duplicating a filter view. */ + duplicateFilterView?: DuplicateFilterViewResponse; + /** A reply from duplicating a sheet. */ + duplicateSheet?: DuplicateSheetResponse; + /** A reply from doing a find/replace. */ + findReplace?: FindReplaceResponse; + /** A reply from updating a conditional format rule. */ + updateConditionalFormatRule?: UpdateConditionalFormatRuleResponse; + /** A reply from updating a developer metadata entry. */ + updateDeveloperMetadata?: UpdateDeveloperMetadataResponse; + /** A reply from updating an embedded object's position. */ + updateEmbeddedObjectPosition?: UpdateEmbeddedObjectPositionResponse; + } + interface RowData { + /** The values in the row, one per column. */ + values?: CellData[]; + } + interface SearchDeveloperMetadataRequest { + /** + * The data filters describing the criteria used to determine which + * DeveloperMetadata entries to return. DeveloperMetadata matching any of the + * specified filters will be included in the response. + */ + dataFilters?: DataFilter[]; + } + interface SearchDeveloperMetadataResponse { + /** The metadata matching the criteria of the search request. */ + matchedDeveloperMetadata?: MatchedDeveloperMetadata[]; + } + interface SetBasicFilterRequest { + /** The filter to set. */ + filter?: BasicFilter; + } + interface SetDataValidationRequest { + /** The range the data validation rule should apply to. */ + range?: GridRange; + /** + * The data validation rule to set on each cell in the range, + * or empty to clear the data validation in the range. + */ + rule?: DataValidationRule; + } + interface Sheet { + /** The banded (i.e. alternating colors) ranges on this sheet. */ + bandedRanges?: BandedRange[]; + /** The filter on this sheet, if any. */ + basicFilter?: BasicFilter; + /** The specifications of every chart on this sheet. */ + charts?: EmbeddedChart[]; + /** The conditional format rules in this sheet. */ + conditionalFormats?: ConditionalFormatRule[]; + /** + * Data in the grid, if this is a grid sheet. + * The number of GridData objects returned is dependent on the number of + * ranges requested on this sheet. For example, if this is representing + * `Sheet1`, and the spreadsheet was requested with ranges + * `Sheet1!A1:C10` and `Sheet1!D15:E20`, then the first GridData will have a + * startRow/startColumn of `0`, + * while the second one will have `startRow 14` (zero-based row 15), + * and `startColumn 3` (zero-based column D). + */ + data?: GridData[]; + /** The developer metadata associated with a sheet. */ + developerMetadata?: DeveloperMetadata[]; + /** The filter views in this sheet. */ + filterViews?: FilterView[]; + /** The ranges that are merged together. */ + merges?: GridRange[]; + /** The properties of the sheet. */ + properties?: SheetProperties; + /** The protected ranges in this sheet. */ + protectedRanges?: ProtectedRange[]; + } + interface SheetProperties { + /** + * Additional properties of the sheet if this sheet is a grid. + * (If the sheet is an object sheet, containing a chart or image, then + * this field will be absent.) + * When writing it is an error to set any grid properties on non-grid sheets. + */ + gridProperties?: GridProperties; + /** True if the sheet is hidden in the UI, false if it's visible. */ + hidden?: boolean; + /** + * The index of the sheet within the spreadsheet. + * When adding or updating sheet properties, if this field + * is excluded then the sheet will be added or moved to the end + * of the sheet list. When updating sheet indices or inserting + * sheets, movement is considered in "before the move" indexes. + * For example, if there were 3 sheets (S1, S2, S3) in order to + * move S1 ahead of S2 the index would have to be set to 2. A sheet + * index update request will be ignored if the requested index is + * identical to the sheets current index or if the requested new + * index is equal to the current sheet index + 1. + */ + index?: number; + /** True if the sheet is an RTL sheet instead of an LTR sheet. */ + rightToLeft?: boolean; + /** + * The ID of the sheet. Must be non-negative. + * This field cannot be changed once set. + */ + sheetId?: number; + /** + * The type of sheet. Defaults to GRID. + * This field cannot be changed once set. + */ + sheetType?: string; + /** The color of the tab in the UI. */ + tabColor?: Color; + /** The name of the sheet. */ + title?: string; + } + interface SortRangeRequest { + /** The range to sort. */ + range?: GridRange; + /** + * The sort order per column. Later specifications are used when values + * are equal in the earlier specifications. + */ + sortSpecs?: SortSpec[]; + } + interface SortSpec { + /** The dimension the sort should be applied to. */ + dimensionIndex?: number; + /** The order data should be sorted. */ + sortOrder?: string; + } + interface SourceAndDestination { + /** The dimension that data should be filled into. */ + dimension?: string; + /** + * The number of rows or columns that data should be filled into. + * Positive numbers expand beyond the last row or last column + * of the source. Negative numbers expand before the first row + * or first column of the source. + */ + fillLength?: number; + /** The location of the data to use as the source of the autofill. */ + source?: GridRange; + } + interface Spreadsheet { + /** The developer metadata associated with a spreadsheet. */ + developerMetadata?: DeveloperMetadata[]; + /** The named ranges defined in a spreadsheet. */ + namedRanges?: NamedRange[]; + /** Overall properties of a spreadsheet. */ + properties?: SpreadsheetProperties; + /** The sheets that are part of a spreadsheet. */ + sheets?: Sheet[]; + /** + * The ID of the spreadsheet. + * This field is read-only. + */ + spreadsheetId?: string; + /** + * The url of the spreadsheet. + * This field is read-only. + */ + spreadsheetUrl?: string; + } + interface SpreadsheetProperties { + /** The amount of time to wait before volatile functions are recalculated. */ + autoRecalc?: string; + /** + * The default format of all cells in the spreadsheet. + * CellData.effectiveFormat will not be set if the + * cell's format is equal to this default format. + * This field is read-only. + */ + defaultFormat?: CellFormat; + /** + * Determines whether and how circular references are resolved with iterative + * calculation. Absence of this field means that circular references will + * result in calculation errors. + */ + iterativeCalculationSettings?: IterativeCalculationSettings; + /** + * The locale of the spreadsheet in one of the following formats: + * + * * an ISO 639-1 language code such as `en` + * + * * an ISO 639-2 language code such as `fil`, if no 639-1 code exists + * + * * a combination of the ISO language code and country code, such as `en_US` + * + * Note: when updating this field, not all locales/languages are supported. + */ + locale?: string; + /** + * The time zone of the spreadsheet, in CLDR format such as + * `America/New_York`. If the time zone isn't recognized, this may + * be a custom time zone such as `GMT-07:00`. + */ + timeZone?: string; + /** The title of the spreadsheet. */ + title?: string; + } + interface TextFormat { + /** True if the text is bold. */ + bold?: boolean; + /** The font family. */ + fontFamily?: string; + /** The size of the font. */ + fontSize?: number; + /** The foreground color of the text. */ + foregroundColor?: Color; + /** True if the text is italicized. */ + italic?: boolean; + /** True if the text has a strikethrough. */ + strikethrough?: boolean; + /** True if the text is underlined. */ + underline?: boolean; + } + interface TextFormatRun { + /** The format of this run. Absent values inherit the cell's format. */ + format?: TextFormat; + /** The character index where this run starts. */ + startIndex?: number; + } + interface TextPosition { + /** Horizontal alignment setting for the piece of text. */ + horizontalAlignment?: string; + } + interface TextRotation { + /** + * The angle between the standard orientation and the desired orientation. + * Measured in degrees. Valid values are between -90 and 90. Positive + * angles are angled upwards, negative are angled downwards. + * + * Note: For LTR text direction positive angles are in the counterclockwise + * direction, whereas for RTL they are in the clockwise direction + */ + angle?: number; + /** + * If true, text reads top to bottom, but the orientation of individual + * characters is unchanged. + * For example: + * + * | V | + * | e | + * | r | + * | t | + * | i | + * | c | + * | a | + * | l | + */ + vertical?: boolean; + } + interface TextToColumnsRequest { + /** + * The delimiter to use. Used only if delimiterType is + * CUSTOM. + */ + delimiter?: string; + /** The delimiter type to use. */ + delimiterType?: string; + /** The source data range. This must span exactly one column. */ + source?: GridRange; + } + interface UnmergeCellsRequest { + /** + * The range within which all cells should be unmerged. + * If the range spans multiple merges, all will be unmerged. + * The range must not partially span any merge. + */ + range?: GridRange; + } + interface UpdateBandingRequest { + /** The banded range to update with the new properties. */ + bandedRange?: BandedRange; + /** + * The fields that should be updated. At least one field must be specified. + * The root `bandedRange` is implied and should not be specified. + * A single `"*"` can be used as short-hand for listing every field. + */ + fields?: string; + } + interface UpdateBordersRequest { + /** The border to put at the bottom of the range. */ + bottom?: Border; + /** The horizontal border to put within the range. */ + innerHorizontal?: Border; + /** The vertical border to put within the range. */ + innerVertical?: Border; + /** The border to put at the left of the range. */ + left?: Border; + /** The range whose borders should be updated. */ + range?: GridRange; + /** The border to put at the right of the range. */ + right?: Border; + /** The border to put at the top of the range. */ + top?: Border; + } + interface UpdateCellsRequest { + /** + * The fields of CellData that should be updated. + * At least one field must be specified. + * The root is the CellData; 'row.values.' should not be specified. + * A single `"*"` can be used as short-hand for listing every field. + */ + fields?: string; + /** + * The range to write data to. + * + * If the data in rows does not cover the entire requested range, + * the fields matching those set in fields will be cleared. + */ + range?: GridRange; + /** The data to write. */ + rows?: RowData[]; + /** + * The coordinate to start writing data at. + * Any number of rows and columns (including a different number of + * columns per row) may be written. + */ + start?: GridCoordinate; + } + interface UpdateChartSpecRequest { + /** The ID of the chart to update. */ + chartId?: number; + /** The specification to apply to the chart. */ + spec?: ChartSpec; + } + interface UpdateConditionalFormatRuleRequest { + /** The zero-based index of the rule that should be replaced or moved. */ + index?: number; + /** The zero-based new index the rule should end up at. */ + newIndex?: number; + /** The rule that should replace the rule at the given index. */ + rule?: ConditionalFormatRule; + /** + * The sheet of the rule to move. Required if new_index is set, + * unused otherwise. + */ + sheetId?: number; + } + interface UpdateConditionalFormatRuleResponse { + /** The index of the new rule. */ + newIndex?: number; + /** + * The new rule that replaced the old rule (if replacing), + * or the rule that was moved (if moved) + */ + newRule?: ConditionalFormatRule; + /** + * The old index of the rule. Not set if a rule was replaced + * (because it is the same as new_index). + */ + oldIndex?: number; + /** + * The old (deleted) rule. Not set if a rule was moved + * (because it is the same as new_rule). + */ + oldRule?: ConditionalFormatRule; + } + interface UpdateDeveloperMetadataRequest { + /** The filters matching the developer metadata entries to update. */ + dataFilters?: DataFilter[]; + /** The value that all metadata matched by the data filters will be updated to. */ + developerMetadata?: DeveloperMetadata; + /** + * The fields that should be updated. At least one field must be specified. + * The root `developerMetadata` is implied and should not be specified. + * A single `"*"` can be used as short-hand for listing every field. + */ + fields?: string; + } + interface UpdateDeveloperMetadataResponse { + /** The updated developer metadata. */ + developerMetadata?: DeveloperMetadata[]; + } + interface UpdateDimensionPropertiesRequest { + /** + * The fields that should be updated. At least one field must be specified. + * The root `properties` is implied and should not be specified. + * A single `"*"` can be used as short-hand for listing every field. + */ + fields?: string; + /** Properties to update. */ + properties?: DimensionProperties; + /** The rows or columns to update. */ + range?: DimensionRange; + } + interface UpdateEmbeddedObjectPositionRequest { + /** + * The fields of OverlayPosition + * that should be updated when setting a new position. Used only if + * newPosition.overlayPosition + * is set, in which case at least one field must + * be specified. The root `newPosition.overlayPosition` is implied and + * should not be specified. + * A single `"*"` can be used as short-hand for listing every field. + */ + fields?: string; + /** + * An explicit position to move the embedded object to. + * If newPosition.sheetId is set, + * a new sheet with that ID will be created. + * If newPosition.newSheet is set to true, + * a new sheet will be created with an ID that will be chosen for you. + */ + newPosition?: EmbeddedObjectPosition; + /** The ID of the object to moved. */ + objectId?: number; + } + interface UpdateEmbeddedObjectPositionResponse { + /** The new position of the embedded object. */ + position?: EmbeddedObjectPosition; + } + interface UpdateFilterViewRequest { + /** + * The fields that should be updated. At least one field must be specified. + * The root `filter` is implied and should not be specified. + * A single `"*"` can be used as short-hand for listing every field. + */ + fields?: string; + /** The new properties of the filter view. */ + filter?: FilterView; + } + interface UpdateNamedRangeRequest { + /** + * The fields that should be updated. At least one field must be specified. + * The root `namedRange` is implied and should not be specified. + * A single `"*"` can be used as short-hand for listing every field. + */ + fields?: string; + /** The named range to update with the new properties. */ + namedRange?: NamedRange; + } + interface UpdateProtectedRangeRequest { + /** + * The fields that should be updated. At least one field must be specified. + * The root `protectedRange` is implied and should not be specified. + * A single `"*"` can be used as short-hand for listing every field. + */ + fields?: string; + /** The protected range to update with the new properties. */ + protectedRange?: ProtectedRange; + } + interface UpdateSheetPropertiesRequest { + /** + * The fields that should be updated. At least one field must be specified. + * The root `properties` is implied and should not be specified. + * A single `"*"` can be used as short-hand for listing every field. + */ + fields?: string; + /** The properties to update. */ + properties?: SheetProperties; + } + interface UpdateSpreadsheetPropertiesRequest { + /** + * The fields that should be updated. At least one field must be specified. + * The root 'properties' is implied and should not be specified. + * A single `"*"` can be used as short-hand for listing every field. + */ + fields?: string; + /** The properties to update. */ + properties?: SpreadsheetProperties; + } + interface UpdateValuesByDataFilterResponse { + /** The data filter that selected the range that was updated. */ + dataFilter?: DataFilter; + /** The number of cells updated. */ + updatedCells?: number; + /** The number of columns where at least one cell in the column was updated. */ + updatedColumns?: number; + /** + * The values of the cells in the range matched by the dataFilter after all + * updates were applied. This is only included if the request's + * `includeValuesInResponse` field was `true`. + */ + updatedData?: ValueRange; + /** The range (in A1 notation) that updates were applied to. */ + updatedRange?: string; + /** The number of rows where at least one cell in the row was updated. */ + updatedRows?: number; + } + interface UpdateValuesResponse { + /** The spreadsheet the updates were applied to. */ + spreadsheetId?: string; + /** The number of cells updated. */ + updatedCells?: number; + /** The number of columns where at least one cell in the column was updated. */ + updatedColumns?: number; + /** + * The values of the cells after updates were applied. + * This is only included if the request's `includeValuesInResponse` field + * was `true`. + */ + updatedData?: ValueRange; + /** The range (in A1 notation) that updates were applied to. */ + updatedRange?: string; + /** The number of rows where at least one cell in the row was updated. */ + updatedRows?: number; + } + interface ValueRange { + /** + * The major dimension of the values. + * + * For output, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, + * then requesting `range=A1:B2,majorDimension=ROWS` will return + * `[[1,2],[3,4]]`, + * whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return + * `[[1,3],[2,4]]`. + * + * For input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]` + * will set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS` + * then `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`. + * + * When writing, if this field is not set, it defaults to ROWS. + */ + majorDimension?: string; + /** + * The range the values cover, in A1 notation. + * For output, this range indicates the entire requested range, + * even though the values will exclude trailing rows and columns. + * When appending values, this field represents the range to search for a + * table, after which values will be appended. + */ + range?: string; + /** + * The data that was read or to be written. This is an array of arrays, + * the outer array representing all the data and each inner array + * representing a major dimension. Each item in the inner array + * corresponds with one cell. + * + * For output, empty trailing rows and columns will not be included. + * + * For input, supported value types are: bool, string, and double. + * Null values will be skipped. + * To set a cell to an empty value, set the string value to an empty string. + */ + values?: any[][]; + } + interface DeveloperMetadataResource { + /** + * Returns the developer metadata with the specified ID. + * The caller must specify the spreadsheet ID and the developer metadata's + * unique metadataId. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The ID of the developer metadata to retrieve. */ + metadataId: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The ID of the spreadsheet to retrieve metadata from. */ + spreadsheetId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): client.Request<DeveloperMetadata>; + /** + * Returns all developer metadata matching the specified DataFilter. + * If the provided DataFilter represents a DeveloperMetadataLookup object, + * this will return all DeveloperMetadata entries selected by it. If the + * DataFilter represents a location in a spreadsheet, this will return all + * developer metadata associated with locations intersecting that region. + */ + search(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The ID of the spreadsheet to retrieve metadata from. */ + spreadsheetId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): client.Request<SearchDeveloperMetadataResponse>; + } + interface SheetsResource { + /** + * Copies a single sheet from a spreadsheet to another spreadsheet. + * Returns the properties of the newly created sheet. + */ + copyTo(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The ID of the sheet to copy. */ + sheetId: number; + /** The ID of the spreadsheet containing the sheet to copy. */ + spreadsheetId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): client.Request<SheetProperties>; + } + interface ValuesResource { + /** + * Appends values to a spreadsheet. The input range is used to search for + * existing data and find a "table" within that range. Values will be + * appended to the next row of the table, starting with the first column of + * the table. See the + * [guide](/sheets/api/guides/values#appending_values) + * and + * [sample code](/sheets/api/samples/writing#append_values) + * for specific details of how tables are detected and data is appended. + * + * The caller must specify the spreadsheet ID, range, and + * a valueInputOption. The `valueInputOption` only + * controls how the input data will be added to the sheet (column-wise or + * row-wise), it does not influence what cell the data starts being written + * to. + */ + append(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Determines if the update response should include the values + * of the cells that were appended. By default, responses + * do not include the updated values. + */ + includeValuesInResponse?: boolean; + /** How the input data should be inserted. */ + insertDataOption?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The A1 notation of a range to search for a logical table of data. + * Values will be appended after the last row of the table. + */ + range: string; + /** + * Determines how dates, times, and durations in the response should be + * rendered. This is ignored if response_value_render_option is + * FORMATTED_VALUE. + * The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. + */ + responseDateTimeRenderOption?: string; + /** + * Determines how values in the response should be rendered. + * The default render option is ValueRenderOption.FORMATTED_VALUE. + */ + responseValueRenderOption?: string; + /** The ID of the spreadsheet to update. */ + spreadsheetId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** How the input data should be interpreted. */ + valueInputOption?: string; + }): client.Request<AppendValuesResponse>; + /** + * Clears one or more ranges of values from a spreadsheet. + * The caller must specify the spreadsheet ID and one or more ranges. + * Only values are cleared -- all other properties of the cell (such as + * formatting, data validation, etc..) are kept. + */ + batchClear(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The ID of the spreadsheet to update. */ + spreadsheetId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): client.Request<BatchClearValuesResponse>; + /** + * Clears one or more ranges of values from a spreadsheet. + * The caller must specify the spreadsheet ID and one or more + * DataFilters. Ranges matching any of the specified data + * filters will be cleared. Only values are cleared -- all other properties + * of the cell (such as formatting, data validation, etc..) are kept. + */ + batchClearByDataFilter(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The ID of the spreadsheet to update. */ + spreadsheetId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): client.Request<BatchClearValuesByDataFilterResponse>; + /** + * Returns one or more ranges of values from a spreadsheet. + * The caller must specify the spreadsheet ID and one or more ranges. + */ + batchGet(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * How dates, times, and durations should be represented in the output. + * This is ignored if value_render_option is + * FORMATTED_VALUE. + * The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. + */ + dateTimeRenderOption?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The major dimension that results should use. + * + * For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, + * then requesting `range=A1:B2,majorDimension=ROWS` will return + * `[[1,2],[3,4]]`, + * whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return + * `[[1,3],[2,4]]`. + */ + majorDimension?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The A1 notation of the values to retrieve. */ + ranges?: string; + /** The ID of the spreadsheet to retrieve data from. */ + spreadsheetId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * How values should be represented in the output. + * The default render option is ValueRenderOption.FORMATTED_VALUE. + */ + valueRenderOption?: string; + }): client.Request<BatchGetValuesResponse>; + /** + * Returns one or more ranges of values that match the specified data filters. + * The caller must specify the spreadsheet ID and one or more + * DataFilters. Ranges that match any of the data filters in + * the request will be returned. + */ + batchGetByDataFilter(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The ID of the spreadsheet to retrieve data from. */ + spreadsheetId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): client.Request<BatchGetValuesByDataFilterResponse>; + /** + * Sets values in one or more ranges of a spreadsheet. + * The caller must specify the spreadsheet ID, + * a valueInputOption, and one or more + * ValueRanges. + */ + batchUpdate(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The ID of the spreadsheet to update. */ + spreadsheetId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): client.Request<BatchUpdateValuesResponse>; + /** + * Sets values in one or more ranges of a spreadsheet. + * The caller must specify the spreadsheet ID, + * a valueInputOption, and one or more + * DataFilterValueRanges. + */ + batchUpdateByDataFilter(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The ID of the spreadsheet to update. */ + spreadsheetId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): client.Request<BatchUpdateValuesByDataFilterResponse>; + /** + * Clears values from a spreadsheet. + * The caller must specify the spreadsheet ID and range. + * Only values are cleared -- all other properties of the cell (such as + * formatting, data validation, etc..) are kept. + */ + clear(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The A1 notation of the values to clear. */ + range: string; + /** The ID of the spreadsheet to update. */ + spreadsheetId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): client.Request<ClearValuesResponse>; + /** + * Returns a range of values from a spreadsheet. + * The caller must specify the spreadsheet ID and a range. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * How dates, times, and durations should be represented in the output. + * This is ignored if value_render_option is + * FORMATTED_VALUE. + * The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. + */ + dateTimeRenderOption?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The major dimension that results should use. + * + * For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, + * then requesting `range=A1:B2,majorDimension=ROWS` will return + * `[[1,2],[3,4]]`, + * whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return + * `[[1,3],[2,4]]`. + */ + majorDimension?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The A1 notation of the values to retrieve. */ + range: string; + /** The ID of the spreadsheet to retrieve data from. */ + spreadsheetId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * How values should be represented in the output. + * The default render option is ValueRenderOption.FORMATTED_VALUE. + */ + valueRenderOption?: string; + }): client.Request<ValueRange>; + /** + * Sets values in a range of a spreadsheet. + * The caller must specify the spreadsheet ID, range, and + * a valueInputOption. + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Determines if the update response should include the values + * of the cells that were updated. By default, responses + * do not include the updated values. + * If the range to write was larger than than the range actually written, + * the response will include all values in the requested range (excluding + * trailing empty rows and columns). + */ + includeValuesInResponse?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The A1 notation of the values to update. */ + range: string; + /** + * Determines how dates, times, and durations in the response should be + * rendered. This is ignored if response_value_render_option is + * FORMATTED_VALUE. + * The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. + */ + responseDateTimeRenderOption?: string; + /** + * Determines how values in the response should be rendered. + * The default render option is ValueRenderOption.FORMATTED_VALUE. + */ + responseValueRenderOption?: string; + /** The ID of the spreadsheet to update. */ + spreadsheetId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** How the input data should be interpreted. */ + valueInputOption?: string; + }): client.Request<UpdateValuesResponse>; + } + interface SpreadsheetsResource { + /** + * Applies one or more updates to the spreadsheet. + * + * Each request is validated before + * being applied. If any request is not valid then the entire request will + * fail and nothing will be applied. + * + * Some requests have replies to + * give you some information about how + * they are applied. The replies will mirror the requests. For example, + * if you applied 4 updates and the 3rd one had a reply, then the + * response will have 2 empty replies, the actual reply, and another empty + * reply, in that order. + * + * Due to the collaborative nature of spreadsheets, it is not guaranteed that + * the spreadsheet will reflect exactly your changes after this completes, + * however it is guaranteed that the updates in the request will be + * applied together atomically. Your changes may be altered with respect to + * collaborator changes. If there are no collaborators, the spreadsheet + * should reflect your changes. + */ + batchUpdate(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The spreadsheet to apply the updates to. */ + spreadsheetId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): client.Request<BatchUpdateSpreadsheetResponse>; + /** Creates a spreadsheet, returning the newly created spreadsheet. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): client.Request<Spreadsheet>; + /** + * Returns the spreadsheet at the given ID. + * The caller must specify the spreadsheet ID. + * + * By default, data within grids will not be returned. + * You can include grid data one of two ways: + * + * * Specify a field mask listing your desired fields using the `fields` URL + * parameter in HTTP + * + * * Set the includeGridData + * URL parameter to true. If a field mask is set, the `includeGridData` + * parameter is ignored + * + * For large spreadsheets, it is recommended to retrieve only the specific + * fields of the spreadsheet that you want. + * + * To retrieve only subsets of the spreadsheet, use the + * ranges URL parameter. + * Multiple ranges can be specified. Limiting the range will + * return only the portions of the spreadsheet that intersect the requested + * ranges. Ranges are specified using A1 notation. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * True if grid data should be returned. + * This parameter is ignored if a field mask was set in the request. + */ + includeGridData?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The ranges to retrieve from the spreadsheet. */ + ranges?: string; + /** The spreadsheet to request. */ + spreadsheetId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): client.Request<Spreadsheet>; + /** + * Returns the spreadsheet at the given ID. + * The caller must specify the spreadsheet ID. + * + * This method differs from GetSpreadsheet in that it allows selecting + * which subsets of spreadsheet data to return by specifying a + * dataFilters parameter. + * Multiple DataFilters can be specified. Specifying one or + * more data filters will return the portions of the spreadsheet that + * intersect ranges matched by any of the filters. + * + * By default, data within grids will not be returned. + * You can include grid data one of two ways: + * + * * Specify a field mask listing your desired fields using the `fields` URL + * parameter in HTTP + * + * * Set the includeGridData + * parameter to true. If a field mask is set, the `includeGridData` + * parameter is ignored + * + * For large spreadsheets, it is recommended to retrieve only the specific + * fields of the spreadsheet that you want. + */ + getByDataFilter(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The spreadsheet to request. */ + spreadsheetId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): client.Request<Spreadsheet>; + developerMetadata: DeveloperMetadataResource; + sheets: SheetsResource; + values: ValuesResource; + } + } +} diff --git a/types/gapi.client.sheets/readme.md b/types/gapi.client.sheets/readme.md new file mode 100644 index 0000000000..0534d285b4 --- /dev/null +++ b/types/gapi.client.sheets/readme.md @@ -0,0 +1,145 @@ +# TypeScript typings for Google Sheets API v4 +Reads and writes Google Sheets. +For detailed description please check [documentation](https://developers.google.com/sheets/). + +## Installing + +Install typings for Google Sheets API: +``` +npm install @types/gapi.client.sheets@v4 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('sheets', 'v4', () => { + // now we can use gapi.client.sheets + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage the files in your Google Drive + 'https://www.googleapis.com/auth/drive', + + // View and manage Google Drive files and folders that you have opened or created with this app + 'https://www.googleapis.com/auth/drive.file', + + // View the files in your Google Drive + 'https://www.googleapis.com/auth/drive.readonly', + + // View and manage your spreadsheets in Google Drive + 'https://www.googleapis.com/auth/spreadsheets', + + // View your Google Spreadsheets + 'https://www.googleapis.com/auth/spreadsheets.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Sheets API resources: + +```typescript + +/* +Applies one or more updates to the spreadsheet. + +Each request is validated before +being applied. If any request is not valid then the entire request will +fail and nothing will be applied. + +Some requests have replies to +give you some information about how +they are applied. The replies will mirror the requests. For example, +if you applied 4 updates and the 3rd one had a reply, then the +response will have 2 empty replies, the actual reply, and another empty +reply, in that order. + +Due to the collaborative nature of spreadsheets, it is not guaranteed that +the spreadsheet will reflect exactly your changes after this completes, +however it is guaranteed that the updates in the request will be +applied together atomically. Your changes may be altered with respect to +collaborator changes. If there are no collaborators, the spreadsheet +should reflect your changes. +*/ +await gapi.client.spreadsheets.batchUpdate({ spreadsheetId: "spreadsheetId", }); + +/* +Creates a spreadsheet, returning the newly created spreadsheet. +*/ +await gapi.client.spreadsheets.create({ }); + +/* +Returns the spreadsheet at the given ID. +The caller must specify the spreadsheet ID. + +By default, data within grids will not be returned. +You can include grid data one of two ways: + +* Specify a field mask listing your desired fields using the `fields` URL +parameter in HTTP + +* Set the includeGridData +URL parameter to true. If a field mask is set, the `includeGridData` +parameter is ignored + +For large spreadsheets, it is recommended to retrieve only the specific +fields of the spreadsheet that you want. + +To retrieve only subsets of the spreadsheet, use the +ranges URL parameter. +Multiple ranges can be specified. Limiting the range will +return only the portions of the spreadsheet that intersect the requested +ranges. Ranges are specified using A1 notation. +*/ +await gapi.client.spreadsheets.get({ spreadsheetId: "spreadsheetId", }); + +/* +Returns the spreadsheet at the given ID. +The caller must specify the spreadsheet ID. + +This method differs from GetSpreadsheet in that it allows selecting +which subsets of spreadsheet data to return by specifying a +dataFilters parameter. +Multiple DataFilters can be specified. Specifying one or +more data filters will return the portions of the spreadsheet that +intersect ranges matched by any of the filters. + +By default, data within grids will not be returned. +You can include grid data one of two ways: + +* Specify a field mask listing your desired fields using the `fields` URL +parameter in HTTP + +* Set the includeGridData +parameter to true. If a field mask is set, the `includeGridData` +parameter is ignored + +For large spreadsheets, it is recommended to retrieve only the specific +fields of the spreadsheet that you want. +*/ +await gapi.client.spreadsheets.getByDataFilter({ spreadsheetId: "spreadsheetId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.sheets/tsconfig.json b/types/gapi.client.sheets/tsconfig.json new file mode 100644 index 0000000000..23b7d8ecf0 --- /dev/null +++ b/types/gapi.client.sheets/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.sheets-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.sheets/tslint.json b/types/gapi.client.sheets/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.sheets/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.siteverification/gapi.client.siteverification-tests.ts b/types/gapi.client.siteverification/gapi.client.siteverification-tests.ts new file mode 100644 index 0000000000..e1aa05c06c --- /dev/null +++ b/types/gapi.client.siteverification/gapi.client.siteverification-tests.ts @@ -0,0 +1,60 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('siteverification', 'v1', () => { + /** now we can use gapi.client.siteverification */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage the list of sites and domains you control */ + 'https://www.googleapis.com/auth/siteverification', + /** Manage your new site verifications with Google */ + 'https://www.googleapis.com/auth/siteverification.verify_only', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Relinquish ownership of a website or domain. */ + await gapi.client.webResource.delete({ + id: "id", + }); + /** Get the most current data for a website or domain. */ + await gapi.client.webResource.get({ + id: "id", + }); + /** Get a verification token for placing on a website or domain. */ + await gapi.client.webResource.getToken({ + }); + /** Attempt verification of a website or domain. */ + await gapi.client.webResource.insert({ + verificationMethod: "verificationMethod", + }); + /** Get the list of your verified websites and domains. */ + await gapi.client.webResource.list({ + }); + /** Modify the list of owners for your website or domain. This method supports patch semantics. */ + await gapi.client.webResource.patch({ + id: "id", + }); + /** Modify the list of owners for your website or domain. */ + await gapi.client.webResource.update({ + id: "id", + }); + } +}); diff --git a/types/gapi.client.siteverification/index.d.ts b/types/gapi.client.siteverification/index.d.ts new file mode 100644 index 0000000000..e79b8a112c --- /dev/null +++ b/types/gapi.client.siteverification/index.d.ts @@ -0,0 +1,213 @@ +// Type definitions for Google Google Site Verification API v1 1.0 +// Project: https://developers.google.com/site-verification/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/siteVerification/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Site Verification API v1 */ + function load(name: "siteverification", version: "v1"): PromiseLike<void>; + function load(name: "siteverification", version: "v1", callback: () => any): void; + + const webResource: siteverification.WebResourceResource; + + namespace siteverification { + interface SiteVerificationWebResourceGettokenRequest { + /** The site for which a verification token will be generated. */ + site?: { + /** The site identifier. If the type is set to SITE, the identifier is a URL. If the type is set to INET_DOMAIN, the site identifier is a domain name. */ + identifier?: string; + /** The type of resource to be verified. Can be SITE or INET_DOMAIN (domain name). */ + type?: string; + }; + /** The verification method that will be used to verify this site. For sites, 'FILE' or 'META' methods may be used. For domains, only 'DNS' may be used. */ + verificationMethod?: string; + } + interface SiteVerificationWebResourceGettokenResponse { + /** + * The verification method to use in conjunction with this token. For FILE, the token should be placed in the top-level directory of the site, stored + * inside a file of the same name. For META, the token should be placed in the HEAD tag of the default page that is loaded for the site. For DNS, the + * token should be placed in a TXT record of the domain. + */ + method?: string; + /** The verification token. The token must be placed appropriately in order for verification to succeed. */ + token?: string; + } + interface SiteVerificationWebResourceListResponse { + /** The list of sites that are owned by the authenticated user. */ + items?: SiteVerificationWebResourceResource[]; + } + interface SiteVerificationWebResourceResource { + /** The string used to identify this site. This value should be used in the "id" portion of the REST URL for the Get, Update, and Delete operations. */ + id?: string; + /** The email addresses of all verified owners. */ + owners?: string[]; + /** The address and type of a site that is verified or will be verified. */ + site?: { + /** The site identifier. If the type is set to SITE, the identifier is a URL. If the type is set to INET_DOMAIN, the site identifier is a domain name. */ + identifier?: string; + /** The site type. Can be SITE or INET_DOMAIN (domain name). */ + type?: string; + }; + } + interface WebResourceResource { + /** Relinquish ownership of a website or domain. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id of a verified site or domain. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Get the most current data for a website or domain. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id of a verified site or domain. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SiteVerificationWebResourceResource>; + /** Get a verification token for placing on a website or domain. */ + getToken(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SiteVerificationWebResourceGettokenResponse>; + /** Attempt verification of a website or domain. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The method to use for verifying a site or domain. */ + verificationMethod: string; + }): Request<SiteVerificationWebResourceResource>; + /** Get the list of your verified websites and domains. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SiteVerificationWebResourceListResponse>; + /** Modify the list of owners for your website or domain. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id of a verified site or domain. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SiteVerificationWebResourceResource>; + /** Modify the list of owners for your website or domain. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id of a verified site or domain. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SiteVerificationWebResourceResource>; + } + } +} diff --git a/types/gapi.client.siteverification/readme.md b/types/gapi.client.siteverification/readme.md new file mode 100644 index 0000000000..e700b1f7b2 --- /dev/null +++ b/types/gapi.client.siteverification/readme.md @@ -0,0 +1,92 @@ +# TypeScript typings for Google Site Verification API v1 +Verifies ownership of websites or domains with Google. +For detailed description please check [documentation](https://developers.google.com/site-verification/). + +## Installing + +Install typings for Google Site Verification API: +``` +npm install @types/gapi.client.siteverification@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('siteverification', 'v1', () => { + // now we can use gapi.client.siteverification + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage the list of sites and domains you control + 'https://www.googleapis.com/auth/siteverification', + + // Manage your new site verifications with Google + 'https://www.googleapis.com/auth/siteverification.verify_only', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Site Verification API resources: + +```typescript + +/* +Relinquish ownership of a website or domain. +*/ +await gapi.client.webResource.delete({ id: "id", }); + +/* +Get the most current data for a website or domain. +*/ +await gapi.client.webResource.get({ id: "id", }); + +/* +Get a verification token for placing on a website or domain. +*/ +await gapi.client.webResource.getToken({ }); + +/* +Attempt verification of a website or domain. +*/ +await gapi.client.webResource.insert({ verificationMethod: "verificationMethod", }); + +/* +Get the list of your verified websites and domains. +*/ +await gapi.client.webResource.list({ }); + +/* +Modify the list of owners for your website or domain. This method supports patch semantics. +*/ +await gapi.client.webResource.patch({ id: "id", }); + +/* +Modify the list of owners for your website or domain. +*/ +await gapi.client.webResource.update({ id: "id", }); +``` \ No newline at end of file diff --git a/types/gapi.client.siteverification/tsconfig.json b/types/gapi.client.siteverification/tsconfig.json new file mode 100644 index 0000000000..a32d7d01b6 --- /dev/null +++ b/types/gapi.client.siteverification/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.siteverification-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.siteverification/tslint.json b/types/gapi.client.siteverification/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.siteverification/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.slides/gapi.client.slides-tests.ts b/types/gapi.client.slides/gapi.client.slides-tests.ts new file mode 100644 index 0000000000..1a1616d838 --- /dev/null +++ b/types/gapi.client.slides/gapi.client.slides-tests.ts @@ -0,0 +1,79 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('slides', 'v1', () => { + /** now we can use gapi.client.slides */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage the files in your Google Drive */ + 'https://www.googleapis.com/auth/drive', + /** View the files in your Google Drive */ + 'https://www.googleapis.com/auth/drive.readonly', + /** View and manage your Google Slides presentations */ + 'https://www.googleapis.com/auth/presentations', + /** View your Google Slides presentations */ + 'https://www.googleapis.com/auth/presentations.readonly', + /** View and manage your spreadsheets in Google Drive */ + 'https://www.googleapis.com/auth/spreadsheets', + /** View your Google Spreadsheets */ + 'https://www.googleapis.com/auth/spreadsheets.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Applies one or more updates to the presentation. + * + * Each request is validated before + * being applied. If any request is not valid, then the entire request will + * fail and nothing will be applied. + * + * Some requests have replies to + * give you some information about how they are applied. Other requests do + * not need to return information; these each return an empty reply. + * The order of replies matches that of the requests. + * + * For example, suppose you call batchUpdate with four updates, and only the + * third one returns information. The response would have two empty replies: + * the reply to the third request, and another empty reply, in that order. + * + * Because other users may be editing the presentation, the presentation + * might not exactly reflect your changes: your changes may + * be altered with respect to collaborator changes. If there are no + * collaborators, the presentation should reflect your changes. In any case, + * the updates in your request are guaranteed to be applied together + * atomically. + */ + await gapi.client.presentations.batchUpdate({ + presentationId: "presentationId", + }); + /** + * Creates a new presentation using the title given in the request. Other + * fields in the request are ignored. + * Returns the created presentation. + */ + await gapi.client.presentations.create({ + }); + /** Gets the latest version of the specified presentation. */ + await gapi.client.presentations.get({ + presentationId: "presentationId", + }); + } +}); diff --git a/types/gapi.client.slides/index.d.ts b/types/gapi.client.slides/index.d.ts new file mode 100644 index 0000000000..64e8527171 --- /dev/null +++ b/types/gapi.client.slides/index.d.ts @@ -0,0 +1,2145 @@ +// Type definitions for Google Google Slides API v1 1.0 +// Project: https://developers.google.com/slides/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://slides.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Slides API v1 */ + function load(name: "slides", version: "v1"): PromiseLike<void>; + function load(name: "slides", version: "v1", callback: () => any): void; + + const presentations: slides.PresentationsResource; + + namespace slides { + interface AffineTransform { + /** The X coordinate scaling element. */ + scaleX?: number; + /** The Y coordinate scaling element. */ + scaleY?: number; + /** The X coordinate shearing element. */ + shearX?: number; + /** The Y coordinate shearing element. */ + shearY?: number; + /** The X coordinate translation element. */ + translateX?: number; + /** The Y coordinate translation element. */ + translateY?: number; + /** The units for translate elements. */ + unit?: string; + } + interface AutoText { + /** The rendered content of this auto text, if available. */ + content?: string; + /** The styling applied to this auto text. */ + style?: TextStyle; + /** The type of this auto text. */ + type?: string; + } + interface BatchUpdatePresentationRequest { + /** A list of updates to apply to the presentation. */ + requests?: Request[]; + /** Provides control over how write requests are executed. */ + writeControl?: WriteControl; + } + interface BatchUpdatePresentationResponse { + /** The presentation the updates were applied to. */ + presentationId?: string; + /** + * The reply of the updates. This maps 1:1 with the updates, although + * replies to some requests may be empty. + */ + replies?: Response[]; + } + interface Bullet { + /** The paragraph specific text style applied to this bullet. */ + bulletStyle?: TextStyle; + /** The rendered bullet glyph for this paragraph. */ + glyph?: string; + /** The ID of the list this paragraph belongs to. */ + listId?: string; + /** The nesting level of this paragraph in the list. */ + nestingLevel?: number; + } + interface ColorScheme { + /** The ThemeColorType and corresponding concrete color pairs. */ + colors?: ThemeColorPair[]; + } + interface ColorStop { + /** + * The alpha value of this color in the gradient band. Defaults to 1.0, + * fully opaque. + */ + alpha?: number; + /** The color of the gradient stop. */ + color?: OpaqueColor; + /** + * The relative position of the color stop in the gradient band measured + * in percentage. The value should be in the interval [0.0, 1.0]. + */ + position?: number; + } + interface CreateImageRequest { + /** + * The element properties for the image. + * + * When the aspect ratio of the provided size does not match the image aspect + * ratio, the image is scaled and centered with respect to the size in order + * to maintain aspect ratio. The provided transform is applied after this + * operation. + */ + elementProperties?: PageElementProperties; + /** + * A user-supplied object ID. + * + * If you specify an ID, it must be unique among all pages and page elements + * in the presentation. The ID must start with an alphanumeric character or an + * underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + * may include those as well as a hyphen or colon (matches regex + * `[a-zA-Z0-9_-:]`). + * The length of the ID must not be less than 5 or greater than 50. + * + * If you don't specify an ID, a unique one is generated. + */ + objectId?: string; + /** + * The image URL. + * + * The image is fetched once at insertion time and a copy is stored for + * display inside the presentation. Images must be less than 50MB in size, + * cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF + * format. + * + * The provided URL can be at maximum 2K bytes large. + */ + url?: string; + } + interface CreateImageResponse { + /** The object ID of the created image. */ + objectId?: string; + } + interface CreateLineRequest { + /** The element properties for the line. */ + elementProperties?: PageElementProperties; + /** The category of line to be created. */ + lineCategory?: string; + /** + * A user-supplied object ID. + * + * If you specify an ID, it must be unique among all pages and page elements + * in the presentation. The ID must start with an alphanumeric character or an + * underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + * may include those as well as a hyphen or colon (matches regex + * `[a-zA-Z0-9_-:]`). + * The length of the ID must not be less than 5 or greater than 50. + * + * If you don't specify an ID, a unique one is generated. + */ + objectId?: string; + } + interface CreateLineResponse { + /** The object ID of the created line. */ + objectId?: string; + } + interface CreateParagraphBulletsRequest { + /** + * The kinds of bullet glyphs to be used. Defaults to the + * `BULLET_DISC_CIRCLE_SQUARE` preset. + */ + bulletPreset?: string; + /** + * The optional table cell location if the text to be modified is in a table + * cell. If present, the object_id must refer to a table. + */ + cellLocation?: TableCellLocation; + /** The object ID of the shape or table containing the text to add bullets to. */ + objectId?: string; + /** The range of text to apply the bullet presets to, based on TextElement indexes. */ + textRange?: Range; + } + interface CreateShapeRequest { + /** The element properties for the shape. */ + elementProperties?: PageElementProperties; + /** + * A user-supplied object ID. + * + * If you specify an ID, it must be unique among all pages and page elements + * in the presentation. The ID must start with an alphanumeric character or an + * underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + * may include those as well as a hyphen or colon (matches regex + * `[a-zA-Z0-9_-:]`). + * The length of the ID must not be less than 5 or greater than 50. + * If empty, a unique identifier will be generated. + */ + objectId?: string; + /** The shape type. */ + shapeType?: string; + } + interface CreateShapeResponse { + /** The object ID of the created shape. */ + objectId?: string; + } + interface CreateSheetsChartRequest { + /** The ID of the specific chart in the Google Sheets spreadsheet. */ + chartId?: number; + /** + * The element properties for the chart. + * + * When the aspect ratio of the provided size does not match the chart aspect + * ratio, the chart is scaled and centered with respect to the size in order + * to maintain aspect ratio. The provided transform is applied after this + * operation. + */ + elementProperties?: PageElementProperties; + /** + * The mode with which the chart is linked to the source spreadsheet. When + * not specified, the chart will be an image that is not linked. + */ + linkingMode?: string; + /** + * A user-supplied object ID. + * + * If specified, the ID must be unique among all pages and page elements in + * the presentation. The ID should start with a word character [a-zA-Z0-9_] + * and then followed by any number of the following characters [a-zA-Z0-9_-:]. + * The length of the ID should not be less than 5 or greater than 50. + * If empty, a unique identifier will be generated. + */ + objectId?: string; + /** The ID of the Google Sheets spreadsheet that contains the chart. */ + spreadsheetId?: string; + } + interface CreateSheetsChartResponse { + /** The object ID of the created chart. */ + objectId?: string; + } + interface CreateSlideRequest { + /** + * The optional zero-based index indicating where to insert the slides. + * + * If you don't specify an index, the new slide is created at the end. + */ + insertionIndex?: number; + /** + * A user-supplied object ID. + * + * If you specify an ID, it must be unique among all pages and page elements + * in the presentation. The ID must start with an alphanumeric character or an + * underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + * may include those as well as a hyphen or colon (matches regex + * `[a-zA-Z0-9_-:]`). + * The length of the ID must not be less than 5 or greater than 50. + * + * If you don't specify an ID, a unique one is generated. + */ + objectId?: string; + /** + * An optional list of object ID mappings from the placeholder(s) on the layout to the placeholder(s) + * that will be created on the new slide from that specified layout. Can only + * be used when `slide_layout_reference` is specified. + */ + placeholderIdMappings?: LayoutPlaceholderIdMapping[]; + /** + * Layout reference of the slide to be inserted, based on the *current + * master*, which is one of the following: + * + * - The master of the previous slide index. + * - The master of the first slide, if the insertion_index is zero. + * - The first master in the presentation, if there are no slides. + * + * If the LayoutReference is not found in the current master, a 400 bad + * request error is returned. + * + * If you don't specify a layout reference, then the new slide will use the + * predefined layout `BLANK`. + */ + slideLayoutReference?: LayoutReference; + } + interface CreateSlideResponse { + /** The object ID of the created slide. */ + objectId?: string; + } + interface CreateTableRequest { + /** Number of columns in the table. */ + columns?: number; + /** + * The element properties for the table. + * + * The table will be created at the provided size, subject to a minimum size. + * If no size is provided, the table will be automatically sized. + * + * Table transforms must have a scale of 1 and no shear components. If no + * transform is provided, the table will be centered on the page. + */ + elementProperties?: PageElementProperties; + /** + * A user-supplied object ID. + * + * If you specify an ID, it must be unique among all pages and page elements + * in the presentation. The ID must start with an alphanumeric character or an + * underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + * may include those as well as a hyphen or colon (matches regex + * `[a-zA-Z0-9_-:]`). + * The length of the ID must not be less than 5 or greater than 50. + * + * If you don't specify an ID, a unique one is generated. + */ + objectId?: string; + /** Number of rows in the table. */ + rows?: number; + } + interface CreateTableResponse { + /** The object ID of the created table. */ + objectId?: string; + } + interface CreateVideoRequest { + /** The element properties for the video. */ + elementProperties?: PageElementProperties; + /** + * The video source's unique identifier for this video. + * + * e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0, + * the ID is 7U3axjORYZ0. + */ + id?: string; + /** + * A user-supplied object ID. + * + * If you specify an ID, it must be unique among all pages and page elements + * in the presentation. The ID must start with an alphanumeric character or an + * underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + * may include those as well as a hyphen or colon (matches regex + * `[a-zA-Z0-9_-:]`). + * The length of the ID must not be less than 5 or greater than 50. + * + * If you don't specify an ID, a unique one is generated. + */ + objectId?: string; + /** The video source. */ + source?: string; + } + interface CreateVideoResponse { + /** The object ID of the created video. */ + objectId?: string; + } + interface CropProperties { + /** + * The rotation angle of the crop window around its center, in radians. + * Rotation angle is applied after the offset. + */ + angle?: number; + /** + * The offset specifies the bottom edge of the crop rectangle that is located + * above the original bounding rectangle bottom edge, relative to the object's + * original height. + */ + bottomOffset?: number; + /** + * The offset specifies the left edge of the crop rectangle that is located to + * the right of the original bounding rectangle left edge, relative to the + * object's original width. + */ + leftOffset?: number; + /** + * The offset specifies the right edge of the crop rectangle that is located + * to the left of the original bounding rectangle right edge, relative to the + * object's original width. + */ + rightOffset?: number; + /** + * The offset specifies the top edge of the crop rectangle that is located + * below the original bounding rectangle top edge, relative to the object's + * original height. + */ + topOffset?: number; + } + interface DeleteObjectRequest { + /** + * The object ID of the page or page element to delete. + * + * If after a delete operation a group contains + * only 1 or no page elements, the group is also deleted. + * + * If a placeholder is deleted on a layout, any empty inheriting shapes are + * also deleted. + */ + objectId?: string; + } + interface DeleteParagraphBulletsRequest { + /** + * The optional table cell location if the text to be modified is in a table + * cell. If present, the object_id must refer to a table. + */ + cellLocation?: TableCellLocation; + /** + * The object ID of the shape or table containing the text to delete bullets + * from. + */ + objectId?: string; + /** The range of text to delete bullets from, based on TextElement indexes. */ + textRange?: Range; + } + interface DeleteTableColumnRequest { + /** + * The reference table cell location from which a column will be deleted. + * + * The column this cell spans will be deleted. If this is a merged cell, + * multiple columns will be deleted. If no columns remain in the table after + * this deletion, the whole table is deleted. + */ + cellLocation?: TableCellLocation; + /** The table to delete columns from. */ + tableObjectId?: string; + } + interface DeleteTableRowRequest { + /** + * The reference table cell location from which a row will be deleted. + * + * The row this cell spans will be deleted. If this is a merged cell, multiple + * rows will be deleted. If no rows remain in the table after this deletion, + * the whole table is deleted. + */ + cellLocation?: TableCellLocation; + /** The table to delete rows from. */ + tableObjectId?: string; + } + interface DeleteTextRequest { + /** + * The optional table cell location if the text is to be deleted from a table + * cell. If present, the object_id must refer to a table. + */ + cellLocation?: TableCellLocation; + /** The object ID of the shape or table from which the text will be deleted. */ + objectId?: string; + /** + * The range of text to delete, based on TextElement indexes. + * + * There is always an implicit newline character at the end of a shape's or + * table cell's text that cannot be deleted. `Range.Type.ALL` will use the + * correct bounds, but care must be taken when specifying explicit bounds for + * range types `FROM_START_INDEX` and `FIXED_RANGE`. For example, if the text + * is "ABC", followed by an implicit newline, then the maximum value is 2 for + * `text_range.start_index` and 3 for `text_range.end_index`. + * + * Deleting text that crosses a paragraph boundary may result in changes + * to paragraph styles and lists as the two paragraphs are merged. + * + * Ranges that include only one code unit of a surrogate pair are expanded to + * include both code units. + */ + textRange?: Range; + } + interface Dimension { + /** The magnitude. */ + magnitude?: number; + /** The units for magnitude. */ + unit?: string; + } + interface DuplicateObjectRequest { + /** The ID of the object to duplicate. */ + objectId?: string; + /** + * The object being duplicated may contain other objects, for example when + * duplicating a slide or a group page element. This map defines how the IDs + * of duplicated objects are generated: the keys are the IDs of the original + * objects and its values are the IDs that will be assigned to the + * corresponding duplicate object. The ID of the source object's duplicate + * may be specified in this map as well, using the same value of the + * `object_id` field as a key and the newly desired ID as the value. + * + * All keys must correspond to existing IDs in the presentation. All values + * must be unique in the presentation and must start with an alphanumeric + * character or an underscore (matches regex `[a-zA-Z0-9_]`); remaining + * characters may include those as well as a hyphen or colon (matches regex + * `[a-zA-Z0-9_-:]`). The length of the new ID must not be less than 5 or + * greater than 50. + * + * If any IDs of source objects are omitted from the map, a new random ID will + * be assigned. If the map is empty or unset, all duplicate objects will + * receive a new random ID. + */ + objectIds?: Record<string, string>; + } + interface DuplicateObjectResponse { + /** The ID of the new duplicate object. */ + objectId?: string; + } + interface Group { + /** The collection of elements in the group. The minimum size of a group is 2. */ + children?: PageElement[]; + } + interface Image { + /** + * An URL to an image with a default lifetime of 30 minutes. + * This URL is tagged with the account of the requester. Anyone with the URL + * effectively accesses the image as the original requester. Access to the + * image may be lost if the presentation's sharing settings change. + */ + contentUrl?: string; + /** The properties of the image. */ + imageProperties?: ImageProperties; + } + interface ImageProperties { + /** + * The brightness effect of the image. The value should be in the interval + * [-1.0, 1.0], where 0 means no effect. This property is read-only. + */ + brightness?: number; + /** + * The contrast effect of the image. The value should be in the interval + * [-1.0, 1.0], where 0 means no effect. This property is read-only. + */ + contrast?: number; + /** + * The crop properties of the image. If not set, the image is not cropped. + * This property is read-only. + */ + cropProperties?: CropProperties; + /** The hyperlink destination of the image. If unset, there is no link. */ + link?: Link; + /** The outline of the image. If not set, the the image has no outline. */ + outline?: Outline; + /** + * The recolor effect of the image. If not set, the image is not recolored. + * This property is read-only. + */ + recolor?: Recolor; + /** + * The shadow of the image. If not set, the image has no shadow. This property + * is read-only. + */ + shadow?: Shadow; + /** + * The transparency effect of the image. The value should be in the interval + * [0.0, 1.0], where 0 means no effect and 1 means completely transparent. + * This property is read-only. + */ + transparency?: number; + } + interface InsertTableColumnsRequest { + /** + * The reference table cell location from which columns will be inserted. + * + * A new column will be inserted to the left (or right) of the column where + * the reference cell is. If the reference cell is a merged cell, a new + * column will be inserted to the left (or right) of the merged cell. + */ + cellLocation?: TableCellLocation; + /** + * Whether to insert new columns to the right of the reference cell location. + * + * - `True`: insert to the right. + * - `False`: insert to the left. + */ + insertRight?: boolean; + /** The number of columns to be inserted. Maximum 20 per request. */ + number?: number; + /** The table to insert columns into. */ + tableObjectId?: string; + } + interface InsertTableRowsRequest { + /** + * The reference table cell location from which rows will be inserted. + * + * A new row will be inserted above (or below) the row where the reference + * cell is. If the reference cell is a merged cell, a new row will be + * inserted above (or below) the merged cell. + */ + cellLocation?: TableCellLocation; + /** + * Whether to insert new rows below the reference cell location. + * + * - `True`: insert below the cell. + * - `False`: insert above the cell. + */ + insertBelow?: boolean; + /** The number of rows to be inserted. Maximum 20 per request. */ + number?: number; + /** The table to insert rows into. */ + tableObjectId?: string; + } + interface InsertTextRequest { + /** + * The optional table cell location if the text is to be inserted into a table + * cell. If present, the object_id must refer to a table. + */ + cellLocation?: TableCellLocation; + /** + * The index where the text will be inserted, in Unicode code units, based + * on TextElement indexes. + * + * The index is zero-based and is computed from the start of the string. + * The index may be adjusted to prevent insertions inside Unicode grapheme + * clusters. In these cases, the text will be inserted immediately after the + * grapheme cluster. + */ + insertionIndex?: number; + /** The object ID of the shape or table where the text will be inserted. */ + objectId?: string; + /** + * The text to be inserted. + * + * Inserting a newline character will implicitly create a new + * ParagraphMarker at that index. + * The paragraph style of the new paragraph will be copied from the paragraph + * at the current insertion index, including lists and bullets. + * + * Text styles for inserted text will be determined automatically, generally + * preserving the styling of neighboring text. In most cases, the text will be + * added to the TextRun that exists at the + * insertion index. + * + * Some control characters (U+0000-U+0008, U+000C-U+001F) and characters + * from the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF) + * will be stripped out of the inserted text. + */ + text?: string; + } + interface LayoutPlaceholderIdMapping { + /** + * The placeholder on a layout that will be applied to a slide. Only type and index are needed. For example, a + * predefined `TITLE_AND_BODY` layout may usually have a TITLE placeholder + * with index 0 and a BODY placeholder with index 0. + */ + layoutPlaceholder?: Placeholder; + /** + * The object ID of the placeholder on a layout that will be applied + * to a slide. + */ + layoutPlaceholderObjectId?: string; + /** + * A user-supplied object ID for the placeholder identified above that to be + * created onto a slide. + * + * If you specify an ID, it must be unique among all pages and page elements + * in the presentation. The ID must start with an alphanumeric character or an + * underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + * may include those as well as a hyphen or colon (matches regex + * `[a-zA-Z0-9_-:]`). + * The length of the ID must not be less than 5 or greater than 50. + * + * If you don't specify an ID, a unique one is generated. + */ + objectId?: string; + } + interface LayoutProperties { + /** The human-readable name of the layout. */ + displayName?: string; + /** The object ID of the master that this layout is based on. */ + masterObjectId?: string; + /** The name of the layout. */ + name?: string; + } + interface LayoutReference { + /** Layout ID: the object ID of one of the layouts in the presentation. */ + layoutId?: string; + /** Predefined layout. */ + predefinedLayout?: string; + } + interface Line { + /** The properties of the line. */ + lineProperties?: LineProperties; + /** The type of the line. */ + lineType?: string; + } + interface LineFill { + /** Solid color fill. */ + solidFill?: SolidFill; + } + interface LineProperties { + /** The dash style of the line. */ + dashStyle?: string; + /** The style of the arrow at the end of the line. */ + endArrow?: string; + /** + * The fill of the line. The default line fill matches the defaults for new + * lines created in the Slides editor. + */ + lineFill?: LineFill; + /** The hyperlink destination of the line. If unset, there is no link. */ + link?: Link; + /** The style of the arrow at the beginning of the line. */ + startArrow?: string; + /** The thickness of the line. */ + weight?: Dimension; + } + interface Link { + /** + * If set, indicates this is a link to the specific page in this + * presentation with this ID. A page with this ID may not exist. + */ + pageObjectId?: string; + /** + * If set, indicates this is a link to a slide in this presentation, + * addressed by its position. + */ + relativeLink?: string; + /** + * If set, indicates this is a link to the slide at this zero-based index + * in the presentation. There may not be a slide at this index. + */ + slideIndex?: number; + /** If set, indicates this is a link to the external web page at this URL. */ + url?: string; + } + interface List { + /** The ID of the list. */ + listId?: string; + /** + * A map of nesting levels to the properties of bullets at the associated + * level. A list has at most nine levels of nesting, so the possible values + * for the keys of this map are 0 through 8, inclusive. + */ + nestingLevel?: Record<string, NestingLevel>; + } + interface MasterProperties { + /** The human-readable name of the master. */ + displayName?: string; + } + interface NestingLevel { + /** The style of a bullet at this level of nesting. */ + bulletStyle?: TextStyle; + } + interface NotesProperties { + /** + * The object ID of the shape on this notes page that contains the speaker + * notes for the corresponding slide. + * The actual shape may not always exist on the notes page. Inserting text + * using this object ID will automatically create the shape. In this case, the + * actual shape may have different object ID. The `GetPresentation` or + * `GetPage` action will always return the latest object ID. + */ + speakerNotesObjectId?: string; + } + interface OpaqueColor { + /** An opaque RGB color. */ + rgbColor?: RgbColor; + /** An opaque theme color. */ + themeColor?: string; + } + interface OptionalColor { + /** + * If set, this will be used as an opaque color. If unset, this represents + * a transparent color. + */ + opaqueColor?: OpaqueColor; + } + interface Outline { + /** The dash style of the outline. */ + dashStyle?: string; + /** The fill of the outline. */ + outlineFill?: OutlineFill; + /** + * The outline property state. + * + * Updating the the outline on a page element will implicitly update this + * field to`RENDERED`, unless another value is specified in the same request. + * To have no outline on a page element, set this field to `NOT_RENDERED`. In + * this case, any other outline fields set in the same request will be + * ignored. + */ + propertyState?: string; + /** The thickness of the outline. */ + weight?: Dimension; + } + interface OutlineFill { + /** Solid color fill. */ + solidFill?: SolidFill; + } + interface Page { + /** Layout specific properties. Only set if page_type = LAYOUT. */ + layoutProperties?: LayoutProperties; + /** Master specific properties. Only set if page_type = MASTER. */ + masterProperties?: MasterProperties; + /** Notes specific properties. Only set if page_type = NOTES. */ + notesProperties?: NotesProperties; + /** + * The object ID for this page. Object IDs used by + * Page and + * PageElement share the same namespace. + */ + objectId?: string; + /** The page elements rendered on the page. */ + pageElements?: PageElement[]; + /** The properties of the page. */ + pageProperties?: PageProperties; + /** The type of the page. */ + pageType?: string; + /** + * The revision ID of the presentation containing this page. Can be used in + * update requests to assert that the presentation revision hasn't changed + * since the last read operation. Only populated if the user has edit access + * to the presentation. + * + * The format of the revision ID may change over time, so it should be treated + * opaquely. A returned revision ID is only guaranteed to be valid for 24 + * hours after it has been returned and cannot be shared across users. If the + * revision ID is unchanged between calls, then the presentation has not + * changed. Conversely, a changed ID (for the same presentation and user) + * usually means the presentation has been updated; however, a changed ID can + * also be due to internal factors such as ID format changes. + */ + revisionId?: string; + /** Slide specific properties. Only set if page_type = SLIDE. */ + slideProperties?: SlideProperties; + } + interface PageBackgroundFill { + /** + * The background fill property state. + * + * Updating the fill on a page will implicitly update this field to + * `RENDERED`, unless another value is specified in the same request. To + * have no fill on a page, set this field to `NOT_RENDERED`. In this case, + * any other fill fields set in the same request will be ignored. + */ + propertyState?: string; + /** Solid color fill. */ + solidFill?: SolidFill; + /** Stretched picture fill. */ + stretchedPictureFill?: StretchedPictureFill; + } + interface PageElement { + /** + * The description of the page element. Combined with title to display alt + * text. + */ + description?: string; + /** A collection of page elements joined as a single unit. */ + elementGroup?: Group; + /** An image page element. */ + image?: Image; + /** A line page element. */ + line?: Line; + /** + * The object ID for this page element. Object IDs used by + * google.apps.slides.v1.Page and + * google.apps.slides.v1.PageElement share the same namespace. + */ + objectId?: string; + /** A generic shape. */ + shape?: Shape; + /** + * A linked chart embedded from Google Sheets. Unlinked charts are + * represented as images. + */ + sheetsChart?: SheetsChart; + /** The size of the page element. */ + size?: Size; + /** A table page element. */ + table?: Table; + /** + * The title of the page element. Combined with description to display alt + * text. + */ + title?: string; + /** + * The transform of the page element. + * + * The visual appearance of the page element is determined by its absolute + * transform. To compute the absolute transform, preconcatenate a page + * element's transform with the transforms of all of its parent groups. If the + * page element is not in a group, its absolute transform is the same as the + * value in this field. + * + * The initial transform for the newly created Group is always the identity transform. + */ + transform?: AffineTransform; + /** A video page element. */ + video?: Video; + /** A word art page element. */ + wordArt?: WordArt; + } + interface PageElementProperties { + /** The object ID of the page where the element is located. */ + pageObjectId?: string; + /** The size of the element. */ + size?: Size; + /** The transform for the element. */ + transform?: AffineTransform; + } + interface PageProperties { + /** + * The color scheme of the page. If unset, the color scheme is inherited from + * a parent page. If the page has no parent, the color scheme uses a default + * Slides color scheme. This field is read-only. + */ + colorScheme?: ColorScheme; + /** + * The background fill of the page. If unset, the background fill is inherited + * from a parent page if it exists. If the page has no parent, then the + * background fill defaults to the corresponding fill in the Slides editor. + */ + pageBackgroundFill?: PageBackgroundFill; + } + interface ParagraphMarker { + /** + * The bullet for this paragraph. If not present, the paragraph does not + * belong to a list. + */ + bullet?: Bullet; + /** The paragraph's style */ + style?: ParagraphStyle; + } + interface ParagraphStyle { + /** The text alignment for this paragraph. */ + alignment?: string; + /** + * The text direction of this paragraph. If unset, the value defaults to + * LEFT_TO_RIGHT since + * text direction is not inherited. + */ + direction?: string; + /** + * The amount indentation for the paragraph on the side that corresponds to + * the end of the text, based on the current text direction. If unset, the + * value is inherited from the parent. + */ + indentEnd?: Dimension; + /** + * The amount of indentation for the start of the first line of the paragraph. + * If unset, the value is inherited from the parent. + */ + indentFirstLine?: Dimension; + /** + * The amount indentation for the paragraph on the side that corresponds to + * the start of the text, based on the current text direction. If unset, the + * value is inherited from the parent. + */ + indentStart?: Dimension; + /** + * The amount of space between lines, as a percentage of normal, where normal + * is represented as 100.0. If unset, the value is inherited from the parent. + */ + lineSpacing?: number; + /** + * The amount of extra space above the paragraph. If unset, the value is + * inherited from the parent. + */ + spaceAbove?: Dimension; + /** + * The amount of extra space above the paragraph. If unset, the value is + * inherited from the parent. + */ + spaceBelow?: Dimension; + /** The spacing mode for the paragraph. */ + spacingMode?: string; + } + interface Placeholder { + /** + * The index of the placeholder. If the same placeholder types are present in + * the same page, they would have different index values. + */ + index?: number; + /** + * The object ID of this shape's parent placeholder. + * If unset, the parent placeholder shape does not exist, so the shape does + * not inherit properties from any other shape. + */ + parentObjectId?: string; + /** The type of the placeholder. */ + type?: string; + } + interface Presentation { + /** + * The layouts in the presentation. A layout is a template that determines + * how content is arranged and styled on the slides that inherit from that + * layout. + */ + layouts?: Page[]; + /** The locale of the presentation, as an IETF BCP 47 language tag. */ + locale?: string; + /** + * The slide masters in the presentation. A slide master contains all common + * page elements and the common properties for a set of layouts. They serve + * three purposes: + * + * - Placeholder shapes on a master contain the default text styles and shape + * properties of all placeholder shapes on pages that use that master. + * - The master page properties define the common page properties inherited by + * its layouts. + * - Any other shapes on the master slide will appear on all slides using that + * master, regardless of their layout. + */ + masters?: Page[]; + /** + * The notes master in the presentation. It serves three purposes: + * + * - Placeholder shapes on a notes master contain the default text styles and + * shape properties of all placeholder shapes on notes pages. Specifically, + * a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a + * `BODY` placeholder shape contains the speaker notes. + * - The notes master page properties define the common page properties + * inherited by all notes pages. + * - Any other shapes on the notes master will appear on all notes pages. + * + * The notes master is read-only. + */ + notesMaster?: Page; + /** The size of pages in the presentation. */ + pageSize?: Size; + /** The ID of the presentation. */ + presentationId?: string; + /** + * The revision ID of the presentation. Can be used in update requests + * to assert that the presentation revision hasn't changed since the last + * read operation. Only populated if the user has edit access to the + * presentation. + * + * The format of the revision ID may change over time, so it should be treated + * opaquely. A returned revision ID is only guaranteed to be valid for 24 + * hours after it has been returned and cannot be shared across users. If the + * revision ID is unchanged between calls, then the presentation has not + * changed. Conversely, a changed ID (for the same presentation and user) + * usually means the presentation has been updated; however, a changed ID can + * also be due to internal factors such as ID format changes. + */ + revisionId?: string; + /** + * The slides in the presentation. + * A slide inherits properties from a slide layout. + */ + slides?: Page[]; + /** The title of the presentation. */ + title?: string; + } + interface Range { + /** + * The optional zero-based index of the end of the collection. + * Required for `FIXED_RANGE` ranges. + */ + endIndex?: number; + /** + * The optional zero-based index of the beginning of the collection. + * Required for `FIXED_RANGE` and `FROM_START_INDEX` ranges. + */ + startIndex?: number; + /** The type of range. */ + type?: string; + } + interface Recolor { + /** + * The name of the recolor effect. + * + * The name is determined from the `recolor_stops` by matching the gradient + * against the colors in the page's current color scheme. This property is + * read-only. + */ + name?: string; + /** + * The recolor effect is represented by a gradient, which is a list of color + * stops. + * + * The colors in the gradient will replace the corresponding colors at + * the same position in the color palette and apply to the image. This + * property is read-only. + */ + recolorStops?: ColorStop[]; + } + interface RefreshSheetsChartRequest { + /** The object ID of the chart to refresh. */ + objectId?: string; + } + interface ReplaceAllShapesWithImageRequest { + /** + * If set, this request will replace all of the shapes that contain the + * given text. + */ + containsText?: SubstringMatchCriteria; + /** + * The image URL. + * + * The image is fetched once at insertion time and a copy is stored for + * display inside the presentation. Images must be less than 50MB in size, + * cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF + * format. + * + * The provided URL can be at maximum 2K bytes large. + */ + imageUrl?: string; + /** + * If non-empty, limits the matches to page elements only on the given pages. + * + * Returns a 400 bad request error if given the page object ID of a + * notes page or a + * notes master, or if a + * page with that object ID doesn't exist in the presentation. + */ + pageObjectIds?: string[]; + /** The replace method. */ + replaceMethod?: string; + } + interface ReplaceAllShapesWithImageResponse { + /** The number of shapes replaced with images. */ + occurrencesChanged?: number; + } + interface ReplaceAllShapesWithSheetsChartRequest { + /** The ID of the specific chart in the Google Sheets spreadsheet. */ + chartId?: number; + /** + * The criteria that the shapes must match in order to be replaced. The + * request will replace all of the shapes that contain the given text. + */ + containsText?: SubstringMatchCriteria; + /** + * The mode with which the chart is linked to the source spreadsheet. When + * not specified, the chart will be an image that is not linked. + */ + linkingMode?: string; + /** + * If non-empty, limits the matches to page elements only on the given pages. + * + * Returns a 400 bad request error if given the page object ID of a + * notes page or a + * notes master, or if a + * page with that object ID doesn't exist in the presentation. + */ + pageObjectIds?: string[]; + /** The ID of the Google Sheets spreadsheet that contains the chart. */ + spreadsheetId?: string; + } + interface ReplaceAllShapesWithSheetsChartResponse { + /** The number of shapes replaced with charts. */ + occurrencesChanged?: number; + } + interface ReplaceAllTextRequest { + /** Finds text in a shape matching this substring. */ + containsText?: SubstringMatchCriteria; + /** + * If non-empty, limits the matches to page elements only on the given pages. + * + * Returns a 400 bad request error if given the page object ID of a + * notes master, + * or if a page with that object ID doesn't exist in the presentation. + */ + pageObjectIds?: string[]; + /** The text that will replace the matched text. */ + replaceText?: string; + } + interface ReplaceAllTextResponse { + /** The number of occurrences changed by replacing all text. */ + occurrencesChanged?: number; + } + interface Request { + /** Creates an image. */ + createImage?: CreateImageRequest; + /** Creates a line. */ + createLine?: CreateLineRequest; + /** Creates bullets for paragraphs. */ + createParagraphBullets?: CreateParagraphBulletsRequest; + /** Creates a new shape. */ + createShape?: CreateShapeRequest; + /** Creates an embedded Google Sheets chart. */ + createSheetsChart?: CreateSheetsChartRequest; + /** Creates a new slide. */ + createSlide?: CreateSlideRequest; + /** Creates a new table. */ + createTable?: CreateTableRequest; + /** Creates a video. */ + createVideo?: CreateVideoRequest; + /** Deletes a page or page element from the presentation. */ + deleteObject?: DeleteObjectRequest; + /** Deletes bullets from paragraphs. */ + deleteParagraphBullets?: DeleteParagraphBulletsRequest; + /** Deletes a column from a table. */ + deleteTableColumn?: DeleteTableColumnRequest; + /** Deletes a row from a table. */ + deleteTableRow?: DeleteTableRowRequest; + /** Deletes text from a shape or a table cell. */ + deleteText?: DeleteTextRequest; + /** Duplicates a slide or page element. */ + duplicateObject?: DuplicateObjectRequest; + /** Inserts columns into a table. */ + insertTableColumns?: InsertTableColumnsRequest; + /** Inserts rows into a table. */ + insertTableRows?: InsertTableRowsRequest; + /** Inserts text into a shape or table cell. */ + insertText?: InsertTextRequest; + /** Refreshes a Google Sheets chart. */ + refreshSheetsChart?: RefreshSheetsChartRequest; + /** Replaces all shapes matching some criteria with an image. */ + replaceAllShapesWithImage?: ReplaceAllShapesWithImageRequest; + /** Replaces all shapes matching some criteria with a Google Sheets chart. */ + replaceAllShapesWithSheetsChart?: ReplaceAllShapesWithSheetsChartRequest; + /** Replaces all instances of specified text. */ + replaceAllText?: ReplaceAllTextRequest; + /** Updates the properties of an Image. */ + updateImageProperties?: UpdateImagePropertiesRequest; + /** Updates the properties of a Line. */ + updateLineProperties?: UpdateLinePropertiesRequest; + /** Updates the transform of a page element. */ + updatePageElementTransform?: UpdatePageElementTransformRequest; + /** Updates the properties of a Page. */ + updatePageProperties?: UpdatePagePropertiesRequest; + /** Updates the styling of paragraphs within a Shape or Table. */ + updateParagraphStyle?: UpdateParagraphStyleRequest; + /** Updates the properties of a Shape. */ + updateShapeProperties?: UpdateShapePropertiesRequest; + /** Updates the position of a set of slides in the presentation. */ + updateSlidesPosition?: UpdateSlidesPositionRequest; + /** Updates the properties of a TableCell. */ + updateTableCellProperties?: UpdateTableCellPropertiesRequest; + /** Updates the styling of text within a Shape or Table. */ + updateTextStyle?: UpdateTextStyleRequest; + /** Updates the properties of a Video. */ + updateVideoProperties?: UpdateVideoPropertiesRequest; + } + interface Response { + /** The result of creating an image. */ + createImage?: CreateImageResponse; + /** The result of creating a line. */ + createLine?: CreateLineResponse; + /** The result of creating a shape. */ + createShape?: CreateShapeResponse; + /** The result of creating a Google Sheets chart. */ + createSheetsChart?: CreateSheetsChartResponse; + /** The result of creating a slide. */ + createSlide?: CreateSlideResponse; + /** The result of creating a table. */ + createTable?: CreateTableResponse; + /** The result of creating a video. */ + createVideo?: CreateVideoResponse; + /** The result of duplicating an object. */ + duplicateObject?: DuplicateObjectResponse; + /** + * The result of replacing all shapes matching some criteria with an + * image. + */ + replaceAllShapesWithImage?: ReplaceAllShapesWithImageResponse; + /** + * The result of replacing all shapes matching some criteria with a Google + * Sheets chart. + */ + replaceAllShapesWithSheetsChart?: ReplaceAllShapesWithSheetsChartResponse; + /** The result of replacing text. */ + replaceAllText?: ReplaceAllTextResponse; + } + interface RgbColor { + /** The blue component of the color, from 0.0 to 1.0. */ + blue?: number; + /** The green component of the color, from 0.0 to 1.0. */ + green?: number; + /** The red component of the color, from 0.0 to 1.0. */ + red?: number; + } + interface Shadow { + /** + * The alignment point of the shadow, that sets the origin for translate, + * scale and skew of the shadow. + */ + alignment?: string; + /** The alpha of the shadow's color, from 0.0 to 1.0. */ + alpha?: number; + /** + * The radius of the shadow blur. The larger the radius, the more diffuse the + * shadow becomes. + */ + blurRadius?: Dimension; + /** The shadow color value. */ + color?: OpaqueColor; + /** + * The shadow property state. + * + * Updating the the shadow on a page element will implicitly update this field + * to `RENDERED`, unless another value is specified in the same request. To + * have no shadow on a page element, set this field to `NOT_RENDERED`. In this + * case, any other shadow fields set in the same request will be ignored. + */ + propertyState?: string; + /** Whether the shadow should rotate with the shape. */ + rotateWithShape?: boolean; + /** + * Transform that encodes the translate, scale, and skew of the shadow, + * relative to the alignment position. + */ + transform?: AffineTransform; + /** The type of the shadow. */ + type?: string; + } + interface Shape { + /** + * Placeholders are shapes that are inherit from corresponding placeholders on + * layouts and masters. + * + * If set, the shape is a placeholder shape and any inherited properties + * can be resolved by looking at the parent placeholder identified by the + * Placeholder.parent_object_id field. + */ + placeholder?: Placeholder; + /** The properties of the shape. */ + shapeProperties?: ShapeProperties; + /** The type of the shape. */ + shapeType?: string; + /** The text content of the shape. */ + text?: TextContent; + } + interface ShapeBackgroundFill { + /** + * The background fill property state. + * + * Updating the the fill on a shape will implicitly update this field to + * `RENDERED`, unless another value is specified in the same request. To + * have no fill on a shape, set this field to `NOT_RENDERED`. In this case, + * any other fill fields set in the same request will be ignored. + */ + propertyState?: string; + /** Solid color fill. */ + solidFill?: SolidFill; + } + interface ShapeProperties { + /** + * The hyperlink destination of the shape. If unset, there is no link. Links + * are not inherited from parent placeholders. + */ + link?: Link; + /** + * The outline of the shape. If unset, the outline is inherited from a + * parent placeholder if it exists. If the shape has no parent, then the + * default outline depends on the shape type, matching the defaults for + * new shapes created in the Slides editor. + */ + outline?: Outline; + /** + * The shadow properties of the shape. If unset, the shadow is inherited from + * a parent placeholder if it exists. If the shape has no parent, then the + * default shadow matches the defaults for new shapes created in the Slides + * editor. This property is read-only. + */ + shadow?: Shadow; + /** + * The background fill of the shape. If unset, the background fill is + * inherited from a parent placeholder if it exists. If the shape has no + * parent, then the default background fill depends on the shape type, + * matching the defaults for new shapes created in the Slides editor. + */ + shapeBackgroundFill?: ShapeBackgroundFill; + } + interface SheetsChart { + /** + * The ID of the specific chart in the Google Sheets spreadsheet that is + * embedded. + */ + chartId?: number; + /** + * The URL of an image of the embedded chart, with a default lifetime of 30 + * minutes. This URL is tagged with the account of the requester. Anyone with + * the URL effectively accesses the image as the original requester. Access to + * the image may be lost if the presentation's sharing settings change. + */ + contentUrl?: string; + /** The properties of the Sheets chart. */ + sheetsChartProperties?: SheetsChartProperties; + /** The ID of the Google Sheets spreadsheet that contains the source chart. */ + spreadsheetId?: string; + } + interface SheetsChartProperties { + /** The properties of the embedded chart image. */ + chartImageProperties?: ImageProperties; + } + interface Size { + /** The height of the object. */ + height?: Dimension; + /** The width of the object. */ + width?: Dimension; + } + interface SlideProperties { + /** The object ID of the layout that this slide is based on. */ + layoutObjectId?: string; + /** The object ID of the master that this slide is based on. */ + masterObjectId?: string; + /** + * The notes page that this slide is associated with. It defines the visual + * appearance of a notes page when printing or exporting slides with speaker + * notes. A notes page inherits properties from the + * notes master. + * The placeholder shape with type BODY on the notes page contains the speaker + * notes for this slide. The ID of this shape is identified by the + * speakerNotesObjectId field. + * The notes page is read-only except for the text content and styles of the + * speaker notes shape. + */ + notesPage?: Page; + } + interface SolidFill { + /** + * The fraction of this `color` that should be applied to the pixel. + * That is, the final pixel color is defined by the equation: + * + * pixel color = alpha * (color) + (1.0 - alpha) * (background color) + * + * This means that a value of 1.0 corresponds to a solid color, whereas + * a value of 0.0 corresponds to a completely transparent color. + */ + alpha?: number; + /** The color value of the solid fill. */ + color?: OpaqueColor; + } + interface StretchedPictureFill { + /** + * Reading the content_url: + * + * An URL to a picture with a default lifetime of 30 minutes. + * This URL is tagged with the account of the requester. Anyone with the URL + * effectively accesses the picture as the original requester. Access to the + * picture may be lost if the presentation's sharing settings change. + * + * Writing the content_url: + * + * The picture is fetched once at insertion time and a copy is stored for + * display inside the presentation. Pictures must be less than 50MB in size, + * cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF + * format. + * + * The provided URL can be at maximum 2K bytes large. + */ + contentUrl?: string; + /** The original size of the picture fill. This field is read-only. */ + size?: Size; + } + interface SubstringMatchCriteria { + /** + * Indicates whether the search should respect case: + * + * - `True`: the search is case sensitive. + * - `False`: the search is case insensitive. + */ + matchCase?: boolean; + /** The text to search for in the shape or table. */ + text?: string; + } + interface Table { + /** Number of columns in the table. */ + columns?: number; + /** Number of rows in the table. */ + rows?: number; + /** Properties of each column. */ + tableColumns?: TableColumnProperties[]; + /** + * Properties and contents of each row. + * + * Cells that span multiple rows are contained in only one of these rows and + * have a row_span greater + * than 1. + */ + tableRows?: TableRow[]; + } + interface TableCell { + /** Column span of the cell. */ + columnSpan?: number; + /** The location of the cell within the table. */ + location?: TableCellLocation; + /** Row span of the cell. */ + rowSpan?: number; + /** The properties of the table cell. */ + tableCellProperties?: TableCellProperties; + /** The text content of the cell. */ + text?: TextContent; + } + interface TableCellBackgroundFill { + /** + * The background fill property state. + * + * Updating the the fill on a table cell will implicitly update this field + * to `RENDERED`, unless another value is specified in the same request. To + * have no fill on a table cell, set this field to `NOT_RENDERED`. In this + * case, any other fill fields set in the same request will be ignored. + */ + propertyState?: string; + /** Solid color fill. */ + solidFill?: SolidFill; + } + interface TableCellLocation { + /** The 0-based column index. */ + columnIndex?: number; + /** The 0-based row index. */ + rowIndex?: number; + } + interface TableCellProperties { + /** + * The background fill of the table cell. The default fill matches the fill + * for newly created table cells in the Slides editor. + */ + tableCellBackgroundFill?: TableCellBackgroundFill; + } + interface TableColumnProperties { + /** Width of a column. */ + columnWidth?: Dimension; + } + interface TableRange { + /** The column span of the table range. */ + columnSpan?: number; + /** The starting location of the table range. */ + location?: TableCellLocation; + /** The row span of the table range. */ + rowSpan?: number; + } + interface TableRow { + /** Height of a row. */ + rowHeight?: Dimension; + /** + * Properties and contents of each cell. + * + * Cells that span multiple columns are represented only once with a + * column_span greater + * than 1. As a result, the length of this collection does not always match + * the number of columns of the entire table. + */ + tableCells?: TableCell[]; + } + interface TextContent { + /** The bulleted lists contained in this text, keyed by list ID. */ + lists?: Record<string, List>; + /** + * The text contents broken down into its component parts, including styling + * information. This property is read-only. + */ + textElements?: TextElement[]; + } + interface TextElement { + /** + * A TextElement representing a spot in the text that is dynamically + * replaced with content that can change over time. + */ + autoText?: AutoText; + /** + * The zero-based end index of this text element, exclusive, in Unicode code + * units. + */ + endIndex?: number; + /** + * A marker representing the beginning of a new paragraph. + * + * The `start_index` and `end_index` of this TextElement represent the + * range of the paragraph. Other TextElements with an index range contained + * inside this paragraph's range are considered to be part of this + * paragraph. The range of indices of two separate paragraphs will never + * overlap. + */ + paragraphMarker?: ParagraphMarker; + /** The zero-based start index of this text element, in Unicode code units. */ + startIndex?: number; + /** + * A TextElement representing a run of text where all of the characters + * in the run have the same TextStyle. + * + * The `start_index` and `end_index` of TextRuns will always be fully + * contained in the index range of a single `paragraph_marker` TextElement. + * In other words, a TextRun will never span multiple paragraphs. + */ + textRun?: TextRun; + } + interface TextRun { + /** The text of this run. */ + content?: string; + /** The styling applied to this run. */ + style?: TextStyle; + } + interface TextStyle { + /** + * The background color of the text. If set, the color is either opaque or + * transparent, depending on if the `opaque_color` field in it is set. + */ + backgroundColor?: OptionalColor; + /** + * The text's vertical offset from its normal position. + * + * Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically + * rendered in a smaller font size, computed based on the `font_size` field. + * The `font_size` itself is not affected by changes in this field. + */ + baselineOffset?: string; + /** Whether or not the text is rendered as bold. */ + bold?: boolean; + /** + * The font family of the text. + * + * The font family can be any font from the Font menu in Slides or from + * [Google Fonts] (https://fonts.google.com/). If the font name is + * unrecognized, the text is rendered in `Arial`. + * + * Some fonts can affect the weight of the text. If an update request + * specifies values for both `font_family` and `bold`, the explicitly-set + * `bold` value is used. + */ + fontFamily?: string; + /** + * The size of the text's font. When read, the `font_size` will specified in + * points. + */ + fontSize?: Dimension; + /** + * The color of the text itself. If set, the color is either opaque or + * transparent, depending on if the `opaque_color` field in it is set. + */ + foregroundColor?: OptionalColor; + /** Whether or not the text is italicized. */ + italic?: boolean; + /** + * The hyperlink destination of the text. If unset, there is no link. Links + * are not inherited from parent text. + * + * Changing the link in an update request causes some other changes to the + * text style of the range: + * + * * When setting a link, the text foreground color will be set to + * ThemeColorType.HYPERLINK and the text will + * be underlined. If these fields are modified in the same + * request, those values will be used instead of the link defaults. + * * Setting a link on a text range that overlaps with an existing link will + * also update the existing link to point to the new URL. + * * Links are not settable on newline characters. As a result, setting a link + * on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, + * will separate the newline character(s) into their own text runs. The + * link will be applied separately to the runs before and after the newline. + * * Removing a link will update the text style of the range to match the + * style of the preceding text (or the default text styles if the preceding + * text is another link) unless different styles are being set in the same + * request. + */ + link?: Link; + /** Whether or not the text is in small capital letters. */ + smallCaps?: boolean; + /** Whether or not the text is struck through. */ + strikethrough?: boolean; + /** Whether or not the text is underlined. */ + underline?: boolean; + /** + * The font family and rendered weight of the text. + * + * This field is an extension of `font_family` meant to support explicit font + * weights without breaking backwards compatibility. As such, when reading the + * style of a range of text, the value of `weighted_font_family#font_family` + * will always be equal to that of `font_family`. However, when writing, if + * both fields are included in the field mask (either explicitly or through + * the wildcard `"*"`), their values are reconciled as follows: + * + * * If `font_family` is set and `weighted_font_family` is not, the value of + * `font_family` is applied with weight `400` ("normal"). + * * If both fields are set, the value of `font_family` must match that of + * `weighted_font_family#font_family`. If so, the font family and weight of + * `weighted_font_family` is applied. Otherwise, a 400 bad request error is + * returned. + * * If `weighted_font_family` is set and `font_family` is not, the font + * family and weight of `weighted_font_family` is applied. + * * If neither field is set, the font family and weight of the text inherit + * from the parent. Note that these properties cannot inherit separately + * from each other. + * + * If an update request specifies values for both `weighted_font_family` and + * `bold`, the `weighted_font_family` is applied first, then `bold`. + * + * If `weighted_font_family#weight` is not set, it defaults to `400`. + * + * If `weighted_font_family` is set, then `weighted_font_family#font_family` + * must also be set with a non-empty value. Otherwise, a 400 bad request error + * is returned. + */ + weightedFontFamily?: WeightedFontFamily; + } + interface ThemeColorPair { + /** The concrete color corresponding to the theme color type above. */ + color?: RgbColor; + /** The type of the theme color. */ + type?: string; + } + interface Thumbnail { + /** + * The content URL of the thumbnail image. + * + * The URL to the image has a default lifetime of 30 minutes. + * This URL is tagged with the account of the requester. Anyone with the URL + * effectively accesses the image as the original requester. Access to the + * image may be lost if the presentation's sharing settings change. + * The mime type of the thumbnail image is the same as specified in the + * `GetPageThumbnailRequest`. + */ + contentUrl?: string; + /** The positive height in pixels of the thumbnail image. */ + height?: number; + /** The positive width in pixels of the thumbnail image. */ + width?: number; + } + interface UpdateImagePropertiesRequest { + /** + * The fields that should be updated. + * + * At least one field must be specified. The root `imageProperties` is + * implied and should not be specified. A single `"*"` can be used as + * short-hand for listing every field. + * + * For example to update the image outline color, set `fields` to + * `"outline.outlineFill.solidFill.color"`. + * + * To reset a property to its default value, include its field name in the + * field mask but leave the field itself unset. + */ + fields?: string; + /** The image properties to update. */ + imageProperties?: ImageProperties; + /** The object ID of the image the updates are applied to. */ + objectId?: string; + } + interface UpdateLinePropertiesRequest { + /** + * The fields that should be updated. + * + * At least one field must be specified. The root `lineProperties` is + * implied and should not be specified. A single `"*"` can be used as + * short-hand for listing every field. + * + * For example to update the line solid fill color, set `fields` to + * `"lineFill.solidFill.color"`. + * + * To reset a property to its default value, include its field name in the + * field mask but leave the field itself unset. + */ + fields?: string; + /** The line properties to update. */ + lineProperties?: LineProperties; + /** The object ID of the line the update is applied to. */ + objectId?: string; + } + interface UpdatePageElementTransformRequest { + /** The apply mode of the transform update. */ + applyMode?: string; + /** The object ID of the page element to update. */ + objectId?: string; + /** The input transform matrix used to update the page element. */ + transform?: AffineTransform; + } + interface UpdatePagePropertiesRequest { + /** + * The fields that should be updated. + * + * At least one field must be specified. The root `pageProperties` is + * implied and should not be specified. A single `"*"` can be used as + * short-hand for listing every field. + * + * For example to update the page background solid fill color, set `fields` + * to `"pageBackgroundFill.solidFill.color"`. + * + * To reset a property to its default value, include its field name in the + * field mask but leave the field itself unset. + */ + fields?: string; + /** The object ID of the page the update is applied to. */ + objectId?: string; + /** The page properties to update. */ + pageProperties?: PageProperties; + } + interface UpdateParagraphStyleRequest { + /** + * The location of the cell in the table containing the paragraph(s) to + * style. If `object_id` refers to a table, `cell_location` must have a value. + * Otherwise, it must not. + */ + cellLocation?: TableCellLocation; + /** + * The fields that should be updated. + * + * At least one field must be specified. The root `style` is implied and + * should not be specified. A single `"*"` can be used as short-hand for + * listing every field. + * + * For example, to update the paragraph alignment, set `fields` to + * `"alignment"`. + * + * To reset a property to its default value, include its field name in the + * field mask but leave the field itself unset. + */ + fields?: string; + /** The object ID of the shape or table with the text to be styled. */ + objectId?: string; + /** The paragraph's style. */ + style?: ParagraphStyle; + /** The range of text containing the paragraph(s) to style. */ + textRange?: Range; + } + interface UpdateShapePropertiesRequest { + /** + * The fields that should be updated. + * + * At least one field must be specified. The root `shapeProperties` is + * implied and should not be specified. A single `"*"` can be used as + * short-hand for listing every field. + * + * For example to update the shape background solid fill color, set `fields` + * to `"shapeBackgroundFill.solidFill.color"`. + * + * To reset a property to its default value, include its field name in the + * field mask but leave the field itself unset. + */ + fields?: string; + /** The object ID of the shape the updates are applied to. */ + objectId?: string; + /** The shape properties to update. */ + shapeProperties?: ShapeProperties; + } + interface UpdateSlidesPositionRequest { + /** + * The index where the slides should be inserted, based on the slide + * arrangement before the move takes place. Must be between zero and the + * number of slides in the presentation, inclusive. + */ + insertionIndex?: number; + /** + * The IDs of the slides in the presentation that should be moved. + * The slides in this list must be in existing presentation order, without + * duplicates. + */ + slideObjectIds?: string[]; + } + interface UpdateTableCellPropertiesRequest { + /** + * The fields that should be updated. + * + * At least one field must be specified. The root `tableCellProperties` is + * implied and should not be specified. A single `"*"` can be used as + * short-hand for listing every field. + * + * For example to update the table cell background solid fill color, set + * `fields` to `"tableCellBackgroundFill.solidFill.color"`. + * + * To reset a property to its default value, include its field name in the + * field mask but leave the field itself unset. + */ + fields?: string; + /** The object ID of the table. */ + objectId?: string; + /** The table cell properties to update. */ + tableCellProperties?: TableCellProperties; + /** + * The table range representing the subset of the table to which the updates + * are applied. If a table range is not specified, the updates will apply to + * the entire table. + */ + tableRange?: TableRange; + } + interface UpdateTextStyleRequest { + /** + * The location of the cell in the table containing the text to style. If + * `object_id` refers to a table, `cell_location` must have a value. + * Otherwise, it must not. + */ + cellLocation?: TableCellLocation; + /** + * The fields that should be updated. + * + * At least one field must be specified. The root `style` is implied and + * should not be specified. A single `"*"` can be used as short-hand for + * listing every field. + * + * For example, to update the text style to bold, set `fields` to `"bold"`. + * + * To reset a property to its default value, include its field name in the + * field mask but leave the field itself unset. + */ + fields?: string; + /** The object ID of the shape or table with the text to be styled. */ + objectId?: string; + /** + * The style(s) to set on the text. + * + * If the value for a particular style matches that of the parent, that style + * will be set to inherit. + * + * Certain text style changes may cause other changes meant to mirror the + * behavior of the Slides editor. See the documentation of + * TextStyle for more information. + */ + style?: TextStyle; + /** + * The range of text to style. + * + * The range may be extended to include adjacent newlines. + * + * If the range fully contains a paragraph belonging to a list, the + * paragraph's bullet is also updated with the matching text style. + */ + textRange?: Range; + } + interface UpdateVideoPropertiesRequest { + /** + * The fields that should be updated. + * + * At least one field must be specified. The root `videoProperties` is + * implied and should not be specified. A single `"*"` can be used as + * short-hand for listing every field. + * + * For example to update the video outline color, set `fields` to + * `"outline.outlineFill.solidFill.color"`. + * + * To reset a property to its default value, include its field name in the + * field mask but leave the field itself unset. + */ + fields?: string; + /** The object ID of the video the updates are applied to. */ + objectId?: string; + /** The video properties to update. */ + videoProperties?: VideoProperties; + } + interface Video { + /** The video source's unique identifier for this video. */ + id?: string; + /** The video source. */ + source?: string; + /** + * An URL to a video. The URL is valid as long as the source video + * exists and sharing settings do not change. + */ + url?: string; + /** The properties of the video. */ + videoProperties?: VideoProperties; + } + interface VideoProperties { + /** + * The outline of the video. The default outline matches the defaults for new + * videos created in the Slides editor. + */ + outline?: Outline; + } + interface WeightedFontFamily { + /** + * The font family of the text. + * + * The font family can be any font from the Font menu in Slides or from + * [Google Fonts] (https://fonts.google.com/). If the font name is + * unrecognized, the text is rendered in `Arial`. + */ + fontFamily?: string; + /** + * The rendered weight of the text. This field can have any value that is a + * multiple of `100` between `100` and `900`, inclusive. This range + * corresponds to the numerical values described in the CSS 2.1 + * Specification, [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), + * with non-numerical values disallowed. Weights greater than or equal to + * `700` are considered bold, and weights less than `700`are not bold. The + * default value is `400` ("normal"). + */ + weight?: number; + } + interface WordArt { + /** The text rendered as word art. */ + renderedText?: string; + } + interface WriteControl { + /** + * The revision ID of the presentation required for the write request. If + * specified and the `required_revision_id` doesn't exactly match the + * presentation's current `revision_id`, the request will not be processed and + * will return a 400 bad request error. + */ + requiredRevisionId?: string; + } + interface PagesResource { + /** Gets the latest version of the specified page in the presentation. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The object ID of the page to retrieve. */ + pageObjectId: string; + /** Pretty-print response. */ + pp?: boolean; + /** The ID of the presentation to retrieve. */ + presentationId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): client.Request<Page>; + /** + * Generates a thumbnail of the latest version of the specified page in the + * presentation and returns a URL to the thumbnail image. + */ + getThumbnail(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The object ID of the page whose thumbnail to retrieve. */ + pageObjectId: string; + /** Pretty-print response. */ + pp?: boolean; + /** The ID of the presentation to retrieve. */ + presentationId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * The optional mime type of the thumbnail image. + * + * If you don't specify the mime type, the default mime type will be PNG. + */ + "thumbnailProperties.mimeType"?: string; + /** + * The optional thumbnail image size. + * + * If you don't specify the size, the server chooses a default size of the + * image. + */ + "thumbnailProperties.thumbnailSize"?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): client.Request<Thumbnail>; + } + interface PresentationsResource { + /** + * Applies one or more updates to the presentation. + * + * Each request is validated before + * being applied. If any request is not valid, then the entire request will + * fail and nothing will be applied. + * + * Some requests have replies to + * give you some information about how they are applied. Other requests do + * not need to return information; these each return an empty reply. + * The order of replies matches that of the requests. + * + * For example, suppose you call batchUpdate with four updates, and only the + * third one returns information. The response would have two empty replies: + * the reply to the third request, and another empty reply, in that order. + * + * Because other users may be editing the presentation, the presentation + * might not exactly reflect your changes: your changes may + * be altered with respect to collaborator changes. If there are no + * collaborators, the presentation should reflect your changes. In any case, + * the updates in your request are guaranteed to be applied together + * atomically. + */ + batchUpdate(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** The presentation to apply the updates to. */ + presentationId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): client.Request<BatchUpdatePresentationResponse>; + /** + * Creates a new presentation using the title given in the request. Other + * fields in the request are ignored. + * Returns the created presentation. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): client.Request<Presentation>; + /** Gets the latest version of the specified presentation. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** The ID of the presentation to retrieve. */ + presentationId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): client.Request<Presentation>; + pages: PagesResource; + } + } +} diff --git a/types/gapi.client.slides/readme.md b/types/gapi.client.slides/readme.md new file mode 100644 index 0000000000..2dbeacc52b --- /dev/null +++ b/types/gapi.client.slides/readme.md @@ -0,0 +1,106 @@ +# TypeScript typings for Google Slides API v1 +An API for creating and editing Google Slides presentations. +For detailed description please check [documentation](https://developers.google.com/slides/). + +## Installing + +Install typings for Google Slides API: +``` +npm install @types/gapi.client.slides@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('slides', 'v1', () => { + // now we can use gapi.client.slides + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage the files in your Google Drive + 'https://www.googleapis.com/auth/drive', + + // View the files in your Google Drive + 'https://www.googleapis.com/auth/drive.readonly', + + // View and manage your Google Slides presentations + 'https://www.googleapis.com/auth/presentations', + + // View your Google Slides presentations + 'https://www.googleapis.com/auth/presentations.readonly', + + // View and manage your spreadsheets in Google Drive + 'https://www.googleapis.com/auth/spreadsheets', + + // View your Google Spreadsheets + 'https://www.googleapis.com/auth/spreadsheets.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Slides API resources: + +```typescript + +/* +Applies one or more updates to the presentation. + +Each request is validated before +being applied. If any request is not valid, then the entire request will +fail and nothing will be applied. + +Some requests have replies to +give you some information about how they are applied. Other requests do +not need to return information; these each return an empty reply. +The order of replies matches that of the requests. + +For example, suppose you call batchUpdate with four updates, and only the +third one returns information. The response would have two empty replies: +the reply to the third request, and another empty reply, in that order. + +Because other users may be editing the presentation, the presentation +might not exactly reflect your changes: your changes may +be altered with respect to collaborator changes. If there are no +collaborators, the presentation should reflect your changes. In any case, +the updates in your request are guaranteed to be applied together +atomically. +*/ +await gapi.client.presentations.batchUpdate({ presentationId: "presentationId", }); + +/* +Creates a new presentation using the title given in the request. Other +fields in the request are ignored. +Returns the created presentation. +*/ +await gapi.client.presentations.create({ }); + +/* +Gets the latest version of the specified presentation. +*/ +await gapi.client.presentations.get({ presentationId: "presentationId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.slides/tsconfig.json b/types/gapi.client.slides/tsconfig.json new file mode 100644 index 0000000000..94b7cd8068 --- /dev/null +++ b/types/gapi.client.slides/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.slides-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.slides/tslint.json b/types/gapi.client.slides/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.slides/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.sourcerepo/gapi.client.sourcerepo-tests.ts b/types/gapi.client.sourcerepo/gapi.client.sourcerepo-tests.ts new file mode 100644 index 0000000000..9462a0be35 --- /dev/null +++ b/types/gapi.client.sourcerepo/gapi.client.sourcerepo-tests.ts @@ -0,0 +1,38 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('sourcerepo', 'v1', () => { + /** now we can use gapi.client.sourcerepo */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** Manage your source code repositories */ + 'https://www.googleapis.com/auth/source.full_control', + /** View the contents of your source code repositories */ + 'https://www.googleapis.com/auth/source.read_only', + /** Manage the contents of your source code repositories */ + 'https://www.googleapis.com/auth/source.read_write', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + } +}); diff --git a/types/gapi.client.sourcerepo/index.d.ts b/types/gapi.client.sourcerepo/index.d.ts new file mode 100644 index 0000000000..f8f1f36434 --- /dev/null +++ b/types/gapi.client.sourcerepo/index.d.ts @@ -0,0 +1,489 @@ +// Type definitions for Google Cloud Source Repositories API v1 1.0 +// Project: https://cloud.google.com/source-repositories/docs/apis +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://sourcerepo.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Cloud Source Repositories API v1 */ + function load(name: "sourcerepo", version: "v1"): PromiseLike<void>; + function load(name: "sourcerepo", version: "v1", callback: () => any): void; + + const projects: sourcerepo.ProjectsResource; + + namespace sourcerepo { + interface AuditConfig { + /** + * The configuration for logging of each type of permission. + * Next ID: 4 + */ + auditLogConfigs?: AuditLogConfig[]; + exemptedMembers?: string[]; + /** + * Specifies a service that will be enabled for audit logging. + * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. + * `allServices` is a special value that covers all services. + */ + service?: string; + } + interface AuditLogConfig { + /** + * Specifies the identities that do not cause logging for this type of + * permission. + * Follows the same format of Binding.members. + */ + exemptedMembers?: string[]; + /** The log type that this config enables. */ + logType?: string; + } + interface Binding { + /** + * The condition that is associated with this binding. + * NOTE: an unsatisfied condition will not allow user access via current + * binding. Different bindings, including their conditions, are examined + * independently. + * This field is GOOGLE_INTERNAL. + */ + condition?: Expr; + /** + * Specifies the identities requesting access for a Cloud Platform resource. + * `members` can have the following values: + * + * * `allUsers`: A special identifier that represents anyone who is + * on the internet; with or without a Google account. + * + * * `allAuthenticatedUsers`: A special identifier that represents anyone + * who is authenticated with a Google account or a service account. + * + * * `user:{emailid}`: An email address that represents a specific Google + * account. For example, `alice@gmail.com` or `joe@example.com`. + * + * + * * `serviceAccount:{emailid}`: An email address that represents a service + * account. For example, `my-other-app@appspot.gserviceaccount.com`. + * + * * `group:{emailid}`: An email address that represents a Google group. + * For example, `admins@example.com`. + * + * + * * `domain:{domain}`: A Google Apps domain name that represents all the + * users of that domain. For example, `google.com` or `example.com`. + */ + members?: string[]; + /** + * Role that is assigned to `members`. + * For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + * Required + */ + role?: string; + } + interface Expr { + /** + * An optional description of the expression. This is a longer text which + * describes the expression, e.g. when hovered over it in a UI. + */ + description?: string; + /** + * Textual representation of an expression in + * Common Expression Language syntax. + * + * The application context of the containing message determines which + * well-known feature set of CEL is supported. + */ + expression?: string; + /** + * An optional string indicating the location of the expression for error + * reporting, e.g. a file name and a position in the file. + */ + location?: string; + /** + * An optional title for the expression, i.e. a short string describing + * its purpose. This can be used e.g. in UIs which allow to enter the + * expression. + */ + title?: string; + } + interface ListReposResponse { + /** + * If non-empty, additional repositories exist within the project. These + * can be retrieved by including this value in the next ListReposRequest's + * page_token field. + */ + nextPageToken?: string; + /** The listed repos. */ + repos?: Repo[]; + } + interface MirrorConfig { + /** + * ID of the SSH deploy key at the other hosting service. + * Removing this key from the other service would deauthorize + * Google Cloud Source Repositories from mirroring. + */ + deployKeyId?: string; + /** URL of the main repository at the other hosting service. */ + url?: string; + /** + * ID of the webhook listening to updates to trigger mirroring. + * Removing this webook from the other hosting service will stop + * Google Cloud Source Repositories from receiving notifications, + * and thereby disabling mirroring. + */ + webhookId?: string; + } + interface Policy { + /** Specifies cloud audit logging configuration for this policy. */ + auditConfigs?: AuditConfig[]; + /** + * Associates a list of `members` to a `role`. + * `bindings` with no members will result in an error. + */ + bindings?: Binding[]; + /** + * `etag` is used for optimistic concurrency control as a way to help + * prevent simultaneous updates of a policy from overwriting each other. + * It is strongly suggested that systems make use of the `etag` in the + * read-modify-write cycle to perform policy updates in order to avoid race + * conditions: An `etag` is returned in the response to `getIamPolicy`, and + * systems are expected to put that etag in the request to `setIamPolicy` to + * ensure that their change will be applied to the same version of the policy. + * + * If no `etag` is provided in the call to `setIamPolicy`, then the existing + * policy is overwritten blindly. + */ + etag?: string; + iamOwned?: boolean; + /** Version of the `Policy`. The default version is 0. */ + version?: number; + } + interface Repo { + /** How this repository mirrors a repository managed by another service. */ + mirrorConfig?: MirrorConfig; + /** + * Resource name of the repository, of the form + * `projects/<project>/repos/<repo>`. The repo name may contain slashes. + * eg, `projects/myproject/repos/name/with/slash` + */ + name?: string; + /** + * The disk usage of the repo, in bytes. + * Only returned by GetRepo. + */ + size?: string; + /** URL to clone the repository from Google Cloud Source Repositories. */ + url?: string; + } + interface SetIamPolicyRequest { + /** + * REQUIRED: The complete policy to be applied to the `resource`. The size of + * the policy is limited to a few 10s of KB. An empty policy is a + * valid policy but certain Cloud Platform services (such as Projects) + * might reject them. + */ + policy?: Policy; + /** + * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only + * the fields in the mask will be modified. If no mask is provided, the + * following default mask is used: + * paths: "bindings, etag" + * This field is only used by Cloud IAM. + */ + updateMask?: string; + } + interface TestIamPermissionsRequest { + /** + * The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more + * information see + * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + */ + permissions?: string[]; + } + interface TestIamPermissionsResponse { + /** + * A subset of `TestPermissionsRequest.permissions` that the caller is + * allowed. + */ + permissions?: string[]; + } + interface ReposResource { + /** + * Creates a repo in the given project with the given name. + * + * If the named repository already exists, `CreateRepo` returns + * `ALREADY_EXISTS`. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The project in which to create the repo. Values are of the form + * `projects/<project>`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Repo>; + /** Deletes a repo. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The name of the repo to delete. Values are of the form + * `projects/<project>/repos/<repo>`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Returns information about a repo. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The name of the requested repository. Values are of the form + * `projects/<project>/repos/<repo>`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Repo>; + /** + * Gets the access control policy for a resource. + * Returns an empty policy if the resource exists and does not have a policy + * set. + */ + getIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Returns all repos belonging to a project. The sizes of the repos are + * not set by ListRepos. To get the size of a repo, use GetRepo. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The project ID whose repos should be listed. Values are of the form + * `projects/<project>`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Maximum number of repositories to return; between 1 and 500. + * If not set or zero, defaults to 100 at the server. + */ + pageSize?: number; + /** + * Resume listing repositories where a prior ListReposResponse + * left off. This is an opaque token that must be obtained from + * a recent, prior ListReposResponse's next_page_token field. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListReposResponse>; + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. + */ + setIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy is being specified. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Returns permissions that a caller has on the specified resource. + * If the resource does not exist, this will return an empty set of + * permissions, not a NOT_FOUND error. + */ + testIamPermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The resource for which the policy detail is being requested. + * See the operation documentation for the appropriate value for this field. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TestIamPermissionsResponse>; + } + interface ProjectsResource { + repos: ReposResource; + } + } +} diff --git a/types/gapi.client.sourcerepo/readme.md b/types/gapi.client.sourcerepo/readme.md new file mode 100644 index 0000000000..d5931e3212 --- /dev/null +++ b/types/gapi.client.sourcerepo/readme.md @@ -0,0 +1,63 @@ +# TypeScript typings for Cloud Source Repositories API v1 +Access source code repositories hosted by Google. +For detailed description please check [documentation](https://cloud.google.com/source-repositories/docs/apis). + +## Installing + +Install typings for Cloud Source Repositories API: +``` +npm install @types/gapi.client.sourcerepo@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('sourcerepo', 'v1', () => { + // now we can use gapi.client.sourcerepo + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // Manage your source code repositories + 'https://www.googleapis.com/auth/source.full_control', + + // View the contents of your source code repositories + 'https://www.googleapis.com/auth/source.read_only', + + // Manage the contents of your source code repositories + 'https://www.googleapis.com/auth/source.read_write', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Cloud Source Repositories API resources: + +```typescript +``` \ No newline at end of file diff --git a/types/gapi.client.sourcerepo/tsconfig.json b/types/gapi.client.sourcerepo/tsconfig.json new file mode 100644 index 0000000000..1b6a4b8191 --- /dev/null +++ b/types/gapi.client.sourcerepo/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.sourcerepo-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.sourcerepo/tslint.json b/types/gapi.client.sourcerepo/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.sourcerepo/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.spanner/gapi.client.spanner-tests.ts b/types/gapi.client.spanner/gapi.client.spanner-tests.ts new file mode 100644 index 0000000000..3274aa4ed7 --- /dev/null +++ b/types/gapi.client.spanner/gapi.client.spanner-tests.ts @@ -0,0 +1,36 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('spanner', 'v1', () => { + /** now we can use gapi.client.spanner */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** Administer your Spanner databases */ + 'https://www.googleapis.com/auth/spanner.admin', + /** View and manage the contents of your Spanner databases */ + 'https://www.googleapis.com/auth/spanner.data', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + } +}); diff --git a/types/gapi.client.spanner/index.d.ts b/types/gapi.client.spanner/index.d.ts new file mode 100644 index 0000000000..bc8fef6963 --- /dev/null +++ b/types/gapi.client.spanner/index.d.ts @@ -0,0 +1,2705 @@ +// Type definitions for Google Cloud Spanner API v1 1.0 +// Project: https://cloud.google.com/spanner/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://spanner.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Cloud Spanner API v1 */ + function load(name: "spanner", version: "v1"): PromiseLike<void>; + function load(name: "spanner", version: "v1", callback: () => any): void; + + const projects: spanner.ProjectsResource; + + namespace spanner { + interface BeginTransactionRequest { + /** Required. Options for the new transaction. */ + options?: TransactionOptions; + } + interface Binding { + /** + * Specifies the identities requesting access for a Cloud Platform resource. + * `members` can have the following values: + * + * * `allUsers`: A special identifier that represents anyone who is + * on the internet; with or without a Google account. + * + * * `allAuthenticatedUsers`: A special identifier that represents anyone + * who is authenticated with a Google account or a service account. + * + * * `user:{emailid}`: An email address that represents a specific Google + * account. For example, `alice@gmail.com` or `joe@example.com`. + * + * + * * `serviceAccount:{emailid}`: An email address that represents a service + * account. For example, `my-other-app@appspot.gserviceaccount.com`. + * + * * `group:{emailid}`: An email address that represents a Google group. + * For example, `admins@example.com`. + * + * + * * `domain:{domain}`: A Google Apps domain name that represents all the + * users of that domain. For example, `google.com` or `example.com`. + */ + members?: string[]; + /** + * Role that is assigned to `members`. + * For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + * Required + */ + role?: string; + } + interface ChildLink { + /** The node to which the link points. */ + childIndex?: number; + /** + * The type of the link. For example, in Hash Joins this could be used to + * distinguish between the build child and the probe child, or in the case + * of the child being an output variable, to represent the tag associated + * with the output variable. + */ + type?: string; + /** + * Only present if the child node is SCALAR and corresponds + * to an output variable of the parent node. The field carries the name of + * the output variable. + * For example, a `TableScan` operator that reads rows from a table will + * have child links to the `SCALAR` nodes representing the output variables + * created for each column that is read by the operator. The corresponding + * `variable` fields will be set to the variable names assigned to the + * columns. + */ + variable?: string; + } + interface CommitRequest { + /** + * The mutations to be executed when this transaction commits. All + * mutations are applied atomically, in the order they appear in + * this list. + */ + mutations?: Mutation[]; + /** + * Execute mutations in a temporary transaction. Note that unlike + * commit of a previously-started transaction, commit with a + * temporary transaction is non-idempotent. That is, if the + * `CommitRequest` is sent to Cloud Spanner more than once (for + * instance, due to retries in the application, or in the + * transport library), it is possible that the mutations are + * executed more than once. If this is undesirable, use + * BeginTransaction and + * Commit instead. + */ + singleUseTransaction?: TransactionOptions; + /** Commit a previously-started transaction. */ + transactionId?: string; + } + interface CommitResponse { + /** The Cloud Spanner timestamp at which the transaction committed. */ + commitTimestamp?: string; + } + interface CreateDatabaseMetadata { + /** The database being created. */ + database?: string; + } + interface CreateDatabaseRequest { + /** + * Required. A `CREATE DATABASE` statement, which specifies the ID of the + * new database. The database ID must conform to the regular expression + * `a-z*[a-z0-9]` and be between 2 and 30 characters in length. + * If the database ID is a reserved word or if it contains a hyphen, the + * database ID must be enclosed in backticks (`` ` ``). + */ + createStatement?: string; + /** + * An optional list of DDL statements to run inside the newly created + * database. Statements can create tables, indexes, etc. These + * statements execute atomically with the creation of the database: + * if there is an error in any statement, the database is not created. + */ + extraStatements?: string[]; + } + interface CreateInstanceMetadata { + /** + * The time at which this operation was cancelled. If set, this operation is + * in the process of undoing itself (which is guaranteed to succeed) and + * cannot be cancelled again. + */ + cancelTime?: string; + /** The time at which this operation failed or was completed successfully. */ + endTime?: string; + /** The instance being created. */ + instance?: Instance; + /** + * The time at which the + * CreateInstance request was + * received. + */ + startTime?: string; + } + interface CreateInstanceRequest { + /** + * Required. The instance to create. The name may be omitted, but if + * specified must be `<parent>/instances/<instance_id>`. + */ + instance?: Instance; + /** + * Required. The ID of the instance to create. Valid identifiers are of the + * form `a-z*[a-z0-9]` and must be between 6 and 30 characters in + * length. + */ + instanceId?: string; + } + interface CreateSessionRequest { + /** The session to create. */ + session?: Session; + } + interface Database { + /** + * Required. The name of the database. Values are of the form + * `projects/<project>/instances/<instance>/databases/<database>`, + * where `<database>` is as specified in the `CREATE DATABASE` + * statement. This name can be passed to other API methods to + * identify the database. + */ + name?: string; + /** Output only. The current database state. */ + state?: string; + } + interface Delete { + /** Required. The primary keys of the rows within table to delete. */ + keySet?: KeySet; + /** Required. The table whose rows will be deleted. */ + table?: string; + } + interface ExecuteSqlRequest { + /** + * It is not always possible for Cloud Spanner to infer the right SQL type + * from a JSON value. For example, values of type `BYTES` and values + * of type `STRING` both appear in params as JSON strings. + * + * In these cases, `param_types` can be used to specify the exact + * SQL type for some or all of the SQL query parameters. See the + * definition of Type for more information + * about SQL types. + */ + paramTypes?: Record<string, Type>; + /** + * The SQL query string can contain parameter placeholders. A parameter + * placeholder consists of `'@'` followed by the parameter + * name. Parameter names consist of any combination of letters, + * numbers, and underscores. + * + * Parameters can appear anywhere that a literal value is expected. The same + * parameter name can be used more than once, for example: + * `"WHERE id > @msg_id AND id < @msg_id + 100"` + * + * It is an error to execute an SQL query with unbound parameters. + * + * Parameter values are specified using `params`, which is a JSON + * object whose keys are parameter names, and whose values are the + * corresponding parameter values. + */ + params?: Record<string, any>; + /** + * Used to control the amount of debugging information returned in + * ResultSetStats. + */ + queryMode?: string; + /** + * If this request is resuming a previously interrupted SQL query + * execution, `resume_token` should be copied from the last + * PartialResultSet yielded before the interruption. Doing this + * enables the new SQL query execution to resume where the last one left + * off. The rest of the request parameters must exactly match the + * request that yielded this token. + */ + resumeToken?: string; + /** Required. The SQL query string. */ + sql?: string; + /** + * The transaction to use. If none is provided, the default is a + * temporary read-only transaction with strong concurrency. + */ + transaction?: TransactionSelector; + } + interface Field { + /** + * The name of the field. For reads, this is the column name. For + * SQL queries, it is the column alias (e.g., `"Word"` in the + * query `"SELECT 'hello' AS Word"`), or the column name (e.g., + * `"ColName"` in the query `"SELECT ColName FROM Table"`). Some + * columns might have an empty name (e.g., !"SELECT + * UPPER(ColName)"`). Note that a query result can contain + * multiple fields with the same name. + */ + name?: string; + /** The type of the field. */ + type?: Type; + } + interface GetDatabaseDdlResponse { + /** + * A list of formatted DDL statements defining the schema of the database + * specified in the request. + */ + statements?: string[]; + } + interface Instance { + /** + * Required. The name of the instance's configuration. Values are of the form + * `projects/<project>/instanceConfigs/<configuration>`. See + * also InstanceConfig and + * ListInstanceConfigs. + */ + config?: string; + /** + * Required. The descriptive name for this instance as it appears in UIs. + * Must be unique per project and between 4 and 30 characters in length. + */ + displayName?: string; + /** + * Cloud Labels are a flexible and lightweight mechanism for organizing cloud + * resources into groups that reflect a customer's organizational needs and + * deployment strategies. Cloud Labels can be used to filter collections of + * resources. They can be used to control how resource metrics are aggregated. + * And they can be used as arguments to policy management rules (e.g. route, + * firewall, load balancing, etc.). + * + * * Label keys must be between 1 and 63 characters long and must conform to + * the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. + * * Label values must be between 0 and 63 characters long and must conform + * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. + * * No more than 64 labels can be associated with a given resource. + * + * See https://goo.gl/xmQnxf for more information on and examples of labels. + * + * If you plan to use labels in your own code, please note that additional + * characters may be allowed in the future. And so you are advised to use an + * internal label representation, such as JSON, which doesn't rely upon + * specific characters being disallowed. For example, representing labels + * as the string: name + "_" + value would prove problematic if we were to + * allow "_" in a future release. + */ + labels?: Record<string, string>; + /** + * Required. A unique identifier for the instance, which cannot be changed + * after the instance is created. Values are of the form + * `projects/<project>/instances/a-z*[a-z0-9]`. The final + * segment of the name must be between 6 and 30 characters in length. + */ + name?: string; + /** + * Required. The number of nodes allocated to this instance. This may be zero + * in API responses for instances that are not yet in state `READY`. + * + * Each Spanner node can provide up to 10,000 QPS of reads or 2000 QPS of + * writes (writing single rows at 1KB data per row), and 2 TiB storage. + * + * For optimal performance, we recommend provisioning enough nodes to keep + * overall CPU utilization under 75%. + * + * A minimum of 3 nodes is recommended for production environments. This + * minimum is required for SLAs to apply to your instance. + * + * Note that Cloud Spanner performance is highly dependent on workload, schema + * design, and dataset characteristics. The performance numbers above are + * estimates, and assume [best practices](https://cloud.google.com/spanner/docs/bulk-loading) + * are followed. + */ + nodeCount?: number; + /** + * Output only. The current instance state. For + * CreateInstance, the state must be + * either omitted or set to `CREATING`. For + * UpdateInstance, the state must be + * either omitted or set to `READY`. + */ + state?: string; + } + interface InstanceConfig { + /** The name of this instance configuration as it appears in UIs. */ + displayName?: string; + /** + * A unique identifier for the instance configuration. Values + * are of the form + * `projects/<project>/instanceConfigs/a-z*` + */ + name?: string; + } + interface KeyRange { + /** + * If the end is closed, then the range includes all rows whose + * first `len(end_closed)` key columns exactly match `end_closed`. + */ + endClosed?: any[]; + /** + * If the end is open, then the range excludes rows whose first + * `len(end_open)` key columns exactly match `end_open`. + */ + endOpen?: any[]; + /** + * If the start is closed, then the range includes all rows whose + * first `len(start_closed)` key columns exactly match `start_closed`. + */ + startClosed?: any[]; + /** + * If the start is open, then the range excludes rows whose first + * `len(start_open)` key columns exactly match `start_open`. + */ + startOpen?: any[]; + } + interface KeySet { + /** + * For convenience `all` can be set to `true` to indicate that this + * `KeySet` matches all keys in the table or index. Note that any keys + * specified in `keys` or `ranges` are only yielded once. + */ + all?: boolean; + /** + * A list of specific keys. Entries in `keys` should have exactly as + * many elements as there are columns in the primary or index key + * with which this `KeySet` is used. Individual key values are + * encoded as described here. + */ + keys?: any[][]; + /** + * A list of key ranges. See KeyRange for more information about + * key range specifications. + */ + ranges?: KeyRange[]; + } + interface ListDatabasesResponse { + /** Databases that matched the request. */ + databases?: Database[]; + /** + * `next_page_token` can be sent in a subsequent + * ListDatabases call to fetch more + * of the matching databases. + */ + nextPageToken?: string; + } + interface ListInstanceConfigsResponse { + /** The list of requested instance configurations. */ + instanceConfigs?: InstanceConfig[]; + /** + * `next_page_token` can be sent in a subsequent + * ListInstanceConfigs call to + * fetch more of the matching instance configurations. + */ + nextPageToken?: string; + } + interface ListInstancesResponse { + /** The list of requested instances. */ + instances?: Instance[]; + /** + * `next_page_token` can be sent in a subsequent + * ListInstances call to fetch more + * of the matching instances. + */ + nextPageToken?: string; + } + interface ListOperationsResponse { + /** The standard List next-page token. */ + nextPageToken?: string; + /** A list of operations that matches the specified filter in the request. */ + operations?: Operation[]; + } + interface ListSessionsResponse { + /** + * `next_page_token` can be sent in a subsequent + * ListSessions call to fetch more of the matching + * sessions. + */ + nextPageToken?: string; + /** The list of requested sessions. */ + sessions?: Session[]; + } + interface Mutation { + /** + * Delete rows from a table. Succeeds whether or not the named + * rows were present. + */ + delete?: Delete; + /** + * Insert new rows in a table. If any of the rows already exist, + * the write or transaction fails with error `ALREADY_EXISTS`. + */ + insert?: Write; + /** + * Like insert, except that if the row already exists, then + * its column values are overwritten with the ones provided. Any + * column values not explicitly written are preserved. + */ + insertOrUpdate?: Write; + /** + * Like insert, except that if the row already exists, it is + * deleted, and the column values provided are inserted + * instead. Unlike insert_or_update, this means any values not + * explicitly written become `NULL`. + */ + replace?: Write; + /** + * Update existing rows in a table. If any of the rows does not + * already exist, the transaction fails with error `NOT_FOUND`. + */ + update?: Write; + } + interface Operation { + /** + * If the value is `false`, it means the operation is still in progress. + * If `true`, the operation is completed, and either `error` or `response` is + * available. + */ + done?: boolean; + /** The error result of the operation in case of failure or cancellation. */ + error?: Status; + /** + * Service-specific metadata associated with the operation. It typically + * contains progress information and common metadata such as create time. + * Some services might not provide such metadata. Any method that returns a + * long-running operation should document the metadata type, if any. + */ + metadata?: Record<string, any>; + /** + * The server-assigned name, which is only unique within the same service that + * originally returns it. If you use the default HTTP mapping, the + * `name` should have the format of `operations/some/unique/name`. + */ + name?: string; + /** + * The normal response of the operation in case of success. If the original + * method returns no data on success, such as `Delete`, the response is + * `google.protobuf.Empty`. If the original method is standard + * `Get`/`Create`/`Update`, the response should be the resource. For other + * methods, the response should have the type `XxxResponse`, where `Xxx` + * is the original method name. For example, if the original method name + * is `TakeSnapshot()`, the inferred response type is + * `TakeSnapshotResponse`. + */ + response?: Record<string, any>; + } + interface PartialResultSet { + /** + * If true, then the final value in values is chunked, and must + * be combined with more values from subsequent `PartialResultSet`s + * to obtain a complete field value. + */ + chunkedValue?: boolean; + /** + * Metadata about the result set, such as row type information. + * Only present in the first response. + */ + metadata?: ResultSetMetadata; + /** + * Streaming calls might be interrupted for a variety of reasons, such + * as TCP connection loss. If this occurs, the stream of results can + * be resumed by re-sending the original request and including + * `resume_token`. Note that executing any other transaction in the + * same session invalidates the token. + */ + resumeToken?: string; + /** + * Query plan and execution statistics for the query that produced this + * streaming result set. These can be requested by setting + * ExecuteSqlRequest.query_mode and are sent + * only once with the last response in the stream. + */ + stats?: ResultSetStats; + /** + * A streamed result set consists of a stream of values, which might + * be split into many `PartialResultSet` messages to accommodate + * large rows and/or large values. Every N complete values defines a + * row, where N is equal to the number of entries in + * metadata.row_type.fields. + * + * Most values are encoded based on type as described + * here. + * + * It is possible that the last value in values is "chunked", + * meaning that the rest of the value is sent in subsequent + * `PartialResultSet`(s). This is denoted by the chunked_value + * field. Two or more chunked values can be merged to form a + * complete value as follows: + * + * * `bool/number/null`: cannot be chunked + * * `string`: concatenate the strings + * * `list`: concatenate the lists. If the last element in a list is a + * `string`, `list`, or `object`, merge it with the first element in + * the next list by applying these rules recursively. + * * `object`: concatenate the (field name, field value) pairs. If a + * field name is duplicated, then apply these rules recursively + * to merge the field values. + * + * Some examples of merging: + * + * # Strings are concatenated. + * "foo", "bar" => "foobar" + * + * # Lists of non-strings are concatenated. + * [2, 3], [4] => [2, 3, 4] + * + * # Lists are concatenated, but the last and first elements are merged + * # because they are strings. + * ["a", "b"], ["c", "d"] => ["a", "bc", "d"] + * + * # Lists are concatenated, but the last and first elements are merged + * # because they are lists. Recursively, the last and first elements + * # of the inner lists are merged because they are strings. + * ["a", ["b", "c"]], [["d"], "e"] => ["a", ["b", "cd"], "e"] + * + * # Non-overlapping object fields are combined. + * {"a": "1"}, {"b": "2"} => {"a": "1", "b": 2"} + * + * # Overlapping object fields are merged. + * {"a": "1"}, {"a": "2"} => {"a": "12"} + * + * # Examples of merging objects containing lists of strings. + * {"a": ["1"]}, {"a": ["2"]} => {"a": ["12"]} + * + * For a more complete example, suppose a streaming SQL query is + * yielding a result set whose rows contain a single string + * field. The following `PartialResultSet`s might be yielded: + * + * { + * "metadata": { ... } + * "values": ["Hello", "W"] + * "chunked_value": true + * "resume_token": "Af65..." + * } + * { + * "values": ["orl"] + * "chunked_value": true + * "resume_token": "Bqp2..." + * } + * { + * "values": ["d"] + * "resume_token": "Zx1B..." + * } + * + * This sequence of `PartialResultSet`s encodes two rows, one + * containing the field value `"Hello"`, and a second containing the + * field value `"World" = "W" + "orl" + "d"`. + */ + values?: any[]; + } + interface PlanNode { + /** List of child node `index`es and their relationship to this parent. */ + childLinks?: ChildLink[]; + /** The display name for the node. */ + displayName?: string; + /** + * The execution statistics associated with the node, contained in a group of + * key-value pairs. Only present if the plan was returned as a result of a + * profile query. For example, number of executions, number of rows/time per + * execution etc. + */ + executionStats?: Record<string, any>; + /** The `PlanNode`'s index in node list. */ + index?: number; + /** + * Used to determine the type of node. May be needed for visualizing + * different kinds of nodes differently. For example, If the node is a + * SCALAR node, it will have a condensed representation + * which can be used to directly embed a description of the node in its + * parent. + */ + kind?: string; + /** + * Attributes relevant to the node contained in a group of key-value pairs. + * For example, a Parameter Reference node could have the following + * information in its metadata: + * + * { + * "parameter_reference": "param1", + * "parameter_type": "array" + * } + */ + metadata?: Record<string, any>; + /** Condensed representation for SCALAR nodes. */ + shortRepresentation?: ShortRepresentation; + } + interface Policy { + /** + * Associates a list of `members` to a `role`. + * `bindings` with no members will result in an error. + */ + bindings?: Binding[]; + /** + * `etag` is used for optimistic concurrency control as a way to help + * prevent simultaneous updates of a policy from overwriting each other. + * It is strongly suggested that systems make use of the `etag` in the + * read-modify-write cycle to perform policy updates in order to avoid race + * conditions: An `etag` is returned in the response to `getIamPolicy`, and + * systems are expected to put that etag in the request to `setIamPolicy` to + * ensure that their change will be applied to the same version of the policy. + * + * If no `etag` is provided in the call to `setIamPolicy`, then the existing + * policy is overwritten blindly. + */ + etag?: string; + /** Version of the `Policy`. The default version is 0. */ + version?: number; + } + interface QueryPlan { + /** + * The nodes in the query plan. Plan nodes are returned in pre-order starting + * with the plan root. Each PlanNode's `id` corresponds to its index in + * `plan_nodes`. + */ + planNodes?: PlanNode[]; + } + interface ReadOnly { + /** + * Executes all reads at a timestamp that is `exact_staleness` + * old. The timestamp is chosen soon after the read is started. + * + * Guarantees that all writes that have committed more than the + * specified number of seconds ago are visible. Because Cloud Spanner + * chooses the exact timestamp, this mode works even if the client's + * local clock is substantially skewed from Cloud Spanner commit + * timestamps. + * + * Useful for reading at nearby replicas without the distributed + * timestamp negotiation overhead of `max_staleness`. + */ + exactStaleness?: string; + /** + * Read data at a timestamp >= `NOW - max_staleness` + * seconds. Guarantees that all writes that have committed more + * than the specified number of seconds ago are visible. Because + * Cloud Spanner chooses the exact timestamp, this mode works even if + * the client's local clock is substantially skewed from Cloud Spanner + * commit timestamps. + * + * Useful for reading the freshest data available at a nearby + * replica, while bounding the possible staleness if the local + * replica has fallen behind. + * + * Note that this option can only be used in single-use + * transactions. + */ + maxStaleness?: string; + /** + * Executes all reads at a timestamp >= `min_read_timestamp`. + * + * This is useful for requesting fresher data than some previous + * read, or data that is fresh enough to observe the effects of some + * previously committed transaction whose timestamp is known. + * + * Note that this option can only be used in single-use transactions. + */ + minReadTimestamp?: string; + /** + * Executes all reads at the given timestamp. Unlike other modes, + * reads at a specific timestamp are repeatable; the same read at + * the same timestamp always returns the same data. If the + * timestamp is in the future, the read will block until the + * specified timestamp, modulo the read's deadline. + * + * Useful for large scale consistent reads such as mapreduces, or + * for coordinating many reads against a consistent snapshot of the + * data. + */ + readTimestamp?: string; + /** + * If true, the Cloud Spanner-selected read timestamp is included in + * the Transaction message that describes the transaction. + */ + returnReadTimestamp?: boolean; + /** + * Read at a timestamp where all previously committed transactions + * are visible. + */ + strong?: boolean; + } + interface ReadRequest { + /** + * The columns of table to be returned for each row matching + * this request. + */ + columns?: string[]; + /** + * If non-empty, the name of an index on table. This index is + * used instead of the table primary key when interpreting key_set + * and sorting result rows. See key_set for further information. + */ + index?: string; + /** + * Required. `key_set` identifies the rows to be yielded. `key_set` names the + * primary keys of the rows in table to be yielded, unless index + * is present. If index is present, then key_set instead names + * index keys in index. + * + * Rows are yielded in table primary key order (if index is empty) + * or index key order (if index is non-empty). + * + * It is not an error for the `key_set` to name rows that do not + * exist in the database. Read yields nothing for nonexistent rows. + */ + keySet?: KeySet; + /** + * If greater than zero, only the first `limit` rows are yielded. If `limit` + * is zero, the default is no limit. + * A limit cannot be specified if partition_token is set. + */ + limit?: string; + /** + * If this request is resuming a previously interrupted read, + * `resume_token` should be copied from the last + * PartialResultSet yielded before the interruption. Doing this + * enables the new read to resume where the last read left off. The + * rest of the request parameters must exactly match the request + * that yielded this token. + */ + resumeToken?: string; + /** Required. The name of the table in the database to be read. */ + table?: string; + /** + * The transaction to use. If none is provided, the default is a + * temporary read-only transaction with strong concurrency. + */ + transaction?: TransactionSelector; + } + interface ResultSet { + /** Metadata about the result set, such as row type information. */ + metadata?: ResultSetMetadata; + /** + * Each element in `rows` is a row whose format is defined by + * metadata.row_type. The ith element + * in each row matches the ith field in + * metadata.row_type. Elements are + * encoded based on type as described + * here. + */ + rows?: any[][]; + /** + * Query plan and execution statistics for the query that produced this + * result set. These can be requested by setting + * ExecuteSqlRequest.query_mode. + */ + stats?: ResultSetStats; + } + interface ResultSetMetadata { + /** + * Indicates the field names and types for the rows in the result + * set. For example, a SQL query like `"SELECT UserId, UserName FROM + * Users"` could return a `row_type` value like: + * + * "fields": [ + * { "name": "UserId", "type": { "code": "INT64" } }, + * { "name": "UserName", "type": { "code": "STRING" } }, + * ] + */ + rowType?: StructType; + /** + * If the read or SQL query began a transaction as a side-effect, the + * information about the new transaction is yielded here. + */ + transaction?: Transaction; + } + interface ResultSetStats { + /** QueryPlan for the query associated with this result. */ + queryPlan?: QueryPlan; + /** + * Aggregated statistics from the execution of the query. Only present when + * the query is profiled. For example, a query could return the statistics as + * follows: + * + * { + * "rows_returned": "3", + * "elapsed_time": "1.22 secs", + * "cpu_time": "1.19 secs" + * } + */ + queryStats?: Record<string, any>; + } + interface RollbackRequest { + /** Required. The transaction to roll back. */ + transactionId?: string; + } + interface Session { + /** + * Output only. The approximate timestamp when the session is last used. It is + * typically earlier than the actual last use time. + */ + approximateLastUseTime?: string; + /** Output only. The timestamp when the session is created. */ + createTime?: string; + /** + * The labels for the session. + * + * * Label keys must be between 1 and 63 characters long and must conform to + * the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. + * * Label values must be between 0 and 63 characters long and must conform + * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. + * * No more than 20 labels can be associated with a given session. + */ + labels?: Record<string, string>; + /** The name of the session. */ + name?: string; + } + interface SetIamPolicyRequest { + /** + * REQUIRED: The complete policy to be applied to the `resource`. The size of + * the policy is limited to a few 10s of KB. An empty policy is a + * valid policy but certain Cloud Platform services (such as Projects) + * might reject them. + */ + policy?: Policy; + } + interface ShortRepresentation { + /** A string representation of the expression subtree rooted at this node. */ + description?: string; + /** + * A mapping of (subquery variable name) -> (subquery node id) for cases + * where the `description` string of this node references a `SCALAR` + * subquery contained in the expression subtree rooted at this node. The + * referenced `SCALAR` subquery may not necessarily be a direct child of + * this node. + */ + subqueries?: Record<string, number>; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface StructType { + /** + * The list of fields that make up this struct. Order is + * significant, because values of this struct type are represented as + * lists, where the order of field values matches the order of + * fields in the StructType. In turn, the order of fields + * matches the order of columns in a read request, or the order of + * fields in the `SELECT` clause of a query. + */ + fields?: Field[]; + } + interface TestIamPermissionsRequest { + /** + * REQUIRED: The set of permissions to check for 'resource'. + * Permissions with wildcards (such as '*', 'spanner.*', 'spanner.instances.*') are not allowed. + */ + permissions?: string[]; + } + interface TestIamPermissionsResponse { + /** + * A subset of `TestPermissionsRequest.permissions` that the caller is + * allowed. + */ + permissions?: string[]; + } + interface Transaction { + /** + * `id` may be used to identify the transaction in subsequent + * Read, + * ExecuteSql, + * Commit, or + * Rollback calls. + * + * Single-use read-only transactions do not have IDs, because + * single-use transactions do not support multiple requests. + */ + id?: string; + /** + * For snapshot read-only transactions, the read timestamp chosen + * for the transaction. Not returned by default: see + * TransactionOptions.ReadOnly.return_read_timestamp. + */ + readTimestamp?: string; + } + interface TransactionOptions { + /** + * Transaction will not write. + * + * Authorization to begin a read-only transaction requires + * `spanner.databases.beginReadOnlyTransaction` permission + * on the `session` resource. + */ + readOnly?: ReadOnly; + /** + * Transaction may write. + * + * Authorization to begin a read-write transaction requires + * `spanner.databases.beginOrRollbackReadWriteTransaction` permission + * on the `session` resource. + */ + readWrite?: any; + } + interface TransactionSelector { + /** + * Begin a new transaction and execute this read or SQL query in + * it. The transaction ID of the new transaction is returned in + * ResultSetMetadata.transaction, which is a Transaction. + */ + begin?: TransactionOptions; + /** Execute the read or SQL query in a previously-started transaction. */ + id?: string; + /** + * Execute the read or SQL query in a temporary transaction. + * This is the most efficient way to execute a transaction that + * consists of a single SQL query. + */ + singleUse?: TransactionOptions; + } + interface Type { + /** + * If code == ARRAY, then `array_element_type` + * is the type of the array elements. + */ + arrayElementType?: Type; + /** Required. The TypeCode for this type. */ + code?: string; + /** + * If code == STRUCT, then `struct_type` + * provides type information for the struct's fields. + */ + structType?: StructType; + } + interface UpdateDatabaseDdlMetadata { + /** + * Reports the commit timestamps of all statements that have + * succeeded so far, where `commit_timestamps[i]` is the commit + * timestamp for the statement `statements[i]`. + */ + commitTimestamps?: string[]; + /** The database being modified. */ + database?: string; + /** + * For an update this list contains all the statements. For an + * individual statement, this list contains only that statement. + */ + statements?: string[]; + } + interface UpdateDatabaseDdlRequest { + /** + * If empty, the new update request is assigned an + * automatically-generated operation ID. Otherwise, `operation_id` + * is used to construct the name of the resulting + * Operation. + * + * Specifying an explicit operation ID simplifies determining + * whether the statements were executed in the event that the + * UpdateDatabaseDdl call is replayed, + * or the return value is otherwise lost: the database and + * `operation_id` fields can be combined to form the + * name of the resulting + * longrunning.Operation: `<database>/operations/<operation_id>`. + * + * `operation_id` should be unique within the database, and must be + * a valid identifier: `a-z*`. Note that + * automatically-generated operation IDs always begin with an + * underscore. If the named operation already exists, + * UpdateDatabaseDdl returns + * `ALREADY_EXISTS`. + */ + operationId?: string; + /** DDL statements to be applied to the database. */ + statements?: string[]; + } + interface UpdateInstanceMetadata { + /** + * The time at which this operation was cancelled. If set, this operation is + * in the process of undoing itself (which is guaranteed to succeed) and + * cannot be cancelled again. + */ + cancelTime?: string; + /** The time at which this operation failed or was completed successfully. */ + endTime?: string; + /** The desired end state of the update. */ + instance?: Instance; + /** + * The time at which UpdateInstance + * request was received. + */ + startTime?: string; + } + interface UpdateInstanceRequest { + /** + * Required. A mask specifying which fields in [][google.spanner.admin.instance.v1.UpdateInstanceRequest.instance] should be updated. + * The field mask must always be specified; this prevents any future fields in + * [][google.spanner.admin.instance.v1.Instance] from being erased accidentally by clients that do not know + * about them. + */ + fieldMask?: string; + /** + * Required. The instance to update, which must always include the instance + * name. Otherwise, only fields mentioned in [][google.spanner.admin.instance.v1.UpdateInstanceRequest.field_mask] need be included. + */ + instance?: Instance; + } + interface Write { + /** + * The names of the columns in table to be written. + * + * The list of columns must contain enough columns to allow + * Cloud Spanner to derive values for all primary key columns in the + * row(s) to be modified. + */ + columns?: string[]; + /** Required. The table whose rows will be written. */ + table?: string; + /** + * The values to be written. `values` can contain more than one + * list of values. If it does, then multiple rows are written, one + * for each entry in `values`. Each list in `values` must have + * exactly as many entries as there are entries in columns + * above. Sending multiple lists is equivalent to sending multiple + * `Mutation`s, each containing one `values` entry and repeating + * table and columns. Individual values in each list are + * encoded as described here. + */ + values?: any[][]; + } + interface InstanceConfigsResource { + /** Gets information about a particular instance configuration. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The name of the requested instance configuration. Values are of + * the form `projects/<project>/instanceConfigs/<config>`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<InstanceConfig>; + /** Lists the supported instance configurations for a given project. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Number of instance configurations to be returned in the response. If 0 or + * less, defaults to the server's maximum allowed page size. + */ + pageSize?: number; + /** + * If non-empty, `page_token` should contain a + * next_page_token + * from a previous ListInstanceConfigsResponse. + */ + pageToken?: string; + /** + * Required. The name of the project for which a list of supported instance + * configurations is requested. Values are of the form + * `projects/<project>`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListInstanceConfigsResponse>; + } + interface OperationsResource { + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not + * guaranteed. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use + * Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, + * the operation is not deleted; instead, it becomes an operation with + * an Operation.error value with a google.rpc.Status.code of 1, + * corresponding to `Code.CANCELLED`. + */ + cancel(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be cancelled. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be deleted. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding allows API services to override the binding + * to use different resource name schemes, such as `users/*/operations`. To + * override the binding, API services can add a binding such as + * `"/v1/{name=users/*}/operations"` to their service configuration. + * For backwards compatibility, the default name includes the operations + * collection id, however overriding users must ensure the name binding + * is the parent resource, without the operations collection id. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The standard list filter. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation's parent resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The standard list page size. */ + pageSize?: number; + /** The standard list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListOperationsResponse>; + } + interface SessionsResource { + /** + * Begins a new transaction. This step can often be skipped: + * Read, ExecuteSql and + * Commit can begin a new transaction as a + * side-effect. + */ + beginTransaction(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required. The session in which the transaction runs. */ + session: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Transaction>; + /** + * Commits a transaction. The request includes the mutations to be + * applied to rows in the database. + * + * `Commit` might return an `ABORTED` error. This can occur at any time; + * commonly, the cause is conflicts with concurrent + * transactions. However, it can also happen for a variety of other + * reasons. If `Commit` returns `ABORTED`, the caller should re-attempt + * the transaction from the beginning, re-using the same session. + */ + commit(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required. The session in which the transaction to be committed is running. */ + session: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CommitResponse>; + /** + * Creates a new session. A session can be used to perform + * transactions that read and/or modify data in a Cloud Spanner database. + * Sessions are meant to be reused for many consecutive + * transactions. + * + * Sessions can only execute one transaction at a time. To execute + * multiple concurrent read-write/write-only transactions, create + * multiple sessions. Note that standalone reads and queries use a + * transaction internally, and count toward the one transaction + * limit. + * + * Cloud Spanner limits the number of sessions that can exist at any given + * time; thus, it is a good idea to delete idle and/or unneeded sessions. + * Aside from explicit deletes, Cloud Spanner can delete sessions for which no + * operations are sent for more than an hour. If a session is deleted, + * requests to it return `NOT_FOUND`. + * + * Idle sessions can be kept alive by sending a trivial SQL query + * periodically, e.g., `"SELECT 1"`. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Required. The database in which the new session is created. */ + database: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Session>; + /** Ends a session, releasing server resources associated with it. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Required. The name of the session to delete. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Executes an SQL query, returning all rows in a single reply. This + * method cannot be used to return a result set larger than 10 MiB; + * if the query yields more data than that, the query fails with + * a `FAILED_PRECONDITION` error. + * + * Queries inside read-write transactions might return `ABORTED`. If + * this occurs, the application should restart the transaction from + * the beginning. See Transaction for more details. + * + * Larger result sets can be fetched in streaming fashion by calling + * ExecuteStreamingSql instead. + */ + executeSql(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required. The session in which the SQL query should be performed. */ + session: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ResultSet>; + /** + * Like ExecuteSql, except returns the result + * set as a stream. Unlike ExecuteSql, there + * is no limit on the size of the returned result set. However, no + * individual row in the result set can exceed 100 MiB, and no + * column value can exceed 10 MiB. + */ + executeStreamingSql(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required. The session in which the SQL query should be performed. */ + session: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<PartialResultSet>; + /** + * Gets a session. Returns `NOT_FOUND` if the session does not exist. + * This is mainly useful for determining whether a session is still + * alive. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Required. The name of the session to retrieve. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Session>; + /** Lists all sessions in a given database. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Required. The database in which to list sessions. */ + database: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * An expression for filtering the results of the request. Filter rules are + * case insensitive. The fields eligible for filtering are: + * + * * labels.key where key is the name of a label + * + * Some examples of using filters are: + * + * * labels.env:* --> The session has the label "env". + * * labels.env:dev --> The session has the label "env" and the value of + * the label contains the string "dev". + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Number of sessions to be returned in the response. If 0 or less, defaults + * to the server's maximum allowed page size. + */ + pageSize?: number; + /** + * If non-empty, `page_token` should contain a + * next_page_token from a previous + * ListSessionsResponse. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListSessionsResponse>; + /** + * Reads rows from the database using key lookups and scans, as a + * simple key/value style alternative to + * ExecuteSql. This method cannot be used to + * return a result set larger than 10 MiB; if the read matches more + * data than that, the read fails with a `FAILED_PRECONDITION` + * error. + * + * Reads inside read-write transactions might return `ABORTED`. If + * this occurs, the application should restart the transaction from + * the beginning. See Transaction for more details. + * + * Larger result sets can be yielded in streaming fashion by calling + * StreamingRead instead. + */ + read(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required. The session in which the read should be performed. */ + session: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ResultSet>; + /** + * Rolls back a transaction, releasing any locks it holds. It is a good + * idea to call this for any transaction that includes one or more + * Read or ExecuteSql requests and + * ultimately decides not to commit. + * + * `Rollback` returns `OK` if it successfully aborts the transaction, the + * transaction was already aborted, or the transaction is not + * found. `Rollback` never returns `ABORTED`. + */ + rollback(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required. The session in which the transaction to roll back is running. */ + session: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Like Read, except returns the result set as a + * stream. Unlike Read, there is no limit on the + * size of the returned result set. However, no individual row in + * the result set can exceed 100 MiB, and no column value can exceed + * 10 MiB. + */ + streamingRead(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Required. The session in which the read should be performed. */ + session: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<PartialResultSet>; + } + interface DatabasesResource { + /** + * Creates a new Cloud Spanner database and starts to prepare it for serving. + * The returned long-running operation will + * have a name of the format `<database_name>/operations/<operation_id>` and + * can be used to track preparation of the database. The + * metadata field type is + * CreateDatabaseMetadata. The + * response field type is + * Database, if successful. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Required. The name of the instance that will serve the new database. + * Values are of the form `projects/<project>/instances/<instance>`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** Drops (aka deletes) a Cloud Spanner database. */ + dropDatabase(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Required. The database to be dropped. */ + database: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets the state of a Cloud Spanner database. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The name of the requested database. Values are of the form + * `projects/<project>/instances/<instance>/databases/<database>`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Database>; + /** + * Returns the schema of a Cloud Spanner database as a list of formatted + * DDL statements. This method does not show pending schema updates, those may + * be queried using the Operations API. + */ + getDdl(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Required. The database whose schema we wish to get. */ + database: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GetDatabaseDdlResponse>; + /** + * Gets the access control policy for a database resource. Returns an empty + * policy if a database exists but does not have a policy set. + * + * Authorization requires `spanner.databases.getIamPolicy` permission on + * resource. + */ + getIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. The format is `projects/<project ID>/instances/<instance ID>` for + * instance resources and `projects/<project ID>/instances/<instance ID>/databases/<database ID>` for database resources. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** Lists Cloud Spanner databases. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Number of databases to be returned in the response. If 0 or less, + * defaults to the server's maximum allowed page size. + */ + pageSize?: number; + /** + * If non-empty, `page_token` should contain a + * next_page_token from a + * previous ListDatabasesResponse. + */ + pageToken?: string; + /** + * Required. The instance whose databases should be listed. + * Values are of the form `projects/<project>/instances/<instance>`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListDatabasesResponse>; + /** + * Sets the access control policy on a database resource. Replaces any + * existing policy. + * + * Authorization requires `spanner.databases.setIamPolicy` permission on + * resource. + */ + setIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The Cloud Spanner resource for which the policy is being set. The format is `projects/<project ID>/instances/<instance ID>` for instance + * resources and `projects/<project ID>/instances/<instance ID>/databases/<database ID>` for databases resources. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Returns permissions that the caller has on the specified database resource. + * + * Attempting this RPC on a non-existent Cloud Spanner database will result in + * a NOT_FOUND error if the user has `spanner.databases.list` permission on + * the containing Cloud Spanner instance. Otherwise returns an empty set of + * permissions. + */ + testIamPermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The Cloud Spanner resource for which permissions are being tested. The format is `projects/<project ID>/instances/<instance ID>` for instance + * resources and `projects/<project ID>/instances/<instance ID>/databases/<database ID>` for database resources. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TestIamPermissionsResponse>; + /** + * Updates the schema of a Cloud Spanner database by + * creating/altering/dropping tables, columns, indexes, etc. The returned + * long-running operation will have a name of + * the format `<database_name>/operations/<operation_id>` and can be used to + * track execution of the schema change(s). The + * metadata field type is + * UpdateDatabaseDdlMetadata. The operation has no response. + */ + updateDdl(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Required. The database to update. */ + database: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + operations: OperationsResource; + sessions: SessionsResource; + } + interface OperationsResource { + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not + * guaranteed. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use + * Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, + * the operation is not deleted; instead, it becomes an operation with + * an Operation.error value with a google.rpc.Status.code of 1, + * corresponding to `Code.CANCELLED`. + */ + cancel(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be cancelled. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be deleted. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding allows API services to override the binding + * to use different resource name schemes, such as `users/*/operations`. To + * override the binding, API services can add a binding such as + * `"/v1/{name=users/*}/operations"` to their service configuration. + * For backwards compatibility, the default name includes the operations + * collection id, however overriding users must ensure the name binding + * is the parent resource, without the operations collection id. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The standard list filter. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation's parent resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The standard list page size. */ + pageSize?: number; + /** The standard list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListOperationsResponse>; + } + interface InstancesResource { + /** + * Creates an instance and begins preparing it to begin serving. The + * returned long-running operation + * can be used to track the progress of preparing the new + * instance. The instance name is assigned by the caller. If the + * named instance already exists, `CreateInstance` returns + * `ALREADY_EXISTS`. + * + * Immediately upon completion of this request: + * + * * The instance is readable via the API, with all requested attributes + * but no allocated resources. Its state is `CREATING`. + * + * Until completion of the returned operation: + * + * * Cancelling the operation renders the instance immediately unreadable + * via the API. + * * The instance can be deleted. + * * All other attempts to modify the instance are rejected. + * + * Upon completion of the returned operation: + * + * * Billing for all successfully-allocated resources begins (some types + * may have lower than the requested levels). + * * Databases can be created in the instance. + * * The instance's allocated resource levels are readable via the API. + * * The instance's state becomes `READY`. + * + * The returned long-running operation will + * have a name of the format `<instance_name>/operations/<operation_id>` and + * can be used to track creation of the instance. The + * metadata field type is + * CreateInstanceMetadata. + * The response field type is + * Instance, if successful. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Required. The name of the project in which to create the instance. Values + * are of the form `projects/<project>`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Deletes an instance. + * + * Immediately upon completion of the request: + * + * * Billing ceases for all of the instance's reserved resources. + * + * Soon afterward: + * + * * The instance and *all of its databases* immediately and + * irrevocably disappear from the API. All data in the databases + * is permanently deleted. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The name of the instance to be deleted. Values are of the form + * `projects/<project>/instances/<instance>` + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets information about a particular instance. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. The name of the requested instance. Values are of the form + * `projects/<project>/instances/<instance>`. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Instance>; + /** + * Gets the access control policy for an instance resource. Returns an empty + * policy if an instance exists but does not have a policy set. + * + * Authorization requires `spanner.instances.getIamPolicy` on + * resource. + */ + getIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. The format is `projects/<project ID>/instances/<instance ID>` for + * instance resources and `projects/<project ID>/instances/<instance ID>/databases/<database ID>` for database resources. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** Lists all instances in the given project. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * An expression for filtering the results of the request. Filter rules are + * case insensitive. The fields eligible for filtering are: + * + * * name + * * display_name + * * labels.key where key is the name of a label + * + * Some examples of using filters are: + * + * * name:* --> The instance has a name. + * * name:Howl --> The instance's name contains the string "howl". + * * name:HOWL --> Equivalent to above. + * * NAME:howl --> Equivalent to above. + * * labels.env:* --> The instance has the label "env". + * * labels.env:dev --> The instance has the label "env" and the value of + * the label contains the string "dev". + * * name:howl labels.env:dev --> The instance's name contains "howl" and + * it has the label "env" with its value + * containing "dev". + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Number of instances to be returned in the response. If 0 or less, defaults + * to the server's maximum allowed page size. + */ + pageSize?: number; + /** + * If non-empty, `page_token` should contain a + * next_page_token from a + * previous ListInstancesResponse. + */ + pageToken?: string; + /** + * Required. The name of the project for which a list of instances is + * requested. Values are of the form `projects/<project>`. + */ + parent: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListInstancesResponse>; + /** + * Updates an instance, and begins allocating or releasing resources + * as requested. The returned long-running + * operation can be used to track the + * progress of updating the instance. If the named instance does not + * exist, returns `NOT_FOUND`. + * + * Immediately upon completion of this request: + * + * * For resource types for which a decrease in the instance's allocation + * has been requested, billing is based on the newly-requested level. + * + * Until completion of the returned operation: + * + * * Cancelling the operation sets its metadata's + * cancel_time, and begins + * restoring resources to their pre-request values. The operation + * is guaranteed to succeed at undoing all resource changes, + * after which point it terminates with a `CANCELLED` status. + * * All other attempts to modify the instance are rejected. + * * Reading the instance via the API continues to give the pre-request + * resource levels. + * + * Upon completion of the returned operation: + * + * * Billing begins for all successfully-allocated resources (some types + * may have lower than the requested levels). + * * All newly-reserved resources are available for serving the instance's + * tables. + * * The instance's new resource levels are readable via the API. + * + * The returned long-running operation will + * have a name of the format `<instance_name>/operations/<operation_id>` and + * can be used to track the instance modification. The + * metadata field type is + * UpdateInstanceMetadata. + * The response field type is + * Instance, if successful. + * + * Authorization requires `spanner.instances.update` permission on + * resource name. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Required. A unique identifier for the instance, which cannot be changed + * after the instance is created. Values are of the form + * `projects/<project>/instances/a-z*[a-z0-9]`. The final + * segment of the name must be between 6 and 30 characters in length. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Sets the access control policy on an instance resource. Replaces any + * existing policy. + * + * Authorization requires `spanner.instances.setIamPolicy` on + * resource. + */ + setIamPolicy(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The Cloud Spanner resource for which the policy is being set. The format is `projects/<project ID>/instances/<instance ID>` for instance + * resources and `projects/<project ID>/instances/<instance ID>/databases/<database ID>` for databases resources. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Policy>; + /** + * Returns permissions that the caller has on the specified instance resource. + * + * Attempting this RPC on a non-existent Cloud Spanner instance resource will + * result in a NOT_FOUND error if the user has `spanner.instances.list` + * permission on the containing Google Cloud Project. Otherwise returns an + * empty set of permissions. + */ + testIamPermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * REQUIRED: The Cloud Spanner resource for which permissions are being tested. The format is `projects/<project ID>/instances/<instance ID>` for instance + * resources and `projects/<project ID>/instances/<instance ID>/databases/<database ID>` for database resources. + */ + resource: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TestIamPermissionsResponse>; + databases: DatabasesResource; + operations: OperationsResource; + } + interface ProjectsResource { + instanceConfigs: InstanceConfigsResource; + instances: InstancesResource; + } + } +} diff --git a/types/gapi.client.spanner/readme.md b/types/gapi.client.spanner/readme.md new file mode 100644 index 0000000000..62d089f01a --- /dev/null +++ b/types/gapi.client.spanner/readme.md @@ -0,0 +1,60 @@ +# TypeScript typings for Cloud Spanner API v1 +Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service. +For detailed description please check [documentation](https://cloud.google.com/spanner/). + +## Installing + +Install typings for Cloud Spanner API: +``` +npm install @types/gapi.client.spanner@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('spanner', 'v1', () => { + // now we can use gapi.client.spanner + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // Administer your Spanner databases + 'https://www.googleapis.com/auth/spanner.admin', + + // View and manage the contents of your Spanner databases + 'https://www.googleapis.com/auth/spanner.data', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Cloud Spanner API resources: + +```typescript +``` \ No newline at end of file diff --git a/types/gapi.client.spanner/tsconfig.json b/types/gapi.client.spanner/tsconfig.json new file mode 100644 index 0000000000..a4fcfe1835 --- /dev/null +++ b/types/gapi.client.spanner/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.spanner-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.spanner/tslint.json b/types/gapi.client.spanner/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.spanner/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.spectrum/gapi.client.spectrum-tests.ts b/types/gapi.client.spectrum/gapi.client.spectrum-tests.ts new file mode 100644 index 0000000000..9a28d7166e --- /dev/null +++ b/types/gapi.client.spectrum/gapi.client.spectrum-tests.ts @@ -0,0 +1,43 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('spectrum', 'v1explorer', () => { + /** now we can use gapi.client.spectrum */ + + run(); + }); + + async function run() { + /** + * Requests information about the available spectrum for a device at a location. Requests from a fixed-mode device must include owner information so the + * device can be registered with the database. + */ + await gapi.client.paws.getSpectrum({ + }); + /** The Google Spectrum Database does not support batch requests, so this method always yields an UNIMPLEMENTED error. */ + await gapi.client.paws.getSpectrumBatch({ + }); + /** Initializes the connection between a white space device and the database. */ + await gapi.client.paws.init({ + }); + /** + * Notifies the database that the device has selected certain frequency ranges for transmission. Only to be invoked when required by the regulator. The + * Google Spectrum Database does not operate in domains that require notification, so this always yields an UNIMPLEMENTED error. + */ + await gapi.client.paws.notifySpectrumUse({ + }); + /** The Google Spectrum Database implements registration in the getSpectrum method. As such this always returns an UNIMPLEMENTED error. */ + await gapi.client.paws.register({ + }); + /** + * Validates a device for white space use in accordance with regulatory rules. The Google Spectrum Database does not support master/slave configurations, + * so this always yields an UNIMPLEMENTED error. + */ + await gapi.client.paws.verifyDevice({ + }); + } +}); diff --git a/types/gapi.client.spectrum/index.d.ts b/types/gapi.client.spectrum/index.d.ts new file mode 100644 index 0000000000..3f829d401d --- /dev/null +++ b/types/gapi.client.spectrum/index.d.ts @@ -0,0 +1,841 @@ +// Type definitions for Google Google Spectrum Database API v1explorer 1.0 +// Project: http://developers.google.com/spectrum +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/spectrum/v1explorer/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Spectrum Database API v1explorer */ + function load(name: "spectrum", version: "v1explorer"): PromiseLike<void>; + function load(name: "spectrum", version: "v1explorer", callback: () => any): void; + + const paws: spectrum.PawsResource; + + namespace spectrum { + interface AntennaCharacteristics { + /** + * The antenna height in meters. Whether the antenna height is required depends on the device type and the regulatory domain. Note that the height may be + * negative. + */ + height?: number; + /** If the height is required, then the height type (AGL for above ground level or AMSL for above mean sea level) is also required. The default is AGL. */ + heightType?: string; + /** The height uncertainty in meters. Whether this is required depends on the regulatory domain. */ + heightUncertainty?: number; + } + interface DatabaseSpec { + /** The display name for a database. */ + name?: string; + /** The corresponding URI of the database. */ + uri?: string; + } + interface DbUpdateSpec { + /** + * A required list of one or more databases. A device should update its preconfigured list of databases to replace (only) the database that provided the + * response with the specified entries. + */ + databases?: DatabaseSpec[]; + } + interface DeviceCapabilities { + /** + * An optional list of frequency ranges supported by the device. Each element must contain start and stop frequencies in which the device can operate. + * Channel identifiers are optional. When specified, the database should not return available spectrum that falls outside these ranges or channel IDs. + */ + frequencyRanges?: FrequencyRange[]; + } + interface DeviceDescriptor { + /** + * Specifies the ETSI white space device category. Valid values are the strings master and slave. This field is case-insensitive. Consult the ETSI + * documentation for details about the device types. + */ + etsiEnDeviceCategory?: string; + /** + * Specifies the ETSI white space device emissions class. The values are represented by numeric strings, such as 1, 2, etc. Consult the ETSI documentation + * for details about the device types. + */ + etsiEnDeviceEmissionsClass?: string; + /** + * Specifies the ETSI white space device type. Valid values are single-letter strings, such as A, B, etc. Consult the ETSI documentation for details about + * the device types. + */ + etsiEnDeviceType?: string; + /** + * Specifies the ETSI white space device technology identifier. The string value must not exceed 64 characters in length. Consult the ETSI documentation + * for details about the device types. + */ + etsiEnTechnologyId?: string; + /** + * Specifies the device's FCC certification identifier. The value is an identifier string whose length should not exceed 32 characters. Note that, in + * practice, a valid FCC ID may be limited to 19 characters. + */ + fccId?: string; + /** Specifies the TV Band White Space device type, as defined by the FCC. Valid values are FIXED, MODE_1, MODE_2. */ + fccTvbdDeviceType?: string; + /** + * The manufacturer's ID may be required by the regulatory domain. This should represent the name of the device manufacturer, should be consistent across + * all devices from the same manufacturer, and should be distinct from that of other manufacturers. The string value must not exceed 64 characters in + * length. + */ + manufacturerId?: string; + /** The device's model ID may be required by the regulatory domain. The string value must not exceed 64 characters in length. */ + modelId?: string; + /** + * The list of identifiers for rulesets supported by the device. A database may require that the device provide this list before servicing the device + * requests. If the database does not support any of the rulesets specified in the list, the database may refuse to service the device requests. If + * present, the list must contain at least one entry. + * + * For information about the valid requests, see section 9.2 of the PAWS specification. Currently, FccTvBandWhiteSpace-2010 is the only supported ruleset. + */ + rulesetIds?: string[]; + /** The manufacturer's device serial number; required by the applicable regulatory domain. The length of the value must not exceed 64 characters. */ + serialNumber?: string; + } + interface DeviceOwner { + /** The vCard contact information for the device operator is optional, but may be required by specific regulatory domains. */ + operator?: Vcard; + /** The vCard contact information for the individual or business that owns the device is required. */ + owner?: Vcard; + } + interface DeviceValidity { + /** The descriptor of the device for which the validity check was requested. It will always be present. */ + deviceDesc?: DeviceDescriptor; + /** The validity status: true if the device is valid for operation, false otherwise. It will always be present. */ + isValid?: boolean; + /** + * If the device identifier is not valid, the database may include a reason. The reason may be in any language. The length of the value should not exceed + * 128 characters. + */ + reason?: string; + } + interface EventTime { + /** The inclusive start of the event. It will be present. */ + startTime?: string; + /** The exclusive end of the event. It will be present. */ + stopTime?: string; + } + interface FrequencyRange { + /** + * The database may include a channel identifier, when applicable. When it is included, the device should treat it as informative. The length of the + * identifier should not exceed 16 characters. + */ + channelId?: string; + /** + * The maximum total power level (EIRP)—computed over the corresponding operating bandwidth—that is permitted within the frequency range. Depending on the + * context in which the frequency-range element appears, this value may be required. For example, it is required in the available-spectrum response, + * available-spectrum-batch response, and spectrum-use notification message, but it should not be present (it is not applicable) when the frequency range + * appears inside a device-capabilities message. + */ + maxPowerDBm?: number; + /** The required inclusive start of the frequency range (in Hertz). */ + startHz?: number; + /** The required exclusive end of the frequency range (in Hertz). */ + stopHz?: number; + } + interface GeoLocation { + /** + * The location confidence level, as an integer percentage, may be required, depending on the regulatory domain. When the parameter is optional and not + * provided, its value is assumed to be 95. Valid values range from 0 to 99, since, in practice, 100-percent confidence is not achievable. The confidence + * value is meaningful only when geolocation refers to a point with uncertainty. + */ + confidence?: number; + /** + * If present, indicates that the geolocation represents a point. Paradoxically, a point is parameterized using an ellipse, where the center represents + * the location of the point and the distances along the major and minor axes represent the uncertainty. The uncertainty values may be required, depending + * on the regulatory domain. + */ + point?: GeoLocationEllipse; + /** If present, indicates that the geolocation represents a region. Database support for regions is optional. */ + region?: GeoLocationPolygon; + } + interface GeoLocationEllipse { + /** A required geo-spatial point representing the center of the ellipse. */ + center?: GeoLocationPoint; + /** + * A floating-point number that expresses the orientation of the ellipse, representing the rotation, in degrees, of the semi-major axis from North towards + * the East. For example, when the uncertainty is greatest along the North-South direction, orientation is 0 degrees; conversely, if the uncertainty is + * greatest along the East-West direction, orientation is 90 degrees. When orientation is not present, the orientation is assumed to be 0. + */ + orientation?: number; + /** + * A floating-point number that expresses the location uncertainty along the major axis of the ellipse. May be required by the regulatory domain. When the + * uncertainty is optional, the default value is 0. + */ + semiMajorAxis?: number; + /** + * A floating-point number that expresses the location uncertainty along the minor axis of the ellipse. May be required by the regulatory domain. When the + * uncertainty is optional, the default value is 0. + */ + semiMinorAxis?: number; + } + interface GeoLocationPoint { + /** + * A required floating-point number that expresses the latitude in degrees using the WGS84 datum. For details on this encoding, see the National Imagery + * and Mapping Agency's Technical Report TR8350.2. + */ + latitude?: number; + /** + * A required floating-point number that expresses the longitude in degrees using the WGS84 datum. For details on this encoding, see the National Imagery + * and Mapping Agency's Technical Report TR8350.2. + */ + longitude?: number; + } + interface GeoLocationPolygon { + /** + * When the geolocation describes a region, the exterior field refers to a list of latitude/longitude points that represent the vertices of a polygon. The + * first and last points must be the same. Thus, a minimum of four points is required. The following polygon restrictions from RFC5491 apply: + * - A connecting line shall not cross another connecting line of the same polygon. + * - The vertices must be defined in a counterclockwise order. + * - The edges of a polygon are defined by the shortest path between two points in space (not a geodesic curve). Consequently, the length between two + * adjacent vertices should be restricted to a maximum of 130 km. + * - All vertices are assumed to be at the same altitude. + * - Polygon shapes should be restricted to a maximum of 15 vertices (16 points that include the repeated vertex). + */ + exterior?: GeoLocationPoint[]; + } + interface GeoSpectrumSchedule { + /** The geolocation identifies the location at which the spectrum schedule applies. It will always be present. */ + location?: GeoLocation; + /** + * A list of available spectrum profiles and associated times. It will always be present, and at least one schedule must be included (though it may be + * empty if there is no available spectrum). More than one schedule may be included to represent future changes to the available spectrum. + */ + spectrumSchedules?: SpectrumSchedule[]; + } + interface PawsGetSpectrumBatchRequest { + /** Depending on device type and regulatory domain, antenna characteristics may be required. */ + antenna?: AntennaCharacteristics; + /** + * The master device may include its device capabilities to limit the available-spectrum batch response to the spectrum that is compatible with its + * capabilities. The database should not return spectrum that is incompatible with the specified capabilities. + */ + capabilities?: DeviceCapabilities; + /** + * When the available spectrum request is made on behalf of a specific device (a master or slave device), device descriptor information for the device on + * whose behalf the request is made is required (in such cases, the requestType parameter must be empty). When a requestType value is specified, device + * descriptor information may be optional or required according to the rules of the applicable regulatory domain. + */ + deviceDesc?: DeviceDescriptor; + /** + * A geolocation list is required. This allows a device to specify its current location plus additional anticipated locations when allowed by the + * regulatory domain. At least one location must be included. Geolocation must be given as the location of the radiation center of the device's antenna. + * If a location specifies a region, rather than a point, the database may return an UNIMPLEMENTED error if it does not support query by region. + * + * There is no upper limit on the number of locations included in a available spectrum batch request, but the database may restrict the number of + * locations it supports by returning a response with fewer locations than specified in the batch request. Note that geolocations must be those of the + * master device (a device with geolocation capability that makes an available spectrum batch request), whether the master device is making the request on + * its own behalf or on behalf of a slave device (one without geolocation capability). + */ + locations?: GeoLocation[]; + /** + * When an available spectrum batch request is made by the master device (a device with geolocation capability) on behalf of a slave device (a device + * without geolocation capability), the rules of the applicable regulatory domain may require the master device to provide its own device descriptor + * information (in addition to device descriptor information for the slave device in a separate parameter). + */ + masterDeviceDesc?: DeviceDescriptor; + /** + * Depending on device type and regulatory domain, device owner information may be included in an available spectrum batch request. This allows the device + * to register and get spectrum-availability information in a single request. + */ + owner?: DeviceOwner; + /** + * The request type parameter is an optional parameter that can be used to modify an available spectrum batch request, but its use depends on applicable + * regulatory rules. For example, It may be used to request generic slave device parameters without having to specify the device descriptor for a specific + * device. When the requestType parameter is missing, the request is for a specific device (master or slave), and the device descriptor parameter for the + * device on whose behalf the batch request is made is required. + */ + requestType?: string; + /** + * The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + * + * Required field. + */ + type?: string; + /** + * The PAWS version. Must be exactly 1.0. + * + * Required field. + */ + version?: string; + } + interface PawsGetSpectrumBatchResponse { + /** + * A database may include the databaseChange parameter to notify a device of a change to its database URI, providing one or more alternate database URIs. + * The device should use this information to update its list of pre-configured databases by (only) replacing its entry for the responding database with + * the list of alternate URIs. + */ + databaseChange?: DbUpdateSpec; + /** + * The database must return in its available spectrum response the device descriptor information it received in the master device's available spectrum + * batch request. + */ + deviceDesc?: DeviceDescriptor; + /** + * The available spectrum batch response must contain a geo-spectrum schedule list, The list may be empty if spectrum is not available. The database may + * return more than one geo-spectrum schedule to represent future changes to the available spectrum. How far in advance a schedule may be provided depends + * upon the applicable regulatory domain. The database may return available spectrum for fewer geolocations than requested. The device must not make + * assumptions about the order of the entries in the list, and must use the geolocation value in each geo-spectrum schedule entry to match available + * spectrum to a location. + */ + geoSpectrumSchedules?: GeoSpectrumSchedule[]; + /** Identifies what kind of resource this is. Value: the fixed string "spectrum#pawsGetSpectrumBatchResponse". */ + kind?: string; + /** + * The database may return a constraint on the allowed maximum contiguous bandwidth (in Hertz). A regulatory domain may require the database to return + * this parameter. When this parameter is present in the response, the device must apply this constraint to its spectrum-selection logic to ensure that no + * single block of spectrum has bandwidth that exceeds this value. + */ + maxContiguousBwHz?: number; + /** + * The database may return a constraint on the allowed maximum total bandwidth (in Hertz), which does not need to be contiguous. A regulatory domain may + * require the database to return this parameter. When this parameter is present in the available spectrum batch response, the device must apply this + * constraint to its spectrum-selection logic to ensure that total bandwidth does not exceed this value. + */ + maxTotalBwHz?: number; + /** + * For regulatory domains that require a spectrum-usage report from devices, the database must return true for this parameter if the geo-spectrum + * schedules list is not empty; otherwise, the database should either return false or omit this parameter. If this parameter is present and its value is + * true, the device must send a spectrum use notify message to the database; otherwise, the device should not send the notification. + */ + needsSpectrumReport?: boolean; + /** + * The database should return ruleset information, which identifies the applicable regulatory authority and ruleset for the available spectrum batch + * response. If included, the device must use the corresponding ruleset to interpret the response. Values provided in the returned ruleset information, + * such as maxLocationChange, take precedence over any conflicting values provided in the ruleset information returned in a prior initialization response + * sent by the database to the device. + */ + rulesetInfo?: RulesetInfo; + /** + * The database includes a timestamp of the form, YYYY-MM-DDThh:mm:ssZ (Internet timestamp format per RFC3339), in its available spectrum batch response. + * The timestamp should be used by the device as a reference for the start and stop times specified in the response spectrum schedules. + */ + timestamp?: string; + /** + * The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + * + * Required field. + */ + type?: string; + /** + * The PAWS version. Must be exactly 1.0. + * + * Required field. + */ + version?: string; + } + interface PawsGetSpectrumRequest { + /** Depending on device type and regulatory domain, the characteristics of the antenna may be required. */ + antenna?: AntennaCharacteristics; + /** + * The master device may include its device capabilities to limit the available-spectrum response to the spectrum that is compatible with its + * capabilities. The database should not return spectrum that is incompatible with the specified capabilities. + */ + capabilities?: DeviceCapabilities; + /** + * When the available spectrum request is made on behalf of a specific device (a master or slave device), device descriptor information for that device is + * required (in such cases, the requestType parameter must be empty). When a requestType value is specified, device descriptor information may be optional + * or required according to the rules of the applicable regulatory domain. + */ + deviceDesc?: DeviceDescriptor; + /** + * The geolocation of the master device (a device with geolocation capability that makes an available spectrum request) is required whether the master + * device is making the request on its own behalf or on behalf of a slave device (one without geolocation capability). The location must be the location + * of the radiation center of the master device's antenna. To support mobile devices, a regulatory domain may allow the anticipated position of the master + * device to be given instead. If the location specifies a region, rather than a point, the database may return an UNIMPLEMENTED error code if it does not + * support query by region. + */ + location?: GeoLocation; + /** + * When an available spectrum request is made by the master device (a device with geolocation capability) on behalf of a slave device (a device without + * geolocation capability), the rules of the applicable regulatory domain may require the master device to provide its own device descriptor information + * (in addition to device descriptor information for the slave device, which is provided in a separate parameter). + */ + masterDeviceDesc?: DeviceDescriptor; + /** + * Depending on device type and regulatory domain, device owner information may be included in an available spectrum request. This allows the device to + * register and get spectrum-availability information in a single request. + */ + owner?: DeviceOwner; + /** + * The request type parameter is an optional parameter that can be used to modify an available spectrum request, but its use depends on applicable + * regulatory rules. It may be used, for example, to request generic slave device parameters without having to specify the device descriptor for a + * specific device. When the requestType parameter is missing, the request is for a specific device (master or slave), and the deviceDesc parameter for + * the device on whose behalf the request is made is required. + */ + requestType?: string; + /** + * The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + * + * Required field. + */ + type?: string; + /** + * The PAWS version. Must be exactly 1.0. + * + * Required field. + */ + version?: string; + } + interface PawsGetSpectrumResponse { + /** + * A database may include the databaseChange parameter to notify a device of a change to its database URI, providing one or more alternate database URIs. + * The device should use this information to update its list of pre-configured databases by (only) replacing its entry for the responding database with + * the list of alternate URIs. + */ + databaseChange?: DbUpdateSpec; + /** + * The database must return, in its available spectrum response, the device descriptor information it received in the master device's available spectrum + * request. + */ + deviceDesc?: DeviceDescriptor; + /** Identifies what kind of resource this is. Value: the fixed string "spectrum#pawsGetSpectrumResponse". */ + kind?: string; + /** + * The database may return a constraint on the allowed maximum contiguous bandwidth (in Hertz). A regulatory domain may require the database to return + * this parameter. When this parameter is present in the response, the device must apply this constraint to its spectrum-selection logic to ensure that no + * single block of spectrum has bandwidth that exceeds this value. + */ + maxContiguousBwHz?: number; + /** + * The database may return a constraint on the allowed maximum total bandwidth (in Hertz), which need not be contiguous. A regulatory domain may require + * the database to return this parameter. When this parameter is present in the available spectrum response, the device must apply this constraint to its + * spectrum-selection logic to ensure that total bandwidth does not exceed this value. + */ + maxTotalBwHz?: number; + /** + * For regulatory domains that require a spectrum-usage report from devices, the database must return true for this parameter if the spectrum schedule + * list is not empty; otherwise, the database will either return false or omit this parameter. If this parameter is present and its value is true, the + * device must send a spectrum use notify message to the database; otherwise, the device must not send the notification. + */ + needsSpectrumReport?: boolean; + /** + * The database should return ruleset information, which identifies the applicable regulatory authority and ruleset for the available spectrum response. + * If included, the device must use the corresponding ruleset to interpret the response. Values provided in the returned ruleset information, such as + * maxLocationChange, take precedence over any conflicting values provided in the ruleset information returned in a prior initialization response sent by + * the database to the device. + */ + rulesetInfo?: RulesetInfo; + /** + * The available spectrum response must contain a spectrum schedule list. The list may be empty if spectrum is not available. The database may return more + * than one spectrum schedule to represent future changes to the available spectrum. How far in advance a schedule may be provided depends on the + * applicable regulatory domain. + */ + spectrumSchedules?: SpectrumSchedule[]; + /** + * The database includes a timestamp of the form YYYY-MM-DDThh:mm:ssZ (Internet timestamp format per RFC3339) in its available spectrum response. The + * timestamp should be used by the device as a reference for the start and stop times specified in the response spectrum schedules. + */ + timestamp?: string; + /** + * The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + * + * Required field. + */ + type?: string; + /** + * The PAWS version. Must be exactly 1.0. + * + * Required field. + */ + version?: string; + } + interface PawsInitRequest { + /** + * The DeviceDescriptor parameter is required. If the database does not support the device or any of the rulesets specified in the device descriptor, it + * must return an UNSUPPORTED error code in the error response. + */ + deviceDesc?: DeviceDescriptor; + /** A device's geolocation is required. */ + location?: GeoLocation; + /** + * The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + * + * Required field. + */ + type?: string; + /** + * The PAWS version. Must be exactly 1.0. + * + * Required field. + */ + version?: string; + } + interface PawsInitResponse { + /** + * A database may include the databaseChange parameter to notify a device of a change to its database URI, providing one or more alternate database URIs. + * The device should use this information to update its list of pre-configured databases by (only) replacing its entry for the responding database with + * the list of alternate URIs. + */ + databaseChange?: DbUpdateSpec; + /** Identifies what kind of resource this is. Value: the fixed string "spectrum#pawsInitResponse". */ + kind?: string; + /** + * The rulesetInfo parameter must be included in the response. This parameter specifies the regulatory domain and parameters applicable to that domain. + * The database must include the authority field, which defines the regulatory domain for the location specified in the INIT_REQ message. + */ + rulesetInfo?: RulesetInfo; + /** + * The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + * + * Required field. + */ + type?: string; + /** + * The PAWS version. Must be exactly 1.0. + * + * Required field. + */ + version?: string; + } + interface PawsNotifySpectrumUseRequest { + /** Device descriptor information is required in the spectrum-use notification message. */ + deviceDesc?: DeviceDescriptor; + /** + * The geolocation of the master device (the device that is sending the spectrum-use notification) to the database is required in the spectrum-use + * notification message. + */ + location?: GeoLocation; + /** + * A spectrum list is required in the spectrum-use notification. The list specifies the spectrum that the device expects to use, which includes frequency + * ranges and maximum power levels. The list may be empty if the device decides not to use any of spectrum. For consistency, the psdBandwidthHz value + * should match that from one of the spectrum elements in the corresponding available spectrum response previously sent to the device by the database. + * Note that maximum power levels in the spectrum element must be expressed as power spectral density over the specified psdBandwidthHz value. The actual + * bandwidth to be used (as computed from the start and stop frequencies) may be different from the psdBandwidthHz value. As an example, when regulatory + * rules express maximum power spectral density in terms of maximum power over any 100 kHz band, then the psdBandwidthHz value should be set to 100 kHz, + * even though the actual bandwidth used can be 20 kHz. + */ + spectra?: SpectrumMessage[]; + /** + * The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + * + * Required field. + */ + type?: string; + /** + * The PAWS version. Must be exactly 1.0. + * + * Required field. + */ + version?: string; + } + interface PawsNotifySpectrumUseResponse { + /** Identifies what kind of resource this is. Value: the fixed string "spectrum#pawsNotifySpectrumUseResponse". */ + kind?: string; + /** + * The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + * + * Required field. + */ + type?: string; + /** + * The PAWS version. Must be exactly 1.0. + * + * Required field. + */ + version?: string; + } + interface PawsRegisterRequest { + /** Antenna characteristics, including its height and height type. */ + antenna?: AntennaCharacteristics; + /** A DeviceDescriptor is required. */ + deviceDesc?: DeviceDescriptor; + /** Device owner information is required. */ + deviceOwner?: DeviceOwner; + /** A device's geolocation is required. */ + location?: GeoLocation; + /** + * The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + * + * Required field. + */ + type?: string; + /** + * The PAWS version. Must be exactly 1.0. + * + * Required field. + */ + version?: string; + } + interface PawsRegisterResponse { + /** + * A database may include the databaseChange parameter to notify a device of a change to its database URI, providing one or more alternate database URIs. + * The device should use this information to update its list of pre-configured databases by (only) replacing its entry for the responding database with + * the list of alternate URIs. + */ + databaseChange?: DbUpdateSpec; + /** Identifies what kind of resource this is. Value: the fixed string "spectrum#pawsRegisterResponse". */ + kind?: string; + /** + * The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + * + * Required field. + */ + type?: string; + /** + * The PAWS version. Must be exactly 1.0. + * + * Required field. + */ + version?: string; + } + interface PawsVerifyDeviceRequest { + /** A list of device descriptors, which specifies the slave devices to be validated, is required. */ + deviceDescs?: DeviceDescriptor[]; + /** + * The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + * + * Required field. + */ + type?: string; + /** + * The PAWS version. Must be exactly 1.0. + * + * Required field. + */ + version?: string; + } + interface PawsVerifyDeviceResponse { + /** + * A database may include the databaseChange parameter to notify a device of a change to its database URI, providing one or more alternate database URIs. + * The device should use this information to update its list of pre-configured databases by (only) replacing its entry for the responding database with + * the list of alternate URIs. + */ + databaseChange?: DbUpdateSpec; + /** + * A device validities list is required in the device validation response to report whether each slave device listed in a previous device validation + * request is valid. The number of entries must match the number of device descriptors listed in the previous device validation request. + */ + deviceValidities?: DeviceValidity[]; + /** Identifies what kind of resource this is. Value: the fixed string "spectrum#pawsVerifyDeviceResponse". */ + kind?: string; + /** + * The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). + * + * Required field. + */ + type?: string; + /** + * The PAWS version. Must be exactly 1.0. + * + * Required field. + */ + version?: string; + } + interface RulesetInfo { + /** + * The regulatory domain to which the ruleset belongs is required. It must be a 2-letter country code. The device should use this to determine additional + * device behavior required by the associated regulatory domain. + */ + authority?: string; + /** + * The maximum location change in meters is required in the initialization response, but optional otherwise. When the device changes location by more than + * this specified distance, it must contact the database to get the available spectrum for the new location. If the device is using spectrum that is no + * longer available, it must immediately cease use of the spectrum under rules for database-managed spectrum. If this value is provided within the context + * of an available-spectrum response, it takes precedence over the value within the initialization response. + */ + maxLocationChange?: number; + /** + * The maximum duration, in seconds, between requests for available spectrum. It is required in the initialization response, but optional otherwise. The + * device must contact the database to get available spectrum no less frequently than this duration. If the new spectrum information indicates that the + * device is using spectrum that is no longer available, it must immediately cease use of those frequencies under rules for database-managed spectrum. If + * this value is provided within the context of an available-spectrum response, it takes precedence over the value within the initialization response. + */ + maxPollingSecs?: number; + /** + * The identifiers of the rulesets supported for the device's location. The database should include at least one applicable ruleset in the initialization + * response. The device may use the ruleset identifiers to determine parameters to include in subsequent requests. Within the context of the + * available-spectrum responses, the database should include the identifier of the ruleset that it used to determine the available-spectrum response. If + * included, the device must use the specified ruleset to interpret the response. If the device does not support the indicated ruleset, it must not + * operate in the spectrum governed by the ruleset. + */ + rulesetIds?: string[]; + } + interface SpectrumMessage { + /** + * The bandwidth (in Hertz) for which permissible power levels are specified. For example, FCC regulation would require only one spectrum specification at + * 6MHz bandwidth, but Ofcom regulation would require two specifications, at 0.1MHz and 8MHz. This parameter may be empty if there is no available + * spectrum. It will be present otherwise. + */ + bandwidth?: number; + /** The list of frequency ranges and permissible power levels. The list may be empty if there is no available spectrum, otherwise it will be present. */ + frequencyRanges?: FrequencyRange[]; + } + interface SpectrumSchedule { + /** The event time expresses when the spectrum profile is valid. It will always be present. */ + eventTime?: EventTime; + /** A list of spectrum messages representing the usable profile. It will always be present, but may be empty when there is no available spectrum. */ + spectra?: SpectrumMessage[]; + } + interface Vcard { + /** The street address of the entity. */ + adr?: VcardAddress; + /** An email address that can be used to reach the contact. */ + email?: VcardTypedText; + /** The full name of the contact person. For example: John A. Smith. */ + fn?: string; + /** The organization associated with the registering entity. */ + org?: VcardTypedText; + /** A telephone number that can be used to call the contact. */ + tel?: VcardTelephone; + } + interface VcardAddress { + /** The postal code associated with the address. For example: 94423. */ + code?: string; + /** The country name. For example: US. */ + country?: string; + /** The city or local equivalent portion of the address. For example: San Jose. */ + locality?: string; + /** An optional post office box number. */ + pobox?: string; + /** The state or local equivalent portion of the address. For example: CA. */ + region?: string; + /** The street number and name. For example: 123 Any St. */ + street?: string; + } + interface VcardTelephone { + /** A nested telephone URI of the form: tel:+1-123-456-7890. */ + uri?: string; + } + interface VcardTypedText { + /** The text string associated with this item. For example, for an org field: ACME, inc. For an email field: smith@example.com. */ + text?: string; + } + interface PawsResource { + /** + * Requests information about the available spectrum for a device at a location. Requests from a fixed-mode device must include owner information so the + * device can be registered with the database. + */ + getSpectrum(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PawsGetSpectrumResponse>; + /** The Google Spectrum Database does not support batch requests, so this method always yields an UNIMPLEMENTED error. */ + getSpectrumBatch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PawsGetSpectrumBatchResponse>; + /** Initializes the connection between a white space device and the database. */ + init(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PawsInitResponse>; + /** + * Notifies the database that the device has selected certain frequency ranges for transmission. Only to be invoked when required by the regulator. The + * Google Spectrum Database does not operate in domains that require notification, so this always yields an UNIMPLEMENTED error. + */ + notifySpectrumUse(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PawsNotifySpectrumUseResponse>; + /** The Google Spectrum Database implements registration in the getSpectrum method. As such this always returns an UNIMPLEMENTED error. */ + register(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PawsRegisterResponse>; + /** + * Validates a device for white space use in accordance with regulatory rules. The Google Spectrum Database does not support master/slave configurations, + * so this always yields an UNIMPLEMENTED error. + */ + verifyDevice(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PawsVerifyDeviceResponse>; + } + } +} diff --git a/types/gapi.client.spectrum/readme.md b/types/gapi.client.spectrum/readme.md new file mode 100644 index 0000000000..a31d45dad2 --- /dev/null +++ b/types/gapi.client.spectrum/readme.md @@ -0,0 +1,65 @@ +# TypeScript typings for Google Spectrum Database API v1explorer +API for spectrum-management functions. +For detailed description please check [documentation](http://developers.google.com/spectrum). + +## Installing + +Install typings for Google Spectrum Database API: +``` +npm install @types/gapi.client.spectrum@v1explorer --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('spectrum', 'v1explorer', () => { + // now we can use gapi.client.spectrum + // ... +}); +``` + + + +After that you can use Google Spectrum Database API resources: + +```typescript + +/* +Requests information about the available spectrum for a device at a location. Requests from a fixed-mode device must include owner information so the device can be registered with the database. +*/ +await gapi.client.paws.getSpectrum({ }); + +/* +The Google Spectrum Database does not support batch requests, so this method always yields an UNIMPLEMENTED error. +*/ +await gapi.client.paws.getSpectrumBatch({ }); + +/* +Initializes the connection between a white space device and the database. +*/ +await gapi.client.paws.init({ }); + +/* +Notifies the database that the device has selected certain frequency ranges for transmission. Only to be invoked when required by the regulator. The Google Spectrum Database does not operate in domains that require notification, so this always yields an UNIMPLEMENTED error. +*/ +await gapi.client.paws.notifySpectrumUse({ }); + +/* +The Google Spectrum Database implements registration in the getSpectrum method. As such this always returns an UNIMPLEMENTED error. +*/ +await gapi.client.paws.register({ }); + +/* +Validates a device for white space use in accordance with regulatory rules. The Google Spectrum Database does not support master/slave configurations, so this always yields an UNIMPLEMENTED error. +*/ +await gapi.client.paws.verifyDevice({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.spectrum/tsconfig.json b/types/gapi.client.spectrum/tsconfig.json new file mode 100644 index 0000000000..6dcfe9f1ea --- /dev/null +++ b/types/gapi.client.spectrum/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.spectrum-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.spectrum/tslint.json b/types/gapi.client.spectrum/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.spectrum/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.speech/gapi.client.speech-tests.ts b/types/gapi.client.speech/gapi.client.speech-tests.ts new file mode 100644 index 0000000000..17ab3d93c9 --- /dev/null +++ b/types/gapi.client.speech/gapi.client.speech-tests.ts @@ -0,0 +1,96 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('speech', 'v1', () => { + /** now we can use gapi.client.speech */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not + * guaranteed. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use + * Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, + * the operation is not deleted; instead, it becomes an operation with + * an Operation.error value with a google.rpc.Status.code of 1, + * corresponding to `Code.CANCELLED`. + */ + await gapi.client.operations.cancel({ + name: "name", + }); + /** + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + */ + await gapi.client.operations.delete({ + name: "name", + }); + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + await gapi.client.operations.get({ + name: "name", + }); + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding allows API services to override the binding + * to use different resource name schemes, such as `users/*/operations`. To + * override the binding, API services can add a binding such as + * `"/v1/{name=users/*}/operations"` to their service configuration. + * For backwards compatibility, the default name includes the operations + * collection id, however overriding users must ensure the name binding + * is the parent resource, without the operations collection id. + */ + await gapi.client.operations.list({ + filter: "filter", + name: "name", + pageSize: 3, + pageToken: "pageToken", + }); + /** + * Performs asynchronous speech recognition: receive results via the + * google.longrunning.Operations interface. Returns either an + * `Operation.error` or an `Operation.response` which contains + * a `LongRunningRecognizeResponse` message. + */ + await gapi.client.speech.longrunningrecognize({ + }); + /** + * Performs synchronous speech recognition: receive results after all audio + * has been sent and processed. + */ + await gapi.client.speech.recognize({ + }); + } +}); diff --git a/types/gapi.client.speech/index.d.ts b/types/gapi.client.speech/index.d.ts new file mode 100644 index 0000000000..18709d4433 --- /dev/null +++ b/types/gapi.client.speech/index.d.ts @@ -0,0 +1,455 @@ +// Type definitions for Google Google Cloud Speech API v1 1.0 +// Project: https://cloud.google.com/speech/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://speech.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Cloud Speech API v1 */ + function load(name: "speech", version: "v1"): PromiseLike<void>; + function load(name: "speech", version: "v1", callback: () => any): void; + + const operations: speech.OperationsResource; + + const speech: speech.SpeechResource; + + namespace speech { + interface ListOperationsResponse { + /** The standard List next-page token. */ + nextPageToken?: string; + /** A list of operations that matches the specified filter in the request. */ + operations?: Operation[]; + } + interface LongRunningRecognizeRequest { + /** *Required* The audio data to be recognized. */ + audio?: RecognitionAudio; + /** + * *Required* Provides information to the recognizer that specifies how to + * process the request. + */ + config?: RecognitionConfig; + } + interface Operation { + /** + * If the value is `false`, it means the operation is still in progress. + * If `true`, the operation is completed, and either `error` or `response` is + * available. + */ + done?: boolean; + /** The error result of the operation in case of failure or cancellation. */ + error?: Status; + /** + * Service-specific metadata associated with the operation. It typically + * contains progress information and common metadata such as create time. + * Some services might not provide such metadata. Any method that returns a + * long-running operation should document the metadata type, if any. + */ + metadata?: Record<string, any>; + /** + * The server-assigned name, which is only unique within the same service that + * originally returns it. If you use the default HTTP mapping, the + * `name` should have the format of `operations/some/unique/name`. + */ + name?: string; + /** + * The normal response of the operation in case of success. If the original + * method returns no data on success, such as `Delete`, the response is + * `google.protobuf.Empty`. If the original method is standard + * `Get`/`Create`/`Update`, the response should be the resource. For other + * methods, the response should have the type `XxxResponse`, where `Xxx` + * is the original method name. For example, if the original method name + * is `TakeSnapshot()`, the inferred response type is + * `TakeSnapshotResponse`. + */ + response?: Record<string, any>; + } + interface RecognitionAudio { + /** + * The audio data bytes encoded as specified in + * `RecognitionConfig`. Note: as with all bytes fields, protobuffers use a + * pure binary representation, whereas JSON representations use base64. + */ + content?: string; + /** + * URI that points to a file that contains audio data bytes as specified in + * `RecognitionConfig`. Currently, only Google Cloud Storage URIs are + * supported, which must be specified in the following format: + * `gs://bucket_name/object_name` (other URI formats return + * google.rpc.Code.INVALID_ARGUMENT). For more information, see + * [Request URIs](https://cloud.google.com/storage/docs/reference-uris). + */ + uri?: string; + } + interface RecognitionConfig { + /** + * *Optional* If `true`, the top result includes a list of words and + * the start and end time offsets (timestamps) for those words. If + * `false`, no word-level time offset information is returned. The default is + * `false`. + */ + enableWordTimeOffsets?: boolean; + /** *Required* Encoding of audio data sent in all `RecognitionAudio` messages. */ + encoding?: string; + /** + * *Required* The language of the supplied audio as a + * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. + * Example: "en-US". + * See [Language Support](https://cloud.google.com/speech/docs/languages) + * for a list of the currently supported language codes. + */ + languageCode?: string; + /** + * *Optional* Maximum number of recognition hypotheses to be returned. + * Specifically, the maximum number of `SpeechRecognitionAlternative` messages + * within each `SpeechRecognitionResult`. + * The server may return fewer than `max_alternatives`. + * Valid values are `0`-`30`. A value of `0` or `1` will return a maximum of + * one. If omitted, will return a maximum of one. + */ + maxAlternatives?: number; + /** + * *Optional* If set to `true`, the server will attempt to filter out + * profanities, replacing all but the initial character in each filtered word + * with asterisks, e.g. "f***". If set to `false` or omitted, profanities + * won't be filtered out. + */ + profanityFilter?: boolean; + /** + * *Required* Sample rate in Hertz of the audio data sent in all + * `RecognitionAudio` messages. Valid values are: 8000-48000. + * 16000 is optimal. For best results, set the sampling rate of the audio + * source to 16000 Hz. If that's not possible, use the native sample rate of + * the audio source (instead of re-sampling). + */ + sampleRateHertz?: number; + /** *Optional* A means to provide context to assist the speech recognition. */ + speechContexts?: SpeechContext[]; + } + interface RecognizeRequest { + /** *Required* The audio data to be recognized. */ + audio?: RecognitionAudio; + /** + * *Required* Provides information to the recognizer that specifies how to + * process the request. + */ + config?: RecognitionConfig; + } + interface RecognizeResponse { + /** + * *Output-only* Sequential list of transcription results corresponding to + * sequential portions of audio. + */ + results?: SpeechRecognitionResult[]; + } + interface SpeechContext { + /** + * *Optional* A list of strings containing words and phrases "hints" so that + * the speech recognition is more likely to recognize them. This can be used + * to improve the accuracy for specific words and phrases, for example, if + * specific commands are typically spoken by the user. This can also be used + * to add additional words to the vocabulary of the recognizer. See + * [usage limits](https://cloud.google.com/speech/limits#content). + */ + phrases?: string[]; + } + interface SpeechRecognitionAlternative { + /** + * *Output-only* The confidence estimate between 0.0 and 1.0. A higher number + * indicates an estimated greater likelihood that the recognized words are + * correct. This field is typically provided only for the top hypothesis, and + * only for `is_final=true` results. Clients should not rely on the + * `confidence` field as it is not guaranteed to be accurate or consistent. + * The default of 0.0 is a sentinel value indicating `confidence` was not set. + */ + confidence?: number; + /** *Output-only* Transcript text representing the words that the user spoke. */ + transcript?: string; + /** *Output-only* A list of word-specific information for each recognized word. */ + words?: WordInfo[]; + } + interface SpeechRecognitionResult { + /** + * *Output-only* May contain one or more recognition hypotheses (up to the + * maximum specified in `max_alternatives`). + * These alternatives are ordered in terms of accuracy, with the top (first) + * alternative being the most probable, as ranked by the recognizer. + */ + alternatives?: SpeechRecognitionAlternative[]; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface WordInfo { + /** + * *Output-only* Time offset relative to the beginning of the audio, + * and corresponding to the end of the spoken word. + * This field is only set if `enable_word_time_offsets=true` and only + * in the top hypothesis. + * This is an experimental feature and the accuracy of the time offset can + * vary. + */ + endTime?: string; + /** + * *Output-only* Time offset relative to the beginning of the audio, + * and corresponding to the start of the spoken word. + * This field is only set if `enable_word_time_offsets=true` and only + * in the top hypothesis. + * This is an experimental feature and the accuracy of the time offset can + * vary. + */ + startTime?: string; + /** *Output-only* The word corresponding to this set of information. */ + word?: string; + } + interface OperationsResource { + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not + * guaranteed. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use + * Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, + * the operation is not deleted; instead, it becomes an operation with + * an Operation.error value with a google.rpc.Status.code of 1, + * corresponding to `Code.CANCELLED`. + */ + cancel(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be cancelled. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be deleted. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding allows API services to override the binding + * to use different resource name schemes, such as `users/*/operations`. To + * override the binding, API services can add a binding such as + * `"/v1/{name=users/*}/operations"` to their service configuration. + * For backwards compatibility, the default name includes the operations + * collection id, however overriding users must ensure the name binding + * is the parent resource, without the operations collection id. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The standard list filter. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation's parent resource. */ + name?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The standard list page size. */ + pageSize?: number; + /** The standard list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListOperationsResponse>; + } + interface SpeechResource { + /** + * Performs asynchronous speech recognition: receive results via the + * google.longrunning.Operations interface. Returns either an + * `Operation.error` or an `Operation.response` which contains + * a `LongRunningRecognizeResponse` message. + */ + longrunningrecognize(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Performs synchronous speech recognition: receive results after all audio + * has been sent and processed. + */ + recognize(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<RecognizeResponse>; + } + } +} diff --git a/types/gapi.client.speech/readme.md b/types/gapi.client.speech/readme.md new file mode 100644 index 0000000000..644e683124 --- /dev/null +++ b/types/gapi.client.speech/readme.md @@ -0,0 +1,111 @@ +# TypeScript typings for Google Cloud Speech API v1 +Converts audio to text by applying powerful neural network models. +For detailed description please check [documentation](https://cloud.google.com/speech/). + +## Installing + +Install typings for Google Cloud Speech API: +``` +npm install @types/gapi.client.speech@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('speech', 'v1', () => { + // now we can use gapi.client.speech + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Cloud Speech API resources: + +```typescript + +/* +Starts asynchronous cancellation on a long-running operation. The server +makes a best effort to cancel the operation, but success is not +guaranteed. If the server doesn't support this method, it returns +`google.rpc.Code.UNIMPLEMENTED`. Clients can use +Operations.GetOperation or +other methods to check whether the cancellation succeeded or whether the +operation completed despite cancellation. On successful cancellation, +the operation is not deleted; instead, it becomes an operation with +an Operation.error value with a google.rpc.Status.code of 1, +corresponding to `Code.CANCELLED`. +*/ +await gapi.client.operations.cancel({ name: "name", }); + +/* +Deletes a long-running operation. This method indicates that the client is +no longer interested in the operation result. It does not cancel the +operation. If the server doesn't support this method, it returns +`google.rpc.Code.UNIMPLEMENTED`. +*/ +await gapi.client.operations.delete({ name: "name", }); + +/* +Gets the latest state of a long-running operation. Clients can use this +method to poll the operation result at intervals as recommended by the API +service. +*/ +await gapi.client.operations.get({ name: "name", }); + +/* +Lists operations that match the specified filter in the request. If the +server doesn't support this method, it returns `UNIMPLEMENTED`. + +NOTE: the `name` binding allows API services to override the binding +to use different resource name schemes, such as `users/*/operations`. To +override the binding, API services can add a binding such as +`"/v1/{name=users/*}/operations"` to their service configuration. +For backwards compatibility, the default name includes the operations +collection id, however overriding users must ensure the name binding +is the parent resource, without the operations collection id. +*/ +await gapi.client.operations.list({ }); + +/* +Performs asynchronous speech recognition: receive results via the +google.longrunning.Operations interface. Returns either an +`Operation.error` or an `Operation.response` which contains +a `LongRunningRecognizeResponse` message. +*/ +await gapi.client.speech.longrunningrecognize({ }); + +/* +Performs synchronous speech recognition: receive results after all audio +has been sent and processed. +*/ +await gapi.client.speech.recognize({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.speech/tsconfig.json b/types/gapi.client.speech/tsconfig.json new file mode 100644 index 0000000000..694c7824cb --- /dev/null +++ b/types/gapi.client.speech/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.speech-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.speech/tslint.json b/types/gapi.client.speech/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.speech/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.sqladmin/gapi.client.sqladmin-tests.ts b/types/gapi.client.sqladmin/gapi.client.sqladmin-tests.ts new file mode 100644 index 0000000000..b92cd3cb21 --- /dev/null +++ b/types/gapi.client.sqladmin/gapi.client.sqladmin-tests.ts @@ -0,0 +1,267 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('sqladmin', 'v1beta4', () => { + /** now we can use gapi.client.sqladmin */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** Manage your Google SQL Service instances */ + 'https://www.googleapis.com/auth/sqlservice.admin', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Deletes the backup taken by a backup run. */ + await gapi.client.backupRuns.delete({ + id: "id", + instance: "instance", + project: "project", + }); + /** Retrieves a resource containing information about a backup run. */ + await gapi.client.backupRuns.get({ + id: "id", + instance: "instance", + project: "project", + }); + /** Creates a new backup run on demand. This method is applicable only to Second Generation instances. */ + await gapi.client.backupRuns.insert({ + instance: "instance", + project: "project", + }); + /** Lists all backup runs associated with a given instance and configuration in the reverse chronological order of the enqueued time. */ + await gapi.client.backupRuns.list({ + instance: "instance", + maxResults: 2, + pageToken: "pageToken", + project: "project", + }); + /** Deletes a database from a Cloud SQL instance. */ + await gapi.client.databases.delete({ + database: "database", + instance: "instance", + project: "project", + }); + /** Retrieves a resource containing information about a database inside a Cloud SQL instance. */ + await gapi.client.databases.get({ + database: "database", + instance: "instance", + project: "project", + }); + /** Inserts a resource containing information about a database inside a Cloud SQL instance. */ + await gapi.client.databases.insert({ + instance: "instance", + project: "project", + }); + /** Lists databases in the specified Cloud SQL instance. */ + await gapi.client.databases.list({ + instance: "instance", + project: "project", + }); + /** Updates a resource containing information about a database inside a Cloud SQL instance. This method supports patch semantics. */ + await gapi.client.databases.patch({ + database: "database", + instance: "instance", + project: "project", + }); + /** Updates a resource containing information about a database inside a Cloud SQL instance. */ + await gapi.client.databases.update({ + database: "database", + instance: "instance", + project: "project", + }); + /** List all available database flags for Google Cloud SQL instances. */ + await gapi.client.flags.list({ + databaseVersion: "databaseVersion", + }); + /** Creates a Cloud SQL instance as a clone of the source instance. The API is not ready for Second Generation instances yet. */ + await gapi.client.instances.clone({ + instance: "instance", + project: "project", + }); + /** Deletes a Cloud SQL instance. */ + await gapi.client.instances.delete({ + instance: "instance", + project: "project", + }); + /** Exports data from a Cloud SQL instance to a Google Cloud Storage bucket as a MySQL dump file. */ + await gapi.client.instances.export({ + instance: "instance", + project: "project", + }); + /** Failover the instance to its failover replica instance. */ + await gapi.client.instances.failover({ + instance: "instance", + project: "project", + }); + /** Retrieves a resource containing information about a Cloud SQL instance. */ + await gapi.client.instances.get({ + instance: "instance", + project: "project", + }); + /** Imports data into a Cloud SQL instance from a MySQL dump file in Google Cloud Storage. */ + await gapi.client.instances.import({ + instance: "instance", + project: "project", + }); + /** Creates a new Cloud SQL instance. */ + await gapi.client.instances.insert({ + project: "project", + }); + /** Lists instances under a given project in the alphabetical order of the instance name. */ + await gapi.client.instances.list({ + filter: "filter", + maxResults: 2, + pageToken: "pageToken", + project: "project", + }); + /** + * Updates settings of a Cloud SQL instance. Caution: This is not a partial update, so you must include values for all the settings that you want to + * retain. For partial updates, use patch.. This method supports patch semantics. + */ + await gapi.client.instances.patch({ + instance: "instance", + project: "project", + }); + /** Promotes the read replica instance to be a stand-alone Cloud SQL instance. */ + await gapi.client.instances.promoteReplica({ + instance: "instance", + project: "project", + }); + /** + * Deletes all client certificates and generates a new server SSL certificate for the instance. The changes will not take effect until the instance is + * restarted. Existing instances without a server certificate will need to call this once to set a server certificate. + */ + await gapi.client.instances.resetSslConfig({ + instance: "instance", + project: "project", + }); + /** Restarts a Cloud SQL instance. */ + await gapi.client.instances.restart({ + instance: "instance", + project: "project", + }); + /** Restores a backup of a Cloud SQL instance. */ + await gapi.client.instances.restoreBackup({ + instance: "instance", + project: "project", + }); + /** Starts the replication in the read replica instance. */ + await gapi.client.instances.startReplica({ + instance: "instance", + project: "project", + }); + /** Stops the replication in the read replica instance. */ + await gapi.client.instances.stopReplica({ + instance: "instance", + project: "project", + }); + /** Truncate MySQL general and slow query log tables */ + await gapi.client.instances.truncateLog({ + instance: "instance", + project: "project", + }); + /** + * Updates settings of a Cloud SQL instance. Caution: This is not a partial update, so you must include values for all the settings that you want to + * retain. For partial updates, use patch. + */ + await gapi.client.instances.update({ + instance: "instance", + project: "project", + }); + /** Retrieves an instance operation that has been performed on an instance. */ + await gapi.client.operations.get({ + operation: "operation", + project: "project", + }); + /** Lists all instance operations that have been performed on the given Cloud SQL instance in the reverse chronological order of the start time. */ + await gapi.client.operations.list({ + instance: "instance", + maxResults: 2, + pageToken: "pageToken", + project: "project", + }); + /** + * Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use + * the certificate to authenticate as themselves when connecting to the database. + */ + await gapi.client.sslCerts.createEphemeral({ + instance: "instance", + project: "project", + }); + /** Deletes the SSL certificate. The change will not take effect until the instance is restarted. */ + await gapi.client.sslCerts.delete({ + instance: "instance", + project: "project", + sha1Fingerprint: "sha1Fingerprint", + }); + /** + * Retrieves a particular SSL certificate. Does not include the private key (required for usage). The private key must be saved from the response to + * initial creation. + */ + await gapi.client.sslCerts.get({ + instance: "instance", + project: "project", + sha1Fingerprint: "sha1Fingerprint", + }); + /** + * Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the + * instance is restarted. + */ + await gapi.client.sslCerts.insert({ + instance: "instance", + project: "project", + }); + /** Lists all of the current SSL certificates for the instance. */ + await gapi.client.sslCerts.list({ + instance: "instance", + project: "project", + }); + /** Lists all available service tiers for Google Cloud SQL, for example D1, D2. For related information, see Pricing. */ + await gapi.client.tiers.list({ + project: "project", + }); + /** Deletes a user from a Cloud SQL instance. */ + await gapi.client.users.delete({ + host: "host", + instance: "instance", + name: "name", + project: "project", + }); + /** Creates a new user in a Cloud SQL instance. */ + await gapi.client.users.insert({ + instance: "instance", + project: "project", + }); + /** Lists users in the specified Cloud SQL instance. */ + await gapi.client.users.list({ + instance: "instance", + project: "project", + }); + /** Updates an existing user in a Cloud SQL instance. */ + await gapi.client.users.update({ + host: "host", + instance: "instance", + name: "name", + project: "project", + }); + } +}); diff --git a/types/gapi.client.sqladmin/index.d.ts b/types/gapi.client.sqladmin/index.d.ts new file mode 100644 index 0000000000..de6ffd8409 --- /dev/null +++ b/types/gapi.client.sqladmin/index.d.ts @@ -0,0 +1,1731 @@ +// Type definitions for Google Cloud SQL Administration API v1beta4 1.0 +// Project: https://cloud.google.com/sql/docs/reference/latest +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/sqladmin/v1beta4/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Cloud SQL Administration API v1beta4 */ + function load(name: "sqladmin", version: "v1beta4"): PromiseLike<void>; + function load(name: "sqladmin", version: "v1beta4", callback: () => any): void; + + const backupRuns: sqladmin.BackupRunsResource; + + const databases: sqladmin.DatabasesResource; + + const flags: sqladmin.FlagsResource; + + const instances: sqladmin.InstancesResource; + + const operations: sqladmin.OperationsResource; + + const sslCerts: sqladmin.SslCertsResource; + + const tiers: sqladmin.TiersResource; + + const users: sqladmin.UsersResource; + + namespace sqladmin { + interface AclEntry { + /** The time when this access control entry expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. */ + expirationTime?: string; + /** This is always sql#aclEntry. */ + kind?: string; + /** An optional label to identify this entry. */ + name?: string; + /** The whitelisted value for the access control list. */ + value?: string; + } + interface BackupConfiguration { + /** Whether binary log is enabled. If backup configuration is disabled, binary log must be disabled as well. */ + binaryLogEnabled?: boolean; + /** Whether this configuration is enabled. */ + enabled?: boolean; + /** This is always sql#backupConfiguration. */ + kind?: string; + /** Start time for the daily backup configuration in UTC timezone in the 24 hour format - HH:MM. */ + startTime?: string; + } + interface BackupRun { + /** The description of this run, only applicable to on-demand backups. */ + description?: string; + /** The time the backup operation completed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. */ + endTime?: string; + /** The time the run was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. */ + enqueuedTime?: string; + /** Information about why the backup operation failed. This is only present if the run has the FAILED status. */ + error?: OperationError; + /** A unique identifier for this backup run. Note that this is unique only within the scope of a particular Cloud SQL instance. */ + id?: string; + /** Name of the database instance. */ + instance?: string; + /** This is always sql#backupRun. */ + kind?: string; + /** The URI of this resource. */ + selfLink?: string; + /** The time the backup operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. */ + startTime?: string; + /** The status of this run. */ + status?: string; + /** The type of this run; can be either "AUTOMATED" or "ON_DEMAND". */ + type?: string; + /** The start time of the backup window during which this the backup was attempted in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. */ + windowStartTime?: string; + } + interface BackupRunsListResponse { + /** A list of backup runs in reverse chronological order of the enqueued time. */ + items?: BackupRun[]; + /** This is always sql#backupRunsList. */ + kind?: string; + /** The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */ + nextPageToken?: string; + } + interface BinLogCoordinates { + /** Name of the binary log file for a Cloud SQL instance. */ + binLogFileName?: string; + /** Position (offset) within the binary log file. */ + binLogPosition?: string; + /** This is always sql#binLogCoordinates. */ + kind?: string; + } + interface CloneContext { + /** + * Binary log coordinates, if specified, indentify the the position up to which the source instance should be cloned. If not specified, the source + * instance is cloned up to the most recent binary log coordintes. + */ + binLogCoordinates?: BinLogCoordinates; + /** Name of the Cloud SQL instance to be created as a clone. */ + destinationInstanceName?: string; + /** This is always sql#cloneContext. */ + kind?: string; + } + interface Database { + /** The MySQL charset value. */ + charset?: string; + /** The MySQL collation value. */ + collation?: string; + /** HTTP 1.1 Entity tag for the resource. */ + etag?: string; + /** The name of the Cloud SQL instance. This does not include the project ID. */ + instance?: string; + /** This is always sql#database. */ + kind?: string; + /** The name of the database in the Cloud SQL instance. This does not include the project ID or instance name. */ + name?: string; + /** The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. */ + project?: string; + /** The URI of this resource. */ + selfLink?: string; + } + interface DatabaseFlags { + /** + * The name of the flag. These flags are passed at instance startup, so include both MySQL server options and MySQL system variables. Flags should be + * specified with underscores, not hyphens. For more information, see Configuring MySQL Flags in the Google Cloud SQL documentation, as well as the + * official MySQL documentation for server options and system variables. + */ + name?: string; + /** The value of the flag. Booleans should be set to on for true and off for false. This field must be omitted if the flag doesn't take a value. */ + value?: string; + } + interface DatabaseInstance { + /** + * FIRST_GEN: Basic Cloud SQL instance that runs in a Google-managed container. + * SECOND_GEN: A newer Cloud SQL backend that runs in a Compute Engine VM. + * EXTERNAL: A MySQL server that is not managed by Google. + */ + backendType?: string; + /** Connection name of the Cloud SQL instance used in connection strings. */ + connectionName?: string; + /** + * The current disk usage of the instance in bytes. This property has been deprecated. Users should use the + * "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud Monitoring API instead. Please see + * https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ for details. + */ + currentDiskSize?: string; + /** + * The database engine type and version. The databaseVersion field can not be changed after instance creation. MySQL Second Generation instances: + * MYSQL_5_7 (default) or MYSQL_5_6. PostgreSQL instances: POSTGRES_9_6 MySQL First Generation instances: MYSQL_5_6 (default) or MYSQL_5_5 + */ + databaseVersion?: string; + /** HTTP 1.1 Entity tag for the resource. */ + etag?: string; + /** The name and status of the failover replica. This property is applicable only to Second Generation instances. */ + failoverReplica?: { + /** + * The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The master can only failover to the + * falover replica when the status is true. + */ + available?: boolean; + /** + * The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the + * project ID. This property is applicable only to Second Generation instances. + */ + name?: string; + }; + /** + * The GCE zone that the instance is serving from. In case when the instance is failed over to standby zone, this value may be different with what user + * specified in the settings. + */ + gceZone?: string; + /** + * The instance type. This can be one of the following. + * CLOUD_SQL_INSTANCE: A Cloud SQL instance that is not replicating from a master. + * ON_PREMISES_INSTANCE: An instance running on the customer's premises. + * READ_REPLICA_INSTANCE: A Cloud SQL instance configured as a read-replica. + */ + instanceType?: string; + /** The assigned IP addresses for the instance. */ + ipAddresses?: IpMapping[]; + /** The IPv6 address assigned to the instance. This property is applicable only to First Generation instances. */ + ipv6Address?: string; + /** This is always sql#instance. */ + kind?: string; + /** The name of the instance which will act as master in the replication setup. */ + masterInstanceName?: string; + /** The maximum disk size of the instance in bytes. */ + maxDiskSize?: string; + /** Name of the Cloud SQL instance. This does not include the project ID. */ + name?: string; + /** Configuration specific to on-premises instances. */ + onPremisesConfiguration?: OnPremisesConfiguration; + /** The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable. */ + project?: string; + /** + * The geographical region. Can be us-central (FIRST_GEN instances only), us-central1 (SECOND_GEN instances only), asia-east1 or europe-west1. Defaults to + * us-central or us-central1 depending on the instance type (First Generation or Second Generation). The region can not be changed after instance + * creation. + */ + region?: string; + /** Configuration specific to read-replicas replicating from on-premises masters. */ + replicaConfiguration?: ReplicaConfiguration; + /** The replicas of the instance. */ + replicaNames?: string[]; + /** The URI of this resource. */ + selfLink?: string; + /** SSL configuration. */ + serverCaCert?: SslCert; + /** The service account email address assigned to the instance. This property is applicable only to Second Generation instances. */ + serviceAccountEmailAddress?: string; + /** The user settings. */ + settings?: Settings; + /** + * The current serving state of the Cloud SQL instance. This can be one of the following. + * RUNNABLE: The instance is running, or is ready to run when accessed. + * SUSPENDED: The instance is not available, for example due to problems with billing. + * PENDING_CREATE: The instance is being created. + * MAINTENANCE: The instance is down for maintenance. + * FAILED: The instance creation failed. + * UNKNOWN_STATE: The state of the instance is unknown. + */ + state?: string; + /** If the instance state is SUSPENDED, the reason for the suspension. */ + suspensionReason?: string[]; + } + interface DatabasesListResponse { + /** List of database resources in the instance. */ + items?: Database[]; + /** This is always sql#databasesList. */ + kind?: string; + } + interface ExportContext { + /** Options for exporting data as CSV. */ + csvExportOptions?: { + /** The select query used to extract the data. */ + selectQuery?: string; + }; + /** + * Databases (for example, guestbook) from which the export is made. If fileType is SQL and no database is specified, all databases are exported. If + * fileType is CSV, you can optionally specify at most one database to export. If csvExportOptions.selectQuery also specifies the database, this field + * will be ignored. + */ + databases?: string[]; + /** + * The file type for the specified uri. + * SQL: The file contains SQL statements. + * CSV: The file contains CSV data. + */ + fileType?: string; + /** This is always sql#exportContext. */ + kind?: string; + /** Options for exporting data as SQL statements. */ + sqlExportOptions?: { + /** Export only schemas. */ + schemaOnly?: boolean; + /** Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. */ + tables?: string[]; + }; + /** + * The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form gs://bucketName/fileName. If the file already + * exists, the operation fails. If fileType is SQL and the filename ends with .gz, the contents are compressed. + */ + uri?: string; + } + interface FailoverContext { + /** This is always sql#failoverContext. */ + kind?: string; + /** The current settings version of this instance. Request will be rejected if this version doesn't match the current settings version. */ + settingsVersion?: string; + } + interface Flag { + /** For STRING flags, a list of strings that the value can be set to. */ + allowedStringValues?: string[]; + /** The database version this flag applies to. Can be MYSQL_5_5, MYSQL_5_6, or MYSQL_5_7. MYSQL_5_7 is applicable only to Second Generation instances. */ + appliesTo?: string[]; + /** This is always sql#flag. */ + kind?: string; + /** For INTEGER flags, the maximum allowed value. */ + maxValue?: string; + /** For INTEGER flags, the minimum allowed value. */ + minValue?: string; + /** This is the name of the flag. Flag names always use underscores, not hyphens, e.g. max_allowed_packet */ + name?: string; + /** Indicates whether changing this flag will trigger a database restart. Only applicable to Second Generation instances. */ + requiresRestart?: boolean; + /** + * The type of the flag. Flags are typed to being BOOLEAN, STRING, INTEGER or NONE. NONE is used for flags which do not take a value, such as + * skip_grant_tables. + */ + type?: string; + } + interface FlagsListResponse { + /** List of flags. */ + items?: Flag[]; + /** This is always sql#flagsList. */ + kind?: string; + } + interface ImportContext { + /** Options for importing data as CSV. */ + csvImportOptions?: { + /** The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data. */ + columns?: string[]; + /** The table to which CSV data is imported. */ + table?: string; + }; + /** + * The database (for example, guestbook) to which the import is made. If fileType is SQL and no database is specified, it is assumed that the database is + * specified in the file to be imported. If fileType is CSV, it must be specified. + */ + database?: string; + /** + * The file type for the specified uri. + * SQL: The file contains SQL statements. + * CSV: The file contains CSV data. + */ + fileType?: string; + /** The PostgreSQL user for this import operation. Defaults to cloudsqlsuperuser. Used only for PostgreSQL instances. */ + importUser?: string; + /** This is always sql#importContext. */ + kind?: string; + /** + * A path to the file in Google Cloud Storage from which the import is made. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) + * are supported when fileType is SQL. + */ + uri?: string; + } + interface InstancesCloneRequest { + /** Contains details about the clone operation. */ + cloneContext?: CloneContext; + } + interface InstancesExportRequest { + /** Contains details about the export operation. */ + exportContext?: ExportContext; + } + interface InstancesFailoverRequest { + /** Failover Context. */ + failoverContext?: FailoverContext; + } + interface InstancesImportRequest { + /** Contains details about the import operation. */ + importContext?: ImportContext; + } + interface InstancesListResponse { + /** List of database instance resources. */ + items?: DatabaseInstance[]; + /** This is always sql#instancesList. */ + kind?: string; + /** The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */ + nextPageToken?: string; + } + interface InstancesRestoreBackupRequest { + /** Parameters required to perform the restore backup operation. */ + restoreBackupContext?: RestoreBackupContext; + } + interface InstancesTruncateLogRequest { + /** Contains details about the truncate log operation. */ + truncateLogContext?: TruncateLogContext; + } + interface IpConfiguration { + /** + * The list of external networks that are allowed to connect to the instance using the IP. In CIDR notation, also known as 'slash' notation (e.g. + * 192.168.100.0/24). + */ + authorizedNetworks?: AclEntry[]; + /** Whether the instance should be assigned an IP address or not. */ + ipv4Enabled?: boolean; + /** Whether SSL connections over IP should be enforced or not. */ + requireSsl?: boolean; + } + interface IpMapping { + /** The IP address assigned. */ + ipAddress?: string; + /** + * The due time for this IP to be retired in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. This field is only available when the IP is scheduled + * to be retired. + */ + timeToRetire?: string; + /** + * The type of this IP address. A PRIMARY address is an address that can accept incoming connections. An OUTGOING address is the source address of + * connections originating from the instance, if supported. + */ + type?: string; + } + interface LocationPreference { + /** The AppEngine application to follow, it must be in the same region as the Cloud SQL instance. */ + followGaeApplication?: string; + /** This is always sql#locationPreference. */ + kind?: string; + /** The preferred Compute Engine zone (e.g. us-centra1-a, us-central1-b, etc.). */ + zone?: string; + } + interface MaintenanceWindow { + /** day of week (1-7), starting on Monday. */ + day?: number; + /** hour of day - 0 to 23. */ + hour?: number; + /** This is always sql#maintenanceWindow. */ + kind?: string; + updateTrack?: string; + } + interface MySqlReplicaConfiguration { + /** PEM representation of the trusted CA's x509 certificate. */ + caCertificate?: string; + /** PEM representation of the slave's x509 certificate. */ + clientCertificate?: string; + /** PEM representation of the slave's private key. The corresponsing public key is encoded in the client's certificate. */ + clientKey?: string; + /** Seconds to wait between connect retries. MySQL's default is 60 seconds. */ + connectRetryInterval?: number; + /** + * Path to a SQL dump file in Google Cloud Storage from which the slave instance is to be created. The URI is in the form gs://bucketName/fileName. + * Compressed gzip files (.gz) are also supported. Dumps should have the binlog co-ordinates from which replication should begin. This can be accomplished + * by setting --master-data to 1 when using mysqldump. + */ + dumpFilePath?: string; + /** This is always sql#mysqlReplicaConfiguration. */ + kind?: string; + /** Interval in milliseconds between replication heartbeats. */ + masterHeartbeatPeriod?: string; + /** The password for the replication connection. */ + password?: string; + /** A list of permissible ciphers to use for SSL encryption. */ + sslCipher?: string; + /** The username for the replication connection. */ + username?: string; + /** Whether or not to check the master's Common Name value in the certificate that it sends during the SSL handshake. */ + verifyServerCertificate?: boolean; + } + interface OnPremisesConfiguration { + /** The host and port of the on-premises instance in host:port format */ + hostPort?: string; + /** This is always sql#onPremisesConfiguration. */ + kind?: string; + } + interface Operation { + /** The time this operation finished in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. */ + endTime?: string; + /** If errors occurred during processing of this operation, this field will be populated. */ + error?: OperationErrors; + /** The context for export operation, if applicable. */ + exportContext?: ExportContext; + /** The context for import operation, if applicable. */ + importContext?: ImportContext; + /** The time this operation was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. */ + insertTime?: string; + /** This is always sql#operation. */ + kind?: string; + /** + * An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the + * operation. + */ + name?: string; + /** + * The type of the operation. Valid values are CREATE, DELETE, UPDATE, RESTART, IMPORT, EXPORT, BACKUP_VOLUME, RESTORE_VOLUME, CREATE_USER, DELETE_USER, + * CREATE_DATABASE, DELETE_DATABASE . + */ + operationType?: string; + /** The URI of this resource. */ + selfLink?: string; + /** The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. */ + startTime?: string; + /** The status of an operation. Valid values are PENDING, RUNNING, DONE, UNKNOWN. */ + status?: string; + /** Name of the database instance related to this operation. */ + targetId?: string; + targetLink?: string; + /** The project ID of the target instance related to this operation. */ + targetProject?: string; + /** The email address of the user who initiated this operation. */ + user?: string; + } + interface OperationError { + /** Identifies the specific error that occurred. */ + code?: string; + /** This is always sql#operationError. */ + kind?: string; + /** Additional information about the error encountered. */ + message?: string; + } + interface OperationErrors { + /** The list of errors encountered while processing this operation. */ + errors?: OperationError[]; + /** This is always sql#operationErrors. */ + kind?: string; + } + interface OperationsListResponse { + /** List of operation resources. */ + items?: Operation[]; + /** This is always sql#operationsList. */ + kind?: string; + /** The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */ + nextPageToken?: string; + } + interface ReplicaConfiguration { + /** + * Specifies if the replica is the failover target. If the field is set to true the replica will be designated as a failover replica. In case the master + * instance fails, the replica instance will be promoted as the new master instance. + * Only one replica can be specified as failover target, and the replica has to be in different zone with the master instance. + */ + failoverTarget?: boolean; + /** This is always sql#replicaConfiguration. */ + kind?: string; + /** + * MySQL specific configuration when replicating from a MySQL on-premises master. Replication configuration information such as the username, password, + * certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is + * stored by MySQL in a file named master.info in the data directory. + */ + mysqlReplicaConfiguration?: MySqlReplicaConfiguration; + } + interface RestoreBackupContext { + /** The ID of the backup run to restore from. */ + backupRunId?: string; + /** The ID of the instance that the backup was taken from. */ + instanceId?: string; + /** This is always sql#restoreBackupContext. */ + kind?: string; + } + interface Settings { + /** + * The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. The activation policy cannot + * be updated together with other settings for Second Generation instances. Valid values: + * ALWAYS: The instance is on; it is not deactivated by inactivity. + * NEVER: The instance is off; it is not activated, even if a connection request arrives. + * ON_DEMAND: The instance responds to incoming requests, and turns itself off when not in use. Instances with PER_USE pricing turn off after 15 minutes + * of inactivity. Instances with PER_PACKAGE pricing turn off after 12 hours of inactivity. + */ + activationPolicy?: string; + /** The App Engine app IDs that can access this instance. This property is only applicable to First Generation instances. */ + authorizedGaeApplications?: string[]; + /** Reserved for future use. */ + availabilityType?: string; + /** The daily backup configuration for the instance. */ + backupConfiguration?: BackupConfiguration; + /** + * Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property is only + * applicable to First Generation instances. + */ + crashSafeReplicationEnabled?: boolean; + /** The size of data disk, in GB. The data disk size minimum is 10GB. Applies only to Second Generation instances. */ + dataDiskSizeGb?: string; + /** The type of data disk. Only supported for Second Generation instances. The default type is PD_SSD. Applies only to Second Generation instances. */ + dataDiskType?: string; + /** The database flags passed to the instance at startup. */ + databaseFlags?: DatabaseFlags[]; + /** Configuration specific to read replica instances. Indicates whether replication is enabled or not. */ + databaseReplicationEnabled?: boolean; + /** + * The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The + * IPv4 address cannot be disabled for Second Generation instances. + */ + ipConfiguration?: IpConfiguration; + /** This is always sql#settings. */ + kind?: string; + /** + * The location preference settings. This allows the instance to be located as near as possible to either an App Engine app or GCE zone for better + * performance. App Engine co-location is only applicable to First Generation instances. + */ + locationPreference?: LocationPreference; + /** + * The maintenance window for this instance. This specifies when the instance may be restarted for maintenance purposes. Applies only to Second Generation + * instances. + */ + maintenanceWindow?: MaintenanceWindow; + /** The pricing plan for this instance. This can be either PER_USE or PACKAGE. Only PER_USE is supported for Second Generation instances. */ + pricingPlan?: string; + /** + * The type of replication this instance uses. This can be either ASYNCHRONOUS or SYNCHRONOUS. This property is only applicable to First Generation + * instances. + */ + replicationType?: string; + /** + * The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use + * the most recent settingsVersion value for this instance and do not try to update this value. + */ + settingsVersion?: string; + /** Configuration to increase storage size automatically. The default value is true. Applies only to Second Generation instances. */ + storageAutoResize?: boolean; + /** + * The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit. Applies only + * to Second Generation instances. + */ + storageAutoResizeLimit?: string; + /** The tier of service for this instance, for example D1, D2. For more information, see pricing. */ + tier?: string; + /** User-provided labels, represented as a dictionary where each label is a single key value pair. */ + userLabels?: Record<string, string>; + } + interface SslCert { + /** PEM representation. */ + cert?: string; + /** Serial number, as extracted from the certificate. */ + certSerialNumber?: string; + /** User supplied name. Constrained to [a-zA-Z.-_ ]+. */ + commonName?: string; + /** The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z */ + createTime?: string; + /** The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. */ + expirationTime?: string; + /** Name of the database instance. */ + instance?: string; + /** This is always sql#sslCert. */ + kind?: string; + /** The URI of this resource. */ + selfLink?: string; + /** Sha1 Fingerprint. */ + sha1Fingerprint?: string; + } + interface SslCertDetail { + /** The public information about the cert. */ + certInfo?: SslCert; + /** The private key for the client cert, in pem format. Keep private in order to protect your security. */ + certPrivateKey?: string; + } + interface SslCertsCreateEphemeralRequest { + /** PEM encoded public key to include in the signed certificate. */ + public_key?: string; + } + interface SslCertsInsertRequest { + /** + * User supplied name. Must be a distinct name from the other certificates for this instance. New certificates will not be usable until the instance is + * restarted. + */ + commonName?: string; + } + interface SslCertsInsertResponse { + /** The new client certificate and private key. The new certificate will not work until the instance is restarted for First Generation instances. */ + clientCert?: SslCertDetail; + /** This is always sql#sslCertsInsert. */ + kind?: string; + /** The operation to track the ssl certs insert request. */ + operation?: Operation; + /** + * The server Certificate Authority's certificate. If this is missing you can force a new one to be generated by calling resetSslConfig method on + * instances resource. + */ + serverCaCert?: SslCert; + } + interface SslCertsListResponse { + /** List of client certificates for the instance. */ + items?: SslCert[]; + /** This is always sql#sslCertsList. */ + kind?: string; + } + interface Tier { + /** The maximum disk size of this tier in bytes. */ + DiskQuota?: string; + /** The maximum RAM usage of this tier in bytes. */ + RAM?: string; + /** This is always sql#tier. */ + kind?: string; + /** The applicable regions for this tier. */ + region?: string[]; + /** An identifier for the service tier, for example D1, D2 etc. For related information, see Pricing. */ + tier?: string; + } + interface TiersListResponse { + /** List of tiers. */ + items?: Tier[]; + /** This is always sql#tiersList. */ + kind?: string; + } + interface TruncateLogContext { + /** This is always sql#truncateLogContext. */ + kind?: string; + /** The type of log to truncate. Valid values are MYSQL_GENERAL_TABLE and MYSQL_SLOW_TABLE. */ + logType?: string; + } + interface User { + /** HTTP 1.1 Entity tag for the resource. */ + etag?: string; + /** + * The host name from which the user can connect. For insert operations, host defaults to an empty string. For update operations, host is specified as + * part of the request URL. The host name cannot be updated after insertion. + */ + host?: string; + /** The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for update since it is already specified on the URL. */ + instance?: string; + /** This is always sql#user. */ + kind?: string; + /** The name of the user in the Cloud SQL instance. Can be omitted for update since it is already specified on the URL. */ + name?: string; + /** The password for the user. */ + password?: string; + /** + * The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for update since it + * is already specified on the URL. + */ + project?: string; + } + interface UsersListResponse { + /** List of user resources in the instance. */ + items?: User[]; + /** This is always sql#usersList. */ + kind?: string; + /** + * An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the + * operation. + */ + nextPageToken?: string; + } + interface BackupRunsResource { + /** Deletes the backup taken by a backup run. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the Backup Run to delete. To find a Backup Run ID, use the list method. */ + id: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves a resource containing information about a backup run. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of this Backup Run. */ + id: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<BackupRun>; + /** Creates a new backup run on demand. This method is applicable only to Second Generation instances. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Lists all backup runs associated with a given instance and configuration in the reverse chronological order of the enqueued time. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of backup runs per response. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** A previously-returned page token representing part of the larger set of results to view. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<BackupRunsListResponse>; + } + interface DatabasesResource { + /** Deletes a database from a Cloud SQL instance. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the database to be deleted in the instance. */ + database: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Database instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves a resource containing information about a database inside a Cloud SQL instance. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the database in the instance. */ + database: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Database instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Database>; + /** Inserts a resource containing information about a database inside a Cloud SQL instance. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Database instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Lists databases in the specified Cloud SQL instance. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project for which to list Cloud SQL instances. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DatabasesListResponse>; + /** Updates a resource containing information about a database inside a Cloud SQL instance. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the database to be updated in the instance. */ + database: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Database instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Updates a resource containing information about a database inside a Cloud SQL instance. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the database to be updated in the instance. */ + database: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Database instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface FlagsResource { + /** List all available database flags for Google Cloud SQL instances. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Database version for flag retrieval. Flags are specific to the database version. */ + databaseVersion?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FlagsListResponse>; + } + interface InstancesResource { + /** Creates a Cloud SQL instance as a clone of the source instance. The API is not ready for Second Generation instances yet. */ + clone(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the source as well as the clone Cloud SQL instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Deletes a Cloud SQL instance. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance to be deleted. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Exports data from a Cloud SQL instance to a Google Cloud Storage bucket as a MySQL dump file. */ + export(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance to be exported. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Failover the instance to its failover replica instance. */ + failover(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** ID of the project that contains the read replica. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Retrieves a resource containing information about a Cloud SQL instance. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Database instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<DatabaseInstance>; + /** Imports data into a Cloud SQL instance from a MySQL dump file in Google Cloud Storage. */ + import(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Creates a new Cloud SQL instance. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project to which the newly created Cloud SQL instances should belong. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Lists instances under a given project in the alphabetical order of the instance name. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** An expression for filtering the results of the request, such as by name or label. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of results to return per response. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** A previously-returned page token representing part of the larger set of results to view. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project for which to list Cloud SQL instances. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<InstancesListResponse>; + /** + * Updates settings of a Cloud SQL instance. Caution: This is not a partial update, so you must include values for all the settings that you want to + * retain. For partial updates, use patch.. This method supports patch semantics. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Promotes the read replica instance to be a stand-alone Cloud SQL instance. */ + promoteReplica(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL read replica instance name. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** ID of the project that contains the read replica. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** + * Deletes all client certificates and generates a new server SSL certificate for the instance. The changes will not take effect until the instance is + * restarted. Existing instances without a server certificate will need to call this once to set a server certificate. + */ + resetSslConfig(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Restarts a Cloud SQL instance. */ + restart(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance to be restarted. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Restores a backup of a Cloud SQL instance. */ + restoreBackup(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Starts the replication in the read replica instance. */ + startReplica(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL read replica instance name. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** ID of the project that contains the read replica. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Stops the replication in the read replica instance. */ + stopReplica(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL read replica instance name. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** ID of the project that contains the read replica. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Truncate MySQL general and slow query log tables */ + truncateLog(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the Cloud SQL project. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** + * Updates settings of a Cloud SQL instance. Caution: This is not a partial update, so you must include values for all the settings that you want to + * retain. For partial updates, use patch. + */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + interface OperationsResource { + /** Retrieves an instance operation that has been performed on an instance. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Instance operation ID. */ + operation: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Lists all instance operations that have been performed on the given Cloud SQL instance in the reverse chronological order of the start time. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of operations per response. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** A previously-returned page token representing part of the larger set of results to view. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<OperationsListResponse>; + } + interface SslCertsResource { + /** + * Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use + * the certificate to authenticate as themselves when connecting to the database. + */ + createEphemeral(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the Cloud SQL project. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SslCert>; + /** Deletes the SSL certificate. The change will not take effect until the instance is restarted. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance to be deleted. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Sha1 FingerPrint. */ + sha1Fingerprint: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** + * Retrieves a particular SSL certificate. Does not include the private key (required for usage). The private key must be saved from the response to + * initial creation. + */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Sha1 FingerPrint. */ + sha1Fingerprint: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SslCert>; + /** + * Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the + * instance is restarted. + */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project to which the newly created Cloud SQL instances should belong. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SslCertsInsertResponse>; + /** Lists all of the current SSL certificates for the instance. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Cloud SQL instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project for which to list Cloud SQL instances. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SslCertsListResponse>; + } + interface TiersResource { + /** Lists all available service tiers for Google Cloud SQL, for example D1, D2. For related information, see Pricing. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project for which to list tiers. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TiersListResponse>; + } + interface UsersResource { + /** Deletes a user from a Cloud SQL instance. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Host of the user in the instance. */ + host: string; + /** Database instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Name of the user in the instance. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Creates a new user in a Cloud SQL instance. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Database instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + /** Lists users in the specified Cloud SQL instance. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Database instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UsersListResponse>; + /** Updates an existing user in a Cloud SQL instance. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Host of the user in the instance. */ + host: string; + /** Database instance ID. This does not include the project ID. */ + instance: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Name of the user in the instance. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID of the project that contains the instance. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Operation>; + } + } +} diff --git a/types/gapi.client.sqladmin/readme.md b/types/gapi.client.sqladmin/readme.md new file mode 100644 index 0000000000..ae6e76a81b --- /dev/null +++ b/types/gapi.client.sqladmin/readme.md @@ -0,0 +1,257 @@ +# TypeScript typings for Cloud SQL Administration API v1beta4 +Creates and configures Cloud SQL instances, which provide fully-managed MySQL databases. +For detailed description please check [documentation](https://cloud.google.com/sql/docs/reference/latest). + +## Installing + +Install typings for Cloud SQL Administration API: +``` +npm install @types/gapi.client.sqladmin@v1beta4 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('sqladmin', 'v1beta4', () => { + // now we can use gapi.client.sqladmin + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // Manage your Google SQL Service instances + 'https://www.googleapis.com/auth/sqlservice.admin', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Cloud SQL Administration API resources: + +```typescript + +/* +Deletes the backup taken by a backup run. +*/ +await gapi.client.backupRuns.delete({ id: "id", instance: "instance", project: "project", }); + +/* +Retrieves a resource containing information about a backup run. +*/ +await gapi.client.backupRuns.get({ id: "id", instance: "instance", project: "project", }); + +/* +Creates a new backup run on demand. This method is applicable only to Second Generation instances. +*/ +await gapi.client.backupRuns.insert({ instance: "instance", project: "project", }); + +/* +Lists all backup runs associated with a given instance and configuration in the reverse chronological order of the enqueued time. +*/ +await gapi.client.backupRuns.list({ instance: "instance", project: "project", }); + +/* +Deletes a database from a Cloud SQL instance. +*/ +await gapi.client.databases.delete({ database: "database", instance: "instance", project: "project", }); + +/* +Retrieves a resource containing information about a database inside a Cloud SQL instance. +*/ +await gapi.client.databases.get({ database: "database", instance: "instance", project: "project", }); + +/* +Inserts a resource containing information about a database inside a Cloud SQL instance. +*/ +await gapi.client.databases.insert({ instance: "instance", project: "project", }); + +/* +Lists databases in the specified Cloud SQL instance. +*/ +await gapi.client.databases.list({ instance: "instance", project: "project", }); + +/* +Updates a resource containing information about a database inside a Cloud SQL instance. This method supports patch semantics. +*/ +await gapi.client.databases.patch({ database: "database", instance: "instance", project: "project", }); + +/* +Updates a resource containing information about a database inside a Cloud SQL instance. +*/ +await gapi.client.databases.update({ database: "database", instance: "instance", project: "project", }); + +/* +List all available database flags for Google Cloud SQL instances. +*/ +await gapi.client.flags.list({ }); + +/* +Creates a Cloud SQL instance as a clone of the source instance. The API is not ready for Second Generation instances yet. +*/ +await gapi.client.instances.clone({ instance: "instance", project: "project", }); + +/* +Deletes a Cloud SQL instance. +*/ +await gapi.client.instances.delete({ instance: "instance", project: "project", }); + +/* +Exports data from a Cloud SQL instance to a Google Cloud Storage bucket as a MySQL dump file. +*/ +await gapi.client.instances.export({ instance: "instance", project: "project", }); + +/* +Failover the instance to its failover replica instance. +*/ +await gapi.client.instances.failover({ instance: "instance", project: "project", }); + +/* +Retrieves a resource containing information about a Cloud SQL instance. +*/ +await gapi.client.instances.get({ instance: "instance", project: "project", }); + +/* +Imports data into a Cloud SQL instance from a MySQL dump file in Google Cloud Storage. +*/ +await gapi.client.instances.import({ instance: "instance", project: "project", }); + +/* +Creates a new Cloud SQL instance. +*/ +await gapi.client.instances.insert({ project: "project", }); + +/* +Lists instances under a given project in the alphabetical order of the instance name. +*/ +await gapi.client.instances.list({ project: "project", }); + +/* +Updates settings of a Cloud SQL instance. Caution: This is not a partial update, so you must include values for all the settings that you want to retain. For partial updates, use patch.. This method supports patch semantics. +*/ +await gapi.client.instances.patch({ instance: "instance", project: "project", }); + +/* +Promotes the read replica instance to be a stand-alone Cloud SQL instance. +*/ +await gapi.client.instances.promoteReplica({ instance: "instance", project: "project", }); + +/* +Deletes all client certificates and generates a new server SSL certificate for the instance. The changes will not take effect until the instance is restarted. Existing instances without a server certificate will need to call this once to set a server certificate. +*/ +await gapi.client.instances.resetSslConfig({ instance: "instance", project: "project", }); + +/* +Restarts a Cloud SQL instance. +*/ +await gapi.client.instances.restart({ instance: "instance", project: "project", }); + +/* +Restores a backup of a Cloud SQL instance. +*/ +await gapi.client.instances.restoreBackup({ instance: "instance", project: "project", }); + +/* +Starts the replication in the read replica instance. +*/ +await gapi.client.instances.startReplica({ instance: "instance", project: "project", }); + +/* +Stops the replication in the read replica instance. +*/ +await gapi.client.instances.stopReplica({ instance: "instance", project: "project", }); + +/* +Truncate MySQL general and slow query log tables +*/ +await gapi.client.instances.truncateLog({ instance: "instance", project: "project", }); + +/* +Updates settings of a Cloud SQL instance. Caution: This is not a partial update, so you must include values for all the settings that you want to retain. For partial updates, use patch. +*/ +await gapi.client.instances.update({ instance: "instance", project: "project", }); + +/* +Retrieves an instance operation that has been performed on an instance. +*/ +await gapi.client.operations.get({ operation: "operation", project: "project", }); + +/* +Lists all instance operations that have been performed on the given Cloud SQL instance in the reverse chronological order of the start time. +*/ +await gapi.client.operations.list({ instance: "instance", project: "project", }); + +/* +Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database. +*/ +await gapi.client.sslCerts.createEphemeral({ instance: "instance", project: "project", }); + +/* +Deletes the SSL certificate. The change will not take effect until the instance is restarted. +*/ +await gapi.client.sslCerts.delete({ instance: "instance", project: "project", sha1Fingerprint: "sha1Fingerprint", }); + +/* +Retrieves a particular SSL certificate. Does not include the private key (required for usage). The private key must be saved from the response to initial creation. +*/ +await gapi.client.sslCerts.get({ instance: "instance", project: "project", sha1Fingerprint: "sha1Fingerprint", }); + +/* +Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the instance is restarted. +*/ +await gapi.client.sslCerts.insert({ instance: "instance", project: "project", }); + +/* +Lists all of the current SSL certificates for the instance. +*/ +await gapi.client.sslCerts.list({ instance: "instance", project: "project", }); + +/* +Lists all available service tiers for Google Cloud SQL, for example D1, D2. For related information, see Pricing. +*/ +await gapi.client.tiers.list({ project: "project", }); + +/* +Deletes a user from a Cloud SQL instance. +*/ +await gapi.client.users.delete({ host: "host", instance: "instance", name: "name", project: "project", }); + +/* +Creates a new user in a Cloud SQL instance. +*/ +await gapi.client.users.insert({ instance: "instance", project: "project", }); + +/* +Lists users in the specified Cloud SQL instance. +*/ +await gapi.client.users.list({ instance: "instance", project: "project", }); + +/* +Updates an existing user in a Cloud SQL instance. +*/ +await gapi.client.users.update({ host: "host", instance: "instance", name: "name", project: "project", }); +``` \ No newline at end of file diff --git a/types/gapi.client.sqladmin/tsconfig.json b/types/gapi.client.sqladmin/tsconfig.json new file mode 100644 index 0000000000..a8bd3bb164 --- /dev/null +++ b/types/gapi.client.sqladmin/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.sqladmin-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.sqladmin/tslint.json b/types/gapi.client.sqladmin/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.sqladmin/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.storage/gapi.client.storage-tests.ts b/types/gapi.client.storage/gapi.client.storage-tests.ts new file mode 100644 index 0000000000..de4055c80f --- /dev/null +++ b/types/gapi.client.storage/gapi.client.storage-tests.ts @@ -0,0 +1,410 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('storage', 'v1', () => { + /** now we can use gapi.client.storage */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform.read-only', + /** Manage your data and permissions in Google Cloud Storage */ + 'https://www.googleapis.com/auth/devstorage.full_control', + /** View your data in Google Cloud Storage */ + 'https://www.googleapis.com/auth/devstorage.read_only', + /** Manage your data in Google Cloud Storage */ + 'https://www.googleapis.com/auth/devstorage.read_write', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Permanently deletes the ACL entry for the specified entity on the specified bucket. */ + await gapi.client.bucketAccessControls.delete({ + bucket: "bucket", + entity: "entity", + userProject: "userProject", + }); + /** Returns the ACL entry for the specified entity on the specified bucket. */ + await gapi.client.bucketAccessControls.get({ + bucket: "bucket", + entity: "entity", + userProject: "userProject", + }); + /** Creates a new ACL entry on the specified bucket. */ + await gapi.client.bucketAccessControls.insert({ + bucket: "bucket", + userProject: "userProject", + }); + /** Retrieves ACL entries on the specified bucket. */ + await gapi.client.bucketAccessControls.list({ + bucket: "bucket", + userProject: "userProject", + }); + /** Updates an ACL entry on the specified bucket. This method supports patch semantics. */ + await gapi.client.bucketAccessControls.patch({ + bucket: "bucket", + entity: "entity", + userProject: "userProject", + }); + /** Updates an ACL entry on the specified bucket. */ + await gapi.client.bucketAccessControls.update({ + bucket: "bucket", + entity: "entity", + userProject: "userProject", + }); + /** Permanently deletes an empty bucket. */ + await gapi.client.buckets.delete({ + bucket: "bucket", + ifMetagenerationMatch: "ifMetagenerationMatch", + ifMetagenerationNotMatch: "ifMetagenerationNotMatch", + userProject: "userProject", + }); + /** Returns metadata for the specified bucket. */ + await gapi.client.buckets.get({ + bucket: "bucket", + ifMetagenerationMatch: "ifMetagenerationMatch", + ifMetagenerationNotMatch: "ifMetagenerationNotMatch", + projection: "projection", + userProject: "userProject", + }); + /** Returns an IAM policy for the specified bucket. */ + await gapi.client.buckets.getIamPolicy({ + bucket: "bucket", + userProject: "userProject", + }); + /** Creates a new bucket. */ + await gapi.client.buckets.insert({ + predefinedAcl: "predefinedAcl", + predefinedDefaultObjectAcl: "predefinedDefaultObjectAcl", + project: "project", + projection: "projection", + userProject: "userProject", + }); + /** Retrieves a list of buckets for a given project. */ + await gapi.client.buckets.list({ + maxResults: 1, + pageToken: "pageToken", + prefix: "prefix", + project: "project", + projection: "projection", + userProject: "userProject", + }); + /** + * Updates a bucket. Changes to the bucket will be readable immediately after writing, but configuration changes may take time to propagate. This method + * supports patch semantics. + */ + await gapi.client.buckets.patch({ + bucket: "bucket", + ifMetagenerationMatch: "ifMetagenerationMatch", + ifMetagenerationNotMatch: "ifMetagenerationNotMatch", + predefinedAcl: "predefinedAcl", + predefinedDefaultObjectAcl: "predefinedDefaultObjectAcl", + projection: "projection", + userProject: "userProject", + }); + /** Updates an IAM policy for the specified bucket. */ + await gapi.client.buckets.setIamPolicy({ + bucket: "bucket", + userProject: "userProject", + }); + /** Tests a set of permissions on the given bucket to see which, if any, are held by the caller. */ + await gapi.client.buckets.testIamPermissions({ + bucket: "bucket", + permissions: "permissions", + userProject: "userProject", + }); + /** Updates a bucket. Changes to the bucket will be readable immediately after writing, but configuration changes may take time to propagate. */ + await gapi.client.buckets.update({ + bucket: "bucket", + ifMetagenerationMatch: "ifMetagenerationMatch", + ifMetagenerationNotMatch: "ifMetagenerationNotMatch", + predefinedAcl: "predefinedAcl", + predefinedDefaultObjectAcl: "predefinedDefaultObjectAcl", + projection: "projection", + userProject: "userProject", + }); + /** Stop watching resources through this channel */ + await gapi.client.channels.stop({ + }); + /** Permanently deletes the default object ACL entry for the specified entity on the specified bucket. */ + await gapi.client.defaultObjectAccessControls.delete({ + bucket: "bucket", + entity: "entity", + userProject: "userProject", + }); + /** Returns the default object ACL entry for the specified entity on the specified bucket. */ + await gapi.client.defaultObjectAccessControls.get({ + bucket: "bucket", + entity: "entity", + userProject: "userProject", + }); + /** Creates a new default object ACL entry on the specified bucket. */ + await gapi.client.defaultObjectAccessControls.insert({ + bucket: "bucket", + userProject: "userProject", + }); + /** Retrieves default object ACL entries on the specified bucket. */ + await gapi.client.defaultObjectAccessControls.list({ + bucket: "bucket", + ifMetagenerationMatch: "ifMetagenerationMatch", + ifMetagenerationNotMatch: "ifMetagenerationNotMatch", + userProject: "userProject", + }); + /** Updates a default object ACL entry on the specified bucket. This method supports patch semantics. */ + await gapi.client.defaultObjectAccessControls.patch({ + bucket: "bucket", + entity: "entity", + userProject: "userProject", + }); + /** Updates a default object ACL entry on the specified bucket. */ + await gapi.client.defaultObjectAccessControls.update({ + bucket: "bucket", + entity: "entity", + userProject: "userProject", + }); + /** Permanently deletes a notification subscription. */ + await gapi.client.notifications.delete({ + bucket: "bucket", + notification: "notification", + userProject: "userProject", + }); + /** View a notification configuration. */ + await gapi.client.notifications.get({ + bucket: "bucket", + notification: "notification", + userProject: "userProject", + }); + /** Creates a notification subscription for a given bucket. */ + await gapi.client.notifications.insert({ + bucket: "bucket", + userProject: "userProject", + }); + /** Retrieves a list of notification subscriptions for a given bucket. */ + await gapi.client.notifications.list({ + bucket: "bucket", + userProject: "userProject", + }); + /** Permanently deletes the ACL entry for the specified entity on the specified object. */ + await gapi.client.objectAccessControls.delete({ + bucket: "bucket", + entity: "entity", + generation: "generation", + object: "object", + userProject: "userProject", + }); + /** Returns the ACL entry for the specified entity on the specified object. */ + await gapi.client.objectAccessControls.get({ + bucket: "bucket", + entity: "entity", + generation: "generation", + object: "object", + userProject: "userProject", + }); + /** Creates a new ACL entry on the specified object. */ + await gapi.client.objectAccessControls.insert({ + bucket: "bucket", + generation: "generation", + object: "object", + userProject: "userProject", + }); + /** Retrieves ACL entries on the specified object. */ + await gapi.client.objectAccessControls.list({ + bucket: "bucket", + generation: "generation", + object: "object", + userProject: "userProject", + }); + /** Updates an ACL entry on the specified object. This method supports patch semantics. */ + await gapi.client.objectAccessControls.patch({ + bucket: "bucket", + entity: "entity", + generation: "generation", + object: "object", + userProject: "userProject", + }); + /** Updates an ACL entry on the specified object. */ + await gapi.client.objectAccessControls.update({ + bucket: "bucket", + entity: "entity", + generation: "generation", + object: "object", + userProject: "userProject", + }); + /** Concatenates a list of existing objects into a new object in the same bucket. */ + await gapi.client.objects.compose({ + destinationBucket: "destinationBucket", + destinationObject: "destinationObject", + destinationPredefinedAcl: "destinationPredefinedAcl", + ifGenerationMatch: "ifGenerationMatch", + ifMetagenerationMatch: "ifMetagenerationMatch", + kmsKeyName: "kmsKeyName", + userProject: "userProject", + }); + /** Copies a source object to a destination object. Optionally overrides metadata. */ + await gapi.client.objects.copy({ + destinationBucket: "destinationBucket", + destinationObject: "destinationObject", + destinationPredefinedAcl: "destinationPredefinedAcl", + ifGenerationMatch: "ifGenerationMatch", + ifGenerationNotMatch: "ifGenerationNotMatch", + ifMetagenerationMatch: "ifMetagenerationMatch", + ifMetagenerationNotMatch: "ifMetagenerationNotMatch", + ifSourceGenerationMatch: "ifSourceGenerationMatch", + ifSourceGenerationNotMatch: "ifSourceGenerationNotMatch", + ifSourceMetagenerationMatch: "ifSourceMetagenerationMatch", + ifSourceMetagenerationNotMatch: "ifSourceMetagenerationNotMatch", + projection: "projection", + sourceBucket: "sourceBucket", + sourceGeneration: "sourceGeneration", + sourceObject: "sourceObject", + userProject: "userProject", + }); + /** Deletes an object and its metadata. Deletions are permanent if versioning is not enabled for the bucket, or if the generation parameter is used. */ + await gapi.client.objects.delete({ + bucket: "bucket", + generation: "generation", + ifGenerationMatch: "ifGenerationMatch", + ifGenerationNotMatch: "ifGenerationNotMatch", + ifMetagenerationMatch: "ifMetagenerationMatch", + ifMetagenerationNotMatch: "ifMetagenerationNotMatch", + object: "object", + userProject: "userProject", + }); + /** Retrieves an object or its metadata. */ + await gapi.client.objects.get({ + bucket: "bucket", + generation: "generation", + ifGenerationMatch: "ifGenerationMatch", + ifGenerationNotMatch: "ifGenerationNotMatch", + ifMetagenerationMatch: "ifMetagenerationMatch", + ifMetagenerationNotMatch: "ifMetagenerationNotMatch", + object: "object", + projection: "projection", + userProject: "userProject", + }); + /** Returns an IAM policy for the specified object. */ + await gapi.client.objects.getIamPolicy({ + bucket: "bucket", + generation: "generation", + object: "object", + userProject: "userProject", + }); + /** Stores a new object and metadata. */ + await gapi.client.objects.insert({ + bucket: "bucket", + contentEncoding: "contentEncoding", + ifGenerationMatch: "ifGenerationMatch", + ifGenerationNotMatch: "ifGenerationNotMatch", + ifMetagenerationMatch: "ifMetagenerationMatch", + ifMetagenerationNotMatch: "ifMetagenerationNotMatch", + kmsKeyName: "kmsKeyName", + name: "name", + predefinedAcl: "predefinedAcl", + projection: "projection", + userProject: "userProject", + }); + /** Retrieves a list of objects matching the criteria. */ + await gapi.client.objects.list({ + bucket: "bucket", + delimiter: "delimiter", + maxResults: 3, + pageToken: "pageToken", + prefix: "prefix", + projection: "projection", + userProject: "userProject", + versions: true, + }); + /** Updates an object's metadata. This method supports patch semantics. */ + await gapi.client.objects.patch({ + bucket: "bucket", + generation: "generation", + ifGenerationMatch: "ifGenerationMatch", + ifGenerationNotMatch: "ifGenerationNotMatch", + ifMetagenerationMatch: "ifMetagenerationMatch", + ifMetagenerationNotMatch: "ifMetagenerationNotMatch", + object: "object", + predefinedAcl: "predefinedAcl", + projection: "projection", + userProject: "userProject", + }); + /** Rewrites a source object to a destination object. Optionally overrides metadata. */ + await gapi.client.objects.rewrite({ + destinationBucket: "destinationBucket", + destinationKmsKeyName: "destinationKmsKeyName", + destinationObject: "destinationObject", + destinationPredefinedAcl: "destinationPredefinedAcl", + ifGenerationMatch: "ifGenerationMatch", + ifGenerationNotMatch: "ifGenerationNotMatch", + ifMetagenerationMatch: "ifMetagenerationMatch", + ifMetagenerationNotMatch: "ifMetagenerationNotMatch", + ifSourceGenerationMatch: "ifSourceGenerationMatch", + ifSourceGenerationNotMatch: "ifSourceGenerationNotMatch", + ifSourceMetagenerationMatch: "ifSourceMetagenerationMatch", + ifSourceMetagenerationNotMatch: "ifSourceMetagenerationNotMatch", + maxBytesRewrittenPerCall: "maxBytesRewrittenPerCall", + projection: "projection", + rewriteToken: "rewriteToken", + sourceBucket: "sourceBucket", + sourceGeneration: "sourceGeneration", + sourceObject: "sourceObject", + userProject: "userProject", + }); + /** Updates an IAM policy for the specified object. */ + await gapi.client.objects.setIamPolicy({ + bucket: "bucket", + generation: "generation", + object: "object", + userProject: "userProject", + }); + /** Tests a set of permissions on the given object to see which, if any, are held by the caller. */ + await gapi.client.objects.testIamPermissions({ + bucket: "bucket", + generation: "generation", + object: "object", + permissions: "permissions", + userProject: "userProject", + }); + /** Updates an object's metadata. */ + await gapi.client.objects.update({ + bucket: "bucket", + generation: "generation", + ifGenerationMatch: "ifGenerationMatch", + ifGenerationNotMatch: "ifGenerationNotMatch", + ifMetagenerationMatch: "ifMetagenerationMatch", + ifMetagenerationNotMatch: "ifMetagenerationNotMatch", + object: "object", + predefinedAcl: "predefinedAcl", + projection: "projection", + userProject: "userProject", + }); + /** Watch for changes on all objects in a bucket. */ + await gapi.client.objects.watchAll({ + bucket: "bucket", + delimiter: "delimiter", + maxResults: 3, + pageToken: "pageToken", + prefix: "prefix", + projection: "projection", + userProject: "userProject", + versions: true, + }); + } +}); diff --git a/types/gapi.client.storage/index.d.ts b/types/gapi.client.storage/index.d.ts new file mode 100644 index 0000000000..964e20cb9f --- /dev/null +++ b/types/gapi.client.storage/index.d.ts @@ -0,0 +1,2019 @@ +// Type definitions for Google Cloud Storage JSON API v1 1.0 +// Project: https://developers.google.com/storage/docs/json_api/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/storage/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Cloud Storage JSON API v1 */ + function load(name: "storage", version: "v1"): PromiseLike<void>; + function load(name: "storage", version: "v1", callback: () => any): void; + + const bucketAccessControls: storage.BucketAccessControlsResource; + + const buckets: storage.BucketsResource; + + const channels: storage.ChannelsResource; + + const defaultObjectAccessControls: storage.DefaultObjectAccessControlsResource; + + const notifications: storage.NotificationsResource; + + const objectAccessControls: storage.ObjectAccessControlsResource; + + const objects: storage.ObjectsResource; + + const projects: storage.ProjectsResource; + + namespace storage { + interface Bucket { + /** Access controls on the bucket. */ + acl?: BucketAccessControl[]; + /** The bucket's billing configuration. */ + billing?: { + /** When set to true, bucket is requester pays. */ + requesterPays?: boolean; + }; + /** The bucket's Cross-Origin Resource Sharing (CORS) configuration. */ + cors?: Array<{ + /** The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses. */ + maxAgeSeconds?: number; + /** + * The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means + * "any method". + */ + method?: string[]; + /** The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin". */ + origin?: string[]; + /** The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains. */ + responseHeader?: string[]; + }>; + /** Default access controls to apply to new objects when no ACL is provided. */ + defaultObjectAcl?: ObjectAccessControl[]; + /** Encryption configuration used by default for newly inserted objects, when no encryption config is specified. */ + encryption?: { + defaultKmsKeyName?: string; + }; + /** HTTP 1.1 Entity tag for the bucket. */ + etag?: string; + /** The ID of the bucket. For buckets, the id and name properities are the same. */ + id?: string; + /** The kind of item this is. For buckets, this is always storage#bucket. */ + kind?: string; + /** User-provided labels, in key/value pairs. */ + labels?: Record<string, string>; + /** The bucket's lifecycle configuration. See lifecycle management for more information. */ + lifecycle?: { + /** A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken. */ + rule?: Array<{ + /** The action to take. */ + action?: { + /** Target storage class. Required iff the type of the action is SetStorageClass. */ + storageClass?: string; + /** Type of the action. Currently, only Delete and SetStorageClass are supported. */ + type?: string; + }; + /** The condition(s) under which the action will be taken. */ + condition?: { + /** Age of an object (in days). This condition is satisfied when an object reaches the specified age. */ + age?: number; + /** + * A date in RFC 3339 format with only the date part (for instance, "2013-01-15"). This condition is satisfied when an object is created before midnight + * of the specified date in UTC. + */ + createdBefore?: string; + /** Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects. */ + isLive?: boolean; + /** + * Objects having any of the storage classes specified by this condition will be matched. Values include MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, + * STANDARD, and DURABLE_REDUCED_AVAILABILITY. + */ + matchesStorageClass?: string[]; + /** + * Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) + * newer than this version of the object. + */ + numNewerVersions?: number; + }; + }>; + }; + /** + * The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to US. See the developer's + * guide for the authoritative list. + */ + location?: string; + /** The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs. */ + logging?: { + /** The destination bucket where the current bucket's logs should be placed. */ + logBucket?: string; + /** A prefix for log object names. */ + logObjectPrefix?: string; + }; + /** The metadata generation of this bucket. */ + metageneration?: string; + /** The name of the bucket. */ + name?: string; + /** The owner of the bucket. This is always the project team's owner group. */ + owner?: { + /** The entity, in the form project-owner-projectId. */ + entity?: string; + /** The ID for the entity. */ + entityId?: string; + }; + /** The project number of the project the bucket belongs to. */ + projectNumber?: string; + /** The URI of this bucket. */ + selfLink?: string; + /** + * The bucket's default storage class, used whenever no storageClass is specified for a newly-created object. This defines how objects in the bucket are + * stored and determines the SLA and the cost of storage. Values include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, and + * DURABLE_REDUCED_AVAILABILITY. If this value is not specified when the bucket is created, it will default to STANDARD. For more information, see storage + * classes. + */ + storageClass?: string; + /** The creation time of the bucket in RFC 3339 format. */ + timeCreated?: string; + /** The modification time of the bucket in RFC 3339 format. */ + updated?: string; + /** The bucket's versioning configuration. */ + versioning?: { + /** While set to true, versioning is fully enabled for this bucket. */ + enabled?: boolean; + }; + /** + * The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a web site. See the Static Website Examples + * for more information. + */ + website?: { + /** + * If the requested object path is missing, the service will ensure the path has a trailing '/', append this suffix, and attempt to retrieve the resulting + * object. This allows the creation of index.html objects to represent directory pages. + */ + mainPageSuffix?: string; + /** + * If the requested object path is missing, and any mainPageSuffix object is missing, if applicable, the service will return the named object from this + * bucket as the content for a 404 Not Found result. + */ + notFoundPage?: string; + }; + } + interface BucketAccessControl { + /** The name of the bucket. */ + bucket?: string; + /** The domain associated with the entity, if any. */ + domain?: string; + /** The email address associated with the entity, if any. */ + email?: string; + /** + * The entity holding the permission, in one of the following forms: + * - user-userId + * - user-email + * - group-groupId + * - group-email + * - domain-domain + * - project-team-projectId + * - allUsers + * - allAuthenticatedUsers Examples: + * - The user liz@example.com would be user-liz@example.com. + * - The group example@googlegroups.com would be group-example@googlegroups.com. + * - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com. + */ + entity?: string; + /** The ID for the entity, if any. */ + entityId?: string; + /** HTTP 1.1 Entity tag for the access-control entry. */ + etag?: string; + /** The ID of the access-control entry. */ + id?: string; + /** The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl. */ + kind?: string; + /** The project team associated with the entity, if any. */ + projectTeam?: { + /** The project number. */ + projectNumber?: string; + /** The team. */ + team?: string; + }; + /** The access permission for the entity. */ + role?: string; + /** The link to this access-control entry. */ + selfLink?: string; + } + interface BucketAccessControls { + /** The list of items. */ + items?: BucketAccessControl[]; + /** The kind of item this is. For lists of bucket access control entries, this is always storage#bucketAccessControls. */ + kind?: string; + } + interface Buckets { + /** The list of items. */ + items?: Bucket[]; + /** The kind of item this is. For lists of buckets, this is always storage#buckets. */ + kind?: string; + /** The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */ + nextPageToken?: string; + } + interface Channel { + /** The address where notifications are delivered for this channel. */ + address?: string; + /** Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional. */ + expiration?: string; + /** A UUID or similar unique string that identifies this channel. */ + id?: string; + /** Identifies this as a notification channel used to watch for changes to a resource. Value: the fixed string "api#channel". */ + kind?: string; + /** Additional parameters controlling delivery channel behavior. Optional. */ + params?: Record<string, string>; + /** A Boolean value to indicate whether payload is wanted. Optional. */ + payload?: boolean; + /** An opaque ID that identifies the resource being watched on this channel. Stable across different API versions. */ + resourceId?: string; + /** A version-specific identifier for the watched resource. */ + resourceUri?: string; + /** An arbitrary string delivered to the target address with each notification delivered over this channel. Optional. */ + token?: string; + /** The type of delivery mechanism used for this channel. */ + type?: string; + } + interface ComposeRequest { + /** Properties of the resulting object. */ + destination?: Object; + /** The kind of item this is. */ + kind?: string; + /** The list of source objects that will be concatenated into a single object. */ + sourceObjects?: Array<{ + /** The generation of this object to use as the source. */ + generation?: string; + /** The source object's name. The source object's bucket is implicitly the destination bucket. */ + name?: string; + /** Conditions that must be met for this operation to execute. */ + objectPreconditions?: { + /** + * Only perform the composition if the generation of the source object that would be used matches this value. If this value and a generation are both + * specified, they must be the same value or the call will fail. + */ + ifGenerationMatch?: string; + }; + }>; + } + interface Notification { + /** An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription. */ + custom_attributes?: Record<string, string>; + /** HTTP 1.1 Entity tag for this subscription notification. */ + etag?: string; + /** If present, only send notifications about listed event types. If empty, sent notifications for all event types. */ + event_types?: string[]; + /** The ID of the notification. */ + id?: string; + /** The kind of item this is. For notifications, this is always storage#notification. */ + kind?: string; + /** If present, only apply this notification configuration to object names that begin with this prefix. */ + object_name_prefix?: string; + /** The desired content of the Payload. */ + payload_format?: string; + /** The canonical URL of this notification. */ + selfLink?: string; + /** The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}' */ + topic?: string; + } + interface Notifications { + /** The list of items. */ + items?: Notification[]; + /** The kind of item this is. For lists of notifications, this is always storage#notifications. */ + kind?: string; + } + interface Object { + /** Access controls on the object. */ + acl?: ObjectAccessControl[]; + /** The name of the bucket containing this object. */ + bucket?: string; + /** Cache-Control directive for the object data. If omitted, and the object is accessible to all anonymous users, the default will be public, max-age=3600. */ + cacheControl?: string; + /** Number of underlying components that make up this object. Components are accumulated by compose operations. */ + componentCount?: number; + /** Content-Disposition of the object data. */ + contentDisposition?: string; + /** Content-Encoding of the object data. */ + contentEncoding?: string; + /** Content-Language of the object data. */ + contentLanguage?: string; + /** Content-Type of the object data. If an object is stored without a Content-Type, it is served as application/octet-stream. */ + contentType?: string; + /** + * CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c + * checksum, see Hashes and ETags: Best Practices. + */ + crc32c?: string; + /** Metadata of customer-supplied encryption key, if the object is encrypted by such a key. */ + customerEncryption?: { + /** The encryption algorithm. */ + encryptionAlgorithm?: string; + /** SHA256 hash value of the encryption key. */ + keySha256?: string; + }; + /** HTTP 1.1 Entity tag for the object. */ + etag?: string; + /** The content generation of this object. Used for object versioning. */ + generation?: string; + /** The ID of the object, including the bucket name, object name, and generation number. */ + id?: string; + /** The kind of item this is. For objects, this is always storage#object. */ + kind?: string; + /** Cloud KMS Key used to encrypt this object, if the object is encrypted by such a key. */ + kmsKeyName?: string; + /** MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. */ + md5Hash?: string; + /** Media download link. */ + mediaLink?: string; + /** User-provided metadata, in key/value pairs. */ + metadata?: Record<string, string>; + /** + * The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number + * is only meaningful in the context of a particular generation of a particular object. + */ + metageneration?: string; + /** The name of the object. Required if not specified by URL parameter. */ + name?: string; + /** The owner of the object. This will always be the uploader of the object. */ + owner?: { + /** The entity, in the form user-userId. */ + entity?: string; + /** The ID for the entity. */ + entityId?: string; + }; + /** The link to this object. */ + selfLink?: string; + /** Content-Length of the data in bytes. */ + size?: string; + /** Storage class of the object. */ + storageClass?: string; + /** The creation time of the object in RFC 3339 format. */ + timeCreated?: string; + /** The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted. */ + timeDeleted?: string; + /** The time at which the object's storage class was last changed. When the object is initially created, it will be set to timeCreated. */ + timeStorageClassUpdated?: string; + /** The modification time of the object metadata in RFC 3339 format. */ + updated?: string; + } + interface ObjectAccessControl { + /** The name of the bucket. */ + bucket?: string; + /** The domain associated with the entity, if any. */ + domain?: string; + /** The email address associated with the entity, if any. */ + email?: string; + /** + * The entity holding the permission, in one of the following forms: + * - user-userId + * - user-email + * - group-groupId + * - group-email + * - domain-domain + * - project-team-projectId + * - allUsers + * - allAuthenticatedUsers Examples: + * - The user liz@example.com would be user-liz@example.com. + * - The group example@googlegroups.com would be group-example@googlegroups.com. + * - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com. + */ + entity?: string; + /** The ID for the entity, if any. */ + entityId?: string; + /** HTTP 1.1 Entity tag for the access-control entry. */ + etag?: string; + /** The content generation of the object, if applied to an object. */ + generation?: string; + /** The ID of the access-control entry. */ + id?: string; + /** The kind of item this is. For object access control entries, this is always storage#objectAccessControl. */ + kind?: string; + /** The name of the object, if applied to an object. */ + object?: string; + /** The project team associated with the entity, if any. */ + projectTeam?: { + /** The project number. */ + projectNumber?: string; + /** The team. */ + team?: string; + }; + /** The access permission for the entity. */ + role?: string; + /** The link to this access-control entry. */ + selfLink?: string; + } + interface ObjectAccessControls { + /** The list of items. */ + items?: ObjectAccessControl[]; + /** The kind of item this is. For lists of object access control entries, this is always storage#objectAccessControls. */ + kind?: string; + } + interface Objects { + /** The list of items. */ + items?: Object[]; + /** The kind of item this is. For lists of objects, this is always storage#objects. */ + kind?: string; + /** The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */ + nextPageToken?: string; + /** The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter. */ + prefixes?: string[]; + } + interface Policy { + /** An association between a role, which comes with a set of permissions, and members who may assume that role. */ + bindings?: Array<{ + condition?: any; + /** + * A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows: + * - allUsers — A special identifier that represents anyone on the internet; with or without a Google account. + * - allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account. + * - user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com. + * - serviceAccount:emailid — An email address that represents a service account. For example, serviceAccount:my-other-app@appspot.gserviceaccount.com . + * + * - group:emailid — An email address that represents a Google group. For example, group:admins@example.com. + * - domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com. + * - projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project + * - projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project + * - projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project + */ + members?: string[]; + /** + * The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided + * by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole. + * The new IAM roles are: + * - roles/storage.admin — Full control of Google Cloud Storage resources. + * - roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects. + * - roles/storage.objectCreator — Access to create objects in Google Cloud Storage. + * - roles/storage.objectAdmin — Full control of Google Cloud Storage objects. The legacy IAM roles are: + * - roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role. + * - roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role. + * + * - roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role. + * - roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the + * WRITER role. + * - roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a + * bucket with the OWNER role. + */ + role?: string; + }>; + /** HTTP 1.1 Entity tag for the policy. */ + etag?: string; + /** The kind of item this is. For policies, this is always storage#policy. This field is ignored on input. */ + kind?: string; + /** + * The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, and + * projects/_/buckets/bucket/objects/object for objects. A specific generation may be specified by appending #generationNumber to the end of the object + * name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input. + */ + resourceId?: string; + } + interface RewriteResponse { + /** true if the copy is finished; otherwise, false if the copy is in progress. This property is always present in the response. */ + done?: boolean; + /** The kind of item this is. */ + kind?: string; + /** The total size of the object being copied in bytes. This property is always present in the response. */ + objectSize?: string; + /** A resource containing the metadata for the copied-to object. This property is present in the response only when copying completes. */ + resource?: Object; + /** A token to use in subsequent requests to continue copying data. This token is present in the response only when there is more data to copy. */ + rewriteToken?: string; + /** The total bytes written so far, which can be used to provide a waiting user with a progress indicator. This property is always present in the response. */ + totalBytesRewritten?: string; + } + interface ServiceAccount { + /** The ID of the notification. */ + email_address?: string; + /** The kind of item this is. For notifications, this is always storage#notification. */ + kind?: string; + } + interface TestIamPermissionsResponse { + /** The kind of item this is. */ + kind?: string; + /** + * The permissions held by the caller. Permissions are always of the format storage.resource.capability, where resource is one of buckets or objects. The + * supported permissions are as follows: + * - storage.buckets.delete — Delete bucket. + * - storage.buckets.get — Read bucket metadata. + * - storage.buckets.getIamPolicy — Read bucket IAM policy. + * - storage.buckets.create — Create bucket. + * - storage.buckets.list — List buckets. + * - storage.buckets.setIamPolicy — Update bucket IAM policy. + * - storage.buckets.update — Update bucket metadata. + * - storage.objects.delete — Delete object. + * - storage.objects.get — Read object data and metadata. + * - storage.objects.getIamPolicy — Read object IAM policy. + * - storage.objects.create — Create object. + * - storage.objects.list — List objects. + * - storage.objects.setIamPolicy — Update object IAM policy. + * - storage.objects.update — Update object metadata. + */ + permissions?: string[]; + } + interface BucketAccessControlsResource { + /** Permanently deletes the ACL entry for the specified entity on the specified bucket. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. */ + entity: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<void>; + /** Returns the ACL entry for the specified entity on the specified bucket. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. */ + entity: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<BucketAccessControl>; + /** Creates a new ACL entry on the specified bucket. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<BucketAccessControl>; + /** Retrieves ACL entries on the specified bucket. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<BucketAccessControls>; + /** Updates an ACL entry on the specified bucket. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. */ + entity: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<BucketAccessControl>; + /** Updates an ACL entry on the specified bucket. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. */ + entity: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<BucketAccessControl>; + } + interface BucketsResource { + /** Permanently deletes an empty bucket. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** If set, only deletes the bucket if its metageneration matches this value. */ + ifMetagenerationMatch?: string; + /** If set, only deletes the bucket if its metageneration does not match this value. */ + ifMetagenerationNotMatch?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<void>; + /** Returns metadata for the specified bucket. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value. */ + ifMetagenerationMatch?: string; + /** Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value. */ + ifMetagenerationNotMatch?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Set of properties to return. Defaults to noAcl. */ + projection?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<Bucket>; + /** Returns an IAM policy for the specified bucket. */ + getIamPolicy(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<Policy>; + /** Creates a new bucket. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Apply a predefined set of access controls to this bucket. */ + predefinedAcl?: string; + /** Apply a predefined set of default object access controls to this bucket. */ + predefinedDefaultObjectAcl?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** A valid API project identifier. */ + project: string; + /** Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or defaultObjectAcl properties, when it defaults to full. */ + projection?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<Bucket>; + /** Retrieves a list of buckets for a given project. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of buckets to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** A previously-returned page token representing part of the larger set of results to view. */ + pageToken?: string; + /** Filter results to buckets whose names begin with this prefix. */ + prefix?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** A valid API project identifier. */ + project: string; + /** Set of properties to return. Defaults to noAcl. */ + projection?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<Buckets>; + /** + * Updates a bucket. Changes to the bucket will be readable immediately after writing, but configuration changes may take time to propagate. This method + * supports patch semantics. + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value. */ + ifMetagenerationMatch?: string; + /** Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value. */ + ifMetagenerationNotMatch?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Apply a predefined set of access controls to this bucket. */ + predefinedAcl?: string; + /** Apply a predefined set of default object access controls to this bucket. */ + predefinedDefaultObjectAcl?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Set of properties to return. Defaults to full. */ + projection?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<Bucket>; + /** Updates an IAM policy for the specified bucket. */ + setIamPolicy(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<Policy>; + /** Tests a set of permissions on the given bucket to see which, if any, are held by the caller. */ + testIamPermissions(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Permissions to test. */ + permissions: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<TestIamPermissionsResponse>; + /** Updates a bucket. Changes to the bucket will be readable immediately after writing, but configuration changes may take time to propagate. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value. */ + ifMetagenerationMatch?: string; + /** Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value. */ + ifMetagenerationNotMatch?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Apply a predefined set of access controls to this bucket. */ + predefinedAcl?: string; + /** Apply a predefined set of default object access controls to this bucket. */ + predefinedDefaultObjectAcl?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Set of properties to return. Defaults to full. */ + projection?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<Bucket>; + } + interface ChannelsResource { + /** Stop watching resources through this channel */ + stop(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface DefaultObjectAccessControlsResource { + /** Permanently deletes the default object ACL entry for the specified entity on the specified bucket. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. */ + entity: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<void>; + /** Returns the default object ACL entry for the specified entity on the specified bucket. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. */ + entity: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<ObjectAccessControl>; + /** Creates a new default object ACL entry on the specified bucket. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<ObjectAccessControl>; + /** Retrieves default object ACL entries on the specified bucket. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** If present, only return default ACL listing if the bucket's current metageneration matches this value. */ + ifMetagenerationMatch?: string; + /** If present, only return default ACL listing if the bucket's current metageneration does not match the given value. */ + ifMetagenerationNotMatch?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<ObjectAccessControls>; + /** Updates a default object ACL entry on the specified bucket. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. */ + entity: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<ObjectAccessControl>; + /** Updates a default object ACL entry on the specified bucket. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. */ + entity: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<ObjectAccessControl>; + } + interface NotificationsResource { + /** Permanently deletes a notification subscription. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The parent bucket of the notification. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** ID of the notification to delete. */ + notification: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<void>; + /** View a notification configuration. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The parent bucket of the notification. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Notification ID */ + notification: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<Notification>; + /** Creates a notification subscription for a given bucket. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** The parent bucket of the notification. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<Notification>; + /** Retrieves a list of notification subscriptions for a given bucket. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a Google Cloud Storage bucket. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<Notifications>; + } + interface ObjectAccessControlsResource { + /** Permanently deletes the ACL entry for the specified entity on the specified object. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. */ + entity: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** If present, selects a specific revision of this object (as opposed to the latest version, the default). */ + generation?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */ + object: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<void>; + /** Returns the ACL entry for the specified entity on the specified object. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. */ + entity: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** If present, selects a specific revision of this object (as opposed to the latest version, the default). */ + generation?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */ + object: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<ObjectAccessControl>; + /** Creates a new ACL entry on the specified object. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** If present, selects a specific revision of this object (as opposed to the latest version, the default). */ + generation?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */ + object: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<ObjectAccessControl>; + /** Retrieves ACL entries on the specified object. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** If present, selects a specific revision of this object (as opposed to the latest version, the default). */ + generation?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */ + object: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<ObjectAccessControls>; + /** Updates an ACL entry on the specified object. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. */ + entity: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** If present, selects a specific revision of this object (as opposed to the latest version, the default). */ + generation?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */ + object: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<ObjectAccessControl>; + /** Updates an ACL entry on the specified object. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Name of a bucket. */ + bucket: string; + /** The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. */ + entity: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** If present, selects a specific revision of this object (as opposed to the latest version, the default). */ + generation?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */ + object: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<ObjectAccessControl>; + } + interface ObjectsResource { + /** Concatenates a list of existing objects into a new object in the same bucket. */ + compose(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the bucket in which to store the new object. */ + destinationBucket: string; + /** Name of the new object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */ + destinationObject: string; + /** Apply a predefined set of access controls to the destination object. */ + destinationPredefinedAcl?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if + * there are no live versions of the object. + */ + ifGenerationMatch?: string; + /** Makes the operation conditional on whether the object's current metageneration matches the given value. */ + ifMetagenerationMatch?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Resource name of the Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the + * object. Overrides the object metadata's kms_key_name value, if any. + */ + kmsKeyName?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<Object>; + /** Copies a source object to a destination object. Optionally overrides metadata. */ + copy(request: { + /** Data format for the response. */ + alt?: string; + /** + * Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + */ + destinationBucket: string; + /** Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. */ + destinationObject: string; + /** Apply a predefined set of access controls to the destination object. */ + destinationPredefinedAcl?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Makes the operation conditional on whether the destination object's current generation matches the given value. Setting to 0 makes the operation + * succeed only if there are no live versions of the object. + */ + ifGenerationMatch?: string; + /** + * Makes the operation conditional on whether the destination object's current generation does not match the given value. If no live object exists, the + * precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object. + */ + ifGenerationNotMatch?: string; + /** Makes the operation conditional on whether the destination object's current metageneration matches the given value. */ + ifMetagenerationMatch?: string; + /** Makes the operation conditional on whether the destination object's current metageneration does not match the given value. */ + ifMetagenerationNotMatch?: string; + /** Makes the operation conditional on whether the source object's current generation matches the given value. */ + ifSourceGenerationMatch?: string; + /** Makes the operation conditional on whether the source object's current generation does not match the given value. */ + ifSourceGenerationNotMatch?: string; + /** Makes the operation conditional on whether the source object's current metageneration matches the given value. */ + ifSourceMetagenerationMatch?: string; + /** Makes the operation conditional on whether the source object's current metageneration does not match the given value. */ + ifSourceMetagenerationNotMatch?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full. */ + projection?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Name of the bucket in which to find the source object. */ + sourceBucket: string; + /** If present, selects a specific revision of the source object (as opposed to the latest version, the default). */ + sourceGeneration?: string; + /** Name of the source object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */ + sourceObject: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<Object>; + /** Deletes an object and its metadata. Deletions are permanent if versioning is not enabled for the bucket, or if the generation parameter is used. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the bucket in which the object resides. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** If present, permanently deletes a specific revision of this object (as opposed to the latest version, the default). */ + generation?: string; + /** + * Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if + * there are no live versions of the object. + */ + ifGenerationMatch?: string; + /** + * Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition + * fails. Setting to 0 makes the operation succeed only if there is a live version of the object. + */ + ifGenerationNotMatch?: string; + /** Makes the operation conditional on whether the object's current metageneration matches the given value. */ + ifMetagenerationMatch?: string; + /** Makes the operation conditional on whether the object's current metageneration does not match the given value. */ + ifMetagenerationNotMatch?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */ + object: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<void>; + /** Retrieves an object or its metadata. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the bucket in which the object resides. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** If present, selects a specific revision of this object (as opposed to the latest version, the default). */ + generation?: string; + /** + * Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if + * there are no live versions of the object. + */ + ifGenerationMatch?: string; + /** + * Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition + * fails. Setting to 0 makes the operation succeed only if there is a live version of the object. + */ + ifGenerationNotMatch?: string; + /** Makes the operation conditional on whether the object's current metageneration matches the given value. */ + ifMetagenerationMatch?: string; + /** Makes the operation conditional on whether the object's current metageneration does not match the given value. */ + ifMetagenerationNotMatch?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */ + object: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Set of properties to return. Defaults to noAcl. */ + projection?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<Object>; + /** Returns an IAM policy for the specified object. */ + getIamPolicy(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the bucket in which the object resides. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** If present, selects a specific revision of this object (as opposed to the latest version, the default). */ + generation?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */ + object: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<Policy>; + /** Stores a new object and metadata. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any. */ + bucket: string; + /** + * If set, sets the contentEncoding property of the final object to this value. Setting this parameter is equivalent to setting the contentEncoding + * metadata property. This can be useful when uploading an object with uploadType=media to indicate the encoding of the content being uploaded. + */ + contentEncoding?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if + * there are no live versions of the object. + */ + ifGenerationMatch?: string; + /** + * Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition + * fails. Setting to 0 makes the operation succeed only if there is a live version of the object. + */ + ifGenerationNotMatch?: string; + /** Makes the operation conditional on whether the object's current metageneration matches the given value. */ + ifMetagenerationMatch?: string; + /** Makes the operation conditional on whether the object's current metageneration does not match the given value. */ + ifMetagenerationNotMatch?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Resource name of the Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the + * object. Overrides the object metadata's kms_key_name value, if any. + */ + kmsKeyName?: string; + /** + * Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information + * about how to URL encode object names to be path safe, see Encoding URI Path Parts. + */ + name?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Apply a predefined set of access controls to this object. */ + predefinedAcl?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full. */ + projection?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<Object>; + /** Retrieves a list of objects matching the criteria. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the bucket in which to look for objects. */ + bucket: string; + /** + * Returns results in a directory-like mode. items will contain only objects whose names, aside from the prefix, do not contain delimiter. Objects whose + * names, aside from the prefix, contain delimiter will have their name, truncated after the delimiter, returned in prefixes. Duplicate prefixes are + * omitted. + */ + delimiter?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Maximum number of items plus prefixes to return in a single page of responses. As duplicate prefixes are omitted, fewer total results may be returned + * than requested. The service will use this parameter or 1,000 items, whichever is smaller. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** A previously-returned page token representing part of the larger set of results to view. */ + pageToken?: string; + /** Filter results to objects whose names begin with this prefix. */ + prefix?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Set of properties to return. Defaults to noAcl. */ + projection?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + /** If true, lists all versions of an object as distinct results. The default is false. For more information, see Object Versioning. */ + versions?: boolean; + }): Request<Objects>; + /** Updates an object's metadata. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the bucket in which the object resides. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** If present, selects a specific revision of this object (as opposed to the latest version, the default). */ + generation?: string; + /** + * Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if + * there are no live versions of the object. + */ + ifGenerationMatch?: string; + /** + * Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition + * fails. Setting to 0 makes the operation succeed only if there is a live version of the object. + */ + ifGenerationNotMatch?: string; + /** Makes the operation conditional on whether the object's current metageneration matches the given value. */ + ifMetagenerationMatch?: string; + /** Makes the operation conditional on whether the object's current metageneration does not match the given value. */ + ifMetagenerationNotMatch?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */ + object: string; + /** Apply a predefined set of access controls to this object. */ + predefinedAcl?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Set of properties to return. Defaults to full. */ + projection?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<Object>; + /** Rewrites a source object to a destination object. Optionally overrides metadata. */ + rewrite(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any. */ + destinationBucket: string; + /** + * Resource name of the Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the + * object. Overrides the object metadata's kms_key_name value, if any. + */ + destinationKmsKeyName?: string; + /** + * Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For + * information about how to URL encode object names to be path safe, see Encoding URI Path Parts. + */ + destinationObject: string; + /** Apply a predefined set of access controls to the destination object. */ + destinationPredefinedAcl?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if + * there are no live versions of the object. + */ + ifGenerationMatch?: string; + /** + * Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition + * fails. Setting to 0 makes the operation succeed only if there is a live version of the object. + */ + ifGenerationNotMatch?: string; + /** Makes the operation conditional on whether the destination object's current metageneration matches the given value. */ + ifMetagenerationMatch?: string; + /** Makes the operation conditional on whether the destination object's current metageneration does not match the given value. */ + ifMetagenerationNotMatch?: string; + /** Makes the operation conditional on whether the source object's current generation matches the given value. */ + ifSourceGenerationMatch?: string; + /** Makes the operation conditional on whether the source object's current generation does not match the given value. */ + ifSourceGenerationNotMatch?: string; + /** Makes the operation conditional on whether the source object's current metageneration matches the given value. */ + ifSourceMetagenerationMatch?: string; + /** Makes the operation conditional on whether the source object's current metageneration does not match the given value. */ + ifSourceMetagenerationNotMatch?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maximum number of bytes that will be rewritten per rewrite request. Most callers shouldn't need to specify this parameter - it is primarily in + * place to support testing. If specified the value must be an integral multiple of 1 MiB (1048576). Also, this only applies to requests where the source + * and destination span locations and/or storage classes. Finally, this value must not change across rewrite calls else you'll get an error that the + * rewriteToken is invalid. + */ + maxBytesRewrittenPerCall?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full. */ + projection?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Include this field (from the previous rewrite response) on each rewrite request after the first one, until the rewrite response 'done' flag is true. + * Calls that provide a rewriteToken can omit all other request fields, but if included those fields must match the values provided in the first rewrite + * request. + */ + rewriteToken?: string; + /** Name of the bucket in which to find the source object. */ + sourceBucket: string; + /** If present, selects a specific revision of the source object (as opposed to the latest version, the default). */ + sourceGeneration?: string; + /** Name of the source object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */ + sourceObject: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<RewriteResponse>; + /** Updates an IAM policy for the specified object. */ + setIamPolicy(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the bucket in which the object resides. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** If present, selects a specific revision of this object (as opposed to the latest version, the default). */ + generation?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */ + object: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<Policy>; + /** Tests a set of permissions on the given object to see which, if any, are held by the caller. */ + testIamPermissions(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the bucket in which the object resides. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** If present, selects a specific revision of this object (as opposed to the latest version, the default). */ + generation?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */ + object: string; + /** Permissions to test. */ + permissions: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<TestIamPermissionsResponse>; + /** Updates an object's metadata. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the bucket in which the object resides. */ + bucket: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** If present, selects a specific revision of this object (as opposed to the latest version, the default). */ + generation?: string; + /** + * Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if + * there are no live versions of the object. + */ + ifGenerationMatch?: string; + /** + * Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition + * fails. Setting to 0 makes the operation succeed only if there is a live version of the object. + */ + ifGenerationNotMatch?: string; + /** Makes the operation conditional on whether the object's current metageneration matches the given value. */ + ifMetagenerationMatch?: string; + /** Makes the operation conditional on whether the object's current metageneration does not match the given value. */ + ifMetagenerationNotMatch?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */ + object: string; + /** Apply a predefined set of access controls to this object. */ + predefinedAcl?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Set of properties to return. Defaults to full. */ + projection?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<Object>; + /** Watch for changes on all objects in a bucket. */ + watchAll(request: { + /** Data format for the response. */ + alt?: string; + /** Name of the bucket in which to look for objects. */ + bucket: string; + /** + * Returns results in a directory-like mode. items will contain only objects whose names, aside from the prefix, do not contain delimiter. Objects whose + * names, aside from the prefix, contain delimiter will have their name, truncated after the delimiter, returned in prefixes. Duplicate prefixes are + * omitted. + */ + delimiter?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Maximum number of items plus prefixes to return in a single page of responses. As duplicate prefixes are omitted, fewer total results may be returned + * than requested. The service will use this parameter or 1,000 items, whichever is smaller. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** A previously-returned page token representing part of the larger set of results to view. */ + pageToken?: string; + /** Filter results to objects whose names begin with this prefix. */ + prefix?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Set of properties to return. Defaults to noAcl. */ + projection?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + /** If true, lists all versions of an object as distinct results. The default is false. For more information, see Object Versioning. */ + versions?: boolean; + }): Request<Channel>; + } + interface ServiceAccountResource { + /** Get the email address of this project's Google Cloud Storage service account. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Project ID */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The project to be billed for this request, for Requester Pays buckets. */ + userProject?: string; + }): Request<ServiceAccount>; + } + interface ProjectsResource { + serviceAccount: ServiceAccountResource; + } + } +} diff --git a/types/gapi.client.storage/readme.md b/types/gapi.client.storage/readme.md new file mode 100644 index 0000000000..4e7dda93d6 --- /dev/null +++ b/types/gapi.client.storage/readme.md @@ -0,0 +1,291 @@ +# TypeScript typings for Cloud Storage JSON API v1 +Stores and retrieves potentially large, immutable data objects. +For detailed description please check [documentation](https://developers.google.com/storage/docs/json_api/). + +## Installing + +Install typings for Cloud Storage JSON API: +``` +npm install @types/gapi.client.storage@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('storage', 'v1', () => { + // now we can use gapi.client.storage + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform.read-only', + + // Manage your data and permissions in Google Cloud Storage + 'https://www.googleapis.com/auth/devstorage.full_control', + + // View your data in Google Cloud Storage + 'https://www.googleapis.com/auth/devstorage.read_only', + + // Manage your data in Google Cloud Storage + 'https://www.googleapis.com/auth/devstorage.read_write', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Cloud Storage JSON API resources: + +```typescript + +/* +Permanently deletes the ACL entry for the specified entity on the specified bucket. +*/ +await gapi.client.bucketAccessControls.delete({ bucket: "bucket", entity: "entity", }); + +/* +Returns the ACL entry for the specified entity on the specified bucket. +*/ +await gapi.client.bucketAccessControls.get({ bucket: "bucket", entity: "entity", }); + +/* +Creates a new ACL entry on the specified bucket. +*/ +await gapi.client.bucketAccessControls.insert({ bucket: "bucket", }); + +/* +Retrieves ACL entries on the specified bucket. +*/ +await gapi.client.bucketAccessControls.list({ bucket: "bucket", }); + +/* +Updates an ACL entry on the specified bucket. This method supports patch semantics. +*/ +await gapi.client.bucketAccessControls.patch({ bucket: "bucket", entity: "entity", }); + +/* +Updates an ACL entry on the specified bucket. +*/ +await gapi.client.bucketAccessControls.update({ bucket: "bucket", entity: "entity", }); + +/* +Permanently deletes an empty bucket. +*/ +await gapi.client.buckets.delete({ bucket: "bucket", }); + +/* +Returns metadata for the specified bucket. +*/ +await gapi.client.buckets.get({ bucket: "bucket", }); + +/* +Returns an IAM policy for the specified bucket. +*/ +await gapi.client.buckets.getIamPolicy({ bucket: "bucket", }); + +/* +Creates a new bucket. +*/ +await gapi.client.buckets.insert({ project: "project", }); + +/* +Retrieves a list of buckets for a given project. +*/ +await gapi.client.buckets.list({ project: "project", }); + +/* +Updates a bucket. Changes to the bucket will be readable immediately after writing, but configuration changes may take time to propagate. This method supports patch semantics. +*/ +await gapi.client.buckets.patch({ bucket: "bucket", }); + +/* +Updates an IAM policy for the specified bucket. +*/ +await gapi.client.buckets.setIamPolicy({ bucket: "bucket", }); + +/* +Tests a set of permissions on the given bucket to see which, if any, are held by the caller. +*/ +await gapi.client.buckets.testIamPermissions({ bucket: "bucket", permissions: "permissions", }); + +/* +Updates a bucket. Changes to the bucket will be readable immediately after writing, but configuration changes may take time to propagate. +*/ +await gapi.client.buckets.update({ bucket: "bucket", }); + +/* +Stop watching resources through this channel +*/ +await gapi.client.channels.stop({ }); + +/* +Permanently deletes the default object ACL entry for the specified entity on the specified bucket. +*/ +await gapi.client.defaultObjectAccessControls.delete({ bucket: "bucket", entity: "entity", }); + +/* +Returns the default object ACL entry for the specified entity on the specified bucket. +*/ +await gapi.client.defaultObjectAccessControls.get({ bucket: "bucket", entity: "entity", }); + +/* +Creates a new default object ACL entry on the specified bucket. +*/ +await gapi.client.defaultObjectAccessControls.insert({ bucket: "bucket", }); + +/* +Retrieves default object ACL entries on the specified bucket. +*/ +await gapi.client.defaultObjectAccessControls.list({ bucket: "bucket", }); + +/* +Updates a default object ACL entry on the specified bucket. This method supports patch semantics. +*/ +await gapi.client.defaultObjectAccessControls.patch({ bucket: "bucket", entity: "entity", }); + +/* +Updates a default object ACL entry on the specified bucket. +*/ +await gapi.client.defaultObjectAccessControls.update({ bucket: "bucket", entity: "entity", }); + +/* +Permanently deletes a notification subscription. +*/ +await gapi.client.notifications.delete({ bucket: "bucket", notification: "notification", }); + +/* +View a notification configuration. +*/ +await gapi.client.notifications.get({ bucket: "bucket", notification: "notification", }); + +/* +Creates a notification subscription for a given bucket. +*/ +await gapi.client.notifications.insert({ bucket: "bucket", }); + +/* +Retrieves a list of notification subscriptions for a given bucket. +*/ +await gapi.client.notifications.list({ bucket: "bucket", }); + +/* +Permanently deletes the ACL entry for the specified entity on the specified object. +*/ +await gapi.client.objectAccessControls.delete({ bucket: "bucket", entity: "entity", object: "object", }); + +/* +Returns the ACL entry for the specified entity on the specified object. +*/ +await gapi.client.objectAccessControls.get({ bucket: "bucket", entity: "entity", object: "object", }); + +/* +Creates a new ACL entry on the specified object. +*/ +await gapi.client.objectAccessControls.insert({ bucket: "bucket", object: "object", }); + +/* +Retrieves ACL entries on the specified object. +*/ +await gapi.client.objectAccessControls.list({ bucket: "bucket", object: "object", }); + +/* +Updates an ACL entry on the specified object. This method supports patch semantics. +*/ +await gapi.client.objectAccessControls.patch({ bucket: "bucket", entity: "entity", object: "object", }); + +/* +Updates an ACL entry on the specified object. +*/ +await gapi.client.objectAccessControls.update({ bucket: "bucket", entity: "entity", object: "object", }); + +/* +Concatenates a list of existing objects into a new object in the same bucket. +*/ +await gapi.client.objects.compose({ destinationBucket: "destinationBucket", destinationObject: "destinationObject", }); + +/* +Copies a source object to a destination object. Optionally overrides metadata. +*/ +await gapi.client.objects.copy({ destinationBucket: "destinationBucket", destinationObject: "destinationObject", sourceBucket: "sourceBucket", sourceObject: "sourceObject", }); + +/* +Deletes an object and its metadata. Deletions are permanent if versioning is not enabled for the bucket, or if the generation parameter is used. +*/ +await gapi.client.objects.delete({ bucket: "bucket", object: "object", }); + +/* +Retrieves an object or its metadata. +*/ +await gapi.client.objects.get({ bucket: "bucket", object: "object", }); + +/* +Returns an IAM policy for the specified object. +*/ +await gapi.client.objects.getIamPolicy({ bucket: "bucket", object: "object", }); + +/* +Stores a new object and metadata. +*/ +await gapi.client.objects.insert({ bucket: "bucket", }); + +/* +Retrieves a list of objects matching the criteria. +*/ +await gapi.client.objects.list({ bucket: "bucket", }); + +/* +Updates an object's metadata. This method supports patch semantics. +*/ +await gapi.client.objects.patch({ bucket: "bucket", object: "object", }); + +/* +Rewrites a source object to a destination object. Optionally overrides metadata. +*/ +await gapi.client.objects.rewrite({ destinationBucket: "destinationBucket", destinationObject: "destinationObject", sourceBucket: "sourceBucket", sourceObject: "sourceObject", }); + +/* +Updates an IAM policy for the specified object. +*/ +await gapi.client.objects.setIamPolicy({ bucket: "bucket", object: "object", }); + +/* +Tests a set of permissions on the given object to see which, if any, are held by the caller. +*/ +await gapi.client.objects.testIamPermissions({ bucket: "bucket", object: "object", permissions: "permissions", }); + +/* +Updates an object's metadata. +*/ +await gapi.client.objects.update({ bucket: "bucket", object: "object", }); + +/* +Watch for changes on all objects in a bucket. +*/ +await gapi.client.objects.watchAll({ bucket: "bucket", }); +``` \ No newline at end of file diff --git a/types/gapi.client.storage/tsconfig.json b/types/gapi.client.storage/tsconfig.json new file mode 100644 index 0000000000..761e1e8caa --- /dev/null +++ b/types/gapi.client.storage/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.storage-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.storage/tslint.json b/types/gapi.client.storage/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.storage/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.storagetransfer/gapi.client.storagetransfer-tests.ts b/types/gapi.client.storagetransfer/gapi.client.storagetransfer-tests.ts new file mode 100644 index 0000000000..838708bdc3 --- /dev/null +++ b/types/gapi.client.storagetransfer/gapi.client.storagetransfer-tests.ts @@ -0,0 +1,109 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('storagetransfer', 'v1', () => { + /** now we can use gapi.client.storagetransfer */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Returns the Google service account that is used by Storage Transfer + * Service to access buckets in the project where transfers + * run or in other projects. Each Google service account is associated + * with one Google Cloud Platform Console project. Users + * should add this service account to the Google Cloud Storage bucket + * ACLs to grant access to Storage Transfer Service. This service + * account is created and owned by Storage Transfer Service and can + * only be used by Storage Transfer Service. + */ + await gapi.client.googleServiceAccounts.get({ + projectId: "projectId", + }); + /** Creates a transfer job that runs periodically. */ + await gapi.client.transferJobs.create({ + }); + /** Gets a transfer job. */ + await gapi.client.transferJobs.get({ + jobName: "jobName", + projectId: "projectId", + }); + /** Lists transfer jobs. */ + await gapi.client.transferJobs.list({ + filter: "filter", + pageSize: 2, + pageToken: "pageToken", + }); + /** + * Updates a transfer job. Updating a job's transfer spec does not affect + * transfer operations that are running already. Updating the scheduling + * of a job is not allowed. + */ + await gapi.client.transferJobs.patch({ + jobName: "jobName", + }); + /** Cancels a transfer. Use the get method to check whether the cancellation succeeded or whether the operation completed despite cancellation. */ + await gapi.client.transferOperations.cancel({ + name: "name", + }); + /** This method is not supported and the server returns `UNIMPLEMENTED`. */ + await gapi.client.transferOperations.delete({ + name: "name", + }); + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + await gapi.client.transferOperations.get({ + name: "name", + }); + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding allows API services to override the binding + * to use different resource name schemes, such as `users/*/operations`. To + * override the binding, API services can add a binding such as + * `"/v1/{name=users/*}/operations"` to their service configuration. + * For backwards compatibility, the default name includes the operations + * collection id, however overriding users must ensure the name binding + * is the parent resource, without the operations collection id. + */ + await gapi.client.transferOperations.list({ + filter: "filter", + name: "name", + pageSize: 3, + pageToken: "pageToken", + }); + /** Pauses a transfer operation. */ + await gapi.client.transferOperations.pause({ + name: "name", + }); + /** Resumes a transfer operation that is paused. */ + await gapi.client.transferOperations.resume({ + name: "name", + }); + } +}); diff --git a/types/gapi.client.storagetransfer/index.d.ts b/types/gapi.client.storagetransfer/index.d.ts new file mode 100644 index 0000000000..41a5e9cdef --- /dev/null +++ b/types/gapi.client.storagetransfer/index.d.ts @@ -0,0 +1,856 @@ +// Type definitions for Google Google Storage Transfer API v1 1.0 +// Project: https://cloud.google.com/storage/transfer +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://storagetransfer.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Storage Transfer API v1 */ + function load(name: "storagetransfer", version: "v1"): PromiseLike<void>; + function load(name: "storagetransfer", version: "v1", callback: () => any): void; + + const googleServiceAccounts: storagetransfer.GoogleServiceAccountsResource; + + const transferJobs: storagetransfer.TransferJobsResource; + + const transferOperations: storagetransfer.TransferOperationsResource; + + namespace storagetransfer { + interface AwsAccessKey { + /** + * AWS access key ID. + * Required. + */ + accessKeyId?: string; + /** + * AWS secret access key. This field is not returned in RPC responses. + * Required. + */ + secretAccessKey?: string; + } + interface AwsS3Data { + /** + * AWS access key used to sign the API requests to the AWS S3 bucket. + * Permissions on the bucket must be granted to the access ID of the + * AWS access key. + * Required. + */ + awsAccessKey?: AwsAccessKey; + /** + * S3 Bucket name (see + * [Creating a bucket](http://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-location-example.html)). + * Required. + */ + bucketName?: string; + } + interface Date { + /** + * Day of month. Must be from 1 to 31 and valid for the year and month, or 0 + * if specifying a year/month where the day is not significant. + */ + day?: number; + /** Month of year. Must be from 1 to 12. */ + month?: number; + /** + * Year of date. Must be from 1 to 9999, or 0 if specifying a date without + * a year. + */ + year?: number; + } + interface ErrorLogEntry { + /** A list of messages that carry the error details. */ + errorDetails?: string[]; + /** + * A URL that refers to the target (a data source, a data sink, + * or an object) with which the error is associated. + * Required. + */ + url?: string; + } + interface ErrorSummary { + /** Required. */ + errorCode?: string; + /** + * Count of this type of error. + * Required. + */ + errorCount?: string; + /** Error samples. */ + errorLogEntries?: ErrorLogEntry[]; + } + interface GcsData { + /** + * Google Cloud Storage bucket name (see + * [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + * Required. + */ + bucketName?: string; + } + interface GoogleServiceAccount { + /** Required. */ + accountEmail?: string; + } + interface HttpData { + /** + * The URL that points to the file that stores the object list entries. + * This file must allow public access. Currently, only URLs with HTTP and + * HTTPS schemes are supported. + * Required. + */ + listUrl?: string; + } + interface ListOperationsResponse { + /** The standard List next-page token. */ + nextPageToken?: string; + /** A list of operations that matches the specified filter in the request. */ + operations?: Operation[]; + } + interface ListTransferJobsResponse { + /** The list next page token. */ + nextPageToken?: string; + /** A list of transfer jobs. */ + transferJobs?: TransferJob[]; + } + interface ObjectConditions { + /** + * `excludePrefixes` must follow the requirements described for + * `includePrefixes`. + * + * The max size of `excludePrefixes` is 1000. + */ + excludePrefixes?: string[]; + /** + * If `includePrefixes` is specified, objects that satisfy the object + * conditions must have names that start with one of the `includePrefixes` + * and that do not start with any of the `excludePrefixes`. If `includePrefixes` + * is not specified, all objects except those that have names starting with + * one of the `excludePrefixes` must satisfy the object conditions. + * + * Requirements: + * + * * Each include-prefix and exclude-prefix can contain any sequence of + * Unicode characters, of max length 1024 bytes when UTF8-encoded, and + * must not contain Carriage Return or Line Feed characters. Wildcard + * matching and regular expression matching are not supported. + * + * * Each include-prefix and exclude-prefix must omit the leading slash. + * For example, to include the `requests.gz` object in a transfer from + * `s3://my-aws-bucket/logs/y=2015/requests.gz`, specify the include + * prefix as `logs/y=2015/requests.gz`. + * + * * None of the include-prefix or the exclude-prefix values can be empty, + * if specified. + * + * * Each include-prefix must include a distinct portion of the object + * namespace, i.e., no include-prefix may be a prefix of another + * include-prefix. + * + * * Each exclude-prefix must exclude a distinct portion of the object + * namespace, i.e., no exclude-prefix may be a prefix of another + * exclude-prefix. + * + * * If `includePrefixes` is specified, then each exclude-prefix must start + * with the value of a path explicitly included by `includePrefixes`. + * + * The max size of `includePrefixes` is 1000. + */ + includePrefixes?: string[]; + /** + * `maxTimeElapsedSinceLastModification` is the complement to + * `minTimeElapsedSinceLastModification`. + */ + maxTimeElapsedSinceLastModification?: string; + /** + * If unspecified, `minTimeElapsedSinceLastModification` takes a zero value + * and `maxTimeElapsedSinceLastModification` takes the maximum possible + * value of Duration. Objects that satisfy the object conditions + * must either have a `lastModificationTime` greater or equal to + * `NOW` - `maxTimeElapsedSinceLastModification` and less than + * `NOW` - `minTimeElapsedSinceLastModification`, or not have a + * `lastModificationTime`. + */ + minTimeElapsedSinceLastModification?: string; + } + interface Operation { + /** + * If the value is `false`, it means the operation is still in progress. + * If `true`, the operation is completed, and either `error` or `response` is + * available. + */ + done?: boolean; + /** The error result of the operation in case of failure or cancellation. */ + error?: Status; + /** Represents the transfer operation object. */ + metadata?: Record<string, any>; + /** + * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` + * should have the format of `transferOperations/some/unique/name`. + */ + name?: string; + /** + * The normal response of the operation in case of success. If the original + * method returns no data on success, such as `Delete`, the response is + * `google.protobuf.Empty`. If the original method is standard + * `Get`/`Create`/`Update`, the response should be the resource. For other + * methods, the response should have the type `XxxResponse`, where `Xxx` + * is the original method name. For example, if the original method name + * is `TakeSnapshot()`, the inferred response type is + * `TakeSnapshotResponse`. + */ + response?: Record<string, any>; + } + interface Schedule { + /** + * The last day the recurring transfer will be run. If `scheduleEndDate` + * is the same as `scheduleStartDate`, the transfer will be executed only + * once. + */ + scheduleEndDate?: Date; + /** + * The first day the recurring transfer is scheduled to run. If + * `scheduleStartDate` is in the past, the transfer will run for the first + * time on the following day. + * Required. + */ + scheduleStartDate?: Date; + /** + * The time in UTC at which the transfer will be scheduled to start in a day. + * Transfers may start later than this time. If not specified, recurring and + * one-time transfers that are scheduled to run today will run immediately; + * recurring transfers that are scheduled to run on a future date will start + * at approximately midnight UTC on that date. Note that when configuring a + * transfer with the Cloud Platform Console, the transfer's start time in a + * day is specified in your local timezone. + */ + startTimeOfDay?: TimeOfDay; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface TimeOfDay { + /** + * Hours of day in 24 hour format. Should be from 0 to 23. An API may choose + * to allow the value "24:00:00" for scenarios like business closing time. + */ + hours?: number; + /** Minutes of hour of day. Must be from 0 to 59. */ + minutes?: number; + /** Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. */ + nanos?: number; + /** + * Seconds of minutes of the time. Must normally be from 0 to 59. An API may + * allow the value 60 if it allows leap-seconds. + */ + seconds?: number; + } + interface TransferCounters { + /** Bytes that are copied to the data sink. */ + bytesCopiedToSink?: string; + /** Bytes that are deleted from the data sink. */ + bytesDeletedFromSink?: string; + /** Bytes that are deleted from the data source. */ + bytesDeletedFromSource?: string; + /** Bytes that failed to be deleted from the data sink. */ + bytesFailedToDeleteFromSink?: string; + /** + * Bytes found in the data source that are scheduled to be transferred, + * which will be copied, excluded based on conditions, or skipped due to + * failures. + */ + bytesFoundFromSource?: string; + /** Bytes found only in the data sink that are scheduled to be deleted. */ + bytesFoundOnlyFromSink?: string; + /** Bytes in the data source that failed during the transfer. */ + bytesFromSourceFailed?: string; + /** + * Bytes in the data source that are not transferred because they already + * exist in the data sink. + */ + bytesFromSourceSkippedBySync?: string; + /** Objects that are copied to the data sink. */ + objectsCopiedToSink?: string; + /** Objects that are deleted from the data sink. */ + objectsDeletedFromSink?: string; + /** Objects that are deleted from the data source. */ + objectsDeletedFromSource?: string; + /** Objects that failed to be deleted from the data sink. */ + objectsFailedToDeleteFromSink?: string; + /** + * Objects found in the data source that are scheduled to be transferred, + * which will be copied, excluded based on conditions, or skipped due to + * failures. + */ + objectsFoundFromSource?: string; + /** Objects found only in the data sink that are scheduled to be deleted. */ + objectsFoundOnlyFromSink?: string; + /** Objects in the data source that failed during the transfer. */ + objectsFromSourceFailed?: string; + /** + * Objects in the data source that are not transferred because they already + * exist in the data sink. + */ + objectsFromSourceSkippedBySync?: string; + } + interface TransferJob { + /** This field cannot be changed by user requests. */ + creationTime?: string; + /** This field cannot be changed by user requests. */ + deletionTime?: string; + /** + * A description provided by the user for the job. Its max length is 1024 + * bytes when Unicode-encoded. + */ + description?: string; + /** This field cannot be changed by user requests. */ + lastModificationTime?: string; + /** + * A globally unique name assigned by Storage Transfer Service when the + * job is created. This field should be left empty in requests to create a new + * transfer job; otherwise, the requests result in an `INVALID_ARGUMENT` + * error. + */ + name?: string; + /** The ID of the Google Cloud Platform Console project that owns the job. */ + projectId?: string; + /** Schedule specification. */ + schedule?: Schedule; + /** + * Status of the job. This value MUST be specified for + * `CreateTransferJobRequests`. + * + * NOTE: The effect of the new job status takes place during a subsequent job + * run. For example, if you change the job status from `ENABLED` to + * `DISABLED`, and an operation spawned by the transfer is running, the status + * change would not affect the current operation. + */ + status?: string; + /** Transfer specification. */ + transferSpec?: TransferSpec; + } + interface TransferOperation { + /** Information about the progress of the transfer operation. */ + counters?: TransferCounters; + /** End time of this transfer execution. */ + endTime?: string; + /** Summarizes errors encountered with sample error log entries. */ + errorBreakdowns?: ErrorSummary[]; + /** A globally unique ID assigned by the system. */ + name?: string; + /** + * The ID of the Google Cloud Platform Console project that owns the operation. + * Required. + */ + projectId?: string; + /** Start time of this transfer execution. */ + startTime?: string; + /** Status of the transfer operation. */ + status?: string; + /** The name of the transfer job that triggers this transfer operation. */ + transferJobName?: string; + /** + * Transfer specification. + * Required. + */ + transferSpec?: TransferSpec; + } + interface TransferOptions { + /** + * Whether objects should be deleted from the source after they are + * transferred to the sink. Note that this option and + * `deleteObjectsUniqueInSink` are mutually exclusive. + */ + deleteObjectsFromSourceAfterTransfer?: boolean; + /** + * Whether objects that exist only in the sink should be deleted. Note that + * this option and `deleteObjectsFromSourceAfterTransfer` are mutually + * exclusive. + */ + deleteObjectsUniqueInSink?: boolean; + /** Whether overwriting objects that already exist in the sink is allowed. */ + overwriteObjectsAlreadyExistingInSink?: boolean; + } + interface TransferSpec { + /** An AWS S3 data source. */ + awsS3DataSource?: AwsS3Data; + /** A Google Cloud Storage data sink. */ + gcsDataSink?: GcsData; + /** A Google Cloud Storage data source. */ + gcsDataSource?: GcsData; + /** An HTTP URL data source. */ + httpDataSource?: HttpData; + /** + * Only objects that satisfy these object conditions are included in the set + * of data source and data sink objects. Object conditions based on + * objects' `lastModificationTime` do not exclude objects in a data sink. + */ + objectConditions?: ObjectConditions; + /** + * If the option `deleteObjectsUniqueInSink` is `true`, object conditions + * based on objects' `lastModificationTime` are ignored and do not exclude + * objects in a data source or a data sink. + */ + transferOptions?: TransferOptions; + } + interface UpdateTransferJobRequest { + /** + * The ID of the Google Cloud Platform Console project that owns the job. + * Required. + */ + projectId?: string; + /** + * The job to update. `transferJob` is expected to specify only three fields: + * `description`, `transferSpec`, and `status`. An UpdateTransferJobRequest + * that specifies other fields will be rejected with an error + * `INVALID_ARGUMENT`. + * Required. + */ + transferJob?: TransferJob; + /** + * The field mask of the fields in `transferJob` that are to be updated in + * this request. Fields in `transferJob` that can be updated are: + * `description`, `transferSpec`, and `status`. To update the `transferSpec` + * of the job, a complete transfer specification has to be provided. An + * incomplete specification which misses any required fields will be rejected + * with the error `INVALID_ARGUMENT`. + */ + updateTransferJobFieldMask?: string; + } + interface GoogleServiceAccountsResource { + /** + * Returns the Google service account that is used by Storage Transfer + * Service to access buckets in the project where transfers + * run or in other projects. Each Google service account is associated + * with one Google Cloud Platform Console project. Users + * should add this service account to the Google Cloud Storage bucket + * ACLs to grant access to Storage Transfer Service. This service + * account is created and owned by Storage Transfer Service and can + * only be used by Storage Transfer Service. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The ID of the Google Cloud Platform Console project that the Google service + * account is associated with. + * Required. + */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleServiceAccount>; + } + interface TransferJobsResource { + /** Creates a transfer job that runs periodically. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TransferJob>; + /** Gets a transfer job. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The job to get. + * Required. + */ + jobName: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The ID of the Google Cloud Platform Console project that owns the job. + * Required. + */ + projectId?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TransferJob>; + /** Lists transfer jobs. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * A list of query parameters specified as JSON text in the form of + * {"project_id":"my_project_id", + * "job_names":["jobid1","jobid2",...], + * "job_statuses":["status1","status2",...]}. + * Since `job_names` and `job_statuses` support multiple values, their values + * must be specified with array notation. `project_id` is required. `job_names` + * and `job_statuses` are optional. The valid values for `job_statuses` are + * case-insensitive: `ENABLED`, `DISABLED`, and `DELETED`. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The list page size. The max allowed value is 256. */ + pageSize?: number; + /** The list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListTransferJobsResponse>; + /** + * Updates a transfer job. Updating a job's transfer spec does not affect + * transfer operations that are running already. Updating the scheduling + * of a job is not allowed. + */ + patch(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The name of job to update. + * Required. + */ + jobName: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TransferJob>; + } + interface TransferOperationsResource { + /** Cancels a transfer. Use the get method to check whether the cancellation succeeded or whether the operation completed despite cancellation. */ + cancel(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be cancelled. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** This method is not supported and the server returns `UNIMPLEMENTED`. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource to be deleted. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The name of the operation resource. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Operation>; + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * NOTE: the `name` binding allows API services to override the binding + * to use different resource name schemes, such as `users/*/operations`. To + * override the binding, API services can add a binding such as + * `"/v1/{name=users/*}/operations"` to their service configuration. + * For backwards compatibility, the default name includes the operations + * collection id, however overriding users must ensure the name binding + * is the parent resource, without the operations collection id. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * A list of query parameters specified as JSON text in the form of {\"project_id\" : \"my_project_id\", \"job_names\" : [\"jobid1\", \"jobid2\",...], + * \"operation_names\" : [\"opid1\", \"opid2\",...], \"transfer_statuses\":[\"status1\", \"status2\",...]}. Since `job_names`, `operation_names`, and + * `transfer_statuses` support multiple values, they must be specified with array notation. `job_names`, `operation_names`, and `transfer_statuses` are + * optional. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The value `transferOperations`. */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The list page size. The max allowed value is 256. */ + pageSize?: number; + /** The list page token. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListOperationsResponse>; + /** Pauses a transfer operation. */ + pause(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The name of the transfer operation. + * Required. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Resumes a transfer operation that is paused. */ + resume(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The name of the transfer operation. + * Required. + */ + name: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + } + } +} diff --git a/types/gapi.client.storagetransfer/readme.md b/types/gapi.client.storagetransfer/readme.md new file mode 100644 index 0000000000..d9e803e85e --- /dev/null +++ b/types/gapi.client.storagetransfer/readme.md @@ -0,0 +1,129 @@ +# TypeScript typings for Google Storage Transfer API v1 +Transfers data from external data sources to a Google Cloud Storage bucket or between Google Cloud Storage buckets. +For detailed description please check [documentation](https://cloud.google.com/storage/transfer). + +## Installing + +Install typings for Google Storage Transfer API: +``` +npm install @types/gapi.client.storagetransfer@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('storagetransfer', 'v1', () => { + // now we can use gapi.client.storagetransfer + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Storage Transfer API resources: + +```typescript + +/* +Returns the Google service account that is used by Storage Transfer +Service to access buckets in the project where transfers +run or in other projects. Each Google service account is associated +with one Google Cloud Platform Console project. Users +should add this service account to the Google Cloud Storage bucket +ACLs to grant access to Storage Transfer Service. This service +account is created and owned by Storage Transfer Service and can +only be used by Storage Transfer Service. +*/ +await gapi.client.googleServiceAccounts.get({ projectId: "projectId", }); + +/* +Creates a transfer job that runs periodically. +*/ +await gapi.client.transferJobs.create({ }); + +/* +Gets a transfer job. +*/ +await gapi.client.transferJobs.get({ jobName: "jobName", }); + +/* +Lists transfer jobs. +*/ +await gapi.client.transferJobs.list({ }); + +/* +Updates a transfer job. Updating a job's transfer spec does not affect +transfer operations that are running already. Updating the scheduling +of a job is not allowed. +*/ +await gapi.client.transferJobs.patch({ jobName: "jobName", }); + +/* +Cancels a transfer. Use the get method to check whether the cancellation succeeded or whether the operation completed despite cancellation. +*/ +await gapi.client.transferOperations.cancel({ name: "name", }); + +/* +This method is not supported and the server returns `UNIMPLEMENTED`. +*/ +await gapi.client.transferOperations.delete({ name: "name", }); + +/* +Gets the latest state of a long-running operation. Clients can use this +method to poll the operation result at intervals as recommended by the API +service. +*/ +await gapi.client.transferOperations.get({ name: "name", }); + +/* +Lists operations that match the specified filter in the request. If the +server doesn't support this method, it returns `UNIMPLEMENTED`. + +NOTE: the `name` binding allows API services to override the binding +to use different resource name schemes, such as `users/*/operations`. To +override the binding, API services can add a binding such as +`"/v1/{name=users/*}/operations"` to their service configuration. +For backwards compatibility, the default name includes the operations +collection id, however overriding users must ensure the name binding +is the parent resource, without the operations collection id. +*/ +await gapi.client.transferOperations.list({ name: "name", }); + +/* +Pauses a transfer operation. +*/ +await gapi.client.transferOperations.pause({ name: "name", }); + +/* +Resumes a transfer operation that is paused. +*/ +await gapi.client.transferOperations.resume({ name: "name", }); +``` \ No newline at end of file diff --git a/types/gapi.client.storagetransfer/tsconfig.json b/types/gapi.client.storagetransfer/tsconfig.json new file mode 100644 index 0000000000..4eb74edeea --- /dev/null +++ b/types/gapi.client.storagetransfer/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.storagetransfer-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.storagetransfer/tslint.json b/types/gapi.client.storagetransfer/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.storagetransfer/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.streetviewpublish/gapi.client.streetviewpublish-tests.ts b/types/gapi.client.streetviewpublish/gapi.client.streetviewpublish-tests.ts new file mode 100644 index 0000000000..8cfaf45143 --- /dev/null +++ b/types/gapi.client.streetviewpublish/gapi.client.streetviewpublish-tests.ts @@ -0,0 +1,214 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('streetviewpublish', 'v1', () => { + /** now we can use gapi.client.streetviewpublish */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Publish and manage your 360 photos on Google Street View */ + 'https://www.googleapis.com/auth/streetviewpublish', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * After the client finishes uploading the photo with the returned + * UploadRef, + * CreatePhoto + * publishes the uploaded Photo to + * Street View on Google Maps. + * + * Currently, the only way to set heading, pitch, and roll in CreatePhoto is + * through the [Photo Sphere XMP + * metadata](https://developers.google.com/streetview/spherical-metadata) in + * the photo bytes. The `pose.heading`, `pose.pitch`, `pose.roll`, + * `pose.altitude`, and `pose.level` fields in Pose are ignored for + * CreatePhoto. + * + * This method returns the following error codes: + * + * * google.rpc.Code.INVALID_ARGUMENT if the request is malformed. + * * google.rpc.Code.NOT_FOUND if the upload reference does not exist. + * * google.rpc.Code.RESOURCE_EXHAUSTED if the account has reached the + * storage limit. + */ + await gapi.client.photo.create({ + }); + /** + * Deletes a Photo and its metadata. + * + * This method returns the following error codes: + * + * * google.rpc.Code.PERMISSION_DENIED if the requesting user did not + * create the requested photo. + * * google.rpc.Code.NOT_FOUND if the photo ID does not exist. + */ + await gapi.client.photo.delete({ + photoId: "photoId", + }); + /** + * Gets the metadata of the specified + * Photo. + * + * This method returns the following error codes: + * + * * google.rpc.Code.PERMISSION_DENIED if the requesting user did not + * create the requested Photo. + * * google.rpc.Code.NOT_FOUND if the requested + * Photo does not exist. + */ + await gapi.client.photo.get({ + photoId: "photoId", + view: "view", + }); + /** + * Creates an upload session to start uploading photo bytes. The upload URL of + * the returned UploadRef is used to + * upload the bytes for the Photo. + * + * In addition to the photo requirements shown in + * https://support.google.com/maps/answer/7012050?hl=en&ref_topic=6275604, + * the photo must also meet the following requirements: + * + * * Photo Sphere XMP metadata must be included in the photo medadata. See + * https://developers.google.com/streetview/spherical-metadata for the + * required fields. + * * The pixel size of the photo must meet the size requirements listed in + * https://support.google.com/maps/answer/7012050?hl=en&ref_topic=6275604, and + * the photo must be a full 360 horizontally. + * + * After the upload is complete, the + * UploadRef is used with + * CreatePhoto + * to create the Photo object entry. + */ + await gapi.client.photo.startUpload({ + }); + /** + * Updates the metadata of a Photo, such + * as pose, place association, connections, etc. Changing the pixels of a + * photo is not supported. + * + * Only the fields specified in the + * updateMask + * field are used. If `updateMask` is not present, the update applies to all + * fields. + * + * <aside class="note"><b>Note:</b> To update + * Pose.altitude, + * Pose.latLngPair has to be + * filled as well. Otherwise, the request will fail.</aside> + * + * This method returns the following error codes: + * + * * google.rpc.Code.PERMISSION_DENIED if the requesting user did not + * create the requested photo. + * * google.rpc.Code.INVALID_ARGUMENT if the request is malformed. + * * google.rpc.Code.NOT_FOUND if the requested photo does not exist. + */ + await gapi.client.photo.update({ + id: "id", + updateMask: "updateMask", + }); + /** + * Deletes a list of Photos and their + * metadata. + * + * Note that if + * BatchDeletePhotos + * fails, either critical fields are missing or there was an authentication + * error. Even if + * BatchDeletePhotos + * succeeds, there may have been failures for single photos in the batch. + * These failures will be specified in each + * PhotoResponse.status + * in + * BatchDeletePhotosResponse.results. + * See + * DeletePhoto + * for specific failures that can occur per photo. + */ + await gapi.client.photos.batchDelete({ + }); + /** + * Gets the metadata of the specified + * Photo batch. + * + * Note that if + * BatchGetPhotos + * fails, either critical fields are missing or there was an authentication + * error. Even if + * BatchGetPhotos + * succeeds, there may have been failures for single photos in the batch. + * These failures will be specified in each + * PhotoResponse.status + * in + * BatchGetPhotosResponse.results. + * See + * GetPhoto + * for specific failures that can occur per photo. + */ + await gapi.client.photos.batchGet({ + photoIds: "photoIds", + view: "view", + }); + /** + * Updates the metadata of Photos, such + * as pose, place association, connections, etc. Changing the pixels of photos + * is not supported. + * + * Note that if + * BatchUpdatePhotos + * fails, either critical fields are missing or there was an authentication + * error. Even if + * BatchUpdatePhotos + * succeeds, there may have been failures for single photos in the batch. + * These failures will be specified in each + * PhotoResponse.status + * in + * BatchUpdatePhotosResponse.results. + * See + * UpdatePhoto + * for specific failures that can occur per photo. + * + * Only the fields specified in + * updateMask + * field are used. If `updateMask` is not present, the update applies to all + * fields. + * + * <aside class="note"><b>Note:</b> To update + * Pose.altitude, + * Pose.latLngPair has to be + * filled as well. Otherwise, the request will fail.</aside> + */ + await gapi.client.photos.batchUpdate({ + }); + /** + * Lists all the Photos that belong to + * the user. + */ + await gapi.client.photos.list({ + filter: "filter", + pageSize: 2, + pageToken: "pageToken", + view: "view", + }); + } +}); diff --git a/types/gapi.client.streetviewpublish/index.d.ts b/types/gapi.client.streetviewpublish/index.d.ts new file mode 100644 index 0000000000..50a363b410 --- /dev/null +++ b/types/gapi.client.streetviewpublish/index.d.ts @@ -0,0 +1,787 @@ +// Type definitions for Google Street View Publish API v1 1.0 +// Project: https://developers.google.com/streetview/publish/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://streetviewpublish.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Street View Publish API v1 */ + function load(name: "streetviewpublish", version: "v1"): PromiseLike<void>; + function load(name: "streetviewpublish", version: "v1", callback: () => any): void; + + const photo: streetviewpublish.PhotoResource; + + const photos: streetviewpublish.PhotosResource; + + namespace streetviewpublish { + interface BatchDeletePhotosRequest { + /** + * Required. IDs of the Photos. For HTTP + * GET requests, the URL query parameter should be + * `photoIds=<id1>&photoIds=<id2>&...`. + */ + photoIds?: string[]; + } + interface BatchDeletePhotosResponse { + /** + * The status for the operation to delete a single + * Photo in the batch request. + */ + status?: Status[]; + } + interface BatchGetPhotosResponse { + /** + * List of results for each individual + * Photo requested, in the same order as + * the requests in + * BatchGetPhotos. + */ + results?: PhotoResponse[]; + } + interface BatchUpdatePhotosRequest { + /** + * Required. List of + * UpdatePhotoRequests. + */ + updatePhotoRequests?: UpdatePhotoRequest[]; + } + interface BatchUpdatePhotosResponse { + /** + * List of results for each individual + * Photo updated, in the same order as + * the request. + */ + results?: PhotoResponse[]; + } + interface Connection { + /** + * Required. The destination of the connection from the containing photo to + * another photo. + */ + target?: PhotoId; + } + interface LatLng { + /** The latitude in degrees. It must be in the range [-90.0, +90.0]. */ + latitude?: number; + /** The longitude in degrees. It must be in the range [-180.0, +180.0]. */ + longitude?: number; + } + interface Level { + /** + * Required. A name assigned to this Level, restricted to 3 characters. + * Consider how the elevator buttons would be labeled for this level if there + * was an elevator. + */ + name?: string; + /** + * Floor number, used for ordering. 0 indicates the ground level, 1 indicates + * the first level above ground level, -1 indicates the first level under + * ground level. Non-integer values are OK. + */ + number?: number; + } + interface ListPhotosResponse { + /** + * Token to retrieve the next page of results, or empty if there are no more + * results in the list. + */ + nextPageToken?: string; + /** + * List of photos. The maximum number of items returned is based on the + * pageSize field + * in the request. + */ + photos?: Photo[]; + } + interface Operation { + /** + * If the value is `false`, it means the operation is still in progress. + * If `true`, the operation is completed, and either `error` or `response` is + * available. + */ + done?: boolean; + /** The error result of the operation in case of failure or cancellation. */ + error?: Status; + /** + * Service-specific metadata associated with the operation. It typically + * contains progress information and common metadata such as create time. + * Some services might not provide such metadata. Any method that returns a + * long-running operation should document the metadata type, if any. + */ + metadata?: Record<string, any>; + /** + * The server-assigned name, which is only unique within the same service that + * originally returns it. If you use the default HTTP mapping, the + * `name` should have the format of `operations/some/unique/name`. + */ + name?: string; + /** + * The normal response of the operation in case of success. If the original + * method returns no data on success, such as `Delete`, the response is + * `google.protobuf.Empty`. If the original method is standard + * `Get`/`Create`/`Update`, the response should be the resource. For other + * methods, the response should have the type `XxxResponse`, where `Xxx` + * is the original method name. For example, if the original method name + * is `TakeSnapshot()`, the inferred response type is + * `TakeSnapshotResponse`. + */ + response?: Record<string, any>; + } + interface Photo { + /** + * Absolute time when the photo was captured. + * When the photo has no exif timestamp, this is used to set a timestamp in + * the photo metadata. + */ + captureTime?: string; + /** + * Connections to other photos. A connection represents the link from this + * photo to another photo. + */ + connections?: Connection[]; + /** + * Output only. The download URL for the photo bytes. This field is set only + * when + * GetPhotoRequest.view + * is set to + * PhotoView.INCLUDE_DOWNLOAD_URL. + */ + downloadUrl?: string; + /** + * Required when updating a photo. Output only when creating a photo. + * Identifier for the photo, which is unique among all photos in + * Google. + */ + photoId?: PhotoId; + /** Places where this photo belongs. */ + places?: Place[]; + /** Pose of the photo. */ + pose?: Pose; + /** Output only. The share link for the photo. */ + shareLink?: string; + /** Output only. The thumbnail URL for showing a preview of the given photo. */ + thumbnailUrl?: string; + /** + * Required when creating a photo. Input only. The resource URL where the + * photo bytes are uploaded to. + */ + uploadReference?: UploadRef; + /** Output only. View count of the photo. */ + viewCount?: string; + } + interface PhotoId { + /** Required. A unique identifier for a photo. */ + id?: string; + } + interface PhotoResponse { + /** + * The Photo resource, if the request + * was successful. + */ + photo?: Photo; + /** + * The status for the operation to get or update a single photo in the batch + * request. + */ + status?: Status; + } + interface Place { + /** + * Place identifier, as described in + * https://developers.google.com/places/place-id. + */ + placeId?: string; + } + interface Pose { + /** + * Altitude of the pose in meters above ground level (as defined by WGS84). + * NaN indicates an unmeasured quantity. + */ + altitude?: number; + /** + * Compass heading, measured at the center of the photo in degrees clockwise + * from North. Value must be >=0 and <360. + * NaN indicates an unmeasured quantity. + */ + heading?: number; + /** + * Latitude and longitude pair of the pose, as explained here: + * https://cloud.google.com/datastore/docs/reference/rest/Shared.Types/LatLng + * When creating a Photo, if the + * latitude and longitude pair are not provided here, the geolocation from the + * exif header will be used. If the latitude and longitude pair is not + * provided and cannot be found in the exif header, the create photo process + * will fail. + */ + latLngPair?: LatLng; + /** Level (the floor in a building) used to configure vertical navigation. */ + level?: Level; + /** + * Pitch, measured at the center of the photo in degrees. Value must be >=-90 + * and <= 90. A value of -90 means looking directly down, and a value of 90 + * means looking directly up. + * NaN indicates an unmeasured quantity. + */ + pitch?: number; + /** + * Roll, measured in degrees. Value must be >= 0 and <360. A value of 0 + * means level with the horizon. + * NaN indicates an unmeasured quantity. + */ + roll?: number; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface UpdatePhotoRequest { + /** + * Required. Photo object containing the + * new metadata. + */ + photo?: Photo; + /** + * Mask that identifies fields on the photo metadata to update. + * If not present, the old Photo + * metadata will be entirely replaced with the + * new Photo metadata in this request. + * The update fails if invalid fields are specified. Multiple fields can be + * specified in a comma-delimited list. + * + * The following fields are valid: + * + * * `pose.heading` + * * `pose.latLngPair` + * * `pose.pitch` + * * `pose.roll` + * * `pose.level` + * * `pose.altitude` + * * `connections` + * * `places` + * + * + * <aside class="note"><b>Note:</b> Repeated fields in + * updateMask + * mean the entire set of repeated values will be replaced with the new + * contents. For example, if + * updateMask + * contains `connections` and `UpdatePhotoRequest.photo.connections` is empty, + * all connections will be removed.</aside> + */ + updateMask?: string; + } + interface UploadRef { + /** + * Required. An upload reference should be unique for each user. It follows + * the form: + * "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}" + */ + uploadUrl?: string; + } + interface PhotoResource { + /** + * After the client finishes uploading the photo with the returned + * UploadRef, + * CreatePhoto + * publishes the uploaded Photo to + * Street View on Google Maps. + * + * Currently, the only way to set heading, pitch, and roll in CreatePhoto is + * through the [Photo Sphere XMP + * metadata](https://developers.google.com/streetview/spherical-metadata) in + * the photo bytes. The `pose.heading`, `pose.pitch`, `pose.roll`, + * `pose.altitude`, and `pose.level` fields in Pose are ignored for + * CreatePhoto. + * + * This method returns the following error codes: + * + * * google.rpc.Code.INVALID_ARGUMENT if the request is malformed. + * * google.rpc.Code.NOT_FOUND if the upload reference does not exist. + * * google.rpc.Code.RESOURCE_EXHAUSTED if the account has reached the + * storage limit. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Photo>; + /** + * Deletes a Photo and its metadata. + * + * This method returns the following error codes: + * + * * google.rpc.Code.PERMISSION_DENIED if the requesting user did not + * create the requested photo. + * * google.rpc.Code.NOT_FOUND if the photo ID does not exist. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Required. ID of the Photo. */ + photoId: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Gets the metadata of the specified + * Photo. + * + * This method returns the following error codes: + * + * * google.rpc.Code.PERMISSION_DENIED if the requesting user did not + * create the requested Photo. + * * google.rpc.Code.NOT_FOUND if the requested + * Photo does not exist. + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Required. ID of the Photo. */ + photoId: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * Specifies if a download URL for the photo bytes should be returned in the + * Photo response. + */ + view?: string; + }): Request<Photo>; + /** + * Creates an upload session to start uploading photo bytes. The upload URL of + * the returned UploadRef is used to + * upload the bytes for the Photo. + * + * In addition to the photo requirements shown in + * https://support.google.com/maps/answer/7012050?hl=en&ref_topic=6275604, + * the photo must also meet the following requirements: + * + * * Photo Sphere XMP metadata must be included in the photo medadata. See + * https://developers.google.com/streetview/spherical-metadata for the + * required fields. + * * The pixel size of the photo must meet the size requirements listed in + * https://support.google.com/maps/answer/7012050?hl=en&ref_topic=6275604, and + * the photo must be a full 360 horizontally. + * + * After the upload is complete, the + * UploadRef is used with + * CreatePhoto + * to create the Photo object entry. + */ + startUpload(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<UploadRef>; + /** + * Updates the metadata of a Photo, such + * as pose, place association, connections, etc. Changing the pixels of a + * photo is not supported. + * + * Only the fields specified in the + * updateMask + * field are used. If `updateMask` is not present, the update applies to all + * fields. + * + * <aside class="note"><b>Note:</b> To update + * Pose.altitude, + * Pose.latLngPair has to be + * filled as well. Otherwise, the request will fail.</aside> + * + * This method returns the following error codes: + * + * * google.rpc.Code.PERMISSION_DENIED if the requesting user did not + * create the requested photo. + * * google.rpc.Code.INVALID_ARGUMENT if the request is malformed. + * * google.rpc.Code.NOT_FOUND if the requested photo does not exist. + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Required. A unique identifier for a photo. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Mask that identifies fields on the photo metadata to update. + * If not present, the old Photo + * metadata will be entirely replaced with the + * new Photo metadata in this request. + * The update fails if invalid fields are specified. Multiple fields can be + * specified in a comma-delimited list. + * + * The following fields are valid: + * + * * `pose.heading` + * * `pose.latLngPair` + * * `pose.pitch` + * * `pose.roll` + * * `pose.level` + * * `pose.altitude` + * * `connections` + * * `places` + * + * + * <aside class="note"><b>Note:</b> Repeated fields in + * updateMask + * mean the entire set of repeated values will be replaced with the new + * contents. For example, if + * updateMask + * contains `connections` and `UpdatePhotoRequest.photo.connections` is empty, + * all connections will be removed.</aside> + */ + updateMask?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Photo>; + } + interface PhotosResource { + /** + * Deletes a list of Photos and their + * metadata. + * + * Note that if + * BatchDeletePhotos + * fails, either critical fields are missing or there was an authentication + * error. Even if + * BatchDeletePhotos + * succeeds, there may have been failures for single photos in the batch. + * These failures will be specified in each + * PhotoResponse.status + * in + * BatchDeletePhotosResponse.results. + * See + * DeletePhoto + * for specific failures that can occur per photo. + */ + batchDelete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<BatchDeletePhotosResponse>; + /** + * Gets the metadata of the specified + * Photo batch. + * + * Note that if + * BatchGetPhotos + * fails, either critical fields are missing or there was an authentication + * error. Even if + * BatchGetPhotos + * succeeds, there may have been failures for single photos in the batch. + * These failures will be specified in each + * PhotoResponse.status + * in + * BatchGetPhotosResponse.results. + * See + * GetPhoto + * for specific failures that can occur per photo. + */ + batchGet(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Required. IDs of the Photos. For HTTP + * GET requests, the URL query parameter should be + * `photoIds=<id1>&photoIds=<id2>&...`. + */ + photoIds?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * Specifies if a download URL for the photo bytes should be returned in the + * Photo response. + */ + view?: string; + }): Request<BatchGetPhotosResponse>; + /** + * Updates the metadata of Photos, such + * as pose, place association, connections, etc. Changing the pixels of photos + * is not supported. + * + * Note that if + * BatchUpdatePhotos + * fails, either critical fields are missing or there was an authentication + * error. Even if + * BatchUpdatePhotos + * succeeds, there may have been failures for single photos in the batch. + * These failures will be specified in each + * PhotoResponse.status + * in + * BatchUpdatePhotosResponse.results. + * See + * UpdatePhoto + * for specific failures that can occur per photo. + * + * Only the fields specified in + * updateMask + * field are used. If `updateMask` is not present, the update applies to all + * fields. + * + * <aside class="note"><b>Note:</b> To update + * Pose.altitude, + * Pose.latLngPair has to be + * filled as well. Otherwise, the request will fail.</aside> + */ + batchUpdate(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<BatchUpdatePhotosResponse>; + /** + * Lists all the Photos that belong to + * the user. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`. + * + * The only filter supported at the moment is `placeId`. + */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The maximum number of photos to return. + * `pageSize` must be non-negative. If `pageSize` is zero or is not provided, + * the default page size of 100 will be used. + * The number of photos returned in the response may be less than `pageSize` + * if the number of photos that belong to the user is less than `pageSize`. + */ + pageSize?: number; + /** + * The + * nextPageToken + * value returned from a previous + * ListPhotos + * request, if any. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** + * Specifies if a download URL for the photos bytes should be returned in the + * Photos response. + */ + view?: string; + }): Request<ListPhotosResponse>; + } + } +} diff --git a/types/gapi.client.streetviewpublish/readme.md b/types/gapi.client.streetviewpublish/readme.md new file mode 100644 index 0000000000..a1e2195f7e --- /dev/null +++ b/types/gapi.client.streetviewpublish/readme.md @@ -0,0 +1,226 @@ +# TypeScript typings for Street View Publish API v1 +Publishes 360 photos to Google Maps, along with position, orientation, and connectivity metadata. Apps can offer an interface for positioning, connecting, and uploading user-generated Street View images. + +For detailed description please check [documentation](https://developers.google.com/streetview/publish/). + +## Installing + +Install typings for Street View Publish API: +``` +npm install @types/gapi.client.streetviewpublish@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('streetviewpublish', 'v1', () => { + // now we can use gapi.client.streetviewpublish + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Publish and manage your 360 photos on Google Street View + 'https://www.googleapis.com/auth/streetviewpublish', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Street View Publish API resources: + +```typescript + +/* +After the client finishes uploading the photo with the returned +UploadRef, +CreatePhoto +publishes the uploaded Photo to +Street View on Google Maps. + +Currently, the only way to set heading, pitch, and roll in CreatePhoto is +through the [Photo Sphere XMP +metadata](https://developers.google.com/streetview/spherical-metadata) in +the photo bytes. The `pose.heading`, `pose.pitch`, `pose.roll`, +`pose.altitude`, and `pose.level` fields in Pose are ignored for +CreatePhoto. + +This method returns the following error codes: + +* google.rpc.Code.INVALID_ARGUMENT if the request is malformed. +* google.rpc.Code.NOT_FOUND if the upload reference does not exist. +* google.rpc.Code.RESOURCE_EXHAUSTED if the account has reached the +storage limit. +*/ +await gapi.client.photo.create({ }); + +/* +Deletes a Photo and its metadata. + +This method returns the following error codes: + +* google.rpc.Code.PERMISSION_DENIED if the requesting user did not +create the requested photo. +* google.rpc.Code.NOT_FOUND if the photo ID does not exist. +*/ +await gapi.client.photo.delete({ photoId: "photoId", }); + +/* +Gets the metadata of the specified +Photo. + +This method returns the following error codes: + +* google.rpc.Code.PERMISSION_DENIED if the requesting user did not +create the requested Photo. +* google.rpc.Code.NOT_FOUND if the requested +Photo does not exist. +*/ +await gapi.client.photo.get({ photoId: "photoId", }); + +/* +Creates an upload session to start uploading photo bytes. The upload URL of +the returned UploadRef is used to +upload the bytes for the Photo. + +In addition to the photo requirements shown in +https://support.google.com/maps/answer/7012050?hl=en&ref_topic=6275604, +the photo must also meet the following requirements: + +* Photo Sphere XMP metadata must be included in the photo medadata. See +https://developers.google.com/streetview/spherical-metadata for the +required fields. +* The pixel size of the photo must meet the size requirements listed in +https://support.google.com/maps/answer/7012050?hl=en&ref_topic=6275604, and +the photo must be a full 360 horizontally. + +After the upload is complete, the +UploadRef is used with +CreatePhoto +to create the Photo object entry. +*/ +await gapi.client.photo.startUpload({ }); + +/* +Updates the metadata of a Photo, such +as pose, place association, connections, etc. Changing the pixels of a +photo is not supported. + +Only the fields specified in the +updateMask +field are used. If `updateMask` is not present, the update applies to all +fields. + +<aside class="note"><b>Note:</b> To update +Pose.altitude, +Pose.latLngPair has to be +filled as well. Otherwise, the request will fail.</aside> + +This method returns the following error codes: + +* google.rpc.Code.PERMISSION_DENIED if the requesting user did not +create the requested photo. +* google.rpc.Code.INVALID_ARGUMENT if the request is malformed. +* google.rpc.Code.NOT_FOUND if the requested photo does not exist. +*/ +await gapi.client.photo.update({ id: "id", }); + +/* +Deletes a list of Photos and their +metadata. + +Note that if +BatchDeletePhotos +fails, either critical fields are missing or there was an authentication +error. Even if +BatchDeletePhotos +succeeds, there may have been failures for single photos in the batch. +These failures will be specified in each +PhotoResponse.status +in +BatchDeletePhotosResponse.results. +See +DeletePhoto +for specific failures that can occur per photo. +*/ +await gapi.client.photos.batchDelete({ }); + +/* +Gets the metadata of the specified +Photo batch. + +Note that if +BatchGetPhotos +fails, either critical fields are missing or there was an authentication +error. Even if +BatchGetPhotos +succeeds, there may have been failures for single photos in the batch. +These failures will be specified in each +PhotoResponse.status +in +BatchGetPhotosResponse.results. +See +GetPhoto +for specific failures that can occur per photo. +*/ +await gapi.client.photos.batchGet({ }); + +/* +Updates the metadata of Photos, such +as pose, place association, connections, etc. Changing the pixels of photos +is not supported. + +Note that if +BatchUpdatePhotos +fails, either critical fields are missing or there was an authentication +error. Even if +BatchUpdatePhotos +succeeds, there may have been failures for single photos in the batch. +These failures will be specified in each +PhotoResponse.status +in +BatchUpdatePhotosResponse.results. +See +UpdatePhoto +for specific failures that can occur per photo. + +Only the fields specified in +updateMask +field are used. If `updateMask` is not present, the update applies to all +fields. + +<aside class="note"><b>Note:</b> To update +Pose.altitude, +Pose.latLngPair has to be +filled as well. Otherwise, the request will fail.</aside> +*/ +await gapi.client.photos.batchUpdate({ }); + +/* +Lists all the Photos that belong to +the user. +*/ +await gapi.client.photos.list({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.streetviewpublish/tsconfig.json b/types/gapi.client.streetviewpublish/tsconfig.json new file mode 100644 index 0000000000..1e2afe51e0 --- /dev/null +++ b/types/gapi.client.streetviewpublish/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.streetviewpublish-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.streetviewpublish/tslint.json b/types/gapi.client.streetviewpublish/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.streetviewpublish/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.surveys/gapi.client.surveys-tests.ts b/types/gapi.client.surveys/gapi.client.surveys-tests.ts new file mode 100644 index 0000000000..4850fe96d9 --- /dev/null +++ b/types/gapi.client.surveys/gapi.client.surveys-tests.ts @@ -0,0 +1,86 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('surveys', 'v2', () => { + /** now we can use gapi.client.surveys */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your surveys and results */ + 'https://www.googleapis.com/auth/surveys', + /** View your surveys and survey results */ + 'https://www.googleapis.com/auth/surveys.readonly', + /** View your email address */ + 'https://www.googleapis.com/auth/userinfo.email', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Retrieves a MobileAppPanel that is available to the authenticated user. */ + await gapi.client.mobileapppanels.get({ + panelId: "panelId", + }); + /** Lists the MobileAppPanels available to the authenticated user. */ + await gapi.client.mobileapppanels.list({ + maxResults: 1, + startIndex: 2, + token: "token", + }); + /** Updates a MobileAppPanel. Currently the only property that can be updated is the owners property. */ + await gapi.client.mobileapppanels.update({ + panelId: "panelId", + }); + /** + * Retrieves any survey results that have been produced so far. Results are formatted as an Excel file. You must add "?alt=media" to the URL as an + * argument to get results. + */ + await gapi.client.results.get({ + surveyUrlId: "surveyUrlId", + }); + /** Removes a survey from view in all user GET requests. */ + await gapi.client.surveys.delete({ + surveyUrlId: "surveyUrlId", + }); + /** Retrieves information about the specified survey. */ + await gapi.client.surveys.get({ + surveyUrlId: "surveyUrlId", + }); + /** Creates a survey. */ + await gapi.client.surveys.insert({ + }); + /** Lists the surveys owned by the authenticated user. */ + await gapi.client.surveys.list({ + maxResults: 1, + startIndex: 2, + token: "token", + }); + /** Begins running a survey. */ + await gapi.client.surveys.start({ + resourceId: "resourceId", + }); + /** Stops a running survey. */ + await gapi.client.surveys.stop({ + resourceId: "resourceId", + }); + /** Updates a survey. Currently the only property that can be updated is the owners property. */ + await gapi.client.surveys.update({ + surveyUrlId: "surveyUrlId", + }); + } +}); diff --git a/types/gapi.client.surveys/index.d.ts b/types/gapi.client.surveys/index.d.ts new file mode 100644 index 0000000000..f6613cff4c --- /dev/null +++ b/types/gapi.client.surveys/index.d.ts @@ -0,0 +1,499 @@ +// Type definitions for Google Surveys API v2 2.0 +// Project: undefined +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/surveys/v2/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Surveys API v2 */ + function load(name: "surveys", version: "v2"): PromiseLike<void>; + function load(name: "surveys", version: "v2", callback: () => any): void; + + const mobileapppanels: surveys.MobileapppanelsResource; + + const results: surveys.ResultsResource; + + const surveys: surveys.SurveysResource; + + namespace surveys { + interface FieldMask { + fields?: FieldMask[]; + id?: number; + } + interface MobileAppPanel { + /** + * Country code for the country of the users that the panel contains. Uses standard ISO 3166-1 2-character language codes. For instance, 'US' for the + * United States, and 'GB' for the United Kingdom. Any survey created targeting this panel must also target the corresponding country. + */ + country?: string; + /** Whether or not the panel is accessible to all API users. */ + isPublicPanel?: boolean; + /** + * Language code that the panel can target. For instance, 'en-US'. Uses standard BCP47 language codes. See specification. Any survey created targeting + * this panel must also target the corresponding language. + */ + language?: string; + /** Unique panel ID string. This corresponds to the mobile_app_panel_id used in Survey Insert requests. */ + mobileAppPanelId?: string; + /** Human readable name of the audience panel. */ + name?: string; + /** + * List of email addresses for users who can target members of this panel. Must contain at least the address of the user making the API call for panels + * that are not public. This field will be empty for public panels. + */ + owners?: string[]; + } + interface MobileAppPanelsListResponse { + pageInfo?: PageInfo; + /** Unique request ID used for logging and debugging. Please include in any error reporting or troubleshooting requests. */ + requestId?: string; + /** An individual predefined panel of Opinion Rewards mobile users. */ + resources?: MobileAppPanel[]; + tokenPagination?: TokenPagination; + } + interface PageInfo { + resultPerPage?: number; + startIndex?: number; + totalResults?: number; + } + interface ResultsGetRequest { + resultMask?: ResultsMask; + } + interface ResultsMask { + fields?: FieldMask[]; + projection?: string; + } + interface Survey { + /** Targeting-criteria message containing demographic information */ + audience?: SurveyAudience; + /** Cost to run the survey and collect the necessary number of responses. */ + cost?: SurveyCost; + /** + * Additional information to store on behalf of the API consumer and associate with this question. This binary blob is treated as opaque. This field is + * limited to 64K bytes. + */ + customerData?: string; + /** Text description of the survey. */ + description?: string; + /** List of email addresses for survey owners. Must contain at least the address of the user making the API call. */ + owners?: string[]; + /** List of questions defining the survey. */ + questions?: SurveyQuestion[]; + /** Reason for the survey being rejected. Only present if the survey state is rejected. */ + rejectionReason?: SurveyRejection; + /** State that the survey is in. */ + state?: string; + /** Unique survey ID, that is viewable in the URL of the Survey Creator UI */ + surveyUrlId?: string; + /** Optional name that will be given to the survey. */ + title?: string; + /** Number of responses desired for the survey. */ + wantedResponseCount?: number; + } + interface SurveyAudience { + /** Optional list of age buckets to target. Supported age buckets are: ['18-24', '25-34', '35-44', '45-54', '55-64', '65+'] */ + ages?: string[]; + /** + * Required country code that surveys should be targeted to. Accepts standard ISO 3166-1 2 character language codes. For instance, 'US' for the United + * States, and 'GB' for the United Kingdom. + */ + country?: string; + /** + * Country subdivision (states/provinces/etc) that surveys should be targeted to. For all countries except GB, ISO-3166-2 subdivision code is required + * (eg. 'US-OH' for Ohio, United States). For GB, NUTS 1 statistical region codes for the United Kingdom is required (eg. 'UK-UKC' for North East + * England). + */ + countrySubdivision?: string; + /** Optional gender to target. */ + gender?: string; + /** + * Language code that surveys should be targeted to. For instance, 'en-US'. Surveys may target bilingual users by specifying a list of language codes (for + * example, 'de' and 'en-US'). In that case, all languages will be used for targeting users but the survey content (which is displayed) must match the + * first language listed. Accepts standard BCP47 language codes. See specification. + */ + languages?: string[]; + /** + * Key for predefined panel that causes survey to be sent to a predefined set of Opinion Rewards App users. You must set PopulationSource to + * ANDROID_APP_PANEL to use this field. + */ + mobileAppPanelId?: string; + /** Online population source where the respondents are sampled from. */ + populationSource?: string; + } + interface SurveyCost { + /** Cost per survey response in nano units of the given currency. To get the total cost for a survey, multiply this value by wanted_response_count. */ + costPerResponseNanos?: string; + /** Currency code that the cost is given in. */ + currencyCode?: string; + /** + * Threshold to start a survey automatically if the quoted price is at most this value. When a survey has a Screener (threshold) question, it must go + * through an incidence pricing test to determine the final cost per response. Typically you will have to make a followup call to start the survey giving + * the final computed cost per response. If the survey has no threshold_answers, setting this property will return an error. By specifying this property, + * you indicate the max price per response you are willing to pay in advance of the incidence test. If the price turns out to be lower than the specified + * value, the survey will begin immediately and you will be charged at the rate determined by the incidence pricing test. If the price turns out to be + * greater than the specified value the survey will not be started and you will instead be notified what price was determined by the incidence test. At + * that point, you must raise the value of this property to be greater than or equal to that cost before attempting to start the survey again. This will + * immediately start the survey as long the incidence test was run within the last 21 days. + */ + maxCostPerResponseNanos?: string; + /** Cost of survey in nano units of the given currency. DEPRECATED in favor of cost_per_response_nanos */ + nanos?: string; + } + interface SurveyQuestion { + /** The randomization option for multiple choice and multi-select questions. If not specified, this option defaults to randomize. */ + answerOrder?: string; + /** Required list of answer options for a question. */ + answers?: string[]; + /** + * Option to allow open-ended text box for Single Answer and Multiple Answer question types. This can be used with SINGLE_ANSWER, + * SINGLE_ANSWER_WITH_IMAGE, MULTIPLE_ANSWERS, and MULTIPLE_ANSWERS_WITH_IMAGE question types. + */ + hasOther?: boolean; + /** + * For rating questions, the text for the higher end of the scale, such as 'Best'. For numeric questions, a string representing a floating-point that is + * the maximum allowed number for a response. + */ + highValueLabel?: string; + images?: SurveyQuestionImage[]; + /** Currently only support pinning an answer option to the last position. */ + lastAnswerPositionPinned?: boolean; + /** + * For rating questions, the text for the lower end of the scale, such as 'Worst'. For numeric questions, a string representing a floating-point that is + * the minimum allowed number for a response. + */ + lowValueLabel?: string; + /** Option to force the user to pick one of the open text suggestions. This requires that suggestions are provided for this question. */ + mustPickSuggestion?: boolean; + /** Number of stars to use for ratings questions. */ + numStars?: string; + /** Placeholder text for an open text question. */ + openTextPlaceholder?: string; + /** A list of suggested answers for open text question auto-complete. This is only valid if single_line_response is true. */ + openTextSuggestions?: string[]; + /** Required question text shown to the respondent. */ + question?: string; + /** + * Used by the Rating Scale with Text question type. This text goes along with the question field that is presented to the respondent, and is the actual + * text that the respondent is asked to rate. + */ + sentimentText?: string; + /** + * Option to allow multiple line open text responses instead of a single line response. Note that we don't show auto-complete suggestions with multiple + * line responses. + */ + singleLineResponse?: boolean; + /** The threshold/screener answer options, which will screen a user into the rest of the survey. These will be a subset of the answer option strings. */ + thresholdAnswers?: string[]; + /** Required field defining the question type. For details about configuring different type of questions, consult the question configuration guide. */ + type?: string; + /** Optional unit of measurement for display (for example: hours, people, miles). */ + unitOfMeasurementLabel?: string; + /** The YouTube video ID to be show in video questions. */ + videoId?: string; + } + interface SurveyQuestionImage { + /** The alt text property used in image tags is required for all images. */ + altText?: string; + /** Inline jpeg, gif, tiff, bmp, or png image raw bytes for an image question types. */ + data?: string; + /** The read-only URL for the hosted images. */ + url?: string; + } + interface SurveyRejection { + /** A human-readable explanation of what was wrong with the survey. */ + explanation?: string; + /** Which category of rejection this was. See the Google Surveys Help Center for additional details on each category. */ + type?: string; + } + interface SurveyResults { + /** Human readable string describing the status of the request. */ + status?: string; + /** External survey ID as viewable by survey owners in the editor view. */ + surveyUrlId?: string; + } + interface SurveysDeleteResponse { + /** Unique request ID used for logging and debugging. Please include in any error reporting or troubleshooting requests. */ + requestId?: string; + } + interface SurveysListResponse { + pageInfo?: PageInfo; + /** Unique request ID used for logging and debugging. Please include in any error reporting or troubleshooting requests. */ + requestId?: string; + /** An individual survey resource. */ + resources?: Survey[]; + tokenPagination?: TokenPagination; + } + interface SurveysStartRequest { + /** Threshold to start a survey automically if the quoted prices is less than or equal to this value. See Survey.Cost for more details. */ + maxCostPerResponseNanos?: string; + } + interface SurveysStartResponse { + /** Unique request ID used for logging and debugging. Please include in any error reporting or troubleshooting requests. */ + requestId?: string; + } + interface SurveysStopResponse { + /** Unique request ID used for logging and debugging. Please include in any error reporting or troubleshooting requests. */ + requestId?: string; + } + interface TokenPagination { + nextPageToken?: string; + previousPageToken?: string; + } + interface MobileapppanelsResource { + /** Retrieves a MobileAppPanel that is available to the authenticated user. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** External URL ID for the panel. */ + panelId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<MobileAppPanel>; + /** Lists the MobileAppPanels available to the authenticated user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + startIndex?: number; + token?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<MobileAppPanelsListResponse>; + /** Updates a MobileAppPanel. Currently the only property that can be updated is the owners property. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** External URL ID for the panel. */ + panelId: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<MobileAppPanel>; + } + interface ResultsResource { + /** + * Retrieves any survey results that have been produced so far. Results are formatted as an Excel file. You must add "?alt=media" to the URL as an + * argument to get results. + */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** External URL ID for the survey. */ + surveyUrlId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SurveyResults>; + } + interface SurveysResource { + /** Removes a survey from view in all user GET requests. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** External URL ID for the survey. */ + surveyUrlId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SurveysDeleteResponse>; + /** Retrieves information about the specified survey. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** External URL ID for the survey. */ + surveyUrlId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Survey>; + /** Creates a survey. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Survey>; + /** Lists the surveys owned by the authenticated user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + startIndex?: number; + token?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SurveysListResponse>; + /** Begins running a survey. */ + start(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + resourceId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SurveysStartResponse>; + /** Stops a running survey. */ + stop(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + resourceId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SurveysStopResponse>; + /** Updates a survey. Currently the only property that can be updated is the owners property. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** External URL ID for the survey. */ + surveyUrlId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Survey>; + } + } +} diff --git a/types/gapi.client.surveys/readme.md b/types/gapi.client.surveys/readme.md new file mode 100644 index 0000000000..1837fa6b21 --- /dev/null +++ b/types/gapi.client.surveys/readme.md @@ -0,0 +1,115 @@ +# TypeScript typings for Surveys API v2 +Creates and conducts surveys, lists the surveys that an authenticated user owns, and retrieves survey results and information about specified surveys. +For detailed description please check [documentation](undefined). + +## Installing + +Install typings for Surveys API: +``` +npm install @types/gapi.client.surveys@v2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('surveys', 'v2', () => { + // now we can use gapi.client.surveys + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your surveys and results + 'https://www.googleapis.com/auth/surveys', + + // View your surveys and survey results + 'https://www.googleapis.com/auth/surveys.readonly', + + // View your email address + 'https://www.googleapis.com/auth/userinfo.email', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Surveys API resources: + +```typescript + +/* +Retrieves a MobileAppPanel that is available to the authenticated user. +*/ +await gapi.client.mobileapppanels.get({ panelId: "panelId", }); + +/* +Lists the MobileAppPanels available to the authenticated user. +*/ +await gapi.client.mobileapppanels.list({ }); + +/* +Updates a MobileAppPanel. Currently the only property that can be updated is the owners property. +*/ +await gapi.client.mobileapppanels.update({ panelId: "panelId", }); + +/* +Retrieves any survey results that have been produced so far. Results are formatted as an Excel file. You must add "?alt=media" to the URL as an argument to get results. +*/ +await gapi.client.results.get({ surveyUrlId: "surveyUrlId", }); + +/* +Removes a survey from view in all user GET requests. +*/ +await gapi.client.surveys.delete({ surveyUrlId: "surveyUrlId", }); + +/* +Retrieves information about the specified survey. +*/ +await gapi.client.surveys.get({ surveyUrlId: "surveyUrlId", }); + +/* +Creates a survey. +*/ +await gapi.client.surveys.insert({ }); + +/* +Lists the surveys owned by the authenticated user. +*/ +await gapi.client.surveys.list({ }); + +/* +Begins running a survey. +*/ +await gapi.client.surveys.start({ resourceId: "resourceId", }); + +/* +Stops a running survey. +*/ +await gapi.client.surveys.stop({ resourceId: "resourceId", }); + +/* +Updates a survey. Currently the only property that can be updated is the owners property. +*/ +await gapi.client.surveys.update({ surveyUrlId: "surveyUrlId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.surveys/tsconfig.json b/types/gapi.client.surveys/tsconfig.json new file mode 100644 index 0000000000..c0230c586d --- /dev/null +++ b/types/gapi.client.surveys/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.surveys-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.surveys/tslint.json b/types/gapi.client.surveys/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.surveys/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.tagmanager/gapi.client.tagmanager-tests.ts b/types/gapi.client.tagmanager/gapi.client.tagmanager-tests.ts new file mode 100644 index 0000000000..55cfad65df --- /dev/null +++ b/types/gapi.client.tagmanager/gapi.client.tagmanager-tests.ts @@ -0,0 +1,57 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('tagmanager', 'v2', () => { + /** now we can use gapi.client.tagmanager */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Delete your Google Tag Manager containers */ + 'https://www.googleapis.com/auth/tagmanager.delete.containers', + /** Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing */ + 'https://www.googleapis.com/auth/tagmanager.edit.containers', + /** Manage your Google Tag Manager container versions */ + 'https://www.googleapis.com/auth/tagmanager.edit.containerversions', + /** View and manage your Google Tag Manager accounts */ + 'https://www.googleapis.com/auth/tagmanager.manage.accounts', + /** Manage user permissions of your Google Tag Manager account and container */ + 'https://www.googleapis.com/auth/tagmanager.manage.users', + /** Publish your Google Tag Manager container versions */ + 'https://www.googleapis.com/auth/tagmanager.publish', + /** View your Google Tag Manager container and its subcomponents */ + 'https://www.googleapis.com/auth/tagmanager.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Gets a GTM Account. */ + await gapi.client.accounts.get({ + path: "path", + }); + /** Lists all GTM Accounts that a user has access to. */ + await gapi.client.accounts.list({ + pageToken: "pageToken", + }); + /** Updates a GTM Account. */ + await gapi.client.accounts.update({ + fingerprint: "fingerprint", + path: "path", + }); + } +}); diff --git a/types/gapi.client.tagmanager/index.d.ts b/types/gapi.client.tagmanager/index.d.ts new file mode 100644 index 0000000000..d5ed4615e3 --- /dev/null +++ b/types/gapi.client.tagmanager/index.d.ts @@ -0,0 +1,2470 @@ +// Type definitions for Google Tag Manager API v2 2.0 +// Project: https://developers.google.com/tag-manager/api/v2/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/tagmanager/v2/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Tag Manager API v2 */ + function load(name: "tagmanager", version: "v2"): PromiseLike<void>; + function load(name: "tagmanager", version: "v2", callback: () => any): void; + + const accounts: tagmanager.AccountsResource; + + namespace tagmanager { + interface Account { + /** The Account ID uniquely identifies the GTM Account. */ + accountId?: string; + /** The fingerprint of the GTM Account as computed at storage time. This value is recomputed whenever the account is modified. */ + fingerprint?: string; + /** Account display name. */ + name?: string; + /** GTM Account's API relative path. */ + path?: string; + /** + * Whether the account shares data anonymously with Google and others. This flag enables benchmarking by sharing your data in an anonymous form. Google + * will remove all identifiable information about your website, combine the data with hundreds of other anonymous sites and report aggregate trends in the + * benchmarking service. + */ + shareData?: boolean; + /** Auto generated link to the tag manager UI */ + tagManagerUrl?: string; + } + interface AccountAccess { + /** Whether the user has no access, user access, or admin access to an account. */ + permission?: string; + } + interface BuiltInVariable { + /** GTM Account ID. */ + accountId?: string; + /** GTM Container ID. */ + containerId?: string; + /** Name of the built-in variable to be used to refer to the built-in variable. */ + name?: string; + /** GTM BuiltInVariable's API relative path. */ + path?: string; + /** Type of built-in variable. */ + type?: string; + /** GTM Workspace ID. */ + workspaceId?: string; + } + interface Condition { + /** + * A list of named parameters (key/value), depending on the condition's type. Notes: + * - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + * - At this time, the left operand (arg0) must be a reference to a variable. + * - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, + * the matching will be case sensitive. + * - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. + */ + parameter?: Parameter[]; + /** The type of operator for this condition. */ + type?: string; + } + interface Container { + /** GTM Account ID. */ + accountId?: string; + /** The Container ID uniquely identifies the GTM Container. */ + containerId?: string; + /** List of domain names associated with the Container. */ + domainName?: string[]; + /** The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified. */ + fingerprint?: string; + /** Container display name. */ + name?: string; + /** Container Notes. */ + notes?: string; + /** GTM Container's API relative path. */ + path?: string; + /** Container Public ID. */ + publicId?: string; + /** Auto generated link to the tag manager UI */ + tagManagerUrl?: string; + /** List of Usage Contexts for the Container. Valid values include: web, android, or ios. */ + usageContext?: string[]; + } + interface ContainerAccess { + /** GTM Container ID. */ + containerId?: string; + /** List of Container permissions. */ + permission?: string; + } + interface ContainerVersion { + /** GTM Account ID. */ + accountId?: string; + /** The built-in variables in the container that this version was taken from. */ + builtInVariable?: BuiltInVariable[]; + /** The container that this version was taken from. */ + container?: Container; + /** GTM Container ID. */ + containerId?: string; + /** The Container Version ID uniquely identifies the GTM Container Version. */ + containerVersionId?: string; + /** A value of true indicates this container version has been deleted. */ + deleted?: boolean; + /** Container version description. */ + description?: string; + /** The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified. */ + fingerprint?: string; + /** The folders in the container that this version was taken from. */ + folder?: Folder[]; + /** Container version display name. */ + name?: string; + /** GTM ContainerVersions's API relative path. */ + path?: string; + /** The tags in the container that this version was taken from. */ + tag?: Tag[]; + /** Auto generated link to the tag manager UI */ + tagManagerUrl?: string; + /** The triggers in the container that this version was taken from. */ + trigger?: Trigger[]; + /** The variables in the container that this version was taken from. */ + variable?: Variable[]; + /** The zones in the container that this version was taken from. */ + zone?: Zone[]; + } + interface ContainerVersionHeader { + /** GTM Account ID. */ + accountId?: string; + /** GTM Container ID. */ + containerId?: string; + /** The Container Version ID uniquely identifies the GTM Container Version. */ + containerVersionId?: string; + /** A value of true indicates this container version has been deleted. */ + deleted?: boolean; + /** Container version display name. */ + name?: string; + /** Number of macros in the container version. */ + numMacros?: string; + /** Number of rules in the container version. */ + numRules?: string; + /** Number of tags in the container version. */ + numTags?: string; + /** Number of triggers in the container version. */ + numTriggers?: string; + /** Number of variables in the container version. */ + numVariables?: string; + /** Number of zones in the container version. */ + numZones?: string; + /** GTM Container Versions's API relative path. */ + path?: string; + } + interface CreateBuiltInVariableResponse { + /** List of created built-in variables. */ + builtInVariable?: BuiltInVariable[]; + } + interface CreateContainerVersionRequestVersionOptions { + /** The name of the container version to be created. */ + name?: string; + /** The notes of the container version to be created. */ + notes?: string; + } + interface CreateContainerVersionResponse { + /** Compiler errors or not. */ + compilerError?: boolean; + /** The container version created. */ + containerVersion?: ContainerVersion; + /** + * Auto generated workspace path created as a result of version creation. This field should only be populated if the created version was not a quick + * preview. + */ + newWorkspacePath?: string; + /** Whether version creation failed when syncing the workspace to the latest container version. */ + syncStatus?: SyncStatus; + } + interface CreateWorkspaceProposalRequest { + /** If present, an initial comment to associate with the workspace proposal. */ + initialComment?: WorkspaceProposalHistoryComment; + /** List of users to review the workspace proposal. */ + reviewers?: WorkspaceProposalUser[]; + } + interface Entity { + /** Represents how the entity has been changed in the workspace. */ + changeStatus?: string; + /** The Folder being represented by the entity. */ + folder?: Folder; + /** The tag being represented by the entity. */ + tag?: Tag; + /** The trigger being represented by the entity. */ + trigger?: Trigger; + /** The variable being represented by the entity. */ + variable?: Variable; + } + interface Environment { + /** GTM Account ID. */ + accountId?: string; + /** The environment authorization code. */ + authorizationCode?: string; + /** The last update time-stamp for the authorization code. */ + authorizationTimestamp?: Timestamp; + /** GTM Container ID. */ + containerId?: string; + /** Represents a link to a container version. */ + containerVersionId?: string; + /** The environment description. Can be set or changed only on USER type environments. */ + description?: string; + /** Whether or not to enable debug by default for the environment. */ + enableDebug?: boolean; + /** GTM Environment ID uniquely identifies the GTM Environment. */ + environmentId?: string; + /** The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified. */ + fingerprint?: string; + /** The environment display name. Can be set or changed only on USER type environments. */ + name?: string; + /** GTM Environment's API relative path. */ + path?: string; + /** Auto generated link to the tag manager UI */ + tagManagerUrl?: string; + /** The type of this environment. */ + type?: string; + /** Default preview page url for the environment. */ + url?: string; + /** Represents a link to a quick preview of a workspace. */ + workspaceId?: string; + } + interface Folder { + /** GTM Account ID. */ + accountId?: string; + /** GTM Container ID. */ + containerId?: string; + /** The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified. */ + fingerprint?: string; + /** The Folder ID uniquely identifies the GTM Folder. */ + folderId?: string; + /** Folder display name. */ + name?: string; + /** User notes on how to apply this folder in the container. */ + notes?: string; + /** GTM Folder's API relative path. */ + path?: string; + /** Auto generated link to the tag manager UI */ + tagManagerUrl?: string; + /** GTM Workspace ID. */ + workspaceId?: string; + } + interface FolderEntities { + /** Continuation token for fetching the next page of results. */ + nextPageToken?: string; + /** The list of tags inside the folder. */ + tag?: Tag[]; + /** The list of triggers inside the folder. */ + trigger?: Trigger[]; + /** The list of variables inside the folder. */ + variable?: Variable[]; + } + interface GetWorkspaceStatusResponse { + /** The merge conflict after sync. */ + mergeConflict?: MergeConflict[]; + /** Entities that have been changed in the workspace. */ + workspaceChange?: Entity[]; + } + interface ListAccountsResponse { + /** List of GTM Accounts that a user has access to. */ + account?: Account[]; + /** Continuation token for fetching the next page of results. */ + nextPageToken?: string; + } + interface ListContainerVersionsResponse { + /** All container version headers of a GTM Container. */ + containerVersionHeader?: ContainerVersionHeader[]; + /** Continuation token for fetching the next page of results. */ + nextPageToken?: string; + } + interface ListContainersResponse { + /** All Containers of a GTM Account. */ + container?: Container[]; + /** Continuation token for fetching the next page of results. */ + nextPageToken?: string; + } + interface ListEnabledBuiltInVariablesResponse { + /** All GTM BuiltInVariables of a GTM container. */ + builtInVariable?: BuiltInVariable[]; + /** Continuation token for fetching the next page of results. */ + nextPageToken?: string; + } + interface ListEnvironmentsResponse { + /** All Environments of a GTM Container. */ + environment?: Environment[]; + /** Continuation token for fetching the next page of results. */ + nextPageToken?: string; + } + interface ListFoldersResponse { + /** All GTM Folders of a GTM Container. */ + folder?: Folder[]; + /** Continuation token for fetching the next page of results. */ + nextPageToken?: string; + } + interface ListTagsResponse { + /** Continuation token for fetching the next page of results. */ + nextPageToken?: string; + /** All GTM Tags of a GTM Container. */ + tag?: Tag[]; + } + interface ListTriggersResponse { + /** Continuation token for fetching the next page of results. */ + nextPageToken?: string; + /** All GTM Triggers of a GTM Container. */ + trigger?: Trigger[]; + } + interface ListUserPermissionsResponse { + /** Continuation token for fetching the next page of results. */ + nextPageToken?: string; + /** All GTM UserPermissions of a GTM Account. */ + userPermission?: UserPermission[]; + } + interface ListVariablesResponse { + /** Continuation token for fetching the next page of results. */ + nextPageToken?: string; + /** All GTM Variables of a GTM Container. */ + variable?: Variable[]; + } + interface ListWorkspacesResponse { + /** Continuation token for fetching the next page of results. */ + nextPageToken?: string; + /** All Workspaces of a GTM Container. */ + workspace?: Workspace[]; + } + interface MergeConflict { + /** + * The base version entity (since the latest sync operation) that has conflicting changes compared to the workspace. If this field is missing, it means + * the workspace entity is deleted from the base version. + */ + entityInBaseVersion?: Entity; + /** + * The workspace entity that has conflicting changes compared to the base version. If an entity is deleted in a workspace, it will still appear with a + * deleted change status. + */ + entityInWorkspace?: Entity; + } + interface Parameter { + /** The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. */ + key?: string; + /** This list parameter's parameters (keys will be ignored). */ + list?: Parameter[]; + /** This map parameter's parameters (must have keys; keys must be unique). */ + map?: Parameter[]; + /** + * The parameter type. Valid values are: + * - boolean: The value represents a boolean, represented as 'true' or 'false' + * - integer: The value represents a 64-bit signed integer value, in base 10 + * - list: A list of parameters should be specified + * - map: A map of parameters should be specified + * - template: The value represents any text; this can include variable references (even variable references that might return non-string types) + */ + type?: string; + /** A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. */ + value?: string; + } + interface PublishContainerVersionResponse { + /** Compiler errors or not. */ + compilerError?: boolean; + /** The container version created. */ + containerVersion?: ContainerVersion; + } + interface QuickPreviewResponse { + /** Were there compiler errors or not. */ + compilerError?: boolean; + /** The quick previewed container version. */ + containerVersion?: ContainerVersion; + /** Whether quick previewing failed when syncing the workspace to the latest container version. */ + syncStatus?: SyncStatus; + } + interface RevertBuiltInVariableResponse { + /** Whether the built-in variable is enabled after reversion. */ + enabled?: boolean; + } + interface RevertFolderResponse { + /** + * Folder as it appears in the latest container version since the last workspace synchronization operation. If no folder is present, that means the folder + * was deleted in the latest container version. + */ + folder?: Folder; + } + interface RevertTagResponse { + /** + * Tag as it appears in the latest container version since the last workspace synchronization operation. If no tag is present, that means the tag was + * deleted in the latest container version. + */ + tag?: Tag; + } + interface RevertTriggerResponse { + /** + * Trigger as it appears in the latest container version since the last workspace synchronization operation. If no trigger is present, that means the + * trigger was deleted in the latest container version. + */ + trigger?: Trigger; + } + interface RevertVariableResponse { + /** + * Variable as it appears in the latest container version since the last workspace synchronization operation. If no variable is present, that means the + * variable was deleted in the latest container version. + */ + variable?: Variable; + } + interface SetupTag { + /** If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status. */ + stopOnSetupFailure?: boolean; + /** The name of the setup tag. */ + tagName?: string; + } + interface SyncStatus { + /** Synchornization operation detected a merge conflict. */ + mergeConflict?: boolean; + /** An error occurred during the synchronization operation. */ + syncError?: boolean; + } + interface SyncWorkspaceResponse { + /** + * The merge conflict after sync. If this field is not empty, the sync is still treated as successful. But a version cannot be created until all conflicts + * are resolved. + */ + mergeConflict?: MergeConflict[]; + /** Indicates whether synchronization caused a merge conflict or sync error. */ + syncStatus?: SyncStatus; + } + interface Tag { + /** GTM Account ID. */ + accountId?: string; + /** Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. */ + blockingRuleId?: string[]; + /** Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. */ + blockingTriggerId?: string[]; + /** GTM Container ID. */ + containerId?: string; + /** The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. */ + fingerprint?: string; + /** Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false. */ + firingRuleId?: string[]; + /** Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false. */ + firingTriggerId?: string[]; + /** If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). */ + liveOnly?: boolean; + /** Tag display name. */ + name?: string; + /** User notes on how to apply this tag in the container. */ + notes?: string; + /** The tag's parameters. */ + parameter?: Parameter[]; + /** Parent folder id. */ + parentFolderId?: string; + /** GTM Tag's API relative path. */ + path?: string; + /** + * User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's + * priority can be a positive or negative value. The default value is 0. + */ + priority?: Parameter; + /** The end timestamp in milliseconds to schedule a tag. */ + scheduleEndMs?: string; + /** The start timestamp in milliseconds to schedule a tag. */ + scheduleStartMs?: string; + /** The list of setup tags. Currently we only allow one. */ + setupTag?: SetupTag[]; + /** Option to fire this tag. */ + tagFiringOption?: string; + /** The Tag ID uniquely identifies the GTM Tag. */ + tagId?: string; + /** Auto generated link to the tag manager UI */ + tagManagerUrl?: string; + /** The list of teardown tags. Currently we only allow one. */ + teardownTag?: TeardownTag[]; + /** GTM Tag Type. */ + type?: string; + /** GTM Workspace ID. */ + workspaceId?: string; + } + interface TeardownTag { + /** If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status. */ + stopTeardownOnFailure?: boolean; + /** The name of the teardown tag. */ + tagName?: string; + } + interface Timestamp { + /** + * Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count + * forward in time. Must be from 0 to 999,999,999 inclusive. + */ + nanos?: number; + /** Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. */ + seconds?: string; + } + interface Trigger { + /** GTM Account ID. */ + accountId?: string; + /** Used in the case of auto event tracking. */ + autoEventFilter?: Condition[]; + /** + * Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of + * validation). Only valid for Form Submission and Link Click triggers. + */ + checkValidation?: Parameter; + /** GTM Container ID. */ + containerId?: string; + /** A visibility trigger minimum continuous visible time (in milliseconds). Only valid for AMP Visibility trigger. */ + continuousTimeMinMilliseconds?: Parameter; + /** Used in the case of custom event, which is fired iff all Conditions are true. */ + customEventFilter?: Condition[]; + /** Name of the GTM event that is fired. Only valid for Timer triggers. */ + eventName?: Parameter; + /** The trigger will only fire iff all Conditions are true. */ + filter?: Condition[]; + /** The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. */ + fingerprint?: string; + /** + * List of integer percentage values for scroll triggers. The trigger will fire when each percentage is reached when the view is scrolled horizontally. + * Only valid for AMP scroll triggers. + */ + horizontalScrollPercentageList?: Parameter; + /** Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. */ + interval?: Parameter; + /** Time between Timer Events to fire (in seconds). Only valid for AMP Timer trigger. */ + intervalSeconds?: Parameter; + /** + * Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. + * Only valid for Timer triggers. + */ + limit?: Parameter; + /** Max time to fire Timer Events (in seconds). Only valid for AMP Timer trigger. */ + maxTimerLengthSeconds?: Parameter; + /** Trigger display name. */ + name?: string; + /** User notes on how to apply this trigger in the container. */ + notes?: string; + /** Additional parameters. */ + parameter?: Parameter[]; + /** Parent folder id. */ + parentFolderId?: string; + /** GTM Trigger's API relative path. */ + path?: string; + /** A click trigger CSS selector (i.e. "a", "button" etc.). Only valid for AMP Click trigger. */ + selector?: Parameter; + /** Auto generated link to the tag manager UI */ + tagManagerUrl?: string; + /** A visibility trigger minimum total visible time (in milliseconds). Only valid for AMP Visibility trigger. */ + totalTimeMinMilliseconds?: Parameter; + /** The Trigger ID uniquely identifies the GTM Trigger. */ + triggerId?: string; + /** Defines the data layer event that causes this trigger. */ + type?: string; + /** + * Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events + * work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't + * exist until then. Only valid for Form Submit, Link Click and Timer triggers. + */ + uniqueTriggerId?: Parameter; + /** + * List of integer percentage values for scroll triggers. The trigger will fire when each percentage is reached when the view is scrolled vertically. Only + * valid for AMP scroll triggers. + */ + verticalScrollPercentageList?: Parameter; + /** A visibility trigger CSS selector (i.e. "#id"). Only valid for AMP Visibility trigger. */ + visibilitySelector?: Parameter; + /** A visibility trigger maximum percent visibility. Only valid for AMP Visibility trigger. */ + visiblePercentageMax?: Parameter; + /** A visibility trigger minimum percent visibility. Only valid for AMP Visibility trigger. */ + visiblePercentageMin?: Parameter; + /** + * Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later + * simulating the default action). Only valid for Form Submission and Link Click triggers. + */ + waitForTags?: Parameter; + /** + * How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click + * triggers. + */ + waitForTagsTimeout?: Parameter; + /** GTM Workspace ID. */ + workspaceId?: string; + } + interface UpdateWorkspaceProposalRequest { + /** When provided, this fingerprint must match the fingerprint of the proposal in storage. */ + fingerprint?: string; + /** If present, a new comment is added to the workspace proposal history. */ + newComment?: WorkspaceProposalHistoryComment; + /** If present, the list of reviewers of the workspace proposal is updated. */ + reviewers?: WorkspaceProposalUser[]; + /** If present, the status of the workspace proposal is updated. */ + status?: string; + } + interface UserPermission { + /** GTM Account access permissions. */ + accountAccess?: AccountAccess; + /** The Account ID uniquely identifies the GTM Account. */ + accountId?: string; + /** GTM Container access permissions. */ + containerAccess?: ContainerAccess[]; + /** User's email address. */ + emailAddress?: string; + /** GTM UserPermission's API relative path. */ + path?: string; + } + interface Variable { + /** GTM Account ID. */ + accountId?: string; + /** GTM Container ID. */ + containerId?: string; + /** + * For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true + * while all the disabling trigger are false. Treated as an unordered set. + */ + disablingTriggerId?: string[]; + /** + * For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true + * while all the disabling triggers are false. Treated as an unordered set. + */ + enablingTriggerId?: string[]; + /** The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. */ + fingerprint?: string; + /** Variable display name. */ + name?: string; + /** User notes on how to apply this variable in the container. */ + notes?: string; + /** The variable's parameters. */ + parameter?: Parameter[]; + /** Parent folder id. */ + parentFolderId?: string; + /** GTM Variable's API relative path. */ + path?: string; + /** The end timestamp in milliseconds to schedule a variable. */ + scheduleEndMs?: string; + /** The start timestamp in milliseconds to schedule a variable. */ + scheduleStartMs?: string; + /** Auto generated link to the tag manager UI */ + tagManagerUrl?: string; + /** GTM Variable Type. */ + type?: string; + /** The Variable ID uniquely identifies the GTM Variable. */ + variableId?: string; + /** GTM Workspace ID. */ + workspaceId?: string; + } + interface Workspace { + /** GTM Account ID. */ + accountId?: string; + /** GTM Container ID. */ + containerId?: string; + /** Workspace description. */ + description?: string; + /** The fingerprint of the GTM Workspace as computed at storage time. This value is recomputed whenever the workspace is modified. */ + fingerprint?: string; + /** Workspace display name. */ + name?: string; + /** GTM Workspace's API relative path. */ + path?: string; + /** Auto generated link to the tag manager UI */ + tagManagerUrl?: string; + /** The Workspace ID uniquely identifies the GTM Workspace. */ + workspaceId?: string; + } + interface WorkspaceProposal { + /** List of authors for the workspace proposal. */ + authors?: WorkspaceProposalUser[]; + /** The fingerprint of the GTM workspace proposal as computed at storage time. This value is recomputed whenever the proposal is modified. */ + fingerprint?: string; + /** Records the history of comments and status changes. */ + history?: WorkspaceProposalHistory[]; + /** GTM workspace proposal's relative path. */ + path?: string; + /** Lists of reviewers for the workspace proposal. */ + reviewers?: WorkspaceProposalUser[]; + /** The status of the workspace proposal as it goes through review. */ + status?: string; + } + interface WorkspaceProposalHistory { + /** A user or reviewer comment. */ + comment?: WorkspaceProposalHistoryComment; + /** The party responsible for the change in history. */ + createdBy?: WorkspaceProposalUser; + /** When this history event was added to the workspace proposal. */ + createdTimestamp?: Timestamp; + /** A change in the proposal's status. */ + statusChange?: WorkspaceProposalHistoryStatusChange; + /** The history type distinguishing between comments and status changes. */ + type?: string; + } + interface WorkspaceProposalHistoryComment { + /** The contents of the reviewer or author comment. */ + content?: string; + } + interface WorkspaceProposalHistoryStatusChange { + /** The new proposal status after that status change. */ + newStatus?: string; + /** The old proposal status before the status change. */ + oldStatus?: string; + } + interface WorkspaceProposalUser { + /** Gaia id associated with a user, absent for the Google Tag Manager system. */ + gaiaId?: string; + /** User type distinguishes between a user and the Google Tag Manager system. */ + type?: string; + } + interface Zone { + /** GTM Account ID. */ + accountId?: string; + /** This Zone's boundary. */ + boundary?: ZoneBoundary; + /** Containers that are children of this Zone. */ + childContainer?: ZoneChildContainer[]; + /** GTM Container ID. */ + containerId?: string; + /** The fingerprint of the GTM Zone as computed at storage time. This value is recomputed whenever the zone is modified. */ + fingerprint?: string; + /** Zone display name. */ + name?: string; + /** User notes on how to apply this zone in the container. */ + notes?: string; + /** GTM Zone's API relative path. */ + path?: string; + /** Auto generated link to the tag manager UI */ + tagManagerUrl?: string; + /** This Zone's type restrictions. */ + typeRestriction?: ZoneTypeRestriction; + /** GTM Workspace ID. */ + workspaceId?: string; + /** The Zone ID uniquely identifies the GTM Zone. */ + zoneId?: string; + } + interface ZoneBoundary { + /** The conditions that, when conjoined, make up the boundary. */ + condition?: Condition[]; + /** Custom evaluation trigger IDs. A zone will evaluate its boundary conditions when any of the listed triggers are true. */ + customEvaluationTriggerId?: string[]; + } + interface ZoneChildContainer { + /** The zone's nickname for the child container. */ + nickname?: string; + /** The child container's public id. */ + publicId?: string; + } + interface ZoneTypeRestriction { + /** True if type restrictions have been enabled for this Zone. */ + enable?: boolean; + /** List of type public ids that have been whitelisted for use in this Zone. */ + whitelistedTypeId?: string[]; + } + interface EnvironmentsResource { + /** Creates a GTM Environment. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id} */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Environment>; + /** Deletes a GTM Environment. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets a GTM Environment. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Environment>; + /** Lists all GTM Environments of a GTM Container. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Continuation token for fetching the next page of results. */ + pageToken?: string; + /** GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id} */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListEnvironmentsResponse>; + /** Updates a GTM Environment. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** When provided, this fingerprint must match the fingerprint of the environment in storage. */ + fingerprint?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Environment>; + /** Re-generates the authorization code for a GTM Environment. */ + reauthorize(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Environment>; + /** Updates a GTM Environment. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** When provided, this fingerprint must match the fingerprint of the environment in storage. */ + fingerprint?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Environment>; + } + interface Version_headersResource { + /** Gets the latest container version header */ + latest(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id} */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ContainerVersionHeader>; + /** Lists all Container Versions of a GTM Container. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Also retrieve deleted (archived) versions when true. */ + includeDeleted?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Continuation token for fetching the next page of results. */ + pageToken?: string; + /** GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id} */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListContainerVersionsResponse>; + } + interface VersionsResource { + /** Deletes a Container Version. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets a Container Version. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The GTM ContainerVersion ID. Specify published to retrieve the currently published version. */ + containerVersionId?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ContainerVersion>; + /** Gets the live (i.e. published) container version */ + live(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id} */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ContainerVersion>; + /** Publishes a Container Version. */ + publish(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** When provided, this fingerprint must match the fingerprint of the container version in storage. */ + fingerprint?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PublishContainerVersionResponse>; + /** Sets the latest version used for synchronization of workspaces when detecting conflicts and errors. */ + set_latest(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ContainerVersion>; + /** Undeletes a Container Version. */ + undelete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ContainerVersion>; + /** Updates a Container Version. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** When provided, this fingerprint must match the fingerprint of the container version in storage. */ + fingerprint?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ContainerVersion>; + } + interface Built_in_variablesResource { + /** Creates one or more GTM Built-In Variables. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The types of built-in variables to enable. */ + type?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreateBuiltInVariableResponse>; + /** Deletes one or more GTM Built-In Variables. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM BuiltInVariable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_variables */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The types of built-in variables to delete. */ + type?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Lists all the enabled Built-In Variables of a GTM Container. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Continuation token for fetching the next page of results. */ + pageToken?: string; + /** GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListEnabledBuiltInVariablesResponse>; + /** Reverts changes to a GTM Built-In Variables in a GTM Workspace. */ + revert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM BuiltInVariable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_variables */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The type of built-in variable to revert. */ + type?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RevertBuiltInVariableResponse>; + } + interface FoldersResource { + /** Creates a GTM Folder. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Folder>; + /** Deletes a GTM Folder. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** List all entities in a GTM Folder. */ + entities(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Continuation token for fetching the next page of results. */ + pageToken?: string; + /** GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FolderEntities>; + /** Gets a GTM Folder. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Folder>; + /** Lists all GTM Folders of a Container. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Continuation token for fetching the next page of results. */ + pageToken?: string; + /** GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListFoldersResponse>; + /** Moves entities to a GTM Folder. */ + move_entities_to_folder(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The tags to be moved to the folder. */ + tagId?: string; + /** The triggers to be moved to the folder. */ + triggerId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The variables to be moved to the folder. */ + variableId?: string; + }): Request<void>; + /** Reverts changes to a GTM Folder in a GTM Workspace. */ + revert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** When provided, this fingerprint must match the fingerprint of the tag in storage. */ + fingerprint?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RevertFolderResponse>; + /** Updates a GTM Folder. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** When provided, this fingerprint must match the fingerprint of the folder in storage. */ + fingerprint?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Folder>; + } + interface ProposalResource { + /** Creates a GTM Workspace Proposal. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Workspace's API relative path. Example: accounts/{aid}/containers/{cid}/workspace/{wid} */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<WorkspaceProposal>; + /** Deletes a GTM Workspace Proposal. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM workspace proposal's relative path: Example: accounts/{aid}/containers/{cid}/workspace/{wid}/workspace_proposal */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface TagsResource { + /** Creates a GTM Tag. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Tag>; + /** Deletes a GTM Tag. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets a GTM Tag. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Tag>; + /** Lists all GTM Tags of a Container. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Continuation token for fetching the next page of results. */ + pageToken?: string; + /** GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListTagsResponse>; + /** Reverts changes to a GTM Tag in a GTM Workspace. */ + revert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** When provided, this fingerprint must match the fingerprint of thetag in storage. */ + fingerprint?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RevertTagResponse>; + /** Updates a GTM Tag. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** When provided, this fingerprint must match the fingerprint of the tag in storage. */ + fingerprint?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Tag>; + } + interface TriggersResource { + /** Creates a GTM Trigger. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Workspaces's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Trigger>; + /** Deletes a GTM Trigger. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets a GTM Trigger. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Trigger>; + /** Lists all GTM Triggers of a Container. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Continuation token for fetching the next page of results. */ + pageToken?: string; + /** GTM Workspaces's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListTriggersResponse>; + /** Reverts changes to a GTM Trigger in a GTM Workspace. */ + revert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** When provided, this fingerprint must match the fingerprint of the trigger in storage. */ + fingerprint?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RevertTriggerResponse>; + /** Updates a GTM Trigger. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** When provided, this fingerprint must match the fingerprint of the trigger in storage. */ + fingerprint?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Trigger>; + } + interface VariablesResource { + /** Creates a GTM Variable. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Variable>; + /** Deletes a GTM Variable. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets a GTM Variable. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Variable>; + /** Lists all GTM Variables of a Container. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Continuation token for fetching the next page of results. */ + pageToken?: string; + /** GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListVariablesResponse>; + /** Reverts changes to a GTM Variable in a GTM Workspace. */ + revert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** When provided, this fingerprint must match the fingerprint of the variable in storage. */ + fingerprint?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<RevertVariableResponse>; + /** Updates a GTM Variable. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** When provided, this fingerprint must match the fingerprint of the variable in storage. */ + fingerprint?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Variable>; + } + interface WorkspacesResource { + /** Creates a Workspace. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id} */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Workspace>; + /** + * Creates a Container Version from the entities present in the workspace, deletes the workspace, and sets the base container version to the newly created + * version. + */ + create_version(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CreateContainerVersionResponse>; + /** Deletes a Workspace. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets a Workspace. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Workspace>; + /** Gets a GTM Workspace Proposal. */ + getProposal(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM workspace proposal's relative path: Example: accounts/{aid}/containers/{cid}/workspace/{wid}/workspace_proposal */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<WorkspaceProposal>; + /** Finds conflicting and modified entities in the workspace. */ + getStatus(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GetWorkspaceStatusResponse>; + /** Lists all Workspaces that belong to a GTM Container. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Continuation token for fetching the next page of results. */ + pageToken?: string; + /** GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id} */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListWorkspacesResponse>; + /** Quick previews a workspace by creating a fake container version from all entities in the provided workspace. */ + quick_preview(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<QuickPreviewResponse>; + /** Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request. */ + resolve_conflict(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** When provided, this fingerprint must match the fingerprint of the entity_in_workspace in the merge conflict. */ + fingerprint?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities. */ + sync(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SyncWorkspaceResponse>; + /** Updates a Workspace. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** When provided, this fingerprint must match the fingerprint of the workspace in storage. */ + fingerprint?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Workspace>; + /** Updates a GTM Workspace Proposal. */ + updateProposal(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM workspace proposal's relative path: Example: accounts/{aid}/containers/{cid}/workspace/{wid}/workspace_proposal */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<WorkspaceProposal>; + built_in_variables: Built_in_variablesResource; + folders: FoldersResource; + proposal: ProposalResource; + tags: TagsResource; + triggers: TriggersResource; + variables: VariablesResource; + } + interface ContainersResource { + /** Creates a Container. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Account's API relative path. Example: accounts/{account_id}. */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Container>; + /** Deletes a Container. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets a Container. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Container>; + /** Lists all Containers that belongs to a GTM Account. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Continuation token for fetching the next page of results. */ + pageToken?: string; + /** GTM Accounts's API relative path. Example: accounts/{account_id}. */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListContainersResponse>; + /** Updates a Container. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** When provided, this fingerprint must match the fingerprint of the container in storage. */ + fingerprint?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Container>; + environments: EnvironmentsResource; + version_headers: Version_headersResource; + versions: VersionsResource; + workspaces: WorkspacesResource; + } + interface User_permissionsResource { + /** Creates a user's Account & Container access. */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Account's API relative path. Example: accounts/{account_id} */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UserPermission>; + /** Removes a user from the account, revoking access to it and all of its containers. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Gets a user's Account & Container access. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UserPermission>; + /** List all users that have access to the account along with Account and Container user access granted to each of them. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Continuation token for fetching the next page of results. */ + pageToken?: string; + /** GTM Accounts's API relative path. Example: accounts/{account_id} */ + parent: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListUserPermissionsResponse>; + /** Updates a user's Account & Container access. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UserPermission>; + } + interface AccountsResource { + /** Gets a GTM Account. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Accounts's API relative path. Example: accounts/{account_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Account>; + /** Lists all GTM Accounts that a user has access to. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Continuation token for fetching the next page of results. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListAccountsResponse>; + /** Updates a GTM Account. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** When provided, this fingerprint must match the fingerprint of the account in storage. */ + fingerprint?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** GTM Accounts's API relative path. Example: accounts/{account_id} */ + path: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Account>; + containers: ContainersResource; + user_permissions: User_permissionsResource; + } + } +} diff --git a/types/gapi.client.tagmanager/readme.md b/types/gapi.client.tagmanager/readme.md new file mode 100644 index 0000000000..073a8fa9fb --- /dev/null +++ b/types/gapi.client.tagmanager/readme.md @@ -0,0 +1,87 @@ +# TypeScript typings for Tag Manager API v2 +Accesses Tag Manager accounts and containers. +For detailed description please check [documentation](https://developers.google.com/tag-manager/api/v2/). + +## Installing + +Install typings for Tag Manager API: +``` +npm install @types/gapi.client.tagmanager@v2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('tagmanager', 'v2', () => { + // now we can use gapi.client.tagmanager + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Delete your Google Tag Manager containers + 'https://www.googleapis.com/auth/tagmanager.delete.containers', + + // Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing + 'https://www.googleapis.com/auth/tagmanager.edit.containers', + + // Manage your Google Tag Manager container versions + 'https://www.googleapis.com/auth/tagmanager.edit.containerversions', + + // View and manage your Google Tag Manager accounts + 'https://www.googleapis.com/auth/tagmanager.manage.accounts', + + // Manage user permissions of your Google Tag Manager account and container + 'https://www.googleapis.com/auth/tagmanager.manage.users', + + // Publish your Google Tag Manager container versions + 'https://www.googleapis.com/auth/tagmanager.publish', + + // View your Google Tag Manager container and its subcomponents + 'https://www.googleapis.com/auth/tagmanager.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Tag Manager API resources: + +```typescript + +/* +Gets a GTM Account. +*/ +await gapi.client.accounts.get({ path: "path", }); + +/* +Lists all GTM Accounts that a user has access to. +*/ +await gapi.client.accounts.list({ }); + +/* +Updates a GTM Account. +*/ +await gapi.client.accounts.update({ path: "path", }); +``` \ No newline at end of file diff --git a/types/gapi.client.tagmanager/tsconfig.json b/types/gapi.client.tagmanager/tsconfig.json new file mode 100644 index 0000000000..92a3d1732b --- /dev/null +++ b/types/gapi.client.tagmanager/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.tagmanager-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.tagmanager/tslint.json b/types/gapi.client.tagmanager/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.tagmanager/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.taskqueue/gapi.client.taskqueue-tests.ts b/types/gapi.client.taskqueue/gapi.client.taskqueue-tests.ts new file mode 100644 index 0000000000..95f1c8b605 --- /dev/null +++ b/types/gapi.client.taskqueue/gapi.client.taskqueue-tests.ts @@ -0,0 +1,85 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('taskqueue', 'v1beta2', () => { + /** now we can use gapi.client.taskqueue */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage your Tasks and Taskqueues */ + 'https://www.googleapis.com/auth/taskqueue', + /** Consume Tasks from your Taskqueues */ + 'https://www.googleapis.com/auth/taskqueue.consumer', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Get detailed information about a TaskQueue. */ + await gapi.client.taskqueues.get({ + getStats: true, + project: "project", + taskqueue: "taskqueue", + }); + /** Delete a task from a TaskQueue. */ + await gapi.client.tasks.delete({ + project: "project", + task: "task", + taskqueue: "taskqueue", + }); + /** Get a particular task from a TaskQueue. */ + await gapi.client.tasks.get({ + project: "project", + task: "task", + taskqueue: "taskqueue", + }); + /** Insert a new task in a TaskQueue */ + await gapi.client.tasks.insert({ + project: "project", + taskqueue: "taskqueue", + }); + /** Lease 1 or more tasks from a TaskQueue. */ + await gapi.client.tasks.lease({ + groupByTag: true, + leaseSecs: 2, + numTasks: 3, + project: "project", + tag: "tag", + taskqueue: "taskqueue", + }); + /** List Tasks in a TaskQueue */ + await gapi.client.tasks.list({ + project: "project", + taskqueue: "taskqueue", + }); + /** Update tasks that are leased out of a TaskQueue. This method supports patch semantics. */ + await gapi.client.tasks.patch({ + newLeaseSeconds: 1, + project: "project", + task: "task", + taskqueue: "taskqueue", + }); + /** Update tasks that are leased out of a TaskQueue. */ + await gapi.client.tasks.update({ + newLeaseSeconds: 1, + project: "project", + task: "task", + taskqueue: "taskqueue", + }); + } +}); diff --git a/types/gapi.client.taskqueue/index.d.ts b/types/gapi.client.taskqueue/index.d.ts new file mode 100644 index 0000000000..62fb53de93 --- /dev/null +++ b/types/gapi.client.taskqueue/index.d.ts @@ -0,0 +1,300 @@ +// Type definitions for Google TaskQueue API v1beta2 1.0 +// Project: https://developers.google.com/appengine/docs/python/taskqueue/rest +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/taskqueue/v1beta2/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load TaskQueue API v1beta2 */ + function load(name: "taskqueue", version: "v1beta2"): PromiseLike<void>; + function load(name: "taskqueue", version: "v1beta2", callback: () => any): void; + + const taskqueues: taskqueue.TaskqueuesResource; + + const tasks: taskqueue.TasksResource; + + namespace taskqueue { + interface Task { + /** Time (in seconds since the epoch) at which the task was enqueued. */ + enqueueTimestamp?: string; + /** Name of the task. */ + id?: string; + /** The kind of object returned, in this case set to task. */ + kind?: string; + /** Time (in seconds since the epoch) at which the task lease will expire. This value is 0 if the task isnt currently leased out to a worker. */ + leaseTimestamp?: string; + /** A bag of bytes which is the task payload. The payload on the JSON side is always Base64 encoded. */ + payloadBase64?: string; + /** Name of the queue that the task is in. */ + queueName?: string; + /** The number of leases applied to this task. */ + retry_count?: number; + /** Tag for the task, could be used later to lease tasks grouped by a specific tag. */ + tag?: string; + } + interface TaskQueue { + /** ACLs that are applicable to this TaskQueue object. */ + acl?: { + /** Email addresses of users who are "admins" of the TaskQueue. This means they can control the queue, eg set ACLs for the queue. */ + adminEmails?: string[]; + /** Email addresses of users who can "consume" tasks from the TaskQueue. This means they can Dequeue and Delete tasks from the queue. */ + consumerEmails?: string[]; + /** Email addresses of users who can "produce" tasks into the TaskQueue. This means they can Insert tasks into the queue. */ + producerEmails?: string[]; + }; + /** Name of the taskqueue. */ + id?: string; + /** The kind of REST object returned, in this case taskqueue. */ + kind?: string; + /** The number of times we should lease out tasks before giving up on them. If unset we lease them out forever until a worker deletes the task. */ + maxLeases?: number; + /** Statistics for the TaskQueue object in question. */ + stats?: { + /** Number of tasks leased in the last hour. */ + leasedLastHour?: string; + /** Number of tasks leased in the last minute. */ + leasedLastMinute?: string; + /** The timestamp (in seconds since the epoch) of the oldest unfinished task. */ + oldestTask?: string; + /** Number of tasks in the queue. */ + totalTasks?: number; + }; + } + interface Tasks { + /** The actual list of tasks returned as a result of the lease operation. */ + items?: Task[]; + /** The kind of object returned, a list of tasks. */ + kind?: string; + } + interface Tasks2 { + /** The actual list of tasks currently active in the TaskQueue. */ + items?: Task[]; + /** The kind of object returned, a list of tasks. */ + kind?: string; + } + interface TaskqueuesResource { + /** Get detailed information about a TaskQueue. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Whether to get stats. Optional. */ + getStats?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project under which the queue lies. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The id of the taskqueue to get the properties of. */ + taskqueue: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TaskQueue>; + } + interface TasksResource { + /** Delete a task from a TaskQueue. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project under which the queue lies. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The id of the task to delete. */ + task: string; + /** The taskqueue to delete a task from. */ + taskqueue: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Get a particular task from a TaskQueue. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project under which the queue lies. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The task to get properties of. */ + task: string; + /** The taskqueue in which the task belongs. */ + taskqueue: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Task>; + /** Insert a new task in a TaskQueue */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project under which the queue lies */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The taskqueue to insert the task into */ + taskqueue: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Task>; + /** Lease 1 or more tasks from a TaskQueue. */ + lease(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** When true, all returned tasks will have the same tag */ + groupByTag?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The lease in seconds. */ + leaseSecs: number; + /** The number of tasks to lease. */ + numTasks: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project under which the queue lies. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The tag allowed for tasks in the response. Must only be specified if group_by_tag is true. If group_by_tag is true and tag is not specified the tag + * will be that of the oldest task by eta, i.e. the first available tag + */ + tag?: string; + /** The taskqueue to lease a task from. */ + taskqueue: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Tasks>; + /** List Tasks in a TaskQueue */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project under which the queue lies. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The id of the taskqueue to list tasks from. */ + taskqueue: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Tasks2>; + /** Update tasks that are leased out of a TaskQueue. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The new lease in seconds. */ + newLeaseSeconds: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project under which the queue lies. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + task: string; + taskqueue: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Task>; + /** Update tasks that are leased out of a TaskQueue. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The new lease in seconds. */ + newLeaseSeconds: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The project under which the queue lies. */ + project: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + task: string; + taskqueue: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Task>; + } + } +} diff --git a/types/gapi.client.taskqueue/readme.md b/types/gapi.client.taskqueue/readme.md new file mode 100644 index 0000000000..2491dba596 --- /dev/null +++ b/types/gapi.client.taskqueue/readme.md @@ -0,0 +1,97 @@ +# TypeScript typings for TaskQueue API v1beta2 +Accesses a Google App Engine Pull Task Queue over REST. +For detailed description please check [documentation](https://developers.google.com/appengine/docs/python/taskqueue/rest). + +## Installing + +Install typings for TaskQueue API: +``` +npm install @types/gapi.client.taskqueue@v1beta2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('taskqueue', 'v1beta2', () => { + // now we can use gapi.client.taskqueue + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage your Tasks and Taskqueues + 'https://www.googleapis.com/auth/taskqueue', + + // Consume Tasks from your Taskqueues + 'https://www.googleapis.com/auth/taskqueue.consumer', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use TaskQueue API resources: + +```typescript + +/* +Get detailed information about a TaskQueue. +*/ +await gapi.client.taskqueues.get({ project: "project", taskqueue: "taskqueue", }); + +/* +Delete a task from a TaskQueue. +*/ +await gapi.client.tasks.delete({ project: "project", task: "task", taskqueue: "taskqueue", }); + +/* +Get a particular task from a TaskQueue. +*/ +await gapi.client.tasks.get({ project: "project", task: "task", taskqueue: "taskqueue", }); + +/* +Insert a new task in a TaskQueue +*/ +await gapi.client.tasks.insert({ project: "project", taskqueue: "taskqueue", }); + +/* +Lease 1 or more tasks from a TaskQueue. +*/ +await gapi.client.tasks.lease({ leaseSecs: 1, numTasks: 1, project: "project", taskqueue: "taskqueue", }); + +/* +List Tasks in a TaskQueue +*/ +await gapi.client.tasks.list({ project: "project", taskqueue: "taskqueue", }); + +/* +Update tasks that are leased out of a TaskQueue. This method supports patch semantics. +*/ +await gapi.client.tasks.patch({ newLeaseSeconds: 1, project: "project", task: "task", taskqueue: "taskqueue", }); + +/* +Update tasks that are leased out of a TaskQueue. +*/ +await gapi.client.tasks.update({ newLeaseSeconds: 1, project: "project", task: "task", taskqueue: "taskqueue", }); +``` \ No newline at end of file diff --git a/types/gapi.client.taskqueue/tsconfig.json b/types/gapi.client.taskqueue/tsconfig.json new file mode 100644 index 0000000000..95db41d7b6 --- /dev/null +++ b/types/gapi.client.taskqueue/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.taskqueue-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.taskqueue/tslint.json b/types/gapi.client.taskqueue/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.taskqueue/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.tasks/gapi.client.tasks-tests.ts b/types/gapi.client.tasks/gapi.client.tasks-tests.ts new file mode 100644 index 0000000000..fe6e59d75b --- /dev/null +++ b/types/gapi.client.tasks/gapi.client.tasks-tests.ts @@ -0,0 +1,115 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('tasks', 'v1', () => { + /** now we can use gapi.client.tasks */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage your tasks */ + 'https://www.googleapis.com/auth/tasks', + /** View your tasks */ + 'https://www.googleapis.com/auth/tasks.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Deletes the authenticated user's specified task list. */ + await gapi.client.tasklists.delete({ + tasklist: "tasklist", + }); + /** Returns the authenticated user's specified task list. */ + await gapi.client.tasklists.get({ + tasklist: "tasklist", + }); + /** Creates a new task list and adds it to the authenticated user's task lists. */ + await gapi.client.tasklists.insert({ + }); + /** Returns all the authenticated user's task lists. */ + await gapi.client.tasklists.list({ + maxResults: "maxResults", + pageToken: "pageToken", + }); + /** Updates the authenticated user's specified task list. This method supports patch semantics. */ + await gapi.client.tasklists.patch({ + tasklist: "tasklist", + }); + /** Updates the authenticated user's specified task list. */ + await gapi.client.tasklists.update({ + tasklist: "tasklist", + }); + /** + * Clears all completed tasks from the specified task list. The affected tasks will be marked as 'hidden' and no longer be returned by default when + * retrieving all tasks for a task list. + */ + await gapi.client.tasks.clear({ + tasklist: "tasklist", + }); + /** Deletes the specified task from the task list. */ + await gapi.client.tasks.delete({ + task: "task", + tasklist: "tasklist", + }); + /** Returns the specified task. */ + await gapi.client.tasks.get({ + task: "task", + tasklist: "tasklist", + }); + /** Creates a new task on the specified task list. */ + await gapi.client.tasks.insert({ + parent: "parent", + previous: "previous", + tasklist: "tasklist", + }); + /** Returns all tasks in the specified task list. */ + await gapi.client.tasks.list({ + completedMax: "completedMax", + completedMin: "completedMin", + dueMax: "dueMax", + dueMin: "dueMin", + maxResults: "maxResults", + pageToken: "pageToken", + showCompleted: true, + showDeleted: true, + showHidden: true, + tasklist: "tasklist", + updatedMin: "updatedMin", + }); + /** + * Moves the specified task to another position in the task list. This can include putting it as a child task under a new parent and/or move it to a + * different position among its sibling tasks. + */ + await gapi.client.tasks.move({ + parent: "parent", + previous: "previous", + task: "task", + tasklist: "tasklist", + }); + /** Updates the specified task. This method supports patch semantics. */ + await gapi.client.tasks.patch({ + task: "task", + tasklist: "tasklist", + }); + /** Updates the specified task. */ + await gapi.client.tasks.update({ + task: "task", + tasklist: "tasklist", + }); + } +}); diff --git a/types/gapi.client.tasks/index.d.ts b/types/gapi.client.tasks/index.d.ts new file mode 100644 index 0000000000..6de4e2b078 --- /dev/null +++ b/types/gapi.client.tasks/index.d.ts @@ -0,0 +1,467 @@ +// Type definitions for Google Tasks API v1 1.0 +// Project: https://developers.google.com/google-apps/tasks/firstapp +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/tasks/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Tasks API v1 */ + function load(name: "tasks", version: "v1"): PromiseLike<void>; + function load(name: "tasks", version: "v1", callback: () => any): void; + + const tasklists: tasks.TasklistsResource; + + const tasks: tasks.TasksResource; + + namespace tasks { + interface Task { + /** Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. */ + completed?: string; + /** Flag indicating whether the task has been deleted. The default if False. */ + deleted?: boolean; + /** Due date of the task (as a RFC 3339 timestamp). Optional. */ + due?: string; + /** ETag of the resource. */ + etag?: string; + /** + * Flag indicating whether the task is hidden. This is the case if the task had been marked completed when the task list was last cleared. The default is + * False. This field is read-only. + */ + hidden?: boolean; + /** Task identifier. */ + id?: string; + /** Type of the resource. This is always "tasks#task". */ + kind?: string; + /** Collection of links. This collection is read-only. */ + links?: Array<{ + /** The description. In HTML speak: Everything between <a> and </a>. */ + description?: string; + /** The URL. */ + link?: string; + /** Type of the link, e.g. "email". */ + type?: string; + }>; + /** Notes describing the task. Optional. */ + notes?: string; + /** + * Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a + * different parent or to the top level. + */ + parent?: string; + /** + * String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than + * another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent + * task (or at the top level). This field is read-only. Use the "move" method to move the task to another position. + */ + position?: string; + /** URL pointing to this task. Used to retrieve, update, or delete this task. */ + selfLink?: string; + /** Status of the task. This is either "needsAction" or "completed". */ + status?: string; + /** Title of the task. */ + title?: string; + /** Last modification time of the task (as a RFC 3339 timestamp). */ + updated?: string; + } + interface TaskList { + /** ETag of the resource. */ + etag?: string; + /** Task list identifier. */ + id?: string; + /** Type of the resource. This is always "tasks#taskList". */ + kind?: string; + /** URL pointing to this task list. Used to retrieve, update, or delete this task list. */ + selfLink?: string; + /** Title of the task list. */ + title?: string; + /** Last modification time of the task list (as a RFC 3339 timestamp). */ + updated?: string; + } + interface TaskLists { + /** ETag of the resource. */ + etag?: string; + /** Collection of task lists. */ + items?: TaskList[]; + /** Type of the resource. This is always "tasks#taskLists". */ + kind?: string; + /** Token that can be used to request the next page of this result. */ + nextPageToken?: string; + } + interface Tasks { + /** ETag of the resource. */ + etag?: string; + /** Collection of tasks. */ + items?: Task[]; + /** Type of the resource. This is always "tasks#tasks". */ + kind?: string; + /** Token used to access the next page of this result. */ + nextPageToken?: string; + } + interface TasklistsResource { + /** Deletes the authenticated user's specified task list. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Task list identifier. */ + tasklist: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Returns the authenticated user's specified task list. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Task list identifier. */ + tasklist: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TaskList>; + /** Creates a new task list and adds it to the authenticated user's task lists. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TaskList>; + /** Returns all the authenticated user's task lists. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of task lists returned on one page. Optional. The default is 100. */ + maxResults?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Token specifying the result page to return. Optional. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TaskLists>; + /** Updates the authenticated user's specified task list. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Task list identifier. */ + tasklist: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TaskList>; + /** Updates the authenticated user's specified task list. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Task list identifier. */ + tasklist: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<TaskList>; + } + interface TasksResource { + /** + * Clears all completed tasks from the specified task list. The affected tasks will be marked as 'hidden' and no longer be returned by default when + * retrieving all tasks for a task list. + */ + clear(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Task list identifier. */ + tasklist: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Deletes the specified task from the task list. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Task identifier. */ + task: string; + /** Task list identifier. */ + tasklist: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Returns the specified task. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Task identifier. */ + task: string; + /** Task list identifier. */ + tasklist: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Task>; + /** Creates a new task on the specified task list. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Parent task identifier. If the task is created at the top level, this parameter is omitted. Optional. */ + parent?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Previous sibling task identifier. If the task is created at the first position among its siblings, this parameter is omitted. Optional. */ + previous?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Task list identifier. */ + tasklist: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Task>; + /** Returns all tasks in the specified task list. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date. */ + completedMax?: string; + /** Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date. */ + completedMin?: string; + /** Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date. */ + dueMax?: string; + /** Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date. */ + dueMin?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Maximum number of task lists returned on one page. Optional. The default is 100. */ + maxResults?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Token specifying the result page to return. Optional. */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Flag indicating whether completed tasks are returned in the result. Optional. The default is True. */ + showCompleted?: boolean; + /** Flag indicating whether deleted tasks are returned in the result. Optional. The default is False. */ + showDeleted?: boolean; + /** Flag indicating whether hidden tasks are returned in the result. Optional. The default is False. */ + showHidden?: boolean; + /** Task list identifier. */ + tasklist: string; + /** + * Lower bound for a task's last modification time (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by last modification + * time. + */ + updatedMin?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Tasks>; + /** + * Moves the specified task to another position in the task list. This can include putting it as a child task under a new parent and/or move it to a + * different position among its sibling tasks. + */ + move(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** New parent task identifier. If the task is moved to the top level, this parameter is omitted. Optional. */ + parent?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** New previous sibling task identifier. If the task is moved to the first position among its siblings, this parameter is omitted. Optional. */ + previous?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Task identifier. */ + task: string; + /** Task list identifier. */ + tasklist: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Task>; + /** Updates the specified task. This method supports patch semantics. */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Task identifier. */ + task: string; + /** Task list identifier. */ + tasklist: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Task>; + /** Updates the specified task. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Task identifier. */ + task: string; + /** Task list identifier. */ + tasklist: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Task>; + } + } +} diff --git a/types/gapi.client.tasks/readme.md b/types/gapi.client.tasks/readme.md new file mode 100644 index 0000000000..c56a42ea88 --- /dev/null +++ b/types/gapi.client.tasks/readme.md @@ -0,0 +1,127 @@ +# TypeScript typings for Tasks API v1 +Lets you manage your tasks and task lists. +For detailed description please check [documentation](https://developers.google.com/google-apps/tasks/firstapp). + +## Installing + +Install typings for Tasks API: +``` +npm install @types/gapi.client.tasks@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('tasks', 'v1', () => { + // now we can use gapi.client.tasks + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage your tasks + 'https://www.googleapis.com/auth/tasks', + + // View your tasks + 'https://www.googleapis.com/auth/tasks.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Tasks API resources: + +```typescript + +/* +Deletes the authenticated user's specified task list. +*/ +await gapi.client.tasklists.delete({ tasklist: "tasklist", }); + +/* +Returns the authenticated user's specified task list. +*/ +await gapi.client.tasklists.get({ tasklist: "tasklist", }); + +/* +Creates a new task list and adds it to the authenticated user's task lists. +*/ +await gapi.client.tasklists.insert({ }); + +/* +Returns all the authenticated user's task lists. +*/ +await gapi.client.tasklists.list({ }); + +/* +Updates the authenticated user's specified task list. This method supports patch semantics. +*/ +await gapi.client.tasklists.patch({ tasklist: "tasklist", }); + +/* +Updates the authenticated user's specified task list. +*/ +await gapi.client.tasklists.update({ tasklist: "tasklist", }); + +/* +Clears all completed tasks from the specified task list. The affected tasks will be marked as 'hidden' and no longer be returned by default when retrieving all tasks for a task list. +*/ +await gapi.client.tasks.clear({ tasklist: "tasklist", }); + +/* +Deletes the specified task from the task list. +*/ +await gapi.client.tasks.delete({ task: "task", tasklist: "tasklist", }); + +/* +Returns the specified task. +*/ +await gapi.client.tasks.get({ task: "task", tasklist: "tasklist", }); + +/* +Creates a new task on the specified task list. +*/ +await gapi.client.tasks.insert({ tasklist: "tasklist", }); + +/* +Returns all tasks in the specified task list. +*/ +await gapi.client.tasks.list({ tasklist: "tasklist", }); + +/* +Moves the specified task to another position in the task list. This can include putting it as a child task under a new parent and/or move it to a different position among its sibling tasks. +*/ +await gapi.client.tasks.move({ task: "task", tasklist: "tasklist", }); + +/* +Updates the specified task. This method supports patch semantics. +*/ +await gapi.client.tasks.patch({ task: "task", tasklist: "tasklist", }); + +/* +Updates the specified task. +*/ +await gapi.client.tasks.update({ task: "task", tasklist: "tasklist", }); +``` \ No newline at end of file diff --git a/types/gapi.client.tasks/tsconfig.json b/types/gapi.client.tasks/tsconfig.json new file mode 100644 index 0000000000..a8ac77689b --- /dev/null +++ b/types/gapi.client.tasks/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.tasks-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.tasks/tslint.json b/types/gapi.client.tasks/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.tasks/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.testing/gapi.client.testing-tests.ts b/types/gapi.client.testing/gapi.client.testing-tests.ts new file mode 100644 index 0000000000..e74392a2a6 --- /dev/null +++ b/types/gapi.client.testing/gapi.client.testing-tests.ts @@ -0,0 +1,47 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('testing', 'v1', () => { + /** now we can use gapi.client.testing */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** View your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform.read-only', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Get the catalog of supported test environments. + * + * May return any of the following canonical error codes: + * + * - INVALID_ARGUMENT - if the request is malformed + * - NOT_FOUND - if the environment type does not exist + * - INTERNAL - if an internal error occurred + */ + await gapi.client.testEnvironmentCatalog.get({ + environmentType: "environmentType", + projectId: "projectId", + }); + } +}); diff --git a/types/gapi.client.testing/index.d.ts b/types/gapi.client.testing/index.d.ts new file mode 100644 index 0000000000..1b8460c3fc --- /dev/null +++ b/types/gapi.client.testing/index.d.ts @@ -0,0 +1,997 @@ +// Type definitions for Google Google Cloud Testing API v1 1.0 +// Project: https://developers.google.com/cloud-test-lab/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://testing.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Cloud Testing API v1 */ + function load(name: "testing", version: "v1"): PromiseLike<void>; + function load(name: "testing", version: "v1", callback: () => any): void; + + const projects: testing.ProjectsResource; + + const testEnvironmentCatalog: testing.TestEnvironmentCatalogResource; + + namespace testing { + interface Account { + /** An automatic google login account */ + googleAuto?: any; + } + interface AndroidDevice { + /** + * The id of the Android device to be used. + * Use the EnvironmentDiscoveryService to get supported options. + * Required + */ + androidModelId?: string; + /** + * The id of the Android OS version to be used. + * Use the EnvironmentDiscoveryService to get supported options. + * Required + */ + androidVersionId?: string; + /** + * The locale the test device used for testing. + * Use the EnvironmentDiscoveryService to get supported options. + * Required + */ + locale?: string; + /** + * How the device is oriented during the test. + * Use the EnvironmentDiscoveryService to get supported options. + * Required + */ + orientation?: string; + } + interface AndroidDeviceCatalog { + /** + * The set of supported Android device models. + * @OutputOnly + */ + models?: AndroidModel[]; + /** + * The set of supported runtime configurations. + * @OutputOnly + */ + runtimeConfiguration?: AndroidRuntimeConfiguration; + /** + * The set of supported Android OS versions. + * @OutputOnly + */ + versions?: AndroidVersion[]; + } + interface AndroidDeviceList { + /** + * A list of Android devices + * Required + */ + androidDevices?: AndroidDevice[]; + } + interface AndroidInstrumentationTest { + /** + * The APK for the application under test. + * Required + */ + appApk?: FileReference; + /** + * The java package for the application under test. + * Optional, default is determined by examining the application's manifest. + */ + appPackageId?: string; + /** + * The option of whether running each test within its own invocation of + * instrumentation with Android Test Orchestrator or not. + * ** Orchestrator is only compatible with AndroidJUnitRunner version 1.0 or + * higher! ** + * Orchestrator offers the following benefits: + * - No shared state + * - Crashes are isolated + * - Logs are scoped per test + * + * See + * <https://developer.android.com/training/testing/junit-runner.html#using-android-test-orchestrator> + * for more information about Android Test Orchestrator. + * + * Optional, if empty, test will be run without orchestrator. + */ + orchestratorOption?: string; + /** + * The APK containing the test code to be executed. + * Required + */ + testApk?: FileReference; + /** + * The java package for the test to be executed. + * Optional, default is determined by examining the application's manifest. + */ + testPackageId?: string; + /** + * The InstrumentationTestRunner class. + * Optional, default is determined by examining the application's manifest. + */ + testRunnerClass?: string; + /** + * Each target must be fully qualified with the package name or class name, + * in one of these formats: + * - "package package_name" + * - "class package_name.class_name" + * - "class package_name.class_name#method_name" + * + * Optional, if empty, all targets in the module will be run. + */ + testTargets?: string[]; + } + interface AndroidMatrix { + /** + * The ids of the set of Android device to be used. + * Use the EnvironmentDiscoveryService to get supported options. + * Required + */ + androidModelIds?: string[]; + /** + * The ids of the set of Android OS version to be used. + * Use the EnvironmentDiscoveryService to get supported options. + * Required + */ + androidVersionIds?: string[]; + /** + * The set of locales the test device will enable for testing. + * Use the EnvironmentDiscoveryService to get supported options. + * Required + */ + locales?: string[]; + /** + * The set of orientations to test with. + * Use the EnvironmentDiscoveryService to get supported options. + * Required + */ + orientations?: string[]; + } + interface AndroidModel { + /** + * The company that this device is branded with. + * Example: "Google", "Samsung" + * @OutputOnly + */ + brand?: string; + /** + * The name of the industrial design. + * This corresponds to android.os.Build.DEVICE + * @OutputOnly + */ + codename?: string; + /** + * Whether this device is virtual or physical. + * @OutputOnly + */ + form?: string; + /** + * The unique opaque id for this model. + * Use this for invoking the TestExecutionService. + * @OutputOnly + */ + id?: string; + /** + * The manufacturer of this device. + * @OutputOnly + */ + manufacturer?: string; + /** + * The human-readable marketing name for this device model. + * Examples: "Nexus 5", "Galaxy S5" + * @OutputOnly + */ + name?: string; + /** + * Screen density in DPI. + * This corresponds to ro.sf.lcd_density + * @OutputOnly + */ + screenDensity?: number; + /** + * Screen size in the horizontal (X) dimension measured in pixels. + * @OutputOnly + */ + screenX?: number; + /** + * Screen size in the vertical (Y) dimension measured in pixels. + * @OutputOnly + */ + screenY?: number; + /** + * The list of supported ABIs for this device. + * This corresponds to either android.os.Build.SUPPORTED_ABIS (for API level + * 21 and above) or android.os.Build.CPU_ABI/CPU_ABI2. + * The most preferred ABI is the first element in the list. + * + * Elements are optionally prefixed by "version_id:" (where version_id is + * the id of an AndroidVersion), denoting an ABI that is supported only on + * a particular version. + * @OutputOnly + */ + supportedAbis?: string[]; + /** + * The set of Android versions this device supports. + * @OutputOnly + */ + supportedVersionIds?: string[]; + /** + * Tags for this dimension. + * Examples: "default", "preview", "deprecated" + */ + tags?: string[]; + } + interface AndroidRoboTest { + /** + * The APK for the application under test. + * Required + */ + appApk?: FileReference; + /** + * The initial activity that should be used to start the app. + * Optional + */ + appInitialActivity?: string; + /** + * The java package for the application under test. + * Optional, default is determined by examining the application's manifest. + */ + appPackageId?: string; + /** + * The max depth of the traversal stack Robo can explore. Needs to be at least + * 2 to make Robo explore the app beyond the first activity. + * Default is 50. + * Optional + */ + maxDepth?: number; + /** + * The max number of steps Robo can execute. + * Default is no limit. + * Optional + */ + maxSteps?: number; + /** + * A set of directives Robo should apply during the crawl. + * This allows users to customize the crawl. For example, the username and + * password for a test account can be provided. + * Optional + */ + roboDirectives?: RoboDirective[]; + } + interface AndroidRuntimeConfiguration { + /** + * The set of available locales. + * @OutputOnly + */ + locales?: Locale[]; + /** + * The set of available orientations. + * @OutputOnly + */ + orientations?: Orientation[]; + } + interface AndroidTestLoop { + /** + * The APK for the application under test. + * Required + */ + appApk?: FileReference; + /** + * The java package for the application under test. + * Optional, default is determined by examining the application's manifest. + */ + appPackageId?: string; + /** + * The list of scenario labels that should be run during the test. + * The scenario labels should map to labels defined in the application's + * manifest. For example, player_experience and + * com.google.test.loops.player_experience add all of the loops labeled in the + * manifest with the com.google.test.loops.player_experience name to the + * execution. + * Optional. Scenarios can also be specified in the scenarios field. + */ + scenarioLabels?: string[]; + /** + * The list of scenarios that should be run during the test. + * Optional, default is all test loops, derived from the application's + * manifest. + */ + scenarios?: number[]; + } + interface AndroidVersion { + /** + * The API level for this Android version. + * Examples: 18, 19 + * @OutputOnly + */ + apiLevel?: number; + /** + * The code name for this Android version. + * Examples: "JellyBean", "KitKat" + * @OutputOnly + */ + codeName?: string; + /** + * Market share for this version. + * @OutputOnly + */ + distribution?: Distribution; + /** + * An opaque id for this Android version. + * Use this id to invoke the TestExecutionService. + * @OutputOnly + */ + id?: string; + /** + * The date this Android version became available in the market. + * @OutputOnly + */ + releaseDate?: Date; + /** + * Tags for this dimension. + * Examples: "default", "preview", "deprecated" + */ + tags?: string[]; + /** + * A string representing this version of the Android OS. + * Examples: "4.3", "4.4" + * @OutputOnly + */ + versionString?: string; + } + interface CancelTestMatrixResponse { + /** + * The current rolled-up state of the test matrix. + * If this state is already final, then the cancelation request will + * have no effect. + */ + testState?: string; + } + interface ClientInfo { + /** The list of detailed information about client. */ + clientInfoDetails?: ClientInfoDetail[]; + /** + * Client name, such as gcloud. + * Required + */ + name?: string; + } + interface ClientInfoDetail { + /** + * The key of detailed client information. + * Required + */ + key?: string; + /** + * The value of detailed client information. + * Required + */ + value?: string; + } + interface Date { + /** + * Day of month. Must be from 1 to 31 and valid for the year and month, or 0 + * if specifying a year/month where the day is not significant. + */ + day?: number; + /** Month of year. Must be from 1 to 12. */ + month?: number; + /** + * Year of date. Must be from 1 to 9999, or 0 if specifying a date without + * a year. + */ + year?: number; + } + interface DeviceFile { + /** A reference to an opaque binary blob file */ + obbFile?: ObbFile; + } + interface Distribution { + /** + * The estimated fraction (0-1) of the total market with this configuration. + * @OutputOnly + */ + marketShare?: number; + /** + * The time this distribution was measured. + * @OutputOnly + */ + measurementTime?: string; + } + interface Environment { + /** An Android device which must be used with an Android test. */ + androidDevice?: AndroidDevice; + } + interface EnvironmentMatrix { + /** + * A list of Android devices; the test will be run only on the specified + * devices. + */ + androidDeviceList?: AndroidDeviceList; + /** A matrix of Android devices. */ + androidMatrix?: AndroidMatrix; + } + interface EnvironmentVariable { + /** Key for the environment variable */ + key?: string; + /** Value for the environment variable */ + value?: string; + } + interface FileReference { + /** + * A path to a file in Google Cloud Storage. + * Example: gs://build-app-1414623860166/app-debug-unaligned.apk + */ + gcsPath?: string; + } + interface GoogleCloudStorage { + /** + * The path to a directory in GCS that will + * eventually contain the results for this test. + * The requesting user must have write access on the bucket in the supplied + * path. + * Required + */ + gcsPath?: string; + } + interface Locale { + /** + * The id for this locale. + * Example: "en_US" + * @OutputOnly + */ + id?: string; + /** + * A human-friendly name for this language/locale. + * Example: "English" + * @OutputOnly + */ + name?: string; + /** + * A human-friendy string representing the region for this locale. + * Example: "United States" + * Not present for every locale. + * @OutputOnly + */ + region?: string; + /** + * Tags for this dimension. + * Examples: "default" + */ + tags?: string[]; + } + interface NetworkConfiguration { + /** The emulation rule applying to the download traffic */ + downRule?: TrafficRule; + /** + * The unique opaque id for this network traffic configuration + * @OutputOnly + */ + id?: string; + /** The emulation rule applying to the upload traffic */ + upRule?: TrafficRule; + } + interface NetworkConfigurationCatalog { + configurations?: NetworkConfiguration[]; + } + interface ObbFile { + /** + * Opaque Binary Blob (OBB) file(s) to install on the device + * Required + */ + obb?: FileReference; + /** + * OBB file name which must conform to the format as specified by + * Android + * e.g. [main|patch].0300110.com.example.android.obb + * which will be installed into + * <shared-storage>/Android/obb/<package-name>/ + * on the device + * Required + */ + obbFileName?: string; + } + interface Orientation { + /** + * The id for this orientation. + * Example: "portrait" + * @OutputOnly + */ + id?: string; + /** + * A human-friendly name for this orientation. + * Example: "portrait" + * @OutputOnly + */ + name?: string; + /** + * Tags for this dimension. + * Examples: "default" + */ + tags?: string[]; + } + interface ResultStorage { + /** Required. */ + googleCloudStorage?: GoogleCloudStorage; + /** + * The tool results execution that results are written to. + * @OutputOnly + */ + toolResultsExecution?: ToolResultsExecution; + /** + * The tool results history that contains the tool results execution that + * results are written to. + * + * Optional, if not provided the service will choose an appropriate value. + */ + toolResultsHistory?: ToolResultsHistory; + } + interface RoboDirective { + /** + * The type of action that Robo should perform on the specified element. + * Required. + */ + actionType?: string; + /** + * The text that Robo is directed to set. If left empty, the directive will be + * treated as a CLICK on the element matching the resource_name. + * Optional + */ + inputText?: string; + /** + * The android resource name of the target UI element + * For example, + * in Java: R.string.foo + * in xml: @string/foo + * Only the “foo” part is needed. + * Reference doc: + * https://developer.android.com/guide/topics/resources/accessing-resources.html + * Required + */ + resourceName?: string; + } + interface TestDetails { + /** + * If the TestState is ERROR, then this string will contain human-readable + * details about the error. + * @OutputOnly + */ + errorMessage?: string; + /** + * Human-readable, detailed descriptions of the test's progress. + * For example: "Provisioning a device", "Starting Test". + * + * During the course of execution new data may be appended + * to the end of progress_messages. + * @OutputOnly + */ + progressMessages?: string[]; + } + interface TestEnvironmentCatalog { + /** Android devices suitable for running Android Instrumentation Tests. */ + androidDeviceCatalog?: AndroidDeviceCatalog; + /** Supported network configurations */ + networkConfigurationCatalog?: NetworkConfigurationCatalog; + } + interface TestExecution { + /** + * How the host machine(s) are configured. + * @OutputOnly + */ + environment?: Environment; + /** + * Unique id set by the backend. + * @OutputOnly + */ + id?: string; + /** + * Id of the containing TestMatrix. + * @OutputOnly + */ + matrixId?: string; + /** + * The cloud project that owns the test execution. + * @OutputOnly + */ + projectId?: string; + /** + * Indicates the current progress of the test execution (e.g., FINISHED). + * @OutputOnly + */ + state?: string; + /** + * Additional details about the running test. + * @OutputOnly + */ + testDetails?: TestDetails; + /** + * How to run the test. + * @OutputOnly + */ + testSpecification?: TestSpecification; + /** + * The time this test execution was initially created. + * @OutputOnly + */ + timestamp?: string; + /** + * Where the results for this execution are written. + * @OutputOnly + */ + toolResultsStep?: ToolResultsStep; + } + interface TestMatrix { + /** + * Information about the client which invoked the test. + * Optional + */ + clientInfo?: ClientInfo; + /** + * How the host machine(s) are configured. + * Required + */ + environmentMatrix?: EnvironmentMatrix; + /** + * Describes why the matrix is considered invalid. + * Only useful for matrices in the INVALID state. + * @OutputOnly + */ + invalidMatrixDetails?: string; + /** + * The cloud project that owns the test matrix. + * @OutputOnly + */ + projectId?: string; + /** + * Where the results for the matrix are written. + * Required + */ + resultStorage?: ResultStorage; + /** + * Indicates the current progress of the test matrix (e.g., FINISHED) + * @OutputOnly + */ + state?: string; + /** + * The list of test executions that the service creates for this matrix. + * @OutputOnly + */ + testExecutions?: TestExecution[]; + /** + * Unique id set by the service. + * @OutputOnly + */ + testMatrixId?: string; + /** + * How to run the test. + * Required + */ + testSpecification?: TestSpecification; + /** + * The time this test matrix was initially created. + * @OutputOnly + */ + timestamp?: string; + } + interface TestSetup { + /** + * The device will be logged in on this account for the duration of the test. + * Optional + */ + account?: Account; + /** + * The directories on the device to upload to GCS at the end of the test; + * they must be absolute, whitelisted paths. + * Refer to RegularFile for whitelisted paths. + * Optional + */ + directoriesToPull?: string[]; + /** + * Environment variables to set for the test (only applicable for + * instrumentation tests). + */ + environmentVariables?: EnvironmentVariable[]; + /** Optional */ + filesToPush?: DeviceFile[]; + /** + * The network traffic profile used for running the test. + * Optional + */ + networkProfile?: string; + } + interface TestSpecification { + /** An Android instrumentation test. */ + androidInstrumentationTest?: AndroidInstrumentationTest; + /** An Android robo test. */ + androidRoboTest?: AndroidRoboTest; + /** An Android Application with a Test Loop */ + androidTestLoop?: AndroidTestLoop; + /** + * Enables automatic Google account login. + * If set, the service will automatically generate a Google test account and + * add it to the device, before executing the test. Note that test accounts + * might be reused. + * Many applications show their full set of functionalities when an account is + * present on the device. Logging into the device with these generated + * accounts allows testing more functionalities. + * Default is false. + * Optional + */ + autoGoogleLogin?: boolean; + /** Disables performance metrics recording; may reduce test latency. */ + disablePerformanceMetrics?: boolean; + /** Disables video recording; may reduce test latency. */ + disableVideoRecording?: boolean; + /** + * Test setup requirements e.g. files to install, bootstrap scripts + * Optional + */ + testSetup?: TestSetup; + /** + * Max time a test execution is allowed to run before it is + * automatically cancelled. + * Optional, default is 5 min. + */ + testTimeout?: string; + } + interface ToolResultsExecution { + /** + * A tool results execution ID. + * @OutputOnly + */ + executionId?: string; + /** + * A tool results history ID. + * @OutputOnly + */ + historyId?: string; + /** + * The cloud project that owns the tool results execution. + * @OutputOnly + */ + projectId?: string; + } + interface ToolResultsHistory { + /** + * A tool results history ID. + * Required + */ + historyId?: string; + /** + * The cloud project that owns the tool results history. + * Required + */ + projectId?: string; + } + interface ToolResultsStep { + /** + * A tool results execution ID. + * @OutputOnly + */ + executionId?: string; + /** + * A tool results history ID. + * @OutputOnly + */ + historyId?: string; + /** + * The cloud project that owns the tool results step. + * @OutputOnly + */ + projectId?: string; + /** + * A tool results step ID. + * @OutputOnly + */ + stepId?: string; + } + interface TrafficRule { + /** Bandwidth in kbits/second */ + bandwidth?: number; + /** Burst size in kbits */ + burst?: number; + /** Packet delay, must be >= 0 */ + delay?: string; + /** Packet duplication ratio (0.0 - 1.0) */ + packetDuplicationRatio?: number; + /** Packet loss ratio (0.0 - 1.0) */ + packetLossRatio?: number; + } + interface TestMatricesResource { + /** + * Cancels unfinished test executions in a test matrix. + * This call returns immediately and cancellation proceeds asychronously. + * If the matrix is already final, this operation will have no effect. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to read project + * - INVALID_ARGUMENT - if the request is malformed + * - NOT_FOUND - if the Test Matrix does not exist + */ + cancel(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Cloud project that owns the test. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Test matrix that will be canceled. */ + testMatrixId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CancelTestMatrixResponse>; + /** + * Request to run a matrix of tests according to the given specifications. + * Unsupported environments will be returned in the state UNSUPPORTED. + * Matrices are limited to at most 200 supported executions. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to write to project + * - INVALID_ARGUMENT - if the request is malformed or if the matrix expands + * to more than 200 supported executions + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The GCE project under which this job will run. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * A string id used to detect duplicated requests. + * Ids are automatically scoped to a project, so + * users should ensure the ID is unique per-project. + * A UUID is recommended. + * + * Optional, but strongly recommended. + */ + requestId?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TestMatrix>; + /** + * Check the status of a test matrix. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to read project + * - INVALID_ARGUMENT - if the request is malformed + * - NOT_FOUND - if the Test Matrix does not exist + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Cloud project that owns the test matrix. */ + projectId: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Unique test matrix id which was assigned by the service. */ + testMatrixId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TestMatrix>; + } + interface ProjectsResource { + testMatrices: TestMatricesResource; + } + interface TestEnvironmentCatalogResource { + /** + * Get the catalog of supported test environments. + * + * May return any of the following canonical error codes: + * + * - INVALID_ARGUMENT - if the request is malformed + * - NOT_FOUND - if the environment type does not exist + * - INTERNAL - if an internal error occurred + */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** + * The type of environment that should be listed. + * Required + */ + environmentType: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * For authorization, the cloud project requesting the TestEnvironmentCatalog. + * Optional + */ + projectId?: string; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TestEnvironmentCatalog>; + } + } +} diff --git a/types/gapi.client.testing/readme.md b/types/gapi.client.testing/readme.md new file mode 100644 index 0000000000..4414bc28ea --- /dev/null +++ b/types/gapi.client.testing/readme.md @@ -0,0 +1,68 @@ +# TypeScript typings for Google Cloud Testing API v1 +Allows developers to run automated tests for their mobile applications on Google infrastructure. +For detailed description please check [documentation](https://developers.google.com/cloud-test-lab/). + +## Installing + +Install typings for Google Cloud Testing API: +``` +npm install @types/gapi.client.testing@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('testing', 'v1', () => { + // now we can use gapi.client.testing + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // View your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform.read-only', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Cloud Testing API resources: + +```typescript + +/* +Get the catalog of supported test environments. + +May return any of the following canonical error codes: + +- INVALID_ARGUMENT - if the request is malformed +- NOT_FOUND - if the environment type does not exist +- INTERNAL - if an internal error occurred +*/ +await gapi.client.testEnvironmentCatalog.get({ environmentType: "environmentType", }); +``` \ No newline at end of file diff --git a/types/gapi.client.testing/tsconfig.json b/types/gapi.client.testing/tsconfig.json new file mode 100644 index 0000000000..88e8341cfb --- /dev/null +++ b/types/gapi.client.testing/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.testing-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.testing/tslint.json b/types/gapi.client.testing/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.testing/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.toolresults/gapi.client.toolresults-tests.ts b/types/gapi.client.toolresults/gapi.client.toolresults-tests.ts new file mode 100644 index 0000000000..24cce3e454 --- /dev/null +++ b/types/gapi.client.toolresults/gapi.client.toolresults-tests.ts @@ -0,0 +1,64 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('toolresults', 'v1beta3', () => { + /** now we can use gapi.client.toolresults */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Gets the Tool Results settings for a project. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to read from project + */ + await gapi.client.projects.getSettings({ + projectId: "projectId", + }); + /** + * Creates resources for settings which have not yet been set. + * + * Currently, this creates a single resource: a Google Cloud Storage bucket, to be used as the default bucket for this project. The bucket is created in + * an FTL-own storage project. Except for in rare cases, calling this method in parallel from multiple clients will only create a single bucket. In order + * to avoid unnecessary storage charges, the bucket is configured to automatically delete objects older than 90 days. + * + * The bucket is created with the following permissions: - Owner access for owners of central storage project (FTL-owned) - Writer access for + * owners/editors of customer project - Reader access for viewers of customer project The default ACL on objects created in the bucket is: - Owner access + * for owners of central storage project - Reader access for owners/editors/viewers of customer project See Google Cloud Storage documentation for more + * details. + * + * If there is already a default bucket set and the project can access the bucket, this call does nothing. However, if the project doesn't have the + * permission to access the bucket or the bucket is deleted, a new bucket will be created. + * + * May return any canonical error codes, including the following: + * + * - PERMISSION_DENIED - if the user is not authorized to write to project - Any error code raised by Google Cloud Storage + */ + await gapi.client.projects.initializeSettings({ + projectId: "projectId", + }); + } +}); diff --git a/types/gapi.client.toolresults/index.d.ts b/types/gapi.client.toolresults/index.d.ts new file mode 100644 index 0000000000..c19db3d15e --- /dev/null +++ b/types/gapi.client.toolresults/index.d.ts @@ -0,0 +1,2002 @@ +// Type definitions for Google Cloud Tool Results API v1beta3 1.0 +// Project: https://firebase.google.com/docs/test-lab/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/toolresults/v1beta3/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Cloud Tool Results API v1beta3 */ + function load(name: "toolresults", version: "v1beta3"): PromiseLike<void>; + function load(name: "toolresults", version: "v1beta3", callback: () => any): void; + + const projects: toolresults.ProjectsResource; + + namespace toolresults { + interface AndroidAppInfo { + /** The name of the app. Optional */ + name?: string; + /** The package name of the app. Required. */ + packageName?: string; + /** The internal version code of the app. Optional. */ + versionCode?: string; + /** The version name of the app. Optional. */ + versionName?: string; + } + interface AndroidInstrumentationTest { + /** The java package for the test to be executed. Required */ + testPackageId?: string; + /** The InstrumentationTestRunner class. Required */ + testRunnerClass?: string; + /** + * Each target must be fully qualified with the package name or class name, in one of these formats: - "package package_name" - "class + * package_name.class_name" - "class package_name.class_name#method_name" + * + * If empty, all targets in the module will be run. + */ + testTargets?: string[]; + /** + * The flag indicates whether Android Test Orchestrator will be used to run test or not. Test orchestrator is used if either: - orchestrator_option field + * is USE_ORCHESTRATOR, and test runner is compatible with orchestrator. Or - orchestrator_option field is unspecified or ORCHESTRATOR_OPTION_UNSPECIFIED, + * and test runner is compatible with orchestrator. + */ + useOrchestrator?: boolean; + } + interface AndroidRoboTest { + /** The initial activity that should be used to start the app. Optional */ + appInitialActivity?: string; + /** The java package for the bootstrap. Optional */ + bootstrapPackageId?: string; + /** The runner class for the bootstrap. Optional */ + bootstrapRunnerClass?: string; + /** The max depth of the traversal stack Robo can explore. Optional */ + maxDepth?: number; + /** The max number of steps/actions Robo can execute. Default is no limit (0). Optional */ + maxSteps?: number; + } + interface AndroidTest { + /** Infomation about the application under test. */ + androidAppInfo?: AndroidAppInfo; + /** An Android instrumentation test. */ + androidInstrumentationTest?: AndroidInstrumentationTest; + /** An Android robo test. */ + androidRoboTest?: AndroidRoboTest; + /** Max time a test is allowed to run before it is automatically cancelled. */ + testTimeout?: Duration; + } + interface Any { + /** + * A URL/resource name whose content describes the type of the serialized protocol buffer message. + * + * For URLs which use the scheme `http`, `https`, or no scheme, the following restrictions and interpretations apply: + * + * * If no scheme is provided, `https` is assumed. * The last segment of the URL's path must represent the fully qualified name of the type (as in + * `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). * An HTTP GET on the URL must yield a + * [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them + * precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to + * manage breaking changes.) + * + * Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. + */ + typeUrl?: string; + /** Must be a valid serialized protocol buffer of the above specified type. */ + value?: string; + } + interface AppStartTime { + /** + * Optional. The time from app start to reaching the developer-reported "fully drawn" time. This is only stored if the app includes a call to + * Activity.reportFullyDrawn(). See https://developer.android.com/topic/performance/launch-time.html#time-full + */ + fullyDrawnTime?: Duration; + /** + * The time from app start to the first displayed activity being drawn, as reported in Logcat. See + * https://developer.android.com/topic/performance/launch-time.html#time-initial + */ + initialDisplayTime?: Duration; + } + interface BasicPerfSampleSeries { + perfMetricType?: string; + perfUnit?: string; + sampleSeriesLabel?: string; + } + interface BatchCreatePerfSamplesRequest { + /** The set of PerfSamples to create should not include existing timestamps */ + perfSamples?: PerfSample[]; + } + interface BatchCreatePerfSamplesResponse { + perfSamples?: PerfSample[]; + } + interface CPUInfo { + /** description of the device processor ie '1.8 GHz hexa core 64-bit ARMv8-A' */ + cpuProcessor?: string; + /** the CPU clock speed in GHz */ + cpuSpeedInGhz?: number; + /** the number of CPU cores */ + numberOfCores?: number; + } + interface Duration { + /** + * Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and + * a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the + * `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive. + */ + nanos?: number; + /** + * Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 + * min/hr * 24 hr/day * 365.25 days/year * 10000 years + */ + seconds?: string; + } + interface Execution { + /** + * The time when the Execution status transitioned to COMPLETE. + * + * This value will be set automatically when state transitions to COMPLETE. + * + * - In response: set if the execution state is COMPLETE. - In create/update request: never set + */ + completionTime?: Timestamp; + /** + * The time when the Execution was created. + * + * This value will be set automatically when CreateExecution is called. + * + * - In response: always set - In create/update request: never set + */ + creationTime?: Timestamp; + /** + * A unique identifier within a History for this Execution. + * + * Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. + * + * - In response always set - In create/update request: never set + */ + executionId?: string; + /** + * Classify the result, for example into SUCCESS or FAILURE + * + * - In response: present if set by create/update request - In create/update request: optional + */ + outcome?: Outcome; + /** + * Lightweight information about execution request. + * + * - In response: present if set by create - In create: optional - In update: optional + */ + specification?: Specification; + /** + * The initial state is IN_PROGRESS. + * + * The only legal state transitions is from IN_PROGRESS to COMPLETE. + * + * A PRECONDITION_FAILED will be returned if an invalid transition is requested. + * + * The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be returned if the state is set to COMPLETE multiple times. + * + * If the state is set to COMPLETE, all the in-progress steps within the execution will be set as COMPLETE. If the outcome of the step is not set, the + * outcome will be set to INCONCLUSIVE. + * + * - In response always set - In create/update request: optional + */ + state?: string; + /** + * TestExecution Matrix ID that the TestExecutionService uses. + * + * - In response: present if set by create - In create: optional - In update: never set + */ + testExecutionMatrixId?: string; + } + interface FailureDetail { + /** If the failure was severe because the system (app) under test crashed. */ + crashed?: boolean; + /** If an app is not installed and thus no test can be run with the app. This might be caused by trying to run a test on an unsupported platform. */ + notInstalled?: boolean; + /** If a native process (including any other than the app) crashed. */ + otherNativeCrash?: boolean; + /** If the test overran some time limit, and that is why it failed. */ + timedOut?: boolean; + /** If the robo was unable to crawl the app; perhaps because the app did not start. */ + unableToCrawl?: boolean; + } + interface FileReference { + /** + * The URI of a file stored in Google Cloud Storage. + * + * For example: http://storage.googleapis.com/mybucket/path/to/test.xml or in gsutil format: gs://mybucket/path/to/test.xml with version-specific info, + * gs://mybucket/path/to/test.xml#1360383693690000 + * + * An INVALID_ARGUMENT error will be returned if the URI format is not supported. + * + * - In response: always set - In create/update request: always set + */ + fileUri?: string; + } + interface GraphicsStats { + /** Histogram of frame render times. There should be 154 buckets ranging from [5ms, 6ms) to [4950ms, infinity) */ + buckets?: GraphicsStatsBucket[]; + /** Total "high input latency" events. */ + highInputLatencyCount?: string; + /** Total frames with slow render time. Should be <= total_frames. */ + jankyFrames?: string; + /** Total "missed vsync" events. */ + missedVsyncCount?: string; + /** 50th percentile frame render time in milliseconds. */ + p50Millis?: string; + /** 90th percentile frame render time in milliseconds. */ + p90Millis?: string; + /** 95th percentile frame render time in milliseconds. */ + p95Millis?: string; + /** 99th percentile frame render time in milliseconds. */ + p99Millis?: string; + /** Total "slow bitmap upload" events. */ + slowBitmapUploadCount?: string; + /** Total "slow draw" events. */ + slowDrawCount?: string; + /** Total "slow UI thread" events. */ + slowUiThreadCount?: string; + /** Total frames rendered by package. */ + totalFrames?: string; + } + interface GraphicsStatsBucket { + /** Number of frames in the bucket. */ + frameCount?: string; + /** Lower bound of render time in milliseconds. */ + renderMillis?: string; + } + interface History { + /** + * A short human-readable (plain text) name to display in the UI. Maximum of 100 characters. + * + * - In response: present if set during create. - In create request: optional + */ + displayName?: string; + /** + * A unique identifier within a project for this History. + * + * Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. + * + * - In response always set - In create request: never set + */ + historyId?: string; + /** + * A name to uniquely identify a history within a project. Maximum of 100 characters. + * + * - In response always set - In create request: always set + */ + name?: string; + } + interface Image { + /** An error explaining why the thumbnail could not be rendered. */ + error?: Status; + /** + * A reference to the full-size, original image. + * + * This is the same as the tool_outputs entry for the image under its Step. + * + * Always set. + */ + sourceImage?: ToolOutputReference; + /** + * The step to which the image is attached. + * + * Always set. + */ + stepId?: string; + /** The thumbnail. */ + thumbnail?: Thumbnail; + } + interface InconclusiveDetail { + /** + * If the end user aborted the test execution before a pass or fail could be determined. For example, the user pressed ctrl-c which sent a kill signal to + * the test runner while the test was running. + */ + abortedByUser?: boolean; + /** + * If the test runner could not determine success or failure because the test depends on a component other than the system under test which failed. + * + * For example, a mobile test requires provisioning a device where the test executes, and that provisioning can fail. + */ + infrastructureFailure?: boolean; + } + interface ListExecutionsResponse { + /** + * Executions. + * + * Always set. + */ + executions?: Execution[]; + /** + * A continuation token to resume the query at the next item. + * + * Will only be set if there are more Executions to fetch. + */ + nextPageToken?: string; + } + interface ListHistoriesResponse { + /** Histories. */ + histories?: History[]; + /** + * A continuation token to resume the query at the next item. + * + * Will only be set if there are more histories to fetch. + * + * Tokens are valid for up to one hour from the time of the first list request. For instance, if you make a list request at 1PM and use the token from + * this first request 10 minutes later, the token from this second response will only be valid for 50 minutes. + */ + nextPageToken?: string; + } + interface ListPerfSampleSeriesResponse { + /** The resulting PerfSampleSeries sorted by id */ + perfSampleSeries?: PerfSampleSeries[]; + } + interface ListPerfSamplesResponse { + /** + * Optional, returned if result size exceeds the page size specified in the request (or the default page size, 500, if unspecified). It indicates the last + * sample timestamp to be used as page_token in subsequent request + */ + nextPageToken?: string; + perfSamples?: PerfSample[]; + } + interface ListScreenshotClustersResponse { + /** The set of clustres associated with an execution Always set */ + clusters?: ScreenshotCluster[]; + } + interface ListStepThumbnailsResponse { + /** + * A continuation token to resume the query at the next item. + * + * If set, indicates that there are more thumbnails to read, by calling list again with this value in the page_token field. + */ + nextPageToken?: string; + /** + * A list of image data. + * + * Images are returned in a deterministic order; they are ordered by these factors, in order of importance: * First, by their associated test case. Images + * without a test case are considered greater than images with one. * Second, by their creation time. Images without a creation time are greater than + * images with one. * Third, by the order in which they were added to the step (by calls to CreateStep or UpdateStep). + */ + thumbnails?: Image[]; + } + interface ListStepsResponse { + /** + * A continuation token to resume the query at the next item. + * + * If set, indicates that there are more steps to read, by calling list again with this value in the page_token field. + */ + nextPageToken?: string; + /** Steps. */ + steps?: Step[]; + } + interface MemoryInfo { + /** Maximum memory that can be allocated to the process in KiB */ + memoryCapInKibibyte?: string; + /** Total memory available on the device in KiB */ + memoryTotalInKibibyte?: string; + } + interface Outcome { + /** + * More information about a FAILURE outcome. + * + * Returns INVALID_ARGUMENT if this field is set but the summary is not FAILURE. + * + * Optional + */ + failureDetail?: FailureDetail; + /** + * More information about an INCONCLUSIVE outcome. + * + * Returns INVALID_ARGUMENT if this field is set but the summary is not INCONCLUSIVE. + * + * Optional + */ + inconclusiveDetail?: InconclusiveDetail; + /** + * More information about a SKIPPED outcome. + * + * Returns INVALID_ARGUMENT if this field is set but the summary is not SKIPPED. + * + * Optional + */ + skippedDetail?: SkippedDetail; + /** + * More information about a SUCCESS outcome. + * + * Returns INVALID_ARGUMENT if this field is set but the summary is not SUCCESS. + * + * Optional + */ + successDetail?: SuccessDetail; + /** + * The simplest way to interpret a result. + * + * Required + */ + summary?: string; + } + interface PerfEnvironment { + /** CPU related environment info */ + cpuInfo?: CPUInfo; + /** Memory related environment info */ + memoryInfo?: MemoryInfo; + } + interface PerfMetricsSummary { + appStartTime?: AppStartTime; + /** A tool results execution ID. */ + executionId?: string; + /** Graphics statistics for the entire run. Statistics are reset at the beginning of the run and collected at the end of the run. */ + graphicsStats?: GraphicsStats; + /** A tool results history ID. */ + historyId?: string; + /** Describes the environment in which the performance metrics were collected */ + perfEnvironment?: PerfEnvironment; + /** Set of resource collected */ + perfMetrics?: string[]; + /** The cloud project */ + projectId?: string; + /** A tool results step ID. */ + stepId?: string; + } + interface PerfSample { + /** Timestamp of collection */ + sampleTime?: Timestamp; + /** Value observed */ + value?: number; + } + interface PerfSampleSeries { + /** Basic series represented by a line chart */ + basicPerfSampleSeries?: BasicPerfSampleSeries; + /** A tool results execution ID. */ + executionId?: string; + /** A tool results history ID. */ + historyId?: string; + /** The cloud project */ + projectId?: string; + /** A sample series id */ + sampleSeriesId?: string; + /** A tool results step ID. */ + stepId?: string; + } + interface ProjectSettings { + /** + * The name of the Google Cloud Storage bucket to which results are written. + * + * By default, this is unset. + * + * In update request: optional In response: optional + */ + defaultBucket?: string; + /** + * The name of the project's settings. + * + * Always of the form: projects/{project-id}/settings + * + * In update request: never set In response: always set + */ + name?: string; + } + interface PublishXunitXmlFilesRequest { + /** + * URI of the Xunit XML files to publish. + * + * The maximum size of the file this reference is pointing to is 50MB. + * + * Required. + */ + xunitXmlFiles?: FileReference[]; + } + interface Screen { + /** File reference of the png file. Required. */ + fileReference?: string; + /** Locale of the device that the screenshot was taken on. Required. */ + locale?: string; + /** Model of the device that the screenshot was taken on. Required. */ + model?: string; + /** OS version of the device that the screenshot was taken on. Required. */ + version?: string; + } + interface ScreenshotCluster { + /** A string that describes the activity of every screen in the cluster. */ + activity?: string; + /** A unique identifier for the cluster. */ + clusterId?: string; + /** + * A singular screen that represents the cluster as a whole. This screen will act as the "cover" of the entire cluster. When users look at the clusters, + * only the key screen from each cluster will be shown. Which screen is the key screen is determined by the ClusteringAlgorithm + */ + keyScreen?: Screen; + /** Full list of screens. */ + screens?: Screen[]; + } + interface SkippedDetail { + /** If the App doesn't support the specific API level. */ + incompatibleAppVersion?: boolean; + /** If the App doesn't run on the specific architecture, for example, x86. */ + incompatibleArchitecture?: boolean; + /** If the requested OS version doesn't run on the specific device model. */ + incompatibleDevice?: boolean; + } + interface Specification { + /** An Android mobile test execution specification. */ + androidTest?: AndroidTest; + } + interface StackTrace { + /** Exception cluster ID */ + clusterId?: string; + /** + * The stack trace message. + * + * Required + */ + exception?: string; + /** Exception report ID */ + reportId?: string; + } + interface Status { + /** The status code, which should be an enum value of [google.rpc.Code][]. */ + code?: number; + /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */ + details?: Any[]; + /** + * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the + * [google.rpc.Status.details][] field, or localized by the client. + */ + message?: string; + } + interface Step { + /** + * The time when the step status was set to complete. + * + * This value will be set automatically when state transitions to COMPLETE. + * + * - In response: set if the execution state is COMPLETE. - In create/update request: never set + */ + completionTime?: Timestamp; + /** + * The time when the step was created. + * + * - In response: always set - In create/update request: never set + */ + creationTime?: Timestamp; + /** + * A description of this tool For example: mvn clean package -D skipTests=true + * + * - In response: present if set by create/update request - In create/update request: optional + */ + description?: string; + /** + * How much the device resource is used to perform the test. + * + * This is the device usage used for billing purpose, which is different from the run_duration, for example, infrastructure failure won't be charged for + * device usage. + * + * PRECONDITION_FAILED will be returned if one attempts to set a device_usage on a step which already has this field set. + * + * - In response: present if previously set. - In create request: optional - In update request: optional + */ + deviceUsageDuration?: Duration; + /** + * If the execution containing this step has any dimension_definition set, then this field allows the child to specify the values of the dimensions. + * + * The keys must exactly match the dimension_definition of the execution. + * + * For example, if the execution has `dimension_definition = ['attempt', 'device']` then a step must define values for those dimensions, eg. + * `dimension_value = ['attempt': '1', 'device': 'Nexus 6']` + * + * If a step does not participate in one dimension of the matrix, the value for that dimension should be empty string. For example, if one of the tests is + * executed by a runner which does not support retries, the step could have `dimension_value = ['attempt': '', 'device': 'Nexus 6']` + * + * If the step does not participate in any dimensions of the matrix, it may leave dimension_value unset. + * + * A PRECONDITION_FAILED will be returned if any of the keys do not exist in the dimension_definition of the execution. + * + * A PRECONDITION_FAILED will be returned if another step in this execution already has the same name and dimension_value, but differs on other data + * fields, for example, step field is different. + * + * A PRECONDITION_FAILED will be returned if dimension_value is set, and there is a dimension_definition in the execution which is not specified as one of + * the keys. + * + * - In response: present if set by create - In create request: optional - In update request: never set + */ + dimensionValue?: StepDimensionValueEntry[]; + /** + * Whether any of the outputs of this step are images whose thumbnails can be fetched with ListThumbnails. + * + * - In response: always set - In create/update request: never set + */ + hasImages?: boolean; + /** + * Arbitrary user-supplied key/value pairs that are associated with the step. + * + * Users are responsible for managing the key namespace such that keys don't accidentally collide. + * + * An INVALID_ARGUMENT will be returned if the number of labels exceeds 100 or if the length of any of the keys or values exceeds 100 characters. + * + * - In response: always set - In create request: optional - In update request: optional; any new key/value pair will be added to the map, and any new + * value for an existing key will update that key's value + */ + labels?: StepLabelsEntry[]; + /** + * A short human-readable name to display in the UI. Maximum of 100 characters. For example: Clean build + * + * A PRECONDITION_FAILED will be returned upon creating a new step if it shares its name and dimension_value with an existing step. If two steps represent + * a similar action, but have different dimension values, they should share the same name. For instance, if the same set of tests is run on two different + * platforms, the two steps should have the same name. + * + * - In response: always set - In create request: always set - In update request: never set + */ + name?: string; + /** + * Classification of the result, for example into SUCCESS or FAILURE + * + * - In response: present if set by create/update request - In create/update request: optional + */ + outcome?: Outcome; + /** + * How long it took for this step to run. + * + * If unset, this is set to the difference between creation_time and completion_time when the step is set to the COMPLETE state. In some cases, it is + * appropriate to set this value separately: For instance, if a step is created, but the operation it represents is queued for a few minutes before it + * executes, it would be appropriate not to include the time spent queued in its run_duration. + * + * PRECONDITION_FAILED will be returned if one attempts to set a run_duration on a step which already has this field set. + * + * - In response: present if previously set; always present on COMPLETE step - In create request: optional - In update request: optional + */ + runDuration?: Duration; + /** + * The initial state is IN_PROGRESS. The only legal state transitions are * IN_PROGRESS -> COMPLETE + * + * A PRECONDITION_FAILED will be returned if an invalid transition is requested. + * + * It is valid to create Step with a state set to COMPLETE. The state can only be set to COMPLETE once. A PRECONDITION_FAILED will be returned if the + * state is set to COMPLETE multiple times. + * + * - In response: always set - In create/update request: optional + */ + state?: string; + /** + * A unique identifier within a Execution for this Step. + * + * Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. + * + * - In response: always set - In create/update request: never set + */ + stepId?: string; + /** An execution of a test runner. */ + testExecutionStep?: TestExecutionStep; + /** An execution of a tool (used for steps we don't explicitly support). */ + toolExecutionStep?: ToolExecutionStep; + } + interface StepDimensionValueEntry { + key?: string; + value?: string; + } + interface StepLabelsEntry { + key?: string; + value?: string; + } + interface SuccessDetail { + /** If a native process other than the app crashed. */ + otherNativeCrash?: boolean; + } + interface TestCaseReference { + /** The name of the class. */ + className?: string; + /** + * The name of the test case. + * + * Required. + */ + name?: string; + /** The name of the test suite to which this test case belongs. */ + testSuiteName?: string; + } + interface TestExecutionStep { + /** + * Issues observed during the test execution. + * + * For example, if the mobile app under test crashed during the test, the error message and the stack trace content can be recorded here to assist + * debugging. + * + * - In response: present if set by create or update - In create/update request: optional + */ + testIssues?: TestIssue[]; + /** + * List of test suite overview contents. This could be parsed from xUnit XML log by server, or uploaded directly by user. This references should only be + * called when test suites are fully parsed or uploaded. + * + * The maximum allowed number of test suite overviews per step is 1000. + * + * - In response: always set - In create request: optional - In update request: never (use publishXunitXmlFiles custom method instead) + */ + testSuiteOverviews?: TestSuiteOverview[]; + /** + * The timing break down of the test execution. + * + * - In response: present if set by create or update - In create/update request: optional + */ + testTiming?: TestTiming; + /** + * Represents the execution of the test runner. + * + * The exit code of this tool will be used to determine if the test passed. + * + * - In response: always set - In create/update request: optional + */ + toolExecution?: ToolExecution; + } + interface TestIssue { + /** A brief human-readable message describing the issue. Required. */ + errorMessage?: string; + /** Severity of issue. Required. */ + severity?: string; + /** Deprecated in favor of stack trace fields inside specific warnings. */ + stackTrace?: StackTrace; + /** Type of issue. Required. */ + type?: string; + /** Warning message with additional details of the issue. Should always be a message from com.google.devtools.toolresults.v1.warnings Required. */ + warning?: Any; + } + interface TestSuiteOverview { + /** + * Number of test cases in error, typically set by the service by parsing the xml_source. + * + * - In create/response: always set - In update request: never + */ + errorCount?: number; + /** + * Number of failed test cases, typically set by the service by parsing the xml_source. May also be set by the user. + * + * - In create/response: always set - In update request: never + */ + failureCount?: number; + /** + * The name of the test suite. + * + * - In create/response: always set - In update request: never + */ + name?: string; + /** + * Number of test cases not run, typically set by the service by parsing the xml_source. + * + * - In create/response: always set - In update request: never + */ + skippedCount?: number; + /** + * Number of test cases, typically set by the service by parsing the xml_source. + * + * - In create/response: always set - In update request: never + */ + totalCount?: number; + /** + * If this test suite was parsed from XML, this is the URI where the original XML file is stored. + * + * Note: Multiple test suites can share the same xml_source + * + * Returns INVALID_ARGUMENT if the uri format is not supported. + * + * - In create/response: optional - In update request: never + */ + xmlSource?: FileReference; + } + interface TestTiming { + /** + * How long it took to run the test process. + * + * - In response: present if previously set. - In create/update request: optional + */ + testProcessDuration?: Duration; + } + interface Thumbnail { + /** + * The thumbnail's content type, i.e. "image/png". + * + * Always set. + */ + contentType?: string; + /** + * The thumbnail file itself. + * + * That is, the bytes here are precisely the bytes that make up the thumbnail file; they can be served as an image as-is (with the appropriate content + * type.) + * + * Always set. + */ + data?: string; + /** + * The height of the thumbnail, in pixels. + * + * Always set. + */ + heightPx?: number; + /** + * The width of the thumbnail, in pixels. + * + * Always set. + */ + widthPx?: number; + } + interface Timestamp { + /** + * Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count + * forward in time. Must be from 0 to 999,999,999 inclusive. + */ + nanos?: number; + /** Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. */ + seconds?: string; + } + interface ToolExecution { + /** + * The full tokenized command line including the program name (equivalent to argv in a C program). + * + * - In response: present if set by create request - In create request: optional - In update request: never set + */ + commandLineArguments?: string[]; + /** + * Tool execution exit code. This field will be set once the tool has exited. + * + * - In response: present if set by create/update request - In create request: optional - In update request: optional, a FAILED_PRECONDITION error will be + * returned if an exit_code is already set. + */ + exitCode?: ToolExitCode; + /** + * References to any plain text logs output the tool execution. + * + * This field can be set before the tool has exited in order to be able to have access to a live view of the logs while the tool is running. + * + * The maximum allowed number of tool logs per step is 1000. + * + * - In response: present if set by create/update request - In create request: optional - In update request: optional, any value provided will be appended + * to the existing list + */ + toolLogs?: FileReference[]; + /** + * References to opaque files of any format output by the tool execution. + * + * The maximum allowed number of tool outputs per step is 1000. + * + * - In response: present if set by create/update request - In create request: optional - In update request: optional, any value provided will be appended + * to the existing list + */ + toolOutputs?: ToolOutputReference[]; + } + interface ToolExecutionStep { + /** + * A Tool execution. + * + * - In response: present if set by create/update request - In create/update request: optional + */ + toolExecution?: ToolExecution; + } + interface ToolExitCode { + /** + * Tool execution exit code. A value of 0 means that the execution was successful. + * + * - In response: always set - In create/update request: always set + */ + number?: number; + } + interface ToolOutputReference { + /** + * The creation time of the file. + * + * - In response: present if set by create/update request - In create/update request: optional + */ + creationTime?: Timestamp; + /** + * A FileReference to an output file. + * + * - In response: always set - In create/update request: always set + */ + output?: FileReference; + /** + * The test case to which this output file belongs. + * + * - In response: present if set by create/update request - In create/update request: optional + */ + testCase?: TestCaseReference; + } + interface ClustersResource { + /** Retrieves a single screenshot cluster by its ID */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** + * A Cluster id + * + * Required. + */ + clusterId: string; + /** + * An Execution id. + * + * Required. + */ + executionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * A History id. + * + * Required. + */ + historyId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * A Project id. + * + * Required. + */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ScreenshotCluster>; + /** + * Lists Screenshot Clusters + * + * Returns the list of screenshot clusters corresponding to an execution. Screenshot clusters are created after the execution is finished. Clusters are + * created from a set of screenshots. Between any two screenshots, a matching score is calculated based off their metadata that determines how similar + * they are. Screenshots are placed in the cluster that has screens which have the highest matching scores. + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** + * An Execution id. + * + * Required. + */ + executionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * A History id. + * + * Required. + */ + historyId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * A Project id. + * + * Required. + */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListScreenshotClustersResponse>; + } + interface PerfMetricsSummaryResource { + /** + * Creates a PerfMetricsSummary resource. Returns the existing one if it has already been created. + * + * May return any of the following error code(s): - NOT_FOUND - The containing Step does not exist + */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** A tool results execution ID. */ + executionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** A tool results history ID. */ + historyId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The cloud project */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** A tool results step ID. */ + stepId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PerfMetricsSummary>; + } + interface SamplesResource { + /** + * Creates a batch of PerfSamples - a client can submit multiple batches of Perf Samples through repeated calls to this method in order to split up a + * large request payload - duplicates and existing timestamp entries will be ignored. - the batch operation may partially succeed - the set of elements + * successfully inserted is returned in the response (omits items which already existed in the database). + * + * May return any of the following canonical error codes: - NOT_FOUND - The containing PerfSampleSeries does not exist + */ + batchCreate(request: { + /** Data format for the response. */ + alt?: string; + /** A tool results execution ID. */ + executionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** A tool results history ID. */ + historyId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The cloud project */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** A sample series id */ + sampleSeriesId: string; + /** A tool results step ID. */ + stepId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<BatchCreatePerfSamplesResponse>; + /** + * Lists the Performance Samples of a given Sample Series - The list results are sorted by timestamps ascending - The default page size is 500 samples; + * and maximum size allowed 5000 - The response token indicates the last returned PerfSample timestamp - When the results size exceeds the page size, + * submit a subsequent request including the page token to return the rest of the samples up to the page limit + * + * May return any of the following canonical error codes: - OUT_OF_RANGE - The specified request page_token is out of valid range - NOT_FOUND - The + * containing PerfSampleSeries does not exist + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** A tool results execution ID. */ + executionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** A tool results history ID. */ + historyId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The default page size is 500 samples, and the maximum size is 5000. If the page_size is greater than 5000, the effective page size will be 5000 */ + pageSize?: number; + /** Optional, the next_page_token returned in the previous response */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The cloud project */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** A sample series id */ + sampleSeriesId: string; + /** A tool results step ID. */ + stepId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListPerfSamplesResponse>; + } + interface PerfSampleSeriesResource { + /** + * Creates a PerfSampleSeries. + * + * May return any of the following error code(s): - ALREADY_EXISTS - PerfMetricSummary already exists for the given Step - NOT_FOUND - The containing Step + * does not exist + */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** A tool results execution ID. */ + executionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** A tool results history ID. */ + historyId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The cloud project */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** A tool results step ID. */ + stepId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PerfSampleSeries>; + /** + * Gets a PerfSampleSeries. + * + * May return any of the following error code(s): - NOT_FOUND - The specified PerfSampleSeries does not exist + */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** A tool results execution ID. */ + executionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** A tool results history ID. */ + historyId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The cloud project */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** A sample series id */ + sampleSeriesId: string; + /** A tool results step ID. */ + stepId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PerfSampleSeries>; + /** + * Lists PerfSampleSeries for a given Step. + * + * The request provides an optional filter which specifies one or more PerfMetricsType to include in the result; if none returns all. The resulting + * PerfSampleSeries are sorted by ids. + * + * May return any of the following canonical error codes: - NOT_FOUND - The containing Step does not exist + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** A tool results execution ID. */ + executionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Specify one or more PerfMetricType values such as CPU to filter the result */ + filter?: string; + /** A tool results history ID. */ + historyId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The cloud project */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** A tool results step ID. */ + stepId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListPerfSampleSeriesResponse>; + samples: SamplesResource; + } + interface ThumbnailsResource { + /** + * Lists thumbnails of images attached to a step. + * + * May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read from the project, or from any of the + * images - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the step does not exist, or if any of the images do not exist + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** + * An Execution id. + * + * Required. + */ + executionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * A History id. + * + * Required. + */ + historyId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The maximum number of thumbnails to fetch. + * + * Default value: 50. The server will use this default if the field is not set or has a value of 0. + * + * Optional. + */ + pageSize?: number; + /** + * A continuation token to resume the query at the next item. + * + * Optional. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * A Project id. + * + * Required. + */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * A Step id. + * + * Required. + */ + stepId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListStepThumbnailsResponse>; + } + interface StepsResource { + /** + * Creates a Step. + * + * The returned Step will have the id set. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the + * step is too large (more than 10Mib) - NOT_FOUND - if the containing Execution does not exist + */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** + * A Execution id. + * + * Required. + */ + executionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * A History id. + * + * Required. + */ + historyId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * A Project id. + * + * Required. + */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * A unique request ID for server to detect duplicated requests. For example, a UUID. + * + * Optional, but strongly recommended. + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Step>; + /** + * Gets a Step. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Step does not + * exist + */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** + * A Execution id. + * + * Required. + */ + executionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * A History id. + * + * Required. + */ + historyId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * A Project id. + * + * Required. + */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * A Step id. + * + * Required. + */ + stepId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Step>; + /** + * Retrieves a PerfMetricsSummary. + * + * May return any of the following error code(s): - NOT_FOUND - The specified PerfMetricsSummary does not exist + */ + getPerfMetricsSummary(request: { + /** Data format for the response. */ + alt?: string; + /** A tool results execution ID. */ + executionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** A tool results history ID. */ + historyId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The cloud project */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** A tool results step ID. */ + stepId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PerfMetricsSummary>; + /** + * Lists Steps for a given Execution. + * + * The steps are sorted by creation_time in descending order. The step_id key will be used to order the steps with the same creation_time. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if an + * argument in the request happens to be invalid; e.g. if an attempt is made to list the children of a nonexistent Step - NOT_FOUND - if the containing + * Execution does not exist + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** + * A Execution id. + * + * Required. + */ + executionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * A History id. + * + * Required. + */ + historyId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The maximum number of Steps to fetch. + * + * Default value: 25. The server will use this default if the field is not set or has a value of 0. + * + * Optional. + */ + pageSize?: number; + /** + * A continuation token to resume the query at the next item. + * + * Optional. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * A Project id. + * + * Required. + */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListStepsResponse>; + /** + * Updates an existing Step with the supplied partial entity. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to write project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the + * requested state transition is illegal (e.g try to upload a duplicate xml file), if the updated step is too large (more than 10Mib) - NOT_FOUND - if the + * containing Execution does not exist + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** + * A Execution id. + * + * Required. + */ + executionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * A History id. + * + * Required. + */ + historyId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * A Project id. + * + * Required. + */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * A unique request ID for server to detect duplicated requests. For example, a UUID. + * + * Optional, but strongly recommended. + */ + requestId?: string; + /** + * A Step id. + * + * Required. + */ + stepId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Step>; + /** + * Publish xml files to an existing Step. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to write project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the + * requested state transition is illegal, e.g try to upload a duplicate xml file or a file too large. - NOT_FOUND - if the containing Execution does not + * exist + */ + publishXunitXmlFiles(request: { + /** Data format for the response. */ + alt?: string; + /** + * A Execution id. + * + * Required. + */ + executionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * A History id. + * + * Required. + */ + historyId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * A Project id. + * + * Required. + */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * A Step id. Note: This step must include a TestExecutionStep. + * + * Required. + */ + stepId: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Step>; + perfMetricsSummary: PerfMetricsSummaryResource; + perfSampleSeries: PerfSampleSeriesResource; + thumbnails: ThumbnailsResource; + } + interface ExecutionsResource { + /** + * Creates an Execution. + * + * The returned Execution will have the id set. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the + * containing History does not exist + */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * A History id. + * + * Required. + */ + historyId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * A Project id. + * + * Required. + */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * A unique request ID for server to detect duplicated requests. For example, a UUID. + * + * Optional, but strongly recommended. + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Execution>; + /** + * Gets an Execution. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Execution + * does not exist + */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** + * An Execution id. + * + * Required. + */ + executionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * A History id. + * + * Required. + */ + historyId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * A Project id. + * + * Required. + */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Execution>; + /** + * Lists Histories for a given Project. + * + * The executions are sorted by creation_time in descending order. The execution_id key will be used to order the executions with the same creation_time. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing + * History does not exist + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * A History id. + * + * Required. + */ + historyId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The maximum number of Executions to fetch. + * + * Default value: 25. The server will use this default if the field is not set or has a value of 0. + * + * Optional. + */ + pageSize?: number; + /** + * A continuation token to resume the query at the next item. + * + * Optional. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * A Project id. + * + * Required. + */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListExecutionsResponse>; + /** + * Updates an existing Execution with the supplied partial entity. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the + * requested state transition is illegal - NOT_FOUND - if the containing History does not exist + */ + patch(request: { + /** Data format for the response. */ + alt?: string; + /** Required. */ + executionId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Required. */ + historyId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** A Project id. Required. */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * A unique request ID for server to detect duplicated requests. For example, a UUID. + * + * Optional, but strongly recommended. + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Execution>; + clusters: ClustersResource; + steps: StepsResource; + } + interface HistoriesResource { + /** + * Creates a History. + * + * The returned History will have the id set. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the + * containing project does not exist + */ + create(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * A Project id. + * + * Required. + */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * A unique request ID for server to detect duplicated requests. For example, a UUID. + * + * Optional, but strongly recommended. + */ + requestId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<History>; + /** + * Gets a History. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History does + * not exist + */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * A History id. + * + * Required. + */ + historyId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * A Project id. + * + * Required. + */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<History>; + /** + * Lists Histories for a given Project. + * + * The histories are sorted by modification time in descending order. The history_id key will be used to order the history with the same modification + * time. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History does + * not exist + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * If set, only return histories with the given name. + * + * Optional. + */ + filterByName?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The maximum number of Histories to fetch. + * + * Default value: 20. The server will use this default if the field is not set or has a value of 0. Any value greater than 100 will be treated as 100. + * + * Optional. + */ + pageSize?: number; + /** + * A continuation token to resume the query at the next item. + * + * Optional. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * A Project id. + * + * Required. + */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ListHistoriesResponse>; + executions: ExecutionsResource; + } + interface ProjectsResource { + /** + * Gets the Tool Results settings for a project. + * + * May return any of the following canonical error codes: + * + * - PERMISSION_DENIED - if the user is not authorized to read from project + */ + getSettings(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * A Project id. + * + * Required. + */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ProjectSettings>; + /** + * Creates resources for settings which have not yet been set. + * + * Currently, this creates a single resource: a Google Cloud Storage bucket, to be used as the default bucket for this project. The bucket is created in + * an FTL-own storage project. Except for in rare cases, calling this method in parallel from multiple clients will only create a single bucket. In order + * to avoid unnecessary storage charges, the bucket is configured to automatically delete objects older than 90 days. + * + * The bucket is created with the following permissions: - Owner access for owners of central storage project (FTL-owned) - Writer access for + * owners/editors of customer project - Reader access for viewers of customer project The default ACL on objects created in the bucket is: - Owner access + * for owners of central storage project - Reader access for owners/editors/viewers of customer project See Google Cloud Storage documentation for more + * details. + * + * If there is already a default bucket set and the project can access the bucket, this call does nothing. However, if the project doesn't have the + * permission to access the bucket or the bucket is deleted, a new bucket will be created. + * + * May return any canonical error codes, including the following: + * + * - PERMISSION_DENIED - if the user is not authorized to write to project - Any error code raised by Google Cloud Storage + */ + initializeSettings(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * A Project id. + * + * Required. + */ + projectId: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ProjectSettings>; + histories: HistoriesResource; + } + } +} diff --git a/types/gapi.client.toolresults/readme.md b/types/gapi.client.toolresults/readme.md new file mode 100644 index 0000000000..d6c03c0eeb --- /dev/null +++ b/types/gapi.client.toolresults/readme.md @@ -0,0 +1,78 @@ +# TypeScript typings for Cloud Tool Results API v1beta3 +Reads and publishes results from Firebase Test Lab. +For detailed description please check [documentation](https://firebase.google.com/docs/test-lab/). + +## Installing + +Install typings for Cloud Tool Results API: +``` +npm install @types/gapi.client.toolresults@v1beta3 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('toolresults', 'v1beta3', () => { + // now we can use gapi.client.toolresults + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Cloud Tool Results API resources: + +```typescript + +/* +Gets the Tool Results settings for a project. + +May return any of the following canonical error codes: + +- PERMISSION_DENIED - if the user is not authorized to read from project +*/ +await gapi.client.projects.getSettings({ projectId: "projectId", }); + +/* +Creates resources for settings which have not yet been set. + +Currently, this creates a single resource: a Google Cloud Storage bucket, to be used as the default bucket for this project. The bucket is created in an FTL-own storage project. Except for in rare cases, calling this method in parallel from multiple clients will only create a single bucket. In order to avoid unnecessary storage charges, the bucket is configured to automatically delete objects older than 90 days. + +The bucket is created with the following permissions: - Owner access for owners of central storage project (FTL-owned) - Writer access for owners/editors of customer project - Reader access for viewers of customer project The default ACL on objects created in the bucket is: - Owner access for owners of central storage project - Reader access for owners/editors/viewers of customer project See Google Cloud Storage documentation for more details. + +If there is already a default bucket set and the project can access the bucket, this call does nothing. However, if the project doesn't have the permission to access the bucket or the bucket is deleted, a new bucket will be created. + +May return any canonical error codes, including the following: + +- PERMISSION_DENIED - if the user is not authorized to write to project - Any error code raised by Google Cloud Storage +*/ +await gapi.client.projects.initializeSettings({ projectId: "projectId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.toolresults/tsconfig.json b/types/gapi.client.toolresults/tsconfig.json new file mode 100644 index 0000000000..2e0b9eee8b --- /dev/null +++ b/types/gapi.client.toolresults/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.toolresults-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.toolresults/tslint.json b/types/gapi.client.toolresults/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.toolresults/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.translate/gapi.client.translate-tests.ts b/types/gapi.client.translate/gapi.client.translate-tests.ts new file mode 100644 index 0000000000..c848986a44 --- /dev/null +++ b/types/gapi.client.translate/gapi.client.translate-tests.ts @@ -0,0 +1,58 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('translate', 'v2', () => { + /** now we can use gapi.client.translate */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** Translate text from one language to another using Google Translate */ + 'https://www.googleapis.com/auth/cloud-translation', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Detects the language of text within a request. */ + await gapi.client.detections.detect({ + }); + /** Detects the language of text within a request. */ + await gapi.client.detections.list({ + q: "q", + }); + /** Returns a list of supported languages for translation. */ + await gapi.client.languages.list({ + model: "model", + target: "target", + }); + /** Translates input text, returning translated text. */ + await gapi.client.translations.list({ + cid: "cid", + format: "format", + model: "model", + q: "q", + source: "source", + target: "target", + }); + /** Translates input text, returning translated text. */ + await gapi.client.translations.translate({ + }); + } +}); diff --git a/types/gapi.client.translate/index.d.ts b/types/gapi.client.translate/index.d.ts new file mode 100644 index 0000000000..931e5b58d4 --- /dev/null +++ b/types/gapi.client.translate/index.d.ts @@ -0,0 +1,319 @@ +// Type definitions for Google Google Cloud Translation API v2 2.0 +// Project: https://code.google.com/apis/language/translate/v2/getting_started.html +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://translation.googleapis.com/$discovery/rest?version=v2 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Cloud Translation API v2 */ + function load(name: "translate", version: "v2"): PromiseLike<void>; + function load(name: "translate", version: "v2", callback: () => any): void; + + const detections: translate.DetectionsResource; + + const languages: translate.LanguagesResource; + + const translations: translate.TranslationsResource; + + namespace translate { + interface DetectLanguageRequest { + /** + * The input text upon which to perform language detection. Repeat this + * parameter to perform language detection on multiple text inputs. + */ + q?: string[]; + } + interface DetectionsListResponse { + /** A detections contains detection results of several text */ + detections?: any[]; + } + interface GetSupportedLanguagesRequest { + /** + * The language to use to return localized, human readable names of supported + * languages. + */ + target?: string; + } + interface LanguagesListResponse { + /** + * List of source/target languages supported by the translation API. If target parameter is unspecified, the list is sorted by the ASCII code point order + * of the language code. If target parameter is specified, the list is sorted by the collation order of the language name in the target language. + */ + languages?: LanguagesResource[]; + } + interface LanguagesResource { + /** + * Supported language code, generally consisting of its ISO 639-1 + * identifier. (E.g. 'en', 'ja'). In certain cases, BCP-47 codes including + * language + region identifiers are returned (e.g. 'zh-TW' and 'zh-CH') + */ + language?: string; + /** Human readable name of the language localized to the target language. */ + name?: string; + } + interface TranslateTextRequest { + /** + * The format of the source text, in either HTML (default) or plain-text. A + * value of "html" indicates HTML and a value of "text" indicates plain-text. + */ + format?: string; + /** + * The `model` type requested for this translation. Valid values are + * listed in public documentation. + */ + model?: string; + /** + * The input text to translate. Repeat this parameter to perform translation + * operations on multiple text inputs. + */ + q?: string[]; + /** + * The language of the source text, set to one of the language codes listed in + * Language Support. If the source language is not specified, the API will + * attempt to identify the source language automatically and return it within + * the response. + */ + source?: string; + /** + * The language to use for translation of the input text, set to one of the + * language codes listed in Language Support. + */ + target?: string; + } + interface TranslationsListResponse { + /** Translations contains list of translation results of given text */ + translations?: TranslationsResource[]; + } + interface TranslationsResource { + /** + * The source language of the initial request, detected automatically, if + * no source language was passed within the initial request. If the + * source language was passed, auto-detection of the language will not + * occur and this field will be empty. + */ + detectedSourceLanguage?: string; + /** + * The `model` type used for this translation. Valid values are + * listed in public documentation. Can be different from requested `model`. + * Present only if specific model type was explicitly requested. + */ + model?: string; + /** Text translated into the target language. */ + translatedText?: string; + } + interface DetectionsResource { + /** Detects the language of text within a request. */ + detect(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<DetectionsListResponse>; + /** Detects the language of text within a request. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The input text upon which to perform language detection. Repeat this + * parameter to perform language detection on multiple text inputs. + */ + q: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<DetectionsListResponse>; + } + interface LanguagesResource { + /** Returns a list of supported languages for translation. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The model type for which supported languages should be returned. */ + model?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The language to use to return localized, human readable names of supported + * languages. + */ + target?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<LanguagesListResponse>; + } + interface TranslationsResource { + /** Translates input text, returning translated text. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** The customization id for translate */ + cid?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The format of the source text, in either HTML (default) or plain-text. A + * value of "html" indicates HTML and a value of "text" indicates plain-text. + */ + format?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The `model` type requested for this translation. Valid values are + * listed in public documentation. + */ + model?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The input text to translate. Repeat this parameter to perform translation + * operations on multiple text inputs. + */ + q: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The language of the source text, set to one of the language codes listed in + * Language Support. If the source language is not specified, the API will + * attempt to identify the source language automatically and return it within + * the response. + */ + source?: string; + /** + * The language to use for translation of the input text, set to one of the + * language codes listed in Language Support. + */ + target: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TranslationsListResponse>; + /** Translates input text, returning translated text. */ + translate(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<TranslationsListResponse>; + } + } +} diff --git a/types/gapi.client.translate/readme.md b/types/gapi.client.translate/readme.md new file mode 100644 index 0000000000..02770ef9e3 --- /dev/null +++ b/types/gapi.client.translate/readme.md @@ -0,0 +1,83 @@ +# TypeScript typings for Google Cloud Translation API v2 +The Google Cloud Translation API lets websites and programs integrate with + Google Translate programmatically. +For detailed description please check [documentation](https://code.google.com/apis/language/translate/v2/getting_started.html). + +## Installing + +Install typings for Google Cloud Translation API: +``` +npm install @types/gapi.client.translate@v2 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('translate', 'v2', () => { + // now we can use gapi.client.translate + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // Translate text from one language to another using Google Translate + 'https://www.googleapis.com/auth/cloud-translation', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Cloud Translation API resources: + +```typescript + +/* +Detects the language of text within a request. +*/ +await gapi.client.detections.detect({ }); + +/* +Detects the language of text within a request. +*/ +await gapi.client.detections.list({ q: "q", }); + +/* +Returns a list of supported languages for translation. +*/ +await gapi.client.languages.list({ }); + +/* +Translates input text, returning translated text. +*/ +await gapi.client.translations.list({ q: "q", target: "target", }); + +/* +Translates input text, returning translated text. +*/ +await gapi.client.translations.translate({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.translate/tsconfig.json b/types/gapi.client.translate/tsconfig.json new file mode 100644 index 0000000000..6f75322a8d --- /dev/null +++ b/types/gapi.client.translate/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.translate-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.translate/tslint.json b/types/gapi.client.translate/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.translate/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.urlshortener/gapi.client.urlshortener-tests.ts b/types/gapi.client.urlshortener/gapi.client.urlshortener-tests.ts new file mode 100644 index 0000000000..3b21f438d7 --- /dev/null +++ b/types/gapi.client.urlshortener/gapi.client.urlshortener-tests.ts @@ -0,0 +1,45 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('urlshortener', 'v1', () => { + /** now we can use gapi.client.urlshortener */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage your goo.gl short URLs */ + 'https://www.googleapis.com/auth/urlshortener', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Expands a short URL or gets creation time and analytics. */ + await gapi.client.url.get({ + projection: "projection", + shortUrl: "shortUrl", + }); + /** Creates a new short URL. */ + await gapi.client.url.insert({ + }); + /** Retrieves a list of URLs shortened by a user. */ + await gapi.client.url.list({ + projection: "projection", + "start-token": "start-token", + }); + } +}); diff --git a/types/gapi.client.urlshortener/index.d.ts b/types/gapi.client.urlshortener/index.d.ts new file mode 100644 index 0000000000..49a0974342 --- /dev/null +++ b/types/gapi.client.urlshortener/index.d.ts @@ -0,0 +1,154 @@ +// Type definitions for Google URL Shortener API v1 1.0 +// Project: https://developers.google.com/url-shortener/v1/getting_started +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/urlshortener/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load URL Shortener API v1 */ + function load(name: "urlshortener", version: "v1"): PromiseLike<void>; + function load(name: "urlshortener", version: "v1", callback: () => any): void; + + const url: urlshortener.UrlResource; + + namespace urlshortener { + interface AnalyticsSnapshot { + /** Top browsers, e.g. "Chrome"; sorted by (descending) click counts. Only present if this data is available. */ + browsers?: StringCount[]; + /** Top countries (expressed as country codes), e.g. "US" or "DE"; sorted by (descending) click counts. Only present if this data is available. */ + countries?: StringCount[]; + /** Number of clicks on all goo.gl short URLs pointing to this long URL. */ + longUrlClicks?: string; + /** Top platforms or OSes, e.g. "Windows"; sorted by (descending) click counts. Only present if this data is available. */ + platforms?: StringCount[]; + /** Top referring hosts, e.g. "www.google.com"; sorted by (descending) click counts. Only present if this data is available. */ + referrers?: StringCount[]; + /** Number of clicks on this short URL. */ + shortUrlClicks?: string; + } + interface AnalyticsSummary { + /** Click analytics over all time. */ + allTime?: AnalyticsSnapshot; + /** Click analytics over the last day. */ + day?: AnalyticsSnapshot; + /** Click analytics over the last month. */ + month?: AnalyticsSnapshot; + /** Click analytics over the last two hours. */ + twoHours?: AnalyticsSnapshot; + /** Click analytics over the last week. */ + week?: AnalyticsSnapshot; + } + interface StringCount { + /** Number of clicks for this top entry, e.g. for this particular country or browser. */ + count?: string; + /** Label assigned to this top entry, e.g. "US" or "Chrome". */ + id?: string; + } + interface Url { + /** A summary of the click analytics for the short and long URL. Might not be present if not requested or currently unavailable. */ + analytics?: AnalyticsSummary; + /** Time the short URL was created; ISO 8601 representation using the yyyy-MM-dd'T'HH:mm:ss.SSSZZ format, e.g. "2010-10-14T19:01:24.944+00:00". */ + created?: string; + /** Short URL, e.g. "http://goo.gl/l6MS". */ + id?: string; + /** The fixed string "urlshortener#url". */ + kind?: string; + /** Long URL, e.g. "http://www.google.com/". Might not be present if the status is "REMOVED". */ + longUrl?: string; + /** + * Status of the target URL. Possible values: "OK", "MALWARE", "PHISHING", or "REMOVED". A URL might be marked "REMOVED" if it was flagged as spam, for + * example. + */ + status?: string; + } + interface UrlHistory { + /** A list of URL resources. */ + items?: Url[]; + /** Number of items returned with each full "page" of results. Note that the last page could have fewer items than the "itemsPerPage" value. */ + itemsPerPage?: number; + /** The fixed string "urlshortener#urlHistory". */ + kind?: string; + /** A token to provide to get the next page of results. */ + nextPageToken?: string; + /** Total number of short URLs associated with this user (may be approximate). */ + totalItems?: number; + } + interface UrlResource { + /** Expands a short URL or gets creation time and analytics. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Additional information to return. */ + projection?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The short URL, including the protocol. */ + shortUrl: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Url>; + /** Creates a new short URL. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Url>; + /** Retrieves a list of URLs shortened by a user. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Additional information to return. */ + projection?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Token for requesting successive pages of results. */ + "start-token"?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UrlHistory>; + } + } +} diff --git a/types/gapi.client.urlshortener/readme.md b/types/gapi.client.urlshortener/readme.md new file mode 100644 index 0000000000..dee5ad220f --- /dev/null +++ b/types/gapi.client.urlshortener/readme.md @@ -0,0 +1,69 @@ +# TypeScript typings for URL Shortener API v1 +Lets you create, inspect, and manage goo.gl short URLs +For detailed description please check [documentation](https://developers.google.com/url-shortener/v1/getting_started). + +## Installing + +Install typings for URL Shortener API: +``` +npm install @types/gapi.client.urlshortener@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('urlshortener', 'v1', () => { + // now we can use gapi.client.urlshortener + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage your goo.gl short URLs + 'https://www.googleapis.com/auth/urlshortener', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use URL Shortener API resources: + +```typescript + +/* +Expands a short URL or gets creation time and analytics. +*/ +await gapi.client.url.get({ shortUrl: "shortUrl", }); + +/* +Creates a new short URL. +*/ +await gapi.client.url.insert({ }); + +/* +Retrieves a list of URLs shortened by a user. +*/ +await gapi.client.url.list({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.urlshortener/tsconfig.json b/types/gapi.client.urlshortener/tsconfig.json new file mode 100644 index 0000000000..d66d384a36 --- /dev/null +++ b/types/gapi.client.urlshortener/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.urlshortener-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.urlshortener/tslint.json b/types/gapi.client.urlshortener/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.urlshortener/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.vault/gapi.client.vault-tests.ts b/types/gapi.client.vault/gapi.client.vault-tests.ts new file mode 100644 index 0000000000..60af001f1d --- /dev/null +++ b/types/gapi.client.vault/gapi.client.vault-tests.ts @@ -0,0 +1,86 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('vault', 'v1', () => { + /** now we can use gapi.client.vault */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage your eDiscovery data */ + 'https://www.googleapis.com/auth/ediscovery', + /** View your eDiscovery data */ + 'https://www.googleapis.com/auth/ediscovery.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Adds an account as a matter collaborator. */ + await gapi.client.matters.addPermissions({ + matterId: "matterId", + }); + /** Closes the specified matter. Returns matter with updated state. */ + await gapi.client.matters.close({ + matterId: "matterId", + }); + /** + * Creates a new matter with the given name and description. The initial state + * is open, and the owner is the method caller. Returns the created matter + * with default view. + */ + await gapi.client.matters.create({ + }); + /** Deletes the specified matter. Returns matter with updated state. */ + await gapi.client.matters.delete({ + matterId: "matterId", + }); + /** Gets the specified matter. */ + await gapi.client.matters.get({ + matterId: "matterId", + view: "view", + }); + /** Lists matters the user has access to. */ + await gapi.client.matters.list({ + pageSize: 1, + pageToken: "pageToken", + state: "state", + view: "view", + }); + /** Removes an account as a matter collaborator. */ + await gapi.client.matters.removePermissions({ + matterId: "matterId", + }); + /** Reopens the specified matter. Returns matter with updated state. */ + await gapi.client.matters.reopen({ + matterId: "matterId", + }); + /** Undeletes the specified matter. Returns matter with updated state. */ + await gapi.client.matters.undelete({ + matterId: "matterId", + }); + /** + * Updates the specified matter. + * This updates only the name and description of the matter, identified by + * matter id. Changes to any other fields are ignored. + * Returns the default view of the matter. + */ + await gapi.client.matters.update({ + matterId: "matterId", + }); + } +}); diff --git a/types/gapi.client.vault/index.d.ts b/types/gapi.client.vault/index.d.ts new file mode 100644 index 0000000000..2b5f6757be --- /dev/null +++ b/types/gapi.client.vault/index.d.ts @@ -0,0 +1,804 @@ +// Type definitions for Google Google Vault API v1 1.0 +// Project: https://developers.google.com/vault +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://vault.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Vault API v1 */ + function load(name: "vault", version: "v1"): PromiseLike<void>; + function load(name: "vault", version: "v1", callback: () => any): void; + + const matters: vault.MattersResource; + + namespace vault { + interface AddMatterPermissionsRequest { + /** + * Only relevant if send_emails is true. + * True to CC requestor in the email message. + * False to not CC requestor. + */ + ccMe?: boolean; + /** The MatterPermission to add. */ + matterPermission?: MatterPermission; + /** + * True to send notification email to the added account. + * False to not send notification email. + */ + sendEmails?: boolean; + } + interface CloseMatterResponse { + /** The updated matter, with state CLOSED. */ + matter?: Matter; + } + interface CorpusQuery { + /** Details pertaining to Drive holds. If set, corpus must be Drive. */ + driveQuery?: HeldDriveQuery; + /** Details pertaining to Groups holds. If set, corpus must be Groups. */ + groupsQuery?: HeldGroupsQuery; + /** Details pertaining to mail holds. If set, corpus must be mail. */ + mailQuery?: HeldMailQuery; + } + interface HeldAccount { + /** + * The account's ID as provided by the + * <a href="https://developers.google.com/admin-sdk/">Admin SDK</a>. + */ + accountId?: string; + /** When the account was put on hold. */ + holdTime?: string; + } + interface HeldDriveQuery { + /** If true, include files in Team Drives in the hold. */ + includeTeamDriveFiles?: boolean; + } + interface HeldGroupsQuery { + /** + * The end date range for the search query. These timestamps are in GMT and + * rounded down to the start of the given date. + */ + endTime?: string; + /** + * The start date range for the search query. These timestamps are in GMT and + * rounded down to the start of the given date. + */ + startTime?: string; + /** The search terms for the hold. */ + terms?: string; + } + interface HeldMailQuery { + /** + * The end date range for the search query. These timestamps are in GMT and + * rounded down to the start of the given date. + */ + endTime?: string; + /** + * The start date range for the search query. These timestamps are in GMT and + * rounded down to the start of the given date. + */ + startTime?: string; + /** The search terms for the hold. */ + terms?: string; + } + interface HeldOrgUnit { + /** When the org unit was put on hold. This property is immutable. */ + holdTime?: string; + /** The org unit's immutable ID as provided by the admin SDK. */ + orgUnitId?: string; + } + interface Hold { + /** + * If set, the hold applies to the enumerated accounts and org_unit must be + * empty. + */ + accounts?: HeldAccount[]; + /** The corpus to be searched. */ + corpus?: string; + /** The unique immutable ID of the hold. Assigned during creation. */ + holdId?: string; + /** The name of the hold. */ + name?: string; + /** + * If set, the hold applies to all members of the organizational unit and + * accounts must be empty. This property is mutable. For groups holds, + * set the accounts field. + */ + orgUnit?: HeldOrgUnit; + /** + * The corpus-specific query. If set, the corpusQuery must match corpus + * type. + */ + query?: CorpusQuery; + /** The last time this hold was modified. */ + updateTime?: string; + } + interface ListHeldAccountsResponse { + /** The held accounts on a hold. */ + accounts?: HeldAccount[]; + } + interface ListHoldsResponse { + /** The list of holds. */ + holds?: Hold[]; + /** + * Page token to retrieve the next page of results in the list. + * If this is empty, then there are no more holds to list. + */ + nextPageToken?: string; + } + interface ListMattersResponse { + /** List of matters. */ + matters?: Matter[]; + /** Page token to retrieve the next page of results in the list. */ + nextPageToken?: string; + } + interface Matter { + /** The description of the matter. */ + description?: string; + /** + * The matter ID which is generated by the server. + * Should be blank when creating a new matter. + */ + matterId?: string; + /** + * List of users and access to the matter. Currently there is no programmer + * defined limit on the number of permissions a matter can have. + */ + matterPermissions?: MatterPermission[]; + /** The name of the matter. */ + name?: string; + /** The state of the matter. */ + state?: string; + } + interface MatterPermission { + /** The account id, as provided by <a href="https://developers.google.com/admin-sdk/">Admin SDK</a>. */ + accountId?: string; + /** The user's role in this matter. */ + role?: string; + } + interface RemoveMatterPermissionsRequest { + /** The account ID. */ + accountId?: string; + } + interface ReopenMatterResponse { + /** The updated matter, with state OPEN. */ + matter?: Matter; + } + interface AccountsResource { + /** + * Adds a HeldAccount to a hold. Accounts can only be added to a hold that + * has no held_org_unit set. Attempting to add an account to an OU-based + * hold will result in an error. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The hold ID. */ + holdId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The matter ID. */ + matterId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<HeldAccount>; + /** + * Removes a HeldAccount from a hold. If this request leaves the hold with + * no held accounts, the hold will not apply to any accounts. + */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** The ID of the account to remove from the hold. */ + accountId: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The hold ID. */ + holdId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The matter ID. */ + matterId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** + * Lists HeldAccounts for a hold. This will only list individually specified + * held accounts. If the hold is on an OU, then use + * <a href="https://developers.google.com/admin-sdk/">Admin SDK</a> + * to enumerate its members. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The hold ID. */ + holdId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The matter ID. */ + matterId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListHeldAccountsResponse>; + } + interface HoldsResource { + /** Creates a hold in the given matter. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The matter ID. */ + matterId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Hold>; + /** Removes a hold by ID. This will release any HeldAccounts on this Hold. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The hold ID. */ + holdId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The matter ID. */ + matterId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets a hold by ID. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The hold ID. */ + holdId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The matter ID. */ + matterId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Hold>; + /** + * Lists holds within a matter. An empty page token in ListHoldsResponse + * denotes no more holds to list. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The matter ID. */ + matterId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The number of holds to return in the response, between 0 and 100 inclusive. + * Leaving this empty, or as 0, is the same as page_size = 100. + */ + pageSize?: number; + /** + * The pagination token as returned in the response. + * An empty token means start from the beginning. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListHoldsResponse>; + /** + * Updates the OU and/or query parameters of a hold. You cannot add accounts + * to a hold that covers an OU, nor can you add OUs to a hold that covers + * individual accounts. Accounts listed in the hold will be ignored. + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the hold. */ + holdId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The matter ID. */ + matterId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Hold>; + accounts: AccountsResource; + } + interface MattersResource { + /** Adds an account as a matter collaborator. */ + addPermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The matter ID. */ + matterId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<MatterPermission>; + /** Closes the specified matter. Returns matter with updated state. */ + close(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The matter ID. */ + matterId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<CloseMatterResponse>; + /** + * Creates a new matter with the given name and description. The initial state + * is open, and the owner is the method caller. Returns the created matter + * with default view. + */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Matter>; + /** Deletes the specified matter. Returns matter with updated state. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The matter ID */ + matterId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Matter>; + /** Gets the specified matter. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The matter ID. */ + matterId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Specifies which parts of the Matter to return in the response. */ + view?: string; + }): Request<Matter>; + /** Lists matters the user has access to. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The number of matters to return in the response. + * Default and maximum are 100. + */ + pageSize?: number; + /** The pagination token as returned in the response. */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * If set, list only matters with that specific state. The default is listing + * matters of all states. + */ + state?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + /** Specifies which parts of the matter to return in response. */ + view?: string; + }): Request<ListMattersResponse>; + /** Removes an account as a matter collaborator. */ + removePermissions(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The matter ID. */ + matterId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Reopens the specified matter. Returns matter with updated state. */ + reopen(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The matter ID. */ + matterId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ReopenMatterResponse>; + /** Undeletes the specified matter. Returns matter with updated state. */ + undelete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The matter ID. */ + matterId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Matter>; + /** + * Updates the specified matter. + * This updates only the name and description of the matter, identified by + * matter id. Changes to any other fields are ignored. + * Returns the default view of the matter. + */ + update(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The matter ID. */ + matterId: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Matter>; + holds: HoldsResource; + } + } +} diff --git a/types/gapi.client.vault/readme.md b/types/gapi.client.vault/readme.md new file mode 100644 index 0000000000..907bf07e1f --- /dev/null +++ b/types/gapi.client.vault/readme.md @@ -0,0 +1,112 @@ +# TypeScript typings for Google Vault API v1 +Archiving and eDiscovery for G Suite. +For detailed description please check [documentation](https://developers.google.com/vault). + +## Installing + +Install typings for Google Vault API: +``` +npm install @types/gapi.client.vault@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('vault', 'v1', () => { + // now we can use gapi.client.vault + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage your eDiscovery data + 'https://www.googleapis.com/auth/ediscovery', + + // View your eDiscovery data + 'https://www.googleapis.com/auth/ediscovery.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Vault API resources: + +```typescript + +/* +Adds an account as a matter collaborator. +*/ +await gapi.client.matters.addPermissions({ matterId: "matterId", }); + +/* +Closes the specified matter. Returns matter with updated state. +*/ +await gapi.client.matters.close({ matterId: "matterId", }); + +/* +Creates a new matter with the given name and description. The initial state +is open, and the owner is the method caller. Returns the created matter +with default view. +*/ +await gapi.client.matters.create({ }); + +/* +Deletes the specified matter. Returns matter with updated state. +*/ +await gapi.client.matters.delete({ matterId: "matterId", }); + +/* +Gets the specified matter. +*/ +await gapi.client.matters.get({ matterId: "matterId", }); + +/* +Lists matters the user has access to. +*/ +await gapi.client.matters.list({ }); + +/* +Removes an account as a matter collaborator. +*/ +await gapi.client.matters.removePermissions({ matterId: "matterId", }); + +/* +Reopens the specified matter. Returns matter with updated state. +*/ +await gapi.client.matters.reopen({ matterId: "matterId", }); + +/* +Undeletes the specified matter. Returns matter with updated state. +*/ +await gapi.client.matters.undelete({ matterId: "matterId", }); + +/* +Updates the specified matter. +This updates only the name and description of the matter, identified by +matter id. Changes to any other fields are ignored. +Returns the default view of the matter. +*/ +await gapi.client.matters.update({ matterId: "matterId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.vault/tsconfig.json b/types/gapi.client.vault/tsconfig.json new file mode 100644 index 0000000000..f6f0c61f24 --- /dev/null +++ b/types/gapi.client.vault/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.vault-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.vault/tslint.json b/types/gapi.client.vault/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.vault/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.videointelligence/gapi.client.videointelligence-tests.ts b/types/gapi.client.videointelligence/gapi.client.videointelligence-tests.ts new file mode 100644 index 0000000000..d4e6645378 --- /dev/null +++ b/types/gapi.client.videointelligence/gapi.client.videointelligence-tests.ts @@ -0,0 +1,40 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('videointelligence', 'v1beta1', () => { + /** now we can use gapi.client.videointelligence */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Performs asynchronous video annotation. Progress and results can be + * retrieved through the `google.longrunning.Operations` interface. + * `Operation.metadata` contains `AnnotateVideoProgress` (progress). + * `Operation.response` contains `AnnotateVideoResponse` (results). + */ + await gapi.client.videos.annotate({ + }); + } +}); diff --git a/types/gapi.client.videointelligence/index.d.ts b/types/gapi.client.videointelligence/index.d.ts new file mode 100644 index 0000000000..27d2802c5f --- /dev/null +++ b/types/gapi.client.videointelligence/index.d.ts @@ -0,0 +1,473 @@ +// Type definitions for Google Cloud Video Intelligence API v1beta1 1.0 +// Project: https://cloud.google.com/video-intelligence/docs/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://videointelligence.googleapis.com/$discovery/rest?version=v1beta1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Cloud Video Intelligence API v1beta1 */ + function load(name: "videointelligence", version: "v1beta1"): PromiseLike<void>; + function load(name: "videointelligence", version: "v1beta1", callback: () => any): void; + + const videos: videointelligence.VideosResource; + + namespace videointelligence { + interface GoogleCloudVideointelligenceV1_AnnotateVideoProgress { + /** Progress metadata for all videos specified in `AnnotateVideoRequest`. */ + annotationProgress?: GoogleCloudVideointelligenceV1_VideoAnnotationProgress[]; + } + interface GoogleCloudVideointelligenceV1_AnnotateVideoResponse { + /** Annotation results for all videos specified in `AnnotateVideoRequest`. */ + annotationResults?: GoogleCloudVideointelligenceV1_VideoAnnotationResults[]; + } + interface GoogleCloudVideointelligenceV1_LabelAnnotation { + /** Textual description, e.g. `Fixed-gear bicycle`. */ + description?: string; + /** Language code for `description` in BCP-47 format. */ + languageCode?: string; + /** Where the label was detected and with what confidence. */ + locations?: GoogleCloudVideointelligenceV1_LabelLocation[]; + } + interface GoogleCloudVideointelligenceV1_LabelLocation { + /** Confidence that the label is accurate. Range: [0, 1]. */ + confidence?: number; + /** Label level. */ + level?: string; + /** + * Video segment. Unset for video-level labels. + * Set to a frame timestamp for frame-level labels. + * Otherwise, corresponds to one of `AnnotateSpec.segments` + * (if specified) or to shot boundaries (if requested). + */ + segment?: GoogleCloudVideointelligenceV1_VideoSegment; + } + interface GoogleCloudVideointelligenceV1_SafeSearchAnnotation { + /** Likelihood of adult content. */ + adult?: string; + /** + * Time-offset, relative to the beginning of the video, + * corresponding to the video frame for this annotation. + */ + time?: string; + } + interface GoogleCloudVideointelligenceV1_VideoAnnotationProgress { + /** + * Video file location in + * [Google Cloud Storage](https://cloud.google.com/storage/). + */ + inputUri?: string; + /** + * Approximate percentage processed thus far. + * Guaranteed to be 100 when fully processed. + */ + progressPercent?: number; + /** Time when the request was received. */ + startTime?: string; + /** Time of the most recent update. */ + updateTime?: string; + } + interface GoogleCloudVideointelligenceV1_VideoAnnotationResults { + /** + * If set, indicates an error. Note that for a single `AnnotateVideoRequest` + * some videos may succeed and some may fail. + */ + error?: GoogleRpc_Status; + /** + * Video file location in + * [Google Cloud Storage](https://cloud.google.com/storage/). + */ + inputUri?: string; + /** Label annotations. There is exactly one element for each unique label. */ + labelAnnotations?: GoogleCloudVideointelligenceV1_LabelAnnotation[]; + /** Safe search annotations. */ + safeSearchAnnotations?: GoogleCloudVideointelligenceV1_SafeSearchAnnotation[]; + /** Shot annotations. Each shot is represented as a video segment. */ + shotAnnotations?: GoogleCloudVideointelligenceV1_VideoSegment[]; + } + interface GoogleCloudVideointelligenceV1_VideoSegment { + /** + * Time-offset, relative to the beginning of the video, + * corresponding to the end of the segment (inclusive). + */ + endTime?: string; + /** + * Time-offset, relative to the beginning of the video, + * corresponding to the start of the segment (inclusive). + */ + startTime?: string; + } + interface GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress { + /** Progress metadata for all videos specified in `AnnotateVideoRequest`. */ + annotationProgress?: GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress[]; + } + interface GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest { + /** Requested video annotation features. */ + features?: string[]; + /** + * The video data bytes. Encoding: base64. If unset, the input video(s) + * should be specified via `input_uri`. If set, `input_uri` should be unset. + */ + inputContent?: string; + /** + * Input video location. Currently, only + * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are + * supported, which must be specified in the following format: + * `gs://bucket-id/object-id` (other URI formats return + * google.rpc.Code.INVALID_ARGUMENT). For more information, see + * [Request URIs](/storage/docs/reference-uris). + * A video URI may include wildcards in `object-id`, and thus identify + * multiple videos. Supported wildcards: '*' to match 0 or more characters; + * '?' to match 1 character. If unset, the input video should be embedded + * in the request as `input_content`. If set, `input_content` should be unset. + */ + inputUri?: string; + /** + * Optional cloud region where annotation should take place. Supported cloud + * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region + * is specified, a region will be determined based on video file location. + */ + locationId?: string; + /** + * Optional location where the output (in JSON format) should be stored. + * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/) + * URIs are supported, which must be specified in the following format: + * `gs://bucket-id/object-id` (other URI formats return + * google.rpc.Code.INVALID_ARGUMENT). For more information, see + * [Request URIs](/storage/docs/reference-uris). + */ + outputUri?: string; + /** Additional video context and/or feature-specific parameters. */ + videoContext?: GoogleCloudVideointelligenceV1beta1_VideoContext; + } + interface GoogleCloudVideointelligenceV1beta1_AnnotateVideoResponse { + /** Annotation results for all videos specified in `AnnotateVideoRequest`. */ + annotationResults?: GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults[]; + } + interface GoogleCloudVideointelligenceV1beta1_LabelAnnotation { + /** Textual description, e.g. `Fixed-gear bicycle`. */ + description?: string; + /** Language code for `description` in BCP-47 format. */ + languageCode?: string; + /** Where the label was detected and with what confidence. */ + locations?: GoogleCloudVideointelligenceV1beta1_LabelLocation[]; + } + interface GoogleCloudVideointelligenceV1beta1_LabelLocation { + /** Confidence that the label is accurate. Range: [0, 1]. */ + confidence?: number; + /** Label level. */ + level?: string; + /** + * Video segment. Set to [-1, -1] for video-level labels. + * Set to [timestamp, timestamp] for frame-level labels. + * Otherwise, corresponds to one of `AnnotateSpec.segments` + * (if specified) or to shot boundaries (if requested). + */ + segment?: GoogleCloudVideointelligenceV1beta1_VideoSegment; + } + interface GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation { + /** Likelihood of adult content. */ + adult?: string; + /** Likelihood of medical content. */ + medical?: string; + /** Likelihood of racy content. */ + racy?: string; + /** + * Likelihood that an obvious modification was made to the original + * version to make it appear funny or offensive. + */ + spoof?: string; + /** Video time offset in microseconds. */ + timeOffset?: string; + /** Likelihood of violent content. */ + violent?: string; + } + interface GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress { + /** + * Video file location in + * [Google Cloud Storage](https://cloud.google.com/storage/). + */ + inputUri?: string; + /** + * Approximate percentage processed thus far. + * Guaranteed to be 100 when fully processed. + */ + progressPercent?: number; + /** Time when the request was received. */ + startTime?: string; + /** Time of the most recent update. */ + updateTime?: string; + } + interface GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults { + /** + * If set, indicates an error. Note that for a single `AnnotateVideoRequest` + * some videos may succeed and some may fail. + */ + error?: GoogleRpc_Status; + /** + * Video file location in + * [Google Cloud Storage](https://cloud.google.com/storage/). + */ + inputUri?: string; + /** Label annotations. There is exactly one element for each unique label. */ + labelAnnotations?: GoogleCloudVideointelligenceV1beta1_LabelAnnotation[]; + /** Safe search annotations. */ + safeSearchAnnotations?: GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation[]; + /** Shot annotations. Each shot is represented as a video segment. */ + shotAnnotations?: GoogleCloudVideointelligenceV1beta1_VideoSegment[]; + } + interface GoogleCloudVideointelligenceV1beta1_VideoContext { + /** + * If label detection has been requested, what labels should be detected + * in addition to video-level labels or segment-level labels. If unspecified, + * defaults to `SHOT_MODE`. + */ + labelDetectionMode?: string; + /** + * Model to use for label detection. + * Supported values: "latest" and "stable" (the default). + */ + labelDetectionModel?: string; + /** + * Model to use for safe search detection. + * Supported values: "latest" and "stable" (the default). + */ + safeSearchDetectionModel?: string; + /** + * Video segments to annotate. The segments may overlap and are not required + * to be contiguous or span the whole video. If unspecified, each video + * is treated as a single segment. + */ + segments?: GoogleCloudVideointelligenceV1beta1_VideoSegment[]; + /** + * Model to use for shot change detection. + * Supported values: "latest" and "stable" (the default). + */ + shotChangeDetectionModel?: string; + /** + * Whether the video has been shot from a stationary (i.e. non-moving) camera. + * When set to true, might improve detection accuracy for moving objects. + */ + stationaryCamera?: boolean; + } + interface GoogleCloudVideointelligenceV1beta1_VideoSegment { + /** End offset in microseconds (inclusive). Unset means 0. */ + endTimeOffset?: string; + /** Start offset in microseconds (inclusive). Unset means 0. */ + startTimeOffset?: string; + } + interface GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress { + /** Progress metadata for all videos specified in `AnnotateVideoRequest`. */ + annotationProgress?: GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress[]; + } + interface GoogleCloudVideointelligenceV1beta2_AnnotateVideoResponse { + /** Annotation results for all videos specified in `AnnotateVideoRequest`. */ + annotationResults?: GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults[]; + } + interface GoogleCloudVideointelligenceV1beta2_Entity { + /** Textual description, e.g. `Fixed-gear bicycle`. */ + description?: string; + /** + * Opaque entity ID. Some IDs may be available in + * [Google Knowledge Graph Search + * API](https://developers.google.com/knowledge-graph/). + */ + entityId?: string; + /** Language code for `description` in BCP-47 format. */ + languageCode?: string; + } + interface GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation { + /** All video frames where explicit content was detected. */ + frames?: GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame[]; + } + interface GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame { + /** Likelihood of the pornography content.. */ + pornographyLikelihood?: string; + /** + * Time-offset, relative to the beginning of the video, corresponding to the + * video frame for this location. + */ + timeOffset?: string; + } + interface GoogleCloudVideointelligenceV1beta2_LabelAnnotation { + /** + * Common categories for the detected entity. + * E.g. when the label is `Terrier` the category is likely `dog`. And in some + * cases there might be more than one categories e.g. `Terrier` could also be + * a `pet`. + */ + categoryEntities?: GoogleCloudVideointelligenceV1beta2_Entity[]; + /** Detected entity. */ + entity?: GoogleCloudVideointelligenceV1beta2_Entity; + /** All video frames where a label was detected. */ + frames?: GoogleCloudVideointelligenceV1beta2_LabelFrame[]; + /** All video segments where a label was detected. */ + segments?: GoogleCloudVideointelligenceV1beta2_LabelSegment[]; + } + interface GoogleCloudVideointelligenceV1beta2_LabelFrame { + /** Confidence that the label is accurate. Range: [0, 1]. */ + confidence?: number; + /** + * Time-offset, relative to the beginning of the video, corresponding to the + * video frame for this location. + */ + timeOffset?: string; + } + interface GoogleCloudVideointelligenceV1beta2_LabelSegment { + /** Confidence that the label is accurate. Range: [0, 1]. */ + confidence?: number; + /** Video segment where a label was detected. */ + segment?: GoogleCloudVideointelligenceV1beta2_VideoSegment; + } + interface GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress { + /** + * Video file location in + * [Google Cloud Storage](https://cloud.google.com/storage/). + */ + inputUri?: string; + /** + * Approximate percentage processed thus far. + * Guaranteed to be 100 when fully processed. + */ + progressPercent?: number; + /** Time when the request was received. */ + startTime?: string; + /** Time of the most recent update. */ + updateTime?: string; + } + interface GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults { + /** + * If set, indicates an error. Note that for a single `AnnotateVideoRequest` + * some videos may succeed and some may fail. + */ + error?: GoogleRpc_Status; + /** Explicit content annotation. */ + explicitAnnotation?: GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation; + /** + * Label annotations on frame level. + * There is exactly one element for each unique label. + */ + frameLabelAnnotations?: GoogleCloudVideointelligenceV1beta2_LabelAnnotation[]; + /** + * Video file location in + * [Google Cloud Storage](https://cloud.google.com/storage/). + */ + inputUri?: string; + /** + * Label annotations on video level or user specified segment level. + * There is exactly one element for each unique label. + */ + segmentLabelAnnotations?: GoogleCloudVideointelligenceV1beta2_LabelAnnotation[]; + /** Shot annotations. Each shot is represented as a video segment. */ + shotAnnotations?: GoogleCloudVideointelligenceV1beta2_VideoSegment[]; + /** + * Label annotations on shot level. + * There is exactly one element for each unique label. + */ + shotLabelAnnotations?: GoogleCloudVideointelligenceV1beta2_LabelAnnotation[]; + } + interface GoogleCloudVideointelligenceV1beta2_VideoSegment { + /** + * Time-offset, relative to the beginning of the video, + * corresponding to the end of the segment (inclusive). + */ + endTimeOffset?: string; + /** + * Time-offset, relative to the beginning of the video, + * corresponding to the start of the segment (inclusive). + */ + startTimeOffset?: string; + } + interface GoogleLongrunning_Operation { + /** + * If the value is `false`, it means the operation is still in progress. + * If `true`, the operation is completed, and either `error` or `response` is + * available. + */ + done?: boolean; + /** The error result of the operation in case of failure or cancellation. */ + error?: GoogleRpc_Status; + /** + * Service-specific metadata associated with the operation. It typically + * contains progress information and common metadata such as create time. + * Some services might not provide such metadata. Any method that returns a + * long-running operation should document the metadata type, if any. + */ + metadata?: Record<string, any>; + /** + * The server-assigned name, which is only unique within the same service that + * originally returns it. If you use the default HTTP mapping, the + * `name` should have the format of `operations/some/unique/name`. + */ + name?: string; + /** + * The normal response of the operation in case of success. If the original + * method returns no data on success, such as `Delete`, the response is + * `google.protobuf.Empty`. If the original method is standard + * `Get`/`Create`/`Update`, the response should be the resource. For other + * methods, the response should have the type `XxxResponse`, where `Xxx` + * is the original method name. For example, if the original method name + * is `TakeSnapshot()`, the inferred response type is + * `TakeSnapshotResponse`. + */ + response?: Record<string, any>; + } + interface GoogleRpc_Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface VideosResource { + /** + * Performs asynchronous video annotation. Progress and results can be + * retrieved through the `google.longrunning.Operations` interface. + * `Operation.metadata` contains `AnnotateVideoProgress` (progress). + * `Operation.response` contains `AnnotateVideoResponse` (results). + */ + annotate(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<GoogleLongrunning_Operation>; + } + } +} diff --git a/types/gapi.client.videointelligence/readme.md b/types/gapi.client.videointelligence/readme.md new file mode 100644 index 0000000000..a321622e95 --- /dev/null +++ b/types/gapi.client.videointelligence/readme.md @@ -0,0 +1,62 @@ +# TypeScript typings for Cloud Video Intelligence API v1beta1 +Cloud Video Intelligence API. +For detailed description please check [documentation](https://cloud.google.com/video-intelligence/docs/). + +## Installing + +Install typings for Cloud Video Intelligence API: +``` +npm install @types/gapi.client.videointelligence@v1beta1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('videointelligence', 'v1beta1', () => { + // now we can use gapi.client.videointelligence + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Cloud Video Intelligence API resources: + +```typescript + +/* +Performs asynchronous video annotation. Progress and results can be +retrieved through the `google.longrunning.Operations` interface. +`Operation.metadata` contains `AnnotateVideoProgress` (progress). +`Operation.response` contains `AnnotateVideoResponse` (results). +*/ +await gapi.client.videos.annotate({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.videointelligence/tsconfig.json b/types/gapi.client.videointelligence/tsconfig.json new file mode 100644 index 0000000000..5db40cf349 --- /dev/null +++ b/types/gapi.client.videointelligence/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.videointelligence-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.videointelligence/tslint.json b/types/gapi.client.videointelligence/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.videointelligence/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.vision/gapi.client.vision-tests.ts b/types/gapi.client.vision/gapi.client.vision-tests.ts new file mode 100644 index 0000000000..f540dab720 --- /dev/null +++ b/types/gapi.client.vision/gapi.client.vision-tests.ts @@ -0,0 +1,37 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('vision', 'v1', () => { + /** now we can use gapi.client.vision */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage your data across Google Cloud Platform services */ + 'https://www.googleapis.com/auth/cloud-platform', + /** Apply machine learning models to understand and label images */ + 'https://www.googleapis.com/auth/cloud-vision', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Run image detection and annotation for a batch of images. */ + await gapi.client.images.annotate({ + }); + } +}); diff --git a/types/gapi.client.vision/index.d.ts b/types/gapi.client.vision/index.d.ts new file mode 100644 index 0000000000..4ebde6d4fd --- /dev/null +++ b/types/gapi.client.vision/index.d.ts @@ -0,0 +1,603 @@ +// Type definitions for Google Google Cloud Vision API v1 1.0 +// Project: https://cloud.google.com/vision/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://vision.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Cloud Vision API v1 */ + function load(name: "vision", version: "v1"): PromiseLike<void>; + function load(name: "vision", version: "v1", callback: () => any): void; + + const images: vision.ImagesResource; + + namespace vision { + interface AnnotateImageRequest { + /** Requested features. */ + features?: Feature[]; + /** The image to be processed. */ + image?: Image; + /** Additional context that may accompany the image. */ + imageContext?: ImageContext; + } + interface AnnotateImageResponse { + /** If present, crop hints have completed successfully. */ + cropHintsAnnotation?: CropHintsAnnotation; + /** + * If set, represents the error message for the operation. + * Note that filled-in image annotations are guaranteed to be + * correct, even when `error` is set. + */ + error?: Status; + /** If present, face detection has completed successfully. */ + faceAnnotations?: FaceAnnotation[]; + /** + * If present, text (OCR) detection or document (OCR) text detection has + * completed successfully. + * This annotation provides the structural hierarchy for the OCR detected + * text. + */ + fullTextAnnotation?: TextAnnotation; + /** If present, image properties were extracted successfully. */ + imagePropertiesAnnotation?: ImageProperties; + /** If present, label detection has completed successfully. */ + labelAnnotations?: EntityAnnotation[]; + /** If present, landmark detection has completed successfully. */ + landmarkAnnotations?: EntityAnnotation[]; + /** If present, logo detection has completed successfully. */ + logoAnnotations?: EntityAnnotation[]; + /** If present, safe-search annotation has completed successfully. */ + safeSearchAnnotation?: SafeSearchAnnotation; + /** If present, text (OCR) detection has completed successfully. */ + textAnnotations?: EntityAnnotation[]; + /** If present, web detection has completed successfully. */ + webDetection?: WebDetection; + } + interface BatchAnnotateImagesRequest { + /** Individual image annotation requests for this batch. */ + requests?: AnnotateImageRequest[]; + } + interface BatchAnnotateImagesResponse { + /** Individual responses to image annotation requests within the batch. */ + responses?: AnnotateImageResponse[]; + } + interface Block { + /** Detected block type (text, image etc) for this block. */ + blockType?: string; + /** + * The bounding box for the block. + * The vertices are in the order of top-left, top-right, bottom-right, + * bottom-left. When a rotation of the bounding box is detected the rotation + * is represented as around the top-left corner as defined when the text is + * read in the 'natural' orientation. + * For example: + * * when the text is horizontal it might look like: + * 0----1 + * | | + * 3----2 + * * when it's rotated 180 degrees around the top-left corner it becomes: + * 2----3 + * | | + * 1----0 + * and the vertice order will still be (0, 1, 2, 3). + */ + boundingBox?: BoundingPoly; + /** List of paragraphs in this block (if this blocks is of type text). */ + paragraphs?: Paragraph[]; + /** Additional information detected for the block. */ + property?: TextProperty; + } + interface BoundingPoly { + /** The bounding polygon vertices. */ + vertices?: Vertex[]; + } + interface Color { + /** + * The fraction of this color that should be applied to the pixel. That is, + * the final pixel color is defined by the equation: + * + * pixel color = alpha * (this color) + (1.0 - alpha) * (background color) + * + * This means that a value of 1.0 corresponds to a solid color, whereas + * a value of 0.0 corresponds to a completely transparent color. This + * uses a wrapper message rather than a simple float scalar so that it is + * possible to distinguish between a default value and the value being unset. + * If omitted, this color object is to be rendered as a solid color + * (as if the alpha value had been explicitly given with a value of 1.0). + */ + alpha?: number; + /** The amount of blue in the color as a value in the interval [0, 1]. */ + blue?: number; + /** The amount of green in the color as a value in the interval [0, 1]. */ + green?: number; + /** The amount of red in the color as a value in the interval [0, 1]. */ + red?: number; + } + interface ColorInfo { + /** RGB components of the color. */ + color?: Color; + /** + * The fraction of pixels the color occupies in the image. + * Value in range [0, 1]. + */ + pixelFraction?: number; + /** Image-specific score for this color. Value in range [0, 1]. */ + score?: number; + } + interface CropHint { + /** + * The bounding polygon for the crop region. The coordinates of the bounding + * box are in the original image's scale, as returned in `ImageParams`. + */ + boundingPoly?: BoundingPoly; + /** Confidence of this being a salient region. Range [0, 1]. */ + confidence?: number; + /** + * Fraction of importance of this salient region with respect to the original + * image. + */ + importanceFraction?: number; + } + interface CropHintsAnnotation { + /** Crop hint results. */ + cropHints?: CropHint[]; + } + interface CropHintsParams { + /** + * Aspect ratios in floats, representing the ratio of the width to the height + * of the image. For example, if the desired aspect ratio is 4/3, the + * corresponding float value should be 1.33333. If not specified, the + * best possible crop is returned. The number of provided aspect ratios is + * limited to a maximum of 16; any aspect ratios provided after the 16th are + * ignored. + */ + aspectRatios?: number[]; + } + interface DetectedBreak { + /** True if break prepends the element. */ + isPrefix?: boolean; + /** Detected break type. */ + type?: string; + } + interface DetectedLanguage { + /** Confidence of detected language. Range [0, 1]. */ + confidence?: number; + /** + * The BCP-47 language code, such as "en-US" or "sr-Latn". For more + * information, see + * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. + */ + languageCode?: string; + } + interface DominantColorsAnnotation { + /** RGB color values with their score and pixel fraction. */ + colors?: ColorInfo[]; + } + interface EntityAnnotation { + /** + * Image region to which this entity belongs. Not produced + * for `LABEL_DETECTION` features. + */ + boundingPoly?: BoundingPoly; + /** + * The accuracy of the entity detection in an image. + * For example, for an image in which the "Eiffel Tower" entity is detected, + * this field represents the confidence that there is a tower in the query + * image. Range [0, 1]. + */ + confidence?: number; + /** Entity textual description, expressed in its `locale` language. */ + description?: string; + /** + * The language code for the locale in which the entity textual + * `description` is expressed. + */ + locale?: string; + /** + * The location information for the detected entity. Multiple + * `LocationInfo` elements can be present because one location may + * indicate the location of the scene in the image, and another location + * may indicate the location of the place where the image was taken. + * Location information is usually present for landmarks. + */ + locations?: LocationInfo[]; + /** + * Opaque entity ID. Some IDs may be available in + * [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/). + */ + mid?: string; + /** + * Some entities may have optional user-supplied `Property` (name/value) + * fields, such a score or string that qualifies the entity. + */ + properties?: Property[]; + /** Overall score of the result. Range [0, 1]. */ + score?: number; + /** + * The relevancy of the ICA (Image Content Annotation) label to the + * image. For example, the relevancy of "tower" is likely higher to an image + * containing the detected "Eiffel Tower" than to an image containing a + * detected distant towering building, even though the confidence that + * there is a tower in each image may be the same. Range [0, 1]. + */ + topicality?: number; + } + interface FaceAnnotation { + /** Anger likelihood. */ + angerLikelihood?: string; + /** Blurred likelihood. */ + blurredLikelihood?: string; + /** + * The bounding polygon around the face. The coordinates of the bounding box + * are in the original image's scale, as returned in `ImageParams`. + * The bounding box is computed to "frame" the face in accordance with human + * expectations. It is based on the landmarker results. + * Note that one or more x and/or y coordinates may not be generated in the + * `BoundingPoly` (the polygon will be unbounded) if only a partial face + * appears in the image to be annotated. + */ + boundingPoly?: BoundingPoly; + /** Detection confidence. Range [0, 1]. */ + detectionConfidence?: number; + /** + * The `fd_bounding_poly` bounding polygon is tighter than the + * `boundingPoly`, and encloses only the skin part of the face. Typically, it + * is used to eliminate the face from any image analysis that detects the + * "amount of skin" visible in an image. It is not based on the + * landmarker results, only on the initial face detection, hence + * the <code>fd</code> (face detection) prefix. + */ + fdBoundingPoly?: BoundingPoly; + /** Headwear likelihood. */ + headwearLikelihood?: string; + /** Joy likelihood. */ + joyLikelihood?: string; + /** Face landmarking confidence. Range [0, 1]. */ + landmarkingConfidence?: number; + /** Detected face landmarks. */ + landmarks?: Landmark[]; + /** + * Yaw angle, which indicates the leftward/rightward angle that the face is + * pointing relative to the vertical plane perpendicular to the image. Range + * [-180,180]. + */ + panAngle?: number; + /** + * Roll angle, which indicates the amount of clockwise/anti-clockwise rotation + * of the face relative to the image vertical about the axis perpendicular to + * the face. Range [-180,180]. + */ + rollAngle?: number; + /** Sorrow likelihood. */ + sorrowLikelihood?: string; + /** Surprise likelihood. */ + surpriseLikelihood?: string; + /** + * Pitch angle, which indicates the upwards/downwards angle that the face is + * pointing relative to the image's horizontal plane. Range [-180,180]. + */ + tiltAngle?: number; + /** Under-exposed likelihood. */ + underExposedLikelihood?: string; + } + interface Feature { + /** Maximum number of results of this type. */ + maxResults?: number; + /** The feature type. */ + type?: string; + } + interface Image { + /** + * Image content, represented as a stream of bytes. + * Note: as with all `bytes` fields, protobuffers use a pure binary + * representation, whereas JSON representations use base64. + */ + content?: string; + /** + * Google Cloud Storage image location. If both `content` and `source` + * are provided for an image, `content` takes precedence and is + * used to perform the image annotation request. + */ + source?: ImageSource; + } + interface ImageContext { + /** Parameters for crop hints annotation request. */ + cropHintsParams?: CropHintsParams; + /** + * List of languages to use for TEXT_DETECTION. In most cases, an empty value + * yields the best results since it enables automatic language detection. For + * languages based on the Latin alphabet, setting `language_hints` is not + * needed. In rare cases, when the language of the text in the image is known, + * setting a hint will help get better results (although it will be a + * significant hindrance if the hint is wrong). Text detection returns an + * error if one or more of the specified languages is not one of the + * [supported languages](/vision/docs/languages). + */ + languageHints?: string[]; + /** lat/long rectangle that specifies the location of the image. */ + latLongRect?: LatLongRect; + } + interface ImageProperties { + /** If present, dominant colors completed successfully. */ + dominantColors?: DominantColorsAnnotation; + } + interface ImageSource { + /** + * NOTE: For new code `image_uri` below is preferred. + * Google Cloud Storage image URI, which must be in the following form: + * `gs://bucket_name/object_name` (for details, see + * [Google Cloud Storage Request + * URIs](https://cloud.google.com/storage/docs/reference-uris)). + * NOTE: Cloud Storage object versioning is not supported. + */ + gcsImageUri?: string; + /** + * Image URI which supports: + * 1) Google Cloud Storage image URI, which must be in the following form: + * `gs://bucket_name/object_name` (for details, see + * [Google Cloud Storage Request + * URIs](https://cloud.google.com/storage/docs/reference-uris)). + * NOTE: Cloud Storage object versioning is not supported. + * 2) Publicly accessible image HTTP/HTTPS URL. + * This is preferred over the legacy `gcs_image_uri` above. When both + * `gcs_image_uri` and `image_uri` are specified, `image_uri` takes + * precedence. + */ + imageUri?: string; + } + interface Landmark { + /** Face landmark position. */ + position?: Position; + /** Face landmark type. */ + type?: string; + } + interface LatLng { + /** The latitude in degrees. It must be in the range [-90.0, +90.0]. */ + latitude?: number; + /** The longitude in degrees. It must be in the range [-180.0, +180.0]. */ + longitude?: number; + } + interface LatLongRect { + /** Max lat/long pair. */ + maxLatLng?: LatLng; + /** Min lat/long pair. */ + minLatLng?: LatLng; + } + interface LocationInfo { + /** lat/long location coordinates. */ + latLng?: LatLng; + } + interface Page { + /** List of blocks of text, images etc on this page. */ + blocks?: Block[]; + /** Page height in pixels. */ + height?: number; + /** Additional information detected on the page. */ + property?: TextProperty; + /** Page width in pixels. */ + width?: number; + } + interface Paragraph { + /** + * The bounding box for the paragraph. + * The vertices are in the order of top-left, top-right, bottom-right, + * bottom-left. When a rotation of the bounding box is detected the rotation + * is represented as around the top-left corner as defined when the text is + * read in the 'natural' orientation. + * For example: + * * when the text is horizontal it might look like: + * 0----1 + * | | + * 3----2 + * * when it's rotated 180 degrees around the top-left corner it becomes: + * 2----3 + * | | + * 1----0 + * and the vertice order will still be (0, 1, 2, 3). + */ + boundingBox?: BoundingPoly; + /** Additional information detected for the paragraph. */ + property?: TextProperty; + /** List of words in this paragraph. */ + words?: Word[]; + } + interface Position { + /** X coordinate. */ + x?: number; + /** Y coordinate. */ + y?: number; + /** Z coordinate (or depth). */ + z?: number; + } + interface Property { + /** Name of the property. */ + name?: string; + /** Value of numeric properties. */ + uint64Value?: string; + /** Value of the property. */ + value?: string; + } + interface SafeSearchAnnotation { + /** + * Represents the adult content likelihood for the image. Adult content may + * contain elements such as nudity, pornographic images or cartoons, or + * sexual activities. + */ + adult?: string; + /** Likelihood that this is a medical image. */ + medical?: string; + /** + * Spoof likelihood. The likelihood that an modification + * was made to the image's canonical version to make it appear + * funny or offensive. + */ + spoof?: string; + /** Likelihood that this image contains violent content. */ + violence?: string; + } + interface Status { + /** The status code, which should be an enum value of google.rpc.Code. */ + code?: number; + /** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ + details?: Array<Record<string, any>>; + /** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ + message?: string; + } + interface Symbol { + /** + * The bounding box for the symbol. + * The vertices are in the order of top-left, top-right, bottom-right, + * bottom-left. When a rotation of the bounding box is detected the rotation + * is represented as around the top-left corner as defined when the text is + * read in the 'natural' orientation. + * For example: + * * when the text is horizontal it might look like: + * 0----1 + * | | + * 3----2 + * * when it's rotated 180 degrees around the top-left corner it becomes: + * 2----3 + * | | + * 1----0 + * and the vertice order will still be (0, 1, 2, 3). + */ + boundingBox?: BoundingPoly; + /** Additional information detected for the symbol. */ + property?: TextProperty; + /** The actual UTF-8 representation of the symbol. */ + text?: string; + } + interface TextAnnotation { + /** List of pages detected by OCR. */ + pages?: Page[]; + /** UTF-8 text detected on the pages. */ + text?: string; + } + interface TextProperty { + /** Detected start or end of a text segment. */ + detectedBreak?: DetectedBreak; + /** A list of detected languages together with confidence. */ + detectedLanguages?: DetectedLanguage[]; + } + interface Vertex { + /** X coordinate. */ + x?: number; + /** Y coordinate. */ + y?: number; + } + interface WebDetection { + /** + * Fully matching images from the Internet. + * Can include resized copies of the query image. + */ + fullMatchingImages?: WebImage[]; + /** Web pages containing the matching images from the Internet. */ + pagesWithMatchingImages?: WebPage[]; + /** + * Partial matching images from the Internet. + * Those images are similar enough to share some key-point features. For + * example an original image will likely have partial matching for its crops. + */ + partialMatchingImages?: WebImage[]; + /** The visually similar image results. */ + visuallySimilarImages?: WebImage[]; + /** Deduced entities from similar images on the Internet. */ + webEntities?: WebEntity[]; + } + interface WebEntity { + /** Canonical description of the entity, in English. */ + description?: string; + /** Opaque entity ID. */ + entityId?: string; + /** + * Overall relevancy score for the entity. + * Not normalized and not comparable across different image queries. + */ + score?: number; + } + interface WebImage { + /** (Deprecated) Overall relevancy score for the image. */ + score?: number; + /** The result image URL. */ + url?: string; + } + interface WebPage { + /** (Deprecated) Overall relevancy score for the web page. */ + score?: number; + /** The result web page URL. */ + url?: string; + } + interface Word { + /** + * The bounding box for the word. + * The vertices are in the order of top-left, top-right, bottom-right, + * bottom-left. When a rotation of the bounding box is detected the rotation + * is represented as around the top-left corner as defined when the text is + * read in the 'natural' orientation. + * For example: + * * when the text is horizontal it might look like: + * 0----1 + * | | + * 3----2 + * * when it's rotated 180 degrees around the top-left corner it becomes: + * 2----3 + * | | + * 1----0 + * and the vertice order will still be (0, 1, 2, 3). + */ + boundingBox?: BoundingPoly; + /** Additional information detected for the word. */ + property?: TextProperty; + /** + * List of symbols in the word. + * The order of the symbols follows the natural reading order. + */ + symbols?: Symbol[]; + } + interface ImagesResource { + /** Run image detection and annotation for a batch of images. */ + annotate(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<BatchAnnotateImagesResponse>; + } + } +} diff --git a/types/gapi.client.vision/readme.md b/types/gapi.client.vision/readme.md new file mode 100644 index 0000000000..370f2a166d --- /dev/null +++ b/types/gapi.client.vision/readme.md @@ -0,0 +1,62 @@ +# TypeScript typings for Google Cloud Vision API v1 +Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications. +For detailed description please check [documentation](https://cloud.google.com/vision/). + +## Installing + +Install typings for Google Cloud Vision API: +``` +npm install @types/gapi.client.vision@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('vision', 'v1', () => { + // now we can use gapi.client.vision + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage your data across Google Cloud Platform services + 'https://www.googleapis.com/auth/cloud-platform', + + // Apply machine learning models to understand and label images + 'https://www.googleapis.com/auth/cloud-vision', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Google Cloud Vision API resources: + +```typescript + +/* +Run image detection and annotation for a batch of images. +*/ +await gapi.client.images.annotate({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.vision/tsconfig.json b/types/gapi.client.vision/tsconfig.json new file mode 100644 index 0000000000..300f812220 --- /dev/null +++ b/types/gapi.client.vision/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.vision-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.vision/tslint.json b/types/gapi.client.vision/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.vision/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.webfonts/gapi.client.webfonts-tests.ts b/types/gapi.client.webfonts/gapi.client.webfonts-tests.ts new file mode 100644 index 0000000000..58f0512c8c --- /dev/null +++ b/types/gapi.client.webfonts/gapi.client.webfonts-tests.ts @@ -0,0 +1,20 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('webfonts', 'v1', () => { + /** now we can use gapi.client.webfonts */ + + run(); + }); + + async function run() { + /** Retrieves the list of fonts currently served by the Google Fonts Developer API */ + await gapi.client.webfonts.list({ + sort: "sort", + }); + } +}); diff --git a/types/gapi.client.webfonts/index.d.ts b/types/gapi.client.webfonts/index.d.ts new file mode 100644 index 0000000000..cc8404580b --- /dev/null +++ b/types/gapi.client.webfonts/index.d.ts @@ -0,0 +1,71 @@ +// Type definitions for Google Google Fonts Developer API v1 1.0 +// Project: https://developers.google.com/fonts/docs/developer_api +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/webfonts/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Google Fonts Developer API v1 */ + function load(name: "webfonts", version: "v1"): PromiseLike<void>; + function load(name: "webfonts", version: "v1", callback: () => any): void; + + const webfonts: webfonts.WebfontsResource; + + namespace webfonts { + interface Webfont { + /** The category of the font. */ + category?: string; + /** The name of the font. */ + family?: string; + /** The font files (with all supported scripts) for each one of the available variants, as a key : value map. */ + files?: Record<string, string>; + /** This kind represents a webfont object in the webfonts service. */ + kind?: string; + /** The date (format "yyyy-MM-dd") the font was modified for the last time. */ + lastModified?: string; + /** The scripts supported by the font. */ + subsets?: string[]; + /** The available variants for the font. */ + variants?: string[]; + /** The font version. */ + version?: string; + } + interface WebfontList { + /** The list of fonts currently served by the Google Fonts API. */ + items?: Webfont[]; + /** This kind represents a list of webfont objects in the webfonts service. */ + kind?: string; + } + interface WebfontsResource { + /** Retrieves the list of fonts currently served by the Google Fonts Developer API */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Enables sorting of the list */ + sort?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<WebfontList>; + } + } +} diff --git a/types/gapi.client.webfonts/readme.md b/types/gapi.client.webfonts/readme.md new file mode 100644 index 0000000000..9477ed2a1e --- /dev/null +++ b/types/gapi.client.webfonts/readme.md @@ -0,0 +1,40 @@ +# TypeScript typings for Google Fonts Developer API v1 +Accesses the metadata for all families served by Google Fonts, providing a list of families currently available (including available styles and a list of supported script subsets). +For detailed description please check [documentation](https://developers.google.com/fonts/docs/developer_api). + +## Installing + +Install typings for Google Fonts Developer API: +``` +npm install @types/gapi.client.webfonts@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('webfonts', 'v1', () => { + // now we can use gapi.client.webfonts + // ... +}); +``` + + + +After that you can use Google Fonts Developer API resources: + +```typescript + +/* +Retrieves the list of fonts currently served by the Google Fonts Developer API +*/ +await gapi.client.webfonts.list({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.webfonts/tsconfig.json b/types/gapi.client.webfonts/tsconfig.json new file mode 100644 index 0000000000..99419f718b --- /dev/null +++ b/types/gapi.client.webfonts/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.webfonts-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.webfonts/tslint.json b/types/gapi.client.webfonts/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.webfonts/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.webmasters/gapi.client.webmasters-tests.ts b/types/gapi.client.webmasters/gapi.client.webmasters-tests.ts new file mode 100644 index 0000000000..1fe8802bf7 --- /dev/null +++ b/types/gapi.client.webmasters/gapi.client.webmasters-tests.ts @@ -0,0 +1,106 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('webmasters', 'v3', () => { + /** now we can use gapi.client.webmasters */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View and manage Search Console data for your verified sites */ + 'https://www.googleapis.com/auth/webmasters', + /** View Search Console data for your verified sites */ + 'https://www.googleapis.com/auth/webmasters.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Query your data with filters and parameters that you define. Returns zero or more rows grouped by the row keys that you define. You must define a date + * range of one or more days. + * + * When date is one of the group by values, any days without data are omitted from the result list. If you need to know which days have data, issue a + * broad date range query grouped by date for any metric, and see which day rows are returned. + */ + await gapi.client.searchanalytics.query({ + siteUrl: "siteUrl", + }); + /** Deletes a sitemap from this site. */ + await gapi.client.sitemaps.delete({ + feedpath: "feedpath", + siteUrl: "siteUrl", + }); + /** Retrieves information about a specific sitemap. */ + await gapi.client.sitemaps.get({ + feedpath: "feedpath", + siteUrl: "siteUrl", + }); + /** Lists the sitemaps-entries submitted for this site, or included in the sitemap index file (if sitemapIndex is specified in the request). */ + await gapi.client.sitemaps.list({ + siteUrl: "siteUrl", + sitemapIndex: "sitemapIndex", + }); + /** Submits a sitemap for a site. */ + await gapi.client.sitemaps.submit({ + feedpath: "feedpath", + siteUrl: "siteUrl", + }); + /** Adds a site to the set of the user's sites in Search Console. */ + await gapi.client.sites.add({ + siteUrl: "siteUrl", + }); + /** Removes a site from the set of the user's Search Console sites. */ + await gapi.client.sites.delete({ + siteUrl: "siteUrl", + }); + /** Retrieves information about specific site. */ + await gapi.client.sites.get({ + siteUrl: "siteUrl", + }); + /** Lists the user's Search Console sites. */ + await gapi.client.sites.list({ + }); + /** Retrieves a time series of the number of URL crawl errors per error category and platform. */ + await gapi.client.urlcrawlerrorscounts.query({ + category: "category", + latestCountsOnly: true, + platform: "platform", + siteUrl: "siteUrl", + }); + /** Retrieves details about crawl errors for a site's sample URL. */ + await gapi.client.urlcrawlerrorssamples.get({ + category: "category", + platform: "platform", + siteUrl: "siteUrl", + url: "url", + }); + /** Lists a site's sample URLs for the specified crawl error category and platform. */ + await gapi.client.urlcrawlerrorssamples.list({ + category: "category", + platform: "platform", + siteUrl: "siteUrl", + }); + /** Marks the provided site's sample URL as fixed, and removes it from the samples list. */ + await gapi.client.urlcrawlerrorssamples.markAsFixed({ + category: "category", + platform: "platform", + siteUrl: "siteUrl", + url: "url", + }); + } +}); diff --git a/types/gapi.client.webmasters/index.d.ts b/types/gapi.client.webmasters/index.d.ts new file mode 100644 index 0000000000..50ec1f4bd8 --- /dev/null +++ b/types/gapi.client.webmasters/index.d.ts @@ -0,0 +1,510 @@ +// Type definitions for Google Search Console API v3 3.0 +// Project: https://developers.google.com/webmaster-tools/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/webmasters/v3/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load Search Console API v3 */ + function load(name: "webmasters", version: "v3"): PromiseLike<void>; + function load(name: "webmasters", version: "v3", callback: () => any): void; + + const searchanalytics: webmasters.SearchanalyticsResource; + + const sitemaps: webmasters.SitemapsResource; + + const sites: webmasters.SitesResource; + + const urlcrawlerrorscounts: webmasters.UrlcrawlerrorscountsResource; + + const urlcrawlerrorssamples: webmasters.UrlcrawlerrorssamplesResource; + + namespace webmasters { + interface ApiDataRow { + clicks?: number; + ctr?: number; + impressions?: number; + keys?: string[]; + position?: number; + } + interface ApiDimensionFilter { + dimension?: string; + expression?: string; + operator?: string; + } + interface ApiDimensionFilterGroup { + filters?: ApiDimensionFilter[]; + groupType?: string; + } + interface SearchAnalyticsQueryRequest { + /** + * [Optional; Default is "auto"] How data is aggregated. If aggregated by property, all data for the same property is aggregated; if aggregated by page, + * all data is aggregated by canonical URI. If you filter or group by page, choose AUTO; otherwise you can aggregate either by property or by page, + * depending on how you want your data calculated; see the help documentation to learn how data is calculated differently by site versus by page. + * + * Note: If you group or filter by page, you cannot aggregate by property. + * + * If you specify any value other than AUTO, the aggregation type in the result will match the requested type, or if you request an invalid type, you will + * get an error. The API will never change your aggregation type if the requested type is invalid. + */ + aggregationType?: string; + /** + * [Optional] Zero or more filters to apply to the dimension grouping values; for example, 'query contains "buy"' to see only data where the query string + * contains the substring "buy" (not case-sensitive). You can filter by a dimension without grouping by it. + */ + dimensionFilterGroups?: ApiDimensionFilterGroup[]; + /** + * [Optional] Zero or more dimensions to group results by. Dimensions are the group-by values in the Search Analytics page. Dimensions are combined to + * create a unique row key for each row. Results are grouped in the order that you supply these dimensions. + */ + dimensions?: string[]; + /** + * [Required] End date of the requested date range, in YYYY-MM-DD format, in PST (UTC - 8:00). Must be greater than or equal to the start date. This value + * is included in the range. + */ + endDate?: string; + /** [Optional; Default is 1000] The maximum number of rows to return. Must be a number from 1 to 5,000 (inclusive). */ + rowLimit?: number; + /** [Optional; Default is "web"] The search type to filter for. */ + searchType?: string; + /** + * [Required] Start date of the requested date range, in YYYY-MM-DD format, in PST time (UTC - 8:00). Must be less than or equal to the end date. This + * value is included in the range. + */ + startDate?: string; + /** [Optional; Default is 0] Zero-based index of the first row in the response. Must be a non-negative number. */ + startRow?: number; + } + interface SearchAnalyticsQueryResponse { + /** How the results were aggregated. */ + responseAggregationType?: string; + /** A list of rows grouped by the key values in the order given in the query. */ + rows?: ApiDataRow[]; + } + interface SitemapsListResponse { + /** Contains detailed information about a specific URL submitted as a sitemap. */ + sitemap?: WmxSitemap[]; + } + interface SitesListResponse { + /** Contains permission level information about a Search Console site. For more information, see Permissions in Search Console. */ + siteEntry?: WmxSite[]; + } + interface UrlCrawlErrorCount { + /** The error count at the given timestamp. */ + count?: string; + /** The date and time when the crawl attempt took place, in RFC 3339 format. */ + timestamp?: string; + } + interface UrlCrawlErrorCountsPerType { + /** The crawl error type. */ + category?: string; + /** The error count entries time series. */ + entries?: UrlCrawlErrorCount[]; + /** The general type of Googlebot that made the request (see list of Googlebot user-agents for the user-agents used). */ + platform?: string; + } + interface UrlCrawlErrorsCountsQueryResponse { + /** The time series of the number of URL crawl errors per error category and platform. */ + countPerTypes?: UrlCrawlErrorCountsPerType[]; + } + interface UrlCrawlErrorsSample { + /** The time the error was first detected, in RFC 3339 format. */ + first_detected?: string; + /** The time when the URL was last crawled, in RFC 3339 format. */ + last_crawled?: string; + /** The URL of an error, relative to the site. */ + pageUrl?: string; + /** The HTTP response code, if any. */ + responseCode?: number; + /** Additional details about the URL, set only when calling get(). */ + urlDetails?: UrlSampleDetails; + } + interface UrlCrawlErrorsSamplesListResponse { + /** Information about the sample URL and its crawl error. */ + urlCrawlErrorSample?: UrlCrawlErrorsSample[]; + } + interface UrlSampleDetails { + /** List of sitemaps pointing at this URL. */ + containingSitemaps?: string[]; + /** A sample set of URLs linking to this URL. */ + linkedFromUrls?: string[]; + } + interface WmxSite { + /** The user's permission level for the site. */ + permissionLevel?: string; + /** The URL of the site. */ + siteUrl?: string; + } + interface WmxSitemap { + /** The various content types in the sitemap. */ + contents?: WmxSitemapContent[]; + /** Number of errors in the sitemap. These are issues with the sitemap itself that need to be fixed before it can be processed correctly. */ + errors?: string; + /** If true, the sitemap has not been processed. */ + isPending?: boolean; + /** If true, the sitemap is a collection of sitemaps. */ + isSitemapsIndex?: boolean; + /** Date & time in which this sitemap was last downloaded. Date format is in RFC 3339 format (yyyy-mm-dd). */ + lastDownloaded?: string; + /** Date & time in which this sitemap was submitted. Date format is in RFC 3339 format (yyyy-mm-dd). */ + lastSubmitted?: string; + /** The url of the sitemap. */ + path?: string; + /** The type of the sitemap. For example: rssFeed. */ + type?: string; + /** Number of warnings for the sitemap. These are generally non-critical issues with URLs in the sitemaps. */ + warnings?: string; + } + interface WmxSitemapContent { + /** The number of URLs from the sitemap that were indexed (of the content type). */ + indexed?: string; + /** The number of URLs in the sitemap (of the content type). */ + submitted?: string; + /** The specific type of content in this sitemap. For example: web. */ + type?: string; + } + interface SearchanalyticsResource { + /** + * Query your data with filters and parameters that you define. Returns zero or more rows grouped by the row keys that you define. You must define a date + * range of one or more days. + * + * When date is one of the group by values, any days without data are omitted from the result list. If you need to know which days have data, issue a + * broad date range query grouped by date for any metric, and see which day rows are returned. + */ + query(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The site's URL, including protocol. For example: http://www.example.com/ */ + siteUrl: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SearchAnalyticsQueryResponse>; + } + interface SitemapsResource { + /** Deletes a sitemap from this site. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** The URL of the actual sitemap. For example: http://www.example.com/sitemap.xml */ + feedpath: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The site's URL, including protocol. For example: http://www.example.com/ */ + siteUrl: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves information about a specific sitemap. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The URL of the actual sitemap. For example: http://www.example.com/sitemap.xml */ + feedpath: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The site's URL, including protocol. For example: http://www.example.com/ */ + siteUrl: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<WmxSitemap>; + /** Lists the sitemaps-entries submitted for this site, or included in the sitemap index file (if sitemapIndex is specified in the request). */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The site's URL, including protocol. For example: http://www.example.com/ */ + siteUrl: string; + /** A URL of a site's sitemap index. For example: http://www.example.com/sitemapindex.xml */ + sitemapIndex?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SitemapsListResponse>; + /** Submits a sitemap for a site. */ + submit(request: { + /** Data format for the response. */ + alt?: string; + /** The URL of the sitemap to add. For example: http://www.example.com/sitemap.xml */ + feedpath: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The site's URL, including protocol. For example: http://www.example.com/ */ + siteUrl: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + interface SitesResource { + /** Adds a site to the set of the user's sites in Search Console. */ + add(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The URL of the site to add. */ + siteUrl: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Removes a site from the set of the user's Search Console sites. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The URI of the property as defined in Search Console. Examples: http://www.example.com/ or android-app://com.example/ */ + siteUrl: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves information about specific site. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The URI of the property as defined in Search Console. Examples: http://www.example.com/ or android-app://com.example/ */ + siteUrl: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<WmxSite>; + /** Lists the user's Search Console sites. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SitesListResponse>; + } + interface UrlcrawlerrorscountsResource { + /** Retrieves a time series of the number of URL crawl errors per error category and platform. */ + query(request: { + /** Data format for the response. */ + alt?: string; + /** The crawl error category. For example: serverError. If not specified, returns results for all categories. */ + category?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** If true, returns only the latest crawl error counts. */ + latestCountsOnly?: boolean; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The user agent type (platform) that made the request. For example: web. If not specified, returns results for all platforms. */ + platform?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The site's URL, including protocol. For example: http://www.example.com/ */ + siteUrl: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UrlCrawlErrorsCountsQueryResponse>; + } + interface UrlcrawlerrorssamplesResource { + /** Retrieves details about crawl errors for a site's sample URL. */ + get(request: { + /** Data format for the response. */ + alt?: string; + /** The crawl error category. For example: authPermissions */ + category: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The user agent type (platform) that made the request. For example: web */ + platform: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The site's URL, including protocol. For example: http://www.example.com/ */ + siteUrl: string; + /** + * The relative path (without the site) of the sample URL. It must be one of the URLs returned by list(). For example, for the URL + * https://www.example.com/pagename on the site https://www.example.com/, the url value is pagename + */ + url: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UrlCrawlErrorsSample>; + /** Lists a site's sample URLs for the specified crawl error category and platform. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The crawl error category. For example: authPermissions */ + category: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The user agent type (platform) that made the request. For example: web */ + platform: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The site's URL, including protocol. For example: http://www.example.com/ */ + siteUrl: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<UrlCrawlErrorsSamplesListResponse>; + /** Marks the provided site's sample URL as fixed, and removes it from the samples list. */ + markAsFixed(request: { + /** Data format for the response. */ + alt?: string; + /** The crawl error category. For example: authPermissions */ + category: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The user agent type (platform) that made the request. For example: web */ + platform: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The site's URL, including protocol. For example: http://www.example.com/ */ + siteUrl: string; + /** + * The relative path (without the site) of the sample URL. It must be one of the URLs returned by list(). For example, for the URL + * https://www.example.com/pagename on the site https://www.example.com/, the url value is pagename + */ + url: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + } +} diff --git a/types/gapi.client.webmasters/readme.md b/types/gapi.client.webmasters/readme.md new file mode 100644 index 0000000000..035d151be0 --- /dev/null +++ b/types/gapi.client.webmasters/readme.md @@ -0,0 +1,124 @@ +# TypeScript typings for Search Console API v3 +View Google Search Console data for your verified sites. +For detailed description please check [documentation](https://developers.google.com/webmaster-tools/). + +## Installing + +Install typings for Search Console API: +``` +npm install @types/gapi.client.webmasters@v3 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('webmasters', 'v3', () => { + // now we can use gapi.client.webmasters + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View and manage Search Console data for your verified sites + 'https://www.googleapis.com/auth/webmasters', + + // View Search Console data for your verified sites + 'https://www.googleapis.com/auth/webmasters.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use Search Console API resources: + +```typescript + +/* +Query your data with filters and parameters that you define. Returns zero or more rows grouped by the row keys that you define. You must define a date range of one or more days. + +When date is one of the group by values, any days without data are omitted from the result list. If you need to know which days have data, issue a broad date range query grouped by date for any metric, and see which day rows are returned. +*/ +await gapi.client.searchanalytics.query({ siteUrl: "siteUrl", }); + +/* +Deletes a sitemap from this site. +*/ +await gapi.client.sitemaps.delete({ feedpath: "feedpath", siteUrl: "siteUrl", }); + +/* +Retrieves information about a specific sitemap. +*/ +await gapi.client.sitemaps.get({ feedpath: "feedpath", siteUrl: "siteUrl", }); + +/* +Lists the sitemaps-entries submitted for this site, or included in the sitemap index file (if sitemapIndex is specified in the request). +*/ +await gapi.client.sitemaps.list({ siteUrl: "siteUrl", }); + +/* +Submits a sitemap for a site. +*/ +await gapi.client.sitemaps.submit({ feedpath: "feedpath", siteUrl: "siteUrl", }); + +/* +Adds a site to the set of the user's sites in Search Console. +*/ +await gapi.client.sites.add({ siteUrl: "siteUrl", }); + +/* +Removes a site from the set of the user's Search Console sites. +*/ +await gapi.client.sites.delete({ siteUrl: "siteUrl", }); + +/* +Retrieves information about specific site. +*/ +await gapi.client.sites.get({ siteUrl: "siteUrl", }); + +/* +Lists the user's Search Console sites. +*/ +await gapi.client.sites.list({ }); + +/* +Retrieves a time series of the number of URL crawl errors per error category and platform. +*/ +await gapi.client.urlcrawlerrorscounts.query({ siteUrl: "siteUrl", }); + +/* +Retrieves details about crawl errors for a site's sample URL. +*/ +await gapi.client.urlcrawlerrorssamples.get({ category: "category", platform: "platform", siteUrl: "siteUrl", url: "url", }); + +/* +Lists a site's sample URLs for the specified crawl error category and platform. +*/ +await gapi.client.urlcrawlerrorssamples.list({ category: "category", platform: "platform", siteUrl: "siteUrl", }); + +/* +Marks the provided site's sample URL as fixed, and removes it from the samples list. +*/ +await gapi.client.urlcrawlerrorssamples.markAsFixed({ category: "category", platform: "platform", siteUrl: "siteUrl", url: "url", }); +``` \ No newline at end of file diff --git a/types/gapi.client.webmasters/tsconfig.json b/types/gapi.client.webmasters/tsconfig.json new file mode 100644 index 0000000000..f542550a2f --- /dev/null +++ b/types/gapi.client.webmasters/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.webmasters-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.webmasters/tslint.json b/types/gapi.client.webmasters/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.webmasters/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.youtube/gapi.client.youtube-tests.ts b/types/gapi.client.youtube/gapi.client.youtube-tests.ts new file mode 100644 index 0000000000..0187cdfd90 --- /dev/null +++ b/types/gapi.client.youtube/gapi.client.youtube-tests.ts @@ -0,0 +1,589 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('youtube', 'v3', () => { + /** now we can use gapi.client.youtube */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage your YouTube account */ + 'https://www.googleapis.com/auth/youtube', + /** Manage your YouTube account */ + 'https://www.googleapis.com/auth/youtube.force-ssl', + /** View your YouTube account */ + 'https://www.googleapis.com/auth/youtube.readonly', + /** Manage your YouTube videos */ + 'https://www.googleapis.com/auth/youtube.upload', + /** View and manage your assets and associated content on YouTube */ + 'https://www.googleapis.com/auth/youtubepartner', + /** View private information of your YouTube channel relevant during the audit process with a YouTube partner */ + 'https://www.googleapis.com/auth/youtubepartner-channel-audit', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** + * Posts a bulletin for a specific channel. (The user submitting the request must be authorized to act on the channel's behalf.) + * + * Note: Even though an activity resource can contain information about actions like a user rating a video or marking a video as a favorite, you need to + * use other API methods to generate those activity resources. For example, you would use the API's videos.rate() method to rate a video and the + * playlistItems.insert() method to mark a video as a favorite. + */ + await gapi.client.activities.insert({ + part: "part", + }); + /** + * Returns a list of channel activity events that match the request criteria. For example, you can retrieve events associated with a particular channel, + * events associated with the user's subscriptions and Google+ friends, or the YouTube home page feed, which is customized for each user. + */ + await gapi.client.activities.list({ + channelId: "channelId", + home: true, + maxResults: 3, + mine: true, + pageToken: "pageToken", + part: "part", + publishedAfter: "publishedAfter", + publishedBefore: "publishedBefore", + regionCode: "regionCode", + }); + /** Deletes a specified caption track. */ + await gapi.client.captions.delete({ + id: "id", + onBehalfOf: "onBehalfOf", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + }); + /** + * Downloads a caption track. The caption track is returned in its original format unless the request specifies a value for the tfmt parameter and in its + * original language unless the request specifies a value for the tlang parameter. + */ + await gapi.client.captions.download({ + id: "id", + onBehalfOf: "onBehalfOf", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + tfmt: "tfmt", + tlang: "tlang", + }); + /** Uploads a caption track. */ + await gapi.client.captions.insert({ + onBehalfOf: "onBehalfOf", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + part: "part", + sync: true, + }); + /** + * Returns a list of caption tracks that are associated with a specified video. Note that the API response does not contain the actual captions and that + * the captions.download method provides the ability to retrieve a caption track. + */ + await gapi.client.captions.list({ + id: "id", + onBehalfOf: "onBehalfOf", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + part: "part", + videoId: "videoId", + }); + /** Updates a caption track. When updating a caption track, you can change the track's draft status, upload a new caption file for the track, or both. */ + await gapi.client.captions.update({ + onBehalfOf: "onBehalfOf", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + part: "part", + sync: true, + }); + /** + * Uploads a channel banner image to YouTube. This method represents the first two steps in a three-step process to update the banner image for a channel: + * + * - Call the channelBanners.insert method to upload the binary image data to YouTube. The image must have a 16:9 aspect ratio and be at least 2120x1192 + * pixels. + * - Extract the url property's value from the response that the API returns for step 1. + * - Call the channels.update method to update the channel's branding settings. Set the brandingSettings.image.bannerExternalUrl property's value to the + * URL obtained in step 2. + */ + await gapi.client.channelBanners.insert({ + channelId: "channelId", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + }); + /** Deletes a channelSection. */ + await gapi.client.channelSections.delete({ + id: "id", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + }); + /** Adds a channelSection for the authenticated user's channel. */ + await gapi.client.channelSections.insert({ + onBehalfOfContentOwner: "onBehalfOfContentOwner", + onBehalfOfContentOwnerChannel: "onBehalfOfContentOwnerChannel", + part: "part", + }); + /** Returns channelSection resources that match the API request criteria. */ + await gapi.client.channelSections.list({ + channelId: "channelId", + hl: "hl", + id: "id", + mine: true, + onBehalfOfContentOwner: "onBehalfOfContentOwner", + part: "part", + }); + /** Update a channelSection. */ + await gapi.client.channelSections.update({ + onBehalfOfContentOwner: "onBehalfOfContentOwner", + part: "part", + }); + /** Returns a collection of zero or more channel resources that match the request criteria. */ + await gapi.client.channels.list({ + categoryId: "categoryId", + forUsername: "forUsername", + hl: "hl", + id: "id", + managedByMe: true, + maxResults: 6, + mine: true, + mySubscribers: true, + onBehalfOfContentOwner: "onBehalfOfContentOwner", + pageToken: "pageToken", + part: "part", + }); + /** + * Updates a channel's metadata. Note that this method currently only supports updates to the channel resource's brandingSettings and invideoPromotion + * objects and their child properties. + */ + await gapi.client.channels.update({ + onBehalfOfContentOwner: "onBehalfOfContentOwner", + part: "part", + }); + /** Creates a new top-level comment. To add a reply to an existing comment, use the comments.insert method instead. */ + await gapi.client.commentThreads.insert({ + part: "part", + }); + /** Returns a list of comment threads that match the API request parameters. */ + await gapi.client.commentThreads.list({ + allThreadsRelatedToChannelId: "allThreadsRelatedToChannelId", + channelId: "channelId", + id: "id", + maxResults: 4, + moderationStatus: "moderationStatus", + order: "order", + pageToken: "pageToken", + part: "part", + searchTerms: "searchTerms", + textFormat: "textFormat", + videoId: "videoId", + }); + /** Modifies the top-level comment in a comment thread. */ + await gapi.client.commentThreads.update({ + part: "part", + }); + /** Deletes a comment. */ + await gapi.client.comments.delete({ + id: "id", + }); + /** Creates a reply to an existing comment. Note: To create a top-level comment, use the commentThreads.insert method. */ + await gapi.client.comments.insert({ + part: "part", + }); + /** Returns a list of comments that match the API request parameters. */ + await gapi.client.comments.list({ + id: "id", + maxResults: 2, + pageToken: "pageToken", + parentId: "parentId", + part: "part", + textFormat: "textFormat", + }); + /** Expresses the caller's opinion that one or more comments should be flagged as spam. */ + await gapi.client.comments.markAsSpam({ + id: "id", + }); + /** + * Sets the moderation status of one or more comments. The API request must be authorized by the owner of the channel or video associated with the + * comments. + */ + await gapi.client.comments.setModerationStatus({ + banAuthor: true, + id: "id", + moderationStatus: "moderationStatus", + }); + /** Modifies a comment. */ + await gapi.client.comments.update({ + part: "part", + }); + /** Lists fan funding events for a channel. */ + await gapi.client.fanFundingEvents.list({ + hl: "hl", + maxResults: 2, + pageToken: "pageToken", + part: "part", + }); + /** Returns a list of categories that can be associated with YouTube channels. */ + await gapi.client.guideCategories.list({ + hl: "hl", + id: "id", + part: "part", + regionCode: "regionCode", + }); + /** Returns a list of application languages that the YouTube website supports. */ + await gapi.client.i18nLanguages.list({ + hl: "hl", + part: "part", + }); + /** Returns a list of content regions that the YouTube website supports. */ + await gapi.client.i18nRegions.list({ + hl: "hl", + part: "part", + }); + /** + * Binds a YouTube broadcast to a stream or removes an existing binding between a broadcast and a stream. A broadcast can only be bound to one video + * stream, though a video stream may be bound to more than one broadcast. + */ + await gapi.client.liveBroadcasts.bind({ + id: "id", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + onBehalfOfContentOwnerChannel: "onBehalfOfContentOwnerChannel", + part: "part", + streamId: "streamId", + }); + /** Controls the settings for a slate that can be displayed in the broadcast stream. */ + await gapi.client.liveBroadcasts.control({ + displaySlate: true, + id: "id", + offsetTimeMs: "offsetTimeMs", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + onBehalfOfContentOwnerChannel: "onBehalfOfContentOwnerChannel", + part: "part", + walltime: "walltime", + }); + /** Deletes a broadcast. */ + await gapi.client.liveBroadcasts.delete({ + id: "id", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + onBehalfOfContentOwnerChannel: "onBehalfOfContentOwnerChannel", + }); + /** Creates a broadcast. */ + await gapi.client.liveBroadcasts.insert({ + onBehalfOfContentOwner: "onBehalfOfContentOwner", + onBehalfOfContentOwnerChannel: "onBehalfOfContentOwnerChannel", + part: "part", + }); + /** Returns a list of YouTube broadcasts that match the API request parameters. */ + await gapi.client.liveBroadcasts.list({ + broadcastStatus: "broadcastStatus", + broadcastType: "broadcastType", + id: "id", + maxResults: 4, + mine: true, + onBehalfOfContentOwner: "onBehalfOfContentOwner", + onBehalfOfContentOwnerChannel: "onBehalfOfContentOwnerChannel", + pageToken: "pageToken", + part: "part", + }); + /** + * Changes the status of a YouTube live broadcast and initiates any processes associated with the new status. For example, when you transition a + * broadcast's status to testing, YouTube starts to transmit video to that broadcast's monitor stream. Before calling this method, you should confirm that + * the value of the status.streamStatus property for the stream bound to your broadcast is active. + */ + await gapi.client.liveBroadcasts.transition({ + broadcastStatus: "broadcastStatus", + id: "id", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + onBehalfOfContentOwnerChannel: "onBehalfOfContentOwnerChannel", + part: "part", + }); + /** Updates a broadcast. For example, you could modify the broadcast settings defined in the liveBroadcast resource's contentDetails object. */ + await gapi.client.liveBroadcasts.update({ + onBehalfOfContentOwner: "onBehalfOfContentOwner", + onBehalfOfContentOwnerChannel: "onBehalfOfContentOwnerChannel", + part: "part", + }); + /** Removes a chat ban. */ + await gapi.client.liveChatBans.delete({ + id: "id", + }); + /** Adds a new ban to the chat. */ + await gapi.client.liveChatBans.insert({ + part: "part", + }); + /** Deletes a chat message. */ + await gapi.client.liveChatMessages.delete({ + id: "id", + }); + /** Adds a message to a live chat. */ + await gapi.client.liveChatMessages.insert({ + part: "part", + }); + /** Lists live chat messages for a specific chat. */ + await gapi.client.liveChatMessages.list({ + hl: "hl", + liveChatId: "liveChatId", + maxResults: 3, + pageToken: "pageToken", + part: "part", + profileImageSize: 6, + }); + /** Removes a chat moderator. */ + await gapi.client.liveChatModerators.delete({ + id: "id", + }); + /** Adds a new moderator for the chat. */ + await gapi.client.liveChatModerators.insert({ + part: "part", + }); + /** Lists moderators for a live chat. */ + await gapi.client.liveChatModerators.list({ + liveChatId: "liveChatId", + maxResults: 2, + pageToken: "pageToken", + part: "part", + }); + /** Deletes a video stream. */ + await gapi.client.liveStreams.delete({ + id: "id", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + onBehalfOfContentOwnerChannel: "onBehalfOfContentOwnerChannel", + }); + /** Creates a video stream. The stream enables you to send your video to YouTube, which can then broadcast the video to your audience. */ + await gapi.client.liveStreams.insert({ + onBehalfOfContentOwner: "onBehalfOfContentOwner", + onBehalfOfContentOwnerChannel: "onBehalfOfContentOwnerChannel", + part: "part", + }); + /** Returns a list of video streams that match the API request parameters. */ + await gapi.client.liveStreams.list({ + id: "id", + maxResults: 2, + mine: true, + onBehalfOfContentOwner: "onBehalfOfContentOwner", + onBehalfOfContentOwnerChannel: "onBehalfOfContentOwnerChannel", + pageToken: "pageToken", + part: "part", + }); + /** Updates a video stream. If the properties that you want to change cannot be updated, then you need to create a new stream with the proper settings. */ + await gapi.client.liveStreams.update({ + onBehalfOfContentOwner: "onBehalfOfContentOwner", + onBehalfOfContentOwnerChannel: "onBehalfOfContentOwnerChannel", + part: "part", + }); + /** Deletes a playlist item. */ + await gapi.client.playlistItems.delete({ + id: "id", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + }); + /** Adds a resource to a playlist. */ + await gapi.client.playlistItems.insert({ + onBehalfOfContentOwner: "onBehalfOfContentOwner", + part: "part", + }); + /** + * Returns a collection of playlist items that match the API request parameters. You can retrieve all of the playlist items in a specified playlist or + * retrieve one or more playlist items by their unique IDs. + */ + await gapi.client.playlistItems.list({ + id: "id", + maxResults: 2, + onBehalfOfContentOwner: "onBehalfOfContentOwner", + pageToken: "pageToken", + part: "part", + playlistId: "playlistId", + videoId: "videoId", + }); + /** Modifies a playlist item. For example, you could update the item's position in the playlist. */ + await gapi.client.playlistItems.update({ + onBehalfOfContentOwner: "onBehalfOfContentOwner", + part: "part", + }); + /** Deletes a playlist. */ + await gapi.client.playlists.delete({ + id: "id", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + }); + /** Creates a playlist. */ + await gapi.client.playlists.insert({ + onBehalfOfContentOwner: "onBehalfOfContentOwner", + onBehalfOfContentOwnerChannel: "onBehalfOfContentOwnerChannel", + part: "part", + }); + /** + * Returns a collection of playlists that match the API request parameters. For example, you can retrieve all playlists that the authenticated user owns, + * or you can retrieve one or more playlists by their unique IDs. + */ + await gapi.client.playlists.list({ + channelId: "channelId", + hl: "hl", + id: "id", + maxResults: 4, + mine: true, + onBehalfOfContentOwner: "onBehalfOfContentOwner", + onBehalfOfContentOwnerChannel: "onBehalfOfContentOwnerChannel", + pageToken: "pageToken", + part: "part", + }); + /** Modifies a playlist. For example, you could change a playlist's title, description, or privacy status. */ + await gapi.client.playlists.update({ + onBehalfOfContentOwner: "onBehalfOfContentOwner", + part: "part", + }); + /** + * Returns a collection of search results that match the query parameters specified in the API request. By default, a search result set identifies + * matching video, channel, and playlist resources, but you can also configure queries to only retrieve a specific type of resource. + */ + await gapi.client.search.list({ + channelId: "channelId", + channelType: "channelType", + eventType: "eventType", + forContentOwner: true, + forDeveloper: true, + forMine: true, + location: "location", + locationRadius: "locationRadius", + maxResults: 9, + onBehalfOfContentOwner: "onBehalfOfContentOwner", + order: "order", + pageToken: "pageToken", + part: "part", + publishedAfter: "publishedAfter", + publishedBefore: "publishedBefore", + q: "q", + regionCode: "regionCode", + relatedToVideoId: "relatedToVideoId", + relevanceLanguage: "relevanceLanguage", + safeSearch: "safeSearch", + topicId: "topicId", + type: "type", + videoCaption: "videoCaption", + videoCategoryId: "videoCategoryId", + videoDefinition: "videoDefinition", + videoDimension: "videoDimension", + videoDuration: "videoDuration", + videoEmbeddable: "videoEmbeddable", + videoLicense: "videoLicense", + videoSyndicated: "videoSyndicated", + videoType: "videoType", + }); + /** Lists sponsors for a channel. */ + await gapi.client.sponsors.list({ + filter: "filter", + maxResults: 2, + pageToken: "pageToken", + part: "part", + }); + /** Deletes a subscription. */ + await gapi.client.subscriptions.delete({ + id: "id", + }); + /** Adds a subscription for the authenticated user's channel. */ + await gapi.client.subscriptions.insert({ + part: "part", + }); + /** Returns subscription resources that match the API request criteria. */ + await gapi.client.subscriptions.list({ + channelId: "channelId", + forChannelId: "forChannelId", + id: "id", + maxResults: 4, + mine: true, + myRecentSubscribers: true, + mySubscribers: true, + onBehalfOfContentOwner: "onBehalfOfContentOwner", + onBehalfOfContentOwnerChannel: "onBehalfOfContentOwnerChannel", + order: "order", + pageToken: "pageToken", + part: "part", + }); + /** Lists Super Chat events for a channel. */ + await gapi.client.superChatEvents.list({ + hl: "hl", + maxResults: 2, + pageToken: "pageToken", + part: "part", + }); + /** Uploads a custom video thumbnail to YouTube and sets it for a video. */ + await gapi.client.thumbnails.set({ + onBehalfOfContentOwner: "onBehalfOfContentOwner", + videoId: "videoId", + }); + /** Returns a list of abuse reasons that can be used for reporting abusive videos. */ + await gapi.client.videoAbuseReportReasons.list({ + hl: "hl", + part: "part", + }); + /** Returns a list of categories that can be associated with YouTube videos. */ + await gapi.client.videoCategories.list({ + hl: "hl", + id: "id", + part: "part", + regionCode: "regionCode", + }); + /** Deletes a YouTube video. */ + await gapi.client.videos.delete({ + id: "id", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + }); + /** Retrieves the ratings that the authorized user gave to a list of specified videos. */ + await gapi.client.videos.getRating({ + id: "id", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + }); + /** Uploads a video to YouTube and optionally sets the video's metadata. */ + await gapi.client.videos.insert({ + autoLevels: true, + notifySubscribers: true, + onBehalfOfContentOwner: "onBehalfOfContentOwner", + onBehalfOfContentOwnerChannel: "onBehalfOfContentOwnerChannel", + part: "part", + stabilize: true, + }); + /** Returns a list of videos that match the API request parameters. */ + await gapi.client.videos.list({ + chart: "chart", + hl: "hl", + id: "id", + locale: "locale", + maxHeight: 5, + maxResults: 6, + maxWidth: 7, + myRating: "myRating", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + pageToken: "pageToken", + part: "part", + regionCode: "regionCode", + videoCategoryId: "videoCategoryId", + }); + /** Add a like or dislike rating to a video or remove a rating from a video. */ + await gapi.client.videos.rate({ + id: "id", + rating: "rating", + }); + /** Report abuse for a video. */ + await gapi.client.videos.reportAbuse({ + onBehalfOfContentOwner: "onBehalfOfContentOwner", + }); + /** Updates a video's metadata. */ + await gapi.client.videos.update({ + onBehalfOfContentOwner: "onBehalfOfContentOwner", + part: "part", + }); + /** Uploads a watermark image to YouTube and sets it for a channel. */ + await gapi.client.watermarks.set({ + channelId: "channelId", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + }); + /** Deletes a channel's watermark image. */ + await gapi.client.watermarks.unset({ + channelId: "channelId", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + }); + } +}); diff --git a/types/gapi.client.youtube/index.d.ts b/types/gapi.client.youtube/index.d.ts new file mode 100644 index 0000000000..23f46a46f6 --- /dev/null +++ b/types/gapi.client.youtube/index.d.ts @@ -0,0 +1,5732 @@ +// Type definitions for Google YouTube Data API v3 3.0 +// Project: https://developers.google.com/youtube/v3 +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/youtube/v3/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load YouTube Data API v3 */ + function load(name: "youtube", version: "v3"): PromiseLike<void>; + function load(name: "youtube", version: "v3", callback: () => any): void; + + const activities: youtube.ActivitiesResource; + + const captions: youtube.CaptionsResource; + + const channelBanners: youtube.ChannelBannersResource; + + const channelSections: youtube.ChannelSectionsResource; + + const channels: youtube.ChannelsResource; + + const commentThreads: youtube.CommentThreadsResource; + + const comments: youtube.CommentsResource; + + const fanFundingEvents: youtube.FanFundingEventsResource; + + const guideCategories: youtube.GuideCategoriesResource; + + const i18nLanguages: youtube.I18nLanguagesResource; + + const i18nRegions: youtube.I18nRegionsResource; + + const liveBroadcasts: youtube.LiveBroadcastsResource; + + const liveChatBans: youtube.LiveChatBansResource; + + const liveChatMessages: youtube.LiveChatMessagesResource; + + const liveChatModerators: youtube.LiveChatModeratorsResource; + + const liveStreams: youtube.LiveStreamsResource; + + const playlistItems: youtube.PlaylistItemsResource; + + const playlists: youtube.PlaylistsResource; + + const search: youtube.SearchResource; + + const sponsors: youtube.SponsorsResource; + + const subscriptions: youtube.SubscriptionsResource; + + const superChatEvents: youtube.SuperChatEventsResource; + + const thumbnails: youtube.ThumbnailsResource; + + const videoAbuseReportReasons: youtube.VideoAbuseReportReasonsResource; + + const videoCategories: youtube.VideoCategoriesResource; + + const videos: youtube.VideosResource; + + const watermarks: youtube.WatermarksResource; + + namespace youtube { + interface AccessPolicy { + /** The value of allowed indicates whether the access to the policy is allowed or denied by default. */ + allowed?: boolean; + /** A list of region codes that identify countries where the default policy do not apply. */ + exception?: string[]; + } + interface Activity { + /** + * The contentDetails object contains information about the content associated with the activity. For example, if the snippet.type value is videoRated, + * then the contentDetails object's content identifies the rated video. + */ + contentDetails?: ActivityContentDetails; + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube uses to uniquely identify the activity. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#activity". */ + kind?: string; + /** The snippet object contains basic details about the activity, including the activity's type and group ID. */ + snippet?: ActivitySnippet; + } + interface ActivityContentDetails { + /** The bulletin object contains details about a channel bulletin post. This object is only present if the snippet.type is bulletin. */ + bulletin?: ActivityContentDetailsBulletin; + /** + * The channelItem object contains details about a resource which was added to a channel. This property is only present if the snippet.type is + * channelItem. + */ + channelItem?: ActivityContentDetailsChannelItem; + /** The comment object contains information about a resource that received a comment. This property is only present if the snippet.type is comment. */ + comment?: ActivityContentDetailsComment; + /** + * The favorite object contains information about a video that was marked as a favorite video. This property is only present if the snippet.type is + * favorite. + */ + favorite?: ActivityContentDetailsFavorite; + /** + * The like object contains information about a resource that received a positive (like) rating. This property is only present if the snippet.type is + * like. + */ + like?: ActivityContentDetailsLike; + /** The playlistItem object contains information about a new playlist item. This property is only present if the snippet.type is playlistItem. */ + playlistItem?: ActivityContentDetailsPlaylistItem; + /** The promotedItem object contains details about a resource which is being promoted. This property is only present if the snippet.type is promotedItem. */ + promotedItem?: ActivityContentDetailsPromotedItem; + /** The recommendation object contains information about a recommended resource. This property is only present if the snippet.type is recommendation. */ + recommendation?: ActivityContentDetailsRecommendation; + /** The social object contains details about a social network post. This property is only present if the snippet.type is social. */ + social?: ActivityContentDetailsSocial; + /** + * The subscription object contains information about a channel that a user subscribed to. This property is only present if the snippet.type is + * subscription. + */ + subscription?: ActivityContentDetailsSubscription; + /** The upload object contains information about the uploaded video. This property is only present if the snippet.type is upload. */ + upload?: ActivityContentDetailsUpload; + } + interface ActivityContentDetailsBulletin { + /** The resourceId object contains information that identifies the resource associated with a bulletin post. */ + resourceId?: ResourceId; + } + interface ActivityContentDetailsChannelItem { + /** The resourceId object contains information that identifies the resource that was added to the channel. */ + resourceId?: ResourceId; + } + interface ActivityContentDetailsComment { + /** The resourceId object contains information that identifies the resource associated with the comment. */ + resourceId?: ResourceId; + } + interface ActivityContentDetailsFavorite { + /** The resourceId object contains information that identifies the resource that was marked as a favorite. */ + resourceId?: ResourceId; + } + interface ActivityContentDetailsLike { + /** The resourceId object contains information that identifies the rated resource. */ + resourceId?: ResourceId; + } + interface ActivityContentDetailsPlaylistItem { + /** The value that YouTube uses to uniquely identify the playlist. */ + playlistId?: string; + /** ID of the item within the playlist. */ + playlistItemId?: string; + /** The resourceId object contains information about the resource that was added to the playlist. */ + resourceId?: ResourceId; + } + interface ActivityContentDetailsPromotedItem { + /** The URL the client should fetch to request a promoted item. */ + adTag?: string; + /** The URL the client should ping to indicate that the user clicked through on this promoted item. */ + clickTrackingUrl?: string; + /** The URL the client should ping to indicate that the user was shown this promoted item. */ + creativeViewUrl?: string; + /** The type of call-to-action, a message to the user indicating action that can be taken. */ + ctaType?: string; + /** The custom call-to-action button text. If specified, it will override the default button text for the cta_type. */ + customCtaButtonText?: string; + /** The text description to accompany the promoted item. */ + descriptionText?: string; + /** The URL the client should direct the user to, if the user chooses to visit the advertiser's website. */ + destinationUrl?: string; + /** + * The list of forecasting URLs. The client should ping all of these URLs when a promoted item is not available, to indicate that a promoted item could + * have been shown. + */ + forecastingUrl?: string[]; + /** The list of impression URLs. The client should ping all of these URLs to indicate that the user was shown this promoted item. */ + impressionUrl?: string[]; + /** The ID that YouTube uses to uniquely identify the promoted video. */ + videoId?: string; + } + interface ActivityContentDetailsRecommendation { + /** The reason that the resource is recommended to the user. */ + reason?: string; + /** The resourceId object contains information that identifies the recommended resource. */ + resourceId?: ResourceId; + /** The seedResourceId object contains information about the resource that caused the recommendation. */ + seedResourceId?: ResourceId; + } + interface ActivityContentDetailsSocial { + /** The author of the social network post. */ + author?: string; + /** An image of the post's author. */ + imageUrl?: string; + /** The URL of the social network post. */ + referenceUrl?: string; + /** The resourceId object encapsulates information that identifies the resource associated with a social network post. */ + resourceId?: ResourceId; + /** The name of the social network. */ + type?: string; + } + interface ActivityContentDetailsSubscription { + /** The resourceId object contains information that identifies the resource that the user subscribed to. */ + resourceId?: ResourceId; + } + interface ActivityContentDetailsUpload { + /** The ID that YouTube uses to uniquely identify the uploaded video. */ + videoId?: string; + } + interface ActivityListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of activities, or events, that match the request criteria. */ + items?: Activity[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#activityListResponse". */ + kind?: string; + /** The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */ + nextPageToken?: string; + pageInfo?: PageInfo; + /** The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. */ + prevPageToken?: string; + tokenPagination?: any; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface ActivitySnippet { + /** The ID that YouTube uses to uniquely identify the channel associated with the activity. */ + channelId?: string; + /** Channel title for the channel responsible for this activity */ + channelTitle?: string; + /** The description of the resource primarily associated with the activity. */ + description?: string; + /** + * The group ID associated with the activity. A group ID identifies user events that are associated with the same user and resource. For example, if a + * user rates a video and marks the same video as a favorite, the entries for those events would have the same group ID in the user's activity feed. In + * your user interface, you can avoid repetition by grouping events with the same groupId value. + */ + groupId?: string; + /** The date and time that the video was uploaded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + publishedAt?: string; + /** + * A map of thumbnail images associated with the resource that is primarily associated with the activity. For each object in the map, the key is the name + * of the thumbnail image, and the value is an object that contains other information about the thumbnail. + */ + thumbnails?: ThumbnailDetails; + /** The title of the resource primarily associated with the activity. */ + title?: string; + /** The type of activity that the resource describes. */ + type?: string; + } + interface Caption { + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube uses to uniquely identify the caption track. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#caption". */ + kind?: string; + /** The snippet object contains basic details about the caption. */ + snippet?: CaptionSnippet; + } + interface CaptionListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of captions that match the request criteria. */ + items?: Caption[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#captionListResponse". */ + kind?: string; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface CaptionSnippet { + /** The type of audio track associated with the caption track. */ + audioTrackType?: string; + /** The reason that YouTube failed to process the caption track. This property is only present if the state property's value is failed. */ + failureReason?: string; + /** + * Indicates whether YouTube synchronized the caption track to the audio track in the video. The value will be true if a sync was explicitly requested + * when the caption track was uploaded. For example, when calling the captions.insert or captions.update methods, you can set the sync parameter to true + * to instruct YouTube to sync the uploaded track to the video. If the value is false, YouTube uses the time codes in the uploaded caption track to + * determine when to display captions. + */ + isAutoSynced?: boolean; + /** Indicates whether the track contains closed captions for the deaf and hard of hearing. The default value is false. */ + isCC?: boolean; + /** Indicates whether the caption track is a draft. If the value is true, then the track is not publicly visible. The default value is false. */ + isDraft?: boolean; + /** Indicates whether caption track is formatted for "easy reader," meaning it is at a third-grade level for language learners. The default value is false. */ + isEasyReader?: boolean; + /** Indicates whether the caption track uses large text for the vision-impaired. The default value is false. */ + isLarge?: boolean; + /** The language of the caption track. The property value is a BCP-47 language tag. */ + language?: string; + /** The date and time when the caption track was last updated. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + lastUpdated?: string; + /** The name of the caption track. The name is intended to be visible to the user as an option during playback. */ + name?: string; + /** The caption track's status. */ + status?: string; + /** The caption track's type. */ + trackKind?: string; + /** The ID that YouTube uses to uniquely identify the video associated with the caption track. */ + videoId?: string; + } + interface CdnSettings { + /** The format of the video stream that you are sending to Youtube. */ + format?: string; + /** The frame rate of the inbound video data. */ + frameRate?: string; + /** The ingestionInfo object contains information that YouTube provides that you need to transmit your RTMP or HTTP stream to YouTube. */ + ingestionInfo?: IngestionInfo; + /** The method or protocol used to transmit the video stream. */ + ingestionType?: string; + /** The resolution of the inbound video data. */ + resolution?: string; + } + interface Channel { + /** The auditionDetails object encapsulates channel data that is relevant for YouTube Partners during the audition process. */ + auditDetails?: ChannelAuditDetails; + /** The brandingSettings object encapsulates information about the branding of the channel. */ + brandingSettings?: ChannelBrandingSettings; + /** The contentDetails object encapsulates information about the channel's content. */ + contentDetails?: ChannelContentDetails; + /** The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel. */ + contentOwnerDetails?: ChannelContentOwnerDetails; + /** The conversionPings object encapsulates information about conversion pings that need to be respected by the channel. */ + conversionPings?: ChannelConversionPings; + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube uses to uniquely identify the channel. */ + id?: string; + /** The invideoPromotion object encapsulates information about promotion campaign associated with the channel. */ + invideoPromotion?: InvideoPromotion; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#channel". */ + kind?: string; + /** Localizations for different languages */ + localizations?: Record<string, ChannelLocalization>; + /** The snippet object contains basic details about the channel, such as its title, description, and thumbnail images. */ + snippet?: ChannelSnippet; + /** The statistics object encapsulates statistics for the channel. */ + statistics?: ChannelStatistics; + /** The status object encapsulates information about the privacy status of the channel. */ + status?: ChannelStatus; + /** The topicDetails object encapsulates information about Freebase topics associated with the channel. */ + topicDetails?: ChannelTopicDetails; + } + interface ChannelAuditDetails { + /** Whether or not the channel respects the community guidelines. */ + communityGuidelinesGoodStanding?: boolean; + /** Whether or not the channel has any unresolved claims. */ + contentIdClaimsGoodStanding?: boolean; + /** Whether or not the channel has any copyright strikes. */ + copyrightStrikesGoodStanding?: boolean; + /** + * Describes the general state of the channel. This field will always show if there are any issues whatsoever with the channel. Currently this field + * represents the result of the logical and operation over the community guidelines good standing, the copyright strikes good standing and the content ID + * claims good standing, but this may change in the future. + */ + overallGoodStanding?: boolean; + } + interface ChannelBannerResource { + /** Etag of this resource. */ + etag?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#channelBannerResource". */ + kind?: string; + /** The URL of this banner image. */ + url?: string; + } + interface ChannelBrandingSettings { + /** Branding properties for the channel view. */ + channel?: ChannelSettings; + /** Additional experimental branding properties. */ + hints?: PropertyValue[]; + /** Branding properties for branding images. */ + image?: ImageSettings; + /** Branding properties for the watch page. */ + watch?: WatchSettings; + } + interface ChannelContentDetails { + relatedPlaylists?: { + /** + * The ID of the playlist that contains the channel"s favorite videos. Use the playlistItems.insert and playlistItems.delete to add or remove items from + * that list. + */ + favorites?: string; + /** + * The ID of the playlist that contains the channel"s liked videos. Use the playlistItems.insert and playlistItems.delete to add or remove items from + * that list. + */ + likes?: string; + /** + * The ID of the playlist that contains the channel"s uploaded videos. Use the videos.insert method to upload new videos and the videos.delete method to + * delete previously uploaded videos. + */ + uploads?: string; + /** + * The ID of the playlist that contains the channel"s watch history. Use the playlistItems.insert and playlistItems.delete to add or remove items from + * that list. + */ + watchHistory?: string; + /** + * The ID of the playlist that contains the channel"s watch later playlist. Use the playlistItems.insert and playlistItems.delete to add or remove items + * from that list. + */ + watchLater?: string; + }; + } + interface ChannelContentOwnerDetails { + /** The ID of the content owner linked to the channel. */ + contentOwner?: string; + /** The date and time of when the channel was linked to the content owner. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + timeLinked?: string; + } + interface ChannelConversionPing { + /** Defines the context of the ping. */ + context?: string; + /** + * The url (without the schema) that the player shall send the ping to. It's at caller's descretion to decide which schema to use (http vs https) Example + * of a returned url: //googleads.g.doubleclick.net/pagead/ viewthroughconversion/962985656/?data=path%3DtHe_path%3Btype%3D + * cview%3Butuid%3DGISQtTNGYqaYl4sKxoVvKA&labe=default The caller must append biscotti authentication (ms param in case of mobile, for example) to this + * ping. + */ + conversionUrl?: string; + } + interface ChannelConversionPings { + /** + * Pings that the app shall fire (authenticated by biscotti cookie). Each ping has a context, in which the app must fire the ping, and a url identifying + * the ping. + */ + pings?: ChannelConversionPing[]; + } + interface ChannelListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of channels that match the request criteria. */ + items?: Channel[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#channelListResponse". */ + kind?: string; + /** The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */ + nextPageToken?: string; + pageInfo?: PageInfo; + /** The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. */ + prevPageToken?: string; + tokenPagination?: any; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface ChannelLocalization { + /** The localized strings for channel's description. */ + description?: string; + /** The localized strings for channel's title. */ + title?: string; + } + interface ChannelProfileDetails { + /** The YouTube channel ID. */ + channelId?: string; + /** The channel's URL. */ + channelUrl?: string; + /** The channel's display name. */ + displayName?: string; + /** The channels's avatar URL. */ + profileImageUrl?: string; + } + interface ChannelSection { + /** The contentDetails object contains details about the channel section content, such as a list of playlists or channels featured in the section. */ + contentDetails?: ChannelSectionContentDetails; + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube uses to uniquely identify the channel section. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#channelSection". */ + kind?: string; + /** Localizations for different languages */ + localizations?: Record<string, ChannelSectionLocalization>; + /** The snippet object contains basic details about the channel section, such as its type, style and title. */ + snippet?: ChannelSectionSnippet; + /** The targeting object contains basic targeting settings about the channel section. */ + targeting?: ChannelSectionTargeting; + } + interface ChannelSectionContentDetails { + /** The channel ids for type multiple_channels. */ + channels?: string[]; + /** The playlist ids for type single_playlist and multiple_playlists. For singlePlaylist, only one playlistId is allowed. */ + playlists?: string[]; + } + interface ChannelSectionListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of ChannelSections that match the request criteria. */ + items?: ChannelSection[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#channelSectionListResponse". */ + kind?: string; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface ChannelSectionLocalization { + /** The localized strings for channel section's title. */ + title?: string; + } + interface ChannelSectionSnippet { + /** The ID that YouTube uses to uniquely identify the channel that published the channel section. */ + channelId?: string; + /** The language of the channel section's default title and description. */ + defaultLanguage?: string; + /** Localized title, read-only. */ + localized?: ChannelSectionLocalization; + /** The position of the channel section in the channel. */ + position?: number; + /** The style of the channel section. */ + style?: string; + /** The channel section's title for multiple_playlists and multiple_channels. */ + title?: string; + /** The type of the channel section. */ + type?: string; + } + interface ChannelSectionTargeting { + /** The country the channel section is targeting. */ + countries?: string[]; + /** The language the channel section is targeting. */ + languages?: string[]; + /** The region the channel section is targeting. */ + regions?: string[]; + } + interface ChannelSettings { + /** The country of the channel. */ + country?: string; + defaultLanguage?: string; + /** Which content tab users should see when viewing the channel. */ + defaultTab?: string; + /** Specifies the channel description. */ + description?: string; + /** Title for the featured channels tab. */ + featuredChannelsTitle?: string; + /** The list of featured channels. */ + featuredChannelsUrls?: string[]; + /** Lists keywords associated with the channel, comma-separated. */ + keywords?: string; + /** Whether user-submitted comments left on the channel page need to be approved by the channel owner to be publicly visible. */ + moderateComments?: boolean; + /** A prominent color that can be rendered on this channel page. */ + profileColor?: string; + /** Whether the tab to browse the videos should be displayed. */ + showBrowseView?: boolean; + /** Whether related channels should be proposed. */ + showRelatedChannels?: boolean; + /** Specifies the channel title. */ + title?: string; + /** The ID for a Google Analytics account to track and measure traffic to the channels. */ + trackingAnalyticsAccountId?: string; + /** The trailer of the channel, for users that are not subscribers. */ + unsubscribedTrailer?: string; + } + interface ChannelSnippet { + /** The country of the channel. */ + country?: string; + /** The custom url of the channel. */ + customUrl?: string; + /** The language of the channel's default title and description. */ + defaultLanguage?: string; + /** The description of the channel. */ + description?: string; + /** Localized title and description, read-only. */ + localized?: ChannelLocalization; + /** The date and time that the channel was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + publishedAt?: string; + /** + * A map of thumbnail images associated with the channel. For each object in the map, the key is the name of the thumbnail image, and the value is an + * object that contains other information about the thumbnail. + */ + thumbnails?: ThumbnailDetails; + /** The channel's title. */ + title?: string; + } + interface ChannelStatistics { + /** The number of comments for the channel. */ + commentCount?: string; + /** Whether or not the number of subscribers is shown for this user. */ + hiddenSubscriberCount?: boolean; + /** The number of subscribers that the channel has. */ + subscriberCount?: string; + /** The number of videos uploaded to the channel. */ + videoCount?: string; + /** The number of times the channel has been viewed. */ + viewCount?: string; + } + interface ChannelStatus { + /** If true, then the user is linked to either a YouTube username or G+ account. Otherwise, the user doesn't have a public YouTube identity. */ + isLinked?: boolean; + /** The long uploads status of this channel. See */ + longUploadsStatus?: string; + /** Privacy status of the channel. */ + privacyStatus?: string; + } + interface ChannelTopicDetails { + /** A list of Wikipedia URLs that describe the channel's content. */ + topicCategories?: string[]; + /** A list of Freebase topic IDs associated with the channel. You can retrieve information about each topic using the Freebase Topic API. */ + topicIds?: string[]; + } + interface Comment { + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube uses to uniquely identify the comment. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#comment". */ + kind?: string; + /** The snippet object contains basic details about the comment. */ + snippet?: CommentSnippet; + } + interface CommentListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of comments that match the request criteria. */ + items?: Comment[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#commentListResponse". */ + kind?: string; + /** The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */ + nextPageToken?: string; + pageInfo?: PageInfo; + tokenPagination?: any; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface CommentSnippet { + /** The id of the author's YouTube channel, if any. */ + authorChannelId?: any; + /** Link to the author's YouTube channel, if any. */ + authorChannelUrl?: string; + /** The name of the user who posted the comment. */ + authorDisplayName?: string; + /** The URL for the avatar of the user who posted the comment. */ + authorProfileImageUrl?: string; + /** Whether the current viewer can rate this comment. */ + canRate?: boolean; + /** + * The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video comment it's + * the video's channel. + */ + channelId?: string; + /** The total number of likes this comment has received. */ + likeCount?: number; + /** The comment's moderation status. Will not be set if the comments were requested through the id filter. */ + moderationStatus?: string; + /** The unique id of the parent comment, only set for replies. */ + parentId?: string; + /** The date and time when the comment was orignally published. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + publishedAt?: string; + /** + * The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from + * the text originally posted in that it may replace video links with video titles etc. + */ + textDisplay?: string; + /** + * The comment's original raw text as initially posted or last updated. The original text will only be returned if it is accessible to the viewer, which + * is only guaranteed if the viewer is the comment's author. + */ + textOriginal?: string; + /** The date and time when was last updated . The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + updatedAt?: string; + /** The ID of the video the comment refers to, if any. */ + videoId?: string; + /** + * The rating the viewer has given to this comment. For the time being this will never return RATE_TYPE_DISLIKE and instead return RATE_TYPE_NONE. This + * may change in the future. + */ + viewerRating?: string; + } + interface CommentThread { + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube uses to uniquely identify the comment thread. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#commentThread". */ + kind?: string; + /** The replies object contains a limited number of replies (if any) to the top level comment found in the snippet. */ + replies?: CommentThreadReplies; + /** The snippet object contains basic details about the comment thread and also the top level comment. */ + snippet?: CommentThreadSnippet; + } + interface CommentThreadListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of comment threads that match the request criteria. */ + items?: CommentThread[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#commentThreadListResponse". */ + kind?: string; + /** The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */ + nextPageToken?: string; + pageInfo?: PageInfo; + tokenPagination?: any; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface CommentThreadReplies { + /** + * A limited number of replies. Unless the number of replies returned equals total_reply_count in the snippet the returned replies are only a subset of + * the total number of replies. + */ + comments?: Comment[]; + } + interface CommentThreadSnippet { + /** Whether the current viewer of the thread can reply to it. This is viewer specific - other viewers may see a different value for this field. */ + canReply?: boolean; + /** + * The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If video_id isn't set the comments refer + * to the channel itself. + */ + channelId?: string; + /** Whether the thread (and therefore all its comments) is visible to all YouTube users. */ + isPublic?: boolean; + /** The top level comment of this thread. */ + topLevelComment?: Comment; + /** The total number of replies (not including the top level comment). */ + totalReplyCount?: number; + /** The ID of the video the comments refer to, if any. No video_id implies a channel discussion comment. */ + videoId?: string; + } + interface ContentRating { + /** + * The video's Australian Classification Board (ACB) or Australian Communications and Media Authority (ACMA) rating. ACMA ratings are used to classify + * children's television programming. + */ + acbRating?: string; + /** The video's rating from Italy's Autorità per le Garanzie nelle Comunicazioni (AGCOM). */ + agcomRating?: string; + /** The video's Anatel (Asociación Nacional de Televisión) rating for Chilean television. */ + anatelRating?: string; + /** The video's British Board of Film Classification (BBFC) rating. */ + bbfcRating?: string; + /** The video's rating from Thailand's Board of Film and Video Censors. */ + bfvcRating?: string; + /** The video's rating from the Austrian Board of Media Classification (Bundesministerium für Unterricht, Kunst und Kultur). */ + bmukkRating?: string; + /** + * Rating system for Canadian TV - Canadian TV Classification System The video's rating from the Canadian Radio-Television and Telecommunications + * Commission (CRTC) for Canadian English-language broadcasts. For more information, see the Canadian Broadcast Standards Council website. + */ + catvRating?: string; + /** + * The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian French-language broadcasts. For more + * information, see the Canadian Broadcast Standards Council website. + */ + catvfrRating?: string; + /** The video's Central Board of Film Certification (CBFC - India) rating. */ + cbfcRating?: string; + /** The video's Consejo de Calificación Cinematográfica (Chile) rating. */ + cccRating?: string; + /** The video's rating from Portugal's Comissão de Classificação de Espect´culos. */ + cceRating?: string; + /** The video's rating in Switzerland. */ + chfilmRating?: string; + /** The video's Canadian Home Video Rating System (CHVRS) rating. */ + chvrsRating?: string; + /** The video's rating from the Commission de Contrôle des Films (Belgium). */ + cicfRating?: string; + /** The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI (CNA). */ + cnaRating?: string; + /** Rating system in France - Commission de classification cinematographique */ + cncRating?: string; + /** The video's rating from France's Conseil supérieur de l?audiovisuel, which rates broadcast content. */ + csaRating?: string; + /** The video's rating from Luxembourg's Commission de surveillance de la classification des films (CSCF). */ + cscfRating?: string; + /** The video's rating in the Czech Republic. */ + czfilmRating?: string; + /** The video's Departamento de Justiça, Classificação, Qualificação e Títulos (DJCQT - Brazil) rating. */ + djctqRating?: string; + /** Reasons that explain why the video received its DJCQT (Brazil) rating. */ + djctqRatingReasons?: string[]; + /** Rating system in Turkey - Evaluation and Classification Board of the Ministry of Culture and Tourism */ + ecbmctRating?: string; + /** The video's rating in Estonia. */ + eefilmRating?: string; + /** The video's rating in Egypt. */ + egfilmRating?: string; + /** The video's Eirin (映倫) rating. Eirin is the Japanese rating system. */ + eirinRating?: string; + /** The video's rating from Malaysia's Film Censorship Board. */ + fcbmRating?: string; + /** The video's rating from Hong Kong's Office for Film, Newspaper and Article Administration. */ + fcoRating?: string; + /** This property has been deprecated. Use the contentDetails.contentRating.cncRating instead. */ + fmocRating?: string; + /** The video's rating from South Africa's Film and Publication Board. */ + fpbRating?: string; + /** Reasons that explain why the video received its FPB (South Africa) rating. */ + fpbRatingReasons?: string[]; + /** The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany) rating. */ + fskRating?: string; + /** The video's rating in Greece. */ + grfilmRating?: string; + /** The video's Instituto de la Cinematografía y de las Artes Audiovisuales (ICAA - Spain) rating. */ + icaaRating?: string; + /** The video's Irish Film Classification Office (IFCO - Ireland) rating. See the IFCO website for more information. */ + ifcoRating?: string; + /** The video's rating in Israel. */ + ilfilmRating?: string; + /** The video's INCAA (Instituto Nacional de Cine y Artes Audiovisuales - Argentina) rating. */ + incaaRating?: string; + /** The video's rating from the Kenya Film Classification Board. */ + kfcbRating?: string; + /** voor de Classificatie van Audiovisuele Media (Netherlands). */ + kijkwijzerRating?: string; + /** The video's Korea Media Rating Board (영상물등급위원회) rating. The KMRB rates videos in South Korea. */ + kmrbRating?: string; + /** The video's rating from Indonesia's Lembaga Sensor Film. */ + lsfRating?: string; + /** The video's rating from Malta's Film Age-Classification Board. */ + mccaaRating?: string; + /** The video's rating from the Danish Film Institute's (Det Danske Filminstitut) Media Council for Children and Young People. */ + mccypRating?: string; + /** The video's rating system for Vietnam - MCST */ + mcstRating?: string; + /** The video's rating from Singapore's Media Development Authority (MDA) and, specifically, it's Board of Film Censors (BFC). */ + mdaRating?: string; + /** The video's rating from Medietilsynet, the Norwegian Media Authority. */ + medietilsynetRating?: string; + /** The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti (National Audiovisual Institute). */ + mekuRating?: string; + /** The rating system for MENA countries, a clone of MPAA. It is needed to */ + menaMpaaRating?: string; + /** The video's rating from the Ministero dei Beni e delle Attività Culturali e del Turismo (Italy). */ + mibacRating?: string; + /** The video's Ministerio de Cultura (Colombia) rating. */ + mocRating?: string; + /** The video's rating from Taiwan's Ministry of Culture (文化部). */ + moctwRating?: string; + /** The video's Motion Picture Association of America (MPAA) rating. */ + mpaaRating?: string; + /** The rating system for trailer, DVD, and Ad in the US. See http://movielabs.com/md/ratings/v2.3/html/US_MPAAT_Ratings.html. */ + mpaatRating?: string; + /** The video's rating from the Movie and Television Review and Classification Board (Philippines). */ + mtrcbRating?: string; + /** The video's rating from the Maldives National Bureau of Classification. */ + nbcRating?: string; + /** The video's rating in Poland. */ + nbcplRating?: string; + /** The video's rating from the Bulgarian National Film Center. */ + nfrcRating?: string; + /** The video's rating from Nigeria's National Film and Video Censors Board. */ + nfvcbRating?: string; + /** The video's rating from the Nacionãlais Kino centrs (National Film Centre of Latvia). */ + nkclvRating?: string; + /** The video's Office of Film and Literature Classification (OFLC - New Zealand) rating. */ + oflcRating?: string; + /** The video's rating in Peru. */ + pefilmRating?: string; + /** The video's rating from the Hungarian Nemzeti Filmiroda, the Rating Committee of the National Office of Film. */ + rcnofRating?: string; + /** The video's rating in Venezuela. */ + resorteviolenciaRating?: string; + /** The video's General Directorate of Radio, Television and Cinematography (Mexico) rating. */ + rtcRating?: string; + /** The video's rating from Ireland's Raidió Teilifís Éireann. */ + rteRating?: string; + /** The video's National Film Registry of the Russian Federation (MKRF - Russia) rating. */ + russiaRating?: string; + /** The video's rating in Slovakia. */ + skfilmRating?: string; + /** The video's rating in Iceland. */ + smaisRating?: string; + /** The video's rating from Statens medieråd (Sweden's National Media Council). */ + smsaRating?: string; + /** The video's TV Parental Guidelines (TVPG) rating. */ + tvpgRating?: string; + /** A rating that YouTube uses to identify age-restricted content. */ + ytRating?: string; + } + interface FanFundingEvent { + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube assigns to uniquely identify the fan funding event. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#fanFundingEvent". */ + kind?: string; + /** The snippet object contains basic details about the fan funding event. */ + snippet?: FanFundingEventSnippet; + } + interface FanFundingEventListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of fan funding events that match the request criteria. */ + items?: FanFundingEvent[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#fanFundingEventListResponse". */ + kind?: string; + /** The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */ + nextPageToken?: string; + pageInfo?: PageInfo; + tokenPagination?: any; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface FanFundingEventSnippet { + /** The amount of funding in micros of fund_currency. e.g., 1 is represented */ + amountMicros?: string; + /** Channel id where the funding event occurred. */ + channelId?: string; + /** The text contents of the comment left by the user. */ + commentText?: string; + /** The date and time when the funding occurred. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + createdAt?: string; + /** The currency in which the fund was made. ISO 4217. */ + currency?: string; + /** A rendered string that displays the fund amount and currency (e.g., "$1.00"). The string is rendered for the given language. */ + displayString?: string; + /** Details about the supporter. Only filled if the event was made public by the user. */ + supporterDetails?: ChannelProfileDetails; + } + interface GeoPoint { + /** Altitude above the reference ellipsoid, in meters. */ + altitude?: number; + /** Latitude in degrees. */ + latitude?: number; + /** Longitude in degrees. */ + longitude?: number; + } + interface GuideCategory { + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube uses to uniquely identify the guide category. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#guideCategory". */ + kind?: string; + /** The snippet object contains basic details about the category, such as its title. */ + snippet?: GuideCategorySnippet; + } + interface GuideCategoryListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** + * A list of categories that can be associated with YouTube channels. In this map, the category ID is the map key, and its value is the corresponding + * guideCategory resource. + */ + items?: GuideCategory[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#guideCategoryListResponse". */ + kind?: string; + /** The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */ + nextPageToken?: string; + pageInfo?: PageInfo; + /** The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. */ + prevPageToken?: string; + tokenPagination?: any; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface GuideCategorySnippet { + channelId?: string; + /** Description of the guide category. */ + title?: string; + } + interface I18nLanguage { + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube uses to uniquely identify the i18n language. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#i18nLanguage". */ + kind?: string; + /** The snippet object contains basic details about the i18n language, such as language code and human-readable name. */ + snippet?: I18nLanguageSnippet; + } + interface I18nLanguageListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of supported i18n languages. In this map, the i18n language ID is the map key, and its value is the corresponding i18nLanguage resource. */ + items?: I18nLanguage[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#i18nLanguageListResponse". */ + kind?: string; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface I18nLanguageSnippet { + /** A short BCP-47 code that uniquely identifies a language. */ + hl?: string; + /** The human-readable name of the language in the language itself. */ + name?: string; + } + interface I18nRegion { + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube uses to uniquely identify the i18n region. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#i18nRegion". */ + kind?: string; + /** The snippet object contains basic details about the i18n region, such as region code and human-readable name. */ + snippet?: I18nRegionSnippet; + } + interface I18nRegionListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of regions where YouTube is available. In this map, the i18n region ID is the map key, and its value is the corresponding i18nRegion resource. */ + items?: I18nRegion[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#i18nRegionListResponse". */ + kind?: string; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface I18nRegionSnippet { + /** The region code as a 2-letter ISO country code. */ + gl?: string; + /** The human-readable name of the region. */ + name?: string; + } + interface ImageSettings { + /** The URL for the background image shown on the video watch page. The image should be 1200px by 615px, with a maximum file size of 128k. */ + backgroundImageUrl?: LocalizedProperty; + /** This is used only in update requests; if it's set, we use this URL to generate all of the above banner URLs. */ + bannerExternalUrl?: string; + /** Banner image. Desktop size (1060x175). */ + bannerImageUrl?: string; + /** Banner image. Mobile size high resolution (1440x395). */ + bannerMobileExtraHdImageUrl?: string; + /** Banner image. Mobile size high resolution (1280x360). */ + bannerMobileHdImageUrl?: string; + /** Banner image. Mobile size (640x175). */ + bannerMobileImageUrl?: string; + /** Banner image. Mobile size low resolution (320x88). */ + bannerMobileLowImageUrl?: string; + /** Banner image. Mobile size medium/high resolution (960x263). */ + bannerMobileMediumHdImageUrl?: string; + /** Banner image. Tablet size extra high resolution (2560x424). */ + bannerTabletExtraHdImageUrl?: string; + /** Banner image. Tablet size high resolution (2276x377). */ + bannerTabletHdImageUrl?: string; + /** Banner image. Tablet size (1707x283). */ + bannerTabletImageUrl?: string; + /** Banner image. Tablet size low resolution (1138x188). */ + bannerTabletLowImageUrl?: string; + /** Banner image. TV size high resolution (1920x1080). */ + bannerTvHighImageUrl?: string; + /** Banner image. TV size extra high resolution (2120x1192). */ + bannerTvImageUrl?: string; + /** Banner image. TV size low resolution (854x480). */ + bannerTvLowImageUrl?: string; + /** Banner image. TV size medium resolution (1280x720). */ + bannerTvMediumImageUrl?: string; + /** The image map script for the large banner image. */ + largeBrandedBannerImageImapScript?: LocalizedProperty; + /** The URL for the 854px by 70px image that appears below the video player in the expanded video view of the video watch page. */ + largeBrandedBannerImageUrl?: LocalizedProperty; + /** The image map script for the small banner image. */ + smallBrandedBannerImageImapScript?: LocalizedProperty; + /** The URL for the 640px by 70px banner image that appears below the video player in the default view of the video watch page. */ + smallBrandedBannerImageUrl?: LocalizedProperty; + /** The URL for a 1px by 1px tracking pixel that can be used to collect statistics for views of the channel or video pages. */ + trackingImageUrl?: string; + /** + * The URL for the image that appears above the top-left corner of the video player. This is a 25-pixel-high image with a flexible width that cannot + * exceed 170 pixels. + */ + watchIconImageUrl?: string; + } + interface IngestionInfo { + /** + * The backup ingestion URL that you should use to stream video to YouTube. You have the option of simultaneously streaming the content that you are + * sending to the ingestionAddress to this URL. + */ + backupIngestionAddress?: string; + /** + * The primary ingestion URL that you should use to stream video to YouTube. You must stream video to this URL. + * + * Depending on which application or tool you use to encode your video stream, you may need to enter the stream URL and stream name separately or you may + * need to concatenate them in the following format: + * + * STREAM_URL/STREAM_NAME + */ + ingestionAddress?: string; + /** The HTTP or RTMP stream name that YouTube assigns to the video stream. */ + streamName?: string; + } + interface InvideoBranding { + imageBytes?: string; + imageUrl?: string; + position?: InvideoPosition; + targetChannelId?: string; + timing?: InvideoTiming; + } + interface InvideoPosition { + /** Describes in which corner of the video the visual widget will appear. */ + cornerPosition?: string; + /** Defines the position type. */ + type?: string; + } + interface InvideoPromotion { + /** The default temporal position within the video where the promoted item will be displayed. Can be overriden by more specific timing in the item. */ + defaultTiming?: InvideoTiming; + /** List of promoted items in decreasing priority. */ + items?: PromotedItem[]; + /** The spatial position within the video where the promoted item will be displayed. */ + position?: InvideoPosition; + /** + * Indicates whether the channel's promotional campaign uses "smart timing." This feature attempts to show promotions at a point in the video when they + * are more likely to be clicked and less likely to disrupt the viewing experience. This feature also picks up a single promotion to show on each video. + */ + useSmartTiming?: boolean; + } + interface InvideoTiming { + /** Defines the duration in milliseconds for which the promotion should be displayed. If missing, the client should use the default. */ + durationMs?: string; + /** + * Defines the time at which the promotion will appear. Depending on the value of type the value of the offsetMs field will represent a time offset from + * the start or from the end of the video, expressed in milliseconds. + */ + offsetMs?: string; + /** + * Describes a timing type. If the value is offsetFromStart, then the offsetMs field represents an offset from the start of the video. If the value is + * offsetFromEnd, then the offsetMs field represents an offset from the end of the video. + */ + type?: string; + } + interface LanguageTag { + value?: string; + } + interface LiveBroadcast { + /** + * The contentDetails object contains information about the event's video content, such as whether the content can be shown in an embedded video player or + * if it will be archived and therefore available for viewing after the event has concluded. + */ + contentDetails?: LiveBroadcastContentDetails; + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube assigns to uniquely identify the broadcast. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#liveBroadcast". */ + kind?: string; + /** The snippet object contains basic details about the event, including its title, description, start time, and end time. */ + snippet?: LiveBroadcastSnippet; + /** + * The statistics object contains info about the event's current stats. These include concurrent viewers and total chat count. Statistics can change (in + * either direction) during the lifetime of an event. Statistics are only returned while the event is live. + */ + statistics?: LiveBroadcastStatistics; + /** The status object contains information about the event's status. */ + status?: LiveBroadcastStatus; + } + interface LiveBroadcastContentDetails { + /** This value uniquely identifies the live stream bound to the broadcast. */ + boundStreamId?: string; + /** The date and time that the live stream referenced by boundStreamId was last updated. */ + boundStreamLastUpdateTimeMs?: string; + closedCaptionsType?: string; + /** + * This setting indicates whether HTTP POST closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through + * the liveStreams API. This is mutually exclusive with using the closed_captions_type property, and is equivalent to setting closed_captions_type to + * CLOSED_CAPTIONS_HTTP_POST. + */ + enableClosedCaptions?: boolean; + /** This setting indicates whether YouTube should enable content encryption for the broadcast. */ + enableContentEncryption?: boolean; + /** + * This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback + * experience by pausing, rewinding, or fast forwarding content. The default value for this property is true. + * + * + * + * Important: You must set the value to true and also set the enableArchive property's value to true if you want to make playback available immediately + * after the broadcast ends. + */ + enableDvr?: boolean; + /** + * This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive + * property), this setting will also apply to the archived video. + */ + enableEmbed?: boolean; + /** Indicates whether this broadcast has low latency enabled. */ + enableLowLatency?: boolean; + /** + * If both this and enable_low_latency are set, they must match. LATENCY_NORMAL should match enable_low_latency=false LATENCY_LOW should match + * enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency omitted. + */ + latencyPreference?: string; + mesh?: string; + /** + * The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast + * stream is shown publicly. + */ + monitorStream?: MonitorStreamInfo; + /** The projection format of this broadcast. This defaults to rectangular. */ + projection?: string; + /** + * Automatically start recording after the event goes live. The default value for this property is true. + * + * + * + * Important: You must also set the enableDvr property's value to true if you want the playback to be available immediately after the broadcast ends. If + * you set this property's value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived + * video will be available for playback. + */ + recordFromStart?: boolean; + /** + * This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast's status to live. After + * updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint's eventState to end to remove the in-stream slate and + * make your broadcast stream visible to viewers. + */ + startWithSlate?: boolean; + } + interface LiveBroadcastListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of broadcasts that match the request criteria. */ + items?: LiveBroadcast[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#liveBroadcastListResponse". */ + kind?: string; + /** The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */ + nextPageToken?: string; + pageInfo?: PageInfo; + /** The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. */ + prevPageToken?: string; + tokenPagination?: any; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface LiveBroadcastSnippet { + /** + * The date and time that the broadcast actually ended. This information is only available once the broadcast's state is complete. The value is specified + * in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + */ + actualEndTime?: string; + /** + * The date and time that the broadcast actually started. This information is only available once the broadcast's state is live. The value is specified in + * ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + */ + actualStartTime?: string; + /** The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast. */ + channelId?: string; + /** + * The broadcast's description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the + * corresponding video resource. + */ + description?: string; + isDefaultBroadcast?: boolean; + /** The id of the live chat for this broadcast. */ + liveChatId?: string; + /** + * The date and time that the broadcast was added to YouTube's live broadcast schedule. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) + * format. + */ + publishedAt?: string; + /** The date and time that the broadcast is scheduled to end. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + scheduledEndTime?: string; + /** The date and time that the broadcast is scheduled to start. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + scheduledStartTime?: string; + /** + * A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the + * value is an object that contains other information about the thumbnail. + */ + thumbnails?: ThumbnailDetails; + /** + * The broadcast's title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by + * setting the title field of the corresponding video resource. + */ + title?: string; + } + interface LiveBroadcastStatistics { + /** + * The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the + * broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the + * broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended. + */ + concurrentViewers?: string; + /** + * The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live + * chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not + * identify the number of chat messages for an archived video of a completed live broadcast. + */ + totalChatCount?: string; + } + interface LiveBroadcastStatus { + /** The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method. */ + lifeCycleStatus?: string; + /** Priority of the live broadcast event (internal state). */ + liveBroadcastPriority?: string; + /** + * The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported + * for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video + * resource. + */ + privacyStatus?: string; + /** The broadcast's recording status. */ + recordingStatus?: string; + } + interface LiveChatBan { + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube assigns to uniquely identify the ban. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#liveChatBan". */ + kind?: string; + /** The snippet object contains basic details about the ban. */ + snippet?: LiveChatBanSnippet; + } + interface LiveChatBanSnippet { + /** The duration of a ban, only filled if the ban has type TEMPORARY. */ + banDurationSeconds?: string; + bannedUserDetails?: ChannelProfileDetails; + /** The chat this ban is pertinent to. */ + liveChatId?: string; + /** The type of ban. */ + type?: string; + } + interface LiveChatFanFundingEventDetails { + /** A rendered string that displays the fund amount and currency to the user. */ + amountDisplayString?: string; + /** The amount of the fund. */ + amountMicros?: string; + /** The currency in which the fund was made. */ + currency?: string; + /** The comment added by the user to this fan funding event. */ + userComment?: string; + } + interface LiveChatMessage { + /** The authorDetails object contains basic details about the user that posted this message. */ + authorDetails?: LiveChatMessageAuthorDetails; + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube assigns to uniquely identify the message. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#liveChatMessage". */ + kind?: string; + /** The snippet object contains basic details about the message. */ + snippet?: LiveChatMessageSnippet; + } + interface LiveChatMessageAuthorDetails { + /** The YouTube channel ID. */ + channelId?: string; + /** The channel's URL. */ + channelUrl?: string; + /** The channel's display name. */ + displayName?: string; + /** Whether the author is a moderator of the live chat. */ + isChatModerator?: boolean; + /** Whether the author is the owner of the live chat. */ + isChatOwner?: boolean; + /** Whether the author is a sponsor of the live chat. */ + isChatSponsor?: boolean; + /** Whether the author's identity has been verified by YouTube. */ + isVerified?: boolean; + /** The channels's avatar URL. */ + profileImageUrl?: string; + } + interface LiveChatMessageDeletedDetails { + deletedMessageId?: string; + } + interface LiveChatMessageListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of live chat messages. */ + items?: LiveChatMessage[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#liveChatMessageListResponse". */ + kind?: string; + /** The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */ + nextPageToken?: string; + /** The date and time when the underlying stream went offline. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + offlineAt?: string; + pageInfo?: PageInfo; + /** The amount of time the client should wait before polling again. */ + pollingIntervalMillis?: number; + tokenPagination?: any; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface LiveChatMessageRetractedDetails { + retractedMessageId?: string; + } + interface LiveChatMessageSnippet { + /** + * The ID of the user that authored this message, this field is not always filled. textMessageEvent - the user that wrote the message fanFundingEvent - + * the user that funded the broadcast newSponsorEvent - the user that just became a sponsor messageDeletedEvent - the moderator that took the action + * messageRetractedEvent - the author that retracted their message userBannedEvent - the moderator that took the action superChatEvent - the user that + * made the purchase + */ + authorChannelId?: string; + /** + * Contains a string that can be displayed to the user. If this field is not present the message is silent, at the moment only messages of type TOMBSTONE + * and CHAT_ENDED_EVENT are silent. + */ + displayMessage?: string; + /** Details about the funding event, this is only set if the type is 'fanFundingEvent'. */ + fanFundingEventDetails?: LiveChatFanFundingEventDetails; + /** Whether the message has display content that should be displayed to users. */ + hasDisplayContent?: boolean; + liveChatId?: string; + messageDeletedDetails?: LiveChatMessageDeletedDetails; + messageRetractedDetails?: LiveChatMessageRetractedDetails; + pollClosedDetails?: LiveChatPollClosedDetails; + pollEditedDetails?: LiveChatPollEditedDetails; + pollOpenedDetails?: LiveChatPollOpenedDetails; + pollVotedDetails?: LiveChatPollVotedDetails; + /** The date and time when the message was orignally published. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + publishedAt?: string; + /** Details about the Super Chat event, this is only set if the type is 'superChatEvent'. */ + superChatDetails?: LiveChatSuperChatDetails; + /** Details about the text message, this is only set if the type is 'textMessageEvent'. */ + textMessageDetails?: LiveChatTextMessageDetails; + /** The type of message, this will always be present, it determines the contents of the message as well as which fields will be present. */ + type?: string; + userBannedDetails?: LiveChatUserBannedMessageDetails; + } + interface LiveChatModerator { + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube assigns to uniquely identify the moderator. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#liveChatModerator". */ + kind?: string; + /** The snippet object contains basic details about the moderator. */ + snippet?: LiveChatModeratorSnippet; + } + interface LiveChatModeratorListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of moderators that match the request criteria. */ + items?: LiveChatModerator[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#liveChatModeratorListResponse". */ + kind?: string; + /** The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */ + nextPageToken?: string; + pageInfo?: PageInfo; + /** The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. */ + prevPageToken?: string; + tokenPagination?: any; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface LiveChatModeratorSnippet { + /** The ID of the live chat this moderator can act on. */ + liveChatId?: string; + /** Details about the moderator. */ + moderatorDetails?: ChannelProfileDetails; + } + interface LiveChatPollClosedDetails { + /** The id of the poll that was closed. */ + pollId?: string; + } + interface LiveChatPollEditedDetails { + id?: string; + items?: LiveChatPollItem[]; + prompt?: string; + } + interface LiveChatPollItem { + /** Plain text description of the item. */ + description?: string; + itemId?: string; + } + interface LiveChatPollOpenedDetails { + id?: string; + items?: LiveChatPollItem[]; + prompt?: string; + } + interface LiveChatPollVotedDetails { + /** The poll item the user chose. */ + itemId?: string; + /** The poll the user voted on. */ + pollId?: string; + } + interface LiveChatSuperChatDetails { + /** A rendered string that displays the fund amount and currency to the user. */ + amountDisplayString?: string; + /** The amount purchased by the user, in micros (1,750,000 micros = 1.75). */ + amountMicros?: string; + /** The currency in which the purchase was made. */ + currency?: string; + /** The tier in which the amount belongs to. Lower amounts belong to lower tiers. Starts at 1. */ + tier?: number; + /** The comment added by the user to this Super Chat event. */ + userComment?: string; + } + interface LiveChatTextMessageDetails { + /** The user's message. */ + messageText?: string; + } + interface LiveChatUserBannedMessageDetails { + /** The duration of the ban. This property is only present if the banType is temporary. */ + banDurationSeconds?: string; + /** The type of ban. */ + banType?: string; + /** The details of the user that was banned. */ + bannedUserDetails?: ChannelProfileDetails; + } + interface LiveStream { + /** + * The cdn object defines the live stream's content delivery network (CDN) settings. These settings provide details about the manner in which you stream + * your content to YouTube. + */ + cdn?: CdnSettings; + /** The content_details object contains information about the stream, including the closed captions ingestion URL. */ + contentDetails?: LiveStreamContentDetails; + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube assigns to uniquely identify the stream. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#liveStream". */ + kind?: string; + /** The snippet object contains basic details about the stream, including its channel, title, and description. */ + snippet?: LiveStreamSnippet; + /** The status object contains information about live stream's status. */ + status?: LiveStreamStatus; + } + interface LiveStreamConfigurationIssue { + /** The long-form description of the issue and how to resolve it. */ + description?: string; + /** The short-form reason for this issue. */ + reason?: string; + /** How severe this issue is to the stream. */ + severity?: string; + /** The kind of error happening. */ + type?: string; + } + interface LiveStreamContentDetails { + /** The ingestion URL where the closed captions of this stream are sent. */ + closedCaptionsIngestionUrl?: string; + /** + * Indicates whether the stream is reusable, which means that it can be bound to multiple broadcasts. It is common for broadcasters to reuse the same + * stream for many different broadcasts if those broadcasts occur at different times. + * + * If you set this value to false, then the stream will not be reusable, which means that it can only be bound to one broadcast. Non-reusable streams + * differ from reusable streams in the following ways: + * - A non-reusable stream can only be bound to one broadcast. + * - A non-reusable stream might be deleted by an automated process after the broadcast ends. + * - The liveStreams.list method does not list non-reusable streams if you call the method and set the mine parameter to true. The only way to use that + * method to retrieve the resource for a non-reusable stream is to use the id parameter to identify the stream. + */ + isReusable?: boolean; + } + interface LiveStreamHealthStatus { + /** The configurations issues on this stream */ + configurationIssues?: LiveStreamConfigurationIssue[]; + /** The last time this status was updated (in seconds) */ + lastUpdateTimeSeconds?: string; + /** The status code of this stream */ + status?: string; + } + interface LiveStreamListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of live streams that match the request criteria. */ + items?: LiveStream[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#liveStreamListResponse". */ + kind?: string; + /** The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */ + nextPageToken?: string; + pageInfo?: PageInfo; + /** The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. */ + prevPageToken?: string; + tokenPagination?: any; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface LiveStreamSnippet { + /** The ID that YouTube uses to uniquely identify the channel that is transmitting the stream. */ + channelId?: string; + /** The stream's description. The value cannot be longer than 10000 characters. */ + description?: string; + isDefaultStream?: boolean; + /** The date and time that the stream was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + publishedAt?: string; + /** The stream's title. The value must be between 1 and 128 characters long. */ + title?: string; + } + interface LiveStreamStatus { + /** The health status of the stream. */ + healthStatus?: LiveStreamHealthStatus; + streamStatus?: string; + } + interface LocalizedProperty { + default?: string; + /** The language of the default property. */ + defaultLanguage?: LanguageTag; + localized?: LocalizedString[]; + } + interface LocalizedString { + language?: string; + value?: string; + } + interface MonitorStreamInfo { + /** If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay. */ + broadcastStreamDelayMs?: number; + /** HTML code that embeds a player that plays the monitor stream. */ + embedHtml?: string; + /** + * This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event + * content on a special stream intended only for the broadcaster's consumption. The broadcaster can use the stream to review the event content and also to + * identify the optimal times to insert cuepoints. + * + * You need to set this value to true if you intend to have a broadcast delay for your event. + * + * Note: This property cannot be updated once the broadcast is in the testing or live state. + */ + enableMonitorStream?: boolean; + } + interface PageInfo { + /** The number of results included in the API response. */ + resultsPerPage?: number; + /** The total number of results in the result set. */ + totalResults?: number; + } + interface Playlist { + /** The contentDetails object contains information like video count. */ + contentDetails?: PlaylistContentDetails; + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube uses to uniquely identify the playlist. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#playlist". */ + kind?: string; + /** Localizations for different languages */ + localizations?: Record<string, PlaylistLocalization>; + /** The player object contains information that you would use to play the playlist in an embedded player. */ + player?: PlaylistPlayer; + /** The snippet object contains basic details about the playlist, such as its title and description. */ + snippet?: PlaylistSnippet; + /** The status object contains status information for the playlist. */ + status?: PlaylistStatus; + } + interface PlaylistContentDetails { + /** The number of videos in the playlist. */ + itemCount?: number; + } + interface PlaylistItem { + /** + * The contentDetails object is included in the resource if the included item is a YouTube video. The object contains additional information about the + * video. + */ + contentDetails?: PlaylistItemContentDetails; + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube uses to uniquely identify the playlist item. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#playlistItem". */ + kind?: string; + /** The snippet object contains basic details about the playlist item, such as its title and position in the playlist. */ + snippet?: PlaylistItemSnippet; + /** The status object contains information about the playlist item's privacy status. */ + status?: PlaylistItemStatus; + } + interface PlaylistItemContentDetails { + /** + * The time, measured in seconds from the start of the video, when the video should stop playing. (The playlist owner can specify the times when the video + * should start and stop playing when the video is played in the context of the playlist.) By default, assume that the video.endTime is the end of the + * video. + */ + endAt?: string; + /** A user-generated note for this item. */ + note?: string; + /** + * The time, measured in seconds from the start of the video, when the video should start playing. (The playlist owner can specify the times when the + * video should start and stop playing when the video is played in the context of the playlist.) The default value is 0. + */ + startAt?: string; + /** The ID that YouTube uses to uniquely identify a video. To retrieve the video resource, set the id query parameter to this value in your API request. */ + videoId?: string; + /** The date and time that the video was published to YouTube. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + videoPublishedAt?: string; + } + interface PlaylistItemListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of playlist items that match the request criteria. */ + items?: PlaylistItem[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#playlistItemListResponse". */ + kind?: string; + /** The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */ + nextPageToken?: string; + pageInfo?: PageInfo; + /** The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. */ + prevPageToken?: string; + tokenPagination?: any; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface PlaylistItemSnippet { + /** The ID that YouTube uses to uniquely identify the user that added the item to the playlist. */ + channelId?: string; + /** Channel title for the channel that the playlist item belongs to. */ + channelTitle?: string; + /** The item's description. */ + description?: string; + /** The ID that YouTube uses to uniquely identify the playlist that the playlist item is in. */ + playlistId?: string; + /** + * The order in which the item appears in the playlist. The value uses a zero-based index, so the first item has a position of 0, the second item has a + * position of 1, and so forth. + */ + position?: number; + /** The date and time that the item was added to the playlist. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + publishedAt?: string; + /** The id object contains information that can be used to uniquely identify the resource that is included in the playlist as the playlist item. */ + resourceId?: ResourceId; + /** + * A map of thumbnail images associated with the playlist item. For each object in the map, the key is the name of the thumbnail image, and the value is + * an object that contains other information about the thumbnail. + */ + thumbnails?: ThumbnailDetails; + /** The item's title. */ + title?: string; + } + interface PlaylistItemStatus { + /** This resource's privacy status. */ + privacyStatus?: string; + } + interface PlaylistListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of playlists that match the request criteria. */ + items?: Playlist[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#playlistListResponse". */ + kind?: string; + /** The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */ + nextPageToken?: string; + pageInfo?: PageInfo; + /** The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. */ + prevPageToken?: string; + tokenPagination?: any; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface PlaylistLocalization { + /** The localized strings for playlist's description. */ + description?: string; + /** The localized strings for playlist's title. */ + title?: string; + } + interface PlaylistPlayer { + /** An <iframe> tag that embeds a player that will play the playlist. */ + embedHtml?: string; + } + interface PlaylistSnippet { + /** The ID that YouTube uses to uniquely identify the channel that published the playlist. */ + channelId?: string; + /** The channel title of the channel that the video belongs to. */ + channelTitle?: string; + /** The language of the playlist's default title and description. */ + defaultLanguage?: string; + /** The playlist's description. */ + description?: string; + /** Localized title and description, read-only. */ + localized?: PlaylistLocalization; + /** The date and time that the playlist was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + publishedAt?: string; + /** Keyword tags associated with the playlist. */ + tags?: string[]; + /** + * A map of thumbnail images associated with the playlist. For each object in the map, the key is the name of the thumbnail image, and the value is an + * object that contains other information about the thumbnail. + */ + thumbnails?: ThumbnailDetails; + /** The playlist's title. */ + title?: string; + } + interface PlaylistStatus { + /** The playlist's privacy status. */ + privacyStatus?: string; + } + interface PromotedItem { + /** A custom message to display for this promotion. This field is currently ignored unless the promoted item is a website. */ + customMessage?: string; + /** Identifies the promoted item. */ + id?: PromotedItemId; + /** + * If true, the content owner's name will be used when displaying the promotion. This field can only be set when the update is made on behalf of the + * content owner. + */ + promotedByContentOwner?: boolean; + /** The temporal position within the video where the promoted item will be displayed. If present, it overrides the default timing. */ + timing?: InvideoTiming; + } + interface PromotedItemId { + /** + * If type is recentUpload, this field identifies the channel from which to take the recent upload. If missing, the channel is assumed to be the same + * channel for which the invideoPromotion is set. + */ + recentlyUploadedBy?: string; + /** Describes the type of the promoted item. */ + type?: string; + /** + * If the promoted item represents a video, this field represents the unique YouTube ID identifying it. This field will be present only if type has the + * value video. + */ + videoId?: string; + /** + * If the promoted item represents a website, this field represents the url pointing to the website. This field will be present only if type has the value + * website. + */ + websiteUrl?: string; + } + interface PropertyValue { + /** A property. */ + property?: string; + /** The property's value. */ + value?: string; + } + interface ResourceId { + /** + * The ID that YouTube uses to uniquely identify the referred resource, if that resource is a channel. This property is only present if the + * resourceId.kind value is youtube#channel. + */ + channelId?: string; + /** The type of the API resource. */ + kind?: string; + /** + * The ID that YouTube uses to uniquely identify the referred resource, if that resource is a playlist. This property is only present if the + * resourceId.kind value is youtube#playlist. + */ + playlistId?: string; + /** + * The ID that YouTube uses to uniquely identify the referred resource, if that resource is a video. This property is only present if the resourceId.kind + * value is youtube#video. + */ + videoId?: string; + } + interface SearchListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of results that match the search criteria. */ + items?: SearchResult[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#searchListResponse". */ + kind?: string; + /** The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */ + nextPageToken?: string; + pageInfo?: PageInfo; + /** The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. */ + prevPageToken?: string; + regionCode?: string; + tokenPagination?: any; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface SearchResult { + /** Etag of this resource. */ + etag?: string; + /** The id object contains information that can be used to uniquely identify the resource that matches the search request. */ + id?: ResourceId; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#searchResult". */ + kind?: string; + /** + * The snippet object contains basic details about a search result, such as its title or description. For example, if the search result is a video, then + * the title will be the video's title and the description will be the video's description. + */ + snippet?: SearchResultSnippet; + } + interface SearchResultSnippet { + /** The value that YouTube uses to uniquely identify the channel that published the resource that the search result identifies. */ + channelId?: string; + /** The title of the channel that published the resource that the search result identifies. */ + channelTitle?: string; + /** A description of the search result. */ + description?: string; + /** + * It indicates if the resource (video or channel) has upcoming/active live broadcast content. Or it's "none" if there is not any upcoming/active live + * broadcasts. + */ + liveBroadcastContent?: string; + /** The creation date and time of the resource that the search result identifies. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + publishedAt?: string; + /** + * A map of thumbnail images associated with the search result. For each object in the map, the key is the name of the thumbnail image, and the value is + * an object that contains other information about the thumbnail. + */ + thumbnails?: ThumbnailDetails; + /** The title of the search result. */ + title?: string; + } + interface Sponsor { + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube assigns to uniquely identify the sponsor. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#sponsor". */ + kind?: string; + /** The snippet object contains basic details about the sponsor. */ + snippet?: SponsorSnippet; + } + interface SponsorListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of sponsors that match the request criteria. */ + items?: Sponsor[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#sponsorListResponse". */ + kind?: string; + /** The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */ + nextPageToken?: string; + pageInfo?: PageInfo; + tokenPagination?: any; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface SponsorSnippet { + /** The id of the channel being sponsored. */ + channelId?: string; + /** Details about the sponsor. */ + sponsorDetails?: ChannelProfileDetails; + /** The date and time when the user became a sponsor. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + sponsorSince?: string; + } + interface Subscription { + /** The contentDetails object contains basic statistics about the subscription. */ + contentDetails?: SubscriptionContentDetails; + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube uses to uniquely identify the subscription. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#subscription". */ + kind?: string; + /** The snippet object contains basic details about the subscription, including its title and the channel that the user subscribed to. */ + snippet?: SubscriptionSnippet; + /** The subscriberSnippet object contains basic details about the sbuscriber. */ + subscriberSnippet?: SubscriptionSubscriberSnippet; + } + interface SubscriptionContentDetails { + /** The type of activity this subscription is for (only uploads, everything). */ + activityType?: string; + /** The number of new items in the subscription since its content was last read. */ + newItemCount?: number; + /** The approximate number of items that the subscription points to. */ + totalItemCount?: number; + } + interface SubscriptionListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of subscriptions that match the request criteria. */ + items?: Subscription[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#subscriptionListResponse". */ + kind?: string; + /** The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */ + nextPageToken?: string; + pageInfo?: PageInfo; + /** The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. */ + prevPageToken?: string; + tokenPagination?: any; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface SubscriptionSnippet { + /** The ID that YouTube uses to uniquely identify the subscriber's channel. */ + channelId?: string; + /** Channel title for the channel that the subscription belongs to. */ + channelTitle?: string; + /** The subscription's details. */ + description?: string; + /** The date and time that the subscription was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + publishedAt?: string; + /** The id object contains information about the channel that the user subscribed to. */ + resourceId?: ResourceId; + /** + * A map of thumbnail images associated with the video. For each object in the map, the key is the name of the thumbnail image, and the value is an object + * that contains other information about the thumbnail. + */ + thumbnails?: ThumbnailDetails; + /** The subscription's title. */ + title?: string; + } + interface SubscriptionSubscriberSnippet { + /** The channel ID of the subscriber. */ + channelId?: string; + /** The description of the subscriber. */ + description?: string; + /** Thumbnails for this subscriber. */ + thumbnails?: ThumbnailDetails; + /** The title of the subscriber. */ + title?: string; + } + interface SuperChatEvent { + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube assigns to uniquely identify the Super Chat event. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#superChatEvent". */ + kind?: string; + /** The snippet object contains basic details about the Super Chat event. */ + snippet?: SuperChatEventSnippet; + } + interface SuperChatEventListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of Super Chat purchases that match the request criteria. */ + items?: SuperChatEvent[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#superChatEventListResponse". */ + kind?: string; + /** The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */ + nextPageToken?: string; + pageInfo?: PageInfo; + tokenPagination?: any; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface SuperChatEventSnippet { + /** The purchase amount, in micros of the purchase currency. e.g., 1 is represented as 1000000. */ + amountMicros?: string; + /** Channel id where the event occurred. */ + channelId?: string; + /** The text contents of the comment left by the user. */ + commentText?: string; + /** The date and time when the event occurred. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + createdAt?: string; + /** The currency in which the purchase was made. ISO 4217. */ + currency?: string; + /** A rendered string that displays the purchase amount and currency (e.g., "$1.00"). The string is rendered for the given language. */ + displayString?: string; + /** The tier for the paid message, which is based on the amount of money spent to purchase the message. */ + messageType?: number; + /** Details about the supporter. */ + supporterDetails?: ChannelProfileDetails; + } + interface Thumbnail { + /** (Optional) Height of the thumbnail image. */ + height?: number; + /** The thumbnail image's URL. */ + url?: string; + /** (Optional) Width of the thumbnail image. */ + width?: number; + } + interface ThumbnailDetails { + /** The default image for this resource. */ + default?: Thumbnail; + /** The high quality image for this resource. */ + high?: Thumbnail; + /** The maximum resolution quality image for this resource. */ + maxres?: Thumbnail; + /** The medium quality image for this resource. */ + medium?: Thumbnail; + /** The standard quality image for this resource. */ + standard?: Thumbnail; + } + interface ThumbnailSetResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of thumbnails. */ + items?: ThumbnailDetails[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#thumbnailSetResponse". */ + kind?: string; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface Video { + /** Age restriction details related to a video. This data can only be retrieved by the video owner. */ + ageGating?: VideoAgeGating; + /** The contentDetails object contains information about the video content, including the length of the video and its aspect ratio. */ + contentDetails?: VideoContentDetails; + /** Etag of this resource. */ + etag?: string; + /** + * The fileDetails object encapsulates information about the video file that was uploaded to YouTube, including the file's resolution, duration, audio and + * video codecs, stream bitrates, and more. This data can only be retrieved by the video owner. + */ + fileDetails?: VideoFileDetails; + /** The ID that YouTube uses to uniquely identify the video. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#video". */ + kind?: string; + /** + * The liveStreamingDetails object contains metadata about a live video broadcast. The object will only be present in a video resource if the video is an + * upcoming, live, or completed live broadcast. + */ + liveStreamingDetails?: VideoLiveStreamingDetails; + /** List with all localizations. */ + localizations?: Record<string, VideoLocalization>; + /** The monetizationDetails object encapsulates information about the monetization status of the video. */ + monetizationDetails?: VideoMonetizationDetails; + /** The player object contains information that you would use to play the video in an embedded player. */ + player?: VideoPlayer; + /** + * The processingProgress object encapsulates information about YouTube's progress in processing the uploaded video file. The properties in the object + * identify the current processing status and an estimate of the time remaining until YouTube finishes processing the video. This part also indicates + * whether different types of data or content, such as file details or thumbnail images, are available for the video. + * + * The processingProgress object is designed to be polled so that the video uploaded can track the progress that YouTube has made in processing the + * uploaded video file. This data can only be retrieved by the video owner. + */ + processingDetails?: VideoProcessingDetails; + /** The projectDetails object contains information about the project specific video metadata. */ + projectDetails?: VideoProjectDetails; + /** The recordingDetails object encapsulates information about the location, date and address where the video was recorded. */ + recordingDetails?: VideoRecordingDetails; + /** The snippet object contains basic details about the video, such as its title, description, and category. */ + snippet?: VideoSnippet; + /** The statistics object contains statistics about the video. */ + statistics?: VideoStatistics; + /** The status object contains information about the video's uploading, processing, and privacy statuses. */ + status?: VideoStatus; + /** + * The suggestions object encapsulates suggestions that identify opportunities to improve the video quality or the metadata for the uploaded video. This + * data can only be retrieved by the video owner. + */ + suggestions?: VideoSuggestions; + /** The topicDetails object encapsulates information about Freebase topics associated with the video. */ + topicDetails?: VideoTopicDetails; + } + interface VideoAbuseReport { + /** Additional comments regarding the abuse report. */ + comments?: string; + /** The language that the content was viewed in. */ + language?: string; + /** The high-level, or primary, reason that the content is abusive. The value is an abuse report reason ID. */ + reasonId?: string; + /** + * The specific, or secondary, reason that this content is abusive (if available). The value is an abuse report reason ID that is a valid secondary reason + * for the primary reason. + */ + secondaryReasonId?: string; + /** The ID that YouTube uses to uniquely identify the video. */ + videoId?: string; + } + interface VideoAbuseReportReason { + /** Etag of this resource. */ + etag?: string; + /** The ID of this abuse report reason. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#videoAbuseReportReason". */ + kind?: string; + /** The snippet object contains basic details about the abuse report reason. */ + snippet?: VideoAbuseReportReasonSnippet; + } + interface VideoAbuseReportReasonListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of valid abuse reasons that are used with video.ReportAbuse. */ + items?: VideoAbuseReportReason[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#videoAbuseReportReasonListResponse". */ + kind?: string; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface VideoAbuseReportReasonSnippet { + /** The localized label belonging to this abuse report reason. */ + label?: string; + /** The secondary reasons associated with this reason, if any are available. (There might be 0 or more.) */ + secondaryReasons?: VideoAbuseReportSecondaryReason[]; + } + interface VideoAbuseReportSecondaryReason { + /** The ID of this abuse report secondary reason. */ + id?: string; + /** The localized label for this abuse report secondary reason. */ + label?: string; + } + interface VideoAgeGating { + /** + * Indicates whether or not the video has alcoholic beverage content. Only users of legal purchasing age in a particular country, as identified by ICAP, + * can view the content. + */ + alcoholContent?: boolean; + /** + * Age-restricted trailers. For redband trailers and adult-rated video-games. Only users aged 18+ can view the content. The the field is true the content + * is restricted to viewers aged 18+. Otherwise The field won't be present. + */ + restricted?: boolean; + /** Video game rating, if any. */ + videoGameRating?: string; + } + interface VideoCategory { + /** Etag of this resource. */ + etag?: string; + /** The ID that YouTube uses to uniquely identify the video category. */ + id?: string; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#videoCategory". */ + kind?: string; + /** The snippet object contains basic details about the video category, including its title. */ + snippet?: VideoCategorySnippet; + } + interface VideoCategoryListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** + * A list of video categories that can be associated with YouTube videos. In this map, the video category ID is the map key, and its value is the + * corresponding videoCategory resource. + */ + items?: VideoCategory[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#videoCategoryListResponse". */ + kind?: string; + /** The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */ + nextPageToken?: string; + pageInfo?: PageInfo; + /** The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. */ + prevPageToken?: string; + tokenPagination?: any; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface VideoCategorySnippet { + assignable?: boolean; + /** The YouTube channel that created the video category. */ + channelId?: string; + /** The video category's title. */ + title?: string; + } + interface VideoContentDetails { + /** The value of captions indicates whether the video has captions or not. */ + caption?: string; + /** Specifies the ratings that the video received under various rating schemes. */ + contentRating?: ContentRating; + /** The countryRestriction object contains information about the countries where a video is (or is not) viewable. */ + countryRestriction?: AccessPolicy; + /** The value of definition indicates whether the video is available in high definition or only in standard definition. */ + definition?: string; + /** The value of dimension indicates whether the video is available in 3D or in 2D. */ + dimension?: string; + /** + * The length of the video. The tag value is an ISO 8601 duration in the format PT#M#S, in which the letters PT indicate that the value specifies a period + * of time, and the letters M and S refer to length in minutes and seconds, respectively. The # characters preceding the M and S letters are both integers + * that specify the number of minutes (or seconds) of the video. For example, a value of PT15M51S indicates that the video is 15 minutes and 51 seconds + * long. + */ + duration?: string; + /** Indicates whether the video uploader has provided a custom thumbnail image for the video. This property is only visible to the video uploader. */ + hasCustomThumbnail?: boolean; + /** The value of is_license_content indicates whether the video is licensed content. */ + licensedContent?: boolean; + /** Specifies the projection format of the video. */ + projection?: string; + /** + * The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the + * contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property. + */ + regionRestriction?: VideoContentDetailsRegionRestriction; + } + interface VideoContentDetailsRegionRestriction { + /** + * A list of region codes that identify countries where the video is viewable. If this property is present and a country is not listed in its value, then + * the video is blocked from appearing in that country. If this property is present and contains an empty list, the video is blocked in all countries. + */ + allowed?: string[]; + /** + * A list of region codes that identify countries where the video is blocked. If this property is present and a country is not listed in its value, then + * the video is viewable in that country. If this property is present and contains an empty list, the video is viewable in all countries. + */ + blocked?: string[]; + } + interface VideoFileDetails { + /** A list of audio streams contained in the uploaded video file. Each item in the list contains detailed metadata about an audio stream. */ + audioStreams?: VideoFileDetailsAudioStream[]; + /** The uploaded video file's combined (video and audio) bitrate in bits per second. */ + bitrateBps?: string; + /** The uploaded video file's container format. */ + container?: string; + /** + * The date and time when the uploaded video file was created. The value is specified in ISO 8601 format. Currently, the following ISO 8601 formats are + * supported: + * - Date only: YYYY-MM-DD + * - Naive time: YYYY-MM-DDTHH:MM:SS + * - Time with timezone: YYYY-MM-DDTHH:MM:SS+HH:MM + */ + creationTime?: string; + /** The length of the uploaded video in milliseconds. */ + durationMs?: string; + /** The uploaded file's name. This field is present whether a video file or another type of file was uploaded. */ + fileName?: string; + /** The uploaded file's size in bytes. This field is present whether a video file or another type of file was uploaded. */ + fileSize?: string; + /** + * The uploaded file's type as detected by YouTube's video processing engine. Currently, YouTube only processes video files, but this field is present + * whether a video file or another type of file was uploaded. + */ + fileType?: string; + /** A list of video streams contained in the uploaded video file. Each item in the list contains detailed metadata about a video stream. */ + videoStreams?: VideoFileDetailsVideoStream[]; + } + interface VideoFileDetailsAudioStream { + /** The audio stream's bitrate, in bits per second. */ + bitrateBps?: string; + /** The number of audio channels that the stream contains. */ + channelCount?: number; + /** The audio codec that the stream uses. */ + codec?: string; + /** A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code. */ + vendor?: string; + } + interface VideoFileDetailsVideoStream { + /** The video content's display aspect ratio, which specifies the aspect ratio in which the video should be displayed. */ + aspectRatio?: number; + /** The video stream's bitrate, in bits per second. */ + bitrateBps?: string; + /** The video codec that the stream uses. */ + codec?: string; + /** The video stream's frame rate, in frames per second. */ + frameRateFps?: number; + /** The encoded video content's height in pixels. */ + heightPixels?: number; + /** The amount that YouTube needs to rotate the original source content to properly display the video. */ + rotation?: string; + /** A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code. */ + vendor?: string; + /** The encoded video content's width in pixels. You can calculate the video's encoding aspect ratio as width_pixels / height_pixels. */ + widthPixels?: number; + } + interface VideoGetRatingResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of ratings that match the request criteria. */ + items?: VideoRating[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#videoGetRatingResponse". */ + kind?: string; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface VideoListResponse { + /** Etag of this resource. */ + etag?: string; + /** Serialized EventId of the request which produced this response. */ + eventId?: string; + /** A list of videos that match the request criteria. */ + items?: Video[]; + /** Identifies what kind of resource this is. Value: the fixed string "youtube#videoListResponse". */ + kind?: string; + /** The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */ + nextPageToken?: string; + pageInfo?: PageInfo; + /** The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. */ + prevPageToken?: string; + tokenPagination?: any; + /** The visitorId identifies the visitor. */ + visitorId?: string; + } + interface VideoLiveStreamingDetails { + /** + * The ID of the currently active live chat attached to this video. This field is filled only if the video is a currently live broadcast that has live + * chat. Once the broadcast transitions to complete this field will be removed and the live chat closed down. For persistent broadcasts that live chat id + * will no longer be tied to this video but rather to the new video being displayed at the persistent page. + */ + activeLiveChatId?: string; + /** + * The time that the broadcast actually ended. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. This value will not be available until + * the broadcast is over. + */ + actualEndTime?: string; + /** + * The time that the broadcast actually started. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. This value will not be available + * until the broadcast begins. + */ + actualStartTime?: string; + /** + * The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the + * broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the + * broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended. + */ + concurrentViewers?: string; + /** + * The time that the broadcast is scheduled to end. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. If the value is empty or the + * property is not present, then the broadcast is scheduled to continue indefinitely. + */ + scheduledEndTime?: string; + /** The time that the broadcast is scheduled to begin. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + scheduledStartTime?: string; + } + interface VideoLocalization { + /** Localized version of the video's description. */ + description?: string; + /** Localized version of the video's title. */ + title?: string; + } + interface VideoMonetizationDetails { + /** The value of access indicates whether the video can be monetized or not. */ + access?: AccessPolicy; + } + interface VideoPlayer { + embedHeight?: string; + /** An <iframe> tag that embeds a player that will play the video. */ + embedHtml?: string; + /** The embed width */ + embedWidth?: string; + } + interface VideoProcessingDetails { + /** + * This value indicates whether video editing suggestions, which might improve video quality or the playback experience, are available for the video. You + * can retrieve these suggestions by requesting the suggestions part in your videos.list() request. + */ + editorSuggestionsAvailability?: string; + /** + * This value indicates whether file details are available for the uploaded video. You can retrieve a video's file details by requesting the fileDetails + * part in your videos.list() request. + */ + fileDetailsAvailability?: string; + /** The reason that YouTube failed to process the video. This property will only have a value if the processingStatus property's value is failed. */ + processingFailureReason?: string; + /** + * This value indicates whether the video processing engine has generated suggestions that might improve YouTube's ability to process the the video, + * warnings that explain video processing problems, or errors that cause video processing problems. You can retrieve these suggestions by requesting the + * suggestions part in your videos.list() request. + */ + processingIssuesAvailability?: string; + /** + * The processingProgress object contains information about the progress YouTube has made in processing the video. The values are really only relevant if + * the video's processing status is processing. + */ + processingProgress?: VideoProcessingDetailsProcessingProgress; + /** The video's processing status. This value indicates whether YouTube was able to process the video or if the video is still being processed. */ + processingStatus?: string; + /** + * This value indicates whether keyword (tag) suggestions are available for the video. Tags can be added to a video's metadata to make it easier for other + * users to find the video. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request. + */ + tagSuggestionsAvailability?: string; + /** This value indicates whether thumbnail images have been generated for the video. */ + thumbnailsAvailability?: string; + } + interface VideoProcessingDetailsProcessingProgress { + /** + * The number of parts of the video that YouTube has already processed. You can estimate the percentage of the video that YouTube has already processed by + * calculating: + * 100 * parts_processed / parts_total + * + * Note that since the estimated number of parts could increase without a corresponding increase in the number of parts that have already been processed, + * it is possible that the calculated progress could periodically decrease while YouTube processes a video. + */ + partsProcessed?: string; + /** + * An estimate of the total number of parts that need to be processed for the video. The number may be updated with more precise estimates while YouTube + * processes the video. + */ + partsTotal?: string; + /** An estimate of the amount of time, in millseconds, that YouTube needs to finish processing the video. */ + timeLeftMs?: string; + } + interface VideoProjectDetails { + /** A list of project tags associated with the video during the upload. */ + tags?: string[]; + } + interface VideoRating { + rating?: string; + videoId?: string; + } + interface VideoRecordingDetails { + /** The geolocation information associated with the video. */ + location?: GeoPoint; + /** The text description of the location where the video was recorded. */ + locationDescription?: string; + /** The date and time when the video was recorded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format. */ + recordingDate?: string; + } + interface VideoSnippet { + /** The YouTube video category associated with the video. */ + categoryId?: string; + /** The ID that YouTube uses to uniquely identify the channel that the video was uploaded to. */ + channelId?: string; + /** Channel title for the channel that the video belongs to. */ + channelTitle?: string; + /** The default_audio_language property specifies the language spoken in the video's default audio track. */ + defaultAudioLanguage?: string; + /** The language of the videos's default snippet. */ + defaultLanguage?: string; + /** The video's description. */ + description?: string; + /** Indicates if the video is an upcoming/active live broadcast. Or it's "none" if the video is not an upcoming/active live broadcast. */ + liveBroadcastContent?: string; + /** Localized snippet selected with the hl parameter. If no such localization exists, this field is populated with the default snippet. (Read-only) */ + localized?: VideoLocalization; + /** The date and time that the video was uploaded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. */ + publishedAt?: string; + /** A list of keyword tags associated with the video. Tags may contain spaces. */ + tags?: string[]; + /** + * A map of thumbnail images associated with the video. For each object in the map, the key is the name of the thumbnail image, and the value is an object + * that contains other information about the thumbnail. + */ + thumbnails?: ThumbnailDetails; + /** The video's title. */ + title?: string; + } + interface VideoStatistics { + /** The number of comments for the video. */ + commentCount?: string; + /** The number of users who have indicated that they disliked the video by giving it a negative rating. */ + dislikeCount?: string; + /** The number of users who currently have the video marked as a favorite video. */ + favoriteCount?: string; + /** The number of users who have indicated that they liked the video by giving it a positive rating. */ + likeCount?: string; + /** The number of times the video has been viewed. */ + viewCount?: string; + } + interface VideoStatus { + /** This value indicates if the video can be embedded on another website. */ + embeddable?: boolean; + /** This value explains why a video failed to upload. This property is only present if the uploadStatus property indicates that the upload failed. */ + failureReason?: string; + /** The video's license. */ + license?: string; + /** The video's privacy status. */ + privacyStatus?: string; + /** + * This value indicates if the extended video statistics on the watch page can be viewed by everyone. Note that the view count, likes, etc will still be + * visible if this is disabled. + */ + publicStatsViewable?: boolean; + /** + * The date and time when the video is scheduled to publish. It can be set only if the privacy status of the video is private. The value is specified in + * ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + */ + publishAt?: string; + /** + * This value explains why YouTube rejected an uploaded video. This property is only present if the uploadStatus property indicates that the upload was + * rejected. + */ + rejectionReason?: string; + /** The status of the uploaded video. */ + uploadStatus?: string; + } + interface VideoSuggestions { + /** A list of video editing operations that might improve the video quality or playback experience of the uploaded video. */ + editorSuggestions?: string[]; + /** + * A list of errors that will prevent YouTube from successfully processing the uploaded video video. These errors indicate that, regardless of the video's + * current processing status, eventually, that status will almost certainly be failed. + */ + processingErrors?: string[]; + /** A list of suggestions that may improve YouTube's ability to process the video. */ + processingHints?: string[]; + /** + * A list of reasons why YouTube may have difficulty transcoding the uploaded video or that might result in an erroneous transcoding. These warnings are + * generated before YouTube actually processes the uploaded video file. In addition, they identify issues that are unlikely to cause the video processing + * to fail but that might cause problems such as sync issues, video artifacts, or a missing audio track. + */ + processingWarnings?: string[]; + /** + * A list of keyword tags that could be added to the video's metadata to increase the likelihood that users will locate your video when searching or + * browsing on YouTube. + */ + tagSuggestions?: VideoSuggestionsTagSuggestion[]; + } + interface VideoSuggestionsTagSuggestion { + /** + * A set of video categories for which the tag is relevant. You can use this information to display appropriate tag suggestions based on the video + * category that the video uploader associates with the video. By default, tag suggestions are relevant for all categories if there are no restricts + * defined for the keyword. + */ + categoryRestricts?: string[]; + /** The keyword tag suggested for the video. */ + tag?: string; + } + interface VideoTopicDetails { + /** + * Similar to topic_id, except that these topics are merely relevant to the video. These are topics that may be mentioned in, or appear in the video. You + * can retrieve information about each topic using Freebase Topic API. + */ + relevantTopicIds?: string[]; + /** A list of Wikipedia URLs that provide a high-level description of the video's content. */ + topicCategories?: string[]; + /** + * A list of Freebase topic IDs that are centrally associated with the video. These are topics that are centrally featured in the video, and it can be + * said that the video is mainly about each of these. You can retrieve information about each topic using the Freebase Topic API. + */ + topicIds?: string[]; + } + interface WatchSettings { + /** The text color for the video watch page's branded area. */ + backgroundColor?: string; + /** An ID that uniquely identifies a playlist that displays next to the video player. */ + featuredPlaylistId?: string; + /** The background color for the video watch page's branded area. */ + textColor?: string; + } + interface ActivitiesResource { + /** + * Posts a bulletin for a specific channel. (The user submitting the request must be authorized to act on the channel's behalf.) + * + * Note: Even though an activity resource can contain information about actions like a user rating a video or marking a video as a favorite, you need to + * use other API methods to generate those activity resources. For example, you would use the API's videos.rate() method to rate a video and the + * playlistItems.insert() method to mark a video as a favorite. + */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that + * the API response will include. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Activity>; + /** + * Returns a list of channel activity events that match the request criteria. For example, you can retrieve events associated with a particular channel, + * events associated with the user's subscriptions and Google+ friends, or the YouTube home page feed, which is customized for each user. + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The channelId parameter specifies a unique YouTube channel ID. The API will then return a list of that channel's activities. */ + channelId?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** Set this parameter's value to true to retrieve the activity feed that displays on the YouTube home page for the currently authenticated user. */ + home?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maxResults parameter specifies the maximum number of items that should be returned in the result set. */ + maxResults?: number; + /** Set this parameter's value to true to retrieve a feed of the authenticated user's activities. */ + mine?: boolean; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken + * properties identify other pages that could be retrieved. + */ + pageToken?: string; + /** + * The part parameter specifies a comma-separated list of one or more activity resource properties that the API response will include. + * + * If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in an + * activity resource, the snippet property contains other properties that identify the type of activity, a display title for the activity, and so forth. + * If you set part=snippet, the API response will also contain all of those nested properties. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The publishedAfter parameter specifies the earliest date and time that an activity could have occurred for that activity to be included in the API + * response. If the parameter value specifies a day, but not a time, then any activities that occurred that day will be included in the result set. The + * value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + */ + publishedAfter?: string; + /** + * The publishedBefore parameter specifies the date and time before which an activity must have occurred for that activity to be included in the API + * response. If the parameter value specifies a day, but not a time, then any activities that occurred that day will be excluded from the result set. The + * value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + */ + publishedBefore?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The regionCode parameter instructs the API to return results for the specified country. The parameter value is an ISO 3166-1 alpha-2 country code. + * YouTube uses this value when the authorized user's previous activity on YouTube does not provide enough information to generate the activity feed. + */ + regionCode?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ActivityListResponse>; + } + interface CaptionsResource { + /** Deletes a specified caption track. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The id parameter identifies the caption track that is being deleted. The value is a caption track ID as identified by the id property in a caption + * resource. + */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** ID of the Google+ Page for the channel that the request is be on behalf of */ + onBehalfOf?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Downloads a caption track. The caption track is returned in its original format unless the request specifies a value for the tfmt parameter and in its + * original language unless the request specifies a value for the tlang parameter. + */ + download(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The id parameter identifies the caption track that is being retrieved. The value is a caption track ID as identified by the id property in a caption + * resource. + */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** ID of the Google+ Page for the channel that the request is be on behalf of */ + onBehalfOf?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The tfmt parameter specifies that the caption track should be returned in a specific format. If the parameter is not included in the request, the track + * is returned in its original format. + */ + tfmt?: string; + /** + * The tlang parameter specifies that the API response should return a translation of the specified caption track. The parameter value is an ISO 639-1 + * two-letter language code that identifies the desired caption language. The translation is generated by using machine translation, such as Google + * Translate. + */ + tlang?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Uploads a caption track. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** ID of the Google+ Page for the channel that the request is be on behalf of */ + onBehalfOf?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** The part parameter specifies the caption resource parts that the API response will include. Set the parameter value to snippet. */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The sync parameter indicates whether YouTube should automatically synchronize the caption file with the audio track of the video. If you set the value + * to true, YouTube will disregard any time codes that are in the uploaded caption file and generate new time codes for the captions. + * + * You should set the sync parameter to true if you are uploading a transcript, which has no time codes, or if you suspect the time codes in your file are + * incorrect and want YouTube to try to fix them. + */ + sync?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Caption>; + /** + * Returns a list of caption tracks that are associated with a specified video. Note that the API response does not contain the actual captions and that + * the captions.download method provides the ability to retrieve a caption track. + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The id parameter specifies a comma-separated list of IDs that identify the caption resources that should be retrieved. Each ID must identify a caption + * track associated with the specified video. + */ + id?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** ID of the Google+ Page for the channel that the request is on behalf of. */ + onBehalfOf?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * The part parameter specifies a comma-separated list of one or more caption resource parts that the API response will include. The part names that you + * can include in the parameter value are id and snippet. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The videoId parameter specifies the YouTube video ID of the video for which the API should return caption tracks. */ + videoId: string; + }): Request<CaptionListResponse>; + /** Updates a caption track. When updating a caption track, you can change the track's draft status, upload a new caption file for the track, or both. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** ID of the Google+ Page for the channel that the request is be on behalf of */ + onBehalfOf?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that + * the API response will include. Set the property value to snippet if you are updating the track's draft status. Otherwise, set the property value to id. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * Note: The API server only processes the parameter value if the request contains an updated caption file. + * + * The sync parameter indicates whether YouTube should automatically synchronize the caption file with the audio track of the video. If you set the value + * to true, YouTube will automatically synchronize the caption track with the audio track. + */ + sync?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Caption>; + } + interface ChannelBannersResource { + /** + * Uploads a channel banner image to YouTube. This method represents the first two steps in a three-step process to update the banner image for a channel: + * + * - Call the channelBanners.insert method to upload the binary image data to YouTube. The image must have a 16:9 aspect ratio and be at least 2120x1192 + * pixels. + * - Extract the url property's value from the response that the API returns for step 1. + * - Call the channels.update method to update the channel's branding settings. Set the brandingSettings.image.bannerExternalUrl property's value to the + * URL obtained in step 2. + */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** + * The channelId parameter identifies the YouTube channel to which the banner is uploaded. The channelId parameter was introduced as a required parameter + * in May 2017. As this was a backward-incompatible change, channelBanners.insert requests that do not specify this parameter will not return an error + * until six months have passed from the time that the parameter was introduced. Please see the API Terms of Service for the official policy regarding + * backward incompatible changes and the API revision history for the exact date that the parameter was introduced. + */ + channelId?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ChannelBannerResource>; + } + interface ChannelSectionsResource { + /** Deletes a channelSection. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The id parameter specifies the YouTube channelSection ID for the resource that is being deleted. In a channelSection resource, the id property + * specifies the YouTube channelSection ID. + */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Adds a channelSection for the authenticated user's channel. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each + * separate channel. + */ + onBehalfOfContentOwnerChannel?: string; + /** + * The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that + * the API response will include. + * + * The part names that you can include in the parameter value are snippet and contentDetails. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ChannelSection>; + /** Returns channelSection resources that match the API request criteria. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The channelId parameter specifies a YouTube channel ID. The API will only return that channel's channelSections. */ + channelId?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The hl parameter indicates that the snippet.localized property values in the returned channelSection resources should be in the specified language if + * localized values for that language are available. For example, if the API request specifies hl=de, the snippet.localized properties in the API response + * will contain German titles if German titles are available. Channel owners can provide localized channel section titles using either the + * channelSections.insert or channelSections.update method. + */ + hl?: string; + /** + * The id parameter specifies a comma-separated list of the YouTube channelSection ID(s) for the resource(s) that are being retrieved. In a channelSection + * resource, the id property specifies the YouTube channelSection ID. + */ + id?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Set this parameter's value to true to retrieve a feed of the authenticated user's channelSections. */ + mine?: boolean; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * The part parameter specifies a comma-separated list of one or more channelSection resource properties that the API response will include. The part + * names that you can include in the parameter value are id, snippet, and contentDetails. + * + * If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a + * channelSection resource, the snippet property contains other properties, such as a display title for the channelSection. If you set part=snippet, the + * API response will also contain all of those nested properties. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ChannelSectionListResponse>; + /** Update a channelSection. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that + * the API response will include. + * + * The part names that you can include in the parameter value are snippet and contentDetails. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ChannelSection>; + } + interface ChannelsResource { + /** Returns a collection of zero or more channel resources that match the request criteria. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The categoryId parameter specifies a YouTube guide category, thereby requesting YouTube channels associated with that category. */ + categoryId?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The forUsername parameter specifies a YouTube username, thereby requesting the channel associated with that username. */ + forUsername?: string; + /** The hl parameter should be used for filter out the properties that are not in the given language. Used for the brandingSettings part. */ + hl?: string; + /** + * The id parameter specifies a comma-separated list of the YouTube channel ID(s) for the resource(s) that are being retrieved. In a channel resource, the + * id property specifies the channel's YouTube channel ID. + */ + id?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * Set this parameter's value to true to instruct the API to only return channels managed by the content owner that the onBehalfOfContentOwner parameter + * specifies. The user must be authenticated as a CMS account linked to the specified content owner and onBehalfOfContentOwner must be provided. + */ + managedByMe?: boolean; + /** The maxResults parameter specifies the maximum number of items that should be returned in the result set. */ + maxResults?: number; + /** Set this parameter's value to true to instruct the API to only return channels owned by the authenticated user. */ + mine?: boolean; + /** Use the subscriptions.list method and its mySubscribers parameter to retrieve a list of subscribers to the authenticated user's channel. */ + mySubscribers?: boolean; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken + * properties identify other pages that could be retrieved. + */ + pageToken?: string; + /** + * The part parameter specifies a comma-separated list of one or more channel resource properties that the API response will include. + * + * If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a channel + * resource, the contentDetails property contains other properties, such as the uploads properties. As such, if you set part=contentDetails, the API + * response will also contain all of those nested properties. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ChannelListResponse>; + /** + * Updates a channel's metadata. Note that this method currently only supports updates to the channel resource's brandingSettings and invideoPromotion + * objects and their child properties. + */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The onBehalfOfContentOwner parameter indicates that the authenticated user is acting on behalf of the content owner specified in the parameter value. + * This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate + * once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual + * CMS account that the user authenticates with needs to be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that + * the API response will include. + * + * The API currently only allows the parameter value to be set to either brandingSettings or invideoPromotion. (You cannot update both of those parts with + * a single request.) + * + * Note that this method overrides the existing values for all of the mutable properties that are contained in any parts that the parameter value + * specifies. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Channel>; + } + interface CommentThreadsResource { + /** Creates a new top-level comment. To add a reply to an existing comment, use the comments.insert method instead. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The part parameter identifies the properties that the API response will include. Set the parameter value to snippet. The snippet part has a quota cost + * of 2 units. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CommentThread>; + /** Returns a list of comment threads that match the API request parameters. */ + list(request: { + /** + * The allThreadsRelatedToChannelId parameter instructs the API to return all comment threads associated with the specified channel. The response can + * include comments about the channel or about the channel's videos. + */ + allThreadsRelatedToChannelId?: string; + /** Data format for the response. */ + alt?: string; + /** + * The channelId parameter instructs the API to return comment threads containing comments about the specified channel. (The response will not include + * comments left on videos that the channel uploaded.) + */ + channelId?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id parameter specifies a comma-separated list of comment thread IDs for the resources that should be retrieved. */ + id?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maxResults parameter specifies the maximum number of items that should be returned in the result set. + * + * Note: This parameter is not supported for use in conjunction with the id parameter. + */ + maxResults?: number; + /** + * Set this parameter to limit the returned comment threads to a particular moderation state. + * + * Note: This parameter is not supported for use in conjunction with the id parameter. + */ + moderationStatus?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The order parameter specifies the order in which the API response should list comment threads. Valid values are: + * - time - Comment threads are ordered by time. This is the default behavior. + * - relevance - Comment threads are ordered by relevance.Note: This parameter is not supported for use in conjunction with the id parameter. + */ + order?: string; + /** + * The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken property identifies + * the next page of the result that can be retrieved. + * + * Note: This parameter is not supported for use in conjunction with the id parameter. + */ + pageToken?: string; + /** The part parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include. */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The searchTerms parameter instructs the API to limit the API response to only contain comments that contain the specified search terms. + * + * Note: This parameter is not supported for use in conjunction with the id parameter. + */ + searchTerms?: string; + /** Set this parameter's value to html or plainText to instruct the API to return the comments left by users in html formatted or in plain text. */ + textFormat?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The videoId parameter instructs the API to return comment threads associated with the specified video ID. */ + videoId?: string; + }): Request<CommentThreadListResponse>; + /** Modifies the top-level comment in a comment thread. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The part parameter specifies a comma-separated list of commentThread resource properties that the API response will include. You must at least include + * the snippet part in the parameter value since that part contains all of the properties that the API request can update. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CommentThread>; + } + interface CommentsResource { + /** Deletes a comment. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id parameter specifies the comment ID for the resource that is being deleted. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Creates a reply to an existing comment. Note: To create a top-level comment, use the commentThreads.insert method. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The part parameter identifies the properties that the API response will include. Set the parameter value to snippet. The snippet part has a quota cost + * of 2 units. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Comment>; + /** Returns a list of comments that match the API request parameters. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The id parameter specifies a comma-separated list of comment IDs for the resources that are being retrieved. In a comment resource, the id property + * specifies the comment's ID. + */ + id?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The maxResults parameter specifies the maximum number of items that should be returned in the result set. + * + * Note: This parameter is not supported for use in conjunction with the id parameter. + */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken property identifies + * the next page of the result that can be retrieved. + * + * Note: This parameter is not supported for use in conjunction with the id parameter. + */ + pageToken?: string; + /** + * The parentId parameter specifies the ID of the comment for which replies should be retrieved. + * + * Note: YouTube currently supports replies only for top-level comments. However, replies to replies may be supported in the future. + */ + parentId?: string; + /** The part parameter specifies a comma-separated list of one or more comment resource properties that the API response will include. */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** This parameter indicates whether the API should return comments formatted as HTML or as plain text. */ + textFormat?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<CommentListResponse>; + /** Expresses the caller's opinion that one or more comments should be flagged as spam. */ + markAsSpam(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id parameter specifies a comma-separated list of IDs of comments that the caller believes should be classified as spam. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** + * Sets the moderation status of one or more comments. The API request must be authorized by the owner of the channel or video associated with the + * comments. + */ + setModerationStatus(request: { + /** Data format for the response. */ + alt?: string; + /** + * The banAuthor parameter lets you indicate that you want to automatically reject any additional comments written by the comment's author. Set the + * parameter value to true to ban the author. + * + * Note: This parameter is only valid if the moderationStatus parameter is also set to rejected. + */ + banAuthor?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id parameter specifies a comma-separated list of IDs that identify the comments for which you are updating the moderation status. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Identifies the new moderation status of the specified comments. */ + moderationStatus: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Modifies a comment. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The part parameter identifies the properties that the API response will include. You must at least include the snippet part in the parameter value + * since that part contains all of the properties that the API request can update. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Comment>; + } + interface FanFundingEventsResource { + /** Lists fan funding events for a channel. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The hl parameter instructs the API to retrieve localized resource metadata for a specific application language that the YouTube website supports. The + * parameter value must be a language code included in the list returned by the i18nLanguages.list method. + * + * If localized resource details are available in that language, the resource's snippet.localized object will contain the localized values. However, if + * localized details are not available, the snippet.localized object will contain resource details in the resource's default language. + */ + hl?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maxResults parameter specifies the maximum number of items that should be returned in the result set. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken + * properties identify other pages that could be retrieved. + */ + pageToken?: string; + /** The part parameter specifies the fanFundingEvent resource parts that the API response will include. Supported values are id and snippet. */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<FanFundingEventListResponse>; + } + interface GuideCategoriesResource { + /** Returns a list of categories that can be associated with YouTube channels. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The hl parameter specifies the language that will be used for text values in the API response. */ + hl?: string; + /** + * The id parameter specifies a comma-separated list of the YouTube channel category ID(s) for the resource(s) that are being retrieved. In a + * guideCategory resource, the id property specifies the YouTube channel category ID. + */ + id?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The part parameter specifies the guideCategory resource properties that the API response will include. Set the parameter value to snippet. */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The regionCode parameter instructs the API to return the list of guide categories available in the specified country. The parameter value is an ISO + * 3166-1 alpha-2 country code. + */ + regionCode?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GuideCategoryListResponse>; + } + interface I18nLanguagesResource { + /** Returns a list of application languages that the YouTube website supports. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The hl parameter specifies the language that should be used for text values in the API response. */ + hl?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The part parameter specifies the i18nLanguage resource properties that the API response will include. Set the parameter value to snippet. */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<I18nLanguageListResponse>; + } + interface I18nRegionsResource { + /** Returns a list of content regions that the YouTube website supports. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The hl parameter specifies the language that should be used for text values in the API response. */ + hl?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The part parameter specifies the i18nRegion resource properties that the API response will include. Set the parameter value to snippet. */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<I18nRegionListResponse>; + } + interface LiveBroadcastsResource { + /** + * Binds a YouTube broadcast to a stream or removes an existing binding between a broadcast and a stream. A broadcast can only be bound to one video + * stream, though a video stream may be bound to more than one broadcast. + */ + bind(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id parameter specifies the unique ID of the broadcast that is being bound to a video stream. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each + * separate channel. + */ + onBehalfOfContentOwnerChannel?: string; + /** + * The part parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names + * that you can include in the parameter value are id, snippet, contentDetails, and status. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The streamId parameter specifies the unique ID of the video stream that is being bound to a broadcast. If this parameter is omitted, the API will + * remove any existing binding between the broadcast and a video stream. + */ + streamId?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LiveBroadcast>; + /** Controls the settings for a slate that can be displayed in the broadcast stream. */ + control(request: { + /** Data format for the response. */ + alt?: string; + /** The displaySlate parameter specifies whether the slate is being enabled or disabled. */ + displaySlate?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id parameter specifies the YouTube live broadcast ID that uniquely identifies the broadcast in which the slate is being updated. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The offsetTimeMs parameter specifies a positive time offset when the specified slate change will occur. The value is measured in milliseconds from the + * beginning of the broadcast's monitor stream, which is the time that the testing phase for the broadcast began. Even though it is specified in + * milliseconds, the value is actually an approximation, and YouTube completes the requested action as closely as possible to that time. + * + * If you do not specify a value for this parameter, then YouTube performs the action as soon as possible. See the Getting started guide for more details. + * + * Important: You should only specify a value for this parameter if your broadcast stream is delayed. + */ + offsetTimeMs?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each + * separate channel. + */ + onBehalfOfContentOwnerChannel?: string; + /** + * The part parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names + * that you can include in the parameter value are id, snippet, contentDetails, and status. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** + * The walltime parameter specifies the wall clock time at which the specified slate change will occur. The value is specified in ISO 8601 + * (YYYY-MM-DDThh:mm:ss.sssZ) format. + */ + walltime?: string; + }): Request<LiveBroadcast>; + /** Deletes a broadcast. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id parameter specifies the YouTube live broadcast ID for the resource that is being deleted. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each + * separate channel. + */ + onBehalfOfContentOwnerChannel?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Creates a broadcast. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each + * separate channel. + */ + onBehalfOfContentOwnerChannel?: string; + /** + * The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that + * the API response will include. + * + * The part properties that you can include in the parameter value are id, snippet, contentDetails, and status. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LiveBroadcast>; + /** Returns a list of YouTube broadcasts that match the API request parameters. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The broadcastStatus parameter filters the API response to only include broadcasts with the specified status. */ + broadcastStatus?: string; + /** + * The broadcastType parameter filters the API response to only include broadcasts with the specified type. This is only compatible with the mine filter + * for now. + */ + broadcastType?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The id parameter specifies a comma-separated list of YouTube broadcast IDs that identify the broadcasts being retrieved. In a liveBroadcast resource, + * the id property specifies the broadcast's ID. + */ + id?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maxResults parameter specifies the maximum number of items that should be returned in the result set. */ + maxResults?: number; + /** + * The mine parameter can be used to instruct the API to only return broadcasts owned by the authenticated user. Set the parameter value to true to only + * retrieve your own broadcasts. + */ + mine?: boolean; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each + * separate channel. + */ + onBehalfOfContentOwnerChannel?: string; + /** + * The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken + * properties identify other pages that could be retrieved. + */ + pageToken?: string; + /** + * The part parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names + * that you can include in the parameter value are id, snippet, contentDetails, and status. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LiveBroadcastListResponse>; + /** + * Changes the status of a YouTube live broadcast and initiates any processes associated with the new status. For example, when you transition a + * broadcast's status to testing, YouTube starts to transmit video to that broadcast's monitor stream. Before calling this method, you should confirm that + * the value of the status.streamStatus property for the stream bound to your broadcast is active. + */ + transition(request: { + /** Data format for the response. */ + alt?: string; + /** + * The broadcastStatus parameter identifies the state to which the broadcast is changing. Note that to transition a broadcast to either the testing or + * live state, the status.streamStatus must be active for the stream that the broadcast is bound to. + */ + broadcastStatus: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id parameter specifies the unique ID of the broadcast that is transitioning to another status. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each + * separate channel. + */ + onBehalfOfContentOwnerChannel?: string; + /** + * The part parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names + * that you can include in the parameter value are id, snippet, contentDetails, and status. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LiveBroadcast>; + /** Updates a broadcast. For example, you could modify the broadcast settings defined in the liveBroadcast resource's contentDetails object. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each + * separate channel. + */ + onBehalfOfContentOwnerChannel?: string; + /** + * The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that + * the API response will include. + * + * The part properties that you can include in the parameter value are id, snippet, contentDetails, and status. + * + * Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value + * specifies. For example, a broadcast's privacy status is defined in the status part. As such, if your request is updating a private or unlisted + * broadcast, and the request's part parameter value includes the status part, the broadcast's privacy setting will be updated to whatever value the + * request body specifies. If the request body does not specify a value, the existing privacy setting will be removed and the broadcast will revert to the + * default privacy setting. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LiveBroadcast>; + } + interface LiveChatBansResource { + /** Removes a chat ban. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id parameter identifies the chat ban to remove. The value uniquely identifies both the ban and the chat. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Adds a new ban to the chat. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that + * the API response returns. Set the parameter value to snippet. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LiveChatBan>; + } + interface LiveChatMessagesResource { + /** Deletes a chat message. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id parameter specifies the YouTube chat message ID of the resource that is being deleted. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Adds a message to a live chat. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The part parameter serves two purposes. It identifies the properties that the write operation will set as well as the properties that the API response + * will include. Set the parameter value to snippet. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LiveChatMessage>; + /** Lists live chat messages for a specific chat. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The hl parameter instructs the API to retrieve localized resource metadata for a specific application language that the YouTube website supports. The + * parameter value must be a language code included in the list returned by the i18nLanguages.list method. + * + * If localized resource details are available in that language, the resource's snippet.localized object will contain the localized values. However, if + * localized details are not available, the snippet.localized object will contain resource details in the resource's default language. + */ + hl?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The liveChatId parameter specifies the ID of the chat whose messages will be returned. */ + liveChatId: string; + /** The maxResults parameter specifies the maximum number of messages that should be returned in the result set. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken property identify + * other pages that could be retrieved. + */ + pageToken?: string; + /** The part parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id and snippet. */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** The profileImageSize parameter specifies the size of the user profile pictures that should be returned in the result set. Default: 88. */ + profileImageSize?: number; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LiveChatMessageListResponse>; + } + interface LiveChatModeratorsResource { + /** Removes a chat moderator. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id parameter identifies the chat moderator to remove. The value uniquely identifies both the moderator and the chat. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Adds a new moderator for the chat. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that + * the API response returns. Set the parameter value to snippet. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LiveChatModerator>; + /** Lists moderators for a live chat. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The liveChatId parameter specifies the YouTube live chat for which the API should return moderators. */ + liveChatId: string; + /** The maxResults parameter specifies the maximum number of items that should be returned in the result set. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken + * properties identify other pages that could be retrieved. + */ + pageToken?: string; + /** The part parameter specifies the liveChatModerator resource parts that the API response will include. Supported values are id and snippet. */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LiveChatModeratorListResponse>; + } + interface LiveStreamsResource { + /** Deletes a video stream. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id parameter specifies the YouTube live stream ID for the resource that is being deleted. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each + * separate channel. + */ + onBehalfOfContentOwnerChannel?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Creates a video stream. The stream enables you to send your video to YouTube, which can then broadcast the video to your audience. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each + * separate channel. + */ + onBehalfOfContentOwnerChannel?: string; + /** + * The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that + * the API response will include. + * + * The part properties that you can include in the parameter value are id, snippet, cdn, and status. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LiveStream>; + /** Returns a list of video streams that match the API request parameters. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The id parameter specifies a comma-separated list of YouTube stream IDs that identify the streams being retrieved. In a liveStream resource, the id + * property specifies the stream's ID. + */ + id?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maxResults parameter specifies the maximum number of items that should be returned in the result set. */ + maxResults?: number; + /** + * The mine parameter can be used to instruct the API to only return streams owned by the authenticated user. Set the parameter value to true to only + * retrieve your own streams. + */ + mine?: boolean; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each + * separate channel. + */ + onBehalfOfContentOwnerChannel?: string; + /** + * The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken + * properties identify other pages that could be retrieved. + */ + pageToken?: string; + /** + * The part parameter specifies a comma-separated list of one or more liveStream resource properties that the API response will include. The part names + * that you can include in the parameter value are id, snippet, cdn, and status. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LiveStreamListResponse>; + /** Updates a video stream. If the properties that you want to change cannot be updated, then you need to create a new stream with the proper settings. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each + * separate channel. + */ + onBehalfOfContentOwnerChannel?: string; + /** + * The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that + * the API response will include. + * + * The part properties that you can include in the parameter value are id, snippet, cdn, and status. + * + * Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value + * specifies. If the request body does not specify a value for a mutable property, the existing value for that property will be removed. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<LiveStream>; + } + interface PlaylistItemsResource { + /** Deletes a playlist item. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The id parameter specifies the YouTube playlist item ID for the playlist item that is being deleted. In a playlistItem resource, the id property + * specifies the playlist item's ID. + */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Adds a resource to a playlist. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that + * the API response will include. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlaylistItem>; + /** + * Returns a collection of playlist items that match the API request parameters. You can retrieve all of the playlist items in a specified playlist or + * retrieve one or more playlist items by their unique IDs. + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id parameter specifies a comma-separated list of one or more unique playlist item IDs. */ + id?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maxResults parameter specifies the maximum number of items that should be returned in the result set. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken + * properties identify other pages that could be retrieved. + */ + pageToken?: string; + /** + * The part parameter specifies a comma-separated list of one or more playlistItem resource properties that the API response will include. + * + * If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a + * playlistItem resource, the snippet property contains numerous fields, including the title, description, position, and resourceId properties. As such, + * if you set part=snippet, the API response will contain all of those properties. + */ + part: string; + /** + * The playlistId parameter specifies the unique ID of the playlist for which you want to retrieve playlist items. Note that even though this is an + * optional parameter, every request to retrieve playlist items must specify a value for either the id parameter or the playlistId parameter. + */ + playlistId?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The videoId parameter specifies that the request should return only the playlist items that contain the specified video. */ + videoId?: string; + }): Request<PlaylistItemListResponse>; + /** Modifies a playlist item. For example, you could update the item's position in the playlist. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that + * the API response will include. + * + * Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value + * specifies. For example, a playlist item can specify a start time and end time, which identify the times portion of the video that should play when + * users watch the video in the playlist. If your request is updating a playlist item that sets these values, and the request's part parameter value + * includes the contentDetails part, the playlist item's start and end times will be updated to whatever value the request body specifies. If the request + * body does not specify values, the existing start and end times will be removed and replaced with the default settings. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlaylistItem>; + } + interface PlaylistsResource { + /** Deletes a playlist. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The id parameter specifies the YouTube playlist ID for the playlist that is being deleted. In a playlist resource, the id property specifies the + * playlist's ID. + */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Creates a playlist. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each + * separate channel. + */ + onBehalfOfContentOwnerChannel?: string; + /** + * The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that + * the API response will include. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Playlist>; + /** + * Returns a collection of playlists that match the API request parameters. For example, you can retrieve all playlists that the authenticated user owns, + * or you can retrieve one or more playlists by their unique IDs. + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** This value indicates that the API should only return the specified channel's playlists. */ + channelId?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The hl parameter should be used for filter out the properties that are not in the given language. Used for the snippet part. */ + hl?: string; + /** + * The id parameter specifies a comma-separated list of the YouTube playlist ID(s) for the resource(s) that are being retrieved. In a playlist resource, + * the id property specifies the playlist's YouTube playlist ID. + */ + id?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maxResults parameter specifies the maximum number of items that should be returned in the result set. */ + maxResults?: number; + /** Set this parameter's value to true to instruct the API to only return playlists owned by the authenticated user. */ + mine?: boolean; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each + * separate channel. + */ + onBehalfOfContentOwnerChannel?: string; + /** + * The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken + * properties identify other pages that could be retrieved. + */ + pageToken?: string; + /** + * The part parameter specifies a comma-separated list of one or more playlist resource properties that the API response will include. + * + * If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a + * playlist resource, the snippet property contains properties like author, title, description, tags, and timeCreated. As such, if you set part=snippet, + * the API response will contain all of those properties. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<PlaylistListResponse>; + /** Modifies a playlist. For example, you could change a playlist's title, description, or privacy status. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that + * the API response will include. + * + * Note that this method will override the existing values for mutable properties that are contained in any parts that the request body specifies. For + * example, a playlist's description is contained in the snippet part, which must be included in the request body. If the request does not specify a value + * for the snippet.description property, the playlist's existing description will be deleted. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Playlist>; + } + interface SearchResource { + /** + * Returns a collection of search results that match the query parameters specified in the API request. By default, a search result set identifies + * matching video, channel, and playlist resources, but you can also configure queries to only retrieve a specific type of resource. + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The channelId parameter indicates that the API response should only contain resources created by the channel */ + channelId?: string; + /** The channelType parameter lets you restrict a search to a particular type of channel. */ + channelType?: string; + /** + * The eventType parameter restricts a search to broadcast events. If you specify a value for this parameter, you must also set the type parameter's value + * to video. + */ + eventType?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The forContentOwner parameter restricts the search to only retrieve resources owned by the content owner specified by the onBehalfOfContentOwner + * parameter. The user must be authenticated using a CMS account linked to the specified content owner and onBehalfOfContentOwner must be provided. + */ + forContentOwner?: boolean; + /** + * The forDeveloper parameter restricts the search to only retrieve videos uploaded via the developer's application or website. The API server uses the + * request's authorization credentials to identify the developer. Therefore, a developer can restrict results to videos uploaded through the developer's + * own app or website but not to videos uploaded through other apps or sites. + */ + forDeveloper?: boolean; + /** + * The forMine parameter restricts the search to only retrieve videos owned by the authenticated user. If you set this parameter to true, then the type + * parameter's value must also be set to video. + */ + forMine?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The location parameter, in conjunction with the locationRadius parameter, defines a circular geographic area and also restricts a search to videos that + * specify, in their metadata, a geographic location that falls within that area. The parameter value is a string that specifies latitude/longitude + * coordinates e.g. (37.42307,-122.08427). + * + * + * - The location parameter value identifies the point at the center of the area. + * - The locationRadius parameter specifies the maximum distance that the location associated with a video can be from that point for the video to still + * be included in the search results.The API returns an error if your request specifies a value for the location parameter but does not also specify a + * value for the locationRadius parameter. + */ + location?: string; + /** + * The locationRadius parameter, in conjunction with the location parameter, defines a circular geographic area. + * + * The parameter value must be a floating point number followed by a measurement unit. Valid measurement units are m, km, ft, and mi. For example, valid + * parameter values include 1500m, 5km, 10000ft, and 0.75mi. The API does not support locationRadius parameter values larger than 1000 kilometers. + * + * Note: See the definition of the location parameter for more information. + */ + locationRadius?: string; + /** The maxResults parameter specifies the maximum number of items that should be returned in the result set. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** The order parameter specifies the method that will be used to order resources in the API response. */ + order?: string; + /** + * The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken + * properties identify other pages that could be retrieved. + */ + pageToken?: string; + /** + * The part parameter specifies a comma-separated list of one or more search resource properties that the API response will include. Set the parameter + * value to snippet. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * The publishedAfter parameter indicates that the API response should only contain resources created after the specified time. The value is an RFC 3339 + * formatted date-time value (1970-01-01T00:00:00Z). + */ + publishedAfter?: string; + /** + * The publishedBefore parameter indicates that the API response should only contain resources created before the specified time. The value is an RFC 3339 + * formatted date-time value (1970-01-01T00:00:00Z). + */ + publishedBefore?: string; + /** + * The q parameter specifies the query term to search for. + * + * Your request can also use the Boolean NOT (-) and OR (|) operators to exclude videos or to find videos that are associated with one of several search + * terms. For example, to search for videos matching either "boating" or "sailing", set the q parameter value to boating|sailing. Similarly, to search for + * videos matching either "boating" or "sailing" but not "fishing", set the q parameter value to boating|sailing -fishing. Note that the pipe character + * must be URL-escaped when it is sent in your API request. The URL-escaped value for the pipe character is %7C. + */ + q?: string; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The regionCode parameter instructs the API to return search results for the specified country. The parameter value is an ISO 3166-1 alpha-2 country + * code. + */ + regionCode?: string; + /** + * The relatedToVideoId parameter retrieves a list of videos that are related to the video that the parameter value identifies. The parameter value must + * be set to a YouTube video ID and, if you are using this parameter, the type parameter must be set to video. + */ + relatedToVideoId?: string; + /** + * The relevanceLanguage parameter instructs the API to return search results that are most relevant to the specified language. The parameter value is + * typically an ISO 639-1 two-letter language code. However, you should use the values zh-Hans for simplified Chinese and zh-Hant for traditional Chinese. + * Please note that results in other languages will still be returned if they are highly relevant to the search query term. + */ + relevanceLanguage?: string; + /** The safeSearch parameter indicates whether the search results should include restricted content as well as standard content. */ + safeSearch?: string; + /** + * The topicId parameter indicates that the API response should only contain resources associated with the specified topic. The value identifies a + * Freebase topic ID. + */ + topicId?: string; + /** The type parameter restricts a search query to only retrieve a particular type of resource. The value is a comma-separated list of resource types. */ + type?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** + * The videoCaption parameter indicates whether the API should filter video search results based on whether they have captions. If you specify a value for + * this parameter, you must also set the type parameter's value to video. + */ + videoCaption?: string; + /** + * The videoCategoryId parameter filters video search results based on their category. If you specify a value for this parameter, you must also set the + * type parameter's value to video. + */ + videoCategoryId?: string; + /** + * The videoDefinition parameter lets you restrict a search to only include either high definition (HD) or standard definition (SD) videos. HD videos are + * available for playback in at least 720p, though higher resolutions, like 1080p, might also be available. If you specify a value for this parameter, you + * must also set the type parameter's value to video. + */ + videoDefinition?: string; + /** + * The videoDimension parameter lets you restrict a search to only retrieve 2D or 3D videos. If you specify a value for this parameter, you must also set + * the type parameter's value to video. + */ + videoDimension?: string; + /** + * The videoDuration parameter filters video search results based on their duration. If you specify a value for this parameter, you must also set the type + * parameter's value to video. + */ + videoDuration?: string; + /** + * The videoEmbeddable parameter lets you to restrict a search to only videos that can be embedded into a webpage. If you specify a value for this + * parameter, you must also set the type parameter's value to video. + */ + videoEmbeddable?: string; + /** + * The videoLicense parameter filters search results to only include videos with a particular license. YouTube lets video uploaders choose to attach + * either the Creative Commons license or the standard YouTube license to each of their videos. If you specify a value for this parameter, you must also + * set the type parameter's value to video. + */ + videoLicense?: string; + /** + * The videoSyndicated parameter lets you to restrict a search to only videos that can be played outside youtube.com. If you specify a value for this + * parameter, you must also set the type parameter's value to video. + */ + videoSyndicated?: string; + /** + * The videoType parameter lets you restrict a search to a particular type of videos. If you specify a value for this parameter, you must also set the + * type parameter's value to video. + */ + videoType?: string; + }): Request<SearchListResponse>; + } + interface SponsorsResource { + /** Lists sponsors for a channel. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The filter parameter specifies which channel sponsors to return. */ + filter?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maxResults parameter specifies the maximum number of items that should be returned in the result set. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken + * properties identify other pages that could be retrieved. + */ + pageToken?: string; + /** The part parameter specifies the sponsor resource parts that the API response will include. Supported values are id and snippet. */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SponsorListResponse>; + } + interface SubscriptionsResource { + /** Deletes a subscription. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The id parameter specifies the YouTube subscription ID for the resource that is being deleted. In a subscription resource, the id property specifies + * the YouTube subscription ID. + */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Adds a subscription for the authenticated user's channel. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that + * the API response will include. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Subscription>; + /** Returns subscription resources that match the API request criteria. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The channelId parameter specifies a YouTube channel ID. The API will only return that channel's subscriptions. */ + channelId?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The forChannelId parameter specifies a comma-separated list of channel IDs. The API response will then only contain subscriptions matching those + * channels. + */ + forChannelId?: string; + /** + * The id parameter specifies a comma-separated list of the YouTube subscription ID(s) for the resource(s) that are being retrieved. In a subscription + * resource, the id property specifies the YouTube subscription ID. + */ + id?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maxResults parameter specifies the maximum number of items that should be returned in the result set. */ + maxResults?: number; + /** Set this parameter's value to true to retrieve a feed of the authenticated user's subscriptions. */ + mine?: boolean; + /** Set this parameter's value to true to retrieve a feed of the subscribers of the authenticated user in reverse chronological order (newest first). */ + myRecentSubscribers?: boolean; + /** Set this parameter's value to true to retrieve a feed of the subscribers of the authenticated user in no particular order. */ + mySubscribers?: boolean; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each + * separate channel. + */ + onBehalfOfContentOwnerChannel?: string; + /** The order parameter specifies the method that will be used to sort resources in the API response. */ + order?: string; + /** + * The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken + * properties identify other pages that could be retrieved. + */ + pageToken?: string; + /** + * The part parameter specifies a comma-separated list of one or more subscription resource properties that the API response will include. + * + * If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a + * subscription resource, the snippet property contains other properties, such as a display title for the subscription. If you set part=snippet, the API + * response will also contain all of those nested properties. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SubscriptionListResponse>; + } + interface SuperChatEventsResource { + /** Lists Super Chat events for a channel. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The hl parameter instructs the API to retrieve localized resource metadata for a specific application language that the YouTube website supports. The + * parameter value must be a language code included in the list returned by the i18nLanguages.list method. + * + * If localized resource details are available in that language, the resource's snippet.localized object will contain the localized values. However, if + * localized details are not available, the snippet.localized object will contain resource details in the resource's default language. + */ + hl?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maxResults parameter specifies the maximum number of items that should be returned in the result set. */ + maxResults?: number; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken + * properties identify other pages that could be retrieved. + */ + pageToken?: string; + /** The part parameter specifies the superChatEvent resource parts that the API response will include. Supported values are id and snippet. */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<SuperChatEventListResponse>; + } + interface ThumbnailsResource { + /** Uploads a custom video thumbnail to YouTube and sets it for a video. */ + set(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** The videoId parameter specifies a YouTube video ID for which the custom video thumbnail is being provided. */ + videoId: string; + }): Request<ThumbnailSetResponse>; + } + interface VideoAbuseReportReasonsResource { + /** Returns a list of abuse reasons that can be used for reporting abusive videos. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The hl parameter specifies the language that should be used for text values in the API response. */ + hl?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The part parameter specifies the videoCategory resource parts that the API response will include. Supported values are id and snippet. */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<VideoAbuseReportReasonListResponse>; + } + interface VideoCategoriesResource { + /** Returns a list of categories that can be associated with YouTube videos. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The hl parameter specifies the language that should be used for text values in the API response. */ + hl?: string; + /** The id parameter specifies a comma-separated list of video category IDs for the resources that you are retrieving. */ + id?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** The part parameter specifies the videoCategory resource properties that the API response will include. Set the parameter value to snippet. */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The regionCode parameter instructs the API to return the list of video categories available in the specified country. The parameter value is an ISO + * 3166-1 alpha-2 country code. + */ + regionCode?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<VideoCategoryListResponse>; + } + interface VideosResource { + /** Deletes a YouTube video. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id parameter specifies the YouTube video ID for the resource that is being deleted. In a video resource, the id property specifies the video's ID. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Retrieves the ratings that the authorized user gave to a list of specified videos. */ + getRating(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The id parameter specifies a comma-separated list of the YouTube video ID(s) for the resource(s) for which you are retrieving rating data. In a video + * resource, the id property specifies the video's ID. + */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<VideoGetRatingResponse>; + /** Uploads a video to YouTube and optionally sets the video's metadata. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** The autoLevels parameter indicates whether YouTube should automatically enhance the video's lighting and color. */ + autoLevels?: boolean; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** + * The notifySubscribers parameter indicates whether YouTube should send a notification about the new video to users who subscribe to the video's channel. + * A parameter value of True indicates that subscribers will be notified of newly uploaded videos. However, a channel owner who is uploading many videos + * might prefer to set the value to False to avoid sending a notification about each new video to the channel's subscribers. + */ + notifySubscribers?: boolean; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each + * separate channel. + */ + onBehalfOfContentOwnerChannel?: string; + /** + * The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that + * the API response will include. + * + * Note that not all parts contain properties that can be set when inserting or updating a video. For example, the statistics object encapsulates + * statistics that YouTube calculates for a video and does not contain values that you can set or modify. If the parameter value specifies a part that + * does not contain mutable values, that part will still be included in the API response. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** The stabilize parameter indicates whether YouTube should adjust the video to remove shaky camera motions. */ + stabilize?: boolean; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Video>; + /** Returns a list of videos that match the API request parameters. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** The chart parameter identifies the chart that you want to retrieve. */ + chart?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The hl parameter instructs the API to retrieve localized resource metadata for a specific application language that the YouTube website supports. The + * parameter value must be a language code included in the list returned by the i18nLanguages.list method. + * + * If localized resource details are available in that language, the resource's snippet.localized object will contain the localized values. However, if + * localized details are not available, the snippet.localized object will contain resource details in the resource's default language. + */ + hl?: string; + /** + * The id parameter specifies a comma-separated list of the YouTube video ID(s) for the resource(s) that are being retrieved. In a video resource, the id + * property specifies the video's ID. + */ + id?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** DEPRECATED */ + locale?: string; + /** + * The maxHeight parameter specifies a maximum height of the embedded player. If maxWidth is provided, maxHeight may not be reached in order to not + * violate the width request. + */ + maxHeight?: number; + /** + * The maxResults parameter specifies the maximum number of items that should be returned in the result set. + * + * Note: This parameter is supported for use in conjunction with the myRating and chart parameters, but it is not supported for use in conjunction with + * the id parameter. + */ + maxResults?: number; + /** + * The maxWidth parameter specifies a maximum width of the embedded player. If maxHeight is provided, maxWidth may not be reached in order to not violate + * the height request. + */ + maxWidth?: number; + /** Set this parameter's value to like or dislike to instruct the API to only return videos liked or disliked by the authenticated user. */ + myRating?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken + * properties identify other pages that could be retrieved. + * + * Note: This parameter is supported for use in conjunction with the myRating and chart parameters, but it is not supported for use in conjunction with + * the id parameter. + */ + pageToken?: string; + /** + * The part parameter specifies a comma-separated list of one or more video resource properties that the API response will include. + * + * If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a video + * resource, the snippet property contains the channelId, title, description, tags, and categoryId properties. As such, if you set part=snippet, the API + * response will contain all of those properties. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * The regionCode parameter instructs the API to select a video chart available in the specified region. This parameter can only be used in conjunction + * with the chart parameter. The parameter value is an ISO 3166-1 alpha-2 country code. + */ + regionCode?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + /** + * The videoCategoryId parameter identifies the video category for which the chart should be retrieved. This parameter can only be used in conjunction + * with the chart parameter. By default, charts are not restricted to a particular category. + */ + videoCategoryId?: string; + }): Request<VideoListResponse>; + /** Add a like or dislike rating to a video or remove a rating from a video. */ + rate(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id parameter specifies the YouTube video ID of the video that is being rated or having its rating removed. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** Specifies the rating to record. */ + rating: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Report abuse for a video. */ + reportAbuse(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Updates a video's metadata. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that + * the API response will include. + * + * Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value + * specifies. For example, a video's privacy setting is contained in the status part. As such, if your request is updating a private video, and the + * request's part parameter value includes the status part, the video's privacy setting will be updated to whatever value the request body specifies. If + * the request body does not specify a value, the existing privacy setting will be removed and the video will revert to the default privacy setting. + * + * In addition, not all parts contain properties that can be set when inserting or updating a video. For example, the statistics object encapsulates + * statistics that YouTube calculates for a video and does not contain values that you can set or modify. If the parameter value specifies a part that + * does not contain mutable values, that part will still be included in the API response. + */ + part: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Video>; + } + interface WatermarksResource { + /** Uploads a watermark image to YouTube and sets it for a channel. */ + set(request: { + /** Data format for the response. */ + alt?: string; + /** The channelId parameter specifies the YouTube channel ID for which the watermark is being provided. */ + channelId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Deletes a channel's watermark image. */ + unset(request: { + /** Data format for the response. */ + alt?: string; + /** The channelId parameter specifies the YouTube channel ID for which the watermark is being unset. */ + channelId: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + } + } +} diff --git a/types/gapi.client.youtube/readme.md b/types/gapi.client.youtube/readme.md new file mode 100644 index 0000000000..19627397d9 --- /dev/null +++ b/types/gapi.client.youtube/readme.md @@ -0,0 +1,435 @@ +# TypeScript typings for YouTube Data API v3 +Supports core YouTube features, such as uploading videos, creating and managing playlists, searching for content, and much more. +For detailed description please check [documentation](https://developers.google.com/youtube/v3). + +## Installing + +Install typings for YouTube Data API: +``` +npm install @types/gapi.client.youtube@v3 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('youtube', 'v3', () => { + // now we can use gapi.client.youtube + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage your YouTube account + 'https://www.googleapis.com/auth/youtube', + + // Manage your YouTube account + 'https://www.googleapis.com/auth/youtube.force-ssl', + + // View your YouTube account + 'https://www.googleapis.com/auth/youtube.readonly', + + // Manage your YouTube videos + 'https://www.googleapis.com/auth/youtube.upload', + + // View and manage your assets and associated content on YouTube + 'https://www.googleapis.com/auth/youtubepartner', + + // View private information of your YouTube channel relevant during the audit process with a YouTube partner + 'https://www.googleapis.com/auth/youtubepartner-channel-audit', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use YouTube Data API resources: + +```typescript + +/* +Posts a bulletin for a specific channel. (The user submitting the request must be authorized to act on the channel's behalf.) + +Note: Even though an activity resource can contain information about actions like a user rating a video or marking a video as a favorite, you need to use other API methods to generate those activity resources. For example, you would use the API's videos.rate() method to rate a video and the playlistItems.insert() method to mark a video as a favorite. +*/ +await gapi.client.activities.insert({ part: "part", }); + +/* +Returns a list of channel activity events that match the request criteria. For example, you can retrieve events associated with a particular channel, events associated with the user's subscriptions and Google+ friends, or the YouTube home page feed, which is customized for each user. +*/ +await gapi.client.activities.list({ part: "part", }); + +/* +Deletes a specified caption track. +*/ +await gapi.client.captions.delete({ id: "id", }); + +/* +Downloads a caption track. The caption track is returned in its original format unless the request specifies a value for the tfmt parameter and in its original language unless the request specifies a value for the tlang parameter. +*/ +await gapi.client.captions.download({ id: "id", }); + +/* +Uploads a caption track. +*/ +await gapi.client.captions.insert({ part: "part", }); + +/* +Returns a list of caption tracks that are associated with a specified video. Note that the API response does not contain the actual captions and that the captions.download method provides the ability to retrieve a caption track. +*/ +await gapi.client.captions.list({ part: "part", videoId: "videoId", }); + +/* +Updates a caption track. When updating a caption track, you can change the track's draft status, upload a new caption file for the track, or both. +*/ +await gapi.client.captions.update({ part: "part", }); + +/* +Uploads a channel banner image to YouTube. This method represents the first two steps in a three-step process to update the banner image for a channel: + +- Call the channelBanners.insert method to upload the binary image data to YouTube. The image must have a 16:9 aspect ratio and be at least 2120x1192 pixels. +- Extract the url property's value from the response that the API returns for step 1. +- Call the channels.update method to update the channel's branding settings. Set the brandingSettings.image.bannerExternalUrl property's value to the URL obtained in step 2. +*/ +await gapi.client.channelBanners.insert({ }); + +/* +Deletes a channelSection. +*/ +await gapi.client.channelSections.delete({ id: "id", }); + +/* +Adds a channelSection for the authenticated user's channel. +*/ +await gapi.client.channelSections.insert({ part: "part", }); + +/* +Returns channelSection resources that match the API request criteria. +*/ +await gapi.client.channelSections.list({ part: "part", }); + +/* +Update a channelSection. +*/ +await gapi.client.channelSections.update({ part: "part", }); + +/* +Returns a collection of zero or more channel resources that match the request criteria. +*/ +await gapi.client.channels.list({ part: "part", }); + +/* +Updates a channel's metadata. Note that this method currently only supports updates to the channel resource's brandingSettings and invideoPromotion objects and their child properties. +*/ +await gapi.client.channels.update({ part: "part", }); + +/* +Creates a new top-level comment. To add a reply to an existing comment, use the comments.insert method instead. +*/ +await gapi.client.commentThreads.insert({ part: "part", }); + +/* +Returns a list of comment threads that match the API request parameters. +*/ +await gapi.client.commentThreads.list({ part: "part", }); + +/* +Modifies the top-level comment in a comment thread. +*/ +await gapi.client.commentThreads.update({ part: "part", }); + +/* +Deletes a comment. +*/ +await gapi.client.comments.delete({ id: "id", }); + +/* +Creates a reply to an existing comment. Note: To create a top-level comment, use the commentThreads.insert method. +*/ +await gapi.client.comments.insert({ part: "part", }); + +/* +Returns a list of comments that match the API request parameters. +*/ +await gapi.client.comments.list({ part: "part", }); + +/* +Expresses the caller's opinion that one or more comments should be flagged as spam. +*/ +await gapi.client.comments.markAsSpam({ id: "id", }); + +/* +Sets the moderation status of one or more comments. The API request must be authorized by the owner of the channel or video associated with the comments. +*/ +await gapi.client.comments.setModerationStatus({ id: "id", moderationStatus: "moderationStatus", }); + +/* +Modifies a comment. +*/ +await gapi.client.comments.update({ part: "part", }); + +/* +Lists fan funding events for a channel. +*/ +await gapi.client.fanFundingEvents.list({ part: "part", }); + +/* +Returns a list of categories that can be associated with YouTube channels. +*/ +await gapi.client.guideCategories.list({ part: "part", }); + +/* +Returns a list of application languages that the YouTube website supports. +*/ +await gapi.client.i18nLanguages.list({ part: "part", }); + +/* +Returns a list of content regions that the YouTube website supports. +*/ +await gapi.client.i18nRegions.list({ part: "part", }); + +/* +Binds a YouTube broadcast to a stream or removes an existing binding between a broadcast and a stream. A broadcast can only be bound to one video stream, though a video stream may be bound to more than one broadcast. +*/ +await gapi.client.liveBroadcasts.bind({ id: "id", part: "part", }); + +/* +Controls the settings for a slate that can be displayed in the broadcast stream. +*/ +await gapi.client.liveBroadcasts.control({ id: "id", part: "part", }); + +/* +Deletes a broadcast. +*/ +await gapi.client.liveBroadcasts.delete({ id: "id", }); + +/* +Creates a broadcast. +*/ +await gapi.client.liveBroadcasts.insert({ part: "part", }); + +/* +Returns a list of YouTube broadcasts that match the API request parameters. +*/ +await gapi.client.liveBroadcasts.list({ part: "part", }); + +/* +Changes the status of a YouTube live broadcast and initiates any processes associated with the new status. For example, when you transition a broadcast's status to testing, YouTube starts to transmit video to that broadcast's monitor stream. Before calling this method, you should confirm that the value of the status.streamStatus property for the stream bound to your broadcast is active. +*/ +await gapi.client.liveBroadcasts.transition({ broadcastStatus: "broadcastStatus", id: "id", part: "part", }); + +/* +Updates a broadcast. For example, you could modify the broadcast settings defined in the liveBroadcast resource's contentDetails object. +*/ +await gapi.client.liveBroadcasts.update({ part: "part", }); + +/* +Removes a chat ban. +*/ +await gapi.client.liveChatBans.delete({ id: "id", }); + +/* +Adds a new ban to the chat. +*/ +await gapi.client.liveChatBans.insert({ part: "part", }); + +/* +Deletes a chat message. +*/ +await gapi.client.liveChatMessages.delete({ id: "id", }); + +/* +Adds a message to a live chat. +*/ +await gapi.client.liveChatMessages.insert({ part: "part", }); + +/* +Lists live chat messages for a specific chat. +*/ +await gapi.client.liveChatMessages.list({ liveChatId: "liveChatId", part: "part", }); + +/* +Removes a chat moderator. +*/ +await gapi.client.liveChatModerators.delete({ id: "id", }); + +/* +Adds a new moderator for the chat. +*/ +await gapi.client.liveChatModerators.insert({ part: "part", }); + +/* +Lists moderators for a live chat. +*/ +await gapi.client.liveChatModerators.list({ liveChatId: "liveChatId", part: "part", }); + +/* +Deletes a video stream. +*/ +await gapi.client.liveStreams.delete({ id: "id", }); + +/* +Creates a video stream. The stream enables you to send your video to YouTube, which can then broadcast the video to your audience. +*/ +await gapi.client.liveStreams.insert({ part: "part", }); + +/* +Returns a list of video streams that match the API request parameters. +*/ +await gapi.client.liveStreams.list({ part: "part", }); + +/* +Updates a video stream. If the properties that you want to change cannot be updated, then you need to create a new stream with the proper settings. +*/ +await gapi.client.liveStreams.update({ part: "part", }); + +/* +Deletes a playlist item. +*/ +await gapi.client.playlistItems.delete({ id: "id", }); + +/* +Adds a resource to a playlist. +*/ +await gapi.client.playlistItems.insert({ part: "part", }); + +/* +Returns a collection of playlist items that match the API request parameters. You can retrieve all of the playlist items in a specified playlist or retrieve one or more playlist items by their unique IDs. +*/ +await gapi.client.playlistItems.list({ part: "part", }); + +/* +Modifies a playlist item. For example, you could update the item's position in the playlist. +*/ +await gapi.client.playlistItems.update({ part: "part", }); + +/* +Deletes a playlist. +*/ +await gapi.client.playlists.delete({ id: "id", }); + +/* +Creates a playlist. +*/ +await gapi.client.playlists.insert({ part: "part", }); + +/* +Returns a collection of playlists that match the API request parameters. For example, you can retrieve all playlists that the authenticated user owns, or you can retrieve one or more playlists by their unique IDs. +*/ +await gapi.client.playlists.list({ part: "part", }); + +/* +Modifies a playlist. For example, you could change a playlist's title, description, or privacy status. +*/ +await gapi.client.playlists.update({ part: "part", }); + +/* +Returns a collection of search results that match the query parameters specified in the API request. By default, a search result set identifies matching video, channel, and playlist resources, but you can also configure queries to only retrieve a specific type of resource. +*/ +await gapi.client.search.list({ part: "part", }); + +/* +Lists sponsors for a channel. +*/ +await gapi.client.sponsors.list({ part: "part", }); + +/* +Deletes a subscription. +*/ +await gapi.client.subscriptions.delete({ id: "id", }); + +/* +Adds a subscription for the authenticated user's channel. +*/ +await gapi.client.subscriptions.insert({ part: "part", }); + +/* +Returns subscription resources that match the API request criteria. +*/ +await gapi.client.subscriptions.list({ part: "part", }); + +/* +Lists Super Chat events for a channel. +*/ +await gapi.client.superChatEvents.list({ part: "part", }); + +/* +Uploads a custom video thumbnail to YouTube and sets it for a video. +*/ +await gapi.client.thumbnails.set({ videoId: "videoId", }); + +/* +Returns a list of abuse reasons that can be used for reporting abusive videos. +*/ +await gapi.client.videoAbuseReportReasons.list({ part: "part", }); + +/* +Returns a list of categories that can be associated with YouTube videos. +*/ +await gapi.client.videoCategories.list({ part: "part", }); + +/* +Deletes a YouTube video. +*/ +await gapi.client.videos.delete({ id: "id", }); + +/* +Retrieves the ratings that the authorized user gave to a list of specified videos. +*/ +await gapi.client.videos.getRating({ id: "id", }); + +/* +Uploads a video to YouTube and optionally sets the video's metadata. +*/ +await gapi.client.videos.insert({ part: "part", }); + +/* +Returns a list of videos that match the API request parameters. +*/ +await gapi.client.videos.list({ part: "part", }); + +/* +Add a like or dislike rating to a video or remove a rating from a video. +*/ +await gapi.client.videos.rate({ id: "id", rating: "rating", }); + +/* +Report abuse for a video. +*/ +await gapi.client.videos.reportAbuse({ }); + +/* +Updates a video's metadata. +*/ +await gapi.client.videos.update({ part: "part", }); + +/* +Uploads a watermark image to YouTube and sets it for a channel. +*/ +await gapi.client.watermarks.set({ channelId: "channelId", }); + +/* +Deletes a channel's watermark image. +*/ +await gapi.client.watermarks.unset({ channelId: "channelId", }); +``` \ No newline at end of file diff --git a/types/gapi.client.youtube/tsconfig.json b/types/gapi.client.youtube/tsconfig.json new file mode 100644 index 0000000000..727bee6a41 --- /dev/null +++ b/types/gapi.client.youtube/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.youtube-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.youtube/tslint.json b/types/gapi.client.youtube/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.youtube/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.youtubeanalytics/gapi.client.youtubeanalytics-tests.ts b/types/gapi.client.youtubeanalytics/gapi.client.youtubeanalytics-tests.ts new file mode 100644 index 0000000000..c6bb89ce8c --- /dev/null +++ b/types/gapi.client.youtubeanalytics/gapi.client.youtubeanalytics-tests.ts @@ -0,0 +1,91 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('youtubeanalytics', 'v1', () => { + /** now we can use gapi.client.youtubeanalytics */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** Manage your YouTube account */ + 'https://www.googleapis.com/auth/youtube', + /** View your YouTube account */ + 'https://www.googleapis.com/auth/youtube.readonly', + /** View and manage your assets and associated content on YouTube */ + 'https://www.googleapis.com/auth/youtubepartner', + /** View monetary and non-monetary YouTube Analytics reports for your YouTube content */ + 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly', + /** View YouTube Analytics reports for your YouTube content */ + 'https://www.googleapis.com/auth/yt-analytics.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Removes an item from a group. */ + await gapi.client.groupItems.delete({ + id: "id", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + }); + /** Creates a group item. */ + await gapi.client.groupItems.insert({ + onBehalfOfContentOwner: "onBehalfOfContentOwner", + }); + /** Returns a collection of group items that match the API request parameters. */ + await gapi.client.groupItems.list({ + groupId: "groupId", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + }); + /** Deletes a group. */ + await gapi.client.groups.delete({ + id: "id", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + }); + /** Creates a group. */ + await gapi.client.groups.insert({ + onBehalfOfContentOwner: "onBehalfOfContentOwner", + }); + /** + * Returns a collection of groups that match the API request parameters. For example, you can retrieve all groups that the authenticated user owns, or you + * can retrieve one or more groups by their unique IDs. + */ + await gapi.client.groups.list({ + id: "id", + mine: true, + onBehalfOfContentOwner: "onBehalfOfContentOwner", + pageToken: "pageToken", + }); + /** Modifies a group. For example, you could change a group's title. */ + await gapi.client.groups.update({ + onBehalfOfContentOwner: "onBehalfOfContentOwner", + }); + /** Retrieve your YouTube Analytics reports. */ + await gapi.client.reports.query({ + currency: "currency", + dimensions: "dimensions", + "end-date": "end-date", + filters: "filters", + ids: "ids", + "include-historical-channel-data": true, + "max-results": 7, + metrics: "metrics", + sort: "sort", + "start-date": "start-date", + "start-index": 11, + }); + } +}); diff --git a/types/gapi.client.youtubeanalytics/index.d.ts b/types/gapi.client.youtubeanalytics/index.d.ts new file mode 100644 index 0000000000..4637df148d --- /dev/null +++ b/types/gapi.client.youtubeanalytics/index.d.ts @@ -0,0 +1,381 @@ +// Type definitions for Google YouTube Analytics API v1 1.0 +// Project: http://developers.google.com/youtube/analytics/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://www.googleapis.com/discovery/v1/apis/youtubeAnalytics/v1/rest + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load YouTube Analytics API v1 */ + function load(name: "youtubeanalytics", version: "v1"): PromiseLike<void>; + function load(name: "youtubeanalytics", version: "v1", callback: () => any): void; + + const groupItems: youtubeanalytics.GroupItemsResource; + + const groups: youtubeanalytics.GroupsResource; + + const reports: youtubeanalytics.ReportsResource; + + namespace youtubeanalytics { + interface Group { + contentDetails?: { + itemCount?: string; + itemType?: string; + }; + etag?: string; + id?: string; + kind?: string; + snippet?: { + publishedAt?: string; + title?: string; + }; + } + interface GroupItem { + etag?: string; + groupId?: string; + id?: string; + kind?: string; + resource?: { + id?: string; + kind?: string; + }; + } + interface GroupItemListResponse { + etag?: string; + items?: GroupItem[]; + kind?: string; + } + interface GroupListResponse { + etag?: string; + items?: Group[]; + kind?: string; + nextPageToken?: string; + } + interface ResultTable { + /** + * This value specifies information about the data returned in the rows fields. Each item in the columnHeaders list identifies a field returned in the + * rows value, which contains a list of comma-delimited data. The columnHeaders list will begin with the dimensions specified in the API request, which + * will be followed by the metrics specified in the API request. The order of both dimensions and metrics will match the ordering in the API request. For + * example, if the API request contains the parameters dimensions=ageGroup,gender&metrics=viewerPercentage, the API response will return columns in this + * order: ageGroup,gender,viewerPercentage. + */ + columnHeaders?: Array<{ + /** The type of the column (DIMENSION or METRIC). */ + columnType?: string; + /** The type of the data in the column (STRING, INTEGER, FLOAT, etc.). */ + dataType?: string; + /** The name of the dimension or metric. */ + name?: string; + }>; + /** This value specifies the type of data included in the API response. For the query method, the kind property value will be youtubeAnalytics#resultTable. */ + kind?: string; + /** + * The list contains all rows of the result table. Each item in the list is an array that contains comma-delimited data corresponding to a single row of + * data. The order of the comma-delimited data fields will match the order of the columns listed in the columnHeaders field. If no data is available for + * the given query, the rows element will be omitted from the response. The response for a query with the day dimension will not contain rows for the most + * recent days. + */ + rows?: any[][]; + } + interface GroupItemsResource { + /** Removes an item from a group. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id parameter specifies the YouTube group item ID for the group that is being deleted. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Creates a group item. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GroupItem>; + /** Returns a collection of group items that match the API request parameters. */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id parameter specifies the unique ID of the group for which you want to retrieve group items. */ + groupId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GroupItemListResponse>; + } + interface GroupsResource { + /** Deletes a group. */ + delete(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The id parameter specifies the YouTube group ID for the group that is being deleted. */ + id: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<void>; + /** Creates a group. */ + insert(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Group>; + /** + * Returns a collection of groups that match the API request parameters. For example, you can retrieve all groups that the authenticated user owns, or you + * can retrieve one or more groups by their unique IDs. + */ + list(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * The id parameter specifies a comma-separated list of the YouTube group ID(s) for the resource(s) that are being retrieved. In a group resource, the id + * property specifies the group's YouTube group ID. + */ + id?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** Set this parameter's value to true to instruct the API to only return groups owned by the authenticated user. */ + mine?: boolean; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** + * The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken property identifies + * the next page that can be retrieved. + */ + pageToken?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<GroupListResponse>; + /** Modifies a group. For example, you could change a group's title. */ + update(request: { + /** Data format for the response. */ + alt?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * Note: This parameter is intended exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the + * content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube + * channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication + * credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. + */ + onBehalfOfContentOwner?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<Group>; + } + interface ReportsResource { + /** Retrieve your YouTube Analytics reports. */ + query(request: { + /** Data format for the response. */ + alt?: string; + /** + * The currency to which financial metrics should be converted. The default is US Dollar (USD). If the result contains no financial metrics, this flag + * will be ignored. Responds with an error if the specified currency is not recognized. + */ + currency?: string; + /** + * A comma-separated list of YouTube Analytics dimensions, such as views or ageGroup,gender. See the Available Reports document for a list of the reports + * that you can retrieve and the dimensions used for those reports. Also see the Dimensions document for definitions of those dimensions. + */ + dimensions?: string; + /** The end date for fetching YouTube Analytics data. The value should be in YYYY-MM-DD format. */ + "end-date": string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * A list of filters that should be applied when retrieving YouTube Analytics data. The Available Reports document identifies the dimensions that can be + * used to filter each report, and the Dimensions document defines those dimensions. If a request uses multiple filters, join them together with a + * semicolon (;), and the returned result table will satisfy both filters. For example, a filters parameter value of video==dMH0bHeiRNg;country==IT + * restricts the result set to include data for the given video in Italy. + */ + filters?: string; + /** + * Identifies the YouTube channel or content owner for which you are retrieving YouTube Analytics data. + * - To request data for a YouTube user, set the ids parameter value to channel==CHANNEL_ID, where CHANNEL_ID specifies the unique YouTube channel ID. + * - To request data for a YouTube CMS content owner, set the ids parameter value to contentOwner==OWNER_NAME, where OWNER_NAME is the CMS name of the + * content owner. + */ + ids: string; + /** If set to true historical data (i.e. channel data from before the linking of the channel to the content owner) will be retrieved. */ + "include-historical-channel-data"?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** The maximum number of rows to include in the response. */ + "max-results"?: number; + /** + * A comma-separated list of YouTube Analytics metrics, such as views or likes,dislikes. See the Available Reports document for a list of the reports that + * you can retrieve and the metrics available in each report, and see the Metrics document for definitions of those metrics. + */ + metrics: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * Overrides userIp if both are provided. + */ + quotaUser?: string; + /** + * A comma-separated list of dimensions or metrics that determine the sort order for YouTube Analytics data. By default the sort order is ascending. The + * '-' prefix causes descending sort order. + */ + sort?: string; + /** The start date for fetching YouTube Analytics data. The value should be in YYYY-MM-DD format. */ + "start-date": string; + /** An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter (one-based, inclusive). */ + "start-index"?: number; + /** IP address of the site where the request originates. Use this if you want to enforce per-user limits. */ + userIp?: string; + }): Request<ResultTable>; + } + } +} diff --git a/types/gapi.client.youtubeanalytics/readme.md b/types/gapi.client.youtubeanalytics/readme.md new file mode 100644 index 0000000000..1ca1b21028 --- /dev/null +++ b/types/gapi.client.youtubeanalytics/readme.md @@ -0,0 +1,106 @@ +# TypeScript typings for YouTube Analytics API v1 +Retrieves your YouTube Analytics data. +For detailed description please check [documentation](http://developers.google.com/youtube/analytics/). + +## Installing + +Install typings for YouTube Analytics API: +``` +npm install @types/gapi.client.youtubeanalytics@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('youtubeanalytics', 'v1', () => { + // now we can use gapi.client.youtubeanalytics + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // Manage your YouTube account + 'https://www.googleapis.com/auth/youtube', + + // View your YouTube account + 'https://www.googleapis.com/auth/youtube.readonly', + + // View and manage your assets and associated content on YouTube + 'https://www.googleapis.com/auth/youtubepartner', + + // View monetary and non-monetary YouTube Analytics reports for your YouTube content + 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly', + + // View YouTube Analytics reports for your YouTube content + 'https://www.googleapis.com/auth/yt-analytics.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use YouTube Analytics API resources: + +```typescript + +/* +Removes an item from a group. +*/ +await gapi.client.groupItems.delete({ id: "id", }); + +/* +Creates a group item. +*/ +await gapi.client.groupItems.insert({ }); + +/* +Returns a collection of group items that match the API request parameters. +*/ +await gapi.client.groupItems.list({ groupId: "groupId", }); + +/* +Deletes a group. +*/ +await gapi.client.groups.delete({ id: "id", }); + +/* +Creates a group. +*/ +await gapi.client.groups.insert({ }); + +/* +Returns a collection of groups that match the API request parameters. For example, you can retrieve all groups that the authenticated user owns, or you can retrieve one or more groups by their unique IDs. +*/ +await gapi.client.groups.list({ }); + +/* +Modifies a group. For example, you could change a group's title. +*/ +await gapi.client.groups.update({ }); + +/* +Retrieve your YouTube Analytics reports. +*/ +await gapi.client.reports.query({ end-date: "end-date", ids: "ids", metrics: "metrics", start-date: "start-date", }); +``` \ No newline at end of file diff --git a/types/gapi.client.youtubeanalytics/tsconfig.json b/types/gapi.client.youtubeanalytics/tsconfig.json new file mode 100644 index 0000000000..84b8975062 --- /dev/null +++ b/types/gapi.client.youtubeanalytics/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.youtubeanalytics-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.youtubeanalytics/tslint.json b/types/gapi.client.youtubeanalytics/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.youtubeanalytics/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client.youtubereporting/gapi.client.youtubereporting-tests.ts b/types/gapi.client.youtubereporting/gapi.client.youtubereporting-tests.ts new file mode 100644 index 0000000000..71dea6777a --- /dev/null +++ b/types/gapi.client.youtubereporting/gapi.client.youtubereporting-tests.ts @@ -0,0 +1,69 @@ +/* This is stub file for gapi.client.{{=it.name}} definition tests */ +/* IMPORTANT. +* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +**/ +gapi.load('client', () => { + /** now we can use gapi.client */ + gapi.client.load('youtubereporting', 'v1', () => { + /** now we can use gapi.client.youtubereporting */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<<PUT YOUR CLIENT ID HERE>>'; + const scope = [ + /** View monetary and non-monetary YouTube Analytics reports for your YouTube content */ + 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly', + /** View YouTube Analytics reports for your YouTube content */ + 'https://www.googleapis.com/auth/yt-analytics.readonly', + ]; + const immediate = true; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle succesfull authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + run(); + }); + + async function run() { + /** Creates a job and returns it. */ + await gapi.client.jobs.create({ + onBehalfOfContentOwner: "onBehalfOfContentOwner", + }); + /** Deletes a job. */ + await gapi.client.jobs.delete({ + jobId: "jobId", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + }); + /** Gets a job. */ + await gapi.client.jobs.get({ + jobId: "jobId", + onBehalfOfContentOwner: "onBehalfOfContentOwner", + }); + /** Lists jobs. */ + await gapi.client.jobs.list({ + includeSystemManaged: true, + onBehalfOfContentOwner: "onBehalfOfContentOwner", + pageSize: 3, + pageToken: "pageToken", + }); + /** + * Method for media download. Download is supported + * on the URI `/v1/media/{+name}?alt=media`. + */ + await gapi.client.media.download({ + resourceName: "resourceName", + }); + /** Lists report types. */ + await gapi.client.reportTypes.list({ + includeSystemManaged: true, + onBehalfOfContentOwner: "onBehalfOfContentOwner", + pageSize: 3, + pageToken: "pageToken", + }); + } +}); diff --git a/types/gapi.client.youtubereporting/index.d.ts b/types/gapi.client.youtubereporting/index.d.ts new file mode 100644 index 0000000000..976d7c7fc5 --- /dev/null +++ b/types/gapi.client.youtubereporting/index.d.ts @@ -0,0 +1,483 @@ +// Type definitions for Google YouTube Reporting API v1 1.0 +// Project: https://developers.google.com/youtube/reporting/v1/reports/ +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +// IMPORTANT +// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator +// Generated from: https://youtubereporting.googleapis.com/$discovery/rest?version=v1 + +/// <reference types="gapi.client" /> + +declare namespace gapi.client { + /** Load YouTube Reporting API v1 */ + function load(name: "youtubereporting", version: "v1"): PromiseLike<void>; + function load(name: "youtubereporting", version: "v1", callback: () => any): void; + + const jobs: youtubereporting.JobsResource; + + const media: youtubereporting.MediaResource; + + const reportTypes: youtubereporting.ReportTypesResource; + + namespace youtubereporting { + interface Job { + /** The creation date/time of the job. */ + createTime?: string; + /** + * The date/time when this job will expire/expired. After a job expired, no + * new reports are generated. + */ + expireTime?: string; + /** The server-generated ID of the job (max. 40 characters). */ + id?: string; + /** The name of the job (max. 100 characters). */ + name?: string; + /** + * The type of reports this job creates. Corresponds to the ID of a + * ReportType. + */ + reportTypeId?: string; + /** + * True if this a system-managed job that cannot be modified by the user; + * otherwise false. + */ + systemManaged?: boolean; + } + interface ListJobsResponse { + /** The list of jobs. */ + jobs?: Job[]; + /** + * A token to retrieve next page of results. + * Pass this value in the + * ListJobsRequest.page_token + * field in the subsequent call to `ListJobs` method to retrieve the next + * page of results. + */ + nextPageToken?: string; + } + interface ListReportTypesResponse { + /** + * A token to retrieve next page of results. + * Pass this value in the + * ListReportTypesRequest.page_token + * field in the subsequent call to `ListReportTypes` method to retrieve the next + * page of results. + */ + nextPageToken?: string; + /** The list of report types. */ + reportTypes?: ReportType[]; + } + interface ListReportsResponse { + /** + * A token to retrieve next page of results. + * Pass this value in the + * ListReportsRequest.page_token + * field in the subsequent call to `ListReports` method to retrieve the next + * page of results. + */ + nextPageToken?: string; + /** The list of report types. */ + reports?: Report[]; + } + interface Media { + /** Name of the media resource. */ + resourceName?: string; + } + interface Report { + /** The date/time when this report was created. */ + createTime?: string; + /** The URL from which the report can be downloaded (max. 1000 characters). */ + downloadUrl?: string; + /** + * The end of the time period that the report instance covers. The value is + * exclusive. + */ + endTime?: string; + /** The server-generated ID of the report. */ + id?: string; + /** The date/time when the job this report belongs to will expire/expired. */ + jobExpireTime?: string; + /** The ID of the job that created this report. */ + jobId?: string; + /** + * The start of the time period that the report instance covers. The value is + * inclusive. + */ + startTime?: string; + } + interface ReportType { + /** The date/time when this report type was/will be deprecated. */ + deprecateTime?: string; + /** The ID of the report type (max. 100 characters). */ + id?: string; + /** The name of the report type (max. 100 characters). */ + name?: string; + /** + * True if this a system-managed report type; otherwise false. Reporting jobs + * for system-managed report types are created automatically and can thus not + * be used in the `CreateJob` method. + */ + systemManaged?: boolean; + } + interface ReportsResource { + /** Gets the metadata of a specific report. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the job. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The content owner's external ID on which behalf the user is acting on. If + * not set, the user is acting for himself (his own channel). + */ + onBehalfOfContentOwner?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** The ID of the report to retrieve. */ + reportId: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Report>; + /** + * Lists reports created by a specific job. + * Returns NOT_FOUND if the job does not exist. + */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** If set, only reports created after the specified date/time are returned. */ + createdAfter?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the job. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The content owner's external ID on which behalf the user is acting on. If + * not set, the user is acting for himself (his own channel). + */ + onBehalfOfContentOwner?: string; + /** + * Requested page size. Server may return fewer report types than requested. + * If unspecified, server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. Typically, + * this is the value of + * ListReportsResponse.next_page_token + * returned in response to the previous call to the `ListReports` method. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * If set, only reports whose start time is greater than or equal the + * specified date/time are returned. + */ + startTimeAtOrAfter?: string; + /** + * If set, only reports whose start time is smaller than the specified + * date/time are returned. + */ + startTimeBefore?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListReportsResponse>; + } + interface JobsResource { + /** Creates a job and returns it. */ + create(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The content owner's external ID on which behalf the user is acting on. If + * not set, the user is acting for himself (his own channel). + */ + onBehalfOfContentOwner?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Job>; + /** Deletes a job. */ + delete(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the job to delete. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The content owner's external ID on which behalf the user is acting on. If + * not set, the user is acting for himself (his own channel). + */ + onBehalfOfContentOwner?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<{}>; + /** Gets a job. */ + get(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** The ID of the job to retrieve. */ + jobId: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The content owner's external ID on which behalf the user is acting on. If + * not set, the user is acting for himself (his own channel). + */ + onBehalfOfContentOwner?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Job>; + /** Lists jobs. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * If set to true, also system-managed jobs will be returned; otherwise only + * user-created jobs will be returned. System-managed jobs can neither be + * modified nor deleted. + */ + includeSystemManaged?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The content owner's external ID on which behalf the user is acting on. If + * not set, the user is acting for himself (his own channel). + */ + onBehalfOfContentOwner?: string; + /** + * Requested page size. Server may return fewer jobs than requested. + * If unspecified, server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. Typically, + * this is the value of + * ListReportTypesResponse.next_page_token + * returned in response to the previous call to the `ListJobs` method. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListJobsResponse>; + reports: ReportsResource; + } + interface MediaResource { + /** + * Method for media download. Download is supported + * on the URI `/v1/media/{+name}?alt=media`. + */ + download(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** + * Name of the media that is being downloaded. See + * ReadRequest.resource_name. + */ + resourceName: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<Media>; + } + interface ReportTypesResource { + /** Lists report types. */ + list(request: { + /** V1 error format. */ + "$.xgafv"?: string; + /** OAuth access token. */ + access_token?: string; + /** Data format for response. */ + alt?: string; + /** OAuth bearer token. */ + bearer_token?: string; + /** JSONP */ + callback?: string; + /** Selector specifying which fields to include in a partial response. */ + fields?: string; + /** + * If set to true, also system-managed report types will be returned; + * otherwise only the report types that can be used to create new reporting + * jobs will be returned. + */ + includeSystemManaged?: boolean; + /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ + key?: string; + /** OAuth 2.0 token for the current user. */ + oauth_token?: string; + /** + * The content owner's external ID on which behalf the user is acting on. If + * not set, the user is acting for himself (his own channel). + */ + onBehalfOfContentOwner?: string; + /** + * Requested page size. Server may return fewer report types than requested. + * If unspecified, server will pick an appropriate default. + */ + pageSize?: number; + /** + * A token identifying a page of results the server should return. Typically, + * this is the value of + * ListReportTypesResponse.next_page_token + * returned in response to the previous call to the `ListReportTypes` method. + */ + pageToken?: string; + /** Pretty-print response. */ + pp?: boolean; + /** Returns response with indentations and line breaks. */ + prettyPrint?: boolean; + /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ + quotaUser?: string; + /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + uploadType?: string; + /** Upload protocol for media (e.g. "raw", "multipart"). */ + upload_protocol?: string; + }): Request<ListReportTypesResponse>; + } + } +} diff --git a/types/gapi.client.youtubereporting/readme.md b/types/gapi.client.youtubereporting/readme.md new file mode 100644 index 0000000000..c481397ad8 --- /dev/null +++ b/types/gapi.client.youtubereporting/readme.md @@ -0,0 +1,88 @@ +# TypeScript typings for YouTube Reporting API v1 +Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files. +For detailed description please check [documentation](https://developers.google.com/youtube/reporting/v1/reports/). + +## Installing + +Install typings for YouTube Reporting API: +``` +npm install @types/gapi.client.youtubereporting@v1 --save-dev +``` + +## Usage + +You need to initialize Google API client in your code: +```typescript +gapi.load("client", () => { + // now we can use gapi.client + // ... +}); +``` + +Then load api client wrapper: +```typescript +gapi.client.load('youtubereporting', 'v1', () => { + // now we can use gapi.client.youtubereporting + // ... +}); +``` + +Don't forget to authenticate your client before sending any request to resources: +```typescript + +// declare client_id registered in Google Developers Console +var client_id = '', + scope = [ + // View monetary and non-monetary YouTube Analytics reports for your YouTube content + 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly', + + // View YouTube Analytics reports for your YouTube content + 'https://www.googleapis.com/auth/yt-analytics.readonly', + ], + immediate = true; +// ... + +gapi.auth.authorize({ client_id: client_id, scope: scope, immediate: immediate }, authResult => { + if (authResult && !authResult.error) { + /* handle succesfull authorization */ + } else { + /* handle authorization error */ + } +}); +``` + +After that you can use YouTube Reporting API resources: + +```typescript + +/* +Creates a job and returns it. +*/ +await gapi.client.jobs.create({ }); + +/* +Deletes a job. +*/ +await gapi.client.jobs.delete({ jobId: "jobId", }); + +/* +Gets a job. +*/ +await gapi.client.jobs.get({ jobId: "jobId", }); + +/* +Lists jobs. +*/ +await gapi.client.jobs.list({ }); + +/* +Method for media download. Download is supported +on the URI `/v1/media/{+name}?alt=media`. +*/ +await gapi.client.media.download({ resourceName: "resourceName", }); + +/* +Lists report types. +*/ +await gapi.client.reportTypes.list({ }); +``` \ No newline at end of file diff --git a/types/gapi.client.youtubereporting/tsconfig.json b/types/gapi.client.youtubereporting/tsconfig.json new file mode 100644 index 0000000000..05e2060796 --- /dev/null +++ b/types/gapi.client.youtubereporting/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client.youtubereporting-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client.youtubereporting/tslint.json b/types/gapi.client.youtubereporting/tslint.json new file mode 100644 index 0000000000..1c5c1ce060 --- /dev/null +++ b/types/gapi.client.youtubereporting/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"] + } +} diff --git a/types/gapi.client/gapi.client-tests.ts b/types/gapi.client/gapi.client-tests.ts new file mode 100644 index 0000000000..7d9465ef9a --- /dev/null +++ b/types/gapi.client/gapi.client-tests.ts @@ -0,0 +1,12 @@ +/* IMPORTANT. + * This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. + * In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator + **/ + +gapi.load('client', () => { + // now we can use gapi.client + + gapi.client.load('acceleratedmobilepageurl', 'v1', () => { + // now we can use gapi.client.acceleratedmobilepageurl + }); +}); diff --git a/types/gapi.client/index.d.ts b/types/gapi.client/index.d.ts new file mode 100644 index 0000000000..f7b7b78a4a --- /dev/null +++ b/types/gapi.client/index.d.ts @@ -0,0 +1,216 @@ +// Type definitions for Google API client 1.0 +// Project: https://developers.google.com +// Definitions by: Bolisov Alexey <https://github.com/Bolisov> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +declare namespace gapi { + /** + * Pragmatically initialize gapi class member. + */ + function load(api: string, callback: () => void): void; + + namespace client { + /** + * Loads the client library interface to a particular API. The new API interface will be in the form gapi.client.api.collection.method. + * @param name The name of the API to load. + * @param version The version of the API to load + * @param callback the function that is called once the API interface is loaded + */ + function load(name: string, version: string, callback: () => any): void; + function load(name: string, version: string): PromiseLike<void>; + + /** + * Creates a HTTP request for making RESTful requests. + * An object encapsulating the various arguments for this method. + */ + function request<T>(args: { + /** + * The URL to handle the request + */ + path: string; + /** + * The HTTP request method to use. Default is GET + */ + method?: string; + /** + * URL params in key-value pair form + */ + params?: any; + /** + * Additional HTTP request headers + */ + headers?: any; + /** + * The HTTP request body (applies to PUT or POST). + */ + body?: any; + // /** + // * If supplied, the request is executed immediately and no gapi.client.HttpRequest object is returned + // */ + // callback?: () => any; + }): Request<T>; + + /** + * Sets the API key for the application. + * @param apiKey The API key to set + */ + function setApiKey(apiKey: string): void; + + /** + * An object containing information about the HTTP response + */ + interface Response<T> { + // The JSON-parsed result. + result: T; + + // The raw response string. + body: string; + + // The map of HTTP response headers. + headers?: any[]; + + // HTTP status + status?: number; + + // HTTP status text + statusText?: string; + } + + /** + * An object encapsulating an HTTP request. This object is not instantiated directly, rather it is returned by gapi.client.request. + */ + interface Request<T> extends PromiseLike<Response<T>> { + /** + * Executes the request and runs the supplied callback on response. + * @param callback The callback function which executes when the request succeeds or fails. + */ + execute(callback: ( + /** + * contains the response parsed as JSON. If the response is not JSON, this field will be false. + */ + response: Response<T> + ) => any): void; + } + + interface ResponseMap<T> { + [id: string]: Response<T>; + } + + /** + * Represents an HTTP Batch operation. Individual HTTP requests are added with the add method and the batch is executed using execute. + */ + interface Batch<T> extends PromiseLike<Response<ResponseMap<T>>> { + /** + * Adds a gapi.client.Request to the batch. + * @param request The HTTP request to add to this batch. + * @param opt_params extra parameters for this batch entry. + */ + add<T>(request: Request<T>, opt_params?: { + /** + * Identifies the response for this request in the map of batch responses. If one is not provided, the system generates a random ID. + */ + id: string; + callback( + /** + * is the response for this request only. Its format is defined by the API method being called. + */ + individualResponse: Response<T>, + /** + * is the raw batch ID-response map as a string. It contains all responses to all requests in the batch. + */ + rawBatchResponse: string + ): any + }): void; + /** + * Executes all requests in the batch. The supplied callback is executed on success or failure. + * @param callback The callback to execute when the batch returns. + */ + execute(callback: ( + /** + * is an ID-response map of each requests response. + */ + responseMap: ResponseMap<T>, + /** + * is the same response, but as an unparsed JSON-string. + */ + rawBatchResponse: string + ) => any): void; + } + + /** + * Creates a batch object for batching individual requests. + */ + function newBatch<T>(): Batch<T>; + } + + namespace auth { + /** + * The OAuth 2.0 token object represents the OAuth 2.0 token and any associated data. + */ + interface GoogleApiOAuth2TokenObject { + /** + * The OAuth 2.0 token. Only present in successful responses + */ + access_token: string; + /** + * Details about the error. Only present in error responses + */ + error: string; + /** + * The duration, in seconds, the token is valid for. Only present in successful responses + */ + expires_in: string; + /** + * The Google API scopes related to this token + */ + state: string; + } + + /** + * Initiates the OAuth 2.0 authorization process. The browser displays a popup window prompting the user authenticate and authorize. + * After the user authorizes, the popup closes and the callback function fires. + * @param params A key/value map of parameters for the request. If the key is not one of the expected OAuth 2.0 parameters, it is added to the + * URI as a query parameter. + * @param callback The function to call once the login process is complete. The function takes an OAuth 2.0 token object as its only parameter. + */ + function authorize( + params: { + /** + * The application's client ID. Visit the Google Developers Console to get an OAuth 2.0 client ID. + */ + client_id?: string; + /** + * If true, then login uses "immediate mode", which means that the token is refreshed behind the scenes, and no UI is shown to the user. + */ + immediate?: boolean; + /** + * The OAuth 2.0 response type property. Default: token + */ + response_type?: string; + /** + * The auth scope or scopes to authorize. Auth scopes for individual APIs can be found in their documentation. + */ + scope?: string | string[]; + }, + callback: (authResult: GoogleApiOAuth2TokenObject) => void): void; + + /** + * Initializes the authorization feature. Call this when the client loads to prevent popup blockers from blocking the auth window on gapi.auth.authorize calls. + * @param callback A callback to execute when the auth feature is ready to make authorization calls. + */ + function init(callback: () => any): void; + + /** + * Retrieves the OAuth 2.0 token for the application. + * @return The OAuth 2.0 token. + */ + function getToken(): GoogleApiOAuth2TokenObject; + + /** + * Sets the OAuth 2.0 token for the application. + * @param token The token to set. + */ + function setToken(token: GoogleApiOAuth2TokenObject): void; + } +} diff --git a/types/gapi.client/readme.md b/types/gapi.client/readme.md new file mode 100644 index 0000000000..80fde6c082 --- /dev/null +++ b/types/gapi.client/readme.md @@ -0,0 +1,8 @@ +# Typescript definition for Gmail API library + +# usage +Install client library: + +``` +npm install @types/gapi.client --save-dev +``` \ No newline at end of file diff --git a/types/gapi.client/tsconfig.json b/types/gapi.client/tsconfig.json new file mode 100644 index 0000000000..09471da3d2 --- /dev/null +++ b/types/gapi.client/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "gapi.client-tests.ts" + ] +} \ No newline at end of file diff --git a/types/gapi.client/tslint.json b/types/gapi.client/tslint.json new file mode 100644 index 0000000000..99b968b867 --- /dev/null +++ b/types/gapi.client/tslint.json @@ -0,0 +1,9 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "interface-name": [false], + "ban-types": [false], + "await-promise": [true, "Request"], + "no-unnecessary-generics": false + } +} From 4bfdd6f05331f4f9fcd1e6825716c0eb551d1153 Mon Sep 17 00:00:00 2001 From: Jacob Froman <jacob.h.froman@gmail.com> Date: Mon, 9 Oct 2017 16:56:03 -0500 Subject: [PATCH 221/433] [react-native-linear-gradient] Add Typings (#20377) * Add LinearGradient typings * Fix typo in props type * Enable strictFunctionTypes and fix lint errors --- types/react-native-linear-gradient/index.d.ts | 47 +++++++++++++++++++ .../react-native-linear-gradient-tests.tsx | 35 ++++++++++++++ .../tsconfig.json | 25 ++++++++++ .../react-native-linear-gradient/tslint.json | 1 + 4 files changed, 108 insertions(+) create mode 100644 types/react-native-linear-gradient/index.d.ts create mode 100644 types/react-native-linear-gradient/react-native-linear-gradient-tests.tsx create mode 100644 types/react-native-linear-gradient/tsconfig.json create mode 100644 types/react-native-linear-gradient/tslint.json diff --git a/types/react-native-linear-gradient/index.d.ts b/types/react-native-linear-gradient/index.d.ts new file mode 100644 index 0000000000..9c7bfbc1fd --- /dev/null +++ b/types/react-native-linear-gradient/index.d.ts @@ -0,0 +1,47 @@ +// Type definitions for react-native-linear-gradient 2.3 +// Project: https://github.com/brentvatne/react-native-linear-gradient#readme +// Definitions by: Jacob Froman <https://github.com/j-fro> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +import * as React from 'react'; +import { ViewProperties } from 'react-native'; + +interface LinearGradientProps extends ViewProperties { + children?: React.ReactNode; + + /** + * Colors that will be used for the gradient + */ + colors?: ReadonlyArray<string>; + + /** + * Coordinates of the position that the gradient starts at, as a fraction + * of the overall size of the gradient, starting from the top left corner. + * { x: 0.1, y: 0.1 } means that the gradient will start 10% from the top + * and 10% from the left. + */ + start?: { x: number; y: number }; + + /** + * Coordinates of the position that the gradient ends at, as a fraction + * of the overall size of the gradient, starting from the top left corner. + * { x: 0.9, y: 0.9 } means that the gradient will end 90% from the top + * and 90% from the left. + */ + end?: { x: number; y: number }; + + /** + * An optional array of numbers defining the location of each gradient + * color stop, mapping to the color with the same index in colors prop. + * [0.1, 0.75, 1] means that first color will take 0% - 10%, second color + * will take 10% - 75% and finally third color will occupy 75% - 100%. + */ + locations?: ReadonlyArray<number>; +} + +declare class LinearGradient extends React.Component<LinearGradientProps> { + constructor(props: LinearGradientProps); +} + +export default LinearGradient; diff --git a/types/react-native-linear-gradient/react-native-linear-gradient-tests.tsx b/types/react-native-linear-gradient/react-native-linear-gradient-tests.tsx new file mode 100644 index 0000000000..00172818b1 --- /dev/null +++ b/types/react-native-linear-gradient/react-native-linear-gradient-tests.tsx @@ -0,0 +1,35 @@ +import * as React from 'react'; +import LinearGradient from 'react-native-linear-gradient'; +import { Text, StyleSheet } from 'react-native'; + +export default class MyLinearGradient extends React.Component { + render() { + return ( + <LinearGradient + colors={['#4c669f', '#3b5998', '#192f6a']} + start={{ x: 0.0, y: 0.25 }} + end={{ x: 0.5, y: 1.0 }} + locations={[0, 0.5, 0.6]} + style={styles.linearGradient} + > + <Text style={styles.buttonText}>Sign in with Facebook</Text> + </LinearGradient> + ); + } +} + +const styles = StyleSheet.create({ + linearGradient: { + flex: 1, + paddingLeft: 15, + paddingRight: 15, + borderRadius: 5 + }, + buttonText: { + fontSize: 18, + textAlign: 'center', + margin: 10, + color: '#ffffff', + backgroundColor: 'transparent' + } +}); diff --git a/types/react-native-linear-gradient/tsconfig.json b/types/react-native-linear-gradient/tsconfig.json new file mode 100644 index 0000000000..11c04115c3 --- /dev/null +++ b/types/react-native-linear-gradient/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "jsx": "react-native" + }, + "files": [ + "index.d.ts", + "react-native-linear-gradient-tests.tsx" + ] +} diff --git a/types/react-native-linear-gradient/tslint.json b/types/react-native-linear-gradient/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/react-native-linear-gradient/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 21d2097f3452121f6ed8617faf02aa66cfe6249c Mon Sep 17 00:00:00 2001 From: robert-prib-polestar <31437730+robert-prib-polestar@users.noreply.github.com> Date: Mon, 9 Oct 2017 22:57:18 +0100 Subject: [PATCH 222/433] Added typings for Leaflet.RotatedMarker (#20424) * Added typings for leaflet-rotatedmarker plugin * Fixed naming of test file. * fixed tslinting issues and versions definition * Simplied config and also added in "strictFunctionTypes": true, * Revert "Simplied config and also added in "strictFunctionTypes": true," This reverts commit 1594090f88e07f6c5eac21b95601733c1412a794. * Removed version declaration and added strictFunctionTypes in config --- types/leaflet-rotatedmarker/index.d.ts | 25 +++++++++++++++ .../leaflet-rotatedmarker-tests.ts | 31 +++++++++++++++++++ types/leaflet-rotatedmarker/tsconfig.json | 24 ++++++++++++++ types/leaflet-rotatedmarker/tslint.json | 1 + 4 files changed, 81 insertions(+) create mode 100644 types/leaflet-rotatedmarker/index.d.ts create mode 100644 types/leaflet-rotatedmarker/leaflet-rotatedmarker-tests.ts create mode 100644 types/leaflet-rotatedmarker/tsconfig.json create mode 100644 types/leaflet-rotatedmarker/tslint.json diff --git a/types/leaflet-rotatedmarker/index.d.ts b/types/leaflet-rotatedmarker/index.d.ts new file mode 100644 index 0000000000..d11a82ae56 --- /dev/null +++ b/types/leaflet-rotatedmarker/index.d.ts @@ -0,0 +1,25 @@ +// Type definitions for Leaflet.RotatedMarker 0.2 +// Project: https://github.com/bbecquet/Leaflet.RotatedMarker +// Definitions by: Robert Prib <https://github.com/robert-prib-polestar> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +import * as L from 'leaflet'; + +declare module 'leaflet' { + interface MarkerOptions { + rotationAngle?: number; // Rotation angle, in degrees, clockwise. (Default = 0) + rotationOrigin?: string; // The rotation center, as a transform-origin CSS rule. (Default = 'bottom center') + } + + interface Marker { + /* + * Sets the rotation angle value. + */ + setRotationAngle(newAngle: number): this; + + /** + * Sets the rotation origin value. + */ + setRotationOrigin(newOrigin: string): this; + } +} diff --git a/types/leaflet-rotatedmarker/leaflet-rotatedmarker-tests.ts b/types/leaflet-rotatedmarker/leaflet-rotatedmarker-tests.ts new file mode 100644 index 0000000000..a9df622f11 --- /dev/null +++ b/types/leaflet-rotatedmarker/leaflet-rotatedmarker-tests.ts @@ -0,0 +1,31 @@ +import * as L from 'leaflet'; +import 'leaflet-rotatedmarker'; + +// Test can provide new MarkerOptions is extended correctly. +let marker = L.marker([50.5, 30.5], { + title: 'test leaflet rotated marker', + rotationAngle: 10, + rotationOrigin: 'center center' +}); + +marker = L.marker([50.5, 30.5], { + title: 'test leaflet rotated marker', + rotationAngle: 10, +}); + +marker = L.marker([50.5, 30.5], { + title: 'test leaflet rotated marker', +}); + +marker = L.marker([50.5, 30.5]); + +marker = new L.Marker([50.5, 30.5], { + title: 'test leaflet rotated marker', + rotationAngle: 10, + rotationOrigin: 'center center' +}); + +// Test new marker functions are available +marker + .setRotationAngle(5) + .setRotationOrigin('bottom center'); diff --git a/types/leaflet-rotatedmarker/tsconfig.json b/types/leaflet-rotatedmarker/tsconfig.json new file mode 100644 index 0000000000..18bf544889 --- /dev/null +++ b/types/leaflet-rotatedmarker/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictFunctionTypes": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "leaflet-rotatedmarker-tests.ts" + ] +} diff --git a/types/leaflet-rotatedmarker/tslint.json b/types/leaflet-rotatedmarker/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/leaflet-rotatedmarker/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 0d68839619ef9fb974c93f0eab879790865c1ec2 Mon Sep 17 00:00:00 2001 From: Daniel Bowring <github@danielb.codes> Date: Tue, 10 Oct 2017 07:02:28 +0900 Subject: [PATCH 223/433] Add jsonfile types (#20416) --- types/jsonfile/index.d.ts | 60 ++++++++++++++++++++++++++++++++ types/jsonfile/jsonfile-tests.ts | 34 ++++++++++++++++++ types/jsonfile/tsconfig.json | 23 ++++++++++++ types/jsonfile/tslint.json | 1 + 4 files changed, 118 insertions(+) create mode 100644 types/jsonfile/index.d.ts create mode 100644 types/jsonfile/jsonfile-tests.ts create mode 100644 types/jsonfile/tsconfig.json create mode 100644 types/jsonfile/tslint.json diff --git a/types/jsonfile/index.d.ts b/types/jsonfile/index.d.ts new file mode 100644 index 0000000000..bed60556a1 --- /dev/null +++ b/types/jsonfile/index.d.ts @@ -0,0 +1,60 @@ +// Type definitions for jsonfile 4.0 +// Project: https://github.com/jprichardson/node-jsonfile#readme +// Definitions by: Daniel Bowring <https://github.com/dbowring> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// <reference types="node"/> + +import { Url } from 'url'; + +export type FSReadOptions = { + encoding?: null | undefined; + flag?: string | undefined; + } | null | undefined; +export type FSWriteOptions = string | { + encoding?: string | null | undefined; + mode?: string | number | undefined; + flag?: string | undefined; + } | null | undefined; + +export type ReadCallback = (err: NodeJS.ErrnoException | null, data: Buffer) => void; +export type WriteCallback = (err: NodeJS.ErrnoException) => void; +export type Path = string | number | Buffer | Url; + +export interface FS { + readFile(path: Path, options: FSReadOptions, callback: ReadCallback): void; + readFileSync(path: Path, options?: FSReadOptions): Buffer; + writeFile(path: Path, data: any, options: FSWriteOptions, callback: WriteCallback): void; + writeFileSync(path: Path, data: any, options?: FSWriteOptions): void; +} + +export type JFReadOptions = { + encoding?: null | undefined; + flag?: string | undefined; + throws?: boolean; + fs?: FS; + reviver?: ((key: any, value: any) => any) | undefined; + } | null | undefined; + +export type JFWriteOptions = string | { + encoding?: string | null | undefined; + mode?: string | number | undefined; + flag?: string | undefined; + throws?: boolean; + fs?: FS; + EOL?: string; + spaces?: string | number | undefined; + replacer?: ((key: string, value: any) => any) | undefined; + } | null | undefined; + +export type JFReadCallback = (err: NodeJS.ErrnoException | null, data: any) => void; + +export function readFile(file: Path, options?: JFReadOptions, callback?: JFReadCallback): void; +export function readFile(file: Path, callback: JFReadCallback): void; + +export function readFileSync(file: Path, options?: JFReadOptions): any; + +export function writeFile(file: Path, obj: any, options?: JFWriteOptions, callback?: WriteCallback): void; +export function writeFile(file: Path, obj: any, callback: WriteCallback): void; + +export function writeFileSync(file: Path, obj: any, options?: JFWriteOptions): void; diff --git a/types/jsonfile/jsonfile-tests.ts b/types/jsonfile/jsonfile-tests.ts new file mode 100644 index 0000000000..675a32d8b9 --- /dev/null +++ b/types/jsonfile/jsonfile-tests.ts @@ -0,0 +1,34 @@ +// Following are lifted from the samples on the NPM page, modified to pass +// the linter + +import * as jsonfile from 'jsonfile'; + +const file = '/tmp/data.json'; +const obj = {name: 'JP'}; + +jsonfile.readFile(file, (err: NodeJS.ErrnoException | null, obj: any) => { + console.dir(obj); +}); + +console.dir(jsonfile.readFileSync(file)); + +jsonfile.writeFile(file, obj, (err: NodeJS.ErrnoException) => { + console.error(err); +}); + +jsonfile.writeFile(file, obj, {spaces: 2}, (err: NodeJS.ErrnoException) => { + console.error(err); +}); + +jsonfile.writeFile(file, obj, {spaces: 2, EOL: '\r\n'}, (err: NodeJS.ErrnoException) => { + console.error(err); +}); + +jsonfile.writeFile(file, obj, {flag: 'a'}, (err: NodeJS.ErrnoException) => { + console.error(err); +}); + +jsonfile.writeFileSync(file, obj); +jsonfile.writeFileSync(file, obj, {spaces: 2}); +jsonfile.writeFileSync(file, obj, {spaces: 2, EOL: '\r\n'}); +jsonfile.writeFileSync(file, obj, {flag: 'a'}); diff --git a/types/jsonfile/tsconfig.json b/types/jsonfile/tsconfig.json new file mode 100644 index 0000000000..287f9558c5 --- /dev/null +++ b/types/jsonfile/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "jsonfile-tests.ts" + ] +} diff --git a/types/jsonfile/tslint.json b/types/jsonfile/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/jsonfile/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From f2094c7891acfd3774a5a059b5462ee6ebf8441e Mon Sep 17 00:00:00 2001 From: Giorgi Kotchlamazashvili <hertzg@users.noreply.github.com> Date: Tue, 10 Oct 2017 02:31:41 +0400 Subject: [PATCH 224/433] Added type definitions for net-keepalive (#20403) * Added type definitions for net-keepalive * fixes linting issues * Enables no-unnecessary-generics rule while linting --- types/net-keepalive/index.d.ts | 10 ++++++++++ types/net-keepalive/net-keepalive-tests.ts | 21 +++++++++++++++++++++ types/net-keepalive/tsconfig.json | 21 +++++++++++++++++++++ types/net-keepalive/tslint.json | 9 +++++++++ 4 files changed, 61 insertions(+) create mode 100644 types/net-keepalive/index.d.ts create mode 100644 types/net-keepalive/net-keepalive-tests.ts create mode 100644 types/net-keepalive/tsconfig.json create mode 100644 types/net-keepalive/tslint.json diff --git a/types/net-keepalive/index.d.ts b/types/net-keepalive/index.d.ts new file mode 100644 index 0000000000..45d99efa8d --- /dev/null +++ b/types/net-keepalive/index.d.ts @@ -0,0 +1,10 @@ +// Type definitions for net-keepalive 0.4 +// Project: https://github.com/hertzg/node-net-keepalive +// Definitions by: George Kotchlamazashvili <https://github.com/hertzg> +// Definitions: https://github.com/hertzg/node-net-keepalive + +/// <reference types="node" /> + +export type NodeJSSocketWithFileDescriptor = NodeJS.Socket | { _handle: { _fd: number } } +export function setKeepAliveProbes(socket: NodeJSSocketWithFileDescriptor, cnt: number): number +export function setKeepAliveInterval(socket: NodeJSSocketWithFileDescriptor, intvl: number): number \ No newline at end of file diff --git a/types/net-keepalive/net-keepalive-tests.ts b/types/net-keepalive/net-keepalive-tests.ts new file mode 100644 index 0000000000..68b71daff4 --- /dev/null +++ b/types/net-keepalive/net-keepalive-tests.ts @@ -0,0 +1,21 @@ +import NetKeepAlive = require('net-keepalive') +import * as Net from 'net' + +const server = Net.createServer((socket) => { + socket.setKeepAlive(true, 1000) + NetKeepAlive.setKeepAliveInterval(socket, 1000) + NetKeepAlive.setKeepAliveProbes(socket, 1) + socket.on('end', () => server.close()) +}) + +server.listen(1337, '127.0.0.1', () => { + const {port, address} = server.address() + const clientSocket = Net.createConnection({ + port, host: address + }, () => { + clientSocket.setKeepAlive(true, 1000) + NetKeepAlive.setKeepAliveInterval(clientSocket, 1000) + NetKeepAlive.setKeepAliveProbes(clientSocket, 1) + clientSocket.end() + }) +}) \ No newline at end of file diff --git a/types/net-keepalive/tsconfig.json b/types/net-keepalive/tsconfig.json new file mode 100644 index 0000000000..38736fd181 --- /dev/null +++ b/types/net-keepalive/tsconfig.json @@ -0,0 +1,21 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es5" + ], + "baseUrl": "../", + "typeRoots": ["../"], + "types": [], + "forceConsistentCasingInFileNames": true, + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "noEmit": true + }, + "files": [ + "index.d.ts", + "net-keepalive-tests.ts" + ] +} \ No newline at end of file diff --git a/types/net-keepalive/tslint.json b/types/net-keepalive/tslint.json new file mode 100644 index 0000000000..193d7e799a --- /dev/null +++ b/types/net-keepalive/tslint.json @@ -0,0 +1,9 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "semicolon": [true, "never"], + "eofline": false, + "indent": [true, "spaces", 4], + "linebreak-style": [true, "LF"] + } +} \ No newline at end of file From c86053c1f3b1265c5c5ae264921cb07a2f7e044f Mon Sep 17 00:00:00 2001 From: Bradley Ayers <bradley.ayers@gmail.com> Date: Tue, 10 Oct 2017 09:32:18 +1100 Subject: [PATCH 225/433] Add svgo 0.7 types. (#20397) --- types/svgo/index.d.ts | 236 +++++++++++++++++++++++++++++++++++++++ types/svgo/svgo-tests.ts | 25 +++++ types/svgo/tsconfig.json | 23 ++++ types/svgo/tslint.json | 1 + 4 files changed, 285 insertions(+) create mode 100644 types/svgo/index.d.ts create mode 100644 types/svgo/svgo-tests.ts create mode 100644 types/svgo/tsconfig.json create mode 100644 types/svgo/tslint.json diff --git a/types/svgo/index.d.ts b/types/svgo/index.d.ts new file mode 100644 index 0000000000..f585f54658 --- /dev/null +++ b/types/svgo/index.d.ts @@ -0,0 +1,236 @@ +// Type definitions for svgo 0.7 +// Project: https://github.com/svg/svgo +// Definitions by: Bradley Ayers <https://github.com/bradleyayers> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 + +interface PluginCleanupAttrs { + cleanupAttrs: object; +} + +interface PluginRemoveDoctype { + removeDoctype: object; +} + +interface PluginRemoveXMLProcInst { + removeXMLProcInst: object; +} + +interface PluginRemoveComments { + removeComments: object; +} + +interface PluginRemoveMetadata { + removeMetadata: object; +} + +interface PluginRemoveTitle { + removeTitle: object; +} + +interface PluginRemoveDesc { + removeDesc: object; +} + +interface PluginRemoveUselessDefs { + removeUselessDefs: object; +} + +interface PluginRemoveXMLNS { + removeXMLNS: object; +} + +interface PluginRemoveEditorsNSData { + removeEditorsNSData: object; +} + +interface PluginRemoveEmptyAttrs { + removeEmptyAttrs: object; +} + +interface PluginRemoveHiddenElems { + removeHiddenElems: object; +} + +interface PluginRemoveEmptyText { + removeEmptyText: object; +} + +interface PluginRemoveEmptyContainers { + removeEmptyContainers: object; +} + +interface PluginRemoveViewBox { + removeViewBox: object; +} + +interface PluginCleanupEnableBackground { + cleanupEnableBackground: object; +} + +interface PluginMinifyStyles { + minifyStyles: object; +} + +interface PluginConvertStyleToAttrs { + convertStyleToAttrs: object; +} + +interface PluginConvertColors { + convertColors: object; +} + +interface PluginConvertPathData { + convertPathData: object; +} + +interface PluginConvertTransform { + convertTransform: object; +} + +interface PluginRemoveUnknownsAndDefaults { + removeUnknownsAndDefaults: object; +} + +interface PluginRemoveNonInheritableGroupAttrs { + removeNonInheritableGroupAttrs: object; +} + +interface PluginRemoveUselessStrokeAndFill { + removeUselessStrokeAndFill: object; +} + +interface PluginRemoveUnusedNS { + removeUnusedNS: object; +} + +interface PluginCleanupIDs { + cleanupIDs: object; +} + +interface PluginCleanupNumericValues { + cleanupNumericValues: object; +} + +interface PluginCleanupListOfValues { + cleanupListOfValues: object; +} + +interface PluginMoveElemsAttrsToGroup { + moveElemsAttrsToGroup: object; +} + +interface PluginMoveGroupAttrsToElems { + moveGroupAttrsToElems: object; +} + +interface PluginCollapseGroups { + collapseGroups: object; +} + +interface PluginRemoveRasterImages { + removeRasterImages: object; +} + +interface PluginMergePaths { + mergePaths: object; +} + +interface PluginConvertShapeToPath { + convertShapeToPath: object; +} + +interface PluginSortAttrs { + sortAttrs: object; +} + +interface PluginTransformsWithOnePath { + transformsWithOnePath: object; +} + +interface PluginRemoveDimensions { + removeDimensions: object; +} + +interface PluginRemoveAttrs { + removeAttrs: object; +} + +interface PluginRemoveElementsByAttr { + removeElementsByAttr: object; +} + +interface PluginAddClassesToSVGElement { + addClassesToSVGElement: object; +} + +interface PluginAddAttributesToSVGElement { + addAttributesToSVGElement: object; +} + +interface PluginRemoveStyleElement { + removeStyleElement: object; +} + +interface PluginRemoveScriptElement { + removeScriptElement: object; +} + +type PluginConfig = + | PluginCleanupAttrs + | PluginRemoveDoctype + | PluginRemoveXMLProcInst + | PluginRemoveComments + | PluginRemoveMetadata + | PluginRemoveTitle + | PluginRemoveDesc + | PluginRemoveUselessDefs + | PluginRemoveXMLNS + | PluginRemoveEditorsNSData + | PluginRemoveEmptyAttrs + | PluginRemoveHiddenElems + | PluginRemoveEmptyText + | PluginRemoveEmptyContainers + | PluginRemoveViewBox + | PluginCleanupEnableBackground + | PluginMinifyStyles + | PluginConvertStyleToAttrs + | PluginConvertColors + | PluginConvertPathData + | PluginConvertTransform + | PluginRemoveUnknownsAndDefaults + | PluginRemoveNonInheritableGroupAttrs + | PluginRemoveUselessStrokeAndFill + | PluginRemoveUnusedNS + | PluginCleanupIDs + | PluginCleanupNumericValues + | PluginCleanupListOfValues + | PluginMoveElemsAttrsToGroup + | PluginMoveGroupAttrsToElems + | PluginCollapseGroups + | PluginRemoveRasterImages + | PluginMergePaths + | PluginConvertShapeToPath + | PluginSortAttrs + | PluginTransformsWithOnePath + | PluginRemoveDimensions + | PluginRemoveAttrs + | PluginRemoveElementsByAttr + | PluginAddClassesToSVGElement + | PluginAddAttributesToSVGElement + | PluginRemoveStyleElement + | PluginRemoveScriptElement; + +interface Options { + datauri?: string; + floatPrecision?: number; + full?: boolean; + plugins?: PluginConfig[]; +} + +declare class SVGO { + constructor(options?: Options); + optimize(code: string, callback: (result: any) => void): void; +} + +export = SVGO; diff --git a/types/svgo/svgo-tests.ts b/types/svgo/svgo-tests.ts new file mode 100644 index 0000000000..9761316bf0 --- /dev/null +++ b/types/svgo/svgo-tests.ts @@ -0,0 +1,25 @@ +import SVGO = require("svgo"); + +// Various constructor options. +let svgo = new SVGO(); +svgo = new SVGO({}); +svgo = new SVGO({ plugins: [] }); +svgo = new SVGO({ plugins: [{ cleanupAttrs: {} }] }); +svgo = new SVGO({ datauri: "datauri:" }); +svgo = new SVGO({ floatPrecision: 2 }); +svgo = new SVGO({ full: true }); +svgo = new SVGO({ + plugins: [], + datauri: "datauri:", + floatPrecision: 2, + full: true +}); + +// SVGO instance methods +svgo.optimize(`<?xml version="1.0" encoding="utf-8"?><svg></svg>`, result => { + if (result.error) { + result.error; + } else { + result.data; + } +}); diff --git a/types/svgo/tsconfig.json b/types/svgo/tsconfig.json new file mode 100644 index 0000000000..e2cdf41913 --- /dev/null +++ b/types/svgo/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "svgo-tests.ts" + ] +} diff --git a/types/svgo/tslint.json b/types/svgo/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/svgo/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 0a21515501c9969cf678766d3c02f51aeef5f5b2 Mon Sep 17 00:00:00 2001 From: Jean-Francois Cere <jfcere@users.noreply.github.com> Date: Mon, 9 Oct 2017 18:35:38 -0400 Subject: [PATCH 226/433] Add clockpicker definitions for v0.0.7 (#20389) * Add clockpicker definitions for v0.0.7 * Removed dt-header rule and fix version --- types/clockpicker/clockpicker-tests.ts | 32 +++++++++++++++++++++++ types/clockpicker/index.d.ts | 36 ++++++++++++++++++++++++++ types/clockpicker/tsconfig.json | 24 +++++++++++++++++ types/clockpicker/tslint.json | 6 +++++ 4 files changed, 98 insertions(+) create mode 100644 types/clockpicker/clockpicker-tests.ts create mode 100644 types/clockpicker/index.d.ts create mode 100644 types/clockpicker/tsconfig.json create mode 100644 types/clockpicker/tslint.json diff --git a/types/clockpicker/clockpicker-tests.ts b/types/clockpicker/clockpicker-tests.ts new file mode 100644 index 0000000000..473c268aac --- /dev/null +++ b/types/clockpicker/clockpicker-tests.ts @@ -0,0 +1,32 @@ +// ClockPicker tests from https://github.com/weareoutman/clockpicker + +// Initialize ClockPicker +$('.clockpicker').clockpicker(); + +// Initialize ClockPicker with options +$('.clockpicker').clockpicker({ + default: 'now', + placement: 'bottom', + align: 'left', + donetext: 'Done', + autoclose: false, + twelvehour: true, + vibrate: true, + fromnow: 0, + init: () => {}, + beforeShow: () => {}, + afterShow: () => {}, + beforeHide: () => {}, + afterHide: () => {}, + beforeHourSelect: () => {}, + afterHourSelect: () => {}, + beforeDone: () => {}, + afterDone: () => {}, +}); + +// Invoke ClockPicker operation methods +$('.clockpicker').clockpicker('show'); +$('.clockpicker').clockpicker('hide'); +$('.clockpicker').clockpicker('remove'); +$('.clockpicker').clockpicker('toggleView', 'hours'); +$('.clockpicker').clockpicker('toggleView', 'minutes'); diff --git a/types/clockpicker/index.d.ts b/types/clockpicker/index.d.ts new file mode 100644 index 0000000000..d9dbd444e8 --- /dev/null +++ b/types/clockpicker/index.d.ts @@ -0,0 +1,36 @@ +// Type definitions for ClockPicker 0.0 +// Project: https://github.com/weareoutman/clockpicker +// Definitions by: jfcere <https://github.com/jfcere> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +/// <reference types="jquery" /> + +interface ClockPickerOptions { + default?: string; + placement?: string; + align?: string; + donetext?: string; + autoclose?: boolean; + twelvehour?: boolean; + vibrate?: boolean; + fromnow?: number; + init?: () => void; + beforeShow?: () => void; + afterShow?: () => void; + beforeHide?: () => void; + afterHide?: () => void; + beforeHourSelect?: () => void; + afterHourSelect?: () => void; + beforeDone?: () => void; + afterDone?: () => void; +} + +interface ClockPicker { + (options?: ClockPickerOptions): JQuery; + (methodName: string, ...params: any[]): JQuery; +} + +interface JQuery { + clockpicker: ClockPicker; +} diff --git a/types/clockpicker/tsconfig.json b/types/clockpicker/tsconfig.json new file mode 100644 index 0000000000..64b80a0278 --- /dev/null +++ b/types/clockpicker/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": false, + "strictNullChecks": false, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "clockpicker-tests.ts" + ] +} diff --git a/types/clockpicker/tslint.json b/types/clockpicker/tslint.json new file mode 100644 index 0000000000..11584e5acd --- /dev/null +++ b/types/clockpicker/tslint.json @@ -0,0 +1,6 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "prefer-method-signature": false + } +} From b4b8c2f7d35d7fb25c184b2f2d2ed9d4dc457f72 Mon Sep 17 00:00:00 2001 From: York Yao <plantain-00@users.noreply.github.com> Date: Mon, 9 Oct 2017 17:36:57 -0500 Subject: [PATCH 227/433] add types of http-server (#20394) * add types of http-server * add strictFunctionTypes * fix lint --- types/http-server/http-server-tests.ts | 6 ++++++ types/http-server/index.d.ts | 30 ++++++++++++++++++++++++++ types/http-server/tsconfig.json | 23 ++++++++++++++++++++ types/http-server/tslint.json | 1 + 4 files changed, 60 insertions(+) create mode 100644 types/http-server/http-server-tests.ts create mode 100644 types/http-server/index.d.ts create mode 100644 types/http-server/tsconfig.json create mode 100644 types/http-server/tslint.json diff --git a/types/http-server/http-server-tests.ts b/types/http-server/http-server-tests.ts new file mode 100644 index 0000000000..8e6be14578 --- /dev/null +++ b/types/http-server/http-server-tests.ts @@ -0,0 +1,6 @@ +import { createServer } from "http-server"; + +const server = createServer(); +server.listen(8000); + +server.close(); diff --git a/types/http-server/index.d.ts b/types/http-server/index.d.ts new file mode 100644 index 0000000000..97b4739604 --- /dev/null +++ b/types/http-server/index.d.ts @@ -0,0 +1,30 @@ +// Type definitions for http-server 0.10 +// Project: https://github.com/indexzero/http-server#readme +// Definitions by: York Yao <https://github.com/plantain-00> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +import * as http from "http"; +import * as https from "https"; +import { HandleFunction } from "connect"; + +export function createServer(options?: Options): http.Server | https.Server; + +export interface Options { + root?: string; + headers?: { [name: string]: string }; + cache?: number; + showDir?: boolean | "false"; + autoIndex?: boolean | "false"; + showDotfiles?: boolean; + gzip?: boolean; + contentType?: string; + ext?: boolean; + before?: HandleFunction[]; + // tslint:disable-next-line prefer-method-signature + logFn?: (req: http.IncomingMessage, res: http.ServerResponse, err: Error) => void; + cors?: boolean; + corsHeaders?: string; + robots?: string | true; + proxy?: string; + https?: https.ServerOptions; +} diff --git a/types/http-server/tsconfig.json b/types/http-server/tsconfig.json new file mode 100644 index 0000000000..98f006389c --- /dev/null +++ b/types/http-server/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "http-server-tests.ts" + ] +} diff --git a/types/http-server/tslint.json b/types/http-server/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/http-server/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From ea4008d4e80f5dea2418174e260ec87648295cf0 Mon Sep 17 00:00:00 2001 From: Glen M <glencfl@gmail.com> Date: Mon, 9 Oct 2017 18:43:18 -0400 Subject: [PATCH 228/433] Add definitions for atom-mocha-test-runner. (#20380) * Add definitions for atom-mocha-test-runner. * Remove the editorconfig. * Atom: remove editorconfigs, linebreak-style, and all lint disables. --- types/atom-keymap/.editorconfig | 3 - types/atom-keymap/tsconfig.json | 2 +- types/atom-keymap/tslint.json | 1 - .../atom-mocha-test-runner-tests.ts | 38 ++++++++ types/atom-mocha-test-runner/index.d.ts | 39 +++++++++ types/atom-mocha-test-runner/tsconfig.json | 25 ++++++ types/atom-mocha-test-runner/tslint.json | 37 ++++++++ types/atom/.editorconfig | 3 - types/atom/atom-tests.ts | 17 +++- types/atom/index.d.ts | 87 +++++++++++++++---- types/atom/tslint.json | 3 +- types/event-kit/.editorconfig | 3 - types/event-kit/event-kit-tests.ts | 2 +- types/event-kit/index.d.ts | 4 + types/event-kit/tslint.json | 3 +- types/first-mate/.editorconfig | 3 - types/first-mate/index.d.ts | 6 +- types/first-mate/tslint.json | 4 +- types/pathwatcher/.editorconfig | 3 - types/pathwatcher/tslint.json | 1 - types/text-buffer/.editorconfig | 3 - types/text-buffer/tslint.json | 1 - 22 files changed, 236 insertions(+), 52 deletions(-) delete mode 100644 types/atom-keymap/.editorconfig create mode 100644 types/atom-mocha-test-runner/atom-mocha-test-runner-tests.ts create mode 100644 types/atom-mocha-test-runner/index.d.ts create mode 100644 types/atom-mocha-test-runner/tsconfig.json create mode 100644 types/atom-mocha-test-runner/tslint.json delete mode 100644 types/atom/.editorconfig delete mode 100644 types/event-kit/.editorconfig delete mode 100644 types/first-mate/.editorconfig delete mode 100644 types/pathwatcher/.editorconfig delete mode 100644 types/text-buffer/.editorconfig diff --git a/types/atom-keymap/.editorconfig b/types/atom-keymap/.editorconfig deleted file mode 100644 index 2b997514d2..0000000000 --- a/types/atom-keymap/.editorconfig +++ /dev/null @@ -1,3 +0,0 @@ -[*.ts] -indent_style = tab -indent_size = 2 diff --git a/types/atom-keymap/tsconfig.json b/types/atom-keymap/tsconfig.json index 1ef87fb730..f501df325f 100644 --- a/types/atom-keymap/tsconfig.json +++ b/types/atom-keymap/tsconfig.json @@ -21,4 +21,4 @@ "index.d.ts", "atom-keymap-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/atom-keymap/tslint.json b/types/atom-keymap/tslint.json index cd8f17056a..4b036f727a 100644 --- a/types/atom-keymap/tslint.json +++ b/types/atom-keymap/tslint.json @@ -5,7 +5,6 @@ "class-name": true, "indent": [true, "tabs"], "jsdoc-format": true, - "linebreak-style": [true, "LF"], "max-line-length": [true, 100], "quotemark": [true, "double", "avoid-escape"], "trailing-comma": [true, { diff --git a/types/atom-mocha-test-runner/atom-mocha-test-runner-tests.ts b/types/atom-mocha-test-runner/atom-mocha-test-runner-tests.ts new file mode 100644 index 0000000000..434e48f261 --- /dev/null +++ b/types/atom-mocha-test-runner/atom-mocha-test-runner-tests.ts @@ -0,0 +1,38 @@ +import { createRunner } from "atom-mocha-test-runner"; +import defaultMochaRunner = require("atom-mocha-test-runner"); + +const extraOptions = { + testSuffixes: ["-spec.js", "-spec.coffee"], +}; + +function mochaSetup(mocha: Mocha) { + mocha.addFile("test.file"); +} + +let testRunner = createRunner(); +testRunner = createRunner(extraOptions); +testRunner = createRunner(extraOptions, mochaSetup); +testRunner = createRunner({ + colors: true, + globalAtom: true, + htmlTitle: "Test Title", + reporter: "dot", + testSuffixes: ["test.file"], +}); + +declare const atom: Atom.AtomEnvironment; +declare const blob: object; +declare let num: number; + +async function runTests(): Promise<number> { + const runnerArgs: Atom.Structures.TestRunnerArgs = { + testPaths: ["/var/test"], + logFile: "/var/log", + headless: false, + buildDefaultApplicationDelegate: () => blob, + buildAtomEnvironment: () => atom, + }; + + num = await defaultMochaRunner(runnerArgs); + return await testRunner(runnerArgs); +} diff --git a/types/atom-mocha-test-runner/index.d.ts b/types/atom-mocha-test-runner/index.d.ts new file mode 100644 index 0000000000..432d91c71a --- /dev/null +++ b/types/atom-mocha-test-runner/index.d.ts @@ -0,0 +1,39 @@ +// Type definitions for atom-mocha-test-runner 1.0 +// Project: https://github.com/BinaryMuse/atom-mocha-test-runner +// Definitions by: GlenCFL <https://github.com/GlenCFL> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +/// <reference types="atom" /> +/// <reference types="mocha" /> + +interface AtomMochaOptions { + /** Which reporter to use on the terminal. */ + reporter?: string; + + /** Whether or not to assign the created Atom environment to `global.atom`. */ + globalAtom?: boolean; + + /** File extensions that indicate that the file contains tests. */ + testSuffixes?: string[]; + + /** Whether or not to colorize output on the terminal. */ + colors?: boolean; + + /** The string to use for the window title in the HTML reporter. */ + htmlTitle?: string; +} + +// The test runner function is augmented on export by: +// import createRunner from './lib/create-runner' +// +// module.exports = createRunner() +// module.exports.createRunner = createRunner +// Which is what we're trying to model here. +interface TestRunnerExport extends AtomCore.TestRunner { + createRunner(options?: AtomMochaOptions, mochaConfigFunction?: + (mocha: Mocha) => void): AtomCore.TestRunner; +} + +declare const runner: TestRunnerExport; +export = runner; diff --git a/types/atom-mocha-test-runner/tsconfig.json b/types/atom-mocha-test-runner/tsconfig.json new file mode 100644 index 0000000000..22df333ccd --- /dev/null +++ b/types/atom-mocha-test-runner/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "target": "es6", + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": false, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "atom-mocha-test-runner-tests.ts" + ] +} diff --git a/types/atom-mocha-test-runner/tslint.json b/types/atom-mocha-test-runner/tslint.json new file mode 100644 index 0000000000..4b036f727a --- /dev/null +++ b/types/atom-mocha-test-runner/tslint.json @@ -0,0 +1,37 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + // Custom rules. + "class-name": true, + "indent": [true, "tabs"], + "jsdoc-format": true, + "max-line-length": [true, 100], + "quotemark": [true, "double", "avoid-escape"], + "trailing-comma": [true, { + "multiline": { "objects": "always", "arrays": "always", "functions": "never" }, + "singleline": { "objects": "never", "arrays": "never", "functions": "never" } + }], + "whitespace": [ + true, + "check-branch", + "check-decl", + "check-operator", + "check-module", + "check-separator", + "check-type", + "check-typecast", + "check-rest-spread", + "check-preblock" + ], + // Soon to be defaults. + "arrow-return-shorthand": [true, "multiline"], + "no-any": true, + "no-floating-promises": true, + "no-unbound-method": true, + "no-unsafe-any": true, + "number-literal-format": true, + "restrict-plus-operands": true, + "return-undefined": true, + "switch-final-break": true + } +} diff --git a/types/atom/.editorconfig b/types/atom/.editorconfig deleted file mode 100644 index 2b997514d2..0000000000 --- a/types/atom/.editorconfig +++ /dev/null @@ -1,3 +0,0 @@ -[*.ts] -indent_style = tab -indent_size = 2 diff --git a/types/atom/atom-tests.ts b/types/atom/atom-tests.ts index 0f9def0a68..34f19e5f3e 100644 --- a/types/atom/atom-tests.ts +++ b/types/atom/atom-tests.ts @@ -524,6 +524,21 @@ regExp = cursor.subwordRegExp(); regExp = cursor.subwordRegExp({}); regExp = cursor.subwordRegExp({ backwards: true }); +//// CustomTestRunner ========================================================= +// http://flight-manual.atom.io/hacking-atom/sections/writing-specs/#customizing-your-test-runner +const testRunner: Atom.TestRunner = (params) => { + const delegate = params.buildDefaultApplicationDelegate(); + const environment = params.buildAtomEnvironment({ + applicationDelegate: delegate, + configDirPath: "/var/test", + document, + enablePersistence: false, + window, + }); + const { width, height } = environment.getSize(); + return Promise.resolve(width + height); +}; + //// Decoration =============================================================== // Construction and Destruction decoration.destroy(); @@ -1930,7 +1945,7 @@ sub = atom.workspace.onDidStopChangingActivePaneItem((item) => {}); sub = atom.workspace.onDidChangeActiveTextEditor(editor => { if (editor) { - editor.alive; + editor.id; } }); diff --git a/types/atom/index.d.ts b/types/atom/index.d.ts index 1cd564c19c..4a7f23cf60 100644 --- a/types/atom/index.d.ts +++ b/types/atom/index.d.ts @@ -309,6 +309,27 @@ declare global { /** The number of lines after the matched line to include in the results object. */ trailingContextLineCount?: number; } + + interface BuildEnvironment { + /** An object responsible for Atom's interaction with the browser process and host OS. + * Use buildDefaultApplicationDelegate for a default instance. + */ + applicationDelegate?: object; + + /** A window global. */ + window?: Window; + + /** A document global. */ + document?: Document; + + /** A path to the configuration directory (usually ~/.atom). */ + configDirPath?: string; + + /** A boolean indicating whether the Atom environment should save or load state + * from the file system. You probably want this to be false. + */ + enablePersistence?: boolean; + } } /** The static side to each exported class. Should generally only be used internally. */ @@ -348,6 +369,7 @@ declare global { // this appearing in the middle of the parameter list, which isn't aligned with // the ES6 spec. Maybe when they rewrite it in JavaScript this will change. /** A helper method to easily launch and run a task once. */ + // tslint:disable-next-line:no-any once(taskPath: string, ...args: any[]): AtomCore.Task; /** Creates a task. You should probably use .once */ @@ -446,6 +468,30 @@ declare global { resourcePath: string; safeMode: boolean; } + + interface TestRunnerArgs { + /** An array of paths to tests to run. Could be paths to files or directories. */ + testPaths: string[]; + + /** A function that can be called to construct an instance of the atom global. + * No atom global will be explicitly assigned, but you can assign one in your + * runner if desired. + */ + buildAtomEnvironment(options: Options.BuildEnvironment): AtomEnvironment; + + /** A function that builds a default instance of the application delegate, suitable + * to be passed as the applicationDelegate parameter to buildAtomEnvironment. + */ + buildDefaultApplicationDelegate(): object; + + /** An optional path to a log file to which test output should be logged. */ + logFile: string; + + /** A boolean indicating whether or not the tests are being run from the command + * line via atom --test. + */ + headless: boolean; + } } /** Atom global for dealing with packages, themes, menus, and the window. @@ -708,38 +754,47 @@ declare global { /** Add a listener for changes to a given key path. This is different than ::onDidChange in * that it will immediately call your callback with the current value of the config entry. */ + // tslint:disable-next-line:no-any observe(keyPath: string, callback: (value: any) => void): EventKit.Disposable; /** Add a listener for changes to a given key path. This is different than ::onDidChange in * that it will immediately call your callback with the current value of the config entry. */ + // tslint:disable:no-any observe(keyPath: string, options: { scope: string[]|ScopeDescriptor }, callback: (value: any) => void): EventKit.Disposable; + // tslint:enable:no-any /** Add a listener for changes to a given key path. If keyPath is not specified, your * callback will be called on changes to any key. */ + // tslint:disable-next-line:no-any onDidChange<T = any>(callback: (values: { newValue: T, oldValue: T }) => void): EventKit.Disposable; /** Add a listener for changes to a given key path. If keyPath is not specified, your * callback will be called on changes to any key. */ + // tslint:disable-next-line:no-any onDidChange<T = any>(keyPath: string, callback: (values: { newValue: T, oldValue: T }) => void): EventKit.Disposable; /** Add a listener for changes to a given key path. If keyPath is not specified, your * callback will be called on changes to any key. */ + // tslint:disable-next-line:no-any onDidChange<T = any>(keyPath: string, options: { scope: string[]|ScopeDescriptor }, callback: (values: { newValue: T, oldValue: T }) => void): EventKit.Disposable; // Managing Settings /** Retrieves the setting for the given key. */ + // tslint:disable:no-any get(keyPath: string, options?: { sources?: string[], excludeSources?: string[], scope?: string[]|ScopeDescriptor }): any; + // tslint:enable:no-any /** Sets the value for a configuration setting. * This value is stored in Atom's internal configuration file. */ + // tslint:disable-next-line:no-any set(keyPath: string, value: any, options?: { scopeSelector?: string, source?: string }): void; @@ -749,8 +804,10 @@ declare global { /** Get all of the values for the given key-path, along with their associated * scope selector. */ + // tslint:disable:no-any getAll(keyPath: string, options?: { sources?: string[], excludeSources?: string[], scope?: ScopeDescriptor }): Array<{ scopeDescriptor: ScopeDescriptor, value: any}>; + // tslint:enable:no-any /** Get an Array of all of the source Strings with which settings have been added * via ::set. @@ -1395,21 +1452,6 @@ declare global { update(): void; } - interface Model { - // Properties - alive: boolean; - - // Lifecycle - /** Destroys this Model. */ - destroy(): void; - - /** Returns whether or not this Model is alive. */ - isAlive(): boolean; - - /** Returns whether or not this Model has been destroyed. */ - isDestroyed(): boolean; - } - /** A notification to the user containing a message and type. */ interface Notification { // Properties @@ -2214,6 +2256,7 @@ declare global { * Throws an error if this task has already been terminated or if sending a * message to the child process fails. */ + // tslint:disable-next-line:no-any start(...args: any[]): void; /** Send message to the task. @@ -2223,6 +2266,7 @@ declare global { send(message: string): void; /** Call a function when an event is emitted by the child process. */ + // tslint:disable-next-line:no-any on(eventName: string, callback: (param: any) => void): EventKit.Disposable; /** Forcefully stop the running task. @@ -2234,10 +2278,13 @@ declare global { cancel(): boolean; } + /** An interface which all custom test runners should implement. */ + type TestRunner = (params: Structures.TestRunnerArgs) => Promise<number>; + /** This class represents all essential editing state for a single TextBuffer, * including cursor and selection positions, folds, and soft wraps. */ - interface TextEditor extends Model { + interface TextEditor { // Properties id: number; buffer: TextBuffer.TextBuffer; @@ -3440,6 +3487,7 @@ declare global { /** Add a provider that will be used to construct views in the workspace's view * layer based on model objects in its model layer. */ + // tslint:disable-next-line:no-any addViewProvider<T>(modelConstructor: { new (...args: any[]): T }, createView: (instance: T) => HTMLElement|undefined): EventKit.Disposable; @@ -3895,6 +3943,7 @@ declare global { type ErrorNotification = AtomCore.Options.ErrorNotification; type Tooltip = AtomCore.Options.Tooltip; type WorkspaceScan = AtomCore.Options.WorkspaceScan; + type BuildEnvironment = AtomCore.Options.BuildEnvironment; } /** Data structures that are used within classes. */ @@ -3917,6 +3966,7 @@ declare global { type CancellablePromise<T> = AtomCore.Structures.CancellablePromise<T>; type ScandalResult = AtomCore.Structures.ScandalResult; type WindowLoadSettings = AtomCore.Structures.WindowLoadSettings; + type TestRunnerArgs = AtomCore.Structures.TestRunnerArgs; } // Atom Keymap ============================================================ @@ -4084,8 +4134,6 @@ declare global { /** Provides a registry for menu items that you'd like to appear in the application menu. */ type MenuManager = AtomCore.MenuManager; - type Model = AtomCore.Model; - /** A notification to the user containing a message and type. */ type Notification = AtomCore.Notification; @@ -4131,6 +4179,9 @@ declare global { /** Run a node script in a separate process. */ type Task = AtomCore.Task; + /** An interface which all custom test runners should implement. */ + type TestRunner = AtomCore.TestRunner; + /** This class represents all essential editing state for a single TextBuffer, * including cursor and selection positions, folds, and soft wraps. */ diff --git a/types/atom/tslint.json b/types/atom/tslint.json index a36bbd3600..adbd6dcf49 100644 --- a/types/atom/tslint.json +++ b/types/atom/tslint.json @@ -6,9 +6,7 @@ "class-name": true, "indent": [true, "tabs"], "jsdoc-format": true, - "linebreak-style": [true, "LF"], "max-line-length": [true, 100], - "no-any": false, "quotemark": [true, "double", "avoid-escape"], "trailing-comma": [true, { "multiline": { "objects": "always", "arrays": "always", "functions": "never" }, @@ -28,6 +26,7 @@ ], // Soon to be defaults. "arrow-return-shorthand": [true, "multiline"], + "no-any": true, "no-floating-promises": true, "no-unbound-method": true, "no-unsafe-any": true, diff --git a/types/event-kit/.editorconfig b/types/event-kit/.editorconfig deleted file mode 100644 index 2b997514d2..0000000000 --- a/types/event-kit/.editorconfig +++ /dev/null @@ -1,3 +0,0 @@ -[*.ts] -indent_style = tab -indent_size = 2 diff --git a/types/event-kit/event-kit-tests.ts b/types/event-kit/event-kit-tests.ts index 41fa6ba22a..0cc6028fd6 100644 --- a/types/event-kit/event-kit-tests.ts +++ b/types/event-kit/event-kit-tests.ts @@ -14,7 +14,7 @@ class User { this.emitter = new Emitter(); } - onDidChangeName(callback: (value: any) => void) { + onDidChangeName(callback: (value: string) => void) { return this.emitter.on("did-change-name", callback); } diff --git a/types/event-kit/index.d.ts b/types/event-kit/index.d.ts index 8ce9bd8fbe..0df33472b1 100644 --- a/types/event-kit/index.d.ts +++ b/types/event-kit/index.d.ts @@ -92,21 +92,25 @@ declare global { // Event Subscription /** Registers a handler to be invoked whenever the given event is emitted. */ + // tslint:disable-next-line:no-any on(eventName: string, handler: (value: any) => void): Disposable; /** Register the given handler function to be invoked the next time an event * with the given name is emitted via ::emit. */ + // tslint:disable-next-line:no-any once(eventName: string, handler: (value: any) => void): Disposable; /** Register the given handler function to be invoked before all other * handlers existing at the time of subscription whenever events by the * given name are emitted via ::emit. */ + // tslint:disable-next-line:no-any preempt(eventName: string, handler: (value: any) => void): Disposable; // Event Emission /** Invoke handlers registered via ::on for the given event name. */ + // tslint:disable-next-line:no-any emit(eventName: string, value?: any): void; } } diff --git a/types/event-kit/tslint.json b/types/event-kit/tslint.json index 10fd9f0654..4b036f727a 100644 --- a/types/event-kit/tslint.json +++ b/types/event-kit/tslint.json @@ -5,9 +5,7 @@ "class-name": true, "indent": [true, "tabs"], "jsdoc-format": true, - "linebreak-style": [true, "LF"], "max-line-length": [true, 100], - "no-any": false, "quotemark": [true, "double", "avoid-escape"], "trailing-comma": [true, { "multiline": { "objects": "always", "arrays": "always", "functions": "never" }, @@ -27,6 +25,7 @@ ], // Soon to be defaults. "arrow-return-shorthand": [true, "multiline"], + "no-any": true, "no-floating-promises": true, "no-unbound-method": true, "no-unsafe-any": true, diff --git a/types/first-mate/.editorconfig b/types/first-mate/.editorconfig deleted file mode 100644 index 2b997514d2..0000000000 --- a/types/first-mate/.editorconfig +++ /dev/null @@ -1,3 +0,0 @@ -[*.ts] -indent_style = tab -indent_size = 2 diff --git a/types/first-mate/index.d.ts b/types/first-mate/index.d.ts index 0986b80aa5..cf812b6add 100644 --- a/types/first-mate/index.d.ts +++ b/types/first-mate/index.d.ts @@ -19,11 +19,11 @@ declare global { maxTokensPerLine?: number; maxLineLength?: number; - injections?: any; - injectionSelector?: any; + injections?: object; + injectionSelector?: ScopeSelector; patterns?: ReadonlyArray<object>; repository?: object; - firstLineMatch?: any; + firstLineMatch?: boolean; } } diff --git a/types/first-mate/tslint.json b/types/first-mate/tslint.json index 22fcf73c1c..4b036f727a 100644 --- a/types/first-mate/tslint.json +++ b/types/first-mate/tslint.json @@ -5,7 +5,6 @@ "class-name": true, "indent": [true, "tabs"], "jsdoc-format": true, - "linebreak-style": [true, "LF"], "max-line-length": [true, 100], "quotemark": [true, "double", "avoid-escape"], "trailing-comma": [true, { @@ -24,10 +23,9 @@ "check-rest-spread", "check-preblock" ], - // TODO - "no-any": false, // Soon to be defaults. "arrow-return-shorthand": [true, "multiline"], + "no-any": true, "no-floating-promises": true, "no-unbound-method": true, "no-unsafe-any": true, diff --git a/types/pathwatcher/.editorconfig b/types/pathwatcher/.editorconfig deleted file mode 100644 index 2b997514d2..0000000000 --- a/types/pathwatcher/.editorconfig +++ /dev/null @@ -1,3 +0,0 @@ -[*.ts] -indent_style = tab -indent_size = 2 diff --git a/types/pathwatcher/tslint.json b/types/pathwatcher/tslint.json index cd8f17056a..4b036f727a 100644 --- a/types/pathwatcher/tslint.json +++ b/types/pathwatcher/tslint.json @@ -5,7 +5,6 @@ "class-name": true, "indent": [true, "tabs"], "jsdoc-format": true, - "linebreak-style": [true, "LF"], "max-line-length": [true, 100], "quotemark": [true, "double", "avoid-escape"], "trailing-comma": [true, { diff --git a/types/text-buffer/.editorconfig b/types/text-buffer/.editorconfig deleted file mode 100644 index 2b997514d2..0000000000 --- a/types/text-buffer/.editorconfig +++ /dev/null @@ -1,3 +0,0 @@ -[*.ts] -indent_style = tab -indent_size = 2 diff --git a/types/text-buffer/tslint.json b/types/text-buffer/tslint.json index cd8f17056a..4b036f727a 100644 --- a/types/text-buffer/tslint.json +++ b/types/text-buffer/tslint.json @@ -5,7 +5,6 @@ "class-name": true, "indent": [true, "tabs"], "jsdoc-format": true, - "linebreak-style": [true, "LF"], "max-line-length": [true, 100], "quotemark": [true, "double", "avoid-escape"], "trailing-comma": [true, { From 874881be27329a68d3ad9da415d11e0dbe8f152c Mon Sep 17 00:00:00 2001 From: Alex Turek <alexturek@users.noreply.github.com> Date: Mon, 9 Oct 2017 15:46:03 -0700 Subject: [PATCH 229/433] [node-statsd] Add function overloads for `increment` (#20359) * [node-statsd] Add function overloads for increment * [node-statsd] Add a type test for the increment call --- types/node-statsd/index.d.ts | 2 ++ types/node-statsd/node-statsd-tests.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/types/node-statsd/index.d.ts b/types/node-statsd/index.d.ts index bf44188c59..25c1adf47a 100644 --- a/types/node-statsd/index.d.ts +++ b/types/node-statsd/index.d.ts @@ -109,6 +109,8 @@ export class StatsD { * @param {Callback} callback Callback when message is done being delivered. Optional. */ increment(stat: string | string[], value?: number, sampleRate?: number, tags?: string[], callback?: Callback): void; + increment(stat: string | string[], value: any, sampleRateOrTags?: number | string [], callback?: Callback): void; + increment(stat: string | string[], value: any, callback?: Callback): void; /** * Sends a stat across the wire diff --git a/types/node-statsd/node-statsd-tests.ts b/types/node-statsd/node-statsd-tests.ts index e8212f229e..33cfa434c9 100644 --- a/types/node-statsd/node-statsd-tests.ts +++ b/types/node-statsd/node-statsd-tests.ts @@ -10,6 +10,8 @@ client.timing('response_time', 42); // Increment: Increments a stat by a value (default is 1) client.increment('my_counter'); +client.increment('my_counter', 1, ['foo:1', 'bar:abc']); + // Decrement: Decrements a stat by a value (default is -1) client.decrement('my_counter'); From 21badac033c858e50d6c58da3e39b1a5e631692e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kov=C3=A1cs=20Vince?= <vincekovacs@users.noreply.github.com> Date: Tue, 10 Oct 2017 00:49:24 +0200 Subject: [PATCH 230/433] [vue-scrollto] Add definition (#20346) * Add vue-scroll typings * Fix tslint errors * Fix import vue package * Fix reference * Add vue depencency to package.json * remove redundant export * Unnecessary to import Vue * Remove node reference * Add dom to libraries * Fix tslint errors --- types/vue-scrollto/index.d.ts | 47 ++++++++++++++++++++++++ types/vue-scrollto/package.json | 6 +++ types/vue-scrollto/tsconfig.json | 23 ++++++++++++ types/vue-scrollto/tslint.json | 1 + types/vue-scrollto/vue-scrollto-tests.ts | 11 ++++++ 5 files changed, 88 insertions(+) create mode 100644 types/vue-scrollto/index.d.ts create mode 100644 types/vue-scrollto/package.json create mode 100644 types/vue-scrollto/tsconfig.json create mode 100644 types/vue-scrollto/tslint.json create mode 100644 types/vue-scrollto/vue-scrollto-tests.ts diff --git a/types/vue-scrollto/index.d.ts b/types/vue-scrollto/index.d.ts new file mode 100644 index 0000000000..e20879473f --- /dev/null +++ b/types/vue-scrollto/index.d.ts @@ -0,0 +1,47 @@ +// Type definitions for vue-scrollto 2.7 +// Project: https://github.com/rigor789/vue-scrollto#readme +// Definitions by: Kovács Vince <https://github.com/vincekovacs> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +import { PluginFunction } from "vue"; + +declare namespace VueScrollTo { + interface Options { + // The element you want to scroll to. + el?: string; + element?: string; + // The container that has to be scrolled. Default: body + container?: string; + // The duration (in milliseconds) of the scrolling animation. Default: 500 + duration?: number; + // The easing to be used when animating. Default: ease + easing?: string; + // The offset that should be applied when scrolling. Default: 0 + offset?: number; + // Indicates if user can cancel the scroll or not. Default: true + cancelable?: boolean; + // A callback function that should be called when scrolling has ended. Default: noop + onDone?: (() => void) | false; + // A callback function that should be called when scrolling has been aborted by the user (user scrolled, clicked + // etc.). Default: noop + onCancel?: (() => void) | false; + // Whether or not we want scrolling on the x axis. Default: true + x?: boolean; + // Whether or not we want scrolling on the y axis. Default: true + y?: boolean; + } +} + +declare class VueScrollTo { + static install: PluginFunction<never>; + + scrollTo(element: string | HTMLElement, options?: VueScrollTo.Options): void; +} + +declare module "vue/types/vue" { + interface Vue { + $scrollTo: typeof VueScrollTo.prototype.scrollTo; + } +} + +export = VueScrollTo; diff --git a/types/vue-scrollto/package.json b/types/vue-scrollto/package.json new file mode 100644 index 0000000000..11da4f8ad5 --- /dev/null +++ b/types/vue-scrollto/package.json @@ -0,0 +1,6 @@ +{ + "private": true, + "dependencies": { + "vue": "^2.4.4" + } +} diff --git a/types/vue-scrollto/tsconfig.json b/types/vue-scrollto/tsconfig.json new file mode 100644 index 0000000000..6afe67dfcb --- /dev/null +++ b/types/vue-scrollto/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "vue-scrollto-tests.ts" + ] +} diff --git a/types/vue-scrollto/tslint.json b/types/vue-scrollto/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/vue-scrollto/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } diff --git a/types/vue-scrollto/vue-scrollto-tests.ts b/types/vue-scrollto/vue-scrollto-tests.ts new file mode 100644 index 0000000000..55b4d32305 --- /dev/null +++ b/types/vue-scrollto/vue-scrollto-tests.ts @@ -0,0 +1,11 @@ +import * as Vue from "vue"; +import * as VueScrollTo from "vue-scrollto"; + +Vue.use(VueScrollTo); + +class Test extends Vue { + mounted() { + this.$scrollTo(this.$el, {offset: -100}); + this.$scrollTo("#id"); + } +} From faf18110dfdf2ad6fef6f9fc0651e0f83f7fa472 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20Paiva?= <fabio@paiva.info> Date: Tue, 10 Oct 2017 00:57:49 +0200 Subject: [PATCH 231/433] Fix NavbarBrand using the correct interface (#20280) * Fix NavbarBrand using any * Tests for reactstrap NavbarBrand properties --- types/reactstrap/lib/NavbarBrand.d.ts | 4 +- types/reactstrap/reactstrap-tests.tsx | 72 +++++++++++++++++++++++++++ 2 files changed, 74 insertions(+), 2 deletions(-) diff --git a/types/reactstrap/lib/NavbarBrand.d.ts b/types/reactstrap/lib/NavbarBrand.d.ts index 94239da4f8..3748a2903f 100644 --- a/types/reactstrap/lib/NavbarBrand.d.ts +++ b/types/reactstrap/lib/NavbarBrand.d.ts @@ -1,10 +1,10 @@ import { CSSModule } from '../index'; -interface NavbarBrand { +interface Props extends React.HTMLProps<HTMLAnchorElement> { tag?: React.ReactType; className?: string; cssModule?: CSSModule; } -declare var NavbarBrand: React.StatelessComponent<React.HTMLProps<any>>; +declare var NavbarBrand: React.StatelessComponent<Props>; export default NavbarBrand; diff --git a/types/reactstrap/reactstrap-tests.tsx b/types/reactstrap/reactstrap-tests.tsx index dc69e6d298..8a3be49209 100644 --- a/types/reactstrap/reactstrap-tests.tsx +++ b/types/reactstrap/reactstrap-tests.tsx @@ -3412,3 +3412,75 @@ class Example110 extends React.Component<any, any> { ); } } + +class Example111 extends React.Component<any, any> { + constructor(props: any) { + super(props); + + this.toggle = this.toggle.bind(this); + this.state = { + isOpen: false + }; + } + toggle() { + this.setState({ + isOpen: !this.state.isOpen + }); + } + render() { + return ( + <div> + <Navbar color="faded" light expand="md"> + <NavbarToggler right onClick={this.toggle} /> + <NavbarBrand tag="a" href="/">reactstrap</NavbarBrand> + <Collapse isOpen={this.state.isOpen} navbar> + <Nav className="ml-auto" navbar> + <NavItem> + <NavLink href="/components/">Components</NavLink> + </NavItem> + <NavItem> + <NavLink href="https://github.com/reactstrap/reactstrap">Github</NavLink> + </NavItem> + </Nav> + </Collapse> + </Navbar> + </div> + ); + } +} + +class Example112 extends React.Component<any, any> { + constructor(props: any) { + super(props); + + this.toggle = this.toggle.bind(this); + this.state = { + isOpen: false + }; + } + toggle() { + this.setState({ + isOpen: !this.state.isOpen + }); + } + render() { + return ( + <div> + <Navbar color="faded" light expand="md"> + <NavbarToggler right onClick={this.toggle} /> + <NavbarBrand className="logo" href="/">reactstrap</NavbarBrand> + <Collapse isOpen={this.state.isOpen} navbar> + <Nav className="ml-auto" navbar> + <NavItem> + <NavLink href="/components/">Components</NavLink> + </NavItem> + <NavItem> + <NavLink href="https://github.com/reactstrap/reactstrap">Github</NavLink> + </NavItem> + </Nav> + </Collapse> + </Navbar> + </div> + ); + } +} From 0aeff9591da317217fdcc059cc9da4080b7d8b3f Mon Sep 17 00:00:00 2001 From: dkamburov <dkamburov@users.noreply.github.com> Date: Tue, 10 Oct 2017 01:58:28 +0300 Subject: [PATCH 232/433] [ignite-ui] Update Ignite UI typing to 17.2 release version (#20293) --- types/ignite-ui/index.d.ts | 12768 +++++++++++++++++++++-------------- 1 file changed, 7716 insertions(+), 5052 deletions(-) diff --git a/types/ignite-ui/index.d.ts b/types/ignite-ui/index.d.ts index 2341f1bd9f..ad29e6d24a 100644 --- a/types/ignite-ui/index.d.ts +++ b/types/ignite-ui/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Ignite UI +// Type definitions for Ignite UI 17.2 // Project: https://github.com/IgniteUI/ignite-ui // Definitions by: Ignite UI <https://github.com/IgniteUI> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -8677,601 +8677,12 @@ class igTemplating { */ tmpl(template: string, data: Object, args?: any[]): string; clearTmplCache(): void; - - /** - * Encoding < > ' and " - * - * @param value The string to be encoded. - */ - encode(value: string): string; } } interface IgniteUIStatic { igTemplating: typeof Infragistics.igTemplating; } -interface ErrorMessageDisplayingEvent { - (event: Event, ui: ErrorMessageDisplayingEventUIParam): void; -} - -interface ErrorMessageDisplayingEventUIParam { - /** - * Used to obtain reference to the barcode widget. - */ - owner?: any; - - /** - * Used to get or set the error message that is to be shown. - */ - errorMessage?: any; -} - -interface DataChangedEvent { - (event: Event, ui: DataChangedEventUIParam): void; -} - -interface DataChangedEventUIParam { - /** - * Used to obtain reference to the barcode widget. - */ - owner?: any; - - /** - * Used to obtain the new data. - */ - newData?: any; -} - -interface IgQRCodeBarcode { - /** - * The width of the barcode. It can be set as a number in pixels, string (px) or percentage (%). - */ - width?: string|number; - - /** - * The height of the barcode. It can be set as a number in pixels, string (px) or percentage (%). - */ - height?: string|number; - - /** - * Gets or sets the brush to use to fill the backing of the barcode. - */ - backingBrush?: string; - - /** - * Gets or sets the brush to use for the outline of the backing. - */ - backingOutline?: string; - - /** - * Gets or sets the stroke thickness of the backing outline. - */ - backingStrokeThickness?: number; - - /** - * Gets or sets the brush to use to fill the background of the bars. - */ - barBrush?: string; - - /** - * Gets or sets the brush to use for the label font. - */ - fontBrush?: string; - - /** - * Gets or sets the font of the text displayed by the control. - */ - font?: string; - - /** - * Gets or sets the data value. - */ - data?: string; - - /** - * Gets or sets the message text displayed when some error occurs. - */ - errorMessageText?: string; - - /** - * Gets or sets the stretch. - * - * Valid values: - * "none" - * "fill" - * "uniform" - * "uniformToFill" - */ - stretch?: string; - - /** - * Gets or sets a value which specifies how the grid fills within the barcode control dimensions. - * - * Valid values: - * "fillSpace" FillSpace mode ensures that the barcode grid fills the control dimensions. - * "ensureEqualSize" EnsureEqualSize mode ensures that every grid column/row has the same pixels number width/height. The sum of all columns/rows pixels may be less than the width/height of the control. - */ - barsFillMode?: string; - - /** - * Gets or sets the width (XDimension) to height (YDimension) ratio. It accepts only positive values. This property does not apply for the QR barcode. - */ - widthToHeightRatio?: number; - - /** - * Gets or sets the X-dimension (narrow element width) for a symbol in mm. It accepts values from 0.01 to 100. - */ - xDimension?: number; - - /** - * Gets or sets the error correction level of the QR Code symbol. - * - * Valid values: - * "low" Low error correction level allows recovery of 7% of the symbol codewords. - * "medium" Medium error correction level allows recovery of 15% of the symbol codewords. - * "quartil" Quartil error correction level allows recovery of 25% of the symbol codewords. - * "high" High error correction level allows recovery of 30% of the symbol codewords. - */ - errorCorrectionLevel?: string; - - /** - * Gets or sets the size version of the QR Code symbol. - * - * Valid values: - * "undefined" If set, the QR code barcode sets internally the smallest version that will accommodate the data. - * "version1" Version1 defines size of 21x21 modules for the symbol. - * "version2" Version2 defines size of 25x25 modules for the symbol. - * "version3" Version3 defines size of 29x29 modules for the symbol. - * "version4" Version4 defines size of 33x33 modules for the symbol. - * "version5" Version5 defines size of 37x37 modules for the symbol. - * "version6" Version6 defines size of 41x41 modules for the symbol. - * "version7" Version7 defines size of 45x45 modules for the symbol. - * "version8" Version8 defines size of 49x49 modules for the symbol. - * "version9" Version9 defines size of 53x53 modules for the symbol. - * "version10" Version10 defines size of 57x57 modules for the symbol. - * "version11" Version11 defines size of 61x61 modules for the symbol. - * "version12" Version12 defines size of 65x65 modules for the symbol. - * "version13" Version13 defines size of 69x69 modules for the symbol. - * "version14" Version14 defines size of 73x73 modules for the symbol. - * "version15" Version15 defines size of 77x77 modules for the symbol. - * "version16" Version16 defines size of 81x81 modules for the symbol. - * "version17" Version17 defines size of 85x85 modules for the symbol. - * "version18" Version18 defines size of 89x89 modules for the symbol. - * "version19" Version19 defines size of 93x93 modules for the symbol. - * "version20" Version20 defines size of 97x97 modules for the symbol. - * "version21" Version21 defines size of 101x101 modules for the symbol. - * "version22" Version22 defines size of 105x105 modules for the symbol. - * "version23" Version23 defines size of 109x109 modules for the symbol. - * "version24" Version24 defines size of 113x113 modules for the symbol. - * "version25" Version25 defines size of 117x117 modules for the symbol. - * "version26" Version26 defines size of 121x121 modules for the symbol. - * "version27" Version27 defines size of 125x125 modules for the symbol. - * "version28" Version28 defines size of 129x129 modules for the symbol. - * "version29" Version29 defines size of 133x133 modules for the symbol. - * "version30" Version30 defines size of 137x137 modules for the symbol. - * "version31" Version31 defines size of 141x141 modules for the symbol. - * "version32" Version32 defines size of 145x145 modules for the symbol. - * "version33" Version33 defines size of 149x149 modules for the symbol. - * "version34" Version34 defines size of 153x153 modules for the symbol. - * "version35" Version35 defines size of 157x157 modules for the symbol. - * "version36" Version36 defines size of 161x161 modules for the symbol. - * "version37" Version37 defines size of 165x165 modules for the symbol. - * "version38" Version38 defines size of 169x169 modules for the symbol. - * "version39" Version39 defines size of 173x173 modules for the symbol. - * "version40" Version40 defines size of 177x177 modules for the symbol. - */ - sizeVersion?: string; - - /** - * Gets or sets the encoding mode for compaction of the QR Code symbol data. The default value is undefined if the Shift_JIS encoding is loaded. Otherwise the default value is byte. - * - * Valid values: - * "undefined" When Undefined encoding mode is set, the QR code barcode internally switches between modes as necessary in order to achieve the most efficient conversion of data into a binary string. - * "numeric" Numeric mode encodes data from decimal digit set (0-9). Normally 3 data characters are represented by 10 bits. - * "alphanumeric" Alphanumerc mode encodes data from a set of 45 characters (digits 0-9, upper case letters A-Z, nine other characters: space, $ % * + _ . / : ). Normally two input characters are represented by 11 bits. - * "byte" In Byte mode the data is encoded at 8 bits per character. The character set of the Byte encoding mode is byte data (by default it is ISO/IEC 8859-1 character set). - * "kanji" The Kanji mode efficiently encodes Kanji characters in accordance with the Shift JIS system based on JIS X 0208. Each two-byte character value is compactedd to a 13-bit binary codeword. - */ - encodingMode?: string; - - /** - * Each Extended Channel Interpretation (ECI) is designated by a six-digit assignment number: 000000 - 999999. - * The default value depends on the loaded encodings. The default is ECI 000003 (representing ISO/IEC 8859-1) if the ISO/IEC 8859-1 character set is loaded. Otherwise the default value is 000026 (representing UTF-8). - */ - eciNumber?: number; - - /** - * Gets or sets a value indicating whether to show the ECI header. - * - * Valid values: - * "hide" Hide the header. - * "show" Show the header. - */ - eciHeaderDisplayMode?: string; - - /** - * Gets or sets the FNC1 mode indicator which identifies symbols encoding messages formatted according to specific predefined industry or application specificatoins. - * - * Valid values: - * "none" Do not use any Fnc1 symbols, i.e. the data is not identified according to specific predefined industry or application specifications. - * "gs1" Uses Fnc1 symbol in the first position of the character in Code 128 symbols and designates data formatted in accordance with the GS1 General Specification. - * "industry" Uses Fnc1 symbol in the second position of the character in Code 128 symbols and designates data formatted in accordance with a specific indystry application previously agreed with AIM Inc. - */ - fnc1Mode?: string; - - /** - * Gets or sets the Application Indicator assigned to identify the specification concerned by AIM International. - * The value is respected only when the Fnc1Mode is set to Industry. Its value may take the form of any single Latin alphabetic character from the set {a - z, A - Z} or a two-digit number. - */ - applicationIndicator?: string; - - /** - * Occurs when an error has happened. - * Function takes first argument evt and second argument ui. - * Use ui.owner to obtain reference to the barcode widget. - * Use ui.errorMessage to get or set the error message that is to be shown. - */ - errorMessageDisplaying?: ErrorMessageDisplayingEvent; - - /** - * Occurs when the data has changed. - * Function takes first argument evt and second argument ui. - * Use ui.owner to obtain reference to the barcode widget. - * Use ui.newData to obtain the new data. - */ - dataChanged?: DataChangedEvent; - - /** - * Option for igQRCodeBarcode - */ - [optionName: string]: any; -} -interface IgQRCodeBarcodeMethods { - /** - * Returns information about how the barcode is rendered. - */ - exportVisualData(): Object; - - /** - * Causes all pending changes of the barcode e.g. by changed property values to be rendered immediately. - */ - flush(): void; - - /** - * Destroys widget. - */ - destroy(): void; - - /** - * Re-polls the css styles for the widget. Use this method when the css styles have been modified. - */ - styleUpdated(): void; -} -interface JQuery { - data(propertyName: "igQRCodeBarcode"): IgQRCodeBarcodeMethods; -} - -interface JQuery { - igQRCodeBarcode(methodName: "exportVisualData"): Object; - igQRCodeBarcode(methodName: "flush"): void; - igQRCodeBarcode(methodName: "destroy"): void; - igQRCodeBarcode(methodName: "styleUpdated"): void; - - /** - * The width of the barcode. It can be set as a number in pixels, string (px) or percentage (%). - */ - - igQRCodeBarcode(optionLiteral: 'option', optionName: "width"): string|number; - - /** - * The width of the barcode. It can be set as a number in pixels, string (px) or percentage (%). - * - * @optionValue New value to be set. - */ - - igQRCodeBarcode(optionLiteral: 'option', optionName: "width", optionValue: string|number): void; - - /** - * The height of the barcode. It can be set as a number in pixels, string (px) or percentage (%). - */ - - igQRCodeBarcode(optionLiteral: 'option', optionName: "height"): string|number; - - /** - * The height of the barcode. It can be set as a number in pixels, string (px) or percentage (%). - * - * @optionValue New value to be set. - */ - - igQRCodeBarcode(optionLiteral: 'option', optionName: "height", optionValue: string|number): void; - - /** - * Gets the brush to use to fill the backing of the barcode. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "backingBrush"): string; - - /** - * Sets the brush to use to fill the backing of the barcode. - * - * @optionValue New value to be set. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "backingBrush", optionValue: string): void; - - /** - * Gets the brush to use for the outline of the backing. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "backingOutline"): string; - - /** - * Sets the brush to use for the outline of the backing. - * - * @optionValue New value to be set. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "backingOutline", optionValue: string): void; - - /** - * Gets the stroke thickness of the backing outline. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "backingStrokeThickness"): number; - - /** - * Sets the stroke thickness of the backing outline. - * - * @optionValue New value to be set. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "backingStrokeThickness", optionValue: number): void; - - /** - * Gets the brush to use to fill the background of the bars. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "barBrush"): string; - - /** - * Sets the brush to use to fill the background of the bars. - * - * @optionValue New value to be set. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "barBrush", optionValue: string): void; - - /** - * Gets the brush to use for the label font. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "fontBrush"): string; - - /** - * Sets the brush to use for the label font. - * - * @optionValue New value to be set. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "fontBrush", optionValue: string): void; - - /** - * Gets the font of the text displayed by the control. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "font"): string; - - /** - * Sets the font of the text displayed by the control. - * - * @optionValue New value to be set. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "font", optionValue: string): void; - - /** - * Gets the data value. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "data"): string; - - /** - * Sets the data value. - * - * @optionValue New value to be set. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "data", optionValue: string): void; - - /** - * Gets the message text displayed when some error occurs. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "errorMessageText"): string; - - /** - * Sets the message text displayed when some error occurs. - * - * @optionValue New value to be set. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "errorMessageText", optionValue: string): void; - - /** - * Gets the stretch. - */ - - igQRCodeBarcode(optionLiteral: 'option', optionName: "stretch"): string; - - /** - * Sets the stretch. - * - * @optionValue New value to be set. - */ - - igQRCodeBarcode(optionLiteral: 'option', optionName: "stretch", optionValue: string): void; - - /** - * Gets a value which specifies how the grid fills within the barcode control dimensions. - */ - - igQRCodeBarcode(optionLiteral: 'option', optionName: "barsFillMode"): string; - - /** - * Sets a value which specifies how the grid fills within the barcode control dimensions. - * - * @optionValue New value to be set. - */ - - igQRCodeBarcode(optionLiteral: 'option', optionName: "barsFillMode", optionValue: string): void; - - /** - * Gets the width (XDimension) to height (YDimension) ratio. It accepts only positive values. This property does not apply for the QR barcode. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "widthToHeightRatio"): number; - - /** - * Sets the width (XDimension) to height (YDimension) ratio. It accepts only positive values. This property does not apply for the QR barcode. - * - * @optionValue New value to be set. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "widthToHeightRatio", optionValue: number): void; - - /** - * Gets the X-dimension (narrow element width) for a symbol in mm. It accepts values from 0.01 to 100. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "xDimension"): number; - - /** - * Sets the X-dimension (narrow element width) for a symbol in mm. It accepts values from 0.01 to 100. - * - * @optionValue New value to be set. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "xDimension", optionValue: number): void; - - /** - * Gets the error correction level of the QR Code symbol. - */ - - igQRCodeBarcode(optionLiteral: 'option', optionName: "errorCorrectionLevel"): string; - - /** - * Sets the error correction level of the QR Code symbol. - * - * @optionValue New value to be set. - */ - - igQRCodeBarcode(optionLiteral: 'option', optionName: "errorCorrectionLevel", optionValue: string): void; - - /** - * Gets the size version of the QR Code symbol. - */ - - igQRCodeBarcode(optionLiteral: 'option', optionName: "sizeVersion"): string; - - /** - * Sets the size version of the QR Code symbol. - * - * @optionValue New value to be set. - */ - - igQRCodeBarcode(optionLiteral: 'option', optionName: "sizeVersion", optionValue: string): void; - - /** - * Gets the encoding mode for compaction of the QR Code symbol data. The default value is undefined if the Shift_JIS encoding is loaded. Otherwise the default value is byte. - */ - - igQRCodeBarcode(optionLiteral: 'option', optionName: "encodingMode"): string; - - /** - * Sets the encoding mode for compaction of the QR Code symbol data. The default value is undefined if the Shift_JIS encoding is loaded. Otherwise the default value is byte. - * - * @optionValue New value to be set. - */ - - igQRCodeBarcode(optionLiteral: 'option', optionName: "encodingMode", optionValue: string): void; - - /** - * Each Extended Channel Interpretation (ECI) is designated by a six-digit assignment number: 000000 - 999999. - * The default value depends on the loaded encodings. The default is ECI 000003 (representing ISO/IEC 8859-1) if the ISO/IEC 8859-1 character set is loaded. Otherwise the default value is 000026 (representing UTF-8). - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "eciNumber"): number; - - /** - * Each Extended Channel Interpretation (ECI) is designated by a six-digit assignment number: 000000 - 999999. - * The default value depends on the loaded encodings. The default is ECI 000003 (representing ISO/IEC 8859-1) if the ISO/IEC 8859-1 character set is loaded. Otherwise the default value is 000026 (representing UTF-8). - * - * @optionValue New value to be set. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "eciNumber", optionValue: number): void; - - /** - * Gets a value indicating whether to show the ECI header. - */ - - igQRCodeBarcode(optionLiteral: 'option', optionName: "eciHeaderDisplayMode"): string; - - /** - * Sets a value indicating whether to show the ECI header. - * - * @optionValue New value to be set. - */ - - igQRCodeBarcode(optionLiteral: 'option', optionName: "eciHeaderDisplayMode", optionValue: string): void; - - /** - * Gets the FNC1 mode indicator which identifies symbols encoding messages formatted according to specific predefined industry or application specificatoins. - */ - - igQRCodeBarcode(optionLiteral: 'option', optionName: "fnc1Mode"): string; - - /** - * Sets the FNC1 mode indicator which identifies symbols encoding messages formatted according to specific predefined industry or application specificatoins. - * - * @optionValue New value to be set. - */ - - igQRCodeBarcode(optionLiteral: 'option', optionName: "fnc1Mode", optionValue: string): void; - - /** - * Gets the Application Indicator assigned to identify the specification concerned by AIM International. - * The value is respected only when the Fnc1Mode is set to Industry. Its value may take the form of any single Latin alphabetic character from the set {a - z, A - Z} or a two-digit number. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "applicationIndicator"): string; - - /** - * Sets the Application Indicator assigned to identify the specification concerned by AIM International. - * The value is respected only when the Fnc1Mode is set to Industry. Its value may take the form of any single Latin alphabetic character from the set {a - z, A - Z} or a two-digit number. - * - * @optionValue New value to be set. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "applicationIndicator", optionValue: string): void; - - /** - * Occurs when an error has happened. - * Function takes first argument evt and second argument ui. - * Use ui.owner to obtain reference to the barcode widget. - * Use ui.errorMessage to get or set the error message that is to be shown. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "errorMessageDisplaying"): ErrorMessageDisplayingEvent; - - /** - * Occurs when an error has happened. - * Function takes first argument evt and second argument ui. - * Use ui.owner to obtain reference to the barcode widget. - * Use ui.errorMessage to get or set the error message that is to be shown. - * - * @optionValue New value to be set. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "errorMessageDisplaying", optionValue: ErrorMessageDisplayingEvent): void; - - /** - * Occurs when the data has changed. - * Function takes first argument evt and second argument ui. - * Use ui.owner to obtain reference to the barcode widget. - * Use ui.newData to obtain the new data. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "dataChanged"): DataChangedEvent; - - /** - * Occurs when the data has changed. - * Function takes first argument evt and second argument ui. - * Use ui.owner to obtain reference to the barcode widget. - * Use ui.newData to obtain the new data. - * - * @optionValue New value to be set. - */ - igQRCodeBarcode(optionLiteral: 'option', optionName: "dataChanged", optionValue: DataChangedEvent): void; - igQRCodeBarcode(options: IgQRCodeBarcode): JQuery; - igQRCodeBarcode(optionLiteral: 'option', optionName: string): any; - igQRCodeBarcode(optionLiteral: 'option', options: IgQRCodeBarcode): JQuery; - igQRCodeBarcode(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; - igQRCodeBarcode(methodName: string, ...methodParams: any[]): any; -} interface DataBindingEvent { (event: Event, ui: DataBindingEventUIParam): void; } @@ -11203,6 +10614,18 @@ interface PropertyChangedEvent { interface PropertyChangedEventUIParam {} +interface SeriesAddedEvent { + (event: Event, ui: SeriesAddedEventUIParam): void; +} + +interface SeriesAddedEventUIParam {} + +interface SeriesRemovedEvent { + (event: Event, ui: SeriesRemovedEventUIParam): void; +} + +interface SeriesRemovedEventUIParam {} + interface IgCategoryChart { /** * Gets or sets the data value corresponding to the minimum value of the Y-axis. @@ -12042,6 +11465,16 @@ interface IgCategoryChart { */ propertyChanged?: PropertyChangedEvent; + /** + * Event raised when a series is initialized + */ + seriesAdded?: SeriesAddedEvent; + + /** + * Event raised when a series is removed from the CategoryChart + */ + seriesRemoved?: SeriesRemovedEvent; + /** * Event which is raised before data binding. * Return false in order to cancel data binding. @@ -13960,6 +13393,30 @@ interface JQuery { */ igCategoryChart(optionLiteral: 'option', optionName: "propertyChanged", optionValue: PropertyChangedEvent): void; + /** + * Event raised when a series is initialized + */ + igCategoryChart(optionLiteral: 'option', optionName: "seriesAdded"): SeriesAddedEvent; + + /** + * Event raised when a series is initialized + * + * @optionValue Define event handler function. + */ + igCategoryChart(optionLiteral: 'option', optionName: "seriesAdded", optionValue: SeriesAddedEvent): void; + + /** + * Event raised when a series is removed from the CategoryChart + */ + igCategoryChart(optionLiteral: 'option', optionName: "seriesRemoved"): SeriesRemovedEvent; + + /** + * Event raised when a series is removed from the CategoryChart + * + * @optionValue Define event handler function. + */ + igCategoryChart(optionLiteral: 'option', optionName: "seriesRemoved", optionValue: SeriesRemovedEvent): void; + /** * Event which is raised before data binding. * Return false in order to cancel data binding. @@ -21227,6 +20684,37 @@ interface JQuery { igColorPickerSplitButton(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; igColorPickerSplitButton(methodName: string, ...methodParams: any[]): any; } +interface IgComboLocale { + /** + * Gets/Sets text of list item for condition when [filteringType](ui.igcombo#options:filteringType) option is enabled and no match was found. + * + */ + noMatchFoundText?: any; + + /** + * Gets/Sets title for html element which represent the drop-down button. + * + */ + dropDownButtonTitle?: any; + + /** + * Gets/Sets title for html element which represent the clear button. + * + */ + clearButtonTitle?: any; + + /** + * Gets/Sets value that is displayed when input field is empty. + * + */ + placeHolder?: any; + + /** + * Option for IgComboLocale + */ + [optionName: string]: any; +} + interface IgComboLoadOnDemandSettings { /** * Gets/Sets option to enable load on demand. @@ -21543,7 +21031,7 @@ interface IgCombo { /** * Sets URL which is used for sending JSON on request for remote filtering (MVC for example). That option is required when [load on demand](ui.igcombo#options:loadOnDemandSettings) is - * [enabled](ui.igcombo#options:loadOnDemandSettings.enabled) and its [type](ui.igcombo#options:filteringType) is remote. + * [enabled](ui.igcombo#options:loadOnDemandSettings.enabled) and its [type](ui.igcombo#options:filteringType) is remote. * */ dataSourceUrl?: string; @@ -21600,7 +21088,7 @@ interface IgCombo { /** * Gets/Sets a template used to render an item in list. The igCombo utilizes igTemplating for generating node content templates. - * More info on the templating engine can be found here: http://www.igniteui.com/help/infragistics-templating-engine. + * More info on the templating engine can be found here: http://www.igniteui.com/help/infragistics-templating-engine. * */ itemTemplate?: string; @@ -21644,7 +21132,7 @@ interface IgCombo { /** * If set to true, the container of the drop-down list is appended to the body. - * If set to false, it is appended to the parent element of the combo. + * If set to false, it is appended to the parent element of the combo. * */ dropDownAttachedToBody?: boolean; @@ -21695,11 +21183,34 @@ interface IgCombo { filteringLogic?: string; /** - * Gets/Sets text of list item for condition when [filteringType](ui.igcombo#options:filteringType) option is enabled and no match was found. That is an override for the $.ig.Combo.locale.noMatchFoundText. - * + * This option has been removed as of 2017.2 Volume release. + * Gets/Sets text of list item for condition when [filteringType](ui.igcombo#options:filteringType) option is enabled and no match was found. + * Use option [locale.noMatchFoundText](ui.igcombo#options:locale.noMatchFoundText). */ noMatchFoundText?: string; + /** + * This option has been removed as of 2017.2 Volume release. + * Gets/Sets title for html element which represent the drop-down button. + * Use option [locale.dropDownButtonTitle](ui.igcombo#options:locale.dropDownButtonTitle). + */ + dropDownButtonTitle?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets/Sets title for html element which represent clear button. + * Use option [locale.clearButtonTitle](ui.igcombo#options:locale.clearButtonTitle). + */ + clearButtonTitle?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets/Sets value that is displayed when input field is empty. + * Use option [locale.placeHolder](ui.igcombo#options:locale.placeHolder). + */ + placeHolder?: string; + locale?: IgComboLocale; + /** * Gets/Sets container of variables which define load on demand functionality. * Notes: @@ -21717,12 +21228,6 @@ interface IgCombo { */ visibleItemsCount?: number; - /** - * Gets/Sets value that is displayed when input field is empty. That is an override for the $.ig.Combo.locale.placeHolder. - * - */ - placeHolder?: string; - /** * Sets gets functionality mode. * @@ -21839,7 +21344,7 @@ interface IgCombo { /** * Gets/Sets list of items to be selected when the combo is initialized. It should contain array of objects with index or value property, then on initialization the matching items will be selected. If initialSelectedItems are not set, the combo is with single selection and it is in a dropdown, readonly or readonlylist [mode](ui.igcombo#options:mode), the first item will be automatically selected. - * Note: Only items loaded on initialization can be selected. When using [load on demand](ui.igCombo#options:loadOnDemandSettings), selecting an item which is not loaded yet will fail. + * Note: Only items loaded on initialization can be selected. When using [load on demand](ui.igCombo#options:loadOnDemandSettings), selecting an item which is not loaded yet will fail. * */ initialSelectedItems?: IgComboInitialSelectedItem[]; @@ -21865,30 +21370,18 @@ interface IgCombo { /** * Gets/Sets whether the onscreen keyboard should be shown when the dropdown button is clicked (touch devices only). - * Note: The keyboard will still show when the combo input is focused in editable mode. + * Note: The keyboard will still show when the combo input is focused in editable mode. * */ suppressKeyboard?: boolean; /** * Specifies whether the clear button should be rendered. - * When the [mode](ui.igcombo#options:mode) is single selection, readonly or readonlylist this option will default to false. It can still be enabled when it is specifically set to true. + * When the [mode](ui.igcombo#options:mode) is single selection, readonly or readonlylist this option will default to false. It can still be enabled when it is specifically set to true. * */ enableClearButton?: boolean; - /** - * Gets/Sets title for html element which represent the drop-down button. This is an override for the $.ig.Combo.locale.dropDownButtonTitle. - * - */ - dropDownButtonTitle?: string; - - /** - * Gets/Sets title for html element which represent clear button (this is an override for the $.ig.Combo.locale.clearButtonTitle). - * - */ - clearButtonTitle?: string; - /** * Gets/Sets drop-down list orientation when open button is clicked. * @@ -22033,6 +21526,9 @@ interface IgCombo { [optionName: string]: any; } interface IgComboMethods { + changeLocale(): void; + changeRegional(): void; + /** * Performs databinding on the combo box. The [databinding](ui.igcombo#events:dataBinding) and [dataBound](ui.igcombo#events:dataBound) events are always raised. */ @@ -22171,14 +21667,14 @@ interface IgComboMethods { * * @param value Value or array of values matching the valueKey property of item/items to be selected * @param options Object with set of options controlling the behavior of this api method. - * closeDropDown (boolean): Set to true to close the drop down list after the selection. - * focusCombo (boolean): Set to true to focus combo after the selection. - * additive (boolean): Set to true to select the item without losing other selection. Works only when multi selection is enabled. - * keepFiltering (boolean): Set to true to keep filtering after the selection. By default the filtering is cleared. - * keepInputText (boolean): Set to true to keep input text unchanged after the selection. By default input text is updated. - * keepHighlighting (boolean): Set to true to keep highlighting unchanged after the selection. By default highlighting is removed. - * keepNavItem (boolean): Set to true to keep current navigation item unchanged after the selection. By default the navigation item is changed to the new selected item. - * keepScrollPosition (boolean): Set to true to keep current scroll position. By default the scroll position will change so that the last selected item is visible. + * closeDropDown (boolean): Set to true to close the drop down list after the selection. + * focusCombo (boolean): Set to true to focus combo after the selection. + * additive (boolean): Set to true to select the item without losing other selection. Works only when multi selection is enabled. + * keepFiltering (boolean): Set to true to keep filtering after the selection. By default the filtering is cleared. + * keepInputText (boolean): Set to true to keep input text unchanged after the selection. By default input text is updated. + * keepHighlighting (boolean): Set to true to keep highlighting unchanged after the selection. By default highlighting is removed. + * keepNavItem (boolean): Set to true to keep current navigation item unchanged after the selection. By default the navigation item is changed to the new selected item. + * keepScrollPosition (boolean): Set to true to keep current scroll position. By default the scroll position will change so that the last selected item is visible. * @param event Indicates the browser event which triggered this action (not API). Calling the method with this param set to "true" will trigger [selectionChanging](ui.igcombo#events:selectionChanging) and [selectionChanged](ui.igcombo#events:selectionChanged) events. */ value(value?: Object, options?: Object, event?: Object): Object; @@ -22188,14 +21684,14 @@ interface IgComboMethods { * * @param $items jQuery object with item or items to be selected. * @param options Object with set of options controlling the behavior of this api method. - * closeDropDown (boolean): Set to true to close the drop down list after the selection. - * focusCombo (boolean): Set to true to focus combo after the selection. - * additive (boolean): Set to true to select the item without losing other selection. Works only when multi selection is enabled. - * keepFiltering (boolean): Set to true to keep filtering after the selection. By default the filtering is cleared. - * keepInputText (boolean): Set to true to keep input text unchanged after the selection. By default input text is updated. - * keepHighlighting (boolean): Set to true to keep highlighting unchanged after the selection. By default highlighting is removed. - * keepNavItem (boolean): Set to true to keep current navigation item unchanged after the selection. By default the navigation item is changed to the new selected item. - * keepScrollPosition (boolean): Set to true to keep current scroll position. By default the scroll position will change so that the last selected item is visible. + * closeDropDown (boolean): Set to true to close the drop down list after the selection. + * focusCombo (boolean): Set to true to focus combo after the selection. + * additive (boolean): Set to true to select the item without losing other selection. Works only when multi selection is enabled. + * keepFiltering (boolean): Set to true to keep filtering after the selection. By default the filtering is cleared. + * keepInputText (boolean): Set to true to keep input text unchanged after the selection. By default input text is updated. + * keepHighlighting (boolean): Set to true to keep highlighting unchanged after the selection. By default highlighting is removed. + * keepNavItem (boolean): Set to true to keep current navigation item unchanged after the selection. By default the navigation item is changed to the new selected item. + * keepScrollPosition (boolean): Set to true to keep current scroll position. By default the scroll position will change so that the last selected item is visible. * @param event Indicates the browser event which triggered this action (not API). Calling the method with this param set to "true" will trigger [selectionChanging](ui.igcombo#events:selectionChanging) and [selectionChanged](ui.igcombo#events:selectionChanged) events. */ select($items: Object, options?: Object, event?: Object): Object; @@ -22205,14 +21701,14 @@ interface IgComboMethods { * * @param index Index or array of indexes of items to be selected * @param options Object with set of options controlling the behavior of this api method. - * closeDropDown (boolean): Set to true to close the drop down list after the selection. - * focusCombo (boolean): Set to true to focus combo after the selection. - * additive (boolean): Set to true to select the item without losing other selection. Works only when multi selection is enabled. - * keepFiltering (boolean): Set to true to keep filtering after the selection. By default the filtering is cleared. - * keepInputText (boolean): Set to true to keep input text unchanged after the selection. By default input text is updated. - * keepHighlighting (boolean): Set to true to keep highlighting unchanged after the selection. By default highlighting is removed. - * keepNavItem (boolean): Set to true to keep current navigation item unchanged after the selection. By default the navigation item is changed to the new selected item. - * keepScrollPosition (boolean): Set to true to keep current scroll position. By default the scroll position will change so that the last selected item is visible. + * closeDropDown (boolean): Set to true to close the drop down list after the selection. + * focusCombo (boolean): Set to true to focus combo after the selection. + * additive (boolean): Set to true to select the item without losing other selection. Works only when multi selection is enabled. + * keepFiltering (boolean): Set to true to keep filtering after the selection. By default the filtering is cleared. + * keepInputText (boolean): Set to true to keep input text unchanged after the selection. By default input text is updated. + * keepHighlighting (boolean): Set to true to keep highlighting unchanged after the selection. By default highlighting is removed. + * keepNavItem (boolean): Set to true to keep current navigation item unchanged after the selection. By default the navigation item is changed to the new selected item. + * keepScrollPosition (boolean): Set to true to keep current scroll position. By default the scroll position will change so that the last selected item is visible. * @param event Indicates the browser event which triggered this action (not API). Calling the method with this param set to "true" will trigger [selectionChanging](ui.igcombo#events:selectionChanging) and [selectionChanged](ui.igcombo#events:selectionChanged) events. */ index(index?: Object, options?: Object, event?: Object): Object; @@ -22221,13 +21717,13 @@ interface IgComboMethods { * Selects all items from the drop-down list. * * @param options Object with set of options controlling the behavior of this api method. - * closeDropDown (boolean): Set to true to close the drop down list after the selection. - * focusCombo (boolean): Set to true to focus combo after the selection. - * keepFiltering (boolean): Set to true to keep filtering after the selection. By default the filtering is cleared. - * keepInputText (boolean): Set to true to keep input text unchanged after the selection. By default input text is updated. - * keepHighlighting (boolean): Set to true to keep highlighting unchanged after the selection. By default highlighting is removed. - * keepNavItem (boolean): Set to true to keep current navigation item unchanged after the selection. By default the navigation item is changed to the new selected item. - * keepScrollPosition (boolean): Set to true to keep current scroll position. By default the scroll position will change so that the last selected item is visible. + * closeDropDown (boolean): Set to true to close the drop down list after the selection. + * focusCombo (boolean): Set to true to focus combo after the selection. + * keepFiltering (boolean): Set to true to keep filtering after the selection. By default the filtering is cleared. + * keepInputText (boolean): Set to true to keep input text unchanged after the selection. By default input text is updated. + * keepHighlighting (boolean): Set to true to keep highlighting unchanged after the selection. By default highlighting is removed. + * keepNavItem (boolean): Set to true to keep current navigation item unchanged after the selection. By default the navigation item is changed to the new selected item. + * keepScrollPosition (boolean): Set to true to keep current scroll position. By default the scroll position will change so that the last selected item is visible. * @param event Indicates the browser event which triggered this action (not API). Calling the method with this param set to "true" will trigger [selectionChanging](ui.igcombo#events:selectionChanging) and [selectionChanged](ui.igcombo#events:selectionChanged) events. */ selectAll(options?: Object, event?: Object): Object; @@ -22237,8 +21733,8 @@ interface IgComboMethods { * * @param value Value or array of values matching the [valueKey](ui.igcombo#options:valueKey) property of item/items to be deselected * @param options Object with set of options controlling the behavior of this api method. - * focusCombo (boolean): Set to true to focus combo after the deselection. - * keepInputText (boolean): Set to true to keep input text unchanged after the deselection. By default input text is updated. + * focusCombo (boolean): Set to true to focus combo after the deselection. + * keepInputText (boolean): Set to true to keep input text unchanged after the deselection. By default input text is updated. * @param event Indicates the browser event which triggered this action (not API). Calling the method with this param set to "true" will trigger [selectionChanging](ui.igcombo#events:selectionChanging) and [selectionChanged](ui.igcombo#events:selectionChanged) events. */ deselectByValue(value: Object, options?: Object, event?: Object): Object; @@ -22248,8 +21744,8 @@ interface IgComboMethods { * * @param $items jQuery object with item or items to be deselected * @param options Object with set of options controlling the behavior of this api method. - * focusCombo (boolean): Set to true to focus combo after the deselection. - * keepInputText (boolean): Set to true to keep input text unchanged after the deselection. By default input text is updated. + * focusCombo (boolean): Set to true to focus combo after the deselection. + * keepInputText (boolean): Set to true to keep input text unchanged after the deselection. By default input text is updated. * @param event Indicates the browser event which triggered this action (not API). Calling the method with this param set to "true" will trigger [selectionChanging](ui.igcombo#events:selectionChanging) and [selectionChanged](ui.igcombo#events:selectionChanged) events. */ deselect($items: Object, options?: Object, event?: Object): Object; @@ -22259,8 +21755,8 @@ interface IgComboMethods { * * @param index Index or array of indexes of items to be selected * @param options Object with set of options controlling the behavior of this api method. - * focusCombo (boolean): Set to true to focus combo after the deselection. - * keepInputText (boolean): Set to true to keep input text unchanged after the deselection. By default input text is updated. + * focusCombo (boolean): Set to true to focus combo after the deselection. + * keepInputText (boolean): Set to true to keep input text unchanged after the deselection. By default input text is updated. * @param event Indicates the browser event which triggered this action (not API). Calling the method with this param set to "true" will trigger [selectionChanging](ui.igcombo#events:selectionChanging) and [selectionChanged](ui.igcombo#events:selectionChanged) events. */ deselectByIndex(index: Object, options?: Object, event?: Object): Object; @@ -22269,8 +21765,8 @@ interface IgComboMethods { * Deselects all selected items from the drop down list. * * @param options Object with set of options controlling the behavior of this api method. - * focusCombo (boolean): Set to true to focus combo after the deselection. - * keepInputText (boolean): Set to true to keep input text unchanged after the deselection. By default input text is updated. + * focusCombo (boolean): Set to true to focus combo after the deselection. + * keepInputText (boolean): Set to true to keep input text unchanged after the deselection. By default input text is updated. * @param event Indicates the browser event which triggered this action (not API). Calling the method with this param set to "true" will trigger [selectionChanging](ui.igcombo#events:selectionChanging) and [selectionChanged](ui.igcombo#events:selectionChanged) events. */ deselectAll(options?: Object, event?: Object): Object; @@ -22361,6 +21857,8 @@ interface JQuery { } interface JQuery { + igCombo(methodName: "changeLocale"): void; + igCombo(methodName: "changeRegional"): void; igCombo(methodName: "dataBind"): Object; igCombo(methodName: "refreshValue"): Object; igCombo(methodName: "dataForValue", value: Object): Object; @@ -22483,14 +21981,14 @@ interface JQuery { /** * Sets URL which is used for sending JSON on request for remote filtering (MVC for example). That option is required when [load on demand](ui.igcombo#options:loadOnDemandSettings) is - * [enabled](ui.igcombo#options:loadOnDemandSettings.enabled) and its [type](ui.igcombo#options:filteringType) is remote. + * [enabled](ui.igcombo#options:loadOnDemandSettings.enabled) and its [type](ui.igcombo#options:filteringType) is remote. * */ igCombo(optionLiteral: 'option', optionName: "dataSourceUrl"): string; /** * Sets URL which is used for sending JSON on request for remote filtering (MVC for example). That option is required when [load on demand](ui.igcombo#options:loadOnDemandSettings) is - * [enabled](ui.igcombo#options:loadOnDemandSettings.enabled) and its [type](ui.igcombo#options:filteringType) is remote. + * [enabled](ui.igcombo#options:loadOnDemandSettings.enabled) and its [type](ui.igcombo#options:filteringType) is remote. * * * @optionValue New value to be set. @@ -22599,14 +22097,14 @@ interface JQuery { /** * Gets/Sets a template used to render an item in list. The igCombo utilizes igTemplating for generating node content templates. - * More info on the templating engine can be found here: http://www.igniteui.com/help/infragistics-templating-engine. + * More info on the templating engine can be found here: http://www.igniteui.com/help/infragistics-templating-engine. * */ igCombo(optionLiteral: 'option', optionName: "itemTemplate"): string; /** * /Sets a template used to render an item in list. The igCombo utilizes igTemplating for generating node content templates. - * More info on the templating engine can be found here: http://www.igniteui.com/help/infragistics-templating-engine. + * More info on the templating engine can be found here: http://www.igniteui.com/help/infragistics-templating-engine. * * * @optionValue New value to be set. @@ -22699,14 +22197,14 @@ interface JQuery { /** * If set to true, the container of the drop-down list is appended to the body. - * If set to false, it is appended to the parent element of the combo. + * If set to false, it is appended to the parent element of the combo. * */ igCombo(optionLiteral: 'option', optionName: "dropDownAttachedToBody"): boolean; /** * If set to true, the container of the drop-down list is appended to the body. - * If set to false, it is appended to the parent element of the combo. + * If set to false, it is appended to the parent element of the combo. * * * @optionValue New value to be set. @@ -22776,19 +22274,71 @@ interface JQuery { igCombo(optionLiteral: 'option', optionName: "filteringLogic", optionValue: string): void; /** - * Gets/Sets text of list item for condition when [filteringType](ui.igcombo#options:filteringType) option is enabled and no match was found. That is an override for the $.ig.Combo.locale.noMatchFoundText. - * + * This option has been removed as of 2017.2 Volume release. + * Gets/Sets text of list item for condition when [filteringType](ui.igcombo#options:filteringType) option is enabled and no match was found. + * Use option [locale.noMatchFoundText](ui.igcombo#options:locale.noMatchFoundText). */ igCombo(optionLiteral: 'option', optionName: "noMatchFoundText"): string; /** - * /Sets text of list item for condition when [filteringType](ui.igcombo#options:filteringType) option is enabled and no match was found. That is an override for the $.ig.Combo.locale.noMatchFoundText. - * + * This option has been removed as of 2017.2 Volume release. + * /Sets text of list item for condition when [filteringType](ui.igcombo#options:filteringType) option is enabled and no match was found. + * Use option [locale.noMatchFoundText](ui.igcombo#options:locale.noMatchFoundText). * * @optionValue New value to be set. */ igCombo(optionLiteral: 'option', optionName: "noMatchFoundText", optionValue: string): void; + /** + * This option has been removed as of 2017.2 Volume release. + * Gets/Sets title for html element which represent the drop-down button. + * Use option [locale.dropDownButtonTitle](ui.igcombo#options:locale.dropDownButtonTitle). + */ + igCombo(optionLiteral: 'option', optionName: "dropDownButtonTitle"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * /Sets title for html element which represent the drop-down button. + * Use option [locale.dropDownButtonTitle](ui.igcombo#options:locale.dropDownButtonTitle). + * + * @optionValue New value to be set. + */ + igCombo(optionLiteral: 'option', optionName: "dropDownButtonTitle", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets/Sets title for html element which represent clear button. + * Use option [locale.clearButtonTitle](ui.igcombo#options:locale.clearButtonTitle). + */ + igCombo(optionLiteral: 'option', optionName: "clearButtonTitle"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * /Sets title for html element which represent clear button. + * Use option [locale.clearButtonTitle](ui.igcombo#options:locale.clearButtonTitle). + * + * @optionValue New value to be set. + */ + igCombo(optionLiteral: 'option', optionName: "clearButtonTitle", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets/Sets value that is displayed when input field is empty. + * Use option [locale.placeHolder](ui.igcombo#options:locale.placeHolder). + */ + igCombo(optionLiteral: 'option', optionName: "placeHolder"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * /Sets value that is displayed when input field is empty. + * Use option [locale.placeHolder](ui.igcombo#options:locale.placeHolder). + * + * @optionValue New value to be set. + */ + igCombo(optionLiteral: 'option', optionName: "placeHolder", optionValue: string): void; + igCombo(optionLiteral: 'option', optionName: "locale"): IgComboLocale; + igCombo(optionLiteral: 'option', optionName: "locale", optionValue: IgComboLocale): void; + /** * Gets/Sets container of variables which define load on demand functionality. * Notes: @@ -22827,20 +22377,6 @@ interface JQuery { */ igCombo(optionLiteral: 'option', optionName: "visibleItemsCount", optionValue: number): void; - /** - * Gets/Sets value that is displayed when input field is empty. That is an override for the $.ig.Combo.locale.placeHolder. - * - */ - igCombo(optionLiteral: 'option', optionName: "placeHolder"): string; - - /** - * /Sets value that is displayed when input field is empty. That is an override for the $.ig.Combo.locale.placeHolder. - * - * - * @optionValue New value to be set. - */ - igCombo(optionLiteral: 'option', optionName: "placeHolder", optionValue: string): void; - /** * Sets gets functionality mode. * @@ -23081,14 +22617,14 @@ interface JQuery { /** * Gets/Sets list of items to be selected when the combo is initialized. It should contain array of objects with index or value property, then on initialization the matching items will be selected. If initialSelectedItems are not set, the combo is with single selection and it is in a dropdown, readonly or readonlylist [mode](ui.igcombo#options:mode), the first item will be automatically selected. - * Note: Only items loaded on initialization can be selected. When using [load on demand](ui.igCombo#options:loadOnDemandSettings), selecting an item which is not loaded yet will fail. + * Note: Only items loaded on initialization can be selected. When using [load on demand](ui.igCombo#options:loadOnDemandSettings), selecting an item which is not loaded yet will fail. * */ igCombo(optionLiteral: 'option', optionName: "initialSelectedItems"): IgComboInitialSelectedItem[]; /** * /Sets list of items to be selected when the combo is initialized. It should contain array of objects with index or value property, then on initialization the matching items will be selected. If initialSelectedItems are not set, the combo is with single selection and it is in a dropdown, readonly or readonlylist [mode](ui.igcombo#options:mode), the first item will be automatically selected. - * Note: Only items loaded on initialization can be selected. When using [load on demand](ui.igCombo#options:loadOnDemandSettings), selecting an item which is not loaded yet will fail. + * Note: Only items loaded on initialization can be selected. When using [load on demand](ui.igCombo#options:loadOnDemandSettings), selecting an item which is not loaded yet will fail. * * * @optionValue New value to be set. @@ -23139,14 +22675,14 @@ interface JQuery { /** * Gets/Sets whether the onscreen keyboard should be shown when the dropdown button is clicked (touch devices only). - * Note: The keyboard will still show when the combo input is focused in editable mode. + * Note: The keyboard will still show when the combo input is focused in editable mode. * */ igCombo(optionLiteral: 'option', optionName: "suppressKeyboard"): boolean; /** * /Sets whether the onscreen keyboard should be shown when the dropdown button is clicked (touch devices only). - * Note: The keyboard will still show when the combo input is focused in editable mode. + * Note: The keyboard will still show when the combo input is focused in editable mode. * * * @optionValue New value to be set. @@ -23155,48 +22691,20 @@ interface JQuery { /** * Gets whether the clear button should be rendered. - * When the [mode](ui.igcombo#options:mode) is single selection, readonly or readonlylist this option will default to false. It can still be enabled when it is specifically set to true. + * When the [mode](ui.igcombo#options:mode) is single selection, readonly or readonlylist this option will default to false. It can still be enabled when it is specifically set to true. * */ igCombo(optionLiteral: 'option', optionName: "enableClearButton"): boolean; /** * Sets whether the clear button should be rendered. - * When the [mode](ui.igcombo#options:mode) is single selection, readonly or readonlylist this option will default to false. It can still be enabled when it is specifically set to true. + * When the [mode](ui.igcombo#options:mode) is single selection, readonly or readonlylist this option will default to false. It can still be enabled when it is specifically set to true. * * * @optionValue New value to be set. */ igCombo(optionLiteral: 'option', optionName: "enableClearButton", optionValue: boolean): void; - /** - * Gets/Sets title for html element which represent the drop-down button. This is an override for the $.ig.Combo.locale.dropDownButtonTitle. - * - */ - igCombo(optionLiteral: 'option', optionName: "dropDownButtonTitle"): string; - - /** - * /Sets title for html element which represent the drop-down button. This is an override for the $.ig.Combo.locale.dropDownButtonTitle. - * - * - * @optionValue New value to be set. - */ - igCombo(optionLiteral: 'option', optionName: "dropDownButtonTitle", optionValue: string): void; - - /** - * Gets/Sets title for html element which represent clear button (this is an override for the $.ig.Combo.locale.clearButtonTitle). - * - */ - igCombo(optionLiteral: 'option', optionName: "clearButtonTitle"): string; - - /** - * /Sets title for html element which represent clear button (this is an override for the $.ig.Combo.locale.clearButtonTitle). - * - * - * @optionValue New value to be set. - */ - igCombo(optionLiteral: 'option', optionName: "clearButtonTitle", optionValue: string): void; - /** * Gets/Sets drop-down list orientation when open button is clicked. * @@ -23498,6 +23006,49 @@ interface JQuery { igCombo(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; igCombo(methodName: string, ...methodParams: any[]): any; } +interface IgDialogLocale { + /** + * Gets/Sets the title/tooltip for the close button in the dialog. + * + */ + closeButtonTitle?: string; + + /** + * Gets/Sets the title/tooltip for the minimize button in the dialog. + * + */ + minimizeButtonTitle?: string; + + /** + * Gets/Sets the title/tooltip for the maximize button in the dialog. + * + */ + maximizeButtonTitle?: string; + + /** + * Gets/Sets the title/tooltip for the pin button in the dialog. + * + */ + pinButtonTitle?: string; + + /** + * Gets/Sets the title/tooltip for the pin button in the dialog. + * + */ + unpinButtonTitle?: string; + + /** + * Gets/Sets the title/tooltip for the restore button in the dialog. + * + */ + restoreButtonTitle?: string; + + /** + * Option for IgDialogLocale + */ + [optionName: string]: any; +} + interface StateChangingEvent { (event: Event, ui: StateChangingEventUIParam): void; } @@ -23814,40 +23365,41 @@ interface IgDialog { trackFocus?: boolean; /** - * Gets/Sets the title/tooltip for the close button in the dialog. That is an override for $.ig.Dialog.locale.closeButtonTitle. - * + * This option has been removed as of 2017.2 Volume release. + * Gets/Sets the title/tooltip for the close button in the dialog. Use option [locale.closeButtonTitle](ui.igdialog#options:locale.closeButtonTitle). */ closeButtonTitle?: string; /** - * Gets/Sets the title/tooltip for the minimize button in the dialog. That is an override for $.ig.Dialog.locale.minimizeButtonTitle. - * + * This option has been removed as of 2017.2 Volume release. + * Gets/Sets the title/tooltip for the minimize button in the dialog. Use option [locale.minimizeButtonTitle](ui.igdialog#options:locale.minimizeButtonTitle). */ minimizeButtonTitle?: string; /** - * Gets/Sets the title/tooltip for the maximize button in the dialog. That is an override for $.ig.Dialog.locale.maximizeButtonTitle. - * + * This option has been removed as of 2017.2 Volume release. + * Gets/Sets the title/tooltip for the maximize button in the dialog. Use option [locale.minimizeButtonTitle](ui.igdialog#options:locale.minimizeButtonTitle). */ maximizeButtonTitle?: string; /** - * Gets/Sets the title/tooltip for the pin button in the dialog. That is an override for $.ig.Dialog.locale.pinButtonTitle. - * + * This option has been removed as of 2017.2 Volume release. + * Gets/Sets the title/tooltip for the pin button in the dialog. Use option [locale.pinButtonTitle](ui.igdialog#options:locale.pinButtonTitle). */ pinButtonTitle?: string; /** - * Gets/Sets the title/tooltip for the unpin button in the dialog. That is an override for $.ig.Dialog.locale.unpinButtonTitle. - * + * This option has been removed as of 2017.2 Volume release. + * Gets/Sets the title/tooltip for the unpin button in the dialog. Use option [locale.unpinButtonTitle](ui.igdialog#options:locale.unpinButtonTitle). */ unpinButtonTitle?: string; /** - * Gets/Sets the title/tooltip for the restore button in the dialog. That is an override for $.ig.Dialog.locale.restoreButtonTitle. - * + * This option has been removed as of 2017.2 Volume release. + * Gets/Sets the title/tooltip for the restore button in the dialog. Use option [locale.restoreButtonTitle](ui.igdialog#options:locale.restoreButtonTitle). */ restoreButtonTitle?: string; + locale?: IgDialogLocale; /** * Gets/Sets the temporary value for src, which is used while changing the parent of the base element if it is an instance of IFRAME. That allows getting around possible JavaScript exceptions under IE. @@ -24038,6 +23590,7 @@ interface IgDialogMethods { * @param newContent The new html content provided as a string. If the parameter is provided then the method acts as a setter. */ content(newContent?: string): Object; + changeLocale(): void; } interface JQuery { data(propertyName: "igDialog"): IgDialogMethods; @@ -24058,6 +23611,7 @@ interface JQuery { igDialog(methodName: "isTopModal"): boolean; igDialog(methodName: "moveToTop", e?: Object): Object; igDialog(methodName: "content", newContent?: string): Object; + igDialog(methodName: "changeLocale"): void; /** * Gets the jquery DIV object which is used as the main container for the dialog. @@ -24544,88 +24098,90 @@ interface JQuery { igDialog(optionLiteral: 'option', optionName: "trackFocus", optionValue: boolean): void; /** - * Gets/Sets the title/tooltip for the close button in the dialog. That is an override for $.ig.Dialog.locale.closeButtonTitle. - * + * This option has been removed as of 2017.2 Volume release. + * Gets/Sets the title/tooltip for the close button in the dialog. Use option [locale.closeButtonTitle](ui.igdialog#options:locale.closeButtonTitle). */ igDialog(optionLiteral: 'option', optionName: "closeButtonTitle"): string; /** - * /Sets the title/tooltip for the close button in the dialog. That is an override for $.ig.Dialog.locale.closeButtonTitle. - * + * This option has been removed as of 2017.2 Volume release. + * /Sets the title/tooltip for the close button in the dialog. Use option [locale.closeButtonTitle](ui.igdialog#options:locale.closeButtonTitle). * * @optionValue New value to be set. */ igDialog(optionLiteral: 'option', optionName: "closeButtonTitle", optionValue: string): void; /** - * Gets/Sets the title/tooltip for the minimize button in the dialog. That is an override for $.ig.Dialog.locale.minimizeButtonTitle. - * + * This option has been removed as of 2017.2 Volume release. + * Gets/Sets the title/tooltip for the minimize button in the dialog. Use option [locale.minimizeButtonTitle](ui.igdialog#options:locale.minimizeButtonTitle). */ igDialog(optionLiteral: 'option', optionName: "minimizeButtonTitle"): string; /** - * /Sets the title/tooltip for the minimize button in the dialog. That is an override for $.ig.Dialog.locale.minimizeButtonTitle. - * + * This option has been removed as of 2017.2 Volume release. + * /Sets the title/tooltip for the minimize button in the dialog. Use option [locale.minimizeButtonTitle](ui.igdialog#options:locale.minimizeButtonTitle). * * @optionValue New value to be set. */ igDialog(optionLiteral: 'option', optionName: "minimizeButtonTitle", optionValue: string): void; /** - * Gets/Sets the title/tooltip for the maximize button in the dialog. That is an override for $.ig.Dialog.locale.maximizeButtonTitle. - * + * This option has been removed as of 2017.2 Volume release. + * Gets/Sets the title/tooltip for the maximize button in the dialog. Use option [locale.minimizeButtonTitle](ui.igdialog#options:locale.minimizeButtonTitle). */ igDialog(optionLiteral: 'option', optionName: "maximizeButtonTitle"): string; /** - * /Sets the title/tooltip for the maximize button in the dialog. That is an override for $.ig.Dialog.locale.maximizeButtonTitle. - * + * This option has been removed as of 2017.2 Volume release. + * /Sets the title/tooltip for the maximize button in the dialog. Use option [locale.minimizeButtonTitle](ui.igdialog#options:locale.minimizeButtonTitle). * * @optionValue New value to be set. */ igDialog(optionLiteral: 'option', optionName: "maximizeButtonTitle", optionValue: string): void; /** - * Gets/Sets the title/tooltip for the pin button in the dialog. That is an override for $.ig.Dialog.locale.pinButtonTitle. - * + * This option has been removed as of 2017.2 Volume release. + * Gets/Sets the title/tooltip for the pin button in the dialog. Use option [locale.pinButtonTitle](ui.igdialog#options:locale.pinButtonTitle). */ igDialog(optionLiteral: 'option', optionName: "pinButtonTitle"): string; /** - * /Sets the title/tooltip for the pin button in the dialog. That is an override for $.ig.Dialog.locale.pinButtonTitle. - * + * This option has been removed as of 2017.2 Volume release. + * /Sets the title/tooltip for the pin button in the dialog. Use option [locale.pinButtonTitle](ui.igdialog#options:locale.pinButtonTitle). * * @optionValue New value to be set. */ igDialog(optionLiteral: 'option', optionName: "pinButtonTitle", optionValue: string): void; /** - * Gets/Sets the title/tooltip for the unpin button in the dialog. That is an override for $.ig.Dialog.locale.unpinButtonTitle. - * + * This option has been removed as of 2017.2 Volume release. + * Gets/Sets the title/tooltip for the unpin button in the dialog. Use option [locale.unpinButtonTitle](ui.igdialog#options:locale.unpinButtonTitle). */ igDialog(optionLiteral: 'option', optionName: "unpinButtonTitle"): string; /** - * /Sets the title/tooltip for the unpin button in the dialog. That is an override for $.ig.Dialog.locale.unpinButtonTitle. - * + * This option has been removed as of 2017.2 Volume release. + * /Sets the title/tooltip for the unpin button in the dialog. Use option [locale.unpinButtonTitle](ui.igdialog#options:locale.unpinButtonTitle). * * @optionValue New value to be set. */ igDialog(optionLiteral: 'option', optionName: "unpinButtonTitle", optionValue: string): void; /** - * Gets/Sets the title/tooltip for the restore button in the dialog. That is an override for $.ig.Dialog.locale.restoreButtonTitle. - * + * This option has been removed as of 2017.2 Volume release. + * Gets/Sets the title/tooltip for the restore button in the dialog. Use option [locale.restoreButtonTitle](ui.igdialog#options:locale.restoreButtonTitle). */ igDialog(optionLiteral: 'option', optionName: "restoreButtonTitle"): string; /** - * /Sets the title/tooltip for the restore button in the dialog. That is an override for $.ig.Dialog.locale.restoreButtonTitle. - * + * This option has been removed as of 2017.2 Volume release. + * /Sets the title/tooltip for the restore button in the dialog. Use option [locale.restoreButtonTitle](ui.igdialog#options:locale.restoreButtonTitle). * * @optionValue New value to be set. */ igDialog(optionLiteral: 'option', optionName: "restoreButtonTitle", optionValue: string): void; + igDialog(optionLiteral: 'option', optionName: "locale"): IgDialogLocale; + igDialog(optionLiteral: 'option', optionName: "locale", optionValue: IgDialogLocale): void; /** * Gets/Sets the temporary value for src, which is used while changing the parent of the base element if it is an instance of IFRAME. That allows getting around possible JavaScript exceptions under IE. @@ -26069,6 +25625,24 @@ interface IgBaseEditor { */ validatorOptions?: any; + /** + * Set/Get the locale setting for the widget. + * + */ + locale?: any; + + /** + * Set/Get the locale language setting for the widget. + * + */ + language?: string; + + /** + * Set/Get the regional setting for the widget. + * + */ + regional?: string|Object; + /** * Event which is raised before rendering of the editor completes. * Function takes arguments evt and ui. @@ -26264,6 +25838,9 @@ interface IgBaseEditorMethods { * Destroys the widget */ destroy(): void; + changeLocale($container: Object): void; + changeGlobalLanguage(): void; + changeGlobalRegional(): void; } interface JQuery { data(propertyName: "igBaseEditor"): IgBaseEditorMethods; @@ -26603,12 +26180,6 @@ interface IgTextEditor { */ toLower?: boolean; - /** - * Gets/Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - */ - locale?: any; - /** * Disables/Enables default notifications for basic validation scenarios built in the editors such as required list selection, value wrapping around or spin limits. * @@ -26692,6 +26263,24 @@ interface IgTextEditor { */ validatorOptions?: any; + /** + * Set/Get the locale setting for the widget. + * + */ + locale?: any; + + /** + * Set/Get the locale language setting for the widget. + * + */ + language?: string; + + /** + * Set/Get the regional setting for the widget. + * + */ + regional?: string|Object; + /** * Event which is raised when the drop down is opening. * Function takes arguments evt and ui. @@ -26894,6 +26483,8 @@ interface IgTextEditor { [optionName: string]: any; } interface IgTextEditorMethods { + changeLocale(): void; + /** * Gets the visible text in the editor. */ @@ -27072,12 +26663,6 @@ interface IgNumericEditor { */ listItems?: any[]; - /** - * Gets/Sets custom regional settings for editor. If it is string, then $.ig.regional[stringValue] is assumed. - * - */ - regional?: any; - /** * Gets/Sets the character, which is used as negative sign. * Note: This option has priority over possible regional settings. @@ -27373,12 +26958,6 @@ interface IgNumericEditor { */ dropDownOnReadOnly?: boolean; - /** - * Gets/Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - */ - locale?: any; - /** * Disables/Enables default notifications for basic validation scenarios built in the editors such as required list selection, value wrapping around or spin limits. * @@ -27449,6 +27028,24 @@ interface IgNumericEditor { */ validatorOptions?: any; + /** + * Set/Get the locale setting for the widget. + * + */ + locale?: any; + + /** + * Set/Get the locale language setting for the widget. + * + */ + language?: string; + + /** + * Set/Get the regional setting for the widget. + * + */ + regional?: string|Object; + /** * Event which is raised when the drop down is opening. * Function takes arguments evt and ui. @@ -27566,6 +27163,8 @@ interface IgNumericEditorMethods { * Gets current regional. */ getRegionalOption(): string; + changeRegional(): void; + changeLocale(): void; /** * Gets the visible text in the editor. @@ -27666,12 +27265,6 @@ interface IgCurrencyEditor { */ listItems?: any[]; - /** - * Gets/Sets custom regional settings for editor. If it is string, then $.ig.regional[stringValue] is assumed. - * - */ - regional?: any; - /** * Gets/Sets the character, which is used as negative sign. * Note: This option has priority over possible regional settings. @@ -27967,12 +27560,6 @@ interface IgCurrencyEditor { */ dropDownOnReadOnly?: boolean; - /** - * Gets/Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - */ - locale?: any; - /** * Disables/Enables default notifications for basic validation scenarios built in the editors such as required list selection, value wrapping around or spin limits. * @@ -28043,6 +27630,24 @@ interface IgCurrencyEditor { */ validatorOptions?: any; + /** + * Set/Get the locale setting for the widget. + * + */ + locale?: any; + + /** + * Set/Get the locale language setting for the widget. + * + */ + language?: string; + + /** + * Set/Get the regional setting for the widget. + * + */ + regional?: string|Object; + /** * Option for igCurrencyEditor */ @@ -28101,6 +27706,7 @@ interface IgCurrencyEditorMethods { * Gets current regional. */ getRegionalOption(): string; + changeRegional(): void; } interface JQuery { data(propertyName: "igCurrencyEditor"): IgCurrencyEditorMethods; @@ -28165,12 +27771,6 @@ interface IgPercentEditor { */ listItems?: any[]; - /** - * Gets/Sets custom regional settings for editor. If it is string, then $.ig.regional[stringValue] is assumed. - * - */ - regional?: any; - /** * Gets/Sets the character, which is used as negative sign. * Note: This option has priority over possible regional settings. @@ -28440,12 +28040,6 @@ interface IgPercentEditor { */ dropDownOnReadOnly?: boolean; - /** - * Gets/Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - */ - locale?: any; - /** * Disables/Enables default notifications for basic validation scenarios built in the editors such as required list selection, value wrapping around or spin limits. * @@ -28516,6 +28110,24 @@ interface IgPercentEditor { */ validatorOptions?: any; + /** + * Set/Get the locale setting for the widget. + * + */ + locale?: any; + + /** + * Set/Get the locale language setting for the widget. + * + */ + language?: string; + + /** + * Set/Get the regional setting for the widget. + * + */ + regional?: string|Object; + /** * Option for igPercentEditor */ @@ -28582,18 +28194,13 @@ interface IgPercentEditorMethods { * Gets current regional. */ getRegionalOption(): string; + changeRegional(): void; } interface JQuery { data(propertyName: "igPercentEditor"): IgPercentEditorMethods; } interface IgMaskEditor { - /** - * Gets custom regional settings for editor. If it is string, then $.ig.regional[stringValue] is assumed. - * - */ - regional?: any; - /** * Gets visibility of the clear button. That option can be set only on initialization. * @@ -28801,12 +28408,6 @@ interface IgMaskEditor { */ toLower?: boolean; - /** - * Gets/Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - */ - locale?: any; - /** * Disables/Enables default notifications for basic validation scenarios built in the editors such as required list selection, value wrapping around or spin limits. * @@ -28875,6 +28476,24 @@ interface IgMaskEditor { * */ validatorOptions?: any; + + /** + * Set/Get the locale setting for the widget. + * + */ + locale?: any; + + /** + * Set/Get the locale language setting for the widget. + * + */ + language?: string; + + /** + * Set/Get the regional setting for the widget. + * + */ + regional?: string|Object; dropDownListOpening?: DropDownListOpeningEvent; dropDownListOpened?: DropDownListOpenedEvent; dropDownListClosing?: DropDownListClosingEvent; @@ -28921,6 +28540,7 @@ interface IgMaskEditorMethods { * Checks if the value in the editor is valid. Note: This function will not trigger automatic notifications. */ isValid(): boolean; + changeLocale(): void; /** * Gets the visible text in the editor. @@ -29095,13 +28715,26 @@ interface IgDateEditor { buttonType?: string; /** - * Gets/Sets delta-value which is used to increment or decrement the editor date on spin actions. - * When not editing (focused) the delta is applied on the day if available in the input mask or the lowest available period. + * Gets/Sets delta-value which is used to increment or decrement the editor date on spin actions.When not editing (focused) the delta is applied on the day if available in the input mask or the lowest available period. * When in edit mode the time period, where the cursor is positioned, is incremented or decremented with the defined delta value. - * The value can be only a positive integer number, otherwise it will be set as 1, or in the cases with double or float the the whole part will be taken. + * Accepted values for deltas are positive integer numbers, and the fractional portion of floating point numbers is ignored. + * spinDelta: { + * year: 4, + * month: 3, + * day: 10, + * hours: 12, + * minutes: 15, + * seconds: 10, + * milliseconds: 100 + * } + * Time periods that don't have values use 1 as default. * + * + * Valid values: + * "number" Value this value it is applied to all time periods - years, days, minutes, etc. + * "object" A configuration object, which defines specific values for each time period. The option can accept the following format: */ - spinDelta?: number; + spinDelta?: number|Object; /** * Gets/Sets ability to modify only 1 date field on spin events. @@ -29204,12 +28837,6 @@ interface IgDateEditor { toLower?: boolean; suppressKeyboard?: boolean; - /** - * Gets custom regional settings for editor. If it is string, then $.ig.regional[stringValue] is assumed. - * - */ - regional?: any; - /** * Gets ability to enter only specific characters in input-field from keyboard and on paste. * Notes: @@ -29297,12 +28924,6 @@ interface IgDateEditor { */ preventSubmitOnEnter?: boolean; - /** - * Gets/Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - */ - locale?: any; - /** * Disables/Enables default notifications for basic validation scenarios built in the editors such as required list selection, value wrapping around or spin limits. * @@ -29366,6 +28987,24 @@ interface IgDateEditor { */ validatorOptions?: any; + /** + * Set/Get the locale setting for the widget. + * + */ + locale?: any; + + /** + * Set/Get the locale language setting for the widget. + * + */ + language?: string; + + /** + * Set/Get the regional setting for the widget. + * + */ + regional?: string|Object; + /** * This event is inherited from a parent widget and it's not triggered in igDateEditor */ @@ -29402,6 +29041,8 @@ interface IgDateEditor { [optionName: string]: any; } interface IgDateEditorMethods { + changeRegional(): void; + /** * Gets/Sets editor value. * @@ -29493,12 +29134,6 @@ interface ItemSelectedEventUIParam { } interface IgDatePicker { - /** - * Gets/Sets the custom regional settings for the editor. If it is a string, then $.ig.regional[stringValue] is assumed. - * - */ - regional?: any; - /** * Gets visibility of the spin, clear and drop-down button. That option can be set only on initialization. Combinations like 'dropdown,spin' or 'spin,clear' are supported too. * @@ -29672,13 +29307,26 @@ interface IgDatePicker { displayTimeOffset?: any; /** - * Gets/Sets delta-value which is used to increment or decrement the editor date on spin actions. - * When not editing (focused) the delta is applied on the day if available in the input mask or the lowest available period. + * Gets/Sets delta-value which is used to increment or decrement the editor date on spin actions.When not editing (focused) the delta is applied on the day if available in the input mask or the lowest available period. * When in edit mode the time period, where the cursor is positioned, is incremented or decremented with the defined delta value. - * The value can be only a positive integer number, otherwise it will be set as 1, or in the cases with double or float the the whole part will be taken. + * Accepted values for deltas are positive integer numbers, and the fractional portion of floating point numbers is ignored. + * spinDelta: { + * year: 4, + * month: 3, + * day: 10, + * hours: 12, + * minutes: 15, + * seconds: 10, + * milliseconds: 100 + * } + * Time periods that don't have values use 1 as default. * + * + * Valid values: + * "number" Value this value it is applied to all time periods - years, days, minutes, etc. + * "object" A configuration object, which defines specific values for each time period. The option can accept the following format: */ - spinDelta?: number; + spinDelta?: number|Object; /** * Gets/Sets ability to modify only 1 date field on spin events. @@ -29837,12 +29485,6 @@ interface IgDatePicker { */ preventSubmitOnEnter?: boolean; - /** - * Gets/Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - */ - locale?: any; - /** * Disables/Enables default notifications for basic validation scenarios built in the editors such as required list selection, value wrapping around or spin limits. * @@ -29906,6 +29548,24 @@ interface IgDatePicker { */ validatorOptions?: any; + /** + * Set/Get the locale setting for the widget. + * + */ + locale?: any; + + /** + * Set/Get the locale language setting for the widget. + * + */ + language?: string; + + /** + * Set/Get the regional setting for the widget. + * + */ + regional?: string|Object; + /** * Event which is raised when the drop down is opening. * Function takes arguments evt and ui. @@ -29964,6 +29624,8 @@ interface IgDatePicker { [optionName: string]: any; } interface IgDatePickerMethods { + changeRegional(): void; + /** * Returns a reference to the jQuery calendar used as a picker selector */ @@ -30138,6 +29800,24 @@ interface IgCheckboxEditor { */ validatorOptions?: any; + /** + * Set/Get the locale setting for the widget. + * + */ + locale?: any; + + /** + * Set/Get the locale language setting for the widget. + * + */ + language?: string; + + /** + * Set/Get the regional setting for the widget. + * + */ + regional?: string|Object; + /** * Event which is raised before value in editor was changed. * Return false in order to cancel change. @@ -30369,6 +30049,9 @@ interface JQuery { igBaseEditor(methodName: "isValid"): boolean; igBaseEditor(methodName: "validate"): boolean; igBaseEditor(methodName: "destroy"): void; + igBaseEditor(methodName: "changeLocale", $container: Object): void; + igBaseEditor(methodName: "changeGlobalLanguage"): void; + igBaseEditor(methodName: "changeGlobalRegional"): void; /** * Gets/Sets the width of the control. @@ -30522,6 +30205,50 @@ interface JQuery { */ igBaseEditor(optionLiteral: 'option', optionName: "validatorOptions", optionValue: any): void; + /** + * Set/Get the locale setting for the widget. + * + */ + igBaseEditor(optionLiteral: 'option', optionName: "locale"): any; + + /** + * Set/Get the locale setting for the widget. + * + * + * @optionValue New value to be set. + */ + igBaseEditor(optionLiteral: 'option', optionName: "locale", optionValue: any): void; + + /** + * Set/Get the locale language setting for the widget. + * + */ + igBaseEditor(optionLiteral: 'option', optionName: "language"): string; + + /** + * Set/Get the locale language setting for the widget. + * + * + * @optionValue New value to be set. + */ + igBaseEditor(optionLiteral: 'option', optionName: "language", optionValue: string): void; + + /** + * Set/Get the regional setting for the widget. + * + */ + + igBaseEditor(optionLiteral: 'option', optionName: "regional"): string|Object; + + /** + * Set/Get the regional setting for the widget. + * + * + * @optionValue New value to be set. + */ + + igBaseEditor(optionLiteral: 'option', optionName: "regional", optionValue: string|Object): void; + /** * Event which is raised before rendering of the editor completes. * Function takes arguments evt and ui. @@ -30816,6 +30543,7 @@ interface JQuery { igBaseEditor(methodName: string, ...methodParams: any[]): any; } interface JQuery { + igTextEditor(methodName: "changeLocale"): void; igTextEditor(methodName: "displayValue"): string; igTextEditor(methodName: "dropDownContainer"): string; igTextEditor(methodName: "showDropDown"): void; @@ -31202,20 +30930,6 @@ interface JQuery { */ igTextEditor(optionLiteral: 'option', optionName: "toLower", optionValue: boolean): void; - /** - * Gets/Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - */ - igTextEditor(optionLiteral: 'option', optionName: "locale"): any; - - /** - * /Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - * - * @optionValue New value to be set. - */ - igTextEditor(optionLiteral: 'option', optionName: "locale", optionValue: any): void; - /** * Disables/Enables default notifications for basic validation scenarios built in the editors such as required list selection, value wrapping around or spin limits. * @@ -31400,6 +31114,50 @@ interface JQuery { */ igTextEditor(optionLiteral: 'option', optionName: "validatorOptions", optionValue: any): void; + /** + * Set/Get the locale setting for the widget. + * + */ + igTextEditor(optionLiteral: 'option', optionName: "locale"): any; + + /** + * Set/Get the locale setting for the widget. + * + * + * @optionValue New value to be set. + */ + igTextEditor(optionLiteral: 'option', optionName: "locale", optionValue: any): void; + + /** + * Set/Get the locale language setting for the widget. + * + */ + igTextEditor(optionLiteral: 'option', optionName: "language"): string; + + /** + * Set/Get the locale language setting for the widget. + * + * + * @optionValue New value to be set. + */ + igTextEditor(optionLiteral: 'option', optionName: "language", optionValue: string): void; + + /** + * Set/Get the regional setting for the widget. + * + */ + + igTextEditor(optionLiteral: 'option', optionName: "regional"): string|Object; + + /** + * Set/Get the regional setting for the widget. + * + * + * @optionValue New value to be set. + */ + + igTextEditor(optionLiteral: 'option', optionName: "regional", optionValue: string|Object): void; + /** * Event which is raised when the drop down is opening. * Function takes arguments evt and ui. @@ -31850,6 +31608,8 @@ interface JQuery { igNumericEditor(methodName: "selectListIndexUp"): void; igNumericEditor(methodName: "selectListIndexDown"): void; igNumericEditor(methodName: "getRegionalOption"): string; + igNumericEditor(methodName: "changeRegional"): void; + igNumericEditor(methodName: "changeLocale"): void; igNumericEditor(methodName: "displayValue"): string; igNumericEditor(methodName: "dropDownContainer"): string; igNumericEditor(methodName: "showDropDown"): void; @@ -31880,20 +31640,6 @@ interface JQuery { */ igNumericEditor(optionLiteral: 'option', optionName: "listItems", optionValue: any[]): void; - /** - * Gets/Sets custom regional settings for editor. If it is string, then $.ig.regional[stringValue] is assumed. - * - */ - igNumericEditor(optionLiteral: 'option', optionName: "regional"): any; - - /** - * /Sets custom regional settings for editor. If it is string, then $.ig.regional[stringValue] is assumed. - * - * - * @optionValue New value to be set. - */ - igNumericEditor(optionLiteral: 'option', optionName: "regional", optionValue: any): void; - /** * Gets/Sets the character, which is used as negative sign. * Note: This option has priority over possible regional settings. @@ -32484,20 +32230,6 @@ interface JQuery { */ igNumericEditor(optionLiteral: 'option', optionName: "dropDownOnReadOnly", optionValue: boolean): void; - /** - * Gets/Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - */ - igNumericEditor(optionLiteral: 'option', optionName: "locale"): any; - - /** - * /Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - * - * @optionValue New value to be set. - */ - igNumericEditor(optionLiteral: 'option', optionName: "locale", optionValue: any): void; - /** * Disables/Enables default notifications for basic validation scenarios built in the editors such as required list selection, value wrapping around or spin limits. * @@ -32652,6 +32384,50 @@ interface JQuery { */ igNumericEditor(optionLiteral: 'option', optionName: "validatorOptions", optionValue: any): void; + /** + * Set/Get the locale setting for the widget. + * + */ + igNumericEditor(optionLiteral: 'option', optionName: "locale"): any; + + /** + * Set/Get the locale setting for the widget. + * + * + * @optionValue New value to be set. + */ + igNumericEditor(optionLiteral: 'option', optionName: "locale", optionValue: any): void; + + /** + * Set/Get the locale language setting for the widget. + * + */ + igNumericEditor(optionLiteral: 'option', optionName: "language"): string; + + /** + * Set/Get the locale language setting for the widget. + * + * + * @optionValue New value to be set. + */ + igNumericEditor(optionLiteral: 'option', optionName: "language", optionValue: string): void; + + /** + * Set/Get the regional setting for the widget. + * + */ + + igNumericEditor(optionLiteral: 'option', optionName: "regional"): string|Object; + + /** + * Set/Get the regional setting for the widget. + * + * + * @optionValue New value to be set. + */ + + igNumericEditor(optionLiteral: 'option', optionName: "regional", optionValue: string|Object): void; + /** * Event which is raised when the drop down is opening. * Function takes arguments evt and ui. @@ -32815,6 +32591,7 @@ interface JQuery { igCurrencyEditor(methodName: "selectListIndexUp"): void; igCurrencyEditor(methodName: "selectListIndexDown"): void; igCurrencyEditor(methodName: "getRegionalOption"): string; + igCurrencyEditor(methodName: "changeRegional"): void; /** * Gets/Sets the string, which is used as positive pattern. The "n" flag represents the value of number. @@ -32864,20 +32641,6 @@ interface JQuery { */ igCurrencyEditor(optionLiteral: 'option', optionName: "listItems", optionValue: any[]): void; - /** - * Gets/Sets custom regional settings for editor. If it is string, then $.ig.regional[stringValue] is assumed. - * - */ - igCurrencyEditor(optionLiteral: 'option', optionName: "regional"): any; - - /** - * /Sets custom regional settings for editor. If it is string, then $.ig.regional[stringValue] is assumed. - * - * - * @optionValue New value to be set. - */ - igCurrencyEditor(optionLiteral: 'option', optionName: "regional", optionValue: any): void; - /** * Gets/Sets the character, which is used as negative sign. * Note: This option has priority over possible regional settings. @@ -33468,20 +33231,6 @@ interface JQuery { */ igCurrencyEditor(optionLiteral: 'option', optionName: "dropDownOnReadOnly", optionValue: boolean): void; - /** - * Gets/Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - */ - igCurrencyEditor(optionLiteral: 'option', optionName: "locale"): any; - - /** - * /Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - * - * @optionValue New value to be set. - */ - igCurrencyEditor(optionLiteral: 'option', optionName: "locale", optionValue: any): void; - /** * Disables/Enables default notifications for basic validation scenarios built in the editors such as required list selection, value wrapping around or spin limits. * @@ -33635,6 +33384,50 @@ interface JQuery { * @optionValue New value to be set. */ igCurrencyEditor(optionLiteral: 'option', optionName: "validatorOptions", optionValue: any): void; + + /** + * Set/Get the locale setting for the widget. + * + */ + igCurrencyEditor(optionLiteral: 'option', optionName: "locale"): any; + + /** + * Set/Get the locale setting for the widget. + * + * + * @optionValue New value to be set. + */ + igCurrencyEditor(optionLiteral: 'option', optionName: "locale", optionValue: any): void; + + /** + * Set/Get the locale language setting for the widget. + * + */ + igCurrencyEditor(optionLiteral: 'option', optionName: "language"): string; + + /** + * Set/Get the locale language setting for the widget. + * + * + * @optionValue New value to be set. + */ + igCurrencyEditor(optionLiteral: 'option', optionName: "language", optionValue: string): void; + + /** + * Set/Get the regional setting for the widget. + * + */ + + igCurrencyEditor(optionLiteral: 'option', optionName: "regional"): string|Object; + + /** + * Set/Get the regional setting for the widget. + * + * + * @optionValue New value to be set. + */ + + igCurrencyEditor(optionLiteral: 'option', optionName: "regional", optionValue: string|Object): void; igCurrencyEditor(options: IgCurrencyEditor): JQuery; igCurrencyEditor(optionLiteral: 'option', optionName: string): any; igCurrencyEditor(optionLiteral: 'option', options: IgCurrencyEditor): JQuery; @@ -33654,6 +33447,7 @@ interface JQuery { igPercentEditor(methodName: "selectListIndexUp"): void; igPercentEditor(methodName: "selectListIndexDown"): void; igPercentEditor(methodName: "getRegionalOption"): string; + igPercentEditor(methodName: "changeRegional"): void; /** * Gets/Sets the pattern for positive numeric values, which is used in display (no focus) state. @@ -33761,20 +33555,6 @@ interface JQuery { */ igPercentEditor(optionLiteral: 'option', optionName: "listItems", optionValue: any[]): void; - /** - * Gets/Sets custom regional settings for editor. If it is string, then $.ig.regional[stringValue] is assumed. - * - */ - igPercentEditor(optionLiteral: 'option', optionName: "regional"): any; - - /** - * /Sets custom regional settings for editor. If it is string, then $.ig.regional[stringValue] is assumed. - * - * - * @optionValue New value to be set. - */ - igPercentEditor(optionLiteral: 'option', optionName: "regional", optionValue: any): void; - /** * Gets/Sets the character, which is used as negative sign. * Note: This option has priority over possible regional settings. @@ -34331,20 +34111,6 @@ interface JQuery { */ igPercentEditor(optionLiteral: 'option', optionName: "dropDownOnReadOnly", optionValue: boolean): void; - /** - * Gets/Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - */ - igPercentEditor(optionLiteral: 'option', optionName: "locale"): any; - - /** - * /Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - * - * @optionValue New value to be set. - */ - igPercentEditor(optionLiteral: 'option', optionName: "locale", optionValue: any): void; - /** * Disables/Enables default notifications for basic validation scenarios built in the editors such as required list selection, value wrapping around or spin limits. * @@ -34498,6 +34264,50 @@ interface JQuery { * @optionValue New value to be set. */ igPercentEditor(optionLiteral: 'option', optionName: "validatorOptions", optionValue: any): void; + + /** + * Set/Get the locale setting for the widget. + * + */ + igPercentEditor(optionLiteral: 'option', optionName: "locale"): any; + + /** + * Set/Get the locale setting for the widget. + * + * + * @optionValue New value to be set. + */ + igPercentEditor(optionLiteral: 'option', optionName: "locale", optionValue: any): void; + + /** + * Set/Get the locale language setting for the widget. + * + */ + igPercentEditor(optionLiteral: 'option', optionName: "language"): string; + + /** + * Set/Get the locale language setting for the widget. + * + * + * @optionValue New value to be set. + */ + igPercentEditor(optionLiteral: 'option', optionName: "language", optionValue: string): void; + + /** + * Set/Get the regional setting for the widget. + * + */ + + igPercentEditor(optionLiteral: 'option', optionName: "regional"): string|Object; + + /** + * Set/Get the regional setting for the widget. + * + * + * @optionValue New value to be set. + */ + + igPercentEditor(optionLiteral: 'option', optionName: "regional", optionValue: string|Object): void; igPercentEditor(options: IgPercentEditor): JQuery; igPercentEditor(optionLiteral: 'option', optionName: string): any; igPercentEditor(optionLiteral: 'option', options: IgPercentEditor): JQuery; @@ -34519,6 +34329,7 @@ interface JQuery { igMaskEditor(methodName: "spinUp"): void; igMaskEditor(methodName: "spinDown"): void; igMaskEditor(methodName: "isValid"): boolean; + igMaskEditor(methodName: "changeLocale"): void; igMaskEditor(methodName: "displayValue"): string; igMaskEditor(methodName: "clearButton"): string; igMaskEditor(methodName: "getSelectedText"): string; @@ -34527,20 +34338,6 @@ interface JQuery { igMaskEditor(methodName: "insert", string: string): void; igMaskEditor(methodName: "select", start: number, end: number): void; - /** - * Gets custom regional settings for editor. If it is string, then $.ig.regional[stringValue] is assumed. - * - */ - igMaskEditor(optionLiteral: 'option', optionName: "regional"): any; - - /** - * Custom regional settings for editor. If it is string, then $.ig.regional[stringValue] is assumed. - * - * - * @optionValue New value to be set. - */ - igMaskEditor(optionLiteral: 'option', optionName: "regional", optionValue: any): void; - /** * Gets visibility of the clear button. That option can be set only on initialization. * @@ -34971,20 +34768,6 @@ interface JQuery { */ igMaskEditor(optionLiteral: 'option', optionName: "toLower", optionValue: boolean): void; - /** - * Gets/Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - */ - igMaskEditor(optionLiteral: 'option', optionName: "locale"): any; - - /** - * /Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - * - * @optionValue New value to be set. - */ - igMaskEditor(optionLiteral: 'option', optionName: "locale", optionValue: any): void; - /** * Disables/Enables default notifications for basic validation scenarios built in the editors such as required list selection, value wrapping around or spin limits. * @@ -35136,6 +34919,50 @@ interface JQuery { * @optionValue New value to be set. */ igMaskEditor(optionLiteral: 'option', optionName: "validatorOptions", optionValue: any): void; + + /** + * Set/Get the locale setting for the widget. + * + */ + igMaskEditor(optionLiteral: 'option', optionName: "locale"): any; + + /** + * Set/Get the locale setting for the widget. + * + * + * @optionValue New value to be set. + */ + igMaskEditor(optionLiteral: 'option', optionName: "locale", optionValue: any): void; + + /** + * Set/Get the locale language setting for the widget. + * + */ + igMaskEditor(optionLiteral: 'option', optionName: "language"): string; + + /** + * Set/Get the locale language setting for the widget. + * + * + * @optionValue New value to be set. + */ + igMaskEditor(optionLiteral: 'option', optionName: "language", optionValue: string): void; + + /** + * Set/Get the regional setting for the widget. + * + */ + + igMaskEditor(optionLiteral: 'option', optionName: "regional"): string|Object; + + /** + * Set/Get the regional setting for the widget. + * + * + * @optionValue New value to be set. + */ + + igMaskEditor(optionLiteral: 'option', optionName: "regional", optionValue: string|Object): void; igMaskEditor(optionLiteral: 'option', optionName: "dropDownListOpening"): DropDownListOpeningEvent; igMaskEditor(optionLiteral: 'option', optionName: "dropDownListOpening", optionValue: DropDownListOpeningEvent): void; igMaskEditor(optionLiteral: 'option', optionName: "dropDownListOpened"): DropDownListOpenedEvent; @@ -35177,6 +35004,7 @@ interface JQuery { igMaskEditor(methodName: string, ...methodParams: any[]): any; } interface JQuery { + igDateEditor(methodName: "changeRegional"): void; igDateEditor(methodName: "value", newValue?: Date): Date; igDateEditor(methodName: "getSelectedDate"): Date; igDateEditor(methodName: "selectDate", date: Date): void; @@ -35449,24 +35277,44 @@ interface JQuery { igDateEditor(optionLiteral: 'option', optionName: "buttonType", optionValue: string): void; /** - * Gets/Sets delta-value which is used to increment or decrement the editor date on spin actions. - * When not editing (focused) the delta is applied on the day if available in the input mask or the lowest available period. + * Gets/Sets delta-value which is used to increment or decrement the editor date on spin actions.When not editing (focused) the delta is applied on the day if available in the input mask or the lowest available period. * When in edit mode the time period, where the cursor is positioned, is incremented or decremented with the defined delta value. - * The value can be only a positive integer number, otherwise it will be set as 1, or in the cases with double or float the the whole part will be taken. + * Accepted values for deltas are positive integer numbers, and the fractional portion of floating point numbers is ignored. + * spinDelta: { + * year: 4, + * month: 3, + * day: 10, + * hours: 12, + * minutes: 15, + * seconds: 10, + * milliseconds: 100 + * } + * Time periods that don't have values use 1 as default. * */ - igDateEditor(optionLiteral: 'option', optionName: "spinDelta"): number; + + igDateEditor(optionLiteral: 'option', optionName: "spinDelta"): number|Object; /** - * /Sets delta-value which is used to increment or decrement the editor date on spin actions. - * When not editing (focused) the delta is applied on the day if available in the input mask or the lowest available period. + * /Sets delta-value which is used to increment or decrement the editor date on spin actions.When not editing (focused) the delta is applied on the day if available in the input mask or the lowest available period. * When in edit mode the time period, where the cursor is positioned, is incremented or decremented with the defined delta value. - * The value can be only a positive integer number, otherwise it will be set as 1, or in the cases with double or float the the whole part will be taken. + * Accepted values for deltas are positive integer numbers, and the fractional portion of floating point numbers is ignored. + * spinDelta: { + * year: 4, + * month: 3, + * day: 10, + * hours: 12, + * minutes: 15, + * seconds: 10, + * milliseconds: 100 + * } + * Time periods that don't have values use 1 as default. * * * @optionValue New value to be set. */ - igDateEditor(optionLiteral: 'option', optionName: "spinDelta", optionValue: number): void; + + igDateEditor(optionLiteral: 'option', optionName: "spinDelta", optionValue: number|Object): void; /** * Gets/Sets ability to modify only 1 date field on spin events. @@ -35708,20 +35556,6 @@ interface JQuery { igDateEditor(optionLiteral: 'option', optionName: "suppressKeyboard"): boolean; igDateEditor(optionLiteral: 'option', optionName: "suppressKeyboard", optionValue: boolean): void; - /** - * Gets custom regional settings for editor. If it is string, then $.ig.regional[stringValue] is assumed. - * - */ - igDateEditor(optionLiteral: 'option', optionName: "regional"): any; - - /** - * Custom regional settings for editor. If it is string, then $.ig.regional[stringValue] is assumed. - * - * - * @optionValue New value to be set. - */ - igDateEditor(optionLiteral: 'option', optionName: "regional", optionValue: any): void; - /** * Gets ability to enter only specific characters in input-field from keyboard and on paste. * Notes: @@ -35898,20 +35732,6 @@ interface JQuery { */ igDateEditor(optionLiteral: 'option', optionName: "preventSubmitOnEnter", optionValue: boolean): void; - /** - * Gets/Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - */ - igDateEditor(optionLiteral: 'option', optionName: "locale"): any; - - /** - * /Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - * - * @optionValue New value to be set. - */ - igDateEditor(optionLiteral: 'option', optionName: "locale", optionValue: any): void; - /** * Disables/Enables default notifications for basic validation scenarios built in the editors such as required list selection, value wrapping around or spin limits. * @@ -36048,6 +35868,50 @@ interface JQuery { */ igDateEditor(optionLiteral: 'option', optionName: "validatorOptions", optionValue: any): void; + /** + * Set/Get the locale setting for the widget. + * + */ + igDateEditor(optionLiteral: 'option', optionName: "locale"): any; + + /** + * Set/Get the locale setting for the widget. + * + * + * @optionValue New value to be set. + */ + igDateEditor(optionLiteral: 'option', optionName: "locale", optionValue: any): void; + + /** + * Set/Get the locale language setting for the widget. + * + */ + igDateEditor(optionLiteral: 'option', optionName: "language"): string; + + /** + * Set/Get the locale language setting for the widget. + * + * + * @optionValue New value to be set. + */ + igDateEditor(optionLiteral: 'option', optionName: "language", optionValue: string): void; + + /** + * Set/Get the regional setting for the widget. + * + */ + + igDateEditor(optionLiteral: 'option', optionName: "regional"): string|Object; + + /** + * Set/Get the regional setting for the widget. + * + * + * @optionValue New value to be set. + */ + + igDateEditor(optionLiteral: 'option', optionName: "regional", optionValue: string|Object): void; + /** * This event is inherited from a parent widget and it's not triggered in igDateEditor */ @@ -36126,6 +35990,7 @@ interface JQuery { igDateEditor(methodName: string, ...methodParams: any[]): any; } interface JQuery { + igDatePicker(methodName: "changeRegional"): void; igDatePicker(methodName: "getCalendar"): string; igDatePicker(methodName: "dropDownContainer"): void; igDatePicker(methodName: "findListItemIndex"): void; @@ -36145,20 +36010,6 @@ interface JQuery { igDatePicker(methodName: "spinDownButton"): string; igDatePicker(methodName: "isValid"): boolean; - /** - * Gets/Sets the custom regional settings for the editor. If it is a string, then $.ig.regional[stringValue] is assumed. - * - */ - igDatePicker(optionLiteral: 'option', optionName: "regional"): any; - - /** - * /Sets the custom regional settings for the editor. If it is a string, then $.ig.regional[stringValue] is assumed. - * - * - * @optionValue New value to be set. - */ - igDatePicker(optionLiteral: 'option', optionName: "regional", optionValue: any): void; - /** * Gets visibility of the spin, clear and drop-down button. That option can be set only on initialization. Combinations like 'dropdown,spin' or 'spin,clear' are supported too. * @@ -36520,24 +36371,44 @@ interface JQuery { igDatePicker(optionLiteral: 'option', optionName: "displayTimeOffset", optionValue: any): void; /** - * Gets/Sets delta-value which is used to increment or decrement the editor date on spin actions. - * When not editing (focused) the delta is applied on the day if available in the input mask or the lowest available period. + * Gets/Sets delta-value which is used to increment or decrement the editor date on spin actions.When not editing (focused) the delta is applied on the day if available in the input mask or the lowest available period. * When in edit mode the time period, where the cursor is positioned, is incremented or decremented with the defined delta value. - * The value can be only a positive integer number, otherwise it will be set as 1, or in the cases with double or float the the whole part will be taken. + * Accepted values for deltas are positive integer numbers, and the fractional portion of floating point numbers is ignored. + * spinDelta: { + * year: 4, + * month: 3, + * day: 10, + * hours: 12, + * minutes: 15, + * seconds: 10, + * milliseconds: 100 + * } + * Time periods that don't have values use 1 as default. * */ - igDatePicker(optionLiteral: 'option', optionName: "spinDelta"): number; + + igDatePicker(optionLiteral: 'option', optionName: "spinDelta"): number|Object; /** - * /Sets delta-value which is used to increment or decrement the editor date on spin actions. - * When not editing (focused) the delta is applied on the day if available in the input mask or the lowest available period. + * /Sets delta-value which is used to increment or decrement the editor date on spin actions.When not editing (focused) the delta is applied on the day if available in the input mask or the lowest available period. * When in edit mode the time period, where the cursor is positioned, is incremented or decremented with the defined delta value. - * The value can be only a positive integer number, otherwise it will be set as 1, or in the cases with double or float the the whole part will be taken. + * Accepted values for deltas are positive integer numbers, and the fractional portion of floating point numbers is ignored. + * spinDelta: { + * year: 4, + * month: 3, + * day: 10, + * hours: 12, + * minutes: 15, + * seconds: 10, + * milliseconds: 100 + * } + * Time periods that don't have values use 1 as default. * * * @optionValue New value to be set. */ - igDatePicker(optionLiteral: 'option', optionName: "spinDelta", optionValue: number): void; + + igDatePicker(optionLiteral: 'option', optionName: "spinDelta", optionValue: number|Object): void; /** * Gets/Sets ability to modify only 1 date field on spin events. @@ -36881,20 +36752,6 @@ interface JQuery { */ igDatePicker(optionLiteral: 'option', optionName: "preventSubmitOnEnter", optionValue: boolean): void; - /** - * Gets/Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - */ - igDatePicker(optionLiteral: 'option', optionName: "locale"): any; - - /** - * /Sets the strings used for the localization of the component. This includes button titles, error messages etc. Value of the object should contain pairs or key:value members. Note: any sub-option of locale can appear within the main option of igEditor. In this case those values within main options will have highest priority and override corresponding value in locale. - * - * - * @optionValue New value to be set. - */ - igDatePicker(optionLiteral: 'option', optionName: "locale", optionValue: any): void; - /** * Disables/Enables default notifications for basic validation scenarios built in the editors such as required list selection, value wrapping around or spin limits. * @@ -37031,6 +36888,50 @@ interface JQuery { */ igDatePicker(optionLiteral: 'option', optionName: "validatorOptions", optionValue: any): void; + /** + * Set/Get the locale setting for the widget. + * + */ + igDatePicker(optionLiteral: 'option', optionName: "locale"): any; + + /** + * Set/Get the locale setting for the widget. + * + * + * @optionValue New value to be set. + */ + igDatePicker(optionLiteral: 'option', optionName: "locale", optionValue: any): void; + + /** + * Set/Get the locale language setting for the widget. + * + */ + igDatePicker(optionLiteral: 'option', optionName: "language"): string; + + /** + * Set/Get the locale language setting for the widget. + * + * + * @optionValue New value to be set. + */ + igDatePicker(optionLiteral: 'option', optionName: "language", optionValue: string): void; + + /** + * Set/Get the regional setting for the widget. + * + */ + + igDatePicker(optionLiteral: 'option', optionName: "regional"): string|Object; + + /** + * Set/Get the regional setting for the widget. + * + * + * @optionValue New value to be set. + */ + + igDatePicker(optionLiteral: 'option', optionName: "regional", optionValue: string|Object): void; + /** * Event which is raised when the drop down is opening. * Function takes arguments evt and ui. @@ -37339,6 +37240,50 @@ interface JQuery { */ igCheckboxEditor(optionLiteral: 'option', optionName: "validatorOptions", optionValue: any): void; + /** + * Set/Get the locale setting for the widget. + * + */ + igCheckboxEditor(optionLiteral: 'option', optionName: "locale"): any; + + /** + * Set/Get the locale setting for the widget. + * + * + * @optionValue New value to be set. + */ + igCheckboxEditor(optionLiteral: 'option', optionName: "locale", optionValue: any): void; + + /** + * Set/Get the locale language setting for the widget. + * + */ + igCheckboxEditor(optionLiteral: 'option', optionName: "language"): string; + + /** + * Set/Get the locale language setting for the widget. + * + * + * @optionValue New value to be set. + */ + igCheckboxEditor(optionLiteral: 'option', optionName: "language", optionValue: string): void; + + /** + * Set/Get the regional setting for the widget. + * + */ + + igCheckboxEditor(optionLiteral: 'option', optionName: "regional"): string|Object; + + /** + * Set/Get the regional setting for the widget. + * + * + * @optionValue New value to be set. + */ + + igCheckboxEditor(optionLiteral: 'option', optionName: "regional", optionValue: string|Object): void; + /** * Event which is raised before value in editor was changed. * Return false in order to cancel change. @@ -37749,7 +37694,7 @@ interface IgFunnelChart { outerLabelAlignment?: string; /** - * Gets or sets the how the heights of the funnel slices should be configured. + * Gets or sets how the heights of the funnel slices should be configured. * * Valid values: * "uniform" The slice heights should be uniform. @@ -37758,12 +37703,12 @@ interface IgFunnelChart { funnelSliceDisplay?: string; /** - * Gets or sets the formatter function for inner labels. Function should return string and it takes 3 parameters: 1st-value of item to format, 2nd-index of item within data, 3rd-reference to igFunnelChart. + * Gets or sets the formatter function for inner labels. Function should return string and it takes 3 parameters: 1st-value of item to format, 2nd-index of item within data, 3rd-reference to the funnel chart. */ formatInnerLabel?: any; /** - * Gets or sets the formatter function for outer labels. Function should return string and it takes 3 parameters: 1st-value of item to format, 2nd-index of item within data, 3rd-reference to igFunnelChart. + * Gets or sets the formatter function for outer labels. Function should return string and it takes 3 parameters: 1st-value of item to format, 2nd-index of item within data, 3rd-reference to the funnel chart. */ formatOuterLabel?: any; @@ -37855,8 +37800,16 @@ interface IgFunnelChart { * to appear blurry. */ pixelScalingRatio?: number; - outerLabelTextColor?: any; - textColor?: any; + + /** + * Gets or sets the brush used for the outer labels. + */ + outerLabelTextColor?: string; + + /** + * Gets or sets the brush used for the inner labels. + */ + textColor?: string; /** * The width of the chart. @@ -38298,13 +38251,13 @@ interface JQuery { igFunnelChart(optionLiteral: 'option', optionName: "outerLabelAlignment", optionValue: string): void; /** - * Gets the how the heights of the funnel slices should be configured. + * Gets how the heights of the funnel slices should be configured. */ igFunnelChart(optionLiteral: 'option', optionName: "funnelSliceDisplay"): string; /** - * Sets the how the heights of the funnel slices should be configured. + * Sets how the heights of the funnel slices should be configured. * * @optionValue New value to be set. */ @@ -38312,24 +38265,24 @@ interface JQuery { igFunnelChart(optionLiteral: 'option', optionName: "funnelSliceDisplay", optionValue: string): void; /** - * Gets the formatter function for inner labels. Function should return string and it takes 3 parameters: 1st-value of item to format, 2nd-index of item within data, 3rd-reference to igFunnelChart. + * Gets the formatter function for inner labels. Function should return string and it takes 3 parameters: 1st-value of item to format, 2nd-index of item within data, 3rd-reference to the funnel chart. */ igFunnelChart(optionLiteral: 'option', optionName: "formatInnerLabel"): any; /** - * Sets the formatter function for inner labels. Function should return string and it takes 3 parameters: 1st-value of item to format, 2nd-index of item within data, 3rd-reference to igFunnelChart. + * Sets the formatter function for inner labels. Function should return string and it takes 3 parameters: 1st-value of item to format, 2nd-index of item within data, 3rd-reference to the funnel chart. * * @optionValue New value to be set. */ igFunnelChart(optionLiteral: 'option', optionName: "formatInnerLabel", optionValue: any): void; /** - * Gets the formatter function for outer labels. Function should return string and it takes 3 parameters: 1st-value of item to format, 2nd-index of item within data, 3rd-reference to igFunnelChart. + * Gets the formatter function for outer labels. Function should return string and it takes 3 parameters: 1st-value of item to format, 2nd-index of item within data, 3rd-reference to the funnel chart. */ igFunnelChart(optionLiteral: 'option', optionName: "formatOuterLabel"): any; /** - * Sets the formatter function for outer labels. Function should return string and it takes 3 parameters: 1st-value of item to format, 2nd-index of item within data, 3rd-reference to igFunnelChart. + * Sets the formatter function for outer labels. Function should return string and it takes 3 parameters: 1st-value of item to format, 2nd-index of item within data, 3rd-reference to the funnel chart. * * @optionValue New value to be set. */ @@ -38538,10 +38491,30 @@ interface JQuery { * @optionValue New value to be set. */ igFunnelChart(optionLiteral: 'option', optionName: "pixelScalingRatio", optionValue: number): void; - igFunnelChart(optionLiteral: 'option', optionName: "outerLabelTextColor"): any; - igFunnelChart(optionLiteral: 'option', optionName: "outerLabelTextColor", optionValue: any): void; - igFunnelChart(optionLiteral: 'option', optionName: "textColor"): any; - igFunnelChart(optionLiteral: 'option', optionName: "textColor", optionValue: any): void; + + /** + * Gets the brush used for the outer labels. + */ + igFunnelChart(optionLiteral: 'option', optionName: "outerLabelTextColor"): string; + + /** + * Sets the brush used for the outer labels. + * + * @optionValue New value to be set. + */ + igFunnelChart(optionLiteral: 'option', optionName: "outerLabelTextColor", optionValue: string): void; + + /** + * Gets the brush used for the inner labels. + */ + igFunnelChart(optionLiteral: 'option', optionName: "textColor"): string; + + /** + * Sets the brush used for the inner labels. + * + * @optionValue New value to be set. + */ + igFunnelChart(optionLiteral: 'option', optionName: "textColor", optionValue: string): void; /** * The width of the chart. @@ -38774,6 +38747,19 @@ interface JQuery { igFunnelChart(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; igFunnelChart(methodName: string, ...methodParams: any[]): any; } +interface IgGridAppendRowsOnDemandLocale { + /** + * Specifies caption text for the "load more data" button. + * + */ + loadMoreDataButtonText?: string; + + /** + * Option for IgGridAppendRowsOnDemandLocale + */ + [optionName: string]: any; +} + interface RowsRequestingEvent { (event: Event, ui: RowsRequestingEventUIParam): void; } @@ -38879,10 +38865,11 @@ interface IgGridAppendRowsOnDemand { loadTrigger?: string; /** - * Specifies caption text for the "load more data" button. - * + * This option has been removed as of 2017.2 Volume release. + * Specifies caption text for the "load more data" button. Use option [locale.loadMoreDataButtonText](ui.iggridappendrowsondemand#options:locale.loadMoreDataButtonText). */ loadMoreDataButtonText?: string; + locale?: IgGridAppendRowsOnDemandLocale; /** * Event fired before the rows are requested from the remote endpoint. @@ -39036,18 +39023,20 @@ interface JQuery { igGridAppendRowsOnDemand(optionLiteral: 'option', optionName: "loadTrigger", optionValue: string): void; /** - * Gets caption text for the "load more data" button. - * + * This option has been removed as of 2017.2 Volume release. + * Gets caption text for the "load more data" button. Use option [locale.loadMoreDataButtonText](ui.iggridappendrowsondemand#options:locale.loadMoreDataButtonText). */ igGridAppendRowsOnDemand(optionLiteral: 'option', optionName: "loadMoreDataButtonText"): string; /** - * Sets caption text for the "load more data" button. - * + * This option has been removed as of 2017.2 Volume release. + * Sets caption text for the "load more data" button. Use option [locale.loadMoreDataButtonText](ui.iggridappendrowsondemand#options:locale.loadMoreDataButtonText). * * @optionValue New value to be set. */ igGridAppendRowsOnDemand(optionLiteral: 'option', optionName: "loadMoreDataButtonText", optionValue: string): void; + igGridAppendRowsOnDemand(optionLiteral: 'option', optionName: "locale"): IgGridAppendRowsOnDemandLocale; + igGridAppendRowsOnDemand(optionLiteral: 'option', optionName: "locale", optionValue: IgGridAppendRowsOnDemandLocale): void; /** * Event fired before the rows are requested from the remote endpoint. @@ -39080,40 +39069,85 @@ interface JQuery { igGridAppendRowsOnDemand(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; igGridAppendRowsOnDemand(methodName: string, ...methodParams: any[]): any; } +interface IgGridCellMergingColumnSetting { + /** + * Column index. This is a required property in every column setting if columnKey is not set. + * + */ + columnIndex?: number; + + /** + * Column key. This is a required property in every column setting if columnIndex is not set. + * + */ + columnKey?: string; + + /** + * Defines when merging should be applied. + * + * + * Valid values: + * "sorting" The column will only be merged when sorted + * "always" The column will always be merged + * "never" No merging will be applied + */ + mergeOn?: string; + + /** + * Defines the rules merging is based on. + * + * + * Valid values: + * "duplicate" Duplicate values in the column will be merged together. + * "null" Merging will be applied for each subsequent null value after a non-null value. + */ + mergeStrategy?: string|Function; + + /** + * Option for IgGridCellMergingColumnSetting + */ + [optionName: string]: any; +} + interface CellsMergingEvent { (event: Event, ui: CellsMergingEventUIParam): void; } interface CellsMergingEventUIParam { - /** - * Gets a reference to the row the merged group starts in. - */ - row?: string; - - /** - * Gets the index of the row the merged group starts in. - */ - rowIndex?: number; - - /** - * Gets the key of the row the merged group starts in. - */ - rowKey?: any; - /** * Gets reference to igGridCellMerging. */ owner?: any; /** - * Gets a reference to the igGrid the igGridCellMerging are initialized for. + * Gets a reference to the row the merged group starts in if available in the DOM. */ - grid?: any; + row?: string; /** - * Gets the cells value which is repeated and caused the merged group to be created. + * Gets the data index of the row the merged group starts in. */ - value?: any; + rowIndex?: number; + + /** + * Gets the PK of the row the merged group starts in if available. + */ + rowId?: any; + + /** + * Gets the column key the merge is being executed for. + */ + columnKey?: string; + + /** + * Gets the first record in the merging chain that the merge is executed for. + */ + firstRecord?: any; + + /** + * Gets the next record in the merging chain that the merge is executed for. + */ + record?: any; } interface CellsMergedEvent { @@ -39121,35 +39155,40 @@ interface CellsMergedEvent { } interface CellsMergedEventUIParam { - /** - * Gets a reference to the row the merged group starts in. - */ - row?: string; - - /** - * Gets the index of the row the merged group starts in. - */ - rowIndex?: number; - - /** - * Gets the key of the row the merged group starts in. - */ - rowKey?: any; - /** * Gets reference to igGridCellMerging. */ owner?: any; /** - * Gets a reference to the igGrid the igGridCellMerging are initialized for. + * Gets a reference to the row the merged group starts in if available in the DOM. */ - grid?: any; + row?: string; /** - * Gets the cells value which is repeated and caused the merged group to be created. + * Gets the data index of the row the merged group starts in. */ - value?: any; + rowIndex?: number; + + /** + * Gets the PK of the row the merged group starts in if available. + */ + rowId?: any; + + /** + * Gets the column key the merge is being executed for. + */ + columnKey?: string; + + /** + * Gets the first record in the merging chain that the merge is executed for. + */ + firstRecord?: any; + + /** + * Gets the last record in the merging chain that the merge is executed for. + */ + record?: any; /** * Gets the total count of cells that were merged. @@ -39159,14 +39198,41 @@ interface CellsMergedEventUIParam { interface IgGridCellMerging { /** - * controls the initial state + * Defines the type of merging. * * * Valid values: - * "regular" the grid won't be initialized with cells merged - * "merged" the grid will be initialized with cells merged + * "visual" the grid cells will be merged only visually + * "physical" the grid cell will be merged physically throughout rowspan */ - initialState?: string; + mergeType?: string; + + /** + * Defines when merging should be applied. + * + * + * Valid values: + * "sorting" Only sorted columns will have merging applied + * "always" Merging will be applied to all columns always + * "never" No merging will be applied + */ + mergeOn?: string; + + /** + * Defines the rules merging is based on. + * + * + * Valid values: + * "duplicate" Duplicate values in the column will be merged together. + * "null" Merging will be applied for each subsequent null value after a non-null value. + */ + mergeStrategy?: string|Function; + + /** + * A list of column settings that specifies hiding options on a per column basis. + * + */ + columnSettings?: IgGridCellMergingColumnSetting[]; /** * Enables/disables feature inheritance for the child layouts. NOTE: It only applies for igHierarchicalGrid. @@ -39185,7 +39251,32 @@ interface IgGridCellMerging { [optionName: string]: any; } interface IgGridCellMergingMethods { + /** + * Removes all igGridCellMerging UI changes and destroys the widget + */ destroy(): void; + + /** + * Merges the specified column unless it is already merged. + * + * @param column The column index or column key to merge. + * @param raiseEvents Specifies if the operation should raise merging-related events. + */ + mergeColumn(column: Object, raiseEvents: boolean): string; + + /** + * Restores the column to its unmerged state. Does nothing if the column is not merged. + * + * @param column The column index or column key to unmerge. + */ + unmergeColumn(column: Object): string; + + /** + * Returns the merge state of a column. + * + * @param column The column index or column key to get the state for. + */ + isMerged(column: Object): boolean; } interface JQuery { data(propertyName: "igGridCellMerging"): IgGridCellMergingMethods; @@ -39193,22 +39284,71 @@ interface JQuery { interface JQuery { igGridCellMerging(methodName: "destroy"): void; + igGridCellMerging(methodName: "mergeColumn", column: Object, raiseEvents: boolean): string; + igGridCellMerging(methodName: "unmergeColumn", column: Object): string; + igGridCellMerging(methodName: "isMerged", column: Object): boolean; /** - * Controls the initial state + * Defines the type of merging. * */ - igGridCellMerging(optionLiteral: 'option', optionName: "initialState"): string; + igGridCellMerging(optionLiteral: 'option', optionName: "mergeType"): string; /** - * Controls the initial state + * Defines the type of merging. * * * @optionValue New value to be set. */ - igGridCellMerging(optionLiteral: 'option', optionName: "initialState", optionValue: string): void; + igGridCellMerging(optionLiteral: 'option', optionName: "mergeType", optionValue: string): void; + + /** + * Defines when merging should be applied. + * + */ + + igGridCellMerging(optionLiteral: 'option', optionName: "mergeOn"): string; + + /** + * Defines when merging should be applied. + * + * + * @optionValue New value to be set. + */ + + igGridCellMerging(optionLiteral: 'option', optionName: "mergeOn", optionValue: string): void; + + /** + * Defines the rules merging is based on. + * + */ + + igGridCellMerging(optionLiteral: 'option', optionName: "mergeStrategy"): string|Function; + + /** + * Defines the rules merging is based on. + * + * + * @optionValue New value to be set. + */ + + igGridCellMerging(optionLiteral: 'option', optionName: "mergeStrategy", optionValue: string|Function): void; + + /** + * A list of column settings that specifies hiding options on a per column basis. + * + */ + igGridCellMerging(optionLiteral: 'option', optionName: "columnSettings"): IgGridCellMergingColumnSetting[]; + + /** + * A list of column settings that specifies hiding options on a per column basis. + * + * + * @optionValue New value to be set. + */ + igGridCellMerging(optionLiteral: 'option', optionName: "columnSettings", optionValue: IgGridCellMergingColumnSetting[]): void; /** * Enables/disables feature inheritance for the child layouts. NOTE: It only applies for igHierarchicalGrid. @@ -39241,6 +39381,67 @@ interface JQuery { igGridCellMerging(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; igGridCellMerging(methodName: string, ...methodParams: any[]): any; } +interface IgGridColumnFixingLocale { + /** + * Specifies the tooltip text on the column fixing header icon when column is not fixed. + * ``` + * //Initialize + * $(".selector").%%ParentWidgetName%%({ + * features: [ + * { + * name : "ColumnFixing", + * locale: { headerFixButtonText : "Click to fix this column"} + * } + * ] + * }); + * + * //Get + * var headerFixButtonText = $(".selector").%%WidgetName%%("option", "locale").headerFixButtonText; + * + * //Set + * $(".selector").%%WidgetName%%("option", "locale", { headerFixButtonText : "Click to fix this column"}); + */ + headerFixButtonText?: string; + + /** + * Specifies the tooltip text on the column fixing header icon when column is not fixed. + * ``` + * //Initialize + * $(".selector").%%ParentWidgetName%%({ + * features: [ + * { + * name : "ColumnFixing", + * locale: { headerUnfixButtonText : "Click to unfix this column"} + * } + * ] + * }); + * + * //Get + * var headerUnfixButtonText = $(".selector").%%WidgetName%%("option", "locale").headerUnfixButtonText; + * + * //Set + * $(".selector").%%WidgetName%%("option", "locale", { headerUnfixButtonText : "Click to unfix this column"}); + */ + headerUnfixButtonText?: string; + + /** + * Text of the feature chooser button for fixing a currently unfixed column. + * + */ + featureChooserTextFixedColumn?: string; + + /** + * Text of the feature chooser button for unfixing a currently fixed column. + * + */ + featureChooserTextUnfixedColumn?: string; + + /** + * Option for IgGridColumnFixingLocale + */ + [optionName: string]: any; +} + interface IgGridColumnFixingColumnSetting { /** * Identifies the grid column by key. Either key or index must be set in every column setting. @@ -39410,17 +39611,30 @@ interface ColumnUnfixingRefusedEventUIParam { interface IgGridColumnFixing { /** - * Specifies the tooltip text on the column fixing header icon when column is not fixed. - * + * This option has been removed as of 2017.2 Volume release. + * Specifies the tooltip text on the column fixing header icon when column is not fixed. Use option [locale.headerFixButtonText](ui.iggridcolumnfixing#options:locale.headerFixButtonText). */ headerFixButtonText?: string; /** - * Specifies the tooltip text on the column fixing header icon when column is fixed. - * + * This option has been removed as of 2017.2 Volume release. + * Specifies the tooltip text on the column fixing header icon when column is fixed. Use option [locale.headerUnfixButtonText](ui.iggridcolumnfixing#options:locale.headerUnfixButtonText). */ headerUnfixButtonText?: string; + /** + * This option has been removed as of 2017.2 Volume release. + * Text of the feature chooser button for unfixing a currently fixed column. Use option [locale.featureChooserTextFixedColumn](ui.iggridcolumnfixing#options:locale.featureChooserTextFixedColumn). + */ + featureChooserTextFixedColumn?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text of the feature chooser button for unfixing a currently fixed column. Use option [locale.featureChooserTextUnfixedColumn](ui.iggridcolumnfixing#options:locale.featureChooserTextUnfixedColumn). + */ + featureChooserTextUnfixedColumn?: string; + locale?: IgGridColumnFixingLocale; + /** * Specifies whether to show the column fixing buttons in header cells/feature chooser. * @@ -39455,18 +39669,6 @@ interface IgGridColumnFixing { */ columnSettings?: IgGridColumnFixingColumnSetting[]; - /** - * Text of the feature chooser button for fixing a currently unfixed column. - * - */ - featureChooserTextFixedColumn?: string; - - /** - * Text of the feature chooser button for unfixing a currently fixed column. - * - */ - featureChooserTextUnfixedColumn?: string; - /** * Minimal visible area in pixels for the unfixed columns. If the end user tries to fix a column(or columns), which causes the width of the fixed columns to grow such that the width of visible area of unfixed columns is less than this option then fixing will be canceled. Check [this topic](http://www.igniteui.com/help/iggrid-columnfixing-configuring#non-fixable-min-width) out for more information. * @@ -39545,6 +39747,7 @@ interface IgGridColumnFixingMethods { * @param clearRowsHeights Clears row heigths for all visible rows. */ syncHeights(check?: boolean, clearRowsHeights?: boolean): void; + changeLocale(): void; /** * Returns whether the column with the specified key is a column group header, when the [multi-column headers](http://www.igniteui.com/help/iggrid-multicolumnheaders-landingpage) feature is used. @@ -39631,6 +39834,7 @@ interface JQuery { igGridColumnFixing(methodName: "unfixColumn", colIdentifier: Object, target?: string, after?: boolean): Object; igGridColumnFixing(methodName: "checkAndSyncHeights"): void; igGridColumnFixing(methodName: "syncHeights", check?: boolean, clearRowsHeights?: boolean): void; + igGridColumnFixing(methodName: "changeLocale"): void; igGridColumnFixing(methodName: "isGroupHeader", colKey: string): boolean; igGridColumnFixing(methodName: "checkFixingAllowed", columns: any[]): boolean; igGridColumnFixing(methodName: "checkUnfixingAllowed", columns: any[]): boolean; @@ -39645,33 +39849,63 @@ interface JQuery { igGridColumnFixing(methodName: "destroy"): void; /** - * Gets the tooltip text on the column fixing header icon when column is not fixed. - * + * This option has been removed as of 2017.2 Volume release. + * Gets the tooltip text on the column fixing header icon when column is not fixed. Use option [locale.headerFixButtonText](ui.iggridcolumnfixing#options:locale.headerFixButtonText). */ igGridColumnFixing(optionLiteral: 'option', optionName: "headerFixButtonText"): string; /** - * Sets the tooltip text on the column fixing header icon when column is not fixed. - * + * This option has been removed as of 2017.2 Volume release. + * Sets the tooltip text on the column fixing header icon when column is not fixed. Use option [locale.headerFixButtonText](ui.iggridcolumnfixing#options:locale.headerFixButtonText). * * @optionValue New value to be set. */ igGridColumnFixing(optionLiteral: 'option', optionName: "headerFixButtonText", optionValue: string): void; /** - * Gets the tooltip text on the column fixing header icon when column is fixed. - * + * This option has been removed as of 2017.2 Volume release. + * Gets the tooltip text on the column fixing header icon when column is fixed. Use option [locale.headerUnfixButtonText](ui.iggridcolumnfixing#options:locale.headerUnfixButtonText). */ igGridColumnFixing(optionLiteral: 'option', optionName: "headerUnfixButtonText"): string; /** - * Sets the tooltip text on the column fixing header icon when column is fixed. - * + * This option has been removed as of 2017.2 Volume release. + * Sets the tooltip text on the column fixing header icon when column is fixed. Use option [locale.headerUnfixButtonText](ui.iggridcolumnfixing#options:locale.headerUnfixButtonText). * * @optionValue New value to be set. */ igGridColumnFixing(optionLiteral: 'option', optionName: "headerUnfixButtonText", optionValue: string): void; + /** + * This option has been removed as of 2017.2 Volume release. + * Text of the feature chooser button for unfixing a currently fixed column. Use option [locale.featureChooserTextFixedColumn](ui.iggridcolumnfixing#options:locale.featureChooserTextFixedColumn). + */ + igGridColumnFixing(optionLiteral: 'option', optionName: "featureChooserTextFixedColumn"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text of the feature chooser button for unfixing a currently fixed column. Use option [locale.featureChooserTextFixedColumn](ui.iggridcolumnfixing#options:locale.featureChooserTextFixedColumn). + * + * @optionValue New value to be set. + */ + igGridColumnFixing(optionLiteral: 'option', optionName: "featureChooserTextFixedColumn", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text of the feature chooser button for unfixing a currently fixed column. Use option [locale.featureChooserTextUnfixedColumn](ui.iggridcolumnfixing#options:locale.featureChooserTextUnfixedColumn). + */ + igGridColumnFixing(optionLiteral: 'option', optionName: "featureChooserTextUnfixedColumn"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text of the feature chooser button for unfixing a currently fixed column. Use option [locale.featureChooserTextUnfixedColumn](ui.iggridcolumnfixing#options:locale.featureChooserTextUnfixedColumn). + * + * @optionValue New value to be set. + */ + igGridColumnFixing(optionLiteral: 'option', optionName: "featureChooserTextUnfixedColumn", optionValue: string): void; + igGridColumnFixing(optionLiteral: 'option', optionName: "locale"): IgGridColumnFixingLocale; + igGridColumnFixing(optionLiteral: 'option', optionName: "locale", optionValue: IgGridColumnFixingLocale): void; + /** * Gets whether to show the column fixing buttons in header cells/feature chooser. * @@ -39744,34 +39978,6 @@ interface JQuery { */ igGridColumnFixing(optionLiteral: 'option', optionName: "columnSettings", optionValue: IgGridColumnFixingColumnSetting[]): void; - /** - * Text of the feature chooser button for fixing a currently unfixed column. - * - */ - igGridColumnFixing(optionLiteral: 'option', optionName: "featureChooserTextFixedColumn"): string; - - /** - * Text of the feature chooser button for fixing a currently unfixed column. - * - * - * @optionValue New value to be set. - */ - igGridColumnFixing(optionLiteral: 'option', optionName: "featureChooserTextFixedColumn", optionValue: string): void; - - /** - * Text of the feature chooser button for unfixing a currently fixed column. - * - */ - igGridColumnFixing(optionLiteral: 'option', optionName: "featureChooserTextUnfixedColumn"): string; - - /** - * Text of the feature chooser button for unfixing a currently fixed column. - * - * - * @optionValue New value to be set. - */ - igGridColumnFixing(optionLiteral: 'option', optionName: "featureChooserTextUnfixedColumn", optionValue: string): void; - /** * Minimal visible area in pixels for the unfixed columns. If the end user tries to fix a column(or columns), which causes the width of the fixed columns to grow such that the width of visible area of unfixed columns is less than this option then fixing will be canceled. Check [this topic](http://www.igniteui.com/help/iggrid-columnfixing-configuring#non-fixable-min-width) out for more information. * @@ -39916,6 +40122,97 @@ interface IgGridColumnMovingColumnSetting { [optionName: string]: any; } +interface IgGridColumnMovingLocale { + /** + * Specifies the apply button text. + * + */ + movingDialogButtonApplyText?: string; + + /** + * Specifies the cancel button text. + * + */ + movingDialogButtonCancelText?: string; + + /** + * Specifies caption for each move down button in the column moving dialog. + * + */ + movingDialogCaptionButtonDesc?: string; + + /** + * Specifies caption for each move up button in the column moving dialog. + * + */ + movingDialogCaptionButtonAsc?: string; + + /** + * Specifies caption text for the column moving dialog. + * + */ + movingDialogCaptionText?: string; + + /** + * Specifies caption text for the feature chooser entry. + * + */ + movingDialogDisplayText?: string; + + /** + * Specifies text for drop tooltip in column moving dialog. + * + */ + movingDialogDropTooltipText?: string; + + /** + * Specifies title for close dialog button. + * + */ + movingDialogCloseButtonTitle?: string; + + /** + * Specifies caption for the move left dropdown button. + * + */ + dropDownMoveLeftText?: string; + + /** + * Specifies caption for the move right dropdown button. + * + */ + dropDownMoveRightText?: string; + + /** + * Specifies caption for the move first dropdown button. + * + */ + dropDownMoveFirstText?: string; + + /** + * Specifies caption for the move last dropdown button. + * + */ + dropDownMoveLastText?: string; + + /** + * Specifies tooltip text for the move indicator. + * + */ + movingToolTipMove?: string; + + /** + * Specifies caption text for the feature chooser submenu button. + * + */ + featureChooserSubmenuText?: string; + + /** + * Option for IgGridColumnMovingLocale + */ + [optionName: string]: any; +} + interface ColumnDragStartEvent { (event: Event, ui: ColumnDragStartEventUIParam): void; } @@ -40273,77 +40570,78 @@ interface IgGridColumnMoving { dragHelperOpacity?: number; /** - * Specifies caption for each move down button in the column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Specifies caption for each move down button in the column moving dialog. Use option [locale.movingDialogCaptionButtonDesc](ui.iggridcolumnmoving#options:locale.movingDialogCaptionButtonDesc). */ movingDialogCaptionButtonDesc?: string; /** - * Specifies caption for each move up button in the column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Specifies caption for each move up button in the column moving dialog. Use option [locale.movingDialogCaptionButtonAsc](ui.iggridcolumnmoving#options:locale.movingDialogCaptionButtonAsc). */ movingDialogCaptionButtonAsc?: string; /** - * Specifies caption text for the column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Specifies caption text for the column moving dialog. Use option [locale.movingDialogCaptionText](ui.iggridcolumnmoving#options:locale.movingDialogCaptionText). */ movingDialogCaptionText?: string; /** - * Specifies caption text for the feature chooser entry - * + * This option has been removed as of 2017.2 Volume release. + * Specifies caption text for the feature chooser entry. Use option [locale.movingDialogDisplayText](ui.iggridcolumnmoving#options:locale.movingDialogDisplayText). */ movingDialogDisplayText?: string; /** - * Specifies text for drop tooltip in column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Specifies text for drop tooltip in column moving dialog. Use option [locale.movingDialogDropTooltipText](ui.iggridcolumnmoving#options:locale.movingDialogDropTooltipText). */ movingDialogDropTooltipText?: string; + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption for the move left dropdown button. Use option [locale.dropDownMoveLeftText](ui.iggridcolumnmoving#options:locale.dropDownMoveLeftText). + */ + dropDownMoveLeftText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption for the move right dropdown button. Use option [locale.dropDownMoveRightText](ui.iggridcolumnmoving#options:locale.dropDownMoveRightText). + */ + dropDownMoveRightText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption for the move last dropdown button. Use option [locale.dropDownMoveFirstText](ui.iggridcolumnmoving#options:locale.dropDownMoveFirstText). + */ + dropDownMoveFirstText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption for the move last dropdown button. Use option [locale.dropDownMoveLastText](ui.iggridcolumnmoving#options:locale.dropDownMoveLastText). + */ + dropDownMoveLastText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption text for the feature chooser submenu button. Use option [locale.movingToolTipMove](ui.iggridcolumnmoving#options:locale.movingToolTipMove). + */ + movingToolTipMove?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption text for the feature chooser submenu button. Use option [locale.featureChooserSubmenuText](ui.iggridcolumnmoving#options:locale.featureChooserSubmenuText). + */ + featureChooserSubmenuText?: string; + locale?: IgGridColumnMovingLocale; + /** * Specifies markup for drop tooltip in column moving dialog * */ movingDialogDropTooltipMarkup?: string; - /** - * Specifies caption for the move left dropdown button - * - */ - dropDownMoveLeftText?: string; - - /** - * Specifies caption for the move right dropdown button - * - */ - dropDownMoveRightText?: string; - - /** - * Specifies caption for the move first dropdown button - * - */ - dropDownMoveFirstText?: string; - - /** - * Specifies caption for the move last dropdown button - * - */ - dropDownMoveLastText?: string; - - /** - * Specifies tooltip text for the move indicator - * - */ - movingToolTipMove?: string; - - /** - * Specifies caption text for the feature chooser submenu button - * - */ - featureChooserSubmenuText?: string; - /** * Controls containment behavior of column moving dialog. * @@ -40449,6 +40747,8 @@ interface IgGridColumnMoving { [optionName: string]: any; } interface IgGridColumnMovingMethods { + changeLocale(): void; + /** * Restoring overwritten functions */ @@ -40471,6 +40771,7 @@ interface JQuery { } interface JQuery { + igGridColumnMoving(methodName: "changeLocale"): void; igGridColumnMoving(methodName: "destroy"): void; igGridColumnMoving(methodName: "moveColumn", column: Object, target: Object, after?: boolean, inDom?: boolean, callback?: Function): void; @@ -40667,75 +40968,161 @@ interface JQuery { igGridColumnMoving(optionLiteral: 'option', optionName: "dragHelperOpacity", optionValue: number): void; /** - * Gets caption for each move down button in the column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Gets caption for each move down button in the column moving dialog. Use option [locale.movingDialogCaptionButtonDesc](ui.iggridcolumnmoving#options:locale.movingDialogCaptionButtonDesc). */ igGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogCaptionButtonDesc"): string; /** - * Sets caption for each move down button in the column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Sets caption for each move down button in the column moving dialog. Use option [locale.movingDialogCaptionButtonDesc](ui.iggridcolumnmoving#options:locale.movingDialogCaptionButtonDesc). * * @optionValue New value to be set. */ igGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogCaptionButtonDesc", optionValue: string): void; /** - * Gets caption for each move up button in the column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Gets caption for each move up button in the column moving dialog. Use option [locale.movingDialogCaptionButtonAsc](ui.iggridcolumnmoving#options:locale.movingDialogCaptionButtonAsc). */ igGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogCaptionButtonAsc"): string; /** - * Sets caption for each move up button in the column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Sets caption for each move up button in the column moving dialog. Use option [locale.movingDialogCaptionButtonAsc](ui.iggridcolumnmoving#options:locale.movingDialogCaptionButtonAsc). * * @optionValue New value to be set. */ igGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogCaptionButtonAsc", optionValue: string): void; /** - * Gets caption text for the column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Gets caption text for the column moving dialog. Use option [locale.movingDialogCaptionText](ui.iggridcolumnmoving#options:locale.movingDialogCaptionText). */ igGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogCaptionText"): string; /** - * Sets caption text for the column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Sets caption text for the column moving dialog. Use option [locale.movingDialogCaptionText](ui.iggridcolumnmoving#options:locale.movingDialogCaptionText). * * @optionValue New value to be set. */ igGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogCaptionText", optionValue: string): void; /** - * Gets caption text for the feature chooser entry - * + * This option has been removed as of 2017.2 Volume release. + * Gets caption text for the feature chooser entry. Use option [locale.movingDialogDisplayText](ui.iggridcolumnmoving#options:locale.movingDialogDisplayText). */ igGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogDisplayText"): string; /** - * Sets caption text for the feature chooser entry - * + * This option has been removed as of 2017.2 Volume release. + * Sets caption text for the feature chooser entry. Use option [locale.movingDialogDisplayText](ui.iggridcolumnmoving#options:locale.movingDialogDisplayText). * * @optionValue New value to be set. */ igGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogDisplayText", optionValue: string): void; /** - * Gets text for drop tooltip in column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Gets text for drop tooltip in column moving dialog. Use option [locale.movingDialogDropTooltipText](ui.iggridcolumnmoving#options:locale.movingDialogDropTooltipText). */ igGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogDropTooltipText"): string; /** - * Sets text for drop tooltip in column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Sets text for drop tooltip in column moving dialog. Use option [locale.movingDialogDropTooltipText](ui.iggridcolumnmoving#options:locale.movingDialogDropTooltipText). * * @optionValue New value to be set. */ igGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogDropTooltipText", optionValue: string): void; + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption for the move left dropdown button. Use option [locale.dropDownMoveLeftText](ui.iggridcolumnmoving#options:locale.dropDownMoveLeftText). + */ + igGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveLeftText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption for the move left dropdown button. Use option [locale.dropDownMoveLeftText](ui.iggridcolumnmoving#options:locale.dropDownMoveLeftText). + * + * @optionValue New value to be set. + */ + igGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveLeftText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption for the move right dropdown button. Use option [locale.dropDownMoveRightText](ui.iggridcolumnmoving#options:locale.dropDownMoveRightText). + */ + igGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveRightText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption for the move right dropdown button. Use option [locale.dropDownMoveRightText](ui.iggridcolumnmoving#options:locale.dropDownMoveRightText). + * + * @optionValue New value to be set. + */ + igGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveRightText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption for the move last dropdown button. Use option [locale.dropDownMoveFirstText](ui.iggridcolumnmoving#options:locale.dropDownMoveFirstText). + */ + igGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveFirstText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption for the move last dropdown button. Use option [locale.dropDownMoveFirstText](ui.iggridcolumnmoving#options:locale.dropDownMoveFirstText). + * + * @optionValue New value to be set. + */ + igGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveFirstText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption for the move last dropdown button. Use option [locale.dropDownMoveLastText](ui.iggridcolumnmoving#options:locale.dropDownMoveLastText). + */ + igGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveLastText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption for the move last dropdown button. Use option [locale.dropDownMoveLastText](ui.iggridcolumnmoving#options:locale.dropDownMoveLastText). + * + * @optionValue New value to be set. + */ + igGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveLastText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption text for the feature chooser submenu button. Use option [locale.movingToolTipMove](ui.iggridcolumnmoving#options:locale.movingToolTipMove). + */ + igGridColumnMoving(optionLiteral: 'option', optionName: "movingToolTipMove"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption text for the feature chooser submenu button. Use option [locale.movingToolTipMove](ui.iggridcolumnmoving#options:locale.movingToolTipMove). + * + * @optionValue New value to be set. + */ + igGridColumnMoving(optionLiteral: 'option', optionName: "movingToolTipMove", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption text for the feature chooser submenu button. Use option [locale.featureChooserSubmenuText](ui.iggridcolumnmoving#options:locale.featureChooserSubmenuText). + */ + igGridColumnMoving(optionLiteral: 'option', optionName: "featureChooserSubmenuText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption text for the feature chooser submenu button. Use option [locale.featureChooserSubmenuText](ui.iggridcolumnmoving#options:locale.featureChooserSubmenuText). + * + * @optionValue New value to be set. + */ + igGridColumnMoving(optionLiteral: 'option', optionName: "featureChooserSubmenuText", optionValue: string): void; + igGridColumnMoving(optionLiteral: 'option', optionName: "locale"): IgGridColumnMovingLocale; + igGridColumnMoving(optionLiteral: 'option', optionName: "locale", optionValue: IgGridColumnMovingLocale): void; + /** * Gets markup for drop tooltip in column moving dialog * @@ -40750,90 +41137,6 @@ interface JQuery { */ igGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogDropTooltipMarkup", optionValue: string): void; - /** - * Gets caption for the move left dropdown button - * - */ - igGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveLeftText"): string; - - /** - * Sets caption for the move left dropdown button - * - * - * @optionValue New value to be set. - */ - igGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveLeftText", optionValue: string): void; - - /** - * Gets caption for the move right dropdown button - * - */ - igGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveRightText"): string; - - /** - * Sets caption for the move right dropdown button - * - * - * @optionValue New value to be set. - */ - igGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveRightText", optionValue: string): void; - - /** - * Gets caption for the move first dropdown button - * - */ - igGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveFirstText"): string; - - /** - * Sets caption for the move first dropdown button - * - * - * @optionValue New value to be set. - */ - igGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveFirstText", optionValue: string): void; - - /** - * Gets caption for the move last dropdown button - * - */ - igGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveLastText"): string; - - /** - * Sets caption for the move last dropdown button - * - * - * @optionValue New value to be set. - */ - igGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveLastText", optionValue: string): void; - - /** - * Gets tooltip text for the move indicator - * - */ - igGridColumnMoving(optionLiteral: 'option', optionName: "movingToolTipMove"): string; - - /** - * Sets tooltip text for the move indicator - * - * - * @optionValue New value to be set. - */ - igGridColumnMoving(optionLiteral: 'option', optionName: "movingToolTipMove", optionValue: string): void; - - /** - * Gets caption text for the feature chooser submenu button - * - */ - igGridColumnMoving(optionLiteral: 'option', optionName: "featureChooserSubmenuText"): string; - - /** - * Sets caption text for the feature chooser submenu button - * - * - * @optionValue New value to be set. - */ - igGridColumnMoving(optionLiteral: 'option', optionName: "featureChooserSubmenuText", optionValue: string): void; - /** * Controls containment behavior of column moving dialog. * @@ -41459,6 +41762,7 @@ interface IgGridFeatureChooser { } interface IgGridFeatureChooserMethods { shouldShowFeatureIcon(key: Object): void; + changeLocale(): void; /** * Show feature chooser dialog by the specified column key @@ -41788,6 +42092,7 @@ interface JQuery { } interface JQuery { igGridFeatureChooser(methodName: "shouldShowFeatureIcon", key: Object): void; + igGridFeatureChooser(methodName: "changeLocale"): void; igGridFeatureChooser(methodName: "showDropDown", columnKey: string): void; igGridFeatureChooser(methodName: "hideDropDown", columnKey: string): void; igGridFeatureChooser(methodName: "getDropDownByColumnKey", columnKey: string): void; @@ -41908,302 +42213,391 @@ interface IgGridFilteringColumnSetting { [optionName: string]: any; } -interface IgGridFilteringNullTexts { - startsWith?: string; - endsWith?: string; - contains?: string; - doesNotContain?: string; - equals?: string; - doesNotEqual?: string; - greaterThan?: string; - lessThan?: string; - greaterThanOrEqualTo?: string; - lessThanOrEqualTo?: string; - on?: string; - notOn?: string; - after?: string; - before?: string; - thisMonth?: string; - lastMonth?: string; - nextMonth?: string; - thisYear?: string; - lastYear?: string; - nextYear?: string; - empty?: string; - notEmpty?: string; - null?: string; - notNull?: string; +interface IgGridFilteringLocale { + /** + * StartsWith null text that will be used for the filter editors. + * + */ + startsWithNullText?: string; /** - * Option for IgGridFilteringNullTexts + * EndsWith null text that will be used for the filter editors. + * */ - [optionName: string]: any; -} + endsWithNullText?: string; -interface IgGridFilteringLabels { - noFilter?: string; - clear?: string; - startsWith?: string; - endsWith?: string; - contains?: string; - doesNotContain?: string; - equals?: string; - doesNotEqual?: string; - greaterThan?: string; - lessThan?: string; - greaterThanOrEqualTo?: string; - lessThanOrEqualTo?: string; + /** + * Contains null text that will be used for the filter editors. + * + */ + containsNullText?: string; + + /** + * Does not contain null text that will be used for the filter editors. + * + */ + doesNotContainNullText?: string; + + /** + * Equals null text that will be used for the filter editors. + * + */ + equalsNullText?: string; + + /** + * Does not equal null text that will be used for the filter editors. + * + */ + doesNotEqualNullText?: string; + + /** + * Greater than null text that will be used for the filter editors. + * + */ + greaterThanNullText?: string; + + /** + * Less than null text that will be used for the filter editors. + * + */ + lessThanNullText?: string; + + /** + * Greater than or equal to null text that will be used for the filter editors. + * + */ + greaterThanOrEqualToNullText?: string; + + /** + * Less than or equal to null text that will be used for the filter editors. + * + */ + lessThanOrEqualToNullText?: string; + + /** + * On null text that will be used for the filter editors. + * + */ + onNullText?: string; + + /** + * Not on null text that will be used for the filter editors. + * + */ + notOnNullText?: string; + + /** + * After null text that will be used for the filter editors. + * + */ + afterNullText?: string; + + /** + * Before null text that will be used for the filter editors. + * + */ + beforeNullText?: string; + + /** + * Empty null text that will be used for the filter editors. + * + */ + emptyNullText?: string; + + /** + * Not empty null text that will be used for the filter editors. + * + */ + notEmptyNullText?: string; + + /** + * Not empty null text that will be used for the filter editors. + * + */ + nullNullText?: string; + + /** + * Not empty null text that will be used for the filter editors. + * + */ + notNullNullText?: string; + + /** + * 'Starts with' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + startsWithLabel?: string; + + /** + * 'Starts with' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + endsWithLabel?: string; + + /** + * 'Contains' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + containsLabel?: string; + + /** + * 'Does not contain' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + doesNotContainLabel?: string; + + /** + * 'Equals' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + equalsLabel?: string; + + /** + * 'Does not Equal' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + doesNotEqualLabel?: string; + + /** + * 'Greater Than' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + greaterThanLabel?: string; + + /** + * 'Less Than' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + lessThanLabel?: string; + + /** + * 'Greater Than or Equal' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + greaterThanOrEqualToLabel?: string; + + /** + * 'Less Than or Equal' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + lessThanOrEqualToLabel?: string; + + /** + * 'True' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ trueLabel?: string; - falseLabel?: string; - after?: string; - before?: string; - today?: string; - yesterday?: string; - thisMonth?: string; - lastMonth?: string; - nextMonth?: string; - thisYear?: string; - lastYear?: string; - nextYear?: string; - on?: string; - notOn?: string; - advancedButtonLabel?: string; - filterDialogCaptionLabel?: string; - filterDialogConditionLabel1?: string; - filterDialogConditionLabel2?: string; - filterDialogOkLabel?: string; - filterDialogCancelLabel?: string; - filterDialogAnyLabel?: string; - filterDialogAllLabel?: string; - filterDialogAddLabel?: string; - filterDialogErrorLabel?: string; - filterSummaryTitleLabel?: string; - filterDialogClearAllLabel?: string; - empty?: string; - notEmpty?: string; - nullLabel?: string; - notNull?: string; - true?: string; - false?: string; /** - * Option for IgGridFilteringLabels + * 'False' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + falseLabel?: string; + + /** + * 'After' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + afterLabel?: string; + + /** + * 'Before' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + beforeLabel?: string; + + /** + * 'Today' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + todayLabel?: string; + + /** + * 'Yesterday' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + yesterdayLabel?: string; + + /** + * 'This Month' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + thisMonthLabel?: string; + + /** + * 'Last Month' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + lastMonthLabel?: string; + + /** + * 'Next Month' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + nextMonthLabel?: string; + + /** + * 'This Year' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + thisYearLabel?: string; + + /** + * 'Last Year' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + lastYearLabel?: string; + + /** + * 'Next Year' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + nextYearLabel?: string; + + /** + * 'Clear' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + clearLabel?: string; + + /** + * 'No Filter' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + noFilterLabel?: string; + + /** + * 'On' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + onLabel?: string; + + /** + * 'Not On' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + notOnLabel?: string; + + /** + * 'Advance Button' label that is used for the predefined filtering conditions in the filter dropdowns. + * + */ + advancedButtonLabel?: string; + + /** + * Specifies the filter dialog caption label. + * + */ + filterDialogCaptionLabel?: string; + + /** + * Specifies the filter condition label. + * + */ + filterDialogConditionLabel1?: string; + + /** + * Specifies the filter condition label. + * + */ + filterDialogConditionLabel2?: string; + + /** + * Specifies the filter condition drop-down label. + * + */ + filterDialogConditionDropDownLabel?: string; + + /** + * Specifies the dialog's Ok button label. + * + */ + filterDialogOkLabel?: string; + + /** + * Specifies the dialog's Cancel button label. + * + */ + filterDialogCancelLabel?: string; + + /** + * Specifies the Any label for the filtering dialog. + * + */ + filterDialogAnyLabel?: string; + + /** + * Specifies the All label for the filtering dialog. + * + */ + filterDialogAllLabel?: string; + + /** + * Specifies the Add button label for the filtering dialog. + * + */ + filterDialogAddLabel?: string; + + /** + * Specifies the Error label for the filtering dialog. + * + */ + filterDialogErrorLabel?: string; + + /** + * Specifies the Close label for the filtering dialog. + * + */ + filterDialogCloseLabel?: string; + + /** + * Specifies the Filtering summary title. + * + */ + filterSummaryTitleLabel?: string; + + /** + * Specifies the summary template for the matching records. + * + */ + filterSummaryTemplate?: string; + + /** + * Specifies clear all label in the filter dialog. + * + */ + filterDialogClearAllLabel?: string; + + /** + * Custom tooltip template for the filter button, when a filter is applied. + * + */ + tooltipTemplate?: string; + + /** + * Feature chooser text when filter is shown and filter [mode](ui.iggridfiltering#options:mode) is simple. + * + */ + featureChooserText?: string; + + /** + * Feature chooser text when filter is hidden and filter [mode](ui.iggridfiltering#options:mode) is simple. + * + */ + featureChooserTextHide?: string; + + /** + * Feature chooser text when filter [mode](ui.iggridfiltering#options:mode) is advanced. + * + */ + featureChooserTextAdvancedFilter?: string; + + /** + * Option for IgGridFilteringLocale */ [optionName: string]: any; } -interface DataFilteringEvent { - (event: Event, ui: DataFilteringEventUIParam): void; -} - -interface DataFilteringEventUIParam { - /** - * Gets reference to GridFiltering. - */ - owner?: any; - - /** - * Gets the column index. Applicable only when filtering mode is "simple". - */ - columnIndex?: number; - - /** - * Gets the column key. Applicable only when filtering mode is "simple". - */ - columnKey?: string; - - /** - * Gets the filtering expressions. Filtering expressions could be changed in this event handler and after that data binding is applied. In this way the user could control filtering more easily before applying data-binding. - */ - newExpressions?: any[]; -} - -interface DataFilteredEvent { - (event: Event, ui: DataFilteredEventUIParam): void; -} - -interface DataFilteredEventUIParam { - /** - * Gets reference to GridFiltering. - */ - owner?: any; - - /** - * Gets the column index. Applicable only when filtering mode is "simple". - */ - columnIndex?: number; - - /** - * Gets the column key. Applicable only when filtering mode is "simple". - */ - columnKey?: string; - - /** - * Gets the filtered expressions. - */ - expressions?: any[]; -} - -interface FilterDialogOpeningEvent { - (event: Event, ui: FilterDialogOpeningEventUIParam): void; -} - -interface FilterDialogOpeningEventUIParam { - /** - * Gets reference to GridFiltering. - */ - owner?: any; - - /** - * Gets reference to the filtering dialog DOM element. - */ - dialog?: string; -} - -interface FilterDialogOpenedEvent { - (event: Event, ui: FilterDialogOpenedEventUIParam): void; -} - -interface FilterDialogOpenedEventUIParam { - /** - * Gets reference to GridFiltering. - */ - owner?: any; - - /** - * Gets reference to the filtering dialog DOM element. - */ - dialog?: string; -} - -interface FilterDialogMovingEvent { - (event: Event, ui: FilterDialogMovingEventUIParam): void; -} - -interface FilterDialogMovingEventUIParam { - /** - * Gets reference to GridFiltering. - */ - owner?: any; - - /** - * Gets reference to filtering dialog DOM element. - */ - dialog?: string; - - /** - * Gets the original position of the groupby dialog div as { top, left } object, relative to the page. - */ - originalPosition?: any; - - /** - * Gets the current position of the groupby dialog div as { top, left } object, relative to the page. - */ - position?: any; -} - -interface FilterDialogFilterAddingEvent { - (event: Event, ui: FilterDialogFilterAddingEventUIParam): void; -} - -interface FilterDialogFilterAddingEventUIParam { - /** - * Gets reference to GridFiltering. - */ - owner?: any; - - /** - * Gets reference to filters table body DOM element. - */ - filtersTableBody?: string; -} - -interface FilterDialogFilterAddedEvent { - (event: Event, ui: FilterDialogFilterAddedEventUIParam): void; -} - -interface FilterDialogFilterAddedEventUIParam { - /** - * Gets reference to GridFiltering. - */ - owner?: any; - - /** - * Gets reference to the filters table row DOM element. - */ - filter?: string; -} - -interface FilterDialogClosingEvent { - (event: Event, ui: FilterDialogClosingEventUIParam): void; -} - -interface FilterDialogClosingEventUIParam { - /** - * Gets reference to GridFiltering. - */ - owner?: any; -} - -interface FilterDialogClosedEvent { - (event: Event, ui: FilterDialogClosedEventUIParam): void; -} - -interface FilterDialogClosedEventUIParam { - /** - * Gets reference to GridFiltering. - */ - owner?: any; -} - -interface FilterDialogContentsRenderingEvent { - (event: Event, ui: FilterDialogContentsRenderingEventUIParam): void; -} - -interface FilterDialogContentsRenderingEventUIParam { - /** - * Gets reference to GridFiltering. - */ - owner?: any; - - /** - * Gets reference to the filtering dialog DOM element. - */ - dialogElement?: string; -} - -interface FilterDialogContentsRenderedEvent { - (event: Event, ui: FilterDialogContentsRenderedEventUIParam): void; -} - -interface FilterDialogContentsRenderedEventUIParam { - /** - * Gets reference to GridFiltering. - */ - owner?: any; - - /** - * Gets reference to the filtering dialog DOM element. - */ - dialogElement?: string; -} - -interface FilterDialogFilteringEvent { - (event: Event, ui: FilterDialogFilteringEventUIParam): void; -} - -interface FilterDialogFilteringEventUIParam { - /** - * Gets reference to GridFiltering. - */ - owner?: any; - - /** - * Gets reference to filtering dialog DOM element. - */ - dialog?: string; -} - interface IgGridFiltering { /** * Enables or disables the filtering case sensitivity. Works only for local filtering. If true, it case sensitive filtering is performed. If false, filtering is case insensitive. @@ -42226,8 +42620,8 @@ interface IgGridFiltering { renderFC?: boolean; /** - * Summary template that will appear in the bottom left corner of the footer. Has the format '${matches} matching records'. - * + * This option has been removed as of 2017.2 Volume release. + * Summary template that will appear in the bottom left corner of the footer. Has the format '${matches} matching records'. Use option [locale.filterSummaryTemplate](ui.iggridfiltering#options:locale.filterSummaryTemplate). */ filterSummaryTemplate?: string; @@ -42396,23 +42790,42 @@ interface IgGridFiltering { filterButtonLocation?: string; /** - * List of configurable and localized null texts that will be used for the filter editors. - * + * This option has been removed as of 2017.2 Volume release. + * List of configurable and localized null texts that will be used for the filter editors. Use option [locale](ui.iggridfiltering#options:locale). */ - nullTexts?: IgGridFilteringNullTexts; + nullTexts?: string; /** - * A list of configurable and localized labels that are used for the predefined filtering conditions in the filter dropdowns. - * + * This option has been removed as of 2017.2 Volume release. + * A list of configurable and localized labels that are used for the predefined filtering conditions in the filter dropdowns. Use option [locale](ui.iggridfiltering#options:locale). */ - labels?: IgGridFilteringLabels; + labels?: string; /** - * Custom tooltip template for the filter button, when a filter is applied. - * + * This option has been removed as of 2017.2 Volume release. + * Custom tooltip template for the filter button, when a filter is applied. Use option [locale.tooltipTemplate](ui.iggridfiltering#options:locale.tooltipTemplate). */ tooltipTemplate?: string; + /** + * This option has been removed as of 2017.2 Volume release. + * Feature chooser text when filter is shown and filter [mode](ui.iggridfiltering#options:mode) is simple. Use option [locale.featureChooserText](ui.iggridfiltering#options:locale.featureChooserText). + */ + featureChooserText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Feature chooser text when filter is hidden and filter [mode](ui.iggridfiltering#options:mode) is simple. Use option [locale.featureChooserTextHide](ui.iggridfiltering#options:locale.featureChooserTextHide). + */ + featureChooserTextHide?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Feature chooser text when filter [mode](ui.iggridfiltering#options:mode) is advanced. Use option [locale.featureChooserTextAdvancedFilter](ui.iggridfiltering#options:locale.featureChooserTextAdvancedFilter). + */ + featureChooserTextAdvancedFilter?: string; + locale?: IgGridFilteringLocale; + /** * Custom template for add condition area in the filter dialog. The default template is "<div><span>${label1}</span><div><select></select></div><span>${label2}</span></div>". * @@ -42487,24 +42900,6 @@ interface IgGridFiltering { */ showNullConditions?: boolean; - /** - * Feature chooser text when filter is shown and filter [mode](ui.iggridfiltering#options:mode) is simple. - * - */ - featureChooserText?: string; - - /** - * Feature chooser text when filter is hidden and filter [mode](ui.iggridfiltering#options:mode) is simple. - * - */ - featureChooserTextHide?: string; - - /** - * Feature chooser text when filter [mode](ui.iggridfiltering#options:mode) is advanced. - * - */ - featureChooserTextAdvancedFilter?: string; - /** * Name of the dialog widget to be used. It should inherit from $.ui.igGridModalDialog. * @@ -42523,143 +42918,13 @@ interface IgGridFiltering { */ inherit?: boolean; - /** - * Event fired before a filtering operation is executed (remote request or local). - * Return false in order to cancel filtering operation. - */ - dataFiltering?: DataFilteringEvent; - - /** - * Event fired after the filtering has been executed and results are rendered. - */ - dataFiltered?: DataFilteredEvent; - - /** - * Event fired before the filter dropdown is opened for a specific column. - * Return false in order to cancel dropdown opening. - */ - dropDownOpening?: DropDownOpeningEvent; - - /** - * Event fired after the filter dropdown is opened for a specific column. - */ - dropDownOpened?: DropDownOpenedEvent; - - /** - * Event fired before the filter dropdown starts closing. - * Return false in order to cancel dropdown closing. - */ - dropDownClosing?: DropDownClosingEvent; - - /** - * Event fired after a filter column dropdown is completely closed. - */ - dropDownClosed?: DropDownClosedEvent; - - /** - * Event fired before the advanced filtering dialog is opened. - * Return false in order to cancel filter dialog opening. - */ - filterDialogOpening?: FilterDialogOpeningEvent; - - /** - * Event fired after the advanced filter dialog is already opened. - */ - filterDialogOpened?: FilterDialogOpenedEvent; - - /** - * Event fired every time the advanced filter dialog changes its position. - */ - filterDialogMoving?: FilterDialogMovingEvent; - - /** - * Event fired before a filter row is added to the advanced filter dialog. - * Return false in order to cancel filter adding to the advanced filtering dialog. - */ - filterDialogFilterAdding?: FilterDialogFilterAddingEvent; - - /** - * Event fired after a filter row is added to the advanced filter dialog. - */ - filterDialogFilterAdded?: FilterDialogFilterAddedEvent; - - /** - * Event fired before the advanced filter dialog is closed. - * Return false in order to cancel filtering dialog closing. - */ - filterDialogClosing?: FilterDialogClosingEvent; - - /** - * Event fired after the advanced filter dialog has been closed. - */ - filterDialogClosed?: FilterDialogClosedEvent; - - /** - * Event fired before the contents of the advanced filter dialog are rendered. - * Return false in order to cancel filtering dialog rendering. - */ - filterDialogContentsRendering?: FilterDialogContentsRenderingEvent; - - /** - * Event fired after the contents of the advanced filter dialog are rendered. - */ - filterDialogContentsRendered?: FilterDialogContentsRenderedEvent; - - /** - * Event fired when the OK button in the advanced filter dialog is pressed. - */ - filterDialogFiltering?: FilterDialogFilteringEvent; - /** * Option for igGridFiltering */ [optionName: string]: any; } -interface IgGridFilteringMethods { - /** - * Destroys the filtering widget - remove fitler row, unbinds events, returns the grid to its previous state. - */ - destroy(): void; - - /** - * Returns the count of data records that match filtering conditions - */ - getFilteringMatchesCount(): number; - - /** - * Toggle filter row when mode is simple or [advancedModeEditorsVisible](ui.iggridfiltering#options:advancedModeEditorsVisible) is true. Otherwise show/hide advanced dialog. - * - * @param event Column key - */ - toggleFilterRowByFeatureChooser(event: string): void; - - /** - * Applies filtering programmatically and updates the UI by default. - * - * @param expressions An array of filtering expressions, each one having the format {fieldName: , expr: , cond: , logic: } where fieldName is the key of the column, expr is the actual expression string with which we would like to filter, logic is 'AND' or 'OR', and cond is one of the following strings: "equals", "doesNotEqual", "contains", "doesNotContain", "greaterThan", "lessThan", "greaterThanOrEqualTo", "lessThanOrEqualTo", "true", "false", "null", "notNull", "empty", "notEmpty", "startsWith", "endsWith", "today", "yesterday", "on", "notOn", "thisMonth", "lastMonth", "nextMonth", "before", "after", "thisYear", "lastYear", "nextYear". The difference between the empty and null filtering conditions is that empty includes null, NaN, and undefined, as well as the empty string. - * @param updateUI specifies whether the filter row should be also updated once the grid is filtered - * @param addedFromAdvanced - */ - filter(expressions: any[], updateUI?: boolean, addedFromAdvanced?: boolean): void; - - /** - * Check whether filterCondition requires or not filtering expression - e.g. if filterCondition is "lastMonth", "thisMonth", "null", "notNull", "true", "false", etc. then filtering expression is NOT required - * - * @param filterCondition filtering condition - e.g. "true", "false", "yesterday", "empty", "null", etc. - */ - requiresFilteringExpression(filterCondition: string): boolean; -} -interface JQuery { - data(propertyName: "igGridFiltering"): IgGridFilteringMethods; -} interface JQuery { - igGridFiltering(methodName: "destroy"): void; - igGridFiltering(methodName: "getFilteringMatchesCount"): number; - igGridFiltering(methodName: "toggleFilterRowByFeatureChooser", event: string): void; - igGridFiltering(methodName: "filter", expressions: any[], updateUI?: boolean, addedFromAdvanced?: boolean): void; - igGridFiltering(methodName: "requiresFilteringExpression", filterCondition: string): boolean; - /** * Enables or disables the filtering case sensitivity. Works only for local filtering. If true, it case sensitive filtering is performed. If false, filtering is case insensitive. * @@ -42707,14 +42972,14 @@ interface JQuery { igGridFiltering(optionLiteral: 'option', optionName: "renderFC", optionValue: boolean): void; /** - * Summary template that will appear in the bottom left corner of the footer. Has the format '${matches} matching records'. - * + * This option has been removed as of 2017.2 Volume release. + * Summary template that will appear in the bottom left corner of the footer. Has the format '${matches} matching records'. Use option [locale.filterSummaryTemplate](ui.iggridfiltering#options:locale.filterSummaryTemplate). */ igGridFiltering(optionLiteral: 'option', optionName: "filterSummaryTemplate"): string; /** - * Summary template that will appear in the bottom left corner of the footer. Has the format '${matches} matching records'. - * + * This option has been removed as of 2017.2 Volume release. + * Summary template that will appear in the bottom left corner of the footer. Has the format '${matches} matching records'. Use option [locale.filterSummaryTemplate](ui.iggridfiltering#options:locale.filterSummaryTemplate). * * @optionValue New value to be set. */ @@ -43015,47 +43280,91 @@ interface JQuery { igGridFiltering(optionLiteral: 'option', optionName: "filterButtonLocation", optionValue: string): void; /** - * List of configurable and localized null texts that will be used for the filter editors. - * + * This option has been removed as of 2017.2 Volume release. + * List of configurable and localized null texts that will be used for the filter editors. Use option [locale](ui.iggridfiltering#options:locale). */ - igGridFiltering(optionLiteral: 'option', optionName: "nullTexts"): IgGridFilteringNullTexts; + igGridFiltering(optionLiteral: 'option', optionName: "nullTexts"): string; /** - * List of configurable and localized null texts that will be used for the filter editors. - * + * This option has been removed as of 2017.2 Volume release. + * List of configurable and localized null texts that will be used for the filter editors. Use option [locale](ui.iggridfiltering#options:locale). * * @optionValue New value to be set. */ - igGridFiltering(optionLiteral: 'option', optionName: "nullTexts", optionValue: IgGridFilteringNullTexts): void; + igGridFiltering(optionLiteral: 'option', optionName: "nullTexts", optionValue: string): void; /** - * A list of configurable and localized labels that are used for the predefined filtering conditions in the filter dropdowns. - * + * This option has been removed as of 2017.2 Volume release. + * A list of configurable and localized labels that are used for the predefined filtering conditions in the filter dropdowns. Use option [locale](ui.iggridfiltering#options:locale). */ - igGridFiltering(optionLiteral: 'option', optionName: "labels"): IgGridFilteringLabels; + igGridFiltering(optionLiteral: 'option', optionName: "labels"): string; /** - * A list of configurable and localized labels that are used for the predefined filtering conditions in the filter dropdowns. - * + * This option has been removed as of 2017.2 Volume release. + * A list of configurable and localized labels that are used for the predefined filtering conditions in the filter dropdowns. Use option [locale](ui.iggridfiltering#options:locale). * * @optionValue New value to be set. */ - igGridFiltering(optionLiteral: 'option', optionName: "labels", optionValue: IgGridFilteringLabels): void; + igGridFiltering(optionLiteral: 'option', optionName: "labels", optionValue: string): void; /** - * Custom tooltip template for the filter button, when a filter is applied. - * + * This option has been removed as of 2017.2 Volume release. + * Custom tooltip template for the filter button, when a filter is applied. Use option [locale.tooltipTemplate](ui.iggridfiltering#options:locale.tooltipTemplate). */ igGridFiltering(optionLiteral: 'option', optionName: "tooltipTemplate"): string; /** - * Custom tooltip template for the filter button, when a filter is applied. - * + * This option has been removed as of 2017.2 Volume release. + * Custom tooltip template for the filter button, when a filter is applied. Use option [locale.tooltipTemplate](ui.iggridfiltering#options:locale.tooltipTemplate). * * @optionValue New value to be set. */ igGridFiltering(optionLiteral: 'option', optionName: "tooltipTemplate", optionValue: string): void; + /** + * This option has been removed as of 2017.2 Volume release. + * Feature chooser text when filter is shown and filter [mode](ui.iggridfiltering#options:mode) is simple. Use option [locale.featureChooserText](ui.iggridfiltering#options:locale.featureChooserText). + */ + igGridFiltering(optionLiteral: 'option', optionName: "featureChooserText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Feature chooser text when filter is shown and filter [mode](ui.iggridfiltering#options:mode) is simple. Use option [locale.featureChooserText](ui.iggridfiltering#options:locale.featureChooserText). + * + * @optionValue New value to be set. + */ + igGridFiltering(optionLiteral: 'option', optionName: "featureChooserText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Feature chooser text when filter is hidden and filter [mode](ui.iggridfiltering#options:mode) is simple. Use option [locale.featureChooserTextHide](ui.iggridfiltering#options:locale.featureChooserTextHide). + */ + igGridFiltering(optionLiteral: 'option', optionName: "featureChooserTextHide"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Feature chooser text when filter is hidden and filter [mode](ui.iggridfiltering#options:mode) is simple. Use option [locale.featureChooserTextHide](ui.iggridfiltering#options:locale.featureChooserTextHide). + * + * @optionValue New value to be set. + */ + igGridFiltering(optionLiteral: 'option', optionName: "featureChooserTextHide", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Feature chooser text when filter [mode](ui.iggridfiltering#options:mode) is advanced. Use option [locale.featureChooserTextAdvancedFilter](ui.iggridfiltering#options:locale.featureChooserTextAdvancedFilter). + */ + igGridFiltering(optionLiteral: 'option', optionName: "featureChooserTextAdvancedFilter"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Feature chooser text when filter [mode](ui.iggridfiltering#options:mode) is advanced. Use option [locale.featureChooserTextAdvancedFilter](ui.iggridfiltering#options:locale.featureChooserTextAdvancedFilter). + * + * @optionValue New value to be set. + */ + igGridFiltering(optionLiteral: 'option', optionName: "featureChooserTextAdvancedFilter", optionValue: string): void; + igGridFiltering(optionLiteral: 'option', optionName: "locale"): IgGridFilteringLocale; + igGridFiltering(optionLiteral: 'option', optionName: "locale", optionValue: IgGridFilteringLocale): void; + /** * Custom template for add condition area in the filter dialog. The default template is "<div><span>${label1}</span><div><select></select></div><span>${label2}</span></div>". * @@ -43212,48 +43521,6 @@ interface JQuery { */ igGridFiltering(optionLiteral: 'option', optionName: "showNullConditions", optionValue: boolean): void; - /** - * Feature chooser text when filter is shown and filter [mode](ui.iggridfiltering#options:mode) is simple. - * - */ - igGridFiltering(optionLiteral: 'option', optionName: "featureChooserText"): string; - - /** - * Feature chooser text when filter is shown and filter [mode](ui.iggridfiltering#options:mode) is simple. - * - * - * @optionValue New value to be set. - */ - igGridFiltering(optionLiteral: 'option', optionName: "featureChooserText", optionValue: string): void; - - /** - * Feature chooser text when filter is hidden and filter [mode](ui.iggridfiltering#options:mode) is simple. - * - */ - igGridFiltering(optionLiteral: 'option', optionName: "featureChooserTextHide"): string; - - /** - * Feature chooser text when filter is hidden and filter [mode](ui.iggridfiltering#options:mode) is simple. - * - * - * @optionValue New value to be set. - */ - igGridFiltering(optionLiteral: 'option', optionName: "featureChooserTextHide", optionValue: string): void; - - /** - * Feature chooser text when filter [mode](ui.iggridfiltering#options:mode) is advanced. - * - */ - igGridFiltering(optionLiteral: 'option', optionName: "featureChooserTextAdvancedFilter"): string; - - /** - * Feature chooser text when filter [mode](ui.iggridfiltering#options:mode) is advanced. - * - * - * @optionValue New value to be set. - */ - igGridFiltering(optionLiteral: 'option', optionName: "featureChooserTextAdvancedFilter", optionValue: string): void; - /** * Name of the dialog widget to be used. It should inherit from $.ui.igGridModalDialog. * @@ -43295,212 +43562,6 @@ interface JQuery { * @optionValue New value to be set. */ igGridFiltering(optionLiteral: 'option', optionName: "inherit", optionValue: boolean): void; - - /** - * Event fired before a filtering operation is executed (remote request or local). - * Return false in order to cancel filtering operation. - */ - igGridFiltering(optionLiteral: 'option', optionName: "dataFiltering"): DataFilteringEvent; - - /** - * Event fired before a filtering operation is executed (remote request or local). - * Return false in order to cancel filtering operation. - * - * @optionValue Define event handler function. - */ - igGridFiltering(optionLiteral: 'option', optionName: "dataFiltering", optionValue: DataFilteringEvent): void; - - /** - * Event fired after the filtering has been executed and results are rendered. - */ - igGridFiltering(optionLiteral: 'option', optionName: "dataFiltered"): DataFilteredEvent; - - /** - * Event fired after the filtering has been executed and results are rendered. - * - * @optionValue Define event handler function. - */ - igGridFiltering(optionLiteral: 'option', optionName: "dataFiltered", optionValue: DataFilteredEvent): void; - - /** - * Event fired before the filter dropdown is opened for a specific column. - * Return false in order to cancel dropdown opening. - */ - igGridFiltering(optionLiteral: 'option', optionName: "dropDownOpening"): DropDownOpeningEvent; - - /** - * Event fired before the filter dropdown is opened for a specific column. - * Return false in order to cancel dropdown opening. - * - * @optionValue Define event handler function. - */ - igGridFiltering(optionLiteral: 'option', optionName: "dropDownOpening", optionValue: DropDownOpeningEvent): void; - - /** - * Event fired after the filter dropdown is opened for a specific column. - */ - igGridFiltering(optionLiteral: 'option', optionName: "dropDownOpened"): DropDownOpenedEvent; - - /** - * Event fired after the filter dropdown is opened for a specific column. - * - * @optionValue Define event handler function. - */ - igGridFiltering(optionLiteral: 'option', optionName: "dropDownOpened", optionValue: DropDownOpenedEvent): void; - - /** - * Event fired before the filter dropdown starts closing. - * Return false in order to cancel dropdown closing. - */ - igGridFiltering(optionLiteral: 'option', optionName: "dropDownClosing"): DropDownClosingEvent; - - /** - * Event fired before the filter dropdown starts closing. - * Return false in order to cancel dropdown closing. - * - * @optionValue Define event handler function. - */ - igGridFiltering(optionLiteral: 'option', optionName: "dropDownClosing", optionValue: DropDownClosingEvent): void; - - /** - * Event fired after a filter column dropdown is completely closed. - */ - igGridFiltering(optionLiteral: 'option', optionName: "dropDownClosed"): DropDownClosedEvent; - - /** - * Event fired after a filter column dropdown is completely closed. - * - * @optionValue Define event handler function. - */ - igGridFiltering(optionLiteral: 'option', optionName: "dropDownClosed", optionValue: DropDownClosedEvent): void; - - /** - * Event fired before the advanced filtering dialog is opened. - * Return false in order to cancel filter dialog opening. - */ - igGridFiltering(optionLiteral: 'option', optionName: "filterDialogOpening"): FilterDialogOpeningEvent; - - /** - * Event fired before the advanced filtering dialog is opened. - * Return false in order to cancel filter dialog opening. - * - * @optionValue Define event handler function. - */ - igGridFiltering(optionLiteral: 'option', optionName: "filterDialogOpening", optionValue: FilterDialogOpeningEvent): void; - - /** - * Event fired after the advanced filter dialog is already opened. - */ - igGridFiltering(optionLiteral: 'option', optionName: "filterDialogOpened"): FilterDialogOpenedEvent; - - /** - * Event fired after the advanced filter dialog is already opened. - * - * @optionValue Define event handler function. - */ - igGridFiltering(optionLiteral: 'option', optionName: "filterDialogOpened", optionValue: FilterDialogOpenedEvent): void; - - /** - * Event fired every time the advanced filter dialog changes its position. - */ - igGridFiltering(optionLiteral: 'option', optionName: "filterDialogMoving"): FilterDialogMovingEvent; - - /** - * Event fired every time the advanced filter dialog changes its position. - * - * @optionValue Define event handler function. - */ - igGridFiltering(optionLiteral: 'option', optionName: "filterDialogMoving", optionValue: FilterDialogMovingEvent): void; - - /** - * Event fired before a filter row is added to the advanced filter dialog. - * Return false in order to cancel filter adding to the advanced filtering dialog. - */ - igGridFiltering(optionLiteral: 'option', optionName: "filterDialogFilterAdding"): FilterDialogFilterAddingEvent; - - /** - * Event fired before a filter row is added to the advanced filter dialog. - * Return false in order to cancel filter adding to the advanced filtering dialog. - * - * @optionValue Define event handler function. - */ - igGridFiltering(optionLiteral: 'option', optionName: "filterDialogFilterAdding", optionValue: FilterDialogFilterAddingEvent): void; - - /** - * Event fired after a filter row is added to the advanced filter dialog. - */ - igGridFiltering(optionLiteral: 'option', optionName: "filterDialogFilterAdded"): FilterDialogFilterAddedEvent; - - /** - * Event fired after a filter row is added to the advanced filter dialog. - * - * @optionValue Define event handler function. - */ - igGridFiltering(optionLiteral: 'option', optionName: "filterDialogFilterAdded", optionValue: FilterDialogFilterAddedEvent): void; - - /** - * Event fired before the advanced filter dialog is closed. - * Return false in order to cancel filtering dialog closing. - */ - igGridFiltering(optionLiteral: 'option', optionName: "filterDialogClosing"): FilterDialogClosingEvent; - - /** - * Event fired before the advanced filter dialog is closed. - * Return false in order to cancel filtering dialog closing. - * - * @optionValue Define event handler function. - */ - igGridFiltering(optionLiteral: 'option', optionName: "filterDialogClosing", optionValue: FilterDialogClosingEvent): void; - - /** - * Event fired after the advanced filter dialog has been closed. - */ - igGridFiltering(optionLiteral: 'option', optionName: "filterDialogClosed"): FilterDialogClosedEvent; - - /** - * Event fired after the advanced filter dialog has been closed. - * - * @optionValue Define event handler function. - */ - igGridFiltering(optionLiteral: 'option', optionName: "filterDialogClosed", optionValue: FilterDialogClosedEvent): void; - - /** - * Event fired before the contents of the advanced filter dialog are rendered. - * Return false in order to cancel filtering dialog rendering. - */ - igGridFiltering(optionLiteral: 'option', optionName: "filterDialogContentsRendering"): FilterDialogContentsRenderingEvent; - - /** - * Event fired before the contents of the advanced filter dialog are rendered. - * Return false in order to cancel filtering dialog rendering. - * - * @optionValue Define event handler function. - */ - igGridFiltering(optionLiteral: 'option', optionName: "filterDialogContentsRendering", optionValue: FilterDialogContentsRenderingEvent): void; - - /** - * Event fired after the contents of the advanced filter dialog are rendered. - */ - igGridFiltering(optionLiteral: 'option', optionName: "filterDialogContentsRendered"): FilterDialogContentsRenderedEvent; - - /** - * Event fired after the contents of the advanced filter dialog are rendered. - * - * @optionValue Define event handler function. - */ - igGridFiltering(optionLiteral: 'option', optionName: "filterDialogContentsRendered", optionValue: FilterDialogContentsRenderedEvent): void; - - /** - * Event fired when the OK button in the advanced filter dialog is pressed. - */ - igGridFiltering(optionLiteral: 'option', optionName: "filterDialogFiltering"): FilterDialogFilteringEvent; - - /** - * Event fired when the OK button in the advanced filter dialog is pressed. - * - * @optionValue Define event handler function. - */ - igGridFiltering(optionLiteral: 'option', optionName: "filterDialogFiltering", optionValue: FilterDialogFilteringEvent): void; igGridFiltering(options: IgGridFiltering): JQuery; igGridFiltering(optionLiteral: 'option', optionName: string): any; igGridFiltering(optionLiteral: 'option', options: IgGridFiltering): JQuery; @@ -44668,6 +44729,7 @@ interface IgGridMethods { * Returns the element holding the data records */ widget(): void; + changeRegional(): void; /** * Returns whether grid has non-data fixed columns(e.g. row selectors column) @@ -45141,6 +45203,7 @@ interface JQuery { interface JQuery { igGrid(methodName: "widget"): void; + igGrid(methodName: "changeRegional"): void; igGrid(methodName: "hasFixedDataSkippedColumns"): boolean; igGrid(methodName: "hasFixedColumns"): boolean; igGrid(methodName: "fixingDirection"): string; @@ -46369,6 +46432,127 @@ interface IgGridGroupByColumnSettings { [optionName: string]: any; } +interface IgGridGroupByLocale { + /** + * Specifies the group by area text. + * + */ + emptyGroupByAreaContent?: string; + + /** + * Specifies the text for the hyperlink which opens the GroupBy Dialog. + * + */ + emptyGroupByAreaContentSelectColumns?: string; + + /** + * Specifies the caption for the hyperlink which opens the GroupBy Dialog. + * + */ + emptyGroupByAreaContentSelectColumnsCaption?: string; + + /** + * Specifies the expand groups button tooltip. + * + */ + expandTooltip?: string; + + /** + * Specifies the collapse groups button tooltip. + * + */ + collapseTooltip?: string; + + /** + * Specifies the remove group button tooltip. + * + */ + removeButtonTooltip?: string; + + /** + * Specifies caption for each descending sorted column in GroupBy Dialog. + * + */ + modalDialogCaptionButtonDesc?: string; + + /** + * Specifies caption for each descending sorted column in GroupBy Dialog. + * + */ + modalDialogCaptionButtonAsc?: string; + + /** + * Specifies caption for ungroup button in GroupBy Dialog. + * + */ + modalDialogCaptionButtonUngroup?: string; + + /** + * Specifies text for group button in GroupBy Dialog. + * + */ + modalDialogGroupByButtonText?: string; + + /** + * Specifies caption text for the GroupBy Dialog. + * + */ + modalDialogCaptionText?: string; + + /** + * Specifies label for layouts dropdown in the GroupBy Dialog. + * + */ + modalDialogDropDownLabel?: string; + + /** + * Specifies label for "Clear all" button in the GroupBy Dialog. + * + */ + modalDialogClearAllButtonLabel?: string; + + /** + * Specifies name of the root layout which is shown for the layouts in the modal dialog tree. + * + */ + modalDialogRootLevelHierarchicalGrid?: string; + + /** + * Specifies caption of layouts dropdown button in the GroupBy Dialog. + * + */ + modalDialogDropDownButtonCaption?: string; + + /** + * Specifies text of button which apply changes in modal dialog. + * + */ + modalDialogButtonApplyText?: string; + + /** + * Specifies text of button which cancel changes in modal dialog. + * + */ + modalDialogButtonCancelText?: string; + + /** + * Specifies the summary row title. + * + */ + summaryRowTitle?: string; + + /** + * Specifies the summary icon title. + * + */ + summaryIconTitle?: string; + + /** + * Option for IgGridGroupByLocale + */ + [optionName: string]: any; +} + interface GroupedColumnsChangingEvent { (event: Event, ui: GroupedColumnsChangingEventUIParam): void; } @@ -46763,18 +46947,6 @@ interface IgGridGroupBy { */ pagingMode?: string; - /** - * Text that will be shown in the GroupBy area when there are no grouped columns - * - */ - emptyGroupByAreaContent?: string; - - /** - * Text of the link that opens the [GroupBy Dialog](http://www.igniteui.com/help/iggrid-group-by-dialog-overview). - * - */ - emptyGroupByAreaContentSelectColumns?: string; - /** * Specifies if grouped rows will have an expander image that will allow end users to expand and collapse them. This option can be set only at initialization. * @@ -46868,89 +47040,102 @@ interface IgGridGroupBy { columnSettings?: IgGridGroupByColumnSettings; /** - * Specifies the expand indicator tooltip for grouped rows - * + * This option has been removed as of 2017.2 Volume release. + * Specifies the expand indicator tooltip for grouped rows. Use option [locale.expandTooltip](ui.iggridgroupby#options:locale.expandTooltip). */ expandTooltip?: string; /** - * Specifies the collapse indicator tooltip for grouped rows - * + * This option has been removed as of 2017.2 Volume release. + * Specifies the collapse indicator tooltip for grouped rows. Use option [locale.collapseTooltip](ui.iggridgroupby#options:locale.collapseTooltip). */ collapseTooltip?: string; /** - * Specifies the tooltip for the remove button - * + * This option has been removed as of 2017.2 Volume release. + * Specifies the tooltip for the remove button. Use option [locale.removeButtonTooltip](ui.iggridgroupby#options:locale.removeButtonTooltip). */ removeButtonTooltip?: string; + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies the text of GroupBy button in the GroupBy Dialog. Use option [locale.modalDialogGroupByButtonText](ui.iggridgroupby#options:locale.modalDialogGroupByButtonText). + */ + modalDialogGroupByButtonText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption for each descending sorted column in GroupBy Dialog. Use option [locale.modalDialogCaptionButtonDesc](ui.iggridgroupby#options:locale.modalDialogCaptionButtonDesc). + */ + modalDialogCaptionButtonDesc?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption for each ascending sorted column in GroupBy Dialog. Use option [locale.modalDialogCaptionButtonAsc](ui.iggridgroupby#options:locale.modalDialogCaptionButtonAsc). + */ + modalDialogCaptionButtonAsc?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption button ungroup in GroupBy Dialog. Use option [locale.modalDialogCaptionButtonUngroup](ui.iggridgroupby#options:locale.modalDialogCaptionButtonUngroup). + */ + modalDialogCaptionButtonUngroup?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption text for the GroupBy Dialog. Use option [locale.modalDialogCaptionText](ui.iggridgroupby#options:locale.modalDialogCaptionText). + */ + modalDialogCaptionText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies label for layouts dropdown in the GroupBy Dialog. Use option [locale.modalDialogDropDownLabel](ui.iggridgroupby#options:locale.modalDialogDropDownLabel). + */ + modalDialogDropDownLabel?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption of layouts dropdown button in the GroupBy Dialog. Use option [locale.modalDialogRootLevelHierarchicalGrid](ui.iggridgroupby#options:locale.modalDialogRootLevelHierarchicalGrid). + */ + modalDialogRootLevelHierarchicalGrid?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption of layouts dropdown button in the GroupBy Dialog. Use option [locale.modalDialogDropDownButtonCaption](ui.iggridgroupby#options:locale.modalDialogDropDownButtonCaption). + */ + modalDialogDropDownButtonCaption?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies label for "Clear all" button in the GroupBy Dialog. Use option [locale.modalDialogClearAllButtonLabel](ui.iggridgroupby#options:locale.modalDialogClearAllButtonLabel). + */ + modalDialogClearAllButtonLabel?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption for the hyperlink which opens the GroupBy Dialog. Use option [locale.emptyGroupByAreaContentSelectColumnsCaption](ui.iggridgroupby#options:locale.emptyGroupByAreaContentSelectColumnsCaption). + */ + emptyGroupByAreaContentSelectColumnsCaption?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies text of button which cancel changes in the GroupBy Dialog. Use option [locale.modalDialogButtonApplyText](ui.iggridgroupby#options:locale.modalDialogButtonApplyText). + */ + modalDialogButtonApplyText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies text of button which cancel changes in the GroupBy Dialog. Use option [locale.modalDialogButtonCancelText](ui.iggridgroupby#options:locale.modalDialogButtonCancelText). + */ + modalDialogButtonCancelText?: string; + locale?: IgGridGroupByLocale; + /** * Enables/disables immediate column grouping/ungrouping. When false operation is delayed until after "Apply" button is clicked by the user. * */ modalDialogGroupByOnClick?: boolean; - /** - * Specifies the text of GroupBy button in the GroupBy Dialog - * - */ - modalDialogGroupByButtonText?: string; - - /** - * Specifies caption for each descending sorted column in GroupBy Dialog - * - */ - modalDialogCaptionButtonDesc?: string; - - /** - * Specifies caption for each ascending sorted column in GroupBy Dialog - * - */ - modalDialogCaptionButtonAsc?: string; - - /** - * Specifies caption button ungroup in GroupBy Dialog - * - */ - modalDialogCaptionButtonUngroup?: string; - - /** - * Specifies caption text for the GroupBy Dialog - * - */ - modalDialogCaptionText?: string; - - /** - * Specifies label for layouts dropdown in the GroupBy Dialog - * - */ - modalDialogDropDownLabel?: string; - - /** - * Specifies name of the root layout which is shown layouts tree dialog - * - */ - modalDialogRootLevelHierarchicalGrid?: string; - - /** - * Specifies caption of layouts dropdown button in the GroupBy Dialog - * - */ - modalDialogDropDownButtonCaption?: string; - - /** - * Specifies label for "Clear all" button in the GroupBy Dialog - * - */ - modalDialogClearAllButtonLabel?: string; - - /** - * Specifies caption for the hyperlink which opens the GroupBy Dialog - * - */ - emptyGroupByAreaContentSelectColumnsCaption?: string; - /** * Specifies width of layouts dropdown in the GroupBy Dialog * @@ -46989,18 +47174,6 @@ interface IgGridGroupBy { */ modalDialogHeight?: string|number; - /** - * Specifies text of button which apply changes in modal dialog - * - */ - modalDialogButtonApplyText?: string; - - /** - * Specifies text of button which cancel changes in the GroupBy Dialog - * - */ - modalDialogButtonCancelText?: string; - /** * Format grouped column using the formatter set in [igGrid.columns.formatter](ui.iggrid#options:columns.formatter) or [igGrid.columns.format](ui.iggrid#options:columns.format). * @@ -47138,6 +47311,9 @@ interface IgGridGroupBy { [optionName: string]: any; } interface IgGridGroupByMethods { + changeLocale(): void; + changeRegional(): void; + /** * Open groupby modal dialog */ @@ -47231,6 +47407,8 @@ interface JQuery { } interface JQuery { + igGridGroupBy(methodName: "changeLocale"): void; + igGridGroupBy(methodName: "changeRegional"): void; igGridGroupBy(methodName: "openGroupByDialog"): void; igGridGroupBy(methodName: "closeGroupByDialog"): void; igGridGroupBy(methodName: "renderGroupByModalDialog"): void; @@ -47292,34 +47470,6 @@ interface JQuery { igGridGroupBy(optionLiteral: 'option', optionName: "pagingMode", optionValue: string): void; - /** - * Text that will be shown in the GroupBy area when there are no grouped columns - * - */ - igGridGroupBy(optionLiteral: 'option', optionName: "emptyGroupByAreaContent"): string; - - /** - * Text that will be shown in the GroupBy area when there are no grouped columns - * - * - * @optionValue New value to be set. - */ - igGridGroupBy(optionLiteral: 'option', optionName: "emptyGroupByAreaContent", optionValue: string): void; - - /** - * Text of the link that opens the [GroupBy Dialog](http://www.igniteui.com/help/iggrid-group-by-dialog-overview). - * - */ - igGridGroupBy(optionLiteral: 'option', optionName: "emptyGroupByAreaContentSelectColumns"): string; - - /** - * Text of the link that opens the [GroupBy Dialog](http://www.igniteui.com/help/iggrid-group-by-dialog-overview). - * - * - * @optionValue New value to be set. - */ - igGridGroupBy(optionLiteral: 'option', optionName: "emptyGroupByAreaContentSelectColumns", optionValue: string): void; - /** * Gets if grouped rows will have an expander image that will allow end users to expand and collapse them. This option can be set only at initialization. * @@ -47521,47 +47671,217 @@ interface JQuery { igGridGroupBy(optionLiteral: 'option', optionName: "columnSettings", optionValue: IgGridGroupByColumnSettings): void; /** - * Specifies the expand indicator tooltip for grouped rows - * + * This option has been removed as of 2017.2 Volume release. + * Gets the expand indicator tooltip for grouped rows. Use option [locale.expandTooltip](ui.iggridgroupby#options:locale.expandTooltip). */ igGridGroupBy(optionLiteral: 'option', optionName: "expandTooltip"): string; /** - * Specifies the expand indicator tooltip for grouped rows - * + * This option has been removed as of 2017.2 Volume release. + * Sets the expand indicator tooltip for grouped rows. Use option [locale.expandTooltip](ui.iggridgroupby#options:locale.expandTooltip). * * @optionValue New value to be set. */ igGridGroupBy(optionLiteral: 'option', optionName: "expandTooltip", optionValue: string): void; /** - * Specifies the collapse indicator tooltip for grouped rows - * + * This option has been removed as of 2017.2 Volume release. + * Gets the collapse indicator tooltip for grouped rows. Use option [locale.collapseTooltip](ui.iggridgroupby#options:locale.collapseTooltip). */ igGridGroupBy(optionLiteral: 'option', optionName: "collapseTooltip"): string; /** - * Specifies the collapse indicator tooltip for grouped rows - * + * This option has been removed as of 2017.2 Volume release. + * Sets the collapse indicator tooltip for grouped rows. Use option [locale.collapseTooltip](ui.iggridgroupby#options:locale.collapseTooltip). * * @optionValue New value to be set. */ igGridGroupBy(optionLiteral: 'option', optionName: "collapseTooltip", optionValue: string): void; /** - * Specifies the tooltip for the remove button - * + * This option has been removed as of 2017.2 Volume release. + * Gets the tooltip for the remove button. Use option [locale.removeButtonTooltip](ui.iggridgroupby#options:locale.removeButtonTooltip). */ igGridGroupBy(optionLiteral: 'option', optionName: "removeButtonTooltip"): string; /** - * Specifies the tooltip for the remove button - * + * This option has been removed as of 2017.2 Volume release. + * Sets the tooltip for the remove button. Use option [locale.removeButtonTooltip](ui.iggridgroupby#options:locale.removeButtonTooltip). * * @optionValue New value to be set. */ igGridGroupBy(optionLiteral: 'option', optionName: "removeButtonTooltip", optionValue: string): void; + /** + * This option has been removed as of 2017.2 Volume release. + * Gets the text of GroupBy button in the GroupBy Dialog. Use option [locale.modalDialogGroupByButtonText](ui.iggridgroupby#options:locale.modalDialogGroupByButtonText). + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogGroupByButtonText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets the text of GroupBy button in the GroupBy Dialog. Use option [locale.modalDialogGroupByButtonText](ui.iggridgroupby#options:locale.modalDialogGroupByButtonText). + * + * @optionValue New value to be set. + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogGroupByButtonText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption for each descending sorted column in GroupBy Dialog. Use option [locale.modalDialogCaptionButtonDesc](ui.iggridgroupby#options:locale.modalDialogCaptionButtonDesc). + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogCaptionButtonDesc"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption for each descending sorted column in GroupBy Dialog. Use option [locale.modalDialogCaptionButtonDesc](ui.iggridgroupby#options:locale.modalDialogCaptionButtonDesc). + * + * @optionValue New value to be set. + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogCaptionButtonDesc", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption for each ascending sorted column in GroupBy Dialog. Use option [locale.modalDialogCaptionButtonAsc](ui.iggridgroupby#options:locale.modalDialogCaptionButtonAsc). + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogCaptionButtonAsc"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption for each ascending sorted column in GroupBy Dialog. Use option [locale.modalDialogCaptionButtonAsc](ui.iggridgroupby#options:locale.modalDialogCaptionButtonAsc). + * + * @optionValue New value to be set. + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogCaptionButtonAsc", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption button ungroup in GroupBy Dialog. Use option [locale.modalDialogCaptionButtonUngroup](ui.iggridgroupby#options:locale.modalDialogCaptionButtonUngroup). + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogCaptionButtonUngroup"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption button ungroup in GroupBy Dialog. Use option [locale.modalDialogCaptionButtonUngroup](ui.iggridgroupby#options:locale.modalDialogCaptionButtonUngroup). + * + * @optionValue New value to be set. + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogCaptionButtonUngroup", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption text for the GroupBy Dialog. Use option [locale.modalDialogCaptionText](ui.iggridgroupby#options:locale.modalDialogCaptionText). + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogCaptionText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption text for the GroupBy Dialog. Use option [locale.modalDialogCaptionText](ui.iggridgroupby#options:locale.modalDialogCaptionText). + * + * @optionValue New value to be set. + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogCaptionText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets label for layouts dropdown in the GroupBy Dialog. Use option [locale.modalDialogDropDownLabel](ui.iggridgroupby#options:locale.modalDialogDropDownLabel). + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogDropDownLabel"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets label for layouts dropdown in the GroupBy Dialog. Use option [locale.modalDialogDropDownLabel](ui.iggridgroupby#options:locale.modalDialogDropDownLabel). + * + * @optionValue New value to be set. + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogDropDownLabel", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption of layouts dropdown button in the GroupBy Dialog. Use option [locale.modalDialogRootLevelHierarchicalGrid](ui.iggridgroupby#options:locale.modalDialogRootLevelHierarchicalGrid). + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogRootLevelHierarchicalGrid"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption of layouts dropdown button in the GroupBy Dialog. Use option [locale.modalDialogRootLevelHierarchicalGrid](ui.iggridgroupby#options:locale.modalDialogRootLevelHierarchicalGrid). + * + * @optionValue New value to be set. + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogRootLevelHierarchicalGrid", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption of layouts dropdown button in the GroupBy Dialog. Use option [locale.modalDialogDropDownButtonCaption](ui.iggridgroupby#options:locale.modalDialogDropDownButtonCaption). + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogDropDownButtonCaption"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption of layouts dropdown button in the GroupBy Dialog. Use option [locale.modalDialogDropDownButtonCaption](ui.iggridgroupby#options:locale.modalDialogDropDownButtonCaption). + * + * @optionValue New value to be set. + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogDropDownButtonCaption", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets label for "Clear all" button in the GroupBy Dialog. Use option [locale.modalDialogClearAllButtonLabel](ui.iggridgroupby#options:locale.modalDialogClearAllButtonLabel). + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogClearAllButtonLabel"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets label for "Clear all" button in the GroupBy Dialog. Use option [locale.modalDialogClearAllButtonLabel](ui.iggridgroupby#options:locale.modalDialogClearAllButtonLabel). + * + * @optionValue New value to be set. + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogClearAllButtonLabel", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption for the hyperlink which opens the GroupBy Dialog. Use option [locale.emptyGroupByAreaContentSelectColumnsCaption](ui.iggridgroupby#options:locale.emptyGroupByAreaContentSelectColumnsCaption). + */ + igGridGroupBy(optionLiteral: 'option', optionName: "emptyGroupByAreaContentSelectColumnsCaption"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption for the hyperlink which opens the GroupBy Dialog. Use option [locale.emptyGroupByAreaContentSelectColumnsCaption](ui.iggridgroupby#options:locale.emptyGroupByAreaContentSelectColumnsCaption). + * + * @optionValue New value to be set. + */ + igGridGroupBy(optionLiteral: 'option', optionName: "emptyGroupByAreaContentSelectColumnsCaption", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets text of button which cancel changes in the GroupBy Dialog. Use option [locale.modalDialogButtonApplyText](ui.iggridgroupby#options:locale.modalDialogButtonApplyText). + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogButtonApplyText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets text of button which cancel changes in the GroupBy Dialog. Use option [locale.modalDialogButtonApplyText](ui.iggridgroupby#options:locale.modalDialogButtonApplyText). + * + * @optionValue New value to be set. + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogButtonApplyText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets text of button which cancel changes in the GroupBy Dialog. Use option [locale.modalDialogButtonCancelText](ui.iggridgroupby#options:locale.modalDialogButtonCancelText). + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogButtonCancelText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets text of button which cancel changes in the GroupBy Dialog. Use option [locale.modalDialogButtonCancelText](ui.iggridgroupby#options:locale.modalDialogButtonCancelText). + * + * @optionValue New value to be set. + */ + igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogButtonCancelText", optionValue: string): void; + igGridGroupBy(optionLiteral: 'option', optionName: "locale"): IgGridGroupByLocale; + igGridGroupBy(optionLiteral: 'option', optionName: "locale", optionValue: IgGridGroupByLocale): void; + /** * Enables/disables immediate column grouping/ungrouping. When false operation is delayed until after "Apply" button is clicked by the user. * @@ -47576,146 +47896,6 @@ interface JQuery { */ igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogGroupByOnClick", optionValue: boolean): void; - /** - * Specifies the text of GroupBy button in the GroupBy Dialog - * - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogGroupByButtonText"): string; - - /** - * Specifies the text of GroupBy button in the GroupBy Dialog - * - * - * @optionValue New value to be set. - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogGroupByButtonText", optionValue: string): void; - - /** - * Gets caption for each descending sorted column in GroupBy Dialog - * - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogCaptionButtonDesc"): string; - - /** - * Sets caption for each descending sorted column in GroupBy Dialog - * - * - * @optionValue New value to be set. - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogCaptionButtonDesc", optionValue: string): void; - - /** - * Gets caption for each ascending sorted column in GroupBy Dialog - * - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogCaptionButtonAsc"): string; - - /** - * Sets caption for each ascending sorted column in GroupBy Dialog - * - * - * @optionValue New value to be set. - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogCaptionButtonAsc", optionValue: string): void; - - /** - * Gets caption button ungroup in GroupBy Dialog - * - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogCaptionButtonUngroup"): string; - - /** - * Sets caption button ungroup in GroupBy Dialog - * - * - * @optionValue New value to be set. - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogCaptionButtonUngroup", optionValue: string): void; - - /** - * Gets caption text for the GroupBy Dialog - * - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogCaptionText"): string; - - /** - * Sets caption text for the GroupBy Dialog - * - * - * @optionValue New value to be set. - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogCaptionText", optionValue: string): void; - - /** - * Gets label for layouts dropdown in the GroupBy Dialog - * - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogDropDownLabel"): string; - - /** - * Sets label for layouts dropdown in the GroupBy Dialog - * - * - * @optionValue New value to be set. - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogDropDownLabel", optionValue: string): void; - - /** - * Gets name of the root layout which is shown layouts tree dialog - * - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogRootLevelHierarchicalGrid"): string; - - /** - * Sets name of the root layout which is shown layouts tree dialog - * - * - * @optionValue New value to be set. - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogRootLevelHierarchicalGrid", optionValue: string): void; - - /** - * Gets caption of layouts dropdown button in the GroupBy Dialog - * - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogDropDownButtonCaption"): string; - - /** - * Sets caption of layouts dropdown button in the GroupBy Dialog - * - * - * @optionValue New value to be set. - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogDropDownButtonCaption", optionValue: string): void; - - /** - * Gets label for "Clear all" button in the GroupBy Dialog - * - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogClearAllButtonLabel"): string; - - /** - * Sets label for "Clear all" button in the GroupBy Dialog - * - * - * @optionValue New value to be set. - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogClearAllButtonLabel", optionValue: string): void; - - /** - * Gets caption for the hyperlink which opens the GroupBy Dialog - * - */ - igGridGroupBy(optionLiteral: 'option', optionName: "emptyGroupByAreaContentSelectColumnsCaption"): string; - - /** - * Sets caption for the hyperlink which opens the GroupBy Dialog - * - * - * @optionValue New value to be set. - */ - igGridGroupBy(optionLiteral: 'option', optionName: "emptyGroupByAreaContentSelectColumnsCaption", optionValue: string): void; - /** * Gets width of layouts dropdown in the GroupBy Dialog * @@ -47790,34 +47970,6 @@ interface JQuery { igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogHeight", optionValue: string|number): void; - /** - * Gets text of button which apply changes in modal dialog - * - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogButtonApplyText"): string; - - /** - * Sets text of button which apply changes in modal dialog - * - * - * @optionValue New value to be set. - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogButtonApplyText", optionValue: string): void; - - /** - * Gets text of button which cancel changes in the GroupBy Dialog - * - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogButtonCancelText"): string; - - /** - * Sets text of button which cancel changes in the GroupBy Dialog - * - * - * @optionValue New value to be set. - */ - igGridGroupBy(optionLiteral: 'option', optionName: "modalDialogButtonCancelText", optionValue: string): void; - /** * Format grouped column using the formatter set in [igGrid.columns.formatter](ui.iggrid#options:columns.formatter) or [igGrid.columns.format](ui.iggrid#options:columns.format). * @@ -48148,6 +48300,79 @@ interface IgGridHidingColumnSetting { [optionName: string]: any; } +interface IgGridHidingLocale { + /** + * The text used in the drop down tools menu(Feature Chooser) to launch the column chooser dialog. + * + */ + columnChooserDisplayText?: string; + + /** + * The text displayed in the tooltip of the hidden column indicator. + * + */ + hiddenColumnIndicatorTooltipText?: string; + + /** + * The text used in the drop down tools menu(Feature Chooser) to hide a column. + * + */ + columnHideText?: string; + + /** + * The caption of the column chooser dialog. + * + */ + columnChooserCaptionLabel?: string; + + /** + * The close button tooltip of the column chooser dialog. + * + */ + columnChooserCloseButtonTooltip?: string; + + /** + * Specifies the hiding column icon tooltip. + * + */ + hideColumnIconTooltip?: string; + + /** + * The text used in the column chooser to show column. + * + */ + columnChooserShowText?: string; + + /** + * The text used in the column chooser to hide column. + * + */ + columnChooserHideText?: string; + + /** + * Text label for reset button. + * + */ + columnChooserResetButtonLabel?: string; + + /** + * Specifies the text of the button which applies changes in the modal dialog. + * + */ + columnChooserButtonApplyText?: string; + + /** + * Specifies the text of the button which cancels changes in the modal dialog. + * + */ + columnChooserButtonCancelText?: string; + + /** + * Option for IgGridHidingLocale + */ + [optionName: string]: any; +} + interface ColumnHidingEvent { (event: Event, ui: ColumnHidingEventUIParam): void; } @@ -48484,71 +48709,72 @@ interface IgGridHiding { dropDownAnimationDuration?: number; /** - * The caption of the column chooser dialog. - * + * This option has been removed as of 2017.2 Volume release. + * The caption of the column chooser dialog. Use option [locale.columnChooserCaptionText](ui.iggridhiding#options:locale.columnChooserCaptionText). */ columnChooserCaptionText?: string; /** - * The text used in the drop down tools menu(Feature Chooser) to launch the column chooser dialog. - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the drop down tools menu(Feature Chooser) to launch the column chooser dialog. Use option [locale.columnChooserDisplayText](ui.iggridhiding#options:locale.columnChooserDisplayText). */ columnChooserDisplayText?: string; /** - * The text displayed in the tooltip of the hidden column indicator. - * + * This option has been removed as of 2017.2 Volume release. + * The text displayed in the tooltip of the hidden column indicator. Use option [locale.hiddenColumnIndicatorTooltipText](ui.iggridhiding#options:locale.hiddenColumnIndicatorTooltipText). */ hiddenColumnIndicatorTooltipText?: string; /** - * The text used in the drop down tools menu(Feature Chooser) to hide a column. - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the drop down tools menu(Feature Chooser) to hide a column. Use option [locale.columnHideText](ui.iggridhiding#options:locale.columnHideText). */ columnHideText?: string; /** - * The text used in the column chooser to show column - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the column chooser to show column. Use option [locale.columnChooserShowText](ui.iggridhiding#options:locale.columnChooserShowText). */ columnChooserShowText?: string; /** - * The text used in the column chooser to hide column - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the column chooser to hide column. Use option [locale.columnChooserHideText](ui.iggridhiding#options:locale.columnChooserHideText). */ columnChooserHideText?: string; + /** + * This option has been removed as of 2017.2 Volume release. + * Text label for reset button. Use option [locale.columnChooserResetButtonLabel](ui.iggridhiding#options:locale.columnChooserResetButtonLabel). + */ + columnChooserResetButtonLabel?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies text of button which apply changes in modal dialog. Use option [locale.columnChooserButtonApplyText](ui.iggridhiding#options:locale.columnChooserButtonApplyText). + */ + columnChooserButtonApplyText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies text of button which cancel changes in modal dialog. Use option [locale.columnChooserButtonCancelText](ui.iggridhiding#options:locale.columnChooserButtonCancelText). + */ + columnChooserButtonCancelText?: string; + locale?: IgGridHidingLocale; + /** * Specifies on click show/hide directly to be shown/hidden columns. If columnChooserHideOnClick is false then Apply and Cancel Buttons are shown on the bottom of modal dialog. Columns are Shown/Hidden after the Apply button is clicked * */ columnChooserHideOnClick?: boolean; - /** - * Text label for reset button. - * - */ - columnChooserResetButtonLabel?: string; - /** * Specifies time of milliseconds for animation duration to show/hide modal dialog * */ columnChooserAnimationDuration?: number; - /** - * Specifies text of button which apply changes in modal dialog - * - */ - columnChooserButtonApplyText?: string; - - /** - * Specifies text of button which cancel changes in modal dialog - * - */ - columnChooserButtonCancelText?: string; - /** * Name of the dialog widget to be used. It should inherit from $.ui.igGridModalDialog. * @@ -48647,6 +48873,8 @@ interface IgGridHiding { [optionName: string]: any; } interface IgGridHidingMethods { + changeLocale(): void; + /** * Destroys the hiding widget */ @@ -48667,20 +48895,18 @@ interface IgGridHidingMethods { * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param column An identifier for the column. If a number is provided it will be used as a column index else if a strings is provided it will be used as a column key. - * @param isMultiColumnHeader If it is true then the column is of type multicolumnheader. An identifier for the column should be of type string. * @param callback Specifies a custom function to be called when the column(s) is shown(optional) */ - showColumn(column: Object, isMultiColumnHeader?: boolean, callback?: Function): void; + showColumn(column: Object, callback?: Function): void; /** * Hides a visible column. If the column is hidden the method does nothing. * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param column An identifier for the column. If a number is provided it will be used as a column index else if a strings is provided it will be used as a column key. - * @param isMultiColumnHeader If it is true then the column is of type multicolumnheader. An identifier for the column should be of type string. * @param callback Specifies a custom function to be called when the column is hidden(optional) */ - hideColumn(column: Object, isMultiColumnHeader?: boolean, callback?: Function): void; + hideColumn(column: Object, callback?: Function): void; /** * Hides visible columns specified by the array. If the column is hidden the method does nothing. @@ -48725,11 +48951,12 @@ interface JQuery { } interface JQuery { + igGridHiding(methodName: "changeLocale"): void; igGridHiding(methodName: "destroy"): void; igGridHiding(methodName: "showColumnChooser"): void; igGridHiding(methodName: "hideColumnChooser"): void; - igGridHiding(methodName: "showColumn", column: Object, isMultiColumnHeader?: boolean, callback?: Function): void; - igGridHiding(methodName: "hideColumn", column: Object, isMultiColumnHeader?: boolean, callback?: Function): void; + igGridHiding(methodName: "showColumn", column: Object, callback?: Function): void; + igGridHiding(methodName: "hideColumn", column: Object, callback?: Function): void; igGridHiding(methodName: "hideMultiColumns", columns: any[], callback?: Function): void; igGridHiding(methodName: "showMultiColumns", columns: any[], callback?: Function): void; igGridHiding(methodName: "isToRenderButtonReset"): void; @@ -48826,89 +49053,133 @@ interface JQuery { igGridHiding(optionLiteral: 'option', optionName: "dropDownAnimationDuration", optionValue: number): void; /** - * The caption of the column chooser dialog. - * + * This option has been removed as of 2017.2 Volume release. + * The caption of the column chooser dialog. Use option [locale.columnChooserCaptionText](ui.iggridhiding#options:locale.columnChooserCaptionText). */ igGridHiding(optionLiteral: 'option', optionName: "columnChooserCaptionText"): string; /** - * The caption of the column chooser dialog. - * + * This option has been removed as of 2017.2 Volume release. + * The caption of the column chooser dialog. Use option [locale.columnChooserCaptionText](ui.iggridhiding#options:locale.columnChooserCaptionText). * * @optionValue New value to be set. */ igGridHiding(optionLiteral: 'option', optionName: "columnChooserCaptionText", optionValue: string): void; /** - * The text used in the drop down tools menu(Feature Chooser) to launch the column chooser dialog. - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the drop down tools menu(Feature Chooser) to launch the column chooser dialog. Use option [locale.columnChooserDisplayText](ui.iggridhiding#options:locale.columnChooserDisplayText). */ igGridHiding(optionLiteral: 'option', optionName: "columnChooserDisplayText"): string; /** - * The text used in the drop down tools menu(Feature Chooser) to launch the column chooser dialog. - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the drop down tools menu(Feature Chooser) to launch the column chooser dialog. Use option [locale.columnChooserDisplayText](ui.iggridhiding#options:locale.columnChooserDisplayText). * * @optionValue New value to be set. */ igGridHiding(optionLiteral: 'option', optionName: "columnChooserDisplayText", optionValue: string): void; /** - * The text displayed in the tooltip of the hidden column indicator. - * + * This option has been removed as of 2017.2 Volume release. + * The text displayed in the tooltip of the hidden column indicator. Use option [locale.hiddenColumnIndicatorTooltipText](ui.iggridhiding#options:locale.hiddenColumnIndicatorTooltipText). */ igGridHiding(optionLiteral: 'option', optionName: "hiddenColumnIndicatorTooltipText"): string; /** - * The text displayed in the tooltip of the hidden column indicator. - * + * This option has been removed as of 2017.2 Volume release. + * The text displayed in the tooltip of the hidden column indicator. Use option [locale.hiddenColumnIndicatorTooltipText](ui.iggridhiding#options:locale.hiddenColumnIndicatorTooltipText). * * @optionValue New value to be set. */ igGridHiding(optionLiteral: 'option', optionName: "hiddenColumnIndicatorTooltipText", optionValue: string): void; /** - * The text used in the drop down tools menu(Feature Chooser) to hide a column. - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the drop down tools menu(Feature Chooser) to hide a column. Use option [locale.columnHideText](ui.iggridhiding#options:locale.columnHideText). */ igGridHiding(optionLiteral: 'option', optionName: "columnHideText"): string; /** - * The text used in the drop down tools menu(Feature Chooser) to hide a column. - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the drop down tools menu(Feature Chooser) to hide a column. Use option [locale.columnHideText](ui.iggridhiding#options:locale.columnHideText). * * @optionValue New value to be set. */ igGridHiding(optionLiteral: 'option', optionName: "columnHideText", optionValue: string): void; /** - * The text used in the column chooser to show column - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the column chooser to show column. Use option [locale.columnChooserShowText](ui.iggridhiding#options:locale.columnChooserShowText). */ igGridHiding(optionLiteral: 'option', optionName: "columnChooserShowText"): string; /** - * The text used in the column chooser to show column - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the column chooser to show column. Use option [locale.columnChooserShowText](ui.iggridhiding#options:locale.columnChooserShowText). * * @optionValue New value to be set. */ igGridHiding(optionLiteral: 'option', optionName: "columnChooserShowText", optionValue: string): void; /** - * The text used in the column chooser to hide column - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the column chooser to hide column. Use option [locale.columnChooserHideText](ui.iggridhiding#options:locale.columnChooserHideText). */ igGridHiding(optionLiteral: 'option', optionName: "columnChooserHideText"): string; /** - * The text used in the column chooser to hide column - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the column chooser to hide column. Use option [locale.columnChooserHideText](ui.iggridhiding#options:locale.columnChooserHideText). * * @optionValue New value to be set. */ igGridHiding(optionLiteral: 'option', optionName: "columnChooserHideText", optionValue: string): void; + /** + * This option has been removed as of 2017.2 Volume release. + * Text label for reset button. Use option [locale.columnChooserResetButtonLabel](ui.iggridhiding#options:locale.columnChooserResetButtonLabel). + */ + igGridHiding(optionLiteral: 'option', optionName: "columnChooserResetButtonLabel"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text label for reset button. Use option [locale.columnChooserResetButtonLabel](ui.iggridhiding#options:locale.columnChooserResetButtonLabel). + * + * @optionValue New value to be set. + */ + igGridHiding(optionLiteral: 'option', optionName: "columnChooserResetButtonLabel", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets text of button which apply changes in modal dialog. Use option [locale.columnChooserButtonApplyText](ui.iggridhiding#options:locale.columnChooserButtonApplyText). + */ + igGridHiding(optionLiteral: 'option', optionName: "columnChooserButtonApplyText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets text of button which apply changes in modal dialog. Use option [locale.columnChooserButtonApplyText](ui.iggridhiding#options:locale.columnChooserButtonApplyText). + * + * @optionValue New value to be set. + */ + igGridHiding(optionLiteral: 'option', optionName: "columnChooserButtonApplyText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets text of button which cancel changes in modal dialog. Use option [locale.columnChooserButtonCancelText](ui.iggridhiding#options:locale.columnChooserButtonCancelText). + */ + igGridHiding(optionLiteral: 'option', optionName: "columnChooserButtonCancelText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets text of button which cancel changes in modal dialog. Use option [locale.columnChooserButtonCancelText](ui.iggridhiding#options:locale.columnChooserButtonCancelText). + * + * @optionValue New value to be set. + */ + igGridHiding(optionLiteral: 'option', optionName: "columnChooserButtonCancelText", optionValue: string): void; + igGridHiding(optionLiteral: 'option', optionName: "locale"): IgGridHidingLocale; + igGridHiding(optionLiteral: 'option', optionName: "locale", optionValue: IgGridHidingLocale): void; + /** * Gets on click show/hide directly to be shown/hidden columns. If columnChooserHideOnClick is false then Apply and Cancel Buttons are shown on the bottom of modal dialog. Columns are Shown/Hidden after the Apply button is clicked * @@ -48923,20 +49194,6 @@ interface JQuery { */ igGridHiding(optionLiteral: 'option', optionName: "columnChooserHideOnClick", optionValue: boolean): void; - /** - * Text label for reset button. - * - */ - igGridHiding(optionLiteral: 'option', optionName: "columnChooserResetButtonLabel"): string; - - /** - * Text label for reset button. - * - * - * @optionValue New value to be set. - */ - igGridHiding(optionLiteral: 'option', optionName: "columnChooserResetButtonLabel", optionValue: string): void; - /** * Gets time of milliseconds for animation duration to show/hide modal dialog * @@ -48951,34 +49208,6 @@ interface JQuery { */ igGridHiding(optionLiteral: 'option', optionName: "columnChooserAnimationDuration", optionValue: number): void; - /** - * Gets text of button which apply changes in modal dialog - * - */ - igGridHiding(optionLiteral: 'option', optionName: "columnChooserButtonApplyText"): string; - - /** - * Sets text of button which apply changes in modal dialog - * - * - * @optionValue New value to be set. - */ - igGridHiding(optionLiteral: 'option', optionName: "columnChooserButtonApplyText", optionValue: string): void; - - /** - * Gets text of button which cancel changes in modal dialog - * - */ - igGridHiding(optionLiteral: 'option', optionName: "columnChooserButtonCancelText"): string; - - /** - * Sets text of button which cancel changes in modal dialog - * - * - * @optionValue New value to be set. - */ - igGridHiding(optionLiteral: 'option', optionName: "columnChooserButtonCancelText", optionValue: string): void; - /** * Name of the dialog widget to be used. It should inherit from $.ui.igGridModalDialog. * @@ -49204,6 +49433,25 @@ interface JQuery { igGridHiding(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; igGridHiding(methodName: string, ...methodParams: any[]): any; } +interface IgHierarchicalGridLocale { + /** + * Specifies the default tooltip applied to an expand column cell, that is currently collapsed. + * + */ + expandTooltip?: string; + + /** + * Specifies the default tooltip applied to an expand column cell, that is currently expanded. + * + */ + collapseTooltip?: string; + + /** + * Option for IgHierarchicalGridLocale + */ + [optionName: string]: any; +} + interface IgHierarchicalGridColumnLayout { /** * Specifies the columnLayout key. This is the property that holds the data records for the current column layout. @@ -49813,16 +50061,17 @@ interface IgHierarchicalGrid { animationDuration?: number; /** - * Specifies the default tooltip applied to an expand column cell, that is currently collapsed - * + * This option has been removed as of 2017.2 Volume release. + * Specifies the default tooltip applied to an expand column cell, that is currently collapsed. Use option [locale.columnChooserCaptionText](ui.ighierarchicalgrid#options:locale.expandTooltip). */ expandTooltip?: string; /** - * Specifies the default tooltip applied to an expand column cell, that is currently expanded - * + * This option has been removed as of 2017.2 Volume release. + * Specifies the default tooltip applied to an expand column cell, that is currently expanded. Use option [locale.collapseTooltip](ui.ighierarchicalgrid#options:locale.collapseTooltip). */ collapseTooltip?: string; + locale?: IgHierarchicalGridLocale; /** * List of columnLayout objects that specify the structure of the child grids. All options that are applicable to a flat grid are also applicable here @@ -50340,6 +50589,9 @@ interface IgHierarchicalGrid { [optionName: string]: any; } interface IgHierarchicalGridMethods { + changeLocale(): void; + changeRegional(): void; + /** * Data binds the hierarchical grid. No child grids will be created or rendered by default, unless there is initialExpandDepth >= 0 set. */ @@ -50443,6 +50695,8 @@ interface JQuery { } interface JQuery { + igHierarchicalGrid(methodName: "changeLocale"): void; + igHierarchicalGrid(methodName: "changeRegional"): void; igHierarchicalGrid(methodName: "dataBind"): void; igHierarchicalGrid(methodName: "root"): Object; igHierarchicalGrid(methodName: "rootWidget"): Object; @@ -50618,32 +50872,34 @@ interface JQuery { igHierarchicalGrid(optionLiteral: 'option', optionName: "animationDuration", optionValue: number): void; /** - * Gets the default tooltip applied to an expand column cell, that is currently collapsed - * + * This option has been removed as of 2017.2 Volume release. + * Gets the default tooltip applied to an expand column cell, that is currently collapsed. Use option [locale.columnChooserCaptionText](ui.ighierarchicalgrid#options:locale.expandTooltip). */ igHierarchicalGrid(optionLiteral: 'option', optionName: "expandTooltip"): string; /** - * Sets the default tooltip applied to an expand column cell, that is currently collapsed - * + * This option has been removed as of 2017.2 Volume release. + * Sets the default tooltip applied to an expand column cell, that is currently collapsed. Use option [locale.columnChooserCaptionText](ui.ighierarchicalgrid#options:locale.expandTooltip). * * @optionValue New value to be set. */ igHierarchicalGrid(optionLiteral: 'option', optionName: "expandTooltip", optionValue: string): void; /** - * Gets the default tooltip applied to an expand column cell, that is currently expanded - * + * This option has been removed as of 2017.2 Volume release. + * Gets the default tooltip applied to an expand column cell, that is currently expanded. Use option [locale.collapseTooltip](ui.ighierarchicalgrid#options:locale.collapseTooltip). */ igHierarchicalGrid(optionLiteral: 'option', optionName: "collapseTooltip"): string; /** - * Sets the default tooltip applied to an expand column cell, that is currently expanded - * + * This option has been removed as of 2017.2 Volume release. + * Sets the default tooltip applied to an expand column cell, that is currently expanded. Use option [locale.collapseTooltip](ui.ighierarchicalgrid#options:locale.collapseTooltip). * * @optionValue New value to be set. */ igHierarchicalGrid(optionLiteral: 'option', optionName: "collapseTooltip", optionValue: string): void; + igHierarchicalGrid(optionLiteral: 'option', optionName: "locale"): IgHierarchicalGridLocale; + igHierarchicalGrid(optionLiteral: 'option', optionName: "locale", optionValue: IgHierarchicalGridLocale): void; /** * List of columnLayout objects that specify the structure of the child grids. All options that are applicable to a flat grid are also applicable here @@ -51873,9 +52129,11 @@ interface IgGridMultiColumnHeaders { [optionName: string]: any; } interface IgGridMultiColumnHeadersMethods { + changeLocale(): void; + /** * Expands a collapsed group. If the group is expanded, the method does nothing. - * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. + * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param groupKey Group key. * @param callback Specifies a custom function to be called when the group is expanded. @@ -51884,7 +52142,7 @@ interface IgGridMultiColumnHeadersMethods { /** * Collapses an expanded group. If the group is collapsed, the method does nothing. - * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. + * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param groupKey Group key. * @param callback Specifies a custom function to be called when the group is collapsed. @@ -51893,7 +52151,7 @@ interface IgGridMultiColumnHeadersMethods { /** * Toggles a collapsible group. - * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. + * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param groupKey Group key. * @param callback Specifies a custom function to be called when the group is toggled. @@ -51915,6 +52173,7 @@ interface JQuery { } interface JQuery { + igGridMultiColumnHeaders(methodName: "changeLocale"): void; igGridMultiColumnHeaders(methodName: "expandGroup", groupKey: string, callback?: Function): void; igGridMultiColumnHeaders(methodName: "collapseGroup", groupKey: string, callback?: Function): void; igGridMultiColumnHeaders(methodName: "toggleGroup", groupKey: string, callback?: Function): void; @@ -51986,6 +52245,116 @@ interface JQuery { igGridMultiColumnHeaders(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; igGridMultiColumnHeaders(methodName: string, ...methodParams: any[]): any; } +interface IgGridPagingLocale { + /** + * Text rendered in front of the page size dropdown, when [showPageSizeDropDown](ui.iggridpaging#options:showPageSizeDropDown) is set to true. + * + */ + pageSizeDropDownLabel?: string; + + /** + * Trailing text for the page size dropdown, when [showPageSizeDropDown](ui.iggridpaging#options:showPageSizeDropDown) is set to true. + * + */ + pageSizeDropDownTrailingLabel?: string; + + /** + * Text for the next page label. + * + */ + nextPageLabelText?: string; + + /** + * Text for the previous page label. + * + */ + prevPageLabelText?: string; + + /** + * Text for the first page label. + * + */ + firstPageLabelText?: string; + + /** + * Text for the last page label. + * + */ + lastPageLabelText?: string; + + /** + * Leading label text for the drop down from where the page index can be switched. + * + */ + currentPageDropDownLeadingLabel?: string; + + /** + * Trailing label text for the drop down from where the page index can be switched. + * + */ + currentPageDropDownTrailingLabel?: string; + + /** + * Tooltip text for the page index drop down. + * + */ + currentPageDropDownTooltip?: string; + + /** + * Tooltip text for the page size drop down. + * + */ + pageSizeDropDownTooltip?: string; + + /** + * Tooltip text for the pager records label. + * + */ + pagerRecordsLabelTooltip?: string; + + /** + * Tooltip text for the previous page button. + * + */ + prevPageTooltip?: string; + + /** + * Tooltip text for the next page button. + * + */ + nextPageTooltip?: string; + + /** + * Tooltip text for the first page button. + * + */ + firstPageTooltip?: string; + + /** + * Tooltip text for the last page button. + * + */ + lastPageTooltip?: string; + + /** + * Tooltip text templates of buttons that navigate to a particular page. The format string follows the [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. + * See also the [pageCountLimit](ui.iggridpaging#options:pageCountLimit) option. + * + */ + pageTooltipFormat?: string; + + /** + * Custom pager records label template - in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. + * + */ + pagerRecordsLabelTemplate?: string; + + /** + * Option for IgGridPagingLocale + */ + [optionName: string]: any; +} + interface PageIndexChangingEvent { (event: Event, ui: PageIndexChangingEventUIParam): void; } @@ -52135,17 +52504,112 @@ interface IgGridPaging { showPageSizeDropDown?: boolean; /** + * This option has been removed as of 2017.2 Volume release. * Text rendered in front of the page size dropdown, when [showPageSizeDropDown](ui.iggridpaging#options:showPageSizeDropDown) is set to true. - * + * Use option [locale.pageSizeDropDownLabel](ui.iggridpaging#options:locale.pageSizeDropDownLabel). */ pageSizeDropDownLabel?: string; /** + * This option has been removed as of 2017.2 Volume release. * Trailing text for the page size dropdown, when [showPageSizeDropDown](ui.iggridpaging#options:showPageSizeDropDown) is set to true. - * + * Use option [locale.pageSizeDropDownTrailingLabel](ui.iggridpaging#options:locale.pageSizeDropDownTrailingLabel). */ pageSizeDropDownTrailingLabel?: string; + /** + * This option has been removed as of 2017.2 Volume release. + * Custom pager records label template - in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. + * Use option [locale.pagerRecordsLabelTemplate](ui.iggridpaging#options:locale.pagerRecordsLabelTemplate). + */ + pagerRecordsLabelTemplate?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the next page label. Use option [locale.nextPageLabelText](ui.iggridpaging#options:locale.nextPageLabelText). + */ + nextPageLabelText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the previous page label. Use option [locale.prevPageLabelText](ui.iggridpaging#options:locale.prevPageLabelText). + */ + prevPageLabelText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the first page label. Use option [locale.firstPageLabelText](ui.iggridpaging#options:locale.firstPageLabelText). + */ + firstPageLabelText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the last page label. Use option [locale.lastPageLabelText](ui.iggridpaging#options:locale.lastPageLabelText). + */ + lastPageLabelText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Leading label text for the drop down from where the page index can be switched. Use option [locale.currentPageDropDownLeadingLabel](ui.iggridpaging#options:locale.currentPageDropDownLeadingLabel). + */ + currentPageDropDownLeadingLabel?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Trailing label text for the drop down from where the page index can be switched. Use option [locale.currentPageDropDownTrailingLabel](ui.iggridpaging#options:locale.currentPageDropDownTrailingLabel). + */ + currentPageDropDownTrailingLabel?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the page index drop down. Use option [locale.currentPageDropDownTooltip](ui.iggridpaging#options:locale.currentPageDropDownTooltip). + */ + currentPageDropDownTooltip?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the page size drop down. Use option [locale.pageSizeDropDownTooltip](ui.iggridpaging#options:locale.pageSizeDropDownTooltip). + */ + pageSizeDropDownTooltip?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the pager records label. Use option [locale.pagerRecordsLabelTooltip](ui.iggridpaging#options:locale.pagerRecordsLabelTooltip). + */ + pagerRecordsLabelTooltip?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the previous page button. Use option [locale.prevPageTooltip](ui.iggridpaging#options:locale.prevPageTooltip). + */ + prevPageTooltip?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the next page button. Use option [locale.nextPageTooltip](ui.iggridpaging#options:locale.nextPageTooltip). + */ + nextPageTooltip?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the first page button. Use option [locale.firstPageTooltip](ui.iggridpaging#options:locale.firstPageTooltip). + */ + firstPageTooltip?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the last page button. Use option [locale.lastPageTooltip](ui.iggridpaging#options:locale.lastPageTooltip). + */ + lastPageTooltip?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text templates of buttons that navigate to a particular page. The format string follows the [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. See also the [pageCountLimit](ui.iggridpaging#options:pageCountLimit) option. + * Use option [locale.pageTooltipFormat](ui.iggridpaging#options:locale.pageTooltipFormat). + */ + pageTooltipFormat?: string; + locale?: IgGridPagingLocale; + /** * Page size dropdown location, when [showPageSizeDropDown](ui.iggridpaging#options:showPageSizeDropDown) is set to true. Can be rendered above the grid header or inside the pager, next to the page links. * @@ -52162,36 +52626,6 @@ interface IgGridPaging { */ showPagerRecordsLabel?: boolean; - /** - * Custom pager records label template - in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. - * - */ - pagerRecordsLabelTemplate?: string; - - /** - * Text for the next page label. - * - */ - nextPageLabelText?: string; - - /** - * Text for the previous page label. - * - */ - prevPageLabelText?: string; - - /** - * Text for the first page label. - * - */ - firstPageLabelText?: string; - - /** - * Text for the last page label. - * - */ - lastPageLabelText?: string; - /** * Option specifying whether to render the first and last page navigation buttons. * @@ -52204,66 +52638,6 @@ interface IgGridPaging { */ showPrevNextPages?: boolean; - /** - * Leading label text for the drop down from where the page index can be switched. - * - */ - currentPageDropDownLeadingLabel?: string; - - /** - * Trailing label text for the drop down from where the page index can be switched. - * - */ - currentPageDropDownTrailingLabel?: string; - - /** - * Tooltip text for the page index drop down. - * - */ - currentPageDropDownTooltip?: string; - - /** - * Tooltip text for the page size drop down. - * - */ - pageSizeDropDownTooltip?: string; - - /** - * Tooltip text for the pager records label. - * - */ - pagerRecordsLabelTooltip?: string; - - /** - * Tooltip text for the previous page button. - * - */ - prevPageTooltip?: string; - - /** - * Tooltip text for the next page button. - * - */ - nextPageTooltip?: string; - - /** - * Tooltip text for the first page button. - * - */ - firstPageTooltip?: string; - - /** - * Tooltip text for the last page button. - * - */ - lastPageTooltip?: string; - - /** - * Tooltip text templates of buttons that navigate to a particular page. The format string follows the [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. See also the [pageCountLimit](ui.iggridpaging#options:pageCountLimit) option. - * - */ - pageTooltipFormat?: string; - /** * Predefined page sizes that are available to the end user to switch their grid paging to, through a drop down in the grid header. * @@ -52346,6 +52720,8 @@ interface IgGridPaging { [optionName: string]: any; } interface IgGridPagingMethods { + changeLocale(): void; + /** * Gets/Sets the current page index, delegates data binding and paging to [$.ig.DataSource](ig.datasource). * @@ -52370,6 +52746,7 @@ interface JQuery { } interface JQuery { + igGridPaging(methodName: "changeLocale"): void; igGridPaging(methodName: "pageIndex", index?: number): number; igGridPaging(methodName: "pageSize", size?: number): number; igGridPaging(methodName: "destroy"): void; @@ -52475,33 +52852,253 @@ interface JQuery { igGridPaging(optionLiteral: 'option', optionName: "showPageSizeDropDown", optionValue: boolean): void; /** + * This option has been removed as of 2017.2 Volume release. * Text rendered in front of the page size dropdown, when [showPageSizeDropDown](ui.iggridpaging#options:showPageSizeDropDown) is set to true. - * + * Use option [locale.pageSizeDropDownLabel](ui.iggridpaging#options:locale.pageSizeDropDownLabel). */ igGridPaging(optionLiteral: 'option', optionName: "pageSizeDropDownLabel"): string; /** + * This option has been removed as of 2017.2 Volume release. * Text rendered in front of the page size dropdown, when [showPageSizeDropDown](ui.iggridpaging#options:showPageSizeDropDown) is set to true. - * + * Use option [locale.pageSizeDropDownLabel](ui.iggridpaging#options:locale.pageSizeDropDownLabel). * * @optionValue New value to be set. */ igGridPaging(optionLiteral: 'option', optionName: "pageSizeDropDownLabel", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Trailing text for the page size dropdown, when [showPageSizeDropDown](ui.iggridpaging#options:showPageSizeDropDown) is set to true. - * + * Use option [locale.pageSizeDropDownTrailingLabel](ui.iggridpaging#options:locale.pageSizeDropDownTrailingLabel). */ igGridPaging(optionLiteral: 'option', optionName: "pageSizeDropDownTrailingLabel"): string; /** + * This option has been removed as of 2017.2 Volume release. * Trailing text for the page size dropdown, when [showPageSizeDropDown](ui.iggridpaging#options:showPageSizeDropDown) is set to true. - * + * Use option [locale.pageSizeDropDownTrailingLabel](ui.iggridpaging#options:locale.pageSizeDropDownTrailingLabel). * * @optionValue New value to be set. */ igGridPaging(optionLiteral: 'option', optionName: "pageSizeDropDownTrailingLabel", optionValue: string): void; + /** + * This option has been removed as of 2017.2 Volume release. + * Custom pager records label template - in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. + * Use option [locale.pagerRecordsLabelTemplate](ui.iggridpaging#options:locale.pagerRecordsLabelTemplate). + */ + igGridPaging(optionLiteral: 'option', optionName: "pagerRecordsLabelTemplate"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Custom pager records label template - in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. + * Use option [locale.pagerRecordsLabelTemplate](ui.iggridpaging#options:locale.pagerRecordsLabelTemplate). + * + * @optionValue New value to be set. + */ + igGridPaging(optionLiteral: 'option', optionName: "pagerRecordsLabelTemplate", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the next page label. Use option [locale.nextPageLabelText](ui.iggridpaging#options:locale.nextPageLabelText). + */ + igGridPaging(optionLiteral: 'option', optionName: "nextPageLabelText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the next page label. Use option [locale.nextPageLabelText](ui.iggridpaging#options:locale.nextPageLabelText). + * + * @optionValue New value to be set. + */ + igGridPaging(optionLiteral: 'option', optionName: "nextPageLabelText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the previous page label. Use option [locale.prevPageLabelText](ui.iggridpaging#options:locale.prevPageLabelText). + */ + igGridPaging(optionLiteral: 'option', optionName: "prevPageLabelText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the previous page label. Use option [locale.prevPageLabelText](ui.iggridpaging#options:locale.prevPageLabelText). + * + * @optionValue New value to be set. + */ + igGridPaging(optionLiteral: 'option', optionName: "prevPageLabelText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the first page label. Use option [locale.firstPageLabelText](ui.iggridpaging#options:locale.firstPageLabelText). + */ + igGridPaging(optionLiteral: 'option', optionName: "firstPageLabelText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the first page label. Use option [locale.firstPageLabelText](ui.iggridpaging#options:locale.firstPageLabelText). + * + * @optionValue New value to be set. + */ + igGridPaging(optionLiteral: 'option', optionName: "firstPageLabelText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the last page label. Use option [locale.lastPageLabelText](ui.iggridpaging#options:locale.lastPageLabelText). + */ + igGridPaging(optionLiteral: 'option', optionName: "lastPageLabelText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the last page label. Use option [locale.lastPageLabelText](ui.iggridpaging#options:locale.lastPageLabelText). + * + * @optionValue New value to be set. + */ + igGridPaging(optionLiteral: 'option', optionName: "lastPageLabelText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Leading label text for the drop down from where the page index can be switched. Use option [locale.currentPageDropDownLeadingLabel](ui.iggridpaging#options:locale.currentPageDropDownLeadingLabel). + */ + igGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownLeadingLabel"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Leading label text for the drop down from where the page index can be switched. Use option [locale.currentPageDropDownLeadingLabel](ui.iggridpaging#options:locale.currentPageDropDownLeadingLabel). + * + * @optionValue New value to be set. + */ + igGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownLeadingLabel", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Trailing label text for the drop down from where the page index can be switched. Use option [locale.currentPageDropDownTrailingLabel](ui.iggridpaging#options:locale.currentPageDropDownTrailingLabel). + */ + igGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownTrailingLabel"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Trailing label text for the drop down from where the page index can be switched. Use option [locale.currentPageDropDownTrailingLabel](ui.iggridpaging#options:locale.currentPageDropDownTrailingLabel). + * + * @optionValue New value to be set. + */ + igGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownTrailingLabel", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the page index drop down. Use option [locale.currentPageDropDownTooltip](ui.iggridpaging#options:locale.currentPageDropDownTooltip). + */ + igGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownTooltip"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the page index drop down. Use option [locale.currentPageDropDownTooltip](ui.iggridpaging#options:locale.currentPageDropDownTooltip). + * + * @optionValue New value to be set. + */ + igGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownTooltip", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the page size drop down. Use option [locale.pageSizeDropDownTooltip](ui.iggridpaging#options:locale.pageSizeDropDownTooltip). + */ + igGridPaging(optionLiteral: 'option', optionName: "pageSizeDropDownTooltip"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the page size drop down. Use option [locale.pageSizeDropDownTooltip](ui.iggridpaging#options:locale.pageSizeDropDownTooltip). + * + * @optionValue New value to be set. + */ + igGridPaging(optionLiteral: 'option', optionName: "pageSizeDropDownTooltip", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the pager records label. Use option [locale.pagerRecordsLabelTooltip](ui.iggridpaging#options:locale.pagerRecordsLabelTooltip). + */ + igGridPaging(optionLiteral: 'option', optionName: "pagerRecordsLabelTooltip"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the pager records label. Use option [locale.pagerRecordsLabelTooltip](ui.iggridpaging#options:locale.pagerRecordsLabelTooltip). + * + * @optionValue New value to be set. + */ + igGridPaging(optionLiteral: 'option', optionName: "pagerRecordsLabelTooltip", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the previous page button. Use option [locale.prevPageTooltip](ui.iggridpaging#options:locale.prevPageTooltip). + */ + igGridPaging(optionLiteral: 'option', optionName: "prevPageTooltip"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the previous page button. Use option [locale.prevPageTooltip](ui.iggridpaging#options:locale.prevPageTooltip). + * + * @optionValue New value to be set. + */ + igGridPaging(optionLiteral: 'option', optionName: "prevPageTooltip", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the next page button. Use option [locale.nextPageTooltip](ui.iggridpaging#options:locale.nextPageTooltip). + */ + igGridPaging(optionLiteral: 'option', optionName: "nextPageTooltip"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the next page button. Use option [locale.nextPageTooltip](ui.iggridpaging#options:locale.nextPageTooltip). + * + * @optionValue New value to be set. + */ + igGridPaging(optionLiteral: 'option', optionName: "nextPageTooltip", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the first page button. Use option [locale.firstPageTooltip](ui.iggridpaging#options:locale.firstPageTooltip). + */ + igGridPaging(optionLiteral: 'option', optionName: "firstPageTooltip"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the first page button. Use option [locale.firstPageTooltip](ui.iggridpaging#options:locale.firstPageTooltip). + * + * @optionValue New value to be set. + */ + igGridPaging(optionLiteral: 'option', optionName: "firstPageTooltip", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the last page button. Use option [locale.lastPageTooltip](ui.iggridpaging#options:locale.lastPageTooltip). + */ + igGridPaging(optionLiteral: 'option', optionName: "lastPageTooltip"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the last page button. Use option [locale.lastPageTooltip](ui.iggridpaging#options:locale.lastPageTooltip). + * + * @optionValue New value to be set. + */ + igGridPaging(optionLiteral: 'option', optionName: "lastPageTooltip", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text templates of buttons that navigate to a particular page. The format string follows the [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. See also the [pageCountLimit](ui.iggridpaging#options:pageCountLimit) option. + * Use option [locale.pageTooltipFormat](ui.iggridpaging#options:locale.pageTooltipFormat). + */ + igGridPaging(optionLiteral: 'option', optionName: "pageTooltipFormat"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text templates of buttons that navigate to a particular page. The format string follows the [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. See also the [pageCountLimit](ui.iggridpaging#options:pageCountLimit) option. + * Use option [locale.pageTooltipFormat](ui.iggridpaging#options:locale.pageTooltipFormat). + * + * @optionValue New value to be set. + */ + igGridPaging(optionLiteral: 'option', optionName: "pageTooltipFormat", optionValue: string): void; + igGridPaging(optionLiteral: 'option', optionName: "locale"): IgGridPagingLocale; + igGridPaging(optionLiteral: 'option', optionName: "locale", optionValue: IgGridPagingLocale): void; + /** * Page size dropdown location, when [showPageSizeDropDown](ui.iggridpaging#options:showPageSizeDropDown) is set to true. Can be rendered above the grid header or inside the pager, next to the page links. * @@ -52532,76 +53129,6 @@ interface JQuery { */ igGridPaging(optionLiteral: 'option', optionName: "showPagerRecordsLabel", optionValue: boolean): void; - /** - * Custom pager records label template - in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. - * - */ - igGridPaging(optionLiteral: 'option', optionName: "pagerRecordsLabelTemplate"): string; - - /** - * Custom pager records label template - in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. - * - * - * @optionValue New value to be set. - */ - igGridPaging(optionLiteral: 'option', optionName: "pagerRecordsLabelTemplate", optionValue: string): void; - - /** - * Text for the next page label. - * - */ - igGridPaging(optionLiteral: 'option', optionName: "nextPageLabelText"): string; - - /** - * Text for the next page label. - * - * - * @optionValue New value to be set. - */ - igGridPaging(optionLiteral: 'option', optionName: "nextPageLabelText", optionValue: string): void; - - /** - * Text for the previous page label. - * - */ - igGridPaging(optionLiteral: 'option', optionName: "prevPageLabelText"): string; - - /** - * Text for the previous page label. - * - * - * @optionValue New value to be set. - */ - igGridPaging(optionLiteral: 'option', optionName: "prevPageLabelText", optionValue: string): void; - - /** - * Text for the first page label. - * - */ - igGridPaging(optionLiteral: 'option', optionName: "firstPageLabelText"): string; - - /** - * Text for the first page label. - * - * - * @optionValue New value to be set. - */ - igGridPaging(optionLiteral: 'option', optionName: "firstPageLabelText", optionValue: string): void; - - /** - * Text for the last page label. - * - */ - igGridPaging(optionLiteral: 'option', optionName: "lastPageLabelText"): string; - - /** - * Text for the last page label. - * - * - * @optionValue New value to be set. - */ - igGridPaging(optionLiteral: 'option', optionName: "lastPageLabelText", optionValue: string): void; - /** * Option specifying whether to render the first and last page navigation buttons. * @@ -52630,146 +53157,6 @@ interface JQuery { */ igGridPaging(optionLiteral: 'option', optionName: "showPrevNextPages", optionValue: boolean): void; - /** - * Leading label text for the drop down from where the page index can be switched. - * - */ - igGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownLeadingLabel"): string; - - /** - * Leading label text for the drop down from where the page index can be switched. - * - * - * @optionValue New value to be set. - */ - igGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownLeadingLabel", optionValue: string): void; - - /** - * Trailing label text for the drop down from where the page index can be switched. - * - */ - igGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownTrailingLabel"): string; - - /** - * Trailing label text for the drop down from where the page index can be switched. - * - * - * @optionValue New value to be set. - */ - igGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownTrailingLabel", optionValue: string): void; - - /** - * Tooltip text for the page index drop down. - * - */ - igGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownTooltip"): string; - - /** - * Tooltip text for the page index drop down. - * - * - * @optionValue New value to be set. - */ - igGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownTooltip", optionValue: string): void; - - /** - * Tooltip text for the page size drop down. - * - */ - igGridPaging(optionLiteral: 'option', optionName: "pageSizeDropDownTooltip"): string; - - /** - * Tooltip text for the page size drop down. - * - * - * @optionValue New value to be set. - */ - igGridPaging(optionLiteral: 'option', optionName: "pageSizeDropDownTooltip", optionValue: string): void; - - /** - * Tooltip text for the pager records label. - * - */ - igGridPaging(optionLiteral: 'option', optionName: "pagerRecordsLabelTooltip"): string; - - /** - * Tooltip text for the pager records label. - * - * - * @optionValue New value to be set. - */ - igGridPaging(optionLiteral: 'option', optionName: "pagerRecordsLabelTooltip", optionValue: string): void; - - /** - * Tooltip text for the previous page button. - * - */ - igGridPaging(optionLiteral: 'option', optionName: "prevPageTooltip"): string; - - /** - * Tooltip text for the previous page button. - * - * - * @optionValue New value to be set. - */ - igGridPaging(optionLiteral: 'option', optionName: "prevPageTooltip", optionValue: string): void; - - /** - * Tooltip text for the next page button. - * - */ - igGridPaging(optionLiteral: 'option', optionName: "nextPageTooltip"): string; - - /** - * Tooltip text for the next page button. - * - * - * @optionValue New value to be set. - */ - igGridPaging(optionLiteral: 'option', optionName: "nextPageTooltip", optionValue: string): void; - - /** - * Tooltip text for the first page button. - * - */ - igGridPaging(optionLiteral: 'option', optionName: "firstPageTooltip"): string; - - /** - * Tooltip text for the first page button. - * - * - * @optionValue New value to be set. - */ - igGridPaging(optionLiteral: 'option', optionName: "firstPageTooltip", optionValue: string): void; - - /** - * Tooltip text for the last page button. - * - */ - igGridPaging(optionLiteral: 'option', optionName: "lastPageTooltip"): string; - - /** - * Tooltip text for the last page button. - * - * - * @optionValue New value to be set. - */ - igGridPaging(optionLiteral: 'option', optionName: "lastPageTooltip", optionValue: string): void; - - /** - * Tooltip text templates of buttons that navigate to a particular page. The format string follows the [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. See also the [pageCountLimit](ui.iggridpaging#options:pageCountLimit) option. - * - */ - igGridPaging(optionLiteral: 'option', optionName: "pageTooltipFormat"): string; - - /** - * Tooltip text templates of buttons that navigate to a particular page. The format string follows the [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. See also the [pageCountLimit](ui.iggridpaging#options:pageCountLimit) option. - * - * - * @optionValue New value to be set. - */ - igGridPaging(optionLiteral: 'option', optionName: "pageTooltipFormat", optionValue: string): void; - /** * Predefined page sizes that are available to the end user to switch their grid paging to, through a drop down in the grid header. * @@ -53863,6 +54250,37 @@ interface JQuery { igGridResponsive(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; igGridResponsive(methodName: string, ...methodParams: any[]): any; } +interface IgGridRowSelectorsLocale { + /** + * Selected records text for the select/deselect all overlay. + * + */ + selectedRecordsText?: string; + + /** + * Deselected records text for the select/deselect all overlay. + * + */ + deselectedRecordsText?: string; + + /** + * Select all text for the select/deselect all overlay. + * + */ + selectAllText?: string; + + /** + * Deselect all text for the select/deselect all overlay. + * + */ + deselectAllText?: string; + + /** + * Option for IgGridRowSelectorsLocale + */ + [optionName: string]: any; +} + interface RowSelectorClickedEvent { (event: Event, ui: RowSelectorClickedEventUIParam): void; } @@ -54075,6 +54493,7 @@ interface IgGridRowSelectors { * */ deselectAllForPagingTemplate?: string; + locale?: IgGridRowSelectorsLocale; /** * Event fired after a row selector is clicked. @@ -54098,6 +54517,7 @@ interface IgGridRowSelectors { } interface IgGridRowSelectorsMethods { destroy(): void; + changeLocale(): void; } interface JQuery { data(propertyName: "igGridRowSelectors"): IgGridRowSelectorsMethods; @@ -54105,6 +54525,7 @@ interface JQuery { interface JQuery { igGridRowSelectors(methodName: "destroy"): void; + igGridRowSelectors(methodName: "changeLocale"): void; /** * Determines whether the row selectors column should contain row numbering @@ -54265,6 +54686,8 @@ interface JQuery { * @optionValue New value to be set. */ igGridRowSelectors(optionLiteral: 'option', optionName: "deselectAllForPagingTemplate", optionValue: string): void; + igGridRowSelectors(optionLiteral: 'option', optionName: "locale"): IgGridRowSelectorsLocale; + igGridRowSelectors(optionLiteral: 'option', optionName: "locale", optionValue: IgGridRowSelectorsLocale): void; /** * Event fired after a row selector is clicked. @@ -55094,6 +55517,697 @@ interface JQuery { igGridSelection(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; igGridSelection(methodName: string, ...methodParams: any[]): any; } +interface ButtonOKClickEvent { + (event: Event, ui: ButtonOKClickEventUIParam): void; +} + +interface ButtonOKClickEventUIParam { + /** + * Gets the reference to the igGridModalDialog widget. + */ + owner?: any; + + /** + * Gets a reference to the igGridModalDialog element. + */ + modalDialog?: string; +} + +interface ButtonCancelClickEvent { + (event: Event, ui: ButtonCancelClickEventUIParam): void; +} + +interface ButtonCancelClickEventUIParam { + /** + * Gets the reference to the igGridModalDialog widget. + */ + owner?: any; + + /** + * Gets a reference to the igGridModalDialog element. + */ + modalDialog?: string; +} + +interface IgGridModalDialog { + /** + * The default modal dialog width in pixels. + */ + modalDialogWidth?: number; + + /** + * The default modal dialog height in pixels. + */ + modalDialogHeight?: number; + renderFooterButtons?: boolean; + animationDuration?: number; + buttonApplyDisabled?: boolean; + + /** + * If true and Enter is pressed - close modal dialog(NOTE: buttonApplyDisabled should be set to false - otherwise this options is ignored) + */ + closeModalDialogOnEnter?: boolean; + + /** + * Tab index to assign to containers and buttons inside the dialog + */ + tabIndex?: number; + + /** + * Event fired before the modal dialog is opened. + */ + modalDialogOpening?: ModalDialogOpeningEvent; + + /** + * Event fired after the modal dialog is already opened. + */ + modalDialogOpened?: ModalDialogOpenedEvent; + + /** + * Event fired every time the modal dialog changes its position. + */ + modalDialogMoving?: ModalDialogMovingEvent; + + /** + * Event fired before the modal dialog is closed. + * The handler function takes arguments evt and ui. + * Use ui.owner to get the reference to the igGridModalDialog widget. + * Use ui.modalDialog to get the reference to the igGridModalDialog element + */ + modalDialogClosing?: ModalDialogClosingEvent; + + /** + * Event fired after the modal dialog has been closed. + */ + modalDialogClosed?: ModalDialogClosedEvent; + + /** + * Event fired before the contents of the modal dialog are rendered. + */ + modalDialogContentsRendering?: ModalDialogContentsRenderingEvent; + + /** + * Event fired after the contents of the modal dialog are rendered. + */ + modalDialogContentsRendered?: ModalDialogContentsRenderedEvent; + + /** + * Event fired when the button OK/Apply is clicked + */ + buttonOKClick?: ButtonOKClickEvent; + + /** + * Event fired when the button Cancel is clicked + */ + buttonCancelClick?: ButtonCancelClickEvent; + + /** + * Option for igGridModalDialog + */ + [optionName: string]: any; +} +interface IgGridModalDialogMethods { + openModalDialog(): void; + changeLocale(): void; + closeModalDialog(accepted: Object, e: Object): void; + getCaptionButtonContainer(): void; + getFooter(): void; + getContent(): void; + destroy(): void; +} +interface JQuery { + data(propertyName: "igGridModalDialog"): IgGridModalDialogMethods; +} + +interface IgEditorFilter { + /** + * Option for igEditorFilter + */ + [optionName: string]: any; +} +interface IgEditorFilterMethods { + setFocus(delay: Object, toggle: Object): void; + remove(): void; + exitEditMode(): void; + validator(): void; + hasInvalidMessage(): void; + destroy(): void; +} +interface JQuery { + data(propertyName: "igEditorFilter"): IgEditorFilterMethods; +} + +declare namespace Infragistics { +class EditorProvider { + /** + * Create handlers cache + * + * @param callbacks + * @param key + * @param editorOptions + * @param tabIndex + * @param format + * @param element + */ + createEditor(callbacks: Object, key: Object, editorOptions: Object, tabIndex: Object, format: Object, element: Object): void; + keyDown(evt: Object, ui: Object): void; + attachErrorEvents(errorShowing: Object, errorShown: Object, errorHidden: Object): void; + getEditor(): void; + refreshValue(): void; + getValue(): void; + setValue(val: Object): void; + setFocus(toggle: Object): void; + setSize(width: Object, height: Object): void; + removeFromParent(): void; + destroy(): void; + validator(): void; + validate(): void; + requestValidate(evt: Object): void; + isValid(): void; +} +} + +declare namespace Infragistics { +class EditorProviderBase { + /** + * Call parent createEditor + * + * @param callbacks + * @param key + * @param editorOptions + * @param tabIndex + * @param format + * @param element + */ + createEditor(callbacks: Object, key: Object, editorOptions: Object, tabIndex: Object, format: Object, element: Object): void; + textChanged(evt: Object, ui: Object): void; + setSize(width: Object, height: Object): void; + setFocus(): void; + removeFromParent(): void; + destroy(): void; + refreshValue(): void; + validator(): void; + isValid(): void; + keyDown(evt: Object, ui: Object): void; + attachErrorEvents(errorShowing: Object, errorShown: Object, errorHidden: Object): void; + getEditor(): void; + getValue(): void; + setValue(val: Object): void; + validate(): void; + requestValidate(evt: Object): void; +} +} + +declare namespace Infragistics { +class EditorProviderText { + createEditor(callbacks: Object, key: Object, editorOptions: Object, tabIndex: Object, format: Object, element: Object): void; + keyDown(evt: Object, ui: Object): void; + textChanged(evt: Object, ui: Object): void; + setSize(width: Object, height: Object): void; + setFocus(): void; + removeFromParent(): void; + destroy(): void; + refreshValue(): void; + validator(): void; + isValid(): void; +} +} + +declare namespace Infragistics { +class EditorProviderNumeric { + createEditor(callbacks: Object, key: Object, editorOptions: Object, tabIndex: Object, format: Object, element: Object): void; + getValue(): void; + textChanged(evt: Object, ui: Object): void; + setSize(width: Object, height: Object): void; + setFocus(): void; + removeFromParent(): void; + destroy(): void; + refreshValue(): void; + validator(): void; + isValid(): void; +} +} + +declare namespace Infragistics { +class EditorProviderCurrency { + createEditor(callbacks: Object, key: Object, editorOptions: Object, tabIndex: Object, format: Object, element: Object): void; + textChanged(evt: Object, ui: Object): void; + setSize(width: Object, height: Object): void; + setFocus(): void; + removeFromParent(): void; + destroy(): void; + refreshValue(): void; + validator(): void; + isValid(): void; +} +} + +declare namespace Infragistics { +class EditorProviderPercent { + createEditor(callbacks: Object, key: Object, editorOptions: Object, tabIndex: Object, format: Object, element: Object): void; + textChanged(evt: Object, ui: Object): void; + setSize(width: Object, height: Object): void; + setFocus(): void; + removeFromParent(): void; + destroy(): void; + refreshValue(): void; + validator(): void; + isValid(): void; +} +} + +declare namespace Infragistics { +class EditorProviderMask { + createEditor(callbacks: Object, key: Object, editorOptions: Object, tabIndex: Object, format: Object, element: Object): void; + textChanged(evt: Object, ui: Object): void; + setSize(width: Object, height: Object): void; + setFocus(): void; + removeFromParent(): void; + destroy(): void; + refreshValue(): void; + validator(): void; + isValid(): void; +} +} + +declare namespace Infragistics { +class EditorProviderDate { + createEditor(callbacks: Object, key: Object, editorOptions: Object, tabIndex: Object, format: Object, element: Object, offset: Object): void; + setValue(value: Object, fe: Object, newOffset: Object): void; + textChanged(evt: Object, ui: Object): void; + setSize(width: Object, height: Object): void; + setFocus(): void; + removeFromParent(): void; + destroy(): void; + refreshValue(): void; + validator(): void; + isValid(): void; +} +} + +declare namespace Infragistics { +class EditorProviderDatePicker { + createEditor(callbacks: Object, key: Object, editorOptions: Object, tabIndex: Object, format: Object, element: Object, offset: Object): void; + removeFromParent(): void; + setValue(value: Object, fe: Object, newOffset: Object): void; + textChanged(evt: Object, ui: Object): void; + setSize(width: Object, height: Object): void; + setFocus(): void; + destroy(): void; + refreshValue(): void; + validator(): void; + isValid(): void; +} +} + +declare namespace Infragistics { +class EditorProviderBoolean { + createEditor(callbacks: Object, key: Object, editorOptions: Object, tabIndex: Object, format: Object, element: Object): void; + valueChanged(evt: Object, ui: Object): void; + refreshValue(): void; + getValue(): void; + setValue(val: Object): void; + setSize(width: Object, height: Object): void; + removeFromParent(): void; + destroy(): void; + textChanged(evt: Object, ui: Object): void; + setFocus(): void; + validator(): void; + isValid(): void; +} +} + +declare namespace Infragistics { +class EditorProviderCombo { + createEditor(callbacks: Object, key: Object, editorOptions: Object, tabIndex: Object, format: Object, element: Object): void; + keyDown(evt: Object, ui: Object): void; + internalSelectionChanged(evt: Object, ui: Object): void; + selectionChanged(evt: Object, ui: Object): void; + refreshValue(): void; + getValue(): void; + setValue(val: Object, fire: Object): void; + setSize(width: Object, height: Object): void; + setFocus(): void; + removeFromParent(): void; + validator(): void; + destroy(): void; + isValid(): void; + attachErrorEvents(errorShowing: Object, errorShown: Object, errorHidden: Object): void; + getEditor(): void; + validate(): void; + requestValidate(evt: Object): void; +} +} + +declare namespace Infragistics { +class EditorProviderObjectCombo { + getValue(): void; + setValue(val: Object, fire: Object): void; + createEditor(callbacks: Object, key: Object, editorOptions: Object, tabIndex: Object, format: Object, element: Object): void; + keyDown(evt: Object, ui: Object): void; + internalSelectionChanged(evt: Object, ui: Object): void; + selectionChanged(evt: Object, ui: Object): void; + refreshValue(): void; + setSize(width: Object, height: Object): void; + setFocus(): void; + removeFromParent(): void; + validator(): void; + destroy(): void; + isValid(): void; +} +} + +declare namespace Infragistics { +class EditorProviderRating { + createEditor(callbacks: Object, key: Object, editorOptions: Object, tabIndex: Object, format: Object, element: Object): void; + internalValueChange(evt: Object, ui: Object): void; + valueChange(evt: Object, ui: Object): void; + setValue(val: Object): void; + setSize(width: Object, height: Object): void; + setFocus(): void; + validator(): void; + destroy(): void; + isValid(): void; + keyDown(evt: Object, ui: Object): void; + attachErrorEvents(errorShowing: Object, errorShown: Object, errorHidden: Object): void; + getEditor(): void; + refreshValue(): void; + getValue(): void; + removeFromParent(): void; + validate(): void; + requestValidate(evt: Object): void; +} +} + +declare namespace Infragistics { +class SortingExpressionsManager { + setGridInstance(grid: Object): void; + + /** + * Insert expr at the first position of the se (sorting expressions) if there are not any other expressions with flag group by + * otherwise if there are such expressions inserts after the last + * + * @param se + * @param expr + * @param feature + */ + addSortingExpression(se: Object, expr: Object, feature: Object): void; + setFormattersForSortingExprs(exprs: Object, grid: Object): void; +} +} + +interface JQuery { + igGridModalDialog(methodName: "openModalDialog"): void; + igGridModalDialog(methodName: "changeLocale"): void; + igGridModalDialog(methodName: "closeModalDialog", accepted: Object, e: Object): void; + igGridModalDialog(methodName: "getCaptionButtonContainer"): void; + igGridModalDialog(methodName: "getFooter"): void; + igGridModalDialog(methodName: "getContent"): void; + igGridModalDialog(methodName: "destroy"): void; + + /** + * The default modal dialog width in pixels. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "modalDialogWidth"): number; + + /** + * The default modal dialog width in pixels. + * + * @optionValue New value to be set. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "modalDialogWidth", optionValue: number): void; + + /** + * The default modal dialog height in pixels. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "modalDialogHeight"): number; + + /** + * The default modal dialog height in pixels. + * + * @optionValue New value to be set. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "modalDialogHeight", optionValue: number): void; + igGridModalDialog(optionLiteral: 'option', optionName: "renderFooterButtons"): boolean; + igGridModalDialog(optionLiteral: 'option', optionName: "renderFooterButtons", optionValue: boolean): void; + igGridModalDialog(optionLiteral: 'option', optionName: "animationDuration"): number; + igGridModalDialog(optionLiteral: 'option', optionName: "animationDuration", optionValue: number): void; + igGridModalDialog(optionLiteral: 'option', optionName: "buttonApplyDisabled"): boolean; + igGridModalDialog(optionLiteral: 'option', optionName: "buttonApplyDisabled", optionValue: boolean): void; + + /** + * If true and Enter is pressed - close modal dialog(NOTE: buttonApplyDisabled should be set to false - otherwise this options is ignored) + */ + igGridModalDialog(optionLiteral: 'option', optionName: "closeModalDialogOnEnter"): boolean; + + /** + * If true and Enter is pressed - close modal dialog(NOTE: buttonApplyDisabled should be set to false - otherwise this options is ignored) + * + * @optionValue New value to be set. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "closeModalDialogOnEnter", optionValue: boolean): void; + + /** + * Tab index to assign to containers and buttons inside the dialog + */ + igGridModalDialog(optionLiteral: 'option', optionName: "tabIndex"): number; + + /** + * Tab index to assign to containers and buttons inside the dialog + * + * @optionValue New value to be set. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "tabIndex", optionValue: number): void; + + /** + * Event fired before the modal dialog is opened. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "modalDialogOpening"): ModalDialogOpeningEvent; + + /** + * Event fired before the modal dialog is opened. + * + * @optionValue Define event handler function. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "modalDialogOpening", optionValue: ModalDialogOpeningEvent): void; + + /** + * Event fired after the modal dialog is already opened. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "modalDialogOpened"): ModalDialogOpenedEvent; + + /** + * Event fired after the modal dialog is already opened. + * + * @optionValue Define event handler function. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "modalDialogOpened", optionValue: ModalDialogOpenedEvent): void; + + /** + * Event fired every time the modal dialog changes its position. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "modalDialogMoving"): ModalDialogMovingEvent; + + /** + * Event fired every time the modal dialog changes its position. + * + * @optionValue Define event handler function. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "modalDialogMoving", optionValue: ModalDialogMovingEvent): void; + + /** + * Event fired before the modal dialog is closed. + * The handler function takes arguments evt and ui. + * Use ui.owner to get the reference to the igGridModalDialog widget. + * Use ui.modalDialog to get the reference to the igGridModalDialog element + */ + igGridModalDialog(optionLiteral: 'option', optionName: "modalDialogClosing"): ModalDialogClosingEvent; + + /** + * Event fired before the modal dialog is closed. + * The handler function takes arguments evt and ui. + * Use ui.owner to get the reference to the igGridModalDialog widget. + * Use ui.modalDialog to get the reference to the igGridModalDialog element + * + * @optionValue Define event handler function. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "modalDialogClosing", optionValue: ModalDialogClosingEvent): void; + + /** + * Event fired after the modal dialog has been closed. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "modalDialogClosed"): ModalDialogClosedEvent; + + /** + * Event fired after the modal dialog has been closed. + * + * @optionValue Define event handler function. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "modalDialogClosed", optionValue: ModalDialogClosedEvent): void; + + /** + * Event fired before the contents of the modal dialog are rendered. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "modalDialogContentsRendering"): ModalDialogContentsRenderingEvent; + + /** + * Event fired before the contents of the modal dialog are rendered. + * + * @optionValue Define event handler function. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "modalDialogContentsRendering", optionValue: ModalDialogContentsRenderingEvent): void; + + /** + * Event fired after the contents of the modal dialog are rendered. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "modalDialogContentsRendered"): ModalDialogContentsRenderedEvent; + + /** + * Event fired after the contents of the modal dialog are rendered. + * + * @optionValue Define event handler function. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "modalDialogContentsRendered", optionValue: ModalDialogContentsRenderedEvent): void; + + /** + * Event fired when the button OK/Apply is clicked + */ + igGridModalDialog(optionLiteral: 'option', optionName: "buttonOKClick"): ButtonOKClickEvent; + + /** + * Event fired when the button OK/Apply is clicked + * + * @optionValue Define event handler function. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "buttonOKClick", optionValue: ButtonOKClickEvent): void; + + /** + * Event fired when the button Cancel is clicked + */ + igGridModalDialog(optionLiteral: 'option', optionName: "buttonCancelClick"): ButtonCancelClickEvent; + + /** + * Event fired when the button Cancel is clicked + * + * @optionValue Define event handler function. + */ + igGridModalDialog(optionLiteral: 'option', optionName: "buttonCancelClick", optionValue: ButtonCancelClickEvent): void; + igGridModalDialog(options: IgGridModalDialog): JQuery; + igGridModalDialog(optionLiteral: 'option', optionName: string): any; + igGridModalDialog(optionLiteral: 'option', options: IgGridModalDialog): JQuery; + igGridModalDialog(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; + igGridModalDialog(methodName: string, ...methodParams: any[]): any; +} +interface JQuery { + igEditorFilter(methodName: "setFocus", delay: Object, toggle: Object): void; + igEditorFilter(methodName: "remove"): void; + igEditorFilter(methodName: "exitEditMode"): void; + igEditorFilter(methodName: "validator"): void; + igEditorFilter(methodName: "hasInvalidMessage"): void; + igEditorFilter(methodName: "destroy"): void; + igEditorFilter(options: IgEditorFilter): JQuery; + igEditorFilter(optionLiteral: 'option', optionName: string): any; + igEditorFilter(optionLiteral: 'option', options: IgEditorFilter): JQuery; + igEditorFilter(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; + igEditorFilter(methodName: string, ...methodParams: any[]): any; +} +interface IgGridSortingLocale { + /** + * Custom sorted column tooltip in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) format. + * + */ + sortedColumnTooltipFormat?: string; + + /** + * Unsorted column tooltip. + * + */ + unsortedColumnTooltip?: string; + + /** + * Ascending text used for header title. + * + */ + ascending?: string; + + /** + * Descending text used for header title. + * + */ + descending?: string; + + /** + * Specifies sortby button text for each unsorted column in multiple sorting dialog. + * + */ + modalDialogSortByButtonText?: string; + + /** + * Specifies reset button text in the modal dialog. + * + */ + modalDialogResetButton?: string; + + /** + * Specifies caption for each descending sorted column in multiple sorting dialog. + * + */ + modalDialogCaptionButtonDesc?: string; + + /** + * Specifies caption for each ascending sorted column in multiple sorting dialog. + * + */ + modalDialogCaptionButtonAsc?: string; + + /** + * Specifies caption for unsort button in multiple sorting dialog. + * + */ + modalDialogCaptionButtonUnsort?: string; + + /** + * Specifies the text of the feature chooser sorting button. + * + */ + featureChooserText?: string; + + /** + * Specifies caption text for multiple sorting dialog. + * + */ + modalDialogCaptionText?: string; + + /** + * Specifies text of button which applies changes in modal dialog. + * + */ + modalDialogButtonApplyText?: string; + + /** + * Specifies text of button which cancels the changes in the advanced sorting modal dialog. + * + */ + modalDialogButtonCancelText?: string; + + /** + * Specifies the text shown in the feature chooser item for sorting in ascending order (displayed only on touch environment). + * + */ + featureChooserSortAsc?: string; + + /** + * Specifies the text shown in the feature chooser item for sorting in descending order (displayed only on touch environment). + * + */ + featureChooserSortDesc?: string; + + /** + * Option for IgGridSortingLocale + */ + [optionName: string]: any; +} + interface IgGridSortingColumnSetting { /** * Identifies the grid column by key. Either key or index must be set in every column setting. @@ -55344,11 +56458,6 @@ interface IgGridSorting { */ firstSortDirection?: string; - /** - * Custom sorted column tooltip in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) format - */ - sortedColumnTooltip?: string; - /** * Specifies whether sorting to be applied immediately when click sort/unsort columns when using the multiple sorting dialog. When it is false Apply button shows and sorting is applied when the button is clicked. * @@ -55356,35 +56465,90 @@ interface IgGridSorting { modalDialogSortOnClick?: boolean; /** + * This option has been removed as of 2017.2 Volume release. * Specifies sortby button text for each unsorted column in multiple sorting dialog. - * + * Use option [locale.modalDialogSortByButtonText](ui.iggridsorting#options:locale.modalDialogSortByButtonText). */ modalDialogSortByButtonText?: string; /** - * Specifies sortby button label for each unsorted column in multiple sorting dialog. - * + * This option has been removed as of 2017.2 Volume release. + * Specifies reset button text in multiple sorting dialog. + * Use option [locale.modalDialogResetButton](ui.iggridsorting#options:locale.modalDialogResetButton). */ modalDialogResetButtonLabel?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies caption for each descending sorted column in multiple sorting dialog. - * + * Use option [locale.modalDialogCaptionButtonDesc](ui.iggridsorting#options:locale.modalDialogCaptionButtonDesc). */ modalDialogCaptionButtonDesc?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies caption for each ascending sorted column in multiple sorting dialog. - * + * Use option [locale.modalDialogCaptionButtonAsc](ui.iggridsorting#options:locale.modalDialogCaptionButtonAsc). */ modalDialogCaptionButtonAsc?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies caption for unsort button in multiple sorting dialog. - * + * Use option [locale.modalDialogCaptionButtonUnsort](ui.iggridsorting#options:locale.modalDialogCaptionButtonUnsort). */ modalDialogCaptionButtonUnsort?: string; + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies the text of the feature chooser sorting button. + * Use option [locale.featureChooserText](ui.iggridsorting#options:locale.featureChooserText). + */ + featureChooserText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Custom unsorted column tooltip in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) format. + * Use option [locale.unsortedColumnTooltip](ui.iggridsorting#options:locale.unsortedColumnTooltip). + */ + unsortedColumnTooltip?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption text for multiple sorting dialog. + * Use option [locale.modalDialogCaptionText](ui.iggridsorting#options:locale.modalDialogCaptionText). + */ + modalDialogCaptionText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies text of button which apply changes in modal dialog. + * Use option [locale.modalDialogButtonApplyText](ui.iggridsorting#options:locale.modalDialogButtonApplyText). + */ + modalDialogButtonApplyText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies text of button which cancels the changes in the advanced sorting modal dialog. + * Use option [locale.modalDialogButtonCancelText](ui.iggridsorting#options:locale.modalDialogButtonCancelText). + */ + modalDialogButtonCancelText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies the text shown in the feature chooser item for sorting in ascending order (displayed only on touch environment). + * Use option [locale.featureChooserSortAsc](ui.iggridsorting#options:locale.featureChooserSortAsc). + */ + featureChooserSortAsc?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies the text shown in the feature chooser item for sorting in descending order (displayed only on touch environment). + * Use option [locale.featureChooserSortDesc](ui.iggridsorting#options:locale.featureChooserSortDesc). + */ + featureChooserSortDesc?: string; + locale?: IgGridSortingLocale; + /** * Specifies width of multiple sorting dialog. * @@ -55411,54 +56575,12 @@ interface IgGridSorting { */ modalDialogAnimationDuration?: number; - /** - * Specifies the text of the feature chooser sorting button. - * - */ - featureChooserText?: string; - - /** - * Custom unsorted column tooltip in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) format. - * - */ - unsortedColumnTooltip?: string; - /** * A list of custom column settings that specify custom sorting settings for a specific column (whether sorting is enabled / disabled, default sort direction, first sort direction, etc.). * */ columnSettings?: IgGridSortingColumnSetting[]; - /** - * Specifies caption text for multiple sorting dialog. - * - */ - modalDialogCaptionText?: string; - - /** - * Specifies text of button which apply changes in modal dialog. - * - */ - modalDialogButtonApplyText?: string; - - /** - * Specifies text of button which cancels the changes in the advanced sorting modal dialog. - * - */ - modalDialogButtonCancelText?: string; - - /** - * Specifies the text shown in the feature chooser item for sorting in ascending order (displayed only on touch environment). - * - */ - featureChooserSortAsc?: string; - - /** - * Specifies the text shown in the feature chooser item for sorting in descending order (displayed only on touch environment). - * - */ - featureChooserSortDesc?: string; - /** * Enables/disables sorting persistence when the grid is rebound. * @@ -55562,6 +56684,8 @@ interface IgGridSorting { [optionName: string]: any; } interface IgGridSortingMethods { + changeLocale(): void; + /** * Sorts the data in a grid column and updates the UI. * @@ -55572,9 +56696,11 @@ interface IgGridSortingMethods { sortColumn(index: Object, direction: Object, header: Object): void; /** - * Sorts the data in grid columns and updates the UI.\ + * Sorts the data in grid columns and updates the UI. It accepts optional argument - array of sorting expressions. If passed then sorts the data and sets sorting expressions of the data source. If not passed uses current sorting expressions of the data source. + * + * @param exprs array of sorting expressions. If not set then the method uses expressions defined in sorting settings of the data source. */ - sortMultiple(): void; + sortMultiple(exprs?: any[]): void; /** * Removes current sorting(for all sorted columns) and updates the UI. @@ -55621,8 +56747,9 @@ interface JQuery { } interface JQuery { + igGridSorting(methodName: "changeLocale"): void; igGridSorting(methodName: "sortColumn", index: Object, direction: Object, header: Object): void; - igGridSorting(methodName: "sortMultiple"): void; + igGridSorting(methodName: "sortMultiple", exprs?: any[]): void; igGridSorting(methodName: "clearSorting"): void; igGridSorting(methodName: "unsortColumn", index: Object, header: Object): void; igGridSorting(methodName: "destroy"): void; @@ -55763,18 +56890,6 @@ interface JQuery { igGridSorting(optionLiteral: 'option', optionName: "firstSortDirection", optionValue: string): void; - /** - * Custom sorted column tooltip in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) format - */ - igGridSorting(optionLiteral: 'option', optionName: "sortedColumnTooltip"): string; - - /** - * Custom sorted column tooltip in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) format - * - * @optionValue New value to be set. - */ - igGridSorting(optionLiteral: 'option', optionName: "sortedColumnTooltip", optionValue: string): void; - /** * Gets whether sorting to be applied immediately when click sort/unsort columns when using the multiple sorting dialog. When it is false Apply button shows and sorting is applied when the button is clicked. * @@ -55790,75 +56905,199 @@ interface JQuery { igGridSorting(optionLiteral: 'option', optionName: "modalDialogSortOnClick", optionValue: boolean): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets sortby button text for each unsorted column in multiple sorting dialog. - * + * Use option [locale.modalDialogSortByButtonText](ui.iggridsorting#options:locale.modalDialogSortByButtonText). */ igGridSorting(optionLiteral: 'option', optionName: "modalDialogSortByButtonText"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets sortby button text for each unsorted column in multiple sorting dialog. - * + * Use option [locale.modalDialogSortByButtonText](ui.iggridsorting#options:locale.modalDialogSortByButtonText). * * @optionValue New value to be set. */ igGridSorting(optionLiteral: 'option', optionName: "modalDialogSortByButtonText", optionValue: string): void; /** - * Gets sortby button label for each unsorted column in multiple sorting dialog. - * + * This option has been removed as of 2017.2 Volume release. + * Gets reset button text in multiple sorting dialog. + * Use option [locale.modalDialogResetButton](ui.iggridsorting#options:locale.modalDialogResetButton). */ igGridSorting(optionLiteral: 'option', optionName: "modalDialogResetButtonLabel"): string; /** - * Sets sortby button label for each unsorted column in multiple sorting dialog. - * + * This option has been removed as of 2017.2 Volume release. + * Sets reset button text in multiple sorting dialog. + * Use option [locale.modalDialogResetButton](ui.iggridsorting#options:locale.modalDialogResetButton). * * @optionValue New value to be set. */ igGridSorting(optionLiteral: 'option', optionName: "modalDialogResetButtonLabel", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets caption for each descending sorted column in multiple sorting dialog. - * + * Use option [locale.modalDialogCaptionButtonDesc](ui.iggridsorting#options:locale.modalDialogCaptionButtonDesc). */ igGridSorting(optionLiteral: 'option', optionName: "modalDialogCaptionButtonDesc"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets caption for each descending sorted column in multiple sorting dialog. - * + * Use option [locale.modalDialogCaptionButtonDesc](ui.iggridsorting#options:locale.modalDialogCaptionButtonDesc). * * @optionValue New value to be set. */ igGridSorting(optionLiteral: 'option', optionName: "modalDialogCaptionButtonDesc", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets caption for each ascending sorted column in multiple sorting dialog. - * + * Use option [locale.modalDialogCaptionButtonAsc](ui.iggridsorting#options:locale.modalDialogCaptionButtonAsc). */ igGridSorting(optionLiteral: 'option', optionName: "modalDialogCaptionButtonAsc"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets caption for each ascending sorted column in multiple sorting dialog. - * + * Use option [locale.modalDialogCaptionButtonAsc](ui.iggridsorting#options:locale.modalDialogCaptionButtonAsc). * * @optionValue New value to be set. */ igGridSorting(optionLiteral: 'option', optionName: "modalDialogCaptionButtonAsc", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets caption for unsort button in multiple sorting dialog. - * + * Use option [locale.modalDialogCaptionButtonUnsort](ui.iggridsorting#options:locale.modalDialogCaptionButtonUnsort). */ igGridSorting(optionLiteral: 'option', optionName: "modalDialogCaptionButtonUnsort"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets caption for unsort button in multiple sorting dialog. - * + * Use option [locale.modalDialogCaptionButtonUnsort](ui.iggridsorting#options:locale.modalDialogCaptionButtonUnsort). * * @optionValue New value to be set. */ igGridSorting(optionLiteral: 'option', optionName: "modalDialogCaptionButtonUnsort", optionValue: string): void; + /** + * This option has been removed as of 2017.2 Volume release. + * Gets the text of the feature chooser sorting button. + * Use option [locale.featureChooserText](ui.iggridsorting#options:locale.featureChooserText). + */ + igGridSorting(optionLiteral: 'option', optionName: "featureChooserText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets the text of the feature chooser sorting button. + * Use option [locale.featureChooserText](ui.iggridsorting#options:locale.featureChooserText). + * + * @optionValue New value to be set. + */ + igGridSorting(optionLiteral: 'option', optionName: "featureChooserText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Custom unsorted column tooltip in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) format. + * Use option [locale.unsortedColumnTooltip](ui.iggridsorting#options:locale.unsortedColumnTooltip). + */ + igGridSorting(optionLiteral: 'option', optionName: "unsortedColumnTooltip"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Custom unsorted column tooltip in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) format. + * Use option [locale.unsortedColumnTooltip](ui.iggridsorting#options:locale.unsortedColumnTooltip). + * + * @optionValue New value to be set. + */ + igGridSorting(optionLiteral: 'option', optionName: "unsortedColumnTooltip", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption text for multiple sorting dialog. + * Use option [locale.modalDialogCaptionText](ui.iggridsorting#options:locale.modalDialogCaptionText). + */ + igGridSorting(optionLiteral: 'option', optionName: "modalDialogCaptionText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption text for multiple sorting dialog. + * Use option [locale.modalDialogCaptionText](ui.iggridsorting#options:locale.modalDialogCaptionText). + * + * @optionValue New value to be set. + */ + igGridSorting(optionLiteral: 'option', optionName: "modalDialogCaptionText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets text of button which apply changes in modal dialog. + * Use option [locale.modalDialogButtonApplyText](ui.iggridsorting#options:locale.modalDialogButtonApplyText). + */ + igGridSorting(optionLiteral: 'option', optionName: "modalDialogButtonApplyText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets text of button which apply changes in modal dialog. + * Use option [locale.modalDialogButtonApplyText](ui.iggridsorting#options:locale.modalDialogButtonApplyText). + * + * @optionValue New value to be set. + */ + igGridSorting(optionLiteral: 'option', optionName: "modalDialogButtonApplyText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets text of button which cancels the changes in the advanced sorting modal dialog. + * Use option [locale.modalDialogButtonCancelText](ui.iggridsorting#options:locale.modalDialogButtonCancelText). + */ + igGridSorting(optionLiteral: 'option', optionName: "modalDialogButtonCancelText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets text of button which cancels the changes in the advanced sorting modal dialog. + * Use option [locale.modalDialogButtonCancelText](ui.iggridsorting#options:locale.modalDialogButtonCancelText). + * + * @optionValue New value to be set. + */ + igGridSorting(optionLiteral: 'option', optionName: "modalDialogButtonCancelText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets the text shown in the feature chooser item for sorting in ascending order (displayed only on touch environment). + * Use option [locale.featureChooserSortAsc](ui.iggridsorting#options:locale.featureChooserSortAsc). + */ + igGridSorting(optionLiteral: 'option', optionName: "featureChooserSortAsc"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets the text shown in the feature chooser item for sorting in ascending order (displayed only on touch environment). + * Use option [locale.featureChooserSortAsc](ui.iggridsorting#options:locale.featureChooserSortAsc). + * + * @optionValue New value to be set. + */ + igGridSorting(optionLiteral: 'option', optionName: "featureChooserSortAsc", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets the text shown in the feature chooser item for sorting in descending order (displayed only on touch environment). + * Use option [locale.featureChooserSortDesc](ui.iggridsorting#options:locale.featureChooserSortDesc). + */ + igGridSorting(optionLiteral: 'option', optionName: "featureChooserSortDesc"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets the text shown in the feature chooser item for sorting in descending order (displayed only on touch environment). + * Use option [locale.featureChooserSortDesc](ui.iggridsorting#options:locale.featureChooserSortDesc). + * + * @optionValue New value to be set. + */ + igGridSorting(optionLiteral: 'option', optionName: "featureChooserSortDesc", optionValue: string): void; + igGridSorting(optionLiteral: 'option', optionName: "locale"): IgGridSortingLocale; + igGridSorting(optionLiteral: 'option', optionName: "locale", optionValue: IgGridSortingLocale): void; + /** * Gets width of multiple sorting dialog. * @@ -55905,34 +57144,6 @@ interface JQuery { */ igGridSorting(optionLiteral: 'option', optionName: "modalDialogAnimationDuration", optionValue: number): void; - /** - * Gets the text of the feature chooser sorting button. - * - */ - igGridSorting(optionLiteral: 'option', optionName: "featureChooserText"): string; - - /** - * Sets the text of the feature chooser sorting button. - * - * - * @optionValue New value to be set. - */ - igGridSorting(optionLiteral: 'option', optionName: "featureChooserText", optionValue: string): void; - - /** - * Custom unsorted column tooltip in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) format. - * - */ - igGridSorting(optionLiteral: 'option', optionName: "unsortedColumnTooltip"): string; - - /** - * Custom unsorted column tooltip in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) format. - * - * - * @optionValue New value to be set. - */ - igGridSorting(optionLiteral: 'option', optionName: "unsortedColumnTooltip", optionValue: string): void; - /** * A list of custom column settings that specify custom sorting settings for a specific column (whether sorting is enabled / disabled, default sort direction, first sort direction, etc.). * @@ -55947,76 +57158,6 @@ interface JQuery { */ igGridSorting(optionLiteral: 'option', optionName: "columnSettings", optionValue: IgGridSortingColumnSetting[]): void; - /** - * Gets caption text for multiple sorting dialog. - * - */ - igGridSorting(optionLiteral: 'option', optionName: "modalDialogCaptionText"): string; - - /** - * Sets caption text for multiple sorting dialog. - * - * - * @optionValue New value to be set. - */ - igGridSorting(optionLiteral: 'option', optionName: "modalDialogCaptionText", optionValue: string): void; - - /** - * Gets text of button which apply changes in modal dialog. - * - */ - igGridSorting(optionLiteral: 'option', optionName: "modalDialogButtonApplyText"): string; - - /** - * Sets text of button which apply changes in modal dialog. - * - * - * @optionValue New value to be set. - */ - igGridSorting(optionLiteral: 'option', optionName: "modalDialogButtonApplyText", optionValue: string): void; - - /** - * Gets text of button which cancels the changes in the advanced sorting modal dialog. - * - */ - igGridSorting(optionLiteral: 'option', optionName: "modalDialogButtonCancelText"): string; - - /** - * Sets text of button which cancels the changes in the advanced sorting modal dialog. - * - * - * @optionValue New value to be set. - */ - igGridSorting(optionLiteral: 'option', optionName: "modalDialogButtonCancelText", optionValue: string): void; - - /** - * Gets the text shown in the feature chooser item for sorting in ascending order (displayed only on touch environment). - * - */ - igGridSorting(optionLiteral: 'option', optionName: "featureChooserSortAsc"): string; - - /** - * Sets the text shown in the feature chooser item for sorting in ascending order (displayed only on touch environment). - * - * - * @optionValue New value to be set. - */ - igGridSorting(optionLiteral: 'option', optionName: "featureChooserSortAsc", optionValue: string): void; - - /** - * Gets the text shown in the feature chooser item for sorting in descending order (displayed only on touch environment). - * - */ - igGridSorting(optionLiteral: 'option', optionName: "featureChooserSortDesc"): string; - - /** - * Sets the text shown in the feature chooser item for sorting in descending order (displayed only on touch environment). - * - * - * @optionValue New value to be set. - */ - igGridSorting(optionLiteral: 'option', optionName: "featureChooserSortDesc", optionValue: string): void; - /** * Enables/disables sorting persistence when the grid is rebound. * @@ -56337,6 +57478,49 @@ interface IgGridSummariesColumnSetting { [optionName: string]: any; } +interface IgGridSummariesLocale { + /** + * Text of the button OK in the summaries dropdown + * + */ + dialogButtonOKText?: string; + + /** + * Text of the button Cancel in the summaries dropdown + * + */ + dialogButtonCancelText?: string; + + /** + * Get or set text that is shown in the feature chooser dropdown when summaries are hidden + * + */ + featureChooserText?: string; + + /** + * Get or set text that is shown in the feauture chooser dropdown when summaries are shown + * + */ + featureChooserTextHide?: string; + + /** + * Empty text template to be shown for empty cells + * + */ + emptyCellText?: string; + + /** + * Tooltip text for header cell button + * + */ + summariesHeaderButtonTooltip?: string; + + /** + * Option for IgGridSummariesLocale + */ + [optionName: string]: any; +} + interface SummariesCalculatingEvent { (event: Event, ui: SummariesCalculatingEventUIParam): void; } @@ -56471,17 +57655,47 @@ interface IgGridSummaries { type?: string; /** + * This option has been removed as of 2017.2 Volume release. * Text of the button OK in the summaries dropdown - * + * Use option [locale.dialogButtonOKText](ui.iggridsummaries#options:locale.dialogButtonOKText). */ dialogButtonOKText?: string; /** + * This option has been removed as of 2017.2 Volume release. * Text of the button Cancel in the summaries dropdown - * + * Use option [locale.dialogButtonCancelText](ui.iggridsummaries#options:locale.dialogButtonCancelText). */ dialogButtonCancelText?: string; + /** + * This option has been removed as of 2017.2 Volume release. + * Get or set text that is shown in the feature chooser dropdown when summaries are hidden + * Use option [locale.featureChooserText](ui.iggridsummaries#options:locale.featureChooserText). + */ + featureChooserText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Get or set text that is shown in the feauture chooser dropdown when summaries are shown + * Use option [locale.featureChooserTextHide](ui.iggridsummaries#options:locale.featureChooserTextHide). + */ + featureChooserTextHide?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Empty text template to be shown for empty cells + * Use option [locale.emptyCellText](ui.iggridsummaries#options:locale.emptyCellText). + */ + emptyCellText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for header cell button + * Use option [locale.summariesHeaderButtonTooltip](ui.iggridsummaries#options:locale.summariesHeaderButtonTooltip). + */ + summariesHeaderButtonTooltip?: string; + /** * Specifies when calculations are made. * @@ -56492,18 +57706,6 @@ interface IgGridSummaries { */ calculateRenderMode?: string; - /** - * Get or set text that is shown in the feature chooser dropdown when summaries are hidden - * - */ - featureChooserText?: string; - - /** - * Get or set text that is shown in the feauture chooser dropdown when summaries are shown - * - */ - featureChooserTextHide?: string; - /** * Specifies how compact the summaries are rendered. * When true indicates that the summaries may be rendered compactly, even mixing different summaries on the same line. @@ -56572,18 +57774,6 @@ interface IgGridSummaries { */ dropDownDialogAnimationDuration?: number; - /** - * Empty text template to be shown for empty cells - * - */ - emptyCellText?: string; - - /** - * Tooltip text for header cell button - * - */ - summariesHeaderButtonTooltip?: string; - /** * Result template for summary result(shown in table cell) * @@ -56606,6 +57796,7 @@ interface IgGridSummaries { * Enables/disables feature inheritance for the child layouts. NOTE: It only applies for igHierarchicalGrid. */ inherit?: boolean; + locale?: IgGridSummariesLocale; /** * Event fired before drop down is opened for a specific column summary @@ -56672,6 +57863,8 @@ interface IgGridSummaries { [optionName: string]: any; } interface IgGridSummariesMethods { + changeLocale(): void; + changeRegional(): void; destroy(): void; /** @@ -56755,6 +57948,8 @@ interface JQuery { } interface JQuery { + igGridSummaries(methodName: "changeLocale"): void; + igGridSummaries(methodName: "changeRegional"): void; igGridSummaries(methodName: "destroy"): void; igGridSummaries(methodName: "isSummariesRowsHidden"): void; igGridSummaries(methodName: "calculateSummaries"): void; @@ -56785,33 +57980,101 @@ interface JQuery { igGridSummaries(optionLiteral: 'option', optionName: "type", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Text of the button OK in the summaries dropdown - * + * Use option [locale.dialogButtonOKText](ui.iggridsummaries#options:locale.dialogButtonOKText). */ igGridSummaries(optionLiteral: 'option', optionName: "dialogButtonOKText"): string; /** + * This option has been removed as of 2017.2 Volume release. * Text of the button OK in the summaries dropdown - * + * Use option [locale.dialogButtonOKText](ui.iggridsummaries#options:locale.dialogButtonOKText). * * @optionValue New value to be set. */ igGridSummaries(optionLiteral: 'option', optionName: "dialogButtonOKText", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Text of the button Cancel in the summaries dropdown - * + * Use option [locale.dialogButtonCancelText](ui.iggridsummaries#options:locale.dialogButtonCancelText). */ igGridSummaries(optionLiteral: 'option', optionName: "dialogButtonCancelText"): string; /** + * This option has been removed as of 2017.2 Volume release. * Text of the button Cancel in the summaries dropdown - * + * Use option [locale.dialogButtonCancelText](ui.iggridsummaries#options:locale.dialogButtonCancelText). * * @optionValue New value to be set. */ igGridSummaries(optionLiteral: 'option', optionName: "dialogButtonCancelText", optionValue: string): void; + /** + * This option has been removed as of 2017.2 Volume release. + * Get or set text that is shown in the feature chooser dropdown when summaries are hidden + * Use option [locale.featureChooserText](ui.iggridsummaries#options:locale.featureChooserText). + */ + igGridSummaries(optionLiteral: 'option', optionName: "featureChooserText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Get or set text that is shown in the feature chooser dropdown when summaries are hidden + * Use option [locale.featureChooserText](ui.iggridsummaries#options:locale.featureChooserText). + * + * @optionValue New value to be set. + */ + igGridSummaries(optionLiteral: 'option', optionName: "featureChooserText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Get or set text that is shown in the feauture chooser dropdown when summaries are shown + * Use option [locale.featureChooserTextHide](ui.iggridsummaries#options:locale.featureChooserTextHide). + */ + igGridSummaries(optionLiteral: 'option', optionName: "featureChooserTextHide"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Get or set text that is shown in the feauture chooser dropdown when summaries are shown + * Use option [locale.featureChooserTextHide](ui.iggridsummaries#options:locale.featureChooserTextHide). + * + * @optionValue New value to be set. + */ + igGridSummaries(optionLiteral: 'option', optionName: "featureChooserTextHide", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Empty text template to be shown for empty cells + * Use option [locale.emptyCellText](ui.iggridsummaries#options:locale.emptyCellText). + */ + igGridSummaries(optionLiteral: 'option', optionName: "emptyCellText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Empty text template to be shown for empty cells + * Use option [locale.emptyCellText](ui.iggridsummaries#options:locale.emptyCellText). + * + * @optionValue New value to be set. + */ + igGridSummaries(optionLiteral: 'option', optionName: "emptyCellText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for header cell button + * Use option [locale.summariesHeaderButtonTooltip](ui.iggridsummaries#options:locale.summariesHeaderButtonTooltip). + */ + igGridSummaries(optionLiteral: 'option', optionName: "summariesHeaderButtonTooltip"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for header cell button + * Use option [locale.summariesHeaderButtonTooltip](ui.iggridsummaries#options:locale.summariesHeaderButtonTooltip). + * + * @optionValue New value to be set. + */ + igGridSummaries(optionLiteral: 'option', optionName: "summariesHeaderButtonTooltip", optionValue: string): void; + /** * Gets when calculations are made. * @@ -56828,34 +58091,6 @@ interface JQuery { igGridSummaries(optionLiteral: 'option', optionName: "calculateRenderMode", optionValue: string): void; - /** - * Get or set text that is shown in the feature chooser dropdown when summaries are hidden - * - */ - igGridSummaries(optionLiteral: 'option', optionName: "featureChooserText"): string; - - /** - * Get or set text that is shown in the feature chooser dropdown when summaries are hidden - * - * - * @optionValue New value to be set. - */ - igGridSummaries(optionLiteral: 'option', optionName: "featureChooserText", optionValue: string): void; - - /** - * Get or set text that is shown in the feauture chooser dropdown when summaries are shown - * - */ - igGridSummaries(optionLiteral: 'option', optionName: "featureChooserTextHide"): string; - - /** - * Get or set text that is shown in the feauture chooser dropdown when summaries are shown - * - * - * @optionValue New value to be set. - */ - igGridSummaries(optionLiteral: 'option', optionName: "featureChooserTextHide", optionValue: string): void; - /** * Gets how compact the summaries are rendered. * When true indicates that the summaries may be rendered compactly, even mixing different summaries on the same line. @@ -57004,34 +58239,6 @@ interface JQuery { */ igGridSummaries(optionLiteral: 'option', optionName: "dropDownDialogAnimationDuration", optionValue: number): void; - /** - * Empty text template to be shown for empty cells - * - */ - igGridSummaries(optionLiteral: 'option', optionName: "emptyCellText"): string; - - /** - * Empty text template to be shown for empty cells - * - * - * @optionValue New value to be set. - */ - igGridSummaries(optionLiteral: 'option', optionName: "emptyCellText", optionValue: string): void; - - /** - * Tooltip text for header cell button - * - */ - igGridSummaries(optionLiteral: 'option', optionName: "summariesHeaderButtonTooltip"): string; - - /** - * Tooltip text for header cell button - * - * - * @optionValue New value to be set. - */ - igGridSummaries(optionLiteral: 'option', optionName: "summariesHeaderButtonTooltip", optionValue: string): void; - /** * Result template for summary result(shown in table cell) * @@ -57087,6 +58294,8 @@ interface JQuery { * @optionValue New value to be set. */ igGridSummaries(optionLiteral: 'option', optionName: "inherit", optionValue: boolean): void; + igGridSummaries(optionLiteral: 'option', optionName: "locale"): IgGridSummariesLocale; + igGridSummaries(optionLiteral: 'option', optionName: "locale", optionValue: IgGridSummariesLocale): void; /** * Event fired before drop down is opened for a specific column summary @@ -57642,12 +58851,6 @@ interface IgGridUpdatingColumnSetting { } interface IgGridUpdatingRowEditDialogOptions { - /** - * Specifies the caption of the dialog. If not set, $.ig.GridUpdating.locale.rowEditDialogCaptionLabel is used. - * - */ - captionLabel?: string; - /** * Controls the containment of the dialog's drag operation. * @@ -57757,6 +58960,61 @@ interface IgGridUpdatingRowEditDialogOptions { [optionName: string]: any; } +interface IgGridUpdatingLocale { + /** + * Specifies the label for the Done editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.doneLabel is used. + * + */ + doneLabel?: string; + + /** + * Specifies the title for the Done editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.doneTooltip is used. + * + */ + doneTooltip?: string; + + /** + * Specifies the label for the Cancel editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.cancelLabel is used. + * + */ + cancelLabel?: string; + + /** + * Specifies the title for the Cancel editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.cancelTooltip is used. + * + */ + cancelTooltip?: string; + + /** + * Specifies the label for the button starting edit mode for row adding. If not set, $.ig.GridUpdating.locale.addRowLabel is used. + * + */ + addRowLabel?: string; + + /** + * Specifies the title for the button starting edit mode for row adding. If not set, $.ig.GridUpdating.locale.addRowTooltip is used. + * + */ + addRowTooltip?: string; + + /** + * Specifies the label for the delete button. If not set, $.ig.GridUpdating.locale.deleteRowLabel is used. + * + */ + deleteRowLabel?: string; + + /** + * Specifies the title for the delete button. If not set, $.ig.GridUpdating.locale.deleteRowTooltip is used. + * + */ + deleteRowTooltip?: string; + + /** + * Option for IgGridUpdatingLocale + */ + [optionName: string]: any; +} + interface EditRowStartingEvent { (event: Event, ui: EditRowStartingEventUIParam): void; } @@ -58184,50 +59442,58 @@ interface IgGridUpdating { validation?: boolean; /** + * This option has been removed as of 2017.2 Volume release. * Specifies the label for the Done editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.doneLabel is used. - * + * Use option [locale.doneLabel](ui.iggridupdating#options:locale.doneLabel). */ doneLabel?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies the title for the Done editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.doneTooltip is used. - * + * Use option [locale.doneTooltip](ui.iggridupdating#options:locale.doneTooltip). */ doneTooltip?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies the label for the Cancel editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.cancelLabel is used. - * + * Use option [locale.cancelLabel](ui.iggridupdating#options:locale.cancelLabel). */ cancelLabel?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies the title for the Cancel editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.cancelTooltip is used. - * + * Use option [locale.cancelTooltip](ui.iggridupdating#options:locale.cancelTooltip). */ cancelTooltip?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies the label for the button starting edit mode for row adding. If not set, $.ig.GridUpdating.locale.addRowLabel is used. - * + * Use option [locale.addRowLabel](ui.iggridupdating#options:locale.addRowLabel). */ addRowLabel?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies the title for the button starting edit mode for row adding. If not set, $.ig.GridUpdating.locale.addRowTooltip is used. - * + * Use option [locale.addRowTooltip](ui.iggridupdating#options:locale.addRowTooltip). */ addRowTooltip?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies the label for the delete button. If not set, $.ig.GridUpdating.locale.deleteRowLabel is used. - * + * Use option [locale.deleteRowLabel](ui.iggridupdating#options:locale.deleteRowLabel). */ deleteRowLabel?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies the title for the delete button. If not set, $.ig.GridUpdating.locale.deleteRowTooltip is used. - * + * Use option [locale.deleteRowTooltip](ui.iggridupdating#options:locale.deleteRowTooltip). */ deleteRowTooltip?: string; @@ -58301,6 +59567,7 @@ interface IgGridUpdating { * Enables/disables feature inheritance for the child layouts in igHierarchicalGrid. */ inherit?: boolean; + locale?: IgGridUpdatingLocale; /** * Event fired before row editing begins. @@ -58496,6 +59763,8 @@ interface IgGridUpdatingMethods { * Destroys igGridUpdating. */ destroy(): Object; + changeRegional(): void; + changeLocale(): void; /** * Shows the delete button for specific row. @@ -58526,6 +59795,8 @@ interface JQuery { igGridUpdating(methodName: "editorForKey", key: string): Object; igGridUpdating(methodName: "editorForCell", cell: string, create?: boolean): Object; igGridUpdating(methodName: "destroy"): Object; + igGridUpdating(methodName: "changeRegional"): void; + igGridUpdating(methodName: "changeLocale"): void; igGridUpdating(methodName: "showDeleteButtonFor", row: Object): void; igGridUpdating(methodName: "hideDeleteButton"): void; @@ -58602,112 +59873,128 @@ interface JQuery { igGridUpdating(optionLiteral: 'option', optionName: "validation", optionValue: boolean): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets the label for the Done editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.doneLabel is used. - * + * Use option [locale.doneLabel](ui.iggridupdating#options:locale.doneLabel). */ igGridUpdating(optionLiteral: 'option', optionName: "doneLabel"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets the label for the Done editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.doneLabel is used. - * + * Use option [locale.doneLabel](ui.iggridupdating#options:locale.doneLabel). * * @optionValue New value to be set. */ igGridUpdating(optionLiteral: 'option', optionName: "doneLabel", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets the title for the Done editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.doneTooltip is used. - * + * Use option [locale.doneTooltip](ui.iggridupdating#options:locale.doneTooltip). */ igGridUpdating(optionLiteral: 'option', optionName: "doneTooltip"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets the title for the Done editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.doneTooltip is used. - * + * Use option [locale.doneTooltip](ui.iggridupdating#options:locale.doneTooltip). * * @optionValue New value to be set. */ igGridUpdating(optionLiteral: 'option', optionName: "doneTooltip", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets the label for the Cancel editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.cancelLabel is used. - * + * Use option [locale.cancelLabel](ui.iggridupdating#options:locale.cancelLabel). */ igGridUpdating(optionLiteral: 'option', optionName: "cancelLabel"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets the label for the Cancel editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.cancelLabel is used. - * + * Use option [locale.cancelLabel](ui.iggridupdating#options:locale.cancelLabel). * * @optionValue New value to be set. */ igGridUpdating(optionLiteral: 'option', optionName: "cancelLabel", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets the title for the Cancel editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.cancelTooltip is used. - * + * Use option [locale.cancelTooltip](ui.iggridupdating#options:locale.cancelTooltip). */ igGridUpdating(optionLiteral: 'option', optionName: "cancelTooltip"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets the title for the Cancel editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.cancelTooltip is used. - * + * Use option [locale.cancelTooltip](ui.iggridupdating#options:locale.cancelTooltip). * * @optionValue New value to be set. */ igGridUpdating(optionLiteral: 'option', optionName: "cancelTooltip", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets the label for the button starting edit mode for row adding. If not set, $.ig.GridUpdating.locale.addRowLabel is used. - * + * Use option [locale.addRowLabel](ui.iggridupdating#options:locale.addRowLabel). */ igGridUpdating(optionLiteral: 'option', optionName: "addRowLabel"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets the label for the button starting edit mode for row adding. If not set, $.ig.GridUpdating.locale.addRowLabel is used. - * + * Use option [locale.addRowLabel](ui.iggridupdating#options:locale.addRowLabel). * * @optionValue New value to be set. */ igGridUpdating(optionLiteral: 'option', optionName: "addRowLabel", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets the title for the button starting edit mode for row adding. If not set, $.ig.GridUpdating.locale.addRowTooltip is used. - * + * Use option [locale.addRowTooltip](ui.iggridupdating#options:locale.addRowTooltip). */ igGridUpdating(optionLiteral: 'option', optionName: "addRowTooltip"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets the title for the button starting edit mode for row adding. If not set, $.ig.GridUpdating.locale.addRowTooltip is used. - * + * Use option [locale.addRowTooltip](ui.iggridupdating#options:locale.addRowTooltip). * * @optionValue New value to be set. */ igGridUpdating(optionLiteral: 'option', optionName: "addRowTooltip", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets the label for the delete button. If not set, $.ig.GridUpdating.locale.deleteRowLabel is used. - * + * Use option [locale.deleteRowLabel](ui.iggridupdating#options:locale.deleteRowLabel). */ igGridUpdating(optionLiteral: 'option', optionName: "deleteRowLabel"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets the label for the delete button. If not set, $.ig.GridUpdating.locale.deleteRowLabel is used. - * + * Use option [locale.deleteRowLabel](ui.iggridupdating#options:locale.deleteRowLabel). * * @optionValue New value to be set. */ igGridUpdating(optionLiteral: 'option', optionName: "deleteRowLabel", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets the title for the delete button. If not set, $.ig.GridUpdating.locale.deleteRowTooltip is used. - * + * Use option [locale.deleteRowTooltip](ui.iggridupdating#options:locale.deleteRowTooltip). */ igGridUpdating(optionLiteral: 'option', optionName: "deleteRowTooltip"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets the title for the delete button. If not set, $.ig.GridUpdating.locale.deleteRowTooltip is used. - * + * Use option [locale.deleteRowTooltip](ui.iggridupdating#options:locale.deleteRowTooltip). * * @optionValue New value to be set. */ @@ -58886,6 +60173,8 @@ interface JQuery { * @optionValue New value to be set. */ igGridUpdating(optionLiteral: 'option', optionName: "inherit", optionValue: boolean): void; + igGridUpdating(optionLiteral: 'option', optionName: "locale"): IgGridUpdatingLocale; + igGridUpdating(optionLiteral: 'option', optionName: "locale", optionValue: IgGridUpdatingLocale): void; /** * Event fired before row editing begins. @@ -59347,6 +60636,7 @@ interface IgHtmlEditorMethods { * Returns the element on which the widget was instantiated */ widget(): void; + changeLocale(): void; /** * Resizes the height of the workspace @@ -59568,6 +60858,7 @@ class ToolbarHelper { interface JQuery { igHtmlEditor(methodName: "widget"): void; + igHtmlEditor(methodName: "changeLocale"): void; igHtmlEditor(methodName: "resizeWorkspace"): void; igHtmlEditor(methodName: "getContent", format: string): string; igHtmlEditor(methodName: "setContent", content: string, format: string): void; @@ -60056,16 +61347,22 @@ interface IgLayoutManagerGridLayout { cols?: number; /** - * Accepts number or string with height in px or percents + * Accepts number, string with height in px, percents, or asterisk (*) which will distribute all the height between all the columns equally. + * It can also accept an array, specifying height for each column. If more than one column + * has an asterisk value, the remaining height will be equally distributed between these columns. + * array The column height can be set as an array of heights. * */ - columnHeight?: string|number; + columnHeight?: string|number|Array<any>; /** - * Accepts number or string with width in px or percents + * Accepts number or string with width in px, percents or asterisk (*) which will distribute all the width between all the columns equally. + * It can also accept an array, specifying width for each column. If more than one column + * has an asterisk value, the remaining width will be equally distributed between these columns. + * array The column width can be set as an array of widths. * */ - columnWidth?: string|number; + columnWidth?: string|number|Array<any>; /** * Specifies the margin left css property for items @@ -64320,18 +65617,6 @@ interface JQuery { igMap(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; igMap(methodName: string, ...methodParams: any[]): any; } -interface IgNotifierMessages { - success?: string; - info?: string; - warning?: string; - error?: string; - - /** - * Option for IgNotifierMessages - */ - [optionName: string]: any; -} - interface IgNotifierHeaderTemplate { /** * Controls whether the popover renders a functional close button @@ -64403,12 +65688,6 @@ interface IgNotifier { */ allowCSSOnTarget?: boolean; - /** - * A set of default messages for each state - * - */ - messages?: IgNotifierMessages; - /** * Allows rendering a span with the respective state CSS to display jQuery UI framework icons * @@ -64560,6 +65839,8 @@ interface IgNotifier { [optionName: string]: any; } interface IgNotifierMethods { + changeLocale(): void; + /** * Triggers a notification with a certain state and optional message. The [notifyLevel](ui.ignotifier#options:notifyLevel) option determines if the notification will be displayed. * @@ -64635,6 +65916,7 @@ interface JQuery { } interface JQuery { + igNotifier(methodName: "changeLocale"): void; igNotifier(methodName: "notify", state: Object, message?: string): void; igNotifier(methodName: "isVisible"): void; igNotifier(methodName: "destroy"): void; @@ -64726,20 +66008,6 @@ interface JQuery { */ igNotifier(optionLiteral: 'option', optionName: "allowCSSOnTarget", optionValue: boolean): void; - /** - * A set of default messages for each state - * - */ - igNotifier(optionLiteral: 'option', optionName: "messages"): IgNotifierMessages; - - /** - * A set of default messages for each state - * - * - * @optionValue New value to be set. - */ - igNotifier(optionLiteral: 'option', optionName: "messages", optionValue: IgNotifierMessages): void; - /** * Allows rendering a span with the respective state CSS to display jQuery UI framework icons * @@ -66006,6 +67274,8 @@ interface IgPivotDataSelector { [optionName: string]: any; } interface IgPivotDataSelectorMethods { + changeLocale(): void; + /** * Updates the data source. */ @@ -66024,6 +67294,7 @@ interface JQuery { } interface JQuery { + igPivotDataSelector(methodName: "changeLocale"): void; igPivotDataSelector(methodName: "update"): void; igPivotDataSelector(methodName: "destroy"): void; @@ -66503,8 +67774,8 @@ interface JQuery { interface IgPivotGridDataSourceOptionsXmlaOptionsRequestOptions { /** * The value is applied to XmlHttpRequest.withCredentials if supported by the user agent. - * Setting this property to true will allow IE8/IE9 to make authenticated cross-origin requests to tusted domains through XmlHttpRequest instead of XDomainRequest - * and will prompt the user for credentials. + * Setting this property to true will allow IE8/IE9 to make authenticated cross-origin requests to tusted domains through XmlHttpRequest instead of XDomainRequest + * and will prompt the user for credentials. */ withCredentials?: boolean; @@ -66589,13 +67860,13 @@ interface IgPivotGridDataSourceOptionsXmlaOptions { /** * Additional properties sent with every discover request. - * The object is treated as a key/value store where each property name is used as the key and the property value as the value. + * The object is treated as a key/value store where each property name is used as the key and the property value as the value. */ discoverProperties?: any; /** * Additional properties sent with every execute request. - * The object is treated as a key/value store where each property name is used as the key and the property value as the value. + * The object is treated as a key/value store where each property name is used as the key and the property value as the value. */ executeProperties?: any; @@ -66623,7 +67894,7 @@ interface IgPivotGridDataSourceOptionsFlatDataOptionsMetadataCubeMeasuresDimensi /** * Optional="false" An aggregator function called when each cell is evaluated. - * Returns a value for the cell. If the returned value is null, no cell will be created in for the data source result. + * Returns a value for the cell. If the returned value is null, no cell will be created in for the data source result. */ aggregator?: Function; @@ -66641,14 +67912,14 @@ interface IgPivotGridDataSourceOptionsFlatDataOptionsMetadataCubeMeasuresDimensi interface IgPivotGridDataSourceOptionsFlatDataOptionsMetadataCubeMeasuresDimension { /** * A unique name for the measures dimension. - * The default value is "Measures". This name is used to create the names of dimensions using the following pattern: - * [<measuresDimensionMetadata.name>].[<measureMetadata.name>] + * The default value is "Measures". This name is used to create the names of dimensions using the following pattern: + * [<measuresDimensionMetadata.name>].[<measureMetadata.name>] */ name?: string; /** * A caption for the measures dimension. - * The default value is "Measures". + * The default value is "Measures". */ caption?: string; @@ -66666,8 +67937,8 @@ interface IgPivotGridDataSourceOptionsFlatDataOptionsMetadataCubeMeasuresDimensi interface IgPivotGridDataSourceOptionsFlatDataOptionsMetadataCubeDimensionHierarchieLevel { /** * Optional="false" A name for the level. - * The unique name of the level is formed using the following pattern: - * {<hierarchy.uniqueName>}.[<levelMetadata.name>] + * The unique name of the level is formed using the following pattern: + * {<hierarchy.uniqueName>}.[<levelMetadata.name>] */ name?: string; @@ -66678,7 +67949,7 @@ interface IgPivotGridDataSourceOptionsFlatDataOptionsMetadataCubeDimensionHierar /** * A function called for each item of the data source array when level members are created. - * Based on the item parameter the function should return a value that will form the $.ig.Member's name and caption. + * Based on the item parameter the function should return a value that will form the $.ig.Member's name and caption. */ memberProvider?: Function; @@ -66691,8 +67962,8 @@ interface IgPivotGridDataSourceOptionsFlatDataOptionsMetadataCubeDimensionHierar interface IgPivotGridDataSourceOptionsFlatDataOptionsMetadataCubeDimensionHierarchie { /** * Optional="false" A name for the hierarchy. - * The unique name of the hierarchy is formed using the following pattern: - * [<parentDimension.name>].[<hierarchyMetadata.name>] + * The unique name of the hierarchy is formed using the following pattern: + * [<parentDimension.name>].[<hierarchyMetadata.name>] */ name?: string; @@ -66703,8 +67974,8 @@ interface IgPivotGridDataSourceOptionsFlatDataOptionsMetadataCubeDimensionHierar /** * The path to be used when displaying the hierarchy in the user interface. - * Nested folders are indicated by a backslash (\). - * The folder hierarchy will appear under parent dimension node. + * Nested folders are indicated by a backslash (\). + * The folder hierarchy will appear under parent dimension node. */ displayFolder?: string; @@ -66798,14 +68069,14 @@ interface IgPivotGridDataSourceOptionsFlatDataOptions { /** * See $.ig.DataSource. - * string Specifies the name of the property in which data records are held if the response is wrapped. - * null Option is ignored. + * string Specifies the name of the property in which data records are held if the response is wrapped. + * null Option is ignored. */ responseDataKey?: string; /** * String Explicitly set data source type (such as "json"). Please refer to the documentation of $.ig.DataSource and its type property. - * null Option is ignored. + * null Option is ignored. */ responseDataType?: string; @@ -66939,7 +68210,7 @@ interface IgPivotGridDragAndDropSettings { appendTo?: any; /** - * Specifies the containment for the drag helper. The area inside of which the helper is contained would be scrollable while dragging. + * Specifies the containment for the drag helper. The area inside of which thehelper is contained would be scrollable while dragging. * */ containment?: boolean|string|Array<any>; @@ -67208,7 +68479,7 @@ interface IgPivotGrid { /** * An object that will be used to create an instance of $.ig.OlapXmlaDataSource or $.ig.OlapFlatDataSource. - * The provided value must contain an object with settings for one of the data source types - xmlaOptions or flatDataOptions. + * The provided value must contain an object with settings for one of the data source types - xmlaOptions or flatDataOptions. */ dataSourceOptions?: IgPivotGridDataSourceOptions; @@ -67219,15 +68490,15 @@ interface IgPivotGrid { /** * A boolean value indicating whether a parent in the columns is in front of its children. - * If set to true, the query set sorts members in a level in their natural order - child members immediately follow their parent members. - * If set to false the query set sorts the members in a level using a post-natural order. In other words, child members precede their parents. + * If set to true, the query set sorts members in a level in their natural order - child members immediately follow their parent members. + * If set to false the query set sorts the members in a level using a post-natural order. In other words, child members precede their parents. */ isParentInFrontForColumns?: boolean; /** * A boolean value indicating whether a parent in the rows is in front of its children. - * If set to true, the query set sorts members in a level in their natural order - child members immediately follow their parent members. - * If set to false the query set sorts the members in a level using a post-natural order. In other words, child members precede their parents. + * If set to true, the query set sorts members in a level in their natural order - child members immediately follow their parent members. + * If set to false the query set sorts the members in a level using a post-natural order. In other words, child members precede their parents. */ isParentInFrontForRows?: boolean; @@ -67242,9 +68513,9 @@ interface IgPivotGrid { compactRowHeaders?: boolean; /** - * A value indicating whether the layout that row headers should be arranged. standard Each hierarchy in the rows is displayed in a separate column. The child members of a member in the rows are displayed on its right. - * superCompact Each hierarchy in the rows is displayed in a separate column. The child members of a member in the rows are displayed on above or below it (Depending on the isParentInFrontForRows setting). - * tree All hierarchies in the rows are displayed in a tree-like structure in a single column (The column's width is dependent on the defaultRowHEaderWidth, which can be set to "null" to enable the built-in auto-sizing functionality). + * A value indicating whether the layout that row headers should be arranged.standard Each hierarchy in the rows is displayed in a separate column. The child members of a member in the rows are displayed on its right. + * superCompact Each hierarchy in the rows is displayed in a separate column. The child members of a member in the rows are displayed on above or below it (Depending on the isParentInFrontForRows setting). + * tree All hierarchies in the rows are displayed in a tree-like structure in a single column (The column's width is dependent on the defaultRowHEaderWidth, which can be set to "null" to enable the built-in auto-sizing functionality). * * * Valid values: @@ -67375,233 +68646,233 @@ interface IgPivotGrid { /** * A function that will be called to determine if an item can be moved in or dropped on an area of the pivot grid. - * paramType="string" The location where the item will be moved - igPivotGrid, igPivotDataSelector, filters, rows, columns or measures. - * paramType="string" The type of the item - Hierarchy, Measure or MeasureList. - * paramType="string" The unique name of the item. - * returnType="bool" The function must return true if the item should be accepted. + * paramType="string" The location where the item will be moved - igPivotGrid, igPivotDataSelector, filters, rows, columns or measures. + * paramType="string" The type of the item - Hierarchy, Measure or MeasureList. + * paramType="string" The unique name of the item. + * returnType="bool" The function must return true if the item should be accepted. */ customMoveValidation?: Function; /** * Fired after the data source has initialized. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.dataSource to get a reference to the data source. - * Use ui.error to see if an error has occured during initialization. - * Use ui.metadataTreeRoot to get a reference to the root of the data source metatadata root item. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.dataSource to get a reference to the data source. + * Use ui.error to see if an error has occured during initialization. + * Use ui.metadataTreeRoot to get a reference to the root of the data source metatadata root item. */ dataSourceInitialized?: DataSourceInitializedEvent; /** * Fired after the data source has updated. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.dataSource to get a reference to the data source. - * Use ui.error to see if an error has occured during update. - * Use ui.result to get the result of the update operation. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.dataSource to get a reference to the data source. + * Use ui.error to see if an error has occured during update. + * Use ui.result to get the result of the update operation. */ dataSourceUpdated?: DataSourceUpdatedEvent; /** * Event fired after the headers have been rendered. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.grid to get a reference to the igGrid widget, which holds the headers. - * Use ui.table to get a reference to the headers table DOM element. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.grid to get a reference to the igGrid widget, which holds the headers. + * Use ui.table to get a reference to the headers table DOM element. */ pivotGridHeadersRendered?: PivotGridHeadersRenderedEvent; /** * Event fired after the whole grid widget has been rendered (including headers, footers, etc.). - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.grid to get reference to the igGrid widget, which represents the data. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.grid to get reference to the igGrid widget, which represents the data. */ pivotGridRendered?: PivotGridRenderedEvent; /** * Fired before the expand of the tuple member. - * Function takes arguments evt and ui. Return false to cancel the expanding. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.dataSource to get a reference to the data source. - * Use ui.axisName to get the name of axis, which holds the member and the tuple. - * Use ui.tupleIndex to get the index of the tuple in the axis. - * Use ui.memberIndex to get the index of the member in the tuple. + * Function takes arguments evt and ui. Return false to cancel the expanding. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.dataSource to get a reference to the data source. + * Use ui.axisName to get the name of axis, which holds the member and the tuple. + * Use ui.tupleIndex to get the index of the tuple in the axis. + * Use ui.memberIndex to get the index of the member in the tuple. */ tupleMemberExpanding?: TupleMemberExpandingEvent; /** * Fired after the expand of the tuple member. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.dataSource to get a reference to the data source. - * Use ui.axisName to get the name of axis, which holds the member and the tuple. - * Use ui.tupleIndex to get the index of the tuple in the axis. - * Use ui.memberIndex to get the index of the member in the tuple. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.dataSource to get a reference to the data source. + * Use ui.axisName to get the name of axis, which holds the member and the tuple. + * Use ui.tupleIndex to get the index of the tuple in the axis. + * Use ui.memberIndex to get the index of the member in the tuple. */ tupleMemberExpanded?: TupleMemberExpandedEvent; /** * Fired before the collapse of the tuple member. - * Function takes arguments evt and ui. Return false to cancel the collapsing. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.dataSource to get a reference to the data source. - * Use ui.axisName to get the name of axis, which holds the member and the tuple. - * Use ui.tupleIndex to get the index of the tuple in the axis. - * Use ui.memberIndex to get the index of the member in the tuple. + * Function takes arguments evt and ui. Return false to cancel the collapsing. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.dataSource to get a reference to the data source. + * Use ui.axisName to get the name of axis, which holds the member and the tuple. + * Use ui.tupleIndex to get the index of the tuple in the axis. + * Use ui.memberIndex to get the index of the member in the tuple. */ tupleMemberCollapsing?: TupleMemberCollapsingEvent; /** * Fired after the collapse of the tuple member. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.dataSource to get a reference to the data source. - * Use ui.axisName to get the name of axis, which holds the member and the tuple. - * Use ui.tupleIndex to get the index of the tuple in the axis. - * Use ui.memberIndex to get the index of the member in the tuple. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.dataSource to get a reference to the data source. + * Use ui.axisName to get the name of axis, which holds the member and the tuple. + * Use ui.tupleIndex to get the index of the tuple in the axis. + * Use ui.memberIndex to get the index of the member in the tuple. */ tupleMemberCollapsed?: TupleMemberCollapsedEvent; /** * Fired before the sorting of the columns. - * Function takes arguments evt and ui. Return false to cancel the sorting. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.sortDirections to get an array of the tuple indices and sort directions that will be used. + * Function takes arguments evt and ui. Return false to cancel the sorting. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.sortDirections to get an array of the tuple indices and sort directions that will be used. */ sorting?: SortingEvent; /** * Fired after the sorting of the columns. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.sortDirections to get an array of the tuple indices and sort directions that were passed to the table view. - * Use ui.appliedSortDirections to get an array of the tuple indices and sort directions that were actually applied to the table view. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.sortDirections to get an array of the tuple indices and sort directions that were passed to the table view. + * Use ui.appliedSortDirections to get an array of the tuple indices and sort directions that were actually applied to the table view. */ sorted?: SortedEvent; /** * Fired before the sorting of the headers. - * Function takes arguments evt and ui. Return false to cancel the sorting. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.levelSortDirections to get an array of the level names and sort directions that will be used. + * Function takes arguments evt and ui. Return false to cancel the sorting. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.levelSortDirections to get an array of the level names and sort directions that will be used. */ headersSorting?: HeadersSortingEvent; /** * Fired after the sorting of the headers. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.levelSortDirections to get an array of the level names and sort directions that were used. - * Use ui.appliedLevelSortDirections to get an array of the level names and sort directions that were actually applied to the table view. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.levelSortDirections to get an array of the level names and sort directions that were used. + * Use ui.appliedLevelSortDirections to get an array of the level names and sort directions that were actually applied to the table view. */ headersSorted?: HeadersSortedEvent; /** * Fired on drag start. Return false to cancel the dragging. - * Use ui.metadatato get a reference to the data. - * Use ui.helper to get a reference to the helper. - * Use ui.offset to get a reference to the offset. - * Use ui.originalPosition to get a reference to the original position of the draggable element. - * Use ui.position to get a reference to the current position of the draggable element. + * Use ui.metadatato get a reference to the data. + * Use ui.helper to get a reference to the helper. + * Use ui.offset to get a reference to the offset. + * Use ui.originalPosition to get a reference to the original position of the draggable element. + * Use ui.position to get a reference to the current position of the draggable element. */ dragStart?: DragStartEvent; /** * Fired on drag. Return false to cancel the drag. - * Use ui.metadatato get a reference to the data. - * Use ui.helper to get a reference to the helper. - * Use ui.offset to get a reference to the offset. - * Use ui.originalPosition to get a reference to the original position of the draggable element. - * Use ui.position to get a reference to the current position of the draggable element. + * Use ui.metadatato get a reference to the data. + * Use ui.helper to get a reference to the helper. + * Use ui.offset to get a reference to the offset. + * Use ui.originalPosition to get a reference to the original position of the draggable element. + * Use ui.position to get a reference to the current position of the draggable element. */ drag?: DragEvent; /** * Fired on drag stop. - * Use ui.helper to get a reference to the helper. - * Use ui.offset to get a reference to the offset. - * Use ui.originalPosition to get a reference to the original position of the draggable element. - * Use ui.position to get a reference to the current position of the draggable element. + * Use ui.helper to get a reference to the helper. + * Use ui.offset to get a reference to the offset. + * Use ui.originalPosition to get a reference to the original position of the draggable element. + * Use ui.position to get a reference to the current position of the draggable element. */ dragStop?: DragStopEvent; /** * Fired before a metadata item drop. Return false to cancel the drop. - * Use ui.targetElement for a reference to the drop target. - * Use ui.draggedElement for a reference to the metadata item element. - * Use ui.metadatato get a reference to the data. - * Use ui.metadataIndex to get the index at which the metadata will be inserted. - * Use ui.helper to get a reference to the helper. - * Use ui.offset to get a reference to the offset. - * Use ui.position to get a reference to the current position of the draggable element. + * Use ui.targetElement for a reference to the drop target. + * Use ui.draggedElement for a reference to the metadata item element. + * Use ui.metadatato get a reference to the data. + * Use ui.metadataIndex to get the index at which the metadata will be inserted. + * Use ui.helper to get a reference to the helper. + * Use ui.offset to get a reference to the offset. + * Use ui.position to get a reference to the current position of the draggable element. */ metadataDropping?: MetadataDroppingEvent; /** * Fired after a metadata item drop. - * Use ui.targetElement for a reference to the drop target. - * Use ui.draggedElement for a reference to the dragged element. - * Use ui.metadatato get a reference to the data. - * Use ui.metadataIndex to get the index at which the metadata is inserted. - * Use ui.helper to get a reference to the helper. - * Use ui.offset to get a reference to the offset. - * Use ui.position to get a reference to the current position of the draggable element. + * Use ui.targetElement for a reference to the drop target. + * Use ui.draggedElement for a reference to the dragged element. + * Use ui.metadatato get a reference to the data. + * Use ui.metadataIndex to get the index at which the metadata is inserted. + * Use ui.helper to get a reference to the helper. + * Use ui.offset to get a reference to the offset. + * Use ui.position to get a reference to the current position of the draggable element. */ metadataDropped?: MetadataDroppedEvent; /** * Fired before a metadata item is removed when the user clicks the close icon. Return false to cancel the removing. - * Use ui.targetElement for a reference to the dragged element. - * Use ui.metadatato get a reference to the data. + * Use ui.targetElement for a reference to the dragged element. + * Use ui.metadatato get a reference to the data. */ metadataRemoving?: MetadataRemovingEvent; /** * Fired after a metadata item is removed when the user clicks the close icon. - * Use ui.metadatato get a reference to the data. + * Use ui.metadatato get a reference to the data. */ metadataRemoved?: MetadataRemovedEvent; /** * Fired before the filter members drop down opens. Return false to cancel the opening. - * Use ui.hierarchy for a reference to the hierarchy. + * Use ui.hierarchy for a reference to the hierarchy. */ filterDropDownOpening?: FilterDropDownOpeningEvent; /** * Fired after the filter members drop down opens. - * Use ui.hierarchy for a reference to the hierarchy. - * Use ui.dropDownElement for a reference to the drop down. + * Use ui.hierarchy for a reference to the hierarchy. + * Use ui.dropDownElement for a reference to the drop down. */ filterDropDownOpened?: FilterDropDownOpenedEvent; /** * Fired after the filter members are loaded. - * Use ui.parent to get the parent node or the igTree instance in the initial load. - * Use ui.rootFilterMembers for a collection with the root filter members . - * Use ui.filterMembers for a collection with the newly loaded filter members. + * Use ui.parent to get the parent node or the igTree instance in the initial load. + * Use ui.rootFilterMembers for a collection with the root filter members . + * Use ui.filterMembers for a collection with the newly loaded filter members. */ filterMembersLoaded?: FilterMembersLoadedEvent; /** * Fired after the OK button in the filter members drop down is clicked. Return false to cancel the applying of the filters. - * Use ui.hierarchy for a reference to the hierarchy. - * Use ui.filterMembers for a collection with the selected filter members. If all filter members are selected the collection will be empty. - * Use ui.dropDownElement for a reference to the drop down. + * Use ui.hierarchy for a reference to the hierarchy. + * Use ui.filterMembers for a collection with the selected filter members. If all filter members are selected the collection will be empty. + * Use ui.dropDownElement for a reference to the drop down. */ filterDropDownOk?: FilterDropDownOkEvent; /** * Fired before the filter members drop down closes. Return false to cancel the closing. - * Use ui.hierarchy for a reference to the hierarchy. - * Use ui.dropDownElement for a reference to the drop down. + * Use ui.hierarchy for a reference to the hierarchy. + * Use ui.dropDownElement for a reference to the drop down. */ filterDropDownClosing?: FilterDropDownClosingEvent; /** * Fired after the filter members drop down closes. - * Use ui.hierarchy for a reference to the hierarchy. + * Use ui.hierarchy for a reference to the hierarchy. */ filterDropDownClosed?: FilterDropDownClosedEvent; @@ -67611,6 +68882,9 @@ interface IgPivotGrid { [optionName: string]: any; } interface IgPivotGridMethods { + changeLocale(): void; + changeRegional(): void; + /** * Returns the igGrid instance used to render the OLAP data. */ @@ -67643,24 +68917,24 @@ interface IgPivotGridMethods { /** * Returns an array with the applied sort directions on the igPivotGrid's columns. The returned array contains objects with the following properties: - * memberNames: The names of the members in the tuple. - * tupleIndex: The index of the tuple on the column axis in the original unsorted result. - * sortDirection: The direction of the sort - ascending or descending. + * memberNames: The names of the members in the tuple. + * tupleIndex: The index of the tuple on the column axis in the original unsorted result. + * sortDirection: The direction of the sort - ascending or descending. */ appliedColumnSortDirections(): any[]; /** * Returns an array with the applied level sort direction items, which were used for the sorting of the header cells. The returned array contains objects with the following properties: - * levelUniqueName: Specifies the unique name of the level, which was sorted. - * sortDirection: The direction of the header sort - ascending or descending. + * levelUniqueName: Specifies the unique name of the level, which was sorted. + * sortDirection: The direction of the header sort - ascending or descending. */ appliedLevelSortDirections(): any[]; /** * Destroy is part of the jQuery UI widget API and does the following: - * 1. Remove custom CSS classes that were added. - * 2. Unwrap any wrapping elements such as scrolling divs and other containers. - * 3. Unbind all events that were bound. + * 1. Remove custom CSS classes that were added. + * 2. Unwrap any wrapping elements such as scrolling divs and other containers. + * 3. Unbind all events that were bound. */ destroy(): void; } @@ -67669,6 +68943,8 @@ interface JQuery { } interface JQuery { + igPivotGrid(methodName: "changeLocale"): void; + igPivotGrid(methodName: "changeRegional"): void; igPivotGrid(methodName: "grid"): Object; igPivotGrid(methodName: "updateGrid"): void; igPivotGrid(methodName: "expandTupleMember", tupleLocation: string, tupleIndex: number, memberIndex: number, shouldUpdate?: boolean): boolean; @@ -67709,13 +68985,13 @@ interface JQuery { /** * An object that will be used to create an instance of $.ig.OlapXmlaDataSource or $.ig.OlapFlatDataSource. - * The provided value must contain an object with settings for one of the data source types - xmlaOptions or flatDataOptions. + * The provided value must contain an object with settings for one of the data source types - xmlaOptions or flatDataOptions. */ igPivotGrid(optionLiteral: 'option', optionName: "dataSourceOptions"): IgPivotGridDataSourceOptions; /** * An object that will be used to create an instance of $.ig.OlapXmlaDataSource or $.ig.OlapFlatDataSource. - * The provided value must contain an object with settings for one of the data source types - xmlaOptions or flatDataOptions. + * The provided value must contain an object with settings for one of the data source types - xmlaOptions or flatDataOptions. * * @optionValue New value to be set. */ @@ -67735,15 +69011,15 @@ interface JQuery { /** * A boolean value indicating whether a parent in the columns is in front of its children. - * If set to true, the query set sorts members in a level in their natural order - child members immediately follow their parent members. - * If set to false the query set sorts the members in a level using a post-natural order. In other words, child members precede their parents. + * If set to true, the query set sorts members in a level in their natural order - child members immediately follow their parent members. + * If set to false the query set sorts the members in a level using a post-natural order. In other words, child members precede their parents. */ igPivotGrid(optionLiteral: 'option', optionName: "isParentInFrontForColumns"): boolean; /** * A boolean value indicating whether a parent in the columns is in front of its children. - * If set to true, the query set sorts members in a level in their natural order - child members immediately follow their parent members. - * If set to false the query set sorts the members in a level using a post-natural order. In other words, child members precede their parents. + * If set to true, the query set sorts members in a level in their natural order - child members immediately follow their parent members. + * If set to false the query set sorts the members in a level using a post-natural order. In other words, child members precede their parents. * * @optionValue New value to be set. */ @@ -67751,15 +69027,15 @@ interface JQuery { /** * A boolean value indicating whether a parent in the rows is in front of its children. - * If set to true, the query set sorts members in a level in their natural order - child members immediately follow their parent members. - * If set to false the query set sorts the members in a level using a post-natural order. In other words, child members precede their parents. + * If set to true, the query set sorts members in a level in their natural order - child members immediately follow their parent members. + * If set to false the query set sorts the members in a level using a post-natural order. In other words, child members precede their parents. */ igPivotGrid(optionLiteral: 'option', optionName: "isParentInFrontForRows"): boolean; /** * A boolean value indicating whether a parent in the rows is in front of its children. - * If set to true, the query set sorts members in a level in their natural order - child members immediately follow their parent members. - * If set to false the query set sorts the members in a level using a post-natural order. In other words, child members precede their parents. + * If set to true, the query set sorts members in a level in their natural order - child members immediately follow their parent members. + * If set to false the query set sorts the members in a level using a post-natural order. In other words, child members precede their parents. * * @optionValue New value to be set. */ @@ -67790,17 +69066,17 @@ interface JQuery { igPivotGrid(optionLiteral: 'option', optionName: "compactRowHeaders", optionValue: boolean): void; /** - * A value indicating whether the layout that row headers should be arranged. standard Each hierarchy in the rows is displayed in a separate column. The child members of a member in the rows are displayed on its right. - * superCompact Each hierarchy in the rows is displayed in a separate column. The child members of a member in the rows are displayed on above or below it (Depending on the isParentInFrontForRows setting). - * tree All hierarchies in the rows are displayed in a tree-like structure in a single column (The column's width is dependent on the defaultRowHEaderWidth, which can be set to "null" to enable the built-in auto-sizing functionality). + * A value indicating whether the layout that row headers should be arranged.standard Each hierarchy in the rows is displayed in a separate column. The child members of a member in the rows are displayed on its right. + * superCompact Each hierarchy in the rows is displayed in a separate column. The child members of a member in the rows are displayed on above or below it (Depending on the isParentInFrontForRows setting). + * tree All hierarchies in the rows are displayed in a tree-like structure in a single column (The column's width is dependent on the defaultRowHEaderWidth, which can be set to "null" to enable the built-in auto-sizing functionality). * */ igPivotGrid(optionLiteral: 'option', optionName: "rowHeadersLayout"): any; /** - * A value indicating whether the layout that row headers should be arranged. standard Each hierarchy in the rows is displayed in a separate column. The child members of a member in the rows are displayed on its right. - * superCompact Each hierarchy in the rows is displayed in a separate column. The child members of a member in the rows are displayed on above or below it (Depending on the isParentInFrontForRows setting). - * tree All hierarchies in the rows are displayed in a tree-like structure in a single column (The column's width is dependent on the defaultRowHEaderWidth, which can be set to "null" to enable the built-in auto-sizing functionality). + * A value indicating whether the layout that row headers should be arranged.standard Each hierarchy in the rows is displayed in a separate column. The child members of a member in the rows are displayed on its right. + * superCompact Each hierarchy in the rows is displayed in a separate column. The child members of a member in the rows are displayed on above or below it (Depending on the isParentInFrontForRows setting). + * tree All hierarchies in the rows are displayed in a tree-like structure in a single column (The column's width is dependent on the defaultRowHEaderWidth, which can be set to "null" to enable the built-in auto-sizing functionality). * * * @optionValue New value to be set. @@ -68087,19 +69363,19 @@ interface JQuery { /** * A function that will be called to determine if an item can be moved in or dropped on an area of the pivot grid. - * paramType="string" The location where the item will be moved - igPivotGrid, igPivotDataSelector, filters, rows, columns or measures. - * paramType="string" The type of the item - Hierarchy, Measure or MeasureList. - * paramType="string" The unique name of the item. - * returnType="bool" The function must return true if the item should be accepted. + * paramType="string" The location where the item will be moved - igPivotGrid, igPivotDataSelector, filters, rows, columns or measures. + * paramType="string" The type of the item - Hierarchy, Measure or MeasureList. + * paramType="string" The unique name of the item. + * returnType="bool" The function must return true if the item should be accepted. */ igPivotGrid(optionLiteral: 'option', optionName: "customMoveValidation"): Function; /** * A function that will be called to determine if an item can be moved in or dropped on an area of the pivot grid. - * paramType="string" The location where the item will be moved - igPivotGrid, igPivotDataSelector, filters, rows, columns or measures. - * paramType="string" The type of the item - Hierarchy, Measure or MeasureList. - * paramType="string" The unique name of the item. - * returnType="bool" The function must return true if the item should be accepted. + * paramType="string" The location where the item will be moved - igPivotGrid, igPivotDataSelector, filters, rows, columns or measures. + * paramType="string" The type of the item - Hierarchy, Measure or MeasureList. + * paramType="string" The unique name of the item. + * returnType="bool" The function must return true if the item should be accepted. * * @optionValue New value to be set. */ @@ -68107,21 +69383,21 @@ interface JQuery { /** * Fired after the data source has initialized. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.dataSource to get a reference to the data source. - * Use ui.error to see if an error has occured during initialization. - * Use ui.metadataTreeRoot to get a reference to the root of the data source metatadata root item. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.dataSource to get a reference to the data source. + * Use ui.error to see if an error has occured during initialization. + * Use ui.metadataTreeRoot to get a reference to the root of the data source metatadata root item. */ igPivotGrid(optionLiteral: 'option', optionName: "dataSourceInitialized"): DataSourceInitializedEvent; /** * Fired after the data source has initialized. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.dataSource to get a reference to the data source. - * Use ui.error to see if an error has occured during initialization. - * Use ui.metadataTreeRoot to get a reference to the root of the data source metatadata root item. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.dataSource to get a reference to the data source. + * Use ui.error to see if an error has occured during initialization. + * Use ui.metadataTreeRoot to get a reference to the root of the data source metatadata root item. * * @optionValue New value to be set. */ @@ -68129,21 +69405,21 @@ interface JQuery { /** * Fired after the data source has updated. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.dataSource to get a reference to the data source. - * Use ui.error to see if an error has occured during update. - * Use ui.result to get the result of the update operation. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.dataSource to get a reference to the data source. + * Use ui.error to see if an error has occured during update. + * Use ui.result to get the result of the update operation. */ igPivotGrid(optionLiteral: 'option', optionName: "dataSourceUpdated"): DataSourceUpdatedEvent; /** * Fired after the data source has updated. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.dataSource to get a reference to the data source. - * Use ui.error to see if an error has occured during update. - * Use ui.result to get the result of the update operation. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.dataSource to get a reference to the data source. + * Use ui.error to see if an error has occured during update. + * Use ui.result to get the result of the update operation. * * @optionValue New value to be set. */ @@ -68151,19 +69427,19 @@ interface JQuery { /** * Event fired after the headers have been rendered. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.grid to get a reference to the igGrid widget, which holds the headers. - * Use ui.table to get a reference to the headers table DOM element. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.grid to get a reference to the igGrid widget, which holds the headers. + * Use ui.table to get a reference to the headers table DOM element. */ igPivotGrid(optionLiteral: 'option', optionName: "pivotGridHeadersRendered"): PivotGridHeadersRenderedEvent; /** * Event fired after the headers have been rendered. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.grid to get a reference to the igGrid widget, which holds the headers. - * Use ui.table to get a reference to the headers table DOM element. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.grid to get a reference to the igGrid widget, which holds the headers. + * Use ui.table to get a reference to the headers table DOM element. * * @optionValue Define event handler function. */ @@ -68171,17 +69447,17 @@ interface JQuery { /** * Event fired after the whole grid widget has been rendered (including headers, footers, etc.). - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.grid to get reference to the igGrid widget, which represents the data. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.grid to get reference to the igGrid widget, which represents the data. */ igPivotGrid(optionLiteral: 'option', optionName: "pivotGridRendered"): PivotGridRenderedEvent; /** * Event fired after the whole grid widget has been rendered (including headers, footers, etc.). - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.grid to get reference to the igGrid widget, which represents the data. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.grid to get reference to the igGrid widget, which represents the data. * * @optionValue Define event handler function. */ @@ -68189,23 +69465,23 @@ interface JQuery { /** * Fired before the expand of the tuple member. - * Function takes arguments evt and ui. Return false to cancel the expanding. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.dataSource to get a reference to the data source. - * Use ui.axisName to get the name of axis, which holds the member and the tuple. - * Use ui.tupleIndex to get the index of the tuple in the axis. - * Use ui.memberIndex to get the index of the member in the tuple. + * Function takes arguments evt and ui. Return false to cancel the expanding. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.dataSource to get a reference to the data source. + * Use ui.axisName to get the name of axis, which holds the member and the tuple. + * Use ui.tupleIndex to get the index of the tuple in the axis. + * Use ui.memberIndex to get the index of the member in the tuple. */ igPivotGrid(optionLiteral: 'option', optionName: "tupleMemberExpanding"): TupleMemberExpandingEvent; /** * Fired before the expand of the tuple member. - * Function takes arguments evt and ui. Return false to cancel the expanding. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.dataSource to get a reference to the data source. - * Use ui.axisName to get the name of axis, which holds the member and the tuple. - * Use ui.tupleIndex to get the index of the tuple in the axis. - * Use ui.memberIndex to get the index of the member in the tuple. + * Function takes arguments evt and ui. Return false to cancel the expanding. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.dataSource to get a reference to the data source. + * Use ui.axisName to get the name of axis, which holds the member and the tuple. + * Use ui.tupleIndex to get the index of the tuple in the axis. + * Use ui.memberIndex to get the index of the member in the tuple. * * @optionValue New value to be set. */ @@ -68213,23 +69489,23 @@ interface JQuery { /** * Fired after the expand of the tuple member. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.dataSource to get a reference to the data source. - * Use ui.axisName to get the name of axis, which holds the member and the tuple. - * Use ui.tupleIndex to get the index of the tuple in the axis. - * Use ui.memberIndex to get the index of the member in the tuple. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.dataSource to get a reference to the data source. + * Use ui.axisName to get the name of axis, which holds the member and the tuple. + * Use ui.tupleIndex to get the index of the tuple in the axis. + * Use ui.memberIndex to get the index of the member in the tuple. */ igPivotGrid(optionLiteral: 'option', optionName: "tupleMemberExpanded"): TupleMemberExpandedEvent; /** * Fired after the expand of the tuple member. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.dataSource to get a reference to the data source. - * Use ui.axisName to get the name of axis, which holds the member and the tuple. - * Use ui.tupleIndex to get the index of the tuple in the axis. - * Use ui.memberIndex to get the index of the member in the tuple. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.dataSource to get a reference to the data source. + * Use ui.axisName to get the name of axis, which holds the member and the tuple. + * Use ui.tupleIndex to get the index of the tuple in the axis. + * Use ui.memberIndex to get the index of the member in the tuple. * * @optionValue New value to be set. */ @@ -68237,23 +69513,23 @@ interface JQuery { /** * Fired before the collapse of the tuple member. - * Function takes arguments evt and ui. Return false to cancel the collapsing. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.dataSource to get a reference to the data source. - * Use ui.axisName to get the name of axis, which holds the member and the tuple. - * Use ui.tupleIndex to get the index of the tuple in the axis. - * Use ui.memberIndex to get the index of the member in the tuple. + * Function takes arguments evt and ui. Return false to cancel the collapsing. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.dataSource to get a reference to the data source. + * Use ui.axisName to get the name of axis, which holds the member and the tuple. + * Use ui.tupleIndex to get the index of the tuple in the axis. + * Use ui.memberIndex to get the index of the member in the tuple. */ igPivotGrid(optionLiteral: 'option', optionName: "tupleMemberCollapsing"): TupleMemberCollapsingEvent; /** * Fired before the collapse of the tuple member. - * Function takes arguments evt and ui. Return false to cancel the collapsing. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.dataSource to get a reference to the data source. - * Use ui.axisName to get the name of axis, which holds the member and the tuple. - * Use ui.tupleIndex to get the index of the tuple in the axis. - * Use ui.memberIndex to get the index of the member in the tuple. + * Function takes arguments evt and ui. Return false to cancel the collapsing. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.dataSource to get a reference to the data source. + * Use ui.axisName to get the name of axis, which holds the member and the tuple. + * Use ui.tupleIndex to get the index of the tuple in the axis. + * Use ui.memberIndex to get the index of the member in the tuple. * * @optionValue New value to be set. */ @@ -68261,23 +69537,23 @@ interface JQuery { /** * Fired after the collapse of the tuple member. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.dataSource to get a reference to the data source. - * Use ui.axisName to get the name of axis, which holds the member and the tuple. - * Use ui.tupleIndex to get the index of the tuple in the axis. - * Use ui.memberIndex to get the index of the member in the tuple. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.dataSource to get a reference to the data source. + * Use ui.axisName to get the name of axis, which holds the member and the tuple. + * Use ui.tupleIndex to get the index of the tuple in the axis. + * Use ui.memberIndex to get the index of the member in the tuple. */ igPivotGrid(optionLiteral: 'option', optionName: "tupleMemberCollapsed"): TupleMemberCollapsedEvent; /** * Fired after the collapse of the tuple member. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.dataSource to get a reference to the data source. - * Use ui.axisName to get the name of axis, which holds the member and the tuple. - * Use ui.tupleIndex to get the index of the tuple in the axis. - * Use ui.memberIndex to get the index of the member in the tuple. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.dataSource to get a reference to the data source. + * Use ui.axisName to get the name of axis, which holds the member and the tuple. + * Use ui.tupleIndex to get the index of the tuple in the axis. + * Use ui.memberIndex to get the index of the member in the tuple. * * @optionValue New value to be set. */ @@ -68285,17 +69561,17 @@ interface JQuery { /** * Fired before the sorting of the columns. - * Function takes arguments evt and ui. Return false to cancel the sorting. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.sortDirections to get an array of the tuple indices and sort directions that will be used. + * Function takes arguments evt and ui. Return false to cancel the sorting. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.sortDirections to get an array of the tuple indices and sort directions that will be used. */ igPivotGrid(optionLiteral: 'option', optionName: "sorting"): SortingEvent; /** * Fired before the sorting of the columns. - * Function takes arguments evt and ui. Return false to cancel the sorting. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.sortDirections to get an array of the tuple indices and sort directions that will be used. + * Function takes arguments evt and ui. Return false to cancel the sorting. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.sortDirections to get an array of the tuple indices and sort directions that will be used. * * @optionValue New value to be set. */ @@ -68303,19 +69579,19 @@ interface JQuery { /** * Fired after the sorting of the columns. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.sortDirections to get an array of the tuple indices and sort directions that were passed to the table view. - * Use ui.appliedSortDirections to get an array of the tuple indices and sort directions that were actually applied to the table view. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.sortDirections to get an array of the tuple indices and sort directions that were passed to the table view. + * Use ui.appliedSortDirections to get an array of the tuple indices and sort directions that were actually applied to the table view. */ igPivotGrid(optionLiteral: 'option', optionName: "sorted"): SortedEvent; /** * Fired after the sorting of the columns. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.sortDirections to get an array of the tuple indices and sort directions that were passed to the table view. - * Use ui.appliedSortDirections to get an array of the tuple indices and sort directions that were actually applied to the table view. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.sortDirections to get an array of the tuple indices and sort directions that were passed to the table view. + * Use ui.appliedSortDirections to get an array of the tuple indices and sort directions that were actually applied to the table view. * * @optionValue New value to be set. */ @@ -68323,17 +69599,17 @@ interface JQuery { /** * Fired before the sorting of the headers. - * Function takes arguments evt and ui. Return false to cancel the sorting. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.levelSortDirections to get an array of the level names and sort directions that will be used. + * Function takes arguments evt and ui. Return false to cancel the sorting. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.levelSortDirections to get an array of the level names and sort directions that will be used. */ igPivotGrid(optionLiteral: 'option', optionName: "headersSorting"): HeadersSortingEvent; /** * Fired before the sorting of the headers. - * Function takes arguments evt and ui. Return false to cancel the sorting. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.levelSortDirections to get an array of the level names and sort directions that will be used. + * Function takes arguments evt and ui. Return false to cancel the sorting. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.levelSortDirections to get an array of the level names and sort directions that will be used. * * @optionValue New value to be set. */ @@ -68341,19 +69617,19 @@ interface JQuery { /** * Fired after the sorting of the headers. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.levelSortDirections to get an array of the level names and sort directions that were used. - * Use ui.appliedLevelSortDirections to get an array of the level names and sort directions that were actually applied to the table view. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.levelSortDirections to get an array of the level names and sort directions that were used. + * Use ui.appliedLevelSortDirections to get an array of the level names and sort directions that were actually applied to the table view. */ igPivotGrid(optionLiteral: 'option', optionName: "headersSorted"): HeadersSortedEvent; /** * Fired after the sorting of the headers. - * Function takes arguments evt and ui. - * Use ui.owner to get a reference to the pivot grid. - * Use ui.levelSortDirections to get an array of the level names and sort directions that were used. - * Use ui.appliedLevelSortDirections to get an array of the level names and sort directions that were actually applied to the table view. + * Function takes arguments evt and ui. + * Use ui.owner to get a reference to the pivot grid. + * Use ui.levelSortDirections to get an array of the level names and sort directions that were used. + * Use ui.appliedLevelSortDirections to get an array of the level names and sort directions that were actually applied to the table view. * * @optionValue New value to be set. */ @@ -68361,21 +69637,21 @@ interface JQuery { /** * Fired on drag start. Return false to cancel the dragging. - * Use ui.metadatato get a reference to the data. - * Use ui.helper to get a reference to the helper. - * Use ui.offset to get a reference to the offset. - * Use ui.originalPosition to get a reference to the original position of the draggable element. - * Use ui.position to get a reference to the current position of the draggable element. + * Use ui.metadatato get a reference to the data. + * Use ui.helper to get a reference to the helper. + * Use ui.offset to get a reference to the offset. + * Use ui.originalPosition to get a reference to the original position of the draggable element. + * Use ui.position to get a reference to the current position of the draggable element. */ igPivotGrid(optionLiteral: 'option', optionName: "dragStart"): DragStartEvent; /** * Fired on drag start. Return false to cancel the dragging. - * Use ui.metadatato get a reference to the data. - * Use ui.helper to get a reference to the helper. - * Use ui.offset to get a reference to the offset. - * Use ui.originalPosition to get a reference to the original position of the draggable element. - * Use ui.position to get a reference to the current position of the draggable element. + * Use ui.metadatato get a reference to the data. + * Use ui.helper to get a reference to the helper. + * Use ui.offset to get a reference to the offset. + * Use ui.originalPosition to get a reference to the original position of the draggable element. + * Use ui.position to get a reference to the current position of the draggable element. * * @optionValue New value to be set. */ @@ -68383,21 +69659,21 @@ interface JQuery { /** * Fired on drag. Return false to cancel the drag. - * Use ui.metadatato get a reference to the data. - * Use ui.helper to get a reference to the helper. - * Use ui.offset to get a reference to the offset. - * Use ui.originalPosition to get a reference to the original position of the draggable element. - * Use ui.position to get a reference to the current position of the draggable element. + * Use ui.metadatato get a reference to the data. + * Use ui.helper to get a reference to the helper. + * Use ui.offset to get a reference to the offset. + * Use ui.originalPosition to get a reference to the original position of the draggable element. + * Use ui.position to get a reference to the current position of the draggable element. */ igPivotGrid(optionLiteral: 'option', optionName: "drag"): DragEvent; /** * Fired on drag. Return false to cancel the drag. - * Use ui.metadatato get a reference to the data. - * Use ui.helper to get a reference to the helper. - * Use ui.offset to get a reference to the offset. - * Use ui.originalPosition to get a reference to the original position of the draggable element. - * Use ui.position to get a reference to the current position of the draggable element. + * Use ui.metadatato get a reference to the data. + * Use ui.helper to get a reference to the helper. + * Use ui.offset to get a reference to the offset. + * Use ui.originalPosition to get a reference to the original position of the draggable element. + * Use ui.position to get a reference to the current position of the draggable element. * * @optionValue New value to be set. */ @@ -68405,19 +69681,19 @@ interface JQuery { /** * Fired on drag stop. - * Use ui.helper to get a reference to the helper. - * Use ui.offset to get a reference to the offset. - * Use ui.originalPosition to get a reference to the original position of the draggable element. - * Use ui.position to get a reference to the current position of the draggable element. + * Use ui.helper to get a reference to the helper. + * Use ui.offset to get a reference to the offset. + * Use ui.originalPosition to get a reference to the original position of the draggable element. + * Use ui.position to get a reference to the current position of the draggable element. */ igPivotGrid(optionLiteral: 'option', optionName: "dragStop"): DragStopEvent; /** * Fired on drag stop. - * Use ui.helper to get a reference to the helper. - * Use ui.offset to get a reference to the offset. - * Use ui.originalPosition to get a reference to the original position of the draggable element. - * Use ui.position to get a reference to the current position of the draggable element. + * Use ui.helper to get a reference to the helper. + * Use ui.offset to get a reference to the offset. + * Use ui.originalPosition to get a reference to the original position of the draggable element. + * Use ui.position to get a reference to the current position of the draggable element. * * @optionValue New value to be set. */ @@ -68425,25 +69701,25 @@ interface JQuery { /** * Fired before a metadata item drop. Return false to cancel the drop. - * Use ui.targetElement for a reference to the drop target. - * Use ui.draggedElement for a reference to the metadata item element. - * Use ui.metadatato get a reference to the data. - * Use ui.metadataIndex to get the index at which the metadata will be inserted. - * Use ui.helper to get a reference to the helper. - * Use ui.offset to get a reference to the offset. - * Use ui.position to get a reference to the current position of the draggable element. + * Use ui.targetElement for a reference to the drop target. + * Use ui.draggedElement for a reference to the metadata item element. + * Use ui.metadatato get a reference to the data. + * Use ui.metadataIndex to get the index at which the metadata will be inserted. + * Use ui.helper to get a reference to the helper. + * Use ui.offset to get a reference to the offset. + * Use ui.position to get a reference to the current position of the draggable element. */ igPivotGrid(optionLiteral: 'option', optionName: "metadataDropping"): MetadataDroppingEvent; /** * Fired before a metadata item drop. Return false to cancel the drop. - * Use ui.targetElement for a reference to the drop target. - * Use ui.draggedElement for a reference to the metadata item element. - * Use ui.metadatato get a reference to the data. - * Use ui.metadataIndex to get the index at which the metadata will be inserted. - * Use ui.helper to get a reference to the helper. - * Use ui.offset to get a reference to the offset. - * Use ui.position to get a reference to the current position of the draggable element. + * Use ui.targetElement for a reference to the drop target. + * Use ui.draggedElement for a reference to the metadata item element. + * Use ui.metadatato get a reference to the data. + * Use ui.metadataIndex to get the index at which the metadata will be inserted. + * Use ui.helper to get a reference to the helper. + * Use ui.offset to get a reference to the offset. + * Use ui.position to get a reference to the current position of the draggable element. * * @optionValue New value to be set. */ @@ -68451,25 +69727,25 @@ interface JQuery { /** * Fired after a metadata item drop. - * Use ui.targetElement for a reference to the drop target. - * Use ui.draggedElement for a reference to the dragged element. - * Use ui.metadatato get a reference to the data. - * Use ui.metadataIndex to get the index at which the metadata is inserted. - * Use ui.helper to get a reference to the helper. - * Use ui.offset to get a reference to the offset. - * Use ui.position to get a reference to the current position of the draggable element. + * Use ui.targetElement for a reference to the drop target. + * Use ui.draggedElement for a reference to the dragged element. + * Use ui.metadatato get a reference to the data. + * Use ui.metadataIndex to get the index at which the metadata is inserted. + * Use ui.helper to get a reference to the helper. + * Use ui.offset to get a reference to the offset. + * Use ui.position to get a reference to the current position of the draggable element. */ igPivotGrid(optionLiteral: 'option', optionName: "metadataDropped"): MetadataDroppedEvent; /** * Fired after a metadata item drop. - * Use ui.targetElement for a reference to the drop target. - * Use ui.draggedElement for a reference to the dragged element. - * Use ui.metadatato get a reference to the data. - * Use ui.metadataIndex to get the index at which the metadata is inserted. - * Use ui.helper to get a reference to the helper. - * Use ui.offset to get a reference to the offset. - * Use ui.position to get a reference to the current position of the draggable element. + * Use ui.targetElement for a reference to the drop target. + * Use ui.draggedElement for a reference to the dragged element. + * Use ui.metadatato get a reference to the data. + * Use ui.metadataIndex to get the index at which the metadata is inserted. + * Use ui.helper to get a reference to the helper. + * Use ui.offset to get a reference to the offset. + * Use ui.position to get a reference to the current position of the draggable element. * * @optionValue New value to be set. */ @@ -68477,15 +69753,15 @@ interface JQuery { /** * Fired before a metadata item is removed when the user clicks the close icon. Return false to cancel the removing. - * Use ui.targetElement for a reference to the dragged element. - * Use ui.metadatato get a reference to the data. + * Use ui.targetElement for a reference to the dragged element. + * Use ui.metadatato get a reference to the data. */ igPivotGrid(optionLiteral: 'option', optionName: "metadataRemoving"): MetadataRemovingEvent; /** * Fired before a metadata item is removed when the user clicks the close icon. Return false to cancel the removing. - * Use ui.targetElement for a reference to the dragged element. - * Use ui.metadatato get a reference to the data. + * Use ui.targetElement for a reference to the dragged element. + * Use ui.metadatato get a reference to the data. * * @optionValue New value to be set. */ @@ -68493,13 +69769,13 @@ interface JQuery { /** * Fired after a metadata item is removed when the user clicks the close icon. - * Use ui.metadatato get a reference to the data. + * Use ui.metadatato get a reference to the data. */ igPivotGrid(optionLiteral: 'option', optionName: "metadataRemoved"): MetadataRemovedEvent; /** * Fired after a metadata item is removed when the user clicks the close icon. - * Use ui.metadatato get a reference to the data. + * Use ui.metadatato get a reference to the data. * * @optionValue New value to be set. */ @@ -68507,13 +69783,13 @@ interface JQuery { /** * Fired before the filter members drop down opens. Return false to cancel the opening. - * Use ui.hierarchy for a reference to the hierarchy. + * Use ui.hierarchy for a reference to the hierarchy. */ igPivotGrid(optionLiteral: 'option', optionName: "filterDropDownOpening"): FilterDropDownOpeningEvent; /** * Fired before the filter members drop down opens. Return false to cancel the opening. - * Use ui.hierarchy for a reference to the hierarchy. + * Use ui.hierarchy for a reference to the hierarchy. * * @optionValue New value to be set. */ @@ -68521,15 +69797,15 @@ interface JQuery { /** * Fired after the filter members drop down opens. - * Use ui.hierarchy for a reference to the hierarchy. - * Use ui.dropDownElement for a reference to the drop down. + * Use ui.hierarchy for a reference to the hierarchy. + * Use ui.dropDownElement for a reference to the drop down. */ igPivotGrid(optionLiteral: 'option', optionName: "filterDropDownOpened"): FilterDropDownOpenedEvent; /** * Fired after the filter members drop down opens. - * Use ui.hierarchy for a reference to the hierarchy. - * Use ui.dropDownElement for a reference to the drop down. + * Use ui.hierarchy for a reference to the hierarchy. + * Use ui.dropDownElement for a reference to the drop down. * * @optionValue New value to be set. */ @@ -68537,17 +69813,17 @@ interface JQuery { /** * Fired after the filter members are loaded. - * Use ui.parent to get the parent node or the igTree instance in the initial load. - * Use ui.rootFilterMembers for a collection with the root filter members . - * Use ui.filterMembers for a collection with the newly loaded filter members. + * Use ui.parent to get the parent node or the igTree instance in the initial load. + * Use ui.rootFilterMembers for a collection with the root filter members . + * Use ui.filterMembers for a collection with the newly loaded filter members. */ igPivotGrid(optionLiteral: 'option', optionName: "filterMembersLoaded"): FilterMembersLoadedEvent; /** * Fired after the filter members are loaded. - * Use ui.parent to get the parent node or the igTree instance in the initial load. - * Use ui.rootFilterMembers for a collection with the root filter members . - * Use ui.filterMembers for a collection with the newly loaded filter members. + * Use ui.parent to get the parent node or the igTree instance in the initial load. + * Use ui.rootFilterMembers for a collection with the root filter members . + * Use ui.filterMembers for a collection with the newly loaded filter members. * * @optionValue New value to be set. */ @@ -68555,17 +69831,17 @@ interface JQuery { /** * Fired after the OK button in the filter members drop down is clicked. Return false to cancel the applying of the filters. - * Use ui.hierarchy for a reference to the hierarchy. - * Use ui.filterMembers for a collection with the selected filter members. If all filter members are selected the collection will be empty. - * Use ui.dropDownElement for a reference to the drop down. + * Use ui.hierarchy for a reference to the hierarchy. + * Use ui.filterMembers for a collection with the selected filter members. If all filter members are selected the collection will be empty. + * Use ui.dropDownElement for a reference to the drop down. */ igPivotGrid(optionLiteral: 'option', optionName: "filterDropDownOk"): FilterDropDownOkEvent; /** * Fired after the OK button in the filter members drop down is clicked. Return false to cancel the applying of the filters. - * Use ui.hierarchy for a reference to the hierarchy. - * Use ui.filterMembers for a collection with the selected filter members. If all filter members are selected the collection will be empty. - * Use ui.dropDownElement for a reference to the drop down. + * Use ui.hierarchy for a reference to the hierarchy. + * Use ui.filterMembers for a collection with the selected filter members. If all filter members are selected the collection will be empty. + * Use ui.dropDownElement for a reference to the drop down. * * @optionValue New value to be set. */ @@ -68573,15 +69849,15 @@ interface JQuery { /** * Fired before the filter members drop down closes. Return false to cancel the closing. - * Use ui.hierarchy for a reference to the hierarchy. - * Use ui.dropDownElement for a reference to the drop down. + * Use ui.hierarchy for a reference to the hierarchy. + * Use ui.dropDownElement for a reference to the drop down. */ igPivotGrid(optionLiteral: 'option', optionName: "filterDropDownClosing"): FilterDropDownClosingEvent; /** * Fired before the filter members drop down closes. Return false to cancel the closing. - * Use ui.hierarchy for a reference to the hierarchy. - * Use ui.dropDownElement for a reference to the drop down. + * Use ui.hierarchy for a reference to the hierarchy. + * Use ui.dropDownElement for a reference to the drop down. * * @optionValue New value to be set. */ @@ -68589,13 +69865,13 @@ interface JQuery { /** * Fired after the filter members drop down closes. - * Use ui.hierarchy for a reference to the hierarchy. + * Use ui.hierarchy for a reference to the hierarchy. */ igPivotGrid(optionLiteral: 'option', optionName: "filterDropDownClosed"): FilterDropDownClosedEvent; /** * Fired after the filter members drop down closes. - * Use ui.hierarchy for a reference to the hierarchy. + * Use ui.hierarchy for a reference to the hierarchy. * * @optionValue New value to be set. */ @@ -69998,6 +71274,611 @@ interface JQuery { igPopover(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; igPopover(methodName: string, ...methodParams: any[]): any; } +interface ErrorMessageDisplayingEvent { + (event: Event, ui: ErrorMessageDisplayingEventUIParam): void; +} + +interface ErrorMessageDisplayingEventUIParam { + /** + * Used to obtain reference to the barcode widget. + */ + owner?: any; + + /** + * Used to get or set the error message that is to be shown. + */ + errorMessage?: any; +} + +interface DataChangedEvent { + (event: Event, ui: DataChangedEventUIParam): void; +} + +interface DataChangedEventUIParam { + /** + * Used to obtain reference to the barcode widget. + */ + owner?: any; + + /** + * Used to obtain the new data. + */ + newData?: any; +} + +interface IgQRCodeBarcode { + /** + * The width of the barcode. It can be set as a number in pixels, string (px) or percentage (%). + */ + width?: string|number; + + /** + * The height of the barcode. It can be set as a number in pixels, string (px) or percentage (%). + */ + height?: string|number; + + /** + * Gets or sets the scaling value used to affect the pixel density of the control. + * A higher scaling ratio will produce crisper visuals at the expense of memory. Lower values will cause the control + * to appear blurry. + */ + pixelScalingRatio?: number; + + /** + * Gets or sets the brush to use to fill the backing of the barcode. + */ + backingBrush?: string; + + /** + * Gets or sets the brush to use for the outline of the backing. + */ + backingOutline?: string; + + /** + * Gets or sets the stroke thickness of the backing outline. + */ + backingStrokeThickness?: number; + + /** + * Gets or sets the brush to use to fill the background of the bars. + */ + barBrush?: string; + + /** + * Gets or sets the brush to use for the label font. + */ + fontBrush?: string; + + /** + * Gets or sets the font of the text displayed by the control. + */ + font?: string; + + /** + * Gets or sets the data value. + */ + data?: string; + + /** + * Gets or sets the message text displayed when some error occurs. + */ + errorMessageText?: string; + + /** + * Gets or sets the stretch. + * + * Valid values: + * "none" + * "fill" + * "uniform" + * "uniformToFill" + */ + stretch?: string; + + /** + * Gets or sets a value which specifies how the grid fills within the barcode control dimensions. + * + * Valid values: + * "fillSpace" FillSpace mode ensures that the barcode grid fills the control dimensions. + * "ensureEqualSize" EnsureEqualSize mode ensures that every grid column/row has the same pixels number width/height. The sum of all columns/rows pixels may be less than the width/height of the control. + */ + barsFillMode?: string; + + /** + * Gets or sets the width (XDimension) to height (YDimension) ratio. It accepts only positive values. This property does not apply for the QR barcode. + */ + widthToHeightRatio?: number; + + /** + * Gets or sets the X-dimension (narrow element width) for a symbol in mm. It accepts values from 0.01 to 100. + */ + xDimension?: number; + + /** + * Gets or sets the error correction level of the QR Code symbol. + * + * Valid values: + * "low" Low error correction level allows recovery of 7% of the symbol codewords. + * "medium" Medium error correction level allows recovery of 15% of the symbol codewords. + * "quartil" Quartil error correction level allows recovery of 25% of the symbol codewords. + * "high" High error correction level allows recovery of 30% of the symbol codewords. + */ + errorCorrectionLevel?: string; + + /** + * Gets or sets the size version of the QR Code symbol. + * + * Valid values: + * "undefined" If set, the QR code barcode sets internally the smallest version that will accommodate the data. + * "version1" Version1 defines size of 21x21 modules for the symbol. + * "version2" Version2 defines size of 25x25 modules for the symbol. + * "version3" Version3 defines size of 29x29 modules for the symbol. + * "version4" Version4 defines size of 33x33 modules for the symbol. + * "version5" Version5 defines size of 37x37 modules for the symbol. + * "version6" Version6 defines size of 41x41 modules for the symbol. + * "version7" Version7 defines size of 45x45 modules for the symbol. + * "version8" Version8 defines size of 49x49 modules for the symbol. + * "version9" Version9 defines size of 53x53 modules for the symbol. + * "version10" Version10 defines size of 57x57 modules for the symbol. + * "version11" Version11 defines size of 61x61 modules for the symbol. + * "version12" Version12 defines size of 65x65 modules for the symbol. + * "version13" Version13 defines size of 69x69 modules for the symbol. + * "version14" Version14 defines size of 73x73 modules for the symbol. + * "version15" Version15 defines size of 77x77 modules for the symbol. + * "version16" Version16 defines size of 81x81 modules for the symbol. + * "version17" Version17 defines size of 85x85 modules for the symbol. + * "version18" Version18 defines size of 89x89 modules for the symbol. + * "version19" Version19 defines size of 93x93 modules for the symbol. + * "version20" Version20 defines size of 97x97 modules for the symbol. + * "version21" Version21 defines size of 101x101 modules for the symbol. + * "version22" Version22 defines size of 105x105 modules for the symbol. + * "version23" Version23 defines size of 109x109 modules for the symbol. + * "version24" Version24 defines size of 113x113 modules for the symbol. + * "version25" Version25 defines size of 117x117 modules for the symbol. + * "version26" Version26 defines size of 121x121 modules for the symbol. + * "version27" Version27 defines size of 125x125 modules for the symbol. + * "version28" Version28 defines size of 129x129 modules for the symbol. + * "version29" Version29 defines size of 133x133 modules for the symbol. + * "version30" Version30 defines size of 137x137 modules for the symbol. + * "version31" Version31 defines size of 141x141 modules for the symbol. + * "version32" Version32 defines size of 145x145 modules for the symbol. + * "version33" Version33 defines size of 149x149 modules for the symbol. + * "version34" Version34 defines size of 153x153 modules for the symbol. + * "version35" Version35 defines size of 157x157 modules for the symbol. + * "version36" Version36 defines size of 161x161 modules for the symbol. + * "version37" Version37 defines size of 165x165 modules for the symbol. + * "version38" Version38 defines size of 169x169 modules for the symbol. + * "version39" Version39 defines size of 173x173 modules for the symbol. + * "version40" Version40 defines size of 177x177 modules for the symbol. + */ + sizeVersion?: string; + + /** + * Gets or sets the encoding mode for compaction of the QR Code symbol data. The default value is undefined if the Shift_JIS encoding is loaded. Otherwise the default value is byte. + * + * Valid values: + * "undefined" When Undefined encoding mode is set, the QR code barcode internally switches between modes as necessary in order to achieve the most efficient conversion of data into a binary string. + * "numeric" Numeric mode encodes data from decimal digit set (0-9). Normally 3 data characters are represented by 10 bits. + * "alphanumeric" Alphanumeric mode encodes data from a set of 45 characters (digits 0-9, upper case letters A-Z, nine other characters: space, $ % * + _ . / : ). Normally two input characters are represented by 11 bits. + * "byte" In Byte mode the data is encoded at 8 bits per character. The character set of the Byte encoding mode is byte data (by default it is ISO/IEC 8859-1 character set). + * "kanji" The Kanji mode efficiently encodes Kanji characters in accordance with the Shift JIS system based on JIS X 0208. Each two-byte character value is compacted to a 13-bit binary codeword. + */ + encodingMode?: string; + + /** + * Each Extended Channel Interpretation (ECI) is designated by a six-digit assignment number: 000000 - 999999. + * The default value depends on the loaded encodings. The default is ECI 000003 (representing ISO/IEC 8859-1) if the ISO/IEC 8859-1 character set is loaded. Otherwise the default value is 000026 (representing UTF-8). + */ + eciNumber?: number; + + /** + * Gets or sets a value indicating whether to show the ECI header. + * + * Valid values: + * "hide" Hide the header. + * "show" Show the header. + */ + eciHeaderDisplayMode?: string; + + /** + * Gets or sets the FNC1 mode indicator which identifies symbols encoding messages formatted according to specific predefined industry or application specifications. + * + * Valid values: + * "none" Do not use any Fnc1 symbols, i.e. the data is not identified according to specific predefined industry or application specifications. + * "gs1" Uses Fnc1 symbol in the first position of the character in Code 128 symbols and designates data formatted in accordance with the GS1 General Specification. + * "industry" Uses Fnc1 symbol in the second position of the character in Code 128 symbols and designates data formatted in accordance with a specific industry application previously agreed with AIM Inc. + */ + fnc1Mode?: string; + + /** + * Gets or sets the Application Indicator assigned to identify the specification concerned by AIM International. + * The value is respected only when the Fnc1Mode is set to Industry. Its value may take the form of any single Latin alphabetic character from the set {a - z, A - Z} or a two-digit number. + */ + applicationIndicator?: string; + + /** + * Occurs when an error has happened. + * Function takes first argument evt and second argument ui. + * Use ui.owner to obtain reference to the barcode widget. + * Use ui.errorMessage to get or set the error message that is to be shown. + */ + errorMessageDisplaying?: ErrorMessageDisplayingEvent; + + /** + * Occurs when the data has changed. + * Function takes first argument evt and second argument ui. + * Use ui.owner to obtain reference to the barcode widget. + * Use ui.newData to obtain the new data. + */ + dataChanged?: DataChangedEvent; + + /** + * Option for igQRCodeBarcode + */ + [optionName: string]: any; +} +interface IgQRCodeBarcodeMethods { + /** + * Returns information about how the barcode is rendered. + */ + exportVisualData(): Object; + + /** + * Causes all pending changes of the barcode e.g. by changed property values to be rendered immediately. + */ + flush(): void; + + /** + * Destroys widget. + */ + destroy(): void; + + /** + * Re-polls the css styles for the widget. Use this method when the css styles have been modified. + */ + styleUpdated(): void; +} +interface JQuery { + data(propertyName: "igQRCodeBarcode"): IgQRCodeBarcodeMethods; +} + +interface JQuery { + igQRCodeBarcode(methodName: "exportVisualData"): Object; + igQRCodeBarcode(methodName: "flush"): void; + igQRCodeBarcode(methodName: "destroy"): void; + igQRCodeBarcode(methodName: "styleUpdated"): void; + + /** + * The width of the barcode. It can be set as a number in pixels, string (px) or percentage (%). + */ + + igQRCodeBarcode(optionLiteral: 'option', optionName: "width"): string|number; + + /** + * The width of the barcode. It can be set as a number in pixels, string (px) or percentage (%). + * + * @optionValue New value to be set. + */ + + igQRCodeBarcode(optionLiteral: 'option', optionName: "width", optionValue: string|number): void; + + /** + * The height of the barcode. It can be set as a number in pixels, string (px) or percentage (%). + */ + + igQRCodeBarcode(optionLiteral: 'option', optionName: "height"): string|number; + + /** + * The height of the barcode. It can be set as a number in pixels, string (px) or percentage (%). + * + * @optionValue New value to be set. + */ + + igQRCodeBarcode(optionLiteral: 'option', optionName: "height", optionValue: string|number): void; + + /** + * Gets the scaling value used to affect the pixel density of the control. + * A higher scaling ratio will produce crisper visuals at the expense of memory. Lower values will cause the control + * to appear blurry. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "pixelScalingRatio"): number; + + /** + * Sets the scaling value used to affect the pixel density of the control. + * A higher scaling ratio will produce crisper visuals at the expense of memory. Lower values will cause the control + * to appear blurry. + * + * @optionValue New value to be set. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "pixelScalingRatio", optionValue: number): void; + + /** + * Gets the brush to use to fill the backing of the barcode. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "backingBrush"): string; + + /** + * Sets the brush to use to fill the backing of the barcode. + * + * @optionValue New value to be set. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "backingBrush", optionValue: string): void; + + /** + * Gets the brush to use for the outline of the backing. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "backingOutline"): string; + + /** + * Sets the brush to use for the outline of the backing. + * + * @optionValue New value to be set. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "backingOutline", optionValue: string): void; + + /** + * Gets the stroke thickness of the backing outline. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "backingStrokeThickness"): number; + + /** + * Sets the stroke thickness of the backing outline. + * + * @optionValue New value to be set. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "backingStrokeThickness", optionValue: number): void; + + /** + * Gets the brush to use to fill the background of the bars. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "barBrush"): string; + + /** + * Sets the brush to use to fill the background of the bars. + * + * @optionValue New value to be set. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "barBrush", optionValue: string): void; + + /** + * Gets the brush to use for the label font. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "fontBrush"): string; + + /** + * Sets the brush to use for the label font. + * + * @optionValue New value to be set. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "fontBrush", optionValue: string): void; + + /** + * Gets the font of the text displayed by the control. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "font"): string; + + /** + * Sets the font of the text displayed by the control. + * + * @optionValue New value to be set. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "font", optionValue: string): void; + + /** + * Gets the data value. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "data"): string; + + /** + * Sets the data value. + * + * @optionValue New value to be set. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "data", optionValue: string): void; + + /** + * Gets the message text displayed when some error occurs. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "errorMessageText"): string; + + /** + * Sets the message text displayed when some error occurs. + * + * @optionValue New value to be set. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "errorMessageText", optionValue: string): void; + + /** + * Gets the stretch. + */ + + igQRCodeBarcode(optionLiteral: 'option', optionName: "stretch"): string; + + /** + * Sets the stretch. + * + * @optionValue New value to be set. + */ + + igQRCodeBarcode(optionLiteral: 'option', optionName: "stretch", optionValue: string): void; + + /** + * Gets a value which specifies how the grid fills within the barcode control dimensions. + */ + + igQRCodeBarcode(optionLiteral: 'option', optionName: "barsFillMode"): string; + + /** + * Sets a value which specifies how the grid fills within the barcode control dimensions. + * + * @optionValue New value to be set. + */ + + igQRCodeBarcode(optionLiteral: 'option', optionName: "barsFillMode", optionValue: string): void; + + /** + * Gets the width (XDimension) to height (YDimension) ratio. It accepts only positive values. This property does not apply for the QR barcode. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "widthToHeightRatio"): number; + + /** + * Sets the width (XDimension) to height (YDimension) ratio. It accepts only positive values. This property does not apply for the QR barcode. + * + * @optionValue New value to be set. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "widthToHeightRatio", optionValue: number): void; + + /** + * Gets the X-dimension (narrow element width) for a symbol in mm. It accepts values from 0.01 to 100. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "xDimension"): number; + + /** + * Sets the X-dimension (narrow element width) for a symbol in mm. It accepts values from 0.01 to 100. + * + * @optionValue New value to be set. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "xDimension", optionValue: number): void; + + /** + * Gets the error correction level of the QR Code symbol. + */ + + igQRCodeBarcode(optionLiteral: 'option', optionName: "errorCorrectionLevel"): string; + + /** + * Sets the error correction level of the QR Code symbol. + * + * @optionValue New value to be set. + */ + + igQRCodeBarcode(optionLiteral: 'option', optionName: "errorCorrectionLevel", optionValue: string): void; + + /** + * Gets the size version of the QR Code symbol. + */ + + igQRCodeBarcode(optionLiteral: 'option', optionName: "sizeVersion"): string; + + /** + * Sets the size version of the QR Code symbol. + * + * @optionValue New value to be set. + */ + + igQRCodeBarcode(optionLiteral: 'option', optionName: "sizeVersion", optionValue: string): void; + + /** + * Gets the encoding mode for compaction of the QR Code symbol data. The default value is undefined if the Shift_JIS encoding is loaded. Otherwise the default value is byte. + */ + + igQRCodeBarcode(optionLiteral: 'option', optionName: "encodingMode"): string; + + /** + * Sets the encoding mode for compaction of the QR Code symbol data. The default value is undefined if the Shift_JIS encoding is loaded. Otherwise the default value is byte. + * + * @optionValue New value to be set. + */ + + igQRCodeBarcode(optionLiteral: 'option', optionName: "encodingMode", optionValue: string): void; + + /** + * Each Extended Channel Interpretation (ECI) is designated by a six-digit assignment number: 000000 - 999999. + * The default value depends on the loaded encodings. The default is ECI 000003 (representing ISO/IEC 8859-1) if the ISO/IEC 8859-1 character set is loaded. Otherwise the default value is 000026 (representing UTF-8). + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "eciNumber"): number; + + /** + * Each Extended Channel Interpretation (ECI) is designated by a six-digit assignment number: 000000 - 999999. + * The default value depends on the loaded encodings. The default is ECI 000003 (representing ISO/IEC 8859-1) if the ISO/IEC 8859-1 character set is loaded. Otherwise the default value is 000026 (representing UTF-8). + * + * @optionValue New value to be set. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "eciNumber", optionValue: number): void; + + /** + * Gets a value indicating whether to show the ECI header. + */ + + igQRCodeBarcode(optionLiteral: 'option', optionName: "eciHeaderDisplayMode"): string; + + /** + * Sets a value indicating whether to show the ECI header. + * + * @optionValue New value to be set. + */ + + igQRCodeBarcode(optionLiteral: 'option', optionName: "eciHeaderDisplayMode", optionValue: string): void; + + /** + * Gets the FNC1 mode indicator which identifies symbols encoding messages formatted according to specific predefined industry or application specifications. + */ + + igQRCodeBarcode(optionLiteral: 'option', optionName: "fnc1Mode"): string; + + /** + * Sets the FNC1 mode indicator which identifies symbols encoding messages formatted according to specific predefined industry or application specifications. + * + * @optionValue New value to be set. + */ + + igQRCodeBarcode(optionLiteral: 'option', optionName: "fnc1Mode", optionValue: string): void; + + /** + * Gets the Application Indicator assigned to identify the specification concerned by AIM International. + * The value is respected only when the Fnc1Mode is set to Industry. Its value may take the form of any single Latin alphabetic character from the set {a - z, A - Z} or a two-digit number. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "applicationIndicator"): string; + + /** + * Sets the Application Indicator assigned to identify the specification concerned by AIM International. + * The value is respected only when the Fnc1Mode is set to Industry. Its value may take the form of any single Latin alphabetic character from the set {a - z, A - Z} or a two-digit number. + * + * @optionValue New value to be set. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "applicationIndicator", optionValue: string): void; + + /** + * Occurs when an error has happened. + * Function takes first argument evt and second argument ui. + * Use ui.owner to obtain reference to the barcode widget. + * Use ui.errorMessage to get or set the error message that is to be shown. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "errorMessageDisplaying"): ErrorMessageDisplayingEvent; + + /** + * Occurs when an error has happened. + * Function takes first argument evt and second argument ui. + * Use ui.owner to obtain reference to the barcode widget. + * Use ui.errorMessage to get or set the error message that is to be shown. + * + * @optionValue New value to be set. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "errorMessageDisplaying", optionValue: ErrorMessageDisplayingEvent): void; + + /** + * Occurs when the data has changed. + * Function takes first argument evt and second argument ui. + * Use ui.owner to obtain reference to the barcode widget. + * Use ui.newData to obtain the new data. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "dataChanged"): DataChangedEvent; + + /** + * Occurs when the data has changed. + * Function takes first argument evt and second argument ui. + * Use ui.owner to obtain reference to the barcode widget. + * Use ui.newData to obtain the new data. + * + * @optionValue New value to be set. + */ + igQRCodeBarcode(optionLiteral: 'option', optionName: "dataChanged", optionValue: DataChangedEvent): void; + igQRCodeBarcode(options: IgQRCodeBarcode): JQuery; + igQRCodeBarcode(optionLiteral: 'option', optionName: string): any; + igQRCodeBarcode(optionLiteral: 'option', options: IgQRCodeBarcode): JQuery; + igQRCodeBarcode(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; + igQRCodeBarcode(methodName: string, ...methodParams: any[]): any; +} interface IgRadialGaugeRange { /** * Gets or sets the name of the range. @@ -73450,6 +75331,12 @@ interface IgScheduler { */ appointmentDialogSuppress?: boolean; + /** + * Gets/Sets dataSource of type $.ig.scheduler.ScheduleListDataSource. + * + */ + dataSource?: any; + /** * Fired before agenda view range is changed when using previous and next buttons (fired only in Agenda View) */ @@ -73579,6 +75466,7 @@ interface IgSchedulerMethods { * @param updateAppoinment updateAppoinment */ editAppointment(appointment: Object, updateAppoinment: Object): Object; + changeLocale(): void; /** * Destroys the widget @@ -73619,6 +75507,7 @@ interface JQuery { igScheduler(methodName: "createAppointment", appointment: Object): Object; igScheduler(methodName: "deleteAppointment", appointment: Object): Object; igScheduler(methodName: "editAppointment", appointment: Object, updateAppoinment: Object): Object; + igScheduler(methodName: "changeLocale"): void; igScheduler(methodName: "destroy"): void; igScheduler(methodName: "todayButton"): string; igScheduler(methodName: "previousButton"): string; @@ -73744,6 +75633,20 @@ interface JQuery { */ igScheduler(optionLiteral: 'option', optionName: "appointmentDialogSuppress", optionValue: boolean): void; + /** + * Gets/Sets dataSource of type $.ig.scheduler.ScheduleListDataSource. + * + */ + igScheduler(optionLiteral: 'option', optionName: "dataSource"): any; + + /** + * /Sets dataSource of type $.ig.scheduler.ScheduleListDataSource. + * + * + * @optionValue New value to be set. + */ + igScheduler(optionLiteral: 'option', optionName: "dataSource", optionValue: any): void; + /** * Fired before agenda view range is changed when using previous and next buttons (fired only in Agenda View) */ @@ -74335,6 +76238,7 @@ interface IgScroll { } interface IgScrollMethods { refresh(): void; + changeLocale(): void; option(optionName: Object, value: Object): void; destroy(): void; } @@ -74344,6 +76248,7 @@ interface JQuery { interface JQuery { igScroll(methodName: "refresh"): void; + igScroll(methodName: "changeLocale"): void; igScroll(methodName: "option", optionName: Object, value: Object): void; igScroll(methodName: "destroy"): void; @@ -77576,6 +79481,111 @@ interface ActiveWorksheetChangedEventUIParam { newActiveWorksheetName?: string; } +interface EditModeExitingEvent { + (event: Event, ui: EditModeExitingEventUIParam): void; +} + +interface EditModeExitingEventUIParam { + /** + * Gets a reference to the spreadsheet widget. + */ + owner?: any; + + /** + * Get or set a boolean indicating whether the changes will be made to the cell's value when edit mode ends. + */ + acceptChanges?: boolean; + + /** + * Get a boolean indicating if the edit mode is being forced to exit edit mode in which case it cannot be cancelled. + */ + canCancel?: boolean; + + /** + * Gets the cell for which the control is exiting edit mode. + */ + cell?: string; +} + +interface EditModeExitedEvent { + (event: Event, ui: EditModeExitedEventUIParam): void; +} + +interface EditModeExitedEventUIParam { + /** + * Gets a reference to the spreadsheet widget. + */ + owner?: any; + + /** + * Gets the cell for which the control has exited edit mode. + */ + cell?: string; +} + +interface EditModeEnteringEvent { + (event: Event, ui: EditModeEnteringEventUIParam): void; +} + +interface EditModeEnteringEventUIParam { + /** + * Gets a reference to the spreadsheet widget. + */ + owner?: any; + + /** + * Gets the cell for which the control is going into edit mode. + */ + cell?: string; +} + +interface EditModeEnteredEvent { + (event: Event, ui: EditModeEnteredEventUIParam): void; +} + +interface EditModeEnteredEventUIParam { + /** + * Gets a reference to the spreadsheet widget. + */ + owner?: any; + + /** + * Gets the cell for which the control has entered edit mode. + */ + cell?: string; +} + +interface EditModeValidationErrorEvent { + (event: Event, ui: EditModeValidationErrorEventUIParam): void; +} + +interface EditModeValidationErrorEventUIParam { + /** + * Gets a reference to the spreadsheet widget. + */ + owner?: any; + + /** + * Get or set the [action](ig.spreadsheet.SpreadsheetEditModeValidationErrorAction) to take in response to the failed validation. + */ + action?: string; + + /** + * Get a boolean indicating whether the cell is allowed to stay in edit mode. + */ + canStayInEditMode?: boolean; + + /** + * Gets the cell for which the control is in edit mode. + */ + cell?: string; + + /** + * Get the [rule](ig.excel.DataValidationRule) which failed validation. + */ + validationRule?: string; +} + interface EditRangePasswordNeededEvent { (event: Event, ui: EditRangePasswordNeededEventUIParam): void; } @@ -77740,12 +79750,24 @@ interface IgSpreadsheet { */ enterKeyNavigationDirection?: string; + /** + * Returns or sets the number of decimal places by which a whole number typed in during edit mode should be adjusted when isFixedDecimalEnabled is true + * + */ + fixedDecimalPlaceCount?: number; + /** * Returns or sets a boolean indicating whether the adjacent cell indicated by the enterKeyNavigationDirection should be navigated to when the enter key is pressed. * */ isEnterKeyNavigationEnabled?: boolean; + /** + * Returns or sets a boolean indicating whether a fixed decimal place is automatically added when a whole number is entered while in edit mode. + * + */ + isFixedDecimalEnabled?: boolean; + /** * Returns or sets a boolean indicating if the formula bar is displayed within the Spreadsheet. * @@ -77810,6 +79832,24 @@ interface IgSpreadsheet { */ zoomLevel?: number; + /** + * Set/Get the locale setting for the widget. + * + */ + locale?: any; + + /** + * Set/Get the locale language setting for the widget. + * + */ + language?: string; + + /** + * Set/Get the regional setting for the widget. + * + */ + regional?: string|Object; + /** * Invoked when an action is executed on the Spreadsheet. */ @@ -77835,6 +79875,35 @@ interface IgSpreadsheet { */ activeWorksheetChanged?: ActiveWorksheetChangedEvent; + /** + * Invoked when the Spreadsheet is about to end the in-place editing of the activeCell. + */ + editModeExiting?: EditModeExitingEvent; + + /** + * Invoked when the Spreadsheet has ended the in-place editing of the activeCell. + */ + editModeExited?: EditModeExitedEvent; + + /** + * Invoked when the Spreadsheet is about to start in-place editing of the activeCell. + */ + editModeEntering?: EditModeEnteringEvent; + + /** + * Invoked when the Spreadsheet has started in-place editing of the activeCell. + */ + editModeEntered?: EditModeEnteredEvent; + + /** + * Invoked when the Spreadsheet is exiting edit mode and the new value for the activeCell is not valid based on the criteria of that cell's ig.excel.DataValidationRule. + * The EditModeValidationError is raised while exiting edit mode if the new value for the activeCell is not valid based on the criteria of that cell's ig.excel.DataValidationRule. + * Since the rule needs to evaluate the value of the cell and potentially other cell's in the Worksheet, the value is first applied to the cell(s) and then is validated. By default if the event is not handled and the + * showErrorMessageForInvalidValue is true, a message box will be displayed to the end user to determine what action to take. One can handle this event and specify the action that should + * be taken using the action.Note: The validation rule will not be evaluated if edit mode is being cancelled such as when the user presses Escape to cancel edit.Note: The action will default to AcceptChange if the ShowErrorMessageForInvalidValue of the validationRule is false; otherwise it will default to ShowPrompt.Note: Like Microsoft Excel, only the validation rule of the active cell is considered even if the update is affecting other cells in the selection. + */ + editModeValidationError?: EditModeValidationErrorEvent; + /** * Invoked when the Spreadsheet is performing an operation on a protected Worksheet and there is a single range that may be unlocked to allow the operation to be performed. */ @@ -77889,6 +79958,16 @@ interface IgSpreadsheetMethods { */ getActiveSelectionCellRangeFormat(): Object; + /** + * Returns an enumeration used to indicate the current edit mode state. + */ + getCellEditMode(): Object; + + /** + * Returns a boolean indicating if the control is currently editing the value of the activeCell. + */ + getIsInEditMode(): boolean; + /** * Returns a boolean indicating if the user is currently editing the name of the active worksheet. */ @@ -77917,11 +79996,14 @@ interface IgSpreadsheetMethods { * Destroys the widget. */ destroy(): void; + changeLocale($container: Object): void; /** * Notify the spreadsheet that style information used for rendering the spreadsheet may have been updated. */ styleUpdated(): void; + changeGlobalLanguage(): void; + changeGlobalRegional(): void; } interface JQuery { data(propertyName: "igSpreadsheet"): IgSpreadsheetMethods; @@ -77931,12 +80013,17 @@ interface JQuery { igSpreadsheet(methodName: "getActivePane"): Object; igSpreadsheet(methodName: "getActiveSelection"): Object; igSpreadsheet(methodName: "getActiveSelectionCellRangeFormat"): Object; + igSpreadsheet(methodName: "getCellEditMode"): Object; + igSpreadsheet(methodName: "getIsInEditMode"): boolean; igSpreadsheet(methodName: "getIsRenamingWorksheet"): boolean; igSpreadsheet(methodName: "getPanes"): void; igSpreadsheet(methodName: "executeAction", action: Object): boolean; igSpreadsheet(methodName: "flush"): void; igSpreadsheet(methodName: "destroy"): void; + igSpreadsheet(methodName: "changeLocale", $container: Object): void; igSpreadsheet(methodName: "styleUpdated"): void; + igSpreadsheet(methodName: "changeGlobalLanguage"): void; + igSpreadsheet(methodName: "changeGlobalRegional"): void; /** * The width of the spreadsheet. It can be set as a number in pixels, string (px) or percentage (%). @@ -78094,6 +80181,20 @@ interface JQuery { igSpreadsheet(optionLiteral: 'option', optionName: "enterKeyNavigationDirection", optionValue: string): void; + /** + * Returns the number of decimal places by which a whole number typed in during edit mode should be adjusted when isFixedDecimalEnabled is true + * + */ + igSpreadsheet(optionLiteral: 'option', optionName: "fixedDecimalPlaceCount"): number; + + /** + * Returns or sets the number of decimal places by which a whole number typed in during edit mode should be adjusted when isFixedDecimalEnabled is true + * + * + * @optionValue New value to be set. + */ + igSpreadsheet(optionLiteral: 'option', optionName: "fixedDecimalPlaceCount", optionValue: number): void; + /** * Returns a boolean indicating whether the adjacent cell indicated by the enterKeyNavigationDirection should be navigated to when the enter key is pressed. * @@ -78108,6 +80209,20 @@ interface JQuery { */ igSpreadsheet(optionLiteral: 'option', optionName: "isEnterKeyNavigationEnabled", optionValue: boolean): void; + /** + * Returns a boolean indicating whether a fixed decimal place is automatically added when a whole number is entered while in edit mode. + * + */ + igSpreadsheet(optionLiteral: 'option', optionName: "isFixedDecimalEnabled"): boolean; + + /** + * Returns or sets a boolean indicating whether a fixed decimal place is automatically added when a whole number is entered while in edit mode. + * + * + * @optionValue New value to be set. + */ + igSpreadsheet(optionLiteral: 'option', optionName: "isFixedDecimalEnabled", optionValue: boolean): void; + /** * Returns a boolean indicating if the formula bar is displayed within the Spreadsheet. * @@ -78246,6 +80361,50 @@ interface JQuery { */ igSpreadsheet(optionLiteral: 'option', optionName: "zoomLevel", optionValue: number): void; + /** + * Set/Get the locale setting for the widget. + * + */ + igSpreadsheet(optionLiteral: 'option', optionName: "locale"): any; + + /** + * Set/Get the locale setting for the widget. + * + * + * @optionValue New value to be set. + */ + igSpreadsheet(optionLiteral: 'option', optionName: "locale", optionValue: any): void; + + /** + * Set/Get the locale language setting for the widget. + * + */ + igSpreadsheet(optionLiteral: 'option', optionName: "language"): string; + + /** + * Set/Get the locale language setting for the widget. + * + * + * @optionValue New value to be set. + */ + igSpreadsheet(optionLiteral: 'option', optionName: "language", optionValue: string): void; + + /** + * Set/Get the regional setting for the widget. + * + */ + + igSpreadsheet(optionLiteral: 'option', optionName: "regional"): string|Object; + + /** + * Set/Get the regional setting for the widget. + * + * + * @optionValue New value to be set. + */ + + igSpreadsheet(optionLiteral: 'option', optionName: "regional", optionValue: string|Object): void; + /** * Invoked when an action is executed on the Spreadsheet. */ @@ -78306,6 +80465,74 @@ interface JQuery { */ igSpreadsheet(optionLiteral: 'option', optionName: "activeWorksheetChanged", optionValue: ActiveWorksheetChangedEvent): void; + /** + * Invoked when the Spreadsheet is about to end the in-place editing of the activeCell. + */ + igSpreadsheet(optionLiteral: 'option', optionName: "editModeExiting"): EditModeExitingEvent; + + /** + * Invoked when the Spreadsheet is about to end the in-place editing of the activeCell. + * + * @optionValue New value to be set. + */ + igSpreadsheet(optionLiteral: 'option', optionName: "editModeExiting", optionValue: EditModeExitingEvent): void; + + /** + * Invoked when the Spreadsheet has ended the in-place editing of the activeCell. + */ + igSpreadsheet(optionLiteral: 'option', optionName: "editModeExited"): EditModeExitedEvent; + + /** + * Invoked when the Spreadsheet has ended the in-place editing of the activeCell. + * + * @optionValue New value to be set. + */ + igSpreadsheet(optionLiteral: 'option', optionName: "editModeExited", optionValue: EditModeExitedEvent): void; + + /** + * Invoked when the Spreadsheet is about to start in-place editing of the activeCell. + */ + igSpreadsheet(optionLiteral: 'option', optionName: "editModeEntering"): EditModeEnteringEvent; + + /** + * Invoked when the Spreadsheet is about to start in-place editing of the activeCell. + * + * @optionValue New value to be set. + */ + igSpreadsheet(optionLiteral: 'option', optionName: "editModeEntering", optionValue: EditModeEnteringEvent): void; + + /** + * Invoked when the Spreadsheet has started in-place editing of the activeCell. + */ + igSpreadsheet(optionLiteral: 'option', optionName: "editModeEntered"): EditModeEnteredEvent; + + /** + * Invoked when the Spreadsheet has started in-place editing of the activeCell. + * + * @optionValue New value to be set. + */ + igSpreadsheet(optionLiteral: 'option', optionName: "editModeEntered", optionValue: EditModeEnteredEvent): void; + + /** + * Invoked when the Spreadsheet is exiting edit mode and the new value for the activeCell is not valid based on the criteria of that cell's ig.excel.DataValidationRule. + * The EditModeValidationError is raised while exiting edit mode if the new value for the activeCell is not valid based on the criteria of that cell's ig.excel.DataValidationRule. + * Since the rule needs to evaluate the value of the cell and potentially other cell's in the Worksheet, the value is first applied to the cell(s) and then is validated. By default if the event is not handled and the + * showErrorMessageForInvalidValue is true, a message box will be displayed to the end user to determine what action to take. One can handle this event and specify the action that should + * be taken using the action.Note: The validation rule will not be evaluated if edit mode is being cancelled such as when the user presses Escape to cancel edit.Note: The action will default to AcceptChange if the ShowErrorMessageForInvalidValue of the validationRule is false; otherwise it will default to ShowPrompt.Note: Like Microsoft Excel, only the validation rule of the active cell is considered even if the update is affecting other cells in the selection. + */ + igSpreadsheet(optionLiteral: 'option', optionName: "editModeValidationError"): EditModeValidationErrorEvent; + + /** + * Invoked when the Spreadsheet is exiting edit mode and the new value for the activeCell is not valid based on the criteria of that cell's ig.excel.DataValidationRule. + * The EditModeValidationError is raised while exiting edit mode if the new value for the activeCell is not valid based on the criteria of that cell's ig.excel.DataValidationRule. + * Since the rule needs to evaluate the value of the cell and potentially other cell's in the Worksheet, the value is first applied to the cell(s) and then is validated. By default if the event is not handled and the + * showErrorMessageForInvalidValue is true, a message box will be displayed to the end user to determine what action to take. One can handle this event and specify the action that should + * be taken using the action.Note: The validation rule will not be evaluated if edit mode is being cancelled such as when the user presses Escape to cancel edit.Note: The action will default to AcceptChange if the ShowErrorMessageForInvalidValue of the validationRule is false; otherwise it will default to ShowPrompt.Note: Like Microsoft Excel, only the validation rule of the active cell is considered even if the update is affecting other cells in the selection. + * + * @optionValue New value to be set. + */ + igSpreadsheet(optionLiteral: 'option', optionName: "editModeValidationError", optionValue: EditModeValidationErrorEvent): void; + /** * Invoked when the Spreadsheet is performing an operation on a protected Worksheet and there is a single range that may be unlocked to allow the operation to be performed. */ @@ -78567,22 +80794,24 @@ interface IgTileManager { * * * Valid values: - * "string" The column width can be set in pixels (px) or percentage (%). + * "string" The column width can be set in pixels (px), percentage (%) or asterisk (*) which will distribute all the width between all the columns equally. * "number" The column width can be set as a number representing value in pixels. + * "array" The column width can be set as an array, specifying width for each column. If more than one column has an asterisk value, the remaining width will be equally distributed between these columns. * "null" The column width will be calculated based on the container width and the other options. */ - columnWidth?: string|number; + columnWidth?: string|number|Array<any>; /** * Gets/Sets the height of each column in the container. * * * Valid values: - * "string" The column height can be set in pixels (px) or percentage (%). + * "string" The column height can be set in pixels (px), percentage (%) or asterisk (*) which will distribute all the height between all the columns equally. * "number" The column height can be set as a number representing value in pixels. + * "array" The column height can be set as an array, specifying height for each column. If more than one column has an asterisk value, the remaining height will be equally distributed between these columns. * "null" The column height will be calculated based on the container height and the other options. */ - columnHeight?: string|number; + columnHeight?: string|number|Array<any>; /** * Gets/Sets the columns count in the container. @@ -78984,7 +81213,7 @@ interface JQuery { * */ - igTileManager(optionLiteral: 'option', optionName: "columnWidth"): string|number; + igTileManager(optionLiteral: 'option', optionName: "columnWidth"): string|number|Array<any>; /** * /Sets the width of each column in the container. @@ -78993,14 +81222,14 @@ interface JQuery { * @optionValue New value to be set. */ - igTileManager(optionLiteral: 'option', optionName: "columnWidth", optionValue: string|number): void; + igTileManager(optionLiteral: 'option', optionName: "columnWidth", optionValue: string|number|Array<any>): void; /** * Gets/Sets the height of each column in the container. * */ - igTileManager(optionLiteral: 'option', optionName: "columnHeight"): string|number; + igTileManager(optionLiteral: 'option', optionName: "columnHeight"): string|number|Array<any>; /** * /Sets the height of each column in the container. @@ -79009,7 +81238,7 @@ interface JQuery { * @optionValue New value to be set. */ - igTileManager(optionLiteral: 'option', optionName: "columnHeight", optionValue: string|number): void; + igTileManager(optionLiteral: 'option', optionName: "columnHeight", optionValue: string|number|Array<any>): void; /** * Gets/Sets the columns count in the container. @@ -79572,6 +81801,25 @@ interface JQuery { igTileManager(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; igTileManager(methodName: string, ...methodParams: any[]): any; } +interface IgToolbarLocale { + /** + * Gets/Sets collapse button title. + * + */ + collapseButtonTitle?: any; + + /** + * Gets/Sets expand button title. + * + */ + expandButtonTitle?: any; + + /** + * Option for IgToolbarLocale + */ + [optionName: string]: any; +} + interface ToolbarButtonClickEvent { (event: Event, ui: ToolbarButtonClickEventUIParam): void; } @@ -79680,6 +81928,7 @@ interface IgToolbar { * */ isExpanded?: boolean; + locale?: IgToolbarLocale; /** * Event fired after a click on any toolbar button @@ -79756,6 +82005,7 @@ interface IgToolbarMethods { * Returns the element on which the widget was instantiated */ widget(): void; + changeLocale(): void; /** * Gets the item by matching the provided index. @@ -79810,6 +82060,7 @@ interface JQuery { interface JQuery { igToolbar(methodName: "widget"): void; + igToolbar(methodName: "changeLocale"): void; igToolbar(methodName: "getItem", index: Object): Object; igToolbar(methodName: "addItem", item: Object): void; igToolbar(methodName: "removeItem", index: Object): Object; @@ -79943,6 +82194,8 @@ interface JQuery { * @optionValue New value to be set. */ igToolbar(optionLiteral: 'option', optionName: "isExpanded", optionValue: boolean): void; + igToolbar(optionLiteral: 'option', optionName: "locale"): IgToolbarLocale; + igToolbar(optionLiteral: 'option', optionName: "locale", optionValue: IgToolbarLocale): void; /** * Event fired after a click on any toolbar button @@ -80397,12 +82650,20 @@ interface IgTreeBindings { targetKey?: string; /** - * Gets the name of the data source property the value of which would indicate that the - * node is expanded on initial load. + * Gets the name of the data source property the value of which would hold the node`s + * expanded state. The expanded state is represented by a boolean. * */ expandedKey?: string; + /** + * Gets the name of the data source property the value of which would hold the node's + * check state. The check state itself is represented by a string enumeration with the + * checked|partially checked|unchecked states being respectively "on|partial|off". + * + */ + checkedKey?: string; + /** * Gets the name of the data source property the value of which is the primary key attribute * for the data. This property is used when load on demand is enabled and if specified the node paths @@ -81244,6 +83505,8 @@ interface IgTree { [optionName: string]: any; } interface IgTreeMethods { + changeLocale(): void; + /** * Performs databinding on the igTree. */ @@ -81257,6 +83520,30 @@ interface IgTreeMethods { */ toggleCheckstate(node: Object, event?: Object): void; + /** + * Applies a checked state to a node. + * + * @param nodeObj Specifies the node element to apply the state to. + * @param cascadeDir + */ + checkNode(nodeObj: Object, cascadeDir: Object): void; + + /** + * Applies an unchecked state to a node. + * + * @param nodeObj Specifies the node element to apply the state to. + * @param cascadeDir + */ + uncheckNode(nodeObj: Object, cascadeDir: Object): void; + + /** + * Applies a partially checked state to a node. + * + * @param nodeObj Specifies the node element to apply the state to. + * @param cascadeDir + */ + partiallyCheckNode(nodeObj: Object, cascadeDir: Object): void; + /** * Toggles the collapse/expand state for the specified node. * @@ -81277,15 +83564,17 @@ interface IgTreeMethods { * Expands the specified node. * * @param node Specifies the node element to expand. + * @param event The original browser event that triggered the expand. */ - expand(node: Object): void; + expand(node: string, event?: Object): void; /** * Collapses the specified node. * * @param node Specifies the node element to collapse. + * @param event The original browser event that triggered the collapse. */ - collapse(node: Object): void; + collapse(node: string, event?: Object): void; /** * Retrieves the parent node element of the specified node element. @@ -81474,12 +83763,16 @@ interface JQuery { } interface JQuery { + igTree(methodName: "changeLocale"): void; igTree(methodName: "dataBind"): void; igTree(methodName: "toggleCheckstate", node: Object, event?: Object): void; + igTree(methodName: "checkNode", nodeObj: Object, cascadeDir: Object): void; + igTree(methodName: "uncheckNode", nodeObj: Object, cascadeDir: Object): void; + igTree(methodName: "partiallyCheckNode", nodeObj: Object, cascadeDir: Object): void; igTree(methodName: "toggle", node: Object, event?: Object): void; igTree(methodName: "expandToNode", node: Object, toSelect?: boolean): void; - igTree(methodName: "expand", node: Object): void; - igTree(methodName: "collapse", node: Object): void; + igTree(methodName: "expand", node: string, event?: Object): void; + igTree(methodName: "collapse", node: string, event?: Object): void; igTree(methodName: "parentNode", node: Object): Object; igTree(methodName: "nodeByPath", nodePath: string): Object; igTree(methodName: "nodesByValue", value: string): Object; @@ -82173,17 +84466,30 @@ interface JQuery { } interface IgTreeGridColumnFixing { /** - * Specifies the tooltip text on the column fixing header icon when column is not fixed. - * + * This option has been removed as of 2017.2 Volume release. + * Specifies the tooltip text on the column fixing header icon when column is not fixed. Use option [locale.headerFixButtonText](ui.iggridcolumnfixing#options:locale.headerFixButtonText). */ headerFixButtonText?: string; /** - * Specifies the tooltip text on the column fixing header icon when column is fixed. - * + * This option has been removed as of 2017.2 Volume release. + * Specifies the tooltip text on the column fixing header icon when column is fixed. Use option [locale.headerUnfixButtonText](ui.iggridcolumnfixing#options:locale.headerUnfixButtonText). */ headerUnfixButtonText?: string; + /** + * This option has been removed as of 2017.2 Volume release. + * Text of the feature chooser button for unfixing a currently fixed column. Use option [locale.featureChooserTextFixedColumn](ui.iggridcolumnfixing#options:locale.featureChooserTextFixedColumn). + */ + featureChooserTextFixedColumn?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text of the feature chooser button for unfixing a currently fixed column. Use option [locale.featureChooserTextUnfixedColumn](ui.iggridcolumnfixing#options:locale.featureChooserTextUnfixedColumn). + */ + featureChooserTextUnfixedColumn?: string; + locale?: IgGridColumnFixingLocale; + /** * Specifies whether to show the column fixing buttons in header cells/feature chooser. * @@ -82218,18 +84524,6 @@ interface IgTreeGridColumnFixing { */ columnSettings?: IgGridColumnFixingColumnSetting[]; - /** - * Text of the feature chooser button for fixing a currently unfixed column. - * - */ - featureChooserTextFixedColumn?: string; - - /** - * Text of the feature chooser button for unfixing a currently fixed column. - * - */ - featureChooserTextUnfixedColumn?: string; - /** * Minimal visible area in pixels for the unfixed columns. If the end user tries to fix a column(or columns), which causes the width of the fixed columns to grow such that the width of visible area of unfixed columns is less than this option then fixing will be canceled. Check [this topic](http://www.igniteui.com/help/iggrid-columnfixing-configuring#non-fixable-min-width) out for more information. * @@ -82310,6 +84604,7 @@ interface IgTreeGridColumnFixingMethods { * @param clearRowsHeights Clears row heigths for all visible rows. */ syncHeights(check?: boolean, clearRowsHeights?: boolean): void; + changeLocale(): void; /** * Returns whether the column with the specified key is a column group header, when the [multi-column headers](http://www.igniteui.com/help/iggrid-multicolumnheaders-landingpage) feature is used. @@ -82392,6 +84687,7 @@ interface JQuery { igTreeGridColumnFixing(methodName: "unfixColumn", colIdentifier: Object, target?: string, after?: boolean): Object; igTreeGridColumnFixing(methodName: "checkAndSyncHeights"): void; igTreeGridColumnFixing(methodName: "syncHeights", check?: boolean, clearRowsHeights?: boolean): void; + igTreeGridColumnFixing(methodName: "changeLocale"): void; igTreeGridColumnFixing(methodName: "isGroupHeader", colKey: string): boolean; igTreeGridColumnFixing(methodName: "checkFixingAllowed", columns: any[]): boolean; igTreeGridColumnFixing(methodName: "checkUnfixingAllowed", columns: any[]): boolean; @@ -82405,33 +84701,63 @@ interface JQuery { igTreeGridColumnFixing(methodName: "getWidthOfFixedColumns", fCols?: any[], excludeNonDataColumns?: boolean, includeHidden?: boolean): number; /** - * Gets the tooltip text on the column fixing header icon when column is not fixed. - * + * This option has been removed as of 2017.2 Volume release. + * Gets the tooltip text on the column fixing header icon when column is not fixed. Use option [locale.headerFixButtonText](ui.iggridcolumnfixing#options:locale.headerFixButtonText). */ igTreeGridColumnFixing(optionLiteral: 'option', optionName: "headerFixButtonText"): string; /** - * Sets the tooltip text on the column fixing header icon when column is not fixed. - * + * This option has been removed as of 2017.2 Volume release. + * Sets the tooltip text on the column fixing header icon when column is not fixed. Use option [locale.headerFixButtonText](ui.iggridcolumnfixing#options:locale.headerFixButtonText). * * @optionValue New value to be set. */ igTreeGridColumnFixing(optionLiteral: 'option', optionName: "headerFixButtonText", optionValue: string): void; /** - * Gets the tooltip text on the column fixing header icon when column is fixed. - * + * This option has been removed as of 2017.2 Volume release. + * Gets the tooltip text on the column fixing header icon when column is fixed. Use option [locale.headerUnfixButtonText](ui.iggridcolumnfixing#options:locale.headerUnfixButtonText). */ igTreeGridColumnFixing(optionLiteral: 'option', optionName: "headerUnfixButtonText"): string; /** - * Sets the tooltip text on the column fixing header icon when column is fixed. - * + * This option has been removed as of 2017.2 Volume release. + * Sets the tooltip text on the column fixing header icon when column is fixed. Use option [locale.headerUnfixButtonText](ui.iggridcolumnfixing#options:locale.headerUnfixButtonText). * * @optionValue New value to be set. */ igTreeGridColumnFixing(optionLiteral: 'option', optionName: "headerUnfixButtonText", optionValue: string): void; + /** + * This option has been removed as of 2017.2 Volume release. + * Text of the feature chooser button for unfixing a currently fixed column. Use option [locale.featureChooserTextFixedColumn](ui.iggridcolumnfixing#options:locale.featureChooserTextFixedColumn). + */ + igTreeGridColumnFixing(optionLiteral: 'option', optionName: "featureChooserTextFixedColumn"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text of the feature chooser button for unfixing a currently fixed column. Use option [locale.featureChooserTextFixedColumn](ui.iggridcolumnfixing#options:locale.featureChooserTextFixedColumn). + * + * @optionValue New value to be set. + */ + igTreeGridColumnFixing(optionLiteral: 'option', optionName: "featureChooserTextFixedColumn", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text of the feature chooser button for unfixing a currently fixed column. Use option [locale.featureChooserTextUnfixedColumn](ui.iggridcolumnfixing#options:locale.featureChooserTextUnfixedColumn). + */ + igTreeGridColumnFixing(optionLiteral: 'option', optionName: "featureChooserTextUnfixedColumn"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text of the feature chooser button for unfixing a currently fixed column. Use option [locale.featureChooserTextUnfixedColumn](ui.iggridcolumnfixing#options:locale.featureChooserTextUnfixedColumn). + * + * @optionValue New value to be set. + */ + igTreeGridColumnFixing(optionLiteral: 'option', optionName: "featureChooserTextUnfixedColumn", optionValue: string): void; + igTreeGridColumnFixing(optionLiteral: 'option', optionName: "locale"): IgGridColumnFixingLocale; + igTreeGridColumnFixing(optionLiteral: 'option', optionName: "locale", optionValue: IgGridColumnFixingLocale): void; + /** * Gets whether to show the column fixing buttons in header cells/feature chooser. * @@ -82504,34 +84830,6 @@ interface JQuery { */ igTreeGridColumnFixing(optionLiteral: 'option', optionName: "columnSettings", optionValue: IgGridColumnFixingColumnSetting[]): void; - /** - * Text of the feature chooser button for fixing a currently unfixed column. - * - */ - igTreeGridColumnFixing(optionLiteral: 'option', optionName: "featureChooserTextFixedColumn"): string; - - /** - * Text of the feature chooser button for fixing a currently unfixed column. - * - * - * @optionValue New value to be set. - */ - igTreeGridColumnFixing(optionLiteral: 'option', optionName: "featureChooserTextFixedColumn", optionValue: string): void; - - /** - * Text of the feature chooser button for unfixing a currently fixed column. - * - */ - igTreeGridColumnFixing(optionLiteral: 'option', optionName: "featureChooserTextUnfixedColumn"): string; - - /** - * Text of the feature chooser button for unfixing a currently fixed column. - * - * - * @optionValue New value to be set. - */ - igTreeGridColumnFixing(optionLiteral: 'option', optionName: "featureChooserTextUnfixedColumn", optionValue: string): void; - /** * Minimal visible area in pixels for the unfixed columns. If the end user tries to fix a column(or columns), which causes the width of the fixed columns to grow such that the width of visible area of unfixed columns is less than this option then fixing will be canceled. Check [this topic](http://www.igniteui.com/help/iggrid-columnfixing-configuring#non-fixable-min-width) out for more information. * @@ -82742,77 +85040,78 @@ interface IgTreeGridColumnMoving { dragHelperOpacity?: number; /** - * Specifies caption for each move down button in the column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Specifies caption for each move down button in the column moving dialog. Use option [locale.movingDialogCaptionButtonDesc](ui.iggridcolumnmoving#options:locale.movingDialogCaptionButtonDesc). */ movingDialogCaptionButtonDesc?: string; /** - * Specifies caption for each move up button in the column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Specifies caption for each move up button in the column moving dialog. Use option [locale.movingDialogCaptionButtonAsc](ui.iggridcolumnmoving#options:locale.movingDialogCaptionButtonAsc). */ movingDialogCaptionButtonAsc?: string; /** - * Specifies caption text for the column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Specifies caption text for the column moving dialog. Use option [locale.movingDialogCaptionText](ui.iggridcolumnmoving#options:locale.movingDialogCaptionText). */ movingDialogCaptionText?: string; /** - * Specifies caption text for the feature chooser entry - * + * This option has been removed as of 2017.2 Volume release. + * Specifies caption text for the feature chooser entry. Use option [locale.movingDialogDisplayText](ui.iggridcolumnmoving#options:locale.movingDialogDisplayText). */ movingDialogDisplayText?: string; /** - * Specifies text for drop tooltip in column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Specifies text for drop tooltip in column moving dialog. Use option [locale.movingDialogDropTooltipText](ui.iggridcolumnmoving#options:locale.movingDialogDropTooltipText). */ movingDialogDropTooltipText?: string; + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption for the move left dropdown button. Use option [locale.dropDownMoveLeftText](ui.iggridcolumnmoving#options:locale.dropDownMoveLeftText). + */ + dropDownMoveLeftText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption for the move right dropdown button. Use option [locale.dropDownMoveRightText](ui.iggridcolumnmoving#options:locale.dropDownMoveRightText). + */ + dropDownMoveRightText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption for the move last dropdown button. Use option [locale.dropDownMoveFirstText](ui.iggridcolumnmoving#options:locale.dropDownMoveFirstText). + */ + dropDownMoveFirstText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption for the move last dropdown button. Use option [locale.dropDownMoveLastText](ui.iggridcolumnmoving#options:locale.dropDownMoveLastText). + */ + dropDownMoveLastText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption text for the feature chooser submenu button. Use option [locale.movingToolTipMove](ui.iggridcolumnmoving#options:locale.movingToolTipMove). + */ + movingToolTipMove?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption text for the feature chooser submenu button. Use option [locale.featureChooserSubmenuText](ui.iggridcolumnmoving#options:locale.featureChooserSubmenuText). + */ + featureChooserSubmenuText?: string; + locale?: IgGridColumnMovingLocale; + /** * Specifies markup for drop tooltip in column moving dialog * */ movingDialogDropTooltipMarkup?: string; - /** - * Specifies caption for the move left dropdown button - * - */ - dropDownMoveLeftText?: string; - - /** - * Specifies caption for the move right dropdown button - * - */ - dropDownMoveRightText?: string; - - /** - * Specifies caption for the move first dropdown button - * - */ - dropDownMoveFirstText?: string; - - /** - * Specifies caption for the move last dropdown button - * - */ - dropDownMoveLastText?: string; - - /** - * Specifies tooltip text for the move indicator - * - */ - movingToolTipMove?: string; - - /** - * Specifies caption text for the feature chooser submenu button - * - */ - featureChooserSubmenuText?: string; - /** * Controls containment behavior of column moving dialog. * @@ -82919,6 +85218,7 @@ interface IgTreeGridColumnMoving { } interface IgTreeGridColumnMovingMethods { destroy(): void; + changeLocale(): void; /** * Moves a visible column at a specified place, in front or behind a target column or at a target index @@ -82938,6 +85238,7 @@ interface JQuery { interface JQuery { igTreeGridColumnMoving(methodName: "destroy"): void; + igTreeGridColumnMoving(methodName: "changeLocale"): void; igTreeGridColumnMoving(methodName: "moveColumn", column: Object, target: Object, after?: boolean, inDom?: boolean, callback?: Function): void; /** @@ -83133,75 +85434,161 @@ interface JQuery { igTreeGridColumnMoving(optionLiteral: 'option', optionName: "dragHelperOpacity", optionValue: number): void; /** - * Gets caption for each move down button in the column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Gets caption for each move down button in the column moving dialog. Use option [locale.movingDialogCaptionButtonDesc](ui.iggridcolumnmoving#options:locale.movingDialogCaptionButtonDesc). */ igTreeGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogCaptionButtonDesc"): string; /** - * Sets caption for each move down button in the column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Sets caption for each move down button in the column moving dialog. Use option [locale.movingDialogCaptionButtonDesc](ui.iggridcolumnmoving#options:locale.movingDialogCaptionButtonDesc). * * @optionValue New value to be set. */ igTreeGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogCaptionButtonDesc", optionValue: string): void; /** - * Gets caption for each move up button in the column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Gets caption for each move up button in the column moving dialog. Use option [locale.movingDialogCaptionButtonAsc](ui.iggridcolumnmoving#options:locale.movingDialogCaptionButtonAsc). */ igTreeGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogCaptionButtonAsc"): string; /** - * Sets caption for each move up button in the column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Sets caption for each move up button in the column moving dialog. Use option [locale.movingDialogCaptionButtonAsc](ui.iggridcolumnmoving#options:locale.movingDialogCaptionButtonAsc). * * @optionValue New value to be set. */ igTreeGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogCaptionButtonAsc", optionValue: string): void; /** - * Gets caption text for the column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Gets caption text for the column moving dialog. Use option [locale.movingDialogCaptionText](ui.iggridcolumnmoving#options:locale.movingDialogCaptionText). */ igTreeGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogCaptionText"): string; /** - * Sets caption text for the column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Sets caption text for the column moving dialog. Use option [locale.movingDialogCaptionText](ui.iggridcolumnmoving#options:locale.movingDialogCaptionText). * * @optionValue New value to be set. */ igTreeGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogCaptionText", optionValue: string): void; /** - * Gets caption text for the feature chooser entry - * + * This option has been removed as of 2017.2 Volume release. + * Gets caption text for the feature chooser entry. Use option [locale.movingDialogDisplayText](ui.iggridcolumnmoving#options:locale.movingDialogDisplayText). */ igTreeGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogDisplayText"): string; /** - * Sets caption text for the feature chooser entry - * + * This option has been removed as of 2017.2 Volume release. + * Sets caption text for the feature chooser entry. Use option [locale.movingDialogDisplayText](ui.iggridcolumnmoving#options:locale.movingDialogDisplayText). * * @optionValue New value to be set. */ igTreeGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogDisplayText", optionValue: string): void; /** - * Gets text for drop tooltip in column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Gets text for drop tooltip in column moving dialog. Use option [locale.movingDialogDropTooltipText](ui.iggridcolumnmoving#options:locale.movingDialogDropTooltipText). */ igTreeGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogDropTooltipText"): string; /** - * Sets text for drop tooltip in column moving dialog - * + * This option has been removed as of 2017.2 Volume release. + * Sets text for drop tooltip in column moving dialog. Use option [locale.movingDialogDropTooltipText](ui.iggridcolumnmoving#options:locale.movingDialogDropTooltipText). * * @optionValue New value to be set. */ igTreeGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogDropTooltipText", optionValue: string): void; + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption for the move left dropdown button. Use option [locale.dropDownMoveLeftText](ui.iggridcolumnmoving#options:locale.dropDownMoveLeftText). + */ + igTreeGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveLeftText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption for the move left dropdown button. Use option [locale.dropDownMoveLeftText](ui.iggridcolumnmoving#options:locale.dropDownMoveLeftText). + * + * @optionValue New value to be set. + */ + igTreeGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveLeftText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption for the move right dropdown button. Use option [locale.dropDownMoveRightText](ui.iggridcolumnmoving#options:locale.dropDownMoveRightText). + */ + igTreeGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveRightText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption for the move right dropdown button. Use option [locale.dropDownMoveRightText](ui.iggridcolumnmoving#options:locale.dropDownMoveRightText). + * + * @optionValue New value to be set. + */ + igTreeGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveRightText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption for the move last dropdown button. Use option [locale.dropDownMoveFirstText](ui.iggridcolumnmoving#options:locale.dropDownMoveFirstText). + */ + igTreeGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveFirstText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption for the move last dropdown button. Use option [locale.dropDownMoveFirstText](ui.iggridcolumnmoving#options:locale.dropDownMoveFirstText). + * + * @optionValue New value to be set. + */ + igTreeGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveFirstText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption for the move last dropdown button. Use option [locale.dropDownMoveLastText](ui.iggridcolumnmoving#options:locale.dropDownMoveLastText). + */ + igTreeGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveLastText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption for the move last dropdown button. Use option [locale.dropDownMoveLastText](ui.iggridcolumnmoving#options:locale.dropDownMoveLastText). + * + * @optionValue New value to be set. + */ + igTreeGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveLastText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption text for the feature chooser submenu button. Use option [locale.movingToolTipMove](ui.iggridcolumnmoving#options:locale.movingToolTipMove). + */ + igTreeGridColumnMoving(optionLiteral: 'option', optionName: "movingToolTipMove"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption text for the feature chooser submenu button. Use option [locale.movingToolTipMove](ui.iggridcolumnmoving#options:locale.movingToolTipMove). + * + * @optionValue New value to be set. + */ + igTreeGridColumnMoving(optionLiteral: 'option', optionName: "movingToolTipMove", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption text for the feature chooser submenu button. Use option [locale.featureChooserSubmenuText](ui.iggridcolumnmoving#options:locale.featureChooserSubmenuText). + */ + igTreeGridColumnMoving(optionLiteral: 'option', optionName: "featureChooserSubmenuText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption text for the feature chooser submenu button. Use option [locale.featureChooserSubmenuText](ui.iggridcolumnmoving#options:locale.featureChooserSubmenuText). + * + * @optionValue New value to be set. + */ + igTreeGridColumnMoving(optionLiteral: 'option', optionName: "featureChooserSubmenuText", optionValue: string): void; + igTreeGridColumnMoving(optionLiteral: 'option', optionName: "locale"): IgGridColumnMovingLocale; + igTreeGridColumnMoving(optionLiteral: 'option', optionName: "locale", optionValue: IgGridColumnMovingLocale): void; + /** * Gets markup for drop tooltip in column moving dialog * @@ -83216,90 +85603,6 @@ interface JQuery { */ igTreeGridColumnMoving(optionLiteral: 'option', optionName: "movingDialogDropTooltipMarkup", optionValue: string): void; - /** - * Gets caption for the move left dropdown button - * - */ - igTreeGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveLeftText"): string; - - /** - * Sets caption for the move left dropdown button - * - * - * @optionValue New value to be set. - */ - igTreeGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveLeftText", optionValue: string): void; - - /** - * Gets caption for the move right dropdown button - * - */ - igTreeGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveRightText"): string; - - /** - * Sets caption for the move right dropdown button - * - * - * @optionValue New value to be set. - */ - igTreeGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveRightText", optionValue: string): void; - - /** - * Gets caption for the move first dropdown button - * - */ - igTreeGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveFirstText"): string; - - /** - * Sets caption for the move first dropdown button - * - * - * @optionValue New value to be set. - */ - igTreeGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveFirstText", optionValue: string): void; - - /** - * Gets caption for the move last dropdown button - * - */ - igTreeGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveLastText"): string; - - /** - * Sets caption for the move last dropdown button - * - * - * @optionValue New value to be set. - */ - igTreeGridColumnMoving(optionLiteral: 'option', optionName: "dropDownMoveLastText", optionValue: string): void; - - /** - * Gets tooltip text for the move indicator - * - */ - igTreeGridColumnMoving(optionLiteral: 'option', optionName: "movingToolTipMove"): string; - - /** - * Sets tooltip text for the move indicator - * - * - * @optionValue New value to be set. - */ - igTreeGridColumnMoving(optionLiteral: 'option', optionName: "movingToolTipMove", optionValue: string): void; - - /** - * Gets caption text for the feature chooser submenu button - * - */ - igTreeGridColumnMoving(optionLiteral: 'option', optionName: "featureChooserSubmenuText"): string; - - /** - * Sets caption text for the feature chooser submenu button - * - * - * @optionValue New value to be set. - */ - igTreeGridColumnMoving(optionLiteral: 'option', optionName: "featureChooserSubmenuText", optionValue: string): void; - /** * Controls containment behavior of column moving dialog. * @@ -83541,6 +85844,25 @@ interface JQuery { igTreeGridColumnMoving(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; igTreeGridColumnMoving(methodName: string, ...methodParams: any[]): any; } +interface IgTreeGridFilteringLocale { + /** + * Template that is used when filtering is applied and paging is enabled and user goes to another page. It takes precedence over the pagerRecordsLabelTemplate(option from igTreeGridPaging). If it is set to null then it is taken option from igTreeGridPaging. + * Supported options: + * ${currentPageMatches} (filtering) + * ${totalMatches} (filtering) + * ${startRecord} (paging) + * ${endRecord} (paging) + * ${recordCount} (paging) + * + */ + filterSummaryInPagerTemplate?: string; + + /** + * Option for IgTreeGridFilteringLocale + */ + [optionName: string]: any; +} + interface IgTreeGridFiltering { /** * The property in the response that will hold the total number of records in the data source @@ -83575,6 +85897,7 @@ interface IgTreeGridFiltering { matchFiltering?: string; /** + * This option has been removed as of 2017.2 Volume release. * Template that is used when filtering is applied and paging is enabled and user goes to another page. It takes precedence over the pagerRecordsLabelTemplate(option from igTreeGridPaging). If it is set to null then it is taken option from igTreeGridPaging. * Supported options: * ${currentPageMatches} (filtering) @@ -83582,8 +85905,10 @@ interface IgTreeGridFiltering { * ${startRecord} (paging) * ${endRecord} (paging) * ${recordCount} (paging) + * Use option [locale.collapseTooltipText](ui.igtreegrid#options:locale.collapseTooltipText). */ filterSummaryInPagerTemplate?: string; + locale?: IgTreeGridFilteringLocale; /** * Enables or disables the filtering case sensitivity. Works only for local filtering. If true, it case sensitive filtering is performed. If false, filtering is case insensitive. @@ -83606,8 +85931,8 @@ interface IgTreeGridFiltering { renderFC?: boolean; /** - * Summary template that will appear in the bottom left corner of the footer. Has the format '${matches} matching records'. - * + * This option has been removed as of 2017.2 Volume release. + * Summary template that will appear in the bottom left corner of the footer. Has the format '${matches} matching records'. Use option [locale.filterSummaryTemplate](ui.iggridfiltering#options:locale.filterSummaryTemplate). */ filterSummaryTemplate?: string; @@ -83776,23 +86101,41 @@ interface IgTreeGridFiltering { filterButtonLocation?: string; /** - * List of configurable and localized null texts that will be used for the filter editors. - * + * This option has been removed as of 2017.2 Volume release. + * List of configurable and localized null texts that will be used for the filter editors. Use option [locale](ui.iggridfiltering#options:locale). */ - nullTexts?: IgGridFilteringNullTexts; + nullTexts?: string; /** - * A list of configurable and localized labels that are used for the predefined filtering conditions in the filter dropdowns. - * + * This option has been removed as of 2017.2 Volume release. + * A list of configurable and localized labels that are used for the predefined filtering conditions in the filter dropdowns. Use option [locale](ui.iggridfiltering#options:locale). */ - labels?: IgGridFilteringLabels; + labels?: string; /** - * Custom tooltip template for the filter button, when a filter is applied. - * + * This option has been removed as of 2017.2 Volume release. + * Custom tooltip template for the filter button, when a filter is applied. Use option [locale.tooltipTemplate](ui.iggridfiltering#options:locale.tooltipTemplate). */ tooltipTemplate?: string; + /** + * This option has been removed as of 2017.2 Volume release. + * Feature chooser text when filter is shown and filter [mode](ui.iggridfiltering#options:mode) is simple. Use option [locale.featureChooserText](ui.iggridfiltering#options:locale.featureChooserText). + */ + featureChooserText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Feature chooser text when filter is hidden and filter [mode](ui.iggridfiltering#options:mode) is simple. Use option [locale.featureChooserTextHide](ui.iggridfiltering#options:locale.featureChooserTextHide). + */ + featureChooserTextHide?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Feature chooser text when filter [mode](ui.iggridfiltering#options:mode) is advanced. Use option [locale.featureChooserTextAdvancedFilter](ui.iggridfiltering#options:locale.featureChooserTextAdvancedFilter). + */ + featureChooserTextAdvancedFilter?: string; + /** * Custom template for add condition area in the filter dialog. The default template is "<div><span>${label1}</span><div><select></select></div><span>${label2}</span></div>". * @@ -83867,24 +86210,6 @@ interface IgTreeGridFiltering { */ showNullConditions?: boolean; - /** - * Feature chooser text when filter is shown and filter [mode](ui.iggridfiltering#options:mode) is simple. - * - */ - featureChooserText?: string; - - /** - * Feature chooser text when filter is hidden and filter [mode](ui.iggridfiltering#options:mode) is simple. - * - */ - featureChooserTextHide?: string; - - /** - * Feature chooser text when filter [mode](ui.iggridfiltering#options:mode) is advanced. - * - */ - featureChooserTextAdvancedFilter?: string; - /** * Name of the dialog widget to be used. It should inherit from $.ui.igGridModalDialog. * @@ -83903,93 +86228,6 @@ interface IgTreeGridFiltering { */ inherit?: boolean; - /** - * Event fired before a filtering operation is executed (remote request or local). - * Return false in order to cancel filtering operation. - */ - dataFiltering?: DataFilteringEvent; - - /** - * Event fired after the filtering has been executed and results are rendered. - */ - dataFiltered?: DataFilteredEvent; - - /** - * Event fired before the filter dropdown is opened for a specific column. - * Return false in order to cancel dropdown opening. - */ - dropDownOpening?: DropDownOpeningEvent; - - /** - * Event fired after the filter dropdown is opened for a specific column. - */ - dropDownOpened?: DropDownOpenedEvent; - - /** - * Event fired before the filter dropdown starts closing. - * Return false in order to cancel dropdown closing. - */ - dropDownClosing?: DropDownClosingEvent; - - /** - * Event fired after a filter column dropdown is completely closed. - */ - dropDownClosed?: DropDownClosedEvent; - - /** - * Event fired before the advanced filtering dialog is opened. - * Return false in order to cancel filter dialog opening. - */ - filterDialogOpening?: FilterDialogOpeningEvent; - - /** - * Event fired after the advanced filter dialog is already opened. - */ - filterDialogOpened?: FilterDialogOpenedEvent; - - /** - * Event fired every time the advanced filter dialog changes its position. - */ - filterDialogMoving?: FilterDialogMovingEvent; - - /** - * Event fired before a filter row is added to the advanced filter dialog. - * Return false in order to cancel filter adding to the advanced filtering dialog. - */ - filterDialogFilterAdding?: FilterDialogFilterAddingEvent; - - /** - * Event fired after a filter row is added to the advanced filter dialog. - */ - filterDialogFilterAdded?: FilterDialogFilterAddedEvent; - - /** - * Event fired before the advanced filter dialog is closed. - * Return false in order to cancel filtering dialog closing. - */ - filterDialogClosing?: FilterDialogClosingEvent; - - /** - * Event fired after the advanced filter dialog has been closed. - */ - filterDialogClosed?: FilterDialogClosedEvent; - - /** - * Event fired before the contents of the advanced filter dialog are rendered. - * Return false in order to cancel filtering dialog rendering. - */ - filterDialogContentsRendering?: FilterDialogContentsRenderingEvent; - - /** - * Event fired after the contents of the advanced filter dialog are rendered. - */ - filterDialogContentsRendered?: FilterDialogContentsRenderedEvent; - - /** - * Event fired when the OK button in the advanced filter dialog is pressed. - */ - filterDialogFiltering?: FilterDialogFilteringEvent; - /** * Option for igTreeGridFiltering */ @@ -84001,29 +86239,6 @@ interface IgTreeGridFilteringMethods { */ getFilteringMatchesCount(): number; destroy(): void; - - /** - * Toggle filter row when mode is simple or [advancedModeEditorsVisible](ui.iggridfiltering#options:advancedModeEditorsVisible) is true. Otherwise show/hide advanced dialog. - * - * @param event Column key - */ - toggleFilterRowByFeatureChooser(event: string): void; - - /** - * Applies filtering programmatically and updates the UI by default. - * - * @param expressions An array of filtering expressions, each one having the format {fieldName: , expr: , cond: , logic: } where fieldName is the key of the column, expr is the actual expression string with which we would like to filter, logic is 'AND' or 'OR', and cond is one of the following strings: "equals", "doesNotEqual", "contains", "doesNotContain", "greaterThan", "lessThan", "greaterThanOrEqualTo", "lessThanOrEqualTo", "true", "false", "null", "notNull", "empty", "notEmpty", "startsWith", "endsWith", "today", "yesterday", "on", "notOn", "thisMonth", "lastMonth", "nextMonth", "before", "after", "thisYear", "lastYear", "nextYear". The difference between the empty and null filtering conditions is that empty includes null, NaN, and undefined, as well as the empty string. - * @param updateUI specifies whether the filter row should be also updated once the grid is filtered - * @param addedFromAdvanced - */ - filter(expressions: any[], updateUI?: boolean, addedFromAdvanced?: boolean): void; - - /** - * Check whether filterCondition requires or not filtering expression - e.g. if filterCondition is "lastMonth", "thisMonth", "null", "notNull", "true", "false", etc. then filtering expression is NOT required - * - * @param filterCondition filtering condition - e.g. "true", "false", "yesterday", "empty", "null", etc. - */ - requiresFilteringExpression(filterCondition: string): boolean; } interface JQuery { data(propertyName: "igTreeGridFiltering"): IgTreeGridFilteringMethods; @@ -84032,9 +86247,6 @@ interface JQuery { interface JQuery { igTreeGridFiltering(methodName: "getFilteringMatchesCount"): number; igTreeGridFiltering(methodName: "destroy"): void; - igTreeGridFiltering(methodName: "toggleFilterRowByFeatureChooser", event: string): void; - igTreeGridFiltering(methodName: "filter", expressions: any[], updateUI?: boolean, addedFromAdvanced?: boolean): void; - igTreeGridFiltering(methodName: "requiresFilteringExpression", filterCondition: string): boolean; /** * The property in the response that will hold the total number of records in the data source @@ -84111,6 +86323,7 @@ interface JQuery { igTreeGridFiltering(optionLiteral: 'option', optionName: "matchFiltering", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Template that is used when filtering is applied and paging is enabled and user goes to another page. It takes precedence over the pagerRecordsLabelTemplate(option from igTreeGridPaging). If it is set to null then it is taken option from igTreeGridPaging. * Supported options: * ${currentPageMatches} (filtering) @@ -84118,10 +86331,12 @@ interface JQuery { * ${startRecord} (paging) * ${endRecord} (paging) * ${recordCount} (paging) + * Use option [locale.collapseTooltipText](ui.igtreegrid#options:locale.collapseTooltipText). */ igTreeGridFiltering(optionLiteral: 'option', optionName: "filterSummaryInPagerTemplate"): string; /** + * This option has been removed as of 2017.2 Volume release. * Template that is used when filtering is applied and paging is enabled and user goes to another page. It takes precedence over the pagerRecordsLabelTemplate(option from igTreeGridPaging). If it is set to null then it is taken option from igTreeGridPaging. * Supported options: * ${currentPageMatches} (filtering) @@ -84129,10 +86344,13 @@ interface JQuery { * ${startRecord} (paging) * ${endRecord} (paging) * ${recordCount} (paging) + * Use option [locale.collapseTooltipText](ui.igtreegrid#options:locale.collapseTooltipText). * * @optionValue New value to be set. */ igTreeGridFiltering(optionLiteral: 'option', optionName: "filterSummaryInPagerTemplate", optionValue: string): void; + igTreeGridFiltering(optionLiteral: 'option', optionName: "locale"): IgTreeGridFilteringLocale; + igTreeGridFiltering(optionLiteral: 'option', optionName: "locale", optionValue: IgTreeGridFilteringLocale): void; /** * Enables or disables the filtering case sensitivity. Works only for local filtering. If true, it case sensitive filtering is performed. If false, filtering is case insensitive. @@ -84181,14 +86399,14 @@ interface JQuery { igTreeGridFiltering(optionLiteral: 'option', optionName: "renderFC", optionValue: boolean): void; /** - * Summary template that will appear in the bottom left corner of the footer. Has the format '${matches} matching records'. - * + * This option has been removed as of 2017.2 Volume release. + * Summary template that will appear in the bottom left corner of the footer. Has the format '${matches} matching records'. Use option [locale.filterSummaryTemplate](ui.iggridfiltering#options:locale.filterSummaryTemplate). */ igTreeGridFiltering(optionLiteral: 'option', optionName: "filterSummaryTemplate"): string; /** - * Summary template that will appear in the bottom left corner of the footer. Has the format '${matches} matching records'. - * + * This option has been removed as of 2017.2 Volume release. + * Summary template that will appear in the bottom left corner of the footer. Has the format '${matches} matching records'. Use option [locale.filterSummaryTemplate](ui.iggridfiltering#options:locale.filterSummaryTemplate). * * @optionValue New value to be set. */ @@ -84489,47 +86707,89 @@ interface JQuery { igTreeGridFiltering(optionLiteral: 'option', optionName: "filterButtonLocation", optionValue: string): void; /** - * List of configurable and localized null texts that will be used for the filter editors. - * + * This option has been removed as of 2017.2 Volume release. + * List of configurable and localized null texts that will be used for the filter editors. Use option [locale](ui.iggridfiltering#options:locale). */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "nullTexts"): IgGridFilteringNullTexts; + igTreeGridFiltering(optionLiteral: 'option', optionName: "nullTexts"): string; /** - * List of configurable and localized null texts that will be used for the filter editors. - * + * This option has been removed as of 2017.2 Volume release. + * List of configurable and localized null texts that will be used for the filter editors. Use option [locale](ui.iggridfiltering#options:locale). * * @optionValue New value to be set. */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "nullTexts", optionValue: IgGridFilteringNullTexts): void; + igTreeGridFiltering(optionLiteral: 'option', optionName: "nullTexts", optionValue: string): void; /** - * A list of configurable and localized labels that are used for the predefined filtering conditions in the filter dropdowns. - * + * This option has been removed as of 2017.2 Volume release. + * A list of configurable and localized labels that are used for the predefined filtering conditions in the filter dropdowns. Use option [locale](ui.iggridfiltering#options:locale). */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "labels"): IgGridFilteringLabels; + igTreeGridFiltering(optionLiteral: 'option', optionName: "labels"): string; /** - * A list of configurable and localized labels that are used for the predefined filtering conditions in the filter dropdowns. - * + * This option has been removed as of 2017.2 Volume release. + * A list of configurable and localized labels that are used for the predefined filtering conditions in the filter dropdowns. Use option [locale](ui.iggridfiltering#options:locale). * * @optionValue New value to be set. */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "labels", optionValue: IgGridFilteringLabels): void; + igTreeGridFiltering(optionLiteral: 'option', optionName: "labels", optionValue: string): void; /** - * Custom tooltip template for the filter button, when a filter is applied. - * + * This option has been removed as of 2017.2 Volume release. + * Custom tooltip template for the filter button, when a filter is applied. Use option [locale.tooltipTemplate](ui.iggridfiltering#options:locale.tooltipTemplate). */ igTreeGridFiltering(optionLiteral: 'option', optionName: "tooltipTemplate"): string; /** - * Custom tooltip template for the filter button, when a filter is applied. - * + * This option has been removed as of 2017.2 Volume release. + * Custom tooltip template for the filter button, when a filter is applied. Use option [locale.tooltipTemplate](ui.iggridfiltering#options:locale.tooltipTemplate). * * @optionValue New value to be set. */ igTreeGridFiltering(optionLiteral: 'option', optionName: "tooltipTemplate", optionValue: string): void; + /** + * This option has been removed as of 2017.2 Volume release. + * Feature chooser text when filter is shown and filter [mode](ui.iggridfiltering#options:mode) is simple. Use option [locale.featureChooserText](ui.iggridfiltering#options:locale.featureChooserText). + */ + igTreeGridFiltering(optionLiteral: 'option', optionName: "featureChooserText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Feature chooser text when filter is shown and filter [mode](ui.iggridfiltering#options:mode) is simple. Use option [locale.featureChooserText](ui.iggridfiltering#options:locale.featureChooserText). + * + * @optionValue New value to be set. + */ + igTreeGridFiltering(optionLiteral: 'option', optionName: "featureChooserText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Feature chooser text when filter is hidden and filter [mode](ui.iggridfiltering#options:mode) is simple. Use option [locale.featureChooserTextHide](ui.iggridfiltering#options:locale.featureChooserTextHide). + */ + igTreeGridFiltering(optionLiteral: 'option', optionName: "featureChooserTextHide"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Feature chooser text when filter is hidden and filter [mode](ui.iggridfiltering#options:mode) is simple. Use option [locale.featureChooserTextHide](ui.iggridfiltering#options:locale.featureChooserTextHide). + * + * @optionValue New value to be set. + */ + igTreeGridFiltering(optionLiteral: 'option', optionName: "featureChooserTextHide", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Feature chooser text when filter [mode](ui.iggridfiltering#options:mode) is advanced. Use option [locale.featureChooserTextAdvancedFilter](ui.iggridfiltering#options:locale.featureChooserTextAdvancedFilter). + */ + igTreeGridFiltering(optionLiteral: 'option', optionName: "featureChooserTextAdvancedFilter"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Feature chooser text when filter [mode](ui.iggridfiltering#options:mode) is advanced. Use option [locale.featureChooserTextAdvancedFilter](ui.iggridfiltering#options:locale.featureChooserTextAdvancedFilter). + * + * @optionValue New value to be set. + */ + igTreeGridFiltering(optionLiteral: 'option', optionName: "featureChooserTextAdvancedFilter", optionValue: string): void; + /** * Custom template for add condition area in the filter dialog. The default template is "<div><span>${label1}</span><div><select></select></div><span>${label2}</span></div>". * @@ -84686,48 +86946,6 @@ interface JQuery { */ igTreeGridFiltering(optionLiteral: 'option', optionName: "showNullConditions", optionValue: boolean): void; - /** - * Feature chooser text when filter is shown and filter [mode](ui.iggridfiltering#options:mode) is simple. - * - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "featureChooserText"): string; - - /** - * Feature chooser text when filter is shown and filter [mode](ui.iggridfiltering#options:mode) is simple. - * - * - * @optionValue New value to be set. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "featureChooserText", optionValue: string): void; - - /** - * Feature chooser text when filter is hidden and filter [mode](ui.iggridfiltering#options:mode) is simple. - * - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "featureChooserTextHide"): string; - - /** - * Feature chooser text when filter is hidden and filter [mode](ui.iggridfiltering#options:mode) is simple. - * - * - * @optionValue New value to be set. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "featureChooserTextHide", optionValue: string): void; - - /** - * Feature chooser text when filter [mode](ui.iggridfiltering#options:mode) is advanced. - * - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "featureChooserTextAdvancedFilter"): string; - - /** - * Feature chooser text when filter [mode](ui.iggridfiltering#options:mode) is advanced. - * - * - * @optionValue New value to be set. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "featureChooserTextAdvancedFilter", optionValue: string): void; - /** * Name of the dialog widget to be used. It should inherit from $.ui.igGridModalDialog. * @@ -84769,212 +86987,6 @@ interface JQuery { * @optionValue New value to be set. */ igTreeGridFiltering(optionLiteral: 'option', optionName: "inherit", optionValue: boolean): void; - - /** - * Event fired before a filtering operation is executed (remote request or local). - * Return false in order to cancel filtering operation. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "dataFiltering"): DataFilteringEvent; - - /** - * Event fired before a filtering operation is executed (remote request or local). - * Return false in order to cancel filtering operation. - * - * @optionValue Define event handler function. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "dataFiltering", optionValue: DataFilteringEvent): void; - - /** - * Event fired after the filtering has been executed and results are rendered. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "dataFiltered"): DataFilteredEvent; - - /** - * Event fired after the filtering has been executed and results are rendered. - * - * @optionValue Define event handler function. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "dataFiltered", optionValue: DataFilteredEvent): void; - - /** - * Event fired before the filter dropdown is opened for a specific column. - * Return false in order to cancel dropdown opening. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "dropDownOpening"): DropDownOpeningEvent; - - /** - * Event fired before the filter dropdown is opened for a specific column. - * Return false in order to cancel dropdown opening. - * - * @optionValue Define event handler function. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "dropDownOpening", optionValue: DropDownOpeningEvent): void; - - /** - * Event fired after the filter dropdown is opened for a specific column. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "dropDownOpened"): DropDownOpenedEvent; - - /** - * Event fired after the filter dropdown is opened for a specific column. - * - * @optionValue Define event handler function. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "dropDownOpened", optionValue: DropDownOpenedEvent): void; - - /** - * Event fired before the filter dropdown starts closing. - * Return false in order to cancel dropdown closing. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "dropDownClosing"): DropDownClosingEvent; - - /** - * Event fired before the filter dropdown starts closing. - * Return false in order to cancel dropdown closing. - * - * @optionValue Define event handler function. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "dropDownClosing", optionValue: DropDownClosingEvent): void; - - /** - * Event fired after a filter column dropdown is completely closed. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "dropDownClosed"): DropDownClosedEvent; - - /** - * Event fired after a filter column dropdown is completely closed. - * - * @optionValue Define event handler function. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "dropDownClosed", optionValue: DropDownClosedEvent): void; - - /** - * Event fired before the advanced filtering dialog is opened. - * Return false in order to cancel filter dialog opening. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "filterDialogOpening"): FilterDialogOpeningEvent; - - /** - * Event fired before the advanced filtering dialog is opened. - * Return false in order to cancel filter dialog opening. - * - * @optionValue Define event handler function. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "filterDialogOpening", optionValue: FilterDialogOpeningEvent): void; - - /** - * Event fired after the advanced filter dialog is already opened. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "filterDialogOpened"): FilterDialogOpenedEvent; - - /** - * Event fired after the advanced filter dialog is already opened. - * - * @optionValue Define event handler function. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "filterDialogOpened", optionValue: FilterDialogOpenedEvent): void; - - /** - * Event fired every time the advanced filter dialog changes its position. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "filterDialogMoving"): FilterDialogMovingEvent; - - /** - * Event fired every time the advanced filter dialog changes its position. - * - * @optionValue Define event handler function. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "filterDialogMoving", optionValue: FilterDialogMovingEvent): void; - - /** - * Event fired before a filter row is added to the advanced filter dialog. - * Return false in order to cancel filter adding to the advanced filtering dialog. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "filterDialogFilterAdding"): FilterDialogFilterAddingEvent; - - /** - * Event fired before a filter row is added to the advanced filter dialog. - * Return false in order to cancel filter adding to the advanced filtering dialog. - * - * @optionValue Define event handler function. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "filterDialogFilterAdding", optionValue: FilterDialogFilterAddingEvent): void; - - /** - * Event fired after a filter row is added to the advanced filter dialog. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "filterDialogFilterAdded"): FilterDialogFilterAddedEvent; - - /** - * Event fired after a filter row is added to the advanced filter dialog. - * - * @optionValue Define event handler function. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "filterDialogFilterAdded", optionValue: FilterDialogFilterAddedEvent): void; - - /** - * Event fired before the advanced filter dialog is closed. - * Return false in order to cancel filtering dialog closing. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "filterDialogClosing"): FilterDialogClosingEvent; - - /** - * Event fired before the advanced filter dialog is closed. - * Return false in order to cancel filtering dialog closing. - * - * @optionValue Define event handler function. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "filterDialogClosing", optionValue: FilterDialogClosingEvent): void; - - /** - * Event fired after the advanced filter dialog has been closed. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "filterDialogClosed"): FilterDialogClosedEvent; - - /** - * Event fired after the advanced filter dialog has been closed. - * - * @optionValue Define event handler function. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "filterDialogClosed", optionValue: FilterDialogClosedEvent): void; - - /** - * Event fired before the contents of the advanced filter dialog are rendered. - * Return false in order to cancel filtering dialog rendering. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "filterDialogContentsRendering"): FilterDialogContentsRenderingEvent; - - /** - * Event fired before the contents of the advanced filter dialog are rendered. - * Return false in order to cancel filtering dialog rendering. - * - * @optionValue Define event handler function. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "filterDialogContentsRendering", optionValue: FilterDialogContentsRenderingEvent): void; - - /** - * Event fired after the contents of the advanced filter dialog are rendered. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "filterDialogContentsRendered"): FilterDialogContentsRenderedEvent; - - /** - * Event fired after the contents of the advanced filter dialog are rendered. - * - * @optionValue Define event handler function. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "filterDialogContentsRendered", optionValue: FilterDialogContentsRenderedEvent): void; - - /** - * Event fired when the OK button in the advanced filter dialog is pressed. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "filterDialogFiltering"): FilterDialogFilteringEvent; - - /** - * Event fired when the OK button in the advanced filter dialog is pressed. - * - * @optionValue Define event handler function. - */ - igTreeGridFiltering(optionLiteral: 'option', optionName: "filterDialogFiltering", optionValue: FilterDialogFilteringEvent): void; igTreeGridFiltering(options: IgTreeGridFiltering): JQuery; igTreeGridFiltering(optionLiteral: 'option', optionName: string): any; igTreeGridFiltering(optionLiteral: 'option', options: IgTreeGridFiltering): JQuery; @@ -85021,71 +87033,72 @@ interface IgTreeGridHiding { dropDownAnimationDuration?: number; /** - * The caption of the column chooser dialog. - * + * This option has been removed as of 2017.2 Volume release. + * The caption of the column chooser dialog. Use option [locale.columnChooserCaptionText](ui.iggridhiding#options:locale.columnChooserCaptionText). */ columnChooserCaptionText?: string; /** - * The text used in the drop down tools menu(Feature Chooser) to launch the column chooser dialog. - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the drop down tools menu(Feature Chooser) to launch the column chooser dialog. Use option [locale.columnChooserDisplayText](ui.iggridhiding#options:locale.columnChooserDisplayText). */ columnChooserDisplayText?: string; /** - * The text displayed in the tooltip of the hidden column indicator. - * + * This option has been removed as of 2017.2 Volume release. + * The text displayed in the tooltip of the hidden column indicator. Use option [locale.hiddenColumnIndicatorTooltipText](ui.iggridhiding#options:locale.hiddenColumnIndicatorTooltipText). */ hiddenColumnIndicatorTooltipText?: string; /** - * The text used in the drop down tools menu(Feature Chooser) to hide a column. - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the drop down tools menu(Feature Chooser) to hide a column. Use option [locale.columnHideText](ui.iggridhiding#options:locale.columnHideText). */ columnHideText?: string; /** - * The text used in the column chooser to show column - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the column chooser to show column. Use option [locale.columnChooserShowText](ui.iggridhiding#options:locale.columnChooserShowText). */ columnChooserShowText?: string; /** - * The text used in the column chooser to hide column - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the column chooser to hide column. Use option [locale.columnChooserHideText](ui.iggridhiding#options:locale.columnChooserHideText). */ columnChooserHideText?: string; + /** + * This option has been removed as of 2017.2 Volume release. + * Text label for reset button. Use option [locale.columnChooserResetButtonLabel](ui.iggridhiding#options:locale.columnChooserResetButtonLabel). + */ + columnChooserResetButtonLabel?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies text of button which apply changes in modal dialog. Use option [locale.columnChooserButtonApplyText](ui.iggridhiding#options:locale.columnChooserButtonApplyText). + */ + columnChooserButtonApplyText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies text of button which cancel changes in modal dialog. Use option [locale.columnChooserButtonCancelText](ui.iggridhiding#options:locale.columnChooserButtonCancelText). + */ + columnChooserButtonCancelText?: string; + locale?: IgGridHidingLocale; + /** * Specifies on click show/hide directly to be shown/hidden columns. If columnChooserHideOnClick is false then Apply and Cancel Buttons are shown on the bottom of modal dialog. Columns are Shown/Hidden after the Apply button is clicked * */ columnChooserHideOnClick?: boolean; - /** - * Text label for reset button. - * - */ - columnChooserResetButtonLabel?: string; - /** * Specifies time of milliseconds for animation duration to show/hide modal dialog * */ columnChooserAnimationDuration?: number; - /** - * Specifies text of button which apply changes in modal dialog - * - */ - columnChooserButtonApplyText?: string; - - /** - * Specifies text of button which cancel changes in modal dialog - * - */ - columnChooserButtonCancelText?: string; - /** * Name of the dialog widget to be used. It should inherit from $.ui.igGridModalDialog. * @@ -85185,6 +87198,7 @@ interface IgTreeGridHiding { } interface IgTreeGridHidingMethods { destroy(): void; + changeLocale(): void; /** * Shows the Column Chooser dialog. If it is visible the method does nothing. @@ -85201,20 +87215,18 @@ interface IgTreeGridHidingMethods { * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param column An identifier for the column. If a number is provided it will be used as a column index else if a strings is provided it will be used as a column key. - * @param isMultiColumnHeader If it is true then the column is of type multicolumnheader. An identifier for the column should be of type string. * @param callback Specifies a custom function to be called when the column(s) is shown(optional) */ - showColumn(column: Object, isMultiColumnHeader?: boolean, callback?: Function): void; + showColumn(column: Object, callback?: Function): void; /** * Hides a visible column. If the column is hidden the method does nothing. * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param column An identifier for the column. If a number is provided it will be used as a column index else if a strings is provided it will be used as a column key. - * @param isMultiColumnHeader If it is true then the column is of type multicolumnheader. An identifier for the column should be of type string. * @param callback Specifies a custom function to be called when the column is hidden(optional) */ - hideColumn(column: Object, isMultiColumnHeader?: boolean, callback?: Function): void; + hideColumn(column: Object, callback?: Function): void; /** * Hides visible columns specified by the array. If the column is hidden the method does nothing. @@ -85260,10 +87272,11 @@ interface JQuery { interface JQuery { igTreeGridHiding(methodName: "destroy"): void; + igTreeGridHiding(methodName: "changeLocale"): void; igTreeGridHiding(methodName: "showColumnChooser"): void; igTreeGridHiding(methodName: "hideColumnChooser"): void; - igTreeGridHiding(methodName: "showColumn", column: Object, isMultiColumnHeader?: boolean, callback?: Function): void; - igTreeGridHiding(methodName: "hideColumn", column: Object, isMultiColumnHeader?: boolean, callback?: Function): void; + igTreeGridHiding(methodName: "showColumn", column: Object, callback?: Function): void; + igTreeGridHiding(methodName: "hideColumn", column: Object, callback?: Function): void; igTreeGridHiding(methodName: "hideMultiColumns", columns: any[], callback?: Function): void; igTreeGridHiding(methodName: "showMultiColumns", columns: any[], callback?: Function): void; igTreeGridHiding(methodName: "isToRenderButtonReset"): void; @@ -85360,89 +87373,133 @@ interface JQuery { igTreeGridHiding(optionLiteral: 'option', optionName: "dropDownAnimationDuration", optionValue: number): void; /** - * The caption of the column chooser dialog. - * + * This option has been removed as of 2017.2 Volume release. + * The caption of the column chooser dialog. Use option [locale.columnChooserCaptionText](ui.iggridhiding#options:locale.columnChooserCaptionText). */ igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserCaptionText"): string; /** - * The caption of the column chooser dialog. - * + * This option has been removed as of 2017.2 Volume release. + * The caption of the column chooser dialog. Use option [locale.columnChooserCaptionText](ui.iggridhiding#options:locale.columnChooserCaptionText). * * @optionValue New value to be set. */ igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserCaptionText", optionValue: string): void; /** - * The text used in the drop down tools menu(Feature Chooser) to launch the column chooser dialog. - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the drop down tools menu(Feature Chooser) to launch the column chooser dialog. Use option [locale.columnChooserDisplayText](ui.iggridhiding#options:locale.columnChooserDisplayText). */ igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserDisplayText"): string; /** - * The text used in the drop down tools menu(Feature Chooser) to launch the column chooser dialog. - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the drop down tools menu(Feature Chooser) to launch the column chooser dialog. Use option [locale.columnChooserDisplayText](ui.iggridhiding#options:locale.columnChooserDisplayText). * * @optionValue New value to be set. */ igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserDisplayText", optionValue: string): void; /** - * The text displayed in the tooltip of the hidden column indicator. - * + * This option has been removed as of 2017.2 Volume release. + * The text displayed in the tooltip of the hidden column indicator. Use option [locale.hiddenColumnIndicatorTooltipText](ui.iggridhiding#options:locale.hiddenColumnIndicatorTooltipText). */ igTreeGridHiding(optionLiteral: 'option', optionName: "hiddenColumnIndicatorTooltipText"): string; /** - * The text displayed in the tooltip of the hidden column indicator. - * + * This option has been removed as of 2017.2 Volume release. + * The text displayed in the tooltip of the hidden column indicator. Use option [locale.hiddenColumnIndicatorTooltipText](ui.iggridhiding#options:locale.hiddenColumnIndicatorTooltipText). * * @optionValue New value to be set. */ igTreeGridHiding(optionLiteral: 'option', optionName: "hiddenColumnIndicatorTooltipText", optionValue: string): void; /** - * The text used in the drop down tools menu(Feature Chooser) to hide a column. - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the drop down tools menu(Feature Chooser) to hide a column. Use option [locale.columnHideText](ui.iggridhiding#options:locale.columnHideText). */ igTreeGridHiding(optionLiteral: 'option', optionName: "columnHideText"): string; /** - * The text used in the drop down tools menu(Feature Chooser) to hide a column. - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the drop down tools menu(Feature Chooser) to hide a column. Use option [locale.columnHideText](ui.iggridhiding#options:locale.columnHideText). * * @optionValue New value to be set. */ igTreeGridHiding(optionLiteral: 'option', optionName: "columnHideText", optionValue: string): void; /** - * The text used in the column chooser to show column - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the column chooser to show column. Use option [locale.columnChooserShowText](ui.iggridhiding#options:locale.columnChooserShowText). */ igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserShowText"): string; /** - * The text used in the column chooser to show column - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the column chooser to show column. Use option [locale.columnChooserShowText](ui.iggridhiding#options:locale.columnChooserShowText). * * @optionValue New value to be set. */ igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserShowText", optionValue: string): void; /** - * The text used in the column chooser to hide column - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the column chooser to hide column. Use option [locale.columnChooserHideText](ui.iggridhiding#options:locale.columnChooserHideText). */ igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserHideText"): string; /** - * The text used in the column chooser to hide column - * + * This option has been removed as of 2017.2 Volume release. + * The text used in the column chooser to hide column. Use option [locale.columnChooserHideText](ui.iggridhiding#options:locale.columnChooserHideText). * * @optionValue New value to be set. */ igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserHideText", optionValue: string): void; + /** + * This option has been removed as of 2017.2 Volume release. + * Text label for reset button. Use option [locale.columnChooserResetButtonLabel](ui.iggridhiding#options:locale.columnChooserResetButtonLabel). + */ + igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserResetButtonLabel"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text label for reset button. Use option [locale.columnChooserResetButtonLabel](ui.iggridhiding#options:locale.columnChooserResetButtonLabel). + * + * @optionValue New value to be set. + */ + igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserResetButtonLabel", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets text of button which apply changes in modal dialog. Use option [locale.columnChooserButtonApplyText](ui.iggridhiding#options:locale.columnChooserButtonApplyText). + */ + igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserButtonApplyText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets text of button which apply changes in modal dialog. Use option [locale.columnChooserButtonApplyText](ui.iggridhiding#options:locale.columnChooserButtonApplyText). + * + * @optionValue New value to be set. + */ + igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserButtonApplyText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets text of button which cancel changes in modal dialog. Use option [locale.columnChooserButtonCancelText](ui.iggridhiding#options:locale.columnChooserButtonCancelText). + */ + igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserButtonCancelText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets text of button which cancel changes in modal dialog. Use option [locale.columnChooserButtonCancelText](ui.iggridhiding#options:locale.columnChooserButtonCancelText). + * + * @optionValue New value to be set. + */ + igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserButtonCancelText", optionValue: string): void; + igTreeGridHiding(optionLiteral: 'option', optionName: "locale"): IgGridHidingLocale; + igTreeGridHiding(optionLiteral: 'option', optionName: "locale", optionValue: IgGridHidingLocale): void; + /** * Gets on click show/hide directly to be shown/hidden columns. If columnChooserHideOnClick is false then Apply and Cancel Buttons are shown on the bottom of modal dialog. Columns are Shown/Hidden after the Apply button is clicked * @@ -85457,20 +87514,6 @@ interface JQuery { */ igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserHideOnClick", optionValue: boolean): void; - /** - * Text label for reset button. - * - */ - igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserResetButtonLabel"): string; - - /** - * Text label for reset button. - * - * - * @optionValue New value to be set. - */ - igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserResetButtonLabel", optionValue: string): void; - /** * Gets time of milliseconds for animation duration to show/hide modal dialog * @@ -85485,34 +87528,6 @@ interface JQuery { */ igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserAnimationDuration", optionValue: number): void; - /** - * Gets text of button which apply changes in modal dialog - * - */ - igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserButtonApplyText"): string; - - /** - * Sets text of button which apply changes in modal dialog - * - * - * @optionValue New value to be set. - */ - igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserButtonApplyText", optionValue: string): void; - - /** - * Gets text of button which cancel changes in modal dialog - * - */ - igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserButtonCancelText"): string; - - /** - * Sets text of button which cancel changes in modal dialog - * - * - * @optionValue New value to be set. - */ - igTreeGridHiding(optionLiteral: 'option', optionName: "columnChooserButtonCancelText", optionValue: string): void; - /** * Name of the dialog widget to be used. It should inherit from $.ui.igGridModalDialog. * @@ -85777,6 +87792,25 @@ interface IgTreeGridDataSourceSettings { [optionName: string]: any; } +interface IgTreeGridLocale { + /** + * Specifies the expansion indicator tooltip text. + * + */ + expandTooltipText?: string; + + /** + * Specifies the collapse indicator tooltip text. + * + */ + collapseTooltipText?: string; + + /** + * Option for IgTreeGridLocale + */ + [optionName: string]: any; +} + interface IgTreeGrid { /** * Specifies the indentation (in pixels or percent) for a tree grid row. Nested indentation is achieved by calculating the level times the indentation value. Ex: '10px' or '5%'. Default is 30. @@ -85797,14 +87831,16 @@ interface IgTreeGrid { showExpansionIndicator?: boolean; /** + * This option has been removed as of 2017.2 Volume release. * Specifies the expansion indicator tooltip text. - * + * Use option [locale.expandTooltipText](ui.igtreegrid#options:locale.expandTooltipText). */ expandTooltipText?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies the collapse indicator tooltip text. - * + * Use option [locale.collapseTooltipText](ui.igtreegrid#options:locale.collapseTooltipText). */ collapseTooltipText?: string; @@ -85861,6 +87897,12 @@ interface IgTreeGrid { * */ dataSourceSettings?: IgTreeGridDataSourceSettings; + locale?: IgTreeGridLocale; + + /** + * This option is inherited from a parent widget and it's not applicable for the igTreeGrid. + */ + restSettings?: any; /** * Defines the grid width in pixels or percents. [Here you can find more info about setting igGrid width](http://www.igniteui.com/help/iggrid-columns-and-layout#width-height). @@ -86132,12 +88174,6 @@ interface IgTreeGrid { */ updateUrl?: string; - /** - * Settings related to REST compliant update routines. - * - */ - restSettings?: IgGridRestSettings; - /** * Enables/disables rendering of alternating row styles (odd and even rows receive different styling). * @@ -86406,6 +88442,7 @@ interface IgTreeGridMethods { * Returns the element holding the data records */ widget(): void; + changeRegional(): void; /** * Returns whether grid has non-data fixed columns(e.g. row selectors column) @@ -86861,6 +88898,7 @@ interface JQuery { igTreeGrid(methodName: "renderNewChild", rec: Object, parentId?: string): void; igTreeGrid(methodName: "destroy"): Object; igTreeGrid(methodName: "widget"): void; + igTreeGrid(methodName: "changeRegional"): void; igTreeGrid(methodName: "hasFixedDataSkippedColumns"): boolean; igTreeGrid(methodName: "hasFixedColumns"): boolean; igTreeGrid(methodName: "fixingDirection"): string; @@ -86972,28 +89010,32 @@ interface JQuery { igTreeGrid(optionLiteral: 'option', optionName: "showExpansionIndicator", optionValue: boolean): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets the expansion indicator tooltip text. - * + * Use option [locale.expandTooltipText](ui.igtreegrid#options:locale.expandTooltipText). */ igTreeGrid(optionLiteral: 'option', optionName: "expandTooltipText"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets the expansion indicator tooltip text. - * + * Use option [locale.expandTooltipText](ui.igtreegrid#options:locale.expandTooltipText). * * @optionValue New value to be set. */ igTreeGrid(optionLiteral: 'option', optionName: "expandTooltipText", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets the collapse indicator tooltip text. - * + * Use option [locale.collapseTooltipText](ui.igtreegrid#options:locale.collapseTooltipText). */ igTreeGrid(optionLiteral: 'option', optionName: "collapseTooltipText"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets the collapse indicator tooltip text. - * + * Use option [locale.collapseTooltipText](ui.igtreegrid#options:locale.collapseTooltipText). * * @optionValue New value to be set. */ @@ -87130,6 +89172,20 @@ interface JQuery { * @optionValue New value to be set. */ igTreeGrid(optionLiteral: 'option', optionName: "dataSourceSettings", optionValue: IgTreeGridDataSourceSettings): void; + igTreeGrid(optionLiteral: 'option', optionName: "locale"): IgTreeGridLocale; + igTreeGrid(optionLiteral: 'option', optionName: "locale", optionValue: IgTreeGridLocale): void; + + /** + * This option is inherited from a parent widget and it's not applicable for the igTreeGrid. + */ + igTreeGrid(optionLiteral: 'option', optionName: "restSettings"): any; + + /** + * This option is inherited from a parent widget and it's not applicable for the igTreeGrid. + * + * @optionValue New value to be set. + */ + igTreeGrid(optionLiteral: 'option', optionName: "restSettings", optionValue: any): void; /** * Defines the grid width in pixels or percents. [Here you can find more info about setting igGrid width](http://www.igniteui.com/help/iggrid-columns-and-layout#width-height). @@ -87679,20 +89735,6 @@ interface JQuery { */ igTreeGrid(optionLiteral: 'option', optionName: "updateUrl", optionValue: string): void; - /** - * Settings related to REST compliant update routines. - * - */ - igTreeGrid(optionLiteral: 'option', optionName: "restSettings"): IgGridRestSettings; - - /** - * Settings related to REST compliant update routines. - * - * - * @optionValue New value to be set. - */ - igTreeGrid(optionLiteral: 'option', optionName: "restSettings", optionValue: IgGridRestSettings): void; - /** * Enables/disables rendering of alternating row styles (odd and even rows receive different styling). * @@ -88209,10 +90251,11 @@ interface IgTreeGridMultiColumnHeaders { } interface IgTreeGridMultiColumnHeadersMethods { destroy(): void; + changeLocale(): void; /** * Expands a collapsed group. If the group is expanded, the method does nothing. - * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. + * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param groupKey Group key. * @param callback Specifies a custom function to be called when the group is expanded. @@ -88221,7 +90264,7 @@ interface IgTreeGridMultiColumnHeadersMethods { /** * Collapses an expanded group. If the group is collapsed, the method does nothing. - * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. + * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param groupKey Group key. * @param callback Specifies a custom function to be called when the group is collapsed. @@ -88230,7 +90273,7 @@ interface IgTreeGridMultiColumnHeadersMethods { /** * Toggles a collapsible group. - * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. + * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method. * * @param groupKey Group key. * @param callback Specifies a custom function to be called when the group is toggled. @@ -88248,6 +90291,7 @@ interface JQuery { interface JQuery { igTreeGridMultiColumnHeaders(methodName: "destroy"): void; + igTreeGridMultiColumnHeaders(methodName: "changeLocale"): void; igTreeGridMultiColumnHeaders(methodName: "expandGroup", groupKey: string, callback?: Function): void; igTreeGridMultiColumnHeaders(methodName: "collapseGroup", groupKey: string, callback?: Function): void; igTreeGridMultiColumnHeaders(methodName: "toggleGroup", groupKey: string, callback?: Function): void; @@ -88318,6 +90362,25 @@ interface JQuery { igTreeGridMultiColumnHeaders(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; igTreeGridMultiColumnHeaders(methodName: string, ...methodParams: any[]): any; } +interface IgTreeGridPagingLocale { + /** + * Sets/gets the text message shown while loading content of the context row(while processing breadcrumb/immediate parent row). It is set via $.html(). If set to null loading message is not shown. + * + */ + contextRowLoadingText?: string; + + /** + * Sets/gets the content of the context row when the first record in the page is root(hasn't ancestors) record. It is set via $.html() + * + */ + contextRowRootText?: string; + + /** + * Option for IgTreeGridPagingLocale + */ + [optionName: string]: any; +} + interface ContextRowRenderingEvent { (event: Event, ui: ContextRowRenderingEventUIParam): void; } @@ -88398,14 +90461,16 @@ interface IgTreeGridPaging { contextRowMode?: string; /** + * This option has been deprecated as of the 2017.2 Volume release. * Sets/gets the text message shown while loading content of the context row(while processing breadcrumb/immediate parent row). It is set via $.html(). If set to null loading message is not shown. - * + * Use option [locale.contextRowLoadingText](ui.igtreegridpaging#options:locale.contextRowLoadingText) */ contextRowLoadingText?: string; /** + * This option has been deprecated as of the 2017.2 Volume release. * Sets/gets the content of the context row when the first record in the page is root(hasn't ancestors) record. It is set via $.html() - * + * Use option [locale.contextRowRootText](ui.igtreegridpaging#options:locale.contextRowRootText) */ contextRowRootText?: string; @@ -88426,6 +90491,7 @@ interface IgTreeGridPaging { * */ renderContextRowFunc?: Function|string; + locale?: IgTreeGridPagingLocale; /** * Number of records loaded and displayed per page. @@ -88474,17 +90540,111 @@ interface IgTreeGridPaging { showPageSizeDropDown?: boolean; /** + * This option has been removed as of 2017.2 Volume release. * Text rendered in front of the page size dropdown, when [showPageSizeDropDown](ui.iggridpaging#options:showPageSizeDropDown) is set to true. - * + * Use option [locale.pageSizeDropDownLabel](ui.iggridpaging#options:locale.pageSizeDropDownLabel). */ pageSizeDropDownLabel?: string; /** + * This option has been removed as of 2017.2 Volume release. * Trailing text for the page size dropdown, when [showPageSizeDropDown](ui.iggridpaging#options:showPageSizeDropDown) is set to true. - * + * Use option [locale.pageSizeDropDownTrailingLabel](ui.iggridpaging#options:locale.pageSizeDropDownTrailingLabel). */ pageSizeDropDownTrailingLabel?: string; + /** + * This option has been removed as of 2017.2 Volume release. + * Custom pager records label template - in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. + * Use option [locale.pagerRecordsLabelTemplate](ui.iggridpaging#options:locale.pagerRecordsLabelTemplate). + */ + pagerRecordsLabelTemplate?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the next page label. Use option [locale.nextPageLabelText](ui.iggridpaging#options:locale.nextPageLabelText). + */ + nextPageLabelText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the previous page label. Use option [locale.prevPageLabelText](ui.iggridpaging#options:locale.prevPageLabelText). + */ + prevPageLabelText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the first page label. Use option [locale.firstPageLabelText](ui.iggridpaging#options:locale.firstPageLabelText). + */ + firstPageLabelText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the last page label. Use option [locale.lastPageLabelText](ui.iggridpaging#options:locale.lastPageLabelText). + */ + lastPageLabelText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Leading label text for the drop down from where the page index can be switched. Use option [locale.currentPageDropDownLeadingLabel](ui.iggridpaging#options:locale.currentPageDropDownLeadingLabel). + */ + currentPageDropDownLeadingLabel?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Trailing label text for the drop down from where the page index can be switched. Use option [locale.currentPageDropDownTrailingLabel](ui.iggridpaging#options:locale.currentPageDropDownTrailingLabel). + */ + currentPageDropDownTrailingLabel?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the page index drop down. Use option [locale.currentPageDropDownTooltip](ui.iggridpaging#options:locale.currentPageDropDownTooltip). + */ + currentPageDropDownTooltip?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the page size drop down. Use option [locale.pageSizeDropDownTooltip](ui.iggridpaging#options:locale.pageSizeDropDownTooltip). + */ + pageSizeDropDownTooltip?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the pager records label. Use option [locale.pagerRecordsLabelTooltip](ui.iggridpaging#options:locale.pagerRecordsLabelTooltip). + */ + pagerRecordsLabelTooltip?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the previous page button. Use option [locale.prevPageTooltip](ui.iggridpaging#options:locale.prevPageTooltip). + */ + prevPageTooltip?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the next page button. Use option [locale.nextPageTooltip](ui.iggridpaging#options:locale.nextPageTooltip). + */ + nextPageTooltip?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the first page button. Use option [locale.firstPageTooltip](ui.iggridpaging#options:locale.firstPageTooltip). + */ + firstPageTooltip?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the last page button. Use option [locale.lastPageTooltip](ui.iggridpaging#options:locale.lastPageTooltip). + */ + lastPageTooltip?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text templates of buttons that navigate to a particular page. The format string follows the [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. See also the [pageCountLimit](ui.iggridpaging#options:pageCountLimit) option. + * Use option [locale.pageTooltipFormat](ui.iggridpaging#options:locale.pageTooltipFormat). + */ + pageTooltipFormat?: string; + /** * Page size dropdown location, when [showPageSizeDropDown](ui.iggridpaging#options:showPageSizeDropDown) is set to true. Can be rendered above the grid header or inside the pager, next to the page links. * @@ -88501,36 +90661,6 @@ interface IgTreeGridPaging { */ showPagerRecordsLabel?: boolean; - /** - * Custom pager records label template - in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. - * - */ - pagerRecordsLabelTemplate?: string; - - /** - * Text for the next page label. - * - */ - nextPageLabelText?: string; - - /** - * Text for the previous page label. - * - */ - prevPageLabelText?: string; - - /** - * Text for the first page label. - * - */ - firstPageLabelText?: string; - - /** - * Text for the last page label. - * - */ - lastPageLabelText?: string; - /** * Option specifying whether to render the first and last page navigation buttons. * @@ -88543,66 +90673,6 @@ interface IgTreeGridPaging { */ showPrevNextPages?: boolean; - /** - * Leading label text for the drop down from where the page index can be switched. - * - */ - currentPageDropDownLeadingLabel?: string; - - /** - * Trailing label text for the drop down from where the page index can be switched. - * - */ - currentPageDropDownTrailingLabel?: string; - - /** - * Tooltip text for the page index drop down. - * - */ - currentPageDropDownTooltip?: string; - - /** - * Tooltip text for the page size drop down. - * - */ - pageSizeDropDownTooltip?: string; - - /** - * Tooltip text for the pager records label. - * - */ - pagerRecordsLabelTooltip?: string; - - /** - * Tooltip text for the previous page button. - * - */ - prevPageTooltip?: string; - - /** - * Tooltip text for the next page button. - * - */ - nextPageTooltip?: string; - - /** - * Tooltip text for the first page button. - * - */ - firstPageTooltip?: string; - - /** - * Tooltip text for the last page button. - * - */ - lastPageTooltip?: string; - - /** - * Tooltip text templates of buttons that navigate to a particular page. The format string follows the [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. See also the [pageCountLimit](ui.iggridpaging#options:pageCountLimit) option. - * - */ - pageTooltipFormat?: string; - /** * Predefined page sizes that are available to the end user to switch their grid paging to, through a drop down in the grid header. * @@ -88696,6 +90766,8 @@ interface IgTreeGridPaging { [optionName: string]: any; } interface IgTreeGridPagingMethods { + changeLocale(): void; + /** * Destroys the igTreeGridPaging feature by removing all elements in the pager area, unbinding events, and resetting data to discard data filtering on paging */ @@ -88730,6 +90802,7 @@ interface JQuery { } interface JQuery { + igTreeGridPaging(methodName: "changeLocale"): void; igTreeGridPaging(methodName: "destroy"): void; igTreeGridPaging(methodName: "getContextRow"): Object; igTreeGridPaging(methodName: "getContextRowTextArea"): Object; @@ -88769,28 +90842,32 @@ interface JQuery { igTreeGridPaging(optionLiteral: 'option', optionName: "contextRowMode", optionValue: string): void; /** + * This option has been deprecated as of the 2017.2 Volume release. * Sets/gets the text message shown while loading content of the context row(while processing breadcrumb/immediate parent row). It is set via $.html(). If set to null loading message is not shown. - * + * Use option [locale.contextRowLoadingText](ui.igtreegridpaging#options:locale.contextRowLoadingText) */ igTreeGridPaging(optionLiteral: 'option', optionName: "contextRowLoadingText"): string; /** + * This option has been deprecated as of the 2017.2 Volume release. * Sets/gets the text message shown while loading content of the context row(while processing breadcrumb/immediate parent row). It is set via $.html(). If set to null loading message is not shown. - * + * Use option [locale.contextRowLoadingText](ui.igtreegridpaging#options:locale.contextRowLoadingText) * * @optionValue New value to be set. */ igTreeGridPaging(optionLiteral: 'option', optionName: "contextRowLoadingText", optionValue: string): void; /** + * This option has been deprecated as of the 2017.2 Volume release. * Sets/gets the content of the context row when the first record in the page is root(hasn't ancestors) record. It is set via $.html() - * + * Use option [locale.contextRowRootText](ui.igtreegridpaging#options:locale.contextRowRootText) */ igTreeGridPaging(optionLiteral: 'option', optionName: "contextRowRootText"): string; /** + * This option has been deprecated as of the 2017.2 Volume release. * Sets/gets the content of the context row when the first record in the page is root(hasn't ancestors) record. It is set via $.html() - * + * Use option [locale.contextRowRootText](ui.igtreegridpaging#options:locale.contextRowRootText) * * @optionValue New value to be set. */ @@ -88839,6 +90916,8 @@ interface JQuery { */ igTreeGridPaging(optionLiteral: 'option', optionName: "renderContextRowFunc", optionValue: Function|string): void; + igTreeGridPaging(optionLiteral: 'option', optionName: "locale"): IgTreeGridPagingLocale; + igTreeGridPaging(optionLiteral: 'option', optionName: "locale", optionValue: IgTreeGridPagingLocale): void; /** * Number of records loaded and displayed per page. @@ -88941,33 +91020,251 @@ interface JQuery { igTreeGridPaging(optionLiteral: 'option', optionName: "showPageSizeDropDown", optionValue: boolean): void; /** + * This option has been removed as of 2017.2 Volume release. * Text rendered in front of the page size dropdown, when [showPageSizeDropDown](ui.iggridpaging#options:showPageSizeDropDown) is set to true. - * + * Use option [locale.pageSizeDropDownLabel](ui.iggridpaging#options:locale.pageSizeDropDownLabel). */ igTreeGridPaging(optionLiteral: 'option', optionName: "pageSizeDropDownLabel"): string; /** + * This option has been removed as of 2017.2 Volume release. * Text rendered in front of the page size dropdown, when [showPageSizeDropDown](ui.iggridpaging#options:showPageSizeDropDown) is set to true. - * + * Use option [locale.pageSizeDropDownLabel](ui.iggridpaging#options:locale.pageSizeDropDownLabel). * * @optionValue New value to be set. */ igTreeGridPaging(optionLiteral: 'option', optionName: "pageSizeDropDownLabel", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Trailing text for the page size dropdown, when [showPageSizeDropDown](ui.iggridpaging#options:showPageSizeDropDown) is set to true. - * + * Use option [locale.pageSizeDropDownTrailingLabel](ui.iggridpaging#options:locale.pageSizeDropDownTrailingLabel). */ igTreeGridPaging(optionLiteral: 'option', optionName: "pageSizeDropDownTrailingLabel"): string; /** + * This option has been removed as of 2017.2 Volume release. * Trailing text for the page size dropdown, when [showPageSizeDropDown](ui.iggridpaging#options:showPageSizeDropDown) is set to true. - * + * Use option [locale.pageSizeDropDownTrailingLabel](ui.iggridpaging#options:locale.pageSizeDropDownTrailingLabel). * * @optionValue New value to be set. */ igTreeGridPaging(optionLiteral: 'option', optionName: "pageSizeDropDownTrailingLabel", optionValue: string): void; + /** + * This option has been removed as of 2017.2 Volume release. + * Custom pager records label template - in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. + * Use option [locale.pagerRecordsLabelTemplate](ui.iggridpaging#options:locale.pagerRecordsLabelTemplate). + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "pagerRecordsLabelTemplate"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Custom pager records label template - in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. + * Use option [locale.pagerRecordsLabelTemplate](ui.iggridpaging#options:locale.pagerRecordsLabelTemplate). + * + * @optionValue New value to be set. + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "pagerRecordsLabelTemplate", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the next page label. Use option [locale.nextPageLabelText](ui.iggridpaging#options:locale.nextPageLabelText). + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "nextPageLabelText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the next page label. Use option [locale.nextPageLabelText](ui.iggridpaging#options:locale.nextPageLabelText). + * + * @optionValue New value to be set. + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "nextPageLabelText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the previous page label. Use option [locale.prevPageLabelText](ui.iggridpaging#options:locale.prevPageLabelText). + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "prevPageLabelText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the previous page label. Use option [locale.prevPageLabelText](ui.iggridpaging#options:locale.prevPageLabelText). + * + * @optionValue New value to be set. + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "prevPageLabelText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the first page label. Use option [locale.firstPageLabelText](ui.iggridpaging#options:locale.firstPageLabelText). + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "firstPageLabelText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the first page label. Use option [locale.firstPageLabelText](ui.iggridpaging#options:locale.firstPageLabelText). + * + * @optionValue New value to be set. + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "firstPageLabelText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the last page label. Use option [locale.lastPageLabelText](ui.iggridpaging#options:locale.lastPageLabelText). + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "lastPageLabelText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Text for the last page label. Use option [locale.lastPageLabelText](ui.iggridpaging#options:locale.lastPageLabelText). + * + * @optionValue New value to be set. + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "lastPageLabelText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Leading label text for the drop down from where the page index can be switched. Use option [locale.currentPageDropDownLeadingLabel](ui.iggridpaging#options:locale.currentPageDropDownLeadingLabel). + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownLeadingLabel"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Leading label text for the drop down from where the page index can be switched. Use option [locale.currentPageDropDownLeadingLabel](ui.iggridpaging#options:locale.currentPageDropDownLeadingLabel). + * + * @optionValue New value to be set. + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownLeadingLabel", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Trailing label text for the drop down from where the page index can be switched. Use option [locale.currentPageDropDownTrailingLabel](ui.iggridpaging#options:locale.currentPageDropDownTrailingLabel). + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownTrailingLabel"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Trailing label text for the drop down from where the page index can be switched. Use option [locale.currentPageDropDownTrailingLabel](ui.iggridpaging#options:locale.currentPageDropDownTrailingLabel). + * + * @optionValue New value to be set. + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownTrailingLabel", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the page index drop down. Use option [locale.currentPageDropDownTooltip](ui.iggridpaging#options:locale.currentPageDropDownTooltip). + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownTooltip"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the page index drop down. Use option [locale.currentPageDropDownTooltip](ui.iggridpaging#options:locale.currentPageDropDownTooltip). + * + * @optionValue New value to be set. + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownTooltip", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the page size drop down. Use option [locale.pageSizeDropDownTooltip](ui.iggridpaging#options:locale.pageSizeDropDownTooltip). + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "pageSizeDropDownTooltip"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the page size drop down. Use option [locale.pageSizeDropDownTooltip](ui.iggridpaging#options:locale.pageSizeDropDownTooltip). + * + * @optionValue New value to be set. + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "pageSizeDropDownTooltip", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the pager records label. Use option [locale.pagerRecordsLabelTooltip](ui.iggridpaging#options:locale.pagerRecordsLabelTooltip). + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "pagerRecordsLabelTooltip"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the pager records label. Use option [locale.pagerRecordsLabelTooltip](ui.iggridpaging#options:locale.pagerRecordsLabelTooltip). + * + * @optionValue New value to be set. + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "pagerRecordsLabelTooltip", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the previous page button. Use option [locale.prevPageTooltip](ui.iggridpaging#options:locale.prevPageTooltip). + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "prevPageTooltip"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the previous page button. Use option [locale.prevPageTooltip](ui.iggridpaging#options:locale.prevPageTooltip). + * + * @optionValue New value to be set. + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "prevPageTooltip", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the next page button. Use option [locale.nextPageTooltip](ui.iggridpaging#options:locale.nextPageTooltip). + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "nextPageTooltip"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the next page button. Use option [locale.nextPageTooltip](ui.iggridpaging#options:locale.nextPageTooltip). + * + * @optionValue New value to be set. + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "nextPageTooltip", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the first page button. Use option [locale.firstPageTooltip](ui.iggridpaging#options:locale.firstPageTooltip). + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "firstPageTooltip"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the first page button. Use option [locale.firstPageTooltip](ui.iggridpaging#options:locale.firstPageTooltip). + * + * @optionValue New value to be set. + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "firstPageTooltip", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the last page button. Use option [locale.lastPageTooltip](ui.iggridpaging#options:locale.lastPageTooltip). + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "lastPageTooltip"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text for the last page button. Use option [locale.lastPageTooltip](ui.iggridpaging#options:locale.lastPageTooltip). + * + * @optionValue New value to be set. + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "lastPageTooltip", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text templates of buttons that navigate to a particular page. The format string follows the [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. See also the [pageCountLimit](ui.iggridpaging#options:pageCountLimit) option. + * Use option [locale.pageTooltipFormat](ui.iggridpaging#options:locale.pageTooltipFormat). + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "pageTooltipFormat"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Tooltip text templates of buttons that navigate to a particular page. The format string follows the [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. See also the [pageCountLimit](ui.iggridpaging#options:pageCountLimit) option. + * Use option [locale.pageTooltipFormat](ui.iggridpaging#options:locale.pageTooltipFormat). + * + * @optionValue New value to be set. + */ + igTreeGridPaging(optionLiteral: 'option', optionName: "pageTooltipFormat", optionValue: string): void; + /** * Page size dropdown location, when [showPageSizeDropDown](ui.iggridpaging#options:showPageSizeDropDown) is set to true. Can be rendered above the grid header or inside the pager, next to the page links. * @@ -88998,76 +91295,6 @@ interface JQuery { */ igTreeGridPaging(optionLiteral: 'option', optionName: "showPagerRecordsLabel", optionValue: boolean): void; - /** - * Custom pager records label template - in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. - * - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "pagerRecordsLabelTemplate"): string; - - /** - * Custom pager records label template - in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. - * - * - * @optionValue New value to be set. - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "pagerRecordsLabelTemplate", optionValue: string): void; - - /** - * Text for the next page label. - * - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "nextPageLabelText"): string; - - /** - * Text for the next page label. - * - * - * @optionValue New value to be set. - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "nextPageLabelText", optionValue: string): void; - - /** - * Text for the previous page label. - * - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "prevPageLabelText"): string; - - /** - * Text for the previous page label. - * - * - * @optionValue New value to be set. - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "prevPageLabelText", optionValue: string): void; - - /** - * Text for the first page label. - * - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "firstPageLabelText"): string; - - /** - * Text for the first page label. - * - * - * @optionValue New value to be set. - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "firstPageLabelText", optionValue: string): void; - - /** - * Text for the last page label. - * - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "lastPageLabelText"): string; - - /** - * Text for the last page label. - * - * - * @optionValue New value to be set. - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "lastPageLabelText", optionValue: string): void; - /** * Option specifying whether to render the first and last page navigation buttons. * @@ -89096,146 +91323,6 @@ interface JQuery { */ igTreeGridPaging(optionLiteral: 'option', optionName: "showPrevNextPages", optionValue: boolean): void; - /** - * Leading label text for the drop down from where the page index can be switched. - * - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownLeadingLabel"): string; - - /** - * Leading label text for the drop down from where the page index can be switched. - * - * - * @optionValue New value to be set. - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownLeadingLabel", optionValue: string): void; - - /** - * Trailing label text for the drop down from where the page index can be switched. - * - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownTrailingLabel"): string; - - /** - * Trailing label text for the drop down from where the page index can be switched. - * - * - * @optionValue New value to be set. - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownTrailingLabel", optionValue: string): void; - - /** - * Tooltip text for the page index drop down. - * - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownTooltip"): string; - - /** - * Tooltip text for the page index drop down. - * - * - * @optionValue New value to be set. - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "currentPageDropDownTooltip", optionValue: string): void; - - /** - * Tooltip text for the page size drop down. - * - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "pageSizeDropDownTooltip"): string; - - /** - * Tooltip text for the page size drop down. - * - * - * @optionValue New value to be set. - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "pageSizeDropDownTooltip", optionValue: string): void; - - /** - * Tooltip text for the pager records label. - * - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "pagerRecordsLabelTooltip"): string; - - /** - * Tooltip text for the pager records label. - * - * - * @optionValue New value to be set. - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "pagerRecordsLabelTooltip", optionValue: string): void; - - /** - * Tooltip text for the previous page button. - * - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "prevPageTooltip"): string; - - /** - * Tooltip text for the previous page button. - * - * - * @optionValue New value to be set. - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "prevPageTooltip", optionValue: string): void; - - /** - * Tooltip text for the next page button. - * - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "nextPageTooltip"): string; - - /** - * Tooltip text for the next page button. - * - * - * @optionValue New value to be set. - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "nextPageTooltip", optionValue: string): void; - - /** - * Tooltip text for the first page button. - * - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "firstPageTooltip"): string; - - /** - * Tooltip text for the first page button. - * - * - * @optionValue New value to be set. - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "firstPageTooltip", optionValue: string): void; - - /** - * Tooltip text for the last page button. - * - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "lastPageTooltip"): string; - - /** - * Tooltip text for the last page button. - * - * - * @optionValue New value to be set. - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "lastPageTooltip", optionValue: string): void; - - /** - * Tooltip text templates of buttons that navigate to a particular page. The format string follows the [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. See also the [pageCountLimit](ui.iggridpaging#options:pageCountLimit) option. - * - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "pageTooltipFormat"): string; - - /** - * Tooltip text templates of buttons that navigate to a particular page. The format string follows the [igTemplating](http://www.igniteui.com/help/igtemplating-overview) style and syntax. See also the [pageCountLimit](ui.iggridpaging#options:pageCountLimit) option. - * - * - * @optionValue New value to be set. - */ - igTreeGridPaging(optionLiteral: 'option', optionName: "pageTooltipFormat", optionValue: string): void; - /** * Predefined page sizes that are available to the end user to switch their grid paging to, through a drop down in the grid header. * @@ -89717,6 +91804,7 @@ interface IgTreeGridRowSelectors { * */ deselectAllForPagingTemplate?: string; + locale?: IgGridRowSelectorsLocale; /** * Event fired after a row selector is clicked. @@ -89740,6 +91828,7 @@ interface IgTreeGridRowSelectors { } interface IgTreeGridRowSelectorsMethods { destroy(): void; + changeLocale(): void; /** * Change the check state of a row by row id @@ -89799,6 +91888,7 @@ interface JQuery { interface JQuery { igTreeGridRowSelectors(methodName: "destroy"): void; + igTreeGridRowSelectors(methodName: "changeLocale"): void; igTreeGridRowSelectors(methodName: "changeCheckStateById", rowId: Object, toCheck: boolean): void; igTreeGridRowSelectors(methodName: "changeCheckState", index: number, toCheck: boolean): void; igTreeGridRowSelectors(methodName: "toggleCheckStateById", rowId: Object): void; @@ -89999,6 +92089,8 @@ interface JQuery { * @optionValue New value to be set. */ igTreeGridRowSelectors(optionLiteral: 'option', optionName: "deselectAllForPagingTemplate", optionValue: string): void; + igTreeGridRowSelectors(optionLiteral: 'option', optionName: "locale"): IgGridRowSelectorsLocale; + igTreeGridRowSelectors(optionLiteral: 'option', optionName: "locale", optionValue: IgGridRowSelectorsLocale): void; /** * Event fired after a row selector is clicked. @@ -90615,11 +92707,6 @@ interface IgTreeGridSorting { */ firstSortDirection?: string; - /** - * Custom sorted column tooltip in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) format - */ - sortedColumnTooltip?: string; - /** * Specifies whether sorting to be applied immediately when click sort/unsort columns when using the multiple sorting dialog. When it is false Apply button shows and sorting is applied when the button is clicked. * @@ -90627,35 +92714,90 @@ interface IgTreeGridSorting { modalDialogSortOnClick?: boolean; /** + * This option has been removed as of 2017.2 Volume release. * Specifies sortby button text for each unsorted column in multiple sorting dialog. - * + * Use option [locale.modalDialogSortByButtonText](ui.iggridsorting#options:locale.modalDialogSortByButtonText). */ modalDialogSortByButtonText?: string; /** - * Specifies sortby button label for each unsorted column in multiple sorting dialog. - * + * This option has been removed as of 2017.2 Volume release. + * Specifies reset button text in multiple sorting dialog. + * Use option [locale.modalDialogResetButton](ui.iggridsorting#options:locale.modalDialogResetButton). */ modalDialogResetButtonLabel?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies caption for each descending sorted column in multiple sorting dialog. - * + * Use option [locale.modalDialogCaptionButtonDesc](ui.iggridsorting#options:locale.modalDialogCaptionButtonDesc). */ modalDialogCaptionButtonDesc?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies caption for each ascending sorted column in multiple sorting dialog. - * + * Use option [locale.modalDialogCaptionButtonAsc](ui.iggridsorting#options:locale.modalDialogCaptionButtonAsc). */ modalDialogCaptionButtonAsc?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies caption for unsort button in multiple sorting dialog. - * + * Use option [locale.modalDialogCaptionButtonUnsort](ui.iggridsorting#options:locale.modalDialogCaptionButtonUnsort). */ modalDialogCaptionButtonUnsort?: string; + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies the text of the feature chooser sorting button. + * Use option [locale.featureChooserText](ui.iggridsorting#options:locale.featureChooserText). + */ + featureChooserText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Custom unsorted column tooltip in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) format. + * Use option [locale.unsortedColumnTooltip](ui.iggridsorting#options:locale.unsortedColumnTooltip). + */ + unsortedColumnTooltip?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies caption text for multiple sorting dialog. + * Use option [locale.modalDialogCaptionText](ui.iggridsorting#options:locale.modalDialogCaptionText). + */ + modalDialogCaptionText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies text of button which apply changes in modal dialog. + * Use option [locale.modalDialogButtonApplyText](ui.iggridsorting#options:locale.modalDialogButtonApplyText). + */ + modalDialogButtonApplyText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies text of button which cancels the changes in the advanced sorting modal dialog. + * Use option [locale.modalDialogButtonCancelText](ui.iggridsorting#options:locale.modalDialogButtonCancelText). + */ + modalDialogButtonCancelText?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies the text shown in the feature chooser item for sorting in ascending order (displayed only on touch environment). + * Use option [locale.featureChooserSortAsc](ui.iggridsorting#options:locale.featureChooserSortAsc). + */ + featureChooserSortAsc?: string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Specifies the text shown in the feature chooser item for sorting in descending order (displayed only on touch environment). + * Use option [locale.featureChooserSortDesc](ui.iggridsorting#options:locale.featureChooserSortDesc). + */ + featureChooserSortDesc?: string; + locale?: IgGridSortingLocale; + /** * Specifies width of multiple sorting dialog. * @@ -90682,54 +92824,12 @@ interface IgTreeGridSorting { */ modalDialogAnimationDuration?: number; - /** - * Specifies the text of the feature chooser sorting button. - * - */ - featureChooserText?: string; - - /** - * Custom unsorted column tooltip in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) format. - * - */ - unsortedColumnTooltip?: string; - /** * A list of custom column settings that specify custom sorting settings for a specific column (whether sorting is enabled / disabled, default sort direction, first sort direction, etc.). * */ columnSettings?: IgGridSortingColumnSetting[]; - /** - * Specifies caption text for multiple sorting dialog. - * - */ - modalDialogCaptionText?: string; - - /** - * Specifies text of button which apply changes in modal dialog. - * - */ - modalDialogButtonApplyText?: string; - - /** - * Specifies text of button which cancels the changes in the advanced sorting modal dialog. - * - */ - modalDialogButtonCancelText?: string; - - /** - * Specifies the text shown in the feature chooser item for sorting in ascending order (displayed only on touch environment). - * - */ - featureChooserSortAsc?: string; - - /** - * Specifies the text shown in the feature chooser item for sorting in descending order (displayed only on touch environment). - * - */ - featureChooserSortDesc?: string; - /** * Enables/disables sorting persistence when the grid is rebound. * @@ -90833,6 +92933,8 @@ interface IgTreeGridSorting { [optionName: string]: any; } interface IgTreeGridSortingMethods { + changeLocale(): void; + /** * Returns whether a column with the specified columnKey is sorted(taken from the data source sorting expressions) * @@ -90851,9 +92953,11 @@ interface IgTreeGridSortingMethods { sortColumn(index: Object, direction: Object, header: Object): void; /** - * Sorts the data in grid columns and updates the UI.\ + * Sorts the data in grid columns and updates the UI. It accepts optional argument - array of sorting expressions. If passed then sorts the data and sets sorting expressions of the data source. If not passed uses current sorting expressions of the data source. + * + * @param exprs array of sorting expressions. If not set then the method uses expressions defined in sorting settings of the data source. */ - sortMultiple(): void; + sortMultiple(exprs?: any[]): void; /** * Removes current sorting(for all sorted columns) and updates the UI. @@ -90895,10 +92999,11 @@ interface JQuery { } interface JQuery { + igTreeGridSorting(methodName: "changeLocale"): void; igTreeGridSorting(methodName: "isColumnSorted", columnKey: string): boolean; igTreeGridSorting(methodName: "destroy"): void; igTreeGridSorting(methodName: "sortColumn", index: Object, direction: Object, header: Object): void; - igTreeGridSorting(methodName: "sortMultiple"): void; + igTreeGridSorting(methodName: "sortMultiple", exprs?: any[]): void; igTreeGridSorting(methodName: "clearSorting"): void; igTreeGridSorting(methodName: "unsortColumn", index: Object, header: Object): void; igTreeGridSorting(methodName: "openMultipleSortingDialog"): void; @@ -91066,18 +93171,6 @@ interface JQuery { igTreeGridSorting(optionLiteral: 'option', optionName: "firstSortDirection", optionValue: string): void; - /** - * Custom sorted column tooltip in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) format - */ - igTreeGridSorting(optionLiteral: 'option', optionName: "sortedColumnTooltip"): string; - - /** - * Custom sorted column tooltip in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) format - * - * @optionValue New value to be set. - */ - igTreeGridSorting(optionLiteral: 'option', optionName: "sortedColumnTooltip", optionValue: string): void; - /** * Gets whether sorting to be applied immediately when click sort/unsort columns when using the multiple sorting dialog. When it is false Apply button shows and sorting is applied when the button is clicked. * @@ -91093,75 +93186,199 @@ interface JQuery { igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogSortOnClick", optionValue: boolean): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets sortby button text for each unsorted column in multiple sorting dialog. - * + * Use option [locale.modalDialogSortByButtonText](ui.iggridsorting#options:locale.modalDialogSortByButtonText). */ igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogSortByButtonText"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets sortby button text for each unsorted column in multiple sorting dialog. - * + * Use option [locale.modalDialogSortByButtonText](ui.iggridsorting#options:locale.modalDialogSortByButtonText). * * @optionValue New value to be set. */ igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogSortByButtonText", optionValue: string): void; /** - * Gets sortby button label for each unsorted column in multiple sorting dialog. - * + * This option has been removed as of 2017.2 Volume release. + * Gets reset button text in multiple sorting dialog. + * Use option [locale.modalDialogResetButton](ui.iggridsorting#options:locale.modalDialogResetButton). */ igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogResetButtonLabel"): string; /** - * Sets sortby button label for each unsorted column in multiple sorting dialog. - * + * This option has been removed as of 2017.2 Volume release. + * Sets reset button text in multiple sorting dialog. + * Use option [locale.modalDialogResetButton](ui.iggridsorting#options:locale.modalDialogResetButton). * * @optionValue New value to be set. */ igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogResetButtonLabel", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets caption for each descending sorted column in multiple sorting dialog. - * + * Use option [locale.modalDialogCaptionButtonDesc](ui.iggridsorting#options:locale.modalDialogCaptionButtonDesc). */ igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogCaptionButtonDesc"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets caption for each descending sorted column in multiple sorting dialog. - * + * Use option [locale.modalDialogCaptionButtonDesc](ui.iggridsorting#options:locale.modalDialogCaptionButtonDesc). * * @optionValue New value to be set. */ igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogCaptionButtonDesc", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets caption for each ascending sorted column in multiple sorting dialog. - * + * Use option [locale.modalDialogCaptionButtonAsc](ui.iggridsorting#options:locale.modalDialogCaptionButtonAsc). */ igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogCaptionButtonAsc"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets caption for each ascending sorted column in multiple sorting dialog. - * + * Use option [locale.modalDialogCaptionButtonAsc](ui.iggridsorting#options:locale.modalDialogCaptionButtonAsc). * * @optionValue New value to be set. */ igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogCaptionButtonAsc", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets caption for unsort button in multiple sorting dialog. - * + * Use option [locale.modalDialogCaptionButtonUnsort](ui.iggridsorting#options:locale.modalDialogCaptionButtonUnsort). */ igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogCaptionButtonUnsort"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets caption for unsort button in multiple sorting dialog. - * + * Use option [locale.modalDialogCaptionButtonUnsort](ui.iggridsorting#options:locale.modalDialogCaptionButtonUnsort). * * @optionValue New value to be set. */ igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogCaptionButtonUnsort", optionValue: string): void; + /** + * This option has been removed as of 2017.2 Volume release. + * Gets the text of the feature chooser sorting button. + * Use option [locale.featureChooserText](ui.iggridsorting#options:locale.featureChooserText). + */ + igTreeGridSorting(optionLiteral: 'option', optionName: "featureChooserText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets the text of the feature chooser sorting button. + * Use option [locale.featureChooserText](ui.iggridsorting#options:locale.featureChooserText). + * + * @optionValue New value to be set. + */ + igTreeGridSorting(optionLiteral: 'option', optionName: "featureChooserText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Custom unsorted column tooltip in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) format. + * Use option [locale.unsortedColumnTooltip](ui.iggridsorting#options:locale.unsortedColumnTooltip). + */ + igTreeGridSorting(optionLiteral: 'option', optionName: "unsortedColumnTooltip"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Custom unsorted column tooltip in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) format. + * Use option [locale.unsortedColumnTooltip](ui.iggridsorting#options:locale.unsortedColumnTooltip). + * + * @optionValue New value to be set. + */ + igTreeGridSorting(optionLiteral: 'option', optionName: "unsortedColumnTooltip", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets caption text for multiple sorting dialog. + * Use option [locale.modalDialogCaptionText](ui.iggridsorting#options:locale.modalDialogCaptionText). + */ + igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogCaptionText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets caption text for multiple sorting dialog. + * Use option [locale.modalDialogCaptionText](ui.iggridsorting#options:locale.modalDialogCaptionText). + * + * @optionValue New value to be set. + */ + igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogCaptionText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets text of button which apply changes in modal dialog. + * Use option [locale.modalDialogButtonApplyText](ui.iggridsorting#options:locale.modalDialogButtonApplyText). + */ + igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogButtonApplyText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets text of button which apply changes in modal dialog. + * Use option [locale.modalDialogButtonApplyText](ui.iggridsorting#options:locale.modalDialogButtonApplyText). + * + * @optionValue New value to be set. + */ + igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogButtonApplyText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets text of button which cancels the changes in the advanced sorting modal dialog. + * Use option [locale.modalDialogButtonCancelText](ui.iggridsorting#options:locale.modalDialogButtonCancelText). + */ + igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogButtonCancelText"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets text of button which cancels the changes in the advanced sorting modal dialog. + * Use option [locale.modalDialogButtonCancelText](ui.iggridsorting#options:locale.modalDialogButtonCancelText). + * + * @optionValue New value to be set. + */ + igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogButtonCancelText", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets the text shown in the feature chooser item for sorting in ascending order (displayed only on touch environment). + * Use option [locale.featureChooserSortAsc](ui.iggridsorting#options:locale.featureChooserSortAsc). + */ + igTreeGridSorting(optionLiteral: 'option', optionName: "featureChooserSortAsc"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets the text shown in the feature chooser item for sorting in ascending order (displayed only on touch environment). + * Use option [locale.featureChooserSortAsc](ui.iggridsorting#options:locale.featureChooserSortAsc). + * + * @optionValue New value to be set. + */ + igTreeGridSorting(optionLiteral: 'option', optionName: "featureChooserSortAsc", optionValue: string): void; + + /** + * This option has been removed as of 2017.2 Volume release. + * Gets the text shown in the feature chooser item for sorting in descending order (displayed only on touch environment). + * Use option [locale.featureChooserSortDesc](ui.iggridsorting#options:locale.featureChooserSortDesc). + */ + igTreeGridSorting(optionLiteral: 'option', optionName: "featureChooserSortDesc"): string; + + /** + * This option has been removed as of 2017.2 Volume release. + * Sets the text shown in the feature chooser item for sorting in descending order (displayed only on touch environment). + * Use option [locale.featureChooserSortDesc](ui.iggridsorting#options:locale.featureChooserSortDesc). + * + * @optionValue New value to be set. + */ + igTreeGridSorting(optionLiteral: 'option', optionName: "featureChooserSortDesc", optionValue: string): void; + igTreeGridSorting(optionLiteral: 'option', optionName: "locale"): IgGridSortingLocale; + igTreeGridSorting(optionLiteral: 'option', optionName: "locale", optionValue: IgGridSortingLocale): void; + /** * Gets width of multiple sorting dialog. * @@ -91208,34 +93425,6 @@ interface JQuery { */ igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogAnimationDuration", optionValue: number): void; - /** - * Gets the text of the feature chooser sorting button. - * - */ - igTreeGridSorting(optionLiteral: 'option', optionName: "featureChooserText"): string; - - /** - * Sets the text of the feature chooser sorting button. - * - * - * @optionValue New value to be set. - */ - igTreeGridSorting(optionLiteral: 'option', optionName: "featureChooserText", optionValue: string): void; - - /** - * Custom unsorted column tooltip in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) format. - * - */ - igTreeGridSorting(optionLiteral: 'option', optionName: "unsortedColumnTooltip"): string; - - /** - * Custom unsorted column tooltip in [igTemplating](http://www.igniteui.com/help/igtemplating-overview) format. - * - * - * @optionValue New value to be set. - */ - igTreeGridSorting(optionLiteral: 'option', optionName: "unsortedColumnTooltip", optionValue: string): void; - /** * A list of custom column settings that specify custom sorting settings for a specific column (whether sorting is enabled / disabled, default sort direction, first sort direction, etc.). * @@ -91250,76 +93439,6 @@ interface JQuery { */ igTreeGridSorting(optionLiteral: 'option', optionName: "columnSettings", optionValue: IgGridSortingColumnSetting[]): void; - /** - * Gets caption text for multiple sorting dialog. - * - */ - igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogCaptionText"): string; - - /** - * Sets caption text for multiple sorting dialog. - * - * - * @optionValue New value to be set. - */ - igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogCaptionText", optionValue: string): void; - - /** - * Gets text of button which apply changes in modal dialog. - * - */ - igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogButtonApplyText"): string; - - /** - * Sets text of button which apply changes in modal dialog. - * - * - * @optionValue New value to be set. - */ - igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogButtonApplyText", optionValue: string): void; - - /** - * Gets text of button which cancels the changes in the advanced sorting modal dialog. - * - */ - igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogButtonCancelText"): string; - - /** - * Sets text of button which cancels the changes in the advanced sorting modal dialog. - * - * - * @optionValue New value to be set. - */ - igTreeGridSorting(optionLiteral: 'option', optionName: "modalDialogButtonCancelText", optionValue: string): void; - - /** - * Gets the text shown in the feature chooser item for sorting in ascending order (displayed only on touch environment). - * - */ - igTreeGridSorting(optionLiteral: 'option', optionName: "featureChooserSortAsc"): string; - - /** - * Sets the text shown in the feature chooser item for sorting in ascending order (displayed only on touch environment). - * - * - * @optionValue New value to be set. - */ - igTreeGridSorting(optionLiteral: 'option', optionName: "featureChooserSortAsc", optionValue: string): void; - - /** - * Gets the text shown in the feature chooser item for sorting in descending order (displayed only on touch environment). - * - */ - igTreeGridSorting(optionLiteral: 'option', optionName: "featureChooserSortDesc"): string; - - /** - * Sets the text shown in the feature chooser item for sorting in descending order (displayed only on touch environment). - * - * - * @optionValue New value to be set. - */ - igTreeGridSorting(optionLiteral: 'option', optionName: "featureChooserSortDesc", optionValue: string): void; - /** * Enables/disables sorting persistence when the grid is rebound. * @@ -91846,13 +93965,7 @@ interface JQuery { igTreeGridTooltips(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; igTreeGridTooltips(methodName: string, ...methodParams: any[]): any; } -interface IgTreeGridUpdating { - /** - * Specifies whether to enable or disable adding children to rows. - * - */ - enableAddChild?: boolean; - +interface IgTreeGridUpdatingLocale { /** * Specifies the add child tooltip text. * @@ -91865,6 +93978,32 @@ interface IgTreeGridUpdating { */ addChildButtonLabel?: string; + /** + * Option for IgTreeGridUpdatingLocale + */ + [optionName: string]: any; +} + +interface IgTreeGridUpdating { + /** + * Specifies whether to enable or disable adding children to rows. + * + */ + enableAddChild?: boolean; + + /** + * This option has been deprecated as of the 2017.2 Volume release. + * Specifies the add child tooltip text. Use option [locale.enableAddChild](ui.igtreegridupdating#options:locale.enableAddChild). + */ + addChildTooltip?: string; + + /** + * This option has been deprecated as of the 2017.2 Volume release. + * Specifies the label of the add child button in touch environment. Use option [locale.addChildButtonLabel](ui.igtreegridupdating#options:locale.addChildButtonLabel). + */ + addChildButtonLabel?: string; + locale?: IgTreeGridUpdatingLocale; + /** * A list of custom column options that specify editing and validation settings for a specific column. * @@ -91902,50 +94041,58 @@ interface IgTreeGridUpdating { validation?: boolean; /** + * This option has been removed as of 2017.2 Volume release. * Specifies the label for the Done editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.doneLabel is used. - * + * Use option [locale.doneLabel](ui.iggridupdating#options:locale.doneLabel). */ doneLabel?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies the title for the Done editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.doneTooltip is used. - * + * Use option [locale.doneTooltip](ui.iggridupdating#options:locale.doneTooltip). */ doneTooltip?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies the label for the Cancel editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.cancelLabel is used. - * + * Use option [locale.cancelLabel](ui.iggridupdating#options:locale.cancelLabel). */ cancelLabel?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies the title for the Cancel editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.cancelTooltip is used. - * + * Use option [locale.cancelTooltip](ui.iggridupdating#options:locale.cancelTooltip). */ cancelTooltip?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies the label for the button starting edit mode for row adding. If not set, $.ig.GridUpdating.locale.addRowLabel is used. - * + * Use option [locale.addRowLabel](ui.iggridupdating#options:locale.addRowLabel). */ addRowLabel?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies the title for the button starting edit mode for row adding. If not set, $.ig.GridUpdating.locale.addRowTooltip is used. - * + * Use option [locale.addRowTooltip](ui.iggridupdating#options:locale.addRowTooltip). */ addRowTooltip?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies the label for the delete button. If not set, $.ig.GridUpdating.locale.deleteRowLabel is used. - * + * Use option [locale.deleteRowLabel](ui.iggridupdating#options:locale.deleteRowLabel). */ deleteRowLabel?: string; /** + * This option has been removed as of 2017.2 Volume release. * Specifies the title for the delete button. If not set, $.ig.GridUpdating.locale.deleteRowTooltip is used. - * + * Use option [locale.deleteRowTooltip](ui.iggridupdating#options:locale.deleteRowTooltip). */ deleteRowTooltip?: string; @@ -92128,6 +94275,8 @@ interface IgTreeGridUpdating { [optionName: string]: any; } interface IgTreeGridUpdatingMethods { + changeLocale(): void; + /** * Adds a new child to a specific row. It also creates a transaction and updates the UI. * @@ -92238,6 +94387,7 @@ interface IgTreeGridUpdatingMethods { * @param create Requests to create the editor if it has not been created yet. */ editorForCell(cell: string, create?: boolean): Object; + changeRegional(): void; /** * Shows the delete button for specific row. @@ -92256,6 +94406,7 @@ interface JQuery { } interface JQuery { + igTreeGridUpdating(methodName: "changeLocale"): void; igTreeGridUpdating(methodName: "addChild", values: Object, parentId: Object): void; igTreeGridUpdating(methodName: "startAddChildFor", parentId: Object, raiseEvents?: Object): void; igTreeGridUpdating(methodName: "showAddChildButtonFor", row: Object): void; @@ -92272,6 +94423,7 @@ interface JQuery { igTreeGridUpdating(methodName: "isEditing"): boolean; igTreeGridUpdating(methodName: "editorForKey", key: string): Object; igTreeGridUpdating(methodName: "editorForCell", cell: string, create?: boolean): Object; + igTreeGridUpdating(methodName: "changeRegional"): void; igTreeGridUpdating(methodName: "showDeleteButtonFor", row: Object): void; igTreeGridUpdating(methodName: "hideDeleteButton"): void; @@ -92290,32 +94442,34 @@ interface JQuery { igTreeGridUpdating(optionLiteral: 'option', optionName: "enableAddChild", optionValue: boolean): void; /** - * Gets the add child tooltip text. - * + * This option has been deprecated as of the 2017.2 Volume release. + * Gets the add child tooltip text. Use option [locale.enableAddChild](ui.igtreegridupdating#options:locale.enableAddChild). */ igTreeGridUpdating(optionLiteral: 'option', optionName: "addChildTooltip"): string; /** - * Sets the add child tooltip text. - * + * This option has been deprecated as of the 2017.2 Volume release. + * Sets the add child tooltip text. Use option [locale.enableAddChild](ui.igtreegridupdating#options:locale.enableAddChild). * * @optionValue New value to be set. */ igTreeGridUpdating(optionLiteral: 'option', optionName: "addChildTooltip", optionValue: string): void; /** - * Gets the label of the add child button in touch environment. - * + * This option has been deprecated as of the 2017.2 Volume release. + * Gets the label of the add child button in touch environment. Use option [locale.addChildButtonLabel](ui.igtreegridupdating#options:locale.addChildButtonLabel). */ igTreeGridUpdating(optionLiteral: 'option', optionName: "addChildButtonLabel"): string; /** - * Sets the label of the add child button in touch environment. - * + * This option has been deprecated as of the 2017.2 Volume release. + * Sets the label of the add child button in touch environment. Use option [locale.addChildButtonLabel](ui.igtreegridupdating#options:locale.addChildButtonLabel). * * @optionValue New value to be set. */ igTreeGridUpdating(optionLiteral: 'option', optionName: "addChildButtonLabel", optionValue: string): void; + igTreeGridUpdating(optionLiteral: 'option', optionName: "locale"): IgTreeGridUpdatingLocale; + igTreeGridUpdating(optionLiteral: 'option', optionName: "locale", optionValue: IgTreeGridUpdatingLocale): void; /** * A list of custom column options that specify editing and validation settings for a specific column. @@ -92390,112 +94544,128 @@ interface JQuery { igTreeGridUpdating(optionLiteral: 'option', optionName: "validation", optionValue: boolean): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets the label for the Done editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.doneLabel is used. - * + * Use option [locale.doneLabel](ui.iggridupdating#options:locale.doneLabel). */ igTreeGridUpdating(optionLiteral: 'option', optionName: "doneLabel"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets the label for the Done editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.doneLabel is used. - * + * Use option [locale.doneLabel](ui.iggridupdating#options:locale.doneLabel). * * @optionValue New value to be set. */ igTreeGridUpdating(optionLiteral: 'option', optionName: "doneLabel", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets the title for the Done editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.doneTooltip is used. - * + * Use option [locale.doneTooltip](ui.iggridupdating#options:locale.doneTooltip). */ igTreeGridUpdating(optionLiteral: 'option', optionName: "doneTooltip"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets the title for the Done editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.doneTooltip is used. - * + * Use option [locale.doneTooltip](ui.iggridupdating#options:locale.doneTooltip). * * @optionValue New value to be set. */ igTreeGridUpdating(optionLiteral: 'option', optionName: "doneTooltip", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets the label for the Cancel editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.cancelLabel is used. - * + * Use option [locale.cancelLabel](ui.iggridupdating#options:locale.cancelLabel). */ igTreeGridUpdating(optionLiteral: 'option', optionName: "cancelLabel"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets the label for the Cancel editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.cancelLabel is used. - * + * Use option [locale.cancelLabel](ui.iggridupdating#options:locale.cancelLabel). * * @optionValue New value to be set. */ igTreeGridUpdating(optionLiteral: 'option', optionName: "cancelLabel", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets the title for the Cancel editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.cancelTooltip is used. - * + * Use option [locale.cancelTooltip](ui.iggridupdating#options:locale.cancelTooltip). */ igTreeGridUpdating(optionLiteral: 'option', optionName: "cancelTooltip"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets the title for the Cancel editing button (only applicable when the [showDoneCancelButtons](ui.iggridupdating#options:showDoneCancelButtons) option is enabled). If not set, $.ig.GridUpdating.locale.cancelTooltip is used. - * + * Use option [locale.cancelTooltip](ui.iggridupdating#options:locale.cancelTooltip). * * @optionValue New value to be set. */ igTreeGridUpdating(optionLiteral: 'option', optionName: "cancelTooltip", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets the label for the button starting edit mode for row adding. If not set, $.ig.GridUpdating.locale.addRowLabel is used. - * + * Use option [locale.addRowLabel](ui.iggridupdating#options:locale.addRowLabel). */ igTreeGridUpdating(optionLiteral: 'option', optionName: "addRowLabel"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets the label for the button starting edit mode for row adding. If not set, $.ig.GridUpdating.locale.addRowLabel is used. - * + * Use option [locale.addRowLabel](ui.iggridupdating#options:locale.addRowLabel). * * @optionValue New value to be set. */ igTreeGridUpdating(optionLiteral: 'option', optionName: "addRowLabel", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets the title for the button starting edit mode for row adding. If not set, $.ig.GridUpdating.locale.addRowTooltip is used. - * + * Use option [locale.addRowTooltip](ui.iggridupdating#options:locale.addRowTooltip). */ igTreeGridUpdating(optionLiteral: 'option', optionName: "addRowTooltip"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets the title for the button starting edit mode for row adding. If not set, $.ig.GridUpdating.locale.addRowTooltip is used. - * + * Use option [locale.addRowTooltip](ui.iggridupdating#options:locale.addRowTooltip). * * @optionValue New value to be set. */ igTreeGridUpdating(optionLiteral: 'option', optionName: "addRowTooltip", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets the label for the delete button. If not set, $.ig.GridUpdating.locale.deleteRowLabel is used. - * + * Use option [locale.deleteRowLabel](ui.iggridupdating#options:locale.deleteRowLabel). */ igTreeGridUpdating(optionLiteral: 'option', optionName: "deleteRowLabel"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets the label for the delete button. If not set, $.ig.GridUpdating.locale.deleteRowLabel is used. - * + * Use option [locale.deleteRowLabel](ui.iggridupdating#options:locale.deleteRowLabel). * * @optionValue New value to be set. */ igTreeGridUpdating(optionLiteral: 'option', optionName: "deleteRowLabel", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Gets the title for the delete button. If not set, $.ig.GridUpdating.locale.deleteRowTooltip is used. - * + * Use option [locale.deleteRowTooltip](ui.iggridupdating#options:locale.deleteRowTooltip). */ igTreeGridUpdating(optionLiteral: 'option', optionName: "deleteRowTooltip"): string; /** + * This option has been removed as of 2017.2 Volume release. * Sets the title for the delete button. If not set, $.ig.GridUpdating.locale.deleteRowTooltip is used. - * + * Use option [locale.deleteRowTooltip](ui.iggridupdating#options:locale.deleteRowTooltip). * * @optionValue New value to be set. */ @@ -92949,6 +95119,217 @@ interface JQuery { data(propertyName: "igBrowseButton"): IgBrowseButtonMethods; } +interface IgUploadLocale { + /** + * Get or set label for the first shown browse button. When file is selected for the first time this button is hidden. + * + */ + labelUploadButton?: string; + + /** + * Get or set label for browse button in main container. + * + */ + labelAddButton?: string; + + /** + * Get or set label for summary Clear all button. It will be shown only in multiple upload mode. + * + */ + labelClearAllButton?: string; + + /** + * Get or set template for showing summary template. {0} is count of uploaded files. {1} is total count of file to be uploaded. + * + */ + labelSummaryTemplate?: string; + + /** + * Get or set template for showing uploading information in summary progress bar. It will be shown only in multiple upload mode. {0} uploaded filesize. {1} - total file size. + * + */ + labelSummaryProgressBarTemplate?: string; + + /** + * Get or set label for show/hide details button when main container is hidden. + * + */ + labelShowDetails?: string; + + /** + * Get or set label for show/hide details button when main container is shown. + * + */ + labelHideDetails?: string; + + /** + * Get or set label for button cancelling all files. Shown only in multiple upload mode. + * + */ + labelSummaryProgressButtonCancel?: string; + + /** + * Get or set label for start upload batch files. Shown only in multiple upload mode and autostartupload is false. + * + */ + labelSummaryProgressButtonContinue?: string; + + /** + * Get or set label when upload is finished. Shown only in multiple upload mode. + * + */ + labelSummaryProgressButtonDone?: string; + + /** + * Get or set filename when it could not be shown the whole file name and should be shorten. + * + */ + labelProgressBarFileNameContinue?: string; + + /** + * Get or set message shown when max file size of the uploaded file exceeds the limit. + * + */ + errorMessageFileSizeExceeded?: string; + + /** + * Get or set error message when ajax call to get file status throws error. + * + */ + errorMessageGetFileStatus?: string; + + /** + * Get or set error message when ajax call to send cancel upload command. + * + */ + errorMessageCancelUpload?: string; + + /** + * Get or set error message when file is not found. + * + */ + errorMessageNoSuchFile?: string; + + /** + * Get or set error message different from the other messages. + * + */ + errorMessageOther?: string; + + /** + * Get or set error message when file extension validation failed. + * + */ + errorMessageValidatingFileExtension?: string; + + /** + * Get or set error message when AJAX Request to get file size throws error. + * + */ + errorMessageAJAXRequestFileSize?: string; + + /** + * Get or set error message when maximum allowed files exceeded. + * + */ + errorMessageMaxUploadedFiles?: string; + + /** + * Get or set error message when maximum simultaneous files is less or equal to 0. + * + */ + errorMessageMaxSimultaneousFiles?: string; + + /** + * Get or set error message when trying to remove non existing file. + * + */ + errorMessageTryToRemoveNonExistingFile?: string; + + /** + * Get or set error message when trying to start non existing file. + * + */ + errorMessageTryToStartNonExistingFile?: string; + + /** + * Get or set error message when trying to drop more than 1 file and mode is single. + * + */ + errorMessageDropMultipleFilesWhenSingleModel?: string; + + /** + * Get or set title for the first shown browse button. When file is selected for the first time this button is hidden. + * + */ + titleUploadFileButtonInit?: string; + + /** + * Get or set title for browse button in main container. + * + */ + titleAddFileButton?: string; + + /** + * Get or set title for the cancel upload button. + * + */ + titleCancelUploadButton?: string; + + /** + * Get or set title for start upload batch files. Shown only in multiple upload mode and autostartupload is false. + * + */ + titleSummaryProgressButtonContinue?: string; + + /** + * Get or set title for summary Clear all button. It will be shown only in multiple upload mode. + * + */ + titleClearUploaded?: string; + + /** + * Get or set title for show details button. + * + */ + titleShowDetailsButton?: string; + + /** + * Get or set title for hide details button. + * + */ + titleHideDetailsButton?: string; + + /** + * Get or set title for button cancelling all files. Shown only in multiple upload mode. + * + */ + titleSummaryProgressButtonCancel?: string; + + /** + * Get or set title when upload is finished. Shown only in multiple upload mode. + * + */ + titleSummaryProgressButtonDone?: string; + + /** + * Get or set title for Continue button. + * + */ + titleSingleUploadButtonContinue?: string; + + /** + * Get or set title for summary Clear all button. It will be shown only in multiple upload mode. + * + */ + titleClearAllButton?: string; + + /** + * Option for IgUploadLocale + */ + [optionName: string]: any; +} + interface IgUploadFileExtensionIcons { /** * Array of string for file extensions @@ -93256,141 +95637,166 @@ interface IgUpload { autostartupload?: boolean; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for the first shown browse button. When file is selected for the first time this button is hidden. - * + * Use option [locale.labelUploadButton](ui.igupload#options:locale.labelUploadButton). */ labelUploadButton?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for browse button in main container. - * + * Use option [locale.labelAddButton](ui.igupload#options:locale.labelAddButton). */ labelAddButton?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for summary Clear all button. It will be shown only in multiple upload mode. - * + * Use option [locale.labelClearAllButton](ui.igupload#options:locale.labelClearAllButton). */ labelClearAllButton?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set template for showing summary template. {0} is count of uploaded files. {1} is total count of file to be uploaded. - * + * Use option [locale.labelSummaryTemplate](ui.igupload#options:locale.labelSummaryTemplate). */ labelSummaryTemplate?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set template for showing uploading information in summary progress bar. It will be shown only in multiple upload mode. {0} uploaded filesize. {1} - total file size. - * + * Use option [locale.labelSummaryProgressBarTemplate](ui.igupload#options:locale.labelSummaryProgressBarTemplate). */ labelSummaryProgressBarTemplate?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for show/hide details button when main container is hidden. - * + * Use option [locale.labelShowDetails](ui.igupload#options:locale.labelShowDetails). */ labelShowDetails?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for show/hide details button when main container is shown. - * + * Use option [locale.labelHideDetails](ui.igupload#options:locale.labelHideDetails). */ labelHideDetails?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for button cancelling all files. Shown only in multiple upload mode. - * + * Use option [locale.labelSummaryProgressButtonCancel](ui.igupload#options:locale.labelSummaryProgressButtonCancel). */ labelSummaryProgressButtonCancel?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for start upload batch files. Shown only in multiple upload mode and autostartupload is false. - * + * Use option [locale.labelSummaryProgressButtonContinue](ui.igupload#options:locale.labelSummaryProgressButtonContinue). */ labelSummaryProgressButtonContinue?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label when upload is finished. Shown only in multiple upload mode. - * + * Use option [locale.labelSummaryProgressButtonDone](ui.igupload#options:locale.labelSummaryProgressButtonDone). */ labelSummaryProgressButtonDone?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set filename when it could not be shown the whole file name and should be shorten. - * + * Use option [locale.labelProgressBarFileNameContinue](ui.igupload#options:locale.labelProgressBarFileNameContinue). */ labelProgressBarFileNameContinue?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set message shown when max file size of the uploaded file exceeds the limit. - * + * Use option [locale.errorMessageMaxFileSizeExceeded](ui.igupload#options:locale.errorMessageMaxFileSizeExceeded). */ errorMessageMaxFileSizeExceeded?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when ajax call to get file status throws error. - * + * Use option [locale.errorMessageGetFileStatus](ui.igupload#options:locale.errorMessageGetFileStatus). */ errorMessageGetFileStatus?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when ajax call to send cancel upload command. - * + * Use option [locale.errorMessageCancelUpload](ui.igupload#options:locale.errorMessageCancelUpload). */ errorMessageCancelUpload?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when file is not found. - * + * Use option [locale.errorMessageNoSuchFile](ui.igupload#options:locale.errorMessageNoSuchFile). */ errorMessageNoSuchFile?: string; /** - * Get or set error message different from the other messages. - * + * This option has been removed as of 2017.2 Volume release. + * Get or set error message different from the other messages. + * Use option [locale.errorMessageOther](ui.igupload#options:locale.errorMessageOther). */ errorMessageOther?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when file extension validation failed. - * + * Use option [locale.errorMessageValidatingFileExtension](ui.igupload#options:locale.errorMessageValidatingFileExtension). */ errorMessageValidatingFileExtension?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when AJAX Request to get file size throws error. - * + * Use option [locale.errorMessageAJAXRequestFileSize](ui.igupload#options:locale.errorMessageAJAXRequestFileSize). */ errorMessageAJAXRequestFileSize?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when trying to remove non existing file. - * + * Use option [locale.errorMessageTryToRemoveNonExistingFile](ui.igupload#options:locale.errorMessageTryToRemoveNonExistingFile). */ errorMessageTryToRemoveNonExistingFile?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when trying to start non existing file. - * + * Use option [locale.errorMessageTryToStartNonExistingFile](ui.igupload#options:locale.errorMessageTryToStartNonExistingFile). */ errorMessageTryToStartNonExistingFile?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when maximum allowed files exceeded. - * + * Use option [locale.errorMessageMaxUploadedFiles](ui.igupload#options:locale.errorMessageMaxUploadedFiles). */ errorMessageMaxUploadedFiles?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when maximum simultaneous files is less or equal to 0. - * + * Use option [locale.errorMessageMaxSimultaneousFiles](ui.igupload#options:locale.errorMessageMaxSimultaneousFiles). */ errorMessageMaxSimultaneousFiles?: string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when trying to drop more than 1 file and mode is single. + * Use option [locale.errorMessageDropMultipleFilesWhenSingleModel](ui.igupload#options:locale.errorMessageDropMultipleFilesWhenSingleModel). */ errorMessageDropMultipleFilesWhenSingleModel?: string; + locale?: IgUploadLocale; /** * Get or set URL for uploading. @@ -93579,6 +95985,7 @@ interface IgUploadMethods { * @param formNumber id of the form which should be cancelled */ cancelUpload(formNumber: number): void; + changeLocale(): void; /** * Destroy the widget @@ -93640,6 +96047,7 @@ interface JQuery { igUpload(methodName: "addDataFields", formData: Object, fields: any[]): void; igUpload(methodName: "startUpload", formNumber: number): void; igUpload(methodName: "cancelUpload", formNumber: number): void; + igUpload(methodName: "changeLocale"): void; igUpload(methodName: "destroy"): void; igUpload(methodName: "getFileInfoData"): Object; igUpload(methodName: "cancelAll"): void; @@ -93692,324 +96100,374 @@ interface JQuery { igUpload(optionLiteral: 'option', optionName: "autostartupload", optionValue: boolean): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for the first shown browse button. When file is selected for the first time this button is hidden. - * + * Use option [locale.labelUploadButton](ui.igupload#options:locale.labelUploadButton). */ igUpload(optionLiteral: 'option', optionName: "labelUploadButton"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for the first shown browse button. When file is selected for the first time this button is hidden. - * + * Use option [locale.labelUploadButton](ui.igupload#options:locale.labelUploadButton). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "labelUploadButton", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for browse button in main container. - * + * Use option [locale.labelAddButton](ui.igupload#options:locale.labelAddButton). */ igUpload(optionLiteral: 'option', optionName: "labelAddButton"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for browse button in main container. - * + * Use option [locale.labelAddButton](ui.igupload#options:locale.labelAddButton). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "labelAddButton", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for summary Clear all button. It will be shown only in multiple upload mode. - * + * Use option [locale.labelClearAllButton](ui.igupload#options:locale.labelClearAllButton). */ igUpload(optionLiteral: 'option', optionName: "labelClearAllButton"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for summary Clear all button. It will be shown only in multiple upload mode. - * + * Use option [locale.labelClearAllButton](ui.igupload#options:locale.labelClearAllButton). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "labelClearAllButton", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set template for showing summary template. {0} is count of uploaded files. {1} is total count of file to be uploaded. - * + * Use option [locale.labelSummaryTemplate](ui.igupload#options:locale.labelSummaryTemplate). */ igUpload(optionLiteral: 'option', optionName: "labelSummaryTemplate"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set template for showing summary template. {0} is count of uploaded files. {1} is total count of file to be uploaded. - * + * Use option [locale.labelSummaryTemplate](ui.igupload#options:locale.labelSummaryTemplate). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "labelSummaryTemplate", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set template for showing uploading information in summary progress bar. It will be shown only in multiple upload mode. {0} uploaded filesize. {1} - total file size. - * + * Use option [locale.labelSummaryProgressBarTemplate](ui.igupload#options:locale.labelSummaryProgressBarTemplate). */ igUpload(optionLiteral: 'option', optionName: "labelSummaryProgressBarTemplate"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set template for showing uploading information in summary progress bar. It will be shown only in multiple upload mode. {0} uploaded filesize. {1} - total file size. - * + * Use option [locale.labelSummaryProgressBarTemplate](ui.igupload#options:locale.labelSummaryProgressBarTemplate). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "labelSummaryProgressBarTemplate", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for show/hide details button when main container is hidden. - * + * Use option [locale.labelShowDetails](ui.igupload#options:locale.labelShowDetails). */ igUpload(optionLiteral: 'option', optionName: "labelShowDetails"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for show/hide details button when main container is hidden. - * + * Use option [locale.labelShowDetails](ui.igupload#options:locale.labelShowDetails). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "labelShowDetails", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for show/hide details button when main container is shown. - * + * Use option [locale.labelHideDetails](ui.igupload#options:locale.labelHideDetails). */ igUpload(optionLiteral: 'option', optionName: "labelHideDetails"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for show/hide details button when main container is shown. - * + * Use option [locale.labelHideDetails](ui.igupload#options:locale.labelHideDetails). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "labelHideDetails", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for button cancelling all files. Shown only in multiple upload mode. - * + * Use option [locale.labelSummaryProgressButtonCancel](ui.igupload#options:locale.labelSummaryProgressButtonCancel). */ igUpload(optionLiteral: 'option', optionName: "labelSummaryProgressButtonCancel"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for button cancelling all files. Shown only in multiple upload mode. - * + * Use option [locale.labelSummaryProgressButtonCancel](ui.igupload#options:locale.labelSummaryProgressButtonCancel). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "labelSummaryProgressButtonCancel", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for start upload batch files. Shown only in multiple upload mode and autostartupload is false. - * + * Use option [locale.labelSummaryProgressButtonContinue](ui.igupload#options:locale.labelSummaryProgressButtonContinue). */ igUpload(optionLiteral: 'option', optionName: "labelSummaryProgressButtonContinue"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label for start upload batch files. Shown only in multiple upload mode and autostartupload is false. - * + * Use option [locale.labelSummaryProgressButtonContinue](ui.igupload#options:locale.labelSummaryProgressButtonContinue). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "labelSummaryProgressButtonContinue", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label when upload is finished. Shown only in multiple upload mode. - * + * Use option [locale.labelSummaryProgressButtonDone](ui.igupload#options:locale.labelSummaryProgressButtonDone). */ igUpload(optionLiteral: 'option', optionName: "labelSummaryProgressButtonDone"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set label when upload is finished. Shown only in multiple upload mode. - * + * Use option [locale.labelSummaryProgressButtonDone](ui.igupload#options:locale.labelSummaryProgressButtonDone). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "labelSummaryProgressButtonDone", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set filename when it could not be shown the whole file name and should be shorten. - * + * Use option [locale.labelProgressBarFileNameContinue](ui.igupload#options:locale.labelProgressBarFileNameContinue). */ igUpload(optionLiteral: 'option', optionName: "labelProgressBarFileNameContinue"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set filename when it could not be shown the whole file name and should be shorten. - * + * Use option [locale.labelProgressBarFileNameContinue](ui.igupload#options:locale.labelProgressBarFileNameContinue). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "labelProgressBarFileNameContinue", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set message shown when max file size of the uploaded file exceeds the limit. - * + * Use option [locale.errorMessageMaxFileSizeExceeded](ui.igupload#options:locale.errorMessageMaxFileSizeExceeded). */ igUpload(optionLiteral: 'option', optionName: "errorMessageMaxFileSizeExceeded"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set message shown when max file size of the uploaded file exceeds the limit. - * + * Use option [locale.errorMessageMaxFileSizeExceeded](ui.igupload#options:locale.errorMessageMaxFileSizeExceeded). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "errorMessageMaxFileSizeExceeded", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when ajax call to get file status throws error. - * + * Use option [locale.errorMessageGetFileStatus](ui.igupload#options:locale.errorMessageGetFileStatus). */ igUpload(optionLiteral: 'option', optionName: "errorMessageGetFileStatus"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when ajax call to get file status throws error. - * + * Use option [locale.errorMessageGetFileStatus](ui.igupload#options:locale.errorMessageGetFileStatus). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "errorMessageGetFileStatus", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when ajax call to send cancel upload command. - * + * Use option [locale.errorMessageCancelUpload](ui.igupload#options:locale.errorMessageCancelUpload). */ igUpload(optionLiteral: 'option', optionName: "errorMessageCancelUpload"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when ajax call to send cancel upload command. - * + * Use option [locale.errorMessageCancelUpload](ui.igupload#options:locale.errorMessageCancelUpload). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "errorMessageCancelUpload", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when file is not found. - * + * Use option [locale.errorMessageNoSuchFile](ui.igupload#options:locale.errorMessageNoSuchFile). */ igUpload(optionLiteral: 'option', optionName: "errorMessageNoSuchFile"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when file is not found. - * + * Use option [locale.errorMessageNoSuchFile](ui.igupload#options:locale.errorMessageNoSuchFile). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "errorMessageNoSuchFile", optionValue: string): void; /** - * Get or set error message different from the other messages. - * + * This option has been removed as of 2017.2 Volume release. + * Get or set error message different from the other messages. + * Use option [locale.errorMessageOther](ui.igupload#options:locale.errorMessageOther). */ igUpload(optionLiteral: 'option', optionName: "errorMessageOther"): string; /** - * Get or set error message different from the other messages. - * + * This option has been removed as of 2017.2 Volume release. + * Get or set error message different from the other messages. + * Use option [locale.errorMessageOther](ui.igupload#options:locale.errorMessageOther). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "errorMessageOther", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when file extension validation failed. - * + * Use option [locale.errorMessageValidatingFileExtension](ui.igupload#options:locale.errorMessageValidatingFileExtension). */ igUpload(optionLiteral: 'option', optionName: "errorMessageValidatingFileExtension"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when file extension validation failed. - * + * Use option [locale.errorMessageValidatingFileExtension](ui.igupload#options:locale.errorMessageValidatingFileExtension). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "errorMessageValidatingFileExtension", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when AJAX Request to get file size throws error. - * + * Use option [locale.errorMessageAJAXRequestFileSize](ui.igupload#options:locale.errorMessageAJAXRequestFileSize). */ igUpload(optionLiteral: 'option', optionName: "errorMessageAJAXRequestFileSize"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when AJAX Request to get file size throws error. - * + * Use option [locale.errorMessageAJAXRequestFileSize](ui.igupload#options:locale.errorMessageAJAXRequestFileSize). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "errorMessageAJAXRequestFileSize", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when trying to remove non existing file. - * + * Use option [locale.errorMessageTryToRemoveNonExistingFile](ui.igupload#options:locale.errorMessageTryToRemoveNonExistingFile). */ igUpload(optionLiteral: 'option', optionName: "errorMessageTryToRemoveNonExistingFile"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when trying to remove non existing file. - * + * Use option [locale.errorMessageTryToRemoveNonExistingFile](ui.igupload#options:locale.errorMessageTryToRemoveNonExistingFile). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "errorMessageTryToRemoveNonExistingFile", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when trying to start non existing file. - * + * Use option [locale.errorMessageTryToStartNonExistingFile](ui.igupload#options:locale.errorMessageTryToStartNonExistingFile). */ igUpload(optionLiteral: 'option', optionName: "errorMessageTryToStartNonExistingFile"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when trying to start non existing file. - * + * Use option [locale.errorMessageTryToStartNonExistingFile](ui.igupload#options:locale.errorMessageTryToStartNonExistingFile). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "errorMessageTryToStartNonExistingFile", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when maximum allowed files exceeded. - * + * Use option [locale.errorMessageMaxUploadedFiles](ui.igupload#options:locale.errorMessageMaxUploadedFiles). */ igUpload(optionLiteral: 'option', optionName: "errorMessageMaxUploadedFiles"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when maximum allowed files exceeded. - * + * Use option [locale.errorMessageMaxUploadedFiles](ui.igupload#options:locale.errorMessageMaxUploadedFiles). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "errorMessageMaxUploadedFiles", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when maximum simultaneous files is less or equal to 0. - * + * Use option [locale.errorMessageMaxSimultaneousFiles](ui.igupload#options:locale.errorMessageMaxSimultaneousFiles). */ igUpload(optionLiteral: 'option', optionName: "errorMessageMaxSimultaneousFiles"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when maximum simultaneous files is less or equal to 0. - * + * Use option [locale.errorMessageMaxSimultaneousFiles](ui.igupload#options:locale.errorMessageMaxSimultaneousFiles). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "errorMessageMaxSimultaneousFiles", optionValue: string): void; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when trying to drop more than 1 file and mode is single. + * Use option [locale.errorMessageDropMultipleFilesWhenSingleModel](ui.igupload#options:locale.errorMessageDropMultipleFilesWhenSingleModel). */ igUpload(optionLiteral: 'option', optionName: "errorMessageDropMultipleFilesWhenSingleModel"): string; /** + * This option has been removed as of 2017.2 Volume release. * Get or set error message when trying to drop more than 1 file and mode is single. + * Use option [locale.errorMessageDropMultipleFilesWhenSingleModel](ui.igupload#options:locale.errorMessageDropMultipleFilesWhenSingleModel). * * @optionValue New value to be set. */ igUpload(optionLiteral: 'option', optionName: "errorMessageDropMultipleFilesWhenSingleModel", optionValue: string): void; + igUpload(optionLiteral: 'option', optionName: "locale"): IgUploadLocale; + igUpload(optionLiteral: 'option', optionName: "locale", optionValue: IgUploadLocale): void; /** * Get or set URL for uploading. @@ -94359,14 +96817,19 @@ interface ValidatingEvent { interface ValidatingEventUIParam { /** - * Used to get reference to the igValidator widget. + * Gets reference to the igValidator widget. */ owner?: any; /** - * Used to get current value in target. + * Gets the current value in target. */ value?: any; + + /** + * Populated with options for the specific field in the collection or null. + */ + fieldOptions?: any; } interface ValidatedEvent { @@ -94375,24 +96838,44 @@ interface ValidatedEvent { interface ValidatedEventUIParam { /** - * Used to get reference to the igValidator widget. + * Gets reference to the igValidator widget. */ owner?: any; /** - * Used to get current value in target. + * Gets the current value in target. */ value?: any; /** - * Used to determine the outcome of the validation. + * Determine the outcome of the validation. */ - valid?: any; + valid?: boolean; /** - * Used to get text of message. + * Get the formatted message text, if any. */ - message?: any; + message?: string; + + /** + * Get all messages, if any. May be more than one if [executeAllRules](ui.igvalidator#options:executeAllRules) is enabled. + */ + messages?: any[]; + + /** + * Deprecated. Populated with the name of the rule that failed validation, if any. + */ + rule?: string; + + /** + * Populated with the names of rule that failed validation, if any. + */ + rules?: any[]; + + /** + * Populated with options for the specific field in the collection or null. + */ + fieldOptions?: any; } interface SuccessEvent { @@ -94401,24 +96884,29 @@ interface SuccessEvent { interface SuccessEventUIParam { /** - * Used to get reference to the igValidator widget. + * Gets reference to the igValidator widget. */ owner?: any; /** - * Used to get current value in target. + * Gets the current value in target. */ value?: any; /** - * Used to determine the outcome of the validation. + * Determine the outcome of the validation. */ - valid?: any; + valid?: boolean; /** - * Used to get text of message. + * Get the formatted message text, if any. */ - message?: any; + message?: string; + + /** + * Populated with options for the specific field in the collection or null. + */ + fieldOptions?: any; } interface ErrorEvent { @@ -94427,24 +96915,44 @@ interface ErrorEvent { interface ErrorEventUIParam { /** - * Used to get reference to the igValidator widget. + * Gets reference to the igValidator widget. */ owner?: any; /** - * Used to get current value in target. + * Gets the current value in target. */ value?: any; /** - * Used to determine the outcome of the validation. + * Determine the outcome of the validation. */ - valid?: any; + valid?: boolean; /** - * Used to get text of message. + * Get the formatted message text. */ - message?: any; + message?: string; + + /** + * Get all messages. May be more than one if [executeAllRules](ui.igvalidator#options:executeAllRules) is enabled. + */ + messages?: any[]; + + /** + * Deprecated. Populated with the name of the rule that failed validation. + */ + rule?: string; + + /** + * Populated with the names of rule that failed validation. + */ + rules?: any[]; + + /** + * Populated with options for the specific field in the collection or null. + */ + fieldOptions?: any; } interface ErrorShowingEvent { @@ -94453,19 +96961,24 @@ interface ErrorShowingEvent { interface ErrorShowingEventUIParam { /** - * Used to get reference to the igValidator widget. + * Gets reference to the igValidator widget. */ owner?: any; /** - * Used to get text of message. + * Gets the text of message. */ - message?: any; + message?: string; /** - * Used to get reference to the target of the message. + * Gets reference to the target of the message. */ - target?: any; + target?: string; + + /** + * Populated with options for the specific field in the collection or null. + */ + fieldOptions?: any; } interface ErrorHidingEvent { @@ -94474,19 +96987,24 @@ interface ErrorHidingEvent { interface ErrorHidingEventUIParam { /** - * Used to get reference to the igValidator widget. + * Gets reference to the igValidator widget. */ owner?: any; /** - * Used to get text of message. + * Gets the text of message. */ - message?: any; + message?: string; /** - * Used to get reference to the target of the message. + * Gets reference to the target of the message. */ - target?: any; + target?: string; + + /** + * Populated with options for the specific field in the collection or null. + */ + fieldOptions?: any; } interface ErrorShownEvent { @@ -94495,19 +97013,24 @@ interface ErrorShownEvent { interface ErrorShownEventUIParam { /** - * Used to get reference to the igValidator widget. + * Gets reference to the igValidator widget. */ owner?: any; /** - * Used to get text of message. + * Gets the text of message. */ - message?: any; + message?: string; /** - * Used to get reference to the target of the message. + * Gets reference to the target of the message. */ - target?: any; + target?: string; + + /** + * Populated with options for the specific field in the collection or null. + */ + fieldOptions?: any; } interface ErrorHiddenEvent { @@ -94516,19 +97039,24 @@ interface ErrorHiddenEvent { interface ErrorHiddenEventUIParam { /** - * Used to get reference to the igValidator widget. + * Gets reference to the igValidator widget. */ owner?: any; /** - * Used to get text of message. + * Gets the text of message. */ - message?: any; + message?: string; /** - * Used to get reference to the target of the message. + * Gets reference to the target of the message. */ - target?: any; + target?: string; + + /** + * Populated with options for the specific field in the collection or null. + */ + fieldOptions?: any; } interface SuccessShowingEvent { @@ -94537,19 +97065,24 @@ interface SuccessShowingEvent { interface SuccessShowingEventUIParam { /** - * Used to get reference to the igValidator widget. + * Gets reference to the igValidator widget. */ owner?: any; /** - * Used to get text of message. + * Gets the text of message. */ - message?: any; + message?: string; /** - * Used to get reference to the target of the message. + * Gets reference to the target of the message. */ - target?: any; + target?: string; + + /** + * Populated with options for the specific field in the collection or null. + */ + fieldOptions?: any; } interface SuccessHidingEvent { @@ -94558,19 +97091,24 @@ interface SuccessHidingEvent { interface SuccessHidingEventUIParam { /** - * Used to get reference to the igValidator widget. + * Gets reference to the igValidator widget. */ owner?: any; /** - * Used to get text of message. + * Gets the text of message. */ - message?: any; + message?: string; /** - * Used to get reference to the target of the message. + * Gets reference to the target of the message. */ - target?: any; + target?: string; + + /** + * Populated with options for the specific field in the collection or null. + */ + fieldOptions?: any; } interface SuccessShownEvent { @@ -94579,19 +97117,24 @@ interface SuccessShownEvent { interface SuccessShownEventUIParam { /** - * Used to get reference to the igValidator widget. + * Gets reference to the igValidator widget. */ owner?: any; /** - * Used to get text of message. + * Gets the text of message. */ - message?: any; + message?: string; /** - * Used to get reference to the target of the message. + * Gets reference to the target of the message. */ - target?: any; + target?: string; + + /** + * Populated with options for the specific field in the collection or null. + */ + fieldOptions?: any; } interface SuccessHiddenEvent { @@ -94600,19 +97143,24 @@ interface SuccessHiddenEvent { interface SuccessHiddenEventUIParam { /** - * Used to get reference to the igValidator widget. + * Gets reference to the igValidator widget. */ owner?: any; /** - * Used to get text of message. + * Gets the text of message. */ - message?: any; + message?: string; /** - * Used to get reference to the target of the message. + * Gets reference to the target of the message. */ - target?: any; + target?: string; + + /** + * Populated with options for the specific field in the collection or null. + */ + fieldOptions?: any; } interface FormValidatingEvent { @@ -94621,14 +97169,14 @@ interface FormValidatingEvent { interface FormValidatingEventUIParam { /** - * Used to get reference to the igValidator widget. + * Gets reference to the igValidator widget. */ owner?: any; /** - * Used to get reference of the event target form. + * Gets reference to the event target form. */ - target?: any; + target?: string; } interface FormValidatedEvent { @@ -94637,19 +97185,19 @@ interface FormValidatedEvent { interface FormValidatedEventUIParam { /** - * Used to get reference to the igValidator widget. + * Gets reference to the igValidator widget. */ owner?: any; /** - * Used to get reference of the event target form. + * Gets reference to the event target form. */ - target?: any; + target?: string; /** - * Used to determine the outcome of the validation. + * Determine the outcome of the validation. */ - valid?: any; + valid?: boolean; } interface FormErrorEvent { @@ -94658,14 +97206,14 @@ interface FormErrorEvent { interface FormErrorEventUIParam { /** - * Used to get reference to the igValidator widget. + * Gets reference to the igValidator widget. */ owner?: any; /** - * Used to get reference of the event target form. + * Gets reference to the event target form. */ - target?: any; + target?: string; } interface FormSuccessEvent { @@ -94674,21 +97222,21 @@ interface FormSuccessEvent { interface FormSuccessEventUIParam { /** - * Used to get reference to the igValidator widget. + * Gets reference to the igValidator widget. */ owner?: any; /** - * Used to get reference of the event target form. + * Gets reference to the event target form. */ - target?: any; + target?: string; } interface IgValidator { /** * Gets/Sets whether validation is triggered when the text in editor changes. * Note that this is more appropriate for selection controls such as checkbox, combo or rating. - * As it can cause excessive messages with text-based fields, the initail validation can be delayed via the [threshold](ui.igvalidator#options:threshold) option. + * As it can cause excessive messages with text-based fields, the initial validation can be delayed via the [threshold](ui.igvalidator#options:threshold) option. * */ onchange?: boolean; @@ -94727,7 +97275,7 @@ interface IgValidator { number?: boolean|Object; /** - * Gets/Sets date validation rule options. This can additionally help guide the [valueRange](ui.igvalidator#options:valueRange) validation.Note: Dependat on JavaScript Date parsing which will accept a wide range of values. + * Gets/Sets date validation rule options. This can additionally help guide the [valueRange](ui.igvalidator#options:valueRange) validation.Note: Dependant on JavaScript Date parsing which will accept a wide range of values. * * * Valid values: @@ -94752,7 +97300,7 @@ interface IgValidator { * * Valid values: * "array" An array of two numbers, where the first value is the minimum and the second is the maximum. (e.g. lengthRange: [ 1, 10] ) - * "object" A configuration object with optional error message. Message strings can contain format items for min and max respecitively (e.g. lengthRange: { min: 6, max: 20, errorMessage: "Password must be at least {0} long and no more than {1}." } ) + * "object" A configuration object with optional error message. Message strings can contain format items for min and max respectively (e.g. lengthRange: { min: 6, max: 20, errorMessage: "Password must be at least {0} long and no more than {1}." } ) */ lengthRange?: Array<any>|Object; @@ -94762,7 +97310,7 @@ interface IgValidator { * * Valid values: * "array" An array of two numbers or dates, where the first is the minimum and the second is the maximum. (e.g. valueRange: [ 1, 10] ) - * "object" A configuration object with optional error message. Message strings can contain format items for min and max respecitively (e.g. lengthRange: { min: 6, max: 20, errorMessage: "Value must be between {0} and {1}." } ) + * "object" A configuration object with optional error message. Message strings can contain format items for min and max respectively (e.g. lengthRange: { min: 6, max: 20, errorMessage: "Value must be between {0} and {1}." } ) */ valueRange?: Array<any>|Object; @@ -94786,6 +97334,13 @@ interface IgValidator { */ pattern?: string|Object; + /** + * Gets/Sets if all rules for a field should be checked, so even if one fails the rest will continue executing. + * Note: This will not force checks on an empty field for rules that don't normally execute without a value. + * + */ + executeAllRules?: boolean; + /** * Gets/Sets a custom jQuery element to be used for validation messages. That inner HTML of the target is modified, can be a SPAN, LABEL or DIV. * @@ -94864,9 +97419,6 @@ interface IgValidator { * Return false in order to cancel the event and consider the field valid. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.value to get current value in target. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ validating?: ValidatingEvent; @@ -94874,37 +97426,18 @@ interface IgValidator { * Event which is raised after value was validated but before any action takes effect. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.value to get current value in target. - * Use ui.valid to determine the outcome of the validation. - * Use ui.message to get text of message. - * ui.rule is populated with the name of the rule that failed validation, if any. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ validated?: ValidatedEvent; /** * Event raised for valid field after value was validated but before any action takes effect. * Function takes arguments evt and ui. - * - * Use ui.owner to get reference to the igValidator widget. - * Use ui.value to get current value in target. - * Use ui.valid to determine the outcome of the validation. - * Use ui.message to get text of message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ success?: SuccessEvent; /** * Event raised for invalid field after value was validated but before any action takes effect. * Function takes arguments evt and ui. - * - * Use ui.owner to get reference to the igValidator widget. - * Use ui.value to get current value in target. - * Use ui.valid to determine the outcome of the validation. - * Use ui.message to get text of message. - * ui.rule is populated with the name of the rule that failed validation. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ error?: ErrorEvent; @@ -94913,10 +97446,6 @@ interface IgValidator { * Return false in order to prevent error message display. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ errorShowing?: ErrorShowingEvent; @@ -94925,10 +97454,6 @@ interface IgValidator { * Return false in order to keep the error message displayed. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ errorHiding?: ErrorHidingEvent; @@ -94936,10 +97461,6 @@ interface IgValidator { * Event which is raised after error message was displayed. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ errorShown?: ErrorShownEvent; @@ -94947,10 +97468,6 @@ interface IgValidator { * Event which is raised after error message was hidden. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ errorHidden?: ErrorHiddenEvent; @@ -94959,10 +97476,6 @@ interface IgValidator { * Return false in order to prevent success message display. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ successShowing?: SuccessShowingEvent; @@ -94971,10 +97484,6 @@ interface IgValidator { * Return false in order to keep success message displayed. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ successHiding?: SuccessHidingEvent; @@ -94982,10 +97491,6 @@ interface IgValidator { * Event which is raised after success message was displayed. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ successShown?: SuccessShownEvent; @@ -94993,20 +97498,14 @@ interface IgValidator { * Event which is raised after success message was hidden. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ successHidden?: SuccessHiddenEvent; /** * Event triggered on Validator instance level before handling a form submit event. - * Return false to cancel to skip validating and potentially allow the submit if no other other validators return erros. + * Return false to cancel to skip validating and potentially allow the submit if no other other validators return error. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.target to get reference of the event target form. */ formValidating?: FormValidatingEvent; @@ -95014,9 +97513,6 @@ interface IgValidator { * Event triggered on Validator instance level after validation on form submit event.. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.target to get reference of the event target form. - * Use ui.valid to determine the outcome of the validation. */ formValidated?: FormValidatedEvent; @@ -95024,8 +97520,6 @@ interface IgValidator { * Event triggered on Validator instance level after failed validation on form submit event. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.target to get reference of the event target form. */ formError?: FormErrorEvent; @@ -95033,8 +97527,6 @@ interface IgValidator { * Event triggered on Validator instance level after successful validation on form submit event. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.target to get reference of the event target form. */ formSuccess?: FormSuccessEvent; @@ -95060,14 +97552,14 @@ interface IgValidatorMethods { /** * Hide any possible message(s) (either messageTarget or igNotifier). - * Note: When the validator has a fields colleciton, not passing a field will hide messages on all fields. + * Note: When the validator has a fields collection, not passing a field will hide messages on all fields. * * @param field Optional field object, its selector or zero-based index to hide message for. */ hide(field?: Object): void; /** - * Gets all current error messages for invalid field(s). Note that this method does not valdiate and states and messages are only updated on validation, so + * Gets all current error messages for invalid field(s). Note that this method does not validate and states and messages are only updated on validation, so * this can be used on formValidated event or after validate/isValid method calls. * * @param field Optional field object, selector or zero-based index for a single field to get error message for. @@ -95076,7 +97568,7 @@ interface IgValidatorMethods { /** * Check for currently displayed message(s). Takes an optional field. - * Note: When the validator has a fields colleciton, not passing a field will return a cumulative true even if just one field has a visible message. + * Note: When the validator has a fields collection, not passing a field will return a cumulative true even if just one field has a visible message. * * @param field Optional field object, selector or zero-based index for a single field to get error message for. */ @@ -95148,6 +97640,14 @@ class IgValidatorBaseRule { */ formatMessage(message: string): string; + /** + * Checks if rule should run on the current field and/or value. + * + * @param options Options for the validator, if fields are used this parameter is already populated with inherited ones. + * @param value The stringified value to check. + */ + shouldRun(options: Object, value: string): boolean; + /** * Validates a value against this rule and returns the result. * @@ -95171,6 +97671,7 @@ class IgValidatorRequiredRule { constructor(formatItems: any[]); getMessageType(options: Object): void; + shouldRun(options: Object): void; isValid(options: Object, value: Object): void; /** @@ -95205,6 +97706,7 @@ class IgValidatorControlRule { * @param options */ getRuleMessage(options: Object): void; + shouldRun(options: Object, value: Object): void; isValid(options: Object): void; /** @@ -95247,6 +97749,14 @@ class IgValidatorNumberRule { * @param message The unformatted error message the validator intends to display. */ formatMessage(message: string): string; + + /** + * Checks if rule should run on the current field and/or value. + * + * @param options Options for the validator, if fields are used this parameter is already populated with inherited ones. + * @param value The stringified value to check. + */ + shouldRun(options: Object, value: string): boolean; } } interface IgniteUIStatic { @@ -95281,6 +97791,14 @@ class IgValidatorDateRule { * @param message The unformatted error message the validator intends to display. */ formatMessage(message: string): string; + + /** + * Checks if rule should run on the current field and/or value. + * + * @param options Options for the validator, if fields are used this parameter is already populated with inherited ones. + * @param value The stringified value to check. + */ + shouldRun(options: Object, value: string): boolean; } } interface IgniteUIStatic { @@ -95308,6 +97826,14 @@ class IgValidatorLengthRule { * @param message The unformatted error message the validator intends to display. */ formatMessage(message: string): string; + + /** + * Checks if rule should run on the current field and/or value. + * + * @param options Options for the validator, if fields are used this parameter is already populated with inherited ones. + * @param value The stringified value to check. + */ + shouldRun(options: Object, value: string): boolean; } } interface IgniteUIStatic { @@ -95355,6 +97881,14 @@ class IgValidatorEqualToRule { * @param message The unformatted error message the validator intends to display. */ formatMessage(message: string): string; + + /** + * Checks if rule should run on the current field and/or value. + * + * @param options Options for the validator, if fields are used this parameter is already populated with inherited ones. + * @param value The stringified value to check. + */ + shouldRun(options: Object, value: string): boolean; } } interface IgniteUIStatic { @@ -95389,6 +97923,14 @@ class IgValidatorEmailRule { * @param message The unformatted error message the validator intends to display. */ formatMessage(message: string): string; + + /** + * Checks if rule should run on the current field and/or value. + * + * @param options Options for the validator, if fields are used this parameter is already populated with inherited ones. + * @param value The stringified value to check. + */ + shouldRun(options: Object, value: string): boolean; } } interface IgniteUIStatic { @@ -95423,6 +97965,14 @@ class IgValidatorPatternRule { * @param message The unformatted error message the validator intends to display. */ formatMessage(message: string): string; + + /** + * Checks if rule should run on the current field and/or value. + * + * @param options Options for the validator, if fields are used this parameter is already populated with inherited ones. + * @param value The stringified value to check. + */ + shouldRun(options: Object, value: string): boolean; } } interface IgniteUIStatic { @@ -95435,6 +97985,7 @@ class IgValidatorCustomRule { constructor(formatItems: any[]); getMessageType(): void; + shouldRun(options: Object): void; isValid(options: Object, value: Object): void; /** @@ -95493,6 +98044,14 @@ class IgValidatorCreditCardRule { * @param message The unformatted error message the validator intends to display. */ formatMessage(message: string): string; + + /** + * Checks if rule should run on the current field and/or value. + * + * @param options Options for the validator, if fields are used this parameter is already populated with inherited ones. + * @param value The stringified value to check. + */ + shouldRun(options: Object, value: string): boolean; } } interface IgniteUIStatic { @@ -95514,7 +98073,7 @@ interface JQuery { /** * Gets/Sets whether validation is triggered when the text in editor changes. * Note that this is more appropriate for selection controls such as checkbox, combo or rating. - * As it can cause excessive messages with text-based fields, the initail validation can be delayed via the [threshold](ui.igvalidator#options:threshold) option. + * As it can cause excessive messages with text-based fields, the initial validation can be delayed via the [threshold](ui.igvalidator#options:threshold) option. * */ igValidator(optionLiteral: 'option', optionName: "onchange"): boolean; @@ -95522,7 +98081,7 @@ interface JQuery { /** * /Sets whether validation is triggered when the text in editor changes. * Note that this is more appropriate for selection controls such as checkbox, combo or rating. - * As it can cause excessive messages with text-based fields, the initail validation can be delayed via the [threshold](ui.igvalidator#options:threshold) option. + * As it can cause excessive messages with text-based fields, the initial validation can be delayed via the [threshold](ui.igvalidator#options:threshold) option. * * * @optionValue New value to be set. @@ -95592,14 +98151,14 @@ interface JQuery { igValidator(optionLiteral: 'option', optionName: "number", optionValue: boolean|Object): void; /** - * Gets/Sets date validation rule options. This can additionally help guide the [valueRange](ui.igvalidator#options:valueRange) validation.Note: Dependat on JavaScript Date parsing which will accept a wide range of values. + * Gets/Sets date validation rule options. This can additionally help guide the [valueRange](ui.igvalidator#options:valueRange) validation.Note: Dependant on JavaScript Date parsing which will accept a wide range of values. * */ igValidator(optionLiteral: 'option', optionName: "date"): boolean|Object; /** - * /Sets date validation rule options. This can additionally help guide the [valueRange](ui.igvalidator#options:valueRange) validation.Note: Dependat on JavaScript Date parsing which will accept a wide range of values. + * /Sets date validation rule options. This can additionally help guide the [valueRange](ui.igvalidator#options:valueRange) validation.Note: Dependant on JavaScript Date parsing which will accept a wide range of values. * * * @optionValue New value to be set. @@ -95687,6 +98246,22 @@ interface JQuery { igValidator(optionLiteral: 'option', optionName: "pattern", optionValue: string|Object): void; + /** + * Gets/Sets if all rules for a field should be checked, so even if one fails the rest will continue executing. + * Note: This will not force checks on an empty field for rules that don't normally execute without a value. + * + */ + igValidator(optionLiteral: 'option', optionName: "executeAllRules"): boolean; + + /** + * /Sets if all rules for a field should be checked, so even if one fails the rest will continue executing. + * Note: This will not force checks on an empty field for rules that don't normally execute without a value. + * + * + * @optionValue New value to be set. + */ + igValidator(optionLiteral: 'option', optionName: "executeAllRules", optionValue: boolean): void; + /** * Gets/Sets a custom jQuery element to be used for validation messages. That inner HTML of the target is modified, can be a SPAN, LABEL or DIV. * @@ -95844,9 +98419,6 @@ interface JQuery { * Return false in order to cancel the event and consider the field valid. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.value to get current value in target. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ igValidator(optionLiteral: 'option', optionName: "validating"): ValidatingEvent; @@ -95855,9 +98427,6 @@ interface JQuery { * Return false in order to cancel the event and consider the field valid. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.value to get current value in target. - * ui.fieldOptions is populated with options for the specific field in the collection or null. * * @optionValue Define event handler function. */ @@ -95867,12 +98436,6 @@ interface JQuery { * Event which is raised after value was validated but before any action takes effect. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.value to get current value in target. - * Use ui.valid to determine the outcome of the validation. - * Use ui.message to get text of message. - * ui.rule is populated with the name of the rule that failed validation, if any. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ igValidator(optionLiteral: 'option', optionName: "validated"): ValidatedEvent; @@ -95880,12 +98443,6 @@ interface JQuery { * Event which is raised after value was validated but before any action takes effect. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.value to get current value in target. - * Use ui.valid to determine the outcome of the validation. - * Use ui.message to get text of message. - * ui.rule is populated with the name of the rule that failed validation, if any. - * ui.fieldOptions is populated with options for the specific field in the collection or null. * * @optionValue Define event handler function. */ @@ -95894,12 +98451,6 @@ interface JQuery { /** * Event raised for valid field after value was validated but before any action takes effect. * Function takes arguments evt and ui. - * - * Use ui.owner to get reference to the igValidator widget. - * Use ui.value to get current value in target. - * Use ui.valid to determine the outcome of the validation. - * Use ui.message to get text of message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ igValidator(optionLiteral: 'option', optionName: "success"): SuccessEvent; @@ -95907,12 +98458,6 @@ interface JQuery { * Event raised for valid field after value was validated but before any action takes effect. * Function takes arguments evt and ui. * - * Use ui.owner to get reference to the igValidator widget. - * Use ui.value to get current value in target. - * Use ui.valid to determine the outcome of the validation. - * Use ui.message to get text of message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. - * * @optionValue Define event handler function. */ igValidator(optionLiteral: 'option', optionName: "success", optionValue: SuccessEvent): void; @@ -95920,13 +98465,6 @@ interface JQuery { /** * Event raised for invalid field after value was validated but before any action takes effect. * Function takes arguments evt and ui. - * - * Use ui.owner to get reference to the igValidator widget. - * Use ui.value to get current value in target. - * Use ui.valid to determine the outcome of the validation. - * Use ui.message to get text of message. - * ui.rule is populated with the name of the rule that failed validation. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ igValidator(optionLiteral: 'option', optionName: "error"): ErrorEvent; @@ -95934,13 +98472,6 @@ interface JQuery { * Event raised for invalid field after value was validated but before any action takes effect. * Function takes arguments evt and ui. * - * Use ui.owner to get reference to the igValidator widget. - * Use ui.value to get current value in target. - * Use ui.valid to determine the outcome of the validation. - * Use ui.message to get text of message. - * ui.rule is populated with the name of the rule that failed validation. - * ui.fieldOptions is populated with options for the specific field in the collection or null. - * * @optionValue Define event handler function. */ igValidator(optionLiteral: 'option', optionName: "error", optionValue: ErrorEvent): void; @@ -95950,10 +98481,6 @@ interface JQuery { * Return false in order to prevent error message display. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ igValidator(optionLiteral: 'option', optionName: "errorShowing"): ErrorShowingEvent; @@ -95962,10 +98489,6 @@ interface JQuery { * Return false in order to prevent error message display. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. * * @optionValue Define event handler function. */ @@ -95976,10 +98499,6 @@ interface JQuery { * Return false in order to keep the error message displayed. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ igValidator(optionLiteral: 'option', optionName: "errorHiding"): ErrorHidingEvent; @@ -95988,10 +98507,6 @@ interface JQuery { * Return false in order to keep the error message displayed. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. * * @optionValue Define event handler function. */ @@ -96001,10 +98516,6 @@ interface JQuery { * Event which is raised after error message was displayed. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ igValidator(optionLiteral: 'option', optionName: "errorShown"): ErrorShownEvent; @@ -96012,10 +98523,6 @@ interface JQuery { * Event which is raised after error message was displayed. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. * * @optionValue Define event handler function. */ @@ -96025,10 +98532,6 @@ interface JQuery { * Event which is raised after error message was hidden. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ igValidator(optionLiteral: 'option', optionName: "errorHidden"): ErrorHiddenEvent; @@ -96036,10 +98539,6 @@ interface JQuery { * Event which is raised after error message was hidden. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. * * @optionValue Define event handler function. */ @@ -96050,10 +98549,6 @@ interface JQuery { * Return false in order to prevent success message display. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ igValidator(optionLiteral: 'option', optionName: "successShowing"): SuccessShowingEvent; @@ -96062,10 +98557,6 @@ interface JQuery { * Return false in order to prevent success message display. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. * * @optionValue Define event handler function. */ @@ -96076,10 +98567,6 @@ interface JQuery { * Return false in order to keep success message displayed. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ igValidator(optionLiteral: 'option', optionName: "successHiding"): SuccessHidingEvent; @@ -96088,10 +98575,6 @@ interface JQuery { * Return false in order to keep success message displayed. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. * * @optionValue Define event handler function. */ @@ -96101,10 +98584,6 @@ interface JQuery { * Event which is raised after success message was displayed. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ igValidator(optionLiteral: 'option', optionName: "successShown"): SuccessShownEvent; @@ -96112,10 +98591,6 @@ interface JQuery { * Event which is raised after success message was displayed. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. * * @optionValue Define event handler function. */ @@ -96125,10 +98600,6 @@ interface JQuery { * Event which is raised after success message was hidden. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. */ igValidator(optionLiteral: 'option', optionName: "successHidden"): SuccessHiddenEvent; @@ -96136,10 +98607,6 @@ interface JQuery { * Event which is raised after success message was hidden. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.message to get text of message. - * Use ui.target to get reference to the target of the message. - * ui.fieldOptions is populated with options for the specific field in the collection or null. * * @optionValue Define event handler function. */ @@ -96147,21 +98614,17 @@ interface JQuery { /** * Event triggered on Validator instance level before handling a form submit event. - * Return false to cancel to skip validating and potentially allow the submit if no other other validators return erros. + * Return false to cancel to skip validating and potentially allow the submit if no other other validators return error. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.target to get reference of the event target form. */ igValidator(optionLiteral: 'option', optionName: "formValidating"): FormValidatingEvent; /** * Event triggered on Validator instance level before handling a form submit event. - * Return false to cancel to skip validating and potentially allow the submit if no other other validators return erros. + * Return false to cancel to skip validating and potentially allow the submit if no other other validators return error. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.target to get reference of the event target form. * * @optionValue Define event handler function. */ @@ -96171,9 +98634,6 @@ interface JQuery { * Event triggered on Validator instance level after validation on form submit event.. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.target to get reference of the event target form. - * Use ui.valid to determine the outcome of the validation. */ igValidator(optionLiteral: 'option', optionName: "formValidated"): FormValidatedEvent; @@ -96181,9 +98641,6 @@ interface JQuery { * Event triggered on Validator instance level after validation on form submit event.. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.target to get reference of the event target form. - * Use ui.valid to determine the outcome of the validation. * * @optionValue Define event handler function. */ @@ -96193,8 +98650,6 @@ interface JQuery { * Event triggered on Validator instance level after failed validation on form submit event. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.target to get reference of the event target form. */ igValidator(optionLiteral: 'option', optionName: "formError"): FormErrorEvent; @@ -96202,8 +98657,6 @@ interface JQuery { * Event triggered on Validator instance level after failed validation on form submit event. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.target to get reference of the event target form. * * @optionValue Define event handler function. */ @@ -96213,8 +98666,6 @@ interface JQuery { * Event triggered on Validator instance level after successful validation on form submit event. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.target to get reference of the event target form. */ igValidator(optionLiteral: 'option', optionName: "formSuccess"): FormSuccessEvent; @@ -96222,8 +98673,6 @@ interface JQuery { * Event triggered on Validator instance level after successful validation on form submit event. * * Function takes arguments evt and ui. - * Use ui.owner to get reference to the igValidator widget. - * Use ui.target to get reference of the event target form. * * @optionValue Define event handler function. */ @@ -96517,6 +98966,127 @@ interface IgVideoPlayerCommercials { [optionName: string]: any; } +interface IgVideoPlayerLocale { + /** + * Gets/Sets live stream video title. + * + */ + liveStream?: boolean; + + /** + * Gets/Sets live video title. + * + */ + live?: boolean; + + /** + * Gets/Sets paused button title. + * + */ + paused?: boolean; + + /** + * Gets/Sets playing button title. + * + */ + playing?: boolean; + + /** + * Gets/Sets play button title. + * + */ + play?: boolean; + + /** + * Gets/Sets volume button title. + * + */ + volume?: boolean; + + /** + * Gets/Sets progress label long format. + * + */ + progressLabelLongFormat?: boolean; + + /** + * Gets/Sets progress label short format. + * + */ + progressLabelShortFormat?: boolean; + + /** + * Gets/Sets enter fullscreen button title. + * + */ + enterFullscreen?: boolean; + + /** + * Gets/Sets exit fullscreen button title. + * + */ + exitFullscreen?: boolean; + + /** + * Gets/Sets skip to button title. + * + */ + skipTo?: boolean; + + /** + * Gets/Sets buffering label text. + * + */ + buffering?: boolean; + + /** + * Gets/Sets ad message text. + * + */ + adMessage?: boolean; + + /** + * Gets/Sets long ad message text. + * + */ + adMessageLong?: boolean; + + /** + * Gets/Sets ad message text when no duration is specified. + * + */ + adMessageNoDuration?: boolean; + + /** + * Gets/Sets new ad window title. + * + */ + adNewWindowTip?: boolean; + + /** + * Gets/Sets related videos text. + * + */ + relatedVideos?: boolean; + + /** + * Gets/Sets replay button text. + * + */ + replayButton?: boolean; + + /** + * Gets/Sets replay button tooltip. + * + */ + replayTooltip?: boolean; + + /** + * Option for IgVideoPlayerLocale + */ + [optionName: string]: any; +} + interface EndedEvent { (event: Event, ui: EndedEventUIParam): void; } @@ -96840,6 +99410,7 @@ interface IgVideoPlayer { * */ commercials?: IgVideoPlayerCommercials; + locale?: IgVideoPlayerLocale; /** * Occurs when video has ended. @@ -97015,6 +99586,7 @@ interface IgVideoPlayerMethods { * Resets the commercials, to be shown again. */ resetCommercialsShow(): void; + changeLocale(): void; /** * Toggle control play state. If video is playing it will pause, if video is paused it will play. @@ -97101,6 +99673,7 @@ interface JQuery { igVideoPlayer(methodName: "showBanner", index: number): void; igVideoPlayer(methodName: "hideBanner", index: number): void; igVideoPlayer(methodName: "resetCommercialsShow"): void; + igVideoPlayer(methodName: "changeLocale"): void; igVideoPlayer(methodName: "togglePlay"): void; igVideoPlayer(methodName: "play"): void; igVideoPlayer(methodName: "pause"): void; @@ -97413,6 +99986,8 @@ interface JQuery { * @optionValue New value to be set. */ igVideoPlayer(optionLiteral: 'option', optionName: "commercials", optionValue: IgVideoPlayerCommercials): void; + igVideoPlayer(optionLiteral: 'option', optionName: "locale"): IgVideoPlayerLocale; + igVideoPlayer(optionLiteral: 'option', optionName: "locale", optionValue: IgVideoPlayerLocale): void; /** * Occurs when video has ended. @@ -97715,6 +100290,95 @@ interface JQuery { igVideoPlayer(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; igVideoPlayer(methodName: string, ...methodParams: any[]): any; } +interface IgWidget { + /** + * Set/Get the locale setting for the widget. + * + */ + locale?: any; + + /** + * Set/Get the locale language setting for the widget. + * + */ + language?: string; + + /** + * Set/Get the regional setting for the widget. + * + */ + regional?: string|Object; + + /** + * Option for igWidget + */ + [optionName: string]: any; +} +interface IgWidgetMethods { + changeLocale($container: Object): void; + changeGlobalLanguage(): void; + changeGlobalRegional(): void; + destroy(): void; +} +interface JQuery { + data(propertyName: "igWidget"): IgWidgetMethods; +} + +interface JQuery { + igWidget(methodName: "changeLocale", $container: Object): void; + igWidget(methodName: "changeGlobalLanguage"): void; + igWidget(methodName: "changeGlobalRegional"): void; + igWidget(methodName: "destroy"): void; + + /** + * Set/Get the locale setting for the widget. + * + */ + igWidget(optionLiteral: 'option', optionName: "locale"): any; + + /** + * Set/Get the locale setting for the widget. + * + * + * @optionValue New value to be set. + */ + igWidget(optionLiteral: 'option', optionName: "locale", optionValue: any): void; + + /** + * Set/Get the locale language setting for the widget. + * + */ + igWidget(optionLiteral: 'option', optionName: "language"): string; + + /** + * Set/Get the locale language setting for the widget. + * + * + * @optionValue New value to be set. + */ + igWidget(optionLiteral: 'option', optionName: "language", optionValue: string): void; + + /** + * Set/Get the regional setting for the widget. + * + */ + + igWidget(optionLiteral: 'option', optionName: "regional"): string|Object; + + /** + * Set/Get the regional setting for the widget. + * + * + * @optionValue New value to be set. + */ + + igWidget(optionLiteral: 'option', optionName: "regional", optionValue: string|Object): void; + igWidget(options: IgWidget): JQuery; + igWidget(optionLiteral: 'option', optionName: string): any; + igWidget(optionLiteral: 'option', options: IgWidget): JQuery; + igWidget(optionLiteral: 'option', optionName: string, optionValue: any): JQuery; + igWidget(methodName: string, ...methodParams: any[]): any; +} interface IgZoombarDefaultZoomWindow { /** * The left component of the zoom window in percentages. From 239c74ded1ccfe7b30258b246c09cdc4af08bac9 Mon Sep 17 00:00:00 2001 From: Leon Chen <leonhart.chen@gmail.com> Date: Tue, 10 Oct 2017 07:02:02 +0800 Subject: [PATCH 233/433] support generic-pool v3 pool config options (#20269) --- types/knex/index.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/types/knex/index.d.ts b/types/knex/index.d.ts index 8b7f1b6601..926e3b84db 100644 --- a/types/knex/index.d.ts +++ b/types/knex/index.d.ts @@ -615,6 +615,17 @@ declare namespace Knex { priorityRange?: number; validate?: Function; log?: boolean; + + // generic-pool v3 configs + maxWaitingClients?: number; + testOnBorrow?: boolean; + acquireTimeoutMillis?: number; + fifo?: boolean; + autostart?: boolean; + evictionRunIntervalMillis?: number; + numTestsPerRun?: number; + softIdleTimeoutMillis?: number; + Promise?: any; } interface MigratorConfig { From 3478eb879d50da356652223cd72bd4d177444b79 Mon Sep 17 00:00:00 2001 From: Samer Albahra <salbahra@gmail.com> Date: Mon, 9 Oct 2017 18:07:20 -0500 Subject: [PATCH 234/433] [localizejs-library] Fix problems with typings (specifically callback parameters) (#20243) * Fix problems in LocalizeJS Library typings This resolves the `off` method incorrectly being named `on` and also fixes all instances of callbacks which lacked the parameters used. * Fix incorrect comment * Fix input for translate to allow HTML elements --- types/localizejs-library/index.d.ts | 22 ++++++++++++++-------- types/localizejs-library/tsconfig.json | 3 ++- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/types/localizejs-library/index.d.ts b/types/localizejs-library/index.d.ts index 17d75bce31..e8a14392b9 100644 --- a/types/localizejs-library/index.d.ts +++ b/types/localizejs-library/index.d.ts @@ -115,12 +115,18 @@ declare namespace LocalizeJS.Context { */ translateNumbers: boolean; } + + interface RateData { + fromCurrency: string; + toCurrency: string; + rate: string; + } } declare var Localize: { /** * Initializes LocalizeJS with the supplied options. - * @param options An object containing the supplied options. + * @param options An object containing the supplied options. */ initialize(options: LocalizeJS.Context.Options): void; @@ -139,13 +145,13 @@ declare var Localize: { * Returns the visitor's list of preferred languages, based on the browser's "accept-language" header. * @param callback Required. */ - detectLanguage(callback: () => void): void + detectLanguage(callback: (error: any, languages: string[]) => void): void /** * Returns all available languages for the project. * @param callback Required. */ - getAvailableLanguages(callback: () => void): void + getAvailableLanguages(callback: (error: any, languages: string[]) => void): void /** * Translates text or text within html. @@ -163,7 +169,7 @@ declare var Localize: { * @param variables Optional. Object of variables that will be replaced in the input, if it's a string * @param callback Optional. Callback will trigger once translations have been fetched from Localize. */ - translate(input: string, variables?: any, callback?: () => void): void + translate(input: string | HTMLElement, variables?: any, callback?: (translation: string | HTMLElement) => void): void /** * Translates all text on the page @@ -205,14 +211,14 @@ declare var Localize: { * @param eventName Required. Name of event to bind to. Can optionally be namespaced: "setLanguage.ns" * @param fn Required. Event handler. */ - on(eventName: "initialize" | "setLanguage" | "pluralize" | "translate" | "untranslatePage" | "updatedDictionary", fn: () => void): void + on(eventName: "initialize" | "setLanguage" | "pluralize" | "translate" | "untranslatePage" | "updatedDictionary", fn: (event: Event) => void): void /** * Remove an event handler. * @param eventName Required. Name of event to unbind to. Can optionally be namespaced: "setLanguage.ns" - * @param fn Optional. The () => void to unbind from the event. + * @param fn Optional. The function to unbind from the event. */ - on(eventName: "initialize" | "setLanguage" | "pluralize" | "translate" | "untranslatePage" | "updatedDictionary", fn?: () => void): void + off(eventName: "initialize" | "setLanguage" | "pluralize" | "translate" | "untranslatePage" | "updatedDictionary", fn?: (event: Event) => void): void /** * Returns exchange rate for provided currencies. @@ -221,5 +227,5 @@ declare var Localize: { * @param toCurrency Required. The new currency, to be converted to. * @param callback Required. Receives err and rateData arguments. */ - getExchangeRate(fromCurrency: string, toCurrency: string, callback: () => void): void + getExchangeRate(fromCurrency: string, toCurrency: string, callback: (error: any, rateData: LocalizeJS.Context.RateData) => void): void }; diff --git a/types/localizejs-library/tsconfig.json b/types/localizejs-library/tsconfig.json index 2c7631c828..a297d28148 100644 --- a/types/localizejs-library/tsconfig.json +++ b/types/localizejs-library/tsconfig.json @@ -2,7 +2,8 @@ "compilerOptions": { "module": "commonjs", "lib": [ - "es6" + "es6", + "dom" ], "noImplicitAny": true, "noImplicitThis": true, From bd9f31119cb1947f7638dd2ebb96e992df737d9c Mon Sep 17 00:00:00 2001 From: navels <navels@users.noreply.github.com> Date: Mon, 9 Oct 2017 16:08:03 -0700 Subject: [PATCH 235/433] Make dijit.Tooltip show and hide methods static. Fixes #16303. (#20263) * Make dijit.Tooltip show and hide methods static. Fixes #16303. * Revert unintended deletion of type reference. * Move type reference back to the correct file. --- types/dojo/dijit.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/dojo/dijit.d.ts b/types/dojo/dijit.d.ts index 3c2d892471..b22742b85d 100644 --- a/types/dojo/dijit.d.ts +++ b/types/dojo/dijit.d.ts @@ -29946,7 +29946,7 @@ declare module dijit { * * @param aroundNode */ - hide(aroundNode: any): any; + static hide(aroundNode: any): any; /** * Return true if this widget can currently be focused * and false if not @@ -30107,7 +30107,7 @@ declare module dijit { * @param rtl OptionalCorresponds to WidgetBase.dir attribute, where false means "ltr" and truemeans "rtl"; specifies GUI direction, not text direction. * @param textDir OptionalCorresponds to WidgetBase.textdir attribute; specifies direction of text. */ - show(innerHTML: String, aroundNode: Object, position: String[], rtl: boolean, textDir: String): any; + static show(innerHTML: String, aroundNode: Object, position?: String[], rtl?: boolean, textDir?: String): any; /** * */ @@ -106941,4 +106941,4 @@ declare module "dijit/ConfirmDialog" { declare module "dijit/_ConfirmDialogMixin" { var exp: typeof dijit._ConfirmDialogMixin; export=exp; -} \ No newline at end of file +} From 0b52e989db770e21304b929f04cdbcd9e75056c5 Mon Sep 17 00:00:00 2001 From: Kelvin Jin <kelvinjin@google.com> Date: Mon, 9 Oct 2017 16:15:34 -0700 Subject: [PATCH 236/433] [extend] More expressive type definitions (#20266) --- types/extend/extend-tests.ts | 37 ++++++++++++++++++++---------------- types/extend/index.d.ts | 19 ++++++++++++++---- types/extend/tslint.json | 1 + 3 files changed, 37 insertions(+), 20 deletions(-) create mode 100644 types/extend/tslint.json diff --git a/types/extend/extend-tests.ts b/types/extend/extend-tests.ts index 38e816f020..0bf977e6e8 100644 --- a/types/extend/extend-tests.ts +++ b/types/extend/extend-tests.ts @@ -1,38 +1,43 @@ -import extend = require('extend'); -declare function assert(cond: boolean): void; +/// <reference types="node" /> +import * as assert from 'assert'; +import * as extend from 'extend'; -var objectBase = { +const objectBase = { test: 'base' }; -var objectOne = { +const objectOne = { test: 'one', iamone: true }; -var objectTwo = { +const objectTwo = { test: 2, iamtwo: true }; -var objectThree = { +const objectThree = { iamthree: true, depth: { innerType: 'deep' } }; -var extended = extend(objectBase, objectOne); +type ExtendedType = typeof objectBase & typeof objectOne; +const extended: ExtendedType = extend(objectBase, objectOne); assert(extended.test === 'one'); -assert(extended.iamone === true); +assert(extended.iamone); -var moreExtended = extend(objectBase, objectOne, objectTwo); +type MoreExtendedType = typeof objectBase & typeof objectOne & typeof objectTwo; +const moreExtended: MoreExtendedType = extend(objectBase, objectOne, objectTwo); assert(moreExtended.test === 2); -assert(moreExtended.iamone === true); -assert(moreExtended.iamtwo === true); +assert(moreExtended.iamone); +assert(moreExtended.iamtwo); -var deepExtended = extend(true, objectBase, objectOne, objectTwo, objectThree); -assert(deepExtended.iamone === true); -assert(moreExtended.iamtwo === true); -assert(deepExtended.iamthree === true); -assert(deepExtended.depth.innerType === 'one'); \ No newline at end of file +type DeepExtendedType = typeof objectBase & typeof objectOne & + typeof objectTwo & typeof objectThree; +const deepExtended = extend(true, objectBase, objectOne, objectTwo, objectThree); +assert(deepExtended.iamone); +assert(deepExtended.iamtwo); +assert(deepExtended.iamthree); +assert(deepExtended.depth.innerType === 'deep'); diff --git a/types/extend/index.d.ts b/types/extend/index.d.ts index e0af478a47..b94d1a7cb1 100644 --- a/types/extend/index.d.ts +++ b/types/extend/index.d.ts @@ -1,9 +1,20 @@ -// Type definitions for extend v2.0.0 +// Type definitions for extend 3.0 // Project: https://www.npmjs.com/package/extend // Definitions by: Stefan Steinhart <https://github.com/reppners> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -declare function extend(deepOrObject: boolean | Object, ...objectN: Object[]): any; -declare namespace extend { } +declare function extend<T, U>(deep: boolean, target: T, source: U): T & U; +declare function extend<T, U, V>(deep: boolean, target: T, source1: U, source2: V): T & U & V; +declare function extend<T, U, V, W>(deep: boolean, target: T, source1: U, source2: V, + source3: W): T & U & V & W; +declare function extend<T, U, V, W, X>(deep: boolean, target: T, source1: U, source2: V, + source3: W, source4: X): T & U & V & W & X; +declare function extend<T, U>(target: T, source: U): T & U; +declare function extend<T, U, V>(target: T, source1: U, source2: V): T & U & V; +declare function extend<T, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W; +declare function extend<T, U, V, W, X>(target: T, source1: U, source2: V, + source3: W, source4: X): T & U & V & W & X; +declare function extend(deep: boolean, target: any, ...sources: any[]): any; +declare function extend(target: any, ...sources: any[]): any; +declare namespace extend {} export = extend; diff --git a/types/extend/tslint.json b/types/extend/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/extend/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 8682250978055559b0bc0716fc0c4621a0fde6ed Mon Sep 17 00:00:00 2001 From: dlebrecht <fritz_da_silva@hotmail.com> Date: Tue, 10 Oct 2017 01:16:19 +0200 Subject: [PATCH 237/433] Bitcoinjs-lib small fixes (#20231) * added inputs to transaction builder * verify should return boolean, fixed inputs --- types/bitcoinjs-lib/bitcoinjs-lib-tests.ts | 2 +- types/bitcoinjs-lib/index.d.ts | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/types/bitcoinjs-lib/bitcoinjs-lib-tests.ts b/types/bitcoinjs-lib/bitcoinjs-lib-tests.ts index 549de76507..868659e6b6 100644 --- a/types/bitcoinjs-lib/bitcoinjs-lib-tests.ts +++ b/types/bitcoinjs-lib/bitcoinjs-lib-tests.ts @@ -53,7 +53,7 @@ describe('bitcoinjs-lib (basic)', () => { const tx = new bitcoin.TransactionBuilder(); tx.addInput('aa94ab02c182214f090e99a0d57021caffd0f195a81c24602b1028b130b63e31', 0); - tx.addOutput(Buffer.from('1Gokm82v6DmtwKEB8AiVhm82hyFSsEvBDK'), 15000); + tx.addOutput(Buffer.from('1Gokm82v6DmtwKEB8AiVhm82hyFSsEvBDK', 'utf8'), 15000); tx.sign(0, keyPair); // tslint:disable-next-line:max-line-length diff --git a/types/bitcoinjs-lib/index.d.ts b/types/bitcoinjs-lib/index.d.ts index 986bb75e0b..796758715d 100644 --- a/types/bitcoinjs-lib/index.d.ts +++ b/types/bitcoinjs-lib/index.d.ts @@ -132,7 +132,7 @@ export class HDNode { toBase58(): string; - verify(hash: Buffer, signature: ECSignature): Buffer; + verify(hash: Buffer, signature: ECSignature): boolean; static HIGHEST_BIT: number; @@ -204,6 +204,15 @@ export class Transaction { } export class TransactionBuilder { + tx: Transaction; + inputs: Array<{ pubKeys: Buffer[], + signatures: Buffer[], + prevOutScript: Buffer, + prevOutType: string, + signType: string, + signScript: Buffer, + witness: boolean} >; + constructor(network?: Network, maximumFeeRate?: number); addInput(txhash: Buffer | string | Transaction, vout: number, sequence?: number, prevOutScript?: Buffer): number; From d817d675567c3d28e6027bea866eeb9d53ec6eb1 Mon Sep 17 00:00:00 2001 From: Per Lundberg <per.lundberg@ecraft.com> Date: Tue, 10 Oct 2017 02:17:38 +0300 Subject: [PATCH 238/433] Added Ember.computed methods (#20227) This PR adds some of the missing definitions from here: https://www.emberjs.com/api/ember/2.15/namespaces/Ember.computed/methods/union?anchor=union Note: the documentation there suggests that propertyKey is a single parameter, which is incorrect/unclear per the discussion in https://github.com/emberjs/ember.js/pull/14904. Hence, I added them as ... arguments instead. --- types/ember/index.d.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/types/ember/index.d.ts b/types/ember/index.d.ts index 60b2f28f70..91f0e2a02c 100644 --- a/types/ember/index.d.ts +++ b/types/ember/index.d.ts @@ -2381,6 +2381,18 @@ declare namespace Ember { oneWay(dependentKey: string): ComputedProperty; or(...args: string[]): ComputedProperty; readOnly(dependentString: string): ComputedProperty; + + /** A computed property which returns a new array with all the unique + elements from one or more dependent arrays. Alias for uniq. */ + union(...propertyKeys: string[]): ComputedProperty; + + /** A computed property which returns a new array with all the unique + elements from one or more dependent arrays. */ + uniq(...propertyKeys: string[]): ComputedProperty; + + /** A computed property which returns a new array with all the unique + elements from an array, with uniqueness determined by specific key. */ + uniqBy(dependentKey: string, propertyKey: string): ComputedProperty; }; // ReSharper restore DuplicatingLocalDeclaration function controllerFor( From ff33a64c4a5741724f7d1a2dc80c250f00214052 Mon Sep 17 00:00:00 2001 From: Andrea Ascari <dev.ascariandrea@gmail.com> Date: Tue, 10 Oct 2017 01:20:48 +0200 Subject: [PATCH 239/433] Update Ssh2 sftp client type definition to v1.1.0 (#19780) * Added missing encoding argument to get and put methods * Added tests for encoding parameter in get and put, added additional test for put with first parameter as ReadableStream * Edited list of contributors for ssh2-sftp-client types * Added tslint * Fixed lint issues, updated imports in test * Fix ssh-sftp-client import in test --- types/ssh2-sftp-client/index.d.ts | 68 ++++++++----------- .../ssh2-sftp-client-tests.ts | 8 ++- types/ssh2-sftp-client/tslint.json | 1 + 3 files changed, 34 insertions(+), 43 deletions(-) create mode 100644 types/ssh2-sftp-client/tslint.json diff --git a/types/ssh2-sftp-client/index.d.ts b/types/ssh2-sftp-client/index.d.ts index e28defb156..e7bddb2cad 100644 --- a/types/ssh2-sftp-client/index.d.ts +++ b/types/ssh2-sftp-client/index.d.ts @@ -1,47 +1,35 @@ -// Type definitions for ssh2-sftp-client v1.0.5 +// Type definitions for ssh2-sftp-client 1.1 // Project: https://www.npmjs.com/package/ssh2-sftp-client -// Definitions by: igrayson <https://github.com/igrayson> +// Definitions by: igrayson <https://github.com/igrayson>, Ascari Andrea <https://github.com/ascariandrea> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// <reference types="ssh2"/> +import * as ssh2 from 'ssh2'; -declare module "ssh2-sftp-client" { - import * as ssh2 from 'ssh2'; +export = sftp; - namespace sftp { - - interface FileInfo { - type:string; - name:string; - size:number; - modifyTime:number; - accessTime:number; - rights:{ - user:string; - group:string; - other:string; - }; - owner:number; - group:number; - } - - interface Client { - new():Client; - connect(options:ssh2.ConnectConfig):Promise<void>; - list(remoteFilePath:string):Promise<Array<FileInfo>>; - get(remoteFilePath:string, useCompression?:boolean):Promise<NodeJS.ReadableStream>; - put(localFilePath:string, remoteFilePath:string, useCompression?:boolean):Promise<void>; - put(buffer:Buffer, remoteFilePath:string, useCompression?:boolean):Promise<void>; - put(stream:NodeJS.ReadableStream, remoteFilePath:string, useCompression?:boolean):Promise<void>; - mkdir(remoteFilePath:string, recursive?:boolean):Promise<void>; - delete(remoteFilePath:string):Promise<void>; - rename(remoteSourcePath:string, remoteDestPath:string):Promise<void>; - end():Promise<void>; - } +declare class sftp { + connect(options: ssh2.ConnectConfig): Promise<void>; + list(remoteFilePath: string): Promise<sftp.FileInfo[]>; + get(remoteFilePath: string, useCompression?: boolean, encoding?: string): Promise<NodeJS.ReadableStream>; + put(input: string | Buffer | NodeJS.ReadableStream, remoteFilePath: string, useCompression?: boolean, encoding?: string): Promise<void>; + mkdir(remoteFilePath: string, recursive?: boolean): Promise<void>; + delete(remoteFilePath: string): Promise<void>; + rename(remoteSourcePath: string, remoteDestPath: string): Promise<void>; + end(): Promise<void>; +} +declare namespace sftp { + interface FileInfo { + type: string; + name: string; + size: number; + modifyTime: number; + accessTime: number; + rights: { + user: string; + group: string; + other: string; + }; + owner: number; + group: number; } - - var sftp:sftp.Client; - - export = sftp; } - diff --git a/types/ssh2-sftp-client/ssh2-sftp-client-tests.ts b/types/ssh2-sftp-client/ssh2-sftp-client-tests.ts index d4a692df98..e519ed2902 100644 --- a/types/ssh2-sftp-client/ssh2-sftp-client-tests.ts +++ b/types/ssh2-sftp-client/ssh2-sftp-client-tests.ts @@ -1,5 +1,6 @@ import * as Client from 'ssh2-sftp-client'; -var client = new Client(); +import * as fs from 'fs'; +const client = new Client(); client.connect({ host: 'asdb', @@ -11,10 +12,11 @@ client.connect({ client.list('/remote/path').then(() => null); client.get('/remote/path').then(stream => stream.read(0)); +client.get('/remote/path', true, 'binary').then(stream => stream.read(0)); client.put('/local/path', '/remote/path').then(() => null); - client.put(new Buffer('content'), '/remote/path').then(() => null); +client.put(fs.createReadStream('Hello World'), '/remote/path').then(() => null); client.mkdir('/remote/path/dir', true).then(() => null); @@ -22,4 +24,4 @@ client.delete('remote/path').then(() => null); client.rename('/remote/from', '/remote/to').then(() => null); -client.end().then(() => null); \ No newline at end of file +client.end().then(() => null); diff --git a/types/ssh2-sftp-client/tslint.json b/types/ssh2-sftp-client/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/ssh2-sftp-client/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From ddd222456587ae8bdbafd038d0dc760dd52ab4f0 Mon Sep 17 00:00:00 2001 From: Max Battcher <me@worldmaker.net> Date: Mon, 9 Oct 2017 19:22:00 -0400 Subject: [PATCH 240/433] Add the rest of doc comments to blob-util (#20215) --- types/blob-util/index.d.ts | 68 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/types/blob-util/index.d.ts b/types/blob-util/index.d.ts index 3e900f0ecb..9ab6cb4b5f 100644 --- a/types/blob-util/index.d.ts +++ b/types/blob-util/index.d.ts @@ -4,14 +4,70 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 +/** + * Shim for new Blob() to support older browsers that use the deprecated BlobBuilder API. + * + * @param parts content of the Blob + * @param options usually just `{ type: mimeType }` + */ export function createBlob(parts: any[], options?: { type: string }): Blob; + +/** + * Shim for URL.createObjectURL() to support browsers that only have the prefixed webkitURL (e.g. Android <4.4). + * + * @param blob + */ export function createObjectURL(blob: Blob): string; + +/** + * Shim for URL.revokeObjectURL() to support browsers that only have the prefixed webkitURL (e.g. Android <4.4). + * + * @param url + */ export function revokeObjectURL(url: string): void; + +/** + * Convert a Blob to a binary string. + * + * @param blob + */ export function blobToBinaryString(blob: Blob): Promise<string>; + +/** + * Convert a binary string to a Blob. + * + * @param binary + * @param type the content type + */ export function binaryStringToBlob(binary: string, type?: string): Promise<Blob>; + +/** + * Convert a Blob to a base-64 string. + * + * @param blob + */ export function blobToBase64String(blob: Blob): Promise<string>; + +/** + * Convert a base-64 string to a Blob. + * + * @param base64 + * @param type the content type + */ export function base64StringToBlob(base64: string, type?: string): Promise<Blob>; + +/** + * Convert a data URL string (e.g. `'data:image/png;base64,iVBORw0KG...'`) to a Blob. + * + * @param dataURL + */ export function dataURLToBlob(dataURL: string): Promise<Blob>; + +/** + * Convert a Blob to a data URL string (e.g. `'data:image/png;base64,iVBORw0KG...'`). + * + * @param blob + */ export function blobToDataURL(blob: Blob): Promise<string>; /** @@ -47,5 +103,17 @@ export function canvasToBlob(canvas: HTMLCanvasElement, type?: string, quality?: */ export function imgSrcToBlob(src: string, type?: string, crossOrigin?: string, quality?: number): Promise<Blob>; +/** + * Convert an ArrayBuffer to a Blob. + * + * @param arrayBuff + * @param type the content type + */ export function arrayBufferToBlob(arrayBuff: ArrayBuffer, type?: string): Promise<Blob>; + +/** + * Convert a Blob to an ArrayBuffer. + * + * @param blob + */ export function blobToArrayBuffer(blob: Blob): Promise<ArrayBuffer>; From fadae055314dab4069dfbefa80023d48c0ca1acf Mon Sep 17 00:00:00 2001 From: afholderman <afholderman@gmail.com> Date: Mon, 9 Oct 2017 18:22:27 -0500 Subject: [PATCH 241/433] FIx Issue #20204 (#20205) Missing valid property in interface --- types/reactstrap/lib/Input.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/reactstrap/lib/Input.d.ts b/types/reactstrap/lib/Input.d.ts index ce928fb35c..541016ca02 100644 --- a/types/reactstrap/lib/Input.d.ts +++ b/types/reactstrap/lib/Input.d.ts @@ -37,6 +37,7 @@ interface InputProps extends Intermediate { type?: InputType; size?: string; state?: string; + valid?: boolean; tag?: React.ReactType; getRef?: string | ((instance: HTMLInputElement) => any); static?: boolean; From 54067a378c7e2b9f682fa325b8fde16d86f7b14f Mon Sep 17 00:00:00 2001 From: ZheyangSong <jerome_soung@hotmail.com> Date: Mon, 9 Oct 2017 16:23:28 -0700 Subject: [PATCH 242/433] Add Missing Config Option `inline` in webpack-dev-server (#20209) + Add 'inline' option in the definition file + Fix minor lint error in test config file --- types/webpack-dev-server/index.d.ts | 74 ++++++++++++++----- .../webpack-dev-server-tests.ts | 3 + 2 files changed, 57 insertions(+), 20 deletions(-) diff --git a/types/webpack-dev-server/index.d.ts b/types/webpack-dev-server/index.d.ts index f21fdd3c61..f561075761 100644 --- a/types/webpack-dev-server/index.d.ts +++ b/types/webpack-dev-server/index.d.ts @@ -1,7 +1,8 @@ -// Type definitions for webpack-dev-server 2.4 +// Type definitions for webpack-dev-server 2.9 // Project: https://github.com/webpack/webpack-dev-server // Definitions by: maestroh <https://github.com/maestroh> // Dave Parslow <https://github.com/daveparslow> +// Zheyang Song <https://github.com/ZheyangSong> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped import * as webpack from 'webpack'; @@ -9,28 +10,61 @@ import * as core from 'express-serve-static-core'; import * as serveStatic from 'serve-static'; import * as http from 'http'; import * as spdy from 'spdy'; +import * as httpProxyMiddleware from 'http-proxy-middleware'; declare namespace WebpackDevServer { - interface Configuration { - contentBase?: string; - hot?: boolean; - https?: boolean | spdy.ServerOptions; - historyApiFallback?: boolean; - compress?: boolean; - proxy?: any; - staticOptions?: any; - quiet?: boolean; - noInfo?: boolean; - lazy?: boolean; - filename?: string| RegExp; - watchOptions?: webpack.WatchOptions; - publicPath: string; - headers?: any; - stats?: webpack.compiler.StatsOptions| webpack.compiler.StatsToStringOptions; - public?: string; - disableHostCheck?: boolean; + interface proxyConfigMap { + [url: string]: string | httpProxyMiddleware.Config; + } - setup?(app: core.Express): void; + type proxyConfigArrayItem = { + path?: string | string[]; + context?: string | string[] + } & httpProxyMiddleware.Config; + + type proxyConfigArray = proxyConfigArrayItem[]; + + type expressAppHook = (app: core.Express) => void; + + interface Configuration { + after?: expressAppHook; + allowedHosts?: string[]; + before?: expressAppHook; + bonjour?: boolean; + clientLogLevel?: string; + compress?: boolean; + contentBase?: string; + disableHostCheck?: boolean; + filename?: string; + headers?: {}; + historyApiFallback?: boolean | {}; + host?: string; + hot?: boolean; + hotOnly?: boolean; + https?: boolean | spdy.ServerOptions; + inline?: boolean; + lazy?: boolean; + noInfo?: boolean; + open?: boolean; + openPage?: string; + overlay?: boolean | { + warnings: boolean; + errors: boolean; + }; + pfx?: string; + pfxPassphrase?: string; + port?: number; + proxy?: proxyConfigMap | proxyConfigArray; + public?: string; + publicPath?: string; + quiet?: boolean; + setup?: expressAppHook; // will be depreacted in v3.0.0 and replaced by before + socket?: string; + staticOptions?: serveStatic.ServeStaticOptions; + stats?: webpack.compiler.StatsOptions| webpack.compiler.StatsToStringOptions; + useLocalIp?: boolean; + watchContentBase?: boolean; + watchOptions?: webpack.WatchOptions; } } diff --git a/types/webpack-dev-server/webpack-dev-server-tests.ts b/types/webpack-dev-server/webpack-dev-server-tests.ts index d5e3b57820..3ba5c43e45 100644 --- a/types/webpack-dev-server/webpack-dev-server-tests.ts +++ b/types/webpack-dev-server/webpack-dev-server-tests.ts @@ -12,6 +12,9 @@ server.listen(8080); // Configuration can be used as a type const config: WebpackDevServer.Configuration = { // webpack-dev-server options + inline: true, + // Toggle between the dev-server's two different modes --- inline (default, recommended for HMR) or iframe. + contentBase: "/path/to/directory", // or: contentBase: "http://localhost/", From cd90e18719402f8e753bc6584ec9ec5116c61884 Mon Sep 17 00:00:00 2001 From: Lindsey <praxxis@users.noreply.github.com> Date: Mon, 9 Oct 2017 19:24:33 -0400 Subject: [PATCH 243/433] Fix incorrect linkify-it package header (#20203) --- types/linkify-it/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/linkify-it/index.d.ts b/types/linkify-it/index.d.ts index ae57d1c3e9..f361d88bba 100644 --- a/types/linkify-it/index.d.ts +++ b/types/linkify-it/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for tweezer.js 2.0 +// Type definitions for linkify-it 2.0.3 // Project: https://github.com/markdown-it/linkify-it // Definitions by: Lindsey Smith <https://github.com/praxxis>, Robert Coie <https://github.com/rapropos/typed-linkify-it> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped From 3653200be56647b5353e299136afc90075ea1c3e Mon Sep 17 00:00:00 2001 From: Chris Grigg <chris@subvertallmedia.com> Date: Mon, 9 Oct 2017 19:30:11 -0400 Subject: [PATCH 244/433] Use generics to improve @types/rosie safety (#20010) * Use generics to improve @types/rosie safety * improve attr instance method defs, add tests * allow attr to accept more than 5 args, add comments in tests --- types/rosie/index.d.ts | 61 ++++++++++++++++++++++++++------------ types/rosie/rosie-tests.ts | 36 ++++++++++++++++++++-- 2 files changed, 76 insertions(+), 21 deletions(-) diff --git a/types/rosie/index.d.ts b/types/rosie/index.d.ts index 8b710ca4f6..6651a7248c 100644 --- a/types/rosie/index.d.ts +++ b/types/rosie/index.d.ts @@ -1,12 +1,11 @@ // Type definitions for rosie // Project: https://github.com/rosiejs/rosie -// Definitions by: Abner Oliveira <https://github.com/abner> +// Definitions by: Abner Oliveira <https://github.com/abner>, Chris Grigg <https://github.com/subvertallchris> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 declare namespace rosie { interface IFactoryStatic { - - /** * Defines a factory by name and constructor function. Call #attr and #option * on the result to define the properties of this factory. @@ -15,7 +14,7 @@ declare namespace rosie { * @param {function(object): *=} constructor * @return {Factory} */ - define(name: String, constructor?: Function): IFactory; + define<T = any>(name: string, constructor?: (opts?: any) => any): IFactory<T>; /** * Locates a factory by name and calls #build on it. @@ -25,7 +24,7 @@ declare namespace rosie { * @param {object=} options * @return {*} */ - build(name: string, attributes?: any, options?: Object): Object; + build<T>(name: string, attributes?: { [k in keyof T]?: T[k] }, options?: any): T; /** * Builds a collection of objects using the named factory. @@ -36,7 +35,7 @@ declare namespace rosie { * @param {object=} options * @return {Array.<*>} */ - buildList(name: string, size: number, attributes?: any, options?: Object): Object[]; + buildList(name: string, size: number, attributes?: any, options?: any): any[]; /** * Locates a factory by name and calls #attributes on it. @@ -46,10 +45,10 @@ declare namespace rosie { * @param {object} options * @return {object} */ - attributes(name: string, attributes: Object, options?: Object): Object; + attributes(name: string, attributes: any, options?: any): any; } - interface IFactory { + interface IFactory<T = any> { /** * Define an attribute on this factory. Attributes can optionally define a * default value, either as a value (e.g. a string or number) or as a builder @@ -89,7 +88,31 @@ declare namespace rosie { * @param any * @return {Factory} */ - attr(name: string, dependenciesOrValue: any | string[], value?: any): IFactory; + attr<K extends keyof T>(name: K, defaultValue: T[K]): IFactory<T>; + attr<K extends keyof T>(name: K, generatorFunction: () => T[K]): IFactory<T> + attr<K extends keyof T, D1 extends keyof T, D2 extends keyof T, D3 extends keyof T, D4 extends keyof T, D5 extends keyof T>(name: K, dependencies: [D1, D2, D3, D4, D5], generatorFunction: (value1: T[D1], value2: T[D2], value3: T[D3], value4: T[D4], value5: T[D5]) => T[K]): IFactory<T>; + attr<K extends keyof T, D1 extends keyof T, D2 extends keyof T, D3 extends keyof T, D4 extends keyof T>(name: K, dependencies: [D1, D2, D3, D4], generatorFunction: (value1: T[D1], value2: T[D2], value3: T[D3], value4: T[D4]) => T[K]): IFactory<T>; + attr<K extends keyof T, D1 extends keyof T, D2 extends keyof T, D3 extends keyof T>(name: K, dependencies: [D1, D2, D3], generatorFunction: (value1: T[D1], value2: T[D2], value3: T[D3]) => T[K]): IFactory<T>; + attr<K extends keyof T, D1 extends keyof T, D2 extends keyof T>(name: K, dependencies: [D1, D2], generatorFunction: (value1: T[D1], value2: T[D2]) => T[K]): IFactory<T>; + attr<K extends keyof T, D extends keyof T>(name: K, dependencies: D[], generatorFunction: (value: T[D]) => T[K]): IFactory<T>; + attr<K extends keyof T, D extends keyof T>(name: K, dependencies: D[], generatorFunction: any): IFactory<T>; + + /** + * Convenience function for defining a set of attributes on this object as + * builder functions or static values. If you need to specify dependencies, + * use #attr instead. + * + * For example: + * + * Factory.define('Person').attrs({ + * name: 'Michael', + * age: function() { return Math.random() * 100; } + * }); + * + * @param {object} attributes + * @return {Factory} + */ + attrs(attributes: { [K in keyof T]: T[K] | ((opts?: any) => T[K]) }): IFactory<T>; /** * Define an option for this factory. Options are values that may inform @@ -119,7 +142,7 @@ declare namespace rosie { * @param {*=} value * @return {Factory} */ - option(name: string, dependenciesOrValue?: any | string[], value?: any): IFactory; + option(name: string, dependenciesOrValue?: any | string[], value?: any): IFactory<T>; /** * Defines an attribute that, by default, simply has an auto-incrementing @@ -138,7 +161,7 @@ declare namespace rosie { * @param {function(number): *=} builder * @return {Factory} */ - sequence(name: string, dependenciesOrBuilder?: Function | string[], builder?: Function) : IFactory; + sequence(name: keyof T, dependenciesOrBuilder?: () => any | keyof T[], builder?: Function) : IFactory<T>; /** * Sets a post-processor callback that will receive built objects and the @@ -148,7 +171,7 @@ declare namespace rosie { * @param {function(object, ?object)} callback * @return {Factory} */ - after(functionArg: Function): IFactory; + after(functionArg: (obj: T, opts?: any) => void): IFactory<T>; /** * Sets the constructor for this factory to be another factory. This can be @@ -157,7 +180,7 @@ declare namespace rosie { * @param {Factory} parentFactory * @return {Factory} */ - inherits(functionArg: Function): IFactory; + inherits(functionArg: (parentFactory: IFactory<T>) => void): IFactory<T>; /** * Builds a plain object containing values for each of the declared @@ -168,7 +191,7 @@ declare namespace rosie { * @param {object=} options * @return {object} */ - attributes(attributes:Object, options: Object): Object; + attributes(attributes: string, options?: { [k in keyof T]: T[k] }): T; /** * Generates values for all the registered options using the values given. @@ -177,7 +200,7 @@ declare namespace rosie { * @param {object} options * @return {object} */ - options(options: Object): Object; + options(options: any): any; /** * Builds objects by getting values for all attributes and optionally passing @@ -187,9 +210,9 @@ declare namespace rosie { * @param {object=} options * @return {*} */ - build(attributes: Object, options: Object): Object; + build(attributes: { [k in keyof T]?: T[k] }, options?: any): T; - buildList(size: number, attributes: Object, options: Object): Object[]; + buildList(size: number, attributes: { [k in keyof T]?: T[k] }, options: any): T[]; /** * Extends a given factory by copying over its attributes, options, @@ -199,7 +222,7 @@ declare namespace rosie { * @param {string|Factory} name The factory to extend. * @return {Factory} */ - extend(name: String | IFactory): IFactory; + extend<K extends T, T>(name: String | IFactory<T>): IFactory<K>; } } @@ -207,4 +230,4 @@ declare namespace rosie { declare var rosie: { Factory: rosie.IFactoryStatic }; export = rosie; -export as namespace Factory; +export as namespace Factory; \ No newline at end of file diff --git a/types/rosie/rosie-tests.ts b/types/rosie/rosie-tests.ts index 60c22a1bc6..9ed4efa468 100644 --- a/types/rosie/rosie-tests.ts +++ b/types/rosie/rosie-tests.ts @@ -1,12 +1,19 @@ -let resultObj: Object; +let resultObj: any; let resultFactory: rosie.IFactory; declare var Factory:rosie.IFactoryStatic; resultFactory = Factory.define('person').attr('name', 'John').sequence('id'); resultObj = Factory.build('person'); +if (resultObj.name !== 'John') { throw new Error('incorrect build'); }; -resultFactory = Factory.define('some').sequence('id').attr('name', ['id'], (id: number) => { return 'Name ' + id.toString() }); +/// resultObj, as any, will allow this +resultObj.name = 1; + +// When you do not provide an interface for your factory, you'll get lots of `any` +resultFactory = Factory.define('some').sequence('id'); +resultFactory.attr('name', ['id'], (id: number) => { return 'Name ' + id.toString() }); +resultFactory.attr('name', ['id', 'id2', 'id3', 'id4', 'id5', 'id6'], (id: number, id2: number, id3: number, id4: number, id5: number, id6: number) => { return 'Name ' + id.toString() }); resultObj = Factory.build('some'); Factory.define('coach') @@ -25,6 +32,31 @@ Factory.define('coach') Factory.build('coach', {}, {buildPlayer: true}); +interface Person { + firstName: string; + lastName: string; + fullName: string; + age: number; + secretNumber: number; + secretCode: { name: string; value: number }; + id: number; +} + +const personFactory = Factory.define<Person>('Person').attr('firstName', 'John').sequence('id'); + +// It will automatically type up to five dependencies +personFactory.attr('fullName', ['firstName'], firstName => firstName); +personFactory.attr('fullName', ['firstName', 'lastName'], (firstName, lastName) => lastName); +personFactory.attr('secretNumber', ['firstName', 'lastName', 'age'], (firstName, lastName, age) => age + 1); +personFactory.attr('secretCode', ['firstName', 'lastName', 'age', 'age'], (firstName, lastName, age1, age2) => ({ name: `${firstName} + ${lastName}`, value: age1 + age2 })); +personFactory.attr('secretCode', ['firstName', 'lastName', 'age', 'age', 'firstName'], (firstName, lastName, age1, age2, firstNameAgain) => ({ name: firstNameAgain, value: age1 + age2 })); + +// You can go past five dependencies, but you need to specify types +personFactory.attr('secretCode', ['firstName', 'lastName', 'age', 'age', 'firstName', 'firstName'], (firstName: string, lastName: string, age1: number, age2: number, firstNameAgain: string, firstNameThisIsTooMuch: string) => ({ name: firstNameAgain, value: age1 + age2 })); + +const personObj = Factory.build<Person>('Person'); +if (personObj.firstName !== 'John') { throw new Error('incorrect Person build'); } + import rosie = require('rosie'); var Factory = rosie.Factory; From c939211aa6fa9778732bf15a807e247a1c2d2a37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=93=D1=80=D0=B5=D0=BD=D0=B8=D1=88=D0=B8=D0=BD?= <nd0ut.me@gmail.com> Date: Tue, 10 Oct 2017 02:30:37 +0300 Subject: [PATCH 245/433] fix(cheerio): #attr() can be used without arguments (#20193) --- types/cheerio/cheerio-tests.ts | 1 + types/cheerio/index.d.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/types/cheerio/cheerio-tests.ts b/types/cheerio/cheerio-tests.ts index 4a15f029f0..1a9821a6bb 100644 --- a/types/cheerio/cheerio-tests.ts +++ b/types/cheerio/cheerio-tests.ts @@ -52,6 +52,7 @@ var $multiEl = $('selector', 'selector', 'selector'); */ // attr +$el.attr(); $el.attr('id'); $el.attr('id', 'favorite').html(); diff --git a/types/cheerio/index.d.ts b/types/cheerio/index.d.ts index f525a46ee6..2037e83c7a 100644 --- a/types/cheerio/index.d.ts +++ b/types/cheerio/index.d.ts @@ -13,6 +13,7 @@ interface Cheerio { // Attributes + attr(): {[attr: string]: string}; attr(name: string): string; attr(name: string, value: any): Cheerio; From af382ee0725d94dfca241cce0ab97957f06d962b Mon Sep 17 00:00:00 2001 From: Zbyszek Wieczorek <zbyszek.wieczorek@gmail.com> Date: Tue, 10 Oct 2017 01:31:08 +0200 Subject: [PATCH 246/433] @types/socket.io-client -Add missing "managers" property to SocketIOClientStatic (#20192) * add managers property to SocketIOClientStatic which is exposed in lib/index.js /** * Managers cache. */ var cache = exports.managers = {}; * add managers property to SocketIOClientStatic which is exposed in lib/index.js /** * Managers cache. */ var cache = exports.managers = {}; --- types/socket.io-client/index.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/types/socket.io-client/index.d.ts b/types/socket.io-client/index.d.ts index 2f1cc22efd..f4f14c41c6 100644 --- a/types/socket.io-client/index.d.ts +++ b/types/socket.io-client/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for socket.io-client 1.4.4 +// Type definitions for socket.io-client 1.4.5 // Project: http://socket.io/ // Definitions by: PROGRE <https://github.com/progre>, Damian Connolly <https://github.com/divillysausages>, Florent Poujol <https://github.com/florentpoujol> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -58,6 +58,11 @@ interface SocketIOClientStatic { * Manager constructor - exposed for the standalone build */ Manager: SocketIOClient.ManagerStatic; + + /** + * Managers cache + */ + managers: { [key: string]: SocketIOClient.Manager } } declare namespace SocketIOClient { From eb450d9bf7572c4aef24d5f0aae7e08053d87f59 Mon Sep 17 00:00:00 2001 From: Rogier Schouten <github@workingcode.nl> Date: Tue, 10 Oct 2017 01:31:55 +0200 Subject: [PATCH 247/433] temp typings import themselves; use import "." instead (#20190) * Refer to ourselves as '.' * Adhere to dtslint --- types/temp/index.d.ts | 31 ++++++++++++------------------- types/temp/temp-tests.ts | 14 ++++++-------- types/temp/tslint.json | 5 +++++ 3 files changed, 23 insertions(+), 27 deletions(-) create mode 100644 types/temp/tslint.json diff --git a/types/temp/index.d.ts b/types/temp/index.d.ts index a6b6f42ace..0a452a221b 100644 --- a/types/temp/index.d.ts +++ b/types/temp/index.d.ts @@ -1,11 +1,11 @@ -// Type definitions for temp 0.8.3 +// Type definitions for temp 0.8 // Project: https://www.npmjs.com/package/temp, https://github.com/bruce/node-temp // Definitions by: Daniel Rosenwasser <https://github.com/DanielRosenwasser> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference types="node" /> -import * as temp from "temp"; +import * as temp from "."; import * as fs from "fs"; export interface OpenFile { @@ -24,29 +24,22 @@ export interface AffixOptions { dir?: string; } -export declare var dir: string; +export let dir: string; -export declare function track(value?: boolean): typeof temp; +export function track(value?: boolean): typeof temp; -export declare function mkdir(affixes?: string, callback?: (err: any, dirPath: string) => void): void; -export declare function mkdir(affixes?: AffixOptions, callback?: (err: any, dirPath: string) => void): void; +export function mkdir(affixes?: string | AffixOptions, callback?: (err: any, dirPath: string) => void): void; -export declare function mkdirSync(affixes?: string): string; -export declare function mkdirSync(affixes?: AffixOptions): string; +export function mkdirSync(affixes?: string | AffixOptions): string; -export declare function open(affixes?: string, callback?: (err: any, result: OpenFile) => void): void; -export declare function open(affixes?: AffixOptions, callback?: (err: any, result: OpenFile) => void): void; +export function open(affixes?: string | AffixOptions, callback?: (err: any, result: OpenFile) => void): void; -export declare function openSync(affixes?: string): OpenFile; -export declare function openSync(affixes?: AffixOptions): OpenFile; +export function openSync(affixes?: string | AffixOptions): OpenFile; -export declare function path(affixes?: string, defaultPrefix?: string): string; -export declare function path(affixes?: AffixOptions, defaultPrefix?: string): string; +export function path(affixes?: string | AffixOptions, defaultPrefix?: string): string; -export declare function cleanup(callback?: (result: boolean | Stats) => void): void; +export function cleanup(callback?: (result: boolean | Stats) => void): void; -export declare function cleanupSync(): boolean | Stats; - -export declare function createWriteStream(affixes?: string): fs.WriteStream; -export declare function createWriteStream(affixes?: AffixOptions): fs.WriteStream; +export function cleanupSync(): boolean | Stats; +export function createWriteStream(affixes?: string | AffixOptions): fs.WriteStream; diff --git a/types/temp/temp-tests.ts b/types/temp/temp-tests.ts index 78eff82298..2f87334249 100644 --- a/types/temp/temp-tests.ts +++ b/types/temp/temp-tests.ts @@ -5,9 +5,8 @@ import * as temp from "temp"; function testCleanup() { temp.cleanup(result => { if (typeof result === "boolean") { - const x = result === true; - } - else { + const x = result; + } else { const { files, dirs } = result; files.toPrecision(4); files.toPrecision(4); @@ -16,12 +15,11 @@ function testCleanup() { } function testCleanupSync() { - const cleanupResult: boolean | temp.Stats = temp.cleanupSync() + const cleanupResult: boolean | temp.Stats = temp.cleanupSync(); if (typeof cleanupResult === "boolean") { - const x = cleanupResult === true; - } - else { - const { dirs, files } = cleanupResult + const x = cleanupResult; + } else { + const { dirs, files } = cleanupResult; dirs.toPrecision(4); files.toPrecision(4); } diff --git a/types/temp/tslint.json b/types/temp/tslint.json new file mode 100644 index 0000000000..495d29983d --- /dev/null +++ b/types/temp/tslint.json @@ -0,0 +1,5 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + } +} From 881cd8ee2d14382f7d9bdc18d22f33499dccceab Mon Sep 17 00:00:00 2001 From: Dan <5727701+dan-j@users.noreply.github.com> Date: Tue, 10 Oct 2017 10:34:39 +1100 Subject: [PATCH 248/433] - Added missing static methods on ReactTooltip (#20183) - Defined data-* attributes in an interface to help developers understand which attributes are handled by the library (and their possible values) --- types/react-tooltip/index.d.ts | 58 +++++++++++++++++++-- types/react-tooltip/react-tooltip-tests.tsx | 42 ++++++++++++++- 2 files changed, 93 insertions(+), 7 deletions(-) diff --git a/types/react-tooltip/index.d.ts b/types/react-tooltip/index.d.ts index c4c380f533..c8a19073b1 100644 --- a/types/react-tooltip/index.d.ts +++ b/types/react-tooltip/index.d.ts @@ -9,6 +9,22 @@ import * as React from "react"; declare class ReactTooltip extends React.Component<ReactTooltip.Props> { } declare namespace ReactTooltip { + /** + * Hide the tooltip manually, the target is optional, if no target passed in, all existing tooltips will be hidden + * @param {Element} target + */ + function hide(target?: Element): void; + + /** + * Rebinding all tooltips + */ + function rebuild(): void; + + /** + * Show specific tooltip manually + */ + function show(target: Element): void; + interface Offset { top?: number; right?: number; @@ -16,17 +32,49 @@ declare namespace ReactTooltip { bottom?: number; } - type ElementEvents = keyof HTMLElementEventMap; - type WindowEvents = keyof WindowEventMap; + /** + * Adding `| string` seems strange but multiple events joined by a space are allowable, i.e. "click focus", so + * at least using *EventMap will give developers some type hinting, but there's no way we can reliably + * type this. + */ + type ElementEvents = (keyof HTMLElementEventMap) | string; + type WindowEvents = (keyof WindowEventMap) | string; type GetContentCallback = () => React.ReactNode; type GetContent = GetContentCallback | [GetContentCallback, number]; + type Place = "top" | "right" | "bottom" | "left"; + type Type = "success" | "warning" | "error" | "info" | "light"; + type Effect = "float" | "solid"; + + /** + * Available data-* attributes to be used by a tooltip, this interface isn't used by ReactTooltip itself as any + * data-* attribute can exist on a JSX element without type checking, but it at least be useful for developers + * to ensure they're using attributes which ReactTooltip support + */ + interface DataProps { + 'data-place'?: Place; + 'data-type'?: Type; + 'data-effect'?: Effect; + 'data-event'?: ElementEvents; + 'data-event-off'?: ElementEvents; + 'data-iscapture'?: boolean; + 'data-offset'?: Offset; + 'data-multiline'?: boolean; + 'data-class'?: string; + 'data-html'?: boolean; + 'data-delay-hide'?: number; + 'data-delay-show'?: number; + 'data-border'?: boolean; + 'data-tip-disable'?: boolean; + 'data-scroll-hide'?: boolean; + } + interface Props { id?: string; - place?: "top" | "right" | "bottom" | "left"; - type?: "success" | "warning" | "error" | "info" | "light"; - effect?: "float" | "solid"; + place?: Place; + type?: Type; + effect?: Effect; event?: ElementEvents; eventOff?: ElementEvents; globalEventOff?: WindowEvents; diff --git a/types/react-tooltip/react-tooltip-tests.tsx b/types/react-tooltip/react-tooltip-tests.tsx index 7fa5332f27..5da85d8c59 100644 --- a/types/react-tooltip/react-tooltip-tests.tsx +++ b/types/react-tooltip/react-tooltip-tests.tsx @@ -1,7 +1,12 @@ import * as React from "react"; +import { findDOMNode } from "react-dom"; import * as ReactTooltip from "react-tooltip"; export class ReactTooltipTest extends React.PureComponent { + componentDidMount() { + ReactTooltip.rebuild(); + } + render() { const getContent: ReactTooltip.GetContent = [() => Math.floor(Math.random() * 100), 30]; @@ -12,13 +17,21 @@ export class ReactTooltipTest extends React.PureComponent { </ReactTooltip> <a data-tip data-for="sadFace"> இдஇ </a> - <ReactTooltip id="sadFace" type="warning" effect="solid" afterHide={() => { console.log("afterHide"); }}> + <ReactTooltip + id="sadFace" type="warning" effect="solid" afterHide={() => { + console.log("afterHide"); + }} + > <span>Show sad face</span> </ReactTooltip> <a data-tip data-for="global"> σ`∀´)σ </a> <a data-tip data-for="global"> (〃∀〃) </a> - <ReactTooltip id="global" aria-haspopup="true" role="example" afterShow={() => { console.log("afterShow"); }}> + <ReactTooltip + id="global" aria-haspopup="true" role="example" afterShow={() => { + console.log("afterShow"); + }} + > <p>This is a global react component tooltip</p> <p>You can put every thing here</p> <ul> @@ -74,6 +87,31 @@ export class ReactTooltipTest extends React.PureComponent { Show happy face </span> </ReactTooltip> + + <p data-for="show-on-click" ref="fooShow" data-tip="tooltip" /> + <button + onClick={() => { + ReactTooltip.show(findDOMNode(this.refs.fooShow)); + }} + /> + <ReactTooltip id="show-on-click" /> + + <p data-for="hide-on-click" ref="fooHide" data-tip="tooltip"/> + <button + onClick={() => { + ReactTooltip.hide(findDOMNode(this.refs.fooHide)); + }} + /> + <ReactTooltip id="hide-on-click" /> + + <CommonTooltipComponent data-tip="my tooltip" /> </div>; } } + +const CommonTooltipComponent: React.SFC<ReactTooltip.DataProps> = (props) => ( + <div> + <p {...props}/> + <ReactTooltip /> + </div> +); From edd078cd1c02177cc52234ff2dd17fda41eb415c Mon Sep 17 00:00:00 2001 From: jonbon0987 <32526708+jonbon0987@users.noreply.github.com> Date: Mon, 9 Oct 2017 18:39:27 -0500 Subject: [PATCH 249/433] Update typed file to include correct properties (#20298) - Title should be of type string or boolean to allow for custom titles - Included 5 other properties for the notification that weren't included here --- types/lobibox/index.d.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/types/lobibox/index.d.ts b/types/lobibox/index.d.ts index 4c790036f7..84e92e7b44 100644 --- a/types/lobibox/index.d.ts +++ b/types/lobibox/index.d.ts @@ -154,7 +154,7 @@ declare namespace LobiboxModule { } interface NotifyDefault { - title?: boolean; // Title of notification. If you do not include the title in options it will automatically takes its value + title?: string | boolean; // Title of notification. If you do not include the title in options it will automatically takes its value //from Lobibox.notify.OPTIONS object depending of the type of the notifications or set custom string. Set this false to disable title size?: string; // normal, mini, large soundPath?: string; // The folder path where sounds are located @@ -171,6 +171,12 @@ declare namespace LobiboxModule { width?: number; // Width of notification box sound?: boolean; // Sound of notification. Set this false to disable sound. Leave as is for default sound or set custom soud path position?: string; // Place to show notification. Available options: "top left", "top right", "bottom left", "bottom right" + onClickUrl?: string; // The url which will be opened when notification is clicked + showAfterPrevious?: boolean; // Set this to true if you want notification not to be shown until previous notification is closed. This is useful for notification queues + continueDelayOnInactiveTab?: boolean; // Continue delay when browser tab is inactive + + // Events + onClick?: Function; } interface NotifyOptions extends NotifyDefault, NotifyMethods { 'class'?: string; //You can override options for large notifications from here From f02ac07f965ae89a935b1016130f03ce7387bd7b Mon Sep 17 00:00:00 2001 From: Tanguy Krotoff <tkrotoff@gmail.com> Date: Tue, 10 Oct 2017 03:12:44 +0200 Subject: [PATCH 250/433] Add enzyme-adapter-react-* (#20415) * Add enzyme-adapter-react-15 and enzyme-adapter-react-16 * Fix dtslint "Error: Unexpected compiler option ..." * Introduce EnzymeAdapter --- .../enzyme-adapter-react-15-tests.ts | 4 ++++ types/enzyme-adapter-react-15/index.d.ts | 14 +++++++++++++ types/enzyme-adapter-react-15/tsconfig.json | 21 +++++++++++++++++++ types/enzyme-adapter-react-15/tslint.json | 3 +++ .../enzyme-adapter-react-16-tests.ts | 4 ++++ types/enzyme-adapter-react-16/index.d.ts | 14 +++++++++++++ types/enzyme-adapter-react-16/tsconfig.json | 21 +++++++++++++++++++ types/enzyme-adapter-react-16/tslint.json | 3 +++ types/enzyme/index.d.ts | 6 +++++- 9 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 types/enzyme-adapter-react-15/enzyme-adapter-react-15-tests.ts create mode 100644 types/enzyme-adapter-react-15/index.d.ts create mode 100644 types/enzyme-adapter-react-15/tsconfig.json create mode 100644 types/enzyme-adapter-react-15/tslint.json create mode 100644 types/enzyme-adapter-react-16/enzyme-adapter-react-16-tests.ts create mode 100644 types/enzyme-adapter-react-16/index.d.ts create mode 100644 types/enzyme-adapter-react-16/tsconfig.json create mode 100644 types/enzyme-adapter-react-16/tslint.json diff --git a/types/enzyme-adapter-react-15/enzyme-adapter-react-15-tests.ts b/types/enzyme-adapter-react-15/enzyme-adapter-react-15-tests.ts new file mode 100644 index 0000000000..9be474c2d8 --- /dev/null +++ b/types/enzyme-adapter-react-15/enzyme-adapter-react-15-tests.ts @@ -0,0 +1,4 @@ +import { configure } from 'enzyme'; +import * as Adapter from 'enzyme-adapter-react-15'; + +configure({ adapter: new Adapter() }); diff --git a/types/enzyme-adapter-react-15/index.d.ts b/types/enzyme-adapter-react-15/index.d.ts new file mode 100644 index 0000000000..b0b289d08d --- /dev/null +++ b/types/enzyme-adapter-react-15/index.d.ts @@ -0,0 +1,14 @@ +// Type definitions for enzyme-adapter-react-15 1.0 +// Project: https://github.com/airbnb/enzyme +// Definitions by: Tanguy Krotoff <https://github.com/tkrotoff> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +import { EnzymeAdapter } from 'enzyme'; + +declare class ReactFifteenAdapter extends EnzymeAdapter { +} + +declare namespace ReactFifteenAdapter { +} + +export = ReactFifteenAdapter; diff --git a/types/enzyme-adapter-react-15/tsconfig.json b/types/enzyme-adapter-react-15/tsconfig.json new file mode 100644 index 0000000000..23f0d0d292 --- /dev/null +++ b/types/enzyme-adapter-react-15/tsconfig.json @@ -0,0 +1,21 @@ +{ + "compilerOptions": { + "baseUrl": "../", + "typeRoots": ["../"], + "types": [], + "module": "commonjs", + "lib": ["es6", "dom"], + "noUnusedLocals": true, + "noUnusedParameters": true, + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true + }, + "files": [ + "index.d.ts", + "enzyme-adapter-react-15-tests.ts" + ] +} diff --git a/types/enzyme-adapter-react-15/tslint.json b/types/enzyme-adapter-react-15/tslint.json new file mode 100644 index 0000000000..d88586e5bd --- /dev/null +++ b/types/enzyme-adapter-react-15/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "dtslint/dt.json" +} diff --git a/types/enzyme-adapter-react-16/enzyme-adapter-react-16-tests.ts b/types/enzyme-adapter-react-16/enzyme-adapter-react-16-tests.ts new file mode 100644 index 0000000000..b8acf7f719 --- /dev/null +++ b/types/enzyme-adapter-react-16/enzyme-adapter-react-16-tests.ts @@ -0,0 +1,4 @@ +import { configure } from 'enzyme'; +import * as Adapter from 'enzyme-adapter-react-16'; + +configure({ adapter: new Adapter() }); diff --git a/types/enzyme-adapter-react-16/index.d.ts b/types/enzyme-adapter-react-16/index.d.ts new file mode 100644 index 0000000000..39aa6c03a6 --- /dev/null +++ b/types/enzyme-adapter-react-16/index.d.ts @@ -0,0 +1,14 @@ +// Type definitions for enzyme-adapter-react-16 1.0 +// Project: https://github.com/airbnb/enzyme +// Definitions by: Tanguy Krotoff <https://github.com/tkrotoff> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +import { EnzymeAdapter } from 'enzyme'; + +declare class ReactSixteenAdapter extends EnzymeAdapter { +} + +declare namespace ReactSixteenAdapter { +} + +export = ReactSixteenAdapter; diff --git a/types/enzyme-adapter-react-16/tsconfig.json b/types/enzyme-adapter-react-16/tsconfig.json new file mode 100644 index 0000000000..1c1c8e15f9 --- /dev/null +++ b/types/enzyme-adapter-react-16/tsconfig.json @@ -0,0 +1,21 @@ +{ + "compilerOptions": { + "baseUrl": "../", + "typeRoots": ["../"], + "types": [], + "module": "commonjs", + "lib": ["es6", "dom"], + "noUnusedLocals": true, + "noUnusedParameters": true, + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true + }, + "files": [ + "index.d.ts", + "enzyme-adapter-react-16-tests.ts" + ] +} diff --git a/types/enzyme-adapter-react-16/tslint.json b/types/enzyme-adapter-react-16/tslint.json new file mode 100644 index 0000000000..d88586e5bd --- /dev/null +++ b/types/enzyme-adapter-react-16/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "dtslint/dt.json" +} diff --git a/types/enzyme/index.d.ts b/types/enzyme/index.d.ts index 0659bed99f..e5275fa93a 100644 --- a/types/enzyme/index.d.ts +++ b/types/enzyme/index.d.ts @@ -639,9 +639,13 @@ export function mount<P, S>(node: ReactElement<P>, options?: MountRendererProps) */ export function render<P, S>(node: ReactElement<P>, options?: any): Cheerio; +// See https://github.com/airbnb/enzyme/blob/v3.1.0/packages/enzyme/src/EnzymeAdapter.js +export class EnzymeAdapter { +} + /** * Configure enzyme to use the correct adapter for the react verstion * This is enabling the Enzyme configuration with adapters in TS * @param options */ -export function configure(options: { adapter: any }): void; +export function configure(options: { adapter: EnzymeAdapter }): void; From d6f6e80d188d524f16b645ce08999c1bef630071 Mon Sep 17 00:00:00 2001 From: Flarna <Flarna@users.noreply.github.com> Date: Tue, 10 Oct 2017 16:12:59 +0200 Subject: [PATCH 251/433] [backonjs] Fix tests by setting strictFunctionTypes to false (#20452) --- types/baconjs/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/baconjs/tsconfig.json b/types/baconjs/tsconfig.json index 162a364559..c9d82e16f7 100644 --- a/types/baconjs/tsconfig.json +++ b/types/baconjs/tsconfig.json @@ -8,7 +8,7 @@ "noImplicitAny": true, "noImplicitThis": false, "strictNullChecks": false, - "strictFunctionTypes": true, + "strictFunctionTypes": false, "baseUrl": "../", "typeRoots": [ "../" From 932a34cd9b19b78c151c80e3a18fb2f8340df46a Mon Sep 17 00:00:00 2001 From: Roberto Desideri <robertodesideri@outlook.com> Date: Tue, 10 Oct 2017 16:29:54 +0200 Subject: [PATCH 252/433] Remove myself from the authors (#19927) --- types/node/index.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 0f175ff050..ee1511b99d 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -3,7 +3,6 @@ // Definitions by: Microsoft TypeScript <http://typescriptlang.org> // DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped> // Parambir Singh <https://github.com/parambirs> -// Roberto Desideri <https://github.com/RobDesideri> // Christian Vaagland Tellnes <https://github.com/tellnes> // Wilco Bakker <https://github.com/WilcoBakker> // Nicolas Voigt <https://github.com/octo-sniffle> From 6380e299907af6081e4d1bdb1ee70234fccf443c Mon Sep 17 00:00:00 2001 From: afholderman <afholderman@gmail.com> Date: Tue, 10 Oct 2017 11:26:56 -0500 Subject: [PATCH 253/433] Fix Issue #20261 (#20268) Change tag type. --- types/reactstrap/lib/FormText.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/reactstrap/lib/FormText.d.ts b/types/reactstrap/lib/FormText.d.ts index 9069be4da6..3cfab3511e 100644 --- a/types/reactstrap/lib/FormText.d.ts +++ b/types/reactstrap/lib/FormText.d.ts @@ -2,7 +2,7 @@ import { CSSModule } from '../index'; interface Props { inline?: boolean; - tag?: string; + tag?: React.ReactType; color?: string; className?: string; cssModule?: CSSModule; From 94b3e69c4f20018c6e74933a59306579bfdc4ced Mon Sep 17 00:00:00 2001 From: Viktor Isaev <weekens@gmail.com> Date: Tue, 10 Oct 2017 19:30:21 +0300 Subject: [PATCH 254/433] Added typings for "require-dir". (#20432) * Added typings for "require-dir". * Fixed dtslint errors. * Fixed By field. --- types/require-dir/index.d.ts | 8 ++++++++ types/require-dir/require-dir-tests.ts | 3 +++ types/require-dir/tsconfig.json | 23 +++++++++++++++++++++++ types/require-dir/tslint.json | 1 + 4 files changed, 35 insertions(+) create mode 100644 types/require-dir/index.d.ts create mode 100644 types/require-dir/require-dir-tests.ts create mode 100644 types/require-dir/tsconfig.json create mode 100644 types/require-dir/tslint.json diff --git a/types/require-dir/index.d.ts b/types/require-dir/index.d.ts new file mode 100644 index 0000000000..ba31e89f79 --- /dev/null +++ b/types/require-dir/index.d.ts @@ -0,0 +1,8 @@ +// Type definitions for require-dir 0.3 +// Project: https://github.com/aseemk/requireDir +// Definitions by: weekens <https://github.com/weekens> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +declare function requireDir(directory: string): { [path: string]: any }; + +export = requireDir; diff --git a/types/require-dir/require-dir-tests.ts b/types/require-dir/require-dir-tests.ts new file mode 100644 index 0000000000..785479ed79 --- /dev/null +++ b/types/require-dir/require-dir-tests.ts @@ -0,0 +1,3 @@ +import requireDir = require('require-dir'); + +requireDir('./test-directory'); diff --git a/types/require-dir/tsconfig.json b/types/require-dir/tsconfig.json new file mode 100644 index 0000000000..b853b18ff5 --- /dev/null +++ b/types/require-dir/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "require-dir-tests.ts" + ] +} diff --git a/types/require-dir/tslint.json b/types/require-dir/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/require-dir/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From fff6a33a3d1414e6d36935c66846bf7a3ebe061e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20Paiva?= <fabio@paiva.info> Date: Tue, 10 Oct 2017 18:30:59 +0200 Subject: [PATCH 255/433] Creating CardBody definitions (#20283) --- types/reactstrap/index.d.ts | 1 + types/reactstrap/lib/CardBody.d.ts | 10 ++++++++++ types/reactstrap/reactstrap-tests.tsx | 16 ++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 types/reactstrap/lib/CardBody.d.ts diff --git a/types/reactstrap/index.d.ts b/types/reactstrap/index.d.ts index b7cd9395c9..81d4cec5bd 100644 --- a/types/reactstrap/index.d.ts +++ b/types/reactstrap/index.d.ts @@ -17,6 +17,7 @@ export { default as ButtonDropdown } from './lib/ButtonDropdown'; export { default as ButtonGroup } from './lib/ButtonGroup'; export { default as ButtonToolbar } from './lib/ButtonToolbar'; export { default as Card } from './lib/Card'; +export { default as CardBody } from './lib/CardBody'; export { default as CardBlock } from './lib/CardBlock'; export { default as CardColumns } from './lib/CardColumns'; export { default as CardDeck } from './lib/CardDeck'; diff --git a/types/reactstrap/lib/CardBody.d.ts b/types/reactstrap/lib/CardBody.d.ts new file mode 100644 index 0000000000..2b94e52ea8 --- /dev/null +++ b/types/reactstrap/lib/CardBody.d.ts @@ -0,0 +1,10 @@ +import { CSSModule } from '../index'; + +interface Props { + tag?: React.ReactType; + className?: string; + cssModule?: CSSModule; +} + +declare var CardBody: React.StatelessComponent<Props>; +export default CardBody; diff --git a/types/reactstrap/reactstrap-tests.tsx b/types/reactstrap/reactstrap-tests.tsx index 8a3be49209..b094d4d019 100644 --- a/types/reactstrap/reactstrap-tests.tsx +++ b/types/reactstrap/reactstrap-tests.tsx @@ -14,6 +14,7 @@ import { DropdownMenu, DropdownToggle, Card, + CardBody, CardBlock, CardColumns, CardDeck, @@ -3484,3 +3485,18 @@ class Example112 extends React.Component<any, any> { ); } } + +const Example113 = (props: any) => { + return ( + <div> + <Card> + <CardBody> + Anim pariatur cliche reprehenderit, + enim eiusmod high life accusamus terry richardson ad squid. Nihil + anim keffiyeh helvetica, craft beer labore wes anderson cred + nesciunt sapiente ea proident. + </CardBody> + </Card> + </div> + ); + }; From 98084c019956163385145cddb5a818b3af4c330d Mon Sep 17 00:00:00 2001 From: richardtagger <me@richardtagger.com> Date: Tue, 10 Oct 2017 12:46:45 -0700 Subject: [PATCH 256/433] Update aria props, add missing insertion type (#20410) Updated aria props to reflect 0.10.3, added DraftInsertionType --- types/draft-js/index.d.ts | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/types/draft-js/index.d.ts b/types/draft-js/index.d.ts index a559b7ebc0..088d083a7f 100644 --- a/types/draft-js/index.d.ts +++ b/types/draft-js/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Draft.js v0.10.1 +// Type definitions for Draft.js v0.10.3 // Project: https://facebook.github.io/draft-js/ // Definitions by: Dmitry Rogozhny <https://github.com/dmitryrogozhny> // Eelco Lempsink <https://github.com/eelco> @@ -111,11 +111,11 @@ declare namespace Draft { ariaActiveDescendantID?: string; ariaAutoComplete?: string; + ariaControls?: string; ariaDescribedBy?: string; ariaExpanded?: boolean; - ariaHasPopup?: boolean; ariaLabel?: string; - ariaOwneeID?: string; + ariaMultiline?: boolean; webDriverTestID?: string; @@ -320,6 +320,12 @@ declare namespace Draft { * to indicate whether an event was handled or not. */ type DraftHandleValue = "handled" | "not-handled"; + + /** + * A type that defines if an fragment shall be inserted before or after + * another fragment or if the selected fragment shall be replaced + */ + type DraftInsertionType = "replace" | "before" | "after"; } namespace Decorators { @@ -828,6 +834,7 @@ declare namespace Draft { class AtomicBlockUtils { static insertAtomicBlock(editorState: EditorState, entityKey: string, character: string): EditorState; + static moveAtomicBlock(editorState: EditorState, atomicBlock: ContentBlock, targetRange: SelectionState, insertionMode?: DraftInsertionType): EditorState; } /** @@ -943,6 +950,7 @@ import DraftDragType = Draft.Model.Constants.DraftDragType; import DraftBlockType = Draft.Model.Constants.DraftBlockType; import DraftRemovalDirection = Draft.Model.Constants.DraftRemovalDirection; import DraftHandleValue = Draft.Model.Constants.DraftHandleValue; +import DraftInsertionType = Draft.Model.Constants.DraftInsertionType; export { Editor, @@ -982,5 +990,6 @@ export { DraftDragType, DraftBlockType, DraftRemovalDirection, - DraftHandleValue + DraftHandleValue, + DraftInsertionType, }; From 4f052feeaa2688d055eb5b6bdcd8302f703f61aa Mon Sep 17 00:00:00 2001 From: Bjorn Hougaard <bjornzeiler@gmail.com> Date: Tue, 10 Oct 2017 15:47:53 -0400 Subject: [PATCH 257/433] @types/rosie - make attrs and opts optional for build and buildList (#20462) * @types/rosie - make attrs and opts optional for build and buildList * @types/rosie - add 2 tests for build and buildlist param optionality --- types/rosie/index.d.ts | 4 ++-- types/rosie/rosie-tests.ts | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/types/rosie/index.d.ts b/types/rosie/index.d.ts index 6651a7248c..d8cb96a231 100644 --- a/types/rosie/index.d.ts +++ b/types/rosie/index.d.ts @@ -210,9 +210,9 @@ declare namespace rosie { * @param {object=} options * @return {*} */ - build(attributes: { [k in keyof T]?: T[k] }, options?: any): T; + build(attributes?: { [k in keyof T]?: T[k] }, options?: any): T; - buildList(size: number, attributes: { [k in keyof T]?: T[k] }, options: any): T[]; + buildList(size: number, attributes?: { [k in keyof T]?: T[k] }, options?: any): T[]; /** * Extends a given factory by copying over its attributes, options, diff --git a/types/rosie/rosie-tests.ts b/types/rosie/rosie-tests.ts index 9ed4efa468..e44b05b255 100644 --- a/types/rosie/rosie-tests.ts +++ b/types/rosie/rosie-tests.ts @@ -44,6 +44,14 @@ interface Person { const personFactory = Factory.define<Person>('Person').attr('firstName', 'John').sequence('id'); +// Building does not require the first (attributes) and second (options) arguments +personFactory.build(); +personFactory.buildList(3); + +// Building with attributes does not require the second (options) argument +personFactory.build({ firstName: "John" }); +personFactory.buildList(3, { firstName: "John" }); + // It will automatically type up to five dependencies personFactory.attr('fullName', ['firstName'], firstName => firstName); personFactory.attr('fullName', ['firstName', 'lastName'], (firstName, lastName) => lastName); From b71b75d31d85efe7e1283a24309fc2a173cc47f9 Mon Sep 17 00:00:00 2001 From: Tim van Halteren <9273697+Halt001@users.noreply.github.com> Date: Tue, 10 Oct 2017 21:55:18 +0200 Subject: [PATCH 258/433] @types/sinon: Added sinon.createSandbox and sinon.defaultConfig (#20451) * Added sinon.createSandbox and sinon.defaultConfig * Combined sandbox.create() and createSandbox() overloads using optional parameter --- types/sinon/index.d.ts | 5 +++-- types/sinon/sinon-tests.ts | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/types/sinon/index.d.ts b/types/sinon/index.d.ts index d037362659..f8258efc95 100644 --- a/types/sinon/index.d.ts +++ b/types/sinon/index.d.ts @@ -494,11 +494,12 @@ declare namespace Sinon { } interface SinonSandboxStatic { - create(): SinonSandbox; - create(config: SinonSandboxConfig): SinonSandbox; + create(config?: SinonSandboxConfig): SinonSandbox; } interface SinonStatic { + createSandbox(config?: SinonSandboxConfig): SinonSandbox; + defaultConfig: SinonSandboxConfig; sandbox: SinonSandboxStatic; } diff --git a/types/sinon/sinon-tests.ts b/types/sinon/sinon-tests.ts index b0a12c02ea..33ac93f595 100644 --- a/types/sinon/sinon-tests.ts +++ b/types/sinon/sinon-tests.ts @@ -97,7 +97,21 @@ function testAssert() { } function testSandbox() { + const config = { + injectInto: null, + properties: ["spy", "stub", "mock", "clock", "server", "requests"], + useFakeServer: true, + useFakeTimers: true, + }; + let sandbox = sinon.sandbox.create(); + sandbox = sinon.sandbox.create(config); + sandbox = sinon.sandbox.create(sinon.defaultConfig); + + sandbox = sinon.createSandbox(); + sandbox = sinon.createSandbox(config); + sandbox = sinon.createSandbox(sinon.defaultConfig); + sandbox = sandbox.usingPromise(Promise); sandbox.assert.notCalled(sinon.spy()); From 20d9360ff1d2c50ba2e8681419031c72c1bde6dd Mon Sep 17 00:00:00 2001 From: Weronika Terpilowska <weronika@mirumee.com> Date: Tue, 10 Oct 2017 21:55:33 +0200 Subject: [PATCH 259/433] Material-ui: fix Stepper import/export statements (#20457) --- types/material-ui/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/material-ui/index.d.ts b/types/material-ui/index.d.ts index 0f886aa91f..91bcef28d9 100644 --- a/types/material-ui/index.d.ts +++ b/types/material-ui/index.d.ts @@ -111,7 +111,7 @@ declare module "material-ui" { export import StepContentProps = __MaterialUI.Stepper.StepContentProps; export import StepLabel = __MaterialUI.Stepper.StepLabel; export import StepLabelProps = __MaterialUI.Stepper.StepLabelProps; - export import Stepper = __MaterialUI.Stepper; + export import Stepper = __MaterialUI.Stepper.Stepper; export import StepperProps = __MaterialUI.Stepper.StepperProps; export import Snackbar = __MaterialUI.Snackbar; export import SnackbarProps = __MaterialUI.SnackbarProps; From ba876ffd7c552cc2b7748d758314854e42fcec92 Mon Sep 17 00:00:00 2001 From: Rasmus <axit-rasmus@users.noreply.github.com> Date: Tue, 10 Oct 2017 21:55:47 +0200 Subject: [PATCH 260/433] Sequelize-Fixtures : Added `modifyFixtureDataFn` to Options interface (#20460) * Added modifyFixtureDataFn to Options interface + test * Bumped version to current --- types/sequelize-fixtures/index.d.ts | 5 +++-- types/sequelize-fixtures/sequelize-fixtures-tests.ts | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/types/sequelize-fixtures/index.d.ts b/types/sequelize-fixtures/index.d.ts index fc7ffa6e9f..06e7aaf157 100644 --- a/types/sequelize-fixtures/index.d.ts +++ b/types/sequelize-fixtures/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Sequelize-Fixtures 0.4.7 +// Type definitions for Sequelize-Fixtures 0.6.0 // Project: https://github.com/domasx2/sequelize-fixtures // Definitions by: Christian Schwarz <https://github.com/cschwarz> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -11,7 +11,8 @@ declare namespace SequelizeFixtures { encoding?: string, log?: (message: string) => void, transaction?: Sequelize.Transaction, - transformFixtureDataFn?: (data: any) => any + transformFixtureDataFn?: (data: any) => any, + modifyFixtureDataFn?: (data: any) => any } interface SequelizeFixturesStatic { diff --git a/types/sequelize-fixtures/sequelize-fixtures-tests.ts b/types/sequelize-fixtures/sequelize-fixtures-tests.ts index ac6fe9dbd7..88e52adc37 100644 --- a/types/sequelize-fixtures/sequelize-fixtures-tests.ts +++ b/types/sequelize-fixtures/sequelize-fixtures-tests.ts @@ -17,3 +17,4 @@ sequelize.transaction(function (tx) { SequelizeFixtures.loadFixtures([], {}).then(() => { }); SequelizeFixtures.loadFixtures([], {}, { transformFixtureDataFn: (data) => { return data; } }).then(() => { }); +SequelizeFixtures.loadFixtures([], {}, { modifyFixtureDataFn: (data) => { return data; } }).then(() => { }); From 8c5ae4678c6b09cb0d9c9beab1414ff403913b5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kov=C3=A1cs=20Vince?= <vincekovacs@users.noreply.github.com> Date: Tue, 10 Oct 2017 21:56:03 +0200 Subject: [PATCH 261/433] [nano] Add attachment type and insert attachment method return type (#20430) * Add AttachmentData to multipart insert method * Add attachment insert method return type * Update tests * Fix tslint error --- types/nano/index.d.ts | 20 ++++++++++++++++---- types/nano/nano-tests.ts | 4 +++- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/types/nano/index.d.ts b/types/nano/index.d.ts index 96e7253f4b..1c818dbb0a 100644 --- a/types/nano/index.d.ts +++ b/types/nano/index.d.ts @@ -263,25 +263,37 @@ declare namespace nano { server: ServerScope; } + interface AttachmentData { + name: string; + data: any; + content_type: any; + } + interface Multipart<D> { // http://docs.couchdb.org/en/latest/api/document/common.html#creating-multiple-attachments - insert(doc: D, attachments: any[], callback?: Callback<DocumentInsertResponse>): Request; + insert(doc: D, attachments: AttachmentData[], callback?: Callback<DocumentInsertResponse>): Request; // http://docs.couchdb.org/en/latest/api/document/common.html#creating-multiple-attachments - insert(doc: D, attachments: any[], params: any, callback?: Callback<DocumentInsertResponse>): Request; + insert(doc: D, attachments: AttachmentData[], params: any, callback?: Callback<DocumentInsertResponse>): Request; get(docname: string, callback?: Callback<any>): Request; get(docname: string, params: any, callback?: Callback<any>): Request; } interface Attachment { insert(docname: string, attname: string, att: null, contenttype: string, params?: any): NodeJS.WritableStream; - insert(docname: string, attname: string, att: any, contenttype: string, callback?: Callback<any>): Request; + insert( + docname: string, + attname: string, + att: any, + contenttype: string, + callback?: Callback<DocumentInsertResponse> + ): Request; insert( docname: string, attname: string, att: any, contenttype: string, params: any, - callback?: Callback<any> + callback?: Callback<DocumentInsertResponse> ): Request; get(docname: string, attname: string): NodeJS.ReadableStream; get(docname: string, attname: string, callback?: Callback<any>): Request; diff --git a/types/nano/nano-tests.ts b/types/nano/nano-tests.ts index 2e44fd3872..d38f54bae2 100644 --- a/types/nano/nano-tests.ts +++ b/types/nano/nano-tests.ts @@ -141,7 +141,9 @@ const attGet: NodeJS.ReadableStream = mydb.attachment.get("new_string", "att"); /* * Multipart */ -mydb.multipart.insert({ name: "baz" }, [{}], "foobaz", (error, foo) => {}); +const attachment = { name: 'rabbit.png', data: 'some data', content_type: 'image/png' }; + +mydb.multipart.insert({ name: "baz" }, [attachment], "foobaz", (error, foo) => {}); mydb.multipart.get("foobaz", (error: any, foobaz: any, headers: any) => {}); /* From 7eeeebf310e23e80a1ebeb8161aec163c9f3c28f Mon Sep 17 00:00:00 2001 From: Anton <tehbi4@users.noreply.github.com> Date: Tue, 10 Oct 2017 22:56:16 +0300 Subject: [PATCH 262/433] Add the closeOnSelect property (#20444) --- types/react-select/index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/types/react-select/index.d.ts b/types/react-select/index.d.ts index e5defc9ede..7ee2bbd810 100644 --- a/types/react-select/index.d.ts +++ b/types/react-select/index.d.ts @@ -9,6 +9,7 @@ // MartynasZilinskas <https://github.com/MartynasZilinskas> // Onat Yigit Mercan <https://github.com/onatm> // Ian Johnson <https://github.com/ninjaferret> +// Anton Novik <https://github.com/tehbi4> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -184,6 +185,11 @@ export interface ReactSelectProps<TValue = OptionValues> extends React.Props<Rea * @default "Clear value" */ clearValueText?: string; + /** + * whether to close the menu when a value is selected + * @default true + */ + closeOnSelect?: boolean; /** * whether it is possible to reset value. if enabled, an X button will appear at the right side. * @default true From 688500fdd65b28de263190d74026bcc5375fcadb Mon Sep 17 00:00:00 2001 From: psakalo <pavel.sakalo@gmail.com> Date: Tue, 10 Oct 2017 22:57:22 +0300 Subject: [PATCH 263/433] Fix default ReactTable export (#20426) --- types/react-table/index.d.ts | 6 +++--- types/react-table/react-table-tests.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/types/react-table/index.d.ts b/types/react-table/index.d.ts index b62315459e..30479e6149 100644 --- a/types/react-table/index.d.ts +++ b/types/react-table/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for react-table 6.5 +// Type definitions for react-table 6.6 // Project: https://github.com/react-tools/react-table -// Definitions by: Roy Xue <https://github.com/royxue> +// Definitions by: Roy Xue <https://github.com/royxue>, Pavel Sakalo <https://github.com/psakalo> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 import * as React from 'react'; @@ -506,4 +506,4 @@ export interface FinalState extends TableProps { rowMinWidth: number; } -export class ReactTable extends React.Component<Partial<TableProps>> {} +export default class ReactTable extends React.Component<Partial<TableProps>> {} diff --git a/types/react-table/react-table-tests.tsx b/types/react-table/react-table-tests.tsx index 3069785b6e..cc69a39114 100644 --- a/types/react-table/react-table-tests.tsx +++ b/types/react-table/react-table-tests.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import * as ReactDOM from 'react-dom'; // Import React Table -import { ReactTable } from "react-table"; +import ReactTable from "react-table"; import "react-table/react-table.css"; const columns = [ From 9af7747a4363e902aff48dde2c4af81ecd88193e Mon Sep 17 00:00:00 2001 From: Kuba Matjanowski <k.matjanowski@gmail.com> Date: Tue, 10 Oct 2017 21:57:37 +0200 Subject: [PATCH 264/433] Exporting types as recommended (#20441) * correct exports * updated tests * lint fixes --- types/rivets/index.d.ts | 33 +++++++++++++++------------------ types/rivets/rivets-tests.ts | 18 +++++++++--------- types/rivets/tslint.json | 1 + 3 files changed, 25 insertions(+), 27 deletions(-) create mode 100644 types/rivets/tslint.json diff --git a/types/rivets/index.d.ts b/types/rivets/index.d.ts index c51ad122ea..b0254f3b79 100644 --- a/types/rivets/index.d.ts +++ b/types/rivets/index.d.ts @@ -1,13 +1,13 @@ -// Type definitions for rivets +// Type definitions for rivets 0.9 // Project: http://rivetsjs.com/ -// Definitions by: Trevor Baron <https://github.com/TrevorDev> +// Definitions by: Trevor Baron <https://github.com/TrevorDev> +// Jakub Matjanowski <https://github.com/matjanos> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 /// <reference types="jquery" /> -declare namespace Rivets { - +export namespace Rivets { interface View { build(): void; bind(): void; @@ -16,22 +16,22 @@ declare namespace Rivets { interface Rivets { // Global binders. - binders: Object; + binders: object; // Global components. - components: Object; + components: object; // Global formatters. - formatters: Object; + formatters: object; // Global sightglass adapters. - adapters: Object; + adapters: object; // Default attribute prefix. prefix: string; // Default template delimiters. - templateDelimiters: Array<string>; + templateDelimiters: string[]; // Default sightglass root interface. rootInterface: string; @@ -42,27 +42,24 @@ declare namespace Rivets { handler(context: any, ev: Event, biding: any): void; configure(options?: { - // Attribute prefix in templates prefix?: string; - //Preload templates with initial data on bind + // Preload templates with initial data on bind preloadData?: boolean; - //Root sightglass interface for keypaths + // Root sightglass interface for keypaths rootInterface?: string; // Template delimiters for text bindings - templateDelimiters?: Array<string> + templateDelimiters?: string[] // Augment the event handler of the on-* binder - handler?: Function; + handler?(context: any, ev: Event, biding: any): void; }): void; - bind(element: HTMLElement, models: Object, options?: Object): View; - bind(element: JQuery, models: Object, options?: Object): View; - bind(element: Array<HTMLElement>, models: Object, options?: Object): View; + bind(element: HTMLElement | HTMLElement[] | JQuery, models: object, options?: object): View; } } -declare var rivets: Rivets.Rivets; +export const Rivets: Rivets.Rivets; diff --git a/types/rivets/rivets-tests.ts b/types/rivets/rivets-tests.ts index 47a645981e..81c97e7d9e 100644 --- a/types/rivets/rivets-tests.ts +++ b/types/rivets/rivets-tests.ts @@ -1,6 +1,6 @@ +import { Rivets } from 'rivets'; - -rivets.configure({ +Rivets.configure({ // Attribute prefix in templates prefix: 'rv', // Preload templates with initial data on bind @@ -10,13 +10,13 @@ rivets.configure({ // Template delimiters for text bindings templateDelimiters: ['[[', ']]'], // Augment the event handler of the on-* binder - handler: function(target:any, event:any, binding:any) { - this.call(target, event, binding.view.models) + handler: (target: any, event: any, binding: any) => { + this.call(target, event, binding.view.models); } }); -var t = {test: ["hello", "one", "two"]} -var opts = {bar: "foo"}; -rivets.bind(document.getElementById("para1"), t); -rivets.bind(document.getElementById("para1"), t, opts); -rivets.bind([document.getElementById("para1"), document.getElementById("para2")], t); +const t = { test: ["hello", "one", "two"] }; +const opts = { bar: "foo" }; +Rivets.bind(document.getElementById("para1"), t); +Rivets.bind(document.getElementById("para1"), t, opts); +Rivets.bind([document.getElementById("para1"), document.getElementById("para2")], t); diff --git a/types/rivets/tslint.json b/types/rivets/tslint.json new file mode 100644 index 0000000000..2750cc0197 --- /dev/null +++ b/types/rivets/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } \ No newline at end of file From 6ae9301170662c7320dfcaa6d38bb2eccf90fb4d Mon Sep 17 00:00:00 2001 From: Alex Burner <alexburner@users.noreply.github.com> Date: Tue, 10 Oct 2017 12:58:07 -0700 Subject: [PATCH 265/433] Update index.d.ts for version 16.9.0 (#20445) This expands the TWEEN typings to include the new TWEEN.Group class added in https://github.com/tweenjs/tween.js/pull/346 --- types/tween.js/index.d.ts | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/types/tween.js/index.d.ts b/types/tween.js/index.d.ts index df4461425e..bd92bbdce7 100644 --- a/types/tween.js/index.d.ts +++ b/types/tween.js/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for tween.js v16.6.0 +// Type definitions for tween.js v16.9.0 // Project: https://github.com/tweenjs/tween.js/ -// Definitions by: jordan <https://github.com/Amos47>, sunetos <https://github.com/sunetos>, jzarnikov <https://github.com/jzarnikov> +// Definitions by: jordan <https://github.com/Amos47>, sunetos <https://github.com/sunetos>, jzarnikov <https://github.com/jzarnikov>, alexburner <https://github.com/alexburner> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare namespace TWEEN { @@ -8,11 +8,11 @@ declare namespace TWEEN { export function removeAll(): void; export function add(tween: Tween): void; export function remove(tween: Tween): void; - export function update(time?: number): boolean; + export function update(time?: number, preserve?: boolean): boolean; export function now(): number; export class Tween { - constructor(object?: any); + constructor(object?: any, group?: Group); to(properties: any, duration: number): Tween; start(time?: number): Tween; stop(): Tween; @@ -31,6 +31,16 @@ declare namespace TWEEN { onComplete(callback: (object?: any) => void): Tween; update(time: number): boolean; } + + export class Group { + constructor(); + getAll(): Tween[]; + removeAll(): void; + add(tween: Tween): void; + remove(tween: Tween): void; + update(time?: number, preserve?: boolean): boolean; + } + export var Easing: Easing; export var Interpolation: Interpolation; } From 226a61a527836038cff9d57897843260cb55dcec Mon Sep 17 00:00:00 2001 From: Ander <kelertxiki@gmail.com> Date: Tue, 10 Oct 2017 21:58:51 +0200 Subject: [PATCH 266/433] Added WordArray as valid option to secretPassphase param in encrypt and decrypt functions (#20313) --- types/crypto-js/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/crypto-js/index.d.ts b/types/crypto-js/index.d.ts index 4e35dfbdfb..c3dad4637b 100644 --- a/types/crypto-js/index.d.ts +++ b/types/crypto-js/index.d.ts @@ -10,8 +10,8 @@ declare var CryptoJS: CryptoJS.Hashes; declare namespace CryptoJS { type Hash = (message: string | LibWordArray, key?: string, ...options: any[]) => WordArray; interface Cipher { - encrypt(message: string, secretPassphrase: string, option?: CipherOption): WordArray; - decrypt(encryptedMessage: string | WordArray, secretPassphrase: string, option?: CipherOption): DecryptedMessage; + encrypt(message: string, secretPassphrase: string | WordArray, option?: CipherOption): WordArray; + decrypt(encryptedMessage: string | WordArray, secretPassphrase: string | WordArray, option?: CipherOption): DecryptedMessage; } interface CipherAlgorythm { createEncryptor(secretPassphrase: string, option?: CipherOption): Encriptor; From a97f57576620d5ae65aec2a66ea02077682c1e79 Mon Sep 17 00:00:00 2001 From: Rauli L <RauliL@users.noreply.github.com> Date: Tue, 10 Oct 2017 23:00:22 +0300 Subject: [PATCH 267/433] Add type definitions for RE:DOM 3.6 (#20469) Introduce new type definition package into repository which adds type definitions for a library called RE:DOM. These type definitions are made against RE:DOM version 3.6.2. --- types/redom/index.d.ts | 69 ++++++++++++++++++++++++++++++++++++++ types/redom/redom-tests.ts | 16 +++++++++ types/redom/tsconfig.json | 25 ++++++++++++++ types/redom/tslint.json | 1 + 4 files changed, 111 insertions(+) create mode 100644 types/redom/index.d.ts create mode 100644 types/redom/redom-tests.ts create mode 100644 types/redom/tsconfig.json create mode 100644 types/redom/tslint.json diff --git a/types/redom/index.d.ts b/types/redom/index.d.ts new file mode 100644 index 0000000000..24e149258e --- /dev/null +++ b/types/redom/index.d.ts @@ -0,0 +1,69 @@ +// Type definitions for redom 3.6 +// Project: https://github.com/redom/redom/ +// Definitions by: Rauli Laine <https://github.com/RauliL> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 + +export type RedomElement = Node | RedomComponent; +export type RedomQuery = string | RedomElement; +export type RedomMiddleware = (el: HTMLElement) => void; +export type RedomQueryArgumentValue = RedomElement | string | number | { [key: string]: any } | RedomMiddleware; +export type RedomQueryArgument = RedomQueryArgumentValue | RedomQueryArgumentValue[]; + +export interface RedomComponent { + el: HTMLElement; +} + +export interface RedomComponentConstructor { + new (): RedomComponent; +} + +export class List implements RedomComponent { + el: HTMLElement; + + constructor(parent: RedomQuery, View: RedomComponentConstructor, key?: string, initData?: any); + + update(data: any[], context?: any): void; +} + +export class Place implements RedomComponent { + el: HTMLElement; + + constructor(View: RedomComponentConstructor, initData?: any); + + update(visible: boolean, data?: any): void; +} + +export class Router implements RedomComponent { + el: HTMLElement; + + constructor(parent: RedomQuery, Views: RouterDictionary, initData?: any); + + update(route: string, data?: any): void; +} + +export interface RouterDictionary { + [key: string]: RedomComponentConstructor; +} + +export function html(query: RedomQuery, ...args: RedomQueryArgument[]): HTMLElement; +export function el(query: RedomQuery, ...args: RedomQueryArgument[]): HTMLElement; + +export function list(parent: RedomQuery, View: RedomComponentConstructor, key?: string, initData?: any): List; + +export function mount(parent: RedomElement, child: RedomElement, before?: RedomElement): RedomElement; +export function unmount(parent: RedomElement, child: RedomElement): RedomElement; + +export function place(View: RedomComponentConstructor, initData?: any): Place; + +export function router(parent: RedomQuery, Views: RouterDictionary, initData?: any): Router; + +export function setAttr(view: RedomElement, arg1: string | object, arg2?: string): void; + +export function setStyle(view: RedomElement, arg1: string | object, arg2?: string): void; + +export function setChildren(parent: RedomElement, children: RedomElement[]): void; + +export function svg(query: RedomQuery, ...args: RedomQueryArgument[]): SVGElement; + +export function text(str: string): Text; diff --git a/types/redom/redom-tests.ts b/types/redom/redom-tests.ts new file mode 100644 index 0000000000..0ec18f6a59 --- /dev/null +++ b/types/redom/redom-tests.ts @@ -0,0 +1,16 @@ +import * as redom from 'redom'; + +const el1: HTMLElement = redom.el(''); +const el2: HTMLElement = redom.el('p', 'Hello, World!', (el: HTMLElement) => { el.setAttribute('ok', '!'); }); +const el3: HTMLElement = redom.html('p', 2, { color: 'red' }); + +redom.mount(document.body, el1); +redom.mount(document.body, el2, el1); +redom.unmount(document.body, el1); + +redom.setAttr(el3, 'ok', '!'); +redom.setAttr(el3, { ok: '!' }); +redom.setStyle(el3, { color: 'blue' }); +redom.setChildren(el1, [el2, el3]); + +redom.mount(document.body, redom.text('Hello, World!')); diff --git a/types/redom/tsconfig.json b/types/redom/tsconfig.json new file mode 100644 index 0000000000..65b279f902 --- /dev/null +++ b/types/redom/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "target": "es6", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "redom-tests.ts" + ] +} diff --git a/types/redom/tslint.json b/types/redom/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/redom/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 39a7427deeddef2540f49a35b2e84a41d99fad0b Mon Sep 17 00:00:00 2001 From: Eric Byers <eric@ericbyers.com> Date: Tue, 10 Oct 2017 15:02:38 -0500 Subject: [PATCH 268/433] Adding express-mongo-sanitize typings (#20463) --- .../express-mongo-sanitize-tests.ts | 26 +++++++++++++++++++ types/express-mongo-sanitize/index.d.ts | 19 ++++++++++++++ types/express-mongo-sanitize/tsconfig.json | 23 ++++++++++++++++ types/express-mongo-sanitize/tslint.json | 1 + 4 files changed, 69 insertions(+) create mode 100644 types/express-mongo-sanitize/express-mongo-sanitize-tests.ts create mode 100644 types/express-mongo-sanitize/index.d.ts create mode 100644 types/express-mongo-sanitize/tsconfig.json create mode 100644 types/express-mongo-sanitize/tslint.json diff --git a/types/express-mongo-sanitize/express-mongo-sanitize-tests.ts b/types/express-mongo-sanitize/express-mongo-sanitize-tests.ts new file mode 100644 index 0000000000..21a5028b27 --- /dev/null +++ b/types/express-mongo-sanitize/express-mongo-sanitize-tests.ts @@ -0,0 +1,26 @@ +import * as express from 'express'; +import * as mongoSanitize from 'express-mongo-sanitize'; + +const app: express.Express = express(); + +app.use(mongoSanitize()); + +app.use(mongoSanitize({ + replaceWith: '_' +})); + +interface TestPayload { + foo: string; +} + +const testPayload: TestPayload = { + foo: 'bar' +}; + +const sanitize1: TestPayload = mongoSanitize.sanitize(testPayload); + +const sanitize2: TestPayload = mongoSanitize.sanitize(testPayload, { + replaceWith: '_' +}); + +const isCorrect: boolean = mongoSanitize.has(testPayload); diff --git a/types/express-mongo-sanitize/index.d.ts b/types/express-mongo-sanitize/index.d.ts new file mode 100644 index 0000000000..354b6830dd --- /dev/null +++ b/types/express-mongo-sanitize/index.d.ts @@ -0,0 +1,19 @@ +// Type definitions for express-mongo-sanitize 1.3 +// Project: https://github.com/fiznool/express-mongo-sanitize#readme +// Definitions by: Eric Byers <https://github.com/ericbyers> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +import express = require('express'); + +interface MongoSanitizeOptions { + replaceWith: any; +} + +declare namespace expressMongoSanitize { + function sanitize<T>(payload: T, options?: MongoSanitizeOptions): T; + function has(payload: any): boolean; +} + +declare function expressMongoSanitize(options?: MongoSanitizeOptions): (req: express.Request, res: express.Response, next: express.NextFunction) => void; + +export = expressMongoSanitize; diff --git a/types/express-mongo-sanitize/tsconfig.json b/types/express-mongo-sanitize/tsconfig.json new file mode 100644 index 0000000000..0834820a85 --- /dev/null +++ b/types/express-mongo-sanitize/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "express-mongo-sanitize-tests.ts" + ] +} diff --git a/types/express-mongo-sanitize/tslint.json b/types/express-mongo-sanitize/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/express-mongo-sanitize/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From fee1e044cf904a88618220aa8002287ab9cd699c Mon Sep 17 00:00:00 2001 From: Dasa Paddock <dpaddock@esri.com> Date: Tue, 10 Oct 2017 13:03:32 -0700 Subject: [PATCH 269/433] Fix PointDrawAction events (#20372) --- types/arcgis-js-api/index.d.ts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/types/arcgis-js-api/index.d.ts b/types/arcgis-js-api/index.d.ts index 5098cf63ad..9202525e55 100644 --- a/types/arcgis-js-api/index.d.ts +++ b/types/arcgis-js-api/index.d.ts @@ -8236,6 +8236,11 @@ declare namespace __esri { view: MapView; complete(): void; + + on(name: "cursor-update", eventHandler: PointDrawActionCursorUpdateEventHandler): IHandle; + on(name: "cursor-update", modifiers: string[], eventHandler: PointDrawActionCursorUpdateEventHandler): IHandle; + on(name: "draw-complete", eventHandler: PointDrawActionDrawCompleteEventHandler): IHandle; + on(name: "draw-complete", modifiers: string[], eventHandler: PointDrawActionDrawCompleteEventHandler): IHandle; } interface PointDrawActionConstructor { @@ -8248,6 +8253,20 @@ declare namespace __esri { view?: MapViewProperties; } + export interface PointDrawActionCursorUpdateEvent { + coordinates: number[]; + defaultPrevented: boolean; + preventDefault: Function; + type: string; + } + + export interface PointDrawActionDrawCompleteEvent { + coordinates: number[]; + defaultPrevented: boolean; + preventDefault: Function; + type: string; + } + interface PolygonDrawAction extends Accessor, Evented { vertices: number[][]; view: MapView; @@ -11033,6 +11052,10 @@ declare namespace __esri { export type PointCloudLayerLayerviewDestroyEventHandler = (event: PointCloudLayerLayerviewDestroyEvent) => void; + export type PointDrawActionCursorUpdateEventHandler = (event: PointDrawActionCursorUpdateEvent) => void; + + export type PointDrawActionDrawCompleteEventHandler = (event: PointDrawActionDrawCompleteEvent) => void; + export type PolygonDrawActionCursorUpdateEventHandler = (event: PolygonDrawActionCursorUpdateEvent) => void; export type PolygonDrawActionDrawCompleteEventHandler = (event: PolygonDrawActionDrawCompleteEvent) => void; From ab8b954ca73d900f618939aeef1bd013f10cac14 Mon Sep 17 00:00:00 2001 From: Viktor Zozuliak <zozulyakviktor@gmail.com> Date: Tue, 10 Oct 2017 22:04:12 +0200 Subject: [PATCH 270/433] [angular-formly] formlyConfig.setWrapper - accept array of wrapper configs (#20329) --- types/angular-formly/angular-formly-tests.ts | 17 +++++++++++++++-- types/angular-formly/index.d.ts | 2 +- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/types/angular-formly/angular-formly-tests.ts b/types/angular-formly/angular-formly-tests.ts index b78c8a1257..d053660362 100644 --- a/types/angular-formly/angular-formly-tests.ts +++ b/types/angular-formly/angular-formly-tests.ts @@ -14,6 +14,19 @@ class FormConfig { templateUrl: 'my-messages.html' }); + formlyConfig.setWrapper([ + { + name: 'validation-0', + types: ['input-0', 'customInput-0'], + templateUrl: 'my-messages-0.html' + }, + { + name: 'validation-1', + types: ['input-1', 'customInput-1'], + templateUrl: 'my-messages-1.html' + } + ]); + formlyValidationMessages.addStringMessage('required', 'This field is required'); formlyConfig.setType({ @@ -21,14 +34,14 @@ class FormConfig { extends: 'input' }); - formlyConfig.disableWarnings = true; + formlyConfig.disableWarnings = true; formlyConfig.templateManipulators = undefined; formlyConfig.extras.apiCheckInstance = null; formlyConfig.extras.defaultHideDirective = 'ng-if'; formlyConfig.extras.disableNgModelAttrsManipulator = true; formlyConfig.extras.errorExistsAndShouldBeVisibleExpression = angular.noop; - formlyConfig.extras.explicitAsync = true; + formlyConfig.extras.explicitAsync = true; formlyConfig.extras.fieldTransform = angular.noop; formlyConfig.extras.fieldTransform = [angular.noop]; formlyConfig.extras.getFieldId = angular.noop; diff --git a/types/angular-formly/index.d.ts b/types/angular-formly/index.d.ts index 8bcab28800..55c4743fc9 100644 --- a/types/angular-formly/index.d.ts +++ b/types/angular-formly/index.d.ts @@ -589,7 +589,7 @@ declare namespace AngularFormly { disableWarnings: boolean; extras: IFormlyConfigExtras; setType(typeOptions: ITypeOptions): void; - setWrapper(wrapperOptions: IWrapperOptions): void; + setWrapper(wrapperOptions: IWrapperOptions | Array<IWrapperOptions>): void; templateManipulators: ITemplateManipulators; } From 0f83d936eb6bba936cb90c9fa56a4456102644de Mon Sep 17 00:00:00 2001 From: Denis Bendrikov <Denis.Bendrikov@gmail.com> Date: Tue, 10 Oct 2017 23:06:39 +0300 Subject: [PATCH 271/433] expose interfaces to allow ES6-style import (#20312) --- types/angular-hotkeys/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/angular-hotkeys/index.d.ts b/types/angular-hotkeys/index.d.ts index 38ff06a969..0f0be68d8e 100644 --- a/types/angular-hotkeys/index.d.ts +++ b/types/angular-hotkeys/index.d.ts @@ -10,6 +10,10 @@ import * as ng from 'angular'; +export type HotkeysProvider = ng.hotkeys.HotkeysProvider; +export type HotkeysProviderChained = ng.hotkeys.HotkeysProviderChained; +export type Hotkey = ng.hotkeys.Hotkey; + declare module 'angular' { export namespace hotkeys { From 0ad0e57b77528705dc89539c13a882b0b23e8161 Mon Sep 17 00:00:00 2001 From: Clark Stevenson <a.scotsman@gmail.com> Date: Tue, 10 Oct 2017 21:23:47 +0100 Subject: [PATCH 272/433] pixi.js minor changes (#20454) * pixi.js minor changes * A few more late additions --- types/pixi.js/index.d.ts | 49 ++++++++++++++++++--------- types/pixi.js/pixi.js-tests.ts | 61 ---------------------------------- 2 files changed, 33 insertions(+), 77 deletions(-) diff --git a/types/pixi.js/index.d.ts b/types/pixi.js/index.d.ts index 29697e08bf..f33f0d502c 100644 --- a/types/pixi.js/index.d.ts +++ b/types/pixi.js/index.d.ts @@ -313,7 +313,7 @@ declare namespace PIXI { // begin interactive target interactive: boolean; interactiveChildren: boolean; - hitArea: PIXI.Rectangle | PIXI.Circle | PIXI.Ellipse | PIXI.Polygon | PIXI.RoundedRectangle; + hitArea: PIXI.Rectangle | PIXI.Circle | PIXI.Ellipse | PIXI.Polygon | PIXI.RoundedRectangle | PIXI.HitArea; buttonMode: boolean; cursor: string; trackedPointers(): { [key: number]: interaction.InteractionTrackingData; }; @@ -574,7 +574,7 @@ declare namespace PIXI { function add(rotationSecond: number, rotationFirst: number): number; function sub(rotationSecond: number, rotationFirst: number): number; function rotate180(rotation: number): number; - function isSwapWidthHeight(rotation: number): boolean; + function isVertical(rotation: number): boolean; function byDirection(dx: number, dy: number): number; function matrixAppendRotationInv(matrix: Matrix, rotation: number, tx: number, ty: number): void; } @@ -628,7 +628,7 @@ declare namespace PIXI { interface HitArea { contains(x: number, y: number): boolean; } - class Circle { + class Circle implements HitArea { constructor(x?: number, y?: number, radius?: number); x: number; @@ -640,7 +640,7 @@ declare namespace PIXI { contains(x: number, y: number): boolean; getBounds(): Rectangle; } - class Ellipse { + class Ellipse implements HitArea { constructor(x?: number, y?: number, width?: number, height?: number); x: number; @@ -653,7 +653,7 @@ declare namespace PIXI { contains(x: number, y: number): boolean; getBounds(): Rectangle; } - class Polygon { + class Polygon implements HitArea { constructor(points: Point[] | number[]); // Note - Rest Params cannot be combined with | //tslint:disable-next-line:unified-signatures @@ -669,7 +669,7 @@ declare namespace PIXI { contains(x: number, y: number): boolean; close(): void; } - class Rectangle { + class Rectangle implements HitArea { constructor(x?: number, y?: number, width?: number, height?: number); x: number; @@ -691,7 +691,7 @@ declare namespace PIXI { fit(rectangle: Rectangle): void; enlarge(rectangle: Rectangle): void; } - class RoundedRectangle { + class RoundedRectangle implements HitArea { constructor(x?: number, y?: number, width?: number, height?: number, radius?: number); x: number; @@ -948,6 +948,7 @@ declare namespace PIXI { extract: extract.WebGLExtract; protected drawModes: any; protected _activeShader: Shader; + protected _activeVao: glCore.VertexArrayObject; _activeRenderTarget: RenderTarget; protected _initContext(): void; @@ -1659,7 +1660,7 @@ declare namespace PIXI { protected _isSourceReady(): boolean; static fromVideo(video: HTMLVideoElement, scaleMode?: number): VideoBaseTexture; - static fromUrl(videoSrc: string | any | string[] | any[]): VideoBaseTexture; + static fromUrl(videoSrc: string | any | string[] | any[], crossOrigin?: boolean): VideoBaseTexture; static fromUrls(videoSrc: string | any | string[] | any[]): VideoBaseTexture; source: HTMLVideoElement; @@ -1734,7 +1735,7 @@ declare namespace PIXI { image(target?: DisplayObject | RenderTexture): HTMLImageElement; base64(target?: DisplayObject | RenderTexture): string; canvas(target?: DisplayObject | RenderTexture): HTMLCanvasElement; - pixels(renderTexture?: DisplayObject | RenderTexture): number[]; + pixels(renderTexture?: DisplayObject | RenderTexture): Uint8ClampedArray; destroy(): void; } @@ -1746,7 +1747,7 @@ declare namespace PIXI { image(target?: DisplayObject | RenderTexture): HTMLImageElement; base64(target?: DisplayObject | RenderTexture): string; canvas(target?: DisplayObject | RenderTexture): HTMLCanvasElement; - pixels(renderTexture?: DisplayObject | RenderTexture): number[]; + pixels(renderTexture?: DisplayObject | RenderTexture): Uint8Array; destroy(): void; } @@ -1836,9 +1837,9 @@ declare namespace PIXI { constructor(texture: Texture, clampMargin?: number); protected _texture: Texture; - protected mapCoord: Matrix; - protected uClampFrame: Float32Array; - protected uClampOffset: Float32Array; + mapCoord: Matrix; + uClampFrame: Float32Array; + uClampOffset: Float32Array; protected _lastTextureID: number; clampOffset: number; @@ -1847,6 +1848,7 @@ declare namespace PIXI { texture: Texture; update(forceUpdate?: boolean): boolean; + multiplyUvs(uvs: Float32Array, out?: Float32Array): Float32Array; } class TilingSprite extends Sprite { constructor(texture: Texture, width?: number, height?: number); @@ -1983,7 +1985,8 @@ declare namespace PIXI { scale: Point; map: Texture; } - class VoidFilter extends Filter<{}> { + class AlphaFilter extends Filter<{}> { + alpha: number; glShaderKey: number; } interface NoiseFilterUniforms { @@ -2007,7 +2010,7 @@ declare namespace PIXI { interface InteractiveTarget { interactive: boolean; interactiveChildren: boolean; - hitArea: PIXI.Rectangle | PIXI.Circle | PIXI.Ellipse | PIXI.Polygon | PIXI.RoundedRectangle; + hitArea: PIXI.Rectangle | PIXI.Circle | PIXI.Ellipse | PIXI.Polygon | PIXI.RoundedRectangle | PIXI.HitArea; buttonMode: boolean; cursor: string; trackedPointers(): { [key: number]: InteractionTrackingData; }; @@ -2505,9 +2508,10 @@ declare namespace PIXI { rotation?: boolean; uvs?: boolean; tint?: boolean; + alpha?: boolean; } class ParticleContainer extends Container { - constructor(size?: number, properties?: ParticleContainerProperties, batchSize?: number, autoSize?: boolean); + constructor(maxSize?: number, properties?: ParticleContainerProperties, batchSize?: number, autoSize?: boolean); protected _tint: number; protected tintRgb: number | any[]; tint: number; @@ -2568,6 +2572,7 @@ declare namespace PIXI { uploadRotation(children: DisplayObject[], startIndex: number, amount: number, array: number[], stride: number, offset: number): void; uploadUvs(children: DisplayObject[], startIndex: number, amount: number, array: number[], stride: number, offset: number): void; uploadTint(children: DisplayObject[], startIndex: number, amount: number, array: number[], stride: number, offset: number): void; + uploadAlpha(children: DisplayObject[], startIndex: number, amount: number, array: number[], stride: number, offset: number): void; destroy(): void; indices: Uint16Array; @@ -3208,6 +3213,18 @@ declare namespace PIXI { */ type MovieClip = extras.AnimatedSprite; } + + namespace filters { + /** + * @class + * @private + * @name PIXI.filters.VoidFilter + * @see PIXI.filters.AlphaFilter + * @deprecated since version 4.5.7 + */ + type VoidFilter = filters.AlphaFilter; + } + namespace settings { /** * @static diff --git a/types/pixi.js/pixi.js-tests.ts b/types/pixi.js/pixi.js-tests.ts index 6b2616d478..53eaff46a3 100644 --- a/types/pixi.js/pixi.js-tests.ts +++ b/types/pixi.js/pixi.js-tests.ts @@ -1235,67 +1235,6 @@ function demos() { } } - class TextureRotate { - private app: PIXI.Application; - private bol: boolean; - private texture: PIXI.Texture; - private secondTexture: PIXI.Texture; - private dude: PIXI.Sprite; - - constructor() { - this.app = new PIXI.Application(); - document.body.appendChild(this.app.view); - - this.bol = false; - - PIXI.loader.add("flowerTop", "required/assets/flowerTop.png"); - PIXI.loader.load((loader: PIXI.loaders.Loader, resources: any) => { - this.texture = resources.flowerTop.texture; - this.init(); - }); - } - - private init(): void { - const textures = [this.texture]; - const D8 = PIXI.GroupD8; - for (let rotate = 1; rotate < 16; rotate++) { - const h = D8.isSwapWidthHeight(rotate) ? this.texture.frame.width : this.texture.frame.height; - const w = D8.isSwapWidthHeight(rotate) ? this.texture.frame.height : this.texture.frame.width; - - const frame = this.texture.frame; - const crop = new PIXI.Rectangle(this.texture.frame.x, this.texture.frame.y, w, h); - const trim = crop; - let rotatedTexture: PIXI.Texture; - if (rotate % 2 === 0) { - rotatedTexture = new PIXI.Texture(this.texture.baseTexture, frame, crop, trim, rotate); - } else { - rotatedTexture = new PIXI.Texture(this.texture.baseTexture, frame, crop, trim, rotate - 1); - rotatedTexture.rotate++; - } - textures.push(rotatedTexture); - } - - const offsetX = this.app.renderer.width / 16 | 0; - const offsetY = this.app.renderer.height / 8 | 0; - const gridW = this.app.renderer.width / 4 | 0; - const gridH = this.app.renderer.height / 5 | 0; - - for (let i = 0; i < 16; i++) { - const dude = new PIXI.Sprite(textures[i < 8 ? i * 2 : (i - 8) * 2 + 1]); - dude.scale.x = 0.5; - dude.scale.y = 0.5; - dude.x = offsetX + gridW * (i % 4); - dude.y = offsetY + gridH * (i / 4 | 0); - this.app.stage.addChild(dude); - - const text = new PIXI.Text("rotate = " + dude.texture.rotate, { fontFamily: "Courier New", fontSize: "12px", fill: "white", align: "left" }); - text.x = dude.x; - text.y = dude.y - 20; - this.app.stage.addChild(text); - } - } - } - class TextureSwap { private app: PIXI.Application; private bol: boolean; From 0baf681f2ed062e9a027905154a374bcd4388a9b Mon Sep 17 00:00:00 2001 From: karak <karak97@gmail.com> Date: Wed, 11 Oct 2017 09:54:41 +0900 Subject: [PATCH 273/433] Added more unit tests and private methods to 'diff-patch-merge' module. (#20398) * Imported unit tests and pass them and dtslint. * Fixed URL of the author's home in dt-header. * Replace mixed tabs by spaces. * Fixed more tab indents. * Fixed import statement form. * Revert a part of dt-header. * Replace more tabs by spaces. * Removed useless constructor definition. * Reverted header and disable a relevant rule of lint. --- .../diff-match-patch-tests.ts | 280 ++++++++++++++++-- types/diff-match-patch/index.d.ts | 45 +-- types/diff-match-patch/tslint.json | 6 + 3 files changed, 289 insertions(+), 42 deletions(-) create mode 100644 types/diff-match-patch/tslint.json diff --git a/types/diff-match-patch/diff-match-patch-tests.ts b/types/diff-match-patch/diff-match-patch-tests.ts index 9226d7be4a..0f2af4451a 100644 --- a/types/diff-match-patch/diff-match-patch-tests.ts +++ b/types/diff-match-patch/diff-match-patch-tests.ts @@ -1,31 +1,261 @@ +import * as DiffMatchPatch from 'diff-match-patch'; -import DiffMatchPatch = require("diff-match-patch"); +function testDiffMainEach() { + const oldValue = "hello world, how are you?"; + const newValue = "hello again world. how have you been?"; -var oldValue = "hello world, how are you?"; -var newValue = "hello again world. how have you been?"; + const diffEngine = new DiffMatchPatch.diff_match_patch(); + const diffs = diffEngine.diff_main(oldValue, newValue); + diffEngine.diff_cleanupSemantic(diffs); -var diffEngine = new DiffMatchPatch.diff_match_patch(); -var diffs = diffEngine.diff_main(oldValue, newValue); -diffEngine.diff_cleanupSemantic(diffs); + let changes = ""; + let pattern = ""; -var changes = ""; -var pattern = ""; + diffs.forEach((diff) => { + const operation = diff[0]; // Operation (insert, delete, equal) + const text = diff[1]; // Text of change -diffs.forEach(function(diff) { - var operation = diff[0]; // Operation (insert, delete, equal) - var text = diff[1]; // Text of change - - switch (operation) { - case DiffMatchPatch.DIFF_INSERT: - pattern += "I"; - break; - case DiffMatchPatch.DIFF_DELETE: - pattern += "D"; - break; - case DiffMatchPatch.DIFF_EQUAL: - pattern += "E"; - break; - } + switch (operation) { + case DiffMatchPatch.DIFF_INSERT: + pattern += "I"; + break; + case DiffMatchPatch.DIFF_DELETE: + pattern += "D"; + break; + case DiffMatchPatch.DIFF_EQUAL: + pattern += "E"; + break; + } - changes += text; -}); + changes += text; + }); +} + +const DIFF_DELETE: number = DiffMatchPatch.DIFF_DELETE; +const DIFF_INSERT: number = DiffMatchPatch.DIFF_INSERT; +const DIFF_EQUAL: number = DiffMatchPatch.DIFF_EQUAL; +const dmp = new DiffMatchPatch.diff_match_patch(); + +// DIFF TEST FUNCTIONS + +function testDiffCommonPrefix() { + assertEquals(0, dmp.diff_commonPrefix('abc', 'xyz')); +} + +function testDiffCommonSuffix() { + assertEquals(0, dmp.diff_commonSuffix('abc', 'xyz')); +} + +function testDiffCommonOverlap() { + assertEquals(0, dmp.diff_commonOverlap_('', 'abcd')); +} + +function testDiffHalfMatch() { + dmp.Diff_Timeout = 1; + + assertEquals(null, dmp.diff_halfMatch_('1234567890', 'abcdef')); + + assertEquivalent(['12', '90', 'a', 'z', '345678'], dmp.diff_halfMatch_('1234567890', 'a345678z')); + + assertEquivalent(['12123', '123121', 'a', 'z', '1234123451234'], dmp.diff_halfMatch_('121231234123451234123121', 'a1234123451234z')); +} + +function testDiffLinesToChars() { + assertLinesToCharsResultEquals({chars1: '\x01\x02\x01', chars2: '\x02\x01\x02', lineArray: ['', 'alpha\n', 'beta\n']}, dmp.diff_linesToChars_('alpha\nbeta\nalpha\n', 'beta\nalpha\nbeta\n')); +} + +function testDiffCharsToLines() { + const diffs: DiffMatchPatch.Diff[] = [[DIFF_EQUAL, '\x01\x02\x01'], [DIFF_INSERT, '\x02\x01\x02']]; + dmp.diff_charsToLines_(diffs, ['', 'alpha\n', 'beta\n']); + assertEquivalent([[DIFF_EQUAL, 'alpha\nbeta\nalpha\n'], [DIFF_INSERT, 'beta\nalpha\nbeta\n']], diffs); +} + +function testDiffCleanupMerge() { + const diffs: DiffMatchPatch.Diff[] = [[DIFF_EQUAL, 'a'], [DIFF_DELETE, 'b'], [DIFF_INSERT, 'c']]; + dmp.diff_cleanupMerge(diffs); + assertEquivalent([[DIFF_EQUAL, 'a'], [DIFF_DELETE, 'b'], [DIFF_INSERT, 'c']], diffs); +} + +function testDiffCleanupSemanticLossless() { + const diffs: DiffMatchPatch.Diff[] = [[DIFF_EQUAL, 'AAA\r\n\r\nBBB'], [DIFF_INSERT, '\r\nDDD\r\n\r\nBBB'], [DIFF_EQUAL, '\r\nEEE']]; + dmp.diff_cleanupSemanticLossless(diffs); + assertEquivalent([[DIFF_EQUAL, 'AAA\r\n\r\n'], [DIFF_INSERT, 'BBB\r\nDDD\r\n\r\n'], [DIFF_EQUAL, 'BBB\r\nEEE']], diffs); +} + +function testDiffCleanupSemantic() { + const diffs: DiffMatchPatch.Diff[] = [[DIFF_DELETE, 'ab'], [DIFF_INSERT, 'cd'], [DIFF_EQUAL, '12'], [DIFF_DELETE, 'e']]; + dmp.diff_cleanupSemantic(diffs); + assertEquivalent([[DIFF_DELETE, 'ab'], [DIFF_INSERT, 'cd'], [DIFF_EQUAL, '12'], [DIFF_DELETE, 'e']], diffs); +} + +function testDiffCleanupEfficiency() { + dmp.Diff_EditCost = 4; + + const diffs: DiffMatchPatch.Diff[] = [[DIFF_DELETE, 'ab'], [DIFF_INSERT, '12'], [DIFF_EQUAL, 'wxyz'], [DIFF_DELETE, 'cd'], [DIFF_INSERT, '34']]; + dmp.diff_cleanupEfficiency(diffs); + assertEquivalent([[DIFF_DELETE, 'ab'], [DIFF_INSERT, '12'], [DIFF_EQUAL, 'wxyz'], [DIFF_DELETE, 'cd'], [DIFF_INSERT, '34']], diffs); +} + +function testDiffPrettyHtml() { + const diffs: DiffMatchPatch.Diff[] = [[DIFF_EQUAL, 'a\n'], [DIFF_DELETE, '<B>b</B>'], [DIFF_INSERT, 'c&d']]; + assertEquals('<span>a¶<br></span><del style="background:#ffe6e6;"><B>b</B></del><ins style="background:#e6ffe6;">c&d</ins>', dmp.diff_prettyHtml(diffs)); +} + +function testDiffText() { + const diffs: DiffMatchPatch.Diff[] = [[DIFF_EQUAL, 'jump'], [DIFF_DELETE, 's'], [DIFF_INSERT, 'ed'], [DIFF_EQUAL, ' over '], [DIFF_DELETE, 'the'], [DIFF_INSERT, 'a'], [DIFF_EQUAL, ' lazy']]; + assertEquals('jumps over the lazy', dmp.diff_text1(diffs)); + + assertEquals('jumped over a lazy', dmp.diff_text2(diffs)); +} + +function testDiffDelta() { + const diffs: DiffMatchPatch.Diff[] = + [[DIFF_EQUAL, 'jump'], [DIFF_DELETE, 's'], [DIFF_INSERT, 'ed'], [DIFF_EQUAL, ' over '], [DIFF_DELETE, 'the'], [DIFF_INSERT, 'a'], [DIFF_EQUAL, ' lazy'], [DIFF_INSERT, 'old dog']]; + const text1 = dmp.diff_text1(diffs); + assertEquals('jumps over the lazy', text1); + + const delta = dmp.diff_toDelta(diffs); + assertEquals('=4\t-1\t+ed\t=6\t-3\t+a\t=5\t+old dog', delta); + + assertEquivalent(diffs, dmp.diff_fromDelta(text1, delta)); +} + +function testDiffXIndex() { + assertEquals(5, dmp.diff_xIndex([[DIFF_DELETE, 'a'], [DIFF_INSERT, '1234'], [DIFF_EQUAL, 'xyz']], 2)); +} + +function testDiffLevenshtein() { + assertEquals(4, dmp.diff_levenshtein([[DIFF_DELETE, 'abc'], [DIFF_INSERT, '1234'], [DIFF_EQUAL, 'xyz']])); +} + +function testDiffBisect() { + const a = 'cat'; + const b = 'map'; + assertEquivalent([[DIFF_DELETE, 'c'], [DIFF_INSERT, 'm'], [DIFF_EQUAL, 'a'], [DIFF_DELETE, 't'], [DIFF_INSERT, 'p']], dmp.diff_bisect_(a, b, Number.MAX_VALUE)); +} + +function testDiffMain() { + assertEquivalent([], dmp.diff_main('', '', false)); + + dmp.Diff_Timeout = 0; + // Simple cases. + assertEquivalent([[DIFF_DELETE, 'a'], [DIFF_INSERT, 'b']], dmp.diff_main('a', 'b', false)); +} + +// MATCH TEST FUNCTIONS + +function testMatchAlphabet() { + const expected: {[char: string]: number} = {}; + expected['a'] = 4; + expected['b'] = 2; + expected['c'] = 1; + assertEquivalent(expected, dmp.match_alphabet_('abc')); +} + +function testMatchBitap() { + dmp.Match_Distance = 100; + dmp.Match_Threshold = 0.5; + + assertEquals(5, dmp.match_bitap_('abcdefghijk', 'fgh', 5)); +} + +function testMatchMain() { + assertEquals(0, dmp.match_main('abcdef', 'abcdef', 1000)); +} + +// PATCH TEST FUNCTIONS + +function testPatchObj() { + // Patch Object. + const p = new DiffMatchPatch.patch_obj(); + assertEquals(null, p.start1); + assertEquals(null, p.start2); + + p.start1 = 20; + p.start2 = 21; + p.length1 = 18; + p.length2 = 17; + p.diffs = [[DIFF_EQUAL, 'jump'], [DIFF_DELETE, 's'], [DIFF_INSERT, 'ed'], [DIFF_EQUAL, ' over '], [DIFF_DELETE, 'the'], [DIFF_INSERT, 'a'], [DIFF_EQUAL, '\nlaz']]; + const strp = p.toString(); + assertEquals('@@ -21,18 +22,17 @@\n jump\n-s\n+ed\n over \n-the\n+a\n %0Alaz\n', strp); +} + +function testPatchFromText() { + const strp = '@@ -21,18 +22,17 @@\n jump\n-s\n+ed\n over \n-the\n+a\n %0Alaz\n'; + assertEquals(strp, dmp.patch_fromText(strp)[0].toString()); +} + +function testPatchToText() { + const strp = '@@ -21,18 +22,17 @@\n jump\n-s\n+ed\n over \n-the\n+a\n laz\n'; + const p = dmp.patch_fromText(strp); + assertEquals(strp, dmp.patch_toText(p)); +} + +function testPatchAddContext() { + dmp.Patch_Margin = 4; + const p = dmp.patch_fromText('@@ -21,4 +21,10 @@\n-jump\n+somersault\n')[0]; + dmp.patch_addContext_(p, 'The quick brown fox jumps over the lazy dog.'); + assertEquals('@@ -17,12 +17,18 @@\n fox \n-jump\n+somersault\n s ov\n', p.toString()); +} + +function testPatchMake() { + const text1 = 'The quick brown fox jumps over the lazy dog.'; + const text2 = 'That quick brown fox jumped over a lazy dog.'; + let expectedPatch = '@@ -1,8 +1,7 @@\n Th\n-at\n+e\n qui\n@@ -21,17 +21,18 @@\n jump\n-ed\n+s\n over \n-a\n+the\n laz\n'; + let patches = dmp.patch_make(text2, text1); + assertEquals(expectedPatch, dmp.patch_toText(patches)); + + // Method 1 + expectedPatch = '@@ -1,11 +1,12 @@\n Th\n-e\n+at\n quick b\n@@ -22,18 +22,17 @@\n jump\n-s\n+ed\n over \n-the\n+a\n laz\n'; + patches = dmp.patch_make(text1, text2); + assertEquals(expectedPatch, dmp.patch_toText(patches)); + + // Method 2 + const diffs = dmp.diff_main(text1, text2, false); + patches = dmp.patch_make(diffs); + assertEquals(expectedPatch, dmp.patch_toText(patches)); + + // Method 3 + patches = dmp.patch_make(text1, diffs); + assertEquals(expectedPatch, dmp.patch_toText(patches)); + + // Method 4 + patches = dmp.patch_make(text1, text2, diffs); + assertEquals(expectedPatch, dmp.patch_toText(patches)); +} + +function testPatchSplitMax() { + const patches = dmp.patch_make('abcdefghijklmnopqrstuvwxyz01234567890', 'XabXcdXefXghXijXklXmnXopXqrXstXuvXwxXyzX01X23X45X67X89X0'); + dmp.patch_splitMax(patches); + assertEquals( + [ + '@@ -1,32 +1,46 @@\n', + '+X\n ab\n+X\n cd\n+X\n ef\n+X\n gh\n+X\n ij\n+X\n kl\n+X\n mn\n+X\n op\n+X\n qr\n+X\n st\n+X\nuv\n+X\n wx\n+X\n yz\n+X\n 012345\n', + '@@ -25,13 +39,18 @@', + '\n zX01\n+X\n 23\n+X\n 45\n+X\n 67\n+X\n 89\n+X\n 0\n' + ].join(''), + dmp.patch_toText(patches)); +} + +function testPatchAddPadding() { + const patches = dmp.patch_make('', 'test'); + assertEquals('@@ -0,0 +1,4 @@\n+test\n', dmp.patch_toText(patches)); + dmp.patch_addPadding(patches); + assertEquals('@@ -1,8 +1,12 @@\n %01%02%03%04\n+test\n %01%02%03%04\n', dmp.patch_toText(patches)); +} + +function testPatchApply() { + dmp.Match_Distance = 1000; + dmp.Match_Threshold = 0.5; + dmp.Patch_DeleteThreshold = 0.5; + const patches = dmp.patch_make('The quick brown fox jumps over the lazy dog.', 'That quick brown fox jumped over a lazy dog.'); + const results = dmp.patch_apply(patches, 'The quick brown fox jumps over the lazy dog.'); + assertEquivalent(['That quick brown fox jumped over a lazy dog.', [true, true]], results); +} + +declare function assertEquals<T>(expected: T, actual: T): void; + +declare function assertEquivalent<T>(expected: T[], actual: T[]): void; +declare function assertEquivalent<T extends {}>(expected: T, actual: T): void; + +declare function assertLinesToCharsResultEquals(expected: {chars1: string, chars2: string, lineArray: string[]}, actual: {chars1: string, chars2: string, lineArray: string[]}): void; diff --git a/types/diff-match-patch/index.d.ts b/types/diff-match-patch/index.d.ts index cfaeace764..9d27016691 100644 --- a/types/diff-match-patch/index.d.ts +++ b/types/diff-match-patch/index.d.ts @@ -1,22 +1,19 @@ -// Type definitions for diff-match-patch v1.0.0 +// Type definitions for diff-match-patch 1.0 // Project: https://www.npmjs.com/package/diff-match-patch // Definitions by: Asana <https://asana.com> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +export type Diff = [number, string]; -type Diff = [number, string]; - -export declare class Patch { +export class patch_obj { diffs: Diff[]; - start1: number; - start2: number; + start1: number | null; + start2: number | null; length1: number; length2: number; } -export declare class diff_match_patch { - static new(): diff_match_patch; - +export class diff_match_patch { Diff_Timeout: number; Diff_EditCost: number; Match_Threshold: number; @@ -26,8 +23,13 @@ export declare class diff_match_patch { Match_MaxBits: number; diff_main(text1: string, text2: string, opt_checklines?: boolean, opt_deadline?: number): Diff[]; + diff_bisect_(text1: string, text2: string, deadline: number): Diff[]; + diff_linesToChars_(text1: string, text2: string): { chars1: string; chars2: string; lineArray: string[]; }; + diff_charsToLines_(diffs: Diff[], lineArray: string[]): void; diff_commonPrefix(text1: string, text2: string): number; diff_commonSuffix(text1: string, text2: string): number; + diff_commonOverlap_(text1: string, text2: string): number; + diff_halfMatch_(text1: string, text2: string): string[]; diff_cleanupSemantic(diffs: Diff[]): void; diff_cleanupSemanticLossless(diffs: Diff[]): void; diff_cleanupEfficiency(diffs: Diff[]): void; @@ -40,13 +42,22 @@ export declare class diff_match_patch { diff_toDelta(diffs: Diff[]): string; diff_fromDelta(text1: string, delta: string): Diff[]; - patch_make(text1: any, text2?: string): Patch[]; - patch_deepCopy(patches: Patch[]): Patch[]; - patch_apply(patches: Patch[], text: string): [string, boolean[]]; - patch_fromText(text: string): Patch[]; - patch_toText(patches: Patch[]): string; + match_main(text: string, pattern: string, loc: number): number; + match_bitap_(text: string, pattern: string, loc: number): number; + match_alphabet_(pattern: string): {[char: string]: number}; + + patch_addContext_(patch: patch_obj, text: string): void; + patch_make(a: string, opt_b: string | Diff[]): patch_obj[]; + patch_make(a: Diff[]): patch_obj[]; + patch_make(a: string, opt_b: string, opt_c: Diff[]): patch_obj[]; + patch_deepCopy(patches: patch_obj[]): patch_obj[]; + patch_apply(patches: patch_obj[], text: string): [string, boolean[]]; + patch_addPadding(patches: patch_obj[]): string; + patch_splitMax(patches: patch_obj[]): void; + patch_fromText(text: string): patch_obj[]; + patch_toText(patches: patch_obj[]): string; } -export declare var DIFF_DELETE: number; -export declare var DIFF_INSERT: number; -export declare var DIFF_EQUAL: number; +export const DIFF_DELETE: number; +export const DIFF_INSERT: number; +export const DIFF_EQUAL: number; diff --git a/types/diff-match-patch/tslint.json b/types/diff-match-patch/tslint.json new file mode 100644 index 0000000000..65c83fb1e3 --- /dev/null +++ b/types/diff-match-patch/tslint.json @@ -0,0 +1,6 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "dt-header": false + } +} From 177aab9f5b63d8ec5a481a7733c298b452731906 Mon Sep 17 00:00:00 2001 From: Ryan Mitchell <ryanand26@gmail.com> Date: Wed, 11 Oct 2017 10:30:59 +0100 Subject: [PATCH 274/433] rc-slider: Add definition for createSliderWithTooltip (#20486) Add definition of createSliderWithTooltip as per docs: createSliderWithTooltip(Slider | Range) => React.Component --- types/rc-slider/README.md | 2 +- types/rc-slider/index.d.ts | 3 +++ types/rc-slider/rc-slider-tests.tsx | 15 ++++++++++++++- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/types/rc-slider/README.md b/types/rc-slider/README.md index 7000e34358..93b553217d 100644 --- a/types/rc-slider/README.md +++ b/types/rc-slider/README.md @@ -5,7 +5,7 @@ This package contains type definitions for rc-slider (https://github.com/react-component/slider). Additional Details - * Last updated: Tue, 24 Feb 2017 + * Last updated: Tue, 11 Oct 2017 * Dependencies: react * Global values: none diff --git a/types/rc-slider/index.d.ts b/types/rc-slider/index.d.ts index 6c647fbd15..c20e5f7d1b 100644 --- a/types/rc-slider/index.d.ts +++ b/types/rc-slider/index.d.ts @@ -163,3 +163,6 @@ export interface HandleProps extends CommonApiProps { export default class Slider extends React.Component<SliderProps> { } export class Range extends React.Component<RangeProps> { } export class Handle extends React.Component<HandleProps> { } + +export function createSliderWithTooltip(slider: typeof Slider): new() => Slider; +export function createSliderWithTooltip(range: typeof Range): new() => Range; \ No newline at end of file diff --git a/types/rc-slider/rc-slider-tests.tsx b/types/rc-slider/rc-slider-tests.tsx index 7e2e14e317..38f6049f12 100644 --- a/types/rc-slider/rc-slider-tests.tsx +++ b/types/rc-slider/rc-slider-tests.tsx @@ -1,6 +1,9 @@ import * as React from 'react'; import * as ReactDOM from 'react-dom'; -import Slider, { Range, Handle } from 'rc-slider'; +import Slider, { Range, Handle, createSliderWithTooltip } from 'rc-slider'; + +const SliderWithTooltip = createSliderWithTooltip(Slider); +const RangeWithTooltip = createSliderWithTooltip(Range); ReactDOM.render( <Slider defaultValue={1} max={2} step={0.01} min={0.01} />, @@ -45,3 +48,13 @@ ReactDOM.render( pushable={true} />, document.querySelector('.app') ); + +ReactDOM.render( + <SliderWithTooltip defaultValue={1} max={2} step={0.01} min={0.01} />, + document.querySelector('.app') +); + +ReactDOM.render( + <RangeWithTooltip defaultValue={1} max={2} step={0.01} min={0.01} />, + document.querySelector('.app') +); \ No newline at end of file From 0ac7980c2487f11b1cb047c12082dda05913aaac Mon Sep 17 00:00:00 2001 From: Santiago Sosa <ssosa@santiagojsosa.com> Date: Wed, 11 Oct 2017 09:50:34 -0400 Subject: [PATCH 275/433] Make export a module (#20474) --- types/scrollreveal/index.d.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/types/scrollreveal/index.d.ts b/types/scrollreveal/index.d.ts index e9a02fc175..992f1c1498 100644 --- a/types/scrollreveal/index.d.ts +++ b/types/scrollreveal/index.d.ts @@ -3,6 +3,12 @@ // Definitions by: David Pires <https://github.com/Davidblkx> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +declare const ScrollReveal: scrollReveal.ScrollRevealObject; + +declare module 'ScrollReveal' { + export = ScrollReveal; +} + declare namespace scrollReveal { interface ScrollRevealRotateObject { x?: number; @@ -64,5 +70,3 @@ declare namespace scrollReveal { sync(): void; } } - -declare var ScrollReveal: scrollReveal.ScrollRevealObject; \ No newline at end of file From df9853bd0b040407799ded5a0d6298fba7cf44ce Mon Sep 17 00:00:00 2001 From: John Reilly <johnny_reilly@hotmail.com> Date: Wed, 11 Oct 2017 21:29:06 +0100 Subject: [PATCH 276/433] rc-slider: attempt to fix issues (#20502) * attempt to fix issues * newline at end of test (needlessly picky I think) --- types/rc-slider/index.d.ts | 2 +- types/rc-slider/rc-slider-tests.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/types/rc-slider/index.d.ts b/types/rc-slider/index.d.ts index c20e5f7d1b..ec7a276ccd 100644 --- a/types/rc-slider/index.d.ts +++ b/types/rc-slider/index.d.ts @@ -165,4 +165,4 @@ export class Range extends React.Component<RangeProps> { } export class Handle extends React.Component<HandleProps> { } export function createSliderWithTooltip(slider: typeof Slider): new() => Slider; -export function createSliderWithTooltip(range: typeof Range): new() => Range; \ No newline at end of file +export function createSliderWithTooltip(range: typeof Range): new() => Range; diff --git a/types/rc-slider/rc-slider-tests.tsx b/types/rc-slider/rc-slider-tests.tsx index 38f6049f12..8c2e8542c9 100644 --- a/types/rc-slider/rc-slider-tests.tsx +++ b/types/rc-slider/rc-slider-tests.tsx @@ -55,6 +55,6 @@ ReactDOM.render( ); ReactDOM.render( - <RangeWithTooltip defaultValue={1} max={2} step={0.01} min={0.01} />, + <RangeWithTooltip defaultValue={[1]} max={2} step={0.01} min={0.01} />, document.querySelector('.app') -); \ No newline at end of file +); From 71bfd778611b63df5a9315b924bacde41ca19e16 Mon Sep 17 00:00:00 2001 From: Chet Husk <baronfel@users.noreply.github.com> Date: Wed, 11 Oct 2017 17:41:50 -0500 Subject: [PATCH 277/433] [archiver] fix bugs in archiver types around destpath/data parameters (#20498) * fix bugs in archiver types around destpath/data parameters * fix lint * fix travis linting errors --- types/archiver/archiver-tests.ts | 8 ++++++-- types/archiver/index.d.ts | 7 +++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/types/archiver/archiver-tests.ts b/types/archiver/archiver-tests.ts index bbbc7c7abf..536afd68c9 100644 --- a/types/archiver/archiver-tests.ts +++ b/types/archiver/archiver-tests.ts @@ -35,9 +35,13 @@ archiver.append(readStream, {name: 'archiver.d.ts'}) .append(readStream, {name: 'archiver.d.ts'}); archiver.directory('./path', './someOtherPath'); -archiver.directory('./path', { name: "testName" }); archiver.directory('./', "", {}); -archiver.directory('./', { name: 'test' }, {}); +archiver.directory('./', false, { name: 'test' }); +archiver.directory('./', false, (entry: Archiver.EntryData) => { + entry.name = "foobar"; + return entry; +}); +archiver.directory('./', false, (entry: Archiver.EntryData) => false); archiver.append(readStream, { name: "sub/folder.xml" diff --git a/types/archiver/index.d.ts b/types/archiver/index.d.ts index a8c7de0502..8cf6eb1e92 100644 --- a/types/archiver/index.d.ts +++ b/types/archiver/index.d.ts @@ -21,12 +21,15 @@ declare namespace archiver { stats?: string; } + /** A function that lets you either opt out of including an entry (by returning false), or modify the contents of an entry as it is added (by returning an EntryData) */ + type EntryDataFunction = (entry: EntryData) => false | EntryData; + interface Archiver extends stream.Transform { abort(): this; append(source: stream.Readable | Buffer | string, name?: EntryData): this; - directory(dirpath: string, options: EntryData | string, data?: EntryData): this; - + /** if false is passed for destpath, the path of a chunk of data in the archive is set to the root */ + directory(dirpath: string, destpath: false | string, data?: EntryData | EntryDataFunction): this; file(filename: string, data: EntryData): this; glob(pattern: string, options?: glob.IOptions, data?: EntryData): this; finalize(): Promise<void>; From 75f77248e41d01c704e1f362a8b05e54c6bddee1 Mon Sep 17 00:00:00 2001 From: Jesse Zhang <jessezhang91@users.noreply.github.com> Date: Wed, 11 Oct 2017 18:42:37 -0400 Subject: [PATCH 278/433] [thrift] Fix thrift multiplexer type, moved generic to createClient (#20495) --- types/thrift/index.d.ts | 5 +++-- types/thrift/thrift-tests.ts | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/types/thrift/index.d.ts b/types/thrift/index.d.ts index f31fdb129e..69d546e901 100644 --- a/types/thrift/index.d.ts +++ b/types/thrift/index.d.ts @@ -2,6 +2,7 @@ // Project: https://www.npmjs.com/package/thrift // Definitions by: Kamek <https://github.com/kamek-pf> // Kevin Greene <https://github.com/kevin-greene-ck> +// Jesse Zhang <https://github.com/jessezhang91> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -197,8 +198,8 @@ export class WSConnection extends NodeJS.EventEmitter { write(data: Buffer): void; } -export class Multiplexer<TClient> { - createClient(serviceName: string, client: TClientConstructor<TClient>, connection: Connection): TClient; +export class Multiplexer { + createClient<TClient>(serviceName: string, client: TClientConstructor<TClient>, connection: Connection): TClient; } export class MultiplexedProcessor { diff --git a/types/thrift/thrift-tests.ts b/types/thrift/thrift-tests.ts index 7e47f2cf6b..da9e9eafa0 100644 --- a/types/thrift/thrift-tests.ts +++ b/types/thrift/thrift-tests.ts @@ -2,6 +2,7 @@ import { createConnection, createServer, createClient, + Multiplexer, Thrift, TBinaryProtocol, TBufferedTransport, @@ -126,3 +127,6 @@ const tBinary: Buffer = mockProtocol.readBinary(); const tString: string = mockProtocol.readString(); const tTrans: TTransport = mockProtocol.getTransport(); mockProtocol.skip(Thrift.Type.STRUCT); + +const multiplexer = new Multiplexer(); +multiplexer.createClient("mock-service", mockGeneratedService, clientConnection); From 7031c869bb0d219864cdede602b2d4b2284c695e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20Jedli=C4=8Dka?= <jedlicka.r@gmail.com> Date: Thu, 12 Oct 2017 00:43:05 +0200 Subject: [PATCH 279/433] [meteor] EJSONableCustomType shloud have `clone` and `equal` method optional (#20494) According to meteor docs a custom type registered to EJSON is allowed to omit the `clone` and `equals` methods. See https://docs.meteor.com/api/ejson.html#EJSON-addType --- types/meteor/ejson.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/meteor/ejson.d.ts b/types/meteor/ejson.d.ts index a6294fb8be..3ea090a7d2 100644 --- a/types/meteor/ejson.d.ts +++ b/types/meteor/ejson.d.ts @@ -1,6 +1,6 @@ interface EJSONableCustomType { - clone(): EJSONableCustomType; - equals(other: Object): boolean; + clone?(): EJSONableCustomType; + equals?(other: Object): boolean; toJSONValue(): JSONable; typeName(): string; } From 8fe7c2ce16d1f0759592fff9818699f9996748ba Mon Sep 17 00:00:00 2001 From: Nikita Tokarchuk <mainnika+github@gmail.com> Date: Thu, 12 Oct 2017 00:43:44 +0200 Subject: [PATCH 280/433] Middleware functions have to return RequestHandler (#20492) --- types/loopback/index.d.ts | 16 ++++++++-------- types/loopback/loopback-tests.ts | 8 ++++++++ 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/types/loopback/index.d.ts b/types/loopback/index.d.ts index bd98db660f..99fc4d4ccb 100644 --- a/types/loopback/index.d.ts +++ b/types/loopback/index.d.ts @@ -14,7 +14,7 @@ ************************************************/ import * as core from "express-serve-static-core"; -import { NextFunction } from "express"; +import { NextFunction, RequestHandler } from "express"; declare function l(): l.LoopBackApplication; declare namespace l { @@ -1693,7 +1693,7 @@ declare namespace l { * Serve the LoopBack favicon. * @header loopback.favicon( */ - function favicon(): void; + function favicon(): RequestHandler; /** * Expose models over REST @@ -1704,7 +1704,7 @@ declare namespace l { * For more information, see [Exposing models over a REST API](docs.strongloop.com/display/DOC/Exposing+models+over+a+REST+API). * @header loopback.rest( */ - function rest(): void; + function rest(): RequestHandler; /** * Serve static assets of a LoopBack application @@ -1715,7 +1715,7 @@ declare namespace l { * for the full list of available options. * @header loopback.static(root, [options]) */ - function static(root: string, options: any): void; + function static(root: string, options?: any): RequestHandler; /** * Return HTTP response with basic application status information: @@ -1727,12 +1727,12 @@ declare namespace l { * } * ``` */ - function status(): void; + function status(): RequestHandler; /** * Rewrite the url to replace current user literal with the logged in user id */ - function rewriteUserLiteral(): void; + function rewriteUserLiteral(): RequestHandler; /** * Check for an access token in cookies, headers, and query string parameters. @@ -1775,14 +1775,14 @@ declare namespace l { overwriteExistingToken?: boolean, model?(): void|string, currentUserLiteral?: string - }): void; + }): RequestHandler; /** * Convert any request not handled so far to a 404 error * to be handled by error-handling middleware. * @header loopback.urlNotFound( */ - function urlNotFound(): void; + function urlNotFound(): RequestHandler; /** * Token based authentication and access control diff --git a/types/loopback/loopback-tests.ts b/types/loopback/loopback-tests.ts index 4cd7acd272..ed37bf5804 100644 --- a/types/loopback/loopback-tests.ts +++ b/types/loopback/loopback-tests.ts @@ -17,6 +17,14 @@ class Server { this.app.use(cookieParser()); + this.app.use(loopback.favicon()); + this.app.use(loopback.rest()); + this.app.use(loopback.static('.')); + this.app.use(loopback.status()); + this.app.use(loopback.rewriteUserLiteral()); + this.app.use(loopback.token()); + this.app.use(loopback.urlNotFound()); + this.app.start = async () => { // start the web server const models = this.app.models(); From 6fa7178e819dd6801f8e34011420d975cb10b5ff Mon Sep 17 00:00:00 2001 From: Ville Lautanala <lautis@gmail.com> Date: Thu, 12 Oct 2017 01:44:17 +0300 Subject: [PATCH 281/433] Update object-hash definitions to match version 1.1.8 (#20491) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Object-hash has added new options that weren’t included in previous definitions based on version 0.5.0. --- types/object-hash/index.d.ts | 8 +++++++- types/object-hash/object-hash-tests.ts | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/types/object-hash/index.d.ts b/types/object-hash/index.d.ts index b2b1cc0fd4..c6b16df950 100644 --- a/types/object-hash/index.d.ts +++ b/types/object-hash/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for object-hash v0.5.0 +// Type definitions for object-hash v1.1.8 // Project: https://github.com/puleos/object-hash // Definitions by: Michael Zabka <https://github.com/misak113> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -12,6 +12,12 @@ declare namespace ObjectHash { algorithm?: string; encoding?: string; excludeValues?: boolean; + ignoreUnknown?: boolean; + replacer?: (value: any) => any; + respectFunctionProperties?: boolean; + respectFunctionNames?: boolean; + unorderedArrays?: boolean; + unorderedSets?: boolean; } interface HashTableItem { diff --git a/types/object-hash/object-hash-tests.ts b/types/object-hash/object-hash-tests.ts index 4fbac3f461..24e8f05fcb 100644 --- a/types/object-hash/object-hash-tests.ts +++ b/types/object-hash/object-hash-tests.ts @@ -17,7 +17,8 @@ hashed = hash.keysMD5(obj); var options = { algorithm: 'md5', encoding: 'utf8', - excludeValues: true + excludeValues: true, + unorderedArrays: true }; hashed = hash(obj, options); From fad8178fc8d690d5f9ac46d41ba7a606e89d0cc7 Mon Sep 17 00:00:00 2001 From: Viktor Isaev <weekens@gmail.com> Date: Thu, 12 Oct 2017 01:45:34 +0300 Subject: [PATCH 282/433] Added typings for "restify-cookies". (#20489) * Added typings for "require-dir". * Fixed dtslint errors. * Fixed By field. * Added typings for "restify-cookies". --- types/restify-cookies/index.d.ts | 22 ++++++++++++++++++ .../restify-cookies/restify-cookies-tests.ts | 8 +++++++ types/restify-cookies/tsconfig.json | 23 +++++++++++++++++++ types/restify-cookies/tslint.json | 1 + 4 files changed, 54 insertions(+) create mode 100644 types/restify-cookies/index.d.ts create mode 100644 types/restify-cookies/restify-cookies-tests.ts create mode 100644 types/restify-cookies/tsconfig.json create mode 100644 types/restify-cookies/tslint.json diff --git a/types/restify-cookies/index.d.ts b/types/restify-cookies/index.d.ts new file mode 100644 index 0000000000..842e6c425e --- /dev/null +++ b/types/restify-cookies/index.d.ts @@ -0,0 +1,22 @@ +// Type definitions for restify-cookies 0.2 +// Project: https://github.com/nathschmidt/restify-cookies +// Definitions by: weekens <https://github.com/weekens> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +import * as restify from 'restify'; + +declare module 'restify' { + interface CookieOptions { + encode?: (input: string) => string; // tslint:disable-line:prefer-method-signature + maxAge?: number; + domain?: string; + path?: string; + expires?: string; + httpOnly?: boolean; + secure?: boolean; + } + + interface Response { + setCookie(key: string, val: string, options?: CookieOptions): void; + } +} diff --git a/types/restify-cookies/restify-cookies-tests.ts b/types/restify-cookies/restify-cookies-tests.ts new file mode 100644 index 0000000000..e6a68e5689 --- /dev/null +++ b/types/restify-cookies/restify-cookies-tests.ts @@ -0,0 +1,8 @@ +import { Request, Response, Server } from 'restify'; +import 'restify-cookies'; + +function test(server: Server) { + server.get('/api/test', (req: Request, res: Response) => { + res.setCookie('myCookie', 'test', { path: '/' }); + }); +} diff --git a/types/restify-cookies/tsconfig.json b/types/restify-cookies/tsconfig.json new file mode 100644 index 0000000000..b86ecbf07e --- /dev/null +++ b/types/restify-cookies/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "restify-cookies-tests.ts" + ] +} diff --git a/types/restify-cookies/tslint.json b/types/restify-cookies/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/restify-cookies/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From f25fd1c3f6a42d7696356a4b4e082a509dd1ace5 Mon Sep 17 00:00:00 2001 From: Tom Wanzek <tomwanzek@gmail.com> Date: Wed, 11 Oct 2017 18:46:10 -0400 Subject: [PATCH 283/433] [d3-time-format] (#20483) * [CHORE] Update version number. Closes #20479 * [CHORE] Complete JSDoc comments. Related to #11366 * [CHORE] Validate for strictNullChecks. Related to #11365 --- types/d3-time-format/d3-time-format-tests.ts | 22 +-- types/d3-time-format/index.d.ts | 134 ++++++++++++++++++- types/d3-time-format/tsconfig.json | 4 +- 3 files changed, 144 insertions(+), 16 deletions(-) diff --git a/types/d3-time-format/d3-time-format-tests.ts b/types/d3-time-format/d3-time-format-tests.ts index eb569dd779..723f035cc0 100644 --- a/types/d3-time-format/d3-time-format-tests.ts +++ b/types/d3-time-format/d3-time-format-tests.ts @@ -37,21 +37,12 @@ parseFn = d3TimeFormat.utcParse('.%L'); // iso ------------------------------------------------------------------ const dateString: string = d3TimeFormat.isoFormat(new Date(2016, 6, 6)); -const date: Date = d3TimeFormat.isoParse('2016-07-08T14:06:41.386Z'); +const date: Date | null = d3TimeFormat.isoParse('2016-07-08T14:06:41.386Z'); // ---------------------------------------------------------------------- // Test Locale Definition // ---------------------------------------------------------------------- -const dateTimeSpecifier: string = localeDef.dateTime; -const dateSpecifier: string = localeDef.date; -const timeSpecifier: string = localeDef.time; -const periods: [string, string] = localeDef.periods; -const days: [string, string, string, string, string, string, string] = localeDef.days; -const shortDays: [string, string, string, string, string, string, string] = localeDef.shortDays; -const months: [string, string, string, string, string, string, string, string, string, string, string, string] = localeDef.months; -const shortMonths: [string, string, string, string, string, string, string, string, string, string, string, string] = localeDef.shortMonths; - localeDef = { dateTime: '%a %b %e %X %Y', date: '%m/%d/%Y', @@ -63,12 +54,21 @@ localeDef = { shortMonths: ['Jan', 'Feb', 'Mrz', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'] }; +const dateTimeSpecifier: string = localeDef.dateTime; +const dateSpecifier: string = localeDef.date; +const timeSpecifier: string = localeDef.time; +const periods: [string, string] = localeDef.periods; +const days: [string, string, string, string, string, string, string] = localeDef.days; +const shortDays: [string, string, string, string, string, string, string] = localeDef.shortDays; +const months: [string, string, string, string, string, string, string, string, string, string, string, string] = localeDef.months; +const shortMonths: [string, string, string, string, string, string, string, string, string, string, string, string] = localeDef.shortMonths; + localeObj = d3TimeFormat.timeFormatLocale(localeDef); localeObj = d3TimeFormat.timeFormatDefaultLocale(localeDef); let formatFactory: (specifier: string) => ((date: Date) => string) = localeObj.format; -let parseFactory: (specifier: string) => ((dateString: string) => Date) = localeObj.parse; +let parseFactory: (specifier: string) => ((dateString: string) => Date | null) = localeObj.parse; formatFactory = localeObj.utcFormat; parseFactory = localeObj.utcParse; diff --git a/types/d3-time-format/index.d.ts b/types/d3-time-format/index.d.ts index 3d1cecf221..4ac6fc8469 100644 --- a/types/d3-time-format/index.d.ts +++ b/types/d3-time-format/index.d.ts @@ -1,9 +1,9 @@ -// Type definitions for d3JS d3-time-format module 2.0 +// Type definitions for d3JS d3-time-format module 2.1 // Project: https://github.com/d3/d3-time-format/ // Definitions by: Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// Last module patch version validated against: 2.0.2 +// Last module patch version validated against: 2.1.0 /** * Specification of time locale to use when creating a new TimeLocaleObject @@ -43,16 +43,103 @@ export interface TimeLocaleDefinition { shortMonths: [string, string, string, string, string, string, string, string, string, string, string, string]; } +/** + * Interface describing a time-locale-based object which exposes time-formatting/parsing + * methods for a specified locale definition. + */ export interface TimeLocaleObject { + /** + * Returns a new formatter for the given string specifier. The specifier string may contain the following directives: + * - %a - abbreviated weekday name.* + * - %A - full weekday name.* + * - %b - abbreviated month name.* + * - %B - full month name.* + * - %c - the locale’s date and time, such as %x, %X.* + * - %d - zero-padded day of the month as a decimal number [01,31]. + * - %e - space-padded day of the month as a decimal number [ 1,31]; equivalent to %_d. + * - %f - microseconds as a decimal number [000000, 999999]. + * - %H - hour (24-hour clock) as a decimal number [00,23]. + * - %I - hour (12-hour clock) as a decimal number [01,12]. + * - %j - day of the year as a decimal number [001,366]. + * - %m - month as a decimal number [01,12]. + * - %M - minute as a decimal number [00,59]. + * - %L - milliseconds as a decimal number [000, 999]. + * - %p - either AM or PM.* + * - %Q - milliseconds since UNIX epoch. + * - %s - seconds since UNIX epoch. + * - %S - second as a decimal number [00,61]. + * - %u - Monday-based (ISO) weekday as a decimal number [1,7]. + * - %U - Sunday-based week of the year as a decimal number [00,53]. + * - %V - ISO 8601 week number of the year as a decimal number [01, 53]. + * - %w - Sunday-based weekday as a decimal number [0,6]. + * - %W - Monday-based week of the year as a decimal number [00,53]. + * - %x - the locale’s date, such as %-m/%-d/%Y.* + * - %X - the locale’s time, such as %-I:%M:%S %p.* + * - %y - year without century as a decimal number [00,99]. + * - %Y - year with century as a decimal number. + * - %Z - time zone offset, such as -0700, -07:00, -07, or Z. + * - %% - a literal percent sign (%). + * + * Directives marked with an asterisk (*) may be affected by the locale definition. + * + * For %U, all days in a new year preceding the first Sunday are considered to be in week 0. + * For %W, all days in a new year preceding the first Monday are considered to be in week 0. + * Week numbers are computed using interval.count. For example, 2015-52 and 2016-00 represent Monday, December 28, 2015, while 2015-53 and 2016-01 represent Monday, January 4, 2016. + * This differs from the ISO week date specification (%V), which uses a more complicated definition! + * + * For %V, per the strftime man page: + * + * In this system, weeks start on a Monday, and are numbered from 01, for the first week, up to 52 or 53, for the last week. + * Week 1 is the first week where four or more days fall within the new year (or, synonymously, week 01 is: the first week of the year that contains a Thursday; + * or, the week that has 4 January in it). + * + * The % sign indicating a directive may be immediately followed by a padding modifier: + * + * 1) 0 - zero-padding + * 2) _ - space-padding + * 3) - disable padding + * + * If no padding modifier is specified, the default is 0 for all directives except %e, which defaults to _. + * (In some implementations of strftime and strptime, a directive may include an optional field width or precision; this feature is not yet implemented.) + * + * The returned function formats a specified date, returning the corresponding string. + * + * @param specifier A specifier string for the date format. + */ format(specifier: string): (date: Date) => string; + /** + * Returns a new parser for the given string specifier. The specifier string may contain the same directives as locale.format (TimeLocaleObject.format). + * The %d and %e directives are considered equivalent for parsing. + * + * The returned function parses a specified string, returning the corresponding date or null if the string could not be parsed according to this format’s specifier. + * Parsing is strict: if the specified string does not exactly match the associated specifier, this method returns null. + * + * For example, if the associated specifier is %Y-%m-%dT%H:%M:%SZ, then the string "2011-07-01T19:15:28Z" will be parsed as expected, + * but "2011-07-01T19:15:28", "2011-07-01 19:15:28" and "2011-07-01" will return null. (Note that the literal Z here is different from the time zone offset directive %Z.) + * If a more flexible parser is desired, try multiple formats sequentially until one returns non-null. + * + * @param specifier A specifier string for the date format. + */ parse(specifier: string): (dateString: string) => (Date | null); + /** + * Equivalent to locale.format (TimeLocaleObject.format), except all directives are interpreted as Coordinated Universal Time (UTC) rather than local time. + * + * @param specifier A specifier string for the date format. + */ utcFormat(specifier: string): (date: Date) => string; + /** + * Equivalent to locale.parse (TimeLocaleObject.parse), except all directives are interpreted as Coordinated Universal Time (UTC) rather than local time. + * + * @param specifier A specifier string for the date format. + */ utcParse(specifier: string): (dateString: string) => (Date | null); } /** * Create a new time-locale-based object which exposes time-formatting * methods for the specified locale definition. + * + * @param timeLocale A time locale definition. */ export function timeFormatLocale(timeLocale: TimeLocaleDefinition): TimeLocaleObject; @@ -60,17 +147,58 @@ export function timeFormatLocale(timeLocale: TimeLocaleDefinition): TimeLocaleOb * Create a new time-locale-based object which exposes time-formatting * methods for the specified locale definition. The new time locale definition * will be set as the new default time locale. + * + * @param timeLocale A time locale definition. */ export function timeFormatDefaultLocale(defaultTimeLocale: TimeLocaleDefinition): TimeLocaleObject; +/** + * Returns a new formatter for the given string specifier. The returned function formats a specified date, returning the corresponding string. + * + * An alias for locale.format (TimeLocaleObject.format) on the default locale. + * + * @param specifier A specifier string for the date format. + */ export function timeFormat(specifier: string): (date: Date) => string; +/** + * Returns a new parser for the given string specifier. + * + * An alias for locale.parse (TimeLocaleObject.parse) on the default locale. + * + * @param specifier A specifier string for the date format. + */ export function timeParse(specifier: string): (dateString: string) => (Date | null); +/** + * Equivalent to timeFormat, except all directives are interpreted as Coordinated Universal Time (UTC) rather than local time. + * + * An alias for locale.utcFormat (TimeLocaleObject.utcFormat) on the default locale. + * + * @param specifier A specifier string for the date format. + */ export function utcFormat(specifier: string): (date: Date) => string; +/** + * Equivalent to timeParse, except all directives are interpreted as Coordinated Universal Time (UTC) rather than local time. + * + * An alias for locale.utcParse (TimeLocaleObject.utcParse) on the default locale. + * + * @param specifier A specifier string for the date format. + */ export function utcParse(specifier: string): (dateString: string) => (Date | null); +/** + * The full ISO 8601 UTC time formatter. Where available, this method will use Date.toISOString to format. + * + * @param date A date to format. + */ export function isoFormat(date: Date): string; -export function isoParse(dateString: string): Date; +/** + * The full ISO 8601 UTC time parser. Where available, this method will use the Date constructor to parse strings. + * If you depend on strict validation of the input format according to ISO 8601, you should construct a UTC parser function using utcParse. + * + * @param dateString A string encoded date to parse. + */ +export function isoParse(dateString: string): Date | null; diff --git a/types/d3-time-format/tsconfig.json b/types/d3-time-format/tsconfig.json index 8cdbe89fe0..782a3ab291 100644 --- a/types/d3-time-format/tsconfig.json +++ b/types/d3-time-format/tsconfig.json @@ -6,7 +6,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ @@ -20,4 +20,4 @@ "index.d.ts", "d3-time-format-tests.ts" ] -} \ No newline at end of file +} From 4ec1572a3dcabff56279973922aed2ebb4981a80 Mon Sep 17 00:00:00 2001 From: Karol Janyst <lapkom@gmail.com> Date: Thu, 12 Oct 2017 07:47:26 +0900 Subject: [PATCH 284/433] Add definitions for redux-saga-routines (#20481) --- types/redux-saga-routines/index.d.ts | 35 +++++++++++++++++++ types/redux-saga-routines/package.json | 7 ++++ .../redux-saga-routines-tests.tsx | 28 +++++++++++++++ types/redux-saga-routines/tsconfig.json | 24 +++++++++++++ types/redux-saga-routines/tslint.json | 1 + 5 files changed, 95 insertions(+) create mode 100644 types/redux-saga-routines/index.d.ts create mode 100644 types/redux-saga-routines/package.json create mode 100644 types/redux-saga-routines/redux-saga-routines-tests.tsx create mode 100644 types/redux-saga-routines/tsconfig.json create mode 100644 types/redux-saga-routines/tslint.json diff --git a/types/redux-saga-routines/index.d.ts b/types/redux-saga-routines/index.d.ts new file mode 100644 index 0000000000..d01e5edddf --- /dev/null +++ b/types/redux-saga-routines/index.d.ts @@ -0,0 +1,35 @@ +// Type definitions for redux-saga-routines 2.0 +// Project: https://github.com/afitiskin/redux-saga-routines#readme +// Definitions by: Karol Janyst <https://github.com/LKay> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.4 + +import { Action } from "redux"; +import { FormSubmitHandler } from "redux-form"; + +export const ROUTINE_PROMISE_ACTION: string; + +export interface RoutineAction<T> extends Action { + payload: T; +} + +export type RoutineActionCreator<T> = (payload: T) => RoutineAction<T>; + +export interface ReduxRoutine { + TRIGGER: string; + REQUEST: string; + SUCCESS: string; + FAILURE: string; + FULFILL: string; + trigger: RoutineActionCreator<any>; + request: RoutineActionCreator<any>; + success: RoutineActionCreator<any>; + failure: RoutineActionCreator<any>; + fulfill: RoutineActionCreator<any>; +} + +export function createRoutine(prefix: string): ReduxRoutine; + +export function routinePromiseWatcherSaga(): Iterator<any>; + +export function bindRoutineToReduxForm(routine: ReduxRoutine): FormSubmitHandler; diff --git a/types/redux-saga-routines/package.json b/types/redux-saga-routines/package.json new file mode 100644 index 0000000000..ce10629c07 --- /dev/null +++ b/types/redux-saga-routines/package.json @@ -0,0 +1,7 @@ +{ + "private": true, + "dependencies": { + "redux": "^3.7.2", + "redux-saga": "^0.15.6" + } +} diff --git a/types/redux-saga-routines/redux-saga-routines-tests.tsx b/types/redux-saga-routines/redux-saga-routines-tests.tsx new file mode 100644 index 0000000000..4cf2a62c4a --- /dev/null +++ b/types/redux-saga-routines/redux-saga-routines-tests.tsx @@ -0,0 +1,28 @@ +import * as React from "react"; +import { reduxForm } from "redux-form"; +import createSagaMiddleware from "redux-saga"; +import { + bindRoutineToReduxForm, + createRoutine, + routinePromiseWatcherSaga, + ROUTINE_PROMISE_ACTION +} from "redux-saga-routines"; + +const sagaMiddleware = createSagaMiddleware(); + +sagaMiddleware.run(routinePromiseWatcherSaga); + +const submitFormRoutine = createRoutine("SUBMIT_MY_FORM"); +const submitFormHandler = bindRoutineToReduxForm(submitFormRoutine); + +const Test = reduxForm({ + form : "test" +})( + ({ handleSubmit }) => { + return ( + <form onSubmit={ handleSubmit(submitFormHandler) }> + <input type="hidden" name="test" /> + </form> + ); + } +); diff --git a/types/redux-saga-routines/tsconfig.json b/types/redux-saga-routines/tsconfig.json new file mode 100644 index 0000000000..32f2937910 --- /dev/null +++ b/types/redux-saga-routines/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "jsx": "react", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "redux-saga-routines-tests.tsx" + ] +} diff --git a/types/redux-saga-routines/tslint.json b/types/redux-saga-routines/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/redux-saga-routines/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 28e995bbff0acd39a5bbba1c077d34e48f557af4 Mon Sep 17 00:00:00 2001 From: York Yao <plantain-00@users.noreply.github.com> Date: Wed, 11 Oct 2017 17:48:10 -0500 Subject: [PATCH 285/433] add types of decompress (#20478) --- types/decompress/decompress-tests.ts | 21 +++++++++++++++ types/decompress/index.d.ts | 39 ++++++++++++++++++++++++++++ types/decompress/tsconfig.json | 23 ++++++++++++++++ types/decompress/tslint.json | 1 + 4 files changed, 84 insertions(+) create mode 100644 types/decompress/decompress-tests.ts create mode 100644 types/decompress/index.d.ts create mode 100644 types/decompress/tsconfig.json create mode 100644 types/decompress/tslint.json diff --git a/types/decompress/decompress-tests.ts b/types/decompress/decompress-tests.ts new file mode 100644 index 0000000000..3df7df0219 --- /dev/null +++ b/types/decompress/decompress-tests.ts @@ -0,0 +1,21 @@ +import decompress = require('decompress'); +import * as path from "path"; + +decompress('unicorn.zip', 'dist').then(files => { + console.log('done!'); +}); + +decompress('unicorn.zip', 'dist', { + filter: file => path.extname(file.path) !== '.exe' +}).then(files => { + console.log('done!'); +}); + +decompress('unicorn.zip', 'dist', { + map: file => { + file.path = `unicorn-${file.path}`; + return file; + } +}).then(files => { + console.log('done!'); +}); diff --git a/types/decompress/index.d.ts b/types/decompress/index.d.ts new file mode 100644 index 0000000000..c2211b3434 --- /dev/null +++ b/types/decompress/index.d.ts @@ -0,0 +1,39 @@ +// Type definitions for decompress 4.2 +// Project: https://github.com/kevva/decompress#readme +// Definitions by: York Yao <https://github.com/plantain-00> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// <reference types="node" /> + +export = decompress; + +declare function decompress(input: string | Buffer, output: string, opts?: Options): Promise<File>; + +interface File { + data: Buffer; + mode: number; + mtime: string; + path: string; + type: string; +} + +interface Options { + /** + * Filter out files before extracting + */ + filter?(file: File): boolean; + /** + * Map files before extracting + */ + map?(file: File): File; + /** + * Array of plugins to use. + * Default: [decompressTar(), decompressTarbz2(), decompressTargz(), decompressUnzip()] + */ + plugins?: any[]; + /** + * Remove leading directory components from extracted files. + * Default: 0 + */ + strip?: number; +} diff --git a/types/decompress/tsconfig.json b/types/decompress/tsconfig.json new file mode 100644 index 0000000000..33c7a8c5e8 --- /dev/null +++ b/types/decompress/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "decompress-tests.ts" + ] +} diff --git a/types/decompress/tslint.json b/types/decompress/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/decompress/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 5b6f5ef807da472da4054e07cd3b2cf11345e7c9 Mon Sep 17 00:00:00 2001 From: daprahamian <dan.aprahamian@gmail.com> Date: Wed, 11 Oct 2017 18:49:13 -0400 Subject: [PATCH 286/433] feat(zen-push): adding types for zen-push (#20476) --- types/zen-push/index.d.ts | 16 ++++++++++++++++ types/zen-push/tsconfig.json | 23 +++++++++++++++++++++++ types/zen-push/tslint.json | 1 + types/zen-push/zen-push-tests.ts | 21 +++++++++++++++++++++ 4 files changed, 61 insertions(+) create mode 100644 types/zen-push/index.d.ts create mode 100644 types/zen-push/tsconfig.json create mode 100644 types/zen-push/tslint.json create mode 100644 types/zen-push/zen-push-tests.ts diff --git a/types/zen-push/index.d.ts b/types/zen-push/index.d.ts new file mode 100644 index 0000000000..f5d7e5046d --- /dev/null +++ b/types/zen-push/index.d.ts @@ -0,0 +1,16 @@ +// Type definitions for zen-push 0.1 +// Project: https://github.com/zenparsing/zen-push +// Definitions by: daprahamian <https://github.com/daprahamian> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +import * as Observable from 'zen-observable'; + +declare class PushStream<T> { + readonly observable: Observable<T>; + readonly observed: number; + next(x: T): void; + error(e: Error): void; + complete(x?: any): void; +} + +export default PushStream; diff --git a/types/zen-push/tsconfig.json b/types/zen-push/tsconfig.json new file mode 100644 index 0000000000..d3e8efb833 --- /dev/null +++ b/types/zen-push/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "zen-push-tests.ts" + ] +} diff --git a/types/zen-push/tslint.json b/types/zen-push/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/zen-push/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } diff --git a/types/zen-push/zen-push-tests.ts b/types/zen-push/zen-push-tests.ts new file mode 100644 index 0000000000..79abc517e8 --- /dev/null +++ b/types/zen-push/zen-push-tests.ts @@ -0,0 +1,21 @@ +import PushStream from 'zen-push'; +import * as Observable from 'zen-observable'; + +function assert(val: boolean) { + if (!val) { + throw new Error('Assertion Failure'); + } +} + +const stream1 = new PushStream<number>(); + +assert(stream1.observable instanceof Observable); +assert(typeof stream1.observed === 'number'); + +stream1.next(15); + +stream1.next(23); + +stream1.error(new Error('test 123')); + +stream1.complete(); From 2e172c942512c8ffc3f6a641de78520aa0a5f3e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Foidl?= <gue@korporal.at> Date: Thu, 12 Oct 2017 00:49:41 +0200 Subject: [PATCH 287/433] plotly.js added side and overlaying, allowing multiple y-axis (#20467) Values according official documentation. --- types/plotly.js/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/plotly.js/index.d.ts b/types/plotly.js/index.d.ts index 948623f137..863daf8085 100644 --- a/types/plotly.js/index.d.ts +++ b/types/plotly.js/index.d.ts @@ -157,6 +157,8 @@ export interface Axis { autotick: boolean; zeroline: boolean; autorange: boolean | 'reversed'; + side: "top" | "bottom" | "left" | "right"; + overlaying: "free" | "/^x([2-9]|[1-9][0-9]+)?$/" | "/^y([2-9]|[1-9][0-9]+)?$/"; } export interface ShapeLine { From 3b0846cbdd90587fcf6778ceb3ce9736e6c84480 Mon Sep 17 00:00:00 2001 From: Michael Ledin <mledin89@gmail.com> Date: Thu, 12 Oct 2017 02:11:52 +0300 Subject: [PATCH 288/433] markerclustererplus: lint, ClusterIcon, tests, fixes. (#20337) Add linting. Separate ClusterIcon from ClusterIconInfo. Remove "opt_" prefix from parameters and make them optional. Add tests. --- types/markerclustererplus/index.d.ts | 773 +++--- .../markerclustererplus-tests.ts | 2364 ++--------------- types/markerclustererplus/tslint.json | 1 + 3 files changed, 541 insertions(+), 2597 deletions(-) create mode 100644 types/markerclustererplus/tslint.json diff --git a/types/markerclustererplus/index.d.ts b/types/markerclustererplus/index.d.ts index 3a067e041f..c358ce088b 100644 --- a/types/markerclustererplus/index.d.ts +++ b/types/markerclustererplus/index.d.ts @@ -1,7 +1,9 @@ -// Type definitions for MarkerClustererPlus for Google Maps V3 2.1.1 +// Type definitions for MarkerClustererPlus for Google Maps V3 2.1 // Project: https://github.com/mahnunchik/markerclustererplus // Definitions by: Mathias Rodriguez <https://github.com/enanox> +// Michael Ledin <https://github.com/mxl> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 /// <reference types="google-maps" /> @@ -10,7 +12,7 @@ * to the {@link MarkerClusterer} constructor. The element in this array that is used to * style the cluster icon is determined by calling the <code>calculator</code> function. */ -declare interface ClusterIconStyle { +interface ClusterIconStyle { /** The URL of the cluster icon image file. Required. */ url: string; /** Height The display height (in pixels) of the cluster icon. Required. */ @@ -77,182 +79,184 @@ declare interface ClusterIconStyle { * If this value is <code>undefined</code> or <code>""</code>, <code>title</code> is set to the * value of the <code>title</code> property passed to the MarkerClusterer. */ - -declare class ClusterIconInfo extends google.maps.OverlayView { - text: string; - index: number; - title: string; - /** - * A cluster icon. - * - * @constructor - * @extends google.maps.OverlayView - * @param {Cluster} cluster The cluster with which the icon is to be associated. - * @param {Array} [styles] An array of {@link ClusterIconStyle} defining the cluster icons - * to use for various cluster sizes. - * @private - */ - constructor(cluster: Cluster, styles: ClusterIconStyle[]); - - /** - * Adds the icon to the DOM. - */ - onAdd(): void; - - /** - * Removes the icon from the DOM. - */ - onRemove(): void; - - /** - * Draws the icon. - */ - draw(): void; - - /** - * Hides the icon. - */ - hide(): void; - - /** - * Positions and shows the icon. - */ - show(): void; - - /** - * Sets the icon styles to the appropriate element in the styles array. - * - * @param {ClusterIconInfo} sums The icon label text and styles index. - */ - useStyle(sums: ClusterIconInfo[]): void; - - /** - * Sets the position at which to center the icon. - * - * @param {google.maps.LatLng} center The latlng to set as the center. - */ - setCenter(center: google.maps.LatLng): void; - - /** - * Creates the cssText style parameter based on the position of the icon. - * - * @param {google.maps.Point} pos The position of the icon. - * @return {string} The CSS style text. - */ - createCss(pos: google.maps.Point): string; - - /** - * Returns the position at which to place the DIV depending on the latlng. - * - * @param {google.maps.LatLng} latlng The position in latlng. - * @return {google.maps.Point} The position in pixels. - */ - getPosFromLatLng_(latLng: google.maps.LatLng): google.maps.Point; +interface ClusterIconInfo { + text: string; + index: number; + title: string; } -interface Cluster { - /** - * Creates a single cluster that manages a group of proximate markers. - * Used internally, do not call this constructor directly. - * @constructor - * @param {MarkerClusterer} mc The <code>MarkerClusterer</code> object with which this - * cluster is associated. - */ - new (mc: MarkerClusterer): Cluster; +declare class ClusterIcon extends google.maps.OverlayView { + /** + * A cluster icon. + * + * @constructor + * @extends google.maps.OverlayView + * @param {Cluster} cluster The cluster with which the icon is to be associated. + * @param {Array} [styles] An array of {@link ClusterIconStyle} defining the cluster icons + * to use for various cluster sizes. + * @private + */ + constructor(cluster: Cluster, styles: ClusterIconStyle[]); - /** - * Returns the number of markers managed by the cluster. You can call this from - * a <code>click</code>, <code>mouseover</code>, or <code>mouseout</code> event handler - * for the <code>MarkerClusterer</code> object. - * - * @return {number} The number of markers in the cluster. - */ - getSize(): number; + /** + * Adds the icon to the DOM. + */ + onAdd(): void; - /** - * Returns the array of markers managed by the cluster. You can call this from - * a <code>click</code>, <code>mouseover</code>, or <code>mouseout</code> event handler - * for the <code>MarkerClusterer</code> object. - * - * @return {Array} The array of markers in the cluster. - */ - getMarkers(): google.maps.Marker[]; + /** + * Removes the icon from the DOM. + */ + onRemove(): void; - /** + /** + * Draws the icon. + */ + draw(): void; + + /** + * Hides the icon. + */ + hide(): void; + + /** + * Positions and shows the icon. + */ + show(): void; + + /** + * Sets the icon styles to the appropriate element in the styles array. + * + * @param {ClusterIconInfo} style The icon label text and styles index. + */ + useStyle(style: ClusterIconInfo): void; + + /** + * Sets the position at which to center the icon. + * + * @param {google.maps.LatLng} center The latlng to set as the center. + */ + setCenter(center: google.maps.LatLng): void; + + /** + * Creates the cssText style parameter based on the position of the icon. + * + * @param {google.maps.Point} pos The position of the icon. + * @return {string} The CSS style text. + */ + createCss(pos: google.maps.Point): string; + + /** + * Returns the position at which to place the DIV depending on the latlng. + * + * @param {google.maps.LatLng} latLng The position in latlng. + * @return {google.maps.Point} The position in pixels. + */ + getPosFromLatLng_(latLng: google.maps.LatLng): google.maps.Point; +} + +declare class Cluster { + /** + * Creates a single cluster that manages a group of proximate markers. + * Used internally, do not call this constructor directly. + * @constructor + * @param {MarkerClusterer} mc The <code>MarkerClusterer</code> object with which this + * cluster is associated. + */ + constructor(mc: MarkerClusterer); + + /** + * Returns the number of markers managed by the cluster. You can call this from + * a <code>click</code>, <code>mouseover</code>, or <code>mouseout</code> event handler + * for the <code>MarkerClusterer</code> object. + * + * @return {number} The number of markers in the cluster. + */ + getSize(): number; + + /** + * Returns the array of markers managed by the cluster. You can call this from + * a <code>click</code>, <code>mouseover</code>, or <code>mouseout</code> event handler + * for the <code>MarkerClusterer</code> object. + * + * @return {Array} The array of markers in the cluster. + */ + getMarkers(): google.maps.Marker[]; + + /** * Returns the center of the cluster. You can call this from * a <code>click</code>, <code>mouseover</code>, or <code>mouseout</code> event handler * for the <code>MarkerClusterer</code> object. * * @return {google.maps.LatLng} The center of the cluster. */ - getCenter(): google.maps.LatLng; + getCenter(): google.maps.LatLng; - /** + /** * Returns the map with which the cluster is associated. * * @return {google.maps.Map} The map. * @ignore */ - getMap(): google.maps.Map; + getMap(): google.maps.Map; - /** + /** * Returns the <code>MarkerClusterer</code> object with which the cluster is associated. * * @return {MarkerClusterer} The associated marker clusterer. * @ignore */ - getMarkerClusterer(): MarkerClusterer; + getMarkerClusterer(): MarkerClusterer; - /** + /** * Returns the bounds of the cluster. * * @return {google.maps.LatLngBounds} the cluster bounds. * @ignore */ - getBounds(): google.maps.LatLngBounds; + getBounds(): google.maps.LatLngBounds; - /** + /** * Removes the cluster from the map. * * @ignore */ - remove(): void; + remove(): void; - /** + /** * Adds a marker to the cluster. * * @param {google.maps.Marker} marker The marker to be added. * @return {boolean} True if the marker was added. * @ignore */ - addMarker(marker: google.maps.Marker): boolean; + addMarker(marker: google.maps.Marker): boolean; - /** + /** * Determines if a marker lies within the cluster's bounds. * * @param {google.maps.Marker} marker The marker to check. * @return {boolean} True if the marker lies in the bounds. * @ignore */ - isMarkerInClusterBounds(marker: google.maps.Marker): boolean; + isMarkerInClusterBounds(marker: google.maps.Marker): boolean; - /** + /** * Calculates the extended bounds of the cluster with the grid. */ - calculateBounds_(): void; + calculateBounds_(): void; - /** + /** * Updates the cluster icon. */ - updateIcon_(): void; + updateIcon_(): void; - /** + /** * Determines if a marker has already been added to the cluster. * * @param {google.maps.Marker} marker The marker to check. * @return {boolean} True if the marker has already been added. */ - isMarkerAlreadyAdded_(marker: google.maps.Marker): boolean; + isMarkerAlreadyAdded_(marker: google.maps.Marker): boolean; } type Calculator = (markers: google.maps.Marker[], clusterIconStylesCount: number) => ClusterIconInfo; @@ -261,555 +265,555 @@ type Calculator = (markers: google.maps.Marker[], clusterIconStylesCount: number * Optional parameter passed to the {@link MarkerClusterer} constructor. */ interface MarkerClustererOptions { - /** [gridSize=60] The grid size of a cluster in pixels. The grid is a square. */ - gridSize?: number; - /** [maxZoom=null] The maximum zoom level at which clustering is enabled or - * <code>null</code> if clustering is to be enabled at all zoom levels. - */ - maxZoom?: number; - /** - * [zoomOnClick=true] Whether to zoom the map when a cluster marker is - * clicked. You may want to set this to <code>false</code> if you have installed a handler - * for the <code>click</code> event and it deals with zooming on its own. - */ - zoomOnClick?: boolean; - /** - * [averageCenter=false] Whether the position of a cluster marker should be - * the average position of all markers in the cluster. If set to <code>false</code>, the - * cluster marker is positioned at the location of the first marker added to the cluster. - */ - averageCenter?: boolean; - /** - * [minimumClusterSize=2] The minimum number of markers needed in a cluster - * before the markers are hidden and a cluster marker appears. - */ - minimumClusterSize?: number; - /** - * [ignoreHidden=false] Whether to ignore hidden markers in clusters. You - * may want to set this to <code>true</code> to ensure that hidden markers are not included - * in the marker count that appears on a cluster marker (this count is the value of the - * <code>text</code> property of the result returned by the default <code>calculator</code>). - * If set to <code>true</code> and you change the visibility of a marker being clustered, be - * sure to also call <code>MarkerClusterer.repaint()</code>. - */ - ignoreHidden?: boolean; - /** - * [title=""] The tooltip to display when the mouse moves over a cluster - * marker. (Alternatively, you can use a custom <code>calculator</code> function to specify a - * different tooltip for each cluster marker.) - */ - title?: string; - /** - * [calculator=MarkerClusterer.CALCULATOR] The function used to determine - * the text to be displayed on a cluster marker and the index indicating which style to use - * for the cluster marker. The input parameters for the function are (1) the array of markers - * represented by a cluster marker and (2) the number of cluster icon styles. It returns a - * {@link ClusterIconInfo} object. The default <code>calculator</code> returns a - * <code>text</code> property which is the number of markers in the cluster and an - * <code>index</code> property which is one higher than the lowest integer such that - * <code>10^i</code> exceeds the number of markers in the cluster, or the size of the styles - * array, whichever is less. The <code>styles</code> array element used has an index of - * <code>index</code> minus 1. For example, the default <code>calculator</code> returns a - * <code>text</code> value of <code>"125"</code> and an <code>index</code> of <code>3</code> - * for a cluster icon representing 125 markers so the element used in the <code>styles</code> - * array is <code>2</code>. A <code>calculator</code> may also return a <code>title</code> - * property that contains the text of the tooltip to be used for the cluster marker. If - * <code>title</code> is not defined, the tooltip is set to the value of the <code>title</code> - * property for the MarkerClusterer. - */ - calculator?: Calculator; - /** - * [clusterClass="cluster"] The name of the CSS class defining general styles - * for the cluster markers. Use this class to define CSS styles that are not set up by the code - * that processes the <code>styles</code> array. - */ - clusterClass?: string; - /** - *[styles] An array of {@link ClusterIconStyle} elements defining the styles - * of the cluster markers to be used. The element to be used to style a given cluster marker - * is determined by the function defined by the <code>calculator</code> property. - * The default is an array of {@link ClusterIconStyle} elements whose properties are derived - * from the values for <code>imagePath</code>, <code>imageExtension</code>, and - * <code>imageSizes</code>. - */ - styles?: ClusterIconStyle[]; - /** - * [enableRetinaIcons=false] Whether to allow the use of cluster icons that - * have sizes that are some multiple (typically double) of their actual display size. Icons such - * as these look better when viewed on high-resolution monitors such as Apple's Retina displays. - * Note: if this property is <code>true</code>, sprites cannot be used as cluster icons. - */ - enableRetinaIcons?: boolean; - /** - * [batchSize=MarkerClusterer.BATCH_SIZE] Set this property to the - * number of markers to be processed in a single batch when using a browser other than - * Internet Explorer (for Internet Explorer, use the batchSizeIE property instead). - */ - batchSize?: number; - /** - * [batchSizeIE=MarkerClusterer.BATCH_SIZE_IE] When Internet Explorer is - * being used, markers are processed in several batches with a small delay inserted between - * each batch in an attempt to avoid Javascript timeout errors. Set this property to the - * number of markers to be processed in a single batch; select as high a number as you can - * without causing a timeout error in the browser. This number might need to be as low as 100 - * if 15,000 markers are being managed, for example. - */ - batchSizeIE?: number; - /** - * [imagePath=MarkerClusterer.IMAGE_PATH] - * The full URL of the root name of the group of image files to use for cluster icons. - * The complete file name is of the form <code>imagePath</code>n.<code>imageExtension</code> - * where n is the image file number (1, 2, etc.). - */ - imagePath?: string; - /** - * [imageExtension=MarkerClusterer.IMAGE_EXTENSION] - * The extension name for the cluster icon image files (e.g., <code>"png"</code> or - * <code>"jpg"</code>). - */ - imageExtension?: string; - /** - * [imageSizes=MarkerClusterer.IMAGE_SIZES] - * An array of numbers containing the widths of the group of - * <code>imagePath</code>n.<code>imageExtension</code> image files. - * (The images are assumed to be square.) - */ - imageSizes?: number[]; + /** [gridSize=60] The grid size of a cluster in pixels. The grid is a square. */ + gridSize?: number; + /** [maxZoom=null] The maximum zoom level at which clustering is enabled or + * <code>null</code> if clustering is to be enabled at all zoom levels. + */ + maxZoom?: number; + /** + * [zoomOnClick=true] Whether to zoom the map when a cluster marker is + * clicked. You may want to set this to <code>false</code> if you have installed a handler + * for the <code>click</code> event and it deals with zooming on its own. + */ + zoomOnClick?: boolean; + /** + * [averageCenter=false] Whether the position of a cluster marker should be + * the average position of all markers in the cluster. If set to <code>false</code>, the + * cluster marker is positioned at the location of the first marker added to the cluster. + */ + averageCenter?: boolean; + /** + * [minimumClusterSize=2] The minimum number of markers needed in a cluster + * before the markers are hidden and a cluster marker appears. + */ + minimumClusterSize?: number; + /** + * [ignoreHidden=false] Whether to ignore hidden markers in clusters. You + * may want to set this to <code>true</code> to ensure that hidden markers are not included + * in the marker count that appears on a cluster marker (this count is the value of the + * <code>text</code> property of the result returned by the default <code>calculator</code>). + * If set to <code>true</code> and you change the visibility of a marker being clustered, be + * sure to also call <code>MarkerClusterer.repaint()</code>. + */ + ignoreHidden?: boolean; + /** + * [title=""] The tooltip to display when the mouse moves over a cluster + * marker. (Alternatively, you can use a custom <code>calculator</code> function to specify a + * different tooltip for each cluster marker.) + */ + title?: string; + /** + * [calculator=MarkerClusterer.CALCULATOR] The function used to determine + * the text to be displayed on a cluster marker and the index indicating which style to use + * for the cluster marker. The input parameters for the function are (1) the array of markers + * represented by a cluster marker and (2) the number of cluster icon styles. It returns a + * {@link ClusterIconInfo} object. The default <code>calculator</code> returns a + * <code>text</code> property which is the number of markers in the cluster and an + * <code>index</code> property which is one higher than the lowest integer such that + * <code>10^i</code> exceeds the number of markers in the cluster, or the size of the styles + * array, whichever is less. The <code>styles</code> array element used has an index of + * <code>index</code> minus 1. For example, the default <code>calculator</code> returns a + * <code>text</code> value of <code>"125"</code> and an <code>index</code> of <code>3</code> + * for a cluster icon representing 125 markers so the element used in the <code>styles</code> + * array is <code>2</code>. A <code>calculator</code> may also return a <code>title</code> + * property that contains the text of the tooltip to be used for the cluster marker. If + * <code>title</code> is not defined, the tooltip is set to the value of the <code>title</code> + * property for the MarkerClusterer. + */ + calculator?: Calculator; + /** + * [clusterClass="cluster"] The name of the CSS class defining general styles + * for the cluster markers. Use this class to define CSS styles that are not set up by the code + * that processes the <code>styles</code> array. + */ + clusterClass?: string; + /** + * [styles] An array of {@link ClusterIconStyle} elements defining the styles + * of the cluster markers to be used. The element to be used to style a given cluster marker + * is determined by the function defined by the <code>calculator</code> property. + * The default is an array of {@link ClusterIconStyle} elements whose properties are derived + * from the values for <code>imagePath</code>, <code>imageExtension</code>, and + * <code>imageSizes</code>. + */ + styles?: ClusterIconStyle[]; + /** + * [enableRetinaIcons=false] Whether to allow the use of cluster icons that + * have sizes that are some multiple (typically double) of their actual display size. Icons such + * as these look better when viewed on high-resolution monitors such as Apple's Retina displays. + * Note: if this property is <code>true</code>, sprites cannot be used as cluster icons. + */ + enableRetinaIcons?: boolean; + /** + * [batchSize=MarkerClusterer.BATCH_SIZE] Set this property to the + * number of markers to be processed in a single batch when using a browser other than + * Internet Explorer (for Internet Explorer, use the batchSizeIE property instead). + */ + batchSize?: number; + /** + * [batchSizeIE=MarkerClusterer.BATCH_SIZE_IE] When Internet Explorer is + * being used, markers are processed in several batches with a small delay inserted between + * each batch in an attempt to avoid Javascript timeout errors. Set this property to the + * number of markers to be processed in a single batch; select as high a number as you can + * without causing a timeout error in the browser. This number might need to be as low as 100 + * if 15,000 markers are being managed, for example. + */ + batchSizeIE?: number; + /** + * [imagePath=MarkerClusterer.IMAGE_PATH] + * The full URL of the root name of the group of image files to use for cluster icons. + * The complete file name is of the form <code>imagePath</code>n.<code>imageExtension</code> + * where n is the image file number (1, 2, etc.). + */ + imagePath?: string; + /** + * [imageExtension=MarkerClusterer.IMAGE_EXTENSION] + * The extension name for the cluster icon image files (e.g., <code>"png"</code> or + * <code>"jpg"</code>). + */ + imageExtension?: string; + /** + * [imageSizes=MarkerClusterer.IMAGE_SIZES] + * An array of numbers containing the widths of the group of + * <code>imagePath</code>n.<code>imageExtension</code> image files. + * (The images are assumed to be square.) + */ + imageSizes?: number[]; } -interface MarkerClusterer extends google.maps.OverlayView { - /** +declare class MarkerClusterer extends google.maps.OverlayView { + /** * Creates a MarkerClusterer object with the options specified in {@link MarkerClustererOptions}. * @constructor * @extends google.maps.OverlayView * @param {google.maps.Map} map The Google map to attach to. - * @param {Array.<google.maps.Marker>} [opt_markers] The markers to be added to the cluster. - * @param {MarkerClustererOptions} [opt_options] The optional parameters. + * @param {Array.<google.maps.Marker>} [markers] The markers to be added to the cluster. + * @param {MarkerClustererOptions} [options] The optional parameters. */ - new (map: google.maps.Map, opt_markers: google.maps.Marker[], opt_options?: MarkerClustererOptions): MarkerClusterer; + constructor(map: google.maps.Map, markers?: google.maps.Marker[], options?: MarkerClustererOptions); - /** + /** * Implementation of the onAdd interface method. * @ignore */ - onAdd(): void; + onAdd(): void; - /** + /** * Implementation of the onRemove interface method. * Removes map event listeners and all cluster icons from the DOM. * All managed markers are also put back on the map. * @ignore */ - onRemove(): void; + onRemove(): void; - /** + /** * Implementation of the draw interface method. * @ignore */ - draw(): void; + draw(): void; - /** + /** * Sets up the styles object. */ - setupStyles_(): void; + setupStyles_(): void; - /** + /** * Fits the map to the bounds of the markers managed by the clusterer. */ - fitMapToMarkers(): void; + fitMapToMarkers(): void; - /** + /** * Returns the value of the <code>gridSize</code> property. * * @return {number} The grid size. */ - getGridSize(): number; + getGridSize(): number; - /** + /** * Sets the value of the <code>gridSize</code> property. * * @param {number} gridSize The grid size. */ - setGridSize(gridSize: number): void; + setGridSize(gridSize: number): void; - /** + /** * Returns the value of the <code>minimumClusterSize</code> property. * * @return {number} The minimum cluster size. */ - getMinimumClusterSize(): number; + getMinimumClusterSize(): number; - /** + /** * Sets the value of the <code>minimumClusterSize</code> property. * * @param {number} minimumClusterSize The minimum cluster size. */ - setMinimumClusterSize(minimumClusterSize: number): void; + setMinimumClusterSize(minimumClusterSize: number): void; - /** + /** * Returns the value of the <code>maxZoom</code> property. * * @return {number} The maximum zoom level. */ - getMaxZoom(): number; + getMaxZoom(): number; - /** + /** * Sets the value of the <code>maxZoom</code> property. * * @param {number} maxZoom The maximum zoom level. */ - setMaxZoom(maxZoom: number): void; + setMaxZoom(maxZoom: number): void; - /** + /** * Returns the value of the <code>styles</code> property. * * @return {Array} The array of styles defining the cluster markers to be used. */ - getStyles(): ClusterIconStyle[]; + getStyles(): ClusterIconStyle[]; - /** + /** * Sets the value of the <code>styles</code> property. * * @param {Array.<ClusterIconStyle>} styles The array of styles to use. */ - setStyles(styles: ClusterIconStyle[]): void; + setStyles(styles: ClusterIconStyle[]): void; - /** + /** * Returns the value of the <code>title</code> property. * * @return {string} The content of the title text. */ - getTitle(): string; + getTitle(): string; - /** + /** * Sets the value of the <code>title</code> property. * * @param {string} title The value of the title property. */ - setTitle(title: string): void; + setTitle(title: string): void; - /** + /** * Returns the value of the <code>zoomOnClick</code> property. * * @return {boolean} True if zoomOnClick property is set. */ - getZoomOnClick(): boolean; + getZoomOnClick(): boolean; - /** + /** * Sets the value of the <code>zoomOnClick</code> property. * * @param {boolean} zoomOnClick The value of the zoomOnClick property. */ - setZoomOnClick(zoomOnClick: boolean): void; + setZoomOnClick(zoomOnClick: boolean): void; - /** + /** * Returns the value of the <code>averageCenter</code> property. * * @return {boolean} True if averageCenter property is set. */ - getAverageCenter(): boolean; + getAverageCenter(): boolean; - /** + /** * Sets the value of the <code>averageCenter</code> property. * * @param {boolean} averageCenter The value of the averageCenter property. */ - setAverageCenter(averageCenter: boolean): void; + setAverageCenter(averageCenter: boolean): void; - /** + /** * Returns the value of the <code>ignoreHidden</code> property. * * @return {boolean} True if ignoreHidden property is set. */ - getIgnoreHidden(): boolean; + getIgnoreHidden(): boolean; - /** + /** * Sets the value of the <code>ignoreHidden</code> property. * * @param {boolean} ignoreHidden The value of the ignoreHidden property. */ - setIgnoreHidden(ignoreHidden: boolean): void; + setIgnoreHidden(ignoreHidden: boolean): void; - /** + /** * Returns the value of the <code>enableRetinaIcons</code> property. * * @return {boolean} True if enableRetinaIcons property is set. */ - getEnableRetinaIcons(): boolean; + getEnableRetinaIcons(): boolean; - /** + /** * Sets the value of the <code>enableRetinaIcons</code> property. * * @param {boolean} enableRetinaIcons The value of the enableRetinaIcons property. */ - setEnableRetinaIcons(enableRetinaIcons: boolean): void; + setEnableRetinaIcons(enableRetinaIcons: boolean): void; - /** + /** * Returns the value of the <code>imageExtension</code> property. * * @return {string} The value of the imageExtension property. */ - getImageExtension(): string; + getImageExtension(): string; - /** + /** * Sets the value of the <code>imageExtension</code> property. * * @param {string} imageExtension The value of the imageExtension property. */ - setImageExtension(imageExtension: string): void; + setImageExtension(imageExtension: string): void; - /** + /** * Returns the value of the <code>imagePath</code> property. * * @return {string} The value of the imagePath property. */ - getImagePath(): string; + getImagePath(): string; - /** - * Sets the value of the <code>imagePath</code> property. - * - * @param {string} imagePath The value of the imagePath property. - */ - setImagePath(imagePath: string): void; + /** + * Sets the value of the <code>imagePath</code> property. + * + * @param {string} imagePath The value of the imagePath property. + */ + setImagePath(imagePath: string): void; - /** + /** * Returns the value of the <code>imageSizes</code> property. * * @return {Array} The value of the imageSizes property. */ - getImageSizes(): number[]; + getImageSizes(): number[]; - /** + /** * Sets the value of the <code>imageSizes</code> property. * * @param {Array} imageSizes The value of the imageSizes property. */ - setImageSizes(imageSizes: number[]): void; + setImageSizes(imageSizes: number[]): void; - /** + /** * Returns the value of the <code>calculator</code> property. * * @return {function} the value of the calculator property. */ - getCalculator(): Calculator; + getCalculator(): Calculator; - /** + /** * Sets the value of the <code>calculator</code> property. * * @param {function(Array.<google.maps.Marker>, number)} calculator The value * of the calculator property. */ - setCalculator(calculator: Calculator): void; + setCalculator(calculator: Calculator): void; - /** + /** * Sets the value of the <code>hideLabel</code> property. * * @param {boolean} printable The value of the hideLabel property. */ - setHideLabel(printable: boolean): void; + setHideLabel(printable: boolean): void; - /** + /** * Returns the value of the <code>hideLabel</code> property. * * @return {boolean} the value of the hideLabel property. */ - getHideLabel(): boolean; + getHideLabel(): boolean; - /** + /** * Returns the value of the <code>batchSizeIE</code> property. * * @return {number} the value of the batchSizeIE property. */ - getBatchSizeIE(): number; + getBatchSizeIE(): number; - /** + /** * Sets the value of the <code>batchSizeIE</code> property. * * @param {number} batchSizeIE The value of the batchSizeIE property. */ - setBatchSizeIE(batchSizeIE: number): void; + setBatchSizeIE(batchSizeIE: number): void; - /** + /** * Returns the value of the <code>clusterClass</code> property. * * @return {string} the value of the clusterClass property. */ - getClusterClass(): string; + getClusterClass(): string; - /** + /** * Sets the value of the <code>clusterClass</code> property. * * @param {string} clusterClass The value of the clusterClass property. */ - setClusterClass(clusterClass: string): void; + setClusterClass(clusterClass: string): void; - /** + /** * Returns the array of markers managed by the clusterer. * * @return {Array} The array of markers managed by the clusterer. */ getMarkers(): google.maps.Marker[]; - /** + /** * Returns the number of markers managed by the clusterer. * * @return {number} The number of markers. */ - getTotalMarkers(): number; + getTotalMarkers(): number; - /** + /** * Returns the current array of clusters formed by the clusterer. * * @return {Array} The array of clusters formed by the clusterer. */ - getClusters(): Cluster[]; + getClusters(): Cluster[]; - /** + /** * Returns the number of clusters formed by the clusterer. * * @return {number} The number of clusters formed by the clusterer. */ - getTotalClusters(): number; + getTotalClusters(): number; - /** + /** * Adds a marker to the clusterer. The clusters are redrawn unless - * <code>opt_nodraw</code> is set to <code>true</code>. + * <code>noDraw</code> is set to <code>true</code>. * * @param {google.maps.Marker} marker The marker to add. - * @param {boolean} [opt_nodraw] Set to <code>true</code> to prevent redrawing. + * @param {boolean} [noDraw] Set to <code>true</code> to prevent redrawing. */ - addMarker(marker: google.maps.Marker, opt_nodraw: boolean): void; + addMarker(marker: google.maps.Marker, noDraw?: boolean): void; - /** + /** * Adds an array of markers to the clusterer. The clusters are redrawn unless - * <code>opt_nodraw</code> is set to <code>true</code>. + * <code>noDraw</code> is set to <code>true</code>. * * @param {Array.<google.maps.Marker>} markers The markers to add. - * @param {boolean} [opt_nodraw] Set to <code>true</code> to prevent redrawing. + * @param {boolean} [noDraw] Set to <code>true</code> to prevent redrawing. */ - addMarkers(markers: google.maps.Marker[], opt_nodraw: boolean): void; + addMarkers(markers: google.maps.Marker[], noDraw?: boolean): void; - /** + /** * Pushes a marker to the clusterer. * * @param {google.maps.Marker} marker The marker to add. */ - pushMarkerTo_(marker: google.maps.Marker): void; + pushMarkerTo_(marker: google.maps.Marker): void; - /** + /** * Removes a marker from the cluster and map. The clusters are redrawn unless - * <code>opt_nodraw</code> is set to <code>true</code>. Returns <code>true</code> if the + * <code>noDraw</code> is set to <code>true</code>. Returns <code>true</code> if the * marker was removed from the clusterer. * * @param {google.maps.Marker} marker The marker to remove. - * @param {boolean} [opt_nodraw] Set to <code>true</code> to prevent redrawing. - * @param {boolean} [opt_noMapRemove] Set to <code>true</code> to prevent removal from map but still removing from cluster management + * @param {boolean} [noDraw] Set to <code>true</code> to prevent redrawing. + * @param {boolean} [noMapRemove] Set to <code>true</code> to prevent removal from map but still removing from cluster management * @return {boolean} True if the marker was removed from the clusterer. */ - removeMarker(marker: google.maps.Marker, opt_nodraw: boolean, noMapRemove: boolean): boolean; + removeMarker(marker: google.maps.Marker, noDraw?: boolean, noMapRemove?: boolean): boolean; - /** + /** * Removes an array of markers from the cluster and map. The clusters are redrawn unless - * <code>opt_nodraw</code> is set to <code>true</code>. Returns <code>true</code> if markers + * <code>noDraw</code> is set to <code>true</code>. Returns <code>true</code> if markers * were removed from the clusterer. * * @param {Array.<google.maps.Marker>} markers The markers to remove. - * @param {boolean} [opt_nodraw] Set to <code>true</code> to prevent redrawing. - * @param {boolean} [opt_noMapRemove] Set to <code>true</code> to prevent removal from map but still removing from cluster management + * @param {boolean} [noDraw] Set to <code>true</code> to prevent redrawing. + * @param {boolean} [noMapRemove] Set to <code>true</code> to prevent removal from map but still removing from cluster management * @return {boolean} True if markers were removed from the clusterer. */ - removeMarkers(markers: google.maps.Marker[], opt_nodraw: boolean, opt_noMapRemove: boolean): boolean; + removeMarkers(markers: google.maps.Marker[], noDraw?: boolean, noMapRemove?: boolean): boolean; - /** + /** * Removes a marker and returns true if removed, false if not. * * @param {google.maps.Marker} marker The marker to remove * @param {boolean} removeFromMap set to <code>true</code> to explicitly remove from map as well as cluster manangement * @return {boolean} Whether the marker was removed or not */ - removeMarker_(marker: google.maps.Marker, removeFromMap: boolean): boolean; + removeMarker_(marker: google.maps.Marker, removeFromMap?: boolean): boolean; - /** + /** * Removes all clusters and markers from the map and also removes all markers * managed by the clusterer. */ - clearMarkers(): void; + clearMarkers(): void; - /** + /** * Recalculates and redraws all the marker clusters from scratch. * Call this after changing any properties. */ - repaint(): void; + repaint(): void; - /** + /** * Returns the current bounds extended by the grid size. * * @param {google.maps.LatLngBounds} bounds The bounds to extend. * @return {google.maps.LatLngBounds} The extended bounds. * @ignore */ - getExtendedBounds(bounds: google.maps.LatLngBounds): google.maps.LatLngBounds; + getExtendedBounds(bounds: google.maps.LatLngBounds): google.maps.LatLngBounds; - /** + /** * Redraws all the clusters. */ - redraw_(): void; + redraw_(): void; - /** + /** * Removes all clusters from the map. The markers are also removed from the map - * if <code>opt_hide</code> is set to <code>true</code>. + * if <code>hide</code> is set to <code>true</code>. * - * @param {boolean} [opt_hide] Set to <code>true</code> to also remove the markers + * @param {boolean} [hide] Set to <code>true</code> to also remove the markers * from the map. */ - resetViewport_(opt_hide: boolean): void; + resetViewport_(hide?: boolean): void; - /** + /** * Calculates the distance between two latlng locations in km. * * @param {google.maps.LatLng} p1 The first lat lng point. * @param {google.maps.LatLng} p2 The second lat lng point. * @return {number} The distance between the two points in km. * @see http://www.movable-type.co.uk/scripts/latlong.html - */ - distanceBetweenPoints_(p1: google.maps.LatLng, p2: google.maps.LatLng): number; + */ + distanceBetweenPoints_(p1: google.maps.LatLng, p2: google.maps.LatLng): number; - /** + /** * Determines if a marker is contained in a bounds. * * @param {google.maps.Marker} marker The marker to check. * @param {google.maps.LatLngBounds} bounds The bounds to check against. * @return {boolean} True if the marker is in the bounds. */ - isMarkerInBounds_(marker: google.maps.Marker, bounds: google.maps.LatLngBounds): boolean; + isMarkerInBounds_(marker: google.maps.Marker, bounds: google.maps.LatLngBounds): boolean; - /** + /** * Adds a marker to a cluster, or creates a new cluster. * * @param {google.maps.Marker} marker The marker to add. */ - addToClosestCluster_(marker: google.maps.Marker): void; + addToClosestCluster_(marker: google.maps.Marker): void; - /** + /** * Creates the clusters. This is done in batches to avoid timeout errors * in some browsers when there is a huge number of markers. * * @param {number} iFirst The index of the first marker in the batch of * markers to be added to clusters. */ - createClusters_(iFirst: number): void; + createClusters_(iFirst: number): void; - /** + /** * Extends an object's prototype by another's. * - * @param {Object} obj1 The object to be extended. - * @param {Object} obj2 The object to extend with. - * @return {Object} The new extended object. + * @param {object} obj1 The object to be extended. + * @param {object} obj2 The object to extend with. + * @return {object} The new extended object. * @ignore */ - extend(obj1: Object, obj2: Object): Object; + extend(obj1: object, obj2: object): object; - /** + /** * The default function for determining the label text and style * for a cluster icon. * @@ -819,52 +823,49 @@ interface MarkerClusterer extends google.maps.OverlayView { * @constant * @ignore */ - CALCULATOR: Calculator; + static CALCULATOR: Calculator; - /** + /** * The number of markers to process in one batch. * * @type {number} * @constant */ - BATCH_SIZE: number; + static BATCH_SIZE: number; - /** + /** * The number of markers to process in one batch (IE only). * * @type {number} * @constant */ - BATCH_SIZE_IE: number; + static BATCH_SIZE_IE: number; - /** + /** * The default root name for the marker cluster images. * * @type {string} * @constant */ - IMAGE_PATH: string; + static IMAGE_PATH: string; - /** + /** * The default extension name for the marker cluster images. * * @type {string} * @constant */ - IMAGE_EXTENSION: string; + static IMAGE_EXTENSION: string; - /** + /** * The default array of sizes for the marker cluster images. * * @type {Array.<number>} * @constant */ - IMAGE_SIZES: number[]; - + static IMAGE_SIZES: number[]; } -declare var MarkerClusterer: MarkerClusterer; - interface String { - trim(): string; + trim(): string; } diff --git a/types/markerclustererplus/markerclustererplus-tests.ts b/types/markerclustererplus/markerclustererplus-tests.ts index ccdbd72f98..bdb756dca5 100644 --- a/types/markerclustererplus/markerclustererplus-tests.ts +++ b/types/markerclustererplus/markerclustererplus-tests.ts @@ -1,2214 +1,156 @@ -namespace MarkerClusterApp { - export function simple_test() { - var center = new google.maps.LatLng(37.4419, -122.1419); - var map = new google.maps.Map(document.getElementById('map'), { - zoom: 3, - center: center, - mapTypeId: google.maps.MapTypeId.ROADMAP - }); - - var markers: google.maps.Marker[] = []; - for (var i = 0; i < 100; i++) { - var dataPhoto = data.photos[i]; - var latLng = new google.maps.LatLng(dataPhoto.latitude, dataPhoto.longitude); - var marker = new google.maps.Marker({ position: latLng }); - markers.push(marker); - } - var markerCluster = new MarkerClusterer(map, markers); +const m = new google.maps.Marker(); +const p = new google.maps.LatLng(0, 0); +const b = new google.maps.LatLngBounds(p, p); +const iconStyles: ClusterIconStyle[] = [ + { + url: "http://example.com", + height: 1, + width: 1, + anchorText: [0, 0], + anchorIcon: [0, 0], + textColor: "red", + textSize: 1, + textDecoration: "underline", + fontWeight: "bold", + fontStyle: "italic", + fontFamily: "Arial", + backgroundPosition: "center" + }, + { + url: "http://example.com", + height: 1, + width: 1 } - - export function init() { - google.maps.event.addDomListener(window, 'load', simple_test); - } - - // Dummy data from http://cdn.rawgit.com/mahnunchik/markerclustererplus/master/src/data.json - var data = { - "count": 10785236, - "photos": [{"photo_id": 27932, "photo_title": "Atardecer en Embalse", "photo_url": "http://www.panoramio.com/photo/27932", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/27932.jpg", "longitude": -64.404945, "latitude": -32.202924, "width": 500, "height": 375, "upload_date": "25 June 2006", "owner_id": 4483, "owner_name": "Miguel Coranti", "owner_url": "http://www.panoramio.com/user/4483"} - , - {"photo_id": 522084, "photo_title": "In Memoriam Antoine de Saint Exupéry", "photo_url": "http://www.panoramio.com/photo/522084", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/522084.jpg", "longitude": 17.470493, "latitude": 47.867077, "width": 500, "height": 350, "upload_date": "21 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 1578881, "photo_title": "Rosina Lamberti,Sunset,Templestowe , Victoria, Australia", "photo_url": "http://www.panoramio.com/photo/1578881", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1578881.jpg", "longitude": 145.141754, "latitude": -37.766372, "width": 500, "height": 474, "upload_date": "01 April 2007", "owner_id": 140796, "owner_name": "rosina lamberti", "owner_url": "http://www.panoramio.com/user/140796"} - , - {"photo_id": 97671, "photo_title": "kin-dza-dza", "photo_url": "http://www.panoramio.com/photo/97671", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/97671.jpg", "longitude": 30.785408, "latitude": 46.639301, "width": 500, "height": 375, "upload_date": "09 December 2006", "owner_id": 13058, "owner_name": "Kyryl", "owner_url": "http://www.panoramio.com/user/13058"} - , - {"photo_id": 25514, "photo_title": "Arenal", "photo_url": "http://www.panoramio.com/photo/25514", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/25514.jpg", "longitude": -84.693432, "latitude": 10.479372, "width": 500, "height": 375, "upload_date": "17 June 2006", "owner_id": 4112, "owner_name": "Roberto Garcia", "owner_url": "http://www.panoramio.com/user/4112"} - , - {"photo_id": 57823, "photo_title": "Maria Alm", "photo_url": "http://www.panoramio.com/photo/57823", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/57823.jpg", "longitude": 12.900009, "latitude": 47.409968, "width": 500, "height": 333, "upload_date": "05 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 532693, "photo_title": "Wheatfield in afternoon light", "photo_url": "http://www.panoramio.com/photo/532693", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/532693.jpg", "longitude": 11.272659, "latitude": 59.637472, "width": 500, "height": 333, "upload_date": "22 January 2007", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 57819, "photo_title": "Burg Hohenwerfen", "photo_url": "http://www.panoramio.com/photo/57819", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/57819.jpg", "longitude": 13.189259, "latitude": 47.483221, "width": 500, "height": 333, "upload_date": "05 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 1282387, "photo_title": "Thunderstorm in Martinique", "photo_url": "http://www.panoramio.com/photo/1282387", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1282387.jpg", "longitude": -61.013432, "latitude": 14.493688, "width": 500, "height": 400, "upload_date": "12 March 2007", "owner_id": 49870, "owner_name": "Jean-Michel Raggioli", "owner_url": "http://www.panoramio.com/user/49870"} - , - {"photo_id": 945976, "photo_title": "Al tard", "photo_url": "http://www.panoramio.com/photo/945976", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/945976.jpg", "longitude": 0.490866, "latitude": 40.903783, "width": 335, "height": 500, "upload_date": "21 February 2007", "owner_id": 3022, "owner_name": "Arcadi", "owner_url": "http://www.panoramio.com/user/3022"} - , - {"photo_id": 73514, "photo_title": "Hintersee bei Ramsau", "photo_url": "http://www.panoramio.com/photo/73514", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/73514.jpg", "longitude": 12.852459, "latitude": 47.609519, "width": 500, "height": 333, "upload_date": "30 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 298967, "photo_title": "Antelope Canyon, Ray of Light", "photo_url": "http://www.panoramio.com/photo/298967", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/298967.jpg", "longitude": -111.407890, "latitude": 36.894037, "width": 500, "height": 375, "upload_date": "04 January 2007", "owner_id": 64388, "owner_name": "Artusi", "owner_url": "http://www.panoramio.com/user/64388"} - , - {"photo_id": 88151, "photo_title": "Val Verzasca - Switzerland", "photo_url": "http://www.panoramio.com/photo/88151", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/88151.jpg", "longitude": 8.838158, "latitude": 46.257746, "width": 500, "height": 375, "upload_date": "28 November 2006", "owner_id": 11098, "owner_name": "Michele Masnata", "owner_url": "http://www.panoramio.com/user/11098"} - , - {"photo_id": 6463, "photo_title": "Guggenheim and spider", "photo_url": "http://www.panoramio.com/photo/6463", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6463.jpg", "longitude": -2.933736, "latitude": 43.269159, "width": 500, "height": 375, "upload_date": "09 January 2006", "owner_id": 414, "owner_name": "Sonia Villegas", "owner_url": "http://www.panoramio.com/user/414"} - , - {"photo_id": 107980, "photo_title": "Mostar", "photo_url": "http://www.panoramio.com/photo/107980", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/107980.jpg", "longitude": 17.815200, "latitude": 43.337255, "width": 369, "height": 500, "upload_date": "10 December 2006", "owner_id": 12954, "owner_name": "Ziębol", "owner_url": "http://www.panoramio.com/user/12954"} - , - {"photo_id": 9439, "photo_title": "Bora Bora", "photo_url": "http://www.panoramio.com/photo/9439", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9439.jpg", "longitude": -151.750000, "latitude": -16.500000, "width": 500, "height": 375, "upload_date": "02 February 2006", "owner_id": 1600, "owner_name": "heavenearth", "owner_url": "http://www.panoramio.com/user/1600"} - , - {"photo_id": 673131, "photo_title": "Nivane in Ørsta", "photo_url": "http://www.panoramio.com/photo/673131", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/673131.jpg", "longitude": 6.108742, "latitude": 62.226676, "width": 500, "height": 334, "upload_date": "03 February 2007", "owner_id": 56091, "owner_name": "Kjetil Vaage Øie", "owner_url": "http://www.panoramio.com/user/56091"} - , - {"photo_id": 346269, "photo_title": "italy-toscany", "photo_url": "http://www.panoramio.com/photo/346269", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/346269.jpg", "longitude": 11.616282, "latitude": 43.064389, "width": 500, "height": 334, "upload_date": "08 January 2007", "owner_id": 69671, "owner_name": "illusandpics.com", "owner_url": "http://www.panoramio.com/user/69671"} - , - {"photo_id": 290039, "photo_title": "Gentoo Penguins at Sunrise", "photo_url": "http://www.panoramio.com/photo/290039", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/290039.jpg", "longitude": -59.070311, "latitude": -52.430295, "width": 500, "height": 284, "upload_date": "03 January 2007", "owner_id": 61890, "owner_name": "enriquevidalphoto.com", "owner_url": "http://www.panoramio.com/user/61890"} - , - {"photo_id": 1870141, "photo_title": "Les Mines", "photo_url": "http://www.panoramio.com/photo/1870141", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1870141.jpg", "longitude": 1.314712, "latitude": 45.922199, "width": 500, "height": 379, "upload_date": "21 April 2007", "owner_id": 372189, "owner_name": "Phil©", "owner_url": "http://www.panoramio.com/user/372189"} - , - {"photo_id": 516809, "photo_title": "Az őrszem", "photo_url": "http://www.panoramio.com/photo/516809", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/516809.jpg", "longitude": 18.239279, "latitude": 47.535341, "width": 500, "height": 286, "upload_date": "21 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 67347, "photo_title": "Amanecer en el Salar de Uyuni", "photo_url": "http://www.panoramio.com/photo/67347", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/67347.jpg", "longitude": -67.549438, "latitude": -20.552438, "width": 500, "height": 375, "upload_date": "20 October 2006", "owner_id": 9080, "owner_name": "Marco Teodonio", "owner_url": "http://www.panoramio.com/user/9080"} - , - {"photo_id": 405822, "photo_title": "tulip", "photo_url": "http://www.panoramio.com/photo/405822", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/405822.jpg", "longitude": 139.011619, "latitude": 37.871500, "width": 500, "height": 386, "upload_date": "13 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 233619, "photo_title": "Warsaw Bridge 01 [www.wierzchon.com]", "photo_url": "http://www.panoramio.com/photo/233619", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/233619.jpg", "longitude": 21.035728, "latitude": 52.242353, "width": 500, "height": 500, "upload_date": "25 December 2006", "owner_id": 47836, "owner_name": "Andrzej Wierzchon", "owner_url": "http://www.panoramio.com/user/47836"} - , - {"photo_id": 1516726, "photo_title": "Облако над вулканом Камень. www.photo-sturm.ru", "photo_url": "http://www.panoramio.com/photo/1516726", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1516726.jpg", "longitude": 160.587502, "latitude": 56.081999, "width": 414, "height": 500, "upload_date": "27 March 2007", "owner_id": 268724, "owner_name": "Korotnev AV", "owner_url": "http://www.panoramio.com/user/268724"} - , - {"photo_id": 70975, "photo_title": "Hospiz", "photo_url": "http://www.panoramio.com/photo/70975", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/70975.jpg", "longitude": 8.024461, "latitude": 46.245801, "width": 500, "height": 500, "upload_date": "26 October 2006", "owner_id": 9379, "owner_name": "Davide Bernacchi", "owner_url": "http://www.panoramio.com/user/9379"} - , - {"photo_id": 882660, "photo_title": "icy_chains_1_hdr_web", "photo_url": "http://www.panoramio.com/photo/882660", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/882660.jpg", "longitude": -79.798197, "latitude": 43.321353, "width": 500, "height": 333, "upload_date": "18 February 2007", "owner_id": 17488, "owner_name": "John Gillett", "owner_url": "http://www.panoramio.com/user/17488"} - , - {"photo_id": 9363990, "photo_title": "Marble Cave", "photo_url": "http://www.panoramio.com/photo/9363990", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9363990.jpg", "longitude": -72.607527, "latitude": -46.647138, "width": 500, "height": 375, "upload_date": "14 April 2008", "owner_id": 947917, "owner_name": "Dejah", "owner_url": "http://www.panoramio.com/user/947917"} - , - {"photo_id": 1884507, "photo_title": "fukushimagata", "photo_url": "http://www.panoramio.com/photo/1884507", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1884507.jpg", "longitude": 139.243813, "latitude": 37.909669, "width": 500, "height": 384, "upload_date": "22 April 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 1343502, "photo_title": "вулкан Карымский", "photo_url": "http://www.panoramio.com/photo/1343502", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1343502.jpg", "longitude": 159.480114, "latitude": 54.025419, "width": 500, "height": 334, "upload_date": "16 March 2007", "owner_id": 268724, "owner_name": "Korotnev AV", "owner_url": "http://www.panoramio.com/user/268724"} - , - {"photo_id": 97723, "photo_title": "Torrent de pareis", "photo_url": "http://www.panoramio.com/photo/97723", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/97723.jpg", "longitude": 2.805762, "latitude": 39.852352, "width": 401, "height": 500, "upload_date": "09 December 2006", "owner_id": 13121, "owner_name": "Andreas G.M.", "owner_url": "http://www.panoramio.com/user/13121"} - , - {"photo_id": 537672, "photo_title": "Sr. da Pedra", "photo_url": "http://www.panoramio.com/photo/537672", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/537672.jpg", "longitude": -8.659008, "latitude": 41.068821, "width": 500, "height": 366, "upload_date": "23 January 2007", "owner_id": 115618, "owner_name": "Paulo J Moreira", "owner_url": "http://www.panoramio.com/user/115618"} - , - {"photo_id": 204924, "photo_title": "zaldiak", "photo_url": "http://www.panoramio.com/photo/204924", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/204924.jpg", "longitude": -1.806951, "latitude": 43.245140, "width": 500, "height": 346, "upload_date": "21 December 2006", "owner_id": 2575, "owner_name": "mikel ortega", "owner_url": "http://www.panoramio.com/user/2575"} - , - {"photo_id": 114795, "photo_title": "TIBAUM-BIZZAR", "photo_url": "http://www.panoramio.com/photo/114795", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/114795.jpg", "longitude": 7.706180, "latitude": 51.665741, "width": 334, "height": 500, "upload_date": "11 December 2006", "owner_id": 13121, "owner_name": "Andreas G.M.", "owner_url": "http://www.panoramio.com/user/13121"} - , - {"photo_id": 1287881, "photo_title": "Aurora borealis", "photo_url": "http://www.panoramio.com/photo/1287881", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1287881.jpg", "longitude": 44.215508, "latitude": 65.829148, "width": 500, "height": 205, "upload_date": "12 March 2007", "owner_id": 75359, "owner_name": "Andrey Larin", "owner_url": "http://www.panoramio.com/user/75359"} - , - {"photo_id": 1781717, "photo_title": "Water Cuts Rock", "photo_url": "http://www.panoramio.com/photo/1781717", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1781717.jpg", "longitude": -113.047771, "latitude": 37.312154, "width": 333, "height": 500, "upload_date": "15 April 2007", "owner_id": 376395, "owner_name": "JeffSullivan (www.MyPhotoGuides.com)", "owner_url": "http://www.panoramio.com/user/376395"} - , - {"photo_id": 196103, "photo_title": "albufera", "photo_url": "http://www.panoramio.com/photo/196103", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/196103.jpg", "longitude": -0.323882, "latitude": 39.349166, "width": 332, "height": 500, "upload_date": "20 December 2006", "owner_id": 38804, "owner_name": "www.oscarsanchez.net", "owner_url": "http://www.panoramio.com/user/38804"} - , - {"photo_id": 266224, "photo_title": "Boulzojavri", "photo_url": "http://www.panoramio.com/photo/266224", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/266224.jpg", "longitude": 24.373169, "latitude": 68.908534, "width": 500, "height": 334, "upload_date": "30 December 2006", "owner_id": 56091, "owner_name": "Kjetil Vaage Øie", "owner_url": "http://www.panoramio.com/user/56091"} - , - {"photo_id": 6126294, "photo_title": "Richmond Deer", "photo_url": "http://www.panoramio.com/photo/6126294", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6126294.jpg", "longitude": -0.275195, "latitude": 51.445890, "width": 489, "height": 500, "upload_date": "25 November 2007", "owner_id": 1130880, "owner_name": "marksimms", "owner_url": "http://www.panoramio.com/user/1130880"} - , - {"photo_id": 168032, "photo_title": "Buci Seine - Looking Up", "photo_url": "http://www.panoramio.com/photo/168032", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/168032.jpg", "longitude": 2.336990, "latitude": 48.853891, "width": 500, "height": 357, "upload_date": "16 December 2006", "owner_id": 5684, "owner_name": "Brent Townshend", "owner_url": "http://www.panoramio.com/user/5684"} - , - {"photo_id": 1370932, "photo_title": "Mercury Bay Sunrise", "photo_url": "http://www.panoramio.com/photo/1370932", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1370932.jpg", "longitude": 175.699196, "latitude": -36.817685, "width": 500, "height": 470, "upload_date": "17 March 2007", "owner_id": 286729, "owner_name": "jimwitkowski", "owner_url": "http://www.panoramio.com/user/286729"} - , - {"photo_id": 120844, "photo_title": "Adelie-Prat- Kratzmaier", "photo_url": "http://www.panoramio.com/photo/120844", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/120844.jpg", "longitude": -59.683228, "latitude": -62.485684, "width": 500, "height": 351, "upload_date": "12 December 2006", "owner_id": 19856, "owner_name": "Juan Kratzmaier", "owner_url": "http://www.panoramio.com/user/19856"} - , - {"photo_id": 940294, "photo_title": "Infrared Mediterranean Heat", "photo_url": "http://www.panoramio.com/photo/940294", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/940294.jpg", "longitude": 25.376015, "latitude": 36.461537, "width": 500, "height": 332, "upload_date": "21 February 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 4446084, "photo_title": "Vizivarázs", "photo_url": "http://www.panoramio.com/photo/4446084", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4446084.jpg", "longitude": 17.504482, "latitude": 47.842773, "width": 367, "height": 500, "upload_date": "06 September 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 498352, "photo_title": "Wave", "photo_url": "http://www.panoramio.com/photo/498352", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/498352.jpg", "longitude": -112.005315, "latitude": 36.995972, "width": 500, "height": 333, "upload_date": "20 January 2007", "owner_id": 40260, "owner_name": "Don Albonico", "owner_url": "http://www.panoramio.com/user/40260"} - , - {"photo_id": 775893, "photo_title": "Leoparden", "photo_url": "http://www.panoramio.com/photo/775893", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/775893.jpg", "longitude": 36.046829, "latitude": -3.818353, "width": 500, "height": 336, "upload_date": "11 February 2007", "owner_id": 164434, "owner_name": "Achim Mittler", "owner_url": "http://www.panoramio.com/user/164434"} - , - {"photo_id": 665502, "photo_title": "Sunset Beach Walker", "photo_url": "http://www.panoramio.com/photo/665502", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/665502.jpg", "longitude": -124.077530, "latitude": 44.519888, "width": 500, "height": 340, "upload_date": "03 February 2007", "owner_id": 107359, "owner_name": "Ron Cooper", "owner_url": "http://www.panoramio.com/user/107359"} - , - {"photo_id": 9021415, "photo_title": "Wat Suwan Kuha or Wat Tham, Phang Nga, Winner Unusual Location April 2008", "photo_url": "http://www.panoramio.com/photo/9021415", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9021415.jpg", "longitude": 98.471628, "latitude": 8.428840, "width": 500, "height": 334, "upload_date": "31 March 2008", "owner_id": 1077251, "owner_name": "picsonthemove", "owner_url": "http://www.panoramio.com/user/1077251"} - , - {"photo_id": 287244, "photo_title": "Landwasser-Viadukt - This is an unofficial photo point. Just follow the footpath up from the official one, until the clearing.", "photo_url": "http://www.panoramio.com/photo/287244", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/287244.jpg", "longitude": 9.675007, "latitude": 46.681229, "width": 337, "height": 500, "upload_date": "03 January 2007", "owner_id": 57869, "owner_name": "NAGY Albert", "owner_url": "http://www.panoramio.com/user/57869"} - , - {"photo_id": 677366, "photo_title": "Oak tree in winter", "photo_url": "http://www.panoramio.com/photo/677366", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/677366.jpg", "longitude": 10.771065, "latitude": 59.663926, "width": 358, "height": 500, "upload_date": "03 February 2007", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 196086, "photo_title": "albufera", "photo_url": "http://www.panoramio.com/photo/196086", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/196086.jpg", "longitude": -0.323882, "latitude": 39.349166, "width": 500, "height": 332, "upload_date": "20 December 2006", "owner_id": 38804, "owner_name": "www.oscarsanchez.net", "owner_url": "http://www.panoramio.com/user/38804"} - , - {"photo_id": 4340931, "photo_title": "Cold morning", "photo_url": "http://www.panoramio.com/photo/4340931", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4340931.jpg", "longitude": 12.113349, "latitude": 49.342559, "width": 500, "height": 333, "upload_date": "31 August 2007", "owner_id": 696605, "owner_name": "© alfredschaffer", "owner_url": "http://www.panoramio.com/user/696605"} - , - {"photo_id": 488, "photo_title": "Lagos de Montebello, México", "photo_url": "http://www.panoramio.com/photo/488", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/488.jpg", "longitude": -91.677904, "latitude": 16.111297, "width": 500, "height": 345, "upload_date": "31 August 2005", "owner_id": 7, "owner_name": "Eduardo Manchón", "owner_url": "http://www.panoramio.com/user/7"} - , - {"photo_id": 723666, "photo_title": "Majestically Still", "photo_url": "http://www.panoramio.com/photo/723666", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/723666.jpg", "longitude": -116.175613, "latitude": 51.327608, "width": 500, "height": 332, "upload_date": "07 February 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 1081710, "photo_title": "Gjevilvatnet lake in Oppdal", "photo_url": "http://www.panoramio.com/photo/1081710", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1081710.jpg", "longitude": 9.412537, "latitude": 62.686749, "width": 500, "height": 333, "upload_date": "28 February 2007", "owner_id": 223406, "owner_name": "Sigmund Rise", "owner_url": "http://www.panoramio.com/user/223406"} - , - {"photo_id": 22575, "photo_title": "Lijiang River, near Yangshuo, China", "photo_url": "http://www.panoramio.com/photo/22575", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/22575.jpg", "longitude": 110.454826, "latitude": 24.962716, "width": 500, "height": 333, "upload_date": "05 June 2006", "owner_id": 3557, "owner_name": "Placebo", "owner_url": "http://www.panoramio.com/user/3557"} - , - {"photo_id": 2735754, "photo_title": "Después de la lluvia", "photo_url": "http://www.panoramio.com/photo/2735754", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2735754.jpg", "longitude": -73.241998, "latitude": -39.809583, "width": 360, "height": 500, "upload_date": "13 June 2007", "owner_id": 327310, "owner_name": "Erwin Woenckhaus", "owner_url": "http://www.panoramio.com/user/327310"} - , - {"photo_id": 73515, "photo_title": "Kloster Höglwörth", "photo_url": "http://www.panoramio.com/photo/73515", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/73515.jpg", "longitude": 12.850227, "latitude": 47.815575, "width": 500, "height": 333, "upload_date": "30 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 723015, "photo_title": "Cape Flattery (infrared)", "photo_url": "http://www.panoramio.com/photo/723015", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/723015.jpg", "longitude": -124.726700, "latitude": 48.385898, "width": 500, "height": 332, "upload_date": "07 February 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 1288595, "photo_title": "O'Keeffe ?", "photo_url": "http://www.panoramio.com/photo/1288595", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1288595.jpg", "longitude": 72.920637, "latitude": 4.038162, "width": 332, "height": 500, "upload_date": "12 March 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 1008304, "photo_title": "nyhavn", "photo_url": "http://www.panoramio.com/photo/1008304", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1008304.jpg", "longitude": 12.591190, "latitude": 55.679762, "width": 500, "height": 333, "upload_date": "24 February 2007", "owner_id": 2659, "owner_name": "ozalph", "owner_url": "http://www.panoramio.com/user/2659"} - , - {"photo_id": 19547, "photo_title": "Embarcador 1", "photo_url": "http://www.panoramio.com/photo/19547", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/19547.jpg", "longitude": 0.493140, "latitude": 40.904172, "width": 500, "height": 335, "upload_date": "07 May 2006", "owner_id": 3022, "owner_name": "Arcadi", "owner_url": "http://www.panoramio.com/user/3022"} - , - {"photo_id": 98115, "photo_title": "FREE-SPIRIT", "photo_url": "http://www.panoramio.com/photo/98115", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/98115.jpg", "longitude": 9.908917, "latitude": 50.487112, "width": 500, "height": 304, "upload_date": "10 December 2006", "owner_id": 13121, "owner_name": "Andreas G.M.", "owner_url": "http://www.panoramio.com/user/13121"} - , - {"photo_id": 9822056, "photo_title": "Reflection under the Bridge", "photo_url": "http://www.panoramio.com/photo/9822056", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9822056.jpg", "longitude": 103.853851, "latitude": 1.286973, "width": 333, "height": 500, "upload_date": "01 May 2008", "owner_id": 1465912, "owner_name": "funtor", "owner_url": "http://www.panoramio.com/user/1465912"} - , - {"photo_id": 9117094, "photo_title": "Baron's Haugh, Scotland", "photo_url": "http://www.panoramio.com/photo/9117094", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9117094.jpg", "longitude": -3.986835, "latitude": 55.773532, "width": 500, "height": 337, "upload_date": "05 April 2008", "owner_id": 165346, "owner_name": "Alan Knox", "owner_url": "http://www.panoramio.com/user/165346"} - , - {"photo_id": 5342534, "photo_title": "Őszi pompa", "photo_url": "http://www.panoramio.com/photo/5342534", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5342534.jpg", "longitude": 15.964594, "latitude": 47.875426, "width": 500, "height": 334, "upload_date": "16 October 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 2346129, "photo_title": "Pipacsálom", "photo_url": "http://www.panoramio.com/photo/2346129", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2346129.jpg", "longitude": 17.521820, "latitude": 47.748558, "width": 500, "height": 378, "upload_date": "22 May 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 3749005, "photo_title": "Once in a Blue Moon....", "photo_url": "http://www.panoramio.com/photo/3749005", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3749005.jpg", "longitude": -105.654080, "latitude": 40.294560, "width": 374, "height": 500, "upload_date": "05 August 2007", "owner_id": 87752, "owner_name": "Richard Ryer", "owner_url": "http://www.panoramio.com/user/87752"} - , - {"photo_id": 1360629, "photo_title": "Frente a la Cascada de Gujuli -103 m.-", "photo_url": "http://www.panoramio.com/photo/1360629", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1360629.jpg", "longitude": -2.909800, "latitude": 42.976199, "width": 333, "height": 500, "upload_date": "17 March 2007", "owner_id": 129297, "owner_name": "Enrique Ortiz de Zárate", "owner_url": "http://www.panoramio.com/user/129297"} - , - {"photo_id": 6129915, "photo_title": "A vadon szava", "photo_url": "http://www.panoramio.com/photo/6129915", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6129915.jpg", "longitude": 17.521133, "latitude": 47.854408, "width": 500, "height": 325, "upload_date": "25 November 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 67183, "photo_title": "Laguna verde e Vulcano Licancabur", "photo_url": "http://www.panoramio.com/photo/67183", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/67183.jpg", "longitude": -67.819161, "latitude": -22.787696, "width": 500, "height": 370, "upload_date": "20 October 2006", "owner_id": 9080, "owner_name": "Marco Teodonio", "owner_url": "http://www.panoramio.com/user/9080"} - , - {"photo_id": 507571, "photo_title": "Mikor a harangszó is szebben hallik", "photo_url": "http://www.panoramio.com/photo/507571", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/507571.jpg", "longitude": 17.684383, "latitude": 47.587873, "width": 396, "height": 500, "upload_date": "20 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 6685422, "photo_title": "Dawn at Bagan, Myanmar (Burma)", "photo_url": "http://www.panoramio.com/photo/6685422", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6685422.jpg", "longitude": 94.860935, "latitude": 21.169045, "width": 500, "height": 333, "upload_date": "25 December 2007", "owner_id": 1221287, "owner_name": "TS Jeung", "owner_url": "http://www.panoramio.com/user/1221287"} - , - {"photo_id": 3513121, "photo_title": "Báláim", "photo_url": "http://www.panoramio.com/photo/3513121", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3513121.jpg", "longitude": 17.481651, "latitude": 47.457576, "width": 419, "height": 500, "upload_date": "24 July 2007", "owner_id": 689769, "owner_name": "Ponty István", "owner_url": "http://www.panoramio.com/user/689769"} - , - {"photo_id": 10574161, "photo_title": "Silhouette", "photo_url": "http://www.panoramio.com/photo/10574161", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10574161.jpg", "longitude": 148.662905, "latitude": -35.304724, "width": 500, "height": 346, "upload_date": "25 May 2008", "owner_id": 766550, "owner_name": "VFedele", "owner_url": "http://www.panoramio.com/user/766550"} - , - {"photo_id": 89190, "photo_title": "Mount Ararat, Yerevan, Armenia", "photo_url": "http://www.panoramio.com/photo/89190", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/89190.jpg", "longitude": 44.483900, "latitude": 40.195299, "width": 500, "height": 375, "upload_date": "30 November 2006", "owner_id": 11226, "owner_name": "Ardani", "owner_url": "http://www.panoramio.com/user/11226"} - , - {"photo_id": 1182305, "photo_title": "Dobel, Albrecht-Hütte", "photo_url": "http://www.panoramio.com/photo/1182305", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1182305.jpg", "longitude": 8.500500, "latitude": 48.793465, "width": 500, "height": 375, "upload_date": "05 March 2007", "owner_id": 66229, "owner_name": "Mast", "owner_url": "http://www.panoramio.com/user/66229"} - , - {"photo_id": 4258015, "photo_title": "Fényözön", "photo_url": "http://www.panoramio.com/photo/4258015", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4258015.jpg", "longitude": 16.391602, "latitude": 46.851269, "width": 333, "height": 500, "upload_date": "28 August 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 1413, "photo_title": "Champlain Lookout", "photo_url": "http://www.panoramio.com/photo/1413", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1413.jpg", "longitude": -75.912872, "latitude": 45.507640, "width": 500, "height": 375, "upload_date": "06 October 2005", "owner_id": 273, "owner_name": "JC", "owner_url": "http://www.panoramio.com/user/273"} - , - {"photo_id": 1526763, "photo_title": "Gizeh Pyramids, Cairo", "photo_url": "http://www.panoramio.com/photo/1526763", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1526763.jpg", "longitude": 31.133537, "latitude": 29.966721, "width": 500, "height": 333, "upload_date": "27 March 2007", "owner_id": 59919, "owner_name": "xflo:w (http://www.xflo.net)", "owner_url": "http://www.panoramio.com/user/59919"} - , - {"photo_id": 8802900, "photo_title": "Martigues, miroir aux oiseaux", "photo_url": "http://www.panoramio.com/photo/8802900", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8802900.jpg", "longitude": 5.054559, "latitude": 43.405079, "width": 387, "height": 500, "upload_date": "24 March 2008", "owner_id": 629243, "owner_name": "Olivier Faugeras", "owner_url": "http://www.panoramio.com/user/629243"} - , - {"photo_id": 459515, "photo_title": "fire works", "photo_url": "http://www.panoramio.com/photo/459515", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/459515.jpg", "longitude": 138.423271, "latitude": 38.069312, "width": 500, "height": 385, "upload_date": "16 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 749464, "photo_title": "Gondola", "photo_url": "http://www.panoramio.com/photo/749464", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/749464.jpg", "longitude": 12.336917, "latitude": 45.434053, "width": 500, "height": 332, "upload_date": "09 February 2007", "owner_id": 159455, "owner_name": "©Franco Truscello", "owner_url": "http://www.panoramio.com/user/159455"} - , - {"photo_id": 422608, "photo_title": "tanada", "photo_url": "http://www.panoramio.com/photo/422608", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/422608.jpg", "longitude": 139.047089, "latitude": 37.449787, "width": 383, "height": 500, "upload_date": "14 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 85617, "photo_title": "Parque Natural de Calblanque", "photo_url": "http://www.panoramio.com/photo/85617", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/85617.jpg", "longitude": -0.739861, "latitude": 37.594104, "width": 332, "height": 500, "upload_date": "24 November 2006", "owner_id": 10969, "owner_name": "Juanra", "owner_url": "http://www.panoramio.com/user/10969"} - , - {"photo_id": 1089235, "photo_title": "Nyáridéző", "photo_url": "http://www.panoramio.com/photo/1089235", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1089235.jpg", "longitude": 18.207092, "latitude": 47.318578, "width": 500, "height": 282, "upload_date": "28 February 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 505229, "photo_title": "Etangs près de Dijon", "photo_url": "http://www.panoramio.com/photo/505229", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/505229.jpg", "longitude": 5.168552, "latitude": 47.312642, "width": 350, "height": 500, "upload_date": "20 January 2007", "owner_id": 78506, "owner_name": "Philippe Stoop", "owner_url": "http://www.panoramio.com/user/78506"} - , - {"photo_id": 679343, "photo_title": "melbourne sunset over the yarra river", "photo_url": "http://www.panoramio.com/photo/679343", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/679343.jpg", "longitude": 144.968119, "latitude": -37.819616, "width": 500, "height": 500, "upload_date": "04 February 2007", "owner_id": 146092, "owner_name": "sid1662", "owner_url": "http://www.panoramio.com/user/146092"} - , - {"photo_id": 436336, "photo_title": "myoujyousan", "photo_url": "http://www.panoramio.com/photo/436336", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/436336.jpg", "longitude": 137.831554, "latitude": 36.911608, "width": 500, "height": 362, "upload_date": "15 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 9733680, "photo_title": "Sydney", "photo_url": "http://www.panoramio.com/photo/9733680", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9733680.jpg", "longitude": 151.209834, "latitude": -33.848588, "width": 333, "height": 500, "upload_date": "28 April 2008", "owner_id": 1465912, "owner_name": "funtor", "owner_url": "http://www.panoramio.com/user/1465912"} - , - {"photo_id": 7415625, "photo_title": "Në fushë të Pallaticesë", "photo_url": "http://www.panoramio.com/photo/7415625", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7415625.jpg", "longitude": 21.077271, "latitude": 42.011550, "width": 437, "height": 500, "upload_date": "28 January 2008", "owner_id": 695042, "owner_name": "Neim Sejfuli ♦", "owner_url": "http://www.panoramio.com/user/695042"} - , - {"photo_id": 5358174, "photo_title": "Morning Glory", "photo_url": "http://www.panoramio.com/photo/5358174", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5358174.jpg", "longitude": -110.843537, "latitude": 44.475020, "width": 500, "height": 348, "upload_date": "16 October 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 316199, "photo_title": "A lake on Gasherbrum glacier", "photo_url": "http://www.panoramio.com/photo/316199", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/316199.jpg", "longitude": 76.732550, "latitude": 35.877298, "width": 500, "height": 375, "upload_date": "06 January 2007", "owner_id": 65672, "owner_name": "www.turclubmai.ru", "owner_url": "http://www.panoramio.com/user/65672"} - , - {"photo_id": 400536, "photo_title": "Half Dome Mtn, Yosemite Nat Park, CA", "photo_url": "http://www.panoramio.com/photo/400536", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/400536.jpg", "longitude": -119.495888, "latitude": 37.811411, "width": 500, "height": 333, "upload_date": "12 January 2007", "owner_id": 85489, "owner_name": "Bruce MacIver", "owner_url": "http://www.panoramio.com/user/85489"} - , - {"photo_id": 2942693, "photo_title": "Tulips and Windmills", "photo_url": "http://www.panoramio.com/photo/2942693", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2942693.jpg", "longitude": 4.864798, "latitude": 52.594393, "width": 500, "height": 500, "upload_date": "25 June 2007", "owner_id": 588149, "owner_name": "Adam Salwanowicz", "owner_url": "http://www.panoramio.com/user/588149"} - , - {"photo_id": 9733633, "photo_title": "Oper-Sydney", "photo_url": "http://www.panoramio.com/photo/9733633", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9733633.jpg", "longitude": 151.216968, "latitude": -33.851702, "width": 500, "height": 333, "upload_date": "28 April 2008", "owner_id": 1465912, "owner_name": "funtor", "owner_url": "http://www.panoramio.com/user/1465912"} - , - {"photo_id": 1800454, "photo_title": "Bombay Beach, Salton Sea, CA", "photo_url": "http://www.panoramio.com/photo/1800454", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1800454.jpg", "longitude": -115.729235, "latitude": 33.347316, "width": 500, "height": 407, "upload_date": "16 April 2007", "owner_id": 107613, "owner_name": "Tom Grubbe", "owner_url": "http://www.panoramio.com/user/107613"} - , - {"photo_id": 2558057, "photo_title": "Kin-dza-dza 2", "photo_url": "http://www.panoramio.com/photo/2558057", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2558057.jpg", "longitude": 30.785751, "latitude": 46.639301, "width": 500, "height": 375, "upload_date": "03 June 2007", "owner_id": 13058, "owner_name": "Kyryl", "owner_url": "http://www.panoramio.com/user/13058"} - , - {"photo_id": 7768089, "photo_title": "Isteni színjáték", "photo_url": "http://www.panoramio.com/photo/7768089", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7768089.jpg", "longitude": 17.507057, "latitude": 47.776425, "width": 500, "height": 334, "upload_date": "12 February 2008", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 1213006, "photo_title": "Twilight Drive", "photo_url": "http://www.panoramio.com/photo/1213006", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1213006.jpg", "longitude": -114.481916, "latitude": 51.095841, "width": 500, "height": 335, "upload_date": "07 March 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 395800, "photo_title": "Pic de Bure depuis le Pic de Gleize", "photo_url": "http://www.panoramio.com/photo/395800", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/395800.jpg", "longitude": 6.055870, "latitude": 44.610146, "width": 500, "height": 350, "upload_date": "12 January 2007", "owner_id": 78506, "owner_name": "Philippe Stoop", "owner_url": "http://www.panoramio.com/user/78506"} - , - {"photo_id": 11073609, "photo_title": "Sunrise in Koroni, by Kostas Andreopoulos", "photo_url": "http://www.panoramio.com/photo/11073609", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11073609.jpg", "longitude": 21.952747, "latitude": 36.797775, "width": 500, "height": 375, "upload_date": "09 June 2008", "owner_id": 1690483, "owner_name": "k.andre", "owner_url": "http://www.panoramio.com/user/1690483"} - , - {"photo_id": 6564418, "photo_title": "Baron's Haugh, Scotland", "photo_url": "http://www.panoramio.com/photo/6564418", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6564418.jpg", "longitude": -3.989239, "latitude": 55.772808, "width": 500, "height": 337, "upload_date": "19 December 2007", "owner_id": 165346, "owner_name": "Alan Knox", "owner_url": "http://www.panoramio.com/user/165346"} - , - {"photo_id": 10158925, "photo_title": "Lluvia púrpura ( Purple rain )", "photo_url": "http://www.panoramio.com/photo/10158925", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10158925.jpg", "longitude": -0.476360, "latitude": 39.612565, "width": 500, "height": 333, "upload_date": "12 May 2008", "owner_id": 787217, "owner_name": "♣ Víctor S de Lara ♣", "owner_url": "http://www.panoramio.com/user/787217"} - , - {"photo_id": 121574, "photo_title": "Moscú/Moscow - Catedral de San Basilio", "photo_url": "http://www.panoramio.com/photo/121574", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/121574.jpg", "longitude": 37.621951, "latitude": 55.753033, "width": 500, "height": 375, "upload_date": "12 December 2006", "owner_id": 17212, "owner_name": "javier herranz", "owner_url": "http://www.panoramio.com/user/17212"} - , - {"photo_id": 6012915, "photo_title": "Erleuchtung in Venedig", "photo_url": "http://www.panoramio.com/photo/6012915", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6012915.jpg", "longitude": 12.340747, "latitude": 45.433364, "width": 500, "height": 333, "upload_date": "19 November 2007", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 346687, "photo_title": "namibia desert", "photo_url": "http://www.panoramio.com/photo/346687", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/346687.jpg", "longitude": 15.408325, "latitude": -24.729370, "width": 500, "height": 334, "upload_date": "08 January 2007", "owner_id": 69671, "owner_name": "illusandpics.com", "owner_url": "http://www.panoramio.com/user/69671"} - , - {"photo_id": 1913758, "photo_title": "Cortona - Via Gino Severini", "photo_url": "http://www.panoramio.com/photo/1913758", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1913758.jpg", "longitude": 11.988916, "latitude": 43.273659, "width": 500, "height": 498, "upload_date": "24 April 2007", "owner_id": 193913, "owner_name": "Klesitz Piroska", "owner_url": "http://www.panoramio.com/user/193913"} - , - {"photo_id": 405843, "photo_title": "siroiwa", "photo_url": "http://www.panoramio.com/photo/405843", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/405843.jpg", "longitude": 138.789682, "latitude": 37.726398, "width": 500, "height": 338, "upload_date": "13 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 91375, "photo_title": "Burj Al Arab At Night", "photo_url": "http://www.panoramio.com/photo/91375", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/91375.jpg", "longitude": 55.187416, "latitude": 25.140312, "width": 255, "height": 500, "upload_date": "03 December 2006", "owner_id": 1295, "owner_name": "Matthew Walters", "owner_url": "http://www.panoramio.com/user/1295"} - , - {"photo_id": 940792, "photo_title": "Moraine Branch", "photo_url": "http://www.panoramio.com/photo/940792", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/940792.jpg", "longitude": -116.177502, "latitude": 51.325946, "width": 500, "height": 332, "upload_date": "21 February 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 58287, "photo_title": "Schloß Anif", "photo_url": "http://www.panoramio.com/photo/58287", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/58287.jpg", "longitude": 13.068817, "latitude": 47.744540, "width": 500, "height": 333, "upload_date": "07 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 194118, "photo_title": "Mount Fuji: Fuji-San", "photo_url": "http://www.panoramio.com/photo/194118", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/194118.jpg", "longitude": 138.727455, "latitude": 35.377294, "width": 500, "height": 332, "upload_date": "20 December 2006", "owner_id": 27882, "owner_name": "taoy", "owner_url": "http://www.panoramio.com/user/27882"} - , - {"photo_id": 5158892, "photo_title": "prati di Tires Alto Adige Südtirol south tyrol", "photo_url": "http://www.panoramio.com/photo/5158892", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5158892.jpg", "longitude": 11.557188, "latitude": 46.471044, "width": 500, "height": 429, "upload_date": "08 October 2007", "owner_id": 578163, "owner_name": "Margherita-Italy", "owner_url": "http://www.panoramio.com/user/578163"} - , - {"photo_id": 280123, "photo_title": "kaouki05", "photo_url": "http://www.panoramio.com/photo/280123", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/280123.jpg", "longitude": -9.799418, "latitude": 31.355662, "width": 328, "height": 500, "upload_date": "01 January 2007", "owner_id": 58867, "owner_name": "Lachaud Franck", "owner_url": "http://www.panoramio.com/user/58867"} - , - {"photo_id": 6789223, "photo_title": "Exploding sky", "photo_url": "http://www.panoramio.com/photo/6789223", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6789223.jpg", "longitude": -69.930505, "latitude": 12.522579, "width": 500, "height": 333, "upload_date": "30 December 2007", "owner_id": 89499, "owner_name": "Michael Braxenthaler", "owner_url": "http://www.panoramio.com/user/89499"} - , - {"photo_id": 3722547, "photo_title": "Morning fog in the Alps", "photo_url": "http://www.panoramio.com/photo/3722547", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3722547.jpg", "longitude": 10.591164, "latitude": 47.521142, "width": 500, "height": 333, "upload_date": "04 August 2007", "owner_id": 89499, "owner_name": "Michael Braxenthaler", "owner_url": "http://www.panoramio.com/user/89499"} - , - {"photo_id": 9530458, "photo_title": "Castillian cereal fields from Atienza walls", "photo_url": "http://www.panoramio.com/photo/9530458", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9530458.jpg", "longitude": -2.874470, "latitude": 41.198451, "width": 500, "height": 470, "upload_date": "20 April 2008", "owner_id": 134279, "owner_name": "4ullas", "owner_url": "http://www.panoramio.com/user/134279"} - , - {"photo_id": 2935974, "photo_title": "Atardecer tras el Anboto desde el Aitzgorri", "photo_url": "http://www.panoramio.com/photo/2935974", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2935974.jpg", "longitude": -2.324982, "latitude": 42.951240, "width": 500, "height": 331, "upload_date": "25 June 2007", "owner_id": 129297, "owner_name": "Enrique Ortiz de Zárate", "owner_url": "http://www.panoramio.com/user/129297"} - , - {"photo_id": 38587, "photo_title": "Blitz", "photo_url": "http://www.panoramio.com/photo/38587", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/38587.jpg", "longitude": 7.949853, "latitude": 48.489947, "width": 500, "height": 375, "upload_date": "13 August 2006", "owner_id": 6002, "owner_name": "Paul Feiler", "owner_url": "http://www.panoramio.com/user/6002"} - , - {"photo_id": 9312247, "photo_title": "Idrija - High water after rain", "photo_url": "http://www.panoramio.com/photo/9312247", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9312247.jpg", "longitude": 13.965683, "latitude": 45.955625, "width": 500, "height": 375, "upload_date": "12 April 2008", "owner_id": 763995, "owner_name": "Samo T.", "owner_url": "http://www.panoramio.com/user/763995"} - , - {"photo_id": 110409, "photo_title": "Laguna de Yanganuco", "photo_url": "http://www.panoramio.com/photo/110409", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/110409.jpg", "longitude": -77.640553, "latitude": -9.071585, "width": 330, "height": 500, "upload_date": "11 December 2006", "owner_id": 16323, "owner_name": "Luis Torres", "owner_url": "http://www.panoramio.com/user/16323"} - , - {"photo_id": 7609439, "photo_title": "Fényfürdő", "photo_url": "http://www.panoramio.com/photo/7609439", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7609439.jpg", "longitude": 15.965366, "latitude": 47.877556, "width": 500, "height": 312, "upload_date": "05 February 2008", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 8599453, "photo_title": "Realidad comprimida", "photo_url": "http://www.panoramio.com/photo/8599453", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8599453.jpg", "longitude": -2.780957, "latitude": 43.033953, "width": 500, "height": 387, "upload_date": "17 March 2008", "owner_id": 129297, "owner_name": "Enrique Ortiz de Zárate", "owner_url": "http://www.panoramio.com/user/129297"} - , - {"photo_id": 233921, "photo_title": "Mount Titlis, Engelberg, Switzerland www.titlis.ch / www.engelberg.ch/ www.berghuette.ch /www.brunnihuette.ch", "photo_url": "http://www.panoramio.com/photo/233921", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/233921.jpg", "longitude": 8.410742, "latitude": 46.841583, "width": 500, "height": 375, "upload_date": "25 December 2006", "owner_id": 47930, "owner_name": "werni", "owner_url": "http://www.panoramio.com/user/47930"} - , - {"photo_id": 561386, "photo_title": "the country", "photo_url": "http://www.panoramio.com/photo/561386", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/561386.jpg", "longitude": 138.871393, "latitude": 37.602196, "width": 500, "height": 383, "upload_date": "24 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 1195112, "photo_title": "Tolar Grande", "photo_url": "http://www.panoramio.com/photo/1195112", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1195112.jpg", "longitude": -67.361984, "latitude": -24.545249, "width": 500, "height": 342, "upload_date": "06 March 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 5466129, "photo_title": "\"Lasciate ogne speranza, voi ch’intrate\". (\"Abandon all hope, ye who enter here\" ; \"Toi qui entre ici, abandonne toute espérance\".) Dante e il primo girone dell'Inferno (o Virgilio nella selva oscura, accanto all'ingresso dell'Inferno) (ou encore, plus prosaïquement, pêche dans le Jaunay en Vendée, le 21 octobre 2007 à l'aube d'un très froid matin d'automne). #129", "photo_url": "http://www.panoramio.com/photo/5466129", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5466129.jpg", "longitude": -1.901300, "latitude": 46.663398, "width": 500, "height": 281, "upload_date": "22 October 2007", "owner_id": 666755, "owner_name": "Armagnac", "owner_url": "http://www.panoramio.com/user/666755"} - , - {"photo_id": 57820, "photo_title": "Hallstatt 2", "photo_url": "http://www.panoramio.com/photo/57820", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/57820.jpg", "longitude": 13.649054, "latitude": 47.555040, "width": 500, "height": 333, "upload_date": "05 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 798312, "photo_title": "Riflettendo...", "photo_url": "http://www.panoramio.com/photo/798312", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/798312.jpg", "longitude": 7.677534, "latitude": 45.069925, "width": 500, "height": 332, "upload_date": "12 February 2007", "owner_id": 159455, "owner_name": "©Franco Truscello", "owner_url": "http://www.panoramio.com/user/159455"} - , - {"photo_id": 7401432, "photo_title": "07-12-18_\"Arterias del Bosque\" PIXELECTA", "photo_url": "http://www.panoramio.com/photo/7401432", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7401432.jpg", "longitude": -2.775679, "latitude": 43.005338, "width": 500, "height": 333, "upload_date": "27 January 2008", "owner_id": 163655, "owner_name": "[[[ PIXELECTA ]]]", "owner_url": "http://www.panoramio.com/user/163655"} - , - {"photo_id": 2584132, "photo_title": "Farm Tomita", "photo_url": "http://www.panoramio.com/photo/2584132", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2584132.jpg", "longitude": 142.426586, "latitude": 43.418889, "width": 500, "height": 375, "upload_date": "05 June 2007", "owner_id": 532882, "owner_name": "wisdomcomplex", "owner_url": "http://www.panoramio.com/user/532882"} - , - {"photo_id": 4670499, "photo_title": "El despertar de la naturaleza", "photo_url": "http://www.panoramio.com/photo/4670499", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4670499.jpg", "longitude": -73.227739, "latitude": -39.821285, "width": 500, "height": 371, "upload_date": "15 September 2007", "owner_id": 327310, "owner_name": "Erwin Woenckhaus", "owner_url": "http://www.panoramio.com/user/327310"} - , - {"photo_id": 5133875, "photo_title": "Lumi Vardar", "photo_url": "http://www.panoramio.com/photo/5133875", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5133875.jpg", "longitude": 21.075597, "latitude": 42.006671, "width": 500, "height": 375, "upload_date": "06 October 2007", "owner_id": 695042, "owner_name": "Neim Sejfuli ♦", "owner_url": "http://www.panoramio.com/user/695042"} - , - {"photo_id": 8309167, "photo_title": "Cueva de los Verdes", "photo_url": "http://www.panoramio.com/photo/8309167", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8309167.jpg", "longitude": -13.439734, "latitude": 29.161137, "width": 333, "height": 500, "upload_date": "05 March 2008", "owner_id": 1465912, "owner_name": "funtor", "owner_url": "http://www.panoramio.com/user/1465912"} - , - {"photo_id": 1756166, "photo_title": "The Pantheon, Rome, Italy", "photo_url": "http://www.panoramio.com/photo/1756166", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1756166.jpg", "longitude": 12.476842, "latitude": 41.898540, "width": 376, "height": 500, "upload_date": "13 April 2007", "owner_id": 140796, "owner_name": "rosina lamberti", "owner_url": "http://www.panoramio.com/user/140796"} - , - {"photo_id": 1831309, "photo_title": "Oak in blue - last one", "photo_url": "http://www.panoramio.com/photo/1831309", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1831309.jpg", "longitude": 10.771322, "latitude": 59.664143, "width": 326, "height": 500, "upload_date": "18 April 2007", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 626487, "photo_title": "A harag napja", "photo_url": "http://www.panoramio.com/photo/626487", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/626487.jpg", "longitude": 15.919275, "latitude": 43.589468, "width": 500, "height": 333, "upload_date": "30 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 202162, "photo_title": "Monument Valley", "photo_url": "http://www.panoramio.com/photo/202162", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/202162.jpg", "longitude": -110.094552, "latitude": 36.976810, "width": 500, "height": 333, "upload_date": "21 December 2006", "owner_id": 40260, "owner_name": "Don Albonico", "owner_url": "http://www.panoramio.com/user/40260"} - , - {"photo_id": 791016, "photo_title": "Sossusvlei", "photo_url": "http://www.panoramio.com/photo/791016", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/791016.jpg", "longitude": 15.289364, "latitude": -24.730656, "width": 500, "height": 333, "upload_date": "12 February 2007", "owner_id": 12736, "owner_name": "www.sliwi.de", "owner_url": "http://www.panoramio.com/user/12736"} - , - {"photo_id": 9760518, "photo_title": "Eglise Notre-Dame de la Couture", "photo_url": "http://www.panoramio.com/photo/9760518", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9760518.jpg", "longitude": 0.596437, "latitude": 49.082510, "width": 375, "height": 500, "upload_date": "29 April 2008", "owner_id": 1275480, "owner_name": "Nicolas Aubé", "owner_url": "http://www.panoramio.com/user/1275480"} - , - {"photo_id": 2097684, "photo_title": "", "photo_url": "http://www.panoramio.com/photo/2097684", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2097684.jpg", "longitude": -79.793916, "latitude": 43.299447, "width": 500, "height": 333, "upload_date": "06 May 2007", "owner_id": 17488, "owner_name": "John Gillett", "owner_url": "http://www.panoramio.com/user/17488"} - , - {"photo_id": 6851021, "photo_title": "Lumi Vardar-Sunset", "photo_url": "http://www.panoramio.com/photo/6851021", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6851021.jpg", "longitude": 21.077871, "latitude": 42.007532, "width": 458, "height": 500, "upload_date": "02 January 2008", "owner_id": 695042, "owner_name": "Neim Sejfuli ♦", "owner_url": "http://www.panoramio.com/user/695042"} - , - {"photo_id": 8137868, "photo_title": "Sunset Trace at Kotchi, Korea", "photo_url": "http://www.panoramio.com/photo/8137868", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8137868.jpg", "longitude": 126.333847, "latitude": 36.498597, "width": 500, "height": 500, "upload_date": "27 February 2008", "owner_id": 1221287, "owner_name": "TS Jeung", "owner_url": "http://www.panoramio.com/user/1221287"} - , - {"photo_id": 382104, "photo_title": "Meteora", "photo_url": "http://www.panoramio.com/photo/382104", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/382104.jpg", "longitude": 21.616974, "latitude": 39.743626, "width": 500, "height": 500, "upload_date": "11 January 2007", "owner_id": 16880, "owner_name": "evgenidinev.com", "owner_url": "http://www.panoramio.com/user/16880"} - , - {"photo_id": 3399014, "photo_title": "Vue du Schneibstein vers l'Est", "photo_url": "http://www.panoramio.com/photo/3399014", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3399014.jpg", "longitude": 13.055191, "latitude": 47.562396, "width": 500, "height": 328, "upload_date": "19 July 2007", "owner_id": 78506, "owner_name": "Philippe Stoop", "owner_url": "http://www.panoramio.com/user/78506"} - , - {"photo_id": 29596, "photo_title": "Ciudad de Los Cielos", "photo_url": "http://www.panoramio.com/photo/29596", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/29596.jpg", "longitude": -72.545900, "latitude": -13.165304, "width": 500, "height": 375, "upload_date": "01 July 2006", "owner_id": 4483, "owner_name": "Miguel Coranti", "owner_url": "http://www.panoramio.com/user/4483"} - , - {"photo_id": 1269713, "photo_title": "Rainbow over Olskårdvatnet near Kiberg, Finnmark, Norway", "photo_url": "http://www.panoramio.com/photo/1269713", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1269713.jpg", "longitude": 30.906601, "latitude": 70.295137, "width": 361, "height": 500, "upload_date": "11 March 2007", "owner_id": 66734, "owner_name": "Svein Solhaug", "owner_url": "http://www.panoramio.com/user/66734"} - , - {"photo_id": 507631, "photo_title": "Egy ábrándos reggelen", "photo_url": "http://www.panoramio.com/photo/507631", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/507631.jpg", "longitude": 17.466667, "latitude": 47.866667, "width": 500, "height": 334, "upload_date": "20 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 722974, "photo_title": "Airdrie Vortex", "photo_url": "http://www.panoramio.com/photo/722974", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/722974.jpg", "longitude": -114.087481, "latitude": 51.048544, "width": 500, "height": 323, "upload_date": "07 February 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 1118007, "photo_title": "Moraine Lake, Banff NP (Canada)", "photo_url": "http://www.panoramio.com/photo/1118007", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1118007.jpg", "longitude": -116.177673, "latitude": 51.328091, "width": 500, "height": 326, "upload_date": "02 March 2007", "owner_id": 229005, "owner_name": "mypictures4u.com", "owner_url": "http://www.panoramio.com/user/229005"} - , - {"photo_id": 1343943, "photo_title": "Andes Mountains.Patagonia.Argentina", "photo_url": "http://www.panoramio.com/photo/1343943", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1343943.jpg", "longitude": -72.422905, "latitude": -49.381814, "width": 500, "height": 375, "upload_date": "16 March 2007", "owner_id": 281428, "owner_name": "avni_", "owner_url": "http://www.panoramio.com/user/281428"} - , - {"photo_id": 5637365, "photo_title": "Northen lights", "photo_url": "http://www.panoramio.com/photo/5637365", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5637365.jpg", "longitude": 28.599129, "latitude": 66.247365, "width": 500, "height": 333, "upload_date": "30 October 2007", "owner_id": 897591, "owner_name": "markku pirttimaa www.karhukuusamo.com", "owner_url": "http://www.panoramio.com/user/897591"} - , - {"photo_id": 241562, "photo_title": "Süd-Ostisland", "photo_url": "http://www.panoramio.com/photo/241562", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/241562.jpg", "longitude": -17.512207, "latitude": 63.954261, "width": 500, "height": 326, "upload_date": "26 December 2006", "owner_id": 14774, "owner_name": "Frank Block", "owner_url": "http://www.panoramio.com/user/14774"} - , - {"photo_id": 48899, "photo_title": "Bellagio Fountain", "photo_url": "http://www.panoramio.com/photo/48899", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/48899.jpg", "longitude": -115.174227, "latitude": 36.112778, "width": 500, "height": 375, "upload_date": "16 September 2006", "owner_id": 7190, "owner_name": "Perry Tang", "owner_url": "http://www.panoramio.com/user/7190"} - , - {"photo_id": 49822, "photo_title": "Baños termales en Alhama de Granada", "photo_url": "http://www.panoramio.com/photo/49822", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/49822.jpg", "longitude": -3.983274, "latitude": 37.018248, "width": 374, "height": 500, "upload_date": "19 September 2006", "owner_id": 5477, "owner_name": "errece", "owner_url": "http://www.panoramio.com/user/5477"} - , - {"photo_id": 8248490, "photo_title": "Emmerald river", "photo_url": "http://www.panoramio.com/photo/8248490", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8248490.jpg", "longitude": 13.650362, "latitude": 46.340336, "width": 375, "height": 500, "upload_date": "02 March 2008", "owner_id": 763995, "owner_name": "Samo T.", "owner_url": "http://www.panoramio.com/user/763995"} - , - {"photo_id": 459528, "photo_title": "gassan", "photo_url": "http://www.panoramio.com/photo/459528", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/459528.jpg", "longitude": 139.895782, "latitude": 38.282391, "width": 500, "height": 379, "upload_date": "16 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 50203, "photo_title": "Die Hütte in Nyidalur an einem Septembermorgen ....", "photo_url": "http://www.panoramio.com/photo/50203", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/50203.jpg", "longitude": -18.132935, "latitude": 64.762124, "width": 500, "height": 299, "upload_date": "20 September 2006", "owner_id": 7434, "owner_name": "baldinger reisen ag, waedenswil/switzerland", "owner_url": "http://www.panoramio.com/user/7434"} - , - {"photo_id": 51502, "photo_title": "eclipse", "photo_url": "http://www.panoramio.com/photo/51502", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/51502.jpg", "longitude": -0.121665, "latitude": 51.500969, "width": 500, "height": 375, "upload_date": "24 September 2006", "owner_id": 6645, "owner_name": "JesusVillalba", "owner_url": "http://www.panoramio.com/user/6645"} - , - {"photo_id": 3671663, "photo_title": "Urbia traspuesta de sol, desde Aizkorri", "photo_url": "http://www.panoramio.com/photo/3671663", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3671663.jpg", "longitude": -2.324831, "latitude": 42.951271, "width": 500, "height": 298, "upload_date": "02 August 2007", "owner_id": 129297, "owner_name": "Enrique Ortiz de Zárate", "owner_url": "http://www.panoramio.com/user/129297"} - , - {"photo_id": 1928780, "photo_title": "God is looking", "photo_url": "http://www.panoramio.com/photo/1928780", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1928780.jpg", "longitude": 19.952137, "latitude": 50.106075, "width": 500, "height": 379, "upload_date": "25 April 2007", "owner_id": 12954, "owner_name": "Ziębol", "owner_url": "http://www.panoramio.com/user/12954"} - , - {"photo_id": 10068109, "photo_title": "#2 Steinerne Brücke über Lendkanal, Stone Bridge over Lendkanal, Klagenfurt, Austria", "photo_url": "http://www.panoramio.com/photo/10068109", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10068109.jpg", "longitude": 14.284313, "latitude": 46.620436, "width": 376, "height": 500, "upload_date": "09 May 2008", "owner_id": 1077251, "owner_name": "picsonthemove", "owner_url": "http://www.panoramio.com/user/1077251"} - , - {"photo_id": 8730264, "photo_title": "Large wave hits the North Pier, Tynemouth - Easter 2008", "photo_url": "http://www.panoramio.com/photo/8730264", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8730264.jpg", "longitude": -1.420702, "latitude": 55.020727, "width": 434, "height": 500, "upload_date": "22 March 2008", "owner_id": 1107262, "owner_name": "bobpercy", "owner_url": "http://www.panoramio.com/user/1107262"} - , - {"photo_id": 330436, "photo_title": "bolivia salar-de-uyuni", "photo_url": "http://www.panoramio.com/photo/330436", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/330436.jpg", "longitude": -67.876625, "latitude": -20.180046, "width": 500, "height": 334, "upload_date": "07 January 2007", "owner_id": 69671, "owner_name": "illusandpics.com", "owner_url": "http://www.panoramio.com/user/69671"} - , - {"photo_id": 10287647, "photo_title": "A moment of silence * Honorable mention may contest*", "photo_url": "http://www.panoramio.com/photo/10287647", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10287647.jpg", "longitude": 6.177192, "latitude": 52.218099, "width": 500, "height": 413, "upload_date": "16 May 2008", "owner_id": 523564, "owner_name": "Luud Riphagen", "owner_url": "http://www.panoramio.com/user/523564"} - , - {"photo_id": 436323, "photo_title": "zeikan", "photo_url": "http://www.panoramio.com/photo/436323", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/436323.jpg", "longitude": 139.057925, "latitude": 37.930016, "width": 500, "height": 381, "upload_date": "15 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 298350, "photo_title": "What are you looking at ?", "photo_url": "http://www.panoramio.com/photo/298350", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/298350.jpg", "longitude": -109.276510, "latitude": -27.125567, "width": 500, "height": 332, "upload_date": "04 January 2007", "owner_id": 57893, "owner_name": "ThoiryK", "owner_url": "http://www.panoramio.com/user/57893"} - , - {"photo_id": 85618, "photo_title": "Minas de Mazarrón", "photo_url": "http://www.panoramio.com/photo/85618", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/85618.jpg", "longitude": -1.331406, "latitude": 37.599544, "width": 500, "height": 334, "upload_date": "24 November 2006", "owner_id": 10969, "owner_name": "Juanra", "owner_url": "http://www.panoramio.com/user/10969"} - , - {"photo_id": 3804107, "photo_title": "_Feloeka on the Nile_ (Aswan - Egypt)", "photo_url": "http://www.panoramio.com/photo/3804107", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3804107.jpg", "longitude": 32.887723, "latitude": 24.095443, "width": 500, "height": 350, "upload_date": "08 August 2007", "owner_id": 366746, "owner_name": "T NL", "owner_url": "http://www.panoramio.com/user/366746"} - , - {"photo_id": 369885, "photo_title": "Monarque on the beach", "photo_url": "http://www.panoramio.com/photo/369885", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/369885.jpg", "longitude": -70.563126, "latitude": 43.308816, "width": 500, "height": 371, "upload_date": "10 January 2007", "owner_id": 78738, "owner_name": "Nicola Vachon", "owner_url": "http://www.panoramio.com/user/78738"} - , - {"photo_id": 4819425, "photo_title": "Zeeland Magic, 1", "photo_url": "http://www.panoramio.com/photo/4819425", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4819425.jpg", "longitude": 3.479254, "latitude": 51.501169, "width": 492, "height": 500, "upload_date": "22 September 2007", "owner_id": 213866, "owner_name": "Nicolas Mertens", "owner_url": "http://www.panoramio.com/user/213866"} - , - {"photo_id": 88122, "photo_title": "Arpy Lake - Aosta Valley - Italy", "photo_url": "http://www.panoramio.com/photo/88122", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/88122.jpg", "longitude": 6.999636, "latitude": 45.723008, "width": 375, "height": 500, "upload_date": "28 November 2006", "owner_id": 11098, "owner_name": "Michele Masnata", "owner_url": "http://www.panoramio.com/user/11098"} - , - {"photo_id": 10219582, "photo_title": "MITTENS ALONG THE ROAD", "photo_url": "http://www.panoramio.com/photo/10219582", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10219582.jpg", "longitude": -110.091248, "latitude": 36.970810, "width": 500, "height": 462, "upload_date": "14 May 2008", "owner_id": 864987, "owner_name": "antorenz", "owner_url": "http://www.panoramio.com/user/864987"} - , - {"photo_id": 558167, "photo_title": "Táltostánc", "photo_url": "http://www.panoramio.com/photo/558167", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/558167.jpg", "longitude": 18.001614, "latitude": 47.409038, "width": 417, "height": 500, "upload_date": "24 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 7113068, "photo_title": "Bálavár", "photo_url": "http://www.panoramio.com/photo/7113068", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7113068.jpg", "longitude": 17.522507, "latitude": 47.775560, "width": 500, "height": 336, "upload_date": "14 January 2008", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 2920885, "photo_title": "Rainbow", "photo_url": "http://www.panoramio.com/photo/2920885", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2920885.jpg", "longitude": 10.620818, "latitude": 47.770960, "width": 375, "height": 500, "upload_date": "24 June 2007", "owner_id": 123698, "owner_name": "© Kojak", "owner_url": "http://www.panoramio.com/user/123698"} - , - {"photo_id": 2499825, "photo_title": "Rosina lamberti,sunset, templestowe", "photo_url": "http://www.panoramio.com/photo/2499825", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2499825.jpg", "longitude": 145.143299, "latitude": -37.770104, "width": 500, "height": 359, "upload_date": "01 June 2007", "owner_id": 140796, "owner_name": "rosina lamberti", "owner_url": "http://www.panoramio.com/user/140796"} - , - {"photo_id": 4536639, "photo_title": "Lago di Carezza", "photo_url": "http://www.panoramio.com/photo/4536639", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4536639.jpg", "longitude": 11.575298, "latitude": 46.410227, "width": 500, "height": 393, "upload_date": "09 September 2007", "owner_id": 578163, "owner_name": "Margherita-Italy", "owner_url": "http://www.panoramio.com/user/578163"} - , - {"photo_id": 314957, "photo_title": "\"He it is, who coming after me...\" - St. John Baptist on the Charles Bridge ", "photo_url": "http://www.panoramio.com/photo/314957", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/314957.jpg", "longitude": 14.410307, "latitude": 50.086597, "width": 335, "height": 500, "upload_date": "06 January 2007", "owner_id": 57869, "owner_name": "NAGY Albert", "owner_url": "http://www.panoramio.com/user/57869"} - , - {"photo_id": 507214, "photo_title": "A változás ideje", "photo_url": "http://www.panoramio.com/photo/507214", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/507214.jpg", "longitude": 17.980499, "latitude": 47.390912, "width": 500, "height": 335, "upload_date": "20 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 5551561, "photo_title": "New light old trees26-10-2007", "photo_url": "http://www.panoramio.com/photo/5551561", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5551561.jpg", "longitude": -5.663366, "latitude": 55.390130, "width": 338, "height": 500, "upload_date": "26 October 2007", "owner_id": 599676, "owner_name": "mossip", "owner_url": "http://www.panoramio.com/user/599676"} - , - {"photo_id": 67338, "photo_title": "Salar de Uyuni", "photo_url": "http://www.panoramio.com/photo/67338", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/67338.jpg", "longitude": -67.539825, "latitude": -20.439882, "width": 375, "height": 500, "upload_date": "20 October 2006", "owner_id": 9080, "owner_name": "Marco Teodonio", "owner_url": "http://www.panoramio.com/user/9080"} - , - {"photo_id": 436354, "photo_title": "oonogame", "photo_url": "http://www.panoramio.com/photo/436354", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/436354.jpg", "longitude": 138.461380, "latitude": 38.311760, "width": 387, "height": 500, "upload_date": "15 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 10068358, "photo_title": "#08 Reflections in Lendkanal, Klagenfurt, Scenery June 2008", "photo_url": "http://www.panoramio.com/photo/10068358", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10068358.jpg", "longitude": 14.294415, "latitude": 46.622326, "width": 375, "height": 500, "upload_date": "09 May 2008", "owner_id": 1077251, "owner_name": "picsonthemove", "owner_url": "http://www.panoramio.com/user/1077251"} - , - {"photo_id": 1440137, "photo_title": "Horseshoe Bend", "photo_url": "http://www.panoramio.com/photo/1440137", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1440137.jpg", "longitude": -111.510887, "latitude": 36.882641, "width": 500, "height": 391, "upload_date": "22 March 2007", "owner_id": 286729, "owner_name": "jimwitkowski", "owner_url": "http://www.panoramio.com/user/286729"} - , - {"photo_id": 4809439, "photo_title": "Going Nowhere Fast", "photo_url": "http://www.panoramio.com/photo/4809439", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4809439.jpg", "longitude": -119.013970, "latitude": 38.211420, "width": 375, "height": 500, "upload_date": "21 September 2007", "owner_id": 376395, "owner_name": "JeffSullivan (www.MyPhotoGuides.com)", "owner_url": "http://www.panoramio.com/user/376395"} - , - {"photo_id": 7806281, "photo_title": "Moon&Mosque", "photo_url": "http://www.panoramio.com/photo/7806281", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7806281.jpg", "longitude": 21.138296, "latitude": 41.960958, "width": 500, "height": 344, "upload_date": "13 February 2008", "owner_id": 695042, "owner_name": "Neim Sejfuli ♦", "owner_url": "http://www.panoramio.com/user/695042"} - , - {"photo_id": 821388, "photo_title": "Aurora Borealis with frosty fog from the sea in front", "photo_url": "http://www.panoramio.com/photo/821388", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/821388.jpg", "longitude": 23.229733, "latitude": 69.962616, "width": 500, "height": 256, "upload_date": "14 February 2007", "owner_id": 56091, "owner_name": "Kjetil Vaage Øie", "owner_url": "http://www.panoramio.com/user/56091"} - , - {"photo_id": 946841, "photo_title": "Maroon Bells", "photo_url": "http://www.panoramio.com/photo/946841", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/946841.jpg", "longitude": -106.948385, "latitude": 39.095030, "width": 500, "height": 375, "upload_date": "21 February 2007", "owner_id": 163881, "owner_name": "faisasy", "owner_url": "http://www.panoramio.com/user/163881"} - , - {"photo_id": 3719882, "photo_title": "Puesta de Sol(Oest.Portugal)", "photo_url": "http://www.panoramio.com/photo/3719882", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3719882.jpg", "longitude": -9.286709, "latitude": 39.392428, "width": 375, "height": 500, "upload_date": "04 August 2007", "owner_id": 83865, "owner_name": "Epi F.Villanueva", "owner_url": "http://www.panoramio.com/user/83865"} - , - {"photo_id": 3418114, "photo_title": "Fény-Kép", "photo_url": "http://www.panoramio.com/photo/3418114", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3418114.jpg", "longitude": 17.511692, "latitude": 47.837127, "width": 500, "height": 333, "upload_date": "20 July 2007", "owner_id": 689769, "owner_name": "Ponty István", "owner_url": "http://www.panoramio.com/user/689769"} - , - {"photo_id": 255257, "photo_title": "Croatia, Brela - Sunset on the Beach - near \"Kamen Brela\" rock, symbol of this adriatic town", "photo_url": "http://www.panoramio.com/photo/255257", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/255257.jpg", "longitude": 16.922604, "latitude": 43.372309, "width": 500, "height": 332, "upload_date": "28 December 2006", "owner_id": 52119, "owner_name": "RomanV", "owner_url": "http://www.panoramio.com/user/52119"} - , - {"photo_id": 2346040, "photo_title": "Huncut fények", "photo_url": "http://www.panoramio.com/photo/2346040", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2346040.jpg", "longitude": 15.539217, "latitude": 47.670589, "width": 500, "height": 334, "upload_date": "22 May 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 1235900, "photo_title": "Fog, Hemlocks and Cedars ", "photo_url": "http://www.panoramio.com/photo/1235900", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1235900.jpg", "longitude": -131.682816, "latitude": 52.885706, "width": 500, "height": 352, "upload_date": "09 March 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 111554, "photo_title": "Lahna", "photo_url": "http://www.panoramio.com/photo/111554", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/111554.jpg", "longitude": 27.557831, "latitude": 42.550551, "width": 500, "height": 357, "upload_date": "11 December 2006", "owner_id": 16880, "owner_name": "evgenidinev.com", "owner_url": "http://www.panoramio.com/user/16880"} - , - {"photo_id": 280112, "photo_title": "dune02", "photo_url": "http://www.panoramio.com/photo/280112", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/280112.jpg", "longitude": -3.985291, "latitude": 31.156408, "width": 500, "height": 338, "upload_date": "01 January 2007", "owner_id": 58867, "owner_name": "Lachaud Franck", "owner_url": "http://www.panoramio.com/user/58867"} - , - {"photo_id": 5984, "photo_title": "Chott El Jerid", "photo_url": "http://www.panoramio.com/photo/5984", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5984.jpg", "longitude": 8.358536, "latitude": 33.715202, "width": 347, "height": 500, "upload_date": "17 December 2005", "owner_id": 989, "owner_name": "Mrgud", "owner_url": "http://www.panoramio.com/user/989"} - , - {"photo_id": 25513, "photo_title": "Catarata Rio Celeste", "photo_url": "http://www.panoramio.com/photo/25513", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/25513.jpg", "longitude": -85.046539, "latitude": 10.643400, "width": 375, "height": 500, "upload_date": "17 June 2006", "owner_id": 4112, "owner_name": "Roberto Garcia", "owner_url": "http://www.panoramio.com/user/4112"} - , - {"photo_id": 35502, "photo_title": "roques", "photo_url": "http://www.panoramio.com/photo/35502", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/35502.jpg", "longitude": -66.774902, "latitude": 11.802834, "width": 500, "height": 375, "upload_date": "29 July 2006", "owner_id": 3360, "owner_name": "ozzy", "owner_url": "http://www.panoramio.com/user/3360"} - , - {"photo_id": 1656020, "photo_title": "Palmeras", "photo_url": "http://www.panoramio.com/photo/1656020", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1656020.jpg", "longitude": -1.211929, "latitude": 37.935804, "width": 500, "height": 333, "upload_date": "06 April 2007", "owner_id": 10969, "owner_name": "Juanra", "owner_url": "http://www.panoramio.com/user/10969"} - , - {"photo_id": 58341, "photo_title": "Lio Piccolo - Palazzetto Boldú", "photo_url": "http://www.panoramio.com/photo/58341", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/58341.jpg", "longitude": 12.489095, "latitude": 45.490615, "width": 500, "height": 333, "upload_date": "07 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 416310, "photo_title": "Lake of Glass Falls", "photo_url": "http://www.panoramio.com/photo/416310", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/416310.jpg", "longitude": -105.664272, "latitude": 40.283192, "width": 500, "height": 374, "upload_date": "13 January 2007", "owner_id": 87752, "owner_name": "Richard Ryer", "owner_url": "http://www.panoramio.com/user/87752"} - , - {"photo_id": 8148031, "photo_title": "Der Morgen in der Camargue .....", "photo_url": "http://www.panoramio.com/photo/8148031", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8148031.jpg", "longitude": 4.451180, "latitude": 43.507102, "width": 500, "height": 351, "upload_date": "27 February 2008", "owner_id": 7434, "owner_name": "baldinger reisen ag, waedenswil/switzerland", "owner_url": "http://www.panoramio.com/user/7434"} - , - {"photo_id": 1088575, "photo_title": "Lampion", "photo_url": "http://www.panoramio.com/photo/1088575", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1088575.jpg", "longitude": 17.698631, "latitude": 47.521374, "width": 500, "height": 397, "upload_date": "28 February 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 771169, "photo_title": "Bloodred evening sky, near Zutphen", "photo_url": "http://www.panoramio.com/photo/771169", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/771169.jpg", "longitude": 6.110770, "latitude": 52.113681, "width": 500, "height": 500, "upload_date": "11 February 2007", "owner_id": 161254, "owner_name": "fotoartistry", "owner_url": "http://www.panoramio.com/user/161254"} - , - {"photo_id": 2334149, "photo_title": "", "photo_url": "http://www.panoramio.com/photo/2334149", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2334149.jpg", "longitude": 0.493269, "latitude": 40.904204, "width": 500, "height": 304, "upload_date": "21 May 2007", "owner_id": 3022, "owner_name": "Arcadi", "owner_url": "http://www.panoramio.com/user/3022"} - , - {"photo_id": 41688, "photo_title": "Unbelieveable sunrise colors at Lofoten", "photo_url": "http://www.panoramio.com/photo/41688", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/41688.jpg", "longitude": 14.256134, "latitude": 68.239368, "width": 500, "height": 375, "upload_date": "26 August 2006", "owner_id": 3404, "owner_name": "Csongor Böröczky", "owner_url": "http://www.panoramio.com/user/3404"} - , - {"photo_id": 6953, "photo_title": "Last moment of the day", "photo_url": "http://www.panoramio.com/photo/6953", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6953.jpg", "longitude": 2.191944, "latitude": 41.578599, "width": 500, "height": 320, "upload_date": "16 January 2006", "owner_id": 414, "owner_name": "Sonia Villegas", "owner_url": "http://www.panoramio.com/user/414"} - , - {"photo_id": 10895432, "photo_title": "Карагайская сосна", "photo_url": "http://www.panoramio.com/photo/10895432", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10895432.jpg", "longitude": 57.886791, "latitude": 51.644708, "width": 333, "height": 500, "upload_date": "04 June 2008", "owner_id": 904057, "owner_name": "Б.Ярцев", "owner_url": "http://www.panoramio.com/user/904057"} - , - {"photo_id": 1446812, "photo_title": "Elfland", "photo_url": "http://www.panoramio.com/photo/1446812", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1446812.jpg", "longitude": 17.808323, "latitude": 47.349408, "width": 345, "height": 500, "upload_date": "22 March 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 4898495, "photo_title": "Elfendel", "photo_url": "http://www.panoramio.com/photo/4898495", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4898495.jpg", "longitude": 17.724380, "latitude": 47.261058, "width": 500, "height": 325, "upload_date": "25 September 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 911298, "photo_title": "View from Nordenskiöldtoppen, Svalbard", "photo_url": "http://www.panoramio.com/photo/911298", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/911298.jpg", "longitude": 15.314941, "latitude": 78.179588, "width": 500, "height": 287, "upload_date": "20 February 2007", "owner_id": 66734, "owner_name": "Svein Solhaug", "owner_url": "http://www.panoramio.com/user/66734"} - , - {"photo_id": 2169236, "photo_title": "sunset", "photo_url": "http://www.panoramio.com/photo/2169236", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2169236.jpg", "longitude": 145.128708, "latitude": -37.759859, "width": 333, "height": 500, "upload_date": "11 May 2007", "owner_id": 140796, "owner_name": "rosina lamberti", "owner_url": "http://www.panoramio.com/user/140796"} - , - {"photo_id": 237466, "photo_title": "wierzchon.com warsaw podzamcze", "photo_url": "http://www.panoramio.com/photo/237466", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/237466.jpg", "longitude": 21.011347, "latitude": 52.253852, "width": 335, "height": 500, "upload_date": "26 December 2006", "owner_id": 47836, "owner_name": "Andrzej Wierzchon", "owner_url": "http://www.panoramio.com/user/47836"} - , - {"photo_id": 355519, "photo_title": "chile laguna miscanti", "photo_url": "http://www.panoramio.com/photo/355519", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/355519.jpg", "longitude": -67.798347, "latitude": -23.758010, "width": 500, "height": 334, "upload_date": "09 January 2007", "owner_id": 69671, "owner_name": "illusandpics.com", "owner_url": "http://www.panoramio.com/user/69671"} - , - {"photo_id": 58360, "photo_title": "Castello di Toblino", "photo_url": "http://www.panoramio.com/photo/58360", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/58360.jpg", "longitude": 10.966415, "latitude": 46.054173, "width": 500, "height": 333, "upload_date": "07 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 10511168, "photo_title": "Në Fush të Pallaticës", "photo_url": "http://www.panoramio.com/photo/10511168", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10511168.jpg", "longitude": 21.075296, "latitude": 42.007692, "width": 500, "height": 413, "upload_date": "23 May 2008", "owner_id": 695042, "owner_name": "Neim Sejfuli ♦", "owner_url": "http://www.panoramio.com/user/695042"} - , - {"photo_id": 572526, "photo_title": "Farm by Osafjorden in the first sun of the day", "photo_url": "http://www.panoramio.com/photo/572526", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/572526.jpg", "longitude": 6.998119, "latitude": 60.563101, "width": 500, "height": 353, "upload_date": "25 January 2007", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 5303687, "photo_title": "Fátyoltánc", "photo_url": "http://www.panoramio.com/photo/5303687", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5303687.jpg", "longitude": 15.934725, "latitude": 47.915997, "width": 500, "height": 334, "upload_date": "14 October 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 370324, "photo_title": "Rainbow_by_bkm", "photo_url": "http://www.panoramio.com/photo/370324", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/370324.jpg", "longitude": 6.453094, "latitude": 62.636926, "width": 500, "height": 344, "upload_date": "10 January 2007", "owner_id": 78923, "owner_name": "bj00rn", "owner_url": "http://www.panoramio.com/user/78923"} - , - {"photo_id": 7996369, "photo_title": "Bled - Church on the island", "photo_url": "http://www.panoramio.com/photo/7996369", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7996369.jpg", "longitude": 14.084473, "latitude": 46.360671, "width": 375, "height": 500, "upload_date": "21 February 2008", "owner_id": 763995, "owner_name": "Samo T.", "owner_url": "http://www.panoramio.com/user/763995"} - , - {"photo_id": 498385, "photo_title": "Rainbow Falls in Sun", "photo_url": "http://www.panoramio.com/photo/498385", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/498385.jpg", "longitude": -119.084823, "latitude": 37.601771, "width": 407, "height": 500, "upload_date": "20 January 2007", "owner_id": 107613, "owner_name": "Tom Grubbe", "owner_url": "http://www.panoramio.com/user/107613"} - , - {"photo_id": 571110, "photo_title": "Nordlys - Aurora Borealis - over Vadsø", "photo_url": "http://www.panoramio.com/photo/571110", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/571110.jpg", "longitude": 29.815350, "latitude": 70.075649, "width": 500, "height": 332, "upload_date": "25 January 2007", "owner_id": 121482, "owner_name": "Jens Gressmyr", "owner_url": "http://www.panoramio.com/user/121482"} - , - {"photo_id": 3904502, "photo_title": "Una notte di fuoco - a night of fire ", "photo_url": "http://www.panoramio.com/photo/3904502", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3904502.jpg", "longitude": 11.337290, "latitude": 46.461257, "width": 500, "height": 360, "upload_date": "13 August 2007", "owner_id": 578163, "owner_name": "Margherita-Italy", "owner_url": "http://www.panoramio.com/user/578163"} - , - {"photo_id": 1835001, "photo_title": "Вулкан Жупановский. Рассвет", "photo_url": "http://www.panoramio.com/photo/1835001", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1835001.jpg", "longitude": 158.595543, "latitude": 53.496828, "width": 500, "height": 341, "upload_date": "19 April 2007", "owner_id": 268724, "owner_name": "Korotnev AV", "owner_url": "http://www.panoramio.com/user/268724"} - , - {"photo_id": 91931, "photo_title": "Plitvice (Croacia)", "photo_url": "http://www.panoramio.com/photo/91931", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/91931.jpg", "longitude": 15.599556, "latitude": 44.851975, "width": 500, "height": 375, "upload_date": "04 December 2006", "owner_id": 11403, "owner_name": "Arnáiz", "owner_url": "http://www.panoramio.com/user/11403"} - , - {"photo_id": 515905, "photo_title": "A figyelő", "photo_url": "http://www.panoramio.com/photo/515905", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/515905.jpg", "longitude": 17.625675, "latitude": 47.565060, "width": 500, "height": 345, "upload_date": "21 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 7444056, "photo_title": "Ragyogás II.", "photo_url": "http://www.panoramio.com/photo/7444056", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7444056.jpg", "longitude": 16.385422, "latitude": 46.850095, "width": 333, "height": 500, "upload_date": "29 January 2008", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 1674082, "photo_title": "STATUA LIBERTA'", "photo_url": "http://www.panoramio.com/photo/1674082", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1674082.jpg", "longitude": -74.042444, "latitude": 40.689229, "width": 500, "height": 375, "upload_date": "07 April 2007", "owner_id": 135078, "owner_name": "Fabio Belli FABIOSO", "owner_url": "http://www.panoramio.com/user/135078"} - , - {"photo_id": 798846, "photo_title": "Panther Rock, Antelope Canyon, AZ", "photo_url": "http://www.panoramio.com/photo/798846", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/798846.jpg", "longitude": -111.391668, "latitude": 36.878728, "width": 376, "height": 500, "upload_date": "12 February 2007", "owner_id": 52440, "owner_name": "Hank Waxman", "owner_url": "http://www.panoramio.com/user/52440"} - , - {"photo_id": 21458, "photo_title": "The way of dreams (Aletschgletsher)", "photo_url": "http://www.panoramio.com/photo/21458", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/21458.jpg", "longitude": 7.976074, "latitude": 46.544694, "width": 500, "height": 375, "upload_date": "29 May 2006", "owner_id": 3404, "owner_name": "Csongor Böröczky", "owner_url": "http://www.panoramio.com/user/3404"} - , - {"photo_id": 691681, "photo_title": "PANORAMIO - Ilha das Cabras - by Wolfgang Wodeck", "photo_url": "http://www.panoramio.com/photo/691681", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/691681.jpg", "longitude": -48.628750, "latitude": -26.989624, "width": 500, "height": 333, "upload_date": "04 February 2007", "owner_id": 103166, "owner_name": "Wolfgang Wodeck", "owner_url": "http://www.panoramio.com/user/103166"} - , - {"photo_id": 564451, "photo_title": "Gewitter über Schutterwald", "photo_url": "http://www.panoramio.com/photo/564451", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/564451.jpg", "longitude": 7.887470, "latitude": 48.453409, "width": 500, "height": 333, "upload_date": "25 January 2007", "owner_id": 121083, "owner_name": "Alexandra Buss", "owner_url": "http://www.panoramio.com/user/121083"} - , - {"photo_id": 1430151, "photo_title": "Burano", "photo_url": "http://www.panoramio.com/photo/1430151", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1430151.jpg", "longitude": 12.416686, "latitude": 45.485966, "width": 500, "height": 365, "upload_date": "21 March 2007", "owner_id": 193913, "owner_name": "Klesitz Piroska", "owner_url": "http://www.panoramio.com/user/193913"} - , - {"photo_id": 3156915, "photo_title": "Brussels - Grand Place", "photo_url": "http://www.panoramio.com/photo/3156915", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3156915.jpg", "longitude": 4.352152, "latitude": 50.846658, "width": 500, "height": 375, "upload_date": "07 July 2007", "owner_id": 138691, "owner_name": "Josep Maria Alegre", "owner_url": "http://www.panoramio.com/user/138691"} - , - {"photo_id": 6126516, "photo_title": "Richmond Deer", "photo_url": "http://www.panoramio.com/photo/6126516", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6126516.jpg", "longitude": -0.279776, "latitude": 51.448565, "width": 500, "height": 294, "upload_date": "25 November 2007", "owner_id": 1130880, "owner_name": "marksimms", "owner_url": "http://www.panoramio.com/user/1130880"} - , - {"photo_id": 679356, "photo_title": "sulphur crested cockatoos", "photo_url": "http://www.panoramio.com/photo/679356", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/679356.jpg", "longitude": 150.363181, "latitude": -33.718234, "width": 500, "height": 500, "upload_date": "04 February 2007", "owner_id": 146092, "owner_name": "sid1662", "owner_url": "http://www.panoramio.com/user/146092"} - , - {"photo_id": 462324, "photo_title": "Yucca", "photo_url": "http://www.panoramio.com/photo/462324", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/462324.jpg", "longitude": -106.259680, "latitude": 32.797448, "width": 500, "height": 500, "upload_date": "17 January 2007", "owner_id": 93560, "owner_name": "Alex Petrov", "owner_url": "http://www.panoramio.com/user/93560"} - , - {"photo_id": 9528831, "photo_title": "maldives", "photo_url": "http://www.panoramio.com/photo/9528831", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9528831.jpg", "longitude": 73.454686, "latitude": 3.845837, "width": 500, "height": 335, "upload_date": "20 April 2008", "owner_id": 647076, "owner_name": "garethohara", "owner_url": "http://www.panoramio.com/user/647076"} - , - {"photo_id": 11825351, "photo_title": " ARC Buque Escuela Gloria. ARC School Ship Gloria. by (((Jose Daniel))) ", "photo_url": "http://www.panoramio.com/photo/11825351", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11825351.jpg", "longitude": -75.539761, "latitude": 10.410917, "width": 500, "height": 392, "upload_date": "05 July 2008", "owner_id": 1611883, "owner_name": "(((Jose Daniel)))", "owner_url": "http://www.panoramio.com/user/1611883"} - , - {"photo_id": 459614, "photo_title": "seaside line", "photo_url": "http://www.panoramio.com/photo/459614", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/459614.jpg", "longitude": 138.801785, "latitude": 37.756669, "width": 500, "height": 383, "upload_date": "16 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 771974, "photo_title": "Retired Boat", "photo_url": "http://www.panoramio.com/photo/771974", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/771974.jpg", "longitude": 25.427610, "latitude": 36.427576, "width": 500, "height": 332, "upload_date": "11 February 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 1781649, "photo_title": "Fall in Yosemite Valley", "photo_url": "http://www.panoramio.com/photo/1781649", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1781649.jpg", "longitude": -119.609270, "latitude": 37.735290, "width": 500, "height": 400, "upload_date": "15 April 2007", "owner_id": 376395, "owner_name": "JeffSullivan (www.MyPhotoGuides.com)", "owner_url": "http://www.panoramio.com/user/376395"} - , - {"photo_id": 8491500, "photo_title": "Horsetail Falls at Sunset", "photo_url": "http://www.panoramio.com/photo/8491500", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8491500.jpg", "longitude": -119.623947, "latitude": 37.723512, "width": 333, "height": 500, "upload_date": "12 March 2008", "owner_id": 376395, "owner_name": "JeffSullivan (www.MyPhotoGuides.com)", "owner_url": "http://www.panoramio.com/user/376395"} - , - {"photo_id": 9505599, "photo_title": "#9 Penguins at Boulders Beach, Simon’s Town, Scenery May08", "photo_url": "http://www.panoramio.com/photo/9505599", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9505599.jpg", "longitude": 18.450642, "latitude": -34.196443, "width": 500, "height": 489, "upload_date": "19 April 2008", "owner_id": 1077251, "owner_name": "picsonthemove", "owner_url": "http://www.panoramio.com/user/1077251"} - , - {"photo_id": 1320563, "photo_title": "Pirates on anchor", "photo_url": "http://www.panoramio.com/photo/1320563", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1320563.jpg", "longitude": 39.311485, "latitude": -5.724799, "width": 316, "height": 500, "upload_date": "14 March 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 2381962, "photo_title": "Uluru,Northern Territory,Australia-Rosina lamberti", "photo_url": "http://www.panoramio.com/photo/2381962", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2381962.jpg", "longitude": 131.054878, "latitude": -25.326959, "width": 500, "height": 274, "upload_date": "25 May 2007", "owner_id": 140796, "owner_name": "rosina lamberti", "owner_url": "http://www.panoramio.com/user/140796"} - , - {"photo_id": 92102, "photo_title": "Briksdalsbreen (Norway)", "photo_url": "http://www.panoramio.com/photo/92102", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/92102.jpg", "longitude": 6.887054, "latitude": 61.664788, "width": 500, "height": 375, "upload_date": "05 December 2006", "owner_id": 11403, "owner_name": "Arnáiz", "owner_url": "http://www.panoramio.com/user/11403"} - , - {"photo_id": 7012377, "photo_title": "Kanyarfények", "photo_url": "http://www.panoramio.com/photo/7012377", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7012377.jpg", "longitude": 17.517700, "latitude": 47.760445, "width": 500, "height": 334, "upload_date": "09 January 2008", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 422769, "photo_title": "hazaki2", "photo_url": "http://www.panoramio.com/photo/422769", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/422769.jpg", "longitude": 138.862553, "latitude": 37.711410, "width": 500, "height": 333, "upload_date": "14 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 4558763, "photo_title": "Corsica - West Coast", "photo_url": "http://www.panoramio.com/photo/4558763", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4558763.jpg", "longitude": 8.640404, "latitude": 42.255205, "width": 500, "height": 342, "upload_date": "10 September 2007", "owner_id": 49870, "owner_name": "Jean-Michel Raggioli", "owner_url": "http://www.panoramio.com/user/49870"} - , - {"photo_id": 374479, "photo_title": "Corinthos", "photo_url": "http://www.panoramio.com/photo/374479", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/374479.jpg", "longitude": 22.997131, "latitude": 37.925514, "width": 375, "height": 500, "upload_date": "10 January 2007", "owner_id": 74407, "owner_name": "Yeoman", "owner_url": "http://www.panoramio.com/user/74407"} - , - {"photo_id": 2421991, "photo_title": "\"Different\" Arch", "photo_url": "http://www.panoramio.com/photo/2421991", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2421991.jpg", "longitude": -109.499032, "latitude": 38.744118, "width": 500, "height": 333, "upload_date": "27 May 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 945978, "photo_title": "L'Ebre", "photo_url": "http://www.panoramio.com/photo/945978", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/945978.jpg", "longitude": 0.495501, "latitude": 40.905015, "width": 500, "height": 377, "upload_date": "21 February 2007", "owner_id": 3022, "owner_name": "Arcadi", "owner_url": "http://www.panoramio.com/user/3022"} - , - {"photo_id": 48449, "photo_title": "Montserrat", "photo_url": "http://www.panoramio.com/photo/48449", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/48449.jpg", "longitude": 1.840060, "latitude": 41.593702, "width": 500, "height": 337, "upload_date": "15 September 2006", "owner_id": 5477, "owner_name": "errece", "owner_url": "http://www.panoramio.com/user/5477"} - , - {"photo_id": 572483, "photo_title": "wheatfield in autumn", "photo_url": "http://www.panoramio.com/photo/572483", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/572483.jpg", "longitude": 11.278152, "latitude": 59.644760, "width": 500, "height": 351, "upload_date": "25 January 2007", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 2060897, "photo_title": "Mid Coolum", "photo_url": "http://www.panoramio.com/photo/2060897", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2060897.jpg", "longitude": 153.097685, "latitude": -26.540052, "width": 500, "height": 336, "upload_date": "04 May 2007", "owner_id": 411736, "owner_name": "Nixpix", "owner_url": "http://www.panoramio.com/user/411736"} - , - {"photo_id": 6327146, "photo_title": "Winterwald beim \"Widi\" - a thin sheet of ice (messi 06)", "photo_url": "http://www.panoramio.com/photo/6327146", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6327146.jpg", "longitude": 7.381070, "latitude": 47.015670, "width": 500, "height": 363, "upload_date": "06 December 2007", "owner_id": 162722, "owner_name": "©polytropos", "owner_url": "http://www.panoramio.com/user/162722"} - , - {"photo_id": 36476, "photo_title": "Bergbach", "photo_url": "http://www.panoramio.com/photo/36476", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/36476.jpg", "longitude": 13.911953, "latitude": 47.634164, "width": 375, "height": 500, "upload_date": "02 August 2006", "owner_id": 5703, "owner_name": "dancer", "owner_url": "http://www.panoramio.com/user/5703"} - , - {"photo_id": 436366, "photo_title": "sunset", "photo_url": "http://www.panoramio.com/photo/436366", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/436366.jpg", "longitude": 138.857231, "latitude": 37.828497, "width": 500, "height": 351, "upload_date": "15 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 701842, "photo_title": "Singapore Skyline @ Night", "photo_url": "http://www.panoramio.com/photo/701842", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/701842.jpg", "longitude": 103.855486, "latitude": 1.288897, "width": 500, "height": 324, "upload_date": "05 February 2007", "owner_id": 20398, "owner_name": "boerx", "owner_url": "http://www.panoramio.com/user/20398"} - , - {"photo_id": 6086623, "photo_title": "Lángoló repce", "photo_url": "http://www.panoramio.com/photo/6086623", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6086623.jpg", "longitude": 17.784977, "latitude": 47.660994, "width": 500, "height": 334, "upload_date": "23 November 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 1595617, "photo_title": "Rosina lamberti,Templestowe,Victoria,Australia", "photo_url": "http://www.panoramio.com/photo/1595617", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1595617.jpg", "longitude": 145.137978, "latitude": -37.774785, "width": 500, "height": 354, "upload_date": "02 April 2007", "owner_id": 140796, "owner_name": "rosina lamberti", "owner_url": "http://www.panoramio.com/user/140796"} - , - {"photo_id": 74727, "photo_title": "ama dablam in background", "photo_url": "http://www.panoramio.com/photo/74727", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/74727.jpg", "longitude": 86.826496, "latitude": 27.904631, "width": 500, "height": 334, "upload_date": "02 November 2006", "owner_id": 9812, "owner_name": "wsm earp", "owner_url": "http://www.panoramio.com/user/9812"} - , - {"photo_id": 36086, "photo_title": "Рим. двор Ватикана", "photo_url": "http://www.panoramio.com/photo/36086", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/36086.jpg", "longitude": 12.454505, "latitude": 41.905695, "width": 500, "height": 444, "upload_date": "31 July 2006", "owner_id": 5641, "owner_name": "sergey duhanin", "owner_url": "http://www.panoramio.com/user/5641"} - , - {"photo_id": 2066940, "photo_title": "Unbelievable ice sculptures", "photo_url": "http://www.panoramio.com/photo/2066940", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2066940.jpg", "longitude": -73.264389, "latitude": -50.009063, "width": 500, "height": 333, "upload_date": "04 May 2007", "owner_id": 3316, "owner_name": "kristine hannon (www.traveltheglobe.be)", "owner_url": "http://www.panoramio.com/user/3316"} - , - {"photo_id": 1759754, "photo_title": "On the way for the heat wave", "photo_url": "http://www.panoramio.com/photo/1759754", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1759754.jpg", "longitude": -12.734528, "latitude": 20.208079, "width": 500, "height": 331, "upload_date": "13 April 2007", "owner_id": 121377, "owner_name": "Philippe Buffard", "owner_url": "http://www.panoramio.com/user/121377"} - , - {"photo_id": 5717808, "photo_title": "Moonlight @ Eglisau", "photo_url": "http://www.panoramio.com/photo/5717808", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5717808.jpg", "longitude": 8.521459, "latitude": 47.575035, "width": 500, "height": 331, "upload_date": "05 November 2007", "owner_id": 436351, "owner_name": "Sunpixx", "owner_url": "http://www.panoramio.com/user/436351"} - , - {"photo_id": 44853, "photo_title": "Airfocus20050501DSC_3416l", "photo_url": "http://www.panoramio.com/photo/44853", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/44853.jpg", "longitude": 7.663361, "latitude": 50.287009, "width": 500, "height": 332, "upload_date": "02 September 2006", "owner_id": 6703, "owner_name": "Peter Jansen", "owner_url": "http://www.panoramio.com/user/6703"} - , - {"photo_id": 57403, "photo_title": "Burano 2", "photo_url": "http://www.panoramio.com/photo/57403", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/57403.jpg", "longitude": 12.420173, "latitude": 45.485365, "width": 500, "height": 331, "upload_date": "04 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 13130, "photo_title": "Agde - Painted wall", "photo_url": "http://www.panoramio.com/photo/13130", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/13130.jpg", "longitude": 3.471251, "latitude": 43.312314, "width": 500, "height": 375, "upload_date": "25 February 2006", "owner_id": 1981, "owner_name": "Eric Medvet", "owner_url": "http://www.panoramio.com/user/1981"} - , - {"photo_id": 7375236, "photo_title": "le Loir en crue à Briollay, janvier 2008. #276", "photo_url": "http://www.panoramio.com/photo/7375236", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7375236.jpg", "longitude": -0.500618, "latitude": 47.557827, "width": 500, "height": 338, "upload_date": "26 January 2008", "owner_id": 666755, "owner_name": "Armagnac", "owner_url": "http://www.panoramio.com/user/666755"} - , - {"photo_id": 3851701, "photo_title": "Mailbox", "photo_url": "http://www.panoramio.com/photo/3851701", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3851701.jpg", "longitude": -73.475790, "latitude": 44.528271, "width": 500, "height": 333, "upload_date": "10 August 2007", "owner_id": 17488, "owner_name": "John Gillett", "owner_url": "http://www.panoramio.com/user/17488"} - , - {"photo_id": 1235904, "photo_title": "Ripples", "photo_url": "http://www.panoramio.com/photo/1235904", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1235904.jpg", "longitude": -131.616211, "latitude": 52.834299, "width": 330, "height": 500, "upload_date": "09 March 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 50646, "photo_title": "Ice Cave", "photo_url": "http://www.panoramio.com/photo/50646", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/50646.jpg", "longitude": -118.052559, "latitude": 52.678620, "width": 500, "height": 375, "upload_date": "21 September 2006", "owner_id": 7190, "owner_name": "Perry Tang", "owner_url": "http://www.panoramio.com/user/7190"} - , - {"photo_id": 617458, "photo_title": "Pescador", "photo_url": "http://www.panoramio.com/photo/617458", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/617458.jpg", "longitude": 0.492368, "latitude": 40.904091, "width": 500, "height": 334, "upload_date": "29 January 2007", "owner_id": 3022, "owner_name": "Arcadi", "owner_url": "http://www.panoramio.com/user/3022"} - , - {"photo_id": 52724, "photo_title": "Sunrise Gythio", "photo_url": "http://www.panoramio.com/photo/52724", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/52724.jpg", "longitude": 22.574501, "latitude": 36.755665, "width": 500, "height": 333, "upload_date": "26 September 2006", "owner_id": 7464, "owner_name": "Pieter", "owner_url": "http://www.panoramio.com/user/7464"} - , - {"photo_id": 289855, "photo_title": "Coronation Island Colours", "photo_url": "http://www.panoramio.com/photo/289855", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/289855.jpg", "longitude": -45.703125, "latitude": -60.705448, "width": 500, "height": 335, "upload_date": "03 January 2007", "owner_id": 61890, "owner_name": "enriquevidalphoto.com", "owner_url": "http://www.panoramio.com/user/61890"} - , - {"photo_id": 5649263, "photo_title": "Naab im Herbst", "photo_url": "http://www.panoramio.com/photo/5649263", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5649263.jpg", "longitude": 12.070885, "latitude": 49.298711, "width": 500, "height": 329, "upload_date": "31 October 2007", "owner_id": 696605, "owner_name": "© alfredschaffer", "owner_url": "http://www.panoramio.com/user/696605"} - , - {"photo_id": 110750, "photo_title": "The Peter and Paul Fortress. Panoramic view (180°) from The Palace Quay. — Большая (180°) панорама Петропавловской крепости с Дворцовой набережной.", "photo_url": "http://www.panoramio.com/photo/110750", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/110750.jpg", "longitude": 30.317802, "latitude": 59.946930, "width": 500, "height": 31, "upload_date": "11 December 2006", "owner_id": 12103, "owner_name": "Roman Sobolenko", "owner_url": "http://www.panoramio.com/user/12103"} - , - {"photo_id": 1870028, "photo_title": "Tour Moretti", "photo_url": "http://www.panoramio.com/photo/1870028", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1870028.jpg", "longitude": 2.247775, "latitude": 48.889175, "width": 500, "height": 395, "upload_date": "21 April 2007", "owner_id": 372189, "owner_name": "Phil©", "owner_url": "http://www.panoramio.com/user/372189"} - , - {"photo_id": 52752, "photo_title": "Sun and Clouds in Naphlion", "photo_url": "http://www.panoramio.com/photo/52752", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/52752.jpg", "longitude": 22.792425, "latitude": 37.562405, "width": 333, "height": 500, "upload_date": "26 September 2006", "owner_id": 7464, "owner_name": "Pieter", "owner_url": "http://www.panoramio.com/user/7464"} - , - {"photo_id": 2256672, "photo_title": "En algún punto", "photo_url": "http://www.panoramio.com/photo/2256672", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2256672.jpg", "longitude": -2.579153, "latitude": 42.493436, "width": 500, "height": 331, "upload_date": "17 May 2007", "owner_id": 129297, "owner_name": "Enrique Ortiz de Zárate", "owner_url": "http://www.panoramio.com/user/129297"} - , - {"photo_id": 519209, "photo_title": "Armageddon", "photo_url": "http://www.panoramio.com/photo/519209", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/519209.jpg", "longitude": 17.627563, "latitude": 47.664809, "width": 500, "height": 334, "upload_date": "21 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 10175554, "photo_title": "Vessel to eternity", "photo_url": "http://www.panoramio.com/photo/10175554", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10175554.jpg", "longitude": 119.670467, "latitude": 11.089976, "width": 500, "height": 363, "upload_date": "13 May 2008", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 11138384, "photo_title": "Lac des Joncs, reflets", "photo_url": "http://www.panoramio.com/photo/11138384", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11138384.jpg", "longitude": 6.946986, "latitude": 46.513176, "width": 500, "height": 375, "upload_date": "12 June 2008", "owner_id": 1430484, "owner_name": "tiopepe8", "owner_url": "http://www.panoramio.com/user/1430484"} - , - {"photo_id": 204255, "photo_title": "Old farm by Osafjorden", "photo_url": "http://www.panoramio.com/photo/204255", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/204255.jpg", "longitude": 6.998978, "latitude": 60.564197, "width": 500, "height": 368, "upload_date": "21 December 2006", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 3871571, "photo_title": "St. Bartholomä am Königssee", "photo_url": "http://www.panoramio.com/photo/3871571", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3871571.jpg", "longitude": 12.973351, "latitude": 47.545220, "width": 500, "height": 375, "upload_date": "11 August 2007", "owner_id": 424589, "owner_name": "PeSchn", "owner_url": "http://www.panoramio.com/user/424589"} - , - {"photo_id": 5358166, "photo_title": "Mooney Falls", "photo_url": "http://www.panoramio.com/photo/5358166", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5358166.jpg", "longitude": -112.709148, "latitude": 36.262849, "width": 500, "height": 335, "upload_date": "16 October 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 600797, "photo_title": "Living (?) in Hong Kong", "photo_url": "http://www.panoramio.com/photo/600797", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/600797.jpg", "longitude": 113.935831, "latitude": 22.279794, "width": 500, "height": 334, "upload_date": "28 January 2007", "owner_id": 20398, "owner_name": "boerx", "owner_url": "http://www.panoramio.com/user/20398"} - , - {"photo_id": 6459385, "photo_title": "Alternativ Future", "photo_url": "http://www.panoramio.com/photo/6459385", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6459385.jpg", "longitude": 17.598467, "latitude": 47.645846, "width": 500, "height": 325, "upload_date": "13 December 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 522010, "photo_title": "Hyperion", "photo_url": "http://www.panoramio.com/photo/522010", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/522010.jpg", "longitude": 17.562933, "latitude": 47.632545, "width": 500, "height": 353, "upload_date": "21 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 4942642, "photo_title": "Förgeteg elött", "photo_url": "http://www.panoramio.com/photo/4942642", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4942642.jpg", "longitude": 17.807121, "latitude": 47.646887, "width": 500, "height": 334, "upload_date": "27 September 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 223798, "photo_title": "Kachemak Bay Moonrise", "photo_url": "http://www.panoramio.com/photo/223798", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/223798.jpg", "longitude": -151.426835, "latitude": 59.680146, "width": 500, "height": 333, "upload_date": "24 December 2006", "owner_id": 45308, "owner_name": "Mike Cavaroc", "owner_url": "http://www.panoramio.com/user/45308"} - , - {"photo_id": 1946961, "photo_title": "Három \"Grácia\"", "photo_url": "http://www.panoramio.com/photo/1946961", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1946961.jpg", "longitude": 18.273354, "latitude": 47.577684, "width": 500, "height": 290, "upload_date": "27 April 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 821342, "photo_title": "Northern Lights seen from Alta", "photo_url": "http://www.panoramio.com/photo/821342", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/821342.jpg", "longitude": 23.234882, "latitude": 69.962969, "width": 500, "height": 346, "upload_date": "14 February 2007", "owner_id": 56091, "owner_name": "Kjetil Vaage Øie", "owner_url": "http://www.panoramio.com/user/56091"} - , - {"photo_id": 9831100, "photo_title": "Repcepásztor", "photo_url": "http://www.panoramio.com/photo/9831100", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9831100.jpg", "longitude": 18.213100, "latitude": 47.567956, "width": 500, "height": 334, "upload_date": "01 May 2008", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 8294907, "photo_title": "Winds of Change", "photo_url": "http://www.panoramio.com/photo/8294907", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8294907.jpg", "longitude": -112.007847, "latitude": 36.993299, "width": 333, "height": 500, "upload_date": "04 March 2008", "owner_id": 107292, "owner_name": "Kevin Mikkelsen", "owner_url": "http://www.panoramio.com/user/107292"} - , - {"photo_id": 7388668, "photo_title": "jak dobrze wstać ...", "photo_url": "http://www.panoramio.com/photo/7388668", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7388668.jpg", "longitude": 15.746498, "latitude": 51.848929, "width": 500, "height": 353, "upload_date": "27 January 2008", "owner_id": 889535, "owner_name": "yossarian01", "owner_url": "http://www.panoramio.com/user/889535"} - , - {"photo_id": 617471, "photo_title": "Rio", "photo_url": "http://www.panoramio.com/photo/617471", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/617471.jpg", "longitude": 0.493505, "latitude": 40.904318, "width": 500, "height": 335, "upload_date": "29 January 2007", "owner_id": 3022, "owner_name": "Arcadi", "owner_url": "http://www.panoramio.com/user/3022"} - , - {"photo_id": 259612, "photo_title": "Miss Liberty, NY/NJ Harbor", "photo_url": "http://www.panoramio.com/photo/259612", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/259612.jpg", "longitude": -74.039698, "latitude": 40.687472, "width": 357, "height": 500, "upload_date": "29 December 2006", "owner_id": 52440, "owner_name": "Hank Waxman", "owner_url": "http://www.panoramio.com/user/52440"} - , - {"photo_id": 2282545, "photo_title": "San Remo Scorcio di San Siro", "photo_url": "http://www.panoramio.com/photo/2282545", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2282545.jpg", "longitude": 7.773911, "latitude": 43.818234, "width": 500, "height": 459, "upload_date": "18 May 2007", "owner_id": 60898, "owner_name": "esseil", "owner_url": "http://www.panoramio.com/user/60898"} - , - {"photo_id": 84795, "photo_title": "0032", "photo_url": "http://www.panoramio.com/photo/84795", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/84795.jpg", "longitude": 25.830574, "latitude": -20.889688, "width": 500, "height": 334, "upload_date": "22 November 2006", "owner_id": 10637, "owner_name": "Carles Campsolinas Dresaire", "owner_url": "http://www.panoramio.com/user/10637"} - , - {"photo_id": 6205, "photo_title": "Valencia III", "photo_url": "http://www.panoramio.com/photo/6205", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6205.jpg", "longitude": -0.352764, "latitude": 39.456143, "width": 500, "height": 375, "upload_date": "28 December 2005", "owner_id": 414, "owner_name": "Sonia Villegas", "owner_url": "http://www.panoramio.com/user/414"} - , - {"photo_id": 5255997, "photo_title": "Az alkonyvigyázó", "photo_url": "http://www.panoramio.com/photo/5255997", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5255997.jpg", "longitude": 17.417107, "latitude": 46.942762, "width": 500, "height": 334, "upload_date": "12 October 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 4214336, "photo_title": "船家 ship On Li river", "photo_url": "http://www.panoramio.com/photo/4214336", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4214336.jpg", "longitude": 110.342388, "latitude": 25.215347, "width": 500, "height": 313, "upload_date": "26 August 2007", "owner_id": 161470, "owner_name": "John Su", "owner_url": "http://www.panoramio.com/user/161470"} - , - {"photo_id": 611660, "photo_title": "Tikehau Ile aux oiseaux JC", "photo_url": "http://www.panoramio.com/photo/611660", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/611660.jpg", "longitude": -148.098224, "latitude": -14.974528, "width": 375, "height": 500, "upload_date": "29 January 2007", "owner_id": 131113, "owner_name": "Lair Jean Claude", "owner_url": "http://www.panoramio.com/user/131113"} - , - {"photo_id": 9822041, "photo_title": "Singapore", "photo_url": "http://www.panoramio.com/photo/9822041", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9822041.jpg", "longitude": 103.855219, "latitude": 1.288907, "width": 500, "height": 333, "upload_date": "01 May 2008", "owner_id": 1465912, "owner_name": "funtor", "owner_url": "http://www.panoramio.com/user/1465912"} - , - {"photo_id": 126820, "photo_title": "Taj Mahal - colores", "photo_url": "http://www.panoramio.com/photo/126820", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/126820.jpg", "longitude": 78.042165, "latitude": 27.172871, "width": 500, "height": 385, "upload_date": "12 December 2006", "owner_id": 10456, "owner_name": "eulogio", "owner_url": "http://www.panoramio.com/user/10456"} - , - {"photo_id": 112504, "photo_title": "V-01009", "photo_url": "http://www.panoramio.com/photo/112504", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/112504.jpg", "longitude": 12.335946, "latitude": 45.438213, "width": 500, "height": 500, "upload_date": "11 December 2006", "owner_id": 17599, "owner_name": "Dmitry Andreev", "owner_url": "http://www.panoramio.com/user/17599"} - , - {"photo_id": 1898139, "photo_title": "Ein sehr menschenähnlicher Baum (http://www.redbubble.com/products/configure/1935618)", "photo_url": "http://www.panoramio.com/photo/1898139", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1898139.jpg", "longitude": 13.158177, "latitude": 52.456836, "width": 375, "height": 500, "upload_date": "23 April 2007", "owner_id": 311327, "owner_name": "www.einkauf.tk", "owner_url": "http://www.panoramio.com/user/311327"} - , - {"photo_id": 57813, "photo_title": "Hallstatt 1", "photo_url": "http://www.panoramio.com/photo/57813", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/57813.jpg", "longitude": 13.652229, "latitude": 47.551274, "width": 500, "height": 333, "upload_date": "05 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 533476, "photo_title": "Comet McNaught 220107 02", "photo_url": "http://www.panoramio.com/photo/533476", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/533476.jpg", "longitude": 18.371286, "latitude": -33.964363, "width": 328, "height": 500, "upload_date": "22 January 2007", "owner_id": 2748, "owner_name": "WirelessMonkey", "owner_url": "http://www.panoramio.com/user/2748"} - , - {"photo_id": 507370, "photo_title": "The Silence", "photo_url": "http://www.panoramio.com/photo/507370", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/507370.jpg", "longitude": 17.497959, "latitude": 47.781328, "width": 465, "height": 500, "upload_date": "20 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 2422269, "photo_title": "Grand Trees", "photo_url": "http://www.panoramio.com/photo/2422269", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2422269.jpg", "longitude": -112.124019, "latitude": 36.062942, "width": 500, "height": 333, "upload_date": "27 May 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 2808348, "photo_title": "Blind River reflection", "photo_url": "http://www.panoramio.com/photo/2808348", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2808348.jpg", "longitude": -82.973557, "latitude": 46.193141, "width": 500, "height": 305, "upload_date": "18 June 2007", "owner_id": 555551, "owner_name": "Marilyn Whiteley", "owner_url": "http://www.panoramio.com/user/555551"} - , - {"photo_id": 2534183, "photo_title": "", "photo_url": "http://www.panoramio.com/photo/2534183", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2534183.jpg", "longitude": -69.934587, "latitude": -37.382844, "width": 500, "height": 335, "upload_date": "02 June 2007", "owner_id": 527160, "owner_name": "legui83", "owner_url": "http://www.panoramio.com/user/527160"} - , - {"photo_id": 1008446, "photo_title": "budamist", "photo_url": "http://www.panoramio.com/photo/1008446", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1008446.jpg", "longitude": 19.078649, "latitude": 47.516737, "width": 500, "height": 341, "upload_date": "24 February 2007", "owner_id": 2659, "owner_name": "ozalph", "owner_url": "http://www.panoramio.com/user/2659"} - , - {"photo_id": 2935385, "photo_title": "temporale sul mare di riccione", "photo_url": "http://www.panoramio.com/photo/2935385", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2935385.jpg", "longitude": 12.644491, "latitude": 43.964836, "width": 333, "height": 500, "upload_date": "25 June 2007", "owner_id": 267377, "owner_name": "Valter Galvani", "owner_url": "http://www.panoramio.com/user/267377"} - , - {"photo_id": 7586398, "photo_title": "Al vuelo", "photo_url": "http://www.panoramio.com/photo/7586398", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7586398.jpg", "longitude": -73.152337, "latitude": -37.114747, "width": 375, "height": 500, "upload_date": "04 February 2008", "owner_id": 327310, "owner_name": "Erwin Woenckhaus", "owner_url": "http://www.panoramio.com/user/327310"} - , - {"photo_id": 7624042, "photo_title": "Fairyland 11", "photo_url": "http://www.panoramio.com/photo/7624042", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7624042.jpg", "longitude": 6.067650, "latitude": 52.224684, "width": 352, "height": 500, "upload_date": "06 February 2008", "owner_id": 523564, "owner_name": "Luud Riphagen", "owner_url": "http://www.panoramio.com/user/523564"} - , - {"photo_id": 1186930, "photo_title": "Вид с горы Демерджи - Demergi mountain view", "photo_url": "http://www.panoramio.com/photo/1186930", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1186930.jpg", "longitude": 34.413729, "latitude": 44.749903, "width": 500, "height": 338, "upload_date": "05 March 2007", "owner_id": 244932, "owner_name": "Andrey Jitkov", "owner_url": "http://www.panoramio.com/user/244932"} - , - {"photo_id": 565512, "photo_title": "The staircase star", "photo_url": "http://www.panoramio.com/photo/565512", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/565512.jpg", "longitude": 5.646222, "latitude": 46.261262, "width": 500, "height": 331, "upload_date": "25 January 2007", "owner_id": 121377, "owner_name": "Philippe Buffard", "owner_url": "http://www.panoramio.com/user/121377"} - , - {"photo_id": 3566705, "photo_title": "Pattaya - Big Buddha and seven headed Naga", "photo_url": "http://www.panoramio.com/photo/3566705", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3566705.jpg", "longitude": 100.868155, "latitude": 12.915027, "width": 500, "height": 375, "upload_date": "28 July 2007", "owner_id": 716245, "owner_name": "—Dragon-64— ✈", "owner_url": "http://www.panoramio.com/user/716245"} - , - {"photo_id": 50113, "photo_title": "New York Skyline Panorama", "photo_url": "http://www.panoramio.com/photo/50113", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/50113.jpg", "longitude": -73.997775, "latitude": 40.696581, "width": 500, "height": 55, "upload_date": "20 September 2006", "owner_id": 4957, "owner_name": "Ken Gibson", "owner_url": "http://www.panoramio.com/user/4957"} - , - {"photo_id": 74726, "photo_title": "nuptse 1 sunset", "photo_url": "http://www.panoramio.com/photo/74726", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/74726.jpg", "longitude": 86.865978, "latitude": 27.979243, "width": 500, "height": 334, "upload_date": "02 November 2006", "owner_id": 9812, "owner_name": "wsm earp", "owner_url": "http://www.panoramio.com/user/9812"} - , - {"photo_id": 10552400, "photo_title": "Second Prize \"Travel\" May Contest, HDR, May 2008", "photo_url": "http://www.panoramio.com/photo/10552400", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10552400.jpg", "longitude": -3.705075, "latitude": 47.787960, "width": 500, "height": 333, "upload_date": "24 May 2008", "owner_id": 979901, "owner_name": "DiggaTwigga", "owner_url": "http://www.panoramio.com/user/979901"} - , - {"photo_id": 1605229, "photo_title": "Holdfényáhítat", "photo_url": "http://www.panoramio.com/photo/1605229", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1605229.jpg", "longitude": 17.748413, "latitude": 47.555214, "width": 400, "height": 500, "upload_date": "02 April 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 34669, "photo_title": "Paisaje otoñal - La Rioja - España", "photo_url": "http://www.panoramio.com/photo/34669", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/34669.jpg", "longitude": -2.864685, "latitude": 42.328664, "width": 500, "height": 326, "upload_date": "26 July 2006", "owner_id": 5487, "owner_name": "Joaquín Ramirez", "owner_url": "http://www.panoramio.com/user/5487"} - , - {"photo_id": 4596134, "photo_title": "Le vieux Nice, mars 2007", "photo_url": "http://www.panoramio.com/photo/4596134", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4596134.jpg", "longitude": 7.277198, "latitude": 43.696704, "width": 368, "height": 500, "upload_date": "12 September 2007", "owner_id": 629243, "owner_name": "Olivier Faugeras", "owner_url": "http://www.panoramio.com/user/629243"} - , - {"photo_id": 10576294, "photo_title": "Plaza de Bolívar, Bogotá. 1st. prize Panoramio Contest, May 08.(((Jose Daniel)))", "photo_url": "http://www.panoramio.com/photo/10576294", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10576294.jpg", "longitude": -74.075629, "latitude": 4.597867, "width": 500, "height": 338, "upload_date": "25 May 2008", "owner_id": 1611883, "owner_name": "(((Jose Daniel)))", "owner_url": "http://www.panoramio.com/user/1611883"} - , - {"photo_id": 522151, "photo_title": "Jó volt ott", "photo_url": "http://www.panoramio.com/photo/522151", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/522151.jpg", "longitude": 17.611084, "latitude": 47.602401, "width": 500, "height": 354, "upload_date": "21 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 4247476, "photo_title": "Blick vom Zuckerhut", "photo_url": "http://www.panoramio.com/photo/4247476", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4247476.jpg", "longitude": -43.156872, "latitude": -22.948909, "width": 500, "height": 375, "upload_date": "28 August 2007", "owner_id": 496676, "owner_name": "Quasebart", "owner_url": "http://www.panoramio.com/user/496676"} - , - {"photo_id": 5472461, "photo_title": "Lapland", "photo_url": "http://www.panoramio.com/photo/5472461", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5472461.jpg", "longitude": 29.187653, "latitude": 66.189241, "width": 500, "height": 327, "upload_date": "22 October 2007", "owner_id": 912031, "owner_name": "Kimmo Lyytikäinen", "owner_url": "http://www.panoramio.com/user/912031"} - , - {"photo_id": 472802, "photo_title": "Golden Gate Bridge", "photo_url": "http://www.panoramio.com/photo/472802", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/472802.jpg", "longitude": -122.481366, "latitude": 37.827644, "width": 500, "height": 305, "upload_date": "18 January 2007", "owner_id": 100907, "owner_name": "Julia Wahl", "owner_url": "http://www.panoramio.com/user/100907"} - , - {"photo_id": 506118, "photo_title": "Overcast Pier, Hearst State Beach", "photo_url": "http://www.panoramio.com/photo/506118", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/506118.jpg", "longitude": -121.187868, "latitude": 35.643016, "width": 500, "height": 343, "upload_date": "20 January 2007", "owner_id": 107613, "owner_name": "Tom Grubbe", "owner_url": "http://www.panoramio.com/user/107613"} - , - {"photo_id": 1420841, "photo_title": "Poland ", "photo_url": "http://www.panoramio.com/photo/1420841", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1420841.jpg", "longitude": 20.630060, "latitude": 52.073123, "width": 500, "height": 377, "upload_date": "20 March 2007", "owner_id": 234038, "owner_name": "Jacek M.", "owner_url": "http://www.panoramio.com/user/234038"} - , - {"photo_id": 4088401, "photo_title": "Bird at Hogsback - 198812", "photo_url": "http://www.panoramio.com/photo/4088401", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4088401.jpg", "longitude": -124.339828, "latitude": 47.440860, "width": 500, "height": 355, "upload_date": "21 August 2007", "owner_id": 765658, "owner_name": "Larry Workman QIN", "owner_url": "http://www.panoramio.com/user/765658"} - , - {"photo_id": 8049018, "photo_title": "Eastern Sierra Sunset", "photo_url": "http://www.panoramio.com/photo/8049018", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8049018.jpg", "longitude": -119.220543, "latitude": 38.031698, "width": 500, "height": 333, "upload_date": "23 February 2008", "owner_id": 376395, "owner_name": "JeffSullivan (www.MyPhotoGuides.com)", "owner_url": "http://www.panoramio.com/user/376395"} - , - {"photo_id": 103324, "photo_title": "Lua em São Paulo", "photo_url": "http://www.panoramio.com/photo/103324", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/103324.jpg", "longitude": -46.652606, "latitude": -23.545394, "width": 500, "height": 333, "upload_date": "10 December 2006", "owner_id": 14733, "owner_name": "Luiz Henrique Assunção", "owner_url": "http://www.panoramio.com/user/14733"} - , - {"photo_id": 5694626, "photo_title": "Lake of Varese - Moon and Venus before dawn", "photo_url": "http://www.panoramio.com/photo/5694626", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5694626.jpg", "longitude": 8.717716, "latitude": 45.839025, "width": 339, "height": 500, "upload_date": "02 November 2007", "owner_id": 933456, "owner_name": "© Marco De Candido", "owner_url": "http://www.panoramio.com/user/933456"} - , - {"photo_id": 1235876, "photo_title": "Logs on Lake Moraine", "photo_url": "http://www.panoramio.com/photo/1235876", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1235876.jpg", "longitude": -116.180420, "latitude": 51.326321, "width": 330, "height": 500, "upload_date": "09 March 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 6999770, "photo_title": "Mountain range of Pindos", "photo_url": "http://www.panoramio.com/photo/6999770", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6999770.jpg", "longitude": 21.553481, "latitude": 39.498345, "width": 500, "height": 333, "upload_date": "09 January 2008", "owner_id": 242446, "owner_name": "Ntinos Lagos", "owner_url": "http://www.panoramio.com/user/242446"} - , - {"photo_id": 405727, "photo_title": "awagatake", "photo_url": "http://www.panoramio.com/photo/405727", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/405727.jpg", "longitude": 139.042454, "latitude": 37.563222, "width": 500, "height": 380, "upload_date": "13 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 1488363, "photo_title": "", "photo_url": "http://www.panoramio.com/photo/1488363", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1488363.jpg", "longitude": 138.454514, "latitude": 38.308932, "width": 500, "height": 384, "upload_date": "25 March 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 841001, "photo_title": "Central Balkan", "photo_url": "http://www.panoramio.com/photo/841001", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/841001.jpg", "longitude": 24.963917, "latitude": 42.679306, "width": 500, "height": 357, "upload_date": "16 February 2007", "owner_id": 16880, "owner_name": "evgenidinev.com", "owner_url": "http://www.panoramio.com/user/16880"} - , - {"photo_id": 57406, "photo_title": "Burano 4", "photo_url": "http://www.panoramio.com/photo/57406", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/57406.jpg", "longitude": 12.419465, "latitude": 45.484567, "width": 500, "height": 333, "upload_date": "04 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 1900891, "photo_title": "Peggys Cove, Nova Scotia La barca ...", "photo_url": "http://www.panoramio.com/photo/1900891", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1900891.jpg", "longitude": -63.918285, "latitude": 44.490873, "width": 375, "height": 500, "upload_date": "24 April 2007", "owner_id": 401966, "owner_name": "Syl de Canada", "owner_url": "http://www.panoramio.com/user/401966"} - , - {"photo_id": 2135721, "photo_title": " Coteau Landing (près de Valleyfield 3)", "photo_url": "http://www.panoramio.com/photo/2135721", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2135721.jpg", "longitude": -74.211960, "latitude": 45.253622, "width": 500, "height": 375, "upload_date": "08 May 2007", "owner_id": 401966, "owner_name": "Syl de Canada", "owner_url": "http://www.panoramio.com/user/401966"} - , - {"photo_id": 426155, "photo_title": "2007'01'14-Aucanada-0233", "photo_url": "http://www.panoramio.com/photo/426155", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/426155.jpg", "longitude": 3.169695, "latitude": 39.837627, "width": 500, "height": 335, "upload_date": "14 January 2007", "owner_id": 61890, "owner_name": "enriquevidalphoto.com", "owner_url": "http://www.panoramio.com/user/61890"} - , - {"photo_id": 4868548, "photo_title": "Goodbye my dear", "photo_url": "http://www.panoramio.com/photo/4868548", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4868548.jpg", "longitude": 16.693211, "latitude": 43.183025, "width": 500, "height": 500, "upload_date": "24 September 2007", "owner_id": 989, "owner_name": "Mrgud", "owner_url": "http://www.panoramio.com/user/989"} - , - {"photo_id": 47069, "photo_title": "Laguna del Inca", "photo_url": "http://www.panoramio.com/photo/47069", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/47069.jpg", "longitude": -70.130786, "latitude": -32.834759, "width": 500, "height": 333, "upload_date": "11 September 2006", "owner_id": 6961, "owner_name": "Santiago Rios", "owner_url": "http://www.panoramio.com/user/6961"} - , - {"photo_id": 1781731, "photo_title": "The Subway", "photo_url": "http://www.panoramio.com/photo/1781731", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1781731.jpg", "longitude": -113.052578, "latitude": 37.310448, "width": 500, "height": 333, "upload_date": "15 April 2007", "owner_id": 376395, "owner_name": "JeffSullivan (www.MyPhotoGuides.com)", "owner_url": "http://www.panoramio.com/user/376395"} - , - {"photo_id": 2279, "photo_title": "Empire State Building", "photo_url": "http://www.panoramio.com/photo/2279", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2279.jpg", "longitude": -73.987073, "latitude": 40.744924, "width": 378, "height": 500, "upload_date": "08 October 2005", "owner_id": 220, "owner_name": "Jeff T. Alu", "owner_url": "http://www.panoramio.com/user/220"} - , - {"photo_id": 1277992, "photo_title": "Cologne-Köln - Dom im Hintergrund der Hohenzollernbrücke bei Nacht (by night)", "photo_url": "http://www.panoramio.com/photo/1277992", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1277992.jpg", "longitude": 6.967220, "latitude": 50.940826, "width": 500, "height": 375, "upload_date": "11 March 2007", "owner_id": 113678, "owner_name": "Canada-Fan", "owner_url": "http://www.panoramio.com/user/113678"} - , - {"photo_id": 207638, "photo_title": "Sunrise at Mont Saint Michel (1 of 2), august 2001", "photo_url": "http://www.panoramio.com/photo/207638", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/207638.jpg", "longitude": -1.509504, "latitude": 48.633547, "width": 331, "height": 500, "upload_date": "21 December 2006", "owner_id": 18925, "owner_name": "Marco Ferrari", "owner_url": "http://www.panoramio.com/user/18925"} - , - {"photo_id": 1452569, "photo_title": "Desierto de La Tatacoa (zona roja)", "photo_url": "http://www.panoramio.com/photo/1452569", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1452569.jpg", "longitude": -75.166667, "latitude": 3.333333, "width": 500, "height": 333, "upload_date": "22 March 2007", "owner_id": 5487, "owner_name": "Joaquín Ramirez", "owner_url": "http://www.panoramio.com/user/5487"} - , - {"photo_id": 3502890, "photo_title": "Monasteries in Meteora", "photo_url": "http://www.panoramio.com/photo/3502890", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3502890.jpg", "longitude": 21.627445, "latitude": 39.712601, "width": 480, "height": 500, "upload_date": "24 July 2007", "owner_id": 686703, "owner_name": "Thodoris Kliafas", "owner_url": "http://www.panoramio.com/user/686703"} - , - {"photo_id": 595505, "photo_title": "Burlington_Village_Square", "photo_url": "http://www.panoramio.com/photo/595505", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/595505.jpg", "longitude": -79.796180, "latitude": 43.326192, "width": 500, "height": 333, "upload_date": "27 January 2007", "owner_id": 17488, "owner_name": "John Gillett", "owner_url": "http://www.panoramio.com/user/17488"} - , - {"photo_id": 60984, "photo_title": "Ventisquero P. Moreno", "photo_url": "http://www.panoramio.com/photo/60984", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/60984.jpg", "longitude": -73.051872, "latitude": -50.488641, "width": 500, "height": 328, "upload_date": "13 October 2006", "owner_id": 8409, "owner_name": "Hector Fabian Garrido", "owner_url": "http://www.panoramio.com/user/8409"} - , - {"photo_id": 6654030, "photo_title": "Va por un incomprendido Vincent Willem van Gogh", "photo_url": "http://www.panoramio.com/photo/6654030", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6654030.jpg", "longitude": 4.776306, "latitude": 51.477962, "width": 500, "height": 375, "upload_date": "24 December 2007", "owner_id": 804986, "owner_name": "VERJAGA", "owner_url": "http://www.panoramio.com/user/804986"} - , - {"photo_id": 3018575, "photo_title": "Abrasado", "photo_url": "http://www.panoramio.com/photo/3018575", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3018575.jpg", "longitude": -73.279324, "latitude": -39.838002, "width": 500, "height": 375, "upload_date": "29 June 2007", "owner_id": 327310, "owner_name": "Erwin Woenckhaus", "owner_url": "http://www.panoramio.com/user/327310"} - , - {"photo_id": 521039, "photo_title": "Fátyolos narancslátomás", "photo_url": "http://www.panoramio.com/photo/521039", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/521039.jpg", "longitude": 17.463455, "latitude": 47.850146, "width": 500, "height": 291, "upload_date": "21 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 208239, "photo_title": "Nuvola danzante, Svizzera 2002", "photo_url": "http://www.panoramio.com/photo/208239", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/208239.jpg", "longitude": 7.321701, "latitude": 46.219515, "width": 334, "height": 500, "upload_date": "22 December 2006", "owner_id": 18925, "owner_name": "Marco Ferrari", "owner_url": "http://www.panoramio.com/user/18925"} - , - {"photo_id": 6443936, "photo_title": "Pajkos vizek", "photo_url": "http://www.panoramio.com/photo/6443936", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6443936.jpg", "longitude": 15.934124, "latitude": 47.915019, "width": 500, "height": 334, "upload_date": "12 December 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 7467941, "photo_title": "A day off for the soul...", "photo_url": "http://www.panoramio.com/photo/7467941", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7467941.jpg", "longitude": -75.126133, "latitude": 40.970106, "width": 500, "height": 375, "upload_date": "30 January 2008", "owner_id": 89499, "owner_name": "Michael Braxenthaler", "owner_url": "http://www.panoramio.com/user/89499"} - , - {"photo_id": 800436, "photo_title": "Eiffel Tower", "photo_url": "http://www.panoramio.com/photo/800436", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/800436.jpg", "longitude": 2.294576, "latitude": 48.858249, "width": 500, "height": 386, "upload_date": "13 February 2007", "owner_id": 165346, "owner_name": "Alan Knox", "owner_url": "http://www.panoramio.com/user/165346"} - , - {"photo_id": 479673, "photo_title": "Summit of Gogsøyra", "photo_url": "http://www.panoramio.com/photo/479673", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/479673.jpg", "longitude": 8.147736, "latitude": 62.642606, "width": 500, "height": 333, "upload_date": "18 January 2007", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 5378753, "photo_title": "Alps", "photo_url": "http://www.panoramio.com/photo/5378753", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5378753.jpg", "longitude": 6.847916, "latitude": 45.913840, "width": 500, "height": 500, "upload_date": "17 October 2007", "owner_id": 588149, "owner_name": "Adam Salwanowicz", "owner_url": "http://www.panoramio.com/user/588149"} - , - {"photo_id": 382413, "photo_title": "kilimanjaro sunset", "photo_url": "http://www.panoramio.com/photo/382413", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/382413.jpg", "longitude": 37.382355, "latitude": -3.046583, "width": 500, "height": 375, "upload_date": "11 January 2007", "owner_id": 6105, "owner_name": "hackltom", "owner_url": "http://www.panoramio.com/user/6105"} - , - {"photo_id": 290784, "photo_title": "Tormenta Bahía de Pollensa", "photo_url": "http://www.panoramio.com/photo/290784", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/290784.jpg", "longitude": 3.116437, "latitude": 39.928440, "width": 500, "height": 285, "upload_date": "03 January 2007", "owner_id": 61890, "owner_name": "enriquevidalphoto.com", "owner_url": "http://www.panoramio.com/user/61890"} - , - {"photo_id": 519904, "photo_title": "Dombok között felhők alatt", "photo_url": "http://www.panoramio.com/photo/519904", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/519904.jpg", "longitude": 18.680878, "latitude": 47.631851, "width": 500, "height": 314, "upload_date": "21 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 181264, "photo_title": "deer cave", "photo_url": "http://www.panoramio.com/photo/181264", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/181264.jpg", "longitude": 114.824553, "latitude": 4.024121, "width": 428, "height": 500, "upload_date": "18 December 2006", "owner_id": 9198, "owner_name": "Caveranger", "owner_url": "http://www.panoramio.com/user/9198"} - , - {"photo_id": 323533, "photo_title": "Elevador e Mercado Modelo Ssa Ba Br", "photo_url": "http://www.panoramio.com/photo/323533", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/323533.jpg", "longitude": -38.512552, "latitude": -12.974261, "width": 500, "height": 333, "upload_date": "06 January 2007", "owner_id": 63291, "owner_name": "Gastón Dapik", "owner_url": "http://www.panoramio.com/user/63291"} - , - {"photo_id": 512513, "photo_title": "Égi tűz", "photo_url": "http://www.panoramio.com/photo/512513", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/512513.jpg", "longitude": 17.481308, "latitude": 47.796148, "width": 500, "height": 334, "upload_date": "21 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 10237287, "photo_title": "Kentriki's Woods, by Kostas Andreopoulos", "photo_url": "http://www.panoramio.com/photo/10237287", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10237287.jpg", "longitude": 21.916909, "latitude": 38.569223, "width": 500, "height": 375, "upload_date": "14 May 2008", "owner_id": 1690483, "owner_name": "k.andre", "owner_url": "http://www.panoramio.com/user/1690483"} - , - {"photo_id": 52847, "photo_title": "153 The Forth Bridge (Railway) over the Firth of Forth", "photo_url": "http://www.panoramio.com/photo/52847", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/52847.jpg", "longitude": -3.392672, "latitude": 56.007656, "width": 375, "height": 500, "upload_date": "26 September 2006", "owner_id": 7633, "owner_name": "Daniel Meyer", "owner_url": "http://www.panoramio.com/user/7633"} - , - {"photo_id": 11105192, "photo_title": "A bird is free", "photo_url": "http://www.panoramio.com/photo/11105192", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11105192.jpg", "longitude": -6.953058, "latitude": 52.773901, "width": 375, "height": 500, "upload_date": "11 June 2008", "owner_id": 1867220, "owner_name": "Aubrey :)", "owner_url": "http://www.panoramio.com/user/1867220"} - , - {"photo_id": 196039, "photo_title": "espigón", "photo_url": "http://www.panoramio.com/photo/196039", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/196039.jpg", "longitude": -3.801688, "latitude": 43.461606, "width": 332, "height": 500, "upload_date": "20 December 2006", "owner_id": 38804, "owner_name": "www.oscarsanchez.net", "owner_url": "http://www.panoramio.com/user/38804"} - , - {"photo_id": 70865, "photo_title": "Cataratas de Iguazu", "photo_url": "http://www.panoramio.com/photo/70865", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/70865.jpg", "longitude": -54.440818, "latitude": -25.688447, "width": 374, "height": 500, "upload_date": "26 October 2006", "owner_id": 9080, "owner_name": "Marco Teodonio", "owner_url": "http://www.panoramio.com/user/9080"} - , - {"photo_id": 6188760, "photo_title": "Vihar elött", "photo_url": "http://www.panoramio.com/photo/6188760", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6188760.jpg", "longitude": 17.462082, "latitude": 47.843579, "width": 500, "height": 330, "upload_date": "28 November 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 286439, "photo_title": "Rusted Car Along Route 66", "photo_url": "http://www.panoramio.com/photo/286439", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/286439.jpg", "longitude": -109.804788, "latitude": 35.050024, "width": 500, "height": 333, "upload_date": "03 January 2007", "owner_id": 45308, "owner_name": "Mike Cavaroc", "owner_url": "http://www.panoramio.com/user/45308"} - , - {"photo_id": 1283563, "photo_title": "Kalalau beach", "photo_url": "http://www.panoramio.com/photo/1283563", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1283563.jpg", "longitude": -159.667397, "latitude": 22.164196, "width": 330, "height": 500, "upload_date": "12 March 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 1336919, "photo_title": "Neuschwanstein", "photo_url": "http://www.panoramio.com/photo/1336919", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1336919.jpg", "longitude": 10.750465, "latitude": 47.553128, "width": 500, "height": 371, "upload_date": "15 March 2007", "owner_id": 123698, "owner_name": "© Kojak", "owner_url": "http://www.panoramio.com/user/123698"} - , - {"photo_id": 1343841, "photo_title": "Turning Torsoe in the fog", "photo_url": "http://www.panoramio.com/photo/1343841", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1343841.jpg", "longitude": 12.968073, "latitude": 55.613165, "width": 332, "height": 500, "upload_date": "16 March 2007", "owner_id": 278074, "owner_name": "H. C. Steensen", "owner_url": "http://www.panoramio.com/user/278074"} - , - {"photo_id": 4976484, "photo_title": "Le Bout du Monde avant l'orage", "photo_url": "http://www.panoramio.com/photo/4976484", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4976484.jpg", "longitude": 6.867528, "latitude": 46.108618, "width": 500, "height": 375, "upload_date": "29 September 2007", "owner_id": 359127, "owner_name": "wx", "owner_url": "http://www.panoramio.com/user/359127"} - , - {"photo_id": 1195113, "photo_title": "Берег Сетуни 2 - Setun riverbank 2", "photo_url": "http://www.panoramio.com/photo/1195113", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1195113.jpg", "longitude": 37.486424, "latitude": 55.719367, "width": 332, "height": 500, "upload_date": "06 March 2007", "owner_id": 244932, "owner_name": "Andrey Jitkov", "owner_url": "http://www.panoramio.com/user/244932"} - , - {"photo_id": 1549176, "photo_title": "Erdőtűz", "photo_url": "http://www.panoramio.com/photo/1549176", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1549176.jpg", "longitude": 17.767639, "latitude": 47.582084, "width": 500, "height": 268, "upload_date": "29 March 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 2127008, "photo_title": "Thunderstorm over Thunderbolt", "photo_url": "http://www.panoramio.com/photo/2127008", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2127008.jpg", "longitude": -111.586761, "latitude": 41.605303, "width": 500, "height": 329, "upload_date": "08 May 2007", "owner_id": 395804, "owner_name": "Ralph Maughan", "owner_url": "http://www.panoramio.com/user/395804"} - , - {"photo_id": 2421940, "photo_title": "Twisted Ideas", "photo_url": "http://www.panoramio.com/photo/2421940", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2421940.jpg", "longitude": -112.105286, "latitude": 36.059681, "width": 500, "height": 333, "upload_date": "27 May 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 8197305, "photo_title": "Mar Fantasma", "photo_url": "http://www.panoramio.com/photo/8197305", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8197305.jpg", "longitude": -71.699395, "latitude": -33.407478, "width": 500, "height": 346, "upload_date": "29 February 2008", "owner_id": 730217, "owner_name": "C.e.C.v", "owner_url": "http://www.panoramio.com/user/730217"} - , - {"photo_id": 6126299, "photo_title": "Richmond Squirrel", "photo_url": "http://www.panoramio.com/photo/6126299", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6126299.jpg", "longitude": -0.277609, "latitude": 51.448003, "width": 500, "height": 500, "upload_date": "25 November 2007", "owner_id": 1130880, "owner_name": "marksimms", "owner_url": "http://www.panoramio.com/user/1130880"} - , - {"photo_id": 55016, "photo_title": "Jacaré-do-pantanal. Vazante do Capivari (Caiman crocodilus yacare)", "photo_url": "http://www.panoramio.com/photo/55016", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/55016.jpg", "longitude": -56.258326, "latitude": -18.771278, "width": 500, "height": 333, "upload_date": "30 September 2006", "owner_id": 7562, "owner_name": "Marcelo E. Salgado", "owner_url": "http://www.panoramio.com/user/7562"} - , - {"photo_id": 1640188, "photo_title": "Diagonal", "photo_url": "http://www.panoramio.com/photo/1640188", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1640188.jpg", "longitude": 20.428219, "latitude": 48.953621, "width": 408, "height": 500, "upload_date": "05 April 2007", "owner_id": 346103, "owner_name": "lacitot", "owner_url": "http://www.panoramio.com/user/346103"} - , - {"photo_id": 2935837, "photo_title": "Aitzgorri. Atardecer mirando al sureste", "photo_url": "http://www.panoramio.com/photo/2935837", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2935837.jpg", "longitude": -2.324939, "latitude": 42.951271, "width": 500, "height": 323, "upload_date": "25 June 2007", "owner_id": 129297, "owner_name": "Enrique Ortiz de Zárate", "owner_url": "http://www.panoramio.com/user/129297"} - , - {"photo_id": 355622, "photo_title": "newfoundland iceberg", "photo_url": "http://www.panoramio.com/photo/355622", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/355622.jpg", "longitude": -54.733200, "latitude": 49.710939, "width": 500, "height": 334, "upload_date": "09 January 2007", "owner_id": 69671, "owner_name": "illusandpics.com", "owner_url": "http://www.panoramio.com/user/69671"} - , - {"photo_id": 202578, "photo_title": "Abant Lake (1), Bolu", "photo_url": "http://www.panoramio.com/photo/202578", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/202578.jpg", "longitude": 31.286316, "latitude": 40.612128, "width": 500, "height": 317, "upload_date": "21 December 2006", "owner_id": 2351, "owner_name": "Serdar Bilecen", "owner_url": "http://www.panoramio.com/user/2351"} - , - {"photo_id": 9653590, "photo_title": "Secret Gate, Kentriki - [ PANORAMIO APRIL 08 WINNERS]...by Fotinos", "photo_url": "http://www.panoramio.com/photo/9653590", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9653590.jpg", "longitude": 21.914872, "latitude": 38.571189, "width": 375, "height": 500, "upload_date": "24 April 2008", "owner_id": 1640258, "owner_name": "fotinos andreopoulos", "owner_url": "http://www.panoramio.com/user/1640258"} - , - {"photo_id": 2371950, "photo_title": "Dietro l'Isola dei Conigli", "photo_url": "http://www.panoramio.com/photo/2371950", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2371950.jpg", "longitude": 12.552137, "latitude": 35.514553, "width": 500, "height": 375, "upload_date": "24 May 2007", "owner_id": 476623, "owner_name": "Giulio Botticelli", "owner_url": "http://www.panoramio.com/user/476623"} - , - {"photo_id": 1340803, "photo_title": "Huge oak in monochrome", "photo_url": "http://www.panoramio.com/photo/1340803", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1340803.jpg", "longitude": 11.187515, "latitude": 59.548763, "width": 500, "height": 493, "upload_date": "15 March 2007", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 520878, "photo_title": "Farewell", "photo_url": "http://www.panoramio.com/photo/520878", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/520878.jpg", "longitude": 17.466202, "latitude": 47.870186, "width": 415, "height": 500, "upload_date": "21 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 4738479, "photo_title": "\"Sovány szárcsavágta\"", "photo_url": "http://www.panoramio.com/photo/4738479", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4738479.jpg", "longitude": 17.571602, "latitude": 47.633354, "width": 500, "height": 347, "upload_date": "18 September 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 2395577, "photo_title": "", "photo_url": "http://www.panoramio.com/photo/2395577", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2395577.jpg", "longitude": -79.844792, "latitude": 43.300310, "width": 500, "height": 333, "upload_date": "25 May 2007", "owner_id": 17488, "owner_name": "John Gillett", "owner_url": "http://www.panoramio.com/user/17488"} - , - {"photo_id": 2470351, "photo_title": "Swans", "photo_url": "http://www.panoramio.com/photo/2470351", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2470351.jpg", "longitude": 23.713217, "latitude": 56.965614, "width": 500, "height": 332, "upload_date": "30 May 2007", "owner_id": 116556, "owner_name": "Pavels Dunaicevs", "owner_url": "http://www.panoramio.com/user/116556"} - , - {"photo_id": 6348257, "photo_title": "Sunset-pallatic", "photo_url": "http://www.panoramio.com/photo/6348257", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6348257.jpg", "longitude": 21.060791, "latitude": 42.004790, "width": 500, "height": 424, "upload_date": "07 December 2007", "owner_id": 695042, "owner_name": "Neim Sejfuli ♦", "owner_url": "http://www.panoramio.com/user/695042"} - , - {"photo_id": 10248178, "photo_title": "LA LUZ DE LA MAÑANA", "photo_url": "http://www.panoramio.com/photo/10248178", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10248178.jpg", "longitude": -2.554321, "latitude": 43.209805, "width": 465, "height": 500, "upload_date": "15 May 2008", "owner_id": 1487989, "owner_name": "mesias", "owner_url": "http://www.panoramio.com/user/1487989"} - , - {"photo_id": 1177785, "photo_title": "Angkor Tom Dawn", "photo_url": "http://www.panoramio.com/photo/1177785", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1177785.jpg", "longitude": 103.858910, "latitude": 13.441383, "width": 401, "height": 500, "upload_date": "05 March 2007", "owner_id": 243825, "owner_name": "DarrinJ", "owner_url": "http://www.panoramio.com/user/243825"} - , - {"photo_id": 4785924, "photo_title": "Antelope Canyon", "photo_url": "http://www.panoramio.com/photo/4785924", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4785924.jpg", "longitude": -111.369422, "latitude": 36.853678, "width": 500, "height": 335, "upload_date": "20 September 2007", "owner_id": 464343, "owner_name": "yves floret", "owner_url": "http://www.panoramio.com/user/464343"} - , - {"photo_id": 459592, "photo_title": "nojiriko", "photo_url": "http://www.panoramio.com/photo/459592", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/459592.jpg", "longitude": 138.140202, "latitude": 36.857510, "width": 500, "height": 383, "upload_date": "16 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 377931, "photo_title": "Baobab Avenue after sunset", "photo_url": "http://www.panoramio.com/photo/377931", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/377931.jpg", "longitude": 44.418486, "latitude": -20.250874, "width": 500, "height": 333, "upload_date": "11 January 2007", "owner_id": 70471, "owner_name": "David Thyberg", "owner_url": "http://www.panoramio.com/user/70471"} - , - {"photo_id": 170330, "photo_title": "Petit Palais - Looking Up", "photo_url": "http://www.panoramio.com/photo/170330", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/170330.jpg", "longitude": 2.315115, "latitude": 48.866011, "width": 500, "height": 355, "upload_date": "17 December 2006", "owner_id": 5684, "owner_name": "Brent Townshend", "owner_url": "http://www.panoramio.com/user/5684"} - , - {"photo_id": 5628541, "photo_title": "Pittsburgh", "photo_url": "http://www.panoramio.com/photo/5628541", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5628541.jpg", "longitude": -80.018985, "latitude": 40.438406, "width": 500, "height": 325, "upload_date": "30 October 2007", "owner_id": 31761, "owner_name": "Buck Cash", "owner_url": "http://www.panoramio.com/user/31761"} - , - {"photo_id": 51101, "photo_title": "Morgenstimmung zwischen Bru und Bordeyri ...", "photo_url": "http://www.panoramio.com/photo/51101", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/51101.jpg", "longitude": -21.099930, "latitude": 65.205068, "width": 500, "height": 272, "upload_date": "23 September 2006", "owner_id": 7434, "owner_name": "baldinger reisen ag, waedenswil/switzerland", "owner_url": "http://www.panoramio.com/user/7434"} - , - {"photo_id": 4352968, "photo_title": "Coucher du soleil sur le lac du Môle", "photo_url": "http://www.panoramio.com/photo/4352968", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4352968.jpg", "longitude": 6.426079, "latitude": 46.137084, "width": 500, "height": 374, "upload_date": "03 September 2007", "owner_id": 359127, "owner_name": "wx", "owner_url": "http://www.panoramio.com/user/359127"} - , - {"photo_id": 2345674, "photo_title": "Álomvölgy", "photo_url": "http://www.panoramio.com/photo/2345674", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2345674.jpg", "longitude": 17.791328, "latitude": 47.343243, "width": 500, "height": 334, "upload_date": "22 May 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 3521484, "photo_title": "Ki korán kel...", "photo_url": "http://www.panoramio.com/photo/3521484", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3521484.jpg", "longitude": 17.514782, "latitude": 47.744980, "width": 500, "height": 334, "upload_date": "25 July 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 8868820, "photo_title": "Burime ne malin Shar-Winner March contest -2008 \"Scenery\" Categorie", "photo_url": "http://www.panoramio.com/photo/8868820", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8868820.jpg", "longitude": 20.884666, "latitude": 42.060318, "width": 375, "height": 500, "upload_date": "26 March 2008", "owner_id": 695042, "owner_name": "Neim Sejfuli ♦", "owner_url": "http://www.panoramio.com/user/695042"} - , - {"photo_id": 206560, "photo_title": "Sumela Monastery", "photo_url": "http://www.panoramio.com/photo/206560", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/206560.jpg", "longitude": 39.608116, "latitude": 40.770012, "width": 500, "height": 375, "upload_date": "21 December 2006", "owner_id": 2351, "owner_name": "Serdar Bilecen", "owner_url": "http://www.panoramio.com/user/2351"} - , - {"photo_id": 1488354, "photo_title": "", "photo_url": "http://www.panoramio.com/photo/1488354", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1488354.jpg", "longitude": 138.213072, "latitude": 37.829921, "width": 500, "height": 336, "upload_date": "25 March 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 3334377, "photo_title": "ROSENGARTEN", "photo_url": "http://www.panoramio.com/photo/3334377", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3334377.jpg", "longitude": 11.591349, "latitude": 46.411603, "width": 500, "height": 375, "upload_date": "15 July 2007", "owner_id": 584241, "owner_name": "irene.italy", "owner_url": "http://www.panoramio.com/user/584241"} - , - {"photo_id": 12668091, "photo_title": "lago di Fedaia - 2008 August NPC subject Reflecting on reflection", "photo_url": "http://www.panoramio.com/photo/12668091", "photo_file_url": "http://static4.bareka.com/photos/medium/12668091.jpg", "longitude": 11.864547, "latitude": 46.460164, "width": 385, "height": 500, "upload_date": "31 July 2008", "owner_id": 6033, "owner_name": "► Marco Vanzo", "owner_url": "http://www.panoramio.com/user/6033"} - , - {"photo_id": 11177556, "photo_title": "Early morning ... :)", "photo_url": "http://www.panoramio.com/photo/11177556", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11177556.jpg", "longitude": 168.307543, "latitude": -46.578215, "width": 500, "height": 340, "upload_date": "13 June 2008", "owner_id": 1256771, "owner_name": "Zsuzsanna W", "owner_url": "http://www.panoramio.com/user/1256771"} - , - {"photo_id": 67333, "photo_title": "Laguna Colorada", "photo_url": "http://www.panoramio.com/photo/67333", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/67333.jpg", "longitude": -67.798176, "latitude": -22.217285, "width": 375, "height": 500, "upload_date": "20 October 2006", "owner_id": 9080, "owner_name": "Marco Teodonio", "owner_url": "http://www.panoramio.com/user/9080"} - , - {"photo_id": 2850309, "photo_title": "Single tree...", "photo_url": "http://www.panoramio.com/photo/2850309", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2850309.jpg", "longitude": 33.571987, "latitude": 27.130876, "width": 500, "height": 375, "upload_date": "20 June 2007", "owner_id": 399963, "owner_name": "Victor Galanin", "owner_url": "http://www.panoramio.com/user/399963"} - , - {"photo_id": 1286406, "photo_title": "Creation", "photo_url": "http://www.panoramio.com/photo/1286406", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1286406.jpg", "longitude": 35.109558, "latitude": -1.460337, "width": 500, "height": 456, "upload_date": "12 March 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 4136208, "photo_title": "Mesél az erdő", "photo_url": "http://www.panoramio.com/photo/4136208", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4136208.jpg", "longitude": 18.062897, "latitude": 47.274105, "width": 500, "height": 334, "upload_date": "23 August 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 8476696, "photo_title": "Coucher de soleil sur Silhouette, Seychelles. Panoramio and ATP first CONTEST, March 2008, category Travel : awarded \"Runner Up\" (second Prize). Many thanks to all voters. #434", "photo_url": "http://www.panoramio.com/photo/8476696", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8476696.jpg", "longitude": 55.493660, "latitude": -4.563249, "width": 500, "height": 339, "upload_date": "12 March 2008", "owner_id": 666755, "owner_name": "Armagnac", "owner_url": "http://www.panoramio.com/user/666755"} - , - {"photo_id": 6189344, "photo_title": "Retenue Courchevel", "photo_url": "http://www.panoramio.com/photo/6189344", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6189344.jpg", "longitude": 6.654494, "latitude": 45.385908, "width": 500, "height": 335, "upload_date": "28 November 2007", "owner_id": 464343, "owner_name": "yves floret", "owner_url": "http://www.panoramio.com/user/464343"} - , - {"photo_id": 6934835, "photo_title": "I feel shivers down my spine... (Coucher de soleil hivernal au cimetière du Père Lachaise)", "photo_url": "http://www.panoramio.com/photo/6934835", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6934835.jpg", "longitude": 2.389634, "latitude": 48.862132, "width": 500, "height": 384, "upload_date": "06 January 2008", "owner_id": 629243, "owner_name": "Olivier Faugeras", "owner_url": "http://www.panoramio.com/user/629243"} - , - {"photo_id": 4214329, "photo_title": "Sunrise of Huangshan", "photo_url": "http://www.panoramio.com/photo/4214329", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4214329.jpg", "longitude": 118.282928, "latitude": 30.139189, "width": 500, "height": 313, "upload_date": "26 August 2007", "owner_id": 161470, "owner_name": "John Su", "owner_url": "http://www.panoramio.com/user/161470"} - , - {"photo_id": 8846650, "photo_title": "Vette Tempestose - Winner of Panoramio Contest of March 2008 - Travel category", "photo_url": "http://www.panoramio.com/photo/8846650", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8846650.jpg", "longitude": 8.456469, "latitude": 45.886752, "width": 500, "height": 215, "upload_date": "25 March 2008", "owner_id": 634000, "owner_name": "© Massimo De Candido", "owner_url": "http://www.panoramio.com/user/634000"} - , - {"photo_id": 945986, "photo_title": "Xerta taronja", "photo_url": "http://www.panoramio.com/photo/945986", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/945986.jpg", "longitude": 0.483055, "latitude": 40.909102, "width": 500, "height": 377, "upload_date": "21 February 2007", "owner_id": 3022, "owner_name": "Arcadi", "owner_url": "http://www.panoramio.com/user/3022"} - , - {"photo_id": 5108615, "photo_title": "El Vado Lake, 1", "photo_url": "http://www.panoramio.com/photo/5108615", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5108615.jpg", "longitude": -106.755394, "latitude": 36.594858, "width": 500, "height": 490, "upload_date": "05 October 2007", "owner_id": 213866, "owner_name": "Nicolas Mertens", "owner_url": "http://www.panoramio.com/user/213866"} - , - {"photo_id": 6095512, "photo_title": "before the snow came - Thunersee - in bad weather", "photo_url": "http://www.panoramio.com/photo/6095512", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6095512.jpg", "longitude": 7.641592, "latitude": 46.744566, "width": 500, "height": 374, "upload_date": "24 November 2007", "owner_id": 635422, "owner_name": "♫ Swissmay", "owner_url": "http://www.panoramio.com/user/635422"} - , - {"photo_id": 1541286, "photo_title": "Wave3", "photo_url": "http://www.panoramio.com/photo/1541286", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1541286.jpg", "longitude": -112.007471, "latitude": 36.994755, "width": 333, "height": 500, "upload_date": "29 March 2007", "owner_id": 40260, "owner_name": "Don Albonico", "owner_url": "http://www.panoramio.com/user/40260"} - , - {"photo_id": 11309226, "photo_title": "Sunset on Portsea", "photo_url": "http://www.panoramio.com/photo/11309226", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11309226.jpg", "longitude": 144.695692, "latitude": -38.330766, "width": 500, "height": 357, "upload_date": "18 June 2008", "owner_id": 140796, "owner_name": "rosina lamberti", "owner_url": "http://www.panoramio.com/user/140796"} - , - {"photo_id": 76734, "photo_title": "Buitre leonado", "photo_url": "http://www.panoramio.com/photo/76734", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/76734.jpg", "longitude": -5.662347, "latitude": 36.522413, "width": 500, "height": 375, "upload_date": "05 November 2006", "owner_id": 473, "owner_name": "Juanlu", "owner_url": "http://www.panoramio.com/user/473"} - , - {"photo_id": 196037, "photo_title": "camello", "photo_url": "http://www.panoramio.com/photo/196037", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/196037.jpg", "longitude": -3.776196, "latitude": 43.470686, "width": 500, "height": 332, "upload_date": "20 December 2006", "owner_id": 38804, "owner_name": "www.oscarsanchez.net", "owner_url": "http://www.panoramio.com/user/38804"} - , - {"photo_id": 1338852, "photo_title": "Stairs down to Praia dé Paraiso", "photo_url": "http://www.panoramio.com/photo/1338852", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1338852.jpg", "longitude": -8.475040, "latitude": 37.096924, "width": 332, "height": 500, "upload_date": "15 March 2007", "owner_id": 278074, "owner_name": "H. C. Steensen", "owner_url": "http://www.panoramio.com/user/278074"} - , - {"photo_id": 1269734, "photo_title": "Frosty fishermans boat, Nesseby, Finnmark, Norway", "photo_url": "http://www.panoramio.com/photo/1269734", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1269734.jpg", "longitude": 28.851471, "latitude": 70.144796, "width": 500, "height": 323, "upload_date": "11 March 2007", "owner_id": 66734, "owner_name": "Svein Solhaug", "owner_url": "http://www.panoramio.com/user/66734"} - , - {"photo_id": 1075687, "photo_title": "Lake Como sunset", "photo_url": "http://www.panoramio.com/photo/1075687", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1075687.jpg", "longitude": 9.285164, "latitude": 46.009839, "width": 500, "height": 332, "upload_date": "28 February 2007", "owner_id": 107359, "owner_name": "Ron Cooper", "owner_url": "http://www.panoramio.com/user/107359"} - , - {"photo_id": 58363, "photo_title": "Sonnenuntergang bei Bardolino", "photo_url": "http://www.panoramio.com/photo/58363", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/58363.jpg", "longitude": 10.714073, "latitude": 45.556372, "width": 500, "height": 333, "upload_date": "07 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 890788, "photo_title": "Kaplička", "photo_url": "http://www.panoramio.com/photo/890788", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/890788.jpg", "longitude": 18.222713, "latitude": 49.491950, "width": 500, "height": 333, "upload_date": "19 February 2007", "owner_id": 187280, "owner_name": "Radek Čampa", "owner_url": "http://www.panoramio.com/user/187280"} - , - {"photo_id": 8730610, "photo_title": "Antelope Canyon", "photo_url": "http://www.panoramio.com/photo/8730610", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8730610.jpg", "longitude": -111.415787, "latitude": 36.918058, "width": 375, "height": 500, "upload_date": "22 March 2008", "owner_id": 1465912, "owner_name": "funtor", "owner_url": "http://www.panoramio.com/user/1465912"} - , - {"photo_id": 3008013, "photo_title": "Infrared Mood of Peyto Lake", "photo_url": "http://www.panoramio.com/photo/3008013", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3008013.jpg", "longitude": -116.509409, "latitude": 51.717989, "width": 500, "height": 334, "upload_date": "29 June 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 565018, "photo_title": "Another one sunset in dubulti", "photo_url": "http://www.panoramio.com/photo/565018", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/565018.jpg", "longitude": 23.765488, "latitude": 56.971626, "width": 500, "height": 333, "upload_date": "25 January 2007", "owner_id": 116556, "owner_name": "Pavels Dunaicevs", "owner_url": "http://www.panoramio.com/user/116556"} - , - {"photo_id": 2217257, "photo_title": "Csermely", "photo_url": "http://www.panoramio.com/photo/2217257", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2217257.jpg", "longitude": 17.986851, "latitude": 47.273755, "width": 500, "height": 334, "upload_date": "14 May 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 3008041, "photo_title": "Lake Louise", "photo_url": "http://www.panoramio.com/photo/3008041", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3008041.jpg", "longitude": -116.219387, "latitude": 51.417409, "width": 500, "height": 335, "upload_date": "29 June 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 636724, "photo_title": "Bora Bora JC", "photo_url": "http://www.panoramio.com/photo/636724", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/636724.jpg", "longitude": -151.714239, "latitude": -16.475926, "width": 500, "height": 375, "upload_date": "31 January 2007", "owner_id": 131113, "owner_name": "Lair Jean Claude", "owner_url": "http://www.panoramio.com/user/131113"} - , - {"photo_id": 511806, "photo_title": "Ezüsterdő", "photo_url": "http://www.panoramio.com/photo/511806", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/511806.jpg", "longitude": 17.748070, "latitude": 47.273056, "width": 366, "height": 500, "upload_date": "21 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 727360, "photo_title": "Hot croissant for breakfast - Crescent sunrise", "photo_url": "http://www.panoramio.com/photo/727360", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/727360.jpg", "longitude": 19.053833, "latitude": 47.605512, "width": 500, "height": 311, "upload_date": "07 February 2007", "owner_id": 57869, "owner_name": "NAGY Albert", "owner_url": "http://www.panoramio.com/user/57869"} - , - {"photo_id": 5148235, "photo_title": "shinagawa", "photo_url": "http://www.panoramio.com/photo/5148235", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5148235.jpg", "longitude": 139.741459, "latitude": 35.627460, "width": 500, "height": 500, "upload_date": "07 October 2007", "owner_id": 128403, "owner_name": "mechanics", "owner_url": "http://www.panoramio.com/user/128403"} - , - {"photo_id": 2082127, "photo_title": "Rejtelmes Szigetköz", "photo_url": "http://www.panoramio.com/photo/2082127", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2082127.jpg", "longitude": 17.508516, "latitude": 47.850088, "width": 500, "height": 316, "upload_date": "05 May 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 1589607, "photo_title": "Baalbek - Temple of Bacchus - Giant Columns", "photo_url": "http://www.panoramio.com/photo/1589607", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1589607.jpg", "longitude": 36.204404, "latitude": 34.006228, "width": 500, "height": 283, "upload_date": "01 April 2007", "owner_id": 73104, "owner_name": "zerega", "owner_url": "http://www.panoramio.com/user/73104"} - , - {"photo_id": 410991, "photo_title": "Burj al Arab", "photo_url": "http://www.panoramio.com/photo/410991", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/410991.jpg", "longitude": 55.187352, "latitude": 25.139282, "width": 500, "height": 342, "upload_date": "13 January 2007", "owner_id": 82662, "owner_name": "Sven Goelles", "owner_url": "http://www.panoramio.com/user/82662"} - , - {"photo_id": 6012, "photo_title": "Rastoke", "photo_url": "http://www.panoramio.com/photo/6012", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6012.jpg", "longitude": 15.584493, "latitude": 45.119144, "width": 343, "height": 500, "upload_date": "18 December 2005", "owner_id": 989, "owner_name": "Mrgud", "owner_url": "http://www.panoramio.com/user/989"} - , - {"photo_id": 4989314, "photo_title": "Range of Light", "photo_url": "http://www.panoramio.com/photo/4989314", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4989314.jpg", "longitude": -118.597283, "latitude": 37.234360, "width": 500, "height": 357, "upload_date": "29 September 2007", "owner_id": 376395, "owner_name": "JeffSullivan (www.MyPhotoGuides.com)", "owner_url": "http://www.panoramio.com/user/376395"} - , - {"photo_id": 2115987, "photo_title": "La Croix de Brume", "photo_url": "http://www.panoramio.com/photo/2115987", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2115987.jpg", "longitude": 0.341520, "latitude": 44.859519, "width": 409, "height": 500, "upload_date": "07 May 2007", "owner_id": 372189, "owner_name": "Phil©", "owner_url": "http://www.panoramio.com/user/372189"} - , - {"photo_id": 229544, "photo_title": "VRT RTBf Toren", "photo_url": "http://www.panoramio.com/photo/229544", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/229544.jpg", "longitude": 4.401634, "latitude": 50.852972, "width": 333, "height": 500, "upload_date": "24 December 2006", "owner_id": 7464, "owner_name": "Pieter", "owner_url": "http://www.panoramio.com/user/7464"} - , - {"photo_id": 58283, "photo_title": "Weg", "photo_url": "http://www.panoramio.com/photo/58283", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/58283.jpg", "longitude": 12.898464, "latitude": 48.059496, "width": 500, "height": 333, "upload_date": "07 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 112110, "photo_title": "Toronto_CN-Tower", "photo_url": "http://www.panoramio.com/photo/112110", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/112110.jpg", "longitude": -79.386907, "latitude": 43.641805, "width": 500, "height": 375, "upload_date": "11 December 2006", "owner_id": 17488, "owner_name": "John Gillett", "owner_url": "http://www.panoramio.com/user/17488"} - , - {"photo_id": 4446966, "photo_title": "Álmodó folyó", "photo_url": "http://www.panoramio.com/photo/4446966", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4446966.jpg", "longitude": 17.454357, "latitude": 47.881470, "width": 500, "height": 375, "upload_date": "06 September 2007", "owner_id": 182660, "owner_name": "Bálint Tünde", "owner_url": "http://www.panoramio.com/user/182660"} - , - {"photo_id": 91966, "photo_title": "Bled (Slovenia)", "photo_url": "http://www.panoramio.com/photo/91966", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/91966.jpg", "longitude": 14.087219, "latitude": 46.358184, "width": 500, "height": 375, "upload_date": "04 December 2006", "owner_id": 11403, "owner_name": "Arnáiz", "owner_url": "http://www.panoramio.com/user/11403"} - , - {"photo_id": 6013503, "photo_title": "Kapelle bei Böhmenkirch", "photo_url": "http://www.panoramio.com/photo/6013503", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6013503.jpg", "longitude": 9.943142, "latitude": 48.694756, "width": 500, "height": 375, "upload_date": "19 November 2007", "owner_id": 424589, "owner_name": "PeSchn", "owner_url": "http://www.panoramio.com/user/424589"} - , - {"photo_id": 1781593, "photo_title": "Medusa's Sandbox", "photo_url": "http://www.panoramio.com/photo/1781593", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1781593.jpg", "longitude": -112.006624, "latitude": 36.995852, "width": 375, "height": 500, "upload_date": "15 April 2007", "owner_id": 376395, "owner_name": "JeffSullivan (www.MyPhotoGuides.com)", "owner_url": "http://www.panoramio.com/user/376395"} - , - {"photo_id": 704119, "photo_title": "Izzó Adria", "photo_url": "http://www.panoramio.com/photo/704119", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/704119.jpg", "longitude": 17.056789, "latitude": 43.272206, "width": 500, "height": 285, "upload_date": "05 February 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 85624, "photo_title": "Isla del Fraile Águilas", "photo_url": "http://www.panoramio.com/photo/85624", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/85624.jpg", "longitude": -0.722609, "latitude": 37.924329, "width": 500, "height": 298, "upload_date": "24 November 2006", "owner_id": 10969, "owner_name": "Juanra", "owner_url": "http://www.panoramio.com/user/10969"} - , - {"photo_id": 52350, "photo_title": "Cataratas del Iguazú. Brasil", "photo_url": "http://www.panoramio.com/photo/52350", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/52350.jpg", "longitude": -54.439831, "latitude": -25.687422, "width": 500, "height": 333, "upload_date": "25 September 2006", "owner_id": 6961, "owner_name": "Santiago Rios", "owner_url": "http://www.panoramio.com/user/6961"} - , - {"photo_id": 36482, "photo_title": "Rovinj Harbour", "photo_url": "http://www.panoramio.com/photo/36482", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/36482.jpg", "longitude": 13.632714, "latitude": 45.083938, "width": 500, "height": 332, "upload_date": "02 August 2006", "owner_id": 5703, "owner_name": "dancer", "owner_url": "http://www.panoramio.com/user/5703"} - , - {"photo_id": 7251846, "photo_title": "Azért a víz az úr", "photo_url": "http://www.panoramio.com/photo/7251846", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7251846.jpg", "longitude": 17.629623, "latitude": 47.687334, "width": 500, "height": 329, "upload_date": "20 January 2008", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 1551756, "photo_title": "Templestowe", "photo_url": "http://www.panoramio.com/photo/1551756", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1551756.jpg", "longitude": 145.116667, "latitude": -37.750000, "width": 500, "height": 298, "upload_date": "30 March 2007", "owner_id": 140796, "owner_name": "rosina lamberti", "owner_url": "http://www.panoramio.com/user/140796"} - , - {"photo_id": 2397841, "photo_title": "Storm Season II", "photo_url": "http://www.panoramio.com/photo/2397841", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2397841.jpg", "longitude": -122.439870, "latitude": 37.427928, "width": 407, "height": 500, "upload_date": "26 May 2007", "owner_id": 107613, "owner_name": "Tom Grubbe", "owner_url": "http://www.panoramio.com/user/107613"} - , - {"photo_id": 1237915, "photo_title": "Chlum u Trebone", "photo_url": "http://www.panoramio.com/photo/1237915", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1237915.jpg", "longitude": 14.923811, "latitude": 48.960159, "width": 500, "height": 429, "upload_date": "09 March 2007", "owner_id": 235166, "owner_name": "jirivrobel", "owner_url": "http://www.panoramio.com/user/235166"} - , - {"photo_id": 359324, "photo_title": "Abstraktion in der Kirche von Mogno, Tessin .......", "photo_url": "http://www.panoramio.com/photo/359324", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/359324.jpg", "longitude": 8.663492, "latitude": 46.430966, "width": 500, "height": 380, "upload_date": "09 January 2007", "owner_id": 7434, "owner_name": "baldinger reisen ag, waedenswil/switzerland", "owner_url": "http://www.panoramio.com/user/7434"} - , - {"photo_id": 483742, "photo_title": "Venus at Haleakala", "photo_url": "http://www.panoramio.com/photo/483742", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/483742.jpg", "longitude": -156.239491, "latitude": 20.707468, "width": 500, "height": 375, "upload_date": "18 January 2007", "owner_id": 100907, "owner_name": "Julia Wahl", "owner_url": "http://www.panoramio.com/user/100907"} - , - {"photo_id": 1087397, "photo_title": "Fjellbjerk (Betula) Snøhetta mountain in the background", "photo_url": "http://www.panoramio.com/photo/1087397", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1087397.jpg", "longitude": 9.555531, "latitude": 62.240111, "width": 500, "height": 333, "upload_date": "28 February 2007", "owner_id": 223406, "owner_name": "Sigmund Rise", "owner_url": "http://www.panoramio.com/user/223406"} - , - {"photo_id": 2846123, "photo_title": "新潟 小千谷 風船一揆 2003 niigata ojiya balloon riot Fireworks", "photo_url": "http://www.panoramio.com/photo/2846123", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2846123.jpg", "longitude": 138.791313, "latitude": 37.289350, "width": 500, "height": 497, "upload_date": "20 June 2007", "owner_id": 446937, "owner_name": "y_komatsu", "owner_url": "http://www.panoramio.com/user/446937"} - , - {"photo_id": 2533559, "photo_title": "Great Idea ! Don´t do it !!!", "photo_url": "http://www.panoramio.com/photo/2533559", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2533559.jpg", "longitude": -35.036988, "latitude": -6.241628, "width": 500, "height": 308, "upload_date": "02 June 2007", "owner_id": 1908, "owner_name": "Cleber Lima", "owner_url": "http://www.panoramio.com/user/1908"} - , - {"photo_id": 86246, "photo_title": "Salinas de Santa Pola", "photo_url": "http://www.panoramio.com/photo/86246", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/86246.jpg", "longitude": -0.528374, "latitude": 38.230090, "width": 500, "height": 333, "upload_date": "25 November 2006", "owner_id": 10969, "owner_name": "Juanra", "owner_url": "http://www.panoramio.com/user/10969"} - , - {"photo_id": 405740, "photo_title": "fudoutaki", "photo_url": "http://www.panoramio.com/photo/405740", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/405740.jpg", "longitude": 139.502249, "latitude": 37.580909, "width": 500, "height": 394, "upload_date": "13 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 12848417, "photo_title": "Niedrigwasser an der Elbe-Dresden", "photo_url": "http://www.panoramio.com/photo/12848417", "photo_file_url": "http://static2.bareka.com/photos/medium/12848417.jpg", "longitude": 13.745323, "latitude": 51.055093, "width": 500, "height": 268, "upload_date": "05 August 2008", "owner_id": 1465912, "owner_name": "funtor", "owner_url": "http://www.panoramio.com/user/1465912"} - , - {"photo_id": 291091, "photo_title": "Imperia Porto Maurizio Puesta del Sol al Prino", "photo_url": "http://www.panoramio.com/photo/291091", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/291091.jpg", "longitude": 8.006684, "latitude": 43.869312, "width": 500, "height": 465, "upload_date": "03 January 2007", "owner_id": 60898, "owner_name": "esseil", "owner_url": "http://www.panoramio.com/user/60898"} - , - {"photo_id": 1183261, "photo_title": "Az óperencián innen", "photo_url": "http://www.panoramio.com/photo/1183261", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1183261.jpg", "longitude": 15.823574, "latitude": 43.708462, "width": 500, "height": 312, "upload_date": "05 March 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 1637150, "photo_title": "Vista del Misti por encima de las nubes", "photo_url": "http://www.panoramio.com/photo/1637150", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1637150.jpg", "longitude": -71.414566, "latitude": -16.300040, "width": 500, "height": 333, "upload_date": "05 April 2007", "owner_id": 328178, "owner_name": "Mariví Jiménez", "owner_url": "http://www.panoramio.com/user/328178"} - , - {"photo_id": 507703, "photo_title": "Csendes vizek", "photo_url": "http://www.panoramio.com/photo/507703", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/507703.jpg", "longitude": 17.568769, "latitude": 47.633586, "width": 500, "height": 349, "upload_date": "20 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 55100, "photo_title": "Ballesvikskardet", "photo_url": "http://www.panoramio.com/photo/55100", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/55100.jpg", "longitude": 17.122707, "latitude": 69.352910, "width": 500, "height": 375, "upload_date": "30 September 2006", "owner_id": 3574, "owner_name": "blackone", "owner_url": "http://www.panoramio.com/user/3574"} - , - {"photo_id": 291648, "photo_title": "Galway Cathedral", "photo_url": "http://www.panoramio.com/photo/291648", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/291648.jpg", "longitude": -9.057664, "latitude": 53.275627, "width": 500, "height": 336, "upload_date": "03 January 2007", "owner_id": 61285, "owner_name": "kamil krawczak", "owner_url": "http://www.panoramio.com/user/61285"} - , - {"photo_id": 5285701, "photo_title": "Another South Sister reflecting in Sparks Lake", "photo_url": "http://www.panoramio.com/photo/5285701", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5285701.jpg", "longitude": -121.737549, "latitude": 44.014176, "width": 500, "height": 334, "upload_date": "13 October 2007", "owner_id": 128746, "owner_name": "© Michael Hatten", "owner_url": "http://www.panoramio.com/user/128746"} - , - {"photo_id": 761958, "photo_title": "Lake Oulujärvi", "photo_url": "http://www.panoramio.com/photo/761958", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/761958.jpg", "longitude": 27.339649, "latitude": 64.231986, "width": 375, "height": 500, "upload_date": "10 February 2007", "owner_id": 151444, "owner_name": "Timo Rossi", "owner_url": "http://www.panoramio.com/user/151444"} - , - {"photo_id": 3853459, "photo_title": "Its great to be a swan on Hawn Pawn!", "photo_url": "http://www.panoramio.com/photo/3853459", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3853459.jpg", "longitude": -71.154628, "latitude": 42.470625, "width": 389, "height": 500, "upload_date": "10 August 2007", "owner_id": 286174, "owner_name": "kamaly", "owner_url": "http://www.panoramio.com/user/286174"} - , - {"photo_id": 4610197, "photo_title": "Yosemite Valley with Fallen Redwood from V11", "photo_url": "http://www.panoramio.com/photo/4610197", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4610197.jpg", "longitude": -119.661703, "latitude": 37.717214, "width": 500, "height": 281, "upload_date": "12 September 2007", "owner_id": 339677, "owner_name": "Chip Stephan", "owner_url": "http://www.panoramio.com/user/339677"} - , - {"photo_id": 5700759, "photo_title": "Crete senesi", "photo_url": "http://www.panoramio.com/photo/5700759", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5700759.jpg", "longitude": 11.448483, "latitude": 43.280205, "width": 500, "height": 304, "upload_date": "02 November 2007", "owner_id": 158718, "owner_name": "giulio colla", "owner_url": "http://www.panoramio.com/user/158718"} - , - {"photo_id": 1391775, "photo_title": "Arboles al atardecer en Chapala - Trees at sunset in Chapala Lake", "photo_url": "http://www.panoramio.com/photo/1391775", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1391775.jpg", "longitude": -102.775211, "latitude": 20.308730, "width": 500, "height": 341, "upload_date": "19 March 2007", "owner_id": 291650, "owner_name": "J.Ernesto Ortiz Razo", "owner_url": "http://www.panoramio.com/user/291650"} - , - {"photo_id": 57514, "photo_title": "Limone 1", "photo_url": "http://www.panoramio.com/photo/57514", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/57514.jpg", "longitude": 10.792179, "latitude": 45.816298, "width": 500, "height": 333, "upload_date": "04 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 2602937, "photo_title": "Alone", "photo_url": "http://www.panoramio.com/photo/2602937", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2602937.jpg", "longitude": -4.001770, "latitude": 31.174035, "width": 500, "height": 320, "upload_date": "06 June 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 117465, "photo_title": "New York in the Afternoon...from Soho.. by Jeremiah Christopher", "photo_url": "http://www.panoramio.com/photo/117465", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/117465.jpg", "longitude": -74.003212, "latitude": 40.724059, "width": 500, "height": 375, "upload_date": "11 December 2006", "owner_id": 16869, "owner_name": "Jeremiah Christopher", "owner_url": "http://www.panoramio.com/user/16869"} - , - {"photo_id": 1331707, "photo_title": "Kastellet (Copenhagen fortress), Aerial", "photo_url": "http://www.panoramio.com/photo/1331707", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1331707.jpg", "longitude": 12.594967, "latitude": 55.691230, "width": 500, "height": 332, "upload_date": "15 March 2007", "owner_id": 278074, "owner_name": "H. C. Steensen", "owner_url": "http://www.panoramio.com/user/278074"} - , - {"photo_id": 11853382, "photo_title": "Railroads by Sunset/ Schienen bei Sonnenuntergang", "photo_url": "http://www.panoramio.com/photo/11853382", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11853382.jpg", "longitude": 8.283455, "latitude": 51.692644, "width": 500, "height": 332, "upload_date": "06 July 2008", "owner_id": 564436, "owner_name": "Thomas Splietker", "owner_url": "http://www.panoramio.com/user/564436"} - , - {"photo_id": 1558288, "photo_title": "Notre-Dame et Tour Saint Jacques", "photo_url": "http://www.panoramio.com/photo/1558288", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1558288.jpg", "longitude": 2.354808, "latitude": 48.850399, "width": 500, "height": 333, "upload_date": "30 March 2007", "owner_id": 78506, "owner_name": "Philippe Stoop", "owner_url": "http://www.panoramio.com/user/78506"} - , - {"photo_id": 7601425, "photo_title": "Venezianische Impressionen", "photo_url": "http://www.panoramio.com/photo/7601425", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7601425.jpg", "longitude": 12.337024, "latitude": 45.432280, "width": 500, "height": 385, "upload_date": "05 February 2008", "owner_id": 696605, "owner_name": "© alfredschaffer", "owner_url": "http://www.panoramio.com/user/696605"} - , - {"photo_id": 36386, "photo_title": "Half Dome Cables", "photo_url": "http://www.panoramio.com/photo/36386", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/36386.jpg", "longitude": -119.530735, "latitude": 37.746710, "width": 333, "height": 500, "upload_date": "02 August 2006", "owner_id": 5684, "owner_name": "Brent Townshend", "owner_url": "http://www.panoramio.com/user/5684"} - , - {"photo_id": 1089570, "photo_title": "Titokzatos reggel", "photo_url": "http://www.panoramio.com/photo/1089570", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1089570.jpg", "longitude": 17.467575, "latitude": 47.870532, "width": 500, "height": 331, "upload_date": "28 February 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 575276, "photo_title": "Sunrise", "photo_url": "http://www.panoramio.com/photo/575276", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/575276.jpg", "longitude": 2.288809, "latitude": 48.861892, "width": 500, "height": 349, "upload_date": "26 January 2007", "owner_id": 123518, "owner_name": "ERic Pouhier ericpouhier.com", "owner_url": "http://www.panoramio.com/user/123518"} - , - {"photo_id": 486480, "photo_title": "Monte Generoso", "photo_url": "http://www.panoramio.com/photo/486480", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/486480.jpg", "longitude": 9.015055, "latitude": 45.924826, "width": 428, "height": 500, "upload_date": "19 January 2007", "owner_id": 24068, "owner_name": "Daniele Nasi", "owner_url": "http://www.panoramio.com/user/24068"} - , - {"photo_id": 1100378, "photo_title": "Rensbekksetra (summer pasture)", "photo_url": "http://www.panoramio.com/photo/1100378", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1100378.jpg", "longitude": 9.293404, "latitude": 62.712731, "width": 500, "height": 255, "upload_date": "01 March 2007", "owner_id": 223406, "owner_name": "Sigmund Rise", "owner_url": "http://www.panoramio.com/user/223406"} - , - {"photo_id": 5844316, "photo_title": "Hikarigaoka IMA", "photo_url": "http://www.panoramio.com/photo/5844316", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5844316.jpg", "longitude": 139.630048, "latitude": 35.758154, "width": 500, "height": 326, "upload_date": "11 November 2007", "owner_id": 558055, "owner_name": "www.tokyoform.com", "owner_url": "http://www.panoramio.com/user/558055"} - , - {"photo_id": 1345372, "photo_title": "Sunset, Foeniculum vulgare (fennel, is one likely candidate)", "photo_url": "http://www.panoramio.com/photo/1345372", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1345372.jpg", "longitude": 10.727119, "latitude": 55.205080, "width": 332, "height": 500, "upload_date": "16 March 2007", "owner_id": 278074, "owner_name": "H. C. Steensen", "owner_url": "http://www.panoramio.com/user/278074"} - , - {"photo_id": 1317735, "photo_title": "Motu of Bora Bora", "photo_url": "http://www.panoramio.com/photo/1317735", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1317735.jpg", "longitude": -151.698360, "latitude": -16.495843, "width": 500, "height": 355, "upload_date": "14 March 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 1012093, "photo_title": "Sunrise from the east side of Longs Peak", "photo_url": "http://www.panoramio.com/photo/1012093", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1012093.jpg", "longitude": -105.542564, "latitude": 40.274549, "width": 374, "height": 500, "upload_date": "25 February 2007", "owner_id": 87752, "owner_name": "Richard Ryer", "owner_url": "http://www.panoramio.com/user/87752"} - , - {"photo_id": 5035419, "photo_title": "Basilica de San Basilio (Moscow)", "photo_url": "http://www.panoramio.com/photo/5035419", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5035419.jpg", "longitude": 37.622852, "latitude": 55.752622, "width": 398, "height": 500, "upload_date": "01 October 2007", "owner_id": 83865, "owner_name": "Epi F.Villanueva", "owner_url": "http://www.panoramio.com/user/83865"} - , - {"photo_id": 799910, "photo_title": "A Dramatic Turn of the Yangtze River", "photo_url": "http://www.panoramio.com/photo/799910", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/799910.jpg", "longitude": 99.272633, "latitude": 28.255552, "width": 500, "height": 226, "upload_date": "13 February 2007", "owner_id": 164125, "owner_name": "DannyXu", "owner_url": "http://www.panoramio.com/user/164125"} - , - {"photo_id": 765388, "photo_title": "Leh", "photo_url": "http://www.panoramio.com/photo/765388", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/765388.jpg", "longitude": 77.587509, "latitude": 34.164943, "width": 500, "height": 333, "upload_date": "10 February 2007", "owner_id": 78506, "owner_name": "Philippe Stoop", "owner_url": "http://www.panoramio.com/user/78506"} - , - {"photo_id": 2875857, "photo_title": "Elgol, Isle of Skye", "photo_url": "http://www.panoramio.com/photo/2875857", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2875857.jpg", "longitude": -6.107025, "latitude": 57.150023, "width": 500, "height": 500, "upload_date": "22 June 2007", "owner_id": 588149, "owner_name": "Adam Salwanowicz", "owner_url": "http://www.panoramio.com/user/588149"} - , - {"photo_id": 840915, "photo_title": "Island of The Day Before", "photo_url": "http://www.panoramio.com/photo/840915", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/840915.jpg", "longitude": 27.436638, "latitude": 42.441448, "width": 500, "height": 333, "upload_date": "16 February 2007", "owner_id": 16880, "owner_name": "evgenidinev.com", "owner_url": "http://www.panoramio.com/user/16880"} - , - {"photo_id": 1459925, "photo_title": "The last ray", "photo_url": "http://www.panoramio.com/photo/1459925", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1459925.jpg", "longitude": -110.134850, "latitude": 36.955379, "width": 500, "height": 290, "upload_date": "23 March 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 872177, "photo_title": "Sahara Desert sunrise, Chott el Jerid, near Kebili, Tunisia, 1/2007", "photo_url": "http://www.panoramio.com/photo/872177", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/872177.jpg", "longitude": 8.475866, "latitude": 33.930898, "width": 500, "height": 375, "upload_date": "18 February 2007", "owner_id": 183521, "owner_name": "SteveT", "owner_url": "http://www.panoramio.com/user/183521"} - , - {"photo_id": 405753, "photo_title": "sinanogawa", "photo_url": "http://www.panoramio.com/photo/405753", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/405753.jpg", "longitude": 138.822384, "latitude": 37.268589, "width": 500, "height": 386, "upload_date": "13 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 548240, "photo_title": "Old Bagan 2002", "photo_url": "http://www.panoramio.com/photo/548240", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/548240.jpg", "longitude": 94.825230, "latitude": 21.137026, "width": 500, "height": 375, "upload_date": "23 January 2007", "owner_id": 64758, "owner_name": "Joly David", "owner_url": "http://www.panoramio.com/user/64758"} - , - {"photo_id": 4868105, "photo_title": "Bled lake", "photo_url": "http://www.panoramio.com/photo/4868105", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4868105.jpg", "longitude": 14.104900, "latitude": 46.369793, "width": 500, "height": 333, "upload_date": "24 September 2007", "owner_id": 989, "owner_name": "Mrgud", "owner_url": "http://www.panoramio.com/user/989"} - , - {"photo_id": 549396, "photo_title": "Råkneset on Storfjellet island, Røst", "photo_url": "http://www.panoramio.com/photo/549396", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/549396.jpg", "longitude": 11.932955, "latitude": 67.457456, "width": 500, "height": 375, "upload_date": "23 January 2007", "owner_id": 95799, "owner_name": "Owen Morgan", "owner_url": "http://www.panoramio.com/user/95799"} - , - {"photo_id": 196121, "photo_title": "canallave", "photo_url": "http://www.panoramio.com/photo/196121", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/196121.jpg", "longitude": -3.960571, "latitude": 43.452358, "width": 500, "height": 332, "upload_date": "20 December 2006", "owner_id": 38804, "owner_name": "www.oscarsanchez.net", "owner_url": "http://www.panoramio.com/user/38804"} - , - {"photo_id": 2422299, "photo_title": "Pacific Weather", "photo_url": "http://www.panoramio.com/photo/2422299", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2422299.jpg", "longitude": -124.097099, "latitude": 44.345704, "width": 500, "height": 333, "upload_date": "27 May 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 821291, "photo_title": "Храм Василия Блаженного (Москва, ноябрь 2006 года)", "photo_url": "http://www.panoramio.com/photo/821291", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/821291.jpg", "longitude": 37.622954, "latitude": 55.752613, "width": 500, "height": 375, "upload_date": "14 February 2007", "owner_id": 55593, "owner_name": "pokatut.photosight.ru", "owner_url": "http://www.panoramio.com/user/55593"} - , - {"photo_id": 3545143, "photo_title": "Rainbow (Regnbue)", "photo_url": "http://www.panoramio.com/photo/3545143", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3545143.jpg", "longitude": 8.598175, "latitude": 62.904445, "width": 500, "height": 223, "upload_date": "26 July 2007", "owner_id": 343934, "owner_name": "Asbjørn999", "owner_url": "http://www.panoramio.com/user/343934"} - , - {"photo_id": 1794618, "photo_title": "Túlélők", "photo_url": "http://www.panoramio.com/photo/1794618", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1794618.jpg", "longitude": 20.803127, "latitude": 48.014157, "width": 399, "height": 500, "upload_date": "15 April 2007", "owner_id": 346103, "owner_name": "lacitot", "owner_url": "http://www.panoramio.com/user/346103"} - , - {"photo_id": 3904091, "photo_title": "Hajnali utakon", "photo_url": "http://www.panoramio.com/photo/3904091", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3904091.jpg", "longitude": 17.512014, "latitude": 47.850319, "width": 500, "height": 334, "upload_date": "13 August 2007", "owner_id": 689769, "owner_name": "Ponty István", "owner_url": "http://www.panoramio.com/user/689769"} - , - {"photo_id": 5649508, "photo_title": "Quiet morning", "photo_url": "http://www.panoramio.com/photo/5649508", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5649508.jpg", "longitude": 12.190876, "latitude": 49.357446, "width": 500, "height": 333, "upload_date": "31 October 2007", "owner_id": 696605, "owner_name": "© alfredschaffer", "owner_url": "http://www.panoramio.com/user/696605"} - , - {"photo_id": 7938965, "photo_title": "Pattaya - Big Buddha - Big Buddha Hill", "photo_url": "http://www.panoramio.com/photo/7938965", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7938965.jpg", "longitude": 100.868343, "latitude": 12.914107, "width": 500, "height": 375, "upload_date": "19 February 2008", "owner_id": 716245, "owner_name": "—Dragon-64— ✈", "owner_url": "http://www.panoramio.com/user/716245"} - , - {"photo_id": 497056, "photo_title": "Japanese Garden maple", "photo_url": "http://www.panoramio.com/photo/497056", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/497056.jpg", "longitude": -122.707999, "latitude": 45.518810, "width": 500, "height": 300, "upload_date": "20 January 2007", "owner_id": 107359, "owner_name": "Ron Cooper", "owner_url": "http://www.panoramio.com/user/107359"} - , - {"photo_id": 438699, "photo_title": "White Sand Dunes", "photo_url": "http://www.panoramio.com/photo/438699", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/438699.jpg", "longitude": -106.262083, "latitude": 32.799324, "width": 371, "height": 500, "upload_date": "15 January 2007", "owner_id": 93560, "owner_name": "Alex Petrov", "owner_url": "http://www.panoramio.com/user/93560"} - , - {"photo_id": 2082221, "photo_title": "\"Bekötött szemmel\"", "photo_url": "http://www.panoramio.com/photo/2082221", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2082221.jpg", "longitude": 17.660522, "latitude": 47.604543, "width": 500, "height": 334, "upload_date": "05 May 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 5836484, "photo_title": "An Autumn's golden dawn on the Lake of Varese", "photo_url": "http://www.panoramio.com/photo/5836484", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5836484.jpg", "longitude": 8.718081, "latitude": 45.838966, "width": 500, "height": 312, "upload_date": "11 November 2007", "owner_id": 933456, "owner_name": "© Marco De Candido", "owner_url": "http://www.panoramio.com/user/933456"} - , - {"photo_id": 5204696, "photo_title": "Scotland", "photo_url": "http://www.panoramio.com/photo/5204696", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5204696.jpg", "longitude": -5.078773, "latitude": 56.558726, "width": 500, "height": 254, "upload_date": "09 October 2007", "owner_id": 588149, "owner_name": "Adam Salwanowicz", "owner_url": "http://www.panoramio.com/user/588149"} - , - {"photo_id": 1343454, "photo_title": "Вулкан Карымский", "photo_url": "http://www.panoramio.com/photo/1343454", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1343454.jpg", "longitude": 159.480286, "latitude": 54.025470, "width": 364, "height": 500, "upload_date": "16 March 2007", "owner_id": 268724, "owner_name": "Korotnev AV", "owner_url": "http://www.panoramio.com/user/268724"} - , - {"photo_id": 507424, "photo_title": "Lankák, ívek, felhőárnyak", "photo_url": "http://www.panoramio.com/photo/507424", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/507424.jpg", "longitude": 17.967281, "latitude": 47.318112, "width": 500, "height": 291, "upload_date": "20 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 5893176, "photo_title": "07-06-11_Camino de Santiago, Castrojeriz_PIXELECTA", "photo_url": "http://www.panoramio.com/photo/5893176", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5893176.jpg", "longitude": -4.182916, "latitude": 42.285723, "width": 500, "height": 333, "upload_date": "13 November 2007", "owner_id": 163655, "owner_name": "[[[ PIXELECTA ]]]", "owner_url": "http://www.panoramio.com/user/163655"} - , - {"photo_id": 186685, "photo_title": "People of Petra, the boy and his job", "photo_url": "http://www.panoramio.com/photo/186685", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/186685.jpg", "longitude": 35.437002, "latitude": 30.322285, "width": 500, "height": 375, "upload_date": "19 December 2006", "owner_id": 24068, "owner_name": "Daniele Nasi", "owner_url": "http://www.panoramio.com/user/24068"} - , - {"photo_id": 355648, "photo_title": "puerto-rico el-yunque", "photo_url": "http://www.panoramio.com/photo/355648", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/355648.jpg", "longitude": -65.788536, "latitude": 18.298795, "width": 500, "height": 334, "upload_date": "09 January 2007", "owner_id": 69671, "owner_name": "illusandpics.com", "owner_url": "http://www.panoramio.com/user/69671"} - , - {"photo_id": 46913, "photo_title": "beachy head", "photo_url": "http://www.panoramio.com/photo/46913", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/46913.jpg", "longitude": 0.216272, "latitude": 50.737969, "width": 500, "height": 291, "upload_date": "11 September 2006", "owner_id": 2575, "owner_name": "mikel ortega", "owner_url": "http://www.panoramio.com/user/2575"} - , - {"photo_id": 6012999, "photo_title": "Wetterumschwung in Murano", "photo_url": "http://www.panoramio.com/photo/6012999", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6012999.jpg", "longitude": 12.357838, "latitude": 45.457557, "width": 500, "height": 336, "upload_date": "19 November 2007", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 590422, "photo_title": "Gyilkos-tó (Killer Lake) - Remains of the forest, which grew here until 1837, conserved by the water", "photo_url": "http://www.panoramio.com/photo/590422", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/590422.jpg", "longitude": 25.785170, "latitude": 46.792597, "width": 500, "height": 352, "upload_date": "27 January 2007", "owner_id": 57869, "owner_name": "NAGY Albert", "owner_url": "http://www.panoramio.com/user/57869"} - , - {"photo_id": 5119067, "photo_title": "Fog In The Forest", "photo_url": "http://www.panoramio.com/photo/5119067", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5119067.jpg", "longitude": 7.667191, "latitude": 49.174283, "width": 500, "height": 375, "upload_date": "05 October 2007", "owner_id": 528834, "owner_name": "©junebug", "owner_url": "http://www.panoramio.com/user/528834"} - , - {"photo_id": 4702558, "photo_title": "Sunset ( Isla de Antigua-Caribe)", "photo_url": "http://www.panoramio.com/photo/4702558", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4702558.jpg", "longitude": -61.833801, "latitude": 17.171627, "width": 500, "height": 375, "upload_date": "16 September 2007", "owner_id": 83865, "owner_name": "Epi F.Villanueva", "owner_url": "http://www.panoramio.com/user/83865"} - , - {"photo_id": 717413, "photo_title": "Singapore Skyline with Esplanade at night", "photo_url": "http://www.panoramio.com/photo/717413", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/717413.jpg", "longitude": 103.856664, "latitude": 1.291589, "width": 391, "height": 500, "upload_date": "06 February 2007", "owner_id": 20398, "owner_name": "boerx", "owner_url": "http://www.panoramio.com/user/20398"} - , - {"photo_id": 6281064, "photo_title": "Latemar Carezza", "photo_url": "http://www.panoramio.com/photo/6281064", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6281064.jpg", "longitude": 11.595447, "latitude": 46.412476, "width": 500, "height": 332, "upload_date": "03 December 2007", "owner_id": 578163, "owner_name": "Margherita-Italy", "owner_url": "http://www.panoramio.com/user/578163"} - , - {"photo_id": 327016, "photo_title": "bryce canyon", "photo_url": "http://www.panoramio.com/photo/327016", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/327016.jpg", "longitude": -112.210836, "latitude": 37.586146, "width": 500, "height": 375, "upload_date": "07 January 2007", "owner_id": 63705, "owner_name": "Karl Wiktorin", "owner_url": "http://www.panoramio.com/user/63705"} - , - {"photo_id": 301678, "photo_title": "Akashi Kaikyo Bridge (Pearl Bridge)", "photo_url": "http://www.panoramio.com/photo/301678", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/301678.jpg", "longitude": 135.028882, "latitude": 34.623002, "width": 443, "height": 500, "upload_date": "04 January 2007", "owner_id": 30202, "owner_name": "S_Mori", "owner_url": "http://www.panoramio.com/user/30202"} - , - {"photo_id": 6055804, "photo_title": "2007 Balsa de SALBURUA_VITORIA (Alava) PIXELECTA", "photo_url": "http://www.panoramio.com/photo/6055804", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6055804.jpg", "longitude": -2.650537, "latitude": 42.859907, "width": 500, "height": 333, "upload_date": "21 November 2007", "owner_id": 163655, "owner_name": "[[[ PIXELECTA ]]]", "owner_url": "http://www.panoramio.com/user/163655"} - , - {"photo_id": 5946759, "photo_title": "Snow Pond", "photo_url": "http://www.panoramio.com/photo/5946759", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5946759.jpg", "longitude": 10.899510, "latitude": 49.694507, "width": 500, "height": 375, "upload_date": "16 November 2007", "owner_id": 884621, "owner_name": "Florian Eichhorn", "owner_url": "http://www.panoramio.com/user/884621"} - , - {"photo_id": 231305, "photo_title": "Cathedral Rock in Sedona, AZ at Sunset", "photo_url": "http://www.panoramio.com/photo/231305", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/231305.jpg", "longitude": -111.792294, "latitude": 34.818657, "width": 500, "height": 327, "upload_date": "25 December 2006", "owner_id": 45308, "owner_name": "Mike Cavaroc", "owner_url": "http://www.panoramio.com/user/45308"} - , - {"photo_id": 582047, "photo_title": "Old Vineyard with the sun trying to break through the fog: Oakley, CA", "photo_url": "http://www.panoramio.com/photo/582047", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/582047.jpg", "longitude": -121.753750, "latitude": 38.001658, "width": 500, "height": 316, "upload_date": "26 January 2007", "owner_id": 99249, "owner_name": "shaunika", "owner_url": "http://www.panoramio.com/user/99249"} - , - {"photo_id": 679332, "photo_title": "forbidden city", "photo_url": "http://www.panoramio.com/photo/679332", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/679332.jpg", "longitude": 116.396177, "latitude": 39.921734, "width": 500, "height": 248, "upload_date": "04 February 2007", "owner_id": 146092, "owner_name": "sid1662", "owner_url": "http://www.panoramio.com/user/146092"} - , - {"photo_id": 3904189, "photo_title": "Hajnal", "photo_url": "http://www.panoramio.com/photo/3904189", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3904189.jpg", "longitude": 17.361488, "latitude": 47.875138, "width": 500, "height": 333, "upload_date": "13 August 2007", "owner_id": 689769, "owner_name": "Ponty István", "owner_url": "http://www.panoramio.com/user/689769"} - , - {"photo_id": 11059137, "photo_title": "Sunset at Kythira Greece by Nikos Demiris", "photo_url": "http://www.panoramio.com/photo/11059137", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11059137.jpg", "longitude": 23.003998, "latitude": 36.142034, "width": 500, "height": 346, "upload_date": "09 June 2008", "owner_id": 1629713, "owner_name": "demirisn", "owner_url": "http://www.panoramio.com/user/1629713"} - , - {"photo_id": 2334150, "photo_title": "", "photo_url": "http://www.panoramio.com/photo/2334150", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2334150.jpg", "longitude": 0.491531, "latitude": 40.903993, "width": 500, "height": 373, "upload_date": "21 May 2007", "owner_id": 3022, "owner_name": "Arcadi", "owner_url": "http://www.panoramio.com/user/3022"} - , - {"photo_id": 5709301, "photo_title": "Ködvarázs II", "photo_url": "http://www.panoramio.com/photo/5709301", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5709301.jpg", "longitude": 17.998352, "latitude": 47.252903, "width": 333, "height": 500, "upload_date": "05 November 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 55029, "photo_title": "Solar Eclipce, Mt.Elbrus, Refuge of 11", "photo_url": "http://www.panoramio.com/photo/55029", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/55029.jpg", "longitude": 42.451859, "latitude": 43.316186, "width": 448, "height": 500, "upload_date": "30 September 2006", "owner_id": 7707, "owner_name": "Yorix", "owner_url": "http://www.panoramio.com/user/7707"} - , - {"photo_id": 702974, "photo_title": "Hundertwasserhaus", "photo_url": "http://www.panoramio.com/photo/702974", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/702974.jpg", "longitude": 16.393780, "latitude": 48.207594, "width": 375, "height": 500, "upload_date": "05 February 2007", "owner_id": 123698, "owner_name": "© Kojak", "owner_url": "http://www.panoramio.com/user/123698"} - , - {"photo_id": 8811826, "photo_title": "Der Baum im Wasser", "photo_url": "http://www.panoramio.com/photo/8811826", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8811826.jpg", "longitude": 9.293532, "latitude": 52.869078, "width": 375, "height": 500, "upload_date": "24 March 2008", "owner_id": 1431077, "owner_name": "Heiner F.", "owner_url": "http://www.panoramio.com/user/1431077"} - , - {"photo_id": 67843, "photo_title": "Torre Eiffel", "photo_url": "http://www.panoramio.com/photo/67843", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/67843.jpg", "longitude": 2.294587, "latitude": 48.858468, "width": 500, "height": 375, "upload_date": "21 October 2006", "owner_id": 9163, "owner_name": "marathoniano", "owner_url": "http://www.panoramio.com/user/9163"} - , - {"photo_id": 1183509, "photo_title": "Viharpart", "photo_url": "http://www.panoramio.com/photo/1183509", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1183509.jpg", "longitude": 15.917473, "latitude": 43.590587, "width": 500, "height": 334, "upload_date": "05 March 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 449049, "photo_title": "Encantos de Santos", "photo_url": "http://www.panoramio.com/photo/449049", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/449049.jpg", "longitude": -46.307716, "latitude": -23.988605, "width": 500, "height": 342, "upload_date": "16 January 2007", "owner_id": 81574, "owner_name": "Criss RB", "owner_url": "http://www.panoramio.com/user/81574"} - , - {"photo_id": 4669228, "photo_title": "Reif an der naab", "photo_url": "http://www.panoramio.com/photo/4669228", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4669228.jpg", "longitude": 12.113457, "latitude": 49.339105, "width": 500, "height": 333, "upload_date": "15 September 2007", "owner_id": 696605, "owner_name": "© alfredschaffer", "owner_url": "http://www.panoramio.com/user/696605"} - , - {"photo_id": 516653, "photo_title": "Alkonyvarázs", "photo_url": "http://www.panoramio.com/photo/516653", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/516653.jpg", "longitude": 17.451611, "latitude": 47.782424, "width": 404, "height": 500, "upload_date": "21 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 4214320, "photo_title": "暮色", "photo_url": "http://www.panoramio.com/photo/4214320", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4214320.jpg", "longitude": 110.364532, "latitude": 25.201524, "width": 500, "height": 313, "upload_date": "26 August 2007", "owner_id": 161470, "owner_name": "John Su", "owner_url": "http://www.panoramio.com/user/161470"} - , - {"photo_id": 9419312, "photo_title": "Skeleton", "photo_url": "http://www.panoramio.com/photo/9419312", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9419312.jpg", "longitude": -147.929063, "latitude": -15.091723, "width": 500, "height": 326, "upload_date": "16 April 2008", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 642609, "photo_title": "Oia, Santorini, Cyclades, Hellas, Greece", "photo_url": "http://www.panoramio.com/photo/642609", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/642609.jpg", "longitude": 25.377388, "latitude": 36.460778, "width": 500, "height": 333, "upload_date": "01 February 2007", "owner_id": 131038, "owner_name": "wolffystyle", "owner_url": "http://www.panoramio.com/user/131038"} - , - {"photo_id": 354614, "photo_title": "Dresden_Centrum_01", "photo_url": "http://www.panoramio.com/photo/354614", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/354614.jpg", "longitude": 13.740206, "latitude": 51.056934, "width": 500, "height": 332, "upload_date": "09 January 2007", "owner_id": 71628, "owner_name": "Ulrich Hässler, Dresden", "owner_url": "http://www.panoramio.com/user/71628"} - , - {"photo_id": 678200, "photo_title": "Geometria de terrazas", "photo_url": "http://www.panoramio.com/photo/678200", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/678200.jpg", "longitude": -16.841269, "latitude": 28.235525, "width": 500, "height": 333, "upload_date": "03 February 2007", "owner_id": 92750, "owner_name": "Pablo López Ramos", "owner_url": "http://www.panoramio.com/user/92750"} - , - {"photo_id": 436284, "photo_title": "bandaibasi2", "photo_url": "http://www.panoramio.com/photo/436284", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/436284.jpg", "longitude": 139.051423, "latitude": 37.920063, "width": 500, "height": 393, "upload_date": "15 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 2235454, "photo_title": "La bonde et la brume", "photo_url": "http://www.panoramio.com/photo/2235454", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2235454.jpg", "longitude": 1.595249, "latitude": 47.313181, "width": 500, "height": 500, "upload_date": "15 May 2007", "owner_id": 372189, "owner_name": "Phil©", "owner_url": "http://www.panoramio.com/user/372189"} - , - {"photo_id": 5983, "photo_title": "Waiting", "photo_url": "http://www.panoramio.com/photo/5983", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5983.jpg", "longitude": 7.796173, "latitude": 33.954752, "width": 344, "height": 500, "upload_date": "17 December 2005", "owner_id": 989, "owner_name": "Mrgud", "owner_url": "http://www.panoramio.com/user/989"} - , - {"photo_id": 97402, "photo_title": "Mostar", "photo_url": "http://www.panoramio.com/photo/97402", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/97402.jpg", "longitude": 17.814803, "latitude": 43.337102, "width": 500, "height": 375, "upload_date": "09 December 2006", "owner_id": 12954, "owner_name": "Ziębol", "owner_url": "http://www.panoramio.com/user/12954"} - , - {"photo_id": 5159548, "photo_title": "Autumn - Herbstfarben - Fall", "photo_url": "http://www.panoramio.com/photo/5159548", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5159548.jpg", "longitude": 7.541599, "latitude": 46.834772, "width": 500, "height": 374, "upload_date": "08 October 2007", "owner_id": 635422, "owner_name": "♫ Swissmay", "owner_url": "http://www.panoramio.com/user/635422"} - , - {"photo_id": 1779072, "photo_title": "Égi érintés", "photo_url": "http://www.panoramio.com/photo/1779072", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1779072.jpg", "longitude": 17.747383, "latitude": 47.556835, "width": 462, "height": 500, "upload_date": "14 April 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 5795973, "photo_title": "Emmental mit 7 Hengsten Hohgant und Berneralpen - Emmental, 7 Stallions and Bernese Alpine Snow Mountains", "photo_url": "http://www.panoramio.com/photo/5795973", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5795973.jpg", "longitude": 7.730427, "latitude": 47.033280, "width": 500, "height": 374, "upload_date": "08 November 2007", "owner_id": 635422, "owner_name": "♫ Swissmay", "owner_url": "http://www.panoramio.com/user/635422"} - , - {"photo_id": 6850694, "photo_title": "2007-VITORIA Alava PIXELECTA", "photo_url": "http://www.panoramio.com/photo/6850694", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6850694.jpg", "longitude": -2.649336, "latitude": 42.861260, "width": 500, "height": 116, "upload_date": "02 January 2008", "owner_id": 163655, "owner_name": "[[[ PIXELECTA ]]]", "owner_url": "http://www.panoramio.com/user/163655"} - , - {"photo_id": 11738506, "photo_title": "Galeria de Itálica", "photo_url": "http://www.panoramio.com/photo/11738506", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11738506.jpg", "longitude": -6.046858, "latitude": 37.444199, "width": 378, "height": 500, "upload_date": "03 July 2008", "owner_id": 1038666, "owner_name": "Doenjo", "owner_url": "http://www.panoramio.com/user/1038666"} - , - {"photo_id": 4013965, "photo_title": "Pedaleando en la costanera", "photo_url": "http://www.panoramio.com/photo/4013965", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4013965.jpg", "longitude": -73.231012, "latitude": -39.817655, "width": 500, "height": 366, "upload_date": "18 August 2007", "owner_id": 327310, "owner_name": "Erwin Woenckhaus", "owner_url": "http://www.panoramio.com/user/327310"} - , - {"photo_id": 611985, "photo_title": "Toda Temple", "photo_url": "http://www.panoramio.com/photo/611985", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/611985.jpg", "longitude": 76.715459, "latitude": 11.420014, "width": 500, "height": 375, "upload_date": "29 January 2007", "owner_id": 130990, "owner_name": "Eye for India. blogspot .com", "owner_url": "http://www.panoramio.com/user/130990"} - , - {"photo_id": 2689441, "photo_title": "Terepszemle", "photo_url": "http://www.panoramio.com/photo/2689441", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2689441.jpg", "longitude": 17.674255, "latitude": 47.601533, "width": 500, "height": 347, "upload_date": "11 June 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 6599853, "photo_title": "FlowerSun", "photo_url": "http://www.panoramio.com/photo/6599853", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6599853.jpg", "longitude": 21.042938, "latitude": 41.988333, "width": 480, "height": 500, "upload_date": "21 December 2007", "owner_id": 695042, "owner_name": "Neim Sejfuli ♦", "owner_url": "http://www.panoramio.com/user/695042"} - , - {"photo_id": 71855, "photo_title": "British Museum", "photo_url": "http://www.panoramio.com/photo/71855", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/71855.jpg", "longitude": -0.127373, "latitude": 51.519265, "width": 500, "height": 333, "upload_date": "28 October 2006", "owner_id": 1295, "owner_name": "Matthew Walters", "owner_url": "http://www.panoramio.com/user/1295"} - , - {"photo_id": 58291, "photo_title": "Gollinger Wasserfall", "photo_url": "http://www.panoramio.com/photo/58291", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/58291.jpg", "longitude": 13.138103, "latitude": 47.601244, "width": 330, "height": 500, "upload_date": "07 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 3903941, "photo_title": "Viharos Pipacsos", "photo_url": "http://www.panoramio.com/photo/3903941", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3903941.jpg", "longitude": 16.638451, "latitude": 47.732396, "width": 500, "height": 331, "upload_date": "13 August 2007", "owner_id": 689769, "owner_name": "Ponty István", "owner_url": "http://www.panoramio.com/user/689769"} - , - {"photo_id": 5363928, "photo_title": "Antelope Slot Canyon", "photo_url": "http://www.panoramio.com/photo/5363928", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5363928.jpg", "longitude": -111.370811, "latitude": 36.856755, "width": 500, "height": 326, "upload_date": "17 October 2007", "owner_id": 358485, "owner_name": "Francesco Villa", "owner_url": "http://www.panoramio.com/user/358485"} - , - {"photo_id": 2688750, "photo_title": "Playa de Strenc,Mallorca", "photo_url": "http://www.panoramio.com/photo/2688750", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2688750.jpg", "longitude": 2.980042, "latitude": 39.348702, "width": 500, "height": 427, "upload_date": "11 June 2007", "owner_id": 83865, "owner_name": "Epi F.Villanueva", "owner_url": "http://www.panoramio.com/user/83865"} - , - {"photo_id": 3148025, "photo_title": "Zuidlede", "photo_url": "http://www.panoramio.com/photo/3148025", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3148025.jpg", "longitude": 3.906112, "latitude": 51.147667, "width": 496, "height": 500, "upload_date": "06 July 2007", "owner_id": 635244, "owner_name": "A.Lebacq", "owner_url": "http://www.panoramio.com/user/635244"} - , - {"photo_id": 809727, "photo_title": "Túl az óperencián", "photo_url": "http://www.panoramio.com/photo/809727", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/809727.jpg", "longitude": 17.062283, "latitude": 43.277580, "width": 500, "height": 334, "upload_date": "13 February 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 11560716, "photo_title": "China's Great Wall, 09 may 2008", "photo_url": "http://www.panoramio.com/photo/11560716", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11560716.jpg", "longitude": 116.064860, "latitude": 40.287162, "width": 500, "height": 331, "upload_date": "27 June 2008", "owner_id": 1931067, "owner_name": "EugeneTrambo", "owner_url": "http://www.panoramio.com/user/1931067"} - , - {"photo_id": 10484028, "photo_title": "Tuscanny in lower bavaria? Toskana in Niederbayern? near Pfeffenhausen", "photo_url": "http://www.panoramio.com/photo/10484028", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10484028.jpg", "longitude": 11.982479, "latitude": 48.628768, "width": 500, "height": 411, "upload_date": "22 May 2008", "owner_id": 1077251, "owner_name": "picsonthemove", "owner_url": "http://www.panoramio.com/user/1077251"} - , - {"photo_id": 10321724, "photo_title": "Kingston Lacy beech avenue from the middle of the road (don't try this at home...)", "photo_url": "http://www.panoramio.com/photo/10321724", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10321724.jpg", "longitude": -2.051697, "latitude": 50.820469, "width": 500, "height": 473, "upload_date": "17 May 2008", "owner_id": 450216, "owner_name": "Graham Hobbs", "owner_url": "http://www.panoramio.com/user/450216"} - , - {"photo_id": 11847917, "photo_title": "Neda.... The end of an unusual trip! First Prize \"Travel\" Panoramio JULY 2008, a shot by kostas andreopoulos", "photo_url": "http://www.panoramio.com/photo/11847917", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11847917.jpg", "longitude": 21.776275, "latitude": 37.394711, "width": 500, "height": 484, "upload_date": "06 July 2008", "owner_id": 1690483, "owner_name": "k.andre", "owner_url": "http://www.panoramio.com/user/1690483"} - , - {"photo_id": 723285, "photo_title": "Stonehenge Fisheye View June 2000", "photo_url": "http://www.panoramio.com/photo/723285", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/723285.jpg", "longitude": -1.826195, "latitude": 51.178849, "width": 500, "height": 500, "upload_date": "07 February 2007", "owner_id": 154364, "owner_name": "Edgy01", "owner_url": "http://www.panoramio.com/user/154364"} - , - {"photo_id": 9831198, "photo_title": "Verőfényes hangulat", "photo_url": "http://www.panoramio.com/photo/9831198", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9831198.jpg", "longitude": 18.331053, "latitude": 47.650689, "width": 333, "height": 500, "upload_date": "01 May 2008", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 4670496, "photo_title": "Vuelo rasante entre la niebla", "photo_url": "http://www.panoramio.com/photo/4670496", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4670496.jpg", "longitude": -73.243092, "latitude": -39.809134, "width": 500, "height": 371, "upload_date": "15 September 2007", "owner_id": 327310, "owner_name": "Erwin Woenckhaus", "owner_url": "http://www.panoramio.com/user/327310"} - , - {"photo_id": 2414624, "photo_title": "Triumvirátus", "photo_url": "http://www.panoramio.com/photo/2414624", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2414624.jpg", "longitude": 17.768154, "latitude": 47.510940, "width": 500, "height": 309, "upload_date": "27 May 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 196129, "photo_title": "usgo", "photo_url": "http://www.panoramio.com/photo/196129", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/196129.jpg", "longitude": -3.999882, "latitude": 43.439397, "width": 500, "height": 316, "upload_date": "20 December 2006", "owner_id": 38804, "owner_name": "www.oscarsanchez.net", "owner_url": "http://www.panoramio.com/user/38804"} - , - {"photo_id": 304677, "photo_title": "Allee bei Wilhelmsthal", "photo_url": "http://www.panoramio.com/photo/304677", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/304677.jpg", "longitude": 9.409919, "latitude": 51.392686, "width": 500, "height": 409, "upload_date": "05 January 2007", "owner_id": 63703, "owner_name": "Rainer Kaufhold", "owner_url": "http://www.panoramio.com/user/63703"} - , - {"photo_id": 4924213, "photo_title": "Egy varázslatos estén", "photo_url": "http://www.panoramio.com/photo/4924213", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4924213.jpg", "longitude": 2.151239, "latitude": 41.371278, "width": 500, "height": 335, "upload_date": "26 September 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 189243, "photo_title": "coming in for a landing", "photo_url": "http://www.panoramio.com/photo/189243", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/189243.jpg", "longitude": -123.147984, "latitude": 49.198812, "width": 500, "height": 333, "upload_date": "19 December 2006", "owner_id": 29932, "owner_name": "Rom@nce", "owner_url": "http://www.panoramio.com/user/29932"} - , - {"photo_id": 3121730, "photo_title": "Mers-les-Bains dark clouds looming", "photo_url": "http://www.panoramio.com/photo/3121730", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3121730.jpg", "longitude": 1.383655, "latitude": 50.066878, "width": 500, "height": 375, "upload_date": "04 July 2007", "owner_id": 633531, "owner_name": "ianwstokes", "owner_url": "http://www.panoramio.com/user/633531"} - , - {"photo_id": 5358146, "photo_title": "Lone Rock Rainbows", "photo_url": "http://www.panoramio.com/photo/5358146", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5358146.jpg", "longitude": -111.537795, "latitude": 37.020475, "width": 500, "height": 335, "upload_date": "16 October 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 9633346, "photo_title": "Altstadt von Spello--Winner Contest of April 2008 First Prize of Travel Category", "photo_url": "http://www.panoramio.com/photo/9633346", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9633346.jpg", "longitude": 12.672386, "latitude": 42.989236, "width": 347, "height": 500, "upload_date": "23 April 2008", "owner_id": 1400529, "owner_name": "marita1004", "owner_url": "http://www.panoramio.com/user/1400529"} - , - {"photo_id": 611425, "photo_title": "The Dome of Cologne", "photo_url": "http://www.panoramio.com/photo/611425", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/611425.jpg", "longitude": 6.968604, "latitude": 50.941157, "width": 500, "height": 357, "upload_date": "29 January 2007", "owner_id": 8058, "owner_name": "Ermanec", "owner_url": "http://www.panoramio.com/user/8058"} - , - {"photo_id": 6850661, "photo_title": "Në Fush të Pallaticës", "photo_url": "http://www.panoramio.com/photo/6850661", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6850661.jpg", "longitude": 21.075768, "latitude": 42.007915, "width": 488, "height": 500, "upload_date": "02 January 2008", "owner_id": 695042, "owner_name": "Neim Sejfuli ♦", "owner_url": "http://www.panoramio.com/user/695042"} - , - {"photo_id": 5617509, "photo_title": "Cölöp kiadó", "photo_url": "http://www.panoramio.com/photo/5617509", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5617509.jpg", "longitude": 12.333934, "latitude": 45.425368, "width": 500, "height": 334, "upload_date": "29 October 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 2083687, "photo_title": "Sunrise at Abu Simbel", "photo_url": "http://www.panoramio.com/photo/2083687", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2083687.jpg", "longitude": 31.630840, "latitude": 22.363729, "width": 500, "height": 335, "upload_date": "05 May 2007", "owner_id": 3316, "owner_name": "kristine hannon (www.traveltheglobe.be)", "owner_url": "http://www.panoramio.com/user/3316"} - , - {"photo_id": 7284083, "photo_title": "Japanese garden", "photo_url": "http://www.panoramio.com/photo/7284083", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7284083.jpg", "longitude": -13.673172, "latitude": 21.259301, "width": 335, "height": 500, "upload_date": "22 January 2008", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 5750152, "photo_title": "Earth, Moon and Sky", "photo_url": "http://www.panoramio.com/photo/5750152", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5750152.jpg", "longitude": -117.560234, "latitude": 36.678057, "width": 333, "height": 500, "upload_date": "06 November 2007", "owner_id": 376395, "owner_name": "JeffSullivan (www.MyPhotoGuides.com)", "owner_url": "http://www.panoramio.com/user/376395"} - , - {"photo_id": 5633673, "photo_title": "Ridgely Farm Lane", "photo_url": "http://www.panoramio.com/photo/5633673", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5633673.jpg", "longitude": -78.775320, "latitude": 38.031867, "width": 500, "height": 378, "upload_date": "30 October 2007", "owner_id": 523038, "owner_name": "Yank in Dixie", "owner_url": "http://www.panoramio.com/user/523038"} - , - {"photo_id": 723090, "photo_title": "Grand Canyon (Havasupai)", "photo_url": "http://www.panoramio.com/photo/723090", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/723090.jpg", "longitude": -112.716293, "latitude": 36.270989, "width": 500, "height": 332, "upload_date": "07 February 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 1226915, "photo_title": "Flamants roses sur l'Etang de Vaccarès", "photo_url": "http://www.panoramio.com/photo/1226915", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1226915.jpg", "longitude": 4.627304, "latitude": 43.551285, "width": 500, "height": 333, "upload_date": "08 March 2007", "owner_id": 78506, "owner_name": "Philippe Stoop", "owner_url": "http://www.panoramio.com/user/78506"} - , - {"photo_id": 2738883, "photo_title": "Tormenta", "photo_url": "http://www.panoramio.com/photo/2738883", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2738883.jpg", "longitude": -71.616096, "latitude": -33.042558, "width": 333, "height": 500, "upload_date": "14 June 2007", "owner_id": 477365, "owner_name": "✔chilefoto", "owner_url": "http://www.panoramio.com/user/477365"} - , - {"photo_id": 2875846, "photo_title": "Rannoch Moor, Scotland", "photo_url": "http://www.panoramio.com/photo/2875846", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2875846.jpg", "longitude": -4.745750, "latitude": 56.594467, "width": 500, "height": 462, "upload_date": "22 June 2007", "owner_id": 588149, "owner_name": "Adam Salwanowicz", "owner_url": "http://www.panoramio.com/user/588149"} - , - {"photo_id": 533456, "photo_title": "Zöld symphonia", "photo_url": "http://www.panoramio.com/photo/533456", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/533456.jpg", "longitude": 17.500362, "latitude": 47.843579, "width": 500, "height": 333, "upload_date": "22 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 3078609, "photo_title": "Pagan - Sunset Vista", "photo_url": "http://www.panoramio.com/photo/3078609", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3078609.jpg", "longitude": 94.884624, "latitude": 21.166644, "width": 500, "height": 329, "upload_date": "02 July 2007", "owner_id": 73104, "owner_name": "zerega", "owner_url": "http://www.panoramio.com/user/73104"} - , - {"photo_id": 1599459, "photo_title": "Rosina Lamberti - Templestowe Sunset", "photo_url": "http://www.panoramio.com/photo/1599459", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1599459.jpg", "longitude": 145.145187, "latitude": -37.773700, "width": 500, "height": 332, "upload_date": "02 April 2007", "owner_id": 140796, "owner_name": "rosina lamberti", "owner_url": "http://www.panoramio.com/user/140796"} - , - {"photo_id": 37097, "photo_title": "Burj Al Arab at Night", "photo_url": "http://www.panoramio.com/photo/37097", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/37097.jpg", "longitude": 55.190012, "latitude": 25.144411, "width": 333, "height": 500, "upload_date": "05 August 2006", "owner_id": 1295, "owner_name": "Matthew Walters", "owner_url": "http://www.panoramio.com/user/1295"} - , - {"photo_id": 42988, "photo_title": "Mekhong at Nakhon Phanom, Thailand", "photo_url": "http://www.panoramio.com/photo/42988", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/42988.jpg", "longitude": 104.780045, "latitude": 17.415348, "width": 500, "height": 375, "upload_date": "29 August 2006", "owner_id": 6386, "owner_name": "Uwe Werner", "owner_url": "http://www.panoramio.com/user/6386"} - , - {"photo_id": 4738551, "photo_title": "Aquakatedral", "photo_url": "http://www.panoramio.com/photo/4738551", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4738551.jpg", "longitude": 18.026505, "latitude": 47.279462, "width": 500, "height": 334, "upload_date": "18 September 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 6126327, "photo_title": "Autumnal Morning", "photo_url": "http://www.panoramio.com/photo/6126327", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6126327.jpg", "longitude": 0.209620, "latitude": 51.658827, "width": 500, "height": 500, "upload_date": "25 November 2007", "owner_id": 1130880, "owner_name": "marksimms", "owner_url": "http://www.panoramio.com/user/1130880"} - , - {"photo_id": 1390072, "photo_title": "Winter Wonder Woods", "photo_url": "http://www.panoramio.com/photo/1390072", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1390072.jpg", "longitude": -123.184891, "latitude": 49.400027, "width": 500, "height": 343, "upload_date": "19 March 2007", "owner_id": 164125, "owner_name": "DannyXu", "owner_url": "http://www.panoramio.com/user/164125"} - , - {"photo_id": 8600061, "photo_title": "Templio", "photo_url": "http://www.panoramio.com/photo/8600061", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8600061.jpg", "longitude": 13.600258, "latitude": 37.288703, "width": 500, "height": 375, "upload_date": "17 March 2008", "owner_id": 325031, "owner_name": "Gibrail", "owner_url": "http://www.panoramio.com/user/325031"} - , - {"photo_id": 1232144, "photo_title": "the Wave", "photo_url": "http://www.panoramio.com/photo/1232144", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1232144.jpg", "longitude": -112.006313, "latitude": 36.995921, "width": 497, "height": 500, "upload_date": "08 March 2007", "owner_id": 256348, "owner_name": "DIEZ Jean-Paul", "owner_url": "http://www.panoramio.com/user/256348"} - , - {"photo_id": 12825028, "photo_title": "American Star shipwreck", "photo_url": "http://www.panoramio.com/photo/12825028", "photo_file_url": "http://static1.bareka.com/photos/medium/12825028.jpg", "longitude": -14.178050, "latitude": 28.345596, "width": 500, "height": 375, "upload_date": "05 August 2008", "owner_id": 1465912, "owner_name": "funtor", "owner_url": "http://www.panoramio.com/user/1465912"} - , - {"photo_id": 9705164, "photo_title": "Die blaue Stunde-Dresden", "photo_url": "http://www.panoramio.com/photo/9705164", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9705164.jpg", "longitude": 13.732374, "latitude": 51.061020, "width": 500, "height": 333, "upload_date": "26 April 2008", "owner_id": 1465912, "owner_name": "funtor", "owner_url": "http://www.panoramio.com/user/1465912"} - , - {"photo_id": 9701147, "photo_title": "After the thunderstorm II (Calella de Palafrugell)", "photo_url": "http://www.panoramio.com/photo/9701147", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9701147.jpg", "longitude": 3.185166, "latitude": 41.888413, "width": 500, "height": 347, "upload_date": "26 April 2008", "owner_id": 629243, "owner_name": "Olivier Faugeras", "owner_url": "http://www.panoramio.com/user/629243"} - , - {"photo_id": 3414277, "photo_title": "Morning at Vlixos_Lefkada", "photo_url": "http://www.panoramio.com/photo/3414277", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3414277.jpg", "longitude": 20.698693, "latitude": 38.689111, "width": 500, "height": 333, "upload_date": "20 July 2007", "owner_id": 242446, "owner_name": "Ntinos Lagos", "owner_url": "http://www.panoramio.com/user/242446"} - , - {"photo_id": 1205806, "photo_title": "A tavasz aranya", "photo_url": "http://www.panoramio.com/photo/1205806", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1205806.jpg", "longitude": 17.634773, "latitude": 47.557299, "width": 500, "height": 302, "upload_date": "07 March 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 6430261, "photo_title": "The wet side of winter", "photo_url": "http://www.panoramio.com/photo/6430261", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6430261.jpg", "longitude": 9.531434, "latitude": 48.559611, "width": 500, "height": 375, "upload_date": "11 December 2007", "owner_id": 424589, "owner_name": "PeSchn", "owner_url": "http://www.panoramio.com/user/424589"} - , - {"photo_id": 8116025, "photo_title": "Sale el Sol, Cae la Luna", "photo_url": "http://www.panoramio.com/photo/8116025", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8116025.jpg", "longitude": -71.875992, "latitude": -41.170126, "width": 500, "height": 333, "upload_date": "26 February 2008", "owner_id": 4483, "owner_name": "Miguel Coranti", "owner_url": "http://www.panoramio.com/user/4483"} - , - {"photo_id": 1235514, "photo_title": "Pulau Menjangan", "photo_url": "http://www.panoramio.com/photo/1235514", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1235514.jpg", "longitude": 114.502687, "latitude": -8.095941, "width": 500, "height": 341, "upload_date": "09 March 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 32827, "photo_title": "Xi'an Bell Tower", "photo_url": "http://www.panoramio.com/photo/32827", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/32827.jpg", "longitude": 108.943026, "latitude": 34.260759, "width": 500, "height": 375, "upload_date": "17 July 2006", "owner_id": 5168, "owner_name": "Markus Källander", "owner_url": "http://www.panoramio.com/user/5168"} - , - {"photo_id": 798014, "photo_title": "Porto Canale", "photo_url": "http://www.panoramio.com/photo/798014", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/798014.jpg", "longitude": 12.399648, "latitude": 44.203343, "width": 500, "height": 332, "upload_date": "12 February 2007", "owner_id": 159455, "owner_name": "©Franco Truscello", "owner_url": "http://www.panoramio.com/user/159455"} - , - {"photo_id": 10517317, "photo_title": "Route 66", "photo_url": "http://www.panoramio.com/photo/10517317", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10517317.jpg", "longitude": 18.027492, "latitude": 46.268071, "width": 500, "height": 375, "upload_date": "23 May 2008", "owner_id": 328249, "owner_name": "v.zsoloo", "owner_url": "http://www.panoramio.com/user/328249"} - , - {"photo_id": 416838, "photo_title": "Old Faithful on New Year's Morning", "photo_url": "http://www.panoramio.com/photo/416838", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/416838.jpg", "longitude": -110.827900, "latitude": 44.459354, "width": 500, "height": 375, "upload_date": "13 January 2007", "owner_id": 71099, "owner_name": "Eve in Montana", "owner_url": "http://www.panoramio.com/user/71099"} - , - {"photo_id": 5964, "photo_title": "Skradin bridge", "photo_url": "http://www.panoramio.com/photo/5964", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5964.jpg", "longitude": 15.908031, "latitude": 43.806040, "width": 500, "height": 333, "upload_date": "17 December 2005", "owner_id": 989, "owner_name": "Mrgud", "owner_url": "http://www.panoramio.com/user/989"} - , - {"photo_id": 419923, "photo_title": "bandaibashi2", "photo_url": "http://www.panoramio.com/photo/419923", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/419923.jpg", "longitude": 139.055500, "latitude": 37.920029, "width": 334, "height": 500, "upload_date": "14 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 26985, "photo_title": "Cementerio General", "photo_url": "http://www.panoramio.com/photo/26985", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/26985.jpg", "longitude": -84.091458, "latitude": 9.930174, "width": 393, "height": 500, "upload_date": "23 June 2006", "owner_id": 4112, "owner_name": "Roberto Garcia", "owner_url": "http://www.panoramio.com/user/4112"} - , - {"photo_id": 405866, "photo_title": "awasima", "photo_url": "http://www.panoramio.com/photo/405866", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/405866.jpg", "longitude": 139.229908, "latitude": 38.463267, "width": 396, "height": 500, "upload_date": "13 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 1319538, "photo_title": "What a place !", "photo_url": "http://www.panoramio.com/photo/1319538", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1319538.jpg", "longitude": -62.542677, "latitude": 6.022092, "width": 329, "height": 500, "upload_date": "14 March 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 444280, "photo_title": "Cigars are for ladies", "photo_url": "http://www.panoramio.com/photo/444280", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/444280.jpg", "longitude": -82.351027, "latitude": 23.139117, "width": 500, "height": 375, "upload_date": "15 January 2007", "owner_id": 57893, "owner_name": "ThoiryK", "owner_url": "http://www.panoramio.com/user/57893"} - , - {"photo_id": 6016, "photo_title": "Šibenik - tiramol", "photo_url": "http://www.panoramio.com/photo/6016", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6016.jpg", "longitude": 15.890865, "latitude": 43.735693, "width": 473, "height": 500, "upload_date": "18 December 2005", "owner_id": 991, "owner_name": "Mario Marotti", "owner_url": "http://www.panoramio.com/user/991"} - , - {"photo_id": 3531661, "photo_title": "Zúzmara", "photo_url": "http://www.panoramio.com/photo/3531661", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3531661.jpg", "longitude": 17.498131, "latitude": 47.847727, "width": 500, "height": 346, "upload_date": "25 July 2007", "owner_id": 689769, "owner_name": "Ponty István", "owner_url": "http://www.panoramio.com/user/689769"} - , - {"photo_id": 723088, "photo_title": "Friendly Evening Haze", "photo_url": "http://www.panoramio.com/photo/723088", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/723088.jpg", "longitude": 25.428715, "latitude": 36.421282, "width": 333, "height": 500, "upload_date": "07 February 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 422813, "photo_title": "tanokami", "photo_url": "http://www.panoramio.com/photo/422813", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/422813.jpg", "longitude": 138.777237, "latitude": 37.581453, "width": 500, "height": 379, "upload_date": "14 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 516256, "photo_title": "A hitehagyott", "photo_url": "http://www.panoramio.com/photo/516256", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/516256.jpg", "longitude": 17.533493, "latitude": 47.842139, "width": 500, "height": 291, "upload_date": "21 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 706978, "photo_title": "Snow at full moon", "photo_url": "http://www.panoramio.com/photo/706978", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/706978.jpg", "longitude": 23.878784, "latitude": 69.829207, "width": 500, "height": 334, "upload_date": "05 February 2007", "owner_id": 56091, "owner_name": "Kjetil Vaage Øie", "owner_url": "http://www.panoramio.com/user/56091"} - , - {"photo_id": 4994983, "photo_title": "Camogli - Castello della \"Dragonara\" (north-west looking photograph)", "photo_url": "http://www.panoramio.com/photo/4994983", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4994983.jpg", "longitude": 9.151220, "latitude": 44.350207, "width": 325, "height": 500, "upload_date": "30 September 2007", "owner_id": 180947, "owner_name": "gilberto silvestri", "owner_url": "http://www.panoramio.com/user/180947"} - , - {"photo_id": 1315255, "photo_title": "Tulpen in Holland", "photo_url": "http://www.panoramio.com/photo/1315255", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1315255.jpg", "longitude": 4.556494, "latitude": 52.278451, "width": 500, "height": 321, "upload_date": "14 March 2007", "owner_id": 193467, "owner_name": "Jörg Behmann", "owner_url": "http://www.panoramio.com/user/193467"} - , - {"photo_id": 5204412, "photo_title": "Alaska Range", "photo_url": "http://www.panoramio.com/photo/5204412", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5204412.jpg", "longitude": -150.150146, "latitude": 62.734601, "width": 500, "height": 375, "upload_date": "09 October 2007", "owner_id": 71099, "owner_name": "Eve in Montana", "owner_url": "http://www.panoramio.com/user/71099"} - , - {"photo_id": 5204668, "photo_title": "Scotland", "photo_url": "http://www.panoramio.com/photo/5204668", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5204668.jpg", "longitude": -4.821882, "latitude": 56.634188, "width": 500, "height": 500, "upload_date": "09 October 2007", "owner_id": 588149, "owner_name": "Adam Salwanowicz", "owner_url": "http://www.panoramio.com/user/588149"} - , - {"photo_id": 1706188, "photo_title": "Night", "photo_url": "http://www.panoramio.com/photo/1706188", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1706188.jpg", "longitude": 21.440957, "latitude": 48.427236, "width": 390, "height": 500, "upload_date": "09 April 2007", "owner_id": 346103, "owner_name": "lacitot", "owner_url": "http://www.panoramio.com/user/346103"} - , - {"photo_id": 6366165, "photo_title": "Il Latemar", "photo_url": "http://www.panoramio.com/photo/6366165", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6366165.jpg", "longitude": 11.575856, "latitude": 46.410138, "width": 500, "height": 375, "upload_date": "08 December 2007", "owner_id": 933456, "owner_name": "© Marco De Candido", "owner_url": "http://www.panoramio.com/user/933456"} - , - {"photo_id": 5433048, "photo_title": "moon photoshop", "photo_url": "http://www.panoramio.com/photo/5433048", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5433048.jpg", "longitude": 11.337848, "latitude": 46.460602, "width": 500, "height": 335, "upload_date": "20 October 2007", "owner_id": 578163, "owner_name": "Margherita-Italy", "owner_url": "http://www.panoramio.com/user/578163"} - , - {"photo_id": 611035, "photo_title": "Ice berg", "photo_url": "http://www.panoramio.com/photo/611035", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/611035.jpg", "longitude": -58.886719, "latitude": -63.470145, "width": 333, "height": 500, "upload_date": "29 January 2007", "owner_id": 14940, "owner_name": "elmtree", "owner_url": "http://www.panoramio.com/user/14940"} - , - {"photo_id": 4258269, "photo_title": "Új nap kelte", "photo_url": "http://www.panoramio.com/photo/4258269", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4258269.jpg", "longitude": 17.474785, "latitude": 47.832057, "width": 500, "height": 327, "upload_date": "28 August 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 37088, "photo_title": "Komandoo From The Air", "photo_url": "http://www.panoramio.com/photo/37088", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/37088.jpg", "longitude": 73.422661, "latitude": 5.496900, "width": 500, "height": 278, "upload_date": "05 August 2006", "owner_id": 1295, "owner_name": "Matthew Walters", "owner_url": "http://www.panoramio.com/user/1295"} - , - {"photo_id": 71667, "photo_title": "2006년06월11일(일) 장전계곡 및 단임골 046_resize", "photo_url": "http://www.panoramio.com/photo/71667", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/71667.jpg", "longitude": 128.533516, "latitude": 37.435340, "width": 500, "height": 333, "upload_date": "28 October 2006", "owner_id": 9424, "owner_name": "박범호", "owner_url": "http://www.panoramio.com/user/9424"} - , - {"photo_id": 5300468, "photo_title": "Lac du Vieux Emosson", "photo_url": "http://www.panoramio.com/photo/5300468", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5300468.jpg", "longitude": 6.883256, "latitude": 46.055744, "width": 500, "height": 500, "upload_date": "14 October 2007", "owner_id": 588149, "owner_name": "Adam Salwanowicz", "owner_url": "http://www.panoramio.com/user/588149"} - , - {"photo_id": 591351, "photo_title": "smokestack_8739", "photo_url": "http://www.panoramio.com/photo/591351", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/591351.jpg", "longitude": -79.386027, "latitude": 43.648168, "width": 500, "height": 392, "upload_date": "27 January 2007", "owner_id": 17488, "owner_name": "John Gillett", "owner_url": "http://www.panoramio.com/user/17488"} - , - {"photo_id": 11224316, "photo_title": "Remindful winter season-Vardar river", "photo_url": "http://www.panoramio.com/photo/11224316", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11224316.jpg", "longitude": 21.084051, "latitude": 42.013782, "width": 214, "height": 500, "upload_date": "15 June 2008", "owner_id": 695042, "owner_name": "Neim Sejfuli ♦", "owner_url": "http://www.panoramio.com/user/695042"} - , - {"photo_id": 5968187, "photo_title": "2007 VITORIA Alava PIXELECTA", "photo_url": "http://www.panoramio.com/photo/5968187", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5968187.jpg", "longitude": -2.650087, "latitude": 42.860206, "width": 500, "height": 333, "upload_date": "17 November 2007", "owner_id": 163655, "owner_name": "[[[ PIXELECTA ]]]", "owner_url": "http://www.panoramio.com/user/163655"} - , - {"photo_id": 1781517, "photo_title": "Yosemite Falls in Winter", "photo_url": "http://www.panoramio.com/photo/1781517", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1781517.jpg", "longitude": -119.590130, "latitude": 37.744318, "width": 500, "height": 400, "upload_date": "15 April 2007", "owner_id": 376395, "owner_name": "JeffSullivan (www.MyPhotoGuides.com)", "owner_url": "http://www.panoramio.com/user/376395"} - , - {"photo_id": 5796376, "photo_title": "Shuto Expressway Loop Line in Nihombashi", "photo_url": "http://www.panoramio.com/photo/5796376", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5796376.jpg", "longitude": 139.776344, "latitude": 35.684536, "width": 327, "height": 500, "upload_date": "08 November 2007", "owner_id": 558055, "owner_name": "www.tokyoform.com", "owner_url": "http://www.panoramio.com/user/558055"} - , - {"photo_id": 5523741, "photo_title": "Saskatchewan Sunset October 24/07 (and there is the flat land of the prairies at the bottom of this pic ;)", "photo_url": "http://www.panoramio.com/photo/5523741", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5523741.jpg", "longitude": -105.535011, "latitude": 50.502073, "width": 375, "height": 500, "upload_date": "24 October 2007", "owner_id": 133037, "owner_name": "Lilypon", "owner_url": "http://www.panoramio.com/user/133037"} - , - {"photo_id": 196125, "photo_title": "arnía y covachos", "photo_url": "http://www.panoramio.com/photo/196125", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/196125.jpg", "longitude": -3.914223, "latitude": 43.474349, "width": 500, "height": 337, "upload_date": "20 December 2006", "owner_id": 38804, "owner_name": "www.oscarsanchez.net", "owner_url": "http://www.panoramio.com/user/38804"} - , - {"photo_id": 349726, "photo_title": "thailand ko-samui sunset", "photo_url": "http://www.panoramio.com/photo/349726", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/349726.jpg", "longitude": 99.930954, "latitude": 9.472344, "width": 500, "height": 334, "upload_date": "08 January 2007", "owner_id": 69671, "owner_name": "illusandpics.com", "owner_url": "http://www.panoramio.com/user/69671"} - , - {"photo_id": 280106, "photo_title": "dune01", "photo_url": "http://www.panoramio.com/photo/280106", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/280106.jpg", "longitude": -5.089073, "latitude": 30.229408, "width": 500, "height": 345, "upload_date": "01 January 2007", "owner_id": 58867, "owner_name": "Lachaud Franck", "owner_url": "http://www.panoramio.com/user/58867"} - , - {"photo_id": 4446015, "photo_title": "Mennyei fényjáték", "photo_url": "http://www.panoramio.com/photo/4446015", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4446015.jpg", "longitude": 17.818108, "latitude": 47.525084, "width": 500, "height": 333, "upload_date": "06 September 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 4644180, "photo_title": "Bridalveil Falls from Valley View", "photo_url": "http://www.panoramio.com/photo/4644180", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4644180.jpg", "longitude": -119.661723, "latitude": 37.717419, "width": 500, "height": 357, "upload_date": "14 September 2007", "owner_id": 376395, "owner_name": "JeffSullivan (www.MyPhotoGuides.com)", "owner_url": "http://www.panoramio.com/user/376395"} - , - {"photo_id": 457302, "photo_title": "Matterhorn Zermatt", "photo_url": "http://www.panoramio.com/photo/457302", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/457302.jpg", "longitude": 7.746391, "latitude": 46.016992, "width": 500, "height": 375, "upload_date": "16 January 2007", "owner_id": 47930, "owner_name": "werni", "owner_url": "http://www.panoramio.com/user/47930"} - , - {"photo_id": 4258138, "photo_title": "Szentkút", "photo_url": "http://www.panoramio.com/photo/4258138", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4258138.jpg", "longitude": 17.731848, "latitude": 47.243755, "width": 500, "height": 334, "upload_date": "28 August 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 26986, "photo_title": "Cementerio General", "photo_url": "http://www.panoramio.com/photo/26986", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/26986.jpg", "longitude": -84.091158, "latitude": 9.930047, "width": 500, "height": 373, "upload_date": "23 June 2006", "owner_id": 4112, "owner_name": "Roberto Garcia", "owner_url": "http://www.panoramio.com/user/4112"} - , - {"photo_id": 1269869, "photo_title": "Barents Sea at night, Finnmark, Norway", "photo_url": "http://www.panoramio.com/photo/1269869", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1269869.jpg", "longitude": 30.868149, "latitude": 70.438638, "width": 500, "height": 324, "upload_date": "11 March 2007", "owner_id": 66734, "owner_name": "Svein Solhaug", "owner_url": "http://www.panoramio.com/user/66734"} - , - {"photo_id": 515971, "photo_title": "A hosszútávfutó magányossága", "photo_url": "http://www.panoramio.com/photo/515971", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/515971.jpg", "longitude": 17.870121, "latitude": 47.373012, "width": 500, "height": 276, "upload_date": "21 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 36486, "photo_title": "Sunrise on Trondheimsfjord", "photo_url": "http://www.panoramio.com/photo/36486", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/36486.jpg", "longitude": 10.333843, "latitude": 63.456186, "width": 500, "height": 332, "upload_date": "02 August 2006", "owner_id": 5703, "owner_name": "dancer", "owner_url": "http://www.panoramio.com/user/5703"} - , - {"photo_id": 4950702, "photo_title": "Abandoned Gas Stand, Hachimantai, Iwate, Japan", "photo_url": "http://www.panoramio.com/photo/4950702", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4950702.jpg", "longitude": 141.062308, "latitude": 39.955547, "width": 500, "height": 335, "upload_date": "28 September 2007", "owner_id": 699984, "owner_name": "Fried Toast", "owner_url": "http://www.panoramio.com/user/699984"} - , - {"photo_id": 2345653, "photo_title": "planet mars", "photo_url": "http://www.panoramio.com/photo/2345653", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2345653.jpg", "longitude": 33.631908, "latitude": 27.380118, "width": 500, "height": 322, "upload_date": "22 May 2007", "owner_id": 223374, "owner_name": "voutsen", "owner_url": "http://www.panoramio.com/user/223374"} - , - {"photo_id": 4612307, "photo_title": "Sitges - Spinaker", "photo_url": "http://www.panoramio.com/photo/4612307", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4612307.jpg", "longitude": 1.859436, "latitude": 41.211722, "width": 500, "height": 371, "upload_date": "13 September 2007", "owner_id": 138691, "owner_name": "Josep Maria Alegre", "owner_url": "http://www.panoramio.com/user/138691"} - , - {"photo_id": 4644311, "photo_title": "Through the Looking Glass", "photo_url": "http://www.panoramio.com/photo/4644311", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4644311.jpg", "longitude": -119.649745, "latitude": 37.722019, "width": 333, "height": 500, "upload_date": "14 September 2007", "owner_id": 376395, "owner_name": "JeffSullivan (www.MyPhotoGuides.com)", "owner_url": "http://www.panoramio.com/user/376395"} - , - {"photo_id": 1480664, "photo_title": "Királyi szurkolótábor", "photo_url": "http://www.panoramio.com/photo/1480664", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1480664.jpg", "longitude": 17.300034, "latitude": 47.190646, "width": 500, "height": 269, "upload_date": "24 March 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 8492774, "photo_title": "Lago Fedaia in estate Panoramio and ATP first CONTEST, March 2008, category Scenery : awarded \" Honorable Mention\". Many thanks to all voters", "photo_url": "http://www.panoramio.com/photo/8492774", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8492774.jpg", "longitude": 11.867519, "latitude": 46.463128, "width": 500, "height": 375, "upload_date": "12 March 2008", "owner_id": 6033, "owner_name": "► Marco Vanzo", "owner_url": "http://www.panoramio.com/user/6033"} - , - {"photo_id": 57835, "photo_title": "Seewaldsee 2 - St.Koloman", "photo_url": "http://www.panoramio.com/photo/57835", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/57835.jpg", "longitude": 13.274918, "latitude": 47.630115, "width": 500, "height": 333, "upload_date": "05 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 57837, "photo_title": "Der Hraunfossar an einem kalten Wintertag .....(MS)", "photo_url": "http://www.panoramio.com/photo/57837", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/57837.jpg", "longitude": -20.939941, "latitude": 64.698078, "width": 500, "height": 264, "upload_date": "05 October 2006", "owner_id": 7434, "owner_name": "baldinger reisen ag, waedenswil/switzerland", "owner_url": "http://www.panoramio.com/user/7434"} - , - {"photo_id": 70641, "photo_title": "Lake Nakuru (Kenya)", "photo_url": "http://www.panoramio.com/photo/70641", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/70641.jpg", "longitude": 36.114979, "latitude": -0.324782, "width": 500, "height": 333, "upload_date": "25 October 2006", "owner_id": 8975, "owner_name": "Laura Sayalero", "owner_url": "http://www.panoramio.com/user/8975"} - , - {"photo_id": 766205, "photo_title": "posta sol porto colom", "photo_url": "http://www.panoramio.com/photo/766205", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/766205.jpg", "longitude": 3.264495, "latitude": 39.425093, "width": 500, "height": 335, "upload_date": "10 February 2007", "owner_id": 134682, "owner_name": "------ Cafate ------", "owner_url": "http://www.panoramio.com/user/134682"} - , - {"photo_id": 10662910, "photo_title": "Megvilágosodván", "photo_url": "http://www.panoramio.com/photo/10662910", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10662910.jpg", "longitude": 17.718544, "latitude": 47.460130, "width": 500, "height": 334, "upload_date": "27 May 2008", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 8703547, "photo_title": "Lonely bike-rider", "photo_url": "http://www.panoramio.com/photo/8703547", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8703547.jpg", "longitude": 6.039004, "latitude": 52.208974, "width": 500, "height": 467, "upload_date": "21 March 2008", "owner_id": 523564, "owner_name": "Luud Riphagen", "owner_url": "http://www.panoramio.com/user/523564"} - , - {"photo_id": 11669907, "photo_title": "Alba sulle pale di San Martino", "photo_url": "http://www.panoramio.com/photo/11669907", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11669907.jpg", "longitude": 11.568518, "latitude": 46.345269, "width": 500, "height": 361, "upload_date": "30 June 2008", "owner_id": 6033, "owner_name": "► Marco Vanzo", "owner_url": "http://www.panoramio.com/user/6033"} - , - {"photo_id": 11403916, "photo_title": "Lonely", "photo_url": "http://www.panoramio.com/photo/11403916", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11403916.jpg", "longitude": 18.164520, "latitude": 46.345269, "width": 500, "height": 375, "upload_date": "21 June 2008", "owner_id": 328249, "owner_name": "v.zsoloo", "owner_url": "http://www.panoramio.com/user/328249"} - , - {"photo_id": 289803, "photo_title": "Rain Clouds", "photo_url": "http://www.panoramio.com/photo/289803", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/289803.jpg", "longitude": -57.733154, "latitude": -51.661908, "width": 500, "height": 335, "upload_date": "03 January 2007", "owner_id": 61890, "owner_name": "enriquevidalphoto.com", "owner_url": "http://www.panoramio.com/user/61890"} - , - {"photo_id": 123413, "photo_title": "Paisaje cromático de Landmanalaugar", "photo_url": "http://www.panoramio.com/photo/123413", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/123413.jpg", "longitude": -19.085140, "latitude": 63.918285, "width": 500, "height": 332, "upload_date": "12 December 2006", "owner_id": 20549, "owner_name": "oscarvg", "owner_url": "http://www.panoramio.com/user/20549"} - , - {"photo_id": 595734, "photo_title": "Sphinx profile", "photo_url": "http://www.panoramio.com/photo/595734", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/595734.jpg", "longitude": 31.137791, "latitude": 29.975034, "width": 500, "height": 330, "upload_date": "27 January 2007", "owner_id": 124418, "owner_name": "Pierre-Jean Durieu", "owner_url": "http://www.panoramio.com/user/124418"} - , - {"photo_id": 3282726, "photo_title": "Shanghai - Inside the Jinmao Tower", "photo_url": "http://www.panoramio.com/photo/3282726", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3282726.jpg", "longitude": 121.501153, "latitude": 31.237519, "width": 500, "height": 335, "upload_date": "13 July 2007", "owner_id": 578163, "owner_name": "Margherita-Italy", "owner_url": "http://www.panoramio.com/user/578163"} - , - {"photo_id": 1346342, "photo_title": "nemrut", "photo_url": "http://www.panoramio.com/photo/1346342", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1346342.jpg", "longitude": 38.761826, "latitude": 38.042413, "width": 340, "height": 500, "upload_date": "16 March 2007", "owner_id": 2659, "owner_name": "ozalph", "owner_url": "http://www.panoramio.com/user/2659"} - , - {"photo_id": 151849, "photo_title": "panoramas photo @ the cross at Xin-Yi and Kee-Lung road ( my 2nd try )", "photo_url": "http://www.panoramio.com/photo/151849", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/151849.jpg", "longitude": 121.559209, "latitude": 25.033073, "width": 500, "height": 348, "upload_date": "15 December 2006", "owner_id": 27791, "owner_name": "Jerome Chen", "owner_url": "http://www.panoramio.com/user/27791"} - , - {"photo_id": 1212973, "photo_title": "Perhaps Neruda's View", "photo_url": "http://www.panoramio.com/photo/1212973", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1212973.jpg", "longitude": 14.398935, "latitude": 50.084752, "width": 500, "height": 333, "upload_date": "07 March 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 809789, "photo_title": "Pihike", "photo_url": "http://www.panoramio.com/photo/809789", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/809789.jpg", "longitude": 17.457018, "latitude": 47.881010, "width": 500, "height": 387, "upload_date": "13 February 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 88150, "photo_title": "Marmore Falls - Umbria - Italy", "photo_url": "http://www.panoramio.com/photo/88150", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/88150.jpg", "longitude": 12.716667, "latitude": 42.550000, "width": 375, "height": 500, "upload_date": "28 November 2006", "owner_id": 11098, "owner_name": "Michele Masnata", "owner_url": "http://www.panoramio.com/user/11098"} - , - {"photo_id": 624990, "photo_title": "Mélyrepülés", "photo_url": "http://www.panoramio.com/photo/624990", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/624990.jpg", "longitude": 17.455988, "latitude": 47.881931, "width": 500, "height": 288, "upload_date": "30 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 612449, "photo_title": "Rio de Janeiro - Vista do Corcovado ©G.Schüür", "photo_url": "http://www.panoramio.com/photo/612449", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/612449.jpg", "longitude": -43.210323, "latitude": -22.951463, "width": 500, "height": 400, "upload_date": "29 January 2007", "owner_id": 120756, "owner_name": "Germano Schüür", "owner_url": "http://www.panoramio.com/user/120756"} - , - {"photo_id": 1545313, "photo_title": "Tempestade", "photo_url": "http://www.panoramio.com/photo/1545313", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1545313.jpg", "longitude": -48.678703, "latitude": -26.643470, "width": 500, "height": 341, "upload_date": "29 March 2007", "owner_id": 160342, "owner_name": "Jakson Santos", "owner_url": "http://www.panoramio.com/user/160342"} - , - {"photo_id": 1595492, "photo_title": "Explosión Rosa", "photo_url": "http://www.panoramio.com/photo/1595492", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1595492.jpg", "longitude": -73.250393, "latitude": -39.813481, "width": 500, "height": 375, "upload_date": "02 April 2007", "owner_id": 327310, "owner_name": "Erwin Woenckhaus", "owner_url": "http://www.panoramio.com/user/327310"} - , - {"photo_id": 5501284, "photo_title": "Da qui passano i sogni...", "photo_url": "http://www.panoramio.com/photo/5501284", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5501284.jpg", "longitude": 12.335930, "latitude": 45.435563, "width": 375, "height": 500, "upload_date": "23 October 2007", "owner_id": 325031, "owner_name": "Gibrail", "owner_url": "http://www.panoramio.com/user/325031"} - , - {"photo_id": 444265, "photo_title": "Cafe, Calle and Capitol of Cuba", "photo_url": "http://www.panoramio.com/photo/444265", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/444265.jpg", "longitude": -82.350453, "latitude": 23.136354, "width": 500, "height": 375, "upload_date": "15 January 2007", "owner_id": 57893, "owner_name": "ThoiryK", "owner_url": "http://www.panoramio.com/user/57893"} - , - {"photo_id": 9590, "photo_title": "South Street Seaport and Financial Center Skyline [007783]", "photo_url": "http://www.panoramio.com/photo/9590", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9590.jpg", "longitude": -74.001760, "latitude": 40.704937, "width": 500, "height": 375, "upload_date": "04 February 2006", "owner_id": 1489, "owner_name": "Thorsten", "owner_url": "http://www.panoramio.com/user/1489"} - , - {"photo_id": 204153, "photo_title": "Stormheimfjell and Hamperokken mountains near Brevikeidet ", "photo_url": "http://www.panoramio.com/photo/204153", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/204153.jpg", "longitude": 19.650421, "latitude": 69.668899, "width": 500, "height": 375, "upload_date": "21 December 2006", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 916095, "photo_title": "Before daybreak on Mount Etna (as seen from Piano Provenzana)", "photo_url": "http://www.panoramio.com/photo/916095", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/916095.jpg", "longitude": 15.038610, "latitude": 37.793881, "width": 500, "height": 375, "upload_date": "20 February 2007", "owner_id": 67714, "owner_name": "Robert Gulyas", "owner_url": "http://www.panoramio.com/user/67714"} - , - {"photo_id": 680320, "photo_title": "A severe storm approaches Nyngan, NSW www.ozthunder.com", "photo_url": "http://www.panoramio.com/photo/680320", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/680320.jpg", "longitude": 147.154312, "latitude": -31.563910, "width": 500, "height": 378, "upload_date": "04 February 2007", "owner_id": 67208, "owner_name": "Michael Thompson", "owner_url": "http://www.panoramio.com/user/67208"} - , - {"photo_id": 6018, "photo_title": "Jadrija - barke", "photo_url": "http://www.panoramio.com/photo/6018", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6018.jpg", "longitude": 15.841599, "latitude": 43.725026, "width": 500, "height": 176, "upload_date": "18 December 2005", "owner_id": 991, "owner_name": "Mario Marotti", "owner_url": "http://www.panoramio.com/user/991"} - , - {"photo_id": 36485, "photo_title": "Great Belt Bridge", "photo_url": "http://www.panoramio.com/photo/36485", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/36485.jpg", "longitude": 11.029501, "latitude": 55.342130, "width": 500, "height": 332, "upload_date": "02 August 2006", "owner_id": 5703, "owner_name": "dancer", "owner_url": "http://www.panoramio.com/user/5703"} - , - {"photo_id": 19098, "photo_title": "Jökulsárlón", "photo_url": "http://www.panoramio.com/photo/19098", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/19098.jpg", "longitude": -16.355896, "latitude": 64.037351, "width": 500, "height": 333, "upload_date": "02 May 2006", "owner_id": 2885, "owner_name": "Luis Rodríguez Baena", "owner_url": "http://www.panoramio.com/user/2885"} - , - {"photo_id": 55458, "photo_title": "034 Troianisches Pferd", "photo_url": "http://www.panoramio.com/photo/55458", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/55458.jpg", "longitude": 26.240464, "latitude": 39.957188, "width": 375, "height": 500, "upload_date": "01 October 2006", "owner_id": 7633, "owner_name": "Daniel Meyer", "owner_url": "http://www.panoramio.com/user/7633"} - , - {"photo_id": 1800357, "photo_title": "Beach & Evening Light - Garrapata State Park Big Sur, CA", "photo_url": "http://www.panoramio.com/photo/1800357", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1800357.jpg", "longitude": -121.925915, "latitude": 36.455437, "width": 500, "height": 345, "upload_date": "16 April 2007", "owner_id": 107613, "owner_name": "Tom Grubbe", "owner_url": "http://www.panoramio.com/user/107613"} - , - {"photo_id": 1447086, "photo_title": "Odyssey", "photo_url": "http://www.panoramio.com/photo/1447086", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1447086.jpg", "longitude": 15.923395, "latitude": 43.589530, "width": 500, "height": 323, "upload_date": "22 March 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 10378421, "photo_title": "Red Bus", "photo_url": "http://www.panoramio.com/photo/10378421", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10378421.jpg", "longitude": -0.124497, "latitude": 51.500809, "width": 414, "height": 500, "upload_date": "19 May 2008", "owner_id": 325031, "owner_name": "Gibrail", "owner_url": "http://www.panoramio.com/user/325031"} - , - {"photo_id": 1087672, "photo_title": "És azután menydörgést hallottunk...", "photo_url": "http://www.panoramio.com/photo/1087672", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1087672.jpg", "longitude": 15.917473, "latitude": 43.590836, "width": 500, "height": 299, "upload_date": "28 February 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 74950, "photo_title": "高千穂", "photo_url": "http://www.panoramio.com/photo/74950", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/74950.jpg", "longitude": 131.019516, "latitude": 32.320504, "width": 500, "height": 375, "upload_date": "03 November 2006", "owner_id": 9556, "owner_name": "shigesato", "owner_url": "http://www.panoramio.com/user/9556"} - , - {"photo_id": 1749978, "photo_title": "Campos de Criptana", "photo_url": "http://www.panoramio.com/photo/1749978", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1749978.jpg", "longitude": -3.123207, "latitude": 39.409805, "width": 500, "height": 334, "upload_date": "12 April 2007", "owner_id": 10969, "owner_name": "Juanra", "owner_url": "http://www.panoramio.com/user/10969"} - , - {"photo_id": 94171, "photo_title": "Matsumoto Castle", "photo_url": "http://www.panoramio.com/photo/94171", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/94171.jpg", "longitude": 137.967778, "latitude": 36.239194, "width": 408, "height": 500, "upload_date": "09 December 2006", "owner_id": 11781, "owner_name": "ANDRE GARDELLA", "owner_url": "http://www.panoramio.com/user/11781"} - , - {"photo_id": 2053084, "photo_title": "Blue lagoon, Melchior islands", "photo_url": "http://www.panoramio.com/photo/2053084", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2053084.jpg", "longitude": -62.830811, "latitude": -64.415921, "width": 500, "height": 336, "upload_date": "03 May 2007", "owner_id": 3316, "owner_name": "kristine hannon (www.traveltheglobe.be)", "owner_url": "http://www.panoramio.com/user/3316"} - , - {"photo_id": 86244, "photo_title": "Palmeras", "photo_url": "http://www.panoramio.com/photo/86244", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/86244.jpg", "longitude": -1.116829, "latitude": 37.930930, "width": 333, "height": 500, "upload_date": "25 November 2006", "owner_id": 10969, "owner_name": "Juanra", "owner_url": "http://www.panoramio.com/user/10969"} - , - {"photo_id": 629489, "photo_title": "Hare in winter fur...beast of the Cave of Caerbannog.", "photo_url": "http://www.panoramio.com/photo/629489", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/629489.jpg", "longitude": -105.645390, "latitude": 40.296593, "width": 500, "height": 376, "upload_date": "31 January 2007", "owner_id": 87752, "owner_name": "Richard Ryer", "owner_url": "http://www.panoramio.com/user/87752"} - , - {"photo_id": 8459506, "photo_title": "Baltic sunrise in Kiel", "photo_url": "http://www.panoramio.com/photo/8459506", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8459506.jpg", "longitude": 10.169671, "latitude": 54.430970, "width": 500, "height": 375, "upload_date": "11 March 2008", "owner_id": 73946, "owner_name": "pembo", "owner_url": "http://www.panoramio.com/user/73946"} - , - {"photo_id": 36599, "photo_title": "ц Зачатия Анны на Углу", "photo_url": "http://www.panoramio.com/photo/36599", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/36599.jpg", "longitude": 37.630963, "latitude": 55.750159, "width": 500, "height": 375, "upload_date": "03 August 2006", "owner_id": 5641, "owner_name": "sergey duhanin", "owner_url": "http://www.panoramio.com/user/5641"} - , - {"photo_id": 62716, "photo_title": "Amanecer en la Sauceda", "photo_url": "http://www.panoramio.com/photo/62716", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/62716.jpg", "longitude": -5.591730, "latitude": 36.521630, "width": 500, "height": 330, "upload_date": "15 October 2006", "owner_id": 473, "owner_name": "Juanlu", "owner_url": "http://www.panoramio.com/user/473"} - , - {"photo_id": 4709631, "photo_title": "The sun sets in the East....", "photo_url": "http://www.panoramio.com/photo/4709631", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4709631.jpg", "longitude": -112.624583, "latitude": 45.211038, "width": 500, "height": 375, "upload_date": "17 September 2007", "owner_id": 71099, "owner_name": "Eve in Montana", "owner_url": "http://www.panoramio.com/user/71099"} - , - {"photo_id": 11408203, "photo_title": "05-08-31_Paramo de MASA_PIXELECTA", "photo_url": "http://www.panoramio.com/photo/11408203", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11408203.jpg", "longitude": -3.536568, "latitude": 42.669357, "width": 500, "height": 375, "upload_date": "21 June 2008", "owner_id": 163655, "owner_name": "[[[ PIXELECTA ]]]", "owner_url": "http://www.panoramio.com/user/163655"} - , - {"photo_id": 416263, "photo_title": "Mt. Meeker at Dawn", "photo_url": "http://www.panoramio.com/photo/416263", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/416263.jpg", "longitude": -105.579643, "latitude": 40.270472, "width": 500, "height": 374, "upload_date": "13 January 2007", "owner_id": 87752, "owner_name": "Richard Ryer", "owner_url": "http://www.panoramio.com/user/87752"} - , - {"photo_id": 1289233, "photo_title": " High Dades", "photo_url": "http://www.panoramio.com/photo/1289233", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1289233.jpg", "longitude": -5.838375, "latitude": 31.652066, "width": 500, "height": 329, "upload_date": "12 March 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 1567767, "photo_title": "Rosina Lamberti - Sunset Templestowe, 31 March 2007", "photo_url": "http://www.panoramio.com/photo/1567767", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1567767.jpg", "longitude": 145.133858, "latitude": -37.765015, "width": 500, "height": 237, "upload_date": "31 March 2007", "owner_id": 140796, "owner_name": "rosina lamberti", "owner_url": "http://www.panoramio.com/user/140796"} - , - {"photo_id": 4130842, "photo_title": "Árvore Solar", "photo_url": "http://www.panoramio.com/photo/4130842", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4130842.jpg", "longitude": -51.830320, "latitude": -22.939424, "width": 427, "height": 500, "upload_date": "23 August 2007", "owner_id": 465654, "owner_name": "Carlos Sica", "owner_url": "http://www.panoramio.com/user/465654"} - , - {"photo_id": 340508, "photo_title": "Sunset from Camelback Mountain Echo Trail", "photo_url": "http://www.panoramio.com/photo/340508", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/340508.jpg", "longitude": -111.969969, "latitude": 33.520820, "width": 333, "height": 500, "upload_date": "08 January 2007", "owner_id": 45308, "owner_name": "Mike Cavaroc", "owner_url": "http://www.panoramio.com/user/45308"} - , - {"photo_id": 74792, "photo_title": "annapurna south", "photo_url": "http://www.panoramio.com/photo/74792", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/74792.jpg", "longitude": 83.804398, "latitude": 28.524813, "width": 500, "height": 334, "upload_date": "03 November 2006", "owner_id": 9812, "owner_name": "wsm earp", "owner_url": "http://www.panoramio.com/user/9812"} - , - {"photo_id": 4445995, "photo_title": "Ködvarázs", "photo_url": "http://www.panoramio.com/photo/4445995", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4445995.jpg", "longitude": 18.053970, "latitude": 47.276783, "width": 500, "height": 334, "upload_date": "06 September 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 3032620, "photo_title": "Mira sin bueyes", "photo_url": "http://www.panoramio.com/photo/3032620", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3032620.jpg", "longitude": -8.802710, "latitude": 40.459324, "width": 500, "height": 327, "upload_date": "30 June 2007", "owner_id": 129297, "owner_name": "Enrique Ortiz de Zárate", "owner_url": "http://www.panoramio.com/user/129297"} - , - {"photo_id": 415533, "photo_title": "Manila Sunset", "photo_url": "http://www.panoramio.com/photo/415533", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/415533.jpg", "longitude": 120.984208, "latitude": 14.572339, "width": 333, "height": 500, "upload_date": "13 January 2007", "owner_id": 20398, "owner_name": "boerx", "owner_url": "http://www.panoramio.com/user/20398"} - , - {"photo_id": 723004, "photo_title": "Bouncing Light", "photo_url": "http://www.panoramio.com/photo/723004", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/723004.jpg", "longitude": 25.379276, "latitude": 36.461468, "width": 500, "height": 332, "upload_date": "07 February 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 2514494, "photo_title": "klatschmohn bis zum Horizont", "photo_url": "http://www.panoramio.com/photo/2514494", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2514494.jpg", "longitude": 12.025051, "latitude": 54.145244, "width": 500, "height": 334, "upload_date": "01 June 2007", "owner_id": 82603, "owner_name": "HelgeNug", "owner_url": "http://www.panoramio.com/user/82603"} - , - {"photo_id": 436289, "photo_title": "koaganogawa", "photo_url": "http://www.panoramio.com/photo/436289", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/436289.jpg", "longitude": 139.065456, "latitude": 37.831548, "width": 500, "height": 341, "upload_date": "15 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 73027, "photo_title": "Concourse, British Museum", "photo_url": "http://www.panoramio.com/photo/73027", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/73027.jpg", "longitude": -0.127201, "latitude": 51.519532, "width": 500, "height": 326, "upload_date": "29 October 2006", "owner_id": 1295, "owner_name": "Matthew Walters", "owner_url": "http://www.panoramio.com/user/1295"} - , - {"photo_id": 9766996, "photo_title": "Racetrack Playa", "photo_url": "http://www.panoramio.com/photo/9766996", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9766996.jpg", "longitude": -117.558091, "latitude": 36.664815, "width": 388, "height": 500, "upload_date": "29 April 2008", "owner_id": 308300, "owner_name": "Tony R Immoos", "owner_url": "http://www.panoramio.com/user/308300"} - , - {"photo_id": 1455193, "photo_title": "Вулкан Карымский, со склона вулкана Малый Семячик", "photo_url": "http://www.panoramio.com/photo/1455193", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1455193.jpg", "longitude": 159.626970, "latitude": 54.133227, "width": 500, "height": 345, "upload_date": "23 March 2007", "owner_id": 268724, "owner_name": "Korotnev AV", "owner_url": "http://www.panoramio.com/user/268724"} - , - {"photo_id": 1234797, "photo_title": "Sahalie Falls, Mckenzie River", "photo_url": "http://www.panoramio.com/photo/1234797", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1234797.jpg", "longitude": -121.997187, "latitude": 44.348769, "width": 500, "height": 420, "upload_date": "09 March 2007", "owner_id": 128746, "owner_name": "© Michael Hatten", "owner_url": "http://www.panoramio.com/user/128746"} - , - {"photo_id": 3989102, "photo_title": "El Gran Miércoles", "photo_url": "http://www.panoramio.com/photo/3989102", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3989102.jpg", "longitude": -17.991056, "latitude": 27.797638, "width": 500, "height": 375, "upload_date": "17 August 2007", "owner_id": 787217, "owner_name": "♣ Víctor S de Lara ♣", "owner_url": "http://www.panoramio.com/user/787217"} - , - {"photo_id": 85625, "photo_title": "Cañón de Valdeinfiernos", "photo_url": "http://www.panoramio.com/photo/85625", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/85625.jpg", "longitude": -1.961060, "latitude": 37.801511, "width": 333, "height": 500, "upload_date": "24 November 2006", "owner_id": 10969, "owner_name": "Juanra", "owner_url": "http://www.panoramio.com/user/10969"} - , - {"photo_id": 4558716, "photo_title": "Corsica - West Coast", "photo_url": "http://www.panoramio.com/photo/4558716", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4558716.jpg", "longitude": 8.655338, "latitude": 42.253108, "width": 500, "height": 341, "upload_date": "10 September 2007", "owner_id": 49870, "owner_name": "Jean-Michel Raggioli", "owner_url": "http://www.panoramio.com/user/49870"} - , - {"photo_id": 3201916, "photo_title": "Mönch", "photo_url": "http://www.panoramio.com/photo/3201916", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3201916.jpg", "longitude": 7.640026, "latitude": 46.745537, "width": 500, "height": 374, "upload_date": "09 July 2007", "owner_id": 635422, "owner_name": "♫ Swissmay", "owner_url": "http://www.panoramio.com/user/635422"} - , - {"photo_id": 4365440, "photo_title": "a piece of wood", "photo_url": "http://www.panoramio.com/photo/4365440", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4365440.jpg", "longitude": -1.254158, "latitude": 44.480463, "width": 221, "height": 500, "upload_date": "03 September 2007", "owner_id": 521836, "owner_name": "KLEFER", "owner_url": "http://www.panoramio.com/user/521836"} - , - {"photo_id": 124545, "photo_title": "66_St-Cyp_vagues_01", "photo_url": "http://www.panoramio.com/photo/124545", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/124545.jpg", "longitude": 3.037736, "latitude": 42.623436, "width": 500, "height": 333, "upload_date": "12 December 2006", "owner_id": 18696, "owner_name": "Besnard", "owner_url": "http://www.panoramio.com/user/18696"} - , - {"photo_id": 65666, "photo_title": "Barco fantasma", "photo_url": "http://www.panoramio.com/photo/65666", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/65666.jpg", "longitude": -14.179380, "latitude": 28.344878, "width": 500, "height": 375, "upload_date": "18 October 2006", "owner_id": 8658, "owner_name": "Canarina", "owner_url": "http://www.panoramio.com/user/8658"} - , - {"photo_id": 573064, "photo_title": "Looking west across Isfjorden", "photo_url": "http://www.panoramio.com/photo/573064", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/573064.jpg", "longitude": 7.681332, "latitude": 62.558395, "width": 500, "height": 332, "upload_date": "26 January 2007", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 859786, "photo_title": "Aurora Borealis, Andøya, Vesterålen, Norway", "photo_url": "http://www.panoramio.com/photo/859786", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/859786.jpg", "longitude": 15.605392, "latitude": 69.118548, "width": 500, "height": 377, "upload_date": "17 February 2007", "owner_id": 66734, "owner_name": "Svein Solhaug", "owner_url": "http://www.panoramio.com/user/66734"} - , - {"photo_id": 507024, "photo_title": "Agrárcolorgeometria", "photo_url": "http://www.panoramio.com/photo/507024", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/507024.jpg", "longitude": 18.014488, "latitude": 47.316017, "width": 500, "height": 300, "upload_date": "20 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 6665111, "photo_title": "Coucher du soleil depuis les Crêts", "photo_url": "http://www.panoramio.com/photo/6665111", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6665111.jpg", "longitude": 6.172214, "latitude": 46.129129, "width": 500, "height": 375, "upload_date": "24 December 2007", "owner_id": 359127, "owner_name": "wx", "owner_url": "http://www.panoramio.com/user/359127"} - , - {"photo_id": 679331, "photo_title": "wentworth falls", "photo_url": "http://www.panoramio.com/photo/679331", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/679331.jpg", "longitude": 150.371124, "latitude": -33.727111, "width": 498, "height": 500, "upload_date": "04 February 2007", "owner_id": 146092, "owner_name": "sid1662", "owner_url": "http://www.panoramio.com/user/146092"} - , - {"photo_id": 459436, "photo_title": "aikawa", "photo_url": "http://www.panoramio.com/photo/459436", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/459436.jpg", "longitude": 138.234701, "latitude": 37.998936, "width": 500, "height": 341, "upload_date": "16 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 31662, "photo_title": "NY_7_GE", "photo_url": "http://www.panoramio.com/photo/31662", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/31662.jpg", "longitude": -73.977041, "latitude": 40.761528, "width": 452, "height": 500, "upload_date": "11 July 2006", "owner_id": 4657, "owner_name": "Giuseppe Grande", "owner_url": "http://www.panoramio.com/user/4657"} - , - {"photo_id": 1488304, "photo_title": "", "photo_url": "http://www.panoramio.com/photo/1488304", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1488304.jpg", "longitude": 138.135223, "latitude": 36.848719, "width": 383, "height": 500, "upload_date": "25 March 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 181939, "photo_title": "The Eiffel Tower, Paris", "photo_url": "http://www.panoramio.com/photo/181939", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/181939.jpg", "longitude": 2.288718, "latitude": 48.861920, "width": 384, "height": 500, "upload_date": "18 December 2006", "owner_id": 12954, "owner_name": "Ziębol", "owner_url": "http://www.panoramio.com/user/12954"} - , - {"photo_id": 2422198, "photo_title": "In the Pine's Shade", "photo_url": "http://www.panoramio.com/photo/2422198", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2422198.jpg", "longitude": -112.393484, "latitude": 44.580075, "width": 500, "height": 333, "upload_date": "27 May 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 2363576, "photo_title": "Cienfuegos Yacht Club", "photo_url": "http://www.panoramio.com/photo/2363576", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2363576.jpg", "longitude": -80.450901, "latitude": 22.126499, "width": 500, "height": 306, "upload_date": "23 May 2007", "owner_id": 2575, "owner_name": "mikel ortega", "owner_url": "http://www.panoramio.com/user/2575"} - , - {"photo_id": 58296, "photo_title": "Liechtensteinklamm 2", "photo_url": "http://www.panoramio.com/photo/58296", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/58296.jpg", "longitude": 13.190546, "latitude": 47.310140, "width": 333, "height": 500, "upload_date": "07 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 507328, "photo_title": "Pillantás a hídról", "photo_url": "http://www.panoramio.com/photo/507328", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/507328.jpg", "longitude": 17.629859, "latitude": 47.687102, "width": 500, "height": 334, "upload_date": "20 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 468161, "photo_title": "Honfleur", "photo_url": "http://www.panoramio.com/photo/468161", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/468161.jpg", "longitude": 0.234833, "latitude": 49.421806, "width": 500, "height": 350, "upload_date": "17 January 2007", "owner_id": 78506, "owner_name": "Philippe Stoop", "owner_url": "http://www.panoramio.com/user/78506"} - , - {"photo_id": 2521031, "photo_title": "Derűs délután", "photo_url": "http://www.panoramio.com/photo/2521031", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2521031.jpg", "longitude": 17.523537, "latitude": 47.751790, "width": 380, "height": 500, "upload_date": "02 June 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 934105, "photo_title": "Times Square", "photo_url": "http://www.panoramio.com/photo/934105", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/934105.jpg", "longitude": -73.986762, "latitude": 40.756652, "width": 375, "height": 500, "upload_date": "21 February 2007", "owner_id": 123698, "owner_name": "© Kojak", "owner_url": "http://www.panoramio.com/user/123698"} - , - {"photo_id": 57824, "photo_title": "Hallstatt 3", "photo_url": "http://www.panoramio.com/photo/57824", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/57824.jpg", "longitude": 13.642616, "latitude": 47.556372, "width": 500, "height": 333, "upload_date": "05 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 1370861, "photo_title": "Wanganui Sunrise", "photo_url": "http://www.panoramio.com/photo/1370861", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1370861.jpg", "longitude": 175.053218, "latitude": -39.927193, "width": 500, "height": 400, "upload_date": "17 March 2007", "owner_id": 286729, "owner_name": "jimwitkowski", "owner_url": "http://www.panoramio.com/user/286729"} - , - {"photo_id": 4823023, "photo_title": "Cielo en llamas ( Sky on fire )", "photo_url": "http://www.panoramio.com/photo/4823023", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4823023.jpg", "longitude": -0.471725, "latitude": 39.601588, "width": 500, "height": 375, "upload_date": "22 September 2007", "owner_id": 787217, "owner_name": "♣ Víctor S de Lara ♣", "owner_url": "http://www.panoramio.com/user/787217"} - , - {"photo_id": 520945, "photo_title": "Estvarázs", "photo_url": "http://www.panoramio.com/photo/520945", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/520945.jpg", "longitude": 17.627692, "latitude": 47.665156, "width": 500, "height": 334, "upload_date": "21 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 818423, "photo_title": "Karst Countryside in Guangxi, China", "photo_url": "http://www.panoramio.com/photo/818423", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/818423.jpg", "longitude": 106.953964, "latitude": 22.716023, "width": 500, "height": 206, "upload_date": "14 February 2007", "owner_id": 164125, "owner_name": "DannyXu", "owner_url": "http://www.panoramio.com/user/164125"} - , - {"photo_id": 532730, "photo_title": "Nightfall and fog at lake Helgeren", "photo_url": "http://www.panoramio.com/photo/532730", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/532730.jpg", "longitude": 10.708923, "latitude": 60.074348, "width": 419, "height": 500, "upload_date": "22 January 2007", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 650237, "photo_title": "Aruba, Eagle Beach, Divi Divi Tree", "photo_url": "http://www.panoramio.com/photo/650237", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/650237.jpg", "longitude": -70.055099, "latitude": 12.555003, "width": 500, "height": 375, "upload_date": "01 February 2007", "owner_id": 136446, "owner_name": "© Wim", "owner_url": "http://www.panoramio.com/user/136446"} - , - {"photo_id": 2414590, "photo_title": "Egy csendes estén", "photo_url": "http://www.panoramio.com/photo/2414590", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2414590.jpg", "longitude": 17.626448, "latitude": 47.662613, "width": 500, "height": 334, "upload_date": "27 May 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 10544520, "photo_title": "Plansee", "photo_url": "http://www.panoramio.com/photo/10544520", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10544520.jpg", "longitude": 10.799389, "latitude": 47.473011, "width": 500, "height": 242, "upload_date": "24 May 2008", "owner_id": 634000, "owner_name": "© Massimo De Candido", "owner_url": "http://www.panoramio.com/user/634000"} - , - {"photo_id": 11341211, "photo_title": "AMAPOLAS AL SOL", "photo_url": "http://www.panoramio.com/photo/11341211", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11341211.jpg", "longitude": -1.995735, "latitude": 42.471844, "width": 500, "height": 374, "upload_date": "19 June 2008", "owner_id": 1487989, "owner_name": "mesias", "owner_url": "http://www.panoramio.com/user/1487989"} - , - {"photo_id": 134748, "photo_title": "20060813_9795_raw", "photo_url": "http://www.panoramio.com/photo/134748", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/134748.jpg", "longitude": 30.452921, "latitude": 50.358700, "width": 500, "height": 333, "upload_date": "13 December 2006", "owner_id": 17090, "owner_name": "Pavel Danko", "owner_url": "http://www.panoramio.com/user/17090"} - , - {"photo_id": 66816, "photo_title": "desierto cerca de Tolar Grande", "photo_url": "http://www.panoramio.com/photo/66816", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/66816.jpg", "longitude": -67.394257, "latitude": -24.584593, "width": 374, "height": 500, "upload_date": "19 October 2006", "owner_id": 9080, "owner_name": "Marco Teodonio", "owner_url": "http://www.panoramio.com/user/9080"} - , - {"photo_id": 70148, "photo_title": "Grotto Azure, Capris: The cave is lit by light refracting through the water.", "photo_url": "http://www.panoramio.com/photo/70148", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/70148.jpg", "longitude": 14.203262, "latitude": 40.560895, "width": 500, "height": 375, "upload_date": "25 October 2006", "owner_id": 1634, "owner_name": "Rick Guthrie", "owner_url": "http://www.panoramio.com/user/1634"} - , - {"photo_id": 1409801, "photo_title": "Hedges, Aerial", "photo_url": "http://www.panoramio.com/photo/1409801", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1409801.jpg", "longitude": 9.027843, "latitude": 56.130772, "width": 332, "height": 500, "upload_date": "20 March 2007", "owner_id": 278074, "owner_name": "H. C. Steensen", "owner_url": "http://www.panoramio.com/user/278074"} - , - {"photo_id": 840971, "photo_title": "Upper Thracian Lowlands", "photo_url": "http://www.panoramio.com/photo/840971", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/840971.jpg", "longitude": 26.364269, "latitude": 42.717759, "width": 500, "height": 400, "upload_date": "16 February 2007", "owner_id": 16880, "owner_name": "evgenidinev.com", "owner_url": "http://www.panoramio.com/user/16880"} - , - {"photo_id": 9557772, "photo_title": "Le Shan Giant Buddha Statue - Geotagged April 08 Photo Contest Heritage Category Honorable Mentions", "photo_url": "http://www.panoramio.com/photo/9557772", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9557772.jpg", "longitude": 103.769115, "latitude": 29.547084, "width": 375, "height": 500, "upload_date": "20 April 2008", "owner_id": 964751, "owner_name": "jymsn123", "owner_url": "http://www.panoramio.com/user/964751"} - , - {"photo_id": 4716049, "photo_title": "Sol-edad", "photo_url": "http://www.panoramio.com/photo/4716049", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4716049.jpg", "longitude": -73.228008, "latitude": -39.820720, "width": 366, "height": 500, "upload_date": "17 September 2007", "owner_id": 327310, "owner_name": "Erwin Woenckhaus", "owner_url": "http://www.panoramio.com/user/327310"} - , - {"photo_id": 1419283, "photo_title": "Sunset in Boka", "photo_url": "http://www.panoramio.com/photo/1419283", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1419283.jpg", "longitude": 18.703022, "latitude": 42.479883, "width": 500, "height": 375, "upload_date": "20 March 2007", "owner_id": 239453, "owner_name": "Šovran Nikša", "owner_url": "http://www.panoramio.com/user/239453"} - , - {"photo_id": 3507222, "photo_title": "The sheperd of the Glen", "photo_url": "http://www.panoramio.com/photo/3507222", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3507222.jpg", "longitude": -4.840164, "latitude": 56.641504, "width": 500, "height": 334, "upload_date": "24 July 2007", "owner_id": 599676, "owner_name": "mossip", "owner_url": "http://www.panoramio.com/user/599676"} - , - {"photo_id": 3521820, "photo_title": "Utolsó pillantás", "photo_url": "http://www.panoramio.com/photo/3521820", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3521820.jpg", "longitude": 17.809353, "latitude": 47.528097, "width": 500, "height": 334, "upload_date": "25 July 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 521264, "photo_title": "Felhőátvonulás", "photo_url": "http://www.panoramio.com/photo/521264", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/521264.jpg", "longitude": 17.760429, "latitude": 47.555329, "width": 500, "height": 280, "upload_date": "21 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 636723, "photo_title": "ASZFALTOZÓK", "photo_url": "http://www.panoramio.com/photo/636723", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/636723.jpg", "longitude": 19.038105, "latitude": 47.520041, "width": 500, "height": 318, "upload_date": "31 January 2007", "owner_id": 137538, "owner_name": "BALÁS ISTVÁN", "owner_url": "http://www.panoramio.com/user/137538"} - , - {"photo_id": 153144, "photo_title": "cierny_vah01", "photo_url": "http://www.panoramio.com/photo/153144", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/153144.jpg", "longitude": 19.907227, "latitude": 49.020084, "width": 500, "height": 332, "upload_date": "15 December 2006", "owner_id": 28092, "owner_name": "Design d15", "owner_url": "http://www.panoramio.com/user/28092"} - , - {"photo_id": 7485246, "photo_title": "Túl mindenen", "photo_url": "http://www.panoramio.com/photo/7485246", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7485246.jpg", "longitude": 17.624259, "latitude": 47.662092, "width": 500, "height": 334, "upload_date": "31 January 2008", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 4884030, "photo_title": "A Cloud is Born", "photo_url": "http://www.panoramio.com/photo/4884030", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4884030.jpg", "longitude": -119.631693, "latitude": 37.724208, "width": 333, "height": 500, "upload_date": "24 September 2007", "owner_id": 376395, "owner_name": "JeffSullivan (www.MyPhotoGuides.com)", "owner_url": "http://www.panoramio.com/user/376395"} - , - {"photo_id": 6126146, "photo_title": "North Weald Park", "photo_url": "http://www.panoramio.com/photo/6126146", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6126146.jpg", "longitude": 0.264530, "latitude": 51.624631, "width": 500, "height": 333, "upload_date": "25 November 2007", "owner_id": 1130880, "owner_name": "marksimms", "owner_url": "http://www.panoramio.com/user/1130880"} - , - {"photo_id": 438342, "photo_title": "Sunrise in Sierra Nevada", "photo_url": "http://www.panoramio.com/photo/438342", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/438342.jpg", "longitude": -119.225607, "latitude": 37.945213, "width": 500, "height": 318, "upload_date": "15 January 2007", "owner_id": 93560, "owner_name": "Alex Petrov", "owner_url": "http://www.panoramio.com/user/93560"} - , - {"photo_id": 91978, "photo_title": "Dubrovnik (Croatia)", "photo_url": "http://www.panoramio.com/photo/91978", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/91978.jpg", "longitude": 18.108457, "latitude": 42.642909, "width": 500, "height": 375, "upload_date": "04 December 2006", "owner_id": 11403, "owner_name": "Arnáiz", "owner_url": "http://www.panoramio.com/user/11403"} - , - {"photo_id": 10816587, "photo_title": "Cementiri de Carcassonne", "photo_url": "http://www.panoramio.com/photo/10816587", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10816587.jpg", "longitude": 2.365751, "latitude": 43.205551, "width": 500, "height": 333, "upload_date": "01 June 2008", "owner_id": 599233, "owner_name": "SílviaPrats", "owner_url": "http://www.panoramio.com/user/599233"} - , - {"photo_id": 292943, "photo_title": "Aekingerzand", "photo_url": "http://www.panoramio.com/photo/292943", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/292943.jpg", "longitude": 6.296024, "latitude": 52.935293, "width": 500, "height": 333, "upload_date": "03 January 2007", "owner_id": 62613, "owner_name": "erik van den Ham", "owner_url": "http://www.panoramio.com/user/62613"} - , - {"photo_id": 4696655, "photo_title": "Old boat", "photo_url": "http://www.panoramio.com/photo/4696655", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4696655.jpg", "longitude": 27.399902, "latitude": 42.414079, "width": 500, "height": 357, "upload_date": "16 September 2007", "owner_id": 16880, "owner_name": "evgenidinev.com", "owner_url": "http://www.panoramio.com/user/16880"} - , - {"photo_id": 348752, "photo_title": "_Cariniana legalis_ (Lecythidaceae), Santa Rita do Passa Quatro, SP,Brasil", "photo_url": "http://www.panoramio.com/photo/348752", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/348752.jpg", "longitude": -47.618523, "latitude": -21.691885, "width": 500, "height": 375, "upload_date": "08 January 2007", "owner_id": 56214, "owner_name": "Vinícius Antonio de Oliveira Dittrich", "owner_url": "http://www.panoramio.com/user/56214"} - , - {"photo_id": 3724631, "photo_title": "Abbazia di Chiaravalle in un'alba nebbiosa", "photo_url": "http://www.panoramio.com/photo/3724631", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3724631.jpg", "longitude": 9.201404, "latitude": 45.424284, "width": 500, "height": 375, "upload_date": "04 August 2007", "owner_id": 732643, "owner_name": "La Mugna", "owner_url": "http://www.panoramio.com/user/732643"} - , - {"photo_id": 405853, "photo_title": "oyasirazu", "photo_url": "http://www.panoramio.com/photo/405853", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/405853.jpg", "longitude": 137.747955, "latitude": 37.009133, "width": 500, "height": 384, "upload_date": "13 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 1192286, "photo_title": "Ojos del mar - 1", "photo_url": "http://www.panoramio.com/photo/1192286", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1192286.jpg", "longitude": -67.369022, "latitude": -24.630634, "width": 500, "height": 337, "upload_date": "06 March 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 589411, "photo_title": "Sunset, London, UK.", "photo_url": "http://www.panoramio.com/photo/589411", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/589411.jpg", "longitude": -0.123596, "latitude": 51.500942, "width": 500, "height": 346, "upload_date": "27 January 2007", "owner_id": 44319, "owner_name": "André Bonacin", "owner_url": "http://www.panoramio.com/user/44319"} - , - {"photo_id": 7586406, "photo_title": "Sol naciente en Villarrica", "photo_url": "http://www.panoramio.com/photo/7586406", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7586406.jpg", "longitude": -72.219400, "latitude": -39.289273, "width": 500, "height": 375, "upload_date": "04 February 2008", "owner_id": 327310, "owner_name": "Erwin Woenckhaus", "owner_url": "http://www.panoramio.com/user/327310"} - , - {"photo_id": 621, "photo_title": "Cape Drastis / Corfu", "photo_url": "http://www.panoramio.com/photo/621", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/621.jpg", "longitude": 19.701061, "latitude": 39.795744, "width": 500, "height": 375, "upload_date": "27 September 2005", "owner_id": 30, "owner_name": "eSHa", "owner_url": "http://www.panoramio.com/user/30"} - , - {"photo_id": 2379636, "photo_title": "Detail from the valley below Holmbukttind", "photo_url": "http://www.panoramio.com/photo/2379636", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2379636.jpg", "longitude": 19.781570, "latitude": 69.476339, "width": 500, "height": 375, "upload_date": "24 May 2007", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 5725557, "photo_title": "Kardzhali lake - Panorama", "photo_url": "http://www.panoramio.com/photo/5725557", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5725557.jpg", "longitude": 25.242250, "latitude": 41.668667, "width": 500, "height": 187, "upload_date": "05 November 2007", "owner_id": 16880, "owner_name": "evgenidinev.com", "owner_url": "http://www.panoramio.com/user/16880"} - , - {"photo_id": 22393, "photo_title": "View from Bosphorus Bridge", "photo_url": "http://www.panoramio.com/photo/22393", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/22393.jpg", "longitude": 28.999443, "latitude": 41.027053, "width": 500, "height": 355, "upload_date": "04 June 2006", "owner_id": 3504, "owner_name": "zeytinbass", "owner_url": "http://www.panoramio.com/user/3504"} - , - {"photo_id": 5611129, "photo_title": "Torrent de Pareis - Sa Calobra (Mallorca)", "photo_url": "http://www.panoramio.com/photo/5611129", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5611129.jpg", "longitude": 2.807093, "latitude": 39.851709, "width": 500, "height": 373, "upload_date": "29 October 2007", "owner_id": 83865, "owner_name": "Epi F.Villanueva", "owner_url": "http://www.panoramio.com/user/83865"} - , - {"photo_id": 3457918, "photo_title": "Walk of Venus", "photo_url": "http://www.panoramio.com/photo/3457918", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3457918.jpg", "longitude": 14.721851, "latitude": 44.838891, "width": 500, "height": 367, "upload_date": "22 July 2007", "owner_id": 346103, "owner_name": "lacitot", "owner_url": "http://www.panoramio.com/user/346103"} - , - {"photo_id": 21135, "photo_title": "icebergs in the Channel", "photo_url": "http://www.panoramio.com/photo/21135", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/21135.jpg", "longitude": -63.017578, "latitude": -64.774125, "width": 500, "height": 338, "upload_date": "24 May 2006", "owner_id": 3316, "owner_name": "kristine hannon (www.traveltheglobe.be)", "owner_url": "http://www.panoramio.com/user/3316"} - , - {"photo_id": 1288597, "photo_title": "Gift", "photo_url": "http://www.panoramio.com/photo/1288597", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1288597.jpg", "longitude": 72.920036, "latitude": 4.038077, "width": 337, "height": 500, "upload_date": "12 March 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 708502, "photo_title": "A single skier from Gogsøyra tw Litjskjorta mountain", "photo_url": "http://www.panoramio.com/photo/708502", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/708502.jpg", "longitude": 8.160782, "latitude": 62.645604, "width": 424, "height": 500, "upload_date": "05 February 2007", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 4386456, "photo_title": "good bye", "photo_url": "http://www.panoramio.com/photo/4386456", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4386456.jpg", "longitude": -1.254845, "latitude": 44.463191, "width": 500, "height": 405, "upload_date": "04 September 2007", "owner_id": 521836, "owner_name": "KLEFER", "owner_url": "http://www.panoramio.com/user/521836"} - , - {"photo_id": 902303, "photo_title": "Kék", "photo_url": "http://www.panoramio.com/photo/902303", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/902303.jpg", "longitude": 17.941017, "latitude": 47.650703, "width": 334, "height": 500, "upload_date": "19 February 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 3660960, "photo_title": "Angkor - Ta Prohm IV", "photo_url": "http://www.panoramio.com/photo/3660960", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3660960.jpg", "longitude": 103.890334, "latitude": 13.435028, "width": 338, "height": 500, "upload_date": "01 August 2007", "owner_id": 73104, "owner_name": "zerega", "owner_url": "http://www.panoramio.com/user/73104"} - , - {"photo_id": 902570, "photo_title": "Tavitündér", "photo_url": "http://www.panoramio.com/photo/902570", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/902570.jpg", "longitude": 17.468948, "latitude": 47.871914, "width": 500, "height": 345, "upload_date": "19 February 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 2521005, "photo_title": "Megvilágosodás elött", "photo_url": "http://www.panoramio.com/photo/2521005", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2521005.jpg", "longitude": 17.515984, "latitude": 47.743825, "width": 500, "height": 286, "upload_date": "02 June 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 586159, "photo_title": "Central Park", "photo_url": "http://www.panoramio.com/photo/586159", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/586159.jpg", "longitude": -73.971816, "latitude": 40.775789, "width": 500, "height": 375, "upload_date": "27 January 2007", "owner_id": 123698, "owner_name": "© Kojak", "owner_url": "http://www.panoramio.com/user/123698"} - , - {"photo_id": 23475, "photo_title": "Good Morning", "photo_url": "http://www.panoramio.com/photo/23475", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/23475.jpg", "longitude": -28.210895, "latitude": 38.680351, "width": 500, "height": 375, "upload_date": "11 June 2006", "owner_id": 3760, "owner_name": "Frank Pustlauck", "owner_url": "http://www.panoramio.com/user/3760"} - , - {"photo_id": 1006005, "photo_title": "04-09-07_\"La Nube Sangrante\"_017_PIXELECTA", "photo_url": "http://www.panoramio.com/photo/1006005", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1006005.jpg", "longitude": -0.896330, "latitude": 41.738016, "width": 500, "height": 375, "upload_date": "24 February 2007", "owner_id": 163655, "owner_name": "[[[ PIXELECTA ]]]", "owner_url": "http://www.panoramio.com/user/163655"} - , - {"photo_id": 3473597, "photo_title": "Sails in the sunset", "photo_url": "http://www.panoramio.com/photo/3473597", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3473597.jpg", "longitude": -87.173424, "latitude": 45.158317, "width": 500, "height": 375, "upload_date": "22 July 2007", "owner_id": 555551, "owner_name": "Marilyn Whiteley", "owner_url": "http://www.panoramio.com/user/555551"} - , - {"photo_id": 3809992, "photo_title": "Długie Pobrzeże latem/ Las casas narcisistas que se pasan el día mirándose en el espejo del agua - gracias Arturo García!", "photo_url": "http://www.panoramio.com/photo/3809992", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3809992.jpg", "longitude": 18.658776, "latitude": 54.350679, "width": 500, "height": 375, "upload_date": "08 August 2007", "owner_id": 277750, "owner_name": "Karolina P.", "owner_url": "http://www.panoramio.com/user/277750"} - , - {"photo_id": 2280401, "photo_title": "Hetyke-egyke", "photo_url": "http://www.panoramio.com/photo/2280401", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2280401.jpg", "longitude": 17.829094, "latitude": 47.206508, "width": 500, "height": 308, "upload_date": "18 May 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 290772, "photo_title": "Tormenta Bahía de Pollensa", "photo_url": "http://www.panoramio.com/photo/290772", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/290772.jpg", "longitude": 3.116437, "latitude": 39.928440, "width": 500, "height": 335, "upload_date": "03 January 2007", "owner_id": 61890, "owner_name": "enriquevidalphoto.com", "owner_url": "http://www.panoramio.com/user/61890"} - , - {"photo_id": 57822, "photo_title": "Maria Alm - Pfarrkirche", "photo_url": "http://www.panoramio.com/photo/57822", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/57822.jpg", "longitude": 12.903442, "latitude": 47.407877, "width": 346, "height": 500, "upload_date": "05 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 516322, "photo_title": "A völgy", "photo_url": "http://www.panoramio.com/photo/516322", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/516322.jpg", "longitude": 17.774162, "latitude": 47.292504, "width": 338, "height": 500, "upload_date": "21 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 12271085, "photo_title": "Ein Bild für meine Freunde", "photo_url": "http://www.panoramio.com/photo/12271085", "photo_file_url": "http://static2.bareka.com/photos/medium/12271085.jpg", "longitude": 9.284134, "latitude": 51.510933, "width": 500, "height": 333, "upload_date": "19 July 2008", "owner_id": 497213, "owner_name": "UlrichSchnuerer", "owner_url": "http://www.panoramio.com/user/497213"} - , - {"photo_id": 5050864, "photo_title": "Álmok útján", "photo_url": "http://www.panoramio.com/photo/5050864", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5050864.jpg", "longitude": 12.333773, "latitude": 45.436466, "width": 500, "height": 354, "upload_date": "02 October 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 617461, "photo_title": "Miravet", "photo_url": "http://www.panoramio.com/photo/617461", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/617461.jpg", "longitude": 0.593348, "latitude": 41.035568, "width": 500, "height": 334, "upload_date": "29 January 2007", "owner_id": 3022, "owner_name": "Arcadi", "owner_url": "http://www.panoramio.com/user/3022"} - , - {"photo_id": 2689526, "photo_title": "Égszakadás", "photo_url": "http://www.panoramio.com/photo/2689526", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2689526.jpg", "longitude": 17.503624, "latitude": 47.749481, "width": 500, "height": 325, "upload_date": "11 June 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 38135, "photo_title": "Amanecer en el sur", "photo_url": "http://www.panoramio.com/photo/38135", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/38135.jpg", "longitude": -64.983333, "latitude": -31.900000, "width": 500, "height": 375, "upload_date": "11 August 2006", "owner_id": 4483, "owner_name": "Miguel Coranti", "owner_url": "http://www.panoramio.com/user/4483"} - , - {"photo_id": 1087737, "photo_title": "Szeles nyárelő", "photo_url": "http://www.panoramio.com/photo/1087737", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1087737.jpg", "longitude": 17.605934, "latitude": 47.603154, "width": 500, "height": 333, "upload_date": "28 February 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 8411394, "photo_title": "Dead Vlei", "photo_url": "http://www.panoramio.com/photo/8411394", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8411394.jpg", "longitude": 15.295715, "latitude": -24.764914, "width": 500, "height": 341, "upload_date": "09 March 2008", "owner_id": 1204358, "owner_name": "aldenc", "owner_url": "http://www.panoramio.com/user/1204358"} - , - {"photo_id": 8491464, "photo_title": "Horsetail Falls on El Capitan", "photo_url": "http://www.panoramio.com/photo/8491464", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8491464.jpg", "longitude": -119.623947, "latitude": 37.723512, "width": 357, "height": 500, "upload_date": "12 March 2008", "owner_id": 376395, "owner_name": "JeffSullivan (www.MyPhotoGuides.com)", "owner_url": "http://www.panoramio.com/user/376395"} - , - {"photo_id": 58134, "photo_title": "Chateaux Lake Louise from the head of the lake", "photo_url": "http://www.panoramio.com/photo/58134", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/58134.jpg", "longitude": -116.239901, "latitude": 51.407291, "width": 500, "height": 375, "upload_date": "06 October 2006", "owner_id": 8118, "owner_name": "Michael Gerstmann", "owner_url": "http://www.panoramio.com/user/8118"} - , - {"photo_id": 11237087, "photo_title": " Ein Strand zum träumen", "photo_url": "http://www.panoramio.com/photo/11237087", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11237087.jpg", "longitude": 15.914984, "latitude": 38.683366, "width": 500, "height": 294, "upload_date": "15 June 2008", "owner_id": 1400529, "owner_name": "marita1004", "owner_url": "http://www.panoramio.com/user/1400529"} - , - {"photo_id": 8384850, "photo_title": "Winter has gone", "photo_url": "http://www.panoramio.com/photo/8384850", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8384850.jpg", "longitude": 12.428112, "latitude": 49.084351, "width": 500, "height": 333, "upload_date": "08 March 2008", "owner_id": 696605, "owner_name": "© alfredschaffer", "owner_url": "http://www.panoramio.com/user/696605"} - , - {"photo_id": 3947779, "photo_title": "Mont-Saint-Michel floating in water", "photo_url": "http://www.panoramio.com/photo/3947779", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3947779.jpg", "longitude": -1.508625, "latitude": 48.634561, "width": 500, "height": 335, "upload_date": "15 August 2007", "owner_id": 57893, "owner_name": "ThoiryK", "owner_url": "http://www.panoramio.com/user/57893"} - , - {"photo_id": 1069321, "photo_title": "The old Temple N2", "photo_url": "http://www.panoramio.com/photo/1069321", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1069321.jpg", "longitude": 37.426300, "latitude": 56.370622, "width": 500, "height": 333, "upload_date": "27 February 2007", "owner_id": 212477, "owner_name": "Cherepanov Timofey", "owner_url": "http://www.panoramio.com/user/212477"} - , - {"photo_id": 5756689, "photo_title": "Tokyo Metropolitan Government", "photo_url": "http://www.panoramio.com/photo/5756689", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5756689.jpg", "longitude": 139.690722, "latitude": 35.689906, "width": 500, "height": 339, "upload_date": "06 November 2007", "owner_id": 558055, "owner_name": "www.tokyoform.com", "owner_url": "http://www.panoramio.com/user/558055"} - , - {"photo_id": 1599763, "photo_title": "Atomium", "photo_url": "http://www.panoramio.com/photo/1599763", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1599763.jpg", "longitude": 4.341531, "latitude": 50.894805, "width": 500, "height": 375, "upload_date": "02 April 2007", "owner_id": 18137, "owner_name": "digitaler lumpensammler", "owner_url": "http://www.panoramio.com/user/18137"} - , - {"photo_id": 516375, "photo_title": "A zöld folyó", "photo_url": "http://www.panoramio.com/photo/516375", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/516375.jpg", "longitude": 17.724895, "latitude": 46.297137, "width": 369, "height": 500, "upload_date": "21 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 1538329, "photo_title": "View east from Empire State Building by night", "photo_url": "http://www.panoramio.com/photo/1538329", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1538329.jpg", "longitude": -73.986332, "latitude": 40.748346, "width": 500, "height": 332, "upload_date": "28 March 2007", "owner_id": 278074, "owner_name": "H. C. Steensen", "owner_url": "http://www.panoramio.com/user/278074"} - , - {"photo_id": 1838875, "photo_title": "Modern art in Mainz", "photo_url": "http://www.panoramio.com/photo/1838875", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1838875.jpg", "longitude": 8.276659, "latitude": 50.001071, "width": 500, "height": 393, "upload_date": "19 April 2007", "owner_id": 12954, "owner_name": "Ziębol", "owner_url": "http://www.panoramio.com/user/12954"} - , - {"photo_id": 4740891, "photo_title": "The golden path - Az aranyozott ösvény", "photo_url": "http://www.panoramio.com/photo/4740891", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4740891.jpg", "longitude": 17.599239, "latitude": 47.639948, "width": 500, "height": 334, "upload_date": "18 September 2007", "owner_id": 217370, "owner_name": "Borbély Márk", "owner_url": "http://www.panoramio.com/user/217370"} - , - {"photo_id": 441376, "photo_title": "Bolungarvik", "photo_url": "http://www.panoramio.com/photo/441376", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/441376.jpg", "longitude": -23.197975, "latitude": 66.151698, "width": 500, "height": 333, "upload_date": "15 January 2007", "owner_id": 78506, "owner_name": "Philippe Stoop", "owner_url": "http://www.panoramio.com/user/78506"} - , - {"photo_id": 3354401, "photo_title": "Alkonyi színjáték", "photo_url": "http://www.panoramio.com/photo/3354401", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3354401.jpg", "longitude": 17.504225, "latitude": 47.745730, "width": 500, "height": 334, "upload_date": "16 July 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 809506, "photo_title": "Szivárványhorizont", "photo_url": "http://www.panoramio.com/photo/809506", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/809506.jpg", "longitude": 15.969830, "latitude": 43.626632, "width": 500, "height": 334, "upload_date": "13 February 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 36387, "photo_title": "Adobe Headquarters - Looking Up", "photo_url": "http://www.panoramio.com/photo/36387", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/36387.jpg", "longitude": -121.893804, "latitude": 37.330959, "width": 351, "height": 500, "upload_date": "02 August 2006", "owner_id": 5684, "owner_name": "Brent Townshend", "owner_url": "http://www.panoramio.com/user/5684"} - , - {"photo_id": 722982, "photo_title": "Antelope-Light", "photo_url": "http://www.panoramio.com/photo/722982", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/722982.jpg", "longitude": -111.371326, "latitude": 36.857236, "width": 333, "height": 500, "upload_date": "07 February 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 138030, "photo_title": "Kinderdijk", "photo_url": "http://www.panoramio.com/photo/138030", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/138030.jpg", "longitude": 4.645500, "latitude": 51.879458, "width": 500, "height": 335, "upload_date": "13 December 2006", "owner_id": 18131, "owner_name": "ron zoeteweij", "owner_url": "http://www.panoramio.com/user/18131"} - , - {"photo_id": 9725235, "photo_title": "railway / Małopolska / województwo małopolskie", "photo_url": "http://www.panoramio.com/photo/9725235", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9725235.jpg", "longitude": 20.363159, "latitude": 49.748443, "width": 321, "height": 500, "upload_date": "28 April 2008", "owner_id": 454219, "owner_name": "Rafal Ociepka", "owner_url": "http://www.panoramio.com/user/454219"} - , - {"photo_id": 945984, "photo_title": "El canal", "photo_url": "http://www.panoramio.com/photo/945984", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/945984.jpg", "longitude": 0.484858, "latitude": 40.901901, "width": 378, "height": 500, "upload_date": "21 February 2007", "owner_id": 3022, "owner_name": "Arcadi", "owner_url": "http://www.panoramio.com/user/3022"} - , - {"photo_id": 677953, "photo_title": "Shuto Expressway over the Sumida River", "photo_url": "http://www.panoramio.com/photo/677953", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/677953.jpg", "longitude": 139.788644, "latitude": 35.690411, "width": 500, "height": 364, "upload_date": "03 February 2007", "owner_id": 78856, "owner_name": "chrisjongkind • archive", "owner_url": "http://www.panoramio.com/user/78856"} - , - {"photo_id": 2723655, "photo_title": "Orciano Pisano", "photo_url": "http://www.panoramio.com/photo/2723655", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2723655.jpg", "longitude": 10.505505, "latitude": 43.491911, "width": 366, "height": 500, "upload_date": "13 June 2007", "owner_id": 65478, "owner_name": "Gabriele Marabotti", "owner_url": "http://www.panoramio.com/user/65478"} - , - {"photo_id": 444745, "photo_title": "Pres de Nefta", "photo_url": "http://www.panoramio.com/photo/444745", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/444745.jpg", "longitude": 7.904320, "latitude": 33.766590, "width": 500, "height": 333, "upload_date": "15 January 2007", "owner_id": 78506, "owner_name": "Philippe Stoop", "owner_url": "http://www.panoramio.com/user/78506"} - , - {"photo_id": 1388623, "photo_title": "El Aviario (Parque Ecológico, Puebla, México)", "photo_url": "http://www.panoramio.com/photo/1388623", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1388623.jpg", "longitude": -98.187540, "latitude": 19.025552, "width": 500, "height": 488, "upload_date": "18 March 2007", "owner_id": 274633, "owner_name": "D4v17 ]7. G.", "owner_url": "http://www.panoramio.com/user/274633"} - , - {"photo_id": 792658, "photo_title": "Reichtag in the dome, Berlin HDR", "photo_url": "http://www.panoramio.com/photo/792658", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/792658.jpg", "longitude": 13.376133, "latitude": 52.518610, "width": 376, "height": 500, "upload_date": "12 February 2007", "owner_id": 161254, "owner_name": "fotoartistry", "owner_url": "http://www.panoramio.com/user/161254"} - , - {"photo_id": 324694, "photo_title": "Thachted houses", "photo_url": "http://www.panoramio.com/photo/324694", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/324694.jpg", "longitude": 137.235117, "latitude": 36.132095, "width": 500, "height": 265, "upload_date": "06 January 2007", "owner_id": 11781, "owner_name": "ANDRE GARDELLA", "owner_url": "http://www.panoramio.com/user/11781"} - , - {"photo_id": 2353496, "photo_title": "рассвет над вулканом Жупановский", "photo_url": "http://www.panoramio.com/photo/2353496", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2353496.jpg", "longitude": 158.591080, "latitude": 53.497850, "width": 500, "height": 337, "upload_date": "23 May 2007", "owner_id": 268724, "owner_name": "Korotnev AV", "owner_url": "http://www.panoramio.com/user/268724"} - , - {"photo_id": 7251801, "photo_title": "Fellegek közt", "photo_url": "http://www.panoramio.com/photo/7251801", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7251801.jpg", "longitude": 18.314981, "latitude": 47.638820, "width": 500, "height": 329, "upload_date": "20 January 2008", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 35422, "photo_title": "caracas", "photo_url": "http://www.panoramio.com/photo/35422", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/35422.jpg", "longitude": -66.904507, "latitude": 10.498193, "width": 500, "height": 375, "upload_date": "29 July 2006", "owner_id": 3360, "owner_name": "ozzy", "owner_url": "http://www.panoramio.com/user/3360"} - , - {"photo_id": 405861, "photo_title": "myoukou", "photo_url": "http://www.panoramio.com/photo/405861", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/405861.jpg", "longitude": 138.295898, "latitude": 37.099003, "width": 500, "height": 383, "upload_date": "13 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 2719848, "photo_title": "Idaho relic", "photo_url": "http://www.panoramio.com/photo/2719848", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2719848.jpg", "longitude": -111.398749, "latitude": 42.286707, "width": 500, "height": 375, "upload_date": "13 June 2007", "owner_id": 555551, "owner_name": "Marilyn Whiteley", "owner_url": "http://www.panoramio.com/user/555551"} - , - {"photo_id": 599401, "photo_title": "Hozenji", "photo_url": "http://www.panoramio.com/photo/599401", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/599401.jpg", "longitude": 135.502450, "latitude": 34.668002, "width": 500, "height": 500, "upload_date": "28 January 2007", "owner_id": 128403, "owner_name": "mechanics", "owner_url": "http://www.panoramio.com/user/128403"} - , - {"photo_id": 53101, "photo_title": "Night Auadkhara", "photo_url": "http://www.panoramio.com/photo/53101", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/53101.jpg", "longitude": 40.631331, "latitude": 43.525806, "width": 500, "height": 323, "upload_date": "27 September 2006", "owner_id": 7707, "owner_name": "Yorix", "owner_url": "http://www.panoramio.com/user/7707"} - , - {"photo_id": 112752, "photo_title": "V-35-003b", "photo_url": "http://www.panoramio.com/photo/112752", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/112752.jpg", "longitude": 12.339267, "latitude": 45.433696, "width": 500, "height": 338, "upload_date": "11 December 2006", "owner_id": 17599, "owner_name": "Dmitry Andreev", "owner_url": "http://www.panoramio.com/user/17599"} - , - {"photo_id": 1946749, "photo_title": "Mt Hood and a John Deer Tractor over the Wooden Shoe Tulip Fields Monitor Oregon", "photo_url": "http://www.panoramio.com/photo/1946749", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1946749.jpg", "longitude": -122.740974, "latitude": 45.119326, "width": 500, "height": 351, "upload_date": "27 April 2007", "owner_id": 128746, "owner_name": "© Michael Hatten", "owner_url": "http://www.panoramio.com/user/128746"} - , - {"photo_id": 723074, "photo_title": "September Twilight in Thira", "photo_url": "http://www.panoramio.com/photo/723074", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/723074.jpg", "longitude": 25.430603, "latitude": 36.416862, "width": 500, "height": 223, "upload_date": "07 February 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 1658251, "photo_title": "Behold the moon", "photo_url": "http://www.panoramio.com/photo/1658251", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1658251.jpg", "longitude": 15.589085, "latitude": 78.170125, "width": 333, "height": 500, "upload_date": "06 April 2007", "owner_id": 3574, "owner_name": "blackone", "owner_url": "http://www.panoramio.com/user/3574"} - , - {"photo_id": 2225571, "photo_title": "Landscape (Via Di Porta Castello Street) ~ Tarquinia, Italy", "photo_url": "http://www.panoramio.com/photo/2225571", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2225571.jpg", "longitude": 11.751836, "latitude": 42.255808, "width": 500, "height": 335, "upload_date": "15 May 2007", "owner_id": 395380, "owner_name": "Rafael (Retrocool)", "owner_url": "http://www.panoramio.com/user/395380"} - , - {"photo_id": 348071, "photo_title": "Perfect ice for skating, Svartlögafjärden", "photo_url": "http://www.panoramio.com/photo/348071", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/348071.jpg", "longitude": 19.021196, "latitude": 59.558766, "width": 500, "height": 375, "upload_date": "08 January 2007", "owner_id": 70471, "owner_name": "David Thyberg", "owner_url": "http://www.panoramio.com/user/70471"} - , - {"photo_id": 1408683, "photo_title": "Dragon", "photo_url": "http://www.panoramio.com/photo/1408683", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1408683.jpg", "longitude": 11.099625, "latitude": 24.203758, "width": 334, "height": 500, "upload_date": "20 March 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 58293, "photo_title": "Hundeschlittenrennen in Werfenweng", "photo_url": "http://www.panoramio.com/photo/58293", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/58293.jpg", "longitude": 13.263245, "latitude": 47.465062, "width": 500, "height": 377, "upload_date": "07 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 1488328, "photo_title": "", "photo_url": "http://www.panoramio.com/photo/1488328", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1488328.jpg", "longitude": 139.290161, "latitude": 37.860218, "width": 500, "height": 383, "upload_date": "25 March 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 5439200, "photo_title": "shinjuku", "photo_url": "http://www.panoramio.com/photo/5439200", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5439200.jpg", "longitude": 139.693281, "latitude": 35.690921, "width": 500, "height": 500, "upload_date": "20 October 2007", "owner_id": 128403, "owner_name": "mechanics", "owner_url": "http://www.panoramio.com/user/128403"} - , - {"photo_id": 86241, "photo_title": "camino", "photo_url": "http://www.panoramio.com/photo/86241", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/86241.jpg", "longitude": -1.145668, "latitude": 38.170464, "width": 333, "height": 500, "upload_date": "25 November 2006", "owner_id": 10969, "owner_name": "Juanra", "owner_url": "http://www.panoramio.com/user/10969"} - , - {"photo_id": 4757733, "photo_title": "MASSIVE WAVE", "photo_url": "http://www.panoramio.com/photo/4757733", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4757733.jpg", "longitude": -1.262569, "latitude": 44.426793, "width": 259, "height": 500, "upload_date": "19 September 2007", "owner_id": 521836, "owner_name": "KLEFER", "owner_url": "http://www.panoramio.com/user/521836"} - , - {"photo_id": 941286, "photo_title": "Mesa Arch (3x1 pano)", "photo_url": "http://www.panoramio.com/photo/941286", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/941286.jpg", "longitude": -109.863667, "latitude": 38.388159, "width": 500, "height": 181, "upload_date": "21 February 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 1284843, "photo_title": "Озеро Хангар в кратере вулкана", "photo_url": "http://www.panoramio.com/photo/1284843", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1284843.jpg", "longitude": 157.393055, "latitude": 54.764255, "width": 500, "height": 197, "upload_date": "12 March 2007", "owner_id": 268724, "owner_name": "Korotnev AV", "owner_url": "http://www.panoramio.com/user/268724"} - , - {"photo_id": 2602988, "photo_title": "The best beach of Manihi", "photo_url": "http://www.panoramio.com/photo/2602988", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2602988.jpg", "longitude": -145.847282, "latitude": -14.348134, "width": 500, "height": 333, "upload_date": "06 June 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 2273013, "photo_title": "Another View of Vedra Island", "photo_url": "http://www.panoramio.com/photo/2273013", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2273013.jpg", "longitude": 1.247164, "latitude": 38.859406, "width": 500, "height": 465, "upload_date": "18 May 2007", "owner_id": 213866, "owner_name": "Nicolas Mertens", "owner_url": "http://www.panoramio.com/user/213866"} - , - {"photo_id": 8857011, "photo_title": "The Subway,Zion NP", "photo_url": "http://www.panoramio.com/photo/8857011", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8857011.jpg", "longitude": -113.055840, "latitude": 37.308741, "width": 500, "height": 375, "upload_date": "26 March 2008", "owner_id": 1465912, "owner_name": "funtor", "owner_url": "http://www.panoramio.com/user/1465912"} - , - {"photo_id": 167606, "photo_title": "Rainy Causeway Bay", "photo_url": "http://www.panoramio.com/photo/167606", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/167606.jpg", "longitude": 114.169595, "latitude": 22.293028, "width": 500, "height": 238, "upload_date": "16 December 2006", "owner_id": 31693, "owner_name": "Huw Thomas", "owner_url": "http://www.panoramio.com/user/31693"} - , - {"photo_id": 11077834, "photo_title": "In sunset", "photo_url": "http://www.panoramio.com/photo/11077834", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11077834.jpg", "longitude": 174.865694, "latitude": -41.330162, "width": 500, "height": 357, "upload_date": "10 June 2008", "owner_id": 1248894, "owner_name": "Eva Kaprinay", "owner_url": "http://www.panoramio.com/user/1248894"} - , - {"photo_id": 10919439, "photo_title": "Majestic Møøse", "photo_url": "http://www.panoramio.com/photo/10919439", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10919439.jpg", "longitude": -110.549712, "latitude": 43.866322, "width": 500, "height": 400, "upload_date": "04 June 2008", "owner_id": 376395, "owner_name": "JeffSullivan (www.MyPhotoGuides.com)", "owner_url": "http://www.panoramio.com/user/376395"} - , - {"photo_id": 4892928, "photo_title": "tsukudajima", "photo_url": "http://www.panoramio.com/photo/4892928", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4892928.jpg", "longitude": 139.788172, "latitude": 35.672141, "width": 430, "height": 500, "upload_date": "25 September 2007", "owner_id": 128403, "owner_name": "mechanics", "owner_url": "http://www.panoramio.com/user/128403"} - , - {"photo_id": 5798660, "photo_title": "Guiding Light", "photo_url": "http://www.panoramio.com/photo/5798660", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5798660.jpg", "longitude": -111.374674, "latitude": 36.861974, "width": 333, "height": 500, "upload_date": "08 November 2007", "owner_id": 376395, "owner_name": "JeffSullivan (www.MyPhotoGuides.com)", "owner_url": "http://www.panoramio.com/user/376395"} - , - {"photo_id": 94219, "photo_title": "Bridge of Manganji", "photo_url": "http://www.panoramio.com/photo/94219", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/94219.jpg", "longitude": 137.821137, "latitude": 36.329284, "width": 500, "height": 375, "upload_date": "09 December 2006", "owner_id": 11781, "owner_name": "ANDRE GARDELLA", "owner_url": "http://www.panoramio.com/user/11781"} - , - {"photo_id": 3772695, "photo_title": "Fotomontaggio di Arquata & Andromeda", "photo_url": "http://www.panoramio.com/photo/3772695", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3772695.jpg", "longitude": 13.304100, "latitude": 42.773731, "width": 500, "height": 375, "upload_date": "07 August 2007", "owner_id": 646873, "owner_name": "Fabio Roman", "owner_url": "http://www.panoramio.com/user/646873"} - , - {"photo_id": 1314842, "photo_title": "Река Сим с моста (1729 км)", "photo_url": "http://www.panoramio.com/photo/1314842", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1314842.jpg", "longitude": 57.309623, "latitude": 55.013544, "width": 500, "height": 335, "upload_date": "14 March 2007", "owner_id": 268724, "owner_name": "Korotnev AV", "owner_url": "http://www.panoramio.com/user/268724"} - , - {"photo_id": 5333278, "photo_title": "hong kong, early evening", "photo_url": "http://www.panoramio.com/photo/5333278", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5333278.jpg", "longitude": 114.151651, "latitude": 22.280112, "width": 375, "height": 500, "upload_date": "15 October 2007", "owner_id": 90373, "owner_name": "michael habla", "owner_url": "http://www.panoramio.com/user/90373"} - , - {"photo_id": 2574624, "photo_title": "Mount Everest", "photo_url": "http://www.panoramio.com/photo/2574624", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2574624.jpg", "longitude": 86.933270, "latitude": 27.979546, "width": 500, "height": 375, "upload_date": "04 June 2007", "owner_id": 534045, "owner_name": "Lucjon", "owner_url": "http://www.panoramio.com/user/534045"} - , - {"photo_id": 160808, "photo_title": "Luquillo Beach", "photo_url": "http://www.panoramio.com/photo/160808", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/160808.jpg", "longitude": -65.677128, "latitude": 18.364871, "width": 500, "height": 375, "upload_date": "16 December 2006", "owner_id": 28766, "owner_name": "Tim Jansa", "owner_url": "http://www.panoramio.com/user/28766"} - , - {"photo_id": 2883625, "photo_title": "Sokorói impresszió", "photo_url": "http://www.panoramio.com/photo/2883625", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2883625.jpg", "longitude": 17.678204, "latitude": 47.533661, "width": 500, "height": 332, "upload_date": "22 June 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 287785, "photo_title": "Cascada Fuente del Algar © (Foto_Seb)", "photo_url": "http://www.panoramio.com/photo/287785", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/287785.jpg", "longitude": -0.095959, "latitude": 38.659359, "width": 500, "height": 332, "upload_date": "03 January 2007", "owner_id": 55833, "owner_name": "Sebastien Pigneur Jans (Outdoor Photographer) seolta@terra.es", "owner_url": "http://www.panoramio.com/user/55833"} - , - {"photo_id": 354350, "photo_title": "Bondhus icefall up close", "photo_url": "http://www.panoramio.com/photo/354350", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/354350.jpg", "longitude": 6.296539, "latitude": 60.071436, "width": 500, "height": 332, "upload_date": "09 January 2007", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 3625784, "photo_title": "P.N.P.J.(Croacia)", "photo_url": "http://www.panoramio.com/photo/3625784", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3625784.jpg", "longitude": 15.612602, "latitude": 44.883911, "width": 500, "height": 375, "upload_date": "30 July 2007", "owner_id": 83865, "owner_name": "Epi F.Villanueva", "owner_url": "http://www.panoramio.com/user/83865"} - , - {"photo_id": 4866107, "photo_title": "Milkdrop sunset", "photo_url": "http://www.panoramio.com/photo/4866107", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4866107.jpg", "longitude": 16.693897, "latitude": 43.183338, "width": 334, "height": 500, "upload_date": "24 September 2007", "owner_id": 989, "owner_name": "Mrgud", "owner_url": "http://www.panoramio.com/user/989"} - , - {"photo_id": 5217595, "photo_title": "kolory...", "photo_url": "http://www.panoramio.com/photo/5217595", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5217595.jpg", "longitude": 17.990541, "latitude": 54.253292, "width": 375, "height": 500, "upload_date": "10 October 2007", "owner_id": 277750, "owner_name": "Karolina P.", "owner_url": "http://www.panoramio.com/user/277750"} - , - {"photo_id": 1235515, "photo_title": "Gangga sunset", "photo_url": "http://www.panoramio.com/photo/1235515", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1235515.jpg", "longitude": 115.063634, "latitude": -8.586962, "width": 332, "height": 500, "upload_date": "09 March 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 88143, "photo_title": "Anse Cocos - La Digue - Seychelles", "photo_url": "http://www.panoramio.com/photo/88143", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/88143.jpg", "longitude": 55.850029, "latitude": -4.365924, "width": 500, "height": 375, "upload_date": "28 November 2006", "owner_id": 11098, "owner_name": "Michele Masnata", "owner_url": "http://www.panoramio.com/user/11098"} - , - {"photo_id": 993105, "photo_title": "Dinos", "photo_url": "http://www.panoramio.com/photo/993105", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/993105.jpg", "longitude": 47.267990, "latitude": 34.392321, "width": 432, "height": 500, "upload_date": "24 February 2007", "owner_id": 83972, "owner_name": "Maxim Popov (http://www.popovm.ru)", "owner_url": "http://www.panoramio.com/user/83972"} - , - {"photo_id": 3382098, "photo_title": "Golden sunset", "photo_url": "http://www.panoramio.com/photo/3382098", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3382098.jpg", "longitude": -9.231960, "latitude": 38.652899, "width": 500, "height": 375, "upload_date": "18 July 2007", "owner_id": 465080, "owner_name": "Vasco Pires", "owner_url": "http://www.panoramio.com/user/465080"} - , - {"photo_id": 4689747, "photo_title": "La disipación de un ensueño", "photo_url": "http://www.panoramio.com/photo/4689747", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4689747.jpg", "longitude": -73.231199, "latitude": -39.817288, "width": 500, "height": 375, "upload_date": "16 September 2007", "owner_id": 327310, "owner_name": "Erwin Woenckhaus", "owner_url": "http://www.panoramio.com/user/327310"} - , - {"photo_id": 2520917, "photo_title": "Két vihar közt alkonyatkor", "photo_url": "http://www.panoramio.com/photo/2520917", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2520917.jpg", "longitude": 17.514782, "latitude": 47.747057, "width": 500, "height": 334, "upload_date": "02 June 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 419927, "photo_title": "echigoheiya", "photo_url": "http://www.panoramio.com/photo/419927", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/419927.jpg", "longitude": 138.885427, "latitude": 37.568562, "width": 500, "height": 334, "upload_date": "14 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 1977433, "photo_title": "Victoria Falls, devils cauldron natural hot tub at lip of falls", "photo_url": "http://www.panoramio.com/photo/1977433", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1977433.jpg", "longitude": 25.853426, "latitude": -17.923924, "width": 500, "height": 375, "upload_date": "29 April 2007", "owner_id": 165455, "owner_name": "snorth", "owner_url": "http://www.panoramio.com/user/165455"} - , - {"photo_id": 3417691, "photo_title": "Völgy-Zugoly", "photo_url": "http://www.panoramio.com/photo/3417691", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3417691.jpg", "longitude": 17.826734, "latitude": 47.359293, "width": 500, "height": 346, "upload_date": "20 July 2007", "owner_id": 689769, "owner_name": "Ponty István", "owner_url": "http://www.panoramio.com/user/689769"} - , - {"photo_id": 4166241, "photo_title": "Egy másik világ", "photo_url": "http://www.panoramio.com/photo/4166241", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4166241.jpg", "longitude": 18.056545, "latitude": 47.276667, "width": 333, "height": 500, "upload_date": "25 August 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 3976033, "photo_title": "Sunrise Blüemlisalp Switzerland", "photo_url": "http://www.panoramio.com/photo/3976033", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3976033.jpg", "longitude": 7.779844, "latitude": 46.528974, "width": 500, "height": 333, "upload_date": "16 August 2007", "owner_id": 47930, "owner_name": "werni", "owner_url": "http://www.panoramio.com/user/47930"} - , - {"photo_id": 1449570, "photo_title": "Akabat", "photo_url": "http://www.panoramio.com/photo/1449570", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1449570.jpg", "longitude": 28.286717, "latitude": 27.484675, "width": 500, "height": 304, "upload_date": "22 March 2007", "owner_id": 304324, "owner_name": "OxyPhoto.ru - O x y", "owner_url": "http://www.panoramio.com/user/304324"} - , - {"photo_id": 8802, "photo_title": "Statue of Liberty [003393]", "photo_url": "http://www.panoramio.com/photo/8802", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8802.jpg", "longitude": -74.044375, "latitude": 40.688871, "width": 500, "height": 375, "upload_date": "27 January 2006", "owner_id": 1489, "owner_name": "Thorsten", "owner_url": "http://www.panoramio.com/user/1489"} - , - {"photo_id": 6015859, "photo_title": "Amazing place to drink ouzo", "photo_url": "http://www.panoramio.com/photo/6015859", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6015859.jpg", "longitude": 23.057030, "latitude": 36.687990, "width": 500, "height": 333, "upload_date": "19 November 2007", "owner_id": 242446, "owner_name": "Ntinos Lagos", "owner_url": "http://www.panoramio.com/user/242446"} - , - {"photo_id": 653941, "photo_title": "Mt. Moran across Jackson Lake", "photo_url": "http://www.panoramio.com/photo/653941", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/653941.jpg", "longitude": -110.656099, "latitude": 43.897336, "width": 500, "height": 374, "upload_date": "02 February 2007", "owner_id": 87752, "owner_name": "Richard Ryer", "owner_url": "http://www.panoramio.com/user/87752"} - , - {"photo_id": 354695, "photo_title": "Dresden_Zwinger_01", "photo_url": "http://www.panoramio.com/photo/354695", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/354695.jpg", "longitude": 13.734369, "latitude": 51.053481, "width": 399, "height": 500, "upload_date": "09 January 2007", "owner_id": 71628, "owner_name": "Ulrich Hässler, Dresden", "owner_url": "http://www.panoramio.com/user/71628"} - , - {"photo_id": 8327051, "photo_title": "Anelito di .... luce", "photo_url": "http://www.panoramio.com/photo/8327051", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8327051.jpg", "longitude": 13.717203, "latitude": 45.699706, "width": 500, "height": 375, "upload_date": "06 March 2008", "owner_id": 1121720, "owner_name": "▬ Mauro Antonini ▬", "owner_url": "http://www.panoramio.com/user/1121720"} - , - {"photo_id": 522126, "photo_title": "Íme a ludas hogy Márton lemaradt", "photo_url": "http://www.panoramio.com/photo/522126", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/522126.jpg", "longitude": 16.855431, "latitude": 47.653594, "width": 500, "height": 319, "upload_date": "21 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 3948179, "photo_title": " petit matin en Vendée, sur la rive droite du Jaunay, 11 août 2007. #921, 933", "photo_url": "http://www.panoramio.com/photo/3948179", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3948179.jpg", "longitude": -1.901278, "latitude": 46.663487, "width": 500, "height": 343, "upload_date": "15 August 2007", "owner_id": 666755, "owner_name": "Armagnac", "owner_url": "http://www.panoramio.com/user/666755"} - , - {"photo_id": 1781399, "photo_title": "Dawn in Yosemite Valley", "photo_url": "http://www.panoramio.com/photo/1781399", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1781399.jpg", "longitude": -119.590645, "latitude": 37.743775, "width": 333, "height": 500, "upload_date": "15 April 2007", "owner_id": 376395, "owner_name": "JeffSullivan (www.MyPhotoGuides.com)", "owner_url": "http://www.panoramio.com/user/376395"} - , - {"photo_id": 905112, "photo_title": "Searea buildings in Odaiba", "photo_url": "http://www.panoramio.com/photo/905112", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/905112.jpg", "longitude": 139.773039, "latitude": 35.635670, "width": 500, "height": 372, "upload_date": "19 February 2007", "owner_id": 78856, "owner_name": "chrisjongkind • archive", "owner_url": "http://www.panoramio.com/user/78856"} - , - {"photo_id": 6935706, "photo_title": "poranek w ogniu - morning on fire", "photo_url": "http://www.panoramio.com/photo/6935706", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6935706.jpg", "longitude": 20.319901, "latitude": 49.730028, "width": 500, "height": 332, "upload_date": "06 January 2008", "owner_id": 454219, "owner_name": "Rafal Ociepka", "owner_url": "http://www.panoramio.com/user/454219"} - , - {"photo_id": 29606, "photo_title": "Romance entre el Agua y la Roca", "photo_url": "http://www.panoramio.com/photo/29606", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/29606.jpg", "longitude": -64.859161, "latitude": -31.991480, "width": 500, "height": 375, "upload_date": "01 July 2006", "owner_id": 4483, "owner_name": "Miguel Coranti", "owner_url": "http://www.panoramio.com/user/4483"} - , - {"photo_id": 58290, "photo_title": "Taurachbahn", "photo_url": "http://www.panoramio.com/photo/58290", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/58290.jpg", "longitude": 13.688021, "latitude": 47.130418, "width": 500, "height": 369, "upload_date": "07 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 44982, "photo_title": "Paris200412PJDSC_9304l", "photo_url": "http://www.panoramio.com/photo/44982", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/44982.jpg", "longitude": 2.301636, "latitude": 48.853760, "width": 500, "height": 332, "upload_date": "02 September 2006", "owner_id": 6703, "owner_name": "Peter Jansen", "owner_url": "http://www.panoramio.com/user/6703"} - , - {"photo_id": 532669, "photo_title": "Closeup of wheatfield in november", "photo_url": "http://www.panoramio.com/photo/532669", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/532669.jpg", "longitude": 11.276093, "latitude": 59.644239, "width": 375, "height": 500, "upload_date": "22 January 2007", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 723648, "photo_title": "Elk near Jasper", "photo_url": "http://www.panoramio.com/photo/723648", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/723648.jpg", "longitude": -118.046207, "latitude": 52.923290, "width": 500, "height": 332, "upload_date": "07 February 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 535234, "photo_title": "Cathedral Cove near Hahei, New Zealand", "photo_url": "http://www.panoramio.com/photo/535234", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/535234.jpg", "longitude": 175.790222, "latitude": -36.828611, "width": 500, "height": 375, "upload_date": "22 January 2007", "owner_id": 101257, "owner_name": "Denis Campbell", "owner_url": "http://www.panoramio.com/user/101257"} - , - {"photo_id": 15299, "photo_title": "Bodrum Sunset", "photo_url": "http://www.panoramio.com/photo/15299", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/15299.jpg", "longitude": 27.425308, "latitude": 37.028595, "width": 500, "height": 375, "upload_date": "19 March 2006", "owner_id": 2351, "owner_name": "Serdar Bilecen", "owner_url": "http://www.panoramio.com/user/2351"} - , - {"photo_id": 1932227, "photo_title": "Mono Lake 3", "photo_url": "http://www.panoramio.com/photo/1932227", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1932227.jpg", "longitude": -119.023819, "latitude": 37.940068, "width": 333, "height": 500, "upload_date": "26 April 2007", "owner_id": 40260, "owner_name": "Don Albonico", "owner_url": "http://www.panoramio.com/user/40260"} - , - {"photo_id": 744906, "photo_title": "Tsukahara Highland", "photo_url": "http://www.panoramio.com/photo/744906", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/744906.jpg", "longitude": 131.403952, "latitude": 33.320201, "width": 500, "height": 375, "upload_date": "08 February 2007", "owner_id": 11781, "owner_name": "ANDRE GARDELLA", "owner_url": "http://www.panoramio.com/user/11781"} - , - {"photo_id": 490198, "photo_title": "Jal Mahal, Jaipur", "photo_url": "http://www.panoramio.com/photo/490198", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/490198.jpg", "longitude": 75.842797, "latitude": 26.954571, "width": 500, "height": 403, "upload_date": "19 January 2007", "owner_id": 10456, "owner_name": "eulogio", "owner_url": "http://www.panoramio.com/user/10456"} - , - {"photo_id": 451032, "photo_title": "Mono Lake", "photo_url": "http://www.panoramio.com/photo/451032", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/451032.jpg", "longitude": -119.017537, "latitude": 37.941803, "width": 363, "height": 500, "upload_date": "16 January 2007", "owner_id": 93560, "owner_name": "Alex Petrov", "owner_url": "http://www.panoramio.com/user/93560"} - , - {"photo_id": 5808345, "photo_title": "Majesty in the snow", "photo_url": "http://www.panoramio.com/photo/5808345", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5808345.jpg", "longitude": 9.944987, "latitude": 48.684866, "width": 367, "height": 500, "upload_date": "09 November 2007", "owner_id": 424589, "owner_name": "PeSchn", "owner_url": "http://www.panoramio.com/user/424589"} - , - {"photo_id": 2718436, "photo_title": "BKCC view northwest", "photo_url": "http://www.panoramio.com/photo/2718436", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2718436.jpg", "longitude": 139.752048, "latitude": 35.708102, "width": 500, "height": 365, "upload_date": "12 June 2007", "owner_id": 558055, "owner_name": "www.tokyoform.com", "owner_url": "http://www.panoramio.com/user/558055"} - , - {"photo_id": 5446639, "photo_title": "Осень", "photo_url": "http://www.panoramio.com/photo/5446639", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5446639.jpg", "longitude": 23.824694, "latitude": 53.680547, "width": 500, "height": 375, "upload_date": "21 October 2007", "owner_id": 937915, "owner_name": "HiV", "owner_url": "http://www.panoramio.com/user/937915"} - , - {"photo_id": 3393267, "photo_title": "Barco hundido (pecio) /Shipwreck /épave ", "photo_url": "http://www.panoramio.com/photo/3393267", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3393267.jpg", "longitude": -81.680587, "latitude": 45.255181, "width": 329, "height": 500, "upload_date": "18 July 2007", "owner_id": 401966, "owner_name": "Syl de Canada", "owner_url": "http://www.panoramio.com/user/401966"} - , - {"photo_id": 4369140, "photo_title": "Beach on Håja", "photo_url": "http://www.panoramio.com/photo/4369140", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4369140.jpg", "longitude": 18.096886, "latitude": 69.740825, "width": 500, "height": 375, "upload_date": "03 September 2007", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 3711738, "photo_title": "Safe", "photo_url": "http://www.panoramio.com/photo/3711738", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3711738.jpg", "longitude": 1.787220, "latitude": 41.224610, "width": 500, "height": 375, "upload_date": "04 August 2007", "owner_id": 138691, "owner_name": "Josep Maria Alegre", "owner_url": "http://www.panoramio.com/user/138691"} - , - {"photo_id": 7415554, "photo_title": "Sunrise at Hae-keum-gang, Korea", "photo_url": "http://www.panoramio.com/photo/7415554", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7415554.jpg", "longitude": 128.605957, "latitude": 34.698719, "width": 500, "height": 500, "upload_date": "28 January 2008", "owner_id": 1221287, "owner_name": "TS Jeung", "owner_url": "http://www.panoramio.com/user/1221287"} - , - {"photo_id": 10129080, "photo_title": "Polish Silesia sunset.", "photo_url": "http://www.panoramio.com/photo/10129080", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10129080.jpg", "longitude": 18.819752, "latitude": 49.789798, "width": 500, "height": 335, "upload_date": "11 May 2008", "owner_id": 548131, "owner_name": "murart", "owner_url": "http://www.panoramio.com/user/548131"} - , - {"photo_id": 11827263, "photo_title": ": Casa Rustica", "photo_url": "http://www.panoramio.com/photo/11827263", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11827263.jpg", "longitude": -8.644395, "latitude": 42.795039, "width": 500, "height": 375, "upload_date": "05 July 2008", "owner_id": 546858, "owner_name": "Lazariparcero", "owner_url": "http://www.panoramio.com/user/546858"} - , - {"photo_id": 9185096, "photo_title": "E per cambiare... oggi è nevicato ! 07.04.2008", "photo_url": "http://www.panoramio.com/photo/9185096", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9185096.jpg", "longitude": 11.469633, "latitude": 46.304547, "width": 500, "height": 375, "upload_date": "07 April 2008", "owner_id": 6033, "owner_name": "► Marco Vanzo", "owner_url": "http://www.panoramio.com/user/6033"} - , - {"photo_id": 691, "photo_title": "Monasterio de Santa Catalina. Arequipa, Perú", "photo_url": "http://www.panoramio.com/photo/691", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/691.jpg", "longitude": -71.536671, "latitude": -16.395835, "width": 500, "height": 375, "upload_date": "05 October 2005", "owner_id": 7, "owner_name": "Eduardo Manchón", "owner_url": "http://www.panoramio.com/user/7"} - , - {"photo_id": 672525, "photo_title": "Pyramid", "photo_url": "http://www.panoramio.com/photo/672525", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/672525.jpg", "longitude": 31.132421, "latitude": 29.978283, "width": 500, "height": 474, "upload_date": "03 February 2007", "owner_id": 123698, "owner_name": "© Kojak", "owner_url": "http://www.panoramio.com/user/123698"} - , - {"photo_id": 275730, "photo_title": "Oberalp - 2033 m", "photo_url": "http://www.panoramio.com/photo/275730", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/275730.jpg", "longitude": 8.668191, "latitude": 46.661528, "width": 500, "height": 333, "upload_date": "01 January 2007", "owner_id": 57869, "owner_name": "NAGY Albert", "owner_url": "http://www.panoramio.com/user/57869"} - , - {"photo_id": 3661332, "photo_title": "Angkor - Temple vs Trees", "photo_url": "http://www.panoramio.com/photo/3661332", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3661332.jpg", "longitude": 103.855079, "latitude": 13.449099, "width": 500, "height": 461, "upload_date": "01 August 2007", "owner_id": 73104, "owner_name": "zerega", "owner_url": "http://www.panoramio.com/user/73104"} - , - {"photo_id": 336151, "photo_title": "Lake north of Tupaassat", "photo_url": "http://www.panoramio.com/photo/336151", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/336151.jpg", "longitude": -44.307861, "latitude": 60.376030, "width": 500, "height": 333, "upload_date": "07 January 2007", "owner_id": 62557, "owner_name": "Dirk Jenrich", "owner_url": "http://www.panoramio.com/user/62557"} - , - {"photo_id": 423705, "photo_title": "Bouche du Pu`u `Ō`ō", "photo_url": "http://www.panoramio.com/photo/423705", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/423705.jpg", "longitude": -155.106182, "latitude": 19.390101, "width": 500, "height": 349, "upload_date": "14 January 2007", "owner_id": 75602, "owner_name": "Lloulhy", "owner_url": "http://www.panoramio.com/user/75602"} - , - {"photo_id": 1344795, "photo_title": "Tree in a field, Aerial", "photo_url": "http://www.panoramio.com/photo/1344795", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1344795.jpg", "longitude": 12.058611, "latitude": 55.471581, "width": 500, "height": 332, "upload_date": "16 March 2007", "owner_id": 278074, "owner_name": "H. C. Steensen", "owner_url": "http://www.panoramio.com/user/278074"} - , - {"photo_id": 5591839, "photo_title": "Can I touch the clouds?", "photo_url": "http://www.panoramio.com/photo/5591839", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5591839.jpg", "longitude": 130.689411, "latitude": 33.305569, "width": 333, "height": 500, "upload_date": "28 October 2007", "owner_id": 775356, "owner_name": "ascesis.image", "owner_url": "http://www.panoramio.com/user/775356"} - , - {"photo_id": 5476386, "photo_title": "Nuages crépusculaires sur le Lauterbrunnental", "photo_url": "http://www.panoramio.com/photo/5476386", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5476386.jpg", "longitude": 7.908010, "latitude": 46.592490, "width": 500, "height": 375, "upload_date": "22 October 2007", "owner_id": 359127, "owner_name": "wx", "owner_url": "http://www.panoramio.com/user/359127"} - , - {"photo_id": 459556, "photo_title": "minatopia", "photo_url": "http://www.panoramio.com/photo/459556", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/459556.jpg", "longitude": 139.058182, "latitude": 37.930041, "width": 381, "height": 500, "upload_date": "16 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 1407525, "photo_title": "Mackinac Bridge, Michigan", "photo_url": "http://www.panoramio.com/photo/1407525", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1407525.jpg", "longitude": -84.729652, "latitude": 45.788250, "width": 500, "height": 313, "upload_date": "20 March 2007", "owner_id": 60173, "owner_name": "Lars Jensen", "owner_url": "http://www.panoramio.com/user/60173"} - , - {"photo_id": 74790, "photo_title": "kang taiga with moon in sunset", "photo_url": "http://www.panoramio.com/photo/74790", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/74790.jpg", "longitude": 86.830101, "latitude": 27.811750, "width": 500, "height": 334, "upload_date": "03 November 2006", "owner_id": 9812, "owner_name": "wsm earp", "owner_url": "http://www.panoramio.com/user/9812"} - , - {"photo_id": 4025902, "photo_title": "Coloured Poznań ", "photo_url": "http://www.panoramio.com/photo/4025902", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4025902.jpg", "longitude": 16.934255, "latitude": 52.407878, "width": 500, "height": 316, "upload_date": "19 August 2007", "owner_id": 369127, "owner_name": "♥ Caterpillar", "owner_url": "http://www.panoramio.com/user/369127"} - , - {"photo_id": 88121, "photo_title": "View from Punta Martin - Liguria - Italy", "photo_url": "http://www.panoramio.com/photo/88121", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/88121.jpg", "longitude": 8.795028, "latitude": 44.468489, "width": 500, "height": 375, "upload_date": "28 November 2006", "owner_id": 11098, "owner_name": "Michele Masnata", "owner_url": "http://www.panoramio.com/user/11098"} - , - {"photo_id": 8214845, "photo_title": "Molino Albolafia,cauce del Guadalquivir(Córdoba)", "photo_url": "http://www.panoramio.com/photo/8214845", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8214845.jpg", "longitude": -4.780898, "latitude": 37.876242, "width": 500, "height": 375, "upload_date": "01 March 2008", "owner_id": 83865, "owner_name": "Epi F.Villanueva", "owner_url": "http://www.panoramio.com/user/83865"} - , - {"photo_id": 23364, "photo_title": "Alanya, Taurus-Mountains of Kemer", "photo_url": "http://www.panoramio.com/photo/23364", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/23364.jpg", "longitude": 31.979656, "latitude": 36.548466, "width": 500, "height": 375, "upload_date": "10 June 2006", "owner_id": 3760, "owner_name": "Frank Pustlauck", "owner_url": "http://www.panoramio.com/user/3760"} - , - {"photo_id": 6128452, "photo_title": "В осеннем парке - In autumn park", "photo_url": "http://www.panoramio.com/photo/6128452", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6128452.jpg", "longitude": 37.458926, "latitude": 55.737422, "width": 500, "height": 500, "upload_date": "25 November 2007", "owner_id": 244932, "owner_name": "Andrey Jitkov", "owner_url": "http://www.panoramio.com/user/244932"} - , - {"photo_id": 4356679, "photo_title": "Old Santa Fe Caboose", "photo_url": "http://www.panoramio.com/photo/4356679", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4356679.jpg", "longitude": -119.699687, "latitude": 36.707083, "width": 500, "height": 335, "upload_date": "03 September 2007", "owner_id": 339677, "owner_name": "Chip Stephan", "owner_url": "http://www.panoramio.com/user/339677"} - , - {"photo_id": 436312, "photo_title": "tokimesse", "photo_url": "http://www.panoramio.com/photo/436312", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/436312.jpg", "longitude": 139.059105, "latitude": 37.932013, "width": 396, "height": 500, "upload_date": "15 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 1089381, "photo_title": "Szabadon szélben", "photo_url": "http://www.panoramio.com/photo/1089381", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1089381.jpg", "longitude": 17.604561, "latitude": 47.588799, "width": 332, "height": 500, "upload_date": "28 February 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 5667175, "photo_title": "Northen Lights", "photo_url": "http://www.panoramio.com/photo/5667175", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5667175.jpg", "longitude": 28.482399, "latitude": 66.227860, "width": 500, "height": 333, "upload_date": "01 November 2007", "owner_id": 897591, "owner_name": "markku pirttimaa www.karhukuusamo.com", "owner_url": "http://www.panoramio.com/user/897591"} - , - {"photo_id": 1317737, "photo_title": "Bora Bora", "photo_url": "http://www.panoramio.com/photo/1317737", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1317737.jpg", "longitude": -151.739988, "latitude": -16.538715, "width": 500, "height": 351, "upload_date": "14 March 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 993129, "photo_title": "Würzburg", "photo_url": "http://www.panoramio.com/photo/993129", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/993129.jpg", "longitude": 9.931523, "latitude": 49.793310, "width": 500, "height": 395, "upload_date": "24 February 2007", "owner_id": 83972, "owner_name": "Maxim Popov (http://www.popovm.ru)", "owner_url": "http://www.panoramio.com/user/83972"} - , - {"photo_id": 1836922, "photo_title": "Fountain Place / Dallas / Texas", "photo_url": "http://www.panoramio.com/photo/1836922", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1836922.jpg", "longitude": -96.802940, "latitude": 32.785236, "width": 500, "height": 405, "upload_date": "19 April 2007", "owner_id": 57778, "owner_name": "William Lile", "owner_url": "http://www.panoramio.com/user/57778"} - , - {"photo_id": 3409786, "photo_title": "Molinos de Elguea con Gorbea al fondo", "photo_url": "http://www.panoramio.com/photo/3409786", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3409786.jpg", "longitude": -2.325025, "latitude": 42.951271, "width": 500, "height": 303, "upload_date": "19 July 2007", "owner_id": 129297, "owner_name": "Enrique Ortiz de Zárate", "owner_url": "http://www.panoramio.com/user/129297"} - , - {"photo_id": 476284, "photo_title": "Place \"Poda\"", "photo_url": "http://www.panoramio.com/photo/476284", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/476284.jpg", "longitude": 27.471657, "latitude": 42.447655, "width": 500, "height": 357, "upload_date": "18 January 2007", "owner_id": 16880, "owner_name": "evgenidinev.com", "owner_url": "http://www.panoramio.com/user/16880"} - , - {"photo_id": 3499645, "photo_title": "Tükör-kép", "photo_url": "http://www.panoramio.com/photo/3499645", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3499645.jpg", "longitude": 17.503667, "latitude": 47.843522, "width": 500, "height": 333, "upload_date": "24 July 2007", "owner_id": 689769, "owner_name": "Ponty István", "owner_url": "http://www.panoramio.com/user/689769"} - , - {"photo_id": 1419901, "photo_title": "Øresundsbroen seen from Sweden (The Dragon Tail), Aerial", "photo_url": "http://www.panoramio.com/photo/1419901", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1419901.jpg", "longitude": 12.885418, "latitude": 55.566213, "width": 332, "height": 500, "upload_date": "20 March 2007", "owner_id": 278074, "owner_name": "H. C. Steensen", "owner_url": "http://www.panoramio.com/user/278074"} - , - {"photo_id": 441727, "photo_title": "Фортеця у Кам'янці-Подільському", "photo_url": "http://www.panoramio.com/photo/441727", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/441727.jpg", "longitude": 26.563311, "latitude": 48.672486, "width": 375, "height": 500, "upload_date": "15 January 2007", "owner_id": 13058, "owner_name": "Kyryl", "owner_url": "http://www.panoramio.com/user/13058"} - , - {"photo_id": 309122, "photo_title": "Standing Stone, Spittal of Glenshee", "photo_url": "http://www.panoramio.com/photo/309122", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/309122.jpg", "longitude": -3.461593, "latitude": 56.814745, "width": 500, "height": 332, "upload_date": "05 January 2007", "owner_id": 64815, "owner_name": "PigleT", "owner_url": "http://www.panoramio.com/user/64815"} - , - {"photo_id": 2599560, "photo_title": "Isigaki Island Hirakubosaki lighthouse 石垣島 平久保崎灯台", "photo_url": "http://www.panoramio.com/photo/2599560", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2599560.jpg", "longitude": 124.315994, "latitude": 24.610064, "width": 500, "height": 328, "upload_date": "06 June 2007", "owner_id": 446937, "owner_name": "y_komatsu", "owner_url": "http://www.panoramio.com/user/446937"} - , - {"photo_id": 6545801, "photo_title": "Front Range of the Canadian Rocky Mountains", "photo_url": "http://www.panoramio.com/photo/6545801", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6545801.jpg", "longitude": -115.248213, "latitude": 51.026389, "width": 500, "height": 338, "upload_date": "18 December 2007", "owner_id": 85489, "owner_name": "Bruce MacIver", "owner_url": "http://www.panoramio.com/user/85489"} - , - {"photo_id": 1254026, "photo_title": "Hagia Sophia (inside)", "photo_url": "http://www.panoramio.com/photo/1254026", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1254026.jpg", "longitude": 28.979831, "latitude": 41.008548, "width": 500, "height": 408, "upload_date": "10 March 2007", "owner_id": 258322, "owner_name": "www.tatjana.ingold.ch", "owner_url": "http://www.panoramio.com/user/258322"} - , - {"photo_id": 911501, "photo_title": "View from Nordenskiöldtoppen, Svalbard", "photo_url": "http://www.panoramio.com/photo/911501", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/911501.jpg", "longitude": 15.402832, "latitude": 78.184088, "width": 500, "height": 308, "upload_date": "20 February 2007", "owner_id": 66734, "owner_name": "Svein Solhaug", "owner_url": "http://www.panoramio.com/user/66734"} - , - {"photo_id": 3797140, "photo_title": "Mas Francesc", "photo_url": "http://www.panoramio.com/photo/3797140", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3797140.jpg", "longitude": 2.408388, "latitude": 41.962346, "width": 500, "height": 332, "upload_date": "08 August 2007", "owner_id": 756267, "owner_name": "Albert Codina", "owner_url": "http://www.panoramio.com/user/756267"} - , - {"photo_id": 150165, "photo_title": "Aso crater from the air", "photo_url": "http://www.panoramio.com/photo/150165", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/150165.jpg", "longitude": 131.083159, "latitude": 32.885390, "width": 500, "height": 375, "upload_date": "14 December 2006", "owner_id": 11781, "owner_name": "ANDRE GARDELLA", "owner_url": "http://www.panoramio.com/user/11781"} - , - {"photo_id": 532631, "photo_title": "Last bath in Oslofjorden - self portrait", "photo_url": "http://www.panoramio.com/photo/532631", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/532631.jpg", "longitude": 10.782223, "latitude": 59.854773, "width": 500, "height": 205, "upload_date": "22 January 2007", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 3978149, "photo_title": "Les Mines 3", "photo_url": "http://www.panoramio.com/photo/3978149", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3978149.jpg", "longitude": 1.315312, "latitude": 45.921961, "width": 500, "height": 500, "upload_date": "16 August 2007", "owner_id": 372189, "owner_name": "Phil©", "owner_url": "http://www.panoramio.com/user/372189"} - , - {"photo_id": 848807, "photo_title": "mystic morning", "photo_url": "http://www.panoramio.com/photo/848807", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/848807.jpg", "longitude": 10.144372, "latitude": 54.323031, "width": 375, "height": 500, "upload_date": "17 February 2007", "owner_id": 73946, "owner_name": "pembo", "owner_url": "http://www.panoramio.com/user/73946"} - , - {"photo_id": 4097972, "photo_title": "Dry Land", "photo_url": "http://www.panoramio.com/photo/4097972", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4097972.jpg", "longitude": 25.936694, "latitude": 41.660906, "width": 500, "height": 333, "upload_date": "22 August 2007", "owner_id": 16880, "owner_name": "evgenidinev.com", "owner_url": "http://www.panoramio.com/user/16880"} - , - {"photo_id": 479927, "photo_title": "Monterosso at night", "photo_url": "http://www.panoramio.com/photo/479927", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/479927.jpg", "longitude": 9.655094, "latitude": 44.144461, "width": 500, "height": 357, "upload_date": "18 January 2007", "owner_id": 100907, "owner_name": "Julia Wahl", "owner_url": "http://www.panoramio.com/user/100907"} - , - {"photo_id": 50872, "photo_title": "Düne 40 auf dem Weg nach Sossusvlei ...", "photo_url": "http://www.panoramio.com/photo/50872", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/50872.jpg", "longitude": 15.593033, "latitude": -24.720950, "width": 500, "height": 192, "upload_date": "22 September 2006", "owner_id": 7434, "owner_name": "baldinger reisen ag, waedenswil/switzerland", "owner_url": "http://www.panoramio.com/user/7434"} - , - {"photo_id": 2903483, "photo_title": "Reggeli", "photo_url": "http://www.panoramio.com/photo/2903483", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2903483.jpg", "longitude": 17.469549, "latitude": 47.868977, "width": 410, "height": 500, "upload_date": "23 June 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 4226249, "photo_title": "Rainbow", "photo_url": "http://www.panoramio.com/photo/4226249", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4226249.jpg", "longitude": 9.615569, "latitude": 62.529150, "width": 500, "height": 230, "upload_date": "27 August 2007", "owner_id": 223406, "owner_name": "Sigmund Rise", "owner_url": "http://www.panoramio.com/user/223406"} - , - {"photo_id": 2267849, "photo_title": "Rayos vistos desde mi ventana", "photo_url": "http://www.panoramio.com/photo/2267849", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2267849.jpg", "longitude": -89.203963, "latitude": 13.728734, "width": 500, "height": 375, "upload_date": "17 May 2007", "owner_id": 170919, "owner_name": "Wilber Calderón - El Salvador", "owner_url": "http://www.panoramio.com/user/170919"} - , - {"photo_id": 459470, "photo_title": "bandaibashi4", "photo_url": "http://www.panoramio.com/photo/459470", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/459470.jpg", "longitude": 139.051123, "latitude": 37.919081, "width": 500, "height": 399, "upload_date": "16 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 5279707, "photo_title": "Jægervasstindane", "photo_url": "http://www.panoramio.com/photo/5279707", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5279707.jpg", "longitude": 19.651279, "latitude": 69.771296, "width": 500, "height": 375, "upload_date": "13 October 2007", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 1057758, "photo_title": "Giant dragonfly in rice field", "photo_url": "http://www.panoramio.com/photo/1057758", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1057758.jpg", "longitude": 137.115641, "latitude": 34.862834, "width": 500, "height": 375, "upload_date": "27 February 2007", "owner_id": 11781, "owner_name": "ANDRE GARDELLA", "owner_url": "http://www.panoramio.com/user/11781"} - , - {"photo_id": 479454, "photo_title": "Morning sun over lake Øymarksjøen", "photo_url": "http://www.panoramio.com/photo/479454", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/479454.jpg", "longitude": 11.637611, "latitude": 59.338617, "width": 333, "height": 500, "upload_date": "18 January 2007", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 87263, "photo_title": "Payun - Mendoza - Argentina", "photo_url": "http://www.panoramio.com/photo/87263", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/87263.jpg", "longitude": -69.280128, "latitude": -36.643080, "width": 500, "height": 333, "upload_date": "27 November 2006", "owner_id": 8409, "owner_name": "Hector Fabian Garrido", "owner_url": "http://www.panoramio.com/user/8409"} - , - {"photo_id": 11430112, "photo_title": "Tramonto dalla Pietra Parcellara", "photo_url": "http://www.panoramio.com/photo/11430112", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11430112.jpg", "longitude": 9.476480, "latitude": 44.843334, "width": 500, "height": 375, "upload_date": "22 June 2008", "owner_id": 22921, "owner_name": "Francesco Favalesi - VAL LURETTA", "owner_url": "http://www.panoramio.com/user/22921"} - , - {"photo_id": 33760, "photo_title": "Yu Yuan Gardens", "photo_url": "http://www.panoramio.com/photo/33760", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/33760.jpg", "longitude": 121.487803, "latitude": 31.228821, "width": 500, "height": 375, "upload_date": "21 July 2006", "owner_id": 5168, "owner_name": "Markus Källander", "owner_url": "http://www.panoramio.com/user/5168"} - , - {"photo_id": 1935332, "photo_title": "Lafayette", "photo_url": "http://www.panoramio.com/photo/1935332", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1935332.jpg", "longitude": 2.311839, "latitude": 48.864475, "width": 384, "height": 500, "upload_date": "26 April 2007", "owner_id": 372189, "owner_name": "Phil©", "owner_url": "http://www.panoramio.com/user/372189"} - , - {"photo_id": 2558954, "photo_title": "Two Thumbs Morning", "photo_url": "http://www.panoramio.com/photo/2558954", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2558954.jpg", "longitude": 170.463352, "latitude": -43.999792, "width": 500, "height": 400, "upload_date": "04 June 2007", "owner_id": 286729, "owner_name": "jimwitkowski", "owner_url": "http://www.panoramio.com/user/286729"} - , - {"photo_id": 94190, "photo_title": "morning light", "photo_url": "http://www.panoramio.com/photo/94190", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/94190.jpg", "longitude": 138.362846, "latitude": 35.981896, "width": 500, "height": 375, "upload_date": "09 December 2006", "owner_id": 11781, "owner_name": "ANDRE GARDELLA", "owner_url": "http://www.panoramio.com/user/11781"} - , - {"photo_id": 1283054, "photo_title": "Panorama - Bahia desde la playa", "photo_url": "http://www.panoramio.com/photo/1283054", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1283054.jpg", "longitude": -1.990094, "latitude": 43.316053, "width": 500, "height": 167, "upload_date": "12 March 2007", "owner_id": 218075, "owner_name": "fotoramas", "owner_url": "http://www.panoramio.com/user/218075"} - , - {"photo_id": 2541040, "photo_title": "Színförgeteg", "photo_url": "http://www.panoramio.com/photo/2541040", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2541040.jpg", "longitude": 17.506886, "latitude": 47.744403, "width": 500, "height": 334, "upload_date": "03 June 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 837872, "photo_title": "Midnight Sunset", "photo_url": "http://www.panoramio.com/photo/837872", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/837872.jpg", "longitude": -14.670181, "latitude": 65.142363, "width": 500, "height": 333, "upload_date": "16 February 2007", "owner_id": 175423, "owner_name": "Fabien Barrau", "owner_url": "http://www.panoramio.com/user/175423"} - , - {"photo_id": 1706995, "photo_title": "Cantera de Manresa", "photo_url": "http://www.panoramio.com/photo/1706995", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1706995.jpg", "longitude": 3.131152, "latitude": 39.868942, "width": 335, "height": 500, "upload_date": "09 April 2007", "owner_id": 61890, "owner_name": "enriquevidalphoto.com", "owner_url": "http://www.panoramio.com/user/61890"} - , - {"photo_id": 575731, "photo_title": "Le Mont Saint-Michel (Francia)", "photo_url": "http://www.panoramio.com/photo/575731", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/575731.jpg", "longitude": -1.498604, "latitude": 48.636085, "width": 500, "height": 334, "upload_date": "26 January 2007", "owner_id": 38814, "owner_name": "Romeo Ferrari", "owner_url": "http://www.panoramio.com/user/38814"} - , - {"photo_id": 1960951, "photo_title": "Utah Autumn Aspen", "photo_url": "http://www.panoramio.com/photo/1960951", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1960951.jpg", "longitude": -111.620750, "latitude": 40.441721, "width": 500, "height": 332, "upload_date": "28 April 2007", "owner_id": 107359, "owner_name": "Ron Cooper", "owner_url": "http://www.panoramio.com/user/107359"} - , - {"photo_id": 162298, "photo_title": "Nuvole (Effetto Dio) sopra Marano Ticino (2 of 2), settembre 2005", "photo_url": "http://www.panoramio.com/photo/162298", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/162298.jpg", "longitude": 8.623238, "latitude": 45.629825, "width": 500, "height": 375, "upload_date": "16 December 2006", "owner_id": 18925, "owner_name": "Marco Ferrari", "owner_url": "http://www.panoramio.com/user/18925"} - , - {"photo_id": 9358587, "photo_title": "Sicilia, a me bedda!", "photo_url": "http://www.panoramio.com/photo/9358587", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9358587.jpg", "longitude": 14.652908, "latitude": 38.068172, "width": 500, "height": 375, "upload_date": "14 April 2008", "owner_id": 325031, "owner_name": "Gibrail", "owner_url": "http://www.panoramio.com/user/325031"} - , - {"photo_id": 11271799, "photo_title": "Candelaria, version completa ( Candelaria, full version )", "photo_url": "http://www.panoramio.com/photo/11271799", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/11271799.jpg", "longitude": -18.005776, "latitude": 27.750886, "width": 334, "height": 500, "upload_date": "16 June 2008", "owner_id": 787217, "owner_name": "♣ Víctor S de Lara ♣", "owner_url": "http://www.panoramio.com/user/787217"} - , - {"photo_id": 81, "photo_title": "North Cape from plane", "photo_url": "http://www.panoramio.com/photo/81", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/81.jpg", "longitude": 25.786285, "latitude": 71.171196, "width": 500, "height": 340, "upload_date": "30 July 2005", "owner_id": 7, "owner_name": "Eduardo Manchón", "owner_url": "http://www.panoramio.com/user/7"} - , - {"photo_id": 6548480, "photo_title": "珠峰晓月", "photo_url": "http://www.panoramio.com/photo/6548480", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6548480.jpg", "longitude": 86.857567, "latitude": 28.119833, "width": 500, "height": 332, "upload_date": "18 December 2007", "owner_id": 1201050, "owner_name": "黄河影人", "owner_url": "http://www.panoramio.com/user/1201050"} - , - {"photo_id": 1989382, "photo_title": "", "photo_url": "http://www.panoramio.com/photo/1989382", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1989382.jpg", "longitude": 20.628827, "latitude": 52.062874, "width": 500, "height": 375, "upload_date": "29 April 2007", "owner_id": 234038, "owner_name": "Jacek M.", "owner_url": "http://www.panoramio.com/user/234038"} - , - {"photo_id": 3186699, "photo_title": "Ruta del Cares: Paredón de los Collainos -más 400 m. de vertical-", "photo_url": "http://www.panoramio.com/photo/3186699", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3186699.jpg", "longitude": -4.863296, "latitude": 43.253174, "width": 335, "height": 500, "upload_date": "08 July 2007", "owner_id": 129297, "owner_name": "Enrique Ortiz de Zárate", "owner_url": "http://www.panoramio.com/user/129297"} - , - {"photo_id": 9899533, "photo_title": "Grado: Are you Ready? . . . . . . . . . Honorable mention \"Scenery\" May Contest 2008", "photo_url": "http://www.panoramio.com/photo/9899533", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9899533.jpg", "longitude": 13.395016, "latitude": 45.676262, "width": 500, "height": 375, "upload_date": "04 May 2008", "owner_id": 381221, "owner_name": "Flavio Snidero", "owner_url": "http://www.panoramio.com/user/381221"} - , - {"photo_id": 324623, "photo_title": "richmond bridge", "photo_url": "http://www.panoramio.com/photo/324623", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/324623.jpg", "longitude": 147.439506, "latitude": -42.734358, "width": 500, "height": 375, "upload_date": "06 January 2007", "owner_id": 66974, "owner_name": "lieskovec", "owner_url": "http://www.panoramio.com/user/66974"} - , - {"photo_id": 4450585, "photo_title": "Giorno di riposo", "photo_url": "http://www.panoramio.com/photo/4450585", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4450585.jpg", "longitude": 35.440521, "latitude": 33.732906, "width": 500, "height": 375, "upload_date": "06 September 2007", "owner_id": 407625, "owner_name": "Lyana Luna", "owner_url": "http://www.panoramio.com/user/407625"} - , - {"photo_id": 1088801, "photo_title": "Kalászos impresszió", "photo_url": "http://www.panoramio.com/photo/1088801", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1088801.jpg", "longitude": 17.727127, "latitude": 47.444575, "width": 500, "height": 360, "upload_date": "28 February 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 290083, "photo_title": "Beach full of life", "photo_url": "http://www.panoramio.com/photo/290083", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/290083.jpg", "longitude": -59.072113, "latitude": -52.430478, "width": 335, "height": 500, "upload_date": "03 January 2007", "owner_id": 61890, "owner_name": "enriquevidalphoto.com", "owner_url": "http://www.panoramio.com/user/61890"} - , - {"photo_id": 5734694, "photo_title": "Virginia Horse Country", "photo_url": "http://www.panoramio.com/photo/5734694", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5734694.jpg", "longitude": -78.754292, "latitude": 38.014964, "width": 500, "height": 375, "upload_date": "05 November 2007", "owner_id": 523038, "owner_name": "Yank in Dixie", "owner_url": "http://www.panoramio.com/user/523038"} - , - {"photo_id": 6012970, "photo_title": "Herbstliches Venedig", "photo_url": "http://www.panoramio.com/photo/6012970", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6012970.jpg", "longitude": 12.343435, "latitude": 45.433752, "width": 500, "height": 336, "upload_date": "19 November 2007", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 6321454, "photo_title": "Sea Storm III - \" Dragonara \" Castle", "photo_url": "http://www.panoramio.com/photo/6321454", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6321454.jpg", "longitude": 9.151177, "latitude": 44.350211, "width": 444, "height": 500, "upload_date": "05 December 2007", "owner_id": 180947, "owner_name": "gilberto silvestri", "owner_url": "http://www.panoramio.com/user/180947"} - , - {"photo_id": 459569, "photo_title": "mt hakkai", "photo_url": "http://www.panoramio.com/photo/459569", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/459569.jpg", "longitude": 138.921432, "latitude": 37.092157, "width": 500, "height": 389, "upload_date": "16 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 940337, "photo_title": "Sunrising Monuments", "photo_url": "http://www.panoramio.com/photo/940337", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/940337.jpg", "longitude": -110.110474, "latitude": 36.980255, "width": 500, "height": 287, "upload_date": "21 February 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 2400305, "photo_title": "Cape of Favaritx, Gateway to Another Planet", "photo_url": "http://www.panoramio.com/photo/2400305", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2400305.jpg", "longitude": 4.264122, "latitude": 39.996608, "width": 500, "height": 352, "upload_date": "26 May 2007", "owner_id": 213866, "owner_name": "Nicolas Mertens", "owner_url": "http://www.panoramio.com/user/213866"} - , - {"photo_id": 398130, "photo_title": "Aiguille du Chardonnet", "photo_url": "http://www.panoramio.com/photo/398130", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/398130.jpg", "longitude": 7.013569, "latitude": 45.979190, "width": 500, "height": 333, "upload_date": "12 January 2007", "owner_id": 78506, "owner_name": "Philippe Stoop", "owner_url": "http://www.panoramio.com/user/78506"} - , - {"photo_id": 283954, "photo_title": "Dong-ao:The most beautiful coast of Taiwan", "photo_url": "http://www.panoramio.com/photo/283954", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/283954.jpg", "longitude": 121.850481, "latitude": 24.524822, "width": 500, "height": 375, "upload_date": "02 January 2007", "owner_id": 60214, "owner_name": "swinelin", "owner_url": "http://www.panoramio.com/user/60214"} - , - {"photo_id": 5115188, "photo_title": "Iceland", "photo_url": "http://www.panoramio.com/photo/5115188", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5115188.jpg", "longitude": -23.008804, "latitude": 64.947976, "width": 500, "height": 333, "upload_date": "05 October 2007", "owner_id": 588149, "owner_name": "Adam Salwanowicz", "owner_url": "http://www.panoramio.com/user/588149"} - , - {"photo_id": 1865268, "photo_title": "Rainbow Ridge Sunset", "photo_url": "http://www.panoramio.com/photo/1865268", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1865268.jpg", "longitude": -112.404728, "latitude": 36.426808, "width": 500, "height": 333, "upload_date": "21 April 2007", "owner_id": 66847, "owner_name": "Lukas Novak", "owner_url": "http://www.panoramio.com/user/66847"} - , - {"photo_id": 1633076, "photo_title": "Parliament", "photo_url": "http://www.panoramio.com/photo/1633076", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1633076.jpg", "longitude": 19.046752, "latitude": 47.512998, "width": 500, "height": 500, "upload_date": "04 April 2007", "owner_id": 52226, "owner_name": "jenoapu", "owner_url": "http://www.panoramio.com/user/52226"} - , - {"photo_id": 800056, "photo_title": "Karst Landscape in Guangxi, China", "photo_url": "http://www.panoramio.com/photo/800056", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/800056.jpg", "longitude": 107.121944, "latitude": 23.605000, "width": 500, "height": 191, "upload_date": "13 February 2007", "owner_id": 164125, "owner_name": "DannyXu", "owner_url": "http://www.panoramio.com/user/164125"} - , - {"photo_id": 21304, "photo_title": "Matterhorn", "photo_url": "http://www.panoramio.com/photo/21304", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/21304.jpg", "longitude": 7.718582, "latitude": 45.994577, "width": 375, "height": 500, "upload_date": "28 May 2006", "owner_id": 3404, "owner_name": "Csongor Böröczky", "owner_url": "http://www.panoramio.com/user/3404"} - , - {"photo_id": 402493, "photo_title": "Burg-Eltz", "photo_url": "http://www.panoramio.com/photo/402493", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/402493.jpg", "longitude": 7.336400, "latitude": 50.206104, "width": 369, "height": 500, "upload_date": "12 January 2007", "owner_id": 6105, "owner_name": "hackltom", "owner_url": "http://www.panoramio.com/user/6105"} - , - {"photo_id": 411453, "photo_title": "Dune 45 in Sosussvlei", "photo_url": "http://www.panoramio.com/photo/411453", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/411453.jpg", "longitude": 15.397339, "latitude": -24.739972, "width": 500, "height": 333, "upload_date": "13 January 2007", "owner_id": 78506, "owner_name": "Philippe Stoop", "owner_url": "http://www.panoramio.com/user/78506"} - , - {"photo_id": 1813822, "photo_title": "Csendes délután", "photo_url": "http://www.panoramio.com/photo/1813822", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1813822.jpg", "longitude": 17.779655, "latitude": 47.507229, "width": 500, "height": 334, "upload_date": "17 April 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 798783, "photo_title": "Georgia, Antelope Canyon, AZ", "photo_url": "http://www.panoramio.com/photo/798783", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/798783.jpg", "longitude": -111.385489, "latitude": 36.873441, "width": 376, "height": 500, "upload_date": "12 February 2007", "owner_id": 52440, "owner_name": "Hank Waxman", "owner_url": "http://www.panoramio.com/user/52440"} - , - {"photo_id": 5193281, "photo_title": "The park at Gamlehaugen a bautiful day in September 2007, Bergen - Norway", "photo_url": "http://www.panoramio.com/photo/5193281", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5193281.jpg", "longitude": 5.336909, "latitude": 60.341253, "width": 500, "height": 279, "upload_date": "09 October 2007", "owner_id": 121518, "owner_name": "S.M Tunli - www.tunliweb.no", "owner_url": "http://www.panoramio.com/user/121518"} - , - {"photo_id": 642882, "photo_title": "La Presolana e la Cometa Hale-Bopp", "photo_url": "http://www.panoramio.com/photo/642882", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/642882.jpg", "longitude": 10.094032, "latitude": 45.927991, "width": 500, "height": 375, "upload_date": "01 February 2007", "owner_id": 38814, "owner_name": "Romeo Ferrari", "owner_url": "http://www.panoramio.com/user/38814"} - , - {"photo_id": 304963, "photo_title": "Calanque d'En Vau 2", "photo_url": "http://www.panoramio.com/photo/304963", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/304963.jpg", "longitude": 5.500288, "latitude": 43.201422, "width": 500, "height": 375, "upload_date": "05 January 2007", "owner_id": 64344, "owner_name": "Seb - Lyon", "owner_url": "http://www.panoramio.com/user/64344"} - , - {"photo_id": 6126154, "photo_title": "Swan - EPping Forest", "photo_url": "http://www.panoramio.com/photo/6126154", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6126154.jpg", "longitude": 0.025658, "latitude": 51.638836, "width": 499, "height": 500, "upload_date": "25 November 2007", "owner_id": 1130880, "owner_name": "marksimms", "owner_url": "http://www.panoramio.com/user/1130880"} - , - {"photo_id": 441426, "photo_title": "Dettifoss", "photo_url": "http://www.panoramio.com/photo/441426", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/441426.jpg", "longitude": -16.390743, "latitude": 65.819939, "width": 500, "height": 350, "upload_date": "15 January 2007", "owner_id": 78506, "owner_name": "Philippe Stoop", "owner_url": "http://www.panoramio.com/user/78506"} - , - {"photo_id": 4105301, "photo_title": "Eikesdalsvatnet. Norway.", "photo_url": "http://www.panoramio.com/photo/4105301", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4105301.jpg", "longitude": 8.171768, "latitude": 62.561718, "width": 500, "height": 326, "upload_date": "22 August 2007", "owner_id": 806637, "owner_name": "Bjørn Fransgjerde", "owner_url": "http://www.panoramio.com/user/806637"} - , - {"photo_id": 519765, "photo_title": "Derűs szeglet", "photo_url": "http://www.panoramio.com/photo/519765", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/519765.jpg", "longitude": 17.173862, "latitude": 46.633997, "width": 500, "height": 282, "upload_date": "21 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 4401751, "photo_title": "Fire Escape", "photo_url": "http://www.panoramio.com/photo/4401751", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4401751.jpg", "longitude": -2.315347, "latitude": 52.644873, "width": 366, "height": 500, "upload_date": "04 September 2007", "owner_id": 1295, "owner_name": "Matthew Walters", "owner_url": "http://www.panoramio.com/user/1295"} - , - {"photo_id": 1747294, "photo_title": "Red Fort II / Fuerte rojo II", "photo_url": "http://www.panoramio.com/photo/1747294", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1747294.jpg", "longitude": 73.017197, "latitude": 26.296801, "width": 500, "height": 375, "upload_date": "12 April 2007", "owner_id": 414, "owner_name": "Sonia Villegas", "owner_url": "http://www.panoramio.com/user/414"} - , - {"photo_id": 2856289, "photo_title": "Copacabana Praia", "photo_url": "http://www.panoramio.com/photo/2856289", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2856289.jpg", "longitude": -43.179188, "latitude": -22.969457, "width": 500, "height": 375, "upload_date": "20 June 2007", "owner_id": 496676, "owner_name": "Quasebart", "owner_url": "http://www.panoramio.com/user/496676"} - , - {"photo_id": 3116906, "photo_title": "Mototaki Falls", "photo_url": "http://www.panoramio.com/photo/3116906", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/3116906.jpg", "longitude": 139.954662, "latitude": 39.158750, "width": 500, "height": 375, "upload_date": "04 July 2007", "owner_id": 164173, "owner_name": "tsushima", "owner_url": "http://www.panoramio.com/user/164173"} - , - {"photo_id": 8919659, "photo_title": "Bavarian Forest", "photo_url": "http://www.panoramio.com/photo/8919659", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/8919659.jpg", "longitude": 12.429099, "latitude": 49.084548, "width": 500, "height": 332, "upload_date": "28 March 2008", "owner_id": 696605, "owner_name": "© alfredschaffer", "owner_url": "http://www.panoramio.com/user/696605"} - , - {"photo_id": 2040174, "photo_title": "Looking east from Sognefjellet - april 29", "photo_url": "http://www.panoramio.com/photo/2040174", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2040174.jpg", "longitude": 7.974873, "latitude": 61.561141, "width": 375, "height": 500, "upload_date": "03 May 2007", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 1195122, "photo_title": "Cerro Macon", "photo_url": "http://www.panoramio.com/photo/1195122", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1195122.jpg", "longitude": -67.356405, "latitude": -24.528540, "width": 335, "height": 500, "upload_date": "06 March 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 1182587, "photo_title": "Gaggenau-Moosbronn, Wallfahrtskirche", "photo_url": "http://www.panoramio.com/photo/1182587", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1182587.jpg", "longitude": 8.384285, "latitude": 48.840486, "width": 382, "height": 500, "upload_date": "05 March 2007", "owner_id": 66229, "owner_name": "Mast", "owner_url": "http://www.panoramio.com/user/66229"} - , - {"photo_id": 4787323, "photo_title": "Hell's Gate(Antigua-Caribe)", "photo_url": "http://www.panoramio.com/photo/4787323", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4787323.jpg", "longitude": -61.722651, "latitude": 17.140052, "width": 500, "height": 375, "upload_date": "20 September 2007", "owner_id": 83865, "owner_name": "Epi F.Villanueva", "owner_url": "http://www.panoramio.com/user/83865"} - , - {"photo_id": 5474175, "photo_title": "Chemin bucolique au Lauterbrunnental 2", "photo_url": "http://www.panoramio.com/photo/5474175", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/5474175.jpg", "longitude": 7.909877, "latitude": 46.580479, "width": 500, "height": 384, "upload_date": "22 October 2007", "owner_id": 359127, "owner_name": "wx", "owner_url": "http://www.panoramio.com/user/359127"} - , - {"photo_id": 479364, "photo_title": "The Earth Above Us II", "photo_url": "http://www.panoramio.com/photo/479364", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/479364.jpg", "longitude": 19.053029, "latitude": 47.601392, "width": 500, "height": 317, "upload_date": "18 January 2007", "owner_id": 57869, "owner_name": "NAGY Albert", "owner_url": "http://www.panoramio.com/user/57869"} - , - {"photo_id": 575110, "photo_title": "A huge wave crashes against the front of Kiama Blowhole www.ozthunder.com", "photo_url": "http://www.panoramio.com/photo/575110", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/575110.jpg", "longitude": 150.863657, "latitude": -34.671264, "width": 500, "height": 338, "upload_date": "26 January 2007", "owner_id": 67208, "owner_name": "Michael Thompson", "owner_url": "http://www.panoramio.com/user/67208"} - , - {"photo_id": 543624, "photo_title": "Dalmát álom", "photo_url": "http://www.panoramio.com/photo/543624", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/543624.jpg", "longitude": 15.969143, "latitude": 43.624768, "width": 500, "height": 333, "upload_date": "23 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 121224, "photo_title": "ParadisePW", "photo_url": "http://www.panoramio.com/photo/121224", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/121224.jpg", "longitude": -62.907715, "latitude": -64.830254, "width": 500, "height": 329, "upload_date": "12 December 2006", "owner_id": 19856, "owner_name": "Juan Kratzmaier", "owner_url": "http://www.panoramio.com/user/19856"} - , - {"photo_id": 10074505, "photo_title": "Volcàn Chaitèn, Chaitèn, Palena, Chile Por Daniel Basualto", "photo_url": "http://www.panoramio.com/photo/10074505", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10074505.jpg", "longitude": -72.759705, "latitude": -42.908160, "width": 375, "height": 500, "upload_date": "10 May 2008", "owner_id": 88547, "owner_name": "Patricia Santini", "owner_url": "http://www.panoramio.com/user/88547"} - , - {"photo_id": 10378, "photo_title": "Chiang Mai, temple", "photo_url": "http://www.panoramio.com/photo/10378", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10378.jpg", "longitude": 98.921596, "latitude": 18.805157, "width": 319, "height": 500, "upload_date": "06 February 2006", "owner_id": 414, "owner_name": "Sonia Villegas", "owner_url": "http://www.panoramio.com/user/414"} - , - {"photo_id": 532620, "photo_title": "Morning mist near Skjønhaug", "photo_url": "http://www.panoramio.com/photo/532620", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/532620.jpg", "longitude": 11.297293, "latitude": 59.639511, "width": 333, "height": 500, "upload_date": "22 January 2007", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 625805, "photo_title": "Primosten blue(s)", "photo_url": "http://www.panoramio.com/photo/625805", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/625805.jpg", "longitude": 15.932236, "latitude": 43.575168, "width": 500, "height": 334, "upload_date": "30 January 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 247704, "photo_title": "Paris in the night", "photo_url": "http://www.panoramio.com/photo/247704", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/247704.jpg", "longitude": 2.294512, "latitude": 48.858052, "width": 327, "height": 500, "upload_date": "27 December 2006", "owner_id": 51517, "owner_name": "threshold2000", "owner_url": "http://www.panoramio.com/user/51517"} - , - {"photo_id": 73888, "photo_title": "Fitz-Roy", "photo_url": "http://www.panoramio.com/photo/73888", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/73888.jpg", "longitude": -72.987328, "latitude": -49.277885, "width": 500, "height": 204, "upload_date": "01 November 2006", "owner_id": 7372, "owner_name": "vuillet", "owner_url": "http://www.panoramio.com/user/7372"} - , - {"photo_id": 6065568, "photo_title": "Amigos para siempre Paris-Francia", "photo_url": "http://www.panoramio.com/photo/6065568", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6065568.jpg", "longitude": 2.288697, "latitude": 48.861906, "width": 375, "height": 500, "upload_date": "22 November 2007", "owner_id": 83865, "owner_name": "Epi F.Villanueva", "owner_url": "http://www.panoramio.com/user/83865"} - , - {"photo_id": 9643938, "photo_title": "Occhio indiscreto ... sulla città ... illuminata ", "photo_url": "http://www.panoramio.com/photo/9643938", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/9643938.jpg", "longitude": 13.818569, "latitude": 45.641329, "width": 500, "height": 449, "upload_date": "23 April 2008", "owner_id": 1121720, "owner_name": "▬ Mauro Antonini ▬", "owner_url": "http://www.panoramio.com/user/1121720"} - , - {"photo_id": 532643, "photo_title": "Icecarved granite at Herføl", "photo_url": "http://www.panoramio.com/photo/532643", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/532643.jpg", "longitude": 11.054649, "latitude": 58.986512, "width": 375, "height": 500, "upload_date": "22 January 2007", "owner_id": 39160, "owner_name": "Snemann", "owner_url": "http://www.panoramio.com/user/39160"} - , - {"photo_id": 112298, "photo_title": "paris06_004IR", "photo_url": "http://www.panoramio.com/photo/112298", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/112298.jpg", "longitude": 2.343779, "latitude": 48.887746, "width": 500, "height": 500, "upload_date": "11 December 2006", "owner_id": 17599, "owner_name": "Dmitry Andreev", "owner_url": "http://www.panoramio.com/user/17599"} - , - {"photo_id": 525997, "photo_title": "Grand Canyon Desert View", "photo_url": "http://www.panoramio.com/photo/525997", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/525997.jpg", "longitude": -111.824341, "latitude": 36.043547, "width": 500, "height": 333, "upload_date": "22 January 2007", "owner_id": 85489, "owner_name": "Bruce MacIver", "owner_url": "http://www.panoramio.com/user/85489"} - , - {"photo_id": 2972849, "photo_title": "Donadea Forest", "photo_url": "http://www.panoramio.com/photo/2972849", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2972849.jpg", "longitude": -6.743374, "latitude": 53.346555, "width": 500, "height": 377, "upload_date": "27 June 2007", "owner_id": 137785, "owner_name": "W@Z", "owner_url": "http://www.panoramio.com/user/137785"} - , - {"photo_id": 1175992, "photo_title": "Mt. Roberts Tram, Juneau, Alaska", "photo_url": "http://www.panoramio.com/photo/1175992", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1175992.jpg", "longitude": -134.391643, "latitude": 58.294679, "width": 500, "height": 347, "upload_date": "05 March 2007", "owner_id": 52440, "owner_name": "Hank Waxman", "owner_url": "http://www.panoramio.com/user/52440"} - , - {"photo_id": 462521, "photo_title": "Fontaine de Trevi", "photo_url": "http://www.panoramio.com/photo/462521", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/462521.jpg", "longitude": 12.483280, "latitude": 41.901047, "width": 500, "height": 333, "upload_date": "17 January 2007", "owner_id": 78506, "owner_name": "Philippe Stoop", "owner_url": "http://www.panoramio.com/user/78506"} - , - {"photo_id": 848316, "photo_title": "Malyovitsa, Rila", "photo_url": "http://www.panoramio.com/photo/848316", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/848316.jpg", "longitude": 23.383627, "latitude": 42.201517, "width": 500, "height": 357, "upload_date": "17 February 2007", "owner_id": 16880, "owner_name": "evgenidinev.com", "owner_url": "http://www.panoramio.com/user/16880"} - , - {"photo_id": 459453, "photo_title": "bandaibashi3", "photo_url": "http://www.panoramio.com/photo/459453", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/459453.jpg", "longitude": 139.055586, "latitude": 37.920436, "width": 500, "height": 382, "upload_date": "16 January 2007", "owner_id": 86411, "owner_name": "中村脩-Osamu nakamura", "owner_url": "http://www.panoramio.com/user/86411"} - , - {"photo_id": 968639, "photo_title": "张永富 黄山风光06 Huangshan", "photo_url": "http://www.panoramio.com/photo/968639", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/968639.jpg", "longitude": 118.166199, "latitude": 30.105633, "width": 348, "height": 500, "upload_date": "23 February 2007", "owner_id": 203011, "owner_name": "SammyZhang", "owner_url": "http://www.panoramio.com/user/203011"} - , - {"photo_id": 97731, "photo_title": "Kaimondake", "photo_url": "http://www.panoramio.com/photo/97731", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/97731.jpg", "longitude": 130.652161, "latitude": 31.247443, "width": 500, "height": 212, "upload_date": "09 December 2006", "owner_id": 11781, "owner_name": "ANDRE GARDELLA", "owner_url": "http://www.panoramio.com/user/11781"} - , - {"photo_id": 2859205, "photo_title": "Lundy Lake Sunset", "photo_url": "http://www.panoramio.com/photo/2859205", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2859205.jpg", "longitude": -119.221230, "latitude": 38.031597, "width": 400, "height": 500, "upload_date": "21 June 2007", "owner_id": 376395, "owner_name": "JeffSullivan (www.MyPhotoGuides.com)", "owner_url": "http://www.panoramio.com/user/376395"} - , - {"photo_id": 309190, "photo_title": "Populonia, sunset", "photo_url": "http://www.panoramio.com/photo/309190", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/309190.jpg", "longitude": 10.490313, "latitude": 42.989581, "width": 308, "height": 500, "upload_date": "05 January 2007", "owner_id": 65478, "owner_name": "Gabriele Marabotti", "owner_url": "http://www.panoramio.com/user/65478"} - , - {"photo_id": 54982, "photo_title": "Baia dos Porcos", "photo_url": "http://www.panoramio.com/photo/54982", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/54982.jpg", "longitude": -32.443485, "latitude": -3.855177, "width": 500, "height": 333, "upload_date": "30 September 2006", "owner_id": 7562, "owner_name": "Marcelo E. Salgado", "owner_url": "http://www.panoramio.com/user/7562"} - , - {"photo_id": 58316, "photo_title": "800_Schafberg03", "photo_url": "http://www.panoramio.com/photo/58316", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/58316.jpg", "longitude": 13.429413, "latitude": 47.775445, "width": 500, "height": 316, "upload_date": "07 October 2006", "owner_id": 8060, "owner_name": "Norbert MAIER", "owner_url": "http://www.panoramio.com/user/8060"} - , - {"photo_id": 423887, "photo_title": "Dunes near Zagora", "photo_url": "http://www.panoramio.com/photo/423887", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/423887.jpg", "longitude": -5.872707, "latitude": 30.280713, "width": 500, "height": 333, "upload_date": "14 January 2007", "owner_id": 78506, "owner_name": "Philippe Stoop", "owner_url": "http://www.panoramio.com/user/78506"} - , - {"photo_id": 4136144, "photo_title": "Égi jel", "photo_url": "http://www.panoramio.com/photo/4136144", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4136144.jpg", "longitude": 17.564564, "latitude": 47.633181, "width": 500, "height": 376, "upload_date": "23 August 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 6620113, "photo_title": "Winterlandschaft - Winter Scenery - Emmental", "photo_url": "http://www.panoramio.com/photo/6620113", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6620113.jpg", "longitude": 7.787676, "latitude": 47.055856, "width": 500, "height": 374, "upload_date": "22 December 2007", "owner_id": 635422, "owner_name": "♫ Swissmay", "owner_url": "http://www.panoramio.com/user/635422"} - , - {"photo_id": 2702545, "photo_title": "Church at Oia, Santorini", "photo_url": "http://www.panoramio.com/photo/2702545", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2702545.jpg", "longitude": 25.376015, "latitude": 36.461330, "width": 375, "height": 500, "upload_date": "11 June 2007", "owner_id": 555551, "owner_name": "Marilyn Whiteley", "owner_url": "http://www.panoramio.com/user/555551"} - , - {"photo_id": 416472, "photo_title": "Ice Crystal Clouds", "photo_url": "http://www.panoramio.com/photo/416472", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/416472.jpg", "longitude": -105.650969, "latitude": 40.294126, "width": 500, "height": 374, "upload_date": "13 January 2007", "owner_id": 87752, "owner_name": "Richard Ryer", "owner_url": "http://www.panoramio.com/user/87752"} - , - {"photo_id": 6080988, "photo_title": "Zion Tree (HDR)", "photo_url": "http://www.panoramio.com/photo/6080988", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/6080988.jpg", "longitude": -112.946116, "latitude": 37.213331, "width": 500, "height": 333, "upload_date": "23 November 2007", "owner_id": 17488, "owner_name": "John Gillett", "owner_url": "http://www.panoramio.com/user/17488"} - , - {"photo_id": 2321382, "photo_title": "Old Wreck at Bannack", "photo_url": "http://www.panoramio.com/photo/2321382", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/2321382.jpg", "longitude": -112.997518, "latitude": 45.162614, "width": 500, "height": 375, "upload_date": "21 May 2007", "owner_id": 71099, "owner_name": "Eve in Montana", "owner_url": "http://www.panoramio.com/user/71099"} - , - {"photo_id": 122858, "photo_title": "Antelope Canyon - Page, Arizona", "photo_url": "http://www.panoramio.com/photo/122858", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/122858.jpg", "longitude": -111.399908, "latitude": 36.887447, "width": 332, "height": 500, "upload_date": "12 December 2006", "owner_id": 20332, "owner_name": "RJ", "owner_url": "http://www.panoramio.com/user/20332"} - , - {"photo_id": 4445933, "photo_title": "Tavi alkony", "photo_url": "http://www.panoramio.com/photo/4445933", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/4445933.jpg", "longitude": 17.465172, "latitude": 47.864486, "width": 500, "height": 350, "upload_date": "06 September 2007", "owner_id": 109117, "owner_name": "Busa Péter", "owner_url": "http://www.panoramio.com/user/109117"} - , - {"photo_id": 1238515, "photo_title": "EDEN", "photo_url": "http://www.panoramio.com/photo/1238515", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/1238515.jpg", "longitude": -83.677711, "latitude": 22.661542, "width": 500, "height": 345, "upload_date": "09 March 2007", "owner_id": 232099, "owner_name": "mabut", "owner_url": "http://www.panoramio.com/user/232099"} - , - {"photo_id": 398585, "photo_title": "Near Glittertind", "photo_url": "http://www.panoramio.com/photo/398585", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/398585.jpg", "longitude": 8.489170, "latitude": 61.621820, "width": 500, "height": 333, "upload_date": "12 January 2007", "owner_id": 78506, "owner_name": "Philippe Stoop", "owner_url": "http://www.panoramio.com/user/78506"} - , - {"photo_id": 10240311, "photo_title": "two planes", "photo_url": "http://www.panoramio.com/photo/10240311", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/10240311.jpg", "longitude": 20.306683, "latitude": 49.750107, "width": 332, "height": 500, "upload_date": "15 May 2008", "owner_id": 454219, "owner_name": "Rafal Ociepka", "owner_url": "http://www.panoramio.com/user/454219"} - , - {"photo_id": 7593894, "photo_title": "桂林名胜百景——遇龙河", "photo_url": "http://www.panoramio.com/photo/7593894", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/7593894.jpg", "longitude": 110.424957, "latitude": 24.781747, "width": 500, "height": 375, "upload_date": "04 February 2008", "owner_id": 161470, "owner_name": "John Su", "owner_url": "http://www.panoramio.com/user/161470"} - ]}; +]; +const calculator: Calculator = MarkerClusterer.CALCULATOR; +{ + const iconInfo: ClusterIconInfo = calculator([m], 1); + const index: number = iconInfo.index; + const text: string = iconInfo.text; + const title: string = iconInfo.title; } +const batchSize: number = MarkerClusterer.BATCH_SIZE; +const batchSizeIE: number = MarkerClusterer.BATCH_SIZE_IE; +const imageSizes: number[] = MarkerClusterer.IMAGE_SIZES; +const imagePath: string = MarkerClusterer.IMAGE_PATH; +const imageExtension: string = MarkerClusterer.IMAGE_EXTENSION; +const map = new google.maps.Map(document.getElementById('map'), { + zoom: 3, + center: p, + mapTypeId: google.maps.MapTypeId.ROADMAP +}); + +const mc = new MarkerClusterer(map); +{ + const mc1 = new MarkerClusterer(map, [m]); + const mc2 = new MarkerClusterer(map, [m], {}); + const mc3 = new MarkerClusterer(map, [m], { + gridSize: 1, + maxZoom: 1, + zoomOnClick: true, + averageCenter: true, + minimumClusterSize: 1, + ignoreHidden: true, + title: "title", + clusterClass: "class", + styles: iconStyles, + enableRetinaIcons: true, + batchSize: 1, + batchSizeIE: 1, + calculator, + imagePath, + imageExtension, + imageSizes + }); +} +{ + mc.addMarker(m); + mc.addMarker(m, true); + mc.addMarkers([m]); + mc.addMarkers([m], true); + mc.addToClosestCluster_(m); + mc.clearMarkers(); + mc.createClusters_(1); + const distance: number = mc.distanceBetweenPoints_(p, p); + const o: object = mc.extend({}, {}); + mc.fitMapToMarkers(); + const averageCenter: boolean = mc.getAverageCenter(); + const batchSizeIE2: number = mc.getBatchSizeIE(); + const calculator2: Calculator = mc.getCalculator(); + const clusterClass: string = mc.getClusterClass(); + const clusters: Cluster[] = mc.getClusters(); + const enableRetinaIcons: boolean = mc.getEnableRetinaIcons(); + const extendedBounds: google.maps.LatLngBounds = mc.getExtendedBounds(b); + const gridSize: number = mc.getGridSize(); + const hideLabel: boolean = mc.getHideLabel(); + const ignoreHidden: boolean = mc.getIgnoreHidden(); + const imageExtension2: string = mc.getImageExtension(); + const imagePath2: string = mc.getImagePath(); + const imageSizes2: number[] = mc.getImageSizes(); + const markers: google.maps.Marker[] = mc.getMarkers(); + const maxZoom: number = mc.getMaxZoom(); + const minimumClusterSize: number = mc.getMinimumClusterSize(); + const styles: ClusterIconStyle[] = mc.getStyles(); + const title: string = mc.getTitle(); + const totalCluster: number = mc.getTotalClusters(); + const totalMarkers: number = mc.getTotalMarkers(); + const zoomOnClick: boolean = mc.getZoomOnClick(); + const markerInBounds: boolean = mc.isMarkerInBounds_(m, b); + mc.onAdd(); + mc.onRemove(); + mc.pushMarkerTo_(m); + mc.redraw_(); + mc.removeMarker(m); + mc.removeMarker(m, true); + mc.removeMarker(m, true, true); + mc.removeMarkers([m], true); + mc.removeMarkers([m], true, true); + mc.removeMarker_(m); + mc.removeMarker_(m, true); + mc.repaint(); + mc.resetViewport_(); + mc.resetViewport_(true); + mc.setAverageCenter(false); + mc.setBatchSizeIE(batchSizeIE); + mc.setCalculator(calculator); + mc.setClusterClass("cluster_class"); + mc.setEnableRetinaIcons(true); + mc.setGridSize(1); + mc.setHideLabel(true); + mc.setIgnoreHidden(true); + mc.setImageExtension(imageExtension); + mc.setImagePath(imagePath); + mc.setImageSizes(imageSizes); + mc.setMaxZoom(1); + mc.setMinimumClusterSize(1); + mc.setStyles(iconStyles); + mc.setTitle("title"); + mc.setupStyles_(); + mc.setZoomOnClick(true); +} +{ + const c = new Cluster(mc); + const size: number = c.getSize(); + const markers: google.maps.Marker[] = c.getMarkers(); + const center: google.maps.LatLng = c.getCenter(); + const map: google.maps.Map = c.getMap(); + const clusterer: MarkerClusterer = c.getMarkerClusterer(); + const bounds: google.maps.LatLngBounds = c.getBounds(); + c.remove(); + c.addMarker(m); + const isMarkerInClusterBounds: boolean = c.isMarkerInClusterBounds(m); + c.calculateBounds_(); + c.updateIcon_(); + const isMarkerAlreadyAdded: boolean = c.isMarkerAlreadyAdded_(m); + { + const icon = new ClusterIcon(c, iconStyles); + icon.onAdd(); + icon.createCss(new google.maps.Point(0, 0)); + icon.useStyle({index: 1, text: "text", title: "title"}); + icon.draw(); + icon.hide(); + const pos: google.maps.Point = icon.getPosFromLatLng_(p); + icon.setCenter(p); + } +} diff --git a/types/markerclustererplus/tslint.json b/types/markerclustererplus/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/markerclustererplus/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 53665b21cc65a6af8af702bab5593f5466073fc5 Mon Sep 17 00:00:00 2001 From: Thomas Chia <thomas.chia@amaas.com> Date: Thu, 12 Oct 2017 07:12:54 +0800 Subject: [PATCH 289/433] [aws-iot-device-sdk] - Fix references to the mqtt types (#20344) * Update index.d.ts Fix mqtt type references. * Make the tests compatible with noImplicitAny: true. * Update version. * Add package.json for mqtt type dependency. * Remove mqtt in favour of original package definitions. * Update notNeededPackages. * Add private flag to package.json. * Trigger travis * Update subscribe options. * Fix subscribe callback. --- notNeededPackages.json | 6 + .../aws-iot-device-sdk-tests.ts | 14 +- types/aws-iot-device-sdk/index.d.ts | 18 +- types/aws-iot-device-sdk/package.json | 6 + types/mqtt/index.d.ts | 448 ------------------ types/mqtt/mqtt-tests.ts | 14 - types/mqtt/tsconfig.json | 23 - 7 files changed, 27 insertions(+), 502 deletions(-) create mode 100644 types/aws-iot-device-sdk/package.json delete mode 100644 types/mqtt/index.d.ts delete mode 100644 types/mqtt/mqtt-tests.ts delete mode 100644 types/mqtt/tsconfig.json diff --git a/notNeededPackages.json b/notNeededPackages.json index 0c6f29e3f4..d3ba44c871 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -378,6 +378,12 @@ "sourceRepoURL": "http://www.mendix.com", "asOfVersion": "0.8.1" }, + { + "libraryName": "MQTT", + "typingsPackageName": "mqtt", + "sourceRepoURL": "https://github.com/mqttjs/MQTT.js", + "asOfVersion": "2.5.0" + }, { "libraryName": "mobservable", "typingsPackageName": "mobservable", diff --git a/types/aws-iot-device-sdk/aws-iot-device-sdk-tests.ts b/types/aws-iot-device-sdk/aws-iot-device-sdk-tests.ts index bcb407c352..66655f8dd3 100644 --- a/types/aws-iot-device-sdk/aws-iot-device-sdk-tests.ts +++ b/types/aws-iot-device-sdk/aws-iot-device-sdk-tests.ts @@ -13,7 +13,6 @@ const device = new awsIot.device({ clientId: "", region: "", baseReconnectTimeMs: 1000, - keepalive: 10, protocol: "wss", port: 443, host: "", @@ -39,7 +38,7 @@ device console.log("offline"); }); device - .on("error", function(error) { + .on("error", function(error: Error | string) { console.log("error", error); }); device @@ -55,7 +54,6 @@ const thingShadows = new awsIot.thingShadow({ clientId: "", region: "", baseReconnectTimeMs: 1000, - keepalive: 10, protocol: "mqtts", port: 0, host: "", @@ -65,10 +63,10 @@ const thingShadows = new awsIot.thingShadow({ thingShadows.register( "thingName", { ignoreDeltas: false }, - (err: Error, failedTopics: mqtt.Granted[]) => { } + (err: Error, failedTopics: mqtt.ISubscriptionGrant[]) => { } ); - thingShadows.subscribe("topic", {}, (error: any, granted: mqtt.Granted) => {}); + thingShadows.subscribe("topic", { qos: 1 }, (error: any, granted: mqtt.ISubscriptionGrant[]) => {}); thingShadows.on("connect", function() { console.log("connected to AWS IoT"); @@ -87,7 +85,7 @@ const thingShadows = new awsIot.thingShadow({ console.log("offline"); }); - thingShadows.on("error", function(error) { + thingShadows.on("error", function(error: Error) { console.log("error", error); }); @@ -98,8 +96,8 @@ const thingShadows = new awsIot.thingShadow({ thingShadows.on("status", function(thingName: string, stat: "accepted" | "rejected", clientToken: string, stateObject: any) { }); - thingShadows.on("delta", function(thingName, stateObject) { + thingShadows.on("delta", function(thingName: string, stateObject: any) { }); - thingShadows.on("timeout", function(thingName, clientToken) { + thingShadows.on("timeout", function(thingName: string, clientToken: string) { }); diff --git a/types/aws-iot-device-sdk/index.d.ts b/types/aws-iot-device-sdk/index.d.ts index 4844ae9012..38cf00840d 100644 --- a/types/aws-iot-device-sdk/index.d.ts +++ b/types/aws-iot-device-sdk/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for aws-iot-device-sdk 1.0.13 +// Type definitions for aws-iot-device-sdk 2.1.0 // Project: https://github.com/aws/aws-iot-device-sdk-js // Definitions by: Markus Olsson <https://github.com/niik> // Margus Lamp <https://github.com/mlamp> @@ -9,7 +9,7 @@ import * as mqtt from "mqtt"; import * as WebSocket from "ws"; -export interface DeviceOptions extends mqtt.ClientOptions { +export interface DeviceOptions extends mqtt.IClientOptions { /** the AWS IoT region you will operate in (default "us-east-1") */ region?: string; @@ -179,7 +179,7 @@ export class device extends NodeJS.EventEmitter { * @param publish options * @param called when publish succeeds or fails */ - publish(topic: string, message: Buffer | string, options?: mqtt.ClientPublishOptions, callback?: (error?: Error) => void): mqtt.Client; + publish(topic: string, message: Buffer | string, options?: mqtt.IClientPublishOptions, callback?: (error?: Error) => void): mqtt.Client; /** * Subscribe to a topic or topics @@ -187,7 +187,7 @@ export class device extends NodeJS.EventEmitter { * @param the options to subscribe with * @param callback fired on suback */ - subscribe(topic: string | string[] | mqtt.Topic, options?: mqtt.ClientSubscribeOptions, callback?: mqtt.ClientSubscribeCallback): mqtt.Client; + subscribe(topic: string | string[], options?: mqtt.IClientSubscribeOptions, callback?: mqtt.ClientSubscribeCallback): mqtt.Client; /** * Unsubscribe from a topic or topics @@ -196,7 +196,7 @@ export class device extends NodeJS.EventEmitter { * @param options * @param callback fired on unsuback */ - unsubscribe(topic: string | string[], options?: mqtt.ClientSubscribeOptions, callback?: mqtt.ClientSubscribeCallback): mqtt.Client; + unsubscribe(topic: string | string[], options?: mqtt.IClientSubscribeOptions, callback?: mqtt.ClientSubscribeCallback): mqtt.Client; /** * end - close connection @@ -257,7 +257,7 @@ export class thingShadow extends NodeJS.EventEmitter { * for all shadow topics). Applications should wait until shadow * registration is complete before performing update/get/delete operations. */ - register(thingName: string, options?: RegisterOptions, callback?: (error: Error, failedTopics: mqtt.Granted[]) => void): void + register(thingName: string, options?: RegisterOptions, callback?: (error: Error, failedTopics: mqtt.ISubscriptionGrant[]) => void): void /** * Unregister interest in the Thing Shadow named thingName. @@ -334,7 +334,7 @@ export class thingShadow extends NodeJS.EventEmitter { * @param options * @param callback */ - publish(topic: string, message: Buffer | string, options?: mqtt.ClientPublishOptions, callback?: Function): mqtt.Client; + publish(topic: string, message: Buffer | string, options?: mqtt.IClientPublishOptions, callback?: Function): mqtt.Client; /** * Subscribe to a topic or topics @@ -342,7 +342,7 @@ export class thingShadow extends NodeJS.EventEmitter { * @param the options to subscribe with * @param callback fired on suback */ - subscribe(topic: string | string[] | mqtt.Topic, options?: mqtt.ClientSubscribeOptions, callback?: mqtt.ClientSubscribeCallback): mqtt.Client; + subscribe(topic: string | string[], options?: { qos: 0 | 1 }, callback?: mqtt.ClientSubscribeCallback): mqtt.Client; /** * Unsubscribe from a topic or topics @@ -351,7 +351,7 @@ export class thingShadow extends NodeJS.EventEmitter { * @param options * @param callback fired on unsuback */ - unsubscribe(topic: string | string[], options?: mqtt.ClientSubscribeOptions, callback?: mqtt.ClientSubscribeCallback): mqtt.Client; + unsubscribe(topic: string | string[], options?: mqtt.IClientSubscribeOptions, callback?: mqtt.ClientSubscribeCallback): mqtt.Client; /** * end - close connection diff --git a/types/aws-iot-device-sdk/package.json b/types/aws-iot-device-sdk/package.json new file mode 100644 index 0000000000..9aceff7832 --- /dev/null +++ b/types/aws-iot-device-sdk/package.json @@ -0,0 +1,6 @@ +{ + "private": true, + "dependencies": { + "mqtt": "^2.13.0" + } +} diff --git a/types/mqtt/index.d.ts b/types/mqtt/index.d.ts deleted file mode 100644 index 09c04f6236..0000000000 --- a/types/mqtt/index.d.ts +++ /dev/null @@ -1,448 +0,0 @@ -// Type definitions for MQTT -// Project: https://github.com/mqttjs/MQTT.js -// Definitions by: Pekka Leppänen <https://github.com/PekkaPLeppanen> -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -/// <reference types="node" /> - -declare namespace mqtt { - - import ReadableStream = NodeJS.ReadableStream; - import EventEmitter = NodeJS.EventEmitter; - - interface Packet { - messageId: number; - [key: string]: any; - } - - interface Granted { - /** - * is a subscribed to topic - */ - topic: string; - /** - * is the granted qos level on it - */ - qos: number; - } - - interface Topic { - /** - * object which has topic names as object keys and as value the QoS, like {'test1': 0, 'test2': 1}. - */ - [topic: string]: number; - } - - /** - * MQTT CLIENT - */ - - interface ClientOptions extends SecureClientOptions { - /** - * 10 seconds, set to 0 to disable - */ - keepalive?: number; - - /** - * 'mqttjs_' + Math.random().toString(16).substr(2, 8) - */ - clientId?: string; - /** - * 'MQTT' - */ - protocolId?: string; - /** - * 4 - */ - protocolVersion?: number; - /** - * true, set to false to receive QoS 1 and 2 messages while offline - */ - clean?: boolean; - /** - * 1000 milliseconds, interval between two reconnections - */ - reconnectPeriod?: number; - /** - * 30 * 1000 milliseconds, time to wait before a CONNACK is received - */ - connectTimeout?: number; - /** - * the username required by your broker, if any - */ - username?: string; - /** - * the password required by your broker, if any - */ - password?: string; - /** - * a Store for the incoming packets - */ - incomingStore?: Store; - /** - * a Store for the outgoing packets - */ - outgoingStore?: Store; - /** - * a message that will sent by the broker automatically when the client disconnect badly. - */ - will?: { - /** - * the topic to publish - */ - topic: string; - /** - * the message to publish - */ - payload: string; - /** - * the QoS - */ - qos: number; - /** - * the retain flag - */ - retain: boolean; - }; - - } - - interface SecureClientOptions { - /** - * path to private key - */ - keyPath?: string; - /** - * path to corresponding public cert - */ - certPath?: string; - rejectUnauthorized?: boolean; - } - - interface ClientPublishOptions { - /** - * the QoS - */ - qos?: number; - /** - * the retain flag - */ - retain?: boolean; - } - - interface ClientSubscribeOptions { - /** - * the QoS - */ - qos?: number; - } - - interface ClientSubscribeCallback { - (err: any, granted: Granted): void; - } - - /** - * @deprecated use connect() instead - * Create a new IClient (see: IClient) - * - * @param port - broker port (default: 1883) - * @param host - broker host (default: localhost) - * @param options - connect options - */ - function createClient(port?: number, host?: string, options?: ClientOptions): Client; - - /** - * @deprecated use connect() instead - * Create a new secure IClient - * - * @param port - * @param host - * @param options - connection options, must include keys. - */ - function createSecureClient(port?: number, host?: string, options?: SecureClientOptions): Client; - - /** - * Create a new MqttClient (see: IClient) - * - * The brokerUrl supports normal connections using mqtt:// or tcp:// and secure connections using mqtts:// or ssl://. - * - * Passing the clientId is also supported, for example mqtt://user@localhost?clientId=123abc. - * - * @param brokerUrl - * @param options - */ - function connect(brokerUrl: string, options?: ClientOptions): Client; - - /** - * The Client class wraps a client connection to an MQTT broker over an arbitrary transport method (TCP, TLS, WebSocket, ecc). - * - * Client automatically handles the following: - * - Regular server pings - * - QoS flow - * - Automatic reconnections - * - Start publishing before being connected - * - */ - interface Client extends EventEmitter { - (streamBuilder: any, options: ClientOptions): Client; - - /** - * Publish a message to a topic - * - * @param topic - * @param message - * @param options - * @param callback - */ - publish(topic: string, message: Buffer, options?: ClientPublishOptions, callback?: Function): Client; - publish(topic: string, message: string, options?: ClientPublishOptions, callback?: Function): Client; - - /** - * Subscribe to a topic or topics - * @param topic to subscribe to or an Array of topics to subscribe to. It can also be an object. - * @param the options to subscribe with - * @param callback fired on suback - */ - subscribe(topic: string, options?: ClientSubscribeOptions, callback?: ClientSubscribeCallback): Client; - subscribe(topic: string[], options?: ClientSubscribeOptions, callback?: ClientSubscribeCallback): Client; - subscribe(topic: Topic, options?: ClientSubscribeOptions, callback?: ClientSubscribeCallback): Client; - - /** - * Unsubscribe from a topic or topics - * - * @param topic is a String topic or an array of topics to unsubscribe from - * @param options - * @param callback fired on unsuback - */ - unsubscribe(topic: string, options?: ClientSubscribeOptions, callback?: ClientSubscribeCallback): Client; - unsubscribe(topic: string[], options?: ClientSubscribeOptions, callback?: ClientSubscribeCallback): Client; - - /** - * end - close connection - * - * @param force passing it to true will close the client right away, without waiting for the in-flight messages to be acked. - * This parameter is optional. - * @param callback - */ - end(force?: boolean, callback?: Function): Client; - - /** - * Handle messages with backpressure support, one at a time. Override at will, but always call callback, or the client will - * hang. - * - * @param packet - * @param callback - */ - handleMessage(packet: Packet, callback: Function): Client; - - /** - * get last message id. This is for sent messages only. - */ - getLastMessageId(): number; - } - - /** - * STORE - */ - - /** - * In-memory implementation of the message store. - * - * Another implementaion is mqtt-level-store which uses Level-browserify to store the inflight data, - * making it usable both in Node and the Browser. - */ - interface Store { - /** - * Adds a packet to the store, a packet is anything that has a messageId property. The callback is called when the packet has - * been stored. - * @param packet - * @param callback - */ - put(packet: Packet, callback: Function): Store; - - /** - * get a packet from the store - * - * @param packet - * @param callback - */ - get(packet: Packet, callback: Function): Store; - - /** - * Creates a stream with all the packets in the store. - */ - createStream(): ReadableStream; - - /** - * Removes a packet from the store, a packet is anything that has a messageId property. The callback is called when the packet - * has been removed. - * @param packet - * @param callback - */ - del(packet: Packet, callback: Function): Store; - - /** - * Closes the Store. - * @param callback - */ - close(callback: Function): void; - - } - - /** - * CONNECTION - */ - - /** - * @deprecated use mqtt-connect instead - * Create a new MqttConnection (see: MqttConnection) - * - * @param port - broker port (default: 1883) - * @param host - broker host (default: localhost) - * @param callback - fired on underlying stream connect - */ - function createConnection(port?: number, host?: string, callback?: Function): Connection; - - interface ConnectOptions { - - /** - * Protocol ID, usually MQIsdp. - */ - protocolId?: string; - /** - * Protocol version, usually 3. - */ - protocolVersion?: number; - /** - * keepalive period in seconds. - */ - keepalive?: number; - /** - * client ID. - */ - clientId?: string; - /** - * the client's will message options - */ - will?: { - /** - * the topic to publish - */ - topic: string; - /** - * the message to publish - */ - payload: string; - /** - * the QoS - */ - qos: number; - /** - * the retain flag - */ - retain: boolean; - }; - /** - * the 'clean start' flag. - */ - clean?: boolean; - /** - * username for protocol v3.1. - */ - username?: string; - /** - * password for protocol v3.1. - */ - password?: string; - } - - interface ConnectionPublishOptions { - /** - * the message ID of the packet, required if qos > 0. - */ - messageId?: number; - /** - * the topic to publish - */ - topic?: string; - /** - * the message to publish - */ - payload?: string; - /** - * the QoS - */ - qos?: number; - /** - * the retain flag - */ - retain?: boolean; - } - - /** - * The MqttConnection class represents a raw MQTT connection, both on the server and on the client side. For client side - * operations, it is strongly recommended that MqttClient is used, as MqttConnection requires a great deal of additional - * boilerplate such as setting up error handling and ping request/responses. - * - * If such fine grained control is required, MqttConnection can be instantiated using the mqtt.createConnection method. - * - * MqttServerClient is an unaltered subclass of MqttConnection and can be used in exactly the same way. - * - * @link https://github.com/mqttjs/MQTT.js/wiki/connection - * - */ - interface Connection extends EventEmitter { - /** - * Send an MQTT connect packet. - * @param options - */ - connect(options?: ConnectOptions): Connection; - /** - * Send an MQTT connack packet. - * @param options - */ - connack(options?: { returnCode: number; }): Connection; - /** - * Send an MQTT publish packet. - * @param options - */ - publish(options?: ConnectionPublishOptions): Connection; - } - - /** - * SERVER - */ - - /** - * @deprecated use connect instead - * Create a new MqttServer (see : IServer) - * - * @param listener - callback called on server client event - */ - function createServer(listener?: Function): Server; - - /** - * @deprecated use connect instead - * Create a new MqttSecureServer - * @param keyPath - path to private key file - * @param certPath - path to corresponding public cert - * @param listener - callback called on server client event - */ - function createSecureServer(keyPath: string, certPath: string, listener?: Function): Server; - - /** - * The primary methods of instantiating mqtt.js server classes are through the mqtt.createServer and mqtt.createSecureServer - * methods. The former returns an instance of MqttServer and and the latter returns an instance of MqttSecureServer. - * - * While it is possible to instantiate these classes through new MqttServer(), it is strongly recommended to use the factory - * methods - * - * @link https://github.com/mqttjs/MQTT.js/wiki/server - */ - interface Server extends EventEmitter { - - } - -} - -export = mqtt; diff --git a/types/mqtt/mqtt-tests.ts b/types/mqtt/mqtt-tests.ts deleted file mode 100644 index 4022616c03..0000000000 --- a/types/mqtt/mqtt-tests.ts +++ /dev/null @@ -1,14 +0,0 @@ -import mqtt = require('mqtt'); - -var client: mqtt.Client = mqtt.connect('mqtt://test.mosquitto.org'); - -client.on('connect', () => { - client.subscribe('presence'); - client.publish('presence', 'Hello mqtt'); -}); - -client.on('message', (topic: string, message: Buffer) => { - // message is Buffer - console.log(message.toString()); - client.end(); -}); diff --git a/types/mqtt/tsconfig.json b/types/mqtt/tsconfig.json deleted file mode 100644 index 7149db58c4..0000000000 --- a/types/mqtt/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "mqtt-tests.ts" - ] -} \ No newline at end of file From b7d6b8d33fc82cd202d34386a125e793951029f5 Mon Sep 17 00:00:00 2001 From: Tom Wanzek <tomwanzek@gmail.com> Date: Wed, 11 Oct 2017 19:13:31 -0400 Subject: [PATCH 290/433] [d3-drag/d3-zoom] Update minor versions 1.2.1/1.6.0 (#20323) * Minor Version updates: * [d3-drag] Added `touchable(...)` support * [d3-drag] Bumped minor version to 1.2 * [d3-zoom] Added `touchable(...)` support * [d3-zoom] Bumped minor version to 1.6 * d3 * Bump minor version to 4.11 --- types/d3-drag/d3-drag-tests.ts | 18 ++++++++++++++++++ types/d3-drag/index.d.ts | 32 ++++++++++++++++++++++++++++++-- types/d3-zoom/d3-zoom-tests.ts | 18 ++++++++++++++++++ types/d3-zoom/index.d.ts | 32 ++++++++++++++++++++++++++++++-- types/d3/index.d.ts | 2 +- 5 files changed, 97 insertions(+), 5 deletions(-) diff --git a/types/d3-drag/d3-drag-tests.ts b/types/d3-drag/d3-drag-tests.ts index 581b757717..848e3d1256 100644 --- a/types/d3-drag/d3-drag-tests.ts +++ b/types/d3-drag/d3-drag-tests.ts @@ -110,6 +110,24 @@ circleDrag = circleDrag.filter(function(d, i, group) { // getter filterFn = circleDrag.filter(); +// set and get touchable --------------------------------------------------------- + +let touchableFn: (this: SVGCircleElement, datum: CircleDatum, index: number, group: SVGCircleElement[] | NodeListOf<SVGCircleElement>) => boolean; + +// chainable + +circleDrag = circleDrag.touchable(true); + +circleDrag = circleDrag.touchable(function(d, i, group) { + const that: SVGCircleElement = this; + const datum: CircleDatum = d; + const g: SVGCircleElement[] | NodeListOf<SVGCircleElement> = group; + return "ontouchstart" in this && datum.color === 'green'; +}); + +// getter +touchableFn = circleDrag.touchable(); + // set and get subject --------------------------------------------------------- circleCustomDrag.subject(function(d, i, g) { diff --git a/types/d3-drag/index.d.ts b/types/d3-drag/index.d.ts index 7105bd4e4d..b930081d15 100644 --- a/types/d3-drag/index.d.ts +++ b/types/d3-drag/index.d.ts @@ -1,9 +1,9 @@ -// Type definitions for D3JS d3-drag module 1.1 +// Type definitions for D3JS d3-drag module 1.2 // Project: https://github.com/d3/d3-drag/ // Definitions by: Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// Last module patch version validated against: 1.1.0 +// Last module patch version validated against: 1.2.1 import { ArrayLike, Selection, ValueFn } from 'd3-selection'; @@ -126,6 +126,34 @@ export interface DragBehavior<GElement extends DraggedElementBaseType, Datum, Su */ filter(filterFn: ValueFn<GElement, Datum, boolean>): this; + /** + * Returns the current touch support detector, which defaults to a function returning true, + * if the "ontouchstart" event is supported on the current element. + */ + touchable(): ValueFn<GElement, Datum, boolean>; + /** + * Sets the touch support detector to the specified boolean value and returns the drag behavior. + * + * Touch event listeners are only registered if the detector returns truthy for the corresponding element when the drag behavior is applied. + * The default detector works well for most browsers that are capable of touch input, but not all; Chrome’s mobile device emulator, for example, + * fails detection. + * + * @param touchable A boolean value. true when touch event listeners should be applied to the corresponding element, otherwise false. + */ + touchable(touchable: boolean): this; + /** + * Sets the touch support detector to the specified function and returns the drag behavior. + * + * Touch event listeners are only registered if the detector returns truthy for the corresponding element when the drag behavior is applied. + * The default detector works well for most browsers that are capable of touch input, but not all; Chrome’s mobile device emulator, for example, + * fails detection. + * + * @param touchable A touch support detector function, which returns true when touch event listeners should be applied to the corresponding element. + * The function is evaluated for each selected element to which the drag behavior was applied, in order, being passed the current datum (d), + * the current index (i), and the current group (nodes), with this as the current DOM element. The function returns a boolean value. + */ + touchable(touchable: ValueFn<GElement, Datum, boolean>): this; + /** * Returns the current subject accessor functions. */ diff --git a/types/d3-zoom/d3-zoom-tests.ts b/types/d3-zoom/d3-zoom-tests.ts index 02f7120e79..8ff3f566f5 100644 --- a/types/d3-zoom/d3-zoom-tests.ts +++ b/types/d3-zoom/d3-zoom-tests.ts @@ -135,6 +135,24 @@ svgZoom = svgZoom.filter(function(d, i, group) { let filterFn: (this: SVGRectElement, d: SVGDatum, index: number, group: SVGRectElement[]) => boolean; filterFn = svgZoom.filter(); +// set and get touchable --------------------------------------------------------- + +let touchableFn: (this: SVGRectElement, d: SVGDatum, index: number, group: SVGRectElement[]) => boolean; + +// chainable + +svgZoom = svgZoom.touchable(true); + +svgZoom = svgZoom.touchable(function(d, i, group) { + const that: SVGRectElement = this; + const datum: SVGDatum = d; + const g: SVGRectElement[] | NodeListOf<SVGRectElement> = group; + return "ontouchstart" in this && datum.height > 0; +}); + +// getter +touchableFn = svgZoom.touchable(); + // wheelDelta() ---------------------------------------------------------------- // chainable diff --git a/types/d3-zoom/index.d.ts b/types/d3-zoom/index.d.ts index a633644ded..1ca39261a5 100644 --- a/types/d3-zoom/index.d.ts +++ b/types/d3-zoom/index.d.ts @@ -1,9 +1,9 @@ -// Type definitions for d3JS d3-zoom module 1.5 +// Type definitions for d3JS d3-zoom module 1.6 // Project: https://github.com/d3/d3-zoom/ // Definitions by: Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// Last module patch version validated against: 1.5.0 +// Last module patch version validated against: 1.6.0 import { ArrayLike, Selection, TransitionLike, ValueFn } from 'd3-selection'; import { ZoomView, ZoomInterpolator } from 'd3-interpolate'; @@ -517,6 +517,34 @@ export interface ZoomBehavior<ZoomRefElement extends ZoomedElementBaseType, Datu */ filter(filterFn: ValueFn<ZoomRefElement, Datum, boolean>): this; + /** + * Returns the current touch support detector, which defaults to a function returning true, + * if the "ontouchstart" event is supported on the current element. + */ + touchable(): ValueFn<ZoomRefElement, Datum, boolean>; + /** + * Sets the touch support detector to the specified boolean value and returns the zoom behavior. + * + * Touch event listeners are only registered if the detector returns truthy for the corresponding element when the zoom behavior is applied. + * The default detector works well for most browsers that are capable of touch input, but not all; Chrome’s mobile device emulator, for example, + * fails detection. + * + * @param touchable A boolean value. true when touch event listeners should be applied to the corresponding element, otherwise false. + */ + touchable(touchable: boolean): this; + /** + * Sets the touch support detector to the specified function and returns the zoom behavior. + * + * Touch event listeners are only registered if the detector returns truthy for the corresponding element when the zoom behavior is applied. + * The default detector works well for most browsers that are capable of touch input, but not all; Chrome’s mobile device emulator, for example, + * fails detection. + * + * @param touchable A touch support detector function, which returns true when touch event listeners should be applied to the corresponding element. + * The function is evaluated for each selected element to which the zoom behavior was applied, in order, being passed the current datum (d), + * the current index (i), and the current group (nodes), with this as the current DOM element. The function returns a boolean value. + */ + touchable(touchable: ValueFn<ZoomRefElement, Datum, boolean>): this; + /** * Returns the current wheelDelta function. */ diff --git a/types/d3/index.d.ts b/types/d3/index.d.ts index 1a17c3acca..6cfb1aa493 100644 --- a/types/d3/index.d.ts +++ b/types/d3/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for D3JS d3 standard bundle 4.10 +// Type definitions for D3JS d3 standard bundle 4.11 // Project: https://github.com/d3/d3 // Definitions by: Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped From 6b3463ec0c713248b7c6ab18f1bbcc82826e0c3d Mon Sep 17 00:00:00 2001 From: Patrick Walsh <patrick.nilsen.walsh@gmail.com> Date: Wed, 11 Oct 2017 19:14:12 -0400 Subject: [PATCH 291/433] [mixpanel] Add time_event, people.union, and typedef for init config param (#20342) * @types/mixpanel: Add 'time_event' and 'people.union' functions * @types/mixpanel: Add typedef for mixpanel.init() library configuration --- types/mixpanel/index.d.ts | 63 +++++++++++++++++++++++++++++++- types/mixpanel/mixpanel-tests.ts | 8 ++++ 2 files changed, 69 insertions(+), 2 deletions(-) diff --git a/types/mixpanel/index.d.ts b/types/mixpanel/index.d.ts index aac6c97ac9..fdb6721fab 100644 --- a/types/mixpanel/index.d.ts +++ b/types/mixpanel/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Mixpanel 2.11 +// Type definitions for Mixpanel 2.13.0 // Project: https://mixpanel.com/ // https://github.com/mixpanel/mixpanel-js // Definitions by: Knut Eirik Leira Hjelle <https://github.com/hjellek> @@ -8,12 +8,14 @@ interface Mixpanel { people:Mixpanel.People; - init(token:string, config?:{[index:string]:any}, libraryName?:string):Mixpanel; + init(token:string, config?:Mixpanel.Config, libraryName?:string):Mixpanel; push(item:any[]):void; disable(events?:string[]):void; + time_event(eventName:string):void; + track(eventName:string, params?:{[index:string]:any}, callback?:() => void):void; track_links(querySelector:string, eventName:string, params?:{[index:string]:any}):void; @@ -53,6 +55,10 @@ declare namespace Mixpanel set_once(key:string, value:any, callback?:() => void):void; + union(prop: string, values:any, callback?:() => void):void; + + union(keys:{[index:string]:any}, callback?:() => void):void; + increment(key:string):void; increment(keys:{[index:string]:number}):void; @@ -69,6 +75,59 @@ declare namespace Mixpanel delete_user():void; } + + interface Config + { + api_host?: string; + + app_host?: string; + + cdn?: string; + + persistence?: string; + + persistence_name?: string; + + cookie_name?: string; + + autotrack?: boolean; + + cross_subdomain_cookie?: boolean; + + store_google?: boolean; + + save_referrer?: boolean; + + test?: boolean; + + verbose?: boolean; + + img?: boolean; + + track_pageview?: boolean; + + debug?: boolean; + + upgrade?: boolean; + + disable_persistence?: boolean; + + disable_cookie?: boolean; + + secure_cookie?: boolean; + + ip?: boolean; + + loaded?: (lib:Mixpanel) => void; + + track_links_timeout?: number; + + cookie_expiration?: number; + + property_blacklist?: string[]; + + [other:string]:any + } } declare var mixpanel:Mixpanel; diff --git a/types/mixpanel/mixpanel-tests.ts b/types/mixpanel/mixpanel-tests.ts index d826478665..bb5f0794cb 100644 --- a/types/mixpanel/mixpanel-tests.ts +++ b/types/mixpanel/mixpanel-tests.ts @@ -9,6 +9,8 @@ function mixpanel_base() mixpanel.disable(['my_event']); + mixpanel.time_event('Registered'); + mixpanel.track("Registered", {"Gender": "Male", "Age": 21}); mixpanel.track_links("#nav", "Clicked Nav Link"); @@ -59,6 +61,12 @@ function mixpanel_people() counter2: 1 }); + mixpanel.people.union('pages_visited', 'homepage'); + mixpanel.people.union({ + list1: 'bob', + list2: 123 + }); + mixpanel.people.append('pages_visited', 'homepage'); mixpanel.people.append({ list1: 'bob', From 153f7f59194c0fd6cbe48ca74141f46e3680b72d Mon Sep 17 00:00:00 2001 From: CodeAnimal <codeanimal@outlook.com> Date: Thu, 12 Oct 2017 00:15:35 +0100 Subject: [PATCH 292/433] Add feedme 1.0.1 npm package type definitions (#20111) * Add feedme 1.0.1 type definitions * Remove types from tsconfig.json * Add tslint.json Correct issues raised by dtslint. * Add CommonJs module import tests * Remove `import * as ...` test case. * Add "strictFunctionTypes" to tsconfig --- types/feedme/feedme-tests.ts | 63 ++++++++++++++++++++ types/feedme/index.d.ts | 109 +++++++++++++++++++++++++++++++++++ types/feedme/tsconfig.json | 23 ++++++++ types/feedme/tslint.json | 11 ++++ 4 files changed, 206 insertions(+) create mode 100644 types/feedme/feedme-tests.ts create mode 100644 types/feedme/index.d.ts create mode 100644 types/feedme/tsconfig.json create mode 100644 types/feedme/tslint.json diff --git a/types/feedme/feedme-tests.ts b/types/feedme/feedme-tests.ts new file mode 100644 index 0000000000..5efce41168 --- /dev/null +++ b/types/feedme/feedme-tests.ts @@ -0,0 +1,63 @@ +import FeedMe = require("feedme"); +import * as http from "http"; + +http.get('https://nodejs.org/en/feed/blog.xml', (res) => { + const feedme = new FeedMe(true); + const feedmeWithoutBuffer = new FeedMe(); + + res.pipe(feedme); + + feedme.on('end', () => { + const document: FeedMe.Document = feedme.done(); + + const metatype: FeedMe.Type = document.type; + // "#version": string; + const metatitle: string = document.title; + const metadescription: string = document.description; + const metadate: string = document.date; + const metapubdate: string = document.pubdate; + const metalink: string = document.link; + const metaxmlurl: string = document.xmlurl; + const metaauthor: string = document.author; + const metalanguage: string = document.language; + const metaimage: FeedMe.Image = document.image; + const metafavicon: string = document.favicon; + const metacopyright: string = document.copyright; + const metagenerator: string = document.generator; + const metacategories: string[] = document.categories; + + switch (document.type) { + case "atom": + case "json": + case "rss 0.90": + case "rss 0.91": + case "rss 0.92": + case "rss 0.93": + case "rss 0.94": + case "rss 1.0": + case "rss 2.0": + break; + } + + const misc: string = document["misc"]; + }); + + feedme.on('item', (item) => { + const title: string = item.title; + const description: string = item.description; + const summary: string = item.summary; + const date: string = item.date; + const pubdate: string = item.pubdate; + const link: string = item.link; + const origlink: string = item.origlink; + const author: string = item.author; + const guid: FeedMe.Guid | string = item.guid; + const comments: string = item.comments; + const image: FeedMe.Image = item.image; + const categories: string[] = item.categories; + const enclosures: string[] = item.enclosures; + const meta: FeedMe.Meta = item.meta; + + const misc: string = item["misc"]; + }); +}); diff --git a/types/feedme/index.d.ts b/types/feedme/index.d.ts new file mode 100644 index 0000000000..35859cd698 --- /dev/null +++ b/types/feedme/index.d.ts @@ -0,0 +1,109 @@ +// Type definitions for feedme 1.0 +// Project: https://github.com/fent/feedme.js +// Definitions by: Peter Harris <https://github.com/codeanimal> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +/// <reference types="node" /> + +import { EventEmitter } from 'events'; +import { Writable, Readable } from 'stream'; + +declare class FeedMe extends Writable { + /** + * Creates a new instance of the FeedMe parser. + * + * @param buffer Can be true if you want the parser to buffer the entire feed document as a JSON object, letting you use the FeedMe#done() method. + */ + constructor(buffer?: boolean); + + /** + * Can only be used if buffer is true. It returns the feed as a Javascript object, should be called after end is emitted from the parser. + * Subelements are put as children objects with their names as keys. When one object has more than one child of the same name, they are + * put into an array. Items are always put into an array. + */ + done(): FeedMe.Document; + + on(event: string, listener: (...args: any[]) => void): this; + on(event: "close" | "drain" | "finish", listener: () => void): this; + on(event: "pipe" | "unpipe", listener: (src: Readable) => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "item", listener: (item: FeedMe.Item) => void): this; + on(event: "type", listener: (type: FeedMe.Type) => void): this; +} + +declare namespace FeedMe { + type Type = "atom" | "rss 0.90" | "rss 0.91" | "rss 0.92" | "rss 0.93" | "rss 0.94" | "rss 1.0" | "rss 2.0" | "json"; + + interface Document extends Meta { + items: Item[]; + } + + interface Attrs { + name: string; + value: any; + prefix: string; + local: string; + uri: string; + } + + interface NS { + [key: string]: string; + } + + interface Image { + url: string; + title: string; + link: string; + width: string; + height: string; + } + + interface Meta { + [key: string]: any; + + // "#ns": NS[]; + "type": Type; + // "#version": string; + title: string; + description: string; + date: string; + pubdate: string; + lastbuilddate: string; + link: string; + xmlurl: string; + author: string; + language: string; + image: Image; + favicon: string; + copyright: string; + generator: string; + categories: string[]; + } + + interface Item { + [key: string]: any; + + title: string; + description: string; + summary: string; + date: string; + pubdate: string; + link: string; + origlink: string; + author: string; + guid: string | Guid; + comments: string; + image: Image; + categories: string[]; + enclosures: string[]; + // meta: Meta; + } + + interface Guid { + ispermalink: string; + text: string; + } +} + +export = FeedMe; diff --git a/types/feedme/tsconfig.json b/types/feedme/tsconfig.json new file mode 100644 index 0000000000..aa5f186309 --- /dev/null +++ b/types/feedme/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes" : false + }, + "files": [ + "index.d.ts", + "feedme-tests.ts" + ] +} \ No newline at end of file diff --git a/types/feedme/tslint.json b/types/feedme/tslint.json new file mode 100644 index 0000000000..1fa97d3027 --- /dev/null +++ b/types/feedme/tslint.json @@ -0,0 +1,11 @@ +{ + "defaultSeverity": "error", + "extends": "dtslint/dt.json", + "jsRules": {}, + "rules": { + // "ban-types": false, + // "no-single-declare-module": false, + // "no-var": false + }, + "rulesDirectory": [] +} \ No newline at end of file From e042aa6ed4f8684aded281ea217e1eb0bfd63f55 Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Wed, 11 Oct 2017 16:16:43 -0700 Subject: [PATCH 293/433] d3-countour: Enable strictFunctionTypes (#20375) --- types/d3-contour/d3-contour-tests.ts | 2 +- types/d3-contour/tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/types/d3-contour/d3-contour-tests.ts b/types/d3-contour/d3-contour-tests.ts index 588750bf29..2a7444ab19 100644 --- a/types/d3-contour/d3-contour-tests.ts +++ b/types/d3-contour/d3-contour-tests.ts @@ -38,7 +38,7 @@ function goldsteinPrice(x: number, y: number) { let size: [number, number]; let boolFlag: boolean; -const thresholdArrayGen: ThresholdArrayGenerator<number> = (values: number[], min: number, max: number) => { +const thresholdArrayGen: ThresholdArrayGenerator<number> = (values: ArrayLike<number>, min?: number, max?: number) => { let thresholds: number[]; thresholds = [values[1], values[2], values[4]]; return thresholds; diff --git a/types/d3-contour/tsconfig.json b/types/d3-contour/tsconfig.json index d367ee16c7..345a064caa 100644 --- a/types/d3-contour/tsconfig.json +++ b/types/d3-contour/tsconfig.json @@ -8,7 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, - "strictFunctionTypes": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" From ce93003d66f71e4e77984a1f0d6d10366411b9fe Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Wed, 11 Oct 2017 16:17:36 -0700 Subject: [PATCH 294/433] yog2-kernel: Fix strictFunctionTypes errors (#20376) --- types/yog2-kernel/index.d.ts | 2 +- types/yog2-kernel/tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/types/yog2-kernel/index.d.ts b/types/yog2-kernel/index.d.ts index 8eac4d33f3..9b1076dd7b 100644 --- a/types/yog2-kernel/index.d.ts +++ b/types/yog2-kernel/index.d.ts @@ -54,7 +54,7 @@ export interface ActionObject { export interface Router extends express.Router { action(actionName: string): express.RequestHandler | ActionObject; - wrapAsync(fn: (req?: express.Request, resp?: express.Response, next?: express.NextFunction) => any): express.RequestHandler; + wrapAsync(fn: (req: Request, resp: Response, next: express.NextFunction) => any): express.RequestHandler; } export namespace yog { diff --git a/types/yog2-kernel/tsconfig.json b/types/yog2-kernel/tsconfig.json index bc2848fcc6..56155a7fec 100644 --- a/types/yog2-kernel/tsconfig.json +++ b/types/yog2-kernel/tsconfig.json @@ -8,7 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, - "strictFunctionTypes": false, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" From dd06dd6ece948576e8af5bbfb74975e74d66c529 Mon Sep 17 00:00:00 2001 From: lucideer <lucideer@users.noreply.github.com> Date: Thu, 12 Oct 2017 00:18:18 +0100 Subject: [PATCH 295/433] [geojson] Allow numeric ID on GeoJSON Feature (#20320) * Allow numeric ID on GeoJSON Feature * Allowing numeric ID on GeoJSON features in d3-geo (after CI failure from changes to geojson typings) --- types/d3-geo/index.d.ts | 2 +- types/geojson/geojson-tests.ts | 2 ++ types/geojson/index.d.ts | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/types/d3-geo/index.d.ts b/types/d3-geo/index.d.ts index 40ec500f90..231a2b3fe4 100644 --- a/types/d3-geo/index.d.ts +++ b/types/d3-geo/index.d.ts @@ -46,7 +46,7 @@ export interface ExtendedGeometryCollection<GeometryType extends GeoGeometryObje export interface ExtendedFeature<GeometryType extends GeoGeometryObjects, Properties> extends GeoJSON.GeoJsonObject { geometry: GeometryType; properties: Properties; - id?: string; + id?: string | number; } /** diff --git a/types/geojson/geojson-tests.ts b/types/geojson/geojson-tests.ts index 64b2b34f2b..85a7df2034 100644 --- a/types/geojson/geojson-tests.ts +++ b/types/geojson/geojson-tests.ts @@ -2,6 +2,7 @@ let featureCollection: GeoJSON.FeatureCollection<any> = { type: "FeatureCollection", features: [ { + id: 1234, type: "Feature", geometry: { type: "Point", @@ -12,6 +13,7 @@ let featureCollection: GeoJSON.FeatureCollection<any> = { } }, { + id: "stringid", type: "Feature", geometry: { type: "LineString", diff --git a/types/geojson/index.d.ts b/types/geojson/index.d.ts index 120a9cf100..9c55aa19c9 100644 --- a/types/geojson/index.d.ts +++ b/types/geojson/index.d.ts @@ -87,13 +87,13 @@ export interface GeometryCollection extends GeoJsonObject { } /*** -* http://geojson.org/geojson-spec.html#feature-objects +* https://tools.ietf.org/html/rfc7946#section-3.2 */ export interface Feature<T extends GeometryObject> extends GeoJsonObject { type: 'Feature'; geometry: T; properties: any; - id?: string; + id?: string | number; } /*** From 0fc087ca36fee69492ac4dc6a0cafc057b70b3d8 Mon Sep 17 00:00:00 2001 From: xeningem <xeningem@gmail.com> Date: Thu, 12 Oct 2017 02:20:10 +0300 Subject: [PATCH 296/433] Fix definition for convert-layout (#20355) * Add types for convert-layout ( https://github.com/ai/convert-layout ) * Add missed layouts, fix tsc warnings * Fix tslint and common mistakes * Simplify definition structure for convert-layout --- types/convert-layout/by.d.ts | 2 - types/convert-layout/convert-layout-tests.ts | 2 +- types/convert-layout/de.d.ts | 2 - types/convert-layout/es.d.ts | 2 - types/convert-layout/he.d.ts | 2 - types/convert-layout/index.d.ts | 47 +++++++++++++++++++- types/convert-layout/kk.d.ts | 2 - types/convert-layout/ru.d.ts | 2 - types/convert-layout/tsconfig.json | 7 --- types/convert-layout/tslint.json | 7 ++- types/convert-layout/uk.d.ts | 2 - 11 files changed, 52 insertions(+), 25 deletions(-) delete mode 100644 types/convert-layout/by.d.ts delete mode 100644 types/convert-layout/de.d.ts delete mode 100644 types/convert-layout/es.d.ts delete mode 100644 types/convert-layout/he.d.ts delete mode 100644 types/convert-layout/kk.d.ts delete mode 100644 types/convert-layout/ru.d.ts delete mode 100644 types/convert-layout/uk.d.ts diff --git a/types/convert-layout/by.d.ts b/types/convert-layout/by.d.ts deleted file mode 100644 index bc4d5ac834..0000000000 --- a/types/convert-layout/by.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { layout } from './index'; -export const by: layout; diff --git a/types/convert-layout/convert-layout-tests.ts b/types/convert-layout/convert-layout-tests.ts index 041e257531..8a55a1bfb5 100644 --- a/types/convert-layout/convert-layout-tests.ts +++ b/types/convert-layout/convert-layout-tests.ts @@ -1,4 +1,4 @@ -import { ru } from 'convert-layout/ru'; +import { ru } from 'convert-layout'; const s = 'Lorem ipsum dolor sit amet.'; let result = ru.toEn(s); diff --git a/types/convert-layout/de.d.ts b/types/convert-layout/de.d.ts deleted file mode 100644 index d422224a3f..0000000000 --- a/types/convert-layout/de.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { layout } from './index'; -export const de: layout; diff --git a/types/convert-layout/es.d.ts b/types/convert-layout/es.d.ts deleted file mode 100644 index 3c4a7b75dd..0000000000 --- a/types/convert-layout/es.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { layout } from './index'; -export const es: layout; diff --git a/types/convert-layout/he.d.ts b/types/convert-layout/he.d.ts deleted file mode 100644 index ca98b2d035..0000000000 --- a/types/convert-layout/he.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { layout } from './index'; -export const he: layout; diff --git a/types/convert-layout/index.d.ts b/types/convert-layout/index.d.ts index 65475cf107..b19370efd2 100644 --- a/types/convert-layout/index.d.ts +++ b/types/convert-layout/index.d.ts @@ -3,9 +3,52 @@ // Definitions by: Mikhail Aksenov <https://github.com/xeningem> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 -export const layouts: { [id: string]: layout }; +declare var layouts: { [id: string]: layout }; +declare var lang_layout: layout; -export interface layout { +declare const convert_layout: { + by: layout; + de: layout; + es: layout; + he: layout; + kk: layout; + ru: layout; + uk: layout; +}; + +declare module "convert-layout" { + export = convert_layout; +} + +declare module "convert-layout/by" { + export = lang_layout; +} + +declare module "convert-layout/de" { + export = lang_layout; +} + +declare module "convert-layout/es" { + export = lang_layout; +} + +declare module "convert-layout/he" { + export = lang_layout; +} + +declare module "convert-layout/kk" { + export = lang_layout; +} + +declare module "convert-layout/ru" { + export = lang_layout; +} + +declare module "convert-layout/uk" { + export = lang_layout; +} + +interface layout { toEn(s: string): string; fromEn(s: string): string; } diff --git a/types/convert-layout/kk.d.ts b/types/convert-layout/kk.d.ts deleted file mode 100644 index a9cc93f774..0000000000 --- a/types/convert-layout/kk.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { layout } from './index'; -export const kk: layout; diff --git a/types/convert-layout/ru.d.ts b/types/convert-layout/ru.d.ts deleted file mode 100644 index 3cd24807cb..0000000000 --- a/types/convert-layout/ru.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { layout } from './index'; -export const ru: layout; diff --git a/types/convert-layout/tsconfig.json b/types/convert-layout/tsconfig.json index 6e40f2f030..e9ef959215 100644 --- a/types/convert-layout/tsconfig.json +++ b/types/convert-layout/tsconfig.json @@ -18,13 +18,6 @@ }, "files": [ "index.d.ts", - "by.d.ts", - "de.d.ts", - "es.d.ts", - "he.d.ts", - "kk.d.ts", - "ru.d.ts", - "uk.d.ts", "convert-layout-tests.ts" ] } \ No newline at end of file diff --git a/types/convert-layout/tslint.json b/types/convert-layout/tslint.json index 3db14f85ea..5ef9aa96e5 100644 --- a/types/convert-layout/tslint.json +++ b/types/convert-layout/tslint.json @@ -1 +1,6 @@ -{ "extends": "dtslint/dt.json" } +{ + "extends": "dtslint/dt.json", + "rules": { + "no-declare-current-package": false + } +} diff --git a/types/convert-layout/uk.d.ts b/types/convert-layout/uk.d.ts deleted file mode 100644 index dee51e6f00..0000000000 --- a/types/convert-layout/uk.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { layout } from './index'; -export const uk: layout; From b4f36d8b46d451aa33c65b4e2ea898953a6f3da8 Mon Sep 17 00:00:00 2001 From: Giorgio Garasto <mail@dabolus.com> Date: Thu, 12 Oct 2017 01:20:57 +0200 Subject: [PATCH 297/433] node-telegram-bot-api - Added missing type definitions (#20335) * Added types based on https://core.telegram.org/bots/api * Fixed dtslint errors * Updated tests * Syntax update Switched to newer syntax for function declarations in interfaces. --- types/node-telegram-bot-api/index.d.ts | 967 ++++++++++++++++-- .../node-telegram-bot-api-tests.ts | 105 +- 2 files changed, 968 insertions(+), 104 deletions(-) diff --git a/types/node-telegram-bot-api/index.d.ts b/types/node-telegram-bot-api/index.d.ts index 60b46b137c..4e33b64253 100644 --- a/types/node-telegram-bot-api/index.d.ts +++ b/types/node-telegram-bot-api/index.d.ts @@ -2,79 +2,924 @@ // Project: https://github.com/yagop/node-telegram-bot-api // Definitions by: Alex Muench <https://github.com/ammuench> // Agadar <https://github.com/agadar> +// Giorgio Garasto <https://github.com/Dabolus> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.1 +// TypeScript Version: 2.2 /// <reference types="node" /> import { EventEmitter } from 'events'; -import { Stream } from "stream"; +import { Stream } from 'stream'; +import { ServerOptions } from 'https'; +import { Options } from 'request'; + +declare namespace TelegramBot { + interface TextListener { + regexp: RegExp; + callback(msg: Message, match: RegExpExecArray | null): void; + } + + interface ReplyListener { + id: number; + chatId: number | string; + messageId: number | string; + callback(msg: Message): void; + } + + /// METHODS OPTIONS /// + interface PollingOptions { + interval?: string | number; + autoStart?: boolean; + params?: GetUpdatesOptions; + } + + interface WebHookOptions { + host?: string; + post?: number; + key: string; + cert: string; + pfx: string; + autoOpen?: boolean; + https?: ServerOptions; + healthEndpoint?: string; + } + + interface ConstructorOptions { + polling?: boolean | PollingOptions; + webHook?: boolean | WebHookOptions; + onlyFirstMatch?: boolean; + request?: Options; + baseApiUrl?: string; + filepath?: boolean; + } + + interface StartPollingOptions extends ConstructorOptions { + restart?: boolean; + } + + interface SetWebHookOptions { + url?: string; + certificate?: string | Stream; + max_connections?: number; + allowed_updates?: string[]; + } + + interface GetUpdatesOptions { + offset?: number; + limit?: number; + timeout?: number; + allowed_updates?: string[]; + } + + interface SendBasicOptions { + disable_notification?: boolean; + reply_to_message_id?: number; + reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply; + } + + interface SendMessageOptions extends SendBasicOptions { + parse_mode?: string; + disable_web_page_preview?: boolean; + } + + interface AnswerInlineQueryOptions { + cache_time?: number; + is_personal?: boolean; + next_offset?: string; + switch_pm_text?: string; + switch_pm_parameter?: string; + } + + interface ForwardMessageOptions { + disable_notification?: boolean; + } + + interface SendPhotoOptions extends SendBasicOptions { + caption?: string; + } + + interface SendAudioOptions extends SendBasicOptions { + caption?: string; + duration?: number; + performer?: string; + title?: string; + } + + interface SendDocumentOptions extends SendBasicOptions { + caption?: string; + } + + type SendStickerOptions = SendBasicOptions; + + interface SendVideoOptions extends SendBasicOptions { + duration?: number; + width?: number; + height?: number; + caption?: string; + } + + interface SendVoiceOptions extends SendBasicOptions { + caption?: string; + duration?: number; + } + + interface SendVideoNoteOptions extends SendBasicOptions { + duration?: number; + length?: number; + } + + type SendLocationOptions = SendBasicOptions; + + interface SendVenueOptions extends SendBasicOptions { + foursquare_id?: string; + } + + interface SendContactOptions extends SendBasicOptions { + last_name?: string; + } + + type SendGameOptions = SendBasicOptions; + + interface SendInvoiceOptions extends SendBasicOptions { + photo_url?: string; + photo_size?: number; + photo_width?: number; + photo_height?: number; + need_name?: boolean; + need_phone_number?: boolean; + need_email?: boolean; + need_shipping_address?: boolean; + is_flexible?: boolean; + } + + interface RestrictChatMemberOptions { + until_date?: number; + can_send_messages?: boolean; + can_send_media_messages?: boolean; + can_send_other_messages?: boolean; + can_add_web_page_previews?: boolean; + } + + interface PromoteChatMemberOptions { + can_change_info?: boolean; + can_post_messages?: boolean; + can_edit_messages?: boolean; + can_delete_messages?: boolean; + can_invite_users?: boolean; + can_restrict_members?: boolean; + can_pin_messages?: boolean; + can_promote_members?: boolean; + } + + interface AnswerCallbackQueryOptions { + callback_query_id: string; + text?: string; + show_alert?: boolean; + url?: string; + cache_time?: number; + } + + interface EditMessageTextOptions extends EditMessageCaptionOptions { + parse_mode?: string; + disable_web_page_preview?: boolean; + } + + interface EditMessageCaptionOptions extends EditMessageReplyMarkupOptions { + reply_markup?: InlineKeyboardMarkup; + } + + interface EditMessageReplyMarkupOptions { + chat_id?: number | string; + message_id?: number; + inline_message_id?: string; + } + + interface GetUserProfilePhotosOptions { + offset?: number; + limit?: number; + } + + interface SetGameScoreOptions { + force?: boolean; + disable_edit_message?: boolean; + chat_id?: number; + message_id?: number; + inline_message_id?: string; + } + + interface GetGameHighScoresOptions { + chat_id?: number; + message_id?: number; + inline_message_id?: string; + } + + interface AnswerShippingQueryOptions { + shipping_options?: ShippingOption[]; + error_message?: string; + } + + interface AnswerPreCheckoutQueryOptions { + error_message?: string; + } + + /// TELEGRAM TYPES /// + interface Update { + update_id: number; + message?: Message; + edited_message?: Message; + channel_post?: Message; + edited_channel_post?: Message; + inline_query?: InlineQuery; + chosen_inline_result?: ChosenInlineResult; + callback_query?: CallbackQuery; + shipping_query?: ShippingQuery; + pre_checkout_query?: PreCheckoutQuery; + } + + interface WebhookInfo { + url: string; + has_custom_certificate: boolean; + pending_update_count: number; + last_error_date?: number; + last_error_message?: string; + max_connections?: number; + allowed_updates?: string[]; + } + + interface User { + id: number; + is_bot: boolean; + first_name: string; + last_name?: string; + username?: string; + language_code?: string; + } + + interface Chat { + id: number; + type: string; + title?: string; + username?: string; + first_name?: string; + last_name?: string; + all_members_are_administrators?: boolean; + photo?: ChatPhoto; + description?: string; + invite_link?: string; + pinned_message?: Message; + } + + interface Message { + message_id: number; + from?: User; + date: number; + chat: Chat; + forward_from?: User; + forward_from_chat?: Chat; + forward_from_message_id?: number; + forward_signature?: string; + forward_date?: number; + reply_to_message?: Message; + edit_date?: number; + author_signature?: string; + text?: string; + entities?: MessageEntity[]; + audio?: Audio; + document?: Document; + game?: Game; + photo?: PhotoSize[]; + sticker?: Sticker; + video?: Video; + voice?: Voice; + video_note?: VideoNote; + caption?: string; + contact?: Contact; + location?: Location; + venue?: Venue; + new_chat_members?: User[]; + left_chat_member?: User; + new_chat_title?: string; + new_chat_photo?: PhotoSize[]; + delete_chat_photo?: boolean; + group_chat_created?: boolean; + supergroup_chat_created?: boolean; + channel_chat_created?: boolean; + migrate_to_chat_id?: number; + migrate_from_chat_id?: number; + pinned_message?: Message; + invoice?: Invoice; + successful_payment?: SuccessfulPayment; + } + + interface MessageEntity { + type: string; + offset: number; + length: number; + url?: string; + user?: User; + } + + interface FileBase { + file_id: string; + file_size?: number; + } + + interface PhotoSize extends FileBase { + width: number; + height: number; + } + + interface Audio extends FileBase { + duration: number; + performer?: string; + title?: string; + mime_type?: string; + } + + interface Document extends FileBase { + thumb?: PhotoSize; + file_name?: string; + mime_type?: string; + } + + interface Video { + width: number; + height: number; + duration: number; + thumb?: PhotoSize; + mime_type?: string; + } + + interface Voice extends FileBase { + duration: number; + mime_type?: string; + } + + interface VideoNote extends FileBase { + length: number; + duration: number; + thumb?: PhotoSize; + } + + interface Contact { + phone_number: string; + first_name: string; + last_name?: string; + user_id?: number; + } + + interface Location { + longitude: number; + latitude: number; + } + + interface Venue { + location: Location; + title: string; + address: string; + foursquare_id?: string; + } + + interface UserProfilePhotos { + total_count: number; + photos: PhotoSize[][]; + } + + interface File extends FileBase { + file_path?: string; + } + + interface ReplyKeyboardMarkup { + keyboard: KeyboardButton[][]; + resize_keyboard?: boolean; + one_time_keyboard?: boolean; + selective?: boolean; + } + + interface KeyboardButton { + text: string; + request_contact?: boolean; + request_location?: boolean; + } + + interface ReplyKeyboardRemove { + remove_keyboard: boolean; + selective?: boolean; + } + + interface InlineKeyboardMarkup { + inline_keyboard: InlineKeyboardButton[][]; + } + + interface InlineKeyboardButton { + text: string; + url?: string; + callback_data?: string; + switch_inline_query?: string; + switch_inline_query_current_chat?: string; + callback_game?: CallbackGame; + pay?: boolean; + } + + interface CallbackQuery { + id: string; + from: User; + message?: Message; + inline_message_id?: string; + chat_instance: string; + data?: string; + game_short_name?: string; + } + + interface ForceReply { + force_reply: boolean; + selective?: boolean; + } + + interface ChatPhoto { + small_file_id: string; + big_file_id: string; + } + + interface ChatMember { + user: User; + status: string; + until_date?: number; + can_be_edited?: boolean; + can_change_info?: boolean; + can_post_messages?: boolean; + can_edit_messages?: boolean; + can_delete_messages?: boolean; + can_invite_users?: boolean; + can_restrict_members?: boolean; + can_pin_messages?: boolean; + can_promote_members?: boolean; + can_send_messages?: boolean; + can_send_media_messages?: boolean; + can_send_other_messages?: boolean; + can_add_web_page_previews?: boolean; + } + + interface Sticker { + file_id: string; + width: number; + height: number; + thumb?: PhotoSize; + emoji?: string; + set_name?: string; + mask_position?: MaskPosition; + file_size?: number; + } + + interface StickerSet { + name: string; + title: string; + contains_masks: boolean; + stickers: Sticker[]; + } + + interface MaskPosition { + point: string; + x_shift: number; + y_shift: number; + scale: number; + } + + interface InlineQuery { + id: string; + from: User; + location?: Location; + query: string; + offset: string; + } + + interface InlineQueryResult { + type: string; + id: string; + reply_markup?: InlineKeyboardMarkup; + } + + interface InlineQueryResultArticle extends InlineQueryResult { + title: string; + input_message_content: InputMessageContent; + url?: string; + hide_url?: boolean; + description?: string; + thumb_url?: string; + thumb_width?: number; + thumb_height?: number; + } + + interface InlineQueryResultPhoto extends InlineQueryResult { + photo_url: string; + thumb_url: string; + photo_width?: number; + photo_height?: number; + title?: string; + description?: string; + caption?: string; + input_message_content?: InputMessageContent; + } + + interface InlineQueryResultGif extends InlineQueryResult { + gif_url: string; + gif_width?: number; + gif_height?: number; + gif_duration?: number; + thumb_url?: string; + title?: string; + caption?: string; + input_message_content?: InputMessageContent; + } + + interface InlineQueryResultMpeg4Gif extends InlineQueryResult { + mpeg4_url: string; + mpeg4_width?: number; + mpeg4_height?: number; + mpeg4_duration?: number; + thumb_url?: string; + title?: string; + caption?: string; + input_message_content?: InputMessageContent; + } + + interface InlineQueryResultVideo extends InlineQueryResult { + video_url: string; + mime_type: string; + thumb_url: string; + title: string; + caption?: string; + video_width?: number; + video_height?: number; + video_duration?: number; + description?: string; + input_message_content?: InputMessageContent; + } + + interface InlineQueryResultAudio extends InlineQueryResult { + audio_url: string; + title: string; + caption?: string; + performer?: string; + audio_duration?: number; + input_message_content?: InputMessageContent; + } + + interface InlineQueryResultVoice extends InlineQueryResult { + voice_url: string; + title: string; + caption?: string; + voice_duration?: number; + input_message_content?: InputMessageContent; + } + + interface InlineQueryResultDocument extends InlineQueryResult { + title: string; + caption?: string; + document_url: string; + mime_type: string; + description?: string; + input_message_content?: InputMessageContent; + thumb_url?: string; + thumb_width?: number; + thumb_height?: number; + } + + interface InlineQueryResultLocation extends InlineQueryResult { + latitude: number; + longitude: number; + title: string; + input_message_content?: InputMessageContent; + thumb_url?: string; + thumb_width?: number; + thumb_height?: number; + } + + interface InlineQueryResultVenue extends InlineQueryResultLocation { + address: string; + foursquare_id?: string; + } + + interface InlineQueryResultContact extends InlineQueryResult { + phone_number: string; + first_name: string; + last_name?: string; + input_message_content?: InputMessageContent; + thumb_url?: string; + thumb_width?: number; + thumb_height?: number; + } + + interface InlineQueryResultGame extends InlineQueryResult { + game_short_name: string; + } + + interface InlineQueryResultCachedPhoto extends InlineQueryResult { + photo_file_id: string; + title?: string; + description?: string; + caption?: string; + input_message_content?: InputMessageContent; + } + + interface InlineQueryResultCachedGif extends InlineQueryResult { + gif_file_id: string; + title?: string; + caption?: string; + input_message_content?: InputMessageContent; + } + + interface InlineQueryResultCachedMpeg4Gif extends InlineQueryResult { + mpeg4_file_id: string; + title?: string; + caption?: string; + input_message_content?: InputMessageContent; + } + + interface InlineQueryResultCachedSticker extends InlineQueryResult { + sticker_file_id: string; + input_message_content?: InputMessageContent; + } + + interface InlineQueryResultCachedDocument extends InlineQueryResult { + title: string; + document_file_id: string; + description?: string; + caption?: string; + input_message_content?: InputMessageContent; + } + + interface InlineQueryResultCachedVideo extends InlineQueryResult { + video_file_id: string; + title: string; + description?: string; + caption?: string; + input_message_content?: InputMessageContent; + } + + interface InlineQueryResultCachedVoice extends InlineQueryResult { + voice_file_id: string; + title: string; + caption?: string; + input_message_content?: InputMessageContent; + } + + interface InlineQueryResultCachedAudio extends InlineQueryResult { + audio_file_id: string; + caption?: string; + input_message_content?: InputMessageContent; + } + + type InputMessageContent = object; + + interface InputTextMessageContent extends InputMessageContent { + message_text: string; + parse_mode?: string; + disable_web_page_preview?: boolean; + } + + interface InputLocationMessageContent extends InputMessageContent { + latitude: number; + longitude: number; + } + + interface InputVenueMessageContent extends InputLocationMessageContent { + title: string; + address: string; + foursquare_id?: string; + } + + interface InputContactMessageContent extends InputMessageContent { + phone_number: string; + first_name: string; + last_name?: string; + } + + interface ChosenInlineResult { + result_id: string; + from: User; + location?: Location; + inline_message_id?: string; + query: string; + } + + interface ResponseParameters { + migrate_to_chat_id?: number; + retry_after?: number; + } + + interface LabeledPrice { + label: string; + amount: number; + } + + interface Invoice { + title: string; + description: string; + start_parameter: string; + currency: string; + total_amount: number; + } + + interface ShippingAddress { + country_code: string; + state: string; + city: string; + street_line1: string; + street_line2: string; + post_code: string; + } + + interface OrderInfo { + name?: string; + phone_number?: string; + email?: string; + shipping_address?: ShippingAddress; + } + + interface ShippingOption { + id: string; + title: string; + prices: LabeledPrice[]; + } + + interface SuccessfulPayment { + currency: string; + total_amount: number; + invoice_payload: string; + shipping_option_id?: string; + order_info?: OrderInfo; + telegram_payment_charge_id: string; + provider_payment_charge_id: string; + } + + interface ShippingQuery { + id: string; + from: User; + invoice_payload: string; + shipping_address: ShippingAddress; + } + + interface PreCheckoutQuery { + id: string; + from: User; + currency: string; + total_amount: number; + invoice_payload: string; + shipping_option_id?: string; + order_info?: OrderInfo; + } + + interface Game { + title: string; + description: string; + photo: PhotoSize[]; + text?: string; + text_entities?: MessageEntity[]; + animation?: Animation; + } + + interface Animation { + file_id: string; + thumb?: PhotoSize; + file_name?: string; + mime_type?: string; + file_size?: number; + } + + type CallbackGame = object; + + interface GameHighScore { + position: number; + user: User; + score: number; + } +} declare class TelegramBot extends EventEmitter { - constructor(token: string, opts?: any); + constructor(token: string, options?: TelegramBot.ConstructorOptions); + + startPolling(options?: TelegramBot.StartPollingOptions): Promise<any>; - startPolling(options?: any): Promise<any>; - initPolling(options?: any): Promise<any>; stopPolling(): Promise<any>; + isPolling(): boolean; + openWebHook(): Promise<any>; + closeWebHook(): Promise<any>; + hasOpenWebHook(): boolean; - getMe(): Promise<any>; - setWebHook(url: string, options?: any): Promise<any>; - deleteWebHook(): Promise<any>; - getWebHookInfo(): Promise<any>; - getUpdates(options?: any): Promise<any>; - processUpdate(update: any): void; - sendMessage(chatId: number | string, text: string, options?: any): Promise<any>; - answerInlineQuery(inlineQueryId: string, results: any[], options?: any): Promise<any>; - forwardMessage(chatId: number | string, fromChatId: number | string, messageId: number | string, options?: any): Promise<any>; - sendPhoto(chatId: number | string, photo: string | Stream | Buffer, options?: any): Promise<any>; - sendAudio(chatId: number | string, audio: string | Stream | Buffer, options?: any): Promise<any>; - sendDocument(chatId: number | string, doc: string | Stream | Buffer, options?: any, fileOpts?: any): Promise<any>; - sendSticker(chatId: number | string, sticker: string | Stream | Buffer, options?: any): Promise<any>; - sendVideo(chatId: number | string, video: string | Stream | Buffer, options?: any): Promise<any>; - sendVideoNote(chatId: number | string, videoNote: string | Stream | Buffer, options?: any): Promise<any>; - sendVoice(chatId: number | string, voice: string | Stream | Buffer, options?: any): Promise<any>; - sendChatAction(chatId: number | string, action: string): Promise<any>; - kickChatMember(chatId: number | string, userId: string): Promise<any>; - unbanChatMember(chatId: number | string, userId: string): Promise<any>; - restrictChatMember(chatId: number | string, userId: string, options?: any): Promise<any>; - promoteChatMember(chatId: number | string, userId: string, options?: any): Promise<any>; - exportChatInviteLink(chatId: number | string): Promise<any>; - sendChatPhoto(chatId: number | string, photo: string | Stream | Buffer): Promise<any>; - deleteChatPhoto(chatId: number | string): Promise<any>; - setChatTitle(chatId: number | string, title: string): Promise<any>; - setChatDescription(chatId: number | string, description: string): Promise<any>; - pinChatMessage(chatId: number | string, messageId: string): Promise<any>; - unpinChatMessage(chatId: number | string): Promise<any>; - answerCallbackQuery(options?: any): Promise<any>; - editMessageText(text: string, options?: any): Promise<any>; - editMessageCaption(caption: string, options?: any): Promise<any>; - editMessageReplyMarkup(replyMarkup: any, options?: any): Promise<any>; - getUserProfilePhotos(userId: number | string, options?: any): Promise<any>; - sendLocation(chatId: number | string, latitude: number, longitude: number, options?: any): Promise<any>; - sendVenue(chatId: number | string, latitude: number, longitude: number, title: string, address: string, options?: any): Promise<any>; - sendContact(chatId: number | string, phoneNumber: string, firstName: string, options?: any): Promise<any>; - getFile(fileId: string): Promise<any>; - getFileLink(fileId: string): Promise<any>; - downloadFile(fileId: string, downloadDir: string): Promise<any>; - onText(regexp: RegExp, callback: ((msg: any, match: any[]) => void)): void; - removeTextListener(regexp: RegExp): any; - onReplyToMessage(chatId: number | string, messageId: number | string, callback: ((msg: any) => void)): number; - removeReplyListener(replyListenerId: number): any; - getChat(chatId: number | string): Promise<any>; - getChatAdministrators(chatId: number | string): Promise<any>; - getChatMembersCount(chatId: number | string): Promise<any>; - getChatMember(chatId: number | string, userId: string): Promise<any>; - leaveChat(chatId: number | string): Promise<any>; - sendGame(chatId: number | string, gameShortName: string, options?: any): Promise<any>; - setGameScore(userId: string, score: number, options?: any): Promise<any>; - getGameHighScores(userId: string, options?: any): Promise<any>; - deleteMessage(chatId: number | string, messageId: string, options?: any): Promise<any>; - sendInvoice(chatId: number | string, title: string, description: string, payload: string, providerToken: string, startParameter: string, - currency: string, prices: any[], options?: any): Promise<any>; - answerShippingQuery(shippingQueryId: string, ok: boolean, options?: any): Promise<any>; - answerPreCheckoutQuery(preCheckoutQueryId: string, ok: boolean, options?: any): Promise<any>; + + getMe(): Promise<TelegramBot.User | Error>; + + setWebHook(url: string, options?: TelegramBot.SetWebHookOptions): Promise<any>; + + deleteWebHook(): Promise<boolean | Error>; + + getWebHookInfo(): Promise<TelegramBot.WebhookInfo | Error>; + + getUpdates(options?: TelegramBot.GetUpdatesOptions): Promise<TelegramBot.Update[] | Error>; + + processUpdate(update: TelegramBot.Update): void; + + sendMessage(chatId: number | string, text: string, options?: TelegramBot.SendMessageOptions): Promise<TelegramBot.Message | Error>; + + answerInlineQuery(inlineQueryId: string, results: TelegramBot.InlineQueryResult[], options?: TelegramBot.AnswerInlineQueryOptions): Promise<boolean | Error>; + + forwardMessage(chatId: number | string, fromChatId: number | string, messageId: number | string, options?: TelegramBot.ForwardMessageOptions): Promise<TelegramBot.Message | Error>; + + sendPhoto(chatId: number | string, photo: string | Stream | Buffer, options?: TelegramBot.SendPhotoOptions): Promise<TelegramBot.Message | Error>; + + sendAudio(chatId: number | string, audio: string | Stream | Buffer, options?: TelegramBot.SendAudioOptions): Promise<TelegramBot.Message | Error>; + + sendDocument(chatId: number | string, doc: string | Stream | Buffer, options?: TelegramBot.SendDocumentOptions, fileOpts?: any): Promise<TelegramBot.Message | Error>; + + sendSticker(chatId: number | string, sticker: string | Stream | Buffer, options?: TelegramBot.SendStickerOptions): Promise<TelegramBot.Message | Error>; + + sendVideo(chatId: number | string, video: string | Stream | Buffer, options?: TelegramBot.SendVideoOptions): Promise<TelegramBot.Message | Error>; + + sendVideoNote(chatId: number | string, videoNote: string | Stream | Buffer, options?: TelegramBot.SendVideoNoteOptions): Promise<TelegramBot.Message | Error>; + + sendVoice(chatId: number | string, voice: string | Stream | Buffer, options?: TelegramBot.SendVoiceOptions): Promise<TelegramBot.Message | Error>; + + sendChatAction(chatId: number | string, action: string): Promise<boolean | Error>; + + kickChatMember(chatId: number | string, userId: string): Promise<boolean | Error>; + + unbanChatMember(chatId: number | string, userId: string): Promise<boolean | Error>; + + restrictChatMember(chatId: number | string, userId: string, options?: TelegramBot.RestrictChatMemberOptions): Promise<boolean | Error>; + + promoteChatMember(chatId: number | string, userId: string, options?: TelegramBot.PromoteChatMemberOptions): Promise<boolean | Error>; + + exportChatInviteLink(chatId: number | string): Promise<string | Error>; + + setChatPhoto(chatId: number | string, photo: string | Stream | Buffer): Promise<boolean | Error>; + + deleteChatPhoto(chatId: number | string): Promise<boolean | Error>; + + setChatTitle(chatId: number | string, title: string): Promise<boolean | Error>; + + setChatDescription(chatId: number | string, description: string): Promise<boolean | Error>; + + pinChatMessage(chatId: number | string, messageId: string): Promise<boolean | Error>; + + unpinChatMessage(chatId: number | string): Promise<boolean | Error>; + + answerCallbackQuery(options?: TelegramBot.AnswerCallbackQueryOptions): Promise<boolean | Error>; + + editMessageText(text: string, options?: TelegramBot.EditMessageTextOptions): Promise<TelegramBot.Message | boolean | Error>; + + editMessageCaption(caption: string, options?: TelegramBot.EditMessageCaptionOptions): Promise<TelegramBot.Message | boolean | Error>; + + editMessageReplyMarkup(replyMarkup: TelegramBot.InlineKeyboardMarkup, options?: TelegramBot.EditMessageReplyMarkupOptions): Promise<TelegramBot.Message | boolean | Error>; + + getUserProfilePhotos(userId: number | string, options?: TelegramBot.GetUserProfilePhotosOptions): Promise<TelegramBot.UserProfilePhotos | Error>; + + sendLocation(chatId: number | string, latitude: number, longitude: number, options?: TelegramBot.SendLocationOptions): Promise<TelegramBot.Message | Error>; + + sendVenue(chatId: number | string, latitude: number, longitude: number, title: string, address: string, options?: TelegramBot.SendVenueOptions): Promise<TelegramBot.Message | Error>; + + sendContact(chatId: number | string, phoneNumber: string, firstName: string, options?: TelegramBot.SendContactOptions): Promise<TelegramBot.Message | Error>; + + getFile(fileId: string): Promise<TelegramBot.File | Error>; + + getFileLink(fileId: string): Promise<string | Error>; + + downloadFile(fileId: string, downloadDir: string): Promise<string | Error>; + + onText(regexp: RegExp, callback: ((msg: TelegramBot.Message, match: RegExpExecArray | null) => void)): void; + + removeTextListener(regexp: RegExp): TelegramBot.TextListener | null; + + onReplyToMessage(chatId: number | string, messageId: number | string, callback: ((msg: TelegramBot.Message) => void)): number; + + removeReplyListener(replyListenerId: number): TelegramBot.ReplyListener; + + getChat(chatId: number | string): Promise<TelegramBot.Chat | Error>; + + getChatAdministrators(chatId: number | string): Promise<TelegramBot.ChatMember[] | Error>; + + getChatMembersCount(chatId: number | string): Promise<number | Error>; + + getChatMember(chatId: number | string, userId: string): Promise<TelegramBot.ChatMember | Error>; + + leaveChat(chatId: number | string): Promise<boolean | Error>; + + sendGame(chatId: number | string, gameShortName: string, options?: TelegramBot.SendGameOptions): Promise<TelegramBot.Message | Error>; + + setGameScore(userId: string, score: number, options?: TelegramBot.SetGameScoreOptions): Promise<TelegramBot.Message | boolean | Error>; + + getGameHighScores(userId: string, options?: TelegramBot.GetGameHighScoresOptions): Promise<TelegramBot.GameHighScore[] | Error>; + + deleteMessage(chatId: number | string, messageId: string, options?: any): Promise<boolean | Error>; + + sendInvoice(chatId: number | string, title: string, description: string, payload: string, providerToken: string, startParameter: string, currency: string, prices: TelegramBot.LabeledPrice[], + options?: TelegramBot.SendInvoiceOptions): Promise<TelegramBot.Message | Error>; + + answerShippingQuery(shippingQueryId: string, ok: boolean, options?: TelegramBot.AnswerShippingQueryOptions): Promise<boolean | Error>; + + answerPreCheckoutQuery(preCheckoutQueryId: string, ok: boolean, options?: TelegramBot.AnswerPreCheckoutQueryOptions): Promise<boolean | Error>; } export = TelegramBot; diff --git a/types/node-telegram-bot-api/node-telegram-bot-api-tests.ts b/types/node-telegram-bot-api/node-telegram-bot-api-tests.ts index 70482a7b38..58d4fb8b7e 100644 --- a/types/node-telegram-bot-api/node-telegram-bot-api-tests.ts +++ b/types/node-telegram-bot-api/node-telegram-bot-api-tests.ts @@ -1,66 +1,85 @@ -import TelegramBot = require("node-telegram-bot-api"); +import TelegramBot = require('node-telegram-bot-api'); -const MyTelegramBot = new TelegramBot("token"); +const MyTelegramBot = new TelegramBot('token'); -MyTelegramBot.startPolling({ foo: "bar" }); -MyTelegramBot.initPolling({ foo: "bar" }); +MyTelegramBot.startPolling({restart: true}); MyTelegramBot.stopPolling(); MyTelegramBot.isPolling(); MyTelegramBot.openWebHook(); MyTelegramBot.closeWebHook(); MyTelegramBot.hasOpenWebHook(); MyTelegramBot.getMe(); -MyTelegramBot.setWebHook("http://typescriptlang.org", { foo: "bar" }); +MyTelegramBot.setWebHook('http://typescriptlang.org', {max_connections: 100}); MyTelegramBot.deleteWebHook(); MyTelegramBot.getWebHookInfo(); -MyTelegramBot.getUpdates({ foo: "bar" }); -MyTelegramBot.processUpdate("Update Method/Stream/Etc"); -MyTelegramBot.sendMessage(1234, "test-text", { foo: "bar" }); -MyTelegramBot.answerInlineQuery("queryId", ["test", "test", "test"], { foo: "bar" }); -MyTelegramBot.forwardMessage(1234, 5678, "memberID", { foo: "bar" }); -MyTelegramBot.sendPhoto(1234, "photo/path", { foo: "bar" }); -MyTelegramBot.sendAudio(1234, "audio/path", { foo: "bar" }); -MyTelegramBot.sendDocument(1234, "doc/path", { foo: "bar" }, { fileOption: true }); -MyTelegramBot.sendSticker(1234, "sticker/path", { foo: "bar" }); -MyTelegramBot.sendVideo(1234, "video/path", { foo: "bar" }); -MyTelegramBot.sendVideoNote(1234, "video/path", { foo: "bar" }); -MyTelegramBot.sendVoice(1234, "voice/path", { foo: "bar" }); -MyTelegramBot.sendChatAction(1234, "ACTION!"); -MyTelegramBot.kickChatMember(1234, "myUserID"); -MyTelegramBot.unbanChatMember(1234, "myUserID"); -MyTelegramBot.restrictChatMember(1234, 'myUserID', { foo: "bar" }); -MyTelegramBot.promoteChatMember(1234, 'myUserID', { foo: "bar" }); +MyTelegramBot.getUpdates({ timeout: 10 }); +MyTelegramBot.processUpdate({ update_id: 1 }); +MyTelegramBot.sendMessage(1234, 'test-text', {disable_web_page_preview: true}); +const res: TelegramBot.InlineQueryResultArticle = { + id: '1', + type: 'article', + title: 'Foo', + input_message_content: { + message_text: 'Bar' + } +}; +MyTelegramBot.answerInlineQuery('queryId', [res, res, res], { is_personal: true }); +MyTelegramBot.forwardMessage(1234, 5678, 'memberID', { disable_notification: true }); +MyTelegramBot.sendPhoto(1234, 'photo/path', { caption: 'Foo' }); +MyTelegramBot.sendAudio(1234, 'audio/path', { caption: 'Foo' }); +MyTelegramBot.sendDocument(1234, 'doc/path', { caption: 'Foo' }, { fileOption: true }); +MyTelegramBot.sendSticker(1234, 'sticker/path', { reply_to_message_id: 5678 }); +MyTelegramBot.sendVideo(1234, 'video/path', { caption: 'Foo' }); +MyTelegramBot.sendVideoNote(1234, 'video/path', { disable_notification: true }); +MyTelegramBot.sendVoice(1234, 'voice/path', { caption: 'Foo' }); +MyTelegramBot.sendChatAction(1234, 'ACTION!'); +MyTelegramBot.kickChatMember(1234, 'myUserID'); +MyTelegramBot.unbanChatMember(1234, 'myUserID'); +MyTelegramBot.restrictChatMember(1234, 'myUserID', { can_add_web_page_previews: true }); +MyTelegramBot.promoteChatMember(1234, 'myUserID', { can_change_info: true }); MyTelegramBot.exportChatInviteLink(1234); -MyTelegramBot.sendChatPhoto(1234, "My/File/ID"); +MyTelegramBot.setChatPhoto(1234, 'My/File/ID'); MyTelegramBot.deleteChatPhoto(1234); MyTelegramBot.setChatTitle(1234, 'Chat Title'); MyTelegramBot.setChatDescription(1234, 'Chat Description'); MyTelegramBot.pinChatMessage(1234, 'Pinned Message'); MyTelegramBot.unpinChatMessage(1234); -MyTelegramBot.answerCallbackQuery({ foo: "bar" }); -MyTelegramBot.editMessageText("test-text", { foo: "bar" }); -MyTelegramBot.editMessageCaption("My Witty Caption", { foo: "bar" }); -MyTelegramBot.editMessageReplyMarkup({ replyMarkup: "something" }, { foo: "bar" }); -MyTelegramBot.getUserProfilePhotos("myUserID", { foo: "bar" }); -MyTelegramBot.sendLocation(1234, 100, 200, { foo: "bar" }); -MyTelegramBot.sendVenue(1234, 100, 200, "Venue Title", "123 Fake St.", { foo: "bar" }); -MyTelegramBot.sendContact(1234, "345-555-0192", "John", { foo: "bar" }); -MyTelegramBot.getFile("My/File/ID"); -MyTelegramBot.getFileLink("My/File/ID"); -MyTelegramBot.downloadFile("My/File/ID", "mydownloaddir/"); +MyTelegramBot.answerCallbackQuery({ callback_query_id: '432832' }); +MyTelegramBot.editMessageText('test-text', { disable_web_page_preview: true }); +MyTelegramBot.editMessageCaption('My Witty Caption', { message_id: 1245 }); +MyTelegramBot.editMessageReplyMarkup({ inline_keyboard: [[{ + text: 'Foo' +}]] }, { message_id: 1244 }); +MyTelegramBot.getUserProfilePhotos('myUserID', { limit: 10 }); +MyTelegramBot.sendLocation(1234, 100, 200, { reply_to_message_id: 1234 }); +MyTelegramBot.sendVenue(1234, 100, 200, 'Venue Title', '123 Fake St.', { reply_to_message_id: 1234 }); +MyTelegramBot.sendContact(1234, '345-555-0192', 'John', { last_name: 'Smith' }); +MyTelegramBot.getFile('My/File/ID'); +MyTelegramBot.getFileLink('My/File/ID'); +MyTelegramBot.downloadFile('My/File/ID', 'mydownloaddir/'); MyTelegramBot.onText(/regex/, (msg, match) => { }); MyTelegramBot.removeTextListener(/regex/); -MyTelegramBot.onReplyToMessage(1234, "mymessageID", (msg) => { }); +MyTelegramBot.onReplyToMessage(1234, 'mymessageID', (msg) => { }); MyTelegramBot.removeReplyListener(5466); MyTelegramBot.getChat(1234); MyTelegramBot.getChatAdministrators(1234); MyTelegramBot.getChatMembersCount(1234); -MyTelegramBot.getChatMember(1234, "myUserID"); +MyTelegramBot.getChatMember(1234, 'myUserID'); MyTelegramBot.leaveChat(1234); -MyTelegramBot.sendGame(1234, "MygameName", { foo: "bar" }); -MyTelegramBot.setGameScore("myUserID", 99, { foo: "bar" }); -MyTelegramBot.getGameHighScores("myUserID", { foo: "bar" }); -MyTelegramBot.deleteMessage(1234, 'mymessageID', { foo: "bar" }); -MyTelegramBot.sendInvoice(1234, 'Invoice Title', 'Invoice Description', 'Invoice Payload', 'Providertoken', 'Startparameter', 'Currency', [1, 2, 4], { foo: "bar" }); -MyTelegramBot.answerShippingQuery('shippingQueryId', true, { foo: "bar" }); -MyTelegramBot.answerPreCheckoutQuery('preCheckoutQueryId', true, { foo: "bar" }); +MyTelegramBot.sendGame(1234, 'MygameName', { reply_to_message_id: 1234 }); +MyTelegramBot.setGameScore('myUserID', 99, { message_id: 1234 }); +MyTelegramBot.getGameHighScores('myUserID', { message_id: 1234 }); +MyTelegramBot.deleteMessage(1234, 'mymessageID'); +MyTelegramBot.sendInvoice(1234, 'Invoice Title', 'Invoice Description', 'Invoice Payload', 'Providertoken', 'Startparameter', 'Currency', [{ + label: '$', + amount: 1200 +}], { is_flexible: true }); +MyTelegramBot.answerShippingQuery('shippingQueryId', true, { shipping_options: [{ + id: '1', + title: 'Foo', + prices: [{ + label: '$', + amount: 100 + }] +}] }); +MyTelegramBot.answerPreCheckoutQuery('preCheckoutQueryId', true, { error_message: 'Bar' }); From 16cec459b77d26f1225b734d791be97d2152c639 Mon Sep 17 00:00:00 2001 From: Sebastian Ferreyra <ushiferreyra@gmail.com> Date: Wed, 11 Oct 2017 20:21:25 -0300 Subject: [PATCH 298/433] Widened 'koa'.Context.session type3 in order to enable strict null checks inb the compiler (#20341) --- types/koa-session/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/koa-session/index.d.ts b/types/koa-session/index.d.ts index 4f79a24fe7..da08cc6464 100644 --- a/types/koa-session/index.d.ts +++ b/types/koa-session/index.d.ts @@ -108,7 +108,7 @@ declare function session(app: Koa): Koa.Middleware; declare module 'koa' { interface Context { - session: session.sessionProps; + session: session.sessionProps | null; } } From 87e53669015ced0f3a090ada0adfbaeb1e184fb5 Mon Sep 17 00:00:00 2001 From: taoqf <tao_qiufeng@126.com> Date: Thu, 12 Oct 2017 15:52:59 +0800 Subject: [PATCH 299/433] remove log4js (#20518) * add type definition numjs * move ndtype from ndarry to numjs, remove unnecessary comments * remote jsdoc annotations * fixed: [#18508](https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18508) * add temptype to tolist * fixed: merge Error. * add interface TouchEvent * remove log4js --- notNeededPackages.json | 18 +- types/log4js/index.d.ts | 314 ----------------------------------- types/log4js/log4js-tests.ts | 99 ----------- types/log4js/tsconfig.json | 23 --- 4 files changed, 12 insertions(+), 442 deletions(-) delete mode 100644 types/log4js/index.d.ts delete mode 100644 types/log4js/log4js-tests.ts delete mode 100644 types/log4js/tsconfig.json diff --git a/notNeededPackages.json b/notNeededPackages.json index d3ba44c871..579bcf46ef 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -354,6 +354,12 @@ "sourceRepoURL": "https://github.com/steelsojka/lodash-decorators", "asOfVersion": "4.0.0" }, + { + "libraryName": "log4js", + "typingsPackageName": "log4js", + "sourceRepoURL": "https://github.com/nomiddlename/log4js-node", + "asOfVersion": "2.3.5" + }, { "libraryName": "lower-case", "typingsPackageName": "lower-case", @@ -378,12 +384,6 @@ "sourceRepoURL": "http://www.mendix.com", "asOfVersion": "0.8.1" }, - { - "libraryName": "MQTT", - "typingsPackageName": "mqtt", - "sourceRepoURL": "https://github.com/mqttjs/MQTT.js", - "asOfVersion": "2.5.0" - }, { "libraryName": "mobservable", "typingsPackageName": "mobservable", @@ -402,6 +402,12 @@ "sourceRepoURL": "https://github.com/moment/moment", "asOfVersion": "2.13.0" }, + { + "libraryName": "MQTT", + "typingsPackageName": "mqtt", + "sourceRepoURL": "https://github.com/mqttjs/MQTT.js", + "asOfVersion": "2.5.0" + }, { "libraryName": "ng-table", "typingsPackageName": "ng-table", diff --git a/types/log4js/index.d.ts b/types/log4js/index.d.ts deleted file mode 100644 index a481865f3f..0000000000 --- a/types/log4js/index.d.ts +++ /dev/null @@ -1,314 +0,0 @@ -// Type definitions for log4js -// Project: https://github.com/nomiddlename/log4js-node -// Definitions by: Kentaro Okuno <https://github.com/armorik83> -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -import express = require('express'); - -/** - * Replaces the console - * @param logger - * @returns void - */ -export function replaceConsole(logger?: Logger): void; - -/** - * Restores the console - * @returns void - */ -export function restoreConsole(): void; - -/** - * Get a logger instance. Instance is cached on categoryName level. - * - * @param {String} [categoryName] name of category to log to. - * @returns {Logger} instance of logger for the category - * @static - */ -export function getLogger(categoryName?: string): Logger; -export function getBufferedLogger(categoryName?: string): Logger; - -/** - * Has a logger instance cached on categoryName. - * - * @param {String} [categoryName] name of category to log to. - * @returns {boolean} contains logger for the category - * @static - */ -export function hasLogger(categoryName: string): boolean; - -/** - * Get the default logger instance. - * - * @returns {Logger} instance of default logger - * @static - */ -export function getDefaultLogger(): Logger; - -/** - * args are appender, then zero or more categories - * - * @param {*[]} appenders - * @returns {void} - * @static - */ -export function addAppender(...appenders: any[]): void; - -/** - * Load appender - * - * @param {string} appender type - * @param {AppenderModule} the appender module. by default, require('./appenders/' + appender) - * @returns {void} - * @static - */ -export function loadAppender(appenderType: string, appenderModule?: AppenderModule): void; - -/** - * Claer configured appenders - * - * @returns {void} - * @static - */ -export function clearAppenders(): void; - -/** - * Shutdown all log appenders. This will first disable all writing to appenders - * and then call the shutdown function each appender. - * - * @params {Function} cb - The callback to be invoked once all appenders have - * shutdown. If an error occurs, the callback will be given the error object - * as the first argument. - * @returns {void} - */ -export function shutdown(cb: Function): void; - -export function configure(filename: string, options?: any): void; -export function configure(config: IConfig, options?: any): void; - -export function setGlobalLogLevel(level: string): void; -export function setGlobalLogLevel(level: Level): void; - - -/** - * Create logger for connect middleware. - * - * - * @returns {express.Handler} Instance of middleware. - * @static - */ -export function connectLogger(logger: Logger, options: { format?: string; level?: string; nolog?: any; }): express.Handler; -export function connectLogger(logger: Logger, options: { format?: string; level?: Level; nolog?: any; }): express.Handler; - -export var layouts: { - basicLayout: Layout, - messagePassThroughLayout: Layout, - patternLayout: Layout, - colouredLayout: Layout, - coloredLayout: Layout, - dummyLayout: Layout, - - /** - * Register your custom layout generator - */ - addLayout: (name: string, serializerGenerator: (config?: LayoutConfig) => Layout) => void, - - /** - * Get layout. Available predified layout names: - * messagePassThrough, basic, colored, coloured, pattern, dummy - * - */ - layout: (name: string, config: LayoutConfig) => Layout -} - -export var appenders: any; -export var levels: { - ALL: Level; - TRACE: Level; - DEBUG: Level; - INFO: Level; - WARN: Level; - ERROR: Level; - FATAL: Level; - OFF: Level; - - toLevel(level: string, defaultLevel?: Level): Level; - toLevel(level: Level, defaultLevel?: Level): Level; -}; - -export interface Logger { - setLevel(level: string): void; - setLevel(level: Level): void; - - isLevelEnabled(level: Level): boolean; - isTraceEnabled(): boolean; - isDebugEnabled(): boolean; - isInfoEnabled(): boolean; - isWarnEnabled(): boolean; - isErrorEnabled(): boolean; - isFatalEnabled(): boolean; - - trace(message: string, ...args: any[]): void; - debug(message: string, ...args: any[]): void; - info(message: string, ...args: any[]): void; - warn(message: string, ...args: any[]): void; - error(message: string, ...args: any[]): void; - fatal(message: string, ...args: any[]): void; -} - -export interface Level { - isEqualTo(other: string): boolean; - isEqualTo(otherLevel: Level): boolean; - isLessThanOrEqualTo(other: string): boolean; - isLessThanOrEqualTo(otherLevel: Level): boolean; - isGreaterThanOrEqualTo(other: string): boolean; - isGreaterThanOrEqualTo(otherLevel: Level): boolean; -} - -export interface IConfig { - appenders: AppenderConfig[]; - levels?: { [category: string]: string }; - replaceConsole?: boolean; -} - -export interface AppenderConfigBase { - type: string; - category?: string; - layout?: { type: string;[key: string]: any } -} - -export interface ConsoleAppenderConfig extends AppenderConfigBase { } - -export interface FileAppenderConfig extends AppenderConfigBase { - filename: string; -} -export interface DateFileAppenderConfig extends FileAppenderConfig { - /** - * The following strings are recognised in the pattern: - * - yyyy : the full year, use yy for just the last two digits - * - MM : the month - * - dd : the day of the month - * - hh : the hour of the day (24-hour clock) - * - mm : the minute of the hour - * - ss : seconds - * - SSS : milliseconds (although I'm not sure you'd want to roll your logs every millisecond) - * - O : timezone (capital letter o) - */ - pattern: string; - alwaysIncludePattern: boolean; -} - -export interface SmtpAppenderConfig extends AppenderConfigBase { - /** Comma separated list of email recipients */ - recipients: string; - - /** Sender of all emails (defaults to transport user) */ - sender: string; - - /** Subject of all email messages (defaults to first event's message)*/ - subject: string; - - /** - * The time in seconds between sending attempts (defaults to 0). - * All events are buffered and sent in one email during this time. - * If 0 then every event sends an email - */ - sendInterval: number; - - SMTP: { - host: string; - secure: boolean; - port: number; - auth: { - user: string; - pass: string; - } - } -} - -export interface HookIoAppenderConfig extends FileAppenderConfig { - maxLogSize: number; - backup: number; - pollInterval: number; -} - -export interface GelfAppenderConfig extends AppenderConfigBase { - host: string; - hostname: string; - port: string; - facility: string; -} - -export interface MultiprocessAppenderConfig extends AppenderConfigBase { - mode: string; - loggerPort: number; - loggerHost: string; - facility: string; - appender?: AppenderConfig; -} - -export interface LogglyAppenderConfig extends AppenderConfigBase { - /** Loggly customer token - https://www.loggly.com/docs/api-sending-data/ */ - token: string; - - /** Loggly customer subdomain (use 'abc' for abc.loggly.com) */ - subdomain: string; - - /** an array of strings to help segment your data & narrow down search results in Loggly */ - tags: string[]; - - /** Enable JSON logging by setting to 'true' */ - json: boolean; -} - -export interface ClusteredAppenderConfig extends AppenderConfigBase { - appenders?: AppenderConfig[]; -} - -type CoreAppenderConfig = ConsoleAppenderConfig - | FileAppenderConfig - | DateFileAppenderConfig - | SmtpAppenderConfig - | HookIoAppenderConfig - | GelfAppenderConfig - | MultiprocessAppenderConfig - | LogglyAppenderConfig - | ClusteredAppenderConfig - -interface CustomAppenderConfig extends AppenderConfigBase { - [prop: string]: any; -} - -type AppenderConfig = CoreAppenderConfig | CustomAppenderConfig; - -export interface LogEvent { - /** - * new Date() - */ - startTime: number; - categoryName: string; - data: any[]; - level: Level; - logger: Logger; -} - -export interface Appender { - (event: LogEvent): void; -} - -export interface AppenderModule { - appender: (...args: any[]) => Appender; - shutdown?: (cb: (error: Error) => void) => void; - configure: (config: CustomAppenderConfig, options?: { [key: string]: any }) => Appender; -} - -export interface LayoutConfig { - [key: string]: any; -} -export interface LayoutGenerator { - (config?: LayoutConfig): Layout -} - -export interface Layout { - (event: LogEvent): string; -} diff --git a/types/log4js/log4js-tests.ts b/types/log4js/log4js-tests.ts deleted file mode 100644 index b6123b1abd..0000000000 --- a/types/log4js/log4js-tests.ts +++ /dev/null @@ -1,99 +0,0 @@ - -import log4js = require('log4js'); - -log4js.addAppender(log4js.appenders.file('logs/cheese.log'), 'cheese'); - -var logger = log4js.getLogger('cheese'); -logger.setLevel('ERROR'); - -if (logger.isLevelEnabled(log4js.levels.DEBUG)) - logger.info('DEBUG is enabled'); -if (logger.isTraceEnabled()) - logger.info('TRACE is enabled'); -if (logger.isDebugEnabled()) - logger.info('DEBUG is enabled'); -if (logger.isInfoEnabled()) - logger.info('INFO is enabled'); -if (logger.isWarnEnabled()) - logger.info('WARN is enabled'); -if (logger.isErrorEnabled()) - logger.info('ERROR is enabled'); -if (logger.isFatalEnabled()) - logger.info('FATAL is enabled'); - -logger.trace('Entering cheese testing'); -logger.debug('Got cheese.'); -logger.info('Cheese is Gouda.'); -logger.warn('Cheese is quite smelly.'); -logger.error('Cheese is too ripe!'); -logger.fatal('Cheese was breeding ground for listeria.'); - -var cb = () => {}; -log4js.shutdown(cb); - -log4js.configure({ - appenders: [ - { type: 'console' }, - { type: 'file', filename: 'logs/cheese.log', category: 'cheese' } - ] -}); - -var defaultLogger = log4js.getDefaultLogger(); -defaultLogger.debug('Got cheese.'); - - -import express = require('express'); -var app = express(); -app.configure(() => { - app.use(log4js.connectLogger(logger, { level: log4js.levels.INFO, format: ':method :url' })); -}); -app.get('/', function(req, res) { - res.send('hello world'); -}); -app.listen(5000); - -log4js.configure({ - "appenders": [ - { - "type": "console", - "layout": { - "type": "pattern", - "pattern": "%d %p %c - %m" - } - } - ], - "levels": { - "[all]": "INFO", - "category1": "ERROR", - "category2": "DEBUG" - } -}); - -log4js.configure('file.json', { reloadSecs: 300 }); - -class MyAppenderConfig implements log4js.CustomAppenderConfig { - public type: string; - public mycfg: string; -} - -var myAppender: log4js.AppenderModule = { - - appender: function (mycfg: string): log4js.Appender { - - return function (event: log4js.LogEvent): void { - console.log(mycfg); - console.log(event); - } - }, - - shutdown: function (cb: (error: Error) => void): void { - return cb(null); - }, - - configure: function (config: log4js.CustomAppenderConfig, options?: { [key: string]: any }): log4js.Appender { - var mycfg = (config as MyAppenderConfig).mycfg; - return this.appender(mycfg); - } -} - -log4js.loadAppender("my-log4js-appender", myAppender); diff --git a/types/log4js/tsconfig.json b/types/log4js/tsconfig.json deleted file mode 100644 index 663df0a13b..0000000000 --- a/types/log4js/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": false, - "strictNullChecks": false, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "log4js-tests.ts" - ] -} \ No newline at end of file From cc47a2e4e12885f09d9998cc99e994d41f037142 Mon Sep 17 00:00:00 2001 From: Josh Hall <josh@jbhall.me> Date: Thu, 12 Oct 2017 03:46:23 -0500 Subject: [PATCH 300/433] @types/dwt: Add methods and properties to WebTwainEnv (#20506) * Add Unload method to WebTwainEnv * Add Containers property to WebTwainEnv * Define arguments for RegisterEvent callback function * Add Container interface * Use correct syntax for Containers array definition --- types/dwt/index.d.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/types/dwt/index.d.ts b/types/dwt/index.d.ts index cad6825c27..d72fab058f 100644 --- a/types/dwt/index.d.ts +++ b/types/dwt/index.d.ts @@ -21,9 +21,11 @@ declare namespace Dynamsoft { namespace WebTwainEnv { function GetWebTwain (cid: string): WebTwain; - function RegisterEvent(event: string, fn: () => void): void; + function RegisterEvent(event: string, fn: (...args: any[]) => void): void; function Load(): void; + function Unload(): void; let AutoLoad: boolean; + let Containers: Container[]; } } @@ -1253,6 +1255,12 @@ declare enum EnumDWT_MouseShape { Zoom = 3 } +interface Container { + ContainerId: string; + Width: string | number; + Height: string | number; +} + /** * @class */ From 7a068dfc31751c6714b995aa40558bf5ba21e662 Mon Sep 17 00:00:00 2001 From: Jesse Zhang <jessezhang91@users.noreply.github.com> Date: Thu, 12 Oct 2017 05:17:21 -0400 Subject: [PATCH 301/433] [node-zookeeper-client] fix event type, should be number (#20500) --- types/node-zookeeper-client/index.d.ts | 7 ++++--- types/node-zookeeper-client/node-zookeeper-client-tests.ts | 4 ++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/types/node-zookeeper-client/index.d.ts b/types/node-zookeeper-client/index.d.ts index 9b98de0f65..8a63177f83 100644 --- a/types/node-zookeeper-client/index.d.ts +++ b/types/node-zookeeper-client/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for node-zookeeper-client 0.2 // Project: https://github.com/alexguan/node-zookeeper-client // Definitions by: York Yao <https://github.com/plantain-00> +// Jesse Zhang <https://github.com/jessezhang91> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 @@ -62,12 +63,12 @@ export class Event { static NODE_DELETED: number; static NODE_DATA_CHANGED: number; static NODE_CHILDREN_CHANGED: number; - type: string; + type: number; name: string; path: string; - constructor(type: string, name: string, path: string); + constructor(type: number, name: string, path: string); toString(): string; - getType(): string; + getType(): number; getName(): string; getPath(): string; } diff --git a/types/node-zookeeper-client/node-zookeeper-client-tests.ts b/types/node-zookeeper-client/node-zookeeper-client-tests.ts index b7e33a2762..90f19642cc 100644 --- a/types/node-zookeeper-client/node-zookeeper-client-tests.ts +++ b/types/node-zookeeper-client/node-zookeeper-client-tests.ts @@ -251,3 +251,7 @@ const client = zookeeper.createClient( console.log('Node: %s is created.', path); }); } + +{ + new zookeeper.Event(zookeeper.Event.NODE_CREATED, 'test', '/test'); +} From e5b56fcf1b8133cc599e9e6d7ff155c4ac7d75be Mon Sep 17 00:00:00 2001 From: Ruben Taelman <rubensworks@users.noreply.github.com> Date: Thu, 12 Oct 2017 18:19:53 +0900 Subject: [PATCH 302/433] Add RDFJS typings (#20507) --- types/rdf-js/index.d.ts | 381 +++++++++++++++++++++++++++++++++++ types/rdf-js/rdf-js-tests.ts | 108 ++++++++++ types/rdf-js/tsconfig.json | 23 +++ types/rdf-js/tslint.json | 1 + 4 files changed, 513 insertions(+) create mode 100644 types/rdf-js/index.d.ts create mode 100644 types/rdf-js/rdf-js-tests.ts create mode 100644 types/rdf-js/tsconfig.json create mode 100644 types/rdf-js/tslint.json diff --git a/types/rdf-js/index.d.ts b/types/rdf-js/index.d.ts new file mode 100644 index 0000000000..33a4557bbd --- /dev/null +++ b/types/rdf-js/index.d.ts @@ -0,0 +1,381 @@ +// Type definitions for the RDFJS specification 1.0 +// Project: https://github.com/rdfjs/representation-task-force +// Definitions by: Ruben Taelman <https://github.com/rubensworks> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// <reference types="node" /> + +import * as stream from "stream"; +import { EventEmitter } from "events"; + +/* Data Interfaces */ +/* https://github.com/rdfjs/representation-task-force/blob/master/interface-spec.md#data-interfaces */ + +/** + * Abstract interface for RDF terms (subject, predicate, object or graph). + */ +export interface Term { + /** + * Contains a value that identifies the concrete interface of the term, + * since Term itself is not directly instantiated. + * + * Possible values include "NamedNode", "BlankNode", "Literal", "Variable" and "DefaultGraph". + */ + termType: "NamedNode" | "BlankNode" | "Literal" | "Variable" | "DefaultGraph"; + /** + * Refined by each interface which extends Term + */ + value: string; + + /** + * @param {RDF.Term} other The term to compare with. + * @return {boolean} If the termType is equal and the contents are equal (as defined by concrete subclasses). + */ + equals(other: Term): boolean; +} + +/** + * Contains an IRI. + */ +export interface NamedNode extends Term { + /** + * Contains the constant "NamedNode". + */ + termType: "NamedNode"; + /** + * The IRI of the named node (example: `http://example.org/resource`) + */ + value: string; + + /** + * @param {RDF.Term} other The term to compare with. + * @return {boolean} True if and only if other has termType "NamedNode" and the same `value`. + */ + equals(other: Term): boolean; +} + +/** + * Contains an RDF blank node. + */ +export interface BlankNode extends Term { + /** + * Contains the constant "BlankNode". + */ + termType: "BlankNode"; + /** + * Blank node name as a string, without any serialization specific prefixes, + * e.g. when parsing, + * if the data was sourced from Turtle, remove _:, + * if it was sourced from RDF/XML, do not change the blank node name (example: blank3). + */ + value: string; + + /** + * @param {RDF.Term} other The term to compare with. + * @return {boolean} True if and only if other has termType "BlankNode" and the same `value`. + */ + equals(other: Term): boolean; +} + +/** + * An RDF literal, containing a string with an optional language tag and/or datatype. + */ +export interface Literal extends Term { + /** + * Contains the constant "Literal". + */ + termType: "Literal"; + /** + * The text value, unescaped, without language or type (example: Brad Pitt). + */ + value: string; + /** + * the language as lowercase BCP47 string (examples: en, en-gb) + * or an empty string if the literal has no language. + * @link http://tools.ietf.org/html/bcp47 + */ + language: string; + /** + * A NamedNode whose IRI represents the datatype of the literal. + */ + datatype: NamedNode; + + /** + * @param {RDF.Term} other The term to compare with. + * @return {boolean} True if and only if other has termType "Literal" + * and the same `value`, `language`, and `datatype`. + */ + equals(other: Term): boolean; +} + +/** + * A variable name. + */ +export interface Variable extends Term { + /** + * Contains the constant "Variable". + */ + termType: "Variable"; + /** + * The name of the variable *without* leading ? (example: a). + */ + value: string; + + /** + * @param {RDF.Term} other The term to compare with. + * @return {boolean} True if and only if other has termType "Variable" and the same `value`. + */ + equals(other: Term): boolean; +} + +/** + * An instance of DefaultGraph represents the default graph. + * It's only allowed to assign a DefaultGraph to the .graph property of a Quad. + */ +export interface DefaultGraph extends Term { + /** + * Contains the constant "DefaultGraph". + */ + termType: "DefaultGraph"; + /** + * Contains an empty string as constant value. + */ + value: ""; + + /** + * @param {RDF.Term} other The term to compare with. + * @return {boolean} True if and only if other has termType "DefaultGraph". + */ + equals(other: Term): boolean; +} + +/** + * An RDF quad, containing the subject, predicate, object and graph terms. + */ +export interface Quad { + /** + * The subject, which is a NamedNode, BlankNode or Variable. + * @see NamedNode + * @see BlankNode + * @see Variable + */ + subject: Term; + /** + * The predicate, which is a NamedNode or Variable. + * @see NamedNode + * @see Variable + */ + predicate: Term; + /** + * The object, which is a NamedNode, Literal, BlankNode or Variable. + * @see NamedNode + * @see Literal + * @see BlankNode + * @see Variable + */ + object: Term; + /** + * The named graph, which is a DefaultGraph, NamedNode, BlankNode or Variable. + * @see DefaultGraph + * @see NamedNode + * @see BlankNode + * @see Variable + */ + graph: Term; + + /** + * @param {RDF.Quad} other The term to compare with. + * @return {boolean} True if and only if the argument is a) of the same type b) has all components equal. + */ + equals(other: Quad): boolean; +} + +/** + * An RDF triple, containing the subject, predicate, object terms. + * + * Triple is an alias of Quad. + */ +// tslint:disable-next-line no-empty-interface +export interface Triple extends Quad {} + +/** + * A factory for instantiating RDF terms, triples and quads. + */ +export interface DataFactory { + /** + * @param {string} value The IRI for the named node. + * @return {RDF.NamedNode} A new instance of NamedNode. + * @see NamedNode + */ + namedNode(value: string): NamedNode; + + /** + * @param {string} value The optional blank node identifier. + * @return {RDF.BlankNode} A new instance of BlankNode. + * If the `value` parameter is undefined a new identifier + * for the blank node is generated for each call. + * @see BlankNode + */ + blankNode(value?: string): BlankNode; + + /** + * @param {string} value The literal value. + * @param {string | RDF.NamedNode} languageOrDatatype The optional language or datatype. + * If `languageOrDatatype` is a NamedNode, + * then it is used for the value of `NamedNode.datatype`. + * Otherwise `languageOrDatatype` is used for the value + * of `NamedNode.language`. + * @return {RDF.Literal} A new instance of Literal. + * @see Literal + */ + literal(value: string, languageOrDatatype?: string | NamedNode): Literal; + + /** + * This method is optional. + * @param {string} value The variable name + * @return {RDF.Variable} A new instance of Variable. + * @see Variable + */ + variable?(value: string): Variable; + + /** + * @return {RDF.DefaultGraph} An instance of DefaultGraph. + */ + defaultGraph(): DefaultGraph; + + /** + * @param {RDF.Term} subject The triple subject term. + * @param {RDF.Term} predicate The triple predicate term. + * @param {RDF.Term} object The triple object term. + * @return {RDF.Quad} A new instance of Quad with `Quad.graph` set to DefaultGraph. + * @see Quad + * @see Triple + * @see DefaultGraph + */ + triple(subject: Term, predicate: Term, object: Term): Quad; + + /** + * @param {RDF.Term} subject The quad subject term. + * @param {RDF.Term} predicate The quad predicate term. + * @param {RDF.Term} object The quad object term. + * @param {RDF.Term} graph The quad graph term. + * @return {RDF.Quad} A new instance of Quad. + * @see Quad + */ + quad(subject: Term, predicate: Term, object: Term, graph?: Term): Quad; +} + +/* Stream Interfaces */ +/* https://github.com/rdfjs/representation-task-force/blob/master/interface-spec.md#stream-interfaces */ + +/** + * A quad stream. + * This stream is only readable, not writable. + * + * Events: + * * `readable()`: When a quad can be read from the stream, it will emit this event. + * * `end()`: This event fires when there will be no more quads to read. + * * `error(error: Error)`: This event fires if any error occurs. The `message` describes the error. + * * `data(quad: RDF.Quad)`: This event is emitted for every quad that can be read from the stream. + * The quad is the content of the data. + * Optional events: + * * prefix(prefix: string, iri: RDF.NamedNode): This event is emitted every time a prefix is mapped to some IRI. + */ +export interface Stream extends EventEmitter { + /** + * This method pulls a quad out of the internal buffer and returns it. + * If there is no quad available, then it will return null. + * + * @return {RDF.Quad} A quad from the internal buffer, or null if none is available. + */ + read(): Quad; +} + +/** + * A Source is an object that emits quads. + * + * It can contain quads but also generate them on the fly. + * + * For example, parsers and transformations which generate quads can implement the Source interface. + */ +export interface Source { + /** + * Returns a stream that processes all quads matching the pattern. + * + * @param {RDF.Term | RegExp} subject The optional exact subject or subject regex to match. + * @param {RDF.Term | RegExp} predicate The optional exact predicate or predicate regex to match. + * @param {RDF.Term | RegExp} object The optional exact object or object regex to match. + * @param {RDF.Term | RegExp} graph The optional exact graph or graph regex to match. + * @return {RDF.Stream} The resulting quad stream. + */ + match(subject?: Term | RegExp, predicate?: Term | RegExp, object?: Term | RegExp, graph?: Term | RegExp) + : Stream; +} + +/** + * A Sink is an object that consumes data from different kinds of streams. + * + * It can store the content of the stream or do some further processing. + * + * For example parsers, serializers, transformations and stores can implement the Sink interface. + */ +export interface Sink { + /** + * Consumes the given stream. + * + * The `end` and `error` events are used like described in the Stream interface. + * Depending on the use case, subtypes of EventEmitter or Stream are used. + * @see Stream + * + * @param {RDF.Stream} stream The stream that will be consumed. + * @return {"events".internal.EventEmitter} The resulting event emitter. + */ + import(stream: Stream): EventEmitter; +} + +/** + * A Store is an object that usually used to persist quads. + * + * The interface allows removing quads, beside read and write access. + * The quads can be stored locally or remotely. + * + * Access to stores LDP or SPARQL endpoints can be implemented with a Store inteface. + */ +export interface Store extends Source, Sink { + /** + * Removes all streamed quads. + * + * The end and error events are used like described in the Stream interface. + * @see Stream + * + * @param {RDF.Stream} stream The stream that will be consumed. + * @return {"events".internal.EventEmitter} The resulting event emitter. + */ + remove(stream: Stream): EventEmitter; + + /** + * All quads matching the pattern will be removed. + * + * The `end` and `error` events are used like described in the Stream interface. + * @see Stream + * + * @param {RDF.Term | RegExp} subject The optional exact subject or subject regex to match. + * @param {RDF.Term | RegExp} predicate The optional exact predicate or predicate regex to match. + * @param {RDF.Term | RegExp} object The optional exact object or object regex to match. + * @param {RDF.Term | RegExp} graph The optional exact graph or graph regex to match. + * @return {"events".internal.EventEmitter} The resulting event emitter. + */ + removeMatches(subject?: Term | RegExp, predicate?: Term | RegExp, object?: Term | RegExp, graph?: Term | RegExp) + : EventEmitter; + + /** + * Deletes the given named graph. + * + * The `end` and `error` events are used like described in the Stream interface. + * @see Stream + * + * @param {RDF.Term | string} graph The graph term or string to match. + * @return {"events".internal.EventEmitter} The resulting event emitter. + */ + deleteGraph(graph: Term | string): EventEmitter; +} diff --git a/types/rdf-js/rdf-js-tests.ts b/types/rdf-js/rdf-js-tests.ts new file mode 100644 index 0000000000..5dad2d1ce9 --- /dev/null +++ b/types/rdf-js/rdf-js-tests.ts @@ -0,0 +1,108 @@ +import { BlankNode, DataFactory, DefaultGraph, Literal, NamedNode, Quad, Sink, Source, Store, Stream, Triple, Term, + Variable } from "rdf-js"; +import { EventEmitter } from "events"; + +function test_terms() { + // Only types are checked in this tests, + // so this does not have to be functional. + const someTerm: Term = <any> {}; + + const namedNode: NamedNode = <any> {}; + const termType1: string = namedNode.termType; + const value1: string = namedNode.value; + namedNode.equals(someTerm); + + const blankNode: BlankNode = <any> {}; + const termType2: string = blankNode.termType; + const value2: string = blankNode.value; + blankNode.equals(someTerm); + + const literal: Literal = <any> {}; + const termType3: string = literal.termType; + const value3: string = literal.value; + const language3: string = literal.language; + const datatype3: NamedNode = literal.datatype; + literal.equals(someTerm); + + const variable: Variable = <any> {}; + const termType4: string = variable.termType; + const value4: string = variable.value; + variable.equals(someTerm); + + const defaultGraph: DefaultGraph = <any> {}; + const termType5: string = defaultGraph.termType; + const value5: string = defaultGraph.value; + defaultGraph.equals(someTerm); +} + +function test_quads() { + const quad: Quad = <any> {}; + const s1: Term = quad.subject; + const p1: Term = quad.predicate; + const o1: Term = quad.object; + const g1: Term = quad.graph; + quad.equals(quad); + + const triple: Triple = quad; + const s2: Term = triple.subject; + const p2: Term = triple.predicate; + const o2: Term = triple.object; + const g2: Term = triple.graph; + triple.equals(quad); + quad.equals(triple); +} + +function test_datafactory() { + const dataFactory: DataFactory = <any> {}; + + const namedNode: NamedNode = dataFactory.namedNode('http://example.org'); + + const blankNode1: BlankNode = dataFactory.blankNode('b1'); + const blankNode2: BlankNode = dataFactory.blankNode(); + + const literal1: Literal = dataFactory.literal('abc'); + const literal2: Literal = dataFactory.literal('abc', 'en-us'); + const literal3: Literal = dataFactory.literal('abc', namedNode); + + const variable: Variable = dataFactory.variable ? dataFactory.variable('v1') : <any> {}; + + const term: Term = <any> {}; + const triple: Quad = dataFactory.triple(term, term, term); + const quad: Quad = dataFactory.quad(term, term, term, term); +} + +function test_stream() { + const stream: Stream = <any> {}; + const quad: Quad = stream.read(); + + const term: Term = <any> {}; + const source: Source = <any> {}; + const matchStream1: Stream = source.match(); + const matchStream2: Stream = source.match(term); + const matchStream3: Stream = source.match(/.*/); + const matchStream4: Stream = source.match(term, term); + const matchStream5: Stream = source.match(term, /.*/); + const matchStream6: Stream = source.match(term, term, term); + const matchStream7: Stream = source.match(term, term, /.*/); + const matchStream8: Stream = source.match(term, term, term, term); + const matchStream9: Stream = source.match(term, term, term, /.*/); + + const sink: Sink = <any> {}; + const eventEmitter1: EventEmitter = sink.import(stream); + + const store: Store = <any> {}; + const storeSource: Source = store; + const storeSink: Sink = store; + const eventEmitter2: EventEmitter = store.remove(stream); + const eventEmitter3: EventEmitter = store.removeMatches(); + const eventEmitter4: EventEmitter = store.removeMatches(term); + const eventEmitter5: EventEmitter = store.removeMatches(/.*/); + const eventEmitter6: EventEmitter = store.removeMatches(term, term); + const eventEmitter7: EventEmitter = store.removeMatches(term, /.*/); + const eventEmitter8: EventEmitter = store.removeMatches(term, term, term); + const eventEmitter9: EventEmitter = store.removeMatches(term, term, /.*/); + const eventEmitter10: EventEmitter = store.removeMatches(term, term, term, term); + const eventEmitter11: EventEmitter = store.removeMatches(term, term, term, /.*/); + const eventEmitter12: EventEmitter = store.deleteGraph(term); + const eventEmitter13: EventEmitter = store.deleteGraph('http://example.org'); +} diff --git a/types/rdf-js/tsconfig.json b/types/rdf-js/tsconfig.json new file mode 100644 index 0000000000..b9c788b408 --- /dev/null +++ b/types/rdf-js/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "rdf-js-tests.ts" + ] +} diff --git a/types/rdf-js/tslint.json b/types/rdf-js/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/rdf-js/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 6d187525fa6ce39471068f3b72161a24a0d3bad1 Mon Sep 17 00:00:00 2001 From: Alex Coles <alex@alexbcoles.com> Date: Thu, 12 Oct 2017 10:22:14 +0100 Subject: [PATCH 303/433] [jest-diff] [jest-get-type] [jest-matcher-utils] Add typings (#20509) * Add typings for jest-diff * Add typings for jest-get-type * Add typings for jest-matcher-utils * Enable noImplicitThis option for jest-diff * Enable noImplicitThis option for jest-get-type * Enable noImplicitThis option for jest-matcher-utils * Point jest-diff project URL to GitHub * Point jest-get=type project URL to GitHub * Point jest-matcher-utils project URL to GitHub * Uncomment EXPECTED_BG, RECEIVED_BG variables Although these variables have been removed on master of the jest-matcher-utils repo, there has yet to be a release. Add a TODO to indicate that a future update to these definitions will be necessary. --- types/jest-diff/index.d.ts | 18 ++++++ types/jest-diff/jest-diff-tests.ts | 42 ++++++++++++++ types/jest-diff/tsconfig.json | 23 ++++++++ types/jest-diff/tslint.json | 3 + types/jest-get-type/index.d.ts | 26 +++++++++ types/jest-get-type/jest-get-type-tests.ts | 17 ++++++ types/jest-get-type/tsconfig.json | 23 ++++++++ types/jest-get-type/tslint.json | 3 + types/jest-matcher-utils/index.d.ts | 45 +++++++++++++++ .../jest-matcher-utils-tests.ts | 57 +++++++++++++++++++ types/jest-matcher-utils/tsconfig.json | 23 ++++++++ types/jest-matcher-utils/tslint.json | 3 + 12 files changed, 283 insertions(+) create mode 100644 types/jest-diff/index.d.ts create mode 100644 types/jest-diff/jest-diff-tests.ts create mode 100644 types/jest-diff/tsconfig.json create mode 100644 types/jest-diff/tslint.json create mode 100644 types/jest-get-type/index.d.ts create mode 100644 types/jest-get-type/jest-get-type-tests.ts create mode 100644 types/jest-get-type/tsconfig.json create mode 100644 types/jest-get-type/tslint.json create mode 100644 types/jest-matcher-utils/index.d.ts create mode 100644 types/jest-matcher-utils/jest-matcher-utils-tests.ts create mode 100644 types/jest-matcher-utils/tsconfig.json create mode 100644 types/jest-matcher-utils/tslint.json diff --git a/types/jest-diff/index.d.ts b/types/jest-diff/index.d.ts new file mode 100644 index 0000000000..b296c07f91 --- /dev/null +++ b/types/jest-diff/index.d.ts @@ -0,0 +1,18 @@ +// Type definitions for jest-diff 20.0 +// Project: https://github.com/facebook/jest/tree/master/packages/jest-diff +// Definitions by: Alex Coles <https://github.com/myabc> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 + +declare namespace diff { + interface DiffOptions { + aAnnotation?: string; + bAnnotation?: string; + expand?: boolean; + contextLines?: number; + } +} + +declare function diff(a: any, b: any, options?: diff.DiffOptions): string; + +export = diff; diff --git a/types/jest-diff/jest-diff-tests.ts b/types/jest-diff/jest-diff-tests.ts new file mode 100644 index 0000000000..01e0453e61 --- /dev/null +++ b/types/jest-diff/jest-diff-tests.ts @@ -0,0 +1,42 @@ +import diff = require('jest-diff'); + +diff([], ['a']); // $ExpectType string +diff(false, true); +diff(null, null); +diff(1000, 1001); +diff(/d+/, /w+/); +diff(new Map(), new Map()); +diff(new Set(), new Set()); +diff(new Date(), new Date()); +diff('ts', 'js'); +diff(Symbol(), Symbol(1)); +diff(undefined, undefined); + +diff([], ['a'], { }); // $ExpectType string +diff([], ['a'], { expand: false }); // $ExpectType string +diff([], ['a'], { contextLines: 3 }); // $ExpectType string +// $ExpectType string +diff([], ['a'], { + aAnnotation: 'esperado', + bAnnotation: 'recibido' +}); + +diff(); // $ExpectError +diff([]); // $ExpectError +// diff([], {}, []); // $ExpectError (does not error on 2.3) + +diff([], ['a'], { expand: false }); // $ExpectType string +diff([], ['a'], { contextLines: 3 }); // $ExpectType string +// $ExpectType string +diff([], ['a'], { + aAnnotation: 'esperado', + bAnnotation: 'recibido' +}); + +// $ExpectError +diff([], ['a'], { + expand: 'yeah', + aAnnotation: false, + bAnnotation: {}, + contextLines: 'two' +}); diff --git a/types/jest-diff/tsconfig.json b/types/jest-diff/tsconfig.json new file mode 100644 index 0000000000..3624e1778b --- /dev/null +++ b/types/jest-diff/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "jest-diff-tests.ts" + ] +} diff --git a/types/jest-diff/tslint.json b/types/jest-diff/tslint.json new file mode 100644 index 0000000000..f93cf8562a --- /dev/null +++ b/types/jest-diff/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "dtslint/dt.json" +} diff --git a/types/jest-get-type/index.d.ts b/types/jest-get-type/index.d.ts new file mode 100644 index 0000000000..e43fbcf7ab --- /dev/null +++ b/types/jest-get-type/index.d.ts @@ -0,0 +1,26 @@ +// Type definitions for jest-get-type 21.0 +// Project: https://github.com/facebook/jest/tree/master/packages/jest-get-type +// Definitions by: Alex Coles <https://github.com/myabc> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 + +declare namespace getType { + type ValueType = + | 'array' + | 'boolean' + | 'function' + | 'null' + | 'number' + | 'object' + | 'regexp' + | 'map' + | 'set' + | 'date' + | 'string' + | 'symbol' + | 'undefined'; +} + +declare function getType(value: any): getType.ValueType; + +export = getType; diff --git a/types/jest-get-type/jest-get-type-tests.ts b/types/jest-get-type/jest-get-type-tests.ts new file mode 100644 index 0000000000..6c423adcc9 --- /dev/null +++ b/types/jest-get-type/jest-get-type-tests.ts @@ -0,0 +1,17 @@ +import getType = require('jest-get-type'); + +getType([]); // $ExpectType ValueType +getType(false); +getType(null); +getType(1000); +getType(/d+/); +getType(new Map()); +getType(new Set()); +getType(new Date()); +getType('ts'); +getType(Symbol()); +getType(undefined); + +getType(); // $ExpectError +getType([], undefined); // $ExpectError +getType([], ''); // $ExpectError diff --git a/types/jest-get-type/tsconfig.json b/types/jest-get-type/tsconfig.json new file mode 100644 index 0000000000..d1e6fac5ee --- /dev/null +++ b/types/jest-get-type/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "jest-get-type-tests.ts" + ] +} diff --git a/types/jest-get-type/tslint.json b/types/jest-get-type/tslint.json new file mode 100644 index 0000000000..f93cf8562a --- /dev/null +++ b/types/jest-get-type/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "dtslint/dt.json" +} diff --git a/types/jest-matcher-utils/index.d.ts b/types/jest-matcher-utils/index.d.ts new file mode 100644 index 0000000000..92bc13070b --- /dev/null +++ b/types/jest-matcher-utils/index.d.ts @@ -0,0 +1,45 @@ +// Type definitions for jest-matcher-utils 21.0 +// Project: https://github.com/facebook/jest/tree/master/packages/jest-get-type +// Definitions by: Alex Coles <https://github.com/myabc> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 + +import * as chalk from 'chalk'; + +export const EXPECTED_COLOR: chalk.ChalkChain; +export const RECEIVED_COLOR: chalk.ChalkChain; +export const EXPECTED_BG: chalk.ChalkChain; // TODO: removed in b430e51a +export const RECEIVED_BG: chalk.ChalkChain; // TODO: removed in b430e51a +export const SUGGEST_TO_EQUAL: string; + +export function stringify(object: any, maxDepth?: number): string; + +export function highlightTrailingWhitespace( + text: string, + bgColor: chalk.ChalkChain // removed in b430e51a +): string; + +export function printReceived(object: any): string; +export function printExpected(value: any): string; +export function printWithType( + name: string, + received: any, + print: (value: any) => string +): string; + +export function ensureNoExpected(actual: any, matcherName?: string): void; +export function ensureActualIsNumber(actual: any, matcherName?: string): void; +export function ensureExpectedIsNumber(actual: any, matcherName?: string): void; +export function ensureNumbers( + actual: any, + expected: any, + matcherName?: string +): void; + +export function pluralize(word: string, count: number): string; +export function matcherHint( + matcherName: string, + received?: string, + expected?: string, + options?: { secondArgument?: string; isDirectExpectCall?: boolean } +): string; diff --git a/types/jest-matcher-utils/jest-matcher-utils-tests.ts b/types/jest-matcher-utils/jest-matcher-utils-tests.ts new file mode 100644 index 0000000000..6f9a4ddeab --- /dev/null +++ b/types/jest-matcher-utils/jest-matcher-utils-tests.ts @@ -0,0 +1,57 @@ +import * as chalk from 'chalk'; +import * as utils from 'jest-matcher-utils'; + +utils.EXPECTED_COLOR; // $ExpectType ChalkChain +utils.RECEIVED_COLOR; // $ExpectType ChalkChain +utils.SUGGEST_TO_EQUAL; // $ExpectType string + +utils.stringify({}); // $ExpectType string +utils.stringify({}, 44); +utils.stringify({}, '44'); // $ExpectError +utils.stringify({}, false); // $ExpectError + +utils.highlightTrailingWhitespace('', chalk.red); // $ExpectType string +utils.highlightTrailingWhitespace(44, chalk.blue); // $ExpectError +utils.highlightTrailingWhitespace(false, chalk.green); // $ExpectError + +utils.printReceived({}); // $ExpectType string +utils.printExpected({}); // $ExpectType string +utils.printWithType('obj', {}, () => ''); // $ExpectType string + +utils.ensureNoExpected(null, ''); // $ExpectType void +utils.ensureNoExpected('', ''); + +utils.ensureActualIsNumber(66); // $ExpectType void +utils.ensureActualIsNumber(66, 'highwayRouteMatcher'); +utils.ensureActualIsNumber('66', 'highwayRouteMatcher'); + +utils.ensureExpectedIsNumber(66); // $ExpectType void +utils.ensureExpectedIsNumber(66, 'highwayRouteMatcher'); +utils.ensureExpectedIsNumber('66', 'highwayRouteMatcher'); + +utils.ensureNumbers(66, 66); // $ExpectType void +utils.ensureNumbers(66, 66, 'highwayRouteMatcher'); +utils.ensureNumbers('66', 'highwayRouteMatcher'); +utils.ensureNumbers(66); // $ExpectError + +utils.pluralize('fox', 1); // $ExpectType string +utils.pluralize('fox', 9); +utils.pluralize('fox', 'a yuge number'); // $ExpectError +utils.pluralize(1, 2); // $ExpectError + +utils.matcherHint('[.not]primeNumberMatcher'); // $ExpectType string +utils.matcherHint('[.not]primeNumberMatcher', '12'); +utils.matcherHint('[.not]primeNumberMatcher', '12', '13'); +utils.matcherHint('[.not]primeNumberMatcher', '12', '13', {}); +utils.matcherHint('[.not]primeNumberMatcher', '12', '13', { + secondArgument: '' +}); +utils.matcherHint('[.not]primeNumberMatcher', '12', '13', { + secondArgument: '', + isDirectExpectCall: true +}); +utils.matcherHint('[.not]primeNumberMatcher', '12', '13', { + secondArgument: '', + isDirectExpectCall: true, + notAnOption: 'notAnOptionValue' // $ExpectError +}); diff --git a/types/jest-matcher-utils/tsconfig.json b/types/jest-matcher-utils/tsconfig.json new file mode 100644 index 0000000000..115b762386 --- /dev/null +++ b/types/jest-matcher-utils/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "jest-matcher-utils-tests.ts" + ] +} diff --git a/types/jest-matcher-utils/tslint.json b/types/jest-matcher-utils/tslint.json new file mode 100644 index 0000000000..f93cf8562a --- /dev/null +++ b/types/jest-matcher-utils/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "dtslint/dt.json" +} From 972e5154d8799da9557504c3625018b6ec1e2260 Mon Sep 17 00:00:00 2001 From: Jacob Froman <jacob.h.froman@gmail.com> Date: Thu, 12 Oct 2017 04:22:49 -0500 Subject: [PATCH 304/433] [react-native-google-signin] Add Typings (#20505) * Add typings for react-native-google-signin * Fix type in configure parameter * Remove optional in favor of type | null --- types/react-native-google-signin/index.d.ts | 146 ++++++++++++++++++ .../react-native-google-signin-tests.tsx | 51 ++++++ .../react-native-google-signin/tsconfig.json | 24 +++ types/react-native-google-signin/tslint.json | 1 + 4 files changed, 222 insertions(+) create mode 100644 types/react-native-google-signin/index.d.ts create mode 100644 types/react-native-google-signin/react-native-google-signin-tests.tsx create mode 100644 types/react-native-google-signin/tsconfig.json create mode 100644 types/react-native-google-signin/tslint.json diff --git a/types/react-native-google-signin/index.d.ts b/types/react-native-google-signin/index.d.ts new file mode 100644 index 0000000000..6166f99a98 --- /dev/null +++ b/types/react-native-google-signin/index.d.ts @@ -0,0 +1,146 @@ +// Type definitions for react-native-google-signin 0.12 +// Project: https://github.com/devfd/react-native-google-signin +// Definitions by: Jacob Froman <https://github.com/j-fro> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +import * as React from 'react'; +import { ViewProperties } from 'react-native'; + +export interface GoogleSigninButtonProps extends ViewProperties { + size?: GoogleSigninButton.Size; + color?: GoogleSigninButton.Color; + onPress?(): void; +} + +export class GoogleSigninButton extends React.Component<GoogleSigninButtonProps> { + constructor(props: GoogleSigninButtonProps); +} + +export namespace GoogleSigninButton { + enum Size { + Standard, + Wide, + Icon + } + + enum Color { + Light, + Dark + } +} + +export interface HasPlayServicesParams { + /** + * When autoresolve is true, the user will be prompted to install Play + * Services if on Android and they are not installed. + */ + autoResolve?: boolean; +} + +export interface ConfigureParams { + /** + * The Google API scopes to request access to. Default is email and profile. + */ + scopes?: string[]; + + /** + * iOS client ID from Developer Console. Required for iOS. + */ + iosClientId?: string; + + /** + * Web client ID from Developer Console. Required for offline access + */ + webClientId?: string; + + /** + * Must be true if you wish to access user APIs on behalf of the user from + * your own server + */ + offlineAccess?: boolean; + + /** + * Specifies a hosted domain restriction + */ + hostedDomain?: string; + + /** + * ANDROID ONLY. Specifies if the consent prompt should be shown at each login. + */ + forceConsentPrompt?: boolean; + + /** + * ANDROID ONLY. An account name that should be prioritized. + */ + accountName?: string; +} + +export interface User { + id: string | null; + name: string | null; + email: string | null; + scopes?: string[]; + photo: string | null; + familyName: string | null; + givenName: string | null; + idToken: string | null; + /** + * IOS ONLY. Use getAccessToken() on Android + */ + accessToken: string; + /** + * IOS ONLY. Use getAccessToken() on Android + */ + accessTokenExpirationDate: number; + /** + * Not null only if a valid webClientId and offlineAccess: true was + * specified in configure(). + */ + serverAuthCode: string | null; +} + +export namespace GoogleSignin { + /** + * Check if the device has Google Play Services installed. Always resolves + * true on iOS + */ + function hasPlayServices(params?: HasPlayServicesParams): Promise<boolean>; + + /** + * Configures the library for login. MUST be called before attempting login + */ + function configure(params?: ConfigureParams): Promise<void>; + + /** + * Returns the current signed in user, or null if not signed in. + */ + function currentUser(): User | null; + + /** + * Returns a Promise that resolves with the current signed in user, or null + * if not signed in. + */ + function currentUserAsync(): Promise<User | null>; + + /** + * Prompts the user to sign in with their Google account. Resolves with the + * user if successful. + */ + function signIn(): Promise<User>; + + /** + * Signs the user out. + */ + function signOut(): Promise<void>; + + /** + * ANDROID ONLY. Resolves with the current signed in user's access token. + */ + function getAccessToken(): Promise<string | null>; + + /** + * Removes your application from the user's authorized applications + */ + function revokeAccess(): Promise<void>; +} diff --git a/types/react-native-google-signin/react-native-google-signin-tests.tsx b/types/react-native-google-signin/react-native-google-signin-tests.tsx new file mode 100644 index 0000000000..a8de31f0eb --- /dev/null +++ b/types/react-native-google-signin/react-native-google-signin-tests.tsx @@ -0,0 +1,51 @@ +import * as React from 'react'; +import { GoogleSignin, GoogleSigninButton, User } from 'react-native-google-signin'; +import { StyleSheet, ViewStyle, View, Text, TouchableHighlight } from 'react-native'; + +interface State { + user?: User; +} + +export default class Signin extends React.Component<{}, State> { + state: State = {}; + + componentDidMount() { + GoogleSignin.configure({ + scopes: ['https://www.googleapis.com/auth/drive.readonly'] + }).then(() => GoogleSignin.hasPlayServices({ autoResolve: true })); + } + + async handleSigninPress(): Promise<void> { + const user = await GoogleSignin.signIn(); + this.setState({ user }); + } + + handleSignoutPress(): Promise<void> { + return GoogleSignin.signOut(); + } + + render() { + if (this.state.user) { + return ( + <View> + <Text>{this.state.user.name}</Text> + <TouchableHighlight onPress={() => this.handleSignoutPress()}> + <Text>Sign Out</Text> + </TouchableHighlight> + </View> + ); + } + return ( + <GoogleSigninButton + style={styles.button} + size={GoogleSigninButton.Size.Wide} + color={GoogleSigninButton.Color.Dark} + onPress={() => this.handleSigninPress()} + /> + ); + } +} + +const styles = StyleSheet.create({ + button: { width: 312, height: 48 } +}); diff --git a/types/react-native-google-signin/tsconfig.json b/types/react-native-google-signin/tsconfig.json new file mode 100644 index 0000000000..aaa8a4b253 --- /dev/null +++ b/types/react-native-google-signin/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true, + "jsx": "react-native" + }, + "files": [ + "index.d.ts", + "react-native-google-signin-tests.tsx" + ] +} diff --git a/types/react-native-google-signin/tslint.json b/types/react-native-google-signin/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/react-native-google-signin/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 2cdb812a317b6a93c26a52d98bc701ea0794b38b Mon Sep 17 00:00:00 2001 From: Sampson Oliver <sampsonjoliver@outlook.com> Date: Thu, 12 Oct 2017 20:23:28 +1100 Subject: [PATCH 305/433] stripe-node updated typings for webhook verification (#20382) * Added stripe-node typings for webhook verification - See example on the stripe-node github for webhook signing here: https://github.com/stripe/stripe-node/tree/master/examples/webhook-signing * Updated stripe-node types version --- types/stripe-node/index.d.ts | 30 +++++++++++++++++++++++--- types/stripe-node/stripe-node-tests.ts | 17 +++++++++++++++ 2 files changed, 44 insertions(+), 3 deletions(-) diff --git a/types/stripe-node/index.d.ts b/types/stripe-node/index.d.ts index 60310728b0..9bf45d3411 100644 --- a/types/stripe-node/index.d.ts +++ b/types/stripe-node/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for stripe-node 4.6.0 +// Type definitions for stripe-node 4.7.0 // Project: https://github.com/stripe/stripe-node/ -// Definitions by: William Johnston <https://github.com/wjohnsto>, Peter Harris <https://github.com/codeanimal> +// Definitions by: William Johnston <https://github.com/wjohnsto>, Peter Harris <https://github.com/codeanimal>, Sampson Oliver <https://github.com/sampsonjoliver> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference types="node" /> @@ -71,7 +71,8 @@ declare namespace StripeNode { orders: resources.Orders; products: resources.Products; skus: resources.SKUs; - + webhooks: resources.WebHooks; + setHost(host: string): void; setHost(host: string, port: string|number): void; setHost(host: string, port: string|number, protocol: string): void; @@ -3128,6 +3129,25 @@ declare namespace StripeNode { interface ISkuAttributes {} } + namespace webhooks { + interface StripeWebhookEvent<T> { + id: string; + object: string; + api_version: string; + created: Date; + data: { + object: T; + }; + livemode: boolean; + pending_webhooks: number; + /** + * One of https://stripe.com/docs/api#event_types + * E.g. account.updated + */ + type: string; + } + } + namespace tokens { interface IToken extends ICardToken, IBankAccountToken { } @@ -6273,6 +6293,10 @@ declare namespace StripeNode { del(skuId: string, options: HeaderOptions, response?: IResponseFn<IDeleteConfirmation>): Promise<IDeleteConfirmation>; del(skuId: string, response?: IResponseFn<IDeleteConfirmation>): Promise<IDeleteConfirmation>; } + + class WebHooks { + constructEvent<T>(requestBody: any, signature: string | string[], endpointSecret: string): webhooks.StripeWebhookEvent<T>; + } } interface IObject { diff --git a/types/stripe-node/stripe-node-tests.ts b/types/stripe-node/stripe-node-tests.ts index 67d758094d..f8a3f5c353 100644 --- a/types/stripe-node/stripe-node-tests.ts +++ b/types/stripe-node/stripe-node-tests.ts @@ -701,6 +701,23 @@ stripe.accounts.createExternalAccount("", { external_account: "tok_15V2YhEe31JkL +//#endregion + +//#region WebHooks tests +// ################################################################################## + +const webhookRequest = { + rawBody: '', + headers: { 'stripe-signature': '' } +}; +const webhookSecret = ''; + +const event = stripe.webhooks.constructEvent<StripeNode.subscriptions.ISubscription>( + webhookRequest.rawBody, + webhookRequest.headers['stripe-signature'], + webhookSecret +); + //#endregion //#region Coupons tests From 6333e37c8c2b8acbd5c2100bc6ebb399577b30f0 Mon Sep 17 00:00:00 2001 From: Gal Talmor <galtalmor@users.noreply.github.com> Date: Thu, 12 Oct 2017 02:25:55 -0700 Subject: [PATCH 306/433] Add File fields related to Multer S3 and fix metadata parameter type (#20339) * Add File fields related to Multer S3 and fix metadata parameter type * Update index.d.ts * Add File fields related to Multer S3 and fix metadata parameter type * Add File fields related to Multer S3 and fix metadata parameter type * Add File fields related to Multer S3 and fix metadata parameter type --- types/multer-s3/index.d.ts | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/types/multer-s3/index.d.ts b/types/multer-s3/index.d.ts index f826a288e7..d4e0bc476c 100644 --- a/types/multer-s3/index.d.ts +++ b/types/multer-s3/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for multer-s3 2.7 // Project: https://github.com/badunk/multer-s3 // Definitions by: KIM Jaesuck a.k.a. gim tcaesvk <https://github.com/tcaesvk> +// Gal Talmor <https://github.com/galtalmor> // Definitions: https://github.com/DefinitelyType/DefinitelyTyped import * as AWS from "aws-sdk"; @@ -12,10 +13,29 @@ interface Options { key?(req: Express.Request, file: Express.Multer.File, callback: (error: any, key?: string) => void): void; acl?: ((req: Express.Request, file: Express.Multer.File, callback: (error: any, acl?: string) => void) => void) | string; contentType?(req: Express.Request, file: Express.Multer.File, callback: (error: any, mime?: string, stream?: NodeJS.ReadableStream) => void): void; - metadata?(req: Express.Request, file: Express.Multer.File, callback: (error: any, metadata?: string) => void): void; + metadata?(req: Express.Request, file: Express.Multer.File, callback: (error: any, metadata?: any) => void): void; cacheControl?: ((req: Express.Request, file: Express.Multer.File, callback: (error: any, cacheControl?: string) => void) => void) | string; } +declare global { + namespace Express { + namespace MulterS3 { + interface File extends Multer.File { + bucket: string; + key: string; + acl: string; + contentType: string; + contentDisposition: null; + storageClass: string; + serverSideEncryption: null; + metadata: any; + location: string; + etag: string; + } + } + } +} + interface S3Storage { (options?: Options): StorageEngine; From 1587ff2a5c53707f2db100b1ad801b0e8acd0154 Mon Sep 17 00:00:00 2001 From: Brandon Matheson <Cityonhill93@gmail.com> Date: Thu, 12 Oct 2017 15:38:09 -0500 Subject: [PATCH 307/433] Resolve 20531 (#20533) * Added ListTitle and SiteTitle to ContextInfo * Added LastSelectedItemIID to RenderContext_InView --- types/sharepoint/index.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types/sharepoint/index.d.ts b/types/sharepoint/index.d.ts index 1db3cf560f..708e32b2e1 100644 --- a/types/sharepoint/index.d.ts +++ b/types/sharepoint/index.d.ts @@ -332,6 +332,7 @@ interface ContextInfo extends SPClientTemplates.RenderContext { LastSelectedItemIID: number; LastRowIndexSelected: number; RowFocusTimerID: number; + ListTitle: string; ListData: any; // SPClientTemplates.ListData_InView | SPClientTemplates.ListData_InForm ListSchema: SPClientTemplates.ListSchema; ModerationStatus: number; @@ -340,6 +341,7 @@ interface ContextInfo extends SPClientTemplates.RenderContext { SelectAllCbx: HTMLElement; SendToLocationName: string; SendToLocationUrl: string; + SiteTitle: string; StateInitDone: boolean; TableCbxFocusHandler(instance: any, eventArgs: any): void; TableMouseoverHandler(instance: any, eventArgs: any): void; @@ -1178,6 +1180,7 @@ declare namespace SPClientTemplates { ctxType: any; // not in View CurrentUserId: number; CurrentUserIsSiteAdmin: boolean; + LastSelectedItemIID: any; dictSel: any; /** Absolute path for the list display form */ displayFormUrl: string; From 90649b73fecab2624029a8a718e3703a317b60f0 Mon Sep 17 00:00:00 2001 From: segayuu <segayuu@gmail.com> Date: Fri, 13 Oct 2017 05:41:30 +0900 Subject: [PATCH 308/433] [Bluebird] cleanup lint errors (#20449) * Cleanup Lint Error: ban-types * Cleanup lint error: unified-signatures(exclude Promise.props()) * Cleanup lint error: array-type * Setting max-line-length not to exceed current length * Cleanup lint error: one-line * Cleanup lint error: lintstrict-export-declare-modifiers * [request] toJSON() return Object => object --- types/bluebird/bluebird-tests.ts | 46 ++++--- types/bluebird/index.d.ts | 215 +++++++++++++------------------ types/bluebird/tslint.json | 7 +- types/request/index.d.ts | 5 +- types/request/request-tests.ts | 2 +- types/request/tsconfig.json | 2 +- 6 files changed, 114 insertions(+), 163 deletions(-) diff --git a/types/bluebird/bluebird-tests.ts b/types/bluebird/bluebird-tests.ts index 3fbf9a7c1e..4a5ce00e15 100644 --- a/types/bluebird/bluebird-tests.ts +++ b/types/bluebird/bluebird-tests.ts @@ -7,7 +7,7 @@ import Promise = require("bluebird"); -let obj: Object; +let obj: object; let bool: boolean; let num: number; let str: string; @@ -75,7 +75,7 @@ let numProm: Promise<number>; let strProm: Promise<string>; let anyProm: Promise<any>; let boolProm: Promise<boolean>; -let objProm: Promise<Object>; +let objProm: Promise<object>; let voidProm: Promise<void>; let fooProm: Promise<Foo>; @@ -90,7 +90,7 @@ let numThen: PromiseLike<number>; let strThen: PromiseLike<string>; let anyThen: PromiseLike<any>; let boolThen: PromiseLike<boolean>; -let objThen: PromiseLike<Object>; +let objThen: PromiseLike<object>; let voidThen: PromiseLike<void>; let fooThen: PromiseLike<Foo>; @@ -116,27 +116,27 @@ let barArrThen: PromiseLike<Bar[]>; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -let numPromArr: Promise<number>[]; -let strPromArr: Promise<string>[]; -let anyPromArr: Promise<any>[]; +let numPromArr: Array<Promise<number>>; +let strPromArr: Array<Promise<string>>; +let anyPromArr: Array<Promise<any>>; -let fooPromArr: Promise<Foo>[]; -let barPromArr: Promise<Bar>[]; +let fooPromArr: Array<Promise<Foo>>; +let barPromArr: Array<Promise<Bar>>; // - - - - - - - - - - - - - - - - - -let numThenArr: PromiseLike<number>[]; -let strThenArr: PromiseLike<string>[]; -let anyThenArr: PromiseLike<any>[]; +let numThenArr: Array<PromiseLike<number>>; +let strThenArr: Array<PromiseLike<string>>; +let anyThenArr: Array<PromiseLike<any>>; -let fooThenArr: PromiseLike<Foo>[]; -let barThenArr: PromiseLike<Bar>[]; +let fooThenArr: Array<PromiseLike<Foo>>; +let barThenArr: Array<PromiseLike<Bar>>; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // booya! -let fooThenArrThen: PromiseLike<PromiseLike<Foo>[]>; -let barThenArrThen: PromiseLike<PromiseLike<Bar>[]>; +let fooThenArrThen: PromiseLike<Array<PromiseLike<Foo>>>; +let barThenArrThen: PromiseLike<Array<PromiseLike<Bar>>>; let fooResolver: Promise.Resolver<Foo>; let barResolver: Promise.Resolver<Bar>; @@ -144,8 +144,8 @@ let barResolver: Promise.Resolver<Bar>; let fooInspection: Promise.Inspection<Foo>; let fooInspectionPromise: Promise<Promise.Inspection<Foo>>; -let fooInspectionArrProm: Promise<Promise.Inspection<Foo>[]>; -let barInspectionArrProm: Promise<Promise.Inspection<Bar>[]>; +let fooInspectionArrProm: Promise<Array<Promise.Inspection<Foo>>>; +let barInspectionArrProm: Promise<Array<Promise.Inspection<Bar>>>; let BlueBird: typeof Promise; @@ -168,8 +168,7 @@ barThen = barProm; fooProm = new Promise((resolve: (value: Foo) => void, reject: (reason: any) => void) => { if (bool) { resolve(foo); - } - else { + } else { reject(new Error(str)); } }); @@ -185,8 +184,7 @@ fooProm = new Promise((resolve: (value: Foo) => void) => { fooProm = new Promise<Foo>((resolve, reject) => { if (bool) { resolve(fooThen); - } - else { + } else { reject(new Error(str)); } }); @@ -375,7 +373,7 @@ fooProm = fooProm.catch(CustomError, reason => { const booPredicate1 = (error: CustomError1) => true; const booPredicate2 = (error: [number]) => true; const booPredicate3 = (error: string) => true; - const booPredicate4 = (error: Object) => true; + const booPredicate4 = (error: object) => true; const booPredicate5 = (error: any) => true; fooProm = fooProm.catch(booPredicate1, error => {}); @@ -806,13 +804,13 @@ anyProm = Promise.fromCallback(callback => nodeCallbackFuncErrorOnly(callback), declare let util: any; -function defaultFilter(name: string, func: Function) { +function defaultFilter(name: string, func: (...args: any[]) => any) { return util.isIdentifier(name) && name.charAt(0) !== "_" && !util.isClass(func); } -function DOMPromisifier(originalMethod: Function) { +function DOMPromisifier(originalMethod: (...args: any[]) => any) { // return a function return function promisified() { let args = [].slice.call(arguments); diff --git a/types/bluebird/index.d.ts b/types/bluebird/index.d.ts index 8baef9caf9..d88d4d704b 100644 --- a/types/bluebird/index.d.ts +++ b/types/bluebird/index.d.ts @@ -340,8 +340,7 @@ declare class Bluebird<R> implements PromiseLike<R>, Bluebird.Inspection<R> { /** * Like `.finally()`, but not called for rejections. */ - tap<U>(onFulFill: (value: R) => PromiseLike<U>): Bluebird<R>; - tap<U>(onFulfill: (value: R) => U): Bluebird<R>; + tap<U>(onFulFill: (value: R) => PromiseLike<U> | U): Bluebird<R>; /** * Like `.catch()` but rethrows the error @@ -350,33 +349,33 @@ declare class Bluebird<R> implements PromiseLike<R>, Bluebird.Inspection<R> { tapCatch<U>(onReject: (error?: any) => U | PromiseLike<U>): Bluebird<R>; tapCatch<U, E1 extends Error, E2 extends Error, E3 extends Error, E4 extends Error, E5 extends Error>( - filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | Object, - filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | Object, - filter3: (new (...args: any[]) => E3) | ((error: any) => boolean) | Object, - filter4: (new (...args: any[]) => E4) | ((error: any) => boolean) | Object, - filter5: (new (...args: any[]) => E5) | ((error: any) => boolean) | Object, + filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | object, + filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | object, + filter3: (new (...args: any[]) => E3) | ((error: any) => boolean) | object, + filter4: (new (...args: any[]) => E4) | ((error: any) => boolean) | object, + filter5: (new (...args: any[]) => E5) | ((error: any) => boolean) | object, onReject: (error: E1 | E2 | E3 | E4 | E5) => U | PromiseLike<U>, ): Bluebird<R>; tapCatch<U, E1 extends Error, E2 extends Error, E3 extends Error, E4 extends Error>( - filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | Object, - filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | Object, - filter3: (new (...args: any[]) => E3) | ((error: any) => boolean) | Object, - filter4: (new (...args: any[]) => E4) | ((error: any) => boolean) | Object, + filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | object, + filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | object, + filter3: (new (...args: any[]) => E3) | ((error: any) => boolean) | object, + filter4: (new (...args: any[]) => E4) | ((error: any) => boolean) | object, onReject: (error: E1 | E2 | E3 | E4) => U | PromiseLike<U>, ): Bluebird<R>; tapCatch<U, E1 extends Error, E2 extends Error, E3 extends Error>( - filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | Object, - filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | Object, - filter3: (new (...args: any[]) => E3) | ((error: any) => boolean) | Object, + filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | object, + filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | object, + filter3: (new (...args: any[]) => E3) | ((error: any) => boolean) | object, onReject: (error: E1 | E2 | E3) => U | PromiseLike<U>, ): Bluebird<R>; tapCatch<U, E1 extends Error, E2 extends Error>( - filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | Object, - filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | Object, + filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | object, + filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | object, onReject: (error: E1 | E2) => U | PromiseLike<U>, ): Bluebird<R>; tapCatch<U, E1 extends Error>( - filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | Object, + filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | object, onReject: (error: E1) => U | PromiseLike<U>, ): Bluebird<R>; @@ -521,33 +520,33 @@ declare class Bluebird<R> implements PromiseLike<R>, Bluebird.Inspection<R> { catchReturn<U>(value: U): Bluebird<U>; catchReturn<U, E1 extends Error, E2 extends Error, E3 extends Error, E4 extends Error, E5 extends Error>( - filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | Object, - filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | Object, - filter3: (new (...args: any[]) => E3) | ((error: any) => boolean) | Object, - filter4: (new (...args: any[]) => E4) | ((error: any) => boolean) | Object, - filter5: (new (...args: any[]) => E5) | ((error: any) => boolean) | Object, + filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | object, + filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | object, + filter3: (new (...args: any[]) => E3) | ((error: any) => boolean) | object, + filter4: (new (...args: any[]) => E4) | ((error: any) => boolean) | object, + filter5: (new (...args: any[]) => E5) | ((error: any) => boolean) | object, value: U, ): Bluebird<U>; catchReturn<U, E1 extends Error, E2 extends Error, E3 extends Error, E4 extends Error>( - filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | Object, - filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | Object, - filter3: (new (...args: any[]) => E3) | ((error: any) => boolean) | Object, - filter4: (new (...args: any[]) => E4) | ((error: any) => boolean) | Object, + filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | object, + filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | object, + filter3: (new (...args: any[]) => E3) | ((error: any) => boolean) | object, + filter4: (new (...args: any[]) => E4) | ((error: any) => boolean) | object, value: U, ): Bluebird<U>; catchReturn<U, E1 extends Error, E2 extends Error, E3 extends Error>( - filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | Object, - filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | Object, - filter3: (new (...args: any[]) => E3) | ((error: any) => boolean) | Object, + filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | object, + filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | object, + filter3: (new (...args: any[]) => E3) | ((error: any) => boolean) | object, value: U, ): Bluebird<U>; catchReturn<U, E1 extends Error, E2 extends Error>( - filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | Object, - filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | Object, + filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | object, + filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | object, value: U, ): Bluebird<U>; catchReturn<U, E1 extends Error>( - filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | Object, + filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | object, value: U, ): Bluebird<U>; @@ -565,33 +564,33 @@ declare class Bluebird<R> implements PromiseLike<R>, Bluebird.Inspection<R> { catchThrow(reason: Error): Bluebird<R>; catchThrow<E1 extends Error, E2 extends Error, E3 extends Error, E4 extends Error, E5 extends Error>( - filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | Object, - filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | Object, - filter3: (new (...args: any[]) => E3) | ((error: any) => boolean) | Object, - filter4: (new (...args: any[]) => E4) | ((error: any) => boolean) | Object, - filter5: (new (...args: any[]) => E5) | ((error: any) => boolean) | Object, + filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | object, + filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | object, + filter3: (new (...args: any[]) => E3) | ((error: any) => boolean) | object, + filter4: (new (...args: any[]) => E4) | ((error: any) => boolean) | object, + filter5: (new (...args: any[]) => E5) | ((error: any) => boolean) | object, reason: Error, ): Bluebird<R>; catchThrow<E1 extends Error, E2 extends Error, E3 extends Error, E4 extends Error>( - filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | Object, - filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | Object, - filter3: (new (...args: any[]) => E3) | ((error: any) => boolean) | Object, - filter4: (new (...args: any[]) => E4) | ((error: any) => boolean) | Object, + filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | object, + filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | object, + filter3: (new (...args: any[]) => E3) | ((error: any) => boolean) | object, + filter4: (new (...args: any[]) => E4) | ((error: any) => boolean) | object, reason: Error, ): Bluebird<R>; catchThrow<E1 extends Error, E2 extends Error, E3 extends Error>( - filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | Object, - filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | Object, - filter3: (new (...args: any[]) => E3) | ((error: any) => boolean) | Object, + filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | object, + filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | object, + filter3: (new (...args: any[]) => E3) | ((error: any) => boolean) | object, reason: Error, ): Bluebird<R>; catchThrow<E1 extends Error, E2 extends Error>( - filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | Object, - filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | Object, + filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | object, + filter2: (new (...args: any[]) => E2) | ((error: any) => boolean) | object, reason: Error, ): Bluebird<R>; catchThrow<E1 extends Error>( - filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | Object, + filter1: (new (...args: any[]) => E1) | ((error: any) => boolean) | object, reason: Error, ): Bluebird<R>; @@ -603,7 +602,7 @@ declare class Bluebird<R> implements PromiseLike<R>, Bluebird.Inspection<R> { /** * This is implicitly called by `JSON.stringify` when serializing the object. Returns a serialized representation of the `Promise`. */ - toJSON(): Object; + toJSON(): object; /** * Like calling `.then`, but the fulfillment value or rejection reason is assumed to be an array, which is flattened to the formal parameters of the handlers. @@ -695,11 +694,11 @@ declare class Bluebird<R> implements PromiseLike<R>, Bluebird.Inspection<R> { * Returns a new function that wraps the given function `fn`. The new function will always return a promise that is fulfilled with the original functions return values or rejected with thrown exceptions from the original function. * This method is convenient when a function can sometimes return synchronously or throw synchronously. */ - static method<R, A1>(fn: (arg1: A1) => R | PromiseLike<R>): (arg1: A1) => Bluebird<R> - static method<R, A1, A2>(fn: (arg1: A1, arg2: A2) => R | PromiseLike<R>): (arg1: A1, arg2: A2) => Bluebird<R> - static method<R, A1, A2, A3>(fn: (arg1: A1, arg2: A2, arg3: A3) => R | PromiseLike<R>): (arg1: A1, arg2: A2, arg3: A3) => Bluebird<R> - static method<R, A1, A2, A3, A4>(fn: (arg1: A1, arg2: A2, arg3: A3, arg4: A4) => R | PromiseLike<R>): (arg1: A1, arg2: A2, arg3: A3, arg4: A4) => Bluebird<R> - static method<R, A1, A2, A3, A4, A5>(fn: (arg1: A1, arg2: A2, arg3: A3, arg4: A4, arg5: A5) => R | PromiseLike<R>): (arg1: A1, arg2: A2, arg3: A3, arg4: A4, arg5: A5) => Bluebird<R> + static method<R, A1>(fn: (arg1: A1) => R | PromiseLike<R>): (arg1: A1) => Bluebird<R>; + static method<R, A1, A2>(fn: (arg1: A1, arg2: A2) => R | PromiseLike<R>): (arg1: A1, arg2: A2) => Bluebird<R>; + static method<R, A1, A2, A3>(fn: (arg1: A1, arg2: A2, arg3: A3) => R | PromiseLike<R>): (arg1: A1, arg2: A2, arg3: A3) => Bluebird<R>; + static method<R, A1, A2, A3, A4>(fn: (arg1: A1, arg2: A2, arg3: A3, arg4: A4) => R | PromiseLike<R>): (arg1: A1, arg2: A2, arg3: A3, arg4: A4) => Bluebird<R>; + static method<R, A1, A2, A3, A4, A5>(fn: (arg1: A1, arg2: A2, arg3: A3, arg4: A4, arg5: A5) => R | PromiseLike<R>): (arg1: A1, arg2: A2, arg3: A3, arg4: A4, arg5: A5) => Bluebird<R>; static method<R>(fn: (...args: any[]) => R | PromiseLike<R>): (...args: any[]) => Bluebird<R>; /** @@ -768,7 +767,7 @@ declare class Bluebird<R> implements PromiseLike<R>, Bluebird.Inspection<R> { * Note that the original methods on the object are not overwritten but new methods are created with the `Async`-postfix. For example, if you `promisifyAll()` the node.js `fs` object use `fs.statAsync()` to call the promisified `stat` method. */ // TODO how to model promisifyAll? - static promisifyAll(target: Object, options?: Bluebird.PromisifyAllOptions): Object; + static promisifyAll(target: object, options?: Bluebird.PromisifyAllOptions): object; /** * Returns a promise that is resolved by a node style callback function. @@ -810,7 +809,7 @@ declare class Bluebird<R> implements PromiseLike<R>, Bluebird.Inspection<R> { static all<T1, T2>(values: [PromiseLike<T1> | T1, PromiseLike<T2> | T2]): Bluebird<[T1, T2]>; static all<T1>(values: [PromiseLike<T1> | T1]): Bluebird<[T1]>; // array with values - static all<R>(values: PromiseLike<(PromiseLike<R> | R)[]> | (PromiseLike<R> | R)[]): Bluebird<R[]>; + static all<R>(values: PromiseLike<Array<PromiseLike<R> | R>> | Array<PromiseLike<R> | R>): Bluebird<R[]>; /** * Like ``Promise.all`` but for object properties instead of array items. Returns a promise that is fulfilled when all the properties of the object are fulfilled. The promise's fulfillment value is an object with fulfillment values at respective keys to the original object. If any promise in the object rejects, the returned promise is rejected with the rejection reason. @@ -819,25 +818,26 @@ declare class Bluebird<R> implements PromiseLike<R>, Bluebird.Inspection<R> { * * *The original object is not modified.* */ - // trusted promise for object + // trusted promise for map static props<K, V>(map: PromiseLike<Map<K, PromiseLike<V> | V>>): Bluebird<Map<K, V>>; - static props<T>(object: PromiseLike<Bluebird.ResolvableProps<T>>): Bluebird<T>; + // trusted promise for object + static props<T>(object: PromiseLike<Bluebird.ResolvableProps<T>>): Bluebird<T>; // tslint:disable-line:unified-signatures // map - static props<K, V>(map: Map<K, PromiseLike<V> | V>): Bluebird<Map<K, V>>; + static props<K, V>(map: Map<K, PromiseLike<V> | V>): Bluebird<Map<K, V>>; // tslint:disable-line:unified-signatures // object - static props<T>(object: Bluebird.ResolvableProps<T>): Bluebird<T>; + static props<T>(object: Bluebird.ResolvableProps<T>): Bluebird<T>; // tslint:disable-line:unified-signatures /** * Like `Promise.some()`, with 1 as `count`. However, if the promise fulfills, the fulfillment value is not an array of 1 but the value directly. */ - static any<R>(values: PromiseLike<(PromiseLike<R> | R)[]> | (PromiseLike<R> | R)[]): Bluebird<R>; + static any<R>(values: PromiseLike<Array<PromiseLike<R> | R>> | Array<PromiseLike<R> | R>): Bluebird<R>; /** * Given an array, or a promise of an array, which contains promises (or a mix of promises and values) return a promise that is fulfilled or rejected as soon as a promise in the array is fulfilled or rejected with the respective rejection reason or fulfillment value. * * **Note** If you pass empty array or a sparse array with no values, or a promise/thenable for such, it will be forever pending. */ - static race<R>(values: PromiseLike<(PromiseLike<R> | R)[]> | (PromiseLike<R> | R)[]): Bluebird<R>; + static race<R>(values: PromiseLike<Array<PromiseLike<R> | R>> | Array<PromiseLike<R> | R>): Bluebird<R>; /** * Initiate a competetive race between multiple promises or values (values will become immediately fulfilled promises). When `count` amount of promises have been fulfilled, the returned promise is fulfilled with an array that contains the fulfillment values of the winners in order of resolution. @@ -846,14 +846,7 @@ declare class Bluebird<R> implements PromiseLike<R>, Bluebird.Inspection<R> { * * *The original array is not modified.* */ - // promise of array with promises of value - static some<R>(values: PromiseLike<PromiseLike<R>[]>, count: number): Bluebird<R[]>; - // promise of array with values - static some<R>(values: PromiseLike<R[]>, count: number): Bluebird<R[]>; - // array with promises of value - static some<R>(values: PromiseLike<R>[], count: number): Bluebird<R[]>; - // array with values - static some<R>(values: R[], count: number): Bluebird<R[]>; + static some<R>(values: PromiseLike<Array<PromiseLike<R> | R>> | Array<PromiseLike<R> | R>, count: number): Bluebird<R[]>; /** * Promise.join( @@ -872,7 +865,7 @@ declare class Bluebird<R> implements PromiseLike<R>, Bluebird.Inspection<R> { // variadic array /** @deprecated use .all instead */ - static join<R>(...values: (R | PromiseLike<R>)[]): Bluebird<R[]>; + static join<R>(...values: Array<R | PromiseLike<R>>): Bluebird<R[]>; /** * Map an array, or a promise of an array, which contains a promises (or a mix of promises and values) with the given `mapper` function with the signature `(item, index, arrayLength)` where `item` is the resolved value of a respective promise in the input array. If any promise in the input array is rejected the returned promise is rejected as well. @@ -881,17 +874,7 @@ declare class Bluebird<R> implements PromiseLike<R>, Bluebird.Inspection<R> { * * *The original array is not modified.* */ - // promise of array with promises of value - static map<R, U>(values: PromiseLike<PromiseLike<R>[]>, mapper: (item: R, index: number, arrayLength: number) => U | PromiseLike<U>, options?: Bluebird.ConcurrencyOption): Bluebird<U[]>; - - // promise of array with values - static map<R, U>(values: PromiseLike<R[]>, mapper: (item: R, index: number, arrayLength: number) => U | PromiseLike<U>, options?: Bluebird.ConcurrencyOption): Bluebird<U[]>; - - // array with promises of value - static map<R, U>(values: PromiseLike<R>[], mapper: (item: R, index: number, arrayLength: number) => U | PromiseLike<U>, options?: Bluebird.ConcurrencyOption): Bluebird<U[]>; - - // array with values - static map<R, U>(values: R[], mapper: (item: R, index: number, arrayLength: number) => U | PromiseLike<U>, options?: Bluebird.ConcurrencyOption): Bluebird<U[]>; + static map<R, U>(values: PromiseLike<Array<PromiseLike<R> | R>> | Array<PromiseLike<R> | R>, mapper: (item: R, index: number, arrayLength: number) => U | PromiseLike<U>, options?: Bluebird.ConcurrencyOption): Bluebird<U[]>; /** * Reduce an array, or a promise of an array, which contains a promises (or a mix of promises and values) with the given `reducer` function with the signature `(total, current, index, arrayLength)` where `item` is the resolved value of a respective promise in the input array. If any promise in the input array is rejected the returned promise is rejected as well. @@ -900,17 +883,7 @@ declare class Bluebird<R> implements PromiseLike<R>, Bluebird.Inspection<R> { * * *The original array is not modified. If no `intialValue` is given and the array doesn't contain at least 2 items, the callback will not be called and `undefined` is returned. If `initialValue` is given and the array doesn't have at least 1 item, `initialValue` is returned.* */ - // promise of array with promises of value - static reduce<R, U>(values: PromiseLike<PromiseLike<R>[]>, reducer: (total: U, current: R, index: number, arrayLength: number) => U | PromiseLike<U>, initialValue?: U): Bluebird<U>; - - // promise of array with values - static reduce<R, U>(values: PromiseLike<R[]>, reducer: (total: U, current: R, index: number, arrayLength: number) => U | PromiseLike<U>, initialValue?: U): Bluebird<U>; - - // array with promises of value - static reduce<R, U>(values: PromiseLike<R>[], reducer: (total: U, current: R, index: number, arrayLength: number) => U | PromiseLike<U>, initialValue?: U): Bluebird<U>; - - // array with values - static reduce<R, U>(values: R[], reducer: (total: U, current: R, index: number, arrayLength: number) => U | PromiseLike<U>, initialValue?: U): Bluebird<U>; + static reduce<R, U>(values: PromiseLike<Array<PromiseLike<R> | R>> | Array<PromiseLike<R> | R>, reducer: (total: U, current: R, index: number, arrayLength: number) => U | PromiseLike<U>, initialValue?: U): Bluebird<U>; /** * Filter an array, or a promise of an array, which contains a promises (or a mix of promises and values) with the given `filterer` function with the signature `(item, index, arrayLength)` where `item` is the resolved value of a respective promise in the input array. If any promise in the input array is rejected the returned promise is rejected as well. @@ -919,29 +892,14 @@ declare class Bluebird<R> implements PromiseLike<R>, Bluebird.Inspection<R> { * * *The original array is not modified. */ - // promise of array with promises of value - static filter<R>(values: PromiseLike<PromiseLike<R>[]>, filterer: (item: R, index: number, arrayLength: number) => boolean | PromiseLike<boolean>, option?: Bluebird.ConcurrencyOption): Bluebird<R[]>; - - // promise of array with values - static filter<R>(values: PromiseLike<R[]>, filterer: (item: R, index: number, arrayLength: number) => boolean | PromiseLike<boolean>, option?: Bluebird.ConcurrencyOption): Bluebird<R[]>; - - // array with promises of value - static filter<R>(values: PromiseLike<R>[], filterer: (item: R, index: number, arrayLength: number) => boolean | PromiseLike<boolean>, option?: Bluebird.ConcurrencyOption): Bluebird<R[]>; - - // array with values - static filter<R>(values: R[], filterer: (item: R, index: number, arrayLength: number) => boolean | PromiseLike<boolean>, option?: Bluebird.ConcurrencyOption): Bluebird<R[]>; + static filter<R>(values: PromiseLike<Array<PromiseLike<R> | R>> | Array<PromiseLike<R> | R>, filterer: (item: R, index: number, arrayLength: number) => boolean | PromiseLike<boolean>, option?: Bluebird.ConcurrencyOption): Bluebird<R[]>; /** * Iterate over an array, or a promise of an array, which contains promises (or a mix of promises and values) with the given iterator function with the signature (item, index, value) where item is the resolved value of a respective promise in the input array. Iteration happens serially. If any promise in the input array is rejected the returned promise is rejected as well. * * Resolves to the original array unmodified, this method is meant to be used for side effects. If the iterator function returns a promise or a thenable, the result for the promise is awaited for before continuing with next iteration. */ - // promise of array with promises of value - static each<R, U>(values: PromiseLike<PromiseLike<R>[]>, iterator: (item: R, index: number, arrayLength: number) => U | PromiseLike<U>): Bluebird<R[]>; - // array with promises of value - static each<R, U>(values: PromiseLike<R>[], iterator: (item: R, index: number, arrayLength: number) => U | PromiseLike<U>): Bluebird<R[]>; - // array with values OR promise of array with values - static each<R, U>(values: R[] | PromiseLike<R[]>, iterator: (item: R, index: number, arrayLength: number) => U | PromiseLike<U>): Bluebird<R[]>; + static each<R, U>(values: PromiseLike<Array<PromiseLike<R> | R>> | Array<PromiseLike<R> | R>, iterator: (item: R, index: number, arrayLength: number) => U | PromiseLike<U>): Bluebird<R[]>; /** * Given an Iterable(arrays are Iterable), or a promise of an Iterable, which produces promises (or a mix of promises and values), iterate over all the values in the Iterable into an array and iterate over the array serially, in-order. @@ -950,7 +908,7 @@ declare class Bluebird<R> implements PromiseLike<R>, Bluebird.Inspection<R> { * * If any promise in the input array is rejected or any promise returned by the iterator function is rejected, the result will be rejected as well. */ - static mapSeries<R, U>(values: (R | PromiseLike<R>)[] | PromiseLike<(R | PromiseLike<R>)[]>, iterator: (item: R, index: number, arrayLength: number) => U | PromiseLike<U>): Bluebird<U[]>; + static mapSeries<R, U>(values: PromiseLike<Array<PromiseLike<R> | R>> | Array<PromiseLike<R> | R>, iterator: (item: R, index: number, arrayLength: number) => U | PromiseLike<U>): Bluebird<U[]>; /** * A meta method used to specify the disposer method that cleans up a resource when using `Promise.using`. @@ -1015,26 +973,26 @@ declare class Bluebird<R> implements PromiseLike<R>, Bluebird.Inspection<R> { } declare namespace Bluebird { - export interface ConcurrencyOption { + interface ConcurrencyOption { concurrency: number; } - export interface SpreadOption { + interface SpreadOption { spread: boolean; } - export interface FromNodeOptions { + interface FromNodeOptions { multiArgs?: boolean; } - export interface PromisifyOptions { + interface PromisifyOptions { context?: any; multiArgs?: boolean; } - export interface PromisifyAllOptions extends PromisifyOptions { + interface PromisifyAllOptions extends PromisifyOptions { suffix?: string; filter?(name: string, func: (...args: any[]) => any, target?: any, passesDefaultFilter?: boolean): boolean; // The promisifier gets a reference to the original method and should return a function which returns a promise promisifier?(originalMethod: (...args: any[]) => any, defaultPromisifer: (...args: any[]) => (...args: any[]) => Bluebird<any>): () => PromiseLike<any>; } - export interface CoroutineOptions { + interface CoroutineOptions { yieldHandler(value: any): any; } @@ -1046,17 +1004,17 @@ declare namespace Bluebird { * * `OperationalError`s are caught in `.error` handlers. */ - export class OperationalError extends Error { } + class OperationalError extends Error { } /** * Signals that an operation has timed out. Used as a custom cancellation reason in `.timeout`. */ - export class TimeoutError extends Error { } + class TimeoutError extends Error { } /** * Signals that an operation has been aborted or cancelled. The default reason used by `.cancel`. */ - export class CancellationError extends Error {} + class CancellationError extends Error {} /** * A collection of errors. `AggregateError` is an array-like object, with numeric indices and a `.length` property. @@ -1066,7 +1024,7 @@ declare namespace Bluebird { * * `Promise.some` and `Promise.any` use `AggregateError` as rejection reason when they fail. */ - export class AggregateError extends Error implements ArrayLike<Error> { + class AggregateError extends Error implements ArrayLike<Error> { length: number; [index: number]: Error; join(separator?: string): string; @@ -1091,15 +1049,14 @@ declare namespace Bluebird { /** * returned by `Bluebird.disposer()`. */ - export class Disposer<R> { - } + class Disposer<R> {} /** @deprecated Use PromiseLike<T> directly. */ - export type Thenable<T> = PromiseLike<T>; + type Thenable<T> = PromiseLike<T>; - export type ResolvableProps<T> = object & { [K in keyof T]: PromiseLike<T[K]> | T[K] }; + type ResolvableProps<T> = object & { [K in keyof T]: PromiseLike<T[K]> | T[K] }; - export interface Resolver<R> { + interface Resolver<R> { /** * Returns a reference to the controlled promise that can be passed to clients. */ @@ -1125,7 +1082,7 @@ declare namespace Bluebird { callback(err: any, value: R, ...values: R[]): void; } - export interface Inspection<R> { + interface Inspection<R> { /** * See if the underlying promise was fulfilled at the creation time of this inspection object. */ @@ -1166,14 +1123,14 @@ declare namespace Bluebird { * * This method should be used before you use any of the methods which would otherwise alter the global Bluebird object - to avoid polluting global state. */ - export function getNewLibraryCopy(): typeof Bluebird; + function getNewLibraryCopy(): typeof Bluebird; /** * This is relevant to browser environments with no module loader. * * Release control of the Promise namespace to whatever it was before this library was loaded. Returns a reference to the library namespace so you can attach it to something else. */ - export function noConflict(): typeof Bluebird; + function noConflict(): typeof Bluebird; /** * Changes how bluebird schedules calls a-synchronously. @@ -1181,7 +1138,7 @@ declare namespace Bluebird { * @param scheduler Should be a function that asynchronously schedules * the calling of the passed in function */ - export function setScheduler(scheduler: (callback: (...args: any[]) => void) => void): void; + function setScheduler(scheduler: (callback: (...args: any[]) => void) => void): void; } export = Bluebird; diff --git a/types/bluebird/tslint.json b/types/bluebird/tslint.json index d2d5c00bef..44da6a5d92 100644 --- a/types/bluebird/tslint.json +++ b/types/bluebird/tslint.json @@ -2,16 +2,11 @@ "extends": "dtslint/dt.json", "rules": { "adjacent-overload-signatures": false, - "array-type": false, - "ban-types": false, - "max-line-length": false, + "max-line-length": [true, 490], "no-unnecessary-callback-wrapper": false, "no-unnecessary-generics": false, "no-void-expression": false, - "one-line": false, "prefer-const": false, - "strict-export-declare-modifiers": false, - "unified-signatures": false, "void-return": false } } diff --git a/types/request/index.d.ts b/types/request/index.d.ts index e3c420efa8..10197579ac 100644 --- a/types/request/index.d.ts +++ b/types/request/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/request/request // Definitions by: Carlos Ballesteros Velasco <https://github.com/soywiz>, bonnici <https://github.com/bonnici>, Bart van der Schoor <https://github.com/Bartvds>, Joe Skeen <https://github.com/joeskeen>, Christopher Currens <https://github.com/ccurrens>, Jon Stevens <https://github.com/lookfirst> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// Typescript version: 2.3 // Imported from: https://github.com/soywiz/typescript-node-definitions/d.ts @@ -235,7 +236,7 @@ declare namespace request { pipeDest(dest: any): void; setHeader(name: string, value: string, clobber?: boolean): Request; setHeaders(headers: Headers): Request; - qs(q: Object, clobber?: boolean): Request; + qs(q: object, clobber?: boolean): Request; form(): FormData; form(form: any): Request; multipart(multipart: RequestPart[]): Request; @@ -264,7 +265,7 @@ declare namespace request { resume(): void; abort(): void; destroy(): void; - toJSON(): Object; + toJSON(): object; } export interface Headers { diff --git a/types/request/request-tests.ts b/types/request/request-tests.ts index 50a9d19637..2bfe7d33b0 100644 --- a/types/request/request-tests.ts +++ b/types/request/request-tests.ts @@ -14,7 +14,7 @@ var buffer: NodeBuffer = new Buffer('foo'); var num: number = 0; var bool: boolean; var date: Date; -var obj: Object; +var obj: object; var dest: string = 'foo'; var uri: string = 'foo-bar'; diff --git a/types/request/tsconfig.json b/types/request/tsconfig.json index 4f51c5bc65..adf81123e6 100644 --- a/types/request/tsconfig.json +++ b/types/request/tsconfig.json @@ -20,4 +20,4 @@ "index.d.ts", "request-tests.ts" ] -} \ No newline at end of file +} From e99171508a298ec9914722639cc405d6eea35d46 Mon Sep 17 00:00:00 2001 From: Matanel Sindilevich <sindilevich@users.noreply.github.com> Date: Thu, 12 Oct 2017 23:43:04 +0300 Subject: [PATCH 309/433] Type definitions for the Tress library (#20532) * Adding .d.ts for the tress library * Removing dev additions from the package.json * Adding strictFunctionTypes to the tsconfig.json --- types/tress/index.d.ts | 174 +++++++++++++++++++++++++++++++++++++ types/tress/tress-tests.ts | 144 ++++++++++++++++++++++++++++++ types/tress/tsconfig.json | 23 +++++ types/tress/tslint.json | 6 ++ 4 files changed, 347 insertions(+) create mode 100644 types/tress/index.d.ts create mode 100644 types/tress/tress-tests.ts create mode 100644 types/tress/tsconfig.json create mode 100644 types/tress/tslint.json diff --git a/types/tress/index.d.ts b/types/tress/index.d.ts new file mode 100644 index 0000000000..a7237fbb98 --- /dev/null +++ b/types/tress/index.d.ts @@ -0,0 +1,174 @@ +// Type definitions for tress 1.0 +// Project: https://github.com/astur/tress +// Definitions by: Matanel Sindilevich <https://github.com/sindilevich> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 + +export type TressJobCallback = (this: TressJobData, ...args: any[]) => void; +export type TressWorkerDoneCallback = (err: boolean | Error | null | undefined, ...args: any[]) => void; + +export interface TressJobData { [name: string]: {}; } + +export interface TressJob { + data: TressJobData; + callback: TressJobCallback; +} + +export interface TressJobQueues { + failed: TressJobData[]; + finished: TressJobData[]; + waiting: TressJobData[]; +} + +export interface TressStatic { + // Properties + + /** + * Array of jobs currently being processed (readonly) + */ + readonly active: TressJob[]; + /** + * A minimum threshold buffer in order to say that the queue is unsaturated + */ + buffer: number; + /** + * This property for alter the concurrency/delay on-the-fly + */ + concurrency: number; + /** + * Array of failed jobs + * (the done callback was called from worker with error in first argument) (readonly) + */ + readonly failed: TressJob[]; + /** + * Array of correctly finished jobs + * (the done callback was called from worker with null or undefined (or any other false equivalent) in first argument) (readonly) + */ + readonly finished: TressJob[]; + /** + * A boolean for determining whether the queue is in a paused state. + * (readonly - use pause() and resume() instead) + */ + readonly paused: boolean; + /** + * false untill any items have been pushed and processed by the queue. + * Then becomes true and never changes in queue lifecycle (readonly) + */ + readonly started: boolean; + /** + * Array of queued jobs (readonly) + */ + readonly waiting: TressJob[]; + + // Methods + + /** + * Returns false if there are items waiting or being processed, + * or true if not + */ + idle(): boolean; + /** + * Removes the drain callback and empties remaining jobs from the queue + * forcing it to go idle + */ + kill(): void; + /** + * Returns the number of items waiting to be processed + */ + length(): number; + /** + * Loads new arrays from data object to waiting, failed, and finished arrays and sets active to empty array. + * Rises an error if started is true + */ + load(data: TressJobQueues): void; + /** + * Pauses the processing of jobs until resume() is called + */ + pause(): void; + /** + * Adds a new job to the queue. + * Instead of a single job, a jobs array can be submitted. + * Note, that if you pass callback as second argument, + * tress calls this callback once the worker has finished processing the job + */ + push(job: TressJobData | TressJobData[], done?: TressJobCallback): void; + /** + * Resumes the processing of queued jobs when the queue is paused + */ + resume(): void; + /** + * Returns the number of items currently being processed + */ + running(): number; + /** + * Runs a callback with object, that contains arrays of waiting, failed, and finished jobs. + * If there are any active jobs at the moment, they will be concatenated to waiting array + */ + save(callback: (data: TressJobQueues) => void): void; + /** + * Returns the status of job ("waiting", "running", "finished", "pending" or "missing") + */ + status(job: TressJob): "active" | "failed" | "finished" | "missing" | "waiting"; + /** + * Adds a new job to the front of the queue. + * Instead of a single job, a jobs array can be submitted. + * Note, that if you pass callback as second argument, + * tress calls this callback once the worker has finished processing the job + */ + unshift(job: TressJobData | TressJobData[], done?: TressJobCallback): void; + /** + * Returns the array of items currently being processed + */ + workersList(): TressStatic["active"]; + + // Callbacks + + /** + * A callback that is called when the last item from the queue has returned from the worker + */ + drain(): void; + /** + * A callback that is called when the last item from the queue is given to a worker + */ + empty(): void; + /** + * A callback that is called when job failed (worker call done with error as first argument). + * Note, that this callback is called after job has been moved from active to failed/finished and after job callback (from push/unshift) was called + */ + error(this: TressJobData, err: Error, job: TressJobData, ...args: any[]): void; + /** + * A callback that is called when job returned to queue (worker call done with boolean as first argument) + */ + retry(this: TressJobData, ...args: any[]): void; + /** + * A callback that is called when the number of running workers hits the concurrency limit, and further jobs will be queued + */ + saturated(): void; + /** + * A callback that is called when job correctly finished (worker call done with null or undefined as first argument). + * Note, that this callback is called after job has been moved from active to failed/finished and after job callback (from push/unshift) was called + */ + success(this: TressJobData, ...args: any[]): void; + /** + * A callback that is called when the number of running workers is less than the concurrency & buffer limits, and further jobs will not be queued + */ + unsaturated(): void; +} + +/** + * Creates queue object that will store jobs and process them with worker function + * in parallel (up to the concurrency limit) + * @param worker An asynchronous function for processing a queued job, + * which must call its done argument when finished. + * Callback done may take various argumens, + * but first argument must be error (if job failed), + * null/undefined (if job successfully finished) + * or boolean (if job returned to queue head (if true) + * or to queue tail (if false)) + * @param concurrency An integer for determining how many worker functions + * should be run in parallel. If omitted, the concurrency defaults to 1. + * If negative - no parallel and delay between worker functions (concurrency -1,000 sets 1 second delay) + */ +export function tress( + worker: (job: TressJobData, done: TressWorkerDoneCallback) => void, + concurrency?: number): TressStatic; diff --git a/types/tress/tress-tests.ts b/types/tress/tress-tests.ts new file mode 100644 index 0000000000..6d76d7e40d --- /dev/null +++ b/types/tress/tress-tests.ts @@ -0,0 +1,144 @@ +/// <reference types="node" /> + +import { tress } from "tress"; + +function someAsyncFunction(job: any, callback: (err: any, data?: any) => void): void { + const p = Promise.resolve(job) + .then((value) => callback(null, value)) + .catch(callback); +} + +function createWorker() { + // Create a queue object with worker and concurrency 2 + const q = tress((job, done) => { + someAsyncFunction(job, (err, data) => { + if (err) { + done(err); + } else { + done(null, data); + } + }); + }, 2); +} + +function createWorkerAndUseCallbacks() { + // Create a queue object with worker and concurrency 2 + const q = tress((job, done) => { + someAsyncFunction(job, (err, data) => { + if (err) { + done(err); + } else { + done(null, data); + } + }); + }, 2); + + q.drain = () => { console.log("drain"); }; + q.empty = () => { console.log("empty"); }; + q.error = (err, job, args) => { console.log(`Error: ${err}, on job ${job} with args: ${args}`); }; + q.retry = function (args) { console.log(`Retry job ${this} with args: ${args}`); }; + q.saturated = () => { console.log("saturated"); }; + q.success = function (args) { console.log(`Success on job ${this} with args: ${args}`); }; + q.unsaturated = () => { console.log("unsaturated"); }; +} + +function createWorkerAndUseMethods() { + // Create a queue object with worker and concurrency 2 + const q = tress((job, done) => { + someAsyncFunction(job, (err, data) => { + if (err) { + done(err); + } else { + done(null, data); + } + }); + }, 2); + + // true if there are items waiting or being processed + const isRunnig: boolean = !q.idle(); + + // Empty remaining jobs + q.kill(); + + // Number of items waiting to be processed + const waitingAmount: number = q.length(); + + // Load new arrays from data object to arrays of waiting, failed, and finished jobs + q.load({ + failed: [{ name: "John Doe" }], + finished: [{ name: "John Doe" }], + waiting: [{ name: "John Doe" }] + }); + // Pause the processing of jobs + q.pause(); + // Add a new job to the queue + q.push({ name: "John Doe" }); + // Add a new job to the queue, with callback + q.push({ name: "John Doe" }, function (args) { console.log(`Push callback for job ${this} with args: ${args}`); }); + // Add a few jobs to the queue + q.push([{ name: "John Doe" }, { name: "John Doe" }, { name: "John Doe" }]); + // Add a few jobs to the queue, with callback + q.push([{ name: "John Doe" }, { name: "John Doe" }, { name: "John Doe" }], + function (args) { console.log(`Push callback for job ${this} with args: ${args}`); }); + q.resume(); + + // Number of items currently being processed + const runningAmount: number = q.running(); + + // Run a callback with object, that contains arrays of waiting, failed, and finished jobs + q.save((queues) => console.log(`Failed: ${queues.failed}, finished: ${queues.finished}, waiting: ${queues.waiting}`)); + + // The the array of items currently being processed + const workers = q.workersList(); + // Whether status is "waiting" + const isWaiting: boolean = q.status(workers[0]) === "waiting"; + + // Add a new job to the front of the queue + q.unshift({ name: "John Doe" }); + // Add a new job to the front of the queue, with callback + q.unshift({ name: "John Doe" }, function (args) { console.log(`Unshift callback for job ${this} with args: ${args}`); }); + // Add a few jobs to the front of the queue + q.unshift([{ name: "John Doe" }, { name: "John Doe" }, { name: "John Doe" }]); + // Add a few jobs to the front of the queue, with callback + q.unshift([{ name: "John Doe" }, { name: "John Doe" }, { name: "John Doe" }], + function (args) { console.log(`Unshift callback for job ${this} with args: ${args}`); }); +} + +function createWorkerAndUseProperties() { + // Create a queue object with worker and concurrency 2 + const q = tress((job, done) => { + someAsyncFunction(job, (err, data) => { + if (err) { + done(err); + } else { + done(null, data); + } + }); + }, 2); + + // Array of jobs currently being processed (readonly) + const active = q.active; + + // A minimum threshold buffer in order to say that the queue is unsaturated + const buffer: number = q.buffer; + q.buffer = 100; + + // This property for alter the concurrency/delay on-the-fly + const concurrency: number = q.concurrency; + q.concurrency = 100; + + // Array of failed jobs (the done callback was called from worker with error in first argument) (readonly) + const failed = q.failed; + + // Array of correctly finished jobs (the done callback was called from worker with null or undefined (or any other false equivalent) in first argument) (readonly) + const finished = q.finished; + + // A boolean for determining whether the queue is in a paused state. (readonly) + const paused: boolean = q.paused; + + // false untill any items have been pushed and processed by the queue. Then becomes true and never changes in queue lifecycle (readonly) + const started: boolean = q.started; + + // Array of queued jobs (readonly) + const waiting = q.waiting; +} diff --git a/types/tress/tsconfig.json b/types/tress/tsconfig.json new file mode 100644 index 0000000000..f126983d63 --- /dev/null +++ b/types/tress/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "tress-tests.ts" + ] +} \ No newline at end of file diff --git a/types/tress/tslint.json b/types/tress/tslint.json new file mode 100644 index 0000000000..49b250ccb9 --- /dev/null +++ b/types/tress/tslint.json @@ -0,0 +1,6 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "space-before-function-paren": false + } +} \ No newline at end of file From a06c2aaba6c999c83f0839eb7e16b34ad7742de7 Mon Sep 17 00:00:00 2001 From: "ohze.net" <ohze.net@gmail.com> Date: Fri, 13 Oct 2017 03:47:05 +0700 Subject: [PATCH 310/433] paho-mqtt: fix Message.{payloadBytes, qos, constructor} & add `export =` to module declaration (#20528) * paho-mqtt: fix type of payload constructor param & member payloadBytes of class Message * paho-mqtt: fix type of Message.qos & add `export = Paho.MQTT` to module 'paho-mqtt' & add some other test cases --- types/paho-mqtt/index.d.ts | 24 ++++++++++++++++++++---- types/paho-mqtt/module.d.ts | 10 ++++++++++ types/paho-mqtt/paho-mqtt-tests.ts | 4 ++++ 3 files changed, 34 insertions(+), 4 deletions(-) create mode 100644 types/paho-mqtt/module.d.ts diff --git a/types/paho-mqtt/index.d.ts b/types/paho-mqtt/index.d.ts index 7df5863532..439fe69141 100644 --- a/types/paho-mqtt/index.d.ts +++ b/types/paho-mqtt/index.d.ts @@ -2,6 +2,9 @@ // Project: https://github.com/eclipse/paho.mqtt.javascript#readme // Definitions by: Alex Mikhalev <https://github.com/amikhalev> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 + +/// <reference path="module.d.ts"/> declare namespace Paho { /** @@ -388,6 +391,17 @@ declare namespace Paho { unsubscribe(filter: string, unsubcribeOptions?: UnsubscribeOptions): void; } + type TypedArray = + | Int8Array + | Uint8Array + | Uint8ClampedArray + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array; + /** * An application message, sent or received. */ @@ -405,8 +419,10 @@ declare namespace Paho { */ readonly duplicate: boolean; - /** <i>read only</i> The payload as an ArrayBuffer. */ - readonly payloadBytes: ArrayBuffer; + /** <i>read only</i> The payload. + * @return Uint8Array if payload is a string. Return the original otherwise. + */ + readonly payloadBytes: ArrayBuffer | TypedArray; /** * <i>read only</i> The payload as a string if the payload consists of valid UTF-8 characters. @@ -424,7 +440,7 @@ declare namespace Paho { * * @default 0 */ - qos: number; + qos: Qos; /** * If true, the message is to be retained by the server and delivered to both current and future @@ -439,7 +455,7 @@ declare namespace Paho { /** * @param {String|ArrayBuffer} payload The message data to be sent. */ - constructor(payload: string | ArrayBuffer); + constructor(payload: string | ArrayBuffer | TypedArray); } } } diff --git a/types/paho-mqtt/module.d.ts b/types/paho-mqtt/module.d.ts new file mode 100644 index 0000000000..8ab421779f --- /dev/null +++ b/types/paho-mqtt/module.d.ts @@ -0,0 +1,10 @@ +// Type definitions for paho-mqtt 1.0 +// Project: https://github.com/eclipse/paho.mqtt.javascript#readme +// Definitions by: Alex Mikhalev <https://github.com/amikhalev> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// <reference path="index.d.ts"/> + +declare module 'paho-mqtt' { + export = Paho.MQTT; +} diff --git a/types/paho-mqtt/paho-mqtt-tests.ts b/types/paho-mqtt/paho-mqtt-tests.ts index b06c36cd0e..fe58f906a9 100644 --- a/types/paho-mqtt/paho-mqtt-tests.ts +++ b/types/paho-mqtt/paho-mqtt-tests.ts @@ -85,3 +85,7 @@ msg.destinationName = "test/topic5"; msg.qos = 2; client.disconnect(); + +import { Message, Client, Qos } from "paho-mqtt"; +new Message("some string").destinationName = "test/topic6"; +const qos: Qos = new Message(new Uint8Array(4)).qos = 0; From fbdaba3edc1271d4a929ca2feaeccdaa2f7eb83d Mon Sep 17 00:00:00 2001 From: Andy <anhans@microsoft.com> Date: Thu, 12 Oct 2017 13:47:52 -0700 Subject: [PATCH 311/433] pg-types: Remove "moment" dependency (#20525) --- types/pg-types/index.d.ts | 12 ++++-------- types/pg-types/package.json | 2 +- types/pg-types/pg-types-tests.ts | 13 ++++--------- types/pg-types/tsconfig.json | 2 +- types/pg-types/tslint.json | 1 + 5 files changed, 11 insertions(+), 19 deletions(-) create mode 100644 types/pg-types/tslint.json diff --git a/types/pg-types/index.d.ts b/types/pg-types/index.d.ts index a09d44abab..e12529c85a 100644 --- a/types/pg-types/index.d.ts +++ b/types/pg-types/index.d.ts @@ -1,11 +1,9 @@ -// Type definitions for pg-types 1.11.0 +// Type definitions for pg-types 1.11 // Project: https://github.com/brianc/node-pg-types // Definitions by: James Bracy <https://github.com/waratuman> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -interface TypeParser { - (value: any): any; -} +export type TypeParser = (value: any) => any; export function getTypeParser(oid: number, format: string): TypeParser; @@ -13,7 +11,5 @@ export function setTypeParser(oid: number, format: string, parseFn: TypeParser): export function setTypeParser(oid: number, parseFn: TypeParser): void; export namespace arrayParser { - - export function create(source: any, transform: TypeParser): { parse: () => any[] }; - -} \ No newline at end of file + function create(source: any, transform: TypeParser): { parse(): any[] }; +} diff --git a/types/pg-types/package.json b/types/pg-types/package.json index fce08a048d..19e5fb0d14 100644 --- a/types/pg-types/package.json +++ b/types/pg-types/package.json @@ -3,4 +3,4 @@ "dependencies": { "moment": ">=2.14.0" } -} \ No newline at end of file +} diff --git a/types/pg-types/pg-types-tests.ts b/types/pg-types/pg-types-tests.ts index 5b862d4507..9a86fa8f03 100644 --- a/types/pg-types/pg-types-tests.ts +++ b/types/pg-types/pg-types-tests.ts @@ -1,6 +1,4 @@ -/// <reference types="moment" /> import * as types from "pg-types"; -import * as moment from "moment"; types.getTypeParser(1184, 'text'); @@ -9,10 +7,7 @@ types.setTypeParser(1186, 'text', (value) => value === null ? null : value); types.setTypeParser(1186, 'binary', (value) => value.toISOString()); types.setTypeParser(1185, (value) => types.arrayParser.create(value, (x) => x).parse()); -var TIMESTAMPTZ_OID = 1184 -var TIMESTAMP_OID = 1114 -var parseFn = function(val: any) { - return val === null ? null : moment(val) -} -types.setTypeParser(TIMESTAMPTZ_OID, parseFn) -types.setTypeParser(TIMESTAMP_OID, parseFn) +const TIMESTAMPTZ_OID = 1184; +const TIMESTAMP_OID = 1114; +types.setTypeParser(TIMESTAMPTZ_OID, parseInt); +types.setTypeParser(TIMESTAMP_OID, parseInt); diff --git a/types/pg-types/tsconfig.json b/types/pg-types/tsconfig.json index d5f4abf341..1ab38690e5 100644 --- a/types/pg-types/tsconfig.json +++ b/types/pg-types/tsconfig.json @@ -6,7 +6,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ diff --git a/types/pg-types/tslint.json b/types/pg-types/tslint.json new file mode 100644 index 0000000000..2750cc0197 --- /dev/null +++ b/types/pg-types/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } \ No newline at end of file From 5cadfa2d5d9a2489bdacc6e5d91863a94b258c3d Mon Sep 17 00:00:00 2001 From: "Robert K. Bell" <r-k-b@users.noreply.github.com> Date: Fri, 13 Oct 2017 07:48:31 +1100 Subject: [PATCH 312/433] [highland] Add the `through` stream method (#20508) * feat: add `through` stream method [docs](http://highlandjs.org/#through) * doc: remove noisy todo --- types/highland/highland-tests.ts | 4 ++ types/highland/index.d.ts | 63 ++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/types/highland/highland-tests.ts b/types/highland/highland-tests.ts index af13abae0c..2e4d4eca33 100644 --- a/types/highland/highland-tests.ts +++ b/types/highland/highland-tests.ts @@ -23,6 +23,7 @@ var numArr: string[]; var funcArr: Function[]; var readable: NodeJS.ReadableStream; +var readwritable: NodeJS.ReadWriteStream; var writable: NodeJS.WritableStream; var emitter: NodeJS.EventEmitter; @@ -300,6 +301,9 @@ barStream = fooStream.sequence<Bar>(); barStream = fooStream.series<Bar>(); +barStream = fooStream.through(x => bar); +barStream = fooStream.through(readwritable); + fooStream = fooStream.zip(fooStream); fooStream = fooStream.zip([foo, foo]); diff --git a/types/highland/index.d.ts b/types/highland/index.d.ts index 734939eeab..79282adca3 100644 --- a/types/highland/index.d.ts +++ b/types/highland/index.d.ts @@ -1077,6 +1077,69 @@ declare namespace Highland { // TODO figure out typing series<U>(): Stream<U>; + /** + * Transforms a stream using an arbitrary target transform. + * + * If `target` is a function, this transform passes the current Stream to it, + * returning the result. + * + * If `target` is a [Duplex + * Stream](https://nodejs.org/api/stream.html#stream_class_stream_duplex_1), + * this transform pipes the current Stream through it. It will always return a + * Highland Stream (instead of the piped to target directly as in + * [pipe](#pipe)). Any errors emitted will be propagated as Highland errors. + * + * **TIP**: Passing a function to `through` is a good way to implement complex + * reusable stream transforms. You can even construct the function dynamically + * based on certain inputs. See examples below. + * + * @id through + * @section Higher-order Streams + * @name Stream.through(target) + * @param {Function | Duplex Stream} target - the stream to pipe through or a + * function to call. + * @api public + * + * // This is a static complex transform. + * function oddDoubler(s) { + * return s.filter(function (x) { + * return x % 2; // odd numbers only + * }) + * .map(function (x) { + * return x * 2; + * }); + * } + * + * // This is a dynamically-created complex transform. + * function multiplyEvens(factor) { + * return function (s) { + * return s.filter(function (x) { + * return x % 2 === 0; + * }) + * .map(function (x) { + * return x * factor; + * }); + * }; + * } + * + * _([1, 2, 3, 4]).through(oddDoubler); // => 2, 6 + * + * _([1, 2, 3, 4]).through(multiplyEvens(5)); // => 10, 20 + * + * // Can also be used with Node Through Streams + * _(filenames).through(jsonParser).map(function (obj) { + * // ... + * }); + * + * // All errors will be propagated as Highland errors + * _(['zz{"a": 1}']).through(jsonParser).errors(function (err) { + * console.log(err); // => SyntaxError: Unexpected token z + * }); + */ + through<R, U>(f: (x: R) => U): Stream<U>; + through(thru: NodeJS.ReadWriteStream): Stream<any>; + + /** * Takes two Streams and returns a Stream of corresponding pairs. * From be50516c67933dda74cca468cace0dd4a4b501bb Mon Sep 17 00:00:00 2001 From: Aluan Haddad <aluanh@gmail.com> Date: Thu, 12 Oct 2017 16:51:02 -0400 Subject: [PATCH 313/433] Modernize the declaration as a hybrid UMD + explicit global (#20512) * Modernize the declaration as a hybrid UMD + explicit global * fix failing tests * remove dependency on lib.dom.d.ts * append own name to maintainers list * add a tslint.json file; lint declaration; lint tests * remove SystemJSSystemFields interface move SystemJSSystemFields properties to System interface add comments to additional members. reference: https://github.com/systemjs/systemjs/blob/master/docs/config-api.md#warnings https://github.com/systemjs/systemjs/blob/master/docs/config-api.md#pluginfirst * Update header as per code review. --- types/systemjs/index.d.ts | 80 ++++++++++++++++++-------------- types/systemjs/systemjs-tests.ts | 38 ++++++++------- types/systemjs/tsconfig.json | 3 +- types/systemjs/tslint.json | 3 ++ 4 files changed, 69 insertions(+), 55 deletions(-) create mode 100644 types/systemjs/tslint.json diff --git a/types/systemjs/index.d.ts b/types/systemjs/index.d.ts index 8f230e7c09..7b659ca747 100644 --- a/types/systemjs/index.d.ts +++ b/types/systemjs/index.d.ts @@ -1,11 +1,28 @@ // Type definitions for SystemJS 0.20 // Project: https://github.com/systemjs/systemjs -// Definitions by: Ludovic HENIN <https://github.com/ludohenin>, Nathan Walker <https://github.com/NathanWalker>, Giedrius Grabauskas <https://github.com/GiedriusGrabauskas> +// Definitions by: Ludovic HENIN <https://github.com/ludohenin> +// Nathan Walker <https://github.com/NathanWalker> +// Giedrius Grabauskas <https://github.com/GiedriusGrabauskas> +// Aluan Haddad <https://github.com/aluanhaddad> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +export = SystemJSLoader; + +export as namespace SystemJSLoader; + +declare global { + const SystemJS: typeof SystemJSLoader; + + /** + * @deprecated use SystemJS https://github.com/systemjs/systemjs/releases/tag/0.19.10 + */ + const System: typeof SystemJSLoader; + const __moduleName: string; +} + +declare const SystemJSLoader: SystemJSLoader.System; declare namespace SystemJSLoader { - interface ModulesList { [bundleName: string]: string[]; } @@ -173,7 +190,7 @@ declare namespace SystemJSLoader { /** * Set the Babel transpiler options when System.transpiler is set to babel. */ - //TODO: Import BabelCore.TransformOptions + // TODO: Import BabelCore.TransformOptions babelOptions?: any; /** @@ -234,7 +251,7 @@ declare namespace SystemJSLoader { /** * Sets the TypeScript transpiler options. */ - //TODO: Import Typescript.CompilerOptions + // TODO: Import Typescript.CompilerOptions typescriptOptions?: { /** * A boolean flag which instructs the plugin to load configuration from "tsconfig.json". @@ -248,25 +265,16 @@ declare namespace SystemJSLoader { }; } - interface SystemJSSystemFields { - env: string; - loaderErrorStack: boolean; - packageConfigPaths: string[]; - pluginFirst: boolean; - version: string; - warnings: boolean; - } - - interface System extends Config, SystemJSSystemFields { + interface System extends Config { /** * For backwards-compatibility with AMD environments, set window.define = System.amdDefine. */ - amdDefine: (...args: any[]) => void; + amdDefine(...args: any[]): void; /** * For backwards-compatibility with AMD environments, set window.require = System.amdRequire. */ - amdRequire: (deps: string[], callback: (...modules: any[]) => void) => void; + amdRequire(deps: string[], callback: (...modules: any[]) => void): void; /** * SystemJS configuration helper function. @@ -288,7 +296,6 @@ declare namespace SystemJSLoader { * Returns a module from the registry by normalized name. */ get(moduleName: string): any; - get<TModule>(moduleName: string): TModule; /** * Returns a clone of the internal SystemJS configuration in use. @@ -305,7 +312,6 @@ declare namespace SystemJSLoader { * Promise resolves to the module value. */ import(moduleName: string, normalizedParentName?: string): Promise<any>; - import<TModule>(moduleName: string, normalizedParentName?: string): Promise<TModule>; /** * Given any object, returns true if the object is either a SystemJS module or native JavaScript module object, and false otherwise. @@ -318,7 +324,6 @@ declare namespace SystemJSLoader { * Useful when writing a custom instantiate hook or using System.set. */ newModule(object: any): any; - newModule<TModule>(object: any): TModule; /** * Declaration function for defining modules of the System.register polyfill module format. @@ -349,32 +354,35 @@ declare namespace SystemJSLoader { * Synchronous alternative to `SystemJS.resolve`. */ resolveSync(moduleName: string, parentName?: string): string; - + /** * In CommonJS environments, SystemJS will substitute the global require as needed by the module format being * loaded to ensure the correct detection paths in loaded code. * The CommonJS require can be recovered within these modules from System._nodeRequire. */ - _nodeRequire: (dep: string) => any; + _nodeRequire(dep: string): any; /** * Modules list available only with trace=true */ loads: PackageList<any>; + + env: string; + + loaderErrorStack: boolean; + + packageConfigPaths: string[]; + + /** + * Specify a value of true to have SystemJS conform to the AMD-style plugin syntax, e.g. "text!some/file.txt", over the default of "some/file.txt!text". + */ + pluginFirst: boolean; + + version: string; + + /** + * Enables the output of warnings to the console, including deprecation messages. + */ + warnings: boolean; } } - -declare var SystemJS: SystemJSLoader.System; - -declare var __moduleName: string; - -/** - * @deprecated use SystemJS https://github.com/systemjs/systemjs/releases/tag/0.19.10 - */ -declare const System: SystemJSLoader.System; - -declare module "systemjs" { - import systemJSLoader = SystemJSLoader; - const system: systemJSLoader.System; - export = system; -} diff --git a/types/systemjs/systemjs-tests.ts b/types/systemjs/systemjs-tests.ts index eb663a1e2c..4161060421 100644 --- a/types/systemjs/systemjs-tests.ts +++ b/types/systemjs/systemjs-tests.ts @@ -7,15 +7,13 @@ SystemJS.config({ SystemJS.import('main.js'); SystemJS.config({ - // or 'traceur' or 'typescript' - transpiler: 'babel', - // or traceurOptions or typescriptOptions + // 'plugin-traceur' or 'plugin-typescript' or 'babel' or 'traceur' or 'typescript' or false. + transpiler: 'plugin-babel', + // or traceurOptions or typescriptOptions babelOptions: { - } }); - SystemJS.config({ map: { traceur: 'path/to/traceur.js' @@ -39,26 +37,32 @@ SystemJS.config({ }); SystemJS.config({ - map: { - 'local/package': { - x: 'vendor/x.js' - }, - 'another/package': { - x: 'vendor/y.js' + map: { + 'local/package': { + x: 'vendor/x.js' + }, + 'another/package': { + x: 'vendor/y.js' + } } - } }); SystemJS.transpiler = 'traceur'; +const mockModule = { + default: () => { + return 42; + } +}; -// loads './app.js' from the current directory -SystemJS.import('./app.js').then(function (m) { - console.log(m); +SystemJS.set('./app.js', SystemJS.newModule(mockModule)); + +SystemJS.import('./app.js').then((m: typeof mockModule) => { + m.default(); }); -SystemJS.import('lodash').then(function (_) { - console.log(_); +SystemJS.import('lodash').then((_: (...args: any[]) => any) => { + _(1, '2', {}, []); }); const clonedSystemJSJS = new SystemJS.constructor(); diff --git a/types/systemjs/tsconfig.json b/types/systemjs/tsconfig.json index 0bfbfa8a16..95bed64e3b 100644 --- a/types/systemjs/tsconfig.json +++ b/types/systemjs/tsconfig.json @@ -2,8 +2,7 @@ "compilerOptions": { "module": "commonjs", "lib": [ - "es6", - "dom" + "es6" ], "noImplicitAny": true, "noImplicitThis": true, diff --git a/types/systemjs/tslint.json b/types/systemjs/tslint.json new file mode 100644 index 0000000000..d88586e5bd --- /dev/null +++ b/types/systemjs/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "dtslint/dt.json" +} From 15dda2c9c90b052a4e22815f6ce8722b2bee032e Mon Sep 17 00:00:00 2001 From: Jakub Korzeniowski <jakub.korzeniowski@gmail.com> Date: Thu, 12 Oct 2017 21:52:50 +0100 Subject: [PATCH 314/433] [ramda] Improved definitions of type, head and last functions (#20332) * Improved definitions of type, head and last functions * Version bump * Oops * Linting * no-unnecessary-type-assertion * Removed version bump --- types/ramda/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/ramda/index.d.ts b/types/ramda/index.d.ts index 209d61a35f..776c074b73 100644 --- a/types/ramda/index.d.ts +++ b/types/ramda/index.d.ts @@ -694,7 +694,7 @@ declare namespace R { * Returns the first element in a list. * In some libraries this function is named `first`. */ - head<T>(list: T[]): T; + head<T>(list: T[]): T | undefined; head(list: string): string; /** @@ -861,7 +861,7 @@ declare namespace R { /** * Returns the last element from a list. */ - last<T>(list: T[]): T; + last<T>(list: T[]): T | undefined; last(list: string): string; /** @@ -1814,7 +1814,7 @@ declare namespace R { * 'Number', 'Array', or 'Null'. Does not attempt to distinguish user Object types any further, reporting them * all as 'Object'. */ - type(val: any): string; + type(val: any): 'Object' | 'Number' | 'Boolean' | 'String' | 'Null' | 'Array' | 'RegExp' | 'Function' | 'Undefined'; /** * Takes a function fn, which takes a single array argument, and returns a function which: From 6ae1a432b99c29053be7c94986f702d02004872a Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Scheffer <31517030+carlosscheffer@users.noreply.github.com> Date: Thu, 12 Oct 2017 17:54:42 -0300 Subject: [PATCH 315/433] fix base64 (#20387) md5.base64 is not working because it is not in the interface --- types/js-md5/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/js-md5/index.d.ts b/types/js-md5/index.d.ts index 43057e147b..eb10c6ddd4 100644 --- a/types/js-md5/index.d.ts +++ b/types/js-md5/index.d.ts @@ -14,6 +14,7 @@ declare namespace md5 { hex(): string; toString(): string; update(message: message): Md5; + base64(): string; } interface md5 { @@ -25,6 +26,7 @@ declare namespace md5 { buffer(message: message): ArrayBuffer; create(): Md5; update(message: message): Md5; + base64(message: message): string; } } From c7fcca390ed9d259084c787ee3a208cb3f89e2f6 Mon Sep 17 00:00:00 2001 From: Alexander Leon <aleon6@u.rochester.edu> Date: Thu, 12 Oct 2017 15:55:28 -0500 Subject: [PATCH 316/433] add howler definitions for v. 2.0.3 (#20385) * add more howler.js type definitions (#1) * update index.d.ts * add self-credit * lint --- types/howler/index.d.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/types/howler/index.d.ts b/types/howler/index.d.ts index 98a211b583..2e4f43ae20 100644 --- a/types/howler/index.d.ts +++ b/types/howler/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for howler.js v2.0.0 +// Type definitions for howler.js v2.0.3 // Project: https://github.com/goldfire/howler.js -// Definitions by: Pedro Casaubon <https://github.com/xperiments>, Todd Dukart <https://github.com/tdukart> +// Definitions by: Pedro Casaubon <https://github.com/xperiments>, Todd Dukart <https://github.com/tdukart>, Alexander Leon <https://github.com/alien35> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped interface HowlerGlobal { @@ -15,6 +15,9 @@ interface HowlerGlobal { autoSuspend: boolean; ctx: AudioContext; masterGain: GainNode; + stereo(pan: number): this; + pos(x: number, y: number, z: number): this | void; + orientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): this | void; } declare let Howler: HowlerGlobal; @@ -103,6 +106,13 @@ interface Howl { state(): 'unloaded' | 'loading' | 'loaded'; load(): void; unload(): void; + stereo(pan: number, id?: number): this | void; + pos(x: number, y: number, z: number, id?: number): this | void; + orientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): this | void; + pannerAttr(o: {coneInnerAngle?: number, + coneOuterAngle?: number, coneOuterGain?: number, + distanceModel: 'inverse' | 'linear', maxDistance: number, + panningModel: 'HRTF' | 'equalpower', refDistance: number, rolloffFactor: number}, id?: number): this; } interface HowlStatic { From 7f298ec31e6a38e2910fcbcf3a4d76bee46de32b Mon Sep 17 00:00:00 2001 From: Ruben Taelman <rubensworks@users.noreply.github.com> Date: Fri, 13 Oct 2017 10:31:02 +0900 Subject: [PATCH 317/433] Add rdf-data-model typings (#20539) --- types/rdf-data-model/index.d.ts | 66 ++++++++++++++++++++ types/rdf-data-model/rdf-data-model-tests.ts | 65 +++++++++++++++++++ types/rdf-data-model/tsconfig.json | 23 +++++++ types/rdf-data-model/tslint.json | 1 + 4 files changed, 155 insertions(+) create mode 100644 types/rdf-data-model/index.d.ts create mode 100644 types/rdf-data-model/rdf-data-model-tests.ts create mode 100644 types/rdf-data-model/tsconfig.json create mode 100644 types/rdf-data-model/tslint.json diff --git a/types/rdf-data-model/index.d.ts b/types/rdf-data-model/index.d.ts new file mode 100644 index 0000000000..e7cec4243d --- /dev/null +++ b/types/rdf-data-model/index.d.ts @@ -0,0 +1,66 @@ +// Type definitions for rdf-data-model 1.0 +// Project: https://github.com/rdf-ext/rdf-data-model +// Definitions by: Ruben Taelman <https://github.com/rubensworks> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +import * as RDF from "rdf-js"; + +export class NamedNode implements RDF.NamedNode { + termType: "NamedNode"; + value: string; + constructor(iri: string); + equals(other: RDF.Term): boolean; +} + +export class BlankNode implements RDF.BlankNode { + static nextId: number; + termType: "BlankNode"; + value: string; + constructor(id?: string); + equals(other: RDF.Term): boolean; +} + +export class Literal implements RDF.Literal { + static readonly langStringDatatype: NamedNode; + termType: "Literal"; + value: string; + language: string; + datatype: RDF.NamedNode; + constructor(value: string, language?: string, datatype?: RDF.NamedNode); + equals(other: RDF.Term): boolean; +} + +export class Variable implements RDF.Variable { + termType: "Variable"; + value: string; + constructor(name: string); + equals(other: RDF.Term): boolean; +} + +export class DefaultGraph implements RDF.DefaultGraph { + termType: "DefaultGraph"; + value: ""; + constructor(); + equals(other: RDF.Term): boolean; +} + +export class Quad implements RDF.Quad { + subject: RDF.Term; + predicate: RDF.Term; + object: RDF.Term; + graph: RDF.Term; + constructor(subject: RDF.Term, predicate: RDF.Term, object: RDF.Term, graph?: RDF.Term); + equals(other: RDF.Quad): boolean; +} + +export class DataFactory implements RDF.DataFactory { + static defaultGraphInstance: RDF.DefaultGraph; + constructor(); + namedNode(value: string): NamedNode; + blankNode(value?: string): BlankNode; + literal(value: string, languageOrDatatype?: string | RDF.NamedNode): Literal; + variable(value: string): Variable; + defaultGraph(): DefaultGraph; + triple(subject: RDF.Term, predicate: RDF.Term, object: RDF.Term): Quad; + quad(subject: RDF.Term, predicate: RDF.Term, object: RDF.Term, graph?: RDF.Term): Quad; +} diff --git a/types/rdf-data-model/rdf-data-model-tests.ts b/types/rdf-data-model/rdf-data-model-tests.ts new file mode 100644 index 0000000000..415df0b8a6 --- /dev/null +++ b/types/rdf-data-model/rdf-data-model-tests.ts @@ -0,0 +1,65 @@ +import * as RDF from "rdf-js"; +import { BlankNode, DataFactory, DefaultGraph, Literal, NamedNode, Quad, Variable } from "rdf-data-model"; +import { EventEmitter } from "events"; + +function test_terms() { + // Only types are checked in this tests, + // so this does not have to be functional. + const someTerm: RDF.Term = <any> {}; + + const namedNode: RDF.NamedNode = new NamedNode('http://example.org'); + const tt1: string = namedNode.termType; + const v1: string = namedNode.value; + const b1: boolean = namedNode.equals(someTerm); + + const blankNode1: RDF.BlankNode = new BlankNode(); + const blankNode2: RDF.BlankNode = new BlankNode('b100'); + const tt2: string = blankNode1.termType; + const v2: string = blankNode1.value; + const b2: boolean = blankNode1.equals(someTerm); + + const literal1: RDF.Literal = new Literal('abc', 'en-us'); + const literal2: RDF.Literal = new Literal('abc', 'en-us', namedNode); + const literal3: RDF.Literal = new Literal('abc', undefined, namedNode); + const tt3: string = literal1.termType; + const v3: string = literal1.value; + const lang: string = literal1.language; + const datatype: RDF.NamedNode = literal1.datatype; + const b3: boolean = literal1.equals(someTerm); + + const variable: RDF.Variable = new Variable('myvar'); + const tt4: string = variable.termType; + const v4: string = variable.value; + const b4: boolean = variable.equals(someTerm); + + const defaultGraph: RDF.DefaultGraph = new DefaultGraph(); + const tt5: string = defaultGraph.termType; + const v5: string = defaultGraph.value; + const b5: boolean = defaultGraph.equals(someTerm); + + const quad: RDF.Quad = new Quad(namedNode, namedNode, namedNode, namedNode); + const s: RDF.Term = quad.subject; + const p: RDF.Term = quad.predicate; + const o: RDF.Term = quad.object; + const g: RDF.Term = quad.graph; + const b: boolean = quad.equals(new Quad(namedNode, namedNode, namedNode)); +} + +function test_datafactory() { + const dataFactory: RDF.DataFactory = new DataFactory(); + + const namedNode: RDF.NamedNode = dataFactory.namedNode('http://example.org'); + + const blankNode1: RDF.BlankNode = dataFactory.blankNode('b1'); + const blankNode2: RDF.BlankNode = dataFactory.blankNode(); + + const literal1: RDF.Literal = dataFactory.literal('abc'); + const literal2: RDF.Literal = dataFactory.literal('abc', 'en-us'); + const literal3: RDF.Literal = dataFactory.literal('abc', namedNode); + + const variable: RDF.Variable = dataFactory.variable ? dataFactory.variable('v1') : new Variable('myvar'); + + const term: RDF.Term = <any> {}; + const triple: RDF.Quad = dataFactory.triple(term, term, term); + const quad: RDF.Quad = dataFactory.quad(term, term, term, term); +} diff --git a/types/rdf-data-model/tsconfig.json b/types/rdf-data-model/tsconfig.json new file mode 100644 index 0000000000..e1099949e0 --- /dev/null +++ b/types/rdf-data-model/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "rdf-data-model-tests.ts" + ] +} diff --git a/types/rdf-data-model/tslint.json b/types/rdf-data-model/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/rdf-data-model/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From ff0a65d0586ba322ba9dcb06a7fb552fdd02c5e2 Mon Sep 17 00:00:00 2001 From: Mark Kornblum <mark.kornblum@gmail.com> Date: Thu, 12 Oct 2017 18:32:16 -0700 Subject: [PATCH 318/433] Add storybook/addon-info types (#20538) * Add storybook__addon-info types for version 3.2 * Better return type * Remove unnecessary compiler option --- types/storybook__addon-info/index.d.ts | 31 ++++++++++++++++++ .../storybook__addon-info-tests.tsx | 30 +++++++++++++++++ types/storybook__addon-info/tsconfig.json | 32 +++++++++++++++++++ types/storybook__addon-info/tslint.json | 1 + 4 files changed, 94 insertions(+) create mode 100644 types/storybook__addon-info/index.d.ts create mode 100644 types/storybook__addon-info/storybook__addon-info-tests.tsx create mode 100644 types/storybook__addon-info/tsconfig.json create mode 100644 types/storybook__addon-info/tslint.json diff --git a/types/storybook__addon-info/index.d.ts b/types/storybook__addon-info/index.d.ts new file mode 100644 index 0000000000..68179af293 --- /dev/null +++ b/types/storybook__addon-info/index.d.ts @@ -0,0 +1,31 @@ +// Type definitions for @storybook/addon-info 3.2 +// Project: https://github.com/storybooks/storybook +// Definitions by: Mark Kornblum <https://github.com/mkornblum> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.4 + +import * as React from 'react'; +import { RenderFunction } from '@storybook/react'; + +export interface WrapStoryProps { + storyFn?: RenderFunction; + context?: object; + options?: object; +} + +export interface Options { + text?: string; + header?: boolean; + inline?: boolean; + source?: boolean; + propTables?: JSX.Element[]; + propTablesExclude?: JSX.Element[]; + styles?: object; + marksyConf?: object; + maxPropsIntoLine?: number; + maxPropObjectKeys?: number; + maxPropArrayLength?: number; + maxPropStringLength?: number; +} + +export function withInfo(textOrOptions: string | Options): (storyFn: RenderFunction) => () => React.ReactElement<WrapStoryProps>; diff --git a/types/storybook__addon-info/storybook__addon-info-tests.tsx b/types/storybook__addon-info/storybook__addon-info-tests.tsx new file mode 100644 index 0000000000..562727c6fa --- /dev/null +++ b/types/storybook__addon-info/storybook__addon-info-tests.tsx @@ -0,0 +1,30 @@ +/// <reference types="storybook__react" /> + +import * as React from 'react'; +import { storiesOf } from '@storybook/react'; +import { withInfo } from '@storybook/addon-info'; + +const { Component } = React; + +storiesOf('Component', module) + .add('simple info', + withInfo('doc string about my component')(() => + <Component>Click the "?" mark at top-right to view the info.</Component> + ) + ) + .add('using an options object', + withInfo({ + text: 'String or React Element with docs about my component', + inline: true, + header: true, + source: true, + styles: {}, + marksyConf: {}, + maxPropObjectKeys: 1, + maxPropArrayLength: 2, + maxPropsIntoLine: 3, + maxPropStringLength: 4, + })(() => + <Component>Click the "?" mark at top-right to view the info.</Component> + ) + ); diff --git a/types/storybook__addon-info/tsconfig.json b/types/storybook__addon-info/tsconfig.json new file mode 100644 index 0000000000..87d702ce2b --- /dev/null +++ b/types/storybook__addon-info/tsconfig.json @@ -0,0 +1,32 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "jsx": "react", + "typeRoots": [ + "../" + ], + "paths": { + "@storybook/addon-info": [ + "storybook__addon-info" + ], + "@storybook/react": [ + "storybook__react" + ] + }, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "storybook__addon-info-tests.tsx" + ] +} diff --git a/types/storybook__addon-info/tslint.json b/types/storybook__addon-info/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/storybook__addon-info/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 48e3f82b80af42e33ab24ba14c723e97519eb695 Mon Sep 17 00:00:00 2001 From: Alexander Leon <aleon6@u.rochester.edu> Date: Thu, 12 Oct 2017 20:33:47 -0500 Subject: [PATCH 319/433] improve definitions for attachments (#20392) --- types/asana/index.d.ts | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/types/asana/index.d.ts b/types/asana/index.d.ts index ede3bc99f9..9bbfb62508 100644 --- a/types/asana/index.d.ts +++ b/types/asana/index.d.ts @@ -787,12 +787,13 @@ declare namespace asana { namespace Attachments { interface Type extends Resource { - created_at: string; - permanent_url: string; - download_url: string; - view_url: string; - host: string; - parent: Resource; + readonly id: number; + readonly created_at: string; + readonly download_url: string; + readonly view_url: string; + readonly name: string; + readonly host: string; + readonly parent: Resource; } } From e176bdbdff9c6a3cb217e23572a7c5167445732f Mon Sep 17 00:00:00 2001 From: Ingvar Stepanyan <me@rreverser.com> Date: Fri, 13 Oct 2017 04:38:38 +0100 Subject: [PATCH 320/433] Minor fixes/adjustments to ESTree (#20400) * Minor fixes/adjustments to ESTree - Add `type: string` to base interface to allow only strings for `type` in any descendants. - Change `UnaryExpression::prefix` to `true` (since it can never be false and is just a backwards compatibility artefact). - Add absent / `null` as a valid `RegexpLiteral::value` (it's used by compliant parsers/tools when RegExp can't be natively represented). - Make `Literal::raw` optional to allow creating nodes without one. - Add missing `type` and location properties to `Comment` node. * Update index.d.ts --- types/estree/index.d.ts | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/types/estree/index.d.ts b/types/estree/index.d.ts index 23c5b19f86..068cbfd8ce 100644 --- a/types/estree/index.d.ts +++ b/types/estree/index.d.ts @@ -21,23 +21,28 @@ // but it has the notable advantage of making ESTree much easier to use as // an end user. -interface BaseNode { +interface BaseNodeWithoutComments { // Every leaf interface that extends BaseNode must specify a type property. // The type property should be a string literal. For example, Identifier // has: `type: "Identifier"` - - leadingComments?: Array<Comment>; - trailingComments?: Array<Comment>; + type: string; loc?: SourceLocation | null; range?: [number, number]; } + +interface BaseNode extends BaseNodeWithoutComments { + leadingComments?: Array<Comment>; + trailingComments?: Array<Comment>; +} + export type Node = Identifier | Literal | Program | Function | SwitchCase | CatchClause | VariableDeclarator | Statement | Expression | Property | AssignmentProperty | Super | TemplateElement | SpreadElement | Pattern | ClassBody | Class | MethodDefinition | ModuleDeclaration | ModuleSpecifier; -export interface Comment { +export interface Comment extends BaseNodeWithoutComments { + type: "Line" | "Block"; value: string; } @@ -74,13 +79,13 @@ interface BaseFunction extends BaseNode { export type Function = FunctionDeclaration | FunctionExpression | ArrowFunctionExpression; - export type Statement = ExpressionStatement | BlockStatement | EmptyStatement | DebuggerStatement | WithStatement | ReturnStatement | LabeledStatement | BreakStatement | ContinueStatement | IfStatement | SwitchStatement | ThrowStatement | TryStatement | WhileStatement | DoWhileStatement | ForStatement | ForInStatement | ForOfStatement | Declaration; + interface BaseStatement extends BaseNode { } export interface EmptyStatement extends BaseStatement { @@ -186,6 +191,7 @@ export interface DebuggerStatement extends BaseStatement { export type Declaration = FunctionDeclaration | VariableDeclaration | ClassDeclaration; + interface BaseDeclaration extends BaseStatement { } export interface FunctionDeclaration extends BaseFunction, BaseDeclaration { @@ -214,6 +220,7 @@ type Expression = CallExpression | NewExpression | SequenceExpression | TemplateLiteral | TaggedTemplateExpression | ClassExpression | MetaProperty | Identifier | AwaitExpression; + export interface BaseExpression extends BaseNode { } export interface ThisExpression extends BaseExpression { @@ -254,7 +261,7 @@ export interface SequenceExpression extends BaseExpression { export interface UnaryExpression extends BaseExpression { type: "UnaryExpression"; operator: UnaryOperator; - prefix: boolean; + prefix: true; argument: Expression; } @@ -317,6 +324,7 @@ export interface MemberExpression extends BaseExpression, BasePattern { export type Pattern = Identifier | ObjectPattern | ArrayPattern | RestElement | AssignmentPattern | MemberExpression; + interface BasePattern extends BaseNode { } export interface SwitchCase extends BaseNode { @@ -341,17 +349,17 @@ export type Literal = SimpleLiteral | RegExpLiteral; export interface SimpleLiteral extends BaseNode, BaseExpression { type: "Literal"; value: string | boolean | number | null; - raw: string; + raw?: string; } export interface RegExpLiteral extends BaseNode, BaseExpression { type: "Literal"; - value: RegExp; + value?: RegExp | null; regex: { pattern: string; flags: string; }; - raw: string; + raw?: string; } export type UnaryOperator = From dfa4555106225683b88f0c37701b4fbbae435284 Mon Sep 17 00:00:00 2001 From: Chris Krycho <chris@chriskrycho.com> Date: Fri, 13 Oct 2017 06:13:17 -0400 Subject: [PATCH 321/433] Update Ember, RSVP, and Ember testing helpers. (#20301) * Update RSVP to 4.0, to implement PromiseLike<T>. - RSVP Promises can now be used with `async` and `await`. - RSVP types now match what is in RSVP 4.0. * Update ember-testing-helpers for fixed RSVP. * Ember.js: correctly represent most of the framework. - Capture the actual behavior of most of the framework, including computed properties, custom getters and setters and the custom Object model more generally, prototype extension via `.extend`, and the mixin pattern. - Support the new modules API alongside the global API. - Add extensive tests. - Update inline documentation. - Use the new, async/await compatible RSVP definitions. * Ember/RSVP: drop .prettierrc files. * Drop types/rsvp/assert.ts -- stick to just rsvp-test.ts. * Fix ember-testing-helpers-tests on top of module itself. * Fix RSVP import in ember-testing-helpers. * Fix 'typeRoots', set ember-testing-helpers to use TS 2.4. * Fix missing 'types' compiler option. * Fix errors caught by dtslint. * A few more tslint tweaks. * Fix account link in ember-testing-helpers authorship. * Disable strictFunctionTypes for Ember, RSVP. * fix array.reduce signature conflict in ts@next --- .../ember-testing-helpers-tests.ts | 8 +- types/ember-testing-helpers/index.d.ts | 12 +- types/ember-testing-helpers/tsconfig.json | 4 +- types/ember/index.d.ts | 6151 ++++++++++------- types/ember/test/application.ts | 15 + types/ember/test/array-ext.ts | 18 + types/ember/test/array-proxy.ts | 26 + types/ember/test/array.ts | 46 + types/ember/test/component.ts | 124 + types/ember/test/computed.ts | 160 + types/ember/test/controller.ts | 11 + types/ember/test/create.ts | 7 + types/ember/test/detect-instance.ts | 20 + types/ember/test/detect.ts | 20 + types/ember/{ => test}/ember-tests.ts | 81 +- types/ember/test/event.ts | 58 + types/ember/test/extend.ts | 61 + types/ember/test/function-ext.ts | 21 + types/ember/test/helper.ts | 27 + types/ember/test/inject.ts | 20 + types/ember/test/lib/assert.ts | 5 + types/ember/test/mixin.ts | 46 + types/ember/test/object.ts | 15 + types/ember/test/observable.ts | 88 + types/ember/test/reopen.ts | 65 + types/ember/test/route.ts | 87 + types/ember/test/router.ts | 23 + types/ember/test/run.ts | 204 + types/ember/test/test.ts | 32 + types/ember/test/transition.ts | 28 + types/ember/test/utils.ts | 71 + types/ember/tsconfig.json | 39 +- types/ember/tslint.json | 21 +- types/rsvp/index.d.ts | 961 ++- types/rsvp/rsvp-tests.ts | 397 +- types/rsvp/tsconfig.json | 18 +- 36 files changed, 5943 insertions(+), 3047 deletions(-) mode change 100644 => 100755 types/ember/index.d.ts create mode 100755 types/ember/test/application.ts create mode 100755 types/ember/test/array-ext.ts create mode 100755 types/ember/test/array-proxy.ts create mode 100755 types/ember/test/array.ts create mode 100755 types/ember/test/component.ts create mode 100755 types/ember/test/computed.ts create mode 100755 types/ember/test/controller.ts create mode 100755 types/ember/test/create.ts create mode 100755 types/ember/test/detect-instance.ts create mode 100755 types/ember/test/detect.ts rename types/ember/{ => test}/ember-tests.ts (68%) mode change 100644 => 100755 create mode 100755 types/ember/test/event.ts create mode 100755 types/ember/test/extend.ts create mode 100755 types/ember/test/function-ext.ts create mode 100755 types/ember/test/helper.ts create mode 100755 types/ember/test/inject.ts create mode 100755 types/ember/test/lib/assert.ts create mode 100755 types/ember/test/mixin.ts create mode 100755 types/ember/test/object.ts create mode 100755 types/ember/test/observable.ts create mode 100755 types/ember/test/reopen.ts create mode 100755 types/ember/test/route.ts create mode 100755 types/ember/test/router.ts create mode 100755 types/ember/test/run.ts create mode 100755 types/ember/test/test.ts create mode 100755 types/ember/test/transition.ts create mode 100755 types/ember/test/utils.ts mode change 100644 => 100755 types/ember/tsconfig.json mode change 100644 => 100755 types/ember/tslint.json mode change 100644 => 100755 types/rsvp/index.d.ts mode change 100644 => 100755 types/rsvp/rsvp-tests.ts mode change 100644 => 100755 types/rsvp/tsconfig.json diff --git a/types/ember-testing-helpers/ember-testing-helpers-tests.ts b/types/ember-testing-helpers/ember-testing-helpers-tests.ts index 3691e3ede0..01ee44b338 100644 --- a/types/ember-testing-helpers/ember-testing-helpers-tests.ts +++ b/types/ember-testing-helpers/ember-testing-helpers-tests.ts @@ -1,12 +1,12 @@ -import RSVP = require('rsvp'); +import RSVP from 'rsvp'; function testAndThen() { - const result: RSVP.Promise<string, never> = andThen(() => 'some string'); + const result: RSVP.Promise<string> = andThen(() => 'some string'); result.then(s => s.length); } function testClick() { - const result: RSVP.Promise<void, never> = click('someString'); + const result: RSVP.Promise<void> = click('someString'); result.then(() => {}); } @@ -29,7 +29,7 @@ function testFillIn() { const textResult = fillIn('.foo', 'waffles'); textResult.then(() => true); const contextResult = fillIn('.bar', {}, 'pancakes'); - contextResult.catch(reason => false); + contextResult.catch((reason: any) => false); } function testFind() { diff --git a/types/ember-testing-helpers/index.d.ts b/types/ember-testing-helpers/index.d.ts index 33231a0b65..8bbbcc09f7 100644 --- a/types/ember-testing-helpers/index.d.ts +++ b/types/ember-testing-helpers/index.d.ts @@ -1,8 +1,8 @@ // Type definitions for ember-testing/lib/helpers // Project: https://github.com/emberjs/ember.js/tree/master/packages/ember-testing/lib/helpers -// Definitions by: Chris Krycho <github.com/chriskrycho> +// Definitions by: Chris Krycho <https://github.com/chriskrycho> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.4 // Note that these are distributed separately because they represent a discrete // set of functionality, and as globally-injected items (as of Ember 2.13), are @@ -10,14 +10,14 @@ /// <reference types="jquery" /> -import RSVP = require('rsvp'); +import RSVP from 'rsvp'; type KeyEventType = 'keydown' | 'keyup' | 'keypress'; -type WaitResult<T> = RSVP.Promise<T, never>; +type WaitResult<T> = RSVP.Promise<T>; declare global { // https://github.com/emberjs/ember.js/blob/master/packages/ember-testing/lib/helpers/and_then.js - function andThen<T>(callback: (...args: any[]) => T): RSVP.Promise<T, never>; + function andThen<T>(callback: (...args: any[]) => T): RSVP.Promise<T>; // https://github.com/emberjs/ember.js/blob/master/packages/ember-testing/lib/helpers/click.js function click(selector: string, context?: Object): WaitResult<void>; @@ -45,7 +45,7 @@ declare global { function keyEvent(selector: string, type: KeyEventType, keyCode: number): WaitResult<void>; // https://github.com/emberjs/ember.js/blob/master/packages/ember-testing/lib/helpers/pause_test.js - function pauseTest(): RSVP.Promise<{}, never>; + function pauseTest(): RSVP.Promise<{}>; function resumeTest(): void; // https://github.com/emberjs/ember.js/blob/master/packages/ember-testing/lib/helpers/trigger_event.js diff --git a/types/ember-testing-helpers/tsconfig.json b/types/ember-testing-helpers/tsconfig.json index 725957a948..622d4d1584 100644 --- a/types/ember-testing-helpers/tsconfig.json +++ b/types/ember-testing-helpers/tsconfig.json @@ -10,9 +10,7 @@ "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": [ - "../" - ], + "typeRoots": ["../"], "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/ember/index.d.ts b/types/ember/index.d.ts old mode 100644 new mode 100755 index 91f0e2a02c..62b6a81a77 --- a/types/ember/index.d.ts +++ b/types/ember/index.d.ts @@ -1,2555 +1,3672 @@ -// Type definitions for Ember.js 2.7 +// Type definitions for Ember.js 2.8 // Project: http://emberjs.com/ // Definitions by: Jed Mao <https://github.com/jedmao> // bttf <https://github.com/bttf> +// Derek Wickern <https://github.com/dwickern> +// Chris Krycho <https://github.com/chriskrycho> +// Theron Cross <https://github.com/theroncross> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.4 /// <reference types="jquery" /> /// <reference types="handlebars" /> -// Capitalization is intentional: this makes it much easier to re-export RSVP on -// the Ember namespace. -import Rsvp = require('rsvp'); +declare module 'ember' { + // Capitalization is intentional: this makes it much easier to re-export RSVP on + // the Ember namespace. + import Rsvp from 'rsvp'; + import { TemplateFactory } from 'htmlbars-inline-precompile'; -declare namespace EmberStates { - interface Transition { - targetName: string; - urlMethod: string; - intent: any; - params: {} | any; - pivotHandler: any; - resolveIndex: number; - handlerInfos: any; - resolvedModels: {} | any; - isActive: boolean; - state: any; - queryParams: {} | any; - queryParamsOnly: boolean; + // Get an alias to the global Array type to use in inner scope below. + type GlobalArray<T> = T[]; - isTransition: boolean; + /** + * Deconstructs computed properties into the types which would be returned by `.get()`. + */ + type ComputedProperties<T> = { [K in keyof T]: Ember.ComputedProperty<T[K]> | T[K] }; - /** - The Transition's internal promise. Calling `.then` on this property - is that same as calling `.then` on the Transition object itself, but - this property is exposed for when you want to pass around a - Transition's promise, but not the Transition object itself, since - Transition object can be externally `abort`ed, while the promise - cannot. - */ - promise: Rsvp.Promise<any, any>; + /** + * Check that any arguments to `create()` match the type's properties. + * + * Accept any additional properties and add merge them into the instance. + */ + type EmberInstanceArguments<T> = Partial<T> & { + [key: string]: any; + }; - /** - Custom state can be stored on a Transition's `data` object. - This can be useful for decorating a Transition within an earlier - hook and shared with a later hook. Properties set on `data` will - be copied to new transitions generated by calling `retry` on this - transition. - */ - data: any; - - /** - A standard promise hook that resolves if the transition - succeeds and rejects if it fails/redirects/aborts. - - Forwards to the internal `promise` property which you can - use in situations where you want to pass around a thennable, - but not the Transition itself. - - @arg {Function} onFulfilled - @arg {Function} onRejected - @arg {String} label optional string for labeling the promise. Useful for tooling. - @return {Promise} - */ - then(onFulfilled: Function, onRejected?: Function, label?: string): Rsvp.Promise<any, any>; - - /** - Forwards to the internal `promise` property which you can - use in situations where you want to pass around a thennable, - but not the Transition itself. - - @method catch - @arg {Function} onRejection - @arg {String} label optional string for labeling the promise. - Useful for tooling. - @return {Promise} - */ - catch(onRejection: Function, label?: string): Rsvp.Promise<any, any>; - - /** - Forwards to the internal `promise` property which you can - use in situations where you want to pass around a thennable, - but not the Transition itself. - - @method finally - @arg {Function} callback - @arg {String} label optional string for labeling the promise. - Useful for tooling. - @return {Promise} - */ - finally(callback: Function, label?: string): Rsvp.Promise<any, any>; - - /** - Aborts the Transition. Note you can also implicitly abort a transition - by initiating another transition while a previous one is underway. - */ - abort(): EmberStates.Transition; - normalize(manager: Ember.StateManager, contexts: any[]): void; - - /** - Retries a previously-aborted transition (making sure to abort the - transition if it's still active). Returns a new transition that - represents the new attempt to transition. - */ - retry(): EmberStates.Transition; - - /** - Sets the URL-changing method to be employed at the end of a - successful transition. By default, a new Transition will just - use `updateURL`, but passing 'replace' to this method will - cause the URL to update using 'replaceWith' instead. Omitting - a parameter will disable the URL change, allowing for transitions - that don't update the URL at completion (this is also used for - handleURL, since the URL has already changed before the - transition took place). - - @arg {String} method the type of URL-changing method to use - at the end of a transition. Accepted values are 'replace', - falsy values, or any other non-falsy value (which is - interpreted as an updateURL transition). - - @return {Transition} this transition - */ - method(method: string): EmberStates.Transition; - - /** - Fires an event on the current list of resolved/resolving - handlers within this transition. Useful for firing events - on route hierarchies that haven't fully been entered yet. - - Note: This method is also aliased as `send` - - @arg {Boolean} [ignoreFailure=false] a boolean specifying whether unhandled events throw an error - @arg {String} name the name of the event to fire - */ - trigger(ignoreFailure: boolean, eventName: string): void; - /** - Fires an event on the current list of resolved/resolving - handlers within this transition. Useful for firing events - on route hierarchies that haven't fully been entered yet. - - Note: This method is also aliased as `send` - - @arg {String} name the name of the event to fire - */ - trigger(eventName: string): void; - - /** - Transitions are aborted and their promises rejected - when redirects occur; this method returns a promise - that will follow any redirects that occur and fulfill - with the value fulfilled by any redirecting transitions - that occur. - - @return {Promise} a promise that fulfills with the same - value that the final redirecting transition fulfills with - */ - followRedirects(): Rsvp.Promise<any, any>; + /** + * Accept any additional properties and add merge them into the prototype. + */ + interface EmberClassArguments { + [key: string]: any; } -} -// Get an alias to the global Array type to use in inner scope below. -type GlobalArray<T> = T[]; + /** + * Map type `T` to a plain object hash with the identity mapping. + * + * Discards any additional object identity like the ability to `new()` up the class. + * The `new()` capability is added back later by merging `EmberClassConstructor<T>` + * + * Implementation is carefully chosen for the reasons described in + * https://github.com/typed-ember/ember-typings/pull/29 + */ + type Objectify<T> = Readonly<T>; -declare namespace EmberTesting { - namespace Test { - class Adapter { - asyncEnd(): void; - asyncStart(): void; - exception(error: string): void; + type Fix<T> = { [K in keyof T]: T[K] }; + + /** + * Ember.Object.extend(...) accepts any number of mixins or literals. + */ + type MixinOrLiteral<T, Base> = Ember.Mixin<T, Base> | T; + + /** + * Used to infer the type of ember classes of type `T`. + * + * Generally you would use `EmberClass.create()` instead of `new EmberClass()`. + * + * The no-arg constructor is required by the typescript compiler. + * The multi-arg constructor is included for better ergonomics. + * + * Implementation is carefully chosen for the reasons described in + * https://github.com/typed-ember/ember-typings/pull/29 + */ + type EmberClassConstructor<T> = (new () => T) & (new (...args: any[]) => T); + + type ComputedPropertyGetterFunction<T> = (this: any, key: string) => T; + + interface ComputedPropertyGet<T> { + get(this: any, key: string): T; + } + + interface ComputedPropertySet<T> { + set(this: any, key: string, value: T): T; + } + + type ComputedPropertyCallback<T> = + | ComputedPropertyGetterFunction<T> + | ComputedPropertyGet<T> + | ComputedPropertySet<T> + | (ComputedPropertyGet<T> & ComputedPropertySet<T>); + + interface ActionsHash { + [index: string]: (...params: any[]) => any; + } + + interface EmberRunTimer { + __ember_run_timer_brand__: any; + } + + type RunMethod<Target, Ret = any> = ((this: Target, ...args: any[]) => Ret) | keyof Target; + type EmberRunQueues = + | 'sync' + | 'actions' + | 'routerTransitions' + | 'render' + | 'afterRender' + | 'destroy'; + + type ObserverMethod<Target, Sender> = + | (keyof Target) + | ((this: Target, sender: Sender, key: keyof Sender, value: any, rev: number) => void); + + interface RenderOptions { + into?: string; + controller?: string; + model?: any; + outlet?: string; + view?: string; + } + + interface RouteQueryParam { + refreshModel?: boolean; + replace?: boolean; + as?: string; + } + + interface EventDispatcherEvents { + touchstart?: string | null; + touchmove?: string | null; + touchend?: string | null; + touchcancel?: string | null; + keydown?: string | null; + keyup?: string | null; + keypress?: string | null; + mousedown?: string | null; + mouseup?: string | null; + contextmenu?: string | null; + click?: string | null; + dblclick?: string | null; + mousemove?: string | null; + focusin?: string | null; + focusout?: string | null; + mouseenter?: string | null; + mouseleave?: string | null; + submit?: string | null; + input?: string | null; + change?: string | null; + dragstart?: string | null; + drag?: string | null; + dragenter?: string | null; + dragleave?: string | null; + dragover?: string | null; + drop?: string | null; + dragend?: string | null; + [event: string]: string | null | undefined; + } + + interface ViewMixin { + /** + * A list of properties of the view to apply as attributes. If the property + * is a string value, the value of that string will be applied as the value + * for an attribute of the property's name. + */ + attributeBindings: string[]; + /** + * Returns the current DOM element for the view. + */ + element: Element; + /** + * Returns a jQuery object for this view's element. If you pass in a selector + * string, this method will return a jQuery object, using the current element + * as its buffer. + */ + $: JQueryStatic; + /** + * The HTML `id` of the view's element in the DOM. You can provide this + * value yourself but it must be unique (just as in HTML): + */ + elementId: string; + /** + * Tag name for the view's outer element. The tag name is only used when an + * element is first created. If you change the `tagName` for an element, you + * must destroy and recreate the view element. + */ + tagName: string; + /** + * Renders the view again. This will work regardless of whether the + * view is already in the DOM or not. If the view is in the DOM, the + * rendering process will be deferred to give bindings a chance + * to synchronize. + */ + rerender(): void; + /** + * Called when a view is going to insert an element into the DOM. + */ + willInsertElement(): void; + /** + * Called when the element of the view has been inserted into the DOM. + * Override this function to do any set up that requires an element + * in the document body. + */ + didInsertElement(): void; + /** + * Called when the view is about to rerender, but before anything has + * been torn down. This is a good opportunity to tear down any manual + * observers you have installed based on the DOM state + */ + willClearRender(): void; + /** + * Called when the element of the view is going to be destroyed. Override + * this function to do any teardown that requires an element, like removing + * event listeners. + */ + willDestroyElement(): void; + } + const ViewMixin: Ember.Mixin<ViewMixin>; + + /** + Ember.CoreView is an abstract class that exists to give view-like behavior to both Ember's main + view class Ember.Component and other classes that don't need the full functionality of Ember.Component. + + Unless you have specific needs for CoreView, you will use Ember.Component in your applications. + **/ + class CoreView extends Ember.Object.extend(Ember.Evented, Ember.ActionHandler) {} + interface ActionSupport { + sendAction(action: string, ...params: any[]): void; + } + const ActionSupport: Ember.Mixin<ActionSupport>; + + interface ClassNamesSupport { + /** + A list of properties of the view to apply as class names. If the property is a string value, + the value of that string will be applied as a class name. + + If the value of the property is a Boolean, the name of that property is added as a dasherized + class name. + + If you would prefer to use a custom value instead of the dasherized property name, you can + pass a binding like this: `classNameBindings: ['isUrgent:urgent']` + + This list of properties is inherited from the component's superclasses as well. + */ + classNameBindings: string[]; + /** + * Standard CSS class names to apply to the view's outer element. This + * property automatically inherits any class names defined by the view's + * superclasses as well. + */ + classNames: string[]; + } + const ClassNamesSupport: Ember.Mixin<ClassNamesSupport>; + + interface TriggerActionOptions { + action?: string; + target?: Ember.Object; + actionContext?: Ember.Object; + } + /** + Ember.TargetActionSupport is a mixin that can be included in a class to add a triggerAction method + with semantics similar to the Handlebars {{action}} helper. In normal Ember usage, the {{action}} + helper is usually the best choice. This mixin is most often useful when you are doing more + complex event handling in Components. + **/ + interface TargetActionSupport { + triggerAction(opts: TriggerActionOptions): boolean; + } + + export namespace Ember { + interface FunctionPrototypeExtensions { + /** + * The `property` extension of Javascript's Function prototype is available + * when `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Function` is + * `true`, which is the default. + */ + property(...args: string[]): ComputedProperty<any>; + /** + * The `observes` extension of Javascript's Function prototype is available + * when `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Function` is + * true, which is the default. + */ + observes(...args: string[]): this; + /** + * The `on` extension of Javascript's Function prototype is available + * when `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Function` is + * true, which is the default. + */ + on(...args: string[]): this; } - class QUnitAdapter extends Adapter {} - } -} - -interface Function { - observes(...args: string[]): Function; - observesBefore(...args: string[]): Function; - on(...args: string[]): Function; - property(...args: string[]): Function; -} - -interface String { - camelize(): string; - capitalize(): string; - classify(): string; - dasherize(): string; - decamelize(): string; - fmt(...args: string[]): string; - htmlSafe(): typeof Handlebars.SafeString; - loc(...args: string[]): string; - underscore(): string; - w(): string[]; -} - -interface Array<T> { - constructor(arr: any[]): void; - activate(): void; - addArrayObserver(target: any, opts?: EnumerableConfigurationOptions): any[]; - addEnumerableObserver(target: any, opts: EnumerableConfigurationOptions): any[]; - any(callback: Function, target?: any): boolean; - anyBy(key: string, value?: string): boolean; - arrayContentDidChange(startIdx: number, removeAmt: number, addAmt: number): any[]; - arrayContentWillChange(startIdx: number, removeAmt: number, addAmt: number): any[]; - someProperty(key: string, value?: any): boolean; - clear(): any[]; - compact(): any[]; - contains(obj: any): boolean; - enumerableContentDidChange( - start: number, - removing: Ember.Enumerable | number, - adding: Ember.Enumerable | number - ): any; - enumerableContentDidChange( - removing: Ember.Enumerable | number, - adding: Ember.Enumerable | number - ): any; - enumerableContentWillChange( - removing: Ember.Enumerable | number, - adding: Ember.Enumerable | number - ): Ember.Enumerable; - every(callback: ItemIndexEnumerableCallback, target?: any): boolean; - everyBy(key: string, value?: string): boolean; - everyProperty(key: string, value?: any): boolean; - filter(callback: Function, target?: any): any[]; - filterBy(key: string, value?: string): any[]; - - /** - Returns the first item in the array for which the callback returns true. - This method works similar to the `filter()` method defined in JavaScript 1.6 - except that it will stop working on the array once a match is found. - The callback method you provide should have the following signature (all - parameters are optional): - ```javascript - function(item, index, enumerable); - ``` - - `item` is the current item in the iteration. - - `index` is the current index in the iteration. - - `enumerable` is the enumerable object itself. - It should return the `true` to include the item in the results, `false` - otherwise. - Note that in addition to a callback, you can also pass an optional target - object that will be set as `this` on the context. This is a good way - to give your iterator function access to the current object. - @function find - @arg callback The callback to execute - @arg {Object} [target] The target object to use - @return {Object} Found item or `undefined`. -*/ - find(callback: Function, target?: any): any; - findBy(key: string, value?: string): any; - forEach(callback: Function, target?: any): any; - getEach(key: string): any[]; - indexOf(object: any, startAt?: number): number; - insertAt(idx: number, object: any): any[]; - invoke(methodName: string, ...args: any[]): any[]; - lastIndexOf(object: any, startAt?: number): number; - map(callback: Function, target?: any): any[]; - mapBy(key: string): any[]; - nextObject(index: number, previousObject: any, context: any): any; - objectAt(idx: number): any; - objectsAt(...args: number[]): any[]; - popObject(): any; - pushObject(obj: any): any; - pushObjects(...args: any[]): any[]; - reduce(callback: ReduceCallback, initialValue: any, reducerProperty: string): any; - reject: ItemIndexEnumerableCallbackTarget; - rejectBy(key: string, value?: string): any[]; - removeArrayObserver(target: any, opts: EnumerableConfigurationOptions): any[]; - removeAt(start: number, len: number): any; - removeEnumerableObserver(target: any, opts: EnumerableConfigurationOptions): any[]; - replace(idx: number, amt: number, objects: any[]): void; - reverseObjects(): any[]; - setEach(key: string, value?: any): any; - setObjects(objects: any[]): any[]; - shiftObject(): any; - slice(beginIndex?: number, endIndex?: number): any[]; - some(callback: Function, target?: any): boolean; - toArray(): any[]; - uniq(): any[]; - unshiftObject(object: any): any; - unshiftObjects(objects: any[]): any[]; - without(value: any): any[]; - '[]': any[]; - '@each': Ember.EachProxy; - Boolean: boolean; - firstObject: any; - hasEnumerableObservers: boolean; - lastObject: any; - addObject(object: any): any; - addObjects(objects: Ember.Enumerable): any[]; - removeObject(object: any): any; - removeObjects(objects: Ember.Enumerable): any[]; - addObserver: ModifyObserver; - beginPropertyChanges(): any[]; - cacheFor(keyName: string): any; - decrementProperty(keyName: string, decrement?: number): number; - endPropertyChanges(): any[]; - get(keyName: string): any; - getProperties(...args: string[]): {}; - getProperties(keys: string[]): {}; - getWithDefault(keyName: string, defaultValue: any): any; - hasObserverFor(key: string): boolean; - incrementProperty(keyName: string, increment?: number): number; - notifyPropertyChange(keyName: string): any[]; - propertyDidChange(keyName: string): any[]; - propertyWillChange(keyName: string): any[]; - removeObserver(key: string, target: any, method: Function | string): Ember.Observable; - set(keyName: string, value: any): any[]; - setProperties(hash: {}): any[]; - toggleProperty(keyName: string): any; - copy(deep: boolean): any[]; - frozenCopy(): any[]; - // 1.3 - isAny(key: string, value?: string): boolean; - isEvery(key: string, value?: string): boolean; -} - -interface ApplicationCreateArguments { - customEvents?: {}; - rootElement?: string; - /** - Basic logging of successful transitions. - **/ - LOG_TRANSITIONS?: boolean; - /** - Detailed logging of all routing steps. - **/ - LOG_TRANSITIONS_INTERNAL?: boolean; -} - -type ApplicationInitializerFunction = ( - container: Ember.Container, - application: Ember.Application -) => void; - -interface ApplicationInitializerArguments { - name?: string; - initialize?: ApplicationInitializerFunction; -} - -interface CoreObjectArguments { - /** - An overridable method called when objects are instantiated. By default, does nothing unless it is - overridden during class definition. NOTE: If you do override init for a framework class like Ember.View - or Ember.ArrayController, be sure to call this._super() in your init declaration! If you don't, Ember - may not have an opportunity to do important setup work, and you'll see strange behavior in your application. - **/ - init?: Function; - /** - Override to implement teardown. - **/ - willDestroy?: Function; - - [propName: string]: any; -} - -interface EnumerableConfigurationOptions { - willChange?: boolean; - didChange?: boolean; -} - -type ItemIndexEnumerableCallbackTarget = ( - callback: ItemIndexEnumerableCallback, - target?: any -) => any[]; - -type ItemIndexEnumerableCallback = (item: any, index: number, enumerable: Ember.Enumerable) => void; - -type ReduceCallback = ( - previousValue: any, - item: any, - index: number, - enumerable: Ember.Enumerable -) => void; - -interface TransitionsHash { - contexts: any[]; - exitStates: Ember.State[]; - enterStates: Ember.State[]; - resolveState: Ember.State; -} - -interface ActionsHash { - willTransition?: Function; - error?: Function; -} - -interface DisconnectOutletOptions { - outlet?: string; - parentView?: string; -} - -interface RenderOptions { - into?: string; - controller?: string; - model?: any; - outlet?: string; - view?: string; -} - -type ModifyObserver = ( - obj: any, - path: string | null, - target: Function | any, - method?: Function | string -) => void; - -declare namespace Ember { - /** - Alias for jQuery. - **/ - // ReSharper disable once DuplicatingLocalDeclaration - const $: JQueryStatic; - /** - Creates an Ember.NativeArray from an Array like object. Does not modify the original object. - Ember.A is not needed if Ember.EXTEND_PROTOTYPES is true (the default value). However, it is - recommended that you use Ember.A when creating addons for ember or when you can not garentee - that Ember.EXTEND_PROTOTYPES will be true. - **/ - function A(arr?: any[]): NativeArray; - /** - The Ember.ActionHandler mixin implements support for moving an actions property to an _actions - property at extend time, and adding _actions to the object's mergedProperties list. - **/ - class ActionHandlerMixin { - /** - Triggers a named action on the ActionHandler - **/ - send(name: string, ...args: any[]): void; - /** - The collection of functions, keyed by name, available on this ActionHandler as action targets. - **/ - actions: ActionsHash; - } - /** - An instance of Ember.Application is the starting point for every Ember application. It helps to - instantiate, initialize and coordinate the many objects that make up your app. - **/ - class Application extends Namespace { - static detect(obj: any): boolean; - static detectInstance(obj: any): boolean; - /** - Iterate over each computed property for the class, passing its name and any - associated metadata (see metaForProperty) to the callback. - **/ - static eachComputedProperty(callback: Function, binding: {}): void; - /** - Returns the original hash that was passed to meta(). - @param key property name - **/ - static metaForProperty(key: string): {}; - static isClass: boolean; - static isMethod: boolean; - /** - Call advanceReadiness after any asynchronous setup logic has completed. - Each call to deferReadiness must be matched by a call to advanceReadiness - or the application will never become ready and routing will not begin. - **/ - advanceReadiness(): void; - /** - Use this to defer readiness until some condition is true. - - This allows you to perform asynchronous setup logic and defer - booting your application until the setup has finished. - - However, if the setup requires a loading UI, it might be better - to use the router for this purpose. - */ - deferReadiness(): void; - /** - defines an injection or typeInjection - **/ - inject(factoryNameOrType: string, property: string, injectionName: string): void; - /** - This injects the test helpers into the window's scope. If a function of the - same name has already been defined it will be cached (so that it can be reset - if the helper is removed with `unregisterHelper` or `removeTestHelpers`). - Any callbacks registered with `onInjectHelpers` will be called once the - helpers have been injected. - **/ - injectTestHelpers(): void; - /** - registers a factory for later injection - @param fullName type:name (e.g., 'model:user') - @param factory (e.g., App.Person) - **/ - register(fullName: string, factory: Function, options?: {}): void; - /** - This removes all helpers that have been registered, and resets and functions - that were overridden by the helpers. - **/ - removeTestHelpers(): void; - /** - Reset the application. This is typically used only in tests. - **/ - reset(): void; - /** - This hook defers the readiness of the application, so that you can start - the app when your tests are ready to run. It also sets the router's - location to 'none', so that the window's location will not be modified - (preventing both accidental leaking of state between tests and interference - with your testing framework). - **/ - setupForTesting(): void; - /** - The DOM events for which the event dispatcher should listen. - */ - customEvents: {}; - /** - The Ember.EventDispatcher responsible for delegating events to this application's views. - **/ - eventDispatcher: EventDispatcher; - /** - Set this to provide an alternate class to Ember.DefaultResolver - **/ - resolver: DefaultResolver; - /** - The root DOM element of the Application. This can be specified as an - element or a jQuery-compatible selector string. - - This is the element that will be passed to the Application's, eventDispatcher, - which sets up the listeners for event delegation. Every view in your application - should be a child of the element you specify here. - **/ - rootElement: HTMLElement; - /** - Called when the Application has become ready. - The call will be delayed until the DOM has become ready. - **/ - ready: Function; - /** - Application's router. - **/ - Router: Router; - registry: Registry; - } - /** - This module implements Observer-friendly Array-like behavior. This mixin is picked up by the - Array class as well as other controllers, etc. that want to appear to be arrays. - **/ - class Array implements Enumerable { - addArrayObserver(target: any, opts?: EnumerableConfigurationOptions): any[]; - addEnumerableObserver(target: any, opts: EnumerableConfigurationOptions): Enumerable; - any(callback: ItemIndexEnumerableCallback, target?: any): boolean; - anyBy(key: string, value?: string): boolean; - arrayContentDidChange(startIdx: number, removeAmt: number, addAmt: number): any[]; - arrayContentWillChange(startIdx: number, removeAmt: number, addAmt: number): any[]; - someProperty(key: string, value?: string): boolean; - compact(): any[]; - contains(obj: any): boolean; - enumerableContentDidChange( - start: number, - removing: Enumerable | number, - adding: Enumerable | number - ): any; - enumerableContentDidChange(removing: Enumerable | number, adding: Enumerable | number): any; - enumerableContentWillChange( - removing: Enumerable | number, - adding: Enumerable | number - ): Enumerable; - every(callback: ItemIndexEnumerableCallback, target?: any): boolean; - everyBy(key: string, value?: string): boolean; - everyProperty(key: string, value?: string): boolean; - filter(callback: ItemIndexEnumerableCallback, target: any): any[]; - filterBy(key: string, value?: string): any[]; - find(callback: ItemIndexEnumerableCallback, target?: any): any; - findBy(key: string, value?: string): any; - forEach(callback: ItemIndexEnumerableCallback, target?: any): any; - getEach(key: string): any[]; - indexOf(object: any, startAt: number): number; - invoke(methodName: string, ...args: any[]): any[]; - lastIndexOf(object: any, startAt: number): number; - map: ItemIndexEnumerableCallbackTarget; - mapBy(key: string): any[]; - nextObject(index: number, previousObject: any, context: any): any; - objectAt(idx: number): any; - objectsAt(...args: number[]): any[]; - reduce(callback: ReduceCallback, initialValue: any, reducerProperty: string): any; - reject: ItemIndexEnumerableCallbackTarget; - rejectBy(key: string, value?: string): any[]; - removeArrayObserver(target: any, opts: EnumerableConfigurationOptions): any[]; - removeEnumerableObserver(target: any, opts: EnumerableConfigurationOptions): Enumerable; - setEach(key: string, value?: any): any; - slice(beginIndex?: number, endIndex?: number): any[]; - some(callback: ItemIndexEnumerableCallback, target?: any): boolean; - toArray(): any[]; - uniq(): Enumerable; - without(value: any): Enumerable; - '@each': EachProxy; - Boolean: boolean; - '[]': any[]; - firstObject: any; - hasEnumerableObservers: boolean; - lastObject: any; - length: number; - } - /** - An ArrayProxy wraps any other object that implements Ember.Array and/or Ember.MutableArray, - forwarding all requests. This makes it very useful for a number of binding use cases or other cases - where being able to swap out the underlying array is useful. - **/ - class ArrayProxy extends Object implements MutableArray { - static detect(obj: any): boolean; - static detectInstance(obj: any): boolean; - /** - Iterate over each computed property for the class, passing its name and any - associated metadata (see metaForProperty) to the callback. - **/ - static eachComputedProperty(callback: Function, binding: {}): void; - /** - Returns the original hash that was passed to meta(). - @param key property name - **/ - static metaForProperty(key: string): {}; - static isClass: boolean; - static isMethod: boolean; - addArrayObserver(target: any, opts?: EnumerableConfigurationOptions): any[]; - addEnumerableObserver(target: any, opts: EnumerableConfigurationOptions): Enumerable; - any(callback: ItemIndexEnumerableCallback, target?: any): boolean; - anyBy(key: string, value?: string): boolean; - arrayContentDidChange(startIdx: number, removeAmt: number, addAmt: number): any[]; - arrayContentWillChange(startIdx: number, removeAmt: number, addAmt: number): any[]; - someProperty(key: string, value?: string): boolean; - clear(): any[]; - compact(): any[]; - contains(obj: any): boolean; - enumerableContentDidChange( - start: number, - removing: Enumerable | number, - adding: Enumerable | number - ): any; - enumerableContentDidChange(removing: Enumerable | number, adding: Enumerable | number): any; - enumerableContentWillChange( - removing: Enumerable | number, - adding: Enumerable | number - ): Enumerable; - every(callback: ItemIndexEnumerableCallback, target?: any): boolean; - everyBy(key: string, value?: string): boolean; - everyProperty(key: string, value?: string): boolean; - filter(callback: ItemIndexEnumerableCallback, target: any): any[]; - filterBy(key: string, value?: string): any[]; - find(callback: ItemIndexEnumerableCallback, $target: any): any; - findBy(key: string, value?: string): any; - forEach(callback: ItemIndexEnumerableCallback, target?: any): any; - getEach(key: string): any[]; - indexOf(object: any, startAt: number): number; - insertAt(idx: number, object: any): any[]; - invoke(methodName: string, ...args: any[]): any[]; - lastIndexOf(object: any, startAt: number): number; - map: ItemIndexEnumerableCallbackTarget; - mapBy(key: string): any[]; - nextObject(index: number, previousObject: any, context: any): any; - objectAt(idx: number): any; - objectAtContent(idx: number): any; - objectsAt(...args: number[]): any[]; - popObject(): any; - pushObject(obj: any): any; - pushObjects(...args: any[]): any[]; - reduce(callback: ReduceCallback, initialValue: any, reducerProperty: string): any; - reject: ItemIndexEnumerableCallbackTarget; - rejectBy(key: string, value?: string): any[]; - removeArrayObserver(target: any, opts: EnumerableConfigurationOptions): any[]; - removeAt(start: number, len: number): any; - removeEnumerableObserver(target: any, opts: EnumerableConfigurationOptions): Enumerable; - replace(idx: number, amt: number, objects: any[]): any; - replaceContent(idx: number, amt: number, objects: any[]): void; - reverseObjects(): any[]; - setEach(key: string, value?: any): any; - setObjects(objects: any[]): any[]; - shiftObject(): any; - slice(beginIndex?: number, endIndex?: number): any[]; - some(callback: ItemIndexEnumerableCallback, target?: any): boolean; - toArray(): any[]; - uniq(): Enumerable; - unshiftObject(object: any): any; - unshiftObjects(objects: any[]): any[]; - without(value: any): Enumerable; - '[]': any[]; - '@each': EachProxy; - Boolean: boolean; - firstObject: any; - hasEnumerableObservers: boolean; - lastObject: any; - length: number; - addObject(object: any): any; - addObjects(objects: Enumerable): MutableEnumberable; - removeObject(object: any): any; - removeObjects(objects: Enumerable): MutableEnumberable; - } - const BOOTED: boolean; - /** - Connects the properties of two objects so that whenever the value of one property changes, - the other property will be changed also. - **/ - class Binding { - constructor(toPath: string, fromPath: string); - connect(obj: any): Binding; - copy(): Binding; - disconnect(): Binding; - from(path: string): Binding; - to(path: string | any[]): Binding; - toString(): string; - } - class Button extends Component implements TargetActionSupport { - static detect(obj: any): boolean; - static detectInstance(obj: any): boolean; - /** - Iterate over each computed property for the class, passing its name and any - associated metadata (see metaForProperty) to the callback. - **/ - static eachComputedProperty(callback: Function, binding: {}): void; - /** - Returns the original hash that was passed to meta(). - @param key property name - **/ - static metaForProperty(key: string): {}; - static isClass: boolean; - static isMethod: boolean; - triggerAction(opts: {}): boolean; - } - /** - The internal class used to create text inputs when the {{input}} helper is used - with type of checkbox. See Handlebars.helpers.input for usage details. - **/ - class Checkbox extends Component { - static detect(obj: any): boolean; - static detectInstance(obj: any): boolean; - /** - Iterate over each computed property for the class, passing its name and any - associated metadata (see metaForProperty) to the callback. - **/ - static eachComputedProperty(callback: Function, binding: {}): void; - /** - Returns the original hash that was passed to meta(). - @param key property name - **/ - static metaForProperty(key: string): {}; - static isClass: boolean; - static isMethod: boolean; - } - /** - Implements some standard methods for comparing objects. Add this mixin to any class - you create that can compare its instances. - **/ - class Comparable { - compare(a: any, b: any): number; - } - /** - A view that is completely isolated. Property access in its templates go to the view object - and actions are targeted at the view object. There is no access to the surrounding context or - outer controller; all contextual information is passed in. - **/ - class Component extends Object { - static detect(obj: any): boolean; - static detectInstance(obj: any): boolean; - /** - Iterate over each computed property for the class, passing its name and any - associated metadata (see metaForProperty) to the callback. - **/ - static eachComputedProperty(callback: Function, binding: {}): void; - /** - Returns the original hash that was passed to meta(). - @param key property name - **/ - static metaForProperty(key: string): {}; - static isClass: boolean; - static isMethod: boolean; - sendAction(action: string, context: any): void; - targetObject: Controller; - } - /** - A computed property transforms an objects function into a property. - By default the function backing the computed property will only be called once and the result - will be cached. You can specify various properties that your computed property is dependent on. - This will force the cached result to be recomputed if the dependencies are modified. - **/ - class ComputedProperty { - get(keyName: string): any; - meta(meta: {}): ComputedProperty; - property(...args: string[]): ComputedProperty; - readOnly(): ComputedProperty; - set(keyName: string, newValue: any, oldValue: string): any; - // ReSharper disable UsingOfReservedWord - volatile(): ComputedProperty; - // ReSharper restore UsingOfReservedWord - } - class Container { - constructor(parent: Container); - parent: Container; - children: any[]; - owner: any; - ownerInjection(): any; - resolver: Function; - registry: Registry; - cache: {}; - typeInjections: {}; - injections: {}; - child(): Container; - set(object: {}, key: string, value: any): void; - /** - registers a factory for later injection - @param fullName type:name (e.g., 'model:user') - @param factory (e.g., App.Person) - **/ - describe(fullName: string): string; - makeToString(factory: any, fullName: string): Function; - lookup(fullName: string, options?: {}): any; - lookupFactory(fullName: string, options?: {}): any; - destroy(): void; - reset(): void; - } - class Controller extends Object implements ControllerMixin { - replaceRoute(name: string, ...args: any[]): void; - transitionToRoute(name: string, ...args: any[]): void; - controllers: {}; - model: any; - needs: string[]; - queryParams: any; - target: any; - send(name: string, ...args: any[]): void; - actions: ActionsHash; - } - /** - Additional methods for the ControllerMixin. - **/ - class ControllerMixin extends ActionHandlerMixin { - replaceRoute(name: string, ...args: any[]): void; - transitionToRoute(name: string, ...args: any[]): void; - controllers: {}; - model: any; - needs: string[]; - queryParams: any; - target: any; - } - /** - Implements some standard methods for copying an object. Add this mixin to any object you - create that can create a copy of itself. This mixin is added automatically to the built-in array. - You should generally implement the copy() method to return a copy of the receiver. - Note that frozenCopy() will only work if you also implement Ember.Freezable. - **/ - class Copyable { - copy(deep: boolean): Copyable; - frozenCopy(): Copyable; - } - class CoreObject { - /** - An overridable method called when objects are instantiated. By default, - does nothing unless it is overridden during class definition. - @method init - **/ - init(): void; + interface ArrayPrototypeExtensions<T> extends MutableArray<T>, Observable, Copyable {} /** - Defines the properties that will be concatenated from the superclass (instead of overridden). - @property concatenatedProperties - @type Array - @default null - **/ - concatenatedProperties: any[]; - - /** - Destroyed object property flag. If this property is true the observers and bindings were - already removed by the effect of calling the destroy() method. - @property isDestroyed - @default false - **/ - isDestroyed: boolean; - /** - Destruction scheduled flag. The destroy() method has been called. The object stays intact - until the end of the run loop at which point the isDestroyed flag is set. - @property isDestroying - @default false - **/ - isDestroying: boolean; - - /** - Destroys an object by setting the `isDestroyed` flag and removing its - metadata, which effectively destroys observers and bindings. - If you try to set a property on a destroyed object, an exception will be - raised. - Note that destruction is scheduled for the end of the run loop and does not - happen immediately. It will set an isDestroying flag immediately. - @method destroy - @return {Ember.Object} receiver - */ - destroy(): CoreObject; - - /** - Override to implement teardown. - @method willDestroy - */ - willDestroy(): void; - - /** - Returns a string representation which attempts to provide more information than Javascript's toString - typically does, in a generic way for all Ember objects (e.g., "<App.Person:ember1024>"). - @method toString - @return {String} string representation - **/ - toString(): string; - - static isClass: boolean; - static isMethod: boolean; - - /** - Creates a new subclass. - @method extend - @static - @param {Mixin} [mixins] - One or more Mixin classes - @param {Object} [args] - Object containing values to use within the new class - **/ - static extend<T>(args?: CoreObjectArguments): T; - static extend<T>(mixin1: Mixin, args?: CoreObjectArguments): T; - static extend<T>(mixin1: Mixin, mixin2: Mixin, args?: CoreObjectArguments): T; - static extend<T>(mixin1: Mixin, mixin2: Mixin, mixin3: Mixin, args?: CoreObjectArguments): T; - static extend<T>(mixin1: Mixin, mixin2: Mixin, mixin3: Mixin, mixin4: Mixin, args?: CoreObjectArguments): T; - static extend<T>(mixin1: Mixin, mixin2: Mixin, mixin3: Mixin, mixin4: Mixin, mixin5: Mixin, args?: CoreObjectArguments): T; - static extend<T>(mixin1: Mixin, mixin2: Mixin, mixin3: Mixin, mixin4: Mixin, mixin5: Mixin, mixin6: Mixin, args?: CoreObjectArguments): T; - static extend<T>(mixin1: Mixin, mixin2: Mixin, mixin3: Mixin, mixin4: Mixin, mixin5: Mixin, mixin6: Mixin, mixin7: Mixin, args?: CoreObjectArguments): T; - - /** - Creates a new subclass. - @method extend - @param {Mixin} [mixins] - One or more Mixin classes - @param {Object} [args] - Object containing values to use within the new class - Non-static method because Ember classes aren't currently 'real' TypeScript classes. - **/ - extend<T>(mixin1?: Mixin, mixin2?: Mixin, args?: CoreObjectArguments): T; - - /** - Equivalent to doing extend(arguments).create(). If possible use the normal create method instead. - @method createWithMixins - @static - @param [args] - **/ - static createWithMixins<T extends {}>(args?: {}): T; - - /** - Creates an instance of the class. - @method create - @static - @param [args] - A hash containing values with which to initialize the newly instantiated object. - **/ - static create<T extends {}>(args?: {}): T; - - /** - Augments a constructor's prototype with additional properties and functions. - To add functions and properties to the constructor itself, see reopenClass. - @method reopen - **/ - static reopen<T extends {}>(args?: {}): T; - - /** - Augments a constructor's own properties and functions. - To add functions and properties to instances of a constructor by extending the - constructor's prototype see reopen. - @method reopenClass - **/ - static reopenClass<T extends {}>(args?: {}): T; - - static detect(obj: any): boolean; - static detectInstance(obj: any): boolean; - - /** - Returns the original hash that was passed to meta(). - @method metaForProperty - @static - @param key {String} property name - **/ - static metaForProperty(key: string): {}; - - /** - Iterate over each computed property for the class, passing its name and any - associated metadata (see metaForProperty) to the callback. - - @method eachComputedProperty - @static - @param {Function} callback - @param {Object} binding - **/ - static eachComputedProperty(callback: Function, binding: {}): void; - } - class DAG { - add(name: string): any; - map(name: string, value: any): void; - addEdge(fromName: string, toName: string): void; - topsort(fn: Function): void; - addEdges(name: string, value: any, before: any, after: any): void; - names: any[]; - vertices: {}; - } - function DEFAULT_GETTER_FUNCTION(name: string): Function; - /** - The DefaultResolver defines the default lookup rules to resolve container lookups before consulting - the container for registered items: - templates are looked up on Ember.TEMPLATES - other names are looked up on the application after converting the name. - For example, controller:post looks up App.PostController by default. - **/ - class DefaultResolver { - resolve(fullName: string): {}; - namespace: Application; - } - /** - Objects of this type can implement an interface to respond to requests to get and set. - The default implementation handles simple properties. - You generally won't need to create or subclass this directly. - **/ - class Descriptor {} - namespace ENV { - const EXTEND_PROTOTYPES: typeof Ember.EXTEND_PROTOTYPES; - const LOG_BINDINGS: boolean; - const LOG_STACKTRACE_ON_DEPRECATION: boolean; - const LOG_VERSION: boolean; - const MODEL_FACTORY_INJECTIONS: boolean; - const RAISE_ON_DEPRECATION: boolean; - } - namespace EXTEND_PROTOTYPES { - const Array: boolean; - const Function: boolean; - const String: boolean; - } - /** - This is the object instance returned when you get the @each property on an array. It uses - the unknownProperty handler to automatically create EachArray instances for property names. - **/ - class EachProxy extends Object { - static detect(obj: any): boolean; - static detectInstance(obj: any): boolean; - /** - Iterate over each computed property for the class, passing its name and any - associated metadata (see metaForProperty) to the callback. - **/ - static eachComputedProperty(callback: Function, binding: {}): void; - /** - Returns the original hash that was passed to meta(). - @param key property name - **/ - static metaForProperty(key: string): {}; - static isClass: boolean; - static isMethod: boolean; - unknownProperty(keyName: string, value: any): any[]; - } - /** - This mixin defines the common interface implemented by enumerable objects in Ember. Most of these - methods follow the standard Array iteration API defined up to JavaScript 1.8 (excluding language-specific - features that cannot be emulated in older versions of JavaScript). - This mixin is applied automatically to the Array class on page load, so you can use any of these methods - on simple arrays. If Array already implements one of these methods, the mixin will not override them. - **/ - class Enumerable { - addEnumerableObserver(target: any, opts: EnumerableConfigurationOptions): Enumerable; - any(callback: ItemIndexEnumerableCallback, target?: any): boolean; - anyBy(key: string, value?: string): boolean; - someProperty(key: string, value?: string): boolean; - compact(): any[]; - contains(obj: any): boolean; - enumerableContentDidChange( - start: number, - removing: Enumerable | number, - adding: Enumerable | number - ): any; - enumerableContentDidChange(removing: Enumerable | number, adding: Enumerable | number): any; - enumerableContentWillChange( - removing: Enumerable | number, - adding: Enumerable | number - ): Enumerable; - every(callback: ItemIndexEnumerableCallback, target?: any): boolean; - everyBy(key: string, value?: string): boolean; - everyProperty(key: string, value?: string): boolean; - filter(callback: ItemIndexEnumerableCallback, target: any): any[]; - filterBy(key: string, value?: string): any[]; - find(callback: ItemIndexEnumerableCallback, target: any): any; - findBy(key: string, value?: string): any; - forEach(callback: ItemIndexEnumerableCallback, target?: any): any; - getEach(key: string): any[]; - invoke(methodName: string, ...args: any[]): any[]; - map: ItemIndexEnumerableCallbackTarget; - mapBy(key: string): any[]; - nextObject(index: number, previousObject: any, context: any): any; - reduce(callback: ReduceCallback, initialValue: any, reducerProperty: string): any; - reject: ItemIndexEnumerableCallbackTarget; - rejectBy(key: string, value?: string): any[]; - removeEnumerableObserver(target: any, opts: EnumerableConfigurationOptions): Enumerable; - setEach(key: string, value?: any): any; - some(callback: ItemIndexEnumerableCallback, target?: any): boolean; - toArray(): any[]; - uniq(): Enumerable; - without(value: any): Enumerable; - '[]': any[]; - firstObject: any; - hasEnumerableObservers: boolean; - lastObject: any; - } - /** - A subclass of the JavaScript Error object for use in Ember. - **/ - // Restore this to 'typeof Error' when https://github.com/Microsoft/TypeScript/issues/983 is resolved - // ReSharper disable once DuplicatingLocalDeclaration - const Error: any; // typeof Error; - /** - Handles delegating browser events to their corresponding Ember.Views. For example, when you click on - a view, Ember.EventDispatcher ensures that that view's mouseDown method gets called. - **/ - class EventDispatcher extends Object { - static detect(obj: any): boolean; - static detectInstance(obj: any): boolean; - /** - Iterate over each computed property for the class, passing its name and any - associated metadata (see metaForProperty) to the callback. - **/ - static eachComputedProperty(callback: Function, binding: {}): void; - /** - Returns the original hash that was passed to meta(). - @param key property name - **/ - static metaForProperty(key: string): {}; - static isClass: boolean; - static isMethod: boolean; - events: {}; - } - /** - This mixin allows for Ember objects to subscribe to and emit events. - You can also chain multiple event subscriptions. - **/ - class Evented { - has(name: string): boolean; - off(name: string, target: any, method: Function): Evented; - on(name: string, target: any, method: Function): Evented; - one(name: string, target: any, method: Function): Evented; - trigger(name: string, ...args: string[]): void; - } - const FROZEN_ERROR: string; - class Freezable { - freeze(): Freezable; - isFrozen: boolean; - } - const GUID_KEY: string; - namespace Handlebars { - function compile(string: string): Function; - function compile(environment: any, options?: any, context?: any, asObject?: any): any; - function precompile(string: string, options: any): void; - class Compiler {} - class JavaScriptCompiler {} - function registerPartial(name: string, str: any): void; - function K(): any; - function createFrame(objec: any): any; - function Exception(message: string): void; - class SafeString { - constructor(str: string); - static toString(): string; - } - function parse(string: string): any; - function print(ast: any): void; - const logger: typeof Ember.Logger; - function log(level: string, str: string): void; - } - class HashLocation extends Object { - static detect(obj: any): boolean; - static detectInstance(obj: any): boolean; - /** - Iterate over each computed property for the class, passing its name and any - associated metadata (see metaForProperty) to the callback. - **/ - static eachComputedProperty(callback: Function, binding: {}): void; - /** - Returns the original hash that was passed to meta(). - @param key property name - **/ - static metaForProperty(key: string): {}; - static isClass: boolean; - static isMethod: boolean; - } - class HistoryLocation extends Object { - static detect(obj: any): boolean; - static detectInstance(obj: any): boolean; - /** - Iterate over each computed property for the class, passing its name and any - associated metadata (see metaForProperty) to the callback. - **/ - static eachComputedProperty(callback: Function, binding: {}): void; - /** - Returns the original hash that was passed to meta(). - @param key property name - **/ - static metaForProperty(key: string): {}; - static isClass: boolean; - static isMethod: boolean; - rootURL: string; - } - const IS_BINDING: RegExp; - const inject: { - controller(name?: string): Controller; - service(name?: string): Service; - }; - class Helper extends Object { - static helper(h: (params: any, hash?: any) => any): Helper; - compute(params: any[], hash: any): any; - recompute(params: any[], hash: any): any; - } - class Instrumentation { - getProperties(obj: any, list: any[]): {}; - getProperties(obj: any, ...args: string[]): {}; - instrument(name: string, payload: any, callback: Function, binding: any): void; - reset(): void; - subscribe(pattern: string, object: any): void; - unsubscribe(subscriber: any): void; - } - const K: Function; - const LOG_BINDINGS: boolean; - const LOG_STACKTRACE_ON_DEPRECATION: boolean; - const LOG_VERSION: boolean; - class Location { - create(options?: {}): any; - registerImplementation(name: string, implementation: any): void; - } - const Logger: { - assert(param: any): void; - debug(...args: any[]): void; - error(...args: any[]): void; - info(...args: any[]): void; - log(...args: any[]): void; - warn(...args: any[]): void; - }; - function MANDATORY_SETTER_FUNCTION(value: string): void; - const META_KEY: string; - class Map { - copy(): Map; - static create(): Map; - forEach(callback: Function, self: any): void; - get(key: any): any; - has(key: any): boolean; - set(key: any, value: any): void; - length: number; - } - class MapWithDefault extends Map { - copy(): MapWithDefault; - static create(): MapWithDefault; - } - class Mixin { - apply(obj: any): any; - /** - Creates an instance of the class. - @param arguments A hash containing values with which to initialize the newly instantiated object. - **/ - static create<T extends Mixin>(...args: CoreObjectArguments[]): T; - detect(obj: any): boolean; - reopen<T extends Mixin>(args?: {}): T; - } - class MutableArray implements Array, MutableEnumberable { - addArrayObserver(target: any, opts?: EnumerableConfigurationOptions): any[]; - addEnumerableObserver(target: any, opts: EnumerableConfigurationOptions): Enumerable; - any(callback: ItemIndexEnumerableCallback, target?: any): boolean; - anyBy(key: string, value?: string): boolean; - arrayContentDidChange(startIdx: number, removeAmt: number, addAmt: number): any[]; - arrayContentWillChange(startIdx: number, removeAmt: number, addAmt: number): any[]; - someProperty(key: string, value?: string): boolean; - clear(): any[]; - compact(): any[]; - contains(obj: any): boolean; - enumerableContentDidChange( - start: number, - removing: Enumerable | number, - adding: Enumerable | number - ): any; - enumerableContentDidChange(removing: Enumerable | number, adding: Enumerable | number): any; - enumerableContentWillChange( - removing: Enumerable | number, - adding: Enumerable | number - ): Enumerable; - every(callback: ItemIndexEnumerableCallback, target?: any): boolean; - everyBy(key: string, value?: string): boolean; - everyProperty(key: string, value?: string): boolean; - filter(callback: ItemIndexEnumerableCallback, target: any): any[]; - filterBy(key: string, value?: string): any[]; - find(callback: ItemIndexEnumerableCallback, target: any): any; - findBy(key: string, value?: string): any; - forEach(callback: ItemIndexEnumerableCallback, target?: any): any; - getEach(key: string): any[]; - indexOf(object: any, startAt: number): number; - insertAt(idx: number, object: any): any[]; - invoke(methodName: string, ...args: any[]): any[]; - lastIndexOf(object: any, startAt: number): number; - map: ItemIndexEnumerableCallbackTarget; - mapBy(key: string): any[]; - nextObject(index: number, previousObject: any, context: any): any; - objectAt(idx: number): any; - objectsAt(...args: number[]): any[]; - popObject(): any; - pushObject(obj: any): any; - pushObjects(...args: any[]): any[]; - reduce(callback: ReduceCallback, initialValue: any, reducerProperty: string): any; - reject: ItemIndexEnumerableCallbackTarget; - rejectBy(key: string, value?: string): any[]; - removeArrayObserver(target: any, opts: EnumerableConfigurationOptions): any[]; - removeAt(start: number, len: number): any; - removeEnumerableObserver(target: any, opts: EnumerableConfigurationOptions): Enumerable; - replace(idx: number, amt: number, objects: any[]): any; - reverseObjects(): any[]; - setEach(key: string, value?: any): any; - setObjects(objects: any[]): any[]; - shiftObject(): any; - slice(beginIndex?: number, endIndex?: number): any[]; - some(callback: ItemIndexEnumerableCallback, target?: any): boolean; - toArray(): any[]; - uniq(): Enumerable; - unshiftObject(object: any): any; - unshiftObjects(objects: any[]): any[]; - without(value: any): Enumerable; - '[]': any[]; - '@each': EachProxy; - Boolean: boolean; - firstObject: any; - hasEnumerableObservers: boolean; - lastObject: any; - length: number; - addObject(object: any): any; - addObjects(objects: Enumerable): MutableEnumberable; - removeObject(object: any): any; - removeObjects(objects: Enumerable): MutableEnumberable; - } - class MutableEnumberable implements Enumerable { - addEnumerableObserver(target: any, opts: EnumerableConfigurationOptions): Enumerable; - addObject(object: any): any; - addObjects(objects: Enumerable): MutableEnumberable; - any(callback: ItemIndexEnumerableCallback, target?: any): boolean; - anyBy(key: string, value?: string): boolean; - someProperty(key: string, value?: string): boolean; - compact(): any[]; - contains(obj: any): boolean; - enumerableContentDidChange( - start: number, - removing: Enumerable | number, - adding: Enumerable | number - ): any; - enumerableContentDidChange(removing: Enumerable | number, adding: Enumerable | number): any; - enumerableContentWillChange( - removing: Enumerable | number, - adding: Enumerable | number - ): Enumerable; - every(callback: ItemIndexEnumerableCallback, target?: any): boolean; - everyBy(key: string, value?: string): boolean; - everyProperty(key: string, value?: string): boolean; - filter(callback: ItemIndexEnumerableCallback, target: any): any[]; - filterBy(key: string, value?: string): any[]; - find(callback: ItemIndexEnumerableCallback, target: any): any; - findBy(key: string, value?: string): any; - forEach(callback: ItemIndexEnumerableCallback, target?: any): any; - getEach(key: string): any[]; - invoke(methodName: string, ...args: any[]): any[]; - map: ItemIndexEnumerableCallbackTarget; - mapBy(key: string): any[]; - nextObject(index: number, previousObject: any, context: any): any; - reduce(callback: ReduceCallback, initialValue: any, reducerProperty: string): any; - reject: ItemIndexEnumerableCallbackTarget; - rejectBy(key: string, value?: string): any[]; - removeEnumerableObserver(target: any, opts: EnumerableConfigurationOptions): Enumerable; - removeObject(object: any): any; - removeObjects(objects: Enumerable): MutableEnumberable; - setEach(key: string, value?: any): any; - some(callback: ItemIndexEnumerableCallback, target?: any): boolean; - toArray(): any[]; - uniq(): Enumerable; - without(value: any): Enumerable; - '[]': any[]; - firstObject: any; - hasEnumerableObservers: boolean; - lastObject: any; - } - const NAME_KEY: string; - class Namespace extends Object { - static detect(obj: any): boolean; - static detectInstance(obj: any): boolean; - /** - Iterate over each computed property for the class, passing its name and any - associated metadata (see metaForProperty) to the callback. - **/ - static eachComputedProperty(callback: Function, binding: {}): void; - /** - Returns the original hash that was passed to meta(). - @param key property name - **/ - static metaForProperty(key: string): {}; - static isClass: boolean; - static isMethod: boolean; - } - class NativeArray implements MutableArray, Observable, Copyable { - constructor(arr: any[]); - static activate(): void; - addArrayObserver(target: any, opts?: EnumerableConfigurationOptions): any[]; - addEnumerableObserver(target: any, opts: EnumerableConfigurationOptions): Enumerable; - any(callback: ItemIndexEnumerableCallback, target?: any): boolean; - anyBy(key: string, value?: string): boolean; - arrayContentDidChange(startIdx: number, removeAmt: number, addAmt: number): any[]; - arrayContentWillChange(startIdx: number, removeAmt: number, addAmt: number): any[]; - someProperty(key: string, value?: any): boolean; - clear(): any[]; - compact(): any[]; - contains(obj: any): boolean; - enumerableContentDidChange( - start: number, - removing: Enumerable | number, - adding: Enumerable | number - ): any; - enumerableContentDidChange(removing: Enumerable | number, adding: Enumerable | number): any; - enumerableContentWillChange( - removing: Enumerable | number, - adding: Enumerable | number - ): Enumerable; - every(callback: ItemIndexEnumerableCallback, target?: any): boolean; - everyBy(key: string, value?: string): boolean; - everyProperty(key: string, value?: any): boolean; - filter(callback: ItemIndexEnumerableCallback, target: any): any[]; - filterBy(key: string, value?: string): any[]; - find(callback: ItemIndexEnumerableCallback, target: any): any; - findBy(key: string, value?: string): any; - forEach(callback: ItemIndexEnumerableCallback, target?: any): any; - getEach(key: string): any[]; - indexOf(object: any, startAt: number): number; - insertAt(idx: number, object: any): any[]; - invoke(methodName: string, ...args: any[]): any[]; - lastIndexOf(object: any, startAt: number): number; - map: ItemIndexEnumerableCallbackTarget; - mapBy(key: string): any[]; - nextObject(index: number, previousObject: any, context: any): any; - objectAt(idx: number): any; - objectsAt(...args: number[]): any[]; - popObject(): any; - pushObject(obj: any): any; - pushObjects(...args: any[]): any[]; - reduce(callback: ReduceCallback, initialValue: any, reducerProperty: string): any; - reject: ItemIndexEnumerableCallbackTarget; - rejectBy(key: string, value?: string): any[]; - removeArrayObserver(target: any, opts: EnumerableConfigurationOptions): any[]; - removeAt(start: number, len: number): any; - removeEnumerableObserver(target: any, opts: EnumerableConfigurationOptions): Enumerable; - replace(idx: number, amt: number, objects: any[]): any; - reverseObjects(): any[]; - setEach(key: string, value?: any): any; - setObjects(objects: any[]): any[]; - shiftObject(): any; - slice(beginIndex?: number, endIndex?: number): any[]; - some(callback: ItemIndexEnumerableCallback, target?: any): boolean; - toArray(): any[]; - uniq(): Enumerable; - unshiftObject(object: any): any; - unshiftObjects(objects: any[]): any[]; - without(value: any): Enumerable; - '[]': any[]; - '@each': EachProxy; - Boolean: boolean; - firstObject: any; - hasEnumerableObservers: boolean; - lastObject: any; - length: number; - addObject(object: any): any; - addObjects(objects: Enumerable): MutableEnumberable; - removeObject(object: any): any; - removeObjects(objects: Enumerable): MutableEnumberable; - addObserver: ModifyObserver; - beginPropertyChanges(): Observable; - cacheFor(keyName: string): any; - decrementProperty(keyName: string, decrement?: number): number; - endPropertyChanges(): Observable; - get(keyName: string): any; - getProperties(...args: string[]): {}; - getProperties(keys: string[]): {}; - getWithDefault(keyName: string, defaultValue: any): any; - hasObserverFor(key: string): boolean; - incrementProperty(keyName: string, increment?: number): number; - notifyPropertyChange(keyName: string): Observable; - propertyDidChange(keyName: string): Observable; - propertyWillChange(keyName: string): Observable; - removeObserver(key: string, target: any, method: Function | string): void; - set(keyName: string, value: any): Observable; - setProperties(hash: {}): Observable; - toggleProperty(keyName: string): any; - copy(deep: boolean): Copyable; - frozenCopy(): Copyable; - } - class NoneLocation extends Object { - static detect(obj: any): boolean; - static detectInstance(obj: any): boolean; - /** - Iterate over each computed property for the class, passing its name and any - associated metadata (see metaForProperty) to the callback. - **/ - static eachComputedProperty(callback: Function, binding: {}): void; - /** - Returns the original hash that was passed to meta(). - @param key property name - **/ - static metaForProperty(key: string): {}; - static isClass: boolean; - static isMethod: boolean; - } - const ORDER_DEFINITION: string[]; - class Object extends CoreObject implements Observable { - addObserver: ModifyObserver; - beginPropertyChanges(): Observable; - cacheFor(keyName: string): any; - decrementProperty(keyName: string, decrement?: number): number; - endPropertyChanges(): Observable; - - /** - * Retrieves the value of a property from the object - * @param keyName - * @returns {} + * Given a fullName return a factory manager. */ - get(keyName: string): any; + interface _ContainerProxyMixin { + /** + * Returns an object that can be used to provide an owner to a + * manually created instance. + */ + ownerInjection(): {}; + /** + * Given a fullName return a corresponding instance. + */ + lookup(fullName: string, options: {}): any; + } + const _ContainerProxyMixin: Mixin<_ContainerProxyMixin>; /** - * Retrieves the value of a property from the object - * @param keyName - * @returns {} + * RegistryProxyMixin is used to provide public access to specific + * registry functionality. */ - get<T>(keyName: string): T; - - getProperties(...args: string[]): {}; - getProperties(keys: string[]): {}; - getWithDefault(keyName: string, defaultValue: any): any; - hasObserverFor(key: string): boolean; - incrementProperty(keyName: string, increment?: number): number; - notifyPropertyChange(keyName: string): Observable; - propertyDidChange(keyName: string): Observable; - propertyWillChange(keyName: string): Observable; - removeObserver(key: string, target: any, method: Function | string): Observable; - set(keyName: string, value: any): Observable; - setProperties(hash: {}): Observable; - toggleProperty(keyName: string): any; - } - class ObjectProxy extends Object { - static detect(obj: any): boolean; - static detectInstance(obj: any): boolean; - /** - Iterate over each computed property for the class, passing its name and any - associated metadata (see metaForProperty) to the callback. - **/ - static eachComputedProperty(callback: Function, binding: {}): void; - /** - Returns the original hash that was passed to meta(). - @param key property name - **/ - static metaForProperty(key: string): {}; - static isClass: boolean; - static isMethod: boolean; - /** - The object whose properties will be forwarded. - **/ - content: Object; - } - class Observable { - addObserver: ModifyObserver; - beginPropertyChanges(): Observable; - cacheFor(keyName: string): any; - decrementProperty(keyName: string, decrement?: number): number; - endPropertyChanges(): Observable; - get(keyName: string): any; - getProperties(...args: string[]): {}; - getProperties(keys: string[]): {}; - getWithDefault(keyName: string, defaultValue: any): any; - hasObserverFor(key: string): boolean; - incrementProperty(keyName: string, increment?: number): number; - notifyPropertyChange(keyName: string): Observable; - propertyDidChange(keyName: string): Observable; - propertyWillChange(keyName: string): Observable; - removeObserver(key: string, target: {}, method: Function | string): void; - set(keyName: string, value: any): Observable; - setProperties(hash: {}): Observable; - /** - Set the value of a boolean property to the opposite of its current value. - */ - toggleProperty(keyName: string): boolean; - } - class OrderedSet { - add(obj: any): void; - clear(): void; - copy(): OrderedSet; - static create(): OrderedSet; - forEach(fn: Function, self: any): void; - has(obj: any): boolean; - isEmpty(): boolean; - toArray(): any[]; - } - class Registry { - constructor(options: any); - static set: typeof Ember.set; - } - - // FYI - RSVP source comes from https://github.com/tildeio/rsvp.js/blob/master/lib/rsvp/promise.js - const RSVP: typeof Rsvp; - - /** - The `Ember.Route` class is used to define individual routes. Refer to - the [routing guide](http://emberjs.com/guides/routing/) for documentation. - */ - class Route extends Object implements ActionHandlerMixin, Evented { - static isClass: boolean; - static isMethod: boolean; - - /** - This hook is executed when the router enters the route. It is not executed - when the model for the route changes. - @method activate - */ - activate: Function; - - /** - This hook is called after this route's model has resolved. - It follows identical async/promise semantics to `beforeModel` - but is provided the route's resolved model in addition to - the `transition`, and is therefore suited to performing - logic that can only take place after the model has already - resolved. - - Refer to documentation for `beforeModel` for a description - of transition-pausing semantics when a promise is returned - from this hook. - @method afterModel - @param {Object} resolvedModel the value returned from `model`, - or its resolved value if it was a promise - @param {Transition} transition - @return {Promise} if the value returned from this hook is - a promise, the transition will pause until the transition - resolves. Otherwise, non-promise return values are not - utilized in any way. - */ - afterModel(resolvedModel: any, transition: EmberStates.Transition): Rsvp.Promise<any, any>; - - /** - This hook is the first of the route entry validation hooks - called when an attempt is made to transition into a route - or one of its children. It is called before `model` and - `afterModel`, and is appropriate for cases when: - 1) A decision can be made to redirect elsewhere without - needing to resolve the model first. - 2) Any async operations need to occur first before the - model is attempted to be resolved. - This hook is provided the current `transition` attempt - as a parameter, which can be used to `.abort()` the transition, - save it for a later `.retry()`, or retrieve values set - on it from a previous hook. You can also just call - `this.transitionTo` to another route to implicitly - abort the `transition`. - You can return a promise from this hook to pause the - transition until the promise resolves (or rejects). This could - be useful, for instance, for retrieving async code from - the server that is required to enter a route. - - @method beforeModel - @param {Transition} transition - @return {Promise} if the value returned from this hook is - a promise, the transition will pause until the transition - resolves. Otherwise, non-promise return values are not - utilized in any way. - */ - beforeModel(transition: EmberStates.Transition): Rsvp.Promise<any, any>; - - /** - The controller associated with this route. - - @property controller - @type Ember.Controller - @since 1.6.0 - */ - controller: Controller; - - /** - Returns the controller for a particular route or name. - The controller instance must already have been created, either through entering the - associated route or using `generateController`. - - @method controllerFor - @param {String} name the name of the route or controller - @return {Ember.Controller} - */ - controllerFor(name: string): Controller; - - /** - The name of the controller to associate with this route. - By default, Ember will lookup a route's controller that matches the name - of the route (i.e. `App.PostController` for `App.PostRoute`). However, - if you would like to define a specific controller to use, you can do so - using this property. - This is useful in many ways, as the controller specified will be: - * passed to the `setupController` method. - * used as the controller for the view being rendered by the route. - * returned from a call to `controllerFor` for the route. - @property controllerName - @type String - @default null - @since 1.4.0 - */ - controllerName: string; - - /** - This hook is executed when the router completely exits this route. It is - not executed when the model for the route changes. - @method deactivate - */ - deactivate: Function; - - /** - Deserializes value of the query parameter based on defaultValueType - @method deserializeQueryParam - @param {Object} value - @param {String} urlKey - @param {String} defaultValueType - */ - deserializeQueryParam(value: any, urlKey: string, defaultValueType: string): any; - - /** - Disconnects a view that has been rendered into an outlet. - You may pass any or all of the following options to `disconnectOutlet`: - * `outlet`: the name of the outlet to clear (default: 'main') - * `parentView`: the name of the view containing the outlet to clear - (default: the view rendered by the parent route) - - @method disconnectOutlet - @param {Object|String} options the options hash or outlet name - */ - disconnectOutlet(options: DisconnectOutletOptions | string): void; - - /** - @method findModel - @param {String} type the model type - @param {Object} value the value passed to find - */ - findModel(type: string, value: any): any; - - /** - Generates a controller for a route. - If the optional model is passed then the controller type is determined automatically, - e.g., an ArrayController for arrays. - - @method generateController - @param {String} name the name of the controller - @param {Object} model the model to infer the type of the controller (optional) - */ - generateController(name: string, model: {}): Controller; - - /** - Perform a synchronous transition into another route without attempting - to resolve promises, update the URL, or abort any currently active - asynchronous transitions (i.e. regular transitions caused by - `transitionTo` or URL changes). - This method is handy for performing intermediate transitions on the - way to a final destination route, and is called internally by the - default implementations of the `error` and `loading` handlers. - @method intermediateTransitionTo - @param {String} name the name of the route - @param {...Object} models the model(s) to be used while transitioning - to the route. - @since 1.2.0 - */ - intermediateTransitionTo(name: string, ...models: any[]): void; - - /** - A hook you can implement to convert the URL into the model for - this route. - - @method model - @param {Object} params the parameters extracted from the URL - @param {Transition} transition - @return {Object|Promise} the model for this route. If - a promise is returned, the transition will pause until - the promise resolves, and the resolved value of the promise - will be used as the model for this route. - */ - model(params: {}, transition: EmberStates.Transition): any | Rsvp.Promise<any, any>; - - /** - Returns the model of a parent (or any ancestor) route - in a route hierarchy. During a transition, all routes - must resolve a model object, and if a route - needs access to a parent route's model in order to - resolve a model (or just reuse the model from a parent), - it can call `this.modelFor(theNameOfParentRoute)` to - retrieve it. - - @method modelFor - @param {String} name the name of the route - @return {Object} the model object - */ - modelFor(name: string): {}; - - /** - Retrieves parameters, for current route using the state.params - variable and getQueryParamsFor, using the supplied routeName. - @method paramsFor - @param {String} name - */ - paramsFor(name: string): any; - - /** - Configuration hash for this route's queryParams. - @property queryParams - @for Ember.Route - @type Hash - */ - queryParams: {}; - - /** - Refresh the model on this route and any child routes, firing the - `beforeModel`, `model`, and `afterModel` hooks in a similar fashion - to how routes are entered when transitioning in from other route. - The current route params (e.g. `article_id`) will be passed in - to the respective model hooks, and if a different model is returned, - `setupController` and associated route hooks will re-fire as well. - An example usage of this method is re-querying the server for the - latest information using the same parameters as when the route - was first entered. - Note that this will cause `model` hooks to fire even on routes - that were provided a model object when the route was initially - entered. - @method refresh - @return {Transition} the transition object associated with this - attempted transition - @since 1.4.0 - */ - redirect(): EmberStates.Transition; - - /** - Refresh the model on this route and any child routes, firing the - `beforeModel`, `model`, and `afterModel` hooks in a similar fashion - to how routes are entered when transitioning in from other route. - The current route params (e.g. `article_id`) will be passed in - to the respective model hooks, and if a different model is returned, - `setupController` and associated route hooks will re-fire as well. - An example usage of this method is re-querying the server for the - latest information using the same parameters as when the route - was first entered. - Note that this will cause `model` hooks to fire even on routes - that were provided a model object when the route was initially - entered. - @method refresh - @return {Transition} the transition object associated with this - attempted transition - @since 1.4.0 - */ - refresh(): EmberStates.Transition; - - /** - `render` is used to render a template into a region of another template - (indicated by an `{{outlet}}`). `render` is used both during the entry - phase of routing (via the `renderTemplate` hook) and later in response to - user interaction. - - @method render - @param {String} name the name of the template to render - @param {Object} [options] the options - @param {String} [options.into] the template to render into, - referenced by name. Defaults to the parent template - @param {String} [options.outlet] the outlet inside `options.template` to render into. - Defaults to 'main' - @param {String|Object} [options.controller] the controller to use for this template, - referenced by name or as a controller instance. Defaults to the Route's paired controller - @param {Object} [options.model] the model object to set on `options.controller`. - Defaults to the return value of the Route's model hook - */ - render(name: string, options?: RenderOptions): void; - - /** - A hook you can use to render the template for the current route. - This method is called with the controller for the current route and the - model supplied by the `model` hook. By default, it renders the route's - template, configured with the controller for the route. - This method can be overridden to set up and render additional or - alternative templates. - - @method renderTemplate - @param {Object} controller the route's controller - @param {Object} model the route's model - */ - renderTemplate(controller: Controller, model: {}): void; - - /** - Transition into another route while replacing the current URL, if possible. - This will replace the current history entry instead of adding a new one. - Beside that, it is identical to `transitionTo` in all other respects. See - 'transitionTo' for additional information regarding multiple models. - - @method replaceWith - @param {String} name the name of the route or a URL - @param {...Object} models the model(s) or identifier(s) to be used while - transitioning to the route. - @return {Transition} the transition object associated with this - attempted transition - */ - replaceWith(name: string, ...models: any[]): void; - - /** - A hook you can use to reset controller values either when the model - changes or the route is exiting. - - @method resetController - @param {Controller} controller instance - @param {Boolean} isExiting - @param {Object} transition - @since 1.7.0 - */ - resetController(controller: Ember.Controller, isExiting: boolean, transition: any): void; - - /** - A hook you can implement to convert the route's model into parameters - for the URL. - - The default `serialize` method will insert the model's `id` into the - route's dynamic segment (in this case, `:post_id`) if the segment contains '_id'. - If the route has multiple dynamic segments or does not contain '_id', `serialize` - will return `Ember.getProperties(model, params)` - This method is called when `transitionTo` is called with a context - in order to populate the URL. - @method serialize - @param {Object} model the route's model - @param {Array} params an Array of parameter names for the current - route (in the example, `['post_id']`. - @return {Object} the serialized parameters - */ - serialize(model: {}, params: string[]): string; - - /** - Serializes value of the query parameter based on defaultValueType - @method serializeQueryParam - @param {Object} value - @param {String} urlKey - @param {String} defaultValueType - */ - serializeQueryParam(value: any, urlKey: string, defaultValueType: string): string; - - /** - Serializes the query parameter key - @method serializeQueryParamKey - @param {String} controllerPropertyName - */ - serializeQueryParamKey(controllerPropertyName: string): string; - - /** - A hook you can use to setup the controller for the current route. - This method is called with the controller for the current route and the - model supplied by the `model` hook. - By default, the `setupController` hook sets the `model` property of - the controller to the `model`. - If you implement the `setupController` hook in your Route, it will - prevent this default behavior. If you want to preserve that behavior - when implementing your `setupController` function, make sure to call - `_super` - @method setupController - @param {Controller} controller instance - @param {Object} model - */ - setupController(controller: Controller, model: {}): void; - - /** - Store property provides a hook for data persistence libraries to inject themselves. - By default, this store property provides the exact same functionality previously - in the model hook. - Currently, the required interface is: - `store.find(modelName, findArguments)` - @method store - @param {Object} store - */ - store(store: any): any; - - /** - The name of the template to use by default when rendering this routes - template. - This is similar with `viewName`, but is useful when you just want a custom - template without a view. - - @property templateName - @type String - @default null - @since 1.4.0 - */ - templateName: string; - - /** - Transition the application into another route. The route may - be either a single route or route path - - @method transitionTo - @param {String} name the name of the route or a URL - @param {...Object} models the model(s) or identifier(s) to be used while - transitioning to the route. - @param {Object} [options] optional hash with a queryParams property - containing a mapping of query parameters - @return {Transition} the transition object associated with this - attempted transition - */ - transitionTo(name: string, ...object: any[]): EmberStates.Transition; - - /** - The name of the view to use by default when rendering this routes template. - When rendering a template, the route will, by default, determine the - template and view to use from the name of the route itself. If you need to - define a specific view, set this property. - This is useful when multiple routes would benefit from using the same view - because it doesn't require a custom `renderTemplate` method. - @property viewName - @type String - @default null - @since 1.4.0 - */ - viewName: string; - - // ActionHandlerMixin methods - - /** - Sends an action to the router, which will delegate it to the currently - active route hierarchy per the bubbling rules explained under actions - - @method send - @param {String} actionName The action to trigger - @param {*} context a context to send with the action - */ - send(name: string, ...args: any[]): void; - - /** - The collection of functions, keyed by name, available on this - `ActionHandler` as action targets. - These functions will be invoked when a matching `{{action}}` is triggered - from within a template and the application's current route is this route. - Actions can also be invoked from other parts of your application - via `ActionHandler#send`. - The `actions` hash will inherit action handlers from - the `actions` hash defined on extended parent classes - or mixins rather than just replace the entire hash. - - Within a Controller, Route, View or Component's action handler, - the value of the `this` context is the Controller, Route, View or - Component object: - - It is also possible to call `this._super.apply(this, arguments)` from within an - action handler if it overrides a handler defined on a parent - class or mixin. - - ## Bubbling - By default, an action will stop bubbling once a handler defined - on the `actions` hash handles it. To continue bubbling the action, - you must return `true` from the handler - - @property actions - @type Hash - @default null - */ - actions: ActionsHash; - - // Evented methods - - /** - Subscribes to a named event with given function. - - An optional target can be passed in as the 2nd argument that will - be set as the "this" for the callback. This is a good way to give your - function access to the object triggering the event. When the target - parameter is used the callback becomes the third argument. - - @method on - @param {String} name The name of the event - @param {Object} [target] The "this" binding for the callback - @param {Function} method The callback to execute - @return this - */ - on(name: string, target: any, method: Function): Evented; - - /** - Subscribes a function to a named event and then cancels the subscription - after the first time the event is triggered. It is good to use ``one`` when - you only care about the first time an event has taken place. - This function takes an optional 2nd argument that will become the "this" - value for the callback. If this argument is passed then the 3rd argument - becomes the function. - - @method one - @param {String} name The name of the event - @param {Object} [target] The "this" binding for the callback - @param {Function} method The callback to execute - @return this - */ - one(name: string, target: any, method: Function): Evented; - - /** - Triggers a named event for the object. Any additional arguments - will be passed as parameters to the functions that are subscribed to the - event. - - @method trigger - @param {String} name The name of the event - @param {Object...} args Optional arguments to pass on - */ - trigger(name: string, ...args: string[]): void; - - /** - Cancels subscription for given name, target, and method. - - @method off - @param {String} name The name of the event - @param {Object} target The target of the subscription - @param {Function} method The function of the subscription - @return this - */ - off(name: string, target: any, method: Function): Evented; - - /** - Checks to see if object has any subscriptions for named event. - - @method has - @param {String} name The name of the event - @return {Boolean} does the object have a subscription for event - */ - has(name: string): boolean; - } - - class Router extends Object { - static detect(obj: any): boolean; - static detectInstance(obj: any): boolean; - /** - Iterate over each computed property for the class, passing its name and any - associated metadata (see metaForProperty) to the callback. - **/ - static eachComputedProperty(callback: Function, binding: {}): void; - /** - Returns the original hash that was passed to meta(). - @param key property name - **/ - static metaForProperty(key: string): {}; - static isClass: boolean; - static isMethod: boolean; - map(callback: Function): Router; - } - class RouterDSL { - resource(name: string, options?: {}, callback?: Function): void; - resource(name: string, callback: Function): void; - route(name: string, options?: {}): void; - explicitIndex: boolean; - router: Router; - options: any; - } - class Service extends CoreObject implements Observable { - /* Observable */ - addObserver: ModifyObserver; - beginPropertyChanges(): Observable; - cacheFor(keyName: string): any; - decrementProperty(keyName: string, decrement?: number): number; - endPropertyChanges(): Observable; - get(keyName: string): any; - getProperties(...args: string[]): {}; - getProperties(keys: string[]): {}; - getWithDefault(keyName: string, defaultValue: any): any; - hasObserverFor(key: string): boolean; - incrementProperty(keyName: string, increment?: number): number; - notifyPropertyChange(keyName: string): Observable; - propertyDidChange(keyName: string): Observable; - propertyWillChange(keyName: string): Observable; - removeObserver(key: string, target: {}, method: Function | string): void; - set(keyName: string, value: any): Observable; - setProperties(hash: {}): Observable; - toggleProperty(keyName: string): boolean; - /* /Observable */ - } - const STRINGS: boolean; - class State extends Object implements Evented { - static detect(obj: any): boolean; - static detectInstance(obj: any): boolean; - /** - Iterate over each computed property for the class, passing its name and any - associated metadata (see metaForProperty) to the callback. - **/ - static eachComputedProperty(callback: Function, binding: {}): void; - /** - Returns the original hash that was passed to meta(). - @param key property name - **/ - static metaForProperty(key: string): {}; - static isClass: boolean; - static isMethod: boolean; - has(name: string): boolean; - off(name: string, target: any, method: Function): State; - on(name: string, target: any, method: Function): State; - one(name: string, target: any, method: Function): State; - trigger(name: string, ...args: string[]): void; - getPathsCache(stateManager: {}, path: string): {}; - init(): void; - setPathsCache(stateManager: {}, path: string, transitions: any): void; - static transitionTo(target: string): void; - hasContext: boolean; - isLeaf: boolean; - name: string; - parentState: State; - path: string; - enter: Function; - exit: Function; - setup: Function; - } - class StateManager extends State { - static detect(obj: any): boolean; - static detectInstance(obj: any): boolean; - /** - Iterate over each computed property for the class, passing its name and any - associated metadata (see metaForProperty) to the callback. - **/ - static eachComputedProperty(callback: Function, binding: {}): void; - /** - Returns the original hash that was passed to meta(). - @param key property name - **/ - static metaForProperty(key: string): {}; - static isClass: boolean; - static isMethod: boolean; - contextFreeTransition(currentState: State, path: string): TransitionsHash; - enterState(transition: TransitionsHash): void; - getState(name: string): State; - getStateByPath(root: State, path: string): State; - getStateMeta(state: State, key: string): any; - getStatesInPath(root: State, path: string): State[]; - goToState(path: string, context: any): void; - send(event: string): void; - setStateMeta(state: State, key: string, value: any): any; - stateMetaFor(state: State): {}; - transitionTo(path: string, context: any): void; - triggerSetupContext(transitions: TransitionsHash): void; - unhandledEvent(manager: StateManager, event: string): any; - currentPath: string; - currentState: State; - errorOnUnhandledEvents: boolean; - transitionEvent: string; - } - namespace String { - function camelize(str: string): string; - function capitalize(str: string): string; - function classify(str: string): string; - function dasherize(str: string): string; - function decamelize(str: string): string; - function fmt(...args: string[]): string; - function htmlSafe(str: string): void; // TODO: @returns Handlebars.SafeStringStatic; - function loc(...args: string[]): string; - function underscore(str: string): string; - function w(str: string): string[]; - } - const TEMPLATES: {}; - class TargetActionSupport { - triggerAction(opts: {}): boolean; - } - namespace Test { - class Adapter extends Ember.Object { - constructor(); + interface _RegistryProxyMixin { + /** + * Given a fullName return the corresponding factory. + */ + resolveRegistration(fullName: string): Function; + /** + * Registers a factory that can be used for dependency injection (with + * `inject`) or for service lookup. Each factory is registered with + * a full name including two parts: `type:name`. + */ + register(fullName: string, factory: Function, options: {}): any; + /** + * Unregister a factory. + */ + unregister(fullName: string): any; + /** + * Check if a factory is registered. + */ + hasRegistration(fullName: string): boolean; + /** + * Register an option for a particular factory. + */ + registerOption(fullName: string, optionName: string, options: {}): any; + /** + * Return a specific registered option for a particular factory. + */ + registeredOption(fullName: string, optionName: string): {}; + /** + * Register options for a particular factory. + */ + registerOptions(fullName: string, options: {}): any; + /** + * Return registered options for a particular factory. + */ + registeredOptions(fullName: string): {}; + /** + * Allow registering options for all factories of a type. + */ + registerOptionsForType(type: string, options: {}): any; + /** + * Return the registered options for all factories of a type. + */ + registeredOptionsForType(type: string): {}; + /** + * Define a dependency injection onto a specific factory or all factories + * of a type. + */ + inject(factoryNameOrType: string, property: string, injectionName: string): any; } - class Promise<T, U> extends Rsvp.Promise<T, U> { - constructor(); + const _RegistryProxyMixin: Mixin<_RegistryProxyMixin>; + /** + Ember.ActionHandler is available on some familiar classes including Ember.Route, + Ember.Component, and Ember.Controller. (Internally the mixin is used by Ember.CoreView, + Ember.ControllerMixin, and Ember.Route and available to the above classes through inheritance.) + **/ + interface ActionHandler { + /** + Triggers a named action on the ActionHandler. Any parameters supplied after the actionName + string will be passed as arguments to the action target function. + + If the ActionHandler has its target property set, actions may bubble to the target. + Bubbling happens when an actionName can not be found in the ActionHandler's actions + hash or if the action target function returns true. + **/ + send(actionName: string, ...args: any[]): void; + /** + The collection of functions, keyed by name, available on this ActionHandler as action targets. + **/ + actions: ActionsHash; } - function oninjectHelpers(callback: Function): void; - function promise<T, U>(resolver: (a: T) => any, label: string): Ember.Test.Promise<T, U>; - function unregisterHelper(name: string): void; - function registerHelper(name: string, helperMethod: Function): void; - function registerAsyncHelper(name: string, helperMethod: Function): void; - - const adapter: Object; - const QUnitAdapter: Object; - - function registerWaiter(callback: Function): void; - function registerWaiter(context: any, callback: Function): void; - function unregisterWaiter(callback: Function): void; - function unregisterWaiter(context: any, callback: Function): void; - - function resolve<T>(result: T): Ember.Test.Promise<T, void>; - } - class TextArea extends Component implements TextSupport { - static detect(obj: any): boolean; - static detectInstance(obj: any): boolean; + const ActionHandler: Ember.Mixin<ActionHandler>; /** - Iterate over each computed property for the class, passing its name and any - associated metadata (see metaForProperty) to the callback. + An instance of Ember.Application is the starting point for every Ember application. It helps to + instantiate, initialize and coordinate the many objects that make up your app. **/ - static eachComputedProperty(callback: Function, binding: {}): void; + class Application extends Namespace { + /** + Call advanceReadiness after any asynchronous setup logic has completed. + Each call to deferReadiness must be matched by a call to advanceReadiness + or the application will never become ready and routing will not begin. + **/ + advanceReadiness(): void; + /** + Use this to defer readiness until some condition is true. + + This allows you to perform asynchronous setup logic and defer + booting your application until the setup has finished. + + However, if the setup requires a loading UI, it might be better + to use the router for this purpose. + */ + deferReadiness(): void; + /** + defines an injection or typeInjection + **/ + inject(factoryNameOrType: string, property: string, injectionName: string): void; + /** + This injects the test helpers into the window's scope. If a function of the + same name has already been defined it will be cached (so that it can be reset + if the helper is removed with `unregisterHelper` or `removeTestHelpers`). + Any callbacks registered with `onInjectHelpers` will be called once the + helpers have been injected. + **/ + injectTestHelpers(): void; + /** + registers a factory for later injection + @param fullName type:name (e.g., 'model:user') + @param factory (e.g., App.Person) + **/ + register(fullName: string, factory: Function, options?: {}): void; + /** + This removes all helpers that have been registered, and resets and functions + that were overridden by the helpers. + **/ + removeTestHelpers(): void; + /** + Reset the application. This is typically used only in tests. + **/ + reset(): void; + /** + This hook defers the readiness of the application, so that you can start + the app when your tests are ready to run. It also sets the router's + location to 'none', so that the window's location will not be modified + (preventing both accidental leaking of state between tests and interference + with your testing framework). + **/ + setupForTesting(): void; + /** + The DOM events for which the event dispatcher should listen. + */ + customEvents: EventDispatcherEvents; + /** + The Ember.EventDispatcher responsible for delegating events to this application's views. + **/ + eventDispatcher: EventDispatcher; + /** + Set this to provide an alternate class to Ember.DefaultResolver + **/ + resolver: DefaultResolver; + /** + The root DOM element of the Application. This can be specified as an + element or a jQuery-compatible selector string. + + This is the element that will be passed to the Application's, eventDispatcher, + which sets up the listeners for event delegation. Every view in your application + should be a child of the element you specify here. + **/ + rootElement: HTMLElement | string; + /** + Called when the Application has become ready. + The call will be delayed until the DOM has become ready. + **/ + ready: Function; + /** + Application's router. + **/ + Router: Router; + registry: Registry; + } /** - Returns the original hash that was passed to meta(). - @param key property name + The `ApplicationInstance` encapsulates all of the stateful aspects of a + running `Application`. **/ - static metaForProperty(key: string): {}; - static isClass: boolean; - static isMethod: boolean; - cancel(event: Function): void; - focusIn(event: Function): void; - focusOut(event: Function): void; - insertNewLine(event: Function): void; - keyPress(event: Function): void; - action: string; - bubbles: boolean; - onEvent: string; - } - class TextField extends Component implements TextSupport { - static detect(obj: any): boolean; - static detectInstance(obj: any): boolean; + class ApplicationInstance extends EngineInstance {} /** - Iterate over each computed property for the class, passing its name and any - associated metadata (see metaForProperty) to the callback. + This module implements Observer-friendly Array-like behavior. This mixin is picked up by the + Array class as well as other controllers, etc. that want to appear to be arrays. **/ - static eachComputedProperty(callback: Function, binding: {}): void; + interface Array<T> extends Enumerable<T> { + /** + * __Required.__ You must implement this method to apply this mixin. + */ + length: number | ComputedProperty<number>; + /** + * Returns the object at the given `index`. If the given `index` is negative + * or is greater or equal than the array length, returns `undefined`. + */ + objectAt(idx: number): T | undefined; + /** + * This returns the objects at the specified indexes, using `objectAt`. + */ + objectsAt(indexes: number[]): Ember.Array<T>; + /** + * Returns a new array that is a slice of the receiver. This implementation + * uses the observable array methods to retrieve the objects for the new + * slice. + */ + slice(beginIndex?: number, endIndex?: number): T[]; + /** + * Returns the index of the given object's first occurrence. + * If no `startAt` argument is given, the starting location to + * search is 0. If it's negative, will count backward from + * the end of the array. Returns -1 if no match is found. + */ + indexOf(searchElement: T, fromIndex?: number): number; + /** + * Returns the index of the given object's last occurrence. + * If no `startAt` argument is given, the search starts from + * the last position. If it's negative, will count backward + * from the end of the array. Returns -1 if no match is found. + */ + lastIndexOf(searchElement: T, fromIndex?: number): number; + /** + * Adds an array observer to the receiving array. The array observer object + * normally must implement two methods: + */ + addArrayObserver(target: {}, opts: {}): this; + /** + * Removes an array observer from the object if the observer is current + * registered. Calling this method multiple times with the same object will + * have no effect. + */ + removeArrayObserver(target: {}, opts: {}): this; + /** + * Becomes true whenever the array currently has observers watching changes + * on the array. + */ + hasArrayObservers: ComputedProperty<boolean>; + /** + * If you are implementing an object that supports `Ember.Array`, call this + * method just before the array content changes to notify any observers and + * invalidate any related properties. Pass the starting index of the change + * as well as a delta of the amounts to change. + */ + arrayContentWillChange(startIdx: number, removeAmt: number, addAmt: number): this; + /** + * If you are implementing an object that supports `Ember.Array`, call this + * method just after the array content changes to notify any observers and + * invalidate any related properties. Pass the starting index of the change + * as well as a delta of the amounts to change. + */ + arrayContentDidChange(startIdx: number, removeAmt: number, addAmt: number): this; + /** + * Returns a special object that can be used to observe individual properties + * on the array. Just get an equivalent property on this object and it will + * return an enumerable that maps automatically to the named key on the + * member objects. + */ + '@each': ComputedProperty<T>; + } + // Ember.Array rather than Array because the `array-type` lint rule doesn't realize the global is shadowed + const Array: Mixin<Ember.Array<any>>; + /** - Returns the original hash that was passed to meta(). - @param key property name + An ArrayProxy wraps any other object that implements Ember.Array and/or Ember.MutableArray, + forwarding all requests. This makes it very useful for a number of binding use cases or other cases + where being able to swap out the underlying array is useful. **/ - static metaForProperty(key: string): {}; - static isClass: boolean; - static isMethod: boolean; - cancel(event: Function): void; - focusIn(event: Function): void; - focusOut(event: Function): void; - insertNewLine(event: Function): void; - keyPress(event: Function): void; - action: string; - bubbles: boolean; - onEvent: string; - pattern: string; - size: string; - type: string; - value: string; + interface ArrayProxy<T> extends MutableArray<T> {} + class ArrayProxy<T> extends Object.extend(MutableArray as {}) { + /** + * Should actually retrieve the object at the specified index from the + * content. You can override this method in subclasses to transform the + * content item to something new. + */ + objectAtContent(idx: number): T | undefined; + } + /** + AutoLocation will select the best location option based off browser support with the priority order: history, hash, none. + **/ + class AutoLocation extends Object {} + /** + * Connects the properties of two objects so that whenever the value of one property changes, + * the other property will be changed also. + * + * @deprecated https://emberjs.com/deprecations/v2.x#toc_ember-binding + **/ + class Binding { + constructor(toPath: string, fromPath: string); + connect(obj: any): Binding; + copy(): Binding; + disconnect(): Binding; + from(path: string): Binding; + to(path: string | string[]): Binding; + toString(): string; + } + /** + The internal class used to create text inputs when the {{input}} helper is used + with type of checkbox. See Handlebars.helpers.input for usage details. + **/ + class Checkbox extends Component {} + /** + * Implements some standard methods for comparing objects. Add this mixin to + * any class you create that can compare its instances. + * @private + */ + interface Comparable { + compare(a: any, b: any): number; + } + const Comparable: Mixin<Comparable>; + /** + A view that is completely isolated. Property access in its templates go to the view object + and actions are targeted at the view object. There is no access to the surrounding context or + outer controller; all contextual information is passed in. + **/ + class Component extends CoreView.extend(ViewMixin, ActionSupport, ClassNamesSupport) { + // methods + readDOMAttr(name: string): string; + // properties + /** + * The WAI-ARIA role of the control represented by this view. For example, a button may have a + * role of type 'button', or a pane may have a role of type 'alertdialog'. This property is + * used by assistive software to help visually challenged users navigate rich web applications. + */ + ariaRole: string; + /** + * The HTML id of the component's element in the DOM. You can provide this value yourself but + * it must be unique (just as in HTML): + * + * If not manually set a default value will be provided by the framework. Once rendered an + * element's elementId is considered immutable and you should never change it. If you need + * to compute a dynamic value for the elementId, you should do this when the component or + * element is being instantiated: + */ + elementId: string; + /** + * If false, the view will appear hidden in DOM. + */ + isVisible: boolean; + /** + * A component may contain a layout. A layout is a regular template but supersedes the template + * property during rendering. It is the responsibility of the layout template to retrieve the + * template property from the component (or alternatively, call Handlebars.helpers.yield, + * {{yield}}) to render it in the correct location. This is useful for a component that has a + * shared wrapper, but which delegates the rendering of the contents of the wrapper to the + * template property on a subclass. + */ + layout: TemplateFactory | string; + /** + * Enables components to take a list of parameters as arguments. + */ + static positionalParams: string[] | string; + // events + /** + * Called when the attributes passed into the component have been updated. Called both during the + * initial render of a container and during a rerender. Can be used in place of an observer; code + * placed here will be executed every time any attribute updates. + */ + didReceiveAttrs(): void; + /** + * Called after a component has been rendered, both on initial render and in subsequent rerenders. + */ + didRender(): void; + /** + * Called when the component has updated and rerendered itself. Called only during a rerender, + * not during an initial render. + */ + didUpdate(): void; + /** + * Called when the attributes passed into the component have been changed. Called only during a + * rerender, not during an initial render. + */ + didUpdateAttrs(): void; + /** + * Called before a component has been rendered, both on initial render and in subsequent rerenders. + */ + willRender(): void; + /** + * Called when the component is about to update and rerender itself. Called only during a rerender, + * not during an initial render. + */ + willUpdate(): void; + } + /** + A computed property transforms an objects function into a property. + By default the function backing the computed property will only be called once and the result + will be cached. You can specify various properties that your computed property is dependent on. + This will force the cached result to be recomputed if the dependencies are modified. + **/ + class ComputedProperty<T> { + /** + * Call on a computed property to set it into non-cached mode. When in this + * mode the computed property will not automatically cache the return value. + */ + volatile(): this; + /** + * Call on a computed property to set it into read-only mode. When in this + * mode the computed property will throw an error when set. + */ + readOnly(): this; + /** + * Sets the dependent keys on this computed property. Pass any number of + * arguments containing key paths that this computed property depends on. + */ + property(...path: string[]): this; + /** + * In some cases, you may want to annotate computed properties with additional + * metadata about how they function or what values they operate on. For example, + * computed property functions may close over variables that are then no longer + * available for introspection. + */ + meta(meta: {}): this; + meta(): {}; + } + /** + * A container used to instantiate and cache objects. + * @private + */ + class Container { + /** + * Given a fullName, return the corresponding factory. The consumer of the factory + * is responsible for the destruction of any factory instances, as there is no + * way for the container to ensure instances are destroyed when it itself is + * destroyed. + */ + factoryFor(fullName: string, options?: {}): any; + } + /** + The ContainerDebugAdapter helps the container and resolver interface + with tools that debug Ember such as the Ember Inspector for Chrome and Firefox. + **/ + class ContainerDebugAdapter extends Object { + resolver: Resolver; + canCatalogEntriesByType(type: string): boolean; + catalogEntriesByType(type: string): any[]; + } + /** + * Additional methods for the Controller. + * @private + */ + interface ControllerMixin extends ActionHandler { + replaceRoute(name: string, ...args: any[]): void; + transitionToRoute(name: string, ...args: any[]): void; + model: any; + queryParams: string[] | Array<{ [key: string]: { type: string } }>; + target: Object; + } + const ControllerMixin: Ember.Mixin<ControllerMixin>; + class Controller extends Object.extend(ControllerMixin) {} + /** + * Implements some standard methods for copying an object. Add this mixin to + * any object you create that can create a copy of itself. This mixin is + * added automatically to the built-in array. + * @private + */ + interface Copyable { + /** + * __Required.__ You must implement this method to apply this mixin. + */ + copy(deep: boolean): Copyable; + /** + * If the object implements `Ember.Freezable`, then this will return a new + * copy if the object is not frozen and the receiver if the object is frozen. + */ + frozenCopy(): Copyable; + } + const Copyable: Ember.Mixin<Copyable>; + class CoreObject { + _super(...args: any[]): any; + + /** + An overridable method called when objects are instantiated. By default, + does nothing unless it is overridden during class definition. + @method init + **/ + init(): void; + + /** + Defines the properties that will be concatenated from the superclass (instead of overridden). + @property concatenatedProperties + @type Array + @default null + **/ + concatenatedProperties: any[]; + + /** + Destroyed object property flag. If this property is true the observers and bindings were + already removed by the effect of calling the destroy() method. + @property isDestroyed + @default false + **/ + isDestroyed: boolean; + /** + Destruction scheduled flag. The destroy() method has been called. The object stays intact + until the end of the run loop at which point the isDestroyed flag is set. + @property isDestroying + @default false + **/ + isDestroying: boolean; + + /** + Destroys an object by setting the `isDestroyed` flag and removing its + metadata, which effectively destroys observers and bindings. + If you try to set a property on a destroyed object, an exception will be + raised. + Note that destruction is scheduled for the end of the run loop and does not + happen immediately. It will set an isDestroying flag immediately. + @method destroy + @return {Ember.Object} receiver + */ + destroy(): CoreObject; + + /** + Override to implement teardown. + @method willDestroy + */ + willDestroy(): void; + + /** + Returns a string representation which attempts to provide more information than Javascript's toString + typically does, in a generic way for all Ember objects (e.g., "<App.Person:ember1024>"). + @method toString + @return {String} string representation + **/ + toString(): string; + + static create<Instance>(this: EmberClassConstructor<Instance>): Fix<Instance>; + + static create<Instance, Args, T1 extends EmberInstanceArguments<Args>>( + this: EmberClassConstructor<Instance & ComputedProperties<Args>>, + arg1: T1 & ThisType<Fix<T1 & Instance>> + ): Fix<Instance & T1>; + + static create< + Instance, + Args, + T1 extends EmberInstanceArguments<Args>, + T2 extends EmberInstanceArguments<Args> + >( + this: EmberClassConstructor<Instance & ComputedProperties<Args>>, + arg1: T1 & ThisType<Fix<Instance & T1>>, + arg2: T2 & ThisType<Fix<Instance & T1 & T2>> + ): Fix<Instance & T1 & T2>; + + static create< + Instance, + Args, + T1 extends EmberInstanceArguments<Args>, + T2 extends EmberInstanceArguments<Args>, + T3 extends EmberInstanceArguments<Args> + >( + this: EmberClassConstructor<Instance & ComputedProperties<Args>>, + arg1: T1 & ThisType<Fix<Instance & T1>>, + arg2: T2 & ThisType<Fix<Instance & T1 & T2>>, + arg3: T3 & ThisType<Fix<Instance & T1 & T2 & T3>> + ): Fix<Instance & T1 & T2 & T3>; + + static extend<Statics, Instance>( + this: Statics & EmberClassConstructor<Instance> + ): Objectify<Statics> & EmberClassConstructor<Instance>; + + static extend<Statics, Instance extends B1, T1 extends EmberClassArguments, B1>( + this: Statics & EmberClassConstructor<Instance>, + arg1: MixinOrLiteral<T1, B1> & ThisType<Fix<Instance & T1>> + ): Objectify<Statics> & EmberClassConstructor<T1 & Instance>; + + static extend< + Statics, + Instance extends B1 & B2, + T1 extends EmberClassArguments, + B1, + T2 extends EmberClassArguments, + B2 + >( + this: Statics & EmberClassConstructor<Instance>, + arg1: MixinOrLiteral<T1, B1> & ThisType<Fix<Instance & T1>>, + arg2: MixinOrLiteral<T2, B2> & ThisType<Fix<Instance & T1 & T2>> + ): Objectify<Statics> & EmberClassConstructor<T1 & T2 & Instance>; + + static extend< + Statics, + Instance extends B1 & B2 & B3, + T1 extends EmberClassArguments, + B1, + T2 extends EmberClassArguments, + B2, + T3 extends EmberClassArguments, + B3 + >( + this: Statics & EmberClassConstructor<Instance>, + arg1: MixinOrLiteral<T1, B1> & ThisType<Fix<Instance & T1>>, + arg2: MixinOrLiteral<T2, B2> & ThisType<Fix<Instance & T1 & T2>>, + arg3: MixinOrLiteral<T3, B3> & ThisType<Fix<Instance & T1 & T2 & T3>> + ): Objectify<Statics> & EmberClassConstructor<T1 & T2 & T3 & Instance>; + + static extend< + Statics, + Instance extends B1 & B2 & B3 & B4, + T1 extends EmberClassArguments, + B1, + T2 extends EmberClassArguments, + B2, + T3 extends EmberClassArguments, + B3, + T4 extends EmberClassArguments, + B4 + >( + this: Statics & EmberClassConstructor<Instance>, + arg1: MixinOrLiteral<T1, B1> & ThisType<Fix<Instance & T1>>, + arg2: MixinOrLiteral<T2, B2> & ThisType<Fix<Instance & T1 & T2>>, + arg3: MixinOrLiteral<T3, B3> & ThisType<Fix<Instance & T1 & T2 & T3>>, + arg4: MixinOrLiteral<T4, B4> & ThisType<Fix<Instance & T1 & T2 & T3 & T4>> + ): Objectify<Statics> & EmberClassConstructor<T1 & T2 & T3 & T4 & Instance>; + + static reopen<Statics, Instance>( + this: Statics & EmberClassConstructor<Instance> + ): Objectify<Statics> & EmberClassConstructor<Instance>; + + static reopen<Statics, Instance extends B1, T1 extends EmberClassArguments, B1>( + this: Statics & EmberClassConstructor<Instance>, + arg1: MixinOrLiteral<T1, B1> & ThisType<Fix<Instance & T1>> + ): Objectify<Statics> & EmberClassConstructor<Instance & T1>; + + static reopen< + Statics, + Instance extends B1 & B2, + T1 extends EmberClassArguments, + B1, + T2 extends EmberClassArguments, + B2 + >( + this: Statics & EmberClassConstructor<Instance>, + arg1: MixinOrLiteral<T1, B1> & ThisType<Fix<Instance & T1>>, + arg2: MixinOrLiteral<T2, B2> & ThisType<Fix<Instance & T1 & T2>> + ): Objectify<Statics> & EmberClassConstructor<Instance & T1 & T2>; + + static reopen< + Statics, + Instance extends B1 & B2 & B3, + T1 extends EmberClassArguments, + B1, + T2 extends EmberClassArguments, + B2, + T3 extends EmberClassArguments, + B3 + >( + this: Statics & EmberClassConstructor<Instance>, + arg1: MixinOrLiteral<T1, B1> & ThisType<Fix<Instance & T1>>, + arg2: MixinOrLiteral<T2, B2> & ThisType<Fix<Instance & T1 & T2>>, + arg3: MixinOrLiteral<T3, B3> & ThisType<Fix<Instance & T1 & T2 & T3>> + ): Objectify<Statics> & EmberClassConstructor<Instance & T1 & T2 & T3>; + + static reopenClass<Statics>(this: Statics): Statics; + + static reopenClass<Statics, T1 extends EmberClassArguments>( + this: Statics, + arg1: T1 + ): Statics & T1; + + static reopenClass< + Statics, + T1 extends EmberClassArguments, + T2 extends EmberClassArguments + >(this: Statics, arg1: T1, arg2: T2): Statics & T1 & T2; + + static reopenClass< + Statics, + T1 extends EmberClassArguments, + T2 extends EmberClassArguments, + T3 extends EmberClassArguments + >(this: Statics, arg1: T1, arg2: T2, arg3: T3): Statics & T1 & T2 & T3; + + static detect<Statics, Instance>( + this: Statics & EmberClassConstructor<Instance>, + obj: any + ): obj is Objectify<Statics> & EmberClassConstructor<Instance>; + + static detectInstance<Instance>( + this: EmberClassConstructor<Instance>, + obj: any + ): obj is Instance; + + /** + Iterate over each computed property for the class, passing its name and any + associated metadata (see metaForProperty) to the callback. + **/ + static eachComputedProperty(callback: Function, binding: {}): void; + /** + Returns the original hash that was passed to meta(). + @param key property name + **/ + static metaForProperty(key: string): {}; + static isClass: boolean; + static isMethod: boolean; + } + /** + * The `DataAdapter` helps a data persistence library + * interface with tools that debug Ember such as Chrome and Firefox. + */ + class DataAdapter extends Object { + /** + * The container-debug-adapter which is used + * to list all models. + */ + containerDebugAdapter: any; + /** + * Ember Data > v1.0.0-beta.18 + * requires string model names to be passed + * around instead of the actual factories. + */ + acceptsModelName: any; + /** + * Specifies how records can be filtered. + * Records returned will need to have a `filterValues` + * property with a key for every name in the returned array. + */ + getFilters(): any[]; + /** + * Fetch the model types and observe them for changes. + */ + watchModelTypes(typesAdded: Function, typesUpdated: Function): Function; + /** + * Fetch the records of a given type and observe them for changes. + */ + watchRecords( + modelName: string, + recordsAdded: Function, + recordsUpdated: Function, + recordsRemoved: Function + ): Function; + } + const Debug: { + /** + * Allows for runtime registration of handler functions that override the default deprecation behavior. + * Deprecations are invoked by calls to [Ember.deprecate](http://emberjs.com/api/classes/Ember.html#method_deprecate). + * The following example demonstrates its usage by registering a handler that throws an error if the + * message contains the word "should", otherwise defers to the default handler. + */ + registerDeprecationHandler(handler: Function): any; + /** + * Allows for runtime registration of handler functions that override the default warning behavior. + * Warnings are invoked by calls made to [Ember.warn](http://emberjs.com/api/classes/Ember.html#method_warn). + * The following example demonstrates its usage by registering a handler that does nothing overriding Ember's + * default warning behavior. + */ + registerWarnHandler(handler: Function): any; + }; + /** + * The DefaultResolver defines the default lookup rules to resolve + * container lookups before consulting the container for registered + * items: + */ + class DefaultResolver extends Resolver { + /** + * This method is called via the container's resolver method. + * It parses the provided `fullName` and then looks up and + * returns the appropriate template or class. + */ + resolve(fullName: string): {}; + /** + * This will be set to the Application instance when it is + * created. + */ + namespace: Application; + } + /** + * The `Engine` class contains core functionality for both applications and + * engines. + */ + class Engine extends Namespace { + /** + * The goal of initializers should be to register dependencies and injections. + * This phase runs once. Because these initializers may load code, they are + * allowed to defer application readiness and advance it. If you need to access + * the container or store you should use an InstanceInitializer that will be run + * after all initializers and therefore after all code is loaded and the app is + * ready. + */ + initializer(initializer: {}): any; + /** + * Instance initializers run after all initializers have run. Because + * instance initializers run after the app is fully set up. We have access + * to the store, container, and other items. However, these initializers run + * after code has loaded and are not allowed to defer readiness. + */ + instanceInitializer(instanceInitializer: any): any; + /** + * Set this to provide an alternate class to `Ember.DefaultResolver` + */ + resolver: Resolver; + } + /** + * The `EngineInstance` encapsulates all of the stateful aspects of a + * running `Engine`. + */ + class EngineInstance extends Ember.Object.extend( + _RegistryProxyMixin, + _ContainerProxyMixin + ) { + /** + * Unregister a factory. + */ + unregister(fullName: string): any; + } + /** + * This mixin defines the common interface implemented by enumerable objects + * in Ember. Most of these methods follow the standard Array iteration + * API defined up to JavaScript 1.8 (excluding language-specific features that + * cannot be emulated in older versions of JavaScript). + */ + interface Enumerable<T> { + /** + * Helper method returns the first object from a collection. This is usually + * used by bindings and other parts of the framework to extract a single + * object if the enumerable contains only one item. + */ + firstObject: ComputedProperty<T | undefined>; + /** + * Helper method returns the last object from a collection. If your enumerable + * contains only one object, this method should always return that object. + * If your enumerable is empty, this method should return `undefined`. + */ + lastObject: ComputedProperty<T | undefined>; + /** + * @deprecated Use `Enumerable#includes` instead. + */ + contains(obj: T): boolean; + /** + * Iterates through the enumerable, calling the passed function on each + * item. This method corresponds to the `forEach()` method defined in + * JavaScript 1.6. + */ + forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void; + /** + * Alias for `mapBy` + */ + getEach(key: string): any[]; + /** + * Sets the value on the named property for each member. This is more + * ergonomic than using other methods defined on this helper. If the object + * implements Ember.Observable, the value will be changed to `set(),` otherwise + * it will be set directly. `null` objects are skipped. + */ + setEach(key: string, value: any): any; + /** + * Maps all of the items in the enumeration to another value, returning + * a new array. This method corresponds to `map()` defined in JavaScript 1.6. + */ + map<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[]; + /** + * Similar to map, this specialized function returns the value of the named + * property on all items in the enumeration. + */ + mapBy(key: string): any[]; + /** + * Returns an array with all of the items in the enumeration that the passed + * function returns true for. This method corresponds to `filter()` defined in + * JavaScript 1.6. + */ + filter<S extends T>( + callbackfn: (value: T, index: number, array: T[]) => value is S, + thisArg?: any + ): S[]; + filter(callbackfn: (value: T, index: number, array: T[]) => any, thisArg?: any): T[]; + /** + * Returns an array with all of the items in the enumeration where the passed + * function returns false. This method is the inverse of filter(). + */ + reject(callbackfn: (value: T, index: number, array: T[]) => any, thisArg?: any): T[]; + /** + * Returns an array with just the items with the matched property. You + * can pass an optional second argument with the target value. Otherwise + * this will match any property that evaluates to `true`. + */ + filterBy(key: string, value?: any): any[]; + /** + * Returns an array with the items that do not have truthy values for + * key. You can pass an optional second argument with the target value. Otherwise + * this will match any property that evaluates to false. + */ + rejectBy(key: string, value?: string): any[]; + /** + * Returns the first item in the array for which the callback returns true. + * This method works similar to the `filter()` method defined in JavaScript 1.6 + * except that it will stop working on the array once a match is found. + */ + find( + predicate: (value: T, index: number, obj: T[]) => boolean, + thisArg?: any + ): T | undefined; + /** + * Returns the first item with a property matching the passed value. You + * can pass an optional second argument with the target value. Otherwise + * this will match any property that evaluates to `true`. + */ + findBy(key: string, value: string): T | undefined; + /** + * Returns `true` if the passed function returns true for every item in the + * enumeration. This corresponds with the `every()` method in JavaScript 1.6. + */ + every( + callbackfn: (value: T, index: number, array: T[]) => boolean, + thisArg?: any + ): boolean; + /** + * Returns `true` if the passed property resolves to the value of the second + * argument for all items in the enumerable. This method is often simpler/faster + * than using a callback. + */ + isEvery(key: string, value: boolean): boolean; + /** + * Returns `true` if the passed function returns true for any item in the + * enumeration. + */ + any(callback: (value: T, index: number, array: T[]) => boolean, target?: {}): boolean; + /** + * Returns `true` if the passed property resolves to the value of the second + * argument for any item in the enumerable. This method is often simpler/faster + * than using a callback. + */ + isAny(key: string, value?: boolean): boolean; + /** + * This will combine the values of the enumerator into a single value. It + * is a useful way to collect a summary value from an enumeration. This + * corresponds to the `reduce()` method defined in JavaScript 1.8. + */ + reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; + reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; + /** + * Invokes the named method on every object in the receiver that + * implements it. This method corresponds to the implementation in + * Prototype 1.6. + */ + invoke(methodName: keyof T, ...args: any[]): any[]; + /** + * Simply converts the enumerable into a genuine array. The order is not + * guaranteed. Corresponds to the method implemented by Prototype. + */ + toArray(): T[]; + /** + * Returns a copy of the array with all `null` and `undefined` elements removed. + */ + compact(): Enumerable<T>; + /** + * Returns a new enumerable that excludes the passed value. The default + * implementation returns an array regardless of the receiver type. + * If the receiver does not contain the value it returns the original enumerable. + */ + without(value: T): Enumerable<T>; + /** + * Returns a new enumerable that contains only unique values. The default + * implementation returns an array regardless of the receiver type. + */ + uniq(): Enumerable<T>; + /** + * Converts the enumerable into an array and sorts by the keys + * specified in the argument. + */ + sortBy(property: string): Enumerable<T>; + /** + * Returns a new enumerable that contains only items containing a unique property value. + * The default implementation returns an array regardless of the receiver type. + */ + uniqBy(): Enumerable<T>; + /** + * Returns `true` if the passed object can be found in the enumerable. + */ + includes(searchElement: T, fromIndex?: number): boolean; + /** + * This is the handler for the special array content property. If you get + * this property, it will return this. If you set this property to a new + * array, it will replace the current content. + */ + '[]': ComputedProperty<this>; + } + const Enumerable: Mixin<Enumerable<any>>; + /** + A subclass of the JavaScript Error object for use in Ember. + **/ + const Error: ErrorConstructor; + /** + * `Ember.EventDispatcher` handles delegating browser events to their + * corresponding `Ember.Views.` For example, when you click on a view, + * `Ember.EventDispatcher` ensures that that view's `mouseDown` method gets + * called. + * @private + */ + class EventDispatcher extends Object { + /** + * The set of events names (and associated handler function names) to be setup + * and dispatched by the `EventDispatcher`. Modifications to this list can be done + * at setup time, generally via the `Ember.Application.customEvents` hash. + */ + events: EventDispatcherEvents; + } + /** + * This mixin allows for Ember objects to subscribe to and emit events. + */ + interface Evented { + /** + * Subscribes to a named event with given function. + */ + on<Target>( + name: string, + target: Target, + method: (this: Target, ...args: any[]) => void + ): this; + on(name: string, method: (...args: any[]) => void): this; + /** + * Subscribes a function to a named event and then cancels the subscription + * after the first time the event is triggered. It is good to use ``one`` when + * you only care about the first time an event has taken place. + */ + one<Target>( + name: string, + target: Target, + method: (this: Target, ...args: any[]) => void + ): this; + one(name: string, method: (...args: any[]) => void): this; + /** + * Triggers a named event for the object. Any additional arguments + * will be passed as parameters to the functions that are subscribed to the + * event. + */ + trigger(name: string, ...args: any[]): any; + /** + * Cancels subscription for given name, target, and method. + */ + off<Target>( + name: string, + target: Target, + method: (this: Target, ...args: any[]) => void + ): this; + off(name: string, method: (...args: any[]) => void): this; + /** + * Checks to see if object has any subscriptions for named event. + */ + has(name: string): boolean; + } + const Evented: Mixin<Evented>; + /** + * The `Ember.Freezable` mixin implements some basic methods for marking an + * object as frozen. Once an object is frozen it should be read only. No changes + * may be made the internal state of the object. + * @private + * @deprecated Use `Object.freeze` instead. + */ + interface Freezable { + freeze(): Freezable; + isFrozen: boolean; + } + const Freezable: Mixin<Freezable>; + /** + * `Ember.HashLocation` implements the location API using the browser's + * hash. At present, it relies on a `hashchange` event existing in the + * browser. + * @protected + */ + class HashLocation extends Object {} + /** + * Ember.HistoryLocation implements the location API using the browser's + * history.pushState API. + * @protected + */ + class HistoryLocation extends Object {} + /** + * Ember Helpers are functions that can compute values, and are used in templates. + * For example, this code calls a helper named `format-currency`: + */ + class Helper extends Object { + /** + * In many cases, the ceremony of a full `Ember.Helper` class is not required. + * The `helper` method create pure-function helpers without instances. For + * example: + */ + static helper(helper: (params: any[], hash?: object) => any): Helper; + /** + * Override this function when writing a class-based helper. + */ + compute(params: any[], hash: object): any; + /** + * On a class-based helper, it may be useful to force a recomputation of that + * helpers value. This is akin to `rerender` on a component. + */ + recompute(): any; + } + /** + * The purpose of the Ember Instrumentation module is + * to provide efficient, general-purpose instrumentation + * for Ember. + * @private + */ + const Instrumentation: { + instrument(name: string, payload: any, callback: Function, binding: any): void; + reset(): void; + subscribe(pattern: string, object: any): void; + unsubscribe(subscriber: any): void; + }; + /** + * `Ember.LinkComponent` renders an element whose `click` event triggers a + * transition of the application's instance of `Ember.Router` to + * a supplied route by name. + */ + class LinkComponent extends Component { + /** + * Used to determine when this `LinkComponent` is active. + */ + currentWhen: any; + /** + * Sets the `title` attribute of the `LinkComponent`'s HTML element. + */ + title: string | null; + /** + * Sets the `rel` attribute of the `LinkComponent`'s HTML element. + */ + rel: string | null; + /** + * Sets the `tabindex` attribute of the `LinkComponent`'s HTML element. + */ + tabindex: string | null; + /** + * Sets the `target` attribute of the `LinkComponent`'s HTML element. + */ + target: string | null; + /** + * The CSS class to apply to `LinkComponent`'s element when its `active` + * property is `true`. + */ + activeClass: string; + /** + * Determines whether the `LinkComponent` will trigger routing via + * the `replaceWith` routing strategy. + */ + replace: boolean; + } + /** + * Ember.Location returns an instance of the correct implementation of + * the `location` API. + */ + const Location: { + /** + * This is deprecated in favor of using the container to lookup the location + * implementation as desired. + * @deprecated Use the container to lookup the location implementation that you need. + */ + create(options?: {}): any; + }; + /** + * Inside Ember-Metal, simply uses the methods from `imports.console`. + * Override this to provide more robust logging functionality. + */ + const Logger: { + /** + * If the value passed into `Ember.Logger.assert` is not truthy it will throw an error with a stack trace. + */ + assert(test: boolean, message?: string): void; + /** + * Logs the arguments to the console in blue text. + */ + debug(...args: any[]): void; + /** + * Prints the arguments to the console with an error icon, red text and a stack trace. + */ + error(...args: any[]): void; + /** + * Logs the arguments to the console. + */ + info(...args: any[]): void; + /** + * Logs the arguments to the console. + */ + log(...args: any[]): void; + /** + * Prints the arguments to the console with a warning icon. + */ + warn(...args: any[]): void; + }; + /** + * A Map stores values indexed by keys. Unlike JavaScript's + * default Objects, the keys of a Map can be any JavaScript + * object. + * @deprecated + */ + class Map { + copy(): Map; + static create(): Map; + forEach(callback: Function, self: any): void; + get(key: any): any; + has(key: any): boolean; + set(key: any, value: any): void; + length: number; + } + /** + * @deprecated + */ + class MapWithDefault extends Map { + copy(): MapWithDefault; + static create(): MapWithDefault; + } + /** + * The `Ember.Mixin` class allows you to create mixins, whose properties can be + * added to other classes. + */ + class Mixin<T, Base = Ember.Object> { + /** + * Mixin needs to have *something* on its prototype, otherwise it's treated like an empty interface. + */ + private __ember_mixin__: never; + + static create<T, Base = Ember.Object>( + args?: T & ThisType<Fix<T & Base>> + ): Mixin<T, Base>; + } + /** + * This mixin defines the API for modifying array-like objects. These methods + * can be applied only to a collection that keeps its items in an ordered set. + * It builds upon the Array mixin and adds methods to modify the array. + * One concrete implementations of this class include ArrayProxy. + */ + interface MutableArray<T> extends Array<T>, MutableEnumberable<T> { + /** + * __Required.__ You must implement this method to apply this mixin. + */ + replace(idx: number, amt: number, objects: any[]): any; + /** + * Remove all elements from the array. This is useful if you + * want to reuse an existing array without having to recreate it. + */ + clear(): this; + /** + * This will use the primitive `replace()` method to insert an object at the + * specified index. + */ + insertAt(idx: number, object: {}): this; + /** + * Remove an object at the specified index using the `replace()` primitive + * method. You can pass either a single index, or a start and a length. + */ + removeAt(start: number, len: number): this; + /** + * Push the object onto the end of the array. Works just like `push()` but it + * is KVO-compliant. + */ + pushObject(obj: T): T; + /** + * Add the objects in the passed numerable to the end of the array. Defers + * notifying observers of the change until all objects are added. + */ + pushObjects(objects: Enumerable<T>): this; + /** + * Pop object from array or nil if none are left. Works just like `pop()` but + * it is KVO-compliant. + */ + popObject(): T; + /** + * Shift an object from start of array or nil if none are left. Works just + * like `shift()` but it is KVO-compliant. + */ + shiftObject(): T; + /** + * Unshift an object to start of array. Works just like `unshift()` but it is + * KVO-compliant. + */ + unshiftObject(obj: T): T; + /** + * Adds the named objects to the beginning of the array. Defers notifying + * observers until all objects have been added. + */ + unshiftObjects(objects: Enumerable<T>): this; + /** + * Reverse objects in the array. Works just like `reverse()` but it is + * KVO-compliant. + */ + reverseObjects(): this; + /** + * Replace all the receiver's content with content of the argument. + * If argument is an empty array receiver will be cleared. + */ + setObjects(objects: Ember.Array<T>): this; + } + const MutableArray: Mixin<MutableArray<any>>; + /** + * This mixin defines the API for modifying generic enumerables. These methods + * can be applied to an object regardless of whether it is ordered or + * unordered. + */ + interface MutableEnumberable<T> extends Enumerable<T> { + /** + * __Required.__ You must implement this method to apply this mixin. + */ + addObject(object: T): T; + /** + * Adds each object in the passed enumerable to the receiver. + */ + addObjects(objects: Enumerable<T>): this; + /** + * __Required.__ You must implement this method to apply this mixin. + */ + removeObject(object: T): T; + /** + * Removes each object in the passed enumerable from the receiver. + */ + removeObjects(objects: Enumerable<T>): this; + } + const MutableEnumerable: Mixin<MutableEnumberable<any>>; + /** + * A Namespace is an object usually used to contain other objects or methods + * such as an application or framework. Create a namespace anytime you want + * to define one of these new containers. + */ + class Namespace extends Object {} + /** + * The NativeArray mixin contains the properties needed to make the native + * Array support Ember.MutableArray and all of its dependent APIs. Unless you + * have `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Array` set to + * false, this will be applied automatically. Otherwise you can apply the mixin + * at anytime by calling `Ember.NativeArray.apply(Array.prototype)`. + */ + interface NativeArray<T> extends GlobalArray<T>, MutableArray<T>, Observable, Copyable { + /** + * __Required.__ You must implement this method to apply this mixin. + */ + length: number; + + // NOTE: some array polyfill methods are re-declared here because their signatures + // differ between typescript versions 2.4 and 2.6. Since we need to compile against + // both, pick the more recent signature and re-declare it here as a tie-breaker. + + /** + * Returns the first item in the array for which the callback returns true. + * This method works similar to the `filter()` method defined in JavaScript 1.6 + * except that it will stop working on the array once a match is found. + */ + find( + predicate: (value: T, index: number, obj: T[]) => boolean, + thisArg?: any + ): T | undefined; + /** + * This will combine the values of the enumerator into a single value. It + * is a useful way to collect a summary value from an enumeration. This + * corresponds to the `reduce()` method defined in JavaScript 1.8. + */ + reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; + reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; + } + const NativeArray: Mixin<NativeArray<any>>; + /** + * Ember.NoneLocation does not interact with the browser. It is useful for + * testing, or when you need to manage state with your Router, but temporarily + * don't want it to muck with the URL (for example when you embed your + * application in a larger page). + * @private + */ + class NoneLocation extends Object {} + /** + * `Ember.Object` is the main base class for all Ember objects. It is a subclass + * of `Ember.CoreObject` with the `Ember.Observable` mixin applied. For details, + * see the documentation for each of these. + */ + class Object extends CoreObject.extend(Observable) {} + /** + * `Ember.ObjectProxy` forwards all properties not defined by the proxy itself + * to a proxied `content` object. + */ + class ObjectProxy extends Object { + /** + The object whose properties will be forwarded. + **/ + content: Object; + } + /** + * This mixin provides properties and property observing functionality, core features of the Ember object model. + */ + interface Observable { + /** + * Retrieves the value of a property from the object. + */ + get<T, K extends keyof T>(this: ComputedProperties<T>, key: K): T[K]; + /** + * To get the values of multiple properties at once, call `getProperties` + * with a list of strings or an array: + */ + getProperties<T, K extends keyof T>(this: ComputedProperties<T>, list: K[]): Pick<T, K>; + getProperties<T, K extends keyof T>( + this: ComputedProperties<T>, + ...list: K[] + ): Pick<T, K>; + /** + * Sets the provided key or path to the value. + */ + set<T, K extends keyof T>(this: ComputedProperties<T>, key: K, value: T[K]): T[K]; + /** + * Sets a list of properties at once. These properties are set inside + * a single `beginPropertyChanges` and `endPropertyChanges` batch, so + * observers will be buffered. + */ + setProperties<T, K extends keyof T>( + this: ComputedProperties<T>, + hash: Pick<T, K> + ): Pick<T, K>; + /** + * Convenience method to call `propertyWillChange` and `propertyDidChange` in + * succession. + */ + notifyPropertyChange(keyName: string): this; + /** + * Adds an observer on a property. + */ + addObserver<Target>( + key: keyof this, + target: Target, + method: ObserverMethod<Target, this> + ): void; + /** + * Remove an observer you have previously registered on this object. Pass + * the same key, target, and method you passed to `addObserver()` and your + * target will no longer receive notifications. + */ + removeObserver<Target>( + key: keyof this, + target: Target, + method: ObserverMethod<Target, this> + ): any; + /** + * Retrieves the value of a property, or a default value in the case that the + * property returns `undefined`. + */ + getWithDefault<T, K extends keyof T>( + this: ComputedProperties<T>, + key: K, + defaultValue: T[K] + ): T[K]; + /** + * Set the value of a property to the current value plus some amount. + */ + incrementProperty(keyName: keyof this, increment?: number): number; + /** + * Set the value of a property to the current value minus some amount. + */ + decrementProperty(keyName: keyof this, decrement?: number): number; + /** + * Set the value of a boolean property to the opposite of its + * current value. + */ + toggleProperty(keyName: keyof this): boolean; + /** + * Returns the cached value of a computed property, if it exists. + * This allows you to inspect the value of a computed property + * without accidentally invoking it if it is intended to be + * generated lazily. + */ + cacheFor<T, K extends keyof T>(this: ComputedProperties<T>, key: K): T[K] | undefined; + } + const Observable: Mixin<Observable, Ember.CoreObject>; + /** + * This class is used internally by Ember and Ember Data. + * Please do not use it at this time. We plan to clean it up + * and add many tests soon. + * @deprecated + */ + class OrderedSet { + add(obj: any): void; + clear(): void; + copy(): OrderedSet; + static create(): OrderedSet; + forEach(fn: Function, self: any): void; + has(obj: any): boolean; + isEmpty(): boolean; + toArray(): any[]; + } + /** + * A low level mixin making ObjectProxy promise-aware. + */ + interface PromiseProxyMixin<T> extends RSVP.Promise<T> { + /** + * If the proxied promise is rejected this will contain the reason + * provided. + */ + reason: any; + /** + * Once the proxied promise has settled this will become `false`. + */ + isPending: boolean; + /** + * Once the proxied promise has settled this will become `true`. + */ + isSettled: boolean; + /** + * Will become `true` if the proxied promise is rejected. + */ + isRejected: boolean; + /** + * Will become `true` if the proxied promise is fulfilled. + */ + isFulfilled: boolean; + /** + * The promise whose fulfillment value is being proxied by this object. + */ + promise: RSVP.Promise<T>; + } + const PromiseProxyMixin: Mixin<PromiseProxyMixin<any>>; + /** + * A registry used to store factory and option information keyed + * by type. + * @private + */ + class Registry { + register( + fullName: string, + factory: EmberClassConstructor<any>, + options?: { singleton?: boolean } + ): void; + } + class Resolver extends Ember.Object {} + /** + The `Ember.Route` class is used to define individual routes. Refer to + the [routing guide](http://emberjs.com/guides/routing/) for documentation. + */ + class Route extends Object.extend(ActionHandler, Evented) { + // methods + /** + This hook is called after this route's model has resolved. + It follows identical async/promise semantics to `beforeModel` + but is provided the route's resolved model in addition to + the `transition`, and is therefore suited to performing + logic that can only take place after the model has already + resolved. + */ + afterModel(resolvedModel: any, transition: Transition): Rsvp.Promise<any>; + + /** + This hook is the first of the route entry validation hooks + called when an attempt is made to transition into a route + or one of its children. It is called before `model` and + `afterModel`, and is appropriate for cases when: + 1) A decision can be made to redirect elsewhere without + needing to resolve the model first. + 2) Any async operations need to occur first before the + model is attempted to be resolved. + This hook is provided the current `transition` attempt + as a parameter, which can be used to `.abort()` the transition, + save it for a later `.retry()`, or retrieve values set + on it from a previous hook. You can also just call + `this.transitionTo` to another route to implicitly + abort the `transition`. + You can return a promise from this hook to pause the + transition until the promise resolves (or rejects). This could + be useful, for instance, for retrieving async code from + the server that is required to enter a route. + */ + beforeModel(transition: Transition): Rsvp.Promise<any>; + + /** + * Returns the controller for a particular route or name. + * The controller instance must already have been created, either through entering the + * associated route or using `generateController`. + */ + controllerFor(name: string): Controller; + + /** + * Disconnects a view that has been rendered into an outlet. + */ + disconnectOutlet(options: string | { outlet?: string; parentView?: string }): void; + + /** + * A hook you can implement to convert the URL into the model for + * this route. + */ + model<T>(params: {}, transition: Transition): T | Rsvp.Promise<T>; + + /** + * Returns the model of a parent (or any ancestor) route + * in a route hierarchy. During a transition, all routes + * must resolve a model object, and if a route + * needs access to a parent route's model in order to + * resolve a model (or just reuse the model from a parent), + * it can call `this.modelFor(theNameOfParentRoute)` to + * retrieve it. + */ + modelFor(name: string): {}; + + /** + * Retrieves parameters, for current route using the state.params + * variable and getQueryParamsFor, using the supplied routeName. + */ + paramsFor(name: string): {}; + + /** + * Refresh the model on this route and any child routes, firing the + * `beforeModel`, `model`, and `afterModel` hooks in a similar fashion + * to how routes are entered when transitioning in from other route. + * The current route params (e.g. `article_id`) will be passed in + * to the respective model hooks, and if a different model is returned, + * `setupController` and associated route hooks will re-fire as well. + * An example usage of this method is re-querying the server for the + * latest information using the same parameters as when the route + * was first entered. + * Note that this will cause `model` hooks to fire even on routes + * that were provided a model object when the route was initially + * entered. + */ + redirect(): Transition; + + /** + * Refresh the model on this route and any child routes, firing the + * `beforeModel`, `model`, and `afterModel` hooks in a similar fashion + * to how routes are entered when transitioning in from other route. + * The current route params (e.g. `article_id`) will be passed in + * to the respective model hooks, and if a different model is returned, + * `setupController` and associated route hooks will re-fire as well. + * An example usage of this method is re-querying the server for the + * latest information using the same parameters as when the route + * was first entered. + * Note that this will cause `model` hooks to fire even on routes + * that were provided a model object when the route was initially + * entered. + */ + refresh(): Transition; + + /** + * `render` is used to render a template into a region of another template + * (indicated by an `{{outlet}}`). `render` is used both during the entry + * phase of routing (via the `renderTemplate` hook) and later in response to + * user interaction. + */ + render(name: string, options?: RenderOptions): void; + + /** + * A hook you can use to render the template for the current route. + * This method is called with the controller for the current route and the + * model supplied by the `model` hook. By default, it renders the route's + * template, configured with the controller for the route. + * This method can be overridden to set up and render additional or + * alternative templates. + */ + renderTemplate(controller: Controller, model: {}): void; + + /** + * Transition into another route while replacing the current URL, if possible. + * This will replace the current history entry instead of adding a new one. + * Beside that, it is identical to `transitionTo` in all other respects. See + * 'transitionTo' for additional information regarding multiple models. + */ + replaceWith(name: string, ...args: any[]): Transition; + + /** + * A hook you can use to reset controller values either when the model + * changes or the route is exiting. + */ + resetController(controller: Controller, isExiting: boolean, transition: any): void; + + /** + * Sends an action to the router, which will delegate it to the currently active + * route hierarchy per the bubbling rules explained under actions. + */ + send(name: string, ...args: any[]): void; + + /** + * A hook you can implement to convert the route's model into parameters + * for the URL. + * + * The default `serialize` method will insert the model's `id` into the + * route's dynamic segment (in this case, `:post_id`) if the segment contains '_id'. + * If the route has multiple dynamic segments or does not contain '_id', `serialize` + * will return `Ember.getProperties(model, params)` + * This method is called when `transitionTo` is called with a context + * in order to populate the URL. + */ + serialize(model: {}, params: string[]): string; + + /** + * A hook you can use to setup the controller for the current route. + * This method is called with the controller for the current route and the + * model supplied by the `model` hook. + * By default, the `setupController` hook sets the `model` property of + * the controller to the `model`. + * If you implement the `setupController` hook in your Route, it will + * prevent this default behavior. If you want to preserve that behavior + * when implementing your `setupController` function, make sure to call + * `_super` + */ + setupController(controller: Controller, model: {}): void; + + /** + * Transition the application into another route. The route may + * be either a single route or route path + */ + transitionTo(name: string, ...object: any[]): Transition; + + /** + * The name of the view to use by default when rendering this routes template. + * When rendering a template, the route will, by default, determine the + * template and view to use from the name of the route itself. If you need to + * define a specific view, set this property. + * This is useful when multiple routes would benefit from using the same view + * because it doesn't require a custom `renderTemplate` method. + */ + transitionTo(name: string, ...object: any[]): Transition; + + // properties + /** + * The controller associated with this route. + */ + controller: Controller; + + /** + * The name of the controller to associate with this route. + * By default, Ember will lookup a route's controller that matches the name + * of the route (i.e. `App.PostController` for `App.PostRoute`). However, + * if you would like to define a specific controller to use, you can do so + * using this property. + * This is useful in many ways, as the controller specified will be: + * * p assed to the `setupController` method. + * * used as the controller for the view being rendered by the route. + * * returned from a call to `controllerFor` for the route. + */ + controllerName: string; + + /** + * Configuration hash for this route's queryParams. + */ + queryParams: { [key: string]: RouteQueryParam }; + + /** + * The name of the route, dot-delimited + */ + routeName: string; + + /** + * The name of the template to use by default when rendering this routes + * template. + * This is similar with `viewName`, but is useful when you just want a custom + * template without a view. + */ + templateName: string; + + // events + /** + * This hook is executed when the router enters the route. It is not executed + * when the model for the route changes. + */ + activate(): void; + + /** + * This hook is executed when the router completely exits this route. It is + * not executed when the model for the route changes. + */ + deactivate(): void; + + /** + * The didTransition action is fired after a transition has successfully been + * completed. This occurs after the normal model hooks (beforeModel, model, + * afterModel, setupController) have resolved. The didTransition action has + * no arguments, however, it can be useful for tracking page views or resetting + * state on the controller. + */ + didTransition(): void; + + /** + * When attempting to transition into a route, any of the hooks may return a promise + * that rejects, at which point an error action will be fired on the partially-entered + * routes, allowing for per-route error handling logic, or shared error handling logic + * defined on a parent route. + */ + error(error: any, transition: Transition): void; + + /** + * The loading action is fired on the route when a route's model hook returns a + * promise that is not already resolved. The current Transition object is the first + * parameter and the route that triggered the loading event is the second parameter. + */ + loading(transition: Transition, route: Route): void; + + /** + * The willTransition action is fired at the beginning of any attempted transition + * with a Transition object as the sole argument. This action can be used for aborting, + * redirecting, or decorating the transition from the currently active routes. + */ + willTransition(transition: Transition): void; + } + /** + * The `Ember.Router` class manages the application state and URLs. Refer to + * the [routing guide](http://emberjs.com/guides/routing/) for documentation. + */ + class Router extends Object.extend(Evented) { + /** + * The `Router.map` function allows you to define mappings from URLs to routes + * in your application. These mappings are defined within the + * supplied callback function using `this.route`. + */ + static map(callback: (this: RouterDSL) => void): void; + /** + * The `location` property determines the type of URL's that your + * application will use. + */ + location: string; + /** + * Represents the URL of the root of the application, often '/'. This prefix is + * assumed on all routes defined on this router. + */ + rootURL: string; + /** + * Handles updating the paths and notifying any listeners of the URL + * change. + */ + didTransition(): any; + /** + * Handles notifying any listeners of an impending URL + * change. + */ + willTransition(): any; + /** + * Transition the application into another route. The route may + * be either a single route or route path: + */ + transitionTo(name: string, ...models: any[]): Transition; + transitionTo(name: string, options: {}): Transition; + } + class RouterDSL { + constructor(name: string, options: object); + route(name: string, callback: (this: RouterDSL) => void): void; + route( + name: string, + options?: { path?: string; resetNamespace?: boolean }, + callback?: (this: RouterDSL) => void + ): void; + mount(name: string): void; + } + class Service extends Object {} + /** + * The internal class used to create textarea element when the `{{textarea}}` + * helper is used. + */ + class TextArea extends Component.extend(TextSupport) {} + /** + * The internal class used to create text inputs when the `{{input}}` + * helper is used with `type` of `text`. + */ + class TextField extends Component.extend(TextSupport) { + /** + * The `value` attribute of the input element. As the user inputs text, this + * property is updated live. + */ + value: string; + /** + * The `type` attribute of the input element. + */ + type: string; + /** + * The `size` of the text field in characters. + */ + size: string; + /** + * The `pattern` attribute of input element. + */ + pattern: string; + /** + * The `min` attribute of input element used with `type="number"` or `type="range"`. + */ + min: string; + /** + * The `max` attribute of input element used with `type="number"` or `type="range"`. + */ + max: string; + } + /** + * `TextSupport` is a shared mixin used by both `Ember.TextField` and + * `Ember.TextArea`. `TextSupport` adds a number of methods that allow you to + * specify a controller action to invoke when a certain event is fired on your + * text field or textarea. The specifed controller action would get the current + * value of the field passed in as the only argument unless the value of + * the field is empty. In that case, the instance of the field itself is passed + * in as the only argument. + */ + interface TextSupport extends TargetActionSupport { + cancel(event: Function): void; + focusIn(event: Function): void; + focusOut(event: Function): void; + insertNewLine(event: Function): void; + keyPress(event: Function): void; + action: string; + bubbles: boolean; + onEvent: string; + } + const TextSupport: Ember.Mixin<TextSupport, Ember.Component>; + interface Transition { + /** + Aborts the Transition. Note you can also implicitly abort a transition + by initiating another transition while a previous one is underway. + */ + abort(): Transition; + /** + Retries a previously-aborted transition (making sure to abort the + transition if it's still active). Returns a new transition that + represents the new attempt to transition. + */ + retry(): Transition; + } + interface ViewTargetActionSupport { + target: any; + actionContext: any; + } + const ViewTargetActionSupport: Mixin<ViewTargetActionSupport>; + const ViewUtils: {}; // TODO: define interface + + // FYI - RSVP source comes from https://github.com/tildeio/rsvp.js/blob/master/lib/rsvp/promise.js + const RSVP: typeof Rsvp; + namespace RSVP { + type Promise<T> = Rsvp.Promise<T>; + } + + /** + * This is a container for an assortment of testing related functionality + */ + namespace Test { + /** + * `registerHelper` is used to register a test helper that will be injected + * when `App.injectTestHelpers` is called. + */ + function registerHelper( + name: string, + helperMethod: (app: Application, ...args: any[]) => any, + options?: object + ): any; + /** + * `registerAsyncHelper` is used to register an async test helper that will be injected + * when `App.injectTestHelpers` is called. + */ + function registerAsyncHelper( + name: string, + helperMethod: (app: Application, ...args: any[]) => any + ): void; + /** + * Remove a previously added helper method. + */ + function unregisterHelper(name: string): void; + /** + * Used to register callbacks to be fired whenever `App.injectTestHelpers` + * is called. + */ + function onInjectHelpers(callback: (app: Application) => void): void; + /** + * This returns a thenable tailored for testing. It catches failed + * `onSuccess` callbacks and invokes the `Ember.Test.adapter.exception` + * callback in the last chained then. + */ + function promise<T>( + resolver: ( + resolve: (value?: T | PromiseLike<T>) => void, + reject: (reason?: any) => void + ) => void, + label?: string + ): Ember.Test.Promise<T>; + /** + * Replacement for `Ember.RSVP.resolve` + * The only difference is this uses + * an instance of `Ember.Test.Promise` + */ + function resolve<T>(value?: T | PromiseLike<T>, label?: string): Ember.Test.Promise<T>; + function resolve(): Ember.Test.Promise<void>; + /** + * This allows ember-testing to play nicely with other asynchronous + * events, such as an application that is waiting for a CSS3 + * transition or an IndexDB transaction. The waiter runs periodically + * after each async helper (i.e. `click`, `andThen`, `visit`, etc) has executed, + * until the returning result is truthy. After the waiters finish, the next async helper + * is executed and the process repeats. + */ + function registerWaiter(callback: () => boolean): any; + function registerWaiter<Context>( + context: Context, + callback: (this: Context) => boolean + ): any; + /** + * `unregisterWaiter` is used to unregister a callback that was + * registered with `registerWaiter`. + */ + function unregisterWaiter(callback: () => boolean): any; + function unregisterWaiter<Context>( + context: Context, + callback: (this: Context) => boolean + ): any; + /** + * Iterates through each registered test waiter, and invokes + * its callback. If any waiter returns false, this method will return + * true indicating that the waiters have not settled yet. + */ + function checkWaiters(): boolean; + /** + * Used to allow ember-testing to communicate with a specific testing + * framework. + */ + const adapter: Adapter; + /** + * The primary purpose of this class is to create hooks that can be implemented + * by an adapter for various test frameworks. + */ + class Adapter { + /** + * This callback will be called whenever an async operation is about to start. + */ + asyncStart(): any; + /** + * This callback will be called whenever an async operation has completed. + */ + asyncEnd(): any; + /** + * Override this method with your testing framework's false assertion. + * This function is called whenever an exception occurs causing the testing + * promise to fail. + */ + exception(error: string): any; + } + /** + * This class implements the methods defined by Ember.Test.Adapter for the + * QUnit testing framework. + */ + class QUnitAdapter extends Adapter {} + class Promise<T> extends Rsvp.Promise<T> { + constructor( + executor: ( + resolve: (value?: T | PromiseLike<T>) => void, + reject: (reason?: any) => void + ) => void + ); + } + } + /** + * Namespace for injection helper methods. + */ + namespace inject { + /** + * Creates a property that lazily looks up another controller in the container. + * Can only be used when defining another controller. + */ + function controller(name?: string): ComputedProperty<Controller>; + /** + * Creates a property that lazily looks up a service in the container. There + * are no restrictions as to what objects a service can be injected into. + */ + function service(name?: string): ComputedProperty<Service>; + } + namespace ENV { + const EXTEND_PROTOTYPES: typeof Ember.EXTEND_PROTOTYPES; + const LOG_BINDINGS: boolean; + const LOG_STACKTRACE_ON_DEPRECATION: boolean; + const LOG_VERSION: boolean; + const MODEL_FACTORY_INJECTIONS: boolean; + const RAISE_ON_DEPRECATION: boolean; + } + namespace EXTEND_PROTOTYPES { + const Array: boolean; + const Function: boolean; + const String: boolean; + } + namespace Handlebars { + function compile(string: string): Function; + function compile(environment: any, options?: any, context?: any, asObject?: any): any; + function precompile(string: string, options: any): void; + class Compiler {} + class JavaScriptCompiler {} + function registerPartial(name: string, str: any): void; + function K(): any; + function createFrame(objec: any): any; + function Exception(message: string): void; + class SafeString { + constructor(str: string); + static toString(): string; + } + function parse(string: string): any; + function print(ast: any): void; + const logger: typeof Ember.Logger; + function log(level: string, str: string): void; + } + namespace String { + function camelize(str: string): string; + function capitalize(str: string): string; + function classify(str: string): string; + function dasherize(str: string): string; + function decamelize(str: string): string; + function fmt(...args: string[]): string; + function htmlSafe(str: string): void; // TODO: @returns Handlebars.SafeStringStatic; + function isHTMLSafe(str: string): boolean; + function loc(...args: string[]): string; + function underscore(str: string): string; + function w(str: string): string[]; + } + const computed: { + <T>(cb: ComputedPropertyCallback<T>): ComputedProperty<T>; + <T>(k1: string, cb: ComputedPropertyCallback<T>): ComputedProperty<T>; + <T>(k1: string, k2: string, cb: ComputedPropertyCallback<T>): ComputedProperty<T>; + <T>( + k1: string, + k2: string, + k3: string, + cb: ComputedPropertyCallback<T> + ): ComputedProperty<T>; + <T>( + k1: string, + k2: string, + k3: string, + k4: string, + cb: ComputedPropertyCallback<T> + ): ComputedProperty<T>; + <T>( + k1: string, + k2: string, + k3: string, + k4: string, + k5: string, + cb: ComputedPropertyCallback<T> + ): ComputedProperty<T>; + <T>( + k1: string, + k2: string, + k3: string, + k4: string, + k5: string, + k6: string, + cb: ComputedPropertyCallback<T> + ): ComputedProperty<T>; + ( + k1: string, + k2: string, + k3: string, + k4: string, + k5: string, + k6: string, + k7: string, + ...rest: any[] + ): ComputedProperty<any>; + + /** + * A computed property that returns true if the value of the dependent + * property is null, an empty string, empty array, or empty function. + */ + empty(dependentKey: string): ComputedProperty<boolean>; + /** + * A computed property that returns true if the value of the dependent + * property is NOT null, an empty string, empty array, or empty function. + */ + notEmpty(dependentKey: string): ComputedProperty<boolean>; + /** + * A computed property that returns true if the value of the dependent + * property is null or undefined. This avoids errors from JSLint complaining + * about use of ==, which can be technically confusing. + */ + none(dependentKey: string): ComputedProperty<boolean>; + /** + * A computed property that returns the inverse boolean value + * of the original value for the dependent property. + */ + not(dependentKey: string): ComputedProperty<boolean>; + /** + * A computed property that converts the provided dependent property + * into a boolean value. + */ + bool(dependentKey: string): ComputedProperty<boolean>; + /** + * A computed property which matches the original value for the + * dependent property against a given RegExp, returning `true` + * if the value matches the RegExp and `false` if it does not. + */ + match(dependentKey: string, regexp: RegExp): ComputedProperty<boolean>; + /** + * A computed property that returns true if the provided dependent property + * is equal to the given value. + */ + equal(dependentKey: string, value: any): ComputedProperty<boolean>; + /** + * A computed property that returns true if the provided dependent property + * is greater than the provided value. + */ + gt(dependentKey: string, value: number): ComputedProperty<boolean>; + /** + * A computed property that returns true if the provided dependent property + * is greater than or equal to the provided value. + */ + gte(dependentKey: string, value: number): ComputedProperty<boolean>; + /** + * A computed property that returns true if the provided dependent property + * is less than the provided value. + */ + lt(dependentKey: string, value: number): ComputedProperty<boolean>; + /** + * A computed property that returns true if the provided dependent property + * is less than or equal to the provided value. + */ + lte(dependentKey: string, value: number): ComputedProperty<boolean>; + /** + * A computed property that performs a logical `and` on the + * original values for the provided dependent properties. + */ + and(...dependentKeys: string[]): ComputedProperty<any>; + /** + * A computed property which performs a logical `or` on the + * original values for the provided dependent properties. + */ + or(...dependentKeys: string[]): ComputedProperty<any>; + /** + * Creates a new property that is an alias for another property + * on an object. Calls to `get` or `set` this property behave as + * though they were called on the original property. + */ + alias(dependentKey: string): ComputedProperty<any>; + /** + * Where `computed.alias` aliases `get` and `set`, and allows for bidirectional + * data flow, `computed.oneWay` only provides an aliased `get`. The `set` will + * not mutate the upstream property, rather causes the current property to + * become the value set. This causes the downstream property to permanently + * diverge from the upstream property. + */ + oneWay(dependentKey: string): ComputedProperty<any>; + /** + * This is a more semantically meaningful alias of `computed.oneWay`, + * whose name is somewhat ambiguous as to which direction the data flows. + */ + reads(dependentKey: string): ComputedProperty<any>; + /** + * Where `computed.oneWay` provides oneWay bindings, `computed.readOnly` provides + * a readOnly one way binding. Very often when using `computed.oneWay` one does + * not also want changes to propagate back up, as they will replace the value. + */ + readOnly(dependentKey: string): ComputedProperty<any>; + /** + * Creates a new property that is an alias for another property + * on an object. Calls to `get` or `set` this property behave as + * though they were called on the original property, but also + * print a deprecation warning. + */ + deprecatingAlias( + dependentKey: string, + options: { id: string; until: string } + ): ComputedProperty<any>; + /** + * @deprecated Missing deprecation options: https://emberjs.com/deprecations/v2.x/#toc_ember-debug-function-options + */ + deprecatingAlias( + dependentKey: string, + options?: { id?: string; until?: string } + ): ComputedProperty<any>; + /** + * A computed property that returns the sum of the values + * in the dependent array. + */ + sum(dependentKey: string): ComputedProperty<number>; + /** + * A computed property that calculates the maximum value in the + * dependent array. This will return `-Infinity` when the dependent + * array is empty. + */ + max(dependentKey: string): ComputedProperty<number>; + /** + * A computed property that calculates the minimum value in the + * dependent array. This will return `Infinity` when the dependent + * array is empty. + */ + min(dependentKey: string): ComputedProperty<number>; + /** + * Returns an array mapped via the callback + */ + map<U>( + dependentKey: string, + callback: (value: any, index: number, array: any[]) => U + ): ComputedProperty<U[]>; + /** + * Returns an array mapped to the specified key. + */ + mapBy(dependentKey: string, propertyKey: string): ComputedProperty<any[]>; + /** + * Filters the array by the callback. + */ + filter( + dependentKey: string, + callback: (value: any, index: number, array: any[]) => boolean + ): ComputedProperty<any[]>; + /** + * Filters the array by the property and value + */ + filterBy( + dependentKey: string, + propertyKey: string, + value?: any + ): ComputedProperty<any[]>; + /** + * A computed property which returns a new array with all the unique + * elements from one or more dependent arrays. + */ + uniq(propertyKey: string): ComputedProperty<any[]>; + /** + * A computed property which returns a new array with all the unique + * elements from an array, with uniqueness determined by specific key. + */ + uniqBy(dependentKey: string, propertyKey: string): ComputedProperty<any[]>; + /** + * A computed property which returns a new array with all the unique + * elements from one or more dependent arrays. + */ + union(...propertyKeys: string[]): ComputedProperty<any[]>; + /** + * A computed property which returns a new array with all the elements + * two or more dependent arrays have in common. + */ + intersect(...propertyKeys: string[]): ComputedProperty<any[]>; + /** + * A computed property which returns a new array with all the + * properties from the first dependent array that are not in the second + * dependent array. + */ + setDiff(setAProperty: string, setBProperty: string): ComputedProperty<any[]>; + /** + * A computed property that returns the array of values + * for the provided dependent properties. + */ + collect(...dependentKeys: string[]): ComputedProperty<any[]>; + /** + * A computed property which returns a new array with all the + * properties from the first dependent array sorted based on a property + * or sort function. + */ + sort( + itemsKey: string, + sortDefinition: string | ((itemA: any, itemB: any) => number) + ): ComputedProperty<any[]>; + }; + const run: { + /** + * Runs the passed target and method inside of a RunLoop, ensuring any + * deferred actions including bindings and views updates are flushed at the + * end. + */ + <Ret>(method: (...args: any[]) => Ret): Ret; + <Target, Ret>(target: Target, method: RunMethod<Target, Ret>): Ret; + /** + * If no run-loop is present, it creates a new one. If a run loop is + * present it will queue itself to run on the existing run-loops action + * queue. + */ + join<Ret>(method: (...args: any[]) => Ret, ...args: any[]): Ret | undefined; + join<Target, Ret>( + target: Target, + method: RunMethod<Target, Ret>, + ...args: any[] + ): Ret | undefined; + /** + * Allows you to specify which context to call the specified function in while + * adding the execution of that function to the Ember run loop. This ability + * makes this method a great way to asynchronously integrate third-party libraries + * into your Ember application. + */ + bind<Target, Ret>( + target: Target, + method: RunMethod<Target, Ret>, + ...args: any[] + ): (...args: any[]) => Ret; + /** + * Begins a new RunLoop. Any deferred actions invoked after the begin will + * be buffered until you invoke a matching call to `run.end()`. This is + * a lower-level way to use a RunLoop instead of using `run()`. + */ + begin(): void; + /** + * Ends a RunLoop. This must be called sometime after you call + * `run.begin()` to flush any deferred actions. This is a lower-level way + * to use a RunLoop instead of using `run()`. + */ + end(): void; + /** + * Adds the passed target/method and any optional arguments to the named + * queue to be executed at the end of the RunLoop. If you have not already + * started a RunLoop when calling this method one will be started for you + * automatically. + */ + schedule<Target>( + queue: EmberRunQueues, + target: Target, + method: RunMethod<Target>, + ...args: any[] + ): EmberRunTimer; + schedule( + queue: EmberRunQueues, + method: (args: any[]) => any, + ...args: any[] + ): EmberRunTimer; + /** + * Invokes the passed target/method and optional arguments after a specified + * period of time. The last parameter of this method must always be a number + * of milliseconds. + */ + later(method: (...args: any[]) => any, wait: number): EmberRunTimer; + later<Target>(target: Target, method: RunMethod<Target>, wait: number): EmberRunTimer; + later<Target>( + target: Target, + method: RunMethod<Target>, + arg0: any, + wait: number + ): EmberRunTimer; + later<Target>( + target: Target, + method: RunMethod<Target>, + arg0: any, + arg1: any, + wait: number + ): EmberRunTimer; + later<Target>( + target: Target, + method: RunMethod<Target>, + arg0: any, + arg1: any, + arg2: any, + wait: number + ): EmberRunTimer; + later<Target>( + target: Target, + method: RunMethod<Target>, + arg0: any, + arg1: any, + arg2: any, + arg3: any, + wait: number + ): EmberRunTimer; + later<Target>( + target: Target, + method: RunMethod<Target>, + arg0: any, + arg1: any, + arg2: any, + arg3: any, + arg4: any, + wait: number + ): EmberRunTimer; + later<Target>( + target: Target, + method: RunMethod<Target>, + arg0: any, + arg1: any, + arg2: any, + arg3: any, + arg4: any, + arg5: any, + wait: number + ): EmberRunTimer; + /** + * Schedule a function to run one time during the current RunLoop. This is equivalent + * to calling `scheduleOnce` with the "actions" queue. + */ + once<Target>(target: Target, method: RunMethod<Target>, ...args: any[]): EmberRunTimer; + /** + * Schedules a function to run one time in a given queue of the current RunLoop. + * Calling this method with the same queue/target/method combination will have + * no effect (past the initial call). + */ + scheduleOnce<Target>( + queue: EmberRunQueues, + target: Target, + method: RunMethod<Target>, + ...args: any[] + ): EmberRunTimer; + /** + * Schedules an item to run from within a separate run loop, after + * control has been returned to the system. This is equivalent to calling + * `run.later` with a wait time of 1ms. + */ + next<Target>(target: Target, method: RunMethod<Target>, ...args: any[]): EmberRunTimer; + /** + * Cancels a scheduled item. Must be a value returned by `run.later()`, + * `run.once()`, `run.scheduleOnce()`, `run.next()`, `run.debounce()`, or + * `run.throttle()`. + */ + cancel(timer: EmberRunTimer): boolean; + /** + * Delay calling the target method until the debounce period has elapsed + * with no additional debounce calls. If `debounce` is called again before + * the specified time has elapsed, the timer is reset and the entire period + * must pass again before the target method is called. + */ + debounce( + method: (...args: any[]) => any, + wait: number, + immediate?: boolean + ): EmberRunTimer; + debounce<Target>( + target: Target, + method: RunMethod<Target>, + wait: number, + immediate?: boolean + ): EmberRunTimer; + debounce<Target>( + target: Target, + method: RunMethod<Target>, + arg0: any, + wait: number, + immediate?: boolean + ): EmberRunTimer; + debounce<Target>( + target: Target, + method: RunMethod<Target>, + arg0: any, + arg1: any, + wait: number, + immediate?: boolean + ): EmberRunTimer; + debounce<Target>( + target: Target, + method: RunMethod<Target>, + arg0: any, + arg1: any, + arg2: any, + wait: number, + immediate?: boolean + ): EmberRunTimer; + debounce<Target>( + target: Target, + method: RunMethod<Target>, + arg0: any, + arg1: any, + arg2: any, + arg3: any, + wait: number, + immediate?: boolean + ): EmberRunTimer; + debounce<Target>( + target: Target, + method: RunMethod<Target>, + arg0: any, + arg1: any, + arg2: any, + arg3: any, + arg4: any, + wait: number, + immediate?: boolean + ): EmberRunTimer; + debounce<Target>( + target: Target, + method: RunMethod<Target>, + arg0: any, + arg1: any, + arg2: any, + arg3: any, + arg4: any, + arg5: any, + wait: number, + immediate?: boolean + ): EmberRunTimer; + /** + * Ensure that the target method is never called more frequently than + * the specified spacing period. The target method is called immediately. + */ + throttle( + method: (...args: any[]) => any, + spacing: number, + immediate?: boolean + ): EmberRunTimer; + throttle<Target>( + target: Target, + method: RunMethod<Target>, + spacing: number, + immediate?: boolean + ): EmberRunTimer; + throttle<Target>( + target: Target, + method: RunMethod<Target>, + arg0: any, + spacing: number, + immediate?: boolean + ): EmberRunTimer; + throttle<Target>( + target: Target, + method: RunMethod<Target>, + arg0: any, + arg1: any, + spacing: number, + immediate?: boolean + ): EmberRunTimer; + throttle<Target>( + target: Target, + method: RunMethod<Target>, + arg0: any, + arg1: any, + arg2: any, + spacing: number, + immediate?: boolean + ): EmberRunTimer; + throttle<Target>( + target: Target, + method: RunMethod<Target>, + arg0: any, + arg1: any, + arg2: any, + arg3: any, + spacing: number, + immediate?: boolean + ): EmberRunTimer; + throttle<Target>( + target: Target, + method: RunMethod<Target>, + arg0: any, + arg1: any, + arg2: any, + arg3: any, + arg4: any, + spacing: number, + immediate?: boolean + ): EmberRunTimer; + throttle<Target>( + target: Target, + method: RunMethod<Target>, + arg0: any, + arg1: any, + arg2: any, + arg3: any, + arg4: any, + arg5: any, + spacing: number, + immediate?: boolean + ): EmberRunTimer; + + queues: EmberRunQueues[]; + }; + const platform: { + defineProperty: boolean; + hasPropertyAccessors: boolean; + }; + + /** + * `getEngineParent` retrieves an engine instance's parent instance. + */ + function getEngineParent(engine: EngineInstance): EngineInstance; + /** + * Display a deprecation warning with the provided message and a stack trace + * (Chrome and Firefox only). + */ + function deprecate( + message: string, + test: boolean, + options: { id: string; until: string } + ): any; + /** + * @deprecated Missing deprecation options: https://emberjs.com/deprecations/v2.x/#toc_ember-debug-function-options + */ + function deprecate( + message: string, + test: boolean, + options?: { id?: string; until?: string } + ): any; + /** + * Define an assertion that will throw an exception if the condition is not met. + */ + function assert(desc: string, test?: boolean): void | never; + /** + * Display a debug notice. + */ + function debug(message: string): void; + /** + * NOTE: This is a low-level method used by other parts of the API. + * You almost never want to call this method directly. Instead you + * should use Ember.mixin() to define new properties. + * @private + */ + function defineProperty( + obj: object, + keyName: string, + desc?: PropertyDescriptor | ComputedProperty<any>, + data?: any, + meta?: any + ): void; + /** + * Alias an old, deprecated method with its new counterpart. + * @private + */ + function deprecateFunc<Func extends ((...args: any[]) => any)>( + message: string, + options: { id: string; until: string }, + func: Func + ): Func; + /** + * @private + * @deprecated Missing deprecation options: https://emberjs.com/deprecations/v2.x/#toc_ember-debug-function-options + */ + function deprecateFunc<Func extends ((...args: any[]) => any)>( + message: string, + func: Func + ): Func; + /** + * Run a function meant for debugging. + */ + function runInDebug(func: () => void): any; + /** + * Display a warning with the provided message. + */ + function warn(message: string, test: boolean, options: { id: string }): any; + function warn(message: string, options: { id: string }): any; + /** + * @deprecated Missing deprecation options: https://emberjs.com/deprecations/v2.x/#toc_ember-debug-function-options + */ + function warn(message: string, test: boolean, options?: { id?: string }): any; + /** + * @deprecated Missing deprecation options: https://emberjs.com/deprecations/v2.x/#toc_ember-debug-function-options + */ + function warn(message: string, options?: { id?: string }): any; + /** + * Global helper method to create a new binding. Just pass the root object + * along with a `to` and `from` path to create and connect the binding. + * @deprecated https://emberjs.com/deprecations/v2.x#toc_ember-binding + */ + function bind(obj: {}, to: string, from: string): Binding; + /** + * Returns the cached value for a property, if one exists. + * This can be useful for peeking at the value of a computed + * property that is generated lazily, without accidentally causing + * it to be created. + */ + function cacheFor<T, K extends keyof T>( + obj: ComputedProperties<T>, + key: K + ): T[K] | undefined; + /** + * Add an event listener + */ + function addListener<Context, Target>( + obj: Context, + key: keyof Context, + target: Target, + method: ObserverMethod<Target, Context>, + once?: boolean + ): void; + /** + * Remove an event listener + */ + function removeListener<Context, Target>( + obj: Context, + key: keyof Context, + target: Target, + method: ObserverMethod<Target, Context> + ): any; + /** + * Send an event. The execution of suspended listeners + * is skipped, and once listeners are removed. A listener without + * a target is executed on the passed object. If an array of actions + * is not passed, the actions stored on the passed object are invoked. + */ + function sendEvent(obj: any, eventName: string, params?: any[], actions?: any[]): boolean; + /** + * Define a property as a function that should be executed when + * a specified event or events are triggered. + */ + function on(eventNames: string, func: (...args: any[]) => void): (...args: any[]) => void; + /** + * To get multiple properties at once, call `Ember.getProperties` + * with an object followed by a list of strings or an array: + */ + function getProperties<T, K extends keyof T>( + obj: ComputedProperties<T>, + list: K[] + ): Pick<T, K>; + function getProperties<T, K extends keyof T>( + obj: ComputedProperties<T>, + ...list: K[] + ): Pick<T, K>; + /** + * A value is blank if it is empty or a whitespace string. + */ + function isBlank(obj: any): boolean; + /** + * Verifies that a value is `null` or an empty string, empty array, + * or empty function. + */ + function isEmpty(obj: any): boolean; + /** + * Returns true if the passed value is null or undefined. This avoids errors + * from JSLint complaining about use of ==, which can be technically + * confusing. + */ + function isNone(obj: any): obj is null | undefined; + /** + * A value is present if it not `isBlank`. + */ + function isPresent(obj: any): boolean; + /** + * Merge the contents of two objects together into the first object. + * @deprecated Use Object.assign + */ + function merge<T, U>(original: T, updates: U): T & U; + /** + * Makes a method available via an additional name. + */ + function aliasMethod(methodName: string): ComputedProperty<any>; + /** + * Specify a method that observes property changes. + */ + function observer(key1: string, func: (target: any, key: string) => void): void; + function observer( + key1: string, + key2: string, + func: (target: any, key: string) => void + ): void; + function observer( + key1: string, + key2: string, + key3: string, + func: (target: any, key: string) => void + ): void; + function observer( + key1: string, + key2: string, + key3: string, + key4: string, + func: (target: any, key: string) => void + ): void; + function observer( + key1: string, + key2: string, + key3: string, + key4: string, + key5: string, + func: (target: any, key: string) => void + ): void; + /** + * Adds an observer on a property. + */ + function addObserver<Context, Target>( + obj: Context, + key: keyof Context, + target: Target, + method: ObserverMethod<Target, Context> + ): void; + /** + * Remove an observer you have previously registered on this object. Pass + * the same key, target, and method you passed to `addObserver()` and your + * target will no longer receive notifications. + */ + function removeObserver<Context, Target>( + obj: Context, + key: keyof Context, + target: Target, + method: ObserverMethod<Target, Context> + ): any; + /** + * Gets the value of a property on an object. If the property is computed, + * the function will be invoked. If the property is not defined but the + * object implements the `unknownProperty` method then that will be invoked. + */ + function get<T, K extends keyof T>(obj: ComputedProperties<T>, key: K): T[K]; + /** + * Retrieves the value of a property from an Object, or a default value in the + * case that the property returns `undefined`. + */ + function getWithDefault<T, K extends keyof T>( + obj: ComputedProperties<T>, + key: K, + defaultValue: T[K] + ): T[K]; + /** + * Sets the value of a property on an object, respecting computed properties + * and notifying observers and other listeners of the change. If the + * property is not defined but the object implements the `setUnknownProperty` + * method then that will be invoked as well. + */ + function set<T, K extends keyof T, V extends T[K]>( + obj: ComputedProperties<T>, + key: K, + value: V + ): V; + /** + * Error-tolerant form of `Ember.set`. Will not blow up if any part of the + * chain is `undefined`, `null`, or destroyed. + */ + function trySet(root: object, path: string, value: any): any; + /** + * Set a list of properties on an object. These properties are set inside + * a single `beginPropertyChanges` and `endPropertyChanges` batch, so + * observers will be buffered. + */ + function setProperties<T, K extends keyof T>( + obj: ComputedProperties<T>, + hash: Pick<T, K> + ): Pick<T, K>; + /** + * Detects when a specific package of Ember (e.g. 'Ember.Application') + * has fully loaded and is available for extension. + * @private + */ + function onLoad(name: string, callback: Function): any; + /** + * Called when an Ember.js package (e.g Ember.Application) has finished + * loading. Triggers any callbacks registered for this event. + * @private + */ + function runLoadHooks(name: string, object?: {}): any; + /** + * Creates an `Ember.NativeArray` from an Array like object. + * Does not modify the original object's contents. Ember.A is not needed if + * `EmberENV.EXTEND_PROTOTYPES` is `true` (the default value). However, + * it is recommended that you use Ember.A when creating addons for + * ember or when you can not guarantee that `EmberENV.EXTEND_PROTOTYPES` + * will be `true`. + */ + function A<T>(arr?: T[]): NativeArray<T>; + /** + * Compares two javascript values and returns: + */ + function compare(v: any, w: any): number; + /** + * Creates a shallow copy of the passed object. A deep copy of the object is + * returned if the optional `deep` argument is `true`. + */ + function copy(obj: any, deep?: boolean): any; + /** + * Compares two objects, returning true if they are equal. + */ + function isEqual(a: any, b: any): boolean; + /** + * Returns true if the passed object is an array or Array-like. + */ + function isArray(obj: any): obj is ArrayLike<any>; + /** + * Returns a consistent type for the passed object. + */ + function typeOf(item: any): string; + /** + * Copy properties from a source object to a target object. + * @deprecated Use Object.assign + */ + function assign<T, U>(target: T, source: U): T & U; + function assign<T, U, V>(target: T, source1: U, source2: V): T & U & V; + function assign<T, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W; + /** + * Polyfill for Object.create + * @deprecated Use Object.create + */ + function create(o: object | null): any; + /** + * Polyfill for Object.keys + * @deprecated Use Object.keys + */ + function keys(o: any): string[]; + /** + * Returns a unique id for the object. If the object does not yet have a guid, + * one will be assigned to it. You can call this on any object, + * `Ember.Object`-based or not, but be aware that it will add a `_guid` + * property. + */ + function guidFor(obj: any): string; + /** + * Convenience method to inspect an object. This method will attempt to + * convert the object into a useful string description. + * @private + */ + function inspect(obj: any): string; + /** + * Checks to see if the `methodName` exists on the `obj`, + * and if it does, invokes it with the arguments passed. + */ + function tryInvoke(obj: any, methodName: string, args?: any[]): any; + /** + * Forces the passed object to be part of an array. If the object is already + * an array, it will return the object. Otherwise, it will add the object to + * an array. If obj is `null` or `undefined`, it will return an empty array. + * @private + */ + function makeArray<T>(obj?: T[] | T | null | undefined): T[]; + /** + * Framework objects in an Ember application (components, services, routes, etc.) + * are created via a factory and dependency injection system. Each of these + * objects is the responsibility of an "owner", which handled its + * instantiation and manages its lifetime. + */ + function getOwner(object: any): any; + /** + * `setOwner` forces a new owner on a given object instance. This is primarily + * useful in some testing cases. + */ + function setOwner(object: any, owner: any): void; + /** + * A function may be assigned to `Ember.onerror` to be called when Ember + * internals encounter an error. This is useful for specialized error handling + * and reporting code. + */ + function onerror(error: Error): void; + /** + * An empty function useful for some operations. Always returns `this`. + * @deprecated https://emberjs.com/deprecations/v2.x/#toc_code-ember-k-code + */ + function K<This>(this: This): This; + /** + * The semantic version + */ + const VERSION: string; + /** + * Alias for jQuery + */ + const $: JQueryStatic; + /** + * This property indicates whether or not this application is currently in + * testing mode. This is set when `setupForTesting` is called on the current + * application. + */ + const testing: boolean; + /** + * @private + */ + const instrument: typeof Instrumentation.instrument; + /** + * @private + */ + const reset: typeof Instrumentation.reset; + /** + * @private + */ + const subscribe: typeof Instrumentation.subscribe; + /** + * @private + */ + const unsubscribe: typeof Instrumentation.unsubscribe; + /** + * Expands `pattern`, invoking `callback` for each expansion. + * @private + */ + function expandProperties(pattern: string, callback: (expanded: string) => void): void; } - class TextSupport { - cancel(event: Function): void; - focusIn(event: Function): void; - focusOut(event: Function): void; - insertNewLine(event: Function): void; - keyPress(event: Function): void; - action: string; - bubbles: boolean; - onEvent: string; - } - const VERSION: string; - class ViewTargetActionSupport extends Mixin { - target: any; - actionContext: any; - } - const ViewUtils: {}; // TODO: define interface - function addListener( - obj: any, - eventName: string, - target: Function | any, - method: Function | string, - once?: boolean - ): void; - const addObserver: ModifyObserver; - /** - Ember.alias is deprecated. Please use Ember.aliasMethod or Ember.computed.alias instead. - **/ - const alias: typeof deprecateFunc; - function aliasMethod(methodName: string): Descriptor; - function assert(desc: string, test: boolean): void; - function beginPropertyChanges(): void; - function bind(obj: any, to: string, from: string): Binding; - function cacheFor(obj: any, key: string): any; - function canInvoke(obj: any, methodName: string): boolean; - function changeProperties(callback: Function, binding?: any): void; - function compare(v: any, w: any): number; - // ReSharper disable once DuplicatingLocalDeclaration - const computed: { - (...args: any[]): ComputedProperty; - alias(dependentKey: string): ComputedProperty; - and(...args: string[]): ComputedProperty; - any(...args: string[]): ComputedProperty; - bool(dependentKey: string): ComputedProperty; - defaultTo(defaultPath: string): ComputedProperty; - empty(dependentKey: string): ComputedProperty; - equal(dependentKey: string, value: any): ComputedProperty; - filter( - dependentKey: string, - callback: (item: any, index?: number, array?: any[]) => boolean - ): ComputedProperty; - filterBy(dependentKey: string, propertyKey: string, value: any): ComputedProperty; - gt(dependentKey: string, value: number): ComputedProperty; - gte(dependentKey: string, value: number): ComputedProperty; - lt(dependentKey: string, value: number): ComputedProperty; - lte(dependentKey: string, value: number): ComputedProperty; - map(dependentKey: string, callback: <T>(item: any, index: number) => T): ComputedProperty; - match(dependentKey: string, regexp: RegExp): ComputedProperty; - none(dependentKey: string): ComputedProperty; - not(dependentKey: string): ComputedProperty; - notEmpty(dependentKey: string): ComputedProperty; - oneWay(dependentKey: string): ComputedProperty; - or(...args: string[]): ComputedProperty; - readOnly(dependentString: string): ComputedProperty; - /** A computed property which returns a new array with all the unique - elements from one or more dependent arrays. Alias for uniq. */ - union(...propertyKeys: string[]): ComputedProperty; - - /** A computed property which returns a new array with all the unique - elements from one or more dependent arrays. */ - uniq(...propertyKeys: string[]): ComputedProperty; - - /** A computed property which returns a new array with all the unique - elements from an array, with uniqueness determined by specific key. */ - uniqBy(dependentKey: string, propertyKey: string): ComputedProperty; - }; - // ReSharper restore DuplicatingLocalDeclaration - function controllerFor( - container: Container, - controllerName: string, - lookupOptions?: {} - ): Controller; - function copy(obj: any, deep: boolean): any; - /** - Creates an instance of the CoreObject class. - @param arguments A hash containing values with which to initialize the newly instantiated object. - **/ - function create(arguments?: {}): CoreObject; - function debug(message: string): void; - function defineProperty(obj: any, keyName: string, desc: {}): void; - function deprecate(message: string, test?: boolean): void; - function deprecateFunc(message: string, func: Function): Function; - function destroy(obj: any): void; - /** - Ember.empty is deprecated. Please use Ember.isEmpty instead. - **/ - // ReSharper disable once DuplicatingLocalDeclaration - const empty: typeof deprecateFunc; - function endPropertyChanges(): void; - function finishChains(obj: any): void; - function generateController( - container: Container, - controllerName: string, - context: any - ): Controller; - function generateGuid(obj: any, prefix?: string): string; - function get(obj: any, keyName: string): any; - function getProperties(obj: any, ...args: string[]): object; - function getProperties(obj: any, keys: string[]): object; - /** - getPath is deprecated since get now supports paths. - **/ - const getPath: typeof deprecateFunc; - function getWithDefault(root: string, key: string, defaultValue: any): any; - function guidFor(obj: any): string; - function handleErrors(func: Function, context: any): any; - function hasListeners(context: any, name: string): boolean; - function hasOwnProperty(prop: string): boolean; - function immediateObserver(func: Function, ...propertyNames: any[]): Function; - function inspect(obj: any): string; - function instrument(name: string, payload: any, callback: Function, binding: any): void; - function isArray(obj: any): boolean; - function isBlank(obj: any): boolean; - function isEmpty(obj: any): boolean; - function isEqual(a: any, b: any): boolean; - function isGlobalPath(path: string): boolean; - const isNamespace: boolean; - function isNone(obj: any): boolean; - function isPresent(obj: any): boolean; - function isPrototypeOf(obj: {}): boolean; - function isWatching(obj: any, key: string): boolean; - function keys(obj: any): any[]; - function listenersDiff(obj: any, eventName: string, otherActions: any[]): any[]; - function listenersFor(obj: any, eventName: string): any[]; - function listenersUnion(obj: any, eventName: string, otherActions: any[]): void; - // ReSharper disable once DuplicatingLocalDeclaration - const lookup: {}; // TODO: define interface - function makeArray(obj: any): any[]; - function merge(original: any, updates: any): any; - function meta(obj: any): {}; - function mixin(obj: any, ...args: any[]): any; - /** - Ember.none is deprecated. Please use Ember.isNone instead. - **/ - const none: typeof deprecateFunc; - function observer(...args: any[]): Function; - function observersFor(obj: any, path: string): any[]; - function onLoad(name: string, callback: Function): void; - const onError: Error; - function onerror(error: any): void; - function overrideChains(obj: any, keyName: string, m: any): boolean; - // ReSharper disable once DuplicatingLocalDeclaration - const platform: { - defineProperty: boolean; - hasPropertyAccessors: boolean; - }; - function propertyDidChange(obj: any, keyName: string): void; - function propertyIsEnumerable(prop: string): boolean; - function propertyWillChange(obj: any, keyName: string): void; - function removeChainWatcher(obj: any, keyName: string, node: any): void; - function removeListener( - obj: any, - eventName: string, - target: Function | any, - method: Function | string - ): void; - function removeObserver(obj: any, path: string, target: any, method: Function): any; - function required(): Descriptor; - function rewatch(obj: any): void; - - type RunMethod<T> = (...args: any[]) => T; - const run: { - <T>(method: RunMethod<T> | string): T; - <T>(target: any, method: RunMethod<T> | string): T; - begin(): void; - cancel(timer: any): void; - debounce(target: any, method: Function | string, ...args: any[]): void; - end(): void; - join(target: any, method: Function | string, ...args: any[]): any; - later(target: any, method: Function | string, ...args: any[]): string; - next(target: any, method: Function | string, ...args: any[]): number; - once(target: any, method: Function | string, ...args: any[]): number; - schedule(queue: string, target: any, method: Function | string, ...args: any[]): void; - scheduleOnce(queue: string, target: any, method: Function | string, ...args: any[]): void; - sync(): void; - throttle(target: any, method: Function | string, ...args: any[]): void; - queues: any[]; - }; - function runInDebug(fn: Function): void; - function runLoadHooks(name: string, object: any): void; - function sendEvent(obj: any, eventName: string, params?: any[], actions?: any[]): boolean; - function set(obj: any, keyName: string, value: any): any; - /** - setPath is deprecated since set now supports paths. - **/ - const setPath: typeof deprecateFunc; - function setProperties(self: any, hash: {}): any; - function subscribe(pattern: string, object: any): void; - function toLocaleString(): string; - function toString(): string; - function tryCatchFinally( - tryable: Function, - catchable: Function, - finalizer: Function, - binding?: any - ): any; - function tryInvoke(obj: any, methodName: string, args?: any[]): any; - function trySet(obj: any, path: string, value: any): void; - /** - trySetPath has been renamed to trySet. - **/ - const trySetPath: typeof deprecateFunc; - function typeOf(item: any): string; - function unwatch(obj: any, keyPath: string): void; - function unwatchKey(obj: any, keyName: string): void; - function unwatchPath(obj: any, keyPath: string): void; - // ReSharper disable once DuplicatingLocalDeclaration - const uuid: number; - function valueOf(): {}; - function warn(message: string, test?: boolean): void; - function watch(obj: any, keyPath: string): void; - function watchKey(obj: any, keyName: string): void; - function watchPath(obj: any, keyPath: string): void; - function watchedEvents(obj: {}): any[]; - function wrap(func: Function, superFunc: Function): Function; - const _ContainerProxyMixin: Mixin; - const _RegistryProxyMixin: Mixin; - function getOwner(object: any): any; - function setOwner(object: any, owner: any): void; - const testing: boolean; - const MODEL_FACTORY_INJECTIONS: boolean; - function assign(original: any, ...sources: any[]): any; + export default Ember; } -export default Ember; +declare module '@ember/application' { + import Ember from 'ember'; + export default Ember.Application; + export const getOwner: typeof Ember.getOwner; + export const onLoad: typeof Ember.onLoad; + export const runLoadHooks: typeof Ember.runLoadHooks; + export const setOwner: typeof Ember.setOwner; +} + +declare module '@ember/application/deprecations' { + import Ember from 'ember'; + export const deprecate: typeof Ember.deprecate; + export const deprecateFunc: typeof Ember.deprecateFunc; +} + +declare module '@ember/application/globals-resolver' { + import Ember from 'ember'; + export default Ember.DefaultResolver; +} + +declare module '@ember/application/instance' { + import Ember from 'ember'; + export default Ember.ApplicationInstance; +} + +declare module '@ember/application/resolver' { + import Ember from 'ember'; + export default Ember.Resolver; +} + +declare module '@ember/array' { + import Ember from 'ember'; + export default Ember.Array; + export const A: typeof Ember.A; + export const isArray: typeof Ember.isArray; + export const makeArray: typeof Ember.makeArray; +} + +declare module '@ember/array/mutable' { + import Ember from 'ember'; + export default Ember.MutableArray; +} + +declare module '@ember/array/proxy' { + import Ember from 'ember'; + export default Ember.ArrayProxy; +} + +declare module '@ember/component' { + import Ember from 'ember'; + export default Ember.Component; +} + +declare module '@ember/component/checkbox' { + import Ember from 'ember'; + export default Ember.Checkbox; +} + +declare module '@ember/component/helper' { + import Ember from 'ember'; + export default Ember.Helper; + export const helper: typeof Ember.Helper.helper; +} + +declare module '@ember/component/text-area' { + import Ember from 'ember'; + export default Ember.TextArea; +} + +declare module '@ember/component/text-field' { + import Ember from 'ember'; + export default Ember.TextField; +} + +declare module '@ember/controller' { + import Ember from 'ember'; + export default Ember.Controller; + export const inject: typeof Ember.inject.controller; +} + +declare module '@ember/debug' { + import Ember from 'ember'; + export const assert: typeof Ember.assert; + export const debug: typeof Ember.debug; + export const inspect: typeof Ember.inspect; + export const registerDeprecationHandler: typeof Ember.Debug.registerDeprecationHandler; + export const registerWarnHandler: typeof Ember.Debug.registerWarnHandler; + export const runInDebug: typeof Ember.runInDebug; + export const warn: typeof Ember.warn; +} + +declare module '@ember/debug/container-debug-adapter' { + import Ember from 'ember'; + export default Ember.ContainerDebugAdapter; +} + +declare module '@ember/debug/data-adapter' { + import Ember from 'ember'; + export default Ember.DataAdapter; +} + +declare module '@ember/engine' { + import Ember from 'ember'; + export default Ember.Engine; + export const getEngineParent: typeof Ember.getEngineParent; +} + +declare module '@ember/engine/instance' { + import Ember from 'ember'; + export default Ember.EngineInstance; +} + +declare module '@ember/enumerable' { + import Ember from 'ember'; + export default Ember.Enumerable; +} + +declare module '@ember/instrumentation' { + import Ember from 'ember'; + export const instrument: typeof Ember.instrument; + export const reset: typeof Ember.reset; + export const subscribe: typeof Ember.subscribe; + export const unsubscribe: typeof Ember.unsubscribe; +} + +declare module '@ember/map' { + import Ember from 'ember'; + export default Ember.Map; +} + +declare module '@ember/map/with-default' { + import Ember from 'ember'; + export default Ember.MapWithDefault; +} + +declare module '@ember/object' { + import Ember from 'ember'; + export default Ember.Object; + export const aliasMethod: typeof Ember.aliasMethod; + export const computed: typeof Ember.computed; + export const defineProperty: typeof Ember.defineProperty; + export const get: typeof Ember.get; + export const getProperties: typeof Ember.getProperties; + export const getWithDefault: typeof Ember.getWithDefault; + export const observer: typeof Ember.observer; + export const set: typeof Ember.set; + export const setProperties: typeof Ember.setProperties; + export const trySet: typeof Ember.trySet; +} + +declare module '@ember/object/computed' { + import Ember from 'ember'; + export default Ember.ComputedProperty; + export const alias: typeof Ember.computed.alias; + export const and: typeof Ember.computed.and; + export const bool: typeof Ember.computed.bool; + export const collect: typeof Ember.computed.collect; + export const deprecatingAlias: typeof Ember.computed.deprecatingAlias; + export const empty: typeof Ember.computed.empty; + export const equal: typeof Ember.computed.equal; + export const expandProperties: typeof Ember.expandProperties; + export const filter: typeof Ember.computed.filter; + export const filterBy: typeof Ember.computed.filterBy; + export const gt: typeof Ember.computed.gt; + export const gte: typeof Ember.computed.gte; + export const intersect: typeof Ember.computed.intersect; + export const lt: typeof Ember.computed.lt; + export const lte: typeof Ember.computed.lte; + export const map: typeof Ember.computed.map; + export const mapBy: typeof Ember.computed.mapBy; + export const match: typeof Ember.computed.match; + export const max: typeof Ember.computed.max; + export const min: typeof Ember.computed.min; + export const none: typeof Ember.computed.none; + export const not: typeof Ember.computed.not; + export const notEmpty: typeof Ember.computed.notEmpty; + export const oneWay: typeof Ember.computed.oneWay; + export const or: typeof Ember.computed.or; + export const readOnly: typeof Ember.computed.readOnly; + export const reads: typeof Ember.computed.reads; + export const setDiff: typeof Ember.computed.setDiff; + export const sort: typeof Ember.computed.sort; + export const sum: typeof Ember.computed.sum; + export const union: typeof Ember.computed.union; + export const uniq: typeof Ember.computed.uniq; + export const uniqBy: typeof Ember.computed.uniqBy; +} + +declare module '@ember/object/core' { + import Ember from 'ember'; + export default Ember.CoreObject; +} + +declare module '@ember/object/evented' { + import Ember from 'ember'; + export default Ember.Evented; + export const on: typeof Ember.on; +} + +declare module '@ember/object/events' { + import Ember from 'ember'; + export const addListener: typeof Ember.addListener; + export const removeListener: typeof Ember.removeListener; + export const sendEvent: typeof Ember.sendEvent; +} + +declare module '@ember/object/internals' { + import Ember from 'ember'; + export const cacheFor: typeof Ember.cacheFor; + export const copy: typeof Ember.copy; + export const guidFor: typeof Ember.guidFor; +} + +declare module '@ember/object/mixin' { + import Ember from 'ember'; + export default Ember.Mixin; +} + +declare module '@ember/object/observable' { + import Ember from 'ember'; + export default Ember.Observable; +} + +declare module '@ember/object/observers' { + import Ember from 'ember'; + export const addObserver: typeof Ember.addObserver; + export const removeObserver: typeof Ember.removeObserver; +} + +declare module '@ember/object/promise-proxy-mixin' { + import Ember from 'ember'; + export default Ember.PromiseProxyMixin; +} + +declare module '@ember/object/proxy' { + import Ember from 'ember'; + export default Ember.ObjectProxy; +} + +declare module '@ember/polyfills' { + import Ember from 'ember'; + export const assign: typeof Ember.assign; + export const create: typeof Ember.create; + export const hasPropertyAccessors: typeof Ember.platform.hasPropertyAccessors; + export const keys: typeof Ember.keys; + export const merge: typeof Ember.merge; +} + +declare module '@ember/routing/auto-location' { + import Ember from 'ember'; + export default Ember.AutoLocation; +} + +declare module '@ember/routing/hash-location' { + import Ember from 'ember'; + export default Ember.HashLocation; +} + +declare module '@ember/routing/history-location' { + import Ember from 'ember'; + export default Ember.HistoryLocation; +} + +declare module '@ember/routing/link-component' { + import Ember from 'ember'; + export default Ember.LinkComponent; +} + +declare module '@ember/routing/location' { + import Ember from 'ember'; + export default Ember.Location; +} + +declare module '@ember/routing/none-location' { + import Ember from 'ember'; + export default Ember.NoneLocation; +} + +declare module '@ember/routing/route' { + import Ember from 'ember'; + export default Ember.Route; +} + +declare module '@ember/routing/router' { + import Ember from 'ember'; + export default Ember.Router; +} + +declare module '@ember/runloop' { + import Ember from 'ember'; + export const begin: typeof Ember.run.begin; + export const bind: typeof Ember.run.bind; + export const cancel: typeof Ember.run.cancel; + export const debounce: typeof Ember.run.debounce; + export const end: typeof Ember.run.end; + export const join: typeof Ember.run.join; + export const later: typeof Ember.run.later; + export const next: typeof Ember.run.next; + export const once: typeof Ember.run.once; + export const run: typeof Ember.run; + export const schedule: typeof Ember.run.schedule; + export const scheduleOnce: typeof Ember.run.scheduleOnce; + export const throttle: typeof Ember.run.throttle; +} + +declare module '@ember/service' { + import Ember from 'ember'; + export default Ember.Service; + export const inject: typeof Ember.inject.service; +} + +declare module '@ember/string' { + import Ember from 'ember'; + export const camelize: typeof Ember.String.camelize; + export const capitalize: typeof Ember.String.capitalize; + export const classify: typeof Ember.String.classify; + export const dasherize: typeof Ember.String.dasherize; + export const decamelize: typeof Ember.String.decamelize; + export const fmt: typeof Ember.String.fmt; + export const htmlSafe: typeof Ember.String.htmlSafe; + export const isHTMLSafe: typeof Ember.String.isHTMLSafe; + export const loc: typeof Ember.String.loc; + export const underscore: typeof Ember.String.underscore; + export const w: typeof Ember.String.w; +} + +declare module '@ember/test' { + import Ember from 'ember'; + export const registerAsyncHelper: typeof Ember.Test.registerAsyncHelper; + export const registerHelper: typeof Ember.Test.registerHelper; + export const registerWaiter: typeof Ember.Test.registerWaiter; + export const unregisterHelper: typeof Ember.Test.unregisterHelper; + export const unregisterWaiter: typeof Ember.Test.unregisterWaiter; +} + +declare module '@ember/test/adapter' { + import Ember from 'ember'; + export default Ember.Test.Adapter; +} + +declare module '@ember/utils' { + import Ember from 'ember'; + export const compare: typeof Ember.compare; + export const isBlank: typeof Ember.isBlank; + export const isEmpty: typeof Ember.isEmpty; + export const isEqual: typeof Ember.isEqual; + export const isNone: typeof Ember.isNone; + export const isPresent: typeof Ember.isPresent; + export const tryInvoke: typeof Ember.tryInvoke; + export const typeOf: typeof Ember.typeOf; +} + +declare module 'htmlbars-inline-precompile' { + interface TemplateFactory { + __htmlbars_inline_precompile_template_factory: any; + } + export default function hbs(tagged: TemplateStringsArray): TemplateFactory; +} diff --git a/types/ember/test/application.ts b/types/ember/test/application.ts new file mode 100755 index 0000000000..0589e64879 --- /dev/null +++ b/types/ember/test/application.ts @@ -0,0 +1,15 @@ +import Ember from 'ember'; +import { assertType } from "./lib/assert"; + +let App = Ember.Application.create({ + customEvents: { + paste: 'paste' + } +}); + +let App2 = Ember.Application.create({ + customEvents: { + mouseenter: null, + mouseleave: null + } +}); diff --git a/types/ember/test/array-ext.ts b/types/ember/test/array-ext.ts new file mode 100755 index 0000000000..86e84fd7c5 --- /dev/null +++ b/types/ember/test/array-ext.ts @@ -0,0 +1,18 @@ +import Ember from 'ember'; +import { assertType } from './lib/assert'; + +declare global { + interface Array<T> extends Ember.ArrayPrototypeExtensions<T> {} +} + +class Person extends Ember.Object { + name: string; +} + +const person = Person.create({ name: 'Joe' }); +const array = [person]; + +assertType<number>(array.get('length')); +assertType<Person | undefined>(array.get('firstObject')); +assertType<string[]>(array.mapBy('name')); +assertType<string[]>(array.map(p => p.get('name'))); diff --git a/types/ember/test/array-proxy.ts b/types/ember/test/array-proxy.ts new file mode 100755 index 0000000000..280ab52ded --- /dev/null +++ b/types/ember/test/array-proxy.ts @@ -0,0 +1,26 @@ +import Ember from 'ember'; +import { assertType } from './lib/assert'; + +const pets = ['dog', 'cat', 'fish']; +const proxy = Ember.ArrayProxy.create({ content: Ember.A(pets) }); + +proxy.get('firstObject'); // 'dog' +proxy.set('content', Ember.A(['amoeba', 'paramecium'])); +proxy.get('firstObject'); // 'amoeba' + +const overridden = Ember.ArrayProxy.create({ + content: Ember.A(pets), + objectAtContent(idx: number): string { + return this.get('content').objectAt(idx)!.toUpperCase(); + } +}); + +overridden.get('firstObject'); // 'DOG' + +class MyNewProxy<T> extends Ember.ArrayProxy<T> { + isNew = true; +} + +let x: MyNewProxy<number> = MyNewProxy.create({ content: Ember.A([1, 2, 3]) }); +assertType<number | undefined>(x.get('firstObject')); +assertType<boolean>(x.isNew); diff --git a/types/ember/test/array.ts b/types/ember/test/array.ts new file mode 100755 index 0000000000..5934459735 --- /dev/null +++ b/types/ember/test/array.ts @@ -0,0 +1,46 @@ +import Ember from 'ember'; +import { assertType } from './lib/assert'; + +type Person = typeof Person.prototype; +const Person = Ember.Object.extend({ + name: '', + isHappy: false +}); + +const people = Ember.A([ + Person.create({ name: 'Yehuda', isHappy: true }), + Person.create({ name: 'Majd', isHappy: false }), +]); + +assertType<number>(people.get('length')); +assertType<Person>(people.get('lastObject')); +assertType<boolean>(people.isAny('isHappy')); +assertType<boolean>(people.isAny('isHappy', false)); +assertType<Person[]>(people.filterBy('isHappy')); +assertType<typeof people>(people.get('[]')); +assertType<Person>(people.get('[]').get('firstObject')); + +assertType<Ember.Array<boolean>>(people.mapBy('isHappy')); +assertType<any[]>(people.mapBy('name.length')); + +const last = people.get('lastObject'); +if (last) { + assertType<string>(last.get('name')); +} + +const first = people.get('lastObject'); +if (first) { + assertType<boolean>(first.get('isHappy')); +} + +const letters: Ember.Enumerable<string> = Ember.A(['a', 'b', 'c']); +const codes: number[] = letters.map((item, index, enumerable) => { + assertType<string>(item); + assertType<number>(index); + return item.charCodeAt(0); +}); + +let value = '1,2,3'; +let filters = Ember.A(value.split(',')); +filters.push('4'); +filters.sort(); diff --git a/types/ember/test/component.ts b/types/ember/test/component.ts new file mode 100755 index 0000000000..bcc314300d --- /dev/null +++ b/types/ember/test/component.ts @@ -0,0 +1,124 @@ +import Ember from 'ember'; +import Component from '@ember/component'; +import Object, { computed } from '@ember/object'; +import hbs from 'htmlbars-inline-precompile'; +import { assertType } from "./lib/assert"; + +Component.extend({ + layout: hbs` + <div> + {{yield}} + </div> + `, +}); + +Component.extend({ + layout: 'my-layout', +}); + +const MyComponent = Component.extend(); +assertType<string | string[]>(Ember.get(MyComponent, 'positionalParams')); + +const component1 = Component.extend({ + actions: { + hello(name: string) { + console.log('Hello', name); + }, + }, +}); + +Component.extend({ + name: '', + hello(name: string) { + this.set('name', name); + }, +}); + +Component.extend({ + tagName: 'em', +}); + +Component.extend({ + classNames: ['my-class', 'my-other-class'], +}); + +Component.extend({ + classNameBindings: ['propertyA', 'propertyB'], + propertyA: 'from-a', + propertyB: computed(function() { + if (!this.get('propertyA')) { + return 'from-b'; + } + }), +}); + +Component.extend({ + classNameBindings: ['hovered'], + hovered: true, +}); + +Component.extend({ + classNameBindings: ['messages.empty'], + messages: Object.create({ + empty: true, + }), +}); + +Component.extend({ + classNameBindings: ['isEnabled:enabled:disabled'], + isEnabled: true, +}); + +Component.extend({ + classNameBindings: ['isEnabled::disabled'], + isEnabled: true, +}); + +Component.extend({ + tagName: 'a', + attributeBindings: ['href'], + href: 'http://google.com', +}); + +Component.extend({ + tagName: 'a', + attributeBindings: ['url:href'], + url: 'http://google.com', +}); + +Component.extend({ + tagName: 'use', + attributeBindings: ['xlinkHref:xlink:href'], + xlinkHref: '#triangle', +}); + +Component.extend({ + tagName: 'input', + attributeBindings: ['disabled'], + disabled: false, +}); + +Component.extend({ + tagName: 'input', + attributeBindings: ['disabled'], + disabled: computed(() => { + if ('someLogic') { + return true; + } else { + return false; + } + }), +}); + +Component.extend({ + tagName: 'form', + attributeBindings: ['novalidate'], + novalidate: null, +}); + +Component.extend({ + click(event: object) { + // will be called when an instance's + // rendered element is clicked + }, +}); diff --git a/types/ember/test/computed.ts b/types/ember/test/computed.ts new file mode 100755 index 0000000000..b9bfe2ada6 --- /dev/null +++ b/types/ember/test/computed.ts @@ -0,0 +1,160 @@ +import Ember from 'ember'; +import Component from '@ember/component'; +import { or } from '@ember/object/computed'; +import { assertType } from './lib/assert'; + +const Person = Ember.Object.extend({ + firstName: '', + lastName: '', + age: 0, + + noArgs: Ember.computed<string>(() => 'test'), + + fullName: Ember.computed<string>('firstName', 'lastName', function() { + return `${this.get('firstName')} ${this.get('lastName')}`; + }), + + fullNameReadonly: Ember.computed<string>('fullName', function() { + return this.get('fullName'); + }).readOnly(), + + fullNameWritable: Ember.computed<string>('firstName', 'lastName', { + get() { + return this.get('fullName'); + }, + set(key, value) { + let [first, last] = value.split(' '); + this.set('firstName', first); + this.set('lastName', last); + return value; + } + }), + + fullNameGetOnly: Ember.computed<string>('fullName', { + get() { + return this.get('fullName'); + } + }), + + fullNameSetOnly: Ember.computed<string>('firstName', 'lastName', { + set(key, value) { + let [first, last] = value.split(' '); + this.set('firstName', first); + this.set('lastName', last); + return value; + } + }), + + combinators: Ember.computed<string>(function() { + return this.get('firstName'); + }).property('firstName') + .meta({ foo: 'bar' }) + .volatile() + .readOnly() +}); + +const person = Person.create({ + firstName: 'Fred', + lastName: 'Smith', + age: 29, +}); + +assertType<string>(person.firstName); +assertType<number>(person.age); +assertType<Ember.ComputedProperty<string>>(person.noArgs); +assertType<Ember.ComputedProperty<string>>(person.fullName); +assertType<Ember.ComputedProperty<string>>(person.fullNameReadonly); +assertType<Ember.ComputedProperty<string>>(person.fullNameWritable); +assertType<Ember.ComputedProperty<string>>(person.fullNameGetOnly); +assertType<Ember.ComputedProperty<string>>(person.fullNameSetOnly); +assertType<Ember.ComputedProperty<string>>(person.combinators); + +assertType<string>(person.get('firstName')); +assertType<number>(person.get('age')); +assertType<string>(person.get('noArgs')); +assertType<string>(person.get('fullName')); +assertType<string>(person.get('fullNameReadonly')); +assertType<string>(person.get('fullNameWritable')); +assertType<string>(person.get('fullNameGetOnly')); +assertType<string>(person.get('fullNameSetOnly')); +assertType<string>(person.get('combinators')); + +assertType<{ firstName: string, fullName: string, age: number }>(person.getProperties('firstName', 'fullName', 'age')); + +const person2 = Person.create({ + fullName: 'Fred Smith' +}); + +assertType<string>(person2.get('firstName')); +assertType<string>(person2.get('fullName')); + +const person3 = Person.extend({ + firstName: 'Fred', + fullName: 'Fred Smith' +}).create(); + +assertType<string>(person3.get('firstName')); +assertType<string>(person3.get('fullName')); + +const person4 = Person.extend({ + firstName: Ember.computed(() => 'Fred'), + fullName: Ember.computed(() => 'Fred Smith') +}).create(); + +assertType<string>(person4.get('firstName')); +assertType<string>(person4.get('fullName')); + +// computed property macros +const objectWithComputedProperties = Ember.Object.extend({ + alias: Ember.computed.alias('foo'), + and: Ember.computed.and('foo', 'bar', 'baz', 'qux'), + bool: Ember.computed.bool('foo'), + collect: Ember.computed.collect('foo', 'bar', 'baz', 'qux'), + deprecatingAlias: Ember.computed.deprecatingAlias('foo', { + id: 'hamster.deprecate-banana', + until: '3.0.0' + }), + empty: Ember.computed.empty('foo'), + equalNumber: Ember.computed.equal('foo', 1), + equalString: Ember.computed.equal('foo', 'bar'), + equalObject: Ember.computed.equal('foo', {}), + filter: Ember.computed.filter('foo', (item) => item === 'bar'), + filterBy1: Ember.computed.filterBy('foo', 'bar'), + filterBy2: Ember.computed.filterBy('foo', 'bar', false), + gt: Ember.computed.gt('foo', 3), + gte: Ember.computed.gte('foo', 3), + intersect: Ember.computed.intersect('foo', 'bar', 'baz', 'qux'), + lt: Ember.computed.lt('foo', 3), + lte: Ember.computed.lte('foo', 3), + map: Ember.computed.map('foo', (item, index) => item.bar), + mapBy: Ember.computed.mapBy('foo', 'bar'), + match: Ember.computed.match('foo', /^tom.ter$/), + max: Ember.computed.max('foo'), + min: Ember.computed.min('foo'), + none: Ember.computed.none('foo'), + not: Ember.computed.not('foo'), + notEmpty: Ember.computed.notEmpty('foo'), + oneWay: Ember.computed.oneWay('foo'), + or: Ember.computed.or('foo', 'bar', 'baz', 'qux'), + readOnly: Ember.computed.readOnly('foo'), + reads: Ember.computed.reads('foo'), + setDiff: Ember.computed.setDiff('foo', 'bar'), + sort1: Ember.computed.sort('foo', 'bar'), + sort2: Ember.computed.sort('foo', (itemA, itemB) => { + if (itemA < itemB) { + return -1; + } else if (itemA > itemB) { + return 1; + } else { + return 0; + } + }), + sum: Ember.computed.sum('foo'), + union: Ember.computed.union('foo', 'bar', 'baz', 'qux'), + uniq: Ember.computed.uniq('foo'), + uniqBy: Ember.computed.uniqBy('foo', 'bar') +}); + +const component2 = Component.extend({ + isAnimal: or('isDog', 'isCat') +}); diff --git a/types/ember/test/controller.ts b/types/ember/test/controller.ts new file mode 100755 index 0000000000..02307f447c --- /dev/null +++ b/types/ember/test/controller.ts @@ -0,0 +1,11 @@ +import Controller from '@ember/controller'; + +Controller.extend ({ + queryParams: ['category'], + category: null, + isExpanded: false, + + toggleBody() { + this.toggleProperty('isExpanded'); + } +}); diff --git a/types/ember/test/create.ts b/types/ember/test/create.ts new file mode 100755 index 0000000000..6dc61b80f6 --- /dev/null +++ b/types/ember/test/create.ts @@ -0,0 +1,7 @@ +import Ember from 'ember'; +import { assertType } from './lib/assert'; + +const obj = Ember.Object.create({ a: 1 }, { b: 2 }, { c: 3 }); +assertType<number>(obj.a); +assertType<number>(obj.b); +assertType<number>(obj.c); diff --git a/types/ember/test/detect-instance.ts b/types/ember/test/detect-instance.ts new file mode 100755 index 0000000000..1b25beb244 --- /dev/null +++ b/types/ember/test/detect-instance.ts @@ -0,0 +1,20 @@ +import Ember from 'ember'; +import { assertType } from './lib/assert'; + +const ExtendClass = Ember.Object.extend({ + foo: 'hello' +}); + +class ES6Class extends Ember.Object { + bar: string; +} + +let testObject = null; + +if (ExtendClass.detectInstance(testObject)) { + assertType<string>(testObject.foo); +} + +if (ES6Class.detectInstance(testObject)) { + assertType<string>(testObject.bar); +} diff --git a/types/ember/test/detect.ts b/types/ember/test/detect.ts new file mode 100755 index 0000000000..cd54880f9f --- /dev/null +++ b/types/ember/test/detect.ts @@ -0,0 +1,20 @@ +import Ember from 'ember'; +import { assertType } from './lib/assert'; + +const ExtendClass = Ember.Object.extend({ + foo: 'hello' +}); + +class ES6Class extends Ember.Object { + bar: string; +} + +let TestClass = Ember.Object; + +if (ExtendClass.detect(TestClass)) { + assertType<string>(TestClass.create().foo); +} + +if (ES6Class.detect(TestClass)) { + assertType<string>(TestClass.create().bar); +} diff --git a/types/ember/ember-tests.ts b/types/ember/test/ember-tests.ts old mode 100644 new mode 100755 similarity index 68% rename from types/ember/ember-tests.ts rename to types/ember/test/ember-tests.ts index 3964d68a86..94de3bf259 --- a/types/ember/ember-tests.ts +++ b/types/ember/test/ember-tests.ts @@ -2,8 +2,7 @@ import Ember from 'ember'; let App: any; -App = Ember.Application.create<Ember.Application>(); - +App = Ember.Application.create(); App.president = Ember.Object.create({ name: 'Barack Obama', }); @@ -23,8 +22,9 @@ App.president.get('fullName'); declare class MyPerson extends Ember.Object { static createMan(): MyPerson; } +MyPerson.createMan(); -const Person1 = Ember.Object.extend<typeof MyPerson>({ +const Person1 = Ember.Object.extend({ say: (thing: string) => { alert(thing); }, @@ -33,7 +33,9 @@ const Person1 = Ember.Object.extend<typeof MyPerson>({ declare class MyPerson2 extends Ember.Object { helloWorld(): void; } -const tom = Person1.create<MyPerson2>({ +MyPerson2.create().helloWorld(); + +const tom = Person1.create({ name: 'Tom Dale', helloWorld() { this.say('Hi my name is ' + this.get('name')); @@ -41,23 +43,8 @@ const tom = Person1.create<MyPerson2>({ }); tom.helloWorld(); -Person1.reopen({ isPerson: true }); -Person1.create<Ember.Object>().get('isPerson'); - -Person1.reopenClass({ - createMan: () => { - return Person1.create({ isMan: true }); - }, -}); -// ReSharper disable once DuplicatingLocalDeclaration -Person1.createMan().get('isMan'); - -const person = Person1.create<Ember.Object>({ - firstName: 'Yehuda', - lastName: 'Katz', -}); -person.addObserver('fullName', null, () => {}); -person.set('firstName', 'Brohuda'); +const PersonReopened = Person1.reopen({ isPerson: true }); +PersonReopened.create().get('isPerson'); App.todosController = Ember.Object.create({ todos: [Ember.Object.create({ isDone: false })], @@ -105,17 +92,6 @@ App.userController = Ember.Object.create({ }), }); -Ember.Helper.helper(params => { - const cents = params[0]; - return `${cents * 0.01}`; -}); - -Ember.Helper.helper((params, hash) => { - const cents = params[0]; - const currency = hash.currency; - return `${currency}${cents * 0.01}`; -}); - Handlebars.registerHelper( 'highlight', (property: string, options: any) => @@ -124,7 +100,8 @@ Handlebars.registerHelper( const coolView = App.CoolView.create(); -const Person2 = Ember.Object.extend<typeof Ember.Object>({ +const Person2 = Ember.Object.extend({ + name: '', sayHello() { console.log('Hello from ' + this.get('name')); }, @@ -140,24 +117,25 @@ const arr = Ember.A([Ember.Object.create(), Ember.Object.create()]); arr.setEach('name', 'unknown'); arr.getEach('name'); -const Person3 = Ember.Object.extend<typeof Ember.Object>({ - name: null, +const Person3 = Ember.Object.extend({ + name: '', isHappy: false, }); const people2 = Ember.A([ Person3.create({ name: 'Yehuda', isHappy: true }), Person3.create({ name: 'Majd', isHappy: false }), ]); -const isHappy = (person: Ember.Object): Boolean => { +const isHappy = (person: typeof Person3.prototype): boolean => { return !!person.get('isHappy'); }; people2.every(isHappy); people2.any(isHappy); -people2.everyProperty('isHappy', true); -people2.someProperty('isHappy', true); +people2.isEvery('isHappy', true); +people2.isAny('isHappy', true); +people2.isAny('isHappy'); // Examples taken from http://emberjs.com/api/classes/Em.RSVP.Promise.html -const promise = new Ember.RSVP.Promise<string, string>((resolve: Function, reject: Function) => { +const promise = new Ember.RSVP.Promise<string>((resolve: Function, reject: Function) => { // on success resolve('ok!'); @@ -174,6 +152,9 @@ promise.then( } ); +// make sure Ember.RSVP.Promise can be reference as a type +declare function promiseReturningFunction(urn: string): Ember.RSVP.Promise<string>; + const mix1 = Ember.Mixin.create({ foo: 1, }); @@ -182,27 +163,7 @@ const mix2 = Ember.Mixin.create({ bar: 2, }); -const mix3 = Ember.Mixin.create({ - foo: 3, -}); - -const mix4 = Ember.Mixin.create({ - bar: 4, -}); - -const mix5 = Ember.Mixin.create({ - foo: 5, -}); - -const mix6 = Ember.Mixin.create({ - bar: 6, -}); - -const mix7 = Ember.Mixin.create({ - foo: 7, -}); - -const component1 = Ember.Component.extend(mix1, mix2, mix3, mix4, mix5, mix6, mix7, { +const component1 = Ember.Component.extend(mix1, mix2, { lyft: Ember.inject.service(), cars: Ember.computed.readOnly('lyft.cars'), }); diff --git a/types/ember/test/event.ts b/types/ember/test/event.ts new file mode 100755 index 0000000000..c934072440 --- /dev/null +++ b/types/ember/test/event.ts @@ -0,0 +1,58 @@ +import Ember from 'ember'; + +function testOn() { + let Job = Ember.Object.extend({ + logCompleted: Ember.on('completed', function() { + console.log('Job completed!'); + }) + }); + + let job = Job.create(); + + Ember.sendEvent(job, 'completed'); // Logs 'Job completed!' +} + +function testEvented() { + let Person = Ember.Object.extend(Ember.Evented, { + greet() { + this.trigger('greet'); + } + }); + + let person = Person.create(); + + person.on('greet', function() { + console.log('Our person has greeted'); + }); + + person.on('greet', function() { + console.log('Our person has greeted'); + }).one('greet', function() { + console.log('Offer one-time special'); + }).off('event', {}, function() {}); + + person.greet(); +} + +function testObserver() { + Ember.Object.extend({ + valueObserver: Ember.observer('value', function() { + // Executes whenever the "value" property changes + }) + }); +} + +function testListener() { + Ember.Component.extend({ + init() { + Ember.addListener(this, 'willDestroyElement', this, 'willDestroyListener'); + Ember.addListener(this, 'willDestroyElement', this, 'willDestroyListener', true); + Ember.addListener(this, 'willDestroyElement', this, this.willDestroyListener); + Ember.addListener(this, 'willDestroyElement', this, this.willDestroyListener, true); + Ember.removeListener(this, 'willDestroyElement', this, 'willDestroyListener'); + Ember.removeListener(this, 'willDestroyElement', this, this.willDestroyListener); + }, + willDestroyListener() { + } + }); +} diff --git a/types/ember/test/extend.ts b/types/ember/test/extend.ts new file mode 100755 index 0000000000..a54f81a600 --- /dev/null +++ b/types/ember/test/extend.ts @@ -0,0 +1,61 @@ +import Ember from 'ember'; +import { assertType } from './lib/assert'; + +const Person = Ember.Object.extend({ + firstName: '', + lastName: '', + + getFullName() { + return `${this.firstName} ${this.lastName}`; + }, + getFullName2(): string { + return `${this.get('firstName')} ${this.get('lastName')}`; + } +}); + +assertType<string>(Person.prototype.firstName); +assertType<() => string>(Person.prototype.getFullName); + +const person = Person.create({ + firstName: 'Joe', + lastName: 'Blow', + extra: 42 +}); + +assertType<string>(person.getFullName()); +assertType<number>(person.extra); + +class ES6Person extends Ember.Object { + firstName: string; + lastName: string; + + get fullName() { + return `${this.firstName} ${this.lastName}`; + } + get fullName2(): string { + return `${this.get('firstName')} ${this.get('lastName')}`; + } +} + +assertType<string>(ES6Person.prototype.firstName); +assertType<string>(ES6Person.prototype.fullName); + +const es6Person = ES6Person.create({ + firstName: 'Joe', + lastName: 'Blow', + extra: 42 +}); + +assertType<string>(es6Person.fullName); +assertType<number>(es6Person.extra); + +class PersonWithStatics extends Ember.Object { + static isPerson = true; +} +const PersonWithStatics2 = PersonWithStatics.extend({}); +class PersonWithStatics3 extends PersonWithStatics {} +class PersonWithStatics4 extends PersonWithStatics2 {} +assertType<boolean>(PersonWithStatics.isPerson); +assertType<boolean>(PersonWithStatics2.isPerson); +assertType<boolean>(PersonWithStatics3.isPerson); +assertType<boolean>(PersonWithStatics4.isPerson); diff --git a/types/ember/test/function-ext.ts b/types/ember/test/function-ext.ts new file mode 100755 index 0000000000..37d831d49a --- /dev/null +++ b/types/ember/test/function-ext.ts @@ -0,0 +1,21 @@ +import Ember from 'ember'; + +declare global { + interface Function extends Ember.FunctionPrototypeExtensions {} +} + +Ember.Object.extend({ + foo: '', + + arr: function() { + return []; + }.property(), + + alias: function(this: any) { + return this.get('foo'); + }.property('foo', 'bar.@each.baz'), + + observer: function() {}.observes('foo', 'bar'), + + on: function() {}.on('foo', 'bar'), +}); diff --git a/types/ember/test/helper.ts b/types/ember/test/helper.ts new file mode 100755 index 0000000000..efe3ce33d7 --- /dev/null +++ b/types/ember/test/helper.ts @@ -0,0 +1,27 @@ +import Ember from 'ember'; + +const FormatCurrencyHelper = Ember.Helper.helper(function(params, hash: { currency: string }) { + let cents = params[0]; + let currency = hash.currency; + return `${currency}${cents * 0.01}`; +}); + +class User extends Ember.Object { + email: string; +} + +class SessionService extends Ember.Service { + currentUser: User; +} + +const CurrentUserEmailHelper = Ember.Helper.extend({ + session: Ember.inject.service() as Ember.ComputedProperty<SessionService>, + onNewUser: Ember.observer('session.currentUser', function(this: Ember.Helper) { + this.recompute(); + }), + compute(): string { + return this.get('session') + .get('currentUser') + .get('email'); + }, +}); diff --git a/types/ember/test/inject.ts b/types/ember/test/inject.ts new file mode 100755 index 0000000000..dd628f6d2a --- /dev/null +++ b/types/ember/test/inject.ts @@ -0,0 +1,20 @@ +import Ember from 'ember'; + +class AuthService extends Ember.Service { + isAuthenticated: boolean; +} + +class ApplicationController extends Ember.Controller { + transitionToLogin() {} +} + +class LoginRoute extends Ember.Route { + auth = Ember.inject.service('authentication') as Ember.ComputedProperty<AuthService>; + application = Ember.inject.controller() as Ember.ComputedProperty<ApplicationController>; + + didTransition() { + if (!this.get('auth').get('isAuthenticated')) { + this.get('application').transitionToLogin(); + } + } +} diff --git a/types/ember/test/lib/assert.ts b/types/ember/test/lib/assert.ts new file mode 100755 index 0000000000..d6748cd5bc --- /dev/null +++ b/types/ember/test/lib/assert.ts @@ -0,0 +1,5 @@ +/** Static assertion that `value` has type `T` */ +// Disable tslint here b/c the generic is used to let us do a type coercion and +// validate that coercion works for the type value "passed into" the function. +// tslint:disable-next-line:no-unnecessary-generics +export declare function assertType<T>(value: T): void; diff --git a/types/ember/test/mixin.ts b/types/ember/test/mixin.ts new file mode 100755 index 0000000000..2c417c00da --- /dev/null +++ b/types/ember/test/mixin.ts @@ -0,0 +1,46 @@ +import Ember from 'ember'; +import { assertType } from "./lib/assert"; + +interface EditableMixin { + edit(): void; + isEditing: boolean; +} + +const EditableMixin: Ember.Mixin<EditableMixin, Ember.Route> = Ember.Mixin.create({ + edit() { + this.get('controller'); + console.log('starting to edit'); + this.set('isEditing', true); + }, + isEditing: false +}); + +const EditableComment = Ember.Route.extend(EditableMixin, { + postId: 0, + + canEdit() { + return !this.isEditing; + }, + + tryEdit() { + if (this.canEdit()) { + this.edit(); + } + } +}); + +const comment = EditableComment.create({ + postId: 42 +}); + +comment.edit(); +comment.canEdit(); +comment.tryEdit(); +assertType<boolean>(comment.isEditing); +assertType<number>(comment.postId); + +const LiteralMixins = Ember.Object.extend({ a: 1 }, { b: 2 }, { c: 3 }); +const obj = LiteralMixins.create(); +assertType<number>(obj.a); +assertType<number>(obj.b); +assertType<number>(obj.c); diff --git a/types/ember/test/object.ts b/types/ember/test/object.ts new file mode 100755 index 0000000000..cfe2c9380f --- /dev/null +++ b/types/ember/test/object.ts @@ -0,0 +1,15 @@ +import Ember from 'ember'; + +const LifetimeHooks = Ember.Object.extend({ + resource: null as {} | null, + + init() { + this._super(); + this.resource = {}; + }, + + willDestroy() { + delete this.resource; + this._super(); + } +}); diff --git a/types/ember/test/observable.ts b/types/ember/test/observable.ts new file mode 100755 index 0000000000..680b6decf7 --- /dev/null +++ b/types/ember/test/observable.ts @@ -0,0 +1,88 @@ +import Ember from 'ember'; +import { assertType } from './lib/assert'; + +class MyComponent extends Ember.Component { + foo = 'bar'; + + init() { + this._super.apply(this, arguments); + this.addObserver('foo', this, 'fooDidChange'); + this.addObserver('foo', this, this.fooDidChange); + Ember.addObserver(this, 'foo', this, 'fooDidChange'); + Ember.addObserver(this, 'foo', this, this.fooDidChange); + this.removeObserver('foo', this, 'fooDidChange'); + this.removeObserver('foo', this, this.fooDidChange); + Ember.removeObserver(this, 'foo', this, 'fooDidChange'); + Ember.removeObserver(this, 'foo', this, this.fooDidChange); + } + + fooDidChange(sender: MyComponent, key: 'foo') { + // your code + } +} + +const myComponent = MyComponent.create(); +myComponent.addObserver('foo', null, () => {}); +myComponent.set('foo', 'baz'); + +const person = Ember.Object.create({ + name: 'Fred', + age: 29, + capitalized: Ember.computed<string>(function() { + return this.get('name').toUpperCase(); + }) +}); + +const pojo = { name: 'Fred', age: 29 }; + +function testGet() { + assertType<string>(Ember.get(person, 'name')); + assertType<number>(Ember.get(person, 'age')); + assertType<string>(Ember.get(person, 'capitalized')); + assertType<string>(person.get('name')); + assertType<number>(person.get('age')); + assertType<string>(person.get('capitalized')); + assertType<string>(Ember.get(pojo, 'name')); +} + +function testGetProperties() { + assertType<{ name: string }>(Ember.getProperties(person, 'name')); + assertType<{ name: string, age: number }>(Ember.getProperties(person, 'name', 'age')); + assertType<{ name: string, age: number }>(Ember.getProperties(person, [ 'name', 'age' ])); + assertType<{ name: string, age: number, capitalized: string }>(Ember.getProperties(person, 'name', 'age', 'capitalized')); + assertType<{ name: string }>(person.getProperties('name')); + assertType<{ name: string, age: number }>(person.getProperties('name', 'age')); + assertType<{ name: string, age: number }>(person.getProperties([ 'name', 'age' ])); + assertType<{ name: string, age: number, capitalized: string }>(person.getProperties('name', 'age', 'capitalized')); + assertType<{ name: string, age: number }>(Ember.getProperties(pojo, 'name', 'age')); +} + +function testGetWithDefault() { + assertType<string>(Ember.getWithDefault(person, 'name', 'Joe')); + assertType<number>(Ember.getWithDefault(person, 'age', 20)); + assertType<string>(Ember.getWithDefault(person, 'capitalized', 'JOE')); + assertType<string>(person.getWithDefault('name', 'Joe')); + assertType<number>(person.getWithDefault('age', 20)); + assertType<string>(person.getWithDefault('capitalized', 'JOE')); + assertType<string>(Ember.getWithDefault(pojo, 'name', 'JOE')); +} + +function testSet() { + assertType<string>(Ember.set(person, 'name', 'Joe')); + assertType<number>(Ember.set(person, 'age', 35)); + assertType<string>(Ember.set(person, 'capitalized', 'JOE')); + assertType<string>(person.set('name', 'Joe')); + assertType<number>(person.set('age', 35)); + assertType<string>(person.set('capitalized', 'JOE')); + assertType<string>(Ember.set(pojo, 'name', 'Joe')); +} + +function testSetProperties() { + assertType<{ name: string }>(Ember.setProperties(person, { name: 'Joe' })); + assertType<{ name: string, age: number }>(Ember.setProperties(person, { name: 'Joe', age: 35 })); + assertType<{ name: string, capitalized: string }>(Ember.setProperties(person, { name: 'Joe', capitalized: 'JOE' })); + assertType<{ name: string }>(person.setProperties({ name: 'Joe' })); + assertType<{ name: string, age: number }>(person.setProperties({ name: 'Joe', age: 35 })); + assertType<{ name: string, capitalized: string }>(person.setProperties({ name: 'Joe', capitalized: 'JOE' })); + assertType<{ name: string, age: number }>(Ember.setProperties(pojo, { name: 'Joe', age: 35 })); +} diff --git a/types/ember/test/reopen.ts b/types/ember/test/reopen.ts new file mode 100755 index 0000000000..6c13ca4155 --- /dev/null +++ b/types/ember/test/reopen.ts @@ -0,0 +1,65 @@ +import Ember from 'ember'; +import { assertType } from "./lib/assert"; + +type Person = typeof Person.prototype; +const Person = Ember.Object.extend({ + name: '', + sayHello() { + alert(`Hello. My name is ${this.get('name')}`); + } +}); + +assertType<Person>(Person.reopen()); + +assertType<string>(Person.create().name); +assertType<void>(Person.create().sayHello()); + +const Person2 = Person.reopenClass({ + species: 'Homo sapiens', + + createPerson(name: string): Person { + return Person.create({ name }); + } +}); + +assertType<string>(Person2.create().name); +assertType<void>(Person2.create().sayHello()); +assertType<string>(Person2.species); + +let tom = Person2.create({ + name: 'Tom Dale' +}); +let yehuda = Person2.createPerson('Yehuda Katz'); + +tom.sayHello(); // "Hello. My name is Tom Dale" +yehuda.sayHello(); // "Hello. My name is Yehuda Katz" +alert(Person2.species); // "Homo sapiens" + +const Person3 = Person2.reopen({ + goodbyeMessage: 'goodbye', + + sayGoodbye() { + alert(`${this.get('goodbyeMessage')}, ${this.get('name')}`); + } +}); + +const person3 = Person3.create(); +person3.get('name'); +person3.get('goodbyeMessage'); +person3.sayHello(); +person3.sayGoodbye(); + +interface AutoResizeMixin { resizable: true; } +declare const AutoResizeMixin: Ember.Mixin<AutoResizeMixin>; + +const ResizableTextArea = Ember.TextArea.reopen(AutoResizeMixin, { + scaling: 1.0 +}); +const text = ResizableTextArea.create(); +assertType<boolean>(text.resizable); +assertType<number>(text.scaling); + +const Reopened = Ember.Object.reopenClass({ a: 1 }, { b: 2 }, { c: 3 }); +assertType<number>(Reopened.a); +assertType<number>(Reopened.b); +assertType<number>(Reopened.c); diff --git a/types/ember/test/route.ts b/types/ember/test/route.ts new file mode 100755 index 0000000000..22193bd88d --- /dev/null +++ b/types/ember/test/route.ts @@ -0,0 +1,87 @@ +import Route from '@ember/routing/route'; +import Object from '@ember/object'; +import Array from '@ember/array'; +import Ember from 'ember'; // currently needed for Transition + +interface Post extends Ember.Object {} + +interface Posts extends Array<Post> {} + +Route.extend({ + beforeModel(transition: Ember.Transition) { + this.transitionTo('someOtherRoute'); + }, +}); + +Route.extend({ + afterModel(posts: Posts, transition: Ember.Transition) { + if (posts.length === 1) { + this.transitionTo('post.show', posts.firstObject); + } + }, +}); + +Route.extend({ + actions: { + showModal(evt: { modalName: string }) { + this.render(evt.modalName, { + outlet: 'modal', + into: 'application', + }); + }, + hideModal(evt: { modalName: string }) { + this.disconnectOutlet({ + outlet: 'modal', + parentView: 'application', + }); + }, + }, +}); + +Ember.Route.extend({ + model() { + return this.modelFor('post'); + }, +}); + +Route.extend({ + queryParams: { + memberQp: { refreshModel: true }, + }, +}); + +Route.extend({ + renderTemplate() { + this.render('photos', { + into: 'application', + outlet: 'anOutletName', + }); + }, +}); + +Route.extend({ + renderTemplate(controller: Ember.Controller, model: {}) { + this.render('posts', { + view: 'someView', // the template to render, referenced by name + into: 'application', // the template to render into, referenced by name + outlet: 'anOutletName', // the outlet inside `options.into` to render into. + controller: 'someControllerName', // the controller to use for this template, referenced by name + model, // the model to set on `options.controller`. + }); + }, +}); + +Route.extend({ + resetController(controller: Ember.Controller, isExiting: boolean, transition: boolean) { + if (isExiting) { + // controller.set('page', 1); + } + }, +}); + +Route.extend({ + setupController(controller: Ember.Controller, model: {}) { + this._super(controller, model); + this.controllerFor('application').set('model', model); + }, +}); diff --git a/types/ember/test/router.ts b/types/ember/test/router.ts new file mode 100755 index 0000000000..a4aa89af1a --- /dev/null +++ b/types/ember/test/router.ts @@ -0,0 +1,23 @@ +import Ember from 'ember'; + +const AppRouter = Ember.Router.extend({ +}); + +AppRouter.map(function() { + this.route('index', { path: '/' }); + this.route('about'); + this.route('favorites', { path: '/favs' }); + this.route('posts', function() { + this.route('index', { path: '/' }); + this.route('new'); + this.route('post', { path: '/post/:post_id', resetNamespace: true }); + this.route('comments', { resetNamespace: true }, function() { + this.route('new'); + }); + }); + this.route('photo', { path: '/photo/:id' }, function() { + this.route('comment', { path: '/comment/:id' }); + }); + this.route('not-found', { path: '/*path' }); + this.mount('my-engine'); +}); diff --git a/types/ember/test/run.ts b/types/ember/test/run.ts new file mode 100755 index 0000000000..8d1c82e6e3 --- /dev/null +++ b/types/ember/test/run.ts @@ -0,0 +1,204 @@ +import Ember from 'ember'; +import RSVP from 'rsvp'; +import { run } from '@ember/runloop'; +import { assertType } from "./lib/assert"; + +assertType<string[]>(Ember.run.queues); + +function testRun() { + let r = run(function() { + // code to be executed within a RunLoop + return 123; + }); + assertType<number>(r); + + function destroyApp(application: Ember.Application) { + Ember.run(application, 'destroy'); + run(application, function() { + this.destroy(); + }); + } +} + +function testBind() { + Ember.Component.extend({ + init() { + const bound = Ember.run.bind(this, this.setupEditor); + bound(); + }, + + editor: null as string | null, + + setupEditor(editor: string) { + this.set('editor', editor); + } + }); +} + +function testCancel() { + const myContext = {}; + + let runNext = run.next(myContext, function() { + // will not be executed + }); + + run.cancel(runNext); + + let runLater = run.later(myContext, function() { + // will not be executed + }, 500); + + run.cancel(runLater); + + let runScheduleOnce = run.scheduleOnce('afterRender', myContext, function() { + // will not be executed + }); + + run.cancel(runScheduleOnce); + + let runOnce = run.once(myContext, function() { + // will not be executed + }); + + run.cancel(runOnce); + + let throttle = run.throttle(myContext, function() { + // will not be executed + }, 1, false); + + run.cancel(throttle); + + let debounce = run.debounce(myContext, function() { + // will not be executed + }, 1); + + run.cancel(debounce); + + let debounceImmediate = run.debounce(myContext, function() { + // will be executed since we passed in true (immediate) + }, 100, true); + + // the 100ms delay until this method can be called again will be canceled + run.cancel(debounceImmediate); +} + +function testDebounce() { + function runIt() { + } + + let myContext = { name: 'debounce' }; + + run.debounce(runIt, 150); + run.debounce(myContext, runIt, 150); + run.debounce(myContext, runIt, 150, true); + + Ember.Component.extend({ + searchValue: 'test', + fetchResults(value: string) {}, + + actions: { + handleTyping() { + // the fetchResults function is passed into the component from its parent + Ember.run.debounce(this, this.get('fetchResults'), this.get('searchValue'), 250); + } + } + }); +} + +function testBegin() { + run.begin(); + // code to be executed within a RunLoop + run.end(); +} + +function testJoin() { + run.join(function() { + // creates a new run-loop + }); + + run(function() { + // creates a new run-loop + run.join(function() { + // joins with the existing run-loop, and queues for invocation on + // the existing run-loops action queue. + }); + }); + + new RSVP.Promise(function(resolve) { + Ember.run.later(function() { + resolve({ msg: 'Hold Your Horses' }); + }, 3000); + }); +} + +function testLater() { + const myContext = {}; + run.later(myContext, function() { + // code here will execute within a RunLoop in about 500ms with this == myContext + }, 500); +} + +function testNext() { + const myContext = {}; + run.next(myContext, function() { + // code to be executed in the next run loop, + // which will be scheduled after the current one + }); +} + +function testOnce() { + Ember.Component.extend({ + init() { + Ember.run.once(this, 'processFullName'); + }, + + processFullName() { + } + }); +} + +function testSchedule() { + Ember.Component.extend({ + init() { + run.schedule('sync', this, function() { + // this will be executed in the first RunLoop queue, when bindings are synced + console.log('scheduled on sync queue'); + }); + + run.schedule('actions', this, function() { + // this will be executed in the 'actions' queue, after bindings have synced. + console.log('scheduled on actions queue'); + }); + } + }); + + Ember.run.schedule('actions', () => { + // Do more things + }); +} + +function testScheduleOnce() { + function sayHi() { + console.log('hi'); + } + + const myContext = {}; + run(function() { + run.scheduleOnce('afterRender', myContext, sayHi); + run.scheduleOnce('afterRender', myContext, sayHi); + // sayHi will only be executed once, in the afterRender queue of the RunLoop + }); + run.scheduleOnce('actions', myContext, function() { + console.log('Closure'); + }); +} + +function testThrottle() { + function runIt() { + } + + let myContext = { name: 'throttle' }; + + run.throttle(runIt, 150); + run.throttle(myContext, runIt, 150); +} diff --git a/types/ember/test/test.ts b/types/ember/test/test.ts new file mode 100755 index 0000000000..6cd1b2b908 --- /dev/null +++ b/types/ember/test/test.ts @@ -0,0 +1,32 @@ +import Ember from 'ember'; + +let pending = 0; +Ember.Test.registerWaiter(() => pending !== 0); + +declare const MyDb: { + hasPendingTransactions(): boolean; +}; +Ember.Test.registerWaiter(MyDb, MyDb.hasPendingTransactions); + +Ember.Test.promise(function(resolve) { + window.setTimeout(resolve, 500); +}); + +Ember.Test.registerHelper('boot', function(app) { + Ember.run(app, app.advanceReadiness); +}); + +Ember.Test.registerAsyncHelper('boot', function(app) { + Ember.run(app, app.advanceReadiness); +}); + +Ember.Test.registerAsyncHelper('waitForPromise', (app, promise) => { + return new Ember.Test.Promise((resolve) => { + Ember.Test.adapter.asyncStart(); + + promise.then(() => { + Ember.run.schedule('afterRender', null, resolve); + Ember.Test.adapter.asyncEnd(); + }); + }); +}); diff --git a/types/ember/test/transition.ts b/types/ember/test/transition.ts new file mode 100755 index 0000000000..3a64675c24 --- /dev/null +++ b/types/ember/test/transition.ts @@ -0,0 +1,28 @@ +import Ember from 'ember'; + +Ember.Route.extend({ + beforeModel(transition: Ember.Transition) { + if (new Date() > new Date('January 1, 1980')) { + alert('Sorry, you need a time machine to enter this route.'); + transition.abort(); + } + } +}); + +Ember.Controller.extend({ + previousTransition: <Ember.Transition | null> null, + + actions: { + login() { + // Log the user in, then reattempt previous transition if it exists. + let previousTransition = this.get('previousTransition'); + if (previousTransition) { + this.set('previousTransition', null); + previousTransition.retry(); + } else { + // Default back to homepage + this.transitionToRoute('index'); + } + } + } +}); diff --git a/types/ember/test/utils.ts b/types/ember/test/utils.ts new file mode 100755 index 0000000000..d729d472b8 --- /dev/null +++ b/types/ember/test/utils.ts @@ -0,0 +1,71 @@ +import Ember from 'ember'; +import * as utils from '@ember/utils'; +import { assertType } from "./lib/assert"; + +function testIsNoneType() { + const maybeUndefined: string | undefined = 'not actually undefined'; + if (utils.isNone(maybeUndefined)) { + return; + } + + const anotherString = maybeUndefined + 'another string'; +} + +function testMerge() { + assertType<{ first: string, last: string }>( + Ember.merge({ first: 'Tom' }, { last: 'Dale' }) + ); +} + +function testAssign() { + assertType<{ first: string, middle: string, last: string }>( + Ember.assign({ first: 'Tom' }, { middle: 'M' }, { last: 'Dale' }) + ); +} + +function testOnError() { + Ember.onerror = function(error) { + Ember.$.post('/report-error', { + stack: error.stack, + otherInformation: 'whatever app state you want to provide' + }); + }; +} + +function testMakeArray() { + assertType<any[]>(Ember.makeArray()); + assertType<any[]>(Ember.makeArray(null)); + assertType<any[]>(Ember.makeArray(undefined)); + assertType<string[]>(Ember.makeArray('lindsay')); + assertType<number[]>(Ember.makeArray([1, 2, 42])); +} + +function testDeprecateFunc() { + function newMethod(first: string, second: number): string { + return ''; + } + + let oldMethod = Ember.deprecateFunc('Please use the new method', { id: 'deprecated.id', until: '6.0' }, newMethod); + assertType<string>(newMethod('first', 123)); + assertType<string>(oldMethod('first', 123)); +} + +function testDefineProperty() { + const contact = {}; + + // ES5 compatible mode + Ember.defineProperty(contact, 'firstName', { + writable: true, + configurable: false, + enumerable: true, + value: 'Charles' + }); + + // define a simple property + Ember.defineProperty(contact, 'lastName', undefined, 'Jolley'); + + // define a computed property + Ember.defineProperty(contact, 'fullName', Ember.computed('firstName', 'lastName', function() { + return `${this.firstName} ${this.lastName}`; + })); +} diff --git a/types/ember/tsconfig.json b/types/ember/tsconfig.json old mode 100644 new mode 100755 index 194304e853..c0aab2e780 --- a/types/ember/tsconfig.json +++ b/types/ember/tsconfig.json @@ -1,24 +1,49 @@ { "compilerOptions": { "module": "commonjs", + "target": "es5", "lib": [ "es6", "dom" ], "noImplicitAny": true, - "noImplicitThis": false, + "noImplicitThis": true, "strictNullChecks": true, - "strictFunctionTypes": true, + "strictFunctionTypes": false, "baseUrl": "../", - "typeRoots": [ - "../" - ], + "typeRoots": ["../"], "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, "files": [ "index.d.ts", - "ember-tests.ts" + "test/lib/assert.ts", + "test/application.ts", + "test/ember-tests.ts", + "test/event.ts", + "test/extend.ts", + "test/create.ts", + "test/object.ts", + "test/observable.ts", + "test/mixin.ts", + "test/reopen.ts", + "test/detect.ts", + "test/detect-instance.ts", + "test/array.ts", + "test/array-ext.ts", + "test/array-proxy.ts", + "test/helper.ts", + "test/computed.ts", + "test/component.ts", + "test/function-ext.ts", + "test/inject.ts", + "test/utils.ts", + "test/transition.ts", + "test/router.ts", + "test/run.ts", + "test/test.ts", + "test/controller.ts", + "test/route.ts" ] -} \ No newline at end of file +} diff --git a/types/ember/tslint.json b/types/ember/tslint.json old mode 100644 new mode 100755 index 309f39a5d1..78e2a5a753 --- a/types/ember/tslint.json +++ b/types/ember/tslint.json @@ -4,11 +4,24 @@ // Heavy use of Function type in this older package. "ban-types": false, "jsdoc-format": false, - "no-any-union": false, "no-misused-new": false, - // not sure what this means + + // these are disabled because of rfc176 module exports + "strict-export-declare-modifiers": false, "no-single-declare-module": false, - "no-unnecessary-generics": false, - "no-unnecessary-qualifier": false + "no-declare-current-package": false, + "no-self-import": false, + + // We use interfaces in a number of places to express things (including + // mixins in particular, but also including extending a global + // interface) which TS currently can't express correctly. + "no-empty-interface": false, + + "no-duplicate-imports": false, + "no-unnecessary-qualifier": false, + "prefer-const": false, + "no-void-expression": false, + "only-arrow-functions": false, + "no-submodule-imports": false } } diff --git a/types/rsvp/index.d.ts b/types/rsvp/index.d.ts old mode 100644 new mode 100755 index 7ea82988f4..4e9b8edda9 --- a/types/rsvp/index.d.ts +++ b/types/rsvp/index.d.ts @@ -1,382 +1,629 @@ -// Type definitions for RSVP 3.3.3 +// Type definitions for RSVP 4.0 // Project: https://github.com/tildeio/rsvp.js -// Definitions by: Taylor Brown <https://github.com/Taytay> -// Mikael Kohlmyr <https://github.com/mkohlmyr> -// Theron Cross <https://github.com/theroncross> -// Chris Krycho <https://github.com/chriskrycho> +// Definitions by: Chris Krycho <https://github.com/chriskrycho> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.4 -// Some of this file was taken from the type definitions for es6-promise https://github.com/borisyankov/DefinitelyTyped/blob/master/es6-promise/es6-promise.d.ts -// Credit for that file goes to: François de Campredon <https://github.com/fdecampredon> +// These types are derived in large part from the Microsoft-supplied types for +// ES2015 Promises. They have been tweaked to support RSVP's extensions to the +// Promises A+ spec and the additional helper functions it supplies. -// Some of this file was taken from the type definitions for Q : https://github.com/borisyankov/DefinitelyTyped/blob/master/q/Q.d.ts -// Credit for that file goes to: Barrie Nemetchek <https://github.com/bnemetchek>, Andrew Gaspar <https://github.com/AndrewGaspar>, John Reilly <https://github.com/johnnyreilly> +declare module 'rsvp' { + namespace RSVP { + // All the Promise methods essentially flatten existing promises, so that + // you don't end up with `Promise<Promise<Promise<string>>>` if you happen + // to return another `Promise` from a `.then()` invocation, etc. So all of + // them can take a type or a promise-like/then-able type. + type Arg<T> = T | PromiseLike<T>; -declare namespace RSVP { - type Resolution<T, U, C> = (value: T) => U | Thenable<U, C>; - type Rejection<T, C, D> = (error: C) => D | Thenable<T, D>; + // RSVP supplies status for promises in certain places. + enum State { + fulfilled = 'fulfilled', + rejected = 'rejected', + pending = 'pending', + } - interface Thenable<T, C> { - then(label?: string): Thenable<T, C>; - then<U>(onFulfillment: Resolution<T, U, C>, label?: string): Thenable<U, C>; - then<U, D>( - onFulfillment: Resolution<T, U, C>, - onRejected: Rejection<T, C, D>, - label?: string - ): Thenable<U, D>; - } + type Resolved<T> = { + state: State.fulfilled; + value: T; + }; - interface Catchable<C> { - catch(label?: string): Catchable<C>; - catch<D>(onRejection: (error: C) => D, label?: string): Catchable<D>; - } + type Rejected<T = any> = { + state: State.rejected; + reason: T; + }; - interface Deferred<T, C> { - promise: Promise<T, C>; - resolve(value: T): void; - reject(reason: C): void; - } + type Pending = { + state: State.pending; + }; - type PromiseStates = 'fulfilled' | 'rejected' | 'pending'; - interface IPromiseState<T, C> { - state: PromiseStates; - value: T; - reason: C; - } + type PromiseState<T> = Resolved<T> | Rejected | Pending; - class Resolved<T, C> implements IPromiseState<T, C> { - state: 'fulfilled'; - value: T; - reason: never; - } + type Deferred<T> = { + promise: Promise<T>; + resolve: (value?: RSVP.Arg<T>) => void; + reject: (reason?: any) => void; + }; - class Rejected<T, C> implements IPromiseState<T, C> { - state: 'rejected'; - value: never; - reason: C; - } + interface InstrumentEvent { + guid: string; // guid of promise. Must be globally unique, not just within the implementation + childGuid: string; // child of child promise (for chained via `then`) + eventName: string; // one of ['created', 'chained', 'fulfilled', 'rejected'] + detail: any; // fulfillment value or rejection reason, if applicable + label: string; // label passed to promise's constructor + timeStamp: number; // milliseconds elapsed since 1 January 1970 00:00:00 UTC up until now + } - class Pending<T, C> implements IPromiseState<T, C> { - state: 'pending'; - value: never; - reason: never; - } + interface ObjectWithEventMixins { + on( + eventName: 'created' | 'chained' | 'fulfilled' | 'rejected', + listener: (event: InstrumentEvent) => void + ): void; + on(eventName: 'error', errorHandler: (reason: any) => void): void; + on(eventName: string, callback: (value: any) => void): void; + off(eventName: string, callback?: (value: any) => void): void; + trigger(eventName: string, options?: any, label?: string): void; + } - type PromiseState<T, C> = Resolved<T, C> | Rejected<C, C> | Pending<T, C>; + class EventTarget { + /** `RSVP.EventTarget.mixin` extends an object with EventTarget methods. */ + static mixin(object: object): ObjectWithEventMixins; - type PromiseHash<T, C> = { [P in keyof T]: Thenable<T[P], C> | T[P] }; + /** Registers a callback to be executed when `eventName` is triggered */ + static on( + eventName: 'created' | 'chained' | 'fulfilled' | 'rejected', + listener: (event: InstrumentEvent) => void + ): void; + static on(eventName: 'error', errorHandler: (reason: any) => void): void; + static on(eventName: string, callback: (value: any) => void): void; - type SettledHash<T, C> = { [P in keyof T]: PromiseState<T[P], C> }; - - interface InstrumentEvent { - guid: string; // guid of promise. Must be globally unique, not just within the implementation - childGuid: string; // child of child promise (for chained via `then`) - eventName: string; // one of ['created', 'chained', 'fulfilled', 'rejected'] - detail: any; // fulfillment value or rejection reason, if applicable - label: string; // label passed to promise's constructor - timeStamp: number; // milliseconds elapsed since 1 January 1970 00:00:00 UTC up until now - } - - interface ObjectWithEventMixins { - on( - eventName: 'created' | 'chained' | 'fulfilled' | 'rejected', - listener: (event: InstrumentEvent) => void - ): void; - on(eventName: 'error', errorHandler: (reason: any) => void): void; - on(eventName: string, callback: (value: any) => void): void; - off(eventName: string, callback?: (value: any) => void): void; - trigger(eventName: string, options?: any, label?: string): void; - } - - class Promise<T, C> implements Thenable<T, C>, Catchable<C> { - /** - * If you call resolve in the body of the callback passed to the constructor, - * your promise is fulfilled with result object passed to resolve. - * If you call reject your promise is rejected with the object passed to reject. - * For consistency and debugging (eg stack traces), obj should be an instanceof Error. - * Any errors thrown in the constructor callback will be implicitly passed to reject(). - */ - constructor( - callback: ( - resolve: (result?: T | Thenable<T, never>) => void, - reject: (error: C | Thenable<never, C>) => void - ) => void, - label?: string - ); - - /** - * onFulfillment is called when/if "promise" resolves. onRejected is called when/if "promise" rejects. - * Both are optional, if either/both are omitted the next onFulfillment/onRejected in the chain is called. - * Both callbacks have a single parameter , the fulfillment value or rejection reason. - * "then" returns a new promise equivalent to the value you return from onFulfillment/onRejected after being passed through Promise.resolve. - * If an error is thrown in the callback, the returned promise rejects with that error. - * - * @param onFulfillment called when/if "promise" resolves - * @param onRejected called when/if "promise" rejects - * @param label useful for tooling - */ - then<U, D>( - onFulfillment: Resolution<T, U, C>, - onRejected: Rejection<T, C, D>, - label?: string - ): Promise<U, D>; - then<U>(onFulfillment: Resolution<T, U, C>, label?: string): Promise<U, C>; - then(label?: string): Promise<T, C>; - - /** - * Sugar for promise.then(undefined, onRejected) - */ - catch(label?: string): Promise<T, C>; - catch<D>(onRejection: Rejection<T, C, D>, label?: string): Promise<T, D>; - - finally(finallyCallback: Function): Promise<T, C>; - - /** - * `RSVP.Promise.all` accepts an array of promises, and returns a new promise which - * is fulfilled with an array of fulfillment values for the passed promises, or - * rejected with the reason of the first passed promise to be rejected. It casts all - * elements of the passed iterable to promises as it runs this algorithm. + /** + * You can use `off` to stop firing a particular callback for an event. + * + * If you don't pass a `callback` argument to `off`, ALL callbacks for the + * event will not be executed when the event fires. */ - static all<T, C>(promises: Thenable<T, C>[], label?: string): Promise<T[], C>; + static off(eventName: string, callback?: (value: any) => void): void; - /** - * `RSVP.Promise.race` returns a new promise which is settled in the same way as the - * first passed promise to settle. - * - * `RSVP.Promise.race` is deterministic in that only the state of the first - * settled promise matters. For example, even if other promises given to the - * `promises` array argument are resolved, but the first settled promise has - * become rejected before the other promises became fulfilled, the returned - * promise will become rejected. - */ - static race<T, C>(promises: Promise<T, C>[]): Promise<T, C>; + /** + * Use `trigger` to fire custom events. + * + * You can also pass a value as a second argument to `trigger` that will be + * passed as an argument to all event listeners for the event + */ + static trigger(eventName: string, options?: any, label?: string): void; + } - /** - * Returns a promise that will become resolved with the passed `value` - */ - static resolve<T>(value: T, label?: string): Promise<T, never>; + class Promise<T> implements PromiseLike<T> { + constructor( + executor: ( + resolve: (value?: RSVP.Arg<T>) => void, + reject: (reason?: any) => void + ) => void + ); - /** - * Deprecated in favor of resolve - */ - static cast<T>(value: T, label?: string): Promise<T, never>; + new<T>( + executor: ( + resolve: (value?: RSVP.Arg<T>) => void, + reject: (reason?: any) => void + ) => void + ): RSVP.Promise<T>; - /** - * Returns a promise rejected with the passed `reason`. - */ - static reject<C>(reason: C): Promise<never, C>; + then<TResult1 = T, TResult2 = never>( + onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, + onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null, + label?: string + ): RSVP.Promise<TResult1 | TResult2>; + + catch<TResult = never>( + onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null, + label?: string + ): RSVP.Promise<T | TResult>; + + finally<U>(onFinally?: U | PromiseLike<U>): RSVP.Promise<T>; + + static all<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>( + values: [ + Arg<T1>, + Arg<T2>, + Arg<T3>, + Arg<T4>, + Arg<T5>, + Arg<T6>, + Arg<T7>, + Arg<T8>, + Arg<T9>, + Arg<T10> + ], + label?: string + ): RSVP.Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]>; + static all<T1, T2, T3, T4, T5, T6, T7, T8, T9>( + values: [ + Arg<T1>, + Arg<T2>, + Arg<T3>, + Arg<T4>, + Arg<T5>, + Arg<T6>, + Arg<T7>, + Arg<T8>, + Arg<T9> + ], + label?: string + ): RSVP.Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9]>; + static all<T1, T2, T3, T4, T5, T6, T7, T8>( + values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>, Arg<T7>, Arg<T8>], + label?: string + ): RSVP.Promise<[T1, T2, T3, T4, T5, T6, T7, T8]>; + static all<T1, T2, T3, T4, T5, T6, T7>( + values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>, Arg<T7>], + label?: string + ): RSVP.Promise<[T1, T2, T3, T4, T5, T6, T7]>; + static all<T1, T2, T3, T4, T5, T6>( + values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>], + label?: string + ): RSVP.Promise<[T1, T2, T3, T4, T5, T6]>; + static all<T1, T2, T3, T4, T5>( + values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>], + label?: string + ): RSVP.Promise<[T1, T2, T3, T4, T5]>; + static all<T1, T2, T3, T4>( + values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>], + label?: string + ): RSVP.Promise<[T1, T2, T3, T4]>; + static all<T1, T2, T3>( + values: [Arg<T1>, Arg<T2>, Arg<T3>], + label?: string + ): RSVP.Promise<[T1, T2, T3]>; + static all<T1, T2>(values: [Arg<T1>, Arg<T2>], label?: string): Promise<[T1, T2]>; + static all<T>(values: (Arg<T>)[], label?: string): RSVP.Promise<T[]>; + + static race<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>( + values: [ + Arg<T1>, + Arg<T2>, + Arg<T3>, + Arg<T4>, + Arg<T5>, + Arg<T6>, + Arg<T7>, + Arg<T8>, + Arg<T9>, + T10 | PromiseLike<T10> + ], + label?: string + ): RSVP.Promise<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9 | T10>; + static race<T1, T2, T3, T4, T5, T6, T7, T8, T9>( + values: [ + Arg<T1>, + Arg<T2>, + Arg<T3>, + Arg<T4>, + Arg<T5>, + Arg<T6>, + Arg<T7>, + Arg<T8>, + Arg<T9> + ], + label?: string + ): RSVP.Promise<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9>; + static race<T1, T2, T3, T4, T5, T6, T7, T8>( + values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>, Arg<T7>, Arg<T8>], + label?: string + ): RSVP.Promise<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8>; + static race<T1, T2, T3, T4, T5, T6, T7>( + values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>, Arg<T7>], + label?: string + ): RSVP.Promise<T1 | T2 | T3 | T4 | T5 | T6 | T7>; + static race<T1, T2, T3, T4, T5, T6>( + values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>], + label?: string + ): RSVP.Promise<T1 | T2 | T3 | T4 | T5 | T6>; + static race<T1, T2, T3, T4, T5>( + values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>], + label?: string + ): RSVP.Promise<T1 | T2 | T3 | T4 | T5>; + static race<T1, T2, T3, T4>( + values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>], + label?: string + ): RSVP.Promise<T1 | T2 | T3 | T4>; + static race<T1, T2, T3>( + values: [Arg<T1>, Arg<T2>, Arg<T3>], + label?: string + ): RSVP.Promise<T1 | T2 | T3>; + static race<T1, T2>(values: [Arg<T1>, Arg<T2>], label?: string): RSVP.Promise<T1 | T2>; + static race<T>(values: (Arg<T>)[], label?: string): RSVP.Promise<T>; + + static reject(reason?: any, label?: string): RSVP.Promise<never>; + + static resolve<T>(value?: Arg<T>, label?: string): RSVP.Promise<T>; + static resolve(): RSVP.Promise<void>; + + /** + * @deprecated + */ + static cast: typeof RSVP.Promise.resolve; + } + + const all: typeof Promise.all; + const race: typeof Promise.race; + const reject: typeof Promise.reject; + const resolve: typeof Promise.resolve; + function rethrow(reason: any): void; + + const cast: typeof Promise.cast; + + const on: typeof EventTarget.on; + const off: typeof EventTarget.off; + + // ----- denodeify ----- // + // Here be absurd things because we don't have variadic types. All of + // this will go away if we can ever write this: + // + // denodeify<...T, ...A>( + // nodeFunc: (...args: ...A, callback: (err: any, ...cbArgs: ...T) => any) => void, + // options?: false + // ): (...args: ...A) => RSVP.Promise<...T> + // + // That day, however, may never come. So, in the meantime, we do this. + + function denodeify<T1, T2, T3, A>( + nodeFunc: ( + arg1: A, + callback: (err: any, data1: T1, data2: T2, data3: T3) => void + ) => void, + options?: false + ): (arg1: A) => RSVP.Promise<T1>; + + function denodeify<T1, T2, A>( + nodeFunc: (arg1: A, callback: (err: any, data1: T1, data2: T2) => void) => void, + options?: false + ): (arg1: A) => RSVP.Promise<T1>; + + function denodeify<T, A>( + nodeFunc: (arg1: A, callback: (err: any, data: T) => void) => void, + options?: false + ): (arg1: A) => RSVP.Promise<T>; + + function denodeify<T1, T2, T3, A>( + nodeFunc: ( + arg1: A, + callback: (err: any, data1: T1, data2: T2, data3: T3) => void + ) => void, + options: true + ): (arg1: A) => RSVP.Promise<[T1, T2, T3]>; + + function denodeify<T1, T2, A>( + nodeFunc: (arg1: A, callback: (err: any, data1: T1, data2: T2) => void) => void, + options: true + ): (arg1: A) => RSVP.Promise<[T1, T2]>; + + function denodeify<T, A>( + nodeFunc: (arg1: A, callback: (err: any, data: T) => void) => void, + options: true + ): (arg1: A) => RSVP.Promise<[T]>; + + function denodeify<T1, T2, T3, A, K1 extends string, K2 extends string, K3 extends string>( + nodeFunc: ( + arg1: A, + callback: (err: any, data1: T1, data2: T2, data3: T3) => void + ) => void, + options: [K1, K2, K3] + ): (arg1: A) => RSVP.Promise<{ [K in K1]: T1 } & { [K in K2]: T2 } & { [K in K3]: T3 }>; + + function denodeify<T1, T2, A, K1 extends string, K2 extends string>( + nodeFunc: (arg1: A, callback: (err: any, data1: T1, data2: T2) => void) => void, + options: [K1, K2] + ): (arg1: A) => RSVP.Promise<{ [K in K1]: T1 } & { [K in K2]: T2 }>; + + function denodeify<T, A, K1 extends string>( + nodeFunc: (arg1: A, callback: (err: any, data: T) => void) => void, + options: [K1] + ): (arg1: A) => RSVP.Promise<{ [K in K1]: T }>; + + // ----- hash and hashSettled ----- // + function hash<T>(object: { [P in keyof T]: Arg<T[P]> }, label?: string): RSVP.Promise<T>; + function hashSettled<T>( + object: { [P in keyof T]: Arg<T[P]> }, + label?: string + ): RSVP.Promise<{ [P in keyof T]: PromiseState<T[P]> }>; + + function allSettled<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>( + entries: [ + Arg<T1>, + Arg<T2>, + Arg<T3>, + Arg<T4>, + Arg<T5>, + Arg<T6>, + Arg<T7>, + Arg<T8>, + Arg<T9>, + Arg<T10> + ], + label?: string + ): RSVP.Promise< + [ + PromiseState<T1>, + PromiseState<T2>, + PromiseState<T3>, + PromiseState<T4>, + PromiseState<T5>, + PromiseState<T6>, + PromiseState<T7>, + PromiseState<T8>, + PromiseState<T9> + ] + >; + function allSettled<T1, T2, T3, T4, T5, T6, T7, T8, T9>( + entries: [ + Arg<T1>, + Arg<T2>, + Arg<T3>, + Arg<T4>, + Arg<T5>, + Arg<T6>, + Arg<T7>, + Arg<T8>, + Arg<T9> + ], + label?: string + ): RSVP.Promise< + [ + PromiseState<T1>, + PromiseState<T2>, + PromiseState<T3>, + PromiseState<T4>, + PromiseState<T5>, + PromiseState<T6>, + PromiseState<T7>, + PromiseState<T8>, + PromiseState<T9> + ] + >; + function allSettled<T1, T2, T3, T4, T5, T6, T7, T8>( + entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>, Arg<T7>, Arg<T8>], + label?: string + ): RSVP.Promise< + [ + PromiseState<T1>, + PromiseState<T2>, + PromiseState<T3>, + PromiseState<T4>, + PromiseState<T5>, + PromiseState<T6>, + PromiseState<T7>, + PromiseState<T8> + ] + >; + function allSettled<T1, T2, T3, T4, T5, T6, T7>( + entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>, Arg<T7>], + label?: string + ): RSVP.Promise< + [ + PromiseState<T1>, + PromiseState<T2>, + PromiseState<T3>, + PromiseState<T4>, + PromiseState<T5>, + PromiseState<T6>, + PromiseState<T7> + ] + >; + function allSettled<T1, T2, T3, T4, T5, T6>( + entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>], + label?: string + ): RSVP.Promise< + [ + PromiseState<T1>, + PromiseState<T2>, + PromiseState<T3>, + PromiseState<T4>, + PromiseState<T5>, + PromiseState<T6> + ] + >; + function allSettled<T1, T2, T3, T4, T5>( + entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>], + label?: string + ): RSVP.Promise< + [ + PromiseState<T1>, + PromiseState<T2>, + PromiseState<T3>, + PromiseState<T4>, + PromiseState<T5> + ] + >; + function allSettled<T1, T2, T3, T4>( + entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>], + label?: string + ): RSVP.Promise<[PromiseState<T1>, PromiseState<T2>, PromiseState<T3>, PromiseState<T4>]>; + function allSettled<T1, T2, T3>( + entries: [Arg<T1>, Arg<T2>, Arg<T3>], + label?: string + ): RSVP.Promise<[PromiseState<T1>, PromiseState<T2>, PromiseState<T3>]>; + function allSettled<T1, T2>( + entries: [Arg<T1>, Arg<T2>], + label?: string + ): RSVP.Promise<[PromiseState<T1>, PromiseState<T2>]>; + function allSettled<T>(entries: Arg<T>[], label?: string): RSVP.Promise<[PromiseState<T>]>; + + function map<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, U>( + entries: [ + Arg<T1>, + Arg<T2>, + Arg<T3>, + Arg<T4>, + Arg<T5>, + Arg<T6>, + Arg<T7>, + Arg<T8>, + Arg<T9>, + Arg<T10> + ], + mapFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9 | T10) => U, + label?: string + ): RSVP.Promise<Array<U> & { length: 10 }>; + + function map<T1, T2, T3, T4, T5, T6, T7, T8, T9, U>( + entries: [ + Arg<T1>, + Arg<T2>, + Arg<T3>, + Arg<T4>, + Arg<T5>, + Arg<T6>, + Arg<T7>, + Arg<T8>, + Arg<T9> + ], + mapFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9) => U, + label?: string + ): RSVP.Promise<Array<U> & { length: 9 }>; + function map<T1, T2, T3, T4, T5, T6, T7, T8, U>( + entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>, Arg<T7>, Arg<T8>], + mapFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8) => U, + label?: string + ): RSVP.Promise<Array<U> & { length: 8 }>; + function map<T1, T2, T3, T4, T5, T6, T7, U>( + entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>, Arg<T7>], + mapFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7) => U, + label?: string + ): RSVP.Promise<Array<U> & { length: 7 }>; + function map<T1, T2, T3, T4, T5, T6, U>( + entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>], + mapFn: (item: T1 | T2 | T3 | T4 | T5 | T6) => U, + label?: string + ): RSVP.Promise<Array<U> & { length: 6 }>; + function map<T1, T2, T3, T4, T5, U>( + entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>], + mapFn: (item: T1 | T2 | T3 | T4 | T5) => U, + label?: string + ): RSVP.Promise<Array<U> & { length: 5 }>; + function map<T1, T2, T3, T4, U>( + entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>], + mapFn: (item: T1 | T2 | T3 | T4) => U, + label?: string + ): RSVP.Promise<Array<U> & { length: 4 }>; + function map<T1, T2, T3, U>( + entries: [Arg<T1>, Arg<T2>, Arg<T3>], + mapFn: (item: T1 | T2 | T3) => U, + label?: string + ): RSVP.Promise<Array<U> & { length: 3 }>; + function map<T1, T2, U>( + entries: [Arg<T1>, Arg<T2>], + mapFn: (item: T1 | T2) => U, + label?: string + ): RSVP.Promise<Array<U> & { length: 2 }>; + function map<T, U>( + entries: Arg<T>[], + mapFn: (item: T) => U, + label?: string + ): RSVP.Promise<Array<U> & { length: 1 }>; + + function filter<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>( + entries: [ + Arg<T1>, + Arg<T2>, + Arg<T3>, + Arg<T4>, + Arg<T5>, + Arg<T6>, + Arg<T7>, + Arg<T8>, + Arg<T9>, + Arg<T10> + ], + filterFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9 | T10) => boolean, + label?: string + ): RSVP.Promise<Array<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9 | T10>>; + function filter<T1, T2, T3, T4, T5, T6, T7, T8, T9>( + entries: [ + Arg<T1>, + Arg<T2>, + Arg<T3>, + Arg<T4>, + Arg<T5>, + Arg<T6>, + Arg<T7>, + Arg<T8>, + Arg<T9> + ], + filterFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9) => boolean, + label?: string + ): RSVP.Promise<Array<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9>>; + function filter<T1, T2, T3, T4, T5, T6, T7, T8>( + entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>, Arg<T7>, Arg<T8>], + filterFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8) => boolean, + label?: string + ): RSVP.Promise<Array<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8>>; + function filter<T1, T2, T3, T4, T5, T6, T7>( + entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>, Arg<T7>], + filterFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7) => boolean, + label?: string + ): RSVP.Promise<Array<T1 | T2 | T3 | T4 | T5 | T6 | T7>>; + function filter<T1, T2, T3, T4, T5, T6>( + entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>], + filterFn: (item: T1 | T2 | T3 | T4 | T5 | T6) => boolean, + label?: string + ): RSVP.Promise<Array<T1 | T2 | T3 | T4 | T5 | T6> & { length: 6 }>; + function filter<T1, T2, T3, T4, T5>( + entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>], + filterFn: (item: T1 | T2 | T3 | T4 | T5) => boolean, + label?: string + ): RSVP.Promise<Array<T1 | T2 | T3 | T4 | T5>>; + function filter<T1, T2, T3, T4>( + entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>], + filterFn: (item: T1 | T2 | T3 | T4) => boolean, + label?: string + ): RSVP.Promise<Array<T1 | T2 | T3 | T4>>; + function filter<T1, T2, T3>( + entries: [Arg<T1>, Arg<T2>, Arg<T3>], + filterFn: (item: T1 | T2 | T3) => boolean, + label?: string + ): RSVP.Promise<Array<T1 | T2 | T3>>; + function filter<T1, T2>( + entries: [Arg<T1>, Arg<T2>], + filterFn: (item: T1 | T2) => boolean, + label?: string + ): RSVP.Promise<Array<T1 | T2>>; + function filter<T>( + entries: Arg<T>[], + filterFn: (item: T) => boolean, + label?: string + ): RSVP.Promise<Array<T>>; + + function defer<T>(label?: string): Deferred<T>; + + function configure<T>(name: string): T; + function configure<T>(name: string, value: T): void; + + function asap<T, U>(callback: (callbackArg: T) => U, arg: T): void; + + const async: typeof asap; } - export namespace EventTarget { - /** `RSVP.EventTarget.mixin` extends an object with EventTarget methods. */ - function mixin(object: object): ObjectWithEventMixins; + export default RSVP; - /** Registers a callback to be executed when `eventName` is triggered */ - function on( - eventName: 'created' | 'chained' | 'fulfilled' | 'rejected', - listener: (event: InstrumentEvent) => void - ): void; - function on(eventName: 'error', errorHandler: (reason: any) => void): void; - function on(eventName: string, callback: (value: any) => void): void; - - /** - * You can use `off` to stop firing a particular callback for an event. - * - * If you don't pass a `callback` argument to `off`, ALL callbacks for the - * event will not be executed when the event fires. - */ - function off(eventName: string, callback?: (value: any) => void): void; - - /** - * Use `trigger` to fire custom events. - * - * You can also pass a value as a second argument to `trigger` that will be - * passed as an argument to all event listeners for the event - */ - function trigger(eventName: string, options?: any, label?: string): void; - } - - export function configure( - configName: 'instrument' | 'instrument-with-stack', - shouldInstrument: boolean - ): void; - export function configure(configName: string, value: any): void; - - /** - * Make a promise that fulfills when every item in the array fulfills, and rejects if (and when) any item rejects. - * the array passed to all can be a mixture of promise-like objects and other objects. - * The fulfillment value is an array (in order) of fulfillment values. The rejection value is the first rejection value. - */ - export function all<T, C>(promises: Thenable<T, C>[]): Promise<T[], C>; - - /** - * `RSVP.hash` is similar to `RSVP.all`, but takes an object instead of an array - * for its `promises` argument. - * - * Returns a promise that is fulfilled when all the given promises have been - * fulfilled, or rejected if any of them become rejected. The returned promise - * is fulfilled with a hash that has the same key names as the `promises` object - * argument. If any of the values in the object are not promises, they will - * simply be copied over to the fulfilled object. - * - * If any of the `promises` given to `RSVP.hash` are rejected, the first promise - * that is rejected will be given as the reason to the rejection handler. - */ - export function hash<T, C>(promises: PromiseHash<T, C>): Promise<T, C>; - - /** - * `RSVP.map` is similar to JavaScript's native `map` method. `mapFn` is eagerly called - * meaning that as soon as any promise resolves its value will be passed to `mapFn`. - * `RSVP.map` returns a promise that will become fulfilled with the result of running - * `mapFn` on the values the promises become fulfilled with. - * - * If any of the `promises` given to `RSVP.map` are rejected, the first promise - * that is rejected will be given as an argument to the returned promise's - * rejection handler. - */ - export function map<T, U, C>( - promises: Thenable<T, C>[], - mapFn: (item: T) => U, - label?: string - ): Promise<U[], C>; - - /** - * `RSVP.allSettled` is similar to `RSVP.all`, but instead of implementing - * a fail-fast method, it waits until all the promises have returned and - * shows you all the results. This is useful if you want to handle multiple - * promises' failure states together as a set. - */ - export function allSettled<T, C>(promises: Thenable<T, C>[]): Promise<PromiseState<T, C>[], C>; - - /** - * `RSVP.hashSettled` is similar to `RSVP.allSettled`, but takes an object - * instead of an array for its `promises` argument. - * - * Unlike `RSVP.all` or `RSVP.hash`, which implement a fail-fast method, - * but like `RSVP.allSettled`, `hashSettled` waits until all the - * constituent promises have returned and then shows you all the results - * with their states and values/reasons. This is useful if you want to - * handle multiple promises' failure states together as a set. - */ - export function hashSettled<T, C>(promises: PromiseHash<T, C>): Promise<SettledHash<T, C>, C>; - - /** - * Make a Promise that fulfills when any item fulfills, and rejects if any item rejects. - */ - function race<T, C>(promises: Promise<T, C>[]): Promise<T, C>; - - /** - * `RSVP.denodeify` takes a "node-style" function and returns a function that - * will return an `RSVP.Promise`. You can use `denodeify` in Node.js or the - * browser when you'd prefer to use promises over using callbacks. For example, - * `denodeify` transforms the following: - * - * ``` - * let fs = require('fs'); - * - * fs.readFile('myfile.txt', function(err, data){ - * if (err) return handleError(err); - * handleData(data); - * }); - * ``` - * - * into: - * - * ``` - * let fs = require('fs'); - * let readFile = RSVP.denodeify(fs.readFile); - * - * readFile('myfile.txt').then(handleData, handleError); - * ``` - * - * If the node function has multiple success parameters, then denodeify just - * returns the first one: - * - * ``` - * let request = RSVP.denodeify(require('request')); - * - * request('http://example.com').then(function(res) { - * // ... - * }); - * ``` - * - * However, if you need all success parameters, setting denodeify's second - * parameter to true causes it to return all success parameters as an array: - * - * ``` - * let request = RSVP.denodeify(require('request'), true); - * - * request('http://example.com').then(function(result) { - * // result[0] -> res - * // result[1] -> body - * }); - * ``` - * - * Or if you pass it an array with names it returns the parameters as a hash: - * - * ``` - * let request = RSVP.denodeify(require('request'), ['res', 'body']); - * - * request('http://example.com').then(function(result) { - * // result.res - * // result.body - * }); - * ``` - */ - export function denodeify<A, T, C>( - nodeFunction: Function, - options: boolean | string[] - ): (...args: A[]) => Promise<T, C>; - - /** - * `RSVP.defer` returns an object similar to jQuery's `$.Deferred`. - * `RSVP.defer` should be used when porting over code reliant on `$.Deferred`'s - * interface. New code should use the `RSVP.Promise` constructor instead. - * - * The object returned from `RSVP.defer` is a plain object with three properties: - * * promise - an `RSVP.Promise`. - * * reject - a function that causes the `promise` property on this object to become rejected - * * resolve - a function that causes the `promise` property on this object to become fulfilled. - */ - export function defer<T, C>(label?: string): Deferred<T, C>; - - /** - * `RSVP.Promise.reject` returns a promise rejected with the passed `reason`. - */ - export function reject<C>(reason: C): Promise<never, C>; - - /** - * `RSVP.Promise.resolve` returns a promise that will become resolved with the - * passed `value`. - */ - export function resolve<T>(value: T): Promise<T, never>; - - /** - * `RSVP.filter` is similar to JavaScript's native `filter` method, except that it - * waits for all promises to become fulfilled before running the `filterFn` on - * each item in given to `promises`. `RSVP.filter` returns a promise that will - * become fulfilled with the result of running `filterFn` on the values the - * promises become fulfilled with. - */ - export function filter<T, C>( - promises: Thenable<T, C>[], - filterFn: (value: T) => boolean | Promise<any, any> - ): Promise<T[], C>; - - /** - * `RSVP.rethrow` will rethrow an error on the next turn of the JavaScript event - * loop in order to aid debugging. - * - * Promises A+ specifies that any exceptions that occur with a promise must be - * caught by the promises implementation and bubbled to the last handler. For - * this reason, it is recommended that you always specify a second rejection - * handler function to `then`. However, `RSVP.rethrow` will throw the exception - * outside of the promise, so it bubbles up to your console if in the browser, - * or domain/cause uncaught exception in Node. `rethrow` will also throw the - * error again so the error can be handled by the promise per the spec. - */ - export function rethrow<C>(reason: C): void; + export const asap: typeof RSVP.asap; + export const cast: typeof RSVP.cast; + export const Promise: typeof RSVP.Promise; + export const EventTarget: typeof RSVP.EventTarget; + export const all: typeof RSVP.all; + export const allSettled: typeof RSVP.allSettled; + export const race: typeof RSVP.race; + export const hash: typeof RSVP.hash; + export const hashSettled: typeof RSVP.hashSettled; + export const rethrow: typeof RSVP.rethrow; + export const defer: typeof RSVP.defer; + export const denodeify: typeof RSVP.denodeify; + export const configure: typeof RSVP.configure; + export const on: typeof RSVP.on; + export const off: typeof RSVP.off; + export const resolve: typeof RSVP.resolve; + export const reject: typeof RSVP.reject; + export const map: typeof RSVP.map; + export const async: typeof RSVP.async; + export const filter: typeof RSVP.filter; } - -export = RSVP; diff --git a/types/rsvp/rsvp-tests.ts b/types/rsvp/rsvp-tests.ts old mode 100644 new mode 100755 index aec0acfede..7805c40fa5 --- a/types/rsvp/rsvp-tests.ts +++ b/types/rsvp/rsvp-tests.ts @@ -1,83 +1,326 @@ -import RSVP = require('rsvp'); +import RSVP from 'rsvp'; +import { all, race, resolve } from 'rsvp'; -let promise1: RSVP.Promise<number, Error> = RSVP.Promise.resolve(1); -let promise1a: RSVP.Promise<number, Error> = RSVP.resolve(1); +/** Static assertion that `value` has type `T` */ +// Disable tslint here b/c the generic is used to let us do a type coercion and +// validate that coercion works for the type value "passed into" the function. +// tslint:disable-next-line:no-unnecessary-generics +declare function assertType<T>(value: T): void; -let promise2: RSVP.Promise<number, Error> = RSVP.Promise.resolve(2); +async function testAsyncAwait() { + const awaitedNothing = await RSVP.resolve(); + const awaitedValue = await RSVP.resolve('just a value'); -let promise3: RSVP.Promise<number, Error> = RSVP.Promise.reject(new Error('3')); -let promise3a: RSVP.Promise<number, Error> = RSVP.reject(new Error('3')); + async function returnsAPromise(): RSVP.Promise<string> { + return RSVP.resolve('look, a string'); + } -let promiseArray = [promise1, promise2, promise3]; - -let promiseHash = { - promiseA: promise1, - promiseB: promise2, - promiseC: promise3, - notAPromise: 4, -}; - -RSVP.Promise.all(promiseArray).then(arr => {}, err => {}); -RSVP.all(promiseArray).then(arr => {}, err => {}); - -RSVP.Promise.race(promiseArray).then(arr => {}, err => {}); -RSVP.race(promiseArray).then(arr => {}, err => {}); - -RSVP.allSettled(promiseArray).then(arr => {}, err => {}); - -let deferred = RSVP.defer(); -deferred.resolve('Success'); -deferred.promise.then(value => {}); - -let filterFn = (item: number) => { - return item > 1; -}; -RSVP.filter(promiseArray, filterFn).then(result => {}); - -RSVP.hashSettled(promiseHash).then(hash => { - return ( - hash.promiseA.state === 'fulfilled' && - hash.promiseB.value === 2 && - hash.promiseC.reason === '3' && - hash.notAPromise.state === 'fulfilled' - ); -}); - -RSVP.hash(promiseHash).then( - values => { - return ( - values.promiseA < 0 && - values.promiseB === 4 && - values.promiseC === 12 && - values.notAPromise > 0 - ); - }, - err => {} -); - -let mapFn = function(item: number) { - return item + 1; -}; -RSVP.map(promiseArray, mapFn).then(function(result) {}); - -let promise = new Promise(function(resolve, reject) { - resolve(); - reject(); -}); -promise.then(value => {}, reason => {}); - -function throws() { - throw new Error('Whoops!'); + assertType<RSVP.Promise<string>>(returnsAPromise()); + assertType<string>(await returnsAPromise()); } -let throwingPromise = new RSVP.Promise(function(resolve, reject) { - throws(); -}); -throwingPromise.catch(RSVP.rethrow).then(value => {}, reason => {}); -let someObject = {}; -RSVP.EventTarget.mixin(someObject); -RSVP.EventTarget.on('fulfilled', someString => { - return someString; -}); -RSVP.EventTarget.trigger('fulfilled', 'woohoo'); -RSVP.EventTarget.off('fulfilled'); +function testCast() { + RSVP.Promise.cast('foo').then(value => { + assertType<string>(value); + }); + + RSVP.cast(42).then(value => { + assertType<number>(value); + }); +} + +function testConfigure() { + assertType<void>(RSVP.configure('name', { with: 'some value' })); + assertType<{}>(RSVP.configure('name')); +} + +function testAsap() { + const result = RSVP.asap(something => { + console.log(something); + }, 'srsly'); + + assertType<void>(result); +} + +function testAsync() { + const result = RSVP.async(something => { + console.log(something); + }, 'rly srsly'); + + assertType<void>(result); +} + +function testPromise() { + const promiseOfString = new RSVP.Promise((resolve: any, reject: any) => resolve('some string')); + assertType<RSVP.Promise<number>>(promiseOfString.then((s: string) => s.length)); +} + +function testAll() { + const imported = all([]); + const empty = RSVP.Promise.all([]); + + const everyPromise = RSVP.all([ + 'string', + RSVP.resolve(42), + RSVP.resolve({ hash: 'with values' }), + ]); + + assertType<RSVP.Promise<[string, number, { hash: string }]>>(everyPromise); + + const anyFailure = RSVP.all([12, 'strings', RSVP.reject('anywhere')]); + assertType<RSVP.Promise<{}>>(anyFailure); + + let promise1 = RSVP.resolve(1); + let promise2 = RSVP.resolve('2'); + let promise3 = RSVP.resolve({ key: 13 }); + RSVP.Promise.all([promise1, promise2, promise3], 'my label').then(function(array) { + assertType<number>(array[0]); + assertType<string>(array[1]); + assertType<{ key: number }>(array[2]); + }); +} + +function testAllSettled() { + const resolved1 = RSVP.resolve(1); + const resolved2 = RSVP.resolve('wat'); + const rejected = RSVP.reject(new Error('oh teh noes')); + const pending = new RSVP.Promise<{ neato: string }>((resolve, reject) => { + if ('something') { + resolve({ neato: 'yay' }); + } else { + reject('nay'); + } + }); + + // Types flow into resolution properly + RSVP.allSettled([resolved1, resolved2, rejected, pending]).then(states => { + assertType<RSVP.PromiseState<number>>(states[0]); + assertType<RSVP.PromiseState<string>>(states[1]); + assertType<RSVP.PromiseState<never>>(states[2]); + assertType<RSVP.PromiseState<{ neato: string }>>(states[3]); + }); + + // Switching on state gives the correctly available items. + RSVP.allSettled([resolved1, resolved2, rejected, pending]).then(states => { + states.forEach(element => { + switch (element.state) { + case RSVP.State.fulfilled: + assertType<RSVP.Resolved<typeof element.value>>(element); + break; + + case RSVP.State.rejected: + assertType<RSVP.Rejected<typeof element.reason>>(element); + break; + + case RSVP.State.pending: + assertType<RSVP.Pending>(element); + break; + + default: + // Someday maybe TS will have exhaustiveness checks. + break; + } + }); + }); +} + +function testDefer() { + let deferred = RSVP.defer<string>(); + deferred.resolve('Success!'); + deferred.promise.then(function(value) { + assertType<string>(value); + }); +} + +// Using this to differentiate the types cleanly +type A1 = Array<{ arg: boolean }>; +type D1 = number; +type D2 = string; +type D3 = { some: boolean }; + +declare const nodeFn1Arg1CbParam: (arg1: A1, callback: (err: any, data: D1) => void) => void; +declare const nodeFn1Arg2CbParam: ( + arg1: A1, + callback: (err: any, data1: D1, data2: D2) => void +) => void; +declare const nodeFn1Arg3CbParam: ( + arg1: A1, + callback: (err: any, data1: D1, data2: D2, data3: D3) => void +) => void; + +function testDenodeify() { + // version with no `options` or `options: false`, and single T + assertType<(value: A1) => RSVP.Promise<D1>>(RSVP.denodeify(nodeFn1Arg1CbParam)); + assertType<(value: A1) => RSVP.Promise<D1>>(RSVP.denodeify(nodeFn1Arg1CbParam, false)); + + // version with no `options` or `options: false`, and multiple T + assertType<(value: A1) => RSVP.Promise<D1>>(RSVP.denodeify(nodeFn1Arg2CbParam)); + assertType<(value: A1) => RSVP.Promise<D1>>(RSVP.denodeify(nodeFn1Arg3CbParam)); + assertType<(value: A1) => RSVP.Promise<D1>>(RSVP.denodeify(nodeFn1Arg2CbParam, false)); + assertType<(value: A1) => RSVP.Promise<D1>>(RSVP.denodeify(nodeFn1Arg3CbParam, false)); + + // version with `options: true` and single or multiple T + assertType<(value: A1) => RSVP.Promise<[D1]>>(RSVP.denodeify(nodeFn1Arg1CbParam, true)); + assertType<(value: A1) => RSVP.Promise<[D1, D2]>>(RSVP.denodeify(nodeFn1Arg2CbParam, true)); + assertType<(value: A1) => RSVP.Promise<[D1, D2, D3]>>(RSVP.denodeify(nodeFn1Arg3CbParam, true)); + + // We can't actually map the key names here, because we would need full-on + // dependent typing to use the *values of an array* as the keys of the + // resulting object. + assertType<(value: A1) => RSVP.Promise<{ first: D1 }>>( + RSVP.denodeify(nodeFn1Arg1CbParam, ['first']) + ); + assertType<(value: A1) => RSVP.Promise<{ first: D1; second: D2 }>>( + RSVP.denodeify(nodeFn1Arg2CbParam, ['first', 'second']) + ); + assertType<(value: A1) => RSVP.Promise<{ first: D1; second: D2; third: D3 }>>( + RSVP.denodeify(nodeFn1Arg3CbParam, ['first', 'second', 'third']) + ); + + const foo = RSVP.denodeify(nodeFn1Arg2CbParam, ['quux', 'baz']); + foo([{ arg: true }]).then(value => { + console.log(value.quux + 1); + console.log(value.baz.length); + }); +} + +function testFilter() { + RSVP.filter([RSVP.resolve(1), RSVP.resolve(2)], item => item > 1, 'over one').then(results => { + assertType<number[]>(results); + }); + + RSVP.filter( + [RSVP.resolve('a string'), RSVP.resolve(112233)], + item => String(item).length < 10, + 'short string' + ).then(results => { + assertType<Array<string | number>>(results); + }); + + // This is the best we can do: we can't actually write the full type here, + // which would be `assertType<never>(results)`, but TS can't infer that. + const isString = (item: any): item is string => typeof item === 'string'; + RSVP.filter([RSVP.reject('for any reason')], isString).then(results => { + assertType<{}>(results); + }); +} + +function testHash() { + let promises = { + myPromise: RSVP.resolve(1), + yourPromise: RSVP.resolve('2'), + theirPromise: RSVP.resolve({ key: 3 }), + notAPromise: 4, + }; + RSVP.hash(promises, 'my label').then(function(hash) { + assertType<number>(hash.myPromise); + assertType<string>(hash.yourPromise); + assertType<{ key: number }>(hash.theirPromise); + assertType<number>(hash.notAPromise); + }); +} + +function testHashSettled() { + function isFulfilled<T>(state: RSVP.PromiseState<T>): state is RSVP.Resolved<T> { + return state.state === RSVP.State.fulfilled; + } + let promises = { + myPromise: RSVP.Promise.resolve(1), + yourPromise: RSVP.Promise.resolve('2'), + theirPromise: RSVP.Promise.resolve({ key: 3 }), + notAPromise: 4, + }; + RSVP.hashSettled(promises).then(function(hash) { + if (isFulfilled(hash.myPromise)) { + assertType<number>(hash.myPromise.value); + } + if (isFulfilled(hash.yourPromise)) { + assertType<string>(hash.yourPromise.value); + } + if (isFulfilled(hash.theirPromise)) { + assertType<{ key: number }>(hash.theirPromise.value); + } + if (isFulfilled(hash.notAPromise)) { + assertType<number>(hash.notAPromise.value); + } + }); +} + +function testMap() { + RSVP.map([RSVP.resolve(1), RSVP.resolve(2)], item => item + 1, 'add one').then(results => { + assertType<number[]>(results); + assertType<{ length: 2 }>(results); + }); + + RSVP.map([RSVP.resolve('a string'), RSVP.resolve(112233)], String).then(results => { + assertType<string[]>(results); + assertType<{ length: 2 }>(results); + }); + + // This is the best we can do: we can't actually write the full type here, + // which would be `assertType<never>(results)`, but TS can't infer that. + RSVP.map([RSVP.reject('for any reason')], String).then(results => { + assertType<{}>(results); + }); +} + +function testRace() { + const imported = race([]); + const firstPromise = RSVP.race([{ notAPromise: true }, RSVP.resolve({ some: 'value' })]); + assertType<RSVP.Promise<{ notAPromise: boolean } | { some: string }>>(firstPromise); + + let promise1 = RSVP.resolve(1); + let promise2 = RSVP.resolve('2'); + RSVP.Promise.race([promise1, promise2], 'my label').then(function(result) { + assertType<string | number>(result); + }); +} + +function testReject() { + assertType<RSVP.Promise<never>>(RSVP.reject()); + assertType<RSVP.Promise<never>>(RSVP.reject('this is a string')); + + RSVP.reject({ ok: false }).catch(reason => { + console.log(`${reason} could be anything`); + }); + RSVP.reject({ ok: false }, 'some label').catch((reason: any) => reason.ok); + + let promise = RSVP.Promise.reject(new Error('WHOOPS')); +} + +function testResolve() { + assertType<RSVP.Promise<void>>(RSVP.resolve()); + assertType<RSVP.Promise<string>>(RSVP.resolve('this is a string')); + assertType<RSVP.Promise<string>>(RSVP.resolve(RSVP.resolve('nested'))); + assertType<RSVP.Promise<string>>(RSVP.resolve(Promise.resolve('nested'))); + + let promise = RSVP.Promise.resolve(1); + let imported = resolve(1); +} + +function testRethrow() { + RSVP.reject(new Error('all the badness')) + .catch(RSVP.rethrow) + .then(value => { + assertType<void>(value); + }) + .catch(reason => { + if (reason instanceof Error) { + console.log(reason); + } + }); +} + +function testOnAndOff() { + RSVP.on('error', (reason: Error) => { + console.log(`it was an error: ${reason}`); + }); + + RSVP.off('whatever', (value: any) => { + console.log( + `any old value will do: ${value !== undefined && value !== null + ? value.toString() + : 'even undefined'}` + ); + }); +} diff --git a/types/rsvp/tsconfig.json b/types/rsvp/tsconfig.json old mode 100644 new mode 100755 index 09238278c1..ebfd4bc00d --- a/types/rsvp/tsconfig.json +++ b/types/rsvp/tsconfig.json @@ -1,23 +1,17 @@ { "compilerOptions": { "module": "commonjs", - "lib": [ - "es6" - ], + "target": "es5", + "lib": ["es6", "dom"], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, - "strictFunctionTypes": true, + "strictFunctionTypes": false, "baseUrl": "../", - "typeRoots": [ - "../" - ], + "typeRoots": ["../"], "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, - "files": [ - "index.d.ts", - "rsvp-tests.ts" - ] -} \ No newline at end of file + "files": ["index.d.ts", "rsvp-tests.ts"] +} From e1228267bbf06a3305b1b63e6964f90b8e03c13c Mon Sep 17 00:00:00 2001 From: Shenghan Gao <gaoshenghan199123@gmail.com> Date: Fri, 13 Oct 2017 03:15:35 -0700 Subject: [PATCH 322/433] Add types for Cytoscapejs (#20511) * base (master) branch where all common changes start * base (master) branch where all common changes start * updated readme * updated readme * initial commit for cytoscape js * update version * added return types of void * container can be jQuery * container is not a jQuery but a get() works * added style properties * added style properties * allow remove on CollectionElements * added docs and algorithms * added layout typings * added layout intellisence and optional * added missing elements from the api, may be broken * incorporate CSS * Remove OS restrictions Previously, OS was restricted to only `linux`. However cytoscape.js does not appear to have any os restrictions defined in it's [`package.json`](https://github.com/cytoscape/cytoscape.js/blob/master/package.json). * updated to match cytoscape 3.x * updated version * missing setter fro style * target may not be present and type must be a string That type can only be one of the specified event types. * updated versions * updated for IDE * updated version to 0.0.1 * There is no known operating-system restriction. * not an angular project * type for cytoscapejs * fixing types half way * fix all travis errors and added some tests * use HTMLElement instead of any for container * add strictFunctionTypes --- types/cytoscape/cytoscape-tests.ts | 82 + types/cytoscape/index.d.ts | 4522 ++++++++++++++++++++++++++++ types/cytoscape/tsconfig.json | 24 + types/cytoscape/tslint.json | 1 + 4 files changed, 4629 insertions(+) create mode 100644 types/cytoscape/cytoscape-tests.ts create mode 100644 types/cytoscape/index.d.ts create mode 100644 types/cytoscape/tsconfig.json create mode 100644 types/cytoscape/tslint.json diff --git a/types/cytoscape/cytoscape-tests.ts b/types/cytoscape/cytoscape-tests.ts new file mode 100644 index 0000000000..827a9880d3 --- /dev/null +++ b/types/cytoscape/cytoscape-tests.ts @@ -0,0 +1,82 @@ +'use strict'; +import { cytoscape } from 'cytoscape'; + +const parentCSS = { + 'padding-top': '10px', + 'padding-left': '10px', + 'padding-bottom': '10px', + 'padding-right': '10px', + 'text-valign': 'top', + 'text-halign': 'center', + 'background-color': '#CCC', + 'font-size': 40, + 'min-zoomed-font-size': 15 +}; + +const showAllStyle: cytoscape.Stylesheet[] = [ + { + selector: 'node', + css: { + content: 'data(id)', + 'text-valign': 'center', + 'text-halign': 'center', + shape: 'rectangle', + 'min-zoomed-font-size': 20, + opacity: 1 + } + }, + { + selector: '$node > node', + css: parentCSS + }, + { + selector: 'edge', + css: { + 'target-arrow-shape': 'triangle' + } + }, + { + selector: ':selected', + css: { + 'background-color': 'black', + 'line-color': 'black', + 'target-arrow-color': 'black', + 'source-arrow-color': 'black' + } + } +]; + +const cy = cytoscape({ + container: document.getElementById('cy'), + + boxSelectionEnabled: false, + autounselectify: true, + + style: showAllStyle, + + elements: { + nodes: [ + { data: { id: 'a', parent: 'b' }, position: { x: 215, y: 85 } }, + { data: { id: 'b' } }, + { data: { id: 'c', parent: 'b' }, position: { x: 300, y: 85 } }, + { data: { id: 'd' }, position: { x: 215, y: 175 } }, + { data: { id: 'e' } }, + { data: { id: 'f', parent: 'e' }, position: { x: 300, y: 175 } } + ], + edges: [ + { data: { id: 'ad', source: 'a', target: 'd' } }, + { data: { id: 'eb', source: 'e', target: 'b' } } + ] + }, + + layout: { + name: 'preset', + padding: 5 + } +}); + +cy.on('zoom', (event) => { + if (cy.zoom() <= 1) { + cy.nodes('$node > node').style('opacity', 0); + } +}); diff --git a/types/cytoscape/index.d.ts b/types/cytoscape/index.d.ts new file mode 100644 index 0000000000..7b5a9a9dbc --- /dev/null +++ b/types/cytoscape/index.d.ts @@ -0,0 +1,4522 @@ +// Type definitions for Cytoscape.js 3.1 +// Project: http://js.cytoscape.org/ +// Definitions by: Fabian Schmidt and Fred Eisele <https://github.com/phreed> +// Shenghan Gao <https://github.com/wy193777> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// +// Translation from Objects in help to Typescript interface. +// http://js.cytoscape.org/#notation/functions +// + +/** + * cy --> Cy.Core + * the core + * + * eles --> Cy.Collection + * a collection of one or more elements (nodes and edges) + * + * ele --> Cy.Singular + * a collection of a single element (node or edge) + * + * node --> Cy.NodeSingular + * a collection of a single node + * + * nodes -> Cy.NodeCollection + * a collection of one or more nodes + * + * edge --> Cy.EdgeSingular + * a collection of a single edge + * + * edges -> Cy.EdgeCollection + * a collection of one or more edges + * + * The library makes a distinction between input and output parameters + * due to the dynamic behaviour of the Cytoscape library. + * + * For a input parameter it will always expect: + * - Cy.Collection + * The input can be any element (node and edge) collection. + * - Cy.NodeCollection + * The input must be a node collection. + * - Cy.EdgeCollection + * The input must be a edge collection. + * - Cy.Singular + * The input must be a single element. + * - Cy.NodeSingular + * The inut must be a single node. + * - Cy.EdgeSingular + * The input must be a single edge. + * + * For a output of a function it will always give: + * - Cy.CollectionElements + * The output is a collection of node and edge elements OR single element. + * - Cy.EdgeCollection + * The output is a collection of edge elements OR single edge. + * - Cy.NodeCollection + * The output is a collection of node elements OR single node. + * + * A number of interfaces contain nothing as they server to collect interfaces. + * + */ +// export as namespace Cy +// export = cytoscape; + +export function cytoscape(options?: cytoscape.CytoscapeOptions): cytoscape.Core; +export function cytoscape(extensionName: string, foo: string, bar: any): cytoscape.Core; + +export namespace cytoscape { + interface Position { + x: number; + y: number; + } + + type HtmlElement = any; + type CssStyleDeclaration = any; + + interface ElementDefinition { + group?: ElementGroup; + data: NodeDataDefinition | EdgeDataDefinition; + /** + * Scratchpad data (usually temp or nonserialisable data) + */ + scatch?: Scratchpad; + /** + * The model position of the node (optional on init, mandatory after) + */ + position?: Position; + /** + * can alternatively specify position in rendered on-screen pixels + */ + renderedPosition?: Position; + /** + * Whether the element is selected (default false) + */ + selected?: boolean; + /** + * Whether the selection state is mutable (default true) + */ + selectable?: boolean; + /** + * When locked a node's position is immutable (default false) + */ + locked?: boolean; + /** + * Wether the node can be grabbed and moved by the user + */ + grabbable?: boolean; + /** + * a space separated list of class names that the element has + */ + classes?: string; + /** + * CssStyleDeclaration; + */ + style?: CssStyleDeclaration; + /** + * you should only use `style`/`css` for very special cases; use classes instead + */ + css?: Css.Node | Css.Edge; + } + + interface ElementDataDefinition { + /** + * elided id => autogenerated id + */ + id?: string; + position?: Position; + } + + interface EdgeDefinition extends ElementDefinition { + data: EdgeDataDefinition; + } + + interface EdgeDataDefinition extends ElementDataDefinition { + /** + * the source node id (edge comes from this node) + */ + source: string; + /** + * the target node id (edge goes to this node) + */ + target: string; + } + + interface NodeDefinition extends ElementDefinition { + data: NodeDataDefinition; + } + + interface NodeDataDefinition extends ElementDataDefinition { + parent?: string; + } + + interface CytoscapeOptions { + /////////////////////////////////////// + // very commonly used options: + /** + * A HTML DOM element in which the graph should be rendered. + * This is optional if Cytoscape.js is run headlessly or if you initialise using jQuery (in which case your jQuery object already has an associated DOM element). + * + * The default is undefined. + */ + container?: HTMLElement | null; + + /** + * An array of [[Elements]] specified as plain objects. For convenience, this option can alternatively be specified as a promise that resolves to the elements JSON. + */ + elements?: ElementsDefinition | ElementDefinition[] | Promise<ElementsDefinition> | Promise<ElementDefinition[]>; + /** + * The [[Stylesheet]] used to style the graph. For convenience, this option can alternatively be specified as a promise that resolves to the stylesheet. + */ + style?: Stylesheet[] | Promise<Stylesheet[]>; + /** + * A plain object that specifies layout options. + * Which layout is initially run is specified by the name field. + * Refer to a layout's documentation for the options it supports. + * If you want to specify your node positions yourself in your elements JSON, + * you can use the preset layout — by default it does not set any positions, + * leaving your nodes in their current positions + * (e.g. specified in options.elements at initialisation time) + */ + layout?: NullLayoutOptions | RandomLayoutOptions | PresetLayoutOptions | + GridLayoutOptions | CircleLayoutOptions | ConcentricLayoutOptions | + BreadthFirstLayoutOptions | CoseLayoutOptions; + + /////////////////////////////////////// + // initial viewport state: + /** + * The initial zoom level of the graph. + * Make sure to disable viewport manipulation options, such as fit, in your layout so that it is not overridden when the layout is applied. + * You can set options.minZoom and options.maxZoom to set restrictions on the zoom level. + * + * The default value is 1. + */ + zoom?: number; + /** + * The initial panning position of the graph. Make sure to disable viewport manipulation options, such as fit, + * in your layout so that it is not overridden when the layout is applied. + */ + pan?: Position; + + /////////////////////////////////////// + // interaction options?: + /** + * A minimum bound on the zoom level of the graph. The viewport can not be scaled smaller than this zoom level. + * + * The default value is 1e-50. + */ + minZoom?: number; + /** + * A maximum bound on the zoom level of the graph. The viewport can not be scaled larger than this zoom level. + * + * The default value is 1e50. + */ + maxZoom?: number; + /** + * Whether zooming the graph is enabled, both by user events and programmatically. + * + * The default value is true. + */ + zoomingEnabled?: boolean; + /** + * Whether user events (e.g. mouse wheel, pinch-to-zoom) are allowed to zoom the graph. Programmatic changes to zoom are unaffected by this option. + * + * The default value is true. + */ + userZoomingEnabled?: boolean; + /** + * Whether panning the graph is enabled, both by user events and programmatically. + * + * The default value is true. + */ + panningEnabled?: boolean; + /** + * Whether user events (e.g. dragging the graph background) are allowed to pan the graph. Programmatic changes to pan are unaffected by this option. + * + * The default value is true. + */ + userPanningEnabled?: boolean; + /** + * Whether box selection (i.e. drag a box overlay around, and release it to select) is enabled. If enabled, the user must taphold to pan the graph. + * + * The default value is false. + */ + boxSelectionEnabled?: boolean; + /** + * A string indicating the selection behaviour from user input. + * By default, this is set automatically for you based on the type of input device detected. + * On touch devices, 'additive' is default — a new selection made by the user adds to the set of currenly selected elements. + * On mouse-input devices, 'single' is default — a new selection made by the user becomes the entire set of currently selected elements (i.e. the previous elements are unselected). + * + * The default value is (isTouchDevice ? 'additive' : 'single'). + */ + selectionType?: SelectionType; + /** + * A nonnegative integer that indicates the maximum allowable distance that a user may move during a tap gesture, + * on touch devices and desktop devices respectively. + * + * This makes tapping easier for users. + * These values have sane defaults, so it is not advised to change these options unless you have very good reason for doing so. + * Larger values will almost certainly have undesirable consequences. + * + * The default value is is 8. + */ + touchTapThreshold?: number; + /** + * A nonnegative integer that indicates the maximum allowable distance that a user may move during a tap gesture, + * on touch devices and desktop devices respectively. + * + * This makes tapping easier for users. + * These values have sane defaults, + * so it is not advised to change these options unless you have very good reason for doing so. + * Larger values will almost certainly have undesirable consequences. + * + * The default value is 4. + */ + desktopTapThreshold?: number; + /** + * Whether nodes should be locked (not draggable at all) by default (if true, overrides individual node state). + * + * The default value is false. + */ + autolock?: boolean; + /** + * Whether nodes should be ungrabified (not grabbable by user) by default (if true, overrides individual node state). + * + * The default value is false. + */ + autoungrabify?: boolean; + /** + * Whether nodes should be unselectified (immutable selection state) by default (if true, overrides individual element state). + * + * The default value is false. + */ + autounselectify?: boolean; + + /////////////////////////////////////// + // rendering options: + /** + * A convenience option that initialises the Core to run headlessly. + * You do not need to set this in environments that are implicitly headless (e.g. Node.js). + * However, it is handy to set headless: true if you want a headless Core in a browser. + * + * The default value is false. + */ + headless?: boolean; + /** + * A boolean that indicates whether styling should be used. + * For headless (i.e. outside the browser) environments, + * display is not necessary and so neither is styling necessary — thereby speeding up your code. + * You can manually enable styling in headless environments if you require it for a special case. + * Note that it does not make sense to disable style if you plan on rendering the graph. + * + * The default value is true. + */ + styleEnabled?: boolean; + /** + * When set to true, the renderer does not render edges while the viewport is being manipulated. + * This makes panning, zooming, dragging, et cetera more responsive for large graphs. + * + * The default value is false. + */ + hideEdgesOnViewport?: boolean; + /** + * when set to true, the renderer does not render labels while the viewport is being manipulated. + * This makes panning, zooming, dragging, et cetera more responsive for large graphs. + * + * The default value is false. + */ + hideLabelsOnViewport?: boolean; + /** + * When set to true, the renderer uses a texture (if supported) during panning and zooming instead of drawing the elements, + * making large graphs more responsive. + * + * The default value is false. + */ + textureOnViewport?: boolean; + /** + * When set to true, the renderer will use a motion blur effect to make the transition between frames seem smoother. + * This can significantly increase the perceived performance for a large graphs. + * + * The default value is false. + */ + motionBlur?: boolean; + /** + * When motionBlur: true, this value controls the opacity of motion blur frames. + * Higher values make the motion blur effect more pronounced. + * + * The default value is 0.2. + */ + motionBlurOpacity?: number; + /** + * Changes the scroll wheel sensitivity when zooming. This is a multiplicative modifier. + * So, a value between 0 and 1 reduces the sensitivity (zooms slower), and a value greater than 1 increases the sensitivity (zooms faster). + * + * The default value is 1. + */ + wheelSensitivity?: number; + /** + * Overrides the screen pixel ratio with a manually set value (1.0 or 0.666 recommended, if set). + * This can be used to increase performance on high density displays by reducing the effective area that needs to be rendered. + * If you want to use the hardware's actual pixel ratio at the expense of performance, you can set pixelRatio: 'auto'. + * + * The default value is 1. + */ + pixelRatio?: number; + } + + /** + * cy --> Cy.Core + * The core object is your interface to a graph. + * + * It is your entry point to Cytoscape.js: + * All of the library’s features are accessed through this object. + * http://js.cytoscape.org/#core + */ + interface Core extends + CoreGraphManipulation, CoreGraphManipulationExt, + CoreEvents, CoreViewportManipulation, CoreAnimation, + CoreLayout, CoreStyle, CoreExport { } + + /** + * These are the principle functions used to interact with the graph model. + * + * http://js.cytoscape.org/#core/graph-manipulation + */ + interface CoreGraphManipulation { + /** + * Add elements to the graph and return them. + */ + add(eles: ElementDefinition | ElementDefinition[] | Collection): CollectionElements; + + /** + * Remove elements in collecion or match the selector from the graph and return them. + */ + remove(eles: Collection | Selector): CollectionElements; + + /** + * Get a collection from elements in the graph matching the specified selector or from an array of elements. + * If no parameter specified, an empty collection will be returned + */ + collection(eles?: Selector | CollectionElements[]): CollectionElements; + + /** + * Get an element from its ID in a very performant way. + */ + getElementById(id: string): CollectionElements; + + /** + * Get elements in the graph matching the specified selector. + * http://js.cytoscape.org/#cy.$ + */ + $(selector: Selector): CollectionElements; + + /** + * Get elements in the graph matching the specified selector. + * http://js.cytoscape.org/#cy.$ + */ + elements(selector?: Selector): CollectionElements; + + /** + * Get nodes in the graph matching the specified selector. + */ + nodes(selector?: Selector): NodeCollection; + + /** + * Get edges in the graph matching the specified selector. + */ + edges(selector?: Selector): EdgeCollection; + /** + * Get elements in the graph matching the specified selector or filter function. + */ + filter(selector: Selector | ((i: number, ele: Singular) => boolean)): CollectionElements; + + /** + * Allow for manipulation of elements without triggering multiple style calculations or multiple redraws. + * http://js.cytoscape.org/#cy.batch + * A callback within which you can make batch updates to elements. + */ + batch(callback: () => void): void; + /** + * Allow for manipulation of elements without triggering multiple style calculations or multiple redraws. + * http://js.cytoscape.org/#cy.batch + * + * Starts batching manually (useful for asynchronous cases). + */ + startBatch(): void; + /** + * Allow for manipulation of elements without triggering multiple style calculations or multiple redraws. + * http://js.cytoscape.org/#cy.batch + * + * Ends batching manually (useful for asynchronous cases). + */ + endBatch(): void; + + /** + * A convenience function to explicitly destroy the Core. + * http://js.cytoscape.org/#cy.destroy + */ + destroy(): void; + } + + /** + * http://js.cytoscape.org/#core/graph-manipulation + * http://js.cytoscape.org/#extensions + * These functions are intended for use in extensions. + */ + interface CoreGraphManipulationExt { + /** + * Set the scratchpad at a particular namespace, + * where temporary or non-JSON data can be stored. + * App-level scratchpad data should use namespaces prefixed with underscore, like '_foo'. + * + * If no parameter provided, the entire scratchpad will be returned. + * If only namespace provided, the scratchpad with the namespace will be returned. + * + * @param namespace A namespace string. + * @param value The value to set at the specified namespace. + */ + scratch(namespace?: string, value?: any): Scratchpad; + + /** + * Remove scratchpad data. You should remove scratchpad data only at your own namespaces. + * http://js.cytoscape.org/#cy.removeScratch + * + * @param namespace A namespace string. + */ + removeScratch(namespace: string): void; + } + + /** + * The principle events from the graph model. + * http://js.cytoscape.org/#core/events + */ + interface CoreEvents { + /** + * Bind to events that occur in the graph. + * + * @param events A space separated list of event names. + * @param handler The handler function that is called when one of the specified events occurs. + * @param selector A selector to specify elements for which the handler is triggered. + * @param data A plain object which is passed to the handler in the event object argument. + * @param eventsMap A map of event names to handler functions. + */ + + on(events: EventNames, handler: EventHandler): void; + on(events: EventNames, selector: Selector, handler: EventHandler): void; + on(events: EventNames, selector: Selector, data: any, handler: EventHandler): void; + on(eventsMap: { [value: string]: EventHandler }, selector?: Selector, data?: any): void; + + bind(events: EventNames, handler: EventHandler): void; + bind(events: EventNames, selector: Selector, handler: EventHandler): void; + bind(events: EventNames, selector: Selector, data: any, handler: EventHandler): void; + bind(eventsMap: { [value: string]: EventHandler }, selector?: Selector, data?: any): void; + + listen(events: EventNames, handler: EventHandler): void; + listen(events: EventNames, selector: Selector, handler: EventHandler): void; + listen(events: EventNames, selector: Selector, data: any, handler: EventHandler): void; + listen(eventsMap: { [value: string]: EventHandler }, selector?: Selector, data?: any): void; + + addListener(events: EventNames, handler: EventHandler): void; + addListener(events: EventNames, selector: Selector, handler: EventHandler): void; + addListener(events: EventNames, selector: Selector, data: any, handler: EventHandler): void; + addListener(eventsMap: { [value: string]: EventHandler }, selector?: Selector, data?: any): void; + + /** + * Get a promise that is resolved with the first + * of any of the specified events triggered on the graph. + * @param events A space separated list of event names. + * @param selector [optional] A selector to specify elements for which the handler is triggered. + */ + promiseOn(events: EventNames, selector?: Selector): Promise<EventHandler>; + pon(events: EventNames, selector?: Selector): Promise<EventHandler>; + /** + * Bind to events that occur in the graph, and trigger the handler only once. + * + * @param events A space separated list of event names. + * @param handler The handler function that is called when one of the specified events occurs. + */ + one(events: EventNames, handler: EventHandler): void; + /** + * Bind to events that occur in the graph, and trigger the handler only once. + * + * @param events A space separated list of event names. + * @param handler The handler function that is called when one of the specified events occurs. + * @param selector A selector to specify elements for which the handler is triggered. + */ + one(events: EventNames, selector: Selector, handler: EventHandler): void; + /** + * Bind to events that occur in the graph, and trigger the handler only once. + * + * @param events A space separated list of event names. + * @param handler The handler function that is called when one of the specified events occurs. + * @param selector A selector to specify elements for which the handler is triggered. + * @param data A plain object which is passed to the handler in the event object argument. + */ + one(events: EventNames, selector: Selector, data: any, handler: EventHandler): void; + /** + * Bind to events that occur in the graph, and trigger the handler only once. + * + * @param eventsMap A map of event names to handler functions. + * @param selector A selector to specify elements for which the handler is triggered. + * @param data A plain object which is passed to the handler in the event object argument. + */ + one(eventsMap: { [value: string]: EventHandler }, selector?: Selector, data?: any): void; + + /** + * Remove event handlers. + * http://js.cytoscape.org/#cy.off + * + * @param events A space separated list of event names. + * @param selector [optional] The same selector used to bind to the events. + * @param handler [optional] A reference to the handler function to remove. + * @param eventsMap A map of event names to handler functions to remove. + */ + off(events: EventNames, selector?: Selector, handler?: EventHandler): void; + off(eventsMap: { [value: string]: EventHandler }, selector?: Selector): void; + + unbind(events: EventNames, selector?: Selector, handler?: EventHandler): void; + unbind(eventsMap: { [value: string]: EventHandler }, selector?: Selector): void; + + unlisten(events: EventNames, selector?: Selector, handler?: EventHandler): void; + unlisten(eventsMap: { [value: string]: EventHandler }, selector?: Selector): void; + + removeListener(events: EventNames, selector?: Selector, handler?: EventHandler): void; + removeListener(eventsMap: { [value: string]: EventHandler }, selector?: Selector): void; + + /** + * Trigger one or more events. + * + * @param events A space separated list of event names to trigger. + * @param extraParams [optional] An array of additional parameters to pass to the handler. + */ + trigger(events: EventNames, extraParams?: any[]): void; + emit(events: EventNames, extraParams?: any[]): void; + + /** + * Run a callback as soon as the graph becomes ready. If the graph is already ready, then the callback is called immediately. + * @param fn The callback run as soon as the graph is ready, inside which this refers to the core (cy). + */ + ready(fn: EventHandler): void; + } + + interface ZoomOptions { + /** The zoom level to set. */ + level: number; + /** The position about which to zoom. */ + position: Position; + /** The rendered position about which to zoom. */ + renderedPosition: Position; + } + /** + * http://js.cytoscape.org/#core/viewport-manipulation + */ + interface CoreViewportManipulation { + /** + * Get the HTML DOM element in which the graph is visualised. + * A null value is returned if the Core is headless. + */ + container(): any; + + /** + * Pan the graph to the centre of a collection. + * + * @param eles The collection to centre upon. + */ + center(eles?: Collection): CollectionElements; + + /** + * Pan and zooms the graph to fit to a collection. + * http://js.cytoscape.org/#cy.fit + * + * @param eles [optional] The collection to fit to. + * @param padding [optional] An amount of padding (in pixels) to have around the graph + */ + fit(eles?: Collection, padding?: number): CollectionElements; + + /** + * Reset the graph to the default zoom level and panning position. + * http://js.cytoscape.org/#cy.reset + */ + reset(): CollectionElements; + + /** + * Get the panning position of the graph. + * http://js.cytoscape.org/#cy.pan + */ + pan(): Position; + + /** + * Set the panning position of the graph. + * http://js.cytoscape.org/#cy.pan + * + * @param renderedPosition The rendered position to pan the graph to. + */ + pan(renderedPosition?: Position): void; + + /** + * Relatively pan the graph by a specified rendered position vector. + * http://js.cytoscape.org/#cy.panBy + * + * @param renderedPosition The rendered position vector to pan the graph by. + */ + panBy(renderedPosition: Position): void; + + /** + * Get whether panning is enabled. + * If cy.boxSelectionEnabled() === true, then the user + * must taphold to initiate panning. + * http://js.cytoscape.org/#cy.panningEnabled + */ + panningEnabled(): boolean; + + /** + * Set whether panning is enabled. If cy.boxSelectionEnabled() === true, then the user must taphold to initiate panning. + * http://js.cytoscape.org/#cy.panningEnabled + * + * @param bool A truthy value enables panning; a falsey value disables it. + */ + panningEnabled(bool: boolean): void; + + /** + * Get whether panning by user events (e.g. dragging the graph background) is enabled. If cy.boxSelectionEnabled() === true, then the user must taphold to initiate panning. + * http://js.cytoscape.org/#cy.userPanningEnabled + */ + userPanningEnabled(): boolean; + + /** + * Set whether panning by user events (e.g. dragging the graph background) is enabled. If cy.boxSelectionEnabled() === true, then the user must taphold to initiate panning. + * http://js.cytoscape.org/#cy.userPanningEnabled + * + * @param bool A truthy value enables user panning; a falsey value disables it. + */ + userPanningEnabled(bool: boolean): void; + /** + * Get the zoom level. + * http://js.cytoscape.org/#cy.zoom + */ + zoom(): number; + /** + * Set the zoom level. + * http://js.cytoscape.org/#cy.zoom + * + * @param level The zoom level to set. + * @param options The options for zooming. + */ + zoom(level?: number | ZoomOptions): void; + + /** + * Set or get whether zooming is enabled. Get if no parameter provided. + * http://js.cytoscape.org/#cy.zoomingEnabled + * + * @param bool A truthy value enables zooming; a falsey value disables it. + */ + zoomingEnabled(bool?: boolean): void; + + /** + * Get whether zooming by user events (e.g. mouse wheel, pinch-to-zoom) + * is enabled. + * http://js.cytoscape.org/#cy.userZoomingEnabled + */ + userZoomingEnabled(): boolean; + /** + * Get or set whether zooming by user events get if no parameter provided + * (e.g. mouse wheel, pinch-to-zoom) is enabled. + * http://js.cytoscape.org/#cy.userZoomingEnabled + * + * @param bool A truthy value enables user zooming; a falsey value disables it. + */ + userZoomingEnabled(bool?: boolean): void; + + /** + * Get the minimum zoom level. + * http://js.cytoscape.org/#cy.minZoom + */ + minZoom(): number; + /** + * Set the minimum zoom level. + * http://js.cytoscape.org/#cy.minZoom + * + * @param zoom The new minimum zoom level to use. + */ + minZoom(zoom: number): void; + + /** + * Get the maximum zoom level. + * http://js.cytoscape.org/#cy.maxZoom + */ + maxZoom(): number; + /** + * Set the maximum zoom level. + * http://js.cytoscape.org/#cy.maxZoom + * + * @param zoom The new maximum zoom level to use. + */ + maxZoom(zoom: number): void; + + /** + * Set the viewport state (pan & zoom) in one call. + * http://js.cytoscape.org/#cy.viewport + * + * @param zoom The zoom level to set. + * @param pan The pan to set (a rendered position). + */ + viewport(zoom: number, pan: Position): void; + + /** + * Get whether box selection is enabled. + * If enabled, the user must hold left-click to initiate panning. + * http://js.cytoscape.org/#cy.boxSelectionEnabled + */ + boxSelectionEnabled(): boolean; + /** + * Set whether box selection is enabled. + * If enabled, the user must hold left-click to initiate panning. + * http://js.cytoscape.org/#cy.boxSelectionEnabled + * + * @param bool A truthy value enables box selection; a falsey value disables it. + */ + boxSelectionEnabled(bool: boolean): void; + + /** + * Get the on-screen width of the viewport in pixels. + * http://js.cytoscape.org/#cy.width + */ + width(): number; + + /** + * Get the on-screen height of the viewport in pixels. + * http://js.cytoscape.org/#cy.height + */ + height(): number; + + /** + * Get the extent of the viewport, a bounding box in model + * coordinates that lets you know what model + * positions are visible in the viewport. + * http://js.cytoscape.org/#cy.extent + */ + extent(): { + x1: number, y1: number, x2: number, y2: number, w: number, h: number + }; + + /** + * Get whether nodes are automatically locked + * (i.e. if true, nodes are locked despite their individual state). + * http://js.cytoscape.org/#cy.autolock + */ + autolock(): boolean; + /** + * Set whether nodes are automatically locked + * (i.e. if true, nodes are locked despite their individual state). + * http://js.cytoscape.org/#cy.autolock + * + * @param bool A truthy value enables autolocking; a falsey value disables it. + */ + autolock(bool: boolean): void; + + /** + * Get whether nodes are automatically ungrabified + * (i.e. if true, nodes are ungrabbale despite their individual state). + * http://js.cytoscape.org/#cy.autoungrabify + */ + autoungrabify(): boolean; + /** + * Set whether nodes are automatically ungrabified + * (i.e. if true, nodes are ungrabbale despite their individual state). + * http://js.cytoscape.org/#cy.autoungrabify + * + * @param bool A truthy value enables autolocking; a falsey value disables it. + */ + autoungrabify(bool: boolean): void; + + /** + * Get whether nodes are automatically unselectified + * (i.e. if true, nodes are unselectable despite their individual state). + * http://js.cytoscape.org/#cy.autounselectify + */ + autounselectify(): boolean; + /** + * Set whether nodes are automatically unselectified + * (i.e. if true, nodes are unselectable despite their individual state). + * http://js.cytoscape.org/#cy.autounselectify + * + * @param bool A truthy value enables autolocking; a falsey value disables it. + */ + autounselectify(bool: boolean): void; + + /** + * Force the renderer to redraw (i.e. draw a new frame). + * + * This function forces the renderer to draw a new frame. + * It is useful for very specific edgecases, such as in certain UI plugins, + * but it should not be needed for most developers. + * http://js.cytoscape.org/#cy.forceRender + */ + forceRender(): void; + + /** + * Force the renderer to recalculate the viewport bounds. + * + * If your code resizes the graph's dimensions or position + * (i.e. by changing the style of the HTML DOM element that holds the graph), + * you will want to call cy.resize() to have the graph resize and redraw itself. + * + * Cytoscape.js can not automatically monitor the bounding box of the viewport, + * as querying the DOM for those dimensions can be expensive. + * Although cy.resize() is automatically called for you on the window's resize event, + * there is no resize or style event for arbitrary DOM elements. + * http://js.cytoscape.org/#cy.resize + */ + resize(): CollectionElements; + } + + /** + * http://js.cytoscape.org/#core/animation + * + */ + interface AnimationFitOptions { + eles: CollectionElements | Selector; // to which the viewport will be fitted. + padding: number; // Padding to use with the fitting. + } + interface CenterOptions { + eles: CollectionElements | Selector; // to which the viewport will be selected. + } + interface AnimateOptionsCommon { + /** A zoom level to which the graph will be animated. */ + zoom?: number; + /** A panning position to which the graph will be animated. */ + pan?: Position; + /** A relative panning position to which the graph will be animated. */ + panBy?: Position; + /** An object containing fitting options from which the graph will be animated. */ + fit?: AnimationFitOptions; + /** An object containing centring options from which the graph will be animated. */ + center?: CenterOptions; + + /** duration - The duration of the animation in milliseconds. */ + duration?: number; + } + interface AnimateOptions extends AnimateOptionsCommon { + /** queue - A boolean indicating whether to queue the animation. */ + queue?: boolean; + /** complete - A function to call when the animation is done. */ + complete?(): void; + /** step - A function to call each time the animation steps. */ + step(): void; + } + interface AnimationOptions extends AnimateOptionsCommon { + /** queue - A transition-timing-function easing style string that shapes the animation progress curve. */ + easing?: boolean; + /** complete - A function to call when the animation is done. */ + complete?(): void; + /** step - A function to call each time the animation steps. */ + step?(): void; + } + + interface CoreAnimation { + /** + * Get whether the viewport is currently being animated. + * http://js.cytoscape.org/#cy.animated + */ + animated(): boolean; + + /** + * Animate the viewport. + * http://js.cytoscape.org/#cy.animate + * + * @param anis An object containing the details of the animation. + * + * @param options An object containing animation options. + */ + animate(anis: AnimateOptions, options?: AnimateOptions): Core; + + /** + * Get an animation of the viewport. + * http://js.cytoscape.org/#cy.animation + */ + animation(options: AnimationOptions): any; + + /** + * Add a delay between animations for the viewport. + * + * @param duration How long the delay should be in milliseconds. + * @param complete A function to call when the delay is complete. + */ + delay(duration: number, complete?: () => void): Core; + + /** + * Get a delay animation of the viewport. + * http://js.cytoscape.org/#cy.delayAnimation + */ + delayAnimation(duration: number): void; + + /** + * Stop all viewport animations that are currently running. + * http://js.cytoscape.org/#cy.stop + * + * @param clearQueue A boolean, indicating whether the queue of animations should be emptied. + * @param jumpToEnd A boolean, indicating whether the currently-running animations should jump to their ends rather than just stopping midway. + */ + stop(clearQueue?: boolean, jumpToEnd?: boolean): Core; + + /** + * Remove all queued animations for the viewport. + * http://js.cytoscape.org/#cy.clearQueue + */ + clearQueue(): Core; + } + + /** + * http://js.cytoscape.org/#core/layout + */ + interface CoreLayout { + /** + * Run a layout, which algorithmically positions the nodes in the graph. + * For layouts included with Cytoscape.js, you can find their + * options documented in the Layouts section. + * For external layouts, please refer to their accompanying documentation. + * + * An analogue to run a layout on a subset of the graph exists as eles.layout(). + * http://js.cytoscape.org/#cy.layout + */ + layout(layout: LayoutOptions): void; + /** + * Get a new layout, which can be used to algorithmically + * position the nodes in the graph. + * + * You must specify options.name with the name of the layout you wish to use. + * + * This function creates and returns a layout object. + * You may want to keep a reference to the layout for more advanced usecases, + * such as running multiple layouts simultaneously. + * Note that you must call layout.run() in order for it to affect the graph. + * An analogue to make a layout on a subset of the graph exists as eles.makeLayout(). + */ + makeLayout(options: LayoutOptions): void; + } + + /** + * Get the entry point to modify the visual style of the graph after initialisation. + * http://js.cytoscape.org/#core/style + */ + interface ElementStylesheet extends StylesheetStyle { + json(): any; + } + + interface CoreStyle { + /** + * Get the current style object. + */ + style(): ElementStylesheet | string; + /** + * Assign a new stylesheet to replace the existing one. + */ + style(sheet: Stylesheet): Stylesheet; + } + + /** + * http://js.cytoscape.org/#cy.style + */ + type Stylesheet = StylesheetStyle | StylesheetCSS; + + interface StylesheetStyle { + selector: string; + style: Css.Node | Css.Edge; + } + + /** + * http://js.cytoscape.org/#cy.style + */ + interface StylesheetCSS { + selector: string; + css: Css.Node | Css.Edge; + } + + /** + * http://js.cytoscape.org/#core/export + */ + interface ExportOptions { + /** + * output Whether the output should be 'base64uri' (default), 'base64', or 'blob'. + */ + output?: "base64uri" | "base64" | "blob"; + /** + * The background colour of the image (transparent by default). + */ + bg?: string; + /** + * Whether to export the current viewport view (false, default) or the entire graph (true). + */ + full?: boolean; + /** + * This value specifies a positive number that scales the size of the resultant image. + */ + scale?: number; + /** + * Specifies the scale automatically in combination with maxHeight such that the resultant image is no wider than maxWidth. + */ + maxWidth?: number; + /** + * Specifies the scale automatically in combination with maxWidth such that the resultant image is no taller than maxHeight. + */ + maxHeight?: number; + } + + interface ExportJpgOptions extends ExportOptions { + /** + * quality Specifies the quality of the image from 0 + * (low quality, low filesize) to 1 (high quality, high filesize). + * If not set, the browser's default quality value is used. + */ + quality?: number; + } + + interface CoreExport { + /** + * Export the current graph view as a PNG image in Base64 representation. + */ + png(options?: ExportOptions): string; + + /** + * Export the current graph view as a JPG image in Base64 representation. + */ + jpg(options?: ExportOptions): string; + + /** + * Export the current graph view as a JPG image in Base64 representation. + */ + jpeg(options?: ExportOptions): string; + + /** + * Export the graph as JSON, the same format used at initialisation. + */ + json(): string; + } + + /** + * eles --> Cy.Collection + * a collection of one or more elements (nodes and edges) + * + * The input can be any element (node and edge) collection. + * http://js.cytoscape.org/#collection + */ + interface Collection extends Singular, + CollectionGraphManipulation, CollectionEvents, + CollectionData, CollectionPosition, + CollectionLayout, + CollectionSelection, CollectionStyle, CollectionAnimation, + CollectionComparision, CollectionIteration, + CollectionBuildingUnion, CollectionAlgorithms { } + + /** + * ele --> Cy.Singular + * a collection of a single element (node or edge) + */ + interface Singular extends + SingularGraphManipulation, + SingularData, SingularPosition, + SingularSelection, SingularStyle, SingularAnimation { } + + interface ElementsDefinition { + nodes: NodeDefinition[]; + edges: EdgeDefinition[]; + } + + type EventHandler = (event: EventObject) => void; + + /** + * The output is a collection of node and edge elements OR single element. + */ + interface CollectionElements extends + EdgeCollection, NodeCollection, SingularElement { } + + /** + * edges -> Cy.EdgeCollection + * a collection of one or more edges + * + * The output is a collection of edge elements OR single edge. + */ + interface EdgeCollection extends Collection, EdgeSingular, + EdgeCollectionTraversing { } + /** + * nodes -> Cy.NodeCollection + * a collection of one or more nodes + * + * The output is a collection of node elements OR single node. + */ + interface NodeCollection extends Collection, NodeSingular, + NodeCollectionMetadata, NodeCollectionPosition, NodeCollectionTraversing, + NodeCollectionCompound { } + + interface SingularElement extends EdgeSingular, NodeSingular { + // Intentionally empty. + } + /** + * edge --> Cy.EdgeSingular + * a collection of a single edge + */ + interface EdgeSingular extends Singular, + EdgeSingularData, EdgeSingularTraversing { } + + /** + * node --> Cy.NodeSingular + * a collection of a single node + */ + interface NodeSingular extends Singular, + NodeSingularMetadata, NodeSingularPosition, NodeSingularCompound { } + + /** + * http://js.cytoscape.org/#collection/graph-manipulation + */ + interface CollectionGraphManipulation { + /** + * Remove the elements from the graph. + * http://js.cytoscape.org/#eles.remove + */ + remove(): CollectionElements; + + /** + * Put removed elements back into the graph. + * http://js.cytoscape.org/#eles.restore + */ + restore(): CollectionElements; + + /** + * Get a new collection containing clones (i.e. copies) of the elements in the calling collection. + * http://js.cytoscape.org/#eles.clone + */ + clone(): CollectionElements; + /** + * Get a new collection containing clones (i.e. copies) of the elements in the calling collection. + * http://js.cytoscape.org/#eles.clone + */ + copy(): CollectionElements; + + /** + * Effectively move edges to different nodes. The modified (actually new) elements are returned. + * http://js.cytoscape.org/#eles.move + */ + move(location: { source?: string, target?: string }): EdgeCollection; + /** + * Effectively move nodes to different parent node. The modified (actually new) elements are returned. + * http://js.cytoscape.org/#eles.move + */ + move(location: { parent: string }): NodeCollection; + } + + /** + * http://js.cytoscape.org/#collection/graph-manipulation + */ + interface SingularGraphManipulation { + /** + * Get whether the element has been removed from the graph. + * http://js.cytoscape.org/#ele.removed + */ + removed(): boolean; + /** + * Get whether the element is inside the graph (i.e. not removed). + * http://js.cytoscape.org/#ele.inside + */ + inside(): boolean; + } + + /** + * http://js.cytoscape.org/#collection/events + */ + interface CollectionEvents { + /** + * http://js.cytoscape.org/#eles.on + */ + on(events: EventNames, selector: string, data: any, handler: EventHandler): void; + on(events: EventNames, selector: string, handler: EventHandler): void; + on(events: EventNames, handler: EventHandler): void; + /** + * http://js.cytoscape.org/#eles.promiseOn + * alias: pon + */ + promiseOn(events: EventNames, selector?: string): Promise<EventHandler>; + pon(events: EventNames, selector?: string): Promise<EventHandler>; + + /** + * @param events A space separated list of event names. + * @param selector [optional] A delegate selector to specify child elements for which the handler is triggered. + * @param data [optional] A plain object which is passed to the handler in the event object argument. + * @param function(event) The handler function that is called when one of the specified events occurs. + * @param event The event object. + * http://js.cytoscape.org/#eles.one + */ + one(events: EventNames, selector: string, data: any, handler: EventHandler): void; + one(events: EventNames, selector: string, handler: EventHandler): void; + one(events: EventNames, handler: EventHandler): void; + /** + * http://js.cytoscape.org/#eles.once + */ + once(events: EventNames, selector: string, data: any, handler: EventHandler): void; + once(events: EventNames, selector: string, handler: EventHandler): void; + once(events: EventNames, handler: EventHandler): void; + /** + * http://js.cytoscape.org/#eles.off + * alias unbind, unlisten, removeListener + */ + off(events: EventNames, selector?: string, handler?: EventHandler): void; + /** + * http://js.cytoscape.org/#eles.trigger + * alias: emit + */ + trigger(events: EventNames, extra?: string[]): void; + } + + /** + * http://js.cytoscape.org/#collection/data + * + * The following fields are immutable: + * id: The id field is used to uniquely identify an element in the graph. + * source & target : These fields define an edge's relationship to nodes, and this relationship can not be changed after creation. + * parent: The parent field defines the parent (compound) node. + */ + interface CollectionData { + /** + * Remove developer-defined data associated with the elements. + * http://js.cytoscape.org/#eles.removeData + * @param names A space-separated list of fields to delete. + */ + removeData(names?: string): CollectionElements; + removeAttr(names?: string): CollectionElements; + + /** + * Get an array of the plain JavaScript object + * representation of all elements in the collection. + */ + jsons(): string[]; + } + /** + * http://js.cytoscape.org/#collection/data + */ + interface SingularData { + /** + * Read and write developer-defined data associated with the elements + * http://js.cytoscape.org/#eles.data + */ + + /** + * Get a particular data field for the element. + * @param name The name of the field to get. + */ + data(name?: string): any; + /** + * Set a particular data field for the element. + * @param name The name of the field to set. + * @param value The value to set for the field. + */ + data(name: string, value: any): void; + /** + * Update multiple data fields at once via an object. + * @param obj The object containing name- value pairs to update data fields. + */ + data(obj: any): void; + + /** + * Get or set the scratchpad at a particular namespace, + * where temporary or non-JSON data can be stored. + * Get scratchpad if one or no parameter provided. + * App-level scratchpad data should use namespaces + * prefixed with underscore, like '_foo'. + * http://js.cytoscape.org/#ele.scratch + * @param namespace A namespace string. + * @param value The value to set at the specified namespace. + */ + scratch(namespace?: string, value?: any): Scratchpad; + + /** + * Remove scratchpad data. + * You should remove scratchpad data only at your own namespaces. + * http://js.cytoscape.org/#ele.removeScratch + * @param namespace A namespace string. + */ + removeScratch(namespace: string): void; + + /** + * A shortcut to get the ID of an element. + * http://js.cytoscape.org/#ele.id + */ + id(): string; + + /** + * Get the element's plain JavaScript object representation. + * http://js.cytoscape.org/#ele.json + */ + json(): string; + + /** + * Get the group string that defines the type of the element. + * + * The group strings are 'nodes' for nodes and 'edges' for edges. + * In general, you should be using ele.isEdge() + * and ele.isNode() instead of ele.group(). + * http://js.cytoscape.org/#ele.group + */ + group(): ElementGroup; + + /** + * Get whether the element is a node. + * http://js.cytoscape.org/#ele.isNode + */ + isNode(): boolean; + + /** + * Get whether the element is an edge. + * http://js.cytoscape.org/#ele.isEdge + */ + isEdge(): boolean; + } + /** + * http://js.cytoscape.org/#collection/data + */ + interface EdgeSingularData { + /** + * Get whether the edge is a loop (i.e. source same as target). + * http://js.cytoscape.org/#edge.isLoop + */ + isLoop(): boolean; + + /** + * Get whether the edge is simple (i.e. source different than target). + * http://js.cytoscape.org/#edge.isSimple + */ + isSimple(): boolean; + } + + /** + * http://js.cytoscape.org/#collection/metadata + */ + interface NodeSingularMetadata { + /** + * Get the degree of a node. + * @param includeLoops A boolean, indicating whether loops are to be included in degree calculations. + */ + degree(includeLoops: boolean): number; + /** + * Get the indegree of a node. + * @param includeLoops A boolean, indicating whether loops are to be included in degree calculations. + */ + indegree(includeLoops: boolean): number; + /** + * Get the outdegree of a node. + * @param includeLoops A boolean, indicating whether loops are to be included in degree calculations. + */ + outdegree(includeLoops: boolean): number; + } + + /** + * http://js.cytoscape.org/#collection/metadata + */ + interface NodeCollectionMetadata { + /** + * Get the total degree of a collection of nodes. + * @param includeLoops A boolean, indicating whether loops are to be included in degree calculations. + */ + totalDegree(includeLoops: boolean): number; + + /** + * Get the minimum degree of the nodes in the collection. + * @param includeLoops A boolean, indicating whether loops are to be included in degree calculations. + */ + minDegree(includeLoops: boolean): number; + + /** + * Get the maximum degree of the nodes in the collection. + * @param includeLoops A boolean, indicating whether loops are to be included in degree calculations. + */ + maxDegree(includeLoops: boolean): number; + + /** + * Get the minimum indegree of the nodes in the collection. + * @param includeLoops A boolean, indicating whether loops are to be included in degree calculations. + */ + minIndegree(includeLoops: boolean): number; + + /** + * Get the maximum indegree of the nodes in the collection. + * @param includeLoops A boolean, indicating whether loops are to be included in degree calculations. + */ + maxIndegree(includeLoops: boolean): number; + + /** + * Get the minimum outdegree of the nodes in the collection. + * @param includeLoops A boolean, indicating whether loops are to be included in degree calculations. + */ + minOutdegree(includeLoops: boolean): number; + + /** + * Get the maximum outdegree of the nodes in the collection. + * @param includeLoops A boolean, indicating whether loops are to be included in degree calculations. + */ + maxOutdegree(includeLoops: boolean): number; + } + + /** + * http://js.cytoscape.org/#collection/position--dimensions + */ + interface NodeSingularPosition { + /** + * Get the (model) position of a node. + */ + position(): Position; + /** + * Set the value of a specified position dimension. + * @param dimension The position dimension to set. + * @param value The value to set to the dimension. + */ + position(dimension: PositionDimension, value?: Position): void; + /** + * Set the position using name-value pairs in the specified object. + * @param pos An object specifying name-value pairs representing dimensions to set. + */ + position(pos: Position): void; + + /** + * Get or set the rendered (on-screen) position of a node. + * http://js.cytoscape.org/#node.renderedPosition + */ + /** + * Get the value of a specified rendered position dimension. + * @param dimension The position dimension to get. + * @param value The value to set to the dimension. + * @param pos An object specifying name-value pairs representing dimensions to set. + */ + renderedPosition(dimension?: PositionDimension): Position; + renderedPosition(dimension: PositionDimension, value: Position): void; + renderedPosition(pos: { [name: string]: number }): void; + + /** + * Set the value of a specified rendered position dimension. + * @param dimension The position dimension to set. + * @param value The value to set to the dimension. + * @param pos An object specifying name-value pairs representing dimensions to set. + */ + renderedPoint(dimension?: PositionDimension): Position; + renderedPoint(dimension: PositionDimension, value: Position): void; + renderedPoint(pos: { [name: string]: number }): void; + + /** + * + * http://js.cytoscape.org/#node.relativePosition + */ + /** + * Get the value of a specified relative position dimension. + * @param dimension The position dimension to get. + * @param value The value to set to the dimension. + * @param pos An object specifying name-value pairs representing dimensions to set. + */ + relativePosition(dimension?: PositionDimension): Position; + relativePosition(dimension: PositionDimension, value: Position): void; + relativePosition(pos: { [name: string]: number }): void; + + /** + * Get the value of a specified relative position dimension. + * @param dimension The position dimension to get. + * @param value The value to set to the dimension. + * @param pos An object specifying name-value pairs representing dimensions to set. + */ + relativePoint(dimension?: PositionDimension): Position; + relativePoint(dimension: PositionDimension, value: Position): void; + relativePoint(pos: { [name: string]: number }): void; + + /** + * Get whether a node is currently grabbed, meaning the user has hold of the node. + * http://js.cytoscape.org/#node.grabbed + */ + grabbed(): boolean; + /** + * Get whether the user can grab a node. + * http://js.cytoscape.org/#node.grabbable + */ + grabbable(): boolean; + /** + * Get whether a node is locked, meaning that its position can not be changed. + * http://js.cytoscape.org/#node.locked + */ + locked(): boolean; + } + + /** + * @param ele The element being iterated over for which the function should return a position to set. + * @param ix The index of the element when iterating over the elements in the collection. + */ + type ElementPositionFunction = (ele: CollectionElements, ix: number) => void; + type ElementCollectionFunction = (ele: CollectionElements, ix: number, eles: CollectionElements) => void; + + /** + * http://js.cytoscape.org/#collection/position--dimensions + */ + interface NodeCollectionPosition { + /** + * Set the positions via a function. + * @param handler A callback function that returns the position to set for each element. + * @param pos An object specifying name-value pairs representing dimensions to set. + * http://js.cytoscape.org/#nodes.positions + */ + positions(handler: ElementPositionFunction | Position): void; + + modelPositions(handler: ElementPositionFunction | Position): void; + + points(handler: ElementPositionFunction | Position): void; + + /** + * Allow the user to grab the nodes. + * http://js.cytoscape.org/#nodes.grabify + */ + grabify(): void; + /** + * Disallow the user to grab the nodes. + * http://js.cytoscape.org/#nodes.ungrabify + */ + ungrabify(): void; + /** + * Lock the nodes such that their positions can not be changed. + * http://js.cytoscape.org/#nodes.lock + */ + lock(): void; + /** + * Unlock the nodes such that their positions can be changed. + * http://js.cytoscape.org/#nodes.unlock + */ + unlock(): void; + } + /** + * http://js.cytoscape.org/#collection/position--dimensions + */ + interface SingularPosition { + /** + * Get the width of the element. + */ + width(): number; + /** + * Get the outer width of the element (includes width, padding, & border). + */ + outerWidth(): number; + + /** + * Get the width of the element in rendered dimensions. + */ + renderedWidth(): number; + + /** + * Get the outer width of the element (includes width, padding, & border) in rendered dimensions. + */ + renderedOuterWidth(): number; + + /** + * Get the height of the element. + */ + height(): number; + /** + * Get the outer height of the element (includes height, padding, & border). + */ + outerHeight(): number; + /** + * Get the height of the element in rendered dimensions. + */ + renderedHeight(): number; + + /** + * Get the outer height of the element (includes height, padding, & border) in rendered dimensions. + */ + renderedOuterHeight(): number; + /** + * Gets whether the element is active (e.g. on user tap, grab, etc). + * http://js.cytoscape.org/#ele.active + */ + active(): boolean; + } + + interface BoundingBoxOptions { + /** A boolean indicating whether to include nodes in the bounding box (default true). */ + includeNodes?: boolean; + /** A boolean indicating whether to include edges in the bounding box (default true). */ + includeEdges?: boolean; + /** A boolean indicating whether to include labels in the bounding box (default true). */ + includeLabels?: boolean; + } + /** + * http://js.cytoscape.org/#collection/position--dimensions + */ + interface CollectionPosition { + /** + * Get the bounding box of the elements in model coordinates. + * @param options An object containing options for the function. + * http://js.cytoscape.org/#eles.boundingBox + */ + boundingBox(options: BoundingBoxOptions): BoundingBox12 | BoundingBoxWH; + /** + * Get the bounding box of the elements in rendered coordinates. + * @param options An object containing options for the function. + */ + renderedBoundingBox(options: BoundingBoxOptions): BoundingBox12 | BoundingBoxWH; + } + + /** + * http://js.cytoscape.org/#collection/layout + */ + interface CollectionLayout { + /** + * Get a new layout, which can be used to algorithmically position the nodes in the collection. + * This function is useful for running a layout on a subset of the elements in the graph, perhaps in parallel to other layouts. + * + * You must specify options.name with the name of the layout you wish to use. + * + * Note: that you must call layout.run() in order for it to affect the graph. + * + * @param options The layout options. + */ + layout(options: LayoutOptions): CollectionElements; + makeLayout(options: LayoutOptions): CoreLayout; + createLayout(options: LayoutOptions): CoreLayout; + } + + /** + * http://js.cytoscape.org/#collection/layout + */ + interface LayoutPositionOptions { + // whether to animate changes to the layout + animate?: boolean; + // duration of animation in ms, if enabled + animationDuration?: number; + // easing of animation, if enabled + animationEasing?: number; + // collection of elements involved in the layout; set by cy.layout() or eles.layout() + eles: CollectionElements; + // whether to fit the viewport to the graph + fit?: boolean; + // padding to leave between graph and viewport + padding?: number; + // pan the graph to the provided position, given as { x, y } + pan?: Position; + // callback for the layoutready event + ready?: undefined; + // callback for the layoutstop event + stop?: undefined; + // a positive value which adjusts spacing between nodes (>1 means greater than usual spacing) + spacingFactor?: number; + // zoom level as a positive number to set after animation + zoom?: number; + } + interface NodeCollectionLayout { + /** + * Position the nodes for a discrete/synchronous layout. + * http://js.cytoscape.org/#nodes.layoutPositions + * @param layout The layout. + * @param options The layout options object. + */ + layoutPositions(layout: string, options: LayoutPositionOptions, handler: ElementPositionFunction): void; + } + /** + * http://js.cytoscape.org/#collection/layout + */ + interface LayoutDimensionOptions { + // Boolean which changes whether label dimensions are included when calculating node dimensions + nodeDimensionsIncludeLabels: boolean; + } + interface NodeSingularLayout { + /** + * Returns the node width and height. + * Meant for use in layout positioning to do overlap detection. + * @param options The layout options object. + */ + layoutDimensions(options: LayoutDimensionOptions): { x: number; y: number }; + } + + /** + * http://js.cytoscape.org/#collection/selection + */ + interface SingularSelection { + /** + * Get whether the element is selected. + * http://js.cytoscape.org/#ele.selected + */ + selected(): boolean; + + /** + * Get whether the element's selection state is mutable. + * http://js.cytoscape.org/#ele.selectable + */ + selectable(): boolean; + } + /** + * http://js.cytoscape.org/#collection/layout + */ + interface CollectionSelection { + /** + * Make the elements selected (NB other elements outside the collection are not affected). + * http://js.cytoscape.org/#eles.select + */ + select(): void; + /** + * Make the elements not selected (NB other elements outside the collection are not affected). + * http://js.cytoscape.org/#eles.unselect + */ + unselect(): void; + deselect(): void; + /** + * Make the selection states of the elements mutable. + * http://js.cytoscape.org/#eles.selectify + */ + selectify(): void; + /** + * Make the selection states of the elements immutable. + * http://js.cytoscape.org/#eles.unselectify + */ + unselectify(): void; + } + + /** + * http://js.cytoscape.org/#collection/style + */ + type ClassName = string; + /** A space-separated list of class names */ + type ClassNames = string; + + interface CollectionStyle { + /** + * Add classes to elements. + * http://js.cytoscape.org/#eles.addClass + * @param classes A space-separated list of class names to add to the elements. + */ + addClass(classes: ClassNames): void; + /** + * Remove classes from elements. + * @param classes A space-separated list of class names to remove from the elements. + * http://js.cytoscape.org/#eles.removeClass + */ + removeClass(classes: ClassNames): void; + /** + * Toggle whether the elements have the specified classes. + * @param classes A space-separated list of class names to toggle on the elements. + * @param toggle [optional] Instead of automatically toggling, adds the classes on truthy values or removes them on falsey values. + * http://js.cytoscape.org/#eles.toggleClass + */ + toggleClass(classes: ClassNames, toggle?: boolean): void; + /** + * Replace the current list of classes on the elements with the specified list. + * @param classes A space-separated list of class names that replaces the current class list. + * http://js.cytoscape.org/#eles.classes + * Note: can be used to clear all classes (no arguments). + */ + classes(classes?: ClassNames): void; + /** + * Add classes to the elements, and then remove the classes after a specified duration. + * @param classes A space-separated list of class names to flash on the elements. + * @param duration [optional] The duration in milliseconds that the classes should be added on the elements. After the duration, the classes are removed. + * http://js.cytoscape.org/#eles.flashClass + */ + flashClass(classes: ClassNames, duration?: number): void; + + /** + * Get or set a particular style property value. + * @param name The name of the visual style property to get. + * @param value The value to which the property is set. + */ + style(name?: string, value?: any): any; + } + + /** + * http://js.cytoscape.org/#collection/style + */ + interface SingularStyle { + /** + * Get whether an element has a particular class. + * @param className The name of the class to test for. + * http://js.cytoscape.org/#ele.hasClass + */ + hasClass(className: ClassName): boolean; + + /** + * Get a name-value pair object containing rendered visual + * style properties and their values for the element. + * @param name The name of the visual style property to get. + */ + renderedStyle(): { [name: string]: any }; + renderedStyle(name: string): any; + + renderedCss(): { [name: string]: any }; + renderedCss(name: string): any; + + /** + * Get the numeric value of a style property in + * preferred units that can be used for calculations. + * @param name The name of the style property to get. + * http://js.cytoscape.org/#ele.numericStyle + */ + numericStyle(name: string): any; + + /** + * Get the units that ele.numericStyle() is expressed in, for a particular property. + * @param name The name of the style property to get. + * http://js.cytoscape.org/#ele.numericStyleUnits + */ + numericStyleUnits(name: string): any; + /** + * Get whether the element is visible. + * http://js.cytoscape.org/#ele.visible + */ + visible(): boolean; + /** + * Get whether the element is hidden. + * http://js.cytoscape.org/#ele.visible + */ + hidden(): boolean; + /** + * Get the effective opacity of the element + * (i.e. on-screen opacity), + * which takes into consideration parent node opacity. + * http://js.cytoscape.org/#ele.effectiveOpacity + */ + effectiveOpacity(): number; + /** + * Get whether the element's effective opacity is completely transparent, + * which takes into consideration parent node opacity. + * http://js.cytoscape.org/#ele.transparent + */ + transparent(): number; + } + + /** + * http://js.cytoscape.org/#collection/animation + */ + interface ElementAnimateOptionsBase { + /** An object containing name-value pairs of style properties to animate. */ + style?: { [name: string]: any }; + /** The duration of the animation in milliseconds. */ + duration?: number; + /** A boolean indicating whether to queue the animation. */ + queue?: boolean; + /** A function to call when the animation is done. */ + complete?(): void; + /** A function to call each time the animation steps. */ + step?(): void; + /** A transition-timing-function easing style string that shapes the animation progress curve. */ + easing?(): void; + } + interface ElementAnimateOptionPos { + /** A position to which the elements will be animated. */ + position?: Position; + /** A rendered position to which the elements will be animated. */ + renderedPosition?: Position; + } + interface ElementAnimateOptionRen { + /** A position to which the elements will be animated. */ + position?: Position; + /** A rendered position to which the elements will be animated. */ + renderedPosition?: Position; + } + interface CollectionAnimation { + /** + * Animate the elements. + * @param options An object containing the details of the animation. + * http://js.cytoscape.org/#eles.animate + */ + animate(options: ElementAnimateOptionPos | ElementAnimateOptionRen): void; + /** + * Add a delay between animations for the elements. + * @param duration How long the delay should be in milliseconds. + * @param complete A function to call when the delay is complete. + * http://js.cytoscape.org/#eles.delay + */ + delay(duration: number, complete: () => void): void; + /** + * Stop all animations that are currently running. + * @param clearQueue A boolean, indicating whether the queue of animations should be emptied. + * @param jumpToEnd A boolean, indicating whether the currently-running animations should jump to their ends rather than just stopping midway. + * http://js.cytoscape.org/#eles.stop + */ + stop(clearQueue: boolean, jumpToEnd: boolean): void; + /** + * Remove all queued animations for the elements. + * http://js.cytoscape.org/#eles.clearQueue + */ + clearQueue(): void; + } + interface SingularAnimationOptions { + /** A position to which the elements will be animated. */ + position: Position; + /** A rendered position to which the elements will be animated. */ + renderedPosition: Position; + /** An object containing name-value pairs of style properties to animate. */ + style: any; + /** The duration of the animation in milliseconds. */ + duration: number; + /** A transition-timing-function easing style string that shapes the animation progress curve. */ + easing(): void; + } + interface SingularAnimation { + /** + * Get whether the element is currently being animated. + */ + animated(): boolean; + /** + * Get an animation for the element. + * @param options An object containing the details of the animation. + */ + animation(options: SingularAnimationOptions): void; + + /** + * Get a delay animation for the element. + * @param duration How long the delay should be in milliseconds. + * http://js.cytoscape.org/#ele.delayAnimation + */ + delayAnimation(duration: number): void; + } + + /** + * http://js.cytoscape.org/#collection/comparison + */ + interface CollectionComparision { + // http://js.cytoscape.org/#collection/comparison + + /** + * Determine whether this collection contains exactly the same elements as another collection. + * + * @param eles The other elements to compare to. + */ + same(eles: Collection): boolean; + + /** + * Determine whether this collection contains any of the same elements as another collection. + * + * @param eles The other elements to compare to. + */ + anySame(eles: Collection): boolean; + + /** + * Determine whether all elements in the specified collection are in the neighbourhood of the calling collection. + * + * @param eles The other elements to compare to. + */ + allAreNeighbors(eles: Collection): boolean; + /** + * Determine whether all elements in the specified collection are in the neighbourhood of the calling collection. + * + * @param eles The other elements to compare to. + */ + allAreNeighbours(eles: Collection): boolean; + + /** + * Determine whether any element in this collection matches a selector. + * + * @param selector The selector to match against. + */ + is(selector: Selector): boolean; + + /** + * Determine whether all elements in the collection match a selector. + * @param selector The selector to match against. + */ + allAre(selector: Selector): boolean; + + /** + * Determine whether any element in this collection satisfies the specified test function. + * + * @param test The test function that returns truthy values for elements that satisfy the test and falsey values for elements that do not satisfy the test. + * ele - The current element. + * i - The index of the current element. + * eles - The collection of elements being tested. + * @param thisArg [optional] The value for this within the test function. + */ + some(test: (ele: CollectionElements, i: number, eles: CollectionElements) => boolean, thisArg?: any): boolean; + + /** + * Determine whether all elements in this collection satisfy the specified test function. + * + * @param test The test function that returns truthy values for elements that satisfy the test and falsey values for elements that do not satisfy the test. + * ele - The current element. + * i - The index of the current element. + * eles - The collection of elements being tested. + * @param thisArg [optional] The value for this within the test function. + */ + every(test: (ele: CollectionElements, i: number, eles: CollectionElements) => boolean, thisArg?: any): boolean; + } + + /** + * http://js.cytoscape.org/#collection/iteration + */ + interface CollectionIteration { + /** + * Get the number of elements in the collection. + */ + size(): number; + /** + * Get the number of elements in the collection. + */ + length: number; + + /** + * Get whether the collection is empty, meaning it has no elements. + */ + empty(): boolean; + /** + * Get whether the collection is nonempty, meaning it has elements. + */ + nonempty(): boolean; + + /** + * Iterate over the elements in the collection using an implementation like the native array function namesake. + * + * This function behaves like Array.prototype.forEach() with minor changes for convenience: + * You can exit the iteration early by returning false in the iterating function. + * The Array.prototype.forEach() implementation does not support this, but it is included anyway on account of its utility. + * + * @param each The function executed each iteration. + * ele - The current element. + * i - The index of the current element. + * eles - The collection of elements being iterated. + * @param thisArg [optional] The value for this within the iterating function. + */ + each(each: (ele: CollectionElements, i: number, eles: CollectionElements) => void | boolean, thisArg?: any): void; + forEach(each: (ele: CollectionElements, i: number, eles: CollectionElements) => void | boolean, thisArg?: any): void; + + /** + * Get an element at a particular index in the collection. + * + * You may use eles[i] in place of eles.eq(i) as a more performant alternative. + * + * @param index The index of the element to get. + */ + eq(index: number): CollectionElements; + /** + * Get an element at a particular index in the collection. + * + * @param index The index of the element to get. + */ + [index: number]: CollectionElements; + /** + * Get the first element in the collection. + */ + first(): CollectionElements; + /** + * Get the last element in the collection. + */ + last(): CollectionElements; + + /** + * Get a subset of the elements in the collection based on specified indices. + * + * @param start [optional] An integer that specifies where to start the selection. + * The first element has an index of 0. + * Use negative numbers to select from the end of an array. + * @param end [optional] An integer that specifies where to end the selection. + * If omitted, all elements from the start position and to the end of the array will be selected. + * Use negative numbers to select from the end of an array. + */ + slice(start?: number, end?: number): CollectionElements; + } + + /** + * http://js.cytoscape.org/#collection/building--filtering + */ + /** + * Get a new collection, resulting from adding the collection with another one + * + * @param eles The elements or array of elements to add or elements in the graph matching the selector. + * http://js.cytoscape.org/#eles.union + */ + type CollectionBuildingUnionFunc = (eles: Collection | Collection[] | Selector) => CollectionElements; + + /** + * Get a new collection, resulting from the collection without some specified elements. + * http://js.cytoscape.org/#eles.difference + * @param eles The elements that will not be in the resultant collection. + * Elements from the calling collection matching this selector will not be in the resultant collection. + */ + type CollectionBuildingDifferenceFunc = (eles: Collection | Selector) => CollectionElements; + + /** + * Get the elements in both this collection and another specified collection. + * http://js.cytoscape.org/#eles.intersection + * @param eles The elements to intersect with. + * A selector representing the elements to intersect with. + * All elements in the graph matching the selector are used as the passed collection. + */ + type CollectionBuildingIntersectionFunc = (eles: Collection | Selector) => CollectionElements; + + /** + * Get the elements that are in the calling collection or the passed collection but not in both. + * http://js.cytoscape.org/#eles.symmetricDifference + * @param eles The elements to apply the symmetric difference with. + * A selector representing the elements to apply the symmetric difference with. + * All elements in the graph matching the selector are used as the passed collection. + */ + type CollectionSymmetricDifferenceFunc = (eles: Collection | Selector) => CollectionElements; + /** + * http://js.cytoscape.org/#collection/building--filtering + */ + interface CollectionBuildingUnion { + /** + * Get a new collection, resulting from adding the collection with another one + * http://js.cytoscape.org/#eles.union + */ + union: CollectionBuildingUnionFunc; + // [index: "u"]: CollectionBuildingUnionFunc; + add: CollectionBuildingUnionFunc; + // [index: "+"]: CollectionBuildingUnionFunc; + or: CollectionBuildingUnionFunc; + // [index: "|"]: CollectionBuildingUnionFunc; + + /** + * Get a new collection, resulting from the collection without some specified elements. + * http://js.cytoscape.org/#eles.difference + */ + difference: CollectionBuildingDifferenceFunc; + // [index: "\\"]: CollectionBuildingDifferenceFunc; + not: CollectionBuildingDifferenceFunc; + // [index: "!"]: CollectionBuildingDifferenceFunc; + relativeComplement: CollectionBuildingDifferenceFunc; + // [index: "-"]: CollectionBuildingDifferenceFunc; + + /** + * Get all elements in the graph that are not in the calling collection. + * http://js.cytoscape.org/#eles.absoluteComplement + */ + absoluteComplement(): CollectionElements; + abscomp(): CollectionElements; + complement(): CollectionElements; + + /** + * Get the elements in both this collection and another specified collection. + * http://js.cytoscape.org/#eles.intersection + */ + intersection: CollectionSymmetricDifferenceFunc; + intersect: CollectionSymmetricDifferenceFunc; + and: CollectionSymmetricDifferenceFunc; + // [index: "n"]: CollectionSymmetricDifferenceFunc; + // [index: "&"]: CollectionSymmetricDifferenceFunc; + // [index: "."]: CollectionSymmetricDifferenceFunc; + + /** + * Get the elements that are in the calling collection + * or the passed collection but not in both. + * http://js.cytoscape.org/#eles.symmetricDifference + */ + symmetricDifference: CollectionSymmetricDifferenceFunc; + symdiff: CollectionSymmetricDifferenceFunc; + xor: CollectionSymmetricDifferenceFunc; + // [index: "^"]: CollectionSymmetricDifferenceFunc; + // [index: "(+)"]: CollectionSymmetricDifferenceFunc; + // [index: "(-)"]: CollectionSymmetricDifferenceFunc; + + // [index: string]: CollectionBuildingDifferenceFunc |CollectionBuildingUnionFunc | CollectionBuildingDifferenceFunc | CollectionSymmetricDifferenceFunc; + + /** + * Perform a traditional left/right diff on the two collections. + * + * @param selector + * A selector representing the elements on the right side of the diff. All elements in the graph matching the selector are used as the passed collection. + * The elements on the right side of the diff. + * @return This function returns a plain object of the form { left, right, both } where + * left - is the set of elements only in the calling (i.e. left) collection, + * right - is the set of elements only in the passed (i.e. right) collection, and + * both - is the set of elements in both collections. + * http://js.cytoscape.org/#eles.diff + */ + diff(selector: Selector | Collection): { + left: CollectionElements, + right: CollectionElements, + both: CollectionElements + }; + + /** + * Get a new collection containing elements that are accepted by the specified filter. + * + * @param selector The selector to match against. + * @param filter selector The filter function that returns true for elements to include. + * i - The index of the current element being considered. + * ele - The element being considered. + * http://js.cytoscape.org/#eles.filter + */ + filter(selector: Selector | ((i: number, ele: CollectionElements) => boolean)): CollectionElements; + /** + * Get the nodes that match the specified selector. + * + * @param selector The selector to match against. + * http://js.cytoscape.org/#eles.filter + */ + nodes(selector: Selector): NodeCollection; + /** + * Get the edges that match the specified selector. + * + * @param selector The selector to match against. + * http://js.cytoscape.org/#eles.filter + */ + edges(selector: Selector): EdgeCollection; + + /** + * Get a new collection containing the elements sorted by the + * specified comparison function. + * + * @param sort The sorting comparison function that returns a negative number + * for ele1 before ele2, 0 for ele1 same as ele2, + * or a positive number for ele1 after ele2. + * + * http://js.cytoscape.org/#eles.sort + */ + sort(sort: (ele1: CollectionElements, ele2: CollectionElements) => number): CollectionElements; + + /** + * Get an array containing values mapped from the collection. + * + * @param fn The function that returns the mapped value for each element. + * ele - The current element. + * i - The index of the current element. + * eles - The collection of elements being mapped. + * @param thisArg [optional] The value for this within the iterating function. + * + * http://js.cytoscape.org/#eles.map + */ + map(fn: (ele: CollectionElements, i: number, eles: CollectionElements) => any, thisArg?: any): any[]; + + /** + * Reduce a single value by applying a + * function against an accumulator and each value of the collection. + * + * @param fn The function that returns the accumulated value + * given the previous value and the current element. + * prevVal The value accumulated from previous elements. + * ele The current element. + * ix The index of the current element. + * eles The collection of elements being reduced. + * + * http://js.cytoscape.org/#eles.reduce + */ + reduce(fn: (prevVal: any, ele: CollectionElements, + ix: number, eles: CollectionElements) => any): number[]; + + /** + * Find a minimum value in a collection. + * + * @param fn The function that returns the value to compare for each element. + * ele - The current element. + * i - The index of the current element. + * eles - The collection of elements being mapped. + * @param thisArg [optional] The value for this within the iterating function. + * + * http://js.cytoscape.org/#eles.min + */ + min(fn: (ele: CollectionElements, i: number, eles: CollectionElements) => any, thisArg?: any): { + /** + * The minimum value found. + */ + value: any, + /** + * The element that corresponds to the minimum value. + */ + ele: CollectionElements + }; + + /** + * Find a maximum value and the corresponding element. + * + * @param fn The function that returns the value to compare for each element. + * ele - The current element. + * i - The index of the current element. + * eles - The collection of elements being mapped. + * @param thisArg [optional] The value for this within the iterating function. + * + * http://js.cytoscape.org/#eles.max + */ + max(fn: (ele: CollectionElements, i: number, eles: CollectionElements) => any, thisArg?: any): { + /** + * The maximum value found. + */ + value: any, + /** + * The element that corresponds to the maximum value. + */ + ele: CollectionElements + }; + } + + /** + * http://js.cytoscape.org/#collection/traversing + */ + + type MinumumSpanningTree = any; + + interface CollectionTraversing { + // http://js.cytoscape.org/#collection/traversing + + /** + * Get the open neighbourhood of the elements. + * + * The neighbourhood returned by this function is a bit different than the traditional definition of a "neighbourhood": + * This returned neighbourhood includes the edges connecting the collection to the neighbourhood. This gives you more flexibility. + * An open neighbourhood is one that does not include the original set of elements. If unspecified, a neighbourhood is open by default. + * + * @param selector [optional] An optional selector that is used to filter the resultant collection. + */ + neighborhood(selector?: Selector): CollectionElements; + + /** + * Get the open neighbourhood of the elements. + * + * The neighbourhood returned by this function is a bit different than the traditional definition of a "neighbourhood": + * This returned neighbourhood includes the edges connecting the collection to the neighbourhood. This gives you more flexibility. + * An open neighbourhood is one that does not include the original set of elements. If unspecified, a neighbourhood is open by default. + * + * @param selector [optional] An optional selector that is used to filter the resultant collection. + */ + openNeighborhood(selector?: Selector): CollectionElements; + /** + * Get the closed neighbourhood of the elements. + * + * The neighbourhood returned by this function is a bit different than the traditional definition of a "neighbourhood": + * This returned neighbourhood includes the edges connecting the collection to the neighbourhood. This gives you more flexibility. + * A closed neighbourhood is one that does include the original set of elements. + * + * @param selector [optional] An optional selector that is used to filter the resultant collection. + */ + closedNeighborhood(selector?: Selector): CollectionElements; + + /** + * Get the connected components, considering only the elements in the calling collection. + * An array of collections is returned, with each collection representing a component. + */ + components(): Collection; + } + interface EdgeSingularTraversing { + /** + * Get source node of this edge. + * @param selector An optional selector that is used to filter the resultant collection. + * http://js.cytoscape.org/#edge.source + */ + source(selector?: Selector): NodeCollection; + + /** + * Get target node of this edge. + * @param selector An optional selector that is used to filter the resultant collection. + * http://js.cytoscape.org/#edge.target + */ + target(selector?: Selector): NodeCollection; + } + interface EdgeCollectionTraversing { + // http://js.cytoscape.org/#collection/traversing + + /** + * Get the nodes connected to the edges in the collection + * + * @param selector [optional] An optional selector that is used to filter the resultant collection. + */ + connectedNodes(selector?: Selector): NodeCollection; + + /** + * Get source nodes connected to the edges in the collection. + * + * @param selector [optional] An optional selector that is used to filter the resultant collection. + */ + sources(selector?: Selector): NodeCollection; + + /** + * Get target nodes connected to the edges in the collection. + * + * @param selector [optional] An optional selector that is used to filter the resultant collection. + */ + targets(selector?: Selector): NodeCollection; + + /** + * Get edges parallel to those in the collection. + * + * Two edges are said to be parallel if they connect the same two nodes. + * Any two parallel edges may connect nodes in the same direction, in which case the edges share the same source and target. + * They may alternatively connect nodes in the opposite direction, in which case the source and target are reversed in the second edge. + * That is: + * - edge1.source().id() === edge2.source().id() + * && edge1.target().id() === edge2.target().id() + * OR + * - edge1.source().id() === edge2.target().id() + * && edge1.target().id() === edge2.source().id() + * + * @param selector [optional] An optional selector that is used to filter the resultant collection. + */ + parallelEdges(selector?: Selector): EdgeCollection; + + /** + * Get edges codirected to those in the collection. + * + * Two edges are said to be codirected if they connect the same two nodes in the same direction: The edges have the same source and target. + * That is: + * - edge1.source().id() === edge2.source().id() + * && edge1.target().id() === edge2.target().id() + * + * @param selector [optional] An optional selector that is used to filter the resultant collection. + */ + codirectedEdges(selector?: Selector): EdgeCollection; + } + interface NodeCollectionTraversing { + // http://js.cytoscape.org/#collection/traversing + + /** + * Get the edges connecting the collection to another collection. Direction of the edges does not matter. + * + * @param eles The other collection. + * @param selector The other collection, specified as a selector which is matched against all elements in the graph. + */ + edgesWith(eles: Collection | Selector): EdgeCollection; + + /** + * Get the edges coming from the collection (i.e. the source) going to another collection (i.e. the target). + * + * @param eles The other collection. + * @param selector The other collection, specified as a selector which is matched against all elements in the graph. + */ + edgesTo(eles: Collection | Selector): EdgeCollection; + + /** + * Get the edges connected to the nodes in the collection. + * + * @param selector [optional] An optional selector that is used to filter the resultant collection. + */ + connectedEdges(selector?: Selector): EdgeCollection; + + /** + * From the set of calling nodes, get the nodes which are roots (i.e. no incoming edges, as in a directed acyclic graph). + * + * @param selector [optional] An optional selector that is used to filter the resultant collection. + */ + roots(selector?: Selector): NodeCollection; + + /** + * From the set of calling nodes, get the nodes which are leaves (i.e. no outgoing edges, as in a directed acyclic graph). + * + * @param selector [optional] An optional selector that is used to filter the resultant collection. + */ + leaves(selector?: Selector): NodeCollection; + + /** + * Get edges (and their targets) coming out of the nodes in the collection. + * + * @param selector [optional] An optional selector that is used to filter the resultant collection. + */ + outgoers(selector?: Selector): EdgeCollection; + + /** + * Recursively get edges (and their targets) coming out of the nodes in the collection (i.e. the outgoers, the outgoers' outgoers, ...). + * + * @param selector [optional] An optional selector that is used to filter the resultant collection. + */ + successors(selector?: Selector): EdgeCollection; + + /** + * Get edges (and their sources) coming into the nodes in the collection. + * + * @param selector [optional] An optional selector that is used to filter the resultant collection. + */ + incomers(selector?: Selector): EdgeCollection; + + /** + * Recursively get edges (and their sources) coming into the nodes in the collection (i.e. the incomers, the incomers' incomers, ...). + * + * @param selector [optional] An optional selector that is used to filter the resultant collection. + */ + predecessors(selector?: Selector): EdgeCollection; + } + + /** + * + * http://js.cytoscape.org/#collection/algorithms + */ + + type WeightFn = (edge: EdgeCollection) => number; + + /** + * The handler returns true when it finds the desired node, and it returns false to cancel the search. + * i - The index indicating this node is the ith visited node. + * depth - How many edge hops away this node is from the root nodes. + * v - The current node. + * e - The edge connecting the previous node to the current node. + * u - The previous node. + */ + type SearchVisitFunction = (i: number, depth: number, v: NodeCollection, e: EdgeCollection, u: NodeCollection) => boolean; + interface SearchFirstOptions { + /** + * The root nodes (selector or collection) to start the search from. + */ + roots: Selector | Collection; + /** + * A handler function that is called when a node is visited in the search. + */ + visit?: SearchVisitFunction; + /** + * A boolean indicating whether the algorithm should only go along edges from source to target (default false). + */ + directed?: boolean; + } + interface SearchFirstResult { + /** + * The path of the search. + * - The path returned includes edges such that if path[i] is a node, then path[i - 1] is the edge used to get to that node. + */ + path: CollectionElements; + /** + * The node found by the search + * - If no node was found, then found is empty. + * - If your handler function returns false, then the only the path up to that point is returned. + */ + found: NodeCollection; + } + + /** + * http://js.cytoscape.org/#eles.dijkstra + */ + interface SearchDijkstraOptions { + /** + * The root node (selector or collection) where the algorithm starts. + */ + root: Selector | Collection; + + /** + * A function that returns the positive numeric weight for this edge. + * + * If no weight function is defined, a constant weight of 1 is used for each edge. + */ + weight?: WeightFn; + + /** + * A boolean indicating whether the algorithm should only go along edges from source to target (default false). + */ + directed?: boolean; + } + /** + * http://js.cytoscape.org/#eles.dijkstra + */ + interface SearchDijkstraResult { + /** + * Returns the distance from the source node to node. + */ + distanceTo(node: NodeSingular): number; + + /** + * Returns a collection containing the shortest path from the source node to node. + * The path starts with the source node and includes the edges between the nodes in the path such that if pathTo(node)[i] is an edge, + * then pathTo(node)[i-1] is the previous node in the path and pathTo(node)[i+1] is the next node in the path. + */ + pathTo(node: NodeSingular): Collection; + } + /** + * http://js.cytoscape.org/#eles.aStar + */ + interface SearchAStarOptions { + root: Selector | Collection; + goal: Selector | Collection; + weight?: WeightFn; + heuristic?(node: NodeCollection): number; + directed?: boolean; + } + /** + * http://js.cytoscape.org/#eles.aStar + */ + interface SearchAStarResult { + found: boolean; + distance: number; + path: Collection; + } + + /** + * http://js.cytoscape.org/#eles.floydWarshall + */ + interface SearchFloydWarshallOptions { + weight: WeightFn; + directed?: boolean; + } + + /** + * http://js.cytoscape.org/#eles.floydWarshall + */ + interface SearchFloydWarshallResult { + /** + * Returns the distance from the source node to node. + */ + distance(fromNode: NodeSingular | CollectionSelection, toNode: NodeSingular | Selector): number; + + /** + * Returns a collection containing the shortest path from the source node to node. + * The path starts with the source node and includes the edges + * between the nodes in the path such that if pathTo(node)[i] is an edge, + * then pathTo(node)[i-1] is the previous node in the path and pathTo(node)[i+1] + * is the next node in the path. + */ + path(fromNode: NodeSingular | CollectionSelection, toNode: NodeSingular | Selector): Collection; + } + + /** + * http://js.cytoscape.org/#eles.bellmanFord + */ + interface SearchBellmanFordOptions { + /** + * The root node (selector or collection) where the search starts. + */ + "root": any; + /** + * A function that returns the positive numeric weight for this edge. + */ + "weight"?: WeightFn; + /** + * Indicating whether the algorithm should only go along + * edges from source to target (default false). + */ + "directed": boolean; + } + /** + * http://js.cytoscape.org/#eles.bellmanFord + */ + interface SearchBellmanFordResult { + /** + * function that computes the shortest path from root node to the argument node + * (either objects or selector string) + */ + pathTo(node: NodeSingular | Selector): Collection; + + /** + * function that computes the shortest distance from root node to argument node + * (either objects or selector string) + * + */ + distanceTo(node: NodeSingular | Selector): number; + + /* true/false. If true, pathTo and distanceTo will be undefined */ + hasNegativeWeightCycle: boolean; + } + + /** + * http://js.cytoscape.org/#eles.kruskal + * trivial so implemented in the function + */ + + /** + * http://js.cytoscape.org/#eles.pageRank + */ + interface SearchPageRankOptions { + /** Numeric parameter for the algorithm. */ + dampingFactor?: number; + /** Numeric parameter that represents the required precision. */ + precision?: number; + /** Maximum number of iterations to perform. */ + iterations?: number; + } + /** + * http://js.cytoscape.org/#eles.pageRank + */ + interface SearchPageRankResult { + /** function that computes the rank of a given node (either object or selector string) */ + rank(node: NodeCollection): void; + } + + /** + * http://js.cytoscape.org/#eles.degreeCentrality + */ + interface SearchDegreeCentralityOptions { + /** The root node (selector or collection) for which the + * centrality calculation is made. + */ + root: NodeSingular | Selector; + /** A function that returns the weight for the edge. */ + weight?(edge: EdgeSingular): number; + /** + * The alpha value for the centrality calculation, ranging on [0, 1]. + * With value 0 (default), disregards edge weights and solely uses + * number of edges in the centrality calculation. With value 1, + * disregards number of edges and solely uses the edge weights + * in the centrality calculation. + */ + alpha?: number; + /** A boolean indicating whether the directed indegree and outdegree centrality is calculated (true) or + * whether the undirected centrality is calculated (false, default). + */ + directed?: boolean; + } + /** + * http://js.cytoscape.org/#eles.degreeCentrality + */ + interface SearchDegreeCentralityResultUndirected { + /** the degree centrality of the root node */ + degree: number; + } + interface SearchDegreeCentralityResultDirected { + /* the indegree centrality of the root node */ + indegree: number; + /* the outdegree centrality of the root node */ + outdegree: number; + } + /** + * http://js.cytoscape.org/#eles.degreeCentralityNormalized + */ + interface SearchDegreeCentralityNormalizedOptions { + /** A function that returns the weight for the edge. */ + weight(edge: EdgeSingular): number; + /** + * The alpha value for the centrality calculation, ranging on [0, 1]. + * With value 0 (default), disregards edge weights and solely uses + * number of edges in the centrality calculation. With value 1, + * disregards number of edges and solely uses the edge weights + * in the centrality calculation. + */ + alpha?: number; + /** A boolean indicating whether the directed indegree and outdegree centrality is calculated (true) or + * whether the undirected centrality is calculated (false, default). + */ + directed?: boolean; + } + /** + * http://js.cytoscape.org/#eles.degreeCentralityNormalized + */ + interface SearchDegreeCentralityNormalizedResultUndirected { + /** the normalised degree centrality of the specified node */ + degree(node: NodeSingular): any; + } + interface SearchDegreeCentralityNormalizedResultDirected { + /** the normalised indegree centrality of the specified node */ + indegree(node: NodeSingular): any; + + /** the normalised outdegree centrality of the specified node */ + outdegree(node: NodeSingular): any; + } + /** + * http://js.cytoscape.org/#eles.closenessCentrality + */ + interface SearchClosenessCentralityOptions { + /** The root node (selector or collection) for which the + * centrality calculation is made. + */ + root: NodeSingular | Selector; + /** A function that returns the weight for the edge. */ + weight?(edge: EdgeSingular): number; + + /** A boolean indicating whether the directed indegree and outdegree centrality is calculated (true) or + * whether the undirected centrality is calculated (false, default). + */ + directed?: boolean; + /** + * A boolean indicating whether the algorithm calculates the + * harmonic mean (true, default) or the arithmetic mean (false) of distances. + * The harmonic mean is very useful for graphs that are not strongly connected. + */ + harmonic?: boolean; + } + /** + * http://js.cytoscape.org/#eles.closenessCentrality + * trivial + */ + + /** + * http://js.cytoscape.org/#eles.closenessCentralityNormalized + */ + interface SearchClosenessCentralityNormalizedOptions { + /** A function that returns the weight for the edge. */ + weight?(edge: EdgeSingular): number; + directed?: boolean; + /** + * A boolean indicating whether the algorithm calculates the + * harmonic mean (true, default) or the arithmetic mean (false) of distances. + * The harmonic mean is very useful for graphs that are not strongly connected. + */ + harmonic?: boolean; + } + /** + * http://js.cytoscape.org/#eles.closenessCentralityNormalized + * trivial + */ + + /** + * http://js.cytoscape.org/#eles.betweennessCentrality + */ + interface SearchBetweennessOptions { + /** A function that returns the weight for the edge. */ + weight?(edge: EdgeSingular): number; + + /** A boolean indicating whether the directed indegree and outdegree centrality is calculated (true) or + * whether the undirected centrality is calculated (false, default). + */ + directed?: boolean; + } + /** + * http://js.cytoscape.org/#eles.betweennessCentrality + */ + interface SearchBetweennessResult { + /** returns the betweenness centrality of the specified node */ + betweenness(node: NodeSingular): number; + + /** returns the normalised betweenness centrality of the specified node */ + betweennessNormalized(node: NodeSingular): number; + betweennessNormalised(node: NodeSingular): number; + } + + /** + * http://js.cytoscape.org/#eles.closenessCentralityNormalized + */ + interface SearchClosenessCentralityNormalizedOptions { + /** A function that returns the weight for the edge. */ + weight?(edge: EdgeSingular): number; + directed?: boolean; + /** + * A boolean indicating whether the algorithm calculates the + * harmonic mean (true, default) or the arithmetic mean (false) of distances. + * The harmonic mean is very useful for graphs that are not strongly connected. + */ + harmonic?: boolean; + } + /** + * http://js.cytoscape.org/#eles.closenessCentralityNormalized + * trivial + */ + + interface CollectionAlgorithms { + /** + * Perform a breadth-first search within the elements in the collection. + * @param options + * http://js.cytoscape.org/#eles.breadthFirstSearch + */ + breadthFirstSearch(options: SearchFirstOptions): SearchFirstResult; + /** + * Perform a depth-first search within the elements in the collection. + * http://js.cytoscape.org/#eles.depthFirstSearch + */ + depthFirstSearch(options: SearchFirstOptions): SearchFirstResult; + + /** + * Perform Dijkstra's algorithm on the elements in the collection. + * This finds the shortest paths to all other nodes in the collection from the root node. + * http://js.cytoscape.org/#eles.dijkstra + */ + dijkstra(options: SearchDijkstraOptions): SearchDijkstraResult; + + /** + * Perform the A* search algorithm on the elements in the collection. + * This finds the shortest path from the root node to the goal node. + * http://js.cytoscape.org/#eles.aStar + */ + aStar(options: SearchAStarOptions): SearchAStarResult; + /** + * Perform the Floyd Warshall search algorithm on the elements in the collection. + * This finds the shortest path between all pairs of nodes. + * http://js.cytoscape.org/#eles.floydWarshall + */ + aStar(options: SearchFloydWarshallOptions): SearchFloydWarshallResult; + /** + * Perform the Bellman-Ford search algorithm on the elements in the collection. + * This finds the shortest path from the starting node to all other nodes in the collection. + * http://js.cytoscape.org/#eles.bellmanFord + */ + bellmanFort(options: SearchBellmanFordOptions): SearchBellmanFordResult; + /** + * Perform Kruskal's algorithm on the elements in the collection, + * returning the minimum spanning tree, assuming undirected edges. + * http://js.cytoscape.org/#eles.kruskal + */ + kruskal(handler: (edge: EdgeCollection) => number): void; + /** + * Finds the minimum cut in a graph using the Karger-Stein algorithm. + * The optimal result is found with a high probability, but without guarantee. + * http://js.cytoscape.org/#eles.kargerStein + */ + kargerStein(): { cut: EdgeCollection; partitionFirst: NodeCollection; partitionSecond: NodeCollection; }; + /** + * Rank the nodes in the collection using the Page Rank algorithm. + * http://js.cytoscape.org/#eles.pageRank + */ + pageRank(options: SearchPageRankOptions): SearchPageRankResult; + /** + * Considering only the elements in the calling collection, + * calculate the degree centrality of the specified root node. + * http://js.cytoscape.org/#eles.degreeCentrality + */ + degreeCentrality(options: SearchDegreeCentralityOptions): + SearchDegreeCentralityResultDirected | SearchDegreeCentralityResultUndirected; + + /** + * Considering only the elements in the calling collection, + * calculate the normalised degree centrality of the nodes. + * http://js.cytoscape.org/#eles.degreeCentralityNormalized + */ + degreeCentralityNormalized(options: SearchDegreeCentralityNormalizedOptions): + SearchDegreeCentralityNormalizedResultDirected | SearchDegreeCentralityNormalizedResultUndirected; + + /** + * Considering only the elements in the calling collection, + * calculate the closeness centrality of the specified root node. + * http://js.cytoscape.org/#eles.closenessCentrality + */ + closenessCentrality(options: SearchClosenessCentralityOptions): number; + /** + * Considering only the elements in the calling collection, + * calculate the closeness centrality of the nodes. + * http://js.cytoscape.org/#eles.closenessCentralityNormalized + */ + closenessCentralityNormalized(options: SearchClosenessCentralityNormalizedOptions): + SearchDegreeCentralityNormalizedResultDirected | + SearchDegreeCentralityNormalizedResultUndirected; + /** + * Considering only the elements in the calling collection, + * calculate the betweenness centrality of the nodes. + * http://js.cytoscape.org/#eles.betweennessCentrality + */ + betweennessCentrality(options: SearchBetweennessOptions): SearchBetweennessResult; + } + + /** + * http://js.cytoscape.org/#collection/compound-nodes + */ + interface NodeSingularCompound { + /** + * Get whether the node is a compound parent + * (i.e. a node containing one or more child nodes) + * http://js.cytoscape.org/#node.isParent + */ + isParent(): boolean; + /** + * Get whether the node is childless (i.e. a node with no child nodes) + * http://js.cytoscape.org/#node.isChildless + */ + isChildless(): boolean; + /** + * Get whether the node is a compound child (i.e. contained within a node) + * http://js.cytoscape.org/#node.isChild + */ + isChild(): boolean; + /** + * Get whether the node is an orphan (i.e. a node with no parent) + * http://js.cytoscape.org/#node.isOrphan + */ + isOrphan(): boolean; + } + /** + * http://js.cytoscape.org/#collection/compound-nodes + */ + interface NodeCollectionCompound { + /** + * Get the compound parent node of each node in the collection. + * @param selector A selector used to filter the resultant collection. + * http://js.cytoscape.org/#nodes.parent + */ + parent(selector?: Selector): NodeCollection; + /** + * Get all compound ancestor nodes + * (i.e. parents, parents' parents, etc.) of each node in the collection. + * @param selector A selector used to filter the resultant collection. + * http://js.cytoscape.org/#nodes.ancestors + */ + ancestors(selector?: Selector): NodeCollection; + parents(selector?: Selector): NodeCollection; + /** + * Get all compound ancestors common to all the nodes in the collection, + * starting with the closest and getting progressively farther. + * @param selector A selector used to filter the resultant collection. + * http://js.cytoscape.org/#nodes.commonAncestors + */ + commonAncestors(selector?: Selector): NodeCollection; + /** + * Get all orphan (i.e. has no compound parent) nodes in the calling collection. + * @param selector A selector used to filter the resultant collection. + * http://js.cytoscape.org/#nodes.orphans + */ + orphans(selector?: Selector): NodeCollection; + /** + * Get all nonorphan (i.e. has a compound parent) nodes in the calling collection. + * @param selector A selector used to filter the resultant collection. + * http://js.cytoscape.org/#nodes.nonorphans + */ + nonorphans(selector?: Selector): NodeCollection; + /** + * Get all compound child (i.e. direct descendant) nodes of each node in the collection. + * @param selector A selector used to filter the resultant collection. + * http://js.cytoscape.org/#nodes.children + */ + children(selector?: Selector): NodeCollection; + /** + * Get all compound descendant (i.e. children, children's children, etc.) + * nodes of each node in the collection. + * @param selector A selector used to filter the resultant collection. + * http://js.cytoscape.org/#nodes.descendants + */ + descendants(selector?: Selector): NodeCollection; + /** + * Get all sibling (i.e. same compound parent) + * nodes of each node in the collection. + * @param selector A selector used to filter the resultant collection. + * http://js.cytoscape.org/#nodes.siblings + */ + siblings(selector?: Selector): NodeCollection; + } + + /** + * A selector functions similar to a CSS selector on DOM elements, + * but selectors in Cytoscape.js instead work on + * collections of graph elements. + * Note that wherever a selector may be specified + * as the argument to a function, + * a eles.filter()-style filter function may be + * used in place of the selector. + * + * See http://js.cytoscape.org/#selectors for + * details about writing selectors. + * Selectors are an island grammar. + */ + type Selector = string; + + /** + * A space separated list of event names. + * http://js.cytoscape.org/#cy.promiseOn + */ + type EventNames = string; + + /** + * A string indicating the selection behaviour from user input. + * http://js.cytoscape.org/#core/initialisation + * + * 'additive' : a new selection made by the user adds to the set of currently selected elements. + * 'single' : a new selection made by the user becomes the entire set of currently + * selected elements (i.e. the previous elements are unselected) + */ + type SelectionType = "additive" | "single"; + + /** + * http://js.cytoscape.org/#ele.group + * http://js.cytoscape.org/#notation/elements-json + * + * 'nodes' + * 'edges' + */ + type ElementGroup = "nodes" | "edges"; + + /** + * 'x' : x coordinate + * 'y' : y coordinate + */ + type PositionDimension = "x" | "y"; + + /** + * Usually temp or nonserialisable data can be stored. + * http://js.cytoscape.org/#notation/elements-json + * http://js.cytoscape.org/#cy.scratch + * http://js.cytoscape.org/#ele.scratch + */ + type Scratchpad = any; + + /** + * Style in Cytoscape.js follows CSS conventions as closely as possible. + * In most cases, a property has the same name and behaviour as its corresponding CSS namesake. + * However, the properties in CSS are not sufficient to specify the style of some parts of the graph. + * In that case, additional properties are introduced that are unique to Cytoscape.js. + * + * For simplicity and ease of use, specificity rules are completely ignored in stylesheets. + * For a given style property for a given element, the last matching selector wins. + * + * http://js.cytoscape.org/#style + */ + namespace Css { + type Colour = string; + + /** + * The shape of the node’s body. + * Note that each shape fits within the specified width and height, + * and so you may have to adjust width and height + * if you desire an equilateral shape + * (i.e. width !== height for several equilateral shapes). + * 'polygon' is a custom polygon specified via shape-polygon-points. + */ + type NodeShape = 'rectangle' | 'roundrectangle' | 'ellipse' | 'triangle' + | "pentagon" | "hexagon" | "heptagon" | "octagon" | "star" + | "diamond" | "vee" | "rhomboid" | "polygon"; + + /** + * A space-separated list of numbers ranging on [-1, 1], + * representing alternating x and y values (i.e. x1 y1 x2 y2, x3 y3 ...). + * This represents the points in the polygon for the node’s shape. + * The bounding box of the node is given by (-1, -1), (1, -1), (1, 1), (-1, 1). + */ + type ShapePolygonPoints = string; + + /** + * The line style; may be solid, dotted, dashed, or double + */ + type LineStyle = "solid" | "dotted" | "dashed" | "double"; + + /** + * http://js.cytoscape.org/#style/node-body + */ + interface Node extends PaddingNode { + "label"?: string; + /** + * The width of the node’s body. + * This property can take on the special value label + * so the width is automatically based on the node’s label. + */ + "width"?: number | "label"; + /** + * The height of the node’s body. + * This property can take on the special value label + * so the height is automatically based on the node’s label. + */ + "height"?: number | "label"; + /** + * The shape of the node’s body. + */ + "shape"?: NodeShape; + "shape-polygon-points"?: ShapePolygonPoints; + + "opacity"?: number; + + "backgroundColor"?: Colour; + /** + * The colour of the node’s body. + */ + "background-color"?: Colour; + /** + * Blackens the node’s body for values from 0 to 1; + * whitens the node’s body for values from 0 to -1. + */ + "background-blacken"?: number; + /** + * The opacity level of the node’s background colour. + */ + "background-opacity"?: number; + /** + * The size of the node’s border. + */ + "border-width"?: number; + /** + * The style of the node’s border. + */ + "border-style"?: LineStyle; + /** + * The colour of the node’s border. + */ + "border-color"?: Colour; + /** + * The opacity of the node’s border. + * A value between [0 1]. + */ + "border-opacity"?: number; + + "text-opacity"?: number; + } + + /** + * A padding defines an addition to a node’s dimension. + * For example, padding-left adds to a node’s outer (i.e. total) width. + * This can be used to add spacing around the label of width: label; height: label; nodes, + * or it can be used to add spacing between a compound node parent and its children. + */ + interface PaddingNode { + "padding-left"?: string; + "padding-right"?: string; + "padding-top"?: string; + "padding-bottom"?: string; + } + + interface Dictionary { [key: string]: any; } + + // export interface ElementCss extends CSSStyleDeclaration { } + /** + * A background image may be applied to a node’s body: + * + * http://js.cytoscape.org/#style/background-image + */ + interface BackgroundImage { + /** + * The URL that points to the image that should be used as the node’s background. + * PNG, JPG, and SVG are supported formats. + * You may use a data URI to use embedded images, + * thereby saving a HTTP request. + */ + "background-image"?: string; + /** + * The opacity of the background image. [0 1] + */ + "background-image-opacity"?: number; + /** + * Specifies the width of the image. + * A percent value (e.g. 50%) may be used to set + * the image width relative to the node width. + * If used in combination with background- fit, + * then this value overrides the width of the image + * in calculating the fitting — thereby overriding the aspect ratio. + * The auto value is used by default, which uses the width of the image. + */ + "background-width"?: number | string; + /** + * Specifies the height of the image. + * A percent value (e.g. 50%) may be used to set the image + * height relative to the node height. + * If used in combination with background- fit, + * then this value overrides the height of the image in calculating + * the fitting — thereby overriding the aspect ratio. + * The auto value is used by default, which uses the height of the image. + */ + "background-height"?: number | string; + /** + * How the background image is fit to the node; + * may be none for original size, + * contain to fit inside node, + * or cover to cover the node. + */ + "background-fit"?: "none" | "contain" | "cover"; + /** + * Whether to repeat the background image; + * may be no-repeat, repeat-x, repeat-y, or repeat. + */ + "background-repeat"?: "no-repeat" | "repeat-x" | "repeat-y" | "repeat"; + /** + * The x position of the background image, + * measured in percent(e.g. 50%) or pixels (e.g. 10px). + */ + "background-position-x"?: number | string; + /** + * The y position of the background image, + * measured in percent(e.g. 50%) or pixels (e.g. 10px). + */ + "background-position-y"?: number | string; + /** + * How background image clipping is handled; + * may be node for clipped to node shape or none for no clipping. + */ + "background-clip"?: "clipped" | "none"; + } + + /** + * These properties allow you to create pie chart backgrounds on nodes. + * Note that 16 slices maximum are supported per node, + * so in the properties 1 <= i <= 16. + * Of course, you must specify a numerical value for each property in place of i. + * Each nonzero sized slice is placed in order of i, + * starting from the 12 o’clock position and working clockwise. + * + * You may find it useful to reserve a number to a particular + * colour for all nodes in your stylesheet. + * Then you can specify values for pie-i-background-size + * accordingly for each node via a mapper. + * This would allow you to create consistently coloured + * pie charts in each node of the graph based on element data. + * + * http://js.cytoscape.org/#style/pie-chart-background + */ + interface PieChartBackground { + /** + * The diameter of the pie, measured as a percent of node size (e.g. 100%) or an absolute length (e.g. 25px). + */ + "pie-size": string; + /** + * The colour of the node’s ith pie chart slice. + */ + "pie-i-background-color": Colour; + /** + * The size of the node’s ith pie chart slice, measured in percent (e.g. 25% or 25). + */ + "pie-i-background-size": number; + /** + * The opacity of the node’s ith pie chart slice. + */ + "pie-i-background-opacity": number; + } + + interface Edge extends EdgeLine, EdgeArror { } + + /** + * These properties affect the styling of an edge’s line: + * + * http://js.cytoscape.org/#style/edge-line + */ + interface EdgeLine { + /** + * The width of an edge’s line. + */ + "width"?: number | "label"; + /** + * The curving method used to separate two or more edges between two nodes; + * may be + * - haystack (default, very fast, bundled straight edges for which loops and compounds are unsupported), + * - bezier(bundled curved edges), + * - unbundled - bezier(curved edges for use with manual control points), or + * - segments (a series of straight lines). + * Note that haystack edges work best with ellipse, rectangle, or similar nodes. + * Smaller node shapes, like triangle, will not be as aesthetically pleasing. + * Also note that edge arrows are unsupported for haystack edges. + */ + "curve-style"?: "haystack" | "bezier" | "unbundled" | "segments"; + /** + * The colour of the edge’s line. + */ + "line-color"?: Colour; + /** + * The style of the edge’s line. + */ + "line-style"?: LineStyle; + } + + /** + * For automatic, bundled bezier edges (curve - style: bezier): + * + * http://js.cytoscape.org/#style/bezier-edges + */ + interface BezierEdges { + /** + * From the line perpendicular from source to target, + * this value specifies the distance between successive bezier edges. + */ + "control-point-step-size": number; + /** + * A single value that overrides "control-point-step-size" with a manual value. + * Because it overrides the step size, bezier edges with the same value will overlap. + * Thus, it’s best to use this as a one- off value for particular edges if need be. + */ + "control-point-distance": number; + /** + * A single value that weights control points along the line from source to target. + * The value usually ranges on [0, 1], with + * 0 towards the source node and + * 1 towards the target node — + * but larger or smaller values can also be used. + */ + "control-point-weight": number; + /** + * With value intersection (default), + * the line from source to target for "control-point-weight" is + * from the outside of the source node’s shape to the outside of + * the target node’s shape.With value node- position, + * the line is from the source position to the target position. + * The "node-position" option makes calculating edge points easier + * — but it should be used carefully because you can create invalid + * points that intersection would have automatically corrected. + */ + "edge-distances": number; + } + /** + * Unbundled bezier edges + * For bezier edges with manual control points (curve - style: unbundled - bezier): + * + * http://js.cytoscape.org/#style/unbundled-bezier-edges + */ + interface UnbundledBezierEdges { + /** + * A series of values that specify for each control point the + * distance perpendicular to a line formed + * from source to target, e.g. -20 20 - 20. + */ + "control-point-distances": string; + /** + * A series of values that weights control points along + * a line from source to target, e.g. 0.25 0.5 0.75. + * A value usually ranges on [0, 1], with + * 0 towards the source node and + * 1 towards the target node + * — but larger or smaller values can also be used. + */ + "control-point-weights": string; + /** + * With value intersection (default), + * the line from source to target for "control-point-weights" + * is from the outside of the source node’s shape to the + * outside of the target node’s shape. + * With value + * "node-position", the line is from the source position to the target position. + * The "node-position" option makes calculating edge points easier + * — but it should be used carefully because you can create + * invalid points that intersection would have automatically corrected. + */ + "edge-distances": number; + } + /** + * Haystack edges + * Loop edges and compound parent nodes are not supported by haystack edges. + * Haystack edges are a more performant replacement for plain, straight line edges. + * + * For fast, straight line edges (curve - style: haystack): + * http://js.cytoscape.org/#style/haystack-edges + */ + interface HaystackEdges { + /** + * A value between 0 and 1 inclusive that indicates the relative radius used to position haystack edges on their connected nodes. + * The outside of the node is at 1, and the centre of the node is at 0. + */ + "haystack-radius": number; + } + /** + * Segments edges + * For edges made of several straight lines (curve - style: segments): + * http://js.cytoscape.org/#style/segments-edges + */ + interface SegmentsEdges { + /** + * A series of values that specify for each segment point the distance perpendicular to a line formed from source to target, e.g. -20 20 - 20. + */ + "segment-distances": string; + /** + * A series of values that weights segment points along a line from source to target, + * e.g. 0.25 0.5 0.75.A value usually ranges on [0, 1], + * with 0 towards the source node and 1 towards the target node — but larger or smaller values can also be used. + */ + "segment-weights": string; + /** + * With value + * * "intersection" (default), the line from source to target + * * for "segment-weights" is from the outside of the source node’s shape to the outside of the target node’s shape. + * * With value "node-position", the line is from the source position to the target position. + * The "node-position" option makes calculating edge points easier + * — but it should be used carefully because you can create + * invalid points that intersection would have automatically corrected. + */ + "edge-distances": "intersection" | "segment-weights" | "node-position"; + } + type ArrowShape = "tee" | "triangle" | "triangle-tee" | "triangle-backcurve" | "square" | "circle" | "diamond" | "none"; + + type ArrowFill = "filled" | "hollow"; + + /** + * Edge arrow + * * <pos>-arrow-color : The colour of the edge’s source arrow. + * * <pos>-arrow-shape : The shape of the edge’s source arrow. + * * <pos>-arrow-fill : The fill state of the edge’s source arrow. + * + * For each edge arrow property above, replace <pos> with one of + * * source : Pointing towards the source node, at the end of the edge. + * * mid-source : Pointing towards the source node, at the middle of the edge. + * * target : Pointing towards the target node, at the end of the edge. + * * mid-target: Pointing towards the target node, at the middle of the edge. + * + * Only mid arrows are supported on haystack edges. + * http://js.cytoscape.org/#style/edge-arrow + */ + interface EdgeArror { + /** The colour of the edge’s source arrow. */ + "source-arrow-color"?: Colour; + /** The colour of the edge’s "mid-source" arrow. */ + "mid-source-arrow-color"?: Colour; + /** The colour of the edge’s target arrow. */ + "target-arrow-color"?: Colour; + /** The colour of the edge’s "mid-target" arrow. */ + "mid-target-arrow-color"?: Colour; + + /** The shape of the edge’s source arrow. */ + "source-arrow-shape"?: ArrowShape; + /** The shape of the edge’s mid-source arrow. */ + "mid-source-arrow-shape"?: ArrowShape; + /** The shape of the edge’s target arrow. */ + "target-arrow-shape"?: ArrowShape; + /** The shape of the edge’s mid-target arrow. */ + "mid-target-arrow-shape"?: ArrowShape; + + /** The fill state of the edge’s source arrow. */ + "source-arrow-fill"?: ArrowFill; + /** The fill state of the edge’s mid-source arrow. */ + "mid-source-arrow-fill"?: ArrowFill; + /** The fill state of the edge’s target arrow. */ + "target-arrow-fill"?: ArrowFill; + /** The fill state of the edge’s mid-target arrow. */ + "mid-target-arrow-fill"?: ArrowFill; + } + + /** + * http://js.cytoscape.org/#style/visibility + */ + interface Visibility { + /** + * Whether to display the element; may be element for displayed or none for not displayed. + * Note that a "display: none" bezier edge does not take up space in its bundle. + */ + "display": "none" | "displayed"; + /** + * Whether the element is visible; may be visible or hidden. + * Note that a "visibility : hidden" bezier edge still takes up space in its bundle. + */ + "visibility": "none" | "visible"; + /** + * The opacity of the element, ranging from 0 to 1. + * Note that the opacity of a compound node parent affects the effective opacity of its children. + */ + "opacity": number; + /** + * An integer value that affects the relative draw order of elements. + * In general, an element with a higher "z-index" will be drawn on top of an element with a lower "z-index". + * Note that edges are under nodes despite "z-index", except when necessary for compound nodes. + */ + "z-index": number; + } + + /** https://developer.mozilla.org/en-US/docs/Web/CSS/font-style */ + type FontStyle = "normal" | "italic" | "oblique"; + + /** https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight */ + type FontWeight = number | "normal" | "bold" | "lighter" | "bolder"; + + /** http://js.cytoscape.org/#style/labels */ + type TextTranformation = "none" | "uppercase" | "lowercase"; + + /** + * Labels + * Label text: + * + * http://js.cytoscape.org/#style/labels + */ + interface Labels { + /** + * The text to display for an element’s label. + */ + "label": string; + /** + * The text to display for an edge’s source label. + */ + "source-label": string; + /** + * The text to display for an edge’s target label. + */ + "target-label": string; + /** + * Basic font styling: + */ + /** + * The colour of the element’s label. + */ + "color": Colour; + /** + * The opacity of the label text, including its outline. + */ + "text-opacity": number; + /** + * A comma-separated list of font names to use on the label text. + */ + "font-family": string; + /** + * The size of the label text. + * https://developer.mozilla.org/en-US/docs/Web/CSS/font-family + */ + "font-size": number; + /** + * A CSS font style to be applied to the label text. + * https://developer.mozilla.org/en-US/docs/Web/CSS/font-style + */ + "font-style": FontStyle; + /** + * A CSS font weight to be applied to the label text. + */ + "font-weight": FontWeight; + /** + * A transformation to apply to the label text. + */ + "text-transform": TextTranformation; + + /** + * Wrapping text: + */ + + /** + * A wrapping style to apply to the label text; may be + * * "none" for no wrapping (including manual newlines ) or + * * "wrap" for manual and/ or autowrapping. + */ + "text-wrap": "none" | "wrap"; + /** + * The maximum width for wrapped text, + * applied when "text-wrap" is set to wrap. + * For only manual newlines (i.e.\n), set a very large + * value like 1000px such that only your newline characters would apply. + */ + "text-max-width": string; + + /** + * Node label alignment: + */ + + /** + * The vertical alignment of a node’s label. + */ + "text-halign": "left" | "center" | "right"; + /** + * The vertical alignment of a node’s label. + */ + "text-valign": "top" | "center" | "bottom"; + + /** + * Edge label alignment: + */ + + /** + * For the source label of an edge, how far from the source node the label should be placed. + */ + "source-text-offset": number; + /** + * For the target label of an edge, how far from the target node the label should be placed. + */ + "target-text-offset": number; + /** + * Margins: + */ + + /** + * A margin that shifts the label along the x- axis. + */ + "text-margin-x": number; + /** + * A margin that shifts the label along the y- axis. + */ + "text-margin-y": number; + /** + * (For the source label of an edge.) + */ + "source-text-margin-x": number; + /** + * (For the source label of an edge.) + */ + "source-text-margin-y": number; + /** + * (For the target label of an edge.) + */ + "target-text-margin-x": number; + /** + * (For the target label of an edge.) + */ + "target-text-margin-y": number; + /** + * Rotating text: + */ + + /** + * A rotation angle that is applied to the label. + * * For edges, the special value autorotate can be used to align the label to the edge. + * * For nodes, the label is rotated along its anchor point on the node, so a label margin may help for some usecases. + * * The special value none can be used to denote 0deg. + * * Rotations works best with left- to - right text. + */ + "text-rotation": number; + + /** + * (For the source label of an edge.) + */ + "source-text-rotation": number; + /** + * (For the target label of an edge.) + */ + "target-text-rotation": number; + + /** + * Outline: + */ + + /** + * The colour of the outline around the element’s label text. + */ + "text-outline-color": Colour; + /** + * The opacity of the outline on label text. + */ + "text-outline-opacity": number; + /** + * The size of the outline on label text. + */ + "text-outline-width": number; + /** + * Shadow: + */ + /** + * The shadow blur distance. + */ + "text-shadow-blur": number; + /** + * The colour of the shadow. + */ + "text-shadow-color": Colour; + /** + * The x offset relative to the text where the shadow will be displayed, can be negative. + * If you set blur to 0, add an offset to view your shadow. + */ + "text-shadow-offset-x": number; + /** + * The y offset relative to the text where the shadow will be displayed, can be negative. + * If you set blur to 0, add an offset to view your shadow. + */ + "text-shadow-offset-y": number; + /** + * The opacity of the shadow on the text; the shadow is disabled for 0 (default value). + */ + "text-shadow-opacity": number; + + /** + * Background: + */ + + /** + * A colour to apply on the text background. + */ + "text-background-color": Colour; + /** + * The opacity of the label background; the background is disabled for 0 (default value). + */ + "text-background-opacity": number; + /** + * The shape to use for the label background. + */ + "text-background-shape": "ractangle" | "roundrectangle"; + + /** + * Border: + */ + + /** + * The width of the border around the label; the border is disabled for 0 (default value). + */ + "text-border-opacity": number; + /** + * The width of the border around the label. + */ + "text-border-width": number; + /** + * The style of the border around the label. + */ + "text-border-style": LineStyle; + /** + * The colour of the border around the label. + */ + "text-border-color": Colour; + + /** + * Interactivity: + */ + + /** + * If zooming makes the effective font size of the label smaller than this, + * then no label is shown.Note that because of performance optimisations, + * the label may be shown at font sizes slightly smaller than this value. + * + * This effect is more pronounced at larger screen pixel ratios.However, + * it is guaranteed that the label will be shown at sizes equal to or greater than the value specified. + */ + "min-zoomed-font-size": number; + /** + * Whether events should occur on an element if the label receives an event. + * You may want a style applied to the text onactive so you know the text is activatable. + */ + "text-events": "yes" | "no"; + } + + /** + * http://js.cytoscape.org/#style/events + */ + interface Events { + /** + * Whether events should occur on an element (e.g.tap, mouseover, etc.). + * * For "no", the element receives no events and events simply pass through to the core/viewport. + */ + "events": "yes" | "no"; + /** + * Whether events should occur on an element if the label receives an event. + * You may want a style applied to the text on active so you know the text is activatable. + */ + "text-events": "yes" | "no"; + } + + /** + * These properties allow for the creation of overlays on top of nodes or edges, + * and are often used in the :active state. + * http://js.cytoscape.org/#style/overlay + */ + interface Overlay { + /** + * The colour of the overlay. + */ + "overlay-color": Colour; + /** + * The area outside of the element within which the overlay is shown. + */ + "overlay-padding": number; + /** + * The opacity of the overlay. + */ + "overlay-opacity": number; + } + /** + * These properties allow for the creation of shadows on nodes or edges. + * Note that shadow-blur could seriously impact performance on large graph. + * http://js.cytoscape.org/#style/shadow + */ + interface Shadow { + /** + * The shadow blur, note that if greater than 0, this could impact performance. + */ + "shadow-blur": number; + /** + * The colour of the shadow. + */ + "shadow-color": Colour; + /** + * The x offset relative to the node/edge where the shadow will be displayed, can be negative. If you set blur to 0, add an offset to view your shadow. + */ + "shadow-offset-x": number; + /** + * The y offset relative to the node/edge where the shadow will be displayed, can be negative. If you set blur to 0, add an offset to view your shadow. + */ + "shadow-offset-y": number; + /** + * The opacity of the shadow. + */ + "shadow-opacity": number; + } + + /** + * Transition animation + */ + type TransitionTimingFunction = "linear" | "spring" | "cubic-bezier" | "ease" | "ease-in" | "ease-out" | + "ease-in-out" | "ease-in-sine" | "ease-out-sine" | "ease-in-out-sine" | "ease-in-quad" | + "ease-out-quad" | "ease-in-out-quad" | "ease-in-cubic" | "ease-out-cubic" | + "ease-in-out-cubic" | "ease-in-quart" | "ease-out-quart" | "ease-in-out-quart" | + "ease-in-quint" | "ease-out-quint" | "ease-in-out-quint" | "ease-in-expo" | + "ease-out-expo" | "ease-in-out-expo" | "ease-in-circ" | "ease-out-circ" | "ease-in-out-circ"; + + /** + * http://js.cytoscape.org/#style/transition-animation + */ + interface TransitionAnimation { + /** + * A comma separated list of style properties to animate in this state. + */ + "transition-property": string; + /** + * The length of the transition in seconds(e.g. 0.5s). + */ + "transition-duration": number; + /** + * The length of the delay in seconds before the transition occurs (e.g. 250ms). + */ + "transition-delay": number; + /** + * An easing function that controls the animation progress curve (a visualisation of easings serves as a reference). + */ + "transition-timing-function": TransitionTimingFunction; + } + + /** + * Core + * These properties affect UI global to the graph, and apply only to the core. + * You can use the special core selector string to set these properties. + * http://js.cytoscape.org/#style/core + */ + interface Core { + /** + * Indicator: + */ + + /** + * The colour of the indicator shown when the background is grabbed by the user. + */ + "active-bg-color": Colour; + /** + * The opacity of the active background indicator. + */ + "active-bg-opacity": number; + /** + * The size of the active background indicator. + */ + "active-bg-size": number; + /** + * Selection box: + */ + /** + * The background colour of the selection box used for drag selection. + */ + "selection-box-color": Colour; + /** + * The colour of the border on the selection box. + */ + "selection-box-border-color": Colour; + /** + * The size of the border on the selection box. + */ + "selection-box-border-width": number; + /** + * The opacity of the selection box. + */ + "selection-box-opacity": number; + /** + * Texture during viewport gestures: + */ + /** + * The colour of the area outside the viewport texture when initOptions.textureOnViewport === true. + */ + "outside-texture-bg-color": Colour; + /** + * The opacity of the area outside the viewport texture. + */ + "outside-texture-bg-opacity": number; + } + } + + /** + * Events passed to handler callbacks are similar to + * jQuery event objects in that they wrap native event objects, + * mimicking their API. + * + * http://js.cytoscape.org/#events + */ + interface EventObject extends InputEventObject, LayoutEventObject { } + + /** + * http://js.cytoscape.org/#events/event-object + */ + interface AbstractEventObject { + /** a reference to the corresponding core Core */ + cy: any; + /** indicates the element or core that first caused the event */ + target?: any; + /** the event type string (e.g. "tap") */ + type: UserInputDeviceEventName | UserInputDeviceEventNameExt; + /** the event namespace string (e.g. "foo" for "foo.tap") */ + namespace: string; + /** Unix epoch time of event in milliseconds */ + timeStamp: number; + } + interface InputEventObject extends AbstractEventObject { + /** position : indicates the model position of the event */ + position: Position; + /** renderedPosition : indicates the rendered position of the event */ + renderedPosition: Position; + /** originalEvent : the original user input device event object */ + originalEvent: EventObject; + } + interface LayoutEventObject extends AbstractEventObject { + /** layout : indicates the corresponding layout that triggered the event + * (useful if running multiple layouts simultaneously) + */ + layout: any; + } + + /** + * These are normal browser events that you can bind to via Cytoscape.js. + * You can bind these events to the core and to collections. + * http://js.cytoscape.org/#events/user-input-device-events + */ + type UserInputDeviceEventName = + // when the mouse button is pressed + "mousedown" | + // when the mouse button is released + "mouseup" | + // after mousedown then mouseup + "click" | + // when the cursor is put on top of the target + "mouseover" | + // when the cursor is moved off of the target + "mouseout" | + // when the cursor is moved somewhere on top of the target + "mousemove" | + // when one or more fingers starts to touch the screen + "touchstart" | + // when one or more fingers are moved on the screen + "touchmove" | + // when one or more fingers are removed from the screen + "touchend"; + + /** + * There are also some higher level events that you can use + * so you don’t have to bind to different events for + * mouse-input devices and for touch devices. + * http://js.cytoscape.org/#events/user-input-device-events + */ + type UserInputDeviceEventNameExt = + // normalised tap start event (either mousedown or touchstart) + "tapstart" | "vmousedown" | + // normalised move event (either touchmove or mousemove) + "tapdrag" | "vmousemove" | + // normalised over element event (either touchmove or mousemove/mouseover) + "tapdragover" | + // normalised off of element event (either touchmove or mousemove/mouseout) + "tapdragout" | + // normalised tap end event (either mouseup or touchend) + "tapend" | "vmouseup" | + // normalised tap event (either click, or touchstart followed by touchend without touchmove) + "tap" | "vclick" | + // normalised tap hold event + "taphold" | + // normalised right-click mousedown or two-finger tapstart + "cxttapstart" | + // normalised right-click mouseup or two-finger tapend + "cxttapend" | + // normalised right-click or two-finger tap + "cxttap" | + // normalised mousemove or two-finger drag after cxttapstart but before cxttapend + "cxtdrag" | + // when going over a node via cxtdrag + "cxtdragover" | + // when going off a node via cxtdrag + "cxtdragout" | + // when starting box selection + "boxstart" | + // when ending box selection + "boxend" | + // triggered on elements when selected by box selection + "boxselect" | + // triggered on elements when inside the box on boxend + "box"; + + /** + * These events are custom to Cytoscape.js. You can bind to these events for collections. + * http://js.cytoscape.org/#events/collection-events + */ + type CollectionEventName = + // when an element is added to the graph + "add" | + // when an element is removed from the graph + "remove" | + // when an element is selected + "select" | + // when an element is unselected + "unselect" | + // when an element is locked + "lock" | + // when an element is unlocked + "unlock" | + // when an element is grabbed directly (including only the one node directly under the cursor or the user’s finger) + "grabon" | + // when an element is grabbed (including all elements that would be dragged) + "grab" | + // when an element is grabbed and then moved + "drag" | + // when an element is freed (i.e. let go from being grabbed) + "free" | + // when an element changes position + "position" | + // when an element’s data is changed + "data" | + // when an element’s scratchpad data is changed + "scratch" | + // when an element’s style is changed + "style"; + + /** + * These events are custom to Cytoscape.js, and they occur on the core. + * http://js.cytoscape.org/#events/graph-events + */ + type GraphEventName = + // when a layout starts running + "layoutstart" | + // when a layout has set initial positions for all the nodes (but perhaps not final positions) + "layoutready" | + // when a layout has finished running completely or otherwise stopped running + "layoutstop" | + // when a new Core of Cytoscape.js is ready to be interacted with + "ready" | + // when the Core of Cytoscape.js was explicitly destroyed by calling .destroy(). + "destroy" | + // when the viewport is (re)rendered + "render" | + // when the viewport is panned + "pan" | + // when the viewport is zoomed + "zoom" | + // when the viewport is resized (usually by calling cy.resize(), a window resize, or toggling a class on the Cytoscape.js div) + "resize"; + + /** + * Layouts + * http://js.cytoscape.org/#layouts + * + * The function of a layout is to set the positions on the nodes in the graph. + * Layouts are extensions of Cytoscape.js such that it is possible for + * anyone to write a layout without modifying the library itself. + * Several layouts are included with Cytoscape.js by default, + * and their options are described in the sections that follow + * with the default values specified. + * Note that you must set options.name to the name of the + * layout to specify which one you want to run. + * Each layout has its own algorithm for setting the position for each node. + * This algorithm influences the overall shape of the graph and the lengths of the edges. + * A layout’s algorithm can be customised by setting its options. + * Therefore, edge lengths can be controlled by setting the layout options appropriately. + * For force-directed (physics) layouts, + * there is generally an option to set a weight to each edge + * to affect the relative edge lengths. + * Edge length can also be affected by options like spacing + * factors, angles, and overlap avoidance. + * Setting edge length depends on the particular layout, + * and some layouts will allow for more precise edge lengths than others. + */ + + interface Layouts extends LayoutManipulation, LayoutEvents { } + + type LayoutOptions = + NullLayoutOptions | PresetLayoutOptions | GridLayoutOptions | + CircleLayoutOptions | ConcentricLayoutOptions | BreadthFirstLayoutOptions | + CoseLayoutOptions; + + type LayoutHandler = () => void; + + interface BaseLayoutOptions { + name: string; + // on layoutready event + ready?: LayoutHandler; + // on layoutstop event + stop?: LayoutHandler; + } + /** + * http://js.cytoscape.org/#layouts/null + */ + interface NullLayoutOptions { + name: "null"; + } + interface BoundingBox12 { + x1: number; + y1: number; + x2: number; + y2: number; + } + interface BoundingBoxWH { + x1: number; + y1: number; + w: number; + h: number; + } + interface AnimatedLayoutOptions { + // whether to transition the node positions + animate?: boolean; + // duration of animation in ms if enabled + animationDuration?: number; + // easing of animation if enabled + animationEasing?: boolean; + } + /** + * http://js.cytoscape.org/#layouts/random + */ + interface RandomLayoutOptions extends BaseLayoutOptions, AnimatedLayoutOptions { + name: "random"; + // whether to fit to viewport + fit: boolean; + // fit padding + padding?: number; + // constrain layout bounds + boundingBox: undefined | BoundingBox12 | BoundingBoxWH; + } + + /** + * http://js.cytoscape.org/#layouts/preset + */ + interface NodePositionMap { [nodeid: string]: Position; } + type NodePositionFunction = (nodeid: string) => Position; + interface PresetLayoutOptions extends BaseLayoutOptions, AnimatedLayoutOptions { + name: "preset"; + // map of (node id) => (position obj); or function(node){ return somPos; } + positions?: NodePositionMap | NodePositionFunction; + // the zoom level to set (prob want fit = false if set) + zoom?: number; + // the pan level to set (prob want fit = false if set) + pan?: number; + // whether to fit to viewport + fit?: boolean; + // padding on fit + padding?: number; + } + + interface SortableNode { + data: { weight: number; }; + } + + // function(a, b){ return a.data('weight') - b.data('weight') } + type SortingFunction = (a: SortableNode, b: SortableNode) => number; + + interface ShapedLayoutOptions extends BaseLayoutOptions, AnimatedLayoutOptions { + // whether to fit to viewport + fit: boolean; + // padding used on fit + padding?: number; + // constrain layout bounds + boundingBox?: BoundingBox12 | BoundingBoxWH; + + // prevents node overlap, may overflow boundingBox if not enough space + avoidOverlap?: boolean; + + // Excludes the label when calculating node bounding boxes for the layout algorithm + nodeDimensionsIncludeLabels: boolean; + // Applies a multiplicative factor (>0) to expand or compress the overall area that the nodes take up + spacingFactor?: number; + + // a sorting function to order the nodes + sort?: SortingFunction; + } + /** + * http://js.cytoscape.org/#layouts/grid + */ + interface GridLayoutOptions extends ShapedLayoutOptions { + name: "grid"; + + // extra spacing around nodes when avoidOverlap: true + avoidOverlapPadding?: number; + + // uses all available space on false, uses minimal space on true + condense: boolean; + // force num of rows in the grid + rows?: number; + // force num of columns in the grid + cols?: number; + // returns { row, col } for element + position(nodeid: string): { row: number; col: number; }; + } + + /** + * http://js.cytoscape.org/#layouts/circle + */ + interface CircleLayoutOptions extends ShapedLayoutOptions { + name: "circle"; + + // the radius of the circle + radius?: number; + + // where nodes start in radians, e.g. 3 / 2 * Math.PI, + startAngle: number; + // how many radians should be between the first and last node (defaults to full circle) + sweep?: number; + // whether the layout should go clockwise (true) or counterclockwise/anticlockwise (false) + clockwise?: boolean; + } + /** + * http://js.cytoscape.org/#layouts/concentric + */ + interface ConcentricLayoutOptions extends ShapedLayoutOptions { + name: "concentric"; + + // where nodes start in radians, e.g. 3 / 2 * Math.PI, + startAngle: number; + // how many radians should be between the first and last node (defaults to full circle) + sweep?: number; + // whether the layout should go clockwise (true) or counterclockwise/anticlockwise (false) + clockwise?: boolean; + + // whether levels have an equal radial distance betwen them, may cause bounding box overflow + equidistant: false; + minNodeSpacing: 10; // min spacing between outside of nodes (used for radius adjustment) + // height of layout area (overrides container height) + height: undefined; + // width of layout area (overrides container width) + width: undefined; + // Applies a multiplicative factor (>0) to expand or compress the overall area that the nodes take up + spacingFactor: undefined; + // returns numeric value for each node, placing higher nodes in levels towards the centre + concentric(node: { degree(): number; }): number; + // the variation of concentric values in each level + levelWidth(node: { maxDegree(): number; }): number; + } + + /** + * http://js.cytoscape.org/#layouts/breadthfirst + */ + interface BreadthFirstLayoutOptions extends ShapedLayoutOptions { + name: "breadthfirst"; + + // whether the tree is directed downwards (or edges can point in any direction if false) + directed: boolean; + // put depths in concentric circles if true, put depths top down if false + circle: boolean; + // the roots of the trees + roots?: string; + // how many times to try to position the nodes in a maximal way (i.e. no backtracking) + maximalAdjustments: number; + } + + /** + * http://js.cytoscape.org/#layouts/cose + */ + interface CoseLayoutOptions extends ShapedLayoutOptions { + name: "cose"; + + // Number of iterations between consecutive screen positions update + // (0 -> only updated on the end) + refresh: number; + // Randomize the initial positions of the nodes (true) or use existing positions (false) + randomize: boolean; + // Extra spacing between components in non-compound graphs + componentSpacing: number; + // Node repulsion (non overlapping) multiplier + nodeRepulsion(node: any): number; + + // Node repulsion (overlapping) multiplier + nodeOverlap: number; + // Ideal edge (non nested) length + idealEdgeLength(edge: any): number; + // Divisor to compute edge forces + edgeElasticity(edge: any): number; + + // Nesting factor (multiplier) to compute ideal edge length for nested edges + nestingFactor: number; + // Gravity force (constant) + gravity: number; + // Maximum number of iterations to perform + numIter: number; + // Initial temperature (maximum node displacement) + initialTemp: number; + // Cooling factor (how the temperature is reduced between consecutive iterations + coolingFactor: number; + // Lower temperature threshold (below this point the layout will end) + minTemp: number; + // Pass a reference to weaver to use threads for calculations + weaver: boolean; + } + + /** + * http://js.cytoscape.org/#layouts/layout-manipulation + * Layouts have a set of functions available to them, + * which allow for more complex behaviour than the primary run-one-layout-at-a-time usecase. + * A new, developer accessible layout can be made via cy.makeLayout(). + */ + interface LayoutManipulation { + /** Start running the layout + * http://js.cytoscape.org/#layout.run + */ + run(): void; + start(): void; + /** Stop running the (asynchronous/discrete) layout + * http://js.cytoscape.org/#layout.stop + */ + stop(): void; + } + interface LayoutEvents { + /** + * http://js.cytoscape.org/#layouts/layout-events + */ + /** + * @param events A space separated list of event names. + * @param data [optional] A plain object which is passed to the + * handler in the event object argument. + * @param handler The handler function that is called + * when one of the specified events occurs. + */ + on(events: EventNames, data: any, handler: EventHandler): void; + bind(events: EventNames, data: any, handler: EventHandler): void; + listen(events: EventNames, data: any, handler: EventHandler): void; + addListener(events: EventNames, data: any, handler: EventHandler): void; + + /** + * Get a promise that is resolved with the first of any of + * the specified events triggered on the layout. + * http://js.cytoscape.org/#layout.promiseOn + */ + promiseOn(events: EventNames): Promise<EventObject>; + pon(events: EventNames): Promise<EventObject>; + + /** + * Bind to events that are emitted by the layout, and trigger the handler only once. + * @param events A space separated list of event names. + * @param data [optional] A plain object which is passed to the handler in the event object argument. + * @param handler The handler function that is called when one of the specified events occurs. + */ + one(events: EventNames, handler: EventHandler): void; + one(events: EventNames, data: any, handler: EventHandler): void; + + /** + * Remove event handlers on the layout. + * http://js.cytoscape.org/#layout.off + * + * @param events A space separated list of event names. + * @param handler [optional] A reference to the handler function to remove. + */ + off(events: EventNames, handler?: EventHandler): void; + unbind(events: EventNames, handler?: EventHandler): void; + unlisten(events: EventNames, handler?: EventHandler): void; + removeListener(events: EventNames, handler?: EventHandler): void; + + /** + * Trigger one or more events on the layout. + * http://js.cytoscape.org/#layout.trigger + * @param events A space separated list of event names to trigger. + * @param extraParams [optional] An array of additional parameters to pass to the handler. + */ + trigger(events: EventNames, extraParams?: any[]): void; + } + + /** + * An animation represents a visible change in state over + * a duration of time for a single element. + * Animations can be generated via cy.animation() + * (for animations on the viewport) and ele.animation() + * (for animations on graph elements). + * http://js.cytoscape.org/#animations + */ + + /** + * http://js.cytoscape.org/#animations/animation-manipulation + */ + interface AnimationManipulation { + /** + * Requests that the animation be played, starting on the next frame. + * If the animation is complete, it restarts from the beginning. + * http://js.cytoscape.org/#ani.play + */ + play(): void; + /** + * Get whether the animation is currently playing. + * http://js.cytoscape.org/#ani.playing + */ + playing(): boolean; + /** + * Get or set how far along the animation has progressed. + * http://js.cytoscape.org/#ani.progress + */ + /** + * Get the progress of the animation in percent. + */ + progress(): number; + /** + * Set the progress of the animation in percent. + * @param progress The progress in percent (i.e. between 0 and 1 inclusive) to set to the animation. + */ + progress(progress: number): AnimationManipulation; + /** + * Get the progress of the animation in milliseconds. + */ + time(): number; + /** + * Set the progress of the animation in milliseconds. + * @param time The progress in milliseconds + * (i.e. between 0 and the duration inclusive) to set to the animation. + */ + time(time: number): AnimationManipulation; + /** + * Rewind the animation to the beginning. + */ + rewind(): AnimationManipulation; + /** + * Fastforward the animation to the end. + */ + fastforward(): AnimationManipulation; + + /** + * Pause the animation, maintaining the current progress. + * http://js.cytoscape.org/#ani.pause + */ + pause(): AnimationManipulation; + /** + * Stop the animation, maintaining the current progress + * and removing the animation from any associated queues. + * http://js.cytoscape.org/#ani.stop + */ + stop(): AnimationManipulation; + /** + * Get whether the animation has progressed to the end. + * http://js.cytoscape.org/#ani.completed + */ + completed(): AnimationManipulation; + complete(): AnimationManipulation; + /** + * Apply the animation at its current progress. + * http://js.cytoscape.org/#ani.apply + */ + apply(): AnimationManipulation; + /** + * Get whether the animation is currently applying. + * http://js.cytoscape.org/#ani.applying + */ + applying(): AnimationManipulation; + /** + * Reverse the animation such that its starting + * conditions and ending conditions are reversed. + * http://js.cytoscape.org/#ani.reverse + */ + reverse(): AnimationManipulation; + /** + * Get a promise that is fulfilled with the specified animation event. + * @param animationEvent A string for the event name; completed or complete for + * completing the animation or frame for the next frame of the animation. + * http://js.cytoscape.org/#ani.promise + */ + promise(animationEvent?: "completed" | "complete" | "frame"): Promise<EventObject>; + } +} diff --git a/types/cytoscape/tsconfig.json b/types/cytoscape/tsconfig.json new file mode 100644 index 0000000000..348734c733 --- /dev/null +++ b/types/cytoscape/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "cytoscape-tests.ts" + ] +} \ No newline at end of file diff --git a/types/cytoscape/tslint.json b/types/cytoscape/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/cytoscape/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From d9ca7d7efff765abe162023a9aa47f51f473bfd7 Mon Sep 17 00:00:00 2001 From: Alexander Leon <aleon6@u.rochester.edu> Date: Fri, 13 Oct 2017 05:15:59 -0500 Subject: [PATCH 323/433] add types for amapa (#20393) --- .../amazon-product-api-tests.ts | 25 ++++++++++---- types/amazon-product-api/index.d.ts | 33 ++++++++++++++++--- 2 files changed, 48 insertions(+), 10 deletions(-) diff --git a/types/amazon-product-api/amazon-product-api-tests.ts b/types/amazon-product-api/amazon-product-api-tests.ts index 0a02153236..37682a11aa 100644 --- a/types/amazon-product-api/amazon-product-api-tests.ts +++ b/types/amazon-product-api/amazon-product-api-tests.ts @@ -3,7 +3,7 @@ declare var process: { env: any }; import amazon = require('amazon-product-api'); -var client = amazon.createClient({ +let client = amazon.createClient({ awsId: process.env.AWS_ACCESS_KEY_ID, awsSecret: process.env.AWS_SECRET, awsTag: process.env.AWS_ASSOCIATE_TAG @@ -12,7 +12,7 @@ var client = amazon.createClient({ // Item Search -var searchQuery = { +let searchQuery = { director: 'Quentin Tarantino', actor: 'Samuel L. Jackson', searchIndex: 'DVD', @@ -37,11 +37,11 @@ client.itemSearch(searchQuery, (err, results) => { // Item Lookup -var lookupQuery = { +let lookupQuery = { itemId: 'B00008OE6I', idType: 'ASIN', responseGroup: 'OfferFull', - Condition: 'All' + condition: 'All' }; client.itemLookup(lookupQuery).then((results) => { @@ -58,9 +58,22 @@ client.itemLookup(lookupQuery, (err, results) => { console.log(getResultCount(results) + " lookup results"); }); +let lookupQueryWithItemIdArray = { + itemId: ['B00008OE6I', 'B00008OE6E'], + idType: 'ASIN', + responseGroup: 'OfferFull', + condition: 'All' +}; + +client.itemLookup(lookupQueryWithItemIdArray).then((results) => { + console.log(getResultCount(results) + " lookup results"); +}).catch(function(err){ + console.log(err); +}); + // Browse Node Lookup -var nodeLookupQuery = { +let nodeLookupQuery = { browseNodeId: '2625373011' }; @@ -81,4 +94,4 @@ client.browseNodeLookup(nodeLookupQuery, (err, results) => { function getResultCount(results: Object[]) { return results != undefined ? results.length : 0; -} \ No newline at end of file +} diff --git a/types/amazon-product-api/index.d.ts b/types/amazon-product-api/index.d.ts index 797adf45f4..34bafd04f4 100644 --- a/types/amazon-product-api/index.d.ts +++ b/types/amazon-product-api/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for amazon-product-api // Project: https://github.com/t3chnoboy/amazon-product-api -// Definitions by: Matti Lehtinen <https://github.com/MattiLehtinen> +// Definitions by: Matti Lehtinen <https://github.com/MattiLehtinen>, Alex Leon <https://github.com/alien35> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -15,10 +15,35 @@ interface IAmazonProductQueryCallback { (err: string, results: Object[]): void; } +interface IItemSearchOptions { + condition?: string; + keywords?: string; + responseGroup?: string; + searchIndex?: string; + itemPage?: number; + sort?: string; +} + +interface IItemLookupOptions { + condition?: string; + idType?: string; + includeReviewsSummary?: boolean; + itemId?: string | string[]; + responseGroup?: string; + searchIndex?: string; + truncateReviewsAt?: number; + variationPage?: string; +} + +interface IBrowseNodeLookupOptions { + browseNodeId?: string; + responseGroup?: string; +} + interface IAmazonProductClient { - itemSearch(query: any, callback?: IAmazonProductQueryCallback): Promise<Object[]>; - itemLookup(query: any, callback?: IAmazonProductQueryCallback): Promise<Object[]>; - browseNodeLookup(query: any, callback?: IAmazonProductQueryCallback): Promise<Object[]>; + itemSearch(query: IItemSearchOptions, callback?: IAmazonProductQueryCallback): Promise<Object[]>; + itemLookup(query: IItemLookupOptions, callback?: IAmazonProductQueryCallback): Promise<Object[]>; + browseNodeLookup(query: IBrowseNodeLookupOptions, callback?: IAmazonProductQueryCallback): Promise<Object[]>; } export declare function createClient(credentials: ICredentials): IAmazonProductClient; From 601b1fa1d031d418ba935097f5fb6b7c1dfa5113 Mon Sep 17 00:00:00 2001 From: Adrian Leonhard <adrianleonhard@gmail.com> Date: Fri, 13 Oct 2017 12:17:08 +0200 Subject: [PATCH 324/433] [fluent-ffmpeg] Added static ffprobe and fixed ffprobe. (#20391) usage: https://github.com/fluent-ffmpeg/node-fluent-ffmpeg#reading-video-metadata impl: https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/blob/master/lib/fluent-ffmpeg.js#L219 ffprobe returns void: https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/blob/master/lib/ffprobe.js#L86 --- types/fluent-ffmpeg/fluent-ffmpeg-tests.ts | 4 ++++ types/fluent-ffmpeg/index.d.ts | 15 +++++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/types/fluent-ffmpeg/fluent-ffmpeg-tests.ts b/types/fluent-ffmpeg/fluent-ffmpeg-tests.ts index e45f8ff855..53b095a8b2 100644 --- a/types/fluent-ffmpeg/fluent-ffmpeg-tests.ts +++ b/types/fluent-ffmpeg/fluent-ffmpeg-tests.ts @@ -50,3 +50,7 @@ command.clone() // Save a converted version with the original size command.save('/path/to/output-original-size.mp4'); + +ffmpeg.ffprobe('/path/to/file.avi', (err, metadata) => { + console.dir(metadata); +}); diff --git a/types/fluent-ffmpeg/index.d.ts b/types/fluent-ffmpeg/index.d.ts index 65bacff53e..79d91cf7ed 100644 --- a/types/fluent-ffmpeg/index.d.ts +++ b/types/fluent-ffmpeg/index.d.ts @@ -282,10 +282,10 @@ declare namespace Ffmpeg { // ffprobe /* tslint:disable:unified-signatures */ - ffprobe(callback: (err: any, data: FfprobeData) => void): (err: any, data: FfprobeData) => void; - ffprobe(index: number, callback: (err: any, data: FfprobeData) => void): (err: any, data: FfprobeData) => void; - ffprobe(options: string[], callback: (err: any, data: FfprobeData) => void): (err: any, data: FfprobeData) => void; - ffprobe(index: number, options: string[], callback: (err: any, data: FfprobeData) => void): (err: any, data: FfprobeData) => void; + ffprobe(callback: (err: any, data: FfprobeData) => void): void; + ffprobe(index: number, callback: (err: any, data: FfprobeData) => void): void; + ffprobe(options: string[], callback: (err: any, data: FfprobeData) => void): void; + ffprobe(index: number, options: string[], callback: (err: any, data: FfprobeData) => void): void; /* tslint:enable:unified-signatures */ // recipes @@ -305,6 +305,13 @@ declare namespace Ffmpeg { clone(): FfmpegCommand; run(): void; } + + /* tslint:disable:unified-signatures */ + function ffprobe(file: string, callback: (err: any, data: FfprobeData) => void): void; + function ffprobe(file: string, index: number, callback: (err: any, data: FfprobeData) => void): void; + function ffprobe(file: string, options: string[], callback: (err: any, data: FfprobeData) => void): void; + function ffprobe(file: string, index: number, options: string[], callback: (err: any, data: FfprobeData) => void): void; + /* tslint:enable:unified-signatures */ } declare function Ffmpeg(options?: Ffmpeg.FfmpegCommandOptions): Ffmpeg.FfmpegCommand; declare function Ffmpeg(input?: string | stream.Readable, options?: Ffmpeg.FfmpegCommandOptions): Ffmpeg.FfmpegCommand; From dfdf9e29ec3a7921fd588003add15a36a01ad673 Mon Sep 17 00:00:00 2001 From: Matthias Lochbrunner <matthias_lochbrunner@web.de> Date: Fri, 13 Oct 2017 12:17:46 +0200 Subject: [PATCH 325/433] Make RetryStrategyOptions.error of type NodeJS.ErrnoException (#20390) --- types/redis/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/redis/index.d.ts b/types/redis/index.d.ts index 8ce138cd95..4c040f7240 100644 --- a/types/redis/index.d.ts +++ b/types/redis/index.d.ts @@ -11,7 +11,7 @@ import { EventEmitter } from 'events'; import { Duplex } from 'stream'; export interface RetryStrategyOptions { - error: Error; + error: NodeJS.ErrnoException; total_retry_time: number; times_connected: number; attempt: number; From 7671753459f23c3ee10b07dde5a4a4a4aa7ed57c Mon Sep 17 00:00:00 2001 From: Flarna <Flarna@users.noreply.github.com> Date: Fri, 13 Oct 2017 22:14:34 +0200 Subject: [PATCH 326/433] [redux-form] Fix tests by setting strictFunctionTypes to false (#20571) --- types/redux-form/tsconfig.json | 2 +- types/redux-form/v6/tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/types/redux-form/tsconfig.json b/types/redux-form/tsconfig.json index ea57d2a38a..2c5cee3acb 100644 --- a/types/redux-form/tsconfig.json +++ b/types/redux-form/tsconfig.json @@ -9,7 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, - "strictFunctionTypes": true, + "strictFunctionTypes": false, "baseUrl": "../", "jsx": "react", "typeRoots": [ diff --git a/types/redux-form/v6/tsconfig.json b/types/redux-form/v6/tsconfig.json index c4c9025157..51ee26293e 100644 --- a/types/redux-form/v6/tsconfig.json +++ b/types/redux-form/v6/tsconfig.json @@ -9,7 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, - "strictFunctionTypes": true, + "strictFunctionTypes": false, "jsx": "react", "baseUrl": "../../", "typeRoots": [ From 795cd339322fa026c16e585e75f83258bfa3f4b5 Mon Sep 17 00:00:00 2001 From: Arda TANRIKULU <ardatanrikulu@gmail.com> Date: Fri, 13 Oct 2017 17:54:04 -0400 Subject: [PATCH 327/433] Meteor's underscore and ServiceConfiguration types and new version for publish-composite are added (#20413) * ServiceConfiguration types added * New usage of publishComposite added to meteor-publish-composite * meteor/underscore added --- types/meteor-publish-composite/index.d.ts | 77 ++++++++----------- .../meteor-publish-composite-tests.ts | 16 ++-- types/meteor/index.d.ts | 2 + types/meteor/service-configuration.d.ts | 9 +++ types/meteor/tsconfig.json | 4 +- types/meteor/underscore.d.ts | 4 + 6 files changed, 57 insertions(+), 55 deletions(-) create mode 100644 types/meteor/service-configuration.d.ts create mode 100644 types/meteor/underscore.d.ts diff --git a/types/meteor-publish-composite/index.d.ts b/types/meteor-publish-composite/index.d.ts index cd8b93b816..a5f6205913 100644 --- a/types/meteor-publish-composite/index.d.ts +++ b/types/meteor-publish-composite/index.d.ts @@ -6,75 +6,60 @@ /// <reference types="meteor" /> declare interface PublishCompositeConfigN { - children? : PublishCompositeConfigN[]; + children?: PublishCompositeConfigN[]; find( - ...args : any[] - ) : Mongo.Cursor<any>; + ...args: any[] + ): Mongo.Cursor<any>; } declare interface PublishCompositeConfig4<InLevel1, InLevel2, InLevel3, InLevel4, OutLevel> { - children? : PublishCompositeConfigN[]; + children?: PublishCompositeConfigN[]; find( - arg4 : InLevel4, - arg3 : InLevel3, - arg2 : InLevel2, - arg1 : InLevel1 - ) : Mongo.Cursor<OutLevel>; + arg4: InLevel4, + arg3: InLevel3, + arg2: InLevel2, + arg1: InLevel1 + ): Mongo.Cursor<OutLevel>; } declare interface PublishCompositeConfig3<InLevel1, InLevel2, InLevel3, OutLevel> { - children? : PublishCompositeConfig4<InLevel1, InLevel2, InLevel3, OutLevel, any>[]; + children?: PublishCompositeConfig4<InLevel1, InLevel2, InLevel3, OutLevel, any>[]; find( - arg3 : InLevel3, - arg2 : InLevel2, - arg1 : InLevel1 - ) : Mongo.Cursor<OutLevel>; + arg3: InLevel3, + arg2: InLevel2, + arg1: InLevel1 + ): Mongo.Cursor<OutLevel>; } declare interface PublishCompositeConfig2<InLevel1, InLevel2, OutLevel> { - children? : PublishCompositeConfig3<InLevel1, InLevel2, OutLevel, any>[]; + children?: PublishCompositeConfig3<InLevel1, InLevel2, OutLevel, any>[]; find( - arg2 : InLevel2, - arg1 : InLevel1 - ) : Mongo.Cursor<OutLevel>; + arg2: InLevel2, + arg1: InLevel1 + ): Mongo.Cursor<OutLevel>; } declare interface PublishCompositeConfig1<InLevel1, OutLevel> { - children? : PublishCompositeConfig2<InLevel1, OutLevel, any>[]; + children?: PublishCompositeConfig2<InLevel1, OutLevel, any>[]; find( - arg1 : InLevel1 - ) : Mongo.Cursor<OutLevel>; + arg1: InLevel1 + ): Mongo.Cursor<OutLevel>; } declare interface PublishCompositeConfig<OutLevel> { - children? : PublishCompositeConfig1<OutLevel, any>[]; - find() : Mongo.Cursor<OutLevel>; + children?: PublishCompositeConfig1<OutLevel, any>[]; + find(): Mongo.Cursor<OutLevel>; } -declare namespace Meteor { +declare module "meteor/reywood:publish-composite" { function publishComposite( - name : string, - config : PublishCompositeConfig<any>|PublishCompositeConfig<any>[] - ) : void; + name: string, + config: PublishCompositeConfig<any> | PublishCompositeConfig<any>[] + ): void; function publishComposite( - name : string, - configFunc : (...args : any[]) => - PublishCompositeConfig<any>|PublishCompositeConfig<any>[] - ) : void; -} - -declare module 'meteor/meteor' { - namespace Meteor { - function publishComposite( - name : string, - config : PublishCompositeConfig<any>|PublishCompositeConfig<any>[] - ) : void; - - function publishComposite( - name : string, - configFunc : (...args : any[]) => - PublishCompositeConfig<any>|PublishCompositeConfig<any>[] - ) : void; - } + name: string, + configFunc: (...args: any[]) => + PublishCompositeConfig<any> | PublishCompositeConfig<any>[] + ): void; } diff --git a/types/meteor-publish-composite/meteor-publish-composite-tests.ts b/types/meteor-publish-composite/meteor-publish-composite-tests.ts index fa08882c3c..72f96ddc4d 100644 --- a/types/meteor-publish-composite/meteor-publish-composite-tests.ts +++ b/types/meteor-publish-composite/meteor-publish-composite-tests.ts @@ -1,14 +1,14 @@ - +import { publishComposite } from 'meteor/reywood:publish-composite'; import User = Meteor.User; -interface IPost { _id : string, authorId : string }; -interface IComment { authorId : string }; -var Posts : Mongo.Collection<IPost> = new Mongo.Collection<IPost>('Posts'); -var Comments : Mongo.Collection<IComment> = new Mongo.Collection<IComment>('Comments'); +interface IPost { _id: string, authorId: string }; +interface IComment { authorId: string }; +var Posts: Mongo.Collection<IPost> = new Mongo.Collection<IPost>('Posts'); +var Comments: Mongo.Collection<IComment> = new Mongo.Collection<IComment>('Comments'); // Server -Meteor.publishComposite('topTenPosts', { - find: function() : Mongo.Cursor<IPost> { +publishComposite('topTenPosts', { + find: function(): Mongo.Cursor<IPost> { // Find top ten highest scoring posts return Posts.find({}, { sort: { score: -1 }, limit: 10 }); }, @@ -45,7 +45,7 @@ Meteor.publishComposite('topTenPosts', { }); // Server -Meteor.publishComposite('postsByUser', function(userId, limit) { +publishComposite('postsByUser', function(userId, limit) { return { find: function() { // Find posts made by user. Note arguments for callback function diff --git a/types/meteor/index.d.ts b/types/meteor/index.d.ts index e600d9c7de..1d95ba429d 100644 --- a/types/meteor/index.d.ts +++ b/types/meteor/index.d.ts @@ -17,9 +17,11 @@ /// <reference path="./random.d.ts" /> /// <reference path="./reactive-var.d.ts" /> /// <reference path="./server-render.d.ts" /> +/// <reference path="./service-configuration.d.ts" /> /// <reference path="./session.d.ts" /> /// <reference path="./templating.d.ts" /> /// <reference path="./tiny-test.d.ts" /> /// <reference path="./tools.d.ts" /> /// <reference path="./tracker.d.ts" /> +/// <reference path="./underscore.d.ts" /> /// <reference path="./webapp.d.ts" /> diff --git a/types/meteor/service-configuration.d.ts b/types/meteor/service-configuration.d.ts new file mode 100644 index 0000000000..54e036eb05 --- /dev/null +++ b/types/meteor/service-configuration.d.ts @@ -0,0 +1,9 @@ +declare module "meteor/service-configuration" { + interface Configuration { + appId: string; + secret: string; + } + class ServiceConfiguration { + configurations: Mongo.Collection<Configuration>; + } +} diff --git a/types/meteor/tsconfig.json b/types/meteor/tsconfig.json index aaf8ac862c..6185ff9c61 100644 --- a/types/meteor/tsconfig.json +++ b/types/meteor/tsconfig.json @@ -31,12 +31,14 @@ "mongo.d.ts", "reactive-var.d.ts", "server-render.d.ts", + "service-configuration.d.ts", "session.d.ts", "tiny-test.d.ts", "tools.d.ts", "tracker.d.ts", + "underscore.d.ts", "webapp.d.ts", "index.d.ts", "meteor-tests.ts" ] -} \ No newline at end of file +} diff --git a/types/meteor/underscore.d.ts b/types/meteor/underscore.d.ts new file mode 100644 index 0000000000..489c5d65d6 --- /dev/null +++ b/types/meteor/underscore.d.ts @@ -0,0 +1,4 @@ +declare module "meteor/underscore" { + import * as _ from 'underscore'; + export { _ }; +} From ee3de0d55e53f4d227ea97317d7a845c2c6896d2 Mon Sep 17 00:00:00 2001 From: Kevin Greene <30637378+kevin-greene-ck@users.noreply.github.com> Date: Fri, 13 Oct 2017 14:54:32 -0700 Subject: [PATCH 328/433] [thrift] Update with an interface for struct-like classes (#20536) * Additionally, mark Transport constructor args as optional --- types/thrift/index.d.ts | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/types/thrift/index.d.ts b/types/thrift/index.d.ts index 69d546e901..e5c62102ae 100644 --- a/types/thrift/index.d.ts +++ b/types/thrift/index.d.ts @@ -50,6 +50,11 @@ export interface TStruct { fname: string; } +export interface TStructLike { + read(input: TProtocol): void; + write(output: TProtocol): void; +} + export interface TTransport { commitPosition(): void; rollbackPosition(): void; @@ -115,6 +120,10 @@ export interface TProtocol { skip(type: Thrift.Type): void; } +export interface HttpHeaders { + [name: string]: number | string | string[] | undefined; +} + export interface SeqId2Service { [seqid: number]: string; } @@ -158,7 +167,7 @@ export class XHRConnection extends NodeJS.EventEmitter { recv_buf: string; transport: TTransport; protocol: TProtocol; - headers: http.OutgoingHttpHeaders; + headers: HttpHeaders; constructor(host: string, port: number, options?: ConnectOptions); getXmlHttpRequestObject(): XMLHttpRequest; flush(): void; @@ -176,7 +185,7 @@ export interface WSOptions { host: string; port: number; path: string; - headers: http.OutgoingHttpHeaders; + headers: HttpHeaders; } export class WSConnection extends NodeJS.EventEmitter { @@ -224,7 +233,7 @@ export interface ServiceOptions<TProcessor, THandler> { export interface ServerOptions<TProcessor, THandler> extends ServiceOptions<TProcessor, THandler> { cors?: string[]; files?: string; - headers?: http.IncomingHttpHeaders; + headers?: HttpHeaders; services?: ServiceMap<TProcessor, THandler>; tls?: tls.TlsOptions; } @@ -233,7 +242,7 @@ export interface ConnectOptions { transport?: TTransportConstructor; protocol?: TProtocolConstructor; path?: string; - headers?: http.OutgoingHttpHeaders; + headers?: HttpHeaders; https?: boolean; debug?: boolean; max_attempts?: number; @@ -247,7 +256,7 @@ export interface WSConnectOptions { transport?: TTransportConstructor; protocol?: TProtocolConstructor; path?: string; - headers?: http.OutgoingHttpHeaders; + headers?: HttpHeaders; secure?: boolean; wsOptions?: WSOptions; } @@ -311,7 +320,7 @@ export function createServer<TProcessor, THandler>( export function createWebServer<TProcessor, THandler>(options: WebServerOptions<TProcessor, THandler>): http.Server | tls.Server; export class TBufferedTransport implements TTransport { - constructor(buffer: Buffer | undefined, callback: TTransportCallback); + constructor(buffer?: Buffer, callback?: TTransportCallback); static receiver(callback: (trans: TBufferedTransport, seqid: number) => void, seqid: number): (data: Buffer) => void; commitPosition(): void; rollbackPosition(): void; @@ -331,7 +340,7 @@ export class TBufferedTransport implements TTransport { } export class TFramedTransport implements TTransport { - constructor(buffer: Buffer | undefined, callback: TTransportCallback); + constructor(buffer?: Buffer, callback?: TTransportCallback); static receiver(callback: (trans: TFramedTransport, seqid: number) => void, seqid: number): (data: Buffer) => void; commitPosition(): void; rollbackPosition(): void; @@ -351,7 +360,7 @@ export class TFramedTransport implements TTransport { } export interface TTransportConstructor { - new (buffer: Buffer | undefined, callback: TTransportCallback): TTransport; + new (buffer?: Buffer, callback?: TTransportCallback): TTransport; } export class TBinaryProtocol implements TProtocol { From 2d3eb914e52b6a938356482a623f2e5ba29deff7 Mon Sep 17 00:00:00 2001 From: neukym <acgt2@cam.ac.uk> Date: Fri, 13 Oct 2017 23:08:35 +0100 Subject: [PATCH 329/433] [@types/three] Adds morphTargetInfluences and morphTargetDictionary to mesh on three-core.d.ts (#20490) * Adds morphTargetInfluences and morphTargetDictionary to mesh class * Replaces morphTargetDictionary object type in three-core.d.ts --- types/three/three-core.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index ea63110057..d2a09b808e 100644 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -4837,6 +4837,8 @@ export class Mesh extends Object3D { geometry: Geometry|BufferGeometry; material: Material | Material[]; drawMode: TrianglesDrawModes; + morphTargetInfluences?: number[]; + morphTargetDictionary?: { [key: string]: number; }; setDrawMode(drawMode: TrianglesDrawModes): void; updateMorphTargets(): void; From cd5ff7b75ddbfb383e6b75c0df8fb9d5e7179962 Mon Sep 17 00:00:00 2001 From: Brandon Matheson <Cityonhill93@gmail.com> Date: Fri, 13 Oct 2017 17:09:00 -0500 Subject: [PATCH 330/433] Added CurrentUserIsSiteAdmin to ContextInfo (#20563) --- types/sharepoint/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/sharepoint/index.d.ts b/types/sharepoint/index.d.ts index 708e32b2e1..4401c8c308 100644 --- a/types/sharepoint/index.d.ts +++ b/types/sharepoint/index.d.ts @@ -323,6 +323,7 @@ interface ContextInfo extends SPClientTemplates.RenderContext { ContentTypesEnabled: boolean; CurrentSelectedItems: boolean; CurrentUserId: number; + CurrentUserIsSiteAdmin: boolean; EnableMinorVersions: boolean; ExternalDataList: boolean; HasRelatedCascadeLists: boolean; From 447df163c1943fd5b432b1dd6a40489375f9aa4d Mon Sep 17 00:00:00 2001 From: kekraft <kekraft@users.noreply.github.com> Date: Fri, 13 Oct 2017 15:09:17 -0700 Subject: [PATCH 331/433] Fix left chunks and right chunks typing. (#20567) leftChunks() and rightChunks() returns an array of MergeViewDiffChunk. --- types/codemirror/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/codemirror/index.d.ts b/types/codemirror/index.d.ts index 88989b2ef2..16e2611781 100644 --- a/types/codemirror/index.d.ts +++ b/types/codemirror/index.d.ts @@ -1239,14 +1239,14 @@ declare namespace CodeMirror { * Left side of the merge view. */ left: DiffView; - leftChunks(): MergeViewDiffChunk; + leftChunks(): MergeViewDiffChunk[]; leftOriginal(): Editor; /** * Right side of the merge view. */ right: DiffView; - rightChunks(): MergeViewDiffChunk; + rightChunks(): MergeViewDiffChunk[]; rightOriginal(): Editor; /** From f7520ec7bc7e52cce7b2f346a60576723906c166 Mon Sep 17 00:00:00 2001 From: nicholashza <nicholashza@gmail.com> Date: Sat, 14 Oct 2017 00:09:36 +0200 Subject: [PATCH 332/433] Add Howler 2.0.5 definitions (#20551) Definitions for playerror and xhrWithCredentials introduced in Howler 2.0.5 https://github.com/goldfire/howler.js/blob/master/CHANGELOG.md#205-october-6-2017 --- types/howler/index.d.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/types/howler/index.d.ts b/types/howler/index.d.ts index 2e4f43ae20..0fd16e5f0d 100644 --- a/types/howler/index.d.ts +++ b/types/howler/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for howler.js v2.0.3 +// Type definitions for howler.js v2.0.5 // Project: https://github.com/goldfire/howler.js -// Definitions by: Pedro Casaubon <https://github.com/xperiments>, Todd Dukart <https://github.com/tdukart>, Alexander Leon <https://github.com/alien35> +// Definitions by: Pedro Casaubon <https://github.com/xperiments>, Todd Dukart <https://github.com/tdukart>, Alexander Leon <https://github.com/alien35>, Nicholas Higgins <https://github.com/nicholashza> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped interface HowlerGlobal { @@ -38,9 +38,11 @@ interface IHowlProperties { rate?: number; pool?: number; format?: string[] | string; + xhrWithCredentials?: boolean; onload?: () => void; onloaderror?: (soundId: number, error: any) => void; onplay?: (soundId: number) => void; + onplayerror?: (soundId: number, error: any) => void; onend?: (soundId: number) => void; onpause?: (soundId: number) => void; onstop?: (soundId: number) => void; @@ -78,6 +80,7 @@ interface Howl { on(event: 'load', callback: () => void, id?: number): this; on(event: 'loaderror', callback: (soundId: number, error: any) => void, id?: number): this; on(event: 'play', callback: (soundId: number) => void, id?: number): this; + on(event: 'playerror', callback: (soundId: number, error: any) => void, id?: number): this; on(event: 'end', callback: (soundId: number) => void, id?: number): this; on(event: 'pause', callback: (soundId: number) => void, id?: number): this; on(event: 'stop', callback: (soundId: number) => void, id?: number): this; @@ -91,6 +94,7 @@ interface Howl { once(event: 'load', callback: () => void, id?: number): this; once(event: 'loaderror', callback: (soundId: number, error: any) => void, id?: number): this; once(event: 'play', callback: (soundId: number) => void, id?: number): this; + once(event: 'playerror', callback: (soundId: number, error: any) => void, id?: number): this; once(event: 'end', callback: (soundId: number) => void, id?: number): this; once(event: 'pause', callback: (soundId: number) => void, id?: number): this; once(event: 'stop', callback: (soundId: number) => void, id?: number): this; From 97d6470bb0122a7a47dc17afbcd0c7fd75ce8617 Mon Sep 17 00:00:00 2001 From: Azoson <haphazardgermmaker@gmail.com> Date: Sat, 14 Oct 2017 07:09:54 +0900 Subject: [PATCH 333/433] [google-apps-script] Modify type definitions of functions which can return null (#20517) * Fix type definition of `SpreadsheetApp.getActive` * Fix type definition of `SpreadsheetApp.getActiveSpreadsheet` --- types/google-apps-script/google-apps-script.spreadsheet.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/google-apps-script/google-apps-script.spreadsheet.d.ts b/types/google-apps-script/google-apps-script.spreadsheet.d.ts index e710fcfb4a..22f2aff3e6 100644 --- a/types/google-apps-script/google-apps-script.spreadsheet.d.ts +++ b/types/google-apps-script/google-apps-script.spreadsheet.d.ts @@ -1085,7 +1085,7 @@ declare namespace GoogleAppsScript { /** * Returns the currently active spreadsheet, or null if there is none. */ - getActive(): Spreadsheet; + getActive(): Spreadsheet | null; /** * Returns the range of cells that is currently considered active. */ @@ -1097,7 +1097,7 @@ declare namespace GoogleAppsScript { /** * Returns the currently active spreadsheet, or null if there is none. */ - getActiveSpreadsheet(): Spreadsheet; + getActiveSpreadsheet(): Spreadsheet | null; /** * Returns an instance of the spreadsheet's user-interface environment that allows the script to add features like menus, dialogs, and sidebars. */ From 547f6713f1ddc549077c871b42a243ed79214f07 Mon Sep 17 00:00:00 2001 From: Alvis Tang <alvis@users.noreply.github.com> Date: Fri, 13 Oct 2017 23:10:28 +0100 Subject: [PATCH 334/433] highland: add missing definitions & correct some others (#20446) * chore(highland): add Alvis Tang as an author * fix(highland): correct the definition of push A push function should have a type of ```ts (err: Error | null, x?: R | Highland.Nil) => void ``` such that it can accept ```ts push(null, _nil); ``` to signal the end of the stream. * fix(highland): add the missing defintion of uniq and uniqBy See http://highlandjs.org/#uniq * fix(highland): correct the definition of each As a special case, `done` is allowed to attach to the stream after `each`. See http://highlandjs.org/#each * fix(highland): correct the definition of merge The merge function should not take any argument. Also the return of a merged stream should be the union type of the origins. See http://highlandjs.org/#merge * fix(highland): add the missing definition of toPromise. See http://highlandjs.org/#toPromise --- types/highland/highland-tests.ts | 2 +- types/highland/index.d.ts | 57 +++++++++++++++++++++++++++++--- 2 files changed, 53 insertions(+), 6 deletions(-) diff --git a/types/highland/highland-tests.ts b/types/highland/highland-tests.ts index 2e4d4eca33..e97c5c9416 100644 --- a/types/highland/highland-tests.ts +++ b/types/highland/highland-tests.ts @@ -289,7 +289,7 @@ barStream = fooStream.flatten<Bar>(); fooStream = fooStream.fork(); -fooStream = fooStream.merge(fooStreamStream); +fooStream = _<Foo>([fooStream, fooStream]).merge(); fooStream = fooStream.observe(); diff --git a/types/highland/index.d.ts b/types/highland/index.d.ts index 79282adca3..e6a9a838b4 100644 --- a/types/highland/index.d.ts +++ b/types/highland/index.d.ts @@ -3,6 +3,7 @@ // Definitions by: Bart van der Schoor <https://github.com/Bartvds> // Hugo Wood <https://github.com/hgwood> // William Yu <https://github.com/iwllyu> +// Alvis HT Tang <https://github.com/alvis> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference types="node" /> @@ -71,8 +72,9 @@ interface HighlandStatic { * @api public */ <R>(): Highland.Stream<R>; + <R>(xs: Highland.Stream<R>[]): Highland.Stream<R>; <R>(xs: R[]): Highland.Stream<R>; - <R>(xs: (push: (err: Error, x?: R) => void, next: () => void) => void): Highland.Stream<R>; + <R>(xs: (push: (err: Error | null, x?: R) => void, next: () => void) => void): Highland.Stream<R>; <R>(xs: Highland.Stream<R>): Highland.Stream<R>; <R>(xs: NodeJS.ReadableStream): Highland.Stream<R>; @@ -560,7 +562,7 @@ declare namespace Highland { * @param {Function} f - the function to handle errors and values * @api public */ - consume<U>(f: (err: Error, x: R, push: (err: Error, value?: U) => void, next: () => void) => void): Stream<U>; + consume<U>(f: (err: Error, x: R, push: (err: Error | null, value?: U) => void, next: () => void) => void): Stream<U>; /** * Holds off pushing data events downstream until there has been no more @@ -625,7 +627,7 @@ declare namespace Highland { * @param {Function} f - the function to pass all errors to * @api public */ - errors(f: (err: Error, push: (err: Error, x?: R) => void) => void): Stream<R>; + errors(f: (err: Error, push: (err: Error | null, x?: R) => void) => void): Stream<R>; /** * Creates a new Stream including only the values which pass a truth test. @@ -903,6 +905,28 @@ declare namespace Highland { */ throttle(ms: number): Stream<R>; + /** + * Filters out all duplicate values from the stream and keeps only the first + * occurence of each value, using === to define equality. + * + * @id uniq + * @section Streams + * @name Stream.uniq() + * @api public + */ + uniq(): Stream<R>; + + /** + * Filters out all duplicate values from the stream and keeps only the first + * occurence of each value, using the provided function to define equality. + * + * @id uniqBy + * @section Streams + * @name Stream.uniqBy() + * @api public + */ + uniqBy(f: (a: R, b: R) => boolean): Stream<R>; + /** * A convenient form of filter, which returns all objects from a Stream * match a set of property values. @@ -1012,7 +1036,7 @@ declare namespace Highland { * _([txt, md]).merge(); * // => contents of foo.txt, bar.txt and baz.txt in the order they were read */ - merge (ys: Stream<Stream<R>>): Stream<R>; + merge(): Stream<R>; /** * Observes a stream, allowing you to handle values as they are emitted, without @@ -1207,7 +1231,7 @@ declare namespace Highland { * @param {Function} f - the iterator function * @api public */ - each(f: (x: R) => void): void; + each(f: (x: R) => void): Pick<Stream<R>, 'done'>; /** * Pipes a Highland Stream to a [Node Writable Stream](http://nodejs.org/api/stream.html#stream_class_stream_writable) @@ -1282,6 +1306,29 @@ declare namespace Highland { * }); */ toCallback(cb: (err?: Error, x?: R) => void): void; + + /** + * Converts the result of a stream to Promise. + * + * If the stream contains a single value, it will return + * with the single item emitted by the stream (if present). + * If the stream is empty, `undefined` will be returned. + * If an error is encountered in the stream, this function will stop + * consumption and call `cb` with the error. + * If the stream contains more than one item, it will stop consumption + * and reject with an error. + * + * @id toPromise + * @section Consumption + * @name Stream.toPromise(PromiseCtor) + * @param {Function} PromiseCtor - Promises/A+ compliant constructor + * @api public + * + * _([1, 2, 3, 4]).collect().toPromise(Promise).then(function (result) { + * // parameter result will be [1,2,3,4] + * }); + */ + toPromise(promiseConstructor: PromiseConstructor): PromiseLike<R>; } interface PipeableStream<T, R> extends Stream<R> {} From 4ef648f6ea7ab8ebf481b1c95d0aad623229f9fd Mon Sep 17 00:00:00 2001 From: jakpaw <jakub.pawlot@syncron.com> Date: Sat, 14 Oct 2017 00:10:48 +0200 Subject: [PATCH 335/433] [lunr] Fix Index.query return value and add term to Clause (#20524) --- types/lunr/index.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/lunr/index.d.ts b/types/lunr/index.d.ts index 42ab5ae41f..fb0466ed1a 100644 --- a/types/lunr/index.d.ts +++ b/types/lunr/index.d.ts @@ -332,7 +332,7 @@ declare namespace lunr { * @param {lunr.Index~queryBuilder} fn - A function that is used to build the query. * @returns {lunr.Index~Result[]} */ - query(fn: Index.QueryBuilder): Index.Result; + query(fn: Index.QueryBuilder): Index.Result[]; /** * Prepares the index for JSON serialization. @@ -550,6 +550,7 @@ declare namespace lunr { * match that term against a {@link lunr.Index}. * * @typedef {Object} lunr.Query~Clause + * @property {string} term * @property {string[]} fields - The fields in an index this clause should be matched against. * @property {number} [boost=1] - Any boost that should be applied when matching this clause. * @property {number} [editDistance] - Whether the term should have fuzzy matching applied, and how fuzzy the match should be. @@ -557,6 +558,7 @@ declare namespace lunr { * @property {number} [wildcard=0] - Whether the term should have wildcards appended or prepended. */ interface Clause { + term: string; fields: string[]; boost: number; editDistance: number; From 69737ccec98aee79eb16ecd63b74a80ae366a6ed Mon Sep 17 00:00:00 2001 From: Piotr Roszatycki <piotr.roszatycki@gmail.com> Date: Sat, 14 Oct 2017 00:11:17 +0200 Subject: [PATCH 336/433] ioredis: showFriendlyErrorStack option (#20459) --- types/ioredis/index.d.ts | 4 ++++ types/ioredis/ioredis-tests.ts | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/types/ioredis/index.d.ts b/types/ioredis/index.d.ts index 39904b8b53..7a36c4b7a6 100644 --- a/types/ioredis/index.d.ts +++ b/types/ioredis/index.d.ts @@ -711,6 +711,10 @@ declare module IORedis { * If you are using the hiredis parser, it's highly recommended to enable this option. Create another instance with dropBufferSupport disabled for other commands that you want to return binary instead of string: */ dropBufferSupport?: boolean; + /** + * Whether to show a friendly error stack. Will decrease the performance significantly. + */ + showFriendlyErrorStack?: boolean; } interface ScanStreamOption { diff --git a/types/ioredis/ioredis-tests.ts b/types/ioredis/ioredis-tests.ts index 9fbd9ec1bd..373fba52c5 100644 --- a/types/ioredis/ioredis-tests.ts +++ b/types/ioredis/ioredis-tests.ts @@ -30,7 +30,8 @@ new Redis({ family: 4, // 4 (IPv4) or 6 (IPv6) password: 'auth', db: 0, - retryStrategy: function() { return false; } + retryStrategy: function() { return false; }, + showFriendlyErrorStack: true }) var pub = new Redis(); From 3a6713a0f94f9ab133d30b764cc0d62b90536ded Mon Sep 17 00:00:00 2001 From: Sergii Paryzhskyi <parizhskiy@gmail.com> Date: Sat, 14 Oct 2017 00:12:41 +0200 Subject: [PATCH 337/433] Add definitions date-arithmetic package (#20555) * Add type definitions and config to new package date-arithmetic * Add tests for date-arithmetic package --- .../date-arithmetic/date-arithmetic-tests.ts | 11 +++++++++ types/date-arithmetic/index.d.ts | 17 ++++++++++++++ types/date-arithmetic/tsconfig.json | 23 +++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 types/date-arithmetic/date-arithmetic-tests.ts create mode 100644 types/date-arithmetic/index.d.ts create mode 100644 types/date-arithmetic/tsconfig.json diff --git a/types/date-arithmetic/date-arithmetic-tests.ts b/types/date-arithmetic/date-arithmetic-tests.ts new file mode 100644 index 0000000000..11e2dba3c6 --- /dev/null +++ b/types/date-arithmetic/date-arithmetic-tests.ts @@ -0,0 +1,11 @@ +import dateArithmetic = require('dateArithmetic'); + +dateArithmetic.add(new Date(2010, 7, 23), 2, 'second'); +dateArithmetic.add(new Date(2010, 7, 23), 2, 'minutes'); +dateArithmetic.add(new Date(2010, 7, 23), 2, 'hours'); +dateArithmetic.add(new Date(2010, 7, 23), 2, 'day'); +dateArithmetic.add(new Date(2010, 7, 23), 2, 'week'); +dateArithmetic.add(new Date(2010, 7, 23), 2, 'month'); +dateArithmetic.add(new Date(2010, 7, 23), 2, 'year'); +dateArithmetic.add(new Date(2010, 7, 23), 2, 'decade'); +dateArithmetic.add(new Date(2010, 7, 23), 2, 'century'); diff --git a/types/date-arithmetic/index.d.ts b/types/date-arithmetic/index.d.ts new file mode 100644 index 0000000000..813b408730 --- /dev/null +++ b/types/date-arithmetic/index.d.ts @@ -0,0 +1,17 @@ +// Type definitions for date-arithmetic v3.1.0 +// Project: https://github.com/jquense/date-math +// Definitions by: Sergii Paryzhskyi <https://github.com/HeeL> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +type Unit = 'second' | 'minutes' | 'hours' | 'day' | 'week' | 'month' | 'year' | 'decade' | 'century'; + +/** dateArithmetic Public Instance Methods */ +interface dateArithmeticStatic { + /** Add specified amount of units to a provided date and return new date as a result */ + add(date: Date, num: number, unit: Unit): Date; +} + +declare module 'dateArithmetic' { + const dateArithmetic: dateArithmeticStatic; + export = dateArithmetic; +} diff --git a/types/date-arithmetic/tsconfig.json b/types/date-arithmetic/tsconfig.json new file mode 100644 index 0000000000..d8942e343c --- /dev/null +++ b/types/date-arithmetic/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "date-arithmetic-tests.ts" + ] +} \ No newline at end of file From cfce6f295fe9c6327a37ecb395e4c5f92f184711 Mon Sep 17 00:00:00 2001 From: C Lentfort <clentfort@users.noreply.github.com> Date: Sat, 14 Oct 2017 00:16:29 +0200 Subject: [PATCH 338/433] Add typings for cleave.js (#20550) * Add typings for cleave.js Add typings for cleave.js and <Cleave> react component. * Fix lint errors * fixup! Fix lint errors * fixup! Fix lint errors --- types/cleave.js/cleave.js-tests.tsx | 17 ++++++++ types/cleave.js/index.d.ts | 10 +++++ types/cleave.js/options.d.ts | 60 +++++++++++++++++++++++++++++ types/cleave.js/react/index.d.ts | 12 ++++++ types/cleave.js/tsconfig.json | 27 +++++++++++++ types/cleave.js/tslint.json | 1 + 6 files changed, 127 insertions(+) create mode 100644 types/cleave.js/cleave.js-tests.tsx create mode 100644 types/cleave.js/index.d.ts create mode 100644 types/cleave.js/options.d.ts create mode 100644 types/cleave.js/react/index.d.ts create mode 100644 types/cleave.js/tsconfig.json create mode 100644 types/cleave.js/tslint.json diff --git a/types/cleave.js/cleave.js-tests.tsx b/types/cleave.js/cleave.js-tests.tsx new file mode 100644 index 0000000000..3bbc6570a3 --- /dev/null +++ b/types/cleave.js/cleave.js-tests.tsx @@ -0,0 +1,17 @@ +import * as React from "react"; +import Cleave = require("cleave.js"); +import CleaveReact = require("cleave.js/react"); + +const Example1 = () => { + Cleave("#my-input", { phone: true }); +}; + +const ExampleReact1 = (props: any) => { + return ( + <CleaveReact + value="test" + className="form-control" + options={{ phone: true }} + /> + ); +}; diff --git a/types/cleave.js/index.d.ts b/types/cleave.js/index.d.ts new file mode 100644 index 0000000000..1ec788cd8f --- /dev/null +++ b/types/cleave.js/index.d.ts @@ -0,0 +1,10 @@ +// Type definitions for cleave.js 1.0 +// Project: https://github.com/nosir/cleave.js +// Definitions by: C Lentfort <https://github.com/clentfort> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +import { CleaveOptions } from './options'; + +declare function Cleave(selector: string, options: CleaveOptions): void; +export = Cleave; diff --git a/types/cleave.js/options.d.ts b/types/cleave.js/options.d.ts new file mode 100644 index 0000000000..4320881649 --- /dev/null +++ b/types/cleave.js/options.d.ts @@ -0,0 +1,60 @@ +// Credit Card Options +export type CreditCardType = + | "amex" + | "dankort" + | "diners" + | "discover" + | "instapayment" + | "jcb" + | "maestro" + | "mastercard" + | "uatp" + | "unknown" + | "visa"; +export type CreditCardTypeChangeHandler = (owner: HTMLInputElement, type: CreditCardType) => void; + +export interface CleaveOptions { + creditCard?: boolean; + creditCardStrictMode?: boolean; + creditCardType?: string; + onCreditCardTypeChanged?: CreditCardTypeChangeHandler; +} + +// Phone Options +export interface CleaveOptions { + phone?: boolean; + phoneRegionCode?: string; +} + +// Date Options +export interface CleaveOptions { + date?: boolean; + datePattern?: ReadonlyArray<string>; +} + +// Numeral Options +export type NumeralThousandsGroupStyleType = "lakh" | "thousand" | "wan"; + +export interface CleaveOptions { + numeral?: boolean; + numeralDecimalMark?: string; + numeralDecimalScale?: number; + numeralIntegerScale?: number; + numeralPositiveOnly?: boolean; + numeralThousandsGroupStyle?: NumeralThousandsGroupStyleType; + stripLeadingZeroes?: boolean; +} + +// Extra Options +export interface CleaveOptions { + blocks?: ReadonlyArray<number>; + copyDelimiter?: boolean; + delimiter?: string; + delimiters?: ReadonlyArray<string>; + initValue?: any; + lowercase?: boolean; + numericOnly?: boolean; + prefix?: string; + rawValueTrimPrefix?: boolean; + uppercase?: boolean; +} diff --git a/types/cleave.js/react/index.d.ts b/types/cleave.js/react/index.d.ts new file mode 100644 index 0000000000..6d40ea4ed5 --- /dev/null +++ b/types/cleave.js/react/index.d.ts @@ -0,0 +1,12 @@ +import * as React from "react"; +import { CleaveOptions } from "../options"; + +type InitHandler = (owner: React.ReactInstance) => void; + +interface Props extends React.InputHTMLAttributes<HTMLInputElement> { + onInit?: InitHandler; + options: CleaveOptions; +} + +declare var Cleave: React.ComponentClass<Props>; +export = Cleave; diff --git a/types/cleave.js/tsconfig.json b/types/cleave.js/tsconfig.json new file mode 100644 index 0000000000..40e69541bc --- /dev/null +++ b/types/cleave.js/tsconfig.json @@ -0,0 +1,27 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "dom", + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "jsx": "react" + }, + "files": [ + "cleave.js-tests.tsx", + "index.d.ts", + "options.d.ts", + "react/index.d.ts" + ] +} diff --git a/types/cleave.js/tslint.json b/types/cleave.js/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/cleave.js/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 1c2daecf2d91194df00b98ff363b6721ae1b5203 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sz=C5=91ke=20Szabolcs?= <szabolcsx95@gmail.com> Date: Sat, 14 Oct 2017 01:18:51 +0300 Subject: [PATCH 339/433] react-virtualized: add missing properties to GridCellRangeProps, fix incorrect type for overscanIndicesGetter in Grid.defaultProps (#20412) * react-virtualized: added missing properties to GridCellRangeProps * react-virtualized: corrected type of overscanIndicesGetter in Grid.defaultProps * react-virtualized: added name to "Definitions by" section --- types/react-virtualized/dist/es/Grid.d.ts | 11 +++++++++-- types/react-virtualized/index.d.ts | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/types/react-virtualized/dist/es/Grid.d.ts b/types/react-virtualized/dist/es/Grid.d.ts index cc4cbaa9ac..9a6492f368 100644 --- a/types/react-virtualized/dist/es/Grid.d.ts +++ b/types/react-virtualized/dist/es/Grid.d.ts @@ -126,7 +126,14 @@ export type GridCellRangeProps = { rowStartIndex: number, rowStopIndex: number, scrollLeft: number, - scrollTop: number + scrollTop: number, + deferredMeasurementCache: CellMeasurerCache, + horizontalOffsetAdjustment: number, + parent: Grid | List | Table, + styleCache: Map<React.CSSProperties>, + verticalOffsetAdjustment: number, + visibleColumnIndices: VisibleCellRange, + visibleRowIndices: VisibleCellRange } export type GridCellRangeRenderer = (params: GridCellRangeProps) => React.ReactNode[]; @@ -375,7 +382,7 @@ export class Grid extends PureComponent<GridProps, GridState> { onScroll: () => null, onSectionRendered: () => null, overscanColumnCount: 0, - overscanIndicesGetter: OverscanIndicesGetterParams, + overscanIndicesGetter: OverscanIndicesGetter, overscanRowCount: 10, role: 'grid', scrollingResetTimeInterval: typeof DEFAULT_SCROLLING_RESET_TIME_INTERVAL, diff --git a/types/react-virtualized/index.d.ts b/types/react-virtualized/index.d.ts index 8bd32e7b26..12febb7edf 100644 --- a/types/react-virtualized/index.d.ts +++ b/types/react-virtualized/index.d.ts @@ -3,6 +3,7 @@ // Definitions by: Kalle Ott <https://github.com/kaoDev> // John Gunther <https://github.com/guntherjh> // Konstantin Nesterov <https://github.com/wasd171> +// Szőke Szabolcs <https://github.com/szabolcsx> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 From e21416d4a7e08fffe4a2d964ffcbd82ee7c009a8 Mon Sep 17 00:00:00 2001 From: Alexander Leon <aleon6@u.rochester.edu> Date: Fri, 13 Oct 2017 17:19:04 -0500 Subject: [PATCH 340/433] add missing option (#20401) --- types/co-body/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/co-body/index.d.ts b/types/co-body/index.d.ts index 0393db0a94..a2c15152e6 100644 --- a/types/co-body/index.d.ts +++ b/types/co-body/index.d.ts @@ -26,6 +26,7 @@ declare namespace CoBody { strict?: boolean; queryString?: qs.IParseOptions; jsonTypes?: string[]; + returnRawBody?: boolean; formTypes?: string[]; textTypes?: string[]; encoding?: string; From 1b06f10a97e674d08574daffaeb59ee44a67a162 Mon Sep 17 00:00:00 2001 From: Andrew Fong <fongandrew@users.noreply.github.com> Date: Fri, 13 Oct 2017 16:30:32 -0700 Subject: [PATCH 341/433] Update Enzyme version number Previous updates to this type definition were for changes introduced in Enzyme 3.0 and 3.1, not 2.8. --- types/enzyme/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/enzyme/index.d.ts b/types/enzyme/index.d.ts index e5275fa93a..cb5caa4f3c 100644 --- a/types/enzyme/index.d.ts +++ b/types/enzyme/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Enzyme 2.8 +// Type definitions for Enzyme 3.1 // Project: https://github.com/airbnb/enzyme // Definitions by: Marian Palkus <https://github.com/MarianPalkus> // Cap3 <http://www.cap3.de> From b16f84c80cf31b2a84622710d0a52b620bc824f7 Mon Sep 17 00:00:00 2001 From: Mikael Hermansson <mikael@hermansson.io> Date: Sat, 14 Oct 2017 07:57:07 +0200 Subject: [PATCH 342/433] webpack-env: Added type defaults (#19132) Allows omitting type arguments to the various forms of 'require', falling back to 'any' instead of the TypeScript default of '{}'. --- types/webpack-env/index.d.ts | 23 +++++++++++++++++------ types/webpack-env/webpack-env-tests.ts | 3 +++ 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/types/webpack-env/index.d.ts b/types/webpack-env/index.d.ts index cb1250fc08..ea9db09289 100644 --- a/types/webpack-env/index.d.ts +++ b/types/webpack-env/index.d.ts @@ -11,6 +11,7 @@ declare namespace __WebpackModuleApi { interface RequireContext { keys(): string[]; + (id: string): any; <T>(id: string): T; resolve(id: string): string; } @@ -19,6 +20,7 @@ declare namespace __WebpackModuleApi { /** * Returns the exports from a dependency. The call is sync. No request to the server is fired. The compiler ensures that the dependency is available. */ + (path: string): any; <T>(path: string): T; /** * Behaves similar to require.ensure, but the callback is called with the exports of each dependency in the paths array. There is no option to provide a chunk name. @@ -29,8 +31,9 @@ declare namespace __WebpackModuleApi { * * This creates a chunk. The chunk can be named. If a chunk with this name already exists, the dependencies are merged into that chunk and that chunk is used. */ - ensure: (paths: string[], callback: (require: <T>(path: string) => T) => void, chunkName?: string) => void; - context: (path: string, deep?: boolean, filter?: RegExp) => RequireContext; + ensure(paths: string[], callback: (require: (id: string) => any) => void, chunkName?: string): void; + ensure(paths: string[], callback: (require: <T>(id: string) => T) => void, chunkName?: string): void; + context(path: string, deep?: boolean, filter?: RegExp): RequireContext; /** * Returns the module id of a dependency. The call is sync. No request to the server is fired. The compiler ensures that the dependency is available. * @@ -56,6 +59,7 @@ declare namespace __WebpackModuleApi { interface Module { exports: any; require(id: string): any; + require<T>(id: string): T; id: string; filename: string; loaded: boolean; @@ -104,7 +108,8 @@ declare namespace __WebpackModuleApi { * The data will be available at module.hot.data on the new module. * @param callback */ - dispose<T>(callback: (data: T) => void): void; + dispose(callback: (data: any) => void): void; + dispose(callback: <T>(data: T) => void): void; /** * Add a one time handler, which is executed when the current module code is replaced. * Here you should destroy/remove any persistent resource you have claimed/created. @@ -112,12 +117,14 @@ declare namespace __WebpackModuleApi { * The data will be available at module.hot.data on the new module. * @param callback */ + addDisposeHandler(callback: (data: any) => void): void; addDisposeHandler<T>(callback: (data: T) => void): void; /** * Remove a handler. * This can useful to add a temporary dispose handler. You could i. e. replace code while in the middle of a multi-step async function. * @param callback */ + removeDisposeHandler(callback: (data: any) => void): void; removeDisposeHandler<T>(callback: (data: T) => void): void; /** * Throws an exceptions if status() is not idle. @@ -166,7 +173,7 @@ declare namespace __WebpackModuleApi { removeStatusHandler(callback: (status: string) => void): void; active: boolean; - data: {}; + data: any; } interface AcceptOptions { @@ -178,7 +185,11 @@ declare namespace __WebpackModuleApi { * Indicates that apply() is automatically called by check function */ autoApply?: boolean; - } + } + + type __Require1 = (id: string) => any; + type __Require2 = <T>(id: string) => T; + type RequireLambda = __Require1 & __Require2; } interface NodeRequire extends __WebpackModuleApi.RequireFunction { @@ -209,7 +220,7 @@ declare var __webpack_require__: any; * @param chunkId The id for the chunk to load. * @param callback A callback function called once the chunk is loaded. */ -declare var __webpack_chunk_load__: (chunkId: any, callback: (require: (id: string) => any) => void) => void; +declare var __webpack_chunk_load__: (chunkId: any, callback: (require: __WebpackModuleApi.RequireLambda) => void) => void; /** * Access to the internal object of all modules. diff --git a/types/webpack-env/webpack-env-tests.ts b/types/webpack-env/webpack-env-tests.ts index 43d1ff3605..61fb3f6c55 100644 --- a/types/webpack-env/webpack-env-tests.ts +++ b/types/webpack-env/webpack-env-tests.ts @@ -7,6 +7,9 @@ interface SomeModule { let someModule = require<SomeModule>('./someModule'); someModule.someMethod(); +let otherModule = require('./otherModule'); +otherModule.otherMethod(); + let context = require.context('./somePath', true); let contextModule = context<SomeModule>('./someModule'); From 3ad090bdf675a2ddd7c4fcb5ccee9d4a3bb23b1d Mon Sep 17 00:00:00 2001 From: Kalle Ott <kalle.ott@cap3.de> Date: Sat, 14 Oct 2017 08:16:16 +0200 Subject: [PATCH 343/433] created typings for react-native-tab-view (#20575) --- types/react-native-tab-view/index.d.ts | 229 ++++++++++++++++++ .../react-native-tab-view-tests.tsx | 53 ++++ types/react-native-tab-view/tsconfig.json | 17 ++ types/react-native-tab-view/tslint.json | 8 + 4 files changed, 307 insertions(+) create mode 100644 types/react-native-tab-view/index.d.ts create mode 100644 types/react-native-tab-view/react-native-tab-view-tests.tsx create mode 100644 types/react-native-tab-view/tsconfig.json create mode 100644 types/react-native-tab-view/tslint.json diff --git a/types/react-native-tab-view/index.d.ts b/types/react-native-tab-view/index.d.ts new file mode 100644 index 0000000000..92fc92a21d --- /dev/null +++ b/types/react-native-tab-view/index.d.ts @@ -0,0 +1,229 @@ +// Type definitions for react-native-tab-view 0.0 +// Project: https://github.com/react-native-community/react-native-tab-view +// Definitions by: Kalle Ott <https://github.com/kaoDev> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.4 + +import { PureComponent, ReactNode } from 'react' +import { + Animated, + StyleProp, + ViewStyle, + NavigationTransitionSpec, +} from 'react-native' + +export type Key = { key: string } +export type RouteBase = Key & { testID?: string } + +export type Route<T extends RouteBase = RouteBase> = T + +export type NavigationState<T extends Key> = { + index: number + routes: T[] +} + +export type Scene<T> = { + route: T + focused: boolean + index: number +} + +export type Layout = { + height: number + width: number +} + +export type SceneRendererProps<T extends RouteBase = RouteBase> = { + layout: Layout & { + measured: boolean + } + navigationState: NavigationState<T> + position: Animated.Value + jumpToIndex: (index: number) => void + getLastPosition: () => number + subscribe: ( + event: SubscriptionName, + callback: () => void + ) => { remove: () => void } +} + +export type SubscriptionName = 'reset' | 'position' + +export type TransitionProps = { + progress: number +} + +export type TransitionConfigurator = ( + currentTransitionProps: TransitionProps, + nextTransitionProps: TransitionProps +) => NavigationTransitionSpec + +export type PagerProps = { + configureTransition?: TransitionConfigurator + animationEnabled?: boolean + swipeEnabled?: boolean + swipeDistanceThreshold?: number + swipeVelocityThreshold?: number + children?: ReactNode +} + +export type TabViewAnimatedProps< + T extends RouteBase = RouteBase +> = PagerProps & { + navigationState: NavigationState<T> + onIndexChange: (index: number) => void + onPositionChange?: (props: { value: number }) => void + initialLayout?: Layout + canJumpToTab?: (route: T) => boolean + renderPager?: (props: SceneRendererProps<T> & PagerProps) => ReactNode + renderScene: (props: SceneRendererProps<T> & Scene<T>) => ReactNode + renderHeader?: (props: SceneRendererProps<T>) => ReactNode + renderFooter?: (props: SceneRendererProps<T>) => ReactNode + lazy?: boolean + style?: StyleProp<ViewStyle> +} + +export class TabViewAnimated<T extends Route = Route> extends PureComponent< + TabViewAnimatedProps<T>, + any +> {} + +export type GestureEvent = { + nativeEvent: { + changedTouches: any[] + identifier: number + locationX: number + locationY: number + pageX: number + pageY: number + target: number + timestamp: number + touches: any[] + } +} + +export type GestureState = { + stateID: number + moveX: number + moveY: number + x0: number + y0: number + dx: number + dy: number + vx: number + vy: number + numberActiveTouches: number +} + +export type GestureHandler = (event: GestureEvent, state: GestureState) => void + +export type TabViewPagerPanProps< + T extends RouteBase = RouteBase +> = SceneRendererProps<T> & { + configureTransition?: TransitionConfigurator + animationEnabled?: boolean + swipeEnabled?: boolean + swipeDistanceThreshold?: number + swipeVelocityThreshold?: number + onSwipeStart?: GestureHandler + onSwipeEnd?: GestureHandler + children?: ReactNode +} + +export type DefaultTransitionSpec = { + timing: typeof Animated.spring + tension: 300 + friction: 35 +} + +export class TabViewPagerPan<T extends Route = Route> extends PureComponent< + TabViewPagerPanProps<T>, + void +> { + static defaultProps: { + configureTransition: () => DefaultTransitionSpec + initialLayout: { + height: 0 + width: 0 + } + swipeDistanceThreshold: 120 + swipeVelocityThreshold: 0.25 + } +} + +export type ScrollEvent = { + nativeEvent: { + contentOffset: { + x: number + y: number + } + } +} + +export type TabViewPagerScrollProps< + T extends RouteBase = RouteBase +> = SceneRendererProps<T> & { + animationEnabled?: boolean + swipeEnabled?: boolean + children?: ReactNode +} + +export class TabViewPagerScroll<T extends Route = Route> extends PureComponent< + TabViewPagerScrollProps<T>, + any +> {} + +export type PageScrollEvent = { + nativeEvent: { + position: number + offset: number + } +} + +export type PageScrollState = 'dragging' | 'settling' | 'idle' + +export type TabViewPagerAndroidProps< + T extends RouteBase = RouteBase +> = SceneRendererProps<T> & { + animationEnabled?: boolean + swipeEnabled?: boolean + children?: ReactNode +} + +export class TabViewPagerAndroid<T extends Route = Route> extends PureComponent< + TabViewPagerAndroidProps<T>, + void +> {} + +export type IndicatorProps< + T extends RouteBase = RouteBase +> = SceneRendererProps<T> & { + width: Animated.Value +} + +export type TabBarProps<T extends RouteBase = RouteBase> = SceneRendererProps< + T +> & { + scrollEnabled?: boolean + pressColor?: string + pressOpacity?: number + getLabelText?: (scene: Scene<T>) => string | undefined | null + renderLabel?: (scene: Scene<T>) => ReactNode + renderIcon?: (scene: Scene<T>) => ReactNode + renderBadge?: (scene: Scene<T>) => ReactNode + renderIndicator?: (props: IndicatorProps<T>) => ReactNode + onTabPress?: (scene: Scene<T>) => void + tabStyle?: StyleProp<ViewStyle> + indicatorStyle?: StyleProp<ViewStyle> + labelStyle?: StyleProp<ViewStyle> + style?: StyleProp<ViewStyle> +} + +export class TabBar<T extends Route = Route> extends PureComponent< + TabBarProps<T>, + any +> {} + +export function SceneMap(scenes: { + [key: string]: (props: any) => ReactNode +}): (props: { route: Route }) => ReactNode diff --git a/types/react-native-tab-view/react-native-tab-view-tests.tsx b/types/react-native-tab-view/react-native-tab-view-tests.tsx new file mode 100644 index 0000000000..f57952cbc4 --- /dev/null +++ b/types/react-native-tab-view/react-native-tab-view-tests.tsx @@ -0,0 +1,53 @@ +import { PureComponent } from 'react' +import { View, StyleSheet } from 'react-native' +import { + TabViewAnimated, + TabBar, + SceneMap, + TabBarProps, + RouteBase, +} from 'react-native-tab-view' + +const FirstRoute = () => ( + <View style={[styles.container, { backgroundColor: '#ff4081' }]} /> +) +const SecondRoute = () => ( + <View style={[styles.container, { backgroundColor: '#673ab7' }]} /> +) + +class TabViewExample extends PureComponent { + state: { index: number; routes: Array<RouteBase & { title: string }> } = { + index: 0, + routes: [ + { key: 'first', title: 'First' }, + { key: 'second', title: 'Second' }, + ], + } + + _handleIndexChange = (index: number) => this.setState({ index }) + + _renderHeader = (props: TabBarProps) => <TabBar {...props} /> + + _renderScene = SceneMap({ + first: FirstRoute, + second: SecondRoute, + }) + + render() { + return ( + <TabViewAnimated + style={styles.container} + navigationState={this.state} + renderScene={this._renderScene} + renderHeader={this._renderHeader} + onIndexChange={this._handleIndexChange} + /> + ) + } +} + +const styles = StyleSheet.create({ + container: { + flex: 1, + }, +}) diff --git a/types/react-native-tab-view/tsconfig.json b/types/react-native-tab-view/tsconfig.json new file mode 100644 index 0000000000..7449ff01dd --- /dev/null +++ b/types/react-native-tab-view/tsconfig.json @@ -0,0 +1,17 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": ["es6"], + "jsx": "preserve", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": ["../"], + "types": [], + "noEmit": true, + "strictFunctionTypes": true, + "forceConsistentCasingInFileNames": true + }, + "files": ["index.d.ts", "react-native-tab-view-tests.tsx"] +} diff --git a/types/react-native-tab-view/tslint.json b/types/react-native-tab-view/tslint.json new file mode 100644 index 0000000000..80ebdb1ea5 --- /dev/null +++ b/types/react-native-tab-view/tslint.json @@ -0,0 +1,8 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "semicolon": false, + "interface-over-type-literal": false, + "prefer-method-signature": false + } +} From 6e44bf2866474bbe38aec2c57e45df6955812f6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adem=20O=CC=88zay?= <ozayadem@gmail.com> Date: Sat, 14 Oct 2017 12:50:02 +0300 Subject: [PATCH 344/433] fixed parametere order of getImageSource --- types/react-native-vector-icons/Icon.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/react-native-vector-icons/Icon.d.ts b/types/react-native-vector-icons/Icon.d.ts index 07fd38f91b..d178837626 100644 --- a/types/react-native-vector-icons/Icon.d.ts +++ b/types/react-native-vector-icons/Icon.d.ts @@ -187,8 +187,8 @@ export interface TabBarItemIOSProps extends TabBarItemProperties { export class Icon extends React.Component<IconProps, any> { static getImageSource( name: string, - color: string, - size?: number + size?: number, + color?: string, ): Promise<ImageSource>; static loadFont( file?: string From 1cd9e56f724e689731b472835d221244e0c2ca2c Mon Sep 17 00:00:00 2001 From: Li Jinyao <lijinyao@jinyaodeMacBook-Pro.local> Date: Sun, 15 Oct 2017 02:28:41 +0800 Subject: [PATCH 345/433] setCookieSync options is also optional --- types/tough-cookie/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/tough-cookie/index.d.ts b/types/tough-cookie/index.d.ts index 7aeb7b111f..ee431874dc 100644 --- a/types/tough-cookie/index.d.ts +++ b/types/tough-cookie/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for tough-cookie 2.3 // Project: https://github.com/salesforce/tough-cookie // Definitions by: Leonard Thieu <https://github.com/leonard-thieu> +// LiJinyao <https://github.com/LiJinyao> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 @@ -159,7 +160,7 @@ export class CookieJar { setCookie(cookieOrString: Cookie | string, currentUrl: string, options: CookieJar.SetCookieOptions, cb: (err: Error | null, cookie: Cookie) => void): void; setCookie(cookieOrString: Cookie | string, currentUrl: string, cb: (err: Error, cookie: Cookie) => void): void; - setCookieSync(cookieOrString: Cookie | string, currentUrl: string, options: CookieJar.SetCookieOptions): void; + setCookieSync(cookieOrString: Cookie | string, currentUrl: string, options?: CookieJar.SetCookieOptions): void; getCookies(currentUrl: string, options: CookieJar.GetCookiesOptions, cb: (err: Error | null, cookies: Cookie[]) => void): void; getCookies(currentUrl: string, cb: (err: Error | null, cookies: Cookie[]) => void): void; From 9df54d39a0d6cc468db82ac19db2114b0e0c75d3 Mon Sep 17 00:00:00 2001 From: Marek Buchar <czbuchi@gmail.com> Date: Sun, 15 Oct 2017 19:31:19 +0200 Subject: [PATCH 346/433] simple definition for babylon-walk (#20546) * babylon-walk * babylon-walk - added missing tests * babylon-walk - missing tsconfig.json * Visitor types enumeration fix * deleted test file * added test file back * removed tsconfig * added tsconfig back * tsconfig fix * downgraded typescript version to 2.3 * strictFunctionTypes: true * test definitions fix * added tslint.json and fixed most of issues * fix for "'Instead of export =-ing a namespace, use the body of the namespace as the module body." --- types/babylon-walk/babylon-walk-tests.ts | 37 +++++++ types/babylon-walk/index.d.ts | 118 +++++++++++++++++++++++ types/babylon-walk/tsconfig.json | 23 +++++ types/babylon-walk/tslint.json | 1 + 4 files changed, 179 insertions(+) create mode 100644 types/babylon-walk/babylon-walk-tests.ts create mode 100644 types/babylon-walk/index.d.ts create mode 100644 types/babylon-walk/tsconfig.json create mode 100644 types/babylon-walk/tslint.json diff --git a/types/babylon-walk/babylon-walk-tests.ts b/types/babylon-walk/babylon-walk-tests.ts new file mode 100644 index 0000000000..f9489941df --- /dev/null +++ b/types/babylon-walk/babylon-walk-tests.ts @@ -0,0 +1,37 @@ +import * as babelTypes from "babel-types"; +import * as walk from "babylon-walk"; +declare function assert(expr: boolean): void; + +const simpleVisitors: walk.visitors<walk.SimpleVisitor> = { + File: (node: babelTypes.Node, state: any) => { + state.out = 1; + }, +}; + +const ancestorVisitors: walk.visitors<walk.AncestorVisitor> = { + File: (node: babelTypes.Node, state: any, ancestors: babelTypes.Node[]) => { + state.out = 2; + }, +}; + +const recursiveVisitors: walk.visitors<walk.RecursiveVisitor> = { + File: (node: babelTypes.Node, state: any, next: (node: babelTypes.Node) => void) => { + state.out = 3; + }, +}; + +const node: any = { + type: "File", +}; + +const state: any = { + out: 0, +}; +walk.simple(node, simpleVisitors, state); +assert(state.out === 1); + +walk.ancestor(node, ancestorVisitors, state); +assert(state.out === 2); + +walk.recursive(node, recursiveVisitors, state); +assert(state.out === 3); diff --git a/types/babylon-walk/index.d.ts b/types/babylon-walk/index.d.ts new file mode 100644 index 0000000000..02c3f39d10 --- /dev/null +++ b/types/babylon-walk/index.d.ts @@ -0,0 +1,118 @@ +// Type definitions for babylon-walk 3.10 +// Project: https://github.com/pugjs/babylon-walk +// Definitions by: Marek Buchar <https://github.com/czbuchi> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +import * as babelTypes from 'babel-types'; + +export type coreTypes = babelTypes.ArrayExpression | babelTypes.AssignmentExpression | babelTypes.BinaryExpression | + babelTypes.Directive | babelTypes.DirectiveLiteral | babelTypes.BlockStatement | babelTypes.BreakStatement | + babelTypes.CallExpression | babelTypes.CatchClause | babelTypes.ConditionalExpression | + babelTypes.ContinueStatement | babelTypes.DebuggerStatement | babelTypes.DoWhileStatement | + babelTypes.EmptyStatement | babelTypes.ExpressionStatement | babelTypes.File | babelTypes.ForInStatement | + babelTypes.ForStatement | babelTypes.FunctionDeclaration | babelTypes.FunctionExpression | babelTypes.Identifier | + babelTypes.IfStatement | babelTypes.LabeledStatement | babelTypes.StringLiteral | babelTypes.NumericLiteral | + babelTypes.NullLiteral | babelTypes.BooleanLiteral | babelTypes.RegExpLiteral | babelTypes.LogicalExpression | + babelTypes.MemberExpression | babelTypes.NewExpression | babelTypes.Program | babelTypes.ObjectExpression | + babelTypes.ObjectMethod | babelTypes.ObjectProperty | babelTypes.RestElement | babelTypes.ReturnStatement | + babelTypes.SequenceExpression | babelTypes.SwitchCase | babelTypes.SwitchStatement | babelTypes.ThisExpression | + babelTypes.ThrowStatement | babelTypes.TryStatement | babelTypes.UnaryExpression | babelTypes.UpdateExpression | + babelTypes.VariableDeclaration | babelTypes.VariableDeclarator | babelTypes.WhileStatement | + babelTypes.WithStatement; + +export type es2015Types = babelTypes.AssignmentPattern | babelTypes.ArrayPattern | babelTypes.ArrowFunctionExpression | + babelTypes.ClassBody | babelTypes.ClassDeclaration | babelTypes.ClassExpression | + babelTypes.ExportAllDeclaration | babelTypes.ExportDefaultDeclaration | babelTypes.ExportNamedDeclaration | + babelTypes.ExportSpecifier | babelTypes.ForOfStatement | babelTypes.ImportDeclaration | + babelTypes.ImportDefaultSpecifier | babelTypes.ImportNamespaceSpecifier | babelTypes.ImportSpecifier | + babelTypes.MetaProperty | babelTypes.ClassMethod | babelTypes.ObjectPattern | babelTypes.SpreadElement | + babelTypes.Super | babelTypes.TaggedTemplateExpression | babelTypes.TemplateElement | babelTypes.TemplateLiteral | + babelTypes.YieldExpression | babelTypes.AwaitExpression | babelTypes.BindExpression | babelTypes.ClassProperty | + babelTypes.Decorator | babelTypes.DoExpression | babelTypes.ExportDefaultSpecifier | + babelTypes.ExportNamespaceSpecifier; + +export type flowTypes = babelTypes.AnyTypeAnnotation | babelTypes.ArrayTypeAnnotation | babelTypes.BooleanTypeAnnotation | + babelTypes.BooleanLiteralTypeAnnotation | babelTypes.NullLiteralTypeAnnotation | babelTypes.ClassImplements | + babelTypes.DeclareClass | babelTypes.DeclareFunction | babelTypes.DeclareInterface | babelTypes.DeclareModule | + babelTypes.DeclareTypeAlias | babelTypes.DeclareVariable | babelTypes.FunctionTypeAnnotation | + babelTypes.FunctionTypeParam | babelTypes.GenericTypeAnnotation | babelTypes.InterfaceExtends | + babelTypes.InterfaceDeclaration | babelTypes.IntersectionTypeAnnotation | babelTypes.MixedTypeAnnotation | + babelTypes.NullableTypeAnnotation | babelTypes.NumberTypeAnnotation | babelTypes.ObjectTypeAnnotation | + babelTypes.ObjectTypeCallProperty | babelTypes.ObjectTypeIndexer | babelTypes.ObjectTypeProperty | + babelTypes.QualifiedTypeIdentifier | babelTypes.StringLiteralTypeAnnotation | babelTypes.StringTypeAnnotation | + babelTypes.ThisTypeAnnotation | babelTypes.TupleTypeAnnotation | babelTypes.TypeofTypeAnnotation | + babelTypes.TypeAlias | babelTypes.TypeAnnotation | babelTypes.TypeCastExpression | + babelTypes.TypeParameterDeclaration | babelTypes.TypeParameterInstantiation | babelTypes.UnionTypeAnnotation | + babelTypes.VoidTypeAnnotation; + +export type jsxTypes = babelTypes.JSXAttribute | babelTypes.JSXClosingElement | babelTypes.JSXElement | + babelTypes.JSXEmptyExpression | babelTypes.JSXExpressionContainer | babelTypes.JSXIdentifier | + babelTypes.JSXMemberExpression | babelTypes.JSXNamespacedName | babelTypes.JSXOpeningElement | + babelTypes.JSXSpreadAttribute | babelTypes.JSXText; + +export type miscTypes = babelTypes.Noop | babelTypes.ParenthesizedExpression; + +export type NodeTypes = coreTypes | es2015Types | flowTypes | jsxTypes | miscTypes; + +export interface coreVisitors<V> { + ArrayExpression?: V; AssignmentExpression?: V; BinaryExpression?: V; Directive?: V; DirectiveLiteral?: V; + BlockStatement?: V; BreakStatement?: V; CallExpression?: V; CatchClause?: V; ConditionalExpression?: V; + ContinueStatement?: V; DebuggerStatement?: V; DoWhileStatement?: V; EmptyStatement?: V; ExpressionStatement?: V; + File?: V; ForInStatement?: V; ForStatement?: V; FunctionDeclaration?: V; FunctionExpression?: V; Identifier?: V; + IfStatement?: V; LabeledStatement?: V; StringLiteral?: V; NumericLiteral?: V; NullLiteral?: V; BooleanLiteral?: V; + RegExpLiteral?: V; LogicalExpression?: V; MemberExpression?: V; NewExpression?: V; Program?: V; + ObjectExpression?: V; ObjectMethod?: V; ObjectProperty?: V; RestElement?: V; ReturnStatement?: V; + SequenceExpression?: V; SwitchCase?: V; SwitchStatement?: V; ThisExpression?: V; ThrowStatement?: V; + TryStatement?: V; UnaryExpression?: V; UpdateExpression?: V; VariableDeclaration?: V; VariableDeclarator?: V; + WhileStatement?: V; WithStatement?: V; +} + +export interface es2015Visitors<V> { + AssignmentPattern?: V; ArrayPattern?: V; ArrowFunctionExpression?: V; ClassBody?: V; ClassDeclaration?: V; + ClassExpression?: V; ExportAllDeclaration?: V; ExportDefaultDeclaration?: V; ExportNamedDeclaration?: V; + ExportSpecifier?: V; ForOfStatement?: V; ImportDeclaration?: V; ImportDefaultSpecifier?: V; + ImportNamespaceSpecifier?: V; ImportSpecifier?: V; MetaProperty?: V; ClassMethod?: V; ObjectPattern?: V; + SpreadElement?: V; Super?: V; TaggedTemplateExpression?: V; TemplateElement?: V; TemplateLiteral?: V; + YieldExpression?: V; AwaitExpression?: V; BindExpression?: V; ClassProperty?: V; Decorator?: V; DoExpression?: V; + ExportDefaultSpecifier?: V; ExportNamespaceSpecifier?: V; +} + +export interface flowVisitors<V> { + AnyTypeAnnotation?: V; ArrayTypeAnnotation?: V; BooleanTypeAnnotation?: V; BooleanLiteralTypeAnnotation?: V; + NullLiteralTypeAnnotation?: V; ClassImplements?: V; DeclareClass?: V; DeclareFunction?: V; DeclareInterface?: V; + DeclareModule?: V; DeclareTypeAlias?: V; DeclareVariable?: V; FunctionTypeAnnotation?: V; FunctionTypeParam?: V; + GenericTypeAnnotation?: V; InterfaceExtends?: V; InterfaceDeclaration?: V; IntersectionTypeAnnotation?: V; + MixedTypeAnnotation?: V; NullableTypeAnnotation?: V; NumberTypeAnnotation?: V; ObjectTypeAnnotation?: V; + ObjectTypeCallProperty?: V; ObjectTypeIndexer?: V; ObjectTypeProperty?: V; QualifiedTypeIdentifier?: V; + StringLiteralTypeAnnotation?: V; StringTypeAnnotation?: V; ThisTypeAnnotation?: V; TupleTypeAnnotation?: V; + TypeofTypeAnnotation?: V; TypeAlias?: V; TypeAnnotation?: V; TypeCastExpression?: V; TypeParameterDeclaration?: V; + TypeParameterInstantiation?: V; UnionTypeAnnotation?: V; VoidTypeAnnotation?: V; +} + +export interface jsxVisitors<V> { + JSXAttribute?: V; JSXClosingElement?: V; JSXElement?: V; JSXEmptyExpression?: V; JSXExpressionContainer?: V; + JSXIdentifier?: V; JSXMemberExpression?: V; JSXNamespacedName?: V; JSXOpeningElement?: V; JSXSpreadAttribute?: V; + JSXText?: V; +} + +export interface miscVisitors<V> { + Noop?: V; ParenthesizedExpression?: V; +} + +export interface visitors<V> extends coreVisitors<V>, es2015Visitors<V>, flowVisitors<V>, jsxVisitors<V>, miscVisitors<V> { +} + +export type Visitor = (commentBlock: NodeTypes, state: any) => void; + +export type SimpleVisitor = (node: NodeTypes, state: any) => void; + +export type AncestorVisitor = (node: NodeTypes, state: any, ancestors: babelTypes.Node[]) => void; + +export type AncestorStatelessVisitor = (node: NodeTypes, state: any, ancestors: babelTypes.Node[]) => void; + +export type RecursiveVisitor = (node: NodeTypes, state: any, next: (node: babelTypes.Node) => void) => void; + +export function simple(node: NodeTypes, visitors: visitors<SimpleVisitor>, state: any): void; +export function ancestor(node: NodeTypes, visitors: visitors<AncestorVisitor>, state: any): void; +export function recursive(node: NodeTypes, visitors: visitors<RecursiveVisitor>, state: any): void; diff --git a/types/babylon-walk/tsconfig.json b/types/babylon-walk/tsconfig.json new file mode 100644 index 0000000000..9e1d7c33b7 --- /dev/null +++ b/types/babylon-walk/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "babylon-walk-tests.ts" + ] +} \ No newline at end of file diff --git a/types/babylon-walk/tslint.json b/types/babylon-walk/tslint.json new file mode 100644 index 0000000000..2750cc0197 --- /dev/null +++ b/types/babylon-walk/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } \ No newline at end of file From 7683a9c4bcce2965f2e03e7f43c5a32e62a5570b Mon Sep 17 00:00:00 2001 From: Andy Hanson <anhans@microsoft.com> Date: Mon, 16 Oct 2017 08:20:53 -0700 Subject: [PATCH 347/433] Fix lint --- types/storybook__addon-knobs/storybook__addon-knobs-tests.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/storybook__addon-knobs/storybook__addon-knobs-tests.tsx b/types/storybook__addon-knobs/storybook__addon-knobs-tests.tsx index 9c2eed1e1b..9e1c1dbd6b 100644 --- a/types/storybook__addon-knobs/storybook__addon-knobs-tests.tsx +++ b/types/storybook__addon-knobs/storybook__addon-knobs-tests.tsx @@ -53,9 +53,9 @@ stories.add('with all knobs', () => { enumSelectOptions[SomeEnum.Type1] = "Type 1"; enumSelectOptions[SomeEnum.Type2] = "Type 2"; const genericSelect2: SomeEnum = select<SomeEnum>('Some generic select', enumSelectOptions, SomeEnum.Type1); - + const genericArray: string[] = array<string>('Some generic array', ['red', 'green', 'blue']); - + const genericKnob: X = knob<X>('Some generic knob', { value: 'a', type: 'text' }); const style = { From ca3ec2cfe85c5a4f46abfcba70b016d8bdfcb56e Mon Sep 17 00:00:00 2001 From: Rogier Schouten <github@workingcode.nl> Date: Mon, 16 Oct 2017 17:26:29 +0200 Subject: [PATCH 348/433] fix Node net.createConnection() and Socket#connect() signatures. (#19456) * fix net.createConnection() and Socket#connect() signatures. * fix lint errors. * Fix review comments. --- types/node/index.d.ts | 47 +++++++++++++++++++++++++++++++++---- types/node/node-tests.ts | 50 +++++++++++++++++++++++++++++++++++----- 2 files changed, 86 insertions(+), 11 deletions(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index ee1511b99d..cd60a6052f 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -2401,6 +2401,30 @@ declare module "dns" { declare module "net" { import * as stream from "stream"; import * as events from "events"; + import * as dns from "dns"; + + export interface SocketConstructorOpts { + fd?: number; + allowHalfOpen?: boolean; + readable?: boolean; + writable?: boolean; + } + + export interface TcpSocketConnectOpts { + port: number; + host?: string; + localAddress?: string; + localPort?: number; + hints?: number; + family?: number; + lookup?: (hostname: string, options: dns.LookupOneOptions, callback: (err: NodeJS.ErrnoException, address: string, family: number) => void) => void; + } + + export interface IpcSocketConnectOpts { + path: string; + } + + export type SocketConnectOpts = TcpSocketConnectOpts | IpcSocketConnectOpts; export interface Socket extends stream.Duplex { // Extended base methods @@ -2411,8 +2435,10 @@ declare module "net" { write(str: string, encoding?: string, fd?: string): boolean; write(data: any, encoding?: string, callback?: Function): void; - connect(port: number, host?: string, connectionListener?: Function): void; - connect(path: string, connectionListener?: Function): void; + connect(options: SocketConnectOpts, connectionListener?: Function): this; + connect(port: number, host: string, connectionListener?: Function): this; + connect(port: number, connectionListener?: Function): this; + connect(path: string, connectionListener?: Function): this; bufferSize: number; setEncoding(encoding?: string): this; destroy(err?: any): void; @@ -2515,7 +2541,7 @@ declare module "net" { } export var Socket: { - new(options?: { fd?: number; allowHalfOpen?: boolean; readable?: boolean; writable?: boolean; }): Socket; + new(options?: SocketConstructorOpts): Socket; }; export interface ListenOptions { @@ -2592,12 +2618,23 @@ declare module "net" { prependOnceListener(event: "error", listener: (err: Error) => void): this; prependOnceListener(event: "listening", listener: () => void): this; } + + export interface TcpNetConnectOpts extends TcpSocketConnectOpts, SocketConstructorOpts { + timeout?: number; + } + + export interface IpcNetConnectOpts extends IpcSocketConnectOpts, SocketConstructorOpts { + timeout?: number; + } + + export type NetConnectOpts = TcpNetConnectOpts | IpcNetConnectOpts; + export function createServer(connectionListener?: (socket: Socket) => void): Server; export function createServer(options?: { allowHalfOpen?: boolean, pauseOnConnect?: boolean }, connectionListener?: (socket: Socket) => void): Server; - export function connect(options: { port: number, host?: string, localAddress?: string, localPort?: number, family?: number, allowHalfOpen?: boolean; }, connectionListener?: Function): Socket; + export function connect(options: NetConnectOpts, connectionListener?: Function): Socket; export function connect(port: number, host?: string, connectionListener?: Function): Socket; export function connect(path: string, connectionListener?: Function): Socket; - export function createConnection(options: { port: number, host?: string, localAddress?: string, localPort?: string, family?: number, allowHalfOpen?: boolean; }, connectionListener?: Function): Socket; + export function createConnection(options: NetConnectOpts, connectionListener?: Function): Socket; export function createConnection(port: number, host?: string, connectionListener?: Function): Socket; export function createConnection(path: string, connectionListener?: Function): Socket; export function isIP(input: string): number; diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index 8e53bf74d4..596b709bbb 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -2355,6 +2355,19 @@ namespace console_tests { /////////////////////////////////////////////////// namespace net_tests { + { + const connectOpts: net.NetConnectOpts = { + allowHalfOpen: true, + family: 4, + host: "localhost", + port: 443, + timeout: 10E3 + }; + const socket: net.Socket = net.createConnection(connectOpts, (): void => { + // nothing + }); + } + { let server = net.createServer(); // Check methods which return server instances by chaining calls @@ -2375,6 +2388,13 @@ namespace net_tests { } { + const constructorOpts: net.SocketConstructorOpts = { + fd: 1, + allowHalfOpen: false, + readable: false, + writable: false + }; + /** * net.Socket - events.EventEmitter * 1. close @@ -2386,12 +2406,7 @@ namespace net_tests { * 7. lookup * 8. timeout */ - let _socket: net.Socket = new net.Socket({ - fd: 1, - allowHalfOpen: false, - readable: false, - writable: false - }); + let _socket: net.Socket = new net.Socket(constructorOpts); let bool: boolean; let buffer: Buffer; @@ -2399,6 +2414,29 @@ namespace net_tests { let str: string; let num: number; + let ipcConnectOpts: net.IpcSocketConnectOpts = { + path: "/" + }; + let tcpConnectOpts: net.TcpSocketConnectOpts = { + family: 4, + hints: 0, + host: "localhost", + localAddress: "10.0.0.1", + localPort: 1234, + lookup: (_hostname: string, _options: dns.LookupOneOptions, _callback: (err: NodeJS.ErrnoException, address: string, family: number) => void): void => { + // nothing + }, + port: 80 + }; + _socket = _socket.connect(ipcConnectOpts); + _socket = _socket.connect(ipcConnectOpts, (): void => {}); + _socket = _socket.connect(tcpConnectOpts); + _socket = _socket.connect(tcpConnectOpts, (): void => {}); + _socket = _socket.connect(80, "localhost"); + _socket = _socket.connect(80, "localhost", (): void => {}); + _socket = _socket.connect(80); + _socket = _socket.connect(80, (): void => {}); + /// addListener _socket = _socket.addListener("close", had_error => { From 75bd2c47180a20d4c05a842dff846a6246b4a3a1 Mon Sep 17 00:00:00 2001 From: Andy Hanson <anhans@microsoft.com> Date: Mon, 16 Oct 2017 08:28:20 -0700 Subject: [PATCH 349/433] Unify signatures --- types/verror/index.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/types/verror/index.d.ts b/types/verror/index.d.ts index 391a373a6c..bddce14924 100644 --- a/types/verror/index.d.ts +++ b/types/verror/index.d.ts @@ -30,8 +30,7 @@ declare class VError extends Error { cause(): Error | undefined; constructor(options: VError.Options | Error, message: string, ...params: any[]); - constructor(message: string, ...params: any[]); - constructor(); + constructor(message?: string, ...params: any[]); } declare namespace VError { From 55a284355b800bef9c4652f8b3fe9b0e56287a2b Mon Sep 17 00:00:00 2001 From: Martijn Schrage <martijn@oblomov.com> Date: Mon, 16 Oct 2017 17:47:24 +0200 Subject: [PATCH 350/433] Add missing method readline.emitKeypressEvents to package node (#19733) --- types/node/index.d.ts | 1 + types/node/node-tests.ts | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index cd60a6052f..89cf3156f0 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -1818,6 +1818,7 @@ declare module "readline" { export function createInterface(options: ReadLineOptions): ReadLine; export function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number): void; + export function emitKeypressEvents(stream: NodeJS.ReadableStream, interface?: ReadLine): void; export function moveCursor(stream: NodeJS.WritableStream, dx: number | string, dy: number | string): void; export function clearLine(stream: NodeJS.WritableStream, dir: number): void; export function clearScreenDown(stream: NodeJS.WritableStream): void; diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index 596b709bbb..161388b3a7 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -1671,6 +1671,14 @@ namespace readline_tests { readline.cursorTo(stream, x, y); } + { + let stream: NodeJS.ReadableStream; + let readLineInterface: readline.ReadLine; + + readline.emitKeypressEvents(stream); + readline.emitKeypressEvents(stream, readLineInterface); + } + { let stream: NodeJS.WritableStream; let dx: number | string; From b5ae36a6f7ba27de29d2265fefc22b9f84b0ade1 Mon Sep 17 00:00:00 2001 From: Andy Hanson <anhans@microsoft.com> Date: Mon, 16 Oct 2017 08:50:21 -0700 Subject: [PATCH 351/433] Fix lint --- types/currency-formatter/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/currency-formatter/index.d.ts b/types/currency-formatter/index.d.ts index 88eb453d2d..d88f18ea7c 100644 --- a/types/currency-formatter/index.d.ts +++ b/types/currency-formatter/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for currency-formatter 1.3.0 +// Type definitions for currency-formatter 1.3 // Project: https://github.com/smirzaei/currency-formatter#readme // Definitions by: Mohamed Hegazy <https://github.com/mhegazy> // David Paz <https://github.com/davidmpaz> From 3d41a7ce5928531e128b563a25f92c48ab30ca64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicu=20Micleu=C8=99anu?= <micnic90@gmail.com> Date: Mon, 16 Oct 2017 19:03:27 +0300 Subject: [PATCH 352/433] react: Add support for more SVG elements (#19871) --- types/react/index.d.ts | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/types/react/index.d.ts b/types/react/index.d.ts index e22b8e2890..62f1c6c151 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -3342,16 +3342,46 @@ declare namespace React { } interface ReactSVG { - svg: SVGFactory; animate: SVGFactory; circle: SVGFactory; + clipPath: SVGFactory; defs: SVGFactory; + desc: SVGFactory; ellipse: SVGFactory; + feBlend: SVGFactory; + feColorMatrix: SVGFactory; + feComponentTransfer: SVGFactory; + feComposite: SVGFactory; + feConvolveMatrix: SVGFactory; + feDiffuseLighting: SVGFactory; + feDisplacementMap: SVGFactory; + feDistantLight: SVGFactory; + feDropShadow: SVGFactory; + feFlood: SVGFactory; + feFuncA: SVGFactory; + feFuncB: SVGFactory; + feFuncG: SVGFactory; + feFuncR: SVGFactory; + feGaussianBlur: SVGFactory; + feImage: SVGFactory; + feMerge: SVGFactory; + feMergeNode: SVGFactory; + feMorphology: SVGFactory; + feOffset: SVGFactory; + fePointLight: SVGFactory; + feSpecularLighting: SVGFactory; + feSpotLight: SVGFactory; + feTile: SVGFactory; + feTurbulence: SVGFactory; + filter: SVGFactory; + foreignObject: SVGFactory; g: SVGFactory; image: SVGFactory; line: SVGFactory; linearGradient: SVGFactory; + marker: SVGFactory; mask: SVGFactory; + metadata: SVGFactory; path: SVGFactory; pattern: SVGFactory; polygon: SVGFactory; @@ -3359,10 +3389,14 @@ declare namespace React { radialGradient: SVGFactory; rect: SVGFactory; stop: SVGFactory; + svg: SVGFactory; + switch: SVGFactory; symbol: SVGFactory; text: SVGFactory; + textPath: SVGFactory; tspan: SVGFactory; use: SVGFactory; + view: SVGFactory; } interface ReactDOM extends ReactHTML, ReactSVG { } From ec2c36e82bafa442c382ddd6798e1664ef8c1d2c Mon Sep 17 00:00:00 2001 From: Elijah Schow <elijah.schow@gmail.com> Date: Mon, 16 Oct 2017 11:04:19 -0500 Subject: [PATCH 353/433] Add `$overrideModelOptions' to 'INgModelController' (closes #19136) (#19880) AngularJS Issue: https://github.com/angular/angular.js/issues/12884 AngularJS Documentation: https://docs.angularjs.org/api/ng/type/ngModel.NgModelController#$overrideModelOptions AngularJS Source: https://github.com/angular/angular.js/blob/master/src/ng/directive/ngModel.js#L863 --- types/angular/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/angular/index.d.ts b/types/angular/index.d.ts index 8415c6e6b7..dc310747c6 100644 --- a/types/angular/index.d.ts +++ b/types/angular/index.d.ts @@ -392,6 +392,7 @@ declare namespace angular { $rollbackViewValue(): void; $commitViewValue(): void; $isEmpty(value: any): boolean; + $overrideModelOptions(options: INgModelOptions): void; $viewValue: any; From 0b0c6b20b0133d5e49dc5e4cb2d7cd7ba37a0da3 Mon Sep 17 00:00:00 2001 From: aidandownes <aidan.downes@gmail.com> Date: Mon, 16 Oct 2017 09:06:56 -0700 Subject: [PATCH 354/433] Update type definition for $injector.invoke to be consistent with angular documentation/code. (#19886) - $inject.invoke also accepts optional context and locals agruments when function is an array annotation format. - Also added tests. --- types/angular/angular-tests.ts | 8 +++++++- types/angular/index.d.ts | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/types/angular/angular-tests.ts b/types/angular/angular-tests.ts index c60da29504..03f7af5160 100644 --- a/types/angular/angular-tests.ts +++ b/types/angular/angular-tests.ts @@ -509,7 +509,13 @@ namespace TestInjector { } const anyFunction: Function = foobar; - const anyResult: string = $injector.invoke(anyFunction); + let anyResult: string = $injector.invoke(anyFunction); + + const inlineAnnotatedFunction: any[] = [false, foobar]; + anyResult = $injector.invoke(inlineAnnotatedFunction); + anyResult = $injector.invoke(inlineAnnotatedFunction, 'anyContext', 'anyLocals'); + anyResult = $injector.invoke(inlineAnnotatedFunction, 'anyContext'); + anyResult = $injector.invoke(inlineAnnotatedFunction, undefined, 'anyLocals'); } } diff --git a/types/angular/index.d.ts b/types/angular/index.d.ts index dc310747c6..bcc8ab7466 100644 --- a/types/angular/index.d.ts +++ b/types/angular/index.d.ts @@ -2079,7 +2079,7 @@ declare namespace angular { get<T>(name: '$xhrFactory'): IXhrFactory<T>; has(name: string): boolean; instantiate<T>(typeConstructor: {new(...args: any[]): T}, locals?: any): T; - invoke(inlineAnnotatedFunction: any[]): any; + invoke(inlineAnnotatedFunction: any[], context?: any, locals?: any): any; invoke<T>(func: (...args: any[]) => T, context?: any, locals?: any): T; invoke(func: Function, context?: any, locals?: any): any; strictDi: boolean; From 68fcd921ba01d38fed897721d77a6a8525125e3d Mon Sep 17 00:00:00 2001 From: Tim Kye <tyrsius@gmail.com> Date: Mon, 16 Oct 2017 09:07:47 -0700 Subject: [PATCH 355/433] Yeoman-generator: add error function to base type (#19887) * add error function to base type this function is the recommended method for raising errors. http://yeoman.io/environment/Environment.html#error https://stackoverflow.com/questions/27616689/how-to-gracefully-abort-yeoman-generator-on-error * fix travis lint error * lint fix 2 --- types/yeoman-generator/index.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/yeoman-generator/index.d.ts b/types/yeoman-generator/index.d.ts index 554a38f040..a1a065931c 100644 --- a/types/yeoman-generator/index.d.ts +++ b/types/yeoman-generator/index.d.ts @@ -61,7 +61,9 @@ declare class Base extends EventEmitter { constructor(args: string|string[], options: {}); - env: {}; + env: { + error(...e: Error[]): void + }; args: {}; resolved: string; description: string; From dc7fba2b21e986d3591d7c2c28d2c34935460d97 Mon Sep 17 00:00:00 2001 From: Witchu Promjunyakul <witchu@debuz.com> Date: Mon, 16 Oct 2017 23:17:43 +0700 Subject: [PATCH 356/433] fix TCursor.shape (#19984) add blessed.log() --- types/blessed/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/types/blessed/index.d.ts b/types/blessed/index.d.ts index abbc31d295..553942af2f 100644 --- a/types/blessed/index.d.ts +++ b/types/blessed/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for blessed 0.1.5 +// Type definitions for blessed 0.1.6 // Project: https://github.com/chjj/blessed // Definitions by: bryn austin bellomy <https://github.com/brynbellomy> // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -74,7 +74,7 @@ declare namespace Blessed { /** * Shape of the cursor. Can be: block, underline, or line. */ - shape: boolean; + shape: 'block'|'underline'|'line'; /** * Whether the cursor blinks. */ @@ -2821,6 +2821,7 @@ declare namespace Blessed { export function question(options?: Widgets.QuestionOptions): Widgets.QuestionElement; export function message(options?: Widgets.MessageOptions): Widgets.MessageElement; export function loading(options?: Widgets.LoadingOptions): Widgets.LoadingElement; + export function log(options?: Widgets.LogOptions): Widgets.Log; export function progressbar(options?: Widgets.ProgressBarOptions): Widgets.ProgressBarElement; export function terminal(options?: Widgets.TerminalOptions): Widgets.TerminalElement; From 3e28d5d77deec7407273fb400bbe9cb360cfa0d4 Mon Sep 17 00:00:00 2001 From: Andy Hanson <anhans@microsoft.com> Date: Mon, 16 Oct 2017 10:10:25 -0700 Subject: [PATCH 357/433] Fix test --- types/gl-matrix/gl-matrix-tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/gl-matrix/gl-matrix-tests.ts b/types/gl-matrix/gl-matrix-tests.ts index 765f871e30..02654491b4 100644 --- a/types/gl-matrix/gl-matrix-tests.ts +++ b/types/gl-matrix/gl-matrix-tests.ts @@ -70,7 +70,7 @@ outVec2 = vec2.negate(outVec2, vec2A); outVec2 = vec2.inverse(outVec2, vec2A); outVec2 = vec2.normalize(outVec2, vec2A); outVal = vec2.dot(vec2A, vec2B); -outVec2 = vec2.cross(outVec2, vec2A, vec2B); +outVec2 = vec2.cross(outVec3, vec2A, vec2B); outVec2 = vec2.lerp(outVec2, vec2A, vec2B, 0.5); outVec2 = vec2.random(outVec2); outVec2 = vec2.random(outVec2, 5.0); @@ -432,7 +432,7 @@ outVec2 = _vec2.negate(outVec2, vec2A); outVec2 = _vec2.inverse(outVec2, vec2A); outVec2 = _vec2.normalize(outVec2, vec2A); outVal = _vec2.dot(vec2A, vec2B); -outVec2 = _vec2.cross(outVec2, vec2A, vec2B); +outVec2 = _vec2.cross(outVec3, vec2A, vec2B); outVec2 = _vec2.lerp(outVec2, vec2A, vec2B, 0.5); outVec2 = _vec2.random(outVec2); outVec2 = _vec2.random(outVec2, 5.0); From b0447ecb517753d780d977dbb273e124326d6863 Mon Sep 17 00:00:00 2001 From: Sami Kukkonen <sami.kukkonen@smartly.io> Date: Mon, 16 Oct 2017 20:13:28 +0300 Subject: [PATCH 358/433] Add _destroy to for node Readable stream (#20068) From the docs: https://nodejs.org/api/stream.html#stream_readable_destroy_err_callback As specified in https://nodejs.org/api/stream.html#stream_readable_destroy_error implementors are recommended to implement this method instead of `destroy()` and the original method should be available for calling via `super`. This change matches the signatures of other Stream subclasses by annotating `callback` as `Function` instead of `(err: Error) => void`. --- types/node/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 89cf3156f0..4649880ee1 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -5073,6 +5073,7 @@ declare module "stream" { unshift(chunk: any): void; wrap(oldStream: NodeJS.ReadableStream): Readable; push(chunk: any, encoding?: string): boolean; + _destroy(err: Error, callback: Function): void; destroy(error?: Error): void; /** From f5dc2b6e332fa61a751aad72f01419ed4bf8674a Mon Sep 17 00:00:00 2001 From: Daniel Imms <tyriar@tyriar.com> Date: Mon, 16 Oct 2017 10:15:45 -0700 Subject: [PATCH 359/433] Remove self from maintainers (#20126) --- types/node/index.d.ts | 1 - types/node/v7/index.d.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 4649880ee1..c34410dc10 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -10,7 +10,6 @@ // Flarna <https://github.com/Flarna> // Mariusz Wiktorczyk <https://github.com/mwiktorczyk> // wwwy3y3 <https://github.com/wwwy3y3> -// Daniel Imms <https://github.com/Tyriar> // Deividas Bakanas <https://github.com/DeividasBakanas> // Kelvin Jin <https://github.com/kjin> // Alvis HT Tang <https://github.com/alvis> diff --git a/types/node/v7/index.d.ts b/types/node/v7/index.d.ts index bc646e013f..3a5994efbc 100644 --- a/types/node/v7/index.d.ts +++ b/types/node/v7/index.d.ts @@ -6,7 +6,6 @@ // Roberto Desideri <https://github.com/RobDesideri> // Christian Vaagland Tellnes <https://github.com/tellnes> // Wilco Bakker <https://github.com/WilcoBakker> -// Daniel Imms <https://github.com/Tyriar> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /************************************************ From 8fb6da1ff474db9a9c410aaf12c15451a3e6dd42 Mon Sep 17 00:00:00 2001 From: Andy Hanson <anhans@microsoft.com> Date: Mon, 16 Oct 2017 10:17:36 -0700 Subject: [PATCH 360/433] Remove `type String` --- types/google-apps-script/google-apps-script.types.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/types/google-apps-script/google-apps-script.types.d.ts b/types/google-apps-script/google-apps-script.types.d.ts index b2c67e5e2f..5204a8a2a4 100644 --- a/types/google-apps-script/google-apps-script.types.d.ts +++ b/types/google-apps-script/google-apps-script.types.d.ts @@ -8,6 +8,5 @@ declare module GoogleAppsScript { type Byte = number; type Integer = number; type Char = string; - type String = string;// Should be unnecessary now that I replaced all String with string type JdbcSQL_XML = any; } From 989ce9832c3d5f121f65439c17445a8f9ff04c63 Mon Sep 17 00:00:00 2001 From: Andy Hanson <anhans@microsoft.com> Date: Mon, 16 Oct 2017 10:20:04 -0700 Subject: [PATCH 361/433] Add strictFunctionTypes --- types/sequencify/tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/types/sequencify/tsconfig.json b/types/sequencify/tsconfig.json index fb43176f7c..1f6ed9d033 100644 --- a/types/sequencify/tsconfig.json +++ b/types/sequencify/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" From 6c91d49f9fbed3314d4e38ccaf909e3fe9e70dc3 Mon Sep 17 00:00:00 2001 From: Andy Hanson <anhans@microsoft.com> Date: Mon, 16 Oct 2017 10:23:51 -0700 Subject: [PATCH 362/433] Fix import style and add strictFunctionTypes --- types/blob-to-buffer/blob-to-buffer-tests.ts | 2 +- types/blob-to-buffer/tsconfig.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/types/blob-to-buffer/blob-to-buffer-tests.ts b/types/blob-to-buffer/blob-to-buffer-tests.ts index 1be7e54e7f..21d9508469 100644 --- a/types/blob-to-buffer/blob-to-buffer-tests.ts +++ b/types/blob-to-buffer/blob-to-buffer-tests.ts @@ -1,4 +1,4 @@ -import * as blobToBuffer from "blob-to-buffer"; +import blobToBuffer = require("blob-to-buffer"); blobToBuffer(new Blob(), (error, buffer) => { console.log(error); diff --git a/types/blob-to-buffer/tsconfig.json b/types/blob-to-buffer/tsconfig.json index 8861d219a1..2421ce2493 100644 --- a/types/blob-to-buffer/tsconfig.json +++ b/types/blob-to-buffer/tsconfig.json @@ -8,6 +8,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" From 0e7cad3271530e96a5496b8ebceb3e25136261a4 Mon Sep 17 00:00:00 2001 From: Alessandro Vergani <alessandro.vergani@gmail.com> Date: Mon, 16 Oct 2017 19:39:48 +0200 Subject: [PATCH 363/433] Add setMulticastInterface to node dgram (#20186) --- types/node/index.d.ts | 1 + types/node/node-tests.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index c34410dc10..0d4f019d26 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -2685,6 +2685,7 @@ declare module "dgram" { setBroadcast(flag: boolean): void; setTTL(ttl: number): void; setMulticastTTL(ttl: number): void; + setMulticastInterface(multicastInterface: string): void; setMulticastLoopback(flag: boolean): void; addMembership(multicastAddress: string, multicastInterface?: string): void; dropMembership(multicastAddress: string, multicastInterface?: string): void; diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index 161388b3a7..20dfd7e44f 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -1332,6 +1332,7 @@ namespace dgram_tests { ds.send(new Buffer("hello"), 0, 5, 5000, "127.0.0.1", (error: Error, bytes: number): void => { }); ds.send(new Buffer("hello"), 5000, "127.0.0.1"); + ds.setMulticastInterface("127.0.0.1"); } { From faca90d1d882af7d9b15a58fe4389f94cc06b71e Mon Sep 17 00:00:00 2001 From: Max Battcher <me@worldmaker.net> Date: Mon, 16 Oct 2017 13:42:07 -0400 Subject: [PATCH 364/433] Popper.js typings not needed (#20258) * Popper.js typings not needed Popper.js now bundles its own typings. Resolves #18442 * Fix popper semver in notNeededPackages.json --- notNeededPackages.json | 6 ++ types/popper.js/index.d.ts | 110 ----------------------------- types/popper.js/popper.js-tests.ts | 101 -------------------------- types/popper.js/tsconfig.json | 24 ------- types/popper.js/tslint.json | 7 -- 5 files changed, 6 insertions(+), 242 deletions(-) delete mode 100644 types/popper.js/index.d.ts delete mode 100644 types/popper.js/popper.js-tests.ts delete mode 100644 types/popper.js/tsconfig.json delete mode 100644 types/popper.js/tslint.json diff --git a/notNeededPackages.json b/notNeededPackages.json index 579bcf46ef..911ab62afb 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -486,6 +486,12 @@ "sourceRepoURL": "https://github.com/r3mi/poly2tri.js", "asOfVersion": "1.4.0" }, + { + "libraryName": "popper.js", + "typingsPackageName": "popper.js", + "sourceRepoURL": "https://github.com/FezVrasta/popper.js/", + "asOfVersion": "1.11.0" + }, { "libraryName": "Prando", "typingsPackageName": "prando", diff --git a/types/popper.js/index.d.ts b/types/popper.js/index.d.ts deleted file mode 100644 index 19e892cc03..0000000000 --- a/types/popper.js/index.d.ts +++ /dev/null @@ -1,110 +0,0 @@ -// Type definitions for popper.js 1.10 -// Project: https://github.com/FezVrasta/popper.js/ -// Definitions by: rhysd <https://github.com/rhysd> -// joscha <https://github.com/joscha> -// seckardt <https://github.com/seckardt> -// marcfallows <https://github.com/marcfallows> -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -declare namespace Popper { - type Position = 'top' | 'right' | 'bottom' | 'left'; - type Placement = 'auto-start' - | 'auto' - | 'auto-end' - | 'top-start' - | 'top' - | 'top-end' - | 'right-start' - | 'right' - | 'right-end' - | 'bottom-end' - | 'bottom' - | 'bottom-start' - | 'left-end' - | 'left' - | 'left-start'; - interface PopperOptions { - placement?: Placement; - eventsEnabled?: boolean; - modifiers?: Modifiers; - removeOnDestroy?: boolean; - onCreate?(data: Data): void; - onUpdate?(data: Data): void; - } - type ModifierFn = (data: Data, options: Object) => Data; - interface BaseModifier { - order?: number; - enabled?: boolean; - fn?: ModifierFn; - } - class Modifiers { - shift?: BaseModifier; - offset?: BaseModifier & { - offset?: number | string, - }; - preventOverflow?: BaseModifier & { - priority?: Position[], - padding?: number, - boundariesElement?: string | Element, - }; - keepTogether?: BaseModifier; - arrow?: BaseModifier & { - element?: string | Element, - }; - flip?: BaseModifier & { - behavior?: 'flip' | 'clockwise' | 'counterclockwise' | Position[], - padding?: number, - boundariesElement?: string | Element, - }; - inner?: BaseModifier; - hide?: BaseModifier; - applyStyle?: BaseModifier & { - onLoad?: Function, - gpuAcceleration?: boolean, - }; - } - interface Offset { - top: number; - left: number; - width: number; - height: number; - } - interface Data { - instance: Popper; - placement: Placement; - originalPlacement: Placement; - flipped: boolean; - hide: boolean; - arrowElement: Element; - styles: Object; - boundaries: Object; - offsets: { - popper: Offset, - reference: Offset, - arrow: { - top: number, - left: number, - }, - }; - } -} - -declare class Popper { - static modifiers: Object[]; - static placements: Popper.Placement[]; - static Defaults: Popper.PopperOptions; - - constructor(reference: Element, popper: Element | Object, options?: Popper.PopperOptions); - - destroy(): void; - update(): void; - scheduleUpdate(): void; - enableEventListeners(): void; - disableEventListeners(): void; -} - -// Popper.js is globally available directly, but in a module it's only available as a default export. -// tslint:disable-next-line no-single-declare-module no-declare-current-package -declare module 'popper.js' { - export default Popper; -} diff --git a/types/popper.js/popper.js-tests.ts b/types/popper.js/popper.js-tests.ts deleted file mode 100644 index b261577264..0000000000 --- a/types/popper.js/popper.js-tests.ts +++ /dev/null @@ -1,101 +0,0 @@ -import Popper from 'popper.js'; - -const reference = document.querySelector('.my-button'); -const popper = document.querySelector('.my-popper'); -const boundary = document.querySelector('.my-boundary'); -const arrow = document.querySelector('.my-arrow'); - -const thePopper = new Popper( - reference, - popper, -); -thePopper.update(); -thePopper.scheduleUpdate(); -thePopper.destroy(); -thePopper.enableEventListeners(); -thePopper.disableEventListeners(); - -Popper.modifiers.forEach(console.log.bind(console)); -Popper.placements.forEach(console.log.bind(console)); - -const thePopperWithOptions = new Popper( - reference, - popper, - { - placement: 'bottom', - eventsEnabled: true, - removeOnDestroy: true, - modifiers: { - shift: { - enabled: true, - fn: (data) => data, - order: 100, - }, - offset: { - enabled: true, - fn: (data) => data, - order: 100, - offset: 0, - }, - preventOverflow: { - enabled: true, - fn: (data) => data, - order: 100, - priority: ['top', 'bottom'], - padding: 1, - boundariesElement: boundary, - }, - keepTogether: { - enabled: false, - fn: (data) => data, - order: 200, - }, - arrow: { - enabled: true, - fn: (data) => data, - order: 400, - element: arrow, - }, - flip: { - enabled: true, - fn: (data) => data, - order: 400, - behavior: ['top', 'right'], - padding: 5, - boundariesElement: boundary, - }, - inner: { - enabled: true, - fn: (data) => data, - order: 400, - }, - hide: { - enabled: true, - fn: (data) => data, - order: 400, - }, - applyStyle: { - enabled: true, - fn: (data) => data, - order: 400, - onLoad: () => 0, - }, - } - } -); - -const anotherPoppanotherPopper = new Popper(reference, popper); - -const anotherAnotherPopper = new Popper(reference, popper, { - modifiers: { - flip: { - behavior: 'clockwise' - } - }, - onCreate: (data => console.log(data)), - onUpdate: (data => { - data.instance.scheduleUpdate(); - const p = data.offsets.popper; - console.log(`top: ${p.top}, left: ${p.left}, width: ${p.width}, height: ${p.height}`); - }) -}); diff --git a/types/popper.js/tsconfig.json b/types/popper.js/tsconfig.json deleted file mode 100644 index e5f5d39e07..0000000000 --- a/types/popper.js/tsconfig.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "popper.js-tests.ts" - ] -} \ No newline at end of file diff --git a/types/popper.js/tslint.json b/types/popper.js/tslint.json deleted file mode 100644 index fd7e538a58..0000000000 --- a/types/popper.js/tslint.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "dtslint/dt.json", - "rules": { - // TODO - "ban-types": false - } -} From 6366b6c58a7f1e2f214cc635b3d74e09a8d134d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20P?= <yukulele@users.noreply.github.com> Date: Mon, 16 Oct 2017 19:54:30 +0200 Subject: [PATCH 365/433] Update DefinitelyTyped (#20318) * Update index.d.ts add proxyOption.proxyReq * Update index.d.ts proxyRes and proxyReq can be Function or Function[] * Update index.d.ts * Update browser-sync-tests.ts add test for proxyRes & proxyReq * Update browser-sync-tests.ts --- types/browser-sync/browser-sync-tests.ts | 40 ++++++++++++++++++++++++ types/browser-sync/index.d.ts | 8 +++-- 2 files changed, 45 insertions(+), 3 deletions(-) diff --git a/types/browser-sync/browser-sync-tests.ts b/types/browser-sync/browser-sync-tests.ts index c20f27236a..85cd464a21 100644 --- a/types/browser-sync/browser-sync-tests.ts +++ b/types/browser-sync/browser-sync-tests.ts @@ -24,6 +24,46 @@ browserSync({ proxy: "yourlocal.dev" }); +browserSync({ + proxy: { + target: "http://yourlocal.dev", + proxyReq: function(proxyReq) { + console.log(proxyReq); + } + } +}); + +browserSync({ + proxy: { + target: "http://yourlocal.dev", + proxyReq: [ + function(proxyReq) { + console.log(proxyReq); + } + ] + } +}); + +browserSync({ + proxy: { + target: "http://yourlocal.dev", + proxyRes: function(proxyRes, req, res) { + console.log(proxyRes); + } + } +}); + +browserSync({ + proxy: { + target: "http://yourlocal.dev", + proxyRes: [ + function(proxyRes, req, res) { + console.log(proxyRes); + } + ] + } +}); + var config = { server: { baseDir: "./" diff --git a/types/browser-sync/index.d.ts b/types/browser-sync/index.d.ts index ade12d3cb6..b22054c367 100644 --- a/types/browser-sync/index.d.ts +++ b/types/browser-sync/index.d.ts @@ -48,6 +48,7 @@ declare namespace browserSync { * middleware - Default: undefined * reqHeaders - Default: undefined * proxyRes - Default: undefined + * proxyReq - Default: undefined */ proxy?: string | boolean | ProxyOptions; /** @@ -291,9 +292,10 @@ declare namespace browserSync { interface ProxyOptions { target?: string; middleware?: MiddlewareHandler; - ws: boolean; - reqHeaders: (config: any) => Hash<any>; - proxyRes: (res: http.ServerResponse, req: http.IncomingMessage, next: Function) => any; + ws?: boolean; + reqHeaders?: (config: any) => Hash<any>; + proxyRes?: ((res: http.ServerResponse, req: http.IncomingMessage, next: Function) => any)[] | ((res: http.ServerResponse, req: http.IncomingMessage, next: Function) => any); + proxyReq?: ((res: http.ServerRequest) => any)[] | ((res: http.ServerRequest) => any); } interface MiddlewareHandler { From 95bac4fd310a968f3630c241acc184967edd26f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa=20Mercedes=20Retolaza=20Reyna?= <ret16339@uvg.edu.gt> Date: Mon, 16 Oct 2017 12:04:07 -0600 Subject: [PATCH 366/433] add missed prop in modal header (#20358) * add missed prop in modal header * Fix CI failures * Add comma to definition authors at react-bootstrap --- types/react-bootstrap/index.d.ts | 3 ++- types/react-bootstrap/lib/ModalHeader.d.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/types/react-bootstrap/index.d.ts b/types/react-bootstrap/index.d.ts index dcb5998f7a..2b84e7755c 100644 --- a/types/react-bootstrap/index.d.ts +++ b/types/react-bootstrap/index.d.ts @@ -6,8 +6,9 @@ // Batbold Gansukh <https://github.com/Batbold-Gansukh>, // Raymond May Jr. <https://github.com/octatone>, // Cheng Sieu Ly <https://github.com/chengsieuly>, +// Mercedes Retolaza <https://github.com/mretolaza>, // Kat Busch <https://github.com/katbusch>, -// Vito Samson <https://github.com/vitosamson> +// Vito Samson <https://github.com/vitosamson>, // Karol Janyst <https://github.com/LKay> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 diff --git a/types/react-bootstrap/lib/ModalHeader.d.ts b/types/react-bootstrap/lib/ModalHeader.d.ts index 0500a5e445..c7ed09c495 100644 --- a/types/react-bootstrap/lib/ModalHeader.d.ts +++ b/types/react-bootstrap/lib/ModalHeader.d.ts @@ -5,6 +5,7 @@ declare namespace ModalHeader { closeButton?: boolean; closeLabel?: string; onHide?: Function; + bsClass?: string; } } declare class ModalHeader extends React.Component<ModalHeader.ModalHeaderProps> { } From 57804c9a7d92d37938b95880686a08c6df3a2314 Mon Sep 17 00:00:00 2001 From: Aaron Beall <contact@abeall.com> Date: Mon, 16 Oct 2017 14:07:12 -0400 Subject: [PATCH 367/433] Changed title/label props on components to ReactNode instead HTML props string, per docs (#20379) * Changed TabProps.title to ReactNode not string, per docs * Fixed declaration of title/label as ReactNode for components, per docs --- types/react-bootstrap/index.d.ts | 1 + types/react-bootstrap/lib/DropdownButton.d.ts | 1 + types/react-bootstrap/lib/Popover.d.ts | 5 +++-- types/react-bootstrap/lib/ProgressBar.d.ts | 5 +++-- types/react-bootstrap/lib/SplitButton.d.ts | 6 ++++-- types/react-bootstrap/lib/Tab.d.ts | 5 +++-- .../test/react-bootstrap-individual-components-tests.tsx | 4 ++-- 7 files changed, 17 insertions(+), 10 deletions(-) diff --git a/types/react-bootstrap/index.d.ts b/types/react-bootstrap/index.d.ts index 2b84e7755c..e09bef50a4 100644 --- a/types/react-bootstrap/index.d.ts +++ b/types/react-bootstrap/index.d.ts @@ -10,6 +10,7 @@ // Kat Busch <https://github.com/katbusch>, // Vito Samson <https://github.com/vitosamson>, // Karol Janyst <https://github.com/LKay> +// Aaron Beall <https://github.com/aaronbeall> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 diff --git a/types/react-bootstrap/lib/DropdownButton.d.ts b/types/react-bootstrap/lib/DropdownButton.d.ts index df66dd36dd..e2626e2bb7 100644 --- a/types/react-bootstrap/lib/DropdownButton.d.ts +++ b/types/react-bootstrap/lib/DropdownButton.d.ts @@ -10,6 +10,7 @@ declare namespace DropdownButton { navItem?: boolean; noCaret?: boolean; pullRight?: boolean; + title: React.ReactNode; } export type DropdownButtonProps = DropdownButtonBaseProps & React.HTMLProps<DropdownButton>; diff --git a/types/react-bootstrap/lib/Popover.d.ts b/types/react-bootstrap/lib/Popover.d.ts index 2af51da4b6..95abc38854 100644 --- a/types/react-bootstrap/lib/Popover.d.ts +++ b/types/react-bootstrap/lib/Popover.d.ts @@ -1,8 +1,8 @@ import * as React from 'react'; -import { Sizes } from 'react-bootstrap'; +import { Sizes, Omit } from 'react-bootstrap'; declare namespace Popover { - export interface PopoverProps extends React.HTMLProps<Popover> { + export interface PopoverProps extends Omit<React.HTMLProps<Popover>, "title"> { // Optional arrowOffsetLeft?: number | string; arrowOffsetTop?: number | string; @@ -11,6 +11,7 @@ declare namespace Popover { placement?: string; positionLeft?: number | string; // String support added since v0.30.0 positionTop?: number | string; // String support added since v0.30.0 + title?: React.ReactNode; } } declare class Popover extends React.Component<Popover.PopoverProps> { } diff --git a/types/react-bootstrap/lib/ProgressBar.d.ts b/types/react-bootstrap/lib/ProgressBar.d.ts index 89b2e07cc0..8fc408ac65 100644 --- a/types/react-bootstrap/lib/ProgressBar.d.ts +++ b/types/react-bootstrap/lib/ProgressBar.d.ts @@ -1,8 +1,8 @@ import * as React from 'react'; -import { Sizes } from 'react-bootstrap'; +import { Sizes, Omit } from 'react-bootstrap'; declare namespace ProgressBar { - export interface ProgressBarProps extends React.HTMLProps<ProgressBar> { + export interface ProgressBarProps extends Omit<React.HTMLProps<ProgressBar>, "label"> { // Optional active?: boolean; bsSize?: Sizes; @@ -13,6 +13,7 @@ declare namespace ProgressBar { now?: number; srOnly?: boolean; striped?: boolean; + label?: React.ReactNode; } } declare class ProgressBar extends React.Component<ProgressBar.ProgressBarProps> { } diff --git a/types/react-bootstrap/lib/SplitButton.d.ts b/types/react-bootstrap/lib/SplitButton.d.ts index 7f3d9d7f30..7b824cd647 100644 --- a/types/react-bootstrap/lib/SplitButton.d.ts +++ b/types/react-bootstrap/lib/SplitButton.d.ts @@ -1,13 +1,15 @@ import * as React from 'react'; -import { Sizes } from 'react-bootstrap'; +import { Sizes, Omit } from 'react-bootstrap'; declare namespace SplitButton { - export interface SplitButtonProps extends React.HTMLProps<SplitButton> { + export interface SplitButtonProps extends Omit<React.HTMLProps<SplitButton>, "title"> { bsStyle?: string; bsSize?: Sizes; dropdownTitle?: any; // TODO: Add more specific type dropup?: boolean; pullRight?: boolean; + title: React.ReactNode; + id: string; } } declare class SplitButton extends React.Component<SplitButton.SplitButtonProps> { } diff --git a/types/react-bootstrap/lib/Tab.d.ts b/types/react-bootstrap/lib/Tab.d.ts index f30264a562..1c98d8c0a3 100644 --- a/types/react-bootstrap/lib/Tab.d.ts +++ b/types/react-bootstrap/lib/Tab.d.ts @@ -1,17 +1,18 @@ import * as React from 'react'; -import { TransitionCallbacks } from 'react-bootstrap'; +import { TransitionCallbacks, Omit } from 'react-bootstrap'; import * as TabContainer from './TabContainer'; import * as TabPane from './TabPane'; import * as TabContent from './TabContent'; declare namespace Tab { - export interface TabProps extends TransitionCallbacks, React.HTMLProps<Tab> { + export interface TabProps extends TransitionCallbacks, Omit<React.HTMLProps<Tab>, "title"> { animation?: boolean; 'aria-labelledby'?: string; bsClass?: string; eventKey?: any; // TODO: Add more specific type unmountOnExit?: boolean; tabClassName?: string; + title?: React.ReactNode; // Override HTMLProps.title to allow nodes not just strings } } declare class Tab extends React.Component<Tab.TabProps> { diff --git a/types/react-bootstrap/test/react-bootstrap-individual-components-tests.tsx b/types/react-bootstrap/test/react-bootstrap-individual-components-tests.tsx index 78579dc953..ff2c5b7472 100644 --- a/types/react-bootstrap/test/react-bootstrap-individual-components-tests.tsx +++ b/types/react-bootstrap/test/react-bootstrap-individual-components-tests.tsx @@ -120,7 +120,7 @@ export class ReactBootstrapIndividualComponentsTest extends React.Component { <Collapse /> <ControlLabel /> <Dropdown id="foo" /> - <DropdownButton id="foo" /> + <DropdownButton id="foo" title="bar" /> <DropdownMenu /> <DropdownToggle /> <Fade /> @@ -178,7 +178,7 @@ export class ReactBootstrapIndividualComponentsTest extends React.Component { <ResponsiveEmbed /> <Row /> <SafeAnchor /> - <SplitButton /> + <SplitButton id="foo" title="bar" /> <SplitToggle /> <Tab /> <TabContainer /> From 55b81a75c508d685feca39e38ebe071820cafde1 Mon Sep 17 00:00:00 2001 From: Demiurga <apolkingg8@gmail.com> Date: Tue, 17 Oct 2017 02:13:13 +0800 Subject: [PATCH 368/433] Fix callback and Promise resolve type (#20404) * Fix callback and Promise resolve Promise and callback should resolve Core.Document<Model>, not just Core.Response * Update pouchdb-upsert-tests.ts * fix version format * Down the version to 2.4 --- types/pouchdb-upsert/index.d.ts | 14 +++++++------- types/pouchdb-upsert/pouchdb-upsert-tests.ts | 12 ++++++------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/types/pouchdb-upsert/index.d.ts b/types/pouchdb-upsert/index.d.ts index e893a052aa..0a71b0383d 100644 --- a/types/pouchdb-upsert/index.d.ts +++ b/types/pouchdb-upsert/index.d.ts @@ -1,8 +1,8 @@ -// Type definitions for pouchdb-upsert 2.0 +// Type definitions for pouchdb-upsert 2.2 // Project: https://github.com/pouchdb/upsert -// Definitions by: Keith D. Moore <https://github.com/keithdmoore>, Andrew Mitchell <https://github.com/hotforfeature> +// Definitions by: Keith D. Moore <https://github.com/keithdmoore>, Andrew Mitchell <https://github.com/hotforfeature>, Eddie Hsu <https://github.com/apolkingg8> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.3 +// TypeScript Version: 2.4 /// <reference types="pouchdb-core" /> @@ -20,7 +20,7 @@ declare namespace PouchDB { * If the document does not already exist, then {} will be the input to diffFunc. * */ - upsert<Model>(docId: Core.DocumentId, diffFun: UpsertDiffCallback<Content & Model>): Promise<Core.Response>; + upsert<Model>(docId: Core.DocumentId, diffFun: UpsertDiffCallback<Content & Model>): Promise<Core.Document<Model>>; /** * Perform an upsert (update or insert) operation. If a callback is not provided, the Promise based version @@ -33,7 +33,7 @@ declare namespace PouchDB { * @param callback - called with the results after operation is completed. */ upsert<Model>(docId: Core.DocumentId, diffFun: UpsertDiffCallback<Content & Model>, - callback: Core.Callback<Core.Response>): void; + callback: Core.Callback<Core.Document<Model>>): void; /** * Put a new document with the given docId, if it doesn't already exist. Returns a Promise. @@ -41,7 +41,7 @@ declare namespace PouchDB { * @param doc - the document to insert. Should contain an _id if docId is not specified * If the document already exists, then the Promise will just resolve immediately. */ - putIfNotExists<Model>(doc: Core.Document<Content & Model>): Promise<Core.Response>; + putIfNotExists<Model>(doc: Core.Document<Content & Model>): Promise<Core.Document<Model>>; // /** @@ -55,7 +55,7 @@ declare namespace PouchDB { * will return a Promise. */ putIfNotExists<Model>(doc: Core.Document<Content & Model>, - callback: Core.Callback<Core.Response>): void; + callback: Core.Callback<Core.Document<Model>>): void; } type UpsertDiffCallback<Content extends {}> = (doc: Core.Document<Content>) => Core.Document<Content> | boolean; diff --git a/types/pouchdb-upsert/pouchdb-upsert-tests.ts b/types/pouchdb-upsert/pouchdb-upsert-tests.ts index c3d261bb5c..a441f76ab4 100644 --- a/types/pouchdb-upsert/pouchdb-upsert-tests.ts +++ b/types/pouchdb-upsert/pouchdb-upsert-tests.ts @@ -12,7 +12,7 @@ function testUpsert_WithPromise_AndReturnDoc() { db.upsert(docToUpsert._id, (doc: PouchDB.Core.Document<UpsertDocModel>) => { // Make some updates.... return doc; - }).then((res: PouchDB.Core.Response) => { + }).then((res: PouchDB.Core.Document<UpsertDocModel>) => { }); } @@ -20,7 +20,7 @@ function testUpsert_WithPromise_AndReturnBoolean() { db.upsert<UpsertDocModel>(docToUpsert._id, (doc: PouchDB.Core.Document<UpsertDocModel>) => { // Make some updates.... return false; - }).then((res: PouchDB.Core.Response) => { + }).then((res: PouchDB.Core.Document<UpsertDocModel>) => { }); } @@ -28,7 +28,7 @@ function testUpsert_WithCallback_AndReturnDoc() { db.upsert<UpsertDocModel>(docToUpsert._id, (doc: PouchDB.Core.Document<UpsertDocModel>) => { // Make some updates.... return doc; - }, (res: PouchDB.Core.Response) => {}); + }, (res: PouchDB.Core.Document<UpsertDocModel>) => {}); } function testUpsert_WithCallback_AndReturnBoolean() { @@ -36,13 +36,13 @@ function testUpsert_WithCallback_AndReturnBoolean() { db.upsert<UpsertDocModel>(docToUpsert._id, (doc: PouchDB.Core.Document<UpsertDocModel>) => { // Make some updates.... return false; - }, (res: PouchDB.Core.Response) => {}); + }, (res: PouchDB.Core.Document<UpsertDocModel>) => {}); } function testPutIfNotExists_WithPromise() { - db.putIfNotExists(docToUpsert).then((res: PouchDB.Core.Response) => {}); + db.putIfNotExists(docToUpsert).then((res: PouchDB.Core.Document<UpsertDocModel>) => {}); } function testPutIfNotExists_WithCallback() { - db.putIfNotExists(docToUpsert, (res: PouchDB.Core.Response) => {}); + db.putIfNotExists(docToUpsert, (res: PouchDB.Core.Document<UpsertDocModel>) => {}); } From 2466ddbcff7259ca04383d318ce03f2696e24a36 Mon Sep 17 00:00:00 2001 From: Flarna <Flarna@users.noreply.github.com> Date: Mon, 16 Oct 2017 20:18:42 +0200 Subject: [PATCH 369/433] [node] Add Buffer.poolSize() and correct Buffer.byteLength() (#20419) * [node] Add Buffer.poolSize * [node] Allow more types for Buffer.byteLength() * fix lint issue --- types/node/index.d.ts | 8 ++++++-- types/node/node-tests.ts | 26 ++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 0d4f019d26..0806b4dafb 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -239,10 +239,10 @@ declare var Buffer: { * Gives the actual byte length of a string. encoding defaults to 'utf8'. * This is not the same as String.prototype.length since that returns the number of characters in a string. * - * @param string string to test. + * @param string string to test. (TypedArray is also allowed, but it is only available starting ES2017) * @param encoding encoding used to evaluate (defaults to 'utf8') */ - byteLength(string: string, encoding?: string): number; + byteLength(string: string | Buffer | DataView | ArrayBuffer, encoding?: string): number; /** * Returns a buffer which is the result of concatenating all the buffers in the list together. * @@ -282,6 +282,10 @@ declare var Buffer: { * @param size count of octets to allocate */ allocUnsafeSlow(size: number): Buffer; + /** + * This is the number of bytes used to determine the size of pre-allocated, internal Buffer instances used for pooling. This value may be modified. + */ + poolSize: number; }; /************************************************ diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index 20dfd7e44f..21151ea7cc 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -396,6 +396,32 @@ function bufferTests() { const buf2: Buffer = Buffer.from('7468697320697320612074c3a97374', 'hex'); } + // Class Method byteLenght + { + let len: number; + len = Buffer.byteLength("foo"); + len = Buffer.byteLength("foo", "utf8"); + + const b = Buffer.from("bar"); + len = Buffer.byteLength(b); + len = Buffer.byteLength(b, "utf16le"); + + const ab = new ArrayBuffer(15); + len = Buffer.byteLength(ab); + len = Buffer.byteLength(ab, "ascii"); + + const dv = new DataView(ab); + len = Buffer.byteLength(dv); + len = Buffer.byteLength(dv, "utf16le"); + } + + // Class Method poolSize + { + let s: number; + s = Buffer.poolSize; + Buffer.poolSize = 4096; + } + // Test that TS 1.6 works with the 'as Buffer' annotation // on isBuffer. var a: Buffer | number; From 112130d22bb78efc19a4c803940253631286a6de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien?= <mail@aurelien-herve.com> Date: Mon, 16 Oct 2017 20:19:24 +0200 Subject: [PATCH 370/433] fix(algoliasearch): generateSecuredApiKey returns a string (not void) (#20423) * fix(algoliasearch): generateSecuredApiKey returns a string (not void) * fix(algoliasearch): use object[] instead of [{}] in saveObjects method inputs --- types/algoliasearch/index.d.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/types/algoliasearch/index.d.ts b/types/algoliasearch/index.d.ts index 2f94b2c907..d848642dc0 100644 --- a/types/algoliasearch/index.d.ts +++ b/types/algoliasearch/index.d.ts @@ -1,7 +1,8 @@ -// Type definitions for algoliasearch-client-js 3.18.1 +// Type definitions for algoliasearch-client-js 3.18.2 // Project: https://github.com/algolia/algoliasearch-client-js // Definitions by: Baptiste Coquelle <https://github.com/cbaptiste> // Haroen Viaene <https://github.com/haroenv> +// Aurélien Hervé <https://github.com/aherve> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare namespace algoliasearch { @@ -146,7 +147,7 @@ declare namespace algoliasearch { * @param filters * https://github.com/algolia/algoliasearch-client-js#generate-key---generatesecuredapikey */ - generateSecuredApiKey(key: string, filters: AlgoliaSecuredApiOptions): void; + generateSecuredApiKey(key: string, filters: AlgoliaSecuredApiOptions): string; /** * Perform multiple operations with one API call to reduce latency * @param action @@ -326,7 +327,7 @@ declare namespace algoliasearch { * @param cb(err, res) * https://github.com/algolia/algoliasearch-client-js#update-objects---saveobjects */ - saveObjects(objects: [{}], cb: (err: Error, res: any) => void): void; + saveObjects(objects: object[], cb: (err: Error, res: any) => void): void; /** * Update parameters of a specific object * @param object @@ -540,7 +541,7 @@ declare namespace algoliasearch { * return {Promise} * https://github.com/algolia/algoliasearch-client-js#update-objects---saveobjects */ - saveObjects(objects: [{}]): Promise<any> ; + saveObjects(objects: object[]): Promise<any> ; /** * Update parameters of a specific object * @param object From 42cf3abe63b2642c6faedf70a2eec5998dd8268c Mon Sep 17 00:00:00 2001 From: Leonard Thieu <leonard-thieu@users.noreply.github.com> Date: Mon, 16 Oct 2017 14:32:07 -0400 Subject: [PATCH 371/433] [jquery] Add ajaxSettings property. (#20433) --- types/jquery/index.d.ts | 5 +++++ types/jquery/jquery-tests.ts | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/types/jquery/index.d.ts b/types/jquery/index.d.ts index e557103e47..f5947549b7 100644 --- a/types/jquery/index.d.ts +++ b/types/jquery/index.d.ts @@ -41,6 +41,11 @@ type _Event = Event; type _Promise<T> = Promise<T>; interface JQueryStatic<TElement extends Node = HTMLElement> { + /** + * @see {@link http://api.jquery.com/jquery.ajax/#jQuery-ajax1} + * @deprecated Use jQuery.ajaxSetup(options) + */ + ajaxSettings: JQuery.AjaxSettings; /** * A factory function that returns a chainable utility object with methods to register multiple * callbacks into callback queues, invoke callback queues, and relay the success or failure state of diff --git a/types/jquery/jquery-tests.ts b/types/jquery/jquery-tests.ts index 0694ce2502..99a10c6f45 100644 --- a/types/jquery/jquery-tests.ts +++ b/types/jquery/jquery-tests.ts @@ -62,6 +62,11 @@ function JQueryStatic() { $(); } + function ajaxSettings() { + // $ExpectType JQuery.AjaxSettings + $.ajaxSettings; + } + function Event() { // $ExpectType EventStatic<HTMLElement> $.Event; From 7a99e7c48aef56acca71b5585df7cb272bff0b14 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Gomond <dev@jbgomond.com> Date: Mon, 16 Oct 2017 20:34:19 +0200 Subject: [PATCH 372/433] Corrected type of parameter "stream" in interface Options of @types/simple-peer (#20435) --- types/simple-peer/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/simple-peer/index.d.ts b/types/simple-peer/index.d.ts index 0ddc548ea8..6e41100b41 100644 --- a/types/simple-peer/index.d.ts +++ b/types/simple-peer/index.d.ts @@ -20,7 +20,7 @@ declare namespace SimplePeer { answerConstraints?: {}; // custom answer constraints (used by createAnswer method) reconnectTimer?: boolean | number; // wait __ milliseconds after ICE 'disconnect' for reconnect attempt before emitting 'close' sdpTransform?<T extends any>(sdp: T): T; // function to transform the generated SDP signaling data (for advanced users) - stream?: boolean; // if video/voice is desired, pass stream returned from getUserMedia + stream?: MediaStream; // if video/voice is desired, pass stream returned from getUserMedia trickle?: boolean; // set to false to disable trickle ICE and get a single 'signal' event (slower) wrtc?: {}; // RTCPeerConnection/RTCSessionDescription/RTCIceCandidate objectMode?: boolean; // set to true to create the stream in Object Mode. In this mode, incoming string data is not automatically converted to Buffer objects. From 9c1dc77ef4e85f5d5ec18ffe768e43359f47aca0 Mon Sep 17 00:00:00 2001 From: Christopher Deutsch <cd@cdeutsch.com> Date: Mon, 16 Oct 2017 13:36:31 -0500 Subject: [PATCH 373/433] Updated `react-autosuggest` for version 9.3.X (#20442) `react-autosuggest` had some breaking changes. Previously Autosuggest was defined with `any` props which meant no type checking was happening. New definition enables type checking when using `Autosuggest` component. ``` declare class Autosuggest extends React.Component<Autosuggest.AutosuggestProps> {} ``` --- .github/CODEOWNERS | 2 +- types/react-autosuggest/index.d.ts | 57 +++++++++++++------ .../react-autosuggest-tests.tsx | 43 +++++++++++--- types/react-autosuggest/tsconfig.json | 2 +- 4 files changed, 77 insertions(+), 27 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 390df0c3ed..c9c83c77c4 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -2504,7 +2504,7 @@ /types/react/v15/ @bbenezech @pzavolinsky @digiguru @ericanderson @morcerf @tkrotoff @DovydasNavickas @onigoetz /types/react/ @johnnyreilly @bbenezech @pzavolinsky @digiguru @ericanderson @morcerf @tkrotoff @DovydasNavickas @onigoetz @richseviora /types/react-app/ @prakarshpandey -/types/react-autosuggest/ @nicolas-schmitt @pjo256 @robessog @tbayne +/types/react-autosuggest/ @nicolas-schmitt @pjo256 @robessog @tbayne @cdeutsch /types/react-body-classname/ @mhegazy /types/react-bootstrap/ @walkerburgin @vsiao @danilojrr @Batbold-Gansukh @octatone @chengsieuly @katbusch /types/react-bootstrap-date-picker/ @LKay @ssi-hu-antal-bodnar diff --git a/types/react-autosuggest/index.d.ts b/types/react-autosuggest/index.d.ts index 2afbd1960d..9205f63d4c 100644 --- a/types/react-autosuggest/index.d.ts +++ b/types/react-autosuggest/index.d.ts @@ -1,18 +1,22 @@ -// Type definitions for react-autosuggest 8.0 +// Type definitions for react-autosuggest 9.3 // Project: http://react-autosuggest.js.org/ -// Definitions by: Nicolas Schmitt <https://github.com/nicolas-schmitt>, Philip Ottesen <https://github.com/pjo256>, Robert Essig <https://github.com/robessog>, Terry Bayne <https://github.com/tbayne> +// Definitions by: Nicolas Schmitt <https://github.com/nicolas-schmitt> +// Philip Ottesen <https://github.com/pjo256> +// Robert Essig <https://github.com/robessog> +// Terry Bayne <https://github.com/tbayne> +// Christopher Deutsch <https://github.com/cdeutsch> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 import * as React from 'react'; -declare class Autosuggest extends React.Component<any> {} +declare class Autosuggest extends React.Component<Autosuggest.AutosuggestProps> {} export = Autosuggest; declare namespace Autosuggest { interface SuggestionsFetchRequest { value: string; - reason: string; + reason: 'input-changed' | 'input-focused' | 'escape-pressed' | 'suggestions-revealed' | 'suggestion-selected'; } interface InputValues { @@ -20,38 +24,54 @@ declare namespace Autosuggest { valueBeforeUpDown?: string; } + interface RenderSuggestionParams { + query: string; + isHighlighted: boolean; + } + + interface SuggestionHighlightedParams { + suggestion: any; + } + interface ChangeEvent { newValue: string; method: 'down' | 'up' | 'escape' | 'enter' | 'click' | 'type'; } interface BlurEvent { - focusedSuggestion: any; + highlightedSuggestion: any; } - interface InputProps extends React.HTMLAttributes<any> { + interface InputProps extends React.InputHTMLAttributes<any> { value: string; onChange(event: React.FormEvent<any>, params?: ChangeEvent): void; onBlur?(event: React.FormEvent<any>, params?: BlurEvent): void; + [key: string]: any; } interface SuggestionSelectedEventData<TSuggestion> { - method: 'click' | 'enter'; - sectionIndex: number | null; suggestion: TSuggestion; suggestionValue: string; + suggestionIndex: number; + sectionIndex: number | null; + method: 'click' | 'enter'; } interface Theme { container?: string; containerOpen?: string; input?: string; - sectionContainer?: string; - sectionSuggestionsContainer?: string; - sectionTitle?: string; - suggestion?: string; - suggestionFocused?: string; + inputOpen?: string; + inputFocused?: string; suggestionsContainer?: string; + suggestionsContainerOpen?: string; + suggestionsList?: string; + suggestion?: string; + suggestionFirst?: string; + suggestionHighlighted?: string; + sectionContainer?: string; + sectionContainerFirst?: string; + sectionTitle?: string; } interface AutosuggestProps extends React.Props<Autosuggest> { @@ -59,18 +79,19 @@ declare namespace Autosuggest { onSuggestionsFetchRequested(request: SuggestionsFetchRequest): void; onSuggestionsClearRequested?(): void; getSuggestionValue(suggestion: any): any; - renderSuggestion(suggestion: any, inputValues: InputValues): JSX.Element; + renderSuggestion(suggestion: any, params: RenderSuggestionParams): JSX.Element; inputProps: InputProps; onSuggestionSelected?(event: React.FormEvent<any>, data: SuggestionSelectedEventData<any>): void; + onSuggestionHighlighted?(params: SuggestionHighlightedParams): void; shouldRenderSuggestions?(value: string): boolean; alwaysRenderSuggestions?: boolean; - focusFirstSuggestion?: boolean; + highlightFirstSuggestion?: boolean; focusInputOnSuggestionClick?: boolean; multiSection?: boolean; - renderSectionTitle?(section: any, inputValues: InputValues): JSX.Element; + renderSectionTitle?(section: any): JSX.Element; getSectionSuggestions?(section: any): any[]; - renderInputComponent?(): JSX.Element; - renderSuggestionsContainer?(children: any): JSX.Element; + renderInputComponent?(inputProps: InputProps): JSX.Element; + renderSuggestionsContainer?(containerProps: any, children: any, query: string): JSX.Element; theme?: Theme; id?: string; } diff --git a/types/react-autosuggest/react-autosuggest-tests.tsx b/types/react-autosuggest/react-autosuggest-tests.tsx index 252f5833fb..c67a5c72ad 100644 --- a/types/react-autosuggest/react-autosuggest-tests.tsx +++ b/types/react-autosuggest/react-autosuggest-tests.tsx @@ -105,8 +105,9 @@ export class ReactAutosuggestBasicTest extends React.Component<any, any> { alert(`Selected language is ${data.suggestion.name} (${data.suggestion.year}).`); } - protected renderSuggestion(suggestion: Language): JSX.Element { - return <span>{suggestion.name}</span>; + protected renderSuggestion(suggestion: Language, params: Autosuggest.RenderSuggestionParams): JSX.Element { + const className = params.isHighlighted ? "highlighted" : undefined; + return <span className={className}>{suggestion.name}</span>; } // endregion region Event handlers protected onChange(event: React.FormEvent<any>, {newValue, method}: any): void { @@ -223,7 +224,8 @@ export class ReactAutosuggestMultipleTest extends React.Component<any, any> { this.state = { value: '', - suggestions: this.getSuggestions('') + suggestions: this.getSuggestions(''), + highlighted: '' }; } // endregion region Rendering methods @@ -248,6 +250,10 @@ export class ReactAutosuggestMultipleTest extends React.Component<any, any> { renderSuggestion={this.renderSuggestion} renderSectionTitle={this.renderSectionTitle} getSectionSuggestions={this.getSectionSuggestions} + onSuggestionHighlighted={this.onSuggestionHighlighted} + highlightFirstSuggestion={true} + renderInputComponent={this.renderInputComponent} + renderSuggestionsContainer={this.renderSuggestionsContainer} inputProps={inputProps}/>; } @@ -256,13 +262,30 @@ export class ReactAutosuggestMultipleTest extends React.Component<any, any> { alert(`Selected language is ${language.name} (${language.year}).`); } - protected renderSuggestion(suggestion: Language): JSX.Element { - return <span>{suggestion.name}</span>; + protected renderSuggestion(suggestion: Language, params: Autosuggest.RenderSuggestionParams): JSX.Element { + const className = params.isHighlighted ? "highlighted" : undefined; + return <span className={className}>{suggestion.name}</span>; } protected renderSectionTitle(section: LanguageGroup): JSX.Element { return <strong>{section.title}</strong>; } + + protected renderInputComponent(inputProps: Autosuggest.InputProps): JSX.Element { + return ( + <div> + <input {...inputProps} /> + </div> + ); + } + + protected renderSuggestionsContainer(containerProps: any, children: any, query: string): JSX.Element { + return ( + <div {...containerProps}> + <span>{children}</span> + </div> + ); + } // endregion region Event handlers protected onChange(event: React.FormEvent<any>, {newValue, method}: any): void { this.setState({value: newValue}); @@ -303,6 +326,12 @@ export class ReactAutosuggestMultipleTest extends React.Component<any, any> { protected getSectionSuggestions(section: LanguageGroup) { return section.languages; } + + protected onSuggestionHighlighted(params: Autosuggest.SuggestionHighlightedParams): void { + this.setState({ + highlighted: params.suggestion + }); + } // endregion } @@ -364,9 +393,9 @@ export class ReactAutosuggestCustomTest extends React.Component<any, any> { inputProps={inputProps}/>; } - protected renderSuggestion(suggestion: Person, {value, valueBeforeUpDown}: any): JSX.Element { + protected renderSuggestion(suggestion: Person, params: Autosuggest.RenderSuggestionParams): JSX.Element { const suggestionText = `${suggestion.first} ${suggestion.last}`; - const query = (valueBeforeUpDown || value).trim(); + const query = params.query.trim(); const parts = suggestionText .split(' ') .map((part: string) => { diff --git a/types/react-autosuggest/tsconfig.json b/types/react-autosuggest/tsconfig.json index b85bc369dc..fc78293096 100644 --- a/types/react-autosuggest/tsconfig.json +++ b/types/react-autosuggest/tsconfig.json @@ -22,4 +22,4 @@ "index.d.ts", "react-autosuggest-tests.tsx" ] -} \ No newline at end of file +} From 7d955710bb8117b2356916be611e4be82344e154 Mon Sep 17 00:00:00 2001 From: Diogo Franco <diogomfranco@gmail.com> Date: Tue, 17 Oct 2017 03:43:19 +0900 Subject: [PATCH 374/433] [history] Mark Location's key as optional (#20447) While the `key` will always be a string value after updating history, it will not be present when the `history` object is first created, at least until the first push/replace state happens. --- types/history/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/history/index.d.ts b/types/history/index.d.ts index a7f93bba86..528ab7ff21 100644 --- a/types/history/index.d.ts +++ b/types/history/index.d.ts @@ -28,7 +28,7 @@ export interface Location { search: Search; state: LocationState; hash: Hash; - key: LocationKey; + key?: LocationKey; } export interface LocationDescriptorObject { From f530bf01f5a40c423cac36fad5a1081668d774a4 Mon Sep 17 00:00:00 2001 From: David Khourshid <davidkpiano@gmail.com> Date: Mon, 16 Oct 2017 14:47:33 -0400 Subject: [PATCH 375/433] Puppeteer: fixing .cookies() method type and other cleanup (#20160) * Fixing .cookies() method type and other cleanup * Reversing automatic formatting * Cookie[] -> Array<Cookie> * Undoing unnecessary single quoting and fixing lint errors --- types/puppeteer/index.d.ts | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/types/puppeteer/index.d.ts b/types/puppeteer/index.d.ts index fabd9060ed..f9c5741805 100644 --- a/types/puppeteer/index.d.ts +++ b/types/puppeteer/index.d.ts @@ -224,13 +224,15 @@ export interface Response { url: string; } +export type Serializable = boolean | number | string | object; + export interface FrameBase { $(selector: string): Promise<ElementHandle>; $$(selector: string): Promise<ElementHandle[]>; $eval( selector: string, - fn: (...args: Array<object | ElementHandle>) => void - ): Promise<object>; + fn: (...args: Array<Serializable | ElementHandle>) => void + ): Promise<Serializable>; addScriptTag(url: string): Promise<void>; injectFile(filePath: string): Promise<void>; evaluate<T = string>( @@ -291,7 +293,16 @@ export interface Page extends FrameBase { click(selector: string, options?: ClickOptions): Promise<void>; close(): Promise<void>; content(): Promise<string>; - cookies(...urls: string[]): Cookie; + cookies(...urls: string[]): Promise<Cookie[]>; + deleteCookie( + ...cookies: Array<{ + name: string; + url?: string; + domain?: string; + path?: string; + secure?: boolean; + }> + ): Promise<void>; emulate(options: Partial<EmulateOptions>): Promise<void>; emulateMedia(mediaType: string | null): Promise<void>; evaluateOnNewDocument( From 5f3cbdcfb3e1eb921fda9337bfbec2bd19566751 Mon Sep 17 00:00:00 2001 From: Joshua Netterfield <joshua@nettek.ca> Date: Mon, 16 Oct 2017 14:52:55 -0400 Subject: [PATCH 376/433] Update react-monaco-editor types to track 0.10 (#20464) --- types/react-monaco-editor/index.d.ts | 6 +++--- types/react-monaco-editor/package.json | 4 ++-- types/react-monaco-editor/react-monaco-editor-tests.tsx | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/types/react-monaco-editor/index.d.ts b/types/react-monaco-editor/index.d.ts index 85bb06a0f2..a493f3e194 100644 --- a/types/react-monaco-editor/index.d.ts +++ b/types/react-monaco-editor/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for react-monaco-editor 0.8 +// Type definitions for react-monaco-editor 0.10 // Project: https://github.com/superRaytin/react-monaco-editor // Definitions by: Joshua Netterfield <https://github.com/jnetterf> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -31,7 +31,7 @@ export interface ReactMonacoEditorProps { defaultValue?: string; /** - * The initial language of the auto created model in the editor. + * The initial language of the auto created model in the editor. Defaults to 'javascript'. */ language?: string; @@ -60,7 +60,7 @@ export interface ReactMonacoEditorProps { /** * An event emitted when the content of the current model has changed. */ - onChange?(val: string, ev: monaco.editor.IModelContentChangedEvent2): void; + onChange?(val: string, ev: monaco.editor.IModelContentChangedEvent): void; /** * Optional, allow to config loader url and relative path of module, refer to require.config. diff --git a/types/react-monaco-editor/package.json b/types/react-monaco-editor/package.json index d6c58f873f..c30b05905b 100644 --- a/types/react-monaco-editor/package.json +++ b/types/react-monaco-editor/package.json @@ -1,6 +1,6 @@ { "private": true, "dependencies": { - "monaco-editor": "0.8.3" + "monaco-editor": "^0.10.0" } -} \ No newline at end of file +} diff --git a/types/react-monaco-editor/react-monaco-editor-tests.tsx b/types/react-monaco-editor/react-monaco-editor-tests.tsx index 3c9d3c359b..0c46e4cfd8 100644 --- a/types/react-monaco-editor/react-monaco-editor-tests.tsx +++ b/types/react-monaco-editor/react-monaco-editor-tests.tsx @@ -21,7 +21,7 @@ class CodeEditor extends React.Component<object, CodeEditorState> { console.log('editorDidMount', editor, editor.getValue(), editor.getModel()); this.editor = editor; } - onChange = (newValue: string, e: monaco.editor.IModelContentChangedEvent2) => { + onChange = (newValue: string, e: monaco.editor.IModelContentChangedEvent) => { console.log('onChange', newValue, e); this.setState({ code: newValue, From 38bd4efd5dc8c666f70d77b020a0b64a13ce3980 Mon Sep 17 00:00:00 2001 From: Evan Madow <evan@evanm.com> Date: Mon, 16 Oct 2017 11:56:13 -0700 Subject: [PATCH 377/433] Exporting nightwatch interfaces (#20465) * Exporting nightwatch interfaces * Update nightwatch-tests.ts * fixes --- types/nightwatch/index.d.ts | 60 ++++++++++++++-------------- types/nightwatch/nightwatch-tests.ts | 2 + 2 files changed, 32 insertions(+), 30 deletions(-) diff --git a/types/nightwatch/index.d.ts b/types/nightwatch/index.d.ts index 7a60aedac5..f7ba43165b 100644 --- a/types/nightwatch/index.d.ts +++ b/types/nightwatch/index.d.ts @@ -6,11 +6,11 @@ /* tslint:disable:max-line-length */ -interface NightwatchCustomPageObjects { +export interface NightwatchCustomPageObjects { page: {}; } -interface NightwatchDesiredCapabilities { +export interface NightwatchDesiredCapabilities { /** * The name of the browser being used; should be one of {android|chrome|firefox|htmlunit|internet explorer|iPhone|iPad|opera|safari}. */ @@ -111,26 +111,26 @@ interface NightwatchDesiredCapabilities { }; } -interface NightwatchScreenshotOptions { +export interface NightwatchScreenshotOptions { enabled?: boolean; on_failure?: boolean; on_error?: boolean; path?: string; } -interface NightwatchTestRunner { +export interface NightwatchTestRunner { "type"?: string; options?: { ui?: string; }; } -interface NightwatchTestWorker { +export interface NightwatchTestWorker { enabled: boolean; workers: string; } -interface NightwatchOptions { +export interface NightwatchOptions { /** * An array of folders (excluding subfolders) where the tests are located. */ @@ -200,7 +200,7 @@ interface NightwatchOptions { test_runner?: string | NightwatchTestRunner; } -interface NightwatchSeleniumOptions { +export interface NightwatchSeleniumOptions { /** * Whether or not to manage the selenium process automatically. */ @@ -250,7 +250,7 @@ interface NightwatchSeleniumOptions { cli_args: any; } -interface NightwatchTestSettingGeneric { +export interface NightwatchTestSettingGeneric { /** * A url which can be used later in the tests as the main url to load. Can be useful if your tests will run on different environments, each one with a different url. */ @@ -352,7 +352,7 @@ interface NightwatchTestSettingGeneric { skip_testcases_on_fail: boolean; } -interface NightwatchTestSettingScreenshots extends NightwatchTestSettingGeneric { +export interface NightwatchTestSettingScreenshots extends NightwatchTestSettingGeneric { /** * Selenium generates screenshots when command errors occur. With on_failure set to true, also generates screenshots for failing or erroring tests. These are saved on the disk. * Since v0.7.5 you can disable screenshots for command errors by setting "on_error" to false. @@ -367,26 +367,26 @@ interface NightwatchTestSettingScreenshots extends NightwatchTestSettingGeneric screenshots: NightwatchScreenshotOptions; } -interface NightwatchTestOptions extends NightwatchTestSettingGeneric { +export interface NightwatchTestOptions extends NightwatchTestSettingGeneric { screenshots: boolean; screenshotsPath: string; } -interface NightwatchTestSuite { +export interface NightwatchTestSuite { name: string; "module": string; group: string; results: any; } -interface NightwatchAssertionsError { +export interface NightwatchAssertionsError { name: string; message: string; showDiff: boolean; stack: string; } -interface NightwatchLanguageChains { +export interface NightwatchLanguageChains { to: Expect; be: Expect; been: Expect; @@ -401,11 +401,11 @@ interface NightwatchLanguageChains { of: Expect; } -interface NightwatchTestSettings { +export interface NightwatchTestSettings { [key: string]: NightwatchTestSettingScreenshots; } -interface Expect extends NightwatchLanguageChains, NightwatchBrowser { +export interface Expect extends NightwatchLanguageChains, NightwatchBrowser { /** * Returns the DOM Element * @param property: Css / Id property of the DOM element @@ -496,7 +496,7 @@ interface Expect extends NightwatchLanguageChains, NightwatchBrowser { visible: this; } -interface NightwatchAssertions extends NightwatchBrowser { +export interface NightwatchAssertions extends NightwatchBrowser { /** * Checks if the given attribute of an element contains the expected value. * @param selector: The selector (CSS / Xpath) used to locate the element. @@ -649,17 +649,17 @@ interface NightwatchAssertions extends NightwatchBrowser { NightwatchAssertionsError: NightwatchAssertionsError; } -interface NightwatchTypedCallbackResult<T> { +export interface NightwatchTypedCallbackResult<T> { status: number; value: T; state: Error | string; } // tslint:disable-next-line:no-empty-interface -interface NightwatchCallbackResult extends NightwatchTypedCallbackResult<any> { +export interface NightwatchCallbackResult extends NightwatchTypedCallbackResult<any> { } -interface NightwatchLogEntry { +export interface NightwatchLogEntry { /** * The log entry message. */ @@ -676,7 +676,7 @@ interface NightwatchLogEntry { level: string; } -interface NightwatchKeys { +export interface NightwatchKeys { /** Releases all held modifier keys. */ "NULL": string; /** OS-specific keystroke sequence that performs a cancel action. */ @@ -799,7 +799,7 @@ interface NightwatchKeys { "COMMAND": string; } -interface NightwatchAPI { +export interface NightwatchAPI { assert: NightwatchAssertions; expect: Expect; @@ -2256,12 +2256,12 @@ interface NightwatchAPI { } /* tslint:disable-next-line:no-empty-interface */ -interface NightwatchCustomCommands {} +export interface NightwatchCustomCommands {} /* tslint:disable-next-line:no-empty-interface */ -interface NightwatchCustomAssertions {} +export interface NightwatchCustomAssertions {} -interface NightwatchBrowser extends NightwatchAPI, NightwatchCustomCommands, NightwatchCustomAssertions, NightwatchCustomPageObjects { } +export interface NightwatchBrowser extends NightwatchAPI, NightwatchCustomCommands, NightwatchCustomAssertions, NightwatchCustomPageObjects { } /** * Performs an assertion @@ -2273,9 +2273,9 @@ interface NightwatchBrowser extends NightwatchAPI, NightwatchCustomCommands, Nig * @param abortOnFailure * @param originalStackTrace */ -type NightwatchTest = (browser: NightwatchBrowser) => void; +export type NightwatchTest = (browser: NightwatchBrowser) => void; -interface NightwatchTests { +export interface NightwatchTests { [key: string]: NightwatchTest; } @@ -2289,7 +2289,7 @@ interface NightwatchTests { * @param abortOnFailure * @param originalStackTrace */ -type NightwatchAssert = (passed: boolean, receivedValue?: any, expectedValue?: any, message?: string, abortOnFailure?: boolean, originalStackTrace?: string) => void; +export type NightwatchAssert = (passed: boolean, receivedValue?: any, expectedValue?: any, message?: string, abortOnFailure?: boolean, originalStackTrace?: string) => void; /** * Abstract assertion class that will subclass all defined assertions @@ -2303,7 +2303,7 @@ type NightwatchAssert = (passed: boolean, receivedValue?: any, expectedValue?: a * - @param {function} command * - @param {function} - Optional failure */ -interface NightwatchAssertion { +export interface NightwatchAssertion { expected: (() => void) | boolean; message: string; pass(...args: any[]): any; @@ -2313,12 +2313,12 @@ interface NightwatchAssertion { api?: NightwatchAPI; } -interface NightwatchClient { +export interface NightwatchClient { api: NightwatchAPI; assertion: NightwatchAssert; } -interface Nightwatch { +export interface Nightwatch { api: NightwatchAPI; client: NightwatchClient; } diff --git a/types/nightwatch/nightwatch-tests.ts b/types/nightwatch/nightwatch-tests.ts index 62122fb041..a40c8c466a 100644 --- a/types/nightwatch/nightwatch-tests.ts +++ b/types/nightwatch/nightwatch-tests.ts @@ -1,3 +1,5 @@ +import { NightwatchAPI, NightwatchTests } from 'nightwatch'; + const test: NightwatchTests = { 'Demo test Google': (browser) => { browser From a7a71f2be36a37bac063bed8f21fda4f744284ac Mon Sep 17 00:00:00 2001 From: Alexandre <alexr.3165@gmail.com> Date: Mon, 16 Oct 2017 19:57:48 +0100 Subject: [PATCH 378/433] Fix some mapbox-gl mismatching typings (#20472) * Fix some mapbox-gl mismatching typings * Increase version and fix ts options * Remove flag * Add back strictFunctionTypes: true flag * More types fix * Make fill-outline-color optional --- types/mapbox-gl/index.d.ts | 12 ++++++------ types/mapbox-gl/mapbox-gl-tests.ts | 22 +++++++++++----------- types/mapbox-gl/tsconfig.json | 4 ++-- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/types/mapbox-gl/index.d.ts b/types/mapbox-gl/index.d.ts index ec154e4ab1..43921b1593 100644 --- a/types/mapbox-gl/index.d.ts +++ b/types/mapbox-gl/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Mapbox GL JS v0.39.1 +// Type definitions for Mapbox GL JS v0.40.1 // Project: https://github.com/mapbox/mapbox-gl-js // Definitions by: Dominik Bruderer <https://github.com/dobrud>, Patrick Reames <https://github.com/patrickr> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -87,7 +87,7 @@ declare namespace mapboxgl { getLayer(id: string): mapboxgl.Layer; - setFilter(layer: string, filter: any[]): this; + setFilter(layer: string, filter?: any[]): this; setLayerZoomRange(layerId: string, minzoom: number, maxzoom: number): this; @@ -224,7 +224,7 @@ declare namespace mapboxgl { /** If true, enable keyboard shortcuts (see KeyboardHandler). */ keyboard?: boolean; - logoPosition?: boolean; + logoPosition?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'; /** If set, the map is constrained to the given bounds. */ maxBounds?: LngLatBoundsLike; @@ -944,7 +944,7 @@ declare namespace mapboxgl { "fill-antialias"?: boolean; "fill-opacity"?: number | StyleFunction; "fill-color"?: string | StyleFunction; - "fill-outline-color": string | StyleFunction; + "fill-outline-color"?: string | StyleFunction; "fill-translate"?: number[]; "fill-translate-anchor"?: "map" | "viewport"; "fill-pattern"?: "string"; @@ -958,9 +958,9 @@ declare namespace mapboxgl { "fill-extrusion-color"?: string | StyleFunction; "fill-extrusion-translate"?: number[]; "fill-extrusion-translate-anchor"?: "map" | "viewport"; - "fill-extrusion-pattern": string; + "fill-extrusion-pattern"?: string; "fill-extrusion-height"?: number | StyleFunction; - "fill-extrusion-base"?: number; + "fill-extrusion-base"?: number | StyleFunction; } export interface LineLayout { diff --git a/types/mapbox-gl/mapbox-gl-tests.ts b/types/mapbox-gl/mapbox-gl-tests.ts index 12fbac9010..10768549ca 100644 --- a/types/mapbox-gl/mapbox-gl-tests.ts +++ b/types/mapbox-gl/mapbox-gl-tests.ts @@ -303,16 +303,6 @@ var mapStyle = { ] }; -map = new mapboxgl.Map({ - container: 'map', - minZoom: 14, - zoom: 17, - center: [-122.514426, 37.562984], - bearing: -96, - style: videoStyle, - hash: false -}); - /** * Add video */ @@ -362,10 +352,20 @@ map = new mapboxgl.Map({ hash: false }); +map = new mapboxgl.Map({ + container: 'map', + minZoom: 14, + zoom: 17, + center: [-122.514426, 37.562984], + bearing: -96, + style: videoStyle, + hash: false +}); + /** * Marker */ -let marker = new mapboxgl.Marker(null,{offset: [10, 0]}) +let marker = new mapboxgl.Marker(undefined, {offset: [10, 0]}) .setLngLat([-50,50]) .addTo(map); diff --git a/types/mapbox-gl/tsconfig.json b/types/mapbox-gl/tsconfig.json index 2d80f414a1..4c4228132e 100644 --- a/types/mapbox-gl/tsconfig.json +++ b/types/mapbox-gl/tsconfig.json @@ -5,9 +5,9 @@ "es6", "dom" ], + "strictNullChecks": true, "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ @@ -21,4 +21,4 @@ "index.d.ts", "mapbox-gl-tests.ts" ] -} \ No newline at end of file +} From 58ad2772c3a02c774c228c926c4785c5fa1f2f2d Mon Sep 17 00:00:00 2001 From: Max Battcher <me@worldmaker.net> Date: Mon, 16 Oct 2017 16:04:19 -0400 Subject: [PATCH 379/433] Turf hosts own type definitions (#20334) --- types/turf/index.d.ts | 1281 ----------------------------------- types/turf/tsconfig.json | 23 - types/turf/turf-tests.ts | 522 -------------- types/turf/v2/index.d.ts | 580 ---------------- types/turf/v2/tsconfig.json | 28 - types/turf/v2/turf-tests.ts | 520 -------------- 6 files changed, 2954 deletions(-) delete mode 100644 types/turf/index.d.ts delete mode 100644 types/turf/tsconfig.json delete mode 100644 types/turf/turf-tests.ts delete mode 100644 types/turf/v2/index.d.ts delete mode 100644 types/turf/v2/tsconfig.json delete mode 100644 types/turf/v2/turf-tests.ts diff --git a/types/turf/index.d.ts b/types/turf/index.d.ts deleted file mode 100644 index be6b41662e..0000000000 --- a/types/turf/index.d.ts +++ /dev/null @@ -1,1281 +0,0 @@ -// Type definitions for Turf 3.5.2 -// Project: http://turfjs.org/ -// Definitions by: Guillaume Croteau <https://github.com/gcroteau>, Denis Carriere <https://github.com/DenisCarriere> -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -/// <reference types="geojson" /> - -/** -#### TODO: - -Update all methods with newest JSDocs & tests based on the latest TurfJS library. - -AGGREGATION -- [x] collect -MEASUREMENT -- [ ] along -- [ ] area -- [ ] bboxPolygon -- [ ] bearing -- [ ] center -- [ ] centroid -- [ ] destination -- [ ] distance -- [ ] envelope -- [ ] lineDistance -- [ ] midpoint -- [ ] pointOnSurface -- [ ] square -TRANSFORMATION -- [ ] bezier -- [ ] buffer -- [ ] concave -- [ ] convex -- [ ] difference -- [ ] intersect -- [ ] simplify -- [ ] union -MISC -- [ ] combine -- [ ] explode -- [ ] flip -- [ ] kinks -- [ ] lineSlice -- [ ] pointOnLine -HELPER -- [x] featureCollection -- [x] feature -- [x] lineString -- [x] multiLineString -- [x] point -- [x] multiPoint -- [x] polygon -- [x] multiPolygon -- [x] geometryCollection -DATA -- [x] random -- [x] sample -INTERPOLATION -- [ ] isolines -- [ ] planepoint -- [ ] tin -JOINS -- [x] inside -- [x] tag -- [ ] within -GRIDS -- [x] hexGrid -- [x] pointGrid -- [x] squareGrid -- [x] triangleGrid -CLASSIFICATION -- [ ] nearest -META -- [ ] propEach -- [ ] coordEach -- [ ] coordReduce -- [ ] featureEach -- [ ] getCoord -ASSERTIONS -- [ ] featureOf -- [ ] collectionOf -- [x] bbox -- [x] circle -- [x] geojsonType -- [x] propReduce -- [x] coordAll -- [x] tesselate - */ - -declare const turf: turf.TurfStatic; -declare const TemplateUnits: 'miles' | 'nauticalmiles' | 'degrees' | 'radians' | 'inches' | 'yards' | 'meters' | 'metres' | 'kilometers' | 'kilometres' -declare const TemplateType: 'point'| 'points' | 'polygon' | 'polygons' -declare interface OptionsRandom { - bbox?: Array<number> - num_vertices?: number - max_radial_length?: number -} -declare type PropReduceCallback = (memo: any, coord: GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any>) => any -declare module turf { - interface TurfStatic { - ////////////////////////////////////////////////////// - // Aggregation - ////////////////////////////////////////////////////// - - /** - * Merges a specified property from a FeatureCollection of points into a FeatureCollection of polygons. Given an `inProperty` on points and an `outProperty` for polygons, this finds every point that lies within each polygon, collects the `inProperty` values from those points, and adds them as an array to `outProperty` on the polygon. - * - * @name [collect](http://turfjs.org/docs/#collect) - * @param {FeatureCollection<Polygon>} polygons polygons with values on which to aggregate - * @param {FeatureCollection<Point>} points points to be aggregated - * @param {string} inProperty property to be nested from - * @param {string} outProperty property to be nested into - * @return {FeatureCollection<Polygon>} polygons with properties listed based on `outField` - * @example - * var poly1 = polygon([[[0,0],[10,0],[10,10],[0,10],[0,0]]]) - * var poly2 = polygon([[[10,0],[20,10],[20,20],[20,0],[10,0]]]) - * var polyFC = featurecollection([poly1, poly2]) - * var pt1 = point([5,5], {population: 200}) - * var pt2 = point([1,3], {population: 600}) - * var pt3 = point([14,2], {population: 100}) - * var pt4 = point([13,1], {population: 200}) - * var pt5 = point([19,7], {population: 300}) - * var ptFC = featurecollection([pt1, pt2, pt3, pt4, pt5]) - * var aggregated = aggregate(polyFC, ptFC, 'population', 'values') - * - * aggregated.features[0].properties.values // => [200, 600]) - */ - collect( - polygons: GeoJSON.FeatureCollection<GeoJSON.Polygon>, - points: GeoJSON.FeatureCollection<GeoJSON.Point>, - inProperty: string, - outProperty: string - ): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - - ////////////////////////////////////////////////////// - // Measurement - ////////////////////////////////////////////////////// - - /** - * Takes a line and returns a point at a specified distance along the line. - * @param line Input line - * @param distance Distance along the line - * @param [units=miles] 'miles', 'kilometers', 'radians' or 'degrees' - * @returns Point along the line - */ - along( - line: GeoJSON.Feature<GeoJSON.LineString>, - distance: number, - units?: typeof TemplateUnits - ): GeoJSON.Feature<GeoJSON.Point>; - - /** - * Takes one or more features and returns their area in square meters. - * @param input Input features - * @returns Area in square meters - */ - area(input: GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any>): number; - - /** - * Takes a set of features, calculates the bbox of all input features, and returns a bounding box. - * - * @name bbox - * @param {(Feature|FeatureCollection)} geojson input features - * @return {Array<number>} bbox extent in [minX, minY, maxX, maxY] order - * @example - * var pt1 = point([114.175329, 22.2524]) - * var pt2 = point([114.170007, 22.267969]) - * var pt3 = point([114.200649, 22.274641]) - * var pt4 = point([114.200649, 22.274641]) - * var pt5 = point([114.186744, 22.265745]) - * var features = featureCollection([pt1, pt2, pt3, pt4, pt5]) - * - * var bbox = turf.bbox(features); - * - * var bboxPolygon = turf.bboxPolygon(bbox); - * - * //=bbox - * - * //=bboxPolygon - */ - bbox(bbox: GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any>): Array<number>; - - /** - * Takes a {@link Point} and calculates the circle polygon given a radius in degrees, radians, miles, or kilometers; and steps for precision. - * - * @name circle - * @param {Feature<Point>} center center point - * @param {number} radius radius of the circle - * @param {number} [steps=64] number of steps - * @param {string} [units=kilometers] miles, kilometers, degrees, or radians - * @returns {Feature<Polygon>} circle polygon - * @example - * var center = point([-75.343, 39.984]); - * var radius = 5; - * var steps = 10; - * var units = 'kilometers'; - * - * var circle = turf.circle(center, radius, steps, units); - * - * //=circle - */ - circle(center: GeoJSON.Feature<GeoJSON.Point>, radius: number, steps?: number, units?: typeof TemplateUnits): GeoJSON.Feature<GeoJSON.Polygon>; - - - /** - * Enforce expectations about types of GeoJSON objects for Turf. - * - * @name geojsonType - * @param {GeoJSON} value any GeoJSON object - * @param {string} type expected GeoJSON type - * @param {string} name name of calling function - * @throws {Error} if value is not the expected type. - */ - geojsonType(value: GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any>, type: string, name: string): void - - /** - * Reduce properties in any GeoJSON object into a single value, similar to how Array.reduce works. However, in this case we lazily run the reduction, so an array of all properties is unnecessary. - * - * @name propReduce - * @param {GeoJSON} layer any GeoJSON object - * @param {Function} callback a method that takes (memo, coord) and returns a new memo - * @param {*} memo the starting value of memo: can be any type. - * @return {*} combined value - */ - propReduce(layer: GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any>, callback: PropReduceCallback, memo: any): any - - /** - * Get all coordinates from any GeoJSON object, returning an array of coordinate arrays. - * - * @name coordAll - * @param {GeoJSON} layer any GeoJSON object - * @returns {Array<Array<Number>>} coordinate position array - */ - coordAll(layer: GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any>): Array<Array<number>> - - /** - * Tesselates a {@link Feature<Polygon>} into a {@link FeatureCollection<Polygon>} of triangles using [earcut](https://github.com/mapbox/earcut). - * - * @name tesselate - * @param {Feature<Polygon>} polygon the polygon to tesselate - * @returns {FeatureCollection<Polygon>} a geometrycollection feature - * @example - * var polygon = turf.random('polygon').features[0]; - * - * var triangles = turf.tesselate(polygon); - * - * //=triangles - */ - tesselate(poly: GeoJSON.Feature<GeoJSON.Polygon>): GeoJSON.FeatureCollection<GeoJSON.Polygon> - - /** - * Takes a bbox and returns an equivalent polygon. - * @param bbox An Array of bounding box coordinates in the form: [xLow, yLow, xHigh, yHigh] - * @returns A Polygon representation of the bounding box - */ - bboxPolygon(bbox: Array<number>): GeoJSON.Feature<GeoJSON.Polygon>; - - /** - * Takes two points and finds the geographic bearing between them. - * @param start Starting Point - * @param end Ending point - * @returns Bearing in decimal degrees - */ - bearing(start: GeoJSON.Feature<GeoJSON.Point>, end: GeoJSON.Feature<GeoJSON.Point>): number; - - /** - * Takes a FeatureCollection and returns the absolute center point of all features. - * @param features Input features - * @returns A Point feature at the absolute center point of all input features - */ - center(features: GeoJSON.FeatureCollection<any>): GeoJSON.Feature<GeoJSON.Point>; - - /** - * Takes one or more features and calculates the centroid using the arithmetic mean of all vertices. - * This lessens the effect of small islands and artifacts when calculating the centroid of a set of polygons. - * @param features Input features - * @returns The centroid of the input features - */ - centroid(features: GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any>): GeoJSON.Feature<GeoJSON.Point>; - - /** - * Takes a Point and calculates the location of a destination point given a distance in degrees, radians, miles, or kilometers and bearing in degrees. - * This uses the Haversine formula to account for global curvature. - * @param start Starting point - * @param distance Distance from the starting point - * @param bearing Ranging from -180 and 180 - * @param units 'miles', 'kilometers', 'radians', or 'degrees' - * @returns Destination point - */ - destination( - start: GeoJSON.Feature<GeoJSON.Point>, - distance: number, - bearing: number, - units?: typeof TemplateUnits - ): GeoJSON.Feature<GeoJSON.Point>; - - /** - * Calculates the distance between two points in degress, radians, miles, or kilometers. - * This uses the Haversine formula to account for global curvature. - * @param from Origin point - * @param to Destination point - * @param [units=kilometers] 'miles', 'kilometers', 'radians', or 'degrees' - * @returns Distance between the two points - */ - distance( - from: GeoJSON.Feature<GeoJSON.Point>, - to: GeoJSON.Feature<GeoJSON.Point>, - units?: typeof TemplateUnits - ): number; - - /** - * Takes any number of features and returns a rectangular Polygon that encompasses all vertices. - * @param fc Input features - * @returns A rectangular Polygon feature that encompasses all vertices - */ - envelope(fc: GeoJSON.FeatureCollection<any>): GeoJSON.Feature<GeoJSON.Polygon>; - - /** - * Takes a line and measures its length in the specified units. - * @param line Line to measure - * @param units 'miles', 'kilometers', 'radians', or 'degrees' - * @returns Length of the input line - */ - lineDistance( - line: GeoJSON.Feature<GeoJSON.LineString>, - units?: typeof TemplateUnits - ): number; - - /** - * Takes two points and returns a point midway between them. - * @param pt1 First point - * @param pt2 Second point - * @returns A point midway between pt1 and pt2 - */ - midpoint(pt1: GeoJSON.Feature<GeoJSON.Point>, pt2: GeoJSON.Feature<GeoJSON.Point>): GeoJSON.Feature<GeoJSON.Point>; - - /** - * Takes a feature and returns a Point guaranteed to be on the surface of the feature. Given a Polygon, the point will be in the area of the polygon. - * Given a LineString, the point will be along the string. Given a Point, the point will the same as the input. - * @param input Any feature or set of features - * @returns A point on the surface of input - */ - pointOnSurface(input: GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any>): GeoJSON.Feature<any>; - - /** - * Takes a bounding box and calculates the minimum square bounding box that would contain the input. - * @param bbox A bounding box - * @returns A square surrounding bbox - */ - square(bbox: Array<number>): Array<number>; - - ////////////////////////////////////////////////////// - // Transformation - ////////////////////////////////////////////////////// - - /** - * Takes a line and returns a curved version by applying a Bezier spline algorithm. - * The bezier spline implementation is by Leszek Rybicki. - * @param line Input LineString - * @param [resolution=10000] Time in milliseconds between points - * @param [sharpness=0.85] A measure of how curvy the path should be between splines - * @returns Curved line - */ - bezier(line: GeoJSON.Feature<GeoJSON.LineString>, resolution?: number, sharpness?: number): GeoJSON.Feature<GeoJSON.LineString>; - - /** - * Calculates a buffer for input features for a given radius. Units supported are miles, kilometers, and degrees. - * @param feature Input to be buffered - * @param distance Distance to draw the buffer - * @param units 'miles', 'kilometers', 'radians', or 'degrees' - * @returns Buffered features - */ - buffer(feature: GeoJSON.Feature<GeoJSON.Polygon>, distance: number, units?: typeof TemplateUnits): GeoJSON.Feature<GeoJSON.Polygon>; - buffer(feature: GeoJSON.Feature<GeoJSON.MultiPolygon>, distance: number, units?: typeof TemplateUnits): GeoJSON.Feature<GeoJSON.MultiPolygon>; - buffer(feature: GeoJSON.Feature<GeoJSON.Point>, distance: number, units?: typeof TemplateUnits): GeoJSON.Feature<GeoJSON.Point>; - buffer(feature: GeoJSON.Feature<any>, distance: number, units?: typeof TemplateUnits): GeoJSON.Feature<any>; - buffer(feature: GeoJSON.FeatureCollection<GeoJSON.Polygon>, distance: number, units?: typeof TemplateUnits): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - buffer(feature: GeoJSON.FeatureCollection<GeoJSON.MultiPolygon>, distance: number, units?: typeof TemplateUnits): GeoJSON.FeatureCollection<GeoJSON.MultiPolygon>; - buffer(feature: GeoJSON.FeatureCollection<GeoJSON.Point>, distance: number, units?: typeof TemplateUnits): GeoJSON.FeatureCollection<GeoJSON.Point>; - buffer(feature: GeoJSON.FeatureCollection<any>, distance: number, units?: typeof TemplateUnits): GeoJSON.FeatureCollection<any>; - - /** - * Takes a set of points and returns a concave hull polygon. Internally, this implements a Monotone chain algorithm. - * @param points Input points - * @param maxEdge The size of an edge necessary for part of the hull to become concave (in miles) - * @param units Used for maxEdge distance (miles or kilometers) - * @returns A concave hull - */ - concave( - points: GeoJSON.FeatureCollection<GeoJSON.Point>, - maxEdge: number, - units?: typeof TemplateUnits - ): GeoJSON.Feature<GeoJSON.Polygon>; - - /** - * Takes a set of points and returns a convex hull polygon. Internally this uses the convex-hull module that implements a monotone chain hull. - * @param input Input points - * @returns A convex hull - */ - convex( - input: GeoJSON.FeatureCollection<GeoJSON.Point> - ): GeoJSON.Feature<GeoJSON.Polygon>; - - /** - * Finds the difference between two polygons by clipping the second polygon from the first. - * @param poly1 Input Polygon feaure - * @param poly2 Polygon feature to difference from poly1 - * @returns A Polygon feature showing the area of poly1 excluding the area of poly2 - */ - difference( - poly1: GeoJSON.Feature<GeoJSON.Polygon>, - poly2: GeoJSON.Feature<GeoJSON.Polygon> - ): GeoJSON.Feature<GeoJSON.Polygon>; - - /** - * Takes two Features and finds their intersection. - * If they share a border, returns the border if they don't intersect, returns undefined. - * - * @name [intersect](http://turfjs.org/docs/#intersect) - * @param {Feature<Polygon>} poly1 - * @param {Feature<Polygon>} poly2 - * @returns {Feature|undefined} A feature representing the point(s) they share (in case of a {Point} or {MultiPoint}), the borders they share (in case of a {LineString} or a {MultiLineString}), the area they share (in case of {Polygon} or {MultiPolygon}). If they do not share any point, returns `undefined`. - * @example - * var poly1 = polygon([[ - * [-122.801742, 45.48565], - * [-122.801742, 45.60491], - * [-122.584762, 45.60491], - * [-122.584762, 45.48565], - * [-122.801742, 45.48565] - * ]]); - * - * var poly2 = polygon([[ - * [-122.520217, 45.535693], - * [-122.64038, 45.553967], - * [-122.720031, 45.526554], - * [-122.669906, 45.507309], - * [-122.723464, 45.446643], - * [-122.532577, 45.408574], - * [-122.487258, 45.477466], - * [-122.520217, 45.535693] - * ]]); - * var polygons = featureCollection([poly1, poly2]); - * - * var intersection = turf.intersect(poly1, poly2); - * - * //=polygons - * - * //=intersection - */ - intersect( - feature1: GeoJSON.Feature<GeoJSON.Polygon>, - feature2: GeoJSON.Feature<GeoJSON.Polygon> - ): GeoJSON.Feature<GeoJSON.Point | GeoJSON.LineString | GeoJSON.Polygon>; - intersect( - feature1: GeoJSON.Feature<any>, - feature2: GeoJSON.Feature<any> - ): GeoJSON.Feature<any>; - - /** - * Takes a LineString or Polygon and returns a simplified version. - * Internally uses simplify-js to perform simplification. - * @param feature Feature to be simplified - * @param tolerance Simplification tolerance - * @param highQuality Whether or not to spend more time to create a higher-quality simplification with a different algorithm - * @returns A simplified feature - */ - simplify(feature: GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any> | GeoJSON.GeometryCollection, tolerance: number, highQuality: boolean): GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any> | GeoJSON.GeometryCollection; - - /** - * Takes two polygons and returns a combined polygon. - * If the input polygons are not contiguous, this function returns a MultiPolygon feature.; - * @param poly1 Input polygon - * @param poly2 Another input polygon - * @returns A combined Polygon or MultiPolygon feature - */ - union(poly1: GeoJSON.Feature<GeoJSON.Polygon>, poly2: GeoJSON.Feature<GeoJSON.Polygon>): GeoJSON.Feature<GeoJSON.Polygon | GeoJSON.MultiPolygon>; - - ////////////////////////////////////////////////////// - // Misc - ////////////////////////////////////////////////////// - - /** - * Combines a FeatureCollection of Point, LineString, or Polygon features into MultiPoint, MultiLineString, or MultiPolygon features. - * @param fc A FeatureCollection of any type - * @returns A FeatureCollection of corresponding type to input - */ - combine(fc: GeoJSON.FeatureCollection<any>): GeoJSON.FeatureCollection<any>; - - /** - * Takes a feature or set of features and returns all positions as points. - * @param input Input features - * @returns Points representing the exploded input features - */ - explode(input: GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any>): GeoJSON.FeatureCollection<GeoJSON.Point>; - - /** - * Takes input features and flips all of their coordinates from [x, y] to [y, x]. - * @param input Input features - * @returns A feature or set of features of the same type as input with flipped coordinates - */ - flip(input: GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any>): GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any>; - - /** - * Takes a polygon and returns points at all self-intersections. - * @param polygon Input polygon - * @returns Self-intersections - */ - kinks(polygon: GeoJSON.Feature<GeoJSON.Polygon>): GeoJSON.FeatureCollection<GeoJSON.Point>; - - /** - * Takes a line, a start Point, and a stop point and returns the line in between those points. - * @param point1 Starting point - * @param point2 Stopping point - * @param line Line to slice - * @returns Sliced line - */ - lineSlice(point1: GeoJSON.Feature<GeoJSON.Point>, point2: GeoJSON.Feature<GeoJSON.Point>, line: GeoJSON.Feature<GeoJSON.LineString>): GeoJSON.Feature<GeoJSON.LineString>; - - /** - * Takes a Point and a LineString and calculates the closest Point on the LineString. - * @param line Line to snap to - * @param point Point to snap from - * @returns Closest point on the line to point - */ - pointOnLine(line: GeoJSON.Feature<GeoJSON.LineString>, point: GeoJSON.Feature<GeoJSON.Point>): GeoJSON.Feature<GeoJSON.Point>; - - ////////////////////////////////////////////////////// - // Helper - ////////////////////////////////////////////////////// - - /** - * Takes one or more {@link Feature|Features} and creates a {@link FeatureCollection}. - * - * @name [featureCollection](http://turfjs.org/docs/#featurecollection) - * @param {Feature[]} features input features - * @returns {FeatureCollection} a FeatureCollection of input features - * @example - * var features = [ - * turf.point([-75.343, 39.984], {name: 'Location A'}), - * turf.point([-75.833, 39.284], {name: 'Location B'}), - * turf.point([-75.534, 39.123], {name: 'Location C'}) - * ] - * - * var fc = turf.featureCollection(features) - * - * //=fc - */ - featureCollection(features: Array<GeoJSON.Feature<any>>): GeoJSON.FeatureCollection<any>; - - /** - * Wraps a GeoJSON {@link Geometry} in a GeoJSON {@link Feature}. - * - * @name [feature](http://turfjs.org/docs/#feature) - * @param {Geometry} geometry input geometry - * @param {Object} properties properties - * @returns {FeatureCollection} a FeatureCollection of input features - * @example - * var geometry = { - * "type": "Point", - * "coordinates": [ - * 67.5, - * 32.84267363195431 - * ] - * } - * - * var feature = turf.feature(geometry) - * - * //=feature - */ - feature(geometry:GeoJSON.Feature<any>, properties?: any): GeoJSON.Feature<any>; - - /** - * Creates a {@link LineString} based on a coordinate array. Properties can be added optionally. - * - * @name [lineString](http://turfjs.org/docs/#linestring) - * @param {Array<Array<number>>} coordinates an array of Positions - * @param {Object=} properties an Object of key-value pairs to add as properties - * @returns {Feature<LineString>} a LineString feature - * @throws {Error} if no coordinates are passed - * @example - * var linestring1 = turf.lineString([ - * [-21.964416, 64.148203], - * [-21.956176, 64.141316], - * [-21.93901, 64.135924], - * [-21.927337, 64.136673] - * ]) - * var linestring2 = turf.lineString([ - * [-21.929054, 64.127985], - * [-21.912918, 64.134726], - * [-21.916007, 64.141016], - * [-21.930084, 64.14446] - * ], {name: 'line 1', distance: 145}) - * - * //=linestring1 - * - * //=linestring2 - */ - lineString(coordinates: Array<Array<number>>, properties?: any): GeoJSON.Feature<GeoJSON.LineString>; - - /** - * Creates a {@link Feature<MultiLineString>} based on a coordinate array. Properties can be added optionally. - * - * @name [multiLineString](http://turfjs.org/docs/#multilinestring) - * @param {Array<Array<Array<number>>>} coordinates an array of LineStrings - * @param {Object=} properties an Object of key-value pairs to add as properties - * @returns {Feature<MultiLineString>} a MultiLineString feature - * @throws {Error} if no coordinates are passed - * @example - * var multiLine = turf.multiLineString([[[0,0],[10,10]]]) - * - * //=multiLine - * - */ - multiLineString(coordinates: Array<Array<Array<number>>>, properties?: any): GeoJSON.Feature<GeoJSON.MultiLineString>; - - /** - * Takes coordinates and properties (optional) and returns a new {@link Point} feature. - * - * @name [point](http://turfjs.org/docs/#point) - * @param {Array<number>} coordinates longitude, latitude position (each in decimal degrees) - * @param {Object=} properties an Object that is used as the {@link Feature}'s - * properties - * @returns {Feature<Point>} a Point feature - * @example - * var pt1 = turf.point([-75.343, 39.984]); - * - * //=pt1 - */ - point(coordinates: Array<number>, properties?: any): GeoJSON.Feature<GeoJSON.Point>; - - /** - * Creates a {@link Feature<MultiPoint>} based on a coordinate array. Properties can be added optionally. - * - * @name [multiPoint](http://turfjs.org/docs/#multipoint) - * @param {Array<Array<number>>} coordinates an array of Positions - * @param {Object=} properties an Object of key-value pairs to add as properties - * @returns {Feature<MultiPoint>} a MultiPoint feature - * @throws {Error} if no coordinates are passed - * @example - * var multiPt = turf.multiPoint([[0,0],[10,10]]) - * - * //=multiPt - * - */ - multiPoint(coordinates: Array<Array<number>>, properties?: any): GeoJSON.Feature<GeoJSON.MultiPoint>; - - /** - * Takes an array of LinearRings and optionally an {@link Object} with properties and returns a {@link Polygon} feature. - * - * @name [polygon](http://turfjs.org/docs/#polygon) - * @param {Array<Array<Array<number>>>} coordinates an array of LinearRings - * @param {Object=} properties a properties object - * @returns {Feature<Polygon>} a Polygon feature - * @throws {Error} throw an error if a LinearRing of the polygon has too few positions - * or if a LinearRing of the Polygon does not have matching Positions at the - * beginning & end. - * @example - * var polygon = turf.polygon([[ - * [-2.275543, 53.464547], - * [-2.275543, 53.489271], - * [-2.215118, 53.489271], - * [-2.215118, 53.464547], - * [-2.275543, 53.464547] - * ]], { name: 'poly1', population: 400}); - * - * //=polygon - */ - polygon(coordinates: Array<Array<Array<number>>>, properties?: any): GeoJSON.Feature<GeoJSON.Polygon>; - - /** - * Creates a {@link Feature<MultiPolygon>} based on a coordinate array. Properties can be added optionally. - * - * @name [multiPolygon](http://turfjs.org/docs/#multipolygon) - * @param {Array<Array<Array<Array<number>>>>} coordinates an array of Polygons - * @param {Object=} properties an Object of key-value pairs to add as properties - * @returns {Feature<MultiPolygon>} a multipolygon feature - * @throws {Error} if no coordinates are passed - * @example - * var multiPoly = turf.multiPolygon([[[[0,0],[0,10],[10,10],[10,0],[0,0]]]); - * - * //=multiPoly - * - */ - multiPolygon(coordinates: Array<Array<Array<Array<number>>>>, properties?: any): GeoJSON.Feature<GeoJSON.MultiPolygon>; - - /** - * Creates a {@link Feature<GeometryCollection>} based on acoordinate array. Properties can be added optionally. - * - * @name [geometryCollection](http://turfjs.org/docs/#geometrycollection) - * @param {Array<{Geometry}>} geometries an array of GeoJSON Geometries - * @param {Object=} properties an Object of key-value pairs to add as properties - * @returns {Feature<GeometryCollection>} a GeoJSON GeometryCollection Feature - * @example - * var point = { - * "type": "Point", - * "coordinates": [100, 0] - * }; - * var line = { - * "type": "LineString", - * "coordinates": [ [101, 0], [102, 1] ] - * }; - * var collection = turf.geometryCollection([point, line]); - * - * //=collection - */ - geometryCollection(geometries: Array<GeoJSON.GeometryObject>, properties?: any): GeoJSON.GeometryCollection; - - ////////////////////////////////////////////////////// - // Data - ////////////////////////////////////////////////////// - - /** - * Generates random {@link GeoJSON} data, including {@link Point|Points} and {@link Polygon|Polygons}, for testing and experimentation. - * - * @name [random](http://turfjs.org/docs/#random) - * @param {String} [type='point'] type of features desired: 'points' or 'polygons' - * @param {Number} [count=1] how many geometries should be generated. - * @param {Object} options options relevant to the feature desired. Can include: - * @param {Array<number>} options.bbox a bounding box inside of which geometries - * are placed. In the case of {@link Point} features, they are guaranteed to be within this bounds, - * while {@link Polygon} features have their centroid within the bounds. - * @param {Number} [options.num_vertices=10] options.vertices the number of vertices added - * to polygon features. - * @param {Number} [options.max_radial_length=10] the total number of decimal - * degrees longitude or latitude that a polygon can extent outwards to - * from its center. - * @return {FeatureCollection} generated random features - * @example - * var points = turf.random('points', 100, { - * bbox: [-70, 40, -60, 60] - * }) - * - * //=points - * - * var polygons = turf.random('polygons', 4, { - * bbox: [-70, 40, -60, 60] - * }) - * - * //=polygons - */ - random(type?: 'point', count?: number, options?: OptionsRandom): GeoJSON.FeatureCollection<GeoJSON.Point>; - random(type?: 'points', count?: number, options?: OptionsRandom): GeoJSON.FeatureCollection<GeoJSON.Point>; - random(type?: 'polygon', count?: number, options?: OptionsRandom): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - random(type?: 'polygons', count?: number, options?: OptionsRandom): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - random(type?: typeof TemplateType, count?: number, options?: OptionsRandom): GeoJSON.FeatureCollection<any>; - - /** - * Takes a {@link FeatureCollection} and returns a FeatureCollection with given number of {@link Feature|features} at random. - * - * @name [sample](http://turfjs.org/docs/#sample) - * @param {FeatureCollection} featurecollection set of input features - * @param {number} num number of features to select - * @return {FeatureCollection} a FeatureCollection with `n` features - * @example - * var points = turf.random('points', 1000); - * - * //=points - * - * var sample = turf.sample(points, 10); - * - * //=sample - */ - sample(featurecollection: GeoJSON.FeatureCollection<any>, num: number): GeoJSON.FeatureCollection<any>; - - ////////////////////////////////////////////////////// - // GRIDS - ////////////////////////////////////////////////////// - - /** - * Takes a bounding box and a cell size in degrees and returns a {@link FeatureCollection} of flat-topped hexagons ({@link Polygon} features) aligned in an "odd-q" vertical grid as described in [Hexagonal Grids](http://www.redblobgames.com/grids/hexagons/). - * - * @name [hexGrid](http://turfjs.org/docs/#hexgrid) - * @param {Array<number>} bbox bounding box in [minX, minY, maxX, maxY] order - * @param {number} cellSize dimension of cell in specified units - * @param {string} units used in calculating cellSize ('miles' or 'kilometers') - * @param {boolean} triangles whether to return as triangles instead of hexagons - * @return {FeatureCollection<Polygon>} a hexagonal grid - * @example - * var bbox = [-96,31,-84,40]; - * var cellSize = 50; - * var units = 'miles'; - * - * var hexgrid = turf.hexGrid(bbox, cellSize, units); - * - * //=hexgrid - */ - hexGrid( - bbox: Array<number>, - cellSize: number, - units?: typeof TemplateUnits, - triangles?: boolean - ): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - - /** - * Takes a bounding box and a cell depth and returns a set of {@link Point|points} in a grid. - * - * @name [pointGrid](http://turfjs.org/docs/#pointgrid) - * @param {Array<number>} bbox extent in [minX, minY, maxX, maxY] order - * @param {number} cellSize the distance across each cell - * @param {string} [units=kilometers] used in calculating cellSize, can be degrees, radians, miles, or kilometers - * @return {FeatureCollection<Point>} grid of points - * @example - * var extent = [-70.823364, -33.553984, -70.473175, -33.302986]; - * var cellSize = 3; - * var units = 'miles'; - * - * var grid = turf.pointGrid(extent, cellSize, units); - * - * //=grid - */ - pointGrid( - bbox: Array<number>, - cellSize: number, - units?: typeof TemplateUnits - ): GeoJSON.FeatureCollection<GeoJSON.Point>; - - /** - * Takes a bounding box and a cell depth and returns a set of square {@link Polygon|polygons} in a grid. - * - * @name [squareGrid](http://turfjs.org/docs/#squaregrid) - * @param {Array<number>} bbox extent in [minX, minY, maxX, maxY] order - * @param {number} cellSize width of each cell - * @param {string} [units=kilometers] used in calculating cellSize, can be degrees, radians, miles, or kilometers - * @return {FeatureCollection<Polygon>} grid a grid of polygons - * @example - * var bbox = [-96,31,-84,40] - * var cellSize = 10 - * var units = 'miles' - * - * var squareGrid = turf.squareGrid(bbox, cellSize, units) - * - * //=squareGrid - */ - squareGrid( - bbox: Array<number>, - cellSize: number, - units?: typeof TemplateUnits - ): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - - /** - * Takes a bounding box and a cell depth and returns a set of triangular {@link Polygon|polygons} in a grid. - * - * @name [triangleGrid](http://turfjs.org/docs/#trianglegrid)) - * @param {Array<number>} bbox extent in [minX, minY, maxX, maxY] order - * @param {number} cellSize dimension of each cell - * @param {string} [units=kilometers] used in calculating cellSize, can be degrees, radians, miles, or kilometers - * @return {FeatureCollection<Polygon>} grid of polygons - * @example - * var bbox = [-96,31,-84,40] - * var cellSize = 10; - * var units = 'miles'; - * - * var triangleGrid = turf.triangleGrid(extent, cellSize, units); - * - * //=triangleGrid - */ - triangleGrid( - bbox: Array<number>, - cellSize: number, - units?: typeof TemplateUnits - ): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - - ////////////////////////////////////////////////////// - // Interpolation - ////////////////////////////////////////////////////// - - /** - * Takes points with z-values and an array of value breaks and generates isolines. - * @param points Input points - * @param z The property name in points from which z-values will be pulled - * @param resolution Resolution of the underlying grid - * @param breaks Where to draw contours - * @returns Isolines - */ - isolines(points: GeoJSON.FeatureCollection<GeoJSON.Point>, z: string, resolution: number, breaks: Array<number>): GeoJSON.FeatureCollection<GeoJSON.LineString>; - - /** - * Takes a triangular plane as a Polygon and a Point within that triangle and returns the z-value at that point. - * The Polygon needs to have properties a, b, and c that define the values at its three corners. - * @param interpolatedPoint The Point for which a z-value will be calculated - * @param triangle A Polygon feature with three vertices - * @returns The z-value for interpolatedPoint - */ - planepoint(interpolatedpoint: GeoJSON.Feature<GeoJSON.Point>, triangle: GeoJSON.Feature<GeoJSON.Polygon>): number; - - /** - * Takes a set of points and the name of a z-value property and creates a Triangulated Irregular Network, or a TIN for short, returned as a collection of Polygons. - * These are often used for developing elevation contour maps or stepped heat visualizations. - * This triangulates the points, as well as adds properties called a, b, and c representing the value of the given propertyName at each of the points that represent the corners of the triangle. - * @param points Input points - * @param [propertyName] Name of the property from which to pull z values This is optional: if not given, then there will be no extra data added to the derived triangles. - * @returns TIN output - */ - tin(points: GeoJSON.FeatureCollection<GeoJSON.Point>, propertyName?: string): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - - ////////////////////////////////////////////////////// - // Joins - ////////////////////////////////////////////////////// - - /** - * Takes a {<Point>} and a {<Polygon>} or {<MultiPolygon>} and determines if the point resides inside the polygon. The polygon can be convex or concave. The function accounts for holes. - * - * @name [inside](http://turfjs.org/docs/#inside) - * @param {Feature<Point>} point input point - * @param {Feature<(Polygon|MultiPolygon)>} polygon input polygon or multipolygon - * @return {Boolean} `true` if the Point is inside the Polygon; `false` if the Point is not inside the Polygon - * @example - * var pt = point([-77, 44]) - * var poly = polygon([[[-81, 41], [-81, 47], [-72, 47], [-72, 41], [-81, 41]]]) - * - * var isInside = turf.inside(pt, poly) - * - * //=isInside - */ - inside( - point: GeoJSON.Feature<GeoJSON.Point>, - polygon: GeoJSON.Feature<GeoJSON.Polygon> - ): boolean; - - /** - * Takes a {FeatureCollection<Point>} and a {FeatureCollection<Polygon>} and performs a spatial join. - * - * @name [tag](http://turfjs.org/docs/#inside) - * @param {FeatureCollection<Point>} points input points - * @param {FeatureCollection<Polygon>} polygons input polygons - * @param {string} field property in `polygons` to add to joined {<Point>} features - * @param {string} outField property in `points` in which to store joined property from `polygons` - * @return {FeatureCollection<Point>} points with `containingPolyId` property containing values from `polyId` - * @example - * var pt1 = point([-77, 44]) - * var pt2 = point([-77, 38]) - * var poly1 = polygon([[[-81, 41], [-81, 47], [-72, 47], [-72, 41], [-81, 41]]], {pop: 1000}) - * var poly2 = polygon([[[-81, 35], [-81, 41], [-72, 41], [-72, 35], [-81, 35]]], {pop: 3000}) - * - * var points = featureCollection([pt1, pt2]) - * var polygons = featureCollection([poly1, poly2]) - * - * var tagged = turf.tag(points, polygons, 'pop', 'population') - * //=tagged - */ - tag( - points: GeoJSON.FeatureCollection<GeoJSON.Point>, - polygons: GeoJSON.FeatureCollection<GeoJSON.Polygon>, - field: string, - outField: string - ): GeoJSON.FeatureCollection<GeoJSON.Point>; - - /** - * Takes a set of points and a set of polygons and returns the points that fall within the polygons. - * @param points Input points - * @param polygons Input polygons - * @returns Points that land within at least one polygon - */ - within( - points: GeoJSON.FeatureCollection<GeoJSON.Point>, - polygons: GeoJSON.FeatureCollection<GeoJSON.Polygon> - ): GeoJSON.FeatureCollection<GeoJSON.Point>; - - ////////////////////////////////////////////////////// - // Classification - ////////////////////////////////////////////////////// - - /** - * Takes a reference point and a set of points and returns the point from the set closest to the reference. - * @param point The reference point - * @param against Input point set - * @returns The closest point in the set to the reference point - */ - nearest( - point: GeoJSON.Feature<GeoJSON.Point>, - against: GeoJSON.FeatureCollection<GeoJSON.Point> - ): GeoJSON.Feature<GeoJSON.Point>; - } -} - -// NPM Stable version of Turf -declare module "turf" { - export = turf -} - -// Latest version of Turf -declare module "@turf/turf" { - export = turf -} - -// AGGREGATION -declare module "@turf/collect" { - const collect: typeof turf.collect; - export = collect; -} - -// MEASUREMENT -declare module "@turf/along" { - const along: typeof turf.along; - export = along; -} - -declare module "@turf/area" { - const area: typeof turf.area; - export = area; -} - -declare module "@turf/bbox-polygon" { - const bboxPolygon: typeof turf.bboxPolygon; - export = bboxPolygon; -} - -declare module "@turf/bearing" { - const bearing: typeof turf.bearing; - export = bearing; -} - -declare module "@turf/center" { - const center: typeof turf.center; - export = center; -} - -declare module "@turf/centroid" { - const centroid: typeof turf.centroid; - export = centroid; -} - -declare module "@turf/destination" { - const destination: typeof turf.destination; - export = destination; -} - -declare module "@turf/distance" { - const distance: typeof turf.distance; - export = distance; -} - -declare module "@turf/envelope" { - const envelope: typeof turf.envelope; - export = envelope; -} - -declare module "@turf/line-distance" { - const lineDistance: typeof turf.lineDistance; - export = lineDistance; -} - -declare module "@turf/midpoint" { - const midpoint: typeof turf.midpoint; - export = midpoint; -} - -declare module "@turf/point-on-surface" { - const pointOnSurface: typeof turf.pointOnSurface; - export = pointOnSurface; -} - -declare module "@turf/square" { - const square: typeof turf.square; - export = square; -} - -// TRANSFORMATION -declare module "@turf/bezier" { - const bezier: typeof turf.bezier; - export = bezier; -} - -declare module "@turf/buffer" { - const buffer: typeof turf.buffer; - export = buffer; -} - -declare module "@turf/concave" { - const concave: typeof turf.concave; - export = concave; -} - -declare module "@turf/convex" { - const convex: typeof turf.convex; - export = convex; -} - -declare module "@turf/difference" { - const difference: typeof turf.difference; - export = difference; -} - -declare module "@turf/intersect" { - const intersect: typeof turf.intersect; - export = intersect; -} - -declare module "@turf/simplify" { - const simplify: typeof turf.simplify; - export = simplify; -} - -declare module "@turf/union" { - const union: typeof turf.union; - export = union; -} - -// MISC -declare module "@turf/combine" { - const combine: typeof turf.combine; - export = combine; -} - -declare module "@turf/explode" { - const explode: typeof turf.explode; - export = explode; -} - -declare module "@turf/flip" { - const flip: typeof turf.flip; - export = flip; -} - -declare module "@turf/kinks" { - const kinks: typeof turf.kinks; - export = kinks; -} - -declare module "@turf/line-slice" { - const lineSlice: typeof turf.lineSlice; - export = lineSlice; -} - -declare module "@turf/point-on-line" { - const pointOnLine: typeof turf.pointOnLine; - export = pointOnLine; -} - -// HELPER -declare module "@turf/helpers" { - const helpers: { - featureCollection: typeof turf.featureCollection, - feature: typeof turf.feature, - lineString: typeof turf.lineString, - multiLineString: typeof turf.multiLineString, - point: typeof turf.point, - multiPoint: typeof turf.multiPoint, - polygon: typeof turf.polygon, - multiPolygon: typeof turf.multiPolygon, - geometryCollection: typeof turf.geometryCollection, - }; - export = helpers; -} - -// DATA -declare module "@turf/random" { - const random: typeof turf.random; - export = random; -} - -declare module "@turf/sample" { - const sample: typeof turf.sample; - export = sample; -} - -// INTERPOLATION -declare module "@turf/isolines" { - const isolines: typeof turf.isolines; - export = isolines; -} - -declare module "@turf/planepoint" { - const planepoint: typeof turf.planepoint; - export = planepoint; -} - -declare module "@turf/tin" { - const tin: typeof turf.tin; - export = tin; -} - -// JOINS -declare module "@turf/inside" { - const inside: typeof turf.inside; - export = inside; -} - -declare module "@turf/tag" { - const tag: typeof turf.tag; - export = tag; -} - -declare module "@turf/within" { - const within: typeof turf.within; - export = within; -} - -// GRIDS -declare module "@turf/hex-grid" { - const hexGrid: typeof turf.hexGrid; - export = hexGrid; -} - -declare module "@turf/point-grid" { - const pointGrid: typeof turf.pointGrid; - export = pointGrid; -} - -declare module "@turf/square-grid" { - const squareGrid: typeof turf.squareGrid; - export = squareGrid; -} - -declare module "@turf/triangle-grid" { - const triangleGrid: typeof turf.triangleGrid; - export = triangleGrid; -} - -// CLASSIFICATION -declare module "@turf/nearest" { - const nearest: typeof turf.nearest; - export = nearest; -} - -// // META -// declare module "@turf/propEach" { -// const propEach: typeof turf.propEach; -// export = propEach; -// } - -// declare module "@turf/coordEach" { -// const coordEach: typeof turf.coordEach; -// export = coordEach; -// } - -// declare module "@turf/coordReduce" { -// const coordReduce: typeof turf.coordReduce; -// export = coordReduce; -// } - -// declare module "@turf/featureEach" { -// const featureEach: typeof turf.featureEach; -// export = featureEach; -// } - -// declare module "@turf/getCoord" { -// const getCoord: typeof turf.getCoord; -// export = getCoord; -// } - -// // ASSERTIONS -// declare module "@turf/featureOf" { -// const featureOf: typeof turf.featureOf; -// export = featureOf; -// } - -// declare module "@turf/collectionOf" { -// const collectionOf: typeof turf.collectionOf; -// export = collectionOf; -// } - -declare module "@turf/bbox" { - const bbox: typeof turf.bbox; - export = bbox; -} - -declare module "@turf/circle" { - const circle: typeof turf.circle; - export = circle; -} - -declare module "@turf/geojsonType" { - const geojsonType: typeof turf.geojsonType; - export = geojsonType; -} - -declare module "@turf/propReduce" { - const propReduce: typeof turf.propReduce; - export = propReduce; -} - -declare module "@turf/coordAll" { - const coordAll: typeof turf.coordAll; - export = coordAll; -} - -declare module "@turf/tesselate" { - const tesselate: typeof turf.tesselate; - export = tesselate; -} diff --git a/types/turf/tsconfig.json b/types/turf/tsconfig.json deleted file mode 100644 index 344431ad7a..0000000000 --- a/types/turf/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "turf-tests.ts" - ] -} \ No newline at end of file diff --git a/types/turf/turf-tests.ts b/types/turf/turf-tests.ts deleted file mode 100644 index 1c18d01a7d..0000000000 --- a/types/turf/turf-tests.ts +++ /dev/null @@ -1,522 +0,0 @@ -import * as turf from '@turf/turf' -// AGGREGATION -import * as collect from '@turf/collect' -// MEASUREMENT -import * as along from '@turf/along' -import * as area from '@turf/area' -import * as bboxPolygon from '@turf/bbox-polygon' -import * as bearing from '@turf/bearing' -import * as center from '@turf/center' -import * as centroid from '@turf/centroid' -import * as destination from '@turf/destination' -import * as envelope from '@turf/envelope' -import * as lineDistance from '@turf/line-distance' -import * as midpoint from '@turf/midpoint' -import * as pointOnSurce from '@turf/point-on-surface' -import * as square from '@turf/square' -// TRANSFORMATION -import * as bezier from '@turf/bezier' -import * as buffer from '@turf/buffer' -import * as concave from '@turf/concave' -import * as convex from '@turf/convex' -import * as difference from '@turf/difference' -import * as intersect from '@turf/intersect' -import * as simplify from '@turf/simplify' -import * as union from '@turf/union' -// MISC -import * as combine from '@turf/combine' -import * as explode from '@turf/explode' -import * as flip from '@turf/flip' -import * as kinks from '@turf/kinks' -import * as lineSlice from '@turf/line-slice' -import * as pointOnLine from '@turf/point-on-line' -// HELPER -import { - featureCollection, - feature, - lineString, - multiLineString, - point, - multiPoint, - polygon, - multiPolygon, - geometryCollection } from '@turf/helpers' -// DATA -import * as random from '@turf/random' -import * as sample from '@turf/sample' -// INTERPOLATION -import * as isolines from '@turf/isolines' -import * as planepoint from '@turf/planepoint' -import * as tin from '@turf/tin' -// JOINS -import * as inside from '@turf/inside' -import * as tag from '@turf/tag' -import * as within from '@turf/within' -// GRIDS -import * as hexGrid from '@turf/hex-grid' -import * as pointGrid from '@turf/point-grid' -import * as squareGrid from '@turf/square-grid' -import * as triangleGrid from '@turf/triangle-grid' -// CLASSIFICATION -import * as nearest from '@turf/nearest' -// // META -// import * as propEach from '@turf/propEach' -// import * as coordEach from '@turf/coordEach' -// import * as coordReduce from '@turf/coordReduce' -// import * as featureEach from '@turf/featureEach' -// import * as getCoord from '@turf/getCoord' -// // ASSERTIONS -// import * as featureOf from '@turf/featureOf' -// import * as collectionOf from '@turf/collectionOf' -import * as bboxAssertions from '@turf/bbox' -// import * as circle from '@turf/circle' -// import * as geojsonType from '@turf/geojsonType' -// import * as propReduce from '@turf/propReduce' -// import * as coordAll from '@turf/coordAll' -// import * as tesselate from '@turf/tesselate' - -/////////////////////////////////////////// -// Tests data initialisation -/////////////////////////////////////////// -const bbox = [0, 0, 10, 10] -const properties = {pop: 3000} -const point1: GeoJSON.Feature<GeoJSON.Point> = { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-75.343, 39.984] - } -} - -const point2: GeoJSON.Feature<GeoJSON.Point> = { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-75.401, 39.884] - } -} - -const multiPoint1: GeoJSON.Feature<GeoJSON.MultiPoint> = { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "MultiPoint", - "coordinates": [ [100.0, 0.0], [101.0, 1.0] ] - } -} - -const lineString1: GeoJSON.Feature<GeoJSON.LineString> = { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [-77.031669, 38.878605], - [-77.029609, 38.881946], - [-77.020339, 38.884084], - [-77.025661, 38.885821], - [-77.021884, 38.889563], - [-77.019824, 38.892368] - ] - } -} - -const multiLineString1: GeoJSON.Feature<GeoJSON.MultiLineString> = { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "MultiLineString", - "coordinates": [ - [ [100.0, 0.0], [101.0, 1.0] ], - [ [102.0, 2.0], [103.0, 3.0] ] - ] - } -} - -const polygons: GeoJSON.FeatureCollection<GeoJSON.Polygon> = { - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [[ - [-67.031021, 10.458102], - [-67.031021, 10.53372], - [-66.929397, 10.53372], - [-66.929397, 10.458102], - [-67.031021, 10.458102] - ]] - } - }, { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [[ - [-66.919784, 10.397325], - [-66.919784, 10.513467], - [-66.805114, 10.513467], - [-66.805114, 10.397325], - [-66.919784, 10.397325] - ]] - } - } - ] -} - -const polygon1: GeoJSON.Feature<GeoJSON.Polygon> = { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [[ - [105.818939,21.004714], - [105.818939,21.061754], - [105.890007,21.061754], - [105.890007,21.004714], - [105.818939,21.004714] - ]] - } -} - -const polygon2: GeoJSON.Feature<GeoJSON.Polygon> = { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [[ - [-122.520217, 45.535693], - [-122.64038, 45.553967], - [-122.720031, 45.526554], - [-122.669906, 45.507309], - [-122.723464, 45.446643], - [-122.532577, 45.408574], - [-122.487258, 45.477466], - [-122.520217, 45.535693] - ]] - } -} - -const multiPolygon1: GeoJSON.Feature<GeoJSON.MultiPolygon> = { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [[[102.0, 2.0], [103.0, 2.0], [103.0, 3.0], [102.0, 3.0], [102.0, 2.0]]], - [[[100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0]], - [[100.2, 0.2], [100.8, 0.2], [100.8, 0.8], [100.2, 0.8], [100.2, 0.2]]] - ] - } -} - -const points: GeoJSON.FeatureCollection<GeoJSON.Point> = { - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-63.601226, 44.642643] - } - }, { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-63.591442, 44.651436] - } - }, { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-63.580799, 44.648749] - } - }, { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-63.573589, 44.641788] - } - }, { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-63.587665, 44.64533] - } - }, { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-63.595218, 44.64765] - } - } - ] -} - -const triangle: GeoJSON.Feature<GeoJSON.Polygon> = { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [[ - [-75.1221, 39.57], - [-75.58, 39.18], - [-75.97, 39.86], - [-75.1221, 39.57] - ]] - } -} - -/////////////////////////////////////////// -// Tests Measurement -/////////////////////////////////////////// - -// -- Test along -- -turf.along(lineString1, 50) -turf.along(lineString1, 50, 'miles') - -// -- Test area -- -turf.area(polygons) - -// -- Test bboxPolygon -- -turf.bboxPolygon(bbox) - -// -- Test bearing -- -turf.bearing(point1, point2) - -// -- Test center -turf.center(points) - -// -- Test centroid -- -turf.centroid(polygon1) - -// -- Test destination -- -turf.destination(point1, 50, 90) -turf.destination(point1, 50, 90, 'miles') - -// -- Test distance -- -turf.distance(point1, point2) -turf.distance(point1, point2, 'miles') - -// -- Test envelope -- -turf.envelope(polygons) - -// -- Test lineDistance -turf.lineDistance(lineString1) -turf.lineDistance(lineString1, 'miles') - -// -- Test midpoint -- -turf.midpoint(point1, point2) - -// -- Test pointOnSurface -- -turf.pointOnSurface(polygon1) - -// -- Test square -- -turf.square(bbox) - -/////////////////////////////////////////// -// Tests Transformation -/////////////////////////////////////////// - -// -- Test bezier -- -turf.bezier(lineString1) - -// -- Test buffer -- -turf.buffer(point1, 50) -turf.buffer(point1, 50, 'miles') - -// -- Test concave -- -turf.concave(points, 1, 'miles') - -// -- Test convex -- -turf.convex(points) - -// -- Test difference -- -turf.difference(polygon1, polygon2) - -// -- Test intersect -- -turf.intersect(polygon1, polygon2) -turf.intersect(point1, polygon1) -turf.intersect(point1, point1) -turf.intersect(polygon1, point1) -turf.intersect(polygon1, lineString1) -turf.intersect(lineString1, point1) - -// -- Test simplify -- - -turf.simplify(polygon1, 0.01, false) - -// -- Test union -- -turf.union(polygon1, polygon2) - -/////////////////////////////////////////// -// Tests Misc -/////////////////////////////////////////// - -// -- Test combine -- -turf.combine(points) - -// -- Test explode -- -turf.explode(polygon1) - -// -- Test flip -- -turf.flip(point1) - -// -- Test kinks -- -turf.kinks(polygon1) - -// -- Test lineSlice -- -turf.lineSlice(point1, point2, lineString1) - -// -- Test pointOnLine -- -turf.pointOnLine(lineString1, point1) - -/////////////////////////////////////////// -// Tests Helper -/////////////////////////////////////////// - -// -- Test featurecollection -- -turf.featureCollection([point1, point2]) -turf.featureCollection([point1, polygon1]) -turf.featureCollection([polygon1, polygon2]) -turf.featureCollection([lineString1, polygon1]) -turf.featureCollection([lineString1, point1]) - -// -- Test feature -- -turf.feature(point1) -turf.feature(polygon1) -turf.feature(lineString1) - -// -- Test lineString -- -turf.lineString(lineString1.geometry.coordinates) -turf.lineString(lineString1.geometry.coordinates, properties) - -// -- Test multiLineString -- -turf.multiLineString(multiLineString1.geometry.coordinates) - -// -- Test point -- -turf.point(point1.geometry.coordinates) -turf.point(point1.geometry.coordinates, properties) - -// -- Test multiPoint -- -turf.multiPoint(multiPoint1.geometry.coordinates) - -// -- Test polygon -- -turf.polygon(polygon1.geometry.coordinates, properties) - -// -- Test multiPolygon -- -turf.multiPolygon(multiPolygon1.geometry.coordinates, properties) - -// -- Test geometryCollection -- -turf.geometryCollection([point1.geometry, lineString1.geometry]); - -/////////////////////////////////////////// -// Tests Data -/////////////////////////////////////////// - -// -- Test random -- -turf.random('points', 100) -turf.random('points', 100, { bbox }) -turf.random('polygons', 100, { - bbox, - num_vertices: 10, - max_radial_length: 10 -}) - -// -- Test sample -- -turf.random('points', 100) -turf.sample(points, 10) - -/////////////////////////////////////////// -// Tests Interpolation -/////////////////////////////////////////// - -// -- Test hexGrid -- -turf.hexGrid(bbox, 50) -turf.hexGrid(bbox, 50, 'miles') - -// -- Test pointGrid -- -turf.pointGrid(bbox, 50) -turf.pointGrid(bbox, 50, 'miles') - -// -- Test squareGrid -- -turf.squareGrid(bbox, 50) -turf.squareGrid(bbox, 50, 'miles') - -// -- Test triangleGrid -- -turf.triangleGrid(bbox, 50) -turf.triangleGrid(bbox, 50, 'miles') - -/////////////////////////////////////////// -// Tests Interpolation -/////////////////////////////////////////// - -// -- Test isolines -- -turf.isolines(points, 'z', 15, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) - -// -- Test planepoint -- -turf.planepoint(point1, triangle) - -// -- Test tin -- -turf.tin(points, 'z') - -/////////////////////////////////////////// -// Tests Joins -/////////////////////////////////////////// - -// -- Test inside -- -turf.inside(point1, polygon1) - -// -- Test tag -- -turf.tag(points, polygons, 'pop', 'population') - -// -- Test within -- -turf.within(points, polygons) - -/////////////////////////////////////////// -// Tests Classification -/////////////////////////////////////////// - -// -- Test nearest -- -turf.nearest(point1, points) - -/////////////////////////////////////////// -// Tests Aggregation -/////////////////////////////////////////// -turf.collect(polygons, points, 'population', 'values') - -/////////////////////////////////////////// -// Tests Assertions -/////////////////////////////////////////// -// -- Test bbox -- -turf.bbox(polygon1) -turf.bbox(point1) -turf.bbox(lineString1) -turf.bbox(multiLineString1) -turf.bbox(multiPolygon1) -// -- Test circle -- -turf.circle(point1, 10) -turf.circle(point1, 10, 32) -turf.circle(point1, 10, 64, 'miles') - -// -- Test geojsonType -- -turf.geojsonType(point1, 'point', 'Test') - -// -- Test propReduce -- -turf.propReduce(point1, (memo, coord) => {}, 'point') - -// -- Test coordAll -- -turf.coordAll(polygon1) - -// -- Test tesselate -- -turf.tesselate(polygon1) \ No newline at end of file diff --git a/types/turf/v2/index.d.ts b/types/turf/v2/index.d.ts deleted file mode 100644 index 529be0afa1..0000000000 --- a/types/turf/v2/index.d.ts +++ /dev/null @@ -1,580 +0,0 @@ -// Type definitions for Turf 2.0 -// Project: http://turfjs.org/ -// Definitions by: Guillaume Croteau <https://github.com/gcroteau> -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -/// <reference types="geojson" /> - -declare module turf { - ////////////////////////////////////////////////////// - // Aggregation - ////////////////////////////////////////////////////// - - /** - * Calculates a series of aggregations for a set of points within a set of polygons. - * Sum, average, count, min, max, and deviation are supported. - * @param polygons Polygons with values on which to aggregate - * @param points Points to be aggregated - * @param aggregations An array of aggregation objects - * @returns Polygons with properties listed based on outField values in aggregations - */ - function aggregate(polygons: GeoJSON.FeatureCollection<GeoJSON.Polygon>, points: GeoJSON.FeatureCollection<GeoJSON.Point>, aggregations: Array<{aggregation: string, inField: string, outField: string}>): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - - /** - * Calculates the average value of a field for a set of points within a set of polygons. - * @param polygons Polygons with values on which to average - * @param points Points from which to calculate the average - * @param field The field in the points features from which to pull values to average - * @param outField The field in polygons to put results of the averages - * @returns Polygons with the value of outField set to the calculated averages - */ - function average(polygons: GeoJSON.FeatureCollection<GeoJSON.Polygon>, points: GeoJSON.FeatureCollection<GeoJSON.Point>, field: string, outField: string): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - - /** - * Takes a set of points and a set of polygons and calculates the number of points that fall within the set of polygons. - * @param polygons Input polygons - * @param points Input points - * @param countField A field to append to the attributes of the Polygon features representing Point counts - * @returns Polygons with countField appended - */ - function count(polygons: GeoJSON.FeatureCollection<GeoJSON.Polygon>, points: GeoJSON.FeatureCollection<GeoJSON.Point>, countField: string): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - - /** - * Calculates the standard deviation value of a field for a set of points within a set of polygons. - * @param polygons Input polygons - * @param points Input points - * @param inField The field in points from which to aggregate - * @param outField The field to append to polygons representing deviation - * @returns Polygons with appended field representing deviation - */ - function deviation(polygons: GeoJSON.FeatureCollection<GeoJSON.Polygon>, points: GeoJSON.FeatureCollection<GeoJSON.Point>, inField: string, outField: string): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - - /** - * Calculates the maximum value of a field for a set of points within a set of polygons. - * @param polygons Input polygons - * @param points Input points - * @param inField The field in input data to analyze - * @param outField The field in which to store results - * @returns Polygons with properties listed as outField values - */ - function max(polygons: GeoJSON.FeatureCollection<GeoJSON.Polygon>, points: GeoJSON.FeatureCollection<GeoJSON.Point>, inField: string, outField: string): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - - /** - * Calculates the median value of a field for a set of points within a set of polygons. - * @param polygons Input polygons - * @param points Input points - * @param inField The field in input data to analyze - * @param outField The field in which to store results - * @returns Polygons with properties listed as outField values - */ - function median(polygons: GeoJSON.FeatureCollection<GeoJSON.Polygon>, points: GeoJSON.FeatureCollection<GeoJSON.Point>, inField: string, outField: string): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - - /** - * Calculates the minimum value of a field for a set of points within a set of polygons. - * @param polygons Input polygons - * @param points Input points - * @param inField The field in input data to analyze - * @param outField The field in which to store results - * @returns Polygons with properties listed as outField values - */ - function min(polygons: GeoJSON.FeatureCollection<GeoJSON.Polygon>, points: GeoJSON.FeatureCollection<GeoJSON.Point>, inField: string, outField: string): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - - /** - * Calculates the sum of a field for a set of points within a set of polygons. - * @param polygons Input polygons - * @param points Input points - * @param inField The field in input data to analyze - * @param outField The field in which to store results - * @returns Polygons with properties listed as outField - */ - function sum(polygons: GeoJSON.FeatureCollection<GeoJSON.Polygon>, points: GeoJSON.FeatureCollection<GeoJSON.Point>, inField: string, outField: string): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - - /** - * Calculates the variance value of a field for a set of points within a set of polygons. - * @param polygons Input polygons - * @param points Input points - * @param inField The field in input data to analyze - * @param outField The field in which to store results - * @returns Polygons with properties listed as outField - */ - function variance(polygons: GeoJSON.FeatureCollection<GeoJSON.Polygon>, points: GeoJSON.FeatureCollection<GeoJSON.Point>, inField: string, outField: string): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - - ////////////////////////////////////////////////////// - // Measurement - ////////////////////////////////////////////////////// - - /** - * Takes a line and returns a point at a specified distance along the line. - * @param line Input line - * @param distance Distance along the line - * @param [units=miles] 'miles', 'kilometers', 'radians' or 'degrees' - * @returns Point along the line - */ - function along(line: GeoJSON.Feature<GeoJSON.LineString>, distance: number, units?: string): GeoJSON.Feature<GeoJSON.Point>; - - /** - * Takes one or more features and returns their area in square meters. - * @param input Input features - * @returns Area in square meters - */ - function area(input: GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any>): number; - - /** - * Takes a bbox and returns an equivalent polygon. - * @param bbox An Array of bounding box coordinates in the form: [xLow, yLow, xHigh, yHigh] - * @returns A Polygon representation of the bounding box - */ - function bboxPolygon(bbox: Array<number>): GeoJSON.Feature<GeoJSON.Polygon>; - - /** - * Takes two points and finds the geographic bearing between them. - * @param start Starting Point - * @param end Ending point - * @returns Bearing in decimal degrees - */ - function bearing(start: GeoJSON.Feature<GeoJSON.Point>, end: GeoJSON.Feature<GeoJSON.Point>): number; - - /** - * Takes a FeatureCollection and returns the absolute center point of all features. - * @param features Input features - * @returns A Point feature at the absolute center point of all input features - */ - function center(features: GeoJSON.FeatureCollection<any>): GeoJSON.Feature<GeoJSON.Point>; - - /** - * Takes one or more features and calculates the centroid using the arithmetic mean of all vertices. - * This lessens the effect of small islands and artifacts when calculating the centroid of a set of polygons. - * @param features Input features - * @returns The centroid of the input features - */ - function centroid(features: GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any>): GeoJSON.Feature<GeoJSON.Point>; - - /** - * Takes a Point and calculates the location of a destination point given a distance in degrees, radians, miles, or kilometers; and bearing in degrees. - * This uses the Haversine formula to account for global curvature. - * @param start Starting point - * @param distance Distance from the starting point - * @param bearing Ranging from -180 and 180 - * @param units 'miles', 'kilometers', 'radians', or 'degrees' - * @returns Destination point - */ - function destination(start: GeoJSON.Feature<GeoJSON.Point>, distance: number, bearing: number, units: string): GeoJSON.Feature<GeoJSON.Point>; - - /** - * Calculates the distance between two points in degress, radians, miles, or kilometers. - * This uses the Haversine formula to account for global curvature. - * @param from Origin point - * @param to Destination point - * @param [units=kilometers] 'miles', 'kilometers', 'radians', or 'degrees' - * @returns Distance between the two points - */ - function distance(from: GeoJSON.Feature<GeoJSON.Point>, to: GeoJSON.Feature<GeoJSON.Point>, units?: string): number; - - /** - * Takes any number of features and returns a rectangular Polygon that encompasses all vertices. - * @param fc Input features - * @returns A rectangular Polygon feature that encompasses all vertices - */ - function envelope(fc: GeoJSON.FeatureCollection<any>): GeoJSON.Feature<GeoJSON.Polygon>; - - /** - * Takes a set of features, calculates the extent of all input features, and returns a bounding box. - * @param input Input features - * @returns The bounding box of input given as an array in WSEN order (west, south, east, north) - */ - function extent(input: GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any>): Array<number>; - - /** - * Takes a line and measures its length in the specified units. - * @param line Line to measure - * @param units 'miles', 'kilometers', 'radians', or 'degrees' - * @returns Length of the input line - */ - function lineDistance(line: GeoJSON.Feature<GeoJSON.LineString>, units: string): number; - - /** - * Takes two points and returns a point midway between them. - * @param pt1 First point - * @param pt2 Second point - * @returns A point midway between pt1 and pt2 - */ - function midpoint(pt1: GeoJSON.Feature<GeoJSON.Point>, pt2: GeoJSON.Feature<GeoJSON.Point>): GeoJSON.Feature<GeoJSON.Point>; - - /** - * Takes a feature and returns a Point guaranteed to be on the surface of the feature. Given a Polygon, the point will be in the area of the polygon. - * Given a LineString, the point will be along the string. Given a Point, the point will the same as the input. - * @param input Any feature or set of features - * @returns A point on the surface of input - */ - function pointOnSurface(input: GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any>): GeoJSON.Feature<any>; - - /** - * Takes a bounding box and returns a new bounding box with a size expanded or contracted by a factor of X. - * @param bbox A bounding box - * @param factor The ratio of the new bbox to the input bbox - * @returns The resized bbox - */ - function size(bbox: Array<number>, factor: number): Array<number>; - - /** - * Takes a bounding box and calculates the minimum square bounding box that would contain the input. - * @param bbox A bounding box - * @returns A square surrounding bbox - */ - function square(bbox: Array<number>): Array<number>; - - ////////////////////////////////////////////////////// - // Transformation - ////////////////////////////////////////////////////// - - /** - * Takes a line and returns a curved version by applying a Bezier spline algorithm. - * The bezier spline implementation is by Leszek Rybicki. - * @param line Input LineString - * @param [resolution=10000] Time in milliseconds between points - * @param [sharpness=0.85] A measure of how curvy the path should be between splines - * @returns Curved line - */ - function bezier(line: GeoJSON.Feature<GeoJSON.LineString>, resolution?: number, sharpness?: number): GeoJSON.Feature<GeoJSON.LineString>; - - /** - * Calculates a buffer for input features for a given radius. Units supported are miles, kilometers, and degrees. - * @param feature Input to be buffered - * @param distance Distance to draw the buffer - * @param units 'miles', 'kilometers', 'radians', or 'degrees' - * @returns Buffered features - */ - function buffer(feature: GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any>, distance: number, units: string): GeoJSON.FeatureCollection<GeoJSON.Polygon> | GeoJSON.FeatureCollection<GeoJSON.MultiPolygon> | GeoJSON.Polygon | GeoJSON.MultiPolygon; - - /** - * Takes a set of points and returns a concave hull polygon. Internally, this implements a Monotone chain algorithm. - * @param points Input points - * @param maxEdge The size of an edge necessary for part of the hull to become concave (in miles) - * @param units Used for maxEdge distance (miles or kilometers) - * @returns A concave hull - */ - function concave(points: GeoJSON.FeatureCollection<GeoJSON.Point>, maxEdge: number, units: string): GeoJSON.Feature<GeoJSON.Polygon>; - - /** - * Takes a set of points and returns a convex hull polygon. Internally this uses the convex-hull module that implements a monotone chain hull. - * @param input Input points - * @returns A convex hull - */ - function convex(input: GeoJSON.FeatureCollection<GeoJSON.Point>): GeoJSON.Feature<GeoJSON.Polygon>; - - /** - * Finds the difference between two polygons by clipping the second polygon from the first. - * @param poly1 Input Polygon feaure - * @param poly2 Polygon feature to difference from poly1 - * @returns A Polygon feature showing the area of poly1 excluding the area of poly2 - */ - function difference(poly1: GeoJSON.Feature<GeoJSON.Polygon>, poly2: GeoJSON.Feature<GeoJSON.Polygon>): GeoJSON.Feature<GeoJSON.Polygon>; - - /** - * Takes two polygons and finds their intersection. - * If they share a border, returns the border; if they don't intersect, returns undefined. - * @param poly1 The first polygon - * @param poly2 The second polygon - * @returns If poly1 and poly2 overlap, returns a Polygon feature representing the area they overlap; - * if poly1 and poly2 do not overlap, returns undefined; - * if poly1 and poly2 share a border, a MultiLineString of the locations where their borders are shared - */ - function intersect(poly1: GeoJSON.Feature<GeoJSON.Polygon>, poly2: GeoJSON.Feature<GeoJSON.Polygon>): GeoJSON.Feature<GeoJSON.Polygon | GeoJSON.MultiLineString> | typeof undefined; - - /** - * Takes a set of polygons and returns a single merged polygon feature. - * If the input polygon features are not contiguous, this function returns a MultiPolygon feature. - * @param fc Input polygons - * @returns Merged polygon or multipolygon - */ - function merge(fc: GeoJSON.FeatureCollection<GeoJSON.Polygon>): GeoJSON.Feature<GeoJSON.Polygon | GeoJSON.MultiPolygon>; - - /** - * Takes a LineString or Polygon and returns a simplified version. - * Internally uses simplify-js to perform simplification. - * @param feature Feature to be simplified - * @param tolerance Simplification tolerance - * @param highQuality Whether or not to spend more time to create a higher-quality simplification with a different algorithm - * @returns A simplified feature - */ - function simplify(feature: GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any> | GeoJSON.GeometryCollection, tolerance: number, highQuality: boolean): GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any> | GeoJSON.GeometryCollection; - - /** - * Takes two polygons and returns a combined polygon. - * If the input polygons are not contiguous, this function returns a MultiPolygon feature. - * @param poly1 Input polygon - * @param poly2 Another input polygon - * @returns A combined Polygon or MultiPolygon feature - */ - function union(poly1: GeoJSON.Feature<GeoJSON.Polygon>, poly2: GeoJSON.Feature<GeoJSON.Polygon>): GeoJSON.Feature<GeoJSON.Polygon | GeoJSON.MultiPolygon>; - - ////////////////////////////////////////////////////// - // Misc - ////////////////////////////////////////////////////// - - /** - * Combines a FeatureCollection of Point, LineString, or Polygon features into MultiPoint, MultiLineString, or MultiPolygon features. - * @param fc A FeatureCollection of any type - * @returns A FeatureCollection of corresponding type to input - */ - function combine(fc: GeoJSON.FeatureCollection<any>): GeoJSON.FeatureCollection<any>; - - /** - * Takes a feature or set of features and returns all positions as points. - * @param input Input features - * @returns Points representing the exploded input features - */ - function explode(input: GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any>): GeoJSON.FeatureCollection<GeoJSON.Point>; - - /** - * Takes input features and flips all of their coordinates from [x, y] to [y, x]. - * @param input Input features - * @returns A feature or set of features of the same type as input with flipped coordinates - */ - function flip(input: GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any>): GeoJSON.Feature<any> | GeoJSON.FeatureCollection<any>; - - /** - * Takes a polygon and returns points at all self-intersections. - * @param polygon Input polygon - * @returns Self-intersections - */ - function kinks(polygon: GeoJSON.Feature<GeoJSON.Polygon>): GeoJSON.FeatureCollection<GeoJSON.Point>; - - /** - * Takes a line, a start Point, and a stop point and returns the line in between those points. - * @param point1 Starting point - * @param point2 Stopping point - * @param line Line to slice - * @returns Sliced line - */ - function lineSlice(point1: GeoJSON.Feature<GeoJSON.Point>, point2: GeoJSON.Feature<GeoJSON.Point>, line: GeoJSON.Feature<GeoJSON.LineString>): GeoJSON.Feature<GeoJSON.LineString>; - - /** - * Takes a Point and a LineString and calculates the closest Point on the LineString. - * @param line Line to snap to - * @param point Point to snap from - * @returns Closest point on the line to point - */ - function pointOnLine(line: GeoJSON.Feature<GeoJSON.LineString>, point: GeoJSON.Feature<GeoJSON.Point>): GeoJSON.Feature<GeoJSON.Point>; - - ////////////////////////////////////////////////////// - // Helper - ////////////////////////////////////////////////////// - - /** - * Takes one or more Features and creates a FeatureCollection. - * @param features Input features - * @returns A FeatureCollection of input features - */ - function featurecollection(features: Array<GeoJSON.Feature<any>>): GeoJSON.FeatureCollection<any>; - - /** - * Creates a LineString based on a coordinate array. Properties can be added optionally. - * @param coordinates An array of Positions - * @param [properties] An Object of key-value pairs to add as properties - * @returns A LineString feature - */ - function linestring(coordinates: Array<Array<number>>, properties?: any): GeoJSON.Feature<GeoJSON.LineString>; - - /** - * Takes coordinates and properties (optional) and returns a new Point feature. - * @param coordinates Longitude, latitude position (each in decimal degrees) - * @param [properties] An Object of key-value pairs to add as properties - * @returns A Point feature - */ - function point(coordinates: Array<number>, properties?: any): GeoJSON.Feature<GeoJSON.Point>; - - /** - * Takes an array of LinearRings and optionally an Object with properties and returns a Polygon feature. - * @param rings An array of LinearRings - * @param [properties] An Object of key-value pairs to add as properties - * @returns A Polygon feature - */ - function polygon(rings: Array<Array<Array<number>>>, properties?: any): GeoJSON.Feature<GeoJSON.Polygon>; - - ////////////////////////////////////////////////////// - // Data - ////////////////////////////////////////////////////// - - /** - * Takes a FeatureCollection and filters it by a given property and value. - * @param features Input features - * @param key The property on which to filter - * @param value The value of that property on which to filter - * @returns A filtered collection with only features that match input key and value - */ - function filter(features: GeoJSON.FeatureCollection<any>, key: string, value: string): GeoJSON.FeatureCollection<any>; - - /** - * Generates random GeoJSON data, including Points and Polygons, for testing and experimentation. - * @param [type='point'] Type of features desired: 'points' or 'polygons' - * @param [count=1] How many geometries should be generated. - * @param [options] Options relevant to the feature desired. Can include: - * - A bounding box inside of which geometries are placed. In the case of Point features, they are guaranteed to be within this bounds, while Polygon features have their centroid within the bounds. - * - The number of vertices added to polygon features. Default is 10; - * - The total number of decimal degrees longitude or latitude that a polygon can extent outwards to from its center. Default is 10. - * @returns Generated random features - */ - function random(type?: string, count?: number, options?: {bbox?: Array<number>; num_vertices?: number; max_radial_length?: number;}): GeoJSON.FeatureCollection<any>; - - /** - * Takes a FeatureCollection of any type, a property, and a value and returns a FeatureCollection with features matching that property-value pair removed. - * @param features Set of input features - * @param property The property to remove - * @param value The value to remove - * @returns The resulting FeatureCollection without features that match the property-value pair - */ - function remove(features: GeoJSON.FeatureCollection<any>, property: string, value: string): GeoJSON.FeatureCollection<any>; - - /** - * Takes a FeatureCollection and returns a FeatureCollection with given number of features at random. - * @param features Set of input features - * @param n Number of features to select - * @returns A FeatureCollection with n features - */ - function sample(features: GeoJSON.FeatureCollection<any>, n: number): GeoJSON.FeatureCollection<any>; - - ////////////////////////////////////////////////////// - // Interpolation - ////////////////////////////////////////////////////// - - /** - * Takes a bounding box and a cell size in degrees and returns a FeatureCollection of flat-topped hexagons (Polygon features) aligned in an "odd-q" vertical grid as described in Hexagonal Grids. - * @param bbox Bounding box in [minX, minY, maxX, maxY] order - * @param cellWidth Width of cell in specified units - * @param units Used in calculating cellWidth ('miles' or 'kilometers') - * @returns A hexagonal grid - */ - function hexGrid(bbox: Array<number>, cellWidth: number, units: string): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - - /** - * Takes points with z-values and an array of value breaks and generates isolines. - * @param points Input points - * @param z The property name in points from which z-values will be pulled - * @param resolution Resolution of the underlying grid - * @param breaks Where to draw contours - * @returns Isolines - */ - function isolines(points: GeoJSON.FeatureCollection<GeoJSON.Point>, z: string, resolution: number, breaks: Array<number>): GeoJSON.FeatureCollection<GeoJSON.LineString>; - - /** - * Takes a triangular plane as a Polygon and a Point within that triangle and returns the z-value at that point. - * The Polygon needs to have properties a, b, and c that define the values at its three corners. - * @param interpolatedPoint The Point for which a z-value will be calculated - * @param triangle A Polygon feature with three vertices - * @returns The z-value for interpolatedPoint - */ - function planepoint(interpolatedpoint: GeoJSON.Feature<GeoJSON.Point>, triangle: GeoJSON.Feature<GeoJSON.Polygon>): number; - - /** - * Takes a bounding box and a cell depth and returns a set of points in a grid. - * @param extent Extent in [minX, minY, maxX, maxY] order - * @param cellWidth The distance across each cell - * @param units Used in calculating cellWidth ('miles' or 'kilometers') - * @returns Grid of points - */ - function pointGrid(extent: Array<number>, cellWidth: number, units: string): GeoJSON.FeatureCollection<GeoJSON.Point>; - - /** - * Takes a bounding box and a cell depth and returns a set of square polygons in a grid. - * @param extent Extent in [minX, minY, maxX, maxY] order - * @param cellWidth Width of each cell - * @param units Used in calculating cellWidth ('miles' or 'kilometers') - * @returns Grid of polygons - */ - function squareGrid(extent: Array<number>, cellWidth: number, units: string): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - - /** - * Takes a set of points and the name of a z-value property and creates a Triangulated Irregular Network, or a TIN for short, returned as a collection of Polygons. - * These are often used for developing elevation contour maps or stepped heat visualizations. - * This triangulates the points, as well as adds properties called a, b, and c representing the value of the given propertyName at each of the points that represent the corners of the triangle. - * @param points Input points - * @param [propertyName] Name of the property from which to pull z values This is optional: if not given, then there will be no extra data added to the derived triangles. - * @returns TIN output - */ - function tin(points: GeoJSON.FeatureCollection<GeoJSON.Point>, propertyName?: string): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - - /** - * Takes a bounding box and a cell depth and returns a set of triangular polygons in a grid. - * @param extent Extent in [minX, minY, maxX, maxY] order - * @param cellWidth Width of each cell - * @param units Used in calculating cellWidth ('miles' or 'kilometers') - * @returns Grid of triangles - */ - function triangleGrid(extent: Array<number>, cellWidth: number, units: string): GeoJSON.FeatureCollection<GeoJSON.Polygon>; - - ////////////////////////////////////////////////////// - // Joins - ////////////////////////////////////////////////////// - - /** - * Takes a Point and a Polygon or MultiPolygon and determines if the point resides inside the polygon. - * The polygon can be convex or concave. The function accounts for holes. - * @param point Input point - * @param polygon Input polygon or multipolygon - * @returns true if the Point is inside the Polygon; false if the Point is not inside the Polygon - */ - function inside(point: GeoJSON.Feature<GeoJSON.Point>, polygon: GeoJSON.Feature<GeoJSON.Polygon>): boolean; - - /** - * Takes a set of points and a set of polygons and performs a spatial join. - * @param points Input points - * @param polygons Input polygons - * @param polyId Property in polygons to add to joined Point features - * @param containingPolyId Property in points in which to store joined property from polygons - * @returns Points with containingPolyId property containing values from polyId - */ - function tag(points: GeoJSON.FeatureCollection<GeoJSON.Point>, polygons: GeoJSON.FeatureCollection<GeoJSON.Polygon>, polyId: string, containingPolyId: string): GeoJSON.FeatureCollection<GeoJSON.Point>; - - /** - * Takes a set of points and a set of polygons and returns the points that fall within the polygons. - * @param points Input points - * @param polygons Input polygons - * @returns Points that land within at least one polygon - */ - function within(points: GeoJSON.FeatureCollection<GeoJSON.Point>, polygons: GeoJSON.FeatureCollection<GeoJSON.Polygon>): GeoJSON.FeatureCollection<GeoJSON.Point>; - - ////////////////////////////////////////////////////// - // Classification - ////////////////////////////////////////////////////// - - /** - * Takes a set of features and returns an array of the Jenks Natural breaks for a given property. - * @param input Input features - * @param field The property in input on which to calculate Jenks natural breaks - * @param numberOfBreaks Number of classes in which to group the data - * @returns The break number for each class plus the minimum and maximum values - */ - function jenks(input: GeoJSON.FeatureCollection<any>, field: string, numberOfBreaks: number): Array<number>; - - /** - * Takes a reference point and a set of points and returns the point from the set closest to the reference. - * @param point The reference point - * @param against Input point set - * @returns The closest point in the set to the reference point - */ - function nearest(point: GeoJSON.Feature<GeoJSON.Point>, against: GeoJSON.FeatureCollection<GeoJSON.Point>): GeoJSON.Feature<GeoJSON.Point>; - - /** - * Takes a FeatureCollection, a property name, and a set of percentiles and returns a quantile array. - * @param input Set of features - * @param field The property in input from which to retrieve quantile values - * @param percentiles An Array of percentiles on which to calculate quantile values - * @returns An array of the break values - */ - function quantile(input: GeoJSON.FeatureCollection<any>, field: string, percentiles: Array<number>): Array<number>; - - /** - * Takes a FeatureCollection, an input field, an output field, and an array of translations and outputs an identical FeatureCollection with the output field property populated. - * @param input Set of input features - * @param inField The field to translate - * @param outField The field in which to store translated results - * @param translations An array of translations - * @returns A FeatureCollection with identical geometries to input but with outField populated. - */ - function reclass(input: GeoJSON.FeatureCollection<any>, inField: string, outField: string, translations: Array<any>): GeoJSON.FeatureCollection<any>; -} - -declare module 'turf' { - export= turf; -} diff --git a/types/turf/v2/tsconfig.json b/types/turf/v2/tsconfig.json deleted file mode 100644 index ce4a40bcfa..0000000000 --- a/types/turf/v2/tsconfig.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "strictFunctionTypes": true, - "baseUrl": "../../", - "typeRoots": [ - "../../" - ], - "types": [], - "paths": { - "turf": [ - "turf/v2" - ] - }, - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "turf-tests.ts" - ] -} \ No newline at end of file diff --git a/types/turf/v2/turf-tests.ts b/types/turf/v2/turf-tests.ts deleted file mode 100644 index 22e36aa4ec..0000000000 --- a/types/turf/v2/turf-tests.ts +++ /dev/null @@ -1,520 +0,0 @@ -/////////////////////////////////////////// -// Tests data initialisation -/////////////////////////////////////////// - -var point1: GeoJSON.Feature<GeoJSON.Point> = { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-75.343, 39.984] - } -}; - -var point2: GeoJSON.Feature<GeoJSON.Point> = { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-75.534, 39.123] - } -}; - -var line: GeoJSON.Feature<GeoJSON.LineString> = { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [-77.031669, 38.878605], - [-77.029609, 38.881946], - [-77.020339, 38.884084], - [-77.025661, 38.885821], - [-77.021884, 38.889563], - [-77.019824, 38.892368] - ] - } -}; - -var polygons: GeoJSON.FeatureCollection<GeoJSON.Polygon> = { - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [[ - [-67.031021, 10.458102], - [-67.031021, 10.53372], - [-66.929397, 10.53372], - [-66.929397, 10.458102], - [-67.031021, 10.458102] - ]] - } - }, { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [[ - [-66.919784, 10.397325], - [-66.919784, 10.513467], - [-66.805114, 10.513467], - [-66.805114, 10.397325], - [-66.919784, 10.397325] - ]] - } - } - ] -}; - -var polygon1: GeoJSON.Feature<GeoJSON.Polygon> = { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [[ - [105.818939,21.004714], - [105.818939,21.061754], - [105.890007,21.061754], - [105.890007,21.004714], - [105.818939,21.004714] - ]] - } -}; - -var polygon2: GeoJSON.Feature<GeoJSON.Polygon> = { - "type": "Feature", - "properties": { - "fill": "#00f" - }, - "geometry": { - "type": "Polygon", - "coordinates": [[ - [-122.520217, 45.535693], - [-122.64038, 45.553967], - [-122.720031, 45.526554], - [-122.669906, 45.507309], - [-122.723464, 45.446643], - [-122.532577, 45.408574], - [-122.487258, 45.477466], - [-122.520217, 45.535693] - ]] - } -} - -var features: GeoJSON.FeatureCollection<GeoJSON.Point> = { - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-97.522259, 35.4691] - } - }, { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-97.502754, 35.463455] - } - }, { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-97.508269, 35.463245] - } - }, { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-97.516809, 35.465779] - } - }, { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-97.515372, 35.467072] - } - }, { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-97.509363, 35.463053] - } - }, { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-97.511123, 35.466601] - } - }, { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-97.518547, 35.469327] - } - }, { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-97.519706, 35.469659] - } - }, { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-97.517839, 35.466998] - } - }, { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-97.508678, 35.464942] - } - }, { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Point", - "coordinates": [-97.514914, 35.463453] - } - } - ] -}; - -var triangle: GeoJSON.Feature<GeoJSON.Polygon> = { - "type": "Feature", - "properties": { - "a": 11, - "b": 122, - "c": 44 - }, - "geometry": { - "type": "Polygon", - "coordinates": [[ - [-75.1221, 39.57], - [-75.58, 39.18], - [-75.97, 39.86], - [-75.1221, 39.57] - ]] - } -}; - -var aggregations = [ - { - aggregation: 'sum', - inField: 'population', - outField: 'pop_sum' - }, - { - aggregation: 'average', - inField: 'population', - outField: 'pop_avg' - }, - { - aggregation: 'median', - inField: 'population', - outField: 'pop_median' - }, - { - aggregation: 'min', - inField: 'population', - outField: 'pop_min' - }, - { - aggregation: 'max', - inField: 'population', - outField: 'pop_max' - }, - { - aggregation: 'deviation', - inField: 'population', - outField: 'pop_deviation' - }, - { - aggregation: 'variance', - inField: 'population', - outField: 'pop_variance' - }, - { - aggregation: 'count', - inField: '', - outField: 'point_count' - } -]; - -/////////////////////////////////////////// -// Tests Aggregation -/////////////////////////////////////////// - -// -- Test aggregate -- -var aggregated = turf.aggregate(polygons, points, aggregations); - -// -- Test average -- -var averaged = turf.average(polygons, points, 'population', 'pop_avg'); - -// -- Test count -- -var counted = turf.count(polygons, points, 'pt_count'); - -// -- Test deviation -- -var deviated = turf.deviation(polygons, points, 'population', 'pop_deviation'); - -// -- Test max -- -var aggregated = turf.max(polygons, points, 'population', 'max'); - -// -- Test median -- -var medians = turf.median(polygons, points, 'population', 'median'); - -// -- Test min -- -var minimums = turf.min(polygons, points, 'population', 'min'); - -// -- Test sum -- -var summed = turf.sum(polygons, points, 'population', 'sum'); - -// -- Test variance -- -var varianced = turf.variance(polygons, points, 'population', 'variance'); - -/////////////////////////////////////////// -// Tests Measurement -/////////////////////////////////////////// - -// -- Test along -- -var along = turf.along(line, 1, 'miles'); - -// -- Test area -- -var area = turf.area(polygons); - -// -- Test bboxPolygon -- -var bbox = [0, 0, 10, 10]; -var poly = turf.bboxPolygon(bbox); - -// -- Test bearing -- -var bearing = turf.bearing(point1, point2); - -// -- Test center -var centerPt = turf.center(features); - -// -- Test centroid -- -var centroidPt = turf.centroid(polygon1); - -// -- Test destination -- -var distance = 50; -var bearing = 90; -var units = 'miles'; -var destination = turf.destination(point1, distance, bearing, units); - -// -- Test distance -- -var units = "miles"; -var distance = turf.distance(point1, point2, units); - -// -- Test envelope -- -var enveloped = turf.envelope(polygons); - -// -- Test extent -- -var bbox = turf.extent(polygons); - -// -- Test lineDistance -var length = turf.lineDistance(line, 'miles'); - -// -- Test midpoint -- -var midpointed = turf.midpoint(point1, point2); - -// -- Test pointOnSurface -- -var pointOnPolygon = turf.pointOnSurface(polygon1); - -// -- Test size -- -var resized = turf.size(bbox, 2); - -// -- Test square -- -var squared = turf.square(bbox); - -/////////////////////////////////////////// -// Tests Transformation -/////////////////////////////////////////// - -// -- Test bezier -- -var curved = turf.bezier(line); - -// -- Test buffer -- -var buffered = turf.buffer(point1, 500, units); - -// -- Test concave -- -var hull = turf.concave(features, 1, 'miles'); - -// -- Test convex -- -var hull = turf.convex(features); - -// -- Test difference -- -var differenced = turf.difference(polygon1, polygon2); - -// -- Test intersect -- -var intersection = turf.intersect(polygon1, polygon2); - -// -- Test merge -- -var merged = turf.merge(polygons); - -// -- Test simplify -- -var tolerance = 0.01; -var simplified = turf.simplify(polygon1, tolerance, false); - -// -- Test union -- -var union = turf.union(polygon1, polygon2); - -/////////////////////////////////////////// -// Tests Misc -/////////////////////////////////////////// - -// -- Test combine -- -var combined = turf.combine(features); - -// -- Test explode -- -var points = turf.explode(polygon1); - -// -- Test flip -- -var flipedPoint = turf.flip(point1); - -// -- Test kinks -- -var kinks = turf.kinks(polygon1); - -// -- Test lineSlice -- -var sliced = turf.lineSlice(point1, point2, line); - -// -- Test pointOnLine -- -var snapped = turf.pointOnLine(line, point1); - -/////////////////////////////////////////// -// Tests Helper -/////////////////////////////////////////// - -// -- Test featurecollection -- -var fc = turf.featurecollection([point1, point2]); - -// -- Test linestring -- -var linestring1 = turf.linestring([ - [-21.964416, 64.148203], - [-21.956176, 64.141316], - [-21.93901, 64.135924], - [-21.927337, 64.136673] -]); -var linestring2 = turf.linestring([ - [-21.929054, 64.127985], - [-21.912918, 64.134726], - [-21.916007, 64.141016], - [-21.930084, 64.14446] -], {name: 'line 1', distance: 145}); - -// -- Test point -- -var pt1 = turf.point([-75.343, 39.984]); -var pt2 = turf.point([-75.343, 39.984], {name: 'point 1', distance: 145}); - -// -- Test polygon -- -var polygon = turf.polygon([[ - [-2.275543, 53.464547], - [-2.275543, 53.489271], - [-2.215118, 53.489271], - [-2.215118, 53.464547], - [-2.275543, 53.464547] -]], { name: 'poly1', population: 400}); - -/////////////////////////////////////////// -// Tests Data -/////////////////////////////////////////// - -// -- Test filter -- -var key = "species"; -var value = "oak"; -var filtered = turf.filter(features, key, value); - -// -- Test random -- -var randomPoints = turf.random('points', 100, { - bbox: [-70, 40, -60, 60] -}); - -var randomPoints = turf.random('points', 100, { - bbox: [-70, 40, -60, 60], - num_vertices: 2, - max_radial_length: 10 -}); - -// -- Test remove -- -var filtered = turf.remove(points, 'marker-color', '#00f'); - -// -- Test sample -- -var randomPoints = turf.random('points', 1000); -var sample = turf.sample(points, 10); - -/////////////////////////////////////////// -// Tests Interpolation -/////////////////////////////////////////// - -// -- Test hexGrid -- -var cellWidth = 50; -var hexgrid = turf.hexGrid(bbox, cellWidth, units); - -// -- Test isolines -- -var breaks = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; -var isolined = turf.isolines(points, 'z', 15, breaks); - -// -- Test planepoint -- -var zValue = turf.planepoint(point1, triangle); - -// -- Test pointGrid -- -var extent = [-70.823364, -33.553984, -70.473175, -33.302986]; -var cellWidth = 3; -var grid = turf.pointGrid(extent, cellWidth, units); - -// -- Test squareGrid -- -var squareGrid = turf.squareGrid(extent, cellWidth, units); - -// -- Test tin -- -var tin = turf.tin(points, 'z'); - -// -- Test triangleGrid -- -var triangleGrid = turf.triangleGrid(extent, cellWidth, units); - -/////////////////////////////////////////// -// Tests Joins -/////////////////////////////////////////// - -// -- Test inside -- -var isInside1 = turf.inside(point1, polygon); - -// -- Test tag -- -var tagged = turf.tag(points, triangleGrid, 'fill', 'marker-color'); - -// -- Test within -- -var ptsWithin = turf.within(points, polygons); - -/////////////////////////////////////////// -// Tests Classification -/////////////////////////////////////////// - -// -- Test jenks -- -var breaks = turf.jenks(points, 'population', 3); - -// -- Test nearest -- -var nearest = turf.nearest(point1, points); - -// -- Test quantile -- -var breaks = turf.quantile(points, 'population', [25, 50, 75, 99]); - -// -- Test reclass -- -var translations = [ - [0, 200, "small"], - [200, 400, "medium"], - [400, 600, "large"] -]; -var reclassed = turf.reclass(points, 'population', 'size', translations); From 32f35a9cc130737a8f90bb6b0bab5e86b0373396 Mon Sep 17 00:00:00 2001 From: Harry <harry@harryg.me> Date: Mon, 16 Oct 2017 21:15:03 +0100 Subject: [PATCH 380/433] Allow "Element" type for masonry element selector (#20473) --- types/masonry-layout/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/masonry-layout/index.d.ts b/types/masonry-layout/index.d.ts index 212baa2471..a771b423e5 100644 --- a/types/masonry-layout/index.d.ts +++ b/types/masonry-layout/index.d.ts @@ -10,7 +10,7 @@ export = Masonry; declare class Masonry { constructor(options?: Masonry.Options); - constructor(selector: string, options?: Masonry.Options); + constructor(selector: string | Element, options?: Masonry.Options); masonry?(): void; masonry?(eventName: string, listener: any): void; From 547c7fd61085af39f09617921a9be5659e6b1f0a Mon Sep 17 00:00:00 2001 From: "Robert K. Bell" <r-k-b@users.noreply.github.com> Date: Tue, 17 Oct 2017 07:15:22 +1100 Subject: [PATCH 381/433] [types/node] Add `final` option to Stream WritableOptions (#20477) * fix: add `final` option for WritableStreams * fix: use more accurate type for `final()` * typo: whitespace * test: add `final` option as documented here: https://nodejs.org/docs/latest/api/stream.html#stream_constructor_new_stream_writable_options * fix: cb is mandatory, error is optional --- types/node/index.d.ts | 1 + types/node/node-tests.ts | 3 +++ 2 files changed, 4 insertions(+) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 0806b4dafb..e259ae44e3 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -5147,6 +5147,7 @@ declare module "stream" { write?: (chunk: string | Buffer, encoding: string, callback: Function) => any; writev?: (chunks: Array<{ chunk: string | Buffer, encoding: string }>, callback: Function) => any; destroy?: (error?: Error) => any; + final?: (callback: (error?: Error) => void) => void; } export class Writable extends Stream implements NodeJS.WritableStream { diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index 21151ea7cc..6788b83ea6 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -825,6 +825,9 @@ function simplified_stream_ctor_test() { }, destroy(error) { error.stack; + }, + final(cb) { + cb(null); } }); From ea8b7af8c6b87f37396342ade7cfd4c5298ac6f6 Mon Sep 17 00:00:00 2001 From: kazuyamamoto <kazu@rao.co.jp> Date: Tue, 17 Oct 2017 05:16:08 +0900 Subject: [PATCH 382/433] [node] Add tls.getCiphers() and tls.DEFAULT_ECDH_CURVE (#20482) https://nodejs.org/api/tls.html#tls_tls_getciphers https://nodejs.org/api/tls.html#tls_tls_default_ecdh_curve --- types/node/index.d.ts | 3 +++ types/node/node-tests.ts | 3 +++ 2 files changed, 6 insertions(+) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index e259ae44e3..923a3802ae 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -4882,6 +4882,9 @@ declare module "tls" { export function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; export function createSecurePair(credentials?: crypto.Credentials, isServer?: boolean, requestCert?: boolean, rejectUnauthorized?: boolean): SecurePair; export function createSecureContext(details: SecureContextOptions): SecureContext; + export function getCiphers(): string[]; + + export var DEFAULT_ECDH_CURVE: string; } declare module "crypto" { diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index 6788b83ea6..50d9659744 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -979,6 +979,9 @@ namespace tls_tests { port: 55 }; var tlsSocket = tls.connect(connOpts); + + const ciphers: string[] = tls.getCiphers(); + const curve: string = tls.DEFAULT_ECDH_CURVE; } { From 77f13a18d67f53ea04d03f49a0a095aa420512d2 Mon Sep 17 00:00:00 2001 From: Jaye <jay.moloko@gmx.de> Date: Mon, 16 Oct 2017 22:16:33 +0200 Subject: [PATCH 383/433] [croppie] add missing type property for croppie 2.5 (#20484) --- types/croppie/index.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/types/croppie/index.d.ts b/types/croppie/index.d.ts index 78ab07ad61..ec4626aa7f 100644 --- a/types/croppie/index.d.ts +++ b/types/croppie/index.d.ts @@ -1,6 +1,7 @@ -// Type definitions for croppie 2.4 +// Type definitions for croppie 2.5 // Project: https://github.com/Foliotek/Croppie // Definitions by: Connor Peet <https://github.com/connor4312> +// dklmuc <https://github.com/dklmuc> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export default class Croppie { @@ -31,7 +32,10 @@ export type CropType = 'square' | 'circle'; export type Format = 'jpeg' | 'png' | 'webp'; +export type Type = 'canvas' | 'base64' | 'html' | 'blob' | 'rawcanvas'; + export interface ResultOptions { + type?: Type; size?: 'viewport' | 'original' | { width: number, height: number }; format?: Format; quality?: number; From 016a82b4ebf187c78cd71b911a2f0de236caef3f Mon Sep 17 00:00:00 2001 From: Benoit V <kunnix@users.noreply.github.com> Date: Mon, 16 Oct 2017 22:19:44 +0200 Subject: [PATCH 384/433] Update index.d.ts (#20499) Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a Broken by: https://github.com/DefinitelyTyped/DefinitelyTyped/commit/a24aee6125213ba20a5bda15a5d4fce8b60b2f57 React documentation for the supported "type" attribute: https://reactjs.org/docs/dom-elements.html --- types/react/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/react/index.d.ts b/types/react/index.d.ts index 62f1c6c151..864820aa63 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -2578,6 +2578,7 @@ declare namespace React { media?: string; rel?: string; target?: string; + type?: string; } // tslint:disable-next-line:no-empty-interface From 63e621265afc0c52468adb22ef0c194e03ff93c6 Mon Sep 17 00:00:00 2001 From: Karol Janyst <lapkom@gmail.com> Date: Tue, 17 Oct 2017 05:26:47 +0900 Subject: [PATCH 385/433] Update redux-saga-routines definitions (#20513) * Add definitions for redux-saga-routines * Make payload parameter optional, add test for routine --- types/redux-saga-routines/index.d.ts | 4 ++-- .../redux-saga-routines-tests.tsx | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/types/redux-saga-routines/index.d.ts b/types/redux-saga-routines/index.d.ts index d01e5edddf..7682fd30c1 100644 --- a/types/redux-saga-routines/index.d.ts +++ b/types/redux-saga-routines/index.d.ts @@ -10,10 +10,10 @@ import { FormSubmitHandler } from "redux-form"; export const ROUTINE_PROMISE_ACTION: string; export interface RoutineAction<T> extends Action { - payload: T; + payload?: T; } -export type RoutineActionCreator<T> = (payload: T) => RoutineAction<T>; +export type RoutineActionCreator<T> = (payload?: T) => RoutineAction<T>; export interface ReduxRoutine { TRIGGER: string; diff --git a/types/redux-saga-routines/redux-saga-routines-tests.tsx b/types/redux-saga-routines/redux-saga-routines-tests.tsx index 4cf2a62c4a..4717750166 100644 --- a/types/redux-saga-routines/redux-saga-routines-tests.tsx +++ b/types/redux-saga-routines/redux-saga-routines-tests.tsx @@ -15,6 +15,22 @@ sagaMiddleware.run(routinePromiseWatcherSaga); const submitFormRoutine = createRoutine("SUBMIT_MY_FORM"); const submitFormHandler = bindRoutineToReduxForm(submitFormRoutine); +submitFormRoutine.TRIGGER; +submitFormRoutine.REQUEST; +submitFormRoutine.SUCCESS; +submitFormRoutine.FAILURE; +submitFormRoutine.FULFILL; +submitFormRoutine.trigger(); +submitFormRoutine.trigger("test"); +submitFormRoutine.request(); +submitFormRoutine.request("test"); +submitFormRoutine.success(); +submitFormRoutine.success("test"); +submitFormRoutine.failure(); +submitFormRoutine.failure("test"); +submitFormRoutine.fulfill(); +submitFormRoutine.fulfill("test"); + const Test = reduxForm({ form : "test" })( From 352c9814fbb63725e3bbc5dd7c7f0b8eed6aff06 Mon Sep 17 00:00:00 2001 From: Ivan Jiang <iplus26@gmail.com> Date: Mon, 16 Oct 2017 15:27:21 -0500 Subject: [PATCH 386/433] Add missing `transformErrors` definition (#20514) --- types/react-jsonschema-form/index.d.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/types/react-jsonschema-form/index.d.ts b/types/react-jsonschema-form/index.d.ts index e4120ecf59..808661cb18 100644 --- a/types/react-jsonschema-form/index.d.ts +++ b/types/react-jsonschema-form/index.d.ts @@ -1,6 +1,8 @@ -// Type definitions for react-jsonschema-form 0.43.0 +// Type definitions for react-jsonschema-form 0.51.0 // Project: https://github.com/mozilla-services/react-jsonschema-form -// Definitions by: Dan Fox <https://github.com/iamdanfox>, Jon Surrell <https://github.com/sirreal> +// Definitions by: Dan Fox <https://github.com/iamdanfox> +// Jon Surrell <https://github.com/sirreal> +// Ivan Jiang <https://github.com/iplus26> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -23,6 +25,7 @@ declare module "react-jsonschema-form" { liveValidate?: boolean; safeRenderCompletion?: boolean; FieldTemplate?: any; + transformErrors?: (errors: any) => any; } export interface IChangeEvent { @@ -34,5 +37,5 @@ declare module "react-jsonschema-form" { status: string; } - export default class Form extends React.Component<FormProps> {} + export default class Form extends React.Component<FormProps> { } } From 6980b9ff25aa57a8b21c4ff84618ea72401ba120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20Jedli=C4=8Dka?= <jedlicka.r@gmail.com> Date: Mon, 16 Oct 2017 22:38:21 +0200 Subject: [PATCH 387/433] [meteor] Fix meteor/ejson/EJSONableCustomType (#20523) Fixing commit 7031c869bb0d219864cdede602b2d4b2284c695e In referenced commit the `clone` and `equal` methods in EJSONableCustomType was marked as optional but forgot to update the corresponding interface in `declare module "meteor/ejson"` section. --- types/meteor/ejson.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/meteor/ejson.d.ts b/types/meteor/ejson.d.ts index 3ea090a7d2..aa5cd0f5f9 100644 --- a/types/meteor/ejson.d.ts +++ b/types/meteor/ejson.d.ts @@ -38,8 +38,8 @@ declare module EJSON { declare module "meteor/ejson" { interface EJSONableCustomType { - clone(): EJSONableCustomType; - equals(other: Object): boolean; + clone?(): EJSONableCustomType; + equals?(other: Object): boolean; toJSONValue(): JSONable; typeName(): string; } From e9c47be75e73f88263fef3b0db1370722bff468f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Galliat?= <val@codejam.info> Date: Mon, 16 Oct 2017 16:38:41 -0400 Subject: [PATCH 388/433] request: response request always have an URI (#20526) --- types/request/index.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/types/request/index.d.ts b/types/request/index.d.ts index 10197579ac..080ec7cde2 100644 --- a/types/request/index.d.ts +++ b/types/request/index.d.ts @@ -177,8 +177,12 @@ declare namespace request { (error: any, response: RequestResponse, body: any): void; } + export type ResponseRequest = CoreOptions & { + uri: Url; + } + export interface RequestResponse extends http.IncomingMessage { - request: Options; + request: ResponseRequest; body: any; timingStart?: number; timings?: { From 99064aa7c7e82e17642e0e53785b7fd64baf6477 Mon Sep 17 00:00:00 2001 From: Jinwoo Lee <jinwoo@google.com> Date: Mon, 16 Oct 2017 13:39:23 -0700 Subject: [PATCH 389/433] Add types for Writable#_writev() & Duplex#_writev(). (#20529) * Add types for Writable#_writev() & Duplex#_writev(). As written in the doc: https://nodejs.org/dist/latest-v8.x/docs/api/stream.html#stream_writable_writev_chunks_callback * change `callback` from `Function` to `(err?: Error) => void` * make _writev() optional. Per the node document, it may or may not be implemented by implementations. --- types/node/index.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 923a3802ae..7fad343da0 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -5156,7 +5156,8 @@ declare module "stream" { export class Writable extends Stream implements NodeJS.WritableStream { writable: boolean; constructor(opts?: WritableOptions); - _write(chunk: any, encoding: string, callback: Function): void; + _write(chunk: any, encoding: string, callback: (err?: Error) => void): void; + _writev?(chunks: Array<{chunk: any, encoding: string}>, callback: (err?: Error) => void): void; _destroy(err: Error, callback: Function): void; _final(callback: Function): void; write(chunk: any, cb?: Function): boolean; @@ -5246,7 +5247,8 @@ declare module "stream" { export class Duplex extends Readable implements Writable { writable: boolean; constructor(opts?: DuplexOptions); - _write(chunk: any, encoding: string, callback: Function): void; + _write(chunk: any, encoding: string, callback: (err?: Error) => void): void; + _writev?(chunks: Array<{chunk: any, encoding: string}>, callback: (err?: Error) => void): void; _destroy(err: Error, callback: Function): void; _final(callback: Function): void; write(chunk: any, cb?: Function): boolean; From 2d02d74ac723fb66689bbb5451b0690f9db4c1f4 Mon Sep 17 00:00:00 2001 From: Maarten van Vliet <maartenvanvliet@users.noreply.github.com> Date: Mon, 16 Oct 2017 22:40:25 +0200 Subject: [PATCH 390/433] @types/gm Use union types instead of overloaded functions (#20530) * Turn on unifiable signatures tslint rule * Use union types in favor of overloaded functions * Add myself to definitions editors field --- types/gm/index.d.ts | 588 +++++++++++++++++++++---------------------- types/gm/tslint.json | 6 +- 2 files changed, 285 insertions(+), 309 deletions(-) diff --git a/types/gm/index.d.ts b/types/gm/index.d.ts index 2cba86936d..0670f0ae0f 100644 --- a/types/gm/index.d.ts +++ b/types/gm/index.d.ts @@ -1,15 +1,13 @@ // Type definitions for gm 1.17 // Project: https://github.com/aheckmann/gm -// Definitions by: Joel Spadin <https://github.com/ChaosinaCan> +// Definitions by: Joel Spadin <https://github.com/ChaosinaCan>, Maarten van Vliet <https://github.com/maartenvanvliet> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference types="node"/> import stream = require('stream'); -declare function m(image: string): m.State; -declare function m(stream: NodeJS.ReadableStream, image?: string): m.State; -declare function m(buffer: Buffer, image?: string): m.State; +declare function m(stream: NodeJS.ReadableStream | Buffer | string, image?: string): m.State; declare function m(width: number, height: number, color?: string): m.State; declare namespace m { @@ -27,7 +25,7 @@ declare namespace m { interface CompareOptions { file?: string; highlightColor?: string; - highlightStyle?: string; + highlightStyle?: HighlightStyle; tolerance?: number; } @@ -108,78 +106,17 @@ declare namespace m { border(width: number, height: number): State; borderColor(color: string): State; box(color: string): State; - channel(type: 'Red'): State; - channel(type: 'Green'): State; - channel(type: 'Blue'): State; - channel(type: 'Opacity'): State; - channel(type: 'Matte'): State; - channel(type: 'Cyan'): State; - channel(type: 'Magenta'): State; - channel(type: 'Yellow'): State; - channel(type: 'Black'): State; - channel(type: 'Gray'): State; - channel(type: string): State; + channel(type: NamedColor | string): State; charcoal(factor: number): State; chop(width: number, height: number, x?: number, y?: number): State; clip(): State; coalesce(): State; colorize(red: number, green: number, blue: number): State; - colorMap(type: 'shared'): State; - colorMap(type: 'private'): State; - colorMap(type: string): State; + colorMap(type: 'shared' | 'private' | string): State; colors(colors: number): State; - colorspace(space: 'CineonLog'): State; - colorspace(space: 'CMYK'): State; - colorspace(space: 'GRAY'): State; - colorspace(space: 'HSL'): State; - colorspace(space: 'HSB'): State; - colorspace(space: 'OHTA'): State; - colorspace(space: 'RGB'): State; - colorspace(space: 'Rec601Luma'): State; - colorspace(space: 'Rec709Luma'): State; - colorspace(space: 'Rec601YCbCr'): State; - colorspace(space: 'Rec709YCbCr'): State; - colorspace(space: 'Transparent'): State; - colorspace(space: 'XYZ'): State; - colorspace(space: 'YCbCr'): State; - colorspace(space: 'YIQ'): State; - colorspace(space: 'YPbPr'): State; - colorspace(space: 'YUV'): State; - colorspace(space: string): State; - compose(operator: 'Over'): State; - compose(operator: 'In'): State; - compose(operator: 'Out'): State; - compose(operator: 'Atop'): State; - compose(operator: 'Xor'): State; - compose(operator: 'Plus'): State; - compose(operator: 'Minus'): State; - compose(operator: 'Add'): State; - compose(operator: 'Subtract'): State; - compose(operator: 'Difference'): State; - compose(operator: 'Divide'): State; - compose(operator: 'Multiply'): State; - compose(operator: 'Bumpmap'): State; - compose(operator: 'Copy'): State; - compose(operator: 'CopyRed'): State; - compose(operator: 'CopyGreen'): State; - compose(operator: 'CopyBlue'): State; - compose(operator: 'CopyOpacity'): State; - compose(operator: 'CopyCyan'): State; - compose(operator: 'CopyMagenta'): State; - compose(operator: 'CopyYellow'): State; - compose(operator: 'CopyBlack'): State; - compose(operator: string): State; - compress(type: 'None'): State; - compress(type: 'BZip'): State; - compress(type: 'Fax'): State; - compress(type: 'Group4'): State; - compress(type: 'JPEG'): State; - compress(type: 'Lossless'): State; - compress(type: 'LZW'): State; - compress(type: 'RLE'): State; - compress(type: 'Zip'): State; - compress(type: 'LZMA'): State; - compress(type: string): State; + colorspace(space: ColorSpace | string): State; + compose(operator: ComposeOperator | string): State; + compress(type: CompressionType | string): State; contrast(multiplier: number): State; convolve(kernel: string): State; createDirectories(): State; @@ -192,52 +129,18 @@ declare namespace m { despeckle(): State; displace(horizontal: number, vertical: number): State; display(xServer: string): State; - dispose(method: 'Undefined'): State; - dispose(method: 'None'): State; - dispose(method: 'Background'): State; - dispose(method: 'Previous'): State; - dispose(method: string): State; + dispose(method: DisposeMethod | string): State; dissolve(percent: number): State; dither(enable?: boolean): State; edge(radius?: number): State; emboss(radius?: number): State; - encoding(encoding: 'AdobeCustom'): State; - encoding(encoding: 'AdobeExpert'): State; - encoding(encoding: 'AdobeStandard'): State; - encoding(encoding: 'AppleRoman'): State; - encoding(encoding: 'BIG5'): State; - encoding(encoding: 'GB2312'): State; - encoding(encoding: 'Latin 2'): State; - encoding(encoding: 'None'): State; - encoding(encoding: 'SJIScode'): State; - encoding(encoding: 'Symbol'): State; - encoding(encoding: 'Unicode'): State; - encoding(encoding: 'Wansung'): State; - encoding(encoding: string): State; - endian(type: 'MSB'): State; - endian(type: 'LSB'): State; - endian(type: 'Native'): State; - endian(type: string): State; + encoding(encoding: Encoding | string): State; + endian(type: EndianType | string): State; enhance(): State; equalize(): State; extent(width: number, height: number, options?: string): State; file(filename: string): State; - filter(type: 'Point'): State; - filter(type: 'Box'): State; - filter(type: 'Triangle'): State; - filter(type: 'Hermite'): State; - filter(type: 'Hanning'): State; - filter(type: 'Hamming'): State; - filter(type: 'Blackman'): State; - filter(type: 'Gaussian'): State; - filter(type: 'Quadratic'): State; - filter(type: 'Cubic'): State; - filter(type: 'Catrom'): State; - filter(type: 'Mitchell'): State; - filter(type: 'Lanczos'): State; - filter(type: 'Bessel'): State; - filter(type: 'Sinc'): State; - filter(type: string): State; + filter(type: FilterType | string): State; flatten(): State; flip(): State; flop(): State; @@ -249,52 +152,18 @@ declare namespace m { geometry(width: number, height?: number, option?: ResizeOption): State; geometry(geometry: string): State; greenPrimary(x: number, y: number): State; - gravity(direction: 'NorthWest'): State; - gravity(direction: 'North'): State; - gravity(direction: 'NorthEast'): State; - gravity(direction: 'West'): State; - gravity(direction: 'Center'): State; - gravity(direction: 'East'): State; - gravity(direction: 'SouthWest'): State; - gravity(direction: 'South'): State; - gravity(direction: 'SouthEast'): State; - gravity(direction: string): State; + gravity(direction: GravityDirection | string): State; highlightColor(color: string): State; - highlightStyle(style: 'Assign'): State; - highlightStyle(style: 'Threshold'): State; - highlightStyle(style: 'Tint'): State; - highlightStyle(style: 'XOR'): State; - highlightStyle(style: string): State; + highlightStyle(style: HighlightStyle | string): State; iconGeometry(geometry: string): State; implode(factor?: number): State; - intent(type: 'Absolute'): State; - intent(type: 'Perceptual'): State; - intent(type: 'Relative'): State; - intent(type: 'Saturation'): State; - intent(type: string): State; - interlace(type: 'None'): State; - interlace(type: 'Line'): State; - interlace(type: 'Plane'): State; - interlace(type: 'Partition'): State; - interlace(type: string): State; + intent(type: IntentType | string): State; + interlace(type: InterlaceType | string): State; label(name: string): State; lat(width: number, height: number, offset: number, percent?: boolean): State; level(blackPoint: number, gamma: number, whitePoint: number, percent?: boolean): State; - limit(type: 'disk', val: string): State; - limit(type: 'file', val: string): State; - limit(type: 'map', val: string): State; - limit(type: 'memory', val: string): State; - limit(type: 'pixels', val: string): State; - limit(type: 'threads', val: string): State; - limit(type: string, val: string): State; - list(type: string): State; - list(type: 'Color'): State; - list(type: 'Delegate'): State; - list(type: 'Format'): State; - list(type: 'Magic'): State; - list(type: 'Module'): State; - list(type: 'Resource'): State; - list(type: 'Type'): State; + limit(type: LimitType | string, val: string): State; + list(type: ListType | string): State; log(format: string): State; loop(iterations: number): State; lower(width: number, height: number): State; @@ -306,112 +175,29 @@ declare namespace m { maximumError(limit: number): State; median(radius?: number): State; minify(factor: number): State; - mode(mode: 'frame'): State; - mode(mode: 'unframe'): State; - mode(mode: 'concatenate'): State; - mode(mode: string): State; + mode(mode: OperationMode | string): State; modulate(b: number, s: number, h: number): State; monitor(): State; monochrome(): State; - morph(otherImg: string, outName: string, callback?: WriteCallback): State; - morph(otherImg: string[], outName: string, callback?: WriteCallback): State; + morph(otherImg: string | string[], outName: string, callback?: WriteCallback): State; mosaic(): State; motionBlur(radius: number, sigma?: number, angle?: number): State; name(): State; negative(): State; - noise(type: 'uniform'): State; - noise(type: 'gaussian'): State; - noise(type: 'multiplicative'): State; - noise(type: 'impulse'): State; - noise(type: 'laplacian'): State; - noise(type: 'poisson'): State; - noise(type: string): State; - noise(radius: number): State; + noise(type: NoiseType | string | number): State; noop(): State; normalize(): State; opaque(color: string): State; - operator(channel: string, operator: 'Add', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'And', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Assign', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Depth', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Divide', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Gamma', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Negate', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'LShift', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Log', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Max', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Min', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Multiply', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Or', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Pow', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'RShift', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Subtract', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Threshold', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Threshold-White', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Threshold-White-Negate', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Threshold-Black', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Threshold-Black-Negate', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Xor', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Noise-Gaussian', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Noise-Impulse', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Noise-Laplacian', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Noise-Multiplicative', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Noise-Poisson', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Noise-Random', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: 'Noise-Uniform', rvalue: number, percent?: boolean): State; - operator(channel: string, operator: string, rvalue: number, percent?: boolean): State; - orderedDither(channelType: 'All', NxN: string): State; - orderedDither(channelType: 'Intensity', NxN: string): State; - orderedDither(channelType: 'Red', NxN: string): State; - orderedDither(channelType: 'Green', NxN: string): State; - orderedDither(channelType: 'Blue', NxN: string): State; - orderedDither(channelType: 'Cyan', NxN: string): State; - orderedDither(channelType: 'Magenta', NxN: string): State; - orderedDither(channelType: 'Yellow', NxN: string): State; - orderedDither(channelType: 'Black', NxN: string): State; - orderedDither(channelType: 'Opacity', NxN: string): State; - orderedDither(channelType: string, NxN: string): State; + operator(channel: string, operator: ChannelOperator | string, rvalue: number, percent?: boolean): State; + orderedDither(channelType: ChannelType | string, NxN: string): State; outputDirectory(directory: string): State; - page(width: number, height: number, arg?: '%'): State; - page(width: number, height: number, arg?: '!'): State; - page(width: number, height: number, arg?: '<'): State; - page(width: number, height: number, arg?: '>'): State; - page(width: number, height: number, arg?: string): State; + page(width: number, height: number, arg?: '%' | '!' | '<' | '>' |string): State; pause(seconds: number): State; pen(color: string): State; ping(): State; pointSize(size: number): State; noProfile(): State; - preview(type: 'Rotate'): State; - preview(type: 'Shear'): State; - preview(type: 'Roll'): State; - preview(type: 'Hue'): State; - preview(type: 'Saturation'): State; - preview(type: 'Brightness'): State; - preview(type: 'Gamma'): State; - preview(type: 'Spiff'): State; - preview(type: 'Dull'): State; - preview(type: 'Grayscale'): State; - preview(type: 'Quantize'): State; - preview(type: 'Despeckle'): State; - preview(type: 'ReduceNoise'): State; - preview(type: 'AddNoise'): State; - preview(type: 'Sharpen'): State; - preview(type: 'Blur'): State; - preview(type: 'Threshold'): State; - preview(type: 'EdgeDetect'): State; - preview(type: 'Spread'): State; - preview(type: 'Shade'): State; - preview(type: 'Raise'): State; - preview(type: 'Segment'): State; - preview(type: 'Solarize'): State; - preview(type: 'Swirl'): State; - preview(type: 'Implode'): State; - preview(type: 'Wave'): State; - preview(type: 'OilPaint'): State; - preview(type: 'CharcoalDrawing'): State; - preview(type: 'JPEG'): State; - preview(type: string): State; + preview(type: PreviewType | string): State; paint(radius: number): State; process(command: string): State; profile(filename: string): State; @@ -424,8 +210,7 @@ declare namespace m { region(width: number, height: number, x?: number, y?: number): State; remote(): State; render(): State; - repage(reset: '+'): State; - repage(reset: string): State; + repage(reset: '+' | string): State; repage(width: number, height: number, xoff: number, yoff: number, arg?: string): State; sample(geometry: string): State; samplingFactor(horizontalFactor: number, verticalFactor: number): State; @@ -461,46 +246,21 @@ declare namespace m { threshold(value: number, percent?: boolean): State; thumb(width: number, height: number, outName: string, callback: WriteCallback): State; thumb(width: number, height: number, outName: string, quality: number, callback: WriteCallback): State; - thumb(width: number, height: number, outName: string, quality: number, align: 'topleft', callback: WriteCallback): State; - thumb(width: number, height: number, outName: string, quality: number, align: 'center', callback: WriteCallback): State; - thumb(width: number, height: number, outName: string, quality: number, align: string, callback: WriteCallback): State; + thumb(width: number, height: number, outName: string, quality: number, align: 'topleft' | 'center' | string, callback: WriteCallback): State; tile(filename: string): State; title(title: string): State; transform(color: string): State; transparent(color: string): State; treeDepth(depth: number): State; trim(): State; - type(type: 'Bilevel'): State; - type(type: 'Grayscale'): State; - type(type: 'Palette'): State; - type(type: 'PaletteMatte'): State; - type(type: 'TrueColor'): State; - type(type: 'TrueColorMatte'): State; - type(type: 'ColorSeparation'): State; - type(type: 'ColorSeparationMatte'): State; - type(type: 'Optimize'): State; - type(type: string): State; + type(type: ImageType | string): State; update(seconds: number): State; - units(type: 'Undefined'): State; - units(type: 'PixelsPerInch'): State; - units(type: 'PixelsPerCentimeter'): State; - units(type: string): State; + units(type: UnitType | string): State; unsharp(radius: number, sigma?: number, amount?: number, threshold?: number): State; usePixmap(): State; view(): State; - virtualPixel(method: 'Constant'): State; - virtualPixel(method: 'Edge'): State; - virtualPixel(method: 'Mirror'): State; - virtualPixel(method: 'Tile'): State; - virtualPixel(method: string): State; - visual(type: 'StaticGray'): State; - visual(type: 'GrayScale'): State; - visual(type: 'StaticColor'): State; - visual(type: 'PseudoColor'): State; - visual(type: 'TrueColor'): State; - visual(type: 'DirectColor'): State; - visual(type: 'default'): State; - visual(type: string): State; + virtualPixel(method: VirtualPixelMethod | string): State; + visual(type: VisualType | string): State; watermark(brightness: number, saturation: number): State; wave(amplitude: number, wavelength: number): State; whitePoint(x: number, y: number): State; @@ -530,46 +290,21 @@ declare namespace m { // Drawing Operations draw(args: string): State; drawArc(x0: number, y0: number, x1: number, y1: number, r0: number, r1: number): State; - drawBezier(x0: number, y0: number, x1: number, y1: number): State; - drawBezier(x0: number, y0: number, x1: number, y1: number, x2: number, y2: number): State; - drawBezier(x0: number, y0: number, x1: number, y1: number, x2: number, y2: number, ...coords: number[]): State; + drawBezier(x0: number, y0: number, x1: number, y1: number, x2?: number, y2?: number, ...coords: number[]): State; drawCircle(x0: number, y0: number, x1: number, y1: number): State; drawEllipse(x0: number, y0: number, rx: number, ry: number, a0: number, a1: number): State; drawLine(x0: number, y0: number, x1: number, y1: number): State; drawPoint(x: number, y: number): State; - drawPolygon(x0: number, y0: number, x1: number, y1: number, x2: number, y2: number): State; drawPolygon(x0: number, y0: number, x1: number, y1: number, x2: number, y2: number, ...coords: number[]): State; - drawPolyline(x0: number, y0: number, x1: number, y1: number, x2: number, y2: number): State; drawPolyline(x0: number, y0: number, x1: number, y1: number, x2: number, y2: number, ...coords: number[]): State; - drawRectangle(x0: number, y0: number, x1: number, y1: number): State; - drawRectangle(x0: number, y0: number, x1: number, y1: number, rc: number): State; - drawRectangle(x0: number, y0: number, x1: number, y1: number, wc: number, hc: number): State; - drawText(x: number, y: number, text: string, gravity: 'NorthWest'): State; - drawText(x: number, y: number, text: string, gravity: 'North'): State; - drawText(x: number, y: number, text: string, gravity: 'NorthEast'): State; - drawText(x: number, y: number, text: string, gravity: 'West'): State; - drawText(x: number, y: number, text: string, gravity: 'Center'): State; - drawText(x: number, y: number, text: string, gravity: 'East'): State; - drawText(x: number, y: number, text: string, gravity: 'SouthWest'): State; - drawText(x: number, y: number, text: string, gravity: 'South'): State; - drawText(x: number, y: number, text: string, gravity: 'SouthEast'): State; - drawText(x: number, y: number, text: string, gravity?: string): State; + drawRectangle(x0: number, y0: number, x1: number, y1: number, wc?: number, hc?: number): State; + drawText(x: number, y: number, text: string, gravity?: GravityDirection | string): State; fill(color: string): State; font(name: string, size?: number): State; fontSize(size: number): State; stroke(color: string, width?: number): State; strokeWidth(width: number): State; - setDraw(property: 'color', x: number, y: number, method: 'point'): State; - setDraw(property: 'color', x: number, y: number, method: 'replace'): State; - setDraw(property: 'color', x: number, y: number, method: 'floodfill'): State; - setDraw(property: 'color', x: number, y: number, method: 'filltoborder'): State; - setDraw(property: 'color', x: number, y: number, method: 'reset'): State; - setDraw(property: 'matte', x: number, y: number, method: 'point'): State; - setDraw(property: 'matte', x: number, y: number, method: 'replace'): State; - setDraw(property: 'matte', x: number, y: number, method: 'floodfill'): State; - setDraw(property: 'matte', x: number, y: number, method: 'filltoborder'): State; - setDraw(property: 'matte', x: number, y: number, method: 'reset'): State; - setDraw(property: string, x: number, y: number, method: string): State; + setDraw(property: SetDrawProperty | string, x: number, y: number, method: SetDrawMethod | string): State; // Commands stream(callback?: WriteCallback): stream.PassThrough; @@ -581,17 +316,45 @@ declare namespace m { interface SubClass { (image: string): State; - (stream: NodeJS.ReadableStream, image?: string): State; - (buffer: Buffer, image?: string): State; + (stream: NodeJS.ReadableStream | Buffer, image?: string): State; (width: number, height: number, color?: string): State; } function compare(filename1: string, filename2: string, callback: CompareCallback): void; - function compare(filename1: string, filename2: string, tolerance: number, callback: CompareCallback): void; - function compare(filename1: string, filename2: string, options: CompareOptions, callback: CompareCallback): void; + function compare(filename1: string, filename2: string, options: CompareOptions | number, callback: CompareCallback): void; function subClass(options: ClassOptions): SubClass; + type ChannelOperator = 'Add' + | 'And' + | 'Assign' + | 'Depth' + | 'Divide' + | 'Gamma' + | 'Negate' + | 'LShift' + | 'Log' + | 'Max' + | 'Min' + | 'Multiply' + | 'Or' + | 'Pow' + | 'RShift' + | 'Subtract' + | 'Threshold' + | 'Threshold-White' + | 'Threshold-White-Negate' + | 'Threshold-Black' + | 'Threshold-Black-Negate' + | 'Xor' + | 'Noise-Gaussian' + | 'Noise-Impulse' + | 'Noise-Laplacian' + | 'Noise-Multiplicative' + | 'Noise-Poisson' + | 'Noise-Random' + | 'Noise-Uniform'; + type ChannelType = 'All' | 'Intensity' | 'Red' @@ -603,10 +366,202 @@ declare namespace m { | 'Black' | 'Opacity'; + type ColorSpace = 'CineonLog' + | 'CMYK' + | 'GRAY' + | 'HSL' + | 'HSB' + | 'OHTA' + | 'RGB' + | 'Rec601Luma' + | 'Rec709Luma' + | 'Rec601YCbCr' + | 'Rec709YCbCr' + | 'Transparent' + | 'XYZ' + | 'YCbCr' + | 'YIQ' + | 'YPbPr' + | 'YUV'; + type CompareCallback = (err: Error, isEqual: boolean, equality: number, raw: number) => any; + type ComposeOperator = 'Over' + | 'In' + | 'Out' + | 'Atop' + | 'Xor' + | 'Plus' + | 'Minus' + | 'Add' + | 'Subtract' + | 'Difference' + | 'Divide' + | 'Multiply' + | 'Bumpmap' + | 'Copy' + | 'CopyRed' + | 'CopyGreen' + | 'CopyBlue' + | 'CopyOpacity' + | 'CopyCyan' + | 'CopyMagenta' + | 'CopyYellow' + | 'CopyBlack'; + + type CompressionType = 'None' + | 'BZip' + | 'Fax' + | 'Group4' + | 'JPEG' + | 'Lossless' + | 'LZW' + | 'RLE' + | 'Zip' + | 'LZMA'; + + type DisposeMethod = 'Undefined' + | 'None' + | 'Background' + | 'Previous'; + + type Encoding = 'AdobeCustom' + | 'AdobeExpert' + | 'AdobeStandard' + | 'AppleRoman' + | 'BIG5' + | 'GB2312' + | 'Latin 2' + | 'None' + | 'SJIScode' + | 'Symbol' + | 'Unicode' + | 'Wansung'; + + type EndianType = 'MSB' + | 'LSB' + | 'Native'; + + type FilterType = 'Point' + | 'Box' + | 'Triangle' + | 'Hermite' + | 'Hanning' + | 'Hamming' + | 'Blackman' + | 'Gaussian' + | 'Quadratic' + | 'Cubic' + | 'Catrom' + | 'Mitchell' + | 'Lanczos' + | 'Bessel' + | 'Sinc'; + type GetterCallback<T> = (err: Error, value: T) => any; + type GravityDirection = 'NorthWest' + | 'North' + | 'NorthEast' + | 'West' + | 'Center' + | 'East' + | 'SouthWest' + | 'South' + | 'SouthEast'; + + type HighlightStyle = 'Assign' + | 'Threshold' + | 'Tint' + | 'XOR'; + + type ImageType = 'Bilevel' + | 'Grayscale' + | 'Palette' + | 'PaletteMatte' + | 'TrueColor' + | 'TrueColorMatte' + | 'ColorSeparation' + | 'ColorSeparationMatte' + | 'Optimize'; + + type IntentType = 'Absolute' + | 'Perceptual' + | 'Relative' + | 'Saturation'; + + type InterlaceType = 'None' + | 'Line' + | 'Plane' + | 'Partition'; + + type LimitType = 'disk' + | 'file' + | 'map' + | 'memory' + | 'pixels' + | 'threads'; + + type ListType = 'Color' + | 'Delegate' + | 'Format' + | 'Magic' + | 'Module' + | 'Resource' + | 'Type'; + + type NamedColor = 'Red' + | 'Green' + | 'Blue' + | 'Opacity' + | 'Matte' + | 'Cyan' + | 'Magenta' + | 'Yellow' + | 'Black' + | 'Gray'; + + type NoiseType = 'uniform' + | 'gaussian' + | 'multiplicative' + | 'impulse' + | 'laplacian' + | 'poisson'; + + type OperationMode = 'frame' + | 'unframe' + | 'concatenate'; + + type PreviewType = 'Rotate' + | 'Shear' + | 'Roll' + | 'Hue' + | 'Saturation' + | 'Brightness' + | 'Gamma' + | 'Spiff' + | 'Dull' + | 'Grayscale' + | 'Quantize' + | 'Despeckle' + | 'ReduceNoise' + | 'AddNoise' + | 'Sharpen' + | 'Blur' + | 'Threshold' + | 'EdgeDetect' + | 'Spread' + | 'Shade' + | 'Raise' + | 'Segment' + | 'Solarize' + | 'Swirl' + | 'Implode' + | 'Wave' + | 'OilPaint' + | 'CharcoalDrawing' + | 'JPEG'; + type ResizeOption = '%' /** Width and height are specified in percents */ | '@' /** Specify maximum area in pixels */ | '!' /** Ignore aspect ratio */ @@ -614,6 +569,31 @@ declare namespace m { | '<' /** Change dimensions only if image is smaller than width or height */ | '>'; /** Change dimensions only if image is larger than width or height */ + type SetDrawMethod = 'point' + | 'replace' + | 'floodfill' + | 'filltoborder' + | 'reset'; + + type SetDrawProperty = 'color' | 'matte'; + + type UnitType = 'Undefined' + | 'PixelsPerInch' + | 'PixelsPerCentimeter'; + + type VirtualPixelMethod = 'Constant' + | 'Edge' + | 'Mirror' + | 'Tile'; + + type VisualType = 'StaticGray' + | 'GrayScale' + | 'StaticColor' + | 'PseudoColor' + | 'TrueColor' + | 'DirectColor' + | 'default'; + type WriteCallback = (err: Error, stdout: string, stderr: string, cmd: string) => any; } diff --git a/types/gm/tslint.json b/types/gm/tslint.json index 7c456f533a..f93cf8562a 100644 --- a/types/gm/tslint.json +++ b/types/gm/tslint.json @@ -1,7 +1,3 @@ { - "extends": "dtslint/dt.json", - "rules": { - // This package unifiable overloaded functions, lot of effort to fix - "unified-signatures": false - } + "extends": "dtslint/dt.json" } From 173d1d4e9e6eafea23cb7f589cfac1af7a6919a5 Mon Sep 17 00:00:00 2001 From: Piotr Roszatycki <piotr.roszatycki@gmail.com> Date: Mon, 16 Oct 2017 22:40:56 +0200 Subject: [PATCH 391/433] node: dgram buffer size options and methods for Node 8.7.0 (#20535) * dgram buffer size options and methods * Verify type returned by dgram.*BufferSize methods --- types/node/index.d.ts | 6 ++++++ types/node/node-tests.ts | 14 ++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 7fad343da0..91514bbd53 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -2672,6 +2672,8 @@ declare module "dgram" { interface SocketOptions { type: SocketType; reuseAddr?: boolean; + recvBufferSize?: number; + sendBufferSize?: number; } export function createSocket(type: SocketType, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; @@ -2695,6 +2697,10 @@ declare module "dgram" { dropMembership(multicastAddress: string, multicastInterface?: string): void; ref(): this; unref(): this; + setRecvBufferSize(size: number): void; + setSendBufferSize(size: number): void; + getRecvBufferSize(): number; + getSendBufferSize(): number; /** * events.EventEmitter diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index 50d9659744..d9f77c51bb 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -1436,6 +1436,20 @@ namespace dgram_tests { let _rinfo: dgram.AddressInfo = rinfo; }); } + + { + let ds: dgram.Socket = dgram.createSocket({ + type: 'udp4', + recvBufferSize: 10000, + sendBufferSize: 15000 + }); + + let size: number; + size = ds.getRecvBufferSize(); + ds.setRecvBufferSize(size); + size = ds.getSendBufferSize(); + ds.setSendBufferSize(size); + } } //////////////////////////////////////////////////// From d7f5d8fa9009f7ddf4fce473ffb2662d7010d905 Mon Sep 17 00:00:00 2001 From: Jarrad Whitaker <akdor1154@gmail.com> Date: Tue, 17 Oct 2017 07:42:29 +1100 Subject: [PATCH 392/433] @types/node: Asynchooks promiseResolve and AsyncResource (#20540) * add promiseResolve hook * add AsyncResource * AsyncResource jsdoc fixes * test remaining AsyncResource methods --- types/node/index.d.ts | 47 ++++++++++++++++++++++++++++++++++++++++ types/node/node-tests.ts | 24 +++++++++++++++++++- 2 files changed, 70 insertions(+), 1 deletion(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 91514bbd53..6189d0b486 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -5940,6 +5940,13 @@ declare module "async_hooks" { */ after?(asyncId: number): void; + /** + * Called when a promise has resolve() called. This may not be in the same execution id + * as the promise itself. + * @param asyncId the unique id for the promise that was resolve()d. + */ + promiseResolve?(asyncId: number): void; + /** * Called after the resource corresponding to asyncId is destroyed * @param asyncId a unique ID for the async resource @@ -5965,6 +5972,46 @@ declare module "async_hooks" { * @return an AsyncHooks instance used for disabling and enabling hooks */ export function createHook(options: HookCallbacks): AsyncHook; + + /** + * The class AsyncResource was designed to be extended by the embedder's async resources. + * Using this users can easily trigger the lifetime events of their own resources. + */ + export class AsyncResource { + /** + * AsyncResource() is meant to be extended. Instantiating a + * new AsyncResource() also triggers init. If triggerAsyncId is omitted then + * async_hook.executionAsyncId() is used. + * @param type the name of this async resource type + * @param triggerAsyncId the unique ID of the async resource in whose execution context this async resource was created + */ + constructor(type: string, triggerAsyncId?: number) + + /** + * Call AsyncHooks before callbacks. + */ + emitBefore(): void; + + /** + * Call AsyncHooks after callbacks + */ + emitAfter(): void; + + /** + * Call AsyncHooks destroy callbacks. + */ + emitDestroy(): void; + + /** + * @return the unique ID assigned to this AsyncResource instance. + */ + asyncId(): number; + + /** + * @return the trigger ID for this AsyncResource instance. + */ + triggerAsyncId(): number; + } } declare module "http2" { diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index d9f77c51bb..0e2823ac1c 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -3012,7 +3012,8 @@ namespace async_hooks_tests { init: (asyncId: number, type: string, triggerAsyncId: number, resource: object) => void {}, before: (asyncId: number) => void {}, after: (asyncId: number) => void {}, - destroy: (asyncId: number) => void {} + destroy: (asyncId: number) => void {}, + promiseResolve: (asyncId: number) => void {} }; const asyncHook = async_hooks.createHook(hooks); @@ -3021,6 +3022,27 @@ namespace async_hooks_tests { const tId: number = async_hooks.triggerAsyncId(); const eId: number = async_hooks.executionAsyncId(); + + class TestResource extends async_hooks.AsyncResource { + constructor() { + super('TEST_RESOURCE'); + } + } + + class AnotherTestResource extends async_hooks.AsyncResource { + constructor() { + super('TEST_RESOURCE', 42); + const aId: number = this.asyncId(); + const tId: number = this.triggerAsyncId(); + } + run() { + this.emitBefore(); + this.emitAfter(); + } + destroy() { + this.emitDestroy(); + } + } } //////////////////////////////////////////////////// From cfbaa7d5181cd9f25ca9c64f84121d0385400103 Mon Sep 17 00:00:00 2001 From: Viktor Isaev <weekens@gmail.com> Date: Mon, 16 Oct 2017 23:46:17 +0300 Subject: [PATCH 393/433] Updated typings for "restify-cookies". (#20548) * Added typings for "require-dir". * Fixed dtslint errors. * Fixed By field. * Added typings for "restify-cookies". * Added "cookies" field to Request interface. --- types/restify-cookies/index.d.ts | 4 ++++ types/restify-cookies/restify-cookies-tests.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/types/restify-cookies/index.d.ts b/types/restify-cookies/index.d.ts index 842e6c425e..7e794855cb 100644 --- a/types/restify-cookies/index.d.ts +++ b/types/restify-cookies/index.d.ts @@ -16,6 +16,10 @@ declare module 'restify' { secure?: boolean; } + interface Request { + cookies: any; + } + interface Response { setCookie(key: string, val: string, options?: CookieOptions): void; } diff --git a/types/restify-cookies/restify-cookies-tests.ts b/types/restify-cookies/restify-cookies-tests.ts index e6a68e5689..6ca7d9965c 100644 --- a/types/restify-cookies/restify-cookies-tests.ts +++ b/types/restify-cookies/restify-cookies-tests.ts @@ -3,6 +3,6 @@ import 'restify-cookies'; function test(server: Server) { server.get('/api/test', (req: Request, res: Response) => { - res.setCookie('myCookie', 'test', { path: '/' }); + res.setCookie('myCookie', 'test' + req.cookies.foo, { path: '/' }); }); } From 6d460c6b6d7a5efafc22e8e99fb86d7ca7182cd0 Mon Sep 17 00:00:00 2001 From: Flarna <Flarna@users.noreply.github.com> Date: Mon, 16 Oct 2017 23:38:40 +0200 Subject: [PATCH 394/433] [net-keepalive] Remove tslint rule linebreak-style as it forces erros on windows (#20570) --- types/net-keepalive/tslint.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/types/net-keepalive/tslint.json b/types/net-keepalive/tslint.json index 193d7e799a..bebdb55ef0 100644 --- a/types/net-keepalive/tslint.json +++ b/types/net-keepalive/tslint.json @@ -3,7 +3,6 @@ "rules": { "semicolon": [true, "never"], "eofline": false, - "indent": [true, "spaces", 4], - "linebreak-style": [true, "LF"] + "indent": [true, "spaces", 4] } } \ No newline at end of file From 10d9fda78780b2423fe785fc237d4b90b4db77fb Mon Sep 17 00:00:00 2001 From: Travis Thieman <travis.thieman@gmail.com> Date: Mon, 16 Oct 2017 17:39:27 -0400 Subject: [PATCH 395/433] memory-cache: Add type parameters and expose constructor to instantiate new caches (#20501) * memory-cache: Add type parameters and expose constructor to instantiate new caches * Return arrays from keys() function * Extend dtslint and fix linting errors * Add version 0.2 to type header --- types/memory-cache/index.d.ts | 41 +++++++++++++++++------- types/memory-cache/memory-cache-tests.ts | 32 +++++++++++------- types/memory-cache/tslint.json | 1 + 3 files changed, 50 insertions(+), 24 deletions(-) create mode 100644 types/memory-cache/tslint.json diff --git a/types/memory-cache/index.d.ts b/types/memory-cache/index.d.ts index 4825fbe7a5..3c40a4b6dd 100644 --- a/types/memory-cache/index.d.ts +++ b/types/memory-cache/index.d.ts @@ -1,20 +1,37 @@ -// Type definitions for memory-cache +// Type definitions for memory-cache 0.2 // Project: https://github.com/ptarjan/node-cache // Definitions by: Jeff Goddard <https://github.com/jedigo> +// Travis Thieman <https://github.com/thieman> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// Imported from: https://github.com/soywiz/typescript-node-definitions/memory-cache.d.ts +// Originally imported from: https://github.com/soywiz/typescript-node-definitions/memory-cache.d.ts +export class CacheClass<K, V> { + put(key: K, value: V, time?: number, timeoutCallback?: (key: K, value: V) => void): V; + get(key: K): V; + del(key: K): void; + clear(): void; -export declare function put(key: any, value: any, time?: number, timeoutCallback?: (key: any, value: any) => void): void; -export declare function get(key: any): any; -export declare function del(key: any): void; -export declare function clear(): void; + size(): number; + memsize(): number; -export declare function size(): number; -export declare function memsize(): number; + debug(bool: boolean): void; + hits(): number; + misses(): number; + keys(): K[]; +} -export declare function debug(bool: boolean): void; -export declare function hits(): number; -export declare function misses(): number; -export declare function keys(): any; +export const Cache: typeof CacheClass; + +export function put<V>(key: any, value: V, time?: number, timeoutCallback?: (key: any, value: any) => void): V; +export function get(key: any): any; +export function del(key: any): void; +export function clear(): void; + +export function size(): number; +export function memsize(): number; + +export function debug(bool: boolean): void; +export function hits(): number; +export function misses(): number; +export function keys(): any[]; diff --git a/types/memory-cache/memory-cache-tests.ts b/types/memory-cache/memory-cache-tests.ts index 15fad71f10..4cf5bc2a70 100644 --- a/types/memory-cache/memory-cache-tests.ts +++ b/types/memory-cache/memory-cache-tests.ts @@ -1,19 +1,16 @@ - import memoryCache = require('memory-cache'); -var key: any; -var value: any; -var bool: boolean; -var num: number; +const key: any = 'sampleKey'; +let value: string; +const bool = false; +let num: number; +let returnedValue: string; -memoryCache.put(key, value); -memoryCache.put(key, value, num); -memoryCache.put(key, value, num, (key) => { +returnedValue = memoryCache.put(key, value); +returnedValue = memoryCache.put(key, value, num); +returnedValue = memoryCache.put(key, value, num, (key) => { }); +returnedValue = memoryCache.put(key, value, num, (key, value) => { }); -}); -memoryCache.put(key, value, num, (key, value) => { - -}); value = memoryCache.get(key); memoryCache.del(key); memoryCache.clear(); @@ -24,3 +21,14 @@ num = memoryCache.memsize(); memoryCache.debug(bool); num = memoryCache.hits(); num = memoryCache.misses(); + +const customCache = new memoryCache.Cache<string, boolean>(); + +const customKey = 'customKey'; +let customValue: boolean; +let customKeys: string[]; + +customValue = customCache.put(customKey, customValue); +customCache.get(customKey); +customCache.del(customKey); +customKeys = customCache.keys(); diff --git a/types/memory-cache/tslint.json b/types/memory-cache/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/memory-cache/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From b28f4d4ef3c130d06079480808b50ac26de04081 Mon Sep 17 00:00:00 2001 From: Flarna <Flarna@users.noreply.github.com> Date: Mon, 16 Oct 2017 23:40:52 +0200 Subject: [PATCH 396/433] [karma] Fix tests by removing dependency to log4js (#20572) log4js typings have been removed via #20518 and the typings exported by log4js 2.x don't exporte the relevant type. Created a local type to fix build. fixes #20534 --- types/karma/index.d.ts | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/types/karma/index.d.ts b/types/karma/index.d.ts index 6dabc5218d..3a77107718 100644 --- a/types/karma/index.d.ts +++ b/types/karma/index.d.ts @@ -9,7 +9,6 @@ // See Karma public API https://karma-runner.github.io/0.13/dev/public-api.html import Promise = require('bluebird'); import https = require('https'); -import log4js = require('log4js'); declare namespace karma { interface Karma { @@ -144,6 +143,16 @@ declare namespace karma { configFile: string; } + // taken from log4js 1.x typings which are gone... + interface Log4jsAppenderConfigBase { + type: string; + category?: string; + layout?: { + type: string; + [key: string]: any + } + } + interface ConfigOptions { /** * @description Enable or disable watching files and executing the tests whenever one of these files changes. @@ -283,7 +292,7 @@ declare namespace karma { * @default [{type: 'console'}] * @description A list of log appenders to be used. See the documentation for [log4js] for more information. */ - loggers?: log4js.AppenderConfigBase[]; + loggers?: Log4jsAppenderConfigBase[]; /** * @default {} * @description Redefine default mapping from file extensions to MIME-type. From c5e58787771e161ebf93c0f1d97a2af7a55b09fa Mon Sep 17 00:00:00 2001 From: Daniel Zou <dzou@users.noreply.github.com> Date: Mon, 16 Oct 2017 17:43:37 -0400 Subject: [PATCH 397/433] Chrome debugger type patch (#20574) * Workaround to use chrome.debugger typedef * update tabs --- types/chrome/index.d.ts | 210 +++++++++++++++++++------------------ types/chrome/test/index.ts | 46 +++++++- 2 files changed, 147 insertions(+), 109 deletions(-) diff --git a/types/chrome/index.d.ts b/types/chrome/index.d.ts index 5104ab7ca1..ca7b35bf0e 100644 --- a/types/chrome/index.d.ts +++ b/types/chrome/index.d.ts @@ -1274,104 +1274,106 @@ declare namespace chrome.cookies { * Availability: Since Chrome 18. * Permissions: "debugger" */ -// TODO: Uncomment when Microsoft/TypeScript#8312 is merged in -// declare module chrome.debugger { -// /** Debuggee identifier. Either tabId or extensionId must be specified */ -// interface Debuggee { -// /** Optional. The id of the tab which you intend to debug. */ -// tabId?: number; -// /** -// * Optional. -// * Since Chrome 27. -// * The id of the extension which you intend to debug. Attaching to an extension background page is only possible when 'silent-debugger-extension-api' flag is enabled on the target browser. -// */ -// extensionId?: string; -// /** -// * Optional. -// * Since Chrome 28. -// * The opaque id of the debug target. -// */ -// targetId?: string; -// } -// -// /** -// * Since Chrome 28. -// * Debug target information -// */ -// interface TargetInfo { -// /** Target type. */ -// type: string; -// /** Target id. */ -// id: string; -// /** -// * Optional. -// * Since Chrome 30. -// * The tab id, defined if type == 'page'. -// */ -// tabId?: number; -// /** -// * Optional. -// * Since Chrome 30. -// * The extension id, defined if type = 'background_page'. -// */ -// extensionId?: string; -// /** True if debugger is already attached. */ -// attached: boolean; -// /** Target page title. */ -// title: string; -// /** Target URL. */ -// url: string; -// /** Optional. Target favicon URL. */ -// faviconUrl?: string; -// } -// -// interface DebuggerDetachedEvent extends chrome.events.Event<(source: Debuggee, reason: string) => void> {} -// -// interface DebuggerEventEvent extends chrome.events.Event<(source: Debuggee, method: string, params?: Object) => void> {} -// -// /** -// * Attaches debugger to the given target. -// * @param target Debugging target to which you want to attach. -// * @param requiredVersion Required debugging protocol version ("0.1"). One can only attach to the debuggee with matching major version and greater or equal minor version. List of the protocol versions can be obtained in the documentation pages. -// * @param callback Called once the attach operation succeeds or fails. Callback receives no arguments. If the attach fails, runtime.lastError will be set to the error message. -// * If you specify the callback parameter, it should be a function that looks like this: -// * function() {...}; -// */ -// export function attach(target: Debuggee, requiredVersion: string, callback?: () => void): void; -// /** -// * Detaches debugger from the given target. -// * @param target Debugging target from which you want to detach. -// * @param callback Called once the detach operation succeeds or fails. Callback receives no arguments. If the detach fails, runtime.lastError will be set to the error message. -// * If you specify the callback parameter, it should be a function that looks like this: -// * function() {...}; -// */ -// export function detach(target: Debuggee, callback?: () => void): void; -// /** -// * Sends given command to the debugging target. -// * @param target Debugging target to which you want to send the command. -// * @param method Method name. Should be one of the methods defined by the remote debugging protocol. -// * @param commandParams Since Chrome 22. -// * JSON object with request parameters. This object must conform to the remote debugging params scheme for given method. -// * @param callback Response body. If an error occurs while posting the message, the callback will be called with no arguments and runtime.lastError will be set to the error message. -// * If you specify the callback parameter, it should be a function that looks like this: -// * function(object result) {...}; -// */ -// export function sendCommand(target: Debuggee, method: string, commandParams?: Object, callback?: (result?: Object) => void): void; -// /** -// * Since Chrome 28. -// * Returns the list of available debug targets. -// * @param callback The callback parameter should be a function that looks like this: -// * function(array of TargetInfo result) {...}; -// * Parameter result: Array of TargetInfo objects corresponding to the available debug targets. -// */ -// export function getTargets(callback: (result: TargetInfo[]) => void): void; -// -// /** Fired when browser terminates debugging session for the tab. This happens when either the tab is being closed or Chrome DevTools is being invoked for the attached tab. */ -// var onDetach: DebuggerDetachedEvent; -// /** Fired whenever debugging target issues instrumentation event. */ -// var onEvent: DebuggerEventEvent; -// } +declare module chrome { + namespace _debugger { + /** Debuggee identifier. Either tabId or extensionId must be specified */ + interface Debuggee { + /** Optional. The id of the tab which you intend to debug. */ + tabId?: number; + /** + * Optional. + * Since Chrome 27. + * The id of the extension which you intend to debug. Attaching to an extension background page is only possible when 'silent-debugger-extension-api' flag is enabled on the target browser. + */ + extensionId?: string; + /** + * Optional. + * Since Chrome 28. + * The opaque id of the debug target. + */ + targetId?: string; + } + /** + * Since Chrome 28. + * Debug target information + */ + interface TargetInfo { + /** Target type. */ + type: string; + /** Target id. */ + id: string; + /** + * Optional. + * Since Chrome 30. + * The tab id, defined if type == 'page'. + */ + tabId?: number; + /** + * Optional. + * Since Chrome 30. + * The extension id, defined if type = 'background_page'. + */ + extensionId?: string; + /** True if debugger is already attached. */ + attached: boolean; + /** Target page title. */ + title: string; + /** Target URL. */ + url: string; + /** Optional. Target favicon URL. */ + faviconUrl?: string; + } + + interface DebuggerDetachedEvent extends chrome.events.Event<(source: Debuggee, reason: string) => void> {} + + interface DebuggerEventEvent extends chrome.events.Event<(source: Debuggee, method: string, params?: Object) => void> {} + + /** + * Attaches debugger to the given target. + * @param target Debugging target to which you want to attach. + * @param requiredVersion Required debugging protocol version ("0.1"). One can only attach to the debuggee with matching major version and greater or equal minor version. List of the protocol versions can be obtained in the documentation pages. + * @param callback Called once the attach operation succeeds or fails. Callback receives no arguments. If the attach fails, runtime.lastError will be set to the error message. + * If you specify the callback parameter, it should be a function that looks like this: + * function() {...}; + */ + export function attach(target: Debuggee, requiredVersion: string, callback?: () => void): void; + /** + * Detaches debugger from the given target. + * @param target Debugging target from which you want to detach. + * @param callback Called once the detach operation succeeds or fails. Callback receives no arguments. If the detach fails, runtime.lastError will be set to the error message. + * If you specify the callback parameter, it should be a function that looks like this: + * function() {...}; + */ + export function detach(target: Debuggee, callback?: () => void): void; + /** + * Sends given command to the debugging target. + * @param target Debugging target to which you want to send the command. + * @param method Method name. Should be one of the methods defined by the remote debugging protocol. + * @param commandParams Since Chrome 22. + * JSON object with request parameters. This object must conform to the remote debugging params scheme for given method. + * @param callback Response body. If an error occurs while posting the message, the callback will be called with no arguments and runtime.lastError will be set to the error message. + * If you specify the callback parameter, it should be a function that looks like this: + * function(object result) {...}; + */ + export function sendCommand(target: Debuggee, method: string, commandParams?: Object, callback?: (result?: Object) => void): void; + /** + * Since Chrome 28. + * Returns the list of available debug targets. + * @param callback The callback parameter should be a function that looks like this: + * function(array of TargetInfo result) {...}; + * Parameter result: Array of TargetInfo objects corresponding to the available debug targets. + */ + export function getTargets(callback: (result: TargetInfo[]) => void): void; + + /** Fired when browser terminates debugging session for the tab. This happens when either the tab is being closed or Chrome DevTools is being invoked for the attached tab. */ + var onDetach: DebuggerDetachedEvent; + /** Fired whenever debugging target issues instrumentation event. */ + var onEvent: DebuggerEventEvent; + } + + export {_debugger as debugger} +} //////////////////// // Declarative Content //////////////////// @@ -3311,13 +3313,13 @@ declare namespace chrome.history { declare namespace chrome.i18n { /** Holds detected ISO language code and its percentage in the input string */ interface DetectedLanguage { - /** An ISO language code such as 'en' or 'fr'. - * For a complete list of languages supported by this method, see [kLanguageInfoTable]{@link https://src.chromium.org/viewvc/chrome/trunk/src/third_party/cld/languages/internal/languages.cc}. + /** An ISO language code such as 'en' or 'fr'. + * For a complete list of languages supported by this method, see [kLanguageInfoTable]{@link https://src.chromium.org/viewvc/chrome/trunk/src/third_party/cld/languages/internal/languages.cc}. * For an unknown language, 'und' will be returned, which means that [percentage] of the text is unknown to CLD */ language: string; /** The percentage of the detected language */ - percentage: number; + percentage: number; } /** Holds detected language reliability and array of DetectedLanguage */ @@ -3328,7 +3330,7 @@ declare namespace chrome.i18n { /** Array of detectedLanguage */ languages: DetectedLanguage[]; } - + /** * Gets the accept-languages of the browser. This is different from the locale used by the browser; to get the locale, use i18n.getUILanguage. * @param callback The callback parameter should be a function that looks like this: @@ -3347,7 +3349,7 @@ declare namespace chrome.i18n { * @since Chrome 35. */ export function getUILanguage(): string; - + /** Detects the language of the provided text using CLD. * @param text User input string to be translated. * @param callback The callback parameter should be a function that looks like this: function(object result) {...}; @@ -6598,7 +6600,7 @@ declare namespace chrome.tabs { * @since Chrome 38. */ var onZoomChange: TabZoomChangeEvent; - + /** * An ID which represents the absence of a browser tab. * @since Chrome 46. @@ -7226,7 +7228,7 @@ declare namespace chrome.webRequest { types?: string[]; /** A list of URLs or URL patterns. Requests that cannot match any of the URLs will be filtered out. */ urls: string[]; - + /** Optional. */ windowId?: number; } diff --git a/types/chrome/test/index.ts b/types/chrome/test/index.ts index b7b7868ba3..7b37e548b5 100644 --- a/types/chrome/test/index.ts +++ b/types/chrome/test/index.ts @@ -188,18 +188,18 @@ function beforeRedditNavigation() { // for chrome.tabs.InjectDetails.frameId function executeScriptFramed () { - + const tabId = 123; const frameId = 0; - + const code = "alert('hi');"; - + chrome.tabs.executeScript({frameId, code}); chrome.tabs.insertCSS({frameId, code}); - + chrome.tabs.executeScript(tabId, {frameId, code}); chrome.tabs.insertCSS(tabId, {frameId, code}); - + } // for chrome.tabs.TAB_ID_NONE @@ -298,6 +298,42 @@ function testOptionsPage() { }); } +// https://developer.chrome.com/extensions/debugger +function testDebugger() { + chrome.debugger.attach({tabId: 123}, '1.23', () => { + console.log('This is a callback!'); + }); + + chrome.debugger.detach({tabId: 123}, () => { + console.log('This is a callback!'); + }); + + chrome.debugger.sendCommand( + {targetId: 'abc'}, 'Debugger.Cmd', {param1: 'x'}, (result) => { + console.log('Do something with the result.' + result); + }); + + chrome.debugger.getTargets((results) => { + for (let result of results) { + if (result.tabId == 123) { + // Do Something. + } + } + }); + + chrome.debugger.onEvent.addListener((source, methodName, params) => { + if (source.tabId == 123) { + console.log('Hello World.'); + } + }); + + chrome.debugger.onDetach.addListener((source, reason) => { + if (source.tabId == 123) { + console.log('Hello World.'); + } + }); +} + // https://developer.chrome.com/extensions/storage#type-StorageArea function testStorage() { function getCallback(loadedData: { [key: string]: any; }) { From 265c8949838f4e0f7f3828624000bf789d84f2f9 Mon Sep 17 00:00:00 2001 From: jwbay <jwbay@users.noreply.github.com> Date: Mon, 16 Oct 2017 17:45:16 -0400 Subject: [PATCH 398/433] [jest] use default type params for mock and spy declarations (#20577) --- types/jest/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/jest/index.d.ts b/types/jest/index.d.ts index cf6f2eeb0b..dec3b65be1 100644 --- a/types/jest/index.d.ts +++ b/types/jest/index.d.ts @@ -9,7 +9,7 @@ // Ika <https://github.com/ikatyang> // Waseem Dahman <https://github.com/wsmd> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 +// TypeScript Version: 2.3 declare var beforeAll: jest.Lifecycle; declare var beforeEach: jest.Lifecycle; @@ -488,12 +488,12 @@ declare namespace jest { new (...args: any[]): any; } - interface Mock<T> extends Function, MockInstance<T> { + interface Mock<T = {}> extends Function, MockInstance<T> { new (...args: any[]): T; (...args: any[]): any; } - interface SpyInstance<T> extends MockInstance<T> { + interface SpyInstance<T = {}> extends MockInstance<T> { mockRestore(): void; } From 7e936df8524260f0f51ce644514e71b02beeb62d Mon Sep 17 00:00:00 2001 From: Junyoung Choi <fluke8259@gmail.com> Date: Tue, 17 Oct 2017 06:49:43 +0900 Subject: [PATCH 399/433] Add mdurl (#20581) * Add mdurl * Add strictFunctionTypes property to tsconfig --- types/mdurl/decode.d.ts | 7 +++++++ types/mdurl/encode.d.ts | 7 +++++++ types/mdurl/format.d.ts | 5 +++++ types/mdurl/index.d.ts | 26 ++++++++++++++++++++++++++ types/mdurl/mdurl-tests.ts | 32 ++++++++++++++++++++++++++++++++ types/mdurl/parse.d.ts | 5 +++++ types/mdurl/tsconfig.json | 23 +++++++++++++++++++++++ types/mdurl/tslint.json | 1 + 8 files changed, 106 insertions(+) create mode 100644 types/mdurl/decode.d.ts create mode 100644 types/mdurl/encode.d.ts create mode 100644 types/mdurl/format.d.ts create mode 100644 types/mdurl/index.d.ts create mode 100644 types/mdurl/mdurl-tests.ts create mode 100644 types/mdurl/parse.d.ts create mode 100644 types/mdurl/tsconfig.json create mode 100644 types/mdurl/tslint.json diff --git a/types/mdurl/decode.d.ts b/types/mdurl/decode.d.ts new file mode 100644 index 0000000000..f45d0854b2 --- /dev/null +++ b/types/mdurl/decode.d.ts @@ -0,0 +1,7 @@ +declare namespace decode { + const defaultChars: string; + const componentChars: string; +} +declare function decode(input: string, exclude?: string): string; + +export = decode; diff --git a/types/mdurl/encode.d.ts b/types/mdurl/encode.d.ts new file mode 100644 index 0000000000..7848d3c85e --- /dev/null +++ b/types/mdurl/encode.d.ts @@ -0,0 +1,7 @@ +declare namespace encode { + const defaultChars: string; + const componentChars: string; +} +declare function encode(str: string, exclude?: string, keepEscaped?: boolean): string; + +export = encode; diff --git a/types/mdurl/format.d.ts b/types/mdurl/format.d.ts new file mode 100644 index 0000000000..2638c76007 --- /dev/null +++ b/types/mdurl/format.d.ts @@ -0,0 +1,5 @@ +import { Url } from './' + +declare function format(url: Url): string; + +export = format; diff --git a/types/mdurl/index.d.ts b/types/mdurl/index.d.ts new file mode 100644 index 0000000000..103ca22940 --- /dev/null +++ b/types/mdurl/index.d.ts @@ -0,0 +1,26 @@ +// Type definitions for mdurl 1.0 +// Project: https://github.com/markdown-it/mdurl#readme +// Definitions by: Junyoung Choi <https://github.com/rokt33r> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +import encode = require('./encode'); +import decode = require('./decode'); +import parse = require('./parse'); +import format = require('./format'); + +export interface Url { + protocol: string; + slashes: string; + auth: string; + port: string; + hostname: string; + hash: string; + search: string; + pathname: string; +} + +export { + encode, + decode, + parse, + format +}; diff --git a/types/mdurl/mdurl-tests.ts b/types/mdurl/mdurl-tests.ts new file mode 100644 index 0000000000..28c1141ef5 --- /dev/null +++ b/types/mdurl/mdurl-tests.ts @@ -0,0 +1,32 @@ +import mdurl = require('mdurl'); +import { Url } from 'mdurl'; + +const encoded: string = mdurl.encode('%%%'); +// return '%25%25%25' + +const decoded: string = mdurl.decode(encoded); +// return '%%%' + +const url: Url = mdurl.parse('HTTP://www.example.com/'); +// return { +// 'protocol': 'HTTP:', +// 'slashes': true, +// 'hostname': 'www.example.com', +// 'pathname': '/' +// } as Url + +const urlStr: string = mdurl.format(url); +// 'HTTP://www.example.com/' + +import encode = require('mdurl/encode'); +import decode = require('mdurl/decode'); +import parse = require('mdurl/parse'); +import format = require('mdurl/format'); + +const encoded2: string = encode('%%%'); + +const decoded2: string = decode(encoded); + +const url2: Url = parse('HTTP://www.example.com/'); + +const urlStr2: string = format(url); diff --git a/types/mdurl/parse.d.ts b/types/mdurl/parse.d.ts new file mode 100644 index 0000000000..cd2c012caa --- /dev/null +++ b/types/mdurl/parse.d.ts @@ -0,0 +1,5 @@ +import { Url } from './' + +declare function parse(input: string, slashesDenoteHost?: boolean): Url; + +export = parse; diff --git a/types/mdurl/tsconfig.json b/types/mdurl/tsconfig.json new file mode 100644 index 0000000000..c00c56ef07 --- /dev/null +++ b/types/mdurl/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes": true + }, + "files": [ + "index.d.ts", + "mdurl-tests.ts" + ] +} diff --git a/types/mdurl/tslint.json b/types/mdurl/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/mdurl/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From f92fedd91973c26f0260dbb6faf98d2d3ed26c92 Mon Sep 17 00:00:00 2001 From: Rasmus Eneman <rasmus@eneman.eu> Date: Tue, 17 Oct 2017 00:09:26 +0200 Subject: [PATCH 400/433] @types/react: Add documentation to confusing event properties (#20595) These properties can be non-obvious and some doc comments could be helpful --- types/react/index.d.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/types/react/index.d.ts b/types/react/index.d.ts index 864820aa63..29aef75598 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -430,6 +430,9 @@ declare namespace React { interface SyntheticEvent<T> { bubbles: boolean; + /** + * A reference to the element on which the event listener is registered. + */ currentTarget: EventTarget & T; cancelable: boolean; defaultPrevented: boolean; @@ -442,6 +445,12 @@ declare namespace React { isPropagationStopped(): boolean; persist(): void; // If you thought this should be `EventTarget & T`, see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/12239 + /** + * A reference to the element from which the event was originally dispatched. + * This might be a child element to the element on which the event listener is registered. + * + * @see currentTarget + */ target: EventTarget; timeStamp: number; type: string; @@ -483,7 +492,13 @@ declare namespace React { altKey: boolean; charCode: number; ctrlKey: boolean; + /** + * See [DOM Level 3 Events spec](https://www.w3.org/TR/uievents-key/#keys-modifier). for a list of valid (case-sensitive) arguments to this method. + */ getModifierState(key: string): boolean; + /** + * See the [DOM Level 3 Events spec](https://www.w3.org/TR/uievents-key/#named-key-attribute-values). for possible values + */ key: string; keyCode: number; locale: string; @@ -502,6 +517,9 @@ declare namespace React { clientX: number; clientY: number; ctrlKey: boolean; + /** + * See [DOM Level 3 Events spec](https://www.w3.org/TR/uievents-key/#keys-modifier). for a list of valid (case-sensitive) arguments to this method. + */ getModifierState(key: string): boolean; metaKey: boolean; nativeEvent: NativeMouseEvent; @@ -517,6 +535,9 @@ declare namespace React { altKey: boolean; changedTouches: TouchList; ctrlKey: boolean; + /** + * See [DOM Level 3 Events spec](https://www.w3.org/TR/uievents-key/#keys-modifier). for a list of valid (case-sensitive) arguments to this method. + */ getModifierState(key: string): boolean; metaKey: boolean; nativeEvent: NativeTouchEvent; From f5a512332058a207f1e185fdd60bfddc67185c0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20Jedli=C4=8Dka?= <jedlicka.r@gmail.com> Date: Tue, 17 Oct 2017 00:21:29 +0200 Subject: [PATCH 401/433] [codemirror] Fix `charCoord` and `getTokenAt` methods according to docs (#20593) * [codemirror] Fix methods according to docs - `charCoords` method should have `mode` param optional: http://codemirror.net/doc/manual.html#charCoords - `getTokenAt` method should have second optional parameter `precise`: http://codemirror.net/doc/manual.html#getTokenAt * [codemirror] Fix coords mode methods parameter Fix mode parameter of methods `cursorCoords`, `charCoords`, `coordsChar`, `lineAtHeight` and add missing method `heightAtLine`. --- types/codemirror/index.d.ts | 40 ++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/types/codemirror/index.d.ts b/types/codemirror/index.d.ts index 16e2611781..4bf1844114 100644 --- a/types/codemirror/index.d.ts +++ b/types/codemirror/index.d.ts @@ -104,7 +104,9 @@ declare namespace CodeMirror { function signal(target: any, name: string, ...args: any[]): void; type DOMEvent = 'mousedown' | 'dblclick' | 'touchstart' | 'contextmenu' | 'keydown' | 'keypress' | 'keyup' | 'cut' | 'copy' | 'paste' | 'dragstart' | 'dragenter' | 'dragover' | 'dragleave' | 'drop'; - + + type CoordsMode = 'window' | 'page' | 'local'; + interface Token { /** The character(on the given line) at which the token starts. */ start: number; @@ -196,12 +198,15 @@ declare namespace CodeMirror { class can be left off to remove all classes for the specified node, or be a string to remove only a specific class. */ removeLineClass(line: any, where: string, class_?: string): CodeMirror.LineHandle; - /** - * Compute the line at the given pixel height. - * - * `mode` is the relative element to use to compute this line - defaults to 'page' if not specified - */ - lineAtHeight(height: number, mode?: 'window' | 'page' | 'local'): number + /** Compute the line at the given pixel height. mode is the relative element + to use to compute this line, it may be "window", "page" (the default), or "local" */ + lineAtHeight(height: number, mode?: CoordsMode): number; + + /** Computes the height of the top of a line, in the coordinate system specified by mode, it may be "window", + "page" (the default), or "local". When a line below the bottom of the document is specified, the returned value + is the bottom of the last line in the document. By default, the position of the actual text is returned. + If includeWidgets is true and the line has line widgets, the position above the first line widget is returned. */ + heightAtLine(line: any, mode?: CoordsMode, includeWidgets?: boolean): number; /** Returns the line number, text content, and marker status of the given line, which can be either a number or a line handle. */ lineInfo(line: any): { @@ -267,25 +272,28 @@ declare namespace CodeMirror { scrollIntoView(pos: { from: CodeMirror.Position, to: CodeMirror.Position }, margin: number): void; /** Returns an { left , top , bottom } object containing the coordinates of the cursor position. - If mode is "local" , they will be relative to the top-left corner of the editable document. + If mode is "local", they will be relative to the top-left corner of the editable document. If it is "page" or not given, they are relative to the top-left corner of the page. where is a boolean indicating whether you want the start(true) or the end(false) of the selection. */ - cursorCoords(where: boolean, mode: string): { left: number; top: number; bottom: number; }; + cursorCoords(where: boolean, mode?: CoordsMode): { left: number; top: number; bottom: number; }; /** Returns an { left , top , bottom } object containing the coordinates of the cursor position. - If mode is "local" , they will be relative to the top-left corner of the editable document. + If mode is "local", they will be relative to the top-left corner of the editable document. If it is "page" or not given, they are relative to the top-left corner of the page. where specifies the precise position at which you want to measure. */ - cursorCoords(where: CodeMirror.Position, mode: string): { left: number; top: number; bottom: number; }; + cursorCoords(where: CodeMirror.Position, mode?: CoordsMode): { left: number; top: number; bottom: number; }; - /** Returns the position and dimensions of an arbitrary character.pos should be a { line , ch } object. + /** Returns the position and dimensions of an arbitrary character. pos should be a { line , ch } object. + If mode is "local", they will be relative to the top-left corner of the editable document. + If it is "page" or not given, they are relative to the top-left corner of the page. This differs from cursorCoords in that it'll give the size of the whole character, rather than just the position that the cursor would have when it would sit at that position. */ - charCoords(pos: CodeMirror.Position, mode: string): { left: number; right: number; top: number; bottom: number; }; + charCoords(pos: CodeMirror.Position, mode?: CoordsMode): { left: number; right: number; top: number; bottom: number; }; /** Given an { left , top } object , returns the { line , ch } position that corresponds to it. - The optional mode parameter determines relative to what the coordinates are interpreted. It may be "window" , "page"(the default) , or "local". */ - coordsChar(object: { left: number; top: number; }, mode?: string): CodeMirror.Position; + The optional mode parameter determines relative to what the coordinates are interpreted. + It may be "window", "page" (the default), or "local". */ + coordsChar(object: { left: number; top: number; }, mode?: CoordsMode): CodeMirror.Position; /** Returns the line height of the default font for the editor. */ defaultTextHeight(): number; @@ -304,7 +312,7 @@ declare namespace CodeMirror { refresh(): void; /** Retrieves information about the token the current mode found before the given position (a {line, ch} object). */ - getTokenAt(pos: CodeMirror.Position): Token; + getTokenAt(pos: CodeMirror.Position, precise?: boolean): Token; /** This is similar to getTokenAt, but collects all tokens for a given line into an array. */ getLineTokens(line: number, precise?: boolean): Token[]; From bbf3e9cb0bcebd8ed3eb9f7ab3265a1b2a63d87a Mon Sep 17 00:00:00 2001 From: John Gozde <john@gozde.ca> Date: Mon, 16 Oct 2017 16:22:04 -0600 Subject: [PATCH 402/433] [react]: Remove deprecated+removed APIs (#20409) * create-react-class: add definitions * react-dom-factories: add definitions * create-react-class: add tests, fix errors * react-dom-factories: add tests, fix lint * react: remove previously deprecated APIs * Remove deprecated usages in other definitions * redux-form: disable strictFunctionTypes Changes to react typings revealed errors in redux-form that are present in 'master'. This needs to be handled separately. * Update create-react-class, react-dom-factories author * Avoid importing create-react-class where possible * Move top-level createReactClass tests to create-react-class --- .../create-react-class-tests.ts | 106 +++++++++ types/create-react-class/index.d.ts | 13 ++ types/create-react-class/tsconfig.json | 25 +++ types/create-react-class/tslint.json | 7 + types/jsnox/jsnox-tests.ts | 4 +- .../material-ui-pagination-tests.tsx | 3 +- types/material-ui/material-ui-tests.tsx | 3 +- types/ngreact/ngreact-tests.tsx | 22 +- .../react-big-calendar-tests.tsx | 8 +- types/react-chartjs-2/test/bar.tsx | 6 +- types/react-chartjs-2/test/bubble.tsx | 6 +- types/react-chartjs-2/test/doughnut.tsx | 6 +- types/react-chartjs-2/test/horizontalBar.tsx | 6 +- types/react-chartjs-2/test/line.tsx | 6 +- types/react-chartjs-2/test/mix.tsx | 6 +- types/react-chartjs-2/test/pie.tsx | 6 +- types/react-chartjs-2/test/polar.tsx | 6 +- types/react-chartjs-2/test/radar.tsx | 6 +- types/react-chartjs-2/test/randomizedLine.tsx | 11 +- .../react-dnd-html5-backend-tests.ts | 3 +- types/react-dnd/react-dnd-tests.tsx | 3 +- types/react-dom-factories/index.d.ts | 12 + .../react-dom-factories-tests.ts | 8 + types/react-dom-factories/tsconfig.json | 23 ++ types/react-dom-factories/tslint.json | 1 + types/react-infinite/react-infinite-tests.tsx | 33 +-- .../react-is-deprecated-tests.ts | 2 +- types/react-leaflet/react-leaflet-tests.tsx | 3 +- types/react-mdl/react-mdl-tests.tsx | 159 ++++++------- .../react-props-decorators-tests.ts | 5 +- .../react-router/test/NavigateWithContext.tsx | 3 +- .../dist/es/ArrowKeyStepper.d.ts | 3 +- .../react-virtualized/dist/es/AutoSizer.d.ts | 3 +- types/react/index.d.ts | 4 - types/react/test/index.ts | 210 +++++++----------- types/redux-form/redux-form-tests.tsx | 2 + types/redux-form/tsconfig.json | 2 +- types/redux-form/v4/redux-form-tests.tsx | 3 +- types/redux-form/v6/redux-form-tests.tsx | 4 +- types/redux-form/v6/tsconfig.json | 2 +- 40 files changed, 449 insertions(+), 295 deletions(-) create mode 100644 types/create-react-class/create-react-class-tests.ts create mode 100644 types/create-react-class/index.d.ts create mode 100644 types/create-react-class/tsconfig.json create mode 100644 types/create-react-class/tslint.json create mode 100644 types/react-dom-factories/index.d.ts create mode 100644 types/react-dom-factories/react-dom-factories-tests.ts create mode 100644 types/react-dom-factories/tsconfig.json create mode 100644 types/react-dom-factories/tslint.json diff --git a/types/create-react-class/create-react-class-tests.ts b/types/create-react-class/create-react-class-tests.ts new file mode 100644 index 0000000000..c3f7c620ef --- /dev/null +++ b/types/create-react-class/create-react-class-tests.ts @@ -0,0 +1,106 @@ +import * as React from "react"; +import * as ReactDOM from "react-dom"; +import * as DOM from "react-dom-factories"; +import * as createReactClass from "create-react-class"; + +interface Props { + foo: string; +} + +interface State { + bar: number; +} + +const props: Props & React.ClassAttributes<{}> = { + foo: "foo" +}; + +const container: Element = document.createElement("div"); + +// +// Top-Level API +// -------------------------------------------------------------------------- + +const ClassicComponent: React.ClassicComponentClass<Props> = createReactClass<Props, State>({ + childContextTypes: {}, + componentDidCatch(err, errorInfo) { + const msg: string = err.message; + const name: string = err.name; + const stack: string | undefined = err.stack; + const componentStack: string = errorInfo.componentStack; + }, + componentDidMount() {}, + componentDidUpdate(props, state) { + const foo: string = props.foo; + const bar: number = state.bar; + }, + componentWillMount() {}, + componentWillReceiveProps(nextProps) { + const oldFoo: string = nextProps.foo; + }, + componentWillUnmount() {}, + componentWillUpdate(props, state) { + const foo: string = props.foo; + const bar: number = state.bar; + }, + contextTypes: {}, + displayName: "Test", + getDefaultProps() { + return { foo: "f" }; + }, + getInitialState() { + return { bar: 1 }; + }, + mixins: [], + propTypes: {}, + shouldComponentUpdate(this: React.ClassicComponent<Props, State>, nextProps, nextState) { + const newFoo: string = nextProps.foo; + const newBar: number = nextState.bar; + return newFoo !== this.props.foo && newBar !== this.state.bar; + }, + statics: { + test: 1 + }, + reset() { + this.replaceState(this.getInitialState!()); + }, + render() { + return DOM.div(null, + DOM.input({ + ref: input => this._input = input, + value: this.state.bar + })); + } +}); + +// React.createFactory +const classicFactory: React.ClassicFactory<Props> = + React.createFactory(ClassicComponent); +const classicFactoryElement: React.ClassicElement<Props> = + classicFactory(props); + +// React.createElement +const classicElement: React.ClassicElement<Props> = React.createElement(ClassicComponent, props); + +// React.cloneElement +const clonedClassicElement: React.ClassicElement<Props> = + React.cloneElement(classicElement, props); + +// ReactDOM.render +const classicComponent: React.ClassicComponent<Props> = ReactDOM.render(classicElement, container); + +// +// React Components +// -------------------------------------------------------------------------- + +const displayName: string | undefined = ClassicComponent.displayName; +const defaultProps: Props = ClassicComponent.getDefaultProps ? ClassicComponent.getDefaultProps() : {} as Props; +const propTypes: React.ValidationMap<Props> | undefined = ClassicComponent.propTypes; + +// +// Component API +// -------------------------------------------------------------------------- + +// classic +const isMounted: boolean = classicComponent.isMounted(); +classicComponent.replaceState({ inputValue: "???", seconds: 60 }); diff --git a/types/create-react-class/index.d.ts b/types/create-react-class/index.d.ts new file mode 100644 index 0000000000..211474ac16 --- /dev/null +++ b/types/create-react-class/index.d.ts @@ -0,0 +1,13 @@ +// Type definitions for create-react-class 15.6 +// Project: https://facebook.github.io/react/ +// Definitions by: John Gozde <https://github.com/jgoz> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +import { ComponentSpec, ClassicComponentClass } from "react"; + +declare namespace createReactClass {} +declare function createReactClass<P, S>(spec: ComponentSpec<P, S>): ClassicComponentClass<P>; + +export as namespace createReactClass; +export = createReactClass; diff --git a/types/create-react-class/tsconfig.json b/types/create-react-class/tsconfig.json new file mode 100644 index 0000000000..b003c69e53 --- /dev/null +++ b/types/create-react-class/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "jsx": "preserve" + }, + "files": [ + "index.d.ts", + "create-react-class-tests.ts" + ] +} diff --git a/types/create-react-class/tslint.json b/types/create-react-class/tslint.json new file mode 100644 index 0000000000..08337e85f7 --- /dev/null +++ b/types/create-react-class/tslint.json @@ -0,0 +1,7 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "no-object-literal-type-assertion": false, + "no-unnecessary-generics": false + } +} diff --git a/types/jsnox/jsnox-tests.ts b/types/jsnox/jsnox-tests.ts index c274a6f491..d545581591 100644 --- a/types/jsnox/jsnox-tests.ts +++ b/types/jsnox/jsnox-tests.ts @@ -8,9 +8,9 @@ interface PersonProps { age: number; } -const Person: React.ClassicComponentClass<PersonProps> = React.createClass<PersonProps, {}>({ +class Person extends React.Component<PersonProps> { render(): React.ReactElement<any> { return null; } -}); +} const PersonTag = React.createFactory(Person); diff --git a/types/material-ui-pagination/material-ui-pagination-tests.tsx b/types/material-ui-pagination/material-ui-pagination-tests.tsx index 6a3415d24f..09246a2646 100644 --- a/types/material-ui-pagination/material-ui-pagination-tests.tsx +++ b/types/material-ui-pagination/material-ui-pagination-tests.tsx @@ -1,5 +1,6 @@ import * as React from 'react'; -import { Component, PropTypes } from 'react'; +import * as PropTypes from 'prop-types'; +import { Component } from 'react'; import * as ReactDOM from 'react-dom'; import Pagination from 'material-ui-pagination'; import * as ui from 'material-ui'; diff --git a/types/material-ui/material-ui-tests.tsx b/types/material-ui/material-ui-tests.tsx index 3b2c50dff4..1034d47cad 100644 --- a/types/material-ui/material-ui-tests.tsx +++ b/types/material-ui/material-ui-tests.tsx @@ -1,9 +1,10 @@ import * as React from 'react'; import { - Component, ComponentClass, CSSProperties, PropTypes, + Component, ComponentClass, CSSProperties, StatelessComponent, ReactElement, ReactInstance, ValidationMap } from 'react'; import * as ReactDOM from 'react-dom'; +import * as PropTypes from 'prop-types'; import getMuiTheme from 'material-ui/styles/getMuiTheme'; import { muiThemeable } from 'material-ui/styles/muiThemeable'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; diff --git a/types/ngreact/ngreact-tests.tsx b/types/ngreact/ngreact-tests.tsx index 46980dab1f..0f40df4bb8 100644 --- a/types/ngreact/ngreact-tests.tsx +++ b/types/ngreact/ngreact-tests.tsx @@ -1,5 +1,6 @@ import * as angular from "angular"; import * as React from "react"; +import * as PropTypes from "prop-types"; import { ReactDirective } from "ngreact"; const app = angular.module("app", ["react"]); @@ -24,13 +25,20 @@ app.directive('helloComponent', function(reactDirective: ReactDirective, $locati return reactDirective(HelloComponent, undefined, {}, { $location }); }); -var HelloComponent = React.createClass({ - propTypes: { - fname : React.PropTypes.string.isRequired, - lname : React.PropTypes.string.isRequired - }, - render: function() { +interface HelloProps { + fname: string; + lname: string; +} + +class HelloComponent extends React.Component<HelloProps> { + static propTypes = { + fname : PropTypes.string.isRequired, + lname : PropTypes.string.isRequired + } + + render() { return <span>Hello {this.props.fname} {this.props.lname}</span>; } -}) +} + app.value('HelloComponent', HelloComponent); diff --git a/types/react-big-calendar/react-big-calendar-tests.tsx b/types/react-big-calendar/react-big-calendar-tests.tsx index 8afdc205e8..ba48c42ed0 100644 --- a/types/react-big-calendar/react-big-calendar-tests.tsx +++ b/types/react-big-calendar/react-big-calendar-tests.tsx @@ -29,7 +29,7 @@ class CalendarEvent { } // Basic Example Test -const BasicExample = React.createClass({ +class BasicExample extends React.Component { render() { return ( <BigCalendar @@ -38,14 +38,14 @@ const BasicExample = React.createClass({ /> ); } -}); +} ReactDOM.render(<BasicExample />, document.body); const basicExampleHtml = ReactDOMServer.renderToString(<BasicExample />); console.log('Test Results -> BasicExample', basicExampleHtml); // Full API Example Test - based on API Documentation // http://intljusticemission.github.io/react-big-calendar/examples/index.html#api -const FullAPIExample = React.createClass({ +class FullAPIExample extends React.Component { render() { return ( <BigCalendar @@ -91,7 +91,7 @@ const FullAPIExample = React.createClass({ /> ); } -}); +} ReactDOM.render(<FullAPIExample />, document.body); const fullApiExampleHtml = ReactDOMServer.renderToString(<FullAPIExample />); console.log('Test Results -> FullAPIExample', fullApiExampleHtml); diff --git a/types/react-chartjs-2/test/bar.tsx b/types/react-chartjs-2/test/bar.tsx index c1ff3a3567..7f05c9925b 100644 --- a/types/react-chartjs-2/test/bar.tsx +++ b/types/react-chartjs-2/test/bar.tsx @@ -16,9 +16,7 @@ const data = { ] }; -export default React.createClass({ - displayName: 'BarExample', - +export default class BarExample extends React.Component { render() { return ( <div> @@ -34,4 +32,4 @@ export default React.createClass({ </div> ); } -}); +} diff --git a/types/react-chartjs-2/test/bubble.tsx b/types/react-chartjs-2/test/bubble.tsx index b52d306136..726113c1ea 100755 --- a/types/react-chartjs-2/test/bubble.tsx +++ b/types/react-chartjs-2/test/bubble.tsx @@ -28,9 +28,7 @@ const data = { ] }; -export default React.createClass({ - displayName: 'BubbleExample', - +export default class BubbleExample extends React.Component { render() { return ( <div> @@ -39,4 +37,4 @@ export default React.createClass({ </div> ); } -}); +} diff --git a/types/react-chartjs-2/test/doughnut.tsx b/types/react-chartjs-2/test/doughnut.tsx index 6a25d0354b..0743ee448b 100755 --- a/types/react-chartjs-2/test/doughnut.tsx +++ b/types/react-chartjs-2/test/doughnut.tsx @@ -22,9 +22,7 @@ const data = { }] }; -export default React.createClass({ - displayName: 'DoughnutExample', - +export default class DoughnutExample extends React.Component { render() { return ( <div> @@ -33,4 +31,4 @@ export default React.createClass({ </div> ); } -}); +} diff --git a/types/react-chartjs-2/test/horizontalBar.tsx b/types/react-chartjs-2/test/horizontalBar.tsx index bf66f6b9fc..f63d21b51b 100755 --- a/types/react-chartjs-2/test/horizontalBar.tsx +++ b/types/react-chartjs-2/test/horizontalBar.tsx @@ -16,9 +16,7 @@ const data = { ] }; -export default React.createClass({ - displayName: 'BarExample', - +export default class HorizontalBarExample extends React.Component { render() { return ( <div> @@ -27,4 +25,4 @@ export default React.createClass({ </div> ); } -}); +} diff --git a/types/react-chartjs-2/test/line.tsx b/types/react-chartjs-2/test/line.tsx index 55b0ad73fd..132b345dce 100755 --- a/types/react-chartjs-2/test/line.tsx +++ b/types/react-chartjs-2/test/line.tsx @@ -28,9 +28,7 @@ const data = { ] }; -export default React.createClass({ - displayName: 'LineExample', - +export default class LineExample extends React.Component { render() { return ( <div> @@ -39,4 +37,4 @@ export default React.createClass({ </div> ); } -}); +} diff --git a/types/react-chartjs-2/test/mix.tsx b/types/react-chartjs-2/test/mix.tsx index 614e61723e..56c6e01cdc 100755 --- a/types/react-chartjs-2/test/mix.tsx +++ b/types/react-chartjs-2/test/mix.tsx @@ -69,9 +69,7 @@ const options: ChartOptions = { } }; -export default React.createClass({ - displayName: 'MixExample', - +export default class MixExample extends React.Component { render() { return ( <div> @@ -83,4 +81,4 @@ export default React.createClass({ </div> ); } -}); +} diff --git a/types/react-chartjs-2/test/pie.tsx b/types/react-chartjs-2/test/pie.tsx index 9fb1912f5b..6aaedbb20f 100755 --- a/types/react-chartjs-2/test/pie.tsx +++ b/types/react-chartjs-2/test/pie.tsx @@ -22,9 +22,7 @@ const data = { }] }; -export default React.createClass({ - displayName: 'PieExample', - +export default class PieExample extends React.Component { render() { return ( <div> @@ -33,4 +31,4 @@ export default React.createClass({ </div> ); } -}); +} diff --git a/types/react-chartjs-2/test/polar.tsx b/types/react-chartjs-2/test/polar.tsx index d586ca44be..264c3d9f2b 100755 --- a/types/react-chartjs-2/test/polar.tsx +++ b/types/react-chartjs-2/test/polar.tsx @@ -28,9 +28,7 @@ const data = { ] }; -export default React.createClass({ - displayName: 'PolarExample', - +export default class PolarExample extends React.Component { render() { return ( <div> @@ -39,4 +37,4 @@ export default React.createClass({ </div> ); } -}); +} diff --git a/types/react-chartjs-2/test/radar.tsx b/types/react-chartjs-2/test/radar.tsx index 5c6dbc7c7d..886b111ae6 100755 --- a/types/react-chartjs-2/test/radar.tsx +++ b/types/react-chartjs-2/test/radar.tsx @@ -27,9 +27,7 @@ const data = { ] }; -export default React.createClass({ - displayName: 'RadarExample', - +export default class RadarExample extends React.Component { render() { return ( <div> @@ -38,4 +36,4 @@ export default React.createClass({ </div> ); } -}); +} diff --git a/types/react-chartjs-2/test/randomizedLine.tsx b/types/react-chartjs-2/test/randomizedLine.tsx index 66be548968..fc63f75141 100755 --- a/types/react-chartjs-2/test/randomizedLine.tsx +++ b/types/react-chartjs-2/test/randomizedLine.tsx @@ -43,11 +43,10 @@ class Graph extends React.Component<any, any> { }); const newDataSet = { - ...oldDataSet + ...oldDataSet, + data: newData }; - newDataSet.data = newData; - this.setState({ datasets: [newDataSet] }); }, 5000); } @@ -59,9 +58,7 @@ class Graph extends React.Component<any, any> { } } -export default React.createClass({ - displayName: 'RandomizedDataLineExample', - +export default class RandomizedDataLineExample extends React.Component { render() { return ( <div> @@ -70,4 +67,4 @@ export default React.createClass({ </div> ); } -}); +} diff --git a/types/react-dnd-html5-backend/react-dnd-html5-backend-tests.ts b/types/react-dnd-html5-backend/react-dnd-html5-backend-tests.ts index 47fa6ab5d4..14463a0440 100644 --- a/types/react-dnd-html5-backend/react-dnd-html5-backend-tests.ts +++ b/types/react-dnd-html5-backend/react-dnd-html5-backend-tests.ts @@ -2,9 +2,10 @@ // http://gaearon.github.io/react-dnd/docs-tutorial.html import * as React from "react"; +import * as DOM from "react-dom-factories"; import * as ReactDnd from "react-dnd"; -const r = React.DOM; +const r = DOM; import DragSource = ReactDnd.DragSource; import DropTarget = ReactDnd.DropTarget; diff --git a/types/react-dnd/react-dnd-tests.tsx b/types/react-dnd/react-dnd-tests.tsx index 929d64b1f5..76d732f268 100644 --- a/types/react-dnd/react-dnd-tests.tsx +++ b/types/react-dnd/react-dnd-tests.tsx @@ -2,9 +2,10 @@ // http://gaearon.github.io/react-dnd/docs-tutorial.html import * as React from "react"; +import * as DOM from "react-dom-factories"; import * as ReactDnd from "react-dnd"; -var r = React.DOM; +var r = DOM; import DragSource = ReactDnd.DragSource; import DropTarget = ReactDnd.DropTarget; diff --git a/types/react-dom-factories/index.d.ts b/types/react-dom-factories/index.d.ts new file mode 100644 index 0000000000..a0c63f0562 --- /dev/null +++ b/types/react-dom-factories/index.d.ts @@ -0,0 +1,12 @@ +// Type definitions for react-dom-factories 1.0 +// Project: https://facebook.github.io/react/ +// Definitions by: John Gozde <https://github.com/jgoz> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +export as namespace ReactDOMFactories; +export = ReactDOMFactories; + +import { ReactDOM } from "react"; + +declare const ReactDOMFactories: ReactDOM; diff --git a/types/react-dom-factories/react-dom-factories-tests.ts b/types/react-dom-factories/react-dom-factories-tests.ts new file mode 100644 index 0000000000..de3b03819c --- /dev/null +++ b/types/react-dom-factories/react-dom-factories-tests.ts @@ -0,0 +1,8 @@ +import * as DOM from "react-dom-factories"; + +// tiny sampling of factories +DOM.a({}, "a"); +DOM.div({}, + DOM.span({}, DOM.b()), + DOM.ul({}, DOM.li({}, "test")) +); diff --git a/types/react-dom-factories/tsconfig.json b/types/react-dom-factories/tsconfig.json new file mode 100644 index 0000000000..8cdf540399 --- /dev/null +++ b/types/react-dom-factories/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictFunctionTypes": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "react-dom-factories-tests.ts" + ] +} diff --git a/types/react-dom-factories/tslint.json b/types/react-dom-factories/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/react-dom-factories/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } diff --git a/types/react-infinite/react-infinite-tests.tsx b/types/react-infinite/react-infinite-tests.tsx index 9736f979a0..2aa7a23192 100644 --- a/types/react-infinite/react-infinite-tests.tsx +++ b/types/react-infinite/react-infinite-tests.tsx @@ -51,31 +51,32 @@ class Test4 extends React.Component { } } -var ListItem = React.createClass<{key: number; num: number;}, {}>({ - render: function() { +class ListItem extends React.Component<{key: number; num: number}, {}> { + render() { return <div className="infinite-list-item"> List Item {this.props.num} </div>; } -}); +} -var InfiniteList = React.createClass({ - getInitialState: function() { - return { +class InfiniteList extends React.Component<{}, {elements: React.ReactElement<any>[], isInfiniteLoading: boolean}> { + constructor(props?: {}, context?: any) { + super(props, context); + this.state = { elements: this.buildElements(0, 20), isInfiniteLoading: false - } - }, + }; + } - buildElements: function(start: number, end: number) { + buildElements(start: number, end: number) { var elements = [] as React.ReactElement<any>[]; for (var i = start; i < end; i++) { elements.push(<ListItem key={i} num={i}/>) } return elements; - }, + } - handleInfiniteLoad: function() { + handleInfiniteLoad() { var that = this; this.setState({ isInfiniteLoading: true @@ -88,15 +89,15 @@ var InfiniteList = React.createClass({ elements: that.state.elements.concat(newElements) }); }, 2500); - }, + } - elementInfiniteLoad: function() { + elementInfiniteLoad() { return <div className="infinite-list-item"> Loading... </div>; - }, + } - render: function() { + render() { return <Infinite elementHeight={40} containerHeight={250} infiniteLoadBeginEdgeOffset={200} @@ -107,4 +108,4 @@ var InfiniteList = React.createClass({ {this.state.elements} </Infinite>; } -}); +} diff --git a/types/react-is-deprecated/react-is-deprecated-tests.ts b/types/react-is-deprecated/react-is-deprecated-tests.ts index 2f01286189..a60364efdd 100644 --- a/types/react-is-deprecated/react-is-deprecated-tests.ts +++ b/types/react-is-deprecated/react-is-deprecated-tests.ts @@ -1,4 +1,4 @@ -import { PropTypes } from 'react'; +import * as PropTypes from 'prop-types'; import { deprecate, addIsDeprecated } from 'react-is-deprecated'; // test: one-off deprecation diff --git a/types/react-leaflet/react-leaflet-tests.tsx b/types/react-leaflet/react-leaflet-tests.tsx index c12b7d6617..fe9825c465 100644 --- a/types/react-leaflet/react-leaflet-tests.tsx +++ b/types/react-leaflet/react-leaflet-tests.tsx @@ -1,7 +1,8 @@ import * as React from 'react'; import * as ReactDOM from 'react-dom'; +import * as PropTypes from 'prop-types'; import * as L from 'leaflet'; -import { Component, PropTypes } from 'react'; +import { Component } from 'react'; import { Children, Circle, diff --git a/types/react-mdl/react-mdl-tests.tsx b/types/react-mdl/react-mdl-tests.tsx index e9405820fe..2feffaa8e0 100644 --- a/types/react-mdl/react-mdl-tests.tsx +++ b/types/react-mdl/react-mdl-tests.tsx @@ -28,8 +28,8 @@ import { Chip, ChipContact, // all tests are from the examples provided here: https://tleunen.github.io/react-mdl/ // Badge tests -React.createClass({ - render: function() { +class BadgeTests extends React.Component { + render() { return ( <div> {/* Number badge on icon */} @@ -41,7 +41,7 @@ React.createClass({ <Badge text="♥" overlap> <Icon name="account_box" /> </Badge> - + {/* Number badge on text */} <Badge text="4">Inbox</Badge> @@ -50,11 +50,11 @@ React.createClass({ </div> ); } -}); +} // Chip tests -React.createClass({ - render: function() { +class ChipTests extends React.Component { + render() { return ( <div> <Chip>Basic chip</Chip> @@ -77,12 +77,12 @@ React.createClass({ </Chip> </div> ); - } -}); + } +} // Button tests -React.createClass({ - render: function() { +class ButtonTests extends React.Component { + render() { return ( <div> {/* Colored FAB button */} @@ -161,11 +161,11 @@ React.createClass({ </div> ); } -}) +} // Card tests -React.createClass({ - render: function() { +class CardTests extends React.Component { + render() { return ( <div> <Card shadow={0} style={{width: '512px', margin: 'auto'}}> @@ -181,7 +181,7 @@ React.createClass({ <IconButton name="share" /> </CardMenu> </Card> - + <Card shadow={0} style={{width: '320px', height: '320px', margin: 'auto'}}> <CardTitle expand style={{color: '#fff', background: 'url(http://www.getmdl.io/assets/demos/dog.png) bottom right 15% no-repeat #46B6AC'}}>Update</CardTitle> <CardText> @@ -192,7 +192,7 @@ React.createClass({ <Button colored>View Updates</Button> </CardActions> </Card> - + <Card shadow={0} style={{width: '256px', height: '256px', background: 'url(http://www.getmdl.io/assets/demos/image_card.jpg) center / cover', margin: 'auto'}}> <CardTitle expand /> <CardActions style={{height: '52px', padding: '16px', background: 'rgba(0,0,0,0.2)'}}> @@ -201,7 +201,7 @@ React.createClass({ </span> </CardActions> </Card> - + <Card shadow={0} style={{width: '256px', height: '256px', background: '#3E4EB8'}}> <CardTitle expand style={{alignItems: 'flex-start', color: '#fff'}}> <h4 style={{marginTop: '0'}}> @@ -219,11 +219,11 @@ React.createClass({ </div> ); } -}); +} // Checkbox tests -React.createClass({ - render: function() { +class CheckboxTests extends React.Component { + render() { return ( <div> <Checkbox label="With ripple" ripple defaultChecked /> @@ -232,11 +232,11 @@ React.createClass({ </div> ); } -}); +} // DataTable tests -React.createClass({ - render: function() { +class DataTableTests extends React.Component { + render() { return ( <div> <DataTable @@ -304,11 +304,14 @@ React.createClass({ </div> ); } -}); +} // Dialog tests -React.createClass({ - render: function() { +class DialogTests extends React.Component<{}, {openDialog: boolean}> { + handleOpenDialog() { } + handleCloseDialog() { } + + render() { return ( <div> <div> @@ -324,7 +327,7 @@ React.createClass({ </DialogActions> </Dialog> </div> - + <div> <Button colored onClick={this.handleOpenDialog} raised ripple>Show Modal</Button> <Dialog open={this.state.openDialog}> @@ -338,7 +341,7 @@ React.createClass({ </DialogActions> </Dialog> </div> - + <div> <Button colored onClick={this.handleOpenDialog} onAbort={this.handleCloseDialog} raised ripple>Show Dialog</Button> <Dialog open={this.state.openDialog} onAbort={this.handleCloseDialog}> @@ -355,11 +358,11 @@ React.createClass({ </div> ); } -}); +} // Grid tests -React.createClass({ - render: function() { +class GridTests extends React.Component { + render() { return ( <div> <div style={{width: '80%', margin: 'auto'}}> @@ -396,11 +399,11 @@ React.createClass({ </div> ); } -}); +} // IconToggle tests -React.createClass({ - render: function() { +class IconToggleTests extends React.Component { + render() { return ( <div> <IconToggle ripple id="bold" name="format_bold" defaultChecked /> @@ -409,11 +412,11 @@ React.createClass({ </div> ); } -}); +} // Layout tests -React.createClass({ - render: function() { +class LayoutTests extends React.Component<{}, {activeTab: number}> { + render() { return ( <div> {/* Uses a transparent header that draws on top of the layout's background */} @@ -602,7 +605,7 @@ React.createClass({ <Layout fixedHeader> <Header> <HeaderRow title="Title" /> - <HeaderTabs activeTab={this.state.activeTab} onChange={(tabId) => this.setState({ activeTab: tabId })}> + <HeaderTabs activeTab={this.state.activeTab} onChange={(tabId) => {}}> <Tab>Tab1</Tab> <Tab>Tab2</Tab> <Tab>Tab3</Tab> @@ -689,11 +692,11 @@ React.createClass({ </div> ); } -}); +} // List tests -React.createClass({ - render: function() { +class ListTests extends React.Component { + render() { return ( <div> <List> @@ -800,11 +803,11 @@ React.createClass({ </div> ); } -}); +} // Menu tests -React.createClass({ - render: function() { +class MenuTests extends React.Component { + render() { return ( <div> {/* Lower left */} @@ -853,11 +856,11 @@ React.createClass({ </div> ); } -}); +} // ProgressBar tests -React.createClass({ - render: function() { +class ProgressBarTests extends React.Component { + render() { return ( <div> {/* Simple Progress Bar */} @@ -871,11 +874,11 @@ React.createClass({ </div> ); } -}); +} // Radio tests -React.createClass({ - render: function() { +class RadioTests extends React.Component { + render() { return ( <div> <RadioGroup name="demo" value="opt1"> @@ -890,11 +893,11 @@ React.createClass({ </div> ); } -}); +} // Slider tests -React.createClass({ - render: function() { +class SliderTests extends React.Component { + render() { return ( <div> {/* Default slider */} @@ -905,11 +908,15 @@ React.createClass({ </div> ); } -}); +} // Snackbar tests -React.createClass({ - render: function() { +class SnackbarTests extends React.Component { + handleClickActionSnackbar() {} + handleShowSnackbar() {} + handleTimeoutSnackbar() {} + + render() { return ( <div> <div> @@ -920,7 +927,7 @@ React.createClass({ onTimeout={this.handleTimeoutSnackbar} action="Undo">Button color changed.</Snackbar> </div> - + <div> <Button raised onClick={this.handleShowSnackbar}>Show a Toast</Button> <Snackbar @@ -932,11 +939,11 @@ React.createClass({ </div> ); } -}); +} // Spinner tests -React.createClass({ - render: function() { +class SpinnerTests extends React.Component { + render() { return ( <div> {/* Simple spinner */} @@ -947,11 +954,11 @@ React.createClass({ </div> ); } -}); +} // Switch tests -React.createClass({ - render: function() { +class SwitchTest extends React.Component { + render() { return ( <div> <Switch ripple id="switch1" defaultChecked>Ripple switch</Switch> @@ -960,11 +967,11 @@ React.createClass({ </div> ); } -}); +} // Tab tests -React.createClass({ - render: function() { +class TabTests extends React.Component<{}, {activeTab: number}> { + render() { return ( <div> <div className="demo-tabs"> @@ -976,15 +983,15 @@ React.createClass({ <section> <div className="content">Content for the tab: {this.state.activeTab}</div> </section> - </div> + </div> </div> ); } -}); +} // Textfield tests -React.createClass({ - render: function() { +class TextfieldTests extends React.Component { + render() { return ( <div> {/* Simple textfield */} @@ -1022,11 +1029,11 @@ React.createClass({ </div> ); } -}); +} // Tooltip tests -React.createClass({ - render: function() { +class TooltipTests extends React.Component { + render() { return ( <div> {/* Simple tooltip */} @@ -1071,15 +1078,15 @@ React.createClass({ </div> ); } -}); +} // MDLComponent tests -React.createClass({ - render: function() { +class MDLComponentTests extends React.Component { + render() { return ( <MDLComponent recursive={false}> <div /> </MDLComponent> ) } -}); +} diff --git a/types/react-props-decorators/react-props-decorators-tests.ts b/types/react-props-decorators/react-props-decorators-tests.ts index 0bc81826fd..ab6e970362 100644 --- a/types/react-props-decorators/react-props-decorators-tests.ts +++ b/types/react-props-decorators/react-props-decorators-tests.ts @@ -1,9 +1,10 @@ import * as React from 'react'; +import * as PropTypes from 'prop-types'; import { propTypes, defaultProps } from 'react-props-decorators'; @propTypes({ - foo: React.PropTypes.string, - bar: React.PropTypes.number + foo: PropTypes.string, + bar: PropTypes.number }) @defaultProps({ foo: "defaultString", diff --git a/types/react-router/test/NavigateWithContext.tsx b/types/react-router/test/NavigateWithContext.tsx index 7a58090462..cd6f45d232 100644 --- a/types/react-router/test/NavigateWithContext.tsx +++ b/types/react-router/test/NavigateWithContext.tsx @@ -1,4 +1,5 @@ import * as React from 'react'; +import * as PropTypes from 'prop-types'; import { RouterChildContext, RouteComponentProps @@ -15,7 +16,7 @@ type Props = RouteComponentProps<Params>; class ComponentThatUsesContext extends React.Component<Props> { static contextTypes = { - router: React.PropTypes.object.isRequired + router: PropTypes.object.isRequired }; context: RouterChildContext<Params>; private onClick = () => { diff --git a/types/react-virtualized/dist/es/ArrowKeyStepper.d.ts b/types/react-virtualized/dist/es/ArrowKeyStepper.d.ts index 6bc853361b..17844914af 100644 --- a/types/react-virtualized/dist/es/ArrowKeyStepper.d.ts +++ b/types/react-virtualized/dist/es/ArrowKeyStepper.d.ts @@ -1,4 +1,5 @@ -import { PropTypes, PureComponent, Validator, Requireable } from 'react' +import { PureComponent, Validator, Requireable } from 'react' +import * as PropTypes from 'prop-types' export type OnSectionRenderedParams = { columnStartIndex: number, diff --git a/types/react-virtualized/dist/es/AutoSizer.d.ts b/types/react-virtualized/dist/es/AutoSizer.d.ts index 35a9081095..b54fce89e1 100644 --- a/types/react-virtualized/dist/es/AutoSizer.d.ts +++ b/types/react-virtualized/dist/es/AutoSizer.d.ts @@ -1,4 +1,5 @@ -import { PropTypes, PureComponent, Validator, Requireable } from 'react' +import { PureComponent, Validator, Requireable } from 'react' +import * as PropTypes from 'prop-types' export type Dimensions = { height: number, diff --git a/types/react/index.d.ts b/types/react/index.d.ts index 29aef75598..4b123ecd87 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -167,8 +167,6 @@ declare namespace React { // Top Level API // ---------------------------------------------------------------------- - function createClass<P, S>(spec: ComponentSpec<P, S>): ClassicComponentClass<P>; - // DOM Elements function createFactory<T extends HTMLElement>( type: keyof ReactHTML): HTMLFactory<T>; @@ -260,8 +258,6 @@ declare namespace React { function isValidElement<P>(object: {}): object is ReactElement<P>; - const DOM: ReactDOM; - const PropTypes: ReactPropTypes; const Children: ReactChildren; const version: string; diff --git a/types/react/test/index.ts b/types/react/test/index.ts index 543063041b..b9eea759e7 100644 --- a/types/react/test/index.ts +++ b/types/react/test/index.ts @@ -10,6 +10,9 @@ import * as shallowCompare from "react-addons-shallow-compare"; import * as TestUtils from "react-addons-test-utils"; import * as TransitionGroup from "react-addons-transition-group"; import update = require("react-addons-update"); +import * as createReactClass from "create-react-class"; +import * as PropTypes from "prop-types"; +import * as DOM from "react-dom-factories"; interface Props extends React.Attributes { hello: string; @@ -47,46 +50,18 @@ const container: Element = document.createElement("div"); // Top-Level API // -------------------------------------------------------------------------- -const ClassicComponent: React.ClassicComponentClass<Props> = - React.createClass<Props, State>({ - displayName: "ClassicComponent", - getDefaultProps() { - return { - hello: "hello", - world: "peace", - foo: 0, - }; - }, - getInitialState() { - return { - inputValue: this.context.someValue, - seconds: this.props.foo - }; - }, - reset() { - this.replaceState(this.getInitialState()); - }, - render() { - return React.DOM.div(null, - React.DOM.input({ - ref: input => this._input = input, - value: this.state.inputValue - })); - } - }); - class ModernComponent extends React.Component<Props, State> implements MyComponent, React.ChildContextProvider<ChildContext> { static propTypes: React.ValidationMap<Props> = { - foo: React.PropTypes.number + foo: PropTypes.number }; static contextTypes: React.ValidationMap<Context> = { - someValue: React.PropTypes.string + someValue: PropTypes.string }; static childContextTypes: React.ValidationMap<ChildContext> = { - someOtherValue: React.PropTypes.string + someOtherValue: PropTypes.string }; context: Context; @@ -114,12 +89,12 @@ class ModernComponent extends React.Component<Props, State> private _input: HTMLInputElement | null; render() { - return React.DOM.div(null, - React.DOM.input({ + return DOM.div(null, + DOM.input({ ref: input => this._input = input, value: this.state.inputValue }), - React.DOM.input({ + DOM.input({ onChange: event => console.log(event.target) })); } @@ -131,8 +106,8 @@ class ModernComponent extends React.Component<Props, State> class ModernComponentArrayRender extends React.Component<Props> { render() { - return [React.DOM.h1({ key: "1" }, "1"), - React.DOM.h1({ key: "2" }, "2")]; + return [DOM.h1({ key: "1" }, "1"), + DOM.h1({ key: "2" }, "2")]; } } @@ -144,7 +119,7 @@ interface SCProps { } function StatelessComponent(props: SCProps) { - return props.foo ? React.DOM.div(null, props.foo) : null; + return props.foo ? DOM.div(null, props.foo) : null; } // tslint:disable-next-line:no-namespace @@ -155,7 +130,7 @@ namespace StatelessComponent { const StatelessComponent2: React.SFC<SCProps> = // props is contextually typed - props => React.DOM.div(null, props.foo); + props => DOM.div(null, props.foo); StatelessComponent2.displayName = "StatelessComponent2"; StatelessComponent2.defaultProps = { foo: 42 @@ -164,7 +139,7 @@ StatelessComponent2.defaultProps = { const StatelessComponent3: React.SFC<SCProps> = // allows usage of props.children // allows null return - props => props.foo ? React.DOM.div(null, props.foo, props.children) : null; + props => props.foo ? DOM.div(null, props.foo, props.children) : null; // React.createFactory const factory: React.CFactory<Props, ModernComponent> = @@ -177,11 +152,6 @@ const statelessFactory: React.SFCFactory<SCProps> = const statelessFactoryElement: React.SFCElement<SCProps> = statelessFactory(props); -const classicFactory: React.ClassicFactory<Props> = - React.createFactory(ClassicComponent); -const classicFactoryElement: React.ClassicElement<Props> = - classicFactory(props); - const domFactory: React.DOMFactory<React.DOMAttributes<{}>, Element> = React.createFactory("div"); const domFactoryElement: React.DOMElement<React.DOMAttributes<{}>, Element> = @@ -191,7 +161,6 @@ const domFactoryElement: React.DOMElement<React.DOMAttributes<{}>, Element> = const element: React.CElement<Props, ModernComponent> = React.createElement(ModernComponent, props); const elementNoState: React.CElement<Props, ModernComponentNoState> = React.createElement(ModernComponentNoState, props); const statelessElement: React.SFCElement<SCProps> = React.createElement(StatelessComponent, props); -const classicElement: React.ClassicElement<Props> = React.createElement(ClassicComponent, props); const domElement: React.DOMElement<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> = React.createElement("div"); const htmlElement = React.createElement("input", { type: "text" }); const svgElement = React.createElement("svg", { accentHeight: 12 }); @@ -226,8 +195,6 @@ const clonedStatelessElement: React.SFCElement<SCProps> = // known problem: cloning with optional props don't work properly // workaround: cast to actual props type React.cloneElement(statelessElement, { foo: 44 } as SCProps); -const clonedClassicElement: React.ClassicElement<Props> = - React.cloneElement(classicElement, props); // Clone base DOMElement const clonedDOMElement: React.DOMElement<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> = React.cloneElement(domElement, { @@ -251,7 +218,6 @@ const componentNullContainer: ModernComponent = ReactDOM.render(element, null); const componentElementOrNull: ModernComponent = ReactDOM.render(element, document.getElementById("anelement")); const componentNoState: ModernComponentNoState = ReactDOM.render(elementNoState, container); const componentNoStateElementOrNull: ModernComponentNoState = ReactDOM.render(elementNoState, document.getElementById("anelement")); -const classicComponent: React.ClassicComponent<Props> = ReactDOM.render(classicElement, container); const domComponent: Element = ReactDOM.render(domElement, container); // Other Top-Level API @@ -271,14 +237,6 @@ const type: React.ComponentClass<Props> = element.type; const elementProps: Props = element.props; const key = element.key; -// -// React Components -// -------------------------------------------------------------------------- - -const displayName: string | undefined = ClassicComponent.displayName; -const defaultProps: Props = ClassicComponent.getDefaultProps ? ClassicComponent.getDefaultProps() : {} as Props; -const propTypes: React.ValidationMap<Props> | undefined = ClassicComponent.propTypes; - // // Component API // -------------------------------------------------------------------------- @@ -288,10 +246,6 @@ const componentState: State = component.state; component.setState({ inputValue: "!!!" }); component.forceUpdate(); -// classic -const isMounted: boolean = classicComponent.isMounted(); -classicComponent.replaceState({ inputValue: "???", seconds: 60 }); - const myComponent = component as MyComponent; myComponent.reset(); @@ -315,18 +269,18 @@ RefComponent.create({ ref: c => componentRef = c }); componentRef.refMethod(); let domNodeRef: Element | null; -React.DOM.div({ ref: "domRef" }); +DOM.div({ ref: "domRef" }); // type of node should be inferred -React.DOM.div({ ref: node => domNodeRef = node }); +DOM.div({ ref: node => domNodeRef = node }); let inputNodeRef: HTMLInputElement | null; -React.DOM.input({ ref: node => inputNodeRef = node as HTMLInputElement }); +DOM.input({ ref: node => inputNodeRef = node as HTMLInputElement }); // // Attributes // -------------------------------------------------------------------------- -const children: any[] = ["Hello world", [null], React.DOM.span(null)]; +const children: any[] = ["Hello world", [null], DOM.span(null)]; const divStyle: React.CSSProperties = { // CSSProperties flex: "1 1 main-size", backgroundImage: "url('hello.png')" @@ -353,15 +307,15 @@ const htmlAttr: React.HTMLProps<HTMLElement> = { __html: "<strong>STRONG</strong>" } }; -React.DOM.div(htmlAttr); -React.DOM.span(htmlAttr); -React.DOM.input(htmlAttr); +DOM.div(htmlAttr); +DOM.span(htmlAttr); +DOM.input(htmlAttr); -React.DOM.svg({ +DOM.svg({ viewBox: "0 0 48 48", xmlns: "http://www.w3.org/2000/svg" }, - React.DOM.rect({ + DOM.rect({ className: 'foobar', id: 'foo', color: 'black', @@ -372,7 +326,7 @@ React.DOM.svg({ strokeDasharray: '30%', strokeDashoffset: '20%' }), - React.DOM.rect({ + DOM.rect({ x: 10, y: 22, width: 28, @@ -380,7 +334,7 @@ React.DOM.svg({ strokeDasharray: 30, strokeDashoffset: 20 }), - React.DOM.path({ + DOM.path({ d: "M0,0V3H3V0ZM1,1V2H2V1Z", fill: "#999999", fillRule: "evenodd" @@ -388,34 +342,34 @@ React.DOM.svg({ ); // -// React.PropTypes +// PropTypes // -------------------------------------------------------------------------- const PropTypesSpecification: React.ComponentSpec<any, any> = { propTypes: { - optionalArray: React.PropTypes.array, - optionalBool: React.PropTypes.bool, - optionalFunc: React.PropTypes.func, - optionalNumber: React.PropTypes.number, - optionalObject: React.PropTypes.object, - optionalString: React.PropTypes.string, - optionalNode: React.PropTypes.node, - optionalElement: React.PropTypes.element, - optionalMessage: React.PropTypes.instanceOf(Date), - optionalEnum: React.PropTypes.oneOf(["News", "Photos"]), - optionalUnion: React.PropTypes.oneOfType([ - React.PropTypes.string, - React.PropTypes.number, - React.PropTypes.instanceOf(Date) + optionalArray: PropTypes.array, + optionalBool: PropTypes.bool, + optionalFunc: PropTypes.func, + optionalNumber: PropTypes.number, + optionalObject: PropTypes.object, + optionalString: PropTypes.string, + optionalNode: PropTypes.node, + optionalElement: PropTypes.element, + optionalMessage: PropTypes.instanceOf(Date), + optionalEnum: PropTypes.oneOf(["News", "Photos"]), + optionalUnion: PropTypes.oneOfType([ + PropTypes.string, + PropTypes.number, + PropTypes.instanceOf(Date) ]), - optionalArrayOf: React.PropTypes.arrayOf(React.PropTypes.number), - optionalObjectOf: React.PropTypes.objectOf(React.PropTypes.number), - optionalObjectWithShape: React.PropTypes.shape({ - color: React.PropTypes.string, - fontSize: React.PropTypes.number + optionalArrayOf: PropTypes.arrayOf(PropTypes.number), + optionalObjectOf: PropTypes.objectOf(PropTypes.number), + optionalObjectWithShape: PropTypes.shape({ + color: PropTypes.string, + fontSize: PropTypes.number }), - requiredFunc: React.PropTypes.func.isRequired, - requiredAny: React.PropTypes.any.isRequired, + requiredFunc: PropTypes.func.isRequired, + requiredAny: PropTypes.any.isRequired, customProp(props: any, propName: string, componentName: string): Error | null { if (!/matchme/.test(props[propName])) { return new Error("Validation failed!"); @@ -424,7 +378,7 @@ const PropTypesSpecification: React.ComponentSpec<any, any> = { }, // https://facebook.github.io/react/warnings/dont-call-proptypes.html#fixing-the-false-positive-in-third-party-proptypes percentage: (object: any, key: string, componentName: string, ...rest: any[]): Error | null => { - const error = React.PropTypes.number(object, key, componentName, ...rest); + const error = PropTypes.number(object, key, componentName, ...rest); if (error) { return error; } @@ -445,29 +399,29 @@ const PropTypesSpecification: React.ComponentSpec<any, any> = { const ContextTypesSpecification: React.ComponentSpec<any, any> = { contextTypes: { - optionalArray: React.PropTypes.array, - optionalBool: React.PropTypes.bool, - optionalFunc: React.PropTypes.func, - optionalNumber: React.PropTypes.number, - optionalObject: React.PropTypes.object, - optionalString: React.PropTypes.string, - optionalNode: React.PropTypes.node, - optionalElement: React.PropTypes.element, - optionalMessage: React.PropTypes.instanceOf(Date), - optionalEnum: React.PropTypes.oneOf(["News", "Photos"]), - optionalUnion: React.PropTypes.oneOfType([ - React.PropTypes.string, - React.PropTypes.number, - React.PropTypes.instanceOf(Date) + optionalArray: PropTypes.array, + optionalBool: PropTypes.bool, + optionalFunc: PropTypes.func, + optionalNumber: PropTypes.number, + optionalObject: PropTypes.object, + optionalString: PropTypes.string, + optionalNode: PropTypes.node, + optionalElement: PropTypes.element, + optionalMessage: PropTypes.instanceOf(Date), + optionalEnum: PropTypes.oneOf(["News", "Photos"]), + optionalUnion: PropTypes.oneOfType([ + PropTypes.string, + PropTypes.number, + PropTypes.instanceOf(Date) ]), - optionalArrayOf: React.PropTypes.arrayOf(React.PropTypes.number), - optionalObjectOf: React.PropTypes.objectOf(React.PropTypes.number), - optionalObjectWithShape: React.PropTypes.shape({ - color: React.PropTypes.string, - fontSize: React.PropTypes.number + optionalArrayOf: PropTypes.arrayOf(PropTypes.number), + optionalObjectOf: PropTypes.objectOf(PropTypes.number), + optionalObjectWithShape: PropTypes.shape({ + color: PropTypes.string, + fontSize: PropTypes.number }), - requiredFunc: React.PropTypes.func.isRequired, - requiredAny: React.PropTypes.any.isRequired, + requiredFunc: PropTypes.func.isRequired, + requiredAny: PropTypes.any.isRequired, customProp(props: any, propName: string, componentName: string): Error | null { if (!/matchme/.test(props[propName])) { return new Error("Validation failed!"); @@ -488,7 +442,7 @@ const mappedChildrenArray: number[] = React.Children.map<number>(children, (child) => 42); React.Children.forEach(children, (child) => { }); const nChildren: number = React.Children.count(children); -let onlyChild: React.ReactElement<any> = React.Children.only(React.DOM.div()); // ok +let onlyChild: React.ReactElement<any> = React.Children.only(DOM.div()); // ok onlyChild = React.Children.only([null, [[["Hallo"], true]], false]); // error const childrenToArray: React.ReactChild[] = React.Children.toArray(children); @@ -516,7 +470,7 @@ class Timer extends React.Component<{}, TimerState> { clearInterval(this._interval); } render() { - return React.DOM.div( + return DOM.div( null, "Seconds Elapsed: ", this.state.secondsElapsed @@ -529,7 +483,7 @@ ReactDOM.render(React.createElement(Timer), container); // createFragment addon // -------------------------------------------------------------------------- createFragment({ - a: React.DOM.div(), + a: DOM.div(), b: ["a", false, React.createElement("span")] }); @@ -537,7 +491,7 @@ createFragment({ // CSSTransitionGroup addon // -------------------------------------------------------------------------- React.createFactory(CSSTransitionGroup)({ - component: React.createClass({ + component: createReactClass({ render: (): null => null }), childFactory: (c) => c, @@ -563,7 +517,7 @@ React.createFactory(CSSTransitionGroup)({ // // LinkedStateMixin addon // -------------------------------------------------------------------------- -React.createClass({ +createReactClass({ mixins: [LinkedStateMixin], getInitialState() { return { @@ -572,12 +526,12 @@ React.createClass({ }; }, render() { - return React.DOM.div(null, - React.DOM.input({ + return DOM.div(null, + DOM.input({ type: "checkbox", checkedLink: this.linkState("isChecked") }), - React.DOM.input({ + DOM.input({ type: "text", valueLink: this.linkState("message") }) @@ -616,9 +570,9 @@ Perf.printDOM(); // // PureRenderMixin addon // -------------------------------------------------------------------------- -React.createClass({ +createReactClass({ mixins: [PureRenderMixin], - render() { return React.DOM.div(null); } + render() { return DOM.div(null); } }); // @@ -626,7 +580,7 @@ React.createClass({ // -------------------------------------------------------------------------- const inst: ModernComponent = TestUtils.renderIntoDocument<ModernComponent>(element); -const node: Element = TestUtils.renderIntoDocument(React.DOM.div()); +const node: Element = TestUtils.renderIntoDocument(DOM.div()); TestUtils.Simulate.click(node); TestUtils.Simulate.change(node); @@ -698,14 +652,14 @@ class SyntheticEventTargetValue extends React.Component<{}, { value: string }> { this.state = { value: 'a' }; } render() { - return React.DOM.textarea({ + return DOM.textarea({ value: this.state.value, onChange: e => this.setState({ value: e.target.value }) }); } } -React.DOM.input({ +DOM.input({ onChange: event => { // `event.target` is guaranteed to be HTMLInputElement event.target.value; diff --git a/types/redux-form/redux-form-tests.tsx b/types/redux-form/redux-form-tests.tsx index 3648e9b452..dba9b95633 100644 --- a/types/redux-form/redux-form-tests.tsx +++ b/types/redux-form/redux-form-tests.tsx @@ -37,6 +37,8 @@ import libFormValueSelector from "redux-form/lib/formValueSelector"; import libReduxForm from "redux-form/lib/reduxForm"; import libActions from "redux-form/lib/actions"; + // TODO: tests fail in TypeScript@next when strictFunctionTypes=true + /* Decorated components */ interface TestFormData { foo: string; diff --git a/types/redux-form/tsconfig.json b/types/redux-form/tsconfig.json index 2c5cee3acb..f4a4b5a502 100644 --- a/types/redux-form/tsconfig.json +++ b/types/redux-form/tsconfig.json @@ -37,4 +37,4 @@ "lib/selectors.d.ts", "lib/SubmissionError.d.ts" ] -} \ No newline at end of file +} diff --git a/types/redux-form/v4/redux-form-tests.tsx b/types/redux-form/v4/redux-form-tests.tsx index 424c87c609..f8f2923be8 100644 --- a/types/redux-form/v4/redux-form-tests.tsx +++ b/types/redux-form/v4/redux-form-tests.tsx @@ -1,6 +1,7 @@ import * as React from 'react'; -import { Component, PropTypes } from 'react'; +import { Component } from 'react'; +import * as PropTypes from 'prop-types'; import {createStore, combineReducers} from 'redux'; import {reduxForm, reducer as reduxFormReducer, ReduxFormProps} from 'redux-form'; diff --git a/types/redux-form/v6/redux-form-tests.tsx b/types/redux-form/v6/redux-form-tests.tsx index 086e03f319..9609dac965 100644 --- a/types/redux-form/v6/redux-form-tests.tsx +++ b/types/redux-form/v6/redux-form-tests.tsx @@ -3,6 +3,8 @@ import { Component } from 'react'; import { Action } from 'redux'; import { Field, GenericField, reduxForm, WrappedFieldProps, BaseFieldProps, FormProps, FormAction, actionTypes, reducer } from "redux-form"; + // TODO: tests fail in TypeScript@next when strictFunctionTypes=true + interface CustomComponentProps { customProp: string; } @@ -86,7 +88,7 @@ reduxForm({ // adapted from: http://redux-form.com/6.0.0-alpha.4/examples/initializeFromState/ import { connect, DispatchProp } from 'react-redux' -const { DOM: { input } } = React +import { input } from 'react-dom-factories'; interface DataShape { firstName: string; diff --git a/types/redux-form/v6/tsconfig.json b/types/redux-form/v6/tsconfig.json index 51ee26293e..b0b8c098f5 100644 --- a/types/redux-form/v6/tsconfig.json +++ b/types/redux-form/v6/tsconfig.json @@ -31,4 +31,4 @@ "index.d.ts", "redux-form-tests.tsx" ] -} \ No newline at end of file +} From 0532b90f49dd9a1a3b898a6408896b0c16998934 Mon Sep 17 00:00:00 2001 From: Karol Janyst <lapkom@gmail.com> Date: Tue, 17 Oct 2017 08:50:29 +0900 Subject: [PATCH 403/433] Fix exports for files in lib (#20448) * Fix exports for react-icons lib to comply with commonjs * Regenrate lib definitions files * Change lib file template, regenrate files --- types/react-icons/index.d.ts | 1 + types/react-icons/lib/fa/500px.d.ts | 3 +- types/react-icons/lib/fa/adjust.d.ts | 3 +- types/react-icons/lib/fa/adn.d.ts | 3 +- types/react-icons/lib/fa/align-center.d.ts | 3 +- types/react-icons/lib/fa/align-justify.d.ts | 3 +- types/react-icons/lib/fa/align-left.d.ts | 3 +- types/react-icons/lib/fa/align-right.d.ts | 3 +- types/react-icons/lib/fa/amazon.d.ts | 3 +- types/react-icons/lib/fa/ambulance.d.ts | 3 +- .../american-sign-language-interpreting.d.ts | 3 +- types/react-icons/lib/fa/anchor.d.ts | 3 +- types/react-icons/lib/fa/android.d.ts | 3 +- types/react-icons/lib/fa/angellist.d.ts | 3 +- .../react-icons/lib/fa/angle-double-down.d.ts | 3 +- .../react-icons/lib/fa/angle-double-left.d.ts | 3 +- .../lib/fa/angle-double-right.d.ts | 3 +- types/react-icons/lib/fa/angle-double-up.d.ts | 3 +- types/react-icons/lib/fa/angle-down.d.ts | 3 +- types/react-icons/lib/fa/angle-left.d.ts | 3 +- types/react-icons/lib/fa/angle-right.d.ts | 3 +- types/react-icons/lib/fa/angle-up.d.ts | 3 +- types/react-icons/lib/fa/apple.d.ts | 3 +- types/react-icons/lib/fa/archive.d.ts | 3 +- types/react-icons/lib/fa/area-chart.d.ts | 3 +- .../react-icons/lib/fa/arrow-circle-down.d.ts | 3 +- .../react-icons/lib/fa/arrow-circle-left.d.ts | 3 +- .../lib/fa/arrow-circle-o-down.d.ts | 3 +- .../lib/fa/arrow-circle-o-left.d.ts | 3 +- .../lib/fa/arrow-circle-o-right.d.ts | 3 +- .../react-icons/lib/fa/arrow-circle-o-up.d.ts | 3 +- .../lib/fa/arrow-circle-right.d.ts | 3 +- types/react-icons/lib/fa/arrow-circle-up.d.ts | 3 +- types/react-icons/lib/fa/arrow-down.d.ts | 3 +- types/react-icons/lib/fa/arrow-left.d.ts | 3 +- types/react-icons/lib/fa/arrow-right.d.ts | 3 +- types/react-icons/lib/fa/arrow-up.d.ts | 3 +- types/react-icons/lib/fa/arrows-alt.d.ts | 3 +- types/react-icons/lib/fa/arrows-h.d.ts | 3 +- types/react-icons/lib/fa/arrows-v.d.ts | 3 +- types/react-icons/lib/fa/arrows.d.ts | 3 +- .../lib/fa/assistive-listening-systems.d.ts | 3 +- types/react-icons/lib/fa/asterisk.d.ts | 3 +- types/react-icons/lib/fa/at.d.ts | 3 +- .../react-icons/lib/fa/audio-description.d.ts | 3 +- types/react-icons/lib/fa/automobile.d.ts | 3 +- types/react-icons/lib/fa/backward.d.ts | 3 +- types/react-icons/lib/fa/balance-scale.d.ts | 3 +- types/react-icons/lib/fa/ban.d.ts | 3 +- types/react-icons/lib/fa/bank.d.ts | 3 +- types/react-icons/lib/fa/bar-chart.d.ts | 3 +- types/react-icons/lib/fa/barcode.d.ts | 3 +- types/react-icons/lib/fa/bars.d.ts | 3 +- types/react-icons/lib/fa/battery-0.d.ts | 3 +- types/react-icons/lib/fa/battery-1.d.ts | 3 +- types/react-icons/lib/fa/battery-2.d.ts | 3 +- types/react-icons/lib/fa/battery-3.d.ts | 3 +- types/react-icons/lib/fa/battery-4.d.ts | 3 +- types/react-icons/lib/fa/bed.d.ts | 3 +- types/react-icons/lib/fa/beer.d.ts | 3 +- types/react-icons/lib/fa/behance-square.d.ts | 3 +- types/react-icons/lib/fa/behance.d.ts | 3 +- types/react-icons/lib/fa/bell-o.d.ts | 3 +- types/react-icons/lib/fa/bell-slash-o.d.ts | 3 +- types/react-icons/lib/fa/bell-slash.d.ts | 3 +- types/react-icons/lib/fa/bell.d.ts | 3 +- types/react-icons/lib/fa/bicycle.d.ts | 3 +- types/react-icons/lib/fa/binoculars.d.ts | 3 +- types/react-icons/lib/fa/birthday-cake.d.ts | 3 +- .../react-icons/lib/fa/bitbucket-square.d.ts | 3 +- types/react-icons/lib/fa/bitbucket.d.ts | 3 +- types/react-icons/lib/fa/bitcoin.d.ts | 3 +- types/react-icons/lib/fa/black-tie.d.ts | 3 +- types/react-icons/lib/fa/blind.d.ts | 3 +- types/react-icons/lib/fa/bluetooth-b.d.ts | 3 +- types/react-icons/lib/fa/bluetooth.d.ts | 3 +- types/react-icons/lib/fa/bold.d.ts | 3 +- types/react-icons/lib/fa/bolt.d.ts | 3 +- types/react-icons/lib/fa/bomb.d.ts | 3 +- types/react-icons/lib/fa/book.d.ts | 3 +- types/react-icons/lib/fa/bookmark-o.d.ts | 3 +- types/react-icons/lib/fa/bookmark.d.ts | 3 +- types/react-icons/lib/fa/braille.d.ts | 3 +- types/react-icons/lib/fa/briefcase.d.ts | 3 +- types/react-icons/lib/fa/bug.d.ts | 3 +- types/react-icons/lib/fa/building-o.d.ts | 3 +- types/react-icons/lib/fa/building.d.ts | 3 +- types/react-icons/lib/fa/bullhorn.d.ts | 3 +- types/react-icons/lib/fa/bullseye.d.ts | 3 +- types/react-icons/lib/fa/bus.d.ts | 3 +- types/react-icons/lib/fa/buysellads.d.ts | 3 +- types/react-icons/lib/fa/cab.d.ts | 3 +- types/react-icons/lib/fa/calculator.d.ts | 3 +- .../react-icons/lib/fa/calendar-check-o.d.ts | 3 +- .../react-icons/lib/fa/calendar-minus-o.d.ts | 3 +- types/react-icons/lib/fa/calendar-o.d.ts | 3 +- types/react-icons/lib/fa/calendar-plus-o.d.ts | 3 +- .../react-icons/lib/fa/calendar-times-o.d.ts | 3 +- types/react-icons/lib/fa/calendar.d.ts | 3 +- types/react-icons/lib/fa/camera-retro.d.ts | 3 +- types/react-icons/lib/fa/camera.d.ts | 3 +- types/react-icons/lib/fa/caret-down.d.ts | 3 +- types/react-icons/lib/fa/caret-left.d.ts | 3 +- types/react-icons/lib/fa/caret-right.d.ts | 3 +- .../lib/fa/caret-square-o-down.d.ts | 3 +- .../lib/fa/caret-square-o-left.d.ts | 3 +- .../lib/fa/caret-square-o-right.d.ts | 3 +- .../react-icons/lib/fa/caret-square-o-up.d.ts | 3 +- types/react-icons/lib/fa/caret-up.d.ts | 3 +- types/react-icons/lib/fa/cart-arrow-down.d.ts | 3 +- types/react-icons/lib/fa/cart-plus.d.ts | 3 +- types/react-icons/lib/fa/cc-amex.d.ts | 3 +- types/react-icons/lib/fa/cc-diners-club.d.ts | 3 +- types/react-icons/lib/fa/cc-discover.d.ts | 3 +- types/react-icons/lib/fa/cc-jcb.d.ts | 3 +- types/react-icons/lib/fa/cc-mastercard.d.ts | 3 +- types/react-icons/lib/fa/cc-paypal.d.ts | 3 +- types/react-icons/lib/fa/cc-stripe.d.ts | 3 +- types/react-icons/lib/fa/cc-visa.d.ts | 3 +- types/react-icons/lib/fa/cc.d.ts | 3 +- types/react-icons/lib/fa/certificate.d.ts | 3 +- types/react-icons/lib/fa/chain-broken.d.ts | 3 +- types/react-icons/lib/fa/chain.d.ts | 3 +- types/react-icons/lib/fa/check-circle-o.d.ts | 3 +- types/react-icons/lib/fa/check-circle.d.ts | 3 +- types/react-icons/lib/fa/check-square-o.d.ts | 3 +- types/react-icons/lib/fa/check-square.d.ts | 3 +- types/react-icons/lib/fa/check.d.ts | 3 +- .../lib/fa/chevron-circle-down.d.ts | 3 +- .../lib/fa/chevron-circle-left.d.ts | 3 +- .../lib/fa/chevron-circle-right.d.ts | 3 +- .../react-icons/lib/fa/chevron-circle-up.d.ts | 3 +- types/react-icons/lib/fa/chevron-down.d.ts | 3 +- types/react-icons/lib/fa/chevron-left.d.ts | 3 +- types/react-icons/lib/fa/chevron-right.d.ts | 3 +- types/react-icons/lib/fa/chevron-up.d.ts | 3 +- types/react-icons/lib/fa/child.d.ts | 3 +- types/react-icons/lib/fa/chrome.d.ts | 3 +- types/react-icons/lib/fa/circle-o-notch.d.ts | 3 +- types/react-icons/lib/fa/circle-o.d.ts | 3 +- types/react-icons/lib/fa/circle-thin.d.ts | 3 +- types/react-icons/lib/fa/circle.d.ts | 3 +- types/react-icons/lib/fa/clipboard.d.ts | 3 +- types/react-icons/lib/fa/clock-o.d.ts | 3 +- types/react-icons/lib/fa/clone.d.ts | 3 +- types/react-icons/lib/fa/close.d.ts | 3 +- types/react-icons/lib/fa/cloud-download.d.ts | 3 +- types/react-icons/lib/fa/cloud-upload.d.ts | 3 +- types/react-icons/lib/fa/cloud.d.ts | 3 +- types/react-icons/lib/fa/cny.d.ts | 3 +- types/react-icons/lib/fa/code-fork.d.ts | 3 +- types/react-icons/lib/fa/code.d.ts | 3 +- types/react-icons/lib/fa/codepen.d.ts | 3 +- types/react-icons/lib/fa/codiepie.d.ts | 3 +- types/react-icons/lib/fa/coffee.d.ts | 3 +- types/react-icons/lib/fa/cog.d.ts | 3 +- types/react-icons/lib/fa/cogs.d.ts | 3 +- types/react-icons/lib/fa/columns.d.ts | 3 +- types/react-icons/lib/fa/comment-o.d.ts | 3 +- types/react-icons/lib/fa/comment.d.ts | 3 +- types/react-icons/lib/fa/commenting-o.d.ts | 3 +- types/react-icons/lib/fa/commenting.d.ts | 3 +- types/react-icons/lib/fa/comments-o.d.ts | 3 +- types/react-icons/lib/fa/comments.d.ts | 3 +- types/react-icons/lib/fa/compass.d.ts | 3 +- types/react-icons/lib/fa/compress.d.ts | 3 +- types/react-icons/lib/fa/connectdevelop.d.ts | 3 +- types/react-icons/lib/fa/contao.d.ts | 3 +- types/react-icons/lib/fa/copy.d.ts | 3 +- types/react-icons/lib/fa/copyright.d.ts | 3 +- .../react-icons/lib/fa/creative-commons.d.ts | 3 +- types/react-icons/lib/fa/credit-card-alt.d.ts | 3 +- types/react-icons/lib/fa/credit-card.d.ts | 3 +- types/react-icons/lib/fa/crop.d.ts | 3 +- types/react-icons/lib/fa/crosshairs.d.ts | 3 +- types/react-icons/lib/fa/css3.d.ts | 3 +- types/react-icons/lib/fa/cube.d.ts | 3 +- types/react-icons/lib/fa/cubes.d.ts | 3 +- types/react-icons/lib/fa/cut.d.ts | 3 +- types/react-icons/lib/fa/cutlery.d.ts | 3 +- types/react-icons/lib/fa/dashboard.d.ts | 3 +- types/react-icons/lib/fa/dashcube.d.ts | 3 +- types/react-icons/lib/fa/database.d.ts | 3 +- types/react-icons/lib/fa/deaf.d.ts | 3 +- types/react-icons/lib/fa/dedent.d.ts | 3 +- types/react-icons/lib/fa/delicious.d.ts | 3 +- types/react-icons/lib/fa/desktop.d.ts | 3 +- types/react-icons/lib/fa/deviantart.d.ts | 3 +- types/react-icons/lib/fa/diamond.d.ts | 3 +- types/react-icons/lib/fa/digg.d.ts | 3 +- types/react-icons/lib/fa/dollar.d.ts | 3 +- types/react-icons/lib/fa/dot-circle-o.d.ts | 3 +- types/react-icons/lib/fa/download.d.ts | 3 +- types/react-icons/lib/fa/dribbble.d.ts | 3 +- types/react-icons/lib/fa/dropbox.d.ts | 3 +- types/react-icons/lib/fa/drupal.d.ts | 3 +- types/react-icons/lib/fa/edge.d.ts | 3 +- types/react-icons/lib/fa/edit.d.ts | 3 +- types/react-icons/lib/fa/eject.d.ts | 3 +- types/react-icons/lib/fa/ellipsis-h.d.ts | 3 +- types/react-icons/lib/fa/ellipsis-v.d.ts | 3 +- types/react-icons/lib/fa/empire.d.ts | 3 +- types/react-icons/lib/fa/envelope-o.d.ts | 3 +- types/react-icons/lib/fa/envelope-square.d.ts | 3 +- types/react-icons/lib/fa/envelope.d.ts | 3 +- types/react-icons/lib/fa/envira.d.ts | 3 +- types/react-icons/lib/fa/eraser.d.ts | 3 +- types/react-icons/lib/fa/eur.d.ts | 3 +- types/react-icons/lib/fa/exchange.d.ts | 3 +- .../lib/fa/exclamation-circle.d.ts | 3 +- .../lib/fa/exclamation-triangle.d.ts | 3 +- types/react-icons/lib/fa/exclamation.d.ts | 3 +- types/react-icons/lib/fa/expand.d.ts | 3 +- types/react-icons/lib/fa/expeditedssl.d.ts | 3 +- .../lib/fa/external-link-square.d.ts | 3 +- types/react-icons/lib/fa/external-link.d.ts | 3 +- types/react-icons/lib/fa/eye-slash.d.ts | 3 +- types/react-icons/lib/fa/eye.d.ts | 3 +- types/react-icons/lib/fa/eyedropper.d.ts | 3 +- .../react-icons/lib/fa/facebook-official.d.ts | 3 +- types/react-icons/lib/fa/facebook-square.d.ts | 3 +- types/react-icons/lib/fa/facebook.d.ts | 3 +- types/react-icons/lib/fa/fast-backward.d.ts | 3 +- types/react-icons/lib/fa/fast-forward.d.ts | 3 +- types/react-icons/lib/fa/fax.d.ts | 3 +- types/react-icons/lib/fa/feed.d.ts | 3 +- types/react-icons/lib/fa/female.d.ts | 3 +- types/react-icons/lib/fa/fighter-jet.d.ts | 3 +- types/react-icons/lib/fa/file-archive-o.d.ts | 3 +- types/react-icons/lib/fa/file-audio-o.d.ts | 3 +- types/react-icons/lib/fa/file-code-o.d.ts | 3 +- types/react-icons/lib/fa/file-excel-o.d.ts | 3 +- types/react-icons/lib/fa/file-image-o.d.ts | 3 +- types/react-icons/lib/fa/file-movie-o.d.ts | 3 +- types/react-icons/lib/fa/file-o.d.ts | 3 +- types/react-icons/lib/fa/file-pdf-o.d.ts | 3 +- .../react-icons/lib/fa/file-powerpoint-o.d.ts | 3 +- types/react-icons/lib/fa/file-text-o.d.ts | 3 +- types/react-icons/lib/fa/file-text.d.ts | 3 +- types/react-icons/lib/fa/file-word-o.d.ts | 3 +- types/react-icons/lib/fa/file.d.ts | 3 +- types/react-icons/lib/fa/film.d.ts | 3 +- types/react-icons/lib/fa/filter.d.ts | 3 +- .../react-icons/lib/fa/fire-extinguisher.d.ts | 3 +- types/react-icons/lib/fa/fire.d.ts | 3 +- types/react-icons/lib/fa/firefox.d.ts | 3 +- types/react-icons/lib/fa/flag-checkered.d.ts | 3 +- types/react-icons/lib/fa/flag-o.d.ts | 3 +- types/react-icons/lib/fa/flag.d.ts | 3 +- types/react-icons/lib/fa/flask.d.ts | 3 +- types/react-icons/lib/fa/flickr.d.ts | 3 +- types/react-icons/lib/fa/floppy-o.d.ts | 3 +- types/react-icons/lib/fa/folder-o.d.ts | 3 +- types/react-icons/lib/fa/folder-open-o.d.ts | 3 +- types/react-icons/lib/fa/folder-open.d.ts | 3 +- types/react-icons/lib/fa/folder.d.ts | 3 +- types/react-icons/lib/fa/font.d.ts | 3 +- types/react-icons/lib/fa/fonticons.d.ts | 3 +- types/react-icons/lib/fa/fort-awesome.d.ts | 3 +- types/react-icons/lib/fa/forumbee.d.ts | 3 +- types/react-icons/lib/fa/forward.d.ts | 3 +- types/react-icons/lib/fa/foursquare.d.ts | 3 +- types/react-icons/lib/fa/frown-o.d.ts | 3 +- types/react-icons/lib/fa/futbol-o.d.ts | 3 +- types/react-icons/lib/fa/gamepad.d.ts | 3 +- types/react-icons/lib/fa/gavel.d.ts | 3 +- types/react-icons/lib/fa/gbp.d.ts | 3 +- types/react-icons/lib/fa/genderless.d.ts | 3 +- types/react-icons/lib/fa/get-pocket.d.ts | 3 +- types/react-icons/lib/fa/gg-circle.d.ts | 3 +- types/react-icons/lib/fa/gg.d.ts | 3 +- types/react-icons/lib/fa/gift.d.ts | 3 +- types/react-icons/lib/fa/git-square.d.ts | 3 +- types/react-icons/lib/fa/git.d.ts | 3 +- types/react-icons/lib/fa/github-alt.d.ts | 3 +- types/react-icons/lib/fa/github-square.d.ts | 3 +- types/react-icons/lib/fa/github.d.ts | 3 +- types/react-icons/lib/fa/gitlab.d.ts | 3 +- types/react-icons/lib/fa/gittip.d.ts | 3 +- types/react-icons/lib/fa/glass.d.ts | 3 +- types/react-icons/lib/fa/glide-g.d.ts | 3 +- types/react-icons/lib/fa/glide.d.ts | 3 +- types/react-icons/lib/fa/globe.d.ts | 3 +- .../lib/fa/google-plus-square.d.ts | 3 +- types/react-icons/lib/fa/google-plus.d.ts | 3 +- types/react-icons/lib/fa/google-wallet.d.ts | 3 +- types/react-icons/lib/fa/google.d.ts | 3 +- types/react-icons/lib/fa/graduation-cap.d.ts | 3 +- types/react-icons/lib/fa/group.d.ts | 3 +- types/react-icons/lib/fa/h-square.d.ts | 3 +- types/react-icons/lib/fa/hacker-news.d.ts | 3 +- types/react-icons/lib/fa/hand-grab-o.d.ts | 3 +- types/react-icons/lib/fa/hand-lizard-o.d.ts | 3 +- types/react-icons/lib/fa/hand-o-down.d.ts | 3 +- types/react-icons/lib/fa/hand-o-left.d.ts | 3 +- types/react-icons/lib/fa/hand-o-right.d.ts | 3 +- types/react-icons/lib/fa/hand-o-up.d.ts | 3 +- types/react-icons/lib/fa/hand-paper-o.d.ts | 3 +- types/react-icons/lib/fa/hand-peace-o.d.ts | 3 +- types/react-icons/lib/fa/hand-pointer-o.d.ts | 3 +- types/react-icons/lib/fa/hand-scissors-o.d.ts | 3 +- types/react-icons/lib/fa/hand-spock-o.d.ts | 3 +- types/react-icons/lib/fa/hashtag.d.ts | 3 +- types/react-icons/lib/fa/hdd-o.d.ts | 3 +- types/react-icons/lib/fa/header.d.ts | 3 +- types/react-icons/lib/fa/headphones.d.ts | 3 +- types/react-icons/lib/fa/heart-o.d.ts | 3 +- types/react-icons/lib/fa/heart.d.ts | 3 +- types/react-icons/lib/fa/heartbeat.d.ts | 3 +- types/react-icons/lib/fa/history.d.ts | 3 +- types/react-icons/lib/fa/home.d.ts | 3 +- types/react-icons/lib/fa/hospital-o.d.ts | 3 +- types/react-icons/lib/fa/hourglass-1.d.ts | 3 +- types/react-icons/lib/fa/hourglass-2.d.ts | 3 +- types/react-icons/lib/fa/hourglass-3.d.ts | 3 +- types/react-icons/lib/fa/hourglass-o.d.ts | 3 +- types/react-icons/lib/fa/hourglass.d.ts | 3 +- types/react-icons/lib/fa/houzz.d.ts | 3 +- types/react-icons/lib/fa/html5.d.ts | 3 +- types/react-icons/lib/fa/i-cursor.d.ts | 3 +- types/react-icons/lib/fa/ils.d.ts | 3 +- types/react-icons/lib/fa/image.d.ts | 3 +- types/react-icons/lib/fa/inbox.d.ts | 3 +- types/react-icons/lib/fa/indent.d.ts | 3 +- types/react-icons/lib/fa/index.d.ts | 1256 +++++------ types/react-icons/lib/fa/industry.d.ts | 3 +- types/react-icons/lib/fa/info-circle.d.ts | 3 +- types/react-icons/lib/fa/info.d.ts | 3 +- types/react-icons/lib/fa/inr.d.ts | 3 +- types/react-icons/lib/fa/instagram.d.ts | 3 +- .../react-icons/lib/fa/internet-explorer.d.ts | 3 +- types/react-icons/lib/fa/intersex.d.ts | 3 +- types/react-icons/lib/fa/ioxhost.d.ts | 3 +- types/react-icons/lib/fa/italic.d.ts | 3 +- types/react-icons/lib/fa/joomla.d.ts | 3 +- types/react-icons/lib/fa/jsfiddle.d.ts | 3 +- types/react-icons/lib/fa/key.d.ts | 3 +- types/react-icons/lib/fa/keyboard-o.d.ts | 3 +- types/react-icons/lib/fa/krw.d.ts | 3 +- types/react-icons/lib/fa/language.d.ts | 3 +- types/react-icons/lib/fa/laptop.d.ts | 3 +- types/react-icons/lib/fa/lastfm-square.d.ts | 3 +- types/react-icons/lib/fa/lastfm.d.ts | 3 +- types/react-icons/lib/fa/leaf.d.ts | 3 +- types/react-icons/lib/fa/leanpub.d.ts | 3 +- types/react-icons/lib/fa/lemon-o.d.ts | 3 +- types/react-icons/lib/fa/level-down.d.ts | 3 +- types/react-icons/lib/fa/level-up.d.ts | 3 +- types/react-icons/lib/fa/life-bouy.d.ts | 3 +- types/react-icons/lib/fa/lightbulb-o.d.ts | 3 +- types/react-icons/lib/fa/line-chart.d.ts | 3 +- types/react-icons/lib/fa/linkedin-square.d.ts | 3 +- types/react-icons/lib/fa/linkedin.d.ts | 3 +- types/react-icons/lib/fa/linux.d.ts | 3 +- types/react-icons/lib/fa/list-alt.d.ts | 3 +- types/react-icons/lib/fa/list-ol.d.ts | 3 +- types/react-icons/lib/fa/list-ul.d.ts | 3 +- types/react-icons/lib/fa/list.d.ts | 3 +- types/react-icons/lib/fa/location-arrow.d.ts | 3 +- types/react-icons/lib/fa/lock.d.ts | 3 +- types/react-icons/lib/fa/long-arrow-down.d.ts | 3 +- types/react-icons/lib/fa/long-arrow-left.d.ts | 3 +- .../react-icons/lib/fa/long-arrow-right.d.ts | 3 +- types/react-icons/lib/fa/long-arrow-up.d.ts | 3 +- types/react-icons/lib/fa/low-vision.d.ts | 3 +- types/react-icons/lib/fa/magic.d.ts | 3 +- types/react-icons/lib/fa/magnet.d.ts | 3 +- types/react-icons/lib/fa/mail-forward.d.ts | 3 +- types/react-icons/lib/fa/mail-reply-all.d.ts | 3 +- types/react-icons/lib/fa/mail-reply.d.ts | 3 +- types/react-icons/lib/fa/male.d.ts | 3 +- types/react-icons/lib/fa/map-marker.d.ts | 3 +- types/react-icons/lib/fa/map-o.d.ts | 3 +- types/react-icons/lib/fa/map-pin.d.ts | 3 +- types/react-icons/lib/fa/map-signs.d.ts | 3 +- types/react-icons/lib/fa/map.d.ts | 3 +- types/react-icons/lib/fa/mars-double.d.ts | 3 +- types/react-icons/lib/fa/mars-stroke-h.d.ts | 3 +- types/react-icons/lib/fa/mars-stroke-v.d.ts | 3 +- types/react-icons/lib/fa/mars-stroke.d.ts | 3 +- types/react-icons/lib/fa/mars.d.ts | 3 +- types/react-icons/lib/fa/maxcdn.d.ts | 3 +- types/react-icons/lib/fa/meanpath.d.ts | 3 +- types/react-icons/lib/fa/medium.d.ts | 3 +- types/react-icons/lib/fa/medkit.d.ts | 3 +- types/react-icons/lib/fa/meh-o.d.ts | 3 +- types/react-icons/lib/fa/mercury.d.ts | 3 +- .../react-icons/lib/fa/microphone-slash.d.ts | 3 +- types/react-icons/lib/fa/microphone.d.ts | 3 +- types/react-icons/lib/fa/minus-circle.d.ts | 3 +- types/react-icons/lib/fa/minus-square-o.d.ts | 3 +- types/react-icons/lib/fa/minus-square.d.ts | 3 +- types/react-icons/lib/fa/minus.d.ts | 3 +- types/react-icons/lib/fa/mixcloud.d.ts | 3 +- types/react-icons/lib/fa/mobile.d.ts | 3 +- types/react-icons/lib/fa/modx.d.ts | 3 +- types/react-icons/lib/fa/money.d.ts | 3 +- types/react-icons/lib/fa/moon-o.d.ts | 3 +- types/react-icons/lib/fa/motorcycle.d.ts | 3 +- types/react-icons/lib/fa/mouse-pointer.d.ts | 3 +- types/react-icons/lib/fa/music.d.ts | 3 +- types/react-icons/lib/fa/neuter.d.ts | 3 +- types/react-icons/lib/fa/newspaper-o.d.ts | 3 +- types/react-icons/lib/fa/object-group.d.ts | 3 +- types/react-icons/lib/fa/object-ungroup.d.ts | 3 +- .../lib/fa/odnoklassniki-square.d.ts | 3 +- types/react-icons/lib/fa/odnoklassniki.d.ts | 3 +- types/react-icons/lib/fa/opencart.d.ts | 3 +- types/react-icons/lib/fa/openid.d.ts | 3 +- types/react-icons/lib/fa/opera.d.ts | 3 +- types/react-icons/lib/fa/optin-monster.d.ts | 3 +- types/react-icons/lib/fa/pagelines.d.ts | 3 +- types/react-icons/lib/fa/paint-brush.d.ts | 3 +- types/react-icons/lib/fa/paper-plane-o.d.ts | 3 +- types/react-icons/lib/fa/paper-plane.d.ts | 3 +- types/react-icons/lib/fa/paperclip.d.ts | 3 +- types/react-icons/lib/fa/paragraph.d.ts | 3 +- types/react-icons/lib/fa/pause-circle-o.d.ts | 3 +- types/react-icons/lib/fa/pause-circle.d.ts | 3 +- types/react-icons/lib/fa/pause.d.ts | 3 +- types/react-icons/lib/fa/paw.d.ts | 3 +- types/react-icons/lib/fa/paypal.d.ts | 3 +- types/react-icons/lib/fa/pencil-square.d.ts | 3 +- types/react-icons/lib/fa/pencil.d.ts | 3 +- types/react-icons/lib/fa/percent.d.ts | 3 +- types/react-icons/lib/fa/phone-square.d.ts | 3 +- types/react-icons/lib/fa/phone.d.ts | 3 +- types/react-icons/lib/fa/pie-chart.d.ts | 3 +- types/react-icons/lib/fa/pied-piper-alt.d.ts | 3 +- types/react-icons/lib/fa/pied-piper.d.ts | 3 +- types/react-icons/lib/fa/pinterest-p.d.ts | 3 +- .../react-icons/lib/fa/pinterest-square.d.ts | 3 +- types/react-icons/lib/fa/pinterest.d.ts | 3 +- types/react-icons/lib/fa/plane.d.ts | 3 +- types/react-icons/lib/fa/play-circle-o.d.ts | 3 +- types/react-icons/lib/fa/play-circle.d.ts | 3 +- types/react-icons/lib/fa/play.d.ts | 3 +- types/react-icons/lib/fa/plug.d.ts | 3 +- types/react-icons/lib/fa/plus-circle.d.ts | 3 +- types/react-icons/lib/fa/plus-square-o.d.ts | 3 +- types/react-icons/lib/fa/plus-square.d.ts | 3 +- types/react-icons/lib/fa/plus.d.ts | 3 +- types/react-icons/lib/fa/power-off.d.ts | 3 +- types/react-icons/lib/fa/print.d.ts | 3 +- types/react-icons/lib/fa/product-hunt.d.ts | 3 +- types/react-icons/lib/fa/puzzle-piece.d.ts | 3 +- types/react-icons/lib/fa/qq.d.ts | 3 +- types/react-icons/lib/fa/qrcode.d.ts | 3 +- .../react-icons/lib/fa/question-circle-o.d.ts | 3 +- types/react-icons/lib/fa/question-circle.d.ts | 3 +- types/react-icons/lib/fa/question.d.ts | 3 +- types/react-icons/lib/fa/quote-left.d.ts | 3 +- types/react-icons/lib/fa/quote-right.d.ts | 3 +- types/react-icons/lib/fa/ra.d.ts | 3 +- types/react-icons/lib/fa/random.d.ts | 3 +- types/react-icons/lib/fa/recycle.d.ts | 3 +- types/react-icons/lib/fa/reddit-alien.d.ts | 3 +- types/react-icons/lib/fa/reddit-square.d.ts | 3 +- types/react-icons/lib/fa/reddit.d.ts | 3 +- types/react-icons/lib/fa/refresh.d.ts | 3 +- types/react-icons/lib/fa/registered.d.ts | 3 +- types/react-icons/lib/fa/renren.d.ts | 3 +- types/react-icons/lib/fa/repeat.d.ts | 3 +- types/react-icons/lib/fa/retweet.d.ts | 3 +- types/react-icons/lib/fa/road.d.ts | 3 +- types/react-icons/lib/fa/rocket.d.ts | 3 +- types/react-icons/lib/fa/rotate-left.d.ts | 3 +- types/react-icons/lib/fa/rouble.d.ts | 3 +- types/react-icons/lib/fa/rss-square.d.ts | 3 +- types/react-icons/lib/fa/safari.d.ts | 3 +- types/react-icons/lib/fa/scribd.d.ts | 3 +- types/react-icons/lib/fa/search-minus.d.ts | 3 +- types/react-icons/lib/fa/search-plus.d.ts | 3 +- types/react-icons/lib/fa/search.d.ts | 3 +- types/react-icons/lib/fa/sellsy.d.ts | 3 +- types/react-icons/lib/fa/server.d.ts | 3 +- .../react-icons/lib/fa/share-alt-square.d.ts | 3 +- types/react-icons/lib/fa/share-alt.d.ts | 3 +- types/react-icons/lib/fa/share-square-o.d.ts | 3 +- types/react-icons/lib/fa/share-square.d.ts | 3 +- types/react-icons/lib/fa/shield.d.ts | 3 +- types/react-icons/lib/fa/ship.d.ts | 3 +- types/react-icons/lib/fa/shirtsinbulk.d.ts | 3 +- types/react-icons/lib/fa/shopping-bag.d.ts | 3 +- types/react-icons/lib/fa/shopping-basket.d.ts | 3 +- types/react-icons/lib/fa/shopping-cart.d.ts | 3 +- types/react-icons/lib/fa/sign-in.d.ts | 3 +- types/react-icons/lib/fa/sign-language.d.ts | 3 +- types/react-icons/lib/fa/sign-out.d.ts | 3 +- types/react-icons/lib/fa/signal.d.ts | 3 +- types/react-icons/lib/fa/simplybuilt.d.ts | 3 +- types/react-icons/lib/fa/sitemap.d.ts | 3 +- types/react-icons/lib/fa/skyatlas.d.ts | 3 +- types/react-icons/lib/fa/skype.d.ts | 3 +- types/react-icons/lib/fa/slack.d.ts | 3 +- types/react-icons/lib/fa/sliders.d.ts | 3 +- types/react-icons/lib/fa/slideshare.d.ts | 3 +- types/react-icons/lib/fa/smile-o.d.ts | 3 +- types/react-icons/lib/fa/snapchat-ghost.d.ts | 3 +- types/react-icons/lib/fa/snapchat-square.d.ts | 3 +- types/react-icons/lib/fa/snapchat.d.ts | 3 +- types/react-icons/lib/fa/sort-alpha-asc.d.ts | 3 +- types/react-icons/lib/fa/sort-alpha-desc.d.ts | 3 +- types/react-icons/lib/fa/sort-amount-asc.d.ts | 3 +- .../react-icons/lib/fa/sort-amount-desc.d.ts | 3 +- types/react-icons/lib/fa/sort-asc.d.ts | 3 +- types/react-icons/lib/fa/sort-desc.d.ts | 3 +- .../react-icons/lib/fa/sort-numeric-asc.d.ts | 3 +- .../react-icons/lib/fa/sort-numeric-desc.d.ts | 3 +- types/react-icons/lib/fa/sort.d.ts | 3 +- types/react-icons/lib/fa/soundcloud.d.ts | 3 +- types/react-icons/lib/fa/space-shuttle.d.ts | 3 +- types/react-icons/lib/fa/spinner.d.ts | 3 +- types/react-icons/lib/fa/spoon.d.ts | 3 +- types/react-icons/lib/fa/spotify.d.ts | 3 +- types/react-icons/lib/fa/square-o.d.ts | 3 +- types/react-icons/lib/fa/square.d.ts | 3 +- types/react-icons/lib/fa/stack-exchange.d.ts | 3 +- types/react-icons/lib/fa/stack-overflow.d.ts | 3 +- types/react-icons/lib/fa/star-half-empty.d.ts | 3 +- types/react-icons/lib/fa/star-half.d.ts | 3 +- types/react-icons/lib/fa/star-o.d.ts | 3 +- types/react-icons/lib/fa/star.d.ts | 3 +- types/react-icons/lib/fa/steam-square.d.ts | 3 +- types/react-icons/lib/fa/steam.d.ts | 3 +- types/react-icons/lib/fa/step-backward.d.ts | 3 +- types/react-icons/lib/fa/step-forward.d.ts | 3 +- types/react-icons/lib/fa/stethoscope.d.ts | 3 +- types/react-icons/lib/fa/sticky-note-o.d.ts | 3 +- types/react-icons/lib/fa/sticky-note.d.ts | 3 +- types/react-icons/lib/fa/stop-circle-o.d.ts | 3 +- types/react-icons/lib/fa/stop-circle.d.ts | 3 +- types/react-icons/lib/fa/stop.d.ts | 3 +- types/react-icons/lib/fa/street-view.d.ts | 3 +- types/react-icons/lib/fa/strikethrough.d.ts | 3 +- .../lib/fa/stumbleupon-circle.d.ts | 3 +- types/react-icons/lib/fa/stumbleupon.d.ts | 3 +- types/react-icons/lib/fa/subscript.d.ts | 3 +- types/react-icons/lib/fa/subway.d.ts | 3 +- types/react-icons/lib/fa/suitcase.d.ts | 3 +- types/react-icons/lib/fa/sun-o.d.ts | 3 +- types/react-icons/lib/fa/superscript.d.ts | 3 +- types/react-icons/lib/fa/table.d.ts | 3 +- types/react-icons/lib/fa/tablet.d.ts | 3 +- types/react-icons/lib/fa/tag.d.ts | 3 +- types/react-icons/lib/fa/tags.d.ts | 3 +- types/react-icons/lib/fa/tasks.d.ts | 3 +- types/react-icons/lib/fa/television.d.ts | 3 +- types/react-icons/lib/fa/tencent-weibo.d.ts | 3 +- types/react-icons/lib/fa/terminal.d.ts | 3 +- types/react-icons/lib/fa/text-height.d.ts | 3 +- types/react-icons/lib/fa/text-width.d.ts | 3 +- types/react-icons/lib/fa/th-large.d.ts | 3 +- types/react-icons/lib/fa/th-list.d.ts | 3 +- types/react-icons/lib/fa/th.d.ts | 3 +- types/react-icons/lib/fa/thumb-tack.d.ts | 3 +- types/react-icons/lib/fa/thumbs-down.d.ts | 3 +- types/react-icons/lib/fa/thumbs-o-down.d.ts | 3 +- types/react-icons/lib/fa/thumbs-o-up.d.ts | 3 +- types/react-icons/lib/fa/thumbs-up.d.ts | 3 +- types/react-icons/lib/fa/ticket.d.ts | 3 +- types/react-icons/lib/fa/times-circle-o.d.ts | 3 +- types/react-icons/lib/fa/times-circle.d.ts | 3 +- types/react-icons/lib/fa/tint.d.ts | 3 +- types/react-icons/lib/fa/toggle-off.d.ts | 3 +- types/react-icons/lib/fa/toggle-on.d.ts | 3 +- types/react-icons/lib/fa/trademark.d.ts | 3 +- types/react-icons/lib/fa/train.d.ts | 3 +- types/react-icons/lib/fa/transgender-alt.d.ts | 3 +- types/react-icons/lib/fa/trash-o.d.ts | 3 +- types/react-icons/lib/fa/trash.d.ts | 3 +- types/react-icons/lib/fa/tree.d.ts | 3 +- types/react-icons/lib/fa/trello.d.ts | 3 +- types/react-icons/lib/fa/tripadvisor.d.ts | 3 +- types/react-icons/lib/fa/trophy.d.ts | 3 +- types/react-icons/lib/fa/truck.d.ts | 3 +- types/react-icons/lib/fa/try.d.ts | 3 +- types/react-icons/lib/fa/tty.d.ts | 3 +- types/react-icons/lib/fa/tumblr-square.d.ts | 3 +- types/react-icons/lib/fa/tumblr.d.ts | 3 +- types/react-icons/lib/fa/twitch.d.ts | 3 +- types/react-icons/lib/fa/twitter-square.d.ts | 3 +- types/react-icons/lib/fa/twitter.d.ts | 3 +- types/react-icons/lib/fa/umbrella.d.ts | 3 +- types/react-icons/lib/fa/underline.d.ts | 3 +- .../react-icons/lib/fa/universal-access.d.ts | 3 +- types/react-icons/lib/fa/unlock-alt.d.ts | 3 +- types/react-icons/lib/fa/unlock.d.ts | 3 +- types/react-icons/lib/fa/upload.d.ts | 3 +- types/react-icons/lib/fa/usb.d.ts | 3 +- types/react-icons/lib/fa/user-md.d.ts | 3 +- types/react-icons/lib/fa/user-plus.d.ts | 3 +- types/react-icons/lib/fa/user-secret.d.ts | 3 +- types/react-icons/lib/fa/user-times.d.ts | 3 +- types/react-icons/lib/fa/user.d.ts | 3 +- types/react-icons/lib/fa/venus-double.d.ts | 3 +- types/react-icons/lib/fa/venus-mars.d.ts | 3 +- types/react-icons/lib/fa/venus.d.ts | 3 +- types/react-icons/lib/fa/viacoin.d.ts | 3 +- types/react-icons/lib/fa/viadeo-square.d.ts | 3 +- types/react-icons/lib/fa/viadeo.d.ts | 3 +- types/react-icons/lib/fa/video-camera.d.ts | 3 +- types/react-icons/lib/fa/vimeo-square.d.ts | 3 +- types/react-icons/lib/fa/vimeo.d.ts | 3 +- types/react-icons/lib/fa/vine.d.ts | 3 +- types/react-icons/lib/fa/vk.d.ts | 3 +- .../lib/fa/volume-control-phone.d.ts | 3 +- types/react-icons/lib/fa/volume-down.d.ts | 3 +- types/react-icons/lib/fa/volume-off.d.ts | 3 +- types/react-icons/lib/fa/volume-up.d.ts | 3 +- types/react-icons/lib/fa/wechat.d.ts | 3 +- types/react-icons/lib/fa/weibo.d.ts | 3 +- types/react-icons/lib/fa/whatsapp.d.ts | 3 +- types/react-icons/lib/fa/wheelchair-alt.d.ts | 3 +- types/react-icons/lib/fa/wheelchair.d.ts | 3 +- types/react-icons/lib/fa/wifi.d.ts | 3 +- types/react-icons/lib/fa/wikipedia-w.d.ts | 3 +- types/react-icons/lib/fa/windows.d.ts | 3 +- types/react-icons/lib/fa/wordpress.d.ts | 3 +- types/react-icons/lib/fa/wpbeginner.d.ts | 3 +- types/react-icons/lib/fa/wpforms.d.ts | 3 +- types/react-icons/lib/fa/wrench.d.ts | 3 +- types/react-icons/lib/fa/xing-square.d.ts | 3 +- types/react-icons/lib/fa/xing.d.ts | 3 +- types/react-icons/lib/fa/y-combinator.d.ts | 3 +- types/react-icons/lib/fa/yahoo.d.ts | 3 +- types/react-icons/lib/fa/yelp.d.ts | 3 +- types/react-icons/lib/fa/youtube-play.d.ts | 3 +- types/react-icons/lib/fa/youtube-square.d.ts | 3 +- types/react-icons/lib/fa/youtube.d.ts | 3 +- types/react-icons/lib/go/alert.d.ts | 3 +- types/react-icons/lib/go/alignment-align.d.ts | 3 +- .../lib/go/alignment-aligned-to.d.ts | 3 +- .../react-icons/lib/go/alignment-unalign.d.ts | 3 +- types/react-icons/lib/go/arrow-down.d.ts | 3 +- types/react-icons/lib/go/arrow-left.d.ts | 3 +- types/react-icons/lib/go/arrow-right.d.ts | 3 +- .../react-icons/lib/go/arrow-small-down.d.ts | 3 +- .../react-icons/lib/go/arrow-small-left.d.ts | 3 +- .../react-icons/lib/go/arrow-small-right.d.ts | 3 +- types/react-icons/lib/go/arrow-small-up.d.ts | 3 +- types/react-icons/lib/go/arrow-up.d.ts | 3 +- types/react-icons/lib/go/beer.d.ts | 3 +- types/react-icons/lib/go/book.d.ts | 3 +- types/react-icons/lib/go/bookmark.d.ts | 3 +- types/react-icons/lib/go/briefcase.d.ts | 3 +- types/react-icons/lib/go/broadcast.d.ts | 3 +- types/react-icons/lib/go/browser.d.ts | 3 +- types/react-icons/lib/go/bug.d.ts | 3 +- types/react-icons/lib/go/calendar.d.ts | 3 +- types/react-icons/lib/go/check.d.ts | 3 +- types/react-icons/lib/go/checklist.d.ts | 3 +- types/react-icons/lib/go/chevron-down.d.ts | 3 +- types/react-icons/lib/go/chevron-left.d.ts | 3 +- types/react-icons/lib/go/chevron-right.d.ts | 3 +- types/react-icons/lib/go/chevron-up.d.ts | 3 +- types/react-icons/lib/go/circle-slash.d.ts | 3 +- types/react-icons/lib/go/circuit-board.d.ts | 3 +- types/react-icons/lib/go/clippy.d.ts | 3 +- types/react-icons/lib/go/clock.d.ts | 3 +- types/react-icons/lib/go/cloud-download.d.ts | 3 +- types/react-icons/lib/go/cloud-upload.d.ts | 3 +- types/react-icons/lib/go/code.d.ts | 3 +- types/react-icons/lib/go/color-mode.d.ts | 3 +- .../lib/go/comment-discussion.d.ts | 3 +- types/react-icons/lib/go/comment.d.ts | 3 +- types/react-icons/lib/go/credit-card.d.ts | 3 +- types/react-icons/lib/go/dash.d.ts | 3 +- types/react-icons/lib/go/dashboard.d.ts | 3 +- types/react-icons/lib/go/database.d.ts | 3 +- .../lib/go/device-camera-video.d.ts | 3 +- types/react-icons/lib/go/device-camera.d.ts | 3 +- types/react-icons/lib/go/device-desktop.d.ts | 3 +- types/react-icons/lib/go/device-mobile.d.ts | 3 +- types/react-icons/lib/go/diff-added.d.ts | 3 +- types/react-icons/lib/go/diff-ignored.d.ts | 3 +- types/react-icons/lib/go/diff-modified.d.ts | 3 +- types/react-icons/lib/go/diff-removed.d.ts | 3 +- types/react-icons/lib/go/diff-renamed.d.ts | 3 +- types/react-icons/lib/go/diff.d.ts | 3 +- types/react-icons/lib/go/ellipsis.d.ts | 3 +- types/react-icons/lib/go/eye.d.ts | 3 +- types/react-icons/lib/go/file-binary.d.ts | 3 +- types/react-icons/lib/go/file-code.d.ts | 3 +- types/react-icons/lib/go/file-directory.d.ts | 3 +- types/react-icons/lib/go/file-media.d.ts | 3 +- types/react-icons/lib/go/file-pdf.d.ts | 3 +- types/react-icons/lib/go/file-submodule.d.ts | 3 +- .../lib/go/file-symlink-directory.d.ts | 3 +- .../react-icons/lib/go/file-symlink-file.d.ts | 3 +- types/react-icons/lib/go/file-text.d.ts | 3 +- types/react-icons/lib/go/file-zip.d.ts | 3 +- types/react-icons/lib/go/flame.d.ts | 3 +- types/react-icons/lib/go/fold.d.ts | 3 +- types/react-icons/lib/go/gear.d.ts | 3 +- types/react-icons/lib/go/gift.d.ts | 3 +- types/react-icons/lib/go/gist-secret.d.ts | 3 +- types/react-icons/lib/go/gist.d.ts | 3 +- types/react-icons/lib/go/git-branch.d.ts | 3 +- types/react-icons/lib/go/git-commit.d.ts | 3 +- types/react-icons/lib/go/git-compare.d.ts | 3 +- types/react-icons/lib/go/git-merge.d.ts | 3 +- .../react-icons/lib/go/git-pull-request.d.ts | 3 +- types/react-icons/lib/go/globe.d.ts | 3 +- types/react-icons/lib/go/graph.d.ts | 3 +- types/react-icons/lib/go/heart.d.ts | 3 +- types/react-icons/lib/go/history.d.ts | 3 +- types/react-icons/lib/go/home.d.ts | 3 +- types/react-icons/lib/go/horizontal-rule.d.ts | 3 +- types/react-icons/lib/go/hourglass.d.ts | 3 +- types/react-icons/lib/go/hubot.d.ts | 3 +- types/react-icons/lib/go/inbox.d.ts | 3 +- types/react-icons/lib/go/index.d.ts | 354 +-- types/react-icons/lib/go/info.d.ts | 3 +- types/react-icons/lib/go/issue-closed.d.ts | 3 +- types/react-icons/lib/go/issue-opened.d.ts | 3 +- types/react-icons/lib/go/issue-reopened.d.ts | 3 +- types/react-icons/lib/go/jersey.d.ts | 3 +- types/react-icons/lib/go/jump-down.d.ts | 3 +- types/react-icons/lib/go/jump-left.d.ts | 3 +- types/react-icons/lib/go/jump-right.d.ts | 3 +- types/react-icons/lib/go/jump-up.d.ts | 3 +- types/react-icons/lib/go/key.d.ts | 3 +- types/react-icons/lib/go/keyboard.d.ts | 3 +- types/react-icons/lib/go/law.d.ts | 3 +- types/react-icons/lib/go/light-bulb.d.ts | 3 +- types/react-icons/lib/go/link-external.d.ts | 3 +- types/react-icons/lib/go/link.d.ts | 3 +- types/react-icons/lib/go/list-ordered.d.ts | 3 +- types/react-icons/lib/go/list-unordered.d.ts | 3 +- types/react-icons/lib/go/location.d.ts | 3 +- types/react-icons/lib/go/lock.d.ts | 3 +- types/react-icons/lib/go/logo-github.d.ts | 3 +- types/react-icons/lib/go/mail-read.d.ts | 3 +- types/react-icons/lib/go/mail-reply.d.ts | 3 +- types/react-icons/lib/go/mail.d.ts | 3 +- types/react-icons/lib/go/mark-github.d.ts | 3 +- types/react-icons/lib/go/markdown.d.ts | 3 +- types/react-icons/lib/go/megaphone.d.ts | 3 +- types/react-icons/lib/go/mention.d.ts | 3 +- types/react-icons/lib/go/microscope.d.ts | 3 +- types/react-icons/lib/go/milestone.d.ts | 3 +- types/react-icons/lib/go/mirror.d.ts | 3 +- types/react-icons/lib/go/mortar-board.d.ts | 3 +- types/react-icons/lib/go/move-down.d.ts | 3 +- types/react-icons/lib/go/move-left.d.ts | 3 +- types/react-icons/lib/go/move-right.d.ts | 3 +- types/react-icons/lib/go/move-up.d.ts | 3 +- types/react-icons/lib/go/mute.d.ts | 3 +- types/react-icons/lib/go/no-newline.d.ts | 3 +- types/react-icons/lib/go/octoface.d.ts | 3 +- types/react-icons/lib/go/organization.d.ts | 3 +- types/react-icons/lib/go/package.d.ts | 3 +- types/react-icons/lib/go/paintcan.d.ts | 3 +- types/react-icons/lib/go/pencil.d.ts | 3 +- types/react-icons/lib/go/person.d.ts | 3 +- types/react-icons/lib/go/pin.d.ts | 3 +- .../lib/go/playback-fast-forward.d.ts | 3 +- types/react-icons/lib/go/playback-pause.d.ts | 3 +- types/react-icons/lib/go/playback-play.d.ts | 3 +- types/react-icons/lib/go/playback-rewind.d.ts | 3 +- types/react-icons/lib/go/plug.d.ts | 3 +- types/react-icons/lib/go/plus.d.ts | 3 +- types/react-icons/lib/go/podium.d.ts | 3 +- types/react-icons/lib/go/primitive-dot.d.ts | 3 +- .../react-icons/lib/go/primitive-square.d.ts | 3 +- types/react-icons/lib/go/pulse.d.ts | 3 +- types/react-icons/lib/go/puzzle.d.ts | 3 +- types/react-icons/lib/go/question.d.ts | 3 +- types/react-icons/lib/go/quote.d.ts | 3 +- types/react-icons/lib/go/radio-tower.d.ts | 3 +- types/react-icons/lib/go/repo-clone.d.ts | 3 +- types/react-icons/lib/go/repo-force-push.d.ts | 3 +- types/react-icons/lib/go/repo-forked.d.ts | 3 +- types/react-icons/lib/go/repo-pull.d.ts | 3 +- types/react-icons/lib/go/repo-push.d.ts | 3 +- types/react-icons/lib/go/repo.d.ts | 3 +- types/react-icons/lib/go/rocket.d.ts | 3 +- types/react-icons/lib/go/rss.d.ts | 3 +- types/react-icons/lib/go/ruby.d.ts | 3 +- types/react-icons/lib/go/screen-full.d.ts | 3 +- types/react-icons/lib/go/screen-normal.d.ts | 3 +- types/react-icons/lib/go/search.d.ts | 3 +- types/react-icons/lib/go/server.d.ts | 3 +- types/react-icons/lib/go/settings.d.ts | 3 +- types/react-icons/lib/go/sign-in.d.ts | 3 +- types/react-icons/lib/go/sign-out.d.ts | 3 +- types/react-icons/lib/go/split.d.ts | 3 +- types/react-icons/lib/go/squirrel.d.ts | 3 +- types/react-icons/lib/go/star.d.ts | 3 +- types/react-icons/lib/go/steps.d.ts | 3 +- types/react-icons/lib/go/stop.d.ts | 3 +- types/react-icons/lib/go/sync.d.ts | 3 +- types/react-icons/lib/go/tag.d.ts | 3 +- types/react-icons/lib/go/telescope.d.ts | 3 +- types/react-icons/lib/go/terminal.d.ts | 3 +- types/react-icons/lib/go/three-bars.d.ts | 3 +- types/react-icons/lib/go/tools.d.ts | 3 +- types/react-icons/lib/go/trashcan.d.ts | 3 +- types/react-icons/lib/go/triangle-down.d.ts | 3 +- types/react-icons/lib/go/triangle-left.d.ts | 3 +- types/react-icons/lib/go/triangle-right.d.ts | 3 +- types/react-icons/lib/go/triangle-up.d.ts | 3 +- types/react-icons/lib/go/unfold.d.ts | 3 +- types/react-icons/lib/go/unmute.d.ts | 3 +- types/react-icons/lib/go/versions.d.ts | 3 +- types/react-icons/lib/go/x.d.ts | 3 +- types/react-icons/lib/go/zap.d.ts | 3 +- types/react-icons/lib/io/alert-circled.d.ts | 3 +- types/react-icons/lib/io/alert.d.ts | 3 +- .../lib/io/android-add-circle.d.ts | 3 +- types/react-icons/lib/io/android-add.d.ts | 3 +- .../lib/io/android-alarm-clock.d.ts | 3 +- types/react-icons/lib/io/android-alert.d.ts | 3 +- types/react-icons/lib/io/android-apps.d.ts | 3 +- types/react-icons/lib/io/android-archive.d.ts | 3 +- .../lib/io/android-arrow-back.d.ts | 3 +- .../lib/io/android-arrow-down.d.ts | 3 +- .../lib/io/android-arrow-dropdown-circle.d.ts | 3 +- .../lib/io/android-arrow-dropdown.d.ts | 3 +- .../lib/io/android-arrow-dropleft-circle.d.ts | 3 +- .../lib/io/android-arrow-dropleft.d.ts | 3 +- .../io/android-arrow-dropright-circle.d.ts | 3 +- .../lib/io/android-arrow-dropright.d.ts | 3 +- .../lib/io/android-arrow-dropup-circle.d.ts | 3 +- .../lib/io/android-arrow-dropup.d.ts | 3 +- .../lib/io/android-arrow-forward.d.ts | 3 +- .../react-icons/lib/io/android-arrow-up.d.ts | 3 +- types/react-icons/lib/io/android-attach.d.ts | 3 +- types/react-icons/lib/io/android-bar.d.ts | 3 +- types/react-icons/lib/io/android-bicycle.d.ts | 3 +- types/react-icons/lib/io/android-boat.d.ts | 3 +- .../react-icons/lib/io/android-bookmark.d.ts | 3 +- types/react-icons/lib/io/android-bulb.d.ts | 3 +- types/react-icons/lib/io/android-bus.d.ts | 3 +- .../react-icons/lib/io/android-calendar.d.ts | 3 +- types/react-icons/lib/io/android-call.d.ts | 3 +- types/react-icons/lib/io/android-camera.d.ts | 3 +- types/react-icons/lib/io/android-cancel.d.ts | 3 +- types/react-icons/lib/io/android-car.d.ts | 3 +- types/react-icons/lib/io/android-cart.d.ts | 3 +- types/react-icons/lib/io/android-chat.d.ts | 3 +- .../lib/io/android-checkbox-blank.d.ts | 3 +- .../io/android-checkbox-outline-blank.d.ts | 3 +- .../lib/io/android-checkbox-outline.d.ts | 3 +- .../react-icons/lib/io/android-checkbox.d.ts | 3 +- .../lib/io/android-checkmark-circle.d.ts | 3 +- .../react-icons/lib/io/android-clipboard.d.ts | 3 +- types/react-icons/lib/io/android-close.d.ts | 3 +- .../lib/io/android-cloud-circle.d.ts | 3 +- .../lib/io/android-cloud-done.d.ts | 3 +- .../lib/io/android-cloud-outline.d.ts | 3 +- types/react-icons/lib/io/android-cloud.d.ts | 3 +- .../lib/io/android-color-palette.d.ts | 3 +- types/react-icons/lib/io/android-compass.d.ts | 3 +- types/react-icons/lib/io/android-contact.d.ts | 3 +- .../react-icons/lib/io/android-contacts.d.ts | 3 +- .../react-icons/lib/io/android-contract.d.ts | 3 +- types/react-icons/lib/io/android-create.d.ts | 3 +- types/react-icons/lib/io/android-delete.d.ts | 3 +- types/react-icons/lib/io/android-desktop.d.ts | 3 +- .../react-icons/lib/io/android-document.d.ts | 3 +- .../react-icons/lib/io/android-done-all.d.ts | 3 +- types/react-icons/lib/io/android-done.d.ts | 3 +- .../react-icons/lib/io/android-download.d.ts | 3 +- types/react-icons/lib/io/android-drafts.d.ts | 3 +- types/react-icons/lib/io/android-exit.d.ts | 3 +- types/react-icons/lib/io/android-expand.d.ts | 3 +- .../lib/io/android-favorite-outline.d.ts | 3 +- .../react-icons/lib/io/android-favorite.d.ts | 3 +- types/react-icons/lib/io/android-film.d.ts | 3 +- .../lib/io/android-folder-open.d.ts | 3 +- types/react-icons/lib/io/android-folder.d.ts | 3 +- types/react-icons/lib/io/android-funnel.d.ts | 3 +- types/react-icons/lib/io/android-globe.d.ts | 3 +- types/react-icons/lib/io/android-hand.d.ts | 3 +- types/react-icons/lib/io/android-hangout.d.ts | 3 +- types/react-icons/lib/io/android-happy.d.ts | 3 +- types/react-icons/lib/io/android-home.d.ts | 3 +- types/react-icons/lib/io/android-image.d.ts | 3 +- types/react-icons/lib/io/android-laptop.d.ts | 3 +- types/react-icons/lib/io/android-list.d.ts | 3 +- types/react-icons/lib/io/android-locate.d.ts | 3 +- types/react-icons/lib/io/android-lock.d.ts | 3 +- types/react-icons/lib/io/android-mail.d.ts | 3 +- types/react-icons/lib/io/android-map.d.ts | 3 +- types/react-icons/lib/io/android-menu.d.ts | 3 +- .../lib/io/android-microphone-off.d.ts | 3 +- .../lib/io/android-microphone.d.ts | 3 +- .../lib/io/android-more-horizontal.d.ts | 3 +- .../lib/io/android-more-vertical.d.ts | 3 +- .../react-icons/lib/io/android-navigate.d.ts | 3 +- .../lib/io/android-notifications-none.d.ts | 3 +- .../lib/io/android-notifications-off.d.ts | 3 +- .../lib/io/android-notifications.d.ts | 3 +- types/react-icons/lib/io/android-open.d.ts | 3 +- types/react-icons/lib/io/android-options.d.ts | 3 +- types/react-icons/lib/io/android-people.d.ts | 3 +- .../lib/io/android-person-add.d.ts | 3 +- types/react-icons/lib/io/android-person.d.ts | 3 +- .../lib/io/android-phone-landscape.d.ts | 3 +- .../lib/io/android-phone-portrait.d.ts | 3 +- types/react-icons/lib/io/android-pin.d.ts | 3 +- types/react-icons/lib/io/android-plane.d.ts | 3 +- .../react-icons/lib/io/android-playstore.d.ts | 3 +- types/react-icons/lib/io/android-print.d.ts | 3 +- .../lib/io/android-radio-button-off.d.ts | 3 +- .../lib/io/android-radio-button-on.d.ts | 3 +- types/react-icons/lib/io/android-refresh.d.ts | 3 +- .../lib/io/android-remove-circle.d.ts | 3 +- types/react-icons/lib/io/android-remove.d.ts | 3 +- .../lib/io/android-restaurant.d.ts | 3 +- types/react-icons/lib/io/android-sad.d.ts | 3 +- types/react-icons/lib/io/android-search.d.ts | 3 +- types/react-icons/lib/io/android-send.d.ts | 3 +- .../react-icons/lib/io/android-settings.d.ts | 3 +- .../react-icons/lib/io/android-share-alt.d.ts | 3 +- types/react-icons/lib/io/android-share.d.ts | 3 +- .../react-icons/lib/io/android-star-half.d.ts | 3 +- .../lib/io/android-star-outline.d.ts | 3 +- types/react-icons/lib/io/android-star.d.ts | 3 +- .../react-icons/lib/io/android-stopwatch.d.ts | 3 +- types/react-icons/lib/io/android-subway.d.ts | 3 +- types/react-icons/lib/io/android-sunny.d.ts | 3 +- types/react-icons/lib/io/android-sync.d.ts | 3 +- types/react-icons/lib/io/android-textsms.d.ts | 3 +- types/react-icons/lib/io/android-time.d.ts | 3 +- types/react-icons/lib/io/android-train.d.ts | 3 +- types/react-icons/lib/io/android-unlock.d.ts | 3 +- types/react-icons/lib/io/android-upload.d.ts | 3 +- .../lib/io/android-volume-down.d.ts | 3 +- .../lib/io/android-volume-mute.d.ts | 3 +- .../lib/io/android-volume-off.d.ts | 3 +- .../react-icons/lib/io/android-volume-up.d.ts | 3 +- types/react-icons/lib/io/android-walk.d.ts | 3 +- types/react-icons/lib/io/android-warning.d.ts | 3 +- types/react-icons/lib/io/android-watch.d.ts | 3 +- types/react-icons/lib/io/android-wifi.d.ts | 3 +- types/react-icons/lib/io/aperture.d.ts | 3 +- types/react-icons/lib/io/archive.d.ts | 3 +- types/react-icons/lib/io/arrow-down-a.d.ts | 3 +- types/react-icons/lib/io/arrow-down-b.d.ts | 3 +- types/react-icons/lib/io/arrow-down-c.d.ts | 3 +- types/react-icons/lib/io/arrow-expand.d.ts | 3 +- .../lib/io/arrow-graph-down-left.d.ts | 3 +- .../lib/io/arrow-graph-down-right.d.ts | 3 +- .../lib/io/arrow-graph-up-left.d.ts | 3 +- .../lib/io/arrow-graph-up-right.d.ts | 3 +- types/react-icons/lib/io/arrow-left-a.d.ts | 3 +- types/react-icons/lib/io/arrow-left-b.d.ts | 3 +- types/react-icons/lib/io/arrow-left-c.d.ts | 3 +- types/react-icons/lib/io/arrow-move.d.ts | 3 +- types/react-icons/lib/io/arrow-resize.d.ts | 3 +- .../react-icons/lib/io/arrow-return-left.d.ts | 3 +- .../lib/io/arrow-return-right.d.ts | 3 +- types/react-icons/lib/io/arrow-right-a.d.ts | 3 +- types/react-icons/lib/io/arrow-right-b.d.ts | 3 +- types/react-icons/lib/io/arrow-right-c.d.ts | 3 +- types/react-icons/lib/io/arrow-shrink.d.ts | 3 +- types/react-icons/lib/io/arrow-swap.d.ts | 3 +- types/react-icons/lib/io/arrow-up-a.d.ts | 3 +- types/react-icons/lib/io/arrow-up-b.d.ts | 3 +- types/react-icons/lib/io/arrow-up-c.d.ts | 3 +- types/react-icons/lib/io/asterisk.d.ts | 3 +- types/react-icons/lib/io/at.d.ts | 3 +- .../react-icons/lib/io/backspace-outline.d.ts | 3 +- types/react-icons/lib/io/backspace.d.ts | 3 +- types/react-icons/lib/io/bag.d.ts | 3 +- .../react-icons/lib/io/battery-charging.d.ts | 3 +- types/react-icons/lib/io/battery-empty.d.ts | 3 +- types/react-icons/lib/io/battery-full.d.ts | 3 +- types/react-icons/lib/io/battery-half.d.ts | 3 +- types/react-icons/lib/io/battery-low.d.ts | 3 +- types/react-icons/lib/io/beaker.d.ts | 3 +- types/react-icons/lib/io/beer.d.ts | 3 +- types/react-icons/lib/io/bluetooth.d.ts | 3 +- types/react-icons/lib/io/bonfire.d.ts | 3 +- types/react-icons/lib/io/bookmark.d.ts | 3 +- types/react-icons/lib/io/bowtie.d.ts | 3 +- types/react-icons/lib/io/briefcase.d.ts | 3 +- types/react-icons/lib/io/bug.d.ts | 3 +- types/react-icons/lib/io/calculator.d.ts | 3 +- types/react-icons/lib/io/calendar.d.ts | 3 +- types/react-icons/lib/io/camera.d.ts | 3 +- types/react-icons/lib/io/card.d.ts | 3 +- types/react-icons/lib/io/cash.d.ts | 3 +- types/react-icons/lib/io/chatbox-working.d.ts | 3 +- types/react-icons/lib/io/chatbox.d.ts | 3 +- types/react-icons/lib/io/chatboxes.d.ts | 3 +- .../lib/io/chatbubble-working.d.ts | 3 +- types/react-icons/lib/io/chatbubble.d.ts | 3 +- types/react-icons/lib/io/chatbubbles.d.ts | 3 +- .../react-icons/lib/io/checkmark-circled.d.ts | 3 +- types/react-icons/lib/io/checkmark-round.d.ts | 3 +- types/react-icons/lib/io/checkmark.d.ts | 3 +- types/react-icons/lib/io/chevron-down.d.ts | 3 +- types/react-icons/lib/io/chevron-left.d.ts | 3 +- types/react-icons/lib/io/chevron-right.d.ts | 3 +- types/react-icons/lib/io/chevron-up.d.ts | 3 +- types/react-icons/lib/io/clipboard.d.ts | 3 +- types/react-icons/lib/io/clock.d.ts | 3 +- types/react-icons/lib/io/close-circled.d.ts | 3 +- types/react-icons/lib/io/close-round.d.ts | 3 +- types/react-icons/lib/io/close.d.ts | 3 +- .../react-icons/lib/io/closed-captioning.d.ts | 3 +- types/react-icons/lib/io/cloud.d.ts | 3 +- types/react-icons/lib/io/code-download.d.ts | 3 +- types/react-icons/lib/io/code-working.d.ts | 3 +- types/react-icons/lib/io/code.d.ts | 3 +- types/react-icons/lib/io/coffee.d.ts | 3 +- types/react-icons/lib/io/compass.d.ts | 3 +- types/react-icons/lib/io/compose.d.ts | 3 +- types/react-icons/lib/io/connectbars.d.ts | 3 +- types/react-icons/lib/io/contrast.d.ts | 3 +- types/react-icons/lib/io/crop.d.ts | 3 +- types/react-icons/lib/io/cube.d.ts | 3 +- types/react-icons/lib/io/disc.d.ts | 3 +- types/react-icons/lib/io/document-text.d.ts | 3 +- types/react-icons/lib/io/document.d.ts | 3 +- types/react-icons/lib/io/drag.d.ts | 3 +- types/react-icons/lib/io/earth.d.ts | 3 +- types/react-icons/lib/io/easel.d.ts | 3 +- types/react-icons/lib/io/edit.d.ts | 3 +- types/react-icons/lib/io/egg.d.ts | 3 +- types/react-icons/lib/io/eject.d.ts | 3 +- types/react-icons/lib/io/email-unread.d.ts | 3 +- types/react-icons/lib/io/email.d.ts | 3 +- .../lib/io/erlenmeyer-flask-bubbles.d.ts | 3 +- .../react-icons/lib/io/erlenmeyer-flask.d.ts | 3 +- types/react-icons/lib/io/eye-disabled.d.ts | 3 +- types/react-icons/lib/io/eye.d.ts | 3 +- types/react-icons/lib/io/female.d.ts | 3 +- types/react-icons/lib/io/filing.d.ts | 3 +- types/react-icons/lib/io/film-marker.d.ts | 3 +- types/react-icons/lib/io/fireball.d.ts | 3 +- types/react-icons/lib/io/flag.d.ts | 3 +- types/react-icons/lib/io/flame.d.ts | 3 +- types/react-icons/lib/io/flash-off.d.ts | 3 +- types/react-icons/lib/io/flash.d.ts | 3 +- types/react-icons/lib/io/folder.d.ts | 3 +- types/react-icons/lib/io/fork-repo.d.ts | 3 +- types/react-icons/lib/io/fork.d.ts | 3 +- types/react-icons/lib/io/forward.d.ts | 3 +- types/react-icons/lib/io/funnel.d.ts | 3 +- types/react-icons/lib/io/gear-a.d.ts | 3 +- types/react-icons/lib/io/gear-b.d.ts | 3 +- types/react-icons/lib/io/grid.d.ts | 3 +- types/react-icons/lib/io/hammer.d.ts | 3 +- types/react-icons/lib/io/happy-outline.d.ts | 3 +- types/react-icons/lib/io/happy.d.ts | 3 +- types/react-icons/lib/io/headphone.d.ts | 3 +- types/react-icons/lib/io/heart-broken.d.ts | 3 +- types/react-icons/lib/io/heart.d.ts | 3 +- types/react-icons/lib/io/help-buoy.d.ts | 3 +- types/react-icons/lib/io/help-circled.d.ts | 3 +- types/react-icons/lib/io/help.d.ts | 3 +- types/react-icons/lib/io/home.d.ts | 3 +- types/react-icons/lib/io/icecream.d.ts | 3 +- types/react-icons/lib/io/image.d.ts | 3 +- types/react-icons/lib/io/images.d.ts | 3 +- types/react-icons/lib/io/index.d.ts | 1466 ++++++------- types/react-icons/lib/io/informatcircled.d.ts | 3 +- types/react-icons/lib/io/information.d.ts | 3 +- types/react-icons/lib/io/ionic.d.ts | 3 +- .../react-icons/lib/io/ios-alarm-outline.d.ts | 3 +- types/react-icons/lib/io/ios-alarm.d.ts | 3 +- .../lib/io/ios-albums-outline.d.ts | 3 +- types/react-icons/lib/io/ios-albums.d.ts | 3 +- .../lib/io/ios-americanfootball-outline.d.ts | 3 +- .../lib/io/ios-americanfootball.d.ts | 3 +- .../lib/io/ios-analytics-outline.d.ts | 3 +- types/react-icons/lib/io/ios-analytics.d.ts | 3 +- types/react-icons/lib/io/ios-arrow-back.d.ts | 3 +- types/react-icons/lib/io/ios-arrow-down.d.ts | 3 +- .../react-icons/lib/io/ios-arrow-forward.d.ts | 3 +- types/react-icons/lib/io/ios-arrow-left.d.ts | 3 +- types/react-icons/lib/io/ios-arrow-right.d.ts | 3 +- .../lib/io/ios-arrow-thin-down.d.ts | 3 +- .../lib/io/ios-arrow-thin-left.d.ts | 3 +- .../lib/io/ios-arrow-thin-right.d.ts | 3 +- .../react-icons/lib/io/ios-arrow-thin-up.d.ts | 3 +- types/react-icons/lib/io/ios-arrow-up.d.ts | 3 +- types/react-icons/lib/io/ios-at-outline.d.ts | 3 +- types/react-icons/lib/io/ios-at.d.ts | 3 +- .../lib/io/ios-barcode-outline.d.ts | 3 +- types/react-icons/lib/io/ios-barcode.d.ts | 3 +- .../lib/io/ios-baseball-outline.d.ts | 3 +- types/react-icons/lib/io/ios-baseball.d.ts | 3 +- .../lib/io/ios-basketball-outline.d.ts | 3 +- types/react-icons/lib/io/ios-basketball.d.ts | 3 +- .../react-icons/lib/io/ios-bell-outline.d.ts | 3 +- types/react-icons/lib/io/ios-bell.d.ts | 3 +- .../react-icons/lib/io/ios-body-outline.d.ts | 3 +- types/react-icons/lib/io/ios-body.d.ts | 3 +- .../react-icons/lib/io/ios-bolt-outline.d.ts | 3 +- types/react-icons/lib/io/ios-bolt.d.ts | 3 +- .../react-icons/lib/io/ios-book-outline.d.ts | 3 +- types/react-icons/lib/io/ios-book.d.ts | 3 +- .../lib/io/ios-bookmarks-outline.d.ts | 3 +- types/react-icons/lib/io/ios-bookmarks.d.ts | 3 +- types/react-icons/lib/io/ios-box-outline.d.ts | 3 +- types/react-icons/lib/io/ios-box.d.ts | 3 +- .../lib/io/ios-briefcase-outline.d.ts | 3 +- types/react-icons/lib/io/ios-briefcase.d.ts | 3 +- .../lib/io/ios-browsers-outline.d.ts | 3 +- types/react-icons/lib/io/ios-browsers.d.ts | 3 +- .../lib/io/ios-calculator-outline.d.ts | 3 +- types/react-icons/lib/io/ios-calculator.d.ts | 3 +- .../lib/io/ios-calendar-outline.d.ts | 3 +- types/react-icons/lib/io/ios-calendar.d.ts | 3 +- .../lib/io/ios-camera-outline.d.ts | 3 +- types/react-icons/lib/io/ios-camera.d.ts | 3 +- .../react-icons/lib/io/ios-cart-outline.d.ts | 3 +- types/react-icons/lib/io/ios-cart.d.ts | 3 +- .../lib/io/ios-chatboxes-outline.d.ts | 3 +- types/react-icons/lib/io/ios-chatboxes.d.ts | 3 +- .../lib/io/ios-chatbubble-outline.d.ts | 3 +- types/react-icons/lib/io/ios-chatbubble.d.ts | 3 +- .../lib/io/ios-checkmark-empty.d.ts | 3 +- .../lib/io/ios-checkmark-outline.d.ts | 3 +- types/react-icons/lib/io/ios-checkmark.d.ts | 3 +- .../react-icons/lib/io/ios-circle-filled.d.ts | 3 +- .../lib/io/ios-circle-outline.d.ts | 3 +- .../react-icons/lib/io/ios-clock-outline.d.ts | 3 +- types/react-icons/lib/io/ios-clock.d.ts | 3 +- types/react-icons/lib/io/ios-close-empty.d.ts | 3 +- .../react-icons/lib/io/ios-close-outline.d.ts | 3 +- types/react-icons/lib/io/ios-close.d.ts | 3 +- .../lib/io/ios-cloud-download-outline.d.ts | 3 +- .../lib/io/ios-cloud-download.d.ts | 3 +- .../react-icons/lib/io/ios-cloud-outline.d.ts | 3 +- .../lib/io/ios-cloud-upload-outline.d.ts | 3 +- .../react-icons/lib/io/ios-cloud-upload.d.ts | 3 +- types/react-icons/lib/io/ios-cloud.d.ts | 3 +- .../lib/io/ios-cloudy-night-outline.d.ts | 3 +- .../react-icons/lib/io/ios-cloudy-night.d.ts | 3 +- .../lib/io/ios-cloudy-outline.d.ts | 3 +- types/react-icons/lib/io/ios-cloudy.d.ts | 3 +- types/react-icons/lib/io/ios-cog-outline.d.ts | 3 +- types/react-icons/lib/io/ios-cog.d.ts | 3 +- .../lib/io/ios-color-filter-outline.d.ts | 3 +- .../react-icons/lib/io/ios-color-filter.d.ts | 3 +- .../lib/io/ios-color-wand-outline.d.ts | 3 +- types/react-icons/lib/io/ios-color-wand.d.ts | 3 +- .../lib/io/ios-compose-outline.d.ts | 3 +- types/react-icons/lib/io/ios-compose.d.ts | 3 +- .../lib/io/ios-contact-outline.d.ts | 3 +- types/react-icons/lib/io/ios-contact.d.ts | 3 +- .../react-icons/lib/io/ios-copy-outline.d.ts | 3 +- types/react-icons/lib/io/ios-copy.d.ts | 3 +- types/react-icons/lib/io/ios-crop-strong.d.ts | 3 +- types/react-icons/lib/io/ios-crop.d.ts | 3 +- .../lib/io/ios-download-outline.d.ts | 3 +- types/react-icons/lib/io/ios-download.d.ts | 3 +- types/react-icons/lib/io/ios-drag.d.ts | 3 +- .../react-icons/lib/io/ios-email-outline.d.ts | 3 +- types/react-icons/lib/io/ios-email.d.ts | 3 +- types/react-icons/lib/io/ios-eye-outline.d.ts | 3 +- types/react-icons/lib/io/ios-eye.d.ts | 3 +- .../lib/io/ios-fastforward-outline.d.ts | 3 +- types/react-icons/lib/io/ios-fastforward.d.ts | 3 +- .../lib/io/ios-filing-outline.d.ts | 3 +- types/react-icons/lib/io/ios-filing.d.ts | 3 +- .../react-icons/lib/io/ios-film-outline.d.ts | 3 +- types/react-icons/lib/io/ios-film.d.ts | 3 +- .../react-icons/lib/io/ios-flag-outline.d.ts | 3 +- types/react-icons/lib/io/ios-flag.d.ts | 3 +- .../react-icons/lib/io/ios-flame-outline.d.ts | 3 +- types/react-icons/lib/io/ios-flame.d.ts | 3 +- .../react-icons/lib/io/ios-flask-outline.d.ts | 3 +- types/react-icons/lib/io/ios-flask.d.ts | 3 +- .../lib/io/ios-flower-outline.d.ts | 3 +- types/react-icons/lib/io/ios-flower.d.ts | 3 +- .../lib/io/ios-folder-outline.d.ts | 3 +- types/react-icons/lib/io/ios-folder.d.ts | 3 +- .../lib/io/ios-football-outline.d.ts | 3 +- types/react-icons/lib/io/ios-football.d.ts | 3 +- .../lib/io/ios-game-controller-a-outline.d.ts | 3 +- .../lib/io/ios-game-controller-a.d.ts | 3 +- .../lib/io/ios-game-controller-b-outline.d.ts | 3 +- .../lib/io/ios-game-controller-b.d.ts | 3 +- .../react-icons/lib/io/ios-gear-outline.d.ts | 3 +- types/react-icons/lib/io/ios-gear.d.ts | 3 +- .../lib/io/ios-glasses-outline.d.ts | 3 +- types/react-icons/lib/io/ios-glasses.d.ts | 3 +- .../lib/io/ios-grid-view-outline.d.ts | 3 +- types/react-icons/lib/io/ios-grid-view.d.ts | 3 +- .../react-icons/lib/io/ios-heart-outline.d.ts | 3 +- types/react-icons/lib/io/ios-heart.d.ts | 3 +- types/react-icons/lib/io/ios-help-empty.d.ts | 3 +- .../react-icons/lib/io/ios-help-outline.d.ts | 3 +- types/react-icons/lib/io/ios-help.d.ts | 3 +- .../react-icons/lib/io/ios-home-outline.d.ts | 3 +- types/react-icons/lib/io/ios-home.d.ts | 3 +- .../lib/io/ios-infinite-outline.d.ts | 3 +- types/react-icons/lib/io/ios-infinite.d.ts | 3 +- .../react-icons/lib/io/ios-informatempty.d.ts | 3 +- types/react-icons/lib/io/ios-information.d.ts | 3 +- .../lib/io/ios-informatoutline.d.ts | 3 +- .../react-icons/lib/io/ios-ionic-outline.d.ts | 3 +- .../lib/io/ios-keypad-outline.d.ts | 3 +- types/react-icons/lib/io/ios-keypad.d.ts | 3 +- .../lib/io/ios-lightbulb-outline.d.ts | 3 +- types/react-icons/lib/io/ios-lightbulb.d.ts | 3 +- .../react-icons/lib/io/ios-list-outline.d.ts | 3 +- types/react-icons/lib/io/ios-list.d.ts | 3 +- types/react-icons/lib/io/ios-location.d.ts | 3 +- .../react-icons/lib/io/ios-locatoutline.d.ts | 3 +- .../lib/io/ios-locked-outline.d.ts | 3 +- types/react-icons/lib/io/ios-locked.d.ts | 3 +- types/react-icons/lib/io/ios-loop-strong.d.ts | 3 +- types/react-icons/lib/io/ios-loop.d.ts | 3 +- .../lib/io/ios-medical-outline.d.ts | 3 +- types/react-icons/lib/io/ios-medical.d.ts | 3 +- .../lib/io/ios-medkit-outline.d.ts | 3 +- types/react-icons/lib/io/ios-medkit.d.ts | 3 +- types/react-icons/lib/io/ios-mic-off.d.ts | 3 +- types/react-icons/lib/io/ios-mic-outline.d.ts | 3 +- types/react-icons/lib/io/ios-mic.d.ts | 3 +- types/react-icons/lib/io/ios-minus-empty.d.ts | 3 +- .../react-icons/lib/io/ios-minus-outline.d.ts | 3 +- types/react-icons/lib/io/ios-minus.d.ts | 3 +- .../lib/io/ios-monitor-outline.d.ts | 3 +- types/react-icons/lib/io/ios-monitor.d.ts | 3 +- .../react-icons/lib/io/ios-moon-outline.d.ts | 3 +- types/react-icons/lib/io/ios-moon.d.ts | 3 +- .../react-icons/lib/io/ios-more-outline.d.ts | 3 +- types/react-icons/lib/io/ios-more.d.ts | 3 +- .../react-icons/lib/io/ios-musical-note.d.ts | 3 +- .../react-icons/lib/io/ios-musical-notes.d.ts | 3 +- .../lib/io/ios-navigate-outline.d.ts | 3 +- types/react-icons/lib/io/ios-navigate.d.ts | 3 +- types/react-icons/lib/io/ios-nutrition.d.ts | 3 +- .../react-icons/lib/io/ios-nutritoutline.d.ts | 3 +- .../react-icons/lib/io/ios-paper-outline.d.ts | 3 +- types/react-icons/lib/io/ios-paper.d.ts | 3 +- .../lib/io/ios-paperplane-outline.d.ts | 3 +- types/react-icons/lib/io/ios-paperplane.d.ts | 3 +- .../lib/io/ios-partlysunny-outline.d.ts | 3 +- types/react-icons/lib/io/ios-partlysunny.d.ts | 3 +- .../react-icons/lib/io/ios-pause-outline.d.ts | 3 +- types/react-icons/lib/io/ios-pause.d.ts | 3 +- types/react-icons/lib/io/ios-paw-outline.d.ts | 3 +- types/react-icons/lib/io/ios-paw.d.ts | 3 +- .../lib/io/ios-people-outline.d.ts | 3 +- types/react-icons/lib/io/ios-people.d.ts | 3 +- .../lib/io/ios-person-outline.d.ts | 3 +- types/react-icons/lib/io/ios-person.d.ts | 3 +- .../lib/io/ios-personadd-outline.d.ts | 3 +- types/react-icons/lib/io/ios-personadd.d.ts | 3 +- .../lib/io/ios-photos-outline.d.ts | 3 +- types/react-icons/lib/io/ios-photos.d.ts | 3 +- types/react-icons/lib/io/ios-pie-outline.d.ts | 3 +- types/react-icons/lib/io/ios-pie.d.ts | 3 +- .../react-icons/lib/io/ios-pint-outline.d.ts | 3 +- types/react-icons/lib/io/ios-pint.d.ts | 3 +- .../react-icons/lib/io/ios-play-outline.d.ts | 3 +- types/react-icons/lib/io/ios-play.d.ts | 3 +- types/react-icons/lib/io/ios-plus-empty.d.ts | 3 +- .../react-icons/lib/io/ios-plus-outline.d.ts | 3 +- types/react-icons/lib/io/ios-plus.d.ts | 3 +- .../lib/io/ios-pricetag-outline.d.ts | 3 +- types/react-icons/lib/io/ios-pricetag.d.ts | 3 +- .../lib/io/ios-pricetags-outline.d.ts | 3 +- types/react-icons/lib/io/ios-pricetags.d.ts | 3 +- .../lib/io/ios-printer-outline.d.ts | 3 +- types/react-icons/lib/io/ios-printer.d.ts | 3 +- .../react-icons/lib/io/ios-pulse-strong.d.ts | 3 +- types/react-icons/lib/io/ios-pulse.d.ts | 3 +- .../react-icons/lib/io/ios-rainy-outline.d.ts | 3 +- types/react-icons/lib/io/ios-rainy.d.ts | 3 +- .../lib/io/ios-recording-outline.d.ts | 3 +- types/react-icons/lib/io/ios-recording.d.ts | 3 +- .../react-icons/lib/io/ios-redo-outline.d.ts | 3 +- types/react-icons/lib/io/ios-redo.d.ts | 3 +- .../react-icons/lib/io/ios-refresh-empty.d.ts | 3 +- .../lib/io/ios-refresh-outline.d.ts | 3 +- types/react-icons/lib/io/ios-refresh.d.ts | 3 +- types/react-icons/lib/io/ios-reload.d.ts | 3 +- .../lib/io/ios-reverse-camera-outline.d.ts | 3 +- .../lib/io/ios-reverse-camera.d.ts | 3 +- .../lib/io/ios-rewind-outline.d.ts | 3 +- types/react-icons/lib/io/ios-rewind.d.ts | 3 +- .../react-icons/lib/io/ios-rose-outline.d.ts | 3 +- types/react-icons/lib/io/ios-rose.d.ts | 3 +- .../react-icons/lib/io/ios-search-strong.d.ts | 3 +- types/react-icons/lib/io/ios-search.d.ts | 3 +- .../lib/io/ios-settings-strong.d.ts | 3 +- types/react-icons/lib/io/ios-settings.d.ts | 3 +- .../lib/io/ios-shuffle-strong.d.ts | 3 +- types/react-icons/lib/io/ios-shuffle.d.ts | 3 +- .../lib/io/ios-skipbackward-outline.d.ts | 3 +- .../react-icons/lib/io/ios-skipbackward.d.ts | 3 +- .../lib/io/ios-skipforward-outline.d.ts | 3 +- types/react-icons/lib/io/ios-skipforward.d.ts | 3 +- types/react-icons/lib/io/ios-snowy.d.ts | 3 +- .../lib/io/ios-speedometer-outline.d.ts | 3 +- types/react-icons/lib/io/ios-speedometer.d.ts | 3 +- types/react-icons/lib/io/ios-star-half.d.ts | 3 +- .../react-icons/lib/io/ios-star-outline.d.ts | 3 +- types/react-icons/lib/io/ios-star.d.ts | 3 +- .../lib/io/ios-stopwatch-outline.d.ts | 3 +- types/react-icons/lib/io/ios-stopwatch.d.ts | 3 +- .../react-icons/lib/io/ios-sunny-outline.d.ts | 3 +- types/react-icons/lib/io/ios-sunny.d.ts | 3 +- .../lib/io/ios-telephone-outline.d.ts | 3 +- types/react-icons/lib/io/ios-telephone.d.ts | 3 +- .../lib/io/ios-tennisball-outline.d.ts | 3 +- types/react-icons/lib/io/ios-tennisball.d.ts | 3 +- .../lib/io/ios-thunderstorm-outline.d.ts | 3 +- .../react-icons/lib/io/ios-thunderstorm.d.ts | 3 +- .../react-icons/lib/io/ios-time-outline.d.ts | 3 +- types/react-icons/lib/io/ios-time.d.ts | 3 +- .../react-icons/lib/io/ios-timer-outline.d.ts | 3 +- types/react-icons/lib/io/ios-timer.d.ts | 3 +- .../lib/io/ios-toggle-outline.d.ts | 3 +- types/react-icons/lib/io/ios-toggle.d.ts | 3 +- .../react-icons/lib/io/ios-trash-outline.d.ts | 3 +- types/react-icons/lib/io/ios-trash.d.ts | 3 +- .../react-icons/lib/io/ios-undo-outline.d.ts | 3 +- types/react-icons/lib/io/ios-undo.d.ts | 3 +- .../lib/io/ios-unlocked-outline.d.ts | 3 +- types/react-icons/lib/io/ios-unlocked.d.ts | 3 +- .../lib/io/ios-upload-outline.d.ts | 3 +- types/react-icons/lib/io/ios-upload.d.ts | 3 +- .../lib/io/ios-videocam-outline.d.ts | 3 +- types/react-icons/lib/io/ios-videocam.d.ts | 3 +- types/react-icons/lib/io/ios-volume-high.d.ts | 3 +- types/react-icons/lib/io/ios-volume-low.d.ts | 3 +- .../lib/io/ios-wineglass-outline.d.ts | 3 +- types/react-icons/lib/io/ios-wineglass.d.ts | 3 +- .../react-icons/lib/io/ios-world-outline.d.ts | 3 +- types/react-icons/lib/io/ios-world.d.ts | 3 +- types/react-icons/lib/io/ipad.d.ts | 3 +- types/react-icons/lib/io/iphone.d.ts | 3 +- types/react-icons/lib/io/ipod.d.ts | 3 +- types/react-icons/lib/io/jet.d.ts | 3 +- types/react-icons/lib/io/key.d.ts | 3 +- types/react-icons/lib/io/knife.d.ts | 3 +- types/react-icons/lib/io/laptop.d.ts | 3 +- types/react-icons/lib/io/leaf.d.ts | 3 +- types/react-icons/lib/io/levels.d.ts | 3 +- types/react-icons/lib/io/lightbulb.d.ts | 3 +- types/react-icons/lib/io/link.d.ts | 3 +- types/react-icons/lib/io/load-a.d.ts | 3 +- types/react-icons/lib/io/load-b.d.ts | 3 +- types/react-icons/lib/io/load-c.d.ts | 3 +- types/react-icons/lib/io/load-d.d.ts | 3 +- types/react-icons/lib/io/location.d.ts | 3 +- .../react-icons/lib/io/lock-combination.d.ts | 3 +- types/react-icons/lib/io/locked.d.ts | 3 +- types/react-icons/lib/io/log-in.d.ts | 3 +- types/react-icons/lib/io/log-out.d.ts | 3 +- types/react-icons/lib/io/loop.d.ts | 3 +- types/react-icons/lib/io/magnet.d.ts | 3 +- types/react-icons/lib/io/male.d.ts | 3 +- types/react-icons/lib/io/man.d.ts | 3 +- types/react-icons/lib/io/map.d.ts | 3 +- types/react-icons/lib/io/medkit.d.ts | 3 +- types/react-icons/lib/io/merge.d.ts | 3 +- types/react-icons/lib/io/mic-a.d.ts | 3 +- types/react-icons/lib/io/mic-b.d.ts | 3 +- types/react-icons/lib/io/mic-c.d.ts | 3 +- types/react-icons/lib/io/minus-circled.d.ts | 3 +- types/react-icons/lib/io/minus-round.d.ts | 3 +- types/react-icons/lib/io/minus.d.ts | 3 +- types/react-icons/lib/io/model-s.d.ts | 3 +- types/react-icons/lib/io/monitor.d.ts | 3 +- types/react-icons/lib/io/more.d.ts | 3 +- types/react-icons/lib/io/mouse.d.ts | 3 +- types/react-icons/lib/io/music-note.d.ts | 3 +- types/react-icons/lib/io/navicon-round.d.ts | 3 +- types/react-icons/lib/io/navicon.d.ts | 3 +- types/react-icons/lib/io/navigate.d.ts | 3 +- types/react-icons/lib/io/network.d.ts | 3 +- types/react-icons/lib/io/no-smoking.d.ts | 3 +- types/react-icons/lib/io/nuclear.d.ts | 3 +- types/react-icons/lib/io/outlet.d.ts | 3 +- types/react-icons/lib/io/paintbrush.d.ts | 3 +- types/react-icons/lib/io/paintbucket.d.ts | 3 +- types/react-icons/lib/io/paper-airplane.d.ts | 3 +- types/react-icons/lib/io/paperclip.d.ts | 3 +- types/react-icons/lib/io/pause.d.ts | 3 +- types/react-icons/lib/io/person-add.d.ts | 3 +- types/react-icons/lib/io/person-stalker.d.ts | 3 +- types/react-icons/lib/io/person.d.ts | 3 +- types/react-icons/lib/io/pie-graph.d.ts | 3 +- types/react-icons/lib/io/pin.d.ts | 3 +- types/react-icons/lib/io/pinpoint.d.ts | 3 +- types/react-icons/lib/io/pizza.d.ts | 3 +- types/react-icons/lib/io/plane.d.ts | 3 +- types/react-icons/lib/io/planet.d.ts | 3 +- types/react-icons/lib/io/play.d.ts | 3 +- types/react-icons/lib/io/playstation.d.ts | 3 +- types/react-icons/lib/io/plus-circled.d.ts | 3 +- types/react-icons/lib/io/plus-round.d.ts | 3 +- types/react-icons/lib/io/plus.d.ts | 3 +- types/react-icons/lib/io/podium.d.ts | 3 +- types/react-icons/lib/io/pound.d.ts | 3 +- types/react-icons/lib/io/power.d.ts | 3 +- types/react-icons/lib/io/pricetag.d.ts | 3 +- types/react-icons/lib/io/pricetags.d.ts | 3 +- types/react-icons/lib/io/printer.d.ts | 3 +- types/react-icons/lib/io/pull-request.d.ts | 3 +- types/react-icons/lib/io/qr-scanner.d.ts | 3 +- types/react-icons/lib/io/quote.d.ts | 3 +- types/react-icons/lib/io/radio-waves.d.ts | 3 +- types/react-icons/lib/io/record.d.ts | 3 +- types/react-icons/lib/io/refresh.d.ts | 3 +- types/react-icons/lib/io/reply-all.d.ts | 3 +- types/react-icons/lib/io/reply.d.ts | 3 +- types/react-icons/lib/io/ribbon-a.d.ts | 3 +- types/react-icons/lib/io/ribbon-b.d.ts | 3 +- types/react-icons/lib/io/sad-outline.d.ts | 3 +- types/react-icons/lib/io/sad.d.ts | 3 +- types/react-icons/lib/io/scissors.d.ts | 3 +- types/react-icons/lib/io/search.d.ts | 3 +- types/react-icons/lib/io/settings.d.ts | 3 +- types/react-icons/lib/io/share.d.ts | 3 +- types/react-icons/lib/io/shuffle.d.ts | 3 +- types/react-icons/lib/io/skip-backward.d.ts | 3 +- types/react-icons/lib/io/skip-forward.d.ts | 3 +- .../lib/io/social-android-outline.d.ts | 3 +- types/react-icons/lib/io/social-android.d.ts | 3 +- .../lib/io/social-angular-outline.d.ts | 3 +- types/react-icons/lib/io/social-angular.d.ts | 3 +- .../lib/io/social-apple-outline.d.ts | 3 +- types/react-icons/lib/io/social-apple.d.ts | 3 +- .../lib/io/social-bitcoin-outline.d.ts | 3 +- types/react-icons/lib/io/social-bitcoin.d.ts | 3 +- .../lib/io/social-buffer-outline.d.ts | 3 +- types/react-icons/lib/io/social-buffer.d.ts | 3 +- .../lib/io/social-chrome-outline.d.ts | 3 +- types/react-icons/lib/io/social-chrome.d.ts | 3 +- .../lib/io/social-codepen-outline.d.ts | 3 +- types/react-icons/lib/io/social-codepen.d.ts | 3 +- .../lib/io/social-css3-outline.d.ts | 3 +- types/react-icons/lib/io/social-css3.d.ts | 3 +- .../lib/io/social-designernews-outline.d.ts | 3 +- .../lib/io/social-designernews.d.ts | 3 +- .../lib/io/social-dribbble-outline.d.ts | 3 +- types/react-icons/lib/io/social-dribbble.d.ts | 3 +- .../lib/io/social-dropbox-outline.d.ts | 3 +- types/react-icons/lib/io/social-dropbox.d.ts | 3 +- .../lib/io/social-euro-outline.d.ts | 3 +- types/react-icons/lib/io/social-euro.d.ts | 3 +- .../lib/io/social-facebook-outline.d.ts | 3 +- types/react-icons/lib/io/social-facebook.d.ts | 3 +- .../lib/io/social-foursquare-outline.d.ts | 3 +- .../react-icons/lib/io/social-foursquare.d.ts | 3 +- .../lib/io/social-freebsd-devil.d.ts | 3 +- .../lib/io/social-github-outline.d.ts | 3 +- types/react-icons/lib/io/social-github.d.ts | 3 +- .../lib/io/social-google-outline.d.ts | 3 +- types/react-icons/lib/io/social-google.d.ts | 3 +- .../lib/io/social-googleplus-outline.d.ts | 3 +- .../react-icons/lib/io/social-googleplus.d.ts | 3 +- .../lib/io/social-hackernews-outline.d.ts | 3 +- .../react-icons/lib/io/social-hackernews.d.ts | 3 +- .../lib/io/social-html5-outline.d.ts | 3 +- types/react-icons/lib/io/social-html5.d.ts | 3 +- .../lib/io/social-instagram-outline.d.ts | 3 +- .../react-icons/lib/io/social-instagram.d.ts | 3 +- .../lib/io/social-javascript-outline.d.ts | 3 +- .../react-icons/lib/io/social-javascript.d.ts | 3 +- .../lib/io/social-linkedin-outline.d.ts | 3 +- types/react-icons/lib/io/social-linkedin.d.ts | 3 +- types/react-icons/lib/io/social-markdown.d.ts | 3 +- types/react-icons/lib/io/social-nodejs.d.ts | 3 +- types/react-icons/lib/io/social-octocat.d.ts | 3 +- .../lib/io/social-pinterest-outline.d.ts | 3 +- .../react-icons/lib/io/social-pinterest.d.ts | 3 +- types/react-icons/lib/io/social-python.d.ts | 3 +- .../lib/io/social-reddit-outline.d.ts | 3 +- types/react-icons/lib/io/social-reddit.d.ts | 3 +- .../lib/io/social-rss-outline.d.ts | 3 +- types/react-icons/lib/io/social-rss.d.ts | 3 +- types/react-icons/lib/io/social-sass.d.ts | 3 +- .../lib/io/social-skype-outline.d.ts | 3 +- types/react-icons/lib/io/social-skype.d.ts | 3 +- .../lib/io/social-snapchat-outline.d.ts | 3 +- types/react-icons/lib/io/social-snapchat.d.ts | 3 +- .../lib/io/social-tumblr-outline.d.ts | 3 +- types/react-icons/lib/io/social-tumblr.d.ts | 3 +- types/react-icons/lib/io/social-tux.d.ts | 3 +- .../lib/io/social-twitch-outline.d.ts | 3 +- types/react-icons/lib/io/social-twitch.d.ts | 3 +- .../lib/io/social-twitter-outline.d.ts | 3 +- types/react-icons/lib/io/social-twitter.d.ts | 3 +- .../lib/io/social-usd-outline.d.ts | 3 +- types/react-icons/lib/io/social-usd.d.ts | 3 +- .../lib/io/social-vimeo-outline.d.ts | 3 +- types/react-icons/lib/io/social-vimeo.d.ts | 3 +- .../lib/io/social-whatsapp-outline.d.ts | 3 +- types/react-icons/lib/io/social-whatsapp.d.ts | 3 +- .../lib/io/social-windows-outline.d.ts | 3 +- types/react-icons/lib/io/social-windows.d.ts | 3 +- .../lib/io/social-wordpress-outline.d.ts | 3 +- .../react-icons/lib/io/social-wordpress.d.ts | 3 +- .../lib/io/social-yahoo-outline.d.ts | 3 +- types/react-icons/lib/io/social-yahoo.d.ts | 3 +- .../lib/io/social-yen-outline.d.ts | 3 +- types/react-icons/lib/io/social-yen.d.ts | 3 +- .../lib/io/social-youtube-outline.d.ts | 3 +- types/react-icons/lib/io/social-youtube.d.ts | 3 +- .../react-icons/lib/io/soup-can-outline.d.ts | 3 +- types/react-icons/lib/io/soup-can.d.ts | 3 +- types/react-icons/lib/io/speakerphone.d.ts | 3 +- types/react-icons/lib/io/speedometer.d.ts | 3 +- types/react-icons/lib/io/spoon.d.ts | 3 +- types/react-icons/lib/io/star.d.ts | 3 +- types/react-icons/lib/io/stats-bars.d.ts | 3 +- types/react-icons/lib/io/steam.d.ts | 3 +- types/react-icons/lib/io/stop.d.ts | 3 +- types/react-icons/lib/io/thermometer.d.ts | 3 +- types/react-icons/lib/io/thumbsdown.d.ts | 3 +- types/react-icons/lib/io/thumbsup.d.ts | 3 +- types/react-icons/lib/io/toggle-filled.d.ts | 3 +- types/react-icons/lib/io/toggle.d.ts | 3 +- types/react-icons/lib/io/transgender.d.ts | 3 +- types/react-icons/lib/io/trash-a.d.ts | 3 +- types/react-icons/lib/io/trash-b.d.ts | 3 +- types/react-icons/lib/io/trophy.d.ts | 3 +- types/react-icons/lib/io/tshirt-outline.d.ts | 3 +- types/react-icons/lib/io/tshirt.d.ts | 3 +- types/react-icons/lib/io/umbrella.d.ts | 3 +- types/react-icons/lib/io/university.d.ts | 3 +- types/react-icons/lib/io/unlocked.d.ts | 3 +- types/react-icons/lib/io/upload.d.ts | 3 +- types/react-icons/lib/io/usb.d.ts | 3 +- types/react-icons/lib/io/videocamera.d.ts | 3 +- types/react-icons/lib/io/volume-high.d.ts | 3 +- types/react-icons/lib/io/volume-low.d.ts | 3 +- types/react-icons/lib/io/volume-medium.d.ts | 3 +- types/react-icons/lib/io/volume-mute.d.ts | 3 +- types/react-icons/lib/io/wand.d.ts | 3 +- types/react-icons/lib/io/waterdrop.d.ts | 3 +- types/react-icons/lib/io/wifi.d.ts | 3 +- types/react-icons/lib/io/wineglass.d.ts | 3 +- types/react-icons/lib/io/woman.d.ts | 3 +- types/react-icons/lib/io/wrench.d.ts | 3 +- types/react-icons/lib/io/xbox.d.ts | 3 +- types/react-icons/lib/md/3d-rotation.d.ts | 3 +- types/react-icons/lib/md/ac-unit.d.ts | 3 +- types/react-icons/lib/md/access-alarm.d.ts | 3 +- types/react-icons/lib/md/access-alarms.d.ts | 3 +- types/react-icons/lib/md/access-time.d.ts | 3 +- types/react-icons/lib/md/accessibility.d.ts | 3 +- types/react-icons/lib/md/accessible.d.ts | 3 +- .../lib/md/account-balance-wallet.d.ts | 3 +- types/react-icons/lib/md/account-balance.d.ts | 3 +- types/react-icons/lib/md/account-box.d.ts | 3 +- types/react-icons/lib/md/account-circle.d.ts | 3 +- types/react-icons/lib/md/adb.d.ts | 3 +- types/react-icons/lib/md/add-a-photo.d.ts | 3 +- types/react-icons/lib/md/add-alarm.d.ts | 3 +- types/react-icons/lib/md/add-alert.d.ts | 3 +- types/react-icons/lib/md/add-box.d.ts | 3 +- .../lib/md/add-circle-outline.d.ts | 3 +- types/react-icons/lib/md/add-circle.d.ts | 3 +- types/react-icons/lib/md/add-location.d.ts | 3 +- .../react-icons/lib/md/add-shopping-cart.d.ts | 3 +- types/react-icons/lib/md/add-to-photos.d.ts | 3 +- types/react-icons/lib/md/add-to-queue.d.ts | 3 +- types/react-icons/lib/md/add.d.ts | 3 +- types/react-icons/lib/md/adjust.d.ts | 3 +- .../lib/md/airline-seat-flat-angled.d.ts | 3 +- .../react-icons/lib/md/airline-seat-flat.d.ts | 3 +- .../lib/md/airline-seat-individual-suite.d.ts | 3 +- .../lib/md/airline-seat-legroom-extra.d.ts | 3 +- .../lib/md/airline-seat-legroom-normal.d.ts | 3 +- .../lib/md/airline-seat-legroom-reduced.d.ts | 3 +- .../lib/md/airline-seat-recline-extra.d.ts | 3 +- .../lib/md/airline-seat-recline-normal.d.ts | 3 +- .../lib/md/airplanemode-active.d.ts | 3 +- .../lib/md/airplanemode-inactive.d.ts | 3 +- types/react-icons/lib/md/airplay.d.ts | 3 +- types/react-icons/lib/md/airport-shuttle.d.ts | 3 +- types/react-icons/lib/md/alarm-add.d.ts | 3 +- types/react-icons/lib/md/alarm-off.d.ts | 3 +- types/react-icons/lib/md/alarm-on.d.ts | 3 +- types/react-icons/lib/md/alarm.d.ts | 3 +- types/react-icons/lib/md/album.d.ts | 3 +- types/react-icons/lib/md/all-inclusive.d.ts | 3 +- types/react-icons/lib/md/all-out.d.ts | 3 +- types/react-icons/lib/md/android.d.ts | 3 +- types/react-icons/lib/md/announcement.d.ts | 3 +- types/react-icons/lib/md/apps.d.ts | 3 +- types/react-icons/lib/md/archive.d.ts | 3 +- types/react-icons/lib/md/arrow-back.d.ts | 3 +- types/react-icons/lib/md/arrow-downward.d.ts | 3 +- .../lib/md/arrow-drop-down-circle.d.ts | 3 +- types/react-icons/lib/md/arrow-drop-down.d.ts | 3 +- types/react-icons/lib/md/arrow-drop-up.d.ts | 3 +- types/react-icons/lib/md/arrow-forward.d.ts | 3 +- types/react-icons/lib/md/arrow-upward.d.ts | 3 +- types/react-icons/lib/md/art-track.d.ts | 3 +- types/react-icons/lib/md/aspect-ratio.d.ts | 3 +- types/react-icons/lib/md/assessment.d.ts | 3 +- types/react-icons/lib/md/assignment-ind.d.ts | 3 +- types/react-icons/lib/md/assignment-late.d.ts | 3 +- .../react-icons/lib/md/assignment-return.d.ts | 3 +- .../lib/md/assignment-returned.d.ts | 3 +- .../lib/md/assignment-turned-in.d.ts | 3 +- types/react-icons/lib/md/assignment.d.ts | 3 +- types/react-icons/lib/md/assistant-photo.d.ts | 3 +- types/react-icons/lib/md/assistant.d.ts | 3 +- types/react-icons/lib/md/attach-file.d.ts | 3 +- types/react-icons/lib/md/attach-money.d.ts | 3 +- types/react-icons/lib/md/attachment.d.ts | 3 +- types/react-icons/lib/md/audiotrack.d.ts | 3 +- types/react-icons/lib/md/autorenew.d.ts | 3 +- types/react-icons/lib/md/av-timer.d.ts | 3 +- types/react-icons/lib/md/backspace.d.ts | 3 +- types/react-icons/lib/md/backup.d.ts | 3 +- types/react-icons/lib/md/battery-alert.d.ts | 3 +- .../lib/md/battery-charging-full.d.ts | 3 +- types/react-icons/lib/md/battery-full.d.ts | 3 +- types/react-icons/lib/md/battery-std.d.ts | 3 +- types/react-icons/lib/md/battery-unknown.d.ts | 3 +- types/react-icons/lib/md/beach-access.d.ts | 3 +- types/react-icons/lib/md/beenhere.d.ts | 3 +- types/react-icons/lib/md/block.d.ts | 3 +- types/react-icons/lib/md/bluetooth-audio.d.ts | 3 +- .../lib/md/bluetooth-connected.d.ts | 3 +- .../lib/md/bluetooth-disabled.d.ts | 3 +- .../lib/md/bluetooth-searching.d.ts | 3 +- types/react-icons/lib/md/bluetooth.d.ts | 3 +- types/react-icons/lib/md/blur-circular.d.ts | 3 +- types/react-icons/lib/md/blur-linear.d.ts | 3 +- types/react-icons/lib/md/blur-off.d.ts | 3 +- types/react-icons/lib/md/blur-on.d.ts | 3 +- types/react-icons/lib/md/book.d.ts | 3 +- .../react-icons/lib/md/bookmark-outline.d.ts | 3 +- types/react-icons/lib/md/bookmark.d.ts | 3 +- types/react-icons/lib/md/border-all.d.ts | 3 +- types/react-icons/lib/md/border-bottom.d.ts | 3 +- types/react-icons/lib/md/border-clear.d.ts | 3 +- types/react-icons/lib/md/border-color.d.ts | 3 +- .../react-icons/lib/md/border-horizontal.d.ts | 3 +- types/react-icons/lib/md/border-inner.d.ts | 3 +- types/react-icons/lib/md/border-left.d.ts | 3 +- types/react-icons/lib/md/border-outer.d.ts | 3 +- types/react-icons/lib/md/border-right.d.ts | 3 +- types/react-icons/lib/md/border-style.d.ts | 3 +- types/react-icons/lib/md/border-top.d.ts | 3 +- types/react-icons/lib/md/border-vertical.d.ts | 3 +- .../lib/md/branding-watermark.d.ts | 3 +- types/react-icons/lib/md/brightness-1.d.ts | 3 +- types/react-icons/lib/md/brightness-2.d.ts | 3 +- types/react-icons/lib/md/brightness-3.d.ts | 3 +- types/react-icons/lib/md/brightness-4.d.ts | 3 +- types/react-icons/lib/md/brightness-5.d.ts | 3 +- types/react-icons/lib/md/brightness-6.d.ts | 3 +- types/react-icons/lib/md/brightness-7.d.ts | 3 +- types/react-icons/lib/md/brightness-auto.d.ts | 3 +- types/react-icons/lib/md/brightness-high.d.ts | 3 +- types/react-icons/lib/md/brightness-low.d.ts | 3 +- .../react-icons/lib/md/brightness-medium.d.ts | 3 +- types/react-icons/lib/md/broken-image.d.ts | 3 +- types/react-icons/lib/md/brush.d.ts | 3 +- types/react-icons/lib/md/bubble-chart.d.ts | 3 +- types/react-icons/lib/md/bug-report.d.ts | 3 +- types/react-icons/lib/md/build.d.ts | 3 +- types/react-icons/lib/md/burst-mode.d.ts | 3 +- types/react-icons/lib/md/business-center.d.ts | 3 +- types/react-icons/lib/md/business.d.ts | 3 +- types/react-icons/lib/md/cached.d.ts | 3 +- types/react-icons/lib/md/cake.d.ts | 3 +- types/react-icons/lib/md/call-end.d.ts | 3 +- types/react-icons/lib/md/call-made.d.ts | 3 +- types/react-icons/lib/md/call-merge.d.ts | 3 +- .../lib/md/call-missed-outgoing.d.ts | 3 +- types/react-icons/lib/md/call-missed.d.ts | 3 +- types/react-icons/lib/md/call-received.d.ts | 3 +- types/react-icons/lib/md/call-split.d.ts | 3 +- types/react-icons/lib/md/call-to-action.d.ts | 3 +- types/react-icons/lib/md/call.d.ts | 3 +- types/react-icons/lib/md/camera-alt.d.ts | 3 +- types/react-icons/lib/md/camera-enhance.d.ts | 3 +- types/react-icons/lib/md/camera-front.d.ts | 3 +- types/react-icons/lib/md/camera-rear.d.ts | 3 +- types/react-icons/lib/md/camera-roll.d.ts | 3 +- types/react-icons/lib/md/camera.d.ts | 3 +- types/react-icons/lib/md/cancel.d.ts | 3 +- types/react-icons/lib/md/card-giftcard.d.ts | 3 +- types/react-icons/lib/md/card-membership.d.ts | 3 +- types/react-icons/lib/md/card-travel.d.ts | 3 +- types/react-icons/lib/md/casino.d.ts | 3 +- types/react-icons/lib/md/cast-connected.d.ts | 3 +- types/react-icons/lib/md/cast.d.ts | 3 +- .../lib/md/center-focus-strong.d.ts | 3 +- .../react-icons/lib/md/center-focus-weak.d.ts | 3 +- types/react-icons/lib/md/change-history.d.ts | 3 +- .../lib/md/chat-bubble-outline.d.ts | 3 +- types/react-icons/lib/md/chat-bubble.d.ts | 3 +- types/react-icons/lib/md/chat.d.ts | 3 +- .../lib/md/check-box-outline-blank.d.ts | 3 +- types/react-icons/lib/md/check-box.d.ts | 3 +- types/react-icons/lib/md/check-circle.d.ts | 3 +- types/react-icons/lib/md/check.d.ts | 3 +- types/react-icons/lib/md/chevron-left.d.ts | 3 +- types/react-icons/lib/md/chevron-right.d.ts | 3 +- types/react-icons/lib/md/child-care.d.ts | 3 +- types/react-icons/lib/md/child-friendly.d.ts | 3 +- .../lib/md/chrome-reader-mode.d.ts | 3 +- types/react-icons/lib/md/class.d.ts | 3 +- types/react-icons/lib/md/clear-all.d.ts | 3 +- types/react-icons/lib/md/clear.d.ts | 3 +- types/react-icons/lib/md/close.d.ts | 3 +- types/react-icons/lib/md/closed-caption.d.ts | 3 +- types/react-icons/lib/md/cloud-circle.d.ts | 3 +- types/react-icons/lib/md/cloud-done.d.ts | 3 +- types/react-icons/lib/md/cloud-download.d.ts | 3 +- types/react-icons/lib/md/cloud-off.d.ts | 3 +- types/react-icons/lib/md/cloud-queue.d.ts | 3 +- types/react-icons/lib/md/cloud-upload.d.ts | 3 +- types/react-icons/lib/md/cloud.d.ts | 3 +- types/react-icons/lib/md/code.d.ts | 3 +- .../lib/md/collections-bookmark.d.ts | 3 +- types/react-icons/lib/md/collections.d.ts | 3 +- types/react-icons/lib/md/color-lens.d.ts | 3 +- types/react-icons/lib/md/colorize.d.ts | 3 +- types/react-icons/lib/md/comment.d.ts | 3 +- types/react-icons/lib/md/compare-arrows.d.ts | 3 +- types/react-icons/lib/md/compare.d.ts | 3 +- types/react-icons/lib/md/computer.d.ts | 3 +- .../lib/md/confirmation-number.d.ts | 3 +- types/react-icons/lib/md/contact-mail.d.ts | 3 +- types/react-icons/lib/md/contact-phone.d.ts | 3 +- types/react-icons/lib/md/contacts.d.ts | 3 +- types/react-icons/lib/md/content-copy.d.ts | 3 +- types/react-icons/lib/md/content-cut.d.ts | 3 +- types/react-icons/lib/md/content-paste.d.ts | 3 +- .../lib/md/control-point-duplicate.d.ts | 3 +- types/react-icons/lib/md/control-point.d.ts | 3 +- types/react-icons/lib/md/copyright.d.ts | 3 +- .../react-icons/lib/md/create-new-folder.d.ts | 3 +- types/react-icons/lib/md/create.d.ts | 3 +- types/react-icons/lib/md/credit-card.d.ts | 3 +- types/react-icons/lib/md/crop-16-9.d.ts | 3 +- types/react-icons/lib/md/crop-3-2.d.ts | 3 +- types/react-icons/lib/md/crop-5-4.d.ts | 3 +- types/react-icons/lib/md/crop-7-5.d.ts | 3 +- types/react-icons/lib/md/crop-din.d.ts | 3 +- types/react-icons/lib/md/crop-free.d.ts | 3 +- types/react-icons/lib/md/crop-landscape.d.ts | 3 +- types/react-icons/lib/md/crop-original.d.ts | 3 +- types/react-icons/lib/md/crop-portrait.d.ts | 3 +- types/react-icons/lib/md/crop-rotate.d.ts | 3 +- types/react-icons/lib/md/crop-square.d.ts | 3 +- types/react-icons/lib/md/crop.d.ts | 3 +- types/react-icons/lib/md/dashboard.d.ts | 3 +- types/react-icons/lib/md/data-usage.d.ts | 3 +- types/react-icons/lib/md/date-range.d.ts | 3 +- types/react-icons/lib/md/dehaze.d.ts | 3 +- types/react-icons/lib/md/delete-forever.d.ts | 3 +- types/react-icons/lib/md/delete-sweep.d.ts | 3 +- types/react-icons/lib/md/delete.d.ts | 3 +- types/react-icons/lib/md/description.d.ts | 3 +- types/react-icons/lib/md/desktop-mac.d.ts | 3 +- types/react-icons/lib/md/desktop-windows.d.ts | 3 +- types/react-icons/lib/md/details.d.ts | 3 +- types/react-icons/lib/md/developer-board.d.ts | 3 +- types/react-icons/lib/md/developer-mode.d.ts | 3 +- types/react-icons/lib/md/device-hub.d.ts | 3 +- types/react-icons/lib/md/devices-other.d.ts | 3 +- types/react-icons/lib/md/devices.d.ts | 3 +- types/react-icons/lib/md/dialer-sip.d.ts | 3 +- types/react-icons/lib/md/dialpad.d.ts | 3 +- types/react-icons/lib/md/directions-bike.d.ts | 3 +- types/react-icons/lib/md/directions-boat.d.ts | 3 +- types/react-icons/lib/md/directions-bus.d.ts | 3 +- types/react-icons/lib/md/directions-car.d.ts | 3 +- .../react-icons/lib/md/directions-ferry.d.ts | 3 +- .../lib/md/directions-railway.d.ts | 3 +- types/react-icons/lib/md/directions-run.d.ts | 3 +- .../react-icons/lib/md/directions-subway.d.ts | 3 +- .../lib/md/directions-transit.d.ts | 3 +- types/react-icons/lib/md/directions-walk.d.ts | 3 +- types/react-icons/lib/md/directions.d.ts | 3 +- types/react-icons/lib/md/disc-full.d.ts | 3 +- types/react-icons/lib/md/dns.d.ts | 3 +- .../lib/md/do-not-disturb-alt.d.ts | 3 +- .../lib/md/do-not-disturb-off.d.ts | 3 +- types/react-icons/lib/md/do-not-disturb.d.ts | 3 +- types/react-icons/lib/md/dock.d.ts | 3 +- types/react-icons/lib/md/domain.d.ts | 3 +- types/react-icons/lib/md/done-all.d.ts | 3 +- types/react-icons/lib/md/done.d.ts | 3 +- types/react-icons/lib/md/donut-large.d.ts | 3 +- types/react-icons/lib/md/donut-small.d.ts | 3 +- types/react-icons/lib/md/drafts.d.ts | 3 +- types/react-icons/lib/md/drag-handle.d.ts | 3 +- types/react-icons/lib/md/drive-eta.d.ts | 3 +- types/react-icons/lib/md/dvr.d.ts | 3 +- types/react-icons/lib/md/edit-location.d.ts | 3 +- types/react-icons/lib/md/edit.d.ts | 3 +- types/react-icons/lib/md/eject.d.ts | 3 +- types/react-icons/lib/md/email.d.ts | 3 +- .../lib/md/enhanced-encryption.d.ts | 3 +- types/react-icons/lib/md/equalizer.d.ts | 3 +- types/react-icons/lib/md/error-outline.d.ts | 3 +- types/react-icons/lib/md/error.d.ts | 3 +- types/react-icons/lib/md/euro-symbol.d.ts | 3 +- types/react-icons/lib/md/ev-station.d.ts | 3 +- types/react-icons/lib/md/event-available.d.ts | 3 +- types/react-icons/lib/md/event-busy.d.ts | 3 +- types/react-icons/lib/md/event-note.d.ts | 3 +- types/react-icons/lib/md/event-seat.d.ts | 3 +- types/react-icons/lib/md/event.d.ts | 3 +- types/react-icons/lib/md/exit-to-app.d.ts | 3 +- types/react-icons/lib/md/expand-less.d.ts | 3 +- types/react-icons/lib/md/expand-more.d.ts | 3 +- types/react-icons/lib/md/explicit.d.ts | 3 +- types/react-icons/lib/md/explore.d.ts | 3 +- .../react-icons/lib/md/exposure-minus-1.d.ts | 3 +- .../react-icons/lib/md/exposure-minus-2.d.ts | 3 +- types/react-icons/lib/md/exposure-neg-1.d.ts | 3 +- types/react-icons/lib/md/exposure-neg-2.d.ts | 3 +- types/react-icons/lib/md/exposure-plus-1.d.ts | 3 +- types/react-icons/lib/md/exposure-plus-2.d.ts | 3 +- types/react-icons/lib/md/exposure-zero.d.ts | 3 +- types/react-icons/lib/md/exposure.d.ts | 3 +- types/react-icons/lib/md/extension.d.ts | 3 +- types/react-icons/lib/md/face.d.ts | 3 +- types/react-icons/lib/md/fast-forward.d.ts | 3 +- types/react-icons/lib/md/fast-rewind.d.ts | 3 +- types/react-icons/lib/md/favorite-border.d.ts | 3 +- .../react-icons/lib/md/favorite-outline.d.ts | 3 +- types/react-icons/lib/md/favorite.d.ts | 3 +- .../lib/md/featured-play-list.d.ts | 3 +- types/react-icons/lib/md/featured-video.d.ts | 3 +- types/react-icons/lib/md/feedback.d.ts | 3 +- types/react-icons/lib/md/fiber-dvr.d.ts | 3 +- .../lib/md/fiber-manual-record.d.ts | 3 +- types/react-icons/lib/md/fiber-new.d.ts | 3 +- types/react-icons/lib/md/fiber-pin.d.ts | 3 +- .../lib/md/fiber-smart-record.d.ts | 3 +- types/react-icons/lib/md/file-download.d.ts | 3 +- types/react-icons/lib/md/file-upload.d.ts | 3 +- types/react-icons/lib/md/filter-1.d.ts | 3 +- types/react-icons/lib/md/filter-2.d.ts | 3 +- types/react-icons/lib/md/filter-3.d.ts | 3 +- types/react-icons/lib/md/filter-4.d.ts | 3 +- types/react-icons/lib/md/filter-5.d.ts | 3 +- types/react-icons/lib/md/filter-6.d.ts | 3 +- types/react-icons/lib/md/filter-7.d.ts | 3 +- types/react-icons/lib/md/filter-8.d.ts | 3 +- types/react-icons/lib/md/filter-9-plus.d.ts | 3 +- types/react-icons/lib/md/filter-9.d.ts | 3 +- types/react-icons/lib/md/filter-b-and-w.d.ts | 3 +- .../lib/md/filter-center-focus.d.ts | 3 +- types/react-icons/lib/md/filter-drama.d.ts | 3 +- types/react-icons/lib/md/filter-frames.d.ts | 3 +- types/react-icons/lib/md/filter-hdr.d.ts | 3 +- types/react-icons/lib/md/filter-list.d.ts | 3 +- types/react-icons/lib/md/filter-none.d.ts | 3 +- .../react-icons/lib/md/filter-tilt-shift.d.ts | 3 +- types/react-icons/lib/md/filter-vintage.d.ts | 3 +- types/react-icons/lib/md/filter.d.ts | 3 +- types/react-icons/lib/md/find-in-page.d.ts | 3 +- types/react-icons/lib/md/find-replace.d.ts | 3 +- types/react-icons/lib/md/fingerprint.d.ts | 3 +- types/react-icons/lib/md/first-page.d.ts | 3 +- types/react-icons/lib/md/fitness-center.d.ts | 3 +- types/react-icons/lib/md/flag.d.ts | 3 +- types/react-icons/lib/md/flare.d.ts | 3 +- types/react-icons/lib/md/flash-auto.d.ts | 3 +- types/react-icons/lib/md/flash-off.d.ts | 3 +- types/react-icons/lib/md/flash-on.d.ts | 3 +- types/react-icons/lib/md/flight-land.d.ts | 3 +- types/react-icons/lib/md/flight-takeoff.d.ts | 3 +- types/react-icons/lib/md/flight.d.ts | 3 +- types/react-icons/lib/md/flip-to-back.d.ts | 3 +- types/react-icons/lib/md/flip-to-front.d.ts | 3 +- types/react-icons/lib/md/flip.d.ts | 3 +- types/react-icons/lib/md/folder-open.d.ts | 3 +- types/react-icons/lib/md/folder-shared.d.ts | 3 +- types/react-icons/lib/md/folder-special.d.ts | 3 +- types/react-icons/lib/md/folder.d.ts | 3 +- types/react-icons/lib/md/font-download.d.ts | 3 +- .../lib/md/format-align-center.d.ts | 3 +- .../lib/md/format-align-justify.d.ts | 3 +- .../react-icons/lib/md/format-align-left.d.ts | 3 +- .../lib/md/format-align-right.d.ts | 3 +- types/react-icons/lib/md/format-bold.d.ts | 3 +- types/react-icons/lib/md/format-clear.d.ts | 3 +- .../react-icons/lib/md/format-color-fill.d.ts | 3 +- .../lib/md/format-color-reset.d.ts | 3 +- .../react-icons/lib/md/format-color-text.d.ts | 3 +- .../lib/md/format-indent-decrease.d.ts | 3 +- .../lib/md/format-indent-increase.d.ts | 3 +- types/react-icons/lib/md/format-italic.d.ts | 3 +- .../lib/md/format-line-spacing.d.ts | 3 +- .../lib/md/format-list-bulleted.d.ts | 3 +- .../lib/md/format-list-numbered.d.ts | 3 +- types/react-icons/lib/md/format-paint.d.ts | 3 +- types/react-icons/lib/md/format-quote.d.ts | 3 +- types/react-icons/lib/md/format-shapes.d.ts | 3 +- types/react-icons/lib/md/format-size.d.ts | 3 +- .../lib/md/format-strikethrough.d.ts | 3 +- .../lib/md/format-textdirection-l-to-r.d.ts | 3 +- .../lib/md/format-textdirection-r-to-l.d.ts | 3 +- .../react-icons/lib/md/format-underlined.d.ts | 3 +- types/react-icons/lib/md/forum.d.ts | 3 +- types/react-icons/lib/md/forward-10.d.ts | 3 +- types/react-icons/lib/md/forward-30.d.ts | 3 +- types/react-icons/lib/md/forward-5.d.ts | 3 +- types/react-icons/lib/md/forward.d.ts | 3 +- types/react-icons/lib/md/free-breakfast.d.ts | 3 +- types/react-icons/lib/md/fullscreen-exit.d.ts | 3 +- types/react-icons/lib/md/fullscreen.d.ts | 3 +- types/react-icons/lib/md/functions.d.ts | 3 +- types/react-icons/lib/md/g-translate.d.ts | 3 +- types/react-icons/lib/md/gamepad.d.ts | 3 +- types/react-icons/lib/md/games.d.ts | 3 +- types/react-icons/lib/md/gavel.d.ts | 3 +- types/react-icons/lib/md/gesture.d.ts | 3 +- types/react-icons/lib/md/get-app.d.ts | 3 +- types/react-icons/lib/md/gif.d.ts | 3 +- types/react-icons/lib/md/goat.d.ts | 3 +- types/react-icons/lib/md/golf-course.d.ts | 3 +- types/react-icons/lib/md/gps-fixed.d.ts | 3 +- types/react-icons/lib/md/gps-not-fixed.d.ts | 3 +- types/react-icons/lib/md/gps-off.d.ts | 3 +- types/react-icons/lib/md/grade.d.ts | 3 +- types/react-icons/lib/md/gradient.d.ts | 3 +- types/react-icons/lib/md/grain.d.ts | 3 +- types/react-icons/lib/md/graphic-eq.d.ts | 3 +- types/react-icons/lib/md/grid-off.d.ts | 3 +- types/react-icons/lib/md/grid-on.d.ts | 3 +- types/react-icons/lib/md/group-add.d.ts | 3 +- types/react-icons/lib/md/group-work.d.ts | 3 +- types/react-icons/lib/md/group.d.ts | 3 +- types/react-icons/lib/md/hd.d.ts | 3 +- types/react-icons/lib/md/hdr-off.d.ts | 3 +- types/react-icons/lib/md/hdr-on.d.ts | 3 +- types/react-icons/lib/md/hdr-strong.d.ts | 3 +- types/react-icons/lib/md/hdr-weak.d.ts | 3 +- types/react-icons/lib/md/headset-mic.d.ts | 3 +- types/react-icons/lib/md/headset.d.ts | 3 +- types/react-icons/lib/md/healing.d.ts | 3 +- types/react-icons/lib/md/hearing.d.ts | 3 +- types/react-icons/lib/md/help-outline.d.ts | 3 +- types/react-icons/lib/md/help.d.ts | 3 +- types/react-icons/lib/md/high-quality.d.ts | 3 +- types/react-icons/lib/md/highlight-off.d.ts | 3 +- .../react-icons/lib/md/highlight-remove.d.ts | 3 +- types/react-icons/lib/md/highlight.d.ts | 3 +- types/react-icons/lib/md/history.d.ts | 3 +- types/react-icons/lib/md/home.d.ts | 3 +- types/react-icons/lib/md/hot-tub.d.ts | 3 +- types/react-icons/lib/md/hotel.d.ts | 3 +- types/react-icons/lib/md/hourglass-empty.d.ts | 3 +- types/react-icons/lib/md/hourglass-full.d.ts | 3 +- types/react-icons/lib/md/http.d.ts | 3 +- types/react-icons/lib/md/https.d.ts | 3 +- .../lib/md/image-aspect-ratio.d.ts | 3 +- types/react-icons/lib/md/image.d.ts | 3 +- types/react-icons/lib/md/import-contacts.d.ts | 3 +- types/react-icons/lib/md/import-export.d.ts | 3 +- .../react-icons/lib/md/important-devices.d.ts | 3 +- types/react-icons/lib/md/inbox.d.ts | 3 +- .../lib/md/indeterminate-check-box.d.ts | 3 +- types/react-icons/lib/md/index.d.ts | 1892 ++++++++--------- types/react-icons/lib/md/info-outline.d.ts | 3 +- types/react-icons/lib/md/info.d.ts | 3 +- types/react-icons/lib/md/input.d.ts | 3 +- types/react-icons/lib/md/insert-chart.d.ts | 3 +- types/react-icons/lib/md/insert-comment.d.ts | 3 +- .../react-icons/lib/md/insert-drive-file.d.ts | 3 +- types/react-icons/lib/md/insert-emoticon.d.ts | 3 +- .../react-icons/lib/md/insert-invitation.d.ts | 3 +- types/react-icons/lib/md/insert-link.d.ts | 3 +- types/react-icons/lib/md/insert-photo.d.ts | 3 +- .../react-icons/lib/md/invert-colors-off.d.ts | 3 +- .../react-icons/lib/md/invert-colors-on.d.ts | 3 +- types/react-icons/lib/md/invert-colors.d.ts | 3 +- types/react-icons/lib/md/iso.d.ts | 3 +- .../lib/md/keyboard-arrow-down.d.ts | 3 +- .../lib/md/keyboard-arrow-left.d.ts | 3 +- .../lib/md/keyboard-arrow-right.d.ts | 3 +- .../react-icons/lib/md/keyboard-arrow-up.d.ts | 3 +- .../lib/md/keyboard-backspace.d.ts | 3 +- .../react-icons/lib/md/keyboard-capslock.d.ts | 3 +- .../react-icons/lib/md/keyboard-control.d.ts | 3 +- types/react-icons/lib/md/keyboard-hide.d.ts | 3 +- types/react-icons/lib/md/keyboard-return.d.ts | 3 +- types/react-icons/lib/md/keyboard-tab.d.ts | 3 +- types/react-icons/lib/md/keyboard-voice.d.ts | 3 +- types/react-icons/lib/md/keyboard.d.ts | 3 +- types/react-icons/lib/md/kitchen.d.ts | 3 +- types/react-icons/lib/md/label-outline.d.ts | 3 +- types/react-icons/lib/md/label.d.ts | 3 +- types/react-icons/lib/md/landscape.d.ts | 3 +- types/react-icons/lib/md/language.d.ts | 3 +- .../react-icons/lib/md/laptop-chromebook.d.ts | 3 +- types/react-icons/lib/md/laptop-mac.d.ts | 3 +- types/react-icons/lib/md/laptop-windows.d.ts | 3 +- types/react-icons/lib/md/laptop.d.ts | 3 +- types/react-icons/lib/md/last-page.d.ts | 3 +- types/react-icons/lib/md/launch.d.ts | 3 +- types/react-icons/lib/md/layers-clear.d.ts | 3 +- types/react-icons/lib/md/layers.d.ts | 3 +- types/react-icons/lib/md/leak-add.d.ts | 3 +- types/react-icons/lib/md/leak-remove.d.ts | 3 +- types/react-icons/lib/md/lens.d.ts | 3 +- types/react-icons/lib/md/library-add.d.ts | 3 +- types/react-icons/lib/md/library-books.d.ts | 3 +- types/react-icons/lib/md/library-music.d.ts | 3 +- .../react-icons/lib/md/lightbulb-outline.d.ts | 3 +- types/react-icons/lib/md/line-style.d.ts | 3 +- types/react-icons/lib/md/line-weight.d.ts | 3 +- types/react-icons/lib/md/linear-scale.d.ts | 3 +- types/react-icons/lib/md/link.d.ts | 3 +- types/react-icons/lib/md/linked-camera.d.ts | 3 +- types/react-icons/lib/md/list.d.ts | 3 +- types/react-icons/lib/md/live-help.d.ts | 3 +- types/react-icons/lib/md/live-tv.d.ts | 3 +- types/react-icons/lib/md/local-airport.d.ts | 3 +- types/react-icons/lib/md/local-atm.d.ts | 3 +- .../react-icons/lib/md/local-attraction.d.ts | 3 +- types/react-icons/lib/md/local-bar.d.ts | 3 +- types/react-icons/lib/md/local-cafe.d.ts | 3 +- types/react-icons/lib/md/local-car-wash.d.ts | 3 +- .../lib/md/local-convenience-store.d.ts | 3 +- types/react-icons/lib/md/local-drink.d.ts | 3 +- types/react-icons/lib/md/local-florist.d.ts | 3 +- .../react-icons/lib/md/local-gas-station.d.ts | 3 +- .../lib/md/local-grocery-store.d.ts | 3 +- types/react-icons/lib/md/local-hospital.d.ts | 3 +- types/react-icons/lib/md/local-hotel.d.ts | 3 +- .../lib/md/local-laundry-service.d.ts | 3 +- types/react-icons/lib/md/local-library.d.ts | 3 +- types/react-icons/lib/md/local-mall.d.ts | 3 +- types/react-icons/lib/md/local-movies.d.ts | 3 +- types/react-icons/lib/md/local-offer.d.ts | 3 +- types/react-icons/lib/md/local-parking.d.ts | 3 +- types/react-icons/lib/md/local-pharmacy.d.ts | 3 +- types/react-icons/lib/md/local-phone.d.ts | 3 +- types/react-icons/lib/md/local-pizza.d.ts | 3 +- types/react-icons/lib/md/local-play.d.ts | 3 +- .../react-icons/lib/md/local-post-office.d.ts | 3 +- .../react-icons/lib/md/local-print-shop.d.ts | 3 +- .../react-icons/lib/md/local-restaurant.d.ts | 3 +- types/react-icons/lib/md/local-see.d.ts | 3 +- types/react-icons/lib/md/local-shipping.d.ts | 3 +- types/react-icons/lib/md/local-taxi.d.ts | 3 +- types/react-icons/lib/md/location-city.d.ts | 3 +- .../react-icons/lib/md/location-disabled.d.ts | 3 +- .../react-icons/lib/md/location-history.d.ts | 3 +- types/react-icons/lib/md/location-off.d.ts | 3 +- types/react-icons/lib/md/location-on.d.ts | 3 +- .../lib/md/location-searching.d.ts | 3 +- types/react-icons/lib/md/lock-open.d.ts | 3 +- types/react-icons/lib/md/lock-outline.d.ts | 3 +- types/react-icons/lib/md/lock.d.ts | 3 +- types/react-icons/lib/md/looks-3.d.ts | 3 +- types/react-icons/lib/md/looks-4.d.ts | 3 +- types/react-icons/lib/md/looks-5.d.ts | 3 +- types/react-icons/lib/md/looks-6.d.ts | 3 +- types/react-icons/lib/md/looks-one.d.ts | 3 +- types/react-icons/lib/md/looks-two.d.ts | 3 +- types/react-icons/lib/md/looks.d.ts | 3 +- types/react-icons/lib/md/loop.d.ts | 3 +- types/react-icons/lib/md/loupe.d.ts | 3 +- types/react-icons/lib/md/low-priority.d.ts | 3 +- types/react-icons/lib/md/loyalty.d.ts | 3 +- types/react-icons/lib/md/mail-outline.d.ts | 3 +- types/react-icons/lib/md/mail.d.ts | 3 +- types/react-icons/lib/md/map.d.ts | 3 +- .../lib/md/markunread-mailbox.d.ts | 3 +- types/react-icons/lib/md/markunread.d.ts | 3 +- types/react-icons/lib/md/memory.d.ts | 3 +- types/react-icons/lib/md/menu.d.ts | 3 +- types/react-icons/lib/md/merge-type.d.ts | 3 +- types/react-icons/lib/md/message.d.ts | 3 +- types/react-icons/lib/md/mic-none.d.ts | 3 +- types/react-icons/lib/md/mic-off.d.ts | 3 +- types/react-icons/lib/md/mic.d.ts | 3 +- types/react-icons/lib/md/mms.d.ts | 3 +- types/react-icons/lib/md/mode-comment.d.ts | 3 +- types/react-icons/lib/md/mode-edit.d.ts | 3 +- types/react-icons/lib/md/monetization-on.d.ts | 3 +- types/react-icons/lib/md/money-off.d.ts | 3 +- .../react-icons/lib/md/monochrome-photos.d.ts | 3 +- types/react-icons/lib/md/mood-bad.d.ts | 3 +- types/react-icons/lib/md/mood.d.ts | 3 +- types/react-icons/lib/md/more-horiz.d.ts | 3 +- types/react-icons/lib/md/more-vert.d.ts | 3 +- types/react-icons/lib/md/more.d.ts | 3 +- types/react-icons/lib/md/motorcycle.d.ts | 3 +- types/react-icons/lib/md/mouse.d.ts | 3 +- types/react-icons/lib/md/move-to-inbox.d.ts | 3 +- types/react-icons/lib/md/movie-creation.d.ts | 3 +- types/react-icons/lib/md/movie-filter.d.ts | 3 +- types/react-icons/lib/md/movie.d.ts | 3 +- types/react-icons/lib/md/multiline-chart.d.ts | 3 +- types/react-icons/lib/md/music-note.d.ts | 3 +- types/react-icons/lib/md/music-video.d.ts | 3 +- types/react-icons/lib/md/my-location.d.ts | 3 +- types/react-icons/lib/md/nature-people.d.ts | 3 +- types/react-icons/lib/md/nature.d.ts | 3 +- types/react-icons/lib/md/navigate-before.d.ts | 3 +- types/react-icons/lib/md/navigate-next.d.ts | 3 +- types/react-icons/lib/md/navigation.d.ts | 3 +- types/react-icons/lib/md/near-me.d.ts | 3 +- types/react-icons/lib/md/network-cell.d.ts | 3 +- types/react-icons/lib/md/network-check.d.ts | 3 +- types/react-icons/lib/md/network-locked.d.ts | 3 +- types/react-icons/lib/md/network-wifi.d.ts | 3 +- types/react-icons/lib/md/new-releases.d.ts | 3 +- types/react-icons/lib/md/next-week.d.ts | 3 +- types/react-icons/lib/md/nfc.d.ts | 3 +- types/react-icons/lib/md/no-encryption.d.ts | 3 +- types/react-icons/lib/md/no-sim.d.ts | 3 +- types/react-icons/lib/md/not-interested.d.ts | 3 +- types/react-icons/lib/md/note-add.d.ts | 3 +- types/react-icons/lib/md/note.d.ts | 3 +- .../lib/md/notifications-active.d.ts | 3 +- .../lib/md/notifications-none.d.ts | 3 +- .../react-icons/lib/md/notifications-off.d.ts | 3 +- .../lib/md/notifications-paused.d.ts | 3 +- types/react-icons/lib/md/notifications.d.ts | 3 +- types/react-icons/lib/md/now-wallpaper.d.ts | 3 +- types/react-icons/lib/md/now-widgets.d.ts | 3 +- types/react-icons/lib/md/offline-pin.d.ts | 3 +- types/react-icons/lib/md/ondemand-video.d.ts | 3 +- types/react-icons/lib/md/opacity.d.ts | 3 +- types/react-icons/lib/md/open-in-browser.d.ts | 3 +- types/react-icons/lib/md/open-in-new.d.ts | 3 +- types/react-icons/lib/md/open-with.d.ts | 3 +- types/react-icons/lib/md/pages.d.ts | 3 +- types/react-icons/lib/md/pageview.d.ts | 3 +- types/react-icons/lib/md/palette.d.ts | 3 +- types/react-icons/lib/md/pan-tool.d.ts | 3 +- .../react-icons/lib/md/panorama-fish-eye.d.ts | 3 +- .../lib/md/panorama-horizontal.d.ts | 3 +- .../react-icons/lib/md/panorama-vertical.d.ts | 3 +- .../lib/md/panorama-wide-angle.d.ts | 3 +- types/react-icons/lib/md/panorama.d.ts | 3 +- types/react-icons/lib/md/party-mode.d.ts | 3 +- .../lib/md/pause-circle-filled.d.ts | 3 +- .../lib/md/pause-circle-outline.d.ts | 3 +- types/react-icons/lib/md/pause.d.ts | 3 +- types/react-icons/lib/md/payment.d.ts | 3 +- types/react-icons/lib/md/people-outline.d.ts | 3 +- types/react-icons/lib/md/people.d.ts | 3 +- types/react-icons/lib/md/perm-camera-mic.d.ts | 3 +- .../lib/md/perm-contact-calendar.d.ts | 3 +- .../react-icons/lib/md/perm-data-setting.d.ts | 3 +- .../lib/md/perm-device-information.d.ts | 3 +- types/react-icons/lib/md/perm-identity.d.ts | 3 +- types/react-icons/lib/md/perm-media.d.ts | 3 +- types/react-icons/lib/md/perm-phone-msg.d.ts | 3 +- types/react-icons/lib/md/perm-scan-wifi.d.ts | 3 +- types/react-icons/lib/md/person-add.d.ts | 3 +- types/react-icons/lib/md/person-outline.d.ts | 3 +- .../react-icons/lib/md/person-pin-circle.d.ts | 3 +- types/react-icons/lib/md/person-pin.d.ts | 3 +- types/react-icons/lib/md/person.d.ts | 3 +- types/react-icons/lib/md/personal-video.d.ts | 3 +- types/react-icons/lib/md/pets.d.ts | 3 +- types/react-icons/lib/md/phone-android.d.ts | 3 +- .../lib/md/phone-bluetooth-speaker.d.ts | 3 +- types/react-icons/lib/md/phone-forwarded.d.ts | 3 +- types/react-icons/lib/md/phone-in-talk.d.ts | 3 +- types/react-icons/lib/md/phone-iphone.d.ts | 3 +- types/react-icons/lib/md/phone-locked.d.ts | 3 +- types/react-icons/lib/md/phone-missed.d.ts | 3 +- types/react-icons/lib/md/phone-paused.d.ts | 3 +- types/react-icons/lib/md/phone.d.ts | 3 +- types/react-icons/lib/md/phonelink-erase.d.ts | 3 +- types/react-icons/lib/md/phonelink-lock.d.ts | 3 +- types/react-icons/lib/md/phonelink-off.d.ts | 3 +- types/react-icons/lib/md/phonelink-ring.d.ts | 3 +- types/react-icons/lib/md/phonelink-setup.d.ts | 3 +- types/react-icons/lib/md/phonelink.d.ts | 3 +- types/react-icons/lib/md/photo-album.d.ts | 3 +- types/react-icons/lib/md/photo-camera.d.ts | 3 +- types/react-icons/lib/md/photo-filter.d.ts | 3 +- types/react-icons/lib/md/photo-library.d.ts | 3 +- .../lib/md/photo-size-select-actual.d.ts | 3 +- .../lib/md/photo-size-select-large.d.ts | 3 +- .../lib/md/photo-size-select-small.d.ts | 3 +- types/react-icons/lib/md/photo.d.ts | 3 +- types/react-icons/lib/md/picture-as-pdf.d.ts | 3 +- .../lib/md/picture-in-picture-alt.d.ts | 3 +- .../lib/md/picture-in-picture.d.ts | 3 +- .../lib/md/pie-chart-outlined.d.ts | 3 +- types/react-icons/lib/md/pie-chart.d.ts | 3 +- types/react-icons/lib/md/pin-drop.d.ts | 3 +- types/react-icons/lib/md/place.d.ts | 3 +- types/react-icons/lib/md/play-arrow.d.ts | 3 +- .../lib/md/play-circle-filled.d.ts | 3 +- .../lib/md/play-circle-outline.d.ts | 3 +- types/react-icons/lib/md/play-for-work.d.ts | 3 +- .../lib/md/playlist-add-check.d.ts | 3 +- types/react-icons/lib/md/playlist-add.d.ts | 3 +- types/react-icons/lib/md/playlist-play.d.ts | 3 +- types/react-icons/lib/md/plus-one.d.ts | 3 +- types/react-icons/lib/md/poll.d.ts | 3 +- types/react-icons/lib/md/polymer.d.ts | 3 +- types/react-icons/lib/md/pool.d.ts | 3 +- .../react-icons/lib/md/portable-wifi-off.d.ts | 3 +- types/react-icons/lib/md/portrait.d.ts | 3 +- types/react-icons/lib/md/power-input.d.ts | 3 +- .../lib/md/power-settings-new.d.ts | 3 +- types/react-icons/lib/md/power.d.ts | 3 +- types/react-icons/lib/md/pregnant-woman.d.ts | 3 +- types/react-icons/lib/md/present-to-all.d.ts | 3 +- types/react-icons/lib/md/print.d.ts | 3 +- types/react-icons/lib/md/priority-high.d.ts | 3 +- types/react-icons/lib/md/public.d.ts | 3 +- types/react-icons/lib/md/publish.d.ts | 3 +- types/react-icons/lib/md/query-builder.d.ts | 3 +- types/react-icons/lib/md/question-answer.d.ts | 3 +- types/react-icons/lib/md/queue-music.d.ts | 3 +- types/react-icons/lib/md/queue-play-next.d.ts | 3 +- types/react-icons/lib/md/queue.d.ts | 3 +- .../lib/md/radio-button-checked.d.ts | 3 +- .../lib/md/radio-button-unchecked.d.ts | 3 +- types/react-icons/lib/md/radio.d.ts | 3 +- types/react-icons/lib/md/rate-review.d.ts | 3 +- types/react-icons/lib/md/receipt.d.ts | 3 +- types/react-icons/lib/md/recent-actors.d.ts | 3 +- .../react-icons/lib/md/record-voice-over.d.ts | 3 +- types/react-icons/lib/md/redeem.d.ts | 3 +- types/react-icons/lib/md/redo.d.ts | 3 +- types/react-icons/lib/md/refresh.d.ts | 3 +- .../lib/md/remove-circle-outline.d.ts | 3 +- types/react-icons/lib/md/remove-circle.d.ts | 3 +- .../react-icons/lib/md/remove-from-queue.d.ts | 3 +- types/react-icons/lib/md/remove-red-eye.d.ts | 3 +- .../lib/md/remove-shopping-cart.d.ts | 3 +- types/react-icons/lib/md/remove.d.ts | 3 +- types/react-icons/lib/md/reorder.d.ts | 3 +- types/react-icons/lib/md/repeat-one.d.ts | 3 +- types/react-icons/lib/md/repeat.d.ts | 3 +- types/react-icons/lib/md/replay-10.d.ts | 3 +- types/react-icons/lib/md/replay-30.d.ts | 3 +- types/react-icons/lib/md/replay-5.d.ts | 3 +- types/react-icons/lib/md/replay.d.ts | 3 +- types/react-icons/lib/md/reply-all.d.ts | 3 +- types/react-icons/lib/md/reply.d.ts | 3 +- types/react-icons/lib/md/report-problem.d.ts | 3 +- types/react-icons/lib/md/report.d.ts | 3 +- types/react-icons/lib/md/restaurant-menu.d.ts | 3 +- types/react-icons/lib/md/restaurant.d.ts | 3 +- types/react-icons/lib/md/restore-page.d.ts | 3 +- types/react-icons/lib/md/restore.d.ts | 3 +- types/react-icons/lib/md/ring-volume.d.ts | 3 +- types/react-icons/lib/md/room-service.d.ts | 3 +- types/react-icons/lib/md/room.d.ts | 3 +- .../lib/md/rotate-90-degrees-ccw.d.ts | 3 +- types/react-icons/lib/md/rotate-left.d.ts | 3 +- types/react-icons/lib/md/rotate-right.d.ts | 3 +- types/react-icons/lib/md/rounded-corner.d.ts | 3 +- types/react-icons/lib/md/router.d.ts | 3 +- types/react-icons/lib/md/rowing.d.ts | 3 +- types/react-icons/lib/md/rss-feed.d.ts | 3 +- types/react-icons/lib/md/rv-hookup.d.ts | 3 +- types/react-icons/lib/md/satellite.d.ts | 3 +- types/react-icons/lib/md/save.d.ts | 3 +- types/react-icons/lib/md/scanner.d.ts | 3 +- types/react-icons/lib/md/schedule.d.ts | 3 +- types/react-icons/lib/md/school.d.ts | 3 +- .../lib/md/screen-lock-landscape.d.ts | 3 +- .../lib/md/screen-lock-portrait.d.ts | 3 +- .../lib/md/screen-lock-rotation.d.ts | 3 +- types/react-icons/lib/md/screen-rotation.d.ts | 3 +- types/react-icons/lib/md/screen-share.d.ts | 3 +- types/react-icons/lib/md/sd-card.d.ts | 3 +- types/react-icons/lib/md/sd-storage.d.ts | 3 +- types/react-icons/lib/md/search.d.ts | 3 +- types/react-icons/lib/md/security.d.ts | 3 +- types/react-icons/lib/md/select-all.d.ts | 3 +- types/react-icons/lib/md/send.d.ts | 3 +- .../lib/md/sentiment-dissatisfied.d.ts | 3 +- .../react-icons/lib/md/sentiment-neutral.d.ts | 3 +- .../lib/md/sentiment-satisfied.d.ts | 3 +- .../lib/md/sentiment-very-dissatisfied.d.ts | 3 +- .../lib/md/sentiment-very-satisfied.d.ts | 3 +- .../lib/md/settings-applications.d.ts | 3 +- .../lib/md/settings-backup-restore.d.ts | 3 +- .../lib/md/settings-bluetooth.d.ts | 3 +- .../lib/md/settings-brightness.d.ts | 3 +- types/react-icons/lib/md/settings-cell.d.ts | 3 +- .../react-icons/lib/md/settings-ethernet.d.ts | 3 +- .../lib/md/settings-input-antenna.d.ts | 3 +- .../lib/md/settings-input-component.d.ts | 3 +- .../lib/md/settings-input-composite.d.ts | 3 +- .../lib/md/settings-input-hdmi.d.ts | 3 +- .../lib/md/settings-input-svideo.d.ts | 3 +- .../react-icons/lib/md/settings-overscan.d.ts | 3 +- types/react-icons/lib/md/settings-phone.d.ts | 3 +- types/react-icons/lib/md/settings-power.d.ts | 3 +- types/react-icons/lib/md/settings-remote.d.ts | 3 +- .../lib/md/settings-system-daydream.d.ts | 3 +- types/react-icons/lib/md/settings-voice.d.ts | 3 +- types/react-icons/lib/md/settings.d.ts | 3 +- types/react-icons/lib/md/share.d.ts | 3 +- types/react-icons/lib/md/shop-two.d.ts | 3 +- types/react-icons/lib/md/shop.d.ts | 3 +- types/react-icons/lib/md/shopping-basket.d.ts | 3 +- types/react-icons/lib/md/shopping-cart.d.ts | 3 +- types/react-icons/lib/md/short-text.d.ts | 3 +- types/react-icons/lib/md/show-chart.d.ts | 3 +- types/react-icons/lib/md/shuffle.d.ts | 3 +- .../lib/md/signal-cellular-4-bar.d.ts | 3 +- ...-cellular-connected-no-internet-4-bar.d.ts | 3 +- .../lib/md/signal-cellular-no-sim.d.ts | 3 +- .../lib/md/signal-cellular-null.d.ts | 3 +- .../lib/md/signal-cellular-off.d.ts | 3 +- .../lib/md/signal-wifi-4-bar-lock.d.ts | 3 +- .../react-icons/lib/md/signal-wifi-4-bar.d.ts | 3 +- types/react-icons/lib/md/signal-wifi-off.d.ts | 3 +- types/react-icons/lib/md/sim-card-alert.d.ts | 3 +- types/react-icons/lib/md/sim-card.d.ts | 3 +- types/react-icons/lib/md/skip-next.d.ts | 3 +- types/react-icons/lib/md/skip-previous.d.ts | 3 +- types/react-icons/lib/md/slideshow.d.ts | 3 +- .../react-icons/lib/md/slow-motion-video.d.ts | 3 +- types/react-icons/lib/md/smartphone.d.ts | 3 +- types/react-icons/lib/md/smoke-free.d.ts | 3 +- types/react-icons/lib/md/smoking-rooms.d.ts | 3 +- types/react-icons/lib/md/sms-failed.d.ts | 3 +- types/react-icons/lib/md/sms.d.ts | 3 +- types/react-icons/lib/md/snooze.d.ts | 3 +- types/react-icons/lib/md/sort-by-alpha.d.ts | 3 +- types/react-icons/lib/md/sort.d.ts | 3 +- types/react-icons/lib/md/spa.d.ts | 3 +- types/react-icons/lib/md/space-bar.d.ts | 3 +- types/react-icons/lib/md/speaker-group.d.ts | 3 +- .../react-icons/lib/md/speaker-notes-off.d.ts | 3 +- types/react-icons/lib/md/speaker-notes.d.ts | 3 +- types/react-icons/lib/md/speaker-phone.d.ts | 3 +- types/react-icons/lib/md/speaker.d.ts | 3 +- types/react-icons/lib/md/spellcheck.d.ts | 3 +- types/react-icons/lib/md/star-border.d.ts | 3 +- types/react-icons/lib/md/star-half.d.ts | 3 +- types/react-icons/lib/md/star-outline.d.ts | 3 +- types/react-icons/lib/md/star.d.ts | 3 +- types/react-icons/lib/md/stars.d.ts | 3 +- .../lib/md/stay-current-landscape.d.ts | 3 +- .../lib/md/stay-current-portrait.d.ts | 3 +- .../lib/md/stay-primary-landscape.d.ts | 3 +- .../lib/md/stay-primary-portrait.d.ts | 3 +- .../react-icons/lib/md/stop-screen-share.d.ts | 3 +- types/react-icons/lib/md/stop.d.ts | 3 +- types/react-icons/lib/md/storage.d.ts | 3 +- .../lib/md/store-mall-directory.d.ts | 3 +- types/react-icons/lib/md/store.d.ts | 3 +- types/react-icons/lib/md/straighten.d.ts | 3 +- types/react-icons/lib/md/streetview.d.ts | 3 +- types/react-icons/lib/md/strikethrough-s.d.ts | 3 +- types/react-icons/lib/md/style.d.ts | 3 +- .../lib/md/subdirectory-arrow-left.d.ts | 3 +- .../lib/md/subdirectory-arrow-right.d.ts | 3 +- types/react-icons/lib/md/subject.d.ts | 3 +- types/react-icons/lib/md/subscriptions.d.ts | 3 +- types/react-icons/lib/md/subtitles.d.ts | 3 +- types/react-icons/lib/md/subway.d.ts | 3 +- .../lib/md/supervisor-account.d.ts | 3 +- types/react-icons/lib/md/surround-sound.d.ts | 3 +- types/react-icons/lib/md/swap-calls.d.ts | 3 +- types/react-icons/lib/md/swap-horiz.d.ts | 3 +- types/react-icons/lib/md/swap-vert.d.ts | 3 +- .../lib/md/swap-vertical-circle.d.ts | 3 +- types/react-icons/lib/md/switch-camera.d.ts | 3 +- types/react-icons/lib/md/switch-video.d.ts | 3 +- types/react-icons/lib/md/sync-disabled.d.ts | 3 +- types/react-icons/lib/md/sync-problem.d.ts | 3 +- types/react-icons/lib/md/sync.d.ts | 3 +- .../react-icons/lib/md/system-update-alt.d.ts | 3 +- types/react-icons/lib/md/system-update.d.ts | 3 +- types/react-icons/lib/md/tab-unselected.d.ts | 3 +- types/react-icons/lib/md/tab.d.ts | 3 +- types/react-icons/lib/md/tablet-android.d.ts | 3 +- types/react-icons/lib/md/tablet-mac.d.ts | 3 +- types/react-icons/lib/md/tablet.d.ts | 3 +- types/react-icons/lib/md/tag-faces.d.ts | 3 +- types/react-icons/lib/md/tap-and-play.d.ts | 3 +- types/react-icons/lib/md/terrain.d.ts | 3 +- types/react-icons/lib/md/text-fields.d.ts | 3 +- types/react-icons/lib/md/text-format.d.ts | 3 +- types/react-icons/lib/md/textsms.d.ts | 3 +- types/react-icons/lib/md/texture.d.ts | 3 +- types/react-icons/lib/md/theaters.d.ts | 3 +- types/react-icons/lib/md/thumb-down.d.ts | 3 +- types/react-icons/lib/md/thumb-up.d.ts | 3 +- types/react-icons/lib/md/thumbs-up-down.d.ts | 3 +- types/react-icons/lib/md/time-to-leave.d.ts | 3 +- types/react-icons/lib/md/timelapse.d.ts | 3 +- types/react-icons/lib/md/timeline.d.ts | 3 +- types/react-icons/lib/md/timer-10.d.ts | 3 +- types/react-icons/lib/md/timer-3.d.ts | 3 +- types/react-icons/lib/md/timer-off.d.ts | 3 +- types/react-icons/lib/md/timer.d.ts | 3 +- types/react-icons/lib/md/title.d.ts | 3 +- types/react-icons/lib/md/toc.d.ts | 3 +- types/react-icons/lib/md/today.d.ts | 3 +- types/react-icons/lib/md/toll.d.ts | 3 +- types/react-icons/lib/md/tonality.d.ts | 3 +- types/react-icons/lib/md/touch-app.d.ts | 3 +- types/react-icons/lib/md/toys.d.ts | 3 +- types/react-icons/lib/md/track-changes.d.ts | 3 +- types/react-icons/lib/md/traffic.d.ts | 3 +- types/react-icons/lib/md/train.d.ts | 3 +- types/react-icons/lib/md/tram.d.ts | 3 +- .../lib/md/transfer-within-a-station.d.ts | 3 +- types/react-icons/lib/md/transform.d.ts | 3 +- types/react-icons/lib/md/translate.d.ts | 3 +- types/react-icons/lib/md/trending-down.d.ts | 3 +- types/react-icons/lib/md/trending-flat.d.ts | 3 +- .../react-icons/lib/md/trending-neutral.d.ts | 3 +- types/react-icons/lib/md/trending-up.d.ts | 3 +- types/react-icons/lib/md/tune.d.ts | 3 +- types/react-icons/lib/md/turned-in-not.d.ts | 3 +- types/react-icons/lib/md/turned-in.d.ts | 3 +- types/react-icons/lib/md/tv.d.ts | 3 +- types/react-icons/lib/md/unarchive.d.ts | 3 +- types/react-icons/lib/md/undo.d.ts | 3 +- types/react-icons/lib/md/unfold-less.d.ts | 3 +- types/react-icons/lib/md/unfold-more.d.ts | 3 +- types/react-icons/lib/md/update.d.ts | 3 +- types/react-icons/lib/md/usb.d.ts | 3 +- types/react-icons/lib/md/verified-user.d.ts | 3 +- .../lib/md/vertical-align-bottom.d.ts | 3 +- .../lib/md/vertical-align-center.d.ts | 3 +- .../lib/md/vertical-align-top.d.ts | 3 +- types/react-icons/lib/md/vibration.d.ts | 3 +- types/react-icons/lib/md/video-call.d.ts | 3 +- .../react-icons/lib/md/video-collection.d.ts | 3 +- types/react-icons/lib/md/video-label.d.ts | 3 +- types/react-icons/lib/md/video-library.d.ts | 3 +- types/react-icons/lib/md/videocam-off.d.ts | 3 +- types/react-icons/lib/md/videocam.d.ts | 3 +- types/react-icons/lib/md/videogame-asset.d.ts | 3 +- types/react-icons/lib/md/view-agenda.d.ts | 3 +- types/react-icons/lib/md/view-array.d.ts | 3 +- types/react-icons/lib/md/view-carousel.d.ts | 3 +- types/react-icons/lib/md/view-column.d.ts | 3 +- .../react-icons/lib/md/view-comfortable.d.ts | 3 +- types/react-icons/lib/md/view-comfy.d.ts | 3 +- types/react-icons/lib/md/view-compact.d.ts | 3 +- types/react-icons/lib/md/view-day.d.ts | 3 +- types/react-icons/lib/md/view-headline.d.ts | 3 +- types/react-icons/lib/md/view-list.d.ts | 3 +- types/react-icons/lib/md/view-module.d.ts | 3 +- types/react-icons/lib/md/view-quilt.d.ts | 3 +- types/react-icons/lib/md/view-stream.d.ts | 3 +- types/react-icons/lib/md/view-week.d.ts | 3 +- types/react-icons/lib/md/vignette.d.ts | 3 +- types/react-icons/lib/md/visibility-off.d.ts | 3 +- types/react-icons/lib/md/visibility.d.ts | 3 +- types/react-icons/lib/md/voice-chat.d.ts | 3 +- types/react-icons/lib/md/voicemail.d.ts | 3 +- types/react-icons/lib/md/volume-down.d.ts | 3 +- types/react-icons/lib/md/volume-mute.d.ts | 3 +- types/react-icons/lib/md/volume-off.d.ts | 3 +- types/react-icons/lib/md/volume-up.d.ts | 3 +- types/react-icons/lib/md/vpn-key.d.ts | 3 +- types/react-icons/lib/md/vpn-lock.d.ts | 3 +- types/react-icons/lib/md/wallpaper.d.ts | 3 +- types/react-icons/lib/md/warning.d.ts | 3 +- types/react-icons/lib/md/watch-later.d.ts | 3 +- types/react-icons/lib/md/watch.d.ts | 3 +- types/react-icons/lib/md/wb-auto.d.ts | 3 +- types/react-icons/lib/md/wb-cloudy.d.ts | 3 +- types/react-icons/lib/md/wb-incandescent.d.ts | 3 +- types/react-icons/lib/md/wb-iridescent.d.ts | 3 +- types/react-icons/lib/md/wb-sunny.d.ts | 3 +- types/react-icons/lib/md/wc.d.ts | 3 +- types/react-icons/lib/md/web-asset.d.ts | 3 +- types/react-icons/lib/md/web.d.ts | 3 +- types/react-icons/lib/md/weekend.d.ts | 3 +- types/react-icons/lib/md/whatshot.d.ts | 3 +- types/react-icons/lib/md/widgets.d.ts | 3 +- types/react-icons/lib/md/wifi-lock.d.ts | 3 +- types/react-icons/lib/md/wifi-tethering.d.ts | 3 +- types/react-icons/lib/md/wifi.d.ts | 3 +- types/react-icons/lib/md/work.d.ts | 3 +- types/react-icons/lib/md/wrap-text.d.ts | 3 +- .../lib/md/youtube-searched-for.d.ts | 3 +- types/react-icons/lib/md/zoom-in.d.ts | 3 +- types/react-icons/lib/md/zoom-out-map.d.ts | 3 +- types/react-icons/lib/md/zoom-out.d.ts | 3 +- .../react-icons/lib/ti/adjust-brightness.d.ts | 3 +- types/react-icons/lib/ti/adjust-contrast.d.ts | 3 +- types/react-icons/lib/ti/anchor-outline.d.ts | 3 +- types/react-icons/lib/ti/anchor.d.ts | 3 +- types/react-icons/lib/ti/archive.d.ts | 3 +- .../lib/ti/arrow-back-outline.d.ts | 3 +- types/react-icons/lib/ti/arrow-back.d.ts | 3 +- .../lib/ti/arrow-down-outline.d.ts | 3 +- .../react-icons/lib/ti/arrow-down-thick.d.ts | 3 +- types/react-icons/lib/ti/arrow-down.d.ts | 3 +- .../lib/ti/arrow-forward-outline.d.ts | 3 +- types/react-icons/lib/ti/arrow-forward.d.ts | 3 +- .../lib/ti/arrow-left-outline.d.ts | 3 +- .../react-icons/lib/ti/arrow-left-thick.d.ts | 3 +- types/react-icons/lib/ti/arrow-left.d.ts | 3 +- .../lib/ti/arrow-loop-outline.d.ts | 3 +- types/react-icons/lib/ti/arrow-loop.d.ts | 3 +- .../lib/ti/arrow-maximise-outline.d.ts | 3 +- types/react-icons/lib/ti/arrow-maximise.d.ts | 3 +- .../lib/ti/arrow-minimise-outline.d.ts | 3 +- types/react-icons/lib/ti/arrow-minimise.d.ts | 3 +- .../lib/ti/arrow-move-outline.d.ts | 3 +- types/react-icons/lib/ti/arrow-move.d.ts | 3 +- .../lib/ti/arrow-repeat-outline.d.ts | 3 +- types/react-icons/lib/ti/arrow-repeat.d.ts | 3 +- .../lib/ti/arrow-right-outline.d.ts | 3 +- .../react-icons/lib/ti/arrow-right-thick.d.ts | 3 +- types/react-icons/lib/ti/arrow-right.d.ts | 3 +- types/react-icons/lib/ti/arrow-shuffle.d.ts | 3 +- .../react-icons/lib/ti/arrow-sorted-down.d.ts | 3 +- types/react-icons/lib/ti/arrow-sorted-up.d.ts | 3 +- .../lib/ti/arrow-sync-outline.d.ts | 3 +- types/react-icons/lib/ti/arrow-sync.d.ts | 3 +- types/react-icons/lib/ti/arrow-unsorted.d.ts | 3 +- .../react-icons/lib/ti/arrow-up-outline.d.ts | 3 +- types/react-icons/lib/ti/arrow-up-thick.d.ts | 3 +- types/react-icons/lib/ti/arrow-up.d.ts | 3 +- types/react-icons/lib/ti/at.d.ts | 3 +- .../lib/ti/attachment-outline.d.ts | 3 +- types/react-icons/lib/ti/attachment.d.ts | 3 +- .../react-icons/lib/ti/backspace-outline.d.ts | 3 +- types/react-icons/lib/ti/backspace.d.ts | 3 +- types/react-icons/lib/ti/battery-charge.d.ts | 3 +- types/react-icons/lib/ti/battery-full.d.ts | 3 +- types/react-icons/lib/ti/battery-high.d.ts | 3 +- types/react-icons/lib/ti/battery-low.d.ts | 3 +- types/react-icons/lib/ti/battery-mid.d.ts | 3 +- types/react-icons/lib/ti/beaker.d.ts | 3 +- types/react-icons/lib/ti/beer.d.ts | 3 +- types/react-icons/lib/ti/bell.d.ts | 3 +- types/react-icons/lib/ti/book.d.ts | 3 +- types/react-icons/lib/ti/bookmark.d.ts | 3 +- types/react-icons/lib/ti/briefcase.d.ts | 3 +- types/react-icons/lib/ti/brush.d.ts | 3 +- types/react-icons/lib/ti/business-card.d.ts | 3 +- types/react-icons/lib/ti/calculator.d.ts | 3 +- .../react-icons/lib/ti/calendar-outline.d.ts | 3 +- types/react-icons/lib/ti/calendar.d.ts | 3 +- .../react-icons/lib/ti/calender-outline.d.ts | 3 +- types/react-icons/lib/ti/calender.d.ts | 3 +- types/react-icons/lib/ti/camera-outline.d.ts | 3 +- types/react-icons/lib/ti/camera.d.ts | 3 +- types/react-icons/lib/ti/cancel-outline.d.ts | 3 +- types/react-icons/lib/ti/cancel.d.ts | 3 +- .../lib/ti/chart-area-outline.d.ts | 3 +- types/react-icons/lib/ti/chart-area.d.ts | 3 +- .../react-icons/lib/ti/chart-bar-outline.d.ts | 3 +- types/react-icons/lib/ti/chart-bar.d.ts | 3 +- .../lib/ti/chart-line-outline.d.ts | 3 +- types/react-icons/lib/ti/chart-line.d.ts | 3 +- .../react-icons/lib/ti/chart-pie-outline.d.ts | 3 +- types/react-icons/lib/ti/chart-pie.d.ts | 3 +- .../lib/ti/chevron-left-outline.d.ts | 3 +- types/react-icons/lib/ti/chevron-left.d.ts | 3 +- .../lib/ti/chevron-right-outline.d.ts | 3 +- types/react-icons/lib/ti/chevron-right.d.ts | 3 +- types/react-icons/lib/ti/clipboard.d.ts | 3 +- .../lib/ti/cloud-storage-outline.d.ts | 3 +- types/react-icons/lib/ti/cloud-storage.d.ts | 3 +- types/react-icons/lib/ti/code-outline.d.ts | 3 +- types/react-icons/lib/ti/code.d.ts | 3 +- types/react-icons/lib/ti/coffee.d.ts | 3 +- types/react-icons/lib/ti/cog-outline.d.ts | 3 +- types/react-icons/lib/ti/cog.d.ts | 3 +- types/react-icons/lib/ti/compass.d.ts | 3 +- types/react-icons/lib/ti/contacts.d.ts | 3 +- types/react-icons/lib/ti/credit-card.d.ts | 3 +- types/react-icons/lib/ti/cross.d.ts | 3 +- types/react-icons/lib/ti/css3.d.ts | 3 +- types/react-icons/lib/ti/database.d.ts | 3 +- types/react-icons/lib/ti/delete-outline.d.ts | 3 +- types/react-icons/lib/ti/delete.d.ts | 3 +- types/react-icons/lib/ti/device-desktop.d.ts | 3 +- types/react-icons/lib/ti/device-laptop.d.ts | 3 +- types/react-icons/lib/ti/device-phone.d.ts | 3 +- types/react-icons/lib/ti/device-tablet.d.ts | 3 +- types/react-icons/lib/ti/directions.d.ts | 3 +- types/react-icons/lib/ti/divide-outline.d.ts | 3 +- types/react-icons/lib/ti/divide.d.ts | 3 +- types/react-icons/lib/ti/document-add.d.ts | 3 +- types/react-icons/lib/ti/document-delete.d.ts | 3 +- types/react-icons/lib/ti/document-text.d.ts | 3 +- types/react-icons/lib/ti/document.d.ts | 3 +- .../react-icons/lib/ti/download-outline.d.ts | 3 +- types/react-icons/lib/ti/download.d.ts | 3 +- types/react-icons/lib/ti/dropbox.d.ts | 3 +- types/react-icons/lib/ti/edit.d.ts | 3 +- types/react-icons/lib/ti/eject-outline.d.ts | 3 +- types/react-icons/lib/ti/eject.d.ts | 3 +- types/react-icons/lib/ti/equals-outline.d.ts | 3 +- types/react-icons/lib/ti/equals.d.ts | 3 +- types/react-icons/lib/ti/export-outline.d.ts | 3 +- types/react-icons/lib/ti/export.d.ts | 3 +- types/react-icons/lib/ti/eye-outline.d.ts | 3 +- types/react-icons/lib/ti/eye.d.ts | 3 +- types/react-icons/lib/ti/feather.d.ts | 3 +- types/react-icons/lib/ti/film.d.ts | 3 +- types/react-icons/lib/ti/filter.d.ts | 3 +- types/react-icons/lib/ti/flag-outline.d.ts | 3 +- types/react-icons/lib/ti/flag.d.ts | 3 +- types/react-icons/lib/ti/flash-outline.d.ts | 3 +- types/react-icons/lib/ti/flash.d.ts | 3 +- types/react-icons/lib/ti/flow-children.d.ts | 3 +- types/react-icons/lib/ti/flow-merge.d.ts | 3 +- types/react-icons/lib/ti/flow-parallel.d.ts | 3 +- types/react-icons/lib/ti/flow-switch.d.ts | 3 +- types/react-icons/lib/ti/folder-add.d.ts | 3 +- types/react-icons/lib/ti/folder-delete.d.ts | 3 +- types/react-icons/lib/ti/folder-open.d.ts | 3 +- types/react-icons/lib/ti/folder.d.ts | 3 +- types/react-icons/lib/ti/gift.d.ts | 3 +- types/react-icons/lib/ti/globe-outline.d.ts | 3 +- types/react-icons/lib/ti/globe.d.ts | 3 +- types/react-icons/lib/ti/group-outline.d.ts | 3 +- types/react-icons/lib/ti/group.d.ts | 3 +- types/react-icons/lib/ti/headphones.d.ts | 3 +- .../lib/ti/heart-full-outline.d.ts | 3 +- .../lib/ti/heart-half-outline.d.ts | 3 +- types/react-icons/lib/ti/heart-outline.d.ts | 3 +- types/react-icons/lib/ti/heart.d.ts | 3 +- types/react-icons/lib/ti/home-outline.d.ts | 3 +- types/react-icons/lib/ti/home.d.ts | 3 +- types/react-icons/lib/ti/html5.d.ts | 3 +- types/react-icons/lib/ti/image-outline.d.ts | 3 +- types/react-icons/lib/ti/image.d.ts | 3 +- types/react-icons/lib/ti/index.d.ts | 678 +++--- .../react-icons/lib/ti/infinity-outline.d.ts | 3 +- types/react-icons/lib/ti/infinity.d.ts | 3 +- .../lib/ti/info-large-outline.d.ts | 3 +- types/react-icons/lib/ti/info-large.d.ts | 3 +- types/react-icons/lib/ti/info-outline.d.ts | 3 +- types/react-icons/lib/ti/info.d.ts | 3 +- .../lib/ti/input-checked-outline.d.ts | 3 +- types/react-icons/lib/ti/input-checked.d.ts | 3 +- types/react-icons/lib/ti/key-outline.d.ts | 3 +- types/react-icons/lib/ti/key.d.ts | 3 +- types/react-icons/lib/ti/keyboard.d.ts | 3 +- types/react-icons/lib/ti/leaf.d.ts | 3 +- types/react-icons/lib/ti/lightbulb.d.ts | 3 +- types/react-icons/lib/ti/link-outline.d.ts | 3 +- types/react-icons/lib/ti/link.d.ts | 3 +- .../lib/ti/location-arrow-outline.d.ts | 3 +- types/react-icons/lib/ti/location-arrow.d.ts | 3 +- .../react-icons/lib/ti/location-outline.d.ts | 3 +- types/react-icons/lib/ti/location.d.ts | 3 +- .../lib/ti/lock-closed-outline.d.ts | 3 +- types/react-icons/lib/ti/lock-closed.d.ts | 3 +- .../react-icons/lib/ti/lock-open-outline.d.ts | 3 +- types/react-icons/lib/ti/lock-open.d.ts | 3 +- types/react-icons/lib/ti/mail.d.ts | 3 +- types/react-icons/lib/ti/map.d.ts | 3 +- .../lib/ti/media-eject-outline.d.ts | 3 +- types/react-icons/lib/ti/media-eject.d.ts | 3 +- .../lib/ti/media-fast-forward-outline.d.ts | 3 +- .../lib/ti/media-fast-forward.d.ts | 3 +- .../lib/ti/media-pause-outline.d.ts | 3 +- types/react-icons/lib/ti/media-pause.d.ts | 3 +- .../lib/ti/media-play-outline.d.ts | 3 +- .../lib/ti/media-play-reverse-outline.d.ts | 3 +- .../lib/ti/media-play-reverse.d.ts | 3 +- types/react-icons/lib/ti/media-play.d.ts | 3 +- .../lib/ti/media-record-outline.d.ts | 3 +- types/react-icons/lib/ti/media-record.d.ts | 3 +- .../lib/ti/media-rewind-outline.d.ts | 3 +- types/react-icons/lib/ti/media-rewind.d.ts | 3 +- .../lib/ti/media-stop-outline.d.ts | 3 +- types/react-icons/lib/ti/media-stop.d.ts | 3 +- types/react-icons/lib/ti/message-typing.d.ts | 3 +- types/react-icons/lib/ti/message.d.ts | 3 +- types/react-icons/lib/ti/messages.d.ts | 3 +- .../lib/ti/microphone-outline.d.ts | 3 +- types/react-icons/lib/ti/microphone.d.ts | 3 +- types/react-icons/lib/ti/minus-outline.d.ts | 3 +- types/react-icons/lib/ti/minus.d.ts | 3 +- types/react-icons/lib/ti/mortar-board.d.ts | 3 +- types/react-icons/lib/ti/news.d.ts | 3 +- types/react-icons/lib/ti/notes-outline.d.ts | 3 +- types/react-icons/lib/ti/notes.d.ts | 3 +- types/react-icons/lib/ti/pen.d.ts | 3 +- types/react-icons/lib/ti/pencil.d.ts | 3 +- types/react-icons/lib/ti/phone-outline.d.ts | 3 +- types/react-icons/lib/ti/phone.d.ts | 3 +- types/react-icons/lib/ti/pi-outline.d.ts | 3 +- types/react-icons/lib/ti/pi.d.ts | 3 +- types/react-icons/lib/ti/pin-outline.d.ts | 3 +- types/react-icons/lib/ti/pin.d.ts | 3 +- types/react-icons/lib/ti/pipette.d.ts | 3 +- types/react-icons/lib/ti/plane-outline.d.ts | 3 +- types/react-icons/lib/ti/plane.d.ts | 3 +- types/react-icons/lib/ti/plug.d.ts | 3 +- types/react-icons/lib/ti/plus-outline.d.ts | 3 +- types/react-icons/lib/ti/plus.d.ts | 3 +- .../lib/ti/point-of-interest-outline.d.ts | 3 +- .../react-icons/lib/ti/point-of-interest.d.ts | 3 +- types/react-icons/lib/ti/power-outline.d.ts | 3 +- types/react-icons/lib/ti/power.d.ts | 3 +- types/react-icons/lib/ti/printer.d.ts | 3 +- types/react-icons/lib/ti/puzzle-outline.d.ts | 3 +- types/react-icons/lib/ti/puzzle.d.ts | 3 +- types/react-icons/lib/ti/radar-outline.d.ts | 3 +- types/react-icons/lib/ti/radar.d.ts | 3 +- types/react-icons/lib/ti/refresh-outline.d.ts | 3 +- types/react-icons/lib/ti/refresh.d.ts | 3 +- types/react-icons/lib/ti/rss-outline.d.ts | 3 +- types/react-icons/lib/ti/rss.d.ts | 3 +- .../react-icons/lib/ti/scissors-outline.d.ts | 3 +- types/react-icons/lib/ti/scissors.d.ts | 3 +- types/react-icons/lib/ti/shopping-bag.d.ts | 3 +- types/react-icons/lib/ti/shopping-cart.d.ts | 3 +- .../lib/ti/social-at-circular.d.ts | 3 +- .../lib/ti/social-dribbble-circular.d.ts | 3 +- types/react-icons/lib/ti/social-dribbble.d.ts | 3 +- .../lib/ti/social-facebook-circular.d.ts | 3 +- types/react-icons/lib/ti/social-facebook.d.ts | 3 +- .../lib/ti/social-flickr-circular.d.ts | 3 +- types/react-icons/lib/ti/social-flickr.d.ts | 3 +- .../lib/ti/social-github-circular.d.ts | 3 +- types/react-icons/lib/ti/social-github.d.ts | 3 +- .../lib/ti/social-google-plus-circular.d.ts | 3 +- .../lib/ti/social-google-plus.d.ts | 3 +- .../lib/ti/social-instagram-circular.d.ts | 3 +- .../react-icons/lib/ti/social-instagram.d.ts | 3 +- .../lib/ti/social-last-fm-circular.d.ts | 3 +- types/react-icons/lib/ti/social-last-fm.d.ts | 3 +- .../lib/ti/social-linkedin-circular.d.ts | 3 +- types/react-icons/lib/ti/social-linkedin.d.ts | 3 +- .../lib/ti/social-pinterest-circular.d.ts | 3 +- .../react-icons/lib/ti/social-pinterest.d.ts | 3 +- .../lib/ti/social-skype-outline.d.ts | 3 +- types/react-icons/lib/ti/social-skype.d.ts | 3 +- .../lib/ti/social-tumbler-circular.d.ts | 3 +- types/react-icons/lib/ti/social-tumbler.d.ts | 3 +- .../lib/ti/social-twitter-circular.d.ts | 3 +- types/react-icons/lib/ti/social-twitter.d.ts | 3 +- .../lib/ti/social-vimeo-circular.d.ts | 3 +- types/react-icons/lib/ti/social-vimeo.d.ts | 3 +- .../lib/ti/social-youtube-circular.d.ts | 3 +- types/react-icons/lib/ti/social-youtube.d.ts | 3 +- .../lib/ti/sort-alphabetically-outline.d.ts | 3 +- .../lib/ti/sort-alphabetically.d.ts | 3 +- .../lib/ti/sort-numerically-outline.d.ts | 3 +- .../react-icons/lib/ti/sort-numerically.d.ts | 3 +- types/react-icons/lib/ti/spanner-outline.d.ts | 3 +- types/react-icons/lib/ti/spanner.d.ts | 3 +- types/react-icons/lib/ti/spiral.d.ts | 3 +- .../react-icons/lib/ti/star-full-outline.d.ts | 3 +- .../react-icons/lib/ti/star-half-outline.d.ts | 3 +- types/react-icons/lib/ti/star-half.d.ts | 3 +- types/react-icons/lib/ti/star-outline.d.ts | 3 +- types/react-icons/lib/ti/star.d.ts | 3 +- .../react-icons/lib/ti/starburst-outline.d.ts | 3 +- types/react-icons/lib/ti/starburst.d.ts | 3 +- types/react-icons/lib/ti/stopwatch.d.ts | 3 +- types/react-icons/lib/ti/support.d.ts | 3 +- types/react-icons/lib/ti/tabs-outline.d.ts | 3 +- types/react-icons/lib/ti/tag.d.ts | 3 +- types/react-icons/lib/ti/tags.d.ts | 3 +- .../react-icons/lib/ti/th-large-outline.d.ts | 3 +- types/react-icons/lib/ti/th-large.d.ts | 3 +- types/react-icons/lib/ti/th-list-outline.d.ts | 3 +- types/react-icons/lib/ti/th-list.d.ts | 3 +- types/react-icons/lib/ti/th-menu-outline.d.ts | 3 +- types/react-icons/lib/ti/th-menu.d.ts | 3 +- .../react-icons/lib/ti/th-small-outline.d.ts | 3 +- types/react-icons/lib/ti/th-small.d.ts | 3 +- types/react-icons/lib/ti/thermometer.d.ts | 3 +- types/react-icons/lib/ti/thumbs-down.d.ts | 3 +- types/react-icons/lib/ti/thumbs-ok.d.ts | 3 +- types/react-icons/lib/ti/thumbs-up.d.ts | 3 +- types/react-icons/lib/ti/tick-outline.d.ts | 3 +- types/react-icons/lib/ti/tick.d.ts | 3 +- types/react-icons/lib/ti/ticket.d.ts | 3 +- types/react-icons/lib/ti/time.d.ts | 3 +- types/react-icons/lib/ti/times-outline.d.ts | 3 +- types/react-icons/lib/ti/times.d.ts | 3 +- types/react-icons/lib/ti/trash.d.ts | 3 +- types/react-icons/lib/ti/tree.d.ts | 3 +- types/react-icons/lib/ti/upload-outline.d.ts | 3 +- types/react-icons/lib/ti/upload.d.ts | 3 +- .../react-icons/lib/ti/user-add-outline.d.ts | 3 +- types/react-icons/lib/ti/user-add.d.ts | 3 +- .../lib/ti/user-delete-outline.d.ts | 3 +- types/react-icons/lib/ti/user-delete.d.ts | 3 +- types/react-icons/lib/ti/user-outline.d.ts | 3 +- types/react-icons/lib/ti/user.d.ts | 3 +- types/react-icons/lib/ti/vendor-android.d.ts | 3 +- types/react-icons/lib/ti/vendor-apple.d.ts | 3 +- .../react-icons/lib/ti/vendor-microsoft.d.ts | 3 +- types/react-icons/lib/ti/video-outline.d.ts | 3 +- types/react-icons/lib/ti/video.d.ts | 3 +- types/react-icons/lib/ti/volume-down.d.ts | 3 +- types/react-icons/lib/ti/volume-mute.d.ts | 3 +- types/react-icons/lib/ti/volume-up.d.ts | 3 +- types/react-icons/lib/ti/volume.d.ts | 3 +- types/react-icons/lib/ti/warning-outline.d.ts | 3 +- types/react-icons/lib/ti/warning.d.ts | 3 +- types/react-icons/lib/ti/watch.d.ts | 3 +- types/react-icons/lib/ti/waves-outline.d.ts | 3 +- types/react-icons/lib/ti/waves.d.ts | 3 +- types/react-icons/lib/ti/weather-cloudy.d.ts | 3 +- .../react-icons/lib/ti/weather-downpour.d.ts | 3 +- types/react-icons/lib/ti/weather-night.d.ts | 3 +- .../lib/ti/weather-partly-sunny.d.ts | 3 +- types/react-icons/lib/ti/weather-shower.d.ts | 3 +- types/react-icons/lib/ti/weather-snow.d.ts | 3 +- types/react-icons/lib/ti/weather-stormy.d.ts | 3 +- types/react-icons/lib/ti/weather-sunny.d.ts | 3 +- .../lib/ti/weather-windy-cloudy.d.ts | 3 +- types/react-icons/lib/ti/weather-windy.d.ts | 3 +- types/react-icons/lib/ti/wi-fi-outline.d.ts | 3 +- types/react-icons/lib/ti/wi-fi.d.ts | 3 +- types/react-icons/lib/ti/wine.d.ts | 3 +- types/react-icons/lib/ti/world-outline.d.ts | 3 +- types/react-icons/lib/ti/world.d.ts | 3 +- types/react-icons/lib/ti/zoom-in-outline.d.ts | 3 +- types/react-icons/lib/ti/zoom-in.d.ts | 3 +- .../react-icons/lib/ti/zoom-out-outline.d.ts | 3 +- types/react-icons/lib/ti/zoom-out.d.ts | 3 +- types/react-icons/lib/ti/zoom-outline.d.ts | 3 +- types/react-icons/lib/ti/zoom.d.ts | 3 +- types/react-icons/react-icons-tests.tsx | 2 +- types/react-icons/scripts/generate.ts | 18 +- 2831 files changed, 8484 insertions(+), 5652 deletions(-) diff --git a/types/react-icons/index.d.ts b/types/react-icons/index.d.ts index 7c926b347f..fb0026ff40 100644 --- a/types/react-icons/index.d.ts +++ b/types/react-icons/index.d.ts @@ -2,5 +2,6 @@ // Project: https://github.com/gorangajic/react-icons#readme // Definitions by: Alexandre Paré <https://github.com/apare> // John Reilly <https://github.com/johnnyreilly> +// Karol Janyst <https://github.com/LKay> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 diff --git a/types/react-icons/lib/fa/500px.d.ts b/types/react-icons/lib/fa/500px.d.ts index 29c3f639f8..d70cfd4f19 100644 --- a/types/react-icons/lib/fa/500px.d.ts +++ b/types/react-icons/lib/fa/500px.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class Fa500px extends React.Component<IconBaseProps> { } +declare class Fa500px extends React.Component<IconBaseProps> { } +export = Fa500px; diff --git a/types/react-icons/lib/fa/adjust.d.ts b/types/react-icons/lib/fa/adjust.d.ts index 7ca3d2cf03..af4b024240 100644 --- a/types/react-icons/lib/fa/adjust.d.ts +++ b/types/react-icons/lib/fa/adjust.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAdjust extends React.Component<IconBaseProps> { } +declare class FaAdjust extends React.Component<IconBaseProps> { } +export = FaAdjust; diff --git a/types/react-icons/lib/fa/adn.d.ts b/types/react-icons/lib/fa/adn.d.ts index c2c5676047..f1b5d2be13 100644 --- a/types/react-icons/lib/fa/adn.d.ts +++ b/types/react-icons/lib/fa/adn.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAdn extends React.Component<IconBaseProps> { } +declare class FaAdn extends React.Component<IconBaseProps> { } +export = FaAdn; diff --git a/types/react-icons/lib/fa/align-center.d.ts b/types/react-icons/lib/fa/align-center.d.ts index 718d401bcc..ffd972db6a 100644 --- a/types/react-icons/lib/fa/align-center.d.ts +++ b/types/react-icons/lib/fa/align-center.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAlignCenter extends React.Component<IconBaseProps> { } +declare class FaAlignCenter extends React.Component<IconBaseProps> { } +export = FaAlignCenter; diff --git a/types/react-icons/lib/fa/align-justify.d.ts b/types/react-icons/lib/fa/align-justify.d.ts index 87df2f26fc..43432a6126 100644 --- a/types/react-icons/lib/fa/align-justify.d.ts +++ b/types/react-icons/lib/fa/align-justify.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAlignJustify extends React.Component<IconBaseProps> { } +declare class FaAlignJustify extends React.Component<IconBaseProps> { } +export = FaAlignJustify; diff --git a/types/react-icons/lib/fa/align-left.d.ts b/types/react-icons/lib/fa/align-left.d.ts index 7a1c956b3f..ba9d433ee3 100644 --- a/types/react-icons/lib/fa/align-left.d.ts +++ b/types/react-icons/lib/fa/align-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAlignLeft extends React.Component<IconBaseProps> { } +declare class FaAlignLeft extends React.Component<IconBaseProps> { } +export = FaAlignLeft; diff --git a/types/react-icons/lib/fa/align-right.d.ts b/types/react-icons/lib/fa/align-right.d.ts index 0ec0226c13..a85c63eb0f 100644 --- a/types/react-icons/lib/fa/align-right.d.ts +++ b/types/react-icons/lib/fa/align-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAlignRight extends React.Component<IconBaseProps> { } +declare class FaAlignRight extends React.Component<IconBaseProps> { } +export = FaAlignRight; diff --git a/types/react-icons/lib/fa/amazon.d.ts b/types/react-icons/lib/fa/amazon.d.ts index d514c69672..bb037b45c4 100644 --- a/types/react-icons/lib/fa/amazon.d.ts +++ b/types/react-icons/lib/fa/amazon.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAmazon extends React.Component<IconBaseProps> { } +declare class FaAmazon extends React.Component<IconBaseProps> { } +export = FaAmazon; diff --git a/types/react-icons/lib/fa/ambulance.d.ts b/types/react-icons/lib/fa/ambulance.d.ts index fbaa0eec3b..b826f5571a 100644 --- a/types/react-icons/lib/fa/ambulance.d.ts +++ b/types/react-icons/lib/fa/ambulance.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAmbulance extends React.Component<IconBaseProps> { } +declare class FaAmbulance extends React.Component<IconBaseProps> { } +export = FaAmbulance; diff --git a/types/react-icons/lib/fa/american-sign-language-interpreting.d.ts b/types/react-icons/lib/fa/american-sign-language-interpreting.d.ts index 06925c79e5..5c83ce813a 100644 --- a/types/react-icons/lib/fa/american-sign-language-interpreting.d.ts +++ b/types/react-icons/lib/fa/american-sign-language-interpreting.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAmericanSignLanguageInterpreting extends React.Component<IconBaseProps> { } +declare class FaAmericanSignLanguageInterpreting extends React.Component<IconBaseProps> { } +export = FaAmericanSignLanguageInterpreting; diff --git a/types/react-icons/lib/fa/anchor.d.ts b/types/react-icons/lib/fa/anchor.d.ts index 8812734dc4..340f0da07a 100644 --- a/types/react-icons/lib/fa/anchor.d.ts +++ b/types/react-icons/lib/fa/anchor.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAnchor extends React.Component<IconBaseProps> { } +declare class FaAnchor extends React.Component<IconBaseProps> { } +export = FaAnchor; diff --git a/types/react-icons/lib/fa/android.d.ts b/types/react-icons/lib/fa/android.d.ts index 2ee9f5fb18..5f7c1fd608 100644 --- a/types/react-icons/lib/fa/android.d.ts +++ b/types/react-icons/lib/fa/android.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAndroid extends React.Component<IconBaseProps> { } +declare class FaAndroid extends React.Component<IconBaseProps> { } +export = FaAndroid; diff --git a/types/react-icons/lib/fa/angellist.d.ts b/types/react-icons/lib/fa/angellist.d.ts index ce8afe7eda..e89b663a80 100644 --- a/types/react-icons/lib/fa/angellist.d.ts +++ b/types/react-icons/lib/fa/angellist.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAngellist extends React.Component<IconBaseProps> { } +declare class FaAngellist extends React.Component<IconBaseProps> { } +export = FaAngellist; diff --git a/types/react-icons/lib/fa/angle-double-down.d.ts b/types/react-icons/lib/fa/angle-double-down.d.ts index 93ce66d6b4..2d556e859e 100644 --- a/types/react-icons/lib/fa/angle-double-down.d.ts +++ b/types/react-icons/lib/fa/angle-double-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAngleDoubleDown extends React.Component<IconBaseProps> { } +declare class FaAngleDoubleDown extends React.Component<IconBaseProps> { } +export = FaAngleDoubleDown; diff --git a/types/react-icons/lib/fa/angle-double-left.d.ts b/types/react-icons/lib/fa/angle-double-left.d.ts index ff9d38e1ad..6813d50bd2 100644 --- a/types/react-icons/lib/fa/angle-double-left.d.ts +++ b/types/react-icons/lib/fa/angle-double-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAngleDoubleLeft extends React.Component<IconBaseProps> { } +declare class FaAngleDoubleLeft extends React.Component<IconBaseProps> { } +export = FaAngleDoubleLeft; diff --git a/types/react-icons/lib/fa/angle-double-right.d.ts b/types/react-icons/lib/fa/angle-double-right.d.ts index 2642210681..196cedf761 100644 --- a/types/react-icons/lib/fa/angle-double-right.d.ts +++ b/types/react-icons/lib/fa/angle-double-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAngleDoubleRight extends React.Component<IconBaseProps> { } +declare class FaAngleDoubleRight extends React.Component<IconBaseProps> { } +export = FaAngleDoubleRight; diff --git a/types/react-icons/lib/fa/angle-double-up.d.ts b/types/react-icons/lib/fa/angle-double-up.d.ts index 9a3af8e4bf..b0084150ce 100644 --- a/types/react-icons/lib/fa/angle-double-up.d.ts +++ b/types/react-icons/lib/fa/angle-double-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAngleDoubleUp extends React.Component<IconBaseProps> { } +declare class FaAngleDoubleUp extends React.Component<IconBaseProps> { } +export = FaAngleDoubleUp; diff --git a/types/react-icons/lib/fa/angle-down.d.ts b/types/react-icons/lib/fa/angle-down.d.ts index d9e5083f2a..6ff5e062e4 100644 --- a/types/react-icons/lib/fa/angle-down.d.ts +++ b/types/react-icons/lib/fa/angle-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAngleDown extends React.Component<IconBaseProps> { } +declare class FaAngleDown extends React.Component<IconBaseProps> { } +export = FaAngleDown; diff --git a/types/react-icons/lib/fa/angle-left.d.ts b/types/react-icons/lib/fa/angle-left.d.ts index bea87f2edd..4ce5ba28d0 100644 --- a/types/react-icons/lib/fa/angle-left.d.ts +++ b/types/react-icons/lib/fa/angle-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAngleLeft extends React.Component<IconBaseProps> { } +declare class FaAngleLeft extends React.Component<IconBaseProps> { } +export = FaAngleLeft; diff --git a/types/react-icons/lib/fa/angle-right.d.ts b/types/react-icons/lib/fa/angle-right.d.ts index c5ecf220c6..5329f3c345 100644 --- a/types/react-icons/lib/fa/angle-right.d.ts +++ b/types/react-icons/lib/fa/angle-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAngleRight extends React.Component<IconBaseProps> { } +declare class FaAngleRight extends React.Component<IconBaseProps> { } +export = FaAngleRight; diff --git a/types/react-icons/lib/fa/angle-up.d.ts b/types/react-icons/lib/fa/angle-up.d.ts index cdbc2fd506..6c069a95cd 100644 --- a/types/react-icons/lib/fa/angle-up.d.ts +++ b/types/react-icons/lib/fa/angle-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAngleUp extends React.Component<IconBaseProps> { } +declare class FaAngleUp extends React.Component<IconBaseProps> { } +export = FaAngleUp; diff --git a/types/react-icons/lib/fa/apple.d.ts b/types/react-icons/lib/fa/apple.d.ts index 81a903285f..ab5ab406ac 100644 --- a/types/react-icons/lib/fa/apple.d.ts +++ b/types/react-icons/lib/fa/apple.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaApple extends React.Component<IconBaseProps> { } +declare class FaApple extends React.Component<IconBaseProps> { } +export = FaApple; diff --git a/types/react-icons/lib/fa/archive.d.ts b/types/react-icons/lib/fa/archive.d.ts index a86eaae4d2..c61ba115a6 100644 --- a/types/react-icons/lib/fa/archive.d.ts +++ b/types/react-icons/lib/fa/archive.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaArchive extends React.Component<IconBaseProps> { } +declare class FaArchive extends React.Component<IconBaseProps> { } +export = FaArchive; diff --git a/types/react-icons/lib/fa/area-chart.d.ts b/types/react-icons/lib/fa/area-chart.d.ts index 989eaa3b5d..7950cbc4ac 100644 --- a/types/react-icons/lib/fa/area-chart.d.ts +++ b/types/react-icons/lib/fa/area-chart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAreaChart extends React.Component<IconBaseProps> { } +declare class FaAreaChart extends React.Component<IconBaseProps> { } +export = FaAreaChart; diff --git a/types/react-icons/lib/fa/arrow-circle-down.d.ts b/types/react-icons/lib/fa/arrow-circle-down.d.ts index e5551c84a8..034a89aa1b 100644 --- a/types/react-icons/lib/fa/arrow-circle-down.d.ts +++ b/types/react-icons/lib/fa/arrow-circle-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaArrowCircleDown extends React.Component<IconBaseProps> { } +declare class FaArrowCircleDown extends React.Component<IconBaseProps> { } +export = FaArrowCircleDown; diff --git a/types/react-icons/lib/fa/arrow-circle-left.d.ts b/types/react-icons/lib/fa/arrow-circle-left.d.ts index af722a058d..a6bd782c7b 100644 --- a/types/react-icons/lib/fa/arrow-circle-left.d.ts +++ b/types/react-icons/lib/fa/arrow-circle-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaArrowCircleLeft extends React.Component<IconBaseProps> { } +declare class FaArrowCircleLeft extends React.Component<IconBaseProps> { } +export = FaArrowCircleLeft; diff --git a/types/react-icons/lib/fa/arrow-circle-o-down.d.ts b/types/react-icons/lib/fa/arrow-circle-o-down.d.ts index 3e06f22917..a0af735c04 100644 --- a/types/react-icons/lib/fa/arrow-circle-o-down.d.ts +++ b/types/react-icons/lib/fa/arrow-circle-o-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaArrowCircleODown extends React.Component<IconBaseProps> { } +declare class FaArrowCircleODown extends React.Component<IconBaseProps> { } +export = FaArrowCircleODown; diff --git a/types/react-icons/lib/fa/arrow-circle-o-left.d.ts b/types/react-icons/lib/fa/arrow-circle-o-left.d.ts index 687373f29c..da661fb85c 100644 --- a/types/react-icons/lib/fa/arrow-circle-o-left.d.ts +++ b/types/react-icons/lib/fa/arrow-circle-o-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaArrowCircleOLeft extends React.Component<IconBaseProps> { } +declare class FaArrowCircleOLeft extends React.Component<IconBaseProps> { } +export = FaArrowCircleOLeft; diff --git a/types/react-icons/lib/fa/arrow-circle-o-right.d.ts b/types/react-icons/lib/fa/arrow-circle-o-right.d.ts index c1378c89b6..e850fbc8b2 100644 --- a/types/react-icons/lib/fa/arrow-circle-o-right.d.ts +++ b/types/react-icons/lib/fa/arrow-circle-o-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaArrowCircleORight extends React.Component<IconBaseProps> { } +declare class FaArrowCircleORight extends React.Component<IconBaseProps> { } +export = FaArrowCircleORight; diff --git a/types/react-icons/lib/fa/arrow-circle-o-up.d.ts b/types/react-icons/lib/fa/arrow-circle-o-up.d.ts index 6d67c2f160..38dfda171a 100644 --- a/types/react-icons/lib/fa/arrow-circle-o-up.d.ts +++ b/types/react-icons/lib/fa/arrow-circle-o-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaArrowCircleOUp extends React.Component<IconBaseProps> { } +declare class FaArrowCircleOUp extends React.Component<IconBaseProps> { } +export = FaArrowCircleOUp; diff --git a/types/react-icons/lib/fa/arrow-circle-right.d.ts b/types/react-icons/lib/fa/arrow-circle-right.d.ts index 0916b5328d..3875683a1d 100644 --- a/types/react-icons/lib/fa/arrow-circle-right.d.ts +++ b/types/react-icons/lib/fa/arrow-circle-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaArrowCircleRight extends React.Component<IconBaseProps> { } +declare class FaArrowCircleRight extends React.Component<IconBaseProps> { } +export = FaArrowCircleRight; diff --git a/types/react-icons/lib/fa/arrow-circle-up.d.ts b/types/react-icons/lib/fa/arrow-circle-up.d.ts index 1d4af5320c..a58794ce34 100644 --- a/types/react-icons/lib/fa/arrow-circle-up.d.ts +++ b/types/react-icons/lib/fa/arrow-circle-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaArrowCircleUp extends React.Component<IconBaseProps> { } +declare class FaArrowCircleUp extends React.Component<IconBaseProps> { } +export = FaArrowCircleUp; diff --git a/types/react-icons/lib/fa/arrow-down.d.ts b/types/react-icons/lib/fa/arrow-down.d.ts index 845ae5bda7..f69d965a52 100644 --- a/types/react-icons/lib/fa/arrow-down.d.ts +++ b/types/react-icons/lib/fa/arrow-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaArrowDown extends React.Component<IconBaseProps> { } +declare class FaArrowDown extends React.Component<IconBaseProps> { } +export = FaArrowDown; diff --git a/types/react-icons/lib/fa/arrow-left.d.ts b/types/react-icons/lib/fa/arrow-left.d.ts index b5333dd62c..2d0d8a3243 100644 --- a/types/react-icons/lib/fa/arrow-left.d.ts +++ b/types/react-icons/lib/fa/arrow-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaArrowLeft extends React.Component<IconBaseProps> { } +declare class FaArrowLeft extends React.Component<IconBaseProps> { } +export = FaArrowLeft; diff --git a/types/react-icons/lib/fa/arrow-right.d.ts b/types/react-icons/lib/fa/arrow-right.d.ts index 7cad9380d5..cc35c17bd7 100644 --- a/types/react-icons/lib/fa/arrow-right.d.ts +++ b/types/react-icons/lib/fa/arrow-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaArrowRight extends React.Component<IconBaseProps> { } +declare class FaArrowRight extends React.Component<IconBaseProps> { } +export = FaArrowRight; diff --git a/types/react-icons/lib/fa/arrow-up.d.ts b/types/react-icons/lib/fa/arrow-up.d.ts index eb96f4b47d..ad5df3bf2f 100644 --- a/types/react-icons/lib/fa/arrow-up.d.ts +++ b/types/react-icons/lib/fa/arrow-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaArrowUp extends React.Component<IconBaseProps> { } +declare class FaArrowUp extends React.Component<IconBaseProps> { } +export = FaArrowUp; diff --git a/types/react-icons/lib/fa/arrows-alt.d.ts b/types/react-icons/lib/fa/arrows-alt.d.ts index 0497e59469..b1b0e83089 100644 --- a/types/react-icons/lib/fa/arrows-alt.d.ts +++ b/types/react-icons/lib/fa/arrows-alt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaArrowsAlt extends React.Component<IconBaseProps> { } +declare class FaArrowsAlt extends React.Component<IconBaseProps> { } +export = FaArrowsAlt; diff --git a/types/react-icons/lib/fa/arrows-h.d.ts b/types/react-icons/lib/fa/arrows-h.d.ts index 53e31e5671..fe27c6704c 100644 --- a/types/react-icons/lib/fa/arrows-h.d.ts +++ b/types/react-icons/lib/fa/arrows-h.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaArrowsH extends React.Component<IconBaseProps> { } +declare class FaArrowsH extends React.Component<IconBaseProps> { } +export = FaArrowsH; diff --git a/types/react-icons/lib/fa/arrows-v.d.ts b/types/react-icons/lib/fa/arrows-v.d.ts index 6b4cb60249..fe497bc606 100644 --- a/types/react-icons/lib/fa/arrows-v.d.ts +++ b/types/react-icons/lib/fa/arrows-v.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaArrowsV extends React.Component<IconBaseProps> { } +declare class FaArrowsV extends React.Component<IconBaseProps> { } +export = FaArrowsV; diff --git a/types/react-icons/lib/fa/arrows.d.ts b/types/react-icons/lib/fa/arrows.d.ts index 16175f7688..37a13e7360 100644 --- a/types/react-icons/lib/fa/arrows.d.ts +++ b/types/react-icons/lib/fa/arrows.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaArrows extends React.Component<IconBaseProps> { } +declare class FaArrows extends React.Component<IconBaseProps> { } +export = FaArrows; diff --git a/types/react-icons/lib/fa/assistive-listening-systems.d.ts b/types/react-icons/lib/fa/assistive-listening-systems.d.ts index f6e1649de6..09c0dc1a5c 100644 --- a/types/react-icons/lib/fa/assistive-listening-systems.d.ts +++ b/types/react-icons/lib/fa/assistive-listening-systems.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAssistiveListeningSystems extends React.Component<IconBaseProps> { } +declare class FaAssistiveListeningSystems extends React.Component<IconBaseProps> { } +export = FaAssistiveListeningSystems; diff --git a/types/react-icons/lib/fa/asterisk.d.ts b/types/react-icons/lib/fa/asterisk.d.ts index 89fc42ca05..943431df3b 100644 --- a/types/react-icons/lib/fa/asterisk.d.ts +++ b/types/react-icons/lib/fa/asterisk.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAsterisk extends React.Component<IconBaseProps> { } +declare class FaAsterisk extends React.Component<IconBaseProps> { } +export = FaAsterisk; diff --git a/types/react-icons/lib/fa/at.d.ts b/types/react-icons/lib/fa/at.d.ts index a871055990..86af31e86b 100644 --- a/types/react-icons/lib/fa/at.d.ts +++ b/types/react-icons/lib/fa/at.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAt extends React.Component<IconBaseProps> { } +declare class FaAt extends React.Component<IconBaseProps> { } +export = FaAt; diff --git a/types/react-icons/lib/fa/audio-description.d.ts b/types/react-icons/lib/fa/audio-description.d.ts index 476ef84b6a..97655de683 100644 --- a/types/react-icons/lib/fa/audio-description.d.ts +++ b/types/react-icons/lib/fa/audio-description.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAudioDescription extends React.Component<IconBaseProps> { } +declare class FaAudioDescription extends React.Component<IconBaseProps> { } +export = FaAudioDescription; diff --git a/types/react-icons/lib/fa/automobile.d.ts b/types/react-icons/lib/fa/automobile.d.ts index 4a6a259ff3..224b7fa8c4 100644 --- a/types/react-icons/lib/fa/automobile.d.ts +++ b/types/react-icons/lib/fa/automobile.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaAutomobile extends React.Component<IconBaseProps> { } +declare class FaAutomobile extends React.Component<IconBaseProps> { } +export = FaAutomobile; diff --git a/types/react-icons/lib/fa/backward.d.ts b/types/react-icons/lib/fa/backward.d.ts index ac9bc7b820..3897d97cf0 100644 --- a/types/react-icons/lib/fa/backward.d.ts +++ b/types/react-icons/lib/fa/backward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBackward extends React.Component<IconBaseProps> { } +declare class FaBackward extends React.Component<IconBaseProps> { } +export = FaBackward; diff --git a/types/react-icons/lib/fa/balance-scale.d.ts b/types/react-icons/lib/fa/balance-scale.d.ts index ae8446ed1b..70cb498e76 100644 --- a/types/react-icons/lib/fa/balance-scale.d.ts +++ b/types/react-icons/lib/fa/balance-scale.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBalanceScale extends React.Component<IconBaseProps> { } +declare class FaBalanceScale extends React.Component<IconBaseProps> { } +export = FaBalanceScale; diff --git a/types/react-icons/lib/fa/ban.d.ts b/types/react-icons/lib/fa/ban.d.ts index b2f668bcef..aa11e72dfd 100644 --- a/types/react-icons/lib/fa/ban.d.ts +++ b/types/react-icons/lib/fa/ban.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBan extends React.Component<IconBaseProps> { } +declare class FaBan extends React.Component<IconBaseProps> { } +export = FaBan; diff --git a/types/react-icons/lib/fa/bank.d.ts b/types/react-icons/lib/fa/bank.d.ts index 0d3a14ebf8..c52ff017ca 100644 --- a/types/react-icons/lib/fa/bank.d.ts +++ b/types/react-icons/lib/fa/bank.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBank extends React.Component<IconBaseProps> { } +declare class FaBank extends React.Component<IconBaseProps> { } +export = FaBank; diff --git a/types/react-icons/lib/fa/bar-chart.d.ts b/types/react-icons/lib/fa/bar-chart.d.ts index b184edbda5..6dd339888f 100644 --- a/types/react-icons/lib/fa/bar-chart.d.ts +++ b/types/react-icons/lib/fa/bar-chart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBarChart extends React.Component<IconBaseProps> { } +declare class FaBarChart extends React.Component<IconBaseProps> { } +export = FaBarChart; diff --git a/types/react-icons/lib/fa/barcode.d.ts b/types/react-icons/lib/fa/barcode.d.ts index 4f764358a7..14fcd7483f 100644 --- a/types/react-icons/lib/fa/barcode.d.ts +++ b/types/react-icons/lib/fa/barcode.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBarcode extends React.Component<IconBaseProps> { } +declare class FaBarcode extends React.Component<IconBaseProps> { } +export = FaBarcode; diff --git a/types/react-icons/lib/fa/bars.d.ts b/types/react-icons/lib/fa/bars.d.ts index 5a3272c896..4eb2a2c4ec 100644 --- a/types/react-icons/lib/fa/bars.d.ts +++ b/types/react-icons/lib/fa/bars.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBars extends React.Component<IconBaseProps> { } +declare class FaBars extends React.Component<IconBaseProps> { } +export = FaBars; diff --git a/types/react-icons/lib/fa/battery-0.d.ts b/types/react-icons/lib/fa/battery-0.d.ts index c7ad0b12b1..b522ea5f95 100644 --- a/types/react-icons/lib/fa/battery-0.d.ts +++ b/types/react-icons/lib/fa/battery-0.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBattery0 extends React.Component<IconBaseProps> { } +declare class FaBattery0 extends React.Component<IconBaseProps> { } +export = FaBattery0; diff --git a/types/react-icons/lib/fa/battery-1.d.ts b/types/react-icons/lib/fa/battery-1.d.ts index a7db7a950f..51e5018032 100644 --- a/types/react-icons/lib/fa/battery-1.d.ts +++ b/types/react-icons/lib/fa/battery-1.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBattery1 extends React.Component<IconBaseProps> { } +declare class FaBattery1 extends React.Component<IconBaseProps> { } +export = FaBattery1; diff --git a/types/react-icons/lib/fa/battery-2.d.ts b/types/react-icons/lib/fa/battery-2.d.ts index 345d261889..b203f533d3 100644 --- a/types/react-icons/lib/fa/battery-2.d.ts +++ b/types/react-icons/lib/fa/battery-2.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBattery2 extends React.Component<IconBaseProps> { } +declare class FaBattery2 extends React.Component<IconBaseProps> { } +export = FaBattery2; diff --git a/types/react-icons/lib/fa/battery-3.d.ts b/types/react-icons/lib/fa/battery-3.d.ts index bc2a62de56..c95a67cd36 100644 --- a/types/react-icons/lib/fa/battery-3.d.ts +++ b/types/react-icons/lib/fa/battery-3.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBattery3 extends React.Component<IconBaseProps> { } +declare class FaBattery3 extends React.Component<IconBaseProps> { } +export = FaBattery3; diff --git a/types/react-icons/lib/fa/battery-4.d.ts b/types/react-icons/lib/fa/battery-4.d.ts index 0541fd5f79..da0aabf0b7 100644 --- a/types/react-icons/lib/fa/battery-4.d.ts +++ b/types/react-icons/lib/fa/battery-4.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBattery4 extends React.Component<IconBaseProps> { } +declare class FaBattery4 extends React.Component<IconBaseProps> { } +export = FaBattery4; diff --git a/types/react-icons/lib/fa/bed.d.ts b/types/react-icons/lib/fa/bed.d.ts index 5eab8918d4..81f8b9973f 100644 --- a/types/react-icons/lib/fa/bed.d.ts +++ b/types/react-icons/lib/fa/bed.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBed extends React.Component<IconBaseProps> { } +declare class FaBed extends React.Component<IconBaseProps> { } +export = FaBed; diff --git a/types/react-icons/lib/fa/beer.d.ts b/types/react-icons/lib/fa/beer.d.ts index 79bbeb09d2..eb032e6207 100644 --- a/types/react-icons/lib/fa/beer.d.ts +++ b/types/react-icons/lib/fa/beer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBeer extends React.Component<IconBaseProps> { } +declare class FaBeer extends React.Component<IconBaseProps> { } +export = FaBeer; diff --git a/types/react-icons/lib/fa/behance-square.d.ts b/types/react-icons/lib/fa/behance-square.d.ts index 550cb6b841..de83781aba 100644 --- a/types/react-icons/lib/fa/behance-square.d.ts +++ b/types/react-icons/lib/fa/behance-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBehanceSquare extends React.Component<IconBaseProps> { } +declare class FaBehanceSquare extends React.Component<IconBaseProps> { } +export = FaBehanceSquare; diff --git a/types/react-icons/lib/fa/behance.d.ts b/types/react-icons/lib/fa/behance.d.ts index e51df4de64..9c15559ce1 100644 --- a/types/react-icons/lib/fa/behance.d.ts +++ b/types/react-icons/lib/fa/behance.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBehance extends React.Component<IconBaseProps> { } +declare class FaBehance extends React.Component<IconBaseProps> { } +export = FaBehance; diff --git a/types/react-icons/lib/fa/bell-o.d.ts b/types/react-icons/lib/fa/bell-o.d.ts index 13f162cd71..813bd69eea 100644 --- a/types/react-icons/lib/fa/bell-o.d.ts +++ b/types/react-icons/lib/fa/bell-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBellO extends React.Component<IconBaseProps> { } +declare class FaBellO extends React.Component<IconBaseProps> { } +export = FaBellO; diff --git a/types/react-icons/lib/fa/bell-slash-o.d.ts b/types/react-icons/lib/fa/bell-slash-o.d.ts index 49ae89d8d4..8db73c3d1f 100644 --- a/types/react-icons/lib/fa/bell-slash-o.d.ts +++ b/types/react-icons/lib/fa/bell-slash-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBellSlashO extends React.Component<IconBaseProps> { } +declare class FaBellSlashO extends React.Component<IconBaseProps> { } +export = FaBellSlashO; diff --git a/types/react-icons/lib/fa/bell-slash.d.ts b/types/react-icons/lib/fa/bell-slash.d.ts index 305b77912b..d035fa6a1f 100644 --- a/types/react-icons/lib/fa/bell-slash.d.ts +++ b/types/react-icons/lib/fa/bell-slash.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBellSlash extends React.Component<IconBaseProps> { } +declare class FaBellSlash extends React.Component<IconBaseProps> { } +export = FaBellSlash; diff --git a/types/react-icons/lib/fa/bell.d.ts b/types/react-icons/lib/fa/bell.d.ts index 4ec0031ae6..0fbffd107f 100644 --- a/types/react-icons/lib/fa/bell.d.ts +++ b/types/react-icons/lib/fa/bell.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBell extends React.Component<IconBaseProps> { } +declare class FaBell extends React.Component<IconBaseProps> { } +export = FaBell; diff --git a/types/react-icons/lib/fa/bicycle.d.ts b/types/react-icons/lib/fa/bicycle.d.ts index e0017c15ca..15b474f323 100644 --- a/types/react-icons/lib/fa/bicycle.d.ts +++ b/types/react-icons/lib/fa/bicycle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBicycle extends React.Component<IconBaseProps> { } +declare class FaBicycle extends React.Component<IconBaseProps> { } +export = FaBicycle; diff --git a/types/react-icons/lib/fa/binoculars.d.ts b/types/react-icons/lib/fa/binoculars.d.ts index 5dd06d8ed4..510cbc7f7e 100644 --- a/types/react-icons/lib/fa/binoculars.d.ts +++ b/types/react-icons/lib/fa/binoculars.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBinoculars extends React.Component<IconBaseProps> { } +declare class FaBinoculars extends React.Component<IconBaseProps> { } +export = FaBinoculars; diff --git a/types/react-icons/lib/fa/birthday-cake.d.ts b/types/react-icons/lib/fa/birthday-cake.d.ts index 24af4a13f7..b24bb44278 100644 --- a/types/react-icons/lib/fa/birthday-cake.d.ts +++ b/types/react-icons/lib/fa/birthday-cake.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBirthdayCake extends React.Component<IconBaseProps> { } +declare class FaBirthdayCake extends React.Component<IconBaseProps> { } +export = FaBirthdayCake; diff --git a/types/react-icons/lib/fa/bitbucket-square.d.ts b/types/react-icons/lib/fa/bitbucket-square.d.ts index e9c80979f9..6a7c1e9415 100644 --- a/types/react-icons/lib/fa/bitbucket-square.d.ts +++ b/types/react-icons/lib/fa/bitbucket-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBitbucketSquare extends React.Component<IconBaseProps> { } +declare class FaBitbucketSquare extends React.Component<IconBaseProps> { } +export = FaBitbucketSquare; diff --git a/types/react-icons/lib/fa/bitbucket.d.ts b/types/react-icons/lib/fa/bitbucket.d.ts index 3e46e9e0a9..fcced54555 100644 --- a/types/react-icons/lib/fa/bitbucket.d.ts +++ b/types/react-icons/lib/fa/bitbucket.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBitbucket extends React.Component<IconBaseProps> { } +declare class FaBitbucket extends React.Component<IconBaseProps> { } +export = FaBitbucket; diff --git a/types/react-icons/lib/fa/bitcoin.d.ts b/types/react-icons/lib/fa/bitcoin.d.ts index 34e0ee64b3..0e8499c6f9 100644 --- a/types/react-icons/lib/fa/bitcoin.d.ts +++ b/types/react-icons/lib/fa/bitcoin.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBitcoin extends React.Component<IconBaseProps> { } +declare class FaBitcoin extends React.Component<IconBaseProps> { } +export = FaBitcoin; diff --git a/types/react-icons/lib/fa/black-tie.d.ts b/types/react-icons/lib/fa/black-tie.d.ts index 4586a07039..84def8b91a 100644 --- a/types/react-icons/lib/fa/black-tie.d.ts +++ b/types/react-icons/lib/fa/black-tie.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBlackTie extends React.Component<IconBaseProps> { } +declare class FaBlackTie extends React.Component<IconBaseProps> { } +export = FaBlackTie; diff --git a/types/react-icons/lib/fa/blind.d.ts b/types/react-icons/lib/fa/blind.d.ts index eb3606ac4c..9407689ee6 100644 --- a/types/react-icons/lib/fa/blind.d.ts +++ b/types/react-icons/lib/fa/blind.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBlind extends React.Component<IconBaseProps> { } +declare class FaBlind extends React.Component<IconBaseProps> { } +export = FaBlind; diff --git a/types/react-icons/lib/fa/bluetooth-b.d.ts b/types/react-icons/lib/fa/bluetooth-b.d.ts index 4ca6448c1a..0c88c2dad5 100644 --- a/types/react-icons/lib/fa/bluetooth-b.d.ts +++ b/types/react-icons/lib/fa/bluetooth-b.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBluetoothB extends React.Component<IconBaseProps> { } +declare class FaBluetoothB extends React.Component<IconBaseProps> { } +export = FaBluetoothB; diff --git a/types/react-icons/lib/fa/bluetooth.d.ts b/types/react-icons/lib/fa/bluetooth.d.ts index 0aba8d08f5..79251f2caa 100644 --- a/types/react-icons/lib/fa/bluetooth.d.ts +++ b/types/react-icons/lib/fa/bluetooth.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBluetooth extends React.Component<IconBaseProps> { } +declare class FaBluetooth extends React.Component<IconBaseProps> { } +export = FaBluetooth; diff --git a/types/react-icons/lib/fa/bold.d.ts b/types/react-icons/lib/fa/bold.d.ts index 65c28daedc..60666c9484 100644 --- a/types/react-icons/lib/fa/bold.d.ts +++ b/types/react-icons/lib/fa/bold.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBold extends React.Component<IconBaseProps> { } +declare class FaBold extends React.Component<IconBaseProps> { } +export = FaBold; diff --git a/types/react-icons/lib/fa/bolt.d.ts b/types/react-icons/lib/fa/bolt.d.ts index f4ecb5e36e..0eeb09b26e 100644 --- a/types/react-icons/lib/fa/bolt.d.ts +++ b/types/react-icons/lib/fa/bolt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBolt extends React.Component<IconBaseProps> { } +declare class FaBolt extends React.Component<IconBaseProps> { } +export = FaBolt; diff --git a/types/react-icons/lib/fa/bomb.d.ts b/types/react-icons/lib/fa/bomb.d.ts index 7d8f3fff70..e2e806217b 100644 --- a/types/react-icons/lib/fa/bomb.d.ts +++ b/types/react-icons/lib/fa/bomb.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBomb extends React.Component<IconBaseProps> { } +declare class FaBomb extends React.Component<IconBaseProps> { } +export = FaBomb; diff --git a/types/react-icons/lib/fa/book.d.ts b/types/react-icons/lib/fa/book.d.ts index 2925f2f925..977bc019b9 100644 --- a/types/react-icons/lib/fa/book.d.ts +++ b/types/react-icons/lib/fa/book.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBook extends React.Component<IconBaseProps> { } +declare class FaBook extends React.Component<IconBaseProps> { } +export = FaBook; diff --git a/types/react-icons/lib/fa/bookmark-o.d.ts b/types/react-icons/lib/fa/bookmark-o.d.ts index 07b10ae683..ee3ada48ce 100644 --- a/types/react-icons/lib/fa/bookmark-o.d.ts +++ b/types/react-icons/lib/fa/bookmark-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBookmarkO extends React.Component<IconBaseProps> { } +declare class FaBookmarkO extends React.Component<IconBaseProps> { } +export = FaBookmarkO; diff --git a/types/react-icons/lib/fa/bookmark.d.ts b/types/react-icons/lib/fa/bookmark.d.ts index 60f758e9ae..7dbc33515b 100644 --- a/types/react-icons/lib/fa/bookmark.d.ts +++ b/types/react-icons/lib/fa/bookmark.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBookmark extends React.Component<IconBaseProps> { } +declare class FaBookmark extends React.Component<IconBaseProps> { } +export = FaBookmark; diff --git a/types/react-icons/lib/fa/braille.d.ts b/types/react-icons/lib/fa/braille.d.ts index 4619546218..022d390d2b 100644 --- a/types/react-icons/lib/fa/braille.d.ts +++ b/types/react-icons/lib/fa/braille.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBraille extends React.Component<IconBaseProps> { } +declare class FaBraille extends React.Component<IconBaseProps> { } +export = FaBraille; diff --git a/types/react-icons/lib/fa/briefcase.d.ts b/types/react-icons/lib/fa/briefcase.d.ts index ef7d7a3e67..302ba644f7 100644 --- a/types/react-icons/lib/fa/briefcase.d.ts +++ b/types/react-icons/lib/fa/briefcase.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBriefcase extends React.Component<IconBaseProps> { } +declare class FaBriefcase extends React.Component<IconBaseProps> { } +export = FaBriefcase; diff --git a/types/react-icons/lib/fa/bug.d.ts b/types/react-icons/lib/fa/bug.d.ts index 3a386909a9..01098a9aa2 100644 --- a/types/react-icons/lib/fa/bug.d.ts +++ b/types/react-icons/lib/fa/bug.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBug extends React.Component<IconBaseProps> { } +declare class FaBug extends React.Component<IconBaseProps> { } +export = FaBug; diff --git a/types/react-icons/lib/fa/building-o.d.ts b/types/react-icons/lib/fa/building-o.d.ts index 1dab73f883..c3045c9cd7 100644 --- a/types/react-icons/lib/fa/building-o.d.ts +++ b/types/react-icons/lib/fa/building-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBuildingO extends React.Component<IconBaseProps> { } +declare class FaBuildingO extends React.Component<IconBaseProps> { } +export = FaBuildingO; diff --git a/types/react-icons/lib/fa/building.d.ts b/types/react-icons/lib/fa/building.d.ts index 1094d0547b..b1b7dce542 100644 --- a/types/react-icons/lib/fa/building.d.ts +++ b/types/react-icons/lib/fa/building.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBuilding extends React.Component<IconBaseProps> { } +declare class FaBuilding extends React.Component<IconBaseProps> { } +export = FaBuilding; diff --git a/types/react-icons/lib/fa/bullhorn.d.ts b/types/react-icons/lib/fa/bullhorn.d.ts index 83424c5116..75d62ada6c 100644 --- a/types/react-icons/lib/fa/bullhorn.d.ts +++ b/types/react-icons/lib/fa/bullhorn.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBullhorn extends React.Component<IconBaseProps> { } +declare class FaBullhorn extends React.Component<IconBaseProps> { } +export = FaBullhorn; diff --git a/types/react-icons/lib/fa/bullseye.d.ts b/types/react-icons/lib/fa/bullseye.d.ts index eaa9ba66fe..07754ecece 100644 --- a/types/react-icons/lib/fa/bullseye.d.ts +++ b/types/react-icons/lib/fa/bullseye.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBullseye extends React.Component<IconBaseProps> { } +declare class FaBullseye extends React.Component<IconBaseProps> { } +export = FaBullseye; diff --git a/types/react-icons/lib/fa/bus.d.ts b/types/react-icons/lib/fa/bus.d.ts index 7fc2f7bfc5..f665b70b03 100644 --- a/types/react-icons/lib/fa/bus.d.ts +++ b/types/react-icons/lib/fa/bus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBus extends React.Component<IconBaseProps> { } +declare class FaBus extends React.Component<IconBaseProps> { } +export = FaBus; diff --git a/types/react-icons/lib/fa/buysellads.d.ts b/types/react-icons/lib/fa/buysellads.d.ts index 304c070cce..5c4ff08cec 100644 --- a/types/react-icons/lib/fa/buysellads.d.ts +++ b/types/react-icons/lib/fa/buysellads.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaBuysellads extends React.Component<IconBaseProps> { } +declare class FaBuysellads extends React.Component<IconBaseProps> { } +export = FaBuysellads; diff --git a/types/react-icons/lib/fa/cab.d.ts b/types/react-icons/lib/fa/cab.d.ts index cd6af6ddd4..0fef928008 100644 --- a/types/react-icons/lib/fa/cab.d.ts +++ b/types/react-icons/lib/fa/cab.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCab extends React.Component<IconBaseProps> { } +declare class FaCab extends React.Component<IconBaseProps> { } +export = FaCab; diff --git a/types/react-icons/lib/fa/calculator.d.ts b/types/react-icons/lib/fa/calculator.d.ts index ed26af229f..529ee803cb 100644 --- a/types/react-icons/lib/fa/calculator.d.ts +++ b/types/react-icons/lib/fa/calculator.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCalculator extends React.Component<IconBaseProps> { } +declare class FaCalculator extends React.Component<IconBaseProps> { } +export = FaCalculator; diff --git a/types/react-icons/lib/fa/calendar-check-o.d.ts b/types/react-icons/lib/fa/calendar-check-o.d.ts index 9829dc60c3..5d1cb2ff90 100644 --- a/types/react-icons/lib/fa/calendar-check-o.d.ts +++ b/types/react-icons/lib/fa/calendar-check-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCalendarCheckO extends React.Component<IconBaseProps> { } +declare class FaCalendarCheckO extends React.Component<IconBaseProps> { } +export = FaCalendarCheckO; diff --git a/types/react-icons/lib/fa/calendar-minus-o.d.ts b/types/react-icons/lib/fa/calendar-minus-o.d.ts index 64a2d3a3e3..3543a84dee 100644 --- a/types/react-icons/lib/fa/calendar-minus-o.d.ts +++ b/types/react-icons/lib/fa/calendar-minus-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCalendarMinusO extends React.Component<IconBaseProps> { } +declare class FaCalendarMinusO extends React.Component<IconBaseProps> { } +export = FaCalendarMinusO; diff --git a/types/react-icons/lib/fa/calendar-o.d.ts b/types/react-icons/lib/fa/calendar-o.d.ts index 8a70d1c368..800d56b20e 100644 --- a/types/react-icons/lib/fa/calendar-o.d.ts +++ b/types/react-icons/lib/fa/calendar-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCalendarO extends React.Component<IconBaseProps> { } +declare class FaCalendarO extends React.Component<IconBaseProps> { } +export = FaCalendarO; diff --git a/types/react-icons/lib/fa/calendar-plus-o.d.ts b/types/react-icons/lib/fa/calendar-plus-o.d.ts index 0ff42b4d29..3aad9661ce 100644 --- a/types/react-icons/lib/fa/calendar-plus-o.d.ts +++ b/types/react-icons/lib/fa/calendar-plus-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCalendarPlusO extends React.Component<IconBaseProps> { } +declare class FaCalendarPlusO extends React.Component<IconBaseProps> { } +export = FaCalendarPlusO; diff --git a/types/react-icons/lib/fa/calendar-times-o.d.ts b/types/react-icons/lib/fa/calendar-times-o.d.ts index 2a81539d66..5553fd7d71 100644 --- a/types/react-icons/lib/fa/calendar-times-o.d.ts +++ b/types/react-icons/lib/fa/calendar-times-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCalendarTimesO extends React.Component<IconBaseProps> { } +declare class FaCalendarTimesO extends React.Component<IconBaseProps> { } +export = FaCalendarTimesO; diff --git a/types/react-icons/lib/fa/calendar.d.ts b/types/react-icons/lib/fa/calendar.d.ts index deec1eaeb4..e013516f56 100644 --- a/types/react-icons/lib/fa/calendar.d.ts +++ b/types/react-icons/lib/fa/calendar.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCalendar extends React.Component<IconBaseProps> { } +declare class FaCalendar extends React.Component<IconBaseProps> { } +export = FaCalendar; diff --git a/types/react-icons/lib/fa/camera-retro.d.ts b/types/react-icons/lib/fa/camera-retro.d.ts index 64821f1f67..3874bc78d8 100644 --- a/types/react-icons/lib/fa/camera-retro.d.ts +++ b/types/react-icons/lib/fa/camera-retro.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCameraRetro extends React.Component<IconBaseProps> { } +declare class FaCameraRetro extends React.Component<IconBaseProps> { } +export = FaCameraRetro; diff --git a/types/react-icons/lib/fa/camera.d.ts b/types/react-icons/lib/fa/camera.d.ts index 4928697191..65c011e1ac 100644 --- a/types/react-icons/lib/fa/camera.d.ts +++ b/types/react-icons/lib/fa/camera.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCamera extends React.Component<IconBaseProps> { } +declare class FaCamera extends React.Component<IconBaseProps> { } +export = FaCamera; diff --git a/types/react-icons/lib/fa/caret-down.d.ts b/types/react-icons/lib/fa/caret-down.d.ts index dbc43f0466..9c2cfb0314 100644 --- a/types/react-icons/lib/fa/caret-down.d.ts +++ b/types/react-icons/lib/fa/caret-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCaretDown extends React.Component<IconBaseProps> { } +declare class FaCaretDown extends React.Component<IconBaseProps> { } +export = FaCaretDown; diff --git a/types/react-icons/lib/fa/caret-left.d.ts b/types/react-icons/lib/fa/caret-left.d.ts index 420ce16ba3..c4d40cd908 100644 --- a/types/react-icons/lib/fa/caret-left.d.ts +++ b/types/react-icons/lib/fa/caret-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCaretLeft extends React.Component<IconBaseProps> { } +declare class FaCaretLeft extends React.Component<IconBaseProps> { } +export = FaCaretLeft; diff --git a/types/react-icons/lib/fa/caret-right.d.ts b/types/react-icons/lib/fa/caret-right.d.ts index 44e7429916..fa5bed855e 100644 --- a/types/react-icons/lib/fa/caret-right.d.ts +++ b/types/react-icons/lib/fa/caret-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCaretRight extends React.Component<IconBaseProps> { } +declare class FaCaretRight extends React.Component<IconBaseProps> { } +export = FaCaretRight; diff --git a/types/react-icons/lib/fa/caret-square-o-down.d.ts b/types/react-icons/lib/fa/caret-square-o-down.d.ts index dd6d132183..c8a67aa27c 100644 --- a/types/react-icons/lib/fa/caret-square-o-down.d.ts +++ b/types/react-icons/lib/fa/caret-square-o-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCaretSquareODown extends React.Component<IconBaseProps> { } +declare class FaCaretSquareODown extends React.Component<IconBaseProps> { } +export = FaCaretSquareODown; diff --git a/types/react-icons/lib/fa/caret-square-o-left.d.ts b/types/react-icons/lib/fa/caret-square-o-left.d.ts index 042ada389c..5aad5ec1e4 100644 --- a/types/react-icons/lib/fa/caret-square-o-left.d.ts +++ b/types/react-icons/lib/fa/caret-square-o-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCaretSquareOLeft extends React.Component<IconBaseProps> { } +declare class FaCaretSquareOLeft extends React.Component<IconBaseProps> { } +export = FaCaretSquareOLeft; diff --git a/types/react-icons/lib/fa/caret-square-o-right.d.ts b/types/react-icons/lib/fa/caret-square-o-right.d.ts index 12cee8faf7..f84499954b 100644 --- a/types/react-icons/lib/fa/caret-square-o-right.d.ts +++ b/types/react-icons/lib/fa/caret-square-o-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCaretSquareORight extends React.Component<IconBaseProps> { } +declare class FaCaretSquareORight extends React.Component<IconBaseProps> { } +export = FaCaretSquareORight; diff --git a/types/react-icons/lib/fa/caret-square-o-up.d.ts b/types/react-icons/lib/fa/caret-square-o-up.d.ts index 36e0c7bee6..905bb5f071 100644 --- a/types/react-icons/lib/fa/caret-square-o-up.d.ts +++ b/types/react-icons/lib/fa/caret-square-o-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCaretSquareOUp extends React.Component<IconBaseProps> { } +declare class FaCaretSquareOUp extends React.Component<IconBaseProps> { } +export = FaCaretSquareOUp; diff --git a/types/react-icons/lib/fa/caret-up.d.ts b/types/react-icons/lib/fa/caret-up.d.ts index 4eaad4bb41..7960d7953b 100644 --- a/types/react-icons/lib/fa/caret-up.d.ts +++ b/types/react-icons/lib/fa/caret-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCaretUp extends React.Component<IconBaseProps> { } +declare class FaCaretUp extends React.Component<IconBaseProps> { } +export = FaCaretUp; diff --git a/types/react-icons/lib/fa/cart-arrow-down.d.ts b/types/react-icons/lib/fa/cart-arrow-down.d.ts index 539933f702..d62cc7ab36 100644 --- a/types/react-icons/lib/fa/cart-arrow-down.d.ts +++ b/types/react-icons/lib/fa/cart-arrow-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCartArrowDown extends React.Component<IconBaseProps> { } +declare class FaCartArrowDown extends React.Component<IconBaseProps> { } +export = FaCartArrowDown; diff --git a/types/react-icons/lib/fa/cart-plus.d.ts b/types/react-icons/lib/fa/cart-plus.d.ts index 00e645e840..c8d1c7df7b 100644 --- a/types/react-icons/lib/fa/cart-plus.d.ts +++ b/types/react-icons/lib/fa/cart-plus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCartPlus extends React.Component<IconBaseProps> { } +declare class FaCartPlus extends React.Component<IconBaseProps> { } +export = FaCartPlus; diff --git a/types/react-icons/lib/fa/cc-amex.d.ts b/types/react-icons/lib/fa/cc-amex.d.ts index daede8980e..799b2ef861 100644 --- a/types/react-icons/lib/fa/cc-amex.d.ts +++ b/types/react-icons/lib/fa/cc-amex.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCcAmex extends React.Component<IconBaseProps> { } +declare class FaCcAmex extends React.Component<IconBaseProps> { } +export = FaCcAmex; diff --git a/types/react-icons/lib/fa/cc-diners-club.d.ts b/types/react-icons/lib/fa/cc-diners-club.d.ts index 5263120cb0..24a9063012 100644 --- a/types/react-icons/lib/fa/cc-diners-club.d.ts +++ b/types/react-icons/lib/fa/cc-diners-club.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCcDinersClub extends React.Component<IconBaseProps> { } +declare class FaCcDinersClub extends React.Component<IconBaseProps> { } +export = FaCcDinersClub; diff --git a/types/react-icons/lib/fa/cc-discover.d.ts b/types/react-icons/lib/fa/cc-discover.d.ts index 0d5e5d6daa..ab5013f5be 100644 --- a/types/react-icons/lib/fa/cc-discover.d.ts +++ b/types/react-icons/lib/fa/cc-discover.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCcDiscover extends React.Component<IconBaseProps> { } +declare class FaCcDiscover extends React.Component<IconBaseProps> { } +export = FaCcDiscover; diff --git a/types/react-icons/lib/fa/cc-jcb.d.ts b/types/react-icons/lib/fa/cc-jcb.d.ts index 3aeb4c483f..abce375354 100644 --- a/types/react-icons/lib/fa/cc-jcb.d.ts +++ b/types/react-icons/lib/fa/cc-jcb.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCcJcb extends React.Component<IconBaseProps> { } +declare class FaCcJcb extends React.Component<IconBaseProps> { } +export = FaCcJcb; diff --git a/types/react-icons/lib/fa/cc-mastercard.d.ts b/types/react-icons/lib/fa/cc-mastercard.d.ts index 58e0e375c0..ef56888e0d 100644 --- a/types/react-icons/lib/fa/cc-mastercard.d.ts +++ b/types/react-icons/lib/fa/cc-mastercard.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCcMastercard extends React.Component<IconBaseProps> { } +declare class FaCcMastercard extends React.Component<IconBaseProps> { } +export = FaCcMastercard; diff --git a/types/react-icons/lib/fa/cc-paypal.d.ts b/types/react-icons/lib/fa/cc-paypal.d.ts index 4fb116f8ab..5eb38ef785 100644 --- a/types/react-icons/lib/fa/cc-paypal.d.ts +++ b/types/react-icons/lib/fa/cc-paypal.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCcPaypal extends React.Component<IconBaseProps> { } +declare class FaCcPaypal extends React.Component<IconBaseProps> { } +export = FaCcPaypal; diff --git a/types/react-icons/lib/fa/cc-stripe.d.ts b/types/react-icons/lib/fa/cc-stripe.d.ts index afb2d4cac8..fd72b8aa13 100644 --- a/types/react-icons/lib/fa/cc-stripe.d.ts +++ b/types/react-icons/lib/fa/cc-stripe.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCcStripe extends React.Component<IconBaseProps> { } +declare class FaCcStripe extends React.Component<IconBaseProps> { } +export = FaCcStripe; diff --git a/types/react-icons/lib/fa/cc-visa.d.ts b/types/react-icons/lib/fa/cc-visa.d.ts index 4e5b06b45f..d0dc3e793c 100644 --- a/types/react-icons/lib/fa/cc-visa.d.ts +++ b/types/react-icons/lib/fa/cc-visa.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCcVisa extends React.Component<IconBaseProps> { } +declare class FaCcVisa extends React.Component<IconBaseProps> { } +export = FaCcVisa; diff --git a/types/react-icons/lib/fa/cc.d.ts b/types/react-icons/lib/fa/cc.d.ts index e2c4036439..4a74a0e2c4 100644 --- a/types/react-icons/lib/fa/cc.d.ts +++ b/types/react-icons/lib/fa/cc.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCc extends React.Component<IconBaseProps> { } +declare class FaCc extends React.Component<IconBaseProps> { } +export = FaCc; diff --git a/types/react-icons/lib/fa/certificate.d.ts b/types/react-icons/lib/fa/certificate.d.ts index c8845fb117..edbb804b75 100644 --- a/types/react-icons/lib/fa/certificate.d.ts +++ b/types/react-icons/lib/fa/certificate.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCertificate extends React.Component<IconBaseProps> { } +declare class FaCertificate extends React.Component<IconBaseProps> { } +export = FaCertificate; diff --git a/types/react-icons/lib/fa/chain-broken.d.ts b/types/react-icons/lib/fa/chain-broken.d.ts index 87a8310d0a..e799c01fed 100644 --- a/types/react-icons/lib/fa/chain-broken.d.ts +++ b/types/react-icons/lib/fa/chain-broken.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaChainBroken extends React.Component<IconBaseProps> { } +declare class FaChainBroken extends React.Component<IconBaseProps> { } +export = FaChainBroken; diff --git a/types/react-icons/lib/fa/chain.d.ts b/types/react-icons/lib/fa/chain.d.ts index 8359a5f773..851a1bcc8e 100644 --- a/types/react-icons/lib/fa/chain.d.ts +++ b/types/react-icons/lib/fa/chain.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaChain extends React.Component<IconBaseProps> { } +declare class FaChain extends React.Component<IconBaseProps> { } +export = FaChain; diff --git a/types/react-icons/lib/fa/check-circle-o.d.ts b/types/react-icons/lib/fa/check-circle-o.d.ts index 32390d5c4c..dbb3f5bb83 100644 --- a/types/react-icons/lib/fa/check-circle-o.d.ts +++ b/types/react-icons/lib/fa/check-circle-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCheckCircleO extends React.Component<IconBaseProps> { } +declare class FaCheckCircleO extends React.Component<IconBaseProps> { } +export = FaCheckCircleO; diff --git a/types/react-icons/lib/fa/check-circle.d.ts b/types/react-icons/lib/fa/check-circle.d.ts index c30263a3be..121f56e87a 100644 --- a/types/react-icons/lib/fa/check-circle.d.ts +++ b/types/react-icons/lib/fa/check-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCheckCircle extends React.Component<IconBaseProps> { } +declare class FaCheckCircle extends React.Component<IconBaseProps> { } +export = FaCheckCircle; diff --git a/types/react-icons/lib/fa/check-square-o.d.ts b/types/react-icons/lib/fa/check-square-o.d.ts index b4aef21d8c..fdd433d5a7 100644 --- a/types/react-icons/lib/fa/check-square-o.d.ts +++ b/types/react-icons/lib/fa/check-square-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCheckSquareO extends React.Component<IconBaseProps> { } +declare class FaCheckSquareO extends React.Component<IconBaseProps> { } +export = FaCheckSquareO; diff --git a/types/react-icons/lib/fa/check-square.d.ts b/types/react-icons/lib/fa/check-square.d.ts index f6ba4ce0bd..3c83c64db3 100644 --- a/types/react-icons/lib/fa/check-square.d.ts +++ b/types/react-icons/lib/fa/check-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCheckSquare extends React.Component<IconBaseProps> { } +declare class FaCheckSquare extends React.Component<IconBaseProps> { } +export = FaCheckSquare; diff --git a/types/react-icons/lib/fa/check.d.ts b/types/react-icons/lib/fa/check.d.ts index b30727c61c..28ef292a15 100644 --- a/types/react-icons/lib/fa/check.d.ts +++ b/types/react-icons/lib/fa/check.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCheck extends React.Component<IconBaseProps> { } +declare class FaCheck extends React.Component<IconBaseProps> { } +export = FaCheck; diff --git a/types/react-icons/lib/fa/chevron-circle-down.d.ts b/types/react-icons/lib/fa/chevron-circle-down.d.ts index 35eb978aec..4faa5f1df4 100644 --- a/types/react-icons/lib/fa/chevron-circle-down.d.ts +++ b/types/react-icons/lib/fa/chevron-circle-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaChevronCircleDown extends React.Component<IconBaseProps> { } +declare class FaChevronCircleDown extends React.Component<IconBaseProps> { } +export = FaChevronCircleDown; diff --git a/types/react-icons/lib/fa/chevron-circle-left.d.ts b/types/react-icons/lib/fa/chevron-circle-left.d.ts index e84cdd9146..b704b3f359 100644 --- a/types/react-icons/lib/fa/chevron-circle-left.d.ts +++ b/types/react-icons/lib/fa/chevron-circle-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaChevronCircleLeft extends React.Component<IconBaseProps> { } +declare class FaChevronCircleLeft extends React.Component<IconBaseProps> { } +export = FaChevronCircleLeft; diff --git a/types/react-icons/lib/fa/chevron-circle-right.d.ts b/types/react-icons/lib/fa/chevron-circle-right.d.ts index d5e4d2429c..19672a33b7 100644 --- a/types/react-icons/lib/fa/chevron-circle-right.d.ts +++ b/types/react-icons/lib/fa/chevron-circle-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaChevronCircleRight extends React.Component<IconBaseProps> { } +declare class FaChevronCircleRight extends React.Component<IconBaseProps> { } +export = FaChevronCircleRight; diff --git a/types/react-icons/lib/fa/chevron-circle-up.d.ts b/types/react-icons/lib/fa/chevron-circle-up.d.ts index bedcb877d6..8cb4ba33e8 100644 --- a/types/react-icons/lib/fa/chevron-circle-up.d.ts +++ b/types/react-icons/lib/fa/chevron-circle-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaChevronCircleUp extends React.Component<IconBaseProps> { } +declare class FaChevronCircleUp extends React.Component<IconBaseProps> { } +export = FaChevronCircleUp; diff --git a/types/react-icons/lib/fa/chevron-down.d.ts b/types/react-icons/lib/fa/chevron-down.d.ts index 5c9ae23cf8..7a113a7bd3 100644 --- a/types/react-icons/lib/fa/chevron-down.d.ts +++ b/types/react-icons/lib/fa/chevron-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaChevronDown extends React.Component<IconBaseProps> { } +declare class FaChevronDown extends React.Component<IconBaseProps> { } +export = FaChevronDown; diff --git a/types/react-icons/lib/fa/chevron-left.d.ts b/types/react-icons/lib/fa/chevron-left.d.ts index b07fae8a5e..2a797f7bfb 100644 --- a/types/react-icons/lib/fa/chevron-left.d.ts +++ b/types/react-icons/lib/fa/chevron-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaChevronLeft extends React.Component<IconBaseProps> { } +declare class FaChevronLeft extends React.Component<IconBaseProps> { } +export = FaChevronLeft; diff --git a/types/react-icons/lib/fa/chevron-right.d.ts b/types/react-icons/lib/fa/chevron-right.d.ts index 27f6264560..0022750994 100644 --- a/types/react-icons/lib/fa/chevron-right.d.ts +++ b/types/react-icons/lib/fa/chevron-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaChevronRight extends React.Component<IconBaseProps> { } +declare class FaChevronRight extends React.Component<IconBaseProps> { } +export = FaChevronRight; diff --git a/types/react-icons/lib/fa/chevron-up.d.ts b/types/react-icons/lib/fa/chevron-up.d.ts index 3847054d06..b1cece9f2c 100644 --- a/types/react-icons/lib/fa/chevron-up.d.ts +++ b/types/react-icons/lib/fa/chevron-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaChevronUp extends React.Component<IconBaseProps> { } +declare class FaChevronUp extends React.Component<IconBaseProps> { } +export = FaChevronUp; diff --git a/types/react-icons/lib/fa/child.d.ts b/types/react-icons/lib/fa/child.d.ts index 08209ee585..3a9361e176 100644 --- a/types/react-icons/lib/fa/child.d.ts +++ b/types/react-icons/lib/fa/child.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaChild extends React.Component<IconBaseProps> { } +declare class FaChild extends React.Component<IconBaseProps> { } +export = FaChild; diff --git a/types/react-icons/lib/fa/chrome.d.ts b/types/react-icons/lib/fa/chrome.d.ts index 703caadb19..691dec5b26 100644 --- a/types/react-icons/lib/fa/chrome.d.ts +++ b/types/react-icons/lib/fa/chrome.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaChrome extends React.Component<IconBaseProps> { } +declare class FaChrome extends React.Component<IconBaseProps> { } +export = FaChrome; diff --git a/types/react-icons/lib/fa/circle-o-notch.d.ts b/types/react-icons/lib/fa/circle-o-notch.d.ts index ed18a9f78d..b58f16f73d 100644 --- a/types/react-icons/lib/fa/circle-o-notch.d.ts +++ b/types/react-icons/lib/fa/circle-o-notch.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCircleONotch extends React.Component<IconBaseProps> { } +declare class FaCircleONotch extends React.Component<IconBaseProps> { } +export = FaCircleONotch; diff --git a/types/react-icons/lib/fa/circle-o.d.ts b/types/react-icons/lib/fa/circle-o.d.ts index 05001b7669..f39a3363db 100644 --- a/types/react-icons/lib/fa/circle-o.d.ts +++ b/types/react-icons/lib/fa/circle-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCircleO extends React.Component<IconBaseProps> { } +declare class FaCircleO extends React.Component<IconBaseProps> { } +export = FaCircleO; diff --git a/types/react-icons/lib/fa/circle-thin.d.ts b/types/react-icons/lib/fa/circle-thin.d.ts index 017b8a0e4d..20bb05625d 100644 --- a/types/react-icons/lib/fa/circle-thin.d.ts +++ b/types/react-icons/lib/fa/circle-thin.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCircleThin extends React.Component<IconBaseProps> { } +declare class FaCircleThin extends React.Component<IconBaseProps> { } +export = FaCircleThin; diff --git a/types/react-icons/lib/fa/circle.d.ts b/types/react-icons/lib/fa/circle.d.ts index 14b042ae0b..868df82fd0 100644 --- a/types/react-icons/lib/fa/circle.d.ts +++ b/types/react-icons/lib/fa/circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCircle extends React.Component<IconBaseProps> { } +declare class FaCircle extends React.Component<IconBaseProps> { } +export = FaCircle; diff --git a/types/react-icons/lib/fa/clipboard.d.ts b/types/react-icons/lib/fa/clipboard.d.ts index 6a15d300fb..e22d01efc8 100644 --- a/types/react-icons/lib/fa/clipboard.d.ts +++ b/types/react-icons/lib/fa/clipboard.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaClipboard extends React.Component<IconBaseProps> { } +declare class FaClipboard extends React.Component<IconBaseProps> { } +export = FaClipboard; diff --git a/types/react-icons/lib/fa/clock-o.d.ts b/types/react-icons/lib/fa/clock-o.d.ts index 021deeb65e..cdc63f0cff 100644 --- a/types/react-icons/lib/fa/clock-o.d.ts +++ b/types/react-icons/lib/fa/clock-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaClockO extends React.Component<IconBaseProps> { } +declare class FaClockO extends React.Component<IconBaseProps> { } +export = FaClockO; diff --git a/types/react-icons/lib/fa/clone.d.ts b/types/react-icons/lib/fa/clone.d.ts index 60b8d9d0b9..f0f4ffb33a 100644 --- a/types/react-icons/lib/fa/clone.d.ts +++ b/types/react-icons/lib/fa/clone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaClone extends React.Component<IconBaseProps> { } +declare class FaClone extends React.Component<IconBaseProps> { } +export = FaClone; diff --git a/types/react-icons/lib/fa/close.d.ts b/types/react-icons/lib/fa/close.d.ts index 81b3c24102..094b3e1b85 100644 --- a/types/react-icons/lib/fa/close.d.ts +++ b/types/react-icons/lib/fa/close.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaClose extends React.Component<IconBaseProps> { } +declare class FaClose extends React.Component<IconBaseProps> { } +export = FaClose; diff --git a/types/react-icons/lib/fa/cloud-download.d.ts b/types/react-icons/lib/fa/cloud-download.d.ts index 76834995ef..7c43077f87 100644 --- a/types/react-icons/lib/fa/cloud-download.d.ts +++ b/types/react-icons/lib/fa/cloud-download.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCloudDownload extends React.Component<IconBaseProps> { } +declare class FaCloudDownload extends React.Component<IconBaseProps> { } +export = FaCloudDownload; diff --git a/types/react-icons/lib/fa/cloud-upload.d.ts b/types/react-icons/lib/fa/cloud-upload.d.ts index 68e7a59934..a1889f0e7a 100644 --- a/types/react-icons/lib/fa/cloud-upload.d.ts +++ b/types/react-icons/lib/fa/cloud-upload.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCloudUpload extends React.Component<IconBaseProps> { } +declare class FaCloudUpload extends React.Component<IconBaseProps> { } +export = FaCloudUpload; diff --git a/types/react-icons/lib/fa/cloud.d.ts b/types/react-icons/lib/fa/cloud.d.ts index 555b3f5a09..3731c7dc7f 100644 --- a/types/react-icons/lib/fa/cloud.d.ts +++ b/types/react-icons/lib/fa/cloud.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCloud extends React.Component<IconBaseProps> { } +declare class FaCloud extends React.Component<IconBaseProps> { } +export = FaCloud; diff --git a/types/react-icons/lib/fa/cny.d.ts b/types/react-icons/lib/fa/cny.d.ts index 816523c44e..0beb3d9267 100644 --- a/types/react-icons/lib/fa/cny.d.ts +++ b/types/react-icons/lib/fa/cny.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCny extends React.Component<IconBaseProps> { } +declare class FaCny extends React.Component<IconBaseProps> { } +export = FaCny; diff --git a/types/react-icons/lib/fa/code-fork.d.ts b/types/react-icons/lib/fa/code-fork.d.ts index 520f347006..629cb69d31 100644 --- a/types/react-icons/lib/fa/code-fork.d.ts +++ b/types/react-icons/lib/fa/code-fork.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCodeFork extends React.Component<IconBaseProps> { } +declare class FaCodeFork extends React.Component<IconBaseProps> { } +export = FaCodeFork; diff --git a/types/react-icons/lib/fa/code.d.ts b/types/react-icons/lib/fa/code.d.ts index 5a9b025804..c326599c5b 100644 --- a/types/react-icons/lib/fa/code.d.ts +++ b/types/react-icons/lib/fa/code.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCode extends React.Component<IconBaseProps> { } +declare class FaCode extends React.Component<IconBaseProps> { } +export = FaCode; diff --git a/types/react-icons/lib/fa/codepen.d.ts b/types/react-icons/lib/fa/codepen.d.ts index e317fd7e6e..fca3ca9958 100644 --- a/types/react-icons/lib/fa/codepen.d.ts +++ b/types/react-icons/lib/fa/codepen.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCodepen extends React.Component<IconBaseProps> { } +declare class FaCodepen extends React.Component<IconBaseProps> { } +export = FaCodepen; diff --git a/types/react-icons/lib/fa/codiepie.d.ts b/types/react-icons/lib/fa/codiepie.d.ts index 74deac600a..fe85ee642b 100644 --- a/types/react-icons/lib/fa/codiepie.d.ts +++ b/types/react-icons/lib/fa/codiepie.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCodiepie extends React.Component<IconBaseProps> { } +declare class FaCodiepie extends React.Component<IconBaseProps> { } +export = FaCodiepie; diff --git a/types/react-icons/lib/fa/coffee.d.ts b/types/react-icons/lib/fa/coffee.d.ts index defdc05087..c180b18989 100644 --- a/types/react-icons/lib/fa/coffee.d.ts +++ b/types/react-icons/lib/fa/coffee.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCoffee extends React.Component<IconBaseProps> { } +declare class FaCoffee extends React.Component<IconBaseProps> { } +export = FaCoffee; diff --git a/types/react-icons/lib/fa/cog.d.ts b/types/react-icons/lib/fa/cog.d.ts index 1fe2c08345..1a334e597a 100644 --- a/types/react-icons/lib/fa/cog.d.ts +++ b/types/react-icons/lib/fa/cog.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCog extends React.Component<IconBaseProps> { } +declare class FaCog extends React.Component<IconBaseProps> { } +export = FaCog; diff --git a/types/react-icons/lib/fa/cogs.d.ts b/types/react-icons/lib/fa/cogs.d.ts index daf4b449d3..af3acaec4d 100644 --- a/types/react-icons/lib/fa/cogs.d.ts +++ b/types/react-icons/lib/fa/cogs.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCogs extends React.Component<IconBaseProps> { } +declare class FaCogs extends React.Component<IconBaseProps> { } +export = FaCogs; diff --git a/types/react-icons/lib/fa/columns.d.ts b/types/react-icons/lib/fa/columns.d.ts index 8e88628b63..c4654d0a77 100644 --- a/types/react-icons/lib/fa/columns.d.ts +++ b/types/react-icons/lib/fa/columns.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaColumns extends React.Component<IconBaseProps> { } +declare class FaColumns extends React.Component<IconBaseProps> { } +export = FaColumns; diff --git a/types/react-icons/lib/fa/comment-o.d.ts b/types/react-icons/lib/fa/comment-o.d.ts index e627ec6248..dd54ac16e0 100644 --- a/types/react-icons/lib/fa/comment-o.d.ts +++ b/types/react-icons/lib/fa/comment-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCommentO extends React.Component<IconBaseProps> { } +declare class FaCommentO extends React.Component<IconBaseProps> { } +export = FaCommentO; diff --git a/types/react-icons/lib/fa/comment.d.ts b/types/react-icons/lib/fa/comment.d.ts index 82043adb6a..a047b84b08 100644 --- a/types/react-icons/lib/fa/comment.d.ts +++ b/types/react-icons/lib/fa/comment.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaComment extends React.Component<IconBaseProps> { } +declare class FaComment extends React.Component<IconBaseProps> { } +export = FaComment; diff --git a/types/react-icons/lib/fa/commenting-o.d.ts b/types/react-icons/lib/fa/commenting-o.d.ts index 40a4c3f058..62f564350d 100644 --- a/types/react-icons/lib/fa/commenting-o.d.ts +++ b/types/react-icons/lib/fa/commenting-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCommentingO extends React.Component<IconBaseProps> { } +declare class FaCommentingO extends React.Component<IconBaseProps> { } +export = FaCommentingO; diff --git a/types/react-icons/lib/fa/commenting.d.ts b/types/react-icons/lib/fa/commenting.d.ts index 1031cc0ad6..d441889bfa 100644 --- a/types/react-icons/lib/fa/commenting.d.ts +++ b/types/react-icons/lib/fa/commenting.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCommenting extends React.Component<IconBaseProps> { } +declare class FaCommenting extends React.Component<IconBaseProps> { } +export = FaCommenting; diff --git a/types/react-icons/lib/fa/comments-o.d.ts b/types/react-icons/lib/fa/comments-o.d.ts index 191de8b6a3..fc8d61a241 100644 --- a/types/react-icons/lib/fa/comments-o.d.ts +++ b/types/react-icons/lib/fa/comments-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCommentsO extends React.Component<IconBaseProps> { } +declare class FaCommentsO extends React.Component<IconBaseProps> { } +export = FaCommentsO; diff --git a/types/react-icons/lib/fa/comments.d.ts b/types/react-icons/lib/fa/comments.d.ts index e77e9f4b42..bfcc34638d 100644 --- a/types/react-icons/lib/fa/comments.d.ts +++ b/types/react-icons/lib/fa/comments.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaComments extends React.Component<IconBaseProps> { } +declare class FaComments extends React.Component<IconBaseProps> { } +export = FaComments; diff --git a/types/react-icons/lib/fa/compass.d.ts b/types/react-icons/lib/fa/compass.d.ts index 36d4843b21..723d54adc2 100644 --- a/types/react-icons/lib/fa/compass.d.ts +++ b/types/react-icons/lib/fa/compass.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCompass extends React.Component<IconBaseProps> { } +declare class FaCompass extends React.Component<IconBaseProps> { } +export = FaCompass; diff --git a/types/react-icons/lib/fa/compress.d.ts b/types/react-icons/lib/fa/compress.d.ts index 7f2f48ca22..b74cdb1972 100644 --- a/types/react-icons/lib/fa/compress.d.ts +++ b/types/react-icons/lib/fa/compress.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCompress extends React.Component<IconBaseProps> { } +declare class FaCompress extends React.Component<IconBaseProps> { } +export = FaCompress; diff --git a/types/react-icons/lib/fa/connectdevelop.d.ts b/types/react-icons/lib/fa/connectdevelop.d.ts index aae5bfa48c..efbff96350 100644 --- a/types/react-icons/lib/fa/connectdevelop.d.ts +++ b/types/react-icons/lib/fa/connectdevelop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaConnectdevelop extends React.Component<IconBaseProps> { } +declare class FaConnectdevelop extends React.Component<IconBaseProps> { } +export = FaConnectdevelop; diff --git a/types/react-icons/lib/fa/contao.d.ts b/types/react-icons/lib/fa/contao.d.ts index c99ab675b4..bef2e66ee5 100644 --- a/types/react-icons/lib/fa/contao.d.ts +++ b/types/react-icons/lib/fa/contao.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaContao extends React.Component<IconBaseProps> { } +declare class FaContao extends React.Component<IconBaseProps> { } +export = FaContao; diff --git a/types/react-icons/lib/fa/copy.d.ts b/types/react-icons/lib/fa/copy.d.ts index 3e6e11bf31..df23e99f5c 100644 --- a/types/react-icons/lib/fa/copy.d.ts +++ b/types/react-icons/lib/fa/copy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCopy extends React.Component<IconBaseProps> { } +declare class FaCopy extends React.Component<IconBaseProps> { } +export = FaCopy; diff --git a/types/react-icons/lib/fa/copyright.d.ts b/types/react-icons/lib/fa/copyright.d.ts index 630383979f..5e4d25dddf 100644 --- a/types/react-icons/lib/fa/copyright.d.ts +++ b/types/react-icons/lib/fa/copyright.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCopyright extends React.Component<IconBaseProps> { } +declare class FaCopyright extends React.Component<IconBaseProps> { } +export = FaCopyright; diff --git a/types/react-icons/lib/fa/creative-commons.d.ts b/types/react-icons/lib/fa/creative-commons.d.ts index eecacfd23c..0d7a0f343d 100644 --- a/types/react-icons/lib/fa/creative-commons.d.ts +++ b/types/react-icons/lib/fa/creative-commons.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCreativeCommons extends React.Component<IconBaseProps> { } +declare class FaCreativeCommons extends React.Component<IconBaseProps> { } +export = FaCreativeCommons; diff --git a/types/react-icons/lib/fa/credit-card-alt.d.ts b/types/react-icons/lib/fa/credit-card-alt.d.ts index c9d2f20993..6a21316ced 100644 --- a/types/react-icons/lib/fa/credit-card-alt.d.ts +++ b/types/react-icons/lib/fa/credit-card-alt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCreditCardAlt extends React.Component<IconBaseProps> { } +declare class FaCreditCardAlt extends React.Component<IconBaseProps> { } +export = FaCreditCardAlt; diff --git a/types/react-icons/lib/fa/credit-card.d.ts b/types/react-icons/lib/fa/credit-card.d.ts index 374f9efdda..0a66aa3502 100644 --- a/types/react-icons/lib/fa/credit-card.d.ts +++ b/types/react-icons/lib/fa/credit-card.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCreditCard extends React.Component<IconBaseProps> { } +declare class FaCreditCard extends React.Component<IconBaseProps> { } +export = FaCreditCard; diff --git a/types/react-icons/lib/fa/crop.d.ts b/types/react-icons/lib/fa/crop.d.ts index aa47690da9..d5a8fca0c0 100644 --- a/types/react-icons/lib/fa/crop.d.ts +++ b/types/react-icons/lib/fa/crop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCrop extends React.Component<IconBaseProps> { } +declare class FaCrop extends React.Component<IconBaseProps> { } +export = FaCrop; diff --git a/types/react-icons/lib/fa/crosshairs.d.ts b/types/react-icons/lib/fa/crosshairs.d.ts index c54203bb33..9d0eec3c43 100644 --- a/types/react-icons/lib/fa/crosshairs.d.ts +++ b/types/react-icons/lib/fa/crosshairs.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCrosshairs extends React.Component<IconBaseProps> { } +declare class FaCrosshairs extends React.Component<IconBaseProps> { } +export = FaCrosshairs; diff --git a/types/react-icons/lib/fa/css3.d.ts b/types/react-icons/lib/fa/css3.d.ts index 361b20e295..09da385a81 100644 --- a/types/react-icons/lib/fa/css3.d.ts +++ b/types/react-icons/lib/fa/css3.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCss3 extends React.Component<IconBaseProps> { } +declare class FaCss3 extends React.Component<IconBaseProps> { } +export = FaCss3; diff --git a/types/react-icons/lib/fa/cube.d.ts b/types/react-icons/lib/fa/cube.d.ts index ad9dc6b033..8ecf9e7fdb 100644 --- a/types/react-icons/lib/fa/cube.d.ts +++ b/types/react-icons/lib/fa/cube.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCube extends React.Component<IconBaseProps> { } +declare class FaCube extends React.Component<IconBaseProps> { } +export = FaCube; diff --git a/types/react-icons/lib/fa/cubes.d.ts b/types/react-icons/lib/fa/cubes.d.ts index a2cdf49c8c..e2d2ea0f93 100644 --- a/types/react-icons/lib/fa/cubes.d.ts +++ b/types/react-icons/lib/fa/cubes.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCubes extends React.Component<IconBaseProps> { } +declare class FaCubes extends React.Component<IconBaseProps> { } +export = FaCubes; diff --git a/types/react-icons/lib/fa/cut.d.ts b/types/react-icons/lib/fa/cut.d.ts index 0c93d3cbc2..bba94e53ba 100644 --- a/types/react-icons/lib/fa/cut.d.ts +++ b/types/react-icons/lib/fa/cut.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCut extends React.Component<IconBaseProps> { } +declare class FaCut extends React.Component<IconBaseProps> { } +export = FaCut; diff --git a/types/react-icons/lib/fa/cutlery.d.ts b/types/react-icons/lib/fa/cutlery.d.ts index f4496c61e3..74ace7cf30 100644 --- a/types/react-icons/lib/fa/cutlery.d.ts +++ b/types/react-icons/lib/fa/cutlery.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaCutlery extends React.Component<IconBaseProps> { } +declare class FaCutlery extends React.Component<IconBaseProps> { } +export = FaCutlery; diff --git a/types/react-icons/lib/fa/dashboard.d.ts b/types/react-icons/lib/fa/dashboard.d.ts index d763edb50d..20824e5f61 100644 --- a/types/react-icons/lib/fa/dashboard.d.ts +++ b/types/react-icons/lib/fa/dashboard.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaDashboard extends React.Component<IconBaseProps> { } +declare class FaDashboard extends React.Component<IconBaseProps> { } +export = FaDashboard; diff --git a/types/react-icons/lib/fa/dashcube.d.ts b/types/react-icons/lib/fa/dashcube.d.ts index ed15f887b2..2b11b28908 100644 --- a/types/react-icons/lib/fa/dashcube.d.ts +++ b/types/react-icons/lib/fa/dashcube.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaDashcube extends React.Component<IconBaseProps> { } +declare class FaDashcube extends React.Component<IconBaseProps> { } +export = FaDashcube; diff --git a/types/react-icons/lib/fa/database.d.ts b/types/react-icons/lib/fa/database.d.ts index cfb7bcbedd..ac4aae49de 100644 --- a/types/react-icons/lib/fa/database.d.ts +++ b/types/react-icons/lib/fa/database.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaDatabase extends React.Component<IconBaseProps> { } +declare class FaDatabase extends React.Component<IconBaseProps> { } +export = FaDatabase; diff --git a/types/react-icons/lib/fa/deaf.d.ts b/types/react-icons/lib/fa/deaf.d.ts index a53c48b057..a1c6fdd7b6 100644 --- a/types/react-icons/lib/fa/deaf.d.ts +++ b/types/react-icons/lib/fa/deaf.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaDeaf extends React.Component<IconBaseProps> { } +declare class FaDeaf extends React.Component<IconBaseProps> { } +export = FaDeaf; diff --git a/types/react-icons/lib/fa/dedent.d.ts b/types/react-icons/lib/fa/dedent.d.ts index 30db3c96d4..9d7c8bcf7c 100644 --- a/types/react-icons/lib/fa/dedent.d.ts +++ b/types/react-icons/lib/fa/dedent.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaDedent extends React.Component<IconBaseProps> { } +declare class FaDedent extends React.Component<IconBaseProps> { } +export = FaDedent; diff --git a/types/react-icons/lib/fa/delicious.d.ts b/types/react-icons/lib/fa/delicious.d.ts index 7a069105b3..b2e522393f 100644 --- a/types/react-icons/lib/fa/delicious.d.ts +++ b/types/react-icons/lib/fa/delicious.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaDelicious extends React.Component<IconBaseProps> { } +declare class FaDelicious extends React.Component<IconBaseProps> { } +export = FaDelicious; diff --git a/types/react-icons/lib/fa/desktop.d.ts b/types/react-icons/lib/fa/desktop.d.ts index 7ada5afec8..46bc3de05f 100644 --- a/types/react-icons/lib/fa/desktop.d.ts +++ b/types/react-icons/lib/fa/desktop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaDesktop extends React.Component<IconBaseProps> { } +declare class FaDesktop extends React.Component<IconBaseProps> { } +export = FaDesktop; diff --git a/types/react-icons/lib/fa/deviantart.d.ts b/types/react-icons/lib/fa/deviantart.d.ts index d3d8521e04..f81be1f6c7 100644 --- a/types/react-icons/lib/fa/deviantart.d.ts +++ b/types/react-icons/lib/fa/deviantart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaDeviantart extends React.Component<IconBaseProps> { } +declare class FaDeviantart extends React.Component<IconBaseProps> { } +export = FaDeviantart; diff --git a/types/react-icons/lib/fa/diamond.d.ts b/types/react-icons/lib/fa/diamond.d.ts index 1d54c78101..7e5ae9df3b 100644 --- a/types/react-icons/lib/fa/diamond.d.ts +++ b/types/react-icons/lib/fa/diamond.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaDiamond extends React.Component<IconBaseProps> { } +declare class FaDiamond extends React.Component<IconBaseProps> { } +export = FaDiamond; diff --git a/types/react-icons/lib/fa/digg.d.ts b/types/react-icons/lib/fa/digg.d.ts index 7ba32cbe41..23583964a5 100644 --- a/types/react-icons/lib/fa/digg.d.ts +++ b/types/react-icons/lib/fa/digg.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaDigg extends React.Component<IconBaseProps> { } +declare class FaDigg extends React.Component<IconBaseProps> { } +export = FaDigg; diff --git a/types/react-icons/lib/fa/dollar.d.ts b/types/react-icons/lib/fa/dollar.d.ts index 339fc41f86..5311f1a562 100644 --- a/types/react-icons/lib/fa/dollar.d.ts +++ b/types/react-icons/lib/fa/dollar.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaDollar extends React.Component<IconBaseProps> { } +declare class FaDollar extends React.Component<IconBaseProps> { } +export = FaDollar; diff --git a/types/react-icons/lib/fa/dot-circle-o.d.ts b/types/react-icons/lib/fa/dot-circle-o.d.ts index 8479c5a1c1..35f9eb9650 100644 --- a/types/react-icons/lib/fa/dot-circle-o.d.ts +++ b/types/react-icons/lib/fa/dot-circle-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaDotCircleO extends React.Component<IconBaseProps> { } +declare class FaDotCircleO extends React.Component<IconBaseProps> { } +export = FaDotCircleO; diff --git a/types/react-icons/lib/fa/download.d.ts b/types/react-icons/lib/fa/download.d.ts index bd458b4c21..256c59de79 100644 --- a/types/react-icons/lib/fa/download.d.ts +++ b/types/react-icons/lib/fa/download.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaDownload extends React.Component<IconBaseProps> { } +declare class FaDownload extends React.Component<IconBaseProps> { } +export = FaDownload; diff --git a/types/react-icons/lib/fa/dribbble.d.ts b/types/react-icons/lib/fa/dribbble.d.ts index 97c095c7f0..668a16710b 100644 --- a/types/react-icons/lib/fa/dribbble.d.ts +++ b/types/react-icons/lib/fa/dribbble.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaDribbble extends React.Component<IconBaseProps> { } +declare class FaDribbble extends React.Component<IconBaseProps> { } +export = FaDribbble; diff --git a/types/react-icons/lib/fa/dropbox.d.ts b/types/react-icons/lib/fa/dropbox.d.ts index 1534075582..8f780c1b1a 100644 --- a/types/react-icons/lib/fa/dropbox.d.ts +++ b/types/react-icons/lib/fa/dropbox.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaDropbox extends React.Component<IconBaseProps> { } +declare class FaDropbox extends React.Component<IconBaseProps> { } +export = FaDropbox; diff --git a/types/react-icons/lib/fa/drupal.d.ts b/types/react-icons/lib/fa/drupal.d.ts index c4318c69ed..7e1f23e073 100644 --- a/types/react-icons/lib/fa/drupal.d.ts +++ b/types/react-icons/lib/fa/drupal.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaDrupal extends React.Component<IconBaseProps> { } +declare class FaDrupal extends React.Component<IconBaseProps> { } +export = FaDrupal; diff --git a/types/react-icons/lib/fa/edge.d.ts b/types/react-icons/lib/fa/edge.d.ts index bfe0ccba18..38b4368b33 100644 --- a/types/react-icons/lib/fa/edge.d.ts +++ b/types/react-icons/lib/fa/edge.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaEdge extends React.Component<IconBaseProps> { } +declare class FaEdge extends React.Component<IconBaseProps> { } +export = FaEdge; diff --git a/types/react-icons/lib/fa/edit.d.ts b/types/react-icons/lib/fa/edit.d.ts index e207eca02c..989dc37c64 100644 --- a/types/react-icons/lib/fa/edit.d.ts +++ b/types/react-icons/lib/fa/edit.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaEdit extends React.Component<IconBaseProps> { } +declare class FaEdit extends React.Component<IconBaseProps> { } +export = FaEdit; diff --git a/types/react-icons/lib/fa/eject.d.ts b/types/react-icons/lib/fa/eject.d.ts index 6a8ba89e5b..bc9e34c4a8 100644 --- a/types/react-icons/lib/fa/eject.d.ts +++ b/types/react-icons/lib/fa/eject.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaEject extends React.Component<IconBaseProps> { } +declare class FaEject extends React.Component<IconBaseProps> { } +export = FaEject; diff --git a/types/react-icons/lib/fa/ellipsis-h.d.ts b/types/react-icons/lib/fa/ellipsis-h.d.ts index 6c97cce7ac..d00da1e799 100644 --- a/types/react-icons/lib/fa/ellipsis-h.d.ts +++ b/types/react-icons/lib/fa/ellipsis-h.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaEllipsisH extends React.Component<IconBaseProps> { } +declare class FaEllipsisH extends React.Component<IconBaseProps> { } +export = FaEllipsisH; diff --git a/types/react-icons/lib/fa/ellipsis-v.d.ts b/types/react-icons/lib/fa/ellipsis-v.d.ts index a6a862fcc0..d9d4e1c84e 100644 --- a/types/react-icons/lib/fa/ellipsis-v.d.ts +++ b/types/react-icons/lib/fa/ellipsis-v.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaEllipsisV extends React.Component<IconBaseProps> { } +declare class FaEllipsisV extends React.Component<IconBaseProps> { } +export = FaEllipsisV; diff --git a/types/react-icons/lib/fa/empire.d.ts b/types/react-icons/lib/fa/empire.d.ts index c898a570aa..5cc1dad476 100644 --- a/types/react-icons/lib/fa/empire.d.ts +++ b/types/react-icons/lib/fa/empire.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaEmpire extends React.Component<IconBaseProps> { } +declare class FaEmpire extends React.Component<IconBaseProps> { } +export = FaEmpire; diff --git a/types/react-icons/lib/fa/envelope-o.d.ts b/types/react-icons/lib/fa/envelope-o.d.ts index 91552afcb2..4469389609 100644 --- a/types/react-icons/lib/fa/envelope-o.d.ts +++ b/types/react-icons/lib/fa/envelope-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaEnvelopeO extends React.Component<IconBaseProps> { } +declare class FaEnvelopeO extends React.Component<IconBaseProps> { } +export = FaEnvelopeO; diff --git a/types/react-icons/lib/fa/envelope-square.d.ts b/types/react-icons/lib/fa/envelope-square.d.ts index c984bceac4..6d3c1cf0f8 100644 --- a/types/react-icons/lib/fa/envelope-square.d.ts +++ b/types/react-icons/lib/fa/envelope-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaEnvelopeSquare extends React.Component<IconBaseProps> { } +declare class FaEnvelopeSquare extends React.Component<IconBaseProps> { } +export = FaEnvelopeSquare; diff --git a/types/react-icons/lib/fa/envelope.d.ts b/types/react-icons/lib/fa/envelope.d.ts index c93f0c144b..219156d484 100644 --- a/types/react-icons/lib/fa/envelope.d.ts +++ b/types/react-icons/lib/fa/envelope.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaEnvelope extends React.Component<IconBaseProps> { } +declare class FaEnvelope extends React.Component<IconBaseProps> { } +export = FaEnvelope; diff --git a/types/react-icons/lib/fa/envira.d.ts b/types/react-icons/lib/fa/envira.d.ts index 8ccf1e8183..4ab89938e7 100644 --- a/types/react-icons/lib/fa/envira.d.ts +++ b/types/react-icons/lib/fa/envira.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaEnvira extends React.Component<IconBaseProps> { } +declare class FaEnvira extends React.Component<IconBaseProps> { } +export = FaEnvira; diff --git a/types/react-icons/lib/fa/eraser.d.ts b/types/react-icons/lib/fa/eraser.d.ts index 1751f58630..ad40c75975 100644 --- a/types/react-icons/lib/fa/eraser.d.ts +++ b/types/react-icons/lib/fa/eraser.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaEraser extends React.Component<IconBaseProps> { } +declare class FaEraser extends React.Component<IconBaseProps> { } +export = FaEraser; diff --git a/types/react-icons/lib/fa/eur.d.ts b/types/react-icons/lib/fa/eur.d.ts index 466c340a42..6d18711dd5 100644 --- a/types/react-icons/lib/fa/eur.d.ts +++ b/types/react-icons/lib/fa/eur.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaEur extends React.Component<IconBaseProps> { } +declare class FaEur extends React.Component<IconBaseProps> { } +export = FaEur; diff --git a/types/react-icons/lib/fa/exchange.d.ts b/types/react-icons/lib/fa/exchange.d.ts index 61f666fcc6..86e1df628d 100644 --- a/types/react-icons/lib/fa/exchange.d.ts +++ b/types/react-icons/lib/fa/exchange.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaExchange extends React.Component<IconBaseProps> { } +declare class FaExchange extends React.Component<IconBaseProps> { } +export = FaExchange; diff --git a/types/react-icons/lib/fa/exclamation-circle.d.ts b/types/react-icons/lib/fa/exclamation-circle.d.ts index 074285abc3..b421e2dd49 100644 --- a/types/react-icons/lib/fa/exclamation-circle.d.ts +++ b/types/react-icons/lib/fa/exclamation-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaExclamationCircle extends React.Component<IconBaseProps> { } +declare class FaExclamationCircle extends React.Component<IconBaseProps> { } +export = FaExclamationCircle; diff --git a/types/react-icons/lib/fa/exclamation-triangle.d.ts b/types/react-icons/lib/fa/exclamation-triangle.d.ts index 0e6a2039ef..340cdae80e 100644 --- a/types/react-icons/lib/fa/exclamation-triangle.d.ts +++ b/types/react-icons/lib/fa/exclamation-triangle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaExclamationTriangle extends React.Component<IconBaseProps> { } +declare class FaExclamationTriangle extends React.Component<IconBaseProps> { } +export = FaExclamationTriangle; diff --git a/types/react-icons/lib/fa/exclamation.d.ts b/types/react-icons/lib/fa/exclamation.d.ts index 822c50b207..9faa259a47 100644 --- a/types/react-icons/lib/fa/exclamation.d.ts +++ b/types/react-icons/lib/fa/exclamation.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaExclamation extends React.Component<IconBaseProps> { } +declare class FaExclamation extends React.Component<IconBaseProps> { } +export = FaExclamation; diff --git a/types/react-icons/lib/fa/expand.d.ts b/types/react-icons/lib/fa/expand.d.ts index 4648b519b9..8a85cf0f71 100644 --- a/types/react-icons/lib/fa/expand.d.ts +++ b/types/react-icons/lib/fa/expand.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaExpand extends React.Component<IconBaseProps> { } +declare class FaExpand extends React.Component<IconBaseProps> { } +export = FaExpand; diff --git a/types/react-icons/lib/fa/expeditedssl.d.ts b/types/react-icons/lib/fa/expeditedssl.d.ts index e30594333e..881ce2621c 100644 --- a/types/react-icons/lib/fa/expeditedssl.d.ts +++ b/types/react-icons/lib/fa/expeditedssl.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaExpeditedssl extends React.Component<IconBaseProps> { } +declare class FaExpeditedssl extends React.Component<IconBaseProps> { } +export = FaExpeditedssl; diff --git a/types/react-icons/lib/fa/external-link-square.d.ts b/types/react-icons/lib/fa/external-link-square.d.ts index f49858db95..9fb66091cb 100644 --- a/types/react-icons/lib/fa/external-link-square.d.ts +++ b/types/react-icons/lib/fa/external-link-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaExternalLinkSquare extends React.Component<IconBaseProps> { } +declare class FaExternalLinkSquare extends React.Component<IconBaseProps> { } +export = FaExternalLinkSquare; diff --git a/types/react-icons/lib/fa/external-link.d.ts b/types/react-icons/lib/fa/external-link.d.ts index 69b539a542..eb4af13164 100644 --- a/types/react-icons/lib/fa/external-link.d.ts +++ b/types/react-icons/lib/fa/external-link.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaExternalLink extends React.Component<IconBaseProps> { } +declare class FaExternalLink extends React.Component<IconBaseProps> { } +export = FaExternalLink; diff --git a/types/react-icons/lib/fa/eye-slash.d.ts b/types/react-icons/lib/fa/eye-slash.d.ts index cbf60ac206..ca8008324d 100644 --- a/types/react-icons/lib/fa/eye-slash.d.ts +++ b/types/react-icons/lib/fa/eye-slash.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaEyeSlash extends React.Component<IconBaseProps> { } +declare class FaEyeSlash extends React.Component<IconBaseProps> { } +export = FaEyeSlash; diff --git a/types/react-icons/lib/fa/eye.d.ts b/types/react-icons/lib/fa/eye.d.ts index bec2d41708..74acb8f8d6 100644 --- a/types/react-icons/lib/fa/eye.d.ts +++ b/types/react-icons/lib/fa/eye.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaEye extends React.Component<IconBaseProps> { } +declare class FaEye extends React.Component<IconBaseProps> { } +export = FaEye; diff --git a/types/react-icons/lib/fa/eyedropper.d.ts b/types/react-icons/lib/fa/eyedropper.d.ts index 87b2d74f41..41ec80d371 100644 --- a/types/react-icons/lib/fa/eyedropper.d.ts +++ b/types/react-icons/lib/fa/eyedropper.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaEyedropper extends React.Component<IconBaseProps> { } +declare class FaEyedropper extends React.Component<IconBaseProps> { } +export = FaEyedropper; diff --git a/types/react-icons/lib/fa/facebook-official.d.ts b/types/react-icons/lib/fa/facebook-official.d.ts index 3424fb90dd..1f1a4d12ff 100644 --- a/types/react-icons/lib/fa/facebook-official.d.ts +++ b/types/react-icons/lib/fa/facebook-official.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFacebookOfficial extends React.Component<IconBaseProps> { } +declare class FaFacebookOfficial extends React.Component<IconBaseProps> { } +export = FaFacebookOfficial; diff --git a/types/react-icons/lib/fa/facebook-square.d.ts b/types/react-icons/lib/fa/facebook-square.d.ts index fb5c101a6b..9913daf360 100644 --- a/types/react-icons/lib/fa/facebook-square.d.ts +++ b/types/react-icons/lib/fa/facebook-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFacebookSquare extends React.Component<IconBaseProps> { } +declare class FaFacebookSquare extends React.Component<IconBaseProps> { } +export = FaFacebookSquare; diff --git a/types/react-icons/lib/fa/facebook.d.ts b/types/react-icons/lib/fa/facebook.d.ts index d837e533dd..1644fe29eb 100644 --- a/types/react-icons/lib/fa/facebook.d.ts +++ b/types/react-icons/lib/fa/facebook.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFacebook extends React.Component<IconBaseProps> { } +declare class FaFacebook extends React.Component<IconBaseProps> { } +export = FaFacebook; diff --git a/types/react-icons/lib/fa/fast-backward.d.ts b/types/react-icons/lib/fa/fast-backward.d.ts index 73f95fd419..1e7d42c3b6 100644 --- a/types/react-icons/lib/fa/fast-backward.d.ts +++ b/types/react-icons/lib/fa/fast-backward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFastBackward extends React.Component<IconBaseProps> { } +declare class FaFastBackward extends React.Component<IconBaseProps> { } +export = FaFastBackward; diff --git a/types/react-icons/lib/fa/fast-forward.d.ts b/types/react-icons/lib/fa/fast-forward.d.ts index c28ea39eb7..6321e070d6 100644 --- a/types/react-icons/lib/fa/fast-forward.d.ts +++ b/types/react-icons/lib/fa/fast-forward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFastForward extends React.Component<IconBaseProps> { } +declare class FaFastForward extends React.Component<IconBaseProps> { } +export = FaFastForward; diff --git a/types/react-icons/lib/fa/fax.d.ts b/types/react-icons/lib/fa/fax.d.ts index 9ca411f7f9..9b132d388d 100644 --- a/types/react-icons/lib/fa/fax.d.ts +++ b/types/react-icons/lib/fa/fax.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFax extends React.Component<IconBaseProps> { } +declare class FaFax extends React.Component<IconBaseProps> { } +export = FaFax; diff --git a/types/react-icons/lib/fa/feed.d.ts b/types/react-icons/lib/fa/feed.d.ts index 448c3a2e24..38127134e7 100644 --- a/types/react-icons/lib/fa/feed.d.ts +++ b/types/react-icons/lib/fa/feed.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFeed extends React.Component<IconBaseProps> { } +declare class FaFeed extends React.Component<IconBaseProps> { } +export = FaFeed; diff --git a/types/react-icons/lib/fa/female.d.ts b/types/react-icons/lib/fa/female.d.ts index d18a20d305..03d6b92278 100644 --- a/types/react-icons/lib/fa/female.d.ts +++ b/types/react-icons/lib/fa/female.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFemale extends React.Component<IconBaseProps> { } +declare class FaFemale extends React.Component<IconBaseProps> { } +export = FaFemale; diff --git a/types/react-icons/lib/fa/fighter-jet.d.ts b/types/react-icons/lib/fa/fighter-jet.d.ts index 124b4d63e3..e6cf5be901 100644 --- a/types/react-icons/lib/fa/fighter-jet.d.ts +++ b/types/react-icons/lib/fa/fighter-jet.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFighterJet extends React.Component<IconBaseProps> { } +declare class FaFighterJet extends React.Component<IconBaseProps> { } +export = FaFighterJet; diff --git a/types/react-icons/lib/fa/file-archive-o.d.ts b/types/react-icons/lib/fa/file-archive-o.d.ts index 6a3390c936..ff25fc06ad 100644 --- a/types/react-icons/lib/fa/file-archive-o.d.ts +++ b/types/react-icons/lib/fa/file-archive-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFileArchiveO extends React.Component<IconBaseProps> { } +declare class FaFileArchiveO extends React.Component<IconBaseProps> { } +export = FaFileArchiveO; diff --git a/types/react-icons/lib/fa/file-audio-o.d.ts b/types/react-icons/lib/fa/file-audio-o.d.ts index a360a79960..211c6fa6d9 100644 --- a/types/react-icons/lib/fa/file-audio-o.d.ts +++ b/types/react-icons/lib/fa/file-audio-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFileAudioO extends React.Component<IconBaseProps> { } +declare class FaFileAudioO extends React.Component<IconBaseProps> { } +export = FaFileAudioO; diff --git a/types/react-icons/lib/fa/file-code-o.d.ts b/types/react-icons/lib/fa/file-code-o.d.ts index 754fcb2d04..9a29a3c9b2 100644 --- a/types/react-icons/lib/fa/file-code-o.d.ts +++ b/types/react-icons/lib/fa/file-code-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFileCodeO extends React.Component<IconBaseProps> { } +declare class FaFileCodeO extends React.Component<IconBaseProps> { } +export = FaFileCodeO; diff --git a/types/react-icons/lib/fa/file-excel-o.d.ts b/types/react-icons/lib/fa/file-excel-o.d.ts index dd41811e82..4bbfd0bcea 100644 --- a/types/react-icons/lib/fa/file-excel-o.d.ts +++ b/types/react-icons/lib/fa/file-excel-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFileExcelO extends React.Component<IconBaseProps> { } +declare class FaFileExcelO extends React.Component<IconBaseProps> { } +export = FaFileExcelO; diff --git a/types/react-icons/lib/fa/file-image-o.d.ts b/types/react-icons/lib/fa/file-image-o.d.ts index 7c6b77a296..11ae1f0c6f 100644 --- a/types/react-icons/lib/fa/file-image-o.d.ts +++ b/types/react-icons/lib/fa/file-image-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFileImageO extends React.Component<IconBaseProps> { } +declare class FaFileImageO extends React.Component<IconBaseProps> { } +export = FaFileImageO; diff --git a/types/react-icons/lib/fa/file-movie-o.d.ts b/types/react-icons/lib/fa/file-movie-o.d.ts index ec9a9e0e0d..9ed9155780 100644 --- a/types/react-icons/lib/fa/file-movie-o.d.ts +++ b/types/react-icons/lib/fa/file-movie-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFileMovieO extends React.Component<IconBaseProps> { } +declare class FaFileMovieO extends React.Component<IconBaseProps> { } +export = FaFileMovieO; diff --git a/types/react-icons/lib/fa/file-o.d.ts b/types/react-icons/lib/fa/file-o.d.ts index 726de80769..d999ac3e54 100644 --- a/types/react-icons/lib/fa/file-o.d.ts +++ b/types/react-icons/lib/fa/file-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFileO extends React.Component<IconBaseProps> { } +declare class FaFileO extends React.Component<IconBaseProps> { } +export = FaFileO; diff --git a/types/react-icons/lib/fa/file-pdf-o.d.ts b/types/react-icons/lib/fa/file-pdf-o.d.ts index 79ae492b23..e2abcd0736 100644 --- a/types/react-icons/lib/fa/file-pdf-o.d.ts +++ b/types/react-icons/lib/fa/file-pdf-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFilePdfO extends React.Component<IconBaseProps> { } +declare class FaFilePdfO extends React.Component<IconBaseProps> { } +export = FaFilePdfO; diff --git a/types/react-icons/lib/fa/file-powerpoint-o.d.ts b/types/react-icons/lib/fa/file-powerpoint-o.d.ts index fd4016615c..447f354ee1 100644 --- a/types/react-icons/lib/fa/file-powerpoint-o.d.ts +++ b/types/react-icons/lib/fa/file-powerpoint-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFilePowerpointO extends React.Component<IconBaseProps> { } +declare class FaFilePowerpointO extends React.Component<IconBaseProps> { } +export = FaFilePowerpointO; diff --git a/types/react-icons/lib/fa/file-text-o.d.ts b/types/react-icons/lib/fa/file-text-o.d.ts index 5bf9475839..8d1d06d3fc 100644 --- a/types/react-icons/lib/fa/file-text-o.d.ts +++ b/types/react-icons/lib/fa/file-text-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFileTextO extends React.Component<IconBaseProps> { } +declare class FaFileTextO extends React.Component<IconBaseProps> { } +export = FaFileTextO; diff --git a/types/react-icons/lib/fa/file-text.d.ts b/types/react-icons/lib/fa/file-text.d.ts index 287aa5d5e9..d551df577a 100644 --- a/types/react-icons/lib/fa/file-text.d.ts +++ b/types/react-icons/lib/fa/file-text.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFileText extends React.Component<IconBaseProps> { } +declare class FaFileText extends React.Component<IconBaseProps> { } +export = FaFileText; diff --git a/types/react-icons/lib/fa/file-word-o.d.ts b/types/react-icons/lib/fa/file-word-o.d.ts index e8790d5988..7dd12a0dbb 100644 --- a/types/react-icons/lib/fa/file-word-o.d.ts +++ b/types/react-icons/lib/fa/file-word-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFileWordO extends React.Component<IconBaseProps> { } +declare class FaFileWordO extends React.Component<IconBaseProps> { } +export = FaFileWordO; diff --git a/types/react-icons/lib/fa/file.d.ts b/types/react-icons/lib/fa/file.d.ts index 92fb6d073a..90eea6dacf 100644 --- a/types/react-icons/lib/fa/file.d.ts +++ b/types/react-icons/lib/fa/file.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFile extends React.Component<IconBaseProps> { } +declare class FaFile extends React.Component<IconBaseProps> { } +export = FaFile; diff --git a/types/react-icons/lib/fa/film.d.ts b/types/react-icons/lib/fa/film.d.ts index 639ec938b8..ccc05405ee 100644 --- a/types/react-icons/lib/fa/film.d.ts +++ b/types/react-icons/lib/fa/film.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFilm extends React.Component<IconBaseProps> { } +declare class FaFilm extends React.Component<IconBaseProps> { } +export = FaFilm; diff --git a/types/react-icons/lib/fa/filter.d.ts b/types/react-icons/lib/fa/filter.d.ts index 971ec8a2ab..02308d24fd 100644 --- a/types/react-icons/lib/fa/filter.d.ts +++ b/types/react-icons/lib/fa/filter.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFilter extends React.Component<IconBaseProps> { } +declare class FaFilter extends React.Component<IconBaseProps> { } +export = FaFilter; diff --git a/types/react-icons/lib/fa/fire-extinguisher.d.ts b/types/react-icons/lib/fa/fire-extinguisher.d.ts index 347abc3091..2f2637ebfc 100644 --- a/types/react-icons/lib/fa/fire-extinguisher.d.ts +++ b/types/react-icons/lib/fa/fire-extinguisher.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFireExtinguisher extends React.Component<IconBaseProps> { } +declare class FaFireExtinguisher extends React.Component<IconBaseProps> { } +export = FaFireExtinguisher; diff --git a/types/react-icons/lib/fa/fire.d.ts b/types/react-icons/lib/fa/fire.d.ts index 361e6b3f2a..16231c9435 100644 --- a/types/react-icons/lib/fa/fire.d.ts +++ b/types/react-icons/lib/fa/fire.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFire extends React.Component<IconBaseProps> { } +declare class FaFire extends React.Component<IconBaseProps> { } +export = FaFire; diff --git a/types/react-icons/lib/fa/firefox.d.ts b/types/react-icons/lib/fa/firefox.d.ts index fb5b6faf5b..e4270d68f1 100644 --- a/types/react-icons/lib/fa/firefox.d.ts +++ b/types/react-icons/lib/fa/firefox.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFirefox extends React.Component<IconBaseProps> { } +declare class FaFirefox extends React.Component<IconBaseProps> { } +export = FaFirefox; diff --git a/types/react-icons/lib/fa/flag-checkered.d.ts b/types/react-icons/lib/fa/flag-checkered.d.ts index ad9439fe74..0593962a85 100644 --- a/types/react-icons/lib/fa/flag-checkered.d.ts +++ b/types/react-icons/lib/fa/flag-checkered.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFlagCheckered extends React.Component<IconBaseProps> { } +declare class FaFlagCheckered extends React.Component<IconBaseProps> { } +export = FaFlagCheckered; diff --git a/types/react-icons/lib/fa/flag-o.d.ts b/types/react-icons/lib/fa/flag-o.d.ts index 4af124ebe3..799d680b87 100644 --- a/types/react-icons/lib/fa/flag-o.d.ts +++ b/types/react-icons/lib/fa/flag-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFlagO extends React.Component<IconBaseProps> { } +declare class FaFlagO extends React.Component<IconBaseProps> { } +export = FaFlagO; diff --git a/types/react-icons/lib/fa/flag.d.ts b/types/react-icons/lib/fa/flag.d.ts index 05b3a41500..0ffe7c5e21 100644 --- a/types/react-icons/lib/fa/flag.d.ts +++ b/types/react-icons/lib/fa/flag.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFlag extends React.Component<IconBaseProps> { } +declare class FaFlag extends React.Component<IconBaseProps> { } +export = FaFlag; diff --git a/types/react-icons/lib/fa/flask.d.ts b/types/react-icons/lib/fa/flask.d.ts index 53edd95b1c..3c6ed4067e 100644 --- a/types/react-icons/lib/fa/flask.d.ts +++ b/types/react-icons/lib/fa/flask.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFlask extends React.Component<IconBaseProps> { } +declare class FaFlask extends React.Component<IconBaseProps> { } +export = FaFlask; diff --git a/types/react-icons/lib/fa/flickr.d.ts b/types/react-icons/lib/fa/flickr.d.ts index 0642e63424..b35696f10a 100644 --- a/types/react-icons/lib/fa/flickr.d.ts +++ b/types/react-icons/lib/fa/flickr.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFlickr extends React.Component<IconBaseProps> { } +declare class FaFlickr extends React.Component<IconBaseProps> { } +export = FaFlickr; diff --git a/types/react-icons/lib/fa/floppy-o.d.ts b/types/react-icons/lib/fa/floppy-o.d.ts index a36898567d..2eacb6d2da 100644 --- a/types/react-icons/lib/fa/floppy-o.d.ts +++ b/types/react-icons/lib/fa/floppy-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFloppyO extends React.Component<IconBaseProps> { } +declare class FaFloppyO extends React.Component<IconBaseProps> { } +export = FaFloppyO; diff --git a/types/react-icons/lib/fa/folder-o.d.ts b/types/react-icons/lib/fa/folder-o.d.ts index 86c2f0853c..df997f3bbb 100644 --- a/types/react-icons/lib/fa/folder-o.d.ts +++ b/types/react-icons/lib/fa/folder-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFolderO extends React.Component<IconBaseProps> { } +declare class FaFolderO extends React.Component<IconBaseProps> { } +export = FaFolderO; diff --git a/types/react-icons/lib/fa/folder-open-o.d.ts b/types/react-icons/lib/fa/folder-open-o.d.ts index 13c270457c..99f32e2b2c 100644 --- a/types/react-icons/lib/fa/folder-open-o.d.ts +++ b/types/react-icons/lib/fa/folder-open-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFolderOpenO extends React.Component<IconBaseProps> { } +declare class FaFolderOpenO extends React.Component<IconBaseProps> { } +export = FaFolderOpenO; diff --git a/types/react-icons/lib/fa/folder-open.d.ts b/types/react-icons/lib/fa/folder-open.d.ts index 27eefcf390..0e9fac95ac 100644 --- a/types/react-icons/lib/fa/folder-open.d.ts +++ b/types/react-icons/lib/fa/folder-open.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFolderOpen extends React.Component<IconBaseProps> { } +declare class FaFolderOpen extends React.Component<IconBaseProps> { } +export = FaFolderOpen; diff --git a/types/react-icons/lib/fa/folder.d.ts b/types/react-icons/lib/fa/folder.d.ts index 348ac25522..710bee7179 100644 --- a/types/react-icons/lib/fa/folder.d.ts +++ b/types/react-icons/lib/fa/folder.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFolder extends React.Component<IconBaseProps> { } +declare class FaFolder extends React.Component<IconBaseProps> { } +export = FaFolder; diff --git a/types/react-icons/lib/fa/font.d.ts b/types/react-icons/lib/fa/font.d.ts index 70459022df..0ab7e0ef5c 100644 --- a/types/react-icons/lib/fa/font.d.ts +++ b/types/react-icons/lib/fa/font.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFont extends React.Component<IconBaseProps> { } +declare class FaFont extends React.Component<IconBaseProps> { } +export = FaFont; diff --git a/types/react-icons/lib/fa/fonticons.d.ts b/types/react-icons/lib/fa/fonticons.d.ts index a124cfb0c2..a219058840 100644 --- a/types/react-icons/lib/fa/fonticons.d.ts +++ b/types/react-icons/lib/fa/fonticons.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFonticons extends React.Component<IconBaseProps> { } +declare class FaFonticons extends React.Component<IconBaseProps> { } +export = FaFonticons; diff --git a/types/react-icons/lib/fa/fort-awesome.d.ts b/types/react-icons/lib/fa/fort-awesome.d.ts index a88e6a0118..af5c2699ca 100644 --- a/types/react-icons/lib/fa/fort-awesome.d.ts +++ b/types/react-icons/lib/fa/fort-awesome.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFortAwesome extends React.Component<IconBaseProps> { } +declare class FaFortAwesome extends React.Component<IconBaseProps> { } +export = FaFortAwesome; diff --git a/types/react-icons/lib/fa/forumbee.d.ts b/types/react-icons/lib/fa/forumbee.d.ts index 58b96a9d83..6ba90b5966 100644 --- a/types/react-icons/lib/fa/forumbee.d.ts +++ b/types/react-icons/lib/fa/forumbee.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaForumbee extends React.Component<IconBaseProps> { } +declare class FaForumbee extends React.Component<IconBaseProps> { } +export = FaForumbee; diff --git a/types/react-icons/lib/fa/forward.d.ts b/types/react-icons/lib/fa/forward.d.ts index 12eacceb4b..5a25112852 100644 --- a/types/react-icons/lib/fa/forward.d.ts +++ b/types/react-icons/lib/fa/forward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaForward extends React.Component<IconBaseProps> { } +declare class FaForward extends React.Component<IconBaseProps> { } +export = FaForward; diff --git a/types/react-icons/lib/fa/foursquare.d.ts b/types/react-icons/lib/fa/foursquare.d.ts index 8c2bf2cbf5..1092fdbd86 100644 --- a/types/react-icons/lib/fa/foursquare.d.ts +++ b/types/react-icons/lib/fa/foursquare.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFoursquare extends React.Component<IconBaseProps> { } +declare class FaFoursquare extends React.Component<IconBaseProps> { } +export = FaFoursquare; diff --git a/types/react-icons/lib/fa/frown-o.d.ts b/types/react-icons/lib/fa/frown-o.d.ts index 06ebd02274..989c142ac7 100644 --- a/types/react-icons/lib/fa/frown-o.d.ts +++ b/types/react-icons/lib/fa/frown-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFrownO extends React.Component<IconBaseProps> { } +declare class FaFrownO extends React.Component<IconBaseProps> { } +export = FaFrownO; diff --git a/types/react-icons/lib/fa/futbol-o.d.ts b/types/react-icons/lib/fa/futbol-o.d.ts index eaa4922a85..e98209d9ed 100644 --- a/types/react-icons/lib/fa/futbol-o.d.ts +++ b/types/react-icons/lib/fa/futbol-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaFutbolO extends React.Component<IconBaseProps> { } +declare class FaFutbolO extends React.Component<IconBaseProps> { } +export = FaFutbolO; diff --git a/types/react-icons/lib/fa/gamepad.d.ts b/types/react-icons/lib/fa/gamepad.d.ts index 9acea2828f..5c747b4850 100644 --- a/types/react-icons/lib/fa/gamepad.d.ts +++ b/types/react-icons/lib/fa/gamepad.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGamepad extends React.Component<IconBaseProps> { } +declare class FaGamepad extends React.Component<IconBaseProps> { } +export = FaGamepad; diff --git a/types/react-icons/lib/fa/gavel.d.ts b/types/react-icons/lib/fa/gavel.d.ts index 66e5593ffa..5e5e0e5084 100644 --- a/types/react-icons/lib/fa/gavel.d.ts +++ b/types/react-icons/lib/fa/gavel.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGavel extends React.Component<IconBaseProps> { } +declare class FaGavel extends React.Component<IconBaseProps> { } +export = FaGavel; diff --git a/types/react-icons/lib/fa/gbp.d.ts b/types/react-icons/lib/fa/gbp.d.ts index 1fb48290e3..ec7abd138a 100644 --- a/types/react-icons/lib/fa/gbp.d.ts +++ b/types/react-icons/lib/fa/gbp.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGbp extends React.Component<IconBaseProps> { } +declare class FaGbp extends React.Component<IconBaseProps> { } +export = FaGbp; diff --git a/types/react-icons/lib/fa/genderless.d.ts b/types/react-icons/lib/fa/genderless.d.ts index 5ad672ddb3..a28ebcf09d 100644 --- a/types/react-icons/lib/fa/genderless.d.ts +++ b/types/react-icons/lib/fa/genderless.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGenderless extends React.Component<IconBaseProps> { } +declare class FaGenderless extends React.Component<IconBaseProps> { } +export = FaGenderless; diff --git a/types/react-icons/lib/fa/get-pocket.d.ts b/types/react-icons/lib/fa/get-pocket.d.ts index 1f04b2974b..8184834bc9 100644 --- a/types/react-icons/lib/fa/get-pocket.d.ts +++ b/types/react-icons/lib/fa/get-pocket.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGetPocket extends React.Component<IconBaseProps> { } +declare class FaGetPocket extends React.Component<IconBaseProps> { } +export = FaGetPocket; diff --git a/types/react-icons/lib/fa/gg-circle.d.ts b/types/react-icons/lib/fa/gg-circle.d.ts index 580b37668c..08edcf12d9 100644 --- a/types/react-icons/lib/fa/gg-circle.d.ts +++ b/types/react-icons/lib/fa/gg-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGgCircle extends React.Component<IconBaseProps> { } +declare class FaGgCircle extends React.Component<IconBaseProps> { } +export = FaGgCircle; diff --git a/types/react-icons/lib/fa/gg.d.ts b/types/react-icons/lib/fa/gg.d.ts index 2aaf1c7b23..923b9e251c 100644 --- a/types/react-icons/lib/fa/gg.d.ts +++ b/types/react-icons/lib/fa/gg.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGg extends React.Component<IconBaseProps> { } +declare class FaGg extends React.Component<IconBaseProps> { } +export = FaGg; diff --git a/types/react-icons/lib/fa/gift.d.ts b/types/react-icons/lib/fa/gift.d.ts index 79b22324f5..3f2bbab5bd 100644 --- a/types/react-icons/lib/fa/gift.d.ts +++ b/types/react-icons/lib/fa/gift.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGift extends React.Component<IconBaseProps> { } +declare class FaGift extends React.Component<IconBaseProps> { } +export = FaGift; diff --git a/types/react-icons/lib/fa/git-square.d.ts b/types/react-icons/lib/fa/git-square.d.ts index 28cf85a92a..6f35bf4d1e 100644 --- a/types/react-icons/lib/fa/git-square.d.ts +++ b/types/react-icons/lib/fa/git-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGitSquare extends React.Component<IconBaseProps> { } +declare class FaGitSquare extends React.Component<IconBaseProps> { } +export = FaGitSquare; diff --git a/types/react-icons/lib/fa/git.d.ts b/types/react-icons/lib/fa/git.d.ts index 427ad2a4b8..e2f02405d1 100644 --- a/types/react-icons/lib/fa/git.d.ts +++ b/types/react-icons/lib/fa/git.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGit extends React.Component<IconBaseProps> { } +declare class FaGit extends React.Component<IconBaseProps> { } +export = FaGit; diff --git a/types/react-icons/lib/fa/github-alt.d.ts b/types/react-icons/lib/fa/github-alt.d.ts index 8f3b4c4175..83433ff8c4 100644 --- a/types/react-icons/lib/fa/github-alt.d.ts +++ b/types/react-icons/lib/fa/github-alt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGithubAlt extends React.Component<IconBaseProps> { } +declare class FaGithubAlt extends React.Component<IconBaseProps> { } +export = FaGithubAlt; diff --git a/types/react-icons/lib/fa/github-square.d.ts b/types/react-icons/lib/fa/github-square.d.ts index 8feea6aea6..97e33a57ce 100644 --- a/types/react-icons/lib/fa/github-square.d.ts +++ b/types/react-icons/lib/fa/github-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGithubSquare extends React.Component<IconBaseProps> { } +declare class FaGithubSquare extends React.Component<IconBaseProps> { } +export = FaGithubSquare; diff --git a/types/react-icons/lib/fa/github.d.ts b/types/react-icons/lib/fa/github.d.ts index 6e5ff98328..47d9b29a3d 100644 --- a/types/react-icons/lib/fa/github.d.ts +++ b/types/react-icons/lib/fa/github.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGithub extends React.Component<IconBaseProps> { } +declare class FaGithub extends React.Component<IconBaseProps> { } +export = FaGithub; diff --git a/types/react-icons/lib/fa/gitlab.d.ts b/types/react-icons/lib/fa/gitlab.d.ts index 1d185afb32..109562b8e7 100644 --- a/types/react-icons/lib/fa/gitlab.d.ts +++ b/types/react-icons/lib/fa/gitlab.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGitlab extends React.Component<IconBaseProps> { } +declare class FaGitlab extends React.Component<IconBaseProps> { } +export = FaGitlab; diff --git a/types/react-icons/lib/fa/gittip.d.ts b/types/react-icons/lib/fa/gittip.d.ts index c96eaa0026..f24ab2ec75 100644 --- a/types/react-icons/lib/fa/gittip.d.ts +++ b/types/react-icons/lib/fa/gittip.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGittip extends React.Component<IconBaseProps> { } +declare class FaGittip extends React.Component<IconBaseProps> { } +export = FaGittip; diff --git a/types/react-icons/lib/fa/glass.d.ts b/types/react-icons/lib/fa/glass.d.ts index 7f0fa030d9..daf740f992 100644 --- a/types/react-icons/lib/fa/glass.d.ts +++ b/types/react-icons/lib/fa/glass.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGlass extends React.Component<IconBaseProps> { } +declare class FaGlass extends React.Component<IconBaseProps> { } +export = FaGlass; diff --git a/types/react-icons/lib/fa/glide-g.d.ts b/types/react-icons/lib/fa/glide-g.d.ts index c5601a2e6f..b3125de468 100644 --- a/types/react-icons/lib/fa/glide-g.d.ts +++ b/types/react-icons/lib/fa/glide-g.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGlideG extends React.Component<IconBaseProps> { } +declare class FaGlideG extends React.Component<IconBaseProps> { } +export = FaGlideG; diff --git a/types/react-icons/lib/fa/glide.d.ts b/types/react-icons/lib/fa/glide.d.ts index 7a7e2300f7..ff48d02cfd 100644 --- a/types/react-icons/lib/fa/glide.d.ts +++ b/types/react-icons/lib/fa/glide.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGlide extends React.Component<IconBaseProps> { } +declare class FaGlide extends React.Component<IconBaseProps> { } +export = FaGlide; diff --git a/types/react-icons/lib/fa/globe.d.ts b/types/react-icons/lib/fa/globe.d.ts index e71a1f6bd9..609ce3127a 100644 --- a/types/react-icons/lib/fa/globe.d.ts +++ b/types/react-icons/lib/fa/globe.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGlobe extends React.Component<IconBaseProps> { } +declare class FaGlobe extends React.Component<IconBaseProps> { } +export = FaGlobe; diff --git a/types/react-icons/lib/fa/google-plus-square.d.ts b/types/react-icons/lib/fa/google-plus-square.d.ts index 9d3428ec25..3f5f54ebe1 100644 --- a/types/react-icons/lib/fa/google-plus-square.d.ts +++ b/types/react-icons/lib/fa/google-plus-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGooglePlusSquare extends React.Component<IconBaseProps> { } +declare class FaGooglePlusSquare extends React.Component<IconBaseProps> { } +export = FaGooglePlusSquare; diff --git a/types/react-icons/lib/fa/google-plus.d.ts b/types/react-icons/lib/fa/google-plus.d.ts index 3c1eba715e..080f4dcba2 100644 --- a/types/react-icons/lib/fa/google-plus.d.ts +++ b/types/react-icons/lib/fa/google-plus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGooglePlus extends React.Component<IconBaseProps> { } +declare class FaGooglePlus extends React.Component<IconBaseProps> { } +export = FaGooglePlus; diff --git a/types/react-icons/lib/fa/google-wallet.d.ts b/types/react-icons/lib/fa/google-wallet.d.ts index 8ab0d78a56..b19019fcff 100644 --- a/types/react-icons/lib/fa/google-wallet.d.ts +++ b/types/react-icons/lib/fa/google-wallet.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGoogleWallet extends React.Component<IconBaseProps> { } +declare class FaGoogleWallet extends React.Component<IconBaseProps> { } +export = FaGoogleWallet; diff --git a/types/react-icons/lib/fa/google.d.ts b/types/react-icons/lib/fa/google.d.ts index 3879f1c233..4318a2f68c 100644 --- a/types/react-icons/lib/fa/google.d.ts +++ b/types/react-icons/lib/fa/google.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGoogle extends React.Component<IconBaseProps> { } +declare class FaGoogle extends React.Component<IconBaseProps> { } +export = FaGoogle; diff --git a/types/react-icons/lib/fa/graduation-cap.d.ts b/types/react-icons/lib/fa/graduation-cap.d.ts index 5c489d1118..daafb2481f 100644 --- a/types/react-icons/lib/fa/graduation-cap.d.ts +++ b/types/react-icons/lib/fa/graduation-cap.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGraduationCap extends React.Component<IconBaseProps> { } +declare class FaGraduationCap extends React.Component<IconBaseProps> { } +export = FaGraduationCap; diff --git a/types/react-icons/lib/fa/group.d.ts b/types/react-icons/lib/fa/group.d.ts index 554bfb5fe6..9dbd8004a0 100644 --- a/types/react-icons/lib/fa/group.d.ts +++ b/types/react-icons/lib/fa/group.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaGroup extends React.Component<IconBaseProps> { } +declare class FaGroup extends React.Component<IconBaseProps> { } +export = FaGroup; diff --git a/types/react-icons/lib/fa/h-square.d.ts b/types/react-icons/lib/fa/h-square.d.ts index 0269ea9ebf..1f83d2fe5c 100644 --- a/types/react-icons/lib/fa/h-square.d.ts +++ b/types/react-icons/lib/fa/h-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHSquare extends React.Component<IconBaseProps> { } +declare class FaHSquare extends React.Component<IconBaseProps> { } +export = FaHSquare; diff --git a/types/react-icons/lib/fa/hacker-news.d.ts b/types/react-icons/lib/fa/hacker-news.d.ts index 70ce441a26..fe36aed2e0 100644 --- a/types/react-icons/lib/fa/hacker-news.d.ts +++ b/types/react-icons/lib/fa/hacker-news.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHackerNews extends React.Component<IconBaseProps> { } +declare class FaHackerNews extends React.Component<IconBaseProps> { } +export = FaHackerNews; diff --git a/types/react-icons/lib/fa/hand-grab-o.d.ts b/types/react-icons/lib/fa/hand-grab-o.d.ts index 44d508b041..d814d66263 100644 --- a/types/react-icons/lib/fa/hand-grab-o.d.ts +++ b/types/react-icons/lib/fa/hand-grab-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHandGrabO extends React.Component<IconBaseProps> { } +declare class FaHandGrabO extends React.Component<IconBaseProps> { } +export = FaHandGrabO; diff --git a/types/react-icons/lib/fa/hand-lizard-o.d.ts b/types/react-icons/lib/fa/hand-lizard-o.d.ts index 633375b976..7e239112be 100644 --- a/types/react-icons/lib/fa/hand-lizard-o.d.ts +++ b/types/react-icons/lib/fa/hand-lizard-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHandLizardO extends React.Component<IconBaseProps> { } +declare class FaHandLizardO extends React.Component<IconBaseProps> { } +export = FaHandLizardO; diff --git a/types/react-icons/lib/fa/hand-o-down.d.ts b/types/react-icons/lib/fa/hand-o-down.d.ts index d2a8580c81..1f2308b32e 100644 --- a/types/react-icons/lib/fa/hand-o-down.d.ts +++ b/types/react-icons/lib/fa/hand-o-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHandODown extends React.Component<IconBaseProps> { } +declare class FaHandODown extends React.Component<IconBaseProps> { } +export = FaHandODown; diff --git a/types/react-icons/lib/fa/hand-o-left.d.ts b/types/react-icons/lib/fa/hand-o-left.d.ts index ffce9da58b..6f6dd87b13 100644 --- a/types/react-icons/lib/fa/hand-o-left.d.ts +++ b/types/react-icons/lib/fa/hand-o-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHandOLeft extends React.Component<IconBaseProps> { } +declare class FaHandOLeft extends React.Component<IconBaseProps> { } +export = FaHandOLeft; diff --git a/types/react-icons/lib/fa/hand-o-right.d.ts b/types/react-icons/lib/fa/hand-o-right.d.ts index 4cc734bfe4..968a22b1db 100644 --- a/types/react-icons/lib/fa/hand-o-right.d.ts +++ b/types/react-icons/lib/fa/hand-o-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHandORight extends React.Component<IconBaseProps> { } +declare class FaHandORight extends React.Component<IconBaseProps> { } +export = FaHandORight; diff --git a/types/react-icons/lib/fa/hand-o-up.d.ts b/types/react-icons/lib/fa/hand-o-up.d.ts index 4c108e1765..38b891f8bc 100644 --- a/types/react-icons/lib/fa/hand-o-up.d.ts +++ b/types/react-icons/lib/fa/hand-o-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHandOUp extends React.Component<IconBaseProps> { } +declare class FaHandOUp extends React.Component<IconBaseProps> { } +export = FaHandOUp; diff --git a/types/react-icons/lib/fa/hand-paper-o.d.ts b/types/react-icons/lib/fa/hand-paper-o.d.ts index 634685b3ba..93dc962baf 100644 --- a/types/react-icons/lib/fa/hand-paper-o.d.ts +++ b/types/react-icons/lib/fa/hand-paper-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHandPaperO extends React.Component<IconBaseProps> { } +declare class FaHandPaperO extends React.Component<IconBaseProps> { } +export = FaHandPaperO; diff --git a/types/react-icons/lib/fa/hand-peace-o.d.ts b/types/react-icons/lib/fa/hand-peace-o.d.ts index f5f4c083e0..10e5aff762 100644 --- a/types/react-icons/lib/fa/hand-peace-o.d.ts +++ b/types/react-icons/lib/fa/hand-peace-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHandPeaceO extends React.Component<IconBaseProps> { } +declare class FaHandPeaceO extends React.Component<IconBaseProps> { } +export = FaHandPeaceO; diff --git a/types/react-icons/lib/fa/hand-pointer-o.d.ts b/types/react-icons/lib/fa/hand-pointer-o.d.ts index 98d03e1641..5ab960e769 100644 --- a/types/react-icons/lib/fa/hand-pointer-o.d.ts +++ b/types/react-icons/lib/fa/hand-pointer-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHandPointerO extends React.Component<IconBaseProps> { } +declare class FaHandPointerO extends React.Component<IconBaseProps> { } +export = FaHandPointerO; diff --git a/types/react-icons/lib/fa/hand-scissors-o.d.ts b/types/react-icons/lib/fa/hand-scissors-o.d.ts index 8f95ce7463..18e8fda827 100644 --- a/types/react-icons/lib/fa/hand-scissors-o.d.ts +++ b/types/react-icons/lib/fa/hand-scissors-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHandScissorsO extends React.Component<IconBaseProps> { } +declare class FaHandScissorsO extends React.Component<IconBaseProps> { } +export = FaHandScissorsO; diff --git a/types/react-icons/lib/fa/hand-spock-o.d.ts b/types/react-icons/lib/fa/hand-spock-o.d.ts index e1ae444a79..7c52267033 100644 --- a/types/react-icons/lib/fa/hand-spock-o.d.ts +++ b/types/react-icons/lib/fa/hand-spock-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHandSpockO extends React.Component<IconBaseProps> { } +declare class FaHandSpockO extends React.Component<IconBaseProps> { } +export = FaHandSpockO; diff --git a/types/react-icons/lib/fa/hashtag.d.ts b/types/react-icons/lib/fa/hashtag.d.ts index c7c9be99a9..f992235c21 100644 --- a/types/react-icons/lib/fa/hashtag.d.ts +++ b/types/react-icons/lib/fa/hashtag.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHashtag extends React.Component<IconBaseProps> { } +declare class FaHashtag extends React.Component<IconBaseProps> { } +export = FaHashtag; diff --git a/types/react-icons/lib/fa/hdd-o.d.ts b/types/react-icons/lib/fa/hdd-o.d.ts index 1a04908493..e936e29487 100644 --- a/types/react-icons/lib/fa/hdd-o.d.ts +++ b/types/react-icons/lib/fa/hdd-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHddO extends React.Component<IconBaseProps> { } +declare class FaHddO extends React.Component<IconBaseProps> { } +export = FaHddO; diff --git a/types/react-icons/lib/fa/header.d.ts b/types/react-icons/lib/fa/header.d.ts index 6f2e5d9137..386ceda142 100644 --- a/types/react-icons/lib/fa/header.d.ts +++ b/types/react-icons/lib/fa/header.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHeader extends React.Component<IconBaseProps> { } +declare class FaHeader extends React.Component<IconBaseProps> { } +export = FaHeader; diff --git a/types/react-icons/lib/fa/headphones.d.ts b/types/react-icons/lib/fa/headphones.d.ts index 9e6b4dc42a..b829255129 100644 --- a/types/react-icons/lib/fa/headphones.d.ts +++ b/types/react-icons/lib/fa/headphones.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHeadphones extends React.Component<IconBaseProps> { } +declare class FaHeadphones extends React.Component<IconBaseProps> { } +export = FaHeadphones; diff --git a/types/react-icons/lib/fa/heart-o.d.ts b/types/react-icons/lib/fa/heart-o.d.ts index e965f0636c..eba3e6b5cc 100644 --- a/types/react-icons/lib/fa/heart-o.d.ts +++ b/types/react-icons/lib/fa/heart-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHeartO extends React.Component<IconBaseProps> { } +declare class FaHeartO extends React.Component<IconBaseProps> { } +export = FaHeartO; diff --git a/types/react-icons/lib/fa/heart.d.ts b/types/react-icons/lib/fa/heart.d.ts index 495c26a5b3..57d8acf1b2 100644 --- a/types/react-icons/lib/fa/heart.d.ts +++ b/types/react-icons/lib/fa/heart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHeart extends React.Component<IconBaseProps> { } +declare class FaHeart extends React.Component<IconBaseProps> { } +export = FaHeart; diff --git a/types/react-icons/lib/fa/heartbeat.d.ts b/types/react-icons/lib/fa/heartbeat.d.ts index 74d47f94b1..706f8826c9 100644 --- a/types/react-icons/lib/fa/heartbeat.d.ts +++ b/types/react-icons/lib/fa/heartbeat.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHeartbeat extends React.Component<IconBaseProps> { } +declare class FaHeartbeat extends React.Component<IconBaseProps> { } +export = FaHeartbeat; diff --git a/types/react-icons/lib/fa/history.d.ts b/types/react-icons/lib/fa/history.d.ts index 8af7a784c9..55885501cf 100644 --- a/types/react-icons/lib/fa/history.d.ts +++ b/types/react-icons/lib/fa/history.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHistory extends React.Component<IconBaseProps> { } +declare class FaHistory extends React.Component<IconBaseProps> { } +export = FaHistory; diff --git a/types/react-icons/lib/fa/home.d.ts b/types/react-icons/lib/fa/home.d.ts index 404898ad6c..43b95643c9 100644 --- a/types/react-icons/lib/fa/home.d.ts +++ b/types/react-icons/lib/fa/home.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHome extends React.Component<IconBaseProps> { } +declare class FaHome extends React.Component<IconBaseProps> { } +export = FaHome; diff --git a/types/react-icons/lib/fa/hospital-o.d.ts b/types/react-icons/lib/fa/hospital-o.d.ts index 1016140f7a..8b73adbf4a 100644 --- a/types/react-icons/lib/fa/hospital-o.d.ts +++ b/types/react-icons/lib/fa/hospital-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHospitalO extends React.Component<IconBaseProps> { } +declare class FaHospitalO extends React.Component<IconBaseProps> { } +export = FaHospitalO; diff --git a/types/react-icons/lib/fa/hourglass-1.d.ts b/types/react-icons/lib/fa/hourglass-1.d.ts index 8ec87f4877..df93b9799e 100644 --- a/types/react-icons/lib/fa/hourglass-1.d.ts +++ b/types/react-icons/lib/fa/hourglass-1.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHourglass1 extends React.Component<IconBaseProps> { } +declare class FaHourglass1 extends React.Component<IconBaseProps> { } +export = FaHourglass1; diff --git a/types/react-icons/lib/fa/hourglass-2.d.ts b/types/react-icons/lib/fa/hourglass-2.d.ts index 600933c5e6..674576be63 100644 --- a/types/react-icons/lib/fa/hourglass-2.d.ts +++ b/types/react-icons/lib/fa/hourglass-2.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHourglass2 extends React.Component<IconBaseProps> { } +declare class FaHourglass2 extends React.Component<IconBaseProps> { } +export = FaHourglass2; diff --git a/types/react-icons/lib/fa/hourglass-3.d.ts b/types/react-icons/lib/fa/hourglass-3.d.ts index 31e8de7b99..eb3fa708bc 100644 --- a/types/react-icons/lib/fa/hourglass-3.d.ts +++ b/types/react-icons/lib/fa/hourglass-3.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHourglass3 extends React.Component<IconBaseProps> { } +declare class FaHourglass3 extends React.Component<IconBaseProps> { } +export = FaHourglass3; diff --git a/types/react-icons/lib/fa/hourglass-o.d.ts b/types/react-icons/lib/fa/hourglass-o.d.ts index 5f2962e102..4052d297c9 100644 --- a/types/react-icons/lib/fa/hourglass-o.d.ts +++ b/types/react-icons/lib/fa/hourglass-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHourglassO extends React.Component<IconBaseProps> { } +declare class FaHourglassO extends React.Component<IconBaseProps> { } +export = FaHourglassO; diff --git a/types/react-icons/lib/fa/hourglass.d.ts b/types/react-icons/lib/fa/hourglass.d.ts index 8bdcd7c8db..2e05acd88c 100644 --- a/types/react-icons/lib/fa/hourglass.d.ts +++ b/types/react-icons/lib/fa/hourglass.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHourglass extends React.Component<IconBaseProps> { } +declare class FaHourglass extends React.Component<IconBaseProps> { } +export = FaHourglass; diff --git a/types/react-icons/lib/fa/houzz.d.ts b/types/react-icons/lib/fa/houzz.d.ts index ec4c55aecb..68e7283cc2 100644 --- a/types/react-icons/lib/fa/houzz.d.ts +++ b/types/react-icons/lib/fa/houzz.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHouzz extends React.Component<IconBaseProps> { } +declare class FaHouzz extends React.Component<IconBaseProps> { } +export = FaHouzz; diff --git a/types/react-icons/lib/fa/html5.d.ts b/types/react-icons/lib/fa/html5.d.ts index 3b8bfcacbe..4829905b68 100644 --- a/types/react-icons/lib/fa/html5.d.ts +++ b/types/react-icons/lib/fa/html5.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaHtml5 extends React.Component<IconBaseProps> { } +declare class FaHtml5 extends React.Component<IconBaseProps> { } +export = FaHtml5; diff --git a/types/react-icons/lib/fa/i-cursor.d.ts b/types/react-icons/lib/fa/i-cursor.d.ts index 77e0964814..fcbe8c366d 100644 --- a/types/react-icons/lib/fa/i-cursor.d.ts +++ b/types/react-icons/lib/fa/i-cursor.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaICursor extends React.Component<IconBaseProps> { } +declare class FaICursor extends React.Component<IconBaseProps> { } +export = FaICursor; diff --git a/types/react-icons/lib/fa/ils.d.ts b/types/react-icons/lib/fa/ils.d.ts index 966e8bb384..046d06284a 100644 --- a/types/react-icons/lib/fa/ils.d.ts +++ b/types/react-icons/lib/fa/ils.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaIls extends React.Component<IconBaseProps> { } +declare class FaIls extends React.Component<IconBaseProps> { } +export = FaIls; diff --git a/types/react-icons/lib/fa/image.d.ts b/types/react-icons/lib/fa/image.d.ts index 69e435b56a..72edc4be49 100644 --- a/types/react-icons/lib/fa/image.d.ts +++ b/types/react-icons/lib/fa/image.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaImage extends React.Component<IconBaseProps> { } +declare class FaImage extends React.Component<IconBaseProps> { } +export = FaImage; diff --git a/types/react-icons/lib/fa/inbox.d.ts b/types/react-icons/lib/fa/inbox.d.ts index 401aba5577..272e6a209c 100644 --- a/types/react-icons/lib/fa/inbox.d.ts +++ b/types/react-icons/lib/fa/inbox.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaInbox extends React.Component<IconBaseProps> { } +declare class FaInbox extends React.Component<IconBaseProps> { } +export = FaInbox; diff --git a/types/react-icons/lib/fa/indent.d.ts b/types/react-icons/lib/fa/indent.d.ts index c3022d3fc3..2829ca18c3 100644 --- a/types/react-icons/lib/fa/indent.d.ts +++ b/types/react-icons/lib/fa/indent.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaIndent extends React.Component<IconBaseProps> { } +declare class FaIndent extends React.Component<IconBaseProps> { } +export = FaIndent; diff --git a/types/react-icons/lib/fa/index.d.ts b/types/react-icons/lib/fa/index.d.ts index 04750fc303..073a1797a9 100644 --- a/types/react-icons/lib/fa/index.d.ts +++ b/types/react-icons/lib/fa/index.d.ts @@ -1,628 +1,628 @@ -export { default as Fa500px } from "./500px"; -export { default as FaAdjust } from "./adjust"; -export { default as FaAdn } from "./adn"; -export { default as FaAlignCenter } from "./align-center"; -export { default as FaAlignJustify } from "./align-justify"; -export { default as FaAlignLeft } from "./align-left"; -export { default as FaAlignRight } from "./align-right"; -export { default as FaAmazon } from "./amazon"; -export { default as FaAmbulance } from "./ambulance"; -export { default as FaAmericanSignLanguageInterpreting } from "./american-sign-language-interpreting"; -export { default as FaAnchor } from "./anchor"; -export { default as FaAndroid } from "./android"; -export { default as FaAngellist } from "./angellist"; -export { default as FaAngleDoubleDown } from "./angle-double-down"; -export { default as FaAngleDoubleLeft } from "./angle-double-left"; -export { default as FaAngleDoubleRight } from "./angle-double-right"; -export { default as FaAngleDoubleUp } from "./angle-double-up"; -export { default as FaAngleDown } from "./angle-down"; -export { default as FaAngleLeft } from "./angle-left"; -export { default as FaAngleRight } from "./angle-right"; -export { default as FaAngleUp } from "./angle-up"; -export { default as FaApple } from "./apple"; -export { default as FaArchive } from "./archive"; -export { default as FaAreaChart } from "./area-chart"; -export { default as FaArrowCircleDown } from "./arrow-circle-down"; -export { default as FaArrowCircleLeft } from "./arrow-circle-left"; -export { default as FaArrowCircleODown } from "./arrow-circle-o-down"; -export { default as FaArrowCircleOLeft } from "./arrow-circle-o-left"; -export { default as FaArrowCircleORight } from "./arrow-circle-o-right"; -export { default as FaArrowCircleOUp } from "./arrow-circle-o-up"; -export { default as FaArrowCircleRight } from "./arrow-circle-right"; -export { default as FaArrowCircleUp } from "./arrow-circle-up"; -export { default as FaArrowDown } from "./arrow-down"; -export { default as FaArrowLeft } from "./arrow-left"; -export { default as FaArrowRight } from "./arrow-right"; -export { default as FaArrowUp } from "./arrow-up"; -export { default as FaArrowsAlt } from "./arrows-alt"; -export { default as FaArrowsH } from "./arrows-h"; -export { default as FaArrowsV } from "./arrows-v"; -export { default as FaArrows } from "./arrows"; -export { default as FaAssistiveListeningSystems } from "./assistive-listening-systems"; -export { default as FaAsterisk } from "./asterisk"; -export { default as FaAt } from "./at"; -export { default as FaAudioDescription } from "./audio-description"; -export { default as FaAutomobile } from "./automobile"; -export { default as FaBackward } from "./backward"; -export { default as FaBalanceScale } from "./balance-scale"; -export { default as FaBan } from "./ban"; -export { default as FaBank } from "./bank"; -export { default as FaBarChart } from "./bar-chart"; -export { default as FaBarcode } from "./barcode"; -export { default as FaBars } from "./bars"; -export { default as FaBattery0 } from "./battery-0"; -export { default as FaBattery1 } from "./battery-1"; -export { default as FaBattery2 } from "./battery-2"; -export { default as FaBattery3 } from "./battery-3"; -export { default as FaBattery4 } from "./battery-4"; -export { default as FaBed } from "./bed"; -export { default as FaBeer } from "./beer"; -export { default as FaBehanceSquare } from "./behance-square"; -export { default as FaBehance } from "./behance"; -export { default as FaBellO } from "./bell-o"; -export { default as FaBellSlashO } from "./bell-slash-o"; -export { default as FaBellSlash } from "./bell-slash"; -export { default as FaBell } from "./bell"; -export { default as FaBicycle } from "./bicycle"; -export { default as FaBinoculars } from "./binoculars"; -export { default as FaBirthdayCake } from "./birthday-cake"; -export { default as FaBitbucketSquare } from "./bitbucket-square"; -export { default as FaBitbucket } from "./bitbucket"; -export { default as FaBitcoin } from "./bitcoin"; -export { default as FaBlackTie } from "./black-tie"; -export { default as FaBlind } from "./blind"; -export { default as FaBluetoothB } from "./bluetooth-b"; -export { default as FaBluetooth } from "./bluetooth"; -export { default as FaBold } from "./bold"; -export { default as FaBolt } from "./bolt"; -export { default as FaBomb } from "./bomb"; -export { default as FaBook } from "./book"; -export { default as FaBookmarkO } from "./bookmark-o"; -export { default as FaBookmark } from "./bookmark"; -export { default as FaBraille } from "./braille"; -export { default as FaBriefcase } from "./briefcase"; -export { default as FaBug } from "./bug"; -export { default as FaBuildingO } from "./building-o"; -export { default as FaBuilding } from "./building"; -export { default as FaBullhorn } from "./bullhorn"; -export { default as FaBullseye } from "./bullseye"; -export { default as FaBus } from "./bus"; -export { default as FaBuysellads } from "./buysellads"; -export { default as FaCab } from "./cab"; -export { default as FaCalculator } from "./calculator"; -export { default as FaCalendarCheckO } from "./calendar-check-o"; -export { default as FaCalendarMinusO } from "./calendar-minus-o"; -export { default as FaCalendarO } from "./calendar-o"; -export { default as FaCalendarPlusO } from "./calendar-plus-o"; -export { default as FaCalendarTimesO } from "./calendar-times-o"; -export { default as FaCalendar } from "./calendar"; -export { default as FaCameraRetro } from "./camera-retro"; -export { default as FaCamera } from "./camera"; -export { default as FaCaretDown } from "./caret-down"; -export { default as FaCaretLeft } from "./caret-left"; -export { default as FaCaretRight } from "./caret-right"; -export { default as FaCaretSquareODown } from "./caret-square-o-down"; -export { default as FaCaretSquareOLeft } from "./caret-square-o-left"; -export { default as FaCaretSquareORight } from "./caret-square-o-right"; -export { default as FaCaretSquareOUp } from "./caret-square-o-up"; -export { default as FaCaretUp } from "./caret-up"; -export { default as FaCartArrowDown } from "./cart-arrow-down"; -export { default as FaCartPlus } from "./cart-plus"; -export { default as FaCcAmex } from "./cc-amex"; -export { default as FaCcDinersClub } from "./cc-diners-club"; -export { default as FaCcDiscover } from "./cc-discover"; -export { default as FaCcJcb } from "./cc-jcb"; -export { default as FaCcMastercard } from "./cc-mastercard"; -export { default as FaCcPaypal } from "./cc-paypal"; -export { default as FaCcStripe } from "./cc-stripe"; -export { default as FaCcVisa } from "./cc-visa"; -export { default as FaCc } from "./cc"; -export { default as FaCertificate } from "./certificate"; -export { default as FaChainBroken } from "./chain-broken"; -export { default as FaChain } from "./chain"; -export { default as FaCheckCircleO } from "./check-circle-o"; -export { default as FaCheckCircle } from "./check-circle"; -export { default as FaCheckSquareO } from "./check-square-o"; -export { default as FaCheckSquare } from "./check-square"; -export { default as FaCheck } from "./check"; -export { default as FaChevronCircleDown } from "./chevron-circle-down"; -export { default as FaChevronCircleLeft } from "./chevron-circle-left"; -export { default as FaChevronCircleRight } from "./chevron-circle-right"; -export { default as FaChevronCircleUp } from "./chevron-circle-up"; -export { default as FaChevronDown } from "./chevron-down"; -export { default as FaChevronLeft } from "./chevron-left"; -export { default as FaChevronRight } from "./chevron-right"; -export { default as FaChevronUp } from "./chevron-up"; -export { default as FaChild } from "./child"; -export { default as FaChrome } from "./chrome"; -export { default as FaCircleONotch } from "./circle-o-notch"; -export { default as FaCircleO } from "./circle-o"; -export { default as FaCircleThin } from "./circle-thin"; -export { default as FaCircle } from "./circle"; -export { default as FaClipboard } from "./clipboard"; -export { default as FaClockO } from "./clock-o"; -export { default as FaClone } from "./clone"; -export { default as FaClose } from "./close"; -export { default as FaCloudDownload } from "./cloud-download"; -export { default as FaCloudUpload } from "./cloud-upload"; -export { default as FaCloud } from "./cloud"; -export { default as FaCny } from "./cny"; -export { default as FaCodeFork } from "./code-fork"; -export { default as FaCode } from "./code"; -export { default as FaCodepen } from "./codepen"; -export { default as FaCodiepie } from "./codiepie"; -export { default as FaCoffee } from "./coffee"; -export { default as FaCog } from "./cog"; -export { default as FaCogs } from "./cogs"; -export { default as FaColumns } from "./columns"; -export { default as FaCommentO } from "./comment-o"; -export { default as FaComment } from "./comment"; -export { default as FaCommentingO } from "./commenting-o"; -export { default as FaCommenting } from "./commenting"; -export { default as FaCommentsO } from "./comments-o"; -export { default as FaComments } from "./comments"; -export { default as FaCompass } from "./compass"; -export { default as FaCompress } from "./compress"; -export { default as FaConnectdevelop } from "./connectdevelop"; -export { default as FaContao } from "./contao"; -export { default as FaCopy } from "./copy"; -export { default as FaCopyright } from "./copyright"; -export { default as FaCreativeCommons } from "./creative-commons"; -export { default as FaCreditCardAlt } from "./credit-card-alt"; -export { default as FaCreditCard } from "./credit-card"; -export { default as FaCrop } from "./crop"; -export { default as FaCrosshairs } from "./crosshairs"; -export { default as FaCss3 } from "./css3"; -export { default as FaCube } from "./cube"; -export { default as FaCubes } from "./cubes"; -export { default as FaCut } from "./cut"; -export { default as FaCutlery } from "./cutlery"; -export { default as FaDashboard } from "./dashboard"; -export { default as FaDashcube } from "./dashcube"; -export { default as FaDatabase } from "./database"; -export { default as FaDeaf } from "./deaf"; -export { default as FaDedent } from "./dedent"; -export { default as FaDelicious } from "./delicious"; -export { default as FaDesktop } from "./desktop"; -export { default as FaDeviantart } from "./deviantart"; -export { default as FaDiamond } from "./diamond"; -export { default as FaDigg } from "./digg"; -export { default as FaDollar } from "./dollar"; -export { default as FaDotCircleO } from "./dot-circle-o"; -export { default as FaDownload } from "./download"; -export { default as FaDribbble } from "./dribbble"; -export { default as FaDropbox } from "./dropbox"; -export { default as FaDrupal } from "./drupal"; -export { default as FaEdge } from "./edge"; -export { default as FaEdit } from "./edit"; -export { default as FaEject } from "./eject"; -export { default as FaEllipsisH } from "./ellipsis-h"; -export { default as FaEllipsisV } from "./ellipsis-v"; -export { default as FaEmpire } from "./empire"; -export { default as FaEnvelopeO } from "./envelope-o"; -export { default as FaEnvelopeSquare } from "./envelope-square"; -export { default as FaEnvelope } from "./envelope"; -export { default as FaEnvira } from "./envira"; -export { default as FaEraser } from "./eraser"; -export { default as FaEur } from "./eur"; -export { default as FaExchange } from "./exchange"; -export { default as FaExclamationCircle } from "./exclamation-circle"; -export { default as FaExclamationTriangle } from "./exclamation-triangle"; -export { default as FaExclamation } from "./exclamation"; -export { default as FaExpand } from "./expand"; -export { default as FaExpeditedssl } from "./expeditedssl"; -export { default as FaExternalLinkSquare } from "./external-link-square"; -export { default as FaExternalLink } from "./external-link"; -export { default as FaEyeSlash } from "./eye-slash"; -export { default as FaEye } from "./eye"; -export { default as FaEyedropper } from "./eyedropper"; -export { default as FaFacebookOfficial } from "./facebook-official"; -export { default as FaFacebookSquare } from "./facebook-square"; -export { default as FaFacebook } from "./facebook"; -export { default as FaFastBackward } from "./fast-backward"; -export { default as FaFastForward } from "./fast-forward"; -export { default as FaFax } from "./fax"; -export { default as FaFeed } from "./feed"; -export { default as FaFemale } from "./female"; -export { default as FaFighterJet } from "./fighter-jet"; -export { default as FaFileArchiveO } from "./file-archive-o"; -export { default as FaFileAudioO } from "./file-audio-o"; -export { default as FaFileCodeO } from "./file-code-o"; -export { default as FaFileExcelO } from "./file-excel-o"; -export { default as FaFileImageO } from "./file-image-o"; -export { default as FaFileMovieO } from "./file-movie-o"; -export { default as FaFileO } from "./file-o"; -export { default as FaFilePdfO } from "./file-pdf-o"; -export { default as FaFilePowerpointO } from "./file-powerpoint-o"; -export { default as FaFileTextO } from "./file-text-o"; -export { default as FaFileText } from "./file-text"; -export { default as FaFileWordO } from "./file-word-o"; -export { default as FaFile } from "./file"; -export { default as FaFilm } from "./film"; -export { default as FaFilter } from "./filter"; -export { default as FaFireExtinguisher } from "./fire-extinguisher"; -export { default as FaFire } from "./fire"; -export { default as FaFirefox } from "./firefox"; -export { default as FaFlagCheckered } from "./flag-checkered"; -export { default as FaFlagO } from "./flag-o"; -export { default as FaFlag } from "./flag"; -export { default as FaFlask } from "./flask"; -export { default as FaFlickr } from "./flickr"; -export { default as FaFloppyO } from "./floppy-o"; -export { default as FaFolderO } from "./folder-o"; -export { default as FaFolderOpenO } from "./folder-open-o"; -export { default as FaFolderOpen } from "./folder-open"; -export { default as FaFolder } from "./folder"; -export { default as FaFont } from "./font"; -export { default as FaFonticons } from "./fonticons"; -export { default as FaFortAwesome } from "./fort-awesome"; -export { default as FaForumbee } from "./forumbee"; -export { default as FaForward } from "./forward"; -export { default as FaFoursquare } from "./foursquare"; -export { default as FaFrownO } from "./frown-o"; -export { default as FaFutbolO } from "./futbol-o"; -export { default as FaGamepad } from "./gamepad"; -export { default as FaGavel } from "./gavel"; -export { default as FaGbp } from "./gbp"; -export { default as FaGenderless } from "./genderless"; -export { default as FaGetPocket } from "./get-pocket"; -export { default as FaGgCircle } from "./gg-circle"; -export { default as FaGg } from "./gg"; -export { default as FaGift } from "./gift"; -export { default as FaGitSquare } from "./git-square"; -export { default as FaGit } from "./git"; -export { default as FaGithubAlt } from "./github-alt"; -export { default as FaGithubSquare } from "./github-square"; -export { default as FaGithub } from "./github"; -export { default as FaGitlab } from "./gitlab"; -export { default as FaGittip } from "./gittip"; -export { default as FaGlass } from "./glass"; -export { default as FaGlideG } from "./glide-g"; -export { default as FaGlide } from "./glide"; -export { default as FaGlobe } from "./globe"; -export { default as FaGooglePlusSquare } from "./google-plus-square"; -export { default as FaGooglePlus } from "./google-plus"; -export { default as FaGoogleWallet } from "./google-wallet"; -export { default as FaGoogle } from "./google"; -export { default as FaGraduationCap } from "./graduation-cap"; -export { default as FaGroup } from "./group"; -export { default as FaHSquare } from "./h-square"; -export { default as FaHackerNews } from "./hacker-news"; -export { default as FaHandGrabO } from "./hand-grab-o"; -export { default as FaHandLizardO } from "./hand-lizard-o"; -export { default as FaHandODown } from "./hand-o-down"; -export { default as FaHandOLeft } from "./hand-o-left"; -export { default as FaHandORight } from "./hand-o-right"; -export { default as FaHandOUp } from "./hand-o-up"; -export { default as FaHandPaperO } from "./hand-paper-o"; -export { default as FaHandPeaceO } from "./hand-peace-o"; -export { default as FaHandPointerO } from "./hand-pointer-o"; -export { default as FaHandScissorsO } from "./hand-scissors-o"; -export { default as FaHandSpockO } from "./hand-spock-o"; -export { default as FaHashtag } from "./hashtag"; -export { default as FaHddO } from "./hdd-o"; -export { default as FaHeader } from "./header"; -export { default as FaHeadphones } from "./headphones"; -export { default as FaHeartO } from "./heart-o"; -export { default as FaHeart } from "./heart"; -export { default as FaHeartbeat } from "./heartbeat"; -export { default as FaHistory } from "./history"; -export { default as FaHome } from "./home"; -export { default as FaHospitalO } from "./hospital-o"; -export { default as FaHourglass1 } from "./hourglass-1"; -export { default as FaHourglass2 } from "./hourglass-2"; -export { default as FaHourglass3 } from "./hourglass-3"; -export { default as FaHourglassO } from "./hourglass-o"; -export { default as FaHourglass } from "./hourglass"; -export { default as FaHouzz } from "./houzz"; -export { default as FaHtml5 } from "./html5"; -export { default as FaICursor } from "./i-cursor"; -export { default as FaIls } from "./ils"; -export { default as FaImage } from "./image"; -export { default as FaInbox } from "./inbox"; -export { default as FaIndent } from "./indent"; -export { default as FaIndustry } from "./industry"; -export { default as FaInfoCircle } from "./info-circle"; -export { default as FaInfo } from "./info"; -export { default as FaInr } from "./inr"; -export { default as FaInstagram } from "./instagram"; -export { default as FaInternetExplorer } from "./internet-explorer"; -export { default as FaIntersex } from "./intersex"; -export { default as FaIoxhost } from "./ioxhost"; -export { default as FaItalic } from "./italic"; -export { default as FaJoomla } from "./joomla"; -export { default as FaJsfiddle } from "./jsfiddle"; -export { default as FaKey } from "./key"; -export { default as FaKeyboardO } from "./keyboard-o"; -export { default as FaKrw } from "./krw"; -export { default as FaLanguage } from "./language"; -export { default as FaLaptop } from "./laptop"; -export { default as FaLastfmSquare } from "./lastfm-square"; -export { default as FaLastfm } from "./lastfm"; -export { default as FaLeaf } from "./leaf"; -export { default as FaLeanpub } from "./leanpub"; -export { default as FaLemonO } from "./lemon-o"; -export { default as FaLevelDown } from "./level-down"; -export { default as FaLevelUp } from "./level-up"; -export { default as FaLifeBouy } from "./life-bouy"; -export { default as FaLightbulbO } from "./lightbulb-o"; -export { default as FaLineChart } from "./line-chart"; -export { default as FaLinkedinSquare } from "./linkedin-square"; -export { default as FaLinkedin } from "./linkedin"; -export { default as FaLinux } from "./linux"; -export { default as FaListAlt } from "./list-alt"; -export { default as FaListOl } from "./list-ol"; -export { default as FaListUl } from "./list-ul"; -export { default as FaList } from "./list"; -export { default as FaLocationArrow } from "./location-arrow"; -export { default as FaLock } from "./lock"; -export { default as FaLongArrowDown } from "./long-arrow-down"; -export { default as FaLongArrowLeft } from "./long-arrow-left"; -export { default as FaLongArrowRight } from "./long-arrow-right"; -export { default as FaLongArrowUp } from "./long-arrow-up"; -export { default as FaLowVision } from "./low-vision"; -export { default as FaMagic } from "./magic"; -export { default as FaMagnet } from "./magnet"; -export { default as FaMailForward } from "./mail-forward"; -export { default as FaMailReplyAll } from "./mail-reply-all"; -export { default as FaMailReply } from "./mail-reply"; -export { default as FaMale } from "./male"; -export { default as FaMapMarker } from "./map-marker"; -export { default as FaMapO } from "./map-o"; -export { default as FaMapPin } from "./map-pin"; -export { default as FaMapSigns } from "./map-signs"; -export { default as FaMap } from "./map"; -export { default as FaMarsDouble } from "./mars-double"; -export { default as FaMarsStrokeH } from "./mars-stroke-h"; -export { default as FaMarsStrokeV } from "./mars-stroke-v"; -export { default as FaMarsStroke } from "./mars-stroke"; -export { default as FaMars } from "./mars"; -export { default as FaMaxcdn } from "./maxcdn"; -export { default as FaMeanpath } from "./meanpath"; -export { default as FaMedium } from "./medium"; -export { default as FaMedkit } from "./medkit"; -export { default as FaMehO } from "./meh-o"; -export { default as FaMercury } from "./mercury"; -export { default as FaMicrophoneSlash } from "./microphone-slash"; -export { default as FaMicrophone } from "./microphone"; -export { default as FaMinusCircle } from "./minus-circle"; -export { default as FaMinusSquareO } from "./minus-square-o"; -export { default as FaMinusSquare } from "./minus-square"; -export { default as FaMinus } from "./minus"; -export { default as FaMixcloud } from "./mixcloud"; -export { default as FaMobile } from "./mobile"; -export { default as FaModx } from "./modx"; -export { default as FaMoney } from "./money"; -export { default as FaMoonO } from "./moon-o"; -export { default as FaMotorcycle } from "./motorcycle"; -export { default as FaMousePointer } from "./mouse-pointer"; -export { default as FaMusic } from "./music"; -export { default as FaNeuter } from "./neuter"; -export { default as FaNewspaperO } from "./newspaper-o"; -export { default as FaObjectGroup } from "./object-group"; -export { default as FaObjectUngroup } from "./object-ungroup"; -export { default as FaOdnoklassnikiSquare } from "./odnoklassniki-square"; -export { default as FaOdnoklassniki } from "./odnoklassniki"; -export { default as FaOpencart } from "./opencart"; -export { default as FaOpenid } from "./openid"; -export { default as FaOpera } from "./opera"; -export { default as FaOptinMonster } from "./optin-monster"; -export { default as FaPagelines } from "./pagelines"; -export { default as FaPaintBrush } from "./paint-brush"; -export { default as FaPaperPlaneO } from "./paper-plane-o"; -export { default as FaPaperPlane } from "./paper-plane"; -export { default as FaPaperclip } from "./paperclip"; -export { default as FaParagraph } from "./paragraph"; -export { default as FaPauseCircleO } from "./pause-circle-o"; -export { default as FaPauseCircle } from "./pause-circle"; -export { default as FaPause } from "./pause"; -export { default as FaPaw } from "./paw"; -export { default as FaPaypal } from "./paypal"; -export { default as FaPencilSquare } from "./pencil-square"; -export { default as FaPencil } from "./pencil"; -export { default as FaPercent } from "./percent"; -export { default as FaPhoneSquare } from "./phone-square"; -export { default as FaPhone } from "./phone"; -export { default as FaPieChart } from "./pie-chart"; -export { default as FaPiedPiperAlt } from "./pied-piper-alt"; -export { default as FaPiedPiper } from "./pied-piper"; -export { default as FaPinterestP } from "./pinterest-p"; -export { default as FaPinterestSquare } from "./pinterest-square"; -export { default as FaPinterest } from "./pinterest"; -export { default as FaPlane } from "./plane"; -export { default as FaPlayCircleO } from "./play-circle-o"; -export { default as FaPlayCircle } from "./play-circle"; -export { default as FaPlay } from "./play"; -export { default as FaPlug } from "./plug"; -export { default as FaPlusCircle } from "./plus-circle"; -export { default as FaPlusSquareO } from "./plus-square-o"; -export { default as FaPlusSquare } from "./plus-square"; -export { default as FaPlus } from "./plus"; -export { default as FaPowerOff } from "./power-off"; -export { default as FaPrint } from "./print"; -export { default as FaProductHunt } from "./product-hunt"; -export { default as FaPuzzlePiece } from "./puzzle-piece"; -export { default as FaQq } from "./qq"; -export { default as FaQrcode } from "./qrcode"; -export { default as FaQuestionCircleO } from "./question-circle-o"; -export { default as FaQuestionCircle } from "./question-circle"; -export { default as FaQuestion } from "./question"; -export { default as FaQuoteLeft } from "./quote-left"; -export { default as FaQuoteRight } from "./quote-right"; -export { default as FaRa } from "./ra"; -export { default as FaRandom } from "./random"; -export { default as FaRecycle } from "./recycle"; -export { default as FaRedditAlien } from "./reddit-alien"; -export { default as FaRedditSquare } from "./reddit-square"; -export { default as FaReddit } from "./reddit"; -export { default as FaRefresh } from "./refresh"; -export { default as FaRegistered } from "./registered"; -export { default as FaRenren } from "./renren"; -export { default as FaRepeat } from "./repeat"; -export { default as FaRetweet } from "./retweet"; -export { default as FaRoad } from "./road"; -export { default as FaRocket } from "./rocket"; -export { default as FaRotateLeft } from "./rotate-left"; -export { default as FaRouble } from "./rouble"; -export { default as FaRssSquare } from "./rss-square"; -export { default as FaSafari } from "./safari"; -export { default as FaScribd } from "./scribd"; -export { default as FaSearchMinus } from "./search-minus"; -export { default as FaSearchPlus } from "./search-plus"; -export { default as FaSearch } from "./search"; -export { default as FaSellsy } from "./sellsy"; -export { default as FaServer } from "./server"; -export { default as FaShareAltSquare } from "./share-alt-square"; -export { default as FaShareAlt } from "./share-alt"; -export { default as FaShareSquareO } from "./share-square-o"; -export { default as FaShareSquare } from "./share-square"; -export { default as FaShield } from "./shield"; -export { default as FaShip } from "./ship"; -export { default as FaShirtsinbulk } from "./shirtsinbulk"; -export { default as FaShoppingBag } from "./shopping-bag"; -export { default as FaShoppingBasket } from "./shopping-basket"; -export { default as FaShoppingCart } from "./shopping-cart"; -export { default as FaSignIn } from "./sign-in"; -export { default as FaSignLanguage } from "./sign-language"; -export { default as FaSignOut } from "./sign-out"; -export { default as FaSignal } from "./signal"; -export { default as FaSimplybuilt } from "./simplybuilt"; -export { default as FaSitemap } from "./sitemap"; -export { default as FaSkyatlas } from "./skyatlas"; -export { default as FaSkype } from "./skype"; -export { default as FaSlack } from "./slack"; -export { default as FaSliders } from "./sliders"; -export { default as FaSlideshare } from "./slideshare"; -export { default as FaSmileO } from "./smile-o"; -export { default as FaSnapchatGhost } from "./snapchat-ghost"; -export { default as FaSnapchatSquare } from "./snapchat-square"; -export { default as FaSnapchat } from "./snapchat"; -export { default as FaSortAlphaAsc } from "./sort-alpha-asc"; -export { default as FaSortAlphaDesc } from "./sort-alpha-desc"; -export { default as FaSortAmountAsc } from "./sort-amount-asc"; -export { default as FaSortAmountDesc } from "./sort-amount-desc"; -export { default as FaSortAsc } from "./sort-asc"; -export { default as FaSortDesc } from "./sort-desc"; -export { default as FaSortNumericAsc } from "./sort-numeric-asc"; -export { default as FaSortNumericDesc } from "./sort-numeric-desc"; -export { default as FaSort } from "./sort"; -export { default as FaSoundcloud } from "./soundcloud"; -export { default as FaSpaceShuttle } from "./space-shuttle"; -export { default as FaSpinner } from "./spinner"; -export { default as FaSpoon } from "./spoon"; -export { default as FaSpotify } from "./spotify"; -export { default as FaSquareO } from "./square-o"; -export { default as FaSquare } from "./square"; -export { default as FaStackExchange } from "./stack-exchange"; -export { default as FaStackOverflow } from "./stack-overflow"; -export { default as FaStarHalfEmpty } from "./star-half-empty"; -export { default as FaStarHalf } from "./star-half"; -export { default as FaStarO } from "./star-o"; -export { default as FaStar } from "./star"; -export { default as FaSteamSquare } from "./steam-square"; -export { default as FaSteam } from "./steam"; -export { default as FaStepBackward } from "./step-backward"; -export { default as FaStepForward } from "./step-forward"; -export { default as FaStethoscope } from "./stethoscope"; -export { default as FaStickyNoteO } from "./sticky-note-o"; -export { default as FaStickyNote } from "./sticky-note"; -export { default as FaStopCircleO } from "./stop-circle-o"; -export { default as FaStopCircle } from "./stop-circle"; -export { default as FaStop } from "./stop"; -export { default as FaStreetView } from "./street-view"; -export { default as FaStrikethrough } from "./strikethrough"; -export { default as FaStumbleuponCircle } from "./stumbleupon-circle"; -export { default as FaStumbleupon } from "./stumbleupon"; -export { default as FaSubscript } from "./subscript"; -export { default as FaSubway } from "./subway"; -export { default as FaSuitcase } from "./suitcase"; -export { default as FaSunO } from "./sun-o"; -export { default as FaSuperscript } from "./superscript"; -export { default as FaTable } from "./table"; -export { default as FaTablet } from "./tablet"; -export { default as FaTag } from "./tag"; -export { default as FaTags } from "./tags"; -export { default as FaTasks } from "./tasks"; -export { default as FaTelevision } from "./television"; -export { default as FaTencentWeibo } from "./tencent-weibo"; -export { default as FaTerminal } from "./terminal"; -export { default as FaTextHeight } from "./text-height"; -export { default as FaTextWidth } from "./text-width"; -export { default as FaThLarge } from "./th-large"; -export { default as FaThList } from "./th-list"; -export { default as FaTh } from "./th"; -export { default as FaThumbTack } from "./thumb-tack"; -export { default as FaThumbsDown } from "./thumbs-down"; -export { default as FaThumbsODown } from "./thumbs-o-down"; -export { default as FaThumbsOUp } from "./thumbs-o-up"; -export { default as FaThumbsUp } from "./thumbs-up"; -export { default as FaTicket } from "./ticket"; -export { default as FaTimesCircleO } from "./times-circle-o"; -export { default as FaTimesCircle } from "./times-circle"; -export { default as FaTint } from "./tint"; -export { default as FaToggleOff } from "./toggle-off"; -export { default as FaToggleOn } from "./toggle-on"; -export { default as FaTrademark } from "./trademark"; -export { default as FaTrain } from "./train"; -export { default as FaTransgenderAlt } from "./transgender-alt"; -export { default as FaTrashO } from "./trash-o"; -export { default as FaTrash } from "./trash"; -export { default as FaTree } from "./tree"; -export { default as FaTrello } from "./trello"; -export { default as FaTripadvisor } from "./tripadvisor"; -export { default as FaTrophy } from "./trophy"; -export { default as FaTruck } from "./truck"; -export { default as FaTry } from "./try"; -export { default as FaTty } from "./tty"; -export { default as FaTumblrSquare } from "./tumblr-square"; -export { default as FaTumblr } from "./tumblr"; -export { default as FaTwitch } from "./twitch"; -export { default as FaTwitterSquare } from "./twitter-square"; -export { default as FaTwitter } from "./twitter"; -export { default as FaUmbrella } from "./umbrella"; -export { default as FaUnderline } from "./underline"; -export { default as FaUniversalAccess } from "./universal-access"; -export { default as FaUnlockAlt } from "./unlock-alt"; -export { default as FaUnlock } from "./unlock"; -export { default as FaUpload } from "./upload"; -export { default as FaUsb } from "./usb"; -export { default as FaUserMd } from "./user-md"; -export { default as FaUserPlus } from "./user-plus"; -export { default as FaUserSecret } from "./user-secret"; -export { default as FaUserTimes } from "./user-times"; -export { default as FaUser } from "./user"; -export { default as FaVenusDouble } from "./venus-double"; -export { default as FaVenusMars } from "./venus-mars"; -export { default as FaVenus } from "./venus"; -export { default as FaViacoin } from "./viacoin"; -export { default as FaViadeoSquare } from "./viadeo-square"; -export { default as FaViadeo } from "./viadeo"; -export { default as FaVideoCamera } from "./video-camera"; -export { default as FaVimeoSquare } from "./vimeo-square"; -export { default as FaVimeo } from "./vimeo"; -export { default as FaVine } from "./vine"; -export { default as FaVk } from "./vk"; -export { default as FaVolumeControlPhone } from "./volume-control-phone"; -export { default as FaVolumeDown } from "./volume-down"; -export { default as FaVolumeOff } from "./volume-off"; -export { default as FaVolumeUp } from "./volume-up"; -export { default as FaWechat } from "./wechat"; -export { default as FaWeibo } from "./weibo"; -export { default as FaWhatsapp } from "./whatsapp"; -export { default as FaWheelchairAlt } from "./wheelchair-alt"; -export { default as FaWheelchair } from "./wheelchair"; -export { default as FaWifi } from "./wifi"; -export { default as FaWikipediaW } from "./wikipedia-w"; -export { default as FaWindows } from "./windows"; -export { default as FaWordpress } from "./wordpress"; -export { default as FaWpbeginner } from "./wpbeginner"; -export { default as FaWpforms } from "./wpforms"; -export { default as FaWrench } from "./wrench"; -export { default as FaXingSquare } from "./xing-square"; -export { default as FaXing } from "./xing"; -export { default as FaYCombinator } from "./y-combinator"; -export { default as FaYahoo } from "./yahoo"; -export { default as FaYelp } from "./yelp"; -export { default as FaYoutubePlay } from "./youtube-play"; -export { default as FaYoutubeSquare } from "./youtube-square"; -export { default as FaYoutube } from "./youtube"; +export { default as Fa500px } from "../../fa/500px"; +export { default as FaAdjust } from "../../fa/adjust"; +export { default as FaAdn } from "../../fa/adn"; +export { default as FaAlignCenter } from "../../fa/align-center"; +export { default as FaAlignJustify } from "../../fa/align-justify"; +export { default as FaAlignLeft } from "../../fa/align-left"; +export { default as FaAlignRight } from "../../fa/align-right"; +export { default as FaAmazon } from "../../fa/amazon"; +export { default as FaAmbulance } from "../../fa/ambulance"; +export { default as FaAmericanSignLanguageInterpreting } from "../../fa/american-sign-language-interpreting"; +export { default as FaAnchor } from "../../fa/anchor"; +export { default as FaAndroid } from "../../fa/android"; +export { default as FaAngellist } from "../../fa/angellist"; +export { default as FaAngleDoubleDown } from "../../fa/angle-double-down"; +export { default as FaAngleDoubleLeft } from "../../fa/angle-double-left"; +export { default as FaAngleDoubleRight } from "../../fa/angle-double-right"; +export { default as FaAngleDoubleUp } from "../../fa/angle-double-up"; +export { default as FaAngleDown } from "../../fa/angle-down"; +export { default as FaAngleLeft } from "../../fa/angle-left"; +export { default as FaAngleRight } from "../../fa/angle-right"; +export { default as FaAngleUp } from "../../fa/angle-up"; +export { default as FaApple } from "../../fa/apple"; +export { default as FaArchive } from "../../fa/archive"; +export { default as FaAreaChart } from "../../fa/area-chart"; +export { default as FaArrowCircleDown } from "../../fa/arrow-circle-down"; +export { default as FaArrowCircleLeft } from "../../fa/arrow-circle-left"; +export { default as FaArrowCircleODown } from "../../fa/arrow-circle-o-down"; +export { default as FaArrowCircleOLeft } from "../../fa/arrow-circle-o-left"; +export { default as FaArrowCircleORight } from "../../fa/arrow-circle-o-right"; +export { default as FaArrowCircleOUp } from "../../fa/arrow-circle-o-up"; +export { default as FaArrowCircleRight } from "../../fa/arrow-circle-right"; +export { default as FaArrowCircleUp } from "../../fa/arrow-circle-up"; +export { default as FaArrowDown } from "../../fa/arrow-down"; +export { default as FaArrowLeft } from "../../fa/arrow-left"; +export { default as FaArrowRight } from "../../fa/arrow-right"; +export { default as FaArrowUp } from "../../fa/arrow-up"; +export { default as FaArrowsAlt } from "../../fa/arrows-alt"; +export { default as FaArrowsH } from "../../fa/arrows-h"; +export { default as FaArrowsV } from "../../fa/arrows-v"; +export { default as FaArrows } from "../../fa/arrows"; +export { default as FaAssistiveListeningSystems } from "../../fa/assistive-listening-systems"; +export { default as FaAsterisk } from "../../fa/asterisk"; +export { default as FaAt } from "../../fa/at"; +export { default as FaAudioDescription } from "../../fa/audio-description"; +export { default as FaAutomobile } from "../../fa/automobile"; +export { default as FaBackward } from "../../fa/backward"; +export { default as FaBalanceScale } from "../../fa/balance-scale"; +export { default as FaBan } from "../../fa/ban"; +export { default as FaBank } from "../../fa/bank"; +export { default as FaBarChart } from "../../fa/bar-chart"; +export { default as FaBarcode } from "../../fa/barcode"; +export { default as FaBars } from "../../fa/bars"; +export { default as FaBattery0 } from "../../fa/battery-0"; +export { default as FaBattery1 } from "../../fa/battery-1"; +export { default as FaBattery2 } from "../../fa/battery-2"; +export { default as FaBattery3 } from "../../fa/battery-3"; +export { default as FaBattery4 } from "../../fa/battery-4"; +export { default as FaBed } from "../../fa/bed"; +export { default as FaBeer } from "../../fa/beer"; +export { default as FaBehanceSquare } from "../../fa/behance-square"; +export { default as FaBehance } from "../../fa/behance"; +export { default as FaBellO } from "../../fa/bell-o"; +export { default as FaBellSlashO } from "../../fa/bell-slash-o"; +export { default as FaBellSlash } from "../../fa/bell-slash"; +export { default as FaBell } from "../../fa/bell"; +export { default as FaBicycle } from "../../fa/bicycle"; +export { default as FaBinoculars } from "../../fa/binoculars"; +export { default as FaBirthdayCake } from "../../fa/birthday-cake"; +export { default as FaBitbucketSquare } from "../../fa/bitbucket-square"; +export { default as FaBitbucket } from "../../fa/bitbucket"; +export { default as FaBitcoin } from "../../fa/bitcoin"; +export { default as FaBlackTie } from "../../fa/black-tie"; +export { default as FaBlind } from "../../fa/blind"; +export { default as FaBluetoothB } from "../../fa/bluetooth-b"; +export { default as FaBluetooth } from "../../fa/bluetooth"; +export { default as FaBold } from "../../fa/bold"; +export { default as FaBolt } from "../../fa/bolt"; +export { default as FaBomb } from "../../fa/bomb"; +export { default as FaBook } from "../../fa/book"; +export { default as FaBookmarkO } from "../../fa/bookmark-o"; +export { default as FaBookmark } from "../../fa/bookmark"; +export { default as FaBraille } from "../../fa/braille"; +export { default as FaBriefcase } from "../../fa/briefcase"; +export { default as FaBug } from "../../fa/bug"; +export { default as FaBuildingO } from "../../fa/building-o"; +export { default as FaBuilding } from "../../fa/building"; +export { default as FaBullhorn } from "../../fa/bullhorn"; +export { default as FaBullseye } from "../../fa/bullseye"; +export { default as FaBus } from "../../fa/bus"; +export { default as FaBuysellads } from "../../fa/buysellads"; +export { default as FaCab } from "../../fa/cab"; +export { default as FaCalculator } from "../../fa/calculator"; +export { default as FaCalendarCheckO } from "../../fa/calendar-check-o"; +export { default as FaCalendarMinusO } from "../../fa/calendar-minus-o"; +export { default as FaCalendarO } from "../../fa/calendar-o"; +export { default as FaCalendarPlusO } from "../../fa/calendar-plus-o"; +export { default as FaCalendarTimesO } from "../../fa/calendar-times-o"; +export { default as FaCalendar } from "../../fa/calendar"; +export { default as FaCameraRetro } from "../../fa/camera-retro"; +export { default as FaCamera } from "../../fa/camera"; +export { default as FaCaretDown } from "../../fa/caret-down"; +export { default as FaCaretLeft } from "../../fa/caret-left"; +export { default as FaCaretRight } from "../../fa/caret-right"; +export { default as FaCaretSquareODown } from "../../fa/caret-square-o-down"; +export { default as FaCaretSquareOLeft } from "../../fa/caret-square-o-left"; +export { default as FaCaretSquareORight } from "../../fa/caret-square-o-right"; +export { default as FaCaretSquareOUp } from "../../fa/caret-square-o-up"; +export { default as FaCaretUp } from "../../fa/caret-up"; +export { default as FaCartArrowDown } from "../../fa/cart-arrow-down"; +export { default as FaCartPlus } from "../../fa/cart-plus"; +export { default as FaCcAmex } from "../../fa/cc-amex"; +export { default as FaCcDinersClub } from "../../fa/cc-diners-club"; +export { default as FaCcDiscover } from "../../fa/cc-discover"; +export { default as FaCcJcb } from "../../fa/cc-jcb"; +export { default as FaCcMastercard } from "../../fa/cc-mastercard"; +export { default as FaCcPaypal } from "../../fa/cc-paypal"; +export { default as FaCcStripe } from "../../fa/cc-stripe"; +export { default as FaCcVisa } from "../../fa/cc-visa"; +export { default as FaCc } from "../../fa/cc"; +export { default as FaCertificate } from "../../fa/certificate"; +export { default as FaChainBroken } from "../../fa/chain-broken"; +export { default as FaChain } from "../../fa/chain"; +export { default as FaCheckCircleO } from "../../fa/check-circle-o"; +export { default as FaCheckCircle } from "../../fa/check-circle"; +export { default as FaCheckSquareO } from "../../fa/check-square-o"; +export { default as FaCheckSquare } from "../../fa/check-square"; +export { default as FaCheck } from "../../fa/check"; +export { default as FaChevronCircleDown } from "../../fa/chevron-circle-down"; +export { default as FaChevronCircleLeft } from "../../fa/chevron-circle-left"; +export { default as FaChevronCircleRight } from "../../fa/chevron-circle-right"; +export { default as FaChevronCircleUp } from "../../fa/chevron-circle-up"; +export { default as FaChevronDown } from "../../fa/chevron-down"; +export { default as FaChevronLeft } from "../../fa/chevron-left"; +export { default as FaChevronRight } from "../../fa/chevron-right"; +export { default as FaChevronUp } from "../../fa/chevron-up"; +export { default as FaChild } from "../../fa/child"; +export { default as FaChrome } from "../../fa/chrome"; +export { default as FaCircleONotch } from "../../fa/circle-o-notch"; +export { default as FaCircleO } from "../../fa/circle-o"; +export { default as FaCircleThin } from "../../fa/circle-thin"; +export { default as FaCircle } from "../../fa/circle"; +export { default as FaClipboard } from "../../fa/clipboard"; +export { default as FaClockO } from "../../fa/clock-o"; +export { default as FaClone } from "../../fa/clone"; +export { default as FaClose } from "../../fa/close"; +export { default as FaCloudDownload } from "../../fa/cloud-download"; +export { default as FaCloudUpload } from "../../fa/cloud-upload"; +export { default as FaCloud } from "../../fa/cloud"; +export { default as FaCny } from "../../fa/cny"; +export { default as FaCodeFork } from "../../fa/code-fork"; +export { default as FaCode } from "../../fa/code"; +export { default as FaCodepen } from "../../fa/codepen"; +export { default as FaCodiepie } from "../../fa/codiepie"; +export { default as FaCoffee } from "../../fa/coffee"; +export { default as FaCog } from "../../fa/cog"; +export { default as FaCogs } from "../../fa/cogs"; +export { default as FaColumns } from "../../fa/columns"; +export { default as FaCommentO } from "../../fa/comment-o"; +export { default as FaComment } from "../../fa/comment"; +export { default as FaCommentingO } from "../../fa/commenting-o"; +export { default as FaCommenting } from "../../fa/commenting"; +export { default as FaCommentsO } from "../../fa/comments-o"; +export { default as FaComments } from "../../fa/comments"; +export { default as FaCompass } from "../../fa/compass"; +export { default as FaCompress } from "../../fa/compress"; +export { default as FaConnectdevelop } from "../../fa/connectdevelop"; +export { default as FaContao } from "../../fa/contao"; +export { default as FaCopy } from "../../fa/copy"; +export { default as FaCopyright } from "../../fa/copyright"; +export { default as FaCreativeCommons } from "../../fa/creative-commons"; +export { default as FaCreditCardAlt } from "../../fa/credit-card-alt"; +export { default as FaCreditCard } from "../../fa/credit-card"; +export { default as FaCrop } from "../../fa/crop"; +export { default as FaCrosshairs } from "../../fa/crosshairs"; +export { default as FaCss3 } from "../../fa/css3"; +export { default as FaCube } from "../../fa/cube"; +export { default as FaCubes } from "../../fa/cubes"; +export { default as FaCut } from "../../fa/cut"; +export { default as FaCutlery } from "../../fa/cutlery"; +export { default as FaDashboard } from "../../fa/dashboard"; +export { default as FaDashcube } from "../../fa/dashcube"; +export { default as FaDatabase } from "../../fa/database"; +export { default as FaDeaf } from "../../fa/deaf"; +export { default as FaDedent } from "../../fa/dedent"; +export { default as FaDelicious } from "../../fa/delicious"; +export { default as FaDesktop } from "../../fa/desktop"; +export { default as FaDeviantart } from "../../fa/deviantart"; +export { default as FaDiamond } from "../../fa/diamond"; +export { default as FaDigg } from "../../fa/digg"; +export { default as FaDollar } from "../../fa/dollar"; +export { default as FaDotCircleO } from "../../fa/dot-circle-o"; +export { default as FaDownload } from "../../fa/download"; +export { default as FaDribbble } from "../../fa/dribbble"; +export { default as FaDropbox } from "../../fa/dropbox"; +export { default as FaDrupal } from "../../fa/drupal"; +export { default as FaEdge } from "../../fa/edge"; +export { default as FaEdit } from "../../fa/edit"; +export { default as FaEject } from "../../fa/eject"; +export { default as FaEllipsisH } from "../../fa/ellipsis-h"; +export { default as FaEllipsisV } from "../../fa/ellipsis-v"; +export { default as FaEmpire } from "../../fa/empire"; +export { default as FaEnvelopeO } from "../../fa/envelope-o"; +export { default as FaEnvelopeSquare } from "../../fa/envelope-square"; +export { default as FaEnvelope } from "../../fa/envelope"; +export { default as FaEnvira } from "../../fa/envira"; +export { default as FaEraser } from "../../fa/eraser"; +export { default as FaEur } from "../../fa/eur"; +export { default as FaExchange } from "../../fa/exchange"; +export { default as FaExclamationCircle } from "../../fa/exclamation-circle"; +export { default as FaExclamationTriangle } from "../../fa/exclamation-triangle"; +export { default as FaExclamation } from "../../fa/exclamation"; +export { default as FaExpand } from "../../fa/expand"; +export { default as FaExpeditedssl } from "../../fa/expeditedssl"; +export { default as FaExternalLinkSquare } from "../../fa/external-link-square"; +export { default as FaExternalLink } from "../../fa/external-link"; +export { default as FaEyeSlash } from "../../fa/eye-slash"; +export { default as FaEye } from "../../fa/eye"; +export { default as FaEyedropper } from "../../fa/eyedropper"; +export { default as FaFacebookOfficial } from "../../fa/facebook-official"; +export { default as FaFacebookSquare } from "../../fa/facebook-square"; +export { default as FaFacebook } from "../../fa/facebook"; +export { default as FaFastBackward } from "../../fa/fast-backward"; +export { default as FaFastForward } from "../../fa/fast-forward"; +export { default as FaFax } from "../../fa/fax"; +export { default as FaFeed } from "../../fa/feed"; +export { default as FaFemale } from "../../fa/female"; +export { default as FaFighterJet } from "../../fa/fighter-jet"; +export { default as FaFileArchiveO } from "../../fa/file-archive-o"; +export { default as FaFileAudioO } from "../../fa/file-audio-o"; +export { default as FaFileCodeO } from "../../fa/file-code-o"; +export { default as FaFileExcelO } from "../../fa/file-excel-o"; +export { default as FaFileImageO } from "../../fa/file-image-o"; +export { default as FaFileMovieO } from "../../fa/file-movie-o"; +export { default as FaFileO } from "../../fa/file-o"; +export { default as FaFilePdfO } from "../../fa/file-pdf-o"; +export { default as FaFilePowerpointO } from "../../fa/file-powerpoint-o"; +export { default as FaFileTextO } from "../../fa/file-text-o"; +export { default as FaFileText } from "../../fa/file-text"; +export { default as FaFileWordO } from "../../fa/file-word-o"; +export { default as FaFile } from "../../fa/file"; +export { default as FaFilm } from "../../fa/film"; +export { default as FaFilter } from "../../fa/filter"; +export { default as FaFireExtinguisher } from "../../fa/fire-extinguisher"; +export { default as FaFire } from "../../fa/fire"; +export { default as FaFirefox } from "../../fa/firefox"; +export { default as FaFlagCheckered } from "../../fa/flag-checkered"; +export { default as FaFlagO } from "../../fa/flag-o"; +export { default as FaFlag } from "../../fa/flag"; +export { default as FaFlask } from "../../fa/flask"; +export { default as FaFlickr } from "../../fa/flickr"; +export { default as FaFloppyO } from "../../fa/floppy-o"; +export { default as FaFolderO } from "../../fa/folder-o"; +export { default as FaFolderOpenO } from "../../fa/folder-open-o"; +export { default as FaFolderOpen } from "../../fa/folder-open"; +export { default as FaFolder } from "../../fa/folder"; +export { default as FaFont } from "../../fa/font"; +export { default as FaFonticons } from "../../fa/fonticons"; +export { default as FaFortAwesome } from "../../fa/fort-awesome"; +export { default as FaForumbee } from "../../fa/forumbee"; +export { default as FaForward } from "../../fa/forward"; +export { default as FaFoursquare } from "../../fa/foursquare"; +export { default as FaFrownO } from "../../fa/frown-o"; +export { default as FaFutbolO } from "../../fa/futbol-o"; +export { default as FaGamepad } from "../../fa/gamepad"; +export { default as FaGavel } from "../../fa/gavel"; +export { default as FaGbp } from "../../fa/gbp"; +export { default as FaGenderless } from "../../fa/genderless"; +export { default as FaGetPocket } from "../../fa/get-pocket"; +export { default as FaGgCircle } from "../../fa/gg-circle"; +export { default as FaGg } from "../../fa/gg"; +export { default as FaGift } from "../../fa/gift"; +export { default as FaGitSquare } from "../../fa/git-square"; +export { default as FaGit } from "../../fa/git"; +export { default as FaGithubAlt } from "../../fa/github-alt"; +export { default as FaGithubSquare } from "../../fa/github-square"; +export { default as FaGithub } from "../../fa/github"; +export { default as FaGitlab } from "../../fa/gitlab"; +export { default as FaGittip } from "../../fa/gittip"; +export { default as FaGlass } from "../../fa/glass"; +export { default as FaGlideG } from "../../fa/glide-g"; +export { default as FaGlide } from "../../fa/glide"; +export { default as FaGlobe } from "../../fa/globe"; +export { default as FaGooglePlusSquare } from "../../fa/google-plus-square"; +export { default as FaGooglePlus } from "../../fa/google-plus"; +export { default as FaGoogleWallet } from "../../fa/google-wallet"; +export { default as FaGoogle } from "../../fa/google"; +export { default as FaGraduationCap } from "../../fa/graduation-cap"; +export { default as FaGroup } from "../../fa/group"; +export { default as FaHSquare } from "../../fa/h-square"; +export { default as FaHackerNews } from "../../fa/hacker-news"; +export { default as FaHandGrabO } from "../../fa/hand-grab-o"; +export { default as FaHandLizardO } from "../../fa/hand-lizard-o"; +export { default as FaHandODown } from "../../fa/hand-o-down"; +export { default as FaHandOLeft } from "../../fa/hand-o-left"; +export { default as FaHandORight } from "../../fa/hand-o-right"; +export { default as FaHandOUp } from "../../fa/hand-o-up"; +export { default as FaHandPaperO } from "../../fa/hand-paper-o"; +export { default as FaHandPeaceO } from "../../fa/hand-peace-o"; +export { default as FaHandPointerO } from "../../fa/hand-pointer-o"; +export { default as FaHandScissorsO } from "../../fa/hand-scissors-o"; +export { default as FaHandSpockO } from "../../fa/hand-spock-o"; +export { default as FaHashtag } from "../../fa/hashtag"; +export { default as FaHddO } from "../../fa/hdd-o"; +export { default as FaHeader } from "../../fa/header"; +export { default as FaHeadphones } from "../../fa/headphones"; +export { default as FaHeartO } from "../../fa/heart-o"; +export { default as FaHeart } from "../../fa/heart"; +export { default as FaHeartbeat } from "../../fa/heartbeat"; +export { default as FaHistory } from "../../fa/history"; +export { default as FaHome } from "../../fa/home"; +export { default as FaHospitalO } from "../../fa/hospital-o"; +export { default as FaHourglass1 } from "../../fa/hourglass-1"; +export { default as FaHourglass2 } from "../../fa/hourglass-2"; +export { default as FaHourglass3 } from "../../fa/hourglass-3"; +export { default as FaHourglassO } from "../../fa/hourglass-o"; +export { default as FaHourglass } from "../../fa/hourglass"; +export { default as FaHouzz } from "../../fa/houzz"; +export { default as FaHtml5 } from "../../fa/html5"; +export { default as FaICursor } from "../../fa/i-cursor"; +export { default as FaIls } from "../../fa/ils"; +export { default as FaImage } from "../../fa/image"; +export { default as FaInbox } from "../../fa/inbox"; +export { default as FaIndent } from "../../fa/indent"; +export { default as FaIndustry } from "../../fa/industry"; +export { default as FaInfoCircle } from "../../fa/info-circle"; +export { default as FaInfo } from "../../fa/info"; +export { default as FaInr } from "../../fa/inr"; +export { default as FaInstagram } from "../../fa/instagram"; +export { default as FaInternetExplorer } from "../../fa/internet-explorer"; +export { default as FaIntersex } from "../../fa/intersex"; +export { default as FaIoxhost } from "../../fa/ioxhost"; +export { default as FaItalic } from "../../fa/italic"; +export { default as FaJoomla } from "../../fa/joomla"; +export { default as FaJsfiddle } from "../../fa/jsfiddle"; +export { default as FaKey } from "../../fa/key"; +export { default as FaKeyboardO } from "../../fa/keyboard-o"; +export { default as FaKrw } from "../../fa/krw"; +export { default as FaLanguage } from "../../fa/language"; +export { default as FaLaptop } from "../../fa/laptop"; +export { default as FaLastfmSquare } from "../../fa/lastfm-square"; +export { default as FaLastfm } from "../../fa/lastfm"; +export { default as FaLeaf } from "../../fa/leaf"; +export { default as FaLeanpub } from "../../fa/leanpub"; +export { default as FaLemonO } from "../../fa/lemon-o"; +export { default as FaLevelDown } from "../../fa/level-down"; +export { default as FaLevelUp } from "../../fa/level-up"; +export { default as FaLifeBouy } from "../../fa/life-bouy"; +export { default as FaLightbulbO } from "../../fa/lightbulb-o"; +export { default as FaLineChart } from "../../fa/line-chart"; +export { default as FaLinkedinSquare } from "../../fa/linkedin-square"; +export { default as FaLinkedin } from "../../fa/linkedin"; +export { default as FaLinux } from "../../fa/linux"; +export { default as FaListAlt } from "../../fa/list-alt"; +export { default as FaListOl } from "../../fa/list-ol"; +export { default as FaListUl } from "../../fa/list-ul"; +export { default as FaList } from "../../fa/list"; +export { default as FaLocationArrow } from "../../fa/location-arrow"; +export { default as FaLock } from "../../fa/lock"; +export { default as FaLongArrowDown } from "../../fa/long-arrow-down"; +export { default as FaLongArrowLeft } from "../../fa/long-arrow-left"; +export { default as FaLongArrowRight } from "../../fa/long-arrow-right"; +export { default as FaLongArrowUp } from "../../fa/long-arrow-up"; +export { default as FaLowVision } from "../../fa/low-vision"; +export { default as FaMagic } from "../../fa/magic"; +export { default as FaMagnet } from "../../fa/magnet"; +export { default as FaMailForward } from "../../fa/mail-forward"; +export { default as FaMailReplyAll } from "../../fa/mail-reply-all"; +export { default as FaMailReply } from "../../fa/mail-reply"; +export { default as FaMale } from "../../fa/male"; +export { default as FaMapMarker } from "../../fa/map-marker"; +export { default as FaMapO } from "../../fa/map-o"; +export { default as FaMapPin } from "../../fa/map-pin"; +export { default as FaMapSigns } from "../../fa/map-signs"; +export { default as FaMap } from "../../fa/map"; +export { default as FaMarsDouble } from "../../fa/mars-double"; +export { default as FaMarsStrokeH } from "../../fa/mars-stroke-h"; +export { default as FaMarsStrokeV } from "../../fa/mars-stroke-v"; +export { default as FaMarsStroke } from "../../fa/mars-stroke"; +export { default as FaMars } from "../../fa/mars"; +export { default as FaMaxcdn } from "../../fa/maxcdn"; +export { default as FaMeanpath } from "../../fa/meanpath"; +export { default as FaMedium } from "../../fa/medium"; +export { default as FaMedkit } from "../../fa/medkit"; +export { default as FaMehO } from "../../fa/meh-o"; +export { default as FaMercury } from "../../fa/mercury"; +export { default as FaMicrophoneSlash } from "../../fa/microphone-slash"; +export { default as FaMicrophone } from "../../fa/microphone"; +export { default as FaMinusCircle } from "../../fa/minus-circle"; +export { default as FaMinusSquareO } from "../../fa/minus-square-o"; +export { default as FaMinusSquare } from "../../fa/minus-square"; +export { default as FaMinus } from "../../fa/minus"; +export { default as FaMixcloud } from "../../fa/mixcloud"; +export { default as FaMobile } from "../../fa/mobile"; +export { default as FaModx } from "../../fa/modx"; +export { default as FaMoney } from "../../fa/money"; +export { default as FaMoonO } from "../../fa/moon-o"; +export { default as FaMotorcycle } from "../../fa/motorcycle"; +export { default as FaMousePointer } from "../../fa/mouse-pointer"; +export { default as FaMusic } from "../../fa/music"; +export { default as FaNeuter } from "../../fa/neuter"; +export { default as FaNewspaperO } from "../../fa/newspaper-o"; +export { default as FaObjectGroup } from "../../fa/object-group"; +export { default as FaObjectUngroup } from "../../fa/object-ungroup"; +export { default as FaOdnoklassnikiSquare } from "../../fa/odnoklassniki-square"; +export { default as FaOdnoklassniki } from "../../fa/odnoklassniki"; +export { default as FaOpencart } from "../../fa/opencart"; +export { default as FaOpenid } from "../../fa/openid"; +export { default as FaOpera } from "../../fa/opera"; +export { default as FaOptinMonster } from "../../fa/optin-monster"; +export { default as FaPagelines } from "../../fa/pagelines"; +export { default as FaPaintBrush } from "../../fa/paint-brush"; +export { default as FaPaperPlaneO } from "../../fa/paper-plane-o"; +export { default as FaPaperPlane } from "../../fa/paper-plane"; +export { default as FaPaperclip } from "../../fa/paperclip"; +export { default as FaParagraph } from "../../fa/paragraph"; +export { default as FaPauseCircleO } from "../../fa/pause-circle-o"; +export { default as FaPauseCircle } from "../../fa/pause-circle"; +export { default as FaPause } from "../../fa/pause"; +export { default as FaPaw } from "../../fa/paw"; +export { default as FaPaypal } from "../../fa/paypal"; +export { default as FaPencilSquare } from "../../fa/pencil-square"; +export { default as FaPencil } from "../../fa/pencil"; +export { default as FaPercent } from "../../fa/percent"; +export { default as FaPhoneSquare } from "../../fa/phone-square"; +export { default as FaPhone } from "../../fa/phone"; +export { default as FaPieChart } from "../../fa/pie-chart"; +export { default as FaPiedPiperAlt } from "../../fa/pied-piper-alt"; +export { default as FaPiedPiper } from "../../fa/pied-piper"; +export { default as FaPinterestP } from "../../fa/pinterest-p"; +export { default as FaPinterestSquare } from "../../fa/pinterest-square"; +export { default as FaPinterest } from "../../fa/pinterest"; +export { default as FaPlane } from "../../fa/plane"; +export { default as FaPlayCircleO } from "../../fa/play-circle-o"; +export { default as FaPlayCircle } from "../../fa/play-circle"; +export { default as FaPlay } from "../../fa/play"; +export { default as FaPlug } from "../../fa/plug"; +export { default as FaPlusCircle } from "../../fa/plus-circle"; +export { default as FaPlusSquareO } from "../../fa/plus-square-o"; +export { default as FaPlusSquare } from "../../fa/plus-square"; +export { default as FaPlus } from "../../fa/plus"; +export { default as FaPowerOff } from "../../fa/power-off"; +export { default as FaPrint } from "../../fa/print"; +export { default as FaProductHunt } from "../../fa/product-hunt"; +export { default as FaPuzzlePiece } from "../../fa/puzzle-piece"; +export { default as FaQq } from "../../fa/qq"; +export { default as FaQrcode } from "../../fa/qrcode"; +export { default as FaQuestionCircleO } from "../../fa/question-circle-o"; +export { default as FaQuestionCircle } from "../../fa/question-circle"; +export { default as FaQuestion } from "../../fa/question"; +export { default as FaQuoteLeft } from "../../fa/quote-left"; +export { default as FaQuoteRight } from "../../fa/quote-right"; +export { default as FaRa } from "../../fa/ra"; +export { default as FaRandom } from "../../fa/random"; +export { default as FaRecycle } from "../../fa/recycle"; +export { default as FaRedditAlien } from "../../fa/reddit-alien"; +export { default as FaRedditSquare } from "../../fa/reddit-square"; +export { default as FaReddit } from "../../fa/reddit"; +export { default as FaRefresh } from "../../fa/refresh"; +export { default as FaRegistered } from "../../fa/registered"; +export { default as FaRenren } from "../../fa/renren"; +export { default as FaRepeat } from "../../fa/repeat"; +export { default as FaRetweet } from "../../fa/retweet"; +export { default as FaRoad } from "../../fa/road"; +export { default as FaRocket } from "../../fa/rocket"; +export { default as FaRotateLeft } from "../../fa/rotate-left"; +export { default as FaRouble } from "../../fa/rouble"; +export { default as FaRssSquare } from "../../fa/rss-square"; +export { default as FaSafari } from "../../fa/safari"; +export { default as FaScribd } from "../../fa/scribd"; +export { default as FaSearchMinus } from "../../fa/search-minus"; +export { default as FaSearchPlus } from "../../fa/search-plus"; +export { default as FaSearch } from "../../fa/search"; +export { default as FaSellsy } from "../../fa/sellsy"; +export { default as FaServer } from "../../fa/server"; +export { default as FaShareAltSquare } from "../../fa/share-alt-square"; +export { default as FaShareAlt } from "../../fa/share-alt"; +export { default as FaShareSquareO } from "../../fa/share-square-o"; +export { default as FaShareSquare } from "../../fa/share-square"; +export { default as FaShield } from "../../fa/shield"; +export { default as FaShip } from "../../fa/ship"; +export { default as FaShirtsinbulk } from "../../fa/shirtsinbulk"; +export { default as FaShoppingBag } from "../../fa/shopping-bag"; +export { default as FaShoppingBasket } from "../../fa/shopping-basket"; +export { default as FaShoppingCart } from "../../fa/shopping-cart"; +export { default as FaSignIn } from "../../fa/sign-in"; +export { default as FaSignLanguage } from "../../fa/sign-language"; +export { default as FaSignOut } from "../../fa/sign-out"; +export { default as FaSignal } from "../../fa/signal"; +export { default as FaSimplybuilt } from "../../fa/simplybuilt"; +export { default as FaSitemap } from "../../fa/sitemap"; +export { default as FaSkyatlas } from "../../fa/skyatlas"; +export { default as FaSkype } from "../../fa/skype"; +export { default as FaSlack } from "../../fa/slack"; +export { default as FaSliders } from "../../fa/sliders"; +export { default as FaSlideshare } from "../../fa/slideshare"; +export { default as FaSmileO } from "../../fa/smile-o"; +export { default as FaSnapchatGhost } from "../../fa/snapchat-ghost"; +export { default as FaSnapchatSquare } from "../../fa/snapchat-square"; +export { default as FaSnapchat } from "../../fa/snapchat"; +export { default as FaSortAlphaAsc } from "../../fa/sort-alpha-asc"; +export { default as FaSortAlphaDesc } from "../../fa/sort-alpha-desc"; +export { default as FaSortAmountAsc } from "../../fa/sort-amount-asc"; +export { default as FaSortAmountDesc } from "../../fa/sort-amount-desc"; +export { default as FaSortAsc } from "../../fa/sort-asc"; +export { default as FaSortDesc } from "../../fa/sort-desc"; +export { default as FaSortNumericAsc } from "../../fa/sort-numeric-asc"; +export { default as FaSortNumericDesc } from "../../fa/sort-numeric-desc"; +export { default as FaSort } from "../../fa/sort"; +export { default as FaSoundcloud } from "../../fa/soundcloud"; +export { default as FaSpaceShuttle } from "../../fa/space-shuttle"; +export { default as FaSpinner } from "../../fa/spinner"; +export { default as FaSpoon } from "../../fa/spoon"; +export { default as FaSpotify } from "../../fa/spotify"; +export { default as FaSquareO } from "../../fa/square-o"; +export { default as FaSquare } from "../../fa/square"; +export { default as FaStackExchange } from "../../fa/stack-exchange"; +export { default as FaStackOverflow } from "../../fa/stack-overflow"; +export { default as FaStarHalfEmpty } from "../../fa/star-half-empty"; +export { default as FaStarHalf } from "../../fa/star-half"; +export { default as FaStarO } from "../../fa/star-o"; +export { default as FaStar } from "../../fa/star"; +export { default as FaSteamSquare } from "../../fa/steam-square"; +export { default as FaSteam } from "../../fa/steam"; +export { default as FaStepBackward } from "../../fa/step-backward"; +export { default as FaStepForward } from "../../fa/step-forward"; +export { default as FaStethoscope } from "../../fa/stethoscope"; +export { default as FaStickyNoteO } from "../../fa/sticky-note-o"; +export { default as FaStickyNote } from "../../fa/sticky-note"; +export { default as FaStopCircleO } from "../../fa/stop-circle-o"; +export { default as FaStopCircle } from "../../fa/stop-circle"; +export { default as FaStop } from "../../fa/stop"; +export { default as FaStreetView } from "../../fa/street-view"; +export { default as FaStrikethrough } from "../../fa/strikethrough"; +export { default as FaStumbleuponCircle } from "../../fa/stumbleupon-circle"; +export { default as FaStumbleupon } from "../../fa/stumbleupon"; +export { default as FaSubscript } from "../../fa/subscript"; +export { default as FaSubway } from "../../fa/subway"; +export { default as FaSuitcase } from "../../fa/suitcase"; +export { default as FaSunO } from "../../fa/sun-o"; +export { default as FaSuperscript } from "../../fa/superscript"; +export { default as FaTable } from "../../fa/table"; +export { default as FaTablet } from "../../fa/tablet"; +export { default as FaTag } from "../../fa/tag"; +export { default as FaTags } from "../../fa/tags"; +export { default as FaTasks } from "../../fa/tasks"; +export { default as FaTelevision } from "../../fa/television"; +export { default as FaTencentWeibo } from "../../fa/tencent-weibo"; +export { default as FaTerminal } from "../../fa/terminal"; +export { default as FaTextHeight } from "../../fa/text-height"; +export { default as FaTextWidth } from "../../fa/text-width"; +export { default as FaThLarge } from "../../fa/th-large"; +export { default as FaThList } from "../../fa/th-list"; +export { default as FaTh } from "../../fa/th"; +export { default as FaThumbTack } from "../../fa/thumb-tack"; +export { default as FaThumbsDown } from "../../fa/thumbs-down"; +export { default as FaThumbsODown } from "../../fa/thumbs-o-down"; +export { default as FaThumbsOUp } from "../../fa/thumbs-o-up"; +export { default as FaThumbsUp } from "../../fa/thumbs-up"; +export { default as FaTicket } from "../../fa/ticket"; +export { default as FaTimesCircleO } from "../../fa/times-circle-o"; +export { default as FaTimesCircle } from "../../fa/times-circle"; +export { default as FaTint } from "../../fa/tint"; +export { default as FaToggleOff } from "../../fa/toggle-off"; +export { default as FaToggleOn } from "../../fa/toggle-on"; +export { default as FaTrademark } from "../../fa/trademark"; +export { default as FaTrain } from "../../fa/train"; +export { default as FaTransgenderAlt } from "../../fa/transgender-alt"; +export { default as FaTrashO } from "../../fa/trash-o"; +export { default as FaTrash } from "../../fa/trash"; +export { default as FaTree } from "../../fa/tree"; +export { default as FaTrello } from "../../fa/trello"; +export { default as FaTripadvisor } from "../../fa/tripadvisor"; +export { default as FaTrophy } from "../../fa/trophy"; +export { default as FaTruck } from "../../fa/truck"; +export { default as FaTry } from "../../fa/try"; +export { default as FaTty } from "../../fa/tty"; +export { default as FaTumblrSquare } from "../../fa/tumblr-square"; +export { default as FaTumblr } from "../../fa/tumblr"; +export { default as FaTwitch } from "../../fa/twitch"; +export { default as FaTwitterSquare } from "../../fa/twitter-square"; +export { default as FaTwitter } from "../../fa/twitter"; +export { default as FaUmbrella } from "../../fa/umbrella"; +export { default as FaUnderline } from "../../fa/underline"; +export { default as FaUniversalAccess } from "../../fa/universal-access"; +export { default as FaUnlockAlt } from "../../fa/unlock-alt"; +export { default as FaUnlock } from "../../fa/unlock"; +export { default as FaUpload } from "../../fa/upload"; +export { default as FaUsb } from "../../fa/usb"; +export { default as FaUserMd } from "../../fa/user-md"; +export { default as FaUserPlus } from "../../fa/user-plus"; +export { default as FaUserSecret } from "../../fa/user-secret"; +export { default as FaUserTimes } from "../../fa/user-times"; +export { default as FaUser } from "../../fa/user"; +export { default as FaVenusDouble } from "../../fa/venus-double"; +export { default as FaVenusMars } from "../../fa/venus-mars"; +export { default as FaVenus } from "../../fa/venus"; +export { default as FaViacoin } from "../../fa/viacoin"; +export { default as FaViadeoSquare } from "../../fa/viadeo-square"; +export { default as FaViadeo } from "../../fa/viadeo"; +export { default as FaVideoCamera } from "../../fa/video-camera"; +export { default as FaVimeoSquare } from "../../fa/vimeo-square"; +export { default as FaVimeo } from "../../fa/vimeo"; +export { default as FaVine } from "../../fa/vine"; +export { default as FaVk } from "../../fa/vk"; +export { default as FaVolumeControlPhone } from "../../fa/volume-control-phone"; +export { default as FaVolumeDown } from "../../fa/volume-down"; +export { default as FaVolumeOff } from "../../fa/volume-off"; +export { default as FaVolumeUp } from "../../fa/volume-up"; +export { default as FaWechat } from "../../fa/wechat"; +export { default as FaWeibo } from "../../fa/weibo"; +export { default as FaWhatsapp } from "../../fa/whatsapp"; +export { default as FaWheelchairAlt } from "../../fa/wheelchair-alt"; +export { default as FaWheelchair } from "../../fa/wheelchair"; +export { default as FaWifi } from "../../fa/wifi"; +export { default as FaWikipediaW } from "../../fa/wikipedia-w"; +export { default as FaWindows } from "../../fa/windows"; +export { default as FaWordpress } from "../../fa/wordpress"; +export { default as FaWpbeginner } from "../../fa/wpbeginner"; +export { default as FaWpforms } from "../../fa/wpforms"; +export { default as FaWrench } from "../../fa/wrench"; +export { default as FaXingSquare } from "../../fa/xing-square"; +export { default as FaXing } from "../../fa/xing"; +export { default as FaYCombinator } from "../../fa/y-combinator"; +export { default as FaYahoo } from "../../fa/yahoo"; +export { default as FaYelp } from "../../fa/yelp"; +export { default as FaYoutubePlay } from "../../fa/youtube-play"; +export { default as FaYoutubeSquare } from "../../fa/youtube-square"; +export { default as FaYoutube } from "../../fa/youtube"; diff --git a/types/react-icons/lib/fa/industry.d.ts b/types/react-icons/lib/fa/industry.d.ts index 70d7057743..be16903151 100644 --- a/types/react-icons/lib/fa/industry.d.ts +++ b/types/react-icons/lib/fa/industry.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaIndustry extends React.Component<IconBaseProps> { } +declare class FaIndustry extends React.Component<IconBaseProps> { } +export = FaIndustry; diff --git a/types/react-icons/lib/fa/info-circle.d.ts b/types/react-icons/lib/fa/info-circle.d.ts index 7ed29e6eec..dde66daea7 100644 --- a/types/react-icons/lib/fa/info-circle.d.ts +++ b/types/react-icons/lib/fa/info-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaInfoCircle extends React.Component<IconBaseProps> { } +declare class FaInfoCircle extends React.Component<IconBaseProps> { } +export = FaInfoCircle; diff --git a/types/react-icons/lib/fa/info.d.ts b/types/react-icons/lib/fa/info.d.ts index c67b3190a9..cfab006429 100644 --- a/types/react-icons/lib/fa/info.d.ts +++ b/types/react-icons/lib/fa/info.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaInfo extends React.Component<IconBaseProps> { } +declare class FaInfo extends React.Component<IconBaseProps> { } +export = FaInfo; diff --git a/types/react-icons/lib/fa/inr.d.ts b/types/react-icons/lib/fa/inr.d.ts index b47cb31531..bcbf062b74 100644 --- a/types/react-icons/lib/fa/inr.d.ts +++ b/types/react-icons/lib/fa/inr.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaInr extends React.Component<IconBaseProps> { } +declare class FaInr extends React.Component<IconBaseProps> { } +export = FaInr; diff --git a/types/react-icons/lib/fa/instagram.d.ts b/types/react-icons/lib/fa/instagram.d.ts index 7770e19043..835238de67 100644 --- a/types/react-icons/lib/fa/instagram.d.ts +++ b/types/react-icons/lib/fa/instagram.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaInstagram extends React.Component<IconBaseProps> { } +declare class FaInstagram extends React.Component<IconBaseProps> { } +export = FaInstagram; diff --git a/types/react-icons/lib/fa/internet-explorer.d.ts b/types/react-icons/lib/fa/internet-explorer.d.ts index 924654fee2..055c5df0a4 100644 --- a/types/react-icons/lib/fa/internet-explorer.d.ts +++ b/types/react-icons/lib/fa/internet-explorer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaInternetExplorer extends React.Component<IconBaseProps> { } +declare class FaInternetExplorer extends React.Component<IconBaseProps> { } +export = FaInternetExplorer; diff --git a/types/react-icons/lib/fa/intersex.d.ts b/types/react-icons/lib/fa/intersex.d.ts index 77580bbb2d..f8948a1934 100644 --- a/types/react-icons/lib/fa/intersex.d.ts +++ b/types/react-icons/lib/fa/intersex.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaIntersex extends React.Component<IconBaseProps> { } +declare class FaIntersex extends React.Component<IconBaseProps> { } +export = FaIntersex; diff --git a/types/react-icons/lib/fa/ioxhost.d.ts b/types/react-icons/lib/fa/ioxhost.d.ts index b713d2c54a..9d2e89cf0f 100644 --- a/types/react-icons/lib/fa/ioxhost.d.ts +++ b/types/react-icons/lib/fa/ioxhost.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaIoxhost extends React.Component<IconBaseProps> { } +declare class FaIoxhost extends React.Component<IconBaseProps> { } +export = FaIoxhost; diff --git a/types/react-icons/lib/fa/italic.d.ts b/types/react-icons/lib/fa/italic.d.ts index 57572f5dbc..a33d3414d4 100644 --- a/types/react-icons/lib/fa/italic.d.ts +++ b/types/react-icons/lib/fa/italic.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaItalic extends React.Component<IconBaseProps> { } +declare class FaItalic extends React.Component<IconBaseProps> { } +export = FaItalic; diff --git a/types/react-icons/lib/fa/joomla.d.ts b/types/react-icons/lib/fa/joomla.d.ts index cdf3539275..39c73065c5 100644 --- a/types/react-icons/lib/fa/joomla.d.ts +++ b/types/react-icons/lib/fa/joomla.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaJoomla extends React.Component<IconBaseProps> { } +declare class FaJoomla extends React.Component<IconBaseProps> { } +export = FaJoomla; diff --git a/types/react-icons/lib/fa/jsfiddle.d.ts b/types/react-icons/lib/fa/jsfiddle.d.ts index e17414bd20..8ff305e6b0 100644 --- a/types/react-icons/lib/fa/jsfiddle.d.ts +++ b/types/react-icons/lib/fa/jsfiddle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaJsfiddle extends React.Component<IconBaseProps> { } +declare class FaJsfiddle extends React.Component<IconBaseProps> { } +export = FaJsfiddle; diff --git a/types/react-icons/lib/fa/key.d.ts b/types/react-icons/lib/fa/key.d.ts index b1fc11d702..cf50ee7c88 100644 --- a/types/react-icons/lib/fa/key.d.ts +++ b/types/react-icons/lib/fa/key.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaKey extends React.Component<IconBaseProps> { } +declare class FaKey extends React.Component<IconBaseProps> { } +export = FaKey; diff --git a/types/react-icons/lib/fa/keyboard-o.d.ts b/types/react-icons/lib/fa/keyboard-o.d.ts index d8676809fd..1c63b5099a 100644 --- a/types/react-icons/lib/fa/keyboard-o.d.ts +++ b/types/react-icons/lib/fa/keyboard-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaKeyboardO extends React.Component<IconBaseProps> { } +declare class FaKeyboardO extends React.Component<IconBaseProps> { } +export = FaKeyboardO; diff --git a/types/react-icons/lib/fa/krw.d.ts b/types/react-icons/lib/fa/krw.d.ts index a23710bcfd..79de06001e 100644 --- a/types/react-icons/lib/fa/krw.d.ts +++ b/types/react-icons/lib/fa/krw.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaKrw extends React.Component<IconBaseProps> { } +declare class FaKrw extends React.Component<IconBaseProps> { } +export = FaKrw; diff --git a/types/react-icons/lib/fa/language.d.ts b/types/react-icons/lib/fa/language.d.ts index a04950506c..25b2433653 100644 --- a/types/react-icons/lib/fa/language.d.ts +++ b/types/react-icons/lib/fa/language.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLanguage extends React.Component<IconBaseProps> { } +declare class FaLanguage extends React.Component<IconBaseProps> { } +export = FaLanguage; diff --git a/types/react-icons/lib/fa/laptop.d.ts b/types/react-icons/lib/fa/laptop.d.ts index d13d583fb7..eec3856a86 100644 --- a/types/react-icons/lib/fa/laptop.d.ts +++ b/types/react-icons/lib/fa/laptop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLaptop extends React.Component<IconBaseProps> { } +declare class FaLaptop extends React.Component<IconBaseProps> { } +export = FaLaptop; diff --git a/types/react-icons/lib/fa/lastfm-square.d.ts b/types/react-icons/lib/fa/lastfm-square.d.ts index 057f801895..22115486cd 100644 --- a/types/react-icons/lib/fa/lastfm-square.d.ts +++ b/types/react-icons/lib/fa/lastfm-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLastfmSquare extends React.Component<IconBaseProps> { } +declare class FaLastfmSquare extends React.Component<IconBaseProps> { } +export = FaLastfmSquare; diff --git a/types/react-icons/lib/fa/lastfm.d.ts b/types/react-icons/lib/fa/lastfm.d.ts index c8124c95ce..d155de9853 100644 --- a/types/react-icons/lib/fa/lastfm.d.ts +++ b/types/react-icons/lib/fa/lastfm.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLastfm extends React.Component<IconBaseProps> { } +declare class FaLastfm extends React.Component<IconBaseProps> { } +export = FaLastfm; diff --git a/types/react-icons/lib/fa/leaf.d.ts b/types/react-icons/lib/fa/leaf.d.ts index 9c4514a54f..330210dddf 100644 --- a/types/react-icons/lib/fa/leaf.d.ts +++ b/types/react-icons/lib/fa/leaf.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLeaf extends React.Component<IconBaseProps> { } +declare class FaLeaf extends React.Component<IconBaseProps> { } +export = FaLeaf; diff --git a/types/react-icons/lib/fa/leanpub.d.ts b/types/react-icons/lib/fa/leanpub.d.ts index de2024c7a8..bbae6093d9 100644 --- a/types/react-icons/lib/fa/leanpub.d.ts +++ b/types/react-icons/lib/fa/leanpub.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLeanpub extends React.Component<IconBaseProps> { } +declare class FaLeanpub extends React.Component<IconBaseProps> { } +export = FaLeanpub; diff --git a/types/react-icons/lib/fa/lemon-o.d.ts b/types/react-icons/lib/fa/lemon-o.d.ts index 74886cb79c..dc2e3f8f72 100644 --- a/types/react-icons/lib/fa/lemon-o.d.ts +++ b/types/react-icons/lib/fa/lemon-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLemonO extends React.Component<IconBaseProps> { } +declare class FaLemonO extends React.Component<IconBaseProps> { } +export = FaLemonO; diff --git a/types/react-icons/lib/fa/level-down.d.ts b/types/react-icons/lib/fa/level-down.d.ts index caba9cef44..b906bf1a0e 100644 --- a/types/react-icons/lib/fa/level-down.d.ts +++ b/types/react-icons/lib/fa/level-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLevelDown extends React.Component<IconBaseProps> { } +declare class FaLevelDown extends React.Component<IconBaseProps> { } +export = FaLevelDown; diff --git a/types/react-icons/lib/fa/level-up.d.ts b/types/react-icons/lib/fa/level-up.d.ts index 977a2d2c97..aaa9f46a90 100644 --- a/types/react-icons/lib/fa/level-up.d.ts +++ b/types/react-icons/lib/fa/level-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLevelUp extends React.Component<IconBaseProps> { } +declare class FaLevelUp extends React.Component<IconBaseProps> { } +export = FaLevelUp; diff --git a/types/react-icons/lib/fa/life-bouy.d.ts b/types/react-icons/lib/fa/life-bouy.d.ts index 85205b3e62..d6a5ab382b 100644 --- a/types/react-icons/lib/fa/life-bouy.d.ts +++ b/types/react-icons/lib/fa/life-bouy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLifeBouy extends React.Component<IconBaseProps> { } +declare class FaLifeBouy extends React.Component<IconBaseProps> { } +export = FaLifeBouy; diff --git a/types/react-icons/lib/fa/lightbulb-o.d.ts b/types/react-icons/lib/fa/lightbulb-o.d.ts index 48646e6261..3dfc3d7e82 100644 --- a/types/react-icons/lib/fa/lightbulb-o.d.ts +++ b/types/react-icons/lib/fa/lightbulb-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLightbulbO extends React.Component<IconBaseProps> { } +declare class FaLightbulbO extends React.Component<IconBaseProps> { } +export = FaLightbulbO; diff --git a/types/react-icons/lib/fa/line-chart.d.ts b/types/react-icons/lib/fa/line-chart.d.ts index f0109467e2..0a08799a31 100644 --- a/types/react-icons/lib/fa/line-chart.d.ts +++ b/types/react-icons/lib/fa/line-chart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLineChart extends React.Component<IconBaseProps> { } +declare class FaLineChart extends React.Component<IconBaseProps> { } +export = FaLineChart; diff --git a/types/react-icons/lib/fa/linkedin-square.d.ts b/types/react-icons/lib/fa/linkedin-square.d.ts index 2c538f5349..be3ee736d6 100644 --- a/types/react-icons/lib/fa/linkedin-square.d.ts +++ b/types/react-icons/lib/fa/linkedin-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLinkedinSquare extends React.Component<IconBaseProps> { } +declare class FaLinkedinSquare extends React.Component<IconBaseProps> { } +export = FaLinkedinSquare; diff --git a/types/react-icons/lib/fa/linkedin.d.ts b/types/react-icons/lib/fa/linkedin.d.ts index 7e011b8f8f..2f6d18f996 100644 --- a/types/react-icons/lib/fa/linkedin.d.ts +++ b/types/react-icons/lib/fa/linkedin.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLinkedin extends React.Component<IconBaseProps> { } +declare class FaLinkedin extends React.Component<IconBaseProps> { } +export = FaLinkedin; diff --git a/types/react-icons/lib/fa/linux.d.ts b/types/react-icons/lib/fa/linux.d.ts index 55eb44cddb..1e2f751318 100644 --- a/types/react-icons/lib/fa/linux.d.ts +++ b/types/react-icons/lib/fa/linux.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLinux extends React.Component<IconBaseProps> { } +declare class FaLinux extends React.Component<IconBaseProps> { } +export = FaLinux; diff --git a/types/react-icons/lib/fa/list-alt.d.ts b/types/react-icons/lib/fa/list-alt.d.ts index 4987907f75..168926a8e8 100644 --- a/types/react-icons/lib/fa/list-alt.d.ts +++ b/types/react-icons/lib/fa/list-alt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaListAlt extends React.Component<IconBaseProps> { } +declare class FaListAlt extends React.Component<IconBaseProps> { } +export = FaListAlt; diff --git a/types/react-icons/lib/fa/list-ol.d.ts b/types/react-icons/lib/fa/list-ol.d.ts index 25c4509dd8..a741c78a9d 100644 --- a/types/react-icons/lib/fa/list-ol.d.ts +++ b/types/react-icons/lib/fa/list-ol.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaListOl extends React.Component<IconBaseProps> { } +declare class FaListOl extends React.Component<IconBaseProps> { } +export = FaListOl; diff --git a/types/react-icons/lib/fa/list-ul.d.ts b/types/react-icons/lib/fa/list-ul.d.ts index be0d49470c..38d0b3db98 100644 --- a/types/react-icons/lib/fa/list-ul.d.ts +++ b/types/react-icons/lib/fa/list-ul.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaListUl extends React.Component<IconBaseProps> { } +declare class FaListUl extends React.Component<IconBaseProps> { } +export = FaListUl; diff --git a/types/react-icons/lib/fa/list.d.ts b/types/react-icons/lib/fa/list.d.ts index 9b98e5d332..f17ee7343f 100644 --- a/types/react-icons/lib/fa/list.d.ts +++ b/types/react-icons/lib/fa/list.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaList extends React.Component<IconBaseProps> { } +declare class FaList extends React.Component<IconBaseProps> { } +export = FaList; diff --git a/types/react-icons/lib/fa/location-arrow.d.ts b/types/react-icons/lib/fa/location-arrow.d.ts index 67e69c5917..91d33d7ff4 100644 --- a/types/react-icons/lib/fa/location-arrow.d.ts +++ b/types/react-icons/lib/fa/location-arrow.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLocationArrow extends React.Component<IconBaseProps> { } +declare class FaLocationArrow extends React.Component<IconBaseProps> { } +export = FaLocationArrow; diff --git a/types/react-icons/lib/fa/lock.d.ts b/types/react-icons/lib/fa/lock.d.ts index 751ba49fd6..3a200b8bfc 100644 --- a/types/react-icons/lib/fa/lock.d.ts +++ b/types/react-icons/lib/fa/lock.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLock extends React.Component<IconBaseProps> { } +declare class FaLock extends React.Component<IconBaseProps> { } +export = FaLock; diff --git a/types/react-icons/lib/fa/long-arrow-down.d.ts b/types/react-icons/lib/fa/long-arrow-down.d.ts index 81282ef698..85adda07a2 100644 --- a/types/react-icons/lib/fa/long-arrow-down.d.ts +++ b/types/react-icons/lib/fa/long-arrow-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLongArrowDown extends React.Component<IconBaseProps> { } +declare class FaLongArrowDown extends React.Component<IconBaseProps> { } +export = FaLongArrowDown; diff --git a/types/react-icons/lib/fa/long-arrow-left.d.ts b/types/react-icons/lib/fa/long-arrow-left.d.ts index 673d2e6a36..3d6ad0f59a 100644 --- a/types/react-icons/lib/fa/long-arrow-left.d.ts +++ b/types/react-icons/lib/fa/long-arrow-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLongArrowLeft extends React.Component<IconBaseProps> { } +declare class FaLongArrowLeft extends React.Component<IconBaseProps> { } +export = FaLongArrowLeft; diff --git a/types/react-icons/lib/fa/long-arrow-right.d.ts b/types/react-icons/lib/fa/long-arrow-right.d.ts index 1fafea7de3..b67d25b068 100644 --- a/types/react-icons/lib/fa/long-arrow-right.d.ts +++ b/types/react-icons/lib/fa/long-arrow-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLongArrowRight extends React.Component<IconBaseProps> { } +declare class FaLongArrowRight extends React.Component<IconBaseProps> { } +export = FaLongArrowRight; diff --git a/types/react-icons/lib/fa/long-arrow-up.d.ts b/types/react-icons/lib/fa/long-arrow-up.d.ts index 6982118eef..844ceabee7 100644 --- a/types/react-icons/lib/fa/long-arrow-up.d.ts +++ b/types/react-icons/lib/fa/long-arrow-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLongArrowUp extends React.Component<IconBaseProps> { } +declare class FaLongArrowUp extends React.Component<IconBaseProps> { } +export = FaLongArrowUp; diff --git a/types/react-icons/lib/fa/low-vision.d.ts b/types/react-icons/lib/fa/low-vision.d.ts index 60f19827fa..2e86c1f55b 100644 --- a/types/react-icons/lib/fa/low-vision.d.ts +++ b/types/react-icons/lib/fa/low-vision.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaLowVision extends React.Component<IconBaseProps> { } +declare class FaLowVision extends React.Component<IconBaseProps> { } +export = FaLowVision; diff --git a/types/react-icons/lib/fa/magic.d.ts b/types/react-icons/lib/fa/magic.d.ts index 7dca91beb2..adbed81f80 100644 --- a/types/react-icons/lib/fa/magic.d.ts +++ b/types/react-icons/lib/fa/magic.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMagic extends React.Component<IconBaseProps> { } +declare class FaMagic extends React.Component<IconBaseProps> { } +export = FaMagic; diff --git a/types/react-icons/lib/fa/magnet.d.ts b/types/react-icons/lib/fa/magnet.d.ts index 11cc56ef42..b6933258f5 100644 --- a/types/react-icons/lib/fa/magnet.d.ts +++ b/types/react-icons/lib/fa/magnet.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMagnet extends React.Component<IconBaseProps> { } +declare class FaMagnet extends React.Component<IconBaseProps> { } +export = FaMagnet; diff --git a/types/react-icons/lib/fa/mail-forward.d.ts b/types/react-icons/lib/fa/mail-forward.d.ts index 84585713b8..61680d6ff7 100644 --- a/types/react-icons/lib/fa/mail-forward.d.ts +++ b/types/react-icons/lib/fa/mail-forward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMailForward extends React.Component<IconBaseProps> { } +declare class FaMailForward extends React.Component<IconBaseProps> { } +export = FaMailForward; diff --git a/types/react-icons/lib/fa/mail-reply-all.d.ts b/types/react-icons/lib/fa/mail-reply-all.d.ts index 7c8c4ed7eb..edad2bb045 100644 --- a/types/react-icons/lib/fa/mail-reply-all.d.ts +++ b/types/react-icons/lib/fa/mail-reply-all.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMailReplyAll extends React.Component<IconBaseProps> { } +declare class FaMailReplyAll extends React.Component<IconBaseProps> { } +export = FaMailReplyAll; diff --git a/types/react-icons/lib/fa/mail-reply.d.ts b/types/react-icons/lib/fa/mail-reply.d.ts index 571aa76b4f..d179e93960 100644 --- a/types/react-icons/lib/fa/mail-reply.d.ts +++ b/types/react-icons/lib/fa/mail-reply.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMailReply extends React.Component<IconBaseProps> { } +declare class FaMailReply extends React.Component<IconBaseProps> { } +export = FaMailReply; diff --git a/types/react-icons/lib/fa/male.d.ts b/types/react-icons/lib/fa/male.d.ts index 9bb9f216af..09dabdb0e6 100644 --- a/types/react-icons/lib/fa/male.d.ts +++ b/types/react-icons/lib/fa/male.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMale extends React.Component<IconBaseProps> { } +declare class FaMale extends React.Component<IconBaseProps> { } +export = FaMale; diff --git a/types/react-icons/lib/fa/map-marker.d.ts b/types/react-icons/lib/fa/map-marker.d.ts index 116680b4b7..abd5361f41 100644 --- a/types/react-icons/lib/fa/map-marker.d.ts +++ b/types/react-icons/lib/fa/map-marker.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMapMarker extends React.Component<IconBaseProps> { } +declare class FaMapMarker extends React.Component<IconBaseProps> { } +export = FaMapMarker; diff --git a/types/react-icons/lib/fa/map-o.d.ts b/types/react-icons/lib/fa/map-o.d.ts index 366c05d45b..587fc2d689 100644 --- a/types/react-icons/lib/fa/map-o.d.ts +++ b/types/react-icons/lib/fa/map-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMapO extends React.Component<IconBaseProps> { } +declare class FaMapO extends React.Component<IconBaseProps> { } +export = FaMapO; diff --git a/types/react-icons/lib/fa/map-pin.d.ts b/types/react-icons/lib/fa/map-pin.d.ts index e46a8ca0e3..9ed4ed4c3a 100644 --- a/types/react-icons/lib/fa/map-pin.d.ts +++ b/types/react-icons/lib/fa/map-pin.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMapPin extends React.Component<IconBaseProps> { } +declare class FaMapPin extends React.Component<IconBaseProps> { } +export = FaMapPin; diff --git a/types/react-icons/lib/fa/map-signs.d.ts b/types/react-icons/lib/fa/map-signs.d.ts index 4c4a9c2f69..fab1cfec7a 100644 --- a/types/react-icons/lib/fa/map-signs.d.ts +++ b/types/react-icons/lib/fa/map-signs.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMapSigns extends React.Component<IconBaseProps> { } +declare class FaMapSigns extends React.Component<IconBaseProps> { } +export = FaMapSigns; diff --git a/types/react-icons/lib/fa/map.d.ts b/types/react-icons/lib/fa/map.d.ts index 52c55baf7f..e7fcc24810 100644 --- a/types/react-icons/lib/fa/map.d.ts +++ b/types/react-icons/lib/fa/map.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMap extends React.Component<IconBaseProps> { } +declare class FaMap extends React.Component<IconBaseProps> { } +export = FaMap; diff --git a/types/react-icons/lib/fa/mars-double.d.ts b/types/react-icons/lib/fa/mars-double.d.ts index c6f7f4aa5d..23ae057446 100644 --- a/types/react-icons/lib/fa/mars-double.d.ts +++ b/types/react-icons/lib/fa/mars-double.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMarsDouble extends React.Component<IconBaseProps> { } +declare class FaMarsDouble extends React.Component<IconBaseProps> { } +export = FaMarsDouble; diff --git a/types/react-icons/lib/fa/mars-stroke-h.d.ts b/types/react-icons/lib/fa/mars-stroke-h.d.ts index e6d9f035d0..8c413b89a1 100644 --- a/types/react-icons/lib/fa/mars-stroke-h.d.ts +++ b/types/react-icons/lib/fa/mars-stroke-h.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMarsStrokeH extends React.Component<IconBaseProps> { } +declare class FaMarsStrokeH extends React.Component<IconBaseProps> { } +export = FaMarsStrokeH; diff --git a/types/react-icons/lib/fa/mars-stroke-v.d.ts b/types/react-icons/lib/fa/mars-stroke-v.d.ts index cc1a01a592..7662429ca8 100644 --- a/types/react-icons/lib/fa/mars-stroke-v.d.ts +++ b/types/react-icons/lib/fa/mars-stroke-v.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMarsStrokeV extends React.Component<IconBaseProps> { } +declare class FaMarsStrokeV extends React.Component<IconBaseProps> { } +export = FaMarsStrokeV; diff --git a/types/react-icons/lib/fa/mars-stroke.d.ts b/types/react-icons/lib/fa/mars-stroke.d.ts index 69e9aec8b5..29c906f503 100644 --- a/types/react-icons/lib/fa/mars-stroke.d.ts +++ b/types/react-icons/lib/fa/mars-stroke.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMarsStroke extends React.Component<IconBaseProps> { } +declare class FaMarsStroke extends React.Component<IconBaseProps> { } +export = FaMarsStroke; diff --git a/types/react-icons/lib/fa/mars.d.ts b/types/react-icons/lib/fa/mars.d.ts index 7e21f481b4..c98f0b0963 100644 --- a/types/react-icons/lib/fa/mars.d.ts +++ b/types/react-icons/lib/fa/mars.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMars extends React.Component<IconBaseProps> { } +declare class FaMars extends React.Component<IconBaseProps> { } +export = FaMars; diff --git a/types/react-icons/lib/fa/maxcdn.d.ts b/types/react-icons/lib/fa/maxcdn.d.ts index ee9c0b0546..764a8a7cc9 100644 --- a/types/react-icons/lib/fa/maxcdn.d.ts +++ b/types/react-icons/lib/fa/maxcdn.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMaxcdn extends React.Component<IconBaseProps> { } +declare class FaMaxcdn extends React.Component<IconBaseProps> { } +export = FaMaxcdn; diff --git a/types/react-icons/lib/fa/meanpath.d.ts b/types/react-icons/lib/fa/meanpath.d.ts index f479c77a85..70aeb9617a 100644 --- a/types/react-icons/lib/fa/meanpath.d.ts +++ b/types/react-icons/lib/fa/meanpath.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMeanpath extends React.Component<IconBaseProps> { } +declare class FaMeanpath extends React.Component<IconBaseProps> { } +export = FaMeanpath; diff --git a/types/react-icons/lib/fa/medium.d.ts b/types/react-icons/lib/fa/medium.d.ts index a272177d20..178c3fb116 100644 --- a/types/react-icons/lib/fa/medium.d.ts +++ b/types/react-icons/lib/fa/medium.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMedium extends React.Component<IconBaseProps> { } +declare class FaMedium extends React.Component<IconBaseProps> { } +export = FaMedium; diff --git a/types/react-icons/lib/fa/medkit.d.ts b/types/react-icons/lib/fa/medkit.d.ts index 4de9fc61f9..3b119f1fcb 100644 --- a/types/react-icons/lib/fa/medkit.d.ts +++ b/types/react-icons/lib/fa/medkit.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMedkit extends React.Component<IconBaseProps> { } +declare class FaMedkit extends React.Component<IconBaseProps> { } +export = FaMedkit; diff --git a/types/react-icons/lib/fa/meh-o.d.ts b/types/react-icons/lib/fa/meh-o.d.ts index 2a07cde429..07f39b354d 100644 --- a/types/react-icons/lib/fa/meh-o.d.ts +++ b/types/react-icons/lib/fa/meh-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMehO extends React.Component<IconBaseProps> { } +declare class FaMehO extends React.Component<IconBaseProps> { } +export = FaMehO; diff --git a/types/react-icons/lib/fa/mercury.d.ts b/types/react-icons/lib/fa/mercury.d.ts index 616714b2fb..1ec67322b1 100644 --- a/types/react-icons/lib/fa/mercury.d.ts +++ b/types/react-icons/lib/fa/mercury.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMercury extends React.Component<IconBaseProps> { } +declare class FaMercury extends React.Component<IconBaseProps> { } +export = FaMercury; diff --git a/types/react-icons/lib/fa/microphone-slash.d.ts b/types/react-icons/lib/fa/microphone-slash.d.ts index 39ddcefe4b..e57c4c0040 100644 --- a/types/react-icons/lib/fa/microphone-slash.d.ts +++ b/types/react-icons/lib/fa/microphone-slash.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMicrophoneSlash extends React.Component<IconBaseProps> { } +declare class FaMicrophoneSlash extends React.Component<IconBaseProps> { } +export = FaMicrophoneSlash; diff --git a/types/react-icons/lib/fa/microphone.d.ts b/types/react-icons/lib/fa/microphone.d.ts index b12fcd389c..30306ea4f7 100644 --- a/types/react-icons/lib/fa/microphone.d.ts +++ b/types/react-icons/lib/fa/microphone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMicrophone extends React.Component<IconBaseProps> { } +declare class FaMicrophone extends React.Component<IconBaseProps> { } +export = FaMicrophone; diff --git a/types/react-icons/lib/fa/minus-circle.d.ts b/types/react-icons/lib/fa/minus-circle.d.ts index 839cee0dbe..274e152b11 100644 --- a/types/react-icons/lib/fa/minus-circle.d.ts +++ b/types/react-icons/lib/fa/minus-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMinusCircle extends React.Component<IconBaseProps> { } +declare class FaMinusCircle extends React.Component<IconBaseProps> { } +export = FaMinusCircle; diff --git a/types/react-icons/lib/fa/minus-square-o.d.ts b/types/react-icons/lib/fa/minus-square-o.d.ts index d2bfd3dbba..413f6b5da1 100644 --- a/types/react-icons/lib/fa/minus-square-o.d.ts +++ b/types/react-icons/lib/fa/minus-square-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMinusSquareO extends React.Component<IconBaseProps> { } +declare class FaMinusSquareO extends React.Component<IconBaseProps> { } +export = FaMinusSquareO; diff --git a/types/react-icons/lib/fa/minus-square.d.ts b/types/react-icons/lib/fa/minus-square.d.ts index 8946d33f30..a4e9551139 100644 --- a/types/react-icons/lib/fa/minus-square.d.ts +++ b/types/react-icons/lib/fa/minus-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMinusSquare extends React.Component<IconBaseProps> { } +declare class FaMinusSquare extends React.Component<IconBaseProps> { } +export = FaMinusSquare; diff --git a/types/react-icons/lib/fa/minus.d.ts b/types/react-icons/lib/fa/minus.d.ts index e7ae38ca8e..6d534eef94 100644 --- a/types/react-icons/lib/fa/minus.d.ts +++ b/types/react-icons/lib/fa/minus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMinus extends React.Component<IconBaseProps> { } +declare class FaMinus extends React.Component<IconBaseProps> { } +export = FaMinus; diff --git a/types/react-icons/lib/fa/mixcloud.d.ts b/types/react-icons/lib/fa/mixcloud.d.ts index 51b4f23bf2..5a7c07d730 100644 --- a/types/react-icons/lib/fa/mixcloud.d.ts +++ b/types/react-icons/lib/fa/mixcloud.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMixcloud extends React.Component<IconBaseProps> { } +declare class FaMixcloud extends React.Component<IconBaseProps> { } +export = FaMixcloud; diff --git a/types/react-icons/lib/fa/mobile.d.ts b/types/react-icons/lib/fa/mobile.d.ts index e15d976418..b05eb0cd2f 100644 --- a/types/react-icons/lib/fa/mobile.d.ts +++ b/types/react-icons/lib/fa/mobile.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMobile extends React.Component<IconBaseProps> { } +declare class FaMobile extends React.Component<IconBaseProps> { } +export = FaMobile; diff --git a/types/react-icons/lib/fa/modx.d.ts b/types/react-icons/lib/fa/modx.d.ts index c08b2d39fa..e54efad1ce 100644 --- a/types/react-icons/lib/fa/modx.d.ts +++ b/types/react-icons/lib/fa/modx.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaModx extends React.Component<IconBaseProps> { } +declare class FaModx extends React.Component<IconBaseProps> { } +export = FaModx; diff --git a/types/react-icons/lib/fa/money.d.ts b/types/react-icons/lib/fa/money.d.ts index 4e14ce5956..0aa8c505ae 100644 --- a/types/react-icons/lib/fa/money.d.ts +++ b/types/react-icons/lib/fa/money.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMoney extends React.Component<IconBaseProps> { } +declare class FaMoney extends React.Component<IconBaseProps> { } +export = FaMoney; diff --git a/types/react-icons/lib/fa/moon-o.d.ts b/types/react-icons/lib/fa/moon-o.d.ts index c1c2371ed0..bbcf6097ac 100644 --- a/types/react-icons/lib/fa/moon-o.d.ts +++ b/types/react-icons/lib/fa/moon-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMoonO extends React.Component<IconBaseProps> { } +declare class FaMoonO extends React.Component<IconBaseProps> { } +export = FaMoonO; diff --git a/types/react-icons/lib/fa/motorcycle.d.ts b/types/react-icons/lib/fa/motorcycle.d.ts index 2fd0d87361..428b96d4be 100644 --- a/types/react-icons/lib/fa/motorcycle.d.ts +++ b/types/react-icons/lib/fa/motorcycle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMotorcycle extends React.Component<IconBaseProps> { } +declare class FaMotorcycle extends React.Component<IconBaseProps> { } +export = FaMotorcycle; diff --git a/types/react-icons/lib/fa/mouse-pointer.d.ts b/types/react-icons/lib/fa/mouse-pointer.d.ts index 8c220aa32b..cd05b52643 100644 --- a/types/react-icons/lib/fa/mouse-pointer.d.ts +++ b/types/react-icons/lib/fa/mouse-pointer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMousePointer extends React.Component<IconBaseProps> { } +declare class FaMousePointer extends React.Component<IconBaseProps> { } +export = FaMousePointer; diff --git a/types/react-icons/lib/fa/music.d.ts b/types/react-icons/lib/fa/music.d.ts index 711455b587..7b897563e3 100644 --- a/types/react-icons/lib/fa/music.d.ts +++ b/types/react-icons/lib/fa/music.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaMusic extends React.Component<IconBaseProps> { } +declare class FaMusic extends React.Component<IconBaseProps> { } +export = FaMusic; diff --git a/types/react-icons/lib/fa/neuter.d.ts b/types/react-icons/lib/fa/neuter.d.ts index a5ce0a9c93..54bc040a21 100644 --- a/types/react-icons/lib/fa/neuter.d.ts +++ b/types/react-icons/lib/fa/neuter.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaNeuter extends React.Component<IconBaseProps> { } +declare class FaNeuter extends React.Component<IconBaseProps> { } +export = FaNeuter; diff --git a/types/react-icons/lib/fa/newspaper-o.d.ts b/types/react-icons/lib/fa/newspaper-o.d.ts index 6f7f62737e..04afa361a9 100644 --- a/types/react-icons/lib/fa/newspaper-o.d.ts +++ b/types/react-icons/lib/fa/newspaper-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaNewspaperO extends React.Component<IconBaseProps> { } +declare class FaNewspaperO extends React.Component<IconBaseProps> { } +export = FaNewspaperO; diff --git a/types/react-icons/lib/fa/object-group.d.ts b/types/react-icons/lib/fa/object-group.d.ts index 5454030a44..2f584e9792 100644 --- a/types/react-icons/lib/fa/object-group.d.ts +++ b/types/react-icons/lib/fa/object-group.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaObjectGroup extends React.Component<IconBaseProps> { } +declare class FaObjectGroup extends React.Component<IconBaseProps> { } +export = FaObjectGroup; diff --git a/types/react-icons/lib/fa/object-ungroup.d.ts b/types/react-icons/lib/fa/object-ungroup.d.ts index 705abb0623..64ef562d0b 100644 --- a/types/react-icons/lib/fa/object-ungroup.d.ts +++ b/types/react-icons/lib/fa/object-ungroup.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaObjectUngroup extends React.Component<IconBaseProps> { } +declare class FaObjectUngroup extends React.Component<IconBaseProps> { } +export = FaObjectUngroup; diff --git a/types/react-icons/lib/fa/odnoklassniki-square.d.ts b/types/react-icons/lib/fa/odnoklassniki-square.d.ts index d6d1c3fb5e..9eef0f65bc 100644 --- a/types/react-icons/lib/fa/odnoklassniki-square.d.ts +++ b/types/react-icons/lib/fa/odnoklassniki-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaOdnoklassnikiSquare extends React.Component<IconBaseProps> { } +declare class FaOdnoklassnikiSquare extends React.Component<IconBaseProps> { } +export = FaOdnoklassnikiSquare; diff --git a/types/react-icons/lib/fa/odnoklassniki.d.ts b/types/react-icons/lib/fa/odnoklassniki.d.ts index c9cdfc3f99..bd08137730 100644 --- a/types/react-icons/lib/fa/odnoklassniki.d.ts +++ b/types/react-icons/lib/fa/odnoklassniki.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaOdnoklassniki extends React.Component<IconBaseProps> { } +declare class FaOdnoklassniki extends React.Component<IconBaseProps> { } +export = FaOdnoklassniki; diff --git a/types/react-icons/lib/fa/opencart.d.ts b/types/react-icons/lib/fa/opencart.d.ts index dde7963cd7..6b91510b98 100644 --- a/types/react-icons/lib/fa/opencart.d.ts +++ b/types/react-icons/lib/fa/opencart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaOpencart extends React.Component<IconBaseProps> { } +declare class FaOpencart extends React.Component<IconBaseProps> { } +export = FaOpencart; diff --git a/types/react-icons/lib/fa/openid.d.ts b/types/react-icons/lib/fa/openid.d.ts index 763d13e24d..a2440e94c0 100644 --- a/types/react-icons/lib/fa/openid.d.ts +++ b/types/react-icons/lib/fa/openid.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaOpenid extends React.Component<IconBaseProps> { } +declare class FaOpenid extends React.Component<IconBaseProps> { } +export = FaOpenid; diff --git a/types/react-icons/lib/fa/opera.d.ts b/types/react-icons/lib/fa/opera.d.ts index c66bee6dca..5e4a4ad5d1 100644 --- a/types/react-icons/lib/fa/opera.d.ts +++ b/types/react-icons/lib/fa/opera.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaOpera extends React.Component<IconBaseProps> { } +declare class FaOpera extends React.Component<IconBaseProps> { } +export = FaOpera; diff --git a/types/react-icons/lib/fa/optin-monster.d.ts b/types/react-icons/lib/fa/optin-monster.d.ts index 3a4973ca67..35a77228aa 100644 --- a/types/react-icons/lib/fa/optin-monster.d.ts +++ b/types/react-icons/lib/fa/optin-monster.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaOptinMonster extends React.Component<IconBaseProps> { } +declare class FaOptinMonster extends React.Component<IconBaseProps> { } +export = FaOptinMonster; diff --git a/types/react-icons/lib/fa/pagelines.d.ts b/types/react-icons/lib/fa/pagelines.d.ts index b9db5fd4ab..48db91303e 100644 --- a/types/react-icons/lib/fa/pagelines.d.ts +++ b/types/react-icons/lib/fa/pagelines.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPagelines extends React.Component<IconBaseProps> { } +declare class FaPagelines extends React.Component<IconBaseProps> { } +export = FaPagelines; diff --git a/types/react-icons/lib/fa/paint-brush.d.ts b/types/react-icons/lib/fa/paint-brush.d.ts index 4d56d06006..e00ca97541 100644 --- a/types/react-icons/lib/fa/paint-brush.d.ts +++ b/types/react-icons/lib/fa/paint-brush.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPaintBrush extends React.Component<IconBaseProps> { } +declare class FaPaintBrush extends React.Component<IconBaseProps> { } +export = FaPaintBrush; diff --git a/types/react-icons/lib/fa/paper-plane-o.d.ts b/types/react-icons/lib/fa/paper-plane-o.d.ts index 5fa53c13f7..b21b883cde 100644 --- a/types/react-icons/lib/fa/paper-plane-o.d.ts +++ b/types/react-icons/lib/fa/paper-plane-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPaperPlaneO extends React.Component<IconBaseProps> { } +declare class FaPaperPlaneO extends React.Component<IconBaseProps> { } +export = FaPaperPlaneO; diff --git a/types/react-icons/lib/fa/paper-plane.d.ts b/types/react-icons/lib/fa/paper-plane.d.ts index 18d0a9fada..f0396a87cf 100644 --- a/types/react-icons/lib/fa/paper-plane.d.ts +++ b/types/react-icons/lib/fa/paper-plane.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPaperPlane extends React.Component<IconBaseProps> { } +declare class FaPaperPlane extends React.Component<IconBaseProps> { } +export = FaPaperPlane; diff --git a/types/react-icons/lib/fa/paperclip.d.ts b/types/react-icons/lib/fa/paperclip.d.ts index e037d9d2a9..073d3f8172 100644 --- a/types/react-icons/lib/fa/paperclip.d.ts +++ b/types/react-icons/lib/fa/paperclip.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPaperclip extends React.Component<IconBaseProps> { } +declare class FaPaperclip extends React.Component<IconBaseProps> { } +export = FaPaperclip; diff --git a/types/react-icons/lib/fa/paragraph.d.ts b/types/react-icons/lib/fa/paragraph.d.ts index 2895b28ecb..16f3b33755 100644 --- a/types/react-icons/lib/fa/paragraph.d.ts +++ b/types/react-icons/lib/fa/paragraph.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaParagraph extends React.Component<IconBaseProps> { } +declare class FaParagraph extends React.Component<IconBaseProps> { } +export = FaParagraph; diff --git a/types/react-icons/lib/fa/pause-circle-o.d.ts b/types/react-icons/lib/fa/pause-circle-o.d.ts index 4b02099cf7..237f29bba3 100644 --- a/types/react-icons/lib/fa/pause-circle-o.d.ts +++ b/types/react-icons/lib/fa/pause-circle-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPauseCircleO extends React.Component<IconBaseProps> { } +declare class FaPauseCircleO extends React.Component<IconBaseProps> { } +export = FaPauseCircleO; diff --git a/types/react-icons/lib/fa/pause-circle.d.ts b/types/react-icons/lib/fa/pause-circle.d.ts index 96fcbf12d2..e596ec02db 100644 --- a/types/react-icons/lib/fa/pause-circle.d.ts +++ b/types/react-icons/lib/fa/pause-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPauseCircle extends React.Component<IconBaseProps> { } +declare class FaPauseCircle extends React.Component<IconBaseProps> { } +export = FaPauseCircle; diff --git a/types/react-icons/lib/fa/pause.d.ts b/types/react-icons/lib/fa/pause.d.ts index 87af546f21..d84c25805f 100644 --- a/types/react-icons/lib/fa/pause.d.ts +++ b/types/react-icons/lib/fa/pause.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPause extends React.Component<IconBaseProps> { } +declare class FaPause extends React.Component<IconBaseProps> { } +export = FaPause; diff --git a/types/react-icons/lib/fa/paw.d.ts b/types/react-icons/lib/fa/paw.d.ts index 6f88ab466f..6d0dd51dad 100644 --- a/types/react-icons/lib/fa/paw.d.ts +++ b/types/react-icons/lib/fa/paw.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPaw extends React.Component<IconBaseProps> { } +declare class FaPaw extends React.Component<IconBaseProps> { } +export = FaPaw; diff --git a/types/react-icons/lib/fa/paypal.d.ts b/types/react-icons/lib/fa/paypal.d.ts index d2878fe144..ac59970a20 100644 --- a/types/react-icons/lib/fa/paypal.d.ts +++ b/types/react-icons/lib/fa/paypal.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPaypal extends React.Component<IconBaseProps> { } +declare class FaPaypal extends React.Component<IconBaseProps> { } +export = FaPaypal; diff --git a/types/react-icons/lib/fa/pencil-square.d.ts b/types/react-icons/lib/fa/pencil-square.d.ts index ae8d368315..d9853f6fea 100644 --- a/types/react-icons/lib/fa/pencil-square.d.ts +++ b/types/react-icons/lib/fa/pencil-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPencilSquare extends React.Component<IconBaseProps> { } +declare class FaPencilSquare extends React.Component<IconBaseProps> { } +export = FaPencilSquare; diff --git a/types/react-icons/lib/fa/pencil.d.ts b/types/react-icons/lib/fa/pencil.d.ts index bae947d1d9..f4624c1974 100644 --- a/types/react-icons/lib/fa/pencil.d.ts +++ b/types/react-icons/lib/fa/pencil.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPencil extends React.Component<IconBaseProps> { } +declare class FaPencil extends React.Component<IconBaseProps> { } +export = FaPencil; diff --git a/types/react-icons/lib/fa/percent.d.ts b/types/react-icons/lib/fa/percent.d.ts index 447838a4d4..6c63e0b1b0 100644 --- a/types/react-icons/lib/fa/percent.d.ts +++ b/types/react-icons/lib/fa/percent.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPercent extends React.Component<IconBaseProps> { } +declare class FaPercent extends React.Component<IconBaseProps> { } +export = FaPercent; diff --git a/types/react-icons/lib/fa/phone-square.d.ts b/types/react-icons/lib/fa/phone-square.d.ts index 8595e9338b..c64fac18e4 100644 --- a/types/react-icons/lib/fa/phone-square.d.ts +++ b/types/react-icons/lib/fa/phone-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPhoneSquare extends React.Component<IconBaseProps> { } +declare class FaPhoneSquare extends React.Component<IconBaseProps> { } +export = FaPhoneSquare; diff --git a/types/react-icons/lib/fa/phone.d.ts b/types/react-icons/lib/fa/phone.d.ts index 985d9a8867..7c9113a801 100644 --- a/types/react-icons/lib/fa/phone.d.ts +++ b/types/react-icons/lib/fa/phone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPhone extends React.Component<IconBaseProps> { } +declare class FaPhone extends React.Component<IconBaseProps> { } +export = FaPhone; diff --git a/types/react-icons/lib/fa/pie-chart.d.ts b/types/react-icons/lib/fa/pie-chart.d.ts index b5bd5b2c5c..b1f1532a75 100644 --- a/types/react-icons/lib/fa/pie-chart.d.ts +++ b/types/react-icons/lib/fa/pie-chart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPieChart extends React.Component<IconBaseProps> { } +declare class FaPieChart extends React.Component<IconBaseProps> { } +export = FaPieChart; diff --git a/types/react-icons/lib/fa/pied-piper-alt.d.ts b/types/react-icons/lib/fa/pied-piper-alt.d.ts index 8a23255cad..c3e62c90c1 100644 --- a/types/react-icons/lib/fa/pied-piper-alt.d.ts +++ b/types/react-icons/lib/fa/pied-piper-alt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPiedPiperAlt extends React.Component<IconBaseProps> { } +declare class FaPiedPiperAlt extends React.Component<IconBaseProps> { } +export = FaPiedPiperAlt; diff --git a/types/react-icons/lib/fa/pied-piper.d.ts b/types/react-icons/lib/fa/pied-piper.d.ts index e925634cd2..bcdea4439a 100644 --- a/types/react-icons/lib/fa/pied-piper.d.ts +++ b/types/react-icons/lib/fa/pied-piper.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPiedPiper extends React.Component<IconBaseProps> { } +declare class FaPiedPiper extends React.Component<IconBaseProps> { } +export = FaPiedPiper; diff --git a/types/react-icons/lib/fa/pinterest-p.d.ts b/types/react-icons/lib/fa/pinterest-p.d.ts index c53adc8749..5387cd9430 100644 --- a/types/react-icons/lib/fa/pinterest-p.d.ts +++ b/types/react-icons/lib/fa/pinterest-p.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPinterestP extends React.Component<IconBaseProps> { } +declare class FaPinterestP extends React.Component<IconBaseProps> { } +export = FaPinterestP; diff --git a/types/react-icons/lib/fa/pinterest-square.d.ts b/types/react-icons/lib/fa/pinterest-square.d.ts index a90c930b91..9f9dbb3869 100644 --- a/types/react-icons/lib/fa/pinterest-square.d.ts +++ b/types/react-icons/lib/fa/pinterest-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPinterestSquare extends React.Component<IconBaseProps> { } +declare class FaPinterestSquare extends React.Component<IconBaseProps> { } +export = FaPinterestSquare; diff --git a/types/react-icons/lib/fa/pinterest.d.ts b/types/react-icons/lib/fa/pinterest.d.ts index c380cf2092..cc4dd7d77b 100644 --- a/types/react-icons/lib/fa/pinterest.d.ts +++ b/types/react-icons/lib/fa/pinterest.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPinterest extends React.Component<IconBaseProps> { } +declare class FaPinterest extends React.Component<IconBaseProps> { } +export = FaPinterest; diff --git a/types/react-icons/lib/fa/plane.d.ts b/types/react-icons/lib/fa/plane.d.ts index 13373d06d7..d8c14730b6 100644 --- a/types/react-icons/lib/fa/plane.d.ts +++ b/types/react-icons/lib/fa/plane.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPlane extends React.Component<IconBaseProps> { } +declare class FaPlane extends React.Component<IconBaseProps> { } +export = FaPlane; diff --git a/types/react-icons/lib/fa/play-circle-o.d.ts b/types/react-icons/lib/fa/play-circle-o.d.ts index 7fa9627c4c..eff8fcd09f 100644 --- a/types/react-icons/lib/fa/play-circle-o.d.ts +++ b/types/react-icons/lib/fa/play-circle-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPlayCircleO extends React.Component<IconBaseProps> { } +declare class FaPlayCircleO extends React.Component<IconBaseProps> { } +export = FaPlayCircleO; diff --git a/types/react-icons/lib/fa/play-circle.d.ts b/types/react-icons/lib/fa/play-circle.d.ts index ea4f568b34..850c43afb9 100644 --- a/types/react-icons/lib/fa/play-circle.d.ts +++ b/types/react-icons/lib/fa/play-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPlayCircle extends React.Component<IconBaseProps> { } +declare class FaPlayCircle extends React.Component<IconBaseProps> { } +export = FaPlayCircle; diff --git a/types/react-icons/lib/fa/play.d.ts b/types/react-icons/lib/fa/play.d.ts index f6c6dafb12..54a66a1994 100644 --- a/types/react-icons/lib/fa/play.d.ts +++ b/types/react-icons/lib/fa/play.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPlay extends React.Component<IconBaseProps> { } +declare class FaPlay extends React.Component<IconBaseProps> { } +export = FaPlay; diff --git a/types/react-icons/lib/fa/plug.d.ts b/types/react-icons/lib/fa/plug.d.ts index e88fc8c2ae..601b908307 100644 --- a/types/react-icons/lib/fa/plug.d.ts +++ b/types/react-icons/lib/fa/plug.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPlug extends React.Component<IconBaseProps> { } +declare class FaPlug extends React.Component<IconBaseProps> { } +export = FaPlug; diff --git a/types/react-icons/lib/fa/plus-circle.d.ts b/types/react-icons/lib/fa/plus-circle.d.ts index 9bf8af4e8d..af1595428f 100644 --- a/types/react-icons/lib/fa/plus-circle.d.ts +++ b/types/react-icons/lib/fa/plus-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPlusCircle extends React.Component<IconBaseProps> { } +declare class FaPlusCircle extends React.Component<IconBaseProps> { } +export = FaPlusCircle; diff --git a/types/react-icons/lib/fa/plus-square-o.d.ts b/types/react-icons/lib/fa/plus-square-o.d.ts index e9b582ec2d..e9fb5b2ca1 100644 --- a/types/react-icons/lib/fa/plus-square-o.d.ts +++ b/types/react-icons/lib/fa/plus-square-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPlusSquareO extends React.Component<IconBaseProps> { } +declare class FaPlusSquareO extends React.Component<IconBaseProps> { } +export = FaPlusSquareO; diff --git a/types/react-icons/lib/fa/plus-square.d.ts b/types/react-icons/lib/fa/plus-square.d.ts index b69d337311..478a80a7a4 100644 --- a/types/react-icons/lib/fa/plus-square.d.ts +++ b/types/react-icons/lib/fa/plus-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPlusSquare extends React.Component<IconBaseProps> { } +declare class FaPlusSquare extends React.Component<IconBaseProps> { } +export = FaPlusSquare; diff --git a/types/react-icons/lib/fa/plus.d.ts b/types/react-icons/lib/fa/plus.d.ts index f6649123fb..3a8423a776 100644 --- a/types/react-icons/lib/fa/plus.d.ts +++ b/types/react-icons/lib/fa/plus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPlus extends React.Component<IconBaseProps> { } +declare class FaPlus extends React.Component<IconBaseProps> { } +export = FaPlus; diff --git a/types/react-icons/lib/fa/power-off.d.ts b/types/react-icons/lib/fa/power-off.d.ts index 538e8c9886..091d3ee694 100644 --- a/types/react-icons/lib/fa/power-off.d.ts +++ b/types/react-icons/lib/fa/power-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPowerOff extends React.Component<IconBaseProps> { } +declare class FaPowerOff extends React.Component<IconBaseProps> { } +export = FaPowerOff; diff --git a/types/react-icons/lib/fa/print.d.ts b/types/react-icons/lib/fa/print.d.ts index 5e49c43315..8efbedf76f 100644 --- a/types/react-icons/lib/fa/print.d.ts +++ b/types/react-icons/lib/fa/print.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPrint extends React.Component<IconBaseProps> { } +declare class FaPrint extends React.Component<IconBaseProps> { } +export = FaPrint; diff --git a/types/react-icons/lib/fa/product-hunt.d.ts b/types/react-icons/lib/fa/product-hunt.d.ts index 2d790f199c..64b2613692 100644 --- a/types/react-icons/lib/fa/product-hunt.d.ts +++ b/types/react-icons/lib/fa/product-hunt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaProductHunt extends React.Component<IconBaseProps> { } +declare class FaProductHunt extends React.Component<IconBaseProps> { } +export = FaProductHunt; diff --git a/types/react-icons/lib/fa/puzzle-piece.d.ts b/types/react-icons/lib/fa/puzzle-piece.d.ts index f25059cc09..200b21237b 100644 --- a/types/react-icons/lib/fa/puzzle-piece.d.ts +++ b/types/react-icons/lib/fa/puzzle-piece.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaPuzzlePiece extends React.Component<IconBaseProps> { } +declare class FaPuzzlePiece extends React.Component<IconBaseProps> { } +export = FaPuzzlePiece; diff --git a/types/react-icons/lib/fa/qq.d.ts b/types/react-icons/lib/fa/qq.d.ts index ff62c8cf78..84fde8990e 100644 --- a/types/react-icons/lib/fa/qq.d.ts +++ b/types/react-icons/lib/fa/qq.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaQq extends React.Component<IconBaseProps> { } +declare class FaQq extends React.Component<IconBaseProps> { } +export = FaQq; diff --git a/types/react-icons/lib/fa/qrcode.d.ts b/types/react-icons/lib/fa/qrcode.d.ts index 23c52561db..2fba577719 100644 --- a/types/react-icons/lib/fa/qrcode.d.ts +++ b/types/react-icons/lib/fa/qrcode.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaQrcode extends React.Component<IconBaseProps> { } +declare class FaQrcode extends React.Component<IconBaseProps> { } +export = FaQrcode; diff --git a/types/react-icons/lib/fa/question-circle-o.d.ts b/types/react-icons/lib/fa/question-circle-o.d.ts index e3176c764b..6188c56712 100644 --- a/types/react-icons/lib/fa/question-circle-o.d.ts +++ b/types/react-icons/lib/fa/question-circle-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaQuestionCircleO extends React.Component<IconBaseProps> { } +declare class FaQuestionCircleO extends React.Component<IconBaseProps> { } +export = FaQuestionCircleO; diff --git a/types/react-icons/lib/fa/question-circle.d.ts b/types/react-icons/lib/fa/question-circle.d.ts index a3474eab77..c822c62d7e 100644 --- a/types/react-icons/lib/fa/question-circle.d.ts +++ b/types/react-icons/lib/fa/question-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaQuestionCircle extends React.Component<IconBaseProps> { } +declare class FaQuestionCircle extends React.Component<IconBaseProps> { } +export = FaQuestionCircle; diff --git a/types/react-icons/lib/fa/question.d.ts b/types/react-icons/lib/fa/question.d.ts index c825b26b4f..0d0756e81f 100644 --- a/types/react-icons/lib/fa/question.d.ts +++ b/types/react-icons/lib/fa/question.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaQuestion extends React.Component<IconBaseProps> { } +declare class FaQuestion extends React.Component<IconBaseProps> { } +export = FaQuestion; diff --git a/types/react-icons/lib/fa/quote-left.d.ts b/types/react-icons/lib/fa/quote-left.d.ts index 904a81703f..ca59dc3f83 100644 --- a/types/react-icons/lib/fa/quote-left.d.ts +++ b/types/react-icons/lib/fa/quote-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaQuoteLeft extends React.Component<IconBaseProps> { } +declare class FaQuoteLeft extends React.Component<IconBaseProps> { } +export = FaQuoteLeft; diff --git a/types/react-icons/lib/fa/quote-right.d.ts b/types/react-icons/lib/fa/quote-right.d.ts index 3a4e38743d..fa325866d1 100644 --- a/types/react-icons/lib/fa/quote-right.d.ts +++ b/types/react-icons/lib/fa/quote-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaQuoteRight extends React.Component<IconBaseProps> { } +declare class FaQuoteRight extends React.Component<IconBaseProps> { } +export = FaQuoteRight; diff --git a/types/react-icons/lib/fa/ra.d.ts b/types/react-icons/lib/fa/ra.d.ts index da2bd43b87..bf436d8019 100644 --- a/types/react-icons/lib/fa/ra.d.ts +++ b/types/react-icons/lib/fa/ra.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaRa extends React.Component<IconBaseProps> { } +declare class FaRa extends React.Component<IconBaseProps> { } +export = FaRa; diff --git a/types/react-icons/lib/fa/random.d.ts b/types/react-icons/lib/fa/random.d.ts index 02c7c7465e..c3864a6f9a 100644 --- a/types/react-icons/lib/fa/random.d.ts +++ b/types/react-icons/lib/fa/random.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaRandom extends React.Component<IconBaseProps> { } +declare class FaRandom extends React.Component<IconBaseProps> { } +export = FaRandom; diff --git a/types/react-icons/lib/fa/recycle.d.ts b/types/react-icons/lib/fa/recycle.d.ts index 3f2c35bb45..476931ca9a 100644 --- a/types/react-icons/lib/fa/recycle.d.ts +++ b/types/react-icons/lib/fa/recycle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaRecycle extends React.Component<IconBaseProps> { } +declare class FaRecycle extends React.Component<IconBaseProps> { } +export = FaRecycle; diff --git a/types/react-icons/lib/fa/reddit-alien.d.ts b/types/react-icons/lib/fa/reddit-alien.d.ts index 0c6152a524..27808c318d 100644 --- a/types/react-icons/lib/fa/reddit-alien.d.ts +++ b/types/react-icons/lib/fa/reddit-alien.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaRedditAlien extends React.Component<IconBaseProps> { } +declare class FaRedditAlien extends React.Component<IconBaseProps> { } +export = FaRedditAlien; diff --git a/types/react-icons/lib/fa/reddit-square.d.ts b/types/react-icons/lib/fa/reddit-square.d.ts index 2fe217fd2f..2938b4cd05 100644 --- a/types/react-icons/lib/fa/reddit-square.d.ts +++ b/types/react-icons/lib/fa/reddit-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaRedditSquare extends React.Component<IconBaseProps> { } +declare class FaRedditSquare extends React.Component<IconBaseProps> { } +export = FaRedditSquare; diff --git a/types/react-icons/lib/fa/reddit.d.ts b/types/react-icons/lib/fa/reddit.d.ts index 485e46b5b0..51ba88dbb0 100644 --- a/types/react-icons/lib/fa/reddit.d.ts +++ b/types/react-icons/lib/fa/reddit.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaReddit extends React.Component<IconBaseProps> { } +declare class FaReddit extends React.Component<IconBaseProps> { } +export = FaReddit; diff --git a/types/react-icons/lib/fa/refresh.d.ts b/types/react-icons/lib/fa/refresh.d.ts index ebf74b1515..57c4e5cc53 100644 --- a/types/react-icons/lib/fa/refresh.d.ts +++ b/types/react-icons/lib/fa/refresh.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaRefresh extends React.Component<IconBaseProps> { } +declare class FaRefresh extends React.Component<IconBaseProps> { } +export = FaRefresh; diff --git a/types/react-icons/lib/fa/registered.d.ts b/types/react-icons/lib/fa/registered.d.ts index 801dc66200..975627ad01 100644 --- a/types/react-icons/lib/fa/registered.d.ts +++ b/types/react-icons/lib/fa/registered.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaRegistered extends React.Component<IconBaseProps> { } +declare class FaRegistered extends React.Component<IconBaseProps> { } +export = FaRegistered; diff --git a/types/react-icons/lib/fa/renren.d.ts b/types/react-icons/lib/fa/renren.d.ts index 25055289d9..a608ad598d 100644 --- a/types/react-icons/lib/fa/renren.d.ts +++ b/types/react-icons/lib/fa/renren.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaRenren extends React.Component<IconBaseProps> { } +declare class FaRenren extends React.Component<IconBaseProps> { } +export = FaRenren; diff --git a/types/react-icons/lib/fa/repeat.d.ts b/types/react-icons/lib/fa/repeat.d.ts index c3f51ad288..013bfad3b5 100644 --- a/types/react-icons/lib/fa/repeat.d.ts +++ b/types/react-icons/lib/fa/repeat.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaRepeat extends React.Component<IconBaseProps> { } +declare class FaRepeat extends React.Component<IconBaseProps> { } +export = FaRepeat; diff --git a/types/react-icons/lib/fa/retweet.d.ts b/types/react-icons/lib/fa/retweet.d.ts index f18d4bda7b..9c23c1e433 100644 --- a/types/react-icons/lib/fa/retweet.d.ts +++ b/types/react-icons/lib/fa/retweet.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaRetweet extends React.Component<IconBaseProps> { } +declare class FaRetweet extends React.Component<IconBaseProps> { } +export = FaRetweet; diff --git a/types/react-icons/lib/fa/road.d.ts b/types/react-icons/lib/fa/road.d.ts index 0715ec2e7e..9a9afb3a9c 100644 --- a/types/react-icons/lib/fa/road.d.ts +++ b/types/react-icons/lib/fa/road.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaRoad extends React.Component<IconBaseProps> { } +declare class FaRoad extends React.Component<IconBaseProps> { } +export = FaRoad; diff --git a/types/react-icons/lib/fa/rocket.d.ts b/types/react-icons/lib/fa/rocket.d.ts index 2f1c2dc834..e559d0008e 100644 --- a/types/react-icons/lib/fa/rocket.d.ts +++ b/types/react-icons/lib/fa/rocket.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaRocket extends React.Component<IconBaseProps> { } +declare class FaRocket extends React.Component<IconBaseProps> { } +export = FaRocket; diff --git a/types/react-icons/lib/fa/rotate-left.d.ts b/types/react-icons/lib/fa/rotate-left.d.ts index 2a93784c4e..429e6f63b4 100644 --- a/types/react-icons/lib/fa/rotate-left.d.ts +++ b/types/react-icons/lib/fa/rotate-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaRotateLeft extends React.Component<IconBaseProps> { } +declare class FaRotateLeft extends React.Component<IconBaseProps> { } +export = FaRotateLeft; diff --git a/types/react-icons/lib/fa/rouble.d.ts b/types/react-icons/lib/fa/rouble.d.ts index 9e61df412e..af4c0d834a 100644 --- a/types/react-icons/lib/fa/rouble.d.ts +++ b/types/react-icons/lib/fa/rouble.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaRouble extends React.Component<IconBaseProps> { } +declare class FaRouble extends React.Component<IconBaseProps> { } +export = FaRouble; diff --git a/types/react-icons/lib/fa/rss-square.d.ts b/types/react-icons/lib/fa/rss-square.d.ts index c840ec5513..ed6bad1e0d 100644 --- a/types/react-icons/lib/fa/rss-square.d.ts +++ b/types/react-icons/lib/fa/rss-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaRssSquare extends React.Component<IconBaseProps> { } +declare class FaRssSquare extends React.Component<IconBaseProps> { } +export = FaRssSquare; diff --git a/types/react-icons/lib/fa/safari.d.ts b/types/react-icons/lib/fa/safari.d.ts index 6bb95a70f0..0a4f5ffe3c 100644 --- a/types/react-icons/lib/fa/safari.d.ts +++ b/types/react-icons/lib/fa/safari.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSafari extends React.Component<IconBaseProps> { } +declare class FaSafari extends React.Component<IconBaseProps> { } +export = FaSafari; diff --git a/types/react-icons/lib/fa/scribd.d.ts b/types/react-icons/lib/fa/scribd.d.ts index 39fc8c40a6..e7be0691fa 100644 --- a/types/react-icons/lib/fa/scribd.d.ts +++ b/types/react-icons/lib/fa/scribd.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaScribd extends React.Component<IconBaseProps> { } +declare class FaScribd extends React.Component<IconBaseProps> { } +export = FaScribd; diff --git a/types/react-icons/lib/fa/search-minus.d.ts b/types/react-icons/lib/fa/search-minus.d.ts index b0045c94f4..7f94b39768 100644 --- a/types/react-icons/lib/fa/search-minus.d.ts +++ b/types/react-icons/lib/fa/search-minus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSearchMinus extends React.Component<IconBaseProps> { } +declare class FaSearchMinus extends React.Component<IconBaseProps> { } +export = FaSearchMinus; diff --git a/types/react-icons/lib/fa/search-plus.d.ts b/types/react-icons/lib/fa/search-plus.d.ts index 3aaacffaea..59f8b7d49f 100644 --- a/types/react-icons/lib/fa/search-plus.d.ts +++ b/types/react-icons/lib/fa/search-plus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSearchPlus extends React.Component<IconBaseProps> { } +declare class FaSearchPlus extends React.Component<IconBaseProps> { } +export = FaSearchPlus; diff --git a/types/react-icons/lib/fa/search.d.ts b/types/react-icons/lib/fa/search.d.ts index 14c1b8eb87..1223413cc9 100644 --- a/types/react-icons/lib/fa/search.d.ts +++ b/types/react-icons/lib/fa/search.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSearch extends React.Component<IconBaseProps> { } +declare class FaSearch extends React.Component<IconBaseProps> { } +export = FaSearch; diff --git a/types/react-icons/lib/fa/sellsy.d.ts b/types/react-icons/lib/fa/sellsy.d.ts index 9eb86d3b41..860ba7bfd4 100644 --- a/types/react-icons/lib/fa/sellsy.d.ts +++ b/types/react-icons/lib/fa/sellsy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSellsy extends React.Component<IconBaseProps> { } +declare class FaSellsy extends React.Component<IconBaseProps> { } +export = FaSellsy; diff --git a/types/react-icons/lib/fa/server.d.ts b/types/react-icons/lib/fa/server.d.ts index f34b2bef92..6dda352faa 100644 --- a/types/react-icons/lib/fa/server.d.ts +++ b/types/react-icons/lib/fa/server.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaServer extends React.Component<IconBaseProps> { } +declare class FaServer extends React.Component<IconBaseProps> { } +export = FaServer; diff --git a/types/react-icons/lib/fa/share-alt-square.d.ts b/types/react-icons/lib/fa/share-alt-square.d.ts index 31dc918f6c..d36315ee1f 100644 --- a/types/react-icons/lib/fa/share-alt-square.d.ts +++ b/types/react-icons/lib/fa/share-alt-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaShareAltSquare extends React.Component<IconBaseProps> { } +declare class FaShareAltSquare extends React.Component<IconBaseProps> { } +export = FaShareAltSquare; diff --git a/types/react-icons/lib/fa/share-alt.d.ts b/types/react-icons/lib/fa/share-alt.d.ts index e95e1b249e..49c3f2ff3b 100644 --- a/types/react-icons/lib/fa/share-alt.d.ts +++ b/types/react-icons/lib/fa/share-alt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaShareAlt extends React.Component<IconBaseProps> { } +declare class FaShareAlt extends React.Component<IconBaseProps> { } +export = FaShareAlt; diff --git a/types/react-icons/lib/fa/share-square-o.d.ts b/types/react-icons/lib/fa/share-square-o.d.ts index fbe2893547..d23c235045 100644 --- a/types/react-icons/lib/fa/share-square-o.d.ts +++ b/types/react-icons/lib/fa/share-square-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaShareSquareO extends React.Component<IconBaseProps> { } +declare class FaShareSquareO extends React.Component<IconBaseProps> { } +export = FaShareSquareO; diff --git a/types/react-icons/lib/fa/share-square.d.ts b/types/react-icons/lib/fa/share-square.d.ts index 553b8b7d88..93c6e557f4 100644 --- a/types/react-icons/lib/fa/share-square.d.ts +++ b/types/react-icons/lib/fa/share-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaShareSquare extends React.Component<IconBaseProps> { } +declare class FaShareSquare extends React.Component<IconBaseProps> { } +export = FaShareSquare; diff --git a/types/react-icons/lib/fa/shield.d.ts b/types/react-icons/lib/fa/shield.d.ts index 0358946bb0..8ca03c4657 100644 --- a/types/react-icons/lib/fa/shield.d.ts +++ b/types/react-icons/lib/fa/shield.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaShield extends React.Component<IconBaseProps> { } +declare class FaShield extends React.Component<IconBaseProps> { } +export = FaShield; diff --git a/types/react-icons/lib/fa/ship.d.ts b/types/react-icons/lib/fa/ship.d.ts index bbac7fa963..71b61a6e7b 100644 --- a/types/react-icons/lib/fa/ship.d.ts +++ b/types/react-icons/lib/fa/ship.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaShip extends React.Component<IconBaseProps> { } +declare class FaShip extends React.Component<IconBaseProps> { } +export = FaShip; diff --git a/types/react-icons/lib/fa/shirtsinbulk.d.ts b/types/react-icons/lib/fa/shirtsinbulk.d.ts index 1cdac4b3b2..8faaa7e15b 100644 --- a/types/react-icons/lib/fa/shirtsinbulk.d.ts +++ b/types/react-icons/lib/fa/shirtsinbulk.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaShirtsinbulk extends React.Component<IconBaseProps> { } +declare class FaShirtsinbulk extends React.Component<IconBaseProps> { } +export = FaShirtsinbulk; diff --git a/types/react-icons/lib/fa/shopping-bag.d.ts b/types/react-icons/lib/fa/shopping-bag.d.ts index 0e9ec2fd0d..e9617d3fd4 100644 --- a/types/react-icons/lib/fa/shopping-bag.d.ts +++ b/types/react-icons/lib/fa/shopping-bag.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaShoppingBag extends React.Component<IconBaseProps> { } +declare class FaShoppingBag extends React.Component<IconBaseProps> { } +export = FaShoppingBag; diff --git a/types/react-icons/lib/fa/shopping-basket.d.ts b/types/react-icons/lib/fa/shopping-basket.d.ts index 05b7d1417d..e479dc7343 100644 --- a/types/react-icons/lib/fa/shopping-basket.d.ts +++ b/types/react-icons/lib/fa/shopping-basket.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaShoppingBasket extends React.Component<IconBaseProps> { } +declare class FaShoppingBasket extends React.Component<IconBaseProps> { } +export = FaShoppingBasket; diff --git a/types/react-icons/lib/fa/shopping-cart.d.ts b/types/react-icons/lib/fa/shopping-cart.d.ts index 17d623f44d..784aa79f93 100644 --- a/types/react-icons/lib/fa/shopping-cart.d.ts +++ b/types/react-icons/lib/fa/shopping-cart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaShoppingCart extends React.Component<IconBaseProps> { } +declare class FaShoppingCart extends React.Component<IconBaseProps> { } +export = FaShoppingCart; diff --git a/types/react-icons/lib/fa/sign-in.d.ts b/types/react-icons/lib/fa/sign-in.d.ts index 6122e57cab..6761643c9d 100644 --- a/types/react-icons/lib/fa/sign-in.d.ts +++ b/types/react-icons/lib/fa/sign-in.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSignIn extends React.Component<IconBaseProps> { } +declare class FaSignIn extends React.Component<IconBaseProps> { } +export = FaSignIn; diff --git a/types/react-icons/lib/fa/sign-language.d.ts b/types/react-icons/lib/fa/sign-language.d.ts index 92f5afb348..0006b1dfab 100644 --- a/types/react-icons/lib/fa/sign-language.d.ts +++ b/types/react-icons/lib/fa/sign-language.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSignLanguage extends React.Component<IconBaseProps> { } +declare class FaSignLanguage extends React.Component<IconBaseProps> { } +export = FaSignLanguage; diff --git a/types/react-icons/lib/fa/sign-out.d.ts b/types/react-icons/lib/fa/sign-out.d.ts index 0432e2a806..8a32ff2252 100644 --- a/types/react-icons/lib/fa/sign-out.d.ts +++ b/types/react-icons/lib/fa/sign-out.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSignOut extends React.Component<IconBaseProps> { } +declare class FaSignOut extends React.Component<IconBaseProps> { } +export = FaSignOut; diff --git a/types/react-icons/lib/fa/signal.d.ts b/types/react-icons/lib/fa/signal.d.ts index ff8c9215db..733f27f8b9 100644 --- a/types/react-icons/lib/fa/signal.d.ts +++ b/types/react-icons/lib/fa/signal.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSignal extends React.Component<IconBaseProps> { } +declare class FaSignal extends React.Component<IconBaseProps> { } +export = FaSignal; diff --git a/types/react-icons/lib/fa/simplybuilt.d.ts b/types/react-icons/lib/fa/simplybuilt.d.ts index 2f6a53cab7..91a9058c72 100644 --- a/types/react-icons/lib/fa/simplybuilt.d.ts +++ b/types/react-icons/lib/fa/simplybuilt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSimplybuilt extends React.Component<IconBaseProps> { } +declare class FaSimplybuilt extends React.Component<IconBaseProps> { } +export = FaSimplybuilt; diff --git a/types/react-icons/lib/fa/sitemap.d.ts b/types/react-icons/lib/fa/sitemap.d.ts index e6a3891028..20c0543ac2 100644 --- a/types/react-icons/lib/fa/sitemap.d.ts +++ b/types/react-icons/lib/fa/sitemap.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSitemap extends React.Component<IconBaseProps> { } +declare class FaSitemap extends React.Component<IconBaseProps> { } +export = FaSitemap; diff --git a/types/react-icons/lib/fa/skyatlas.d.ts b/types/react-icons/lib/fa/skyatlas.d.ts index 58a376bec4..13854503aa 100644 --- a/types/react-icons/lib/fa/skyatlas.d.ts +++ b/types/react-icons/lib/fa/skyatlas.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSkyatlas extends React.Component<IconBaseProps> { } +declare class FaSkyatlas extends React.Component<IconBaseProps> { } +export = FaSkyatlas; diff --git a/types/react-icons/lib/fa/skype.d.ts b/types/react-icons/lib/fa/skype.d.ts index 3e4b8465ce..ccf59938a6 100644 --- a/types/react-icons/lib/fa/skype.d.ts +++ b/types/react-icons/lib/fa/skype.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSkype extends React.Component<IconBaseProps> { } +declare class FaSkype extends React.Component<IconBaseProps> { } +export = FaSkype; diff --git a/types/react-icons/lib/fa/slack.d.ts b/types/react-icons/lib/fa/slack.d.ts index 05ae812154..6d441ba2d1 100644 --- a/types/react-icons/lib/fa/slack.d.ts +++ b/types/react-icons/lib/fa/slack.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSlack extends React.Component<IconBaseProps> { } +declare class FaSlack extends React.Component<IconBaseProps> { } +export = FaSlack; diff --git a/types/react-icons/lib/fa/sliders.d.ts b/types/react-icons/lib/fa/sliders.d.ts index 5b77a2c246..6dfda35100 100644 --- a/types/react-icons/lib/fa/sliders.d.ts +++ b/types/react-icons/lib/fa/sliders.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSliders extends React.Component<IconBaseProps> { } +declare class FaSliders extends React.Component<IconBaseProps> { } +export = FaSliders; diff --git a/types/react-icons/lib/fa/slideshare.d.ts b/types/react-icons/lib/fa/slideshare.d.ts index 678418e560..0553b84e9d 100644 --- a/types/react-icons/lib/fa/slideshare.d.ts +++ b/types/react-icons/lib/fa/slideshare.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSlideshare extends React.Component<IconBaseProps> { } +declare class FaSlideshare extends React.Component<IconBaseProps> { } +export = FaSlideshare; diff --git a/types/react-icons/lib/fa/smile-o.d.ts b/types/react-icons/lib/fa/smile-o.d.ts index 8db866e669..16b701ab67 100644 --- a/types/react-icons/lib/fa/smile-o.d.ts +++ b/types/react-icons/lib/fa/smile-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSmileO extends React.Component<IconBaseProps> { } +declare class FaSmileO extends React.Component<IconBaseProps> { } +export = FaSmileO; diff --git a/types/react-icons/lib/fa/snapchat-ghost.d.ts b/types/react-icons/lib/fa/snapchat-ghost.d.ts index 83ca65e891..f1da37daa1 100644 --- a/types/react-icons/lib/fa/snapchat-ghost.d.ts +++ b/types/react-icons/lib/fa/snapchat-ghost.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSnapchatGhost extends React.Component<IconBaseProps> { } +declare class FaSnapchatGhost extends React.Component<IconBaseProps> { } +export = FaSnapchatGhost; diff --git a/types/react-icons/lib/fa/snapchat-square.d.ts b/types/react-icons/lib/fa/snapchat-square.d.ts index 7c1ac2dbc4..53ccacd856 100644 --- a/types/react-icons/lib/fa/snapchat-square.d.ts +++ b/types/react-icons/lib/fa/snapchat-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSnapchatSquare extends React.Component<IconBaseProps> { } +declare class FaSnapchatSquare extends React.Component<IconBaseProps> { } +export = FaSnapchatSquare; diff --git a/types/react-icons/lib/fa/snapchat.d.ts b/types/react-icons/lib/fa/snapchat.d.ts index bbc8bb62e3..ff7b4adfc1 100644 --- a/types/react-icons/lib/fa/snapchat.d.ts +++ b/types/react-icons/lib/fa/snapchat.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSnapchat extends React.Component<IconBaseProps> { } +declare class FaSnapchat extends React.Component<IconBaseProps> { } +export = FaSnapchat; diff --git a/types/react-icons/lib/fa/sort-alpha-asc.d.ts b/types/react-icons/lib/fa/sort-alpha-asc.d.ts index 6b44132473..f9f29a4c20 100644 --- a/types/react-icons/lib/fa/sort-alpha-asc.d.ts +++ b/types/react-icons/lib/fa/sort-alpha-asc.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSortAlphaAsc extends React.Component<IconBaseProps> { } +declare class FaSortAlphaAsc extends React.Component<IconBaseProps> { } +export = FaSortAlphaAsc; diff --git a/types/react-icons/lib/fa/sort-alpha-desc.d.ts b/types/react-icons/lib/fa/sort-alpha-desc.d.ts index 2830f1986e..2c9d8f7b86 100644 --- a/types/react-icons/lib/fa/sort-alpha-desc.d.ts +++ b/types/react-icons/lib/fa/sort-alpha-desc.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSortAlphaDesc extends React.Component<IconBaseProps> { } +declare class FaSortAlphaDesc extends React.Component<IconBaseProps> { } +export = FaSortAlphaDesc; diff --git a/types/react-icons/lib/fa/sort-amount-asc.d.ts b/types/react-icons/lib/fa/sort-amount-asc.d.ts index 05da03032c..f665f0ff3a 100644 --- a/types/react-icons/lib/fa/sort-amount-asc.d.ts +++ b/types/react-icons/lib/fa/sort-amount-asc.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSortAmountAsc extends React.Component<IconBaseProps> { } +declare class FaSortAmountAsc extends React.Component<IconBaseProps> { } +export = FaSortAmountAsc; diff --git a/types/react-icons/lib/fa/sort-amount-desc.d.ts b/types/react-icons/lib/fa/sort-amount-desc.d.ts index c7e7242565..ba40b6eb2f 100644 --- a/types/react-icons/lib/fa/sort-amount-desc.d.ts +++ b/types/react-icons/lib/fa/sort-amount-desc.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSortAmountDesc extends React.Component<IconBaseProps> { } +declare class FaSortAmountDesc extends React.Component<IconBaseProps> { } +export = FaSortAmountDesc; diff --git a/types/react-icons/lib/fa/sort-asc.d.ts b/types/react-icons/lib/fa/sort-asc.d.ts index ce2c9fe0a2..51b442d7c6 100644 --- a/types/react-icons/lib/fa/sort-asc.d.ts +++ b/types/react-icons/lib/fa/sort-asc.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSortAsc extends React.Component<IconBaseProps> { } +declare class FaSortAsc extends React.Component<IconBaseProps> { } +export = FaSortAsc; diff --git a/types/react-icons/lib/fa/sort-desc.d.ts b/types/react-icons/lib/fa/sort-desc.d.ts index 0b4842a8f9..17888aae25 100644 --- a/types/react-icons/lib/fa/sort-desc.d.ts +++ b/types/react-icons/lib/fa/sort-desc.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSortDesc extends React.Component<IconBaseProps> { } +declare class FaSortDesc extends React.Component<IconBaseProps> { } +export = FaSortDesc; diff --git a/types/react-icons/lib/fa/sort-numeric-asc.d.ts b/types/react-icons/lib/fa/sort-numeric-asc.d.ts index b7fa62fe1c..1778101b1b 100644 --- a/types/react-icons/lib/fa/sort-numeric-asc.d.ts +++ b/types/react-icons/lib/fa/sort-numeric-asc.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSortNumericAsc extends React.Component<IconBaseProps> { } +declare class FaSortNumericAsc extends React.Component<IconBaseProps> { } +export = FaSortNumericAsc; diff --git a/types/react-icons/lib/fa/sort-numeric-desc.d.ts b/types/react-icons/lib/fa/sort-numeric-desc.d.ts index 2c124abd75..4ab06a613e 100644 --- a/types/react-icons/lib/fa/sort-numeric-desc.d.ts +++ b/types/react-icons/lib/fa/sort-numeric-desc.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSortNumericDesc extends React.Component<IconBaseProps> { } +declare class FaSortNumericDesc extends React.Component<IconBaseProps> { } +export = FaSortNumericDesc; diff --git a/types/react-icons/lib/fa/sort.d.ts b/types/react-icons/lib/fa/sort.d.ts index ad64fd0c52..6b5e9ec071 100644 --- a/types/react-icons/lib/fa/sort.d.ts +++ b/types/react-icons/lib/fa/sort.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSort extends React.Component<IconBaseProps> { } +declare class FaSort extends React.Component<IconBaseProps> { } +export = FaSort; diff --git a/types/react-icons/lib/fa/soundcloud.d.ts b/types/react-icons/lib/fa/soundcloud.d.ts index c357e174b0..774a3a60a7 100644 --- a/types/react-icons/lib/fa/soundcloud.d.ts +++ b/types/react-icons/lib/fa/soundcloud.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSoundcloud extends React.Component<IconBaseProps> { } +declare class FaSoundcloud extends React.Component<IconBaseProps> { } +export = FaSoundcloud; diff --git a/types/react-icons/lib/fa/space-shuttle.d.ts b/types/react-icons/lib/fa/space-shuttle.d.ts index 0ce2f24916..a637be5956 100644 --- a/types/react-icons/lib/fa/space-shuttle.d.ts +++ b/types/react-icons/lib/fa/space-shuttle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSpaceShuttle extends React.Component<IconBaseProps> { } +declare class FaSpaceShuttle extends React.Component<IconBaseProps> { } +export = FaSpaceShuttle; diff --git a/types/react-icons/lib/fa/spinner.d.ts b/types/react-icons/lib/fa/spinner.d.ts index 36e2dd9285..dbd8124bca 100644 --- a/types/react-icons/lib/fa/spinner.d.ts +++ b/types/react-icons/lib/fa/spinner.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSpinner extends React.Component<IconBaseProps> { } +declare class FaSpinner extends React.Component<IconBaseProps> { } +export = FaSpinner; diff --git a/types/react-icons/lib/fa/spoon.d.ts b/types/react-icons/lib/fa/spoon.d.ts index 1112916912..e11b2b3df5 100644 --- a/types/react-icons/lib/fa/spoon.d.ts +++ b/types/react-icons/lib/fa/spoon.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSpoon extends React.Component<IconBaseProps> { } +declare class FaSpoon extends React.Component<IconBaseProps> { } +export = FaSpoon; diff --git a/types/react-icons/lib/fa/spotify.d.ts b/types/react-icons/lib/fa/spotify.d.ts index 94c862a866..1e643eaa82 100644 --- a/types/react-icons/lib/fa/spotify.d.ts +++ b/types/react-icons/lib/fa/spotify.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSpotify extends React.Component<IconBaseProps> { } +declare class FaSpotify extends React.Component<IconBaseProps> { } +export = FaSpotify; diff --git a/types/react-icons/lib/fa/square-o.d.ts b/types/react-icons/lib/fa/square-o.d.ts index 0d49bd6c23..2ec8731877 100644 --- a/types/react-icons/lib/fa/square-o.d.ts +++ b/types/react-icons/lib/fa/square-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSquareO extends React.Component<IconBaseProps> { } +declare class FaSquareO extends React.Component<IconBaseProps> { } +export = FaSquareO; diff --git a/types/react-icons/lib/fa/square.d.ts b/types/react-icons/lib/fa/square.d.ts index d95485831d..c8c55b3742 100644 --- a/types/react-icons/lib/fa/square.d.ts +++ b/types/react-icons/lib/fa/square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSquare extends React.Component<IconBaseProps> { } +declare class FaSquare extends React.Component<IconBaseProps> { } +export = FaSquare; diff --git a/types/react-icons/lib/fa/stack-exchange.d.ts b/types/react-icons/lib/fa/stack-exchange.d.ts index a1f2d0e265..9633c68c60 100644 --- a/types/react-icons/lib/fa/stack-exchange.d.ts +++ b/types/react-icons/lib/fa/stack-exchange.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaStackExchange extends React.Component<IconBaseProps> { } +declare class FaStackExchange extends React.Component<IconBaseProps> { } +export = FaStackExchange; diff --git a/types/react-icons/lib/fa/stack-overflow.d.ts b/types/react-icons/lib/fa/stack-overflow.d.ts index fd71beea7f..d2abb6200e 100644 --- a/types/react-icons/lib/fa/stack-overflow.d.ts +++ b/types/react-icons/lib/fa/stack-overflow.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaStackOverflow extends React.Component<IconBaseProps> { } +declare class FaStackOverflow extends React.Component<IconBaseProps> { } +export = FaStackOverflow; diff --git a/types/react-icons/lib/fa/star-half-empty.d.ts b/types/react-icons/lib/fa/star-half-empty.d.ts index 6e4b26ad53..6e43aa720b 100644 --- a/types/react-icons/lib/fa/star-half-empty.d.ts +++ b/types/react-icons/lib/fa/star-half-empty.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaStarHalfEmpty extends React.Component<IconBaseProps> { } +declare class FaStarHalfEmpty extends React.Component<IconBaseProps> { } +export = FaStarHalfEmpty; diff --git a/types/react-icons/lib/fa/star-half.d.ts b/types/react-icons/lib/fa/star-half.d.ts index d373ba6a07..4bfe025587 100644 --- a/types/react-icons/lib/fa/star-half.d.ts +++ b/types/react-icons/lib/fa/star-half.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaStarHalf extends React.Component<IconBaseProps> { } +declare class FaStarHalf extends React.Component<IconBaseProps> { } +export = FaStarHalf; diff --git a/types/react-icons/lib/fa/star-o.d.ts b/types/react-icons/lib/fa/star-o.d.ts index cf950d4867..1b23442802 100644 --- a/types/react-icons/lib/fa/star-o.d.ts +++ b/types/react-icons/lib/fa/star-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaStarO extends React.Component<IconBaseProps> { } +declare class FaStarO extends React.Component<IconBaseProps> { } +export = FaStarO; diff --git a/types/react-icons/lib/fa/star.d.ts b/types/react-icons/lib/fa/star.d.ts index 3113155a96..a966cea689 100644 --- a/types/react-icons/lib/fa/star.d.ts +++ b/types/react-icons/lib/fa/star.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaStar extends React.Component<IconBaseProps> { } +declare class FaStar extends React.Component<IconBaseProps> { } +export = FaStar; diff --git a/types/react-icons/lib/fa/steam-square.d.ts b/types/react-icons/lib/fa/steam-square.d.ts index 3ac2c21b30..0beeef5491 100644 --- a/types/react-icons/lib/fa/steam-square.d.ts +++ b/types/react-icons/lib/fa/steam-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSteamSquare extends React.Component<IconBaseProps> { } +declare class FaSteamSquare extends React.Component<IconBaseProps> { } +export = FaSteamSquare; diff --git a/types/react-icons/lib/fa/steam.d.ts b/types/react-icons/lib/fa/steam.d.ts index e1aa2f3313..deebcf4ba4 100644 --- a/types/react-icons/lib/fa/steam.d.ts +++ b/types/react-icons/lib/fa/steam.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSteam extends React.Component<IconBaseProps> { } +declare class FaSteam extends React.Component<IconBaseProps> { } +export = FaSteam; diff --git a/types/react-icons/lib/fa/step-backward.d.ts b/types/react-icons/lib/fa/step-backward.d.ts index fe571ab271..c2fd350405 100644 --- a/types/react-icons/lib/fa/step-backward.d.ts +++ b/types/react-icons/lib/fa/step-backward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaStepBackward extends React.Component<IconBaseProps> { } +declare class FaStepBackward extends React.Component<IconBaseProps> { } +export = FaStepBackward; diff --git a/types/react-icons/lib/fa/step-forward.d.ts b/types/react-icons/lib/fa/step-forward.d.ts index b8b01f06a8..efc7eca537 100644 --- a/types/react-icons/lib/fa/step-forward.d.ts +++ b/types/react-icons/lib/fa/step-forward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaStepForward extends React.Component<IconBaseProps> { } +declare class FaStepForward extends React.Component<IconBaseProps> { } +export = FaStepForward; diff --git a/types/react-icons/lib/fa/stethoscope.d.ts b/types/react-icons/lib/fa/stethoscope.d.ts index 3f8cdcba2e..be5295c3f6 100644 --- a/types/react-icons/lib/fa/stethoscope.d.ts +++ b/types/react-icons/lib/fa/stethoscope.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaStethoscope extends React.Component<IconBaseProps> { } +declare class FaStethoscope extends React.Component<IconBaseProps> { } +export = FaStethoscope; diff --git a/types/react-icons/lib/fa/sticky-note-o.d.ts b/types/react-icons/lib/fa/sticky-note-o.d.ts index 5d54ced4ec..d3a5e10c9c 100644 --- a/types/react-icons/lib/fa/sticky-note-o.d.ts +++ b/types/react-icons/lib/fa/sticky-note-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaStickyNoteO extends React.Component<IconBaseProps> { } +declare class FaStickyNoteO extends React.Component<IconBaseProps> { } +export = FaStickyNoteO; diff --git a/types/react-icons/lib/fa/sticky-note.d.ts b/types/react-icons/lib/fa/sticky-note.d.ts index d30fedcdd7..6055d0e9a1 100644 --- a/types/react-icons/lib/fa/sticky-note.d.ts +++ b/types/react-icons/lib/fa/sticky-note.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaStickyNote extends React.Component<IconBaseProps> { } +declare class FaStickyNote extends React.Component<IconBaseProps> { } +export = FaStickyNote; diff --git a/types/react-icons/lib/fa/stop-circle-o.d.ts b/types/react-icons/lib/fa/stop-circle-o.d.ts index 244ffeb6cc..a8ef0eabdd 100644 --- a/types/react-icons/lib/fa/stop-circle-o.d.ts +++ b/types/react-icons/lib/fa/stop-circle-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaStopCircleO extends React.Component<IconBaseProps> { } +declare class FaStopCircleO extends React.Component<IconBaseProps> { } +export = FaStopCircleO; diff --git a/types/react-icons/lib/fa/stop-circle.d.ts b/types/react-icons/lib/fa/stop-circle.d.ts index ef7a92d310..20139906d9 100644 --- a/types/react-icons/lib/fa/stop-circle.d.ts +++ b/types/react-icons/lib/fa/stop-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaStopCircle extends React.Component<IconBaseProps> { } +declare class FaStopCircle extends React.Component<IconBaseProps> { } +export = FaStopCircle; diff --git a/types/react-icons/lib/fa/stop.d.ts b/types/react-icons/lib/fa/stop.d.ts index fd4356c3df..1b249e5195 100644 --- a/types/react-icons/lib/fa/stop.d.ts +++ b/types/react-icons/lib/fa/stop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaStop extends React.Component<IconBaseProps> { } +declare class FaStop extends React.Component<IconBaseProps> { } +export = FaStop; diff --git a/types/react-icons/lib/fa/street-view.d.ts b/types/react-icons/lib/fa/street-view.d.ts index d989035bde..18e5bae2b5 100644 --- a/types/react-icons/lib/fa/street-view.d.ts +++ b/types/react-icons/lib/fa/street-view.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaStreetView extends React.Component<IconBaseProps> { } +declare class FaStreetView extends React.Component<IconBaseProps> { } +export = FaStreetView; diff --git a/types/react-icons/lib/fa/strikethrough.d.ts b/types/react-icons/lib/fa/strikethrough.d.ts index f472c0fd77..46f2e36143 100644 --- a/types/react-icons/lib/fa/strikethrough.d.ts +++ b/types/react-icons/lib/fa/strikethrough.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaStrikethrough extends React.Component<IconBaseProps> { } +declare class FaStrikethrough extends React.Component<IconBaseProps> { } +export = FaStrikethrough; diff --git a/types/react-icons/lib/fa/stumbleupon-circle.d.ts b/types/react-icons/lib/fa/stumbleupon-circle.d.ts index ecc4d2122e..67cdbea5cc 100644 --- a/types/react-icons/lib/fa/stumbleupon-circle.d.ts +++ b/types/react-icons/lib/fa/stumbleupon-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaStumbleuponCircle extends React.Component<IconBaseProps> { } +declare class FaStumbleuponCircle extends React.Component<IconBaseProps> { } +export = FaStumbleuponCircle; diff --git a/types/react-icons/lib/fa/stumbleupon.d.ts b/types/react-icons/lib/fa/stumbleupon.d.ts index 64185df0f3..9585240ca8 100644 --- a/types/react-icons/lib/fa/stumbleupon.d.ts +++ b/types/react-icons/lib/fa/stumbleupon.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaStumbleupon extends React.Component<IconBaseProps> { } +declare class FaStumbleupon extends React.Component<IconBaseProps> { } +export = FaStumbleupon; diff --git a/types/react-icons/lib/fa/subscript.d.ts b/types/react-icons/lib/fa/subscript.d.ts index ac03fe6b89..a6c021ed1b 100644 --- a/types/react-icons/lib/fa/subscript.d.ts +++ b/types/react-icons/lib/fa/subscript.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSubscript extends React.Component<IconBaseProps> { } +declare class FaSubscript extends React.Component<IconBaseProps> { } +export = FaSubscript; diff --git a/types/react-icons/lib/fa/subway.d.ts b/types/react-icons/lib/fa/subway.d.ts index ce4b09edbf..2be51ef087 100644 --- a/types/react-icons/lib/fa/subway.d.ts +++ b/types/react-icons/lib/fa/subway.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSubway extends React.Component<IconBaseProps> { } +declare class FaSubway extends React.Component<IconBaseProps> { } +export = FaSubway; diff --git a/types/react-icons/lib/fa/suitcase.d.ts b/types/react-icons/lib/fa/suitcase.d.ts index 0bf3807780..bbf2b116f8 100644 --- a/types/react-icons/lib/fa/suitcase.d.ts +++ b/types/react-icons/lib/fa/suitcase.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSuitcase extends React.Component<IconBaseProps> { } +declare class FaSuitcase extends React.Component<IconBaseProps> { } +export = FaSuitcase; diff --git a/types/react-icons/lib/fa/sun-o.d.ts b/types/react-icons/lib/fa/sun-o.d.ts index 3ac6bfbdd3..1699728fa0 100644 --- a/types/react-icons/lib/fa/sun-o.d.ts +++ b/types/react-icons/lib/fa/sun-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSunO extends React.Component<IconBaseProps> { } +declare class FaSunO extends React.Component<IconBaseProps> { } +export = FaSunO; diff --git a/types/react-icons/lib/fa/superscript.d.ts b/types/react-icons/lib/fa/superscript.d.ts index 07a901912e..5bce0a3419 100644 --- a/types/react-icons/lib/fa/superscript.d.ts +++ b/types/react-icons/lib/fa/superscript.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaSuperscript extends React.Component<IconBaseProps> { } +declare class FaSuperscript extends React.Component<IconBaseProps> { } +export = FaSuperscript; diff --git a/types/react-icons/lib/fa/table.d.ts b/types/react-icons/lib/fa/table.d.ts index a8ff4e9bf5..28afb1a308 100644 --- a/types/react-icons/lib/fa/table.d.ts +++ b/types/react-icons/lib/fa/table.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTable extends React.Component<IconBaseProps> { } +declare class FaTable extends React.Component<IconBaseProps> { } +export = FaTable; diff --git a/types/react-icons/lib/fa/tablet.d.ts b/types/react-icons/lib/fa/tablet.d.ts index 37ea453d17..5d06494d0f 100644 --- a/types/react-icons/lib/fa/tablet.d.ts +++ b/types/react-icons/lib/fa/tablet.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTablet extends React.Component<IconBaseProps> { } +declare class FaTablet extends React.Component<IconBaseProps> { } +export = FaTablet; diff --git a/types/react-icons/lib/fa/tag.d.ts b/types/react-icons/lib/fa/tag.d.ts index 247756142e..62793c87bd 100644 --- a/types/react-icons/lib/fa/tag.d.ts +++ b/types/react-icons/lib/fa/tag.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTag extends React.Component<IconBaseProps> { } +declare class FaTag extends React.Component<IconBaseProps> { } +export = FaTag; diff --git a/types/react-icons/lib/fa/tags.d.ts b/types/react-icons/lib/fa/tags.d.ts index 3518af839a..acf244ad23 100644 --- a/types/react-icons/lib/fa/tags.d.ts +++ b/types/react-icons/lib/fa/tags.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTags extends React.Component<IconBaseProps> { } +declare class FaTags extends React.Component<IconBaseProps> { } +export = FaTags; diff --git a/types/react-icons/lib/fa/tasks.d.ts b/types/react-icons/lib/fa/tasks.d.ts index f0b59f374e..8b789168d7 100644 --- a/types/react-icons/lib/fa/tasks.d.ts +++ b/types/react-icons/lib/fa/tasks.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTasks extends React.Component<IconBaseProps> { } +declare class FaTasks extends React.Component<IconBaseProps> { } +export = FaTasks; diff --git a/types/react-icons/lib/fa/television.d.ts b/types/react-icons/lib/fa/television.d.ts index 88b8693a6a..46612f202e 100644 --- a/types/react-icons/lib/fa/television.d.ts +++ b/types/react-icons/lib/fa/television.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTelevision extends React.Component<IconBaseProps> { } +declare class FaTelevision extends React.Component<IconBaseProps> { } +export = FaTelevision; diff --git a/types/react-icons/lib/fa/tencent-weibo.d.ts b/types/react-icons/lib/fa/tencent-weibo.d.ts index ce9a04848c..294778fdf7 100644 --- a/types/react-icons/lib/fa/tencent-weibo.d.ts +++ b/types/react-icons/lib/fa/tencent-weibo.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTencentWeibo extends React.Component<IconBaseProps> { } +declare class FaTencentWeibo extends React.Component<IconBaseProps> { } +export = FaTencentWeibo; diff --git a/types/react-icons/lib/fa/terminal.d.ts b/types/react-icons/lib/fa/terminal.d.ts index 75daa58c87..3dd4de7d08 100644 --- a/types/react-icons/lib/fa/terminal.d.ts +++ b/types/react-icons/lib/fa/terminal.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTerminal extends React.Component<IconBaseProps> { } +declare class FaTerminal extends React.Component<IconBaseProps> { } +export = FaTerminal; diff --git a/types/react-icons/lib/fa/text-height.d.ts b/types/react-icons/lib/fa/text-height.d.ts index 69271e359f..ec3593b58c 100644 --- a/types/react-icons/lib/fa/text-height.d.ts +++ b/types/react-icons/lib/fa/text-height.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTextHeight extends React.Component<IconBaseProps> { } +declare class FaTextHeight extends React.Component<IconBaseProps> { } +export = FaTextHeight; diff --git a/types/react-icons/lib/fa/text-width.d.ts b/types/react-icons/lib/fa/text-width.d.ts index 820357df60..7bd6e24937 100644 --- a/types/react-icons/lib/fa/text-width.d.ts +++ b/types/react-icons/lib/fa/text-width.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTextWidth extends React.Component<IconBaseProps> { } +declare class FaTextWidth extends React.Component<IconBaseProps> { } +export = FaTextWidth; diff --git a/types/react-icons/lib/fa/th-large.d.ts b/types/react-icons/lib/fa/th-large.d.ts index f059da9990..bb2e218190 100644 --- a/types/react-icons/lib/fa/th-large.d.ts +++ b/types/react-icons/lib/fa/th-large.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaThLarge extends React.Component<IconBaseProps> { } +declare class FaThLarge extends React.Component<IconBaseProps> { } +export = FaThLarge; diff --git a/types/react-icons/lib/fa/th-list.d.ts b/types/react-icons/lib/fa/th-list.d.ts index 09ef167885..1fad0c7ba2 100644 --- a/types/react-icons/lib/fa/th-list.d.ts +++ b/types/react-icons/lib/fa/th-list.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaThList extends React.Component<IconBaseProps> { } +declare class FaThList extends React.Component<IconBaseProps> { } +export = FaThList; diff --git a/types/react-icons/lib/fa/th.d.ts b/types/react-icons/lib/fa/th.d.ts index 9d6674b5d3..f9694f9e41 100644 --- a/types/react-icons/lib/fa/th.d.ts +++ b/types/react-icons/lib/fa/th.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTh extends React.Component<IconBaseProps> { } +declare class FaTh extends React.Component<IconBaseProps> { } +export = FaTh; diff --git a/types/react-icons/lib/fa/thumb-tack.d.ts b/types/react-icons/lib/fa/thumb-tack.d.ts index b84e262f77..6b89d609ea 100644 --- a/types/react-icons/lib/fa/thumb-tack.d.ts +++ b/types/react-icons/lib/fa/thumb-tack.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaThumbTack extends React.Component<IconBaseProps> { } +declare class FaThumbTack extends React.Component<IconBaseProps> { } +export = FaThumbTack; diff --git a/types/react-icons/lib/fa/thumbs-down.d.ts b/types/react-icons/lib/fa/thumbs-down.d.ts index c684e7ad5c..8aebed82ca 100644 --- a/types/react-icons/lib/fa/thumbs-down.d.ts +++ b/types/react-icons/lib/fa/thumbs-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaThumbsDown extends React.Component<IconBaseProps> { } +declare class FaThumbsDown extends React.Component<IconBaseProps> { } +export = FaThumbsDown; diff --git a/types/react-icons/lib/fa/thumbs-o-down.d.ts b/types/react-icons/lib/fa/thumbs-o-down.d.ts index 0c9f640d18..734b175192 100644 --- a/types/react-icons/lib/fa/thumbs-o-down.d.ts +++ b/types/react-icons/lib/fa/thumbs-o-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaThumbsODown extends React.Component<IconBaseProps> { } +declare class FaThumbsODown extends React.Component<IconBaseProps> { } +export = FaThumbsODown; diff --git a/types/react-icons/lib/fa/thumbs-o-up.d.ts b/types/react-icons/lib/fa/thumbs-o-up.d.ts index 9d5a487ae1..f01dc5e4c7 100644 --- a/types/react-icons/lib/fa/thumbs-o-up.d.ts +++ b/types/react-icons/lib/fa/thumbs-o-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaThumbsOUp extends React.Component<IconBaseProps> { } +declare class FaThumbsOUp extends React.Component<IconBaseProps> { } +export = FaThumbsOUp; diff --git a/types/react-icons/lib/fa/thumbs-up.d.ts b/types/react-icons/lib/fa/thumbs-up.d.ts index 84348d3ac2..0ffa122424 100644 --- a/types/react-icons/lib/fa/thumbs-up.d.ts +++ b/types/react-icons/lib/fa/thumbs-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaThumbsUp extends React.Component<IconBaseProps> { } +declare class FaThumbsUp extends React.Component<IconBaseProps> { } +export = FaThumbsUp; diff --git a/types/react-icons/lib/fa/ticket.d.ts b/types/react-icons/lib/fa/ticket.d.ts index 275a38e4dd..897c6bdd5b 100644 --- a/types/react-icons/lib/fa/ticket.d.ts +++ b/types/react-icons/lib/fa/ticket.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTicket extends React.Component<IconBaseProps> { } +declare class FaTicket extends React.Component<IconBaseProps> { } +export = FaTicket; diff --git a/types/react-icons/lib/fa/times-circle-o.d.ts b/types/react-icons/lib/fa/times-circle-o.d.ts index 5a96466de6..66cf92eb25 100644 --- a/types/react-icons/lib/fa/times-circle-o.d.ts +++ b/types/react-icons/lib/fa/times-circle-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTimesCircleO extends React.Component<IconBaseProps> { } +declare class FaTimesCircleO extends React.Component<IconBaseProps> { } +export = FaTimesCircleO; diff --git a/types/react-icons/lib/fa/times-circle.d.ts b/types/react-icons/lib/fa/times-circle.d.ts index d73596cfb8..6a278a7af7 100644 --- a/types/react-icons/lib/fa/times-circle.d.ts +++ b/types/react-icons/lib/fa/times-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTimesCircle extends React.Component<IconBaseProps> { } +declare class FaTimesCircle extends React.Component<IconBaseProps> { } +export = FaTimesCircle; diff --git a/types/react-icons/lib/fa/tint.d.ts b/types/react-icons/lib/fa/tint.d.ts index b4155f948c..0c072a94d0 100644 --- a/types/react-icons/lib/fa/tint.d.ts +++ b/types/react-icons/lib/fa/tint.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTint extends React.Component<IconBaseProps> { } +declare class FaTint extends React.Component<IconBaseProps> { } +export = FaTint; diff --git a/types/react-icons/lib/fa/toggle-off.d.ts b/types/react-icons/lib/fa/toggle-off.d.ts index e4bd987307..f40e8262b0 100644 --- a/types/react-icons/lib/fa/toggle-off.d.ts +++ b/types/react-icons/lib/fa/toggle-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaToggleOff extends React.Component<IconBaseProps> { } +declare class FaToggleOff extends React.Component<IconBaseProps> { } +export = FaToggleOff; diff --git a/types/react-icons/lib/fa/toggle-on.d.ts b/types/react-icons/lib/fa/toggle-on.d.ts index 69324fdd13..facfa825d0 100644 --- a/types/react-icons/lib/fa/toggle-on.d.ts +++ b/types/react-icons/lib/fa/toggle-on.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaToggleOn extends React.Component<IconBaseProps> { } +declare class FaToggleOn extends React.Component<IconBaseProps> { } +export = FaToggleOn; diff --git a/types/react-icons/lib/fa/trademark.d.ts b/types/react-icons/lib/fa/trademark.d.ts index c8ddb8dbf6..19f3053e1b 100644 --- a/types/react-icons/lib/fa/trademark.d.ts +++ b/types/react-icons/lib/fa/trademark.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTrademark extends React.Component<IconBaseProps> { } +declare class FaTrademark extends React.Component<IconBaseProps> { } +export = FaTrademark; diff --git a/types/react-icons/lib/fa/train.d.ts b/types/react-icons/lib/fa/train.d.ts index a686d3a677..d6220f152e 100644 --- a/types/react-icons/lib/fa/train.d.ts +++ b/types/react-icons/lib/fa/train.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTrain extends React.Component<IconBaseProps> { } +declare class FaTrain extends React.Component<IconBaseProps> { } +export = FaTrain; diff --git a/types/react-icons/lib/fa/transgender-alt.d.ts b/types/react-icons/lib/fa/transgender-alt.d.ts index 0794285d19..9908511cfa 100644 --- a/types/react-icons/lib/fa/transgender-alt.d.ts +++ b/types/react-icons/lib/fa/transgender-alt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTransgenderAlt extends React.Component<IconBaseProps> { } +declare class FaTransgenderAlt extends React.Component<IconBaseProps> { } +export = FaTransgenderAlt; diff --git a/types/react-icons/lib/fa/trash-o.d.ts b/types/react-icons/lib/fa/trash-o.d.ts index c76a07e3f8..c4feb2f96e 100644 --- a/types/react-icons/lib/fa/trash-o.d.ts +++ b/types/react-icons/lib/fa/trash-o.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTrashO extends React.Component<IconBaseProps> { } +declare class FaTrashO extends React.Component<IconBaseProps> { } +export = FaTrashO; diff --git a/types/react-icons/lib/fa/trash.d.ts b/types/react-icons/lib/fa/trash.d.ts index f2f4ce4117..81360b601d 100644 --- a/types/react-icons/lib/fa/trash.d.ts +++ b/types/react-icons/lib/fa/trash.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTrash extends React.Component<IconBaseProps> { } +declare class FaTrash extends React.Component<IconBaseProps> { } +export = FaTrash; diff --git a/types/react-icons/lib/fa/tree.d.ts b/types/react-icons/lib/fa/tree.d.ts index 7b94f9f52e..60ef0e51dd 100644 --- a/types/react-icons/lib/fa/tree.d.ts +++ b/types/react-icons/lib/fa/tree.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTree extends React.Component<IconBaseProps> { } +declare class FaTree extends React.Component<IconBaseProps> { } +export = FaTree; diff --git a/types/react-icons/lib/fa/trello.d.ts b/types/react-icons/lib/fa/trello.d.ts index a231c272aa..8cdf39ce46 100644 --- a/types/react-icons/lib/fa/trello.d.ts +++ b/types/react-icons/lib/fa/trello.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTrello extends React.Component<IconBaseProps> { } +declare class FaTrello extends React.Component<IconBaseProps> { } +export = FaTrello; diff --git a/types/react-icons/lib/fa/tripadvisor.d.ts b/types/react-icons/lib/fa/tripadvisor.d.ts index 95ad22d7eb..2d3787a549 100644 --- a/types/react-icons/lib/fa/tripadvisor.d.ts +++ b/types/react-icons/lib/fa/tripadvisor.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTripadvisor extends React.Component<IconBaseProps> { } +declare class FaTripadvisor extends React.Component<IconBaseProps> { } +export = FaTripadvisor; diff --git a/types/react-icons/lib/fa/trophy.d.ts b/types/react-icons/lib/fa/trophy.d.ts index 48f48edec1..24833b8bdc 100644 --- a/types/react-icons/lib/fa/trophy.d.ts +++ b/types/react-icons/lib/fa/trophy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTrophy extends React.Component<IconBaseProps> { } +declare class FaTrophy extends React.Component<IconBaseProps> { } +export = FaTrophy; diff --git a/types/react-icons/lib/fa/truck.d.ts b/types/react-icons/lib/fa/truck.d.ts index 00bc370441..a2e0768d49 100644 --- a/types/react-icons/lib/fa/truck.d.ts +++ b/types/react-icons/lib/fa/truck.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTruck extends React.Component<IconBaseProps> { } +declare class FaTruck extends React.Component<IconBaseProps> { } +export = FaTruck; diff --git a/types/react-icons/lib/fa/try.d.ts b/types/react-icons/lib/fa/try.d.ts index fa4492d24b..1af849b3d9 100644 --- a/types/react-icons/lib/fa/try.d.ts +++ b/types/react-icons/lib/fa/try.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTry extends React.Component<IconBaseProps> { } +declare class FaTry extends React.Component<IconBaseProps> { } +export = FaTry; diff --git a/types/react-icons/lib/fa/tty.d.ts b/types/react-icons/lib/fa/tty.d.ts index 76ec94f74e..ff3436e8ef 100644 --- a/types/react-icons/lib/fa/tty.d.ts +++ b/types/react-icons/lib/fa/tty.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTty extends React.Component<IconBaseProps> { } +declare class FaTty extends React.Component<IconBaseProps> { } +export = FaTty; diff --git a/types/react-icons/lib/fa/tumblr-square.d.ts b/types/react-icons/lib/fa/tumblr-square.d.ts index 2bf15bf460..a83b269822 100644 --- a/types/react-icons/lib/fa/tumblr-square.d.ts +++ b/types/react-icons/lib/fa/tumblr-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTumblrSquare extends React.Component<IconBaseProps> { } +declare class FaTumblrSquare extends React.Component<IconBaseProps> { } +export = FaTumblrSquare; diff --git a/types/react-icons/lib/fa/tumblr.d.ts b/types/react-icons/lib/fa/tumblr.d.ts index c60ae76806..57c62ede41 100644 --- a/types/react-icons/lib/fa/tumblr.d.ts +++ b/types/react-icons/lib/fa/tumblr.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTumblr extends React.Component<IconBaseProps> { } +declare class FaTumblr extends React.Component<IconBaseProps> { } +export = FaTumblr; diff --git a/types/react-icons/lib/fa/twitch.d.ts b/types/react-icons/lib/fa/twitch.d.ts index 3e46ebac6c..7bb9fb61f2 100644 --- a/types/react-icons/lib/fa/twitch.d.ts +++ b/types/react-icons/lib/fa/twitch.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTwitch extends React.Component<IconBaseProps> { } +declare class FaTwitch extends React.Component<IconBaseProps> { } +export = FaTwitch; diff --git a/types/react-icons/lib/fa/twitter-square.d.ts b/types/react-icons/lib/fa/twitter-square.d.ts index fb77d182e6..3d1eea2b7a 100644 --- a/types/react-icons/lib/fa/twitter-square.d.ts +++ b/types/react-icons/lib/fa/twitter-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTwitterSquare extends React.Component<IconBaseProps> { } +declare class FaTwitterSquare extends React.Component<IconBaseProps> { } +export = FaTwitterSquare; diff --git a/types/react-icons/lib/fa/twitter.d.ts b/types/react-icons/lib/fa/twitter.d.ts index e3d5259918..99d6f50e59 100644 --- a/types/react-icons/lib/fa/twitter.d.ts +++ b/types/react-icons/lib/fa/twitter.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaTwitter extends React.Component<IconBaseProps> { } +declare class FaTwitter extends React.Component<IconBaseProps> { } +export = FaTwitter; diff --git a/types/react-icons/lib/fa/umbrella.d.ts b/types/react-icons/lib/fa/umbrella.d.ts index 74fefd9404..9f693678b6 100644 --- a/types/react-icons/lib/fa/umbrella.d.ts +++ b/types/react-icons/lib/fa/umbrella.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaUmbrella extends React.Component<IconBaseProps> { } +declare class FaUmbrella extends React.Component<IconBaseProps> { } +export = FaUmbrella; diff --git a/types/react-icons/lib/fa/underline.d.ts b/types/react-icons/lib/fa/underline.d.ts index af907eba18..9ed692f7ee 100644 --- a/types/react-icons/lib/fa/underline.d.ts +++ b/types/react-icons/lib/fa/underline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaUnderline extends React.Component<IconBaseProps> { } +declare class FaUnderline extends React.Component<IconBaseProps> { } +export = FaUnderline; diff --git a/types/react-icons/lib/fa/universal-access.d.ts b/types/react-icons/lib/fa/universal-access.d.ts index a02ba6c3be..5faf0a08df 100644 --- a/types/react-icons/lib/fa/universal-access.d.ts +++ b/types/react-icons/lib/fa/universal-access.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaUniversalAccess extends React.Component<IconBaseProps> { } +declare class FaUniversalAccess extends React.Component<IconBaseProps> { } +export = FaUniversalAccess; diff --git a/types/react-icons/lib/fa/unlock-alt.d.ts b/types/react-icons/lib/fa/unlock-alt.d.ts index 9d84986727..a611a062ec 100644 --- a/types/react-icons/lib/fa/unlock-alt.d.ts +++ b/types/react-icons/lib/fa/unlock-alt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaUnlockAlt extends React.Component<IconBaseProps> { } +declare class FaUnlockAlt extends React.Component<IconBaseProps> { } +export = FaUnlockAlt; diff --git a/types/react-icons/lib/fa/unlock.d.ts b/types/react-icons/lib/fa/unlock.d.ts index 5b1979f0cd..c1ecdfe0b4 100644 --- a/types/react-icons/lib/fa/unlock.d.ts +++ b/types/react-icons/lib/fa/unlock.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaUnlock extends React.Component<IconBaseProps> { } +declare class FaUnlock extends React.Component<IconBaseProps> { } +export = FaUnlock; diff --git a/types/react-icons/lib/fa/upload.d.ts b/types/react-icons/lib/fa/upload.d.ts index 566ab8a65d..56b379f32c 100644 --- a/types/react-icons/lib/fa/upload.d.ts +++ b/types/react-icons/lib/fa/upload.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaUpload extends React.Component<IconBaseProps> { } +declare class FaUpload extends React.Component<IconBaseProps> { } +export = FaUpload; diff --git a/types/react-icons/lib/fa/usb.d.ts b/types/react-icons/lib/fa/usb.d.ts index 6ca16d94e8..dcf434b5e3 100644 --- a/types/react-icons/lib/fa/usb.d.ts +++ b/types/react-icons/lib/fa/usb.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaUsb extends React.Component<IconBaseProps> { } +declare class FaUsb extends React.Component<IconBaseProps> { } +export = FaUsb; diff --git a/types/react-icons/lib/fa/user-md.d.ts b/types/react-icons/lib/fa/user-md.d.ts index 0d6f2d9781..4250285358 100644 --- a/types/react-icons/lib/fa/user-md.d.ts +++ b/types/react-icons/lib/fa/user-md.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaUserMd extends React.Component<IconBaseProps> { } +declare class FaUserMd extends React.Component<IconBaseProps> { } +export = FaUserMd; diff --git a/types/react-icons/lib/fa/user-plus.d.ts b/types/react-icons/lib/fa/user-plus.d.ts index 659b2ecb13..90fc8b99da 100644 --- a/types/react-icons/lib/fa/user-plus.d.ts +++ b/types/react-icons/lib/fa/user-plus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaUserPlus extends React.Component<IconBaseProps> { } +declare class FaUserPlus extends React.Component<IconBaseProps> { } +export = FaUserPlus; diff --git a/types/react-icons/lib/fa/user-secret.d.ts b/types/react-icons/lib/fa/user-secret.d.ts index 43bf4e4ac3..154cf32bf3 100644 --- a/types/react-icons/lib/fa/user-secret.d.ts +++ b/types/react-icons/lib/fa/user-secret.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaUserSecret extends React.Component<IconBaseProps> { } +declare class FaUserSecret extends React.Component<IconBaseProps> { } +export = FaUserSecret; diff --git a/types/react-icons/lib/fa/user-times.d.ts b/types/react-icons/lib/fa/user-times.d.ts index d235fd5463..c317fd3c0f 100644 --- a/types/react-icons/lib/fa/user-times.d.ts +++ b/types/react-icons/lib/fa/user-times.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaUserTimes extends React.Component<IconBaseProps> { } +declare class FaUserTimes extends React.Component<IconBaseProps> { } +export = FaUserTimes; diff --git a/types/react-icons/lib/fa/user.d.ts b/types/react-icons/lib/fa/user.d.ts index cf7b5ac689..9267b99851 100644 --- a/types/react-icons/lib/fa/user.d.ts +++ b/types/react-icons/lib/fa/user.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaUser extends React.Component<IconBaseProps> { } +declare class FaUser extends React.Component<IconBaseProps> { } +export = FaUser; diff --git a/types/react-icons/lib/fa/venus-double.d.ts b/types/react-icons/lib/fa/venus-double.d.ts index 5a3602b516..303aa8e94f 100644 --- a/types/react-icons/lib/fa/venus-double.d.ts +++ b/types/react-icons/lib/fa/venus-double.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaVenusDouble extends React.Component<IconBaseProps> { } +declare class FaVenusDouble extends React.Component<IconBaseProps> { } +export = FaVenusDouble; diff --git a/types/react-icons/lib/fa/venus-mars.d.ts b/types/react-icons/lib/fa/venus-mars.d.ts index 70d7448d7e..528d6fb07d 100644 --- a/types/react-icons/lib/fa/venus-mars.d.ts +++ b/types/react-icons/lib/fa/venus-mars.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaVenusMars extends React.Component<IconBaseProps> { } +declare class FaVenusMars extends React.Component<IconBaseProps> { } +export = FaVenusMars; diff --git a/types/react-icons/lib/fa/venus.d.ts b/types/react-icons/lib/fa/venus.d.ts index e80ab6053c..a36a82d280 100644 --- a/types/react-icons/lib/fa/venus.d.ts +++ b/types/react-icons/lib/fa/venus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaVenus extends React.Component<IconBaseProps> { } +declare class FaVenus extends React.Component<IconBaseProps> { } +export = FaVenus; diff --git a/types/react-icons/lib/fa/viacoin.d.ts b/types/react-icons/lib/fa/viacoin.d.ts index c9f1bef6f3..aef66b99c0 100644 --- a/types/react-icons/lib/fa/viacoin.d.ts +++ b/types/react-icons/lib/fa/viacoin.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaViacoin extends React.Component<IconBaseProps> { } +declare class FaViacoin extends React.Component<IconBaseProps> { } +export = FaViacoin; diff --git a/types/react-icons/lib/fa/viadeo-square.d.ts b/types/react-icons/lib/fa/viadeo-square.d.ts index 7f10d8302f..1e48563584 100644 --- a/types/react-icons/lib/fa/viadeo-square.d.ts +++ b/types/react-icons/lib/fa/viadeo-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaViadeoSquare extends React.Component<IconBaseProps> { } +declare class FaViadeoSquare extends React.Component<IconBaseProps> { } +export = FaViadeoSquare; diff --git a/types/react-icons/lib/fa/viadeo.d.ts b/types/react-icons/lib/fa/viadeo.d.ts index 551545f5cc..dd10eb198e 100644 --- a/types/react-icons/lib/fa/viadeo.d.ts +++ b/types/react-icons/lib/fa/viadeo.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaViadeo extends React.Component<IconBaseProps> { } +declare class FaViadeo extends React.Component<IconBaseProps> { } +export = FaViadeo; diff --git a/types/react-icons/lib/fa/video-camera.d.ts b/types/react-icons/lib/fa/video-camera.d.ts index f3cf036582..48830c332c 100644 --- a/types/react-icons/lib/fa/video-camera.d.ts +++ b/types/react-icons/lib/fa/video-camera.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaVideoCamera extends React.Component<IconBaseProps> { } +declare class FaVideoCamera extends React.Component<IconBaseProps> { } +export = FaVideoCamera; diff --git a/types/react-icons/lib/fa/vimeo-square.d.ts b/types/react-icons/lib/fa/vimeo-square.d.ts index 9b0357e7ca..c9d881981d 100644 --- a/types/react-icons/lib/fa/vimeo-square.d.ts +++ b/types/react-icons/lib/fa/vimeo-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaVimeoSquare extends React.Component<IconBaseProps> { } +declare class FaVimeoSquare extends React.Component<IconBaseProps> { } +export = FaVimeoSquare; diff --git a/types/react-icons/lib/fa/vimeo.d.ts b/types/react-icons/lib/fa/vimeo.d.ts index 7331ef98e8..a4928a0abc 100644 --- a/types/react-icons/lib/fa/vimeo.d.ts +++ b/types/react-icons/lib/fa/vimeo.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaVimeo extends React.Component<IconBaseProps> { } +declare class FaVimeo extends React.Component<IconBaseProps> { } +export = FaVimeo; diff --git a/types/react-icons/lib/fa/vine.d.ts b/types/react-icons/lib/fa/vine.d.ts index b329619d15..b99a2d39e8 100644 --- a/types/react-icons/lib/fa/vine.d.ts +++ b/types/react-icons/lib/fa/vine.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaVine extends React.Component<IconBaseProps> { } +declare class FaVine extends React.Component<IconBaseProps> { } +export = FaVine; diff --git a/types/react-icons/lib/fa/vk.d.ts b/types/react-icons/lib/fa/vk.d.ts index 07b3cdb5a9..7851cdc69d 100644 --- a/types/react-icons/lib/fa/vk.d.ts +++ b/types/react-icons/lib/fa/vk.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaVk extends React.Component<IconBaseProps> { } +declare class FaVk extends React.Component<IconBaseProps> { } +export = FaVk; diff --git a/types/react-icons/lib/fa/volume-control-phone.d.ts b/types/react-icons/lib/fa/volume-control-phone.d.ts index 5212a54d80..6d23707c00 100644 --- a/types/react-icons/lib/fa/volume-control-phone.d.ts +++ b/types/react-icons/lib/fa/volume-control-phone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaVolumeControlPhone extends React.Component<IconBaseProps> { } +declare class FaVolumeControlPhone extends React.Component<IconBaseProps> { } +export = FaVolumeControlPhone; diff --git a/types/react-icons/lib/fa/volume-down.d.ts b/types/react-icons/lib/fa/volume-down.d.ts index 31c63f8901..7ccbf7d5f2 100644 --- a/types/react-icons/lib/fa/volume-down.d.ts +++ b/types/react-icons/lib/fa/volume-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaVolumeDown extends React.Component<IconBaseProps> { } +declare class FaVolumeDown extends React.Component<IconBaseProps> { } +export = FaVolumeDown; diff --git a/types/react-icons/lib/fa/volume-off.d.ts b/types/react-icons/lib/fa/volume-off.d.ts index c0e0d7605e..e51c9049b9 100644 --- a/types/react-icons/lib/fa/volume-off.d.ts +++ b/types/react-icons/lib/fa/volume-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaVolumeOff extends React.Component<IconBaseProps> { } +declare class FaVolumeOff extends React.Component<IconBaseProps> { } +export = FaVolumeOff; diff --git a/types/react-icons/lib/fa/volume-up.d.ts b/types/react-icons/lib/fa/volume-up.d.ts index 957cdc648b..645bb02c6e 100644 --- a/types/react-icons/lib/fa/volume-up.d.ts +++ b/types/react-icons/lib/fa/volume-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaVolumeUp extends React.Component<IconBaseProps> { } +declare class FaVolumeUp extends React.Component<IconBaseProps> { } +export = FaVolumeUp; diff --git a/types/react-icons/lib/fa/wechat.d.ts b/types/react-icons/lib/fa/wechat.d.ts index 35b902956e..717b59bcac 100644 --- a/types/react-icons/lib/fa/wechat.d.ts +++ b/types/react-icons/lib/fa/wechat.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaWechat extends React.Component<IconBaseProps> { } +declare class FaWechat extends React.Component<IconBaseProps> { } +export = FaWechat; diff --git a/types/react-icons/lib/fa/weibo.d.ts b/types/react-icons/lib/fa/weibo.d.ts index afbebd68a5..3025097a79 100644 --- a/types/react-icons/lib/fa/weibo.d.ts +++ b/types/react-icons/lib/fa/weibo.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaWeibo extends React.Component<IconBaseProps> { } +declare class FaWeibo extends React.Component<IconBaseProps> { } +export = FaWeibo; diff --git a/types/react-icons/lib/fa/whatsapp.d.ts b/types/react-icons/lib/fa/whatsapp.d.ts index d4491b527e..0e6bda62ea 100644 --- a/types/react-icons/lib/fa/whatsapp.d.ts +++ b/types/react-icons/lib/fa/whatsapp.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaWhatsapp extends React.Component<IconBaseProps> { } +declare class FaWhatsapp extends React.Component<IconBaseProps> { } +export = FaWhatsapp; diff --git a/types/react-icons/lib/fa/wheelchair-alt.d.ts b/types/react-icons/lib/fa/wheelchair-alt.d.ts index beb76b7b56..dc1abda0b6 100644 --- a/types/react-icons/lib/fa/wheelchair-alt.d.ts +++ b/types/react-icons/lib/fa/wheelchair-alt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaWheelchairAlt extends React.Component<IconBaseProps> { } +declare class FaWheelchairAlt extends React.Component<IconBaseProps> { } +export = FaWheelchairAlt; diff --git a/types/react-icons/lib/fa/wheelchair.d.ts b/types/react-icons/lib/fa/wheelchair.d.ts index b93d14b52d..ddbb4b4ac3 100644 --- a/types/react-icons/lib/fa/wheelchair.d.ts +++ b/types/react-icons/lib/fa/wheelchair.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaWheelchair extends React.Component<IconBaseProps> { } +declare class FaWheelchair extends React.Component<IconBaseProps> { } +export = FaWheelchair; diff --git a/types/react-icons/lib/fa/wifi.d.ts b/types/react-icons/lib/fa/wifi.d.ts index 001d3cfc85..588ada2e51 100644 --- a/types/react-icons/lib/fa/wifi.d.ts +++ b/types/react-icons/lib/fa/wifi.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaWifi extends React.Component<IconBaseProps> { } +declare class FaWifi extends React.Component<IconBaseProps> { } +export = FaWifi; diff --git a/types/react-icons/lib/fa/wikipedia-w.d.ts b/types/react-icons/lib/fa/wikipedia-w.d.ts index 279a74f1af..6403e0d3d5 100644 --- a/types/react-icons/lib/fa/wikipedia-w.d.ts +++ b/types/react-icons/lib/fa/wikipedia-w.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaWikipediaW extends React.Component<IconBaseProps> { } +declare class FaWikipediaW extends React.Component<IconBaseProps> { } +export = FaWikipediaW; diff --git a/types/react-icons/lib/fa/windows.d.ts b/types/react-icons/lib/fa/windows.d.ts index 7e201a440e..7f753ad855 100644 --- a/types/react-icons/lib/fa/windows.d.ts +++ b/types/react-icons/lib/fa/windows.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaWindows extends React.Component<IconBaseProps> { } +declare class FaWindows extends React.Component<IconBaseProps> { } +export = FaWindows; diff --git a/types/react-icons/lib/fa/wordpress.d.ts b/types/react-icons/lib/fa/wordpress.d.ts index 6419cd1638..8233d1d08c 100644 --- a/types/react-icons/lib/fa/wordpress.d.ts +++ b/types/react-icons/lib/fa/wordpress.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaWordpress extends React.Component<IconBaseProps> { } +declare class FaWordpress extends React.Component<IconBaseProps> { } +export = FaWordpress; diff --git a/types/react-icons/lib/fa/wpbeginner.d.ts b/types/react-icons/lib/fa/wpbeginner.d.ts index cccbdae9db..153271dd71 100644 --- a/types/react-icons/lib/fa/wpbeginner.d.ts +++ b/types/react-icons/lib/fa/wpbeginner.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaWpbeginner extends React.Component<IconBaseProps> { } +declare class FaWpbeginner extends React.Component<IconBaseProps> { } +export = FaWpbeginner; diff --git a/types/react-icons/lib/fa/wpforms.d.ts b/types/react-icons/lib/fa/wpforms.d.ts index 1ec4e76460..a832827f4f 100644 --- a/types/react-icons/lib/fa/wpforms.d.ts +++ b/types/react-icons/lib/fa/wpforms.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaWpforms extends React.Component<IconBaseProps> { } +declare class FaWpforms extends React.Component<IconBaseProps> { } +export = FaWpforms; diff --git a/types/react-icons/lib/fa/wrench.d.ts b/types/react-icons/lib/fa/wrench.d.ts index 0264b8d26b..8e0c85b7d1 100644 --- a/types/react-icons/lib/fa/wrench.d.ts +++ b/types/react-icons/lib/fa/wrench.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaWrench extends React.Component<IconBaseProps> { } +declare class FaWrench extends React.Component<IconBaseProps> { } +export = FaWrench; diff --git a/types/react-icons/lib/fa/xing-square.d.ts b/types/react-icons/lib/fa/xing-square.d.ts index 5f462112ea..91b9a2c908 100644 --- a/types/react-icons/lib/fa/xing-square.d.ts +++ b/types/react-icons/lib/fa/xing-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaXingSquare extends React.Component<IconBaseProps> { } +declare class FaXingSquare extends React.Component<IconBaseProps> { } +export = FaXingSquare; diff --git a/types/react-icons/lib/fa/xing.d.ts b/types/react-icons/lib/fa/xing.d.ts index 1974b8c345..a01172d7fe 100644 --- a/types/react-icons/lib/fa/xing.d.ts +++ b/types/react-icons/lib/fa/xing.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaXing extends React.Component<IconBaseProps> { } +declare class FaXing extends React.Component<IconBaseProps> { } +export = FaXing; diff --git a/types/react-icons/lib/fa/y-combinator.d.ts b/types/react-icons/lib/fa/y-combinator.d.ts index 00fbccab76..f1df30eaa6 100644 --- a/types/react-icons/lib/fa/y-combinator.d.ts +++ b/types/react-icons/lib/fa/y-combinator.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaYCombinator extends React.Component<IconBaseProps> { } +declare class FaYCombinator extends React.Component<IconBaseProps> { } +export = FaYCombinator; diff --git a/types/react-icons/lib/fa/yahoo.d.ts b/types/react-icons/lib/fa/yahoo.d.ts index 20c14e5e13..9012569101 100644 --- a/types/react-icons/lib/fa/yahoo.d.ts +++ b/types/react-icons/lib/fa/yahoo.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaYahoo extends React.Component<IconBaseProps> { } +declare class FaYahoo extends React.Component<IconBaseProps> { } +export = FaYahoo; diff --git a/types/react-icons/lib/fa/yelp.d.ts b/types/react-icons/lib/fa/yelp.d.ts index 72ade5360d..d0f6add472 100644 --- a/types/react-icons/lib/fa/yelp.d.ts +++ b/types/react-icons/lib/fa/yelp.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaYelp extends React.Component<IconBaseProps> { } +declare class FaYelp extends React.Component<IconBaseProps> { } +export = FaYelp; diff --git a/types/react-icons/lib/fa/youtube-play.d.ts b/types/react-icons/lib/fa/youtube-play.d.ts index f1829960cf..91a5d66658 100644 --- a/types/react-icons/lib/fa/youtube-play.d.ts +++ b/types/react-icons/lib/fa/youtube-play.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaYoutubePlay extends React.Component<IconBaseProps> { } +declare class FaYoutubePlay extends React.Component<IconBaseProps> { } +export = FaYoutubePlay; diff --git a/types/react-icons/lib/fa/youtube-square.d.ts b/types/react-icons/lib/fa/youtube-square.d.ts index c0ccac4e45..81ad16b87c 100644 --- a/types/react-icons/lib/fa/youtube-square.d.ts +++ b/types/react-icons/lib/fa/youtube-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaYoutubeSquare extends React.Component<IconBaseProps> { } +declare class FaYoutubeSquare extends React.Component<IconBaseProps> { } +export = FaYoutubeSquare; diff --git a/types/react-icons/lib/fa/youtube.d.ts b/types/react-icons/lib/fa/youtube.d.ts index 7aee8011f5..0c683aea91 100644 --- a/types/react-icons/lib/fa/youtube.d.ts +++ b/types/react-icons/lib/fa/youtube.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class FaYoutube extends React.Component<IconBaseProps> { } +declare class FaYoutube extends React.Component<IconBaseProps> { } +export = FaYoutube; diff --git a/types/react-icons/lib/go/alert.d.ts b/types/react-icons/lib/go/alert.d.ts index 7380b75f13..8aef8e961b 100644 --- a/types/react-icons/lib/go/alert.d.ts +++ b/types/react-icons/lib/go/alert.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoAlert extends React.Component<IconBaseProps> { } +declare class GoAlert extends React.Component<IconBaseProps> { } +export = GoAlert; diff --git a/types/react-icons/lib/go/alignment-align.d.ts b/types/react-icons/lib/go/alignment-align.d.ts index b0279982e2..43132f6c6a 100644 --- a/types/react-icons/lib/go/alignment-align.d.ts +++ b/types/react-icons/lib/go/alignment-align.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoAlignmentAlign extends React.Component<IconBaseProps> { } +declare class GoAlignmentAlign extends React.Component<IconBaseProps> { } +export = GoAlignmentAlign; diff --git a/types/react-icons/lib/go/alignment-aligned-to.d.ts b/types/react-icons/lib/go/alignment-aligned-to.d.ts index 4d42f9aff5..9aad06232d 100644 --- a/types/react-icons/lib/go/alignment-aligned-to.d.ts +++ b/types/react-icons/lib/go/alignment-aligned-to.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoAlignmentAlignedTo extends React.Component<IconBaseProps> { } +declare class GoAlignmentAlignedTo extends React.Component<IconBaseProps> { } +export = GoAlignmentAlignedTo; diff --git a/types/react-icons/lib/go/alignment-unalign.d.ts b/types/react-icons/lib/go/alignment-unalign.d.ts index fcc4e84501..76e3d0701b 100644 --- a/types/react-icons/lib/go/alignment-unalign.d.ts +++ b/types/react-icons/lib/go/alignment-unalign.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoAlignmentUnalign extends React.Component<IconBaseProps> { } +declare class GoAlignmentUnalign extends React.Component<IconBaseProps> { } +export = GoAlignmentUnalign; diff --git a/types/react-icons/lib/go/arrow-down.d.ts b/types/react-icons/lib/go/arrow-down.d.ts index 88395ee5f4..065d81a32c 100644 --- a/types/react-icons/lib/go/arrow-down.d.ts +++ b/types/react-icons/lib/go/arrow-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoArrowDown extends React.Component<IconBaseProps> { } +declare class GoArrowDown extends React.Component<IconBaseProps> { } +export = GoArrowDown; diff --git a/types/react-icons/lib/go/arrow-left.d.ts b/types/react-icons/lib/go/arrow-left.d.ts index 4bbebb5f65..341cada9b5 100644 --- a/types/react-icons/lib/go/arrow-left.d.ts +++ b/types/react-icons/lib/go/arrow-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoArrowLeft extends React.Component<IconBaseProps> { } +declare class GoArrowLeft extends React.Component<IconBaseProps> { } +export = GoArrowLeft; diff --git a/types/react-icons/lib/go/arrow-right.d.ts b/types/react-icons/lib/go/arrow-right.d.ts index 484a4f9317..f3329ea8f5 100644 --- a/types/react-icons/lib/go/arrow-right.d.ts +++ b/types/react-icons/lib/go/arrow-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoArrowRight extends React.Component<IconBaseProps> { } +declare class GoArrowRight extends React.Component<IconBaseProps> { } +export = GoArrowRight; diff --git a/types/react-icons/lib/go/arrow-small-down.d.ts b/types/react-icons/lib/go/arrow-small-down.d.ts index d4aa907034..764e8a0445 100644 --- a/types/react-icons/lib/go/arrow-small-down.d.ts +++ b/types/react-icons/lib/go/arrow-small-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoArrowSmallDown extends React.Component<IconBaseProps> { } +declare class GoArrowSmallDown extends React.Component<IconBaseProps> { } +export = GoArrowSmallDown; diff --git a/types/react-icons/lib/go/arrow-small-left.d.ts b/types/react-icons/lib/go/arrow-small-left.d.ts index a3700b5837..2df8a30523 100644 --- a/types/react-icons/lib/go/arrow-small-left.d.ts +++ b/types/react-icons/lib/go/arrow-small-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoArrowSmallLeft extends React.Component<IconBaseProps> { } +declare class GoArrowSmallLeft extends React.Component<IconBaseProps> { } +export = GoArrowSmallLeft; diff --git a/types/react-icons/lib/go/arrow-small-right.d.ts b/types/react-icons/lib/go/arrow-small-right.d.ts index 0ada4d71ee..5d8ff51263 100644 --- a/types/react-icons/lib/go/arrow-small-right.d.ts +++ b/types/react-icons/lib/go/arrow-small-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoArrowSmallRight extends React.Component<IconBaseProps> { } +declare class GoArrowSmallRight extends React.Component<IconBaseProps> { } +export = GoArrowSmallRight; diff --git a/types/react-icons/lib/go/arrow-small-up.d.ts b/types/react-icons/lib/go/arrow-small-up.d.ts index 2bd6cdb4f3..cdcf14f8b5 100644 --- a/types/react-icons/lib/go/arrow-small-up.d.ts +++ b/types/react-icons/lib/go/arrow-small-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoArrowSmallUp extends React.Component<IconBaseProps> { } +declare class GoArrowSmallUp extends React.Component<IconBaseProps> { } +export = GoArrowSmallUp; diff --git a/types/react-icons/lib/go/arrow-up.d.ts b/types/react-icons/lib/go/arrow-up.d.ts index 67a6866297..7fc9d7b6f7 100644 --- a/types/react-icons/lib/go/arrow-up.d.ts +++ b/types/react-icons/lib/go/arrow-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoArrowUp extends React.Component<IconBaseProps> { } +declare class GoArrowUp extends React.Component<IconBaseProps> { } +export = GoArrowUp; diff --git a/types/react-icons/lib/go/beer.d.ts b/types/react-icons/lib/go/beer.d.ts index 71baf9a3ac..1bd6a0bcea 100644 --- a/types/react-icons/lib/go/beer.d.ts +++ b/types/react-icons/lib/go/beer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoBeer extends React.Component<IconBaseProps> { } +declare class GoBeer extends React.Component<IconBaseProps> { } +export = GoBeer; diff --git a/types/react-icons/lib/go/book.d.ts b/types/react-icons/lib/go/book.d.ts index cd181328b6..51a7772680 100644 --- a/types/react-icons/lib/go/book.d.ts +++ b/types/react-icons/lib/go/book.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoBook extends React.Component<IconBaseProps> { } +declare class GoBook extends React.Component<IconBaseProps> { } +export = GoBook; diff --git a/types/react-icons/lib/go/bookmark.d.ts b/types/react-icons/lib/go/bookmark.d.ts index d3b156181f..8fa0cd40fa 100644 --- a/types/react-icons/lib/go/bookmark.d.ts +++ b/types/react-icons/lib/go/bookmark.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoBookmark extends React.Component<IconBaseProps> { } +declare class GoBookmark extends React.Component<IconBaseProps> { } +export = GoBookmark; diff --git a/types/react-icons/lib/go/briefcase.d.ts b/types/react-icons/lib/go/briefcase.d.ts index 984092ba9b..3079133875 100644 --- a/types/react-icons/lib/go/briefcase.d.ts +++ b/types/react-icons/lib/go/briefcase.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoBriefcase extends React.Component<IconBaseProps> { } +declare class GoBriefcase extends React.Component<IconBaseProps> { } +export = GoBriefcase; diff --git a/types/react-icons/lib/go/broadcast.d.ts b/types/react-icons/lib/go/broadcast.d.ts index 6c40834a02..084c84f78c 100644 --- a/types/react-icons/lib/go/broadcast.d.ts +++ b/types/react-icons/lib/go/broadcast.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoBroadcast extends React.Component<IconBaseProps> { } +declare class GoBroadcast extends React.Component<IconBaseProps> { } +export = GoBroadcast; diff --git a/types/react-icons/lib/go/browser.d.ts b/types/react-icons/lib/go/browser.d.ts index c268f36ec0..beca5e62c5 100644 --- a/types/react-icons/lib/go/browser.d.ts +++ b/types/react-icons/lib/go/browser.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoBrowser extends React.Component<IconBaseProps> { } +declare class GoBrowser extends React.Component<IconBaseProps> { } +export = GoBrowser; diff --git a/types/react-icons/lib/go/bug.d.ts b/types/react-icons/lib/go/bug.d.ts index 8159ff886d..22adaa0d16 100644 --- a/types/react-icons/lib/go/bug.d.ts +++ b/types/react-icons/lib/go/bug.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoBug extends React.Component<IconBaseProps> { } +declare class GoBug extends React.Component<IconBaseProps> { } +export = GoBug; diff --git a/types/react-icons/lib/go/calendar.d.ts b/types/react-icons/lib/go/calendar.d.ts index 5c52a2bf67..120a146e51 100644 --- a/types/react-icons/lib/go/calendar.d.ts +++ b/types/react-icons/lib/go/calendar.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoCalendar extends React.Component<IconBaseProps> { } +declare class GoCalendar extends React.Component<IconBaseProps> { } +export = GoCalendar; diff --git a/types/react-icons/lib/go/check.d.ts b/types/react-icons/lib/go/check.d.ts index f1f9c1536b..9222f5e01c 100644 --- a/types/react-icons/lib/go/check.d.ts +++ b/types/react-icons/lib/go/check.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoCheck extends React.Component<IconBaseProps> { } +declare class GoCheck extends React.Component<IconBaseProps> { } +export = GoCheck; diff --git a/types/react-icons/lib/go/checklist.d.ts b/types/react-icons/lib/go/checklist.d.ts index e1bfc3a76e..f94396328b 100644 --- a/types/react-icons/lib/go/checklist.d.ts +++ b/types/react-icons/lib/go/checklist.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoChecklist extends React.Component<IconBaseProps> { } +declare class GoChecklist extends React.Component<IconBaseProps> { } +export = GoChecklist; diff --git a/types/react-icons/lib/go/chevron-down.d.ts b/types/react-icons/lib/go/chevron-down.d.ts index 4879ed7129..8e2e05efc0 100644 --- a/types/react-icons/lib/go/chevron-down.d.ts +++ b/types/react-icons/lib/go/chevron-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoChevronDown extends React.Component<IconBaseProps> { } +declare class GoChevronDown extends React.Component<IconBaseProps> { } +export = GoChevronDown; diff --git a/types/react-icons/lib/go/chevron-left.d.ts b/types/react-icons/lib/go/chevron-left.d.ts index 36a6c0f96a..2d35c85701 100644 --- a/types/react-icons/lib/go/chevron-left.d.ts +++ b/types/react-icons/lib/go/chevron-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoChevronLeft extends React.Component<IconBaseProps> { } +declare class GoChevronLeft extends React.Component<IconBaseProps> { } +export = GoChevronLeft; diff --git a/types/react-icons/lib/go/chevron-right.d.ts b/types/react-icons/lib/go/chevron-right.d.ts index 55e19d951a..785db2e7df 100644 --- a/types/react-icons/lib/go/chevron-right.d.ts +++ b/types/react-icons/lib/go/chevron-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoChevronRight extends React.Component<IconBaseProps> { } +declare class GoChevronRight extends React.Component<IconBaseProps> { } +export = GoChevronRight; diff --git a/types/react-icons/lib/go/chevron-up.d.ts b/types/react-icons/lib/go/chevron-up.d.ts index 2eba9e55c4..3e2a2fba3f 100644 --- a/types/react-icons/lib/go/chevron-up.d.ts +++ b/types/react-icons/lib/go/chevron-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoChevronUp extends React.Component<IconBaseProps> { } +declare class GoChevronUp extends React.Component<IconBaseProps> { } +export = GoChevronUp; diff --git a/types/react-icons/lib/go/circle-slash.d.ts b/types/react-icons/lib/go/circle-slash.d.ts index 4400a217f6..f600dddd01 100644 --- a/types/react-icons/lib/go/circle-slash.d.ts +++ b/types/react-icons/lib/go/circle-slash.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoCircleSlash extends React.Component<IconBaseProps> { } +declare class GoCircleSlash extends React.Component<IconBaseProps> { } +export = GoCircleSlash; diff --git a/types/react-icons/lib/go/circuit-board.d.ts b/types/react-icons/lib/go/circuit-board.d.ts index 396c2dc8e8..ca480fbb1e 100644 --- a/types/react-icons/lib/go/circuit-board.d.ts +++ b/types/react-icons/lib/go/circuit-board.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoCircuitBoard extends React.Component<IconBaseProps> { } +declare class GoCircuitBoard extends React.Component<IconBaseProps> { } +export = GoCircuitBoard; diff --git a/types/react-icons/lib/go/clippy.d.ts b/types/react-icons/lib/go/clippy.d.ts index 3483e7754e..56be220e23 100644 --- a/types/react-icons/lib/go/clippy.d.ts +++ b/types/react-icons/lib/go/clippy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoClippy extends React.Component<IconBaseProps> { } +declare class GoClippy extends React.Component<IconBaseProps> { } +export = GoClippy; diff --git a/types/react-icons/lib/go/clock.d.ts b/types/react-icons/lib/go/clock.d.ts index 3cac2ddd8a..a17c01626d 100644 --- a/types/react-icons/lib/go/clock.d.ts +++ b/types/react-icons/lib/go/clock.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoClock extends React.Component<IconBaseProps> { } +declare class GoClock extends React.Component<IconBaseProps> { } +export = GoClock; diff --git a/types/react-icons/lib/go/cloud-download.d.ts b/types/react-icons/lib/go/cloud-download.d.ts index a04b70acac..d494af7071 100644 --- a/types/react-icons/lib/go/cloud-download.d.ts +++ b/types/react-icons/lib/go/cloud-download.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoCloudDownload extends React.Component<IconBaseProps> { } +declare class GoCloudDownload extends React.Component<IconBaseProps> { } +export = GoCloudDownload; diff --git a/types/react-icons/lib/go/cloud-upload.d.ts b/types/react-icons/lib/go/cloud-upload.d.ts index 07ac4f6286..8d0ea325a5 100644 --- a/types/react-icons/lib/go/cloud-upload.d.ts +++ b/types/react-icons/lib/go/cloud-upload.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoCloudUpload extends React.Component<IconBaseProps> { } +declare class GoCloudUpload extends React.Component<IconBaseProps> { } +export = GoCloudUpload; diff --git a/types/react-icons/lib/go/code.d.ts b/types/react-icons/lib/go/code.d.ts index 7bbb2b7348..38a49e3638 100644 --- a/types/react-icons/lib/go/code.d.ts +++ b/types/react-icons/lib/go/code.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoCode extends React.Component<IconBaseProps> { } +declare class GoCode extends React.Component<IconBaseProps> { } +export = GoCode; diff --git a/types/react-icons/lib/go/color-mode.d.ts b/types/react-icons/lib/go/color-mode.d.ts index f047381423..c5e8ef618b 100644 --- a/types/react-icons/lib/go/color-mode.d.ts +++ b/types/react-icons/lib/go/color-mode.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoColorMode extends React.Component<IconBaseProps> { } +declare class GoColorMode extends React.Component<IconBaseProps> { } +export = GoColorMode; diff --git a/types/react-icons/lib/go/comment-discussion.d.ts b/types/react-icons/lib/go/comment-discussion.d.ts index 62be81f952..ef8f85bade 100644 --- a/types/react-icons/lib/go/comment-discussion.d.ts +++ b/types/react-icons/lib/go/comment-discussion.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoCommentDiscussion extends React.Component<IconBaseProps> { } +declare class GoCommentDiscussion extends React.Component<IconBaseProps> { } +export = GoCommentDiscussion; diff --git a/types/react-icons/lib/go/comment.d.ts b/types/react-icons/lib/go/comment.d.ts index 2e14daa806..2560216eed 100644 --- a/types/react-icons/lib/go/comment.d.ts +++ b/types/react-icons/lib/go/comment.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoComment extends React.Component<IconBaseProps> { } +declare class GoComment extends React.Component<IconBaseProps> { } +export = GoComment; diff --git a/types/react-icons/lib/go/credit-card.d.ts b/types/react-icons/lib/go/credit-card.d.ts index d7dbb4127c..c312d533de 100644 --- a/types/react-icons/lib/go/credit-card.d.ts +++ b/types/react-icons/lib/go/credit-card.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoCreditCard extends React.Component<IconBaseProps> { } +declare class GoCreditCard extends React.Component<IconBaseProps> { } +export = GoCreditCard; diff --git a/types/react-icons/lib/go/dash.d.ts b/types/react-icons/lib/go/dash.d.ts index c7c6ca094f..f80213934e 100644 --- a/types/react-icons/lib/go/dash.d.ts +++ b/types/react-icons/lib/go/dash.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoDash extends React.Component<IconBaseProps> { } +declare class GoDash extends React.Component<IconBaseProps> { } +export = GoDash; diff --git a/types/react-icons/lib/go/dashboard.d.ts b/types/react-icons/lib/go/dashboard.d.ts index ab328f0213..d1eae63855 100644 --- a/types/react-icons/lib/go/dashboard.d.ts +++ b/types/react-icons/lib/go/dashboard.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoDashboard extends React.Component<IconBaseProps> { } +declare class GoDashboard extends React.Component<IconBaseProps> { } +export = GoDashboard; diff --git a/types/react-icons/lib/go/database.d.ts b/types/react-icons/lib/go/database.d.ts index 34758c332d..2a02e50ff8 100644 --- a/types/react-icons/lib/go/database.d.ts +++ b/types/react-icons/lib/go/database.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoDatabase extends React.Component<IconBaseProps> { } +declare class GoDatabase extends React.Component<IconBaseProps> { } +export = GoDatabase; diff --git a/types/react-icons/lib/go/device-camera-video.d.ts b/types/react-icons/lib/go/device-camera-video.d.ts index 9274c81fdd..a397108cd8 100644 --- a/types/react-icons/lib/go/device-camera-video.d.ts +++ b/types/react-icons/lib/go/device-camera-video.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoDeviceCameraVideo extends React.Component<IconBaseProps> { } +declare class GoDeviceCameraVideo extends React.Component<IconBaseProps> { } +export = GoDeviceCameraVideo; diff --git a/types/react-icons/lib/go/device-camera.d.ts b/types/react-icons/lib/go/device-camera.d.ts index 65a3f9aa8c..deffd102d3 100644 --- a/types/react-icons/lib/go/device-camera.d.ts +++ b/types/react-icons/lib/go/device-camera.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoDeviceCamera extends React.Component<IconBaseProps> { } +declare class GoDeviceCamera extends React.Component<IconBaseProps> { } +export = GoDeviceCamera; diff --git a/types/react-icons/lib/go/device-desktop.d.ts b/types/react-icons/lib/go/device-desktop.d.ts index 7c75dfe2f1..8f371a1599 100644 --- a/types/react-icons/lib/go/device-desktop.d.ts +++ b/types/react-icons/lib/go/device-desktop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoDeviceDesktop extends React.Component<IconBaseProps> { } +declare class GoDeviceDesktop extends React.Component<IconBaseProps> { } +export = GoDeviceDesktop; diff --git a/types/react-icons/lib/go/device-mobile.d.ts b/types/react-icons/lib/go/device-mobile.d.ts index 046f63558d..8a83aea856 100644 --- a/types/react-icons/lib/go/device-mobile.d.ts +++ b/types/react-icons/lib/go/device-mobile.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoDeviceMobile extends React.Component<IconBaseProps> { } +declare class GoDeviceMobile extends React.Component<IconBaseProps> { } +export = GoDeviceMobile; diff --git a/types/react-icons/lib/go/diff-added.d.ts b/types/react-icons/lib/go/diff-added.d.ts index bde41f0f53..3c6b5773af 100644 --- a/types/react-icons/lib/go/diff-added.d.ts +++ b/types/react-icons/lib/go/diff-added.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoDiffAdded extends React.Component<IconBaseProps> { } +declare class GoDiffAdded extends React.Component<IconBaseProps> { } +export = GoDiffAdded; diff --git a/types/react-icons/lib/go/diff-ignored.d.ts b/types/react-icons/lib/go/diff-ignored.d.ts index 2508e07fa9..a51e557b1f 100644 --- a/types/react-icons/lib/go/diff-ignored.d.ts +++ b/types/react-icons/lib/go/diff-ignored.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoDiffIgnored extends React.Component<IconBaseProps> { } +declare class GoDiffIgnored extends React.Component<IconBaseProps> { } +export = GoDiffIgnored; diff --git a/types/react-icons/lib/go/diff-modified.d.ts b/types/react-icons/lib/go/diff-modified.d.ts index af95e1337d..731b2479a0 100644 --- a/types/react-icons/lib/go/diff-modified.d.ts +++ b/types/react-icons/lib/go/diff-modified.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoDiffModified extends React.Component<IconBaseProps> { } +declare class GoDiffModified extends React.Component<IconBaseProps> { } +export = GoDiffModified; diff --git a/types/react-icons/lib/go/diff-removed.d.ts b/types/react-icons/lib/go/diff-removed.d.ts index 46b1e78387..87c2edc408 100644 --- a/types/react-icons/lib/go/diff-removed.d.ts +++ b/types/react-icons/lib/go/diff-removed.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoDiffRemoved extends React.Component<IconBaseProps> { } +declare class GoDiffRemoved extends React.Component<IconBaseProps> { } +export = GoDiffRemoved; diff --git a/types/react-icons/lib/go/diff-renamed.d.ts b/types/react-icons/lib/go/diff-renamed.d.ts index c73850d52c..9681af78b4 100644 --- a/types/react-icons/lib/go/diff-renamed.d.ts +++ b/types/react-icons/lib/go/diff-renamed.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoDiffRenamed extends React.Component<IconBaseProps> { } +declare class GoDiffRenamed extends React.Component<IconBaseProps> { } +export = GoDiffRenamed; diff --git a/types/react-icons/lib/go/diff.d.ts b/types/react-icons/lib/go/diff.d.ts index ebc0f14e2d..0198d4eea2 100644 --- a/types/react-icons/lib/go/diff.d.ts +++ b/types/react-icons/lib/go/diff.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoDiff extends React.Component<IconBaseProps> { } +declare class GoDiff extends React.Component<IconBaseProps> { } +export = GoDiff; diff --git a/types/react-icons/lib/go/ellipsis.d.ts b/types/react-icons/lib/go/ellipsis.d.ts index b8a40f3e30..4723501dd1 100644 --- a/types/react-icons/lib/go/ellipsis.d.ts +++ b/types/react-icons/lib/go/ellipsis.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoEllipsis extends React.Component<IconBaseProps> { } +declare class GoEllipsis extends React.Component<IconBaseProps> { } +export = GoEllipsis; diff --git a/types/react-icons/lib/go/eye.d.ts b/types/react-icons/lib/go/eye.d.ts index 91e5fe5385..7938360f17 100644 --- a/types/react-icons/lib/go/eye.d.ts +++ b/types/react-icons/lib/go/eye.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoEye extends React.Component<IconBaseProps> { } +declare class GoEye extends React.Component<IconBaseProps> { } +export = GoEye; diff --git a/types/react-icons/lib/go/file-binary.d.ts b/types/react-icons/lib/go/file-binary.d.ts index b5ab33f79a..52ac8d832f 100644 --- a/types/react-icons/lib/go/file-binary.d.ts +++ b/types/react-icons/lib/go/file-binary.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoFileBinary extends React.Component<IconBaseProps> { } +declare class GoFileBinary extends React.Component<IconBaseProps> { } +export = GoFileBinary; diff --git a/types/react-icons/lib/go/file-code.d.ts b/types/react-icons/lib/go/file-code.d.ts index 297e89de52..e951dd2902 100644 --- a/types/react-icons/lib/go/file-code.d.ts +++ b/types/react-icons/lib/go/file-code.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoFileCode extends React.Component<IconBaseProps> { } +declare class GoFileCode extends React.Component<IconBaseProps> { } +export = GoFileCode; diff --git a/types/react-icons/lib/go/file-directory.d.ts b/types/react-icons/lib/go/file-directory.d.ts index a64af8f137..209cff3957 100644 --- a/types/react-icons/lib/go/file-directory.d.ts +++ b/types/react-icons/lib/go/file-directory.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoFileDirectory extends React.Component<IconBaseProps> { } +declare class GoFileDirectory extends React.Component<IconBaseProps> { } +export = GoFileDirectory; diff --git a/types/react-icons/lib/go/file-media.d.ts b/types/react-icons/lib/go/file-media.d.ts index 8cf5535220..d8e1153b32 100644 --- a/types/react-icons/lib/go/file-media.d.ts +++ b/types/react-icons/lib/go/file-media.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoFileMedia extends React.Component<IconBaseProps> { } +declare class GoFileMedia extends React.Component<IconBaseProps> { } +export = GoFileMedia; diff --git a/types/react-icons/lib/go/file-pdf.d.ts b/types/react-icons/lib/go/file-pdf.d.ts index 43ae39d5a7..afedc960c7 100644 --- a/types/react-icons/lib/go/file-pdf.d.ts +++ b/types/react-icons/lib/go/file-pdf.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoFilePdf extends React.Component<IconBaseProps> { } +declare class GoFilePdf extends React.Component<IconBaseProps> { } +export = GoFilePdf; diff --git a/types/react-icons/lib/go/file-submodule.d.ts b/types/react-icons/lib/go/file-submodule.d.ts index 5a9499dbac..d043de364d 100644 --- a/types/react-icons/lib/go/file-submodule.d.ts +++ b/types/react-icons/lib/go/file-submodule.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoFileSubmodule extends React.Component<IconBaseProps> { } +declare class GoFileSubmodule extends React.Component<IconBaseProps> { } +export = GoFileSubmodule; diff --git a/types/react-icons/lib/go/file-symlink-directory.d.ts b/types/react-icons/lib/go/file-symlink-directory.d.ts index 5337059393..3065c11ecc 100644 --- a/types/react-icons/lib/go/file-symlink-directory.d.ts +++ b/types/react-icons/lib/go/file-symlink-directory.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoFileSymlinkDirectory extends React.Component<IconBaseProps> { } +declare class GoFileSymlinkDirectory extends React.Component<IconBaseProps> { } +export = GoFileSymlinkDirectory; diff --git a/types/react-icons/lib/go/file-symlink-file.d.ts b/types/react-icons/lib/go/file-symlink-file.d.ts index 0116f9d2f0..d3fefe9e42 100644 --- a/types/react-icons/lib/go/file-symlink-file.d.ts +++ b/types/react-icons/lib/go/file-symlink-file.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoFileSymlinkFile extends React.Component<IconBaseProps> { } +declare class GoFileSymlinkFile extends React.Component<IconBaseProps> { } +export = GoFileSymlinkFile; diff --git a/types/react-icons/lib/go/file-text.d.ts b/types/react-icons/lib/go/file-text.d.ts index 23b59dfcfd..c478a383b6 100644 --- a/types/react-icons/lib/go/file-text.d.ts +++ b/types/react-icons/lib/go/file-text.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoFileText extends React.Component<IconBaseProps> { } +declare class GoFileText extends React.Component<IconBaseProps> { } +export = GoFileText; diff --git a/types/react-icons/lib/go/file-zip.d.ts b/types/react-icons/lib/go/file-zip.d.ts index e4f588b5db..c264cf3645 100644 --- a/types/react-icons/lib/go/file-zip.d.ts +++ b/types/react-icons/lib/go/file-zip.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoFileZip extends React.Component<IconBaseProps> { } +declare class GoFileZip extends React.Component<IconBaseProps> { } +export = GoFileZip; diff --git a/types/react-icons/lib/go/flame.d.ts b/types/react-icons/lib/go/flame.d.ts index baa5aa3739..d4e3186919 100644 --- a/types/react-icons/lib/go/flame.d.ts +++ b/types/react-icons/lib/go/flame.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoFlame extends React.Component<IconBaseProps> { } +declare class GoFlame extends React.Component<IconBaseProps> { } +export = GoFlame; diff --git a/types/react-icons/lib/go/fold.d.ts b/types/react-icons/lib/go/fold.d.ts index 7ae869e942..4b3c9758e7 100644 --- a/types/react-icons/lib/go/fold.d.ts +++ b/types/react-icons/lib/go/fold.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoFold extends React.Component<IconBaseProps> { } +declare class GoFold extends React.Component<IconBaseProps> { } +export = GoFold; diff --git a/types/react-icons/lib/go/gear.d.ts b/types/react-icons/lib/go/gear.d.ts index 7fd837ffbc..6b6cdecc08 100644 --- a/types/react-icons/lib/go/gear.d.ts +++ b/types/react-icons/lib/go/gear.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoGear extends React.Component<IconBaseProps> { } +declare class GoGear extends React.Component<IconBaseProps> { } +export = GoGear; diff --git a/types/react-icons/lib/go/gift.d.ts b/types/react-icons/lib/go/gift.d.ts index 98b9deb223..ff70fb3c03 100644 --- a/types/react-icons/lib/go/gift.d.ts +++ b/types/react-icons/lib/go/gift.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoGift extends React.Component<IconBaseProps> { } +declare class GoGift extends React.Component<IconBaseProps> { } +export = GoGift; diff --git a/types/react-icons/lib/go/gist-secret.d.ts b/types/react-icons/lib/go/gist-secret.d.ts index c69f135efd..6118caaefe 100644 --- a/types/react-icons/lib/go/gist-secret.d.ts +++ b/types/react-icons/lib/go/gist-secret.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoGistSecret extends React.Component<IconBaseProps> { } +declare class GoGistSecret extends React.Component<IconBaseProps> { } +export = GoGistSecret; diff --git a/types/react-icons/lib/go/gist.d.ts b/types/react-icons/lib/go/gist.d.ts index 8f1ff4e827..0575839e9c 100644 --- a/types/react-icons/lib/go/gist.d.ts +++ b/types/react-icons/lib/go/gist.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoGist extends React.Component<IconBaseProps> { } +declare class GoGist extends React.Component<IconBaseProps> { } +export = GoGist; diff --git a/types/react-icons/lib/go/git-branch.d.ts b/types/react-icons/lib/go/git-branch.d.ts index 52a90bd2a5..b6eea2dd39 100644 --- a/types/react-icons/lib/go/git-branch.d.ts +++ b/types/react-icons/lib/go/git-branch.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoGitBranch extends React.Component<IconBaseProps> { } +declare class GoGitBranch extends React.Component<IconBaseProps> { } +export = GoGitBranch; diff --git a/types/react-icons/lib/go/git-commit.d.ts b/types/react-icons/lib/go/git-commit.d.ts index a1ad866ee2..920abef608 100644 --- a/types/react-icons/lib/go/git-commit.d.ts +++ b/types/react-icons/lib/go/git-commit.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoGitCommit extends React.Component<IconBaseProps> { } +declare class GoGitCommit extends React.Component<IconBaseProps> { } +export = GoGitCommit; diff --git a/types/react-icons/lib/go/git-compare.d.ts b/types/react-icons/lib/go/git-compare.d.ts index 4336af1b22..a114d0e6ab 100644 --- a/types/react-icons/lib/go/git-compare.d.ts +++ b/types/react-icons/lib/go/git-compare.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoGitCompare extends React.Component<IconBaseProps> { } +declare class GoGitCompare extends React.Component<IconBaseProps> { } +export = GoGitCompare; diff --git a/types/react-icons/lib/go/git-merge.d.ts b/types/react-icons/lib/go/git-merge.d.ts index f7d3457db7..0773f55a13 100644 --- a/types/react-icons/lib/go/git-merge.d.ts +++ b/types/react-icons/lib/go/git-merge.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoGitMerge extends React.Component<IconBaseProps> { } +declare class GoGitMerge extends React.Component<IconBaseProps> { } +export = GoGitMerge; diff --git a/types/react-icons/lib/go/git-pull-request.d.ts b/types/react-icons/lib/go/git-pull-request.d.ts index 0c79ca8175..c956d9dff7 100644 --- a/types/react-icons/lib/go/git-pull-request.d.ts +++ b/types/react-icons/lib/go/git-pull-request.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoGitPullRequest extends React.Component<IconBaseProps> { } +declare class GoGitPullRequest extends React.Component<IconBaseProps> { } +export = GoGitPullRequest; diff --git a/types/react-icons/lib/go/globe.d.ts b/types/react-icons/lib/go/globe.d.ts index b1893d7685..7f3ed7047a 100644 --- a/types/react-icons/lib/go/globe.d.ts +++ b/types/react-icons/lib/go/globe.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoGlobe extends React.Component<IconBaseProps> { } +declare class GoGlobe extends React.Component<IconBaseProps> { } +export = GoGlobe; diff --git a/types/react-icons/lib/go/graph.d.ts b/types/react-icons/lib/go/graph.d.ts index 8f1c24ba75..8b2f64778b 100644 --- a/types/react-icons/lib/go/graph.d.ts +++ b/types/react-icons/lib/go/graph.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoGraph extends React.Component<IconBaseProps> { } +declare class GoGraph extends React.Component<IconBaseProps> { } +export = GoGraph; diff --git a/types/react-icons/lib/go/heart.d.ts b/types/react-icons/lib/go/heart.d.ts index 8f56d447ef..8184dfc37d 100644 --- a/types/react-icons/lib/go/heart.d.ts +++ b/types/react-icons/lib/go/heart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoHeart extends React.Component<IconBaseProps> { } +declare class GoHeart extends React.Component<IconBaseProps> { } +export = GoHeart; diff --git a/types/react-icons/lib/go/history.d.ts b/types/react-icons/lib/go/history.d.ts index c91e923a69..e53a70ca2c 100644 --- a/types/react-icons/lib/go/history.d.ts +++ b/types/react-icons/lib/go/history.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoHistory extends React.Component<IconBaseProps> { } +declare class GoHistory extends React.Component<IconBaseProps> { } +export = GoHistory; diff --git a/types/react-icons/lib/go/home.d.ts b/types/react-icons/lib/go/home.d.ts index 97d032716f..a5141130b3 100644 --- a/types/react-icons/lib/go/home.d.ts +++ b/types/react-icons/lib/go/home.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoHome extends React.Component<IconBaseProps> { } +declare class GoHome extends React.Component<IconBaseProps> { } +export = GoHome; diff --git a/types/react-icons/lib/go/horizontal-rule.d.ts b/types/react-icons/lib/go/horizontal-rule.d.ts index 336e1f4eeb..543cf60a21 100644 --- a/types/react-icons/lib/go/horizontal-rule.d.ts +++ b/types/react-icons/lib/go/horizontal-rule.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoHorizontalRule extends React.Component<IconBaseProps> { } +declare class GoHorizontalRule extends React.Component<IconBaseProps> { } +export = GoHorizontalRule; diff --git a/types/react-icons/lib/go/hourglass.d.ts b/types/react-icons/lib/go/hourglass.d.ts index ad0fdf8563..e922565bbe 100644 --- a/types/react-icons/lib/go/hourglass.d.ts +++ b/types/react-icons/lib/go/hourglass.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoHourglass extends React.Component<IconBaseProps> { } +declare class GoHourglass extends React.Component<IconBaseProps> { } +export = GoHourglass; diff --git a/types/react-icons/lib/go/hubot.d.ts b/types/react-icons/lib/go/hubot.d.ts index 984cc59a02..f465aa1993 100644 --- a/types/react-icons/lib/go/hubot.d.ts +++ b/types/react-icons/lib/go/hubot.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoHubot extends React.Component<IconBaseProps> { } +declare class GoHubot extends React.Component<IconBaseProps> { } +export = GoHubot; diff --git a/types/react-icons/lib/go/inbox.d.ts b/types/react-icons/lib/go/inbox.d.ts index fe75bf017e..5e8d3432c4 100644 --- a/types/react-icons/lib/go/inbox.d.ts +++ b/types/react-icons/lib/go/inbox.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoInbox extends React.Component<IconBaseProps> { } +declare class GoInbox extends React.Component<IconBaseProps> { } +export = GoInbox; diff --git a/types/react-icons/lib/go/index.d.ts b/types/react-icons/lib/go/index.d.ts index 285be47453..8248b9cfc9 100644 --- a/types/react-icons/lib/go/index.d.ts +++ b/types/react-icons/lib/go/index.d.ts @@ -1,177 +1,177 @@ -export { default as GoAlert } from "./alert"; -export { default as GoAlignmentAlign } from "./alignment-align"; -export { default as GoAlignmentAlignedTo } from "./alignment-aligned-to"; -export { default as GoAlignmentUnalign } from "./alignment-unalign"; -export { default as GoArrowDown } from "./arrow-down"; -export { default as GoArrowLeft } from "./arrow-left"; -export { default as GoArrowRight } from "./arrow-right"; -export { default as GoArrowSmallDown } from "./arrow-small-down"; -export { default as GoArrowSmallLeft } from "./arrow-small-left"; -export { default as GoArrowSmallRight } from "./arrow-small-right"; -export { default as GoArrowSmallUp } from "./arrow-small-up"; -export { default as GoArrowUp } from "./arrow-up"; -export { default as GoBeer } from "./beer"; -export { default as GoBook } from "./book"; -export { default as GoBookmark } from "./bookmark"; -export { default as GoBriefcase } from "./briefcase"; -export { default as GoBroadcast } from "./broadcast"; -export { default as GoBrowser } from "./browser"; -export { default as GoBug } from "./bug"; -export { default as GoCalendar } from "./calendar"; -export { default as GoCheck } from "./check"; -export { default as GoChecklist } from "./checklist"; -export { default as GoChevronDown } from "./chevron-down"; -export { default as GoChevronLeft } from "./chevron-left"; -export { default as GoChevronRight } from "./chevron-right"; -export { default as GoChevronUp } from "./chevron-up"; -export { default as GoCircleSlash } from "./circle-slash"; -export { default as GoCircuitBoard } from "./circuit-board"; -export { default as GoClippy } from "./clippy"; -export { default as GoClock } from "./clock"; -export { default as GoCloudDownload } from "./cloud-download"; -export { default as GoCloudUpload } from "./cloud-upload"; -export { default as GoCode } from "./code"; -export { default as GoColorMode } from "./color-mode"; -export { default as GoCommentDiscussion } from "./comment-discussion"; -export { default as GoComment } from "./comment"; -export { default as GoCreditCard } from "./credit-card"; -export { default as GoDash } from "./dash"; -export { default as GoDashboard } from "./dashboard"; -export { default as GoDatabase } from "./database"; -export { default as GoDeviceCameraVideo } from "./device-camera-video"; -export { default as GoDeviceCamera } from "./device-camera"; -export { default as GoDeviceDesktop } from "./device-desktop"; -export { default as GoDeviceMobile } from "./device-mobile"; -export { default as GoDiffAdded } from "./diff-added"; -export { default as GoDiffIgnored } from "./diff-ignored"; -export { default as GoDiffModified } from "./diff-modified"; -export { default as GoDiffRemoved } from "./diff-removed"; -export { default as GoDiffRenamed } from "./diff-renamed"; -export { default as GoDiff } from "./diff"; -export { default as GoEllipsis } from "./ellipsis"; -export { default as GoEye } from "./eye"; -export { default as GoFileBinary } from "./file-binary"; -export { default as GoFileCode } from "./file-code"; -export { default as GoFileDirectory } from "./file-directory"; -export { default as GoFileMedia } from "./file-media"; -export { default as GoFilePdf } from "./file-pdf"; -export { default as GoFileSubmodule } from "./file-submodule"; -export { default as GoFileSymlinkDirectory } from "./file-symlink-directory"; -export { default as GoFileSymlinkFile } from "./file-symlink-file"; -export { default as GoFileText } from "./file-text"; -export { default as GoFileZip } from "./file-zip"; -export { default as GoFlame } from "./flame"; -export { default as GoFold } from "./fold"; -export { default as GoGear } from "./gear"; -export { default as GoGift } from "./gift"; -export { default as GoGistSecret } from "./gist-secret"; -export { default as GoGist } from "./gist"; -export { default as GoGitBranch } from "./git-branch"; -export { default as GoGitCommit } from "./git-commit"; -export { default as GoGitCompare } from "./git-compare"; -export { default as GoGitMerge } from "./git-merge"; -export { default as GoGitPullRequest } from "./git-pull-request"; -export { default as GoGlobe } from "./globe"; -export { default as GoGraph } from "./graph"; -export { default as GoHeart } from "./heart"; -export { default as GoHistory } from "./history"; -export { default as GoHome } from "./home"; -export { default as GoHorizontalRule } from "./horizontal-rule"; -export { default as GoHourglass } from "./hourglass"; -export { default as GoHubot } from "./hubot"; -export { default as GoInbox } from "./inbox"; -export { default as GoInfo } from "./info"; -export { default as GoIssueClosed } from "./issue-closed"; -export { default as GoIssueOpened } from "./issue-opened"; -export { default as GoIssueReopened } from "./issue-reopened"; -export { default as GoJersey } from "./jersey"; -export { default as GoJumpDown } from "./jump-down"; -export { default as GoJumpLeft } from "./jump-left"; -export { default as GoJumpRight } from "./jump-right"; -export { default as GoJumpUp } from "./jump-up"; -export { default as GoKey } from "./key"; -export { default as GoKeyboard } from "./keyboard"; -export { default as GoLaw } from "./law"; -export { default as GoLightBulb } from "./light-bulb"; -export { default as GoLinkExternal } from "./link-external"; -export { default as GoLink } from "./link"; -export { default as GoListOrdered } from "./list-ordered"; -export { default as GoListUnordered } from "./list-unordered"; -export { default as GoLocation } from "./location"; -export { default as GoLock } from "./lock"; -export { default as GoLogoGithub } from "./logo-github"; -export { default as GoMailRead } from "./mail-read"; -export { default as GoMailReply } from "./mail-reply"; -export { default as GoMail } from "./mail"; -export { default as GoMarkGithub } from "./mark-github"; -export { default as GoMarkdown } from "./markdown"; -export { default as GoMegaphone } from "./megaphone"; -export { default as GoMention } from "./mention"; -export { default as GoMicroscope } from "./microscope"; -export { default as GoMilestone } from "./milestone"; -export { default as GoMirror } from "./mirror"; -export { default as GoMortarBoard } from "./mortar-board"; -export { default as GoMoveDown } from "./move-down"; -export { default as GoMoveLeft } from "./move-left"; -export { default as GoMoveRight } from "./move-right"; -export { default as GoMoveUp } from "./move-up"; -export { default as GoMute } from "./mute"; -export { default as GoNoNewline } from "./no-newline"; -export { default as GoOctoface } from "./octoface"; -export { default as GoOrganization } from "./organization"; -export { default as GoPackage } from "./package"; -export { default as GoPaintcan } from "./paintcan"; -export { default as GoPencil } from "./pencil"; -export { default as GoPerson } from "./person"; -export { default as GoPin } from "./pin"; -export { default as GoPlaybackFastForward } from "./playback-fast-forward"; -export { default as GoPlaybackPause } from "./playback-pause"; -export { default as GoPlaybackPlay } from "./playback-play"; -export { default as GoPlaybackRewind } from "./playback-rewind"; -export { default as GoPlug } from "./plug"; -export { default as GoPlus } from "./plus"; -export { default as GoPodium } from "./podium"; -export { default as GoPrimitiveDot } from "./primitive-dot"; -export { default as GoPrimitiveSquare } from "./primitive-square"; -export { default as GoPulse } from "./pulse"; -export { default as GoPuzzle } from "./puzzle"; -export { default as GoQuestion } from "./question"; -export { default as GoQuote } from "./quote"; -export { default as GoRadioTower } from "./radio-tower"; -export { default as GoRepoClone } from "./repo-clone"; -export { default as GoRepoForcePush } from "./repo-force-push"; -export { default as GoRepoForked } from "./repo-forked"; -export { default as GoRepoPull } from "./repo-pull"; -export { default as GoRepoPush } from "./repo-push"; -export { default as GoRepo } from "./repo"; -export { default as GoRocket } from "./rocket"; -export { default as GoRss } from "./rss"; -export { default as GoRuby } from "./ruby"; -export { default as GoScreenFull } from "./screen-full"; -export { default as GoScreenNormal } from "./screen-normal"; -export { default as GoSearch } from "./search"; -export { default as GoServer } from "./server"; -export { default as GoSettings } from "./settings"; -export { default as GoSignIn } from "./sign-in"; -export { default as GoSignOut } from "./sign-out"; -export { default as GoSplit } from "./split"; -export { default as GoSquirrel } from "./squirrel"; -export { default as GoStar } from "./star"; -export { default as GoSteps } from "./steps"; -export { default as GoStop } from "./stop"; -export { default as GoSync } from "./sync"; -export { default as GoTag } from "./tag"; -export { default as GoTelescope } from "./telescope"; -export { default as GoTerminal } from "./terminal"; -export { default as GoThreeBars } from "./three-bars"; -export { default as GoTools } from "./tools"; -export { default as GoTrashcan } from "./trashcan"; -export { default as GoTriangleDown } from "./triangle-down"; -export { default as GoTriangleLeft } from "./triangle-left"; -export { default as GoTriangleRight } from "./triangle-right"; -export { default as GoTriangleUp } from "./triangle-up"; -export { default as GoUnfold } from "./unfold"; -export { default as GoUnmute } from "./unmute"; -export { default as GoVersions } from "./versions"; -export { default as GoX } from "./x"; -export { default as GoZap } from "./zap"; +export { default as GoAlert } from "../../go/alert"; +export { default as GoAlignmentAlign } from "../../go/alignment-align"; +export { default as GoAlignmentAlignedTo } from "../../go/alignment-aligned-to"; +export { default as GoAlignmentUnalign } from "../../go/alignment-unalign"; +export { default as GoArrowDown } from "../../go/arrow-down"; +export { default as GoArrowLeft } from "../../go/arrow-left"; +export { default as GoArrowRight } from "../../go/arrow-right"; +export { default as GoArrowSmallDown } from "../../go/arrow-small-down"; +export { default as GoArrowSmallLeft } from "../../go/arrow-small-left"; +export { default as GoArrowSmallRight } from "../../go/arrow-small-right"; +export { default as GoArrowSmallUp } from "../../go/arrow-small-up"; +export { default as GoArrowUp } from "../../go/arrow-up"; +export { default as GoBeer } from "../../go/beer"; +export { default as GoBook } from "../../go/book"; +export { default as GoBookmark } from "../../go/bookmark"; +export { default as GoBriefcase } from "../../go/briefcase"; +export { default as GoBroadcast } from "../../go/broadcast"; +export { default as GoBrowser } from "../../go/browser"; +export { default as GoBug } from "../../go/bug"; +export { default as GoCalendar } from "../../go/calendar"; +export { default as GoCheck } from "../../go/check"; +export { default as GoChecklist } from "../../go/checklist"; +export { default as GoChevronDown } from "../../go/chevron-down"; +export { default as GoChevronLeft } from "../../go/chevron-left"; +export { default as GoChevronRight } from "../../go/chevron-right"; +export { default as GoChevronUp } from "../../go/chevron-up"; +export { default as GoCircleSlash } from "../../go/circle-slash"; +export { default as GoCircuitBoard } from "../../go/circuit-board"; +export { default as GoClippy } from "../../go/clippy"; +export { default as GoClock } from "../../go/clock"; +export { default as GoCloudDownload } from "../../go/cloud-download"; +export { default as GoCloudUpload } from "../../go/cloud-upload"; +export { default as GoCode } from "../../go/code"; +export { default as GoColorMode } from "../../go/color-mode"; +export { default as GoCommentDiscussion } from "../../go/comment-discussion"; +export { default as GoComment } from "../../go/comment"; +export { default as GoCreditCard } from "../../go/credit-card"; +export { default as GoDash } from "../../go/dash"; +export { default as GoDashboard } from "../../go/dashboard"; +export { default as GoDatabase } from "../../go/database"; +export { default as GoDeviceCameraVideo } from "../../go/device-camera-video"; +export { default as GoDeviceCamera } from "../../go/device-camera"; +export { default as GoDeviceDesktop } from "../../go/device-desktop"; +export { default as GoDeviceMobile } from "../../go/device-mobile"; +export { default as GoDiffAdded } from "../../go/diff-added"; +export { default as GoDiffIgnored } from "../../go/diff-ignored"; +export { default as GoDiffModified } from "../../go/diff-modified"; +export { default as GoDiffRemoved } from "../../go/diff-removed"; +export { default as GoDiffRenamed } from "../../go/diff-renamed"; +export { default as GoDiff } from "../../go/diff"; +export { default as GoEllipsis } from "../../go/ellipsis"; +export { default as GoEye } from "../../go/eye"; +export { default as GoFileBinary } from "../../go/file-binary"; +export { default as GoFileCode } from "../../go/file-code"; +export { default as GoFileDirectory } from "../../go/file-directory"; +export { default as GoFileMedia } from "../../go/file-media"; +export { default as GoFilePdf } from "../../go/file-pdf"; +export { default as GoFileSubmodule } from "../../go/file-submodule"; +export { default as GoFileSymlinkDirectory } from "../../go/file-symlink-directory"; +export { default as GoFileSymlinkFile } from "../../go/file-symlink-file"; +export { default as GoFileText } from "../../go/file-text"; +export { default as GoFileZip } from "../../go/file-zip"; +export { default as GoFlame } from "../../go/flame"; +export { default as GoFold } from "../../go/fold"; +export { default as GoGear } from "../../go/gear"; +export { default as GoGift } from "../../go/gift"; +export { default as GoGistSecret } from "../../go/gist-secret"; +export { default as GoGist } from "../../go/gist"; +export { default as GoGitBranch } from "../../go/git-branch"; +export { default as GoGitCommit } from "../../go/git-commit"; +export { default as GoGitCompare } from "../../go/git-compare"; +export { default as GoGitMerge } from "../../go/git-merge"; +export { default as GoGitPullRequest } from "../../go/git-pull-request"; +export { default as GoGlobe } from "../../go/globe"; +export { default as GoGraph } from "../../go/graph"; +export { default as GoHeart } from "../../go/heart"; +export { default as GoHistory } from "../../go/history"; +export { default as GoHome } from "../../go/home"; +export { default as GoHorizontalRule } from "../../go/horizontal-rule"; +export { default as GoHourglass } from "../../go/hourglass"; +export { default as GoHubot } from "../../go/hubot"; +export { default as GoInbox } from "../../go/inbox"; +export { default as GoInfo } from "../../go/info"; +export { default as GoIssueClosed } from "../../go/issue-closed"; +export { default as GoIssueOpened } from "../../go/issue-opened"; +export { default as GoIssueReopened } from "../../go/issue-reopened"; +export { default as GoJersey } from "../../go/jersey"; +export { default as GoJumpDown } from "../../go/jump-down"; +export { default as GoJumpLeft } from "../../go/jump-left"; +export { default as GoJumpRight } from "../../go/jump-right"; +export { default as GoJumpUp } from "../../go/jump-up"; +export { default as GoKey } from "../../go/key"; +export { default as GoKeyboard } from "../../go/keyboard"; +export { default as GoLaw } from "../../go/law"; +export { default as GoLightBulb } from "../../go/light-bulb"; +export { default as GoLinkExternal } from "../../go/link-external"; +export { default as GoLink } from "../../go/link"; +export { default as GoListOrdered } from "../../go/list-ordered"; +export { default as GoListUnordered } from "../../go/list-unordered"; +export { default as GoLocation } from "../../go/location"; +export { default as GoLock } from "../../go/lock"; +export { default as GoLogoGithub } from "../../go/logo-github"; +export { default as GoMailRead } from "../../go/mail-read"; +export { default as GoMailReply } from "../../go/mail-reply"; +export { default as GoMail } from "../../go/mail"; +export { default as GoMarkGithub } from "../../go/mark-github"; +export { default as GoMarkdown } from "../../go/markdown"; +export { default as GoMegaphone } from "../../go/megaphone"; +export { default as GoMention } from "../../go/mention"; +export { default as GoMicroscope } from "../../go/microscope"; +export { default as GoMilestone } from "../../go/milestone"; +export { default as GoMirror } from "../../go/mirror"; +export { default as GoMortarBoard } from "../../go/mortar-board"; +export { default as GoMoveDown } from "../../go/move-down"; +export { default as GoMoveLeft } from "../../go/move-left"; +export { default as GoMoveRight } from "../../go/move-right"; +export { default as GoMoveUp } from "../../go/move-up"; +export { default as GoMute } from "../../go/mute"; +export { default as GoNoNewline } from "../../go/no-newline"; +export { default as GoOctoface } from "../../go/octoface"; +export { default as GoOrganization } from "../../go/organization"; +export { default as GoPackage } from "../../go/package"; +export { default as GoPaintcan } from "../../go/paintcan"; +export { default as GoPencil } from "../../go/pencil"; +export { default as GoPerson } from "../../go/person"; +export { default as GoPin } from "../../go/pin"; +export { default as GoPlaybackFastForward } from "../../go/playback-fast-forward"; +export { default as GoPlaybackPause } from "../../go/playback-pause"; +export { default as GoPlaybackPlay } from "../../go/playback-play"; +export { default as GoPlaybackRewind } from "../../go/playback-rewind"; +export { default as GoPlug } from "../../go/plug"; +export { default as GoPlus } from "../../go/plus"; +export { default as GoPodium } from "../../go/podium"; +export { default as GoPrimitiveDot } from "../../go/primitive-dot"; +export { default as GoPrimitiveSquare } from "../../go/primitive-square"; +export { default as GoPulse } from "../../go/pulse"; +export { default as GoPuzzle } from "../../go/puzzle"; +export { default as GoQuestion } from "../../go/question"; +export { default as GoQuote } from "../../go/quote"; +export { default as GoRadioTower } from "../../go/radio-tower"; +export { default as GoRepoClone } from "../../go/repo-clone"; +export { default as GoRepoForcePush } from "../../go/repo-force-push"; +export { default as GoRepoForked } from "../../go/repo-forked"; +export { default as GoRepoPull } from "../../go/repo-pull"; +export { default as GoRepoPush } from "../../go/repo-push"; +export { default as GoRepo } from "../../go/repo"; +export { default as GoRocket } from "../../go/rocket"; +export { default as GoRss } from "../../go/rss"; +export { default as GoRuby } from "../../go/ruby"; +export { default as GoScreenFull } from "../../go/screen-full"; +export { default as GoScreenNormal } from "../../go/screen-normal"; +export { default as GoSearch } from "../../go/search"; +export { default as GoServer } from "../../go/server"; +export { default as GoSettings } from "../../go/settings"; +export { default as GoSignIn } from "../../go/sign-in"; +export { default as GoSignOut } from "../../go/sign-out"; +export { default as GoSplit } from "../../go/split"; +export { default as GoSquirrel } from "../../go/squirrel"; +export { default as GoStar } from "../../go/star"; +export { default as GoSteps } from "../../go/steps"; +export { default as GoStop } from "../../go/stop"; +export { default as GoSync } from "../../go/sync"; +export { default as GoTag } from "../../go/tag"; +export { default as GoTelescope } from "../../go/telescope"; +export { default as GoTerminal } from "../../go/terminal"; +export { default as GoThreeBars } from "../../go/three-bars"; +export { default as GoTools } from "../../go/tools"; +export { default as GoTrashcan } from "../../go/trashcan"; +export { default as GoTriangleDown } from "../../go/triangle-down"; +export { default as GoTriangleLeft } from "../../go/triangle-left"; +export { default as GoTriangleRight } from "../../go/triangle-right"; +export { default as GoTriangleUp } from "../../go/triangle-up"; +export { default as GoUnfold } from "../../go/unfold"; +export { default as GoUnmute } from "../../go/unmute"; +export { default as GoVersions } from "../../go/versions"; +export { default as GoX } from "../../go/x"; +export { default as GoZap } from "../../go/zap"; diff --git a/types/react-icons/lib/go/info.d.ts b/types/react-icons/lib/go/info.d.ts index 2359f0e299..76a01cf7f8 100644 --- a/types/react-icons/lib/go/info.d.ts +++ b/types/react-icons/lib/go/info.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoInfo extends React.Component<IconBaseProps> { } +declare class GoInfo extends React.Component<IconBaseProps> { } +export = GoInfo; diff --git a/types/react-icons/lib/go/issue-closed.d.ts b/types/react-icons/lib/go/issue-closed.d.ts index b06460c581..d2754f369a 100644 --- a/types/react-icons/lib/go/issue-closed.d.ts +++ b/types/react-icons/lib/go/issue-closed.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoIssueClosed extends React.Component<IconBaseProps> { } +declare class GoIssueClosed extends React.Component<IconBaseProps> { } +export = GoIssueClosed; diff --git a/types/react-icons/lib/go/issue-opened.d.ts b/types/react-icons/lib/go/issue-opened.d.ts index 331e3754a9..d4eee6c362 100644 --- a/types/react-icons/lib/go/issue-opened.d.ts +++ b/types/react-icons/lib/go/issue-opened.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoIssueOpened extends React.Component<IconBaseProps> { } +declare class GoIssueOpened extends React.Component<IconBaseProps> { } +export = GoIssueOpened; diff --git a/types/react-icons/lib/go/issue-reopened.d.ts b/types/react-icons/lib/go/issue-reopened.d.ts index 460fb426c8..d976356a2d 100644 --- a/types/react-icons/lib/go/issue-reopened.d.ts +++ b/types/react-icons/lib/go/issue-reopened.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoIssueReopened extends React.Component<IconBaseProps> { } +declare class GoIssueReopened extends React.Component<IconBaseProps> { } +export = GoIssueReopened; diff --git a/types/react-icons/lib/go/jersey.d.ts b/types/react-icons/lib/go/jersey.d.ts index 2c85c72ff0..654f119755 100644 --- a/types/react-icons/lib/go/jersey.d.ts +++ b/types/react-icons/lib/go/jersey.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoJersey extends React.Component<IconBaseProps> { } +declare class GoJersey extends React.Component<IconBaseProps> { } +export = GoJersey; diff --git a/types/react-icons/lib/go/jump-down.d.ts b/types/react-icons/lib/go/jump-down.d.ts index 8d0497969e..ae6ad27ac3 100644 --- a/types/react-icons/lib/go/jump-down.d.ts +++ b/types/react-icons/lib/go/jump-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoJumpDown extends React.Component<IconBaseProps> { } +declare class GoJumpDown extends React.Component<IconBaseProps> { } +export = GoJumpDown; diff --git a/types/react-icons/lib/go/jump-left.d.ts b/types/react-icons/lib/go/jump-left.d.ts index 9be1e1ded5..14ebccb8c8 100644 --- a/types/react-icons/lib/go/jump-left.d.ts +++ b/types/react-icons/lib/go/jump-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoJumpLeft extends React.Component<IconBaseProps> { } +declare class GoJumpLeft extends React.Component<IconBaseProps> { } +export = GoJumpLeft; diff --git a/types/react-icons/lib/go/jump-right.d.ts b/types/react-icons/lib/go/jump-right.d.ts index efdbf77170..9f23d34e2f 100644 --- a/types/react-icons/lib/go/jump-right.d.ts +++ b/types/react-icons/lib/go/jump-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoJumpRight extends React.Component<IconBaseProps> { } +declare class GoJumpRight extends React.Component<IconBaseProps> { } +export = GoJumpRight; diff --git a/types/react-icons/lib/go/jump-up.d.ts b/types/react-icons/lib/go/jump-up.d.ts index f8ee7030f0..02617bd211 100644 --- a/types/react-icons/lib/go/jump-up.d.ts +++ b/types/react-icons/lib/go/jump-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoJumpUp extends React.Component<IconBaseProps> { } +declare class GoJumpUp extends React.Component<IconBaseProps> { } +export = GoJumpUp; diff --git a/types/react-icons/lib/go/key.d.ts b/types/react-icons/lib/go/key.d.ts index 635b754f56..7a3c114038 100644 --- a/types/react-icons/lib/go/key.d.ts +++ b/types/react-icons/lib/go/key.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoKey extends React.Component<IconBaseProps> { } +declare class GoKey extends React.Component<IconBaseProps> { } +export = GoKey; diff --git a/types/react-icons/lib/go/keyboard.d.ts b/types/react-icons/lib/go/keyboard.d.ts index 48e2f695ed..0e4b588ae8 100644 --- a/types/react-icons/lib/go/keyboard.d.ts +++ b/types/react-icons/lib/go/keyboard.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoKeyboard extends React.Component<IconBaseProps> { } +declare class GoKeyboard extends React.Component<IconBaseProps> { } +export = GoKeyboard; diff --git a/types/react-icons/lib/go/law.d.ts b/types/react-icons/lib/go/law.d.ts index 59e6dd09c6..1e8869c457 100644 --- a/types/react-icons/lib/go/law.d.ts +++ b/types/react-icons/lib/go/law.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoLaw extends React.Component<IconBaseProps> { } +declare class GoLaw extends React.Component<IconBaseProps> { } +export = GoLaw; diff --git a/types/react-icons/lib/go/light-bulb.d.ts b/types/react-icons/lib/go/light-bulb.d.ts index b020b05d25..713bad1011 100644 --- a/types/react-icons/lib/go/light-bulb.d.ts +++ b/types/react-icons/lib/go/light-bulb.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoLightBulb extends React.Component<IconBaseProps> { } +declare class GoLightBulb extends React.Component<IconBaseProps> { } +export = GoLightBulb; diff --git a/types/react-icons/lib/go/link-external.d.ts b/types/react-icons/lib/go/link-external.d.ts index 9e93717352..3e564c8593 100644 --- a/types/react-icons/lib/go/link-external.d.ts +++ b/types/react-icons/lib/go/link-external.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoLinkExternal extends React.Component<IconBaseProps> { } +declare class GoLinkExternal extends React.Component<IconBaseProps> { } +export = GoLinkExternal; diff --git a/types/react-icons/lib/go/link.d.ts b/types/react-icons/lib/go/link.d.ts index 7def9d9bd3..7959f5c753 100644 --- a/types/react-icons/lib/go/link.d.ts +++ b/types/react-icons/lib/go/link.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoLink extends React.Component<IconBaseProps> { } +declare class GoLink extends React.Component<IconBaseProps> { } +export = GoLink; diff --git a/types/react-icons/lib/go/list-ordered.d.ts b/types/react-icons/lib/go/list-ordered.d.ts index 31a2859733..b44bcc47df 100644 --- a/types/react-icons/lib/go/list-ordered.d.ts +++ b/types/react-icons/lib/go/list-ordered.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoListOrdered extends React.Component<IconBaseProps> { } +declare class GoListOrdered extends React.Component<IconBaseProps> { } +export = GoListOrdered; diff --git a/types/react-icons/lib/go/list-unordered.d.ts b/types/react-icons/lib/go/list-unordered.d.ts index 59b89e921e..fd7cbd5584 100644 --- a/types/react-icons/lib/go/list-unordered.d.ts +++ b/types/react-icons/lib/go/list-unordered.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoListUnordered extends React.Component<IconBaseProps> { } +declare class GoListUnordered extends React.Component<IconBaseProps> { } +export = GoListUnordered; diff --git a/types/react-icons/lib/go/location.d.ts b/types/react-icons/lib/go/location.d.ts index a382326479..bde5fb84db 100644 --- a/types/react-icons/lib/go/location.d.ts +++ b/types/react-icons/lib/go/location.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoLocation extends React.Component<IconBaseProps> { } +declare class GoLocation extends React.Component<IconBaseProps> { } +export = GoLocation; diff --git a/types/react-icons/lib/go/lock.d.ts b/types/react-icons/lib/go/lock.d.ts index 623ec47b53..80dc012968 100644 --- a/types/react-icons/lib/go/lock.d.ts +++ b/types/react-icons/lib/go/lock.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoLock extends React.Component<IconBaseProps> { } +declare class GoLock extends React.Component<IconBaseProps> { } +export = GoLock; diff --git a/types/react-icons/lib/go/logo-github.d.ts b/types/react-icons/lib/go/logo-github.d.ts index f57a2d07f7..9458204c5d 100644 --- a/types/react-icons/lib/go/logo-github.d.ts +++ b/types/react-icons/lib/go/logo-github.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoLogoGithub extends React.Component<IconBaseProps> { } +declare class GoLogoGithub extends React.Component<IconBaseProps> { } +export = GoLogoGithub; diff --git a/types/react-icons/lib/go/mail-read.d.ts b/types/react-icons/lib/go/mail-read.d.ts index e6820b2732..e64ee6e5d1 100644 --- a/types/react-icons/lib/go/mail-read.d.ts +++ b/types/react-icons/lib/go/mail-read.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoMailRead extends React.Component<IconBaseProps> { } +declare class GoMailRead extends React.Component<IconBaseProps> { } +export = GoMailRead; diff --git a/types/react-icons/lib/go/mail-reply.d.ts b/types/react-icons/lib/go/mail-reply.d.ts index 794cc6dca4..3a0e8d5eed 100644 --- a/types/react-icons/lib/go/mail-reply.d.ts +++ b/types/react-icons/lib/go/mail-reply.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoMailReply extends React.Component<IconBaseProps> { } +declare class GoMailReply extends React.Component<IconBaseProps> { } +export = GoMailReply; diff --git a/types/react-icons/lib/go/mail.d.ts b/types/react-icons/lib/go/mail.d.ts index bca60de455..fc209fa3a5 100644 --- a/types/react-icons/lib/go/mail.d.ts +++ b/types/react-icons/lib/go/mail.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoMail extends React.Component<IconBaseProps> { } +declare class GoMail extends React.Component<IconBaseProps> { } +export = GoMail; diff --git a/types/react-icons/lib/go/mark-github.d.ts b/types/react-icons/lib/go/mark-github.d.ts index 999521b725..9f98e3a09e 100644 --- a/types/react-icons/lib/go/mark-github.d.ts +++ b/types/react-icons/lib/go/mark-github.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoMarkGithub extends React.Component<IconBaseProps> { } +declare class GoMarkGithub extends React.Component<IconBaseProps> { } +export = GoMarkGithub; diff --git a/types/react-icons/lib/go/markdown.d.ts b/types/react-icons/lib/go/markdown.d.ts index 5533fd8deb..389bdbea07 100644 --- a/types/react-icons/lib/go/markdown.d.ts +++ b/types/react-icons/lib/go/markdown.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoMarkdown extends React.Component<IconBaseProps> { } +declare class GoMarkdown extends React.Component<IconBaseProps> { } +export = GoMarkdown; diff --git a/types/react-icons/lib/go/megaphone.d.ts b/types/react-icons/lib/go/megaphone.d.ts index c76f98d900..17341d4a48 100644 --- a/types/react-icons/lib/go/megaphone.d.ts +++ b/types/react-icons/lib/go/megaphone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoMegaphone extends React.Component<IconBaseProps> { } +declare class GoMegaphone extends React.Component<IconBaseProps> { } +export = GoMegaphone; diff --git a/types/react-icons/lib/go/mention.d.ts b/types/react-icons/lib/go/mention.d.ts index 988f97ec6f..9e9bda7554 100644 --- a/types/react-icons/lib/go/mention.d.ts +++ b/types/react-icons/lib/go/mention.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoMention extends React.Component<IconBaseProps> { } +declare class GoMention extends React.Component<IconBaseProps> { } +export = GoMention; diff --git a/types/react-icons/lib/go/microscope.d.ts b/types/react-icons/lib/go/microscope.d.ts index 79f91de4ab..fe37fac38f 100644 --- a/types/react-icons/lib/go/microscope.d.ts +++ b/types/react-icons/lib/go/microscope.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoMicroscope extends React.Component<IconBaseProps> { } +declare class GoMicroscope extends React.Component<IconBaseProps> { } +export = GoMicroscope; diff --git a/types/react-icons/lib/go/milestone.d.ts b/types/react-icons/lib/go/milestone.d.ts index a5df7c65b1..dbcee6ba5c 100644 --- a/types/react-icons/lib/go/milestone.d.ts +++ b/types/react-icons/lib/go/milestone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoMilestone extends React.Component<IconBaseProps> { } +declare class GoMilestone extends React.Component<IconBaseProps> { } +export = GoMilestone; diff --git a/types/react-icons/lib/go/mirror.d.ts b/types/react-icons/lib/go/mirror.d.ts index c8f5f3a988..8ebefa09ce 100644 --- a/types/react-icons/lib/go/mirror.d.ts +++ b/types/react-icons/lib/go/mirror.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoMirror extends React.Component<IconBaseProps> { } +declare class GoMirror extends React.Component<IconBaseProps> { } +export = GoMirror; diff --git a/types/react-icons/lib/go/mortar-board.d.ts b/types/react-icons/lib/go/mortar-board.d.ts index e435c2f899..e0f7816128 100644 --- a/types/react-icons/lib/go/mortar-board.d.ts +++ b/types/react-icons/lib/go/mortar-board.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoMortarBoard extends React.Component<IconBaseProps> { } +declare class GoMortarBoard extends React.Component<IconBaseProps> { } +export = GoMortarBoard; diff --git a/types/react-icons/lib/go/move-down.d.ts b/types/react-icons/lib/go/move-down.d.ts index cceb4a2fc6..6cf46433f8 100644 --- a/types/react-icons/lib/go/move-down.d.ts +++ b/types/react-icons/lib/go/move-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoMoveDown extends React.Component<IconBaseProps> { } +declare class GoMoveDown extends React.Component<IconBaseProps> { } +export = GoMoveDown; diff --git a/types/react-icons/lib/go/move-left.d.ts b/types/react-icons/lib/go/move-left.d.ts index 81c57b58d1..03d1b9e7af 100644 --- a/types/react-icons/lib/go/move-left.d.ts +++ b/types/react-icons/lib/go/move-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoMoveLeft extends React.Component<IconBaseProps> { } +declare class GoMoveLeft extends React.Component<IconBaseProps> { } +export = GoMoveLeft; diff --git a/types/react-icons/lib/go/move-right.d.ts b/types/react-icons/lib/go/move-right.d.ts index b9baed854c..c59d02e53e 100644 --- a/types/react-icons/lib/go/move-right.d.ts +++ b/types/react-icons/lib/go/move-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoMoveRight extends React.Component<IconBaseProps> { } +declare class GoMoveRight extends React.Component<IconBaseProps> { } +export = GoMoveRight; diff --git a/types/react-icons/lib/go/move-up.d.ts b/types/react-icons/lib/go/move-up.d.ts index b649bd2bca..323a440aa2 100644 --- a/types/react-icons/lib/go/move-up.d.ts +++ b/types/react-icons/lib/go/move-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoMoveUp extends React.Component<IconBaseProps> { } +declare class GoMoveUp extends React.Component<IconBaseProps> { } +export = GoMoveUp; diff --git a/types/react-icons/lib/go/mute.d.ts b/types/react-icons/lib/go/mute.d.ts index 96aa49027f..2c80d9b279 100644 --- a/types/react-icons/lib/go/mute.d.ts +++ b/types/react-icons/lib/go/mute.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoMute extends React.Component<IconBaseProps> { } +declare class GoMute extends React.Component<IconBaseProps> { } +export = GoMute; diff --git a/types/react-icons/lib/go/no-newline.d.ts b/types/react-icons/lib/go/no-newline.d.ts index 2953cea8b0..10a616941d 100644 --- a/types/react-icons/lib/go/no-newline.d.ts +++ b/types/react-icons/lib/go/no-newline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoNoNewline extends React.Component<IconBaseProps> { } +declare class GoNoNewline extends React.Component<IconBaseProps> { } +export = GoNoNewline; diff --git a/types/react-icons/lib/go/octoface.d.ts b/types/react-icons/lib/go/octoface.d.ts index 466708f844..3f7b80ae04 100644 --- a/types/react-icons/lib/go/octoface.d.ts +++ b/types/react-icons/lib/go/octoface.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoOctoface extends React.Component<IconBaseProps> { } +declare class GoOctoface extends React.Component<IconBaseProps> { } +export = GoOctoface; diff --git a/types/react-icons/lib/go/organization.d.ts b/types/react-icons/lib/go/organization.d.ts index 321899f2bd..8f52ca1022 100644 --- a/types/react-icons/lib/go/organization.d.ts +++ b/types/react-icons/lib/go/organization.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoOrganization extends React.Component<IconBaseProps> { } +declare class GoOrganization extends React.Component<IconBaseProps> { } +export = GoOrganization; diff --git a/types/react-icons/lib/go/package.d.ts b/types/react-icons/lib/go/package.d.ts index ecea623c3b..06688e276c 100644 --- a/types/react-icons/lib/go/package.d.ts +++ b/types/react-icons/lib/go/package.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoPackage extends React.Component<IconBaseProps> { } +declare class GoPackage extends React.Component<IconBaseProps> { } +export = GoPackage; diff --git a/types/react-icons/lib/go/paintcan.d.ts b/types/react-icons/lib/go/paintcan.d.ts index b38f9aa673..630fa3e367 100644 --- a/types/react-icons/lib/go/paintcan.d.ts +++ b/types/react-icons/lib/go/paintcan.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoPaintcan extends React.Component<IconBaseProps> { } +declare class GoPaintcan extends React.Component<IconBaseProps> { } +export = GoPaintcan; diff --git a/types/react-icons/lib/go/pencil.d.ts b/types/react-icons/lib/go/pencil.d.ts index 9a2cc3fe1c..4a02f3c400 100644 --- a/types/react-icons/lib/go/pencil.d.ts +++ b/types/react-icons/lib/go/pencil.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoPencil extends React.Component<IconBaseProps> { } +declare class GoPencil extends React.Component<IconBaseProps> { } +export = GoPencil; diff --git a/types/react-icons/lib/go/person.d.ts b/types/react-icons/lib/go/person.d.ts index 177c738660..2949b9d660 100644 --- a/types/react-icons/lib/go/person.d.ts +++ b/types/react-icons/lib/go/person.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoPerson extends React.Component<IconBaseProps> { } +declare class GoPerson extends React.Component<IconBaseProps> { } +export = GoPerson; diff --git a/types/react-icons/lib/go/pin.d.ts b/types/react-icons/lib/go/pin.d.ts index f083f58df7..901b36a91f 100644 --- a/types/react-icons/lib/go/pin.d.ts +++ b/types/react-icons/lib/go/pin.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoPin extends React.Component<IconBaseProps> { } +declare class GoPin extends React.Component<IconBaseProps> { } +export = GoPin; diff --git a/types/react-icons/lib/go/playback-fast-forward.d.ts b/types/react-icons/lib/go/playback-fast-forward.d.ts index faa2293f90..65348b544f 100644 --- a/types/react-icons/lib/go/playback-fast-forward.d.ts +++ b/types/react-icons/lib/go/playback-fast-forward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoPlaybackFastForward extends React.Component<IconBaseProps> { } +declare class GoPlaybackFastForward extends React.Component<IconBaseProps> { } +export = GoPlaybackFastForward; diff --git a/types/react-icons/lib/go/playback-pause.d.ts b/types/react-icons/lib/go/playback-pause.d.ts index 43c3830eae..50f1cacef1 100644 --- a/types/react-icons/lib/go/playback-pause.d.ts +++ b/types/react-icons/lib/go/playback-pause.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoPlaybackPause extends React.Component<IconBaseProps> { } +declare class GoPlaybackPause extends React.Component<IconBaseProps> { } +export = GoPlaybackPause; diff --git a/types/react-icons/lib/go/playback-play.d.ts b/types/react-icons/lib/go/playback-play.d.ts index 6d90eadb63..68a8dab132 100644 --- a/types/react-icons/lib/go/playback-play.d.ts +++ b/types/react-icons/lib/go/playback-play.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoPlaybackPlay extends React.Component<IconBaseProps> { } +declare class GoPlaybackPlay extends React.Component<IconBaseProps> { } +export = GoPlaybackPlay; diff --git a/types/react-icons/lib/go/playback-rewind.d.ts b/types/react-icons/lib/go/playback-rewind.d.ts index 92080152af..a742b47fb6 100644 --- a/types/react-icons/lib/go/playback-rewind.d.ts +++ b/types/react-icons/lib/go/playback-rewind.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoPlaybackRewind extends React.Component<IconBaseProps> { } +declare class GoPlaybackRewind extends React.Component<IconBaseProps> { } +export = GoPlaybackRewind; diff --git a/types/react-icons/lib/go/plug.d.ts b/types/react-icons/lib/go/plug.d.ts index da0ec12aa1..8265b0a4b1 100644 --- a/types/react-icons/lib/go/plug.d.ts +++ b/types/react-icons/lib/go/plug.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoPlug extends React.Component<IconBaseProps> { } +declare class GoPlug extends React.Component<IconBaseProps> { } +export = GoPlug; diff --git a/types/react-icons/lib/go/plus.d.ts b/types/react-icons/lib/go/plus.d.ts index 867c30b643..e8c290d841 100644 --- a/types/react-icons/lib/go/plus.d.ts +++ b/types/react-icons/lib/go/plus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoPlus extends React.Component<IconBaseProps> { } +declare class GoPlus extends React.Component<IconBaseProps> { } +export = GoPlus; diff --git a/types/react-icons/lib/go/podium.d.ts b/types/react-icons/lib/go/podium.d.ts index 1c16142450..228759200d 100644 --- a/types/react-icons/lib/go/podium.d.ts +++ b/types/react-icons/lib/go/podium.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoPodium extends React.Component<IconBaseProps> { } +declare class GoPodium extends React.Component<IconBaseProps> { } +export = GoPodium; diff --git a/types/react-icons/lib/go/primitive-dot.d.ts b/types/react-icons/lib/go/primitive-dot.d.ts index 9a74108de7..279fa40d18 100644 --- a/types/react-icons/lib/go/primitive-dot.d.ts +++ b/types/react-icons/lib/go/primitive-dot.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoPrimitiveDot extends React.Component<IconBaseProps> { } +declare class GoPrimitiveDot extends React.Component<IconBaseProps> { } +export = GoPrimitiveDot; diff --git a/types/react-icons/lib/go/primitive-square.d.ts b/types/react-icons/lib/go/primitive-square.d.ts index 4a387621dd..d3e5ab1072 100644 --- a/types/react-icons/lib/go/primitive-square.d.ts +++ b/types/react-icons/lib/go/primitive-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoPrimitiveSquare extends React.Component<IconBaseProps> { } +declare class GoPrimitiveSquare extends React.Component<IconBaseProps> { } +export = GoPrimitiveSquare; diff --git a/types/react-icons/lib/go/pulse.d.ts b/types/react-icons/lib/go/pulse.d.ts index 111540b6ea..946e7e1eaa 100644 --- a/types/react-icons/lib/go/pulse.d.ts +++ b/types/react-icons/lib/go/pulse.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoPulse extends React.Component<IconBaseProps> { } +declare class GoPulse extends React.Component<IconBaseProps> { } +export = GoPulse; diff --git a/types/react-icons/lib/go/puzzle.d.ts b/types/react-icons/lib/go/puzzle.d.ts index 759922a96d..d684b5837c 100644 --- a/types/react-icons/lib/go/puzzle.d.ts +++ b/types/react-icons/lib/go/puzzle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoPuzzle extends React.Component<IconBaseProps> { } +declare class GoPuzzle extends React.Component<IconBaseProps> { } +export = GoPuzzle; diff --git a/types/react-icons/lib/go/question.d.ts b/types/react-icons/lib/go/question.d.ts index 7dd4302a96..57824568fa 100644 --- a/types/react-icons/lib/go/question.d.ts +++ b/types/react-icons/lib/go/question.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoQuestion extends React.Component<IconBaseProps> { } +declare class GoQuestion extends React.Component<IconBaseProps> { } +export = GoQuestion; diff --git a/types/react-icons/lib/go/quote.d.ts b/types/react-icons/lib/go/quote.d.ts index 47a6f2765a..13f1e5b5e7 100644 --- a/types/react-icons/lib/go/quote.d.ts +++ b/types/react-icons/lib/go/quote.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoQuote extends React.Component<IconBaseProps> { } +declare class GoQuote extends React.Component<IconBaseProps> { } +export = GoQuote; diff --git a/types/react-icons/lib/go/radio-tower.d.ts b/types/react-icons/lib/go/radio-tower.d.ts index fee3702338..81184f0449 100644 --- a/types/react-icons/lib/go/radio-tower.d.ts +++ b/types/react-icons/lib/go/radio-tower.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoRadioTower extends React.Component<IconBaseProps> { } +declare class GoRadioTower extends React.Component<IconBaseProps> { } +export = GoRadioTower; diff --git a/types/react-icons/lib/go/repo-clone.d.ts b/types/react-icons/lib/go/repo-clone.d.ts index fb9957a21d..420126bd91 100644 --- a/types/react-icons/lib/go/repo-clone.d.ts +++ b/types/react-icons/lib/go/repo-clone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoRepoClone extends React.Component<IconBaseProps> { } +declare class GoRepoClone extends React.Component<IconBaseProps> { } +export = GoRepoClone; diff --git a/types/react-icons/lib/go/repo-force-push.d.ts b/types/react-icons/lib/go/repo-force-push.d.ts index 6b1bf3a2c1..402458e84f 100644 --- a/types/react-icons/lib/go/repo-force-push.d.ts +++ b/types/react-icons/lib/go/repo-force-push.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoRepoForcePush extends React.Component<IconBaseProps> { } +declare class GoRepoForcePush extends React.Component<IconBaseProps> { } +export = GoRepoForcePush; diff --git a/types/react-icons/lib/go/repo-forked.d.ts b/types/react-icons/lib/go/repo-forked.d.ts index e68f5a3df6..6f74430b17 100644 --- a/types/react-icons/lib/go/repo-forked.d.ts +++ b/types/react-icons/lib/go/repo-forked.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoRepoForked extends React.Component<IconBaseProps> { } +declare class GoRepoForked extends React.Component<IconBaseProps> { } +export = GoRepoForked; diff --git a/types/react-icons/lib/go/repo-pull.d.ts b/types/react-icons/lib/go/repo-pull.d.ts index 916310f2bc..d850692812 100644 --- a/types/react-icons/lib/go/repo-pull.d.ts +++ b/types/react-icons/lib/go/repo-pull.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoRepoPull extends React.Component<IconBaseProps> { } +declare class GoRepoPull extends React.Component<IconBaseProps> { } +export = GoRepoPull; diff --git a/types/react-icons/lib/go/repo-push.d.ts b/types/react-icons/lib/go/repo-push.d.ts index 5e9a25d3a6..13969c2624 100644 --- a/types/react-icons/lib/go/repo-push.d.ts +++ b/types/react-icons/lib/go/repo-push.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoRepoPush extends React.Component<IconBaseProps> { } +declare class GoRepoPush extends React.Component<IconBaseProps> { } +export = GoRepoPush; diff --git a/types/react-icons/lib/go/repo.d.ts b/types/react-icons/lib/go/repo.d.ts index 87dd983849..88447bb207 100644 --- a/types/react-icons/lib/go/repo.d.ts +++ b/types/react-icons/lib/go/repo.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoRepo extends React.Component<IconBaseProps> { } +declare class GoRepo extends React.Component<IconBaseProps> { } +export = GoRepo; diff --git a/types/react-icons/lib/go/rocket.d.ts b/types/react-icons/lib/go/rocket.d.ts index 04a9f8fbbb..598924cb0b 100644 --- a/types/react-icons/lib/go/rocket.d.ts +++ b/types/react-icons/lib/go/rocket.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoRocket extends React.Component<IconBaseProps> { } +declare class GoRocket extends React.Component<IconBaseProps> { } +export = GoRocket; diff --git a/types/react-icons/lib/go/rss.d.ts b/types/react-icons/lib/go/rss.d.ts index d18a40a2fb..589f26cd86 100644 --- a/types/react-icons/lib/go/rss.d.ts +++ b/types/react-icons/lib/go/rss.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoRss extends React.Component<IconBaseProps> { } +declare class GoRss extends React.Component<IconBaseProps> { } +export = GoRss; diff --git a/types/react-icons/lib/go/ruby.d.ts b/types/react-icons/lib/go/ruby.d.ts index 467aecdce6..bf16a7cefe 100644 --- a/types/react-icons/lib/go/ruby.d.ts +++ b/types/react-icons/lib/go/ruby.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoRuby extends React.Component<IconBaseProps> { } +declare class GoRuby extends React.Component<IconBaseProps> { } +export = GoRuby; diff --git a/types/react-icons/lib/go/screen-full.d.ts b/types/react-icons/lib/go/screen-full.d.ts index f3eae2a63e..4f324d4e81 100644 --- a/types/react-icons/lib/go/screen-full.d.ts +++ b/types/react-icons/lib/go/screen-full.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoScreenFull extends React.Component<IconBaseProps> { } +declare class GoScreenFull extends React.Component<IconBaseProps> { } +export = GoScreenFull; diff --git a/types/react-icons/lib/go/screen-normal.d.ts b/types/react-icons/lib/go/screen-normal.d.ts index 59e38edc81..433d928425 100644 --- a/types/react-icons/lib/go/screen-normal.d.ts +++ b/types/react-icons/lib/go/screen-normal.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoScreenNormal extends React.Component<IconBaseProps> { } +declare class GoScreenNormal extends React.Component<IconBaseProps> { } +export = GoScreenNormal; diff --git a/types/react-icons/lib/go/search.d.ts b/types/react-icons/lib/go/search.d.ts index 54d1144369..9cb93f69d8 100644 --- a/types/react-icons/lib/go/search.d.ts +++ b/types/react-icons/lib/go/search.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoSearch extends React.Component<IconBaseProps> { } +declare class GoSearch extends React.Component<IconBaseProps> { } +export = GoSearch; diff --git a/types/react-icons/lib/go/server.d.ts b/types/react-icons/lib/go/server.d.ts index 1de141c1a2..c421874095 100644 --- a/types/react-icons/lib/go/server.d.ts +++ b/types/react-icons/lib/go/server.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoServer extends React.Component<IconBaseProps> { } +declare class GoServer extends React.Component<IconBaseProps> { } +export = GoServer; diff --git a/types/react-icons/lib/go/settings.d.ts b/types/react-icons/lib/go/settings.d.ts index a583ebe0fe..9baafba18d 100644 --- a/types/react-icons/lib/go/settings.d.ts +++ b/types/react-icons/lib/go/settings.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoSettings extends React.Component<IconBaseProps> { } +declare class GoSettings extends React.Component<IconBaseProps> { } +export = GoSettings; diff --git a/types/react-icons/lib/go/sign-in.d.ts b/types/react-icons/lib/go/sign-in.d.ts index f1788d6395..68f20f5c22 100644 --- a/types/react-icons/lib/go/sign-in.d.ts +++ b/types/react-icons/lib/go/sign-in.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoSignIn extends React.Component<IconBaseProps> { } +declare class GoSignIn extends React.Component<IconBaseProps> { } +export = GoSignIn; diff --git a/types/react-icons/lib/go/sign-out.d.ts b/types/react-icons/lib/go/sign-out.d.ts index dd87a41f43..44fb263813 100644 --- a/types/react-icons/lib/go/sign-out.d.ts +++ b/types/react-icons/lib/go/sign-out.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoSignOut extends React.Component<IconBaseProps> { } +declare class GoSignOut extends React.Component<IconBaseProps> { } +export = GoSignOut; diff --git a/types/react-icons/lib/go/split.d.ts b/types/react-icons/lib/go/split.d.ts index 4b930df74c..66cf541941 100644 --- a/types/react-icons/lib/go/split.d.ts +++ b/types/react-icons/lib/go/split.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoSplit extends React.Component<IconBaseProps> { } +declare class GoSplit extends React.Component<IconBaseProps> { } +export = GoSplit; diff --git a/types/react-icons/lib/go/squirrel.d.ts b/types/react-icons/lib/go/squirrel.d.ts index 2c1bfdc544..fdbc692970 100644 --- a/types/react-icons/lib/go/squirrel.d.ts +++ b/types/react-icons/lib/go/squirrel.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoSquirrel extends React.Component<IconBaseProps> { } +declare class GoSquirrel extends React.Component<IconBaseProps> { } +export = GoSquirrel; diff --git a/types/react-icons/lib/go/star.d.ts b/types/react-icons/lib/go/star.d.ts index a5f1a3718e..14d2ce7f4f 100644 --- a/types/react-icons/lib/go/star.d.ts +++ b/types/react-icons/lib/go/star.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoStar extends React.Component<IconBaseProps> { } +declare class GoStar extends React.Component<IconBaseProps> { } +export = GoStar; diff --git a/types/react-icons/lib/go/steps.d.ts b/types/react-icons/lib/go/steps.d.ts index ae1bd0f758..493e4aa6d0 100644 --- a/types/react-icons/lib/go/steps.d.ts +++ b/types/react-icons/lib/go/steps.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoSteps extends React.Component<IconBaseProps> { } +declare class GoSteps extends React.Component<IconBaseProps> { } +export = GoSteps; diff --git a/types/react-icons/lib/go/stop.d.ts b/types/react-icons/lib/go/stop.d.ts index 6036ca3c7f..06ac2310bc 100644 --- a/types/react-icons/lib/go/stop.d.ts +++ b/types/react-icons/lib/go/stop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoStop extends React.Component<IconBaseProps> { } +declare class GoStop extends React.Component<IconBaseProps> { } +export = GoStop; diff --git a/types/react-icons/lib/go/sync.d.ts b/types/react-icons/lib/go/sync.d.ts index 7a0ab4e316..b882bc2575 100644 --- a/types/react-icons/lib/go/sync.d.ts +++ b/types/react-icons/lib/go/sync.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoSync extends React.Component<IconBaseProps> { } +declare class GoSync extends React.Component<IconBaseProps> { } +export = GoSync; diff --git a/types/react-icons/lib/go/tag.d.ts b/types/react-icons/lib/go/tag.d.ts index ff161ead97..e24939fe9f 100644 --- a/types/react-icons/lib/go/tag.d.ts +++ b/types/react-icons/lib/go/tag.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoTag extends React.Component<IconBaseProps> { } +declare class GoTag extends React.Component<IconBaseProps> { } +export = GoTag; diff --git a/types/react-icons/lib/go/telescope.d.ts b/types/react-icons/lib/go/telescope.d.ts index 943c1764db..5a4f2783d7 100644 --- a/types/react-icons/lib/go/telescope.d.ts +++ b/types/react-icons/lib/go/telescope.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoTelescope extends React.Component<IconBaseProps> { } +declare class GoTelescope extends React.Component<IconBaseProps> { } +export = GoTelescope; diff --git a/types/react-icons/lib/go/terminal.d.ts b/types/react-icons/lib/go/terminal.d.ts index e21c5a9461..3cf73c9c48 100644 --- a/types/react-icons/lib/go/terminal.d.ts +++ b/types/react-icons/lib/go/terminal.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoTerminal extends React.Component<IconBaseProps> { } +declare class GoTerminal extends React.Component<IconBaseProps> { } +export = GoTerminal; diff --git a/types/react-icons/lib/go/three-bars.d.ts b/types/react-icons/lib/go/three-bars.d.ts index 75fe787e3f..6404d8df5a 100644 --- a/types/react-icons/lib/go/three-bars.d.ts +++ b/types/react-icons/lib/go/three-bars.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoThreeBars extends React.Component<IconBaseProps> { } +declare class GoThreeBars extends React.Component<IconBaseProps> { } +export = GoThreeBars; diff --git a/types/react-icons/lib/go/tools.d.ts b/types/react-icons/lib/go/tools.d.ts index 8229abce20..f5521eddd2 100644 --- a/types/react-icons/lib/go/tools.d.ts +++ b/types/react-icons/lib/go/tools.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoTools extends React.Component<IconBaseProps> { } +declare class GoTools extends React.Component<IconBaseProps> { } +export = GoTools; diff --git a/types/react-icons/lib/go/trashcan.d.ts b/types/react-icons/lib/go/trashcan.d.ts index 4b27fba299..f0fb6102fd 100644 --- a/types/react-icons/lib/go/trashcan.d.ts +++ b/types/react-icons/lib/go/trashcan.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoTrashcan extends React.Component<IconBaseProps> { } +declare class GoTrashcan extends React.Component<IconBaseProps> { } +export = GoTrashcan; diff --git a/types/react-icons/lib/go/triangle-down.d.ts b/types/react-icons/lib/go/triangle-down.d.ts index de19ba459a..faa8bad17c 100644 --- a/types/react-icons/lib/go/triangle-down.d.ts +++ b/types/react-icons/lib/go/triangle-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoTriangleDown extends React.Component<IconBaseProps> { } +declare class GoTriangleDown extends React.Component<IconBaseProps> { } +export = GoTriangleDown; diff --git a/types/react-icons/lib/go/triangle-left.d.ts b/types/react-icons/lib/go/triangle-left.d.ts index 309b832111..7597f35cf4 100644 --- a/types/react-icons/lib/go/triangle-left.d.ts +++ b/types/react-icons/lib/go/triangle-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoTriangleLeft extends React.Component<IconBaseProps> { } +declare class GoTriangleLeft extends React.Component<IconBaseProps> { } +export = GoTriangleLeft; diff --git a/types/react-icons/lib/go/triangle-right.d.ts b/types/react-icons/lib/go/triangle-right.d.ts index 989f428fb3..78038cb7fa 100644 --- a/types/react-icons/lib/go/triangle-right.d.ts +++ b/types/react-icons/lib/go/triangle-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoTriangleRight extends React.Component<IconBaseProps> { } +declare class GoTriangleRight extends React.Component<IconBaseProps> { } +export = GoTriangleRight; diff --git a/types/react-icons/lib/go/triangle-up.d.ts b/types/react-icons/lib/go/triangle-up.d.ts index fae4ac1c25..36d850dddf 100644 --- a/types/react-icons/lib/go/triangle-up.d.ts +++ b/types/react-icons/lib/go/triangle-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoTriangleUp extends React.Component<IconBaseProps> { } +declare class GoTriangleUp extends React.Component<IconBaseProps> { } +export = GoTriangleUp; diff --git a/types/react-icons/lib/go/unfold.d.ts b/types/react-icons/lib/go/unfold.d.ts index 1c00f170d5..20945933b9 100644 --- a/types/react-icons/lib/go/unfold.d.ts +++ b/types/react-icons/lib/go/unfold.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoUnfold extends React.Component<IconBaseProps> { } +declare class GoUnfold extends React.Component<IconBaseProps> { } +export = GoUnfold; diff --git a/types/react-icons/lib/go/unmute.d.ts b/types/react-icons/lib/go/unmute.d.ts index 90eda20972..99c79e0b3f 100644 --- a/types/react-icons/lib/go/unmute.d.ts +++ b/types/react-icons/lib/go/unmute.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoUnmute extends React.Component<IconBaseProps> { } +declare class GoUnmute extends React.Component<IconBaseProps> { } +export = GoUnmute; diff --git a/types/react-icons/lib/go/versions.d.ts b/types/react-icons/lib/go/versions.d.ts index d11586398f..d1935af3ec 100644 --- a/types/react-icons/lib/go/versions.d.ts +++ b/types/react-icons/lib/go/versions.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoVersions extends React.Component<IconBaseProps> { } +declare class GoVersions extends React.Component<IconBaseProps> { } +export = GoVersions; diff --git a/types/react-icons/lib/go/x.d.ts b/types/react-icons/lib/go/x.d.ts index 379cb94d5c..3b2e98de7e 100644 --- a/types/react-icons/lib/go/x.d.ts +++ b/types/react-icons/lib/go/x.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoX extends React.Component<IconBaseProps> { } +declare class GoX extends React.Component<IconBaseProps> { } +export = GoX; diff --git a/types/react-icons/lib/go/zap.d.ts b/types/react-icons/lib/go/zap.d.ts index 9dafc26355..811445fa12 100644 --- a/types/react-icons/lib/go/zap.d.ts +++ b/types/react-icons/lib/go/zap.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class GoZap extends React.Component<IconBaseProps> { } +declare class GoZap extends React.Component<IconBaseProps> { } +export = GoZap; diff --git a/types/react-icons/lib/io/alert-circled.d.ts b/types/react-icons/lib/io/alert-circled.d.ts index 1fc164cf30..5f5151f700 100644 --- a/types/react-icons/lib/io/alert-circled.d.ts +++ b/types/react-icons/lib/io/alert-circled.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAlertCircled extends React.Component<IconBaseProps> { } +declare class IoAlertCircled extends React.Component<IconBaseProps> { } +export = IoAlertCircled; diff --git a/types/react-icons/lib/io/alert.d.ts b/types/react-icons/lib/io/alert.d.ts index f3f236a07b..c30dcde318 100644 --- a/types/react-icons/lib/io/alert.d.ts +++ b/types/react-icons/lib/io/alert.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAlert extends React.Component<IconBaseProps> { } +declare class IoAlert extends React.Component<IconBaseProps> { } +export = IoAlert; diff --git a/types/react-icons/lib/io/android-add-circle.d.ts b/types/react-icons/lib/io/android-add-circle.d.ts index 83301fe5b9..2f2e549c01 100644 --- a/types/react-icons/lib/io/android-add-circle.d.ts +++ b/types/react-icons/lib/io/android-add-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidAddCircle extends React.Component<IconBaseProps> { } +declare class IoAndroidAddCircle extends React.Component<IconBaseProps> { } +export = IoAndroidAddCircle; diff --git a/types/react-icons/lib/io/android-add.d.ts b/types/react-icons/lib/io/android-add.d.ts index d6ec32e120..f96f955ae1 100644 --- a/types/react-icons/lib/io/android-add.d.ts +++ b/types/react-icons/lib/io/android-add.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidAdd extends React.Component<IconBaseProps> { } +declare class IoAndroidAdd extends React.Component<IconBaseProps> { } +export = IoAndroidAdd; diff --git a/types/react-icons/lib/io/android-alarm-clock.d.ts b/types/react-icons/lib/io/android-alarm-clock.d.ts index ba7424414a..6a168fddec 100644 --- a/types/react-icons/lib/io/android-alarm-clock.d.ts +++ b/types/react-icons/lib/io/android-alarm-clock.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidAlarmClock extends React.Component<IconBaseProps> { } +declare class IoAndroidAlarmClock extends React.Component<IconBaseProps> { } +export = IoAndroidAlarmClock; diff --git a/types/react-icons/lib/io/android-alert.d.ts b/types/react-icons/lib/io/android-alert.d.ts index 23f9c0fc85..0f59d0103c 100644 --- a/types/react-icons/lib/io/android-alert.d.ts +++ b/types/react-icons/lib/io/android-alert.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidAlert extends React.Component<IconBaseProps> { } +declare class IoAndroidAlert extends React.Component<IconBaseProps> { } +export = IoAndroidAlert; diff --git a/types/react-icons/lib/io/android-apps.d.ts b/types/react-icons/lib/io/android-apps.d.ts index 4ce9dca7c6..92be14083e 100644 --- a/types/react-icons/lib/io/android-apps.d.ts +++ b/types/react-icons/lib/io/android-apps.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidApps extends React.Component<IconBaseProps> { } +declare class IoAndroidApps extends React.Component<IconBaseProps> { } +export = IoAndroidApps; diff --git a/types/react-icons/lib/io/android-archive.d.ts b/types/react-icons/lib/io/android-archive.d.ts index bd86f53213..d108a68ce1 100644 --- a/types/react-icons/lib/io/android-archive.d.ts +++ b/types/react-icons/lib/io/android-archive.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidArchive extends React.Component<IconBaseProps> { } +declare class IoAndroidArchive extends React.Component<IconBaseProps> { } +export = IoAndroidArchive; diff --git a/types/react-icons/lib/io/android-arrow-back.d.ts b/types/react-icons/lib/io/android-arrow-back.d.ts index ccf8a5dc52..2263310de6 100644 --- a/types/react-icons/lib/io/android-arrow-back.d.ts +++ b/types/react-icons/lib/io/android-arrow-back.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidArrowBack extends React.Component<IconBaseProps> { } +declare class IoAndroidArrowBack extends React.Component<IconBaseProps> { } +export = IoAndroidArrowBack; diff --git a/types/react-icons/lib/io/android-arrow-down.d.ts b/types/react-icons/lib/io/android-arrow-down.d.ts index 71d5471bb6..febd414373 100644 --- a/types/react-icons/lib/io/android-arrow-down.d.ts +++ b/types/react-icons/lib/io/android-arrow-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidArrowDown extends React.Component<IconBaseProps> { } +declare class IoAndroidArrowDown extends React.Component<IconBaseProps> { } +export = IoAndroidArrowDown; diff --git a/types/react-icons/lib/io/android-arrow-dropdown-circle.d.ts b/types/react-icons/lib/io/android-arrow-dropdown-circle.d.ts index 6a11a88c20..c74ce4befc 100644 --- a/types/react-icons/lib/io/android-arrow-dropdown-circle.d.ts +++ b/types/react-icons/lib/io/android-arrow-dropdown-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidArrowDropdownCircle extends React.Component<IconBaseProps> { } +declare class IoAndroidArrowDropdownCircle extends React.Component<IconBaseProps> { } +export = IoAndroidArrowDropdownCircle; diff --git a/types/react-icons/lib/io/android-arrow-dropdown.d.ts b/types/react-icons/lib/io/android-arrow-dropdown.d.ts index ec91403322..a11298f79e 100644 --- a/types/react-icons/lib/io/android-arrow-dropdown.d.ts +++ b/types/react-icons/lib/io/android-arrow-dropdown.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidArrowDropdown extends React.Component<IconBaseProps> { } +declare class IoAndroidArrowDropdown extends React.Component<IconBaseProps> { } +export = IoAndroidArrowDropdown; diff --git a/types/react-icons/lib/io/android-arrow-dropleft-circle.d.ts b/types/react-icons/lib/io/android-arrow-dropleft-circle.d.ts index a972b89ae8..ba18e42e00 100644 --- a/types/react-icons/lib/io/android-arrow-dropleft-circle.d.ts +++ b/types/react-icons/lib/io/android-arrow-dropleft-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidArrowDropleftCircle extends React.Component<IconBaseProps> { } +declare class IoAndroidArrowDropleftCircle extends React.Component<IconBaseProps> { } +export = IoAndroidArrowDropleftCircle; diff --git a/types/react-icons/lib/io/android-arrow-dropleft.d.ts b/types/react-icons/lib/io/android-arrow-dropleft.d.ts index 0477b93c0b..4e67f8ec1c 100644 --- a/types/react-icons/lib/io/android-arrow-dropleft.d.ts +++ b/types/react-icons/lib/io/android-arrow-dropleft.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidArrowDropleft extends React.Component<IconBaseProps> { } +declare class IoAndroidArrowDropleft extends React.Component<IconBaseProps> { } +export = IoAndroidArrowDropleft; diff --git a/types/react-icons/lib/io/android-arrow-dropright-circle.d.ts b/types/react-icons/lib/io/android-arrow-dropright-circle.d.ts index 2e53387d79..6282d02d58 100644 --- a/types/react-icons/lib/io/android-arrow-dropright-circle.d.ts +++ b/types/react-icons/lib/io/android-arrow-dropright-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidArrowDroprightCircle extends React.Component<IconBaseProps> { } +declare class IoAndroidArrowDroprightCircle extends React.Component<IconBaseProps> { } +export = IoAndroidArrowDroprightCircle; diff --git a/types/react-icons/lib/io/android-arrow-dropright.d.ts b/types/react-icons/lib/io/android-arrow-dropright.d.ts index b1ebcac3a3..0f6f702c6c 100644 --- a/types/react-icons/lib/io/android-arrow-dropright.d.ts +++ b/types/react-icons/lib/io/android-arrow-dropright.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidArrowDropright extends React.Component<IconBaseProps> { } +declare class IoAndroidArrowDropright extends React.Component<IconBaseProps> { } +export = IoAndroidArrowDropright; diff --git a/types/react-icons/lib/io/android-arrow-dropup-circle.d.ts b/types/react-icons/lib/io/android-arrow-dropup-circle.d.ts index cb8d87c3b7..0e4ed173e7 100644 --- a/types/react-icons/lib/io/android-arrow-dropup-circle.d.ts +++ b/types/react-icons/lib/io/android-arrow-dropup-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidArrowDropupCircle extends React.Component<IconBaseProps> { } +declare class IoAndroidArrowDropupCircle extends React.Component<IconBaseProps> { } +export = IoAndroidArrowDropupCircle; diff --git a/types/react-icons/lib/io/android-arrow-dropup.d.ts b/types/react-icons/lib/io/android-arrow-dropup.d.ts index b52c196650..548a6503dc 100644 --- a/types/react-icons/lib/io/android-arrow-dropup.d.ts +++ b/types/react-icons/lib/io/android-arrow-dropup.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidArrowDropup extends React.Component<IconBaseProps> { } +declare class IoAndroidArrowDropup extends React.Component<IconBaseProps> { } +export = IoAndroidArrowDropup; diff --git a/types/react-icons/lib/io/android-arrow-forward.d.ts b/types/react-icons/lib/io/android-arrow-forward.d.ts index a2e4cfcf3c..e2c44b78e6 100644 --- a/types/react-icons/lib/io/android-arrow-forward.d.ts +++ b/types/react-icons/lib/io/android-arrow-forward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidArrowForward extends React.Component<IconBaseProps> { } +declare class IoAndroidArrowForward extends React.Component<IconBaseProps> { } +export = IoAndroidArrowForward; diff --git a/types/react-icons/lib/io/android-arrow-up.d.ts b/types/react-icons/lib/io/android-arrow-up.d.ts index 8d30e1f1d6..67a5f46f6c 100644 --- a/types/react-icons/lib/io/android-arrow-up.d.ts +++ b/types/react-icons/lib/io/android-arrow-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidArrowUp extends React.Component<IconBaseProps> { } +declare class IoAndroidArrowUp extends React.Component<IconBaseProps> { } +export = IoAndroidArrowUp; diff --git a/types/react-icons/lib/io/android-attach.d.ts b/types/react-icons/lib/io/android-attach.d.ts index 42b704ef71..3f1e724664 100644 --- a/types/react-icons/lib/io/android-attach.d.ts +++ b/types/react-icons/lib/io/android-attach.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidAttach extends React.Component<IconBaseProps> { } +declare class IoAndroidAttach extends React.Component<IconBaseProps> { } +export = IoAndroidAttach; diff --git a/types/react-icons/lib/io/android-bar.d.ts b/types/react-icons/lib/io/android-bar.d.ts index 0dbc0148db..ed6e223e2b 100644 --- a/types/react-icons/lib/io/android-bar.d.ts +++ b/types/react-icons/lib/io/android-bar.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidBar extends React.Component<IconBaseProps> { } +declare class IoAndroidBar extends React.Component<IconBaseProps> { } +export = IoAndroidBar; diff --git a/types/react-icons/lib/io/android-bicycle.d.ts b/types/react-icons/lib/io/android-bicycle.d.ts index 7e8c1ef911..9d12e783cb 100644 --- a/types/react-icons/lib/io/android-bicycle.d.ts +++ b/types/react-icons/lib/io/android-bicycle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidBicycle extends React.Component<IconBaseProps> { } +declare class IoAndroidBicycle extends React.Component<IconBaseProps> { } +export = IoAndroidBicycle; diff --git a/types/react-icons/lib/io/android-boat.d.ts b/types/react-icons/lib/io/android-boat.d.ts index 59bf285c2b..61c5a805d3 100644 --- a/types/react-icons/lib/io/android-boat.d.ts +++ b/types/react-icons/lib/io/android-boat.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidBoat extends React.Component<IconBaseProps> { } +declare class IoAndroidBoat extends React.Component<IconBaseProps> { } +export = IoAndroidBoat; diff --git a/types/react-icons/lib/io/android-bookmark.d.ts b/types/react-icons/lib/io/android-bookmark.d.ts index 1585e691ac..02286d994a 100644 --- a/types/react-icons/lib/io/android-bookmark.d.ts +++ b/types/react-icons/lib/io/android-bookmark.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidBookmark extends React.Component<IconBaseProps> { } +declare class IoAndroidBookmark extends React.Component<IconBaseProps> { } +export = IoAndroidBookmark; diff --git a/types/react-icons/lib/io/android-bulb.d.ts b/types/react-icons/lib/io/android-bulb.d.ts index 04b9d70acb..c8658f0f8a 100644 --- a/types/react-icons/lib/io/android-bulb.d.ts +++ b/types/react-icons/lib/io/android-bulb.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidBulb extends React.Component<IconBaseProps> { } +declare class IoAndroidBulb extends React.Component<IconBaseProps> { } +export = IoAndroidBulb; diff --git a/types/react-icons/lib/io/android-bus.d.ts b/types/react-icons/lib/io/android-bus.d.ts index 2e93dc479b..f4e7c8742e 100644 --- a/types/react-icons/lib/io/android-bus.d.ts +++ b/types/react-icons/lib/io/android-bus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidBus extends React.Component<IconBaseProps> { } +declare class IoAndroidBus extends React.Component<IconBaseProps> { } +export = IoAndroidBus; diff --git a/types/react-icons/lib/io/android-calendar.d.ts b/types/react-icons/lib/io/android-calendar.d.ts index a884f3ff51..28331ff9ac 100644 --- a/types/react-icons/lib/io/android-calendar.d.ts +++ b/types/react-icons/lib/io/android-calendar.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidCalendar extends React.Component<IconBaseProps> { } +declare class IoAndroidCalendar extends React.Component<IconBaseProps> { } +export = IoAndroidCalendar; diff --git a/types/react-icons/lib/io/android-call.d.ts b/types/react-icons/lib/io/android-call.d.ts index 2b13615abf..130ab96563 100644 --- a/types/react-icons/lib/io/android-call.d.ts +++ b/types/react-icons/lib/io/android-call.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidCall extends React.Component<IconBaseProps> { } +declare class IoAndroidCall extends React.Component<IconBaseProps> { } +export = IoAndroidCall; diff --git a/types/react-icons/lib/io/android-camera.d.ts b/types/react-icons/lib/io/android-camera.d.ts index 042a0b2694..8ec2f9732a 100644 --- a/types/react-icons/lib/io/android-camera.d.ts +++ b/types/react-icons/lib/io/android-camera.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidCamera extends React.Component<IconBaseProps> { } +declare class IoAndroidCamera extends React.Component<IconBaseProps> { } +export = IoAndroidCamera; diff --git a/types/react-icons/lib/io/android-cancel.d.ts b/types/react-icons/lib/io/android-cancel.d.ts index 067a2a32f0..cce87b95f0 100644 --- a/types/react-icons/lib/io/android-cancel.d.ts +++ b/types/react-icons/lib/io/android-cancel.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidCancel extends React.Component<IconBaseProps> { } +declare class IoAndroidCancel extends React.Component<IconBaseProps> { } +export = IoAndroidCancel; diff --git a/types/react-icons/lib/io/android-car.d.ts b/types/react-icons/lib/io/android-car.d.ts index fcb7c849d8..5b808e2ee3 100644 --- a/types/react-icons/lib/io/android-car.d.ts +++ b/types/react-icons/lib/io/android-car.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidCar extends React.Component<IconBaseProps> { } +declare class IoAndroidCar extends React.Component<IconBaseProps> { } +export = IoAndroidCar; diff --git a/types/react-icons/lib/io/android-cart.d.ts b/types/react-icons/lib/io/android-cart.d.ts index 7d944a55c5..d821947f1a 100644 --- a/types/react-icons/lib/io/android-cart.d.ts +++ b/types/react-icons/lib/io/android-cart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidCart extends React.Component<IconBaseProps> { } +declare class IoAndroidCart extends React.Component<IconBaseProps> { } +export = IoAndroidCart; diff --git a/types/react-icons/lib/io/android-chat.d.ts b/types/react-icons/lib/io/android-chat.d.ts index 8789c4f12b..ac3d6d6d84 100644 --- a/types/react-icons/lib/io/android-chat.d.ts +++ b/types/react-icons/lib/io/android-chat.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidChat extends React.Component<IconBaseProps> { } +declare class IoAndroidChat extends React.Component<IconBaseProps> { } +export = IoAndroidChat; diff --git a/types/react-icons/lib/io/android-checkbox-blank.d.ts b/types/react-icons/lib/io/android-checkbox-blank.d.ts index 2651183ba1..ea35930cd8 100644 --- a/types/react-icons/lib/io/android-checkbox-blank.d.ts +++ b/types/react-icons/lib/io/android-checkbox-blank.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidCheckboxBlank extends React.Component<IconBaseProps> { } +declare class IoAndroidCheckboxBlank extends React.Component<IconBaseProps> { } +export = IoAndroidCheckboxBlank; diff --git a/types/react-icons/lib/io/android-checkbox-outline-blank.d.ts b/types/react-icons/lib/io/android-checkbox-outline-blank.d.ts index cf6a3a3d5e..493db386e4 100644 --- a/types/react-icons/lib/io/android-checkbox-outline-blank.d.ts +++ b/types/react-icons/lib/io/android-checkbox-outline-blank.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidCheckboxOutlineBlank extends React.Component<IconBaseProps> { } +declare class IoAndroidCheckboxOutlineBlank extends React.Component<IconBaseProps> { } +export = IoAndroidCheckboxOutlineBlank; diff --git a/types/react-icons/lib/io/android-checkbox-outline.d.ts b/types/react-icons/lib/io/android-checkbox-outline.d.ts index 3a6347a302..8b27d97a12 100644 --- a/types/react-icons/lib/io/android-checkbox-outline.d.ts +++ b/types/react-icons/lib/io/android-checkbox-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidCheckboxOutline extends React.Component<IconBaseProps> { } +declare class IoAndroidCheckboxOutline extends React.Component<IconBaseProps> { } +export = IoAndroidCheckboxOutline; diff --git a/types/react-icons/lib/io/android-checkbox.d.ts b/types/react-icons/lib/io/android-checkbox.d.ts index cb21d62e65..743201b816 100644 --- a/types/react-icons/lib/io/android-checkbox.d.ts +++ b/types/react-icons/lib/io/android-checkbox.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidCheckbox extends React.Component<IconBaseProps> { } +declare class IoAndroidCheckbox extends React.Component<IconBaseProps> { } +export = IoAndroidCheckbox; diff --git a/types/react-icons/lib/io/android-checkmark-circle.d.ts b/types/react-icons/lib/io/android-checkmark-circle.d.ts index 3671ada3d0..b8bbf317e3 100644 --- a/types/react-icons/lib/io/android-checkmark-circle.d.ts +++ b/types/react-icons/lib/io/android-checkmark-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidCheckmarkCircle extends React.Component<IconBaseProps> { } +declare class IoAndroidCheckmarkCircle extends React.Component<IconBaseProps> { } +export = IoAndroidCheckmarkCircle; diff --git a/types/react-icons/lib/io/android-clipboard.d.ts b/types/react-icons/lib/io/android-clipboard.d.ts index 3d93506b17..78c0a197fc 100644 --- a/types/react-icons/lib/io/android-clipboard.d.ts +++ b/types/react-icons/lib/io/android-clipboard.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidClipboard extends React.Component<IconBaseProps> { } +declare class IoAndroidClipboard extends React.Component<IconBaseProps> { } +export = IoAndroidClipboard; diff --git a/types/react-icons/lib/io/android-close.d.ts b/types/react-icons/lib/io/android-close.d.ts index ad32b8b302..4e9797dbb8 100644 --- a/types/react-icons/lib/io/android-close.d.ts +++ b/types/react-icons/lib/io/android-close.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidClose extends React.Component<IconBaseProps> { } +declare class IoAndroidClose extends React.Component<IconBaseProps> { } +export = IoAndroidClose; diff --git a/types/react-icons/lib/io/android-cloud-circle.d.ts b/types/react-icons/lib/io/android-cloud-circle.d.ts index 9c30f64677..976a7730e8 100644 --- a/types/react-icons/lib/io/android-cloud-circle.d.ts +++ b/types/react-icons/lib/io/android-cloud-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidCloudCircle extends React.Component<IconBaseProps> { } +declare class IoAndroidCloudCircle extends React.Component<IconBaseProps> { } +export = IoAndroidCloudCircle; diff --git a/types/react-icons/lib/io/android-cloud-done.d.ts b/types/react-icons/lib/io/android-cloud-done.d.ts index 6900251eec..38baf11c4b 100644 --- a/types/react-icons/lib/io/android-cloud-done.d.ts +++ b/types/react-icons/lib/io/android-cloud-done.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidCloudDone extends React.Component<IconBaseProps> { } +declare class IoAndroidCloudDone extends React.Component<IconBaseProps> { } +export = IoAndroidCloudDone; diff --git a/types/react-icons/lib/io/android-cloud-outline.d.ts b/types/react-icons/lib/io/android-cloud-outline.d.ts index a8144aad15..390718504b 100644 --- a/types/react-icons/lib/io/android-cloud-outline.d.ts +++ b/types/react-icons/lib/io/android-cloud-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidCloudOutline extends React.Component<IconBaseProps> { } +declare class IoAndroidCloudOutline extends React.Component<IconBaseProps> { } +export = IoAndroidCloudOutline; diff --git a/types/react-icons/lib/io/android-cloud.d.ts b/types/react-icons/lib/io/android-cloud.d.ts index e0fc48bfd5..276dde52c4 100644 --- a/types/react-icons/lib/io/android-cloud.d.ts +++ b/types/react-icons/lib/io/android-cloud.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidCloud extends React.Component<IconBaseProps> { } +declare class IoAndroidCloud extends React.Component<IconBaseProps> { } +export = IoAndroidCloud; diff --git a/types/react-icons/lib/io/android-color-palette.d.ts b/types/react-icons/lib/io/android-color-palette.d.ts index 79ddef8b10..d27a8c686a 100644 --- a/types/react-icons/lib/io/android-color-palette.d.ts +++ b/types/react-icons/lib/io/android-color-palette.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidColorPalette extends React.Component<IconBaseProps> { } +declare class IoAndroidColorPalette extends React.Component<IconBaseProps> { } +export = IoAndroidColorPalette; diff --git a/types/react-icons/lib/io/android-compass.d.ts b/types/react-icons/lib/io/android-compass.d.ts index c577a6a3fd..0e09fa8b02 100644 --- a/types/react-icons/lib/io/android-compass.d.ts +++ b/types/react-icons/lib/io/android-compass.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidCompass extends React.Component<IconBaseProps> { } +declare class IoAndroidCompass extends React.Component<IconBaseProps> { } +export = IoAndroidCompass; diff --git a/types/react-icons/lib/io/android-contact.d.ts b/types/react-icons/lib/io/android-contact.d.ts index 933faca311..ee5ac203e7 100644 --- a/types/react-icons/lib/io/android-contact.d.ts +++ b/types/react-icons/lib/io/android-contact.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidContact extends React.Component<IconBaseProps> { } +declare class IoAndroidContact extends React.Component<IconBaseProps> { } +export = IoAndroidContact; diff --git a/types/react-icons/lib/io/android-contacts.d.ts b/types/react-icons/lib/io/android-contacts.d.ts index 22f23054ff..f7ad32a1c6 100644 --- a/types/react-icons/lib/io/android-contacts.d.ts +++ b/types/react-icons/lib/io/android-contacts.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidContacts extends React.Component<IconBaseProps> { } +declare class IoAndroidContacts extends React.Component<IconBaseProps> { } +export = IoAndroidContacts; diff --git a/types/react-icons/lib/io/android-contract.d.ts b/types/react-icons/lib/io/android-contract.d.ts index 87c6a88fa1..f5ee526460 100644 --- a/types/react-icons/lib/io/android-contract.d.ts +++ b/types/react-icons/lib/io/android-contract.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidContract extends React.Component<IconBaseProps> { } +declare class IoAndroidContract extends React.Component<IconBaseProps> { } +export = IoAndroidContract; diff --git a/types/react-icons/lib/io/android-create.d.ts b/types/react-icons/lib/io/android-create.d.ts index 38c4a7fa79..7974150c7b 100644 --- a/types/react-icons/lib/io/android-create.d.ts +++ b/types/react-icons/lib/io/android-create.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidCreate extends React.Component<IconBaseProps> { } +declare class IoAndroidCreate extends React.Component<IconBaseProps> { } +export = IoAndroidCreate; diff --git a/types/react-icons/lib/io/android-delete.d.ts b/types/react-icons/lib/io/android-delete.d.ts index 1863649507..3f4c83aa20 100644 --- a/types/react-icons/lib/io/android-delete.d.ts +++ b/types/react-icons/lib/io/android-delete.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidDelete extends React.Component<IconBaseProps> { } +declare class IoAndroidDelete extends React.Component<IconBaseProps> { } +export = IoAndroidDelete; diff --git a/types/react-icons/lib/io/android-desktop.d.ts b/types/react-icons/lib/io/android-desktop.d.ts index a8233e4c61..f826e3735a 100644 --- a/types/react-icons/lib/io/android-desktop.d.ts +++ b/types/react-icons/lib/io/android-desktop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidDesktop extends React.Component<IconBaseProps> { } +declare class IoAndroidDesktop extends React.Component<IconBaseProps> { } +export = IoAndroidDesktop; diff --git a/types/react-icons/lib/io/android-document.d.ts b/types/react-icons/lib/io/android-document.d.ts index b2a4c4d5a3..e24e4ddb2c 100644 --- a/types/react-icons/lib/io/android-document.d.ts +++ b/types/react-icons/lib/io/android-document.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidDocument extends React.Component<IconBaseProps> { } +declare class IoAndroidDocument extends React.Component<IconBaseProps> { } +export = IoAndroidDocument; diff --git a/types/react-icons/lib/io/android-done-all.d.ts b/types/react-icons/lib/io/android-done-all.d.ts index 9759331f5e..55ec050491 100644 --- a/types/react-icons/lib/io/android-done-all.d.ts +++ b/types/react-icons/lib/io/android-done-all.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidDoneAll extends React.Component<IconBaseProps> { } +declare class IoAndroidDoneAll extends React.Component<IconBaseProps> { } +export = IoAndroidDoneAll; diff --git a/types/react-icons/lib/io/android-done.d.ts b/types/react-icons/lib/io/android-done.d.ts index ef68fc8e34..5252d05cf6 100644 --- a/types/react-icons/lib/io/android-done.d.ts +++ b/types/react-icons/lib/io/android-done.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidDone extends React.Component<IconBaseProps> { } +declare class IoAndroidDone extends React.Component<IconBaseProps> { } +export = IoAndroidDone; diff --git a/types/react-icons/lib/io/android-download.d.ts b/types/react-icons/lib/io/android-download.d.ts index 35caf226ba..cec9c411ca 100644 --- a/types/react-icons/lib/io/android-download.d.ts +++ b/types/react-icons/lib/io/android-download.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidDownload extends React.Component<IconBaseProps> { } +declare class IoAndroidDownload extends React.Component<IconBaseProps> { } +export = IoAndroidDownload; diff --git a/types/react-icons/lib/io/android-drafts.d.ts b/types/react-icons/lib/io/android-drafts.d.ts index c143e50a3d..18be5b128c 100644 --- a/types/react-icons/lib/io/android-drafts.d.ts +++ b/types/react-icons/lib/io/android-drafts.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidDrafts extends React.Component<IconBaseProps> { } +declare class IoAndroidDrafts extends React.Component<IconBaseProps> { } +export = IoAndroidDrafts; diff --git a/types/react-icons/lib/io/android-exit.d.ts b/types/react-icons/lib/io/android-exit.d.ts index ad1c1fa91e..f2d97ecdc5 100644 --- a/types/react-icons/lib/io/android-exit.d.ts +++ b/types/react-icons/lib/io/android-exit.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidExit extends React.Component<IconBaseProps> { } +declare class IoAndroidExit extends React.Component<IconBaseProps> { } +export = IoAndroidExit; diff --git a/types/react-icons/lib/io/android-expand.d.ts b/types/react-icons/lib/io/android-expand.d.ts index 01e32a17c5..e4d957b4f0 100644 --- a/types/react-icons/lib/io/android-expand.d.ts +++ b/types/react-icons/lib/io/android-expand.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidExpand extends React.Component<IconBaseProps> { } +declare class IoAndroidExpand extends React.Component<IconBaseProps> { } +export = IoAndroidExpand; diff --git a/types/react-icons/lib/io/android-favorite-outline.d.ts b/types/react-icons/lib/io/android-favorite-outline.d.ts index 9d26146836..b8736afb6b 100644 --- a/types/react-icons/lib/io/android-favorite-outline.d.ts +++ b/types/react-icons/lib/io/android-favorite-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidFavoriteOutline extends React.Component<IconBaseProps> { } +declare class IoAndroidFavoriteOutline extends React.Component<IconBaseProps> { } +export = IoAndroidFavoriteOutline; diff --git a/types/react-icons/lib/io/android-favorite.d.ts b/types/react-icons/lib/io/android-favorite.d.ts index 17fd1ebcb0..727facbe52 100644 --- a/types/react-icons/lib/io/android-favorite.d.ts +++ b/types/react-icons/lib/io/android-favorite.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidFavorite extends React.Component<IconBaseProps> { } +declare class IoAndroidFavorite extends React.Component<IconBaseProps> { } +export = IoAndroidFavorite; diff --git a/types/react-icons/lib/io/android-film.d.ts b/types/react-icons/lib/io/android-film.d.ts index d78bd6bf92..66b52ca996 100644 --- a/types/react-icons/lib/io/android-film.d.ts +++ b/types/react-icons/lib/io/android-film.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidFilm extends React.Component<IconBaseProps> { } +declare class IoAndroidFilm extends React.Component<IconBaseProps> { } +export = IoAndroidFilm; diff --git a/types/react-icons/lib/io/android-folder-open.d.ts b/types/react-icons/lib/io/android-folder-open.d.ts index b494784e58..f718448caa 100644 --- a/types/react-icons/lib/io/android-folder-open.d.ts +++ b/types/react-icons/lib/io/android-folder-open.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidFolderOpen extends React.Component<IconBaseProps> { } +declare class IoAndroidFolderOpen extends React.Component<IconBaseProps> { } +export = IoAndroidFolderOpen; diff --git a/types/react-icons/lib/io/android-folder.d.ts b/types/react-icons/lib/io/android-folder.d.ts index 19fa386920..378a96e3cd 100644 --- a/types/react-icons/lib/io/android-folder.d.ts +++ b/types/react-icons/lib/io/android-folder.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidFolder extends React.Component<IconBaseProps> { } +declare class IoAndroidFolder extends React.Component<IconBaseProps> { } +export = IoAndroidFolder; diff --git a/types/react-icons/lib/io/android-funnel.d.ts b/types/react-icons/lib/io/android-funnel.d.ts index a43e13c0e5..d831baf36e 100644 --- a/types/react-icons/lib/io/android-funnel.d.ts +++ b/types/react-icons/lib/io/android-funnel.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidFunnel extends React.Component<IconBaseProps> { } +declare class IoAndroidFunnel extends React.Component<IconBaseProps> { } +export = IoAndroidFunnel; diff --git a/types/react-icons/lib/io/android-globe.d.ts b/types/react-icons/lib/io/android-globe.d.ts index 7d27e58cc1..5e8ce6c9d1 100644 --- a/types/react-icons/lib/io/android-globe.d.ts +++ b/types/react-icons/lib/io/android-globe.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidGlobe extends React.Component<IconBaseProps> { } +declare class IoAndroidGlobe extends React.Component<IconBaseProps> { } +export = IoAndroidGlobe; diff --git a/types/react-icons/lib/io/android-hand.d.ts b/types/react-icons/lib/io/android-hand.d.ts index 280652d333..7f875b0c47 100644 --- a/types/react-icons/lib/io/android-hand.d.ts +++ b/types/react-icons/lib/io/android-hand.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidHand extends React.Component<IconBaseProps> { } +declare class IoAndroidHand extends React.Component<IconBaseProps> { } +export = IoAndroidHand; diff --git a/types/react-icons/lib/io/android-hangout.d.ts b/types/react-icons/lib/io/android-hangout.d.ts index 452158902c..fa4c4dc137 100644 --- a/types/react-icons/lib/io/android-hangout.d.ts +++ b/types/react-icons/lib/io/android-hangout.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidHangout extends React.Component<IconBaseProps> { } +declare class IoAndroidHangout extends React.Component<IconBaseProps> { } +export = IoAndroidHangout; diff --git a/types/react-icons/lib/io/android-happy.d.ts b/types/react-icons/lib/io/android-happy.d.ts index 7343ceb5dd..0d81a84b94 100644 --- a/types/react-icons/lib/io/android-happy.d.ts +++ b/types/react-icons/lib/io/android-happy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidHappy extends React.Component<IconBaseProps> { } +declare class IoAndroidHappy extends React.Component<IconBaseProps> { } +export = IoAndroidHappy; diff --git a/types/react-icons/lib/io/android-home.d.ts b/types/react-icons/lib/io/android-home.d.ts index 75cc1ed488..267c85c98e 100644 --- a/types/react-icons/lib/io/android-home.d.ts +++ b/types/react-icons/lib/io/android-home.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidHome extends React.Component<IconBaseProps> { } +declare class IoAndroidHome extends React.Component<IconBaseProps> { } +export = IoAndroidHome; diff --git a/types/react-icons/lib/io/android-image.d.ts b/types/react-icons/lib/io/android-image.d.ts index 46d20ffdc2..8972e43e07 100644 --- a/types/react-icons/lib/io/android-image.d.ts +++ b/types/react-icons/lib/io/android-image.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidImage extends React.Component<IconBaseProps> { } +declare class IoAndroidImage extends React.Component<IconBaseProps> { } +export = IoAndroidImage; diff --git a/types/react-icons/lib/io/android-laptop.d.ts b/types/react-icons/lib/io/android-laptop.d.ts index 749f603ebc..d5e07af8d4 100644 --- a/types/react-icons/lib/io/android-laptop.d.ts +++ b/types/react-icons/lib/io/android-laptop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidLaptop extends React.Component<IconBaseProps> { } +declare class IoAndroidLaptop extends React.Component<IconBaseProps> { } +export = IoAndroidLaptop; diff --git a/types/react-icons/lib/io/android-list.d.ts b/types/react-icons/lib/io/android-list.d.ts index d366495d98..ce01a34854 100644 --- a/types/react-icons/lib/io/android-list.d.ts +++ b/types/react-icons/lib/io/android-list.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidList extends React.Component<IconBaseProps> { } +declare class IoAndroidList extends React.Component<IconBaseProps> { } +export = IoAndroidList; diff --git a/types/react-icons/lib/io/android-locate.d.ts b/types/react-icons/lib/io/android-locate.d.ts index b99c14cf66..a5e54836d9 100644 --- a/types/react-icons/lib/io/android-locate.d.ts +++ b/types/react-icons/lib/io/android-locate.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidLocate extends React.Component<IconBaseProps> { } +declare class IoAndroidLocate extends React.Component<IconBaseProps> { } +export = IoAndroidLocate; diff --git a/types/react-icons/lib/io/android-lock.d.ts b/types/react-icons/lib/io/android-lock.d.ts index 5447214ecf..d15e9dde78 100644 --- a/types/react-icons/lib/io/android-lock.d.ts +++ b/types/react-icons/lib/io/android-lock.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidLock extends React.Component<IconBaseProps> { } +declare class IoAndroidLock extends React.Component<IconBaseProps> { } +export = IoAndroidLock; diff --git a/types/react-icons/lib/io/android-mail.d.ts b/types/react-icons/lib/io/android-mail.d.ts index 29529c349f..2465408b77 100644 --- a/types/react-icons/lib/io/android-mail.d.ts +++ b/types/react-icons/lib/io/android-mail.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidMail extends React.Component<IconBaseProps> { } +declare class IoAndroidMail extends React.Component<IconBaseProps> { } +export = IoAndroidMail; diff --git a/types/react-icons/lib/io/android-map.d.ts b/types/react-icons/lib/io/android-map.d.ts index 521561d56e..3066749134 100644 --- a/types/react-icons/lib/io/android-map.d.ts +++ b/types/react-icons/lib/io/android-map.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidMap extends React.Component<IconBaseProps> { } +declare class IoAndroidMap extends React.Component<IconBaseProps> { } +export = IoAndroidMap; diff --git a/types/react-icons/lib/io/android-menu.d.ts b/types/react-icons/lib/io/android-menu.d.ts index f14d3f29fa..868ad478ff 100644 --- a/types/react-icons/lib/io/android-menu.d.ts +++ b/types/react-icons/lib/io/android-menu.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidMenu extends React.Component<IconBaseProps> { } +declare class IoAndroidMenu extends React.Component<IconBaseProps> { } +export = IoAndroidMenu; diff --git a/types/react-icons/lib/io/android-microphone-off.d.ts b/types/react-icons/lib/io/android-microphone-off.d.ts index 57ea0597db..b3df997b00 100644 --- a/types/react-icons/lib/io/android-microphone-off.d.ts +++ b/types/react-icons/lib/io/android-microphone-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidMicrophoneOff extends React.Component<IconBaseProps> { } +declare class IoAndroidMicrophoneOff extends React.Component<IconBaseProps> { } +export = IoAndroidMicrophoneOff; diff --git a/types/react-icons/lib/io/android-microphone.d.ts b/types/react-icons/lib/io/android-microphone.d.ts index 2e9105f34a..0ea8dc5a3f 100644 --- a/types/react-icons/lib/io/android-microphone.d.ts +++ b/types/react-icons/lib/io/android-microphone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidMicrophone extends React.Component<IconBaseProps> { } +declare class IoAndroidMicrophone extends React.Component<IconBaseProps> { } +export = IoAndroidMicrophone; diff --git a/types/react-icons/lib/io/android-more-horizontal.d.ts b/types/react-icons/lib/io/android-more-horizontal.d.ts index 4bdb7f35fd..231574bf5d 100644 --- a/types/react-icons/lib/io/android-more-horizontal.d.ts +++ b/types/react-icons/lib/io/android-more-horizontal.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidMoreHorizontal extends React.Component<IconBaseProps> { } +declare class IoAndroidMoreHorizontal extends React.Component<IconBaseProps> { } +export = IoAndroidMoreHorizontal; diff --git a/types/react-icons/lib/io/android-more-vertical.d.ts b/types/react-icons/lib/io/android-more-vertical.d.ts index f3b900b03a..aead3ae9fd 100644 --- a/types/react-icons/lib/io/android-more-vertical.d.ts +++ b/types/react-icons/lib/io/android-more-vertical.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidMoreVertical extends React.Component<IconBaseProps> { } +declare class IoAndroidMoreVertical extends React.Component<IconBaseProps> { } +export = IoAndroidMoreVertical; diff --git a/types/react-icons/lib/io/android-navigate.d.ts b/types/react-icons/lib/io/android-navigate.d.ts index c062fdb9a2..fdf359e643 100644 --- a/types/react-icons/lib/io/android-navigate.d.ts +++ b/types/react-icons/lib/io/android-navigate.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidNavigate extends React.Component<IconBaseProps> { } +declare class IoAndroidNavigate extends React.Component<IconBaseProps> { } +export = IoAndroidNavigate; diff --git a/types/react-icons/lib/io/android-notifications-none.d.ts b/types/react-icons/lib/io/android-notifications-none.d.ts index a5df08d48a..67894b2bca 100644 --- a/types/react-icons/lib/io/android-notifications-none.d.ts +++ b/types/react-icons/lib/io/android-notifications-none.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidNotificationsNone extends React.Component<IconBaseProps> { } +declare class IoAndroidNotificationsNone extends React.Component<IconBaseProps> { } +export = IoAndroidNotificationsNone; diff --git a/types/react-icons/lib/io/android-notifications-off.d.ts b/types/react-icons/lib/io/android-notifications-off.d.ts index 38e64be76b..2bfa60b253 100644 --- a/types/react-icons/lib/io/android-notifications-off.d.ts +++ b/types/react-icons/lib/io/android-notifications-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidNotificationsOff extends React.Component<IconBaseProps> { } +declare class IoAndroidNotificationsOff extends React.Component<IconBaseProps> { } +export = IoAndroidNotificationsOff; diff --git a/types/react-icons/lib/io/android-notifications.d.ts b/types/react-icons/lib/io/android-notifications.d.ts index f3fdc7b4fe..21f92ed397 100644 --- a/types/react-icons/lib/io/android-notifications.d.ts +++ b/types/react-icons/lib/io/android-notifications.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidNotifications extends React.Component<IconBaseProps> { } +declare class IoAndroidNotifications extends React.Component<IconBaseProps> { } +export = IoAndroidNotifications; diff --git a/types/react-icons/lib/io/android-open.d.ts b/types/react-icons/lib/io/android-open.d.ts index 8ef0abebde..186053e4fe 100644 --- a/types/react-icons/lib/io/android-open.d.ts +++ b/types/react-icons/lib/io/android-open.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidOpen extends React.Component<IconBaseProps> { } +declare class IoAndroidOpen extends React.Component<IconBaseProps> { } +export = IoAndroidOpen; diff --git a/types/react-icons/lib/io/android-options.d.ts b/types/react-icons/lib/io/android-options.d.ts index 61640a419f..1a02e94789 100644 --- a/types/react-icons/lib/io/android-options.d.ts +++ b/types/react-icons/lib/io/android-options.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidOptions extends React.Component<IconBaseProps> { } +declare class IoAndroidOptions extends React.Component<IconBaseProps> { } +export = IoAndroidOptions; diff --git a/types/react-icons/lib/io/android-people.d.ts b/types/react-icons/lib/io/android-people.d.ts index 4f19a67eda..f2ee5547f1 100644 --- a/types/react-icons/lib/io/android-people.d.ts +++ b/types/react-icons/lib/io/android-people.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidPeople extends React.Component<IconBaseProps> { } +declare class IoAndroidPeople extends React.Component<IconBaseProps> { } +export = IoAndroidPeople; diff --git a/types/react-icons/lib/io/android-person-add.d.ts b/types/react-icons/lib/io/android-person-add.d.ts index 4fe6408fe0..1a81999f85 100644 --- a/types/react-icons/lib/io/android-person-add.d.ts +++ b/types/react-icons/lib/io/android-person-add.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidPersonAdd extends React.Component<IconBaseProps> { } +declare class IoAndroidPersonAdd extends React.Component<IconBaseProps> { } +export = IoAndroidPersonAdd; diff --git a/types/react-icons/lib/io/android-person.d.ts b/types/react-icons/lib/io/android-person.d.ts index ad0e00481a..5ef1b2d2d5 100644 --- a/types/react-icons/lib/io/android-person.d.ts +++ b/types/react-icons/lib/io/android-person.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidPerson extends React.Component<IconBaseProps> { } +declare class IoAndroidPerson extends React.Component<IconBaseProps> { } +export = IoAndroidPerson; diff --git a/types/react-icons/lib/io/android-phone-landscape.d.ts b/types/react-icons/lib/io/android-phone-landscape.d.ts index bfff8ac323..ba076c50df 100644 --- a/types/react-icons/lib/io/android-phone-landscape.d.ts +++ b/types/react-icons/lib/io/android-phone-landscape.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidPhoneLandscape extends React.Component<IconBaseProps> { } +declare class IoAndroidPhoneLandscape extends React.Component<IconBaseProps> { } +export = IoAndroidPhoneLandscape; diff --git a/types/react-icons/lib/io/android-phone-portrait.d.ts b/types/react-icons/lib/io/android-phone-portrait.d.ts index 4a14130c8d..c0e8363ed5 100644 --- a/types/react-icons/lib/io/android-phone-portrait.d.ts +++ b/types/react-icons/lib/io/android-phone-portrait.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidPhonePortrait extends React.Component<IconBaseProps> { } +declare class IoAndroidPhonePortrait extends React.Component<IconBaseProps> { } +export = IoAndroidPhonePortrait; diff --git a/types/react-icons/lib/io/android-pin.d.ts b/types/react-icons/lib/io/android-pin.d.ts index 5819b33b52..928bd7247c 100644 --- a/types/react-icons/lib/io/android-pin.d.ts +++ b/types/react-icons/lib/io/android-pin.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidPin extends React.Component<IconBaseProps> { } +declare class IoAndroidPin extends React.Component<IconBaseProps> { } +export = IoAndroidPin; diff --git a/types/react-icons/lib/io/android-plane.d.ts b/types/react-icons/lib/io/android-plane.d.ts index 4b436e096b..98704916c8 100644 --- a/types/react-icons/lib/io/android-plane.d.ts +++ b/types/react-icons/lib/io/android-plane.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidPlane extends React.Component<IconBaseProps> { } +declare class IoAndroidPlane extends React.Component<IconBaseProps> { } +export = IoAndroidPlane; diff --git a/types/react-icons/lib/io/android-playstore.d.ts b/types/react-icons/lib/io/android-playstore.d.ts index 99174ccab2..26f14fea70 100644 --- a/types/react-icons/lib/io/android-playstore.d.ts +++ b/types/react-icons/lib/io/android-playstore.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidPlaystore extends React.Component<IconBaseProps> { } +declare class IoAndroidPlaystore extends React.Component<IconBaseProps> { } +export = IoAndroidPlaystore; diff --git a/types/react-icons/lib/io/android-print.d.ts b/types/react-icons/lib/io/android-print.d.ts index b2f5807f06..40c6cc7631 100644 --- a/types/react-icons/lib/io/android-print.d.ts +++ b/types/react-icons/lib/io/android-print.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidPrint extends React.Component<IconBaseProps> { } +declare class IoAndroidPrint extends React.Component<IconBaseProps> { } +export = IoAndroidPrint; diff --git a/types/react-icons/lib/io/android-radio-button-off.d.ts b/types/react-icons/lib/io/android-radio-button-off.d.ts index fc2f705ff1..d5e637b6c6 100644 --- a/types/react-icons/lib/io/android-radio-button-off.d.ts +++ b/types/react-icons/lib/io/android-radio-button-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidRadioButtonOff extends React.Component<IconBaseProps> { } +declare class IoAndroidRadioButtonOff extends React.Component<IconBaseProps> { } +export = IoAndroidRadioButtonOff; diff --git a/types/react-icons/lib/io/android-radio-button-on.d.ts b/types/react-icons/lib/io/android-radio-button-on.d.ts index be28d7626e..9ad7514123 100644 --- a/types/react-icons/lib/io/android-radio-button-on.d.ts +++ b/types/react-icons/lib/io/android-radio-button-on.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidRadioButtonOn extends React.Component<IconBaseProps> { } +declare class IoAndroidRadioButtonOn extends React.Component<IconBaseProps> { } +export = IoAndroidRadioButtonOn; diff --git a/types/react-icons/lib/io/android-refresh.d.ts b/types/react-icons/lib/io/android-refresh.d.ts index eee0a2b96f..deeb3fe43b 100644 --- a/types/react-icons/lib/io/android-refresh.d.ts +++ b/types/react-icons/lib/io/android-refresh.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidRefresh extends React.Component<IconBaseProps> { } +declare class IoAndroidRefresh extends React.Component<IconBaseProps> { } +export = IoAndroidRefresh; diff --git a/types/react-icons/lib/io/android-remove-circle.d.ts b/types/react-icons/lib/io/android-remove-circle.d.ts index 7c525668f8..80d0dfef57 100644 --- a/types/react-icons/lib/io/android-remove-circle.d.ts +++ b/types/react-icons/lib/io/android-remove-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidRemoveCircle extends React.Component<IconBaseProps> { } +declare class IoAndroidRemoveCircle extends React.Component<IconBaseProps> { } +export = IoAndroidRemoveCircle; diff --git a/types/react-icons/lib/io/android-remove.d.ts b/types/react-icons/lib/io/android-remove.d.ts index 3767b079d3..9255e5e859 100644 --- a/types/react-icons/lib/io/android-remove.d.ts +++ b/types/react-icons/lib/io/android-remove.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidRemove extends React.Component<IconBaseProps> { } +declare class IoAndroidRemove extends React.Component<IconBaseProps> { } +export = IoAndroidRemove; diff --git a/types/react-icons/lib/io/android-restaurant.d.ts b/types/react-icons/lib/io/android-restaurant.d.ts index 5bb7a6ef15..492c12f5d0 100644 --- a/types/react-icons/lib/io/android-restaurant.d.ts +++ b/types/react-icons/lib/io/android-restaurant.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidRestaurant extends React.Component<IconBaseProps> { } +declare class IoAndroidRestaurant extends React.Component<IconBaseProps> { } +export = IoAndroidRestaurant; diff --git a/types/react-icons/lib/io/android-sad.d.ts b/types/react-icons/lib/io/android-sad.d.ts index dc45162222..1ed6bf48e8 100644 --- a/types/react-icons/lib/io/android-sad.d.ts +++ b/types/react-icons/lib/io/android-sad.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidSad extends React.Component<IconBaseProps> { } +declare class IoAndroidSad extends React.Component<IconBaseProps> { } +export = IoAndroidSad; diff --git a/types/react-icons/lib/io/android-search.d.ts b/types/react-icons/lib/io/android-search.d.ts index b5158286a1..e237357e4d 100644 --- a/types/react-icons/lib/io/android-search.d.ts +++ b/types/react-icons/lib/io/android-search.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidSearch extends React.Component<IconBaseProps> { } +declare class IoAndroidSearch extends React.Component<IconBaseProps> { } +export = IoAndroidSearch; diff --git a/types/react-icons/lib/io/android-send.d.ts b/types/react-icons/lib/io/android-send.d.ts index eebec03631..ee0efa2097 100644 --- a/types/react-icons/lib/io/android-send.d.ts +++ b/types/react-icons/lib/io/android-send.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidSend extends React.Component<IconBaseProps> { } +declare class IoAndroidSend extends React.Component<IconBaseProps> { } +export = IoAndroidSend; diff --git a/types/react-icons/lib/io/android-settings.d.ts b/types/react-icons/lib/io/android-settings.d.ts index c302aedf0c..ab7b4d2da1 100644 --- a/types/react-icons/lib/io/android-settings.d.ts +++ b/types/react-icons/lib/io/android-settings.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidSettings extends React.Component<IconBaseProps> { } +declare class IoAndroidSettings extends React.Component<IconBaseProps> { } +export = IoAndroidSettings; diff --git a/types/react-icons/lib/io/android-share-alt.d.ts b/types/react-icons/lib/io/android-share-alt.d.ts index dcdb8a648c..b833a5ea78 100644 --- a/types/react-icons/lib/io/android-share-alt.d.ts +++ b/types/react-icons/lib/io/android-share-alt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidShareAlt extends React.Component<IconBaseProps> { } +declare class IoAndroidShareAlt extends React.Component<IconBaseProps> { } +export = IoAndroidShareAlt; diff --git a/types/react-icons/lib/io/android-share.d.ts b/types/react-icons/lib/io/android-share.d.ts index 6b61e7c4e9..045317149c 100644 --- a/types/react-icons/lib/io/android-share.d.ts +++ b/types/react-icons/lib/io/android-share.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidShare extends React.Component<IconBaseProps> { } +declare class IoAndroidShare extends React.Component<IconBaseProps> { } +export = IoAndroidShare; diff --git a/types/react-icons/lib/io/android-star-half.d.ts b/types/react-icons/lib/io/android-star-half.d.ts index 6a9ce4048a..607b5f5035 100644 --- a/types/react-icons/lib/io/android-star-half.d.ts +++ b/types/react-icons/lib/io/android-star-half.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidStarHalf extends React.Component<IconBaseProps> { } +declare class IoAndroidStarHalf extends React.Component<IconBaseProps> { } +export = IoAndroidStarHalf; diff --git a/types/react-icons/lib/io/android-star-outline.d.ts b/types/react-icons/lib/io/android-star-outline.d.ts index 3413a8803c..ba99643a3e 100644 --- a/types/react-icons/lib/io/android-star-outline.d.ts +++ b/types/react-icons/lib/io/android-star-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidStarOutline extends React.Component<IconBaseProps> { } +declare class IoAndroidStarOutline extends React.Component<IconBaseProps> { } +export = IoAndroidStarOutline; diff --git a/types/react-icons/lib/io/android-star.d.ts b/types/react-icons/lib/io/android-star.d.ts index 0c6beadab5..830503a5dc 100644 --- a/types/react-icons/lib/io/android-star.d.ts +++ b/types/react-icons/lib/io/android-star.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidStar extends React.Component<IconBaseProps> { } +declare class IoAndroidStar extends React.Component<IconBaseProps> { } +export = IoAndroidStar; diff --git a/types/react-icons/lib/io/android-stopwatch.d.ts b/types/react-icons/lib/io/android-stopwatch.d.ts index 1094ca3036..fab66e6072 100644 --- a/types/react-icons/lib/io/android-stopwatch.d.ts +++ b/types/react-icons/lib/io/android-stopwatch.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidStopwatch extends React.Component<IconBaseProps> { } +declare class IoAndroidStopwatch extends React.Component<IconBaseProps> { } +export = IoAndroidStopwatch; diff --git a/types/react-icons/lib/io/android-subway.d.ts b/types/react-icons/lib/io/android-subway.d.ts index 1939fd06d3..19adba3f4b 100644 --- a/types/react-icons/lib/io/android-subway.d.ts +++ b/types/react-icons/lib/io/android-subway.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidSubway extends React.Component<IconBaseProps> { } +declare class IoAndroidSubway extends React.Component<IconBaseProps> { } +export = IoAndroidSubway; diff --git a/types/react-icons/lib/io/android-sunny.d.ts b/types/react-icons/lib/io/android-sunny.d.ts index 382cc921aa..5cc49715d8 100644 --- a/types/react-icons/lib/io/android-sunny.d.ts +++ b/types/react-icons/lib/io/android-sunny.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidSunny extends React.Component<IconBaseProps> { } +declare class IoAndroidSunny extends React.Component<IconBaseProps> { } +export = IoAndroidSunny; diff --git a/types/react-icons/lib/io/android-sync.d.ts b/types/react-icons/lib/io/android-sync.d.ts index 27b8493ecf..e96dbf6b3d 100644 --- a/types/react-icons/lib/io/android-sync.d.ts +++ b/types/react-icons/lib/io/android-sync.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidSync extends React.Component<IconBaseProps> { } +declare class IoAndroidSync extends React.Component<IconBaseProps> { } +export = IoAndroidSync; diff --git a/types/react-icons/lib/io/android-textsms.d.ts b/types/react-icons/lib/io/android-textsms.d.ts index 8020ed572a..06c59d582b 100644 --- a/types/react-icons/lib/io/android-textsms.d.ts +++ b/types/react-icons/lib/io/android-textsms.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidTextsms extends React.Component<IconBaseProps> { } +declare class IoAndroidTextsms extends React.Component<IconBaseProps> { } +export = IoAndroidTextsms; diff --git a/types/react-icons/lib/io/android-time.d.ts b/types/react-icons/lib/io/android-time.d.ts index 741d66a005..934829c7db 100644 --- a/types/react-icons/lib/io/android-time.d.ts +++ b/types/react-icons/lib/io/android-time.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidTime extends React.Component<IconBaseProps> { } +declare class IoAndroidTime extends React.Component<IconBaseProps> { } +export = IoAndroidTime; diff --git a/types/react-icons/lib/io/android-train.d.ts b/types/react-icons/lib/io/android-train.d.ts index c55e985bdd..a37d8f8402 100644 --- a/types/react-icons/lib/io/android-train.d.ts +++ b/types/react-icons/lib/io/android-train.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidTrain extends React.Component<IconBaseProps> { } +declare class IoAndroidTrain extends React.Component<IconBaseProps> { } +export = IoAndroidTrain; diff --git a/types/react-icons/lib/io/android-unlock.d.ts b/types/react-icons/lib/io/android-unlock.d.ts index 5eec9a875c..4ee8e33508 100644 --- a/types/react-icons/lib/io/android-unlock.d.ts +++ b/types/react-icons/lib/io/android-unlock.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidUnlock extends React.Component<IconBaseProps> { } +declare class IoAndroidUnlock extends React.Component<IconBaseProps> { } +export = IoAndroidUnlock; diff --git a/types/react-icons/lib/io/android-upload.d.ts b/types/react-icons/lib/io/android-upload.d.ts index d5e092172f..e0643362b5 100644 --- a/types/react-icons/lib/io/android-upload.d.ts +++ b/types/react-icons/lib/io/android-upload.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidUpload extends React.Component<IconBaseProps> { } +declare class IoAndroidUpload extends React.Component<IconBaseProps> { } +export = IoAndroidUpload; diff --git a/types/react-icons/lib/io/android-volume-down.d.ts b/types/react-icons/lib/io/android-volume-down.d.ts index ce256873be..9ec7c47caf 100644 --- a/types/react-icons/lib/io/android-volume-down.d.ts +++ b/types/react-icons/lib/io/android-volume-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidVolumeDown extends React.Component<IconBaseProps> { } +declare class IoAndroidVolumeDown extends React.Component<IconBaseProps> { } +export = IoAndroidVolumeDown; diff --git a/types/react-icons/lib/io/android-volume-mute.d.ts b/types/react-icons/lib/io/android-volume-mute.d.ts index 0675809779..86dbdd1ca9 100644 --- a/types/react-icons/lib/io/android-volume-mute.d.ts +++ b/types/react-icons/lib/io/android-volume-mute.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidVolumeMute extends React.Component<IconBaseProps> { } +declare class IoAndroidVolumeMute extends React.Component<IconBaseProps> { } +export = IoAndroidVolumeMute; diff --git a/types/react-icons/lib/io/android-volume-off.d.ts b/types/react-icons/lib/io/android-volume-off.d.ts index 76cbb85947..dd077d1d06 100644 --- a/types/react-icons/lib/io/android-volume-off.d.ts +++ b/types/react-icons/lib/io/android-volume-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidVolumeOff extends React.Component<IconBaseProps> { } +declare class IoAndroidVolumeOff extends React.Component<IconBaseProps> { } +export = IoAndroidVolumeOff; diff --git a/types/react-icons/lib/io/android-volume-up.d.ts b/types/react-icons/lib/io/android-volume-up.d.ts index ff3531cf02..11ea99a2ae 100644 --- a/types/react-icons/lib/io/android-volume-up.d.ts +++ b/types/react-icons/lib/io/android-volume-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidVolumeUp extends React.Component<IconBaseProps> { } +declare class IoAndroidVolumeUp extends React.Component<IconBaseProps> { } +export = IoAndroidVolumeUp; diff --git a/types/react-icons/lib/io/android-walk.d.ts b/types/react-icons/lib/io/android-walk.d.ts index 2d9c9fdfeb..df56fc72c7 100644 --- a/types/react-icons/lib/io/android-walk.d.ts +++ b/types/react-icons/lib/io/android-walk.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidWalk extends React.Component<IconBaseProps> { } +declare class IoAndroidWalk extends React.Component<IconBaseProps> { } +export = IoAndroidWalk; diff --git a/types/react-icons/lib/io/android-warning.d.ts b/types/react-icons/lib/io/android-warning.d.ts index ae0512a305..54dee71508 100644 --- a/types/react-icons/lib/io/android-warning.d.ts +++ b/types/react-icons/lib/io/android-warning.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidWarning extends React.Component<IconBaseProps> { } +declare class IoAndroidWarning extends React.Component<IconBaseProps> { } +export = IoAndroidWarning; diff --git a/types/react-icons/lib/io/android-watch.d.ts b/types/react-icons/lib/io/android-watch.d.ts index fd4f03a21d..5df467fbda 100644 --- a/types/react-icons/lib/io/android-watch.d.ts +++ b/types/react-icons/lib/io/android-watch.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidWatch extends React.Component<IconBaseProps> { } +declare class IoAndroidWatch extends React.Component<IconBaseProps> { } +export = IoAndroidWatch; diff --git a/types/react-icons/lib/io/android-wifi.d.ts b/types/react-icons/lib/io/android-wifi.d.ts index 52f56bfd92..c9faee16ba 100644 --- a/types/react-icons/lib/io/android-wifi.d.ts +++ b/types/react-icons/lib/io/android-wifi.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAndroidWifi extends React.Component<IconBaseProps> { } +declare class IoAndroidWifi extends React.Component<IconBaseProps> { } +export = IoAndroidWifi; diff --git a/types/react-icons/lib/io/aperture.d.ts b/types/react-icons/lib/io/aperture.d.ts index 433117938f..bae5242d92 100644 --- a/types/react-icons/lib/io/aperture.d.ts +++ b/types/react-icons/lib/io/aperture.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAperture extends React.Component<IconBaseProps> { } +declare class IoAperture extends React.Component<IconBaseProps> { } +export = IoAperture; diff --git a/types/react-icons/lib/io/archive.d.ts b/types/react-icons/lib/io/archive.d.ts index 90863a6615..0408f86352 100644 --- a/types/react-icons/lib/io/archive.d.ts +++ b/types/react-icons/lib/io/archive.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArchive extends React.Component<IconBaseProps> { } +declare class IoArchive extends React.Component<IconBaseProps> { } +export = IoArchive; diff --git a/types/react-icons/lib/io/arrow-down-a.d.ts b/types/react-icons/lib/io/arrow-down-a.d.ts index eadf0800bb..1dedc57504 100644 --- a/types/react-icons/lib/io/arrow-down-a.d.ts +++ b/types/react-icons/lib/io/arrow-down-a.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowDownA extends React.Component<IconBaseProps> { } +declare class IoArrowDownA extends React.Component<IconBaseProps> { } +export = IoArrowDownA; diff --git a/types/react-icons/lib/io/arrow-down-b.d.ts b/types/react-icons/lib/io/arrow-down-b.d.ts index 281147e627..2317676b0d 100644 --- a/types/react-icons/lib/io/arrow-down-b.d.ts +++ b/types/react-icons/lib/io/arrow-down-b.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowDownB extends React.Component<IconBaseProps> { } +declare class IoArrowDownB extends React.Component<IconBaseProps> { } +export = IoArrowDownB; diff --git a/types/react-icons/lib/io/arrow-down-c.d.ts b/types/react-icons/lib/io/arrow-down-c.d.ts index ab561572b2..9ff6bff0d2 100644 --- a/types/react-icons/lib/io/arrow-down-c.d.ts +++ b/types/react-icons/lib/io/arrow-down-c.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowDownC extends React.Component<IconBaseProps> { } +declare class IoArrowDownC extends React.Component<IconBaseProps> { } +export = IoArrowDownC; diff --git a/types/react-icons/lib/io/arrow-expand.d.ts b/types/react-icons/lib/io/arrow-expand.d.ts index 273819c731..043d2e18a4 100644 --- a/types/react-icons/lib/io/arrow-expand.d.ts +++ b/types/react-icons/lib/io/arrow-expand.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowExpand extends React.Component<IconBaseProps> { } +declare class IoArrowExpand extends React.Component<IconBaseProps> { } +export = IoArrowExpand; diff --git a/types/react-icons/lib/io/arrow-graph-down-left.d.ts b/types/react-icons/lib/io/arrow-graph-down-left.d.ts index db6c5aed00..e90bc57702 100644 --- a/types/react-icons/lib/io/arrow-graph-down-left.d.ts +++ b/types/react-icons/lib/io/arrow-graph-down-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowGraphDownLeft extends React.Component<IconBaseProps> { } +declare class IoArrowGraphDownLeft extends React.Component<IconBaseProps> { } +export = IoArrowGraphDownLeft; diff --git a/types/react-icons/lib/io/arrow-graph-down-right.d.ts b/types/react-icons/lib/io/arrow-graph-down-right.d.ts index f64ec5a4b5..bdbb62bcc3 100644 --- a/types/react-icons/lib/io/arrow-graph-down-right.d.ts +++ b/types/react-icons/lib/io/arrow-graph-down-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowGraphDownRight extends React.Component<IconBaseProps> { } +declare class IoArrowGraphDownRight extends React.Component<IconBaseProps> { } +export = IoArrowGraphDownRight; diff --git a/types/react-icons/lib/io/arrow-graph-up-left.d.ts b/types/react-icons/lib/io/arrow-graph-up-left.d.ts index d4c1f87aee..d664e9b362 100644 --- a/types/react-icons/lib/io/arrow-graph-up-left.d.ts +++ b/types/react-icons/lib/io/arrow-graph-up-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowGraphUpLeft extends React.Component<IconBaseProps> { } +declare class IoArrowGraphUpLeft extends React.Component<IconBaseProps> { } +export = IoArrowGraphUpLeft; diff --git a/types/react-icons/lib/io/arrow-graph-up-right.d.ts b/types/react-icons/lib/io/arrow-graph-up-right.d.ts index 2b79959860..4a2c256739 100644 --- a/types/react-icons/lib/io/arrow-graph-up-right.d.ts +++ b/types/react-icons/lib/io/arrow-graph-up-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowGraphUpRight extends React.Component<IconBaseProps> { } +declare class IoArrowGraphUpRight extends React.Component<IconBaseProps> { } +export = IoArrowGraphUpRight; diff --git a/types/react-icons/lib/io/arrow-left-a.d.ts b/types/react-icons/lib/io/arrow-left-a.d.ts index 3e7fb51bdd..b89b682227 100644 --- a/types/react-icons/lib/io/arrow-left-a.d.ts +++ b/types/react-icons/lib/io/arrow-left-a.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowLeftA extends React.Component<IconBaseProps> { } +declare class IoArrowLeftA extends React.Component<IconBaseProps> { } +export = IoArrowLeftA; diff --git a/types/react-icons/lib/io/arrow-left-b.d.ts b/types/react-icons/lib/io/arrow-left-b.d.ts index 537365c037..30af2945b4 100644 --- a/types/react-icons/lib/io/arrow-left-b.d.ts +++ b/types/react-icons/lib/io/arrow-left-b.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowLeftB extends React.Component<IconBaseProps> { } +declare class IoArrowLeftB extends React.Component<IconBaseProps> { } +export = IoArrowLeftB; diff --git a/types/react-icons/lib/io/arrow-left-c.d.ts b/types/react-icons/lib/io/arrow-left-c.d.ts index a831c73c50..8cfe94b64b 100644 --- a/types/react-icons/lib/io/arrow-left-c.d.ts +++ b/types/react-icons/lib/io/arrow-left-c.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowLeftC extends React.Component<IconBaseProps> { } +declare class IoArrowLeftC extends React.Component<IconBaseProps> { } +export = IoArrowLeftC; diff --git a/types/react-icons/lib/io/arrow-move.d.ts b/types/react-icons/lib/io/arrow-move.d.ts index 1a61a6c75c..9f777b2fcc 100644 --- a/types/react-icons/lib/io/arrow-move.d.ts +++ b/types/react-icons/lib/io/arrow-move.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowMove extends React.Component<IconBaseProps> { } +declare class IoArrowMove extends React.Component<IconBaseProps> { } +export = IoArrowMove; diff --git a/types/react-icons/lib/io/arrow-resize.d.ts b/types/react-icons/lib/io/arrow-resize.d.ts index a8efbc36cf..af774ee064 100644 --- a/types/react-icons/lib/io/arrow-resize.d.ts +++ b/types/react-icons/lib/io/arrow-resize.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowResize extends React.Component<IconBaseProps> { } +declare class IoArrowResize extends React.Component<IconBaseProps> { } +export = IoArrowResize; diff --git a/types/react-icons/lib/io/arrow-return-left.d.ts b/types/react-icons/lib/io/arrow-return-left.d.ts index 9e0a076927..7e94317274 100644 --- a/types/react-icons/lib/io/arrow-return-left.d.ts +++ b/types/react-icons/lib/io/arrow-return-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowReturnLeft extends React.Component<IconBaseProps> { } +declare class IoArrowReturnLeft extends React.Component<IconBaseProps> { } +export = IoArrowReturnLeft; diff --git a/types/react-icons/lib/io/arrow-return-right.d.ts b/types/react-icons/lib/io/arrow-return-right.d.ts index 0bab75e6e9..13fd74b5e4 100644 --- a/types/react-icons/lib/io/arrow-return-right.d.ts +++ b/types/react-icons/lib/io/arrow-return-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowReturnRight extends React.Component<IconBaseProps> { } +declare class IoArrowReturnRight extends React.Component<IconBaseProps> { } +export = IoArrowReturnRight; diff --git a/types/react-icons/lib/io/arrow-right-a.d.ts b/types/react-icons/lib/io/arrow-right-a.d.ts index e91a2984da..5644440a01 100644 --- a/types/react-icons/lib/io/arrow-right-a.d.ts +++ b/types/react-icons/lib/io/arrow-right-a.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowRightA extends React.Component<IconBaseProps> { } +declare class IoArrowRightA extends React.Component<IconBaseProps> { } +export = IoArrowRightA; diff --git a/types/react-icons/lib/io/arrow-right-b.d.ts b/types/react-icons/lib/io/arrow-right-b.d.ts index e85dce6f12..ca3ede5d9f 100644 --- a/types/react-icons/lib/io/arrow-right-b.d.ts +++ b/types/react-icons/lib/io/arrow-right-b.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowRightB extends React.Component<IconBaseProps> { } +declare class IoArrowRightB extends React.Component<IconBaseProps> { } +export = IoArrowRightB; diff --git a/types/react-icons/lib/io/arrow-right-c.d.ts b/types/react-icons/lib/io/arrow-right-c.d.ts index 5673e8df4c..5fe6a6febb 100644 --- a/types/react-icons/lib/io/arrow-right-c.d.ts +++ b/types/react-icons/lib/io/arrow-right-c.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowRightC extends React.Component<IconBaseProps> { } +declare class IoArrowRightC extends React.Component<IconBaseProps> { } +export = IoArrowRightC; diff --git a/types/react-icons/lib/io/arrow-shrink.d.ts b/types/react-icons/lib/io/arrow-shrink.d.ts index 5fa8093af3..92ae49b26a 100644 --- a/types/react-icons/lib/io/arrow-shrink.d.ts +++ b/types/react-icons/lib/io/arrow-shrink.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowShrink extends React.Component<IconBaseProps> { } +declare class IoArrowShrink extends React.Component<IconBaseProps> { } +export = IoArrowShrink; diff --git a/types/react-icons/lib/io/arrow-swap.d.ts b/types/react-icons/lib/io/arrow-swap.d.ts index 885a2c27ad..731f96350b 100644 --- a/types/react-icons/lib/io/arrow-swap.d.ts +++ b/types/react-icons/lib/io/arrow-swap.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowSwap extends React.Component<IconBaseProps> { } +declare class IoArrowSwap extends React.Component<IconBaseProps> { } +export = IoArrowSwap; diff --git a/types/react-icons/lib/io/arrow-up-a.d.ts b/types/react-icons/lib/io/arrow-up-a.d.ts index a3967e9d42..0c77386594 100644 --- a/types/react-icons/lib/io/arrow-up-a.d.ts +++ b/types/react-icons/lib/io/arrow-up-a.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowUpA extends React.Component<IconBaseProps> { } +declare class IoArrowUpA extends React.Component<IconBaseProps> { } +export = IoArrowUpA; diff --git a/types/react-icons/lib/io/arrow-up-b.d.ts b/types/react-icons/lib/io/arrow-up-b.d.ts index 1c91d058f7..7f72760763 100644 --- a/types/react-icons/lib/io/arrow-up-b.d.ts +++ b/types/react-icons/lib/io/arrow-up-b.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowUpB extends React.Component<IconBaseProps> { } +declare class IoArrowUpB extends React.Component<IconBaseProps> { } +export = IoArrowUpB; diff --git a/types/react-icons/lib/io/arrow-up-c.d.ts b/types/react-icons/lib/io/arrow-up-c.d.ts index 9ca25a35a9..7d7c51f6bb 100644 --- a/types/react-icons/lib/io/arrow-up-c.d.ts +++ b/types/react-icons/lib/io/arrow-up-c.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoArrowUpC extends React.Component<IconBaseProps> { } +declare class IoArrowUpC extends React.Component<IconBaseProps> { } +export = IoArrowUpC; diff --git a/types/react-icons/lib/io/asterisk.d.ts b/types/react-icons/lib/io/asterisk.d.ts index a5b58bd24e..240751b3f6 100644 --- a/types/react-icons/lib/io/asterisk.d.ts +++ b/types/react-icons/lib/io/asterisk.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAsterisk extends React.Component<IconBaseProps> { } +declare class IoAsterisk extends React.Component<IconBaseProps> { } +export = IoAsterisk; diff --git a/types/react-icons/lib/io/at.d.ts b/types/react-icons/lib/io/at.d.ts index cb7284b40f..d6790f610c 100644 --- a/types/react-icons/lib/io/at.d.ts +++ b/types/react-icons/lib/io/at.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoAt extends React.Component<IconBaseProps> { } +declare class IoAt extends React.Component<IconBaseProps> { } +export = IoAt; diff --git a/types/react-icons/lib/io/backspace-outline.d.ts b/types/react-icons/lib/io/backspace-outline.d.ts index 8ce9f476c5..c990c421b2 100644 --- a/types/react-icons/lib/io/backspace-outline.d.ts +++ b/types/react-icons/lib/io/backspace-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoBackspaceOutline extends React.Component<IconBaseProps> { } +declare class IoBackspaceOutline extends React.Component<IconBaseProps> { } +export = IoBackspaceOutline; diff --git a/types/react-icons/lib/io/backspace.d.ts b/types/react-icons/lib/io/backspace.d.ts index a1d19677b8..fbb75f30d2 100644 --- a/types/react-icons/lib/io/backspace.d.ts +++ b/types/react-icons/lib/io/backspace.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoBackspace extends React.Component<IconBaseProps> { } +declare class IoBackspace extends React.Component<IconBaseProps> { } +export = IoBackspace; diff --git a/types/react-icons/lib/io/bag.d.ts b/types/react-icons/lib/io/bag.d.ts index 538f19a520..a6533db865 100644 --- a/types/react-icons/lib/io/bag.d.ts +++ b/types/react-icons/lib/io/bag.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoBag extends React.Component<IconBaseProps> { } +declare class IoBag extends React.Component<IconBaseProps> { } +export = IoBag; diff --git a/types/react-icons/lib/io/battery-charging.d.ts b/types/react-icons/lib/io/battery-charging.d.ts index b950673aae..1e0d59b846 100644 --- a/types/react-icons/lib/io/battery-charging.d.ts +++ b/types/react-icons/lib/io/battery-charging.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoBatteryCharging extends React.Component<IconBaseProps> { } +declare class IoBatteryCharging extends React.Component<IconBaseProps> { } +export = IoBatteryCharging; diff --git a/types/react-icons/lib/io/battery-empty.d.ts b/types/react-icons/lib/io/battery-empty.d.ts index 0a8268869c..6ab2c64d9b 100644 --- a/types/react-icons/lib/io/battery-empty.d.ts +++ b/types/react-icons/lib/io/battery-empty.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoBatteryEmpty extends React.Component<IconBaseProps> { } +declare class IoBatteryEmpty extends React.Component<IconBaseProps> { } +export = IoBatteryEmpty; diff --git a/types/react-icons/lib/io/battery-full.d.ts b/types/react-icons/lib/io/battery-full.d.ts index 493488adf3..613a0f5859 100644 --- a/types/react-icons/lib/io/battery-full.d.ts +++ b/types/react-icons/lib/io/battery-full.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoBatteryFull extends React.Component<IconBaseProps> { } +declare class IoBatteryFull extends React.Component<IconBaseProps> { } +export = IoBatteryFull; diff --git a/types/react-icons/lib/io/battery-half.d.ts b/types/react-icons/lib/io/battery-half.d.ts index 0671295096..3a850063a3 100644 --- a/types/react-icons/lib/io/battery-half.d.ts +++ b/types/react-icons/lib/io/battery-half.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoBatteryHalf extends React.Component<IconBaseProps> { } +declare class IoBatteryHalf extends React.Component<IconBaseProps> { } +export = IoBatteryHalf; diff --git a/types/react-icons/lib/io/battery-low.d.ts b/types/react-icons/lib/io/battery-low.d.ts index 3c2964a52b..105b1275e1 100644 --- a/types/react-icons/lib/io/battery-low.d.ts +++ b/types/react-icons/lib/io/battery-low.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoBatteryLow extends React.Component<IconBaseProps> { } +declare class IoBatteryLow extends React.Component<IconBaseProps> { } +export = IoBatteryLow; diff --git a/types/react-icons/lib/io/beaker.d.ts b/types/react-icons/lib/io/beaker.d.ts index 5f68a801f8..dd335ba0fa 100644 --- a/types/react-icons/lib/io/beaker.d.ts +++ b/types/react-icons/lib/io/beaker.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoBeaker extends React.Component<IconBaseProps> { } +declare class IoBeaker extends React.Component<IconBaseProps> { } +export = IoBeaker; diff --git a/types/react-icons/lib/io/beer.d.ts b/types/react-icons/lib/io/beer.d.ts index 9f2f5739ac..7328e0f20f 100644 --- a/types/react-icons/lib/io/beer.d.ts +++ b/types/react-icons/lib/io/beer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoBeer extends React.Component<IconBaseProps> { } +declare class IoBeer extends React.Component<IconBaseProps> { } +export = IoBeer; diff --git a/types/react-icons/lib/io/bluetooth.d.ts b/types/react-icons/lib/io/bluetooth.d.ts index 58eb2659e0..7b3138b4ab 100644 --- a/types/react-icons/lib/io/bluetooth.d.ts +++ b/types/react-icons/lib/io/bluetooth.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoBluetooth extends React.Component<IconBaseProps> { } +declare class IoBluetooth extends React.Component<IconBaseProps> { } +export = IoBluetooth; diff --git a/types/react-icons/lib/io/bonfire.d.ts b/types/react-icons/lib/io/bonfire.d.ts index c0ef9d7cae..8a41727ffe 100644 --- a/types/react-icons/lib/io/bonfire.d.ts +++ b/types/react-icons/lib/io/bonfire.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoBonfire extends React.Component<IconBaseProps> { } +declare class IoBonfire extends React.Component<IconBaseProps> { } +export = IoBonfire; diff --git a/types/react-icons/lib/io/bookmark.d.ts b/types/react-icons/lib/io/bookmark.d.ts index 3479c40e67..acece4e02d 100644 --- a/types/react-icons/lib/io/bookmark.d.ts +++ b/types/react-icons/lib/io/bookmark.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoBookmark extends React.Component<IconBaseProps> { } +declare class IoBookmark extends React.Component<IconBaseProps> { } +export = IoBookmark; diff --git a/types/react-icons/lib/io/bowtie.d.ts b/types/react-icons/lib/io/bowtie.d.ts index 6f983612ce..8c7e9724ef 100644 --- a/types/react-icons/lib/io/bowtie.d.ts +++ b/types/react-icons/lib/io/bowtie.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoBowtie extends React.Component<IconBaseProps> { } +declare class IoBowtie extends React.Component<IconBaseProps> { } +export = IoBowtie; diff --git a/types/react-icons/lib/io/briefcase.d.ts b/types/react-icons/lib/io/briefcase.d.ts index baa5708abd..b5f1877923 100644 --- a/types/react-icons/lib/io/briefcase.d.ts +++ b/types/react-icons/lib/io/briefcase.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoBriefcase extends React.Component<IconBaseProps> { } +declare class IoBriefcase extends React.Component<IconBaseProps> { } +export = IoBriefcase; diff --git a/types/react-icons/lib/io/bug.d.ts b/types/react-icons/lib/io/bug.d.ts index a97e391988..600b179fe1 100644 --- a/types/react-icons/lib/io/bug.d.ts +++ b/types/react-icons/lib/io/bug.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoBug extends React.Component<IconBaseProps> { } +declare class IoBug extends React.Component<IconBaseProps> { } +export = IoBug; diff --git a/types/react-icons/lib/io/calculator.d.ts b/types/react-icons/lib/io/calculator.d.ts index 17bc0695d2..3b6747e607 100644 --- a/types/react-icons/lib/io/calculator.d.ts +++ b/types/react-icons/lib/io/calculator.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoCalculator extends React.Component<IconBaseProps> { } +declare class IoCalculator extends React.Component<IconBaseProps> { } +export = IoCalculator; diff --git a/types/react-icons/lib/io/calendar.d.ts b/types/react-icons/lib/io/calendar.d.ts index 48de2d1402..9bf379847e 100644 --- a/types/react-icons/lib/io/calendar.d.ts +++ b/types/react-icons/lib/io/calendar.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoCalendar extends React.Component<IconBaseProps> { } +declare class IoCalendar extends React.Component<IconBaseProps> { } +export = IoCalendar; diff --git a/types/react-icons/lib/io/camera.d.ts b/types/react-icons/lib/io/camera.d.ts index f362c37794..b64c47fede 100644 --- a/types/react-icons/lib/io/camera.d.ts +++ b/types/react-icons/lib/io/camera.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoCamera extends React.Component<IconBaseProps> { } +declare class IoCamera extends React.Component<IconBaseProps> { } +export = IoCamera; diff --git a/types/react-icons/lib/io/card.d.ts b/types/react-icons/lib/io/card.d.ts index 4aa32829b4..411c4a2157 100644 --- a/types/react-icons/lib/io/card.d.ts +++ b/types/react-icons/lib/io/card.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoCard extends React.Component<IconBaseProps> { } +declare class IoCard extends React.Component<IconBaseProps> { } +export = IoCard; diff --git a/types/react-icons/lib/io/cash.d.ts b/types/react-icons/lib/io/cash.d.ts index 8c8a23acfd..5877b0db9b 100644 --- a/types/react-icons/lib/io/cash.d.ts +++ b/types/react-icons/lib/io/cash.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoCash extends React.Component<IconBaseProps> { } +declare class IoCash extends React.Component<IconBaseProps> { } +export = IoCash; diff --git a/types/react-icons/lib/io/chatbox-working.d.ts b/types/react-icons/lib/io/chatbox-working.d.ts index 6574ba5b9c..01b5873626 100644 --- a/types/react-icons/lib/io/chatbox-working.d.ts +++ b/types/react-icons/lib/io/chatbox-working.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoChatboxWorking extends React.Component<IconBaseProps> { } +declare class IoChatboxWorking extends React.Component<IconBaseProps> { } +export = IoChatboxWorking; diff --git a/types/react-icons/lib/io/chatbox.d.ts b/types/react-icons/lib/io/chatbox.d.ts index 71907bcada..ad62e34582 100644 --- a/types/react-icons/lib/io/chatbox.d.ts +++ b/types/react-icons/lib/io/chatbox.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoChatbox extends React.Component<IconBaseProps> { } +declare class IoChatbox extends React.Component<IconBaseProps> { } +export = IoChatbox; diff --git a/types/react-icons/lib/io/chatboxes.d.ts b/types/react-icons/lib/io/chatboxes.d.ts index 6a4aff2857..83cb79b9a6 100644 --- a/types/react-icons/lib/io/chatboxes.d.ts +++ b/types/react-icons/lib/io/chatboxes.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoChatboxes extends React.Component<IconBaseProps> { } +declare class IoChatboxes extends React.Component<IconBaseProps> { } +export = IoChatboxes; diff --git a/types/react-icons/lib/io/chatbubble-working.d.ts b/types/react-icons/lib/io/chatbubble-working.d.ts index 667fb7fcde..84c5601b9a 100644 --- a/types/react-icons/lib/io/chatbubble-working.d.ts +++ b/types/react-icons/lib/io/chatbubble-working.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoChatbubbleWorking extends React.Component<IconBaseProps> { } +declare class IoChatbubbleWorking extends React.Component<IconBaseProps> { } +export = IoChatbubbleWorking; diff --git a/types/react-icons/lib/io/chatbubble.d.ts b/types/react-icons/lib/io/chatbubble.d.ts index 08ecb48df7..424f84e125 100644 --- a/types/react-icons/lib/io/chatbubble.d.ts +++ b/types/react-icons/lib/io/chatbubble.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoChatbubble extends React.Component<IconBaseProps> { } +declare class IoChatbubble extends React.Component<IconBaseProps> { } +export = IoChatbubble; diff --git a/types/react-icons/lib/io/chatbubbles.d.ts b/types/react-icons/lib/io/chatbubbles.d.ts index ebf87a1cc5..9d529047ae 100644 --- a/types/react-icons/lib/io/chatbubbles.d.ts +++ b/types/react-icons/lib/io/chatbubbles.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoChatbubbles extends React.Component<IconBaseProps> { } +declare class IoChatbubbles extends React.Component<IconBaseProps> { } +export = IoChatbubbles; diff --git a/types/react-icons/lib/io/checkmark-circled.d.ts b/types/react-icons/lib/io/checkmark-circled.d.ts index 892e19a107..e0f02e8dd0 100644 --- a/types/react-icons/lib/io/checkmark-circled.d.ts +++ b/types/react-icons/lib/io/checkmark-circled.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoCheckmarkCircled extends React.Component<IconBaseProps> { } +declare class IoCheckmarkCircled extends React.Component<IconBaseProps> { } +export = IoCheckmarkCircled; diff --git a/types/react-icons/lib/io/checkmark-round.d.ts b/types/react-icons/lib/io/checkmark-round.d.ts index 1311db9d47..49ac0d7325 100644 --- a/types/react-icons/lib/io/checkmark-round.d.ts +++ b/types/react-icons/lib/io/checkmark-round.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoCheckmarkRound extends React.Component<IconBaseProps> { } +declare class IoCheckmarkRound extends React.Component<IconBaseProps> { } +export = IoCheckmarkRound; diff --git a/types/react-icons/lib/io/checkmark.d.ts b/types/react-icons/lib/io/checkmark.d.ts index 0eda0d12da..7be9e5dbd7 100644 --- a/types/react-icons/lib/io/checkmark.d.ts +++ b/types/react-icons/lib/io/checkmark.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoCheckmark extends React.Component<IconBaseProps> { } +declare class IoCheckmark extends React.Component<IconBaseProps> { } +export = IoCheckmark; diff --git a/types/react-icons/lib/io/chevron-down.d.ts b/types/react-icons/lib/io/chevron-down.d.ts index 0d9546467d..8f6050fe52 100644 --- a/types/react-icons/lib/io/chevron-down.d.ts +++ b/types/react-icons/lib/io/chevron-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoChevronDown extends React.Component<IconBaseProps> { } +declare class IoChevronDown extends React.Component<IconBaseProps> { } +export = IoChevronDown; diff --git a/types/react-icons/lib/io/chevron-left.d.ts b/types/react-icons/lib/io/chevron-left.d.ts index 96fbe2a03f..bcd78417b8 100644 --- a/types/react-icons/lib/io/chevron-left.d.ts +++ b/types/react-icons/lib/io/chevron-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoChevronLeft extends React.Component<IconBaseProps> { } +declare class IoChevronLeft extends React.Component<IconBaseProps> { } +export = IoChevronLeft; diff --git a/types/react-icons/lib/io/chevron-right.d.ts b/types/react-icons/lib/io/chevron-right.d.ts index a83489fa83..4b19891516 100644 --- a/types/react-icons/lib/io/chevron-right.d.ts +++ b/types/react-icons/lib/io/chevron-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoChevronRight extends React.Component<IconBaseProps> { } +declare class IoChevronRight extends React.Component<IconBaseProps> { } +export = IoChevronRight; diff --git a/types/react-icons/lib/io/chevron-up.d.ts b/types/react-icons/lib/io/chevron-up.d.ts index a56e43a584..f36ac3a678 100644 --- a/types/react-icons/lib/io/chevron-up.d.ts +++ b/types/react-icons/lib/io/chevron-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoChevronUp extends React.Component<IconBaseProps> { } +declare class IoChevronUp extends React.Component<IconBaseProps> { } +export = IoChevronUp; diff --git a/types/react-icons/lib/io/clipboard.d.ts b/types/react-icons/lib/io/clipboard.d.ts index 79fc2dd2f7..bd491a79ea 100644 --- a/types/react-icons/lib/io/clipboard.d.ts +++ b/types/react-icons/lib/io/clipboard.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoClipboard extends React.Component<IconBaseProps> { } +declare class IoClipboard extends React.Component<IconBaseProps> { } +export = IoClipboard; diff --git a/types/react-icons/lib/io/clock.d.ts b/types/react-icons/lib/io/clock.d.ts index 50d4dd2af1..1a74b43880 100644 --- a/types/react-icons/lib/io/clock.d.ts +++ b/types/react-icons/lib/io/clock.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoClock extends React.Component<IconBaseProps> { } +declare class IoClock extends React.Component<IconBaseProps> { } +export = IoClock; diff --git a/types/react-icons/lib/io/close-circled.d.ts b/types/react-icons/lib/io/close-circled.d.ts index dd6fb5e9d2..73bc493bef 100644 --- a/types/react-icons/lib/io/close-circled.d.ts +++ b/types/react-icons/lib/io/close-circled.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoCloseCircled extends React.Component<IconBaseProps> { } +declare class IoCloseCircled extends React.Component<IconBaseProps> { } +export = IoCloseCircled; diff --git a/types/react-icons/lib/io/close-round.d.ts b/types/react-icons/lib/io/close-round.d.ts index a918a8e534..a0a2647cfe 100644 --- a/types/react-icons/lib/io/close-round.d.ts +++ b/types/react-icons/lib/io/close-round.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoCloseRound extends React.Component<IconBaseProps> { } +declare class IoCloseRound extends React.Component<IconBaseProps> { } +export = IoCloseRound; diff --git a/types/react-icons/lib/io/close.d.ts b/types/react-icons/lib/io/close.d.ts index acc49f00ac..e63ad69a50 100644 --- a/types/react-icons/lib/io/close.d.ts +++ b/types/react-icons/lib/io/close.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoClose extends React.Component<IconBaseProps> { } +declare class IoClose extends React.Component<IconBaseProps> { } +export = IoClose; diff --git a/types/react-icons/lib/io/closed-captioning.d.ts b/types/react-icons/lib/io/closed-captioning.d.ts index 5a2b68d149..6989aecb2f 100644 --- a/types/react-icons/lib/io/closed-captioning.d.ts +++ b/types/react-icons/lib/io/closed-captioning.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoClosedCaptioning extends React.Component<IconBaseProps> { } +declare class IoClosedCaptioning extends React.Component<IconBaseProps> { } +export = IoClosedCaptioning; diff --git a/types/react-icons/lib/io/cloud.d.ts b/types/react-icons/lib/io/cloud.d.ts index 837051ce2f..529f05f5fa 100644 --- a/types/react-icons/lib/io/cloud.d.ts +++ b/types/react-icons/lib/io/cloud.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoCloud extends React.Component<IconBaseProps> { } +declare class IoCloud extends React.Component<IconBaseProps> { } +export = IoCloud; diff --git a/types/react-icons/lib/io/code-download.d.ts b/types/react-icons/lib/io/code-download.d.ts index 765b401172..7d63a84630 100644 --- a/types/react-icons/lib/io/code-download.d.ts +++ b/types/react-icons/lib/io/code-download.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoCodeDownload extends React.Component<IconBaseProps> { } +declare class IoCodeDownload extends React.Component<IconBaseProps> { } +export = IoCodeDownload; diff --git a/types/react-icons/lib/io/code-working.d.ts b/types/react-icons/lib/io/code-working.d.ts index 48cf64ecd5..c014c9fb3b 100644 --- a/types/react-icons/lib/io/code-working.d.ts +++ b/types/react-icons/lib/io/code-working.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoCodeWorking extends React.Component<IconBaseProps> { } +declare class IoCodeWorking extends React.Component<IconBaseProps> { } +export = IoCodeWorking; diff --git a/types/react-icons/lib/io/code.d.ts b/types/react-icons/lib/io/code.d.ts index 3d89e7aec1..15f8af880b 100644 --- a/types/react-icons/lib/io/code.d.ts +++ b/types/react-icons/lib/io/code.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoCode extends React.Component<IconBaseProps> { } +declare class IoCode extends React.Component<IconBaseProps> { } +export = IoCode; diff --git a/types/react-icons/lib/io/coffee.d.ts b/types/react-icons/lib/io/coffee.d.ts index f3122b5343..ff96c293fd 100644 --- a/types/react-icons/lib/io/coffee.d.ts +++ b/types/react-icons/lib/io/coffee.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoCoffee extends React.Component<IconBaseProps> { } +declare class IoCoffee extends React.Component<IconBaseProps> { } +export = IoCoffee; diff --git a/types/react-icons/lib/io/compass.d.ts b/types/react-icons/lib/io/compass.d.ts index c0b78dd711..d96268517f 100644 --- a/types/react-icons/lib/io/compass.d.ts +++ b/types/react-icons/lib/io/compass.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoCompass extends React.Component<IconBaseProps> { } +declare class IoCompass extends React.Component<IconBaseProps> { } +export = IoCompass; diff --git a/types/react-icons/lib/io/compose.d.ts b/types/react-icons/lib/io/compose.d.ts index 5250bbf5f9..cd104c86e4 100644 --- a/types/react-icons/lib/io/compose.d.ts +++ b/types/react-icons/lib/io/compose.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoCompose extends React.Component<IconBaseProps> { } +declare class IoCompose extends React.Component<IconBaseProps> { } +export = IoCompose; diff --git a/types/react-icons/lib/io/connectbars.d.ts b/types/react-icons/lib/io/connectbars.d.ts index 2484005cf3..e9c503f259 100644 --- a/types/react-icons/lib/io/connectbars.d.ts +++ b/types/react-icons/lib/io/connectbars.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoConnectbars extends React.Component<IconBaseProps> { } +declare class IoConnectbars extends React.Component<IconBaseProps> { } +export = IoConnectbars; diff --git a/types/react-icons/lib/io/contrast.d.ts b/types/react-icons/lib/io/contrast.d.ts index 871e34e2b5..aea50a362f 100644 --- a/types/react-icons/lib/io/contrast.d.ts +++ b/types/react-icons/lib/io/contrast.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoContrast extends React.Component<IconBaseProps> { } +declare class IoContrast extends React.Component<IconBaseProps> { } +export = IoContrast; diff --git a/types/react-icons/lib/io/crop.d.ts b/types/react-icons/lib/io/crop.d.ts index 1d9f6fe16f..6fca72b89d 100644 --- a/types/react-icons/lib/io/crop.d.ts +++ b/types/react-icons/lib/io/crop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoCrop extends React.Component<IconBaseProps> { } +declare class IoCrop extends React.Component<IconBaseProps> { } +export = IoCrop; diff --git a/types/react-icons/lib/io/cube.d.ts b/types/react-icons/lib/io/cube.d.ts index 0e20a500a0..87a041844d 100644 --- a/types/react-icons/lib/io/cube.d.ts +++ b/types/react-icons/lib/io/cube.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoCube extends React.Component<IconBaseProps> { } +declare class IoCube extends React.Component<IconBaseProps> { } +export = IoCube; diff --git a/types/react-icons/lib/io/disc.d.ts b/types/react-icons/lib/io/disc.d.ts index adb12527e7..ba1c411354 100644 --- a/types/react-icons/lib/io/disc.d.ts +++ b/types/react-icons/lib/io/disc.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoDisc extends React.Component<IconBaseProps> { } +declare class IoDisc extends React.Component<IconBaseProps> { } +export = IoDisc; diff --git a/types/react-icons/lib/io/document-text.d.ts b/types/react-icons/lib/io/document-text.d.ts index 4c419e9766..d77721e7c5 100644 --- a/types/react-icons/lib/io/document-text.d.ts +++ b/types/react-icons/lib/io/document-text.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoDocumentText extends React.Component<IconBaseProps> { } +declare class IoDocumentText extends React.Component<IconBaseProps> { } +export = IoDocumentText; diff --git a/types/react-icons/lib/io/document.d.ts b/types/react-icons/lib/io/document.d.ts index 098ab00b2a..58dcac1802 100644 --- a/types/react-icons/lib/io/document.d.ts +++ b/types/react-icons/lib/io/document.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoDocument extends React.Component<IconBaseProps> { } +declare class IoDocument extends React.Component<IconBaseProps> { } +export = IoDocument; diff --git a/types/react-icons/lib/io/drag.d.ts b/types/react-icons/lib/io/drag.d.ts index 628c38c338..fc7e0809a5 100644 --- a/types/react-icons/lib/io/drag.d.ts +++ b/types/react-icons/lib/io/drag.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoDrag extends React.Component<IconBaseProps> { } +declare class IoDrag extends React.Component<IconBaseProps> { } +export = IoDrag; diff --git a/types/react-icons/lib/io/earth.d.ts b/types/react-icons/lib/io/earth.d.ts index 5d502a5882..7a37407511 100644 --- a/types/react-icons/lib/io/earth.d.ts +++ b/types/react-icons/lib/io/earth.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoEarth extends React.Component<IconBaseProps> { } +declare class IoEarth extends React.Component<IconBaseProps> { } +export = IoEarth; diff --git a/types/react-icons/lib/io/easel.d.ts b/types/react-icons/lib/io/easel.d.ts index dc8b3ff32d..07f4eb9c1d 100644 --- a/types/react-icons/lib/io/easel.d.ts +++ b/types/react-icons/lib/io/easel.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoEasel extends React.Component<IconBaseProps> { } +declare class IoEasel extends React.Component<IconBaseProps> { } +export = IoEasel; diff --git a/types/react-icons/lib/io/edit.d.ts b/types/react-icons/lib/io/edit.d.ts index ea10d7df2a..b226390e6b 100644 --- a/types/react-icons/lib/io/edit.d.ts +++ b/types/react-icons/lib/io/edit.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoEdit extends React.Component<IconBaseProps> { } +declare class IoEdit extends React.Component<IconBaseProps> { } +export = IoEdit; diff --git a/types/react-icons/lib/io/egg.d.ts b/types/react-icons/lib/io/egg.d.ts index 39e63c2f48..7443c8e7c6 100644 --- a/types/react-icons/lib/io/egg.d.ts +++ b/types/react-icons/lib/io/egg.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoEgg extends React.Component<IconBaseProps> { } +declare class IoEgg extends React.Component<IconBaseProps> { } +export = IoEgg; diff --git a/types/react-icons/lib/io/eject.d.ts b/types/react-icons/lib/io/eject.d.ts index 1f859a0b76..4621d76261 100644 --- a/types/react-icons/lib/io/eject.d.ts +++ b/types/react-icons/lib/io/eject.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoEject extends React.Component<IconBaseProps> { } +declare class IoEject extends React.Component<IconBaseProps> { } +export = IoEject; diff --git a/types/react-icons/lib/io/email-unread.d.ts b/types/react-icons/lib/io/email-unread.d.ts index acdaefd764..76d66d544a 100644 --- a/types/react-icons/lib/io/email-unread.d.ts +++ b/types/react-icons/lib/io/email-unread.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoEmailUnread extends React.Component<IconBaseProps> { } +declare class IoEmailUnread extends React.Component<IconBaseProps> { } +export = IoEmailUnread; diff --git a/types/react-icons/lib/io/email.d.ts b/types/react-icons/lib/io/email.d.ts index 7323479361..5551df730a 100644 --- a/types/react-icons/lib/io/email.d.ts +++ b/types/react-icons/lib/io/email.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoEmail extends React.Component<IconBaseProps> { } +declare class IoEmail extends React.Component<IconBaseProps> { } +export = IoEmail; diff --git a/types/react-icons/lib/io/erlenmeyer-flask-bubbles.d.ts b/types/react-icons/lib/io/erlenmeyer-flask-bubbles.d.ts index fed2da9f1f..8075f8880b 100644 --- a/types/react-icons/lib/io/erlenmeyer-flask-bubbles.d.ts +++ b/types/react-icons/lib/io/erlenmeyer-flask-bubbles.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoErlenmeyerFlaskBubbles extends React.Component<IconBaseProps> { } +declare class IoErlenmeyerFlaskBubbles extends React.Component<IconBaseProps> { } +export = IoErlenmeyerFlaskBubbles; diff --git a/types/react-icons/lib/io/erlenmeyer-flask.d.ts b/types/react-icons/lib/io/erlenmeyer-flask.d.ts index 0de1fd7c42..c7ac237769 100644 --- a/types/react-icons/lib/io/erlenmeyer-flask.d.ts +++ b/types/react-icons/lib/io/erlenmeyer-flask.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoErlenmeyerFlask extends React.Component<IconBaseProps> { } +declare class IoErlenmeyerFlask extends React.Component<IconBaseProps> { } +export = IoErlenmeyerFlask; diff --git a/types/react-icons/lib/io/eye-disabled.d.ts b/types/react-icons/lib/io/eye-disabled.d.ts index 3bf20def2a..8950fa85cc 100644 --- a/types/react-icons/lib/io/eye-disabled.d.ts +++ b/types/react-icons/lib/io/eye-disabled.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoEyeDisabled extends React.Component<IconBaseProps> { } +declare class IoEyeDisabled extends React.Component<IconBaseProps> { } +export = IoEyeDisabled; diff --git a/types/react-icons/lib/io/eye.d.ts b/types/react-icons/lib/io/eye.d.ts index 270c59505f..bc243f9ed5 100644 --- a/types/react-icons/lib/io/eye.d.ts +++ b/types/react-icons/lib/io/eye.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoEye extends React.Component<IconBaseProps> { } +declare class IoEye extends React.Component<IconBaseProps> { } +export = IoEye; diff --git a/types/react-icons/lib/io/female.d.ts b/types/react-icons/lib/io/female.d.ts index cb795e884b..363f225e45 100644 --- a/types/react-icons/lib/io/female.d.ts +++ b/types/react-icons/lib/io/female.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoFemale extends React.Component<IconBaseProps> { } +declare class IoFemale extends React.Component<IconBaseProps> { } +export = IoFemale; diff --git a/types/react-icons/lib/io/filing.d.ts b/types/react-icons/lib/io/filing.d.ts index ba69d4eb8b..73e1fe47b1 100644 --- a/types/react-icons/lib/io/filing.d.ts +++ b/types/react-icons/lib/io/filing.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoFiling extends React.Component<IconBaseProps> { } +declare class IoFiling extends React.Component<IconBaseProps> { } +export = IoFiling; diff --git a/types/react-icons/lib/io/film-marker.d.ts b/types/react-icons/lib/io/film-marker.d.ts index 4e4a7158f2..419dc10730 100644 --- a/types/react-icons/lib/io/film-marker.d.ts +++ b/types/react-icons/lib/io/film-marker.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoFilmMarker extends React.Component<IconBaseProps> { } +declare class IoFilmMarker extends React.Component<IconBaseProps> { } +export = IoFilmMarker; diff --git a/types/react-icons/lib/io/fireball.d.ts b/types/react-icons/lib/io/fireball.d.ts index e7056b1534..761f0f74db 100644 --- a/types/react-icons/lib/io/fireball.d.ts +++ b/types/react-icons/lib/io/fireball.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoFireball extends React.Component<IconBaseProps> { } +declare class IoFireball extends React.Component<IconBaseProps> { } +export = IoFireball; diff --git a/types/react-icons/lib/io/flag.d.ts b/types/react-icons/lib/io/flag.d.ts index c06630b1a6..604aa212da 100644 --- a/types/react-icons/lib/io/flag.d.ts +++ b/types/react-icons/lib/io/flag.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoFlag extends React.Component<IconBaseProps> { } +declare class IoFlag extends React.Component<IconBaseProps> { } +export = IoFlag; diff --git a/types/react-icons/lib/io/flame.d.ts b/types/react-icons/lib/io/flame.d.ts index d49d1bd2db..bf3a40331a 100644 --- a/types/react-icons/lib/io/flame.d.ts +++ b/types/react-icons/lib/io/flame.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoFlame extends React.Component<IconBaseProps> { } +declare class IoFlame extends React.Component<IconBaseProps> { } +export = IoFlame; diff --git a/types/react-icons/lib/io/flash-off.d.ts b/types/react-icons/lib/io/flash-off.d.ts index 2b12ebe578..2a25f11369 100644 --- a/types/react-icons/lib/io/flash-off.d.ts +++ b/types/react-icons/lib/io/flash-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoFlashOff extends React.Component<IconBaseProps> { } +declare class IoFlashOff extends React.Component<IconBaseProps> { } +export = IoFlashOff; diff --git a/types/react-icons/lib/io/flash.d.ts b/types/react-icons/lib/io/flash.d.ts index 32901f5a9d..11e4b408c1 100644 --- a/types/react-icons/lib/io/flash.d.ts +++ b/types/react-icons/lib/io/flash.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoFlash extends React.Component<IconBaseProps> { } +declare class IoFlash extends React.Component<IconBaseProps> { } +export = IoFlash; diff --git a/types/react-icons/lib/io/folder.d.ts b/types/react-icons/lib/io/folder.d.ts index dd14763f19..2f9eeabc0c 100644 --- a/types/react-icons/lib/io/folder.d.ts +++ b/types/react-icons/lib/io/folder.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoFolder extends React.Component<IconBaseProps> { } +declare class IoFolder extends React.Component<IconBaseProps> { } +export = IoFolder; diff --git a/types/react-icons/lib/io/fork-repo.d.ts b/types/react-icons/lib/io/fork-repo.d.ts index 19dfd6a33c..91707b054e 100644 --- a/types/react-icons/lib/io/fork-repo.d.ts +++ b/types/react-icons/lib/io/fork-repo.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoForkRepo extends React.Component<IconBaseProps> { } +declare class IoForkRepo extends React.Component<IconBaseProps> { } +export = IoForkRepo; diff --git a/types/react-icons/lib/io/fork.d.ts b/types/react-icons/lib/io/fork.d.ts index b06aa1f455..c25327c58f 100644 --- a/types/react-icons/lib/io/fork.d.ts +++ b/types/react-icons/lib/io/fork.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoFork extends React.Component<IconBaseProps> { } +declare class IoFork extends React.Component<IconBaseProps> { } +export = IoFork; diff --git a/types/react-icons/lib/io/forward.d.ts b/types/react-icons/lib/io/forward.d.ts index 1b36aa1de7..5f8db1eb0a 100644 --- a/types/react-icons/lib/io/forward.d.ts +++ b/types/react-icons/lib/io/forward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoForward extends React.Component<IconBaseProps> { } +declare class IoForward extends React.Component<IconBaseProps> { } +export = IoForward; diff --git a/types/react-icons/lib/io/funnel.d.ts b/types/react-icons/lib/io/funnel.d.ts index be56fcd18c..564d37b5dd 100644 --- a/types/react-icons/lib/io/funnel.d.ts +++ b/types/react-icons/lib/io/funnel.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoFunnel extends React.Component<IconBaseProps> { } +declare class IoFunnel extends React.Component<IconBaseProps> { } +export = IoFunnel; diff --git a/types/react-icons/lib/io/gear-a.d.ts b/types/react-icons/lib/io/gear-a.d.ts index b04f6af6c2..cac36e86a6 100644 --- a/types/react-icons/lib/io/gear-a.d.ts +++ b/types/react-icons/lib/io/gear-a.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoGearA extends React.Component<IconBaseProps> { } +declare class IoGearA extends React.Component<IconBaseProps> { } +export = IoGearA; diff --git a/types/react-icons/lib/io/gear-b.d.ts b/types/react-icons/lib/io/gear-b.d.ts index b580d2bc7c..85d2ec806a 100644 --- a/types/react-icons/lib/io/gear-b.d.ts +++ b/types/react-icons/lib/io/gear-b.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoGearB extends React.Component<IconBaseProps> { } +declare class IoGearB extends React.Component<IconBaseProps> { } +export = IoGearB; diff --git a/types/react-icons/lib/io/grid.d.ts b/types/react-icons/lib/io/grid.d.ts index b30f3a11c2..77f0971fc2 100644 --- a/types/react-icons/lib/io/grid.d.ts +++ b/types/react-icons/lib/io/grid.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoGrid extends React.Component<IconBaseProps> { } +declare class IoGrid extends React.Component<IconBaseProps> { } +export = IoGrid; diff --git a/types/react-icons/lib/io/hammer.d.ts b/types/react-icons/lib/io/hammer.d.ts index 4ea6d0c306..cb96449ad8 100644 --- a/types/react-icons/lib/io/hammer.d.ts +++ b/types/react-icons/lib/io/hammer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoHammer extends React.Component<IconBaseProps> { } +declare class IoHammer extends React.Component<IconBaseProps> { } +export = IoHammer; diff --git a/types/react-icons/lib/io/happy-outline.d.ts b/types/react-icons/lib/io/happy-outline.d.ts index 3207610467..cd4ae57ef0 100644 --- a/types/react-icons/lib/io/happy-outline.d.ts +++ b/types/react-icons/lib/io/happy-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoHappyOutline extends React.Component<IconBaseProps> { } +declare class IoHappyOutline extends React.Component<IconBaseProps> { } +export = IoHappyOutline; diff --git a/types/react-icons/lib/io/happy.d.ts b/types/react-icons/lib/io/happy.d.ts index f773c9e528..3ab43dca46 100644 --- a/types/react-icons/lib/io/happy.d.ts +++ b/types/react-icons/lib/io/happy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoHappy extends React.Component<IconBaseProps> { } +declare class IoHappy extends React.Component<IconBaseProps> { } +export = IoHappy; diff --git a/types/react-icons/lib/io/headphone.d.ts b/types/react-icons/lib/io/headphone.d.ts index e1ebdc9185..2165a1ce1d 100644 --- a/types/react-icons/lib/io/headphone.d.ts +++ b/types/react-icons/lib/io/headphone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoHeadphone extends React.Component<IconBaseProps> { } +declare class IoHeadphone extends React.Component<IconBaseProps> { } +export = IoHeadphone; diff --git a/types/react-icons/lib/io/heart-broken.d.ts b/types/react-icons/lib/io/heart-broken.d.ts index 822a928ac6..3dcef8a454 100644 --- a/types/react-icons/lib/io/heart-broken.d.ts +++ b/types/react-icons/lib/io/heart-broken.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoHeartBroken extends React.Component<IconBaseProps> { } +declare class IoHeartBroken extends React.Component<IconBaseProps> { } +export = IoHeartBroken; diff --git a/types/react-icons/lib/io/heart.d.ts b/types/react-icons/lib/io/heart.d.ts index e543207ae6..09596470cf 100644 --- a/types/react-icons/lib/io/heart.d.ts +++ b/types/react-icons/lib/io/heart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoHeart extends React.Component<IconBaseProps> { } +declare class IoHeart extends React.Component<IconBaseProps> { } +export = IoHeart; diff --git a/types/react-icons/lib/io/help-buoy.d.ts b/types/react-icons/lib/io/help-buoy.d.ts index 9a84933640..2d7596c318 100644 --- a/types/react-icons/lib/io/help-buoy.d.ts +++ b/types/react-icons/lib/io/help-buoy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoHelpBuoy extends React.Component<IconBaseProps> { } +declare class IoHelpBuoy extends React.Component<IconBaseProps> { } +export = IoHelpBuoy; diff --git a/types/react-icons/lib/io/help-circled.d.ts b/types/react-icons/lib/io/help-circled.d.ts index f36a8fd5f8..51ff2fa62a 100644 --- a/types/react-icons/lib/io/help-circled.d.ts +++ b/types/react-icons/lib/io/help-circled.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoHelpCircled extends React.Component<IconBaseProps> { } +declare class IoHelpCircled extends React.Component<IconBaseProps> { } +export = IoHelpCircled; diff --git a/types/react-icons/lib/io/help.d.ts b/types/react-icons/lib/io/help.d.ts index 8eee2581c6..ba7fc4f358 100644 --- a/types/react-icons/lib/io/help.d.ts +++ b/types/react-icons/lib/io/help.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoHelp extends React.Component<IconBaseProps> { } +declare class IoHelp extends React.Component<IconBaseProps> { } +export = IoHelp; diff --git a/types/react-icons/lib/io/home.d.ts b/types/react-icons/lib/io/home.d.ts index 337bace8fa..17990b7afa 100644 --- a/types/react-icons/lib/io/home.d.ts +++ b/types/react-icons/lib/io/home.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoHome extends React.Component<IconBaseProps> { } +declare class IoHome extends React.Component<IconBaseProps> { } +export = IoHome; diff --git a/types/react-icons/lib/io/icecream.d.ts b/types/react-icons/lib/io/icecream.d.ts index 1c3f0bd2af..d766170158 100644 --- a/types/react-icons/lib/io/icecream.d.ts +++ b/types/react-icons/lib/io/icecream.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIcecream extends React.Component<IconBaseProps> { } +declare class IoIcecream extends React.Component<IconBaseProps> { } +export = IoIcecream; diff --git a/types/react-icons/lib/io/image.d.ts b/types/react-icons/lib/io/image.d.ts index 3fbf7da59a..960fbd8e35 100644 --- a/types/react-icons/lib/io/image.d.ts +++ b/types/react-icons/lib/io/image.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoImage extends React.Component<IconBaseProps> { } +declare class IoImage extends React.Component<IconBaseProps> { } +export = IoImage; diff --git a/types/react-icons/lib/io/images.d.ts b/types/react-icons/lib/io/images.d.ts index ae80a81b1e..562288e5b8 100644 --- a/types/react-icons/lib/io/images.d.ts +++ b/types/react-icons/lib/io/images.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoImages extends React.Component<IconBaseProps> { } +declare class IoImages extends React.Component<IconBaseProps> { } +export = IoImages; diff --git a/types/react-icons/lib/io/index.d.ts b/types/react-icons/lib/io/index.d.ts index ef86c25e2b..340f0a0cea 100644 --- a/types/react-icons/lib/io/index.d.ts +++ b/types/react-icons/lib/io/index.d.ts @@ -1,733 +1,733 @@ -export { default as IoAlertCircled } from "./alert-circled"; -export { default as IoAlert } from "./alert"; -export { default as IoAndroidAddCircle } from "./android-add-circle"; -export { default as IoAndroidAdd } from "./android-add"; -export { default as IoAndroidAlarmClock } from "./android-alarm-clock"; -export { default as IoAndroidAlert } from "./android-alert"; -export { default as IoAndroidApps } from "./android-apps"; -export { default as IoAndroidArchive } from "./android-archive"; -export { default as IoAndroidArrowBack } from "./android-arrow-back"; -export { default as IoAndroidArrowDown } from "./android-arrow-down"; -export { default as IoAndroidArrowDropdownCircle } from "./android-arrow-dropdown-circle"; -export { default as IoAndroidArrowDropdown } from "./android-arrow-dropdown"; -export { default as IoAndroidArrowDropleftCircle } from "./android-arrow-dropleft-circle"; -export { default as IoAndroidArrowDropleft } from "./android-arrow-dropleft"; -export { default as IoAndroidArrowDroprightCircle } from "./android-arrow-dropright-circle"; -export { default as IoAndroidArrowDropright } from "./android-arrow-dropright"; -export { default as IoAndroidArrowDropupCircle } from "./android-arrow-dropup-circle"; -export { default as IoAndroidArrowDropup } from "./android-arrow-dropup"; -export { default as IoAndroidArrowForward } from "./android-arrow-forward"; -export { default as IoAndroidArrowUp } from "./android-arrow-up"; -export { default as IoAndroidAttach } from "./android-attach"; -export { default as IoAndroidBar } from "./android-bar"; -export { default as IoAndroidBicycle } from "./android-bicycle"; -export { default as IoAndroidBoat } from "./android-boat"; -export { default as IoAndroidBookmark } from "./android-bookmark"; -export { default as IoAndroidBulb } from "./android-bulb"; -export { default as IoAndroidBus } from "./android-bus"; -export { default as IoAndroidCalendar } from "./android-calendar"; -export { default as IoAndroidCall } from "./android-call"; -export { default as IoAndroidCamera } from "./android-camera"; -export { default as IoAndroidCancel } from "./android-cancel"; -export { default as IoAndroidCar } from "./android-car"; -export { default as IoAndroidCart } from "./android-cart"; -export { default as IoAndroidChat } from "./android-chat"; -export { default as IoAndroidCheckboxBlank } from "./android-checkbox-blank"; -export { default as IoAndroidCheckboxOutlineBlank } from "./android-checkbox-outline-blank"; -export { default as IoAndroidCheckboxOutline } from "./android-checkbox-outline"; -export { default as IoAndroidCheckbox } from "./android-checkbox"; -export { default as IoAndroidCheckmarkCircle } from "./android-checkmark-circle"; -export { default as IoAndroidClipboard } from "./android-clipboard"; -export { default as IoAndroidClose } from "./android-close"; -export { default as IoAndroidCloudCircle } from "./android-cloud-circle"; -export { default as IoAndroidCloudDone } from "./android-cloud-done"; -export { default as IoAndroidCloudOutline } from "./android-cloud-outline"; -export { default as IoAndroidCloud } from "./android-cloud"; -export { default as IoAndroidColorPalette } from "./android-color-palette"; -export { default as IoAndroidCompass } from "./android-compass"; -export { default as IoAndroidContact } from "./android-contact"; -export { default as IoAndroidContacts } from "./android-contacts"; -export { default as IoAndroidContract } from "./android-contract"; -export { default as IoAndroidCreate } from "./android-create"; -export { default as IoAndroidDelete } from "./android-delete"; -export { default as IoAndroidDesktop } from "./android-desktop"; -export { default as IoAndroidDocument } from "./android-document"; -export { default as IoAndroidDoneAll } from "./android-done-all"; -export { default as IoAndroidDone } from "./android-done"; -export { default as IoAndroidDownload } from "./android-download"; -export { default as IoAndroidDrafts } from "./android-drafts"; -export { default as IoAndroidExit } from "./android-exit"; -export { default as IoAndroidExpand } from "./android-expand"; -export { default as IoAndroidFavoriteOutline } from "./android-favorite-outline"; -export { default as IoAndroidFavorite } from "./android-favorite"; -export { default as IoAndroidFilm } from "./android-film"; -export { default as IoAndroidFolderOpen } from "./android-folder-open"; -export { default as IoAndroidFolder } from "./android-folder"; -export { default as IoAndroidFunnel } from "./android-funnel"; -export { default as IoAndroidGlobe } from "./android-globe"; -export { default as IoAndroidHand } from "./android-hand"; -export { default as IoAndroidHangout } from "./android-hangout"; -export { default as IoAndroidHappy } from "./android-happy"; -export { default as IoAndroidHome } from "./android-home"; -export { default as IoAndroidImage } from "./android-image"; -export { default as IoAndroidLaptop } from "./android-laptop"; -export { default as IoAndroidList } from "./android-list"; -export { default as IoAndroidLocate } from "./android-locate"; -export { default as IoAndroidLock } from "./android-lock"; -export { default as IoAndroidMail } from "./android-mail"; -export { default as IoAndroidMap } from "./android-map"; -export { default as IoAndroidMenu } from "./android-menu"; -export { default as IoAndroidMicrophoneOff } from "./android-microphone-off"; -export { default as IoAndroidMicrophone } from "./android-microphone"; -export { default as IoAndroidMoreHorizontal } from "./android-more-horizontal"; -export { default as IoAndroidMoreVertical } from "./android-more-vertical"; -export { default as IoAndroidNavigate } from "./android-navigate"; -export { default as IoAndroidNotificationsNone } from "./android-notifications-none"; -export { default as IoAndroidNotificationsOff } from "./android-notifications-off"; -export { default as IoAndroidNotifications } from "./android-notifications"; -export { default as IoAndroidOpen } from "./android-open"; -export { default as IoAndroidOptions } from "./android-options"; -export { default as IoAndroidPeople } from "./android-people"; -export { default as IoAndroidPersonAdd } from "./android-person-add"; -export { default as IoAndroidPerson } from "./android-person"; -export { default as IoAndroidPhoneLandscape } from "./android-phone-landscape"; -export { default as IoAndroidPhonePortrait } from "./android-phone-portrait"; -export { default as IoAndroidPin } from "./android-pin"; -export { default as IoAndroidPlane } from "./android-plane"; -export { default as IoAndroidPlaystore } from "./android-playstore"; -export { default as IoAndroidPrint } from "./android-print"; -export { default as IoAndroidRadioButtonOff } from "./android-radio-button-off"; -export { default as IoAndroidRadioButtonOn } from "./android-radio-button-on"; -export { default as IoAndroidRefresh } from "./android-refresh"; -export { default as IoAndroidRemoveCircle } from "./android-remove-circle"; -export { default as IoAndroidRemove } from "./android-remove"; -export { default as IoAndroidRestaurant } from "./android-restaurant"; -export { default as IoAndroidSad } from "./android-sad"; -export { default as IoAndroidSearch } from "./android-search"; -export { default as IoAndroidSend } from "./android-send"; -export { default as IoAndroidSettings } from "./android-settings"; -export { default as IoAndroidShareAlt } from "./android-share-alt"; -export { default as IoAndroidShare } from "./android-share"; -export { default as IoAndroidStarHalf } from "./android-star-half"; -export { default as IoAndroidStarOutline } from "./android-star-outline"; -export { default as IoAndroidStar } from "./android-star"; -export { default as IoAndroidStopwatch } from "./android-stopwatch"; -export { default as IoAndroidSubway } from "./android-subway"; -export { default as IoAndroidSunny } from "./android-sunny"; -export { default as IoAndroidSync } from "./android-sync"; -export { default as IoAndroidTextsms } from "./android-textsms"; -export { default as IoAndroidTime } from "./android-time"; -export { default as IoAndroidTrain } from "./android-train"; -export { default as IoAndroidUnlock } from "./android-unlock"; -export { default as IoAndroidUpload } from "./android-upload"; -export { default as IoAndroidVolumeDown } from "./android-volume-down"; -export { default as IoAndroidVolumeMute } from "./android-volume-mute"; -export { default as IoAndroidVolumeOff } from "./android-volume-off"; -export { default as IoAndroidVolumeUp } from "./android-volume-up"; -export { default as IoAndroidWalk } from "./android-walk"; -export { default as IoAndroidWarning } from "./android-warning"; -export { default as IoAndroidWatch } from "./android-watch"; -export { default as IoAndroidWifi } from "./android-wifi"; -export { default as IoAperture } from "./aperture"; -export { default as IoArchive } from "./archive"; -export { default as IoArrowDownA } from "./arrow-down-a"; -export { default as IoArrowDownB } from "./arrow-down-b"; -export { default as IoArrowDownC } from "./arrow-down-c"; -export { default as IoArrowExpand } from "./arrow-expand"; -export { default as IoArrowGraphDownLeft } from "./arrow-graph-down-left"; -export { default as IoArrowGraphDownRight } from "./arrow-graph-down-right"; -export { default as IoArrowGraphUpLeft } from "./arrow-graph-up-left"; -export { default as IoArrowGraphUpRight } from "./arrow-graph-up-right"; -export { default as IoArrowLeftA } from "./arrow-left-a"; -export { default as IoArrowLeftB } from "./arrow-left-b"; -export { default as IoArrowLeftC } from "./arrow-left-c"; -export { default as IoArrowMove } from "./arrow-move"; -export { default as IoArrowResize } from "./arrow-resize"; -export { default as IoArrowReturnLeft } from "./arrow-return-left"; -export { default as IoArrowReturnRight } from "./arrow-return-right"; -export { default as IoArrowRightA } from "./arrow-right-a"; -export { default as IoArrowRightB } from "./arrow-right-b"; -export { default as IoArrowRightC } from "./arrow-right-c"; -export { default as IoArrowShrink } from "./arrow-shrink"; -export { default as IoArrowSwap } from "./arrow-swap"; -export { default as IoArrowUpA } from "./arrow-up-a"; -export { default as IoArrowUpB } from "./arrow-up-b"; -export { default as IoArrowUpC } from "./arrow-up-c"; -export { default as IoAsterisk } from "./asterisk"; -export { default as IoAt } from "./at"; -export { default as IoBackspaceOutline } from "./backspace-outline"; -export { default as IoBackspace } from "./backspace"; -export { default as IoBag } from "./bag"; -export { default as IoBatteryCharging } from "./battery-charging"; -export { default as IoBatteryEmpty } from "./battery-empty"; -export { default as IoBatteryFull } from "./battery-full"; -export { default as IoBatteryHalf } from "./battery-half"; -export { default as IoBatteryLow } from "./battery-low"; -export { default as IoBeaker } from "./beaker"; -export { default as IoBeer } from "./beer"; -export { default as IoBluetooth } from "./bluetooth"; -export { default as IoBonfire } from "./bonfire"; -export { default as IoBookmark } from "./bookmark"; -export { default as IoBowtie } from "./bowtie"; -export { default as IoBriefcase } from "./briefcase"; -export { default as IoBug } from "./bug"; -export { default as IoCalculator } from "./calculator"; -export { default as IoCalendar } from "./calendar"; -export { default as IoCamera } from "./camera"; -export { default as IoCard } from "./card"; -export { default as IoCash } from "./cash"; -export { default as IoChatboxWorking } from "./chatbox-working"; -export { default as IoChatbox } from "./chatbox"; -export { default as IoChatboxes } from "./chatboxes"; -export { default as IoChatbubbleWorking } from "./chatbubble-working"; -export { default as IoChatbubble } from "./chatbubble"; -export { default as IoChatbubbles } from "./chatbubbles"; -export { default as IoCheckmarkCircled } from "./checkmark-circled"; -export { default as IoCheckmarkRound } from "./checkmark-round"; -export { default as IoCheckmark } from "./checkmark"; -export { default as IoChevronDown } from "./chevron-down"; -export { default as IoChevronLeft } from "./chevron-left"; -export { default as IoChevronRight } from "./chevron-right"; -export { default as IoChevronUp } from "./chevron-up"; -export { default as IoClipboard } from "./clipboard"; -export { default as IoClock } from "./clock"; -export { default as IoCloseCircled } from "./close-circled"; -export { default as IoCloseRound } from "./close-round"; -export { default as IoClose } from "./close"; -export { default as IoClosedCaptioning } from "./closed-captioning"; -export { default as IoCloud } from "./cloud"; -export { default as IoCodeDownload } from "./code-download"; -export { default as IoCodeWorking } from "./code-working"; -export { default as IoCode } from "./code"; -export { default as IoCoffee } from "./coffee"; -export { default as IoCompass } from "./compass"; -export { default as IoCompose } from "./compose"; -export { default as IoConnectbars } from "./connectbars"; -export { default as IoContrast } from "./contrast"; -export { default as IoCrop } from "./crop"; -export { default as IoCube } from "./cube"; -export { default as IoDisc } from "./disc"; -export { default as IoDocumentText } from "./document-text"; -export { default as IoDocument } from "./document"; -export { default as IoDrag } from "./drag"; -export { default as IoEarth } from "./earth"; -export { default as IoEasel } from "./easel"; -export { default as IoEdit } from "./edit"; -export { default as IoEgg } from "./egg"; -export { default as IoEject } from "./eject"; -export { default as IoEmailUnread } from "./email-unread"; -export { default as IoEmail } from "./email"; -export { default as IoErlenmeyerFlaskBubbles } from "./erlenmeyer-flask-bubbles"; -export { default as IoErlenmeyerFlask } from "./erlenmeyer-flask"; -export { default as IoEyeDisabled } from "./eye-disabled"; -export { default as IoEye } from "./eye"; -export { default as IoFemale } from "./female"; -export { default as IoFiling } from "./filing"; -export { default as IoFilmMarker } from "./film-marker"; -export { default as IoFireball } from "./fireball"; -export { default as IoFlag } from "./flag"; -export { default as IoFlame } from "./flame"; -export { default as IoFlashOff } from "./flash-off"; -export { default as IoFlash } from "./flash"; -export { default as IoFolder } from "./folder"; -export { default as IoForkRepo } from "./fork-repo"; -export { default as IoFork } from "./fork"; -export { default as IoForward } from "./forward"; -export { default as IoFunnel } from "./funnel"; -export { default as IoGearA } from "./gear-a"; -export { default as IoGearB } from "./gear-b"; -export { default as IoGrid } from "./grid"; -export { default as IoHammer } from "./hammer"; -export { default as IoHappyOutline } from "./happy-outline"; -export { default as IoHappy } from "./happy"; -export { default as IoHeadphone } from "./headphone"; -export { default as IoHeartBroken } from "./heart-broken"; -export { default as IoHeart } from "./heart"; -export { default as IoHelpBuoy } from "./help-buoy"; -export { default as IoHelpCircled } from "./help-circled"; -export { default as IoHelp } from "./help"; -export { default as IoHome } from "./home"; -export { default as IoIcecream } from "./icecream"; -export { default as IoImage } from "./image"; -export { default as IoImages } from "./images"; -export { default as IoInformatcircled } from "./informatcircled"; -export { default as IoInformation } from "./information"; -export { default as IoIonic } from "./ionic"; -export { default as IoIosAlarmOutline } from "./ios-alarm-outline"; -export { default as IoIosAlarm } from "./ios-alarm"; -export { default as IoIosAlbumsOutline } from "./ios-albums-outline"; -export { default as IoIosAlbums } from "./ios-albums"; -export { default as IoIosAmericanfootballOutline } from "./ios-americanfootball-outline"; -export { default as IoIosAmericanfootball } from "./ios-americanfootball"; -export { default as IoIosAnalyticsOutline } from "./ios-analytics-outline"; -export { default as IoIosAnalytics } from "./ios-analytics"; -export { default as IoIosArrowBack } from "./ios-arrow-back"; -export { default as IoIosArrowDown } from "./ios-arrow-down"; -export { default as IoIosArrowForward } from "./ios-arrow-forward"; -export { default as IoIosArrowLeft } from "./ios-arrow-left"; -export { default as IoIosArrowRight } from "./ios-arrow-right"; -export { default as IoIosArrowThinDown } from "./ios-arrow-thin-down"; -export { default as IoIosArrowThinLeft } from "./ios-arrow-thin-left"; -export { default as IoIosArrowThinRight } from "./ios-arrow-thin-right"; -export { default as IoIosArrowThinUp } from "./ios-arrow-thin-up"; -export { default as IoIosArrowUp } from "./ios-arrow-up"; -export { default as IoIosAtOutline } from "./ios-at-outline"; -export { default as IoIosAt } from "./ios-at"; -export { default as IoIosBarcodeOutline } from "./ios-barcode-outline"; -export { default as IoIosBarcode } from "./ios-barcode"; -export { default as IoIosBaseballOutline } from "./ios-baseball-outline"; -export { default as IoIosBaseball } from "./ios-baseball"; -export { default as IoIosBasketballOutline } from "./ios-basketball-outline"; -export { default as IoIosBasketball } from "./ios-basketball"; -export { default as IoIosBellOutline } from "./ios-bell-outline"; -export { default as IoIosBell } from "./ios-bell"; -export { default as IoIosBodyOutline } from "./ios-body-outline"; -export { default as IoIosBody } from "./ios-body"; -export { default as IoIosBoltOutline } from "./ios-bolt-outline"; -export { default as IoIosBolt } from "./ios-bolt"; -export { default as IoIosBookOutline } from "./ios-book-outline"; -export { default as IoIosBook } from "./ios-book"; -export { default as IoIosBookmarksOutline } from "./ios-bookmarks-outline"; -export { default as IoIosBookmarks } from "./ios-bookmarks"; -export { default as IoIosBoxOutline } from "./ios-box-outline"; -export { default as IoIosBox } from "./ios-box"; -export { default as IoIosBriefcaseOutline } from "./ios-briefcase-outline"; -export { default as IoIosBriefcase } from "./ios-briefcase"; -export { default as IoIosBrowsersOutline } from "./ios-browsers-outline"; -export { default as IoIosBrowsers } from "./ios-browsers"; -export { default as IoIosCalculatorOutline } from "./ios-calculator-outline"; -export { default as IoIosCalculator } from "./ios-calculator"; -export { default as IoIosCalendarOutline } from "./ios-calendar-outline"; -export { default as IoIosCalendar } from "./ios-calendar"; -export { default as IoIosCameraOutline } from "./ios-camera-outline"; -export { default as IoIosCamera } from "./ios-camera"; -export { default as IoIosCartOutline } from "./ios-cart-outline"; -export { default as IoIosCart } from "./ios-cart"; -export { default as IoIosChatboxesOutline } from "./ios-chatboxes-outline"; -export { default as IoIosChatboxes } from "./ios-chatboxes"; -export { default as IoIosChatbubbleOutline } from "./ios-chatbubble-outline"; -export { default as IoIosChatbubble } from "./ios-chatbubble"; -export { default as IoIosCheckmarkEmpty } from "./ios-checkmark-empty"; -export { default as IoIosCheckmarkOutline } from "./ios-checkmark-outline"; -export { default as IoIosCheckmark } from "./ios-checkmark"; -export { default as IoIosCircleFilled } from "./ios-circle-filled"; -export { default as IoIosCircleOutline } from "./ios-circle-outline"; -export { default as IoIosClockOutline } from "./ios-clock-outline"; -export { default as IoIosClock } from "./ios-clock"; -export { default as IoIosCloseEmpty } from "./ios-close-empty"; -export { default as IoIosCloseOutline } from "./ios-close-outline"; -export { default as IoIosClose } from "./ios-close"; -export { default as IoIosCloudDownloadOutline } from "./ios-cloud-download-outline"; -export { default as IoIosCloudDownload } from "./ios-cloud-download"; -export { default as IoIosCloudOutline } from "./ios-cloud-outline"; -export { default as IoIosCloudUploadOutline } from "./ios-cloud-upload-outline"; -export { default as IoIosCloudUpload } from "./ios-cloud-upload"; -export { default as IoIosCloud } from "./ios-cloud"; -export { default as IoIosCloudyNightOutline } from "./ios-cloudy-night-outline"; -export { default as IoIosCloudyNight } from "./ios-cloudy-night"; -export { default as IoIosCloudyOutline } from "./ios-cloudy-outline"; -export { default as IoIosCloudy } from "./ios-cloudy"; -export { default as IoIosCogOutline } from "./ios-cog-outline"; -export { default as IoIosCog } from "./ios-cog"; -export { default as IoIosColorFilterOutline } from "./ios-color-filter-outline"; -export { default as IoIosColorFilter } from "./ios-color-filter"; -export { default as IoIosColorWandOutline } from "./ios-color-wand-outline"; -export { default as IoIosColorWand } from "./ios-color-wand"; -export { default as IoIosComposeOutline } from "./ios-compose-outline"; -export { default as IoIosCompose } from "./ios-compose"; -export { default as IoIosContactOutline } from "./ios-contact-outline"; -export { default as IoIosContact } from "./ios-contact"; -export { default as IoIosCopyOutline } from "./ios-copy-outline"; -export { default as IoIosCopy } from "./ios-copy"; -export { default as IoIosCropStrong } from "./ios-crop-strong"; -export { default as IoIosCrop } from "./ios-crop"; -export { default as IoIosDownloadOutline } from "./ios-download-outline"; -export { default as IoIosDownload } from "./ios-download"; -export { default as IoIosDrag } from "./ios-drag"; -export { default as IoIosEmailOutline } from "./ios-email-outline"; -export { default as IoIosEmail } from "./ios-email"; -export { default as IoIosEyeOutline } from "./ios-eye-outline"; -export { default as IoIosEye } from "./ios-eye"; -export { default as IoIosFastforwardOutline } from "./ios-fastforward-outline"; -export { default as IoIosFastforward } from "./ios-fastforward"; -export { default as IoIosFilingOutline } from "./ios-filing-outline"; -export { default as IoIosFiling } from "./ios-filing"; -export { default as IoIosFilmOutline } from "./ios-film-outline"; -export { default as IoIosFilm } from "./ios-film"; -export { default as IoIosFlagOutline } from "./ios-flag-outline"; -export { default as IoIosFlag } from "./ios-flag"; -export { default as IoIosFlameOutline } from "./ios-flame-outline"; -export { default as IoIosFlame } from "./ios-flame"; -export { default as IoIosFlaskOutline } from "./ios-flask-outline"; -export { default as IoIosFlask } from "./ios-flask"; -export { default as IoIosFlowerOutline } from "./ios-flower-outline"; -export { default as IoIosFlower } from "./ios-flower"; -export { default as IoIosFolderOutline } from "./ios-folder-outline"; -export { default as IoIosFolder } from "./ios-folder"; -export { default as IoIosFootballOutline } from "./ios-football-outline"; -export { default as IoIosFootball } from "./ios-football"; -export { default as IoIosGameControllerAOutline } from "./ios-game-controller-a-outline"; -export { default as IoIosGameControllerA } from "./ios-game-controller-a"; -export { default as IoIosGameControllerBOutline } from "./ios-game-controller-b-outline"; -export { default as IoIosGameControllerB } from "./ios-game-controller-b"; -export { default as IoIosGearOutline } from "./ios-gear-outline"; -export { default as IoIosGear } from "./ios-gear"; -export { default as IoIosGlassesOutline } from "./ios-glasses-outline"; -export { default as IoIosGlasses } from "./ios-glasses"; -export { default as IoIosGridViewOutline } from "./ios-grid-view-outline"; -export { default as IoIosGridView } from "./ios-grid-view"; -export { default as IoIosHeartOutline } from "./ios-heart-outline"; -export { default as IoIosHeart } from "./ios-heart"; -export { default as IoIosHelpEmpty } from "./ios-help-empty"; -export { default as IoIosHelpOutline } from "./ios-help-outline"; -export { default as IoIosHelp } from "./ios-help"; -export { default as IoIosHomeOutline } from "./ios-home-outline"; -export { default as IoIosHome } from "./ios-home"; -export { default as IoIosInfiniteOutline } from "./ios-infinite-outline"; -export { default as IoIosInfinite } from "./ios-infinite"; -export { default as IoIosInformatempty } from "./ios-informatempty"; -export { default as IoIosInformation } from "./ios-information"; -export { default as IoIosInformatoutline } from "./ios-informatoutline"; -export { default as IoIosIonicOutline } from "./ios-ionic-outline"; -export { default as IoIosKeypadOutline } from "./ios-keypad-outline"; -export { default as IoIosKeypad } from "./ios-keypad"; -export { default as IoIosLightbulbOutline } from "./ios-lightbulb-outline"; -export { default as IoIosLightbulb } from "./ios-lightbulb"; -export { default as IoIosListOutline } from "./ios-list-outline"; -export { default as IoIosList } from "./ios-list"; -export { default as IoIosLocation } from "./ios-location"; -export { default as IoIosLocatoutline } from "./ios-locatoutline"; -export { default as IoIosLockedOutline } from "./ios-locked-outline"; -export { default as IoIosLocked } from "./ios-locked"; -export { default as IoIosLoopStrong } from "./ios-loop-strong"; -export { default as IoIosLoop } from "./ios-loop"; -export { default as IoIosMedicalOutline } from "./ios-medical-outline"; -export { default as IoIosMedical } from "./ios-medical"; -export { default as IoIosMedkitOutline } from "./ios-medkit-outline"; -export { default as IoIosMedkit } from "./ios-medkit"; -export { default as IoIosMicOff } from "./ios-mic-off"; -export { default as IoIosMicOutline } from "./ios-mic-outline"; -export { default as IoIosMic } from "./ios-mic"; -export { default as IoIosMinusEmpty } from "./ios-minus-empty"; -export { default as IoIosMinusOutline } from "./ios-minus-outline"; -export { default as IoIosMinus } from "./ios-minus"; -export { default as IoIosMonitorOutline } from "./ios-monitor-outline"; -export { default as IoIosMonitor } from "./ios-monitor"; -export { default as IoIosMoonOutline } from "./ios-moon-outline"; -export { default as IoIosMoon } from "./ios-moon"; -export { default as IoIosMoreOutline } from "./ios-more-outline"; -export { default as IoIosMore } from "./ios-more"; -export { default as IoIosMusicalNote } from "./ios-musical-note"; -export { default as IoIosMusicalNotes } from "./ios-musical-notes"; -export { default as IoIosNavigateOutline } from "./ios-navigate-outline"; -export { default as IoIosNavigate } from "./ios-navigate"; -export { default as IoIosNutrition } from "./ios-nutrition"; -export { default as IoIosNutritoutline } from "./ios-nutritoutline"; -export { default as IoIosPaperOutline } from "./ios-paper-outline"; -export { default as IoIosPaper } from "./ios-paper"; -export { default as IoIosPaperplaneOutline } from "./ios-paperplane-outline"; -export { default as IoIosPaperplane } from "./ios-paperplane"; -export { default as IoIosPartlysunnyOutline } from "./ios-partlysunny-outline"; -export { default as IoIosPartlysunny } from "./ios-partlysunny"; -export { default as IoIosPauseOutline } from "./ios-pause-outline"; -export { default as IoIosPause } from "./ios-pause"; -export { default as IoIosPawOutline } from "./ios-paw-outline"; -export { default as IoIosPaw } from "./ios-paw"; -export { default as IoIosPeopleOutline } from "./ios-people-outline"; -export { default as IoIosPeople } from "./ios-people"; -export { default as IoIosPersonOutline } from "./ios-person-outline"; -export { default as IoIosPerson } from "./ios-person"; -export { default as IoIosPersonaddOutline } from "./ios-personadd-outline"; -export { default as IoIosPersonadd } from "./ios-personadd"; -export { default as IoIosPhotosOutline } from "./ios-photos-outline"; -export { default as IoIosPhotos } from "./ios-photos"; -export { default as IoIosPieOutline } from "./ios-pie-outline"; -export { default as IoIosPie } from "./ios-pie"; -export { default as IoIosPintOutline } from "./ios-pint-outline"; -export { default as IoIosPint } from "./ios-pint"; -export { default as IoIosPlayOutline } from "./ios-play-outline"; -export { default as IoIosPlay } from "./ios-play"; -export { default as IoIosPlusEmpty } from "./ios-plus-empty"; -export { default as IoIosPlusOutline } from "./ios-plus-outline"; -export { default as IoIosPlus } from "./ios-plus"; -export { default as IoIosPricetagOutline } from "./ios-pricetag-outline"; -export { default as IoIosPricetag } from "./ios-pricetag"; -export { default as IoIosPricetagsOutline } from "./ios-pricetags-outline"; -export { default as IoIosPricetags } from "./ios-pricetags"; -export { default as IoIosPrinterOutline } from "./ios-printer-outline"; -export { default as IoIosPrinter } from "./ios-printer"; -export { default as IoIosPulseStrong } from "./ios-pulse-strong"; -export { default as IoIosPulse } from "./ios-pulse"; -export { default as IoIosRainyOutline } from "./ios-rainy-outline"; -export { default as IoIosRainy } from "./ios-rainy"; -export { default as IoIosRecordingOutline } from "./ios-recording-outline"; -export { default as IoIosRecording } from "./ios-recording"; -export { default as IoIosRedoOutline } from "./ios-redo-outline"; -export { default as IoIosRedo } from "./ios-redo"; -export { default as IoIosRefreshEmpty } from "./ios-refresh-empty"; -export { default as IoIosRefreshOutline } from "./ios-refresh-outline"; -export { default as IoIosRefresh } from "./ios-refresh"; -export { default as IoIosReload } from "./ios-reload"; -export { default as IoIosReverseCameraOutline } from "./ios-reverse-camera-outline"; -export { default as IoIosReverseCamera } from "./ios-reverse-camera"; -export { default as IoIosRewindOutline } from "./ios-rewind-outline"; -export { default as IoIosRewind } from "./ios-rewind"; -export { default as IoIosRoseOutline } from "./ios-rose-outline"; -export { default as IoIosRose } from "./ios-rose"; -export { default as IoIosSearchStrong } from "./ios-search-strong"; -export { default as IoIosSearch } from "./ios-search"; -export { default as IoIosSettingsStrong } from "./ios-settings-strong"; -export { default as IoIosSettings } from "./ios-settings"; -export { default as IoIosShuffleStrong } from "./ios-shuffle-strong"; -export { default as IoIosShuffle } from "./ios-shuffle"; -export { default as IoIosSkipbackwardOutline } from "./ios-skipbackward-outline"; -export { default as IoIosSkipbackward } from "./ios-skipbackward"; -export { default as IoIosSkipforwardOutline } from "./ios-skipforward-outline"; -export { default as IoIosSkipforward } from "./ios-skipforward"; -export { default as IoIosSnowy } from "./ios-snowy"; -export { default as IoIosSpeedometerOutline } from "./ios-speedometer-outline"; -export { default as IoIosSpeedometer } from "./ios-speedometer"; -export { default as IoIosStarHalf } from "./ios-star-half"; -export { default as IoIosStarOutline } from "./ios-star-outline"; -export { default as IoIosStar } from "./ios-star"; -export { default as IoIosStopwatchOutline } from "./ios-stopwatch-outline"; -export { default as IoIosStopwatch } from "./ios-stopwatch"; -export { default as IoIosSunnyOutline } from "./ios-sunny-outline"; -export { default as IoIosSunny } from "./ios-sunny"; -export { default as IoIosTelephoneOutline } from "./ios-telephone-outline"; -export { default as IoIosTelephone } from "./ios-telephone"; -export { default as IoIosTennisballOutline } from "./ios-tennisball-outline"; -export { default as IoIosTennisball } from "./ios-tennisball"; -export { default as IoIosThunderstormOutline } from "./ios-thunderstorm-outline"; -export { default as IoIosThunderstorm } from "./ios-thunderstorm"; -export { default as IoIosTimeOutline } from "./ios-time-outline"; -export { default as IoIosTime } from "./ios-time"; -export { default as IoIosTimerOutline } from "./ios-timer-outline"; -export { default as IoIosTimer } from "./ios-timer"; -export { default as IoIosToggleOutline } from "./ios-toggle-outline"; -export { default as IoIosToggle } from "./ios-toggle"; -export { default as IoIosTrashOutline } from "./ios-trash-outline"; -export { default as IoIosTrash } from "./ios-trash"; -export { default as IoIosUndoOutline } from "./ios-undo-outline"; -export { default as IoIosUndo } from "./ios-undo"; -export { default as IoIosUnlockedOutline } from "./ios-unlocked-outline"; -export { default as IoIosUnlocked } from "./ios-unlocked"; -export { default as IoIosUploadOutline } from "./ios-upload-outline"; -export { default as IoIosUpload } from "./ios-upload"; -export { default as IoIosVideocamOutline } from "./ios-videocam-outline"; -export { default as IoIosVideocam } from "./ios-videocam"; -export { default as IoIosVolumeHigh } from "./ios-volume-high"; -export { default as IoIosVolumeLow } from "./ios-volume-low"; -export { default as IoIosWineglassOutline } from "./ios-wineglass-outline"; -export { default as IoIosWineglass } from "./ios-wineglass"; -export { default as IoIosWorldOutline } from "./ios-world-outline"; -export { default as IoIosWorld } from "./ios-world"; -export { default as IoIpad } from "./ipad"; -export { default as IoIphone } from "./iphone"; -export { default as IoIpod } from "./ipod"; -export { default as IoJet } from "./jet"; -export { default as IoKey } from "./key"; -export { default as IoKnife } from "./knife"; -export { default as IoLaptop } from "./laptop"; -export { default as IoLeaf } from "./leaf"; -export { default as IoLevels } from "./levels"; -export { default as IoLightbulb } from "./lightbulb"; -export { default as IoLink } from "./link"; -export { default as IoLoadA } from "./load-a"; -export { default as IoLoadB } from "./load-b"; -export { default as IoLoadC } from "./load-c"; -export { default as IoLoadD } from "./load-d"; -export { default as IoLocation } from "./location"; -export { default as IoLockCombination } from "./lock-combination"; -export { default as IoLocked } from "./locked"; -export { default as IoLogIn } from "./log-in"; -export { default as IoLogOut } from "./log-out"; -export { default as IoLoop } from "./loop"; -export { default as IoMagnet } from "./magnet"; -export { default as IoMale } from "./male"; -export { default as IoMan } from "./man"; -export { default as IoMap } from "./map"; -export { default as IoMedkit } from "./medkit"; -export { default as IoMerge } from "./merge"; -export { default as IoMicA } from "./mic-a"; -export { default as IoMicB } from "./mic-b"; -export { default as IoMicC } from "./mic-c"; -export { default as IoMinusCircled } from "./minus-circled"; -export { default as IoMinusRound } from "./minus-round"; -export { default as IoMinus } from "./minus"; -export { default as IoModelS } from "./model-s"; -export { default as IoMonitor } from "./monitor"; -export { default as IoMore } from "./more"; -export { default as IoMouse } from "./mouse"; -export { default as IoMusicNote } from "./music-note"; -export { default as IoNaviconRound } from "./navicon-round"; -export { default as IoNavicon } from "./navicon"; -export { default as IoNavigate } from "./navigate"; -export { default as IoNetwork } from "./network"; -export { default as IoNoSmoking } from "./no-smoking"; -export { default as IoNuclear } from "./nuclear"; -export { default as IoOutlet } from "./outlet"; -export { default as IoPaintbrush } from "./paintbrush"; -export { default as IoPaintbucket } from "./paintbucket"; -export { default as IoPaperAirplane } from "./paper-airplane"; -export { default as IoPaperclip } from "./paperclip"; -export { default as IoPause } from "./pause"; -export { default as IoPersonAdd } from "./person-add"; -export { default as IoPersonStalker } from "./person-stalker"; -export { default as IoPerson } from "./person"; -export { default as IoPieGraph } from "./pie-graph"; -export { default as IoPin } from "./pin"; -export { default as IoPinpoint } from "./pinpoint"; -export { default as IoPizza } from "./pizza"; -export { default as IoPlane } from "./plane"; -export { default as IoPlanet } from "./planet"; -export { default as IoPlay } from "./play"; -export { default as IoPlaystation } from "./playstation"; -export { default as IoPlusCircled } from "./plus-circled"; -export { default as IoPlusRound } from "./plus-round"; -export { default as IoPlus } from "./plus"; -export { default as IoPodium } from "./podium"; -export { default as IoPound } from "./pound"; -export { default as IoPower } from "./power"; -export { default as IoPricetag } from "./pricetag"; -export { default as IoPricetags } from "./pricetags"; -export { default as IoPrinter } from "./printer"; -export { default as IoPullRequest } from "./pull-request"; -export { default as IoQrScanner } from "./qr-scanner"; -export { default as IoQuote } from "./quote"; -export { default as IoRadioWaves } from "./radio-waves"; -export { default as IoRecord } from "./record"; -export { default as IoRefresh } from "./refresh"; -export { default as IoReplyAll } from "./reply-all"; -export { default as IoReply } from "./reply"; -export { default as IoRibbonA } from "./ribbon-a"; -export { default as IoRibbonB } from "./ribbon-b"; -export { default as IoSadOutline } from "./sad-outline"; -export { default as IoSad } from "./sad"; -export { default as IoScissors } from "./scissors"; -export { default as IoSearch } from "./search"; -export { default as IoSettings } from "./settings"; -export { default as IoShare } from "./share"; -export { default as IoShuffle } from "./shuffle"; -export { default as IoSkipBackward } from "./skip-backward"; -export { default as IoSkipForward } from "./skip-forward"; -export { default as IoSocialAndroidOutline } from "./social-android-outline"; -export { default as IoSocialAndroid } from "./social-android"; -export { default as IoSocialAngularOutline } from "./social-angular-outline"; -export { default as IoSocialAngular } from "./social-angular"; -export { default as IoSocialAppleOutline } from "./social-apple-outline"; -export { default as IoSocialApple } from "./social-apple"; -export { default as IoSocialBitcoinOutline } from "./social-bitcoin-outline"; -export { default as IoSocialBitcoin } from "./social-bitcoin"; -export { default as IoSocialBufferOutline } from "./social-buffer-outline"; -export { default as IoSocialBuffer } from "./social-buffer"; -export { default as IoSocialChromeOutline } from "./social-chrome-outline"; -export { default as IoSocialChrome } from "./social-chrome"; -export { default as IoSocialCodepenOutline } from "./social-codepen-outline"; -export { default as IoSocialCodepen } from "./social-codepen"; -export { default as IoSocialCss3Outline } from "./social-css3-outline"; -export { default as IoSocialCss3 } from "./social-css3"; -export { default as IoSocialDesignernewsOutline } from "./social-designernews-outline"; -export { default as IoSocialDesignernews } from "./social-designernews"; -export { default as IoSocialDribbbleOutline } from "./social-dribbble-outline"; -export { default as IoSocialDribbble } from "./social-dribbble"; -export { default as IoSocialDropboxOutline } from "./social-dropbox-outline"; -export { default as IoSocialDropbox } from "./social-dropbox"; -export { default as IoSocialEuroOutline } from "./social-euro-outline"; -export { default as IoSocialEuro } from "./social-euro"; -export { default as IoSocialFacebookOutline } from "./social-facebook-outline"; -export { default as IoSocialFacebook } from "./social-facebook"; -export { default as IoSocialFoursquareOutline } from "./social-foursquare-outline"; -export { default as IoSocialFoursquare } from "./social-foursquare"; -export { default as IoSocialFreebsdDevil } from "./social-freebsd-devil"; -export { default as IoSocialGithubOutline } from "./social-github-outline"; -export { default as IoSocialGithub } from "./social-github"; -export { default as IoSocialGoogleOutline } from "./social-google-outline"; -export { default as IoSocialGoogle } from "./social-google"; -export { default as IoSocialGoogleplusOutline } from "./social-googleplus-outline"; -export { default as IoSocialGoogleplus } from "./social-googleplus"; -export { default as IoSocialHackernewsOutline } from "./social-hackernews-outline"; -export { default as IoSocialHackernews } from "./social-hackernews"; -export { default as IoSocialHtml5Outline } from "./social-html5-outline"; -export { default as IoSocialHtml5 } from "./social-html5"; -export { default as IoSocialInstagramOutline } from "./social-instagram-outline"; -export { default as IoSocialInstagram } from "./social-instagram"; -export { default as IoSocialJavascriptOutline } from "./social-javascript-outline"; -export { default as IoSocialJavascript } from "./social-javascript"; -export { default as IoSocialLinkedinOutline } from "./social-linkedin-outline"; -export { default as IoSocialLinkedin } from "./social-linkedin"; -export { default as IoSocialMarkdown } from "./social-markdown"; -export { default as IoSocialNodejs } from "./social-nodejs"; -export { default as IoSocialOctocat } from "./social-octocat"; -export { default as IoSocialPinterestOutline } from "./social-pinterest-outline"; -export { default as IoSocialPinterest } from "./social-pinterest"; -export { default as IoSocialPython } from "./social-python"; -export { default as IoSocialRedditOutline } from "./social-reddit-outline"; -export { default as IoSocialReddit } from "./social-reddit"; -export { default as IoSocialRssOutline } from "./social-rss-outline"; -export { default as IoSocialRss } from "./social-rss"; -export { default as IoSocialSass } from "./social-sass"; -export { default as IoSocialSkypeOutline } from "./social-skype-outline"; -export { default as IoSocialSkype } from "./social-skype"; -export { default as IoSocialSnapchatOutline } from "./social-snapchat-outline"; -export { default as IoSocialSnapchat } from "./social-snapchat"; -export { default as IoSocialTumblrOutline } from "./social-tumblr-outline"; -export { default as IoSocialTumblr } from "./social-tumblr"; -export { default as IoSocialTux } from "./social-tux"; -export { default as IoSocialTwitchOutline } from "./social-twitch-outline"; -export { default as IoSocialTwitch } from "./social-twitch"; -export { default as IoSocialTwitterOutline } from "./social-twitter-outline"; -export { default as IoSocialTwitter } from "./social-twitter"; -export { default as IoSocialUsdOutline } from "./social-usd-outline"; -export { default as IoSocialUsd } from "./social-usd"; -export { default as IoSocialVimeoOutline } from "./social-vimeo-outline"; -export { default as IoSocialVimeo } from "./social-vimeo"; -export { default as IoSocialWhatsappOutline } from "./social-whatsapp-outline"; -export { default as IoSocialWhatsapp } from "./social-whatsapp"; -export { default as IoSocialWindowsOutline } from "./social-windows-outline"; -export { default as IoSocialWindows } from "./social-windows"; -export { default as IoSocialWordpressOutline } from "./social-wordpress-outline"; -export { default as IoSocialWordpress } from "./social-wordpress"; -export { default as IoSocialYahooOutline } from "./social-yahoo-outline"; -export { default as IoSocialYahoo } from "./social-yahoo"; -export { default as IoSocialYenOutline } from "./social-yen-outline"; -export { default as IoSocialYen } from "./social-yen"; -export { default as IoSocialYoutubeOutline } from "./social-youtube-outline"; -export { default as IoSocialYoutube } from "./social-youtube"; -export { default as IoSoupCanOutline } from "./soup-can-outline"; -export { default as IoSoupCan } from "./soup-can"; -export { default as IoSpeakerphone } from "./speakerphone"; -export { default as IoSpeedometer } from "./speedometer"; -export { default as IoSpoon } from "./spoon"; -export { default as IoStar } from "./star"; -export { default as IoStatsBars } from "./stats-bars"; -export { default as IoSteam } from "./steam"; -export { default as IoStop } from "./stop"; -export { default as IoThermometer } from "./thermometer"; -export { default as IoThumbsdown } from "./thumbsdown"; -export { default as IoThumbsup } from "./thumbsup"; -export { default as IoToggleFilled } from "./toggle-filled"; -export { default as IoToggle } from "./toggle"; -export { default as IoTransgender } from "./transgender"; -export { default as IoTrashA } from "./trash-a"; -export { default as IoTrashB } from "./trash-b"; -export { default as IoTrophy } from "./trophy"; -export { default as IoTshirtOutline } from "./tshirt-outline"; -export { default as IoTshirt } from "./tshirt"; -export { default as IoUmbrella } from "./umbrella"; -export { default as IoUniversity } from "./university"; -export { default as IoUnlocked } from "./unlocked"; -export { default as IoUpload } from "./upload"; -export { default as IoUsb } from "./usb"; -export { default as IoVideocamera } from "./videocamera"; -export { default as IoVolumeHigh } from "./volume-high"; -export { default as IoVolumeLow } from "./volume-low"; -export { default as IoVolumeMedium } from "./volume-medium"; -export { default as IoVolumeMute } from "./volume-mute"; -export { default as IoWand } from "./wand"; -export { default as IoWaterdrop } from "./waterdrop"; -export { default as IoWifi } from "./wifi"; -export { default as IoWineglass } from "./wineglass"; -export { default as IoWoman } from "./woman"; -export { default as IoWrench } from "./wrench"; -export { default as IoXbox } from "./xbox"; +export { default as IoAlertCircled } from "../../io/alert-circled"; +export { default as IoAlert } from "../../io/alert"; +export { default as IoAndroidAddCircle } from "../../io/android-add-circle"; +export { default as IoAndroidAdd } from "../../io/android-add"; +export { default as IoAndroidAlarmClock } from "../../io/android-alarm-clock"; +export { default as IoAndroidAlert } from "../../io/android-alert"; +export { default as IoAndroidApps } from "../../io/android-apps"; +export { default as IoAndroidArchive } from "../../io/android-archive"; +export { default as IoAndroidArrowBack } from "../../io/android-arrow-back"; +export { default as IoAndroidArrowDown } from "../../io/android-arrow-down"; +export { default as IoAndroidArrowDropdownCircle } from "../../io/android-arrow-dropdown-circle"; +export { default as IoAndroidArrowDropdown } from "../../io/android-arrow-dropdown"; +export { default as IoAndroidArrowDropleftCircle } from "../../io/android-arrow-dropleft-circle"; +export { default as IoAndroidArrowDropleft } from "../../io/android-arrow-dropleft"; +export { default as IoAndroidArrowDroprightCircle } from "../../io/android-arrow-dropright-circle"; +export { default as IoAndroidArrowDropright } from "../../io/android-arrow-dropright"; +export { default as IoAndroidArrowDropupCircle } from "../../io/android-arrow-dropup-circle"; +export { default as IoAndroidArrowDropup } from "../../io/android-arrow-dropup"; +export { default as IoAndroidArrowForward } from "../../io/android-arrow-forward"; +export { default as IoAndroidArrowUp } from "../../io/android-arrow-up"; +export { default as IoAndroidAttach } from "../../io/android-attach"; +export { default as IoAndroidBar } from "../../io/android-bar"; +export { default as IoAndroidBicycle } from "../../io/android-bicycle"; +export { default as IoAndroidBoat } from "../../io/android-boat"; +export { default as IoAndroidBookmark } from "../../io/android-bookmark"; +export { default as IoAndroidBulb } from "../../io/android-bulb"; +export { default as IoAndroidBus } from "../../io/android-bus"; +export { default as IoAndroidCalendar } from "../../io/android-calendar"; +export { default as IoAndroidCall } from "../../io/android-call"; +export { default as IoAndroidCamera } from "../../io/android-camera"; +export { default as IoAndroidCancel } from "../../io/android-cancel"; +export { default as IoAndroidCar } from "../../io/android-car"; +export { default as IoAndroidCart } from "../../io/android-cart"; +export { default as IoAndroidChat } from "../../io/android-chat"; +export { default as IoAndroidCheckboxBlank } from "../../io/android-checkbox-blank"; +export { default as IoAndroidCheckboxOutlineBlank } from "../../io/android-checkbox-outline-blank"; +export { default as IoAndroidCheckboxOutline } from "../../io/android-checkbox-outline"; +export { default as IoAndroidCheckbox } from "../../io/android-checkbox"; +export { default as IoAndroidCheckmarkCircle } from "../../io/android-checkmark-circle"; +export { default as IoAndroidClipboard } from "../../io/android-clipboard"; +export { default as IoAndroidClose } from "../../io/android-close"; +export { default as IoAndroidCloudCircle } from "../../io/android-cloud-circle"; +export { default as IoAndroidCloudDone } from "../../io/android-cloud-done"; +export { default as IoAndroidCloudOutline } from "../../io/android-cloud-outline"; +export { default as IoAndroidCloud } from "../../io/android-cloud"; +export { default as IoAndroidColorPalette } from "../../io/android-color-palette"; +export { default as IoAndroidCompass } from "../../io/android-compass"; +export { default as IoAndroidContact } from "../../io/android-contact"; +export { default as IoAndroidContacts } from "../../io/android-contacts"; +export { default as IoAndroidContract } from "../../io/android-contract"; +export { default as IoAndroidCreate } from "../../io/android-create"; +export { default as IoAndroidDelete } from "../../io/android-delete"; +export { default as IoAndroidDesktop } from "../../io/android-desktop"; +export { default as IoAndroidDocument } from "../../io/android-document"; +export { default as IoAndroidDoneAll } from "../../io/android-done-all"; +export { default as IoAndroidDone } from "../../io/android-done"; +export { default as IoAndroidDownload } from "../../io/android-download"; +export { default as IoAndroidDrafts } from "../../io/android-drafts"; +export { default as IoAndroidExit } from "../../io/android-exit"; +export { default as IoAndroidExpand } from "../../io/android-expand"; +export { default as IoAndroidFavoriteOutline } from "../../io/android-favorite-outline"; +export { default as IoAndroidFavorite } from "../../io/android-favorite"; +export { default as IoAndroidFilm } from "../../io/android-film"; +export { default as IoAndroidFolderOpen } from "../../io/android-folder-open"; +export { default as IoAndroidFolder } from "../../io/android-folder"; +export { default as IoAndroidFunnel } from "../../io/android-funnel"; +export { default as IoAndroidGlobe } from "../../io/android-globe"; +export { default as IoAndroidHand } from "../../io/android-hand"; +export { default as IoAndroidHangout } from "../../io/android-hangout"; +export { default as IoAndroidHappy } from "../../io/android-happy"; +export { default as IoAndroidHome } from "../../io/android-home"; +export { default as IoAndroidImage } from "../../io/android-image"; +export { default as IoAndroidLaptop } from "../../io/android-laptop"; +export { default as IoAndroidList } from "../../io/android-list"; +export { default as IoAndroidLocate } from "../../io/android-locate"; +export { default as IoAndroidLock } from "../../io/android-lock"; +export { default as IoAndroidMail } from "../../io/android-mail"; +export { default as IoAndroidMap } from "../../io/android-map"; +export { default as IoAndroidMenu } from "../../io/android-menu"; +export { default as IoAndroidMicrophoneOff } from "../../io/android-microphone-off"; +export { default as IoAndroidMicrophone } from "../../io/android-microphone"; +export { default as IoAndroidMoreHorizontal } from "../../io/android-more-horizontal"; +export { default as IoAndroidMoreVertical } from "../../io/android-more-vertical"; +export { default as IoAndroidNavigate } from "../../io/android-navigate"; +export { default as IoAndroidNotificationsNone } from "../../io/android-notifications-none"; +export { default as IoAndroidNotificationsOff } from "../../io/android-notifications-off"; +export { default as IoAndroidNotifications } from "../../io/android-notifications"; +export { default as IoAndroidOpen } from "../../io/android-open"; +export { default as IoAndroidOptions } from "../../io/android-options"; +export { default as IoAndroidPeople } from "../../io/android-people"; +export { default as IoAndroidPersonAdd } from "../../io/android-person-add"; +export { default as IoAndroidPerson } from "../../io/android-person"; +export { default as IoAndroidPhoneLandscape } from "../../io/android-phone-landscape"; +export { default as IoAndroidPhonePortrait } from "../../io/android-phone-portrait"; +export { default as IoAndroidPin } from "../../io/android-pin"; +export { default as IoAndroidPlane } from "../../io/android-plane"; +export { default as IoAndroidPlaystore } from "../../io/android-playstore"; +export { default as IoAndroidPrint } from "../../io/android-print"; +export { default as IoAndroidRadioButtonOff } from "../../io/android-radio-button-off"; +export { default as IoAndroidRadioButtonOn } from "../../io/android-radio-button-on"; +export { default as IoAndroidRefresh } from "../../io/android-refresh"; +export { default as IoAndroidRemoveCircle } from "../../io/android-remove-circle"; +export { default as IoAndroidRemove } from "../../io/android-remove"; +export { default as IoAndroidRestaurant } from "../../io/android-restaurant"; +export { default as IoAndroidSad } from "../../io/android-sad"; +export { default as IoAndroidSearch } from "../../io/android-search"; +export { default as IoAndroidSend } from "../../io/android-send"; +export { default as IoAndroidSettings } from "../../io/android-settings"; +export { default as IoAndroidShareAlt } from "../../io/android-share-alt"; +export { default as IoAndroidShare } from "../../io/android-share"; +export { default as IoAndroidStarHalf } from "../../io/android-star-half"; +export { default as IoAndroidStarOutline } from "../../io/android-star-outline"; +export { default as IoAndroidStar } from "../../io/android-star"; +export { default as IoAndroidStopwatch } from "../../io/android-stopwatch"; +export { default as IoAndroidSubway } from "../../io/android-subway"; +export { default as IoAndroidSunny } from "../../io/android-sunny"; +export { default as IoAndroidSync } from "../../io/android-sync"; +export { default as IoAndroidTextsms } from "../../io/android-textsms"; +export { default as IoAndroidTime } from "../../io/android-time"; +export { default as IoAndroidTrain } from "../../io/android-train"; +export { default as IoAndroidUnlock } from "../../io/android-unlock"; +export { default as IoAndroidUpload } from "../../io/android-upload"; +export { default as IoAndroidVolumeDown } from "../../io/android-volume-down"; +export { default as IoAndroidVolumeMute } from "../../io/android-volume-mute"; +export { default as IoAndroidVolumeOff } from "../../io/android-volume-off"; +export { default as IoAndroidVolumeUp } from "../../io/android-volume-up"; +export { default as IoAndroidWalk } from "../../io/android-walk"; +export { default as IoAndroidWarning } from "../../io/android-warning"; +export { default as IoAndroidWatch } from "../../io/android-watch"; +export { default as IoAndroidWifi } from "../../io/android-wifi"; +export { default as IoAperture } from "../../io/aperture"; +export { default as IoArchive } from "../../io/archive"; +export { default as IoArrowDownA } from "../../io/arrow-down-a"; +export { default as IoArrowDownB } from "../../io/arrow-down-b"; +export { default as IoArrowDownC } from "../../io/arrow-down-c"; +export { default as IoArrowExpand } from "../../io/arrow-expand"; +export { default as IoArrowGraphDownLeft } from "../../io/arrow-graph-down-left"; +export { default as IoArrowGraphDownRight } from "../../io/arrow-graph-down-right"; +export { default as IoArrowGraphUpLeft } from "../../io/arrow-graph-up-left"; +export { default as IoArrowGraphUpRight } from "../../io/arrow-graph-up-right"; +export { default as IoArrowLeftA } from "../../io/arrow-left-a"; +export { default as IoArrowLeftB } from "../../io/arrow-left-b"; +export { default as IoArrowLeftC } from "../../io/arrow-left-c"; +export { default as IoArrowMove } from "../../io/arrow-move"; +export { default as IoArrowResize } from "../../io/arrow-resize"; +export { default as IoArrowReturnLeft } from "../../io/arrow-return-left"; +export { default as IoArrowReturnRight } from "../../io/arrow-return-right"; +export { default as IoArrowRightA } from "../../io/arrow-right-a"; +export { default as IoArrowRightB } from "../../io/arrow-right-b"; +export { default as IoArrowRightC } from "../../io/arrow-right-c"; +export { default as IoArrowShrink } from "../../io/arrow-shrink"; +export { default as IoArrowSwap } from "../../io/arrow-swap"; +export { default as IoArrowUpA } from "../../io/arrow-up-a"; +export { default as IoArrowUpB } from "../../io/arrow-up-b"; +export { default as IoArrowUpC } from "../../io/arrow-up-c"; +export { default as IoAsterisk } from "../../io/asterisk"; +export { default as IoAt } from "../../io/at"; +export { default as IoBackspaceOutline } from "../../io/backspace-outline"; +export { default as IoBackspace } from "../../io/backspace"; +export { default as IoBag } from "../../io/bag"; +export { default as IoBatteryCharging } from "../../io/battery-charging"; +export { default as IoBatteryEmpty } from "../../io/battery-empty"; +export { default as IoBatteryFull } from "../../io/battery-full"; +export { default as IoBatteryHalf } from "../../io/battery-half"; +export { default as IoBatteryLow } from "../../io/battery-low"; +export { default as IoBeaker } from "../../io/beaker"; +export { default as IoBeer } from "../../io/beer"; +export { default as IoBluetooth } from "../../io/bluetooth"; +export { default as IoBonfire } from "../../io/bonfire"; +export { default as IoBookmark } from "../../io/bookmark"; +export { default as IoBowtie } from "../../io/bowtie"; +export { default as IoBriefcase } from "../../io/briefcase"; +export { default as IoBug } from "../../io/bug"; +export { default as IoCalculator } from "../../io/calculator"; +export { default as IoCalendar } from "../../io/calendar"; +export { default as IoCamera } from "../../io/camera"; +export { default as IoCard } from "../../io/card"; +export { default as IoCash } from "../../io/cash"; +export { default as IoChatboxWorking } from "../../io/chatbox-working"; +export { default as IoChatbox } from "../../io/chatbox"; +export { default as IoChatboxes } from "../../io/chatboxes"; +export { default as IoChatbubbleWorking } from "../../io/chatbubble-working"; +export { default as IoChatbubble } from "../../io/chatbubble"; +export { default as IoChatbubbles } from "../../io/chatbubbles"; +export { default as IoCheckmarkCircled } from "../../io/checkmark-circled"; +export { default as IoCheckmarkRound } from "../../io/checkmark-round"; +export { default as IoCheckmark } from "../../io/checkmark"; +export { default as IoChevronDown } from "../../io/chevron-down"; +export { default as IoChevronLeft } from "../../io/chevron-left"; +export { default as IoChevronRight } from "../../io/chevron-right"; +export { default as IoChevronUp } from "../../io/chevron-up"; +export { default as IoClipboard } from "../../io/clipboard"; +export { default as IoClock } from "../../io/clock"; +export { default as IoCloseCircled } from "../../io/close-circled"; +export { default as IoCloseRound } from "../../io/close-round"; +export { default as IoClose } from "../../io/close"; +export { default as IoClosedCaptioning } from "../../io/closed-captioning"; +export { default as IoCloud } from "../../io/cloud"; +export { default as IoCodeDownload } from "../../io/code-download"; +export { default as IoCodeWorking } from "../../io/code-working"; +export { default as IoCode } from "../../io/code"; +export { default as IoCoffee } from "../../io/coffee"; +export { default as IoCompass } from "../../io/compass"; +export { default as IoCompose } from "../../io/compose"; +export { default as IoConnectbars } from "../../io/connectbars"; +export { default as IoContrast } from "../../io/contrast"; +export { default as IoCrop } from "../../io/crop"; +export { default as IoCube } from "../../io/cube"; +export { default as IoDisc } from "../../io/disc"; +export { default as IoDocumentText } from "../../io/document-text"; +export { default as IoDocument } from "../../io/document"; +export { default as IoDrag } from "../../io/drag"; +export { default as IoEarth } from "../../io/earth"; +export { default as IoEasel } from "../../io/easel"; +export { default as IoEdit } from "../../io/edit"; +export { default as IoEgg } from "../../io/egg"; +export { default as IoEject } from "../../io/eject"; +export { default as IoEmailUnread } from "../../io/email-unread"; +export { default as IoEmail } from "../../io/email"; +export { default as IoErlenmeyerFlaskBubbles } from "../../io/erlenmeyer-flask-bubbles"; +export { default as IoErlenmeyerFlask } from "../../io/erlenmeyer-flask"; +export { default as IoEyeDisabled } from "../../io/eye-disabled"; +export { default as IoEye } from "../../io/eye"; +export { default as IoFemale } from "../../io/female"; +export { default as IoFiling } from "../../io/filing"; +export { default as IoFilmMarker } from "../../io/film-marker"; +export { default as IoFireball } from "../../io/fireball"; +export { default as IoFlag } from "../../io/flag"; +export { default as IoFlame } from "../../io/flame"; +export { default as IoFlashOff } from "../../io/flash-off"; +export { default as IoFlash } from "../../io/flash"; +export { default as IoFolder } from "../../io/folder"; +export { default as IoForkRepo } from "../../io/fork-repo"; +export { default as IoFork } from "../../io/fork"; +export { default as IoForward } from "../../io/forward"; +export { default as IoFunnel } from "../../io/funnel"; +export { default as IoGearA } from "../../io/gear-a"; +export { default as IoGearB } from "../../io/gear-b"; +export { default as IoGrid } from "../../io/grid"; +export { default as IoHammer } from "../../io/hammer"; +export { default as IoHappyOutline } from "../../io/happy-outline"; +export { default as IoHappy } from "../../io/happy"; +export { default as IoHeadphone } from "../../io/headphone"; +export { default as IoHeartBroken } from "../../io/heart-broken"; +export { default as IoHeart } from "../../io/heart"; +export { default as IoHelpBuoy } from "../../io/help-buoy"; +export { default as IoHelpCircled } from "../../io/help-circled"; +export { default as IoHelp } from "../../io/help"; +export { default as IoHome } from "../../io/home"; +export { default as IoIcecream } from "../../io/icecream"; +export { default as IoImage } from "../../io/image"; +export { default as IoImages } from "../../io/images"; +export { default as IoInformatcircled } from "../../io/informatcircled"; +export { default as IoInformation } from "../../io/information"; +export { default as IoIonic } from "../../io/ionic"; +export { default as IoIosAlarmOutline } from "../../io/ios-alarm-outline"; +export { default as IoIosAlarm } from "../../io/ios-alarm"; +export { default as IoIosAlbumsOutline } from "../../io/ios-albums-outline"; +export { default as IoIosAlbums } from "../../io/ios-albums"; +export { default as IoIosAmericanfootballOutline } from "../../io/ios-americanfootball-outline"; +export { default as IoIosAmericanfootball } from "../../io/ios-americanfootball"; +export { default as IoIosAnalyticsOutline } from "../../io/ios-analytics-outline"; +export { default as IoIosAnalytics } from "../../io/ios-analytics"; +export { default as IoIosArrowBack } from "../../io/ios-arrow-back"; +export { default as IoIosArrowDown } from "../../io/ios-arrow-down"; +export { default as IoIosArrowForward } from "../../io/ios-arrow-forward"; +export { default as IoIosArrowLeft } from "../../io/ios-arrow-left"; +export { default as IoIosArrowRight } from "../../io/ios-arrow-right"; +export { default as IoIosArrowThinDown } from "../../io/ios-arrow-thin-down"; +export { default as IoIosArrowThinLeft } from "../../io/ios-arrow-thin-left"; +export { default as IoIosArrowThinRight } from "../../io/ios-arrow-thin-right"; +export { default as IoIosArrowThinUp } from "../../io/ios-arrow-thin-up"; +export { default as IoIosArrowUp } from "../../io/ios-arrow-up"; +export { default as IoIosAtOutline } from "../../io/ios-at-outline"; +export { default as IoIosAt } from "../../io/ios-at"; +export { default as IoIosBarcodeOutline } from "../../io/ios-barcode-outline"; +export { default as IoIosBarcode } from "../../io/ios-barcode"; +export { default as IoIosBaseballOutline } from "../../io/ios-baseball-outline"; +export { default as IoIosBaseball } from "../../io/ios-baseball"; +export { default as IoIosBasketballOutline } from "../../io/ios-basketball-outline"; +export { default as IoIosBasketball } from "../../io/ios-basketball"; +export { default as IoIosBellOutline } from "../../io/ios-bell-outline"; +export { default as IoIosBell } from "../../io/ios-bell"; +export { default as IoIosBodyOutline } from "../../io/ios-body-outline"; +export { default as IoIosBody } from "../../io/ios-body"; +export { default as IoIosBoltOutline } from "../../io/ios-bolt-outline"; +export { default as IoIosBolt } from "../../io/ios-bolt"; +export { default as IoIosBookOutline } from "../../io/ios-book-outline"; +export { default as IoIosBook } from "../../io/ios-book"; +export { default as IoIosBookmarksOutline } from "../../io/ios-bookmarks-outline"; +export { default as IoIosBookmarks } from "../../io/ios-bookmarks"; +export { default as IoIosBoxOutline } from "../../io/ios-box-outline"; +export { default as IoIosBox } from "../../io/ios-box"; +export { default as IoIosBriefcaseOutline } from "../../io/ios-briefcase-outline"; +export { default as IoIosBriefcase } from "../../io/ios-briefcase"; +export { default as IoIosBrowsersOutline } from "../../io/ios-browsers-outline"; +export { default as IoIosBrowsers } from "../../io/ios-browsers"; +export { default as IoIosCalculatorOutline } from "../../io/ios-calculator-outline"; +export { default as IoIosCalculator } from "../../io/ios-calculator"; +export { default as IoIosCalendarOutline } from "../../io/ios-calendar-outline"; +export { default as IoIosCalendar } from "../../io/ios-calendar"; +export { default as IoIosCameraOutline } from "../../io/ios-camera-outline"; +export { default as IoIosCamera } from "../../io/ios-camera"; +export { default as IoIosCartOutline } from "../../io/ios-cart-outline"; +export { default as IoIosCart } from "../../io/ios-cart"; +export { default as IoIosChatboxesOutline } from "../../io/ios-chatboxes-outline"; +export { default as IoIosChatboxes } from "../../io/ios-chatboxes"; +export { default as IoIosChatbubbleOutline } from "../../io/ios-chatbubble-outline"; +export { default as IoIosChatbubble } from "../../io/ios-chatbubble"; +export { default as IoIosCheckmarkEmpty } from "../../io/ios-checkmark-empty"; +export { default as IoIosCheckmarkOutline } from "../../io/ios-checkmark-outline"; +export { default as IoIosCheckmark } from "../../io/ios-checkmark"; +export { default as IoIosCircleFilled } from "../../io/ios-circle-filled"; +export { default as IoIosCircleOutline } from "../../io/ios-circle-outline"; +export { default as IoIosClockOutline } from "../../io/ios-clock-outline"; +export { default as IoIosClock } from "../../io/ios-clock"; +export { default as IoIosCloseEmpty } from "../../io/ios-close-empty"; +export { default as IoIosCloseOutline } from "../../io/ios-close-outline"; +export { default as IoIosClose } from "../../io/ios-close"; +export { default as IoIosCloudDownloadOutline } from "../../io/ios-cloud-download-outline"; +export { default as IoIosCloudDownload } from "../../io/ios-cloud-download"; +export { default as IoIosCloudOutline } from "../../io/ios-cloud-outline"; +export { default as IoIosCloudUploadOutline } from "../../io/ios-cloud-upload-outline"; +export { default as IoIosCloudUpload } from "../../io/ios-cloud-upload"; +export { default as IoIosCloud } from "../../io/ios-cloud"; +export { default as IoIosCloudyNightOutline } from "../../io/ios-cloudy-night-outline"; +export { default as IoIosCloudyNight } from "../../io/ios-cloudy-night"; +export { default as IoIosCloudyOutline } from "../../io/ios-cloudy-outline"; +export { default as IoIosCloudy } from "../../io/ios-cloudy"; +export { default as IoIosCogOutline } from "../../io/ios-cog-outline"; +export { default as IoIosCog } from "../../io/ios-cog"; +export { default as IoIosColorFilterOutline } from "../../io/ios-color-filter-outline"; +export { default as IoIosColorFilter } from "../../io/ios-color-filter"; +export { default as IoIosColorWandOutline } from "../../io/ios-color-wand-outline"; +export { default as IoIosColorWand } from "../../io/ios-color-wand"; +export { default as IoIosComposeOutline } from "../../io/ios-compose-outline"; +export { default as IoIosCompose } from "../../io/ios-compose"; +export { default as IoIosContactOutline } from "../../io/ios-contact-outline"; +export { default as IoIosContact } from "../../io/ios-contact"; +export { default as IoIosCopyOutline } from "../../io/ios-copy-outline"; +export { default as IoIosCopy } from "../../io/ios-copy"; +export { default as IoIosCropStrong } from "../../io/ios-crop-strong"; +export { default as IoIosCrop } from "../../io/ios-crop"; +export { default as IoIosDownloadOutline } from "../../io/ios-download-outline"; +export { default as IoIosDownload } from "../../io/ios-download"; +export { default as IoIosDrag } from "../../io/ios-drag"; +export { default as IoIosEmailOutline } from "../../io/ios-email-outline"; +export { default as IoIosEmail } from "../../io/ios-email"; +export { default as IoIosEyeOutline } from "../../io/ios-eye-outline"; +export { default as IoIosEye } from "../../io/ios-eye"; +export { default as IoIosFastforwardOutline } from "../../io/ios-fastforward-outline"; +export { default as IoIosFastforward } from "../../io/ios-fastforward"; +export { default as IoIosFilingOutline } from "../../io/ios-filing-outline"; +export { default as IoIosFiling } from "../../io/ios-filing"; +export { default as IoIosFilmOutline } from "../../io/ios-film-outline"; +export { default as IoIosFilm } from "../../io/ios-film"; +export { default as IoIosFlagOutline } from "../../io/ios-flag-outline"; +export { default as IoIosFlag } from "../../io/ios-flag"; +export { default as IoIosFlameOutline } from "../../io/ios-flame-outline"; +export { default as IoIosFlame } from "../../io/ios-flame"; +export { default as IoIosFlaskOutline } from "../../io/ios-flask-outline"; +export { default as IoIosFlask } from "../../io/ios-flask"; +export { default as IoIosFlowerOutline } from "../../io/ios-flower-outline"; +export { default as IoIosFlower } from "../../io/ios-flower"; +export { default as IoIosFolderOutline } from "../../io/ios-folder-outline"; +export { default as IoIosFolder } from "../../io/ios-folder"; +export { default as IoIosFootballOutline } from "../../io/ios-football-outline"; +export { default as IoIosFootball } from "../../io/ios-football"; +export { default as IoIosGameControllerAOutline } from "../../io/ios-game-controller-a-outline"; +export { default as IoIosGameControllerA } from "../../io/ios-game-controller-a"; +export { default as IoIosGameControllerBOutline } from "../../io/ios-game-controller-b-outline"; +export { default as IoIosGameControllerB } from "../../io/ios-game-controller-b"; +export { default as IoIosGearOutline } from "../../io/ios-gear-outline"; +export { default as IoIosGear } from "../../io/ios-gear"; +export { default as IoIosGlassesOutline } from "../../io/ios-glasses-outline"; +export { default as IoIosGlasses } from "../../io/ios-glasses"; +export { default as IoIosGridViewOutline } from "../../io/ios-grid-view-outline"; +export { default as IoIosGridView } from "../../io/ios-grid-view"; +export { default as IoIosHeartOutline } from "../../io/ios-heart-outline"; +export { default as IoIosHeart } from "../../io/ios-heart"; +export { default as IoIosHelpEmpty } from "../../io/ios-help-empty"; +export { default as IoIosHelpOutline } from "../../io/ios-help-outline"; +export { default as IoIosHelp } from "../../io/ios-help"; +export { default as IoIosHomeOutline } from "../../io/ios-home-outline"; +export { default as IoIosHome } from "../../io/ios-home"; +export { default as IoIosInfiniteOutline } from "../../io/ios-infinite-outline"; +export { default as IoIosInfinite } from "../../io/ios-infinite"; +export { default as IoIosInformatempty } from "../../io/ios-informatempty"; +export { default as IoIosInformation } from "../../io/ios-information"; +export { default as IoIosInformatoutline } from "../../io/ios-informatoutline"; +export { default as IoIosIonicOutline } from "../../io/ios-ionic-outline"; +export { default as IoIosKeypadOutline } from "../../io/ios-keypad-outline"; +export { default as IoIosKeypad } from "../../io/ios-keypad"; +export { default as IoIosLightbulbOutline } from "../../io/ios-lightbulb-outline"; +export { default as IoIosLightbulb } from "../../io/ios-lightbulb"; +export { default as IoIosListOutline } from "../../io/ios-list-outline"; +export { default as IoIosList } from "../../io/ios-list"; +export { default as IoIosLocation } from "../../io/ios-location"; +export { default as IoIosLocatoutline } from "../../io/ios-locatoutline"; +export { default as IoIosLockedOutline } from "../../io/ios-locked-outline"; +export { default as IoIosLocked } from "../../io/ios-locked"; +export { default as IoIosLoopStrong } from "../../io/ios-loop-strong"; +export { default as IoIosLoop } from "../../io/ios-loop"; +export { default as IoIosMedicalOutline } from "../../io/ios-medical-outline"; +export { default as IoIosMedical } from "../../io/ios-medical"; +export { default as IoIosMedkitOutline } from "../../io/ios-medkit-outline"; +export { default as IoIosMedkit } from "../../io/ios-medkit"; +export { default as IoIosMicOff } from "../../io/ios-mic-off"; +export { default as IoIosMicOutline } from "../../io/ios-mic-outline"; +export { default as IoIosMic } from "../../io/ios-mic"; +export { default as IoIosMinusEmpty } from "../../io/ios-minus-empty"; +export { default as IoIosMinusOutline } from "../../io/ios-minus-outline"; +export { default as IoIosMinus } from "../../io/ios-minus"; +export { default as IoIosMonitorOutline } from "../../io/ios-monitor-outline"; +export { default as IoIosMonitor } from "../../io/ios-monitor"; +export { default as IoIosMoonOutline } from "../../io/ios-moon-outline"; +export { default as IoIosMoon } from "../../io/ios-moon"; +export { default as IoIosMoreOutline } from "../../io/ios-more-outline"; +export { default as IoIosMore } from "../../io/ios-more"; +export { default as IoIosMusicalNote } from "../../io/ios-musical-note"; +export { default as IoIosMusicalNotes } from "../../io/ios-musical-notes"; +export { default as IoIosNavigateOutline } from "../../io/ios-navigate-outline"; +export { default as IoIosNavigate } from "../../io/ios-navigate"; +export { default as IoIosNutrition } from "../../io/ios-nutrition"; +export { default as IoIosNutritoutline } from "../../io/ios-nutritoutline"; +export { default as IoIosPaperOutline } from "../../io/ios-paper-outline"; +export { default as IoIosPaper } from "../../io/ios-paper"; +export { default as IoIosPaperplaneOutline } from "../../io/ios-paperplane-outline"; +export { default as IoIosPaperplane } from "../../io/ios-paperplane"; +export { default as IoIosPartlysunnyOutline } from "../../io/ios-partlysunny-outline"; +export { default as IoIosPartlysunny } from "../../io/ios-partlysunny"; +export { default as IoIosPauseOutline } from "../../io/ios-pause-outline"; +export { default as IoIosPause } from "../../io/ios-pause"; +export { default as IoIosPawOutline } from "../../io/ios-paw-outline"; +export { default as IoIosPaw } from "../../io/ios-paw"; +export { default as IoIosPeopleOutline } from "../../io/ios-people-outline"; +export { default as IoIosPeople } from "../../io/ios-people"; +export { default as IoIosPersonOutline } from "../../io/ios-person-outline"; +export { default as IoIosPerson } from "../../io/ios-person"; +export { default as IoIosPersonaddOutline } from "../../io/ios-personadd-outline"; +export { default as IoIosPersonadd } from "../../io/ios-personadd"; +export { default as IoIosPhotosOutline } from "../../io/ios-photos-outline"; +export { default as IoIosPhotos } from "../../io/ios-photos"; +export { default as IoIosPieOutline } from "../../io/ios-pie-outline"; +export { default as IoIosPie } from "../../io/ios-pie"; +export { default as IoIosPintOutline } from "../../io/ios-pint-outline"; +export { default as IoIosPint } from "../../io/ios-pint"; +export { default as IoIosPlayOutline } from "../../io/ios-play-outline"; +export { default as IoIosPlay } from "../../io/ios-play"; +export { default as IoIosPlusEmpty } from "../../io/ios-plus-empty"; +export { default as IoIosPlusOutline } from "../../io/ios-plus-outline"; +export { default as IoIosPlus } from "../../io/ios-plus"; +export { default as IoIosPricetagOutline } from "../../io/ios-pricetag-outline"; +export { default as IoIosPricetag } from "../../io/ios-pricetag"; +export { default as IoIosPricetagsOutline } from "../../io/ios-pricetags-outline"; +export { default as IoIosPricetags } from "../../io/ios-pricetags"; +export { default as IoIosPrinterOutline } from "../../io/ios-printer-outline"; +export { default as IoIosPrinter } from "../../io/ios-printer"; +export { default as IoIosPulseStrong } from "../../io/ios-pulse-strong"; +export { default as IoIosPulse } from "../../io/ios-pulse"; +export { default as IoIosRainyOutline } from "../../io/ios-rainy-outline"; +export { default as IoIosRainy } from "../../io/ios-rainy"; +export { default as IoIosRecordingOutline } from "../../io/ios-recording-outline"; +export { default as IoIosRecording } from "../../io/ios-recording"; +export { default as IoIosRedoOutline } from "../../io/ios-redo-outline"; +export { default as IoIosRedo } from "../../io/ios-redo"; +export { default as IoIosRefreshEmpty } from "../../io/ios-refresh-empty"; +export { default as IoIosRefreshOutline } from "../../io/ios-refresh-outline"; +export { default as IoIosRefresh } from "../../io/ios-refresh"; +export { default as IoIosReload } from "../../io/ios-reload"; +export { default as IoIosReverseCameraOutline } from "../../io/ios-reverse-camera-outline"; +export { default as IoIosReverseCamera } from "../../io/ios-reverse-camera"; +export { default as IoIosRewindOutline } from "../../io/ios-rewind-outline"; +export { default as IoIosRewind } from "../../io/ios-rewind"; +export { default as IoIosRoseOutline } from "../../io/ios-rose-outline"; +export { default as IoIosRose } from "../../io/ios-rose"; +export { default as IoIosSearchStrong } from "../../io/ios-search-strong"; +export { default as IoIosSearch } from "../../io/ios-search"; +export { default as IoIosSettingsStrong } from "../../io/ios-settings-strong"; +export { default as IoIosSettings } from "../../io/ios-settings"; +export { default as IoIosShuffleStrong } from "../../io/ios-shuffle-strong"; +export { default as IoIosShuffle } from "../../io/ios-shuffle"; +export { default as IoIosSkipbackwardOutline } from "../../io/ios-skipbackward-outline"; +export { default as IoIosSkipbackward } from "../../io/ios-skipbackward"; +export { default as IoIosSkipforwardOutline } from "../../io/ios-skipforward-outline"; +export { default as IoIosSkipforward } from "../../io/ios-skipforward"; +export { default as IoIosSnowy } from "../../io/ios-snowy"; +export { default as IoIosSpeedometerOutline } from "../../io/ios-speedometer-outline"; +export { default as IoIosSpeedometer } from "../../io/ios-speedometer"; +export { default as IoIosStarHalf } from "../../io/ios-star-half"; +export { default as IoIosStarOutline } from "../../io/ios-star-outline"; +export { default as IoIosStar } from "../../io/ios-star"; +export { default as IoIosStopwatchOutline } from "../../io/ios-stopwatch-outline"; +export { default as IoIosStopwatch } from "../../io/ios-stopwatch"; +export { default as IoIosSunnyOutline } from "../../io/ios-sunny-outline"; +export { default as IoIosSunny } from "../../io/ios-sunny"; +export { default as IoIosTelephoneOutline } from "../../io/ios-telephone-outline"; +export { default as IoIosTelephone } from "../../io/ios-telephone"; +export { default as IoIosTennisballOutline } from "../../io/ios-tennisball-outline"; +export { default as IoIosTennisball } from "../../io/ios-tennisball"; +export { default as IoIosThunderstormOutline } from "../../io/ios-thunderstorm-outline"; +export { default as IoIosThunderstorm } from "../../io/ios-thunderstorm"; +export { default as IoIosTimeOutline } from "../../io/ios-time-outline"; +export { default as IoIosTime } from "../../io/ios-time"; +export { default as IoIosTimerOutline } from "../../io/ios-timer-outline"; +export { default as IoIosTimer } from "../../io/ios-timer"; +export { default as IoIosToggleOutline } from "../../io/ios-toggle-outline"; +export { default as IoIosToggle } from "../../io/ios-toggle"; +export { default as IoIosTrashOutline } from "../../io/ios-trash-outline"; +export { default as IoIosTrash } from "../../io/ios-trash"; +export { default as IoIosUndoOutline } from "../../io/ios-undo-outline"; +export { default as IoIosUndo } from "../../io/ios-undo"; +export { default as IoIosUnlockedOutline } from "../../io/ios-unlocked-outline"; +export { default as IoIosUnlocked } from "../../io/ios-unlocked"; +export { default as IoIosUploadOutline } from "../../io/ios-upload-outline"; +export { default as IoIosUpload } from "../../io/ios-upload"; +export { default as IoIosVideocamOutline } from "../../io/ios-videocam-outline"; +export { default as IoIosVideocam } from "../../io/ios-videocam"; +export { default as IoIosVolumeHigh } from "../../io/ios-volume-high"; +export { default as IoIosVolumeLow } from "../../io/ios-volume-low"; +export { default as IoIosWineglassOutline } from "../../io/ios-wineglass-outline"; +export { default as IoIosWineglass } from "../../io/ios-wineglass"; +export { default as IoIosWorldOutline } from "../../io/ios-world-outline"; +export { default as IoIosWorld } from "../../io/ios-world"; +export { default as IoIpad } from "../../io/ipad"; +export { default as IoIphone } from "../../io/iphone"; +export { default as IoIpod } from "../../io/ipod"; +export { default as IoJet } from "../../io/jet"; +export { default as IoKey } from "../../io/key"; +export { default as IoKnife } from "../../io/knife"; +export { default as IoLaptop } from "../../io/laptop"; +export { default as IoLeaf } from "../../io/leaf"; +export { default as IoLevels } from "../../io/levels"; +export { default as IoLightbulb } from "../../io/lightbulb"; +export { default as IoLink } from "../../io/link"; +export { default as IoLoadA } from "../../io/load-a"; +export { default as IoLoadB } from "../../io/load-b"; +export { default as IoLoadC } from "../../io/load-c"; +export { default as IoLoadD } from "../../io/load-d"; +export { default as IoLocation } from "../../io/location"; +export { default as IoLockCombination } from "../../io/lock-combination"; +export { default as IoLocked } from "../../io/locked"; +export { default as IoLogIn } from "../../io/log-in"; +export { default as IoLogOut } from "../../io/log-out"; +export { default as IoLoop } from "../../io/loop"; +export { default as IoMagnet } from "../../io/magnet"; +export { default as IoMale } from "../../io/male"; +export { default as IoMan } from "../../io/man"; +export { default as IoMap } from "../../io/map"; +export { default as IoMedkit } from "../../io/medkit"; +export { default as IoMerge } from "../../io/merge"; +export { default as IoMicA } from "../../io/mic-a"; +export { default as IoMicB } from "../../io/mic-b"; +export { default as IoMicC } from "../../io/mic-c"; +export { default as IoMinusCircled } from "../../io/minus-circled"; +export { default as IoMinusRound } from "../../io/minus-round"; +export { default as IoMinus } from "../../io/minus"; +export { default as IoModelS } from "../../io/model-s"; +export { default as IoMonitor } from "../../io/monitor"; +export { default as IoMore } from "../../io/more"; +export { default as IoMouse } from "../../io/mouse"; +export { default as IoMusicNote } from "../../io/music-note"; +export { default as IoNaviconRound } from "../../io/navicon-round"; +export { default as IoNavicon } from "../../io/navicon"; +export { default as IoNavigate } from "../../io/navigate"; +export { default as IoNetwork } from "../../io/network"; +export { default as IoNoSmoking } from "../../io/no-smoking"; +export { default as IoNuclear } from "../../io/nuclear"; +export { default as IoOutlet } from "../../io/outlet"; +export { default as IoPaintbrush } from "../../io/paintbrush"; +export { default as IoPaintbucket } from "../../io/paintbucket"; +export { default as IoPaperAirplane } from "../../io/paper-airplane"; +export { default as IoPaperclip } from "../../io/paperclip"; +export { default as IoPause } from "../../io/pause"; +export { default as IoPersonAdd } from "../../io/person-add"; +export { default as IoPersonStalker } from "../../io/person-stalker"; +export { default as IoPerson } from "../../io/person"; +export { default as IoPieGraph } from "../../io/pie-graph"; +export { default as IoPin } from "../../io/pin"; +export { default as IoPinpoint } from "../../io/pinpoint"; +export { default as IoPizza } from "../../io/pizza"; +export { default as IoPlane } from "../../io/plane"; +export { default as IoPlanet } from "../../io/planet"; +export { default as IoPlay } from "../../io/play"; +export { default as IoPlaystation } from "../../io/playstation"; +export { default as IoPlusCircled } from "../../io/plus-circled"; +export { default as IoPlusRound } from "../../io/plus-round"; +export { default as IoPlus } from "../../io/plus"; +export { default as IoPodium } from "../../io/podium"; +export { default as IoPound } from "../../io/pound"; +export { default as IoPower } from "../../io/power"; +export { default as IoPricetag } from "../../io/pricetag"; +export { default as IoPricetags } from "../../io/pricetags"; +export { default as IoPrinter } from "../../io/printer"; +export { default as IoPullRequest } from "../../io/pull-request"; +export { default as IoQrScanner } from "../../io/qr-scanner"; +export { default as IoQuote } from "../../io/quote"; +export { default as IoRadioWaves } from "../../io/radio-waves"; +export { default as IoRecord } from "../../io/record"; +export { default as IoRefresh } from "../../io/refresh"; +export { default as IoReplyAll } from "../../io/reply-all"; +export { default as IoReply } from "../../io/reply"; +export { default as IoRibbonA } from "../../io/ribbon-a"; +export { default as IoRibbonB } from "../../io/ribbon-b"; +export { default as IoSadOutline } from "../../io/sad-outline"; +export { default as IoSad } from "../../io/sad"; +export { default as IoScissors } from "../../io/scissors"; +export { default as IoSearch } from "../../io/search"; +export { default as IoSettings } from "../../io/settings"; +export { default as IoShare } from "../../io/share"; +export { default as IoShuffle } from "../../io/shuffle"; +export { default as IoSkipBackward } from "../../io/skip-backward"; +export { default as IoSkipForward } from "../../io/skip-forward"; +export { default as IoSocialAndroidOutline } from "../../io/social-android-outline"; +export { default as IoSocialAndroid } from "../../io/social-android"; +export { default as IoSocialAngularOutline } from "../../io/social-angular-outline"; +export { default as IoSocialAngular } from "../../io/social-angular"; +export { default as IoSocialAppleOutline } from "../../io/social-apple-outline"; +export { default as IoSocialApple } from "../../io/social-apple"; +export { default as IoSocialBitcoinOutline } from "../../io/social-bitcoin-outline"; +export { default as IoSocialBitcoin } from "../../io/social-bitcoin"; +export { default as IoSocialBufferOutline } from "../../io/social-buffer-outline"; +export { default as IoSocialBuffer } from "../../io/social-buffer"; +export { default as IoSocialChromeOutline } from "../../io/social-chrome-outline"; +export { default as IoSocialChrome } from "../../io/social-chrome"; +export { default as IoSocialCodepenOutline } from "../../io/social-codepen-outline"; +export { default as IoSocialCodepen } from "../../io/social-codepen"; +export { default as IoSocialCss3Outline } from "../../io/social-css3-outline"; +export { default as IoSocialCss3 } from "../../io/social-css3"; +export { default as IoSocialDesignernewsOutline } from "../../io/social-designernews-outline"; +export { default as IoSocialDesignernews } from "../../io/social-designernews"; +export { default as IoSocialDribbbleOutline } from "../../io/social-dribbble-outline"; +export { default as IoSocialDribbble } from "../../io/social-dribbble"; +export { default as IoSocialDropboxOutline } from "../../io/social-dropbox-outline"; +export { default as IoSocialDropbox } from "../../io/social-dropbox"; +export { default as IoSocialEuroOutline } from "../../io/social-euro-outline"; +export { default as IoSocialEuro } from "../../io/social-euro"; +export { default as IoSocialFacebookOutline } from "../../io/social-facebook-outline"; +export { default as IoSocialFacebook } from "../../io/social-facebook"; +export { default as IoSocialFoursquareOutline } from "../../io/social-foursquare-outline"; +export { default as IoSocialFoursquare } from "../../io/social-foursquare"; +export { default as IoSocialFreebsdDevil } from "../../io/social-freebsd-devil"; +export { default as IoSocialGithubOutline } from "../../io/social-github-outline"; +export { default as IoSocialGithub } from "../../io/social-github"; +export { default as IoSocialGoogleOutline } from "../../io/social-google-outline"; +export { default as IoSocialGoogle } from "../../io/social-google"; +export { default as IoSocialGoogleplusOutline } from "../../io/social-googleplus-outline"; +export { default as IoSocialGoogleplus } from "../../io/social-googleplus"; +export { default as IoSocialHackernewsOutline } from "../../io/social-hackernews-outline"; +export { default as IoSocialHackernews } from "../../io/social-hackernews"; +export { default as IoSocialHtml5Outline } from "../../io/social-html5-outline"; +export { default as IoSocialHtml5 } from "../../io/social-html5"; +export { default as IoSocialInstagramOutline } from "../../io/social-instagram-outline"; +export { default as IoSocialInstagram } from "../../io/social-instagram"; +export { default as IoSocialJavascriptOutline } from "../../io/social-javascript-outline"; +export { default as IoSocialJavascript } from "../../io/social-javascript"; +export { default as IoSocialLinkedinOutline } from "../../io/social-linkedin-outline"; +export { default as IoSocialLinkedin } from "../../io/social-linkedin"; +export { default as IoSocialMarkdown } from "../../io/social-markdown"; +export { default as IoSocialNodejs } from "../../io/social-nodejs"; +export { default as IoSocialOctocat } from "../../io/social-octocat"; +export { default as IoSocialPinterestOutline } from "../../io/social-pinterest-outline"; +export { default as IoSocialPinterest } from "../../io/social-pinterest"; +export { default as IoSocialPython } from "../../io/social-python"; +export { default as IoSocialRedditOutline } from "../../io/social-reddit-outline"; +export { default as IoSocialReddit } from "../../io/social-reddit"; +export { default as IoSocialRssOutline } from "../../io/social-rss-outline"; +export { default as IoSocialRss } from "../../io/social-rss"; +export { default as IoSocialSass } from "../../io/social-sass"; +export { default as IoSocialSkypeOutline } from "../../io/social-skype-outline"; +export { default as IoSocialSkype } from "../../io/social-skype"; +export { default as IoSocialSnapchatOutline } from "../../io/social-snapchat-outline"; +export { default as IoSocialSnapchat } from "../../io/social-snapchat"; +export { default as IoSocialTumblrOutline } from "../../io/social-tumblr-outline"; +export { default as IoSocialTumblr } from "../../io/social-tumblr"; +export { default as IoSocialTux } from "../../io/social-tux"; +export { default as IoSocialTwitchOutline } from "../../io/social-twitch-outline"; +export { default as IoSocialTwitch } from "../../io/social-twitch"; +export { default as IoSocialTwitterOutline } from "../../io/social-twitter-outline"; +export { default as IoSocialTwitter } from "../../io/social-twitter"; +export { default as IoSocialUsdOutline } from "../../io/social-usd-outline"; +export { default as IoSocialUsd } from "../../io/social-usd"; +export { default as IoSocialVimeoOutline } from "../../io/social-vimeo-outline"; +export { default as IoSocialVimeo } from "../../io/social-vimeo"; +export { default as IoSocialWhatsappOutline } from "../../io/social-whatsapp-outline"; +export { default as IoSocialWhatsapp } from "../../io/social-whatsapp"; +export { default as IoSocialWindowsOutline } from "../../io/social-windows-outline"; +export { default as IoSocialWindows } from "../../io/social-windows"; +export { default as IoSocialWordpressOutline } from "../../io/social-wordpress-outline"; +export { default as IoSocialWordpress } from "../../io/social-wordpress"; +export { default as IoSocialYahooOutline } from "../../io/social-yahoo-outline"; +export { default as IoSocialYahoo } from "../../io/social-yahoo"; +export { default as IoSocialYenOutline } from "../../io/social-yen-outline"; +export { default as IoSocialYen } from "../../io/social-yen"; +export { default as IoSocialYoutubeOutline } from "../../io/social-youtube-outline"; +export { default as IoSocialYoutube } from "../../io/social-youtube"; +export { default as IoSoupCanOutline } from "../../io/soup-can-outline"; +export { default as IoSoupCan } from "../../io/soup-can"; +export { default as IoSpeakerphone } from "../../io/speakerphone"; +export { default as IoSpeedometer } from "../../io/speedometer"; +export { default as IoSpoon } from "../../io/spoon"; +export { default as IoStar } from "../../io/star"; +export { default as IoStatsBars } from "../../io/stats-bars"; +export { default as IoSteam } from "../../io/steam"; +export { default as IoStop } from "../../io/stop"; +export { default as IoThermometer } from "../../io/thermometer"; +export { default as IoThumbsdown } from "../../io/thumbsdown"; +export { default as IoThumbsup } from "../../io/thumbsup"; +export { default as IoToggleFilled } from "../../io/toggle-filled"; +export { default as IoToggle } from "../../io/toggle"; +export { default as IoTransgender } from "../../io/transgender"; +export { default as IoTrashA } from "../../io/trash-a"; +export { default as IoTrashB } from "../../io/trash-b"; +export { default as IoTrophy } from "../../io/trophy"; +export { default as IoTshirtOutline } from "../../io/tshirt-outline"; +export { default as IoTshirt } from "../../io/tshirt"; +export { default as IoUmbrella } from "../../io/umbrella"; +export { default as IoUniversity } from "../../io/university"; +export { default as IoUnlocked } from "../../io/unlocked"; +export { default as IoUpload } from "../../io/upload"; +export { default as IoUsb } from "../../io/usb"; +export { default as IoVideocamera } from "../../io/videocamera"; +export { default as IoVolumeHigh } from "../../io/volume-high"; +export { default as IoVolumeLow } from "../../io/volume-low"; +export { default as IoVolumeMedium } from "../../io/volume-medium"; +export { default as IoVolumeMute } from "../../io/volume-mute"; +export { default as IoWand } from "../../io/wand"; +export { default as IoWaterdrop } from "../../io/waterdrop"; +export { default as IoWifi } from "../../io/wifi"; +export { default as IoWineglass } from "../../io/wineglass"; +export { default as IoWoman } from "../../io/woman"; +export { default as IoWrench } from "../../io/wrench"; +export { default as IoXbox } from "../../io/xbox"; diff --git a/types/react-icons/lib/io/informatcircled.d.ts b/types/react-icons/lib/io/informatcircled.d.ts index 2ef20abca7..829ad4b409 100644 --- a/types/react-icons/lib/io/informatcircled.d.ts +++ b/types/react-icons/lib/io/informatcircled.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoInformatcircled extends React.Component<IconBaseProps> { } +declare class IoInformatcircled extends React.Component<IconBaseProps> { } +export = IoInformatcircled; diff --git a/types/react-icons/lib/io/information.d.ts b/types/react-icons/lib/io/information.d.ts index 02652a360f..eceb48a8c3 100644 --- a/types/react-icons/lib/io/information.d.ts +++ b/types/react-icons/lib/io/information.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoInformation extends React.Component<IconBaseProps> { } +declare class IoInformation extends React.Component<IconBaseProps> { } +export = IoInformation; diff --git a/types/react-icons/lib/io/ionic.d.ts b/types/react-icons/lib/io/ionic.d.ts index 9e19c402cf..dcf5655c61 100644 --- a/types/react-icons/lib/io/ionic.d.ts +++ b/types/react-icons/lib/io/ionic.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIonic extends React.Component<IconBaseProps> { } +declare class IoIonic extends React.Component<IconBaseProps> { } +export = IoIonic; diff --git a/types/react-icons/lib/io/ios-alarm-outline.d.ts b/types/react-icons/lib/io/ios-alarm-outline.d.ts index c211ebccee..b6b321d531 100644 --- a/types/react-icons/lib/io/ios-alarm-outline.d.ts +++ b/types/react-icons/lib/io/ios-alarm-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosAlarmOutline extends React.Component<IconBaseProps> { } +declare class IoIosAlarmOutline extends React.Component<IconBaseProps> { } +export = IoIosAlarmOutline; diff --git a/types/react-icons/lib/io/ios-alarm.d.ts b/types/react-icons/lib/io/ios-alarm.d.ts index c61987318d..a343e709e3 100644 --- a/types/react-icons/lib/io/ios-alarm.d.ts +++ b/types/react-icons/lib/io/ios-alarm.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosAlarm extends React.Component<IconBaseProps> { } +declare class IoIosAlarm extends React.Component<IconBaseProps> { } +export = IoIosAlarm; diff --git a/types/react-icons/lib/io/ios-albums-outline.d.ts b/types/react-icons/lib/io/ios-albums-outline.d.ts index 48e06ad4b8..dba1c52063 100644 --- a/types/react-icons/lib/io/ios-albums-outline.d.ts +++ b/types/react-icons/lib/io/ios-albums-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosAlbumsOutline extends React.Component<IconBaseProps> { } +declare class IoIosAlbumsOutline extends React.Component<IconBaseProps> { } +export = IoIosAlbumsOutline; diff --git a/types/react-icons/lib/io/ios-albums.d.ts b/types/react-icons/lib/io/ios-albums.d.ts index be7c86317a..70e77f84aa 100644 --- a/types/react-icons/lib/io/ios-albums.d.ts +++ b/types/react-icons/lib/io/ios-albums.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosAlbums extends React.Component<IconBaseProps> { } +declare class IoIosAlbums extends React.Component<IconBaseProps> { } +export = IoIosAlbums; diff --git a/types/react-icons/lib/io/ios-americanfootball-outline.d.ts b/types/react-icons/lib/io/ios-americanfootball-outline.d.ts index d7041c17d3..0d3f7105e4 100644 --- a/types/react-icons/lib/io/ios-americanfootball-outline.d.ts +++ b/types/react-icons/lib/io/ios-americanfootball-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosAmericanfootballOutline extends React.Component<IconBaseProps> { } +declare class IoIosAmericanfootballOutline extends React.Component<IconBaseProps> { } +export = IoIosAmericanfootballOutline; diff --git a/types/react-icons/lib/io/ios-americanfootball.d.ts b/types/react-icons/lib/io/ios-americanfootball.d.ts index 4af77520ff..a3502d9745 100644 --- a/types/react-icons/lib/io/ios-americanfootball.d.ts +++ b/types/react-icons/lib/io/ios-americanfootball.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosAmericanfootball extends React.Component<IconBaseProps> { } +declare class IoIosAmericanfootball extends React.Component<IconBaseProps> { } +export = IoIosAmericanfootball; diff --git a/types/react-icons/lib/io/ios-analytics-outline.d.ts b/types/react-icons/lib/io/ios-analytics-outline.d.ts index 6192de6c58..52d3b2a664 100644 --- a/types/react-icons/lib/io/ios-analytics-outline.d.ts +++ b/types/react-icons/lib/io/ios-analytics-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosAnalyticsOutline extends React.Component<IconBaseProps> { } +declare class IoIosAnalyticsOutline extends React.Component<IconBaseProps> { } +export = IoIosAnalyticsOutline; diff --git a/types/react-icons/lib/io/ios-analytics.d.ts b/types/react-icons/lib/io/ios-analytics.d.ts index 9f3d9e110e..da9c6b9d91 100644 --- a/types/react-icons/lib/io/ios-analytics.d.ts +++ b/types/react-icons/lib/io/ios-analytics.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosAnalytics extends React.Component<IconBaseProps> { } +declare class IoIosAnalytics extends React.Component<IconBaseProps> { } +export = IoIosAnalytics; diff --git a/types/react-icons/lib/io/ios-arrow-back.d.ts b/types/react-icons/lib/io/ios-arrow-back.d.ts index 1466e59a6d..d673fc84ba 100644 --- a/types/react-icons/lib/io/ios-arrow-back.d.ts +++ b/types/react-icons/lib/io/ios-arrow-back.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosArrowBack extends React.Component<IconBaseProps> { } +declare class IoIosArrowBack extends React.Component<IconBaseProps> { } +export = IoIosArrowBack; diff --git a/types/react-icons/lib/io/ios-arrow-down.d.ts b/types/react-icons/lib/io/ios-arrow-down.d.ts index 91773f927b..3e206b984c 100644 --- a/types/react-icons/lib/io/ios-arrow-down.d.ts +++ b/types/react-icons/lib/io/ios-arrow-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosArrowDown extends React.Component<IconBaseProps> { } +declare class IoIosArrowDown extends React.Component<IconBaseProps> { } +export = IoIosArrowDown; diff --git a/types/react-icons/lib/io/ios-arrow-forward.d.ts b/types/react-icons/lib/io/ios-arrow-forward.d.ts index a2bf7fe213..d67662f144 100644 --- a/types/react-icons/lib/io/ios-arrow-forward.d.ts +++ b/types/react-icons/lib/io/ios-arrow-forward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosArrowForward extends React.Component<IconBaseProps> { } +declare class IoIosArrowForward extends React.Component<IconBaseProps> { } +export = IoIosArrowForward; diff --git a/types/react-icons/lib/io/ios-arrow-left.d.ts b/types/react-icons/lib/io/ios-arrow-left.d.ts index 0588edeed0..93f66481cf 100644 --- a/types/react-icons/lib/io/ios-arrow-left.d.ts +++ b/types/react-icons/lib/io/ios-arrow-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosArrowLeft extends React.Component<IconBaseProps> { } +declare class IoIosArrowLeft extends React.Component<IconBaseProps> { } +export = IoIosArrowLeft; diff --git a/types/react-icons/lib/io/ios-arrow-right.d.ts b/types/react-icons/lib/io/ios-arrow-right.d.ts index 5642202b5c..cea88a4483 100644 --- a/types/react-icons/lib/io/ios-arrow-right.d.ts +++ b/types/react-icons/lib/io/ios-arrow-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosArrowRight extends React.Component<IconBaseProps> { } +declare class IoIosArrowRight extends React.Component<IconBaseProps> { } +export = IoIosArrowRight; diff --git a/types/react-icons/lib/io/ios-arrow-thin-down.d.ts b/types/react-icons/lib/io/ios-arrow-thin-down.d.ts index 183b547848..7d38c834a7 100644 --- a/types/react-icons/lib/io/ios-arrow-thin-down.d.ts +++ b/types/react-icons/lib/io/ios-arrow-thin-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosArrowThinDown extends React.Component<IconBaseProps> { } +declare class IoIosArrowThinDown extends React.Component<IconBaseProps> { } +export = IoIosArrowThinDown; diff --git a/types/react-icons/lib/io/ios-arrow-thin-left.d.ts b/types/react-icons/lib/io/ios-arrow-thin-left.d.ts index 4fea91fe45..6ca695d67f 100644 --- a/types/react-icons/lib/io/ios-arrow-thin-left.d.ts +++ b/types/react-icons/lib/io/ios-arrow-thin-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosArrowThinLeft extends React.Component<IconBaseProps> { } +declare class IoIosArrowThinLeft extends React.Component<IconBaseProps> { } +export = IoIosArrowThinLeft; diff --git a/types/react-icons/lib/io/ios-arrow-thin-right.d.ts b/types/react-icons/lib/io/ios-arrow-thin-right.d.ts index 5e70abd099..5fa30f116d 100644 --- a/types/react-icons/lib/io/ios-arrow-thin-right.d.ts +++ b/types/react-icons/lib/io/ios-arrow-thin-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosArrowThinRight extends React.Component<IconBaseProps> { } +declare class IoIosArrowThinRight extends React.Component<IconBaseProps> { } +export = IoIosArrowThinRight; diff --git a/types/react-icons/lib/io/ios-arrow-thin-up.d.ts b/types/react-icons/lib/io/ios-arrow-thin-up.d.ts index 412e0b53a2..6e3168d95d 100644 --- a/types/react-icons/lib/io/ios-arrow-thin-up.d.ts +++ b/types/react-icons/lib/io/ios-arrow-thin-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosArrowThinUp extends React.Component<IconBaseProps> { } +declare class IoIosArrowThinUp extends React.Component<IconBaseProps> { } +export = IoIosArrowThinUp; diff --git a/types/react-icons/lib/io/ios-arrow-up.d.ts b/types/react-icons/lib/io/ios-arrow-up.d.ts index 2adf431795..e140f1c883 100644 --- a/types/react-icons/lib/io/ios-arrow-up.d.ts +++ b/types/react-icons/lib/io/ios-arrow-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosArrowUp extends React.Component<IconBaseProps> { } +declare class IoIosArrowUp extends React.Component<IconBaseProps> { } +export = IoIosArrowUp; diff --git a/types/react-icons/lib/io/ios-at-outline.d.ts b/types/react-icons/lib/io/ios-at-outline.d.ts index 7d20c06912..568676c927 100644 --- a/types/react-icons/lib/io/ios-at-outline.d.ts +++ b/types/react-icons/lib/io/ios-at-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosAtOutline extends React.Component<IconBaseProps> { } +declare class IoIosAtOutline extends React.Component<IconBaseProps> { } +export = IoIosAtOutline; diff --git a/types/react-icons/lib/io/ios-at.d.ts b/types/react-icons/lib/io/ios-at.d.ts index 5789d0b976..bb359ef077 100644 --- a/types/react-icons/lib/io/ios-at.d.ts +++ b/types/react-icons/lib/io/ios-at.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosAt extends React.Component<IconBaseProps> { } +declare class IoIosAt extends React.Component<IconBaseProps> { } +export = IoIosAt; diff --git a/types/react-icons/lib/io/ios-barcode-outline.d.ts b/types/react-icons/lib/io/ios-barcode-outline.d.ts index a82a5b88c8..0e733f7426 100644 --- a/types/react-icons/lib/io/ios-barcode-outline.d.ts +++ b/types/react-icons/lib/io/ios-barcode-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBarcodeOutline extends React.Component<IconBaseProps> { } +declare class IoIosBarcodeOutline extends React.Component<IconBaseProps> { } +export = IoIosBarcodeOutline; diff --git a/types/react-icons/lib/io/ios-barcode.d.ts b/types/react-icons/lib/io/ios-barcode.d.ts index 20a769e78e..170a0c1458 100644 --- a/types/react-icons/lib/io/ios-barcode.d.ts +++ b/types/react-icons/lib/io/ios-barcode.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBarcode extends React.Component<IconBaseProps> { } +declare class IoIosBarcode extends React.Component<IconBaseProps> { } +export = IoIosBarcode; diff --git a/types/react-icons/lib/io/ios-baseball-outline.d.ts b/types/react-icons/lib/io/ios-baseball-outline.d.ts index 99856309a9..8893ad7e66 100644 --- a/types/react-icons/lib/io/ios-baseball-outline.d.ts +++ b/types/react-icons/lib/io/ios-baseball-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBaseballOutline extends React.Component<IconBaseProps> { } +declare class IoIosBaseballOutline extends React.Component<IconBaseProps> { } +export = IoIosBaseballOutline; diff --git a/types/react-icons/lib/io/ios-baseball.d.ts b/types/react-icons/lib/io/ios-baseball.d.ts index 1470fd138c..06626537a4 100644 --- a/types/react-icons/lib/io/ios-baseball.d.ts +++ b/types/react-icons/lib/io/ios-baseball.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBaseball extends React.Component<IconBaseProps> { } +declare class IoIosBaseball extends React.Component<IconBaseProps> { } +export = IoIosBaseball; diff --git a/types/react-icons/lib/io/ios-basketball-outline.d.ts b/types/react-icons/lib/io/ios-basketball-outline.d.ts index 5b2d8845df..e2387f5695 100644 --- a/types/react-icons/lib/io/ios-basketball-outline.d.ts +++ b/types/react-icons/lib/io/ios-basketball-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBasketballOutline extends React.Component<IconBaseProps> { } +declare class IoIosBasketballOutline extends React.Component<IconBaseProps> { } +export = IoIosBasketballOutline; diff --git a/types/react-icons/lib/io/ios-basketball.d.ts b/types/react-icons/lib/io/ios-basketball.d.ts index 294798f648..17c4d6fd5f 100644 --- a/types/react-icons/lib/io/ios-basketball.d.ts +++ b/types/react-icons/lib/io/ios-basketball.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBasketball extends React.Component<IconBaseProps> { } +declare class IoIosBasketball extends React.Component<IconBaseProps> { } +export = IoIosBasketball; diff --git a/types/react-icons/lib/io/ios-bell-outline.d.ts b/types/react-icons/lib/io/ios-bell-outline.d.ts index c03c49121e..e346d2754a 100644 --- a/types/react-icons/lib/io/ios-bell-outline.d.ts +++ b/types/react-icons/lib/io/ios-bell-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBellOutline extends React.Component<IconBaseProps> { } +declare class IoIosBellOutline extends React.Component<IconBaseProps> { } +export = IoIosBellOutline; diff --git a/types/react-icons/lib/io/ios-bell.d.ts b/types/react-icons/lib/io/ios-bell.d.ts index d1b90b21f9..a899c4f941 100644 --- a/types/react-icons/lib/io/ios-bell.d.ts +++ b/types/react-icons/lib/io/ios-bell.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBell extends React.Component<IconBaseProps> { } +declare class IoIosBell extends React.Component<IconBaseProps> { } +export = IoIosBell; diff --git a/types/react-icons/lib/io/ios-body-outline.d.ts b/types/react-icons/lib/io/ios-body-outline.d.ts index 235ed9bca0..5850273998 100644 --- a/types/react-icons/lib/io/ios-body-outline.d.ts +++ b/types/react-icons/lib/io/ios-body-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBodyOutline extends React.Component<IconBaseProps> { } +declare class IoIosBodyOutline extends React.Component<IconBaseProps> { } +export = IoIosBodyOutline; diff --git a/types/react-icons/lib/io/ios-body.d.ts b/types/react-icons/lib/io/ios-body.d.ts index 89712f6b0e..fc8b1ecc9f 100644 --- a/types/react-icons/lib/io/ios-body.d.ts +++ b/types/react-icons/lib/io/ios-body.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBody extends React.Component<IconBaseProps> { } +declare class IoIosBody extends React.Component<IconBaseProps> { } +export = IoIosBody; diff --git a/types/react-icons/lib/io/ios-bolt-outline.d.ts b/types/react-icons/lib/io/ios-bolt-outline.d.ts index acc1db40e6..86ec284228 100644 --- a/types/react-icons/lib/io/ios-bolt-outline.d.ts +++ b/types/react-icons/lib/io/ios-bolt-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBoltOutline extends React.Component<IconBaseProps> { } +declare class IoIosBoltOutline extends React.Component<IconBaseProps> { } +export = IoIosBoltOutline; diff --git a/types/react-icons/lib/io/ios-bolt.d.ts b/types/react-icons/lib/io/ios-bolt.d.ts index a953af8901..74e19bba18 100644 --- a/types/react-icons/lib/io/ios-bolt.d.ts +++ b/types/react-icons/lib/io/ios-bolt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBolt extends React.Component<IconBaseProps> { } +declare class IoIosBolt extends React.Component<IconBaseProps> { } +export = IoIosBolt; diff --git a/types/react-icons/lib/io/ios-book-outline.d.ts b/types/react-icons/lib/io/ios-book-outline.d.ts index d6587de870..87ed84a220 100644 --- a/types/react-icons/lib/io/ios-book-outline.d.ts +++ b/types/react-icons/lib/io/ios-book-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBookOutline extends React.Component<IconBaseProps> { } +declare class IoIosBookOutline extends React.Component<IconBaseProps> { } +export = IoIosBookOutline; diff --git a/types/react-icons/lib/io/ios-book.d.ts b/types/react-icons/lib/io/ios-book.d.ts index 9bcddd9e60..401fadbe2e 100644 --- a/types/react-icons/lib/io/ios-book.d.ts +++ b/types/react-icons/lib/io/ios-book.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBook extends React.Component<IconBaseProps> { } +declare class IoIosBook extends React.Component<IconBaseProps> { } +export = IoIosBook; diff --git a/types/react-icons/lib/io/ios-bookmarks-outline.d.ts b/types/react-icons/lib/io/ios-bookmarks-outline.d.ts index c999d5cdd5..1a3428a1d5 100644 --- a/types/react-icons/lib/io/ios-bookmarks-outline.d.ts +++ b/types/react-icons/lib/io/ios-bookmarks-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBookmarksOutline extends React.Component<IconBaseProps> { } +declare class IoIosBookmarksOutline extends React.Component<IconBaseProps> { } +export = IoIosBookmarksOutline; diff --git a/types/react-icons/lib/io/ios-bookmarks.d.ts b/types/react-icons/lib/io/ios-bookmarks.d.ts index 42a926adda..8910a86f2b 100644 --- a/types/react-icons/lib/io/ios-bookmarks.d.ts +++ b/types/react-icons/lib/io/ios-bookmarks.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBookmarks extends React.Component<IconBaseProps> { } +declare class IoIosBookmarks extends React.Component<IconBaseProps> { } +export = IoIosBookmarks; diff --git a/types/react-icons/lib/io/ios-box-outline.d.ts b/types/react-icons/lib/io/ios-box-outline.d.ts index 02b34cefc1..d7b4985041 100644 --- a/types/react-icons/lib/io/ios-box-outline.d.ts +++ b/types/react-icons/lib/io/ios-box-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBoxOutline extends React.Component<IconBaseProps> { } +declare class IoIosBoxOutline extends React.Component<IconBaseProps> { } +export = IoIosBoxOutline; diff --git a/types/react-icons/lib/io/ios-box.d.ts b/types/react-icons/lib/io/ios-box.d.ts index 67ab43d367..7dd3759007 100644 --- a/types/react-icons/lib/io/ios-box.d.ts +++ b/types/react-icons/lib/io/ios-box.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBox extends React.Component<IconBaseProps> { } +declare class IoIosBox extends React.Component<IconBaseProps> { } +export = IoIosBox; diff --git a/types/react-icons/lib/io/ios-briefcase-outline.d.ts b/types/react-icons/lib/io/ios-briefcase-outline.d.ts index bcba814767..e778987aa3 100644 --- a/types/react-icons/lib/io/ios-briefcase-outline.d.ts +++ b/types/react-icons/lib/io/ios-briefcase-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBriefcaseOutline extends React.Component<IconBaseProps> { } +declare class IoIosBriefcaseOutline extends React.Component<IconBaseProps> { } +export = IoIosBriefcaseOutline; diff --git a/types/react-icons/lib/io/ios-briefcase.d.ts b/types/react-icons/lib/io/ios-briefcase.d.ts index 03409c1dc4..ec269077a8 100644 --- a/types/react-icons/lib/io/ios-briefcase.d.ts +++ b/types/react-icons/lib/io/ios-briefcase.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBriefcase extends React.Component<IconBaseProps> { } +declare class IoIosBriefcase extends React.Component<IconBaseProps> { } +export = IoIosBriefcase; diff --git a/types/react-icons/lib/io/ios-browsers-outline.d.ts b/types/react-icons/lib/io/ios-browsers-outline.d.ts index a85fd4dfc9..5f011531e3 100644 --- a/types/react-icons/lib/io/ios-browsers-outline.d.ts +++ b/types/react-icons/lib/io/ios-browsers-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBrowsersOutline extends React.Component<IconBaseProps> { } +declare class IoIosBrowsersOutline extends React.Component<IconBaseProps> { } +export = IoIosBrowsersOutline; diff --git a/types/react-icons/lib/io/ios-browsers.d.ts b/types/react-icons/lib/io/ios-browsers.d.ts index 155d546472..dbadb14b0a 100644 --- a/types/react-icons/lib/io/ios-browsers.d.ts +++ b/types/react-icons/lib/io/ios-browsers.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosBrowsers extends React.Component<IconBaseProps> { } +declare class IoIosBrowsers extends React.Component<IconBaseProps> { } +export = IoIosBrowsers; diff --git a/types/react-icons/lib/io/ios-calculator-outline.d.ts b/types/react-icons/lib/io/ios-calculator-outline.d.ts index 19453725e5..b3a0eb7f5c 100644 --- a/types/react-icons/lib/io/ios-calculator-outline.d.ts +++ b/types/react-icons/lib/io/ios-calculator-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCalculatorOutline extends React.Component<IconBaseProps> { } +declare class IoIosCalculatorOutline extends React.Component<IconBaseProps> { } +export = IoIosCalculatorOutline; diff --git a/types/react-icons/lib/io/ios-calculator.d.ts b/types/react-icons/lib/io/ios-calculator.d.ts index 736a4f431f..5237308ae6 100644 --- a/types/react-icons/lib/io/ios-calculator.d.ts +++ b/types/react-icons/lib/io/ios-calculator.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCalculator extends React.Component<IconBaseProps> { } +declare class IoIosCalculator extends React.Component<IconBaseProps> { } +export = IoIosCalculator; diff --git a/types/react-icons/lib/io/ios-calendar-outline.d.ts b/types/react-icons/lib/io/ios-calendar-outline.d.ts index 131eba8430..2f38e2977b 100644 --- a/types/react-icons/lib/io/ios-calendar-outline.d.ts +++ b/types/react-icons/lib/io/ios-calendar-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCalendarOutline extends React.Component<IconBaseProps> { } +declare class IoIosCalendarOutline extends React.Component<IconBaseProps> { } +export = IoIosCalendarOutline; diff --git a/types/react-icons/lib/io/ios-calendar.d.ts b/types/react-icons/lib/io/ios-calendar.d.ts index 3275cc770c..fdfc45ecaa 100644 --- a/types/react-icons/lib/io/ios-calendar.d.ts +++ b/types/react-icons/lib/io/ios-calendar.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCalendar extends React.Component<IconBaseProps> { } +declare class IoIosCalendar extends React.Component<IconBaseProps> { } +export = IoIosCalendar; diff --git a/types/react-icons/lib/io/ios-camera-outline.d.ts b/types/react-icons/lib/io/ios-camera-outline.d.ts index 194cacb253..6cafe009b2 100644 --- a/types/react-icons/lib/io/ios-camera-outline.d.ts +++ b/types/react-icons/lib/io/ios-camera-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCameraOutline extends React.Component<IconBaseProps> { } +declare class IoIosCameraOutline extends React.Component<IconBaseProps> { } +export = IoIosCameraOutline; diff --git a/types/react-icons/lib/io/ios-camera.d.ts b/types/react-icons/lib/io/ios-camera.d.ts index 346d035f8c..e909b8e2b5 100644 --- a/types/react-icons/lib/io/ios-camera.d.ts +++ b/types/react-icons/lib/io/ios-camera.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCamera extends React.Component<IconBaseProps> { } +declare class IoIosCamera extends React.Component<IconBaseProps> { } +export = IoIosCamera; diff --git a/types/react-icons/lib/io/ios-cart-outline.d.ts b/types/react-icons/lib/io/ios-cart-outline.d.ts index d7f76296dd..affa96342b 100644 --- a/types/react-icons/lib/io/ios-cart-outline.d.ts +++ b/types/react-icons/lib/io/ios-cart-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCartOutline extends React.Component<IconBaseProps> { } +declare class IoIosCartOutline extends React.Component<IconBaseProps> { } +export = IoIosCartOutline; diff --git a/types/react-icons/lib/io/ios-cart.d.ts b/types/react-icons/lib/io/ios-cart.d.ts index 918b941efc..2336583666 100644 --- a/types/react-icons/lib/io/ios-cart.d.ts +++ b/types/react-icons/lib/io/ios-cart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCart extends React.Component<IconBaseProps> { } +declare class IoIosCart extends React.Component<IconBaseProps> { } +export = IoIosCart; diff --git a/types/react-icons/lib/io/ios-chatboxes-outline.d.ts b/types/react-icons/lib/io/ios-chatboxes-outline.d.ts index 1db97e7086..3cb365f247 100644 --- a/types/react-icons/lib/io/ios-chatboxes-outline.d.ts +++ b/types/react-icons/lib/io/ios-chatboxes-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosChatboxesOutline extends React.Component<IconBaseProps> { } +declare class IoIosChatboxesOutline extends React.Component<IconBaseProps> { } +export = IoIosChatboxesOutline; diff --git a/types/react-icons/lib/io/ios-chatboxes.d.ts b/types/react-icons/lib/io/ios-chatboxes.d.ts index a32fdd72c4..3fb39f6ee1 100644 --- a/types/react-icons/lib/io/ios-chatboxes.d.ts +++ b/types/react-icons/lib/io/ios-chatboxes.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosChatboxes extends React.Component<IconBaseProps> { } +declare class IoIosChatboxes extends React.Component<IconBaseProps> { } +export = IoIosChatboxes; diff --git a/types/react-icons/lib/io/ios-chatbubble-outline.d.ts b/types/react-icons/lib/io/ios-chatbubble-outline.d.ts index ba2b57a053..3b45250dda 100644 --- a/types/react-icons/lib/io/ios-chatbubble-outline.d.ts +++ b/types/react-icons/lib/io/ios-chatbubble-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosChatbubbleOutline extends React.Component<IconBaseProps> { } +declare class IoIosChatbubbleOutline extends React.Component<IconBaseProps> { } +export = IoIosChatbubbleOutline; diff --git a/types/react-icons/lib/io/ios-chatbubble.d.ts b/types/react-icons/lib/io/ios-chatbubble.d.ts index bb9d024821..62bad0c4aa 100644 --- a/types/react-icons/lib/io/ios-chatbubble.d.ts +++ b/types/react-icons/lib/io/ios-chatbubble.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosChatbubble extends React.Component<IconBaseProps> { } +declare class IoIosChatbubble extends React.Component<IconBaseProps> { } +export = IoIosChatbubble; diff --git a/types/react-icons/lib/io/ios-checkmark-empty.d.ts b/types/react-icons/lib/io/ios-checkmark-empty.d.ts index 328adb1f00..a474963f5d 100644 --- a/types/react-icons/lib/io/ios-checkmark-empty.d.ts +++ b/types/react-icons/lib/io/ios-checkmark-empty.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCheckmarkEmpty extends React.Component<IconBaseProps> { } +declare class IoIosCheckmarkEmpty extends React.Component<IconBaseProps> { } +export = IoIosCheckmarkEmpty; diff --git a/types/react-icons/lib/io/ios-checkmark-outline.d.ts b/types/react-icons/lib/io/ios-checkmark-outline.d.ts index cb19eebc9b..5f700d3698 100644 --- a/types/react-icons/lib/io/ios-checkmark-outline.d.ts +++ b/types/react-icons/lib/io/ios-checkmark-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCheckmarkOutline extends React.Component<IconBaseProps> { } +declare class IoIosCheckmarkOutline extends React.Component<IconBaseProps> { } +export = IoIosCheckmarkOutline; diff --git a/types/react-icons/lib/io/ios-checkmark.d.ts b/types/react-icons/lib/io/ios-checkmark.d.ts index 3fcabda1bf..dd5fe54c42 100644 --- a/types/react-icons/lib/io/ios-checkmark.d.ts +++ b/types/react-icons/lib/io/ios-checkmark.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCheckmark extends React.Component<IconBaseProps> { } +declare class IoIosCheckmark extends React.Component<IconBaseProps> { } +export = IoIosCheckmark; diff --git a/types/react-icons/lib/io/ios-circle-filled.d.ts b/types/react-icons/lib/io/ios-circle-filled.d.ts index 4b4192096d..f9cb3574c6 100644 --- a/types/react-icons/lib/io/ios-circle-filled.d.ts +++ b/types/react-icons/lib/io/ios-circle-filled.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCircleFilled extends React.Component<IconBaseProps> { } +declare class IoIosCircleFilled extends React.Component<IconBaseProps> { } +export = IoIosCircleFilled; diff --git a/types/react-icons/lib/io/ios-circle-outline.d.ts b/types/react-icons/lib/io/ios-circle-outline.d.ts index 99a0ae723f..85165c8f58 100644 --- a/types/react-icons/lib/io/ios-circle-outline.d.ts +++ b/types/react-icons/lib/io/ios-circle-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCircleOutline extends React.Component<IconBaseProps> { } +declare class IoIosCircleOutline extends React.Component<IconBaseProps> { } +export = IoIosCircleOutline; diff --git a/types/react-icons/lib/io/ios-clock-outline.d.ts b/types/react-icons/lib/io/ios-clock-outline.d.ts index 2d5febf0a9..5d6466efe1 100644 --- a/types/react-icons/lib/io/ios-clock-outline.d.ts +++ b/types/react-icons/lib/io/ios-clock-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosClockOutline extends React.Component<IconBaseProps> { } +declare class IoIosClockOutline extends React.Component<IconBaseProps> { } +export = IoIosClockOutline; diff --git a/types/react-icons/lib/io/ios-clock.d.ts b/types/react-icons/lib/io/ios-clock.d.ts index aa160a4bd7..7ea19dbd7b 100644 --- a/types/react-icons/lib/io/ios-clock.d.ts +++ b/types/react-icons/lib/io/ios-clock.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosClock extends React.Component<IconBaseProps> { } +declare class IoIosClock extends React.Component<IconBaseProps> { } +export = IoIosClock; diff --git a/types/react-icons/lib/io/ios-close-empty.d.ts b/types/react-icons/lib/io/ios-close-empty.d.ts index 44a0c8d17b..4e71a33216 100644 --- a/types/react-icons/lib/io/ios-close-empty.d.ts +++ b/types/react-icons/lib/io/ios-close-empty.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCloseEmpty extends React.Component<IconBaseProps> { } +declare class IoIosCloseEmpty extends React.Component<IconBaseProps> { } +export = IoIosCloseEmpty; diff --git a/types/react-icons/lib/io/ios-close-outline.d.ts b/types/react-icons/lib/io/ios-close-outline.d.ts index 323c5b9d4a..91e3af7f9e 100644 --- a/types/react-icons/lib/io/ios-close-outline.d.ts +++ b/types/react-icons/lib/io/ios-close-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCloseOutline extends React.Component<IconBaseProps> { } +declare class IoIosCloseOutline extends React.Component<IconBaseProps> { } +export = IoIosCloseOutline; diff --git a/types/react-icons/lib/io/ios-close.d.ts b/types/react-icons/lib/io/ios-close.d.ts index 21ed802d2a..2599814819 100644 --- a/types/react-icons/lib/io/ios-close.d.ts +++ b/types/react-icons/lib/io/ios-close.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosClose extends React.Component<IconBaseProps> { } +declare class IoIosClose extends React.Component<IconBaseProps> { } +export = IoIosClose; diff --git a/types/react-icons/lib/io/ios-cloud-download-outline.d.ts b/types/react-icons/lib/io/ios-cloud-download-outline.d.ts index 3e4358be6d..d62d37296e 100644 --- a/types/react-icons/lib/io/ios-cloud-download-outline.d.ts +++ b/types/react-icons/lib/io/ios-cloud-download-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCloudDownloadOutline extends React.Component<IconBaseProps> { } +declare class IoIosCloudDownloadOutline extends React.Component<IconBaseProps> { } +export = IoIosCloudDownloadOutline; diff --git a/types/react-icons/lib/io/ios-cloud-download.d.ts b/types/react-icons/lib/io/ios-cloud-download.d.ts index 593e0c7730..ea75ea90cf 100644 --- a/types/react-icons/lib/io/ios-cloud-download.d.ts +++ b/types/react-icons/lib/io/ios-cloud-download.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCloudDownload extends React.Component<IconBaseProps> { } +declare class IoIosCloudDownload extends React.Component<IconBaseProps> { } +export = IoIosCloudDownload; diff --git a/types/react-icons/lib/io/ios-cloud-outline.d.ts b/types/react-icons/lib/io/ios-cloud-outline.d.ts index c70f0794c3..34ef0e3bd6 100644 --- a/types/react-icons/lib/io/ios-cloud-outline.d.ts +++ b/types/react-icons/lib/io/ios-cloud-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCloudOutline extends React.Component<IconBaseProps> { } +declare class IoIosCloudOutline extends React.Component<IconBaseProps> { } +export = IoIosCloudOutline; diff --git a/types/react-icons/lib/io/ios-cloud-upload-outline.d.ts b/types/react-icons/lib/io/ios-cloud-upload-outline.d.ts index 2796f586ec..1a2ec79df1 100644 --- a/types/react-icons/lib/io/ios-cloud-upload-outline.d.ts +++ b/types/react-icons/lib/io/ios-cloud-upload-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCloudUploadOutline extends React.Component<IconBaseProps> { } +declare class IoIosCloudUploadOutline extends React.Component<IconBaseProps> { } +export = IoIosCloudUploadOutline; diff --git a/types/react-icons/lib/io/ios-cloud-upload.d.ts b/types/react-icons/lib/io/ios-cloud-upload.d.ts index b34cc692a2..75bbd1d136 100644 --- a/types/react-icons/lib/io/ios-cloud-upload.d.ts +++ b/types/react-icons/lib/io/ios-cloud-upload.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCloudUpload extends React.Component<IconBaseProps> { } +declare class IoIosCloudUpload extends React.Component<IconBaseProps> { } +export = IoIosCloudUpload; diff --git a/types/react-icons/lib/io/ios-cloud.d.ts b/types/react-icons/lib/io/ios-cloud.d.ts index a802116f9f..1327ad5865 100644 --- a/types/react-icons/lib/io/ios-cloud.d.ts +++ b/types/react-icons/lib/io/ios-cloud.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCloud extends React.Component<IconBaseProps> { } +declare class IoIosCloud extends React.Component<IconBaseProps> { } +export = IoIosCloud; diff --git a/types/react-icons/lib/io/ios-cloudy-night-outline.d.ts b/types/react-icons/lib/io/ios-cloudy-night-outline.d.ts index 4845f7470d..9a998a4f3d 100644 --- a/types/react-icons/lib/io/ios-cloudy-night-outline.d.ts +++ b/types/react-icons/lib/io/ios-cloudy-night-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCloudyNightOutline extends React.Component<IconBaseProps> { } +declare class IoIosCloudyNightOutline extends React.Component<IconBaseProps> { } +export = IoIosCloudyNightOutline; diff --git a/types/react-icons/lib/io/ios-cloudy-night.d.ts b/types/react-icons/lib/io/ios-cloudy-night.d.ts index 9298dc5823..ce8505d3fd 100644 --- a/types/react-icons/lib/io/ios-cloudy-night.d.ts +++ b/types/react-icons/lib/io/ios-cloudy-night.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCloudyNight extends React.Component<IconBaseProps> { } +declare class IoIosCloudyNight extends React.Component<IconBaseProps> { } +export = IoIosCloudyNight; diff --git a/types/react-icons/lib/io/ios-cloudy-outline.d.ts b/types/react-icons/lib/io/ios-cloudy-outline.d.ts index cfcfd72e69..e6bdfa8ca4 100644 --- a/types/react-icons/lib/io/ios-cloudy-outline.d.ts +++ b/types/react-icons/lib/io/ios-cloudy-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCloudyOutline extends React.Component<IconBaseProps> { } +declare class IoIosCloudyOutline extends React.Component<IconBaseProps> { } +export = IoIosCloudyOutline; diff --git a/types/react-icons/lib/io/ios-cloudy.d.ts b/types/react-icons/lib/io/ios-cloudy.d.ts index 1d30070268..10cb92b074 100644 --- a/types/react-icons/lib/io/ios-cloudy.d.ts +++ b/types/react-icons/lib/io/ios-cloudy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCloudy extends React.Component<IconBaseProps> { } +declare class IoIosCloudy extends React.Component<IconBaseProps> { } +export = IoIosCloudy; diff --git a/types/react-icons/lib/io/ios-cog-outline.d.ts b/types/react-icons/lib/io/ios-cog-outline.d.ts index 8553742da2..4153320627 100644 --- a/types/react-icons/lib/io/ios-cog-outline.d.ts +++ b/types/react-icons/lib/io/ios-cog-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCogOutline extends React.Component<IconBaseProps> { } +declare class IoIosCogOutline extends React.Component<IconBaseProps> { } +export = IoIosCogOutline; diff --git a/types/react-icons/lib/io/ios-cog.d.ts b/types/react-icons/lib/io/ios-cog.d.ts index b834fcb3c8..dc35f2908c 100644 --- a/types/react-icons/lib/io/ios-cog.d.ts +++ b/types/react-icons/lib/io/ios-cog.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCog extends React.Component<IconBaseProps> { } +declare class IoIosCog extends React.Component<IconBaseProps> { } +export = IoIosCog; diff --git a/types/react-icons/lib/io/ios-color-filter-outline.d.ts b/types/react-icons/lib/io/ios-color-filter-outline.d.ts index a3a38a75c9..3efb45b3e8 100644 --- a/types/react-icons/lib/io/ios-color-filter-outline.d.ts +++ b/types/react-icons/lib/io/ios-color-filter-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosColorFilterOutline extends React.Component<IconBaseProps> { } +declare class IoIosColorFilterOutline extends React.Component<IconBaseProps> { } +export = IoIosColorFilterOutline; diff --git a/types/react-icons/lib/io/ios-color-filter.d.ts b/types/react-icons/lib/io/ios-color-filter.d.ts index 20fcdef6df..b06b0178e1 100644 --- a/types/react-icons/lib/io/ios-color-filter.d.ts +++ b/types/react-icons/lib/io/ios-color-filter.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosColorFilter extends React.Component<IconBaseProps> { } +declare class IoIosColorFilter extends React.Component<IconBaseProps> { } +export = IoIosColorFilter; diff --git a/types/react-icons/lib/io/ios-color-wand-outline.d.ts b/types/react-icons/lib/io/ios-color-wand-outline.d.ts index ddb1cb938c..c16dcb880c 100644 --- a/types/react-icons/lib/io/ios-color-wand-outline.d.ts +++ b/types/react-icons/lib/io/ios-color-wand-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosColorWandOutline extends React.Component<IconBaseProps> { } +declare class IoIosColorWandOutline extends React.Component<IconBaseProps> { } +export = IoIosColorWandOutline; diff --git a/types/react-icons/lib/io/ios-color-wand.d.ts b/types/react-icons/lib/io/ios-color-wand.d.ts index 2cffa4f89e..901482ab4d 100644 --- a/types/react-icons/lib/io/ios-color-wand.d.ts +++ b/types/react-icons/lib/io/ios-color-wand.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosColorWand extends React.Component<IconBaseProps> { } +declare class IoIosColorWand extends React.Component<IconBaseProps> { } +export = IoIosColorWand; diff --git a/types/react-icons/lib/io/ios-compose-outline.d.ts b/types/react-icons/lib/io/ios-compose-outline.d.ts index 30d416ed90..56213af99b 100644 --- a/types/react-icons/lib/io/ios-compose-outline.d.ts +++ b/types/react-icons/lib/io/ios-compose-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosComposeOutline extends React.Component<IconBaseProps> { } +declare class IoIosComposeOutline extends React.Component<IconBaseProps> { } +export = IoIosComposeOutline; diff --git a/types/react-icons/lib/io/ios-compose.d.ts b/types/react-icons/lib/io/ios-compose.d.ts index 9445eed5c1..700acd9df0 100644 --- a/types/react-icons/lib/io/ios-compose.d.ts +++ b/types/react-icons/lib/io/ios-compose.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCompose extends React.Component<IconBaseProps> { } +declare class IoIosCompose extends React.Component<IconBaseProps> { } +export = IoIosCompose; diff --git a/types/react-icons/lib/io/ios-contact-outline.d.ts b/types/react-icons/lib/io/ios-contact-outline.d.ts index 7eb6eb546f..b6c3c9256f 100644 --- a/types/react-icons/lib/io/ios-contact-outline.d.ts +++ b/types/react-icons/lib/io/ios-contact-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosContactOutline extends React.Component<IconBaseProps> { } +declare class IoIosContactOutline extends React.Component<IconBaseProps> { } +export = IoIosContactOutline; diff --git a/types/react-icons/lib/io/ios-contact.d.ts b/types/react-icons/lib/io/ios-contact.d.ts index 59c2798235..b84fc3d06c 100644 --- a/types/react-icons/lib/io/ios-contact.d.ts +++ b/types/react-icons/lib/io/ios-contact.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosContact extends React.Component<IconBaseProps> { } +declare class IoIosContact extends React.Component<IconBaseProps> { } +export = IoIosContact; diff --git a/types/react-icons/lib/io/ios-copy-outline.d.ts b/types/react-icons/lib/io/ios-copy-outline.d.ts index 5af5717e89..a10a0de758 100644 --- a/types/react-icons/lib/io/ios-copy-outline.d.ts +++ b/types/react-icons/lib/io/ios-copy-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCopyOutline extends React.Component<IconBaseProps> { } +declare class IoIosCopyOutline extends React.Component<IconBaseProps> { } +export = IoIosCopyOutline; diff --git a/types/react-icons/lib/io/ios-copy.d.ts b/types/react-icons/lib/io/ios-copy.d.ts index 2523a14f88..17210fcf39 100644 --- a/types/react-icons/lib/io/ios-copy.d.ts +++ b/types/react-icons/lib/io/ios-copy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCopy extends React.Component<IconBaseProps> { } +declare class IoIosCopy extends React.Component<IconBaseProps> { } +export = IoIosCopy; diff --git a/types/react-icons/lib/io/ios-crop-strong.d.ts b/types/react-icons/lib/io/ios-crop-strong.d.ts index b0126c2482..1d22950da5 100644 --- a/types/react-icons/lib/io/ios-crop-strong.d.ts +++ b/types/react-icons/lib/io/ios-crop-strong.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCropStrong extends React.Component<IconBaseProps> { } +declare class IoIosCropStrong extends React.Component<IconBaseProps> { } +export = IoIosCropStrong; diff --git a/types/react-icons/lib/io/ios-crop.d.ts b/types/react-icons/lib/io/ios-crop.d.ts index ab76318d3a..d3dfb5e071 100644 --- a/types/react-icons/lib/io/ios-crop.d.ts +++ b/types/react-icons/lib/io/ios-crop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosCrop extends React.Component<IconBaseProps> { } +declare class IoIosCrop extends React.Component<IconBaseProps> { } +export = IoIosCrop; diff --git a/types/react-icons/lib/io/ios-download-outline.d.ts b/types/react-icons/lib/io/ios-download-outline.d.ts index 4498357495..c02ba7586d 100644 --- a/types/react-icons/lib/io/ios-download-outline.d.ts +++ b/types/react-icons/lib/io/ios-download-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosDownloadOutline extends React.Component<IconBaseProps> { } +declare class IoIosDownloadOutline extends React.Component<IconBaseProps> { } +export = IoIosDownloadOutline; diff --git a/types/react-icons/lib/io/ios-download.d.ts b/types/react-icons/lib/io/ios-download.d.ts index 35aaac4be0..3550abd427 100644 --- a/types/react-icons/lib/io/ios-download.d.ts +++ b/types/react-icons/lib/io/ios-download.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosDownload extends React.Component<IconBaseProps> { } +declare class IoIosDownload extends React.Component<IconBaseProps> { } +export = IoIosDownload; diff --git a/types/react-icons/lib/io/ios-drag.d.ts b/types/react-icons/lib/io/ios-drag.d.ts index 17979b680a..22be50c994 100644 --- a/types/react-icons/lib/io/ios-drag.d.ts +++ b/types/react-icons/lib/io/ios-drag.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosDrag extends React.Component<IconBaseProps> { } +declare class IoIosDrag extends React.Component<IconBaseProps> { } +export = IoIosDrag; diff --git a/types/react-icons/lib/io/ios-email-outline.d.ts b/types/react-icons/lib/io/ios-email-outline.d.ts index 3ad2b9cb16..b4708c7cc9 100644 --- a/types/react-icons/lib/io/ios-email-outline.d.ts +++ b/types/react-icons/lib/io/ios-email-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosEmailOutline extends React.Component<IconBaseProps> { } +declare class IoIosEmailOutline extends React.Component<IconBaseProps> { } +export = IoIosEmailOutline; diff --git a/types/react-icons/lib/io/ios-email.d.ts b/types/react-icons/lib/io/ios-email.d.ts index ac81192fe0..419a9e90da 100644 --- a/types/react-icons/lib/io/ios-email.d.ts +++ b/types/react-icons/lib/io/ios-email.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosEmail extends React.Component<IconBaseProps> { } +declare class IoIosEmail extends React.Component<IconBaseProps> { } +export = IoIosEmail; diff --git a/types/react-icons/lib/io/ios-eye-outline.d.ts b/types/react-icons/lib/io/ios-eye-outline.d.ts index 8f83b25a13..bdb78dd911 100644 --- a/types/react-icons/lib/io/ios-eye-outline.d.ts +++ b/types/react-icons/lib/io/ios-eye-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosEyeOutline extends React.Component<IconBaseProps> { } +declare class IoIosEyeOutline extends React.Component<IconBaseProps> { } +export = IoIosEyeOutline; diff --git a/types/react-icons/lib/io/ios-eye.d.ts b/types/react-icons/lib/io/ios-eye.d.ts index 2a3db8b839..7910e77eb5 100644 --- a/types/react-icons/lib/io/ios-eye.d.ts +++ b/types/react-icons/lib/io/ios-eye.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosEye extends React.Component<IconBaseProps> { } +declare class IoIosEye extends React.Component<IconBaseProps> { } +export = IoIosEye; diff --git a/types/react-icons/lib/io/ios-fastforward-outline.d.ts b/types/react-icons/lib/io/ios-fastforward-outline.d.ts index ebc30ba915..b2f8ad2c63 100644 --- a/types/react-icons/lib/io/ios-fastforward-outline.d.ts +++ b/types/react-icons/lib/io/ios-fastforward-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosFastforwardOutline extends React.Component<IconBaseProps> { } +declare class IoIosFastforwardOutline extends React.Component<IconBaseProps> { } +export = IoIosFastforwardOutline; diff --git a/types/react-icons/lib/io/ios-fastforward.d.ts b/types/react-icons/lib/io/ios-fastforward.d.ts index 2fedece46c..3318050327 100644 --- a/types/react-icons/lib/io/ios-fastforward.d.ts +++ b/types/react-icons/lib/io/ios-fastforward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosFastforward extends React.Component<IconBaseProps> { } +declare class IoIosFastforward extends React.Component<IconBaseProps> { } +export = IoIosFastforward; diff --git a/types/react-icons/lib/io/ios-filing-outline.d.ts b/types/react-icons/lib/io/ios-filing-outline.d.ts index 07291ebfd3..be70683001 100644 --- a/types/react-icons/lib/io/ios-filing-outline.d.ts +++ b/types/react-icons/lib/io/ios-filing-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosFilingOutline extends React.Component<IconBaseProps> { } +declare class IoIosFilingOutline extends React.Component<IconBaseProps> { } +export = IoIosFilingOutline; diff --git a/types/react-icons/lib/io/ios-filing.d.ts b/types/react-icons/lib/io/ios-filing.d.ts index 0ccb6e3e3b..c152ce0a54 100644 --- a/types/react-icons/lib/io/ios-filing.d.ts +++ b/types/react-icons/lib/io/ios-filing.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosFiling extends React.Component<IconBaseProps> { } +declare class IoIosFiling extends React.Component<IconBaseProps> { } +export = IoIosFiling; diff --git a/types/react-icons/lib/io/ios-film-outline.d.ts b/types/react-icons/lib/io/ios-film-outline.d.ts index 5528977dce..2ee7168846 100644 --- a/types/react-icons/lib/io/ios-film-outline.d.ts +++ b/types/react-icons/lib/io/ios-film-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosFilmOutline extends React.Component<IconBaseProps> { } +declare class IoIosFilmOutline extends React.Component<IconBaseProps> { } +export = IoIosFilmOutline; diff --git a/types/react-icons/lib/io/ios-film.d.ts b/types/react-icons/lib/io/ios-film.d.ts index 447ebbe08e..6d5738e4a3 100644 --- a/types/react-icons/lib/io/ios-film.d.ts +++ b/types/react-icons/lib/io/ios-film.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosFilm extends React.Component<IconBaseProps> { } +declare class IoIosFilm extends React.Component<IconBaseProps> { } +export = IoIosFilm; diff --git a/types/react-icons/lib/io/ios-flag-outline.d.ts b/types/react-icons/lib/io/ios-flag-outline.d.ts index f602c44993..33066e4133 100644 --- a/types/react-icons/lib/io/ios-flag-outline.d.ts +++ b/types/react-icons/lib/io/ios-flag-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosFlagOutline extends React.Component<IconBaseProps> { } +declare class IoIosFlagOutline extends React.Component<IconBaseProps> { } +export = IoIosFlagOutline; diff --git a/types/react-icons/lib/io/ios-flag.d.ts b/types/react-icons/lib/io/ios-flag.d.ts index d6095c22f3..c6ed11469c 100644 --- a/types/react-icons/lib/io/ios-flag.d.ts +++ b/types/react-icons/lib/io/ios-flag.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosFlag extends React.Component<IconBaseProps> { } +declare class IoIosFlag extends React.Component<IconBaseProps> { } +export = IoIosFlag; diff --git a/types/react-icons/lib/io/ios-flame-outline.d.ts b/types/react-icons/lib/io/ios-flame-outline.d.ts index 0e8b7410e9..55c2c3bc85 100644 --- a/types/react-icons/lib/io/ios-flame-outline.d.ts +++ b/types/react-icons/lib/io/ios-flame-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosFlameOutline extends React.Component<IconBaseProps> { } +declare class IoIosFlameOutline extends React.Component<IconBaseProps> { } +export = IoIosFlameOutline; diff --git a/types/react-icons/lib/io/ios-flame.d.ts b/types/react-icons/lib/io/ios-flame.d.ts index a21289710b..c538dca10c 100644 --- a/types/react-icons/lib/io/ios-flame.d.ts +++ b/types/react-icons/lib/io/ios-flame.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosFlame extends React.Component<IconBaseProps> { } +declare class IoIosFlame extends React.Component<IconBaseProps> { } +export = IoIosFlame; diff --git a/types/react-icons/lib/io/ios-flask-outline.d.ts b/types/react-icons/lib/io/ios-flask-outline.d.ts index 2082d7a326..3f746b4a81 100644 --- a/types/react-icons/lib/io/ios-flask-outline.d.ts +++ b/types/react-icons/lib/io/ios-flask-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosFlaskOutline extends React.Component<IconBaseProps> { } +declare class IoIosFlaskOutline extends React.Component<IconBaseProps> { } +export = IoIosFlaskOutline; diff --git a/types/react-icons/lib/io/ios-flask.d.ts b/types/react-icons/lib/io/ios-flask.d.ts index 0b622f18e2..721abe351c 100644 --- a/types/react-icons/lib/io/ios-flask.d.ts +++ b/types/react-icons/lib/io/ios-flask.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosFlask extends React.Component<IconBaseProps> { } +declare class IoIosFlask extends React.Component<IconBaseProps> { } +export = IoIosFlask; diff --git a/types/react-icons/lib/io/ios-flower-outline.d.ts b/types/react-icons/lib/io/ios-flower-outline.d.ts index 7886cbc193..4f7133078e 100644 --- a/types/react-icons/lib/io/ios-flower-outline.d.ts +++ b/types/react-icons/lib/io/ios-flower-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosFlowerOutline extends React.Component<IconBaseProps> { } +declare class IoIosFlowerOutline extends React.Component<IconBaseProps> { } +export = IoIosFlowerOutline; diff --git a/types/react-icons/lib/io/ios-flower.d.ts b/types/react-icons/lib/io/ios-flower.d.ts index 9e1ba1e0bc..3f016b41e3 100644 --- a/types/react-icons/lib/io/ios-flower.d.ts +++ b/types/react-icons/lib/io/ios-flower.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosFlower extends React.Component<IconBaseProps> { } +declare class IoIosFlower extends React.Component<IconBaseProps> { } +export = IoIosFlower; diff --git a/types/react-icons/lib/io/ios-folder-outline.d.ts b/types/react-icons/lib/io/ios-folder-outline.d.ts index 43c60dc202..a081df582e 100644 --- a/types/react-icons/lib/io/ios-folder-outline.d.ts +++ b/types/react-icons/lib/io/ios-folder-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosFolderOutline extends React.Component<IconBaseProps> { } +declare class IoIosFolderOutline extends React.Component<IconBaseProps> { } +export = IoIosFolderOutline; diff --git a/types/react-icons/lib/io/ios-folder.d.ts b/types/react-icons/lib/io/ios-folder.d.ts index 785495d440..6060787ea9 100644 --- a/types/react-icons/lib/io/ios-folder.d.ts +++ b/types/react-icons/lib/io/ios-folder.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosFolder extends React.Component<IconBaseProps> { } +declare class IoIosFolder extends React.Component<IconBaseProps> { } +export = IoIosFolder; diff --git a/types/react-icons/lib/io/ios-football-outline.d.ts b/types/react-icons/lib/io/ios-football-outline.d.ts index 6f669b0cd0..eb888637dd 100644 --- a/types/react-icons/lib/io/ios-football-outline.d.ts +++ b/types/react-icons/lib/io/ios-football-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosFootballOutline extends React.Component<IconBaseProps> { } +declare class IoIosFootballOutline extends React.Component<IconBaseProps> { } +export = IoIosFootballOutline; diff --git a/types/react-icons/lib/io/ios-football.d.ts b/types/react-icons/lib/io/ios-football.d.ts index 0ece60db03..8683cbbfe5 100644 --- a/types/react-icons/lib/io/ios-football.d.ts +++ b/types/react-icons/lib/io/ios-football.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosFootball extends React.Component<IconBaseProps> { } +declare class IoIosFootball extends React.Component<IconBaseProps> { } +export = IoIosFootball; diff --git a/types/react-icons/lib/io/ios-game-controller-a-outline.d.ts b/types/react-icons/lib/io/ios-game-controller-a-outline.d.ts index 200c64a673..175d7980de 100644 --- a/types/react-icons/lib/io/ios-game-controller-a-outline.d.ts +++ b/types/react-icons/lib/io/ios-game-controller-a-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosGameControllerAOutline extends React.Component<IconBaseProps> { } +declare class IoIosGameControllerAOutline extends React.Component<IconBaseProps> { } +export = IoIosGameControllerAOutline; diff --git a/types/react-icons/lib/io/ios-game-controller-a.d.ts b/types/react-icons/lib/io/ios-game-controller-a.d.ts index e9e7048f94..4476bd0887 100644 --- a/types/react-icons/lib/io/ios-game-controller-a.d.ts +++ b/types/react-icons/lib/io/ios-game-controller-a.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosGameControllerA extends React.Component<IconBaseProps> { } +declare class IoIosGameControllerA extends React.Component<IconBaseProps> { } +export = IoIosGameControllerA; diff --git a/types/react-icons/lib/io/ios-game-controller-b-outline.d.ts b/types/react-icons/lib/io/ios-game-controller-b-outline.d.ts index d7d82be788..b7bca018ab 100644 --- a/types/react-icons/lib/io/ios-game-controller-b-outline.d.ts +++ b/types/react-icons/lib/io/ios-game-controller-b-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosGameControllerBOutline extends React.Component<IconBaseProps> { } +declare class IoIosGameControllerBOutline extends React.Component<IconBaseProps> { } +export = IoIosGameControllerBOutline; diff --git a/types/react-icons/lib/io/ios-game-controller-b.d.ts b/types/react-icons/lib/io/ios-game-controller-b.d.ts index 6e5435416c..59cefc38a8 100644 --- a/types/react-icons/lib/io/ios-game-controller-b.d.ts +++ b/types/react-icons/lib/io/ios-game-controller-b.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosGameControllerB extends React.Component<IconBaseProps> { } +declare class IoIosGameControllerB extends React.Component<IconBaseProps> { } +export = IoIosGameControllerB; diff --git a/types/react-icons/lib/io/ios-gear-outline.d.ts b/types/react-icons/lib/io/ios-gear-outline.d.ts index 22181a1a55..a442d8731e 100644 --- a/types/react-icons/lib/io/ios-gear-outline.d.ts +++ b/types/react-icons/lib/io/ios-gear-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosGearOutline extends React.Component<IconBaseProps> { } +declare class IoIosGearOutline extends React.Component<IconBaseProps> { } +export = IoIosGearOutline; diff --git a/types/react-icons/lib/io/ios-gear.d.ts b/types/react-icons/lib/io/ios-gear.d.ts index e899faa7a9..25211de0c8 100644 --- a/types/react-icons/lib/io/ios-gear.d.ts +++ b/types/react-icons/lib/io/ios-gear.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosGear extends React.Component<IconBaseProps> { } +declare class IoIosGear extends React.Component<IconBaseProps> { } +export = IoIosGear; diff --git a/types/react-icons/lib/io/ios-glasses-outline.d.ts b/types/react-icons/lib/io/ios-glasses-outline.d.ts index 049fc5bd95..e49413038b 100644 --- a/types/react-icons/lib/io/ios-glasses-outline.d.ts +++ b/types/react-icons/lib/io/ios-glasses-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosGlassesOutline extends React.Component<IconBaseProps> { } +declare class IoIosGlassesOutline extends React.Component<IconBaseProps> { } +export = IoIosGlassesOutline; diff --git a/types/react-icons/lib/io/ios-glasses.d.ts b/types/react-icons/lib/io/ios-glasses.d.ts index 585312b1f7..0b8a7ec4d0 100644 --- a/types/react-icons/lib/io/ios-glasses.d.ts +++ b/types/react-icons/lib/io/ios-glasses.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosGlasses extends React.Component<IconBaseProps> { } +declare class IoIosGlasses extends React.Component<IconBaseProps> { } +export = IoIosGlasses; diff --git a/types/react-icons/lib/io/ios-grid-view-outline.d.ts b/types/react-icons/lib/io/ios-grid-view-outline.d.ts index f1cf87b7d6..705beee99d 100644 --- a/types/react-icons/lib/io/ios-grid-view-outline.d.ts +++ b/types/react-icons/lib/io/ios-grid-view-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosGridViewOutline extends React.Component<IconBaseProps> { } +declare class IoIosGridViewOutline extends React.Component<IconBaseProps> { } +export = IoIosGridViewOutline; diff --git a/types/react-icons/lib/io/ios-grid-view.d.ts b/types/react-icons/lib/io/ios-grid-view.d.ts index 00f6bb916c..9331805663 100644 --- a/types/react-icons/lib/io/ios-grid-view.d.ts +++ b/types/react-icons/lib/io/ios-grid-view.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosGridView extends React.Component<IconBaseProps> { } +declare class IoIosGridView extends React.Component<IconBaseProps> { } +export = IoIosGridView; diff --git a/types/react-icons/lib/io/ios-heart-outline.d.ts b/types/react-icons/lib/io/ios-heart-outline.d.ts index 354c5543f3..35398f9c6a 100644 --- a/types/react-icons/lib/io/ios-heart-outline.d.ts +++ b/types/react-icons/lib/io/ios-heart-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosHeartOutline extends React.Component<IconBaseProps> { } +declare class IoIosHeartOutline extends React.Component<IconBaseProps> { } +export = IoIosHeartOutline; diff --git a/types/react-icons/lib/io/ios-heart.d.ts b/types/react-icons/lib/io/ios-heart.d.ts index 254ce938f3..b9aa1e9f0e 100644 --- a/types/react-icons/lib/io/ios-heart.d.ts +++ b/types/react-icons/lib/io/ios-heart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosHeart extends React.Component<IconBaseProps> { } +declare class IoIosHeart extends React.Component<IconBaseProps> { } +export = IoIosHeart; diff --git a/types/react-icons/lib/io/ios-help-empty.d.ts b/types/react-icons/lib/io/ios-help-empty.d.ts index cd94f6ceed..66bf6aae72 100644 --- a/types/react-icons/lib/io/ios-help-empty.d.ts +++ b/types/react-icons/lib/io/ios-help-empty.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosHelpEmpty extends React.Component<IconBaseProps> { } +declare class IoIosHelpEmpty extends React.Component<IconBaseProps> { } +export = IoIosHelpEmpty; diff --git a/types/react-icons/lib/io/ios-help-outline.d.ts b/types/react-icons/lib/io/ios-help-outline.d.ts index 3e73ec588b..0dd7359a78 100644 --- a/types/react-icons/lib/io/ios-help-outline.d.ts +++ b/types/react-icons/lib/io/ios-help-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosHelpOutline extends React.Component<IconBaseProps> { } +declare class IoIosHelpOutline extends React.Component<IconBaseProps> { } +export = IoIosHelpOutline; diff --git a/types/react-icons/lib/io/ios-help.d.ts b/types/react-icons/lib/io/ios-help.d.ts index 00ede643d8..e62f96ad19 100644 --- a/types/react-icons/lib/io/ios-help.d.ts +++ b/types/react-icons/lib/io/ios-help.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosHelp extends React.Component<IconBaseProps> { } +declare class IoIosHelp extends React.Component<IconBaseProps> { } +export = IoIosHelp; diff --git a/types/react-icons/lib/io/ios-home-outline.d.ts b/types/react-icons/lib/io/ios-home-outline.d.ts index 17f1432ff8..6b5123859e 100644 --- a/types/react-icons/lib/io/ios-home-outline.d.ts +++ b/types/react-icons/lib/io/ios-home-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosHomeOutline extends React.Component<IconBaseProps> { } +declare class IoIosHomeOutline extends React.Component<IconBaseProps> { } +export = IoIosHomeOutline; diff --git a/types/react-icons/lib/io/ios-home.d.ts b/types/react-icons/lib/io/ios-home.d.ts index c0f80ecaf3..acd8d81c24 100644 --- a/types/react-icons/lib/io/ios-home.d.ts +++ b/types/react-icons/lib/io/ios-home.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosHome extends React.Component<IconBaseProps> { } +declare class IoIosHome extends React.Component<IconBaseProps> { } +export = IoIosHome; diff --git a/types/react-icons/lib/io/ios-infinite-outline.d.ts b/types/react-icons/lib/io/ios-infinite-outline.d.ts index 0b043764ee..b860546ab4 100644 --- a/types/react-icons/lib/io/ios-infinite-outline.d.ts +++ b/types/react-icons/lib/io/ios-infinite-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosInfiniteOutline extends React.Component<IconBaseProps> { } +declare class IoIosInfiniteOutline extends React.Component<IconBaseProps> { } +export = IoIosInfiniteOutline; diff --git a/types/react-icons/lib/io/ios-infinite.d.ts b/types/react-icons/lib/io/ios-infinite.d.ts index bf78e5f95b..042c5afee0 100644 --- a/types/react-icons/lib/io/ios-infinite.d.ts +++ b/types/react-icons/lib/io/ios-infinite.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosInfinite extends React.Component<IconBaseProps> { } +declare class IoIosInfinite extends React.Component<IconBaseProps> { } +export = IoIosInfinite; diff --git a/types/react-icons/lib/io/ios-informatempty.d.ts b/types/react-icons/lib/io/ios-informatempty.d.ts index 34c1b0c19c..5de872ba67 100644 --- a/types/react-icons/lib/io/ios-informatempty.d.ts +++ b/types/react-icons/lib/io/ios-informatempty.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosInformatempty extends React.Component<IconBaseProps> { } +declare class IoIosInformatempty extends React.Component<IconBaseProps> { } +export = IoIosInformatempty; diff --git a/types/react-icons/lib/io/ios-information.d.ts b/types/react-icons/lib/io/ios-information.d.ts index f6e3295ac3..16fe378595 100644 --- a/types/react-icons/lib/io/ios-information.d.ts +++ b/types/react-icons/lib/io/ios-information.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosInformation extends React.Component<IconBaseProps> { } +declare class IoIosInformation extends React.Component<IconBaseProps> { } +export = IoIosInformation; diff --git a/types/react-icons/lib/io/ios-informatoutline.d.ts b/types/react-icons/lib/io/ios-informatoutline.d.ts index 038ce93a28..836c4124cf 100644 --- a/types/react-icons/lib/io/ios-informatoutline.d.ts +++ b/types/react-icons/lib/io/ios-informatoutline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosInformatoutline extends React.Component<IconBaseProps> { } +declare class IoIosInformatoutline extends React.Component<IconBaseProps> { } +export = IoIosInformatoutline; diff --git a/types/react-icons/lib/io/ios-ionic-outline.d.ts b/types/react-icons/lib/io/ios-ionic-outline.d.ts index bd42bf2316..54f711ed77 100644 --- a/types/react-icons/lib/io/ios-ionic-outline.d.ts +++ b/types/react-icons/lib/io/ios-ionic-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosIonicOutline extends React.Component<IconBaseProps> { } +declare class IoIosIonicOutline extends React.Component<IconBaseProps> { } +export = IoIosIonicOutline; diff --git a/types/react-icons/lib/io/ios-keypad-outline.d.ts b/types/react-icons/lib/io/ios-keypad-outline.d.ts index 9adff455e3..eeafb0c854 100644 --- a/types/react-icons/lib/io/ios-keypad-outline.d.ts +++ b/types/react-icons/lib/io/ios-keypad-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosKeypadOutline extends React.Component<IconBaseProps> { } +declare class IoIosKeypadOutline extends React.Component<IconBaseProps> { } +export = IoIosKeypadOutline; diff --git a/types/react-icons/lib/io/ios-keypad.d.ts b/types/react-icons/lib/io/ios-keypad.d.ts index a804cf857f..6e92f86ed6 100644 --- a/types/react-icons/lib/io/ios-keypad.d.ts +++ b/types/react-icons/lib/io/ios-keypad.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosKeypad extends React.Component<IconBaseProps> { } +declare class IoIosKeypad extends React.Component<IconBaseProps> { } +export = IoIosKeypad; diff --git a/types/react-icons/lib/io/ios-lightbulb-outline.d.ts b/types/react-icons/lib/io/ios-lightbulb-outline.d.ts index 4c92bdd5d6..70985fda1c 100644 --- a/types/react-icons/lib/io/ios-lightbulb-outline.d.ts +++ b/types/react-icons/lib/io/ios-lightbulb-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosLightbulbOutline extends React.Component<IconBaseProps> { } +declare class IoIosLightbulbOutline extends React.Component<IconBaseProps> { } +export = IoIosLightbulbOutline; diff --git a/types/react-icons/lib/io/ios-lightbulb.d.ts b/types/react-icons/lib/io/ios-lightbulb.d.ts index a7bbb177bb..da9af32ea4 100644 --- a/types/react-icons/lib/io/ios-lightbulb.d.ts +++ b/types/react-icons/lib/io/ios-lightbulb.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosLightbulb extends React.Component<IconBaseProps> { } +declare class IoIosLightbulb extends React.Component<IconBaseProps> { } +export = IoIosLightbulb; diff --git a/types/react-icons/lib/io/ios-list-outline.d.ts b/types/react-icons/lib/io/ios-list-outline.d.ts index 839d753887..5988c619a3 100644 --- a/types/react-icons/lib/io/ios-list-outline.d.ts +++ b/types/react-icons/lib/io/ios-list-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosListOutline extends React.Component<IconBaseProps> { } +declare class IoIosListOutline extends React.Component<IconBaseProps> { } +export = IoIosListOutline; diff --git a/types/react-icons/lib/io/ios-list.d.ts b/types/react-icons/lib/io/ios-list.d.ts index 9789a06dc7..931104f063 100644 --- a/types/react-icons/lib/io/ios-list.d.ts +++ b/types/react-icons/lib/io/ios-list.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosList extends React.Component<IconBaseProps> { } +declare class IoIosList extends React.Component<IconBaseProps> { } +export = IoIosList; diff --git a/types/react-icons/lib/io/ios-location.d.ts b/types/react-icons/lib/io/ios-location.d.ts index 617b853698..c8082c6164 100644 --- a/types/react-icons/lib/io/ios-location.d.ts +++ b/types/react-icons/lib/io/ios-location.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosLocation extends React.Component<IconBaseProps> { } +declare class IoIosLocation extends React.Component<IconBaseProps> { } +export = IoIosLocation; diff --git a/types/react-icons/lib/io/ios-locatoutline.d.ts b/types/react-icons/lib/io/ios-locatoutline.d.ts index 141e72e594..52c091939f 100644 --- a/types/react-icons/lib/io/ios-locatoutline.d.ts +++ b/types/react-icons/lib/io/ios-locatoutline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosLocatoutline extends React.Component<IconBaseProps> { } +declare class IoIosLocatoutline extends React.Component<IconBaseProps> { } +export = IoIosLocatoutline; diff --git a/types/react-icons/lib/io/ios-locked-outline.d.ts b/types/react-icons/lib/io/ios-locked-outline.d.ts index 3f0855a38d..c4724ffbda 100644 --- a/types/react-icons/lib/io/ios-locked-outline.d.ts +++ b/types/react-icons/lib/io/ios-locked-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosLockedOutline extends React.Component<IconBaseProps> { } +declare class IoIosLockedOutline extends React.Component<IconBaseProps> { } +export = IoIosLockedOutline; diff --git a/types/react-icons/lib/io/ios-locked.d.ts b/types/react-icons/lib/io/ios-locked.d.ts index b22a3238d4..a5cf385852 100644 --- a/types/react-icons/lib/io/ios-locked.d.ts +++ b/types/react-icons/lib/io/ios-locked.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosLocked extends React.Component<IconBaseProps> { } +declare class IoIosLocked extends React.Component<IconBaseProps> { } +export = IoIosLocked; diff --git a/types/react-icons/lib/io/ios-loop-strong.d.ts b/types/react-icons/lib/io/ios-loop-strong.d.ts index 900c41d788..3d4939fdc7 100644 --- a/types/react-icons/lib/io/ios-loop-strong.d.ts +++ b/types/react-icons/lib/io/ios-loop-strong.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosLoopStrong extends React.Component<IconBaseProps> { } +declare class IoIosLoopStrong extends React.Component<IconBaseProps> { } +export = IoIosLoopStrong; diff --git a/types/react-icons/lib/io/ios-loop.d.ts b/types/react-icons/lib/io/ios-loop.d.ts index 0235e4f546..9055d01a4a 100644 --- a/types/react-icons/lib/io/ios-loop.d.ts +++ b/types/react-icons/lib/io/ios-loop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosLoop extends React.Component<IconBaseProps> { } +declare class IoIosLoop extends React.Component<IconBaseProps> { } +export = IoIosLoop; diff --git a/types/react-icons/lib/io/ios-medical-outline.d.ts b/types/react-icons/lib/io/ios-medical-outline.d.ts index dadb2e61ae..63cf7215ea 100644 --- a/types/react-icons/lib/io/ios-medical-outline.d.ts +++ b/types/react-icons/lib/io/ios-medical-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosMedicalOutline extends React.Component<IconBaseProps> { } +declare class IoIosMedicalOutline extends React.Component<IconBaseProps> { } +export = IoIosMedicalOutline; diff --git a/types/react-icons/lib/io/ios-medical.d.ts b/types/react-icons/lib/io/ios-medical.d.ts index 1d63e24694..2772059c0d 100644 --- a/types/react-icons/lib/io/ios-medical.d.ts +++ b/types/react-icons/lib/io/ios-medical.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosMedical extends React.Component<IconBaseProps> { } +declare class IoIosMedical extends React.Component<IconBaseProps> { } +export = IoIosMedical; diff --git a/types/react-icons/lib/io/ios-medkit-outline.d.ts b/types/react-icons/lib/io/ios-medkit-outline.d.ts index 367cb88b6f..00492e10aa 100644 --- a/types/react-icons/lib/io/ios-medkit-outline.d.ts +++ b/types/react-icons/lib/io/ios-medkit-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosMedkitOutline extends React.Component<IconBaseProps> { } +declare class IoIosMedkitOutline extends React.Component<IconBaseProps> { } +export = IoIosMedkitOutline; diff --git a/types/react-icons/lib/io/ios-medkit.d.ts b/types/react-icons/lib/io/ios-medkit.d.ts index bf5d378f58..72255a3bbe 100644 --- a/types/react-icons/lib/io/ios-medkit.d.ts +++ b/types/react-icons/lib/io/ios-medkit.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosMedkit extends React.Component<IconBaseProps> { } +declare class IoIosMedkit extends React.Component<IconBaseProps> { } +export = IoIosMedkit; diff --git a/types/react-icons/lib/io/ios-mic-off.d.ts b/types/react-icons/lib/io/ios-mic-off.d.ts index 093cc13897..d12dd27d16 100644 --- a/types/react-icons/lib/io/ios-mic-off.d.ts +++ b/types/react-icons/lib/io/ios-mic-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosMicOff extends React.Component<IconBaseProps> { } +declare class IoIosMicOff extends React.Component<IconBaseProps> { } +export = IoIosMicOff; diff --git a/types/react-icons/lib/io/ios-mic-outline.d.ts b/types/react-icons/lib/io/ios-mic-outline.d.ts index 1e2a4f7ca6..a115747ba9 100644 --- a/types/react-icons/lib/io/ios-mic-outline.d.ts +++ b/types/react-icons/lib/io/ios-mic-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosMicOutline extends React.Component<IconBaseProps> { } +declare class IoIosMicOutline extends React.Component<IconBaseProps> { } +export = IoIosMicOutline; diff --git a/types/react-icons/lib/io/ios-mic.d.ts b/types/react-icons/lib/io/ios-mic.d.ts index a561e50887..f017a3e55a 100644 --- a/types/react-icons/lib/io/ios-mic.d.ts +++ b/types/react-icons/lib/io/ios-mic.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosMic extends React.Component<IconBaseProps> { } +declare class IoIosMic extends React.Component<IconBaseProps> { } +export = IoIosMic; diff --git a/types/react-icons/lib/io/ios-minus-empty.d.ts b/types/react-icons/lib/io/ios-minus-empty.d.ts index d33c1a6e8c..a7e6545790 100644 --- a/types/react-icons/lib/io/ios-minus-empty.d.ts +++ b/types/react-icons/lib/io/ios-minus-empty.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosMinusEmpty extends React.Component<IconBaseProps> { } +declare class IoIosMinusEmpty extends React.Component<IconBaseProps> { } +export = IoIosMinusEmpty; diff --git a/types/react-icons/lib/io/ios-minus-outline.d.ts b/types/react-icons/lib/io/ios-minus-outline.d.ts index d7373a37df..b49b0d3293 100644 --- a/types/react-icons/lib/io/ios-minus-outline.d.ts +++ b/types/react-icons/lib/io/ios-minus-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosMinusOutline extends React.Component<IconBaseProps> { } +declare class IoIosMinusOutline extends React.Component<IconBaseProps> { } +export = IoIosMinusOutline; diff --git a/types/react-icons/lib/io/ios-minus.d.ts b/types/react-icons/lib/io/ios-minus.d.ts index abc0a2679e..8b5b596a71 100644 --- a/types/react-icons/lib/io/ios-minus.d.ts +++ b/types/react-icons/lib/io/ios-minus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosMinus extends React.Component<IconBaseProps> { } +declare class IoIosMinus extends React.Component<IconBaseProps> { } +export = IoIosMinus; diff --git a/types/react-icons/lib/io/ios-monitor-outline.d.ts b/types/react-icons/lib/io/ios-monitor-outline.d.ts index 8dd207f86e..a12e192cc2 100644 --- a/types/react-icons/lib/io/ios-monitor-outline.d.ts +++ b/types/react-icons/lib/io/ios-monitor-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosMonitorOutline extends React.Component<IconBaseProps> { } +declare class IoIosMonitorOutline extends React.Component<IconBaseProps> { } +export = IoIosMonitorOutline; diff --git a/types/react-icons/lib/io/ios-monitor.d.ts b/types/react-icons/lib/io/ios-monitor.d.ts index 965a9b5d3b..5c15845b90 100644 --- a/types/react-icons/lib/io/ios-monitor.d.ts +++ b/types/react-icons/lib/io/ios-monitor.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosMonitor extends React.Component<IconBaseProps> { } +declare class IoIosMonitor extends React.Component<IconBaseProps> { } +export = IoIosMonitor; diff --git a/types/react-icons/lib/io/ios-moon-outline.d.ts b/types/react-icons/lib/io/ios-moon-outline.d.ts index e35e94911f..969a448406 100644 --- a/types/react-icons/lib/io/ios-moon-outline.d.ts +++ b/types/react-icons/lib/io/ios-moon-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosMoonOutline extends React.Component<IconBaseProps> { } +declare class IoIosMoonOutline extends React.Component<IconBaseProps> { } +export = IoIosMoonOutline; diff --git a/types/react-icons/lib/io/ios-moon.d.ts b/types/react-icons/lib/io/ios-moon.d.ts index cee7a782f1..b980bf0579 100644 --- a/types/react-icons/lib/io/ios-moon.d.ts +++ b/types/react-icons/lib/io/ios-moon.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosMoon extends React.Component<IconBaseProps> { } +declare class IoIosMoon extends React.Component<IconBaseProps> { } +export = IoIosMoon; diff --git a/types/react-icons/lib/io/ios-more-outline.d.ts b/types/react-icons/lib/io/ios-more-outline.d.ts index a5a83f41cf..225f87ad5e 100644 --- a/types/react-icons/lib/io/ios-more-outline.d.ts +++ b/types/react-icons/lib/io/ios-more-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosMoreOutline extends React.Component<IconBaseProps> { } +declare class IoIosMoreOutline extends React.Component<IconBaseProps> { } +export = IoIosMoreOutline; diff --git a/types/react-icons/lib/io/ios-more.d.ts b/types/react-icons/lib/io/ios-more.d.ts index 9fb63209db..0f980fc024 100644 --- a/types/react-icons/lib/io/ios-more.d.ts +++ b/types/react-icons/lib/io/ios-more.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosMore extends React.Component<IconBaseProps> { } +declare class IoIosMore extends React.Component<IconBaseProps> { } +export = IoIosMore; diff --git a/types/react-icons/lib/io/ios-musical-note.d.ts b/types/react-icons/lib/io/ios-musical-note.d.ts index 123b990474..1558f0f2cb 100644 --- a/types/react-icons/lib/io/ios-musical-note.d.ts +++ b/types/react-icons/lib/io/ios-musical-note.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosMusicalNote extends React.Component<IconBaseProps> { } +declare class IoIosMusicalNote extends React.Component<IconBaseProps> { } +export = IoIosMusicalNote; diff --git a/types/react-icons/lib/io/ios-musical-notes.d.ts b/types/react-icons/lib/io/ios-musical-notes.d.ts index 54daf1715e..5669628bea 100644 --- a/types/react-icons/lib/io/ios-musical-notes.d.ts +++ b/types/react-icons/lib/io/ios-musical-notes.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosMusicalNotes extends React.Component<IconBaseProps> { } +declare class IoIosMusicalNotes extends React.Component<IconBaseProps> { } +export = IoIosMusicalNotes; diff --git a/types/react-icons/lib/io/ios-navigate-outline.d.ts b/types/react-icons/lib/io/ios-navigate-outline.d.ts index daaafc5c76..7fef63a930 100644 --- a/types/react-icons/lib/io/ios-navigate-outline.d.ts +++ b/types/react-icons/lib/io/ios-navigate-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosNavigateOutline extends React.Component<IconBaseProps> { } +declare class IoIosNavigateOutline extends React.Component<IconBaseProps> { } +export = IoIosNavigateOutline; diff --git a/types/react-icons/lib/io/ios-navigate.d.ts b/types/react-icons/lib/io/ios-navigate.d.ts index 3a8a955fa6..499f1712a5 100644 --- a/types/react-icons/lib/io/ios-navigate.d.ts +++ b/types/react-icons/lib/io/ios-navigate.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosNavigate extends React.Component<IconBaseProps> { } +declare class IoIosNavigate extends React.Component<IconBaseProps> { } +export = IoIosNavigate; diff --git a/types/react-icons/lib/io/ios-nutrition.d.ts b/types/react-icons/lib/io/ios-nutrition.d.ts index 19b5f0eae6..ee8c95bfd7 100644 --- a/types/react-icons/lib/io/ios-nutrition.d.ts +++ b/types/react-icons/lib/io/ios-nutrition.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosNutrition extends React.Component<IconBaseProps> { } +declare class IoIosNutrition extends React.Component<IconBaseProps> { } +export = IoIosNutrition; diff --git a/types/react-icons/lib/io/ios-nutritoutline.d.ts b/types/react-icons/lib/io/ios-nutritoutline.d.ts index 9ce2ea6d24..5942c17ae5 100644 --- a/types/react-icons/lib/io/ios-nutritoutline.d.ts +++ b/types/react-icons/lib/io/ios-nutritoutline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosNutritoutline extends React.Component<IconBaseProps> { } +declare class IoIosNutritoutline extends React.Component<IconBaseProps> { } +export = IoIosNutritoutline; diff --git a/types/react-icons/lib/io/ios-paper-outline.d.ts b/types/react-icons/lib/io/ios-paper-outline.d.ts index f491c2a055..d1579a4653 100644 --- a/types/react-icons/lib/io/ios-paper-outline.d.ts +++ b/types/react-icons/lib/io/ios-paper-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPaperOutline extends React.Component<IconBaseProps> { } +declare class IoIosPaperOutline extends React.Component<IconBaseProps> { } +export = IoIosPaperOutline; diff --git a/types/react-icons/lib/io/ios-paper.d.ts b/types/react-icons/lib/io/ios-paper.d.ts index bf98a1330d..8213cddccb 100644 --- a/types/react-icons/lib/io/ios-paper.d.ts +++ b/types/react-icons/lib/io/ios-paper.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPaper extends React.Component<IconBaseProps> { } +declare class IoIosPaper extends React.Component<IconBaseProps> { } +export = IoIosPaper; diff --git a/types/react-icons/lib/io/ios-paperplane-outline.d.ts b/types/react-icons/lib/io/ios-paperplane-outline.d.ts index 381b337e35..5d04a87a3b 100644 --- a/types/react-icons/lib/io/ios-paperplane-outline.d.ts +++ b/types/react-icons/lib/io/ios-paperplane-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPaperplaneOutline extends React.Component<IconBaseProps> { } +declare class IoIosPaperplaneOutline extends React.Component<IconBaseProps> { } +export = IoIosPaperplaneOutline; diff --git a/types/react-icons/lib/io/ios-paperplane.d.ts b/types/react-icons/lib/io/ios-paperplane.d.ts index 3999ec063c..180221081d 100644 --- a/types/react-icons/lib/io/ios-paperplane.d.ts +++ b/types/react-icons/lib/io/ios-paperplane.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPaperplane extends React.Component<IconBaseProps> { } +declare class IoIosPaperplane extends React.Component<IconBaseProps> { } +export = IoIosPaperplane; diff --git a/types/react-icons/lib/io/ios-partlysunny-outline.d.ts b/types/react-icons/lib/io/ios-partlysunny-outline.d.ts index 96fddf3405..c0f6459de8 100644 --- a/types/react-icons/lib/io/ios-partlysunny-outline.d.ts +++ b/types/react-icons/lib/io/ios-partlysunny-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPartlysunnyOutline extends React.Component<IconBaseProps> { } +declare class IoIosPartlysunnyOutline extends React.Component<IconBaseProps> { } +export = IoIosPartlysunnyOutline; diff --git a/types/react-icons/lib/io/ios-partlysunny.d.ts b/types/react-icons/lib/io/ios-partlysunny.d.ts index f0f7b24a0f..569d0bc712 100644 --- a/types/react-icons/lib/io/ios-partlysunny.d.ts +++ b/types/react-icons/lib/io/ios-partlysunny.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPartlysunny extends React.Component<IconBaseProps> { } +declare class IoIosPartlysunny extends React.Component<IconBaseProps> { } +export = IoIosPartlysunny; diff --git a/types/react-icons/lib/io/ios-pause-outline.d.ts b/types/react-icons/lib/io/ios-pause-outline.d.ts index a3c096ec70..97bd9b6790 100644 --- a/types/react-icons/lib/io/ios-pause-outline.d.ts +++ b/types/react-icons/lib/io/ios-pause-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPauseOutline extends React.Component<IconBaseProps> { } +declare class IoIosPauseOutline extends React.Component<IconBaseProps> { } +export = IoIosPauseOutline; diff --git a/types/react-icons/lib/io/ios-pause.d.ts b/types/react-icons/lib/io/ios-pause.d.ts index 5be0dbb44e..414c36c5ee 100644 --- a/types/react-icons/lib/io/ios-pause.d.ts +++ b/types/react-icons/lib/io/ios-pause.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPause extends React.Component<IconBaseProps> { } +declare class IoIosPause extends React.Component<IconBaseProps> { } +export = IoIosPause; diff --git a/types/react-icons/lib/io/ios-paw-outline.d.ts b/types/react-icons/lib/io/ios-paw-outline.d.ts index 59ff2ba1f0..b6dc0e217b 100644 --- a/types/react-icons/lib/io/ios-paw-outline.d.ts +++ b/types/react-icons/lib/io/ios-paw-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPawOutline extends React.Component<IconBaseProps> { } +declare class IoIosPawOutline extends React.Component<IconBaseProps> { } +export = IoIosPawOutline; diff --git a/types/react-icons/lib/io/ios-paw.d.ts b/types/react-icons/lib/io/ios-paw.d.ts index 8907243697..80db78ab15 100644 --- a/types/react-icons/lib/io/ios-paw.d.ts +++ b/types/react-icons/lib/io/ios-paw.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPaw extends React.Component<IconBaseProps> { } +declare class IoIosPaw extends React.Component<IconBaseProps> { } +export = IoIosPaw; diff --git a/types/react-icons/lib/io/ios-people-outline.d.ts b/types/react-icons/lib/io/ios-people-outline.d.ts index fca7beebf0..d7b2d3b21b 100644 --- a/types/react-icons/lib/io/ios-people-outline.d.ts +++ b/types/react-icons/lib/io/ios-people-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPeopleOutline extends React.Component<IconBaseProps> { } +declare class IoIosPeopleOutline extends React.Component<IconBaseProps> { } +export = IoIosPeopleOutline; diff --git a/types/react-icons/lib/io/ios-people.d.ts b/types/react-icons/lib/io/ios-people.d.ts index 47167ca242..d80eb07bea 100644 --- a/types/react-icons/lib/io/ios-people.d.ts +++ b/types/react-icons/lib/io/ios-people.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPeople extends React.Component<IconBaseProps> { } +declare class IoIosPeople extends React.Component<IconBaseProps> { } +export = IoIosPeople; diff --git a/types/react-icons/lib/io/ios-person-outline.d.ts b/types/react-icons/lib/io/ios-person-outline.d.ts index d9dcad6337..d3418bba82 100644 --- a/types/react-icons/lib/io/ios-person-outline.d.ts +++ b/types/react-icons/lib/io/ios-person-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPersonOutline extends React.Component<IconBaseProps> { } +declare class IoIosPersonOutline extends React.Component<IconBaseProps> { } +export = IoIosPersonOutline; diff --git a/types/react-icons/lib/io/ios-person.d.ts b/types/react-icons/lib/io/ios-person.d.ts index c0a721cdc9..742a75f87f 100644 --- a/types/react-icons/lib/io/ios-person.d.ts +++ b/types/react-icons/lib/io/ios-person.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPerson extends React.Component<IconBaseProps> { } +declare class IoIosPerson extends React.Component<IconBaseProps> { } +export = IoIosPerson; diff --git a/types/react-icons/lib/io/ios-personadd-outline.d.ts b/types/react-icons/lib/io/ios-personadd-outline.d.ts index 0c2ef41134..da6f7ad817 100644 --- a/types/react-icons/lib/io/ios-personadd-outline.d.ts +++ b/types/react-icons/lib/io/ios-personadd-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPersonaddOutline extends React.Component<IconBaseProps> { } +declare class IoIosPersonaddOutline extends React.Component<IconBaseProps> { } +export = IoIosPersonaddOutline; diff --git a/types/react-icons/lib/io/ios-personadd.d.ts b/types/react-icons/lib/io/ios-personadd.d.ts index 76064513f6..2c2312066b 100644 --- a/types/react-icons/lib/io/ios-personadd.d.ts +++ b/types/react-icons/lib/io/ios-personadd.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPersonadd extends React.Component<IconBaseProps> { } +declare class IoIosPersonadd extends React.Component<IconBaseProps> { } +export = IoIosPersonadd; diff --git a/types/react-icons/lib/io/ios-photos-outline.d.ts b/types/react-icons/lib/io/ios-photos-outline.d.ts index b6bcf6e60a..95625f46dc 100644 --- a/types/react-icons/lib/io/ios-photos-outline.d.ts +++ b/types/react-icons/lib/io/ios-photos-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPhotosOutline extends React.Component<IconBaseProps> { } +declare class IoIosPhotosOutline extends React.Component<IconBaseProps> { } +export = IoIosPhotosOutline; diff --git a/types/react-icons/lib/io/ios-photos.d.ts b/types/react-icons/lib/io/ios-photos.d.ts index 1f4a1d7b0a..938e0fc00b 100644 --- a/types/react-icons/lib/io/ios-photos.d.ts +++ b/types/react-icons/lib/io/ios-photos.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPhotos extends React.Component<IconBaseProps> { } +declare class IoIosPhotos extends React.Component<IconBaseProps> { } +export = IoIosPhotos; diff --git a/types/react-icons/lib/io/ios-pie-outline.d.ts b/types/react-icons/lib/io/ios-pie-outline.d.ts index a370ac6e6e..cbe879f3a3 100644 --- a/types/react-icons/lib/io/ios-pie-outline.d.ts +++ b/types/react-icons/lib/io/ios-pie-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPieOutline extends React.Component<IconBaseProps> { } +declare class IoIosPieOutline extends React.Component<IconBaseProps> { } +export = IoIosPieOutline; diff --git a/types/react-icons/lib/io/ios-pie.d.ts b/types/react-icons/lib/io/ios-pie.d.ts index 4a1c78801a..0ac63e3ed9 100644 --- a/types/react-icons/lib/io/ios-pie.d.ts +++ b/types/react-icons/lib/io/ios-pie.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPie extends React.Component<IconBaseProps> { } +declare class IoIosPie extends React.Component<IconBaseProps> { } +export = IoIosPie; diff --git a/types/react-icons/lib/io/ios-pint-outline.d.ts b/types/react-icons/lib/io/ios-pint-outline.d.ts index d400fd801a..f32a6650f3 100644 --- a/types/react-icons/lib/io/ios-pint-outline.d.ts +++ b/types/react-icons/lib/io/ios-pint-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPintOutline extends React.Component<IconBaseProps> { } +declare class IoIosPintOutline extends React.Component<IconBaseProps> { } +export = IoIosPintOutline; diff --git a/types/react-icons/lib/io/ios-pint.d.ts b/types/react-icons/lib/io/ios-pint.d.ts index 21bd07ccd5..39f8fea7ba 100644 --- a/types/react-icons/lib/io/ios-pint.d.ts +++ b/types/react-icons/lib/io/ios-pint.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPint extends React.Component<IconBaseProps> { } +declare class IoIosPint extends React.Component<IconBaseProps> { } +export = IoIosPint; diff --git a/types/react-icons/lib/io/ios-play-outline.d.ts b/types/react-icons/lib/io/ios-play-outline.d.ts index 4c7a550e46..9f2b845a65 100644 --- a/types/react-icons/lib/io/ios-play-outline.d.ts +++ b/types/react-icons/lib/io/ios-play-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPlayOutline extends React.Component<IconBaseProps> { } +declare class IoIosPlayOutline extends React.Component<IconBaseProps> { } +export = IoIosPlayOutline; diff --git a/types/react-icons/lib/io/ios-play.d.ts b/types/react-icons/lib/io/ios-play.d.ts index 18f66a8f59..c4ea5f89df 100644 --- a/types/react-icons/lib/io/ios-play.d.ts +++ b/types/react-icons/lib/io/ios-play.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPlay extends React.Component<IconBaseProps> { } +declare class IoIosPlay extends React.Component<IconBaseProps> { } +export = IoIosPlay; diff --git a/types/react-icons/lib/io/ios-plus-empty.d.ts b/types/react-icons/lib/io/ios-plus-empty.d.ts index a7235d6322..8b84b5fce5 100644 --- a/types/react-icons/lib/io/ios-plus-empty.d.ts +++ b/types/react-icons/lib/io/ios-plus-empty.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPlusEmpty extends React.Component<IconBaseProps> { } +declare class IoIosPlusEmpty extends React.Component<IconBaseProps> { } +export = IoIosPlusEmpty; diff --git a/types/react-icons/lib/io/ios-plus-outline.d.ts b/types/react-icons/lib/io/ios-plus-outline.d.ts index 719bce1444..abe56b67b3 100644 --- a/types/react-icons/lib/io/ios-plus-outline.d.ts +++ b/types/react-icons/lib/io/ios-plus-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPlusOutline extends React.Component<IconBaseProps> { } +declare class IoIosPlusOutline extends React.Component<IconBaseProps> { } +export = IoIosPlusOutline; diff --git a/types/react-icons/lib/io/ios-plus.d.ts b/types/react-icons/lib/io/ios-plus.d.ts index 7d29ea3f40..a873d41eb9 100644 --- a/types/react-icons/lib/io/ios-plus.d.ts +++ b/types/react-icons/lib/io/ios-plus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPlus extends React.Component<IconBaseProps> { } +declare class IoIosPlus extends React.Component<IconBaseProps> { } +export = IoIosPlus; diff --git a/types/react-icons/lib/io/ios-pricetag-outline.d.ts b/types/react-icons/lib/io/ios-pricetag-outline.d.ts index 23a4c0c869..b019c2f832 100644 --- a/types/react-icons/lib/io/ios-pricetag-outline.d.ts +++ b/types/react-icons/lib/io/ios-pricetag-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPricetagOutline extends React.Component<IconBaseProps> { } +declare class IoIosPricetagOutline extends React.Component<IconBaseProps> { } +export = IoIosPricetagOutline; diff --git a/types/react-icons/lib/io/ios-pricetag.d.ts b/types/react-icons/lib/io/ios-pricetag.d.ts index 601743c434..e4de3e1503 100644 --- a/types/react-icons/lib/io/ios-pricetag.d.ts +++ b/types/react-icons/lib/io/ios-pricetag.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPricetag extends React.Component<IconBaseProps> { } +declare class IoIosPricetag extends React.Component<IconBaseProps> { } +export = IoIosPricetag; diff --git a/types/react-icons/lib/io/ios-pricetags-outline.d.ts b/types/react-icons/lib/io/ios-pricetags-outline.d.ts index 0e1e574dac..b138f8dc86 100644 --- a/types/react-icons/lib/io/ios-pricetags-outline.d.ts +++ b/types/react-icons/lib/io/ios-pricetags-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPricetagsOutline extends React.Component<IconBaseProps> { } +declare class IoIosPricetagsOutline extends React.Component<IconBaseProps> { } +export = IoIosPricetagsOutline; diff --git a/types/react-icons/lib/io/ios-pricetags.d.ts b/types/react-icons/lib/io/ios-pricetags.d.ts index 4cc3aebb75..6587e21167 100644 --- a/types/react-icons/lib/io/ios-pricetags.d.ts +++ b/types/react-icons/lib/io/ios-pricetags.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPricetags extends React.Component<IconBaseProps> { } +declare class IoIosPricetags extends React.Component<IconBaseProps> { } +export = IoIosPricetags; diff --git a/types/react-icons/lib/io/ios-printer-outline.d.ts b/types/react-icons/lib/io/ios-printer-outline.d.ts index d20dcedadf..d6925cf18f 100644 --- a/types/react-icons/lib/io/ios-printer-outline.d.ts +++ b/types/react-icons/lib/io/ios-printer-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPrinterOutline extends React.Component<IconBaseProps> { } +declare class IoIosPrinterOutline extends React.Component<IconBaseProps> { } +export = IoIosPrinterOutline; diff --git a/types/react-icons/lib/io/ios-printer.d.ts b/types/react-icons/lib/io/ios-printer.d.ts index dc9bccfb25..463ae865ba 100644 --- a/types/react-icons/lib/io/ios-printer.d.ts +++ b/types/react-icons/lib/io/ios-printer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPrinter extends React.Component<IconBaseProps> { } +declare class IoIosPrinter extends React.Component<IconBaseProps> { } +export = IoIosPrinter; diff --git a/types/react-icons/lib/io/ios-pulse-strong.d.ts b/types/react-icons/lib/io/ios-pulse-strong.d.ts index 8f7e12017a..c7cb6779bd 100644 --- a/types/react-icons/lib/io/ios-pulse-strong.d.ts +++ b/types/react-icons/lib/io/ios-pulse-strong.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPulseStrong extends React.Component<IconBaseProps> { } +declare class IoIosPulseStrong extends React.Component<IconBaseProps> { } +export = IoIosPulseStrong; diff --git a/types/react-icons/lib/io/ios-pulse.d.ts b/types/react-icons/lib/io/ios-pulse.d.ts index a7ff149ddf..28069451ed 100644 --- a/types/react-icons/lib/io/ios-pulse.d.ts +++ b/types/react-icons/lib/io/ios-pulse.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosPulse extends React.Component<IconBaseProps> { } +declare class IoIosPulse extends React.Component<IconBaseProps> { } +export = IoIosPulse; diff --git a/types/react-icons/lib/io/ios-rainy-outline.d.ts b/types/react-icons/lib/io/ios-rainy-outline.d.ts index 7e283d1cb3..4a41260cc0 100644 --- a/types/react-icons/lib/io/ios-rainy-outline.d.ts +++ b/types/react-icons/lib/io/ios-rainy-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosRainyOutline extends React.Component<IconBaseProps> { } +declare class IoIosRainyOutline extends React.Component<IconBaseProps> { } +export = IoIosRainyOutline; diff --git a/types/react-icons/lib/io/ios-rainy.d.ts b/types/react-icons/lib/io/ios-rainy.d.ts index a701475ef0..ae4c36367e 100644 --- a/types/react-icons/lib/io/ios-rainy.d.ts +++ b/types/react-icons/lib/io/ios-rainy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosRainy extends React.Component<IconBaseProps> { } +declare class IoIosRainy extends React.Component<IconBaseProps> { } +export = IoIosRainy; diff --git a/types/react-icons/lib/io/ios-recording-outline.d.ts b/types/react-icons/lib/io/ios-recording-outline.d.ts index 9fc2e6ffca..9b29082903 100644 --- a/types/react-icons/lib/io/ios-recording-outline.d.ts +++ b/types/react-icons/lib/io/ios-recording-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosRecordingOutline extends React.Component<IconBaseProps> { } +declare class IoIosRecordingOutline extends React.Component<IconBaseProps> { } +export = IoIosRecordingOutline; diff --git a/types/react-icons/lib/io/ios-recording.d.ts b/types/react-icons/lib/io/ios-recording.d.ts index 77d0e299cd..41f43eb0d2 100644 --- a/types/react-icons/lib/io/ios-recording.d.ts +++ b/types/react-icons/lib/io/ios-recording.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosRecording extends React.Component<IconBaseProps> { } +declare class IoIosRecording extends React.Component<IconBaseProps> { } +export = IoIosRecording; diff --git a/types/react-icons/lib/io/ios-redo-outline.d.ts b/types/react-icons/lib/io/ios-redo-outline.d.ts index 47bae67c99..5223876ed7 100644 --- a/types/react-icons/lib/io/ios-redo-outline.d.ts +++ b/types/react-icons/lib/io/ios-redo-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosRedoOutline extends React.Component<IconBaseProps> { } +declare class IoIosRedoOutline extends React.Component<IconBaseProps> { } +export = IoIosRedoOutline; diff --git a/types/react-icons/lib/io/ios-redo.d.ts b/types/react-icons/lib/io/ios-redo.d.ts index 0935996be6..cd7edf5608 100644 --- a/types/react-icons/lib/io/ios-redo.d.ts +++ b/types/react-icons/lib/io/ios-redo.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosRedo extends React.Component<IconBaseProps> { } +declare class IoIosRedo extends React.Component<IconBaseProps> { } +export = IoIosRedo; diff --git a/types/react-icons/lib/io/ios-refresh-empty.d.ts b/types/react-icons/lib/io/ios-refresh-empty.d.ts index 0e7f151339..52cf8d00f7 100644 --- a/types/react-icons/lib/io/ios-refresh-empty.d.ts +++ b/types/react-icons/lib/io/ios-refresh-empty.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosRefreshEmpty extends React.Component<IconBaseProps> { } +declare class IoIosRefreshEmpty extends React.Component<IconBaseProps> { } +export = IoIosRefreshEmpty; diff --git a/types/react-icons/lib/io/ios-refresh-outline.d.ts b/types/react-icons/lib/io/ios-refresh-outline.d.ts index 7679405065..f9678f6488 100644 --- a/types/react-icons/lib/io/ios-refresh-outline.d.ts +++ b/types/react-icons/lib/io/ios-refresh-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosRefreshOutline extends React.Component<IconBaseProps> { } +declare class IoIosRefreshOutline extends React.Component<IconBaseProps> { } +export = IoIosRefreshOutline; diff --git a/types/react-icons/lib/io/ios-refresh.d.ts b/types/react-icons/lib/io/ios-refresh.d.ts index 420affa507..303ee2a427 100644 --- a/types/react-icons/lib/io/ios-refresh.d.ts +++ b/types/react-icons/lib/io/ios-refresh.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosRefresh extends React.Component<IconBaseProps> { } +declare class IoIosRefresh extends React.Component<IconBaseProps> { } +export = IoIosRefresh; diff --git a/types/react-icons/lib/io/ios-reload.d.ts b/types/react-icons/lib/io/ios-reload.d.ts index 93e947db67..2a82caa3db 100644 --- a/types/react-icons/lib/io/ios-reload.d.ts +++ b/types/react-icons/lib/io/ios-reload.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosReload extends React.Component<IconBaseProps> { } +declare class IoIosReload extends React.Component<IconBaseProps> { } +export = IoIosReload; diff --git a/types/react-icons/lib/io/ios-reverse-camera-outline.d.ts b/types/react-icons/lib/io/ios-reverse-camera-outline.d.ts index 808d6ca0bf..1e3f277186 100644 --- a/types/react-icons/lib/io/ios-reverse-camera-outline.d.ts +++ b/types/react-icons/lib/io/ios-reverse-camera-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosReverseCameraOutline extends React.Component<IconBaseProps> { } +declare class IoIosReverseCameraOutline extends React.Component<IconBaseProps> { } +export = IoIosReverseCameraOutline; diff --git a/types/react-icons/lib/io/ios-reverse-camera.d.ts b/types/react-icons/lib/io/ios-reverse-camera.d.ts index 0e74f82ab0..ea5a99cf35 100644 --- a/types/react-icons/lib/io/ios-reverse-camera.d.ts +++ b/types/react-icons/lib/io/ios-reverse-camera.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosReverseCamera extends React.Component<IconBaseProps> { } +declare class IoIosReverseCamera extends React.Component<IconBaseProps> { } +export = IoIosReverseCamera; diff --git a/types/react-icons/lib/io/ios-rewind-outline.d.ts b/types/react-icons/lib/io/ios-rewind-outline.d.ts index dfc69fc86d..8c4435f4e3 100644 --- a/types/react-icons/lib/io/ios-rewind-outline.d.ts +++ b/types/react-icons/lib/io/ios-rewind-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosRewindOutline extends React.Component<IconBaseProps> { } +declare class IoIosRewindOutline extends React.Component<IconBaseProps> { } +export = IoIosRewindOutline; diff --git a/types/react-icons/lib/io/ios-rewind.d.ts b/types/react-icons/lib/io/ios-rewind.d.ts index 7f883de8bf..01793439e9 100644 --- a/types/react-icons/lib/io/ios-rewind.d.ts +++ b/types/react-icons/lib/io/ios-rewind.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosRewind extends React.Component<IconBaseProps> { } +declare class IoIosRewind extends React.Component<IconBaseProps> { } +export = IoIosRewind; diff --git a/types/react-icons/lib/io/ios-rose-outline.d.ts b/types/react-icons/lib/io/ios-rose-outline.d.ts index dc112023a5..5fb990a6e0 100644 --- a/types/react-icons/lib/io/ios-rose-outline.d.ts +++ b/types/react-icons/lib/io/ios-rose-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosRoseOutline extends React.Component<IconBaseProps> { } +declare class IoIosRoseOutline extends React.Component<IconBaseProps> { } +export = IoIosRoseOutline; diff --git a/types/react-icons/lib/io/ios-rose.d.ts b/types/react-icons/lib/io/ios-rose.d.ts index 8cd590321f..d7764d477a 100644 --- a/types/react-icons/lib/io/ios-rose.d.ts +++ b/types/react-icons/lib/io/ios-rose.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosRose extends React.Component<IconBaseProps> { } +declare class IoIosRose extends React.Component<IconBaseProps> { } +export = IoIosRose; diff --git a/types/react-icons/lib/io/ios-search-strong.d.ts b/types/react-icons/lib/io/ios-search-strong.d.ts index 3b0ab67ed2..b182f713a2 100644 --- a/types/react-icons/lib/io/ios-search-strong.d.ts +++ b/types/react-icons/lib/io/ios-search-strong.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosSearchStrong extends React.Component<IconBaseProps> { } +declare class IoIosSearchStrong extends React.Component<IconBaseProps> { } +export = IoIosSearchStrong; diff --git a/types/react-icons/lib/io/ios-search.d.ts b/types/react-icons/lib/io/ios-search.d.ts index bd95701f4d..e1a76af33b 100644 --- a/types/react-icons/lib/io/ios-search.d.ts +++ b/types/react-icons/lib/io/ios-search.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosSearch extends React.Component<IconBaseProps> { } +declare class IoIosSearch extends React.Component<IconBaseProps> { } +export = IoIosSearch; diff --git a/types/react-icons/lib/io/ios-settings-strong.d.ts b/types/react-icons/lib/io/ios-settings-strong.d.ts index 0bb6ef49aa..cdd4bb5c03 100644 --- a/types/react-icons/lib/io/ios-settings-strong.d.ts +++ b/types/react-icons/lib/io/ios-settings-strong.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosSettingsStrong extends React.Component<IconBaseProps> { } +declare class IoIosSettingsStrong extends React.Component<IconBaseProps> { } +export = IoIosSettingsStrong; diff --git a/types/react-icons/lib/io/ios-settings.d.ts b/types/react-icons/lib/io/ios-settings.d.ts index 26ff75fb04..76ac7176fb 100644 --- a/types/react-icons/lib/io/ios-settings.d.ts +++ b/types/react-icons/lib/io/ios-settings.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosSettings extends React.Component<IconBaseProps> { } +declare class IoIosSettings extends React.Component<IconBaseProps> { } +export = IoIosSettings; diff --git a/types/react-icons/lib/io/ios-shuffle-strong.d.ts b/types/react-icons/lib/io/ios-shuffle-strong.d.ts index 15d2841c2f..6868edf37d 100644 --- a/types/react-icons/lib/io/ios-shuffle-strong.d.ts +++ b/types/react-icons/lib/io/ios-shuffle-strong.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosShuffleStrong extends React.Component<IconBaseProps> { } +declare class IoIosShuffleStrong extends React.Component<IconBaseProps> { } +export = IoIosShuffleStrong; diff --git a/types/react-icons/lib/io/ios-shuffle.d.ts b/types/react-icons/lib/io/ios-shuffle.d.ts index 305b4ff79b..e06f262339 100644 --- a/types/react-icons/lib/io/ios-shuffle.d.ts +++ b/types/react-icons/lib/io/ios-shuffle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosShuffle extends React.Component<IconBaseProps> { } +declare class IoIosShuffle extends React.Component<IconBaseProps> { } +export = IoIosShuffle; diff --git a/types/react-icons/lib/io/ios-skipbackward-outline.d.ts b/types/react-icons/lib/io/ios-skipbackward-outline.d.ts index fa9db170bd..f9a71c7bcf 100644 --- a/types/react-icons/lib/io/ios-skipbackward-outline.d.ts +++ b/types/react-icons/lib/io/ios-skipbackward-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosSkipbackwardOutline extends React.Component<IconBaseProps> { } +declare class IoIosSkipbackwardOutline extends React.Component<IconBaseProps> { } +export = IoIosSkipbackwardOutline; diff --git a/types/react-icons/lib/io/ios-skipbackward.d.ts b/types/react-icons/lib/io/ios-skipbackward.d.ts index d9b009ed49..48e13dc7ad 100644 --- a/types/react-icons/lib/io/ios-skipbackward.d.ts +++ b/types/react-icons/lib/io/ios-skipbackward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosSkipbackward extends React.Component<IconBaseProps> { } +declare class IoIosSkipbackward extends React.Component<IconBaseProps> { } +export = IoIosSkipbackward; diff --git a/types/react-icons/lib/io/ios-skipforward-outline.d.ts b/types/react-icons/lib/io/ios-skipforward-outline.d.ts index 63c174f6b2..3d9f4bbb95 100644 --- a/types/react-icons/lib/io/ios-skipforward-outline.d.ts +++ b/types/react-icons/lib/io/ios-skipforward-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosSkipforwardOutline extends React.Component<IconBaseProps> { } +declare class IoIosSkipforwardOutline extends React.Component<IconBaseProps> { } +export = IoIosSkipforwardOutline; diff --git a/types/react-icons/lib/io/ios-skipforward.d.ts b/types/react-icons/lib/io/ios-skipforward.d.ts index 39ce459a57..7ffc3c5e45 100644 --- a/types/react-icons/lib/io/ios-skipforward.d.ts +++ b/types/react-icons/lib/io/ios-skipforward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosSkipforward extends React.Component<IconBaseProps> { } +declare class IoIosSkipforward extends React.Component<IconBaseProps> { } +export = IoIosSkipforward; diff --git a/types/react-icons/lib/io/ios-snowy.d.ts b/types/react-icons/lib/io/ios-snowy.d.ts index f55f087752..c142557efd 100644 --- a/types/react-icons/lib/io/ios-snowy.d.ts +++ b/types/react-icons/lib/io/ios-snowy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosSnowy extends React.Component<IconBaseProps> { } +declare class IoIosSnowy extends React.Component<IconBaseProps> { } +export = IoIosSnowy; diff --git a/types/react-icons/lib/io/ios-speedometer-outline.d.ts b/types/react-icons/lib/io/ios-speedometer-outline.d.ts index b0263dc761..fe30530881 100644 --- a/types/react-icons/lib/io/ios-speedometer-outline.d.ts +++ b/types/react-icons/lib/io/ios-speedometer-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosSpeedometerOutline extends React.Component<IconBaseProps> { } +declare class IoIosSpeedometerOutline extends React.Component<IconBaseProps> { } +export = IoIosSpeedometerOutline; diff --git a/types/react-icons/lib/io/ios-speedometer.d.ts b/types/react-icons/lib/io/ios-speedometer.d.ts index f5d6862d1a..57bde6cf81 100644 --- a/types/react-icons/lib/io/ios-speedometer.d.ts +++ b/types/react-icons/lib/io/ios-speedometer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosSpeedometer extends React.Component<IconBaseProps> { } +declare class IoIosSpeedometer extends React.Component<IconBaseProps> { } +export = IoIosSpeedometer; diff --git a/types/react-icons/lib/io/ios-star-half.d.ts b/types/react-icons/lib/io/ios-star-half.d.ts index 03adf4a4d2..8654211883 100644 --- a/types/react-icons/lib/io/ios-star-half.d.ts +++ b/types/react-icons/lib/io/ios-star-half.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosStarHalf extends React.Component<IconBaseProps> { } +declare class IoIosStarHalf extends React.Component<IconBaseProps> { } +export = IoIosStarHalf; diff --git a/types/react-icons/lib/io/ios-star-outline.d.ts b/types/react-icons/lib/io/ios-star-outline.d.ts index 61dfe85fc1..96a337becf 100644 --- a/types/react-icons/lib/io/ios-star-outline.d.ts +++ b/types/react-icons/lib/io/ios-star-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosStarOutline extends React.Component<IconBaseProps> { } +declare class IoIosStarOutline extends React.Component<IconBaseProps> { } +export = IoIosStarOutline; diff --git a/types/react-icons/lib/io/ios-star.d.ts b/types/react-icons/lib/io/ios-star.d.ts index 763d68d34c..4187ae15ff 100644 --- a/types/react-icons/lib/io/ios-star.d.ts +++ b/types/react-icons/lib/io/ios-star.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosStar extends React.Component<IconBaseProps> { } +declare class IoIosStar extends React.Component<IconBaseProps> { } +export = IoIosStar; diff --git a/types/react-icons/lib/io/ios-stopwatch-outline.d.ts b/types/react-icons/lib/io/ios-stopwatch-outline.d.ts index 73a9091d13..0486f760d2 100644 --- a/types/react-icons/lib/io/ios-stopwatch-outline.d.ts +++ b/types/react-icons/lib/io/ios-stopwatch-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosStopwatchOutline extends React.Component<IconBaseProps> { } +declare class IoIosStopwatchOutline extends React.Component<IconBaseProps> { } +export = IoIosStopwatchOutline; diff --git a/types/react-icons/lib/io/ios-stopwatch.d.ts b/types/react-icons/lib/io/ios-stopwatch.d.ts index 27bf6e3b40..b2d9823c11 100644 --- a/types/react-icons/lib/io/ios-stopwatch.d.ts +++ b/types/react-icons/lib/io/ios-stopwatch.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosStopwatch extends React.Component<IconBaseProps> { } +declare class IoIosStopwatch extends React.Component<IconBaseProps> { } +export = IoIosStopwatch; diff --git a/types/react-icons/lib/io/ios-sunny-outline.d.ts b/types/react-icons/lib/io/ios-sunny-outline.d.ts index 6c1f62f799..8638d5a738 100644 --- a/types/react-icons/lib/io/ios-sunny-outline.d.ts +++ b/types/react-icons/lib/io/ios-sunny-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosSunnyOutline extends React.Component<IconBaseProps> { } +declare class IoIosSunnyOutline extends React.Component<IconBaseProps> { } +export = IoIosSunnyOutline; diff --git a/types/react-icons/lib/io/ios-sunny.d.ts b/types/react-icons/lib/io/ios-sunny.d.ts index e570cdf17c..3993cf8f2e 100644 --- a/types/react-icons/lib/io/ios-sunny.d.ts +++ b/types/react-icons/lib/io/ios-sunny.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosSunny extends React.Component<IconBaseProps> { } +declare class IoIosSunny extends React.Component<IconBaseProps> { } +export = IoIosSunny; diff --git a/types/react-icons/lib/io/ios-telephone-outline.d.ts b/types/react-icons/lib/io/ios-telephone-outline.d.ts index 91d22539d0..9566ebbe70 100644 --- a/types/react-icons/lib/io/ios-telephone-outline.d.ts +++ b/types/react-icons/lib/io/ios-telephone-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosTelephoneOutline extends React.Component<IconBaseProps> { } +declare class IoIosTelephoneOutline extends React.Component<IconBaseProps> { } +export = IoIosTelephoneOutline; diff --git a/types/react-icons/lib/io/ios-telephone.d.ts b/types/react-icons/lib/io/ios-telephone.d.ts index 349826b187..6e8b47eacf 100644 --- a/types/react-icons/lib/io/ios-telephone.d.ts +++ b/types/react-icons/lib/io/ios-telephone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosTelephone extends React.Component<IconBaseProps> { } +declare class IoIosTelephone extends React.Component<IconBaseProps> { } +export = IoIosTelephone; diff --git a/types/react-icons/lib/io/ios-tennisball-outline.d.ts b/types/react-icons/lib/io/ios-tennisball-outline.d.ts index df889878d4..469243b80e 100644 --- a/types/react-icons/lib/io/ios-tennisball-outline.d.ts +++ b/types/react-icons/lib/io/ios-tennisball-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosTennisballOutline extends React.Component<IconBaseProps> { } +declare class IoIosTennisballOutline extends React.Component<IconBaseProps> { } +export = IoIosTennisballOutline; diff --git a/types/react-icons/lib/io/ios-tennisball.d.ts b/types/react-icons/lib/io/ios-tennisball.d.ts index 177485e5ea..eb0fa83b49 100644 --- a/types/react-icons/lib/io/ios-tennisball.d.ts +++ b/types/react-icons/lib/io/ios-tennisball.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosTennisball extends React.Component<IconBaseProps> { } +declare class IoIosTennisball extends React.Component<IconBaseProps> { } +export = IoIosTennisball; diff --git a/types/react-icons/lib/io/ios-thunderstorm-outline.d.ts b/types/react-icons/lib/io/ios-thunderstorm-outline.d.ts index ac3f8120a7..8d977d2ebe 100644 --- a/types/react-icons/lib/io/ios-thunderstorm-outline.d.ts +++ b/types/react-icons/lib/io/ios-thunderstorm-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosThunderstormOutline extends React.Component<IconBaseProps> { } +declare class IoIosThunderstormOutline extends React.Component<IconBaseProps> { } +export = IoIosThunderstormOutline; diff --git a/types/react-icons/lib/io/ios-thunderstorm.d.ts b/types/react-icons/lib/io/ios-thunderstorm.d.ts index 9612dc49cc..fee0ea6196 100644 --- a/types/react-icons/lib/io/ios-thunderstorm.d.ts +++ b/types/react-icons/lib/io/ios-thunderstorm.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosThunderstorm extends React.Component<IconBaseProps> { } +declare class IoIosThunderstorm extends React.Component<IconBaseProps> { } +export = IoIosThunderstorm; diff --git a/types/react-icons/lib/io/ios-time-outline.d.ts b/types/react-icons/lib/io/ios-time-outline.d.ts index 8067387f05..cb363cf705 100644 --- a/types/react-icons/lib/io/ios-time-outline.d.ts +++ b/types/react-icons/lib/io/ios-time-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosTimeOutline extends React.Component<IconBaseProps> { } +declare class IoIosTimeOutline extends React.Component<IconBaseProps> { } +export = IoIosTimeOutline; diff --git a/types/react-icons/lib/io/ios-time.d.ts b/types/react-icons/lib/io/ios-time.d.ts index cdc944bd0b..f0695cc3e2 100644 --- a/types/react-icons/lib/io/ios-time.d.ts +++ b/types/react-icons/lib/io/ios-time.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosTime extends React.Component<IconBaseProps> { } +declare class IoIosTime extends React.Component<IconBaseProps> { } +export = IoIosTime; diff --git a/types/react-icons/lib/io/ios-timer-outline.d.ts b/types/react-icons/lib/io/ios-timer-outline.d.ts index 21b2cdca0f..901b60f19e 100644 --- a/types/react-icons/lib/io/ios-timer-outline.d.ts +++ b/types/react-icons/lib/io/ios-timer-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosTimerOutline extends React.Component<IconBaseProps> { } +declare class IoIosTimerOutline extends React.Component<IconBaseProps> { } +export = IoIosTimerOutline; diff --git a/types/react-icons/lib/io/ios-timer.d.ts b/types/react-icons/lib/io/ios-timer.d.ts index 729f3f79d4..5f1b5b7583 100644 --- a/types/react-icons/lib/io/ios-timer.d.ts +++ b/types/react-icons/lib/io/ios-timer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosTimer extends React.Component<IconBaseProps> { } +declare class IoIosTimer extends React.Component<IconBaseProps> { } +export = IoIosTimer; diff --git a/types/react-icons/lib/io/ios-toggle-outline.d.ts b/types/react-icons/lib/io/ios-toggle-outline.d.ts index fa23191d8c..9e6db326b7 100644 --- a/types/react-icons/lib/io/ios-toggle-outline.d.ts +++ b/types/react-icons/lib/io/ios-toggle-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosToggleOutline extends React.Component<IconBaseProps> { } +declare class IoIosToggleOutline extends React.Component<IconBaseProps> { } +export = IoIosToggleOutline; diff --git a/types/react-icons/lib/io/ios-toggle.d.ts b/types/react-icons/lib/io/ios-toggle.d.ts index e01579ec53..0cb2bec203 100644 --- a/types/react-icons/lib/io/ios-toggle.d.ts +++ b/types/react-icons/lib/io/ios-toggle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosToggle extends React.Component<IconBaseProps> { } +declare class IoIosToggle extends React.Component<IconBaseProps> { } +export = IoIosToggle; diff --git a/types/react-icons/lib/io/ios-trash-outline.d.ts b/types/react-icons/lib/io/ios-trash-outline.d.ts index 55412f0ae2..87f7970799 100644 --- a/types/react-icons/lib/io/ios-trash-outline.d.ts +++ b/types/react-icons/lib/io/ios-trash-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosTrashOutline extends React.Component<IconBaseProps> { } +declare class IoIosTrashOutline extends React.Component<IconBaseProps> { } +export = IoIosTrashOutline; diff --git a/types/react-icons/lib/io/ios-trash.d.ts b/types/react-icons/lib/io/ios-trash.d.ts index 296e42671e..41ae428e61 100644 --- a/types/react-icons/lib/io/ios-trash.d.ts +++ b/types/react-icons/lib/io/ios-trash.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosTrash extends React.Component<IconBaseProps> { } +declare class IoIosTrash extends React.Component<IconBaseProps> { } +export = IoIosTrash; diff --git a/types/react-icons/lib/io/ios-undo-outline.d.ts b/types/react-icons/lib/io/ios-undo-outline.d.ts index 093074d857..f4c5958de8 100644 --- a/types/react-icons/lib/io/ios-undo-outline.d.ts +++ b/types/react-icons/lib/io/ios-undo-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosUndoOutline extends React.Component<IconBaseProps> { } +declare class IoIosUndoOutline extends React.Component<IconBaseProps> { } +export = IoIosUndoOutline; diff --git a/types/react-icons/lib/io/ios-undo.d.ts b/types/react-icons/lib/io/ios-undo.d.ts index 4bcdef2e88..6f17b7375b 100644 --- a/types/react-icons/lib/io/ios-undo.d.ts +++ b/types/react-icons/lib/io/ios-undo.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosUndo extends React.Component<IconBaseProps> { } +declare class IoIosUndo extends React.Component<IconBaseProps> { } +export = IoIosUndo; diff --git a/types/react-icons/lib/io/ios-unlocked-outline.d.ts b/types/react-icons/lib/io/ios-unlocked-outline.d.ts index d14b0f7ffc..950ada1a97 100644 --- a/types/react-icons/lib/io/ios-unlocked-outline.d.ts +++ b/types/react-icons/lib/io/ios-unlocked-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosUnlockedOutline extends React.Component<IconBaseProps> { } +declare class IoIosUnlockedOutline extends React.Component<IconBaseProps> { } +export = IoIosUnlockedOutline; diff --git a/types/react-icons/lib/io/ios-unlocked.d.ts b/types/react-icons/lib/io/ios-unlocked.d.ts index d873e5f8d1..d7c8ac1110 100644 --- a/types/react-icons/lib/io/ios-unlocked.d.ts +++ b/types/react-icons/lib/io/ios-unlocked.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosUnlocked extends React.Component<IconBaseProps> { } +declare class IoIosUnlocked extends React.Component<IconBaseProps> { } +export = IoIosUnlocked; diff --git a/types/react-icons/lib/io/ios-upload-outline.d.ts b/types/react-icons/lib/io/ios-upload-outline.d.ts index 5f397a2bd8..04dd2108f5 100644 --- a/types/react-icons/lib/io/ios-upload-outline.d.ts +++ b/types/react-icons/lib/io/ios-upload-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosUploadOutline extends React.Component<IconBaseProps> { } +declare class IoIosUploadOutline extends React.Component<IconBaseProps> { } +export = IoIosUploadOutline; diff --git a/types/react-icons/lib/io/ios-upload.d.ts b/types/react-icons/lib/io/ios-upload.d.ts index 5b9acf6b9c..355a35d459 100644 --- a/types/react-icons/lib/io/ios-upload.d.ts +++ b/types/react-icons/lib/io/ios-upload.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosUpload extends React.Component<IconBaseProps> { } +declare class IoIosUpload extends React.Component<IconBaseProps> { } +export = IoIosUpload; diff --git a/types/react-icons/lib/io/ios-videocam-outline.d.ts b/types/react-icons/lib/io/ios-videocam-outline.d.ts index 96fac95c0e..e530729768 100644 --- a/types/react-icons/lib/io/ios-videocam-outline.d.ts +++ b/types/react-icons/lib/io/ios-videocam-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosVideocamOutline extends React.Component<IconBaseProps> { } +declare class IoIosVideocamOutline extends React.Component<IconBaseProps> { } +export = IoIosVideocamOutline; diff --git a/types/react-icons/lib/io/ios-videocam.d.ts b/types/react-icons/lib/io/ios-videocam.d.ts index a55ede9155..816ebb388b 100644 --- a/types/react-icons/lib/io/ios-videocam.d.ts +++ b/types/react-icons/lib/io/ios-videocam.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosVideocam extends React.Component<IconBaseProps> { } +declare class IoIosVideocam extends React.Component<IconBaseProps> { } +export = IoIosVideocam; diff --git a/types/react-icons/lib/io/ios-volume-high.d.ts b/types/react-icons/lib/io/ios-volume-high.d.ts index 9ae46e1936..9995c03916 100644 --- a/types/react-icons/lib/io/ios-volume-high.d.ts +++ b/types/react-icons/lib/io/ios-volume-high.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosVolumeHigh extends React.Component<IconBaseProps> { } +declare class IoIosVolumeHigh extends React.Component<IconBaseProps> { } +export = IoIosVolumeHigh; diff --git a/types/react-icons/lib/io/ios-volume-low.d.ts b/types/react-icons/lib/io/ios-volume-low.d.ts index 402ee999cb..829e862b24 100644 --- a/types/react-icons/lib/io/ios-volume-low.d.ts +++ b/types/react-icons/lib/io/ios-volume-low.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosVolumeLow extends React.Component<IconBaseProps> { } +declare class IoIosVolumeLow extends React.Component<IconBaseProps> { } +export = IoIosVolumeLow; diff --git a/types/react-icons/lib/io/ios-wineglass-outline.d.ts b/types/react-icons/lib/io/ios-wineglass-outline.d.ts index 3e34e8f73d..f4bf78ca4e 100644 --- a/types/react-icons/lib/io/ios-wineglass-outline.d.ts +++ b/types/react-icons/lib/io/ios-wineglass-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosWineglassOutline extends React.Component<IconBaseProps> { } +declare class IoIosWineglassOutline extends React.Component<IconBaseProps> { } +export = IoIosWineglassOutline; diff --git a/types/react-icons/lib/io/ios-wineglass.d.ts b/types/react-icons/lib/io/ios-wineglass.d.ts index aaf3e6bd56..af091597cc 100644 --- a/types/react-icons/lib/io/ios-wineglass.d.ts +++ b/types/react-icons/lib/io/ios-wineglass.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosWineglass extends React.Component<IconBaseProps> { } +declare class IoIosWineglass extends React.Component<IconBaseProps> { } +export = IoIosWineglass; diff --git a/types/react-icons/lib/io/ios-world-outline.d.ts b/types/react-icons/lib/io/ios-world-outline.d.ts index 4b5d4ab7b1..55e2b6d7e8 100644 --- a/types/react-icons/lib/io/ios-world-outline.d.ts +++ b/types/react-icons/lib/io/ios-world-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosWorldOutline extends React.Component<IconBaseProps> { } +declare class IoIosWorldOutline extends React.Component<IconBaseProps> { } +export = IoIosWorldOutline; diff --git a/types/react-icons/lib/io/ios-world.d.ts b/types/react-icons/lib/io/ios-world.d.ts index 6a2b5a3392..c00b081e91 100644 --- a/types/react-icons/lib/io/ios-world.d.ts +++ b/types/react-icons/lib/io/ios-world.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIosWorld extends React.Component<IconBaseProps> { } +declare class IoIosWorld extends React.Component<IconBaseProps> { } +export = IoIosWorld; diff --git a/types/react-icons/lib/io/ipad.d.ts b/types/react-icons/lib/io/ipad.d.ts index 5f534f3a70..97ef83ed9f 100644 --- a/types/react-icons/lib/io/ipad.d.ts +++ b/types/react-icons/lib/io/ipad.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIpad extends React.Component<IconBaseProps> { } +declare class IoIpad extends React.Component<IconBaseProps> { } +export = IoIpad; diff --git a/types/react-icons/lib/io/iphone.d.ts b/types/react-icons/lib/io/iphone.d.ts index 4b4fc084d6..068e6d873f 100644 --- a/types/react-icons/lib/io/iphone.d.ts +++ b/types/react-icons/lib/io/iphone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIphone extends React.Component<IconBaseProps> { } +declare class IoIphone extends React.Component<IconBaseProps> { } +export = IoIphone; diff --git a/types/react-icons/lib/io/ipod.d.ts b/types/react-icons/lib/io/ipod.d.ts index 793b8f7f92..d88bcfd2e8 100644 --- a/types/react-icons/lib/io/ipod.d.ts +++ b/types/react-icons/lib/io/ipod.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoIpod extends React.Component<IconBaseProps> { } +declare class IoIpod extends React.Component<IconBaseProps> { } +export = IoIpod; diff --git a/types/react-icons/lib/io/jet.d.ts b/types/react-icons/lib/io/jet.d.ts index 7f8ef429e2..c5a5d952d4 100644 --- a/types/react-icons/lib/io/jet.d.ts +++ b/types/react-icons/lib/io/jet.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoJet extends React.Component<IconBaseProps> { } +declare class IoJet extends React.Component<IconBaseProps> { } +export = IoJet; diff --git a/types/react-icons/lib/io/key.d.ts b/types/react-icons/lib/io/key.d.ts index 8a84a24518..603fe5ce7f 100644 --- a/types/react-icons/lib/io/key.d.ts +++ b/types/react-icons/lib/io/key.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoKey extends React.Component<IconBaseProps> { } +declare class IoKey extends React.Component<IconBaseProps> { } +export = IoKey; diff --git a/types/react-icons/lib/io/knife.d.ts b/types/react-icons/lib/io/knife.d.ts index f9683f399b..9318e4eaef 100644 --- a/types/react-icons/lib/io/knife.d.ts +++ b/types/react-icons/lib/io/knife.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoKnife extends React.Component<IconBaseProps> { } +declare class IoKnife extends React.Component<IconBaseProps> { } +export = IoKnife; diff --git a/types/react-icons/lib/io/laptop.d.ts b/types/react-icons/lib/io/laptop.d.ts index ffd3252609..51c058f363 100644 --- a/types/react-icons/lib/io/laptop.d.ts +++ b/types/react-icons/lib/io/laptop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoLaptop extends React.Component<IconBaseProps> { } +declare class IoLaptop extends React.Component<IconBaseProps> { } +export = IoLaptop; diff --git a/types/react-icons/lib/io/leaf.d.ts b/types/react-icons/lib/io/leaf.d.ts index bc0235a24a..19203a67de 100644 --- a/types/react-icons/lib/io/leaf.d.ts +++ b/types/react-icons/lib/io/leaf.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoLeaf extends React.Component<IconBaseProps> { } +declare class IoLeaf extends React.Component<IconBaseProps> { } +export = IoLeaf; diff --git a/types/react-icons/lib/io/levels.d.ts b/types/react-icons/lib/io/levels.d.ts index 0bd2e2c1e9..5638dc6579 100644 --- a/types/react-icons/lib/io/levels.d.ts +++ b/types/react-icons/lib/io/levels.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoLevels extends React.Component<IconBaseProps> { } +declare class IoLevels extends React.Component<IconBaseProps> { } +export = IoLevels; diff --git a/types/react-icons/lib/io/lightbulb.d.ts b/types/react-icons/lib/io/lightbulb.d.ts index c16e16a2fa..af434a2ba2 100644 --- a/types/react-icons/lib/io/lightbulb.d.ts +++ b/types/react-icons/lib/io/lightbulb.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoLightbulb extends React.Component<IconBaseProps> { } +declare class IoLightbulb extends React.Component<IconBaseProps> { } +export = IoLightbulb; diff --git a/types/react-icons/lib/io/link.d.ts b/types/react-icons/lib/io/link.d.ts index c0c376d736..fddbe7cb56 100644 --- a/types/react-icons/lib/io/link.d.ts +++ b/types/react-icons/lib/io/link.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoLink extends React.Component<IconBaseProps> { } +declare class IoLink extends React.Component<IconBaseProps> { } +export = IoLink; diff --git a/types/react-icons/lib/io/load-a.d.ts b/types/react-icons/lib/io/load-a.d.ts index bf0b3ec100..f82360e687 100644 --- a/types/react-icons/lib/io/load-a.d.ts +++ b/types/react-icons/lib/io/load-a.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoLoadA extends React.Component<IconBaseProps> { } +declare class IoLoadA extends React.Component<IconBaseProps> { } +export = IoLoadA; diff --git a/types/react-icons/lib/io/load-b.d.ts b/types/react-icons/lib/io/load-b.d.ts index 85dcae989a..65baa4d442 100644 --- a/types/react-icons/lib/io/load-b.d.ts +++ b/types/react-icons/lib/io/load-b.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoLoadB extends React.Component<IconBaseProps> { } +declare class IoLoadB extends React.Component<IconBaseProps> { } +export = IoLoadB; diff --git a/types/react-icons/lib/io/load-c.d.ts b/types/react-icons/lib/io/load-c.d.ts index 733dff4bfa..7c74e2c274 100644 --- a/types/react-icons/lib/io/load-c.d.ts +++ b/types/react-icons/lib/io/load-c.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoLoadC extends React.Component<IconBaseProps> { } +declare class IoLoadC extends React.Component<IconBaseProps> { } +export = IoLoadC; diff --git a/types/react-icons/lib/io/load-d.d.ts b/types/react-icons/lib/io/load-d.d.ts index 160d71b383..36c6555c24 100644 --- a/types/react-icons/lib/io/load-d.d.ts +++ b/types/react-icons/lib/io/load-d.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoLoadD extends React.Component<IconBaseProps> { } +declare class IoLoadD extends React.Component<IconBaseProps> { } +export = IoLoadD; diff --git a/types/react-icons/lib/io/location.d.ts b/types/react-icons/lib/io/location.d.ts index 04e657adc4..8726374947 100644 --- a/types/react-icons/lib/io/location.d.ts +++ b/types/react-icons/lib/io/location.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoLocation extends React.Component<IconBaseProps> { } +declare class IoLocation extends React.Component<IconBaseProps> { } +export = IoLocation; diff --git a/types/react-icons/lib/io/lock-combination.d.ts b/types/react-icons/lib/io/lock-combination.d.ts index d25e21ded1..b3f04cc24f 100644 --- a/types/react-icons/lib/io/lock-combination.d.ts +++ b/types/react-icons/lib/io/lock-combination.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoLockCombination extends React.Component<IconBaseProps> { } +declare class IoLockCombination extends React.Component<IconBaseProps> { } +export = IoLockCombination; diff --git a/types/react-icons/lib/io/locked.d.ts b/types/react-icons/lib/io/locked.d.ts index db82275a8e..b3a945c76d 100644 --- a/types/react-icons/lib/io/locked.d.ts +++ b/types/react-icons/lib/io/locked.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoLocked extends React.Component<IconBaseProps> { } +declare class IoLocked extends React.Component<IconBaseProps> { } +export = IoLocked; diff --git a/types/react-icons/lib/io/log-in.d.ts b/types/react-icons/lib/io/log-in.d.ts index bb045baf8e..895a82e0c5 100644 --- a/types/react-icons/lib/io/log-in.d.ts +++ b/types/react-icons/lib/io/log-in.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoLogIn extends React.Component<IconBaseProps> { } +declare class IoLogIn extends React.Component<IconBaseProps> { } +export = IoLogIn; diff --git a/types/react-icons/lib/io/log-out.d.ts b/types/react-icons/lib/io/log-out.d.ts index 0374ff539d..70c0aa1a31 100644 --- a/types/react-icons/lib/io/log-out.d.ts +++ b/types/react-icons/lib/io/log-out.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoLogOut extends React.Component<IconBaseProps> { } +declare class IoLogOut extends React.Component<IconBaseProps> { } +export = IoLogOut; diff --git a/types/react-icons/lib/io/loop.d.ts b/types/react-icons/lib/io/loop.d.ts index 2f5d563c07..39d3bb6092 100644 --- a/types/react-icons/lib/io/loop.d.ts +++ b/types/react-icons/lib/io/loop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoLoop extends React.Component<IconBaseProps> { } +declare class IoLoop extends React.Component<IconBaseProps> { } +export = IoLoop; diff --git a/types/react-icons/lib/io/magnet.d.ts b/types/react-icons/lib/io/magnet.d.ts index b8625a2ccf..8730d8a15e 100644 --- a/types/react-icons/lib/io/magnet.d.ts +++ b/types/react-icons/lib/io/magnet.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoMagnet extends React.Component<IconBaseProps> { } +declare class IoMagnet extends React.Component<IconBaseProps> { } +export = IoMagnet; diff --git a/types/react-icons/lib/io/male.d.ts b/types/react-icons/lib/io/male.d.ts index 62bfbd5067..641a13b861 100644 --- a/types/react-icons/lib/io/male.d.ts +++ b/types/react-icons/lib/io/male.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoMale extends React.Component<IconBaseProps> { } +declare class IoMale extends React.Component<IconBaseProps> { } +export = IoMale; diff --git a/types/react-icons/lib/io/man.d.ts b/types/react-icons/lib/io/man.d.ts index 2770ac14e2..5c2f70ac23 100644 --- a/types/react-icons/lib/io/man.d.ts +++ b/types/react-icons/lib/io/man.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoMan extends React.Component<IconBaseProps> { } +declare class IoMan extends React.Component<IconBaseProps> { } +export = IoMan; diff --git a/types/react-icons/lib/io/map.d.ts b/types/react-icons/lib/io/map.d.ts index 4c48512de6..f00ba0c8a7 100644 --- a/types/react-icons/lib/io/map.d.ts +++ b/types/react-icons/lib/io/map.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoMap extends React.Component<IconBaseProps> { } +declare class IoMap extends React.Component<IconBaseProps> { } +export = IoMap; diff --git a/types/react-icons/lib/io/medkit.d.ts b/types/react-icons/lib/io/medkit.d.ts index e15728387c..eadeea513f 100644 --- a/types/react-icons/lib/io/medkit.d.ts +++ b/types/react-icons/lib/io/medkit.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoMedkit extends React.Component<IconBaseProps> { } +declare class IoMedkit extends React.Component<IconBaseProps> { } +export = IoMedkit; diff --git a/types/react-icons/lib/io/merge.d.ts b/types/react-icons/lib/io/merge.d.ts index 6a41308d9b..60cc718787 100644 --- a/types/react-icons/lib/io/merge.d.ts +++ b/types/react-icons/lib/io/merge.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoMerge extends React.Component<IconBaseProps> { } +declare class IoMerge extends React.Component<IconBaseProps> { } +export = IoMerge; diff --git a/types/react-icons/lib/io/mic-a.d.ts b/types/react-icons/lib/io/mic-a.d.ts index c5cf11831d..ca862a054e 100644 --- a/types/react-icons/lib/io/mic-a.d.ts +++ b/types/react-icons/lib/io/mic-a.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoMicA extends React.Component<IconBaseProps> { } +declare class IoMicA extends React.Component<IconBaseProps> { } +export = IoMicA; diff --git a/types/react-icons/lib/io/mic-b.d.ts b/types/react-icons/lib/io/mic-b.d.ts index 68a0acf707..8c195c04c6 100644 --- a/types/react-icons/lib/io/mic-b.d.ts +++ b/types/react-icons/lib/io/mic-b.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoMicB extends React.Component<IconBaseProps> { } +declare class IoMicB extends React.Component<IconBaseProps> { } +export = IoMicB; diff --git a/types/react-icons/lib/io/mic-c.d.ts b/types/react-icons/lib/io/mic-c.d.ts index 2d8ddc3be6..0f490c8680 100644 --- a/types/react-icons/lib/io/mic-c.d.ts +++ b/types/react-icons/lib/io/mic-c.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoMicC extends React.Component<IconBaseProps> { } +declare class IoMicC extends React.Component<IconBaseProps> { } +export = IoMicC; diff --git a/types/react-icons/lib/io/minus-circled.d.ts b/types/react-icons/lib/io/minus-circled.d.ts index 1b5edd59e7..2e20d731a1 100644 --- a/types/react-icons/lib/io/minus-circled.d.ts +++ b/types/react-icons/lib/io/minus-circled.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoMinusCircled extends React.Component<IconBaseProps> { } +declare class IoMinusCircled extends React.Component<IconBaseProps> { } +export = IoMinusCircled; diff --git a/types/react-icons/lib/io/minus-round.d.ts b/types/react-icons/lib/io/minus-round.d.ts index 1a75a9c5d4..e6363e0ab7 100644 --- a/types/react-icons/lib/io/minus-round.d.ts +++ b/types/react-icons/lib/io/minus-round.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoMinusRound extends React.Component<IconBaseProps> { } +declare class IoMinusRound extends React.Component<IconBaseProps> { } +export = IoMinusRound; diff --git a/types/react-icons/lib/io/minus.d.ts b/types/react-icons/lib/io/minus.d.ts index ee58f016db..5b0202abd2 100644 --- a/types/react-icons/lib/io/minus.d.ts +++ b/types/react-icons/lib/io/minus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoMinus extends React.Component<IconBaseProps> { } +declare class IoMinus extends React.Component<IconBaseProps> { } +export = IoMinus; diff --git a/types/react-icons/lib/io/model-s.d.ts b/types/react-icons/lib/io/model-s.d.ts index 567219cde6..7d9e3b5c77 100644 --- a/types/react-icons/lib/io/model-s.d.ts +++ b/types/react-icons/lib/io/model-s.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoModelS extends React.Component<IconBaseProps> { } +declare class IoModelS extends React.Component<IconBaseProps> { } +export = IoModelS; diff --git a/types/react-icons/lib/io/monitor.d.ts b/types/react-icons/lib/io/monitor.d.ts index 3454bea09f..6c639ee9fe 100644 --- a/types/react-icons/lib/io/monitor.d.ts +++ b/types/react-icons/lib/io/monitor.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoMonitor extends React.Component<IconBaseProps> { } +declare class IoMonitor extends React.Component<IconBaseProps> { } +export = IoMonitor; diff --git a/types/react-icons/lib/io/more.d.ts b/types/react-icons/lib/io/more.d.ts index 2c528b5bae..b13a7f1141 100644 --- a/types/react-icons/lib/io/more.d.ts +++ b/types/react-icons/lib/io/more.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoMore extends React.Component<IconBaseProps> { } +declare class IoMore extends React.Component<IconBaseProps> { } +export = IoMore; diff --git a/types/react-icons/lib/io/mouse.d.ts b/types/react-icons/lib/io/mouse.d.ts index af862564ba..077fe8ddaf 100644 --- a/types/react-icons/lib/io/mouse.d.ts +++ b/types/react-icons/lib/io/mouse.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoMouse extends React.Component<IconBaseProps> { } +declare class IoMouse extends React.Component<IconBaseProps> { } +export = IoMouse; diff --git a/types/react-icons/lib/io/music-note.d.ts b/types/react-icons/lib/io/music-note.d.ts index 92875eb08a..eacac097b2 100644 --- a/types/react-icons/lib/io/music-note.d.ts +++ b/types/react-icons/lib/io/music-note.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoMusicNote extends React.Component<IconBaseProps> { } +declare class IoMusicNote extends React.Component<IconBaseProps> { } +export = IoMusicNote; diff --git a/types/react-icons/lib/io/navicon-round.d.ts b/types/react-icons/lib/io/navicon-round.d.ts index 5d1bc53526..6cc6ec5847 100644 --- a/types/react-icons/lib/io/navicon-round.d.ts +++ b/types/react-icons/lib/io/navicon-round.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoNaviconRound extends React.Component<IconBaseProps> { } +declare class IoNaviconRound extends React.Component<IconBaseProps> { } +export = IoNaviconRound; diff --git a/types/react-icons/lib/io/navicon.d.ts b/types/react-icons/lib/io/navicon.d.ts index cdae5d7238..5da09863ba 100644 --- a/types/react-icons/lib/io/navicon.d.ts +++ b/types/react-icons/lib/io/navicon.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoNavicon extends React.Component<IconBaseProps> { } +declare class IoNavicon extends React.Component<IconBaseProps> { } +export = IoNavicon; diff --git a/types/react-icons/lib/io/navigate.d.ts b/types/react-icons/lib/io/navigate.d.ts index 2fe67c17b2..aef1fb00a3 100644 --- a/types/react-icons/lib/io/navigate.d.ts +++ b/types/react-icons/lib/io/navigate.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoNavigate extends React.Component<IconBaseProps> { } +declare class IoNavigate extends React.Component<IconBaseProps> { } +export = IoNavigate; diff --git a/types/react-icons/lib/io/network.d.ts b/types/react-icons/lib/io/network.d.ts index 359c0abbd2..f2d137e6d2 100644 --- a/types/react-icons/lib/io/network.d.ts +++ b/types/react-icons/lib/io/network.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoNetwork extends React.Component<IconBaseProps> { } +declare class IoNetwork extends React.Component<IconBaseProps> { } +export = IoNetwork; diff --git a/types/react-icons/lib/io/no-smoking.d.ts b/types/react-icons/lib/io/no-smoking.d.ts index 074789127a..eca13e875a 100644 --- a/types/react-icons/lib/io/no-smoking.d.ts +++ b/types/react-icons/lib/io/no-smoking.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoNoSmoking extends React.Component<IconBaseProps> { } +declare class IoNoSmoking extends React.Component<IconBaseProps> { } +export = IoNoSmoking; diff --git a/types/react-icons/lib/io/nuclear.d.ts b/types/react-icons/lib/io/nuclear.d.ts index 559674f85e..f220fd75a6 100644 --- a/types/react-icons/lib/io/nuclear.d.ts +++ b/types/react-icons/lib/io/nuclear.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoNuclear extends React.Component<IconBaseProps> { } +declare class IoNuclear extends React.Component<IconBaseProps> { } +export = IoNuclear; diff --git a/types/react-icons/lib/io/outlet.d.ts b/types/react-icons/lib/io/outlet.d.ts index f68de98cb1..10b9c1c53b 100644 --- a/types/react-icons/lib/io/outlet.d.ts +++ b/types/react-icons/lib/io/outlet.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoOutlet extends React.Component<IconBaseProps> { } +declare class IoOutlet extends React.Component<IconBaseProps> { } +export = IoOutlet; diff --git a/types/react-icons/lib/io/paintbrush.d.ts b/types/react-icons/lib/io/paintbrush.d.ts index 1cc12bebca..798d4ec723 100644 --- a/types/react-icons/lib/io/paintbrush.d.ts +++ b/types/react-icons/lib/io/paintbrush.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPaintbrush extends React.Component<IconBaseProps> { } +declare class IoPaintbrush extends React.Component<IconBaseProps> { } +export = IoPaintbrush; diff --git a/types/react-icons/lib/io/paintbucket.d.ts b/types/react-icons/lib/io/paintbucket.d.ts index 0e6dce8aa7..cae729d92e 100644 --- a/types/react-icons/lib/io/paintbucket.d.ts +++ b/types/react-icons/lib/io/paintbucket.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPaintbucket extends React.Component<IconBaseProps> { } +declare class IoPaintbucket extends React.Component<IconBaseProps> { } +export = IoPaintbucket; diff --git a/types/react-icons/lib/io/paper-airplane.d.ts b/types/react-icons/lib/io/paper-airplane.d.ts index e5c2d64cb8..0cc9963b1e 100644 --- a/types/react-icons/lib/io/paper-airplane.d.ts +++ b/types/react-icons/lib/io/paper-airplane.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPaperAirplane extends React.Component<IconBaseProps> { } +declare class IoPaperAirplane extends React.Component<IconBaseProps> { } +export = IoPaperAirplane; diff --git a/types/react-icons/lib/io/paperclip.d.ts b/types/react-icons/lib/io/paperclip.d.ts index cb9463bdf1..fb887470b8 100644 --- a/types/react-icons/lib/io/paperclip.d.ts +++ b/types/react-icons/lib/io/paperclip.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPaperclip extends React.Component<IconBaseProps> { } +declare class IoPaperclip extends React.Component<IconBaseProps> { } +export = IoPaperclip; diff --git a/types/react-icons/lib/io/pause.d.ts b/types/react-icons/lib/io/pause.d.ts index 2680c5b1b4..1c0f437dab 100644 --- a/types/react-icons/lib/io/pause.d.ts +++ b/types/react-icons/lib/io/pause.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPause extends React.Component<IconBaseProps> { } +declare class IoPause extends React.Component<IconBaseProps> { } +export = IoPause; diff --git a/types/react-icons/lib/io/person-add.d.ts b/types/react-icons/lib/io/person-add.d.ts index 43a66e58c0..53ce9e2e41 100644 --- a/types/react-icons/lib/io/person-add.d.ts +++ b/types/react-icons/lib/io/person-add.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPersonAdd extends React.Component<IconBaseProps> { } +declare class IoPersonAdd extends React.Component<IconBaseProps> { } +export = IoPersonAdd; diff --git a/types/react-icons/lib/io/person-stalker.d.ts b/types/react-icons/lib/io/person-stalker.d.ts index 59ed89e000..161429c61a 100644 --- a/types/react-icons/lib/io/person-stalker.d.ts +++ b/types/react-icons/lib/io/person-stalker.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPersonStalker extends React.Component<IconBaseProps> { } +declare class IoPersonStalker extends React.Component<IconBaseProps> { } +export = IoPersonStalker; diff --git a/types/react-icons/lib/io/person.d.ts b/types/react-icons/lib/io/person.d.ts index 0970df9ab0..838d276698 100644 --- a/types/react-icons/lib/io/person.d.ts +++ b/types/react-icons/lib/io/person.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPerson extends React.Component<IconBaseProps> { } +declare class IoPerson extends React.Component<IconBaseProps> { } +export = IoPerson; diff --git a/types/react-icons/lib/io/pie-graph.d.ts b/types/react-icons/lib/io/pie-graph.d.ts index 4171c0ee1d..b34d737547 100644 --- a/types/react-icons/lib/io/pie-graph.d.ts +++ b/types/react-icons/lib/io/pie-graph.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPieGraph extends React.Component<IconBaseProps> { } +declare class IoPieGraph extends React.Component<IconBaseProps> { } +export = IoPieGraph; diff --git a/types/react-icons/lib/io/pin.d.ts b/types/react-icons/lib/io/pin.d.ts index 7e1d58f30e..8acc70bbe7 100644 --- a/types/react-icons/lib/io/pin.d.ts +++ b/types/react-icons/lib/io/pin.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPin extends React.Component<IconBaseProps> { } +declare class IoPin extends React.Component<IconBaseProps> { } +export = IoPin; diff --git a/types/react-icons/lib/io/pinpoint.d.ts b/types/react-icons/lib/io/pinpoint.d.ts index 8ecf88a45b..633ebe5f6c 100644 --- a/types/react-icons/lib/io/pinpoint.d.ts +++ b/types/react-icons/lib/io/pinpoint.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPinpoint extends React.Component<IconBaseProps> { } +declare class IoPinpoint extends React.Component<IconBaseProps> { } +export = IoPinpoint; diff --git a/types/react-icons/lib/io/pizza.d.ts b/types/react-icons/lib/io/pizza.d.ts index ef5ce7525b..22b59ea468 100644 --- a/types/react-icons/lib/io/pizza.d.ts +++ b/types/react-icons/lib/io/pizza.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPizza extends React.Component<IconBaseProps> { } +declare class IoPizza extends React.Component<IconBaseProps> { } +export = IoPizza; diff --git a/types/react-icons/lib/io/plane.d.ts b/types/react-icons/lib/io/plane.d.ts index 9f0b2eaff2..db6117b622 100644 --- a/types/react-icons/lib/io/plane.d.ts +++ b/types/react-icons/lib/io/plane.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPlane extends React.Component<IconBaseProps> { } +declare class IoPlane extends React.Component<IconBaseProps> { } +export = IoPlane; diff --git a/types/react-icons/lib/io/planet.d.ts b/types/react-icons/lib/io/planet.d.ts index b91ae2a503..b831ee0adf 100644 --- a/types/react-icons/lib/io/planet.d.ts +++ b/types/react-icons/lib/io/planet.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPlanet extends React.Component<IconBaseProps> { } +declare class IoPlanet extends React.Component<IconBaseProps> { } +export = IoPlanet; diff --git a/types/react-icons/lib/io/play.d.ts b/types/react-icons/lib/io/play.d.ts index 8a66797eb2..1b4959e9c6 100644 --- a/types/react-icons/lib/io/play.d.ts +++ b/types/react-icons/lib/io/play.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPlay extends React.Component<IconBaseProps> { } +declare class IoPlay extends React.Component<IconBaseProps> { } +export = IoPlay; diff --git a/types/react-icons/lib/io/playstation.d.ts b/types/react-icons/lib/io/playstation.d.ts index 315eecce09..d10a3ca0ee 100644 --- a/types/react-icons/lib/io/playstation.d.ts +++ b/types/react-icons/lib/io/playstation.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPlaystation extends React.Component<IconBaseProps> { } +declare class IoPlaystation extends React.Component<IconBaseProps> { } +export = IoPlaystation; diff --git a/types/react-icons/lib/io/plus-circled.d.ts b/types/react-icons/lib/io/plus-circled.d.ts index a74703c85d..eb6e1f8d93 100644 --- a/types/react-icons/lib/io/plus-circled.d.ts +++ b/types/react-icons/lib/io/plus-circled.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPlusCircled extends React.Component<IconBaseProps> { } +declare class IoPlusCircled extends React.Component<IconBaseProps> { } +export = IoPlusCircled; diff --git a/types/react-icons/lib/io/plus-round.d.ts b/types/react-icons/lib/io/plus-round.d.ts index 3e7ba67f3a..ebd92519bf 100644 --- a/types/react-icons/lib/io/plus-round.d.ts +++ b/types/react-icons/lib/io/plus-round.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPlusRound extends React.Component<IconBaseProps> { } +declare class IoPlusRound extends React.Component<IconBaseProps> { } +export = IoPlusRound; diff --git a/types/react-icons/lib/io/plus.d.ts b/types/react-icons/lib/io/plus.d.ts index f61bf82a1a..1626a1cf05 100644 --- a/types/react-icons/lib/io/plus.d.ts +++ b/types/react-icons/lib/io/plus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPlus extends React.Component<IconBaseProps> { } +declare class IoPlus extends React.Component<IconBaseProps> { } +export = IoPlus; diff --git a/types/react-icons/lib/io/podium.d.ts b/types/react-icons/lib/io/podium.d.ts index af2e204331..a70d220a19 100644 --- a/types/react-icons/lib/io/podium.d.ts +++ b/types/react-icons/lib/io/podium.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPodium extends React.Component<IconBaseProps> { } +declare class IoPodium extends React.Component<IconBaseProps> { } +export = IoPodium; diff --git a/types/react-icons/lib/io/pound.d.ts b/types/react-icons/lib/io/pound.d.ts index b7b2e28b9e..ba114f6220 100644 --- a/types/react-icons/lib/io/pound.d.ts +++ b/types/react-icons/lib/io/pound.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPound extends React.Component<IconBaseProps> { } +declare class IoPound extends React.Component<IconBaseProps> { } +export = IoPound; diff --git a/types/react-icons/lib/io/power.d.ts b/types/react-icons/lib/io/power.d.ts index f41d3d5e00..72880af810 100644 --- a/types/react-icons/lib/io/power.d.ts +++ b/types/react-icons/lib/io/power.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPower extends React.Component<IconBaseProps> { } +declare class IoPower extends React.Component<IconBaseProps> { } +export = IoPower; diff --git a/types/react-icons/lib/io/pricetag.d.ts b/types/react-icons/lib/io/pricetag.d.ts index b8f2d47c03..c299d0f349 100644 --- a/types/react-icons/lib/io/pricetag.d.ts +++ b/types/react-icons/lib/io/pricetag.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPricetag extends React.Component<IconBaseProps> { } +declare class IoPricetag extends React.Component<IconBaseProps> { } +export = IoPricetag; diff --git a/types/react-icons/lib/io/pricetags.d.ts b/types/react-icons/lib/io/pricetags.d.ts index cca52cc061..5e778059b6 100644 --- a/types/react-icons/lib/io/pricetags.d.ts +++ b/types/react-icons/lib/io/pricetags.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPricetags extends React.Component<IconBaseProps> { } +declare class IoPricetags extends React.Component<IconBaseProps> { } +export = IoPricetags; diff --git a/types/react-icons/lib/io/printer.d.ts b/types/react-icons/lib/io/printer.d.ts index 33bc74b2c2..66de49844e 100644 --- a/types/react-icons/lib/io/printer.d.ts +++ b/types/react-icons/lib/io/printer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPrinter extends React.Component<IconBaseProps> { } +declare class IoPrinter extends React.Component<IconBaseProps> { } +export = IoPrinter; diff --git a/types/react-icons/lib/io/pull-request.d.ts b/types/react-icons/lib/io/pull-request.d.ts index b788efefdc..2bda8d4ff5 100644 --- a/types/react-icons/lib/io/pull-request.d.ts +++ b/types/react-icons/lib/io/pull-request.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoPullRequest extends React.Component<IconBaseProps> { } +declare class IoPullRequest extends React.Component<IconBaseProps> { } +export = IoPullRequest; diff --git a/types/react-icons/lib/io/qr-scanner.d.ts b/types/react-icons/lib/io/qr-scanner.d.ts index 77b1ca1dcf..1734d537a7 100644 --- a/types/react-icons/lib/io/qr-scanner.d.ts +++ b/types/react-icons/lib/io/qr-scanner.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoQrScanner extends React.Component<IconBaseProps> { } +declare class IoQrScanner extends React.Component<IconBaseProps> { } +export = IoQrScanner; diff --git a/types/react-icons/lib/io/quote.d.ts b/types/react-icons/lib/io/quote.d.ts index ac7f5d32ef..36bb47931e 100644 --- a/types/react-icons/lib/io/quote.d.ts +++ b/types/react-icons/lib/io/quote.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoQuote extends React.Component<IconBaseProps> { } +declare class IoQuote extends React.Component<IconBaseProps> { } +export = IoQuote; diff --git a/types/react-icons/lib/io/radio-waves.d.ts b/types/react-icons/lib/io/radio-waves.d.ts index 0b67b79379..a09c89c0bb 100644 --- a/types/react-icons/lib/io/radio-waves.d.ts +++ b/types/react-icons/lib/io/radio-waves.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoRadioWaves extends React.Component<IconBaseProps> { } +declare class IoRadioWaves extends React.Component<IconBaseProps> { } +export = IoRadioWaves; diff --git a/types/react-icons/lib/io/record.d.ts b/types/react-icons/lib/io/record.d.ts index dd7cd7a65f..9ed9157ee8 100644 --- a/types/react-icons/lib/io/record.d.ts +++ b/types/react-icons/lib/io/record.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoRecord extends React.Component<IconBaseProps> { } +declare class IoRecord extends React.Component<IconBaseProps> { } +export = IoRecord; diff --git a/types/react-icons/lib/io/refresh.d.ts b/types/react-icons/lib/io/refresh.d.ts index 8712271741..5a3668089b 100644 --- a/types/react-icons/lib/io/refresh.d.ts +++ b/types/react-icons/lib/io/refresh.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoRefresh extends React.Component<IconBaseProps> { } +declare class IoRefresh extends React.Component<IconBaseProps> { } +export = IoRefresh; diff --git a/types/react-icons/lib/io/reply-all.d.ts b/types/react-icons/lib/io/reply-all.d.ts index 568a1f8dd4..2028b2e6cb 100644 --- a/types/react-icons/lib/io/reply-all.d.ts +++ b/types/react-icons/lib/io/reply-all.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoReplyAll extends React.Component<IconBaseProps> { } +declare class IoReplyAll extends React.Component<IconBaseProps> { } +export = IoReplyAll; diff --git a/types/react-icons/lib/io/reply.d.ts b/types/react-icons/lib/io/reply.d.ts index 628b3c6ade..d17492f2d7 100644 --- a/types/react-icons/lib/io/reply.d.ts +++ b/types/react-icons/lib/io/reply.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoReply extends React.Component<IconBaseProps> { } +declare class IoReply extends React.Component<IconBaseProps> { } +export = IoReply; diff --git a/types/react-icons/lib/io/ribbon-a.d.ts b/types/react-icons/lib/io/ribbon-a.d.ts index 38d15e1fd1..16d6520b4a 100644 --- a/types/react-icons/lib/io/ribbon-a.d.ts +++ b/types/react-icons/lib/io/ribbon-a.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoRibbonA extends React.Component<IconBaseProps> { } +declare class IoRibbonA extends React.Component<IconBaseProps> { } +export = IoRibbonA; diff --git a/types/react-icons/lib/io/ribbon-b.d.ts b/types/react-icons/lib/io/ribbon-b.d.ts index 8e2ba836cc..1bdaef9e6d 100644 --- a/types/react-icons/lib/io/ribbon-b.d.ts +++ b/types/react-icons/lib/io/ribbon-b.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoRibbonB extends React.Component<IconBaseProps> { } +declare class IoRibbonB extends React.Component<IconBaseProps> { } +export = IoRibbonB; diff --git a/types/react-icons/lib/io/sad-outline.d.ts b/types/react-icons/lib/io/sad-outline.d.ts index 07ef27ecfb..edc818e119 100644 --- a/types/react-icons/lib/io/sad-outline.d.ts +++ b/types/react-icons/lib/io/sad-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSadOutline extends React.Component<IconBaseProps> { } +declare class IoSadOutline extends React.Component<IconBaseProps> { } +export = IoSadOutline; diff --git a/types/react-icons/lib/io/sad.d.ts b/types/react-icons/lib/io/sad.d.ts index de6e0e3b98..4faba53e28 100644 --- a/types/react-icons/lib/io/sad.d.ts +++ b/types/react-icons/lib/io/sad.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSad extends React.Component<IconBaseProps> { } +declare class IoSad extends React.Component<IconBaseProps> { } +export = IoSad; diff --git a/types/react-icons/lib/io/scissors.d.ts b/types/react-icons/lib/io/scissors.d.ts index 18b40acd88..65b7062b84 100644 --- a/types/react-icons/lib/io/scissors.d.ts +++ b/types/react-icons/lib/io/scissors.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoScissors extends React.Component<IconBaseProps> { } +declare class IoScissors extends React.Component<IconBaseProps> { } +export = IoScissors; diff --git a/types/react-icons/lib/io/search.d.ts b/types/react-icons/lib/io/search.d.ts index 00175f972b..0d4e410433 100644 --- a/types/react-icons/lib/io/search.d.ts +++ b/types/react-icons/lib/io/search.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSearch extends React.Component<IconBaseProps> { } +declare class IoSearch extends React.Component<IconBaseProps> { } +export = IoSearch; diff --git a/types/react-icons/lib/io/settings.d.ts b/types/react-icons/lib/io/settings.d.ts index b5793e8679..3c592c9f8c 100644 --- a/types/react-icons/lib/io/settings.d.ts +++ b/types/react-icons/lib/io/settings.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSettings extends React.Component<IconBaseProps> { } +declare class IoSettings extends React.Component<IconBaseProps> { } +export = IoSettings; diff --git a/types/react-icons/lib/io/share.d.ts b/types/react-icons/lib/io/share.d.ts index ba6d9a210a..24f6f37d6c 100644 --- a/types/react-icons/lib/io/share.d.ts +++ b/types/react-icons/lib/io/share.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoShare extends React.Component<IconBaseProps> { } +declare class IoShare extends React.Component<IconBaseProps> { } +export = IoShare; diff --git a/types/react-icons/lib/io/shuffle.d.ts b/types/react-icons/lib/io/shuffle.d.ts index fb4bf71aad..736f886ae6 100644 --- a/types/react-icons/lib/io/shuffle.d.ts +++ b/types/react-icons/lib/io/shuffle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoShuffle extends React.Component<IconBaseProps> { } +declare class IoShuffle extends React.Component<IconBaseProps> { } +export = IoShuffle; diff --git a/types/react-icons/lib/io/skip-backward.d.ts b/types/react-icons/lib/io/skip-backward.d.ts index 94bf5675c3..b7c8e6a960 100644 --- a/types/react-icons/lib/io/skip-backward.d.ts +++ b/types/react-icons/lib/io/skip-backward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSkipBackward extends React.Component<IconBaseProps> { } +declare class IoSkipBackward extends React.Component<IconBaseProps> { } +export = IoSkipBackward; diff --git a/types/react-icons/lib/io/skip-forward.d.ts b/types/react-icons/lib/io/skip-forward.d.ts index 7912bd2dfa..0c8929e560 100644 --- a/types/react-icons/lib/io/skip-forward.d.ts +++ b/types/react-icons/lib/io/skip-forward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSkipForward extends React.Component<IconBaseProps> { } +declare class IoSkipForward extends React.Component<IconBaseProps> { } +export = IoSkipForward; diff --git a/types/react-icons/lib/io/social-android-outline.d.ts b/types/react-icons/lib/io/social-android-outline.d.ts index 3b306ef4a2..b770166e4a 100644 --- a/types/react-icons/lib/io/social-android-outline.d.ts +++ b/types/react-icons/lib/io/social-android-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialAndroidOutline extends React.Component<IconBaseProps> { } +declare class IoSocialAndroidOutline extends React.Component<IconBaseProps> { } +export = IoSocialAndroidOutline; diff --git a/types/react-icons/lib/io/social-android.d.ts b/types/react-icons/lib/io/social-android.d.ts index 362c2af2c5..6b03edee68 100644 --- a/types/react-icons/lib/io/social-android.d.ts +++ b/types/react-icons/lib/io/social-android.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialAndroid extends React.Component<IconBaseProps> { } +declare class IoSocialAndroid extends React.Component<IconBaseProps> { } +export = IoSocialAndroid; diff --git a/types/react-icons/lib/io/social-angular-outline.d.ts b/types/react-icons/lib/io/social-angular-outline.d.ts index be0ad623a7..92bbacb5e4 100644 --- a/types/react-icons/lib/io/social-angular-outline.d.ts +++ b/types/react-icons/lib/io/social-angular-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialAngularOutline extends React.Component<IconBaseProps> { } +declare class IoSocialAngularOutline extends React.Component<IconBaseProps> { } +export = IoSocialAngularOutline; diff --git a/types/react-icons/lib/io/social-angular.d.ts b/types/react-icons/lib/io/social-angular.d.ts index 0286fd5c24..75eaa9c70b 100644 --- a/types/react-icons/lib/io/social-angular.d.ts +++ b/types/react-icons/lib/io/social-angular.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialAngular extends React.Component<IconBaseProps> { } +declare class IoSocialAngular extends React.Component<IconBaseProps> { } +export = IoSocialAngular; diff --git a/types/react-icons/lib/io/social-apple-outline.d.ts b/types/react-icons/lib/io/social-apple-outline.d.ts index 13ef33d192..d639a99fcf 100644 --- a/types/react-icons/lib/io/social-apple-outline.d.ts +++ b/types/react-icons/lib/io/social-apple-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialAppleOutline extends React.Component<IconBaseProps> { } +declare class IoSocialAppleOutline extends React.Component<IconBaseProps> { } +export = IoSocialAppleOutline; diff --git a/types/react-icons/lib/io/social-apple.d.ts b/types/react-icons/lib/io/social-apple.d.ts index bece372480..b10067260f 100644 --- a/types/react-icons/lib/io/social-apple.d.ts +++ b/types/react-icons/lib/io/social-apple.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialApple extends React.Component<IconBaseProps> { } +declare class IoSocialApple extends React.Component<IconBaseProps> { } +export = IoSocialApple; diff --git a/types/react-icons/lib/io/social-bitcoin-outline.d.ts b/types/react-icons/lib/io/social-bitcoin-outline.d.ts index 9044d3dc51..de7c72ef7c 100644 --- a/types/react-icons/lib/io/social-bitcoin-outline.d.ts +++ b/types/react-icons/lib/io/social-bitcoin-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialBitcoinOutline extends React.Component<IconBaseProps> { } +declare class IoSocialBitcoinOutline extends React.Component<IconBaseProps> { } +export = IoSocialBitcoinOutline; diff --git a/types/react-icons/lib/io/social-bitcoin.d.ts b/types/react-icons/lib/io/social-bitcoin.d.ts index f13a9ca0e2..3e606a8d6a 100644 --- a/types/react-icons/lib/io/social-bitcoin.d.ts +++ b/types/react-icons/lib/io/social-bitcoin.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialBitcoin extends React.Component<IconBaseProps> { } +declare class IoSocialBitcoin extends React.Component<IconBaseProps> { } +export = IoSocialBitcoin; diff --git a/types/react-icons/lib/io/social-buffer-outline.d.ts b/types/react-icons/lib/io/social-buffer-outline.d.ts index 073a4d3256..7bdcf075eb 100644 --- a/types/react-icons/lib/io/social-buffer-outline.d.ts +++ b/types/react-icons/lib/io/social-buffer-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialBufferOutline extends React.Component<IconBaseProps> { } +declare class IoSocialBufferOutline extends React.Component<IconBaseProps> { } +export = IoSocialBufferOutline; diff --git a/types/react-icons/lib/io/social-buffer.d.ts b/types/react-icons/lib/io/social-buffer.d.ts index 8f103cbc23..93858b6544 100644 --- a/types/react-icons/lib/io/social-buffer.d.ts +++ b/types/react-icons/lib/io/social-buffer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialBuffer extends React.Component<IconBaseProps> { } +declare class IoSocialBuffer extends React.Component<IconBaseProps> { } +export = IoSocialBuffer; diff --git a/types/react-icons/lib/io/social-chrome-outline.d.ts b/types/react-icons/lib/io/social-chrome-outline.d.ts index e0b96d90a9..3f36d316e1 100644 --- a/types/react-icons/lib/io/social-chrome-outline.d.ts +++ b/types/react-icons/lib/io/social-chrome-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialChromeOutline extends React.Component<IconBaseProps> { } +declare class IoSocialChromeOutline extends React.Component<IconBaseProps> { } +export = IoSocialChromeOutline; diff --git a/types/react-icons/lib/io/social-chrome.d.ts b/types/react-icons/lib/io/social-chrome.d.ts index a98ec53c7b..bad155a65a 100644 --- a/types/react-icons/lib/io/social-chrome.d.ts +++ b/types/react-icons/lib/io/social-chrome.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialChrome extends React.Component<IconBaseProps> { } +declare class IoSocialChrome extends React.Component<IconBaseProps> { } +export = IoSocialChrome; diff --git a/types/react-icons/lib/io/social-codepen-outline.d.ts b/types/react-icons/lib/io/social-codepen-outline.d.ts index 86affb85f1..a4e6ef6f98 100644 --- a/types/react-icons/lib/io/social-codepen-outline.d.ts +++ b/types/react-icons/lib/io/social-codepen-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialCodepenOutline extends React.Component<IconBaseProps> { } +declare class IoSocialCodepenOutline extends React.Component<IconBaseProps> { } +export = IoSocialCodepenOutline; diff --git a/types/react-icons/lib/io/social-codepen.d.ts b/types/react-icons/lib/io/social-codepen.d.ts index bd6d0fe2ff..ce7a689c2a 100644 --- a/types/react-icons/lib/io/social-codepen.d.ts +++ b/types/react-icons/lib/io/social-codepen.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialCodepen extends React.Component<IconBaseProps> { } +declare class IoSocialCodepen extends React.Component<IconBaseProps> { } +export = IoSocialCodepen; diff --git a/types/react-icons/lib/io/social-css3-outline.d.ts b/types/react-icons/lib/io/social-css3-outline.d.ts index 0d792c0e6a..3a981b6d4c 100644 --- a/types/react-icons/lib/io/social-css3-outline.d.ts +++ b/types/react-icons/lib/io/social-css3-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialCss3Outline extends React.Component<IconBaseProps> { } +declare class IoSocialCss3Outline extends React.Component<IconBaseProps> { } +export = IoSocialCss3Outline; diff --git a/types/react-icons/lib/io/social-css3.d.ts b/types/react-icons/lib/io/social-css3.d.ts index f8ef55d480..df43ca86cf 100644 --- a/types/react-icons/lib/io/social-css3.d.ts +++ b/types/react-icons/lib/io/social-css3.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialCss3 extends React.Component<IconBaseProps> { } +declare class IoSocialCss3 extends React.Component<IconBaseProps> { } +export = IoSocialCss3; diff --git a/types/react-icons/lib/io/social-designernews-outline.d.ts b/types/react-icons/lib/io/social-designernews-outline.d.ts index 9a84d73221..d791b282e2 100644 --- a/types/react-icons/lib/io/social-designernews-outline.d.ts +++ b/types/react-icons/lib/io/social-designernews-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialDesignernewsOutline extends React.Component<IconBaseProps> { } +declare class IoSocialDesignernewsOutline extends React.Component<IconBaseProps> { } +export = IoSocialDesignernewsOutline; diff --git a/types/react-icons/lib/io/social-designernews.d.ts b/types/react-icons/lib/io/social-designernews.d.ts index b7f5b92381..0e462c6530 100644 --- a/types/react-icons/lib/io/social-designernews.d.ts +++ b/types/react-icons/lib/io/social-designernews.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialDesignernews extends React.Component<IconBaseProps> { } +declare class IoSocialDesignernews extends React.Component<IconBaseProps> { } +export = IoSocialDesignernews; diff --git a/types/react-icons/lib/io/social-dribbble-outline.d.ts b/types/react-icons/lib/io/social-dribbble-outline.d.ts index ba7a99e3ab..fd75f5a0c3 100644 --- a/types/react-icons/lib/io/social-dribbble-outline.d.ts +++ b/types/react-icons/lib/io/social-dribbble-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialDribbbleOutline extends React.Component<IconBaseProps> { } +declare class IoSocialDribbbleOutline extends React.Component<IconBaseProps> { } +export = IoSocialDribbbleOutline; diff --git a/types/react-icons/lib/io/social-dribbble.d.ts b/types/react-icons/lib/io/social-dribbble.d.ts index ef43f8d862..d239900650 100644 --- a/types/react-icons/lib/io/social-dribbble.d.ts +++ b/types/react-icons/lib/io/social-dribbble.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialDribbble extends React.Component<IconBaseProps> { } +declare class IoSocialDribbble extends React.Component<IconBaseProps> { } +export = IoSocialDribbble; diff --git a/types/react-icons/lib/io/social-dropbox-outline.d.ts b/types/react-icons/lib/io/social-dropbox-outline.d.ts index 71959da367..d57fc423a5 100644 --- a/types/react-icons/lib/io/social-dropbox-outline.d.ts +++ b/types/react-icons/lib/io/social-dropbox-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialDropboxOutline extends React.Component<IconBaseProps> { } +declare class IoSocialDropboxOutline extends React.Component<IconBaseProps> { } +export = IoSocialDropboxOutline; diff --git a/types/react-icons/lib/io/social-dropbox.d.ts b/types/react-icons/lib/io/social-dropbox.d.ts index e0f243a8fa..d689170efd 100644 --- a/types/react-icons/lib/io/social-dropbox.d.ts +++ b/types/react-icons/lib/io/social-dropbox.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialDropbox extends React.Component<IconBaseProps> { } +declare class IoSocialDropbox extends React.Component<IconBaseProps> { } +export = IoSocialDropbox; diff --git a/types/react-icons/lib/io/social-euro-outline.d.ts b/types/react-icons/lib/io/social-euro-outline.d.ts index ec55bb73a5..6fefc18caa 100644 --- a/types/react-icons/lib/io/social-euro-outline.d.ts +++ b/types/react-icons/lib/io/social-euro-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialEuroOutline extends React.Component<IconBaseProps> { } +declare class IoSocialEuroOutline extends React.Component<IconBaseProps> { } +export = IoSocialEuroOutline; diff --git a/types/react-icons/lib/io/social-euro.d.ts b/types/react-icons/lib/io/social-euro.d.ts index b0b70b5796..36ae7c5e8b 100644 --- a/types/react-icons/lib/io/social-euro.d.ts +++ b/types/react-icons/lib/io/social-euro.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialEuro extends React.Component<IconBaseProps> { } +declare class IoSocialEuro extends React.Component<IconBaseProps> { } +export = IoSocialEuro; diff --git a/types/react-icons/lib/io/social-facebook-outline.d.ts b/types/react-icons/lib/io/social-facebook-outline.d.ts index fce2eda2b9..69cd8a1a00 100644 --- a/types/react-icons/lib/io/social-facebook-outline.d.ts +++ b/types/react-icons/lib/io/social-facebook-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialFacebookOutline extends React.Component<IconBaseProps> { } +declare class IoSocialFacebookOutline extends React.Component<IconBaseProps> { } +export = IoSocialFacebookOutline; diff --git a/types/react-icons/lib/io/social-facebook.d.ts b/types/react-icons/lib/io/social-facebook.d.ts index 696c8f5401..1b2caa8312 100644 --- a/types/react-icons/lib/io/social-facebook.d.ts +++ b/types/react-icons/lib/io/social-facebook.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialFacebook extends React.Component<IconBaseProps> { } +declare class IoSocialFacebook extends React.Component<IconBaseProps> { } +export = IoSocialFacebook; diff --git a/types/react-icons/lib/io/social-foursquare-outline.d.ts b/types/react-icons/lib/io/social-foursquare-outline.d.ts index aa643db79c..536f829ff0 100644 --- a/types/react-icons/lib/io/social-foursquare-outline.d.ts +++ b/types/react-icons/lib/io/social-foursquare-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialFoursquareOutline extends React.Component<IconBaseProps> { } +declare class IoSocialFoursquareOutline extends React.Component<IconBaseProps> { } +export = IoSocialFoursquareOutline; diff --git a/types/react-icons/lib/io/social-foursquare.d.ts b/types/react-icons/lib/io/social-foursquare.d.ts index d4555bfc41..c83428b66d 100644 --- a/types/react-icons/lib/io/social-foursquare.d.ts +++ b/types/react-icons/lib/io/social-foursquare.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialFoursquare extends React.Component<IconBaseProps> { } +declare class IoSocialFoursquare extends React.Component<IconBaseProps> { } +export = IoSocialFoursquare; diff --git a/types/react-icons/lib/io/social-freebsd-devil.d.ts b/types/react-icons/lib/io/social-freebsd-devil.d.ts index 17715e0a06..4f614b2950 100644 --- a/types/react-icons/lib/io/social-freebsd-devil.d.ts +++ b/types/react-icons/lib/io/social-freebsd-devil.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialFreebsdDevil extends React.Component<IconBaseProps> { } +declare class IoSocialFreebsdDevil extends React.Component<IconBaseProps> { } +export = IoSocialFreebsdDevil; diff --git a/types/react-icons/lib/io/social-github-outline.d.ts b/types/react-icons/lib/io/social-github-outline.d.ts index ad810dd9f5..23f4729b8b 100644 --- a/types/react-icons/lib/io/social-github-outline.d.ts +++ b/types/react-icons/lib/io/social-github-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialGithubOutline extends React.Component<IconBaseProps> { } +declare class IoSocialGithubOutline extends React.Component<IconBaseProps> { } +export = IoSocialGithubOutline; diff --git a/types/react-icons/lib/io/social-github.d.ts b/types/react-icons/lib/io/social-github.d.ts index dabc247815..037f125cdd 100644 --- a/types/react-icons/lib/io/social-github.d.ts +++ b/types/react-icons/lib/io/social-github.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialGithub extends React.Component<IconBaseProps> { } +declare class IoSocialGithub extends React.Component<IconBaseProps> { } +export = IoSocialGithub; diff --git a/types/react-icons/lib/io/social-google-outline.d.ts b/types/react-icons/lib/io/social-google-outline.d.ts index 76fa21d665..42dc6df13b 100644 --- a/types/react-icons/lib/io/social-google-outline.d.ts +++ b/types/react-icons/lib/io/social-google-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialGoogleOutline extends React.Component<IconBaseProps> { } +declare class IoSocialGoogleOutline extends React.Component<IconBaseProps> { } +export = IoSocialGoogleOutline; diff --git a/types/react-icons/lib/io/social-google.d.ts b/types/react-icons/lib/io/social-google.d.ts index c31283ade3..c6468168bc 100644 --- a/types/react-icons/lib/io/social-google.d.ts +++ b/types/react-icons/lib/io/social-google.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialGoogle extends React.Component<IconBaseProps> { } +declare class IoSocialGoogle extends React.Component<IconBaseProps> { } +export = IoSocialGoogle; diff --git a/types/react-icons/lib/io/social-googleplus-outline.d.ts b/types/react-icons/lib/io/social-googleplus-outline.d.ts index fe28dee981..7aed37c1c7 100644 --- a/types/react-icons/lib/io/social-googleplus-outline.d.ts +++ b/types/react-icons/lib/io/social-googleplus-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialGoogleplusOutline extends React.Component<IconBaseProps> { } +declare class IoSocialGoogleplusOutline extends React.Component<IconBaseProps> { } +export = IoSocialGoogleplusOutline; diff --git a/types/react-icons/lib/io/social-googleplus.d.ts b/types/react-icons/lib/io/social-googleplus.d.ts index 3fe4052899..563d63e295 100644 --- a/types/react-icons/lib/io/social-googleplus.d.ts +++ b/types/react-icons/lib/io/social-googleplus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialGoogleplus extends React.Component<IconBaseProps> { } +declare class IoSocialGoogleplus extends React.Component<IconBaseProps> { } +export = IoSocialGoogleplus; diff --git a/types/react-icons/lib/io/social-hackernews-outline.d.ts b/types/react-icons/lib/io/social-hackernews-outline.d.ts index c71910be26..5e39b1b57c 100644 --- a/types/react-icons/lib/io/social-hackernews-outline.d.ts +++ b/types/react-icons/lib/io/social-hackernews-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialHackernewsOutline extends React.Component<IconBaseProps> { } +declare class IoSocialHackernewsOutline extends React.Component<IconBaseProps> { } +export = IoSocialHackernewsOutline; diff --git a/types/react-icons/lib/io/social-hackernews.d.ts b/types/react-icons/lib/io/social-hackernews.d.ts index 69f8ffd48e..af96aadf02 100644 --- a/types/react-icons/lib/io/social-hackernews.d.ts +++ b/types/react-icons/lib/io/social-hackernews.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialHackernews extends React.Component<IconBaseProps> { } +declare class IoSocialHackernews extends React.Component<IconBaseProps> { } +export = IoSocialHackernews; diff --git a/types/react-icons/lib/io/social-html5-outline.d.ts b/types/react-icons/lib/io/social-html5-outline.d.ts index 3c8d43114f..c6155c0329 100644 --- a/types/react-icons/lib/io/social-html5-outline.d.ts +++ b/types/react-icons/lib/io/social-html5-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialHtml5Outline extends React.Component<IconBaseProps> { } +declare class IoSocialHtml5Outline extends React.Component<IconBaseProps> { } +export = IoSocialHtml5Outline; diff --git a/types/react-icons/lib/io/social-html5.d.ts b/types/react-icons/lib/io/social-html5.d.ts index 9916b17e2c..1a464134d6 100644 --- a/types/react-icons/lib/io/social-html5.d.ts +++ b/types/react-icons/lib/io/social-html5.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialHtml5 extends React.Component<IconBaseProps> { } +declare class IoSocialHtml5 extends React.Component<IconBaseProps> { } +export = IoSocialHtml5; diff --git a/types/react-icons/lib/io/social-instagram-outline.d.ts b/types/react-icons/lib/io/social-instagram-outline.d.ts index ffc74066b7..74d5470441 100644 --- a/types/react-icons/lib/io/social-instagram-outline.d.ts +++ b/types/react-icons/lib/io/social-instagram-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialInstagramOutline extends React.Component<IconBaseProps> { } +declare class IoSocialInstagramOutline extends React.Component<IconBaseProps> { } +export = IoSocialInstagramOutline; diff --git a/types/react-icons/lib/io/social-instagram.d.ts b/types/react-icons/lib/io/social-instagram.d.ts index 7c06ae1833..5bc5559afa 100644 --- a/types/react-icons/lib/io/social-instagram.d.ts +++ b/types/react-icons/lib/io/social-instagram.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialInstagram extends React.Component<IconBaseProps> { } +declare class IoSocialInstagram extends React.Component<IconBaseProps> { } +export = IoSocialInstagram; diff --git a/types/react-icons/lib/io/social-javascript-outline.d.ts b/types/react-icons/lib/io/social-javascript-outline.d.ts index 0f21ff7483..82e903167b 100644 --- a/types/react-icons/lib/io/social-javascript-outline.d.ts +++ b/types/react-icons/lib/io/social-javascript-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialJavascriptOutline extends React.Component<IconBaseProps> { } +declare class IoSocialJavascriptOutline extends React.Component<IconBaseProps> { } +export = IoSocialJavascriptOutline; diff --git a/types/react-icons/lib/io/social-javascript.d.ts b/types/react-icons/lib/io/social-javascript.d.ts index 99905575bf..ee2c338e4d 100644 --- a/types/react-icons/lib/io/social-javascript.d.ts +++ b/types/react-icons/lib/io/social-javascript.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialJavascript extends React.Component<IconBaseProps> { } +declare class IoSocialJavascript extends React.Component<IconBaseProps> { } +export = IoSocialJavascript; diff --git a/types/react-icons/lib/io/social-linkedin-outline.d.ts b/types/react-icons/lib/io/social-linkedin-outline.d.ts index 3ddee8261a..546fd5fb48 100644 --- a/types/react-icons/lib/io/social-linkedin-outline.d.ts +++ b/types/react-icons/lib/io/social-linkedin-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialLinkedinOutline extends React.Component<IconBaseProps> { } +declare class IoSocialLinkedinOutline extends React.Component<IconBaseProps> { } +export = IoSocialLinkedinOutline; diff --git a/types/react-icons/lib/io/social-linkedin.d.ts b/types/react-icons/lib/io/social-linkedin.d.ts index 0266663678..495cdcb265 100644 --- a/types/react-icons/lib/io/social-linkedin.d.ts +++ b/types/react-icons/lib/io/social-linkedin.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialLinkedin extends React.Component<IconBaseProps> { } +declare class IoSocialLinkedin extends React.Component<IconBaseProps> { } +export = IoSocialLinkedin; diff --git a/types/react-icons/lib/io/social-markdown.d.ts b/types/react-icons/lib/io/social-markdown.d.ts index 963119614d..0a24e7e4f2 100644 --- a/types/react-icons/lib/io/social-markdown.d.ts +++ b/types/react-icons/lib/io/social-markdown.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialMarkdown extends React.Component<IconBaseProps> { } +declare class IoSocialMarkdown extends React.Component<IconBaseProps> { } +export = IoSocialMarkdown; diff --git a/types/react-icons/lib/io/social-nodejs.d.ts b/types/react-icons/lib/io/social-nodejs.d.ts index 642390dc4a..f49182ef27 100644 --- a/types/react-icons/lib/io/social-nodejs.d.ts +++ b/types/react-icons/lib/io/social-nodejs.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialNodejs extends React.Component<IconBaseProps> { } +declare class IoSocialNodejs extends React.Component<IconBaseProps> { } +export = IoSocialNodejs; diff --git a/types/react-icons/lib/io/social-octocat.d.ts b/types/react-icons/lib/io/social-octocat.d.ts index 0003cb487c..dbba07c262 100644 --- a/types/react-icons/lib/io/social-octocat.d.ts +++ b/types/react-icons/lib/io/social-octocat.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialOctocat extends React.Component<IconBaseProps> { } +declare class IoSocialOctocat extends React.Component<IconBaseProps> { } +export = IoSocialOctocat; diff --git a/types/react-icons/lib/io/social-pinterest-outline.d.ts b/types/react-icons/lib/io/social-pinterest-outline.d.ts index 4ed2d123ac..8890d054cd 100644 --- a/types/react-icons/lib/io/social-pinterest-outline.d.ts +++ b/types/react-icons/lib/io/social-pinterest-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialPinterestOutline extends React.Component<IconBaseProps> { } +declare class IoSocialPinterestOutline extends React.Component<IconBaseProps> { } +export = IoSocialPinterestOutline; diff --git a/types/react-icons/lib/io/social-pinterest.d.ts b/types/react-icons/lib/io/social-pinterest.d.ts index f2ee95376f..4d678c979e 100644 --- a/types/react-icons/lib/io/social-pinterest.d.ts +++ b/types/react-icons/lib/io/social-pinterest.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialPinterest extends React.Component<IconBaseProps> { } +declare class IoSocialPinterest extends React.Component<IconBaseProps> { } +export = IoSocialPinterest; diff --git a/types/react-icons/lib/io/social-python.d.ts b/types/react-icons/lib/io/social-python.d.ts index 78a6e50954..ad63062786 100644 --- a/types/react-icons/lib/io/social-python.d.ts +++ b/types/react-icons/lib/io/social-python.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialPython extends React.Component<IconBaseProps> { } +declare class IoSocialPython extends React.Component<IconBaseProps> { } +export = IoSocialPython; diff --git a/types/react-icons/lib/io/social-reddit-outline.d.ts b/types/react-icons/lib/io/social-reddit-outline.d.ts index 9dd5355bdc..a02958937d 100644 --- a/types/react-icons/lib/io/social-reddit-outline.d.ts +++ b/types/react-icons/lib/io/social-reddit-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialRedditOutline extends React.Component<IconBaseProps> { } +declare class IoSocialRedditOutline extends React.Component<IconBaseProps> { } +export = IoSocialRedditOutline; diff --git a/types/react-icons/lib/io/social-reddit.d.ts b/types/react-icons/lib/io/social-reddit.d.ts index e103be80d3..f52f5669fb 100644 --- a/types/react-icons/lib/io/social-reddit.d.ts +++ b/types/react-icons/lib/io/social-reddit.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialReddit extends React.Component<IconBaseProps> { } +declare class IoSocialReddit extends React.Component<IconBaseProps> { } +export = IoSocialReddit; diff --git a/types/react-icons/lib/io/social-rss-outline.d.ts b/types/react-icons/lib/io/social-rss-outline.d.ts index 4baab1f80b..f6a65f1868 100644 --- a/types/react-icons/lib/io/social-rss-outline.d.ts +++ b/types/react-icons/lib/io/social-rss-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialRssOutline extends React.Component<IconBaseProps> { } +declare class IoSocialRssOutline extends React.Component<IconBaseProps> { } +export = IoSocialRssOutline; diff --git a/types/react-icons/lib/io/social-rss.d.ts b/types/react-icons/lib/io/social-rss.d.ts index 2c749b4af9..b605db06e4 100644 --- a/types/react-icons/lib/io/social-rss.d.ts +++ b/types/react-icons/lib/io/social-rss.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialRss extends React.Component<IconBaseProps> { } +declare class IoSocialRss extends React.Component<IconBaseProps> { } +export = IoSocialRss; diff --git a/types/react-icons/lib/io/social-sass.d.ts b/types/react-icons/lib/io/social-sass.d.ts index 6ba05bc9ae..3c5e724877 100644 --- a/types/react-icons/lib/io/social-sass.d.ts +++ b/types/react-icons/lib/io/social-sass.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialSass extends React.Component<IconBaseProps> { } +declare class IoSocialSass extends React.Component<IconBaseProps> { } +export = IoSocialSass; diff --git a/types/react-icons/lib/io/social-skype-outline.d.ts b/types/react-icons/lib/io/social-skype-outline.d.ts index cefebe89c9..8a3f01062b 100644 --- a/types/react-icons/lib/io/social-skype-outline.d.ts +++ b/types/react-icons/lib/io/social-skype-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialSkypeOutline extends React.Component<IconBaseProps> { } +declare class IoSocialSkypeOutline extends React.Component<IconBaseProps> { } +export = IoSocialSkypeOutline; diff --git a/types/react-icons/lib/io/social-skype.d.ts b/types/react-icons/lib/io/social-skype.d.ts index a49a35ce62..3c865dfde7 100644 --- a/types/react-icons/lib/io/social-skype.d.ts +++ b/types/react-icons/lib/io/social-skype.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialSkype extends React.Component<IconBaseProps> { } +declare class IoSocialSkype extends React.Component<IconBaseProps> { } +export = IoSocialSkype; diff --git a/types/react-icons/lib/io/social-snapchat-outline.d.ts b/types/react-icons/lib/io/social-snapchat-outline.d.ts index 5fe324cb94..7a9e2ded8f 100644 --- a/types/react-icons/lib/io/social-snapchat-outline.d.ts +++ b/types/react-icons/lib/io/social-snapchat-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialSnapchatOutline extends React.Component<IconBaseProps> { } +declare class IoSocialSnapchatOutline extends React.Component<IconBaseProps> { } +export = IoSocialSnapchatOutline; diff --git a/types/react-icons/lib/io/social-snapchat.d.ts b/types/react-icons/lib/io/social-snapchat.d.ts index ba87070d61..a4485fde56 100644 --- a/types/react-icons/lib/io/social-snapchat.d.ts +++ b/types/react-icons/lib/io/social-snapchat.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialSnapchat extends React.Component<IconBaseProps> { } +declare class IoSocialSnapchat extends React.Component<IconBaseProps> { } +export = IoSocialSnapchat; diff --git a/types/react-icons/lib/io/social-tumblr-outline.d.ts b/types/react-icons/lib/io/social-tumblr-outline.d.ts index dbf70d2b60..6d7e99cd46 100644 --- a/types/react-icons/lib/io/social-tumblr-outline.d.ts +++ b/types/react-icons/lib/io/social-tumblr-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialTumblrOutline extends React.Component<IconBaseProps> { } +declare class IoSocialTumblrOutline extends React.Component<IconBaseProps> { } +export = IoSocialTumblrOutline; diff --git a/types/react-icons/lib/io/social-tumblr.d.ts b/types/react-icons/lib/io/social-tumblr.d.ts index ce5c8b4170..16485cdbf6 100644 --- a/types/react-icons/lib/io/social-tumblr.d.ts +++ b/types/react-icons/lib/io/social-tumblr.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialTumblr extends React.Component<IconBaseProps> { } +declare class IoSocialTumblr extends React.Component<IconBaseProps> { } +export = IoSocialTumblr; diff --git a/types/react-icons/lib/io/social-tux.d.ts b/types/react-icons/lib/io/social-tux.d.ts index 411ff72010..68d6a6787e 100644 --- a/types/react-icons/lib/io/social-tux.d.ts +++ b/types/react-icons/lib/io/social-tux.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialTux extends React.Component<IconBaseProps> { } +declare class IoSocialTux extends React.Component<IconBaseProps> { } +export = IoSocialTux; diff --git a/types/react-icons/lib/io/social-twitch-outline.d.ts b/types/react-icons/lib/io/social-twitch-outline.d.ts index 5875914d98..0639dc5552 100644 --- a/types/react-icons/lib/io/social-twitch-outline.d.ts +++ b/types/react-icons/lib/io/social-twitch-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialTwitchOutline extends React.Component<IconBaseProps> { } +declare class IoSocialTwitchOutline extends React.Component<IconBaseProps> { } +export = IoSocialTwitchOutline; diff --git a/types/react-icons/lib/io/social-twitch.d.ts b/types/react-icons/lib/io/social-twitch.d.ts index 109993f553..e62fbcda60 100644 --- a/types/react-icons/lib/io/social-twitch.d.ts +++ b/types/react-icons/lib/io/social-twitch.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialTwitch extends React.Component<IconBaseProps> { } +declare class IoSocialTwitch extends React.Component<IconBaseProps> { } +export = IoSocialTwitch; diff --git a/types/react-icons/lib/io/social-twitter-outline.d.ts b/types/react-icons/lib/io/social-twitter-outline.d.ts index 2ecfe578dd..cc296a9604 100644 --- a/types/react-icons/lib/io/social-twitter-outline.d.ts +++ b/types/react-icons/lib/io/social-twitter-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialTwitterOutline extends React.Component<IconBaseProps> { } +declare class IoSocialTwitterOutline extends React.Component<IconBaseProps> { } +export = IoSocialTwitterOutline; diff --git a/types/react-icons/lib/io/social-twitter.d.ts b/types/react-icons/lib/io/social-twitter.d.ts index 81b8c0817a..9a6316e86e 100644 --- a/types/react-icons/lib/io/social-twitter.d.ts +++ b/types/react-icons/lib/io/social-twitter.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialTwitter extends React.Component<IconBaseProps> { } +declare class IoSocialTwitter extends React.Component<IconBaseProps> { } +export = IoSocialTwitter; diff --git a/types/react-icons/lib/io/social-usd-outline.d.ts b/types/react-icons/lib/io/social-usd-outline.d.ts index 8c12d195f5..94a304538b 100644 --- a/types/react-icons/lib/io/social-usd-outline.d.ts +++ b/types/react-icons/lib/io/social-usd-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialUsdOutline extends React.Component<IconBaseProps> { } +declare class IoSocialUsdOutline extends React.Component<IconBaseProps> { } +export = IoSocialUsdOutline; diff --git a/types/react-icons/lib/io/social-usd.d.ts b/types/react-icons/lib/io/social-usd.d.ts index a6814ba496..31bff60cbf 100644 --- a/types/react-icons/lib/io/social-usd.d.ts +++ b/types/react-icons/lib/io/social-usd.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialUsd extends React.Component<IconBaseProps> { } +declare class IoSocialUsd extends React.Component<IconBaseProps> { } +export = IoSocialUsd; diff --git a/types/react-icons/lib/io/social-vimeo-outline.d.ts b/types/react-icons/lib/io/social-vimeo-outline.d.ts index bcac0c4f79..3881531895 100644 --- a/types/react-icons/lib/io/social-vimeo-outline.d.ts +++ b/types/react-icons/lib/io/social-vimeo-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialVimeoOutline extends React.Component<IconBaseProps> { } +declare class IoSocialVimeoOutline extends React.Component<IconBaseProps> { } +export = IoSocialVimeoOutline; diff --git a/types/react-icons/lib/io/social-vimeo.d.ts b/types/react-icons/lib/io/social-vimeo.d.ts index 5e0e068a51..2c6f6f91ef 100644 --- a/types/react-icons/lib/io/social-vimeo.d.ts +++ b/types/react-icons/lib/io/social-vimeo.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialVimeo extends React.Component<IconBaseProps> { } +declare class IoSocialVimeo extends React.Component<IconBaseProps> { } +export = IoSocialVimeo; diff --git a/types/react-icons/lib/io/social-whatsapp-outline.d.ts b/types/react-icons/lib/io/social-whatsapp-outline.d.ts index d3945dd43a..c6f93dbc26 100644 --- a/types/react-icons/lib/io/social-whatsapp-outline.d.ts +++ b/types/react-icons/lib/io/social-whatsapp-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialWhatsappOutline extends React.Component<IconBaseProps> { } +declare class IoSocialWhatsappOutline extends React.Component<IconBaseProps> { } +export = IoSocialWhatsappOutline; diff --git a/types/react-icons/lib/io/social-whatsapp.d.ts b/types/react-icons/lib/io/social-whatsapp.d.ts index 3f767a557e..a89d97fb8a 100644 --- a/types/react-icons/lib/io/social-whatsapp.d.ts +++ b/types/react-icons/lib/io/social-whatsapp.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialWhatsapp extends React.Component<IconBaseProps> { } +declare class IoSocialWhatsapp extends React.Component<IconBaseProps> { } +export = IoSocialWhatsapp; diff --git a/types/react-icons/lib/io/social-windows-outline.d.ts b/types/react-icons/lib/io/social-windows-outline.d.ts index 204f5cc4ef..59e54299d1 100644 --- a/types/react-icons/lib/io/social-windows-outline.d.ts +++ b/types/react-icons/lib/io/social-windows-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialWindowsOutline extends React.Component<IconBaseProps> { } +declare class IoSocialWindowsOutline extends React.Component<IconBaseProps> { } +export = IoSocialWindowsOutline; diff --git a/types/react-icons/lib/io/social-windows.d.ts b/types/react-icons/lib/io/social-windows.d.ts index 4a5a4854bd..3ee6ad9bd1 100644 --- a/types/react-icons/lib/io/social-windows.d.ts +++ b/types/react-icons/lib/io/social-windows.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialWindows extends React.Component<IconBaseProps> { } +declare class IoSocialWindows extends React.Component<IconBaseProps> { } +export = IoSocialWindows; diff --git a/types/react-icons/lib/io/social-wordpress-outline.d.ts b/types/react-icons/lib/io/social-wordpress-outline.d.ts index 15e7a115dd..87bb1b446d 100644 --- a/types/react-icons/lib/io/social-wordpress-outline.d.ts +++ b/types/react-icons/lib/io/social-wordpress-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialWordpressOutline extends React.Component<IconBaseProps> { } +declare class IoSocialWordpressOutline extends React.Component<IconBaseProps> { } +export = IoSocialWordpressOutline; diff --git a/types/react-icons/lib/io/social-wordpress.d.ts b/types/react-icons/lib/io/social-wordpress.d.ts index 4d6e02a859..5b0f9037b6 100644 --- a/types/react-icons/lib/io/social-wordpress.d.ts +++ b/types/react-icons/lib/io/social-wordpress.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialWordpress extends React.Component<IconBaseProps> { } +declare class IoSocialWordpress extends React.Component<IconBaseProps> { } +export = IoSocialWordpress; diff --git a/types/react-icons/lib/io/social-yahoo-outline.d.ts b/types/react-icons/lib/io/social-yahoo-outline.d.ts index 5dcc671758..97fd9f19bd 100644 --- a/types/react-icons/lib/io/social-yahoo-outline.d.ts +++ b/types/react-icons/lib/io/social-yahoo-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialYahooOutline extends React.Component<IconBaseProps> { } +declare class IoSocialYahooOutline extends React.Component<IconBaseProps> { } +export = IoSocialYahooOutline; diff --git a/types/react-icons/lib/io/social-yahoo.d.ts b/types/react-icons/lib/io/social-yahoo.d.ts index b5e6c878d6..5af9daf8ae 100644 --- a/types/react-icons/lib/io/social-yahoo.d.ts +++ b/types/react-icons/lib/io/social-yahoo.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialYahoo extends React.Component<IconBaseProps> { } +declare class IoSocialYahoo extends React.Component<IconBaseProps> { } +export = IoSocialYahoo; diff --git a/types/react-icons/lib/io/social-yen-outline.d.ts b/types/react-icons/lib/io/social-yen-outline.d.ts index 889d6655a6..7b4afff62d 100644 --- a/types/react-icons/lib/io/social-yen-outline.d.ts +++ b/types/react-icons/lib/io/social-yen-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialYenOutline extends React.Component<IconBaseProps> { } +declare class IoSocialYenOutline extends React.Component<IconBaseProps> { } +export = IoSocialYenOutline; diff --git a/types/react-icons/lib/io/social-yen.d.ts b/types/react-icons/lib/io/social-yen.d.ts index 59d9b2b28b..97909d13f6 100644 --- a/types/react-icons/lib/io/social-yen.d.ts +++ b/types/react-icons/lib/io/social-yen.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialYen extends React.Component<IconBaseProps> { } +declare class IoSocialYen extends React.Component<IconBaseProps> { } +export = IoSocialYen; diff --git a/types/react-icons/lib/io/social-youtube-outline.d.ts b/types/react-icons/lib/io/social-youtube-outline.d.ts index 09812d8e86..6395697460 100644 --- a/types/react-icons/lib/io/social-youtube-outline.d.ts +++ b/types/react-icons/lib/io/social-youtube-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialYoutubeOutline extends React.Component<IconBaseProps> { } +declare class IoSocialYoutubeOutline extends React.Component<IconBaseProps> { } +export = IoSocialYoutubeOutline; diff --git a/types/react-icons/lib/io/social-youtube.d.ts b/types/react-icons/lib/io/social-youtube.d.ts index 881e782d72..18df52b892 100644 --- a/types/react-icons/lib/io/social-youtube.d.ts +++ b/types/react-icons/lib/io/social-youtube.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSocialYoutube extends React.Component<IconBaseProps> { } +declare class IoSocialYoutube extends React.Component<IconBaseProps> { } +export = IoSocialYoutube; diff --git a/types/react-icons/lib/io/soup-can-outline.d.ts b/types/react-icons/lib/io/soup-can-outline.d.ts index e1fe063808..3f06093398 100644 --- a/types/react-icons/lib/io/soup-can-outline.d.ts +++ b/types/react-icons/lib/io/soup-can-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSoupCanOutline extends React.Component<IconBaseProps> { } +declare class IoSoupCanOutline extends React.Component<IconBaseProps> { } +export = IoSoupCanOutline; diff --git a/types/react-icons/lib/io/soup-can.d.ts b/types/react-icons/lib/io/soup-can.d.ts index 50b4167624..c2bf15731b 100644 --- a/types/react-icons/lib/io/soup-can.d.ts +++ b/types/react-icons/lib/io/soup-can.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSoupCan extends React.Component<IconBaseProps> { } +declare class IoSoupCan extends React.Component<IconBaseProps> { } +export = IoSoupCan; diff --git a/types/react-icons/lib/io/speakerphone.d.ts b/types/react-icons/lib/io/speakerphone.d.ts index af9117f78e..780c4002fd 100644 --- a/types/react-icons/lib/io/speakerphone.d.ts +++ b/types/react-icons/lib/io/speakerphone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSpeakerphone extends React.Component<IconBaseProps> { } +declare class IoSpeakerphone extends React.Component<IconBaseProps> { } +export = IoSpeakerphone; diff --git a/types/react-icons/lib/io/speedometer.d.ts b/types/react-icons/lib/io/speedometer.d.ts index 50d69af596..cfa16db12d 100644 --- a/types/react-icons/lib/io/speedometer.d.ts +++ b/types/react-icons/lib/io/speedometer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSpeedometer extends React.Component<IconBaseProps> { } +declare class IoSpeedometer extends React.Component<IconBaseProps> { } +export = IoSpeedometer; diff --git a/types/react-icons/lib/io/spoon.d.ts b/types/react-icons/lib/io/spoon.d.ts index 107a88c9a6..d3ab8e61d0 100644 --- a/types/react-icons/lib/io/spoon.d.ts +++ b/types/react-icons/lib/io/spoon.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSpoon extends React.Component<IconBaseProps> { } +declare class IoSpoon extends React.Component<IconBaseProps> { } +export = IoSpoon; diff --git a/types/react-icons/lib/io/star.d.ts b/types/react-icons/lib/io/star.d.ts index f4c1953512..8db2437a5e 100644 --- a/types/react-icons/lib/io/star.d.ts +++ b/types/react-icons/lib/io/star.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoStar extends React.Component<IconBaseProps> { } +declare class IoStar extends React.Component<IconBaseProps> { } +export = IoStar; diff --git a/types/react-icons/lib/io/stats-bars.d.ts b/types/react-icons/lib/io/stats-bars.d.ts index 2d5e5024cb..0a94f74c65 100644 --- a/types/react-icons/lib/io/stats-bars.d.ts +++ b/types/react-icons/lib/io/stats-bars.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoStatsBars extends React.Component<IconBaseProps> { } +declare class IoStatsBars extends React.Component<IconBaseProps> { } +export = IoStatsBars; diff --git a/types/react-icons/lib/io/steam.d.ts b/types/react-icons/lib/io/steam.d.ts index 097461e15c..be700cdf00 100644 --- a/types/react-icons/lib/io/steam.d.ts +++ b/types/react-icons/lib/io/steam.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoSteam extends React.Component<IconBaseProps> { } +declare class IoSteam extends React.Component<IconBaseProps> { } +export = IoSteam; diff --git a/types/react-icons/lib/io/stop.d.ts b/types/react-icons/lib/io/stop.d.ts index 5fed81dabb..c2910f1023 100644 --- a/types/react-icons/lib/io/stop.d.ts +++ b/types/react-icons/lib/io/stop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoStop extends React.Component<IconBaseProps> { } +declare class IoStop extends React.Component<IconBaseProps> { } +export = IoStop; diff --git a/types/react-icons/lib/io/thermometer.d.ts b/types/react-icons/lib/io/thermometer.d.ts index f76efa25ac..978014255d 100644 --- a/types/react-icons/lib/io/thermometer.d.ts +++ b/types/react-icons/lib/io/thermometer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoThermometer extends React.Component<IconBaseProps> { } +declare class IoThermometer extends React.Component<IconBaseProps> { } +export = IoThermometer; diff --git a/types/react-icons/lib/io/thumbsdown.d.ts b/types/react-icons/lib/io/thumbsdown.d.ts index ebbbe6a64e..c1106f88bc 100644 --- a/types/react-icons/lib/io/thumbsdown.d.ts +++ b/types/react-icons/lib/io/thumbsdown.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoThumbsdown extends React.Component<IconBaseProps> { } +declare class IoThumbsdown extends React.Component<IconBaseProps> { } +export = IoThumbsdown; diff --git a/types/react-icons/lib/io/thumbsup.d.ts b/types/react-icons/lib/io/thumbsup.d.ts index 285d40f186..a295066207 100644 --- a/types/react-icons/lib/io/thumbsup.d.ts +++ b/types/react-icons/lib/io/thumbsup.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoThumbsup extends React.Component<IconBaseProps> { } +declare class IoThumbsup extends React.Component<IconBaseProps> { } +export = IoThumbsup; diff --git a/types/react-icons/lib/io/toggle-filled.d.ts b/types/react-icons/lib/io/toggle-filled.d.ts index 93cba93938..8a97c60a00 100644 --- a/types/react-icons/lib/io/toggle-filled.d.ts +++ b/types/react-icons/lib/io/toggle-filled.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoToggleFilled extends React.Component<IconBaseProps> { } +declare class IoToggleFilled extends React.Component<IconBaseProps> { } +export = IoToggleFilled; diff --git a/types/react-icons/lib/io/toggle.d.ts b/types/react-icons/lib/io/toggle.d.ts index 1af341ce4f..b8c2fdb3ff 100644 --- a/types/react-icons/lib/io/toggle.d.ts +++ b/types/react-icons/lib/io/toggle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoToggle extends React.Component<IconBaseProps> { } +declare class IoToggle extends React.Component<IconBaseProps> { } +export = IoToggle; diff --git a/types/react-icons/lib/io/transgender.d.ts b/types/react-icons/lib/io/transgender.d.ts index 254ada7d1a..c1a45e1897 100644 --- a/types/react-icons/lib/io/transgender.d.ts +++ b/types/react-icons/lib/io/transgender.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoTransgender extends React.Component<IconBaseProps> { } +declare class IoTransgender extends React.Component<IconBaseProps> { } +export = IoTransgender; diff --git a/types/react-icons/lib/io/trash-a.d.ts b/types/react-icons/lib/io/trash-a.d.ts index bfd8815599..34ab344936 100644 --- a/types/react-icons/lib/io/trash-a.d.ts +++ b/types/react-icons/lib/io/trash-a.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoTrashA extends React.Component<IconBaseProps> { } +declare class IoTrashA extends React.Component<IconBaseProps> { } +export = IoTrashA; diff --git a/types/react-icons/lib/io/trash-b.d.ts b/types/react-icons/lib/io/trash-b.d.ts index c7c0cde13a..c05cf3253c 100644 --- a/types/react-icons/lib/io/trash-b.d.ts +++ b/types/react-icons/lib/io/trash-b.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoTrashB extends React.Component<IconBaseProps> { } +declare class IoTrashB extends React.Component<IconBaseProps> { } +export = IoTrashB; diff --git a/types/react-icons/lib/io/trophy.d.ts b/types/react-icons/lib/io/trophy.d.ts index f5f159c2e2..6dd8ed7039 100644 --- a/types/react-icons/lib/io/trophy.d.ts +++ b/types/react-icons/lib/io/trophy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoTrophy extends React.Component<IconBaseProps> { } +declare class IoTrophy extends React.Component<IconBaseProps> { } +export = IoTrophy; diff --git a/types/react-icons/lib/io/tshirt-outline.d.ts b/types/react-icons/lib/io/tshirt-outline.d.ts index b530f97107..859fc600ab 100644 --- a/types/react-icons/lib/io/tshirt-outline.d.ts +++ b/types/react-icons/lib/io/tshirt-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoTshirtOutline extends React.Component<IconBaseProps> { } +declare class IoTshirtOutline extends React.Component<IconBaseProps> { } +export = IoTshirtOutline; diff --git a/types/react-icons/lib/io/tshirt.d.ts b/types/react-icons/lib/io/tshirt.d.ts index b0072273b9..5c889dabfa 100644 --- a/types/react-icons/lib/io/tshirt.d.ts +++ b/types/react-icons/lib/io/tshirt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoTshirt extends React.Component<IconBaseProps> { } +declare class IoTshirt extends React.Component<IconBaseProps> { } +export = IoTshirt; diff --git a/types/react-icons/lib/io/umbrella.d.ts b/types/react-icons/lib/io/umbrella.d.ts index b85cf5b8c9..b9311248eb 100644 --- a/types/react-icons/lib/io/umbrella.d.ts +++ b/types/react-icons/lib/io/umbrella.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoUmbrella extends React.Component<IconBaseProps> { } +declare class IoUmbrella extends React.Component<IconBaseProps> { } +export = IoUmbrella; diff --git a/types/react-icons/lib/io/university.d.ts b/types/react-icons/lib/io/university.d.ts index 5947ae4172..7f070ad2a9 100644 --- a/types/react-icons/lib/io/university.d.ts +++ b/types/react-icons/lib/io/university.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoUniversity extends React.Component<IconBaseProps> { } +declare class IoUniversity extends React.Component<IconBaseProps> { } +export = IoUniversity; diff --git a/types/react-icons/lib/io/unlocked.d.ts b/types/react-icons/lib/io/unlocked.d.ts index 741c5ea952..d1863717f1 100644 --- a/types/react-icons/lib/io/unlocked.d.ts +++ b/types/react-icons/lib/io/unlocked.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoUnlocked extends React.Component<IconBaseProps> { } +declare class IoUnlocked extends React.Component<IconBaseProps> { } +export = IoUnlocked; diff --git a/types/react-icons/lib/io/upload.d.ts b/types/react-icons/lib/io/upload.d.ts index 1ffb5c4aaf..2e5dfaf390 100644 --- a/types/react-icons/lib/io/upload.d.ts +++ b/types/react-icons/lib/io/upload.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoUpload extends React.Component<IconBaseProps> { } +declare class IoUpload extends React.Component<IconBaseProps> { } +export = IoUpload; diff --git a/types/react-icons/lib/io/usb.d.ts b/types/react-icons/lib/io/usb.d.ts index e53180c80e..7e15ce6b91 100644 --- a/types/react-icons/lib/io/usb.d.ts +++ b/types/react-icons/lib/io/usb.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoUsb extends React.Component<IconBaseProps> { } +declare class IoUsb extends React.Component<IconBaseProps> { } +export = IoUsb; diff --git a/types/react-icons/lib/io/videocamera.d.ts b/types/react-icons/lib/io/videocamera.d.ts index 43148acede..b87a08d27e 100644 --- a/types/react-icons/lib/io/videocamera.d.ts +++ b/types/react-icons/lib/io/videocamera.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoVideocamera extends React.Component<IconBaseProps> { } +declare class IoVideocamera extends React.Component<IconBaseProps> { } +export = IoVideocamera; diff --git a/types/react-icons/lib/io/volume-high.d.ts b/types/react-icons/lib/io/volume-high.d.ts index fdb362c990..3778a4f81a 100644 --- a/types/react-icons/lib/io/volume-high.d.ts +++ b/types/react-icons/lib/io/volume-high.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoVolumeHigh extends React.Component<IconBaseProps> { } +declare class IoVolumeHigh extends React.Component<IconBaseProps> { } +export = IoVolumeHigh; diff --git a/types/react-icons/lib/io/volume-low.d.ts b/types/react-icons/lib/io/volume-low.d.ts index 1ac513c891..0850e7f04b 100644 --- a/types/react-icons/lib/io/volume-low.d.ts +++ b/types/react-icons/lib/io/volume-low.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoVolumeLow extends React.Component<IconBaseProps> { } +declare class IoVolumeLow extends React.Component<IconBaseProps> { } +export = IoVolumeLow; diff --git a/types/react-icons/lib/io/volume-medium.d.ts b/types/react-icons/lib/io/volume-medium.d.ts index 7607d22632..dd63b5957c 100644 --- a/types/react-icons/lib/io/volume-medium.d.ts +++ b/types/react-icons/lib/io/volume-medium.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoVolumeMedium extends React.Component<IconBaseProps> { } +declare class IoVolumeMedium extends React.Component<IconBaseProps> { } +export = IoVolumeMedium; diff --git a/types/react-icons/lib/io/volume-mute.d.ts b/types/react-icons/lib/io/volume-mute.d.ts index ff7330e544..4d515705cd 100644 --- a/types/react-icons/lib/io/volume-mute.d.ts +++ b/types/react-icons/lib/io/volume-mute.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoVolumeMute extends React.Component<IconBaseProps> { } +declare class IoVolumeMute extends React.Component<IconBaseProps> { } +export = IoVolumeMute; diff --git a/types/react-icons/lib/io/wand.d.ts b/types/react-icons/lib/io/wand.d.ts index e1e22869ee..29428f8a3d 100644 --- a/types/react-icons/lib/io/wand.d.ts +++ b/types/react-icons/lib/io/wand.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoWand extends React.Component<IconBaseProps> { } +declare class IoWand extends React.Component<IconBaseProps> { } +export = IoWand; diff --git a/types/react-icons/lib/io/waterdrop.d.ts b/types/react-icons/lib/io/waterdrop.d.ts index a674835d55..503b4fd799 100644 --- a/types/react-icons/lib/io/waterdrop.d.ts +++ b/types/react-icons/lib/io/waterdrop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoWaterdrop extends React.Component<IconBaseProps> { } +declare class IoWaterdrop extends React.Component<IconBaseProps> { } +export = IoWaterdrop; diff --git a/types/react-icons/lib/io/wifi.d.ts b/types/react-icons/lib/io/wifi.d.ts index 3bec1b2449..9c8322487a 100644 --- a/types/react-icons/lib/io/wifi.d.ts +++ b/types/react-icons/lib/io/wifi.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoWifi extends React.Component<IconBaseProps> { } +declare class IoWifi extends React.Component<IconBaseProps> { } +export = IoWifi; diff --git a/types/react-icons/lib/io/wineglass.d.ts b/types/react-icons/lib/io/wineglass.d.ts index 33b7d9843e..a7fb1c5520 100644 --- a/types/react-icons/lib/io/wineglass.d.ts +++ b/types/react-icons/lib/io/wineglass.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoWineglass extends React.Component<IconBaseProps> { } +declare class IoWineglass extends React.Component<IconBaseProps> { } +export = IoWineglass; diff --git a/types/react-icons/lib/io/woman.d.ts b/types/react-icons/lib/io/woman.d.ts index b3cbbd6294..4d3651cc4c 100644 --- a/types/react-icons/lib/io/woman.d.ts +++ b/types/react-icons/lib/io/woman.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoWoman extends React.Component<IconBaseProps> { } +declare class IoWoman extends React.Component<IconBaseProps> { } +export = IoWoman; diff --git a/types/react-icons/lib/io/wrench.d.ts b/types/react-icons/lib/io/wrench.d.ts index 6f53a0a8cd..74c56ffaa3 100644 --- a/types/react-icons/lib/io/wrench.d.ts +++ b/types/react-icons/lib/io/wrench.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoWrench extends React.Component<IconBaseProps> { } +declare class IoWrench extends React.Component<IconBaseProps> { } +export = IoWrench; diff --git a/types/react-icons/lib/io/xbox.d.ts b/types/react-icons/lib/io/xbox.d.ts index 2d3db0cbbc..857e10a0e4 100644 --- a/types/react-icons/lib/io/xbox.d.ts +++ b/types/react-icons/lib/io/xbox.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class IoXbox extends React.Component<IconBaseProps> { } +declare class IoXbox extends React.Component<IconBaseProps> { } +export = IoXbox; diff --git a/types/react-icons/lib/md/3d-rotation.d.ts b/types/react-icons/lib/md/3d-rotation.d.ts index 39d7887e16..cd124ed1dd 100644 --- a/types/react-icons/lib/md/3d-rotation.d.ts +++ b/types/react-icons/lib/md/3d-rotation.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class Md3dRotation extends React.Component<IconBaseProps> { } +declare class Md3dRotation extends React.Component<IconBaseProps> { } +export = Md3dRotation; diff --git a/types/react-icons/lib/md/ac-unit.d.ts b/types/react-icons/lib/md/ac-unit.d.ts index 19f6257f61..e5da2947aa 100644 --- a/types/react-icons/lib/md/ac-unit.d.ts +++ b/types/react-icons/lib/md/ac-unit.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAcUnit extends React.Component<IconBaseProps> { } +declare class MdAcUnit extends React.Component<IconBaseProps> { } +export = MdAcUnit; diff --git a/types/react-icons/lib/md/access-alarm.d.ts b/types/react-icons/lib/md/access-alarm.d.ts index 8bfb8edd91..7161430611 100644 --- a/types/react-icons/lib/md/access-alarm.d.ts +++ b/types/react-icons/lib/md/access-alarm.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAccessAlarm extends React.Component<IconBaseProps> { } +declare class MdAccessAlarm extends React.Component<IconBaseProps> { } +export = MdAccessAlarm; diff --git a/types/react-icons/lib/md/access-alarms.d.ts b/types/react-icons/lib/md/access-alarms.d.ts index 0d5b3fa4db..b984a238a4 100644 --- a/types/react-icons/lib/md/access-alarms.d.ts +++ b/types/react-icons/lib/md/access-alarms.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAccessAlarms extends React.Component<IconBaseProps> { } +declare class MdAccessAlarms extends React.Component<IconBaseProps> { } +export = MdAccessAlarms; diff --git a/types/react-icons/lib/md/access-time.d.ts b/types/react-icons/lib/md/access-time.d.ts index 552cf439f3..bc39504143 100644 --- a/types/react-icons/lib/md/access-time.d.ts +++ b/types/react-icons/lib/md/access-time.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAccessTime extends React.Component<IconBaseProps> { } +declare class MdAccessTime extends React.Component<IconBaseProps> { } +export = MdAccessTime; diff --git a/types/react-icons/lib/md/accessibility.d.ts b/types/react-icons/lib/md/accessibility.d.ts index 4160aa2c69..5ba4fd7f45 100644 --- a/types/react-icons/lib/md/accessibility.d.ts +++ b/types/react-icons/lib/md/accessibility.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAccessibility extends React.Component<IconBaseProps> { } +declare class MdAccessibility extends React.Component<IconBaseProps> { } +export = MdAccessibility; diff --git a/types/react-icons/lib/md/accessible.d.ts b/types/react-icons/lib/md/accessible.d.ts index 180d7b0bc5..8ed1603dcb 100644 --- a/types/react-icons/lib/md/accessible.d.ts +++ b/types/react-icons/lib/md/accessible.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAccessible extends React.Component<IconBaseProps> { } +declare class MdAccessible extends React.Component<IconBaseProps> { } +export = MdAccessible; diff --git a/types/react-icons/lib/md/account-balance-wallet.d.ts b/types/react-icons/lib/md/account-balance-wallet.d.ts index 469c3e9876..a6b7794282 100644 --- a/types/react-icons/lib/md/account-balance-wallet.d.ts +++ b/types/react-icons/lib/md/account-balance-wallet.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAccountBalanceWallet extends React.Component<IconBaseProps> { } +declare class MdAccountBalanceWallet extends React.Component<IconBaseProps> { } +export = MdAccountBalanceWallet; diff --git a/types/react-icons/lib/md/account-balance.d.ts b/types/react-icons/lib/md/account-balance.d.ts index 22edcbea9a..e3677c0060 100644 --- a/types/react-icons/lib/md/account-balance.d.ts +++ b/types/react-icons/lib/md/account-balance.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAccountBalance extends React.Component<IconBaseProps> { } +declare class MdAccountBalance extends React.Component<IconBaseProps> { } +export = MdAccountBalance; diff --git a/types/react-icons/lib/md/account-box.d.ts b/types/react-icons/lib/md/account-box.d.ts index c49ee5214e..4bda5e52b3 100644 --- a/types/react-icons/lib/md/account-box.d.ts +++ b/types/react-icons/lib/md/account-box.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAccountBox extends React.Component<IconBaseProps> { } +declare class MdAccountBox extends React.Component<IconBaseProps> { } +export = MdAccountBox; diff --git a/types/react-icons/lib/md/account-circle.d.ts b/types/react-icons/lib/md/account-circle.d.ts index 6c9eab8aaf..fa6f5bba0b 100644 --- a/types/react-icons/lib/md/account-circle.d.ts +++ b/types/react-icons/lib/md/account-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAccountCircle extends React.Component<IconBaseProps> { } +declare class MdAccountCircle extends React.Component<IconBaseProps> { } +export = MdAccountCircle; diff --git a/types/react-icons/lib/md/adb.d.ts b/types/react-icons/lib/md/adb.d.ts index f056821ad5..b7d64c1770 100644 --- a/types/react-icons/lib/md/adb.d.ts +++ b/types/react-icons/lib/md/adb.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAdb extends React.Component<IconBaseProps> { } +declare class MdAdb extends React.Component<IconBaseProps> { } +export = MdAdb; diff --git a/types/react-icons/lib/md/add-a-photo.d.ts b/types/react-icons/lib/md/add-a-photo.d.ts index 570d26f3da..6cb5e6913e 100644 --- a/types/react-icons/lib/md/add-a-photo.d.ts +++ b/types/react-icons/lib/md/add-a-photo.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAddAPhoto extends React.Component<IconBaseProps> { } +declare class MdAddAPhoto extends React.Component<IconBaseProps> { } +export = MdAddAPhoto; diff --git a/types/react-icons/lib/md/add-alarm.d.ts b/types/react-icons/lib/md/add-alarm.d.ts index 6b6f78f4b9..9c06d74684 100644 --- a/types/react-icons/lib/md/add-alarm.d.ts +++ b/types/react-icons/lib/md/add-alarm.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAddAlarm extends React.Component<IconBaseProps> { } +declare class MdAddAlarm extends React.Component<IconBaseProps> { } +export = MdAddAlarm; diff --git a/types/react-icons/lib/md/add-alert.d.ts b/types/react-icons/lib/md/add-alert.d.ts index b422649d52..cbc7689625 100644 --- a/types/react-icons/lib/md/add-alert.d.ts +++ b/types/react-icons/lib/md/add-alert.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAddAlert extends React.Component<IconBaseProps> { } +declare class MdAddAlert extends React.Component<IconBaseProps> { } +export = MdAddAlert; diff --git a/types/react-icons/lib/md/add-box.d.ts b/types/react-icons/lib/md/add-box.d.ts index 51e1f765c0..4993ca9c42 100644 --- a/types/react-icons/lib/md/add-box.d.ts +++ b/types/react-icons/lib/md/add-box.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAddBox extends React.Component<IconBaseProps> { } +declare class MdAddBox extends React.Component<IconBaseProps> { } +export = MdAddBox; diff --git a/types/react-icons/lib/md/add-circle-outline.d.ts b/types/react-icons/lib/md/add-circle-outline.d.ts index 981d8bb9ce..18e3b93a51 100644 --- a/types/react-icons/lib/md/add-circle-outline.d.ts +++ b/types/react-icons/lib/md/add-circle-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAddCircleOutline extends React.Component<IconBaseProps> { } +declare class MdAddCircleOutline extends React.Component<IconBaseProps> { } +export = MdAddCircleOutline; diff --git a/types/react-icons/lib/md/add-circle.d.ts b/types/react-icons/lib/md/add-circle.d.ts index a0a0991c0c..ab9788a759 100644 --- a/types/react-icons/lib/md/add-circle.d.ts +++ b/types/react-icons/lib/md/add-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAddCircle extends React.Component<IconBaseProps> { } +declare class MdAddCircle extends React.Component<IconBaseProps> { } +export = MdAddCircle; diff --git a/types/react-icons/lib/md/add-location.d.ts b/types/react-icons/lib/md/add-location.d.ts index 98b0f328a3..c9daea88b7 100644 --- a/types/react-icons/lib/md/add-location.d.ts +++ b/types/react-icons/lib/md/add-location.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAddLocation extends React.Component<IconBaseProps> { } +declare class MdAddLocation extends React.Component<IconBaseProps> { } +export = MdAddLocation; diff --git a/types/react-icons/lib/md/add-shopping-cart.d.ts b/types/react-icons/lib/md/add-shopping-cart.d.ts index 52ad95dd6f..bdaf9c181a 100644 --- a/types/react-icons/lib/md/add-shopping-cart.d.ts +++ b/types/react-icons/lib/md/add-shopping-cart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAddShoppingCart extends React.Component<IconBaseProps> { } +declare class MdAddShoppingCart extends React.Component<IconBaseProps> { } +export = MdAddShoppingCart; diff --git a/types/react-icons/lib/md/add-to-photos.d.ts b/types/react-icons/lib/md/add-to-photos.d.ts index 0eac8c47b2..6d4c39746b 100644 --- a/types/react-icons/lib/md/add-to-photos.d.ts +++ b/types/react-icons/lib/md/add-to-photos.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAddToPhotos extends React.Component<IconBaseProps> { } +declare class MdAddToPhotos extends React.Component<IconBaseProps> { } +export = MdAddToPhotos; diff --git a/types/react-icons/lib/md/add-to-queue.d.ts b/types/react-icons/lib/md/add-to-queue.d.ts index 2bf4474037..fda144a00f 100644 --- a/types/react-icons/lib/md/add-to-queue.d.ts +++ b/types/react-icons/lib/md/add-to-queue.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAddToQueue extends React.Component<IconBaseProps> { } +declare class MdAddToQueue extends React.Component<IconBaseProps> { } +export = MdAddToQueue; diff --git a/types/react-icons/lib/md/add.d.ts b/types/react-icons/lib/md/add.d.ts index 1b7fb63078..1d69eb0d75 100644 --- a/types/react-icons/lib/md/add.d.ts +++ b/types/react-icons/lib/md/add.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAdd extends React.Component<IconBaseProps> { } +declare class MdAdd extends React.Component<IconBaseProps> { } +export = MdAdd; diff --git a/types/react-icons/lib/md/adjust.d.ts b/types/react-icons/lib/md/adjust.d.ts index c511d98a86..3c49edc056 100644 --- a/types/react-icons/lib/md/adjust.d.ts +++ b/types/react-icons/lib/md/adjust.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAdjust extends React.Component<IconBaseProps> { } +declare class MdAdjust extends React.Component<IconBaseProps> { } +export = MdAdjust; diff --git a/types/react-icons/lib/md/airline-seat-flat-angled.d.ts b/types/react-icons/lib/md/airline-seat-flat-angled.d.ts index 27306970ac..4437e4979f 100644 --- a/types/react-icons/lib/md/airline-seat-flat-angled.d.ts +++ b/types/react-icons/lib/md/airline-seat-flat-angled.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAirlineSeatFlatAngled extends React.Component<IconBaseProps> { } +declare class MdAirlineSeatFlatAngled extends React.Component<IconBaseProps> { } +export = MdAirlineSeatFlatAngled; diff --git a/types/react-icons/lib/md/airline-seat-flat.d.ts b/types/react-icons/lib/md/airline-seat-flat.d.ts index 2708f28c19..6b0d949980 100644 --- a/types/react-icons/lib/md/airline-seat-flat.d.ts +++ b/types/react-icons/lib/md/airline-seat-flat.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAirlineSeatFlat extends React.Component<IconBaseProps> { } +declare class MdAirlineSeatFlat extends React.Component<IconBaseProps> { } +export = MdAirlineSeatFlat; diff --git a/types/react-icons/lib/md/airline-seat-individual-suite.d.ts b/types/react-icons/lib/md/airline-seat-individual-suite.d.ts index 1231fdffbc..08ca9b6c60 100644 --- a/types/react-icons/lib/md/airline-seat-individual-suite.d.ts +++ b/types/react-icons/lib/md/airline-seat-individual-suite.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAirlineSeatIndividualSuite extends React.Component<IconBaseProps> { } +declare class MdAirlineSeatIndividualSuite extends React.Component<IconBaseProps> { } +export = MdAirlineSeatIndividualSuite; diff --git a/types/react-icons/lib/md/airline-seat-legroom-extra.d.ts b/types/react-icons/lib/md/airline-seat-legroom-extra.d.ts index 8e48abc5df..3fa5d3da1d 100644 --- a/types/react-icons/lib/md/airline-seat-legroom-extra.d.ts +++ b/types/react-icons/lib/md/airline-seat-legroom-extra.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAirlineSeatLegroomExtra extends React.Component<IconBaseProps> { } +declare class MdAirlineSeatLegroomExtra extends React.Component<IconBaseProps> { } +export = MdAirlineSeatLegroomExtra; diff --git a/types/react-icons/lib/md/airline-seat-legroom-normal.d.ts b/types/react-icons/lib/md/airline-seat-legroom-normal.d.ts index 09cdf92d8a..e164c9cc85 100644 --- a/types/react-icons/lib/md/airline-seat-legroom-normal.d.ts +++ b/types/react-icons/lib/md/airline-seat-legroom-normal.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAirlineSeatLegroomNormal extends React.Component<IconBaseProps> { } +declare class MdAirlineSeatLegroomNormal extends React.Component<IconBaseProps> { } +export = MdAirlineSeatLegroomNormal; diff --git a/types/react-icons/lib/md/airline-seat-legroom-reduced.d.ts b/types/react-icons/lib/md/airline-seat-legroom-reduced.d.ts index e969b216a4..49c72be865 100644 --- a/types/react-icons/lib/md/airline-seat-legroom-reduced.d.ts +++ b/types/react-icons/lib/md/airline-seat-legroom-reduced.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAirlineSeatLegroomReduced extends React.Component<IconBaseProps> { } +declare class MdAirlineSeatLegroomReduced extends React.Component<IconBaseProps> { } +export = MdAirlineSeatLegroomReduced; diff --git a/types/react-icons/lib/md/airline-seat-recline-extra.d.ts b/types/react-icons/lib/md/airline-seat-recline-extra.d.ts index f675688c5c..62a9044496 100644 --- a/types/react-icons/lib/md/airline-seat-recline-extra.d.ts +++ b/types/react-icons/lib/md/airline-seat-recline-extra.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAirlineSeatReclineExtra extends React.Component<IconBaseProps> { } +declare class MdAirlineSeatReclineExtra extends React.Component<IconBaseProps> { } +export = MdAirlineSeatReclineExtra; diff --git a/types/react-icons/lib/md/airline-seat-recline-normal.d.ts b/types/react-icons/lib/md/airline-seat-recline-normal.d.ts index 2d7aeacd54..785727e347 100644 --- a/types/react-icons/lib/md/airline-seat-recline-normal.d.ts +++ b/types/react-icons/lib/md/airline-seat-recline-normal.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAirlineSeatReclineNormal extends React.Component<IconBaseProps> { } +declare class MdAirlineSeatReclineNormal extends React.Component<IconBaseProps> { } +export = MdAirlineSeatReclineNormal; diff --git a/types/react-icons/lib/md/airplanemode-active.d.ts b/types/react-icons/lib/md/airplanemode-active.d.ts index 64924f7457..e7b6ab9c76 100644 --- a/types/react-icons/lib/md/airplanemode-active.d.ts +++ b/types/react-icons/lib/md/airplanemode-active.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAirplanemodeActive extends React.Component<IconBaseProps> { } +declare class MdAirplanemodeActive extends React.Component<IconBaseProps> { } +export = MdAirplanemodeActive; diff --git a/types/react-icons/lib/md/airplanemode-inactive.d.ts b/types/react-icons/lib/md/airplanemode-inactive.d.ts index bea28feef8..cbcde22bfe 100644 --- a/types/react-icons/lib/md/airplanemode-inactive.d.ts +++ b/types/react-icons/lib/md/airplanemode-inactive.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAirplanemodeInactive extends React.Component<IconBaseProps> { } +declare class MdAirplanemodeInactive extends React.Component<IconBaseProps> { } +export = MdAirplanemodeInactive; diff --git a/types/react-icons/lib/md/airplay.d.ts b/types/react-icons/lib/md/airplay.d.ts index 0b7d8346dc..3b840e58a8 100644 --- a/types/react-icons/lib/md/airplay.d.ts +++ b/types/react-icons/lib/md/airplay.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAirplay extends React.Component<IconBaseProps> { } +declare class MdAirplay extends React.Component<IconBaseProps> { } +export = MdAirplay; diff --git a/types/react-icons/lib/md/airport-shuttle.d.ts b/types/react-icons/lib/md/airport-shuttle.d.ts index 4d81dcca74..834d5e6b78 100644 --- a/types/react-icons/lib/md/airport-shuttle.d.ts +++ b/types/react-icons/lib/md/airport-shuttle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAirportShuttle extends React.Component<IconBaseProps> { } +declare class MdAirportShuttle extends React.Component<IconBaseProps> { } +export = MdAirportShuttle; diff --git a/types/react-icons/lib/md/alarm-add.d.ts b/types/react-icons/lib/md/alarm-add.d.ts index d54261c71e..2a27963c11 100644 --- a/types/react-icons/lib/md/alarm-add.d.ts +++ b/types/react-icons/lib/md/alarm-add.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAlarmAdd extends React.Component<IconBaseProps> { } +declare class MdAlarmAdd extends React.Component<IconBaseProps> { } +export = MdAlarmAdd; diff --git a/types/react-icons/lib/md/alarm-off.d.ts b/types/react-icons/lib/md/alarm-off.d.ts index 637956f31a..c00b155183 100644 --- a/types/react-icons/lib/md/alarm-off.d.ts +++ b/types/react-icons/lib/md/alarm-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAlarmOff extends React.Component<IconBaseProps> { } +declare class MdAlarmOff extends React.Component<IconBaseProps> { } +export = MdAlarmOff; diff --git a/types/react-icons/lib/md/alarm-on.d.ts b/types/react-icons/lib/md/alarm-on.d.ts index 8ced06b55a..4c80b52859 100644 --- a/types/react-icons/lib/md/alarm-on.d.ts +++ b/types/react-icons/lib/md/alarm-on.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAlarmOn extends React.Component<IconBaseProps> { } +declare class MdAlarmOn extends React.Component<IconBaseProps> { } +export = MdAlarmOn; diff --git a/types/react-icons/lib/md/alarm.d.ts b/types/react-icons/lib/md/alarm.d.ts index 784b55604a..42fca7a006 100644 --- a/types/react-icons/lib/md/alarm.d.ts +++ b/types/react-icons/lib/md/alarm.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAlarm extends React.Component<IconBaseProps> { } +declare class MdAlarm extends React.Component<IconBaseProps> { } +export = MdAlarm; diff --git a/types/react-icons/lib/md/album.d.ts b/types/react-icons/lib/md/album.d.ts index b7c2dedcad..09c212215c 100644 --- a/types/react-icons/lib/md/album.d.ts +++ b/types/react-icons/lib/md/album.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAlbum extends React.Component<IconBaseProps> { } +declare class MdAlbum extends React.Component<IconBaseProps> { } +export = MdAlbum; diff --git a/types/react-icons/lib/md/all-inclusive.d.ts b/types/react-icons/lib/md/all-inclusive.d.ts index 121315d268..42e5cf6007 100644 --- a/types/react-icons/lib/md/all-inclusive.d.ts +++ b/types/react-icons/lib/md/all-inclusive.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAllInclusive extends React.Component<IconBaseProps> { } +declare class MdAllInclusive extends React.Component<IconBaseProps> { } +export = MdAllInclusive; diff --git a/types/react-icons/lib/md/all-out.d.ts b/types/react-icons/lib/md/all-out.d.ts index feba801059..2c4a26c76f 100644 --- a/types/react-icons/lib/md/all-out.d.ts +++ b/types/react-icons/lib/md/all-out.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAllOut extends React.Component<IconBaseProps> { } +declare class MdAllOut extends React.Component<IconBaseProps> { } +export = MdAllOut; diff --git a/types/react-icons/lib/md/android.d.ts b/types/react-icons/lib/md/android.d.ts index d5821263bd..adf4741a7c 100644 --- a/types/react-icons/lib/md/android.d.ts +++ b/types/react-icons/lib/md/android.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAndroid extends React.Component<IconBaseProps> { } +declare class MdAndroid extends React.Component<IconBaseProps> { } +export = MdAndroid; diff --git a/types/react-icons/lib/md/announcement.d.ts b/types/react-icons/lib/md/announcement.d.ts index 05af68d6c9..21f51fadcb 100644 --- a/types/react-icons/lib/md/announcement.d.ts +++ b/types/react-icons/lib/md/announcement.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAnnouncement extends React.Component<IconBaseProps> { } +declare class MdAnnouncement extends React.Component<IconBaseProps> { } +export = MdAnnouncement; diff --git a/types/react-icons/lib/md/apps.d.ts b/types/react-icons/lib/md/apps.d.ts index 605c867e9d..be159c2793 100644 --- a/types/react-icons/lib/md/apps.d.ts +++ b/types/react-icons/lib/md/apps.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdApps extends React.Component<IconBaseProps> { } +declare class MdApps extends React.Component<IconBaseProps> { } +export = MdApps; diff --git a/types/react-icons/lib/md/archive.d.ts b/types/react-icons/lib/md/archive.d.ts index 00cc76de31..2738255b53 100644 --- a/types/react-icons/lib/md/archive.d.ts +++ b/types/react-icons/lib/md/archive.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdArchive extends React.Component<IconBaseProps> { } +declare class MdArchive extends React.Component<IconBaseProps> { } +export = MdArchive; diff --git a/types/react-icons/lib/md/arrow-back.d.ts b/types/react-icons/lib/md/arrow-back.d.ts index d140fa63a4..0d37103473 100644 --- a/types/react-icons/lib/md/arrow-back.d.ts +++ b/types/react-icons/lib/md/arrow-back.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdArrowBack extends React.Component<IconBaseProps> { } +declare class MdArrowBack extends React.Component<IconBaseProps> { } +export = MdArrowBack; diff --git a/types/react-icons/lib/md/arrow-downward.d.ts b/types/react-icons/lib/md/arrow-downward.d.ts index 2d764aa5a0..e634a027a4 100644 --- a/types/react-icons/lib/md/arrow-downward.d.ts +++ b/types/react-icons/lib/md/arrow-downward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdArrowDownward extends React.Component<IconBaseProps> { } +declare class MdArrowDownward extends React.Component<IconBaseProps> { } +export = MdArrowDownward; diff --git a/types/react-icons/lib/md/arrow-drop-down-circle.d.ts b/types/react-icons/lib/md/arrow-drop-down-circle.d.ts index 4a2bae7ded..1705ff9b19 100644 --- a/types/react-icons/lib/md/arrow-drop-down-circle.d.ts +++ b/types/react-icons/lib/md/arrow-drop-down-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdArrowDropDownCircle extends React.Component<IconBaseProps> { } +declare class MdArrowDropDownCircle extends React.Component<IconBaseProps> { } +export = MdArrowDropDownCircle; diff --git a/types/react-icons/lib/md/arrow-drop-down.d.ts b/types/react-icons/lib/md/arrow-drop-down.d.ts index 0e99216f42..333105147d 100644 --- a/types/react-icons/lib/md/arrow-drop-down.d.ts +++ b/types/react-icons/lib/md/arrow-drop-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdArrowDropDown extends React.Component<IconBaseProps> { } +declare class MdArrowDropDown extends React.Component<IconBaseProps> { } +export = MdArrowDropDown; diff --git a/types/react-icons/lib/md/arrow-drop-up.d.ts b/types/react-icons/lib/md/arrow-drop-up.d.ts index efa55f2df4..87d3f77f8d 100644 --- a/types/react-icons/lib/md/arrow-drop-up.d.ts +++ b/types/react-icons/lib/md/arrow-drop-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdArrowDropUp extends React.Component<IconBaseProps> { } +declare class MdArrowDropUp extends React.Component<IconBaseProps> { } +export = MdArrowDropUp; diff --git a/types/react-icons/lib/md/arrow-forward.d.ts b/types/react-icons/lib/md/arrow-forward.d.ts index 1d3771ddd7..1d25c6bafb 100644 --- a/types/react-icons/lib/md/arrow-forward.d.ts +++ b/types/react-icons/lib/md/arrow-forward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdArrowForward extends React.Component<IconBaseProps> { } +declare class MdArrowForward extends React.Component<IconBaseProps> { } +export = MdArrowForward; diff --git a/types/react-icons/lib/md/arrow-upward.d.ts b/types/react-icons/lib/md/arrow-upward.d.ts index cd8f601ed9..a734eaeaa0 100644 --- a/types/react-icons/lib/md/arrow-upward.d.ts +++ b/types/react-icons/lib/md/arrow-upward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdArrowUpward extends React.Component<IconBaseProps> { } +declare class MdArrowUpward extends React.Component<IconBaseProps> { } +export = MdArrowUpward; diff --git a/types/react-icons/lib/md/art-track.d.ts b/types/react-icons/lib/md/art-track.d.ts index 9893405dfd..e9015ed4f1 100644 --- a/types/react-icons/lib/md/art-track.d.ts +++ b/types/react-icons/lib/md/art-track.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdArtTrack extends React.Component<IconBaseProps> { } +declare class MdArtTrack extends React.Component<IconBaseProps> { } +export = MdArtTrack; diff --git a/types/react-icons/lib/md/aspect-ratio.d.ts b/types/react-icons/lib/md/aspect-ratio.d.ts index b0d6311f3e..8a645fba11 100644 --- a/types/react-icons/lib/md/aspect-ratio.d.ts +++ b/types/react-icons/lib/md/aspect-ratio.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAspectRatio extends React.Component<IconBaseProps> { } +declare class MdAspectRatio extends React.Component<IconBaseProps> { } +export = MdAspectRatio; diff --git a/types/react-icons/lib/md/assessment.d.ts b/types/react-icons/lib/md/assessment.d.ts index 1c4979bd1f..af6f64a977 100644 --- a/types/react-icons/lib/md/assessment.d.ts +++ b/types/react-icons/lib/md/assessment.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAssessment extends React.Component<IconBaseProps> { } +declare class MdAssessment extends React.Component<IconBaseProps> { } +export = MdAssessment; diff --git a/types/react-icons/lib/md/assignment-ind.d.ts b/types/react-icons/lib/md/assignment-ind.d.ts index 6a0c5f2107..8518cf2402 100644 --- a/types/react-icons/lib/md/assignment-ind.d.ts +++ b/types/react-icons/lib/md/assignment-ind.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAssignmentInd extends React.Component<IconBaseProps> { } +declare class MdAssignmentInd extends React.Component<IconBaseProps> { } +export = MdAssignmentInd; diff --git a/types/react-icons/lib/md/assignment-late.d.ts b/types/react-icons/lib/md/assignment-late.d.ts index 5aa4d5dcdd..c62da79ac3 100644 --- a/types/react-icons/lib/md/assignment-late.d.ts +++ b/types/react-icons/lib/md/assignment-late.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAssignmentLate extends React.Component<IconBaseProps> { } +declare class MdAssignmentLate extends React.Component<IconBaseProps> { } +export = MdAssignmentLate; diff --git a/types/react-icons/lib/md/assignment-return.d.ts b/types/react-icons/lib/md/assignment-return.d.ts index e34eea0e8d..3f565dafab 100644 --- a/types/react-icons/lib/md/assignment-return.d.ts +++ b/types/react-icons/lib/md/assignment-return.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAssignmentReturn extends React.Component<IconBaseProps> { } +declare class MdAssignmentReturn extends React.Component<IconBaseProps> { } +export = MdAssignmentReturn; diff --git a/types/react-icons/lib/md/assignment-returned.d.ts b/types/react-icons/lib/md/assignment-returned.d.ts index 5f3c6039ee..ec35682fdc 100644 --- a/types/react-icons/lib/md/assignment-returned.d.ts +++ b/types/react-icons/lib/md/assignment-returned.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAssignmentReturned extends React.Component<IconBaseProps> { } +declare class MdAssignmentReturned extends React.Component<IconBaseProps> { } +export = MdAssignmentReturned; diff --git a/types/react-icons/lib/md/assignment-turned-in.d.ts b/types/react-icons/lib/md/assignment-turned-in.d.ts index c055e90d7f..013d97808d 100644 --- a/types/react-icons/lib/md/assignment-turned-in.d.ts +++ b/types/react-icons/lib/md/assignment-turned-in.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAssignmentTurnedIn extends React.Component<IconBaseProps> { } +declare class MdAssignmentTurnedIn extends React.Component<IconBaseProps> { } +export = MdAssignmentTurnedIn; diff --git a/types/react-icons/lib/md/assignment.d.ts b/types/react-icons/lib/md/assignment.d.ts index dc96f96868..daf2f8974c 100644 --- a/types/react-icons/lib/md/assignment.d.ts +++ b/types/react-icons/lib/md/assignment.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAssignment extends React.Component<IconBaseProps> { } +declare class MdAssignment extends React.Component<IconBaseProps> { } +export = MdAssignment; diff --git a/types/react-icons/lib/md/assistant-photo.d.ts b/types/react-icons/lib/md/assistant-photo.d.ts index 2bf4459503..0e25dc2286 100644 --- a/types/react-icons/lib/md/assistant-photo.d.ts +++ b/types/react-icons/lib/md/assistant-photo.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAssistantPhoto extends React.Component<IconBaseProps> { } +declare class MdAssistantPhoto extends React.Component<IconBaseProps> { } +export = MdAssistantPhoto; diff --git a/types/react-icons/lib/md/assistant.d.ts b/types/react-icons/lib/md/assistant.d.ts index 06007d112b..79968f7c35 100644 --- a/types/react-icons/lib/md/assistant.d.ts +++ b/types/react-icons/lib/md/assistant.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAssistant extends React.Component<IconBaseProps> { } +declare class MdAssistant extends React.Component<IconBaseProps> { } +export = MdAssistant; diff --git a/types/react-icons/lib/md/attach-file.d.ts b/types/react-icons/lib/md/attach-file.d.ts index 62aba0f830..250c8ef7dd 100644 --- a/types/react-icons/lib/md/attach-file.d.ts +++ b/types/react-icons/lib/md/attach-file.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAttachFile extends React.Component<IconBaseProps> { } +declare class MdAttachFile extends React.Component<IconBaseProps> { } +export = MdAttachFile; diff --git a/types/react-icons/lib/md/attach-money.d.ts b/types/react-icons/lib/md/attach-money.d.ts index 23dfd03a14..5257e2a068 100644 --- a/types/react-icons/lib/md/attach-money.d.ts +++ b/types/react-icons/lib/md/attach-money.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAttachMoney extends React.Component<IconBaseProps> { } +declare class MdAttachMoney extends React.Component<IconBaseProps> { } +export = MdAttachMoney; diff --git a/types/react-icons/lib/md/attachment.d.ts b/types/react-icons/lib/md/attachment.d.ts index 66a076a0df..b9ee26291e 100644 --- a/types/react-icons/lib/md/attachment.d.ts +++ b/types/react-icons/lib/md/attachment.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAttachment extends React.Component<IconBaseProps> { } +declare class MdAttachment extends React.Component<IconBaseProps> { } +export = MdAttachment; diff --git a/types/react-icons/lib/md/audiotrack.d.ts b/types/react-icons/lib/md/audiotrack.d.ts index 0fb3a781aa..b36fbee5b7 100644 --- a/types/react-icons/lib/md/audiotrack.d.ts +++ b/types/react-icons/lib/md/audiotrack.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAudiotrack extends React.Component<IconBaseProps> { } +declare class MdAudiotrack extends React.Component<IconBaseProps> { } +export = MdAudiotrack; diff --git a/types/react-icons/lib/md/autorenew.d.ts b/types/react-icons/lib/md/autorenew.d.ts index 3dc1215c35..1d1347e4f4 100644 --- a/types/react-icons/lib/md/autorenew.d.ts +++ b/types/react-icons/lib/md/autorenew.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAutorenew extends React.Component<IconBaseProps> { } +declare class MdAutorenew extends React.Component<IconBaseProps> { } +export = MdAutorenew; diff --git a/types/react-icons/lib/md/av-timer.d.ts b/types/react-icons/lib/md/av-timer.d.ts index d050eb13b6..2e7d9ff423 100644 --- a/types/react-icons/lib/md/av-timer.d.ts +++ b/types/react-icons/lib/md/av-timer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdAvTimer extends React.Component<IconBaseProps> { } +declare class MdAvTimer extends React.Component<IconBaseProps> { } +export = MdAvTimer; diff --git a/types/react-icons/lib/md/backspace.d.ts b/types/react-icons/lib/md/backspace.d.ts index c462bc8c5c..2b5144cf4d 100644 --- a/types/react-icons/lib/md/backspace.d.ts +++ b/types/react-icons/lib/md/backspace.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBackspace extends React.Component<IconBaseProps> { } +declare class MdBackspace extends React.Component<IconBaseProps> { } +export = MdBackspace; diff --git a/types/react-icons/lib/md/backup.d.ts b/types/react-icons/lib/md/backup.d.ts index ab43c6934f..cb95ac3dfd 100644 --- a/types/react-icons/lib/md/backup.d.ts +++ b/types/react-icons/lib/md/backup.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBackup extends React.Component<IconBaseProps> { } +declare class MdBackup extends React.Component<IconBaseProps> { } +export = MdBackup; diff --git a/types/react-icons/lib/md/battery-alert.d.ts b/types/react-icons/lib/md/battery-alert.d.ts index c19ea98a0b..727e2b83f6 100644 --- a/types/react-icons/lib/md/battery-alert.d.ts +++ b/types/react-icons/lib/md/battery-alert.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBatteryAlert extends React.Component<IconBaseProps> { } +declare class MdBatteryAlert extends React.Component<IconBaseProps> { } +export = MdBatteryAlert; diff --git a/types/react-icons/lib/md/battery-charging-full.d.ts b/types/react-icons/lib/md/battery-charging-full.d.ts index c85f75a71a..e38bce2394 100644 --- a/types/react-icons/lib/md/battery-charging-full.d.ts +++ b/types/react-icons/lib/md/battery-charging-full.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBatteryChargingFull extends React.Component<IconBaseProps> { } +declare class MdBatteryChargingFull extends React.Component<IconBaseProps> { } +export = MdBatteryChargingFull; diff --git a/types/react-icons/lib/md/battery-full.d.ts b/types/react-icons/lib/md/battery-full.d.ts index 0aca5efc47..f4670ad1f7 100644 --- a/types/react-icons/lib/md/battery-full.d.ts +++ b/types/react-icons/lib/md/battery-full.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBatteryFull extends React.Component<IconBaseProps> { } +declare class MdBatteryFull extends React.Component<IconBaseProps> { } +export = MdBatteryFull; diff --git a/types/react-icons/lib/md/battery-std.d.ts b/types/react-icons/lib/md/battery-std.d.ts index 3db6971900..0886063916 100644 --- a/types/react-icons/lib/md/battery-std.d.ts +++ b/types/react-icons/lib/md/battery-std.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBatteryStd extends React.Component<IconBaseProps> { } +declare class MdBatteryStd extends React.Component<IconBaseProps> { } +export = MdBatteryStd; diff --git a/types/react-icons/lib/md/battery-unknown.d.ts b/types/react-icons/lib/md/battery-unknown.d.ts index 85dc874ccb..44bae4c72d 100644 --- a/types/react-icons/lib/md/battery-unknown.d.ts +++ b/types/react-icons/lib/md/battery-unknown.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBatteryUnknown extends React.Component<IconBaseProps> { } +declare class MdBatteryUnknown extends React.Component<IconBaseProps> { } +export = MdBatteryUnknown; diff --git a/types/react-icons/lib/md/beach-access.d.ts b/types/react-icons/lib/md/beach-access.d.ts index bb0f5e8d09..df62947d77 100644 --- a/types/react-icons/lib/md/beach-access.d.ts +++ b/types/react-icons/lib/md/beach-access.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBeachAccess extends React.Component<IconBaseProps> { } +declare class MdBeachAccess extends React.Component<IconBaseProps> { } +export = MdBeachAccess; diff --git a/types/react-icons/lib/md/beenhere.d.ts b/types/react-icons/lib/md/beenhere.d.ts index a428d7199e..203c154745 100644 --- a/types/react-icons/lib/md/beenhere.d.ts +++ b/types/react-icons/lib/md/beenhere.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBeenhere extends React.Component<IconBaseProps> { } +declare class MdBeenhere extends React.Component<IconBaseProps> { } +export = MdBeenhere; diff --git a/types/react-icons/lib/md/block.d.ts b/types/react-icons/lib/md/block.d.ts index f5496f14bb..df16af7f26 100644 --- a/types/react-icons/lib/md/block.d.ts +++ b/types/react-icons/lib/md/block.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBlock extends React.Component<IconBaseProps> { } +declare class MdBlock extends React.Component<IconBaseProps> { } +export = MdBlock; diff --git a/types/react-icons/lib/md/bluetooth-audio.d.ts b/types/react-icons/lib/md/bluetooth-audio.d.ts index 29629f8a81..37d19037e0 100644 --- a/types/react-icons/lib/md/bluetooth-audio.d.ts +++ b/types/react-icons/lib/md/bluetooth-audio.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBluetoothAudio extends React.Component<IconBaseProps> { } +declare class MdBluetoothAudio extends React.Component<IconBaseProps> { } +export = MdBluetoothAudio; diff --git a/types/react-icons/lib/md/bluetooth-connected.d.ts b/types/react-icons/lib/md/bluetooth-connected.d.ts index 7ea9477b1b..c43382457d 100644 --- a/types/react-icons/lib/md/bluetooth-connected.d.ts +++ b/types/react-icons/lib/md/bluetooth-connected.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBluetoothConnected extends React.Component<IconBaseProps> { } +declare class MdBluetoothConnected extends React.Component<IconBaseProps> { } +export = MdBluetoothConnected; diff --git a/types/react-icons/lib/md/bluetooth-disabled.d.ts b/types/react-icons/lib/md/bluetooth-disabled.d.ts index 685074c6eb..22dedb5b6f 100644 --- a/types/react-icons/lib/md/bluetooth-disabled.d.ts +++ b/types/react-icons/lib/md/bluetooth-disabled.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBluetoothDisabled extends React.Component<IconBaseProps> { } +declare class MdBluetoothDisabled extends React.Component<IconBaseProps> { } +export = MdBluetoothDisabled; diff --git a/types/react-icons/lib/md/bluetooth-searching.d.ts b/types/react-icons/lib/md/bluetooth-searching.d.ts index d258e69bd7..1096cc5867 100644 --- a/types/react-icons/lib/md/bluetooth-searching.d.ts +++ b/types/react-icons/lib/md/bluetooth-searching.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBluetoothSearching extends React.Component<IconBaseProps> { } +declare class MdBluetoothSearching extends React.Component<IconBaseProps> { } +export = MdBluetoothSearching; diff --git a/types/react-icons/lib/md/bluetooth.d.ts b/types/react-icons/lib/md/bluetooth.d.ts index 9343fadbf2..26e9b31401 100644 --- a/types/react-icons/lib/md/bluetooth.d.ts +++ b/types/react-icons/lib/md/bluetooth.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBluetooth extends React.Component<IconBaseProps> { } +declare class MdBluetooth extends React.Component<IconBaseProps> { } +export = MdBluetooth; diff --git a/types/react-icons/lib/md/blur-circular.d.ts b/types/react-icons/lib/md/blur-circular.d.ts index 27b3bb0ae2..e391be6aac 100644 --- a/types/react-icons/lib/md/blur-circular.d.ts +++ b/types/react-icons/lib/md/blur-circular.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBlurCircular extends React.Component<IconBaseProps> { } +declare class MdBlurCircular extends React.Component<IconBaseProps> { } +export = MdBlurCircular; diff --git a/types/react-icons/lib/md/blur-linear.d.ts b/types/react-icons/lib/md/blur-linear.d.ts index e077a469b1..c7e2ed71b0 100644 --- a/types/react-icons/lib/md/blur-linear.d.ts +++ b/types/react-icons/lib/md/blur-linear.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBlurLinear extends React.Component<IconBaseProps> { } +declare class MdBlurLinear extends React.Component<IconBaseProps> { } +export = MdBlurLinear; diff --git a/types/react-icons/lib/md/blur-off.d.ts b/types/react-icons/lib/md/blur-off.d.ts index df3c89e207..34bf839572 100644 --- a/types/react-icons/lib/md/blur-off.d.ts +++ b/types/react-icons/lib/md/blur-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBlurOff extends React.Component<IconBaseProps> { } +declare class MdBlurOff extends React.Component<IconBaseProps> { } +export = MdBlurOff; diff --git a/types/react-icons/lib/md/blur-on.d.ts b/types/react-icons/lib/md/blur-on.d.ts index ade64f3147..eb427415a6 100644 --- a/types/react-icons/lib/md/blur-on.d.ts +++ b/types/react-icons/lib/md/blur-on.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBlurOn extends React.Component<IconBaseProps> { } +declare class MdBlurOn extends React.Component<IconBaseProps> { } +export = MdBlurOn; diff --git a/types/react-icons/lib/md/book.d.ts b/types/react-icons/lib/md/book.d.ts index 593fefe912..4f026cc906 100644 --- a/types/react-icons/lib/md/book.d.ts +++ b/types/react-icons/lib/md/book.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBook extends React.Component<IconBaseProps> { } +declare class MdBook extends React.Component<IconBaseProps> { } +export = MdBook; diff --git a/types/react-icons/lib/md/bookmark-outline.d.ts b/types/react-icons/lib/md/bookmark-outline.d.ts index 630c78b12b..49d5711340 100644 --- a/types/react-icons/lib/md/bookmark-outline.d.ts +++ b/types/react-icons/lib/md/bookmark-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBookmarkOutline extends React.Component<IconBaseProps> { } +declare class MdBookmarkOutline extends React.Component<IconBaseProps> { } +export = MdBookmarkOutline; diff --git a/types/react-icons/lib/md/bookmark.d.ts b/types/react-icons/lib/md/bookmark.d.ts index b180f81ce4..1ea3fdef2f 100644 --- a/types/react-icons/lib/md/bookmark.d.ts +++ b/types/react-icons/lib/md/bookmark.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBookmark extends React.Component<IconBaseProps> { } +declare class MdBookmark extends React.Component<IconBaseProps> { } +export = MdBookmark; diff --git a/types/react-icons/lib/md/border-all.d.ts b/types/react-icons/lib/md/border-all.d.ts index 111f24de6b..321dc40acf 100644 --- a/types/react-icons/lib/md/border-all.d.ts +++ b/types/react-icons/lib/md/border-all.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBorderAll extends React.Component<IconBaseProps> { } +declare class MdBorderAll extends React.Component<IconBaseProps> { } +export = MdBorderAll; diff --git a/types/react-icons/lib/md/border-bottom.d.ts b/types/react-icons/lib/md/border-bottom.d.ts index 979bd252bb..4af9bc2a3e 100644 --- a/types/react-icons/lib/md/border-bottom.d.ts +++ b/types/react-icons/lib/md/border-bottom.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBorderBottom extends React.Component<IconBaseProps> { } +declare class MdBorderBottom extends React.Component<IconBaseProps> { } +export = MdBorderBottom; diff --git a/types/react-icons/lib/md/border-clear.d.ts b/types/react-icons/lib/md/border-clear.d.ts index 2d76f24b12..babade9381 100644 --- a/types/react-icons/lib/md/border-clear.d.ts +++ b/types/react-icons/lib/md/border-clear.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBorderClear extends React.Component<IconBaseProps> { } +declare class MdBorderClear extends React.Component<IconBaseProps> { } +export = MdBorderClear; diff --git a/types/react-icons/lib/md/border-color.d.ts b/types/react-icons/lib/md/border-color.d.ts index b9ddd9918c..3eb6611e0a 100644 --- a/types/react-icons/lib/md/border-color.d.ts +++ b/types/react-icons/lib/md/border-color.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBorderColor extends React.Component<IconBaseProps> { } +declare class MdBorderColor extends React.Component<IconBaseProps> { } +export = MdBorderColor; diff --git a/types/react-icons/lib/md/border-horizontal.d.ts b/types/react-icons/lib/md/border-horizontal.d.ts index 7f1e473277..642f6f9b14 100644 --- a/types/react-icons/lib/md/border-horizontal.d.ts +++ b/types/react-icons/lib/md/border-horizontal.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBorderHorizontal extends React.Component<IconBaseProps> { } +declare class MdBorderHorizontal extends React.Component<IconBaseProps> { } +export = MdBorderHorizontal; diff --git a/types/react-icons/lib/md/border-inner.d.ts b/types/react-icons/lib/md/border-inner.d.ts index 2a807b9ce2..318ee29d9c 100644 --- a/types/react-icons/lib/md/border-inner.d.ts +++ b/types/react-icons/lib/md/border-inner.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBorderInner extends React.Component<IconBaseProps> { } +declare class MdBorderInner extends React.Component<IconBaseProps> { } +export = MdBorderInner; diff --git a/types/react-icons/lib/md/border-left.d.ts b/types/react-icons/lib/md/border-left.d.ts index 062bf7af75..3d710840c8 100644 --- a/types/react-icons/lib/md/border-left.d.ts +++ b/types/react-icons/lib/md/border-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBorderLeft extends React.Component<IconBaseProps> { } +declare class MdBorderLeft extends React.Component<IconBaseProps> { } +export = MdBorderLeft; diff --git a/types/react-icons/lib/md/border-outer.d.ts b/types/react-icons/lib/md/border-outer.d.ts index 60e13b29ad..ab7a282419 100644 --- a/types/react-icons/lib/md/border-outer.d.ts +++ b/types/react-icons/lib/md/border-outer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBorderOuter extends React.Component<IconBaseProps> { } +declare class MdBorderOuter extends React.Component<IconBaseProps> { } +export = MdBorderOuter; diff --git a/types/react-icons/lib/md/border-right.d.ts b/types/react-icons/lib/md/border-right.d.ts index 8bb225c8d9..1a7799213a 100644 --- a/types/react-icons/lib/md/border-right.d.ts +++ b/types/react-icons/lib/md/border-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBorderRight extends React.Component<IconBaseProps> { } +declare class MdBorderRight extends React.Component<IconBaseProps> { } +export = MdBorderRight; diff --git a/types/react-icons/lib/md/border-style.d.ts b/types/react-icons/lib/md/border-style.d.ts index 92da93bb6d..04a39727ca 100644 --- a/types/react-icons/lib/md/border-style.d.ts +++ b/types/react-icons/lib/md/border-style.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBorderStyle extends React.Component<IconBaseProps> { } +declare class MdBorderStyle extends React.Component<IconBaseProps> { } +export = MdBorderStyle; diff --git a/types/react-icons/lib/md/border-top.d.ts b/types/react-icons/lib/md/border-top.d.ts index 32a4a828a8..d667315e57 100644 --- a/types/react-icons/lib/md/border-top.d.ts +++ b/types/react-icons/lib/md/border-top.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBorderTop extends React.Component<IconBaseProps> { } +declare class MdBorderTop extends React.Component<IconBaseProps> { } +export = MdBorderTop; diff --git a/types/react-icons/lib/md/border-vertical.d.ts b/types/react-icons/lib/md/border-vertical.d.ts index dce912d6de..741ac16627 100644 --- a/types/react-icons/lib/md/border-vertical.d.ts +++ b/types/react-icons/lib/md/border-vertical.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBorderVertical extends React.Component<IconBaseProps> { } +declare class MdBorderVertical extends React.Component<IconBaseProps> { } +export = MdBorderVertical; diff --git a/types/react-icons/lib/md/branding-watermark.d.ts b/types/react-icons/lib/md/branding-watermark.d.ts index 92ae821285..b23afbd356 100644 --- a/types/react-icons/lib/md/branding-watermark.d.ts +++ b/types/react-icons/lib/md/branding-watermark.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBrandingWatermark extends React.Component<IconBaseProps> { } +declare class MdBrandingWatermark extends React.Component<IconBaseProps> { } +export = MdBrandingWatermark; diff --git a/types/react-icons/lib/md/brightness-1.d.ts b/types/react-icons/lib/md/brightness-1.d.ts index 2ac3e1dd25..e2ca8dc427 100644 --- a/types/react-icons/lib/md/brightness-1.d.ts +++ b/types/react-icons/lib/md/brightness-1.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBrightness1 extends React.Component<IconBaseProps> { } +declare class MdBrightness1 extends React.Component<IconBaseProps> { } +export = MdBrightness1; diff --git a/types/react-icons/lib/md/brightness-2.d.ts b/types/react-icons/lib/md/brightness-2.d.ts index ad9eae9cb1..c47e7defba 100644 --- a/types/react-icons/lib/md/brightness-2.d.ts +++ b/types/react-icons/lib/md/brightness-2.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBrightness2 extends React.Component<IconBaseProps> { } +declare class MdBrightness2 extends React.Component<IconBaseProps> { } +export = MdBrightness2; diff --git a/types/react-icons/lib/md/brightness-3.d.ts b/types/react-icons/lib/md/brightness-3.d.ts index 929e3196af..9f835bb24e 100644 --- a/types/react-icons/lib/md/brightness-3.d.ts +++ b/types/react-icons/lib/md/brightness-3.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBrightness3 extends React.Component<IconBaseProps> { } +declare class MdBrightness3 extends React.Component<IconBaseProps> { } +export = MdBrightness3; diff --git a/types/react-icons/lib/md/brightness-4.d.ts b/types/react-icons/lib/md/brightness-4.d.ts index eeac7b21a5..9e12c4f48b 100644 --- a/types/react-icons/lib/md/brightness-4.d.ts +++ b/types/react-icons/lib/md/brightness-4.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBrightness4 extends React.Component<IconBaseProps> { } +declare class MdBrightness4 extends React.Component<IconBaseProps> { } +export = MdBrightness4; diff --git a/types/react-icons/lib/md/brightness-5.d.ts b/types/react-icons/lib/md/brightness-5.d.ts index 26dc5fc08c..ee98d6a917 100644 --- a/types/react-icons/lib/md/brightness-5.d.ts +++ b/types/react-icons/lib/md/brightness-5.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBrightness5 extends React.Component<IconBaseProps> { } +declare class MdBrightness5 extends React.Component<IconBaseProps> { } +export = MdBrightness5; diff --git a/types/react-icons/lib/md/brightness-6.d.ts b/types/react-icons/lib/md/brightness-6.d.ts index c59e6345b0..0266ba547c 100644 --- a/types/react-icons/lib/md/brightness-6.d.ts +++ b/types/react-icons/lib/md/brightness-6.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBrightness6 extends React.Component<IconBaseProps> { } +declare class MdBrightness6 extends React.Component<IconBaseProps> { } +export = MdBrightness6; diff --git a/types/react-icons/lib/md/brightness-7.d.ts b/types/react-icons/lib/md/brightness-7.d.ts index 00510b48a7..9cf6e0e624 100644 --- a/types/react-icons/lib/md/brightness-7.d.ts +++ b/types/react-icons/lib/md/brightness-7.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBrightness7 extends React.Component<IconBaseProps> { } +declare class MdBrightness7 extends React.Component<IconBaseProps> { } +export = MdBrightness7; diff --git a/types/react-icons/lib/md/brightness-auto.d.ts b/types/react-icons/lib/md/brightness-auto.d.ts index 7fd30ba582..b9d280fb13 100644 --- a/types/react-icons/lib/md/brightness-auto.d.ts +++ b/types/react-icons/lib/md/brightness-auto.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBrightnessAuto extends React.Component<IconBaseProps> { } +declare class MdBrightnessAuto extends React.Component<IconBaseProps> { } +export = MdBrightnessAuto; diff --git a/types/react-icons/lib/md/brightness-high.d.ts b/types/react-icons/lib/md/brightness-high.d.ts index 65eb9716e2..cd1fec1341 100644 --- a/types/react-icons/lib/md/brightness-high.d.ts +++ b/types/react-icons/lib/md/brightness-high.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBrightnessHigh extends React.Component<IconBaseProps> { } +declare class MdBrightnessHigh extends React.Component<IconBaseProps> { } +export = MdBrightnessHigh; diff --git a/types/react-icons/lib/md/brightness-low.d.ts b/types/react-icons/lib/md/brightness-low.d.ts index 7a4220918a..fa786e9ec9 100644 --- a/types/react-icons/lib/md/brightness-low.d.ts +++ b/types/react-icons/lib/md/brightness-low.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBrightnessLow extends React.Component<IconBaseProps> { } +declare class MdBrightnessLow extends React.Component<IconBaseProps> { } +export = MdBrightnessLow; diff --git a/types/react-icons/lib/md/brightness-medium.d.ts b/types/react-icons/lib/md/brightness-medium.d.ts index bcae811361..0dc43fcd6d 100644 --- a/types/react-icons/lib/md/brightness-medium.d.ts +++ b/types/react-icons/lib/md/brightness-medium.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBrightnessMedium extends React.Component<IconBaseProps> { } +declare class MdBrightnessMedium extends React.Component<IconBaseProps> { } +export = MdBrightnessMedium; diff --git a/types/react-icons/lib/md/broken-image.d.ts b/types/react-icons/lib/md/broken-image.d.ts index 26a5256e01..e516114b45 100644 --- a/types/react-icons/lib/md/broken-image.d.ts +++ b/types/react-icons/lib/md/broken-image.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBrokenImage extends React.Component<IconBaseProps> { } +declare class MdBrokenImage extends React.Component<IconBaseProps> { } +export = MdBrokenImage; diff --git a/types/react-icons/lib/md/brush.d.ts b/types/react-icons/lib/md/brush.d.ts index 71e04689f2..757f204994 100644 --- a/types/react-icons/lib/md/brush.d.ts +++ b/types/react-icons/lib/md/brush.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBrush extends React.Component<IconBaseProps> { } +declare class MdBrush extends React.Component<IconBaseProps> { } +export = MdBrush; diff --git a/types/react-icons/lib/md/bubble-chart.d.ts b/types/react-icons/lib/md/bubble-chart.d.ts index d893d4d2a1..2bb2a4998e 100644 --- a/types/react-icons/lib/md/bubble-chart.d.ts +++ b/types/react-icons/lib/md/bubble-chart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBubbleChart extends React.Component<IconBaseProps> { } +declare class MdBubbleChart extends React.Component<IconBaseProps> { } +export = MdBubbleChart; diff --git a/types/react-icons/lib/md/bug-report.d.ts b/types/react-icons/lib/md/bug-report.d.ts index 8d5b5f78ef..dd0aa9b931 100644 --- a/types/react-icons/lib/md/bug-report.d.ts +++ b/types/react-icons/lib/md/bug-report.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBugReport extends React.Component<IconBaseProps> { } +declare class MdBugReport extends React.Component<IconBaseProps> { } +export = MdBugReport; diff --git a/types/react-icons/lib/md/build.d.ts b/types/react-icons/lib/md/build.d.ts index 3969a9d67d..a0ad5b0c31 100644 --- a/types/react-icons/lib/md/build.d.ts +++ b/types/react-icons/lib/md/build.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBuild extends React.Component<IconBaseProps> { } +declare class MdBuild extends React.Component<IconBaseProps> { } +export = MdBuild; diff --git a/types/react-icons/lib/md/burst-mode.d.ts b/types/react-icons/lib/md/burst-mode.d.ts index 2db0673b64..4af3aab231 100644 --- a/types/react-icons/lib/md/burst-mode.d.ts +++ b/types/react-icons/lib/md/burst-mode.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBurstMode extends React.Component<IconBaseProps> { } +declare class MdBurstMode extends React.Component<IconBaseProps> { } +export = MdBurstMode; diff --git a/types/react-icons/lib/md/business-center.d.ts b/types/react-icons/lib/md/business-center.d.ts index 019568bc79..c767118157 100644 --- a/types/react-icons/lib/md/business-center.d.ts +++ b/types/react-icons/lib/md/business-center.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBusinessCenter extends React.Component<IconBaseProps> { } +declare class MdBusinessCenter extends React.Component<IconBaseProps> { } +export = MdBusinessCenter; diff --git a/types/react-icons/lib/md/business.d.ts b/types/react-icons/lib/md/business.d.ts index aee4700728..d6ecbe11c2 100644 --- a/types/react-icons/lib/md/business.d.ts +++ b/types/react-icons/lib/md/business.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdBusiness extends React.Component<IconBaseProps> { } +declare class MdBusiness extends React.Component<IconBaseProps> { } +export = MdBusiness; diff --git a/types/react-icons/lib/md/cached.d.ts b/types/react-icons/lib/md/cached.d.ts index e26b176124..a7ee38490e 100644 --- a/types/react-icons/lib/md/cached.d.ts +++ b/types/react-icons/lib/md/cached.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCached extends React.Component<IconBaseProps> { } +declare class MdCached extends React.Component<IconBaseProps> { } +export = MdCached; diff --git a/types/react-icons/lib/md/cake.d.ts b/types/react-icons/lib/md/cake.d.ts index 757d94fa73..300197de73 100644 --- a/types/react-icons/lib/md/cake.d.ts +++ b/types/react-icons/lib/md/cake.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCake extends React.Component<IconBaseProps> { } +declare class MdCake extends React.Component<IconBaseProps> { } +export = MdCake; diff --git a/types/react-icons/lib/md/call-end.d.ts b/types/react-icons/lib/md/call-end.d.ts index fcb323974c..7a5b08dc29 100644 --- a/types/react-icons/lib/md/call-end.d.ts +++ b/types/react-icons/lib/md/call-end.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCallEnd extends React.Component<IconBaseProps> { } +declare class MdCallEnd extends React.Component<IconBaseProps> { } +export = MdCallEnd; diff --git a/types/react-icons/lib/md/call-made.d.ts b/types/react-icons/lib/md/call-made.d.ts index d7523be94c..e91641574b 100644 --- a/types/react-icons/lib/md/call-made.d.ts +++ b/types/react-icons/lib/md/call-made.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCallMade extends React.Component<IconBaseProps> { } +declare class MdCallMade extends React.Component<IconBaseProps> { } +export = MdCallMade; diff --git a/types/react-icons/lib/md/call-merge.d.ts b/types/react-icons/lib/md/call-merge.d.ts index 9c7369c900..b5b3fa9314 100644 --- a/types/react-icons/lib/md/call-merge.d.ts +++ b/types/react-icons/lib/md/call-merge.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCallMerge extends React.Component<IconBaseProps> { } +declare class MdCallMerge extends React.Component<IconBaseProps> { } +export = MdCallMerge; diff --git a/types/react-icons/lib/md/call-missed-outgoing.d.ts b/types/react-icons/lib/md/call-missed-outgoing.d.ts index f03613faad..553318d2b2 100644 --- a/types/react-icons/lib/md/call-missed-outgoing.d.ts +++ b/types/react-icons/lib/md/call-missed-outgoing.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCallMissedOutgoing extends React.Component<IconBaseProps> { } +declare class MdCallMissedOutgoing extends React.Component<IconBaseProps> { } +export = MdCallMissedOutgoing; diff --git a/types/react-icons/lib/md/call-missed.d.ts b/types/react-icons/lib/md/call-missed.d.ts index c999bb5cab..6bd2884ffe 100644 --- a/types/react-icons/lib/md/call-missed.d.ts +++ b/types/react-icons/lib/md/call-missed.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCallMissed extends React.Component<IconBaseProps> { } +declare class MdCallMissed extends React.Component<IconBaseProps> { } +export = MdCallMissed; diff --git a/types/react-icons/lib/md/call-received.d.ts b/types/react-icons/lib/md/call-received.d.ts index 29f503af3f..fcc1b3f845 100644 --- a/types/react-icons/lib/md/call-received.d.ts +++ b/types/react-icons/lib/md/call-received.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCallReceived extends React.Component<IconBaseProps> { } +declare class MdCallReceived extends React.Component<IconBaseProps> { } +export = MdCallReceived; diff --git a/types/react-icons/lib/md/call-split.d.ts b/types/react-icons/lib/md/call-split.d.ts index 56330a07e8..1f8eefacb2 100644 --- a/types/react-icons/lib/md/call-split.d.ts +++ b/types/react-icons/lib/md/call-split.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCallSplit extends React.Component<IconBaseProps> { } +declare class MdCallSplit extends React.Component<IconBaseProps> { } +export = MdCallSplit; diff --git a/types/react-icons/lib/md/call-to-action.d.ts b/types/react-icons/lib/md/call-to-action.d.ts index f1f8d89d80..a653748703 100644 --- a/types/react-icons/lib/md/call-to-action.d.ts +++ b/types/react-icons/lib/md/call-to-action.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCallToAction extends React.Component<IconBaseProps> { } +declare class MdCallToAction extends React.Component<IconBaseProps> { } +export = MdCallToAction; diff --git a/types/react-icons/lib/md/call.d.ts b/types/react-icons/lib/md/call.d.ts index 2bfec93bfc..4b817c331b 100644 --- a/types/react-icons/lib/md/call.d.ts +++ b/types/react-icons/lib/md/call.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCall extends React.Component<IconBaseProps> { } +declare class MdCall extends React.Component<IconBaseProps> { } +export = MdCall; diff --git a/types/react-icons/lib/md/camera-alt.d.ts b/types/react-icons/lib/md/camera-alt.d.ts index 4951b47b34..f620a9390e 100644 --- a/types/react-icons/lib/md/camera-alt.d.ts +++ b/types/react-icons/lib/md/camera-alt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCameraAlt extends React.Component<IconBaseProps> { } +declare class MdCameraAlt extends React.Component<IconBaseProps> { } +export = MdCameraAlt; diff --git a/types/react-icons/lib/md/camera-enhance.d.ts b/types/react-icons/lib/md/camera-enhance.d.ts index 957b0b30e4..82a1dbcc79 100644 --- a/types/react-icons/lib/md/camera-enhance.d.ts +++ b/types/react-icons/lib/md/camera-enhance.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCameraEnhance extends React.Component<IconBaseProps> { } +declare class MdCameraEnhance extends React.Component<IconBaseProps> { } +export = MdCameraEnhance; diff --git a/types/react-icons/lib/md/camera-front.d.ts b/types/react-icons/lib/md/camera-front.d.ts index c6f2760218..e8569e18e1 100644 --- a/types/react-icons/lib/md/camera-front.d.ts +++ b/types/react-icons/lib/md/camera-front.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCameraFront extends React.Component<IconBaseProps> { } +declare class MdCameraFront extends React.Component<IconBaseProps> { } +export = MdCameraFront; diff --git a/types/react-icons/lib/md/camera-rear.d.ts b/types/react-icons/lib/md/camera-rear.d.ts index b524f4456c..2cd439976a 100644 --- a/types/react-icons/lib/md/camera-rear.d.ts +++ b/types/react-icons/lib/md/camera-rear.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCameraRear extends React.Component<IconBaseProps> { } +declare class MdCameraRear extends React.Component<IconBaseProps> { } +export = MdCameraRear; diff --git a/types/react-icons/lib/md/camera-roll.d.ts b/types/react-icons/lib/md/camera-roll.d.ts index b7c7b207e2..8d9a659a45 100644 --- a/types/react-icons/lib/md/camera-roll.d.ts +++ b/types/react-icons/lib/md/camera-roll.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCameraRoll extends React.Component<IconBaseProps> { } +declare class MdCameraRoll extends React.Component<IconBaseProps> { } +export = MdCameraRoll; diff --git a/types/react-icons/lib/md/camera.d.ts b/types/react-icons/lib/md/camera.d.ts index ca2fbf55e3..e743236ad7 100644 --- a/types/react-icons/lib/md/camera.d.ts +++ b/types/react-icons/lib/md/camera.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCamera extends React.Component<IconBaseProps> { } +declare class MdCamera extends React.Component<IconBaseProps> { } +export = MdCamera; diff --git a/types/react-icons/lib/md/cancel.d.ts b/types/react-icons/lib/md/cancel.d.ts index 28248ed4f6..89e7137dd0 100644 --- a/types/react-icons/lib/md/cancel.d.ts +++ b/types/react-icons/lib/md/cancel.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCancel extends React.Component<IconBaseProps> { } +declare class MdCancel extends React.Component<IconBaseProps> { } +export = MdCancel; diff --git a/types/react-icons/lib/md/card-giftcard.d.ts b/types/react-icons/lib/md/card-giftcard.d.ts index 67eb5002e6..dcfd110e31 100644 --- a/types/react-icons/lib/md/card-giftcard.d.ts +++ b/types/react-icons/lib/md/card-giftcard.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCardGiftcard extends React.Component<IconBaseProps> { } +declare class MdCardGiftcard extends React.Component<IconBaseProps> { } +export = MdCardGiftcard; diff --git a/types/react-icons/lib/md/card-membership.d.ts b/types/react-icons/lib/md/card-membership.d.ts index 5cb91c641d..56d04b7d7f 100644 --- a/types/react-icons/lib/md/card-membership.d.ts +++ b/types/react-icons/lib/md/card-membership.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCardMembership extends React.Component<IconBaseProps> { } +declare class MdCardMembership extends React.Component<IconBaseProps> { } +export = MdCardMembership; diff --git a/types/react-icons/lib/md/card-travel.d.ts b/types/react-icons/lib/md/card-travel.d.ts index a54e339c09..2a024573ff 100644 --- a/types/react-icons/lib/md/card-travel.d.ts +++ b/types/react-icons/lib/md/card-travel.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCardTravel extends React.Component<IconBaseProps> { } +declare class MdCardTravel extends React.Component<IconBaseProps> { } +export = MdCardTravel; diff --git a/types/react-icons/lib/md/casino.d.ts b/types/react-icons/lib/md/casino.d.ts index ceb6c0cf04..d99aafd815 100644 --- a/types/react-icons/lib/md/casino.d.ts +++ b/types/react-icons/lib/md/casino.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCasino extends React.Component<IconBaseProps> { } +declare class MdCasino extends React.Component<IconBaseProps> { } +export = MdCasino; diff --git a/types/react-icons/lib/md/cast-connected.d.ts b/types/react-icons/lib/md/cast-connected.d.ts index d4d60dcf60..7b3337dec8 100644 --- a/types/react-icons/lib/md/cast-connected.d.ts +++ b/types/react-icons/lib/md/cast-connected.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCastConnected extends React.Component<IconBaseProps> { } +declare class MdCastConnected extends React.Component<IconBaseProps> { } +export = MdCastConnected; diff --git a/types/react-icons/lib/md/cast.d.ts b/types/react-icons/lib/md/cast.d.ts index b014c40b07..cc471c69f0 100644 --- a/types/react-icons/lib/md/cast.d.ts +++ b/types/react-icons/lib/md/cast.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCast extends React.Component<IconBaseProps> { } +declare class MdCast extends React.Component<IconBaseProps> { } +export = MdCast; diff --git a/types/react-icons/lib/md/center-focus-strong.d.ts b/types/react-icons/lib/md/center-focus-strong.d.ts index 6d72ae6a11..609be9f3ca 100644 --- a/types/react-icons/lib/md/center-focus-strong.d.ts +++ b/types/react-icons/lib/md/center-focus-strong.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCenterFocusStrong extends React.Component<IconBaseProps> { } +declare class MdCenterFocusStrong extends React.Component<IconBaseProps> { } +export = MdCenterFocusStrong; diff --git a/types/react-icons/lib/md/center-focus-weak.d.ts b/types/react-icons/lib/md/center-focus-weak.d.ts index 5565dd7b63..5923a863c7 100644 --- a/types/react-icons/lib/md/center-focus-weak.d.ts +++ b/types/react-icons/lib/md/center-focus-weak.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCenterFocusWeak extends React.Component<IconBaseProps> { } +declare class MdCenterFocusWeak extends React.Component<IconBaseProps> { } +export = MdCenterFocusWeak; diff --git a/types/react-icons/lib/md/change-history.d.ts b/types/react-icons/lib/md/change-history.d.ts index ed3344df50..da490c335a 100644 --- a/types/react-icons/lib/md/change-history.d.ts +++ b/types/react-icons/lib/md/change-history.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdChangeHistory extends React.Component<IconBaseProps> { } +declare class MdChangeHistory extends React.Component<IconBaseProps> { } +export = MdChangeHistory; diff --git a/types/react-icons/lib/md/chat-bubble-outline.d.ts b/types/react-icons/lib/md/chat-bubble-outline.d.ts index ad12c21318..4bbbe1a012 100644 --- a/types/react-icons/lib/md/chat-bubble-outline.d.ts +++ b/types/react-icons/lib/md/chat-bubble-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdChatBubbleOutline extends React.Component<IconBaseProps> { } +declare class MdChatBubbleOutline extends React.Component<IconBaseProps> { } +export = MdChatBubbleOutline; diff --git a/types/react-icons/lib/md/chat-bubble.d.ts b/types/react-icons/lib/md/chat-bubble.d.ts index 6322767617..7f1bd144b8 100644 --- a/types/react-icons/lib/md/chat-bubble.d.ts +++ b/types/react-icons/lib/md/chat-bubble.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdChatBubble extends React.Component<IconBaseProps> { } +declare class MdChatBubble extends React.Component<IconBaseProps> { } +export = MdChatBubble; diff --git a/types/react-icons/lib/md/chat.d.ts b/types/react-icons/lib/md/chat.d.ts index 7fecfed168..c8b48dded0 100644 --- a/types/react-icons/lib/md/chat.d.ts +++ b/types/react-icons/lib/md/chat.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdChat extends React.Component<IconBaseProps> { } +declare class MdChat extends React.Component<IconBaseProps> { } +export = MdChat; diff --git a/types/react-icons/lib/md/check-box-outline-blank.d.ts b/types/react-icons/lib/md/check-box-outline-blank.d.ts index 984ee8c5b0..9159ef053b 100644 --- a/types/react-icons/lib/md/check-box-outline-blank.d.ts +++ b/types/react-icons/lib/md/check-box-outline-blank.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCheckBoxOutlineBlank extends React.Component<IconBaseProps> { } +declare class MdCheckBoxOutlineBlank extends React.Component<IconBaseProps> { } +export = MdCheckBoxOutlineBlank; diff --git a/types/react-icons/lib/md/check-box.d.ts b/types/react-icons/lib/md/check-box.d.ts index 0d131960ee..9b0c678b29 100644 --- a/types/react-icons/lib/md/check-box.d.ts +++ b/types/react-icons/lib/md/check-box.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCheckBox extends React.Component<IconBaseProps> { } +declare class MdCheckBox extends React.Component<IconBaseProps> { } +export = MdCheckBox; diff --git a/types/react-icons/lib/md/check-circle.d.ts b/types/react-icons/lib/md/check-circle.d.ts index 350ec8918d..ffc011234d 100644 --- a/types/react-icons/lib/md/check-circle.d.ts +++ b/types/react-icons/lib/md/check-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCheckCircle extends React.Component<IconBaseProps> { } +declare class MdCheckCircle extends React.Component<IconBaseProps> { } +export = MdCheckCircle; diff --git a/types/react-icons/lib/md/check.d.ts b/types/react-icons/lib/md/check.d.ts index df809198db..94b93a031b 100644 --- a/types/react-icons/lib/md/check.d.ts +++ b/types/react-icons/lib/md/check.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCheck extends React.Component<IconBaseProps> { } +declare class MdCheck extends React.Component<IconBaseProps> { } +export = MdCheck; diff --git a/types/react-icons/lib/md/chevron-left.d.ts b/types/react-icons/lib/md/chevron-left.d.ts index fd0b4bff5a..3fea15ec21 100644 --- a/types/react-icons/lib/md/chevron-left.d.ts +++ b/types/react-icons/lib/md/chevron-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdChevronLeft extends React.Component<IconBaseProps> { } +declare class MdChevronLeft extends React.Component<IconBaseProps> { } +export = MdChevronLeft; diff --git a/types/react-icons/lib/md/chevron-right.d.ts b/types/react-icons/lib/md/chevron-right.d.ts index fd902a1348..befb8cea98 100644 --- a/types/react-icons/lib/md/chevron-right.d.ts +++ b/types/react-icons/lib/md/chevron-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdChevronRight extends React.Component<IconBaseProps> { } +declare class MdChevronRight extends React.Component<IconBaseProps> { } +export = MdChevronRight; diff --git a/types/react-icons/lib/md/child-care.d.ts b/types/react-icons/lib/md/child-care.d.ts index 133bf02e0e..ed581fa911 100644 --- a/types/react-icons/lib/md/child-care.d.ts +++ b/types/react-icons/lib/md/child-care.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdChildCare extends React.Component<IconBaseProps> { } +declare class MdChildCare extends React.Component<IconBaseProps> { } +export = MdChildCare; diff --git a/types/react-icons/lib/md/child-friendly.d.ts b/types/react-icons/lib/md/child-friendly.d.ts index 87f9bc1b8e..c5f658131d 100644 --- a/types/react-icons/lib/md/child-friendly.d.ts +++ b/types/react-icons/lib/md/child-friendly.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdChildFriendly extends React.Component<IconBaseProps> { } +declare class MdChildFriendly extends React.Component<IconBaseProps> { } +export = MdChildFriendly; diff --git a/types/react-icons/lib/md/chrome-reader-mode.d.ts b/types/react-icons/lib/md/chrome-reader-mode.d.ts index c545db8e9b..3737f028fb 100644 --- a/types/react-icons/lib/md/chrome-reader-mode.d.ts +++ b/types/react-icons/lib/md/chrome-reader-mode.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdChromeReaderMode extends React.Component<IconBaseProps> { } +declare class MdChromeReaderMode extends React.Component<IconBaseProps> { } +export = MdChromeReaderMode; diff --git a/types/react-icons/lib/md/class.d.ts b/types/react-icons/lib/md/class.d.ts index e0e0e88367..74a101b1f3 100644 --- a/types/react-icons/lib/md/class.d.ts +++ b/types/react-icons/lib/md/class.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdClass extends React.Component<IconBaseProps> { } +declare class MdClass extends React.Component<IconBaseProps> { } +export = MdClass; diff --git a/types/react-icons/lib/md/clear-all.d.ts b/types/react-icons/lib/md/clear-all.d.ts index b73150c14e..079c95bc0b 100644 --- a/types/react-icons/lib/md/clear-all.d.ts +++ b/types/react-icons/lib/md/clear-all.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdClearAll extends React.Component<IconBaseProps> { } +declare class MdClearAll extends React.Component<IconBaseProps> { } +export = MdClearAll; diff --git a/types/react-icons/lib/md/clear.d.ts b/types/react-icons/lib/md/clear.d.ts index 4da44db5b5..a30ef11252 100644 --- a/types/react-icons/lib/md/clear.d.ts +++ b/types/react-icons/lib/md/clear.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdClear extends React.Component<IconBaseProps> { } +declare class MdClear extends React.Component<IconBaseProps> { } +export = MdClear; diff --git a/types/react-icons/lib/md/close.d.ts b/types/react-icons/lib/md/close.d.ts index 3f693c1eec..8164e66b7a 100644 --- a/types/react-icons/lib/md/close.d.ts +++ b/types/react-icons/lib/md/close.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdClose extends React.Component<IconBaseProps> { } +declare class MdClose extends React.Component<IconBaseProps> { } +export = MdClose; diff --git a/types/react-icons/lib/md/closed-caption.d.ts b/types/react-icons/lib/md/closed-caption.d.ts index 5adaf8fc91..5807eff5b1 100644 --- a/types/react-icons/lib/md/closed-caption.d.ts +++ b/types/react-icons/lib/md/closed-caption.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdClosedCaption extends React.Component<IconBaseProps> { } +declare class MdClosedCaption extends React.Component<IconBaseProps> { } +export = MdClosedCaption; diff --git a/types/react-icons/lib/md/cloud-circle.d.ts b/types/react-icons/lib/md/cloud-circle.d.ts index 55a5be23c2..dab82258ba 100644 --- a/types/react-icons/lib/md/cloud-circle.d.ts +++ b/types/react-icons/lib/md/cloud-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCloudCircle extends React.Component<IconBaseProps> { } +declare class MdCloudCircle extends React.Component<IconBaseProps> { } +export = MdCloudCircle; diff --git a/types/react-icons/lib/md/cloud-done.d.ts b/types/react-icons/lib/md/cloud-done.d.ts index 49f115ae3d..004c6b7f2e 100644 --- a/types/react-icons/lib/md/cloud-done.d.ts +++ b/types/react-icons/lib/md/cloud-done.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCloudDone extends React.Component<IconBaseProps> { } +declare class MdCloudDone extends React.Component<IconBaseProps> { } +export = MdCloudDone; diff --git a/types/react-icons/lib/md/cloud-download.d.ts b/types/react-icons/lib/md/cloud-download.d.ts index c7b6f482bb..861d299855 100644 --- a/types/react-icons/lib/md/cloud-download.d.ts +++ b/types/react-icons/lib/md/cloud-download.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCloudDownload extends React.Component<IconBaseProps> { } +declare class MdCloudDownload extends React.Component<IconBaseProps> { } +export = MdCloudDownload; diff --git a/types/react-icons/lib/md/cloud-off.d.ts b/types/react-icons/lib/md/cloud-off.d.ts index 2ebe85de9a..11923adffc 100644 --- a/types/react-icons/lib/md/cloud-off.d.ts +++ b/types/react-icons/lib/md/cloud-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCloudOff extends React.Component<IconBaseProps> { } +declare class MdCloudOff extends React.Component<IconBaseProps> { } +export = MdCloudOff; diff --git a/types/react-icons/lib/md/cloud-queue.d.ts b/types/react-icons/lib/md/cloud-queue.d.ts index 3e7912edb7..8057c4f888 100644 --- a/types/react-icons/lib/md/cloud-queue.d.ts +++ b/types/react-icons/lib/md/cloud-queue.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCloudQueue extends React.Component<IconBaseProps> { } +declare class MdCloudQueue extends React.Component<IconBaseProps> { } +export = MdCloudQueue; diff --git a/types/react-icons/lib/md/cloud-upload.d.ts b/types/react-icons/lib/md/cloud-upload.d.ts index 3813bf345b..3ff02a9a0e 100644 --- a/types/react-icons/lib/md/cloud-upload.d.ts +++ b/types/react-icons/lib/md/cloud-upload.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCloudUpload extends React.Component<IconBaseProps> { } +declare class MdCloudUpload extends React.Component<IconBaseProps> { } +export = MdCloudUpload; diff --git a/types/react-icons/lib/md/cloud.d.ts b/types/react-icons/lib/md/cloud.d.ts index 774dd53424..0c904ab956 100644 --- a/types/react-icons/lib/md/cloud.d.ts +++ b/types/react-icons/lib/md/cloud.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCloud extends React.Component<IconBaseProps> { } +declare class MdCloud extends React.Component<IconBaseProps> { } +export = MdCloud; diff --git a/types/react-icons/lib/md/code.d.ts b/types/react-icons/lib/md/code.d.ts index 54f942afd1..ec06a5251e 100644 --- a/types/react-icons/lib/md/code.d.ts +++ b/types/react-icons/lib/md/code.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCode extends React.Component<IconBaseProps> { } +declare class MdCode extends React.Component<IconBaseProps> { } +export = MdCode; diff --git a/types/react-icons/lib/md/collections-bookmark.d.ts b/types/react-icons/lib/md/collections-bookmark.d.ts index 98d8755848..8f21854011 100644 --- a/types/react-icons/lib/md/collections-bookmark.d.ts +++ b/types/react-icons/lib/md/collections-bookmark.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCollectionsBookmark extends React.Component<IconBaseProps> { } +declare class MdCollectionsBookmark extends React.Component<IconBaseProps> { } +export = MdCollectionsBookmark; diff --git a/types/react-icons/lib/md/collections.d.ts b/types/react-icons/lib/md/collections.d.ts index 7d5cf7fa68..670a27794a 100644 --- a/types/react-icons/lib/md/collections.d.ts +++ b/types/react-icons/lib/md/collections.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCollections extends React.Component<IconBaseProps> { } +declare class MdCollections extends React.Component<IconBaseProps> { } +export = MdCollections; diff --git a/types/react-icons/lib/md/color-lens.d.ts b/types/react-icons/lib/md/color-lens.d.ts index 71a56bc853..93794aafd7 100644 --- a/types/react-icons/lib/md/color-lens.d.ts +++ b/types/react-icons/lib/md/color-lens.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdColorLens extends React.Component<IconBaseProps> { } +declare class MdColorLens extends React.Component<IconBaseProps> { } +export = MdColorLens; diff --git a/types/react-icons/lib/md/colorize.d.ts b/types/react-icons/lib/md/colorize.d.ts index f345627803..7d9c059323 100644 --- a/types/react-icons/lib/md/colorize.d.ts +++ b/types/react-icons/lib/md/colorize.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdColorize extends React.Component<IconBaseProps> { } +declare class MdColorize extends React.Component<IconBaseProps> { } +export = MdColorize; diff --git a/types/react-icons/lib/md/comment.d.ts b/types/react-icons/lib/md/comment.d.ts index c81ab4762a..388e899032 100644 --- a/types/react-icons/lib/md/comment.d.ts +++ b/types/react-icons/lib/md/comment.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdComment extends React.Component<IconBaseProps> { } +declare class MdComment extends React.Component<IconBaseProps> { } +export = MdComment; diff --git a/types/react-icons/lib/md/compare-arrows.d.ts b/types/react-icons/lib/md/compare-arrows.d.ts index 727031b8a7..094d5f9ffb 100644 --- a/types/react-icons/lib/md/compare-arrows.d.ts +++ b/types/react-icons/lib/md/compare-arrows.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCompareArrows extends React.Component<IconBaseProps> { } +declare class MdCompareArrows extends React.Component<IconBaseProps> { } +export = MdCompareArrows; diff --git a/types/react-icons/lib/md/compare.d.ts b/types/react-icons/lib/md/compare.d.ts index 59338cf7c9..a980ef66c5 100644 --- a/types/react-icons/lib/md/compare.d.ts +++ b/types/react-icons/lib/md/compare.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCompare extends React.Component<IconBaseProps> { } +declare class MdCompare extends React.Component<IconBaseProps> { } +export = MdCompare; diff --git a/types/react-icons/lib/md/computer.d.ts b/types/react-icons/lib/md/computer.d.ts index ef16df598d..9aa010e9f0 100644 --- a/types/react-icons/lib/md/computer.d.ts +++ b/types/react-icons/lib/md/computer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdComputer extends React.Component<IconBaseProps> { } +declare class MdComputer extends React.Component<IconBaseProps> { } +export = MdComputer; diff --git a/types/react-icons/lib/md/confirmation-number.d.ts b/types/react-icons/lib/md/confirmation-number.d.ts index 8a3b8fcb8f..6d21269176 100644 --- a/types/react-icons/lib/md/confirmation-number.d.ts +++ b/types/react-icons/lib/md/confirmation-number.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdConfirmationNumber extends React.Component<IconBaseProps> { } +declare class MdConfirmationNumber extends React.Component<IconBaseProps> { } +export = MdConfirmationNumber; diff --git a/types/react-icons/lib/md/contact-mail.d.ts b/types/react-icons/lib/md/contact-mail.d.ts index b5027ce2da..7097c62e6b 100644 --- a/types/react-icons/lib/md/contact-mail.d.ts +++ b/types/react-icons/lib/md/contact-mail.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdContactMail extends React.Component<IconBaseProps> { } +declare class MdContactMail extends React.Component<IconBaseProps> { } +export = MdContactMail; diff --git a/types/react-icons/lib/md/contact-phone.d.ts b/types/react-icons/lib/md/contact-phone.d.ts index df4405a4da..46a15ce303 100644 --- a/types/react-icons/lib/md/contact-phone.d.ts +++ b/types/react-icons/lib/md/contact-phone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdContactPhone extends React.Component<IconBaseProps> { } +declare class MdContactPhone extends React.Component<IconBaseProps> { } +export = MdContactPhone; diff --git a/types/react-icons/lib/md/contacts.d.ts b/types/react-icons/lib/md/contacts.d.ts index e4df5f1c11..356af4ee87 100644 --- a/types/react-icons/lib/md/contacts.d.ts +++ b/types/react-icons/lib/md/contacts.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdContacts extends React.Component<IconBaseProps> { } +declare class MdContacts extends React.Component<IconBaseProps> { } +export = MdContacts; diff --git a/types/react-icons/lib/md/content-copy.d.ts b/types/react-icons/lib/md/content-copy.d.ts index e069254814..a0be0e9f4f 100644 --- a/types/react-icons/lib/md/content-copy.d.ts +++ b/types/react-icons/lib/md/content-copy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdContentCopy extends React.Component<IconBaseProps> { } +declare class MdContentCopy extends React.Component<IconBaseProps> { } +export = MdContentCopy; diff --git a/types/react-icons/lib/md/content-cut.d.ts b/types/react-icons/lib/md/content-cut.d.ts index 84d7b36ea0..2523e9545f 100644 --- a/types/react-icons/lib/md/content-cut.d.ts +++ b/types/react-icons/lib/md/content-cut.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdContentCut extends React.Component<IconBaseProps> { } +declare class MdContentCut extends React.Component<IconBaseProps> { } +export = MdContentCut; diff --git a/types/react-icons/lib/md/content-paste.d.ts b/types/react-icons/lib/md/content-paste.d.ts index d3825ed71f..d4eb4155b0 100644 --- a/types/react-icons/lib/md/content-paste.d.ts +++ b/types/react-icons/lib/md/content-paste.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdContentPaste extends React.Component<IconBaseProps> { } +declare class MdContentPaste extends React.Component<IconBaseProps> { } +export = MdContentPaste; diff --git a/types/react-icons/lib/md/control-point-duplicate.d.ts b/types/react-icons/lib/md/control-point-duplicate.d.ts index 8ba468f7bc..12be0cb5b2 100644 --- a/types/react-icons/lib/md/control-point-duplicate.d.ts +++ b/types/react-icons/lib/md/control-point-duplicate.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdControlPointDuplicate extends React.Component<IconBaseProps> { } +declare class MdControlPointDuplicate extends React.Component<IconBaseProps> { } +export = MdControlPointDuplicate; diff --git a/types/react-icons/lib/md/control-point.d.ts b/types/react-icons/lib/md/control-point.d.ts index aa32c1b7f4..9ed8996573 100644 --- a/types/react-icons/lib/md/control-point.d.ts +++ b/types/react-icons/lib/md/control-point.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdControlPoint extends React.Component<IconBaseProps> { } +declare class MdControlPoint extends React.Component<IconBaseProps> { } +export = MdControlPoint; diff --git a/types/react-icons/lib/md/copyright.d.ts b/types/react-icons/lib/md/copyright.d.ts index d786505dc9..6aedb414ac 100644 --- a/types/react-icons/lib/md/copyright.d.ts +++ b/types/react-icons/lib/md/copyright.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCopyright extends React.Component<IconBaseProps> { } +declare class MdCopyright extends React.Component<IconBaseProps> { } +export = MdCopyright; diff --git a/types/react-icons/lib/md/create-new-folder.d.ts b/types/react-icons/lib/md/create-new-folder.d.ts index 5f81f01bff..d94d8a1ccb 100644 --- a/types/react-icons/lib/md/create-new-folder.d.ts +++ b/types/react-icons/lib/md/create-new-folder.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCreateNewFolder extends React.Component<IconBaseProps> { } +declare class MdCreateNewFolder extends React.Component<IconBaseProps> { } +export = MdCreateNewFolder; diff --git a/types/react-icons/lib/md/create.d.ts b/types/react-icons/lib/md/create.d.ts index 75c2871644..2101f81ca0 100644 --- a/types/react-icons/lib/md/create.d.ts +++ b/types/react-icons/lib/md/create.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCreate extends React.Component<IconBaseProps> { } +declare class MdCreate extends React.Component<IconBaseProps> { } +export = MdCreate; diff --git a/types/react-icons/lib/md/credit-card.d.ts b/types/react-icons/lib/md/credit-card.d.ts index 9515c900d0..7b830a5dec 100644 --- a/types/react-icons/lib/md/credit-card.d.ts +++ b/types/react-icons/lib/md/credit-card.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCreditCard extends React.Component<IconBaseProps> { } +declare class MdCreditCard extends React.Component<IconBaseProps> { } +export = MdCreditCard; diff --git a/types/react-icons/lib/md/crop-16-9.d.ts b/types/react-icons/lib/md/crop-16-9.d.ts index d507bc9db9..70fe5e4df2 100644 --- a/types/react-icons/lib/md/crop-16-9.d.ts +++ b/types/react-icons/lib/md/crop-16-9.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCrop169 extends React.Component<IconBaseProps> { } +declare class MdCrop169 extends React.Component<IconBaseProps> { } +export = MdCrop169; diff --git a/types/react-icons/lib/md/crop-3-2.d.ts b/types/react-icons/lib/md/crop-3-2.d.ts index 461cf07b2d..e3b49cac55 100644 --- a/types/react-icons/lib/md/crop-3-2.d.ts +++ b/types/react-icons/lib/md/crop-3-2.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCrop32 extends React.Component<IconBaseProps> { } +declare class MdCrop32 extends React.Component<IconBaseProps> { } +export = MdCrop32; diff --git a/types/react-icons/lib/md/crop-5-4.d.ts b/types/react-icons/lib/md/crop-5-4.d.ts index 4b0cb6c7fb..f44ec1dc15 100644 --- a/types/react-icons/lib/md/crop-5-4.d.ts +++ b/types/react-icons/lib/md/crop-5-4.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCrop54 extends React.Component<IconBaseProps> { } +declare class MdCrop54 extends React.Component<IconBaseProps> { } +export = MdCrop54; diff --git a/types/react-icons/lib/md/crop-7-5.d.ts b/types/react-icons/lib/md/crop-7-5.d.ts index 9063520b57..b283e385e4 100644 --- a/types/react-icons/lib/md/crop-7-5.d.ts +++ b/types/react-icons/lib/md/crop-7-5.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCrop75 extends React.Component<IconBaseProps> { } +declare class MdCrop75 extends React.Component<IconBaseProps> { } +export = MdCrop75; diff --git a/types/react-icons/lib/md/crop-din.d.ts b/types/react-icons/lib/md/crop-din.d.ts index 115106ef50..f6c27311d5 100644 --- a/types/react-icons/lib/md/crop-din.d.ts +++ b/types/react-icons/lib/md/crop-din.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCropDin extends React.Component<IconBaseProps> { } +declare class MdCropDin extends React.Component<IconBaseProps> { } +export = MdCropDin; diff --git a/types/react-icons/lib/md/crop-free.d.ts b/types/react-icons/lib/md/crop-free.d.ts index e68c930ff9..a526edc6ed 100644 --- a/types/react-icons/lib/md/crop-free.d.ts +++ b/types/react-icons/lib/md/crop-free.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCropFree extends React.Component<IconBaseProps> { } +declare class MdCropFree extends React.Component<IconBaseProps> { } +export = MdCropFree; diff --git a/types/react-icons/lib/md/crop-landscape.d.ts b/types/react-icons/lib/md/crop-landscape.d.ts index 5ef2f2e4dd..7c224aff4c 100644 --- a/types/react-icons/lib/md/crop-landscape.d.ts +++ b/types/react-icons/lib/md/crop-landscape.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCropLandscape extends React.Component<IconBaseProps> { } +declare class MdCropLandscape extends React.Component<IconBaseProps> { } +export = MdCropLandscape; diff --git a/types/react-icons/lib/md/crop-original.d.ts b/types/react-icons/lib/md/crop-original.d.ts index 26733dc24e..24310372ec 100644 --- a/types/react-icons/lib/md/crop-original.d.ts +++ b/types/react-icons/lib/md/crop-original.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCropOriginal extends React.Component<IconBaseProps> { } +declare class MdCropOriginal extends React.Component<IconBaseProps> { } +export = MdCropOriginal; diff --git a/types/react-icons/lib/md/crop-portrait.d.ts b/types/react-icons/lib/md/crop-portrait.d.ts index 9a43790ec0..a9bf07301e 100644 --- a/types/react-icons/lib/md/crop-portrait.d.ts +++ b/types/react-icons/lib/md/crop-portrait.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCropPortrait extends React.Component<IconBaseProps> { } +declare class MdCropPortrait extends React.Component<IconBaseProps> { } +export = MdCropPortrait; diff --git a/types/react-icons/lib/md/crop-rotate.d.ts b/types/react-icons/lib/md/crop-rotate.d.ts index 7106d1b55b..a7363f7798 100644 --- a/types/react-icons/lib/md/crop-rotate.d.ts +++ b/types/react-icons/lib/md/crop-rotate.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCropRotate extends React.Component<IconBaseProps> { } +declare class MdCropRotate extends React.Component<IconBaseProps> { } +export = MdCropRotate; diff --git a/types/react-icons/lib/md/crop-square.d.ts b/types/react-icons/lib/md/crop-square.d.ts index 62ba826cfc..a33bba56d2 100644 --- a/types/react-icons/lib/md/crop-square.d.ts +++ b/types/react-icons/lib/md/crop-square.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCropSquare extends React.Component<IconBaseProps> { } +declare class MdCropSquare extends React.Component<IconBaseProps> { } +export = MdCropSquare; diff --git a/types/react-icons/lib/md/crop.d.ts b/types/react-icons/lib/md/crop.d.ts index dfd01a2ad8..0375235973 100644 --- a/types/react-icons/lib/md/crop.d.ts +++ b/types/react-icons/lib/md/crop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdCrop extends React.Component<IconBaseProps> { } +declare class MdCrop extends React.Component<IconBaseProps> { } +export = MdCrop; diff --git a/types/react-icons/lib/md/dashboard.d.ts b/types/react-icons/lib/md/dashboard.d.ts index 47f85672c9..741cb37968 100644 --- a/types/react-icons/lib/md/dashboard.d.ts +++ b/types/react-icons/lib/md/dashboard.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDashboard extends React.Component<IconBaseProps> { } +declare class MdDashboard extends React.Component<IconBaseProps> { } +export = MdDashboard; diff --git a/types/react-icons/lib/md/data-usage.d.ts b/types/react-icons/lib/md/data-usage.d.ts index 013f33ad67..c51830af57 100644 --- a/types/react-icons/lib/md/data-usage.d.ts +++ b/types/react-icons/lib/md/data-usage.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDataUsage extends React.Component<IconBaseProps> { } +declare class MdDataUsage extends React.Component<IconBaseProps> { } +export = MdDataUsage; diff --git a/types/react-icons/lib/md/date-range.d.ts b/types/react-icons/lib/md/date-range.d.ts index a9fc01751f..90a920e81e 100644 --- a/types/react-icons/lib/md/date-range.d.ts +++ b/types/react-icons/lib/md/date-range.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDateRange extends React.Component<IconBaseProps> { } +declare class MdDateRange extends React.Component<IconBaseProps> { } +export = MdDateRange; diff --git a/types/react-icons/lib/md/dehaze.d.ts b/types/react-icons/lib/md/dehaze.d.ts index 9144d9822f..0c1700f065 100644 --- a/types/react-icons/lib/md/dehaze.d.ts +++ b/types/react-icons/lib/md/dehaze.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDehaze extends React.Component<IconBaseProps> { } +declare class MdDehaze extends React.Component<IconBaseProps> { } +export = MdDehaze; diff --git a/types/react-icons/lib/md/delete-forever.d.ts b/types/react-icons/lib/md/delete-forever.d.ts index 9820c93b1a..e2d8ce1c53 100644 --- a/types/react-icons/lib/md/delete-forever.d.ts +++ b/types/react-icons/lib/md/delete-forever.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDeleteForever extends React.Component<IconBaseProps> { } +declare class MdDeleteForever extends React.Component<IconBaseProps> { } +export = MdDeleteForever; diff --git a/types/react-icons/lib/md/delete-sweep.d.ts b/types/react-icons/lib/md/delete-sweep.d.ts index 965ce9c746..857d38f6af 100644 --- a/types/react-icons/lib/md/delete-sweep.d.ts +++ b/types/react-icons/lib/md/delete-sweep.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDeleteSweep extends React.Component<IconBaseProps> { } +declare class MdDeleteSweep extends React.Component<IconBaseProps> { } +export = MdDeleteSweep; diff --git a/types/react-icons/lib/md/delete.d.ts b/types/react-icons/lib/md/delete.d.ts index f47a4b0a59..761f230dd9 100644 --- a/types/react-icons/lib/md/delete.d.ts +++ b/types/react-icons/lib/md/delete.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDelete extends React.Component<IconBaseProps> { } +declare class MdDelete extends React.Component<IconBaseProps> { } +export = MdDelete; diff --git a/types/react-icons/lib/md/description.d.ts b/types/react-icons/lib/md/description.d.ts index 76bc0bbf1c..da148361f0 100644 --- a/types/react-icons/lib/md/description.d.ts +++ b/types/react-icons/lib/md/description.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDescription extends React.Component<IconBaseProps> { } +declare class MdDescription extends React.Component<IconBaseProps> { } +export = MdDescription; diff --git a/types/react-icons/lib/md/desktop-mac.d.ts b/types/react-icons/lib/md/desktop-mac.d.ts index 007f0a5ae1..8bdd624240 100644 --- a/types/react-icons/lib/md/desktop-mac.d.ts +++ b/types/react-icons/lib/md/desktop-mac.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDesktopMac extends React.Component<IconBaseProps> { } +declare class MdDesktopMac extends React.Component<IconBaseProps> { } +export = MdDesktopMac; diff --git a/types/react-icons/lib/md/desktop-windows.d.ts b/types/react-icons/lib/md/desktop-windows.d.ts index e735a11f72..8912843f33 100644 --- a/types/react-icons/lib/md/desktop-windows.d.ts +++ b/types/react-icons/lib/md/desktop-windows.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDesktopWindows extends React.Component<IconBaseProps> { } +declare class MdDesktopWindows extends React.Component<IconBaseProps> { } +export = MdDesktopWindows; diff --git a/types/react-icons/lib/md/details.d.ts b/types/react-icons/lib/md/details.d.ts index 86ec926d65..ea077267ba 100644 --- a/types/react-icons/lib/md/details.d.ts +++ b/types/react-icons/lib/md/details.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDetails extends React.Component<IconBaseProps> { } +declare class MdDetails extends React.Component<IconBaseProps> { } +export = MdDetails; diff --git a/types/react-icons/lib/md/developer-board.d.ts b/types/react-icons/lib/md/developer-board.d.ts index a3ad5d5b89..a95b8e752d 100644 --- a/types/react-icons/lib/md/developer-board.d.ts +++ b/types/react-icons/lib/md/developer-board.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDeveloperBoard extends React.Component<IconBaseProps> { } +declare class MdDeveloperBoard extends React.Component<IconBaseProps> { } +export = MdDeveloperBoard; diff --git a/types/react-icons/lib/md/developer-mode.d.ts b/types/react-icons/lib/md/developer-mode.d.ts index f2032d8e74..ef6734a5c2 100644 --- a/types/react-icons/lib/md/developer-mode.d.ts +++ b/types/react-icons/lib/md/developer-mode.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDeveloperMode extends React.Component<IconBaseProps> { } +declare class MdDeveloperMode extends React.Component<IconBaseProps> { } +export = MdDeveloperMode; diff --git a/types/react-icons/lib/md/device-hub.d.ts b/types/react-icons/lib/md/device-hub.d.ts index 38815bce4d..015a1b17d9 100644 --- a/types/react-icons/lib/md/device-hub.d.ts +++ b/types/react-icons/lib/md/device-hub.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDeviceHub extends React.Component<IconBaseProps> { } +declare class MdDeviceHub extends React.Component<IconBaseProps> { } +export = MdDeviceHub; diff --git a/types/react-icons/lib/md/devices-other.d.ts b/types/react-icons/lib/md/devices-other.d.ts index 69ed6d847d..4eb8c7937d 100644 --- a/types/react-icons/lib/md/devices-other.d.ts +++ b/types/react-icons/lib/md/devices-other.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDevicesOther extends React.Component<IconBaseProps> { } +declare class MdDevicesOther extends React.Component<IconBaseProps> { } +export = MdDevicesOther; diff --git a/types/react-icons/lib/md/devices.d.ts b/types/react-icons/lib/md/devices.d.ts index 00163cbb71..fc1d0d3521 100644 --- a/types/react-icons/lib/md/devices.d.ts +++ b/types/react-icons/lib/md/devices.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDevices extends React.Component<IconBaseProps> { } +declare class MdDevices extends React.Component<IconBaseProps> { } +export = MdDevices; diff --git a/types/react-icons/lib/md/dialer-sip.d.ts b/types/react-icons/lib/md/dialer-sip.d.ts index ba4ade0a30..5e0eec11d8 100644 --- a/types/react-icons/lib/md/dialer-sip.d.ts +++ b/types/react-icons/lib/md/dialer-sip.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDialerSip extends React.Component<IconBaseProps> { } +declare class MdDialerSip extends React.Component<IconBaseProps> { } +export = MdDialerSip; diff --git a/types/react-icons/lib/md/dialpad.d.ts b/types/react-icons/lib/md/dialpad.d.ts index 3d74b7ce08..cdcd0bfe91 100644 --- a/types/react-icons/lib/md/dialpad.d.ts +++ b/types/react-icons/lib/md/dialpad.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDialpad extends React.Component<IconBaseProps> { } +declare class MdDialpad extends React.Component<IconBaseProps> { } +export = MdDialpad; diff --git a/types/react-icons/lib/md/directions-bike.d.ts b/types/react-icons/lib/md/directions-bike.d.ts index 3ff5b576f2..4b214023fe 100644 --- a/types/react-icons/lib/md/directions-bike.d.ts +++ b/types/react-icons/lib/md/directions-bike.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDirectionsBike extends React.Component<IconBaseProps> { } +declare class MdDirectionsBike extends React.Component<IconBaseProps> { } +export = MdDirectionsBike; diff --git a/types/react-icons/lib/md/directions-boat.d.ts b/types/react-icons/lib/md/directions-boat.d.ts index 29cb6f9727..d0729a199e 100644 --- a/types/react-icons/lib/md/directions-boat.d.ts +++ b/types/react-icons/lib/md/directions-boat.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDirectionsBoat extends React.Component<IconBaseProps> { } +declare class MdDirectionsBoat extends React.Component<IconBaseProps> { } +export = MdDirectionsBoat; diff --git a/types/react-icons/lib/md/directions-bus.d.ts b/types/react-icons/lib/md/directions-bus.d.ts index 12964dd1bf..12b9b704d6 100644 --- a/types/react-icons/lib/md/directions-bus.d.ts +++ b/types/react-icons/lib/md/directions-bus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDirectionsBus extends React.Component<IconBaseProps> { } +declare class MdDirectionsBus extends React.Component<IconBaseProps> { } +export = MdDirectionsBus; diff --git a/types/react-icons/lib/md/directions-car.d.ts b/types/react-icons/lib/md/directions-car.d.ts index 0055e4a7e9..3e2313c242 100644 --- a/types/react-icons/lib/md/directions-car.d.ts +++ b/types/react-icons/lib/md/directions-car.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDirectionsCar extends React.Component<IconBaseProps> { } +declare class MdDirectionsCar extends React.Component<IconBaseProps> { } +export = MdDirectionsCar; diff --git a/types/react-icons/lib/md/directions-ferry.d.ts b/types/react-icons/lib/md/directions-ferry.d.ts index fa5f376ab4..c797e3804d 100644 --- a/types/react-icons/lib/md/directions-ferry.d.ts +++ b/types/react-icons/lib/md/directions-ferry.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDirectionsFerry extends React.Component<IconBaseProps> { } +declare class MdDirectionsFerry extends React.Component<IconBaseProps> { } +export = MdDirectionsFerry; diff --git a/types/react-icons/lib/md/directions-railway.d.ts b/types/react-icons/lib/md/directions-railway.d.ts index ee241e2f78..b5895757b9 100644 --- a/types/react-icons/lib/md/directions-railway.d.ts +++ b/types/react-icons/lib/md/directions-railway.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDirectionsRailway extends React.Component<IconBaseProps> { } +declare class MdDirectionsRailway extends React.Component<IconBaseProps> { } +export = MdDirectionsRailway; diff --git a/types/react-icons/lib/md/directions-run.d.ts b/types/react-icons/lib/md/directions-run.d.ts index 65fabf028c..2c48d943a7 100644 --- a/types/react-icons/lib/md/directions-run.d.ts +++ b/types/react-icons/lib/md/directions-run.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDirectionsRun extends React.Component<IconBaseProps> { } +declare class MdDirectionsRun extends React.Component<IconBaseProps> { } +export = MdDirectionsRun; diff --git a/types/react-icons/lib/md/directions-subway.d.ts b/types/react-icons/lib/md/directions-subway.d.ts index d97b4fd1e2..cc4bf86ea1 100644 --- a/types/react-icons/lib/md/directions-subway.d.ts +++ b/types/react-icons/lib/md/directions-subway.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDirectionsSubway extends React.Component<IconBaseProps> { } +declare class MdDirectionsSubway extends React.Component<IconBaseProps> { } +export = MdDirectionsSubway; diff --git a/types/react-icons/lib/md/directions-transit.d.ts b/types/react-icons/lib/md/directions-transit.d.ts index 0016d21dd1..a1cab5be50 100644 --- a/types/react-icons/lib/md/directions-transit.d.ts +++ b/types/react-icons/lib/md/directions-transit.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDirectionsTransit extends React.Component<IconBaseProps> { } +declare class MdDirectionsTransit extends React.Component<IconBaseProps> { } +export = MdDirectionsTransit; diff --git a/types/react-icons/lib/md/directions-walk.d.ts b/types/react-icons/lib/md/directions-walk.d.ts index 5f02d00296..8dd9735db6 100644 --- a/types/react-icons/lib/md/directions-walk.d.ts +++ b/types/react-icons/lib/md/directions-walk.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDirectionsWalk extends React.Component<IconBaseProps> { } +declare class MdDirectionsWalk extends React.Component<IconBaseProps> { } +export = MdDirectionsWalk; diff --git a/types/react-icons/lib/md/directions.d.ts b/types/react-icons/lib/md/directions.d.ts index 14a1dded8e..01ea70a407 100644 --- a/types/react-icons/lib/md/directions.d.ts +++ b/types/react-icons/lib/md/directions.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDirections extends React.Component<IconBaseProps> { } +declare class MdDirections extends React.Component<IconBaseProps> { } +export = MdDirections; diff --git a/types/react-icons/lib/md/disc-full.d.ts b/types/react-icons/lib/md/disc-full.d.ts index f23e47b0bd..0f99403824 100644 --- a/types/react-icons/lib/md/disc-full.d.ts +++ b/types/react-icons/lib/md/disc-full.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDiscFull extends React.Component<IconBaseProps> { } +declare class MdDiscFull extends React.Component<IconBaseProps> { } +export = MdDiscFull; diff --git a/types/react-icons/lib/md/dns.d.ts b/types/react-icons/lib/md/dns.d.ts index 42a3e45b84..ac4074dd65 100644 --- a/types/react-icons/lib/md/dns.d.ts +++ b/types/react-icons/lib/md/dns.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDns extends React.Component<IconBaseProps> { } +declare class MdDns extends React.Component<IconBaseProps> { } +export = MdDns; diff --git a/types/react-icons/lib/md/do-not-disturb-alt.d.ts b/types/react-icons/lib/md/do-not-disturb-alt.d.ts index 6bad8e0875..968790ef49 100644 --- a/types/react-icons/lib/md/do-not-disturb-alt.d.ts +++ b/types/react-icons/lib/md/do-not-disturb-alt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDoNotDisturbAlt extends React.Component<IconBaseProps> { } +declare class MdDoNotDisturbAlt extends React.Component<IconBaseProps> { } +export = MdDoNotDisturbAlt; diff --git a/types/react-icons/lib/md/do-not-disturb-off.d.ts b/types/react-icons/lib/md/do-not-disturb-off.d.ts index bcbe409363..191fdbd021 100644 --- a/types/react-icons/lib/md/do-not-disturb-off.d.ts +++ b/types/react-icons/lib/md/do-not-disturb-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDoNotDisturbOff extends React.Component<IconBaseProps> { } +declare class MdDoNotDisturbOff extends React.Component<IconBaseProps> { } +export = MdDoNotDisturbOff; diff --git a/types/react-icons/lib/md/do-not-disturb.d.ts b/types/react-icons/lib/md/do-not-disturb.d.ts index bb19ff2e39..bbf62abfa8 100644 --- a/types/react-icons/lib/md/do-not-disturb.d.ts +++ b/types/react-icons/lib/md/do-not-disturb.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDoNotDisturb extends React.Component<IconBaseProps> { } +declare class MdDoNotDisturb extends React.Component<IconBaseProps> { } +export = MdDoNotDisturb; diff --git a/types/react-icons/lib/md/dock.d.ts b/types/react-icons/lib/md/dock.d.ts index 3de11f01a5..a4a7aede1d 100644 --- a/types/react-icons/lib/md/dock.d.ts +++ b/types/react-icons/lib/md/dock.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDock extends React.Component<IconBaseProps> { } +declare class MdDock extends React.Component<IconBaseProps> { } +export = MdDock; diff --git a/types/react-icons/lib/md/domain.d.ts b/types/react-icons/lib/md/domain.d.ts index c9586ff2b5..742cce594e 100644 --- a/types/react-icons/lib/md/domain.d.ts +++ b/types/react-icons/lib/md/domain.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDomain extends React.Component<IconBaseProps> { } +declare class MdDomain extends React.Component<IconBaseProps> { } +export = MdDomain; diff --git a/types/react-icons/lib/md/done-all.d.ts b/types/react-icons/lib/md/done-all.d.ts index 41e8241fcc..83da2f1ed2 100644 --- a/types/react-icons/lib/md/done-all.d.ts +++ b/types/react-icons/lib/md/done-all.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDoneAll extends React.Component<IconBaseProps> { } +declare class MdDoneAll extends React.Component<IconBaseProps> { } +export = MdDoneAll; diff --git a/types/react-icons/lib/md/done.d.ts b/types/react-icons/lib/md/done.d.ts index 977bc177a5..d310efc5fb 100644 --- a/types/react-icons/lib/md/done.d.ts +++ b/types/react-icons/lib/md/done.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDone extends React.Component<IconBaseProps> { } +declare class MdDone extends React.Component<IconBaseProps> { } +export = MdDone; diff --git a/types/react-icons/lib/md/donut-large.d.ts b/types/react-icons/lib/md/donut-large.d.ts index 01422e1fa5..19aae88f9a 100644 --- a/types/react-icons/lib/md/donut-large.d.ts +++ b/types/react-icons/lib/md/donut-large.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDonutLarge extends React.Component<IconBaseProps> { } +declare class MdDonutLarge extends React.Component<IconBaseProps> { } +export = MdDonutLarge; diff --git a/types/react-icons/lib/md/donut-small.d.ts b/types/react-icons/lib/md/donut-small.d.ts index 7475720575..4006487408 100644 --- a/types/react-icons/lib/md/donut-small.d.ts +++ b/types/react-icons/lib/md/donut-small.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDonutSmall extends React.Component<IconBaseProps> { } +declare class MdDonutSmall extends React.Component<IconBaseProps> { } +export = MdDonutSmall; diff --git a/types/react-icons/lib/md/drafts.d.ts b/types/react-icons/lib/md/drafts.d.ts index 3a3af21927..47ced0caf3 100644 --- a/types/react-icons/lib/md/drafts.d.ts +++ b/types/react-icons/lib/md/drafts.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDrafts extends React.Component<IconBaseProps> { } +declare class MdDrafts extends React.Component<IconBaseProps> { } +export = MdDrafts; diff --git a/types/react-icons/lib/md/drag-handle.d.ts b/types/react-icons/lib/md/drag-handle.d.ts index 80ae3229cd..7a5507a43d 100644 --- a/types/react-icons/lib/md/drag-handle.d.ts +++ b/types/react-icons/lib/md/drag-handle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDragHandle extends React.Component<IconBaseProps> { } +declare class MdDragHandle extends React.Component<IconBaseProps> { } +export = MdDragHandle; diff --git a/types/react-icons/lib/md/drive-eta.d.ts b/types/react-icons/lib/md/drive-eta.d.ts index 6cecfe8799..bbfc19b784 100644 --- a/types/react-icons/lib/md/drive-eta.d.ts +++ b/types/react-icons/lib/md/drive-eta.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDriveEta extends React.Component<IconBaseProps> { } +declare class MdDriveEta extends React.Component<IconBaseProps> { } +export = MdDriveEta; diff --git a/types/react-icons/lib/md/dvr.d.ts b/types/react-icons/lib/md/dvr.d.ts index c9d3aa8ce5..fe06a5720f 100644 --- a/types/react-icons/lib/md/dvr.d.ts +++ b/types/react-icons/lib/md/dvr.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdDvr extends React.Component<IconBaseProps> { } +declare class MdDvr extends React.Component<IconBaseProps> { } +export = MdDvr; diff --git a/types/react-icons/lib/md/edit-location.d.ts b/types/react-icons/lib/md/edit-location.d.ts index d6e3e2bfb7..b7b5b079c6 100644 --- a/types/react-icons/lib/md/edit-location.d.ts +++ b/types/react-icons/lib/md/edit-location.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdEditLocation extends React.Component<IconBaseProps> { } +declare class MdEditLocation extends React.Component<IconBaseProps> { } +export = MdEditLocation; diff --git a/types/react-icons/lib/md/edit.d.ts b/types/react-icons/lib/md/edit.d.ts index aaa97a382a..d93921ebed 100644 --- a/types/react-icons/lib/md/edit.d.ts +++ b/types/react-icons/lib/md/edit.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdEdit extends React.Component<IconBaseProps> { } +declare class MdEdit extends React.Component<IconBaseProps> { } +export = MdEdit; diff --git a/types/react-icons/lib/md/eject.d.ts b/types/react-icons/lib/md/eject.d.ts index 87c366fef5..b0f783c078 100644 --- a/types/react-icons/lib/md/eject.d.ts +++ b/types/react-icons/lib/md/eject.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdEject extends React.Component<IconBaseProps> { } +declare class MdEject extends React.Component<IconBaseProps> { } +export = MdEject; diff --git a/types/react-icons/lib/md/email.d.ts b/types/react-icons/lib/md/email.d.ts index 1c8b5247ee..3c6e12207f 100644 --- a/types/react-icons/lib/md/email.d.ts +++ b/types/react-icons/lib/md/email.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdEmail extends React.Component<IconBaseProps> { } +declare class MdEmail extends React.Component<IconBaseProps> { } +export = MdEmail; diff --git a/types/react-icons/lib/md/enhanced-encryption.d.ts b/types/react-icons/lib/md/enhanced-encryption.d.ts index be651f5c94..349a860441 100644 --- a/types/react-icons/lib/md/enhanced-encryption.d.ts +++ b/types/react-icons/lib/md/enhanced-encryption.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdEnhancedEncryption extends React.Component<IconBaseProps> { } +declare class MdEnhancedEncryption extends React.Component<IconBaseProps> { } +export = MdEnhancedEncryption; diff --git a/types/react-icons/lib/md/equalizer.d.ts b/types/react-icons/lib/md/equalizer.d.ts index ab7a2f20f9..7530cf7695 100644 --- a/types/react-icons/lib/md/equalizer.d.ts +++ b/types/react-icons/lib/md/equalizer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdEqualizer extends React.Component<IconBaseProps> { } +declare class MdEqualizer extends React.Component<IconBaseProps> { } +export = MdEqualizer; diff --git a/types/react-icons/lib/md/error-outline.d.ts b/types/react-icons/lib/md/error-outline.d.ts index 0d8a6051a9..4e6e732a4c 100644 --- a/types/react-icons/lib/md/error-outline.d.ts +++ b/types/react-icons/lib/md/error-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdErrorOutline extends React.Component<IconBaseProps> { } +declare class MdErrorOutline extends React.Component<IconBaseProps> { } +export = MdErrorOutline; diff --git a/types/react-icons/lib/md/error.d.ts b/types/react-icons/lib/md/error.d.ts index c5b9fc8e71..5b2809e65d 100644 --- a/types/react-icons/lib/md/error.d.ts +++ b/types/react-icons/lib/md/error.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdError extends React.Component<IconBaseProps> { } +declare class MdError extends React.Component<IconBaseProps> { } +export = MdError; diff --git a/types/react-icons/lib/md/euro-symbol.d.ts b/types/react-icons/lib/md/euro-symbol.d.ts index 1e5b262514..9ae12d17be 100644 --- a/types/react-icons/lib/md/euro-symbol.d.ts +++ b/types/react-icons/lib/md/euro-symbol.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdEuroSymbol extends React.Component<IconBaseProps> { } +declare class MdEuroSymbol extends React.Component<IconBaseProps> { } +export = MdEuroSymbol; diff --git a/types/react-icons/lib/md/ev-station.d.ts b/types/react-icons/lib/md/ev-station.d.ts index 4254fe1ebf..b9620cae5e 100644 --- a/types/react-icons/lib/md/ev-station.d.ts +++ b/types/react-icons/lib/md/ev-station.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdEvStation extends React.Component<IconBaseProps> { } +declare class MdEvStation extends React.Component<IconBaseProps> { } +export = MdEvStation; diff --git a/types/react-icons/lib/md/event-available.d.ts b/types/react-icons/lib/md/event-available.d.ts index 30722d5a81..b347743558 100644 --- a/types/react-icons/lib/md/event-available.d.ts +++ b/types/react-icons/lib/md/event-available.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdEventAvailable extends React.Component<IconBaseProps> { } +declare class MdEventAvailable extends React.Component<IconBaseProps> { } +export = MdEventAvailable; diff --git a/types/react-icons/lib/md/event-busy.d.ts b/types/react-icons/lib/md/event-busy.d.ts index 6659755bbf..3fc3be1c59 100644 --- a/types/react-icons/lib/md/event-busy.d.ts +++ b/types/react-icons/lib/md/event-busy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdEventBusy extends React.Component<IconBaseProps> { } +declare class MdEventBusy extends React.Component<IconBaseProps> { } +export = MdEventBusy; diff --git a/types/react-icons/lib/md/event-note.d.ts b/types/react-icons/lib/md/event-note.d.ts index fb3c3b0279..34a6684ae4 100644 --- a/types/react-icons/lib/md/event-note.d.ts +++ b/types/react-icons/lib/md/event-note.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdEventNote extends React.Component<IconBaseProps> { } +declare class MdEventNote extends React.Component<IconBaseProps> { } +export = MdEventNote; diff --git a/types/react-icons/lib/md/event-seat.d.ts b/types/react-icons/lib/md/event-seat.d.ts index 53c6fd7c85..f45d48eb2e 100644 --- a/types/react-icons/lib/md/event-seat.d.ts +++ b/types/react-icons/lib/md/event-seat.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdEventSeat extends React.Component<IconBaseProps> { } +declare class MdEventSeat extends React.Component<IconBaseProps> { } +export = MdEventSeat; diff --git a/types/react-icons/lib/md/event.d.ts b/types/react-icons/lib/md/event.d.ts index a5bba2458a..1237aeb777 100644 --- a/types/react-icons/lib/md/event.d.ts +++ b/types/react-icons/lib/md/event.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdEvent extends React.Component<IconBaseProps> { } +declare class MdEvent extends React.Component<IconBaseProps> { } +export = MdEvent; diff --git a/types/react-icons/lib/md/exit-to-app.d.ts b/types/react-icons/lib/md/exit-to-app.d.ts index 1c12dfc4b7..f8de476ba4 100644 --- a/types/react-icons/lib/md/exit-to-app.d.ts +++ b/types/react-icons/lib/md/exit-to-app.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdExitToApp extends React.Component<IconBaseProps> { } +declare class MdExitToApp extends React.Component<IconBaseProps> { } +export = MdExitToApp; diff --git a/types/react-icons/lib/md/expand-less.d.ts b/types/react-icons/lib/md/expand-less.d.ts index 766bf8886e..5706e4bf36 100644 --- a/types/react-icons/lib/md/expand-less.d.ts +++ b/types/react-icons/lib/md/expand-less.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdExpandLess extends React.Component<IconBaseProps> { } +declare class MdExpandLess extends React.Component<IconBaseProps> { } +export = MdExpandLess; diff --git a/types/react-icons/lib/md/expand-more.d.ts b/types/react-icons/lib/md/expand-more.d.ts index bef62424b7..e42c0fcebb 100644 --- a/types/react-icons/lib/md/expand-more.d.ts +++ b/types/react-icons/lib/md/expand-more.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdExpandMore extends React.Component<IconBaseProps> { } +declare class MdExpandMore extends React.Component<IconBaseProps> { } +export = MdExpandMore; diff --git a/types/react-icons/lib/md/explicit.d.ts b/types/react-icons/lib/md/explicit.d.ts index b10026c0af..673add9aad 100644 --- a/types/react-icons/lib/md/explicit.d.ts +++ b/types/react-icons/lib/md/explicit.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdExplicit extends React.Component<IconBaseProps> { } +declare class MdExplicit extends React.Component<IconBaseProps> { } +export = MdExplicit; diff --git a/types/react-icons/lib/md/explore.d.ts b/types/react-icons/lib/md/explore.d.ts index 79180f608d..c4a3f09e3f 100644 --- a/types/react-icons/lib/md/explore.d.ts +++ b/types/react-icons/lib/md/explore.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdExplore extends React.Component<IconBaseProps> { } +declare class MdExplore extends React.Component<IconBaseProps> { } +export = MdExplore; diff --git a/types/react-icons/lib/md/exposure-minus-1.d.ts b/types/react-icons/lib/md/exposure-minus-1.d.ts index f0c9222b4e..9446fd9e77 100644 --- a/types/react-icons/lib/md/exposure-minus-1.d.ts +++ b/types/react-icons/lib/md/exposure-minus-1.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdExposureMinus1 extends React.Component<IconBaseProps> { } +declare class MdExposureMinus1 extends React.Component<IconBaseProps> { } +export = MdExposureMinus1; diff --git a/types/react-icons/lib/md/exposure-minus-2.d.ts b/types/react-icons/lib/md/exposure-minus-2.d.ts index 7b70926bf1..f63ea681dc 100644 --- a/types/react-icons/lib/md/exposure-minus-2.d.ts +++ b/types/react-icons/lib/md/exposure-minus-2.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdExposureMinus2 extends React.Component<IconBaseProps> { } +declare class MdExposureMinus2 extends React.Component<IconBaseProps> { } +export = MdExposureMinus2; diff --git a/types/react-icons/lib/md/exposure-neg-1.d.ts b/types/react-icons/lib/md/exposure-neg-1.d.ts index 136e8abf0e..9adf29cb8e 100644 --- a/types/react-icons/lib/md/exposure-neg-1.d.ts +++ b/types/react-icons/lib/md/exposure-neg-1.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdExposureNeg1 extends React.Component<IconBaseProps> { } +declare class MdExposureNeg1 extends React.Component<IconBaseProps> { } +export = MdExposureNeg1; diff --git a/types/react-icons/lib/md/exposure-neg-2.d.ts b/types/react-icons/lib/md/exposure-neg-2.d.ts index ceec854625..e196f110b8 100644 --- a/types/react-icons/lib/md/exposure-neg-2.d.ts +++ b/types/react-icons/lib/md/exposure-neg-2.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdExposureNeg2 extends React.Component<IconBaseProps> { } +declare class MdExposureNeg2 extends React.Component<IconBaseProps> { } +export = MdExposureNeg2; diff --git a/types/react-icons/lib/md/exposure-plus-1.d.ts b/types/react-icons/lib/md/exposure-plus-1.d.ts index fbb81879c2..2a6be5aa46 100644 --- a/types/react-icons/lib/md/exposure-plus-1.d.ts +++ b/types/react-icons/lib/md/exposure-plus-1.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdExposurePlus1 extends React.Component<IconBaseProps> { } +declare class MdExposurePlus1 extends React.Component<IconBaseProps> { } +export = MdExposurePlus1; diff --git a/types/react-icons/lib/md/exposure-plus-2.d.ts b/types/react-icons/lib/md/exposure-plus-2.d.ts index d22a7d3123..699dc5c403 100644 --- a/types/react-icons/lib/md/exposure-plus-2.d.ts +++ b/types/react-icons/lib/md/exposure-plus-2.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdExposurePlus2 extends React.Component<IconBaseProps> { } +declare class MdExposurePlus2 extends React.Component<IconBaseProps> { } +export = MdExposurePlus2; diff --git a/types/react-icons/lib/md/exposure-zero.d.ts b/types/react-icons/lib/md/exposure-zero.d.ts index 27125daa24..a0309b8c9b 100644 --- a/types/react-icons/lib/md/exposure-zero.d.ts +++ b/types/react-icons/lib/md/exposure-zero.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdExposureZero extends React.Component<IconBaseProps> { } +declare class MdExposureZero extends React.Component<IconBaseProps> { } +export = MdExposureZero; diff --git a/types/react-icons/lib/md/exposure.d.ts b/types/react-icons/lib/md/exposure.d.ts index 1d04f364e0..308824d04c 100644 --- a/types/react-icons/lib/md/exposure.d.ts +++ b/types/react-icons/lib/md/exposure.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdExposure extends React.Component<IconBaseProps> { } +declare class MdExposure extends React.Component<IconBaseProps> { } +export = MdExposure; diff --git a/types/react-icons/lib/md/extension.d.ts b/types/react-icons/lib/md/extension.d.ts index bfb10535b0..b472fcea5a 100644 --- a/types/react-icons/lib/md/extension.d.ts +++ b/types/react-icons/lib/md/extension.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdExtension extends React.Component<IconBaseProps> { } +declare class MdExtension extends React.Component<IconBaseProps> { } +export = MdExtension; diff --git a/types/react-icons/lib/md/face.d.ts b/types/react-icons/lib/md/face.d.ts index e8042f0b48..bfecdf3a2d 100644 --- a/types/react-icons/lib/md/face.d.ts +++ b/types/react-icons/lib/md/face.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFace extends React.Component<IconBaseProps> { } +declare class MdFace extends React.Component<IconBaseProps> { } +export = MdFace; diff --git a/types/react-icons/lib/md/fast-forward.d.ts b/types/react-icons/lib/md/fast-forward.d.ts index 3daeacb97a..e0364752a4 100644 --- a/types/react-icons/lib/md/fast-forward.d.ts +++ b/types/react-icons/lib/md/fast-forward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFastForward extends React.Component<IconBaseProps> { } +declare class MdFastForward extends React.Component<IconBaseProps> { } +export = MdFastForward; diff --git a/types/react-icons/lib/md/fast-rewind.d.ts b/types/react-icons/lib/md/fast-rewind.d.ts index 5b34d9c3a6..8151f3649f 100644 --- a/types/react-icons/lib/md/fast-rewind.d.ts +++ b/types/react-icons/lib/md/fast-rewind.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFastRewind extends React.Component<IconBaseProps> { } +declare class MdFastRewind extends React.Component<IconBaseProps> { } +export = MdFastRewind; diff --git a/types/react-icons/lib/md/favorite-border.d.ts b/types/react-icons/lib/md/favorite-border.d.ts index cd66fdc7e2..d9a6771181 100644 --- a/types/react-icons/lib/md/favorite-border.d.ts +++ b/types/react-icons/lib/md/favorite-border.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFavoriteBorder extends React.Component<IconBaseProps> { } +declare class MdFavoriteBorder extends React.Component<IconBaseProps> { } +export = MdFavoriteBorder; diff --git a/types/react-icons/lib/md/favorite-outline.d.ts b/types/react-icons/lib/md/favorite-outline.d.ts index 7b1df113ba..8eccdcbdf7 100644 --- a/types/react-icons/lib/md/favorite-outline.d.ts +++ b/types/react-icons/lib/md/favorite-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFavoriteOutline extends React.Component<IconBaseProps> { } +declare class MdFavoriteOutline extends React.Component<IconBaseProps> { } +export = MdFavoriteOutline; diff --git a/types/react-icons/lib/md/favorite.d.ts b/types/react-icons/lib/md/favorite.d.ts index 84959194f9..3bd251bff4 100644 --- a/types/react-icons/lib/md/favorite.d.ts +++ b/types/react-icons/lib/md/favorite.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFavorite extends React.Component<IconBaseProps> { } +declare class MdFavorite extends React.Component<IconBaseProps> { } +export = MdFavorite; diff --git a/types/react-icons/lib/md/featured-play-list.d.ts b/types/react-icons/lib/md/featured-play-list.d.ts index b8a4685778..29e8772a70 100644 --- a/types/react-icons/lib/md/featured-play-list.d.ts +++ b/types/react-icons/lib/md/featured-play-list.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFeaturedPlayList extends React.Component<IconBaseProps> { } +declare class MdFeaturedPlayList extends React.Component<IconBaseProps> { } +export = MdFeaturedPlayList; diff --git a/types/react-icons/lib/md/featured-video.d.ts b/types/react-icons/lib/md/featured-video.d.ts index 67aa6eb9c5..17db25abb9 100644 --- a/types/react-icons/lib/md/featured-video.d.ts +++ b/types/react-icons/lib/md/featured-video.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFeaturedVideo extends React.Component<IconBaseProps> { } +declare class MdFeaturedVideo extends React.Component<IconBaseProps> { } +export = MdFeaturedVideo; diff --git a/types/react-icons/lib/md/feedback.d.ts b/types/react-icons/lib/md/feedback.d.ts index b69aff1e22..cee4f3b289 100644 --- a/types/react-icons/lib/md/feedback.d.ts +++ b/types/react-icons/lib/md/feedback.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFeedback extends React.Component<IconBaseProps> { } +declare class MdFeedback extends React.Component<IconBaseProps> { } +export = MdFeedback; diff --git a/types/react-icons/lib/md/fiber-dvr.d.ts b/types/react-icons/lib/md/fiber-dvr.d.ts index f8c841d7b0..f9a674481a 100644 --- a/types/react-icons/lib/md/fiber-dvr.d.ts +++ b/types/react-icons/lib/md/fiber-dvr.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFiberDvr extends React.Component<IconBaseProps> { } +declare class MdFiberDvr extends React.Component<IconBaseProps> { } +export = MdFiberDvr; diff --git a/types/react-icons/lib/md/fiber-manual-record.d.ts b/types/react-icons/lib/md/fiber-manual-record.d.ts index 886e58432d..d89a416618 100644 --- a/types/react-icons/lib/md/fiber-manual-record.d.ts +++ b/types/react-icons/lib/md/fiber-manual-record.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFiberManualRecord extends React.Component<IconBaseProps> { } +declare class MdFiberManualRecord extends React.Component<IconBaseProps> { } +export = MdFiberManualRecord; diff --git a/types/react-icons/lib/md/fiber-new.d.ts b/types/react-icons/lib/md/fiber-new.d.ts index 239b7541af..52ce6bee05 100644 --- a/types/react-icons/lib/md/fiber-new.d.ts +++ b/types/react-icons/lib/md/fiber-new.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFiberNew extends React.Component<IconBaseProps> { } +declare class MdFiberNew extends React.Component<IconBaseProps> { } +export = MdFiberNew; diff --git a/types/react-icons/lib/md/fiber-pin.d.ts b/types/react-icons/lib/md/fiber-pin.d.ts index 327b456570..c5de78c3f6 100644 --- a/types/react-icons/lib/md/fiber-pin.d.ts +++ b/types/react-icons/lib/md/fiber-pin.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFiberPin extends React.Component<IconBaseProps> { } +declare class MdFiberPin extends React.Component<IconBaseProps> { } +export = MdFiberPin; diff --git a/types/react-icons/lib/md/fiber-smart-record.d.ts b/types/react-icons/lib/md/fiber-smart-record.d.ts index 0054c9fff7..52ddb3eba4 100644 --- a/types/react-icons/lib/md/fiber-smart-record.d.ts +++ b/types/react-icons/lib/md/fiber-smart-record.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFiberSmartRecord extends React.Component<IconBaseProps> { } +declare class MdFiberSmartRecord extends React.Component<IconBaseProps> { } +export = MdFiberSmartRecord; diff --git a/types/react-icons/lib/md/file-download.d.ts b/types/react-icons/lib/md/file-download.d.ts index 7874143a50..0b820a99c7 100644 --- a/types/react-icons/lib/md/file-download.d.ts +++ b/types/react-icons/lib/md/file-download.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFileDownload extends React.Component<IconBaseProps> { } +declare class MdFileDownload extends React.Component<IconBaseProps> { } +export = MdFileDownload; diff --git a/types/react-icons/lib/md/file-upload.d.ts b/types/react-icons/lib/md/file-upload.d.ts index 96d2742e3c..ce06531303 100644 --- a/types/react-icons/lib/md/file-upload.d.ts +++ b/types/react-icons/lib/md/file-upload.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFileUpload extends React.Component<IconBaseProps> { } +declare class MdFileUpload extends React.Component<IconBaseProps> { } +export = MdFileUpload; diff --git a/types/react-icons/lib/md/filter-1.d.ts b/types/react-icons/lib/md/filter-1.d.ts index 0eab79f7ff..bed4c717c7 100644 --- a/types/react-icons/lib/md/filter-1.d.ts +++ b/types/react-icons/lib/md/filter-1.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFilter1 extends React.Component<IconBaseProps> { } +declare class MdFilter1 extends React.Component<IconBaseProps> { } +export = MdFilter1; diff --git a/types/react-icons/lib/md/filter-2.d.ts b/types/react-icons/lib/md/filter-2.d.ts index 7c2ee2aa23..bc9d9054c4 100644 --- a/types/react-icons/lib/md/filter-2.d.ts +++ b/types/react-icons/lib/md/filter-2.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFilter2 extends React.Component<IconBaseProps> { } +declare class MdFilter2 extends React.Component<IconBaseProps> { } +export = MdFilter2; diff --git a/types/react-icons/lib/md/filter-3.d.ts b/types/react-icons/lib/md/filter-3.d.ts index 3378d361ba..5841f94ce8 100644 --- a/types/react-icons/lib/md/filter-3.d.ts +++ b/types/react-icons/lib/md/filter-3.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFilter3 extends React.Component<IconBaseProps> { } +declare class MdFilter3 extends React.Component<IconBaseProps> { } +export = MdFilter3; diff --git a/types/react-icons/lib/md/filter-4.d.ts b/types/react-icons/lib/md/filter-4.d.ts index 9c781a3957..c0e7416e01 100644 --- a/types/react-icons/lib/md/filter-4.d.ts +++ b/types/react-icons/lib/md/filter-4.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFilter4 extends React.Component<IconBaseProps> { } +declare class MdFilter4 extends React.Component<IconBaseProps> { } +export = MdFilter4; diff --git a/types/react-icons/lib/md/filter-5.d.ts b/types/react-icons/lib/md/filter-5.d.ts index 0231749f2e..2ff87b69ac 100644 --- a/types/react-icons/lib/md/filter-5.d.ts +++ b/types/react-icons/lib/md/filter-5.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFilter5 extends React.Component<IconBaseProps> { } +declare class MdFilter5 extends React.Component<IconBaseProps> { } +export = MdFilter5; diff --git a/types/react-icons/lib/md/filter-6.d.ts b/types/react-icons/lib/md/filter-6.d.ts index 2aa32d48cd..8c2e132205 100644 --- a/types/react-icons/lib/md/filter-6.d.ts +++ b/types/react-icons/lib/md/filter-6.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFilter6 extends React.Component<IconBaseProps> { } +declare class MdFilter6 extends React.Component<IconBaseProps> { } +export = MdFilter6; diff --git a/types/react-icons/lib/md/filter-7.d.ts b/types/react-icons/lib/md/filter-7.d.ts index 3a130313a7..1876e10141 100644 --- a/types/react-icons/lib/md/filter-7.d.ts +++ b/types/react-icons/lib/md/filter-7.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFilter7 extends React.Component<IconBaseProps> { } +declare class MdFilter7 extends React.Component<IconBaseProps> { } +export = MdFilter7; diff --git a/types/react-icons/lib/md/filter-8.d.ts b/types/react-icons/lib/md/filter-8.d.ts index bd2690c793..3b8a1ef16b 100644 --- a/types/react-icons/lib/md/filter-8.d.ts +++ b/types/react-icons/lib/md/filter-8.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFilter8 extends React.Component<IconBaseProps> { } +declare class MdFilter8 extends React.Component<IconBaseProps> { } +export = MdFilter8; diff --git a/types/react-icons/lib/md/filter-9-plus.d.ts b/types/react-icons/lib/md/filter-9-plus.d.ts index 6e11758f2e..cefab42b95 100644 --- a/types/react-icons/lib/md/filter-9-plus.d.ts +++ b/types/react-icons/lib/md/filter-9-plus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFilter9Plus extends React.Component<IconBaseProps> { } +declare class MdFilter9Plus extends React.Component<IconBaseProps> { } +export = MdFilter9Plus; diff --git a/types/react-icons/lib/md/filter-9.d.ts b/types/react-icons/lib/md/filter-9.d.ts index b4971c93f9..41f677c0a4 100644 --- a/types/react-icons/lib/md/filter-9.d.ts +++ b/types/react-icons/lib/md/filter-9.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFilter9 extends React.Component<IconBaseProps> { } +declare class MdFilter9 extends React.Component<IconBaseProps> { } +export = MdFilter9; diff --git a/types/react-icons/lib/md/filter-b-and-w.d.ts b/types/react-icons/lib/md/filter-b-and-w.d.ts index 327d166bae..925b5ebe0b 100644 --- a/types/react-icons/lib/md/filter-b-and-w.d.ts +++ b/types/react-icons/lib/md/filter-b-and-w.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFilterBAndW extends React.Component<IconBaseProps> { } +declare class MdFilterBAndW extends React.Component<IconBaseProps> { } +export = MdFilterBAndW; diff --git a/types/react-icons/lib/md/filter-center-focus.d.ts b/types/react-icons/lib/md/filter-center-focus.d.ts index 6001fc45a8..72de58ce3f 100644 --- a/types/react-icons/lib/md/filter-center-focus.d.ts +++ b/types/react-icons/lib/md/filter-center-focus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFilterCenterFocus extends React.Component<IconBaseProps> { } +declare class MdFilterCenterFocus extends React.Component<IconBaseProps> { } +export = MdFilterCenterFocus; diff --git a/types/react-icons/lib/md/filter-drama.d.ts b/types/react-icons/lib/md/filter-drama.d.ts index 982c0518d9..76c44d8431 100644 --- a/types/react-icons/lib/md/filter-drama.d.ts +++ b/types/react-icons/lib/md/filter-drama.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFilterDrama extends React.Component<IconBaseProps> { } +declare class MdFilterDrama extends React.Component<IconBaseProps> { } +export = MdFilterDrama; diff --git a/types/react-icons/lib/md/filter-frames.d.ts b/types/react-icons/lib/md/filter-frames.d.ts index daef1b137f..7484e92211 100644 --- a/types/react-icons/lib/md/filter-frames.d.ts +++ b/types/react-icons/lib/md/filter-frames.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFilterFrames extends React.Component<IconBaseProps> { } +declare class MdFilterFrames extends React.Component<IconBaseProps> { } +export = MdFilterFrames; diff --git a/types/react-icons/lib/md/filter-hdr.d.ts b/types/react-icons/lib/md/filter-hdr.d.ts index 997614833c..c503b594d5 100644 --- a/types/react-icons/lib/md/filter-hdr.d.ts +++ b/types/react-icons/lib/md/filter-hdr.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFilterHdr extends React.Component<IconBaseProps> { } +declare class MdFilterHdr extends React.Component<IconBaseProps> { } +export = MdFilterHdr; diff --git a/types/react-icons/lib/md/filter-list.d.ts b/types/react-icons/lib/md/filter-list.d.ts index 546734dff6..bf51b71bb3 100644 --- a/types/react-icons/lib/md/filter-list.d.ts +++ b/types/react-icons/lib/md/filter-list.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFilterList extends React.Component<IconBaseProps> { } +declare class MdFilterList extends React.Component<IconBaseProps> { } +export = MdFilterList; diff --git a/types/react-icons/lib/md/filter-none.d.ts b/types/react-icons/lib/md/filter-none.d.ts index 2e160324d8..53592bc2ba 100644 --- a/types/react-icons/lib/md/filter-none.d.ts +++ b/types/react-icons/lib/md/filter-none.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFilterNone extends React.Component<IconBaseProps> { } +declare class MdFilterNone extends React.Component<IconBaseProps> { } +export = MdFilterNone; diff --git a/types/react-icons/lib/md/filter-tilt-shift.d.ts b/types/react-icons/lib/md/filter-tilt-shift.d.ts index 0e68c95a0a..05bd62ae1d 100644 --- a/types/react-icons/lib/md/filter-tilt-shift.d.ts +++ b/types/react-icons/lib/md/filter-tilt-shift.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFilterTiltShift extends React.Component<IconBaseProps> { } +declare class MdFilterTiltShift extends React.Component<IconBaseProps> { } +export = MdFilterTiltShift; diff --git a/types/react-icons/lib/md/filter-vintage.d.ts b/types/react-icons/lib/md/filter-vintage.d.ts index af1243b86d..bbec939c8d 100644 --- a/types/react-icons/lib/md/filter-vintage.d.ts +++ b/types/react-icons/lib/md/filter-vintage.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFilterVintage extends React.Component<IconBaseProps> { } +declare class MdFilterVintage extends React.Component<IconBaseProps> { } +export = MdFilterVintage; diff --git a/types/react-icons/lib/md/filter.d.ts b/types/react-icons/lib/md/filter.d.ts index 30fd120a11..b00d2e5cfc 100644 --- a/types/react-icons/lib/md/filter.d.ts +++ b/types/react-icons/lib/md/filter.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFilter extends React.Component<IconBaseProps> { } +declare class MdFilter extends React.Component<IconBaseProps> { } +export = MdFilter; diff --git a/types/react-icons/lib/md/find-in-page.d.ts b/types/react-icons/lib/md/find-in-page.d.ts index 3dbb98ad7d..379e65cfcb 100644 --- a/types/react-icons/lib/md/find-in-page.d.ts +++ b/types/react-icons/lib/md/find-in-page.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFindInPage extends React.Component<IconBaseProps> { } +declare class MdFindInPage extends React.Component<IconBaseProps> { } +export = MdFindInPage; diff --git a/types/react-icons/lib/md/find-replace.d.ts b/types/react-icons/lib/md/find-replace.d.ts index 0a066acf85..f709db2fbf 100644 --- a/types/react-icons/lib/md/find-replace.d.ts +++ b/types/react-icons/lib/md/find-replace.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFindReplace extends React.Component<IconBaseProps> { } +declare class MdFindReplace extends React.Component<IconBaseProps> { } +export = MdFindReplace; diff --git a/types/react-icons/lib/md/fingerprint.d.ts b/types/react-icons/lib/md/fingerprint.d.ts index 1db6d8d427..ef44e19c98 100644 --- a/types/react-icons/lib/md/fingerprint.d.ts +++ b/types/react-icons/lib/md/fingerprint.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFingerprint extends React.Component<IconBaseProps> { } +declare class MdFingerprint extends React.Component<IconBaseProps> { } +export = MdFingerprint; diff --git a/types/react-icons/lib/md/first-page.d.ts b/types/react-icons/lib/md/first-page.d.ts index 95576cd1a2..cd1d3680e0 100644 --- a/types/react-icons/lib/md/first-page.d.ts +++ b/types/react-icons/lib/md/first-page.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFirstPage extends React.Component<IconBaseProps> { } +declare class MdFirstPage extends React.Component<IconBaseProps> { } +export = MdFirstPage; diff --git a/types/react-icons/lib/md/fitness-center.d.ts b/types/react-icons/lib/md/fitness-center.d.ts index 5874b3c1b7..bfcd0ed64c 100644 --- a/types/react-icons/lib/md/fitness-center.d.ts +++ b/types/react-icons/lib/md/fitness-center.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFitnessCenter extends React.Component<IconBaseProps> { } +declare class MdFitnessCenter extends React.Component<IconBaseProps> { } +export = MdFitnessCenter; diff --git a/types/react-icons/lib/md/flag.d.ts b/types/react-icons/lib/md/flag.d.ts index 5767d894db..35aec0014c 100644 --- a/types/react-icons/lib/md/flag.d.ts +++ b/types/react-icons/lib/md/flag.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFlag extends React.Component<IconBaseProps> { } +declare class MdFlag extends React.Component<IconBaseProps> { } +export = MdFlag; diff --git a/types/react-icons/lib/md/flare.d.ts b/types/react-icons/lib/md/flare.d.ts index 68715b9a9d..89a3e86038 100644 --- a/types/react-icons/lib/md/flare.d.ts +++ b/types/react-icons/lib/md/flare.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFlare extends React.Component<IconBaseProps> { } +declare class MdFlare extends React.Component<IconBaseProps> { } +export = MdFlare; diff --git a/types/react-icons/lib/md/flash-auto.d.ts b/types/react-icons/lib/md/flash-auto.d.ts index e119dc247b..3fdf942da2 100644 --- a/types/react-icons/lib/md/flash-auto.d.ts +++ b/types/react-icons/lib/md/flash-auto.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFlashAuto extends React.Component<IconBaseProps> { } +declare class MdFlashAuto extends React.Component<IconBaseProps> { } +export = MdFlashAuto; diff --git a/types/react-icons/lib/md/flash-off.d.ts b/types/react-icons/lib/md/flash-off.d.ts index fceeadc93a..2338eeaae1 100644 --- a/types/react-icons/lib/md/flash-off.d.ts +++ b/types/react-icons/lib/md/flash-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFlashOff extends React.Component<IconBaseProps> { } +declare class MdFlashOff extends React.Component<IconBaseProps> { } +export = MdFlashOff; diff --git a/types/react-icons/lib/md/flash-on.d.ts b/types/react-icons/lib/md/flash-on.d.ts index 8fcec401bc..209f551a6c 100644 --- a/types/react-icons/lib/md/flash-on.d.ts +++ b/types/react-icons/lib/md/flash-on.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFlashOn extends React.Component<IconBaseProps> { } +declare class MdFlashOn extends React.Component<IconBaseProps> { } +export = MdFlashOn; diff --git a/types/react-icons/lib/md/flight-land.d.ts b/types/react-icons/lib/md/flight-land.d.ts index f0571c691c..546ab05d11 100644 --- a/types/react-icons/lib/md/flight-land.d.ts +++ b/types/react-icons/lib/md/flight-land.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFlightLand extends React.Component<IconBaseProps> { } +declare class MdFlightLand extends React.Component<IconBaseProps> { } +export = MdFlightLand; diff --git a/types/react-icons/lib/md/flight-takeoff.d.ts b/types/react-icons/lib/md/flight-takeoff.d.ts index c22f43d504..50f669a9ec 100644 --- a/types/react-icons/lib/md/flight-takeoff.d.ts +++ b/types/react-icons/lib/md/flight-takeoff.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFlightTakeoff extends React.Component<IconBaseProps> { } +declare class MdFlightTakeoff extends React.Component<IconBaseProps> { } +export = MdFlightTakeoff; diff --git a/types/react-icons/lib/md/flight.d.ts b/types/react-icons/lib/md/flight.d.ts index da17781711..0850e1e1b3 100644 --- a/types/react-icons/lib/md/flight.d.ts +++ b/types/react-icons/lib/md/flight.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFlight extends React.Component<IconBaseProps> { } +declare class MdFlight extends React.Component<IconBaseProps> { } +export = MdFlight; diff --git a/types/react-icons/lib/md/flip-to-back.d.ts b/types/react-icons/lib/md/flip-to-back.d.ts index a5d426d353..77c6c084e6 100644 --- a/types/react-icons/lib/md/flip-to-back.d.ts +++ b/types/react-icons/lib/md/flip-to-back.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFlipToBack extends React.Component<IconBaseProps> { } +declare class MdFlipToBack extends React.Component<IconBaseProps> { } +export = MdFlipToBack; diff --git a/types/react-icons/lib/md/flip-to-front.d.ts b/types/react-icons/lib/md/flip-to-front.d.ts index 480c1d3466..4f553e292e 100644 --- a/types/react-icons/lib/md/flip-to-front.d.ts +++ b/types/react-icons/lib/md/flip-to-front.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFlipToFront extends React.Component<IconBaseProps> { } +declare class MdFlipToFront extends React.Component<IconBaseProps> { } +export = MdFlipToFront; diff --git a/types/react-icons/lib/md/flip.d.ts b/types/react-icons/lib/md/flip.d.ts index 990872e643..a2919757e4 100644 --- a/types/react-icons/lib/md/flip.d.ts +++ b/types/react-icons/lib/md/flip.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFlip extends React.Component<IconBaseProps> { } +declare class MdFlip extends React.Component<IconBaseProps> { } +export = MdFlip; diff --git a/types/react-icons/lib/md/folder-open.d.ts b/types/react-icons/lib/md/folder-open.d.ts index 813a57abba..7bdee8f257 100644 --- a/types/react-icons/lib/md/folder-open.d.ts +++ b/types/react-icons/lib/md/folder-open.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFolderOpen extends React.Component<IconBaseProps> { } +declare class MdFolderOpen extends React.Component<IconBaseProps> { } +export = MdFolderOpen; diff --git a/types/react-icons/lib/md/folder-shared.d.ts b/types/react-icons/lib/md/folder-shared.d.ts index a1734b4440..26fe5047a6 100644 --- a/types/react-icons/lib/md/folder-shared.d.ts +++ b/types/react-icons/lib/md/folder-shared.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFolderShared extends React.Component<IconBaseProps> { } +declare class MdFolderShared extends React.Component<IconBaseProps> { } +export = MdFolderShared; diff --git a/types/react-icons/lib/md/folder-special.d.ts b/types/react-icons/lib/md/folder-special.d.ts index ee62be51ce..6315da8a67 100644 --- a/types/react-icons/lib/md/folder-special.d.ts +++ b/types/react-icons/lib/md/folder-special.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFolderSpecial extends React.Component<IconBaseProps> { } +declare class MdFolderSpecial extends React.Component<IconBaseProps> { } +export = MdFolderSpecial; diff --git a/types/react-icons/lib/md/folder.d.ts b/types/react-icons/lib/md/folder.d.ts index efde8117c4..274d156256 100644 --- a/types/react-icons/lib/md/folder.d.ts +++ b/types/react-icons/lib/md/folder.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFolder extends React.Component<IconBaseProps> { } +declare class MdFolder extends React.Component<IconBaseProps> { } +export = MdFolder; diff --git a/types/react-icons/lib/md/font-download.d.ts b/types/react-icons/lib/md/font-download.d.ts index 61c3368b45..baaadab4bf 100644 --- a/types/react-icons/lib/md/font-download.d.ts +++ b/types/react-icons/lib/md/font-download.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFontDownload extends React.Component<IconBaseProps> { } +declare class MdFontDownload extends React.Component<IconBaseProps> { } +export = MdFontDownload; diff --git a/types/react-icons/lib/md/format-align-center.d.ts b/types/react-icons/lib/md/format-align-center.d.ts index e601b4115d..6678781fab 100644 --- a/types/react-icons/lib/md/format-align-center.d.ts +++ b/types/react-icons/lib/md/format-align-center.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatAlignCenter extends React.Component<IconBaseProps> { } +declare class MdFormatAlignCenter extends React.Component<IconBaseProps> { } +export = MdFormatAlignCenter; diff --git a/types/react-icons/lib/md/format-align-justify.d.ts b/types/react-icons/lib/md/format-align-justify.d.ts index a35ccd43cf..c169d7d4cf 100644 --- a/types/react-icons/lib/md/format-align-justify.d.ts +++ b/types/react-icons/lib/md/format-align-justify.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatAlignJustify extends React.Component<IconBaseProps> { } +declare class MdFormatAlignJustify extends React.Component<IconBaseProps> { } +export = MdFormatAlignJustify; diff --git a/types/react-icons/lib/md/format-align-left.d.ts b/types/react-icons/lib/md/format-align-left.d.ts index 45443b3013..11fb721bb6 100644 --- a/types/react-icons/lib/md/format-align-left.d.ts +++ b/types/react-icons/lib/md/format-align-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatAlignLeft extends React.Component<IconBaseProps> { } +declare class MdFormatAlignLeft extends React.Component<IconBaseProps> { } +export = MdFormatAlignLeft; diff --git a/types/react-icons/lib/md/format-align-right.d.ts b/types/react-icons/lib/md/format-align-right.d.ts index 4c965ed516..ef9444429f 100644 --- a/types/react-icons/lib/md/format-align-right.d.ts +++ b/types/react-icons/lib/md/format-align-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatAlignRight extends React.Component<IconBaseProps> { } +declare class MdFormatAlignRight extends React.Component<IconBaseProps> { } +export = MdFormatAlignRight; diff --git a/types/react-icons/lib/md/format-bold.d.ts b/types/react-icons/lib/md/format-bold.d.ts index 45c6764995..ebd0027ba8 100644 --- a/types/react-icons/lib/md/format-bold.d.ts +++ b/types/react-icons/lib/md/format-bold.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatBold extends React.Component<IconBaseProps> { } +declare class MdFormatBold extends React.Component<IconBaseProps> { } +export = MdFormatBold; diff --git a/types/react-icons/lib/md/format-clear.d.ts b/types/react-icons/lib/md/format-clear.d.ts index b60b1f0d1c..d8350f1916 100644 --- a/types/react-icons/lib/md/format-clear.d.ts +++ b/types/react-icons/lib/md/format-clear.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatClear extends React.Component<IconBaseProps> { } +declare class MdFormatClear extends React.Component<IconBaseProps> { } +export = MdFormatClear; diff --git a/types/react-icons/lib/md/format-color-fill.d.ts b/types/react-icons/lib/md/format-color-fill.d.ts index c3a17b53ff..dac025da7d 100644 --- a/types/react-icons/lib/md/format-color-fill.d.ts +++ b/types/react-icons/lib/md/format-color-fill.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatColorFill extends React.Component<IconBaseProps> { } +declare class MdFormatColorFill extends React.Component<IconBaseProps> { } +export = MdFormatColorFill; diff --git a/types/react-icons/lib/md/format-color-reset.d.ts b/types/react-icons/lib/md/format-color-reset.d.ts index 399c41d77e..9de4f919d4 100644 --- a/types/react-icons/lib/md/format-color-reset.d.ts +++ b/types/react-icons/lib/md/format-color-reset.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatColorReset extends React.Component<IconBaseProps> { } +declare class MdFormatColorReset extends React.Component<IconBaseProps> { } +export = MdFormatColorReset; diff --git a/types/react-icons/lib/md/format-color-text.d.ts b/types/react-icons/lib/md/format-color-text.d.ts index 1a332ab22a..54d5d3c4fb 100644 --- a/types/react-icons/lib/md/format-color-text.d.ts +++ b/types/react-icons/lib/md/format-color-text.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatColorText extends React.Component<IconBaseProps> { } +declare class MdFormatColorText extends React.Component<IconBaseProps> { } +export = MdFormatColorText; diff --git a/types/react-icons/lib/md/format-indent-decrease.d.ts b/types/react-icons/lib/md/format-indent-decrease.d.ts index a89c15275d..4eaf1d9537 100644 --- a/types/react-icons/lib/md/format-indent-decrease.d.ts +++ b/types/react-icons/lib/md/format-indent-decrease.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatIndentDecrease extends React.Component<IconBaseProps> { } +declare class MdFormatIndentDecrease extends React.Component<IconBaseProps> { } +export = MdFormatIndentDecrease; diff --git a/types/react-icons/lib/md/format-indent-increase.d.ts b/types/react-icons/lib/md/format-indent-increase.d.ts index 8b2d098b69..f5e0f6008b 100644 --- a/types/react-icons/lib/md/format-indent-increase.d.ts +++ b/types/react-icons/lib/md/format-indent-increase.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatIndentIncrease extends React.Component<IconBaseProps> { } +declare class MdFormatIndentIncrease extends React.Component<IconBaseProps> { } +export = MdFormatIndentIncrease; diff --git a/types/react-icons/lib/md/format-italic.d.ts b/types/react-icons/lib/md/format-italic.d.ts index bbc7df9a3f..c512f7deec 100644 --- a/types/react-icons/lib/md/format-italic.d.ts +++ b/types/react-icons/lib/md/format-italic.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatItalic extends React.Component<IconBaseProps> { } +declare class MdFormatItalic extends React.Component<IconBaseProps> { } +export = MdFormatItalic; diff --git a/types/react-icons/lib/md/format-line-spacing.d.ts b/types/react-icons/lib/md/format-line-spacing.d.ts index 3731147921..8f8317af6a 100644 --- a/types/react-icons/lib/md/format-line-spacing.d.ts +++ b/types/react-icons/lib/md/format-line-spacing.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatLineSpacing extends React.Component<IconBaseProps> { } +declare class MdFormatLineSpacing extends React.Component<IconBaseProps> { } +export = MdFormatLineSpacing; diff --git a/types/react-icons/lib/md/format-list-bulleted.d.ts b/types/react-icons/lib/md/format-list-bulleted.d.ts index 6813d2e4a4..f658fcb4d3 100644 --- a/types/react-icons/lib/md/format-list-bulleted.d.ts +++ b/types/react-icons/lib/md/format-list-bulleted.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatListBulleted extends React.Component<IconBaseProps> { } +declare class MdFormatListBulleted extends React.Component<IconBaseProps> { } +export = MdFormatListBulleted; diff --git a/types/react-icons/lib/md/format-list-numbered.d.ts b/types/react-icons/lib/md/format-list-numbered.d.ts index 8c241c413f..3117ab5d31 100644 --- a/types/react-icons/lib/md/format-list-numbered.d.ts +++ b/types/react-icons/lib/md/format-list-numbered.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatListNumbered extends React.Component<IconBaseProps> { } +declare class MdFormatListNumbered extends React.Component<IconBaseProps> { } +export = MdFormatListNumbered; diff --git a/types/react-icons/lib/md/format-paint.d.ts b/types/react-icons/lib/md/format-paint.d.ts index ebbc520c32..19111de135 100644 --- a/types/react-icons/lib/md/format-paint.d.ts +++ b/types/react-icons/lib/md/format-paint.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatPaint extends React.Component<IconBaseProps> { } +declare class MdFormatPaint extends React.Component<IconBaseProps> { } +export = MdFormatPaint; diff --git a/types/react-icons/lib/md/format-quote.d.ts b/types/react-icons/lib/md/format-quote.d.ts index bd1037ab81..921ac98059 100644 --- a/types/react-icons/lib/md/format-quote.d.ts +++ b/types/react-icons/lib/md/format-quote.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatQuote extends React.Component<IconBaseProps> { } +declare class MdFormatQuote extends React.Component<IconBaseProps> { } +export = MdFormatQuote; diff --git a/types/react-icons/lib/md/format-shapes.d.ts b/types/react-icons/lib/md/format-shapes.d.ts index c40f7411dd..6b60899f89 100644 --- a/types/react-icons/lib/md/format-shapes.d.ts +++ b/types/react-icons/lib/md/format-shapes.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatShapes extends React.Component<IconBaseProps> { } +declare class MdFormatShapes extends React.Component<IconBaseProps> { } +export = MdFormatShapes; diff --git a/types/react-icons/lib/md/format-size.d.ts b/types/react-icons/lib/md/format-size.d.ts index 2a9e345a3e..05c91f8cde 100644 --- a/types/react-icons/lib/md/format-size.d.ts +++ b/types/react-icons/lib/md/format-size.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatSize extends React.Component<IconBaseProps> { } +declare class MdFormatSize extends React.Component<IconBaseProps> { } +export = MdFormatSize; diff --git a/types/react-icons/lib/md/format-strikethrough.d.ts b/types/react-icons/lib/md/format-strikethrough.d.ts index fe36f12771..6253769c69 100644 --- a/types/react-icons/lib/md/format-strikethrough.d.ts +++ b/types/react-icons/lib/md/format-strikethrough.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatStrikethrough extends React.Component<IconBaseProps> { } +declare class MdFormatStrikethrough extends React.Component<IconBaseProps> { } +export = MdFormatStrikethrough; diff --git a/types/react-icons/lib/md/format-textdirection-l-to-r.d.ts b/types/react-icons/lib/md/format-textdirection-l-to-r.d.ts index 71b083148c..6f33ceb20b 100644 --- a/types/react-icons/lib/md/format-textdirection-l-to-r.d.ts +++ b/types/react-icons/lib/md/format-textdirection-l-to-r.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatTextdirectionLToR extends React.Component<IconBaseProps> { } +declare class MdFormatTextdirectionLToR extends React.Component<IconBaseProps> { } +export = MdFormatTextdirectionLToR; diff --git a/types/react-icons/lib/md/format-textdirection-r-to-l.d.ts b/types/react-icons/lib/md/format-textdirection-r-to-l.d.ts index 58086109e0..2c8c4372f1 100644 --- a/types/react-icons/lib/md/format-textdirection-r-to-l.d.ts +++ b/types/react-icons/lib/md/format-textdirection-r-to-l.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatTextdirectionRToL extends React.Component<IconBaseProps> { } +declare class MdFormatTextdirectionRToL extends React.Component<IconBaseProps> { } +export = MdFormatTextdirectionRToL; diff --git a/types/react-icons/lib/md/format-underlined.d.ts b/types/react-icons/lib/md/format-underlined.d.ts index 126df5e540..c721474493 100644 --- a/types/react-icons/lib/md/format-underlined.d.ts +++ b/types/react-icons/lib/md/format-underlined.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFormatUnderlined extends React.Component<IconBaseProps> { } +declare class MdFormatUnderlined extends React.Component<IconBaseProps> { } +export = MdFormatUnderlined; diff --git a/types/react-icons/lib/md/forum.d.ts b/types/react-icons/lib/md/forum.d.ts index b7bdc2c096..16570dcd85 100644 --- a/types/react-icons/lib/md/forum.d.ts +++ b/types/react-icons/lib/md/forum.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdForum extends React.Component<IconBaseProps> { } +declare class MdForum extends React.Component<IconBaseProps> { } +export = MdForum; diff --git a/types/react-icons/lib/md/forward-10.d.ts b/types/react-icons/lib/md/forward-10.d.ts index 295d4e89f1..97dba92f08 100644 --- a/types/react-icons/lib/md/forward-10.d.ts +++ b/types/react-icons/lib/md/forward-10.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdForward10 extends React.Component<IconBaseProps> { } +declare class MdForward10 extends React.Component<IconBaseProps> { } +export = MdForward10; diff --git a/types/react-icons/lib/md/forward-30.d.ts b/types/react-icons/lib/md/forward-30.d.ts index 060517c358..b23eddab5e 100644 --- a/types/react-icons/lib/md/forward-30.d.ts +++ b/types/react-icons/lib/md/forward-30.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdForward30 extends React.Component<IconBaseProps> { } +declare class MdForward30 extends React.Component<IconBaseProps> { } +export = MdForward30; diff --git a/types/react-icons/lib/md/forward-5.d.ts b/types/react-icons/lib/md/forward-5.d.ts index bab1bcea70..79b4fbd1a3 100644 --- a/types/react-icons/lib/md/forward-5.d.ts +++ b/types/react-icons/lib/md/forward-5.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdForward5 extends React.Component<IconBaseProps> { } +declare class MdForward5 extends React.Component<IconBaseProps> { } +export = MdForward5; diff --git a/types/react-icons/lib/md/forward.d.ts b/types/react-icons/lib/md/forward.d.ts index 5a3c89125d..caa23aeb8c 100644 --- a/types/react-icons/lib/md/forward.d.ts +++ b/types/react-icons/lib/md/forward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdForward extends React.Component<IconBaseProps> { } +declare class MdForward extends React.Component<IconBaseProps> { } +export = MdForward; diff --git a/types/react-icons/lib/md/free-breakfast.d.ts b/types/react-icons/lib/md/free-breakfast.d.ts index 362b7036e4..ee43389bf5 100644 --- a/types/react-icons/lib/md/free-breakfast.d.ts +++ b/types/react-icons/lib/md/free-breakfast.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFreeBreakfast extends React.Component<IconBaseProps> { } +declare class MdFreeBreakfast extends React.Component<IconBaseProps> { } +export = MdFreeBreakfast; diff --git a/types/react-icons/lib/md/fullscreen-exit.d.ts b/types/react-icons/lib/md/fullscreen-exit.d.ts index 0a1e720dc6..92bb42ec08 100644 --- a/types/react-icons/lib/md/fullscreen-exit.d.ts +++ b/types/react-icons/lib/md/fullscreen-exit.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFullscreenExit extends React.Component<IconBaseProps> { } +declare class MdFullscreenExit extends React.Component<IconBaseProps> { } +export = MdFullscreenExit; diff --git a/types/react-icons/lib/md/fullscreen.d.ts b/types/react-icons/lib/md/fullscreen.d.ts index a31a4e460b..cf8c2bb4d3 100644 --- a/types/react-icons/lib/md/fullscreen.d.ts +++ b/types/react-icons/lib/md/fullscreen.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFullscreen extends React.Component<IconBaseProps> { } +declare class MdFullscreen extends React.Component<IconBaseProps> { } +export = MdFullscreen; diff --git a/types/react-icons/lib/md/functions.d.ts b/types/react-icons/lib/md/functions.d.ts index c6b5e4e36f..1c966bb2c8 100644 --- a/types/react-icons/lib/md/functions.d.ts +++ b/types/react-icons/lib/md/functions.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdFunctions extends React.Component<IconBaseProps> { } +declare class MdFunctions extends React.Component<IconBaseProps> { } +export = MdFunctions; diff --git a/types/react-icons/lib/md/g-translate.d.ts b/types/react-icons/lib/md/g-translate.d.ts index 46b09234a0..f64d1592ba 100644 --- a/types/react-icons/lib/md/g-translate.d.ts +++ b/types/react-icons/lib/md/g-translate.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGTranslate extends React.Component<IconBaseProps> { } +declare class MdGTranslate extends React.Component<IconBaseProps> { } +export = MdGTranslate; diff --git a/types/react-icons/lib/md/gamepad.d.ts b/types/react-icons/lib/md/gamepad.d.ts index 8596cbd26d..f568ac2428 100644 --- a/types/react-icons/lib/md/gamepad.d.ts +++ b/types/react-icons/lib/md/gamepad.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGamepad extends React.Component<IconBaseProps> { } +declare class MdGamepad extends React.Component<IconBaseProps> { } +export = MdGamepad; diff --git a/types/react-icons/lib/md/games.d.ts b/types/react-icons/lib/md/games.d.ts index 3a64f429b9..207af92742 100644 --- a/types/react-icons/lib/md/games.d.ts +++ b/types/react-icons/lib/md/games.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGames extends React.Component<IconBaseProps> { } +declare class MdGames extends React.Component<IconBaseProps> { } +export = MdGames; diff --git a/types/react-icons/lib/md/gavel.d.ts b/types/react-icons/lib/md/gavel.d.ts index 55fd1390e9..fe9199cd4c 100644 --- a/types/react-icons/lib/md/gavel.d.ts +++ b/types/react-icons/lib/md/gavel.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGavel extends React.Component<IconBaseProps> { } +declare class MdGavel extends React.Component<IconBaseProps> { } +export = MdGavel; diff --git a/types/react-icons/lib/md/gesture.d.ts b/types/react-icons/lib/md/gesture.d.ts index a382f009b4..9457643edc 100644 --- a/types/react-icons/lib/md/gesture.d.ts +++ b/types/react-icons/lib/md/gesture.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGesture extends React.Component<IconBaseProps> { } +declare class MdGesture extends React.Component<IconBaseProps> { } +export = MdGesture; diff --git a/types/react-icons/lib/md/get-app.d.ts b/types/react-icons/lib/md/get-app.d.ts index 9fe4a2a003..7695a14938 100644 --- a/types/react-icons/lib/md/get-app.d.ts +++ b/types/react-icons/lib/md/get-app.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGetApp extends React.Component<IconBaseProps> { } +declare class MdGetApp extends React.Component<IconBaseProps> { } +export = MdGetApp; diff --git a/types/react-icons/lib/md/gif.d.ts b/types/react-icons/lib/md/gif.d.ts index 60d7666674..3c5642675a 100644 --- a/types/react-icons/lib/md/gif.d.ts +++ b/types/react-icons/lib/md/gif.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGif extends React.Component<IconBaseProps> { } +declare class MdGif extends React.Component<IconBaseProps> { } +export = MdGif; diff --git a/types/react-icons/lib/md/goat.d.ts b/types/react-icons/lib/md/goat.d.ts index 43610ba2e6..bc65467fa7 100644 --- a/types/react-icons/lib/md/goat.d.ts +++ b/types/react-icons/lib/md/goat.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGoat extends React.Component<IconBaseProps> { } +declare class MdGoat extends React.Component<IconBaseProps> { } +export = MdGoat; diff --git a/types/react-icons/lib/md/golf-course.d.ts b/types/react-icons/lib/md/golf-course.d.ts index 301ee1b707..ae70d0da1f 100644 --- a/types/react-icons/lib/md/golf-course.d.ts +++ b/types/react-icons/lib/md/golf-course.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGolfCourse extends React.Component<IconBaseProps> { } +declare class MdGolfCourse extends React.Component<IconBaseProps> { } +export = MdGolfCourse; diff --git a/types/react-icons/lib/md/gps-fixed.d.ts b/types/react-icons/lib/md/gps-fixed.d.ts index 12443403df..bb5e80d727 100644 --- a/types/react-icons/lib/md/gps-fixed.d.ts +++ b/types/react-icons/lib/md/gps-fixed.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGpsFixed extends React.Component<IconBaseProps> { } +declare class MdGpsFixed extends React.Component<IconBaseProps> { } +export = MdGpsFixed; diff --git a/types/react-icons/lib/md/gps-not-fixed.d.ts b/types/react-icons/lib/md/gps-not-fixed.d.ts index 8af1c95e23..2818183742 100644 --- a/types/react-icons/lib/md/gps-not-fixed.d.ts +++ b/types/react-icons/lib/md/gps-not-fixed.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGpsNotFixed extends React.Component<IconBaseProps> { } +declare class MdGpsNotFixed extends React.Component<IconBaseProps> { } +export = MdGpsNotFixed; diff --git a/types/react-icons/lib/md/gps-off.d.ts b/types/react-icons/lib/md/gps-off.d.ts index c02322b7a4..b6ed83e20a 100644 --- a/types/react-icons/lib/md/gps-off.d.ts +++ b/types/react-icons/lib/md/gps-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGpsOff extends React.Component<IconBaseProps> { } +declare class MdGpsOff extends React.Component<IconBaseProps> { } +export = MdGpsOff; diff --git a/types/react-icons/lib/md/grade.d.ts b/types/react-icons/lib/md/grade.d.ts index cebbc96aa6..6a15e0b7b3 100644 --- a/types/react-icons/lib/md/grade.d.ts +++ b/types/react-icons/lib/md/grade.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGrade extends React.Component<IconBaseProps> { } +declare class MdGrade extends React.Component<IconBaseProps> { } +export = MdGrade; diff --git a/types/react-icons/lib/md/gradient.d.ts b/types/react-icons/lib/md/gradient.d.ts index 32e62169a4..b83474defd 100644 --- a/types/react-icons/lib/md/gradient.d.ts +++ b/types/react-icons/lib/md/gradient.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGradient extends React.Component<IconBaseProps> { } +declare class MdGradient extends React.Component<IconBaseProps> { } +export = MdGradient; diff --git a/types/react-icons/lib/md/grain.d.ts b/types/react-icons/lib/md/grain.d.ts index 79a8b9a14d..77edc78659 100644 --- a/types/react-icons/lib/md/grain.d.ts +++ b/types/react-icons/lib/md/grain.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGrain extends React.Component<IconBaseProps> { } +declare class MdGrain extends React.Component<IconBaseProps> { } +export = MdGrain; diff --git a/types/react-icons/lib/md/graphic-eq.d.ts b/types/react-icons/lib/md/graphic-eq.d.ts index 7f59fa3728..29d4259b98 100644 --- a/types/react-icons/lib/md/graphic-eq.d.ts +++ b/types/react-icons/lib/md/graphic-eq.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGraphicEq extends React.Component<IconBaseProps> { } +declare class MdGraphicEq extends React.Component<IconBaseProps> { } +export = MdGraphicEq; diff --git a/types/react-icons/lib/md/grid-off.d.ts b/types/react-icons/lib/md/grid-off.d.ts index 8b5cf60336..9e9a2ff95e 100644 --- a/types/react-icons/lib/md/grid-off.d.ts +++ b/types/react-icons/lib/md/grid-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGridOff extends React.Component<IconBaseProps> { } +declare class MdGridOff extends React.Component<IconBaseProps> { } +export = MdGridOff; diff --git a/types/react-icons/lib/md/grid-on.d.ts b/types/react-icons/lib/md/grid-on.d.ts index 4978f9912e..a96a53f50d 100644 --- a/types/react-icons/lib/md/grid-on.d.ts +++ b/types/react-icons/lib/md/grid-on.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGridOn extends React.Component<IconBaseProps> { } +declare class MdGridOn extends React.Component<IconBaseProps> { } +export = MdGridOn; diff --git a/types/react-icons/lib/md/group-add.d.ts b/types/react-icons/lib/md/group-add.d.ts index bacc3ed6cf..f463e09def 100644 --- a/types/react-icons/lib/md/group-add.d.ts +++ b/types/react-icons/lib/md/group-add.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGroupAdd extends React.Component<IconBaseProps> { } +declare class MdGroupAdd extends React.Component<IconBaseProps> { } +export = MdGroupAdd; diff --git a/types/react-icons/lib/md/group-work.d.ts b/types/react-icons/lib/md/group-work.d.ts index 997b1738f2..13b822ce96 100644 --- a/types/react-icons/lib/md/group-work.d.ts +++ b/types/react-icons/lib/md/group-work.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGroupWork extends React.Component<IconBaseProps> { } +declare class MdGroupWork extends React.Component<IconBaseProps> { } +export = MdGroupWork; diff --git a/types/react-icons/lib/md/group.d.ts b/types/react-icons/lib/md/group.d.ts index af48b3dd81..b382d9d7f1 100644 --- a/types/react-icons/lib/md/group.d.ts +++ b/types/react-icons/lib/md/group.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdGroup extends React.Component<IconBaseProps> { } +declare class MdGroup extends React.Component<IconBaseProps> { } +export = MdGroup; diff --git a/types/react-icons/lib/md/hd.d.ts b/types/react-icons/lib/md/hd.d.ts index 1698da3a4d..bcc5b9fa09 100644 --- a/types/react-icons/lib/md/hd.d.ts +++ b/types/react-icons/lib/md/hd.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHd extends React.Component<IconBaseProps> { } +declare class MdHd extends React.Component<IconBaseProps> { } +export = MdHd; diff --git a/types/react-icons/lib/md/hdr-off.d.ts b/types/react-icons/lib/md/hdr-off.d.ts index 4a343d8a9b..f9376a4371 100644 --- a/types/react-icons/lib/md/hdr-off.d.ts +++ b/types/react-icons/lib/md/hdr-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHdrOff extends React.Component<IconBaseProps> { } +declare class MdHdrOff extends React.Component<IconBaseProps> { } +export = MdHdrOff; diff --git a/types/react-icons/lib/md/hdr-on.d.ts b/types/react-icons/lib/md/hdr-on.d.ts index 129aa05032..20004d19ee 100644 --- a/types/react-icons/lib/md/hdr-on.d.ts +++ b/types/react-icons/lib/md/hdr-on.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHdrOn extends React.Component<IconBaseProps> { } +declare class MdHdrOn extends React.Component<IconBaseProps> { } +export = MdHdrOn; diff --git a/types/react-icons/lib/md/hdr-strong.d.ts b/types/react-icons/lib/md/hdr-strong.d.ts index f1eb6a8c80..a57a064665 100644 --- a/types/react-icons/lib/md/hdr-strong.d.ts +++ b/types/react-icons/lib/md/hdr-strong.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHdrStrong extends React.Component<IconBaseProps> { } +declare class MdHdrStrong extends React.Component<IconBaseProps> { } +export = MdHdrStrong; diff --git a/types/react-icons/lib/md/hdr-weak.d.ts b/types/react-icons/lib/md/hdr-weak.d.ts index 43be31c24d..82694c3075 100644 --- a/types/react-icons/lib/md/hdr-weak.d.ts +++ b/types/react-icons/lib/md/hdr-weak.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHdrWeak extends React.Component<IconBaseProps> { } +declare class MdHdrWeak extends React.Component<IconBaseProps> { } +export = MdHdrWeak; diff --git a/types/react-icons/lib/md/headset-mic.d.ts b/types/react-icons/lib/md/headset-mic.d.ts index 83c8c0547e..e168e766a8 100644 --- a/types/react-icons/lib/md/headset-mic.d.ts +++ b/types/react-icons/lib/md/headset-mic.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHeadsetMic extends React.Component<IconBaseProps> { } +declare class MdHeadsetMic extends React.Component<IconBaseProps> { } +export = MdHeadsetMic; diff --git a/types/react-icons/lib/md/headset.d.ts b/types/react-icons/lib/md/headset.d.ts index 988ed4b38d..a0342ce8b0 100644 --- a/types/react-icons/lib/md/headset.d.ts +++ b/types/react-icons/lib/md/headset.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHeadset extends React.Component<IconBaseProps> { } +declare class MdHeadset extends React.Component<IconBaseProps> { } +export = MdHeadset; diff --git a/types/react-icons/lib/md/healing.d.ts b/types/react-icons/lib/md/healing.d.ts index fc914063c2..a8c5255d6b 100644 --- a/types/react-icons/lib/md/healing.d.ts +++ b/types/react-icons/lib/md/healing.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHealing extends React.Component<IconBaseProps> { } +declare class MdHealing extends React.Component<IconBaseProps> { } +export = MdHealing; diff --git a/types/react-icons/lib/md/hearing.d.ts b/types/react-icons/lib/md/hearing.d.ts index 134c7f1863..d2c41b7011 100644 --- a/types/react-icons/lib/md/hearing.d.ts +++ b/types/react-icons/lib/md/hearing.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHearing extends React.Component<IconBaseProps> { } +declare class MdHearing extends React.Component<IconBaseProps> { } +export = MdHearing; diff --git a/types/react-icons/lib/md/help-outline.d.ts b/types/react-icons/lib/md/help-outline.d.ts index 2734400cb9..1a3ffc41f4 100644 --- a/types/react-icons/lib/md/help-outline.d.ts +++ b/types/react-icons/lib/md/help-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHelpOutline extends React.Component<IconBaseProps> { } +declare class MdHelpOutline extends React.Component<IconBaseProps> { } +export = MdHelpOutline; diff --git a/types/react-icons/lib/md/help.d.ts b/types/react-icons/lib/md/help.d.ts index cce20cffd6..8aa5586697 100644 --- a/types/react-icons/lib/md/help.d.ts +++ b/types/react-icons/lib/md/help.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHelp extends React.Component<IconBaseProps> { } +declare class MdHelp extends React.Component<IconBaseProps> { } +export = MdHelp; diff --git a/types/react-icons/lib/md/high-quality.d.ts b/types/react-icons/lib/md/high-quality.d.ts index 5676b35cbd..abf338bc2d 100644 --- a/types/react-icons/lib/md/high-quality.d.ts +++ b/types/react-icons/lib/md/high-quality.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHighQuality extends React.Component<IconBaseProps> { } +declare class MdHighQuality extends React.Component<IconBaseProps> { } +export = MdHighQuality; diff --git a/types/react-icons/lib/md/highlight-off.d.ts b/types/react-icons/lib/md/highlight-off.d.ts index f188f1f9bd..5876802841 100644 --- a/types/react-icons/lib/md/highlight-off.d.ts +++ b/types/react-icons/lib/md/highlight-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHighlightOff extends React.Component<IconBaseProps> { } +declare class MdHighlightOff extends React.Component<IconBaseProps> { } +export = MdHighlightOff; diff --git a/types/react-icons/lib/md/highlight-remove.d.ts b/types/react-icons/lib/md/highlight-remove.d.ts index 7a28a3b5ae..893ac99c5f 100644 --- a/types/react-icons/lib/md/highlight-remove.d.ts +++ b/types/react-icons/lib/md/highlight-remove.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHighlightRemove extends React.Component<IconBaseProps> { } +declare class MdHighlightRemove extends React.Component<IconBaseProps> { } +export = MdHighlightRemove; diff --git a/types/react-icons/lib/md/highlight.d.ts b/types/react-icons/lib/md/highlight.d.ts index 0730ad41da..4930407946 100644 --- a/types/react-icons/lib/md/highlight.d.ts +++ b/types/react-icons/lib/md/highlight.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHighlight extends React.Component<IconBaseProps> { } +declare class MdHighlight extends React.Component<IconBaseProps> { } +export = MdHighlight; diff --git a/types/react-icons/lib/md/history.d.ts b/types/react-icons/lib/md/history.d.ts index d97bca17d4..7f2609892d 100644 --- a/types/react-icons/lib/md/history.d.ts +++ b/types/react-icons/lib/md/history.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHistory extends React.Component<IconBaseProps> { } +declare class MdHistory extends React.Component<IconBaseProps> { } +export = MdHistory; diff --git a/types/react-icons/lib/md/home.d.ts b/types/react-icons/lib/md/home.d.ts index 6defd6933f..137d98d6c1 100644 --- a/types/react-icons/lib/md/home.d.ts +++ b/types/react-icons/lib/md/home.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHome extends React.Component<IconBaseProps> { } +declare class MdHome extends React.Component<IconBaseProps> { } +export = MdHome; diff --git a/types/react-icons/lib/md/hot-tub.d.ts b/types/react-icons/lib/md/hot-tub.d.ts index 89cf2e0591..84abc90459 100644 --- a/types/react-icons/lib/md/hot-tub.d.ts +++ b/types/react-icons/lib/md/hot-tub.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHotTub extends React.Component<IconBaseProps> { } +declare class MdHotTub extends React.Component<IconBaseProps> { } +export = MdHotTub; diff --git a/types/react-icons/lib/md/hotel.d.ts b/types/react-icons/lib/md/hotel.d.ts index 198fb2b211..86643009a3 100644 --- a/types/react-icons/lib/md/hotel.d.ts +++ b/types/react-icons/lib/md/hotel.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHotel extends React.Component<IconBaseProps> { } +declare class MdHotel extends React.Component<IconBaseProps> { } +export = MdHotel; diff --git a/types/react-icons/lib/md/hourglass-empty.d.ts b/types/react-icons/lib/md/hourglass-empty.d.ts index a7e4e25915..3598c1045c 100644 --- a/types/react-icons/lib/md/hourglass-empty.d.ts +++ b/types/react-icons/lib/md/hourglass-empty.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHourglassEmpty extends React.Component<IconBaseProps> { } +declare class MdHourglassEmpty extends React.Component<IconBaseProps> { } +export = MdHourglassEmpty; diff --git a/types/react-icons/lib/md/hourglass-full.d.ts b/types/react-icons/lib/md/hourglass-full.d.ts index 2a3e1507a3..316d99a7d9 100644 --- a/types/react-icons/lib/md/hourglass-full.d.ts +++ b/types/react-icons/lib/md/hourglass-full.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHourglassFull extends React.Component<IconBaseProps> { } +declare class MdHourglassFull extends React.Component<IconBaseProps> { } +export = MdHourglassFull; diff --git a/types/react-icons/lib/md/http.d.ts b/types/react-icons/lib/md/http.d.ts index def5a14ec5..0bb5db017a 100644 --- a/types/react-icons/lib/md/http.d.ts +++ b/types/react-icons/lib/md/http.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHttp extends React.Component<IconBaseProps> { } +declare class MdHttp extends React.Component<IconBaseProps> { } +export = MdHttp; diff --git a/types/react-icons/lib/md/https.d.ts b/types/react-icons/lib/md/https.d.ts index 991ad252b9..b696b59968 100644 --- a/types/react-icons/lib/md/https.d.ts +++ b/types/react-icons/lib/md/https.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdHttps extends React.Component<IconBaseProps> { } +declare class MdHttps extends React.Component<IconBaseProps> { } +export = MdHttps; diff --git a/types/react-icons/lib/md/image-aspect-ratio.d.ts b/types/react-icons/lib/md/image-aspect-ratio.d.ts index 2cff8927ea..67cc6951bd 100644 --- a/types/react-icons/lib/md/image-aspect-ratio.d.ts +++ b/types/react-icons/lib/md/image-aspect-ratio.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdImageAspectRatio extends React.Component<IconBaseProps> { } +declare class MdImageAspectRatio extends React.Component<IconBaseProps> { } +export = MdImageAspectRatio; diff --git a/types/react-icons/lib/md/image.d.ts b/types/react-icons/lib/md/image.d.ts index f4246f01ed..3fe545db51 100644 --- a/types/react-icons/lib/md/image.d.ts +++ b/types/react-icons/lib/md/image.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdImage extends React.Component<IconBaseProps> { } +declare class MdImage extends React.Component<IconBaseProps> { } +export = MdImage; diff --git a/types/react-icons/lib/md/import-contacts.d.ts b/types/react-icons/lib/md/import-contacts.d.ts index 4012627098..790267421e 100644 --- a/types/react-icons/lib/md/import-contacts.d.ts +++ b/types/react-icons/lib/md/import-contacts.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdImportContacts extends React.Component<IconBaseProps> { } +declare class MdImportContacts extends React.Component<IconBaseProps> { } +export = MdImportContacts; diff --git a/types/react-icons/lib/md/import-export.d.ts b/types/react-icons/lib/md/import-export.d.ts index 9c66e17352..c15ca8f709 100644 --- a/types/react-icons/lib/md/import-export.d.ts +++ b/types/react-icons/lib/md/import-export.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdImportExport extends React.Component<IconBaseProps> { } +declare class MdImportExport extends React.Component<IconBaseProps> { } +export = MdImportExport; diff --git a/types/react-icons/lib/md/important-devices.d.ts b/types/react-icons/lib/md/important-devices.d.ts index 8795301e43..b5ff654e98 100644 --- a/types/react-icons/lib/md/important-devices.d.ts +++ b/types/react-icons/lib/md/important-devices.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdImportantDevices extends React.Component<IconBaseProps> { } +declare class MdImportantDevices extends React.Component<IconBaseProps> { } +export = MdImportantDevices; diff --git a/types/react-icons/lib/md/inbox.d.ts b/types/react-icons/lib/md/inbox.d.ts index 13d401760f..bd4f22bc83 100644 --- a/types/react-icons/lib/md/inbox.d.ts +++ b/types/react-icons/lib/md/inbox.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdInbox extends React.Component<IconBaseProps> { } +declare class MdInbox extends React.Component<IconBaseProps> { } +export = MdInbox; diff --git a/types/react-icons/lib/md/indeterminate-check-box.d.ts b/types/react-icons/lib/md/indeterminate-check-box.d.ts index 01b0c58730..bb3fd56252 100644 --- a/types/react-icons/lib/md/indeterminate-check-box.d.ts +++ b/types/react-icons/lib/md/indeterminate-check-box.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdIndeterminateCheckBox extends React.Component<IconBaseProps> { } +declare class MdIndeterminateCheckBox extends React.Component<IconBaseProps> { } +export = MdIndeterminateCheckBox; diff --git a/types/react-icons/lib/md/index.d.ts b/types/react-icons/lib/md/index.d.ts index a3e2e3e929..f850df8f58 100644 --- a/types/react-icons/lib/md/index.d.ts +++ b/types/react-icons/lib/md/index.d.ts @@ -1,946 +1,946 @@ -export { default as Md3dRotation } from "./3d-rotation"; -export { default as MdAcUnit } from "./ac-unit"; -export { default as MdAccessAlarm } from "./access-alarm"; -export { default as MdAccessAlarms } from "./access-alarms"; -export { default as MdAccessTime } from "./access-time"; -export { default as MdAccessibility } from "./accessibility"; -export { default as MdAccessible } from "./accessible"; -export { default as MdAccountBalanceWallet } from "./account-balance-wallet"; -export { default as MdAccountBalance } from "./account-balance"; -export { default as MdAccountBox } from "./account-box"; -export { default as MdAccountCircle } from "./account-circle"; -export { default as MdAdb } from "./adb"; -export { default as MdAddAPhoto } from "./add-a-photo"; -export { default as MdAddAlarm } from "./add-alarm"; -export { default as MdAddAlert } from "./add-alert"; -export { default as MdAddBox } from "./add-box"; -export { default as MdAddCircleOutline } from "./add-circle-outline"; -export { default as MdAddCircle } from "./add-circle"; -export { default as MdAddLocation } from "./add-location"; -export { default as MdAddShoppingCart } from "./add-shopping-cart"; -export { default as MdAddToPhotos } from "./add-to-photos"; -export { default as MdAddToQueue } from "./add-to-queue"; -export { default as MdAdd } from "./add"; -export { default as MdAdjust } from "./adjust"; -export { default as MdAirlineSeatFlatAngled } from "./airline-seat-flat-angled"; -export { default as MdAirlineSeatFlat } from "./airline-seat-flat"; -export { default as MdAirlineSeatIndividualSuite } from "./airline-seat-individual-suite"; -export { default as MdAirlineSeatLegroomExtra } from "./airline-seat-legroom-extra"; -export { default as MdAirlineSeatLegroomNormal } from "./airline-seat-legroom-normal"; -export { default as MdAirlineSeatLegroomReduced } from "./airline-seat-legroom-reduced"; -export { default as MdAirlineSeatReclineExtra } from "./airline-seat-recline-extra"; -export { default as MdAirlineSeatReclineNormal } from "./airline-seat-recline-normal"; -export { default as MdAirplanemodeActive } from "./airplanemode-active"; -export { default as MdAirplanemodeInactive } from "./airplanemode-inactive"; -export { default as MdAirplay } from "./airplay"; -export { default as MdAirportShuttle } from "./airport-shuttle"; -export { default as MdAlarmAdd } from "./alarm-add"; -export { default as MdAlarmOff } from "./alarm-off"; -export { default as MdAlarmOn } from "./alarm-on"; -export { default as MdAlarm } from "./alarm"; -export { default as MdAlbum } from "./album"; -export { default as MdAllInclusive } from "./all-inclusive"; -export { default as MdAllOut } from "./all-out"; -export { default as MdAndroid } from "./android"; -export { default as MdAnnouncement } from "./announcement"; -export { default as MdApps } from "./apps"; -export { default as MdArchive } from "./archive"; -export { default as MdArrowBack } from "./arrow-back"; -export { default as MdArrowDownward } from "./arrow-downward"; -export { default as MdArrowDropDownCircle } from "./arrow-drop-down-circle"; -export { default as MdArrowDropDown } from "./arrow-drop-down"; -export { default as MdArrowDropUp } from "./arrow-drop-up"; -export { default as MdArrowForward } from "./arrow-forward"; -export { default as MdArrowUpward } from "./arrow-upward"; -export { default as MdArtTrack } from "./art-track"; -export { default as MdAspectRatio } from "./aspect-ratio"; -export { default as MdAssessment } from "./assessment"; -export { default as MdAssignmentInd } from "./assignment-ind"; -export { default as MdAssignmentLate } from "./assignment-late"; -export { default as MdAssignmentReturn } from "./assignment-return"; -export { default as MdAssignmentReturned } from "./assignment-returned"; -export { default as MdAssignmentTurnedIn } from "./assignment-turned-in"; -export { default as MdAssignment } from "./assignment"; -export { default as MdAssistantPhoto } from "./assistant-photo"; -export { default as MdAssistant } from "./assistant"; -export { default as MdAttachFile } from "./attach-file"; -export { default as MdAttachMoney } from "./attach-money"; -export { default as MdAttachment } from "./attachment"; -export { default as MdAudiotrack } from "./audiotrack"; -export { default as MdAutorenew } from "./autorenew"; -export { default as MdAvTimer } from "./av-timer"; -export { default as MdBackspace } from "./backspace"; -export { default as MdBackup } from "./backup"; -export { default as MdBatteryAlert } from "./battery-alert"; -export { default as MdBatteryChargingFull } from "./battery-charging-full"; -export { default as MdBatteryFull } from "./battery-full"; -export { default as MdBatteryStd } from "./battery-std"; -export { default as MdBatteryUnknown } from "./battery-unknown"; -export { default as MdBeachAccess } from "./beach-access"; -export { default as MdBeenhere } from "./beenhere"; -export { default as MdBlock } from "./block"; -export { default as MdBluetoothAudio } from "./bluetooth-audio"; -export { default as MdBluetoothConnected } from "./bluetooth-connected"; -export { default as MdBluetoothDisabled } from "./bluetooth-disabled"; -export { default as MdBluetoothSearching } from "./bluetooth-searching"; -export { default as MdBluetooth } from "./bluetooth"; -export { default as MdBlurCircular } from "./blur-circular"; -export { default as MdBlurLinear } from "./blur-linear"; -export { default as MdBlurOff } from "./blur-off"; -export { default as MdBlurOn } from "./blur-on"; -export { default as MdBook } from "./book"; -export { default as MdBookmarkOutline } from "./bookmark-outline"; -export { default as MdBookmark } from "./bookmark"; -export { default as MdBorderAll } from "./border-all"; -export { default as MdBorderBottom } from "./border-bottom"; -export { default as MdBorderClear } from "./border-clear"; -export { default as MdBorderColor } from "./border-color"; -export { default as MdBorderHorizontal } from "./border-horizontal"; -export { default as MdBorderInner } from "./border-inner"; -export { default as MdBorderLeft } from "./border-left"; -export { default as MdBorderOuter } from "./border-outer"; -export { default as MdBorderRight } from "./border-right"; -export { default as MdBorderStyle } from "./border-style"; -export { default as MdBorderTop } from "./border-top"; -export { default as MdBorderVertical } from "./border-vertical"; -export { default as MdBrandingWatermark } from "./branding-watermark"; -export { default as MdBrightness1 } from "./brightness-1"; -export { default as MdBrightness2 } from "./brightness-2"; -export { default as MdBrightness3 } from "./brightness-3"; -export { default as MdBrightness4 } from "./brightness-4"; -export { default as MdBrightness5 } from "./brightness-5"; -export { default as MdBrightness6 } from "./brightness-6"; -export { default as MdBrightness7 } from "./brightness-7"; -export { default as MdBrightnessAuto } from "./brightness-auto"; -export { default as MdBrightnessHigh } from "./brightness-high"; -export { default as MdBrightnessLow } from "./brightness-low"; -export { default as MdBrightnessMedium } from "./brightness-medium"; -export { default as MdBrokenImage } from "./broken-image"; -export { default as MdBrush } from "./brush"; -export { default as MdBubbleChart } from "./bubble-chart"; -export { default as MdBugReport } from "./bug-report"; -export { default as MdBuild } from "./build"; -export { default as MdBurstMode } from "./burst-mode"; -export { default as MdBusinessCenter } from "./business-center"; -export { default as MdBusiness } from "./business"; -export { default as MdCached } from "./cached"; -export { default as MdCake } from "./cake"; -export { default as MdCallEnd } from "./call-end"; -export { default as MdCallMade } from "./call-made"; -export { default as MdCallMerge } from "./call-merge"; -export { default as MdCallMissedOutgoing } from "./call-missed-outgoing"; -export { default as MdCallMissed } from "./call-missed"; -export { default as MdCallReceived } from "./call-received"; -export { default as MdCallSplit } from "./call-split"; -export { default as MdCallToAction } from "./call-to-action"; -export { default as MdCall } from "./call"; -export { default as MdCameraAlt } from "./camera-alt"; -export { default as MdCameraEnhance } from "./camera-enhance"; -export { default as MdCameraFront } from "./camera-front"; -export { default as MdCameraRear } from "./camera-rear"; -export { default as MdCameraRoll } from "./camera-roll"; -export { default as MdCamera } from "./camera"; -export { default as MdCancel } from "./cancel"; -export { default as MdCardGiftcard } from "./card-giftcard"; -export { default as MdCardMembership } from "./card-membership"; -export { default as MdCardTravel } from "./card-travel"; -export { default as MdCasino } from "./casino"; -export { default as MdCastConnected } from "./cast-connected"; -export { default as MdCast } from "./cast"; -export { default as MdCenterFocusStrong } from "./center-focus-strong"; -export { default as MdCenterFocusWeak } from "./center-focus-weak"; -export { default as MdChangeHistory } from "./change-history"; -export { default as MdChatBubbleOutline } from "./chat-bubble-outline"; -export { default as MdChatBubble } from "./chat-bubble"; -export { default as MdChat } from "./chat"; -export { default as MdCheckBoxOutlineBlank } from "./check-box-outline-blank"; -export { default as MdCheckBox } from "./check-box"; -export { default as MdCheckCircle } from "./check-circle"; -export { default as MdCheck } from "./check"; -export { default as MdChevronLeft } from "./chevron-left"; -export { default as MdChevronRight } from "./chevron-right"; -export { default as MdChildCare } from "./child-care"; -export { default as MdChildFriendly } from "./child-friendly"; -export { default as MdChromeReaderMode } from "./chrome-reader-mode"; -export { default as MdClass } from "./class"; -export { default as MdClearAll } from "./clear-all"; -export { default as MdClear } from "./clear"; -export { default as MdClose } from "./close"; -export { default as MdClosedCaption } from "./closed-caption"; -export { default as MdCloudCircle } from "./cloud-circle"; -export { default as MdCloudDone } from "./cloud-done"; -export { default as MdCloudDownload } from "./cloud-download"; -export { default as MdCloudOff } from "./cloud-off"; -export { default as MdCloudQueue } from "./cloud-queue"; -export { default as MdCloudUpload } from "./cloud-upload"; -export { default as MdCloud } from "./cloud"; -export { default as MdCode } from "./code"; -export { default as MdCollectionsBookmark } from "./collections-bookmark"; -export { default as MdCollections } from "./collections"; -export { default as MdColorLens } from "./color-lens"; -export { default as MdColorize } from "./colorize"; -export { default as MdComment } from "./comment"; -export { default as MdCompareArrows } from "./compare-arrows"; -export { default as MdCompare } from "./compare"; -export { default as MdComputer } from "./computer"; -export { default as MdConfirmationNumber } from "./confirmation-number"; -export { default as MdContactMail } from "./contact-mail"; -export { default as MdContactPhone } from "./contact-phone"; -export { default as MdContacts } from "./contacts"; -export { default as MdContentCopy } from "./content-copy"; -export { default as MdContentCut } from "./content-cut"; -export { default as MdContentPaste } from "./content-paste"; -export { default as MdControlPointDuplicate } from "./control-point-duplicate"; -export { default as MdControlPoint } from "./control-point"; -export { default as MdCopyright } from "./copyright"; -export { default as MdCreateNewFolder } from "./create-new-folder"; -export { default as MdCreate } from "./create"; -export { default as MdCreditCard } from "./credit-card"; -export { default as MdCrop169 } from "./crop-16-9"; -export { default as MdCrop32 } from "./crop-3-2"; -export { default as MdCrop54 } from "./crop-5-4"; -export { default as MdCrop75 } from "./crop-7-5"; -export { default as MdCropDin } from "./crop-din"; -export { default as MdCropFree } from "./crop-free"; -export { default as MdCropLandscape } from "./crop-landscape"; -export { default as MdCropOriginal } from "./crop-original"; -export { default as MdCropPortrait } from "./crop-portrait"; -export { default as MdCropRotate } from "./crop-rotate"; -export { default as MdCropSquare } from "./crop-square"; -export { default as MdCrop } from "./crop"; -export { default as MdDashboard } from "./dashboard"; -export { default as MdDataUsage } from "./data-usage"; -export { default as MdDateRange } from "./date-range"; -export { default as MdDehaze } from "./dehaze"; -export { default as MdDeleteForever } from "./delete-forever"; -export { default as MdDeleteSweep } from "./delete-sweep"; -export { default as MdDelete } from "./delete"; -export { default as MdDescription } from "./description"; -export { default as MdDesktopMac } from "./desktop-mac"; -export { default as MdDesktopWindows } from "./desktop-windows"; -export { default as MdDetails } from "./details"; -export { default as MdDeveloperBoard } from "./developer-board"; -export { default as MdDeveloperMode } from "./developer-mode"; -export { default as MdDeviceHub } from "./device-hub"; -export { default as MdDevicesOther } from "./devices-other"; -export { default as MdDevices } from "./devices"; -export { default as MdDialerSip } from "./dialer-sip"; -export { default as MdDialpad } from "./dialpad"; -export { default as MdDirectionsBike } from "./directions-bike"; -export { default as MdDirectionsBoat } from "./directions-boat"; -export { default as MdDirectionsBus } from "./directions-bus"; -export { default as MdDirectionsCar } from "./directions-car"; -export { default as MdDirectionsFerry } from "./directions-ferry"; -export { default as MdDirectionsRailway } from "./directions-railway"; -export { default as MdDirectionsRun } from "./directions-run"; -export { default as MdDirectionsSubway } from "./directions-subway"; -export { default as MdDirectionsTransit } from "./directions-transit"; -export { default as MdDirectionsWalk } from "./directions-walk"; -export { default as MdDirections } from "./directions"; -export { default as MdDiscFull } from "./disc-full"; -export { default as MdDns } from "./dns"; -export { default as MdDoNotDisturbAlt } from "./do-not-disturb-alt"; -export { default as MdDoNotDisturbOff } from "./do-not-disturb-off"; -export { default as MdDoNotDisturb } from "./do-not-disturb"; -export { default as MdDock } from "./dock"; -export { default as MdDomain } from "./domain"; -export { default as MdDoneAll } from "./done-all"; -export { default as MdDone } from "./done"; -export { default as MdDonutLarge } from "./donut-large"; -export { default as MdDonutSmall } from "./donut-small"; -export { default as MdDrafts } from "./drafts"; -export { default as MdDragHandle } from "./drag-handle"; -export { default as MdDriveEta } from "./drive-eta"; -export { default as MdDvr } from "./dvr"; -export { default as MdEditLocation } from "./edit-location"; -export { default as MdEdit } from "./edit"; -export { default as MdEject } from "./eject"; -export { default as MdEmail } from "./email"; -export { default as MdEnhancedEncryption } from "./enhanced-encryption"; -export { default as MdEqualizer } from "./equalizer"; -export { default as MdErrorOutline } from "./error-outline"; -export { default as MdError } from "./error"; -export { default as MdEuroSymbol } from "./euro-symbol"; -export { default as MdEvStation } from "./ev-station"; -export { default as MdEventAvailable } from "./event-available"; -export { default as MdEventBusy } from "./event-busy"; -export { default as MdEventNote } from "./event-note"; -export { default as MdEventSeat } from "./event-seat"; -export { default as MdEvent } from "./event"; -export { default as MdExitToApp } from "./exit-to-app"; -export { default as MdExpandLess } from "./expand-less"; -export { default as MdExpandMore } from "./expand-more"; -export { default as MdExplicit } from "./explicit"; -export { default as MdExplore } from "./explore"; -export { default as MdExposureMinus1 } from "./exposure-minus-1"; -export { default as MdExposureMinus2 } from "./exposure-minus-2"; -export { default as MdExposureNeg1 } from "./exposure-neg-1"; -export { default as MdExposureNeg2 } from "./exposure-neg-2"; -export { default as MdExposurePlus1 } from "./exposure-plus-1"; -export { default as MdExposurePlus2 } from "./exposure-plus-2"; -export { default as MdExposureZero } from "./exposure-zero"; -export { default as MdExposure } from "./exposure"; -export { default as MdExtension } from "./extension"; -export { default as MdFace } from "./face"; -export { default as MdFastForward } from "./fast-forward"; -export { default as MdFastRewind } from "./fast-rewind"; -export { default as MdFavoriteBorder } from "./favorite-border"; -export { default as MdFavoriteOutline } from "./favorite-outline"; -export { default as MdFavorite } from "./favorite"; -export { default as MdFeaturedPlayList } from "./featured-play-list"; -export { default as MdFeaturedVideo } from "./featured-video"; -export { default as MdFeedback } from "./feedback"; -export { default as MdFiberDvr } from "./fiber-dvr"; -export { default as MdFiberManualRecord } from "./fiber-manual-record"; -export { default as MdFiberNew } from "./fiber-new"; -export { default as MdFiberPin } from "./fiber-pin"; -export { default as MdFiberSmartRecord } from "./fiber-smart-record"; -export { default as MdFileDownload } from "./file-download"; -export { default as MdFileUpload } from "./file-upload"; -export { default as MdFilter1 } from "./filter-1"; -export { default as MdFilter2 } from "./filter-2"; -export { default as MdFilter3 } from "./filter-3"; -export { default as MdFilter4 } from "./filter-4"; -export { default as MdFilter5 } from "./filter-5"; -export { default as MdFilter6 } from "./filter-6"; -export { default as MdFilter7 } from "./filter-7"; -export { default as MdFilter8 } from "./filter-8"; -export { default as MdFilter9Plus } from "./filter-9-plus"; -export { default as MdFilter9 } from "./filter-9"; -export { default as MdFilterBAndW } from "./filter-b-and-w"; -export { default as MdFilterCenterFocus } from "./filter-center-focus"; -export { default as MdFilterDrama } from "./filter-drama"; -export { default as MdFilterFrames } from "./filter-frames"; -export { default as MdFilterHdr } from "./filter-hdr"; -export { default as MdFilterList } from "./filter-list"; -export { default as MdFilterNone } from "./filter-none"; -export { default as MdFilterTiltShift } from "./filter-tilt-shift"; -export { default as MdFilterVintage } from "./filter-vintage"; -export { default as MdFilter } from "./filter"; -export { default as MdFindInPage } from "./find-in-page"; -export { default as MdFindReplace } from "./find-replace"; -export { default as MdFingerprint } from "./fingerprint"; -export { default as MdFirstPage } from "./first-page"; -export { default as MdFitnessCenter } from "./fitness-center"; -export { default as MdFlag } from "./flag"; -export { default as MdFlare } from "./flare"; -export { default as MdFlashAuto } from "./flash-auto"; -export { default as MdFlashOff } from "./flash-off"; -export { default as MdFlashOn } from "./flash-on"; -export { default as MdFlightLand } from "./flight-land"; -export { default as MdFlightTakeoff } from "./flight-takeoff"; -export { default as MdFlight } from "./flight"; -export { default as MdFlipToBack } from "./flip-to-back"; -export { default as MdFlipToFront } from "./flip-to-front"; -export { default as MdFlip } from "./flip"; -export { default as MdFolderOpen } from "./folder-open"; -export { default as MdFolderShared } from "./folder-shared"; -export { default as MdFolderSpecial } from "./folder-special"; -export { default as MdFolder } from "./folder"; -export { default as MdFontDownload } from "./font-download"; -export { default as MdFormatAlignCenter } from "./format-align-center"; -export { default as MdFormatAlignJustify } from "./format-align-justify"; -export { default as MdFormatAlignLeft } from "./format-align-left"; -export { default as MdFormatAlignRight } from "./format-align-right"; -export { default as MdFormatBold } from "./format-bold"; -export { default as MdFormatClear } from "./format-clear"; -export { default as MdFormatColorFill } from "./format-color-fill"; -export { default as MdFormatColorReset } from "./format-color-reset"; -export { default as MdFormatColorText } from "./format-color-text"; -export { default as MdFormatIndentDecrease } from "./format-indent-decrease"; -export { default as MdFormatIndentIncrease } from "./format-indent-increase"; -export { default as MdFormatItalic } from "./format-italic"; -export { default as MdFormatLineSpacing } from "./format-line-spacing"; -export { default as MdFormatListBulleted } from "./format-list-bulleted"; -export { default as MdFormatListNumbered } from "./format-list-numbered"; -export { default as MdFormatPaint } from "./format-paint"; -export { default as MdFormatQuote } from "./format-quote"; -export { default as MdFormatShapes } from "./format-shapes"; -export { default as MdFormatSize } from "./format-size"; -export { default as MdFormatStrikethrough } from "./format-strikethrough"; -export { default as MdFormatTextdirectionLToR } from "./format-textdirection-l-to-r"; -export { default as MdFormatTextdirectionRToL } from "./format-textdirection-r-to-l"; -export { default as MdFormatUnderlined } from "./format-underlined"; -export { default as MdForum } from "./forum"; -export { default as MdForward10 } from "./forward-10"; -export { default as MdForward30 } from "./forward-30"; -export { default as MdForward5 } from "./forward-5"; -export { default as MdForward } from "./forward"; -export { default as MdFreeBreakfast } from "./free-breakfast"; -export { default as MdFullscreenExit } from "./fullscreen-exit"; -export { default as MdFullscreen } from "./fullscreen"; -export { default as MdFunctions } from "./functions"; -export { default as MdGTranslate } from "./g-translate"; -export { default as MdGamepad } from "./gamepad"; -export { default as MdGames } from "./games"; -export { default as MdGavel } from "./gavel"; -export { default as MdGesture } from "./gesture"; -export { default as MdGetApp } from "./get-app"; -export { default as MdGif } from "./gif"; -export { default as MdGoat } from "./goat"; -export { default as MdGolfCourse } from "./golf-course"; -export { default as MdGpsFixed } from "./gps-fixed"; -export { default as MdGpsNotFixed } from "./gps-not-fixed"; -export { default as MdGpsOff } from "./gps-off"; -export { default as MdGrade } from "./grade"; -export { default as MdGradient } from "./gradient"; -export { default as MdGrain } from "./grain"; -export { default as MdGraphicEq } from "./graphic-eq"; -export { default as MdGridOff } from "./grid-off"; -export { default as MdGridOn } from "./grid-on"; -export { default as MdGroupAdd } from "./group-add"; -export { default as MdGroupWork } from "./group-work"; -export { default as MdGroup } from "./group"; -export { default as MdHd } from "./hd"; -export { default as MdHdrOff } from "./hdr-off"; -export { default as MdHdrOn } from "./hdr-on"; -export { default as MdHdrStrong } from "./hdr-strong"; -export { default as MdHdrWeak } from "./hdr-weak"; -export { default as MdHeadsetMic } from "./headset-mic"; -export { default as MdHeadset } from "./headset"; -export { default as MdHealing } from "./healing"; -export { default as MdHearing } from "./hearing"; -export { default as MdHelpOutline } from "./help-outline"; -export { default as MdHelp } from "./help"; -export { default as MdHighQuality } from "./high-quality"; -export { default as MdHighlightOff } from "./highlight-off"; -export { default as MdHighlightRemove } from "./highlight-remove"; -export { default as MdHighlight } from "./highlight"; -export { default as MdHistory } from "./history"; -export { default as MdHome } from "./home"; -export { default as MdHotTub } from "./hot-tub"; -export { default as MdHotel } from "./hotel"; -export { default as MdHourglassEmpty } from "./hourglass-empty"; -export { default as MdHourglassFull } from "./hourglass-full"; -export { default as MdHttp } from "./http"; -export { default as MdHttps } from "./https"; -export { default as MdImageAspectRatio } from "./image-aspect-ratio"; -export { default as MdImage } from "./image"; -export { default as MdImportContacts } from "./import-contacts"; -export { default as MdImportExport } from "./import-export"; -export { default as MdImportantDevices } from "./important-devices"; -export { default as MdInbox } from "./inbox"; -export { default as MdIndeterminateCheckBox } from "./indeterminate-check-box"; -export { default as MdInfoOutline } from "./info-outline"; -export { default as MdInfo } from "./info"; -export { default as MdInput } from "./input"; -export { default as MdInsertChart } from "./insert-chart"; -export { default as MdInsertComment } from "./insert-comment"; -export { default as MdInsertDriveFile } from "./insert-drive-file"; -export { default as MdInsertEmoticon } from "./insert-emoticon"; -export { default as MdInsertInvitation } from "./insert-invitation"; -export { default as MdInsertLink } from "./insert-link"; -export { default as MdInsertPhoto } from "./insert-photo"; -export { default as MdInvertColorsOff } from "./invert-colors-off"; -export { default as MdInvertColorsOn } from "./invert-colors-on"; -export { default as MdInvertColors } from "./invert-colors"; -export { default as MdIso } from "./iso"; -export { default as MdKeyboardArrowDown } from "./keyboard-arrow-down"; -export { default as MdKeyboardArrowLeft } from "./keyboard-arrow-left"; -export { default as MdKeyboardArrowRight } from "./keyboard-arrow-right"; -export { default as MdKeyboardArrowUp } from "./keyboard-arrow-up"; -export { default as MdKeyboardBackspace } from "./keyboard-backspace"; -export { default as MdKeyboardCapslock } from "./keyboard-capslock"; -export { default as MdKeyboardControl } from "./keyboard-control"; -export { default as MdKeyboardHide } from "./keyboard-hide"; -export { default as MdKeyboardReturn } from "./keyboard-return"; -export { default as MdKeyboardTab } from "./keyboard-tab"; -export { default as MdKeyboardVoice } from "./keyboard-voice"; -export { default as MdKeyboard } from "./keyboard"; -export { default as MdKitchen } from "./kitchen"; -export { default as MdLabelOutline } from "./label-outline"; -export { default as MdLabel } from "./label"; -export { default as MdLandscape } from "./landscape"; -export { default as MdLanguage } from "./language"; -export { default as MdLaptopChromebook } from "./laptop-chromebook"; -export { default as MdLaptopMac } from "./laptop-mac"; -export { default as MdLaptopWindows } from "./laptop-windows"; -export { default as MdLaptop } from "./laptop"; -export { default as MdLastPage } from "./last-page"; -export { default as MdLaunch } from "./launch"; -export { default as MdLayersClear } from "./layers-clear"; -export { default as MdLayers } from "./layers"; -export { default as MdLeakAdd } from "./leak-add"; -export { default as MdLeakRemove } from "./leak-remove"; -export { default as MdLens } from "./lens"; -export { default as MdLibraryAdd } from "./library-add"; -export { default as MdLibraryBooks } from "./library-books"; -export { default as MdLibraryMusic } from "./library-music"; -export { default as MdLightbulbOutline } from "./lightbulb-outline"; -export { default as MdLineStyle } from "./line-style"; -export { default as MdLineWeight } from "./line-weight"; -export { default as MdLinearScale } from "./linear-scale"; -export { default as MdLink } from "./link"; -export { default as MdLinkedCamera } from "./linked-camera"; -export { default as MdList } from "./list"; -export { default as MdLiveHelp } from "./live-help"; -export { default as MdLiveTv } from "./live-tv"; -export { default as MdLocalAirport } from "./local-airport"; -export { default as MdLocalAtm } from "./local-atm"; -export { default as MdLocalAttraction } from "./local-attraction"; -export { default as MdLocalBar } from "./local-bar"; -export { default as MdLocalCafe } from "./local-cafe"; -export { default as MdLocalCarWash } from "./local-car-wash"; -export { default as MdLocalConvenienceStore } from "./local-convenience-store"; -export { default as MdLocalDrink } from "./local-drink"; -export { default as MdLocalFlorist } from "./local-florist"; -export { default as MdLocalGasStation } from "./local-gas-station"; -export { default as MdLocalGroceryStore } from "./local-grocery-store"; -export { default as MdLocalHospital } from "./local-hospital"; -export { default as MdLocalHotel } from "./local-hotel"; -export { default as MdLocalLaundryService } from "./local-laundry-service"; -export { default as MdLocalLibrary } from "./local-library"; -export { default as MdLocalMall } from "./local-mall"; -export { default as MdLocalMovies } from "./local-movies"; -export { default as MdLocalOffer } from "./local-offer"; -export { default as MdLocalParking } from "./local-parking"; -export { default as MdLocalPharmacy } from "./local-pharmacy"; -export { default as MdLocalPhone } from "./local-phone"; -export { default as MdLocalPizza } from "./local-pizza"; -export { default as MdLocalPlay } from "./local-play"; -export { default as MdLocalPostOffice } from "./local-post-office"; -export { default as MdLocalPrintShop } from "./local-print-shop"; -export { default as MdLocalRestaurant } from "./local-restaurant"; -export { default as MdLocalSee } from "./local-see"; -export { default as MdLocalShipping } from "./local-shipping"; -export { default as MdLocalTaxi } from "./local-taxi"; -export { default as MdLocationCity } from "./location-city"; -export { default as MdLocationDisabled } from "./location-disabled"; -export { default as MdLocationHistory } from "./location-history"; -export { default as MdLocationOff } from "./location-off"; -export { default as MdLocationOn } from "./location-on"; -export { default as MdLocationSearching } from "./location-searching"; -export { default as MdLockOpen } from "./lock-open"; -export { default as MdLockOutline } from "./lock-outline"; -export { default as MdLock } from "./lock"; -export { default as MdLooks3 } from "./looks-3"; -export { default as MdLooks4 } from "./looks-4"; -export { default as MdLooks5 } from "./looks-5"; -export { default as MdLooks6 } from "./looks-6"; -export { default as MdLooksOne } from "./looks-one"; -export { default as MdLooksTwo } from "./looks-two"; -export { default as MdLooks } from "./looks"; -export { default as MdLoop } from "./loop"; -export { default as MdLoupe } from "./loupe"; -export { default as MdLowPriority } from "./low-priority"; -export { default as MdLoyalty } from "./loyalty"; -export { default as MdMailOutline } from "./mail-outline"; -export { default as MdMail } from "./mail"; -export { default as MdMap } from "./map"; -export { default as MdMarkunreadMailbox } from "./markunread-mailbox"; -export { default as MdMarkunread } from "./markunread"; -export { default as MdMemory } from "./memory"; -export { default as MdMenu } from "./menu"; -export { default as MdMergeType } from "./merge-type"; -export { default as MdMessage } from "./message"; -export { default as MdMicNone } from "./mic-none"; -export { default as MdMicOff } from "./mic-off"; -export { default as MdMic } from "./mic"; -export { default as MdMms } from "./mms"; -export { default as MdModeComment } from "./mode-comment"; -export { default as MdModeEdit } from "./mode-edit"; -export { default as MdMonetizationOn } from "./monetization-on"; -export { default as MdMoneyOff } from "./money-off"; -export { default as MdMonochromePhotos } from "./monochrome-photos"; -export { default as MdMoodBad } from "./mood-bad"; -export { default as MdMood } from "./mood"; -export { default as MdMoreHoriz } from "./more-horiz"; -export { default as MdMoreVert } from "./more-vert"; -export { default as MdMore } from "./more"; -export { default as MdMotorcycle } from "./motorcycle"; -export { default as MdMouse } from "./mouse"; -export { default as MdMoveToInbox } from "./move-to-inbox"; -export { default as MdMovieCreation } from "./movie-creation"; -export { default as MdMovieFilter } from "./movie-filter"; -export { default as MdMovie } from "./movie"; -export { default as MdMultilineChart } from "./multiline-chart"; -export { default as MdMusicNote } from "./music-note"; -export { default as MdMusicVideo } from "./music-video"; -export { default as MdMyLocation } from "./my-location"; -export { default as MdNaturePeople } from "./nature-people"; -export { default as MdNature } from "./nature"; -export { default as MdNavigateBefore } from "./navigate-before"; -export { default as MdNavigateNext } from "./navigate-next"; -export { default as MdNavigation } from "./navigation"; -export { default as MdNearMe } from "./near-me"; -export { default as MdNetworkCell } from "./network-cell"; -export { default as MdNetworkCheck } from "./network-check"; -export { default as MdNetworkLocked } from "./network-locked"; -export { default as MdNetworkWifi } from "./network-wifi"; -export { default as MdNewReleases } from "./new-releases"; -export { default as MdNextWeek } from "./next-week"; -export { default as MdNfc } from "./nfc"; -export { default as MdNoEncryption } from "./no-encryption"; -export { default as MdNoSim } from "./no-sim"; -export { default as MdNotInterested } from "./not-interested"; -export { default as MdNoteAdd } from "./note-add"; -export { default as MdNote } from "./note"; -export { default as MdNotificationsActive } from "./notifications-active"; -export { default as MdNotificationsNone } from "./notifications-none"; -export { default as MdNotificationsOff } from "./notifications-off"; -export { default as MdNotificationsPaused } from "./notifications-paused"; -export { default as MdNotifications } from "./notifications"; -export { default as MdNowWallpaper } from "./now-wallpaper"; -export { default as MdNowWidgets } from "./now-widgets"; -export { default as MdOfflinePin } from "./offline-pin"; -export { default as MdOndemandVideo } from "./ondemand-video"; -export { default as MdOpacity } from "./opacity"; -export { default as MdOpenInBrowser } from "./open-in-browser"; -export { default as MdOpenInNew } from "./open-in-new"; -export { default as MdOpenWith } from "./open-with"; -export { default as MdPages } from "./pages"; -export { default as MdPageview } from "./pageview"; -export { default as MdPalette } from "./palette"; -export { default as MdPanTool } from "./pan-tool"; -export { default as MdPanoramaFishEye } from "./panorama-fish-eye"; -export { default as MdPanoramaHorizontal } from "./panorama-horizontal"; -export { default as MdPanoramaVertical } from "./panorama-vertical"; -export { default as MdPanoramaWideAngle } from "./panorama-wide-angle"; -export { default as MdPanorama } from "./panorama"; -export { default as MdPartyMode } from "./party-mode"; -export { default as MdPauseCircleFilled } from "./pause-circle-filled"; -export { default as MdPauseCircleOutline } from "./pause-circle-outline"; -export { default as MdPause } from "./pause"; -export { default as MdPayment } from "./payment"; -export { default as MdPeopleOutline } from "./people-outline"; -export { default as MdPeople } from "./people"; -export { default as MdPermCameraMic } from "./perm-camera-mic"; -export { default as MdPermContactCalendar } from "./perm-contact-calendar"; -export { default as MdPermDataSetting } from "./perm-data-setting"; -export { default as MdPermDeviceInformation } from "./perm-device-information"; -export { default as MdPermIdentity } from "./perm-identity"; -export { default as MdPermMedia } from "./perm-media"; -export { default as MdPermPhoneMsg } from "./perm-phone-msg"; -export { default as MdPermScanWifi } from "./perm-scan-wifi"; -export { default as MdPersonAdd } from "./person-add"; -export { default as MdPersonOutline } from "./person-outline"; -export { default as MdPersonPinCircle } from "./person-pin-circle"; -export { default as MdPersonPin } from "./person-pin"; -export { default as MdPerson } from "./person"; -export { default as MdPersonalVideo } from "./personal-video"; -export { default as MdPets } from "./pets"; -export { default as MdPhoneAndroid } from "./phone-android"; -export { default as MdPhoneBluetoothSpeaker } from "./phone-bluetooth-speaker"; -export { default as MdPhoneForwarded } from "./phone-forwarded"; -export { default as MdPhoneInTalk } from "./phone-in-talk"; -export { default as MdPhoneIphone } from "./phone-iphone"; -export { default as MdPhoneLocked } from "./phone-locked"; -export { default as MdPhoneMissed } from "./phone-missed"; -export { default as MdPhonePaused } from "./phone-paused"; -export { default as MdPhone } from "./phone"; -export { default as MdPhonelinkErase } from "./phonelink-erase"; -export { default as MdPhonelinkLock } from "./phonelink-lock"; -export { default as MdPhonelinkOff } from "./phonelink-off"; -export { default as MdPhonelinkRing } from "./phonelink-ring"; -export { default as MdPhonelinkSetup } from "./phonelink-setup"; -export { default as MdPhonelink } from "./phonelink"; -export { default as MdPhotoAlbum } from "./photo-album"; -export { default as MdPhotoCamera } from "./photo-camera"; -export { default as MdPhotoFilter } from "./photo-filter"; -export { default as MdPhotoLibrary } from "./photo-library"; -export { default as MdPhotoSizeSelectActual } from "./photo-size-select-actual"; -export { default as MdPhotoSizeSelectLarge } from "./photo-size-select-large"; -export { default as MdPhotoSizeSelectSmall } from "./photo-size-select-small"; -export { default as MdPhoto } from "./photo"; -export { default as MdPictureAsPdf } from "./picture-as-pdf"; -export { default as MdPictureInPictureAlt } from "./picture-in-picture-alt"; -export { default as MdPictureInPicture } from "./picture-in-picture"; -export { default as MdPieChartOutlined } from "./pie-chart-outlined"; -export { default as MdPieChart } from "./pie-chart"; -export { default as MdPinDrop } from "./pin-drop"; -export { default as MdPlace } from "./place"; -export { default as MdPlayArrow } from "./play-arrow"; -export { default as MdPlayCircleFilled } from "./play-circle-filled"; -export { default as MdPlayCircleOutline } from "./play-circle-outline"; -export { default as MdPlayForWork } from "./play-for-work"; -export { default as MdPlaylistAddCheck } from "./playlist-add-check"; -export { default as MdPlaylistAdd } from "./playlist-add"; -export { default as MdPlaylistPlay } from "./playlist-play"; -export { default as MdPlusOne } from "./plus-one"; -export { default as MdPoll } from "./poll"; -export { default as MdPolymer } from "./polymer"; -export { default as MdPool } from "./pool"; -export { default as MdPortableWifiOff } from "./portable-wifi-off"; -export { default as MdPortrait } from "./portrait"; -export { default as MdPowerInput } from "./power-input"; -export { default as MdPowerSettingsNew } from "./power-settings-new"; -export { default as MdPower } from "./power"; -export { default as MdPregnantWoman } from "./pregnant-woman"; -export { default as MdPresentToAll } from "./present-to-all"; -export { default as MdPrint } from "./print"; -export { default as MdPriorityHigh } from "./priority-high"; -export { default as MdPublic } from "./public"; -export { default as MdPublish } from "./publish"; -export { default as MdQueryBuilder } from "./query-builder"; -export { default as MdQuestionAnswer } from "./question-answer"; -export { default as MdQueueMusic } from "./queue-music"; -export { default as MdQueuePlayNext } from "./queue-play-next"; -export { default as MdQueue } from "./queue"; -export { default as MdRadioButtonChecked } from "./radio-button-checked"; -export { default as MdRadioButtonUnchecked } from "./radio-button-unchecked"; -export { default as MdRadio } from "./radio"; -export { default as MdRateReview } from "./rate-review"; -export { default as MdReceipt } from "./receipt"; -export { default as MdRecentActors } from "./recent-actors"; -export { default as MdRecordVoiceOver } from "./record-voice-over"; -export { default as MdRedeem } from "./redeem"; -export { default as MdRedo } from "./redo"; -export { default as MdRefresh } from "./refresh"; -export { default as MdRemoveCircleOutline } from "./remove-circle-outline"; -export { default as MdRemoveCircle } from "./remove-circle"; -export { default as MdRemoveFromQueue } from "./remove-from-queue"; -export { default as MdRemoveRedEye } from "./remove-red-eye"; -export { default as MdRemoveShoppingCart } from "./remove-shopping-cart"; -export { default as MdRemove } from "./remove"; -export { default as MdReorder } from "./reorder"; -export { default as MdRepeatOne } from "./repeat-one"; -export { default as MdRepeat } from "./repeat"; -export { default as MdReplay10 } from "./replay-10"; -export { default as MdReplay30 } from "./replay-30"; -export { default as MdReplay5 } from "./replay-5"; -export { default as MdReplay } from "./replay"; -export { default as MdReplyAll } from "./reply-all"; -export { default as MdReply } from "./reply"; -export { default as MdReportProblem } from "./report-problem"; -export { default as MdReport } from "./report"; -export { default as MdRestaurantMenu } from "./restaurant-menu"; -export { default as MdRestaurant } from "./restaurant"; -export { default as MdRestorePage } from "./restore-page"; -export { default as MdRestore } from "./restore"; -export { default as MdRingVolume } from "./ring-volume"; -export { default as MdRoomService } from "./room-service"; -export { default as MdRoom } from "./room"; -export { default as MdRotate90DegreesCcw } from "./rotate-90-degrees-ccw"; -export { default as MdRotateLeft } from "./rotate-left"; -export { default as MdRotateRight } from "./rotate-right"; -export { default as MdRoundedCorner } from "./rounded-corner"; -export { default as MdRouter } from "./router"; -export { default as MdRowing } from "./rowing"; -export { default as MdRssFeed } from "./rss-feed"; -export { default as MdRvHookup } from "./rv-hookup"; -export { default as MdSatellite } from "./satellite"; -export { default as MdSave } from "./save"; -export { default as MdScanner } from "./scanner"; -export { default as MdSchedule } from "./schedule"; -export { default as MdSchool } from "./school"; -export { default as MdScreenLockLandscape } from "./screen-lock-landscape"; -export { default as MdScreenLockPortrait } from "./screen-lock-portrait"; -export { default as MdScreenLockRotation } from "./screen-lock-rotation"; -export { default as MdScreenRotation } from "./screen-rotation"; -export { default as MdScreenShare } from "./screen-share"; -export { default as MdSdCard } from "./sd-card"; -export { default as MdSdStorage } from "./sd-storage"; -export { default as MdSearch } from "./search"; -export { default as MdSecurity } from "./security"; -export { default as MdSelectAll } from "./select-all"; -export { default as MdSend } from "./send"; -export { default as MdSentimentDissatisfied } from "./sentiment-dissatisfied"; -export { default as MdSentimentNeutral } from "./sentiment-neutral"; -export { default as MdSentimentSatisfied } from "./sentiment-satisfied"; -export { default as MdSentimentVeryDissatisfied } from "./sentiment-very-dissatisfied"; -export { default as MdSentimentVerySatisfied } from "./sentiment-very-satisfied"; -export { default as MdSettingsApplications } from "./settings-applications"; -export { default as MdSettingsBackupRestore } from "./settings-backup-restore"; -export { default as MdSettingsBluetooth } from "./settings-bluetooth"; -export { default as MdSettingsBrightness } from "./settings-brightness"; -export { default as MdSettingsCell } from "./settings-cell"; -export { default as MdSettingsEthernet } from "./settings-ethernet"; -export { default as MdSettingsInputAntenna } from "./settings-input-antenna"; -export { default as MdSettingsInputComponent } from "./settings-input-component"; -export { default as MdSettingsInputComposite } from "./settings-input-composite"; -export { default as MdSettingsInputHdmi } from "./settings-input-hdmi"; -export { default as MdSettingsInputSvideo } from "./settings-input-svideo"; -export { default as MdSettingsOverscan } from "./settings-overscan"; -export { default as MdSettingsPhone } from "./settings-phone"; -export { default as MdSettingsPower } from "./settings-power"; -export { default as MdSettingsRemote } from "./settings-remote"; -export { default as MdSettingsSystemDaydream } from "./settings-system-daydream"; -export { default as MdSettingsVoice } from "./settings-voice"; -export { default as MdSettings } from "./settings"; -export { default as MdShare } from "./share"; -export { default as MdShopTwo } from "./shop-two"; -export { default as MdShop } from "./shop"; -export { default as MdShoppingBasket } from "./shopping-basket"; -export { default as MdShoppingCart } from "./shopping-cart"; -export { default as MdShortText } from "./short-text"; -export { default as MdShowChart } from "./show-chart"; -export { default as MdShuffle } from "./shuffle"; -export { default as MdSignalCellular4Bar } from "./signal-cellular-4-bar"; -export { default as MdSignalCellularConnectedNoInternet4Bar } from "./signal-cellular-connected-no-internet-4-bar"; -export { default as MdSignalCellularNoSim } from "./signal-cellular-no-sim"; -export { default as MdSignalCellularNull } from "./signal-cellular-null"; -export { default as MdSignalCellularOff } from "./signal-cellular-off"; -export { default as MdSignalWifi4BarLock } from "./signal-wifi-4-bar-lock"; -export { default as MdSignalWifi4Bar } from "./signal-wifi-4-bar"; -export { default as MdSignalWifiOff } from "./signal-wifi-off"; -export { default as MdSimCardAlert } from "./sim-card-alert"; -export { default as MdSimCard } from "./sim-card"; -export { default as MdSkipNext } from "./skip-next"; -export { default as MdSkipPrevious } from "./skip-previous"; -export { default as MdSlideshow } from "./slideshow"; -export { default as MdSlowMotionVideo } from "./slow-motion-video"; -export { default as MdSmartphone } from "./smartphone"; -export { default as MdSmokeFree } from "./smoke-free"; -export { default as MdSmokingRooms } from "./smoking-rooms"; -export { default as MdSmsFailed } from "./sms-failed"; -export { default as MdSms } from "./sms"; -export { default as MdSnooze } from "./snooze"; -export { default as MdSortByAlpha } from "./sort-by-alpha"; -export { default as MdSort } from "./sort"; -export { default as MdSpa } from "./spa"; -export { default as MdSpaceBar } from "./space-bar"; -export { default as MdSpeakerGroup } from "./speaker-group"; -export { default as MdSpeakerNotesOff } from "./speaker-notes-off"; -export { default as MdSpeakerNotes } from "./speaker-notes"; -export { default as MdSpeakerPhone } from "./speaker-phone"; -export { default as MdSpeaker } from "./speaker"; -export { default as MdSpellcheck } from "./spellcheck"; -export { default as MdStarBorder } from "./star-border"; -export { default as MdStarHalf } from "./star-half"; -export { default as MdStarOutline } from "./star-outline"; -export { default as MdStar } from "./star"; -export { default as MdStars } from "./stars"; -export { default as MdStayCurrentLandscape } from "./stay-current-landscape"; -export { default as MdStayCurrentPortrait } from "./stay-current-portrait"; -export { default as MdStayPrimaryLandscape } from "./stay-primary-landscape"; -export { default as MdStayPrimaryPortrait } from "./stay-primary-portrait"; -export { default as MdStopScreenShare } from "./stop-screen-share"; -export { default as MdStop } from "./stop"; -export { default as MdStorage } from "./storage"; -export { default as MdStoreMallDirectory } from "./store-mall-directory"; -export { default as MdStore } from "./store"; -export { default as MdStraighten } from "./straighten"; -export { default as MdStreetview } from "./streetview"; -export { default as MdStrikethroughS } from "./strikethrough-s"; -export { default as MdStyle } from "./style"; -export { default as MdSubdirectoryArrowLeft } from "./subdirectory-arrow-left"; -export { default as MdSubdirectoryArrowRight } from "./subdirectory-arrow-right"; -export { default as MdSubject } from "./subject"; -export { default as MdSubscriptions } from "./subscriptions"; -export { default as MdSubtitles } from "./subtitles"; -export { default as MdSubway } from "./subway"; -export { default as MdSupervisorAccount } from "./supervisor-account"; -export { default as MdSurroundSound } from "./surround-sound"; -export { default as MdSwapCalls } from "./swap-calls"; -export { default as MdSwapHoriz } from "./swap-horiz"; -export { default as MdSwapVert } from "./swap-vert"; -export { default as MdSwapVerticalCircle } from "./swap-vertical-circle"; -export { default as MdSwitchCamera } from "./switch-camera"; -export { default as MdSwitchVideo } from "./switch-video"; -export { default as MdSyncDisabled } from "./sync-disabled"; -export { default as MdSyncProblem } from "./sync-problem"; -export { default as MdSync } from "./sync"; -export { default as MdSystemUpdateAlt } from "./system-update-alt"; -export { default as MdSystemUpdate } from "./system-update"; -export { default as MdTabUnselected } from "./tab-unselected"; -export { default as MdTab } from "./tab"; -export { default as MdTabletAndroid } from "./tablet-android"; -export { default as MdTabletMac } from "./tablet-mac"; -export { default as MdTablet } from "./tablet"; -export { default as MdTagFaces } from "./tag-faces"; -export { default as MdTapAndPlay } from "./tap-and-play"; -export { default as MdTerrain } from "./terrain"; -export { default as MdTextFields } from "./text-fields"; -export { default as MdTextFormat } from "./text-format"; -export { default as MdTextsms } from "./textsms"; -export { default as MdTexture } from "./texture"; -export { default as MdTheaters } from "./theaters"; -export { default as MdThumbDown } from "./thumb-down"; -export { default as MdThumbUp } from "./thumb-up"; -export { default as MdThumbsUpDown } from "./thumbs-up-down"; -export { default as MdTimeToLeave } from "./time-to-leave"; -export { default as MdTimelapse } from "./timelapse"; -export { default as MdTimeline } from "./timeline"; -export { default as MdTimer10 } from "./timer-10"; -export { default as MdTimer3 } from "./timer-3"; -export { default as MdTimerOff } from "./timer-off"; -export { default as MdTimer } from "./timer"; -export { default as MdTitle } from "./title"; -export { default as MdToc } from "./toc"; -export { default as MdToday } from "./today"; -export { default as MdToll } from "./toll"; -export { default as MdTonality } from "./tonality"; -export { default as MdTouchApp } from "./touch-app"; -export { default as MdToys } from "./toys"; -export { default as MdTrackChanges } from "./track-changes"; -export { default as MdTraffic } from "./traffic"; -export { default as MdTrain } from "./train"; -export { default as MdTram } from "./tram"; -export { default as MdTransferWithinAStation } from "./transfer-within-a-station"; -export { default as MdTransform } from "./transform"; -export { default as MdTranslate } from "./translate"; -export { default as MdTrendingDown } from "./trending-down"; -export { default as MdTrendingFlat } from "./trending-flat"; -export { default as MdTrendingNeutral } from "./trending-neutral"; -export { default as MdTrendingUp } from "./trending-up"; -export { default as MdTune } from "./tune"; -export { default as MdTurnedInNot } from "./turned-in-not"; -export { default as MdTurnedIn } from "./turned-in"; -export { default as MdTv } from "./tv"; -export { default as MdUnarchive } from "./unarchive"; -export { default as MdUndo } from "./undo"; -export { default as MdUnfoldLess } from "./unfold-less"; -export { default as MdUnfoldMore } from "./unfold-more"; -export { default as MdUpdate } from "./update"; -export { default as MdUsb } from "./usb"; -export { default as MdVerifiedUser } from "./verified-user"; -export { default as MdVerticalAlignBottom } from "./vertical-align-bottom"; -export { default as MdVerticalAlignCenter } from "./vertical-align-center"; -export { default as MdVerticalAlignTop } from "./vertical-align-top"; -export { default as MdVibration } from "./vibration"; -export { default as MdVideoCall } from "./video-call"; -export { default as MdVideoCollection } from "./video-collection"; -export { default as MdVideoLabel } from "./video-label"; -export { default as MdVideoLibrary } from "./video-library"; -export { default as MdVideocamOff } from "./videocam-off"; -export { default as MdVideocam } from "./videocam"; -export { default as MdVideogameAsset } from "./videogame-asset"; -export { default as MdViewAgenda } from "./view-agenda"; -export { default as MdViewArray } from "./view-array"; -export { default as MdViewCarousel } from "./view-carousel"; -export { default as MdViewColumn } from "./view-column"; -export { default as MdViewComfortable } from "./view-comfortable"; -export { default as MdViewComfy } from "./view-comfy"; -export { default as MdViewCompact } from "./view-compact"; -export { default as MdViewDay } from "./view-day"; -export { default as MdViewHeadline } from "./view-headline"; -export { default as MdViewList } from "./view-list"; -export { default as MdViewModule } from "./view-module"; -export { default as MdViewQuilt } from "./view-quilt"; -export { default as MdViewStream } from "./view-stream"; -export { default as MdViewWeek } from "./view-week"; -export { default as MdVignette } from "./vignette"; -export { default as MdVisibilityOff } from "./visibility-off"; -export { default as MdVisibility } from "./visibility"; -export { default as MdVoiceChat } from "./voice-chat"; -export { default as MdVoicemail } from "./voicemail"; -export { default as MdVolumeDown } from "./volume-down"; -export { default as MdVolumeMute } from "./volume-mute"; -export { default as MdVolumeOff } from "./volume-off"; -export { default as MdVolumeUp } from "./volume-up"; -export { default as MdVpnKey } from "./vpn-key"; -export { default as MdVpnLock } from "./vpn-lock"; -export { default as MdWallpaper } from "./wallpaper"; -export { default as MdWarning } from "./warning"; -export { default as MdWatchLater } from "./watch-later"; -export { default as MdWatch } from "./watch"; -export { default as MdWbAuto } from "./wb-auto"; -export { default as MdWbCloudy } from "./wb-cloudy"; -export { default as MdWbIncandescent } from "./wb-incandescent"; -export { default as MdWbIridescent } from "./wb-iridescent"; -export { default as MdWbSunny } from "./wb-sunny"; -export { default as MdWc } from "./wc"; -export { default as MdWebAsset } from "./web-asset"; -export { default as MdWeb } from "./web"; -export { default as MdWeekend } from "./weekend"; -export { default as MdWhatshot } from "./whatshot"; -export { default as MdWidgets } from "./widgets"; -export { default as MdWifiLock } from "./wifi-lock"; -export { default as MdWifiTethering } from "./wifi-tethering"; -export { default as MdWifi } from "./wifi"; -export { default as MdWork } from "./work"; -export { default as MdWrapText } from "./wrap-text"; -export { default as MdYoutubeSearchedFor } from "./youtube-searched-for"; -export { default as MdZoomIn } from "./zoom-in"; -export { default as MdZoomOutMap } from "./zoom-out-map"; -export { default as MdZoomOut } from "./zoom-out"; +export { default as Md3dRotation } from "../../md/3d-rotation"; +export { default as MdAcUnit } from "../../md/ac-unit"; +export { default as MdAccessAlarm } from "../../md/access-alarm"; +export { default as MdAccessAlarms } from "../../md/access-alarms"; +export { default as MdAccessTime } from "../../md/access-time"; +export { default as MdAccessibility } from "../../md/accessibility"; +export { default as MdAccessible } from "../../md/accessible"; +export { default as MdAccountBalanceWallet } from "../../md/account-balance-wallet"; +export { default as MdAccountBalance } from "../../md/account-balance"; +export { default as MdAccountBox } from "../../md/account-box"; +export { default as MdAccountCircle } from "../../md/account-circle"; +export { default as MdAdb } from "../../md/adb"; +export { default as MdAddAPhoto } from "../../md/add-a-photo"; +export { default as MdAddAlarm } from "../../md/add-alarm"; +export { default as MdAddAlert } from "../../md/add-alert"; +export { default as MdAddBox } from "../../md/add-box"; +export { default as MdAddCircleOutline } from "../../md/add-circle-outline"; +export { default as MdAddCircle } from "../../md/add-circle"; +export { default as MdAddLocation } from "../../md/add-location"; +export { default as MdAddShoppingCart } from "../../md/add-shopping-cart"; +export { default as MdAddToPhotos } from "../../md/add-to-photos"; +export { default as MdAddToQueue } from "../../md/add-to-queue"; +export { default as MdAdd } from "../../md/add"; +export { default as MdAdjust } from "../../md/adjust"; +export { default as MdAirlineSeatFlatAngled } from "../../md/airline-seat-flat-angled"; +export { default as MdAirlineSeatFlat } from "../../md/airline-seat-flat"; +export { default as MdAirlineSeatIndividualSuite } from "../../md/airline-seat-individual-suite"; +export { default as MdAirlineSeatLegroomExtra } from "../../md/airline-seat-legroom-extra"; +export { default as MdAirlineSeatLegroomNormal } from "../../md/airline-seat-legroom-normal"; +export { default as MdAirlineSeatLegroomReduced } from "../../md/airline-seat-legroom-reduced"; +export { default as MdAirlineSeatReclineExtra } from "../../md/airline-seat-recline-extra"; +export { default as MdAirlineSeatReclineNormal } from "../../md/airline-seat-recline-normal"; +export { default as MdAirplanemodeActive } from "../../md/airplanemode-active"; +export { default as MdAirplanemodeInactive } from "../../md/airplanemode-inactive"; +export { default as MdAirplay } from "../../md/airplay"; +export { default as MdAirportShuttle } from "../../md/airport-shuttle"; +export { default as MdAlarmAdd } from "../../md/alarm-add"; +export { default as MdAlarmOff } from "../../md/alarm-off"; +export { default as MdAlarmOn } from "../../md/alarm-on"; +export { default as MdAlarm } from "../../md/alarm"; +export { default as MdAlbum } from "../../md/album"; +export { default as MdAllInclusive } from "../../md/all-inclusive"; +export { default as MdAllOut } from "../../md/all-out"; +export { default as MdAndroid } from "../../md/android"; +export { default as MdAnnouncement } from "../../md/announcement"; +export { default as MdApps } from "../../md/apps"; +export { default as MdArchive } from "../../md/archive"; +export { default as MdArrowBack } from "../../md/arrow-back"; +export { default as MdArrowDownward } from "../../md/arrow-downward"; +export { default as MdArrowDropDownCircle } from "../../md/arrow-drop-down-circle"; +export { default as MdArrowDropDown } from "../../md/arrow-drop-down"; +export { default as MdArrowDropUp } from "../../md/arrow-drop-up"; +export { default as MdArrowForward } from "../../md/arrow-forward"; +export { default as MdArrowUpward } from "../../md/arrow-upward"; +export { default as MdArtTrack } from "../../md/art-track"; +export { default as MdAspectRatio } from "../../md/aspect-ratio"; +export { default as MdAssessment } from "../../md/assessment"; +export { default as MdAssignmentInd } from "../../md/assignment-ind"; +export { default as MdAssignmentLate } from "../../md/assignment-late"; +export { default as MdAssignmentReturn } from "../../md/assignment-return"; +export { default as MdAssignmentReturned } from "../../md/assignment-returned"; +export { default as MdAssignmentTurnedIn } from "../../md/assignment-turned-in"; +export { default as MdAssignment } from "../../md/assignment"; +export { default as MdAssistantPhoto } from "../../md/assistant-photo"; +export { default as MdAssistant } from "../../md/assistant"; +export { default as MdAttachFile } from "../../md/attach-file"; +export { default as MdAttachMoney } from "../../md/attach-money"; +export { default as MdAttachment } from "../../md/attachment"; +export { default as MdAudiotrack } from "../../md/audiotrack"; +export { default as MdAutorenew } from "../../md/autorenew"; +export { default as MdAvTimer } from "../../md/av-timer"; +export { default as MdBackspace } from "../../md/backspace"; +export { default as MdBackup } from "../../md/backup"; +export { default as MdBatteryAlert } from "../../md/battery-alert"; +export { default as MdBatteryChargingFull } from "../../md/battery-charging-full"; +export { default as MdBatteryFull } from "../../md/battery-full"; +export { default as MdBatteryStd } from "../../md/battery-std"; +export { default as MdBatteryUnknown } from "../../md/battery-unknown"; +export { default as MdBeachAccess } from "../../md/beach-access"; +export { default as MdBeenhere } from "../../md/beenhere"; +export { default as MdBlock } from "../../md/block"; +export { default as MdBluetoothAudio } from "../../md/bluetooth-audio"; +export { default as MdBluetoothConnected } from "../../md/bluetooth-connected"; +export { default as MdBluetoothDisabled } from "../../md/bluetooth-disabled"; +export { default as MdBluetoothSearching } from "../../md/bluetooth-searching"; +export { default as MdBluetooth } from "../../md/bluetooth"; +export { default as MdBlurCircular } from "../../md/blur-circular"; +export { default as MdBlurLinear } from "../../md/blur-linear"; +export { default as MdBlurOff } from "../../md/blur-off"; +export { default as MdBlurOn } from "../../md/blur-on"; +export { default as MdBook } from "../../md/book"; +export { default as MdBookmarkOutline } from "../../md/bookmark-outline"; +export { default as MdBookmark } from "../../md/bookmark"; +export { default as MdBorderAll } from "../../md/border-all"; +export { default as MdBorderBottom } from "../../md/border-bottom"; +export { default as MdBorderClear } from "../../md/border-clear"; +export { default as MdBorderColor } from "../../md/border-color"; +export { default as MdBorderHorizontal } from "../../md/border-horizontal"; +export { default as MdBorderInner } from "../../md/border-inner"; +export { default as MdBorderLeft } from "../../md/border-left"; +export { default as MdBorderOuter } from "../../md/border-outer"; +export { default as MdBorderRight } from "../../md/border-right"; +export { default as MdBorderStyle } from "../../md/border-style"; +export { default as MdBorderTop } from "../../md/border-top"; +export { default as MdBorderVertical } from "../../md/border-vertical"; +export { default as MdBrandingWatermark } from "../../md/branding-watermark"; +export { default as MdBrightness1 } from "../../md/brightness-1"; +export { default as MdBrightness2 } from "../../md/brightness-2"; +export { default as MdBrightness3 } from "../../md/brightness-3"; +export { default as MdBrightness4 } from "../../md/brightness-4"; +export { default as MdBrightness5 } from "../../md/brightness-5"; +export { default as MdBrightness6 } from "../../md/brightness-6"; +export { default as MdBrightness7 } from "../../md/brightness-7"; +export { default as MdBrightnessAuto } from "../../md/brightness-auto"; +export { default as MdBrightnessHigh } from "../../md/brightness-high"; +export { default as MdBrightnessLow } from "../../md/brightness-low"; +export { default as MdBrightnessMedium } from "../../md/brightness-medium"; +export { default as MdBrokenImage } from "../../md/broken-image"; +export { default as MdBrush } from "../../md/brush"; +export { default as MdBubbleChart } from "../../md/bubble-chart"; +export { default as MdBugReport } from "../../md/bug-report"; +export { default as MdBuild } from "../../md/build"; +export { default as MdBurstMode } from "../../md/burst-mode"; +export { default as MdBusinessCenter } from "../../md/business-center"; +export { default as MdBusiness } from "../../md/business"; +export { default as MdCached } from "../../md/cached"; +export { default as MdCake } from "../../md/cake"; +export { default as MdCallEnd } from "../../md/call-end"; +export { default as MdCallMade } from "../../md/call-made"; +export { default as MdCallMerge } from "../../md/call-merge"; +export { default as MdCallMissedOutgoing } from "../../md/call-missed-outgoing"; +export { default as MdCallMissed } from "../../md/call-missed"; +export { default as MdCallReceived } from "../../md/call-received"; +export { default as MdCallSplit } from "../../md/call-split"; +export { default as MdCallToAction } from "../../md/call-to-action"; +export { default as MdCall } from "../../md/call"; +export { default as MdCameraAlt } from "../../md/camera-alt"; +export { default as MdCameraEnhance } from "../../md/camera-enhance"; +export { default as MdCameraFront } from "../../md/camera-front"; +export { default as MdCameraRear } from "../../md/camera-rear"; +export { default as MdCameraRoll } from "../../md/camera-roll"; +export { default as MdCamera } from "../../md/camera"; +export { default as MdCancel } from "../../md/cancel"; +export { default as MdCardGiftcard } from "../../md/card-giftcard"; +export { default as MdCardMembership } from "../../md/card-membership"; +export { default as MdCardTravel } from "../../md/card-travel"; +export { default as MdCasino } from "../../md/casino"; +export { default as MdCastConnected } from "../../md/cast-connected"; +export { default as MdCast } from "../../md/cast"; +export { default as MdCenterFocusStrong } from "../../md/center-focus-strong"; +export { default as MdCenterFocusWeak } from "../../md/center-focus-weak"; +export { default as MdChangeHistory } from "../../md/change-history"; +export { default as MdChatBubbleOutline } from "../../md/chat-bubble-outline"; +export { default as MdChatBubble } from "../../md/chat-bubble"; +export { default as MdChat } from "../../md/chat"; +export { default as MdCheckBoxOutlineBlank } from "../../md/check-box-outline-blank"; +export { default as MdCheckBox } from "../../md/check-box"; +export { default as MdCheckCircle } from "../../md/check-circle"; +export { default as MdCheck } from "../../md/check"; +export { default as MdChevronLeft } from "../../md/chevron-left"; +export { default as MdChevronRight } from "../../md/chevron-right"; +export { default as MdChildCare } from "../../md/child-care"; +export { default as MdChildFriendly } from "../../md/child-friendly"; +export { default as MdChromeReaderMode } from "../../md/chrome-reader-mode"; +export { default as MdClass } from "../../md/class"; +export { default as MdClearAll } from "../../md/clear-all"; +export { default as MdClear } from "../../md/clear"; +export { default as MdClose } from "../../md/close"; +export { default as MdClosedCaption } from "../../md/closed-caption"; +export { default as MdCloudCircle } from "../../md/cloud-circle"; +export { default as MdCloudDone } from "../../md/cloud-done"; +export { default as MdCloudDownload } from "../../md/cloud-download"; +export { default as MdCloudOff } from "../../md/cloud-off"; +export { default as MdCloudQueue } from "../../md/cloud-queue"; +export { default as MdCloudUpload } from "../../md/cloud-upload"; +export { default as MdCloud } from "../../md/cloud"; +export { default as MdCode } from "../../md/code"; +export { default as MdCollectionsBookmark } from "../../md/collections-bookmark"; +export { default as MdCollections } from "../../md/collections"; +export { default as MdColorLens } from "../../md/color-lens"; +export { default as MdColorize } from "../../md/colorize"; +export { default as MdComment } from "../../md/comment"; +export { default as MdCompareArrows } from "../../md/compare-arrows"; +export { default as MdCompare } from "../../md/compare"; +export { default as MdComputer } from "../../md/computer"; +export { default as MdConfirmationNumber } from "../../md/confirmation-number"; +export { default as MdContactMail } from "../../md/contact-mail"; +export { default as MdContactPhone } from "../../md/contact-phone"; +export { default as MdContacts } from "../../md/contacts"; +export { default as MdContentCopy } from "../../md/content-copy"; +export { default as MdContentCut } from "../../md/content-cut"; +export { default as MdContentPaste } from "../../md/content-paste"; +export { default as MdControlPointDuplicate } from "../../md/control-point-duplicate"; +export { default as MdControlPoint } from "../../md/control-point"; +export { default as MdCopyright } from "../../md/copyright"; +export { default as MdCreateNewFolder } from "../../md/create-new-folder"; +export { default as MdCreate } from "../../md/create"; +export { default as MdCreditCard } from "../../md/credit-card"; +export { default as MdCrop169 } from "../../md/crop-16-9"; +export { default as MdCrop32 } from "../../md/crop-3-2"; +export { default as MdCrop54 } from "../../md/crop-5-4"; +export { default as MdCrop75 } from "../../md/crop-7-5"; +export { default as MdCropDin } from "../../md/crop-din"; +export { default as MdCropFree } from "../../md/crop-free"; +export { default as MdCropLandscape } from "../../md/crop-landscape"; +export { default as MdCropOriginal } from "../../md/crop-original"; +export { default as MdCropPortrait } from "../../md/crop-portrait"; +export { default as MdCropRotate } from "../../md/crop-rotate"; +export { default as MdCropSquare } from "../../md/crop-square"; +export { default as MdCrop } from "../../md/crop"; +export { default as MdDashboard } from "../../md/dashboard"; +export { default as MdDataUsage } from "../../md/data-usage"; +export { default as MdDateRange } from "../../md/date-range"; +export { default as MdDehaze } from "../../md/dehaze"; +export { default as MdDeleteForever } from "../../md/delete-forever"; +export { default as MdDeleteSweep } from "../../md/delete-sweep"; +export { default as MdDelete } from "../../md/delete"; +export { default as MdDescription } from "../../md/description"; +export { default as MdDesktopMac } from "../../md/desktop-mac"; +export { default as MdDesktopWindows } from "../../md/desktop-windows"; +export { default as MdDetails } from "../../md/details"; +export { default as MdDeveloperBoard } from "../../md/developer-board"; +export { default as MdDeveloperMode } from "../../md/developer-mode"; +export { default as MdDeviceHub } from "../../md/device-hub"; +export { default as MdDevicesOther } from "../../md/devices-other"; +export { default as MdDevices } from "../../md/devices"; +export { default as MdDialerSip } from "../../md/dialer-sip"; +export { default as MdDialpad } from "../../md/dialpad"; +export { default as MdDirectionsBike } from "../../md/directions-bike"; +export { default as MdDirectionsBoat } from "../../md/directions-boat"; +export { default as MdDirectionsBus } from "../../md/directions-bus"; +export { default as MdDirectionsCar } from "../../md/directions-car"; +export { default as MdDirectionsFerry } from "../../md/directions-ferry"; +export { default as MdDirectionsRailway } from "../../md/directions-railway"; +export { default as MdDirectionsRun } from "../../md/directions-run"; +export { default as MdDirectionsSubway } from "../../md/directions-subway"; +export { default as MdDirectionsTransit } from "../../md/directions-transit"; +export { default as MdDirectionsWalk } from "../../md/directions-walk"; +export { default as MdDirections } from "../../md/directions"; +export { default as MdDiscFull } from "../../md/disc-full"; +export { default as MdDns } from "../../md/dns"; +export { default as MdDoNotDisturbAlt } from "../../md/do-not-disturb-alt"; +export { default as MdDoNotDisturbOff } from "../../md/do-not-disturb-off"; +export { default as MdDoNotDisturb } from "../../md/do-not-disturb"; +export { default as MdDock } from "../../md/dock"; +export { default as MdDomain } from "../../md/domain"; +export { default as MdDoneAll } from "../../md/done-all"; +export { default as MdDone } from "../../md/done"; +export { default as MdDonutLarge } from "../../md/donut-large"; +export { default as MdDonutSmall } from "../../md/donut-small"; +export { default as MdDrafts } from "../../md/drafts"; +export { default as MdDragHandle } from "../../md/drag-handle"; +export { default as MdDriveEta } from "../../md/drive-eta"; +export { default as MdDvr } from "../../md/dvr"; +export { default as MdEditLocation } from "../../md/edit-location"; +export { default as MdEdit } from "../../md/edit"; +export { default as MdEject } from "../../md/eject"; +export { default as MdEmail } from "../../md/email"; +export { default as MdEnhancedEncryption } from "../../md/enhanced-encryption"; +export { default as MdEqualizer } from "../../md/equalizer"; +export { default as MdErrorOutline } from "../../md/error-outline"; +export { default as MdError } from "../../md/error"; +export { default as MdEuroSymbol } from "../../md/euro-symbol"; +export { default as MdEvStation } from "../../md/ev-station"; +export { default as MdEventAvailable } from "../../md/event-available"; +export { default as MdEventBusy } from "../../md/event-busy"; +export { default as MdEventNote } from "../../md/event-note"; +export { default as MdEventSeat } from "../../md/event-seat"; +export { default as MdEvent } from "../../md/event"; +export { default as MdExitToApp } from "../../md/exit-to-app"; +export { default as MdExpandLess } from "../../md/expand-less"; +export { default as MdExpandMore } from "../../md/expand-more"; +export { default as MdExplicit } from "../../md/explicit"; +export { default as MdExplore } from "../../md/explore"; +export { default as MdExposureMinus1 } from "../../md/exposure-minus-1"; +export { default as MdExposureMinus2 } from "../../md/exposure-minus-2"; +export { default as MdExposureNeg1 } from "../../md/exposure-neg-1"; +export { default as MdExposureNeg2 } from "../../md/exposure-neg-2"; +export { default as MdExposurePlus1 } from "../../md/exposure-plus-1"; +export { default as MdExposurePlus2 } from "../../md/exposure-plus-2"; +export { default as MdExposureZero } from "../../md/exposure-zero"; +export { default as MdExposure } from "../../md/exposure"; +export { default as MdExtension } from "../../md/extension"; +export { default as MdFace } from "../../md/face"; +export { default as MdFastForward } from "../../md/fast-forward"; +export { default as MdFastRewind } from "../../md/fast-rewind"; +export { default as MdFavoriteBorder } from "../../md/favorite-border"; +export { default as MdFavoriteOutline } from "../../md/favorite-outline"; +export { default as MdFavorite } from "../../md/favorite"; +export { default as MdFeaturedPlayList } from "../../md/featured-play-list"; +export { default as MdFeaturedVideo } from "../../md/featured-video"; +export { default as MdFeedback } from "../../md/feedback"; +export { default as MdFiberDvr } from "../../md/fiber-dvr"; +export { default as MdFiberManualRecord } from "../../md/fiber-manual-record"; +export { default as MdFiberNew } from "../../md/fiber-new"; +export { default as MdFiberPin } from "../../md/fiber-pin"; +export { default as MdFiberSmartRecord } from "../../md/fiber-smart-record"; +export { default as MdFileDownload } from "../../md/file-download"; +export { default as MdFileUpload } from "../../md/file-upload"; +export { default as MdFilter1 } from "../../md/filter-1"; +export { default as MdFilter2 } from "../../md/filter-2"; +export { default as MdFilter3 } from "../../md/filter-3"; +export { default as MdFilter4 } from "../../md/filter-4"; +export { default as MdFilter5 } from "../../md/filter-5"; +export { default as MdFilter6 } from "../../md/filter-6"; +export { default as MdFilter7 } from "../../md/filter-7"; +export { default as MdFilter8 } from "../../md/filter-8"; +export { default as MdFilter9Plus } from "../../md/filter-9-plus"; +export { default as MdFilter9 } from "../../md/filter-9"; +export { default as MdFilterBAndW } from "../../md/filter-b-and-w"; +export { default as MdFilterCenterFocus } from "../../md/filter-center-focus"; +export { default as MdFilterDrama } from "../../md/filter-drama"; +export { default as MdFilterFrames } from "../../md/filter-frames"; +export { default as MdFilterHdr } from "../../md/filter-hdr"; +export { default as MdFilterList } from "../../md/filter-list"; +export { default as MdFilterNone } from "../../md/filter-none"; +export { default as MdFilterTiltShift } from "../../md/filter-tilt-shift"; +export { default as MdFilterVintage } from "../../md/filter-vintage"; +export { default as MdFilter } from "../../md/filter"; +export { default as MdFindInPage } from "../../md/find-in-page"; +export { default as MdFindReplace } from "../../md/find-replace"; +export { default as MdFingerprint } from "../../md/fingerprint"; +export { default as MdFirstPage } from "../../md/first-page"; +export { default as MdFitnessCenter } from "../../md/fitness-center"; +export { default as MdFlag } from "../../md/flag"; +export { default as MdFlare } from "../../md/flare"; +export { default as MdFlashAuto } from "../../md/flash-auto"; +export { default as MdFlashOff } from "../../md/flash-off"; +export { default as MdFlashOn } from "../../md/flash-on"; +export { default as MdFlightLand } from "../../md/flight-land"; +export { default as MdFlightTakeoff } from "../../md/flight-takeoff"; +export { default as MdFlight } from "../../md/flight"; +export { default as MdFlipToBack } from "../../md/flip-to-back"; +export { default as MdFlipToFront } from "../../md/flip-to-front"; +export { default as MdFlip } from "../../md/flip"; +export { default as MdFolderOpen } from "../../md/folder-open"; +export { default as MdFolderShared } from "../../md/folder-shared"; +export { default as MdFolderSpecial } from "../../md/folder-special"; +export { default as MdFolder } from "../../md/folder"; +export { default as MdFontDownload } from "../../md/font-download"; +export { default as MdFormatAlignCenter } from "../../md/format-align-center"; +export { default as MdFormatAlignJustify } from "../../md/format-align-justify"; +export { default as MdFormatAlignLeft } from "../../md/format-align-left"; +export { default as MdFormatAlignRight } from "../../md/format-align-right"; +export { default as MdFormatBold } from "../../md/format-bold"; +export { default as MdFormatClear } from "../../md/format-clear"; +export { default as MdFormatColorFill } from "../../md/format-color-fill"; +export { default as MdFormatColorReset } from "../../md/format-color-reset"; +export { default as MdFormatColorText } from "../../md/format-color-text"; +export { default as MdFormatIndentDecrease } from "../../md/format-indent-decrease"; +export { default as MdFormatIndentIncrease } from "../../md/format-indent-increase"; +export { default as MdFormatItalic } from "../../md/format-italic"; +export { default as MdFormatLineSpacing } from "../../md/format-line-spacing"; +export { default as MdFormatListBulleted } from "../../md/format-list-bulleted"; +export { default as MdFormatListNumbered } from "../../md/format-list-numbered"; +export { default as MdFormatPaint } from "../../md/format-paint"; +export { default as MdFormatQuote } from "../../md/format-quote"; +export { default as MdFormatShapes } from "../../md/format-shapes"; +export { default as MdFormatSize } from "../../md/format-size"; +export { default as MdFormatStrikethrough } from "../../md/format-strikethrough"; +export { default as MdFormatTextdirectionLToR } from "../../md/format-textdirection-l-to-r"; +export { default as MdFormatTextdirectionRToL } from "../../md/format-textdirection-r-to-l"; +export { default as MdFormatUnderlined } from "../../md/format-underlined"; +export { default as MdForum } from "../../md/forum"; +export { default as MdForward10 } from "../../md/forward-10"; +export { default as MdForward30 } from "../../md/forward-30"; +export { default as MdForward5 } from "../../md/forward-5"; +export { default as MdForward } from "../../md/forward"; +export { default as MdFreeBreakfast } from "../../md/free-breakfast"; +export { default as MdFullscreenExit } from "../../md/fullscreen-exit"; +export { default as MdFullscreen } from "../../md/fullscreen"; +export { default as MdFunctions } from "../../md/functions"; +export { default as MdGTranslate } from "../../md/g-translate"; +export { default as MdGamepad } from "../../md/gamepad"; +export { default as MdGames } from "../../md/games"; +export { default as MdGavel } from "../../md/gavel"; +export { default as MdGesture } from "../../md/gesture"; +export { default as MdGetApp } from "../../md/get-app"; +export { default as MdGif } from "../../md/gif"; +export { default as MdGoat } from "../../md/goat"; +export { default as MdGolfCourse } from "../../md/golf-course"; +export { default as MdGpsFixed } from "../../md/gps-fixed"; +export { default as MdGpsNotFixed } from "../../md/gps-not-fixed"; +export { default as MdGpsOff } from "../../md/gps-off"; +export { default as MdGrade } from "../../md/grade"; +export { default as MdGradient } from "../../md/gradient"; +export { default as MdGrain } from "../../md/grain"; +export { default as MdGraphicEq } from "../../md/graphic-eq"; +export { default as MdGridOff } from "../../md/grid-off"; +export { default as MdGridOn } from "../../md/grid-on"; +export { default as MdGroupAdd } from "../../md/group-add"; +export { default as MdGroupWork } from "../../md/group-work"; +export { default as MdGroup } from "../../md/group"; +export { default as MdHd } from "../../md/hd"; +export { default as MdHdrOff } from "../../md/hdr-off"; +export { default as MdHdrOn } from "../../md/hdr-on"; +export { default as MdHdrStrong } from "../../md/hdr-strong"; +export { default as MdHdrWeak } from "../../md/hdr-weak"; +export { default as MdHeadsetMic } from "../../md/headset-mic"; +export { default as MdHeadset } from "../../md/headset"; +export { default as MdHealing } from "../../md/healing"; +export { default as MdHearing } from "../../md/hearing"; +export { default as MdHelpOutline } from "../../md/help-outline"; +export { default as MdHelp } from "../../md/help"; +export { default as MdHighQuality } from "../../md/high-quality"; +export { default as MdHighlightOff } from "../../md/highlight-off"; +export { default as MdHighlightRemove } from "../../md/highlight-remove"; +export { default as MdHighlight } from "../../md/highlight"; +export { default as MdHistory } from "../../md/history"; +export { default as MdHome } from "../../md/home"; +export { default as MdHotTub } from "../../md/hot-tub"; +export { default as MdHotel } from "../../md/hotel"; +export { default as MdHourglassEmpty } from "../../md/hourglass-empty"; +export { default as MdHourglassFull } from "../../md/hourglass-full"; +export { default as MdHttp } from "../../md/http"; +export { default as MdHttps } from "../../md/https"; +export { default as MdImageAspectRatio } from "../../md/image-aspect-ratio"; +export { default as MdImage } from "../../md/image"; +export { default as MdImportContacts } from "../../md/import-contacts"; +export { default as MdImportExport } from "../../md/import-export"; +export { default as MdImportantDevices } from "../../md/important-devices"; +export { default as MdInbox } from "../../md/inbox"; +export { default as MdIndeterminateCheckBox } from "../../md/indeterminate-check-box"; +export { default as MdInfoOutline } from "../../md/info-outline"; +export { default as MdInfo } from "../../md/info"; +export { default as MdInput } from "../../md/input"; +export { default as MdInsertChart } from "../../md/insert-chart"; +export { default as MdInsertComment } from "../../md/insert-comment"; +export { default as MdInsertDriveFile } from "../../md/insert-drive-file"; +export { default as MdInsertEmoticon } from "../../md/insert-emoticon"; +export { default as MdInsertInvitation } from "../../md/insert-invitation"; +export { default as MdInsertLink } from "../../md/insert-link"; +export { default as MdInsertPhoto } from "../../md/insert-photo"; +export { default as MdInvertColorsOff } from "../../md/invert-colors-off"; +export { default as MdInvertColorsOn } from "../../md/invert-colors-on"; +export { default as MdInvertColors } from "../../md/invert-colors"; +export { default as MdIso } from "../../md/iso"; +export { default as MdKeyboardArrowDown } from "../../md/keyboard-arrow-down"; +export { default as MdKeyboardArrowLeft } from "../../md/keyboard-arrow-left"; +export { default as MdKeyboardArrowRight } from "../../md/keyboard-arrow-right"; +export { default as MdKeyboardArrowUp } from "../../md/keyboard-arrow-up"; +export { default as MdKeyboardBackspace } from "../../md/keyboard-backspace"; +export { default as MdKeyboardCapslock } from "../../md/keyboard-capslock"; +export { default as MdKeyboardControl } from "../../md/keyboard-control"; +export { default as MdKeyboardHide } from "../../md/keyboard-hide"; +export { default as MdKeyboardReturn } from "../../md/keyboard-return"; +export { default as MdKeyboardTab } from "../../md/keyboard-tab"; +export { default as MdKeyboardVoice } from "../../md/keyboard-voice"; +export { default as MdKeyboard } from "../../md/keyboard"; +export { default as MdKitchen } from "../../md/kitchen"; +export { default as MdLabelOutline } from "../../md/label-outline"; +export { default as MdLabel } from "../../md/label"; +export { default as MdLandscape } from "../../md/landscape"; +export { default as MdLanguage } from "../../md/language"; +export { default as MdLaptopChromebook } from "../../md/laptop-chromebook"; +export { default as MdLaptopMac } from "../../md/laptop-mac"; +export { default as MdLaptopWindows } from "../../md/laptop-windows"; +export { default as MdLaptop } from "../../md/laptop"; +export { default as MdLastPage } from "../../md/last-page"; +export { default as MdLaunch } from "../../md/launch"; +export { default as MdLayersClear } from "../../md/layers-clear"; +export { default as MdLayers } from "../../md/layers"; +export { default as MdLeakAdd } from "../../md/leak-add"; +export { default as MdLeakRemove } from "../../md/leak-remove"; +export { default as MdLens } from "../../md/lens"; +export { default as MdLibraryAdd } from "../../md/library-add"; +export { default as MdLibraryBooks } from "../../md/library-books"; +export { default as MdLibraryMusic } from "../../md/library-music"; +export { default as MdLightbulbOutline } from "../../md/lightbulb-outline"; +export { default as MdLineStyle } from "../../md/line-style"; +export { default as MdLineWeight } from "../../md/line-weight"; +export { default as MdLinearScale } from "../../md/linear-scale"; +export { default as MdLink } from "../../md/link"; +export { default as MdLinkedCamera } from "../../md/linked-camera"; +export { default as MdList } from "../../md/list"; +export { default as MdLiveHelp } from "../../md/live-help"; +export { default as MdLiveTv } from "../../md/live-tv"; +export { default as MdLocalAirport } from "../../md/local-airport"; +export { default as MdLocalAtm } from "../../md/local-atm"; +export { default as MdLocalAttraction } from "../../md/local-attraction"; +export { default as MdLocalBar } from "../../md/local-bar"; +export { default as MdLocalCafe } from "../../md/local-cafe"; +export { default as MdLocalCarWash } from "../../md/local-car-wash"; +export { default as MdLocalConvenienceStore } from "../../md/local-convenience-store"; +export { default as MdLocalDrink } from "../../md/local-drink"; +export { default as MdLocalFlorist } from "../../md/local-florist"; +export { default as MdLocalGasStation } from "../../md/local-gas-station"; +export { default as MdLocalGroceryStore } from "../../md/local-grocery-store"; +export { default as MdLocalHospital } from "../../md/local-hospital"; +export { default as MdLocalHotel } from "../../md/local-hotel"; +export { default as MdLocalLaundryService } from "../../md/local-laundry-service"; +export { default as MdLocalLibrary } from "../../md/local-library"; +export { default as MdLocalMall } from "../../md/local-mall"; +export { default as MdLocalMovies } from "../../md/local-movies"; +export { default as MdLocalOffer } from "../../md/local-offer"; +export { default as MdLocalParking } from "../../md/local-parking"; +export { default as MdLocalPharmacy } from "../../md/local-pharmacy"; +export { default as MdLocalPhone } from "../../md/local-phone"; +export { default as MdLocalPizza } from "../../md/local-pizza"; +export { default as MdLocalPlay } from "../../md/local-play"; +export { default as MdLocalPostOffice } from "../../md/local-post-office"; +export { default as MdLocalPrintShop } from "../../md/local-print-shop"; +export { default as MdLocalRestaurant } from "../../md/local-restaurant"; +export { default as MdLocalSee } from "../../md/local-see"; +export { default as MdLocalShipping } from "../../md/local-shipping"; +export { default as MdLocalTaxi } from "../../md/local-taxi"; +export { default as MdLocationCity } from "../../md/location-city"; +export { default as MdLocationDisabled } from "../../md/location-disabled"; +export { default as MdLocationHistory } from "../../md/location-history"; +export { default as MdLocationOff } from "../../md/location-off"; +export { default as MdLocationOn } from "../../md/location-on"; +export { default as MdLocationSearching } from "../../md/location-searching"; +export { default as MdLockOpen } from "../../md/lock-open"; +export { default as MdLockOutline } from "../../md/lock-outline"; +export { default as MdLock } from "../../md/lock"; +export { default as MdLooks3 } from "../../md/looks-3"; +export { default as MdLooks4 } from "../../md/looks-4"; +export { default as MdLooks5 } from "../../md/looks-5"; +export { default as MdLooks6 } from "../../md/looks-6"; +export { default as MdLooksOne } from "../../md/looks-one"; +export { default as MdLooksTwo } from "../../md/looks-two"; +export { default as MdLooks } from "../../md/looks"; +export { default as MdLoop } from "../../md/loop"; +export { default as MdLoupe } from "../../md/loupe"; +export { default as MdLowPriority } from "../../md/low-priority"; +export { default as MdLoyalty } from "../../md/loyalty"; +export { default as MdMailOutline } from "../../md/mail-outline"; +export { default as MdMail } from "../../md/mail"; +export { default as MdMap } from "../../md/map"; +export { default as MdMarkunreadMailbox } from "../../md/markunread-mailbox"; +export { default as MdMarkunread } from "../../md/markunread"; +export { default as MdMemory } from "../../md/memory"; +export { default as MdMenu } from "../../md/menu"; +export { default as MdMergeType } from "../../md/merge-type"; +export { default as MdMessage } from "../../md/message"; +export { default as MdMicNone } from "../../md/mic-none"; +export { default as MdMicOff } from "../../md/mic-off"; +export { default as MdMic } from "../../md/mic"; +export { default as MdMms } from "../../md/mms"; +export { default as MdModeComment } from "../../md/mode-comment"; +export { default as MdModeEdit } from "../../md/mode-edit"; +export { default as MdMonetizationOn } from "../../md/monetization-on"; +export { default as MdMoneyOff } from "../../md/money-off"; +export { default as MdMonochromePhotos } from "../../md/monochrome-photos"; +export { default as MdMoodBad } from "../../md/mood-bad"; +export { default as MdMood } from "../../md/mood"; +export { default as MdMoreHoriz } from "../../md/more-horiz"; +export { default as MdMoreVert } from "../../md/more-vert"; +export { default as MdMore } from "../../md/more"; +export { default as MdMotorcycle } from "../../md/motorcycle"; +export { default as MdMouse } from "../../md/mouse"; +export { default as MdMoveToInbox } from "../../md/move-to-inbox"; +export { default as MdMovieCreation } from "../../md/movie-creation"; +export { default as MdMovieFilter } from "../../md/movie-filter"; +export { default as MdMovie } from "../../md/movie"; +export { default as MdMultilineChart } from "../../md/multiline-chart"; +export { default as MdMusicNote } from "../../md/music-note"; +export { default as MdMusicVideo } from "../../md/music-video"; +export { default as MdMyLocation } from "../../md/my-location"; +export { default as MdNaturePeople } from "../../md/nature-people"; +export { default as MdNature } from "../../md/nature"; +export { default as MdNavigateBefore } from "../../md/navigate-before"; +export { default as MdNavigateNext } from "../../md/navigate-next"; +export { default as MdNavigation } from "../../md/navigation"; +export { default as MdNearMe } from "../../md/near-me"; +export { default as MdNetworkCell } from "../../md/network-cell"; +export { default as MdNetworkCheck } from "../../md/network-check"; +export { default as MdNetworkLocked } from "../../md/network-locked"; +export { default as MdNetworkWifi } from "../../md/network-wifi"; +export { default as MdNewReleases } from "../../md/new-releases"; +export { default as MdNextWeek } from "../../md/next-week"; +export { default as MdNfc } from "../../md/nfc"; +export { default as MdNoEncryption } from "../../md/no-encryption"; +export { default as MdNoSim } from "../../md/no-sim"; +export { default as MdNotInterested } from "../../md/not-interested"; +export { default as MdNoteAdd } from "../../md/note-add"; +export { default as MdNote } from "../../md/note"; +export { default as MdNotificationsActive } from "../../md/notifications-active"; +export { default as MdNotificationsNone } from "../../md/notifications-none"; +export { default as MdNotificationsOff } from "../../md/notifications-off"; +export { default as MdNotificationsPaused } from "../../md/notifications-paused"; +export { default as MdNotifications } from "../../md/notifications"; +export { default as MdNowWallpaper } from "../../md/now-wallpaper"; +export { default as MdNowWidgets } from "../../md/now-widgets"; +export { default as MdOfflinePin } from "../../md/offline-pin"; +export { default as MdOndemandVideo } from "../../md/ondemand-video"; +export { default as MdOpacity } from "../../md/opacity"; +export { default as MdOpenInBrowser } from "../../md/open-in-browser"; +export { default as MdOpenInNew } from "../../md/open-in-new"; +export { default as MdOpenWith } from "../../md/open-with"; +export { default as MdPages } from "../../md/pages"; +export { default as MdPageview } from "../../md/pageview"; +export { default as MdPalette } from "../../md/palette"; +export { default as MdPanTool } from "../../md/pan-tool"; +export { default as MdPanoramaFishEye } from "../../md/panorama-fish-eye"; +export { default as MdPanoramaHorizontal } from "../../md/panorama-horizontal"; +export { default as MdPanoramaVertical } from "../../md/panorama-vertical"; +export { default as MdPanoramaWideAngle } from "../../md/panorama-wide-angle"; +export { default as MdPanorama } from "../../md/panorama"; +export { default as MdPartyMode } from "../../md/party-mode"; +export { default as MdPauseCircleFilled } from "../../md/pause-circle-filled"; +export { default as MdPauseCircleOutline } from "../../md/pause-circle-outline"; +export { default as MdPause } from "../../md/pause"; +export { default as MdPayment } from "../../md/payment"; +export { default as MdPeopleOutline } from "../../md/people-outline"; +export { default as MdPeople } from "../../md/people"; +export { default as MdPermCameraMic } from "../../md/perm-camera-mic"; +export { default as MdPermContactCalendar } from "../../md/perm-contact-calendar"; +export { default as MdPermDataSetting } from "../../md/perm-data-setting"; +export { default as MdPermDeviceInformation } from "../../md/perm-device-information"; +export { default as MdPermIdentity } from "../../md/perm-identity"; +export { default as MdPermMedia } from "../../md/perm-media"; +export { default as MdPermPhoneMsg } from "../../md/perm-phone-msg"; +export { default as MdPermScanWifi } from "../../md/perm-scan-wifi"; +export { default as MdPersonAdd } from "../../md/person-add"; +export { default as MdPersonOutline } from "../../md/person-outline"; +export { default as MdPersonPinCircle } from "../../md/person-pin-circle"; +export { default as MdPersonPin } from "../../md/person-pin"; +export { default as MdPerson } from "../../md/person"; +export { default as MdPersonalVideo } from "../../md/personal-video"; +export { default as MdPets } from "../../md/pets"; +export { default as MdPhoneAndroid } from "../../md/phone-android"; +export { default as MdPhoneBluetoothSpeaker } from "../../md/phone-bluetooth-speaker"; +export { default as MdPhoneForwarded } from "../../md/phone-forwarded"; +export { default as MdPhoneInTalk } from "../../md/phone-in-talk"; +export { default as MdPhoneIphone } from "../../md/phone-iphone"; +export { default as MdPhoneLocked } from "../../md/phone-locked"; +export { default as MdPhoneMissed } from "../../md/phone-missed"; +export { default as MdPhonePaused } from "../../md/phone-paused"; +export { default as MdPhone } from "../../md/phone"; +export { default as MdPhonelinkErase } from "../../md/phonelink-erase"; +export { default as MdPhonelinkLock } from "../../md/phonelink-lock"; +export { default as MdPhonelinkOff } from "../../md/phonelink-off"; +export { default as MdPhonelinkRing } from "../../md/phonelink-ring"; +export { default as MdPhonelinkSetup } from "../../md/phonelink-setup"; +export { default as MdPhonelink } from "../../md/phonelink"; +export { default as MdPhotoAlbum } from "../../md/photo-album"; +export { default as MdPhotoCamera } from "../../md/photo-camera"; +export { default as MdPhotoFilter } from "../../md/photo-filter"; +export { default as MdPhotoLibrary } from "../../md/photo-library"; +export { default as MdPhotoSizeSelectActual } from "../../md/photo-size-select-actual"; +export { default as MdPhotoSizeSelectLarge } from "../../md/photo-size-select-large"; +export { default as MdPhotoSizeSelectSmall } from "../../md/photo-size-select-small"; +export { default as MdPhoto } from "../../md/photo"; +export { default as MdPictureAsPdf } from "../../md/picture-as-pdf"; +export { default as MdPictureInPictureAlt } from "../../md/picture-in-picture-alt"; +export { default as MdPictureInPicture } from "../../md/picture-in-picture"; +export { default as MdPieChartOutlined } from "../../md/pie-chart-outlined"; +export { default as MdPieChart } from "../../md/pie-chart"; +export { default as MdPinDrop } from "../../md/pin-drop"; +export { default as MdPlace } from "../../md/place"; +export { default as MdPlayArrow } from "../../md/play-arrow"; +export { default as MdPlayCircleFilled } from "../../md/play-circle-filled"; +export { default as MdPlayCircleOutline } from "../../md/play-circle-outline"; +export { default as MdPlayForWork } from "../../md/play-for-work"; +export { default as MdPlaylistAddCheck } from "../../md/playlist-add-check"; +export { default as MdPlaylistAdd } from "../../md/playlist-add"; +export { default as MdPlaylistPlay } from "../../md/playlist-play"; +export { default as MdPlusOne } from "../../md/plus-one"; +export { default as MdPoll } from "../../md/poll"; +export { default as MdPolymer } from "../../md/polymer"; +export { default as MdPool } from "../../md/pool"; +export { default as MdPortableWifiOff } from "../../md/portable-wifi-off"; +export { default as MdPortrait } from "../../md/portrait"; +export { default as MdPowerInput } from "../../md/power-input"; +export { default as MdPowerSettingsNew } from "../../md/power-settings-new"; +export { default as MdPower } from "../../md/power"; +export { default as MdPregnantWoman } from "../../md/pregnant-woman"; +export { default as MdPresentToAll } from "../../md/present-to-all"; +export { default as MdPrint } from "../../md/print"; +export { default as MdPriorityHigh } from "../../md/priority-high"; +export { default as MdPublic } from "../../md/public"; +export { default as MdPublish } from "../../md/publish"; +export { default as MdQueryBuilder } from "../../md/query-builder"; +export { default as MdQuestionAnswer } from "../../md/question-answer"; +export { default as MdQueueMusic } from "../../md/queue-music"; +export { default as MdQueuePlayNext } from "../../md/queue-play-next"; +export { default as MdQueue } from "../../md/queue"; +export { default as MdRadioButtonChecked } from "../../md/radio-button-checked"; +export { default as MdRadioButtonUnchecked } from "../../md/radio-button-unchecked"; +export { default as MdRadio } from "../../md/radio"; +export { default as MdRateReview } from "../../md/rate-review"; +export { default as MdReceipt } from "../../md/receipt"; +export { default as MdRecentActors } from "../../md/recent-actors"; +export { default as MdRecordVoiceOver } from "../../md/record-voice-over"; +export { default as MdRedeem } from "../../md/redeem"; +export { default as MdRedo } from "../../md/redo"; +export { default as MdRefresh } from "../../md/refresh"; +export { default as MdRemoveCircleOutline } from "../../md/remove-circle-outline"; +export { default as MdRemoveCircle } from "../../md/remove-circle"; +export { default as MdRemoveFromQueue } from "../../md/remove-from-queue"; +export { default as MdRemoveRedEye } from "../../md/remove-red-eye"; +export { default as MdRemoveShoppingCart } from "../../md/remove-shopping-cart"; +export { default as MdRemove } from "../../md/remove"; +export { default as MdReorder } from "../../md/reorder"; +export { default as MdRepeatOne } from "../../md/repeat-one"; +export { default as MdRepeat } from "../../md/repeat"; +export { default as MdReplay10 } from "../../md/replay-10"; +export { default as MdReplay30 } from "../../md/replay-30"; +export { default as MdReplay5 } from "../../md/replay-5"; +export { default as MdReplay } from "../../md/replay"; +export { default as MdReplyAll } from "../../md/reply-all"; +export { default as MdReply } from "../../md/reply"; +export { default as MdReportProblem } from "../../md/report-problem"; +export { default as MdReport } from "../../md/report"; +export { default as MdRestaurantMenu } from "../../md/restaurant-menu"; +export { default as MdRestaurant } from "../../md/restaurant"; +export { default as MdRestorePage } from "../../md/restore-page"; +export { default as MdRestore } from "../../md/restore"; +export { default as MdRingVolume } from "../../md/ring-volume"; +export { default as MdRoomService } from "../../md/room-service"; +export { default as MdRoom } from "../../md/room"; +export { default as MdRotate90DegreesCcw } from "../../md/rotate-90-degrees-ccw"; +export { default as MdRotateLeft } from "../../md/rotate-left"; +export { default as MdRotateRight } from "../../md/rotate-right"; +export { default as MdRoundedCorner } from "../../md/rounded-corner"; +export { default as MdRouter } from "../../md/router"; +export { default as MdRowing } from "../../md/rowing"; +export { default as MdRssFeed } from "../../md/rss-feed"; +export { default as MdRvHookup } from "../../md/rv-hookup"; +export { default as MdSatellite } from "../../md/satellite"; +export { default as MdSave } from "../../md/save"; +export { default as MdScanner } from "../../md/scanner"; +export { default as MdSchedule } from "../../md/schedule"; +export { default as MdSchool } from "../../md/school"; +export { default as MdScreenLockLandscape } from "../../md/screen-lock-landscape"; +export { default as MdScreenLockPortrait } from "../../md/screen-lock-portrait"; +export { default as MdScreenLockRotation } from "../../md/screen-lock-rotation"; +export { default as MdScreenRotation } from "../../md/screen-rotation"; +export { default as MdScreenShare } from "../../md/screen-share"; +export { default as MdSdCard } from "../../md/sd-card"; +export { default as MdSdStorage } from "../../md/sd-storage"; +export { default as MdSearch } from "../../md/search"; +export { default as MdSecurity } from "../../md/security"; +export { default as MdSelectAll } from "../../md/select-all"; +export { default as MdSend } from "../../md/send"; +export { default as MdSentimentDissatisfied } from "../../md/sentiment-dissatisfied"; +export { default as MdSentimentNeutral } from "../../md/sentiment-neutral"; +export { default as MdSentimentSatisfied } from "../../md/sentiment-satisfied"; +export { default as MdSentimentVeryDissatisfied } from "../../md/sentiment-very-dissatisfied"; +export { default as MdSentimentVerySatisfied } from "../../md/sentiment-very-satisfied"; +export { default as MdSettingsApplications } from "../../md/settings-applications"; +export { default as MdSettingsBackupRestore } from "../../md/settings-backup-restore"; +export { default as MdSettingsBluetooth } from "../../md/settings-bluetooth"; +export { default as MdSettingsBrightness } from "../../md/settings-brightness"; +export { default as MdSettingsCell } from "../../md/settings-cell"; +export { default as MdSettingsEthernet } from "../../md/settings-ethernet"; +export { default as MdSettingsInputAntenna } from "../../md/settings-input-antenna"; +export { default as MdSettingsInputComponent } from "../../md/settings-input-component"; +export { default as MdSettingsInputComposite } from "../../md/settings-input-composite"; +export { default as MdSettingsInputHdmi } from "../../md/settings-input-hdmi"; +export { default as MdSettingsInputSvideo } from "../../md/settings-input-svideo"; +export { default as MdSettingsOverscan } from "../../md/settings-overscan"; +export { default as MdSettingsPhone } from "../../md/settings-phone"; +export { default as MdSettingsPower } from "../../md/settings-power"; +export { default as MdSettingsRemote } from "../../md/settings-remote"; +export { default as MdSettingsSystemDaydream } from "../../md/settings-system-daydream"; +export { default as MdSettingsVoice } from "../../md/settings-voice"; +export { default as MdSettings } from "../../md/settings"; +export { default as MdShare } from "../../md/share"; +export { default as MdShopTwo } from "../../md/shop-two"; +export { default as MdShop } from "../../md/shop"; +export { default as MdShoppingBasket } from "../../md/shopping-basket"; +export { default as MdShoppingCart } from "../../md/shopping-cart"; +export { default as MdShortText } from "../../md/short-text"; +export { default as MdShowChart } from "../../md/show-chart"; +export { default as MdShuffle } from "../../md/shuffle"; +export { default as MdSignalCellular4Bar } from "../../md/signal-cellular-4-bar"; +export { default as MdSignalCellularConnectedNoInternet4Bar } from "../../md/signal-cellular-connected-no-internet-4-bar"; +export { default as MdSignalCellularNoSim } from "../../md/signal-cellular-no-sim"; +export { default as MdSignalCellularNull } from "../../md/signal-cellular-null"; +export { default as MdSignalCellularOff } from "../../md/signal-cellular-off"; +export { default as MdSignalWifi4BarLock } from "../../md/signal-wifi-4-bar-lock"; +export { default as MdSignalWifi4Bar } from "../../md/signal-wifi-4-bar"; +export { default as MdSignalWifiOff } from "../../md/signal-wifi-off"; +export { default as MdSimCardAlert } from "../../md/sim-card-alert"; +export { default as MdSimCard } from "../../md/sim-card"; +export { default as MdSkipNext } from "../../md/skip-next"; +export { default as MdSkipPrevious } from "../../md/skip-previous"; +export { default as MdSlideshow } from "../../md/slideshow"; +export { default as MdSlowMotionVideo } from "../../md/slow-motion-video"; +export { default as MdSmartphone } from "../../md/smartphone"; +export { default as MdSmokeFree } from "../../md/smoke-free"; +export { default as MdSmokingRooms } from "../../md/smoking-rooms"; +export { default as MdSmsFailed } from "../../md/sms-failed"; +export { default as MdSms } from "../../md/sms"; +export { default as MdSnooze } from "../../md/snooze"; +export { default as MdSortByAlpha } from "../../md/sort-by-alpha"; +export { default as MdSort } from "../../md/sort"; +export { default as MdSpa } from "../../md/spa"; +export { default as MdSpaceBar } from "../../md/space-bar"; +export { default as MdSpeakerGroup } from "../../md/speaker-group"; +export { default as MdSpeakerNotesOff } from "../../md/speaker-notes-off"; +export { default as MdSpeakerNotes } from "../../md/speaker-notes"; +export { default as MdSpeakerPhone } from "../../md/speaker-phone"; +export { default as MdSpeaker } from "../../md/speaker"; +export { default as MdSpellcheck } from "../../md/spellcheck"; +export { default as MdStarBorder } from "../../md/star-border"; +export { default as MdStarHalf } from "../../md/star-half"; +export { default as MdStarOutline } from "../../md/star-outline"; +export { default as MdStar } from "../../md/star"; +export { default as MdStars } from "../../md/stars"; +export { default as MdStayCurrentLandscape } from "../../md/stay-current-landscape"; +export { default as MdStayCurrentPortrait } from "../../md/stay-current-portrait"; +export { default as MdStayPrimaryLandscape } from "../../md/stay-primary-landscape"; +export { default as MdStayPrimaryPortrait } from "../../md/stay-primary-portrait"; +export { default as MdStopScreenShare } from "../../md/stop-screen-share"; +export { default as MdStop } from "../../md/stop"; +export { default as MdStorage } from "../../md/storage"; +export { default as MdStoreMallDirectory } from "../../md/store-mall-directory"; +export { default as MdStore } from "../../md/store"; +export { default as MdStraighten } from "../../md/straighten"; +export { default as MdStreetview } from "../../md/streetview"; +export { default as MdStrikethroughS } from "../../md/strikethrough-s"; +export { default as MdStyle } from "../../md/style"; +export { default as MdSubdirectoryArrowLeft } from "../../md/subdirectory-arrow-left"; +export { default as MdSubdirectoryArrowRight } from "../../md/subdirectory-arrow-right"; +export { default as MdSubject } from "../../md/subject"; +export { default as MdSubscriptions } from "../../md/subscriptions"; +export { default as MdSubtitles } from "../../md/subtitles"; +export { default as MdSubway } from "../../md/subway"; +export { default as MdSupervisorAccount } from "../../md/supervisor-account"; +export { default as MdSurroundSound } from "../../md/surround-sound"; +export { default as MdSwapCalls } from "../../md/swap-calls"; +export { default as MdSwapHoriz } from "../../md/swap-horiz"; +export { default as MdSwapVert } from "../../md/swap-vert"; +export { default as MdSwapVerticalCircle } from "../../md/swap-vertical-circle"; +export { default as MdSwitchCamera } from "../../md/switch-camera"; +export { default as MdSwitchVideo } from "../../md/switch-video"; +export { default as MdSyncDisabled } from "../../md/sync-disabled"; +export { default as MdSyncProblem } from "../../md/sync-problem"; +export { default as MdSync } from "../../md/sync"; +export { default as MdSystemUpdateAlt } from "../../md/system-update-alt"; +export { default as MdSystemUpdate } from "../../md/system-update"; +export { default as MdTabUnselected } from "../../md/tab-unselected"; +export { default as MdTab } from "../../md/tab"; +export { default as MdTabletAndroid } from "../../md/tablet-android"; +export { default as MdTabletMac } from "../../md/tablet-mac"; +export { default as MdTablet } from "../../md/tablet"; +export { default as MdTagFaces } from "../../md/tag-faces"; +export { default as MdTapAndPlay } from "../../md/tap-and-play"; +export { default as MdTerrain } from "../../md/terrain"; +export { default as MdTextFields } from "../../md/text-fields"; +export { default as MdTextFormat } from "../../md/text-format"; +export { default as MdTextsms } from "../../md/textsms"; +export { default as MdTexture } from "../../md/texture"; +export { default as MdTheaters } from "../../md/theaters"; +export { default as MdThumbDown } from "../../md/thumb-down"; +export { default as MdThumbUp } from "../../md/thumb-up"; +export { default as MdThumbsUpDown } from "../../md/thumbs-up-down"; +export { default as MdTimeToLeave } from "../../md/time-to-leave"; +export { default as MdTimelapse } from "../../md/timelapse"; +export { default as MdTimeline } from "../../md/timeline"; +export { default as MdTimer10 } from "../../md/timer-10"; +export { default as MdTimer3 } from "../../md/timer-3"; +export { default as MdTimerOff } from "../../md/timer-off"; +export { default as MdTimer } from "../../md/timer"; +export { default as MdTitle } from "../../md/title"; +export { default as MdToc } from "../../md/toc"; +export { default as MdToday } from "../../md/today"; +export { default as MdToll } from "../../md/toll"; +export { default as MdTonality } from "../../md/tonality"; +export { default as MdTouchApp } from "../../md/touch-app"; +export { default as MdToys } from "../../md/toys"; +export { default as MdTrackChanges } from "../../md/track-changes"; +export { default as MdTraffic } from "../../md/traffic"; +export { default as MdTrain } from "../../md/train"; +export { default as MdTram } from "../../md/tram"; +export { default as MdTransferWithinAStation } from "../../md/transfer-within-a-station"; +export { default as MdTransform } from "../../md/transform"; +export { default as MdTranslate } from "../../md/translate"; +export { default as MdTrendingDown } from "../../md/trending-down"; +export { default as MdTrendingFlat } from "../../md/trending-flat"; +export { default as MdTrendingNeutral } from "../../md/trending-neutral"; +export { default as MdTrendingUp } from "../../md/trending-up"; +export { default as MdTune } from "../../md/tune"; +export { default as MdTurnedInNot } from "../../md/turned-in-not"; +export { default as MdTurnedIn } from "../../md/turned-in"; +export { default as MdTv } from "../../md/tv"; +export { default as MdUnarchive } from "../../md/unarchive"; +export { default as MdUndo } from "../../md/undo"; +export { default as MdUnfoldLess } from "../../md/unfold-less"; +export { default as MdUnfoldMore } from "../../md/unfold-more"; +export { default as MdUpdate } from "../../md/update"; +export { default as MdUsb } from "../../md/usb"; +export { default as MdVerifiedUser } from "../../md/verified-user"; +export { default as MdVerticalAlignBottom } from "../../md/vertical-align-bottom"; +export { default as MdVerticalAlignCenter } from "../../md/vertical-align-center"; +export { default as MdVerticalAlignTop } from "../../md/vertical-align-top"; +export { default as MdVibration } from "../../md/vibration"; +export { default as MdVideoCall } from "../../md/video-call"; +export { default as MdVideoCollection } from "../../md/video-collection"; +export { default as MdVideoLabel } from "../../md/video-label"; +export { default as MdVideoLibrary } from "../../md/video-library"; +export { default as MdVideocamOff } from "../../md/videocam-off"; +export { default as MdVideocam } from "../../md/videocam"; +export { default as MdVideogameAsset } from "../../md/videogame-asset"; +export { default as MdViewAgenda } from "../../md/view-agenda"; +export { default as MdViewArray } from "../../md/view-array"; +export { default as MdViewCarousel } from "../../md/view-carousel"; +export { default as MdViewColumn } from "../../md/view-column"; +export { default as MdViewComfortable } from "../../md/view-comfortable"; +export { default as MdViewComfy } from "../../md/view-comfy"; +export { default as MdViewCompact } from "../../md/view-compact"; +export { default as MdViewDay } from "../../md/view-day"; +export { default as MdViewHeadline } from "../../md/view-headline"; +export { default as MdViewList } from "../../md/view-list"; +export { default as MdViewModule } from "../../md/view-module"; +export { default as MdViewQuilt } from "../../md/view-quilt"; +export { default as MdViewStream } from "../../md/view-stream"; +export { default as MdViewWeek } from "../../md/view-week"; +export { default as MdVignette } from "../../md/vignette"; +export { default as MdVisibilityOff } from "../../md/visibility-off"; +export { default as MdVisibility } from "../../md/visibility"; +export { default as MdVoiceChat } from "../../md/voice-chat"; +export { default as MdVoicemail } from "../../md/voicemail"; +export { default as MdVolumeDown } from "../../md/volume-down"; +export { default as MdVolumeMute } from "../../md/volume-mute"; +export { default as MdVolumeOff } from "../../md/volume-off"; +export { default as MdVolumeUp } from "../../md/volume-up"; +export { default as MdVpnKey } from "../../md/vpn-key"; +export { default as MdVpnLock } from "../../md/vpn-lock"; +export { default as MdWallpaper } from "../../md/wallpaper"; +export { default as MdWarning } from "../../md/warning"; +export { default as MdWatchLater } from "../../md/watch-later"; +export { default as MdWatch } from "../../md/watch"; +export { default as MdWbAuto } from "../../md/wb-auto"; +export { default as MdWbCloudy } from "../../md/wb-cloudy"; +export { default as MdWbIncandescent } from "../../md/wb-incandescent"; +export { default as MdWbIridescent } from "../../md/wb-iridescent"; +export { default as MdWbSunny } from "../../md/wb-sunny"; +export { default as MdWc } from "../../md/wc"; +export { default as MdWebAsset } from "../../md/web-asset"; +export { default as MdWeb } from "../../md/web"; +export { default as MdWeekend } from "../../md/weekend"; +export { default as MdWhatshot } from "../../md/whatshot"; +export { default as MdWidgets } from "../../md/widgets"; +export { default as MdWifiLock } from "../../md/wifi-lock"; +export { default as MdWifiTethering } from "../../md/wifi-tethering"; +export { default as MdWifi } from "../../md/wifi"; +export { default as MdWork } from "../../md/work"; +export { default as MdWrapText } from "../../md/wrap-text"; +export { default as MdYoutubeSearchedFor } from "../../md/youtube-searched-for"; +export { default as MdZoomIn } from "../../md/zoom-in"; +export { default as MdZoomOutMap } from "../../md/zoom-out-map"; +export { default as MdZoomOut } from "../../md/zoom-out"; diff --git a/types/react-icons/lib/md/info-outline.d.ts b/types/react-icons/lib/md/info-outline.d.ts index 6ac0500f92..5637358a59 100644 --- a/types/react-icons/lib/md/info-outline.d.ts +++ b/types/react-icons/lib/md/info-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdInfoOutline extends React.Component<IconBaseProps> { } +declare class MdInfoOutline extends React.Component<IconBaseProps> { } +export = MdInfoOutline; diff --git a/types/react-icons/lib/md/info.d.ts b/types/react-icons/lib/md/info.d.ts index c16ac1add7..4ab7948826 100644 --- a/types/react-icons/lib/md/info.d.ts +++ b/types/react-icons/lib/md/info.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdInfo extends React.Component<IconBaseProps> { } +declare class MdInfo extends React.Component<IconBaseProps> { } +export = MdInfo; diff --git a/types/react-icons/lib/md/input.d.ts b/types/react-icons/lib/md/input.d.ts index 1d620b29c8..8b3f4b415a 100644 --- a/types/react-icons/lib/md/input.d.ts +++ b/types/react-icons/lib/md/input.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdInput extends React.Component<IconBaseProps> { } +declare class MdInput extends React.Component<IconBaseProps> { } +export = MdInput; diff --git a/types/react-icons/lib/md/insert-chart.d.ts b/types/react-icons/lib/md/insert-chart.d.ts index c3f11f837a..3b8d6c13e2 100644 --- a/types/react-icons/lib/md/insert-chart.d.ts +++ b/types/react-icons/lib/md/insert-chart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdInsertChart extends React.Component<IconBaseProps> { } +declare class MdInsertChart extends React.Component<IconBaseProps> { } +export = MdInsertChart; diff --git a/types/react-icons/lib/md/insert-comment.d.ts b/types/react-icons/lib/md/insert-comment.d.ts index 4e9435029c..1d2ad77e16 100644 --- a/types/react-icons/lib/md/insert-comment.d.ts +++ b/types/react-icons/lib/md/insert-comment.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdInsertComment extends React.Component<IconBaseProps> { } +declare class MdInsertComment extends React.Component<IconBaseProps> { } +export = MdInsertComment; diff --git a/types/react-icons/lib/md/insert-drive-file.d.ts b/types/react-icons/lib/md/insert-drive-file.d.ts index cbef175f50..7e20744ad2 100644 --- a/types/react-icons/lib/md/insert-drive-file.d.ts +++ b/types/react-icons/lib/md/insert-drive-file.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdInsertDriveFile extends React.Component<IconBaseProps> { } +declare class MdInsertDriveFile extends React.Component<IconBaseProps> { } +export = MdInsertDriveFile; diff --git a/types/react-icons/lib/md/insert-emoticon.d.ts b/types/react-icons/lib/md/insert-emoticon.d.ts index 5cce434cd9..c535f13a36 100644 --- a/types/react-icons/lib/md/insert-emoticon.d.ts +++ b/types/react-icons/lib/md/insert-emoticon.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdInsertEmoticon extends React.Component<IconBaseProps> { } +declare class MdInsertEmoticon extends React.Component<IconBaseProps> { } +export = MdInsertEmoticon; diff --git a/types/react-icons/lib/md/insert-invitation.d.ts b/types/react-icons/lib/md/insert-invitation.d.ts index 827e395a8d..04c3e098c6 100644 --- a/types/react-icons/lib/md/insert-invitation.d.ts +++ b/types/react-icons/lib/md/insert-invitation.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdInsertInvitation extends React.Component<IconBaseProps> { } +declare class MdInsertInvitation extends React.Component<IconBaseProps> { } +export = MdInsertInvitation; diff --git a/types/react-icons/lib/md/insert-link.d.ts b/types/react-icons/lib/md/insert-link.d.ts index 31aa91358d..83e4e38712 100644 --- a/types/react-icons/lib/md/insert-link.d.ts +++ b/types/react-icons/lib/md/insert-link.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdInsertLink extends React.Component<IconBaseProps> { } +declare class MdInsertLink extends React.Component<IconBaseProps> { } +export = MdInsertLink; diff --git a/types/react-icons/lib/md/insert-photo.d.ts b/types/react-icons/lib/md/insert-photo.d.ts index 7b023ca75f..ad583ecebc 100644 --- a/types/react-icons/lib/md/insert-photo.d.ts +++ b/types/react-icons/lib/md/insert-photo.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdInsertPhoto extends React.Component<IconBaseProps> { } +declare class MdInsertPhoto extends React.Component<IconBaseProps> { } +export = MdInsertPhoto; diff --git a/types/react-icons/lib/md/invert-colors-off.d.ts b/types/react-icons/lib/md/invert-colors-off.d.ts index bf08ac105a..0e0ae7da7f 100644 --- a/types/react-icons/lib/md/invert-colors-off.d.ts +++ b/types/react-icons/lib/md/invert-colors-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdInvertColorsOff extends React.Component<IconBaseProps> { } +declare class MdInvertColorsOff extends React.Component<IconBaseProps> { } +export = MdInvertColorsOff; diff --git a/types/react-icons/lib/md/invert-colors-on.d.ts b/types/react-icons/lib/md/invert-colors-on.d.ts index 41d3a30370..318cbdd0b3 100644 --- a/types/react-icons/lib/md/invert-colors-on.d.ts +++ b/types/react-icons/lib/md/invert-colors-on.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdInvertColorsOn extends React.Component<IconBaseProps> { } +declare class MdInvertColorsOn extends React.Component<IconBaseProps> { } +export = MdInvertColorsOn; diff --git a/types/react-icons/lib/md/invert-colors.d.ts b/types/react-icons/lib/md/invert-colors.d.ts index 6700ad9028..b07fef302d 100644 --- a/types/react-icons/lib/md/invert-colors.d.ts +++ b/types/react-icons/lib/md/invert-colors.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdInvertColors extends React.Component<IconBaseProps> { } +declare class MdInvertColors extends React.Component<IconBaseProps> { } +export = MdInvertColors; diff --git a/types/react-icons/lib/md/iso.d.ts b/types/react-icons/lib/md/iso.d.ts index 13e1d8da6c..e0dc190337 100644 --- a/types/react-icons/lib/md/iso.d.ts +++ b/types/react-icons/lib/md/iso.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdIso extends React.Component<IconBaseProps> { } +declare class MdIso extends React.Component<IconBaseProps> { } +export = MdIso; diff --git a/types/react-icons/lib/md/keyboard-arrow-down.d.ts b/types/react-icons/lib/md/keyboard-arrow-down.d.ts index 2aa3a06de4..e1ada8591b 100644 --- a/types/react-icons/lib/md/keyboard-arrow-down.d.ts +++ b/types/react-icons/lib/md/keyboard-arrow-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdKeyboardArrowDown extends React.Component<IconBaseProps> { } +declare class MdKeyboardArrowDown extends React.Component<IconBaseProps> { } +export = MdKeyboardArrowDown; diff --git a/types/react-icons/lib/md/keyboard-arrow-left.d.ts b/types/react-icons/lib/md/keyboard-arrow-left.d.ts index 6ab86f3bdc..9a617de836 100644 --- a/types/react-icons/lib/md/keyboard-arrow-left.d.ts +++ b/types/react-icons/lib/md/keyboard-arrow-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdKeyboardArrowLeft extends React.Component<IconBaseProps> { } +declare class MdKeyboardArrowLeft extends React.Component<IconBaseProps> { } +export = MdKeyboardArrowLeft; diff --git a/types/react-icons/lib/md/keyboard-arrow-right.d.ts b/types/react-icons/lib/md/keyboard-arrow-right.d.ts index 157f9cd453..e6e5f92245 100644 --- a/types/react-icons/lib/md/keyboard-arrow-right.d.ts +++ b/types/react-icons/lib/md/keyboard-arrow-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdKeyboardArrowRight extends React.Component<IconBaseProps> { } +declare class MdKeyboardArrowRight extends React.Component<IconBaseProps> { } +export = MdKeyboardArrowRight; diff --git a/types/react-icons/lib/md/keyboard-arrow-up.d.ts b/types/react-icons/lib/md/keyboard-arrow-up.d.ts index be668094a8..55dc2486e3 100644 --- a/types/react-icons/lib/md/keyboard-arrow-up.d.ts +++ b/types/react-icons/lib/md/keyboard-arrow-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdKeyboardArrowUp extends React.Component<IconBaseProps> { } +declare class MdKeyboardArrowUp extends React.Component<IconBaseProps> { } +export = MdKeyboardArrowUp; diff --git a/types/react-icons/lib/md/keyboard-backspace.d.ts b/types/react-icons/lib/md/keyboard-backspace.d.ts index 361b3eacb6..5d04cd78c9 100644 --- a/types/react-icons/lib/md/keyboard-backspace.d.ts +++ b/types/react-icons/lib/md/keyboard-backspace.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdKeyboardBackspace extends React.Component<IconBaseProps> { } +declare class MdKeyboardBackspace extends React.Component<IconBaseProps> { } +export = MdKeyboardBackspace; diff --git a/types/react-icons/lib/md/keyboard-capslock.d.ts b/types/react-icons/lib/md/keyboard-capslock.d.ts index e68fb04dd4..f4894cc8f5 100644 --- a/types/react-icons/lib/md/keyboard-capslock.d.ts +++ b/types/react-icons/lib/md/keyboard-capslock.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdKeyboardCapslock extends React.Component<IconBaseProps> { } +declare class MdKeyboardCapslock extends React.Component<IconBaseProps> { } +export = MdKeyboardCapslock; diff --git a/types/react-icons/lib/md/keyboard-control.d.ts b/types/react-icons/lib/md/keyboard-control.d.ts index 26a47f7942..83404a2333 100644 --- a/types/react-icons/lib/md/keyboard-control.d.ts +++ b/types/react-icons/lib/md/keyboard-control.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdKeyboardControl extends React.Component<IconBaseProps> { } +declare class MdKeyboardControl extends React.Component<IconBaseProps> { } +export = MdKeyboardControl; diff --git a/types/react-icons/lib/md/keyboard-hide.d.ts b/types/react-icons/lib/md/keyboard-hide.d.ts index 2bd9815962..99b49d804c 100644 --- a/types/react-icons/lib/md/keyboard-hide.d.ts +++ b/types/react-icons/lib/md/keyboard-hide.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdKeyboardHide extends React.Component<IconBaseProps> { } +declare class MdKeyboardHide extends React.Component<IconBaseProps> { } +export = MdKeyboardHide; diff --git a/types/react-icons/lib/md/keyboard-return.d.ts b/types/react-icons/lib/md/keyboard-return.d.ts index dcc67124f3..af2ed0a05f 100644 --- a/types/react-icons/lib/md/keyboard-return.d.ts +++ b/types/react-icons/lib/md/keyboard-return.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdKeyboardReturn extends React.Component<IconBaseProps> { } +declare class MdKeyboardReturn extends React.Component<IconBaseProps> { } +export = MdKeyboardReturn; diff --git a/types/react-icons/lib/md/keyboard-tab.d.ts b/types/react-icons/lib/md/keyboard-tab.d.ts index fc60cb1e9d..b28759381a 100644 --- a/types/react-icons/lib/md/keyboard-tab.d.ts +++ b/types/react-icons/lib/md/keyboard-tab.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdKeyboardTab extends React.Component<IconBaseProps> { } +declare class MdKeyboardTab extends React.Component<IconBaseProps> { } +export = MdKeyboardTab; diff --git a/types/react-icons/lib/md/keyboard-voice.d.ts b/types/react-icons/lib/md/keyboard-voice.d.ts index b0e8b84cef..6ffefcc90e 100644 --- a/types/react-icons/lib/md/keyboard-voice.d.ts +++ b/types/react-icons/lib/md/keyboard-voice.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdKeyboardVoice extends React.Component<IconBaseProps> { } +declare class MdKeyboardVoice extends React.Component<IconBaseProps> { } +export = MdKeyboardVoice; diff --git a/types/react-icons/lib/md/keyboard.d.ts b/types/react-icons/lib/md/keyboard.d.ts index c48881b8b4..cc3ea90276 100644 --- a/types/react-icons/lib/md/keyboard.d.ts +++ b/types/react-icons/lib/md/keyboard.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdKeyboard extends React.Component<IconBaseProps> { } +declare class MdKeyboard extends React.Component<IconBaseProps> { } +export = MdKeyboard; diff --git a/types/react-icons/lib/md/kitchen.d.ts b/types/react-icons/lib/md/kitchen.d.ts index 9da8c6f762..79d8c0fce3 100644 --- a/types/react-icons/lib/md/kitchen.d.ts +++ b/types/react-icons/lib/md/kitchen.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdKitchen extends React.Component<IconBaseProps> { } +declare class MdKitchen extends React.Component<IconBaseProps> { } +export = MdKitchen; diff --git a/types/react-icons/lib/md/label-outline.d.ts b/types/react-icons/lib/md/label-outline.d.ts index f8565aaac8..01ae937f15 100644 --- a/types/react-icons/lib/md/label-outline.d.ts +++ b/types/react-icons/lib/md/label-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLabelOutline extends React.Component<IconBaseProps> { } +declare class MdLabelOutline extends React.Component<IconBaseProps> { } +export = MdLabelOutline; diff --git a/types/react-icons/lib/md/label.d.ts b/types/react-icons/lib/md/label.d.ts index 679636e231..774401589e 100644 --- a/types/react-icons/lib/md/label.d.ts +++ b/types/react-icons/lib/md/label.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLabel extends React.Component<IconBaseProps> { } +declare class MdLabel extends React.Component<IconBaseProps> { } +export = MdLabel; diff --git a/types/react-icons/lib/md/landscape.d.ts b/types/react-icons/lib/md/landscape.d.ts index fb4502522b..6682f2674a 100644 --- a/types/react-icons/lib/md/landscape.d.ts +++ b/types/react-icons/lib/md/landscape.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLandscape extends React.Component<IconBaseProps> { } +declare class MdLandscape extends React.Component<IconBaseProps> { } +export = MdLandscape; diff --git a/types/react-icons/lib/md/language.d.ts b/types/react-icons/lib/md/language.d.ts index a47388c654..e44dd9b1db 100644 --- a/types/react-icons/lib/md/language.d.ts +++ b/types/react-icons/lib/md/language.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLanguage extends React.Component<IconBaseProps> { } +declare class MdLanguage extends React.Component<IconBaseProps> { } +export = MdLanguage; diff --git a/types/react-icons/lib/md/laptop-chromebook.d.ts b/types/react-icons/lib/md/laptop-chromebook.d.ts index d1f25cdc3b..b61654b7a0 100644 --- a/types/react-icons/lib/md/laptop-chromebook.d.ts +++ b/types/react-icons/lib/md/laptop-chromebook.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLaptopChromebook extends React.Component<IconBaseProps> { } +declare class MdLaptopChromebook extends React.Component<IconBaseProps> { } +export = MdLaptopChromebook; diff --git a/types/react-icons/lib/md/laptop-mac.d.ts b/types/react-icons/lib/md/laptop-mac.d.ts index 25afe25920..47f2ea0bc7 100644 --- a/types/react-icons/lib/md/laptop-mac.d.ts +++ b/types/react-icons/lib/md/laptop-mac.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLaptopMac extends React.Component<IconBaseProps> { } +declare class MdLaptopMac extends React.Component<IconBaseProps> { } +export = MdLaptopMac; diff --git a/types/react-icons/lib/md/laptop-windows.d.ts b/types/react-icons/lib/md/laptop-windows.d.ts index bd7441fea1..5b4fd277aa 100644 --- a/types/react-icons/lib/md/laptop-windows.d.ts +++ b/types/react-icons/lib/md/laptop-windows.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLaptopWindows extends React.Component<IconBaseProps> { } +declare class MdLaptopWindows extends React.Component<IconBaseProps> { } +export = MdLaptopWindows; diff --git a/types/react-icons/lib/md/laptop.d.ts b/types/react-icons/lib/md/laptop.d.ts index 2510020e0c..adf918c456 100644 --- a/types/react-icons/lib/md/laptop.d.ts +++ b/types/react-icons/lib/md/laptop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLaptop extends React.Component<IconBaseProps> { } +declare class MdLaptop extends React.Component<IconBaseProps> { } +export = MdLaptop; diff --git a/types/react-icons/lib/md/last-page.d.ts b/types/react-icons/lib/md/last-page.d.ts index 162f94c0de..1b89fbe0b8 100644 --- a/types/react-icons/lib/md/last-page.d.ts +++ b/types/react-icons/lib/md/last-page.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLastPage extends React.Component<IconBaseProps> { } +declare class MdLastPage extends React.Component<IconBaseProps> { } +export = MdLastPage; diff --git a/types/react-icons/lib/md/launch.d.ts b/types/react-icons/lib/md/launch.d.ts index 6bd2552cb3..20e5423921 100644 --- a/types/react-icons/lib/md/launch.d.ts +++ b/types/react-icons/lib/md/launch.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLaunch extends React.Component<IconBaseProps> { } +declare class MdLaunch extends React.Component<IconBaseProps> { } +export = MdLaunch; diff --git a/types/react-icons/lib/md/layers-clear.d.ts b/types/react-icons/lib/md/layers-clear.d.ts index 136d4ab797..1d9e3d1a79 100644 --- a/types/react-icons/lib/md/layers-clear.d.ts +++ b/types/react-icons/lib/md/layers-clear.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLayersClear extends React.Component<IconBaseProps> { } +declare class MdLayersClear extends React.Component<IconBaseProps> { } +export = MdLayersClear; diff --git a/types/react-icons/lib/md/layers.d.ts b/types/react-icons/lib/md/layers.d.ts index d0f2ce7f78..0afbb40d68 100644 --- a/types/react-icons/lib/md/layers.d.ts +++ b/types/react-icons/lib/md/layers.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLayers extends React.Component<IconBaseProps> { } +declare class MdLayers extends React.Component<IconBaseProps> { } +export = MdLayers; diff --git a/types/react-icons/lib/md/leak-add.d.ts b/types/react-icons/lib/md/leak-add.d.ts index 95235a4a7d..5a2c27ded3 100644 --- a/types/react-icons/lib/md/leak-add.d.ts +++ b/types/react-icons/lib/md/leak-add.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLeakAdd extends React.Component<IconBaseProps> { } +declare class MdLeakAdd extends React.Component<IconBaseProps> { } +export = MdLeakAdd; diff --git a/types/react-icons/lib/md/leak-remove.d.ts b/types/react-icons/lib/md/leak-remove.d.ts index 024072b36a..bb39e31d50 100644 --- a/types/react-icons/lib/md/leak-remove.d.ts +++ b/types/react-icons/lib/md/leak-remove.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLeakRemove extends React.Component<IconBaseProps> { } +declare class MdLeakRemove extends React.Component<IconBaseProps> { } +export = MdLeakRemove; diff --git a/types/react-icons/lib/md/lens.d.ts b/types/react-icons/lib/md/lens.d.ts index c5d535560e..489ca62554 100644 --- a/types/react-icons/lib/md/lens.d.ts +++ b/types/react-icons/lib/md/lens.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLens extends React.Component<IconBaseProps> { } +declare class MdLens extends React.Component<IconBaseProps> { } +export = MdLens; diff --git a/types/react-icons/lib/md/library-add.d.ts b/types/react-icons/lib/md/library-add.d.ts index 0d1e45a2d1..9e1e8b2501 100644 --- a/types/react-icons/lib/md/library-add.d.ts +++ b/types/react-icons/lib/md/library-add.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLibraryAdd extends React.Component<IconBaseProps> { } +declare class MdLibraryAdd extends React.Component<IconBaseProps> { } +export = MdLibraryAdd; diff --git a/types/react-icons/lib/md/library-books.d.ts b/types/react-icons/lib/md/library-books.d.ts index 4cd9469a0f..bacbf10d03 100644 --- a/types/react-icons/lib/md/library-books.d.ts +++ b/types/react-icons/lib/md/library-books.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLibraryBooks extends React.Component<IconBaseProps> { } +declare class MdLibraryBooks extends React.Component<IconBaseProps> { } +export = MdLibraryBooks; diff --git a/types/react-icons/lib/md/library-music.d.ts b/types/react-icons/lib/md/library-music.d.ts index 7f25717011..11c6c8bf2b 100644 --- a/types/react-icons/lib/md/library-music.d.ts +++ b/types/react-icons/lib/md/library-music.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLibraryMusic extends React.Component<IconBaseProps> { } +declare class MdLibraryMusic extends React.Component<IconBaseProps> { } +export = MdLibraryMusic; diff --git a/types/react-icons/lib/md/lightbulb-outline.d.ts b/types/react-icons/lib/md/lightbulb-outline.d.ts index 013344155b..8a8548dc97 100644 --- a/types/react-icons/lib/md/lightbulb-outline.d.ts +++ b/types/react-icons/lib/md/lightbulb-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLightbulbOutline extends React.Component<IconBaseProps> { } +declare class MdLightbulbOutline extends React.Component<IconBaseProps> { } +export = MdLightbulbOutline; diff --git a/types/react-icons/lib/md/line-style.d.ts b/types/react-icons/lib/md/line-style.d.ts index 01562f8705..41264e8a88 100644 --- a/types/react-icons/lib/md/line-style.d.ts +++ b/types/react-icons/lib/md/line-style.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLineStyle extends React.Component<IconBaseProps> { } +declare class MdLineStyle extends React.Component<IconBaseProps> { } +export = MdLineStyle; diff --git a/types/react-icons/lib/md/line-weight.d.ts b/types/react-icons/lib/md/line-weight.d.ts index 2eaa15b7df..b46fd1b8d2 100644 --- a/types/react-icons/lib/md/line-weight.d.ts +++ b/types/react-icons/lib/md/line-weight.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLineWeight extends React.Component<IconBaseProps> { } +declare class MdLineWeight extends React.Component<IconBaseProps> { } +export = MdLineWeight; diff --git a/types/react-icons/lib/md/linear-scale.d.ts b/types/react-icons/lib/md/linear-scale.d.ts index e4f2196d46..98fc794688 100644 --- a/types/react-icons/lib/md/linear-scale.d.ts +++ b/types/react-icons/lib/md/linear-scale.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLinearScale extends React.Component<IconBaseProps> { } +declare class MdLinearScale extends React.Component<IconBaseProps> { } +export = MdLinearScale; diff --git a/types/react-icons/lib/md/link.d.ts b/types/react-icons/lib/md/link.d.ts index 229a79db5d..1611d9af64 100644 --- a/types/react-icons/lib/md/link.d.ts +++ b/types/react-icons/lib/md/link.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLink extends React.Component<IconBaseProps> { } +declare class MdLink extends React.Component<IconBaseProps> { } +export = MdLink; diff --git a/types/react-icons/lib/md/linked-camera.d.ts b/types/react-icons/lib/md/linked-camera.d.ts index 04f1059032..3bd2a1c26d 100644 --- a/types/react-icons/lib/md/linked-camera.d.ts +++ b/types/react-icons/lib/md/linked-camera.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLinkedCamera extends React.Component<IconBaseProps> { } +declare class MdLinkedCamera extends React.Component<IconBaseProps> { } +export = MdLinkedCamera; diff --git a/types/react-icons/lib/md/list.d.ts b/types/react-icons/lib/md/list.d.ts index ee687771dd..2403875d33 100644 --- a/types/react-icons/lib/md/list.d.ts +++ b/types/react-icons/lib/md/list.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdList extends React.Component<IconBaseProps> { } +declare class MdList extends React.Component<IconBaseProps> { } +export = MdList; diff --git a/types/react-icons/lib/md/live-help.d.ts b/types/react-icons/lib/md/live-help.d.ts index baa4ecfcea..9b174fe970 100644 --- a/types/react-icons/lib/md/live-help.d.ts +++ b/types/react-icons/lib/md/live-help.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLiveHelp extends React.Component<IconBaseProps> { } +declare class MdLiveHelp extends React.Component<IconBaseProps> { } +export = MdLiveHelp; diff --git a/types/react-icons/lib/md/live-tv.d.ts b/types/react-icons/lib/md/live-tv.d.ts index 4b6700c6d7..86557bb3ce 100644 --- a/types/react-icons/lib/md/live-tv.d.ts +++ b/types/react-icons/lib/md/live-tv.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLiveTv extends React.Component<IconBaseProps> { } +declare class MdLiveTv extends React.Component<IconBaseProps> { } +export = MdLiveTv; diff --git a/types/react-icons/lib/md/local-airport.d.ts b/types/react-icons/lib/md/local-airport.d.ts index c5cbc96784..1f5d71515e 100644 --- a/types/react-icons/lib/md/local-airport.d.ts +++ b/types/react-icons/lib/md/local-airport.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalAirport extends React.Component<IconBaseProps> { } +declare class MdLocalAirport extends React.Component<IconBaseProps> { } +export = MdLocalAirport; diff --git a/types/react-icons/lib/md/local-atm.d.ts b/types/react-icons/lib/md/local-atm.d.ts index c3aebab325..b9396fbddc 100644 --- a/types/react-icons/lib/md/local-atm.d.ts +++ b/types/react-icons/lib/md/local-atm.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalAtm extends React.Component<IconBaseProps> { } +declare class MdLocalAtm extends React.Component<IconBaseProps> { } +export = MdLocalAtm; diff --git a/types/react-icons/lib/md/local-attraction.d.ts b/types/react-icons/lib/md/local-attraction.d.ts index 4cb4733fc6..3c6ba7842b 100644 --- a/types/react-icons/lib/md/local-attraction.d.ts +++ b/types/react-icons/lib/md/local-attraction.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalAttraction extends React.Component<IconBaseProps> { } +declare class MdLocalAttraction extends React.Component<IconBaseProps> { } +export = MdLocalAttraction; diff --git a/types/react-icons/lib/md/local-bar.d.ts b/types/react-icons/lib/md/local-bar.d.ts index 384cf80708..63886e78cb 100644 --- a/types/react-icons/lib/md/local-bar.d.ts +++ b/types/react-icons/lib/md/local-bar.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalBar extends React.Component<IconBaseProps> { } +declare class MdLocalBar extends React.Component<IconBaseProps> { } +export = MdLocalBar; diff --git a/types/react-icons/lib/md/local-cafe.d.ts b/types/react-icons/lib/md/local-cafe.d.ts index 1edc27271a..eb9e80ad77 100644 --- a/types/react-icons/lib/md/local-cafe.d.ts +++ b/types/react-icons/lib/md/local-cafe.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalCafe extends React.Component<IconBaseProps> { } +declare class MdLocalCafe extends React.Component<IconBaseProps> { } +export = MdLocalCafe; diff --git a/types/react-icons/lib/md/local-car-wash.d.ts b/types/react-icons/lib/md/local-car-wash.d.ts index 2f8e3424d0..fb4b04b228 100644 --- a/types/react-icons/lib/md/local-car-wash.d.ts +++ b/types/react-icons/lib/md/local-car-wash.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalCarWash extends React.Component<IconBaseProps> { } +declare class MdLocalCarWash extends React.Component<IconBaseProps> { } +export = MdLocalCarWash; diff --git a/types/react-icons/lib/md/local-convenience-store.d.ts b/types/react-icons/lib/md/local-convenience-store.d.ts index 60ba5980c5..926d257832 100644 --- a/types/react-icons/lib/md/local-convenience-store.d.ts +++ b/types/react-icons/lib/md/local-convenience-store.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalConvenienceStore extends React.Component<IconBaseProps> { } +declare class MdLocalConvenienceStore extends React.Component<IconBaseProps> { } +export = MdLocalConvenienceStore; diff --git a/types/react-icons/lib/md/local-drink.d.ts b/types/react-icons/lib/md/local-drink.d.ts index dd0cf01d42..d175a7f0cf 100644 --- a/types/react-icons/lib/md/local-drink.d.ts +++ b/types/react-icons/lib/md/local-drink.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalDrink extends React.Component<IconBaseProps> { } +declare class MdLocalDrink extends React.Component<IconBaseProps> { } +export = MdLocalDrink; diff --git a/types/react-icons/lib/md/local-florist.d.ts b/types/react-icons/lib/md/local-florist.d.ts index 6744bc8c3a..217b879173 100644 --- a/types/react-icons/lib/md/local-florist.d.ts +++ b/types/react-icons/lib/md/local-florist.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalFlorist extends React.Component<IconBaseProps> { } +declare class MdLocalFlorist extends React.Component<IconBaseProps> { } +export = MdLocalFlorist; diff --git a/types/react-icons/lib/md/local-gas-station.d.ts b/types/react-icons/lib/md/local-gas-station.d.ts index 6c6b7df0a9..21a7d020cb 100644 --- a/types/react-icons/lib/md/local-gas-station.d.ts +++ b/types/react-icons/lib/md/local-gas-station.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalGasStation extends React.Component<IconBaseProps> { } +declare class MdLocalGasStation extends React.Component<IconBaseProps> { } +export = MdLocalGasStation; diff --git a/types/react-icons/lib/md/local-grocery-store.d.ts b/types/react-icons/lib/md/local-grocery-store.d.ts index 74be93825c..ee055fbc1b 100644 --- a/types/react-icons/lib/md/local-grocery-store.d.ts +++ b/types/react-icons/lib/md/local-grocery-store.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalGroceryStore extends React.Component<IconBaseProps> { } +declare class MdLocalGroceryStore extends React.Component<IconBaseProps> { } +export = MdLocalGroceryStore; diff --git a/types/react-icons/lib/md/local-hospital.d.ts b/types/react-icons/lib/md/local-hospital.d.ts index 3f3d22c1f1..acce7088cd 100644 --- a/types/react-icons/lib/md/local-hospital.d.ts +++ b/types/react-icons/lib/md/local-hospital.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalHospital extends React.Component<IconBaseProps> { } +declare class MdLocalHospital extends React.Component<IconBaseProps> { } +export = MdLocalHospital; diff --git a/types/react-icons/lib/md/local-hotel.d.ts b/types/react-icons/lib/md/local-hotel.d.ts index 72aa8116e3..378a7557ee 100644 --- a/types/react-icons/lib/md/local-hotel.d.ts +++ b/types/react-icons/lib/md/local-hotel.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalHotel extends React.Component<IconBaseProps> { } +declare class MdLocalHotel extends React.Component<IconBaseProps> { } +export = MdLocalHotel; diff --git a/types/react-icons/lib/md/local-laundry-service.d.ts b/types/react-icons/lib/md/local-laundry-service.d.ts index bcddaa57b7..9353692a5c 100644 --- a/types/react-icons/lib/md/local-laundry-service.d.ts +++ b/types/react-icons/lib/md/local-laundry-service.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalLaundryService extends React.Component<IconBaseProps> { } +declare class MdLocalLaundryService extends React.Component<IconBaseProps> { } +export = MdLocalLaundryService; diff --git a/types/react-icons/lib/md/local-library.d.ts b/types/react-icons/lib/md/local-library.d.ts index 66345dec71..1d455aa856 100644 --- a/types/react-icons/lib/md/local-library.d.ts +++ b/types/react-icons/lib/md/local-library.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalLibrary extends React.Component<IconBaseProps> { } +declare class MdLocalLibrary extends React.Component<IconBaseProps> { } +export = MdLocalLibrary; diff --git a/types/react-icons/lib/md/local-mall.d.ts b/types/react-icons/lib/md/local-mall.d.ts index 4bc0bd9a6c..46dbdcb894 100644 --- a/types/react-icons/lib/md/local-mall.d.ts +++ b/types/react-icons/lib/md/local-mall.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalMall extends React.Component<IconBaseProps> { } +declare class MdLocalMall extends React.Component<IconBaseProps> { } +export = MdLocalMall; diff --git a/types/react-icons/lib/md/local-movies.d.ts b/types/react-icons/lib/md/local-movies.d.ts index fd585253f4..58d62b2909 100644 --- a/types/react-icons/lib/md/local-movies.d.ts +++ b/types/react-icons/lib/md/local-movies.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalMovies extends React.Component<IconBaseProps> { } +declare class MdLocalMovies extends React.Component<IconBaseProps> { } +export = MdLocalMovies; diff --git a/types/react-icons/lib/md/local-offer.d.ts b/types/react-icons/lib/md/local-offer.d.ts index d68ec81829..f137a10bb1 100644 --- a/types/react-icons/lib/md/local-offer.d.ts +++ b/types/react-icons/lib/md/local-offer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalOffer extends React.Component<IconBaseProps> { } +declare class MdLocalOffer extends React.Component<IconBaseProps> { } +export = MdLocalOffer; diff --git a/types/react-icons/lib/md/local-parking.d.ts b/types/react-icons/lib/md/local-parking.d.ts index 962af582ac..01d4ff13cf 100644 --- a/types/react-icons/lib/md/local-parking.d.ts +++ b/types/react-icons/lib/md/local-parking.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalParking extends React.Component<IconBaseProps> { } +declare class MdLocalParking extends React.Component<IconBaseProps> { } +export = MdLocalParking; diff --git a/types/react-icons/lib/md/local-pharmacy.d.ts b/types/react-icons/lib/md/local-pharmacy.d.ts index 4f6253241e..ce2b6d192a 100644 --- a/types/react-icons/lib/md/local-pharmacy.d.ts +++ b/types/react-icons/lib/md/local-pharmacy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalPharmacy extends React.Component<IconBaseProps> { } +declare class MdLocalPharmacy extends React.Component<IconBaseProps> { } +export = MdLocalPharmacy; diff --git a/types/react-icons/lib/md/local-phone.d.ts b/types/react-icons/lib/md/local-phone.d.ts index 295b71d056..bd34f480b6 100644 --- a/types/react-icons/lib/md/local-phone.d.ts +++ b/types/react-icons/lib/md/local-phone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalPhone extends React.Component<IconBaseProps> { } +declare class MdLocalPhone extends React.Component<IconBaseProps> { } +export = MdLocalPhone; diff --git a/types/react-icons/lib/md/local-pizza.d.ts b/types/react-icons/lib/md/local-pizza.d.ts index fd8f1e9b3f..d6faf8bcb3 100644 --- a/types/react-icons/lib/md/local-pizza.d.ts +++ b/types/react-icons/lib/md/local-pizza.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalPizza extends React.Component<IconBaseProps> { } +declare class MdLocalPizza extends React.Component<IconBaseProps> { } +export = MdLocalPizza; diff --git a/types/react-icons/lib/md/local-play.d.ts b/types/react-icons/lib/md/local-play.d.ts index 2323020f1f..3efcc87e1b 100644 --- a/types/react-icons/lib/md/local-play.d.ts +++ b/types/react-icons/lib/md/local-play.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalPlay extends React.Component<IconBaseProps> { } +declare class MdLocalPlay extends React.Component<IconBaseProps> { } +export = MdLocalPlay; diff --git a/types/react-icons/lib/md/local-post-office.d.ts b/types/react-icons/lib/md/local-post-office.d.ts index d753132d88..a5f4a8f938 100644 --- a/types/react-icons/lib/md/local-post-office.d.ts +++ b/types/react-icons/lib/md/local-post-office.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalPostOffice extends React.Component<IconBaseProps> { } +declare class MdLocalPostOffice extends React.Component<IconBaseProps> { } +export = MdLocalPostOffice; diff --git a/types/react-icons/lib/md/local-print-shop.d.ts b/types/react-icons/lib/md/local-print-shop.d.ts index f5f2318b18..3644eaa9cf 100644 --- a/types/react-icons/lib/md/local-print-shop.d.ts +++ b/types/react-icons/lib/md/local-print-shop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalPrintShop extends React.Component<IconBaseProps> { } +declare class MdLocalPrintShop extends React.Component<IconBaseProps> { } +export = MdLocalPrintShop; diff --git a/types/react-icons/lib/md/local-restaurant.d.ts b/types/react-icons/lib/md/local-restaurant.d.ts index 631a9bcdba..714a1c2a0e 100644 --- a/types/react-icons/lib/md/local-restaurant.d.ts +++ b/types/react-icons/lib/md/local-restaurant.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalRestaurant extends React.Component<IconBaseProps> { } +declare class MdLocalRestaurant extends React.Component<IconBaseProps> { } +export = MdLocalRestaurant; diff --git a/types/react-icons/lib/md/local-see.d.ts b/types/react-icons/lib/md/local-see.d.ts index 6c345a7bdd..a5b631777d 100644 --- a/types/react-icons/lib/md/local-see.d.ts +++ b/types/react-icons/lib/md/local-see.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalSee extends React.Component<IconBaseProps> { } +declare class MdLocalSee extends React.Component<IconBaseProps> { } +export = MdLocalSee; diff --git a/types/react-icons/lib/md/local-shipping.d.ts b/types/react-icons/lib/md/local-shipping.d.ts index 8862dc1e3f..f08d34f0ef 100644 --- a/types/react-icons/lib/md/local-shipping.d.ts +++ b/types/react-icons/lib/md/local-shipping.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalShipping extends React.Component<IconBaseProps> { } +declare class MdLocalShipping extends React.Component<IconBaseProps> { } +export = MdLocalShipping; diff --git a/types/react-icons/lib/md/local-taxi.d.ts b/types/react-icons/lib/md/local-taxi.d.ts index ffee12d51a..d4a9cfe09b 100644 --- a/types/react-icons/lib/md/local-taxi.d.ts +++ b/types/react-icons/lib/md/local-taxi.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocalTaxi extends React.Component<IconBaseProps> { } +declare class MdLocalTaxi extends React.Component<IconBaseProps> { } +export = MdLocalTaxi; diff --git a/types/react-icons/lib/md/location-city.d.ts b/types/react-icons/lib/md/location-city.d.ts index d4154e0b4d..53c2f14810 100644 --- a/types/react-icons/lib/md/location-city.d.ts +++ b/types/react-icons/lib/md/location-city.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocationCity extends React.Component<IconBaseProps> { } +declare class MdLocationCity extends React.Component<IconBaseProps> { } +export = MdLocationCity; diff --git a/types/react-icons/lib/md/location-disabled.d.ts b/types/react-icons/lib/md/location-disabled.d.ts index f890985e4c..f4af27f5f3 100644 --- a/types/react-icons/lib/md/location-disabled.d.ts +++ b/types/react-icons/lib/md/location-disabled.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocationDisabled extends React.Component<IconBaseProps> { } +declare class MdLocationDisabled extends React.Component<IconBaseProps> { } +export = MdLocationDisabled; diff --git a/types/react-icons/lib/md/location-history.d.ts b/types/react-icons/lib/md/location-history.d.ts index 6d7ae193ef..555813d873 100644 --- a/types/react-icons/lib/md/location-history.d.ts +++ b/types/react-icons/lib/md/location-history.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocationHistory extends React.Component<IconBaseProps> { } +declare class MdLocationHistory extends React.Component<IconBaseProps> { } +export = MdLocationHistory; diff --git a/types/react-icons/lib/md/location-off.d.ts b/types/react-icons/lib/md/location-off.d.ts index ae7c278991..193e2a8cf6 100644 --- a/types/react-icons/lib/md/location-off.d.ts +++ b/types/react-icons/lib/md/location-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocationOff extends React.Component<IconBaseProps> { } +declare class MdLocationOff extends React.Component<IconBaseProps> { } +export = MdLocationOff; diff --git a/types/react-icons/lib/md/location-on.d.ts b/types/react-icons/lib/md/location-on.d.ts index 9a606064c1..77094905da 100644 --- a/types/react-icons/lib/md/location-on.d.ts +++ b/types/react-icons/lib/md/location-on.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocationOn extends React.Component<IconBaseProps> { } +declare class MdLocationOn extends React.Component<IconBaseProps> { } +export = MdLocationOn; diff --git a/types/react-icons/lib/md/location-searching.d.ts b/types/react-icons/lib/md/location-searching.d.ts index 89860efc3f..de07a33e91 100644 --- a/types/react-icons/lib/md/location-searching.d.ts +++ b/types/react-icons/lib/md/location-searching.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLocationSearching extends React.Component<IconBaseProps> { } +declare class MdLocationSearching extends React.Component<IconBaseProps> { } +export = MdLocationSearching; diff --git a/types/react-icons/lib/md/lock-open.d.ts b/types/react-icons/lib/md/lock-open.d.ts index c61129c43a..38cc201800 100644 --- a/types/react-icons/lib/md/lock-open.d.ts +++ b/types/react-icons/lib/md/lock-open.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLockOpen extends React.Component<IconBaseProps> { } +declare class MdLockOpen extends React.Component<IconBaseProps> { } +export = MdLockOpen; diff --git a/types/react-icons/lib/md/lock-outline.d.ts b/types/react-icons/lib/md/lock-outline.d.ts index 8d8c854627..201dab5ca3 100644 --- a/types/react-icons/lib/md/lock-outline.d.ts +++ b/types/react-icons/lib/md/lock-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLockOutline extends React.Component<IconBaseProps> { } +declare class MdLockOutline extends React.Component<IconBaseProps> { } +export = MdLockOutline; diff --git a/types/react-icons/lib/md/lock.d.ts b/types/react-icons/lib/md/lock.d.ts index 08c9bebbec..415ddfc886 100644 --- a/types/react-icons/lib/md/lock.d.ts +++ b/types/react-icons/lib/md/lock.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLock extends React.Component<IconBaseProps> { } +declare class MdLock extends React.Component<IconBaseProps> { } +export = MdLock; diff --git a/types/react-icons/lib/md/looks-3.d.ts b/types/react-icons/lib/md/looks-3.d.ts index 91ec18b0fa..9bf0f8b3d0 100644 --- a/types/react-icons/lib/md/looks-3.d.ts +++ b/types/react-icons/lib/md/looks-3.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLooks3 extends React.Component<IconBaseProps> { } +declare class MdLooks3 extends React.Component<IconBaseProps> { } +export = MdLooks3; diff --git a/types/react-icons/lib/md/looks-4.d.ts b/types/react-icons/lib/md/looks-4.d.ts index 2005a3ef6c..030bd6c730 100644 --- a/types/react-icons/lib/md/looks-4.d.ts +++ b/types/react-icons/lib/md/looks-4.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLooks4 extends React.Component<IconBaseProps> { } +declare class MdLooks4 extends React.Component<IconBaseProps> { } +export = MdLooks4; diff --git a/types/react-icons/lib/md/looks-5.d.ts b/types/react-icons/lib/md/looks-5.d.ts index 0e4c8830df..02d6aaaab3 100644 --- a/types/react-icons/lib/md/looks-5.d.ts +++ b/types/react-icons/lib/md/looks-5.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLooks5 extends React.Component<IconBaseProps> { } +declare class MdLooks5 extends React.Component<IconBaseProps> { } +export = MdLooks5; diff --git a/types/react-icons/lib/md/looks-6.d.ts b/types/react-icons/lib/md/looks-6.d.ts index b00d207ffc..4c35ffd3f5 100644 --- a/types/react-icons/lib/md/looks-6.d.ts +++ b/types/react-icons/lib/md/looks-6.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLooks6 extends React.Component<IconBaseProps> { } +declare class MdLooks6 extends React.Component<IconBaseProps> { } +export = MdLooks6; diff --git a/types/react-icons/lib/md/looks-one.d.ts b/types/react-icons/lib/md/looks-one.d.ts index 129ebbc28b..fd6b6cb6aa 100644 --- a/types/react-icons/lib/md/looks-one.d.ts +++ b/types/react-icons/lib/md/looks-one.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLooksOne extends React.Component<IconBaseProps> { } +declare class MdLooksOne extends React.Component<IconBaseProps> { } +export = MdLooksOne; diff --git a/types/react-icons/lib/md/looks-two.d.ts b/types/react-icons/lib/md/looks-two.d.ts index 5f62cb2173..8d4dfb2d89 100644 --- a/types/react-icons/lib/md/looks-two.d.ts +++ b/types/react-icons/lib/md/looks-two.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLooksTwo extends React.Component<IconBaseProps> { } +declare class MdLooksTwo extends React.Component<IconBaseProps> { } +export = MdLooksTwo; diff --git a/types/react-icons/lib/md/looks.d.ts b/types/react-icons/lib/md/looks.d.ts index 5db0141f58..41a1db63fc 100644 --- a/types/react-icons/lib/md/looks.d.ts +++ b/types/react-icons/lib/md/looks.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLooks extends React.Component<IconBaseProps> { } +declare class MdLooks extends React.Component<IconBaseProps> { } +export = MdLooks; diff --git a/types/react-icons/lib/md/loop.d.ts b/types/react-icons/lib/md/loop.d.ts index 8e7f90aad0..25cff2c482 100644 --- a/types/react-icons/lib/md/loop.d.ts +++ b/types/react-icons/lib/md/loop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLoop extends React.Component<IconBaseProps> { } +declare class MdLoop extends React.Component<IconBaseProps> { } +export = MdLoop; diff --git a/types/react-icons/lib/md/loupe.d.ts b/types/react-icons/lib/md/loupe.d.ts index 8b7e0a54f1..dcae9325dd 100644 --- a/types/react-icons/lib/md/loupe.d.ts +++ b/types/react-icons/lib/md/loupe.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLoupe extends React.Component<IconBaseProps> { } +declare class MdLoupe extends React.Component<IconBaseProps> { } +export = MdLoupe; diff --git a/types/react-icons/lib/md/low-priority.d.ts b/types/react-icons/lib/md/low-priority.d.ts index 61f7f79811..4b0e96dc96 100644 --- a/types/react-icons/lib/md/low-priority.d.ts +++ b/types/react-icons/lib/md/low-priority.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLowPriority extends React.Component<IconBaseProps> { } +declare class MdLowPriority extends React.Component<IconBaseProps> { } +export = MdLowPriority; diff --git a/types/react-icons/lib/md/loyalty.d.ts b/types/react-icons/lib/md/loyalty.d.ts index de4ad7303f..86d7de9ec8 100644 --- a/types/react-icons/lib/md/loyalty.d.ts +++ b/types/react-icons/lib/md/loyalty.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdLoyalty extends React.Component<IconBaseProps> { } +declare class MdLoyalty extends React.Component<IconBaseProps> { } +export = MdLoyalty; diff --git a/types/react-icons/lib/md/mail-outline.d.ts b/types/react-icons/lib/md/mail-outline.d.ts index e2ea724b8c..7cc3fd16e0 100644 --- a/types/react-icons/lib/md/mail-outline.d.ts +++ b/types/react-icons/lib/md/mail-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMailOutline extends React.Component<IconBaseProps> { } +declare class MdMailOutline extends React.Component<IconBaseProps> { } +export = MdMailOutline; diff --git a/types/react-icons/lib/md/mail.d.ts b/types/react-icons/lib/md/mail.d.ts index 4d6ae8563e..ffe42b4573 100644 --- a/types/react-icons/lib/md/mail.d.ts +++ b/types/react-icons/lib/md/mail.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMail extends React.Component<IconBaseProps> { } +declare class MdMail extends React.Component<IconBaseProps> { } +export = MdMail; diff --git a/types/react-icons/lib/md/map.d.ts b/types/react-icons/lib/md/map.d.ts index e5199af23c..bf274d2db6 100644 --- a/types/react-icons/lib/md/map.d.ts +++ b/types/react-icons/lib/md/map.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMap extends React.Component<IconBaseProps> { } +declare class MdMap extends React.Component<IconBaseProps> { } +export = MdMap; diff --git a/types/react-icons/lib/md/markunread-mailbox.d.ts b/types/react-icons/lib/md/markunread-mailbox.d.ts index ba5d9a5982..859f06a03b 100644 --- a/types/react-icons/lib/md/markunread-mailbox.d.ts +++ b/types/react-icons/lib/md/markunread-mailbox.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMarkunreadMailbox extends React.Component<IconBaseProps> { } +declare class MdMarkunreadMailbox extends React.Component<IconBaseProps> { } +export = MdMarkunreadMailbox; diff --git a/types/react-icons/lib/md/markunread.d.ts b/types/react-icons/lib/md/markunread.d.ts index bcf1ac3569..f5783e684c 100644 --- a/types/react-icons/lib/md/markunread.d.ts +++ b/types/react-icons/lib/md/markunread.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMarkunread extends React.Component<IconBaseProps> { } +declare class MdMarkunread extends React.Component<IconBaseProps> { } +export = MdMarkunread; diff --git a/types/react-icons/lib/md/memory.d.ts b/types/react-icons/lib/md/memory.d.ts index 507da2a21c..524f5bee0e 100644 --- a/types/react-icons/lib/md/memory.d.ts +++ b/types/react-icons/lib/md/memory.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMemory extends React.Component<IconBaseProps> { } +declare class MdMemory extends React.Component<IconBaseProps> { } +export = MdMemory; diff --git a/types/react-icons/lib/md/menu.d.ts b/types/react-icons/lib/md/menu.d.ts index 8d71a1981f..dbd92ed628 100644 --- a/types/react-icons/lib/md/menu.d.ts +++ b/types/react-icons/lib/md/menu.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMenu extends React.Component<IconBaseProps> { } +declare class MdMenu extends React.Component<IconBaseProps> { } +export = MdMenu; diff --git a/types/react-icons/lib/md/merge-type.d.ts b/types/react-icons/lib/md/merge-type.d.ts index 40e48a7b93..06a5eef508 100644 --- a/types/react-icons/lib/md/merge-type.d.ts +++ b/types/react-icons/lib/md/merge-type.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMergeType extends React.Component<IconBaseProps> { } +declare class MdMergeType extends React.Component<IconBaseProps> { } +export = MdMergeType; diff --git a/types/react-icons/lib/md/message.d.ts b/types/react-icons/lib/md/message.d.ts index 64488ed66b..9eabdb10f3 100644 --- a/types/react-icons/lib/md/message.d.ts +++ b/types/react-icons/lib/md/message.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMessage extends React.Component<IconBaseProps> { } +declare class MdMessage extends React.Component<IconBaseProps> { } +export = MdMessage; diff --git a/types/react-icons/lib/md/mic-none.d.ts b/types/react-icons/lib/md/mic-none.d.ts index 5b71761c02..1bab143d2d 100644 --- a/types/react-icons/lib/md/mic-none.d.ts +++ b/types/react-icons/lib/md/mic-none.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMicNone extends React.Component<IconBaseProps> { } +declare class MdMicNone extends React.Component<IconBaseProps> { } +export = MdMicNone; diff --git a/types/react-icons/lib/md/mic-off.d.ts b/types/react-icons/lib/md/mic-off.d.ts index ce68ec3b85..edbe89b489 100644 --- a/types/react-icons/lib/md/mic-off.d.ts +++ b/types/react-icons/lib/md/mic-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMicOff extends React.Component<IconBaseProps> { } +declare class MdMicOff extends React.Component<IconBaseProps> { } +export = MdMicOff; diff --git a/types/react-icons/lib/md/mic.d.ts b/types/react-icons/lib/md/mic.d.ts index e827c93aee..45380e54f7 100644 --- a/types/react-icons/lib/md/mic.d.ts +++ b/types/react-icons/lib/md/mic.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMic extends React.Component<IconBaseProps> { } +declare class MdMic extends React.Component<IconBaseProps> { } +export = MdMic; diff --git a/types/react-icons/lib/md/mms.d.ts b/types/react-icons/lib/md/mms.d.ts index dd4635435c..19571556ed 100644 --- a/types/react-icons/lib/md/mms.d.ts +++ b/types/react-icons/lib/md/mms.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMms extends React.Component<IconBaseProps> { } +declare class MdMms extends React.Component<IconBaseProps> { } +export = MdMms; diff --git a/types/react-icons/lib/md/mode-comment.d.ts b/types/react-icons/lib/md/mode-comment.d.ts index 4e70e6a57e..31aa14d8af 100644 --- a/types/react-icons/lib/md/mode-comment.d.ts +++ b/types/react-icons/lib/md/mode-comment.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdModeComment extends React.Component<IconBaseProps> { } +declare class MdModeComment extends React.Component<IconBaseProps> { } +export = MdModeComment; diff --git a/types/react-icons/lib/md/mode-edit.d.ts b/types/react-icons/lib/md/mode-edit.d.ts index 8ba0f1809c..d5e2848413 100644 --- a/types/react-icons/lib/md/mode-edit.d.ts +++ b/types/react-icons/lib/md/mode-edit.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdModeEdit extends React.Component<IconBaseProps> { } +declare class MdModeEdit extends React.Component<IconBaseProps> { } +export = MdModeEdit; diff --git a/types/react-icons/lib/md/monetization-on.d.ts b/types/react-icons/lib/md/monetization-on.d.ts index 5fbac94cd6..2ee7832cb5 100644 --- a/types/react-icons/lib/md/monetization-on.d.ts +++ b/types/react-icons/lib/md/monetization-on.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMonetizationOn extends React.Component<IconBaseProps> { } +declare class MdMonetizationOn extends React.Component<IconBaseProps> { } +export = MdMonetizationOn; diff --git a/types/react-icons/lib/md/money-off.d.ts b/types/react-icons/lib/md/money-off.d.ts index 682df0c9e9..545019237c 100644 --- a/types/react-icons/lib/md/money-off.d.ts +++ b/types/react-icons/lib/md/money-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMoneyOff extends React.Component<IconBaseProps> { } +declare class MdMoneyOff extends React.Component<IconBaseProps> { } +export = MdMoneyOff; diff --git a/types/react-icons/lib/md/monochrome-photos.d.ts b/types/react-icons/lib/md/monochrome-photos.d.ts index 57d0224d92..8e1ebae6c7 100644 --- a/types/react-icons/lib/md/monochrome-photos.d.ts +++ b/types/react-icons/lib/md/monochrome-photos.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMonochromePhotos extends React.Component<IconBaseProps> { } +declare class MdMonochromePhotos extends React.Component<IconBaseProps> { } +export = MdMonochromePhotos; diff --git a/types/react-icons/lib/md/mood-bad.d.ts b/types/react-icons/lib/md/mood-bad.d.ts index 6cb4070c36..cd4dfc9cbb 100644 --- a/types/react-icons/lib/md/mood-bad.d.ts +++ b/types/react-icons/lib/md/mood-bad.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMoodBad extends React.Component<IconBaseProps> { } +declare class MdMoodBad extends React.Component<IconBaseProps> { } +export = MdMoodBad; diff --git a/types/react-icons/lib/md/mood.d.ts b/types/react-icons/lib/md/mood.d.ts index fd15fc4d9d..e2829392f6 100644 --- a/types/react-icons/lib/md/mood.d.ts +++ b/types/react-icons/lib/md/mood.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMood extends React.Component<IconBaseProps> { } +declare class MdMood extends React.Component<IconBaseProps> { } +export = MdMood; diff --git a/types/react-icons/lib/md/more-horiz.d.ts b/types/react-icons/lib/md/more-horiz.d.ts index dd46d5526c..624b97c48d 100644 --- a/types/react-icons/lib/md/more-horiz.d.ts +++ b/types/react-icons/lib/md/more-horiz.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMoreHoriz extends React.Component<IconBaseProps> { } +declare class MdMoreHoriz extends React.Component<IconBaseProps> { } +export = MdMoreHoriz; diff --git a/types/react-icons/lib/md/more-vert.d.ts b/types/react-icons/lib/md/more-vert.d.ts index 9c1080b74a..4a77a45a48 100644 --- a/types/react-icons/lib/md/more-vert.d.ts +++ b/types/react-icons/lib/md/more-vert.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMoreVert extends React.Component<IconBaseProps> { } +declare class MdMoreVert extends React.Component<IconBaseProps> { } +export = MdMoreVert; diff --git a/types/react-icons/lib/md/more.d.ts b/types/react-icons/lib/md/more.d.ts index 395fe8b215..c7f3e9c9b1 100644 --- a/types/react-icons/lib/md/more.d.ts +++ b/types/react-icons/lib/md/more.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMore extends React.Component<IconBaseProps> { } +declare class MdMore extends React.Component<IconBaseProps> { } +export = MdMore; diff --git a/types/react-icons/lib/md/motorcycle.d.ts b/types/react-icons/lib/md/motorcycle.d.ts index b06e285368..e776752db9 100644 --- a/types/react-icons/lib/md/motorcycle.d.ts +++ b/types/react-icons/lib/md/motorcycle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMotorcycle extends React.Component<IconBaseProps> { } +declare class MdMotorcycle extends React.Component<IconBaseProps> { } +export = MdMotorcycle; diff --git a/types/react-icons/lib/md/mouse.d.ts b/types/react-icons/lib/md/mouse.d.ts index 6b48389af1..e363947b09 100644 --- a/types/react-icons/lib/md/mouse.d.ts +++ b/types/react-icons/lib/md/mouse.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMouse extends React.Component<IconBaseProps> { } +declare class MdMouse extends React.Component<IconBaseProps> { } +export = MdMouse; diff --git a/types/react-icons/lib/md/move-to-inbox.d.ts b/types/react-icons/lib/md/move-to-inbox.d.ts index 2723e6516e..12769c55d2 100644 --- a/types/react-icons/lib/md/move-to-inbox.d.ts +++ b/types/react-icons/lib/md/move-to-inbox.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMoveToInbox extends React.Component<IconBaseProps> { } +declare class MdMoveToInbox extends React.Component<IconBaseProps> { } +export = MdMoveToInbox; diff --git a/types/react-icons/lib/md/movie-creation.d.ts b/types/react-icons/lib/md/movie-creation.d.ts index 1e795092d6..75340b3585 100644 --- a/types/react-icons/lib/md/movie-creation.d.ts +++ b/types/react-icons/lib/md/movie-creation.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMovieCreation extends React.Component<IconBaseProps> { } +declare class MdMovieCreation extends React.Component<IconBaseProps> { } +export = MdMovieCreation; diff --git a/types/react-icons/lib/md/movie-filter.d.ts b/types/react-icons/lib/md/movie-filter.d.ts index 22da6198e8..3d66ee011e 100644 --- a/types/react-icons/lib/md/movie-filter.d.ts +++ b/types/react-icons/lib/md/movie-filter.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMovieFilter extends React.Component<IconBaseProps> { } +declare class MdMovieFilter extends React.Component<IconBaseProps> { } +export = MdMovieFilter; diff --git a/types/react-icons/lib/md/movie.d.ts b/types/react-icons/lib/md/movie.d.ts index 7982199452..d0f2567961 100644 --- a/types/react-icons/lib/md/movie.d.ts +++ b/types/react-icons/lib/md/movie.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMovie extends React.Component<IconBaseProps> { } +declare class MdMovie extends React.Component<IconBaseProps> { } +export = MdMovie; diff --git a/types/react-icons/lib/md/multiline-chart.d.ts b/types/react-icons/lib/md/multiline-chart.d.ts index 03aba87bc1..9e1010373d 100644 --- a/types/react-icons/lib/md/multiline-chart.d.ts +++ b/types/react-icons/lib/md/multiline-chart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMultilineChart extends React.Component<IconBaseProps> { } +declare class MdMultilineChart extends React.Component<IconBaseProps> { } +export = MdMultilineChart; diff --git a/types/react-icons/lib/md/music-note.d.ts b/types/react-icons/lib/md/music-note.d.ts index b3c161252e..0851c2f214 100644 --- a/types/react-icons/lib/md/music-note.d.ts +++ b/types/react-icons/lib/md/music-note.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMusicNote extends React.Component<IconBaseProps> { } +declare class MdMusicNote extends React.Component<IconBaseProps> { } +export = MdMusicNote; diff --git a/types/react-icons/lib/md/music-video.d.ts b/types/react-icons/lib/md/music-video.d.ts index e7c4890596..45b5660c4a 100644 --- a/types/react-icons/lib/md/music-video.d.ts +++ b/types/react-icons/lib/md/music-video.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMusicVideo extends React.Component<IconBaseProps> { } +declare class MdMusicVideo extends React.Component<IconBaseProps> { } +export = MdMusicVideo; diff --git a/types/react-icons/lib/md/my-location.d.ts b/types/react-icons/lib/md/my-location.d.ts index e9e49e3638..1860b6ad49 100644 --- a/types/react-icons/lib/md/my-location.d.ts +++ b/types/react-icons/lib/md/my-location.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdMyLocation extends React.Component<IconBaseProps> { } +declare class MdMyLocation extends React.Component<IconBaseProps> { } +export = MdMyLocation; diff --git a/types/react-icons/lib/md/nature-people.d.ts b/types/react-icons/lib/md/nature-people.d.ts index 123a578eff..45f5c8625b 100644 --- a/types/react-icons/lib/md/nature-people.d.ts +++ b/types/react-icons/lib/md/nature-people.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNaturePeople extends React.Component<IconBaseProps> { } +declare class MdNaturePeople extends React.Component<IconBaseProps> { } +export = MdNaturePeople; diff --git a/types/react-icons/lib/md/nature.d.ts b/types/react-icons/lib/md/nature.d.ts index 14b871e450..8391fd3e82 100644 --- a/types/react-icons/lib/md/nature.d.ts +++ b/types/react-icons/lib/md/nature.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNature extends React.Component<IconBaseProps> { } +declare class MdNature extends React.Component<IconBaseProps> { } +export = MdNature; diff --git a/types/react-icons/lib/md/navigate-before.d.ts b/types/react-icons/lib/md/navigate-before.d.ts index e66fdc2c7b..d771c271f1 100644 --- a/types/react-icons/lib/md/navigate-before.d.ts +++ b/types/react-icons/lib/md/navigate-before.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNavigateBefore extends React.Component<IconBaseProps> { } +declare class MdNavigateBefore extends React.Component<IconBaseProps> { } +export = MdNavigateBefore; diff --git a/types/react-icons/lib/md/navigate-next.d.ts b/types/react-icons/lib/md/navigate-next.d.ts index f39bad2270..96b04c5c81 100644 --- a/types/react-icons/lib/md/navigate-next.d.ts +++ b/types/react-icons/lib/md/navigate-next.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNavigateNext extends React.Component<IconBaseProps> { } +declare class MdNavigateNext extends React.Component<IconBaseProps> { } +export = MdNavigateNext; diff --git a/types/react-icons/lib/md/navigation.d.ts b/types/react-icons/lib/md/navigation.d.ts index be44444790..b051ca0962 100644 --- a/types/react-icons/lib/md/navigation.d.ts +++ b/types/react-icons/lib/md/navigation.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNavigation extends React.Component<IconBaseProps> { } +declare class MdNavigation extends React.Component<IconBaseProps> { } +export = MdNavigation; diff --git a/types/react-icons/lib/md/near-me.d.ts b/types/react-icons/lib/md/near-me.d.ts index a1fe717c03..51fd95dad4 100644 --- a/types/react-icons/lib/md/near-me.d.ts +++ b/types/react-icons/lib/md/near-me.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNearMe extends React.Component<IconBaseProps> { } +declare class MdNearMe extends React.Component<IconBaseProps> { } +export = MdNearMe; diff --git a/types/react-icons/lib/md/network-cell.d.ts b/types/react-icons/lib/md/network-cell.d.ts index 9dc116de65..6c87d7551b 100644 --- a/types/react-icons/lib/md/network-cell.d.ts +++ b/types/react-icons/lib/md/network-cell.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNetworkCell extends React.Component<IconBaseProps> { } +declare class MdNetworkCell extends React.Component<IconBaseProps> { } +export = MdNetworkCell; diff --git a/types/react-icons/lib/md/network-check.d.ts b/types/react-icons/lib/md/network-check.d.ts index 3497ab3224..5b50373fa4 100644 --- a/types/react-icons/lib/md/network-check.d.ts +++ b/types/react-icons/lib/md/network-check.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNetworkCheck extends React.Component<IconBaseProps> { } +declare class MdNetworkCheck extends React.Component<IconBaseProps> { } +export = MdNetworkCheck; diff --git a/types/react-icons/lib/md/network-locked.d.ts b/types/react-icons/lib/md/network-locked.d.ts index e7e66850e4..3cf0e3f075 100644 --- a/types/react-icons/lib/md/network-locked.d.ts +++ b/types/react-icons/lib/md/network-locked.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNetworkLocked extends React.Component<IconBaseProps> { } +declare class MdNetworkLocked extends React.Component<IconBaseProps> { } +export = MdNetworkLocked; diff --git a/types/react-icons/lib/md/network-wifi.d.ts b/types/react-icons/lib/md/network-wifi.d.ts index 2c9097fc57..c4214d04eb 100644 --- a/types/react-icons/lib/md/network-wifi.d.ts +++ b/types/react-icons/lib/md/network-wifi.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNetworkWifi extends React.Component<IconBaseProps> { } +declare class MdNetworkWifi extends React.Component<IconBaseProps> { } +export = MdNetworkWifi; diff --git a/types/react-icons/lib/md/new-releases.d.ts b/types/react-icons/lib/md/new-releases.d.ts index 4ff4c3e21f..2330eee139 100644 --- a/types/react-icons/lib/md/new-releases.d.ts +++ b/types/react-icons/lib/md/new-releases.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNewReleases extends React.Component<IconBaseProps> { } +declare class MdNewReleases extends React.Component<IconBaseProps> { } +export = MdNewReleases; diff --git a/types/react-icons/lib/md/next-week.d.ts b/types/react-icons/lib/md/next-week.d.ts index 4754bfc5c5..7f9635e279 100644 --- a/types/react-icons/lib/md/next-week.d.ts +++ b/types/react-icons/lib/md/next-week.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNextWeek extends React.Component<IconBaseProps> { } +declare class MdNextWeek extends React.Component<IconBaseProps> { } +export = MdNextWeek; diff --git a/types/react-icons/lib/md/nfc.d.ts b/types/react-icons/lib/md/nfc.d.ts index 521ad7fe89..646eab86f4 100644 --- a/types/react-icons/lib/md/nfc.d.ts +++ b/types/react-icons/lib/md/nfc.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNfc extends React.Component<IconBaseProps> { } +declare class MdNfc extends React.Component<IconBaseProps> { } +export = MdNfc; diff --git a/types/react-icons/lib/md/no-encryption.d.ts b/types/react-icons/lib/md/no-encryption.d.ts index 038f3eef3f..87ecaca4b9 100644 --- a/types/react-icons/lib/md/no-encryption.d.ts +++ b/types/react-icons/lib/md/no-encryption.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNoEncryption extends React.Component<IconBaseProps> { } +declare class MdNoEncryption extends React.Component<IconBaseProps> { } +export = MdNoEncryption; diff --git a/types/react-icons/lib/md/no-sim.d.ts b/types/react-icons/lib/md/no-sim.d.ts index 09e6165201..5a0843d187 100644 --- a/types/react-icons/lib/md/no-sim.d.ts +++ b/types/react-icons/lib/md/no-sim.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNoSim extends React.Component<IconBaseProps> { } +declare class MdNoSim extends React.Component<IconBaseProps> { } +export = MdNoSim; diff --git a/types/react-icons/lib/md/not-interested.d.ts b/types/react-icons/lib/md/not-interested.d.ts index a21c3ca574..4250465b0e 100644 --- a/types/react-icons/lib/md/not-interested.d.ts +++ b/types/react-icons/lib/md/not-interested.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNotInterested extends React.Component<IconBaseProps> { } +declare class MdNotInterested extends React.Component<IconBaseProps> { } +export = MdNotInterested; diff --git a/types/react-icons/lib/md/note-add.d.ts b/types/react-icons/lib/md/note-add.d.ts index 7673a94b3c..81ee86856d 100644 --- a/types/react-icons/lib/md/note-add.d.ts +++ b/types/react-icons/lib/md/note-add.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNoteAdd extends React.Component<IconBaseProps> { } +declare class MdNoteAdd extends React.Component<IconBaseProps> { } +export = MdNoteAdd; diff --git a/types/react-icons/lib/md/note.d.ts b/types/react-icons/lib/md/note.d.ts index 757dfc63fc..59819344cf 100644 --- a/types/react-icons/lib/md/note.d.ts +++ b/types/react-icons/lib/md/note.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNote extends React.Component<IconBaseProps> { } +declare class MdNote extends React.Component<IconBaseProps> { } +export = MdNote; diff --git a/types/react-icons/lib/md/notifications-active.d.ts b/types/react-icons/lib/md/notifications-active.d.ts index afb7f84483..1fe1c7709a 100644 --- a/types/react-icons/lib/md/notifications-active.d.ts +++ b/types/react-icons/lib/md/notifications-active.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNotificationsActive extends React.Component<IconBaseProps> { } +declare class MdNotificationsActive extends React.Component<IconBaseProps> { } +export = MdNotificationsActive; diff --git a/types/react-icons/lib/md/notifications-none.d.ts b/types/react-icons/lib/md/notifications-none.d.ts index d1667a5307..734c103da7 100644 --- a/types/react-icons/lib/md/notifications-none.d.ts +++ b/types/react-icons/lib/md/notifications-none.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNotificationsNone extends React.Component<IconBaseProps> { } +declare class MdNotificationsNone extends React.Component<IconBaseProps> { } +export = MdNotificationsNone; diff --git a/types/react-icons/lib/md/notifications-off.d.ts b/types/react-icons/lib/md/notifications-off.d.ts index ea413b9d5c..59946687a9 100644 --- a/types/react-icons/lib/md/notifications-off.d.ts +++ b/types/react-icons/lib/md/notifications-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNotificationsOff extends React.Component<IconBaseProps> { } +declare class MdNotificationsOff extends React.Component<IconBaseProps> { } +export = MdNotificationsOff; diff --git a/types/react-icons/lib/md/notifications-paused.d.ts b/types/react-icons/lib/md/notifications-paused.d.ts index 7181f702a7..0eccf9bc7b 100644 --- a/types/react-icons/lib/md/notifications-paused.d.ts +++ b/types/react-icons/lib/md/notifications-paused.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNotificationsPaused extends React.Component<IconBaseProps> { } +declare class MdNotificationsPaused extends React.Component<IconBaseProps> { } +export = MdNotificationsPaused; diff --git a/types/react-icons/lib/md/notifications.d.ts b/types/react-icons/lib/md/notifications.d.ts index 14de6c4b4e..2865d4e06a 100644 --- a/types/react-icons/lib/md/notifications.d.ts +++ b/types/react-icons/lib/md/notifications.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNotifications extends React.Component<IconBaseProps> { } +declare class MdNotifications extends React.Component<IconBaseProps> { } +export = MdNotifications; diff --git a/types/react-icons/lib/md/now-wallpaper.d.ts b/types/react-icons/lib/md/now-wallpaper.d.ts index 076ec5c4bf..ad64b79218 100644 --- a/types/react-icons/lib/md/now-wallpaper.d.ts +++ b/types/react-icons/lib/md/now-wallpaper.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNowWallpaper extends React.Component<IconBaseProps> { } +declare class MdNowWallpaper extends React.Component<IconBaseProps> { } +export = MdNowWallpaper; diff --git a/types/react-icons/lib/md/now-widgets.d.ts b/types/react-icons/lib/md/now-widgets.d.ts index 0242391941..18e3df156c 100644 --- a/types/react-icons/lib/md/now-widgets.d.ts +++ b/types/react-icons/lib/md/now-widgets.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdNowWidgets extends React.Component<IconBaseProps> { } +declare class MdNowWidgets extends React.Component<IconBaseProps> { } +export = MdNowWidgets; diff --git a/types/react-icons/lib/md/offline-pin.d.ts b/types/react-icons/lib/md/offline-pin.d.ts index 0c691eb46c..46cd8199f9 100644 --- a/types/react-icons/lib/md/offline-pin.d.ts +++ b/types/react-icons/lib/md/offline-pin.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdOfflinePin extends React.Component<IconBaseProps> { } +declare class MdOfflinePin extends React.Component<IconBaseProps> { } +export = MdOfflinePin; diff --git a/types/react-icons/lib/md/ondemand-video.d.ts b/types/react-icons/lib/md/ondemand-video.d.ts index 2abd212bc0..dbf5b14687 100644 --- a/types/react-icons/lib/md/ondemand-video.d.ts +++ b/types/react-icons/lib/md/ondemand-video.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdOndemandVideo extends React.Component<IconBaseProps> { } +declare class MdOndemandVideo extends React.Component<IconBaseProps> { } +export = MdOndemandVideo; diff --git a/types/react-icons/lib/md/opacity.d.ts b/types/react-icons/lib/md/opacity.d.ts index abf5830ea6..17bad8db6d 100644 --- a/types/react-icons/lib/md/opacity.d.ts +++ b/types/react-icons/lib/md/opacity.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdOpacity extends React.Component<IconBaseProps> { } +declare class MdOpacity extends React.Component<IconBaseProps> { } +export = MdOpacity; diff --git a/types/react-icons/lib/md/open-in-browser.d.ts b/types/react-icons/lib/md/open-in-browser.d.ts index 52bb107a78..4e9b90b4da 100644 --- a/types/react-icons/lib/md/open-in-browser.d.ts +++ b/types/react-icons/lib/md/open-in-browser.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdOpenInBrowser extends React.Component<IconBaseProps> { } +declare class MdOpenInBrowser extends React.Component<IconBaseProps> { } +export = MdOpenInBrowser; diff --git a/types/react-icons/lib/md/open-in-new.d.ts b/types/react-icons/lib/md/open-in-new.d.ts index c9cdd9711c..0a82b41b5a 100644 --- a/types/react-icons/lib/md/open-in-new.d.ts +++ b/types/react-icons/lib/md/open-in-new.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdOpenInNew extends React.Component<IconBaseProps> { } +declare class MdOpenInNew extends React.Component<IconBaseProps> { } +export = MdOpenInNew; diff --git a/types/react-icons/lib/md/open-with.d.ts b/types/react-icons/lib/md/open-with.d.ts index 400d1e0deb..fbb6f98852 100644 --- a/types/react-icons/lib/md/open-with.d.ts +++ b/types/react-icons/lib/md/open-with.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdOpenWith extends React.Component<IconBaseProps> { } +declare class MdOpenWith extends React.Component<IconBaseProps> { } +export = MdOpenWith; diff --git a/types/react-icons/lib/md/pages.d.ts b/types/react-icons/lib/md/pages.d.ts index 6a156250cc..c26e324fb2 100644 --- a/types/react-icons/lib/md/pages.d.ts +++ b/types/react-icons/lib/md/pages.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPages extends React.Component<IconBaseProps> { } +declare class MdPages extends React.Component<IconBaseProps> { } +export = MdPages; diff --git a/types/react-icons/lib/md/pageview.d.ts b/types/react-icons/lib/md/pageview.d.ts index f69c0ee9f2..3db2826beb 100644 --- a/types/react-icons/lib/md/pageview.d.ts +++ b/types/react-icons/lib/md/pageview.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPageview extends React.Component<IconBaseProps> { } +declare class MdPageview extends React.Component<IconBaseProps> { } +export = MdPageview; diff --git a/types/react-icons/lib/md/palette.d.ts b/types/react-icons/lib/md/palette.d.ts index 823c529566..eddc488804 100644 --- a/types/react-icons/lib/md/palette.d.ts +++ b/types/react-icons/lib/md/palette.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPalette extends React.Component<IconBaseProps> { } +declare class MdPalette extends React.Component<IconBaseProps> { } +export = MdPalette; diff --git a/types/react-icons/lib/md/pan-tool.d.ts b/types/react-icons/lib/md/pan-tool.d.ts index b208116369..cd89c9e107 100644 --- a/types/react-icons/lib/md/pan-tool.d.ts +++ b/types/react-icons/lib/md/pan-tool.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPanTool extends React.Component<IconBaseProps> { } +declare class MdPanTool extends React.Component<IconBaseProps> { } +export = MdPanTool; diff --git a/types/react-icons/lib/md/panorama-fish-eye.d.ts b/types/react-icons/lib/md/panorama-fish-eye.d.ts index 29420599ae..845e5ec82c 100644 --- a/types/react-icons/lib/md/panorama-fish-eye.d.ts +++ b/types/react-icons/lib/md/panorama-fish-eye.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPanoramaFishEye extends React.Component<IconBaseProps> { } +declare class MdPanoramaFishEye extends React.Component<IconBaseProps> { } +export = MdPanoramaFishEye; diff --git a/types/react-icons/lib/md/panorama-horizontal.d.ts b/types/react-icons/lib/md/panorama-horizontal.d.ts index 201fb72074..c042c5465f 100644 --- a/types/react-icons/lib/md/panorama-horizontal.d.ts +++ b/types/react-icons/lib/md/panorama-horizontal.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPanoramaHorizontal extends React.Component<IconBaseProps> { } +declare class MdPanoramaHorizontal extends React.Component<IconBaseProps> { } +export = MdPanoramaHorizontal; diff --git a/types/react-icons/lib/md/panorama-vertical.d.ts b/types/react-icons/lib/md/panorama-vertical.d.ts index 460041e27d..23e9930176 100644 --- a/types/react-icons/lib/md/panorama-vertical.d.ts +++ b/types/react-icons/lib/md/panorama-vertical.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPanoramaVertical extends React.Component<IconBaseProps> { } +declare class MdPanoramaVertical extends React.Component<IconBaseProps> { } +export = MdPanoramaVertical; diff --git a/types/react-icons/lib/md/panorama-wide-angle.d.ts b/types/react-icons/lib/md/panorama-wide-angle.d.ts index 58bf2f6a41..4a203d1626 100644 --- a/types/react-icons/lib/md/panorama-wide-angle.d.ts +++ b/types/react-icons/lib/md/panorama-wide-angle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPanoramaWideAngle extends React.Component<IconBaseProps> { } +declare class MdPanoramaWideAngle extends React.Component<IconBaseProps> { } +export = MdPanoramaWideAngle; diff --git a/types/react-icons/lib/md/panorama.d.ts b/types/react-icons/lib/md/panorama.d.ts index ce2631733d..bd3a7cbd25 100644 --- a/types/react-icons/lib/md/panorama.d.ts +++ b/types/react-icons/lib/md/panorama.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPanorama extends React.Component<IconBaseProps> { } +declare class MdPanorama extends React.Component<IconBaseProps> { } +export = MdPanorama; diff --git a/types/react-icons/lib/md/party-mode.d.ts b/types/react-icons/lib/md/party-mode.d.ts index 61270bf1f0..83b53cea69 100644 --- a/types/react-icons/lib/md/party-mode.d.ts +++ b/types/react-icons/lib/md/party-mode.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPartyMode extends React.Component<IconBaseProps> { } +declare class MdPartyMode extends React.Component<IconBaseProps> { } +export = MdPartyMode; diff --git a/types/react-icons/lib/md/pause-circle-filled.d.ts b/types/react-icons/lib/md/pause-circle-filled.d.ts index 8dcc944037..80d0552c2a 100644 --- a/types/react-icons/lib/md/pause-circle-filled.d.ts +++ b/types/react-icons/lib/md/pause-circle-filled.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPauseCircleFilled extends React.Component<IconBaseProps> { } +declare class MdPauseCircleFilled extends React.Component<IconBaseProps> { } +export = MdPauseCircleFilled; diff --git a/types/react-icons/lib/md/pause-circle-outline.d.ts b/types/react-icons/lib/md/pause-circle-outline.d.ts index c694731521..a7b9df4756 100644 --- a/types/react-icons/lib/md/pause-circle-outline.d.ts +++ b/types/react-icons/lib/md/pause-circle-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPauseCircleOutline extends React.Component<IconBaseProps> { } +declare class MdPauseCircleOutline extends React.Component<IconBaseProps> { } +export = MdPauseCircleOutline; diff --git a/types/react-icons/lib/md/pause.d.ts b/types/react-icons/lib/md/pause.d.ts index 29d68353f7..07da37dbc0 100644 --- a/types/react-icons/lib/md/pause.d.ts +++ b/types/react-icons/lib/md/pause.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPause extends React.Component<IconBaseProps> { } +declare class MdPause extends React.Component<IconBaseProps> { } +export = MdPause; diff --git a/types/react-icons/lib/md/payment.d.ts b/types/react-icons/lib/md/payment.d.ts index bd2439d38c..62761620a7 100644 --- a/types/react-icons/lib/md/payment.d.ts +++ b/types/react-icons/lib/md/payment.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPayment extends React.Component<IconBaseProps> { } +declare class MdPayment extends React.Component<IconBaseProps> { } +export = MdPayment; diff --git a/types/react-icons/lib/md/people-outline.d.ts b/types/react-icons/lib/md/people-outline.d.ts index 88a012742e..9285016a5f 100644 --- a/types/react-icons/lib/md/people-outline.d.ts +++ b/types/react-icons/lib/md/people-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPeopleOutline extends React.Component<IconBaseProps> { } +declare class MdPeopleOutline extends React.Component<IconBaseProps> { } +export = MdPeopleOutline; diff --git a/types/react-icons/lib/md/people.d.ts b/types/react-icons/lib/md/people.d.ts index 75f9cbfe7e..5e256d4d2c 100644 --- a/types/react-icons/lib/md/people.d.ts +++ b/types/react-icons/lib/md/people.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPeople extends React.Component<IconBaseProps> { } +declare class MdPeople extends React.Component<IconBaseProps> { } +export = MdPeople; diff --git a/types/react-icons/lib/md/perm-camera-mic.d.ts b/types/react-icons/lib/md/perm-camera-mic.d.ts index a17acb8788..fc2b9d15bc 100644 --- a/types/react-icons/lib/md/perm-camera-mic.d.ts +++ b/types/react-icons/lib/md/perm-camera-mic.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPermCameraMic extends React.Component<IconBaseProps> { } +declare class MdPermCameraMic extends React.Component<IconBaseProps> { } +export = MdPermCameraMic; diff --git a/types/react-icons/lib/md/perm-contact-calendar.d.ts b/types/react-icons/lib/md/perm-contact-calendar.d.ts index 3b2105a7cf..f107c8a8b9 100644 --- a/types/react-icons/lib/md/perm-contact-calendar.d.ts +++ b/types/react-icons/lib/md/perm-contact-calendar.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPermContactCalendar extends React.Component<IconBaseProps> { } +declare class MdPermContactCalendar extends React.Component<IconBaseProps> { } +export = MdPermContactCalendar; diff --git a/types/react-icons/lib/md/perm-data-setting.d.ts b/types/react-icons/lib/md/perm-data-setting.d.ts index 18d108d14f..eb93566fad 100644 --- a/types/react-icons/lib/md/perm-data-setting.d.ts +++ b/types/react-icons/lib/md/perm-data-setting.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPermDataSetting extends React.Component<IconBaseProps> { } +declare class MdPermDataSetting extends React.Component<IconBaseProps> { } +export = MdPermDataSetting; diff --git a/types/react-icons/lib/md/perm-device-information.d.ts b/types/react-icons/lib/md/perm-device-information.d.ts index db2dfcc07b..8b12c216aa 100644 --- a/types/react-icons/lib/md/perm-device-information.d.ts +++ b/types/react-icons/lib/md/perm-device-information.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPermDeviceInformation extends React.Component<IconBaseProps> { } +declare class MdPermDeviceInformation extends React.Component<IconBaseProps> { } +export = MdPermDeviceInformation; diff --git a/types/react-icons/lib/md/perm-identity.d.ts b/types/react-icons/lib/md/perm-identity.d.ts index d56d0b3c37..c3df601924 100644 --- a/types/react-icons/lib/md/perm-identity.d.ts +++ b/types/react-icons/lib/md/perm-identity.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPermIdentity extends React.Component<IconBaseProps> { } +declare class MdPermIdentity extends React.Component<IconBaseProps> { } +export = MdPermIdentity; diff --git a/types/react-icons/lib/md/perm-media.d.ts b/types/react-icons/lib/md/perm-media.d.ts index 36f4bee6a7..cfe25c2672 100644 --- a/types/react-icons/lib/md/perm-media.d.ts +++ b/types/react-icons/lib/md/perm-media.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPermMedia extends React.Component<IconBaseProps> { } +declare class MdPermMedia extends React.Component<IconBaseProps> { } +export = MdPermMedia; diff --git a/types/react-icons/lib/md/perm-phone-msg.d.ts b/types/react-icons/lib/md/perm-phone-msg.d.ts index 6352e415a6..fca1fb5d82 100644 --- a/types/react-icons/lib/md/perm-phone-msg.d.ts +++ b/types/react-icons/lib/md/perm-phone-msg.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPermPhoneMsg extends React.Component<IconBaseProps> { } +declare class MdPermPhoneMsg extends React.Component<IconBaseProps> { } +export = MdPermPhoneMsg; diff --git a/types/react-icons/lib/md/perm-scan-wifi.d.ts b/types/react-icons/lib/md/perm-scan-wifi.d.ts index 20bb1186e4..dd857bfc75 100644 --- a/types/react-icons/lib/md/perm-scan-wifi.d.ts +++ b/types/react-icons/lib/md/perm-scan-wifi.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPermScanWifi extends React.Component<IconBaseProps> { } +declare class MdPermScanWifi extends React.Component<IconBaseProps> { } +export = MdPermScanWifi; diff --git a/types/react-icons/lib/md/person-add.d.ts b/types/react-icons/lib/md/person-add.d.ts index 12887556b7..05c41837f4 100644 --- a/types/react-icons/lib/md/person-add.d.ts +++ b/types/react-icons/lib/md/person-add.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPersonAdd extends React.Component<IconBaseProps> { } +declare class MdPersonAdd extends React.Component<IconBaseProps> { } +export = MdPersonAdd; diff --git a/types/react-icons/lib/md/person-outline.d.ts b/types/react-icons/lib/md/person-outline.d.ts index fe49015f3f..4b0e0859c8 100644 --- a/types/react-icons/lib/md/person-outline.d.ts +++ b/types/react-icons/lib/md/person-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPersonOutline extends React.Component<IconBaseProps> { } +declare class MdPersonOutline extends React.Component<IconBaseProps> { } +export = MdPersonOutline; diff --git a/types/react-icons/lib/md/person-pin-circle.d.ts b/types/react-icons/lib/md/person-pin-circle.d.ts index a26c822211..7e463591c4 100644 --- a/types/react-icons/lib/md/person-pin-circle.d.ts +++ b/types/react-icons/lib/md/person-pin-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPersonPinCircle extends React.Component<IconBaseProps> { } +declare class MdPersonPinCircle extends React.Component<IconBaseProps> { } +export = MdPersonPinCircle; diff --git a/types/react-icons/lib/md/person-pin.d.ts b/types/react-icons/lib/md/person-pin.d.ts index ab1aa735eb..5731a64ba2 100644 --- a/types/react-icons/lib/md/person-pin.d.ts +++ b/types/react-icons/lib/md/person-pin.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPersonPin extends React.Component<IconBaseProps> { } +declare class MdPersonPin extends React.Component<IconBaseProps> { } +export = MdPersonPin; diff --git a/types/react-icons/lib/md/person.d.ts b/types/react-icons/lib/md/person.d.ts index bcae2bbac8..bbaaad66da 100644 --- a/types/react-icons/lib/md/person.d.ts +++ b/types/react-icons/lib/md/person.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPerson extends React.Component<IconBaseProps> { } +declare class MdPerson extends React.Component<IconBaseProps> { } +export = MdPerson; diff --git a/types/react-icons/lib/md/personal-video.d.ts b/types/react-icons/lib/md/personal-video.d.ts index 0fece81d04..f49fb640d1 100644 --- a/types/react-icons/lib/md/personal-video.d.ts +++ b/types/react-icons/lib/md/personal-video.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPersonalVideo extends React.Component<IconBaseProps> { } +declare class MdPersonalVideo extends React.Component<IconBaseProps> { } +export = MdPersonalVideo; diff --git a/types/react-icons/lib/md/pets.d.ts b/types/react-icons/lib/md/pets.d.ts index 94bc0005e8..4c9793a129 100644 --- a/types/react-icons/lib/md/pets.d.ts +++ b/types/react-icons/lib/md/pets.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPets extends React.Component<IconBaseProps> { } +declare class MdPets extends React.Component<IconBaseProps> { } +export = MdPets; diff --git a/types/react-icons/lib/md/phone-android.d.ts b/types/react-icons/lib/md/phone-android.d.ts index aa43921b51..30c4db75e6 100644 --- a/types/react-icons/lib/md/phone-android.d.ts +++ b/types/react-icons/lib/md/phone-android.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhoneAndroid extends React.Component<IconBaseProps> { } +declare class MdPhoneAndroid extends React.Component<IconBaseProps> { } +export = MdPhoneAndroid; diff --git a/types/react-icons/lib/md/phone-bluetooth-speaker.d.ts b/types/react-icons/lib/md/phone-bluetooth-speaker.d.ts index 08e2cd6791..be75f447df 100644 --- a/types/react-icons/lib/md/phone-bluetooth-speaker.d.ts +++ b/types/react-icons/lib/md/phone-bluetooth-speaker.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhoneBluetoothSpeaker extends React.Component<IconBaseProps> { } +declare class MdPhoneBluetoothSpeaker extends React.Component<IconBaseProps> { } +export = MdPhoneBluetoothSpeaker; diff --git a/types/react-icons/lib/md/phone-forwarded.d.ts b/types/react-icons/lib/md/phone-forwarded.d.ts index 8363d7e3ec..caeb337723 100644 --- a/types/react-icons/lib/md/phone-forwarded.d.ts +++ b/types/react-icons/lib/md/phone-forwarded.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhoneForwarded extends React.Component<IconBaseProps> { } +declare class MdPhoneForwarded extends React.Component<IconBaseProps> { } +export = MdPhoneForwarded; diff --git a/types/react-icons/lib/md/phone-in-talk.d.ts b/types/react-icons/lib/md/phone-in-talk.d.ts index 430f87b4e4..439fe99a45 100644 --- a/types/react-icons/lib/md/phone-in-talk.d.ts +++ b/types/react-icons/lib/md/phone-in-talk.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhoneInTalk extends React.Component<IconBaseProps> { } +declare class MdPhoneInTalk extends React.Component<IconBaseProps> { } +export = MdPhoneInTalk; diff --git a/types/react-icons/lib/md/phone-iphone.d.ts b/types/react-icons/lib/md/phone-iphone.d.ts index 8704ae8ad4..5a42b35412 100644 --- a/types/react-icons/lib/md/phone-iphone.d.ts +++ b/types/react-icons/lib/md/phone-iphone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhoneIphone extends React.Component<IconBaseProps> { } +declare class MdPhoneIphone extends React.Component<IconBaseProps> { } +export = MdPhoneIphone; diff --git a/types/react-icons/lib/md/phone-locked.d.ts b/types/react-icons/lib/md/phone-locked.d.ts index 68ca6e9376..df4bdb68e0 100644 --- a/types/react-icons/lib/md/phone-locked.d.ts +++ b/types/react-icons/lib/md/phone-locked.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhoneLocked extends React.Component<IconBaseProps> { } +declare class MdPhoneLocked extends React.Component<IconBaseProps> { } +export = MdPhoneLocked; diff --git a/types/react-icons/lib/md/phone-missed.d.ts b/types/react-icons/lib/md/phone-missed.d.ts index 91b97ca8e9..57f48c1817 100644 --- a/types/react-icons/lib/md/phone-missed.d.ts +++ b/types/react-icons/lib/md/phone-missed.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhoneMissed extends React.Component<IconBaseProps> { } +declare class MdPhoneMissed extends React.Component<IconBaseProps> { } +export = MdPhoneMissed; diff --git a/types/react-icons/lib/md/phone-paused.d.ts b/types/react-icons/lib/md/phone-paused.d.ts index ba3f998fd8..fded3f9a42 100644 --- a/types/react-icons/lib/md/phone-paused.d.ts +++ b/types/react-icons/lib/md/phone-paused.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhonePaused extends React.Component<IconBaseProps> { } +declare class MdPhonePaused extends React.Component<IconBaseProps> { } +export = MdPhonePaused; diff --git a/types/react-icons/lib/md/phone.d.ts b/types/react-icons/lib/md/phone.d.ts index 6318cdc39d..e5634b5d20 100644 --- a/types/react-icons/lib/md/phone.d.ts +++ b/types/react-icons/lib/md/phone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhone extends React.Component<IconBaseProps> { } +declare class MdPhone extends React.Component<IconBaseProps> { } +export = MdPhone; diff --git a/types/react-icons/lib/md/phonelink-erase.d.ts b/types/react-icons/lib/md/phonelink-erase.d.ts index b0cbec1c39..33787bbd4b 100644 --- a/types/react-icons/lib/md/phonelink-erase.d.ts +++ b/types/react-icons/lib/md/phonelink-erase.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhonelinkErase extends React.Component<IconBaseProps> { } +declare class MdPhonelinkErase extends React.Component<IconBaseProps> { } +export = MdPhonelinkErase; diff --git a/types/react-icons/lib/md/phonelink-lock.d.ts b/types/react-icons/lib/md/phonelink-lock.d.ts index 5bb479ddc0..81d84f10ee 100644 --- a/types/react-icons/lib/md/phonelink-lock.d.ts +++ b/types/react-icons/lib/md/phonelink-lock.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhonelinkLock extends React.Component<IconBaseProps> { } +declare class MdPhonelinkLock extends React.Component<IconBaseProps> { } +export = MdPhonelinkLock; diff --git a/types/react-icons/lib/md/phonelink-off.d.ts b/types/react-icons/lib/md/phonelink-off.d.ts index ec245ecd6f..eb8044dcca 100644 --- a/types/react-icons/lib/md/phonelink-off.d.ts +++ b/types/react-icons/lib/md/phonelink-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhonelinkOff extends React.Component<IconBaseProps> { } +declare class MdPhonelinkOff extends React.Component<IconBaseProps> { } +export = MdPhonelinkOff; diff --git a/types/react-icons/lib/md/phonelink-ring.d.ts b/types/react-icons/lib/md/phonelink-ring.d.ts index f14d93a479..fb4829eef1 100644 --- a/types/react-icons/lib/md/phonelink-ring.d.ts +++ b/types/react-icons/lib/md/phonelink-ring.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhonelinkRing extends React.Component<IconBaseProps> { } +declare class MdPhonelinkRing extends React.Component<IconBaseProps> { } +export = MdPhonelinkRing; diff --git a/types/react-icons/lib/md/phonelink-setup.d.ts b/types/react-icons/lib/md/phonelink-setup.d.ts index dd21188bb5..0546b0f910 100644 --- a/types/react-icons/lib/md/phonelink-setup.d.ts +++ b/types/react-icons/lib/md/phonelink-setup.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhonelinkSetup extends React.Component<IconBaseProps> { } +declare class MdPhonelinkSetup extends React.Component<IconBaseProps> { } +export = MdPhonelinkSetup; diff --git a/types/react-icons/lib/md/phonelink.d.ts b/types/react-icons/lib/md/phonelink.d.ts index 6aa5af39d7..16653325b1 100644 --- a/types/react-icons/lib/md/phonelink.d.ts +++ b/types/react-icons/lib/md/phonelink.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhonelink extends React.Component<IconBaseProps> { } +declare class MdPhonelink extends React.Component<IconBaseProps> { } +export = MdPhonelink; diff --git a/types/react-icons/lib/md/photo-album.d.ts b/types/react-icons/lib/md/photo-album.d.ts index 116f8b1ff6..dc21ce961f 100644 --- a/types/react-icons/lib/md/photo-album.d.ts +++ b/types/react-icons/lib/md/photo-album.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhotoAlbum extends React.Component<IconBaseProps> { } +declare class MdPhotoAlbum extends React.Component<IconBaseProps> { } +export = MdPhotoAlbum; diff --git a/types/react-icons/lib/md/photo-camera.d.ts b/types/react-icons/lib/md/photo-camera.d.ts index 9ca8814377..01afdf9bc8 100644 --- a/types/react-icons/lib/md/photo-camera.d.ts +++ b/types/react-icons/lib/md/photo-camera.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhotoCamera extends React.Component<IconBaseProps> { } +declare class MdPhotoCamera extends React.Component<IconBaseProps> { } +export = MdPhotoCamera; diff --git a/types/react-icons/lib/md/photo-filter.d.ts b/types/react-icons/lib/md/photo-filter.d.ts index e2b37a4b91..994d10d5e5 100644 --- a/types/react-icons/lib/md/photo-filter.d.ts +++ b/types/react-icons/lib/md/photo-filter.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhotoFilter extends React.Component<IconBaseProps> { } +declare class MdPhotoFilter extends React.Component<IconBaseProps> { } +export = MdPhotoFilter; diff --git a/types/react-icons/lib/md/photo-library.d.ts b/types/react-icons/lib/md/photo-library.d.ts index 3ec4c29cac..18f6c5a756 100644 --- a/types/react-icons/lib/md/photo-library.d.ts +++ b/types/react-icons/lib/md/photo-library.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhotoLibrary extends React.Component<IconBaseProps> { } +declare class MdPhotoLibrary extends React.Component<IconBaseProps> { } +export = MdPhotoLibrary; diff --git a/types/react-icons/lib/md/photo-size-select-actual.d.ts b/types/react-icons/lib/md/photo-size-select-actual.d.ts index 15e1777cf0..d2c24264f7 100644 --- a/types/react-icons/lib/md/photo-size-select-actual.d.ts +++ b/types/react-icons/lib/md/photo-size-select-actual.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhotoSizeSelectActual extends React.Component<IconBaseProps> { } +declare class MdPhotoSizeSelectActual extends React.Component<IconBaseProps> { } +export = MdPhotoSizeSelectActual; diff --git a/types/react-icons/lib/md/photo-size-select-large.d.ts b/types/react-icons/lib/md/photo-size-select-large.d.ts index 56025586af..d468535f85 100644 --- a/types/react-icons/lib/md/photo-size-select-large.d.ts +++ b/types/react-icons/lib/md/photo-size-select-large.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhotoSizeSelectLarge extends React.Component<IconBaseProps> { } +declare class MdPhotoSizeSelectLarge extends React.Component<IconBaseProps> { } +export = MdPhotoSizeSelectLarge; diff --git a/types/react-icons/lib/md/photo-size-select-small.d.ts b/types/react-icons/lib/md/photo-size-select-small.d.ts index f1a2547ff6..88d3b699eb 100644 --- a/types/react-icons/lib/md/photo-size-select-small.d.ts +++ b/types/react-icons/lib/md/photo-size-select-small.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhotoSizeSelectSmall extends React.Component<IconBaseProps> { } +declare class MdPhotoSizeSelectSmall extends React.Component<IconBaseProps> { } +export = MdPhotoSizeSelectSmall; diff --git a/types/react-icons/lib/md/photo.d.ts b/types/react-icons/lib/md/photo.d.ts index 3af5e8d6b9..7b6a50c063 100644 --- a/types/react-icons/lib/md/photo.d.ts +++ b/types/react-icons/lib/md/photo.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPhoto extends React.Component<IconBaseProps> { } +declare class MdPhoto extends React.Component<IconBaseProps> { } +export = MdPhoto; diff --git a/types/react-icons/lib/md/picture-as-pdf.d.ts b/types/react-icons/lib/md/picture-as-pdf.d.ts index 06fd1dfb31..f771b781f3 100644 --- a/types/react-icons/lib/md/picture-as-pdf.d.ts +++ b/types/react-icons/lib/md/picture-as-pdf.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPictureAsPdf extends React.Component<IconBaseProps> { } +declare class MdPictureAsPdf extends React.Component<IconBaseProps> { } +export = MdPictureAsPdf; diff --git a/types/react-icons/lib/md/picture-in-picture-alt.d.ts b/types/react-icons/lib/md/picture-in-picture-alt.d.ts index 41a6b03404..706766c7ee 100644 --- a/types/react-icons/lib/md/picture-in-picture-alt.d.ts +++ b/types/react-icons/lib/md/picture-in-picture-alt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPictureInPictureAlt extends React.Component<IconBaseProps> { } +declare class MdPictureInPictureAlt extends React.Component<IconBaseProps> { } +export = MdPictureInPictureAlt; diff --git a/types/react-icons/lib/md/picture-in-picture.d.ts b/types/react-icons/lib/md/picture-in-picture.d.ts index e174bddfd7..fd928d0435 100644 --- a/types/react-icons/lib/md/picture-in-picture.d.ts +++ b/types/react-icons/lib/md/picture-in-picture.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPictureInPicture extends React.Component<IconBaseProps> { } +declare class MdPictureInPicture extends React.Component<IconBaseProps> { } +export = MdPictureInPicture; diff --git a/types/react-icons/lib/md/pie-chart-outlined.d.ts b/types/react-icons/lib/md/pie-chart-outlined.d.ts index 8fdaa68aee..d6124faded 100644 --- a/types/react-icons/lib/md/pie-chart-outlined.d.ts +++ b/types/react-icons/lib/md/pie-chart-outlined.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPieChartOutlined extends React.Component<IconBaseProps> { } +declare class MdPieChartOutlined extends React.Component<IconBaseProps> { } +export = MdPieChartOutlined; diff --git a/types/react-icons/lib/md/pie-chart.d.ts b/types/react-icons/lib/md/pie-chart.d.ts index bf0203c4d9..8f7d291715 100644 --- a/types/react-icons/lib/md/pie-chart.d.ts +++ b/types/react-icons/lib/md/pie-chart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPieChart extends React.Component<IconBaseProps> { } +declare class MdPieChart extends React.Component<IconBaseProps> { } +export = MdPieChart; diff --git a/types/react-icons/lib/md/pin-drop.d.ts b/types/react-icons/lib/md/pin-drop.d.ts index b1511912aa..8f05678916 100644 --- a/types/react-icons/lib/md/pin-drop.d.ts +++ b/types/react-icons/lib/md/pin-drop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPinDrop extends React.Component<IconBaseProps> { } +declare class MdPinDrop extends React.Component<IconBaseProps> { } +export = MdPinDrop; diff --git a/types/react-icons/lib/md/place.d.ts b/types/react-icons/lib/md/place.d.ts index 6e7bc9f83d..dd5c14c216 100644 --- a/types/react-icons/lib/md/place.d.ts +++ b/types/react-icons/lib/md/place.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPlace extends React.Component<IconBaseProps> { } +declare class MdPlace extends React.Component<IconBaseProps> { } +export = MdPlace; diff --git a/types/react-icons/lib/md/play-arrow.d.ts b/types/react-icons/lib/md/play-arrow.d.ts index 34eeedbfc9..7327a2b319 100644 --- a/types/react-icons/lib/md/play-arrow.d.ts +++ b/types/react-icons/lib/md/play-arrow.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPlayArrow extends React.Component<IconBaseProps> { } +declare class MdPlayArrow extends React.Component<IconBaseProps> { } +export = MdPlayArrow; diff --git a/types/react-icons/lib/md/play-circle-filled.d.ts b/types/react-icons/lib/md/play-circle-filled.d.ts index a952747a1f..6a7ba9bf9c 100644 --- a/types/react-icons/lib/md/play-circle-filled.d.ts +++ b/types/react-icons/lib/md/play-circle-filled.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPlayCircleFilled extends React.Component<IconBaseProps> { } +declare class MdPlayCircleFilled extends React.Component<IconBaseProps> { } +export = MdPlayCircleFilled; diff --git a/types/react-icons/lib/md/play-circle-outline.d.ts b/types/react-icons/lib/md/play-circle-outline.d.ts index e75083c2f3..6ebd23b062 100644 --- a/types/react-icons/lib/md/play-circle-outline.d.ts +++ b/types/react-icons/lib/md/play-circle-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPlayCircleOutline extends React.Component<IconBaseProps> { } +declare class MdPlayCircleOutline extends React.Component<IconBaseProps> { } +export = MdPlayCircleOutline; diff --git a/types/react-icons/lib/md/play-for-work.d.ts b/types/react-icons/lib/md/play-for-work.d.ts index 4bb94a94b0..f0873e86fa 100644 --- a/types/react-icons/lib/md/play-for-work.d.ts +++ b/types/react-icons/lib/md/play-for-work.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPlayForWork extends React.Component<IconBaseProps> { } +declare class MdPlayForWork extends React.Component<IconBaseProps> { } +export = MdPlayForWork; diff --git a/types/react-icons/lib/md/playlist-add-check.d.ts b/types/react-icons/lib/md/playlist-add-check.d.ts index 6b71a3b8c0..c22eb478a0 100644 --- a/types/react-icons/lib/md/playlist-add-check.d.ts +++ b/types/react-icons/lib/md/playlist-add-check.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPlaylistAddCheck extends React.Component<IconBaseProps> { } +declare class MdPlaylistAddCheck extends React.Component<IconBaseProps> { } +export = MdPlaylistAddCheck; diff --git a/types/react-icons/lib/md/playlist-add.d.ts b/types/react-icons/lib/md/playlist-add.d.ts index 6cd4bf46e6..78bd803be2 100644 --- a/types/react-icons/lib/md/playlist-add.d.ts +++ b/types/react-icons/lib/md/playlist-add.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPlaylistAdd extends React.Component<IconBaseProps> { } +declare class MdPlaylistAdd extends React.Component<IconBaseProps> { } +export = MdPlaylistAdd; diff --git a/types/react-icons/lib/md/playlist-play.d.ts b/types/react-icons/lib/md/playlist-play.d.ts index 1bbf520f44..06dea405bc 100644 --- a/types/react-icons/lib/md/playlist-play.d.ts +++ b/types/react-icons/lib/md/playlist-play.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPlaylistPlay extends React.Component<IconBaseProps> { } +declare class MdPlaylistPlay extends React.Component<IconBaseProps> { } +export = MdPlaylistPlay; diff --git a/types/react-icons/lib/md/plus-one.d.ts b/types/react-icons/lib/md/plus-one.d.ts index 1237985ba5..be10a4d3a3 100644 --- a/types/react-icons/lib/md/plus-one.d.ts +++ b/types/react-icons/lib/md/plus-one.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPlusOne extends React.Component<IconBaseProps> { } +declare class MdPlusOne extends React.Component<IconBaseProps> { } +export = MdPlusOne; diff --git a/types/react-icons/lib/md/poll.d.ts b/types/react-icons/lib/md/poll.d.ts index e0d456a28a..40fa12d1c2 100644 --- a/types/react-icons/lib/md/poll.d.ts +++ b/types/react-icons/lib/md/poll.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPoll extends React.Component<IconBaseProps> { } +declare class MdPoll extends React.Component<IconBaseProps> { } +export = MdPoll; diff --git a/types/react-icons/lib/md/polymer.d.ts b/types/react-icons/lib/md/polymer.d.ts index 6ff9e004b4..7fc5f98fae 100644 --- a/types/react-icons/lib/md/polymer.d.ts +++ b/types/react-icons/lib/md/polymer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPolymer extends React.Component<IconBaseProps> { } +declare class MdPolymer extends React.Component<IconBaseProps> { } +export = MdPolymer; diff --git a/types/react-icons/lib/md/pool.d.ts b/types/react-icons/lib/md/pool.d.ts index 933c4f1448..6483e03363 100644 --- a/types/react-icons/lib/md/pool.d.ts +++ b/types/react-icons/lib/md/pool.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPool extends React.Component<IconBaseProps> { } +declare class MdPool extends React.Component<IconBaseProps> { } +export = MdPool; diff --git a/types/react-icons/lib/md/portable-wifi-off.d.ts b/types/react-icons/lib/md/portable-wifi-off.d.ts index b3bdd30ff8..4fc9ef507c 100644 --- a/types/react-icons/lib/md/portable-wifi-off.d.ts +++ b/types/react-icons/lib/md/portable-wifi-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPortableWifiOff extends React.Component<IconBaseProps> { } +declare class MdPortableWifiOff extends React.Component<IconBaseProps> { } +export = MdPortableWifiOff; diff --git a/types/react-icons/lib/md/portrait.d.ts b/types/react-icons/lib/md/portrait.d.ts index 1e9b2f717e..a587b96bfc 100644 --- a/types/react-icons/lib/md/portrait.d.ts +++ b/types/react-icons/lib/md/portrait.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPortrait extends React.Component<IconBaseProps> { } +declare class MdPortrait extends React.Component<IconBaseProps> { } +export = MdPortrait; diff --git a/types/react-icons/lib/md/power-input.d.ts b/types/react-icons/lib/md/power-input.d.ts index 71f89e9e40..34a90c855f 100644 --- a/types/react-icons/lib/md/power-input.d.ts +++ b/types/react-icons/lib/md/power-input.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPowerInput extends React.Component<IconBaseProps> { } +declare class MdPowerInput extends React.Component<IconBaseProps> { } +export = MdPowerInput; diff --git a/types/react-icons/lib/md/power-settings-new.d.ts b/types/react-icons/lib/md/power-settings-new.d.ts index 69221c9111..1d76b0c67e 100644 --- a/types/react-icons/lib/md/power-settings-new.d.ts +++ b/types/react-icons/lib/md/power-settings-new.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPowerSettingsNew extends React.Component<IconBaseProps> { } +declare class MdPowerSettingsNew extends React.Component<IconBaseProps> { } +export = MdPowerSettingsNew; diff --git a/types/react-icons/lib/md/power.d.ts b/types/react-icons/lib/md/power.d.ts index 106471c2a5..8839984678 100644 --- a/types/react-icons/lib/md/power.d.ts +++ b/types/react-icons/lib/md/power.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPower extends React.Component<IconBaseProps> { } +declare class MdPower extends React.Component<IconBaseProps> { } +export = MdPower; diff --git a/types/react-icons/lib/md/pregnant-woman.d.ts b/types/react-icons/lib/md/pregnant-woman.d.ts index 9e88eab156..7278b215e3 100644 --- a/types/react-icons/lib/md/pregnant-woman.d.ts +++ b/types/react-icons/lib/md/pregnant-woman.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPregnantWoman extends React.Component<IconBaseProps> { } +declare class MdPregnantWoman extends React.Component<IconBaseProps> { } +export = MdPregnantWoman; diff --git a/types/react-icons/lib/md/present-to-all.d.ts b/types/react-icons/lib/md/present-to-all.d.ts index b88c9a45d2..93d710de16 100644 --- a/types/react-icons/lib/md/present-to-all.d.ts +++ b/types/react-icons/lib/md/present-to-all.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPresentToAll extends React.Component<IconBaseProps> { } +declare class MdPresentToAll extends React.Component<IconBaseProps> { } +export = MdPresentToAll; diff --git a/types/react-icons/lib/md/print.d.ts b/types/react-icons/lib/md/print.d.ts index 74d6db2f37..62b476b9c7 100644 --- a/types/react-icons/lib/md/print.d.ts +++ b/types/react-icons/lib/md/print.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPrint extends React.Component<IconBaseProps> { } +declare class MdPrint extends React.Component<IconBaseProps> { } +export = MdPrint; diff --git a/types/react-icons/lib/md/priority-high.d.ts b/types/react-icons/lib/md/priority-high.d.ts index 56c1354dae..840ab9c68a 100644 --- a/types/react-icons/lib/md/priority-high.d.ts +++ b/types/react-icons/lib/md/priority-high.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPriorityHigh extends React.Component<IconBaseProps> { } +declare class MdPriorityHigh extends React.Component<IconBaseProps> { } +export = MdPriorityHigh; diff --git a/types/react-icons/lib/md/public.d.ts b/types/react-icons/lib/md/public.d.ts index 1615661bab..91706fbb9e 100644 --- a/types/react-icons/lib/md/public.d.ts +++ b/types/react-icons/lib/md/public.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPublic extends React.Component<IconBaseProps> { } +declare class MdPublic extends React.Component<IconBaseProps> { } +export = MdPublic; diff --git a/types/react-icons/lib/md/publish.d.ts b/types/react-icons/lib/md/publish.d.ts index 76aae7f48b..db437f53be 100644 --- a/types/react-icons/lib/md/publish.d.ts +++ b/types/react-icons/lib/md/publish.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdPublish extends React.Component<IconBaseProps> { } +declare class MdPublish extends React.Component<IconBaseProps> { } +export = MdPublish; diff --git a/types/react-icons/lib/md/query-builder.d.ts b/types/react-icons/lib/md/query-builder.d.ts index 3607cbf408..8dff3909b5 100644 --- a/types/react-icons/lib/md/query-builder.d.ts +++ b/types/react-icons/lib/md/query-builder.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdQueryBuilder extends React.Component<IconBaseProps> { } +declare class MdQueryBuilder extends React.Component<IconBaseProps> { } +export = MdQueryBuilder; diff --git a/types/react-icons/lib/md/question-answer.d.ts b/types/react-icons/lib/md/question-answer.d.ts index b88cd376d0..76423a5ea1 100644 --- a/types/react-icons/lib/md/question-answer.d.ts +++ b/types/react-icons/lib/md/question-answer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdQuestionAnswer extends React.Component<IconBaseProps> { } +declare class MdQuestionAnswer extends React.Component<IconBaseProps> { } +export = MdQuestionAnswer; diff --git a/types/react-icons/lib/md/queue-music.d.ts b/types/react-icons/lib/md/queue-music.d.ts index 0a9a451291..0186613977 100644 --- a/types/react-icons/lib/md/queue-music.d.ts +++ b/types/react-icons/lib/md/queue-music.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdQueueMusic extends React.Component<IconBaseProps> { } +declare class MdQueueMusic extends React.Component<IconBaseProps> { } +export = MdQueueMusic; diff --git a/types/react-icons/lib/md/queue-play-next.d.ts b/types/react-icons/lib/md/queue-play-next.d.ts index 4540a71df0..c62528bd30 100644 --- a/types/react-icons/lib/md/queue-play-next.d.ts +++ b/types/react-icons/lib/md/queue-play-next.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdQueuePlayNext extends React.Component<IconBaseProps> { } +declare class MdQueuePlayNext extends React.Component<IconBaseProps> { } +export = MdQueuePlayNext; diff --git a/types/react-icons/lib/md/queue.d.ts b/types/react-icons/lib/md/queue.d.ts index 80b27a7f8a..0f2250095b 100644 --- a/types/react-icons/lib/md/queue.d.ts +++ b/types/react-icons/lib/md/queue.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdQueue extends React.Component<IconBaseProps> { } +declare class MdQueue extends React.Component<IconBaseProps> { } +export = MdQueue; diff --git a/types/react-icons/lib/md/radio-button-checked.d.ts b/types/react-icons/lib/md/radio-button-checked.d.ts index dfa06080e6..f8e479ee43 100644 --- a/types/react-icons/lib/md/radio-button-checked.d.ts +++ b/types/react-icons/lib/md/radio-button-checked.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRadioButtonChecked extends React.Component<IconBaseProps> { } +declare class MdRadioButtonChecked extends React.Component<IconBaseProps> { } +export = MdRadioButtonChecked; diff --git a/types/react-icons/lib/md/radio-button-unchecked.d.ts b/types/react-icons/lib/md/radio-button-unchecked.d.ts index b154b71305..60564b7e28 100644 --- a/types/react-icons/lib/md/radio-button-unchecked.d.ts +++ b/types/react-icons/lib/md/radio-button-unchecked.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRadioButtonUnchecked extends React.Component<IconBaseProps> { } +declare class MdRadioButtonUnchecked extends React.Component<IconBaseProps> { } +export = MdRadioButtonUnchecked; diff --git a/types/react-icons/lib/md/radio.d.ts b/types/react-icons/lib/md/radio.d.ts index bd53fd4f03..af41f21e68 100644 --- a/types/react-icons/lib/md/radio.d.ts +++ b/types/react-icons/lib/md/radio.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRadio extends React.Component<IconBaseProps> { } +declare class MdRadio extends React.Component<IconBaseProps> { } +export = MdRadio; diff --git a/types/react-icons/lib/md/rate-review.d.ts b/types/react-icons/lib/md/rate-review.d.ts index 6de3f28785..5f1ef5658a 100644 --- a/types/react-icons/lib/md/rate-review.d.ts +++ b/types/react-icons/lib/md/rate-review.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRateReview extends React.Component<IconBaseProps> { } +declare class MdRateReview extends React.Component<IconBaseProps> { } +export = MdRateReview; diff --git a/types/react-icons/lib/md/receipt.d.ts b/types/react-icons/lib/md/receipt.d.ts index 1b781c04c7..ae345fa152 100644 --- a/types/react-icons/lib/md/receipt.d.ts +++ b/types/react-icons/lib/md/receipt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdReceipt extends React.Component<IconBaseProps> { } +declare class MdReceipt extends React.Component<IconBaseProps> { } +export = MdReceipt; diff --git a/types/react-icons/lib/md/recent-actors.d.ts b/types/react-icons/lib/md/recent-actors.d.ts index cfcf0432b5..d347341dc6 100644 --- a/types/react-icons/lib/md/recent-actors.d.ts +++ b/types/react-icons/lib/md/recent-actors.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRecentActors extends React.Component<IconBaseProps> { } +declare class MdRecentActors extends React.Component<IconBaseProps> { } +export = MdRecentActors; diff --git a/types/react-icons/lib/md/record-voice-over.d.ts b/types/react-icons/lib/md/record-voice-over.d.ts index ab9b2189b8..89c019ede6 100644 --- a/types/react-icons/lib/md/record-voice-over.d.ts +++ b/types/react-icons/lib/md/record-voice-over.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRecordVoiceOver extends React.Component<IconBaseProps> { } +declare class MdRecordVoiceOver extends React.Component<IconBaseProps> { } +export = MdRecordVoiceOver; diff --git a/types/react-icons/lib/md/redeem.d.ts b/types/react-icons/lib/md/redeem.d.ts index 7690d10236..05195322b9 100644 --- a/types/react-icons/lib/md/redeem.d.ts +++ b/types/react-icons/lib/md/redeem.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRedeem extends React.Component<IconBaseProps> { } +declare class MdRedeem extends React.Component<IconBaseProps> { } +export = MdRedeem; diff --git a/types/react-icons/lib/md/redo.d.ts b/types/react-icons/lib/md/redo.d.ts index 3e0e1fac51..355d6a28e4 100644 --- a/types/react-icons/lib/md/redo.d.ts +++ b/types/react-icons/lib/md/redo.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRedo extends React.Component<IconBaseProps> { } +declare class MdRedo extends React.Component<IconBaseProps> { } +export = MdRedo; diff --git a/types/react-icons/lib/md/refresh.d.ts b/types/react-icons/lib/md/refresh.d.ts index f037c2a972..40213a11ed 100644 --- a/types/react-icons/lib/md/refresh.d.ts +++ b/types/react-icons/lib/md/refresh.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRefresh extends React.Component<IconBaseProps> { } +declare class MdRefresh extends React.Component<IconBaseProps> { } +export = MdRefresh; diff --git a/types/react-icons/lib/md/remove-circle-outline.d.ts b/types/react-icons/lib/md/remove-circle-outline.d.ts index 3488b16e2a..5a06426edf 100644 --- a/types/react-icons/lib/md/remove-circle-outline.d.ts +++ b/types/react-icons/lib/md/remove-circle-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRemoveCircleOutline extends React.Component<IconBaseProps> { } +declare class MdRemoveCircleOutline extends React.Component<IconBaseProps> { } +export = MdRemoveCircleOutline; diff --git a/types/react-icons/lib/md/remove-circle.d.ts b/types/react-icons/lib/md/remove-circle.d.ts index 77d8b1db6c..a79189430d 100644 --- a/types/react-icons/lib/md/remove-circle.d.ts +++ b/types/react-icons/lib/md/remove-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRemoveCircle extends React.Component<IconBaseProps> { } +declare class MdRemoveCircle extends React.Component<IconBaseProps> { } +export = MdRemoveCircle; diff --git a/types/react-icons/lib/md/remove-from-queue.d.ts b/types/react-icons/lib/md/remove-from-queue.d.ts index 05299a588f..bc4a8b2a60 100644 --- a/types/react-icons/lib/md/remove-from-queue.d.ts +++ b/types/react-icons/lib/md/remove-from-queue.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRemoveFromQueue extends React.Component<IconBaseProps> { } +declare class MdRemoveFromQueue extends React.Component<IconBaseProps> { } +export = MdRemoveFromQueue; diff --git a/types/react-icons/lib/md/remove-red-eye.d.ts b/types/react-icons/lib/md/remove-red-eye.d.ts index 8f839358ba..08e340824f 100644 --- a/types/react-icons/lib/md/remove-red-eye.d.ts +++ b/types/react-icons/lib/md/remove-red-eye.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRemoveRedEye extends React.Component<IconBaseProps> { } +declare class MdRemoveRedEye extends React.Component<IconBaseProps> { } +export = MdRemoveRedEye; diff --git a/types/react-icons/lib/md/remove-shopping-cart.d.ts b/types/react-icons/lib/md/remove-shopping-cart.d.ts index 2715486aea..d0d1a3a063 100644 --- a/types/react-icons/lib/md/remove-shopping-cart.d.ts +++ b/types/react-icons/lib/md/remove-shopping-cart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRemoveShoppingCart extends React.Component<IconBaseProps> { } +declare class MdRemoveShoppingCart extends React.Component<IconBaseProps> { } +export = MdRemoveShoppingCart; diff --git a/types/react-icons/lib/md/remove.d.ts b/types/react-icons/lib/md/remove.d.ts index 9522f25fe9..cc473fea9f 100644 --- a/types/react-icons/lib/md/remove.d.ts +++ b/types/react-icons/lib/md/remove.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRemove extends React.Component<IconBaseProps> { } +declare class MdRemove extends React.Component<IconBaseProps> { } +export = MdRemove; diff --git a/types/react-icons/lib/md/reorder.d.ts b/types/react-icons/lib/md/reorder.d.ts index 9f24bc5ed5..e9550c664b 100644 --- a/types/react-icons/lib/md/reorder.d.ts +++ b/types/react-icons/lib/md/reorder.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdReorder extends React.Component<IconBaseProps> { } +declare class MdReorder extends React.Component<IconBaseProps> { } +export = MdReorder; diff --git a/types/react-icons/lib/md/repeat-one.d.ts b/types/react-icons/lib/md/repeat-one.d.ts index 74a3642bf5..cb17395670 100644 --- a/types/react-icons/lib/md/repeat-one.d.ts +++ b/types/react-icons/lib/md/repeat-one.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRepeatOne extends React.Component<IconBaseProps> { } +declare class MdRepeatOne extends React.Component<IconBaseProps> { } +export = MdRepeatOne; diff --git a/types/react-icons/lib/md/repeat.d.ts b/types/react-icons/lib/md/repeat.d.ts index e1d7352ab9..9de29f628a 100644 --- a/types/react-icons/lib/md/repeat.d.ts +++ b/types/react-icons/lib/md/repeat.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRepeat extends React.Component<IconBaseProps> { } +declare class MdRepeat extends React.Component<IconBaseProps> { } +export = MdRepeat; diff --git a/types/react-icons/lib/md/replay-10.d.ts b/types/react-icons/lib/md/replay-10.d.ts index 3d9f3ef0c4..d4a6163e66 100644 --- a/types/react-icons/lib/md/replay-10.d.ts +++ b/types/react-icons/lib/md/replay-10.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdReplay10 extends React.Component<IconBaseProps> { } +declare class MdReplay10 extends React.Component<IconBaseProps> { } +export = MdReplay10; diff --git a/types/react-icons/lib/md/replay-30.d.ts b/types/react-icons/lib/md/replay-30.d.ts index 402af551ba..2f7775f226 100644 --- a/types/react-icons/lib/md/replay-30.d.ts +++ b/types/react-icons/lib/md/replay-30.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdReplay30 extends React.Component<IconBaseProps> { } +declare class MdReplay30 extends React.Component<IconBaseProps> { } +export = MdReplay30; diff --git a/types/react-icons/lib/md/replay-5.d.ts b/types/react-icons/lib/md/replay-5.d.ts index 78905ba50c..51ee68a11f 100644 --- a/types/react-icons/lib/md/replay-5.d.ts +++ b/types/react-icons/lib/md/replay-5.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdReplay5 extends React.Component<IconBaseProps> { } +declare class MdReplay5 extends React.Component<IconBaseProps> { } +export = MdReplay5; diff --git a/types/react-icons/lib/md/replay.d.ts b/types/react-icons/lib/md/replay.d.ts index 47d8592a3d..4245bb86b3 100644 --- a/types/react-icons/lib/md/replay.d.ts +++ b/types/react-icons/lib/md/replay.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdReplay extends React.Component<IconBaseProps> { } +declare class MdReplay extends React.Component<IconBaseProps> { } +export = MdReplay; diff --git a/types/react-icons/lib/md/reply-all.d.ts b/types/react-icons/lib/md/reply-all.d.ts index 07aa5f01f2..4e7fda0551 100644 --- a/types/react-icons/lib/md/reply-all.d.ts +++ b/types/react-icons/lib/md/reply-all.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdReplyAll extends React.Component<IconBaseProps> { } +declare class MdReplyAll extends React.Component<IconBaseProps> { } +export = MdReplyAll; diff --git a/types/react-icons/lib/md/reply.d.ts b/types/react-icons/lib/md/reply.d.ts index 648de11ef1..e83df14565 100644 --- a/types/react-icons/lib/md/reply.d.ts +++ b/types/react-icons/lib/md/reply.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdReply extends React.Component<IconBaseProps> { } +declare class MdReply extends React.Component<IconBaseProps> { } +export = MdReply; diff --git a/types/react-icons/lib/md/report-problem.d.ts b/types/react-icons/lib/md/report-problem.d.ts index c3dbf0101a..d994bf6a19 100644 --- a/types/react-icons/lib/md/report-problem.d.ts +++ b/types/react-icons/lib/md/report-problem.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdReportProblem extends React.Component<IconBaseProps> { } +declare class MdReportProblem extends React.Component<IconBaseProps> { } +export = MdReportProblem; diff --git a/types/react-icons/lib/md/report.d.ts b/types/react-icons/lib/md/report.d.ts index af51419c00..2b90b6889c 100644 --- a/types/react-icons/lib/md/report.d.ts +++ b/types/react-icons/lib/md/report.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdReport extends React.Component<IconBaseProps> { } +declare class MdReport extends React.Component<IconBaseProps> { } +export = MdReport; diff --git a/types/react-icons/lib/md/restaurant-menu.d.ts b/types/react-icons/lib/md/restaurant-menu.d.ts index 306891c857..ba1f140c85 100644 --- a/types/react-icons/lib/md/restaurant-menu.d.ts +++ b/types/react-icons/lib/md/restaurant-menu.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRestaurantMenu extends React.Component<IconBaseProps> { } +declare class MdRestaurantMenu extends React.Component<IconBaseProps> { } +export = MdRestaurantMenu; diff --git a/types/react-icons/lib/md/restaurant.d.ts b/types/react-icons/lib/md/restaurant.d.ts index 5adc8e8712..c73547557c 100644 --- a/types/react-icons/lib/md/restaurant.d.ts +++ b/types/react-icons/lib/md/restaurant.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRestaurant extends React.Component<IconBaseProps> { } +declare class MdRestaurant extends React.Component<IconBaseProps> { } +export = MdRestaurant; diff --git a/types/react-icons/lib/md/restore-page.d.ts b/types/react-icons/lib/md/restore-page.d.ts index d836b1f669..5f8df2e582 100644 --- a/types/react-icons/lib/md/restore-page.d.ts +++ b/types/react-icons/lib/md/restore-page.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRestorePage extends React.Component<IconBaseProps> { } +declare class MdRestorePage extends React.Component<IconBaseProps> { } +export = MdRestorePage; diff --git a/types/react-icons/lib/md/restore.d.ts b/types/react-icons/lib/md/restore.d.ts index aaadca1e08..1e4e89e80e 100644 --- a/types/react-icons/lib/md/restore.d.ts +++ b/types/react-icons/lib/md/restore.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRestore extends React.Component<IconBaseProps> { } +declare class MdRestore extends React.Component<IconBaseProps> { } +export = MdRestore; diff --git a/types/react-icons/lib/md/ring-volume.d.ts b/types/react-icons/lib/md/ring-volume.d.ts index 41843c29bd..ad9af1db0f 100644 --- a/types/react-icons/lib/md/ring-volume.d.ts +++ b/types/react-icons/lib/md/ring-volume.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRingVolume extends React.Component<IconBaseProps> { } +declare class MdRingVolume extends React.Component<IconBaseProps> { } +export = MdRingVolume; diff --git a/types/react-icons/lib/md/room-service.d.ts b/types/react-icons/lib/md/room-service.d.ts index 4b69032332..3dfd465e03 100644 --- a/types/react-icons/lib/md/room-service.d.ts +++ b/types/react-icons/lib/md/room-service.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRoomService extends React.Component<IconBaseProps> { } +declare class MdRoomService extends React.Component<IconBaseProps> { } +export = MdRoomService; diff --git a/types/react-icons/lib/md/room.d.ts b/types/react-icons/lib/md/room.d.ts index 49ab4cae8d..4b6d53a92f 100644 --- a/types/react-icons/lib/md/room.d.ts +++ b/types/react-icons/lib/md/room.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRoom extends React.Component<IconBaseProps> { } +declare class MdRoom extends React.Component<IconBaseProps> { } +export = MdRoom; diff --git a/types/react-icons/lib/md/rotate-90-degrees-ccw.d.ts b/types/react-icons/lib/md/rotate-90-degrees-ccw.d.ts index ba2f85b1e2..8e5da4d975 100644 --- a/types/react-icons/lib/md/rotate-90-degrees-ccw.d.ts +++ b/types/react-icons/lib/md/rotate-90-degrees-ccw.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRotate90DegreesCcw extends React.Component<IconBaseProps> { } +declare class MdRotate90DegreesCcw extends React.Component<IconBaseProps> { } +export = MdRotate90DegreesCcw; diff --git a/types/react-icons/lib/md/rotate-left.d.ts b/types/react-icons/lib/md/rotate-left.d.ts index 493c21cd47..2bae5dd27a 100644 --- a/types/react-icons/lib/md/rotate-left.d.ts +++ b/types/react-icons/lib/md/rotate-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRotateLeft extends React.Component<IconBaseProps> { } +declare class MdRotateLeft extends React.Component<IconBaseProps> { } +export = MdRotateLeft; diff --git a/types/react-icons/lib/md/rotate-right.d.ts b/types/react-icons/lib/md/rotate-right.d.ts index 936625527b..383af61134 100644 --- a/types/react-icons/lib/md/rotate-right.d.ts +++ b/types/react-icons/lib/md/rotate-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRotateRight extends React.Component<IconBaseProps> { } +declare class MdRotateRight extends React.Component<IconBaseProps> { } +export = MdRotateRight; diff --git a/types/react-icons/lib/md/rounded-corner.d.ts b/types/react-icons/lib/md/rounded-corner.d.ts index 592818db46..e596f50c2d 100644 --- a/types/react-icons/lib/md/rounded-corner.d.ts +++ b/types/react-icons/lib/md/rounded-corner.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRoundedCorner extends React.Component<IconBaseProps> { } +declare class MdRoundedCorner extends React.Component<IconBaseProps> { } +export = MdRoundedCorner; diff --git a/types/react-icons/lib/md/router.d.ts b/types/react-icons/lib/md/router.d.ts index 71effffe25..43947a6a1a 100644 --- a/types/react-icons/lib/md/router.d.ts +++ b/types/react-icons/lib/md/router.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRouter extends React.Component<IconBaseProps> { } +declare class MdRouter extends React.Component<IconBaseProps> { } +export = MdRouter; diff --git a/types/react-icons/lib/md/rowing.d.ts b/types/react-icons/lib/md/rowing.d.ts index 66d50957df..bc40733522 100644 --- a/types/react-icons/lib/md/rowing.d.ts +++ b/types/react-icons/lib/md/rowing.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRowing extends React.Component<IconBaseProps> { } +declare class MdRowing extends React.Component<IconBaseProps> { } +export = MdRowing; diff --git a/types/react-icons/lib/md/rss-feed.d.ts b/types/react-icons/lib/md/rss-feed.d.ts index 857453af7d..a2d809e6a5 100644 --- a/types/react-icons/lib/md/rss-feed.d.ts +++ b/types/react-icons/lib/md/rss-feed.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRssFeed extends React.Component<IconBaseProps> { } +declare class MdRssFeed extends React.Component<IconBaseProps> { } +export = MdRssFeed; diff --git a/types/react-icons/lib/md/rv-hookup.d.ts b/types/react-icons/lib/md/rv-hookup.d.ts index 6b3f6b3a67..5db1b8b217 100644 --- a/types/react-icons/lib/md/rv-hookup.d.ts +++ b/types/react-icons/lib/md/rv-hookup.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdRvHookup extends React.Component<IconBaseProps> { } +declare class MdRvHookup extends React.Component<IconBaseProps> { } +export = MdRvHookup; diff --git a/types/react-icons/lib/md/satellite.d.ts b/types/react-icons/lib/md/satellite.d.ts index 1371e50a1d..c75656781c 100644 --- a/types/react-icons/lib/md/satellite.d.ts +++ b/types/react-icons/lib/md/satellite.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSatellite extends React.Component<IconBaseProps> { } +declare class MdSatellite extends React.Component<IconBaseProps> { } +export = MdSatellite; diff --git a/types/react-icons/lib/md/save.d.ts b/types/react-icons/lib/md/save.d.ts index f3aa747a5a..52f76c62fa 100644 --- a/types/react-icons/lib/md/save.d.ts +++ b/types/react-icons/lib/md/save.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSave extends React.Component<IconBaseProps> { } +declare class MdSave extends React.Component<IconBaseProps> { } +export = MdSave; diff --git a/types/react-icons/lib/md/scanner.d.ts b/types/react-icons/lib/md/scanner.d.ts index db18a8c57b..a948265dae 100644 --- a/types/react-icons/lib/md/scanner.d.ts +++ b/types/react-icons/lib/md/scanner.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdScanner extends React.Component<IconBaseProps> { } +declare class MdScanner extends React.Component<IconBaseProps> { } +export = MdScanner; diff --git a/types/react-icons/lib/md/schedule.d.ts b/types/react-icons/lib/md/schedule.d.ts index e85dac4d66..ea91abb209 100644 --- a/types/react-icons/lib/md/schedule.d.ts +++ b/types/react-icons/lib/md/schedule.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSchedule extends React.Component<IconBaseProps> { } +declare class MdSchedule extends React.Component<IconBaseProps> { } +export = MdSchedule; diff --git a/types/react-icons/lib/md/school.d.ts b/types/react-icons/lib/md/school.d.ts index ec9ad586c7..8e6db36a55 100644 --- a/types/react-icons/lib/md/school.d.ts +++ b/types/react-icons/lib/md/school.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSchool extends React.Component<IconBaseProps> { } +declare class MdSchool extends React.Component<IconBaseProps> { } +export = MdSchool; diff --git a/types/react-icons/lib/md/screen-lock-landscape.d.ts b/types/react-icons/lib/md/screen-lock-landscape.d.ts index 8bd82ab85e..83936e6cf5 100644 --- a/types/react-icons/lib/md/screen-lock-landscape.d.ts +++ b/types/react-icons/lib/md/screen-lock-landscape.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdScreenLockLandscape extends React.Component<IconBaseProps> { } +declare class MdScreenLockLandscape extends React.Component<IconBaseProps> { } +export = MdScreenLockLandscape; diff --git a/types/react-icons/lib/md/screen-lock-portrait.d.ts b/types/react-icons/lib/md/screen-lock-portrait.d.ts index 4439deda82..acb9616bf3 100644 --- a/types/react-icons/lib/md/screen-lock-portrait.d.ts +++ b/types/react-icons/lib/md/screen-lock-portrait.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdScreenLockPortrait extends React.Component<IconBaseProps> { } +declare class MdScreenLockPortrait extends React.Component<IconBaseProps> { } +export = MdScreenLockPortrait; diff --git a/types/react-icons/lib/md/screen-lock-rotation.d.ts b/types/react-icons/lib/md/screen-lock-rotation.d.ts index 7edd36c10d..3b14fad7c3 100644 --- a/types/react-icons/lib/md/screen-lock-rotation.d.ts +++ b/types/react-icons/lib/md/screen-lock-rotation.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdScreenLockRotation extends React.Component<IconBaseProps> { } +declare class MdScreenLockRotation extends React.Component<IconBaseProps> { } +export = MdScreenLockRotation; diff --git a/types/react-icons/lib/md/screen-rotation.d.ts b/types/react-icons/lib/md/screen-rotation.d.ts index ac2cd107e2..9fdb432b74 100644 --- a/types/react-icons/lib/md/screen-rotation.d.ts +++ b/types/react-icons/lib/md/screen-rotation.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdScreenRotation extends React.Component<IconBaseProps> { } +declare class MdScreenRotation extends React.Component<IconBaseProps> { } +export = MdScreenRotation; diff --git a/types/react-icons/lib/md/screen-share.d.ts b/types/react-icons/lib/md/screen-share.d.ts index 1c6e5f8f3f..38f9b890db 100644 --- a/types/react-icons/lib/md/screen-share.d.ts +++ b/types/react-icons/lib/md/screen-share.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdScreenShare extends React.Component<IconBaseProps> { } +declare class MdScreenShare extends React.Component<IconBaseProps> { } +export = MdScreenShare; diff --git a/types/react-icons/lib/md/sd-card.d.ts b/types/react-icons/lib/md/sd-card.d.ts index fbf66bc8ae..894db93bf7 100644 --- a/types/react-icons/lib/md/sd-card.d.ts +++ b/types/react-icons/lib/md/sd-card.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSdCard extends React.Component<IconBaseProps> { } +declare class MdSdCard extends React.Component<IconBaseProps> { } +export = MdSdCard; diff --git a/types/react-icons/lib/md/sd-storage.d.ts b/types/react-icons/lib/md/sd-storage.d.ts index 645f26b009..5954597cad 100644 --- a/types/react-icons/lib/md/sd-storage.d.ts +++ b/types/react-icons/lib/md/sd-storage.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSdStorage extends React.Component<IconBaseProps> { } +declare class MdSdStorage extends React.Component<IconBaseProps> { } +export = MdSdStorage; diff --git a/types/react-icons/lib/md/search.d.ts b/types/react-icons/lib/md/search.d.ts index 4c4f7aafeb..10abf14f31 100644 --- a/types/react-icons/lib/md/search.d.ts +++ b/types/react-icons/lib/md/search.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSearch extends React.Component<IconBaseProps> { } +declare class MdSearch extends React.Component<IconBaseProps> { } +export = MdSearch; diff --git a/types/react-icons/lib/md/security.d.ts b/types/react-icons/lib/md/security.d.ts index ffeffbbfeb..2c3381cf2e 100644 --- a/types/react-icons/lib/md/security.d.ts +++ b/types/react-icons/lib/md/security.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSecurity extends React.Component<IconBaseProps> { } +declare class MdSecurity extends React.Component<IconBaseProps> { } +export = MdSecurity; diff --git a/types/react-icons/lib/md/select-all.d.ts b/types/react-icons/lib/md/select-all.d.ts index e8d8ba116a..aacf948922 100644 --- a/types/react-icons/lib/md/select-all.d.ts +++ b/types/react-icons/lib/md/select-all.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSelectAll extends React.Component<IconBaseProps> { } +declare class MdSelectAll extends React.Component<IconBaseProps> { } +export = MdSelectAll; diff --git a/types/react-icons/lib/md/send.d.ts b/types/react-icons/lib/md/send.d.ts index a643cfddfa..162137fb99 100644 --- a/types/react-icons/lib/md/send.d.ts +++ b/types/react-icons/lib/md/send.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSend extends React.Component<IconBaseProps> { } +declare class MdSend extends React.Component<IconBaseProps> { } +export = MdSend; diff --git a/types/react-icons/lib/md/sentiment-dissatisfied.d.ts b/types/react-icons/lib/md/sentiment-dissatisfied.d.ts index e5e989d5ad..a62acf6df6 100644 --- a/types/react-icons/lib/md/sentiment-dissatisfied.d.ts +++ b/types/react-icons/lib/md/sentiment-dissatisfied.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSentimentDissatisfied extends React.Component<IconBaseProps> { } +declare class MdSentimentDissatisfied extends React.Component<IconBaseProps> { } +export = MdSentimentDissatisfied; diff --git a/types/react-icons/lib/md/sentiment-neutral.d.ts b/types/react-icons/lib/md/sentiment-neutral.d.ts index ea95a02aea..d8091cbc2c 100644 --- a/types/react-icons/lib/md/sentiment-neutral.d.ts +++ b/types/react-icons/lib/md/sentiment-neutral.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSentimentNeutral extends React.Component<IconBaseProps> { } +declare class MdSentimentNeutral extends React.Component<IconBaseProps> { } +export = MdSentimentNeutral; diff --git a/types/react-icons/lib/md/sentiment-satisfied.d.ts b/types/react-icons/lib/md/sentiment-satisfied.d.ts index ff9ba41c7e..cbe5553524 100644 --- a/types/react-icons/lib/md/sentiment-satisfied.d.ts +++ b/types/react-icons/lib/md/sentiment-satisfied.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSentimentSatisfied extends React.Component<IconBaseProps> { } +declare class MdSentimentSatisfied extends React.Component<IconBaseProps> { } +export = MdSentimentSatisfied; diff --git a/types/react-icons/lib/md/sentiment-very-dissatisfied.d.ts b/types/react-icons/lib/md/sentiment-very-dissatisfied.d.ts index 9e26b053fc..1ac9808f2f 100644 --- a/types/react-icons/lib/md/sentiment-very-dissatisfied.d.ts +++ b/types/react-icons/lib/md/sentiment-very-dissatisfied.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSentimentVeryDissatisfied extends React.Component<IconBaseProps> { } +declare class MdSentimentVeryDissatisfied extends React.Component<IconBaseProps> { } +export = MdSentimentVeryDissatisfied; diff --git a/types/react-icons/lib/md/sentiment-very-satisfied.d.ts b/types/react-icons/lib/md/sentiment-very-satisfied.d.ts index 570e358c3a..ef2aee237a 100644 --- a/types/react-icons/lib/md/sentiment-very-satisfied.d.ts +++ b/types/react-icons/lib/md/sentiment-very-satisfied.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSentimentVerySatisfied extends React.Component<IconBaseProps> { } +declare class MdSentimentVerySatisfied extends React.Component<IconBaseProps> { } +export = MdSentimentVerySatisfied; diff --git a/types/react-icons/lib/md/settings-applications.d.ts b/types/react-icons/lib/md/settings-applications.d.ts index 75223b6af8..d2472f774b 100644 --- a/types/react-icons/lib/md/settings-applications.d.ts +++ b/types/react-icons/lib/md/settings-applications.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSettingsApplications extends React.Component<IconBaseProps> { } +declare class MdSettingsApplications extends React.Component<IconBaseProps> { } +export = MdSettingsApplications; diff --git a/types/react-icons/lib/md/settings-backup-restore.d.ts b/types/react-icons/lib/md/settings-backup-restore.d.ts index beeec5199f..ad56096928 100644 --- a/types/react-icons/lib/md/settings-backup-restore.d.ts +++ b/types/react-icons/lib/md/settings-backup-restore.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSettingsBackupRestore extends React.Component<IconBaseProps> { } +declare class MdSettingsBackupRestore extends React.Component<IconBaseProps> { } +export = MdSettingsBackupRestore; diff --git a/types/react-icons/lib/md/settings-bluetooth.d.ts b/types/react-icons/lib/md/settings-bluetooth.d.ts index 0f295f3c78..0951501e98 100644 --- a/types/react-icons/lib/md/settings-bluetooth.d.ts +++ b/types/react-icons/lib/md/settings-bluetooth.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSettingsBluetooth extends React.Component<IconBaseProps> { } +declare class MdSettingsBluetooth extends React.Component<IconBaseProps> { } +export = MdSettingsBluetooth; diff --git a/types/react-icons/lib/md/settings-brightness.d.ts b/types/react-icons/lib/md/settings-brightness.d.ts index 41c1e8360f..78854eb65f 100644 --- a/types/react-icons/lib/md/settings-brightness.d.ts +++ b/types/react-icons/lib/md/settings-brightness.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSettingsBrightness extends React.Component<IconBaseProps> { } +declare class MdSettingsBrightness extends React.Component<IconBaseProps> { } +export = MdSettingsBrightness; diff --git a/types/react-icons/lib/md/settings-cell.d.ts b/types/react-icons/lib/md/settings-cell.d.ts index 620d7e1fe5..a60a8cf1ac 100644 --- a/types/react-icons/lib/md/settings-cell.d.ts +++ b/types/react-icons/lib/md/settings-cell.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSettingsCell extends React.Component<IconBaseProps> { } +declare class MdSettingsCell extends React.Component<IconBaseProps> { } +export = MdSettingsCell; diff --git a/types/react-icons/lib/md/settings-ethernet.d.ts b/types/react-icons/lib/md/settings-ethernet.d.ts index c610f8ec24..b6b30b29de 100644 --- a/types/react-icons/lib/md/settings-ethernet.d.ts +++ b/types/react-icons/lib/md/settings-ethernet.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSettingsEthernet extends React.Component<IconBaseProps> { } +declare class MdSettingsEthernet extends React.Component<IconBaseProps> { } +export = MdSettingsEthernet; diff --git a/types/react-icons/lib/md/settings-input-antenna.d.ts b/types/react-icons/lib/md/settings-input-antenna.d.ts index f19536a4cb..7099f8a3f2 100644 --- a/types/react-icons/lib/md/settings-input-antenna.d.ts +++ b/types/react-icons/lib/md/settings-input-antenna.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSettingsInputAntenna extends React.Component<IconBaseProps> { } +declare class MdSettingsInputAntenna extends React.Component<IconBaseProps> { } +export = MdSettingsInputAntenna; diff --git a/types/react-icons/lib/md/settings-input-component.d.ts b/types/react-icons/lib/md/settings-input-component.d.ts index e1fe37ccdf..4348ba310e 100644 --- a/types/react-icons/lib/md/settings-input-component.d.ts +++ b/types/react-icons/lib/md/settings-input-component.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSettingsInputComponent extends React.Component<IconBaseProps> { } +declare class MdSettingsInputComponent extends React.Component<IconBaseProps> { } +export = MdSettingsInputComponent; diff --git a/types/react-icons/lib/md/settings-input-composite.d.ts b/types/react-icons/lib/md/settings-input-composite.d.ts index 266f9969fb..5ceda7379f 100644 --- a/types/react-icons/lib/md/settings-input-composite.d.ts +++ b/types/react-icons/lib/md/settings-input-composite.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSettingsInputComposite extends React.Component<IconBaseProps> { } +declare class MdSettingsInputComposite extends React.Component<IconBaseProps> { } +export = MdSettingsInputComposite; diff --git a/types/react-icons/lib/md/settings-input-hdmi.d.ts b/types/react-icons/lib/md/settings-input-hdmi.d.ts index be910d9b17..ceaf5bae19 100644 --- a/types/react-icons/lib/md/settings-input-hdmi.d.ts +++ b/types/react-icons/lib/md/settings-input-hdmi.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSettingsInputHdmi extends React.Component<IconBaseProps> { } +declare class MdSettingsInputHdmi extends React.Component<IconBaseProps> { } +export = MdSettingsInputHdmi; diff --git a/types/react-icons/lib/md/settings-input-svideo.d.ts b/types/react-icons/lib/md/settings-input-svideo.d.ts index d9254b4996..38aee4cc5b 100644 --- a/types/react-icons/lib/md/settings-input-svideo.d.ts +++ b/types/react-icons/lib/md/settings-input-svideo.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSettingsInputSvideo extends React.Component<IconBaseProps> { } +declare class MdSettingsInputSvideo extends React.Component<IconBaseProps> { } +export = MdSettingsInputSvideo; diff --git a/types/react-icons/lib/md/settings-overscan.d.ts b/types/react-icons/lib/md/settings-overscan.d.ts index c74ed6c60b..c2932f567c 100644 --- a/types/react-icons/lib/md/settings-overscan.d.ts +++ b/types/react-icons/lib/md/settings-overscan.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSettingsOverscan extends React.Component<IconBaseProps> { } +declare class MdSettingsOverscan extends React.Component<IconBaseProps> { } +export = MdSettingsOverscan; diff --git a/types/react-icons/lib/md/settings-phone.d.ts b/types/react-icons/lib/md/settings-phone.d.ts index a24ed75c1a..fe28d9b8df 100644 --- a/types/react-icons/lib/md/settings-phone.d.ts +++ b/types/react-icons/lib/md/settings-phone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSettingsPhone extends React.Component<IconBaseProps> { } +declare class MdSettingsPhone extends React.Component<IconBaseProps> { } +export = MdSettingsPhone; diff --git a/types/react-icons/lib/md/settings-power.d.ts b/types/react-icons/lib/md/settings-power.d.ts index f93530a007..f36622e144 100644 --- a/types/react-icons/lib/md/settings-power.d.ts +++ b/types/react-icons/lib/md/settings-power.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSettingsPower extends React.Component<IconBaseProps> { } +declare class MdSettingsPower extends React.Component<IconBaseProps> { } +export = MdSettingsPower; diff --git a/types/react-icons/lib/md/settings-remote.d.ts b/types/react-icons/lib/md/settings-remote.d.ts index 19720afb98..ed8987736c 100644 --- a/types/react-icons/lib/md/settings-remote.d.ts +++ b/types/react-icons/lib/md/settings-remote.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSettingsRemote extends React.Component<IconBaseProps> { } +declare class MdSettingsRemote extends React.Component<IconBaseProps> { } +export = MdSettingsRemote; diff --git a/types/react-icons/lib/md/settings-system-daydream.d.ts b/types/react-icons/lib/md/settings-system-daydream.d.ts index 654c1666d7..0ea373ba0d 100644 --- a/types/react-icons/lib/md/settings-system-daydream.d.ts +++ b/types/react-icons/lib/md/settings-system-daydream.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSettingsSystemDaydream extends React.Component<IconBaseProps> { } +declare class MdSettingsSystemDaydream extends React.Component<IconBaseProps> { } +export = MdSettingsSystemDaydream; diff --git a/types/react-icons/lib/md/settings-voice.d.ts b/types/react-icons/lib/md/settings-voice.d.ts index 2ca59f4b0b..5a7d8c78b3 100644 --- a/types/react-icons/lib/md/settings-voice.d.ts +++ b/types/react-icons/lib/md/settings-voice.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSettingsVoice extends React.Component<IconBaseProps> { } +declare class MdSettingsVoice extends React.Component<IconBaseProps> { } +export = MdSettingsVoice; diff --git a/types/react-icons/lib/md/settings.d.ts b/types/react-icons/lib/md/settings.d.ts index 2117b4be55..e2b820fa0e 100644 --- a/types/react-icons/lib/md/settings.d.ts +++ b/types/react-icons/lib/md/settings.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSettings extends React.Component<IconBaseProps> { } +declare class MdSettings extends React.Component<IconBaseProps> { } +export = MdSettings; diff --git a/types/react-icons/lib/md/share.d.ts b/types/react-icons/lib/md/share.d.ts index 5a6639be86..db916b39a9 100644 --- a/types/react-icons/lib/md/share.d.ts +++ b/types/react-icons/lib/md/share.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdShare extends React.Component<IconBaseProps> { } +declare class MdShare extends React.Component<IconBaseProps> { } +export = MdShare; diff --git a/types/react-icons/lib/md/shop-two.d.ts b/types/react-icons/lib/md/shop-two.d.ts index ffd2e40d8a..3b2a284a5c 100644 --- a/types/react-icons/lib/md/shop-two.d.ts +++ b/types/react-icons/lib/md/shop-two.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdShopTwo extends React.Component<IconBaseProps> { } +declare class MdShopTwo extends React.Component<IconBaseProps> { } +export = MdShopTwo; diff --git a/types/react-icons/lib/md/shop.d.ts b/types/react-icons/lib/md/shop.d.ts index 0247f8919e..ecc1e9ffb9 100644 --- a/types/react-icons/lib/md/shop.d.ts +++ b/types/react-icons/lib/md/shop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdShop extends React.Component<IconBaseProps> { } +declare class MdShop extends React.Component<IconBaseProps> { } +export = MdShop; diff --git a/types/react-icons/lib/md/shopping-basket.d.ts b/types/react-icons/lib/md/shopping-basket.d.ts index ce58316185..f71c3ff451 100644 --- a/types/react-icons/lib/md/shopping-basket.d.ts +++ b/types/react-icons/lib/md/shopping-basket.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdShoppingBasket extends React.Component<IconBaseProps> { } +declare class MdShoppingBasket extends React.Component<IconBaseProps> { } +export = MdShoppingBasket; diff --git a/types/react-icons/lib/md/shopping-cart.d.ts b/types/react-icons/lib/md/shopping-cart.d.ts index 2980434fd6..b73baac4e1 100644 --- a/types/react-icons/lib/md/shopping-cart.d.ts +++ b/types/react-icons/lib/md/shopping-cart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdShoppingCart extends React.Component<IconBaseProps> { } +declare class MdShoppingCart extends React.Component<IconBaseProps> { } +export = MdShoppingCart; diff --git a/types/react-icons/lib/md/short-text.d.ts b/types/react-icons/lib/md/short-text.d.ts index 66c49133ba..f3195b2464 100644 --- a/types/react-icons/lib/md/short-text.d.ts +++ b/types/react-icons/lib/md/short-text.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdShortText extends React.Component<IconBaseProps> { } +declare class MdShortText extends React.Component<IconBaseProps> { } +export = MdShortText; diff --git a/types/react-icons/lib/md/show-chart.d.ts b/types/react-icons/lib/md/show-chart.d.ts index 4fc9b77c9e..f3f418e848 100644 --- a/types/react-icons/lib/md/show-chart.d.ts +++ b/types/react-icons/lib/md/show-chart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdShowChart extends React.Component<IconBaseProps> { } +declare class MdShowChart extends React.Component<IconBaseProps> { } +export = MdShowChart; diff --git a/types/react-icons/lib/md/shuffle.d.ts b/types/react-icons/lib/md/shuffle.d.ts index b20fd0302e..f6410aa683 100644 --- a/types/react-icons/lib/md/shuffle.d.ts +++ b/types/react-icons/lib/md/shuffle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdShuffle extends React.Component<IconBaseProps> { } +declare class MdShuffle extends React.Component<IconBaseProps> { } +export = MdShuffle; diff --git a/types/react-icons/lib/md/signal-cellular-4-bar.d.ts b/types/react-icons/lib/md/signal-cellular-4-bar.d.ts index 9961d076e8..6059ded2d6 100644 --- a/types/react-icons/lib/md/signal-cellular-4-bar.d.ts +++ b/types/react-icons/lib/md/signal-cellular-4-bar.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSignalCellular4Bar extends React.Component<IconBaseProps> { } +declare class MdSignalCellular4Bar extends React.Component<IconBaseProps> { } +export = MdSignalCellular4Bar; diff --git a/types/react-icons/lib/md/signal-cellular-connected-no-internet-4-bar.d.ts b/types/react-icons/lib/md/signal-cellular-connected-no-internet-4-bar.d.ts index 35546b90db..f8f1431efa 100644 --- a/types/react-icons/lib/md/signal-cellular-connected-no-internet-4-bar.d.ts +++ b/types/react-icons/lib/md/signal-cellular-connected-no-internet-4-bar.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSignalCellularConnectedNoInternet4Bar extends React.Component<IconBaseProps> { } +declare class MdSignalCellularConnectedNoInternet4Bar extends React.Component<IconBaseProps> { } +export = MdSignalCellularConnectedNoInternet4Bar; diff --git a/types/react-icons/lib/md/signal-cellular-no-sim.d.ts b/types/react-icons/lib/md/signal-cellular-no-sim.d.ts index 37c952ef33..6892f5cf7d 100644 --- a/types/react-icons/lib/md/signal-cellular-no-sim.d.ts +++ b/types/react-icons/lib/md/signal-cellular-no-sim.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSignalCellularNoSim extends React.Component<IconBaseProps> { } +declare class MdSignalCellularNoSim extends React.Component<IconBaseProps> { } +export = MdSignalCellularNoSim; diff --git a/types/react-icons/lib/md/signal-cellular-null.d.ts b/types/react-icons/lib/md/signal-cellular-null.d.ts index 81c4801bac..681570828b 100644 --- a/types/react-icons/lib/md/signal-cellular-null.d.ts +++ b/types/react-icons/lib/md/signal-cellular-null.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSignalCellularNull extends React.Component<IconBaseProps> { } +declare class MdSignalCellularNull extends React.Component<IconBaseProps> { } +export = MdSignalCellularNull; diff --git a/types/react-icons/lib/md/signal-cellular-off.d.ts b/types/react-icons/lib/md/signal-cellular-off.d.ts index 71b723a036..09192b3ad7 100644 --- a/types/react-icons/lib/md/signal-cellular-off.d.ts +++ b/types/react-icons/lib/md/signal-cellular-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSignalCellularOff extends React.Component<IconBaseProps> { } +declare class MdSignalCellularOff extends React.Component<IconBaseProps> { } +export = MdSignalCellularOff; diff --git a/types/react-icons/lib/md/signal-wifi-4-bar-lock.d.ts b/types/react-icons/lib/md/signal-wifi-4-bar-lock.d.ts index 45689253f7..d927b58603 100644 --- a/types/react-icons/lib/md/signal-wifi-4-bar-lock.d.ts +++ b/types/react-icons/lib/md/signal-wifi-4-bar-lock.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSignalWifi4BarLock extends React.Component<IconBaseProps> { } +declare class MdSignalWifi4BarLock extends React.Component<IconBaseProps> { } +export = MdSignalWifi4BarLock; diff --git a/types/react-icons/lib/md/signal-wifi-4-bar.d.ts b/types/react-icons/lib/md/signal-wifi-4-bar.d.ts index 9b90b1dc00..884c211a81 100644 --- a/types/react-icons/lib/md/signal-wifi-4-bar.d.ts +++ b/types/react-icons/lib/md/signal-wifi-4-bar.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSignalWifi4Bar extends React.Component<IconBaseProps> { } +declare class MdSignalWifi4Bar extends React.Component<IconBaseProps> { } +export = MdSignalWifi4Bar; diff --git a/types/react-icons/lib/md/signal-wifi-off.d.ts b/types/react-icons/lib/md/signal-wifi-off.d.ts index 62c5ceee3c..cbda299e8b 100644 --- a/types/react-icons/lib/md/signal-wifi-off.d.ts +++ b/types/react-icons/lib/md/signal-wifi-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSignalWifiOff extends React.Component<IconBaseProps> { } +declare class MdSignalWifiOff extends React.Component<IconBaseProps> { } +export = MdSignalWifiOff; diff --git a/types/react-icons/lib/md/sim-card-alert.d.ts b/types/react-icons/lib/md/sim-card-alert.d.ts index 4060c4594e..be845d108d 100644 --- a/types/react-icons/lib/md/sim-card-alert.d.ts +++ b/types/react-icons/lib/md/sim-card-alert.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSimCardAlert extends React.Component<IconBaseProps> { } +declare class MdSimCardAlert extends React.Component<IconBaseProps> { } +export = MdSimCardAlert; diff --git a/types/react-icons/lib/md/sim-card.d.ts b/types/react-icons/lib/md/sim-card.d.ts index da691e53ad..1b3b765dc7 100644 --- a/types/react-icons/lib/md/sim-card.d.ts +++ b/types/react-icons/lib/md/sim-card.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSimCard extends React.Component<IconBaseProps> { } +declare class MdSimCard extends React.Component<IconBaseProps> { } +export = MdSimCard; diff --git a/types/react-icons/lib/md/skip-next.d.ts b/types/react-icons/lib/md/skip-next.d.ts index ecf5c1dc78..19737d3978 100644 --- a/types/react-icons/lib/md/skip-next.d.ts +++ b/types/react-icons/lib/md/skip-next.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSkipNext extends React.Component<IconBaseProps> { } +declare class MdSkipNext extends React.Component<IconBaseProps> { } +export = MdSkipNext; diff --git a/types/react-icons/lib/md/skip-previous.d.ts b/types/react-icons/lib/md/skip-previous.d.ts index 93b71643d7..ae5c25aed6 100644 --- a/types/react-icons/lib/md/skip-previous.d.ts +++ b/types/react-icons/lib/md/skip-previous.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSkipPrevious extends React.Component<IconBaseProps> { } +declare class MdSkipPrevious extends React.Component<IconBaseProps> { } +export = MdSkipPrevious; diff --git a/types/react-icons/lib/md/slideshow.d.ts b/types/react-icons/lib/md/slideshow.d.ts index 3604117de4..26cbf1a3c9 100644 --- a/types/react-icons/lib/md/slideshow.d.ts +++ b/types/react-icons/lib/md/slideshow.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSlideshow extends React.Component<IconBaseProps> { } +declare class MdSlideshow extends React.Component<IconBaseProps> { } +export = MdSlideshow; diff --git a/types/react-icons/lib/md/slow-motion-video.d.ts b/types/react-icons/lib/md/slow-motion-video.d.ts index b1613e9196..03f4d610cb 100644 --- a/types/react-icons/lib/md/slow-motion-video.d.ts +++ b/types/react-icons/lib/md/slow-motion-video.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSlowMotionVideo extends React.Component<IconBaseProps> { } +declare class MdSlowMotionVideo extends React.Component<IconBaseProps> { } +export = MdSlowMotionVideo; diff --git a/types/react-icons/lib/md/smartphone.d.ts b/types/react-icons/lib/md/smartphone.d.ts index 48e919a7f2..697de1117a 100644 --- a/types/react-icons/lib/md/smartphone.d.ts +++ b/types/react-icons/lib/md/smartphone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSmartphone extends React.Component<IconBaseProps> { } +declare class MdSmartphone extends React.Component<IconBaseProps> { } +export = MdSmartphone; diff --git a/types/react-icons/lib/md/smoke-free.d.ts b/types/react-icons/lib/md/smoke-free.d.ts index 494a9ffbed..bd0eed47da 100644 --- a/types/react-icons/lib/md/smoke-free.d.ts +++ b/types/react-icons/lib/md/smoke-free.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSmokeFree extends React.Component<IconBaseProps> { } +declare class MdSmokeFree extends React.Component<IconBaseProps> { } +export = MdSmokeFree; diff --git a/types/react-icons/lib/md/smoking-rooms.d.ts b/types/react-icons/lib/md/smoking-rooms.d.ts index 9793808427..f42b48f9b6 100644 --- a/types/react-icons/lib/md/smoking-rooms.d.ts +++ b/types/react-icons/lib/md/smoking-rooms.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSmokingRooms extends React.Component<IconBaseProps> { } +declare class MdSmokingRooms extends React.Component<IconBaseProps> { } +export = MdSmokingRooms; diff --git a/types/react-icons/lib/md/sms-failed.d.ts b/types/react-icons/lib/md/sms-failed.d.ts index ed04e950bd..c242d6783f 100644 --- a/types/react-icons/lib/md/sms-failed.d.ts +++ b/types/react-icons/lib/md/sms-failed.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSmsFailed extends React.Component<IconBaseProps> { } +declare class MdSmsFailed extends React.Component<IconBaseProps> { } +export = MdSmsFailed; diff --git a/types/react-icons/lib/md/sms.d.ts b/types/react-icons/lib/md/sms.d.ts index bcdc21c622..4d1b01eba0 100644 --- a/types/react-icons/lib/md/sms.d.ts +++ b/types/react-icons/lib/md/sms.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSms extends React.Component<IconBaseProps> { } +declare class MdSms extends React.Component<IconBaseProps> { } +export = MdSms; diff --git a/types/react-icons/lib/md/snooze.d.ts b/types/react-icons/lib/md/snooze.d.ts index 39ef1f6213..a3e93311de 100644 --- a/types/react-icons/lib/md/snooze.d.ts +++ b/types/react-icons/lib/md/snooze.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSnooze extends React.Component<IconBaseProps> { } +declare class MdSnooze extends React.Component<IconBaseProps> { } +export = MdSnooze; diff --git a/types/react-icons/lib/md/sort-by-alpha.d.ts b/types/react-icons/lib/md/sort-by-alpha.d.ts index 1d823eec21..665ed0e19d 100644 --- a/types/react-icons/lib/md/sort-by-alpha.d.ts +++ b/types/react-icons/lib/md/sort-by-alpha.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSortByAlpha extends React.Component<IconBaseProps> { } +declare class MdSortByAlpha extends React.Component<IconBaseProps> { } +export = MdSortByAlpha; diff --git a/types/react-icons/lib/md/sort.d.ts b/types/react-icons/lib/md/sort.d.ts index 4ae7f76a01..a0ca8a2d38 100644 --- a/types/react-icons/lib/md/sort.d.ts +++ b/types/react-icons/lib/md/sort.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSort extends React.Component<IconBaseProps> { } +declare class MdSort extends React.Component<IconBaseProps> { } +export = MdSort; diff --git a/types/react-icons/lib/md/spa.d.ts b/types/react-icons/lib/md/spa.d.ts index 328203f62f..3b521477c1 100644 --- a/types/react-icons/lib/md/spa.d.ts +++ b/types/react-icons/lib/md/spa.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSpa extends React.Component<IconBaseProps> { } +declare class MdSpa extends React.Component<IconBaseProps> { } +export = MdSpa; diff --git a/types/react-icons/lib/md/space-bar.d.ts b/types/react-icons/lib/md/space-bar.d.ts index 861c34892a..4f0aee2b42 100644 --- a/types/react-icons/lib/md/space-bar.d.ts +++ b/types/react-icons/lib/md/space-bar.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSpaceBar extends React.Component<IconBaseProps> { } +declare class MdSpaceBar extends React.Component<IconBaseProps> { } +export = MdSpaceBar; diff --git a/types/react-icons/lib/md/speaker-group.d.ts b/types/react-icons/lib/md/speaker-group.d.ts index 81915fc511..75ce013743 100644 --- a/types/react-icons/lib/md/speaker-group.d.ts +++ b/types/react-icons/lib/md/speaker-group.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSpeakerGroup extends React.Component<IconBaseProps> { } +declare class MdSpeakerGroup extends React.Component<IconBaseProps> { } +export = MdSpeakerGroup; diff --git a/types/react-icons/lib/md/speaker-notes-off.d.ts b/types/react-icons/lib/md/speaker-notes-off.d.ts index bc5b008527..2ebed4d42f 100644 --- a/types/react-icons/lib/md/speaker-notes-off.d.ts +++ b/types/react-icons/lib/md/speaker-notes-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSpeakerNotesOff extends React.Component<IconBaseProps> { } +declare class MdSpeakerNotesOff extends React.Component<IconBaseProps> { } +export = MdSpeakerNotesOff; diff --git a/types/react-icons/lib/md/speaker-notes.d.ts b/types/react-icons/lib/md/speaker-notes.d.ts index 1c3c0e4ddc..61dd9e47c9 100644 --- a/types/react-icons/lib/md/speaker-notes.d.ts +++ b/types/react-icons/lib/md/speaker-notes.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSpeakerNotes extends React.Component<IconBaseProps> { } +declare class MdSpeakerNotes extends React.Component<IconBaseProps> { } +export = MdSpeakerNotes; diff --git a/types/react-icons/lib/md/speaker-phone.d.ts b/types/react-icons/lib/md/speaker-phone.d.ts index b459a0c395..3a4a35bdd5 100644 --- a/types/react-icons/lib/md/speaker-phone.d.ts +++ b/types/react-icons/lib/md/speaker-phone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSpeakerPhone extends React.Component<IconBaseProps> { } +declare class MdSpeakerPhone extends React.Component<IconBaseProps> { } +export = MdSpeakerPhone; diff --git a/types/react-icons/lib/md/speaker.d.ts b/types/react-icons/lib/md/speaker.d.ts index 1f28f03e88..3028b1613f 100644 --- a/types/react-icons/lib/md/speaker.d.ts +++ b/types/react-icons/lib/md/speaker.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSpeaker extends React.Component<IconBaseProps> { } +declare class MdSpeaker extends React.Component<IconBaseProps> { } +export = MdSpeaker; diff --git a/types/react-icons/lib/md/spellcheck.d.ts b/types/react-icons/lib/md/spellcheck.d.ts index 6b74288ebf..b537efca19 100644 --- a/types/react-icons/lib/md/spellcheck.d.ts +++ b/types/react-icons/lib/md/spellcheck.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSpellcheck extends React.Component<IconBaseProps> { } +declare class MdSpellcheck extends React.Component<IconBaseProps> { } +export = MdSpellcheck; diff --git a/types/react-icons/lib/md/star-border.d.ts b/types/react-icons/lib/md/star-border.d.ts index 2dda5ebb35..26a466ca5e 100644 --- a/types/react-icons/lib/md/star-border.d.ts +++ b/types/react-icons/lib/md/star-border.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdStarBorder extends React.Component<IconBaseProps> { } +declare class MdStarBorder extends React.Component<IconBaseProps> { } +export = MdStarBorder; diff --git a/types/react-icons/lib/md/star-half.d.ts b/types/react-icons/lib/md/star-half.d.ts index d6684bbfe0..d1e27756c1 100644 --- a/types/react-icons/lib/md/star-half.d.ts +++ b/types/react-icons/lib/md/star-half.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdStarHalf extends React.Component<IconBaseProps> { } +declare class MdStarHalf extends React.Component<IconBaseProps> { } +export = MdStarHalf; diff --git a/types/react-icons/lib/md/star-outline.d.ts b/types/react-icons/lib/md/star-outline.d.ts index 2b9f3546a3..1dcecb15ef 100644 --- a/types/react-icons/lib/md/star-outline.d.ts +++ b/types/react-icons/lib/md/star-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdStarOutline extends React.Component<IconBaseProps> { } +declare class MdStarOutline extends React.Component<IconBaseProps> { } +export = MdStarOutline; diff --git a/types/react-icons/lib/md/star.d.ts b/types/react-icons/lib/md/star.d.ts index f10524254e..292edc345b 100644 --- a/types/react-icons/lib/md/star.d.ts +++ b/types/react-icons/lib/md/star.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdStar extends React.Component<IconBaseProps> { } +declare class MdStar extends React.Component<IconBaseProps> { } +export = MdStar; diff --git a/types/react-icons/lib/md/stars.d.ts b/types/react-icons/lib/md/stars.d.ts index b92a32acd6..3d30f577df 100644 --- a/types/react-icons/lib/md/stars.d.ts +++ b/types/react-icons/lib/md/stars.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdStars extends React.Component<IconBaseProps> { } +declare class MdStars extends React.Component<IconBaseProps> { } +export = MdStars; diff --git a/types/react-icons/lib/md/stay-current-landscape.d.ts b/types/react-icons/lib/md/stay-current-landscape.d.ts index c2edfbaa27..8f141071de 100644 --- a/types/react-icons/lib/md/stay-current-landscape.d.ts +++ b/types/react-icons/lib/md/stay-current-landscape.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdStayCurrentLandscape extends React.Component<IconBaseProps> { } +declare class MdStayCurrentLandscape extends React.Component<IconBaseProps> { } +export = MdStayCurrentLandscape; diff --git a/types/react-icons/lib/md/stay-current-portrait.d.ts b/types/react-icons/lib/md/stay-current-portrait.d.ts index 9f523f0514..d54460b6b1 100644 --- a/types/react-icons/lib/md/stay-current-portrait.d.ts +++ b/types/react-icons/lib/md/stay-current-portrait.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdStayCurrentPortrait extends React.Component<IconBaseProps> { } +declare class MdStayCurrentPortrait extends React.Component<IconBaseProps> { } +export = MdStayCurrentPortrait; diff --git a/types/react-icons/lib/md/stay-primary-landscape.d.ts b/types/react-icons/lib/md/stay-primary-landscape.d.ts index 4cf222880a..c2259234a3 100644 --- a/types/react-icons/lib/md/stay-primary-landscape.d.ts +++ b/types/react-icons/lib/md/stay-primary-landscape.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdStayPrimaryLandscape extends React.Component<IconBaseProps> { } +declare class MdStayPrimaryLandscape extends React.Component<IconBaseProps> { } +export = MdStayPrimaryLandscape; diff --git a/types/react-icons/lib/md/stay-primary-portrait.d.ts b/types/react-icons/lib/md/stay-primary-portrait.d.ts index e4371a0ff9..be1a0d3817 100644 --- a/types/react-icons/lib/md/stay-primary-portrait.d.ts +++ b/types/react-icons/lib/md/stay-primary-portrait.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdStayPrimaryPortrait extends React.Component<IconBaseProps> { } +declare class MdStayPrimaryPortrait extends React.Component<IconBaseProps> { } +export = MdStayPrimaryPortrait; diff --git a/types/react-icons/lib/md/stop-screen-share.d.ts b/types/react-icons/lib/md/stop-screen-share.d.ts index aa6a7b1f11..0c86617ea9 100644 --- a/types/react-icons/lib/md/stop-screen-share.d.ts +++ b/types/react-icons/lib/md/stop-screen-share.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdStopScreenShare extends React.Component<IconBaseProps> { } +declare class MdStopScreenShare extends React.Component<IconBaseProps> { } +export = MdStopScreenShare; diff --git a/types/react-icons/lib/md/stop.d.ts b/types/react-icons/lib/md/stop.d.ts index 23972ad40d..ea68d49805 100644 --- a/types/react-icons/lib/md/stop.d.ts +++ b/types/react-icons/lib/md/stop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdStop extends React.Component<IconBaseProps> { } +declare class MdStop extends React.Component<IconBaseProps> { } +export = MdStop; diff --git a/types/react-icons/lib/md/storage.d.ts b/types/react-icons/lib/md/storage.d.ts index 76cdb38312..0f4792b3d4 100644 --- a/types/react-icons/lib/md/storage.d.ts +++ b/types/react-icons/lib/md/storage.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdStorage extends React.Component<IconBaseProps> { } +declare class MdStorage extends React.Component<IconBaseProps> { } +export = MdStorage; diff --git a/types/react-icons/lib/md/store-mall-directory.d.ts b/types/react-icons/lib/md/store-mall-directory.d.ts index 68d4294ade..2dc34f1f35 100644 --- a/types/react-icons/lib/md/store-mall-directory.d.ts +++ b/types/react-icons/lib/md/store-mall-directory.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdStoreMallDirectory extends React.Component<IconBaseProps> { } +declare class MdStoreMallDirectory extends React.Component<IconBaseProps> { } +export = MdStoreMallDirectory; diff --git a/types/react-icons/lib/md/store.d.ts b/types/react-icons/lib/md/store.d.ts index c64ab33e61..1d95da2946 100644 --- a/types/react-icons/lib/md/store.d.ts +++ b/types/react-icons/lib/md/store.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdStore extends React.Component<IconBaseProps> { } +declare class MdStore extends React.Component<IconBaseProps> { } +export = MdStore; diff --git a/types/react-icons/lib/md/straighten.d.ts b/types/react-icons/lib/md/straighten.d.ts index fa68ffb61f..2e5a378337 100644 --- a/types/react-icons/lib/md/straighten.d.ts +++ b/types/react-icons/lib/md/straighten.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdStraighten extends React.Component<IconBaseProps> { } +declare class MdStraighten extends React.Component<IconBaseProps> { } +export = MdStraighten; diff --git a/types/react-icons/lib/md/streetview.d.ts b/types/react-icons/lib/md/streetview.d.ts index b786fc4504..1a7a3b45d0 100644 --- a/types/react-icons/lib/md/streetview.d.ts +++ b/types/react-icons/lib/md/streetview.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdStreetview extends React.Component<IconBaseProps> { } +declare class MdStreetview extends React.Component<IconBaseProps> { } +export = MdStreetview; diff --git a/types/react-icons/lib/md/strikethrough-s.d.ts b/types/react-icons/lib/md/strikethrough-s.d.ts index 8ccb18a292..87f8a8f0ab 100644 --- a/types/react-icons/lib/md/strikethrough-s.d.ts +++ b/types/react-icons/lib/md/strikethrough-s.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdStrikethroughS extends React.Component<IconBaseProps> { } +declare class MdStrikethroughS extends React.Component<IconBaseProps> { } +export = MdStrikethroughS; diff --git a/types/react-icons/lib/md/style.d.ts b/types/react-icons/lib/md/style.d.ts index 6826a067a7..88ee608309 100644 --- a/types/react-icons/lib/md/style.d.ts +++ b/types/react-icons/lib/md/style.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdStyle extends React.Component<IconBaseProps> { } +declare class MdStyle extends React.Component<IconBaseProps> { } +export = MdStyle; diff --git a/types/react-icons/lib/md/subdirectory-arrow-left.d.ts b/types/react-icons/lib/md/subdirectory-arrow-left.d.ts index ebfbf45689..a286039679 100644 --- a/types/react-icons/lib/md/subdirectory-arrow-left.d.ts +++ b/types/react-icons/lib/md/subdirectory-arrow-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSubdirectoryArrowLeft extends React.Component<IconBaseProps> { } +declare class MdSubdirectoryArrowLeft extends React.Component<IconBaseProps> { } +export = MdSubdirectoryArrowLeft; diff --git a/types/react-icons/lib/md/subdirectory-arrow-right.d.ts b/types/react-icons/lib/md/subdirectory-arrow-right.d.ts index 435777e018..ffcfa27371 100644 --- a/types/react-icons/lib/md/subdirectory-arrow-right.d.ts +++ b/types/react-icons/lib/md/subdirectory-arrow-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSubdirectoryArrowRight extends React.Component<IconBaseProps> { } +declare class MdSubdirectoryArrowRight extends React.Component<IconBaseProps> { } +export = MdSubdirectoryArrowRight; diff --git a/types/react-icons/lib/md/subject.d.ts b/types/react-icons/lib/md/subject.d.ts index b187b836f2..4afd51814a 100644 --- a/types/react-icons/lib/md/subject.d.ts +++ b/types/react-icons/lib/md/subject.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSubject extends React.Component<IconBaseProps> { } +declare class MdSubject extends React.Component<IconBaseProps> { } +export = MdSubject; diff --git a/types/react-icons/lib/md/subscriptions.d.ts b/types/react-icons/lib/md/subscriptions.d.ts index 0baf020371..9859c711e1 100644 --- a/types/react-icons/lib/md/subscriptions.d.ts +++ b/types/react-icons/lib/md/subscriptions.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSubscriptions extends React.Component<IconBaseProps> { } +declare class MdSubscriptions extends React.Component<IconBaseProps> { } +export = MdSubscriptions; diff --git a/types/react-icons/lib/md/subtitles.d.ts b/types/react-icons/lib/md/subtitles.d.ts index 2cacca492e..ffb83e2279 100644 --- a/types/react-icons/lib/md/subtitles.d.ts +++ b/types/react-icons/lib/md/subtitles.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSubtitles extends React.Component<IconBaseProps> { } +declare class MdSubtitles extends React.Component<IconBaseProps> { } +export = MdSubtitles; diff --git a/types/react-icons/lib/md/subway.d.ts b/types/react-icons/lib/md/subway.d.ts index c5496480da..5e42542c3a 100644 --- a/types/react-icons/lib/md/subway.d.ts +++ b/types/react-icons/lib/md/subway.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSubway extends React.Component<IconBaseProps> { } +declare class MdSubway extends React.Component<IconBaseProps> { } +export = MdSubway; diff --git a/types/react-icons/lib/md/supervisor-account.d.ts b/types/react-icons/lib/md/supervisor-account.d.ts index 4c9b87c063..5782506380 100644 --- a/types/react-icons/lib/md/supervisor-account.d.ts +++ b/types/react-icons/lib/md/supervisor-account.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSupervisorAccount extends React.Component<IconBaseProps> { } +declare class MdSupervisorAccount extends React.Component<IconBaseProps> { } +export = MdSupervisorAccount; diff --git a/types/react-icons/lib/md/surround-sound.d.ts b/types/react-icons/lib/md/surround-sound.d.ts index 673f1fdb7e..657ebe3879 100644 --- a/types/react-icons/lib/md/surround-sound.d.ts +++ b/types/react-icons/lib/md/surround-sound.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSurroundSound extends React.Component<IconBaseProps> { } +declare class MdSurroundSound extends React.Component<IconBaseProps> { } +export = MdSurroundSound; diff --git a/types/react-icons/lib/md/swap-calls.d.ts b/types/react-icons/lib/md/swap-calls.d.ts index 5b6c5eb55b..881b0c264a 100644 --- a/types/react-icons/lib/md/swap-calls.d.ts +++ b/types/react-icons/lib/md/swap-calls.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSwapCalls extends React.Component<IconBaseProps> { } +declare class MdSwapCalls extends React.Component<IconBaseProps> { } +export = MdSwapCalls; diff --git a/types/react-icons/lib/md/swap-horiz.d.ts b/types/react-icons/lib/md/swap-horiz.d.ts index da47fa6f40..e4a1771fd4 100644 --- a/types/react-icons/lib/md/swap-horiz.d.ts +++ b/types/react-icons/lib/md/swap-horiz.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSwapHoriz extends React.Component<IconBaseProps> { } +declare class MdSwapHoriz extends React.Component<IconBaseProps> { } +export = MdSwapHoriz; diff --git a/types/react-icons/lib/md/swap-vert.d.ts b/types/react-icons/lib/md/swap-vert.d.ts index d034eaf517..d9b0f456d9 100644 --- a/types/react-icons/lib/md/swap-vert.d.ts +++ b/types/react-icons/lib/md/swap-vert.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSwapVert extends React.Component<IconBaseProps> { } +declare class MdSwapVert extends React.Component<IconBaseProps> { } +export = MdSwapVert; diff --git a/types/react-icons/lib/md/swap-vertical-circle.d.ts b/types/react-icons/lib/md/swap-vertical-circle.d.ts index 617a1f6d9a..4503920d5c 100644 --- a/types/react-icons/lib/md/swap-vertical-circle.d.ts +++ b/types/react-icons/lib/md/swap-vertical-circle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSwapVerticalCircle extends React.Component<IconBaseProps> { } +declare class MdSwapVerticalCircle extends React.Component<IconBaseProps> { } +export = MdSwapVerticalCircle; diff --git a/types/react-icons/lib/md/switch-camera.d.ts b/types/react-icons/lib/md/switch-camera.d.ts index c18ad57764..cb90ed5e99 100644 --- a/types/react-icons/lib/md/switch-camera.d.ts +++ b/types/react-icons/lib/md/switch-camera.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSwitchCamera extends React.Component<IconBaseProps> { } +declare class MdSwitchCamera extends React.Component<IconBaseProps> { } +export = MdSwitchCamera; diff --git a/types/react-icons/lib/md/switch-video.d.ts b/types/react-icons/lib/md/switch-video.d.ts index 0c95857fed..cdd65bb1cc 100644 --- a/types/react-icons/lib/md/switch-video.d.ts +++ b/types/react-icons/lib/md/switch-video.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSwitchVideo extends React.Component<IconBaseProps> { } +declare class MdSwitchVideo extends React.Component<IconBaseProps> { } +export = MdSwitchVideo; diff --git a/types/react-icons/lib/md/sync-disabled.d.ts b/types/react-icons/lib/md/sync-disabled.d.ts index 99fa13f705..dbf6969ad0 100644 --- a/types/react-icons/lib/md/sync-disabled.d.ts +++ b/types/react-icons/lib/md/sync-disabled.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSyncDisabled extends React.Component<IconBaseProps> { } +declare class MdSyncDisabled extends React.Component<IconBaseProps> { } +export = MdSyncDisabled; diff --git a/types/react-icons/lib/md/sync-problem.d.ts b/types/react-icons/lib/md/sync-problem.d.ts index 4ef37a1cbb..59f319beba 100644 --- a/types/react-icons/lib/md/sync-problem.d.ts +++ b/types/react-icons/lib/md/sync-problem.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSyncProblem extends React.Component<IconBaseProps> { } +declare class MdSyncProblem extends React.Component<IconBaseProps> { } +export = MdSyncProblem; diff --git a/types/react-icons/lib/md/sync.d.ts b/types/react-icons/lib/md/sync.d.ts index fefdf38258..a5c49d0df3 100644 --- a/types/react-icons/lib/md/sync.d.ts +++ b/types/react-icons/lib/md/sync.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSync extends React.Component<IconBaseProps> { } +declare class MdSync extends React.Component<IconBaseProps> { } +export = MdSync; diff --git a/types/react-icons/lib/md/system-update-alt.d.ts b/types/react-icons/lib/md/system-update-alt.d.ts index 2725f7b77c..18b532e6c3 100644 --- a/types/react-icons/lib/md/system-update-alt.d.ts +++ b/types/react-icons/lib/md/system-update-alt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSystemUpdateAlt extends React.Component<IconBaseProps> { } +declare class MdSystemUpdateAlt extends React.Component<IconBaseProps> { } +export = MdSystemUpdateAlt; diff --git a/types/react-icons/lib/md/system-update.d.ts b/types/react-icons/lib/md/system-update.d.ts index 24ebe7c98c..f969e6836b 100644 --- a/types/react-icons/lib/md/system-update.d.ts +++ b/types/react-icons/lib/md/system-update.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdSystemUpdate extends React.Component<IconBaseProps> { } +declare class MdSystemUpdate extends React.Component<IconBaseProps> { } +export = MdSystemUpdate; diff --git a/types/react-icons/lib/md/tab-unselected.d.ts b/types/react-icons/lib/md/tab-unselected.d.ts index bac83b73ed..0b05c2debc 100644 --- a/types/react-icons/lib/md/tab-unselected.d.ts +++ b/types/react-icons/lib/md/tab-unselected.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTabUnselected extends React.Component<IconBaseProps> { } +declare class MdTabUnselected extends React.Component<IconBaseProps> { } +export = MdTabUnselected; diff --git a/types/react-icons/lib/md/tab.d.ts b/types/react-icons/lib/md/tab.d.ts index 5fa18473c7..789ea85b5a 100644 --- a/types/react-icons/lib/md/tab.d.ts +++ b/types/react-icons/lib/md/tab.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTab extends React.Component<IconBaseProps> { } +declare class MdTab extends React.Component<IconBaseProps> { } +export = MdTab; diff --git a/types/react-icons/lib/md/tablet-android.d.ts b/types/react-icons/lib/md/tablet-android.d.ts index 2f30739971..d7bf0e19e6 100644 --- a/types/react-icons/lib/md/tablet-android.d.ts +++ b/types/react-icons/lib/md/tablet-android.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTabletAndroid extends React.Component<IconBaseProps> { } +declare class MdTabletAndroid extends React.Component<IconBaseProps> { } +export = MdTabletAndroid; diff --git a/types/react-icons/lib/md/tablet-mac.d.ts b/types/react-icons/lib/md/tablet-mac.d.ts index cad896f80b..e9cb6dd950 100644 --- a/types/react-icons/lib/md/tablet-mac.d.ts +++ b/types/react-icons/lib/md/tablet-mac.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTabletMac extends React.Component<IconBaseProps> { } +declare class MdTabletMac extends React.Component<IconBaseProps> { } +export = MdTabletMac; diff --git a/types/react-icons/lib/md/tablet.d.ts b/types/react-icons/lib/md/tablet.d.ts index 839c55d2a9..b9cac8c14e 100644 --- a/types/react-icons/lib/md/tablet.d.ts +++ b/types/react-icons/lib/md/tablet.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTablet extends React.Component<IconBaseProps> { } +declare class MdTablet extends React.Component<IconBaseProps> { } +export = MdTablet; diff --git a/types/react-icons/lib/md/tag-faces.d.ts b/types/react-icons/lib/md/tag-faces.d.ts index 36fe31f9f7..657eda9788 100644 --- a/types/react-icons/lib/md/tag-faces.d.ts +++ b/types/react-icons/lib/md/tag-faces.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTagFaces extends React.Component<IconBaseProps> { } +declare class MdTagFaces extends React.Component<IconBaseProps> { } +export = MdTagFaces; diff --git a/types/react-icons/lib/md/tap-and-play.d.ts b/types/react-icons/lib/md/tap-and-play.d.ts index 50203118f9..547c5676fd 100644 --- a/types/react-icons/lib/md/tap-and-play.d.ts +++ b/types/react-icons/lib/md/tap-and-play.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTapAndPlay extends React.Component<IconBaseProps> { } +declare class MdTapAndPlay extends React.Component<IconBaseProps> { } +export = MdTapAndPlay; diff --git a/types/react-icons/lib/md/terrain.d.ts b/types/react-icons/lib/md/terrain.d.ts index 89ddcb3ab1..faebcb3c1d 100644 --- a/types/react-icons/lib/md/terrain.d.ts +++ b/types/react-icons/lib/md/terrain.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTerrain extends React.Component<IconBaseProps> { } +declare class MdTerrain extends React.Component<IconBaseProps> { } +export = MdTerrain; diff --git a/types/react-icons/lib/md/text-fields.d.ts b/types/react-icons/lib/md/text-fields.d.ts index 51d63798ed..e2f9f057b1 100644 --- a/types/react-icons/lib/md/text-fields.d.ts +++ b/types/react-icons/lib/md/text-fields.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTextFields extends React.Component<IconBaseProps> { } +declare class MdTextFields extends React.Component<IconBaseProps> { } +export = MdTextFields; diff --git a/types/react-icons/lib/md/text-format.d.ts b/types/react-icons/lib/md/text-format.d.ts index ca4ef5d0b6..47ed038438 100644 --- a/types/react-icons/lib/md/text-format.d.ts +++ b/types/react-icons/lib/md/text-format.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTextFormat extends React.Component<IconBaseProps> { } +declare class MdTextFormat extends React.Component<IconBaseProps> { } +export = MdTextFormat; diff --git a/types/react-icons/lib/md/textsms.d.ts b/types/react-icons/lib/md/textsms.d.ts index c8f57f986a..98e6a9b769 100644 --- a/types/react-icons/lib/md/textsms.d.ts +++ b/types/react-icons/lib/md/textsms.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTextsms extends React.Component<IconBaseProps> { } +declare class MdTextsms extends React.Component<IconBaseProps> { } +export = MdTextsms; diff --git a/types/react-icons/lib/md/texture.d.ts b/types/react-icons/lib/md/texture.d.ts index 48805b49d0..c15e591c84 100644 --- a/types/react-icons/lib/md/texture.d.ts +++ b/types/react-icons/lib/md/texture.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTexture extends React.Component<IconBaseProps> { } +declare class MdTexture extends React.Component<IconBaseProps> { } +export = MdTexture; diff --git a/types/react-icons/lib/md/theaters.d.ts b/types/react-icons/lib/md/theaters.d.ts index eeecdd668f..c604995528 100644 --- a/types/react-icons/lib/md/theaters.d.ts +++ b/types/react-icons/lib/md/theaters.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTheaters extends React.Component<IconBaseProps> { } +declare class MdTheaters extends React.Component<IconBaseProps> { } +export = MdTheaters; diff --git a/types/react-icons/lib/md/thumb-down.d.ts b/types/react-icons/lib/md/thumb-down.d.ts index 412517a68f..fc08d83539 100644 --- a/types/react-icons/lib/md/thumb-down.d.ts +++ b/types/react-icons/lib/md/thumb-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdThumbDown extends React.Component<IconBaseProps> { } +declare class MdThumbDown extends React.Component<IconBaseProps> { } +export = MdThumbDown; diff --git a/types/react-icons/lib/md/thumb-up.d.ts b/types/react-icons/lib/md/thumb-up.d.ts index 4aedde1b4d..5057fd1814 100644 --- a/types/react-icons/lib/md/thumb-up.d.ts +++ b/types/react-icons/lib/md/thumb-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdThumbUp extends React.Component<IconBaseProps> { } +declare class MdThumbUp extends React.Component<IconBaseProps> { } +export = MdThumbUp; diff --git a/types/react-icons/lib/md/thumbs-up-down.d.ts b/types/react-icons/lib/md/thumbs-up-down.d.ts index f191397ff2..a445f15a80 100644 --- a/types/react-icons/lib/md/thumbs-up-down.d.ts +++ b/types/react-icons/lib/md/thumbs-up-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdThumbsUpDown extends React.Component<IconBaseProps> { } +declare class MdThumbsUpDown extends React.Component<IconBaseProps> { } +export = MdThumbsUpDown; diff --git a/types/react-icons/lib/md/time-to-leave.d.ts b/types/react-icons/lib/md/time-to-leave.d.ts index 6da47c86df..50743c05d3 100644 --- a/types/react-icons/lib/md/time-to-leave.d.ts +++ b/types/react-icons/lib/md/time-to-leave.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTimeToLeave extends React.Component<IconBaseProps> { } +declare class MdTimeToLeave extends React.Component<IconBaseProps> { } +export = MdTimeToLeave; diff --git a/types/react-icons/lib/md/timelapse.d.ts b/types/react-icons/lib/md/timelapse.d.ts index 57ac9ba997..e9b0763ffd 100644 --- a/types/react-icons/lib/md/timelapse.d.ts +++ b/types/react-icons/lib/md/timelapse.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTimelapse extends React.Component<IconBaseProps> { } +declare class MdTimelapse extends React.Component<IconBaseProps> { } +export = MdTimelapse; diff --git a/types/react-icons/lib/md/timeline.d.ts b/types/react-icons/lib/md/timeline.d.ts index e3c47270ce..ee9e8b0166 100644 --- a/types/react-icons/lib/md/timeline.d.ts +++ b/types/react-icons/lib/md/timeline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTimeline extends React.Component<IconBaseProps> { } +declare class MdTimeline extends React.Component<IconBaseProps> { } +export = MdTimeline; diff --git a/types/react-icons/lib/md/timer-10.d.ts b/types/react-icons/lib/md/timer-10.d.ts index 309eb0d095..2e31fb395a 100644 --- a/types/react-icons/lib/md/timer-10.d.ts +++ b/types/react-icons/lib/md/timer-10.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTimer10 extends React.Component<IconBaseProps> { } +declare class MdTimer10 extends React.Component<IconBaseProps> { } +export = MdTimer10; diff --git a/types/react-icons/lib/md/timer-3.d.ts b/types/react-icons/lib/md/timer-3.d.ts index 16ffff55b0..8c51e54da2 100644 --- a/types/react-icons/lib/md/timer-3.d.ts +++ b/types/react-icons/lib/md/timer-3.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTimer3 extends React.Component<IconBaseProps> { } +declare class MdTimer3 extends React.Component<IconBaseProps> { } +export = MdTimer3; diff --git a/types/react-icons/lib/md/timer-off.d.ts b/types/react-icons/lib/md/timer-off.d.ts index 60b525d44f..1a42f31d52 100644 --- a/types/react-icons/lib/md/timer-off.d.ts +++ b/types/react-icons/lib/md/timer-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTimerOff extends React.Component<IconBaseProps> { } +declare class MdTimerOff extends React.Component<IconBaseProps> { } +export = MdTimerOff; diff --git a/types/react-icons/lib/md/timer.d.ts b/types/react-icons/lib/md/timer.d.ts index aefa851f3e..d3afd39d90 100644 --- a/types/react-icons/lib/md/timer.d.ts +++ b/types/react-icons/lib/md/timer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTimer extends React.Component<IconBaseProps> { } +declare class MdTimer extends React.Component<IconBaseProps> { } +export = MdTimer; diff --git a/types/react-icons/lib/md/title.d.ts b/types/react-icons/lib/md/title.d.ts index 9585257382..16992b0ee7 100644 --- a/types/react-icons/lib/md/title.d.ts +++ b/types/react-icons/lib/md/title.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTitle extends React.Component<IconBaseProps> { } +declare class MdTitle extends React.Component<IconBaseProps> { } +export = MdTitle; diff --git a/types/react-icons/lib/md/toc.d.ts b/types/react-icons/lib/md/toc.d.ts index cdd1be99e6..1e1f96bd5d 100644 --- a/types/react-icons/lib/md/toc.d.ts +++ b/types/react-icons/lib/md/toc.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdToc extends React.Component<IconBaseProps> { } +declare class MdToc extends React.Component<IconBaseProps> { } +export = MdToc; diff --git a/types/react-icons/lib/md/today.d.ts b/types/react-icons/lib/md/today.d.ts index c21725c6bb..8f96a6812c 100644 --- a/types/react-icons/lib/md/today.d.ts +++ b/types/react-icons/lib/md/today.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdToday extends React.Component<IconBaseProps> { } +declare class MdToday extends React.Component<IconBaseProps> { } +export = MdToday; diff --git a/types/react-icons/lib/md/toll.d.ts b/types/react-icons/lib/md/toll.d.ts index a95cb48e8e..a37073a21e 100644 --- a/types/react-icons/lib/md/toll.d.ts +++ b/types/react-icons/lib/md/toll.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdToll extends React.Component<IconBaseProps> { } +declare class MdToll extends React.Component<IconBaseProps> { } +export = MdToll; diff --git a/types/react-icons/lib/md/tonality.d.ts b/types/react-icons/lib/md/tonality.d.ts index 21595adc48..e685396c61 100644 --- a/types/react-icons/lib/md/tonality.d.ts +++ b/types/react-icons/lib/md/tonality.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTonality extends React.Component<IconBaseProps> { } +declare class MdTonality extends React.Component<IconBaseProps> { } +export = MdTonality; diff --git a/types/react-icons/lib/md/touch-app.d.ts b/types/react-icons/lib/md/touch-app.d.ts index f5052a4d41..76f018ca9a 100644 --- a/types/react-icons/lib/md/touch-app.d.ts +++ b/types/react-icons/lib/md/touch-app.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTouchApp extends React.Component<IconBaseProps> { } +declare class MdTouchApp extends React.Component<IconBaseProps> { } +export = MdTouchApp; diff --git a/types/react-icons/lib/md/toys.d.ts b/types/react-icons/lib/md/toys.d.ts index 07ecd03fbd..504755d0a8 100644 --- a/types/react-icons/lib/md/toys.d.ts +++ b/types/react-icons/lib/md/toys.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdToys extends React.Component<IconBaseProps> { } +declare class MdToys extends React.Component<IconBaseProps> { } +export = MdToys; diff --git a/types/react-icons/lib/md/track-changes.d.ts b/types/react-icons/lib/md/track-changes.d.ts index a729929069..a7c1b75a20 100644 --- a/types/react-icons/lib/md/track-changes.d.ts +++ b/types/react-icons/lib/md/track-changes.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTrackChanges extends React.Component<IconBaseProps> { } +declare class MdTrackChanges extends React.Component<IconBaseProps> { } +export = MdTrackChanges; diff --git a/types/react-icons/lib/md/traffic.d.ts b/types/react-icons/lib/md/traffic.d.ts index 41cb955abb..b3a0a6a3a5 100644 --- a/types/react-icons/lib/md/traffic.d.ts +++ b/types/react-icons/lib/md/traffic.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTraffic extends React.Component<IconBaseProps> { } +declare class MdTraffic extends React.Component<IconBaseProps> { } +export = MdTraffic; diff --git a/types/react-icons/lib/md/train.d.ts b/types/react-icons/lib/md/train.d.ts index 88b32243ca..d96eb39965 100644 --- a/types/react-icons/lib/md/train.d.ts +++ b/types/react-icons/lib/md/train.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTrain extends React.Component<IconBaseProps> { } +declare class MdTrain extends React.Component<IconBaseProps> { } +export = MdTrain; diff --git a/types/react-icons/lib/md/tram.d.ts b/types/react-icons/lib/md/tram.d.ts index ac0677ac2f..c3a2eec3c2 100644 --- a/types/react-icons/lib/md/tram.d.ts +++ b/types/react-icons/lib/md/tram.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTram extends React.Component<IconBaseProps> { } +declare class MdTram extends React.Component<IconBaseProps> { } +export = MdTram; diff --git a/types/react-icons/lib/md/transfer-within-a-station.d.ts b/types/react-icons/lib/md/transfer-within-a-station.d.ts index c8ab351a40..2519aeafbc 100644 --- a/types/react-icons/lib/md/transfer-within-a-station.d.ts +++ b/types/react-icons/lib/md/transfer-within-a-station.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTransferWithinAStation extends React.Component<IconBaseProps> { } +declare class MdTransferWithinAStation extends React.Component<IconBaseProps> { } +export = MdTransferWithinAStation; diff --git a/types/react-icons/lib/md/transform.d.ts b/types/react-icons/lib/md/transform.d.ts index 3898a71c86..9f9278064e 100644 --- a/types/react-icons/lib/md/transform.d.ts +++ b/types/react-icons/lib/md/transform.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTransform extends React.Component<IconBaseProps> { } +declare class MdTransform extends React.Component<IconBaseProps> { } +export = MdTransform; diff --git a/types/react-icons/lib/md/translate.d.ts b/types/react-icons/lib/md/translate.d.ts index f8d624afc1..cc70c04db5 100644 --- a/types/react-icons/lib/md/translate.d.ts +++ b/types/react-icons/lib/md/translate.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTranslate extends React.Component<IconBaseProps> { } +declare class MdTranslate extends React.Component<IconBaseProps> { } +export = MdTranslate; diff --git a/types/react-icons/lib/md/trending-down.d.ts b/types/react-icons/lib/md/trending-down.d.ts index 00698234f5..a431260c06 100644 --- a/types/react-icons/lib/md/trending-down.d.ts +++ b/types/react-icons/lib/md/trending-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTrendingDown extends React.Component<IconBaseProps> { } +declare class MdTrendingDown extends React.Component<IconBaseProps> { } +export = MdTrendingDown; diff --git a/types/react-icons/lib/md/trending-flat.d.ts b/types/react-icons/lib/md/trending-flat.d.ts index b511527a55..f7539405ae 100644 --- a/types/react-icons/lib/md/trending-flat.d.ts +++ b/types/react-icons/lib/md/trending-flat.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTrendingFlat extends React.Component<IconBaseProps> { } +declare class MdTrendingFlat extends React.Component<IconBaseProps> { } +export = MdTrendingFlat; diff --git a/types/react-icons/lib/md/trending-neutral.d.ts b/types/react-icons/lib/md/trending-neutral.d.ts index 0c3d3d1fc1..ca17f924e5 100644 --- a/types/react-icons/lib/md/trending-neutral.d.ts +++ b/types/react-icons/lib/md/trending-neutral.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTrendingNeutral extends React.Component<IconBaseProps> { } +declare class MdTrendingNeutral extends React.Component<IconBaseProps> { } +export = MdTrendingNeutral; diff --git a/types/react-icons/lib/md/trending-up.d.ts b/types/react-icons/lib/md/trending-up.d.ts index 4468236a4e..18ea6f8fdd 100644 --- a/types/react-icons/lib/md/trending-up.d.ts +++ b/types/react-icons/lib/md/trending-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTrendingUp extends React.Component<IconBaseProps> { } +declare class MdTrendingUp extends React.Component<IconBaseProps> { } +export = MdTrendingUp; diff --git a/types/react-icons/lib/md/tune.d.ts b/types/react-icons/lib/md/tune.d.ts index 76c17a1112..ab850a0554 100644 --- a/types/react-icons/lib/md/tune.d.ts +++ b/types/react-icons/lib/md/tune.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTune extends React.Component<IconBaseProps> { } +declare class MdTune extends React.Component<IconBaseProps> { } +export = MdTune; diff --git a/types/react-icons/lib/md/turned-in-not.d.ts b/types/react-icons/lib/md/turned-in-not.d.ts index a2120936f2..6a9f029393 100644 --- a/types/react-icons/lib/md/turned-in-not.d.ts +++ b/types/react-icons/lib/md/turned-in-not.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTurnedInNot extends React.Component<IconBaseProps> { } +declare class MdTurnedInNot extends React.Component<IconBaseProps> { } +export = MdTurnedInNot; diff --git a/types/react-icons/lib/md/turned-in.d.ts b/types/react-icons/lib/md/turned-in.d.ts index 685e4225f4..7e1f6ff237 100644 --- a/types/react-icons/lib/md/turned-in.d.ts +++ b/types/react-icons/lib/md/turned-in.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTurnedIn extends React.Component<IconBaseProps> { } +declare class MdTurnedIn extends React.Component<IconBaseProps> { } +export = MdTurnedIn; diff --git a/types/react-icons/lib/md/tv.d.ts b/types/react-icons/lib/md/tv.d.ts index 4d184b9d39..6f6e2adebf 100644 --- a/types/react-icons/lib/md/tv.d.ts +++ b/types/react-icons/lib/md/tv.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdTv extends React.Component<IconBaseProps> { } +declare class MdTv extends React.Component<IconBaseProps> { } +export = MdTv; diff --git a/types/react-icons/lib/md/unarchive.d.ts b/types/react-icons/lib/md/unarchive.d.ts index 5fb2297759..f165b61f65 100644 --- a/types/react-icons/lib/md/unarchive.d.ts +++ b/types/react-icons/lib/md/unarchive.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdUnarchive extends React.Component<IconBaseProps> { } +declare class MdUnarchive extends React.Component<IconBaseProps> { } +export = MdUnarchive; diff --git a/types/react-icons/lib/md/undo.d.ts b/types/react-icons/lib/md/undo.d.ts index 16cec6f9f2..a72def4605 100644 --- a/types/react-icons/lib/md/undo.d.ts +++ b/types/react-icons/lib/md/undo.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdUndo extends React.Component<IconBaseProps> { } +declare class MdUndo extends React.Component<IconBaseProps> { } +export = MdUndo; diff --git a/types/react-icons/lib/md/unfold-less.d.ts b/types/react-icons/lib/md/unfold-less.d.ts index c13b17448f..4c2ab8a745 100644 --- a/types/react-icons/lib/md/unfold-less.d.ts +++ b/types/react-icons/lib/md/unfold-less.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdUnfoldLess extends React.Component<IconBaseProps> { } +declare class MdUnfoldLess extends React.Component<IconBaseProps> { } +export = MdUnfoldLess; diff --git a/types/react-icons/lib/md/unfold-more.d.ts b/types/react-icons/lib/md/unfold-more.d.ts index c87c91e57d..b776d661f4 100644 --- a/types/react-icons/lib/md/unfold-more.d.ts +++ b/types/react-icons/lib/md/unfold-more.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdUnfoldMore extends React.Component<IconBaseProps> { } +declare class MdUnfoldMore extends React.Component<IconBaseProps> { } +export = MdUnfoldMore; diff --git a/types/react-icons/lib/md/update.d.ts b/types/react-icons/lib/md/update.d.ts index bfc17eb008..1a2aa86383 100644 --- a/types/react-icons/lib/md/update.d.ts +++ b/types/react-icons/lib/md/update.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdUpdate extends React.Component<IconBaseProps> { } +declare class MdUpdate extends React.Component<IconBaseProps> { } +export = MdUpdate; diff --git a/types/react-icons/lib/md/usb.d.ts b/types/react-icons/lib/md/usb.d.ts index 66f7b5444e..0fd6160e84 100644 --- a/types/react-icons/lib/md/usb.d.ts +++ b/types/react-icons/lib/md/usb.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdUsb extends React.Component<IconBaseProps> { } +declare class MdUsb extends React.Component<IconBaseProps> { } +export = MdUsb; diff --git a/types/react-icons/lib/md/verified-user.d.ts b/types/react-icons/lib/md/verified-user.d.ts index 680ba2575f..59252e57a8 100644 --- a/types/react-icons/lib/md/verified-user.d.ts +++ b/types/react-icons/lib/md/verified-user.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVerifiedUser extends React.Component<IconBaseProps> { } +declare class MdVerifiedUser extends React.Component<IconBaseProps> { } +export = MdVerifiedUser; diff --git a/types/react-icons/lib/md/vertical-align-bottom.d.ts b/types/react-icons/lib/md/vertical-align-bottom.d.ts index e172ed18d3..12c3ec8578 100644 --- a/types/react-icons/lib/md/vertical-align-bottom.d.ts +++ b/types/react-icons/lib/md/vertical-align-bottom.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVerticalAlignBottom extends React.Component<IconBaseProps> { } +declare class MdVerticalAlignBottom extends React.Component<IconBaseProps> { } +export = MdVerticalAlignBottom; diff --git a/types/react-icons/lib/md/vertical-align-center.d.ts b/types/react-icons/lib/md/vertical-align-center.d.ts index f672e556c6..82a699826e 100644 --- a/types/react-icons/lib/md/vertical-align-center.d.ts +++ b/types/react-icons/lib/md/vertical-align-center.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVerticalAlignCenter extends React.Component<IconBaseProps> { } +declare class MdVerticalAlignCenter extends React.Component<IconBaseProps> { } +export = MdVerticalAlignCenter; diff --git a/types/react-icons/lib/md/vertical-align-top.d.ts b/types/react-icons/lib/md/vertical-align-top.d.ts index 712e86f0e3..db6f9b91a0 100644 --- a/types/react-icons/lib/md/vertical-align-top.d.ts +++ b/types/react-icons/lib/md/vertical-align-top.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVerticalAlignTop extends React.Component<IconBaseProps> { } +declare class MdVerticalAlignTop extends React.Component<IconBaseProps> { } +export = MdVerticalAlignTop; diff --git a/types/react-icons/lib/md/vibration.d.ts b/types/react-icons/lib/md/vibration.d.ts index 6f9b90222f..f2894c8316 100644 --- a/types/react-icons/lib/md/vibration.d.ts +++ b/types/react-icons/lib/md/vibration.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVibration extends React.Component<IconBaseProps> { } +declare class MdVibration extends React.Component<IconBaseProps> { } +export = MdVibration; diff --git a/types/react-icons/lib/md/video-call.d.ts b/types/react-icons/lib/md/video-call.d.ts index b22ae1fcee..5db72a0980 100644 --- a/types/react-icons/lib/md/video-call.d.ts +++ b/types/react-icons/lib/md/video-call.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVideoCall extends React.Component<IconBaseProps> { } +declare class MdVideoCall extends React.Component<IconBaseProps> { } +export = MdVideoCall; diff --git a/types/react-icons/lib/md/video-collection.d.ts b/types/react-icons/lib/md/video-collection.d.ts index 037903682d..0606a4604a 100644 --- a/types/react-icons/lib/md/video-collection.d.ts +++ b/types/react-icons/lib/md/video-collection.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVideoCollection extends React.Component<IconBaseProps> { } +declare class MdVideoCollection extends React.Component<IconBaseProps> { } +export = MdVideoCollection; diff --git a/types/react-icons/lib/md/video-label.d.ts b/types/react-icons/lib/md/video-label.d.ts index b2dc4eb7d1..0a2cad4961 100644 --- a/types/react-icons/lib/md/video-label.d.ts +++ b/types/react-icons/lib/md/video-label.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVideoLabel extends React.Component<IconBaseProps> { } +declare class MdVideoLabel extends React.Component<IconBaseProps> { } +export = MdVideoLabel; diff --git a/types/react-icons/lib/md/video-library.d.ts b/types/react-icons/lib/md/video-library.d.ts index 75bfe2a8aa..f862e3efb5 100644 --- a/types/react-icons/lib/md/video-library.d.ts +++ b/types/react-icons/lib/md/video-library.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVideoLibrary extends React.Component<IconBaseProps> { } +declare class MdVideoLibrary extends React.Component<IconBaseProps> { } +export = MdVideoLibrary; diff --git a/types/react-icons/lib/md/videocam-off.d.ts b/types/react-icons/lib/md/videocam-off.d.ts index fd9d514107..fe0fb34a6c 100644 --- a/types/react-icons/lib/md/videocam-off.d.ts +++ b/types/react-icons/lib/md/videocam-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVideocamOff extends React.Component<IconBaseProps> { } +declare class MdVideocamOff extends React.Component<IconBaseProps> { } +export = MdVideocamOff; diff --git a/types/react-icons/lib/md/videocam.d.ts b/types/react-icons/lib/md/videocam.d.ts index 7dc49c3be4..01a77ed2cf 100644 --- a/types/react-icons/lib/md/videocam.d.ts +++ b/types/react-icons/lib/md/videocam.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVideocam extends React.Component<IconBaseProps> { } +declare class MdVideocam extends React.Component<IconBaseProps> { } +export = MdVideocam; diff --git a/types/react-icons/lib/md/videogame-asset.d.ts b/types/react-icons/lib/md/videogame-asset.d.ts index 7e49edf4f8..e548061de8 100644 --- a/types/react-icons/lib/md/videogame-asset.d.ts +++ b/types/react-icons/lib/md/videogame-asset.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVideogameAsset extends React.Component<IconBaseProps> { } +declare class MdVideogameAsset extends React.Component<IconBaseProps> { } +export = MdVideogameAsset; diff --git a/types/react-icons/lib/md/view-agenda.d.ts b/types/react-icons/lib/md/view-agenda.d.ts index 04beb28dd3..53fac822a9 100644 --- a/types/react-icons/lib/md/view-agenda.d.ts +++ b/types/react-icons/lib/md/view-agenda.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdViewAgenda extends React.Component<IconBaseProps> { } +declare class MdViewAgenda extends React.Component<IconBaseProps> { } +export = MdViewAgenda; diff --git a/types/react-icons/lib/md/view-array.d.ts b/types/react-icons/lib/md/view-array.d.ts index 6b125ee5b6..61b4beecbf 100644 --- a/types/react-icons/lib/md/view-array.d.ts +++ b/types/react-icons/lib/md/view-array.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdViewArray extends React.Component<IconBaseProps> { } +declare class MdViewArray extends React.Component<IconBaseProps> { } +export = MdViewArray; diff --git a/types/react-icons/lib/md/view-carousel.d.ts b/types/react-icons/lib/md/view-carousel.d.ts index da381e92f6..20a02bbfb8 100644 --- a/types/react-icons/lib/md/view-carousel.d.ts +++ b/types/react-icons/lib/md/view-carousel.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdViewCarousel extends React.Component<IconBaseProps> { } +declare class MdViewCarousel extends React.Component<IconBaseProps> { } +export = MdViewCarousel; diff --git a/types/react-icons/lib/md/view-column.d.ts b/types/react-icons/lib/md/view-column.d.ts index c5aaaea343..fbaa21ebf0 100644 --- a/types/react-icons/lib/md/view-column.d.ts +++ b/types/react-icons/lib/md/view-column.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdViewColumn extends React.Component<IconBaseProps> { } +declare class MdViewColumn extends React.Component<IconBaseProps> { } +export = MdViewColumn; diff --git a/types/react-icons/lib/md/view-comfortable.d.ts b/types/react-icons/lib/md/view-comfortable.d.ts index 4a8277c807..8181bba3c7 100644 --- a/types/react-icons/lib/md/view-comfortable.d.ts +++ b/types/react-icons/lib/md/view-comfortable.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdViewComfortable extends React.Component<IconBaseProps> { } +declare class MdViewComfortable extends React.Component<IconBaseProps> { } +export = MdViewComfortable; diff --git a/types/react-icons/lib/md/view-comfy.d.ts b/types/react-icons/lib/md/view-comfy.d.ts index a7004f4eee..4157bc557e 100644 --- a/types/react-icons/lib/md/view-comfy.d.ts +++ b/types/react-icons/lib/md/view-comfy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdViewComfy extends React.Component<IconBaseProps> { } +declare class MdViewComfy extends React.Component<IconBaseProps> { } +export = MdViewComfy; diff --git a/types/react-icons/lib/md/view-compact.d.ts b/types/react-icons/lib/md/view-compact.d.ts index fefa73473f..6f4e159c9d 100644 --- a/types/react-icons/lib/md/view-compact.d.ts +++ b/types/react-icons/lib/md/view-compact.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdViewCompact extends React.Component<IconBaseProps> { } +declare class MdViewCompact extends React.Component<IconBaseProps> { } +export = MdViewCompact; diff --git a/types/react-icons/lib/md/view-day.d.ts b/types/react-icons/lib/md/view-day.d.ts index 2013b75c21..934a0b4e69 100644 --- a/types/react-icons/lib/md/view-day.d.ts +++ b/types/react-icons/lib/md/view-day.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdViewDay extends React.Component<IconBaseProps> { } +declare class MdViewDay extends React.Component<IconBaseProps> { } +export = MdViewDay; diff --git a/types/react-icons/lib/md/view-headline.d.ts b/types/react-icons/lib/md/view-headline.d.ts index b82272bf35..a06b4281ac 100644 --- a/types/react-icons/lib/md/view-headline.d.ts +++ b/types/react-icons/lib/md/view-headline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdViewHeadline extends React.Component<IconBaseProps> { } +declare class MdViewHeadline extends React.Component<IconBaseProps> { } +export = MdViewHeadline; diff --git a/types/react-icons/lib/md/view-list.d.ts b/types/react-icons/lib/md/view-list.d.ts index e4cafe07c0..e082fed3a3 100644 --- a/types/react-icons/lib/md/view-list.d.ts +++ b/types/react-icons/lib/md/view-list.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdViewList extends React.Component<IconBaseProps> { } +declare class MdViewList extends React.Component<IconBaseProps> { } +export = MdViewList; diff --git a/types/react-icons/lib/md/view-module.d.ts b/types/react-icons/lib/md/view-module.d.ts index 745cf535be..c506509ece 100644 --- a/types/react-icons/lib/md/view-module.d.ts +++ b/types/react-icons/lib/md/view-module.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdViewModule extends React.Component<IconBaseProps> { } +declare class MdViewModule extends React.Component<IconBaseProps> { } +export = MdViewModule; diff --git a/types/react-icons/lib/md/view-quilt.d.ts b/types/react-icons/lib/md/view-quilt.d.ts index f0e1e3694f..164d09766c 100644 --- a/types/react-icons/lib/md/view-quilt.d.ts +++ b/types/react-icons/lib/md/view-quilt.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdViewQuilt extends React.Component<IconBaseProps> { } +declare class MdViewQuilt extends React.Component<IconBaseProps> { } +export = MdViewQuilt; diff --git a/types/react-icons/lib/md/view-stream.d.ts b/types/react-icons/lib/md/view-stream.d.ts index af7906aa62..8475058133 100644 --- a/types/react-icons/lib/md/view-stream.d.ts +++ b/types/react-icons/lib/md/view-stream.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdViewStream extends React.Component<IconBaseProps> { } +declare class MdViewStream extends React.Component<IconBaseProps> { } +export = MdViewStream; diff --git a/types/react-icons/lib/md/view-week.d.ts b/types/react-icons/lib/md/view-week.d.ts index f40184d700..5841c02b24 100644 --- a/types/react-icons/lib/md/view-week.d.ts +++ b/types/react-icons/lib/md/view-week.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdViewWeek extends React.Component<IconBaseProps> { } +declare class MdViewWeek extends React.Component<IconBaseProps> { } +export = MdViewWeek; diff --git a/types/react-icons/lib/md/vignette.d.ts b/types/react-icons/lib/md/vignette.d.ts index 0f34dde7dd..68828b9c4a 100644 --- a/types/react-icons/lib/md/vignette.d.ts +++ b/types/react-icons/lib/md/vignette.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVignette extends React.Component<IconBaseProps> { } +declare class MdVignette extends React.Component<IconBaseProps> { } +export = MdVignette; diff --git a/types/react-icons/lib/md/visibility-off.d.ts b/types/react-icons/lib/md/visibility-off.d.ts index 679a746bd7..264ae51949 100644 --- a/types/react-icons/lib/md/visibility-off.d.ts +++ b/types/react-icons/lib/md/visibility-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVisibilityOff extends React.Component<IconBaseProps> { } +declare class MdVisibilityOff extends React.Component<IconBaseProps> { } +export = MdVisibilityOff; diff --git a/types/react-icons/lib/md/visibility.d.ts b/types/react-icons/lib/md/visibility.d.ts index 59c3bb1f38..b264e21de9 100644 --- a/types/react-icons/lib/md/visibility.d.ts +++ b/types/react-icons/lib/md/visibility.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVisibility extends React.Component<IconBaseProps> { } +declare class MdVisibility extends React.Component<IconBaseProps> { } +export = MdVisibility; diff --git a/types/react-icons/lib/md/voice-chat.d.ts b/types/react-icons/lib/md/voice-chat.d.ts index a64ac1bee4..5a734456a1 100644 --- a/types/react-icons/lib/md/voice-chat.d.ts +++ b/types/react-icons/lib/md/voice-chat.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVoiceChat extends React.Component<IconBaseProps> { } +declare class MdVoiceChat extends React.Component<IconBaseProps> { } +export = MdVoiceChat; diff --git a/types/react-icons/lib/md/voicemail.d.ts b/types/react-icons/lib/md/voicemail.d.ts index bf922ef49e..b91bb52445 100644 --- a/types/react-icons/lib/md/voicemail.d.ts +++ b/types/react-icons/lib/md/voicemail.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVoicemail extends React.Component<IconBaseProps> { } +declare class MdVoicemail extends React.Component<IconBaseProps> { } +export = MdVoicemail; diff --git a/types/react-icons/lib/md/volume-down.d.ts b/types/react-icons/lib/md/volume-down.d.ts index f7a335c1c7..e0acee5522 100644 --- a/types/react-icons/lib/md/volume-down.d.ts +++ b/types/react-icons/lib/md/volume-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVolumeDown extends React.Component<IconBaseProps> { } +declare class MdVolumeDown extends React.Component<IconBaseProps> { } +export = MdVolumeDown; diff --git a/types/react-icons/lib/md/volume-mute.d.ts b/types/react-icons/lib/md/volume-mute.d.ts index 566bbe0003..9baa94e9d3 100644 --- a/types/react-icons/lib/md/volume-mute.d.ts +++ b/types/react-icons/lib/md/volume-mute.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVolumeMute extends React.Component<IconBaseProps> { } +declare class MdVolumeMute extends React.Component<IconBaseProps> { } +export = MdVolumeMute; diff --git a/types/react-icons/lib/md/volume-off.d.ts b/types/react-icons/lib/md/volume-off.d.ts index 74acca188c..91482e854b 100644 --- a/types/react-icons/lib/md/volume-off.d.ts +++ b/types/react-icons/lib/md/volume-off.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVolumeOff extends React.Component<IconBaseProps> { } +declare class MdVolumeOff extends React.Component<IconBaseProps> { } +export = MdVolumeOff; diff --git a/types/react-icons/lib/md/volume-up.d.ts b/types/react-icons/lib/md/volume-up.d.ts index 28387e23f0..fae49fd042 100644 --- a/types/react-icons/lib/md/volume-up.d.ts +++ b/types/react-icons/lib/md/volume-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVolumeUp extends React.Component<IconBaseProps> { } +declare class MdVolumeUp extends React.Component<IconBaseProps> { } +export = MdVolumeUp; diff --git a/types/react-icons/lib/md/vpn-key.d.ts b/types/react-icons/lib/md/vpn-key.d.ts index e2325babe7..aafd41a6b4 100644 --- a/types/react-icons/lib/md/vpn-key.d.ts +++ b/types/react-icons/lib/md/vpn-key.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVpnKey extends React.Component<IconBaseProps> { } +declare class MdVpnKey extends React.Component<IconBaseProps> { } +export = MdVpnKey; diff --git a/types/react-icons/lib/md/vpn-lock.d.ts b/types/react-icons/lib/md/vpn-lock.d.ts index b83205b117..5495b04cd7 100644 --- a/types/react-icons/lib/md/vpn-lock.d.ts +++ b/types/react-icons/lib/md/vpn-lock.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdVpnLock extends React.Component<IconBaseProps> { } +declare class MdVpnLock extends React.Component<IconBaseProps> { } +export = MdVpnLock; diff --git a/types/react-icons/lib/md/wallpaper.d.ts b/types/react-icons/lib/md/wallpaper.d.ts index ea0485412f..66d579f3ee 100644 --- a/types/react-icons/lib/md/wallpaper.d.ts +++ b/types/react-icons/lib/md/wallpaper.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdWallpaper extends React.Component<IconBaseProps> { } +declare class MdWallpaper extends React.Component<IconBaseProps> { } +export = MdWallpaper; diff --git a/types/react-icons/lib/md/warning.d.ts b/types/react-icons/lib/md/warning.d.ts index 74ec79fe30..a8b475203d 100644 --- a/types/react-icons/lib/md/warning.d.ts +++ b/types/react-icons/lib/md/warning.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdWarning extends React.Component<IconBaseProps> { } +declare class MdWarning extends React.Component<IconBaseProps> { } +export = MdWarning; diff --git a/types/react-icons/lib/md/watch-later.d.ts b/types/react-icons/lib/md/watch-later.d.ts index c4dc2a3b49..21a18dda02 100644 --- a/types/react-icons/lib/md/watch-later.d.ts +++ b/types/react-icons/lib/md/watch-later.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdWatchLater extends React.Component<IconBaseProps> { } +declare class MdWatchLater extends React.Component<IconBaseProps> { } +export = MdWatchLater; diff --git a/types/react-icons/lib/md/watch.d.ts b/types/react-icons/lib/md/watch.d.ts index ae09dcd597..291523e27c 100644 --- a/types/react-icons/lib/md/watch.d.ts +++ b/types/react-icons/lib/md/watch.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdWatch extends React.Component<IconBaseProps> { } +declare class MdWatch extends React.Component<IconBaseProps> { } +export = MdWatch; diff --git a/types/react-icons/lib/md/wb-auto.d.ts b/types/react-icons/lib/md/wb-auto.d.ts index 216d3b41dc..6a04f806fa 100644 --- a/types/react-icons/lib/md/wb-auto.d.ts +++ b/types/react-icons/lib/md/wb-auto.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdWbAuto extends React.Component<IconBaseProps> { } +declare class MdWbAuto extends React.Component<IconBaseProps> { } +export = MdWbAuto; diff --git a/types/react-icons/lib/md/wb-cloudy.d.ts b/types/react-icons/lib/md/wb-cloudy.d.ts index 2ad62d4341..864fc65090 100644 --- a/types/react-icons/lib/md/wb-cloudy.d.ts +++ b/types/react-icons/lib/md/wb-cloudy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdWbCloudy extends React.Component<IconBaseProps> { } +declare class MdWbCloudy extends React.Component<IconBaseProps> { } +export = MdWbCloudy; diff --git a/types/react-icons/lib/md/wb-incandescent.d.ts b/types/react-icons/lib/md/wb-incandescent.d.ts index 52b597fc99..05fbebfcbb 100644 --- a/types/react-icons/lib/md/wb-incandescent.d.ts +++ b/types/react-icons/lib/md/wb-incandescent.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdWbIncandescent extends React.Component<IconBaseProps> { } +declare class MdWbIncandescent extends React.Component<IconBaseProps> { } +export = MdWbIncandescent; diff --git a/types/react-icons/lib/md/wb-iridescent.d.ts b/types/react-icons/lib/md/wb-iridescent.d.ts index 6d16c62bba..ec599b0fc4 100644 --- a/types/react-icons/lib/md/wb-iridescent.d.ts +++ b/types/react-icons/lib/md/wb-iridescent.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdWbIridescent extends React.Component<IconBaseProps> { } +declare class MdWbIridescent extends React.Component<IconBaseProps> { } +export = MdWbIridescent; diff --git a/types/react-icons/lib/md/wb-sunny.d.ts b/types/react-icons/lib/md/wb-sunny.d.ts index e8bd77c743..14d7d0c115 100644 --- a/types/react-icons/lib/md/wb-sunny.d.ts +++ b/types/react-icons/lib/md/wb-sunny.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdWbSunny extends React.Component<IconBaseProps> { } +declare class MdWbSunny extends React.Component<IconBaseProps> { } +export = MdWbSunny; diff --git a/types/react-icons/lib/md/wc.d.ts b/types/react-icons/lib/md/wc.d.ts index 9e9cde374f..acc9160928 100644 --- a/types/react-icons/lib/md/wc.d.ts +++ b/types/react-icons/lib/md/wc.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdWc extends React.Component<IconBaseProps> { } +declare class MdWc extends React.Component<IconBaseProps> { } +export = MdWc; diff --git a/types/react-icons/lib/md/web-asset.d.ts b/types/react-icons/lib/md/web-asset.d.ts index 1871d94e5f..3296ddb2f3 100644 --- a/types/react-icons/lib/md/web-asset.d.ts +++ b/types/react-icons/lib/md/web-asset.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdWebAsset extends React.Component<IconBaseProps> { } +declare class MdWebAsset extends React.Component<IconBaseProps> { } +export = MdWebAsset; diff --git a/types/react-icons/lib/md/web.d.ts b/types/react-icons/lib/md/web.d.ts index 0a6c41e697..93fc4bf2af 100644 --- a/types/react-icons/lib/md/web.d.ts +++ b/types/react-icons/lib/md/web.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdWeb extends React.Component<IconBaseProps> { } +declare class MdWeb extends React.Component<IconBaseProps> { } +export = MdWeb; diff --git a/types/react-icons/lib/md/weekend.d.ts b/types/react-icons/lib/md/weekend.d.ts index 4a7c411c87..1e93ea3441 100644 --- a/types/react-icons/lib/md/weekend.d.ts +++ b/types/react-icons/lib/md/weekend.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdWeekend extends React.Component<IconBaseProps> { } +declare class MdWeekend extends React.Component<IconBaseProps> { } +export = MdWeekend; diff --git a/types/react-icons/lib/md/whatshot.d.ts b/types/react-icons/lib/md/whatshot.d.ts index cf16b36c37..8e520abd52 100644 --- a/types/react-icons/lib/md/whatshot.d.ts +++ b/types/react-icons/lib/md/whatshot.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdWhatshot extends React.Component<IconBaseProps> { } +declare class MdWhatshot extends React.Component<IconBaseProps> { } +export = MdWhatshot; diff --git a/types/react-icons/lib/md/widgets.d.ts b/types/react-icons/lib/md/widgets.d.ts index ea00e70e7b..b45a27f5ba 100644 --- a/types/react-icons/lib/md/widgets.d.ts +++ b/types/react-icons/lib/md/widgets.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdWidgets extends React.Component<IconBaseProps> { } +declare class MdWidgets extends React.Component<IconBaseProps> { } +export = MdWidgets; diff --git a/types/react-icons/lib/md/wifi-lock.d.ts b/types/react-icons/lib/md/wifi-lock.d.ts index 58c31bb22c..ed1338f365 100644 --- a/types/react-icons/lib/md/wifi-lock.d.ts +++ b/types/react-icons/lib/md/wifi-lock.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdWifiLock extends React.Component<IconBaseProps> { } +declare class MdWifiLock extends React.Component<IconBaseProps> { } +export = MdWifiLock; diff --git a/types/react-icons/lib/md/wifi-tethering.d.ts b/types/react-icons/lib/md/wifi-tethering.d.ts index 580c2fe273..8757a657b7 100644 --- a/types/react-icons/lib/md/wifi-tethering.d.ts +++ b/types/react-icons/lib/md/wifi-tethering.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdWifiTethering extends React.Component<IconBaseProps> { } +declare class MdWifiTethering extends React.Component<IconBaseProps> { } +export = MdWifiTethering; diff --git a/types/react-icons/lib/md/wifi.d.ts b/types/react-icons/lib/md/wifi.d.ts index ee81b9f84c..2e5f681b39 100644 --- a/types/react-icons/lib/md/wifi.d.ts +++ b/types/react-icons/lib/md/wifi.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdWifi extends React.Component<IconBaseProps> { } +declare class MdWifi extends React.Component<IconBaseProps> { } +export = MdWifi; diff --git a/types/react-icons/lib/md/work.d.ts b/types/react-icons/lib/md/work.d.ts index 8b1f10367f..af2a4e42e5 100644 --- a/types/react-icons/lib/md/work.d.ts +++ b/types/react-icons/lib/md/work.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdWork extends React.Component<IconBaseProps> { } +declare class MdWork extends React.Component<IconBaseProps> { } +export = MdWork; diff --git a/types/react-icons/lib/md/wrap-text.d.ts b/types/react-icons/lib/md/wrap-text.d.ts index 4e90b8190a..bc2554bf0e 100644 --- a/types/react-icons/lib/md/wrap-text.d.ts +++ b/types/react-icons/lib/md/wrap-text.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdWrapText extends React.Component<IconBaseProps> { } +declare class MdWrapText extends React.Component<IconBaseProps> { } +export = MdWrapText; diff --git a/types/react-icons/lib/md/youtube-searched-for.d.ts b/types/react-icons/lib/md/youtube-searched-for.d.ts index 0267e151dc..05c2c2c706 100644 --- a/types/react-icons/lib/md/youtube-searched-for.d.ts +++ b/types/react-icons/lib/md/youtube-searched-for.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdYoutubeSearchedFor extends React.Component<IconBaseProps> { } +declare class MdYoutubeSearchedFor extends React.Component<IconBaseProps> { } +export = MdYoutubeSearchedFor; diff --git a/types/react-icons/lib/md/zoom-in.d.ts b/types/react-icons/lib/md/zoom-in.d.ts index 068a0d9bd7..2bba2417c0 100644 --- a/types/react-icons/lib/md/zoom-in.d.ts +++ b/types/react-icons/lib/md/zoom-in.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdZoomIn extends React.Component<IconBaseProps> { } +declare class MdZoomIn extends React.Component<IconBaseProps> { } +export = MdZoomIn; diff --git a/types/react-icons/lib/md/zoom-out-map.d.ts b/types/react-icons/lib/md/zoom-out-map.d.ts index 4d526d0095..4b79de0d14 100644 --- a/types/react-icons/lib/md/zoom-out-map.d.ts +++ b/types/react-icons/lib/md/zoom-out-map.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdZoomOutMap extends React.Component<IconBaseProps> { } +declare class MdZoomOutMap extends React.Component<IconBaseProps> { } +export = MdZoomOutMap; diff --git a/types/react-icons/lib/md/zoom-out.d.ts b/types/react-icons/lib/md/zoom-out.d.ts index 54862f1b45..630db0d75c 100644 --- a/types/react-icons/lib/md/zoom-out.d.ts +++ b/types/react-icons/lib/md/zoom-out.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class MdZoomOut extends React.Component<IconBaseProps> { } +declare class MdZoomOut extends React.Component<IconBaseProps> { } +export = MdZoomOut; diff --git a/types/react-icons/lib/ti/adjust-brightness.d.ts b/types/react-icons/lib/ti/adjust-brightness.d.ts index 5beec88e6a..4f581f784b 100644 --- a/types/react-icons/lib/ti/adjust-brightness.d.ts +++ b/types/react-icons/lib/ti/adjust-brightness.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiAdjustBrightness extends React.Component<IconBaseProps> { } +declare class TiAdjustBrightness extends React.Component<IconBaseProps> { } +export = TiAdjustBrightness; diff --git a/types/react-icons/lib/ti/adjust-contrast.d.ts b/types/react-icons/lib/ti/adjust-contrast.d.ts index 2d49b0ce59..e85f43a11f 100644 --- a/types/react-icons/lib/ti/adjust-contrast.d.ts +++ b/types/react-icons/lib/ti/adjust-contrast.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiAdjustContrast extends React.Component<IconBaseProps> { } +declare class TiAdjustContrast extends React.Component<IconBaseProps> { } +export = TiAdjustContrast; diff --git a/types/react-icons/lib/ti/anchor-outline.d.ts b/types/react-icons/lib/ti/anchor-outline.d.ts index 7a9bc3ab6e..fb0b412883 100644 --- a/types/react-icons/lib/ti/anchor-outline.d.ts +++ b/types/react-icons/lib/ti/anchor-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiAnchorOutline extends React.Component<IconBaseProps> { } +declare class TiAnchorOutline extends React.Component<IconBaseProps> { } +export = TiAnchorOutline; diff --git a/types/react-icons/lib/ti/anchor.d.ts b/types/react-icons/lib/ti/anchor.d.ts index 3c90ca1623..ac2d26168c 100644 --- a/types/react-icons/lib/ti/anchor.d.ts +++ b/types/react-icons/lib/ti/anchor.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiAnchor extends React.Component<IconBaseProps> { } +declare class TiAnchor extends React.Component<IconBaseProps> { } +export = TiAnchor; diff --git a/types/react-icons/lib/ti/archive.d.ts b/types/react-icons/lib/ti/archive.d.ts index 22c92eab3d..1019b6d92a 100644 --- a/types/react-icons/lib/ti/archive.d.ts +++ b/types/react-icons/lib/ti/archive.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArchive extends React.Component<IconBaseProps> { } +declare class TiArchive extends React.Component<IconBaseProps> { } +export = TiArchive; diff --git a/types/react-icons/lib/ti/arrow-back-outline.d.ts b/types/react-icons/lib/ti/arrow-back-outline.d.ts index c168ae0809..6f675bcea3 100644 --- a/types/react-icons/lib/ti/arrow-back-outline.d.ts +++ b/types/react-icons/lib/ti/arrow-back-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowBackOutline extends React.Component<IconBaseProps> { } +declare class TiArrowBackOutline extends React.Component<IconBaseProps> { } +export = TiArrowBackOutline; diff --git a/types/react-icons/lib/ti/arrow-back.d.ts b/types/react-icons/lib/ti/arrow-back.d.ts index 5eb11665a2..8611134a00 100644 --- a/types/react-icons/lib/ti/arrow-back.d.ts +++ b/types/react-icons/lib/ti/arrow-back.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowBack extends React.Component<IconBaseProps> { } +declare class TiArrowBack extends React.Component<IconBaseProps> { } +export = TiArrowBack; diff --git a/types/react-icons/lib/ti/arrow-down-outline.d.ts b/types/react-icons/lib/ti/arrow-down-outline.d.ts index 17ff0d0547..a86d68da84 100644 --- a/types/react-icons/lib/ti/arrow-down-outline.d.ts +++ b/types/react-icons/lib/ti/arrow-down-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowDownOutline extends React.Component<IconBaseProps> { } +declare class TiArrowDownOutline extends React.Component<IconBaseProps> { } +export = TiArrowDownOutline; diff --git a/types/react-icons/lib/ti/arrow-down-thick.d.ts b/types/react-icons/lib/ti/arrow-down-thick.d.ts index 450cbe6467..e7a17aafb5 100644 --- a/types/react-icons/lib/ti/arrow-down-thick.d.ts +++ b/types/react-icons/lib/ti/arrow-down-thick.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowDownThick extends React.Component<IconBaseProps> { } +declare class TiArrowDownThick extends React.Component<IconBaseProps> { } +export = TiArrowDownThick; diff --git a/types/react-icons/lib/ti/arrow-down.d.ts b/types/react-icons/lib/ti/arrow-down.d.ts index fcb3596caf..58a7f75bc3 100644 --- a/types/react-icons/lib/ti/arrow-down.d.ts +++ b/types/react-icons/lib/ti/arrow-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowDown extends React.Component<IconBaseProps> { } +declare class TiArrowDown extends React.Component<IconBaseProps> { } +export = TiArrowDown; diff --git a/types/react-icons/lib/ti/arrow-forward-outline.d.ts b/types/react-icons/lib/ti/arrow-forward-outline.d.ts index 610881bf2d..6075344eba 100644 --- a/types/react-icons/lib/ti/arrow-forward-outline.d.ts +++ b/types/react-icons/lib/ti/arrow-forward-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowForwardOutline extends React.Component<IconBaseProps> { } +declare class TiArrowForwardOutline extends React.Component<IconBaseProps> { } +export = TiArrowForwardOutline; diff --git a/types/react-icons/lib/ti/arrow-forward.d.ts b/types/react-icons/lib/ti/arrow-forward.d.ts index a4291100ca..f2729f5d2c 100644 --- a/types/react-icons/lib/ti/arrow-forward.d.ts +++ b/types/react-icons/lib/ti/arrow-forward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowForward extends React.Component<IconBaseProps> { } +declare class TiArrowForward extends React.Component<IconBaseProps> { } +export = TiArrowForward; diff --git a/types/react-icons/lib/ti/arrow-left-outline.d.ts b/types/react-icons/lib/ti/arrow-left-outline.d.ts index fb50e3e8ae..033e464649 100644 --- a/types/react-icons/lib/ti/arrow-left-outline.d.ts +++ b/types/react-icons/lib/ti/arrow-left-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowLeftOutline extends React.Component<IconBaseProps> { } +declare class TiArrowLeftOutline extends React.Component<IconBaseProps> { } +export = TiArrowLeftOutline; diff --git a/types/react-icons/lib/ti/arrow-left-thick.d.ts b/types/react-icons/lib/ti/arrow-left-thick.d.ts index 4c5bf0e54e..e3a016cb1f 100644 --- a/types/react-icons/lib/ti/arrow-left-thick.d.ts +++ b/types/react-icons/lib/ti/arrow-left-thick.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowLeftThick extends React.Component<IconBaseProps> { } +declare class TiArrowLeftThick extends React.Component<IconBaseProps> { } +export = TiArrowLeftThick; diff --git a/types/react-icons/lib/ti/arrow-left.d.ts b/types/react-icons/lib/ti/arrow-left.d.ts index f4ae370d36..0555a99412 100644 --- a/types/react-icons/lib/ti/arrow-left.d.ts +++ b/types/react-icons/lib/ti/arrow-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowLeft extends React.Component<IconBaseProps> { } +declare class TiArrowLeft extends React.Component<IconBaseProps> { } +export = TiArrowLeft; diff --git a/types/react-icons/lib/ti/arrow-loop-outline.d.ts b/types/react-icons/lib/ti/arrow-loop-outline.d.ts index 40da459c5f..fdbbb8fa42 100644 --- a/types/react-icons/lib/ti/arrow-loop-outline.d.ts +++ b/types/react-icons/lib/ti/arrow-loop-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowLoopOutline extends React.Component<IconBaseProps> { } +declare class TiArrowLoopOutline extends React.Component<IconBaseProps> { } +export = TiArrowLoopOutline; diff --git a/types/react-icons/lib/ti/arrow-loop.d.ts b/types/react-icons/lib/ti/arrow-loop.d.ts index e4d207fe46..40fee9ff24 100644 --- a/types/react-icons/lib/ti/arrow-loop.d.ts +++ b/types/react-icons/lib/ti/arrow-loop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowLoop extends React.Component<IconBaseProps> { } +declare class TiArrowLoop extends React.Component<IconBaseProps> { } +export = TiArrowLoop; diff --git a/types/react-icons/lib/ti/arrow-maximise-outline.d.ts b/types/react-icons/lib/ti/arrow-maximise-outline.d.ts index e6900ecdb4..431e6599f7 100644 --- a/types/react-icons/lib/ti/arrow-maximise-outline.d.ts +++ b/types/react-icons/lib/ti/arrow-maximise-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowMaximiseOutline extends React.Component<IconBaseProps> { } +declare class TiArrowMaximiseOutline extends React.Component<IconBaseProps> { } +export = TiArrowMaximiseOutline; diff --git a/types/react-icons/lib/ti/arrow-maximise.d.ts b/types/react-icons/lib/ti/arrow-maximise.d.ts index 14797e2179..f3521df247 100644 --- a/types/react-icons/lib/ti/arrow-maximise.d.ts +++ b/types/react-icons/lib/ti/arrow-maximise.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowMaximise extends React.Component<IconBaseProps> { } +declare class TiArrowMaximise extends React.Component<IconBaseProps> { } +export = TiArrowMaximise; diff --git a/types/react-icons/lib/ti/arrow-minimise-outline.d.ts b/types/react-icons/lib/ti/arrow-minimise-outline.d.ts index 16e1c2c67d..93cfee26c2 100644 --- a/types/react-icons/lib/ti/arrow-minimise-outline.d.ts +++ b/types/react-icons/lib/ti/arrow-minimise-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowMinimiseOutline extends React.Component<IconBaseProps> { } +declare class TiArrowMinimiseOutline extends React.Component<IconBaseProps> { } +export = TiArrowMinimiseOutline; diff --git a/types/react-icons/lib/ti/arrow-minimise.d.ts b/types/react-icons/lib/ti/arrow-minimise.d.ts index 557625ec1a..531d6414e7 100644 --- a/types/react-icons/lib/ti/arrow-minimise.d.ts +++ b/types/react-icons/lib/ti/arrow-minimise.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowMinimise extends React.Component<IconBaseProps> { } +declare class TiArrowMinimise extends React.Component<IconBaseProps> { } +export = TiArrowMinimise; diff --git a/types/react-icons/lib/ti/arrow-move-outline.d.ts b/types/react-icons/lib/ti/arrow-move-outline.d.ts index 0035cbddca..510ae78ebe 100644 --- a/types/react-icons/lib/ti/arrow-move-outline.d.ts +++ b/types/react-icons/lib/ti/arrow-move-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowMoveOutline extends React.Component<IconBaseProps> { } +declare class TiArrowMoveOutline extends React.Component<IconBaseProps> { } +export = TiArrowMoveOutline; diff --git a/types/react-icons/lib/ti/arrow-move.d.ts b/types/react-icons/lib/ti/arrow-move.d.ts index 974082e4ed..ee02e3d91d 100644 --- a/types/react-icons/lib/ti/arrow-move.d.ts +++ b/types/react-icons/lib/ti/arrow-move.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowMove extends React.Component<IconBaseProps> { } +declare class TiArrowMove extends React.Component<IconBaseProps> { } +export = TiArrowMove; diff --git a/types/react-icons/lib/ti/arrow-repeat-outline.d.ts b/types/react-icons/lib/ti/arrow-repeat-outline.d.ts index 7b4e2b2c06..94eebe9c04 100644 --- a/types/react-icons/lib/ti/arrow-repeat-outline.d.ts +++ b/types/react-icons/lib/ti/arrow-repeat-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowRepeatOutline extends React.Component<IconBaseProps> { } +declare class TiArrowRepeatOutline extends React.Component<IconBaseProps> { } +export = TiArrowRepeatOutline; diff --git a/types/react-icons/lib/ti/arrow-repeat.d.ts b/types/react-icons/lib/ti/arrow-repeat.d.ts index 00445af479..0010ebcab4 100644 --- a/types/react-icons/lib/ti/arrow-repeat.d.ts +++ b/types/react-icons/lib/ti/arrow-repeat.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowRepeat extends React.Component<IconBaseProps> { } +declare class TiArrowRepeat extends React.Component<IconBaseProps> { } +export = TiArrowRepeat; diff --git a/types/react-icons/lib/ti/arrow-right-outline.d.ts b/types/react-icons/lib/ti/arrow-right-outline.d.ts index 7f7319172c..04269a4ea9 100644 --- a/types/react-icons/lib/ti/arrow-right-outline.d.ts +++ b/types/react-icons/lib/ti/arrow-right-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowRightOutline extends React.Component<IconBaseProps> { } +declare class TiArrowRightOutline extends React.Component<IconBaseProps> { } +export = TiArrowRightOutline; diff --git a/types/react-icons/lib/ti/arrow-right-thick.d.ts b/types/react-icons/lib/ti/arrow-right-thick.d.ts index cc72754ddf..322875500b 100644 --- a/types/react-icons/lib/ti/arrow-right-thick.d.ts +++ b/types/react-icons/lib/ti/arrow-right-thick.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowRightThick extends React.Component<IconBaseProps> { } +declare class TiArrowRightThick extends React.Component<IconBaseProps> { } +export = TiArrowRightThick; diff --git a/types/react-icons/lib/ti/arrow-right.d.ts b/types/react-icons/lib/ti/arrow-right.d.ts index 0761bfd383..ae7fd5ad05 100644 --- a/types/react-icons/lib/ti/arrow-right.d.ts +++ b/types/react-icons/lib/ti/arrow-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowRight extends React.Component<IconBaseProps> { } +declare class TiArrowRight extends React.Component<IconBaseProps> { } +export = TiArrowRight; diff --git a/types/react-icons/lib/ti/arrow-shuffle.d.ts b/types/react-icons/lib/ti/arrow-shuffle.d.ts index c0cb7629b3..506b10aa81 100644 --- a/types/react-icons/lib/ti/arrow-shuffle.d.ts +++ b/types/react-icons/lib/ti/arrow-shuffle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowShuffle extends React.Component<IconBaseProps> { } +declare class TiArrowShuffle extends React.Component<IconBaseProps> { } +export = TiArrowShuffle; diff --git a/types/react-icons/lib/ti/arrow-sorted-down.d.ts b/types/react-icons/lib/ti/arrow-sorted-down.d.ts index b7b8a436dd..a9f86a80af 100644 --- a/types/react-icons/lib/ti/arrow-sorted-down.d.ts +++ b/types/react-icons/lib/ti/arrow-sorted-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowSortedDown extends React.Component<IconBaseProps> { } +declare class TiArrowSortedDown extends React.Component<IconBaseProps> { } +export = TiArrowSortedDown; diff --git a/types/react-icons/lib/ti/arrow-sorted-up.d.ts b/types/react-icons/lib/ti/arrow-sorted-up.d.ts index 66f3ef408a..849fe84ff4 100644 --- a/types/react-icons/lib/ti/arrow-sorted-up.d.ts +++ b/types/react-icons/lib/ti/arrow-sorted-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowSortedUp extends React.Component<IconBaseProps> { } +declare class TiArrowSortedUp extends React.Component<IconBaseProps> { } +export = TiArrowSortedUp; diff --git a/types/react-icons/lib/ti/arrow-sync-outline.d.ts b/types/react-icons/lib/ti/arrow-sync-outline.d.ts index 91b296966b..b2577282e7 100644 --- a/types/react-icons/lib/ti/arrow-sync-outline.d.ts +++ b/types/react-icons/lib/ti/arrow-sync-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowSyncOutline extends React.Component<IconBaseProps> { } +declare class TiArrowSyncOutline extends React.Component<IconBaseProps> { } +export = TiArrowSyncOutline; diff --git a/types/react-icons/lib/ti/arrow-sync.d.ts b/types/react-icons/lib/ti/arrow-sync.d.ts index 4a863fe22c..35b9b2e05a 100644 --- a/types/react-icons/lib/ti/arrow-sync.d.ts +++ b/types/react-icons/lib/ti/arrow-sync.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowSync extends React.Component<IconBaseProps> { } +declare class TiArrowSync extends React.Component<IconBaseProps> { } +export = TiArrowSync; diff --git a/types/react-icons/lib/ti/arrow-unsorted.d.ts b/types/react-icons/lib/ti/arrow-unsorted.d.ts index 1fbd71c7fa..4c453df45a 100644 --- a/types/react-icons/lib/ti/arrow-unsorted.d.ts +++ b/types/react-icons/lib/ti/arrow-unsorted.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowUnsorted extends React.Component<IconBaseProps> { } +declare class TiArrowUnsorted extends React.Component<IconBaseProps> { } +export = TiArrowUnsorted; diff --git a/types/react-icons/lib/ti/arrow-up-outline.d.ts b/types/react-icons/lib/ti/arrow-up-outline.d.ts index 5f7d9b2baa..b25077cee2 100644 --- a/types/react-icons/lib/ti/arrow-up-outline.d.ts +++ b/types/react-icons/lib/ti/arrow-up-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowUpOutline extends React.Component<IconBaseProps> { } +declare class TiArrowUpOutline extends React.Component<IconBaseProps> { } +export = TiArrowUpOutline; diff --git a/types/react-icons/lib/ti/arrow-up-thick.d.ts b/types/react-icons/lib/ti/arrow-up-thick.d.ts index 965192a20a..6a5c487bbb 100644 --- a/types/react-icons/lib/ti/arrow-up-thick.d.ts +++ b/types/react-icons/lib/ti/arrow-up-thick.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowUpThick extends React.Component<IconBaseProps> { } +declare class TiArrowUpThick extends React.Component<IconBaseProps> { } +export = TiArrowUpThick; diff --git a/types/react-icons/lib/ti/arrow-up.d.ts b/types/react-icons/lib/ti/arrow-up.d.ts index d8930645ae..c20aa6fab9 100644 --- a/types/react-icons/lib/ti/arrow-up.d.ts +++ b/types/react-icons/lib/ti/arrow-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiArrowUp extends React.Component<IconBaseProps> { } +declare class TiArrowUp extends React.Component<IconBaseProps> { } +export = TiArrowUp; diff --git a/types/react-icons/lib/ti/at.d.ts b/types/react-icons/lib/ti/at.d.ts index 7eaadbcb42..a22becc6cc 100644 --- a/types/react-icons/lib/ti/at.d.ts +++ b/types/react-icons/lib/ti/at.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiAt extends React.Component<IconBaseProps> { } +declare class TiAt extends React.Component<IconBaseProps> { } +export = TiAt; diff --git a/types/react-icons/lib/ti/attachment-outline.d.ts b/types/react-icons/lib/ti/attachment-outline.d.ts index 2f3c1c54ea..af0ea4f5fb 100644 --- a/types/react-icons/lib/ti/attachment-outline.d.ts +++ b/types/react-icons/lib/ti/attachment-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiAttachmentOutline extends React.Component<IconBaseProps> { } +declare class TiAttachmentOutline extends React.Component<IconBaseProps> { } +export = TiAttachmentOutline; diff --git a/types/react-icons/lib/ti/attachment.d.ts b/types/react-icons/lib/ti/attachment.d.ts index ae09ff061c..089f1b1817 100644 --- a/types/react-icons/lib/ti/attachment.d.ts +++ b/types/react-icons/lib/ti/attachment.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiAttachment extends React.Component<IconBaseProps> { } +declare class TiAttachment extends React.Component<IconBaseProps> { } +export = TiAttachment; diff --git a/types/react-icons/lib/ti/backspace-outline.d.ts b/types/react-icons/lib/ti/backspace-outline.d.ts index a7047f88fc..fa59aa01cd 100644 --- a/types/react-icons/lib/ti/backspace-outline.d.ts +++ b/types/react-icons/lib/ti/backspace-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiBackspaceOutline extends React.Component<IconBaseProps> { } +declare class TiBackspaceOutline extends React.Component<IconBaseProps> { } +export = TiBackspaceOutline; diff --git a/types/react-icons/lib/ti/backspace.d.ts b/types/react-icons/lib/ti/backspace.d.ts index fcd1490219..062be7f345 100644 --- a/types/react-icons/lib/ti/backspace.d.ts +++ b/types/react-icons/lib/ti/backspace.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiBackspace extends React.Component<IconBaseProps> { } +declare class TiBackspace extends React.Component<IconBaseProps> { } +export = TiBackspace; diff --git a/types/react-icons/lib/ti/battery-charge.d.ts b/types/react-icons/lib/ti/battery-charge.d.ts index 6b1af42674..b81192220a 100644 --- a/types/react-icons/lib/ti/battery-charge.d.ts +++ b/types/react-icons/lib/ti/battery-charge.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiBatteryCharge extends React.Component<IconBaseProps> { } +declare class TiBatteryCharge extends React.Component<IconBaseProps> { } +export = TiBatteryCharge; diff --git a/types/react-icons/lib/ti/battery-full.d.ts b/types/react-icons/lib/ti/battery-full.d.ts index 6e75957baf..85b775dee9 100644 --- a/types/react-icons/lib/ti/battery-full.d.ts +++ b/types/react-icons/lib/ti/battery-full.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiBatteryFull extends React.Component<IconBaseProps> { } +declare class TiBatteryFull extends React.Component<IconBaseProps> { } +export = TiBatteryFull; diff --git a/types/react-icons/lib/ti/battery-high.d.ts b/types/react-icons/lib/ti/battery-high.d.ts index 951e63a507..05af45979f 100644 --- a/types/react-icons/lib/ti/battery-high.d.ts +++ b/types/react-icons/lib/ti/battery-high.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiBatteryHigh extends React.Component<IconBaseProps> { } +declare class TiBatteryHigh extends React.Component<IconBaseProps> { } +export = TiBatteryHigh; diff --git a/types/react-icons/lib/ti/battery-low.d.ts b/types/react-icons/lib/ti/battery-low.d.ts index 9c0f370293..fbbc4afcfe 100644 --- a/types/react-icons/lib/ti/battery-low.d.ts +++ b/types/react-icons/lib/ti/battery-low.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiBatteryLow extends React.Component<IconBaseProps> { } +declare class TiBatteryLow extends React.Component<IconBaseProps> { } +export = TiBatteryLow; diff --git a/types/react-icons/lib/ti/battery-mid.d.ts b/types/react-icons/lib/ti/battery-mid.d.ts index 6625efa374..a4b1bac2a4 100644 --- a/types/react-icons/lib/ti/battery-mid.d.ts +++ b/types/react-icons/lib/ti/battery-mid.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiBatteryMid extends React.Component<IconBaseProps> { } +declare class TiBatteryMid extends React.Component<IconBaseProps> { } +export = TiBatteryMid; diff --git a/types/react-icons/lib/ti/beaker.d.ts b/types/react-icons/lib/ti/beaker.d.ts index 0cdfe9fc68..088105c80e 100644 --- a/types/react-icons/lib/ti/beaker.d.ts +++ b/types/react-icons/lib/ti/beaker.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiBeaker extends React.Component<IconBaseProps> { } +declare class TiBeaker extends React.Component<IconBaseProps> { } +export = TiBeaker; diff --git a/types/react-icons/lib/ti/beer.d.ts b/types/react-icons/lib/ti/beer.d.ts index a76c8d06f6..6525266217 100644 --- a/types/react-icons/lib/ti/beer.d.ts +++ b/types/react-icons/lib/ti/beer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiBeer extends React.Component<IconBaseProps> { } +declare class TiBeer extends React.Component<IconBaseProps> { } +export = TiBeer; diff --git a/types/react-icons/lib/ti/bell.d.ts b/types/react-icons/lib/ti/bell.d.ts index d3dd3950ed..15728d828f 100644 --- a/types/react-icons/lib/ti/bell.d.ts +++ b/types/react-icons/lib/ti/bell.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiBell extends React.Component<IconBaseProps> { } +declare class TiBell extends React.Component<IconBaseProps> { } +export = TiBell; diff --git a/types/react-icons/lib/ti/book.d.ts b/types/react-icons/lib/ti/book.d.ts index e2a2e7d952..be301cf8bd 100644 --- a/types/react-icons/lib/ti/book.d.ts +++ b/types/react-icons/lib/ti/book.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiBook extends React.Component<IconBaseProps> { } +declare class TiBook extends React.Component<IconBaseProps> { } +export = TiBook; diff --git a/types/react-icons/lib/ti/bookmark.d.ts b/types/react-icons/lib/ti/bookmark.d.ts index 47dc6a5e5f..a5b1244aee 100644 --- a/types/react-icons/lib/ti/bookmark.d.ts +++ b/types/react-icons/lib/ti/bookmark.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiBookmark extends React.Component<IconBaseProps> { } +declare class TiBookmark extends React.Component<IconBaseProps> { } +export = TiBookmark; diff --git a/types/react-icons/lib/ti/briefcase.d.ts b/types/react-icons/lib/ti/briefcase.d.ts index c830dab76b..76635d9763 100644 --- a/types/react-icons/lib/ti/briefcase.d.ts +++ b/types/react-icons/lib/ti/briefcase.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiBriefcase extends React.Component<IconBaseProps> { } +declare class TiBriefcase extends React.Component<IconBaseProps> { } +export = TiBriefcase; diff --git a/types/react-icons/lib/ti/brush.d.ts b/types/react-icons/lib/ti/brush.d.ts index d8a1b5a5d8..596b8c1778 100644 --- a/types/react-icons/lib/ti/brush.d.ts +++ b/types/react-icons/lib/ti/brush.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiBrush extends React.Component<IconBaseProps> { } +declare class TiBrush extends React.Component<IconBaseProps> { } +export = TiBrush; diff --git a/types/react-icons/lib/ti/business-card.d.ts b/types/react-icons/lib/ti/business-card.d.ts index 1ecf3f6621..9e5b6a6657 100644 --- a/types/react-icons/lib/ti/business-card.d.ts +++ b/types/react-icons/lib/ti/business-card.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiBusinessCard extends React.Component<IconBaseProps> { } +declare class TiBusinessCard extends React.Component<IconBaseProps> { } +export = TiBusinessCard; diff --git a/types/react-icons/lib/ti/calculator.d.ts b/types/react-icons/lib/ti/calculator.d.ts index 403ce8c3e6..159507d0f5 100644 --- a/types/react-icons/lib/ti/calculator.d.ts +++ b/types/react-icons/lib/ti/calculator.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiCalculator extends React.Component<IconBaseProps> { } +declare class TiCalculator extends React.Component<IconBaseProps> { } +export = TiCalculator; diff --git a/types/react-icons/lib/ti/calendar-outline.d.ts b/types/react-icons/lib/ti/calendar-outline.d.ts index bd3dd9e9d3..feb064e20a 100644 --- a/types/react-icons/lib/ti/calendar-outline.d.ts +++ b/types/react-icons/lib/ti/calendar-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiCalendarOutline extends React.Component<IconBaseProps> { } +declare class TiCalendarOutline extends React.Component<IconBaseProps> { } +export = TiCalendarOutline; diff --git a/types/react-icons/lib/ti/calendar.d.ts b/types/react-icons/lib/ti/calendar.d.ts index 9b0ba315d5..85814900ba 100644 --- a/types/react-icons/lib/ti/calendar.d.ts +++ b/types/react-icons/lib/ti/calendar.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiCalendar extends React.Component<IconBaseProps> { } +declare class TiCalendar extends React.Component<IconBaseProps> { } +export = TiCalendar; diff --git a/types/react-icons/lib/ti/calender-outline.d.ts b/types/react-icons/lib/ti/calender-outline.d.ts index 8afcb4ef62..677982952a 100644 --- a/types/react-icons/lib/ti/calender-outline.d.ts +++ b/types/react-icons/lib/ti/calender-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiCalenderOutline extends React.Component<IconBaseProps> { } +declare class TiCalenderOutline extends React.Component<IconBaseProps> { } +export = TiCalenderOutline; diff --git a/types/react-icons/lib/ti/calender.d.ts b/types/react-icons/lib/ti/calender.d.ts index 0393fece08..17361d332e 100644 --- a/types/react-icons/lib/ti/calender.d.ts +++ b/types/react-icons/lib/ti/calender.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiCalender extends React.Component<IconBaseProps> { } +declare class TiCalender extends React.Component<IconBaseProps> { } +export = TiCalender; diff --git a/types/react-icons/lib/ti/camera-outline.d.ts b/types/react-icons/lib/ti/camera-outline.d.ts index 940ba3bd58..9b7f91566e 100644 --- a/types/react-icons/lib/ti/camera-outline.d.ts +++ b/types/react-icons/lib/ti/camera-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiCameraOutline extends React.Component<IconBaseProps> { } +declare class TiCameraOutline extends React.Component<IconBaseProps> { } +export = TiCameraOutline; diff --git a/types/react-icons/lib/ti/camera.d.ts b/types/react-icons/lib/ti/camera.d.ts index 8291efbd7d..ce19562cd3 100644 --- a/types/react-icons/lib/ti/camera.d.ts +++ b/types/react-icons/lib/ti/camera.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiCamera extends React.Component<IconBaseProps> { } +declare class TiCamera extends React.Component<IconBaseProps> { } +export = TiCamera; diff --git a/types/react-icons/lib/ti/cancel-outline.d.ts b/types/react-icons/lib/ti/cancel-outline.d.ts index 233d7b4b9b..3348e9084f 100644 --- a/types/react-icons/lib/ti/cancel-outline.d.ts +++ b/types/react-icons/lib/ti/cancel-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiCancelOutline extends React.Component<IconBaseProps> { } +declare class TiCancelOutline extends React.Component<IconBaseProps> { } +export = TiCancelOutline; diff --git a/types/react-icons/lib/ti/cancel.d.ts b/types/react-icons/lib/ti/cancel.d.ts index 882317d054..b03938e450 100644 --- a/types/react-icons/lib/ti/cancel.d.ts +++ b/types/react-icons/lib/ti/cancel.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiCancel extends React.Component<IconBaseProps> { } +declare class TiCancel extends React.Component<IconBaseProps> { } +export = TiCancel; diff --git a/types/react-icons/lib/ti/chart-area-outline.d.ts b/types/react-icons/lib/ti/chart-area-outline.d.ts index fa40a08cde..ce75645beb 100644 --- a/types/react-icons/lib/ti/chart-area-outline.d.ts +++ b/types/react-icons/lib/ti/chart-area-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiChartAreaOutline extends React.Component<IconBaseProps> { } +declare class TiChartAreaOutline extends React.Component<IconBaseProps> { } +export = TiChartAreaOutline; diff --git a/types/react-icons/lib/ti/chart-area.d.ts b/types/react-icons/lib/ti/chart-area.d.ts index 80806cbd7c..027f2c9c82 100644 --- a/types/react-icons/lib/ti/chart-area.d.ts +++ b/types/react-icons/lib/ti/chart-area.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiChartArea extends React.Component<IconBaseProps> { } +declare class TiChartArea extends React.Component<IconBaseProps> { } +export = TiChartArea; diff --git a/types/react-icons/lib/ti/chart-bar-outline.d.ts b/types/react-icons/lib/ti/chart-bar-outline.d.ts index 9ec3c4ca70..393e0e0423 100644 --- a/types/react-icons/lib/ti/chart-bar-outline.d.ts +++ b/types/react-icons/lib/ti/chart-bar-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiChartBarOutline extends React.Component<IconBaseProps> { } +declare class TiChartBarOutline extends React.Component<IconBaseProps> { } +export = TiChartBarOutline; diff --git a/types/react-icons/lib/ti/chart-bar.d.ts b/types/react-icons/lib/ti/chart-bar.d.ts index a98da7fe10..7fa03c097e 100644 --- a/types/react-icons/lib/ti/chart-bar.d.ts +++ b/types/react-icons/lib/ti/chart-bar.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiChartBar extends React.Component<IconBaseProps> { } +declare class TiChartBar extends React.Component<IconBaseProps> { } +export = TiChartBar; diff --git a/types/react-icons/lib/ti/chart-line-outline.d.ts b/types/react-icons/lib/ti/chart-line-outline.d.ts index f5a982d0f1..6b8b6bc7b6 100644 --- a/types/react-icons/lib/ti/chart-line-outline.d.ts +++ b/types/react-icons/lib/ti/chart-line-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiChartLineOutline extends React.Component<IconBaseProps> { } +declare class TiChartLineOutline extends React.Component<IconBaseProps> { } +export = TiChartLineOutline; diff --git a/types/react-icons/lib/ti/chart-line.d.ts b/types/react-icons/lib/ti/chart-line.d.ts index be581f2b53..15f6f776e9 100644 --- a/types/react-icons/lib/ti/chart-line.d.ts +++ b/types/react-icons/lib/ti/chart-line.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiChartLine extends React.Component<IconBaseProps> { } +declare class TiChartLine extends React.Component<IconBaseProps> { } +export = TiChartLine; diff --git a/types/react-icons/lib/ti/chart-pie-outline.d.ts b/types/react-icons/lib/ti/chart-pie-outline.d.ts index 449d799a79..556c2055ff 100644 --- a/types/react-icons/lib/ti/chart-pie-outline.d.ts +++ b/types/react-icons/lib/ti/chart-pie-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiChartPieOutline extends React.Component<IconBaseProps> { } +declare class TiChartPieOutline extends React.Component<IconBaseProps> { } +export = TiChartPieOutline; diff --git a/types/react-icons/lib/ti/chart-pie.d.ts b/types/react-icons/lib/ti/chart-pie.d.ts index 5a641290fb..98481fb073 100644 --- a/types/react-icons/lib/ti/chart-pie.d.ts +++ b/types/react-icons/lib/ti/chart-pie.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiChartPie extends React.Component<IconBaseProps> { } +declare class TiChartPie extends React.Component<IconBaseProps> { } +export = TiChartPie; diff --git a/types/react-icons/lib/ti/chevron-left-outline.d.ts b/types/react-icons/lib/ti/chevron-left-outline.d.ts index 38ad9ab531..186347dc7c 100644 --- a/types/react-icons/lib/ti/chevron-left-outline.d.ts +++ b/types/react-icons/lib/ti/chevron-left-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiChevronLeftOutline extends React.Component<IconBaseProps> { } +declare class TiChevronLeftOutline extends React.Component<IconBaseProps> { } +export = TiChevronLeftOutline; diff --git a/types/react-icons/lib/ti/chevron-left.d.ts b/types/react-icons/lib/ti/chevron-left.d.ts index d6a3e7286c..ed66b40517 100644 --- a/types/react-icons/lib/ti/chevron-left.d.ts +++ b/types/react-icons/lib/ti/chevron-left.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiChevronLeft extends React.Component<IconBaseProps> { } +declare class TiChevronLeft extends React.Component<IconBaseProps> { } +export = TiChevronLeft; diff --git a/types/react-icons/lib/ti/chevron-right-outline.d.ts b/types/react-icons/lib/ti/chevron-right-outline.d.ts index 09cc6370fd..f07fdf42a0 100644 --- a/types/react-icons/lib/ti/chevron-right-outline.d.ts +++ b/types/react-icons/lib/ti/chevron-right-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiChevronRightOutline extends React.Component<IconBaseProps> { } +declare class TiChevronRightOutline extends React.Component<IconBaseProps> { } +export = TiChevronRightOutline; diff --git a/types/react-icons/lib/ti/chevron-right.d.ts b/types/react-icons/lib/ti/chevron-right.d.ts index 311697c66a..7241aad18d 100644 --- a/types/react-icons/lib/ti/chevron-right.d.ts +++ b/types/react-icons/lib/ti/chevron-right.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiChevronRight extends React.Component<IconBaseProps> { } +declare class TiChevronRight extends React.Component<IconBaseProps> { } +export = TiChevronRight; diff --git a/types/react-icons/lib/ti/clipboard.d.ts b/types/react-icons/lib/ti/clipboard.d.ts index cce73b1bc7..62288a86d3 100644 --- a/types/react-icons/lib/ti/clipboard.d.ts +++ b/types/react-icons/lib/ti/clipboard.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiClipboard extends React.Component<IconBaseProps> { } +declare class TiClipboard extends React.Component<IconBaseProps> { } +export = TiClipboard; diff --git a/types/react-icons/lib/ti/cloud-storage-outline.d.ts b/types/react-icons/lib/ti/cloud-storage-outline.d.ts index d36a07cdb6..64b3ac5957 100644 --- a/types/react-icons/lib/ti/cloud-storage-outline.d.ts +++ b/types/react-icons/lib/ti/cloud-storage-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiCloudStorageOutline extends React.Component<IconBaseProps> { } +declare class TiCloudStorageOutline extends React.Component<IconBaseProps> { } +export = TiCloudStorageOutline; diff --git a/types/react-icons/lib/ti/cloud-storage.d.ts b/types/react-icons/lib/ti/cloud-storage.d.ts index 45142999f9..0d31048b85 100644 --- a/types/react-icons/lib/ti/cloud-storage.d.ts +++ b/types/react-icons/lib/ti/cloud-storage.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiCloudStorage extends React.Component<IconBaseProps> { } +declare class TiCloudStorage extends React.Component<IconBaseProps> { } +export = TiCloudStorage; diff --git a/types/react-icons/lib/ti/code-outline.d.ts b/types/react-icons/lib/ti/code-outline.d.ts index f7c2eec174..21dbe7a108 100644 --- a/types/react-icons/lib/ti/code-outline.d.ts +++ b/types/react-icons/lib/ti/code-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiCodeOutline extends React.Component<IconBaseProps> { } +declare class TiCodeOutline extends React.Component<IconBaseProps> { } +export = TiCodeOutline; diff --git a/types/react-icons/lib/ti/code.d.ts b/types/react-icons/lib/ti/code.d.ts index e6bf302269..4c23671d20 100644 --- a/types/react-icons/lib/ti/code.d.ts +++ b/types/react-icons/lib/ti/code.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiCode extends React.Component<IconBaseProps> { } +declare class TiCode extends React.Component<IconBaseProps> { } +export = TiCode; diff --git a/types/react-icons/lib/ti/coffee.d.ts b/types/react-icons/lib/ti/coffee.d.ts index df3aa18694..af57c5d5ee 100644 --- a/types/react-icons/lib/ti/coffee.d.ts +++ b/types/react-icons/lib/ti/coffee.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiCoffee extends React.Component<IconBaseProps> { } +declare class TiCoffee extends React.Component<IconBaseProps> { } +export = TiCoffee; diff --git a/types/react-icons/lib/ti/cog-outline.d.ts b/types/react-icons/lib/ti/cog-outline.d.ts index 40c76991c5..9d528d69a6 100644 --- a/types/react-icons/lib/ti/cog-outline.d.ts +++ b/types/react-icons/lib/ti/cog-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiCogOutline extends React.Component<IconBaseProps> { } +declare class TiCogOutline extends React.Component<IconBaseProps> { } +export = TiCogOutline; diff --git a/types/react-icons/lib/ti/cog.d.ts b/types/react-icons/lib/ti/cog.d.ts index 24573b9291..5f93130bf6 100644 --- a/types/react-icons/lib/ti/cog.d.ts +++ b/types/react-icons/lib/ti/cog.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiCog extends React.Component<IconBaseProps> { } +declare class TiCog extends React.Component<IconBaseProps> { } +export = TiCog; diff --git a/types/react-icons/lib/ti/compass.d.ts b/types/react-icons/lib/ti/compass.d.ts index 54c70bee8b..82578c6f74 100644 --- a/types/react-icons/lib/ti/compass.d.ts +++ b/types/react-icons/lib/ti/compass.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiCompass extends React.Component<IconBaseProps> { } +declare class TiCompass extends React.Component<IconBaseProps> { } +export = TiCompass; diff --git a/types/react-icons/lib/ti/contacts.d.ts b/types/react-icons/lib/ti/contacts.d.ts index f780e8ca9c..0637be6296 100644 --- a/types/react-icons/lib/ti/contacts.d.ts +++ b/types/react-icons/lib/ti/contacts.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiContacts extends React.Component<IconBaseProps> { } +declare class TiContacts extends React.Component<IconBaseProps> { } +export = TiContacts; diff --git a/types/react-icons/lib/ti/credit-card.d.ts b/types/react-icons/lib/ti/credit-card.d.ts index 2f05b56233..42f823b564 100644 --- a/types/react-icons/lib/ti/credit-card.d.ts +++ b/types/react-icons/lib/ti/credit-card.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiCreditCard extends React.Component<IconBaseProps> { } +declare class TiCreditCard extends React.Component<IconBaseProps> { } +export = TiCreditCard; diff --git a/types/react-icons/lib/ti/cross.d.ts b/types/react-icons/lib/ti/cross.d.ts index 5af003cf93..4243dc886f 100644 --- a/types/react-icons/lib/ti/cross.d.ts +++ b/types/react-icons/lib/ti/cross.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiCross extends React.Component<IconBaseProps> { } +declare class TiCross extends React.Component<IconBaseProps> { } +export = TiCross; diff --git a/types/react-icons/lib/ti/css3.d.ts b/types/react-icons/lib/ti/css3.d.ts index 00e79bcbce..32febf6f6b 100644 --- a/types/react-icons/lib/ti/css3.d.ts +++ b/types/react-icons/lib/ti/css3.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiCss3 extends React.Component<IconBaseProps> { } +declare class TiCss3 extends React.Component<IconBaseProps> { } +export = TiCss3; diff --git a/types/react-icons/lib/ti/database.d.ts b/types/react-icons/lib/ti/database.d.ts index 65dccc441f..68373db2cf 100644 --- a/types/react-icons/lib/ti/database.d.ts +++ b/types/react-icons/lib/ti/database.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiDatabase extends React.Component<IconBaseProps> { } +declare class TiDatabase extends React.Component<IconBaseProps> { } +export = TiDatabase; diff --git a/types/react-icons/lib/ti/delete-outline.d.ts b/types/react-icons/lib/ti/delete-outline.d.ts index bf27aa49f9..04cd5ed456 100644 --- a/types/react-icons/lib/ti/delete-outline.d.ts +++ b/types/react-icons/lib/ti/delete-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiDeleteOutline extends React.Component<IconBaseProps> { } +declare class TiDeleteOutline extends React.Component<IconBaseProps> { } +export = TiDeleteOutline; diff --git a/types/react-icons/lib/ti/delete.d.ts b/types/react-icons/lib/ti/delete.d.ts index 57791a71ab..8979d845c3 100644 --- a/types/react-icons/lib/ti/delete.d.ts +++ b/types/react-icons/lib/ti/delete.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiDelete extends React.Component<IconBaseProps> { } +declare class TiDelete extends React.Component<IconBaseProps> { } +export = TiDelete; diff --git a/types/react-icons/lib/ti/device-desktop.d.ts b/types/react-icons/lib/ti/device-desktop.d.ts index d405810142..e4243a2c7e 100644 --- a/types/react-icons/lib/ti/device-desktop.d.ts +++ b/types/react-icons/lib/ti/device-desktop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiDeviceDesktop extends React.Component<IconBaseProps> { } +declare class TiDeviceDesktop extends React.Component<IconBaseProps> { } +export = TiDeviceDesktop; diff --git a/types/react-icons/lib/ti/device-laptop.d.ts b/types/react-icons/lib/ti/device-laptop.d.ts index dada29c74f..09b5e11260 100644 --- a/types/react-icons/lib/ti/device-laptop.d.ts +++ b/types/react-icons/lib/ti/device-laptop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiDeviceLaptop extends React.Component<IconBaseProps> { } +declare class TiDeviceLaptop extends React.Component<IconBaseProps> { } +export = TiDeviceLaptop; diff --git a/types/react-icons/lib/ti/device-phone.d.ts b/types/react-icons/lib/ti/device-phone.d.ts index 977cf3f0f1..4f926184c3 100644 --- a/types/react-icons/lib/ti/device-phone.d.ts +++ b/types/react-icons/lib/ti/device-phone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiDevicePhone extends React.Component<IconBaseProps> { } +declare class TiDevicePhone extends React.Component<IconBaseProps> { } +export = TiDevicePhone; diff --git a/types/react-icons/lib/ti/device-tablet.d.ts b/types/react-icons/lib/ti/device-tablet.d.ts index 06a9e07cca..6a3a636ca0 100644 --- a/types/react-icons/lib/ti/device-tablet.d.ts +++ b/types/react-icons/lib/ti/device-tablet.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiDeviceTablet extends React.Component<IconBaseProps> { } +declare class TiDeviceTablet extends React.Component<IconBaseProps> { } +export = TiDeviceTablet; diff --git a/types/react-icons/lib/ti/directions.d.ts b/types/react-icons/lib/ti/directions.d.ts index 3be0928f95..f7cc86becb 100644 --- a/types/react-icons/lib/ti/directions.d.ts +++ b/types/react-icons/lib/ti/directions.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiDirections extends React.Component<IconBaseProps> { } +declare class TiDirections extends React.Component<IconBaseProps> { } +export = TiDirections; diff --git a/types/react-icons/lib/ti/divide-outline.d.ts b/types/react-icons/lib/ti/divide-outline.d.ts index 9b30f64d2d..e19ab3654b 100644 --- a/types/react-icons/lib/ti/divide-outline.d.ts +++ b/types/react-icons/lib/ti/divide-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiDivideOutline extends React.Component<IconBaseProps> { } +declare class TiDivideOutline extends React.Component<IconBaseProps> { } +export = TiDivideOutline; diff --git a/types/react-icons/lib/ti/divide.d.ts b/types/react-icons/lib/ti/divide.d.ts index 375a79b628..c82f0439fe 100644 --- a/types/react-icons/lib/ti/divide.d.ts +++ b/types/react-icons/lib/ti/divide.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiDivide extends React.Component<IconBaseProps> { } +declare class TiDivide extends React.Component<IconBaseProps> { } +export = TiDivide; diff --git a/types/react-icons/lib/ti/document-add.d.ts b/types/react-icons/lib/ti/document-add.d.ts index 0b2ed20d5c..68bc331e15 100644 --- a/types/react-icons/lib/ti/document-add.d.ts +++ b/types/react-icons/lib/ti/document-add.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiDocumentAdd extends React.Component<IconBaseProps> { } +declare class TiDocumentAdd extends React.Component<IconBaseProps> { } +export = TiDocumentAdd; diff --git a/types/react-icons/lib/ti/document-delete.d.ts b/types/react-icons/lib/ti/document-delete.d.ts index 916608ade9..a3d444052e 100644 --- a/types/react-icons/lib/ti/document-delete.d.ts +++ b/types/react-icons/lib/ti/document-delete.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiDocumentDelete extends React.Component<IconBaseProps> { } +declare class TiDocumentDelete extends React.Component<IconBaseProps> { } +export = TiDocumentDelete; diff --git a/types/react-icons/lib/ti/document-text.d.ts b/types/react-icons/lib/ti/document-text.d.ts index c3af80ad89..3cad0fe733 100644 --- a/types/react-icons/lib/ti/document-text.d.ts +++ b/types/react-icons/lib/ti/document-text.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiDocumentText extends React.Component<IconBaseProps> { } +declare class TiDocumentText extends React.Component<IconBaseProps> { } +export = TiDocumentText; diff --git a/types/react-icons/lib/ti/document.d.ts b/types/react-icons/lib/ti/document.d.ts index 60ace2ba35..749a51cde8 100644 --- a/types/react-icons/lib/ti/document.d.ts +++ b/types/react-icons/lib/ti/document.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiDocument extends React.Component<IconBaseProps> { } +declare class TiDocument extends React.Component<IconBaseProps> { } +export = TiDocument; diff --git a/types/react-icons/lib/ti/download-outline.d.ts b/types/react-icons/lib/ti/download-outline.d.ts index b405ad061c..cc0849bce2 100644 --- a/types/react-icons/lib/ti/download-outline.d.ts +++ b/types/react-icons/lib/ti/download-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiDownloadOutline extends React.Component<IconBaseProps> { } +declare class TiDownloadOutline extends React.Component<IconBaseProps> { } +export = TiDownloadOutline; diff --git a/types/react-icons/lib/ti/download.d.ts b/types/react-icons/lib/ti/download.d.ts index 6cf13f385b..6563ae7a26 100644 --- a/types/react-icons/lib/ti/download.d.ts +++ b/types/react-icons/lib/ti/download.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiDownload extends React.Component<IconBaseProps> { } +declare class TiDownload extends React.Component<IconBaseProps> { } +export = TiDownload; diff --git a/types/react-icons/lib/ti/dropbox.d.ts b/types/react-icons/lib/ti/dropbox.d.ts index 000560becf..8850b30638 100644 --- a/types/react-icons/lib/ti/dropbox.d.ts +++ b/types/react-icons/lib/ti/dropbox.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiDropbox extends React.Component<IconBaseProps> { } +declare class TiDropbox extends React.Component<IconBaseProps> { } +export = TiDropbox; diff --git a/types/react-icons/lib/ti/edit.d.ts b/types/react-icons/lib/ti/edit.d.ts index 7a937ccd2a..cb3548a8d7 100644 --- a/types/react-icons/lib/ti/edit.d.ts +++ b/types/react-icons/lib/ti/edit.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiEdit extends React.Component<IconBaseProps> { } +declare class TiEdit extends React.Component<IconBaseProps> { } +export = TiEdit; diff --git a/types/react-icons/lib/ti/eject-outline.d.ts b/types/react-icons/lib/ti/eject-outline.d.ts index be15038312..995b0223ed 100644 --- a/types/react-icons/lib/ti/eject-outline.d.ts +++ b/types/react-icons/lib/ti/eject-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiEjectOutline extends React.Component<IconBaseProps> { } +declare class TiEjectOutline extends React.Component<IconBaseProps> { } +export = TiEjectOutline; diff --git a/types/react-icons/lib/ti/eject.d.ts b/types/react-icons/lib/ti/eject.d.ts index 3ad5cda1c4..ce559832ff 100644 --- a/types/react-icons/lib/ti/eject.d.ts +++ b/types/react-icons/lib/ti/eject.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiEject extends React.Component<IconBaseProps> { } +declare class TiEject extends React.Component<IconBaseProps> { } +export = TiEject; diff --git a/types/react-icons/lib/ti/equals-outline.d.ts b/types/react-icons/lib/ti/equals-outline.d.ts index 04e77346cc..838e47165e 100644 --- a/types/react-icons/lib/ti/equals-outline.d.ts +++ b/types/react-icons/lib/ti/equals-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiEqualsOutline extends React.Component<IconBaseProps> { } +declare class TiEqualsOutline extends React.Component<IconBaseProps> { } +export = TiEqualsOutline; diff --git a/types/react-icons/lib/ti/equals.d.ts b/types/react-icons/lib/ti/equals.d.ts index 231585549c..9b4f2fabeb 100644 --- a/types/react-icons/lib/ti/equals.d.ts +++ b/types/react-icons/lib/ti/equals.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiEquals extends React.Component<IconBaseProps> { } +declare class TiEquals extends React.Component<IconBaseProps> { } +export = TiEquals; diff --git a/types/react-icons/lib/ti/export-outline.d.ts b/types/react-icons/lib/ti/export-outline.d.ts index 4d51c29d1a..ba24ea3d30 100644 --- a/types/react-icons/lib/ti/export-outline.d.ts +++ b/types/react-icons/lib/ti/export-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiExportOutline extends React.Component<IconBaseProps> { } +declare class TiExportOutline extends React.Component<IconBaseProps> { } +export = TiExportOutline; diff --git a/types/react-icons/lib/ti/export.d.ts b/types/react-icons/lib/ti/export.d.ts index fe71d72677..62d2335260 100644 --- a/types/react-icons/lib/ti/export.d.ts +++ b/types/react-icons/lib/ti/export.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiExport extends React.Component<IconBaseProps> { } +declare class TiExport extends React.Component<IconBaseProps> { } +export = TiExport; diff --git a/types/react-icons/lib/ti/eye-outline.d.ts b/types/react-icons/lib/ti/eye-outline.d.ts index 1956f13f4d..201e798391 100644 --- a/types/react-icons/lib/ti/eye-outline.d.ts +++ b/types/react-icons/lib/ti/eye-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiEyeOutline extends React.Component<IconBaseProps> { } +declare class TiEyeOutline extends React.Component<IconBaseProps> { } +export = TiEyeOutline; diff --git a/types/react-icons/lib/ti/eye.d.ts b/types/react-icons/lib/ti/eye.d.ts index 810fdf7009..0c6a684b88 100644 --- a/types/react-icons/lib/ti/eye.d.ts +++ b/types/react-icons/lib/ti/eye.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiEye extends React.Component<IconBaseProps> { } +declare class TiEye extends React.Component<IconBaseProps> { } +export = TiEye; diff --git a/types/react-icons/lib/ti/feather.d.ts b/types/react-icons/lib/ti/feather.d.ts index b4a99ba3ec..4e6c4e1080 100644 --- a/types/react-icons/lib/ti/feather.d.ts +++ b/types/react-icons/lib/ti/feather.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiFeather extends React.Component<IconBaseProps> { } +declare class TiFeather extends React.Component<IconBaseProps> { } +export = TiFeather; diff --git a/types/react-icons/lib/ti/film.d.ts b/types/react-icons/lib/ti/film.d.ts index a035c6378d..f039b84056 100644 --- a/types/react-icons/lib/ti/film.d.ts +++ b/types/react-icons/lib/ti/film.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiFilm extends React.Component<IconBaseProps> { } +declare class TiFilm extends React.Component<IconBaseProps> { } +export = TiFilm; diff --git a/types/react-icons/lib/ti/filter.d.ts b/types/react-icons/lib/ti/filter.d.ts index f806a9034b..9e42eece1f 100644 --- a/types/react-icons/lib/ti/filter.d.ts +++ b/types/react-icons/lib/ti/filter.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiFilter extends React.Component<IconBaseProps> { } +declare class TiFilter extends React.Component<IconBaseProps> { } +export = TiFilter; diff --git a/types/react-icons/lib/ti/flag-outline.d.ts b/types/react-icons/lib/ti/flag-outline.d.ts index 164b221757..64a4c81bdd 100644 --- a/types/react-icons/lib/ti/flag-outline.d.ts +++ b/types/react-icons/lib/ti/flag-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiFlagOutline extends React.Component<IconBaseProps> { } +declare class TiFlagOutline extends React.Component<IconBaseProps> { } +export = TiFlagOutline; diff --git a/types/react-icons/lib/ti/flag.d.ts b/types/react-icons/lib/ti/flag.d.ts index 4aa2838c02..dab92b561d 100644 --- a/types/react-icons/lib/ti/flag.d.ts +++ b/types/react-icons/lib/ti/flag.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiFlag extends React.Component<IconBaseProps> { } +declare class TiFlag extends React.Component<IconBaseProps> { } +export = TiFlag; diff --git a/types/react-icons/lib/ti/flash-outline.d.ts b/types/react-icons/lib/ti/flash-outline.d.ts index 5acea29381..8889cf52ba 100644 --- a/types/react-icons/lib/ti/flash-outline.d.ts +++ b/types/react-icons/lib/ti/flash-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiFlashOutline extends React.Component<IconBaseProps> { } +declare class TiFlashOutline extends React.Component<IconBaseProps> { } +export = TiFlashOutline; diff --git a/types/react-icons/lib/ti/flash.d.ts b/types/react-icons/lib/ti/flash.d.ts index 27bbe63a9d..15a2371754 100644 --- a/types/react-icons/lib/ti/flash.d.ts +++ b/types/react-icons/lib/ti/flash.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiFlash extends React.Component<IconBaseProps> { } +declare class TiFlash extends React.Component<IconBaseProps> { } +export = TiFlash; diff --git a/types/react-icons/lib/ti/flow-children.d.ts b/types/react-icons/lib/ti/flow-children.d.ts index 8e3a8a9246..f46b1c165a 100644 --- a/types/react-icons/lib/ti/flow-children.d.ts +++ b/types/react-icons/lib/ti/flow-children.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiFlowChildren extends React.Component<IconBaseProps> { } +declare class TiFlowChildren extends React.Component<IconBaseProps> { } +export = TiFlowChildren; diff --git a/types/react-icons/lib/ti/flow-merge.d.ts b/types/react-icons/lib/ti/flow-merge.d.ts index c479b08b53..05a81557f6 100644 --- a/types/react-icons/lib/ti/flow-merge.d.ts +++ b/types/react-icons/lib/ti/flow-merge.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiFlowMerge extends React.Component<IconBaseProps> { } +declare class TiFlowMerge extends React.Component<IconBaseProps> { } +export = TiFlowMerge; diff --git a/types/react-icons/lib/ti/flow-parallel.d.ts b/types/react-icons/lib/ti/flow-parallel.d.ts index 4ed94844fc..fa1cd1c5e7 100644 --- a/types/react-icons/lib/ti/flow-parallel.d.ts +++ b/types/react-icons/lib/ti/flow-parallel.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiFlowParallel extends React.Component<IconBaseProps> { } +declare class TiFlowParallel extends React.Component<IconBaseProps> { } +export = TiFlowParallel; diff --git a/types/react-icons/lib/ti/flow-switch.d.ts b/types/react-icons/lib/ti/flow-switch.d.ts index 8a68f856fa..a8930e363e 100644 --- a/types/react-icons/lib/ti/flow-switch.d.ts +++ b/types/react-icons/lib/ti/flow-switch.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiFlowSwitch extends React.Component<IconBaseProps> { } +declare class TiFlowSwitch extends React.Component<IconBaseProps> { } +export = TiFlowSwitch; diff --git a/types/react-icons/lib/ti/folder-add.d.ts b/types/react-icons/lib/ti/folder-add.d.ts index 83a709521a..82ec1b52ef 100644 --- a/types/react-icons/lib/ti/folder-add.d.ts +++ b/types/react-icons/lib/ti/folder-add.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiFolderAdd extends React.Component<IconBaseProps> { } +declare class TiFolderAdd extends React.Component<IconBaseProps> { } +export = TiFolderAdd; diff --git a/types/react-icons/lib/ti/folder-delete.d.ts b/types/react-icons/lib/ti/folder-delete.d.ts index bf96e60c12..5792a710ef 100644 --- a/types/react-icons/lib/ti/folder-delete.d.ts +++ b/types/react-icons/lib/ti/folder-delete.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiFolderDelete extends React.Component<IconBaseProps> { } +declare class TiFolderDelete extends React.Component<IconBaseProps> { } +export = TiFolderDelete; diff --git a/types/react-icons/lib/ti/folder-open.d.ts b/types/react-icons/lib/ti/folder-open.d.ts index 3c0f2ab47f..3cc472d927 100644 --- a/types/react-icons/lib/ti/folder-open.d.ts +++ b/types/react-icons/lib/ti/folder-open.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiFolderOpen extends React.Component<IconBaseProps> { } +declare class TiFolderOpen extends React.Component<IconBaseProps> { } +export = TiFolderOpen; diff --git a/types/react-icons/lib/ti/folder.d.ts b/types/react-icons/lib/ti/folder.d.ts index b12e97b6c3..2adf29f6cb 100644 --- a/types/react-icons/lib/ti/folder.d.ts +++ b/types/react-icons/lib/ti/folder.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiFolder extends React.Component<IconBaseProps> { } +declare class TiFolder extends React.Component<IconBaseProps> { } +export = TiFolder; diff --git a/types/react-icons/lib/ti/gift.d.ts b/types/react-icons/lib/ti/gift.d.ts index 25e13a5038..adf2047b6e 100644 --- a/types/react-icons/lib/ti/gift.d.ts +++ b/types/react-icons/lib/ti/gift.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiGift extends React.Component<IconBaseProps> { } +declare class TiGift extends React.Component<IconBaseProps> { } +export = TiGift; diff --git a/types/react-icons/lib/ti/globe-outline.d.ts b/types/react-icons/lib/ti/globe-outline.d.ts index ee4d8cbb6b..9fbd792aa0 100644 --- a/types/react-icons/lib/ti/globe-outline.d.ts +++ b/types/react-icons/lib/ti/globe-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiGlobeOutline extends React.Component<IconBaseProps> { } +declare class TiGlobeOutline extends React.Component<IconBaseProps> { } +export = TiGlobeOutline; diff --git a/types/react-icons/lib/ti/globe.d.ts b/types/react-icons/lib/ti/globe.d.ts index 30912a9f17..65fcd995e4 100644 --- a/types/react-icons/lib/ti/globe.d.ts +++ b/types/react-icons/lib/ti/globe.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiGlobe extends React.Component<IconBaseProps> { } +declare class TiGlobe extends React.Component<IconBaseProps> { } +export = TiGlobe; diff --git a/types/react-icons/lib/ti/group-outline.d.ts b/types/react-icons/lib/ti/group-outline.d.ts index 621001d90e..ca11421d20 100644 --- a/types/react-icons/lib/ti/group-outline.d.ts +++ b/types/react-icons/lib/ti/group-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiGroupOutline extends React.Component<IconBaseProps> { } +declare class TiGroupOutline extends React.Component<IconBaseProps> { } +export = TiGroupOutline; diff --git a/types/react-icons/lib/ti/group.d.ts b/types/react-icons/lib/ti/group.d.ts index bb5fcf8559..ee7b592305 100644 --- a/types/react-icons/lib/ti/group.d.ts +++ b/types/react-icons/lib/ti/group.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiGroup extends React.Component<IconBaseProps> { } +declare class TiGroup extends React.Component<IconBaseProps> { } +export = TiGroup; diff --git a/types/react-icons/lib/ti/headphones.d.ts b/types/react-icons/lib/ti/headphones.d.ts index 90fb1a083f..372afd24ba 100644 --- a/types/react-icons/lib/ti/headphones.d.ts +++ b/types/react-icons/lib/ti/headphones.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiHeadphones extends React.Component<IconBaseProps> { } +declare class TiHeadphones extends React.Component<IconBaseProps> { } +export = TiHeadphones; diff --git a/types/react-icons/lib/ti/heart-full-outline.d.ts b/types/react-icons/lib/ti/heart-full-outline.d.ts index 8153a02133..959500f330 100644 --- a/types/react-icons/lib/ti/heart-full-outline.d.ts +++ b/types/react-icons/lib/ti/heart-full-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiHeartFullOutline extends React.Component<IconBaseProps> { } +declare class TiHeartFullOutline extends React.Component<IconBaseProps> { } +export = TiHeartFullOutline; diff --git a/types/react-icons/lib/ti/heart-half-outline.d.ts b/types/react-icons/lib/ti/heart-half-outline.d.ts index 9d7482079f..d071493105 100644 --- a/types/react-icons/lib/ti/heart-half-outline.d.ts +++ b/types/react-icons/lib/ti/heart-half-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiHeartHalfOutline extends React.Component<IconBaseProps> { } +declare class TiHeartHalfOutline extends React.Component<IconBaseProps> { } +export = TiHeartHalfOutline; diff --git a/types/react-icons/lib/ti/heart-outline.d.ts b/types/react-icons/lib/ti/heart-outline.d.ts index 77ebb5ba4d..dc19876c98 100644 --- a/types/react-icons/lib/ti/heart-outline.d.ts +++ b/types/react-icons/lib/ti/heart-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiHeartOutline extends React.Component<IconBaseProps> { } +declare class TiHeartOutline extends React.Component<IconBaseProps> { } +export = TiHeartOutline; diff --git a/types/react-icons/lib/ti/heart.d.ts b/types/react-icons/lib/ti/heart.d.ts index edf26ea22d..1c16a9e4d7 100644 --- a/types/react-icons/lib/ti/heart.d.ts +++ b/types/react-icons/lib/ti/heart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiHeart extends React.Component<IconBaseProps> { } +declare class TiHeart extends React.Component<IconBaseProps> { } +export = TiHeart; diff --git a/types/react-icons/lib/ti/home-outline.d.ts b/types/react-icons/lib/ti/home-outline.d.ts index aba8177146..c8caac4085 100644 --- a/types/react-icons/lib/ti/home-outline.d.ts +++ b/types/react-icons/lib/ti/home-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiHomeOutline extends React.Component<IconBaseProps> { } +declare class TiHomeOutline extends React.Component<IconBaseProps> { } +export = TiHomeOutline; diff --git a/types/react-icons/lib/ti/home.d.ts b/types/react-icons/lib/ti/home.d.ts index ffd2e0a744..0f26a83396 100644 --- a/types/react-icons/lib/ti/home.d.ts +++ b/types/react-icons/lib/ti/home.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiHome extends React.Component<IconBaseProps> { } +declare class TiHome extends React.Component<IconBaseProps> { } +export = TiHome; diff --git a/types/react-icons/lib/ti/html5.d.ts b/types/react-icons/lib/ti/html5.d.ts index 7850028128..9e3002c65e 100644 --- a/types/react-icons/lib/ti/html5.d.ts +++ b/types/react-icons/lib/ti/html5.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiHtml5 extends React.Component<IconBaseProps> { } +declare class TiHtml5 extends React.Component<IconBaseProps> { } +export = TiHtml5; diff --git a/types/react-icons/lib/ti/image-outline.d.ts b/types/react-icons/lib/ti/image-outline.d.ts index e8dabff924..478d9a15e4 100644 --- a/types/react-icons/lib/ti/image-outline.d.ts +++ b/types/react-icons/lib/ti/image-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiImageOutline extends React.Component<IconBaseProps> { } +declare class TiImageOutline extends React.Component<IconBaseProps> { } +export = TiImageOutline; diff --git a/types/react-icons/lib/ti/image.d.ts b/types/react-icons/lib/ti/image.d.ts index f33b613d66..abe02ba9d1 100644 --- a/types/react-icons/lib/ti/image.d.ts +++ b/types/react-icons/lib/ti/image.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiImage extends React.Component<IconBaseProps> { } +declare class TiImage extends React.Component<IconBaseProps> { } +export = TiImage; diff --git a/types/react-icons/lib/ti/index.d.ts b/types/react-icons/lib/ti/index.d.ts index bbe2809f2e..42e1bff681 100644 --- a/types/react-icons/lib/ti/index.d.ts +++ b/types/react-icons/lib/ti/index.d.ts @@ -1,339 +1,339 @@ -export { default as TiAdjustBrightness } from "./adjust-brightness"; -export { default as TiAdjustContrast } from "./adjust-contrast"; -export { default as TiAnchorOutline } from "./anchor-outline"; -export { default as TiAnchor } from "./anchor"; -export { default as TiArchive } from "./archive"; -export { default as TiArrowBackOutline } from "./arrow-back-outline"; -export { default as TiArrowBack } from "./arrow-back"; -export { default as TiArrowDownOutline } from "./arrow-down-outline"; -export { default as TiArrowDownThick } from "./arrow-down-thick"; -export { default as TiArrowDown } from "./arrow-down"; -export { default as TiArrowForwardOutline } from "./arrow-forward-outline"; -export { default as TiArrowForward } from "./arrow-forward"; -export { default as TiArrowLeftOutline } from "./arrow-left-outline"; -export { default as TiArrowLeftThick } from "./arrow-left-thick"; -export { default as TiArrowLeft } from "./arrow-left"; -export { default as TiArrowLoopOutline } from "./arrow-loop-outline"; -export { default as TiArrowLoop } from "./arrow-loop"; -export { default as TiArrowMaximiseOutline } from "./arrow-maximise-outline"; -export { default as TiArrowMaximise } from "./arrow-maximise"; -export { default as TiArrowMinimiseOutline } from "./arrow-minimise-outline"; -export { default as TiArrowMinimise } from "./arrow-minimise"; -export { default as TiArrowMoveOutline } from "./arrow-move-outline"; -export { default as TiArrowMove } from "./arrow-move"; -export { default as TiArrowRepeatOutline } from "./arrow-repeat-outline"; -export { default as TiArrowRepeat } from "./arrow-repeat"; -export { default as TiArrowRightOutline } from "./arrow-right-outline"; -export { default as TiArrowRightThick } from "./arrow-right-thick"; -export { default as TiArrowRight } from "./arrow-right"; -export { default as TiArrowShuffle } from "./arrow-shuffle"; -export { default as TiArrowSortedDown } from "./arrow-sorted-down"; -export { default as TiArrowSortedUp } from "./arrow-sorted-up"; -export { default as TiArrowSyncOutline } from "./arrow-sync-outline"; -export { default as TiArrowSync } from "./arrow-sync"; -export { default as TiArrowUnsorted } from "./arrow-unsorted"; -export { default as TiArrowUpOutline } from "./arrow-up-outline"; -export { default as TiArrowUpThick } from "./arrow-up-thick"; -export { default as TiArrowUp } from "./arrow-up"; -export { default as TiAt } from "./at"; -export { default as TiAttachmentOutline } from "./attachment-outline"; -export { default as TiAttachment } from "./attachment"; -export { default as TiBackspaceOutline } from "./backspace-outline"; -export { default as TiBackspace } from "./backspace"; -export { default as TiBatteryCharge } from "./battery-charge"; -export { default as TiBatteryFull } from "./battery-full"; -export { default as TiBatteryHigh } from "./battery-high"; -export { default as TiBatteryLow } from "./battery-low"; -export { default as TiBatteryMid } from "./battery-mid"; -export { default as TiBeaker } from "./beaker"; -export { default as TiBeer } from "./beer"; -export { default as TiBell } from "./bell"; -export { default as TiBook } from "./book"; -export { default as TiBookmark } from "./bookmark"; -export { default as TiBriefcase } from "./briefcase"; -export { default as TiBrush } from "./brush"; -export { default as TiBusinessCard } from "./business-card"; -export { default as TiCalculator } from "./calculator"; -export { default as TiCalendarOutline } from "./calendar-outline"; -export { default as TiCalendar } from "./calendar"; -export { default as TiCalenderOutline } from "./calender-outline"; -export { default as TiCalender } from "./calender"; -export { default as TiCameraOutline } from "./camera-outline"; -export { default as TiCamera } from "./camera"; -export { default as TiCancelOutline } from "./cancel-outline"; -export { default as TiCancel } from "./cancel"; -export { default as TiChartAreaOutline } from "./chart-area-outline"; -export { default as TiChartArea } from "./chart-area"; -export { default as TiChartBarOutline } from "./chart-bar-outline"; -export { default as TiChartBar } from "./chart-bar"; -export { default as TiChartLineOutline } from "./chart-line-outline"; -export { default as TiChartLine } from "./chart-line"; -export { default as TiChartPieOutline } from "./chart-pie-outline"; -export { default as TiChartPie } from "./chart-pie"; -export { default as TiChevronLeftOutline } from "./chevron-left-outline"; -export { default as TiChevronLeft } from "./chevron-left"; -export { default as TiChevronRightOutline } from "./chevron-right-outline"; -export { default as TiChevronRight } from "./chevron-right"; -export { default as TiClipboard } from "./clipboard"; -export { default as TiCloudStorageOutline } from "./cloud-storage-outline"; -export { default as TiCloudStorage } from "./cloud-storage"; -export { default as TiCodeOutline } from "./code-outline"; -export { default as TiCode } from "./code"; -export { default as TiCoffee } from "./coffee"; -export { default as TiCogOutline } from "./cog-outline"; -export { default as TiCog } from "./cog"; -export { default as TiCompass } from "./compass"; -export { default as TiContacts } from "./contacts"; -export { default as TiCreditCard } from "./credit-card"; -export { default as TiCross } from "./cross"; -export { default as TiCss3 } from "./css3"; -export { default as TiDatabase } from "./database"; -export { default as TiDeleteOutline } from "./delete-outline"; -export { default as TiDelete } from "./delete"; -export { default as TiDeviceDesktop } from "./device-desktop"; -export { default as TiDeviceLaptop } from "./device-laptop"; -export { default as TiDevicePhone } from "./device-phone"; -export { default as TiDeviceTablet } from "./device-tablet"; -export { default as TiDirections } from "./directions"; -export { default as TiDivideOutline } from "./divide-outline"; -export { default as TiDivide } from "./divide"; -export { default as TiDocumentAdd } from "./document-add"; -export { default as TiDocumentDelete } from "./document-delete"; -export { default as TiDocumentText } from "./document-text"; -export { default as TiDocument } from "./document"; -export { default as TiDownloadOutline } from "./download-outline"; -export { default as TiDownload } from "./download"; -export { default as TiDropbox } from "./dropbox"; -export { default as TiEdit } from "./edit"; -export { default as TiEjectOutline } from "./eject-outline"; -export { default as TiEject } from "./eject"; -export { default as TiEqualsOutline } from "./equals-outline"; -export { default as TiEquals } from "./equals"; -export { default as TiExportOutline } from "./export-outline"; -export { default as TiExport } from "./export"; -export { default as TiEyeOutline } from "./eye-outline"; -export { default as TiEye } from "./eye"; -export { default as TiFeather } from "./feather"; -export { default as TiFilm } from "./film"; -export { default as TiFilter } from "./filter"; -export { default as TiFlagOutline } from "./flag-outline"; -export { default as TiFlag } from "./flag"; -export { default as TiFlashOutline } from "./flash-outline"; -export { default as TiFlash } from "./flash"; -export { default as TiFlowChildren } from "./flow-children"; -export { default as TiFlowMerge } from "./flow-merge"; -export { default as TiFlowParallel } from "./flow-parallel"; -export { default as TiFlowSwitch } from "./flow-switch"; -export { default as TiFolderAdd } from "./folder-add"; -export { default as TiFolderDelete } from "./folder-delete"; -export { default as TiFolderOpen } from "./folder-open"; -export { default as TiFolder } from "./folder"; -export { default as TiGift } from "./gift"; -export { default as TiGlobeOutline } from "./globe-outline"; -export { default as TiGlobe } from "./globe"; -export { default as TiGroupOutline } from "./group-outline"; -export { default as TiGroup } from "./group"; -export { default as TiHeadphones } from "./headphones"; -export { default as TiHeartFullOutline } from "./heart-full-outline"; -export { default as TiHeartHalfOutline } from "./heart-half-outline"; -export { default as TiHeartOutline } from "./heart-outline"; -export { default as TiHeart } from "./heart"; -export { default as TiHomeOutline } from "./home-outline"; -export { default as TiHome } from "./home"; -export { default as TiHtml5 } from "./html5"; -export { default as TiImageOutline } from "./image-outline"; -export { default as TiImage } from "./image"; -export { default as TiInfinityOutline } from "./infinity-outline"; -export { default as TiInfinity } from "./infinity"; -export { default as TiInfoLargeOutline } from "./info-large-outline"; -export { default as TiInfoLarge } from "./info-large"; -export { default as TiInfoOutline } from "./info-outline"; -export { default as TiInfo } from "./info"; -export { default as TiInputCheckedOutline } from "./input-checked-outline"; -export { default as TiInputChecked } from "./input-checked"; -export { default as TiKeyOutline } from "./key-outline"; -export { default as TiKey } from "./key"; -export { default as TiKeyboard } from "./keyboard"; -export { default as TiLeaf } from "./leaf"; -export { default as TiLightbulb } from "./lightbulb"; -export { default as TiLinkOutline } from "./link-outline"; -export { default as TiLink } from "./link"; -export { default as TiLocationArrowOutline } from "./location-arrow-outline"; -export { default as TiLocationArrow } from "./location-arrow"; -export { default as TiLocationOutline } from "./location-outline"; -export { default as TiLocation } from "./location"; -export { default as TiLockClosedOutline } from "./lock-closed-outline"; -export { default as TiLockClosed } from "./lock-closed"; -export { default as TiLockOpenOutline } from "./lock-open-outline"; -export { default as TiLockOpen } from "./lock-open"; -export { default as TiMail } from "./mail"; -export { default as TiMap } from "./map"; -export { default as TiMediaEjectOutline } from "./media-eject-outline"; -export { default as TiMediaEject } from "./media-eject"; -export { default as TiMediaFastForwardOutline } from "./media-fast-forward-outline"; -export { default as TiMediaFastForward } from "./media-fast-forward"; -export { default as TiMediaPauseOutline } from "./media-pause-outline"; -export { default as TiMediaPause } from "./media-pause"; -export { default as TiMediaPlayOutline } from "./media-play-outline"; -export { default as TiMediaPlayReverseOutline } from "./media-play-reverse-outline"; -export { default as TiMediaPlayReverse } from "./media-play-reverse"; -export { default as TiMediaPlay } from "./media-play"; -export { default as TiMediaRecordOutline } from "./media-record-outline"; -export { default as TiMediaRecord } from "./media-record"; -export { default as TiMediaRewindOutline } from "./media-rewind-outline"; -export { default as TiMediaRewind } from "./media-rewind"; -export { default as TiMediaStopOutline } from "./media-stop-outline"; -export { default as TiMediaStop } from "./media-stop"; -export { default as TiMessageTyping } from "./message-typing"; -export { default as TiMessage } from "./message"; -export { default as TiMessages } from "./messages"; -export { default as TiMicrophoneOutline } from "./microphone-outline"; -export { default as TiMicrophone } from "./microphone"; -export { default as TiMinusOutline } from "./minus-outline"; -export { default as TiMinus } from "./minus"; -export { default as TiMortarBoard } from "./mortar-board"; -export { default as TiNews } from "./news"; -export { default as TiNotesOutline } from "./notes-outline"; -export { default as TiNotes } from "./notes"; -export { default as TiPen } from "./pen"; -export { default as TiPencil } from "./pencil"; -export { default as TiPhoneOutline } from "./phone-outline"; -export { default as TiPhone } from "./phone"; -export { default as TiPiOutline } from "./pi-outline"; -export { default as TiPi } from "./pi"; -export { default as TiPinOutline } from "./pin-outline"; -export { default as TiPin } from "./pin"; -export { default as TiPipette } from "./pipette"; -export { default as TiPlaneOutline } from "./plane-outline"; -export { default as TiPlane } from "./plane"; -export { default as TiPlug } from "./plug"; -export { default as TiPlusOutline } from "./plus-outline"; -export { default as TiPlus } from "./plus"; -export { default as TiPointOfInterestOutline } from "./point-of-interest-outline"; -export { default as TiPointOfInterest } from "./point-of-interest"; -export { default as TiPowerOutline } from "./power-outline"; -export { default as TiPower } from "./power"; -export { default as TiPrinter } from "./printer"; -export { default as TiPuzzleOutline } from "./puzzle-outline"; -export { default as TiPuzzle } from "./puzzle"; -export { default as TiRadarOutline } from "./radar-outline"; -export { default as TiRadar } from "./radar"; -export { default as TiRefreshOutline } from "./refresh-outline"; -export { default as TiRefresh } from "./refresh"; -export { default as TiRssOutline } from "./rss-outline"; -export { default as TiRss } from "./rss"; -export { default as TiScissorsOutline } from "./scissors-outline"; -export { default as TiScissors } from "./scissors"; -export { default as TiShoppingBag } from "./shopping-bag"; -export { default as TiShoppingCart } from "./shopping-cart"; -export { default as TiSocialAtCircular } from "./social-at-circular"; -export { default as TiSocialDribbbleCircular } from "./social-dribbble-circular"; -export { default as TiSocialDribbble } from "./social-dribbble"; -export { default as TiSocialFacebookCircular } from "./social-facebook-circular"; -export { default as TiSocialFacebook } from "./social-facebook"; -export { default as TiSocialFlickrCircular } from "./social-flickr-circular"; -export { default as TiSocialFlickr } from "./social-flickr"; -export { default as TiSocialGithubCircular } from "./social-github-circular"; -export { default as TiSocialGithub } from "./social-github"; -export { default as TiSocialGooglePlusCircular } from "./social-google-plus-circular"; -export { default as TiSocialGooglePlus } from "./social-google-plus"; -export { default as TiSocialInstagramCircular } from "./social-instagram-circular"; -export { default as TiSocialInstagram } from "./social-instagram"; -export { default as TiSocialLastFmCircular } from "./social-last-fm-circular"; -export { default as TiSocialLastFm } from "./social-last-fm"; -export { default as TiSocialLinkedinCircular } from "./social-linkedin-circular"; -export { default as TiSocialLinkedin } from "./social-linkedin"; -export { default as TiSocialPinterestCircular } from "./social-pinterest-circular"; -export { default as TiSocialPinterest } from "./social-pinterest"; -export { default as TiSocialSkypeOutline } from "./social-skype-outline"; -export { default as TiSocialSkype } from "./social-skype"; -export { default as TiSocialTumblerCircular } from "./social-tumbler-circular"; -export { default as TiSocialTumbler } from "./social-tumbler"; -export { default as TiSocialTwitterCircular } from "./social-twitter-circular"; -export { default as TiSocialTwitter } from "./social-twitter"; -export { default as TiSocialVimeoCircular } from "./social-vimeo-circular"; -export { default as TiSocialVimeo } from "./social-vimeo"; -export { default as TiSocialYoutubeCircular } from "./social-youtube-circular"; -export { default as TiSocialYoutube } from "./social-youtube"; -export { default as TiSortAlphabeticallyOutline } from "./sort-alphabetically-outline"; -export { default as TiSortAlphabetically } from "./sort-alphabetically"; -export { default as TiSortNumericallyOutline } from "./sort-numerically-outline"; -export { default as TiSortNumerically } from "./sort-numerically"; -export { default as TiSpannerOutline } from "./spanner-outline"; -export { default as TiSpanner } from "./spanner"; -export { default as TiSpiral } from "./spiral"; -export { default as TiStarFullOutline } from "./star-full-outline"; -export { default as TiStarHalfOutline } from "./star-half-outline"; -export { default as TiStarHalf } from "./star-half"; -export { default as TiStarOutline } from "./star-outline"; -export { default as TiStar } from "./star"; -export { default as TiStarburstOutline } from "./starburst-outline"; -export { default as TiStarburst } from "./starburst"; -export { default as TiStopwatch } from "./stopwatch"; -export { default as TiSupport } from "./support"; -export { default as TiTabsOutline } from "./tabs-outline"; -export { default as TiTag } from "./tag"; -export { default as TiTags } from "./tags"; -export { default as TiThLargeOutline } from "./th-large-outline"; -export { default as TiThLarge } from "./th-large"; -export { default as TiThListOutline } from "./th-list-outline"; -export { default as TiThList } from "./th-list"; -export { default as TiThMenuOutline } from "./th-menu-outline"; -export { default as TiThMenu } from "./th-menu"; -export { default as TiThSmallOutline } from "./th-small-outline"; -export { default as TiThSmall } from "./th-small"; -export { default as TiThermometer } from "./thermometer"; -export { default as TiThumbsDown } from "./thumbs-down"; -export { default as TiThumbsOk } from "./thumbs-ok"; -export { default as TiThumbsUp } from "./thumbs-up"; -export { default as TiTickOutline } from "./tick-outline"; -export { default as TiTick } from "./tick"; -export { default as TiTicket } from "./ticket"; -export { default as TiTime } from "./time"; -export { default as TiTimesOutline } from "./times-outline"; -export { default as TiTimes } from "./times"; -export { default as TiTrash } from "./trash"; -export { default as TiTree } from "./tree"; -export { default as TiUploadOutline } from "./upload-outline"; -export { default as TiUpload } from "./upload"; -export { default as TiUserAddOutline } from "./user-add-outline"; -export { default as TiUserAdd } from "./user-add"; -export { default as TiUserDeleteOutline } from "./user-delete-outline"; -export { default as TiUserDelete } from "./user-delete"; -export { default as TiUserOutline } from "./user-outline"; -export { default as TiUser } from "./user"; -export { default as TiVendorAndroid } from "./vendor-android"; -export { default as TiVendorApple } from "./vendor-apple"; -export { default as TiVendorMicrosoft } from "./vendor-microsoft"; -export { default as TiVideoOutline } from "./video-outline"; -export { default as TiVideo } from "./video"; -export { default as TiVolumeDown } from "./volume-down"; -export { default as TiVolumeMute } from "./volume-mute"; -export { default as TiVolumeUp } from "./volume-up"; -export { default as TiVolume } from "./volume"; -export { default as TiWarningOutline } from "./warning-outline"; -export { default as TiWarning } from "./warning"; -export { default as TiWatch } from "./watch"; -export { default as TiWavesOutline } from "./waves-outline"; -export { default as TiWaves } from "./waves"; -export { default as TiWeatherCloudy } from "./weather-cloudy"; -export { default as TiWeatherDownpour } from "./weather-downpour"; -export { default as TiWeatherNight } from "./weather-night"; -export { default as TiWeatherPartlySunny } from "./weather-partly-sunny"; -export { default as TiWeatherShower } from "./weather-shower"; -export { default as TiWeatherSnow } from "./weather-snow"; -export { default as TiWeatherStormy } from "./weather-stormy"; -export { default as TiWeatherSunny } from "./weather-sunny"; -export { default as TiWeatherWindyCloudy } from "./weather-windy-cloudy"; -export { default as TiWeatherWindy } from "./weather-windy"; -export { default as TiWiFiOutline } from "./wi-fi-outline"; -export { default as TiWiFi } from "./wi-fi"; -export { default as TiWine } from "./wine"; -export { default as TiWorldOutline } from "./world-outline"; -export { default as TiWorld } from "./world"; -export { default as TiZoomInOutline } from "./zoom-in-outline"; -export { default as TiZoomIn } from "./zoom-in"; -export { default as TiZoomOutOutline } from "./zoom-out-outline"; -export { default as TiZoomOut } from "./zoom-out"; -export { default as TiZoomOutline } from "./zoom-outline"; -export { default as TiZoom } from "./zoom"; +export { default as TiAdjustBrightness } from "../../ti/adjust-brightness"; +export { default as TiAdjustContrast } from "../../ti/adjust-contrast"; +export { default as TiAnchorOutline } from "../../ti/anchor-outline"; +export { default as TiAnchor } from "../../ti/anchor"; +export { default as TiArchive } from "../../ti/archive"; +export { default as TiArrowBackOutline } from "../../ti/arrow-back-outline"; +export { default as TiArrowBack } from "../../ti/arrow-back"; +export { default as TiArrowDownOutline } from "../../ti/arrow-down-outline"; +export { default as TiArrowDownThick } from "../../ti/arrow-down-thick"; +export { default as TiArrowDown } from "../../ti/arrow-down"; +export { default as TiArrowForwardOutline } from "../../ti/arrow-forward-outline"; +export { default as TiArrowForward } from "../../ti/arrow-forward"; +export { default as TiArrowLeftOutline } from "../../ti/arrow-left-outline"; +export { default as TiArrowLeftThick } from "../../ti/arrow-left-thick"; +export { default as TiArrowLeft } from "../../ti/arrow-left"; +export { default as TiArrowLoopOutline } from "../../ti/arrow-loop-outline"; +export { default as TiArrowLoop } from "../../ti/arrow-loop"; +export { default as TiArrowMaximiseOutline } from "../../ti/arrow-maximise-outline"; +export { default as TiArrowMaximise } from "../../ti/arrow-maximise"; +export { default as TiArrowMinimiseOutline } from "../../ti/arrow-minimise-outline"; +export { default as TiArrowMinimise } from "../../ti/arrow-minimise"; +export { default as TiArrowMoveOutline } from "../../ti/arrow-move-outline"; +export { default as TiArrowMove } from "../../ti/arrow-move"; +export { default as TiArrowRepeatOutline } from "../../ti/arrow-repeat-outline"; +export { default as TiArrowRepeat } from "../../ti/arrow-repeat"; +export { default as TiArrowRightOutline } from "../../ti/arrow-right-outline"; +export { default as TiArrowRightThick } from "../../ti/arrow-right-thick"; +export { default as TiArrowRight } from "../../ti/arrow-right"; +export { default as TiArrowShuffle } from "../../ti/arrow-shuffle"; +export { default as TiArrowSortedDown } from "../../ti/arrow-sorted-down"; +export { default as TiArrowSortedUp } from "../../ti/arrow-sorted-up"; +export { default as TiArrowSyncOutline } from "../../ti/arrow-sync-outline"; +export { default as TiArrowSync } from "../../ti/arrow-sync"; +export { default as TiArrowUnsorted } from "../../ti/arrow-unsorted"; +export { default as TiArrowUpOutline } from "../../ti/arrow-up-outline"; +export { default as TiArrowUpThick } from "../../ti/arrow-up-thick"; +export { default as TiArrowUp } from "../../ti/arrow-up"; +export { default as TiAt } from "../../ti/at"; +export { default as TiAttachmentOutline } from "../../ti/attachment-outline"; +export { default as TiAttachment } from "../../ti/attachment"; +export { default as TiBackspaceOutline } from "../../ti/backspace-outline"; +export { default as TiBackspace } from "../../ti/backspace"; +export { default as TiBatteryCharge } from "../../ti/battery-charge"; +export { default as TiBatteryFull } from "../../ti/battery-full"; +export { default as TiBatteryHigh } from "../../ti/battery-high"; +export { default as TiBatteryLow } from "../../ti/battery-low"; +export { default as TiBatteryMid } from "../../ti/battery-mid"; +export { default as TiBeaker } from "../../ti/beaker"; +export { default as TiBeer } from "../../ti/beer"; +export { default as TiBell } from "../../ti/bell"; +export { default as TiBook } from "../../ti/book"; +export { default as TiBookmark } from "../../ti/bookmark"; +export { default as TiBriefcase } from "../../ti/briefcase"; +export { default as TiBrush } from "../../ti/brush"; +export { default as TiBusinessCard } from "../../ti/business-card"; +export { default as TiCalculator } from "../../ti/calculator"; +export { default as TiCalendarOutline } from "../../ti/calendar-outline"; +export { default as TiCalendar } from "../../ti/calendar"; +export { default as TiCalenderOutline } from "../../ti/calender-outline"; +export { default as TiCalender } from "../../ti/calender"; +export { default as TiCameraOutline } from "../../ti/camera-outline"; +export { default as TiCamera } from "../../ti/camera"; +export { default as TiCancelOutline } from "../../ti/cancel-outline"; +export { default as TiCancel } from "../../ti/cancel"; +export { default as TiChartAreaOutline } from "../../ti/chart-area-outline"; +export { default as TiChartArea } from "../../ti/chart-area"; +export { default as TiChartBarOutline } from "../../ti/chart-bar-outline"; +export { default as TiChartBar } from "../../ti/chart-bar"; +export { default as TiChartLineOutline } from "../../ti/chart-line-outline"; +export { default as TiChartLine } from "../../ti/chart-line"; +export { default as TiChartPieOutline } from "../../ti/chart-pie-outline"; +export { default as TiChartPie } from "../../ti/chart-pie"; +export { default as TiChevronLeftOutline } from "../../ti/chevron-left-outline"; +export { default as TiChevronLeft } from "../../ti/chevron-left"; +export { default as TiChevronRightOutline } from "../../ti/chevron-right-outline"; +export { default as TiChevronRight } from "../../ti/chevron-right"; +export { default as TiClipboard } from "../../ti/clipboard"; +export { default as TiCloudStorageOutline } from "../../ti/cloud-storage-outline"; +export { default as TiCloudStorage } from "../../ti/cloud-storage"; +export { default as TiCodeOutline } from "../../ti/code-outline"; +export { default as TiCode } from "../../ti/code"; +export { default as TiCoffee } from "../../ti/coffee"; +export { default as TiCogOutline } from "../../ti/cog-outline"; +export { default as TiCog } from "../../ti/cog"; +export { default as TiCompass } from "../../ti/compass"; +export { default as TiContacts } from "../../ti/contacts"; +export { default as TiCreditCard } from "../../ti/credit-card"; +export { default as TiCross } from "../../ti/cross"; +export { default as TiCss3 } from "../../ti/css3"; +export { default as TiDatabase } from "../../ti/database"; +export { default as TiDeleteOutline } from "../../ti/delete-outline"; +export { default as TiDelete } from "../../ti/delete"; +export { default as TiDeviceDesktop } from "../../ti/device-desktop"; +export { default as TiDeviceLaptop } from "../../ti/device-laptop"; +export { default as TiDevicePhone } from "../../ti/device-phone"; +export { default as TiDeviceTablet } from "../../ti/device-tablet"; +export { default as TiDirections } from "../../ti/directions"; +export { default as TiDivideOutline } from "../../ti/divide-outline"; +export { default as TiDivide } from "../../ti/divide"; +export { default as TiDocumentAdd } from "../../ti/document-add"; +export { default as TiDocumentDelete } from "../../ti/document-delete"; +export { default as TiDocumentText } from "../../ti/document-text"; +export { default as TiDocument } from "../../ti/document"; +export { default as TiDownloadOutline } from "../../ti/download-outline"; +export { default as TiDownload } from "../../ti/download"; +export { default as TiDropbox } from "../../ti/dropbox"; +export { default as TiEdit } from "../../ti/edit"; +export { default as TiEjectOutline } from "../../ti/eject-outline"; +export { default as TiEject } from "../../ti/eject"; +export { default as TiEqualsOutline } from "../../ti/equals-outline"; +export { default as TiEquals } from "../../ti/equals"; +export { default as TiExportOutline } from "../../ti/export-outline"; +export { default as TiExport } from "../../ti/export"; +export { default as TiEyeOutline } from "../../ti/eye-outline"; +export { default as TiEye } from "../../ti/eye"; +export { default as TiFeather } from "../../ti/feather"; +export { default as TiFilm } from "../../ti/film"; +export { default as TiFilter } from "../../ti/filter"; +export { default as TiFlagOutline } from "../../ti/flag-outline"; +export { default as TiFlag } from "../../ti/flag"; +export { default as TiFlashOutline } from "../../ti/flash-outline"; +export { default as TiFlash } from "../../ti/flash"; +export { default as TiFlowChildren } from "../../ti/flow-children"; +export { default as TiFlowMerge } from "../../ti/flow-merge"; +export { default as TiFlowParallel } from "../../ti/flow-parallel"; +export { default as TiFlowSwitch } from "../../ti/flow-switch"; +export { default as TiFolderAdd } from "../../ti/folder-add"; +export { default as TiFolderDelete } from "../../ti/folder-delete"; +export { default as TiFolderOpen } from "../../ti/folder-open"; +export { default as TiFolder } from "../../ti/folder"; +export { default as TiGift } from "../../ti/gift"; +export { default as TiGlobeOutline } from "../../ti/globe-outline"; +export { default as TiGlobe } from "../../ti/globe"; +export { default as TiGroupOutline } from "../../ti/group-outline"; +export { default as TiGroup } from "../../ti/group"; +export { default as TiHeadphones } from "../../ti/headphones"; +export { default as TiHeartFullOutline } from "../../ti/heart-full-outline"; +export { default as TiHeartHalfOutline } from "../../ti/heart-half-outline"; +export { default as TiHeartOutline } from "../../ti/heart-outline"; +export { default as TiHeart } from "../../ti/heart"; +export { default as TiHomeOutline } from "../../ti/home-outline"; +export { default as TiHome } from "../../ti/home"; +export { default as TiHtml5 } from "../../ti/html5"; +export { default as TiImageOutline } from "../../ti/image-outline"; +export { default as TiImage } from "../../ti/image"; +export { default as TiInfinityOutline } from "../../ti/infinity-outline"; +export { default as TiInfinity } from "../../ti/infinity"; +export { default as TiInfoLargeOutline } from "../../ti/info-large-outline"; +export { default as TiInfoLarge } from "../../ti/info-large"; +export { default as TiInfoOutline } from "../../ti/info-outline"; +export { default as TiInfo } from "../../ti/info"; +export { default as TiInputCheckedOutline } from "../../ti/input-checked-outline"; +export { default as TiInputChecked } from "../../ti/input-checked"; +export { default as TiKeyOutline } from "../../ti/key-outline"; +export { default as TiKey } from "../../ti/key"; +export { default as TiKeyboard } from "../../ti/keyboard"; +export { default as TiLeaf } from "../../ti/leaf"; +export { default as TiLightbulb } from "../../ti/lightbulb"; +export { default as TiLinkOutline } from "../../ti/link-outline"; +export { default as TiLink } from "../../ti/link"; +export { default as TiLocationArrowOutline } from "../../ti/location-arrow-outline"; +export { default as TiLocationArrow } from "../../ti/location-arrow"; +export { default as TiLocationOutline } from "../../ti/location-outline"; +export { default as TiLocation } from "../../ti/location"; +export { default as TiLockClosedOutline } from "../../ti/lock-closed-outline"; +export { default as TiLockClosed } from "../../ti/lock-closed"; +export { default as TiLockOpenOutline } from "../../ti/lock-open-outline"; +export { default as TiLockOpen } from "../../ti/lock-open"; +export { default as TiMail } from "../../ti/mail"; +export { default as TiMap } from "../../ti/map"; +export { default as TiMediaEjectOutline } from "../../ti/media-eject-outline"; +export { default as TiMediaEject } from "../../ti/media-eject"; +export { default as TiMediaFastForwardOutline } from "../../ti/media-fast-forward-outline"; +export { default as TiMediaFastForward } from "../../ti/media-fast-forward"; +export { default as TiMediaPauseOutline } from "../../ti/media-pause-outline"; +export { default as TiMediaPause } from "../../ti/media-pause"; +export { default as TiMediaPlayOutline } from "../../ti/media-play-outline"; +export { default as TiMediaPlayReverseOutline } from "../../ti/media-play-reverse-outline"; +export { default as TiMediaPlayReverse } from "../../ti/media-play-reverse"; +export { default as TiMediaPlay } from "../../ti/media-play"; +export { default as TiMediaRecordOutline } from "../../ti/media-record-outline"; +export { default as TiMediaRecord } from "../../ti/media-record"; +export { default as TiMediaRewindOutline } from "../../ti/media-rewind-outline"; +export { default as TiMediaRewind } from "../../ti/media-rewind"; +export { default as TiMediaStopOutline } from "../../ti/media-stop-outline"; +export { default as TiMediaStop } from "../../ti/media-stop"; +export { default as TiMessageTyping } from "../../ti/message-typing"; +export { default as TiMessage } from "../../ti/message"; +export { default as TiMessages } from "../../ti/messages"; +export { default as TiMicrophoneOutline } from "../../ti/microphone-outline"; +export { default as TiMicrophone } from "../../ti/microphone"; +export { default as TiMinusOutline } from "../../ti/minus-outline"; +export { default as TiMinus } from "../../ti/minus"; +export { default as TiMortarBoard } from "../../ti/mortar-board"; +export { default as TiNews } from "../../ti/news"; +export { default as TiNotesOutline } from "../../ti/notes-outline"; +export { default as TiNotes } from "../../ti/notes"; +export { default as TiPen } from "../../ti/pen"; +export { default as TiPencil } from "../../ti/pencil"; +export { default as TiPhoneOutline } from "../../ti/phone-outline"; +export { default as TiPhone } from "../../ti/phone"; +export { default as TiPiOutline } from "../../ti/pi-outline"; +export { default as TiPi } from "../../ti/pi"; +export { default as TiPinOutline } from "../../ti/pin-outline"; +export { default as TiPin } from "../../ti/pin"; +export { default as TiPipette } from "../../ti/pipette"; +export { default as TiPlaneOutline } from "../../ti/plane-outline"; +export { default as TiPlane } from "../../ti/plane"; +export { default as TiPlug } from "../../ti/plug"; +export { default as TiPlusOutline } from "../../ti/plus-outline"; +export { default as TiPlus } from "../../ti/plus"; +export { default as TiPointOfInterestOutline } from "../../ti/point-of-interest-outline"; +export { default as TiPointOfInterest } from "../../ti/point-of-interest"; +export { default as TiPowerOutline } from "../../ti/power-outline"; +export { default as TiPower } from "../../ti/power"; +export { default as TiPrinter } from "../../ti/printer"; +export { default as TiPuzzleOutline } from "../../ti/puzzle-outline"; +export { default as TiPuzzle } from "../../ti/puzzle"; +export { default as TiRadarOutline } from "../../ti/radar-outline"; +export { default as TiRadar } from "../../ti/radar"; +export { default as TiRefreshOutline } from "../../ti/refresh-outline"; +export { default as TiRefresh } from "../../ti/refresh"; +export { default as TiRssOutline } from "../../ti/rss-outline"; +export { default as TiRss } from "../../ti/rss"; +export { default as TiScissorsOutline } from "../../ti/scissors-outline"; +export { default as TiScissors } from "../../ti/scissors"; +export { default as TiShoppingBag } from "../../ti/shopping-bag"; +export { default as TiShoppingCart } from "../../ti/shopping-cart"; +export { default as TiSocialAtCircular } from "../../ti/social-at-circular"; +export { default as TiSocialDribbbleCircular } from "../../ti/social-dribbble-circular"; +export { default as TiSocialDribbble } from "../../ti/social-dribbble"; +export { default as TiSocialFacebookCircular } from "../../ti/social-facebook-circular"; +export { default as TiSocialFacebook } from "../../ti/social-facebook"; +export { default as TiSocialFlickrCircular } from "../../ti/social-flickr-circular"; +export { default as TiSocialFlickr } from "../../ti/social-flickr"; +export { default as TiSocialGithubCircular } from "../../ti/social-github-circular"; +export { default as TiSocialGithub } from "../../ti/social-github"; +export { default as TiSocialGooglePlusCircular } from "../../ti/social-google-plus-circular"; +export { default as TiSocialGooglePlus } from "../../ti/social-google-plus"; +export { default as TiSocialInstagramCircular } from "../../ti/social-instagram-circular"; +export { default as TiSocialInstagram } from "../../ti/social-instagram"; +export { default as TiSocialLastFmCircular } from "../../ti/social-last-fm-circular"; +export { default as TiSocialLastFm } from "../../ti/social-last-fm"; +export { default as TiSocialLinkedinCircular } from "../../ti/social-linkedin-circular"; +export { default as TiSocialLinkedin } from "../../ti/social-linkedin"; +export { default as TiSocialPinterestCircular } from "../../ti/social-pinterest-circular"; +export { default as TiSocialPinterest } from "../../ti/social-pinterest"; +export { default as TiSocialSkypeOutline } from "../../ti/social-skype-outline"; +export { default as TiSocialSkype } from "../../ti/social-skype"; +export { default as TiSocialTumblerCircular } from "../../ti/social-tumbler-circular"; +export { default as TiSocialTumbler } from "../../ti/social-tumbler"; +export { default as TiSocialTwitterCircular } from "../../ti/social-twitter-circular"; +export { default as TiSocialTwitter } from "../../ti/social-twitter"; +export { default as TiSocialVimeoCircular } from "../../ti/social-vimeo-circular"; +export { default as TiSocialVimeo } from "../../ti/social-vimeo"; +export { default as TiSocialYoutubeCircular } from "../../ti/social-youtube-circular"; +export { default as TiSocialYoutube } from "../../ti/social-youtube"; +export { default as TiSortAlphabeticallyOutline } from "../../ti/sort-alphabetically-outline"; +export { default as TiSortAlphabetically } from "../../ti/sort-alphabetically"; +export { default as TiSortNumericallyOutline } from "../../ti/sort-numerically-outline"; +export { default as TiSortNumerically } from "../../ti/sort-numerically"; +export { default as TiSpannerOutline } from "../../ti/spanner-outline"; +export { default as TiSpanner } from "../../ti/spanner"; +export { default as TiSpiral } from "../../ti/spiral"; +export { default as TiStarFullOutline } from "../../ti/star-full-outline"; +export { default as TiStarHalfOutline } from "../../ti/star-half-outline"; +export { default as TiStarHalf } from "../../ti/star-half"; +export { default as TiStarOutline } from "../../ti/star-outline"; +export { default as TiStar } from "../../ti/star"; +export { default as TiStarburstOutline } from "../../ti/starburst-outline"; +export { default as TiStarburst } from "../../ti/starburst"; +export { default as TiStopwatch } from "../../ti/stopwatch"; +export { default as TiSupport } from "../../ti/support"; +export { default as TiTabsOutline } from "../../ti/tabs-outline"; +export { default as TiTag } from "../../ti/tag"; +export { default as TiTags } from "../../ti/tags"; +export { default as TiThLargeOutline } from "../../ti/th-large-outline"; +export { default as TiThLarge } from "../../ti/th-large"; +export { default as TiThListOutline } from "../../ti/th-list-outline"; +export { default as TiThList } from "../../ti/th-list"; +export { default as TiThMenuOutline } from "../../ti/th-menu-outline"; +export { default as TiThMenu } from "../../ti/th-menu"; +export { default as TiThSmallOutline } from "../../ti/th-small-outline"; +export { default as TiThSmall } from "../../ti/th-small"; +export { default as TiThermometer } from "../../ti/thermometer"; +export { default as TiThumbsDown } from "../../ti/thumbs-down"; +export { default as TiThumbsOk } from "../../ti/thumbs-ok"; +export { default as TiThumbsUp } from "../../ti/thumbs-up"; +export { default as TiTickOutline } from "../../ti/tick-outline"; +export { default as TiTick } from "../../ti/tick"; +export { default as TiTicket } from "../../ti/ticket"; +export { default as TiTime } from "../../ti/time"; +export { default as TiTimesOutline } from "../../ti/times-outline"; +export { default as TiTimes } from "../../ti/times"; +export { default as TiTrash } from "../../ti/trash"; +export { default as TiTree } from "../../ti/tree"; +export { default as TiUploadOutline } from "../../ti/upload-outline"; +export { default as TiUpload } from "../../ti/upload"; +export { default as TiUserAddOutline } from "../../ti/user-add-outline"; +export { default as TiUserAdd } from "../../ti/user-add"; +export { default as TiUserDeleteOutline } from "../../ti/user-delete-outline"; +export { default as TiUserDelete } from "../../ti/user-delete"; +export { default as TiUserOutline } from "../../ti/user-outline"; +export { default as TiUser } from "../../ti/user"; +export { default as TiVendorAndroid } from "../../ti/vendor-android"; +export { default as TiVendorApple } from "../../ti/vendor-apple"; +export { default as TiVendorMicrosoft } from "../../ti/vendor-microsoft"; +export { default as TiVideoOutline } from "../../ti/video-outline"; +export { default as TiVideo } from "../../ti/video"; +export { default as TiVolumeDown } from "../../ti/volume-down"; +export { default as TiVolumeMute } from "../../ti/volume-mute"; +export { default as TiVolumeUp } from "../../ti/volume-up"; +export { default as TiVolume } from "../../ti/volume"; +export { default as TiWarningOutline } from "../../ti/warning-outline"; +export { default as TiWarning } from "../../ti/warning"; +export { default as TiWatch } from "../../ti/watch"; +export { default as TiWavesOutline } from "../../ti/waves-outline"; +export { default as TiWaves } from "../../ti/waves"; +export { default as TiWeatherCloudy } from "../../ti/weather-cloudy"; +export { default as TiWeatherDownpour } from "../../ti/weather-downpour"; +export { default as TiWeatherNight } from "../../ti/weather-night"; +export { default as TiWeatherPartlySunny } from "../../ti/weather-partly-sunny"; +export { default as TiWeatherShower } from "../../ti/weather-shower"; +export { default as TiWeatherSnow } from "../../ti/weather-snow"; +export { default as TiWeatherStormy } from "../../ti/weather-stormy"; +export { default as TiWeatherSunny } from "../../ti/weather-sunny"; +export { default as TiWeatherWindyCloudy } from "../../ti/weather-windy-cloudy"; +export { default as TiWeatherWindy } from "../../ti/weather-windy"; +export { default as TiWiFiOutline } from "../../ti/wi-fi-outline"; +export { default as TiWiFi } from "../../ti/wi-fi"; +export { default as TiWine } from "../../ti/wine"; +export { default as TiWorldOutline } from "../../ti/world-outline"; +export { default as TiWorld } from "../../ti/world"; +export { default as TiZoomInOutline } from "../../ti/zoom-in-outline"; +export { default as TiZoomIn } from "../../ti/zoom-in"; +export { default as TiZoomOutOutline } from "../../ti/zoom-out-outline"; +export { default as TiZoomOut } from "../../ti/zoom-out"; +export { default as TiZoomOutline } from "../../ti/zoom-outline"; +export { default as TiZoom } from "../../ti/zoom"; diff --git a/types/react-icons/lib/ti/infinity-outline.d.ts b/types/react-icons/lib/ti/infinity-outline.d.ts index 396db6cef4..acf82acb79 100644 --- a/types/react-icons/lib/ti/infinity-outline.d.ts +++ b/types/react-icons/lib/ti/infinity-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiInfinityOutline extends React.Component<IconBaseProps> { } +declare class TiInfinityOutline extends React.Component<IconBaseProps> { } +export = TiInfinityOutline; diff --git a/types/react-icons/lib/ti/infinity.d.ts b/types/react-icons/lib/ti/infinity.d.ts index e2e330678f..2a770bd4ae 100644 --- a/types/react-icons/lib/ti/infinity.d.ts +++ b/types/react-icons/lib/ti/infinity.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiInfinity extends React.Component<IconBaseProps> { } +declare class TiInfinity extends React.Component<IconBaseProps> { } +export = TiInfinity; diff --git a/types/react-icons/lib/ti/info-large-outline.d.ts b/types/react-icons/lib/ti/info-large-outline.d.ts index 3ff6a8be6c..95a74ab971 100644 --- a/types/react-icons/lib/ti/info-large-outline.d.ts +++ b/types/react-icons/lib/ti/info-large-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiInfoLargeOutline extends React.Component<IconBaseProps> { } +declare class TiInfoLargeOutline extends React.Component<IconBaseProps> { } +export = TiInfoLargeOutline; diff --git a/types/react-icons/lib/ti/info-large.d.ts b/types/react-icons/lib/ti/info-large.d.ts index 0ad4eb3b6a..ab649a9807 100644 --- a/types/react-icons/lib/ti/info-large.d.ts +++ b/types/react-icons/lib/ti/info-large.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiInfoLarge extends React.Component<IconBaseProps> { } +declare class TiInfoLarge extends React.Component<IconBaseProps> { } +export = TiInfoLarge; diff --git a/types/react-icons/lib/ti/info-outline.d.ts b/types/react-icons/lib/ti/info-outline.d.ts index b80e266196..1dbe44f7e2 100644 --- a/types/react-icons/lib/ti/info-outline.d.ts +++ b/types/react-icons/lib/ti/info-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiInfoOutline extends React.Component<IconBaseProps> { } +declare class TiInfoOutline extends React.Component<IconBaseProps> { } +export = TiInfoOutline; diff --git a/types/react-icons/lib/ti/info.d.ts b/types/react-icons/lib/ti/info.d.ts index ec2cd25bdf..b536268bc5 100644 --- a/types/react-icons/lib/ti/info.d.ts +++ b/types/react-icons/lib/ti/info.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiInfo extends React.Component<IconBaseProps> { } +declare class TiInfo extends React.Component<IconBaseProps> { } +export = TiInfo; diff --git a/types/react-icons/lib/ti/input-checked-outline.d.ts b/types/react-icons/lib/ti/input-checked-outline.d.ts index 91f4f396a0..09598d7f9c 100644 --- a/types/react-icons/lib/ti/input-checked-outline.d.ts +++ b/types/react-icons/lib/ti/input-checked-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiInputCheckedOutline extends React.Component<IconBaseProps> { } +declare class TiInputCheckedOutline extends React.Component<IconBaseProps> { } +export = TiInputCheckedOutline; diff --git a/types/react-icons/lib/ti/input-checked.d.ts b/types/react-icons/lib/ti/input-checked.d.ts index beb1227d76..4a0d3f49e1 100644 --- a/types/react-icons/lib/ti/input-checked.d.ts +++ b/types/react-icons/lib/ti/input-checked.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiInputChecked extends React.Component<IconBaseProps> { } +declare class TiInputChecked extends React.Component<IconBaseProps> { } +export = TiInputChecked; diff --git a/types/react-icons/lib/ti/key-outline.d.ts b/types/react-icons/lib/ti/key-outline.d.ts index 0a2cac24a7..3915d81fdc 100644 --- a/types/react-icons/lib/ti/key-outline.d.ts +++ b/types/react-icons/lib/ti/key-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiKeyOutline extends React.Component<IconBaseProps> { } +declare class TiKeyOutline extends React.Component<IconBaseProps> { } +export = TiKeyOutline; diff --git a/types/react-icons/lib/ti/key.d.ts b/types/react-icons/lib/ti/key.d.ts index c167c86f85..1e5229dd96 100644 --- a/types/react-icons/lib/ti/key.d.ts +++ b/types/react-icons/lib/ti/key.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiKey extends React.Component<IconBaseProps> { } +declare class TiKey extends React.Component<IconBaseProps> { } +export = TiKey; diff --git a/types/react-icons/lib/ti/keyboard.d.ts b/types/react-icons/lib/ti/keyboard.d.ts index c936d0245d..dbd41ee813 100644 --- a/types/react-icons/lib/ti/keyboard.d.ts +++ b/types/react-icons/lib/ti/keyboard.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiKeyboard extends React.Component<IconBaseProps> { } +declare class TiKeyboard extends React.Component<IconBaseProps> { } +export = TiKeyboard; diff --git a/types/react-icons/lib/ti/leaf.d.ts b/types/react-icons/lib/ti/leaf.d.ts index 7b34567dde..3548464823 100644 --- a/types/react-icons/lib/ti/leaf.d.ts +++ b/types/react-icons/lib/ti/leaf.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiLeaf extends React.Component<IconBaseProps> { } +declare class TiLeaf extends React.Component<IconBaseProps> { } +export = TiLeaf; diff --git a/types/react-icons/lib/ti/lightbulb.d.ts b/types/react-icons/lib/ti/lightbulb.d.ts index 389a15ff3e..7a77c36eb3 100644 --- a/types/react-icons/lib/ti/lightbulb.d.ts +++ b/types/react-icons/lib/ti/lightbulb.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiLightbulb extends React.Component<IconBaseProps> { } +declare class TiLightbulb extends React.Component<IconBaseProps> { } +export = TiLightbulb; diff --git a/types/react-icons/lib/ti/link-outline.d.ts b/types/react-icons/lib/ti/link-outline.d.ts index 8aec8924d9..2de0ad9ea8 100644 --- a/types/react-icons/lib/ti/link-outline.d.ts +++ b/types/react-icons/lib/ti/link-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiLinkOutline extends React.Component<IconBaseProps> { } +declare class TiLinkOutline extends React.Component<IconBaseProps> { } +export = TiLinkOutline; diff --git a/types/react-icons/lib/ti/link.d.ts b/types/react-icons/lib/ti/link.d.ts index 7de0129e97..f018f05df1 100644 --- a/types/react-icons/lib/ti/link.d.ts +++ b/types/react-icons/lib/ti/link.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiLink extends React.Component<IconBaseProps> { } +declare class TiLink extends React.Component<IconBaseProps> { } +export = TiLink; diff --git a/types/react-icons/lib/ti/location-arrow-outline.d.ts b/types/react-icons/lib/ti/location-arrow-outline.d.ts index be73bc68bb..fa052ba27e 100644 --- a/types/react-icons/lib/ti/location-arrow-outline.d.ts +++ b/types/react-icons/lib/ti/location-arrow-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiLocationArrowOutline extends React.Component<IconBaseProps> { } +declare class TiLocationArrowOutline extends React.Component<IconBaseProps> { } +export = TiLocationArrowOutline; diff --git a/types/react-icons/lib/ti/location-arrow.d.ts b/types/react-icons/lib/ti/location-arrow.d.ts index c9fca74a46..17b35056fc 100644 --- a/types/react-icons/lib/ti/location-arrow.d.ts +++ b/types/react-icons/lib/ti/location-arrow.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiLocationArrow extends React.Component<IconBaseProps> { } +declare class TiLocationArrow extends React.Component<IconBaseProps> { } +export = TiLocationArrow; diff --git a/types/react-icons/lib/ti/location-outline.d.ts b/types/react-icons/lib/ti/location-outline.d.ts index 5e33402d00..7d31d353d6 100644 --- a/types/react-icons/lib/ti/location-outline.d.ts +++ b/types/react-icons/lib/ti/location-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiLocationOutline extends React.Component<IconBaseProps> { } +declare class TiLocationOutline extends React.Component<IconBaseProps> { } +export = TiLocationOutline; diff --git a/types/react-icons/lib/ti/location.d.ts b/types/react-icons/lib/ti/location.d.ts index 4b2ad147b6..159dadd5cb 100644 --- a/types/react-icons/lib/ti/location.d.ts +++ b/types/react-icons/lib/ti/location.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiLocation extends React.Component<IconBaseProps> { } +declare class TiLocation extends React.Component<IconBaseProps> { } +export = TiLocation; diff --git a/types/react-icons/lib/ti/lock-closed-outline.d.ts b/types/react-icons/lib/ti/lock-closed-outline.d.ts index df9d6ffaad..1c40232eb1 100644 --- a/types/react-icons/lib/ti/lock-closed-outline.d.ts +++ b/types/react-icons/lib/ti/lock-closed-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiLockClosedOutline extends React.Component<IconBaseProps> { } +declare class TiLockClosedOutline extends React.Component<IconBaseProps> { } +export = TiLockClosedOutline; diff --git a/types/react-icons/lib/ti/lock-closed.d.ts b/types/react-icons/lib/ti/lock-closed.d.ts index 234cc40580..0d45e2e4f5 100644 --- a/types/react-icons/lib/ti/lock-closed.d.ts +++ b/types/react-icons/lib/ti/lock-closed.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiLockClosed extends React.Component<IconBaseProps> { } +declare class TiLockClosed extends React.Component<IconBaseProps> { } +export = TiLockClosed; diff --git a/types/react-icons/lib/ti/lock-open-outline.d.ts b/types/react-icons/lib/ti/lock-open-outline.d.ts index 380878a869..f2d018becf 100644 --- a/types/react-icons/lib/ti/lock-open-outline.d.ts +++ b/types/react-icons/lib/ti/lock-open-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiLockOpenOutline extends React.Component<IconBaseProps> { } +declare class TiLockOpenOutline extends React.Component<IconBaseProps> { } +export = TiLockOpenOutline; diff --git a/types/react-icons/lib/ti/lock-open.d.ts b/types/react-icons/lib/ti/lock-open.d.ts index c4b51c68ee..710cdb44d8 100644 --- a/types/react-icons/lib/ti/lock-open.d.ts +++ b/types/react-icons/lib/ti/lock-open.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiLockOpen extends React.Component<IconBaseProps> { } +declare class TiLockOpen extends React.Component<IconBaseProps> { } +export = TiLockOpen; diff --git a/types/react-icons/lib/ti/mail.d.ts b/types/react-icons/lib/ti/mail.d.ts index 34979f6b13..9ee04f24e0 100644 --- a/types/react-icons/lib/ti/mail.d.ts +++ b/types/react-icons/lib/ti/mail.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMail extends React.Component<IconBaseProps> { } +declare class TiMail extends React.Component<IconBaseProps> { } +export = TiMail; diff --git a/types/react-icons/lib/ti/map.d.ts b/types/react-icons/lib/ti/map.d.ts index 8b8092f4e7..7fe15fa575 100644 --- a/types/react-icons/lib/ti/map.d.ts +++ b/types/react-icons/lib/ti/map.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMap extends React.Component<IconBaseProps> { } +declare class TiMap extends React.Component<IconBaseProps> { } +export = TiMap; diff --git a/types/react-icons/lib/ti/media-eject-outline.d.ts b/types/react-icons/lib/ti/media-eject-outline.d.ts index d58fadb21b..9351fc551b 100644 --- a/types/react-icons/lib/ti/media-eject-outline.d.ts +++ b/types/react-icons/lib/ti/media-eject-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMediaEjectOutline extends React.Component<IconBaseProps> { } +declare class TiMediaEjectOutline extends React.Component<IconBaseProps> { } +export = TiMediaEjectOutline; diff --git a/types/react-icons/lib/ti/media-eject.d.ts b/types/react-icons/lib/ti/media-eject.d.ts index 41a9baaea8..98aa88f232 100644 --- a/types/react-icons/lib/ti/media-eject.d.ts +++ b/types/react-icons/lib/ti/media-eject.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMediaEject extends React.Component<IconBaseProps> { } +declare class TiMediaEject extends React.Component<IconBaseProps> { } +export = TiMediaEject; diff --git a/types/react-icons/lib/ti/media-fast-forward-outline.d.ts b/types/react-icons/lib/ti/media-fast-forward-outline.d.ts index 8923d0fa44..42bf3e8957 100644 --- a/types/react-icons/lib/ti/media-fast-forward-outline.d.ts +++ b/types/react-icons/lib/ti/media-fast-forward-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMediaFastForwardOutline extends React.Component<IconBaseProps> { } +declare class TiMediaFastForwardOutline extends React.Component<IconBaseProps> { } +export = TiMediaFastForwardOutline; diff --git a/types/react-icons/lib/ti/media-fast-forward.d.ts b/types/react-icons/lib/ti/media-fast-forward.d.ts index e53638bf62..8793b9f4ef 100644 --- a/types/react-icons/lib/ti/media-fast-forward.d.ts +++ b/types/react-icons/lib/ti/media-fast-forward.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMediaFastForward extends React.Component<IconBaseProps> { } +declare class TiMediaFastForward extends React.Component<IconBaseProps> { } +export = TiMediaFastForward; diff --git a/types/react-icons/lib/ti/media-pause-outline.d.ts b/types/react-icons/lib/ti/media-pause-outline.d.ts index e792f0c894..9773cb8afe 100644 --- a/types/react-icons/lib/ti/media-pause-outline.d.ts +++ b/types/react-icons/lib/ti/media-pause-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMediaPauseOutline extends React.Component<IconBaseProps> { } +declare class TiMediaPauseOutline extends React.Component<IconBaseProps> { } +export = TiMediaPauseOutline; diff --git a/types/react-icons/lib/ti/media-pause.d.ts b/types/react-icons/lib/ti/media-pause.d.ts index b24950b19c..4a81a0a0e5 100644 --- a/types/react-icons/lib/ti/media-pause.d.ts +++ b/types/react-icons/lib/ti/media-pause.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMediaPause extends React.Component<IconBaseProps> { } +declare class TiMediaPause extends React.Component<IconBaseProps> { } +export = TiMediaPause; diff --git a/types/react-icons/lib/ti/media-play-outline.d.ts b/types/react-icons/lib/ti/media-play-outline.d.ts index 8e024e323f..4b615f35f1 100644 --- a/types/react-icons/lib/ti/media-play-outline.d.ts +++ b/types/react-icons/lib/ti/media-play-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMediaPlayOutline extends React.Component<IconBaseProps> { } +declare class TiMediaPlayOutline extends React.Component<IconBaseProps> { } +export = TiMediaPlayOutline; diff --git a/types/react-icons/lib/ti/media-play-reverse-outline.d.ts b/types/react-icons/lib/ti/media-play-reverse-outline.d.ts index 5594d646d8..2d7a77bb40 100644 --- a/types/react-icons/lib/ti/media-play-reverse-outline.d.ts +++ b/types/react-icons/lib/ti/media-play-reverse-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMediaPlayReverseOutline extends React.Component<IconBaseProps> { } +declare class TiMediaPlayReverseOutline extends React.Component<IconBaseProps> { } +export = TiMediaPlayReverseOutline; diff --git a/types/react-icons/lib/ti/media-play-reverse.d.ts b/types/react-icons/lib/ti/media-play-reverse.d.ts index 26e71c1733..d7d528e46a 100644 --- a/types/react-icons/lib/ti/media-play-reverse.d.ts +++ b/types/react-icons/lib/ti/media-play-reverse.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMediaPlayReverse extends React.Component<IconBaseProps> { } +declare class TiMediaPlayReverse extends React.Component<IconBaseProps> { } +export = TiMediaPlayReverse; diff --git a/types/react-icons/lib/ti/media-play.d.ts b/types/react-icons/lib/ti/media-play.d.ts index defa546ee7..8dd20765e2 100644 --- a/types/react-icons/lib/ti/media-play.d.ts +++ b/types/react-icons/lib/ti/media-play.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMediaPlay extends React.Component<IconBaseProps> { } +declare class TiMediaPlay extends React.Component<IconBaseProps> { } +export = TiMediaPlay; diff --git a/types/react-icons/lib/ti/media-record-outline.d.ts b/types/react-icons/lib/ti/media-record-outline.d.ts index 0761437451..f59288ac3c 100644 --- a/types/react-icons/lib/ti/media-record-outline.d.ts +++ b/types/react-icons/lib/ti/media-record-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMediaRecordOutline extends React.Component<IconBaseProps> { } +declare class TiMediaRecordOutline extends React.Component<IconBaseProps> { } +export = TiMediaRecordOutline; diff --git a/types/react-icons/lib/ti/media-record.d.ts b/types/react-icons/lib/ti/media-record.d.ts index d924b105b6..36c9fc9dde 100644 --- a/types/react-icons/lib/ti/media-record.d.ts +++ b/types/react-icons/lib/ti/media-record.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMediaRecord extends React.Component<IconBaseProps> { } +declare class TiMediaRecord extends React.Component<IconBaseProps> { } +export = TiMediaRecord; diff --git a/types/react-icons/lib/ti/media-rewind-outline.d.ts b/types/react-icons/lib/ti/media-rewind-outline.d.ts index 11de328095..8a27d06c5e 100644 --- a/types/react-icons/lib/ti/media-rewind-outline.d.ts +++ b/types/react-icons/lib/ti/media-rewind-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMediaRewindOutline extends React.Component<IconBaseProps> { } +declare class TiMediaRewindOutline extends React.Component<IconBaseProps> { } +export = TiMediaRewindOutline; diff --git a/types/react-icons/lib/ti/media-rewind.d.ts b/types/react-icons/lib/ti/media-rewind.d.ts index f0e7151590..48aff4f77f 100644 --- a/types/react-icons/lib/ti/media-rewind.d.ts +++ b/types/react-icons/lib/ti/media-rewind.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMediaRewind extends React.Component<IconBaseProps> { } +declare class TiMediaRewind extends React.Component<IconBaseProps> { } +export = TiMediaRewind; diff --git a/types/react-icons/lib/ti/media-stop-outline.d.ts b/types/react-icons/lib/ti/media-stop-outline.d.ts index e8728ac857..75aefbad11 100644 --- a/types/react-icons/lib/ti/media-stop-outline.d.ts +++ b/types/react-icons/lib/ti/media-stop-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMediaStopOutline extends React.Component<IconBaseProps> { } +declare class TiMediaStopOutline extends React.Component<IconBaseProps> { } +export = TiMediaStopOutline; diff --git a/types/react-icons/lib/ti/media-stop.d.ts b/types/react-icons/lib/ti/media-stop.d.ts index d38b31aa5a..abd4b9476a 100644 --- a/types/react-icons/lib/ti/media-stop.d.ts +++ b/types/react-icons/lib/ti/media-stop.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMediaStop extends React.Component<IconBaseProps> { } +declare class TiMediaStop extends React.Component<IconBaseProps> { } +export = TiMediaStop; diff --git a/types/react-icons/lib/ti/message-typing.d.ts b/types/react-icons/lib/ti/message-typing.d.ts index 2cb5497a4e..56bad96be8 100644 --- a/types/react-icons/lib/ti/message-typing.d.ts +++ b/types/react-icons/lib/ti/message-typing.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMessageTyping extends React.Component<IconBaseProps> { } +declare class TiMessageTyping extends React.Component<IconBaseProps> { } +export = TiMessageTyping; diff --git a/types/react-icons/lib/ti/message.d.ts b/types/react-icons/lib/ti/message.d.ts index 9edcc4226a..35cf9dd7fc 100644 --- a/types/react-icons/lib/ti/message.d.ts +++ b/types/react-icons/lib/ti/message.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMessage extends React.Component<IconBaseProps> { } +declare class TiMessage extends React.Component<IconBaseProps> { } +export = TiMessage; diff --git a/types/react-icons/lib/ti/messages.d.ts b/types/react-icons/lib/ti/messages.d.ts index e21fdac0a4..8c3df81714 100644 --- a/types/react-icons/lib/ti/messages.d.ts +++ b/types/react-icons/lib/ti/messages.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMessages extends React.Component<IconBaseProps> { } +declare class TiMessages extends React.Component<IconBaseProps> { } +export = TiMessages; diff --git a/types/react-icons/lib/ti/microphone-outline.d.ts b/types/react-icons/lib/ti/microphone-outline.d.ts index 27e430bd72..09a858951f 100644 --- a/types/react-icons/lib/ti/microphone-outline.d.ts +++ b/types/react-icons/lib/ti/microphone-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMicrophoneOutline extends React.Component<IconBaseProps> { } +declare class TiMicrophoneOutline extends React.Component<IconBaseProps> { } +export = TiMicrophoneOutline; diff --git a/types/react-icons/lib/ti/microphone.d.ts b/types/react-icons/lib/ti/microphone.d.ts index 543db1b50a..5cf090cf45 100644 --- a/types/react-icons/lib/ti/microphone.d.ts +++ b/types/react-icons/lib/ti/microphone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMicrophone extends React.Component<IconBaseProps> { } +declare class TiMicrophone extends React.Component<IconBaseProps> { } +export = TiMicrophone; diff --git a/types/react-icons/lib/ti/minus-outline.d.ts b/types/react-icons/lib/ti/minus-outline.d.ts index 99bb9fa7df..0400f00b05 100644 --- a/types/react-icons/lib/ti/minus-outline.d.ts +++ b/types/react-icons/lib/ti/minus-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMinusOutline extends React.Component<IconBaseProps> { } +declare class TiMinusOutline extends React.Component<IconBaseProps> { } +export = TiMinusOutline; diff --git a/types/react-icons/lib/ti/minus.d.ts b/types/react-icons/lib/ti/minus.d.ts index 6239684cfa..756e8e77fa 100644 --- a/types/react-icons/lib/ti/minus.d.ts +++ b/types/react-icons/lib/ti/minus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMinus extends React.Component<IconBaseProps> { } +declare class TiMinus extends React.Component<IconBaseProps> { } +export = TiMinus; diff --git a/types/react-icons/lib/ti/mortar-board.d.ts b/types/react-icons/lib/ti/mortar-board.d.ts index 84d29d2b24..b6a130c61a 100644 --- a/types/react-icons/lib/ti/mortar-board.d.ts +++ b/types/react-icons/lib/ti/mortar-board.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiMortarBoard extends React.Component<IconBaseProps> { } +declare class TiMortarBoard extends React.Component<IconBaseProps> { } +export = TiMortarBoard; diff --git a/types/react-icons/lib/ti/news.d.ts b/types/react-icons/lib/ti/news.d.ts index 31c3f66c1e..299b87df70 100644 --- a/types/react-icons/lib/ti/news.d.ts +++ b/types/react-icons/lib/ti/news.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiNews extends React.Component<IconBaseProps> { } +declare class TiNews extends React.Component<IconBaseProps> { } +export = TiNews; diff --git a/types/react-icons/lib/ti/notes-outline.d.ts b/types/react-icons/lib/ti/notes-outline.d.ts index 4613ba38af..4c88666fd1 100644 --- a/types/react-icons/lib/ti/notes-outline.d.ts +++ b/types/react-icons/lib/ti/notes-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiNotesOutline extends React.Component<IconBaseProps> { } +declare class TiNotesOutline extends React.Component<IconBaseProps> { } +export = TiNotesOutline; diff --git a/types/react-icons/lib/ti/notes.d.ts b/types/react-icons/lib/ti/notes.d.ts index 5d2b4160f1..cc14b2a42c 100644 --- a/types/react-icons/lib/ti/notes.d.ts +++ b/types/react-icons/lib/ti/notes.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiNotes extends React.Component<IconBaseProps> { } +declare class TiNotes extends React.Component<IconBaseProps> { } +export = TiNotes; diff --git a/types/react-icons/lib/ti/pen.d.ts b/types/react-icons/lib/ti/pen.d.ts index 79b4e72f1a..dca4bfb317 100644 --- a/types/react-icons/lib/ti/pen.d.ts +++ b/types/react-icons/lib/ti/pen.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPen extends React.Component<IconBaseProps> { } +declare class TiPen extends React.Component<IconBaseProps> { } +export = TiPen; diff --git a/types/react-icons/lib/ti/pencil.d.ts b/types/react-icons/lib/ti/pencil.d.ts index b8726f9010..eec2177732 100644 --- a/types/react-icons/lib/ti/pencil.d.ts +++ b/types/react-icons/lib/ti/pencil.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPencil extends React.Component<IconBaseProps> { } +declare class TiPencil extends React.Component<IconBaseProps> { } +export = TiPencil; diff --git a/types/react-icons/lib/ti/phone-outline.d.ts b/types/react-icons/lib/ti/phone-outline.d.ts index d84b152351..c4e2f27934 100644 --- a/types/react-icons/lib/ti/phone-outline.d.ts +++ b/types/react-icons/lib/ti/phone-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPhoneOutline extends React.Component<IconBaseProps> { } +declare class TiPhoneOutline extends React.Component<IconBaseProps> { } +export = TiPhoneOutline; diff --git a/types/react-icons/lib/ti/phone.d.ts b/types/react-icons/lib/ti/phone.d.ts index af3eb027a1..b2b26a0ab6 100644 --- a/types/react-icons/lib/ti/phone.d.ts +++ b/types/react-icons/lib/ti/phone.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPhone extends React.Component<IconBaseProps> { } +declare class TiPhone extends React.Component<IconBaseProps> { } +export = TiPhone; diff --git a/types/react-icons/lib/ti/pi-outline.d.ts b/types/react-icons/lib/ti/pi-outline.d.ts index 4327e47c3d..ea31a037be 100644 --- a/types/react-icons/lib/ti/pi-outline.d.ts +++ b/types/react-icons/lib/ti/pi-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPiOutline extends React.Component<IconBaseProps> { } +declare class TiPiOutline extends React.Component<IconBaseProps> { } +export = TiPiOutline; diff --git a/types/react-icons/lib/ti/pi.d.ts b/types/react-icons/lib/ti/pi.d.ts index d68aefa610..f1636e20cb 100644 --- a/types/react-icons/lib/ti/pi.d.ts +++ b/types/react-icons/lib/ti/pi.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPi extends React.Component<IconBaseProps> { } +declare class TiPi extends React.Component<IconBaseProps> { } +export = TiPi; diff --git a/types/react-icons/lib/ti/pin-outline.d.ts b/types/react-icons/lib/ti/pin-outline.d.ts index 5a8943532e..9cdc09aecc 100644 --- a/types/react-icons/lib/ti/pin-outline.d.ts +++ b/types/react-icons/lib/ti/pin-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPinOutline extends React.Component<IconBaseProps> { } +declare class TiPinOutline extends React.Component<IconBaseProps> { } +export = TiPinOutline; diff --git a/types/react-icons/lib/ti/pin.d.ts b/types/react-icons/lib/ti/pin.d.ts index 8d887edc98..f1f8a47e48 100644 --- a/types/react-icons/lib/ti/pin.d.ts +++ b/types/react-icons/lib/ti/pin.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPin extends React.Component<IconBaseProps> { } +declare class TiPin extends React.Component<IconBaseProps> { } +export = TiPin; diff --git a/types/react-icons/lib/ti/pipette.d.ts b/types/react-icons/lib/ti/pipette.d.ts index 4f48d8afd3..4c64322983 100644 --- a/types/react-icons/lib/ti/pipette.d.ts +++ b/types/react-icons/lib/ti/pipette.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPipette extends React.Component<IconBaseProps> { } +declare class TiPipette extends React.Component<IconBaseProps> { } +export = TiPipette; diff --git a/types/react-icons/lib/ti/plane-outline.d.ts b/types/react-icons/lib/ti/plane-outline.d.ts index ea4ac38deb..5cb48aff97 100644 --- a/types/react-icons/lib/ti/plane-outline.d.ts +++ b/types/react-icons/lib/ti/plane-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPlaneOutline extends React.Component<IconBaseProps> { } +declare class TiPlaneOutline extends React.Component<IconBaseProps> { } +export = TiPlaneOutline; diff --git a/types/react-icons/lib/ti/plane.d.ts b/types/react-icons/lib/ti/plane.d.ts index 13e32cab40..e1e7a0b826 100644 --- a/types/react-icons/lib/ti/plane.d.ts +++ b/types/react-icons/lib/ti/plane.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPlane extends React.Component<IconBaseProps> { } +declare class TiPlane extends React.Component<IconBaseProps> { } +export = TiPlane; diff --git a/types/react-icons/lib/ti/plug.d.ts b/types/react-icons/lib/ti/plug.d.ts index 019e4adc15..bda51c16e7 100644 --- a/types/react-icons/lib/ti/plug.d.ts +++ b/types/react-icons/lib/ti/plug.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPlug extends React.Component<IconBaseProps> { } +declare class TiPlug extends React.Component<IconBaseProps> { } +export = TiPlug; diff --git a/types/react-icons/lib/ti/plus-outline.d.ts b/types/react-icons/lib/ti/plus-outline.d.ts index 22ec83aedd..cbda5e05ae 100644 --- a/types/react-icons/lib/ti/plus-outline.d.ts +++ b/types/react-icons/lib/ti/plus-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPlusOutline extends React.Component<IconBaseProps> { } +declare class TiPlusOutline extends React.Component<IconBaseProps> { } +export = TiPlusOutline; diff --git a/types/react-icons/lib/ti/plus.d.ts b/types/react-icons/lib/ti/plus.d.ts index 247f279571..ebe8bd4f33 100644 --- a/types/react-icons/lib/ti/plus.d.ts +++ b/types/react-icons/lib/ti/plus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPlus extends React.Component<IconBaseProps> { } +declare class TiPlus extends React.Component<IconBaseProps> { } +export = TiPlus; diff --git a/types/react-icons/lib/ti/point-of-interest-outline.d.ts b/types/react-icons/lib/ti/point-of-interest-outline.d.ts index 63cfa579e5..e74bd4f576 100644 --- a/types/react-icons/lib/ti/point-of-interest-outline.d.ts +++ b/types/react-icons/lib/ti/point-of-interest-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPointOfInterestOutline extends React.Component<IconBaseProps> { } +declare class TiPointOfInterestOutline extends React.Component<IconBaseProps> { } +export = TiPointOfInterestOutline; diff --git a/types/react-icons/lib/ti/point-of-interest.d.ts b/types/react-icons/lib/ti/point-of-interest.d.ts index a5d480400c..eb92fad9cb 100644 --- a/types/react-icons/lib/ti/point-of-interest.d.ts +++ b/types/react-icons/lib/ti/point-of-interest.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPointOfInterest extends React.Component<IconBaseProps> { } +declare class TiPointOfInterest extends React.Component<IconBaseProps> { } +export = TiPointOfInterest; diff --git a/types/react-icons/lib/ti/power-outline.d.ts b/types/react-icons/lib/ti/power-outline.d.ts index 52f6a2262c..36327686e5 100644 --- a/types/react-icons/lib/ti/power-outline.d.ts +++ b/types/react-icons/lib/ti/power-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPowerOutline extends React.Component<IconBaseProps> { } +declare class TiPowerOutline extends React.Component<IconBaseProps> { } +export = TiPowerOutline; diff --git a/types/react-icons/lib/ti/power.d.ts b/types/react-icons/lib/ti/power.d.ts index 64dfece1af..6ad63f6bb4 100644 --- a/types/react-icons/lib/ti/power.d.ts +++ b/types/react-icons/lib/ti/power.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPower extends React.Component<IconBaseProps> { } +declare class TiPower extends React.Component<IconBaseProps> { } +export = TiPower; diff --git a/types/react-icons/lib/ti/printer.d.ts b/types/react-icons/lib/ti/printer.d.ts index 556a9f07db..7acd512291 100644 --- a/types/react-icons/lib/ti/printer.d.ts +++ b/types/react-icons/lib/ti/printer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPrinter extends React.Component<IconBaseProps> { } +declare class TiPrinter extends React.Component<IconBaseProps> { } +export = TiPrinter; diff --git a/types/react-icons/lib/ti/puzzle-outline.d.ts b/types/react-icons/lib/ti/puzzle-outline.d.ts index 4a7341192a..24c8a7c3de 100644 --- a/types/react-icons/lib/ti/puzzle-outline.d.ts +++ b/types/react-icons/lib/ti/puzzle-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPuzzleOutline extends React.Component<IconBaseProps> { } +declare class TiPuzzleOutline extends React.Component<IconBaseProps> { } +export = TiPuzzleOutline; diff --git a/types/react-icons/lib/ti/puzzle.d.ts b/types/react-icons/lib/ti/puzzle.d.ts index a0c57f6b0e..7a70e99f24 100644 --- a/types/react-icons/lib/ti/puzzle.d.ts +++ b/types/react-icons/lib/ti/puzzle.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiPuzzle extends React.Component<IconBaseProps> { } +declare class TiPuzzle extends React.Component<IconBaseProps> { } +export = TiPuzzle; diff --git a/types/react-icons/lib/ti/radar-outline.d.ts b/types/react-icons/lib/ti/radar-outline.d.ts index aad8289852..2721968675 100644 --- a/types/react-icons/lib/ti/radar-outline.d.ts +++ b/types/react-icons/lib/ti/radar-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiRadarOutline extends React.Component<IconBaseProps> { } +declare class TiRadarOutline extends React.Component<IconBaseProps> { } +export = TiRadarOutline; diff --git a/types/react-icons/lib/ti/radar.d.ts b/types/react-icons/lib/ti/radar.d.ts index b98c278714..eecdf8ed65 100644 --- a/types/react-icons/lib/ti/radar.d.ts +++ b/types/react-icons/lib/ti/radar.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiRadar extends React.Component<IconBaseProps> { } +declare class TiRadar extends React.Component<IconBaseProps> { } +export = TiRadar; diff --git a/types/react-icons/lib/ti/refresh-outline.d.ts b/types/react-icons/lib/ti/refresh-outline.d.ts index 38d77c5598..3f63f94c3b 100644 --- a/types/react-icons/lib/ti/refresh-outline.d.ts +++ b/types/react-icons/lib/ti/refresh-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiRefreshOutline extends React.Component<IconBaseProps> { } +declare class TiRefreshOutline extends React.Component<IconBaseProps> { } +export = TiRefreshOutline; diff --git a/types/react-icons/lib/ti/refresh.d.ts b/types/react-icons/lib/ti/refresh.d.ts index 6aeba2082a..52fd0e1a43 100644 --- a/types/react-icons/lib/ti/refresh.d.ts +++ b/types/react-icons/lib/ti/refresh.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiRefresh extends React.Component<IconBaseProps> { } +declare class TiRefresh extends React.Component<IconBaseProps> { } +export = TiRefresh; diff --git a/types/react-icons/lib/ti/rss-outline.d.ts b/types/react-icons/lib/ti/rss-outline.d.ts index 0b31e05198..005c3db586 100644 --- a/types/react-icons/lib/ti/rss-outline.d.ts +++ b/types/react-icons/lib/ti/rss-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiRssOutline extends React.Component<IconBaseProps> { } +declare class TiRssOutline extends React.Component<IconBaseProps> { } +export = TiRssOutline; diff --git a/types/react-icons/lib/ti/rss.d.ts b/types/react-icons/lib/ti/rss.d.ts index 13f61bf841..bd0b7a7202 100644 --- a/types/react-icons/lib/ti/rss.d.ts +++ b/types/react-icons/lib/ti/rss.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiRss extends React.Component<IconBaseProps> { } +declare class TiRss extends React.Component<IconBaseProps> { } +export = TiRss; diff --git a/types/react-icons/lib/ti/scissors-outline.d.ts b/types/react-icons/lib/ti/scissors-outline.d.ts index 82b195b7bd..7a51af29a1 100644 --- a/types/react-icons/lib/ti/scissors-outline.d.ts +++ b/types/react-icons/lib/ti/scissors-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiScissorsOutline extends React.Component<IconBaseProps> { } +declare class TiScissorsOutline extends React.Component<IconBaseProps> { } +export = TiScissorsOutline; diff --git a/types/react-icons/lib/ti/scissors.d.ts b/types/react-icons/lib/ti/scissors.d.ts index da6f78e767..546ec0f5e6 100644 --- a/types/react-icons/lib/ti/scissors.d.ts +++ b/types/react-icons/lib/ti/scissors.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiScissors extends React.Component<IconBaseProps> { } +declare class TiScissors extends React.Component<IconBaseProps> { } +export = TiScissors; diff --git a/types/react-icons/lib/ti/shopping-bag.d.ts b/types/react-icons/lib/ti/shopping-bag.d.ts index 6de75d8f81..4510fcf68f 100644 --- a/types/react-icons/lib/ti/shopping-bag.d.ts +++ b/types/react-icons/lib/ti/shopping-bag.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiShoppingBag extends React.Component<IconBaseProps> { } +declare class TiShoppingBag extends React.Component<IconBaseProps> { } +export = TiShoppingBag; diff --git a/types/react-icons/lib/ti/shopping-cart.d.ts b/types/react-icons/lib/ti/shopping-cart.d.ts index 2364dc03ba..29887be2dc 100644 --- a/types/react-icons/lib/ti/shopping-cart.d.ts +++ b/types/react-icons/lib/ti/shopping-cart.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiShoppingCart extends React.Component<IconBaseProps> { } +declare class TiShoppingCart extends React.Component<IconBaseProps> { } +export = TiShoppingCart; diff --git a/types/react-icons/lib/ti/social-at-circular.d.ts b/types/react-icons/lib/ti/social-at-circular.d.ts index 2c2fcee614..d361885a4e 100644 --- a/types/react-icons/lib/ti/social-at-circular.d.ts +++ b/types/react-icons/lib/ti/social-at-circular.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialAtCircular extends React.Component<IconBaseProps> { } +declare class TiSocialAtCircular extends React.Component<IconBaseProps> { } +export = TiSocialAtCircular; diff --git a/types/react-icons/lib/ti/social-dribbble-circular.d.ts b/types/react-icons/lib/ti/social-dribbble-circular.d.ts index 7e7ddc450a..cfc66cd9cb 100644 --- a/types/react-icons/lib/ti/social-dribbble-circular.d.ts +++ b/types/react-icons/lib/ti/social-dribbble-circular.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialDribbbleCircular extends React.Component<IconBaseProps> { } +declare class TiSocialDribbbleCircular extends React.Component<IconBaseProps> { } +export = TiSocialDribbbleCircular; diff --git a/types/react-icons/lib/ti/social-dribbble.d.ts b/types/react-icons/lib/ti/social-dribbble.d.ts index b47018320f..4c7f64be5b 100644 --- a/types/react-icons/lib/ti/social-dribbble.d.ts +++ b/types/react-icons/lib/ti/social-dribbble.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialDribbble extends React.Component<IconBaseProps> { } +declare class TiSocialDribbble extends React.Component<IconBaseProps> { } +export = TiSocialDribbble; diff --git a/types/react-icons/lib/ti/social-facebook-circular.d.ts b/types/react-icons/lib/ti/social-facebook-circular.d.ts index e9863905d3..056fdc5d33 100644 --- a/types/react-icons/lib/ti/social-facebook-circular.d.ts +++ b/types/react-icons/lib/ti/social-facebook-circular.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialFacebookCircular extends React.Component<IconBaseProps> { } +declare class TiSocialFacebookCircular extends React.Component<IconBaseProps> { } +export = TiSocialFacebookCircular; diff --git a/types/react-icons/lib/ti/social-facebook.d.ts b/types/react-icons/lib/ti/social-facebook.d.ts index 982ae3d78c..79f2801b96 100644 --- a/types/react-icons/lib/ti/social-facebook.d.ts +++ b/types/react-icons/lib/ti/social-facebook.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialFacebook extends React.Component<IconBaseProps> { } +declare class TiSocialFacebook extends React.Component<IconBaseProps> { } +export = TiSocialFacebook; diff --git a/types/react-icons/lib/ti/social-flickr-circular.d.ts b/types/react-icons/lib/ti/social-flickr-circular.d.ts index 4c7b97dce4..40e5ff2f28 100644 --- a/types/react-icons/lib/ti/social-flickr-circular.d.ts +++ b/types/react-icons/lib/ti/social-flickr-circular.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialFlickrCircular extends React.Component<IconBaseProps> { } +declare class TiSocialFlickrCircular extends React.Component<IconBaseProps> { } +export = TiSocialFlickrCircular; diff --git a/types/react-icons/lib/ti/social-flickr.d.ts b/types/react-icons/lib/ti/social-flickr.d.ts index ab945e0965..a48b8940ee 100644 --- a/types/react-icons/lib/ti/social-flickr.d.ts +++ b/types/react-icons/lib/ti/social-flickr.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialFlickr extends React.Component<IconBaseProps> { } +declare class TiSocialFlickr extends React.Component<IconBaseProps> { } +export = TiSocialFlickr; diff --git a/types/react-icons/lib/ti/social-github-circular.d.ts b/types/react-icons/lib/ti/social-github-circular.d.ts index 1db20eba35..8649071280 100644 --- a/types/react-icons/lib/ti/social-github-circular.d.ts +++ b/types/react-icons/lib/ti/social-github-circular.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialGithubCircular extends React.Component<IconBaseProps> { } +declare class TiSocialGithubCircular extends React.Component<IconBaseProps> { } +export = TiSocialGithubCircular; diff --git a/types/react-icons/lib/ti/social-github.d.ts b/types/react-icons/lib/ti/social-github.d.ts index d2f3b8f628..a8506883c5 100644 --- a/types/react-icons/lib/ti/social-github.d.ts +++ b/types/react-icons/lib/ti/social-github.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialGithub extends React.Component<IconBaseProps> { } +declare class TiSocialGithub extends React.Component<IconBaseProps> { } +export = TiSocialGithub; diff --git a/types/react-icons/lib/ti/social-google-plus-circular.d.ts b/types/react-icons/lib/ti/social-google-plus-circular.d.ts index 7fd96cf1b4..0cf3b77126 100644 --- a/types/react-icons/lib/ti/social-google-plus-circular.d.ts +++ b/types/react-icons/lib/ti/social-google-plus-circular.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialGooglePlusCircular extends React.Component<IconBaseProps> { } +declare class TiSocialGooglePlusCircular extends React.Component<IconBaseProps> { } +export = TiSocialGooglePlusCircular; diff --git a/types/react-icons/lib/ti/social-google-plus.d.ts b/types/react-icons/lib/ti/social-google-plus.d.ts index 977e3bb738..6c23799c8b 100644 --- a/types/react-icons/lib/ti/social-google-plus.d.ts +++ b/types/react-icons/lib/ti/social-google-plus.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialGooglePlus extends React.Component<IconBaseProps> { } +declare class TiSocialGooglePlus extends React.Component<IconBaseProps> { } +export = TiSocialGooglePlus; diff --git a/types/react-icons/lib/ti/social-instagram-circular.d.ts b/types/react-icons/lib/ti/social-instagram-circular.d.ts index ef7e9ea9f1..842e587a5f 100644 --- a/types/react-icons/lib/ti/social-instagram-circular.d.ts +++ b/types/react-icons/lib/ti/social-instagram-circular.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialInstagramCircular extends React.Component<IconBaseProps> { } +declare class TiSocialInstagramCircular extends React.Component<IconBaseProps> { } +export = TiSocialInstagramCircular; diff --git a/types/react-icons/lib/ti/social-instagram.d.ts b/types/react-icons/lib/ti/social-instagram.d.ts index ff4d5d3346..316e5f3eca 100644 --- a/types/react-icons/lib/ti/social-instagram.d.ts +++ b/types/react-icons/lib/ti/social-instagram.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialInstagram extends React.Component<IconBaseProps> { } +declare class TiSocialInstagram extends React.Component<IconBaseProps> { } +export = TiSocialInstagram; diff --git a/types/react-icons/lib/ti/social-last-fm-circular.d.ts b/types/react-icons/lib/ti/social-last-fm-circular.d.ts index 38e8fc08be..55c95c368f 100644 --- a/types/react-icons/lib/ti/social-last-fm-circular.d.ts +++ b/types/react-icons/lib/ti/social-last-fm-circular.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialLastFmCircular extends React.Component<IconBaseProps> { } +declare class TiSocialLastFmCircular extends React.Component<IconBaseProps> { } +export = TiSocialLastFmCircular; diff --git a/types/react-icons/lib/ti/social-last-fm.d.ts b/types/react-icons/lib/ti/social-last-fm.d.ts index fde2b626cc..9a5a0cb6b6 100644 --- a/types/react-icons/lib/ti/social-last-fm.d.ts +++ b/types/react-icons/lib/ti/social-last-fm.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialLastFm extends React.Component<IconBaseProps> { } +declare class TiSocialLastFm extends React.Component<IconBaseProps> { } +export = TiSocialLastFm; diff --git a/types/react-icons/lib/ti/social-linkedin-circular.d.ts b/types/react-icons/lib/ti/social-linkedin-circular.d.ts index 32b5ba1add..9bddd861a6 100644 --- a/types/react-icons/lib/ti/social-linkedin-circular.d.ts +++ b/types/react-icons/lib/ti/social-linkedin-circular.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialLinkedinCircular extends React.Component<IconBaseProps> { } +declare class TiSocialLinkedinCircular extends React.Component<IconBaseProps> { } +export = TiSocialLinkedinCircular; diff --git a/types/react-icons/lib/ti/social-linkedin.d.ts b/types/react-icons/lib/ti/social-linkedin.d.ts index 6a4f1b264b..70b5faa800 100644 --- a/types/react-icons/lib/ti/social-linkedin.d.ts +++ b/types/react-icons/lib/ti/social-linkedin.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialLinkedin extends React.Component<IconBaseProps> { } +declare class TiSocialLinkedin extends React.Component<IconBaseProps> { } +export = TiSocialLinkedin; diff --git a/types/react-icons/lib/ti/social-pinterest-circular.d.ts b/types/react-icons/lib/ti/social-pinterest-circular.d.ts index 4278c08e25..114f038f36 100644 --- a/types/react-icons/lib/ti/social-pinterest-circular.d.ts +++ b/types/react-icons/lib/ti/social-pinterest-circular.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialPinterestCircular extends React.Component<IconBaseProps> { } +declare class TiSocialPinterestCircular extends React.Component<IconBaseProps> { } +export = TiSocialPinterestCircular; diff --git a/types/react-icons/lib/ti/social-pinterest.d.ts b/types/react-icons/lib/ti/social-pinterest.d.ts index 1544d9d0ff..0d887417e1 100644 --- a/types/react-icons/lib/ti/social-pinterest.d.ts +++ b/types/react-icons/lib/ti/social-pinterest.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialPinterest extends React.Component<IconBaseProps> { } +declare class TiSocialPinterest extends React.Component<IconBaseProps> { } +export = TiSocialPinterest; diff --git a/types/react-icons/lib/ti/social-skype-outline.d.ts b/types/react-icons/lib/ti/social-skype-outline.d.ts index 7bc87167e4..33c5d07b8a 100644 --- a/types/react-icons/lib/ti/social-skype-outline.d.ts +++ b/types/react-icons/lib/ti/social-skype-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialSkypeOutline extends React.Component<IconBaseProps> { } +declare class TiSocialSkypeOutline extends React.Component<IconBaseProps> { } +export = TiSocialSkypeOutline; diff --git a/types/react-icons/lib/ti/social-skype.d.ts b/types/react-icons/lib/ti/social-skype.d.ts index 1c62817e98..43e9185d3a 100644 --- a/types/react-icons/lib/ti/social-skype.d.ts +++ b/types/react-icons/lib/ti/social-skype.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialSkype extends React.Component<IconBaseProps> { } +declare class TiSocialSkype extends React.Component<IconBaseProps> { } +export = TiSocialSkype; diff --git a/types/react-icons/lib/ti/social-tumbler-circular.d.ts b/types/react-icons/lib/ti/social-tumbler-circular.d.ts index 1d5823a418..5dbf8a7f14 100644 --- a/types/react-icons/lib/ti/social-tumbler-circular.d.ts +++ b/types/react-icons/lib/ti/social-tumbler-circular.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialTumblerCircular extends React.Component<IconBaseProps> { } +declare class TiSocialTumblerCircular extends React.Component<IconBaseProps> { } +export = TiSocialTumblerCircular; diff --git a/types/react-icons/lib/ti/social-tumbler.d.ts b/types/react-icons/lib/ti/social-tumbler.d.ts index 25826e8f98..151a8b0edd 100644 --- a/types/react-icons/lib/ti/social-tumbler.d.ts +++ b/types/react-icons/lib/ti/social-tumbler.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialTumbler extends React.Component<IconBaseProps> { } +declare class TiSocialTumbler extends React.Component<IconBaseProps> { } +export = TiSocialTumbler; diff --git a/types/react-icons/lib/ti/social-twitter-circular.d.ts b/types/react-icons/lib/ti/social-twitter-circular.d.ts index 951a8a90ac..3ba0fd3df3 100644 --- a/types/react-icons/lib/ti/social-twitter-circular.d.ts +++ b/types/react-icons/lib/ti/social-twitter-circular.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialTwitterCircular extends React.Component<IconBaseProps> { } +declare class TiSocialTwitterCircular extends React.Component<IconBaseProps> { } +export = TiSocialTwitterCircular; diff --git a/types/react-icons/lib/ti/social-twitter.d.ts b/types/react-icons/lib/ti/social-twitter.d.ts index 2f5d6e6fe2..27e930ba85 100644 --- a/types/react-icons/lib/ti/social-twitter.d.ts +++ b/types/react-icons/lib/ti/social-twitter.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialTwitter extends React.Component<IconBaseProps> { } +declare class TiSocialTwitter extends React.Component<IconBaseProps> { } +export = TiSocialTwitter; diff --git a/types/react-icons/lib/ti/social-vimeo-circular.d.ts b/types/react-icons/lib/ti/social-vimeo-circular.d.ts index a161f647e2..bb11c7ae22 100644 --- a/types/react-icons/lib/ti/social-vimeo-circular.d.ts +++ b/types/react-icons/lib/ti/social-vimeo-circular.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialVimeoCircular extends React.Component<IconBaseProps> { } +declare class TiSocialVimeoCircular extends React.Component<IconBaseProps> { } +export = TiSocialVimeoCircular; diff --git a/types/react-icons/lib/ti/social-vimeo.d.ts b/types/react-icons/lib/ti/social-vimeo.d.ts index 20a6fe4e96..2ac061e928 100644 --- a/types/react-icons/lib/ti/social-vimeo.d.ts +++ b/types/react-icons/lib/ti/social-vimeo.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialVimeo extends React.Component<IconBaseProps> { } +declare class TiSocialVimeo extends React.Component<IconBaseProps> { } +export = TiSocialVimeo; diff --git a/types/react-icons/lib/ti/social-youtube-circular.d.ts b/types/react-icons/lib/ti/social-youtube-circular.d.ts index 5373438d05..c89a5225c9 100644 --- a/types/react-icons/lib/ti/social-youtube-circular.d.ts +++ b/types/react-icons/lib/ti/social-youtube-circular.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialYoutubeCircular extends React.Component<IconBaseProps> { } +declare class TiSocialYoutubeCircular extends React.Component<IconBaseProps> { } +export = TiSocialYoutubeCircular; diff --git a/types/react-icons/lib/ti/social-youtube.d.ts b/types/react-icons/lib/ti/social-youtube.d.ts index 6040ccbd2e..e8316ce870 100644 --- a/types/react-icons/lib/ti/social-youtube.d.ts +++ b/types/react-icons/lib/ti/social-youtube.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSocialYoutube extends React.Component<IconBaseProps> { } +declare class TiSocialYoutube extends React.Component<IconBaseProps> { } +export = TiSocialYoutube; diff --git a/types/react-icons/lib/ti/sort-alphabetically-outline.d.ts b/types/react-icons/lib/ti/sort-alphabetically-outline.d.ts index b822906e2c..65a5887ff5 100644 --- a/types/react-icons/lib/ti/sort-alphabetically-outline.d.ts +++ b/types/react-icons/lib/ti/sort-alphabetically-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSortAlphabeticallyOutline extends React.Component<IconBaseProps> { } +declare class TiSortAlphabeticallyOutline extends React.Component<IconBaseProps> { } +export = TiSortAlphabeticallyOutline; diff --git a/types/react-icons/lib/ti/sort-alphabetically.d.ts b/types/react-icons/lib/ti/sort-alphabetically.d.ts index 75a9622393..0ffb8c6a56 100644 --- a/types/react-icons/lib/ti/sort-alphabetically.d.ts +++ b/types/react-icons/lib/ti/sort-alphabetically.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSortAlphabetically extends React.Component<IconBaseProps> { } +declare class TiSortAlphabetically extends React.Component<IconBaseProps> { } +export = TiSortAlphabetically; diff --git a/types/react-icons/lib/ti/sort-numerically-outline.d.ts b/types/react-icons/lib/ti/sort-numerically-outline.d.ts index e279726f0c..d6de6bd6b3 100644 --- a/types/react-icons/lib/ti/sort-numerically-outline.d.ts +++ b/types/react-icons/lib/ti/sort-numerically-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSortNumericallyOutline extends React.Component<IconBaseProps> { } +declare class TiSortNumericallyOutline extends React.Component<IconBaseProps> { } +export = TiSortNumericallyOutline; diff --git a/types/react-icons/lib/ti/sort-numerically.d.ts b/types/react-icons/lib/ti/sort-numerically.d.ts index d514d789f3..25f11dd093 100644 --- a/types/react-icons/lib/ti/sort-numerically.d.ts +++ b/types/react-icons/lib/ti/sort-numerically.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSortNumerically extends React.Component<IconBaseProps> { } +declare class TiSortNumerically extends React.Component<IconBaseProps> { } +export = TiSortNumerically; diff --git a/types/react-icons/lib/ti/spanner-outline.d.ts b/types/react-icons/lib/ti/spanner-outline.d.ts index 424e07581a..eb560945b1 100644 --- a/types/react-icons/lib/ti/spanner-outline.d.ts +++ b/types/react-icons/lib/ti/spanner-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSpannerOutline extends React.Component<IconBaseProps> { } +declare class TiSpannerOutline extends React.Component<IconBaseProps> { } +export = TiSpannerOutline; diff --git a/types/react-icons/lib/ti/spanner.d.ts b/types/react-icons/lib/ti/spanner.d.ts index bcfc2421d2..7603d7dae8 100644 --- a/types/react-icons/lib/ti/spanner.d.ts +++ b/types/react-icons/lib/ti/spanner.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSpanner extends React.Component<IconBaseProps> { } +declare class TiSpanner extends React.Component<IconBaseProps> { } +export = TiSpanner; diff --git a/types/react-icons/lib/ti/spiral.d.ts b/types/react-icons/lib/ti/spiral.d.ts index f35df30ad0..c3c9eb04d0 100644 --- a/types/react-icons/lib/ti/spiral.d.ts +++ b/types/react-icons/lib/ti/spiral.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSpiral extends React.Component<IconBaseProps> { } +declare class TiSpiral extends React.Component<IconBaseProps> { } +export = TiSpiral; diff --git a/types/react-icons/lib/ti/star-full-outline.d.ts b/types/react-icons/lib/ti/star-full-outline.d.ts index f1c40795ae..9e67992135 100644 --- a/types/react-icons/lib/ti/star-full-outline.d.ts +++ b/types/react-icons/lib/ti/star-full-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiStarFullOutline extends React.Component<IconBaseProps> { } +declare class TiStarFullOutline extends React.Component<IconBaseProps> { } +export = TiStarFullOutline; diff --git a/types/react-icons/lib/ti/star-half-outline.d.ts b/types/react-icons/lib/ti/star-half-outline.d.ts index 4e93ae767e..4e0da3b6b2 100644 --- a/types/react-icons/lib/ti/star-half-outline.d.ts +++ b/types/react-icons/lib/ti/star-half-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiStarHalfOutline extends React.Component<IconBaseProps> { } +declare class TiStarHalfOutline extends React.Component<IconBaseProps> { } +export = TiStarHalfOutline; diff --git a/types/react-icons/lib/ti/star-half.d.ts b/types/react-icons/lib/ti/star-half.d.ts index b9409290f7..cd469744f6 100644 --- a/types/react-icons/lib/ti/star-half.d.ts +++ b/types/react-icons/lib/ti/star-half.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiStarHalf extends React.Component<IconBaseProps> { } +declare class TiStarHalf extends React.Component<IconBaseProps> { } +export = TiStarHalf; diff --git a/types/react-icons/lib/ti/star-outline.d.ts b/types/react-icons/lib/ti/star-outline.d.ts index c5c504aec6..1478f12335 100644 --- a/types/react-icons/lib/ti/star-outline.d.ts +++ b/types/react-icons/lib/ti/star-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiStarOutline extends React.Component<IconBaseProps> { } +declare class TiStarOutline extends React.Component<IconBaseProps> { } +export = TiStarOutline; diff --git a/types/react-icons/lib/ti/star.d.ts b/types/react-icons/lib/ti/star.d.ts index 6c7cfe125b..c0002aca9e 100644 --- a/types/react-icons/lib/ti/star.d.ts +++ b/types/react-icons/lib/ti/star.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiStar extends React.Component<IconBaseProps> { } +declare class TiStar extends React.Component<IconBaseProps> { } +export = TiStar; diff --git a/types/react-icons/lib/ti/starburst-outline.d.ts b/types/react-icons/lib/ti/starburst-outline.d.ts index 621a50c206..1291dfdfaf 100644 --- a/types/react-icons/lib/ti/starburst-outline.d.ts +++ b/types/react-icons/lib/ti/starburst-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiStarburstOutline extends React.Component<IconBaseProps> { } +declare class TiStarburstOutline extends React.Component<IconBaseProps> { } +export = TiStarburstOutline; diff --git a/types/react-icons/lib/ti/starburst.d.ts b/types/react-icons/lib/ti/starburst.d.ts index 5deb65f908..84ddfdcda0 100644 --- a/types/react-icons/lib/ti/starburst.d.ts +++ b/types/react-icons/lib/ti/starburst.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiStarburst extends React.Component<IconBaseProps> { } +declare class TiStarburst extends React.Component<IconBaseProps> { } +export = TiStarburst; diff --git a/types/react-icons/lib/ti/stopwatch.d.ts b/types/react-icons/lib/ti/stopwatch.d.ts index 2433dc6b21..06dea660b4 100644 --- a/types/react-icons/lib/ti/stopwatch.d.ts +++ b/types/react-icons/lib/ti/stopwatch.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiStopwatch extends React.Component<IconBaseProps> { } +declare class TiStopwatch extends React.Component<IconBaseProps> { } +export = TiStopwatch; diff --git a/types/react-icons/lib/ti/support.d.ts b/types/react-icons/lib/ti/support.d.ts index 629e7c1596..e5721d0795 100644 --- a/types/react-icons/lib/ti/support.d.ts +++ b/types/react-icons/lib/ti/support.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiSupport extends React.Component<IconBaseProps> { } +declare class TiSupport extends React.Component<IconBaseProps> { } +export = TiSupport; diff --git a/types/react-icons/lib/ti/tabs-outline.d.ts b/types/react-icons/lib/ti/tabs-outline.d.ts index a3debbbc0a..c9a1fb6f1c 100644 --- a/types/react-icons/lib/ti/tabs-outline.d.ts +++ b/types/react-icons/lib/ti/tabs-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiTabsOutline extends React.Component<IconBaseProps> { } +declare class TiTabsOutline extends React.Component<IconBaseProps> { } +export = TiTabsOutline; diff --git a/types/react-icons/lib/ti/tag.d.ts b/types/react-icons/lib/ti/tag.d.ts index ec88c4ff81..98fd85c456 100644 --- a/types/react-icons/lib/ti/tag.d.ts +++ b/types/react-icons/lib/ti/tag.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiTag extends React.Component<IconBaseProps> { } +declare class TiTag extends React.Component<IconBaseProps> { } +export = TiTag; diff --git a/types/react-icons/lib/ti/tags.d.ts b/types/react-icons/lib/ti/tags.d.ts index a0e4a1a154..dd7602c55b 100644 --- a/types/react-icons/lib/ti/tags.d.ts +++ b/types/react-icons/lib/ti/tags.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiTags extends React.Component<IconBaseProps> { } +declare class TiTags extends React.Component<IconBaseProps> { } +export = TiTags; diff --git a/types/react-icons/lib/ti/th-large-outline.d.ts b/types/react-icons/lib/ti/th-large-outline.d.ts index 652b61667c..4d35e315af 100644 --- a/types/react-icons/lib/ti/th-large-outline.d.ts +++ b/types/react-icons/lib/ti/th-large-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiThLargeOutline extends React.Component<IconBaseProps> { } +declare class TiThLargeOutline extends React.Component<IconBaseProps> { } +export = TiThLargeOutline; diff --git a/types/react-icons/lib/ti/th-large.d.ts b/types/react-icons/lib/ti/th-large.d.ts index bde15e269a..140da5c2e8 100644 --- a/types/react-icons/lib/ti/th-large.d.ts +++ b/types/react-icons/lib/ti/th-large.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiThLarge extends React.Component<IconBaseProps> { } +declare class TiThLarge extends React.Component<IconBaseProps> { } +export = TiThLarge; diff --git a/types/react-icons/lib/ti/th-list-outline.d.ts b/types/react-icons/lib/ti/th-list-outline.d.ts index a906b52c05..7b7b0b60cd 100644 --- a/types/react-icons/lib/ti/th-list-outline.d.ts +++ b/types/react-icons/lib/ti/th-list-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiThListOutline extends React.Component<IconBaseProps> { } +declare class TiThListOutline extends React.Component<IconBaseProps> { } +export = TiThListOutline; diff --git a/types/react-icons/lib/ti/th-list.d.ts b/types/react-icons/lib/ti/th-list.d.ts index ebb6163713..115fba8852 100644 --- a/types/react-icons/lib/ti/th-list.d.ts +++ b/types/react-icons/lib/ti/th-list.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiThList extends React.Component<IconBaseProps> { } +declare class TiThList extends React.Component<IconBaseProps> { } +export = TiThList; diff --git a/types/react-icons/lib/ti/th-menu-outline.d.ts b/types/react-icons/lib/ti/th-menu-outline.d.ts index df09e4456f..95133b9279 100644 --- a/types/react-icons/lib/ti/th-menu-outline.d.ts +++ b/types/react-icons/lib/ti/th-menu-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiThMenuOutline extends React.Component<IconBaseProps> { } +declare class TiThMenuOutline extends React.Component<IconBaseProps> { } +export = TiThMenuOutline; diff --git a/types/react-icons/lib/ti/th-menu.d.ts b/types/react-icons/lib/ti/th-menu.d.ts index e03eadc959..86cdbe68a6 100644 --- a/types/react-icons/lib/ti/th-menu.d.ts +++ b/types/react-icons/lib/ti/th-menu.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiThMenu extends React.Component<IconBaseProps> { } +declare class TiThMenu extends React.Component<IconBaseProps> { } +export = TiThMenu; diff --git a/types/react-icons/lib/ti/th-small-outline.d.ts b/types/react-icons/lib/ti/th-small-outline.d.ts index 995c8c1f88..5698e7d2da 100644 --- a/types/react-icons/lib/ti/th-small-outline.d.ts +++ b/types/react-icons/lib/ti/th-small-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiThSmallOutline extends React.Component<IconBaseProps> { } +declare class TiThSmallOutline extends React.Component<IconBaseProps> { } +export = TiThSmallOutline; diff --git a/types/react-icons/lib/ti/th-small.d.ts b/types/react-icons/lib/ti/th-small.d.ts index 332f49b3f1..a62a010fb5 100644 --- a/types/react-icons/lib/ti/th-small.d.ts +++ b/types/react-icons/lib/ti/th-small.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiThSmall extends React.Component<IconBaseProps> { } +declare class TiThSmall extends React.Component<IconBaseProps> { } +export = TiThSmall; diff --git a/types/react-icons/lib/ti/thermometer.d.ts b/types/react-icons/lib/ti/thermometer.d.ts index 771653ad7b..215ed0b25f 100644 --- a/types/react-icons/lib/ti/thermometer.d.ts +++ b/types/react-icons/lib/ti/thermometer.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiThermometer extends React.Component<IconBaseProps> { } +declare class TiThermometer extends React.Component<IconBaseProps> { } +export = TiThermometer; diff --git a/types/react-icons/lib/ti/thumbs-down.d.ts b/types/react-icons/lib/ti/thumbs-down.d.ts index bb60d7aaa9..4c9dfec4db 100644 --- a/types/react-icons/lib/ti/thumbs-down.d.ts +++ b/types/react-icons/lib/ti/thumbs-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiThumbsDown extends React.Component<IconBaseProps> { } +declare class TiThumbsDown extends React.Component<IconBaseProps> { } +export = TiThumbsDown; diff --git a/types/react-icons/lib/ti/thumbs-ok.d.ts b/types/react-icons/lib/ti/thumbs-ok.d.ts index 610f5a2633..fa1dc24674 100644 --- a/types/react-icons/lib/ti/thumbs-ok.d.ts +++ b/types/react-icons/lib/ti/thumbs-ok.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiThumbsOk extends React.Component<IconBaseProps> { } +declare class TiThumbsOk extends React.Component<IconBaseProps> { } +export = TiThumbsOk; diff --git a/types/react-icons/lib/ti/thumbs-up.d.ts b/types/react-icons/lib/ti/thumbs-up.d.ts index 01747a7a8b..30f7d307c9 100644 --- a/types/react-icons/lib/ti/thumbs-up.d.ts +++ b/types/react-icons/lib/ti/thumbs-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiThumbsUp extends React.Component<IconBaseProps> { } +declare class TiThumbsUp extends React.Component<IconBaseProps> { } +export = TiThumbsUp; diff --git a/types/react-icons/lib/ti/tick-outline.d.ts b/types/react-icons/lib/ti/tick-outline.d.ts index 8c8fd0025c..a5e042c11f 100644 --- a/types/react-icons/lib/ti/tick-outline.d.ts +++ b/types/react-icons/lib/ti/tick-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiTickOutline extends React.Component<IconBaseProps> { } +declare class TiTickOutline extends React.Component<IconBaseProps> { } +export = TiTickOutline; diff --git a/types/react-icons/lib/ti/tick.d.ts b/types/react-icons/lib/ti/tick.d.ts index fc06a6fe51..3d87851d21 100644 --- a/types/react-icons/lib/ti/tick.d.ts +++ b/types/react-icons/lib/ti/tick.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiTick extends React.Component<IconBaseProps> { } +declare class TiTick extends React.Component<IconBaseProps> { } +export = TiTick; diff --git a/types/react-icons/lib/ti/ticket.d.ts b/types/react-icons/lib/ti/ticket.d.ts index 3248f1018c..3dae38b765 100644 --- a/types/react-icons/lib/ti/ticket.d.ts +++ b/types/react-icons/lib/ti/ticket.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiTicket extends React.Component<IconBaseProps> { } +declare class TiTicket extends React.Component<IconBaseProps> { } +export = TiTicket; diff --git a/types/react-icons/lib/ti/time.d.ts b/types/react-icons/lib/ti/time.d.ts index fd09903b66..8fa833fac0 100644 --- a/types/react-icons/lib/ti/time.d.ts +++ b/types/react-icons/lib/ti/time.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiTime extends React.Component<IconBaseProps> { } +declare class TiTime extends React.Component<IconBaseProps> { } +export = TiTime; diff --git a/types/react-icons/lib/ti/times-outline.d.ts b/types/react-icons/lib/ti/times-outline.d.ts index 52fd65e3ba..e5f1c26992 100644 --- a/types/react-icons/lib/ti/times-outline.d.ts +++ b/types/react-icons/lib/ti/times-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiTimesOutline extends React.Component<IconBaseProps> { } +declare class TiTimesOutline extends React.Component<IconBaseProps> { } +export = TiTimesOutline; diff --git a/types/react-icons/lib/ti/times.d.ts b/types/react-icons/lib/ti/times.d.ts index 1b60d77610..b919d26cd6 100644 --- a/types/react-icons/lib/ti/times.d.ts +++ b/types/react-icons/lib/ti/times.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiTimes extends React.Component<IconBaseProps> { } +declare class TiTimes extends React.Component<IconBaseProps> { } +export = TiTimes; diff --git a/types/react-icons/lib/ti/trash.d.ts b/types/react-icons/lib/ti/trash.d.ts index 2772532c76..fead6b7a52 100644 --- a/types/react-icons/lib/ti/trash.d.ts +++ b/types/react-icons/lib/ti/trash.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiTrash extends React.Component<IconBaseProps> { } +declare class TiTrash extends React.Component<IconBaseProps> { } +export = TiTrash; diff --git a/types/react-icons/lib/ti/tree.d.ts b/types/react-icons/lib/ti/tree.d.ts index a0f46de32e..7e65d3b2b3 100644 --- a/types/react-icons/lib/ti/tree.d.ts +++ b/types/react-icons/lib/ti/tree.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiTree extends React.Component<IconBaseProps> { } +declare class TiTree extends React.Component<IconBaseProps> { } +export = TiTree; diff --git a/types/react-icons/lib/ti/upload-outline.d.ts b/types/react-icons/lib/ti/upload-outline.d.ts index 541435783e..6231ad1817 100644 --- a/types/react-icons/lib/ti/upload-outline.d.ts +++ b/types/react-icons/lib/ti/upload-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiUploadOutline extends React.Component<IconBaseProps> { } +declare class TiUploadOutline extends React.Component<IconBaseProps> { } +export = TiUploadOutline; diff --git a/types/react-icons/lib/ti/upload.d.ts b/types/react-icons/lib/ti/upload.d.ts index 5875c4576b..9e8cef54e6 100644 --- a/types/react-icons/lib/ti/upload.d.ts +++ b/types/react-icons/lib/ti/upload.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiUpload extends React.Component<IconBaseProps> { } +declare class TiUpload extends React.Component<IconBaseProps> { } +export = TiUpload; diff --git a/types/react-icons/lib/ti/user-add-outline.d.ts b/types/react-icons/lib/ti/user-add-outline.d.ts index 80590bcdaa..a645e140a5 100644 --- a/types/react-icons/lib/ti/user-add-outline.d.ts +++ b/types/react-icons/lib/ti/user-add-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiUserAddOutline extends React.Component<IconBaseProps> { } +declare class TiUserAddOutline extends React.Component<IconBaseProps> { } +export = TiUserAddOutline; diff --git a/types/react-icons/lib/ti/user-add.d.ts b/types/react-icons/lib/ti/user-add.d.ts index 18d297cb33..86c405e8ca 100644 --- a/types/react-icons/lib/ti/user-add.d.ts +++ b/types/react-icons/lib/ti/user-add.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiUserAdd extends React.Component<IconBaseProps> { } +declare class TiUserAdd extends React.Component<IconBaseProps> { } +export = TiUserAdd; diff --git a/types/react-icons/lib/ti/user-delete-outline.d.ts b/types/react-icons/lib/ti/user-delete-outline.d.ts index 19f98f8eed..4410e4f2b4 100644 --- a/types/react-icons/lib/ti/user-delete-outline.d.ts +++ b/types/react-icons/lib/ti/user-delete-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiUserDeleteOutline extends React.Component<IconBaseProps> { } +declare class TiUserDeleteOutline extends React.Component<IconBaseProps> { } +export = TiUserDeleteOutline; diff --git a/types/react-icons/lib/ti/user-delete.d.ts b/types/react-icons/lib/ti/user-delete.d.ts index 2c12847a35..19908d00c4 100644 --- a/types/react-icons/lib/ti/user-delete.d.ts +++ b/types/react-icons/lib/ti/user-delete.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiUserDelete extends React.Component<IconBaseProps> { } +declare class TiUserDelete extends React.Component<IconBaseProps> { } +export = TiUserDelete; diff --git a/types/react-icons/lib/ti/user-outline.d.ts b/types/react-icons/lib/ti/user-outline.d.ts index 64e4678e0c..39ec3a974c 100644 --- a/types/react-icons/lib/ti/user-outline.d.ts +++ b/types/react-icons/lib/ti/user-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiUserOutline extends React.Component<IconBaseProps> { } +declare class TiUserOutline extends React.Component<IconBaseProps> { } +export = TiUserOutline; diff --git a/types/react-icons/lib/ti/user.d.ts b/types/react-icons/lib/ti/user.d.ts index a333a43892..ce655bf6a2 100644 --- a/types/react-icons/lib/ti/user.d.ts +++ b/types/react-icons/lib/ti/user.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiUser extends React.Component<IconBaseProps> { } +declare class TiUser extends React.Component<IconBaseProps> { } +export = TiUser; diff --git a/types/react-icons/lib/ti/vendor-android.d.ts b/types/react-icons/lib/ti/vendor-android.d.ts index 8075011cff..19874afcdf 100644 --- a/types/react-icons/lib/ti/vendor-android.d.ts +++ b/types/react-icons/lib/ti/vendor-android.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiVendorAndroid extends React.Component<IconBaseProps> { } +declare class TiVendorAndroid extends React.Component<IconBaseProps> { } +export = TiVendorAndroid; diff --git a/types/react-icons/lib/ti/vendor-apple.d.ts b/types/react-icons/lib/ti/vendor-apple.d.ts index d100e9de7f..bdd568dfd7 100644 --- a/types/react-icons/lib/ti/vendor-apple.d.ts +++ b/types/react-icons/lib/ti/vendor-apple.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiVendorApple extends React.Component<IconBaseProps> { } +declare class TiVendorApple extends React.Component<IconBaseProps> { } +export = TiVendorApple; diff --git a/types/react-icons/lib/ti/vendor-microsoft.d.ts b/types/react-icons/lib/ti/vendor-microsoft.d.ts index fc2393f6c8..864b8573b3 100644 --- a/types/react-icons/lib/ti/vendor-microsoft.d.ts +++ b/types/react-icons/lib/ti/vendor-microsoft.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiVendorMicrosoft extends React.Component<IconBaseProps> { } +declare class TiVendorMicrosoft extends React.Component<IconBaseProps> { } +export = TiVendorMicrosoft; diff --git a/types/react-icons/lib/ti/video-outline.d.ts b/types/react-icons/lib/ti/video-outline.d.ts index ff4ded254c..128e6dc56a 100644 --- a/types/react-icons/lib/ti/video-outline.d.ts +++ b/types/react-icons/lib/ti/video-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiVideoOutline extends React.Component<IconBaseProps> { } +declare class TiVideoOutline extends React.Component<IconBaseProps> { } +export = TiVideoOutline; diff --git a/types/react-icons/lib/ti/video.d.ts b/types/react-icons/lib/ti/video.d.ts index 59503c717e..8ade0ec0f8 100644 --- a/types/react-icons/lib/ti/video.d.ts +++ b/types/react-icons/lib/ti/video.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiVideo extends React.Component<IconBaseProps> { } +declare class TiVideo extends React.Component<IconBaseProps> { } +export = TiVideo; diff --git a/types/react-icons/lib/ti/volume-down.d.ts b/types/react-icons/lib/ti/volume-down.d.ts index cd012e5287..1b6bcb569d 100644 --- a/types/react-icons/lib/ti/volume-down.d.ts +++ b/types/react-icons/lib/ti/volume-down.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiVolumeDown extends React.Component<IconBaseProps> { } +declare class TiVolumeDown extends React.Component<IconBaseProps> { } +export = TiVolumeDown; diff --git a/types/react-icons/lib/ti/volume-mute.d.ts b/types/react-icons/lib/ti/volume-mute.d.ts index df323c2347..8d3c6884c0 100644 --- a/types/react-icons/lib/ti/volume-mute.d.ts +++ b/types/react-icons/lib/ti/volume-mute.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiVolumeMute extends React.Component<IconBaseProps> { } +declare class TiVolumeMute extends React.Component<IconBaseProps> { } +export = TiVolumeMute; diff --git a/types/react-icons/lib/ti/volume-up.d.ts b/types/react-icons/lib/ti/volume-up.d.ts index 443c4bb060..47aaba1cb8 100644 --- a/types/react-icons/lib/ti/volume-up.d.ts +++ b/types/react-icons/lib/ti/volume-up.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiVolumeUp extends React.Component<IconBaseProps> { } +declare class TiVolumeUp extends React.Component<IconBaseProps> { } +export = TiVolumeUp; diff --git a/types/react-icons/lib/ti/volume.d.ts b/types/react-icons/lib/ti/volume.d.ts index ebbe9bac7a..51aaf0b33b 100644 --- a/types/react-icons/lib/ti/volume.d.ts +++ b/types/react-icons/lib/ti/volume.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiVolume extends React.Component<IconBaseProps> { } +declare class TiVolume extends React.Component<IconBaseProps> { } +export = TiVolume; diff --git a/types/react-icons/lib/ti/warning-outline.d.ts b/types/react-icons/lib/ti/warning-outline.d.ts index 66d630a33d..5e5ebbaa1e 100644 --- a/types/react-icons/lib/ti/warning-outline.d.ts +++ b/types/react-icons/lib/ti/warning-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiWarningOutline extends React.Component<IconBaseProps> { } +declare class TiWarningOutline extends React.Component<IconBaseProps> { } +export = TiWarningOutline; diff --git a/types/react-icons/lib/ti/warning.d.ts b/types/react-icons/lib/ti/warning.d.ts index 394d46e315..2aeb57fdda 100644 --- a/types/react-icons/lib/ti/warning.d.ts +++ b/types/react-icons/lib/ti/warning.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiWarning extends React.Component<IconBaseProps> { } +declare class TiWarning extends React.Component<IconBaseProps> { } +export = TiWarning; diff --git a/types/react-icons/lib/ti/watch.d.ts b/types/react-icons/lib/ti/watch.d.ts index 191379a23f..4734c5b196 100644 --- a/types/react-icons/lib/ti/watch.d.ts +++ b/types/react-icons/lib/ti/watch.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiWatch extends React.Component<IconBaseProps> { } +declare class TiWatch extends React.Component<IconBaseProps> { } +export = TiWatch; diff --git a/types/react-icons/lib/ti/waves-outline.d.ts b/types/react-icons/lib/ti/waves-outline.d.ts index 814f0bb4bd..1557bbc07b 100644 --- a/types/react-icons/lib/ti/waves-outline.d.ts +++ b/types/react-icons/lib/ti/waves-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiWavesOutline extends React.Component<IconBaseProps> { } +declare class TiWavesOutline extends React.Component<IconBaseProps> { } +export = TiWavesOutline; diff --git a/types/react-icons/lib/ti/waves.d.ts b/types/react-icons/lib/ti/waves.d.ts index 10d88f9f9c..5a2862cc02 100644 --- a/types/react-icons/lib/ti/waves.d.ts +++ b/types/react-icons/lib/ti/waves.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiWaves extends React.Component<IconBaseProps> { } +declare class TiWaves extends React.Component<IconBaseProps> { } +export = TiWaves; diff --git a/types/react-icons/lib/ti/weather-cloudy.d.ts b/types/react-icons/lib/ti/weather-cloudy.d.ts index f0a7569133..198d322ec7 100644 --- a/types/react-icons/lib/ti/weather-cloudy.d.ts +++ b/types/react-icons/lib/ti/weather-cloudy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiWeatherCloudy extends React.Component<IconBaseProps> { } +declare class TiWeatherCloudy extends React.Component<IconBaseProps> { } +export = TiWeatherCloudy; diff --git a/types/react-icons/lib/ti/weather-downpour.d.ts b/types/react-icons/lib/ti/weather-downpour.d.ts index 945dd0b196..b7b9b61962 100644 --- a/types/react-icons/lib/ti/weather-downpour.d.ts +++ b/types/react-icons/lib/ti/weather-downpour.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiWeatherDownpour extends React.Component<IconBaseProps> { } +declare class TiWeatherDownpour extends React.Component<IconBaseProps> { } +export = TiWeatherDownpour; diff --git a/types/react-icons/lib/ti/weather-night.d.ts b/types/react-icons/lib/ti/weather-night.d.ts index 72b8e61ebd..afad50979f 100644 --- a/types/react-icons/lib/ti/weather-night.d.ts +++ b/types/react-icons/lib/ti/weather-night.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiWeatherNight extends React.Component<IconBaseProps> { } +declare class TiWeatherNight extends React.Component<IconBaseProps> { } +export = TiWeatherNight; diff --git a/types/react-icons/lib/ti/weather-partly-sunny.d.ts b/types/react-icons/lib/ti/weather-partly-sunny.d.ts index 9acece9fcf..cb328b5118 100644 --- a/types/react-icons/lib/ti/weather-partly-sunny.d.ts +++ b/types/react-icons/lib/ti/weather-partly-sunny.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiWeatherPartlySunny extends React.Component<IconBaseProps> { } +declare class TiWeatherPartlySunny extends React.Component<IconBaseProps> { } +export = TiWeatherPartlySunny; diff --git a/types/react-icons/lib/ti/weather-shower.d.ts b/types/react-icons/lib/ti/weather-shower.d.ts index d96b321350..3ec7cc4daf 100644 --- a/types/react-icons/lib/ti/weather-shower.d.ts +++ b/types/react-icons/lib/ti/weather-shower.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiWeatherShower extends React.Component<IconBaseProps> { } +declare class TiWeatherShower extends React.Component<IconBaseProps> { } +export = TiWeatherShower; diff --git a/types/react-icons/lib/ti/weather-snow.d.ts b/types/react-icons/lib/ti/weather-snow.d.ts index 8e274c5f85..e859e5994c 100644 --- a/types/react-icons/lib/ti/weather-snow.d.ts +++ b/types/react-icons/lib/ti/weather-snow.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiWeatherSnow extends React.Component<IconBaseProps> { } +declare class TiWeatherSnow extends React.Component<IconBaseProps> { } +export = TiWeatherSnow; diff --git a/types/react-icons/lib/ti/weather-stormy.d.ts b/types/react-icons/lib/ti/weather-stormy.d.ts index 0fe69851dc..bd7a8efe19 100644 --- a/types/react-icons/lib/ti/weather-stormy.d.ts +++ b/types/react-icons/lib/ti/weather-stormy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiWeatherStormy extends React.Component<IconBaseProps> { } +declare class TiWeatherStormy extends React.Component<IconBaseProps> { } +export = TiWeatherStormy; diff --git a/types/react-icons/lib/ti/weather-sunny.d.ts b/types/react-icons/lib/ti/weather-sunny.d.ts index 96bb430093..ce0d40f2a0 100644 --- a/types/react-icons/lib/ti/weather-sunny.d.ts +++ b/types/react-icons/lib/ti/weather-sunny.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiWeatherSunny extends React.Component<IconBaseProps> { } +declare class TiWeatherSunny extends React.Component<IconBaseProps> { } +export = TiWeatherSunny; diff --git a/types/react-icons/lib/ti/weather-windy-cloudy.d.ts b/types/react-icons/lib/ti/weather-windy-cloudy.d.ts index d28624e436..c13e223667 100644 --- a/types/react-icons/lib/ti/weather-windy-cloudy.d.ts +++ b/types/react-icons/lib/ti/weather-windy-cloudy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiWeatherWindyCloudy extends React.Component<IconBaseProps> { } +declare class TiWeatherWindyCloudy extends React.Component<IconBaseProps> { } +export = TiWeatherWindyCloudy; diff --git a/types/react-icons/lib/ti/weather-windy.d.ts b/types/react-icons/lib/ti/weather-windy.d.ts index e5808895f1..ca7cad2b89 100644 --- a/types/react-icons/lib/ti/weather-windy.d.ts +++ b/types/react-icons/lib/ti/weather-windy.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiWeatherWindy extends React.Component<IconBaseProps> { } +declare class TiWeatherWindy extends React.Component<IconBaseProps> { } +export = TiWeatherWindy; diff --git a/types/react-icons/lib/ti/wi-fi-outline.d.ts b/types/react-icons/lib/ti/wi-fi-outline.d.ts index 54c27adcb2..4095d20411 100644 --- a/types/react-icons/lib/ti/wi-fi-outline.d.ts +++ b/types/react-icons/lib/ti/wi-fi-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiWiFiOutline extends React.Component<IconBaseProps> { } +declare class TiWiFiOutline extends React.Component<IconBaseProps> { } +export = TiWiFiOutline; diff --git a/types/react-icons/lib/ti/wi-fi.d.ts b/types/react-icons/lib/ti/wi-fi.d.ts index 46cc54f2f5..cb4b4e788e 100644 --- a/types/react-icons/lib/ti/wi-fi.d.ts +++ b/types/react-icons/lib/ti/wi-fi.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiWiFi extends React.Component<IconBaseProps> { } +declare class TiWiFi extends React.Component<IconBaseProps> { } +export = TiWiFi; diff --git a/types/react-icons/lib/ti/wine.d.ts b/types/react-icons/lib/ti/wine.d.ts index aab4d0d43e..fadc412a6b 100644 --- a/types/react-icons/lib/ti/wine.d.ts +++ b/types/react-icons/lib/ti/wine.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiWine extends React.Component<IconBaseProps> { } +declare class TiWine extends React.Component<IconBaseProps> { } +export = TiWine; diff --git a/types/react-icons/lib/ti/world-outline.d.ts b/types/react-icons/lib/ti/world-outline.d.ts index deb94cd766..e7b86d925a 100644 --- a/types/react-icons/lib/ti/world-outline.d.ts +++ b/types/react-icons/lib/ti/world-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiWorldOutline extends React.Component<IconBaseProps> { } +declare class TiWorldOutline extends React.Component<IconBaseProps> { } +export = TiWorldOutline; diff --git a/types/react-icons/lib/ti/world.d.ts b/types/react-icons/lib/ti/world.d.ts index 54d7682959..259dbe97a1 100644 --- a/types/react-icons/lib/ti/world.d.ts +++ b/types/react-icons/lib/ti/world.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiWorld extends React.Component<IconBaseProps> { } +declare class TiWorld extends React.Component<IconBaseProps> { } +export = TiWorld; diff --git a/types/react-icons/lib/ti/zoom-in-outline.d.ts b/types/react-icons/lib/ti/zoom-in-outline.d.ts index 9f0c9c98a7..b53327ba70 100644 --- a/types/react-icons/lib/ti/zoom-in-outline.d.ts +++ b/types/react-icons/lib/ti/zoom-in-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiZoomInOutline extends React.Component<IconBaseProps> { } +declare class TiZoomInOutline extends React.Component<IconBaseProps> { } +export = TiZoomInOutline; diff --git a/types/react-icons/lib/ti/zoom-in.d.ts b/types/react-icons/lib/ti/zoom-in.d.ts index 4b9716467b..47645f8cee 100644 --- a/types/react-icons/lib/ti/zoom-in.d.ts +++ b/types/react-icons/lib/ti/zoom-in.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiZoomIn extends React.Component<IconBaseProps> { } +declare class TiZoomIn extends React.Component<IconBaseProps> { } +export = TiZoomIn; diff --git a/types/react-icons/lib/ti/zoom-out-outline.d.ts b/types/react-icons/lib/ti/zoom-out-outline.d.ts index bdb15bbf3f..c5db3791a2 100644 --- a/types/react-icons/lib/ti/zoom-out-outline.d.ts +++ b/types/react-icons/lib/ti/zoom-out-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiZoomOutOutline extends React.Component<IconBaseProps> { } +declare class TiZoomOutOutline extends React.Component<IconBaseProps> { } +export = TiZoomOutOutline; diff --git a/types/react-icons/lib/ti/zoom-out.d.ts b/types/react-icons/lib/ti/zoom-out.d.ts index e6b1bb1bd3..50b5101667 100644 --- a/types/react-icons/lib/ti/zoom-out.d.ts +++ b/types/react-icons/lib/ti/zoom-out.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiZoomOut extends React.Component<IconBaseProps> { } +declare class TiZoomOut extends React.Component<IconBaseProps> { } +export = TiZoomOut; diff --git a/types/react-icons/lib/ti/zoom-outline.d.ts b/types/react-icons/lib/ti/zoom-outline.d.ts index 066a240186..b1e979f087 100644 --- a/types/react-icons/lib/ti/zoom-outline.d.ts +++ b/types/react-icons/lib/ti/zoom-outline.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiZoomOutline extends React.Component<IconBaseProps> { } +declare class TiZoomOutline extends React.Component<IconBaseProps> { } +export = TiZoomOutline; diff --git a/types/react-icons/lib/ti/zoom.d.ts b/types/react-icons/lib/ti/zoom.d.ts index 74bda099c6..55283917ac 100644 --- a/types/react-icons/lib/ti/zoom.d.ts +++ b/types/react-icons/lib/ti/zoom.d.ts @@ -1,3 +1,4 @@ import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; -export default class TiZoom extends React.Component<IconBaseProps> { } +declare class TiZoom extends React.Component<IconBaseProps> { } +export = TiZoom; diff --git a/types/react-icons/react-icons-tests.tsx b/types/react-icons/react-icons-tests.tsx index f6a0414dba..8cfacdbf4e 100644 --- a/types/react-icons/react-icons-tests.tsx +++ b/types/react-icons/react-icons-tests.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import FaBeer from 'react-icons/fa/beer'; import { FaExclamation } from 'react-icons/fa'; -import FaCog from 'react-icons/lib/fa/cog'; +import FaCog = require('react-icons/lib/fa/cog'); import { FaPowerOff } from 'react-icons/lib/fa'; class Question extends React.Component { diff --git a/types/react-icons/scripts/generate.ts b/types/react-icons/scripts/generate.ts index 604de34842..035516e57e 100644 --- a/types/react-icons/scripts/generate.ts +++ b/types/react-icons/scripts/generate.ts @@ -24,10 +24,10 @@ for (const { group } of allModules) { for (const { group, ids } of allModules) { for (const id of ids) { writeFileSync(getOutFile(group, `${id}.d.ts`), iconFile(getModuleName(group, id)), 'utf-8'); - writeFileSync(getOutLibFile(group, `${id}.d.ts`), iconFile(getModuleName(group, id)), 'utf-8'); + writeFileSync(getOutLibFile(group, `${id}.d.ts`), iconFile(getModuleName(group, id), true), 'utf-8'); } writeFileSync(getOutFile(group, 'index.d.ts'), indexFile(group, ids), 'utf-8'); - writeFileSync(getOutLibFile(group, 'index.d.ts'), indexFile(group, ids), 'utf-8'); + writeFileSync(getOutLibFile(group, 'index.d.ts'), indexFile(group, ids, true), 'utf-8'); } function getOutDir(group: string): string { @@ -46,15 +46,23 @@ function getOutLibFile(folder: string, fileName: string): string { return joinPaths(getOutLibDir(folder), fileName); } -function iconFile(name: string): string { +function iconFile(name: string, lib: boolean = false): string { + if (lib) { + return `import * as React from 'react'; +import { IconBaseProps } from 'react-icon-base'; +declare class ${name} extends React.Component<IconBaseProps> { } +export = ${name}; +`; + } + return `import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class ${name} extends React.Component<IconBaseProps> { } `; } -function indexFile(folder: string, ids: string[]): string { - const reExports = ids.map(id => `export { default as ${getModuleName(folder, id)} } from "./${id}";`); +function indexFile(folder: string, ids: string[], lib: boolean = false): string { + const reExports = ids.map(id => `export { default as ${getModuleName(folder, id)} } from "${lib ? `../../${folder}` : "."}/${id}";`); return reExports.join("\n") + "\n"; } From 04a54cc722da211473f27bcfcce6a6b95e811c75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Unneb=C3=A4ck?= <linus@folkdatorn.se> Date: Tue, 17 Oct 2017 15:18:35 +0100 Subject: [PATCH 404/433] [stripe-node] Add more subscription list options (#20553) * [stripe-node] add billing to ISubscriptionListOptions * [stripe-node] add status to ISubscriptionListOptions * [stripe-node] move SubscriptionStatus to separate type * [stripe-node] drop patch value from version --- types/stripe-node/index.d.ts | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/types/stripe-node/index.d.ts b/types/stripe-node/index.d.ts index 9bf45d3411..daa91487f7 100644 --- a/types/stripe-node/index.d.ts +++ b/types/stripe-node/index.d.ts @@ -1,6 +1,9 @@ -// Type definitions for stripe-node 4.7.0 +// Type definitions for stripe-node 4.7 // Project: https://github.com/stripe/stripe-node/ -// Definitions by: William Johnston <https://github.com/wjohnsto>, Peter Harris <https://github.com/codeanimal>, Sampson Oliver <https://github.com/sampsonjoliver> +// Definitions by: William Johnston <https://github.com/wjohnsto> +// Peter Harris <https://github.com/codeanimal> +// Sampson Oliver <https://github.com/sampsonjoliver> +// Linus Unnebäck <https://github.com/LinusU> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference types="node" /> @@ -72,7 +75,7 @@ declare namespace StripeNode { products: resources.Products; skus: resources.SKUs; webhooks: resources.WebHooks; - + setHost(host: string): void; setHost(host: string, port: string|number): void; setHost(host: string, port: string|number, protocol: string): void; @@ -4020,6 +4023,7 @@ declare namespace StripeNode { } namespace subscriptions { + type SubscriptionStatus = "trialing" | "active" | "past_due" | "canceled" | "unpaid"; /** * Subscriptions allow you to charge a customer's card on a recurring basis. A subscription ties a customer to * a particular plan you've created: https://stripe.com/docs/api#create_plan @@ -4102,7 +4106,7 @@ declare namespace StripeNode { * card details will not lead to Stripe retrying the latest invoice.). After receiving updated card details from a customer, * you may choose to reopen and pay their closed invoices. */ - status: "trialing" | "active" | "past_due" | "canceled" | "unpaid"; + status: SubscriptionStatus; /** * If provided, each invoice created by this subscription will apply the tax rate, increasing the amount billed to the customer. @@ -4237,6 +4241,11 @@ declare namespace StripeNode { } interface ISubscriptionListOptions extends IListOptionsCreated { + /** + * The billing mode of the subscriptions to retrieve. + */ + billing?: "charge_automatically" | "send_invoice"; + /** * The ID of the customer whose subscriptions will be retrieved */ @@ -4246,6 +4255,11 @@ declare namespace StripeNode { * The ID of the plan whose subscriptions will be retrieved */ plan?: string; + + /** + * The status of the subscriptions to retrieve. + */ + status?: SubscriptionStatus | "all"; } } @@ -6293,7 +6307,7 @@ declare namespace StripeNode { del(skuId: string, options: HeaderOptions, response?: IResponseFn<IDeleteConfirmation>): Promise<IDeleteConfirmation>; del(skuId: string, response?: IResponseFn<IDeleteConfirmation>): Promise<IDeleteConfirmation>; } - + class WebHooks { constructEvent<T>(requestBody: any, signature: string | string[], endpointSecret: string): webhooks.StripeWebhookEvent<T>; } From 8ef0c39ccf2374bd4bb375710c990a73ec761b29 Mon Sep 17 00:00:00 2001 From: Piotr Roszatycki <piotr.roszatycki@gmail.com> Date: Tue, 17 Oct 2017 16:44:21 +0200 Subject: [PATCH 405/433] node: process.stdin is a stream.Readable and process.stdout is a stream.Writable (#20493) * Readable.wrap returns this * Add missing properties to interface ReadableStream and WritableStream; change interfaces in fs, dgram and net into classes * Move all additional properties from ReadableStream interface to ReadStream interface (and Write...) * hexo-fs should re-export classes from 'fs' * process.stdin._destroy is a function --- types/firebird/firebird-tests.ts | 2 +- types/firebird/index.d.ts | 31 +++++-------------------------- types/hexo-fs/index.d.ts | 4 +--- types/node/index.d.ts | 31 ++++++++++++++++++++----------- types/node/node-tests.ts | 30 ++++++++++++++++++++++++++++++ types/vinyl/vinyl-tests.ts | 4 ---- 6 files changed, 57 insertions(+), 45 deletions(-) diff --git a/types/firebird/firebird-tests.ts b/types/firebird/firebird-tests.ts index 96600a7f2d..d248fe427c 100644 --- a/types/firebird/firebird-tests.ts +++ b/types/firebird/firebird-tests.ts @@ -119,4 +119,4 @@ blob._write(buffer, 10); blob._write(buffer, 10, (err: Error | null) => {}); /* Stream */ -const strm: NodeJS.ReadWriteStream = new fb.Stream(blob); +const strm = new fb.Stream(blob); diff --git a/types/firebird/index.d.ts b/types/firebird/index.d.ts index 430a3b3b60..eaa20682a6 100644 --- a/types/firebird/index.d.ts +++ b/types/firebird/index.d.ts @@ -12,6 +12,8 @@ * Original document is [here](https://www.npmjs.com/package/firebird). */ declare module 'firebird' { + import * as stream from 'stream'; + /** * @see createConnection() method will create Firebird Connection object for you */ @@ -453,24 +455,14 @@ declare module 'firebird' { * You may pipe strm to/from NodeJS Stream objects (fs or socket). * You may also look at [NodeJS Streams reference](https://nodejs.org/api/stream.html). */ - class Stream implements NodeJS.ReadWriteStream { + class Stream extends stream.Stream { constructor(blob: FBBlob); - - /* Following lines is JUST AS NodeJS.ReadStream, NodeJS.WriteStream, and NodeJS.Emmiter */ /* tslint:disable */ /* NodeJS.ReadStream */ readable: boolean; - read(size?: number): string | Buffer; - setEncoding(encoding: string | null): this; pause(): this; resume(): this; - isPaused(): boolean; - pipe<T extends NodeJS.WritableStream>(destination: T, options?: { end?: boolean; }): T; - unpipe<T extends NodeJS.WritableStream>(destination?: T): this; - unshift(chunk: string): void; - unshift(chunk: Buffer): void; - wrap(oldStream: NodeJS.ReadableStream): NodeJS.ReadableStream; /* NodeJS.WriteStream */ writable: boolean; @@ -480,22 +472,9 @@ declare module 'firebird' { end(buffer: Buffer, cb?: Function): void; end(str: string, cb?: Function): void; end(str: string, encoding?: string, cb?: Function): void; - - /* EventEmitter */ - addListener(event: string | symbol, listener: Function): this; - on(event: string | symbol, listener: Function): this; - once(event: string | symbol, listener: Function): this; - removeListener(event: string | symbol, listener: Function): this; - removeAllListeners(event?: string | symbol): this; - setMaxListeners(n: number): this; - getMaxListeners(): number; - listeners(event: string | symbol): Function[]; - emit(event: string | symbol, ...args: any[]): boolean; - listenerCount(type: string | symbol): number; - prependListener(event: string | symbol, listener: Function): this; - prependOnceListener(event: string | symbol, listener: Function): this; - eventNames(): (string | symbol)[]; + destroy(error?: Error): void; /* tslint:enable */ + check_destroyed(): void; } } diff --git a/types/hexo-fs/index.d.ts b/types/hexo-fs/index.d.ts index 896fbc24eb..237071d7c6 100644 --- a/types/hexo-fs/index.d.ts +++ b/types/hexo-fs/index.d.ts @@ -427,9 +427,7 @@ export function writeFile( export function writeFileSync(path: string, data: any, options?: string | { encoding?: string | null; mode?: string | number; flag?: string }): void; // Static classes -export let Stats: Stats; -export let ReadStream: ReadStream; -export let WriteStream: WriteStream; +export { Stats, ReadStream, WriteStream } from 'graceful-fs'; // util export function escapeEOL(str: string): string; diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 6189d0b486..7f619fe377 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -345,7 +345,7 @@ declare namespace NodeJS { unpipe<T extends WritableStream>(destination?: T): this; unshift(chunk: string): void; unshift(chunk: Buffer): void; - wrap(oldStream: ReadableStream): ReadableStream; + wrap(oldStream: ReadableStream): this; } export interface WritableStream extends EventEmitter { @@ -438,10 +438,21 @@ declare namespace NodeJS { export interface WriteStream extends Socket { columns?: number; rows?: number; + _write(chunk: any, encoding: string, callback: Function): void; + _destroy(err: Error, callback: Function): void; + _final(callback: Function): void; + setDefaultEncoding(encoding: string): this; + cork(): void; + uncork(): void; + destroy(error?: Error): void; } export interface ReadStream extends Socket { isRaw?: boolean; setRawMode?(mode: boolean): void; + _read(size: number): void; + _destroy(err: Error, callback: Function): void; + push(chunk: any, encoding?: string): boolean; + destroy(error?: Error): void; } export interface Process extends EventEmitter { @@ -2430,7 +2441,9 @@ declare module "net" { export type SocketConnectOpts = TcpSocketConnectOpts | IpcSocketConnectOpts; - export interface Socket extends stream.Duplex { + export class Socket extends stream.Duplex { + constructor(options?: { fd?: number; allowHalfOpen?: boolean; readable?: boolean; writable?: boolean; }); + // Extended base methods write(buffer: Buffer): boolean; write(buffer: Buffer, cb?: Function): boolean; @@ -2544,10 +2557,6 @@ declare module "net" { prependOnceListener(event: "timeout", listener: () => void): this; } - export var Socket: { - new(options?: SocketConstructorOpts): Socket; - }; - export interface ListenOptions { port?: number; host?: string; @@ -2679,7 +2688,7 @@ declare module "dgram" { export function createSocket(type: SocketType, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; export function createSocket(options: SocketOptions, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; - export interface Socket extends events.EventEmitter { + export class Socket extends events.EventEmitter { send(msg: Buffer | String | any[], port: number, address: string, callback?: (error: Error | null, bytes: number) => void): void; send(msg: Buffer | String | any[], offset: number, length: number, port: number, address: string, callback?: (error: Error | null, bytes: number) => void): void; bind(port?: number, address?: string, callback?: () => void): void; @@ -2757,7 +2766,7 @@ declare module "fs" { */ export type PathLike = string | Buffer | URL; - export interface Stats { + export class Stats { isFile(): boolean; isDirectory(): boolean; isBlockDevice(): boolean; @@ -2814,7 +2823,7 @@ declare module "fs" { prependOnceListener(event: "error", listener: (error: Error) => void): this; } - export interface ReadStream extends stream.Readable { + export class ReadStream extends stream.Readable { close(): void; destroy(): void; bytesRead: number; @@ -2846,7 +2855,7 @@ declare module "fs" { prependOnceListener(event: "close", listener: () => void): this; } - export interface WriteStream extends stream.Writable { + export class WriteStream extends stream.Writable { close(): void; bytesWritten: number; path: string | Buffer; @@ -5084,7 +5093,7 @@ declare module "stream" { isPaused(): boolean; unpipe<T extends NodeJS.WritableStream>(destination?: T): this; unshift(chunk: any): void; - wrap(oldStream: NodeJS.ReadableStream): Readable; + wrap(oldStream: NodeJS.ReadableStream): this; push(chunk: any, encoding?: string): boolean; _destroy(err: Error, callback: Function): void; destroy(error?: Error): void; diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index 0e2823ac1c..7883ef10f2 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -2066,6 +2066,36 @@ namespace child_process_tests { let _sendHandle: net.Socket | net.Server = sendHandle; }); } + { + process.stdin.setEncoding('utf8'); + + process.stdin.on('readable', () => { + const chunk = process.stdin.read(); + if (chunk !== null) { + process.stdout.write(`data: ${chunk}`); + } + }); + + process.stdin.on('end', () => { + process.stdout.write('end'); + }); + + process.stdin.pipe(process.stdout); + + console.log(process.stdin.isTTY); + console.log(process.stdout.isTTY); + + console.log(process.stdin instanceof net.Socket); + console.log(process.stdout instanceof fs.ReadStream); + + var stdin: stream.Readable = process.stdin; + console.log(stdin instanceof net.Socket); + console.log(stdin instanceof fs.ReadStream); + + var stdout: stream.Writable = process.stdout; + console.log(stdout instanceof net.Socket); + console.log(stdout instanceof fs.WriteStream); + } } ////////////////////////////////////////////////////////////////////// diff --git a/types/vinyl/vinyl-tests.ts b/types/vinyl/vinyl-tests.ts index f9e71dd532..2fe95e9404 100644 --- a/types/vinyl/vinyl-tests.ts +++ b/types/vinyl/vinyl-tests.ts @@ -24,10 +24,6 @@ interface TestFile extends File { _base?: string; } -declare module 'fs' { - class Stats { } -} - var pipe: (streams: [NodeJS.ReadableStream, NodeJS.WritableStream], cb: (err?: Error) => void) => void = miss.pipe; var from: (values: any[]) => NodeJS.ReadableStream = miss.from; var concat: (fn: (d: Buffer) => void) => NodeJS.WritableStream = miss.concat; From 0905b3d2f96c76f1d56df79616da56a436318bda Mon Sep 17 00:00:00 2001 From: Alessandro Vergani <alessandro.vergani@gmail.com> Date: Tue, 17 Oct 2017 17:00:05 +0200 Subject: [PATCH 406/433] Add copyFile to node file system (#20185) --- types/node/index.d.ts | 63 ++++++++++++++++++++++++++++++++++++---- types/node/node-tests.ts | 10 +++++++ 2 files changed, 67 insertions(+), 6 deletions(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 7f619fe377..6455482803 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -108,10 +108,10 @@ interface NodeRequire extends NodeRequireFunction { } interface NodeExtensions { - '.js': (m: NodeModule, filename: string) => any; - '.json': (m: NodeModule, filename: string) => any; - '.node': (m: NodeModule, filename: string) => any; - [ext: string]: (m: NodeModule, filename: string) => any; + '.js': (m: NodeModule, filename: string) => any; + '.json': (m: NodeModule, filename: string) => any; + '.node': (m: NodeModule, filename: string) => any; + [ext: string]: (m: NodeModule, filename: string) => any; } declare var require: NodeRequire; @@ -4260,6 +4260,9 @@ declare module "fs" { /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by others. */ export const S_IXOTH: number; + + /** Constant for fs.copyFile. Flag indicating the destination file should not be overwritten if it already exists. */ + export const COPYFILE_EXCL: number; } /** @@ -4342,6 +4345,54 @@ declare module "fs" { * @param fd A file descriptor. */ export function fdatasyncSync(fd: number): void; + + /** + * Asynchronously copies src to dest. By default, dest is overwritten if it already exists. + * No arguments other than a possible exception are given to the callback function. + * Node.js makes no guarantees about the atomicity of the copy operation. + * If an error occurs after the destination file has been opened for writing, Node.js will attempt + * to remove the destination. + * @param src A path to the source file. + * @param dest A path to the destination file. + */ + export function copyFile(src: PathLike, dest: PathLike, callback: (err: NodeJS.ErrnoException) => void): void; + /** + * Asynchronously copies src to dest. By default, dest is overwritten if it already exists. + * No arguments other than a possible exception are given to the callback function. + * Node.js makes no guarantees about the atomicity of the copy operation. + * If an error occurs after the destination file has been opened for writing, Node.js will attempt + * to remove the destination. + * @param src A path to the source file. + * @param dest A path to the destination file. + * @param flags An integer that specifies the behavior of the copy operation. The only supported flag is fs.constants.COPYFILE_EXCL, which causes the copy operation to fail if dest already exists. + */ + export function copyFile(src: PathLike, dest: PathLike, flags: number, callback: (err: NodeJS.ErrnoException) => void): void; + + // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. + export namespace copyFile { + /** + * Asynchronously copies src to dest. By default, dest is overwritten if it already exists. + * No arguments other than a possible exception are given to the callback function. + * Node.js makes no guarantees about the atomicity of the copy operation. + * If an error occurs after the destination file has been opened for writing, Node.js will attempt + * to remove the destination. + * @param src A path to the source file. + * @param dest A path to the destination file. + * @param flags An optional integer that specifies the behavior of the copy operation. The only supported flag is fs.constants.COPYFILE_EXCL, which causes the copy operation to fail if dest already exists. + */ + export function __promisify__(src: PathLike, dst: PathLike, flags?: number): Promise<void>; + } + + /** + * Synchronously copies src to dest. By default, dest is overwritten if it already exists. + * Node.js makes no guarantees about the atomicity of the copy operation. + * If an error occurs after the destination file has been opened for writing, Node.js will attempt + * to remove the destination. + * @param src A path to the source file. + * @param dest A path to the destination file. + * @param flags An optional integer that specifies the behavior of the copy operation. The only supported flag is fs.constants.COPYFILE_EXCL, which causes the copy operation to fail if dest already exists. + */ + export function copyFileSync(src: PathLike, dest: PathLike, flags?: number): void; } declare module "path" { @@ -6404,8 +6455,8 @@ declare module "http2" { export type ClientSessionOptions = SessionOptions; export type ServerSessionOptions = SessionOptions; - export interface SecureClientSessionOptions extends ClientSessionOptions, tls.ConnectionOptions {} - export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsOptions {} + export interface SecureClientSessionOptions extends ClientSessionOptions, tls.ConnectionOptions { } + export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsOptions { } export interface ServerOptions extends ServerSessionOptions { allowHTTP1?: boolean; diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index 7883ef10f2..68ce6f5a18 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -339,6 +339,16 @@ namespace fs_tests { const v2 = fs.realpathSync('/path/to/folder', { encoding: s }); typeof v2 === "string" ? s = v2 : b = v2; } + + { + fs.copyFile('/path/to/src', '/path/to/dest', (err) => console.error(err)); + fs.copyFile('/path/to/src', '/path/to/dest', fs.constants.COPYFILE_EXCL, (err) => console.error(err)); + + fs.copyFileSync('/path/to/src', '/path/to/dest', fs.constants.COPYFILE_EXCL); + + const cf = util.promisify(fs.copyFile); + cf('/path/to/src', '/path/to/dest', fs.constants.COPYFILE_EXCL).then(console.log); + } } /////////////////////////////////////////////////////// From 5d2d699e6bef9fcbce76fa02a8a2cb78a734a297 Mon Sep 17 00:00:00 2001 From: Luc Matagne <quelumatagne@gmail.com> Date: Tue, 17 Oct 2017 17:05:03 +0200 Subject: [PATCH 407/433] [SignalsJS] Add Generic type support (#20429) * [SignalsJS] Add Generic type support * Any as default Signal type * Add default any types for other declarations --- types/signals/index.d.ts | 24 ++++++++++++------------ types/signals/signals-tests.ts | 18 +++++++++--------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/types/signals/index.d.ts b/types/signals/index.d.ts index 879aa189f1..3f0ed1fa84 100644 --- a/types/signals/index.d.ts +++ b/types/signals/index.d.ts @@ -10,23 +10,23 @@ export as namespace signals; declare namespace signals { - interface SignalWrapper { - Signal: Signal + interface SignalWrapper<T = any> { + Signal: Signal<T> } - interface SignalBinding { + interface SignalBinding<T = any> { active: boolean; context: any; params: any; detach(): Function; execute(paramsArr?: any[]): any; - getListener(): Function; - getSignal(): Signal; + getListener(): (...params: T[]) => void; + getSignal(): Signal<T>; isBound(): boolean; isOnce(): boolean; } - interface Signal { + interface Signal<T = any> { /** * Custom event broadcaster * <br />- inspired by Robert Penner's AS3 Signals. @@ -34,7 +34,7 @@ declare namespace signals { * @author Miller Medeiros * @constructor */ - new (): Signal; + new (): Signal<T>; /** * If Signal is active and should broadcast events. @@ -59,7 +59,7 @@ declare namespace signals { * @param listenercontext Context on which listener will be executed (object that should represent the `this` variable inside listener function). * @param priority The priority level of the event listener. Listeners with higher priority will be executed before listeners with lower priority. Listeners with same priority level will be executed at the same order as they were added. (default = 0) */ - add(listener: Function, listenerContext?: any, priority?: Number): SignalBinding; + add(listener: (...params: T[]) => void, listenerContext?: any, priority?: Number): SignalBinding<T>; /** * Add listener to the signal that should be removed after first execution (will be executed only once). @@ -68,14 +68,14 @@ declare namespace signals { * @param listenercontext Context on which listener will be executed (object that should represent the `this` variable inside listener function). * @param priority The priority level of the event listener. Listeners with higher priority will be executed before listeners with lower priority. Listeners with same priority level will be executed at the same order as they were added. (default = 0) */ - addOnce(listener: Function, listenerContext?: any, priority?: Number): SignalBinding; + addOnce(listener: (...params: T[]) => void, listenerContext?: any, priority?: Number): SignalBinding<T>; /** * Dispatch/Broadcast Signal to all listeners added to the queue. * * @param params Parameters that should be passed to each handler. */ - dispatch(...params: any[]): void; + dispatch(...params: T[]): void; /** * Remove all bindings from signal and destroy any reference to external objects (destroy Signal object). @@ -100,12 +100,12 @@ declare namespace signals { /** * Check if listener was attached to Signal. */ - has(listener: Function, context?: any): boolean; + has(listener: (...params: T[]) => void, context?: any): boolean; /** * Remove a single listener from the dispatch queue. */ - remove(listener: Function, context?: any): Function; + remove(listener: (...params: T[]) => void, context?: any): Function; removeAll(): void; } diff --git a/types/signals/signals-tests.ts b/types/signals/signals-tests.ts index a0fa8e34f1..414b91edd7 100644 --- a/types/signals/signals-tests.ts +++ b/types/signals/signals-tests.ts @@ -1,8 +1,8 @@ import signals = require("signals"); // lifted from https://github.com/millermedeiros/js-signals/wiki/Examples interface TestObject { - started: signals.Signal; - stopped: signals.Signal; + started: signals.Signal<any>; + stopped: signals.Signal<any>; } namespace Signals.Tests { @@ -144,11 +144,11 @@ namespace Signals.AdvancedTests { var handler = function(){ alert('foo bar'); }; - var binding: signals.SignalBinding = myObject.started.add(handler); //methods `add()` and `addOnce()` returns a SignalBinding object + var binding: signals.SignalBinding<() => void> = myObject.started.add(handler); //methods `add()` and `addOnce()` returns a SignalBinding object binding.execute(); //will alert "foo bar" //Retrieve anonymous listener - var binding:signals.SignalBinding = myObject.started.add(function(){ + var binding:signals.SignalBinding<() => void> = myObject.started.add(function(){ alert('foo bar'); }); @@ -157,7 +157,7 @@ namespace Signals.AdvancedTests { var anonymousHandler = binding.getListener(); //reference to the anonymous function //Remove / Detach anonymous listener - var binding:signals.SignalBinding = myObject.started.add(function(){ + var binding:signals.SignalBinding<() => void> = myObject.started.add(function(){ alert('foo bar'); }); myObject.started.dispatch(); //will alert "foo bar" @@ -166,10 +166,10 @@ namespace Signals.AdvancedTests { myObject.started.dispatch(); //nothing happens //Check if binding will execute only once - var binding1:signals.SignalBinding = myObject.started.add(function(){ + var binding1:signals.SignalBinding<any> = myObject.started.add(function(){ alert('foo bar'); }); - var binding2:signals.SignalBinding = myObject.started.addOnce(function(){ + var binding2:signals.SignalBinding<() => void> = myObject.started.addOnce(function(){ alert('foo bar'); }); alert(binding1.isOnce()); //alert "false" @@ -180,7 +180,7 @@ namespace Signals.AdvancedTests { var obj = { foo : "it's over 9000!" }; - var binding:signals.SignalBinding = myObject.started.add(function(){ + var binding:signals.SignalBinding<() => void> = myObject.started.add(function(){ alert(this.foo); }); myObject.started.dispatch(); //will alert "bar" @@ -188,7 +188,7 @@ namespace Signals.AdvancedTests { myObject.started.dispatch(); //will alert "it's over 9000!" //Add default parameters to Signal dispatch (v0.6.3+) - var binding:signals.SignalBinding = myObject.started.add(function(a:string, b:string, c:string){ + var binding:signals.SignalBinding<() => void> = myObject.started.add(function(a:string, b:string, c:string){ alert(a +' '+ b +' '+ c); }); binding.params = ['lorem', 'ipsum']; //set default parameters of the binding From a531f8c43de31f3c8a407cbeff277b590a7517e1 Mon Sep 17 00:00:00 2001 From: lei xia <xialeistudio@gmail.com> Date: Tue, 17 Oct 2017 08:26:47 -0700 Subject: [PATCH 408/433] add koa2-cors definition (#20592) * add koa2-cors definition * strictFunctionTypes * fixed bug * origin defintion * change strictFunctionTypes to true --- types/koa2-cors/index.d.ts | 21 +++++++++++++++++++++ types/koa2-cors/koa2-cors-tests.ts | 18 ++++++++++++++++++ types/koa2-cors/tsconfig.json | 23 +++++++++++++++++++++++ types/koa2-cors/tslint.json | 1 + 4 files changed, 63 insertions(+) create mode 100644 types/koa2-cors/index.d.ts create mode 100644 types/koa2-cors/koa2-cors-tests.ts create mode 100644 types/koa2-cors/tsconfig.json create mode 100644 types/koa2-cors/tslint.json diff --git a/types/koa2-cors/index.d.ts b/types/koa2-cors/index.d.ts new file mode 100644 index 0000000000..b353904eff --- /dev/null +++ b/types/koa2-cors/index.d.ts @@ -0,0 +1,21 @@ +// Type definitions for koa2-cors 2.0 +// Project: https://github.com/zadzbw/koa2-cors#readme +// Definitions by: xialeistudio <https://github.com/xialeistudio> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 + +import * as Koa from 'koa'; +declare namespace cors { + interface Options { + origin?: string | ((ctx: Koa.Context) => boolean | string); + exposeHeaders?: string[]; + maxAge?: number; + credentials?: boolean; + allowMethods?: string[]; + allowHeaders?: string[]; + } +} + +declare function cors(options?: cors.Options): Koa.Middleware; + +export = cors; diff --git a/types/koa2-cors/koa2-cors-tests.ts b/types/koa2-cors/koa2-cors-tests.ts new file mode 100644 index 0000000000..820722d635 --- /dev/null +++ b/types/koa2-cors/koa2-cors-tests.ts @@ -0,0 +1,18 @@ +import * as Koa from 'koa'; +import * as cors from 'koa2-cors'; + +const app = new Koa(); +app.use(cors({ + origin(ctx: Koa.Context) { + if (ctx.url === '/test') { + return false; + } + return '*'; + }, + exposeHeaders: ['WWW-Authenticate', 'Server-Authorization'], + maxAge: 5, + credentials: true, + allowMethods: ['GET', 'POST', 'DELETE'], + allowHeaders: ['Content-Type', 'Authorization', 'Accept'], +})); +app.listen(3000); diff --git a/types/koa2-cors/tsconfig.json b/types/koa2-cors/tsconfig.json new file mode 100644 index 0000000000..6c1a4b2374 --- /dev/null +++ b/types/koa2-cors/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "strictFunctionTypes": true, + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "koa2-cors-tests.ts" + ] +} \ No newline at end of file diff --git a/types/koa2-cors/tslint.json b/types/koa2-cors/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/koa2-cors/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From fb93c75e47befe2ef44cecfa45775a3d9b50042d Mon Sep 17 00:00:00 2001 From: Jinwoo Lee <jinwoo@google.com> Date: Tue, 17 Oct 2017 08:35:55 -0700 Subject: [PATCH 409/433] Fix type of createPushResponse() in node http2. (#20510) * Fix type of createPushResponse() in node http2. From https://github.com/nodejs/node/blob/master/lib/internal/http2/compat.js#L628: `callback` is required to be a function. And its second argument is an `Http2ServerResponse`. * `err` is nullable. * delete redundant tests that have partial arguments --- types/node/index.d.ts | 2 +- types/node/node-tests.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 6455482803..2f9834e411 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -6616,7 +6616,7 @@ declare module "http2" { writeContinue(): void; writeHead(statusCode: number, headers?: OutgoingHttpHeaders): void; writeHead(statusCode: number, statusMessage?: string, headers?: OutgoingHttpHeaders): void; - createPushResponse(headers: OutgoingHttpHeaders, callback?: (err: Error) => void): void; + createPushResponse(headers: OutgoingHttpHeaders, callback: (err: Error | null, res: Http2ServerResponse) => void): void; addListener(event: string, listener: (...args: any[]) => void): this; addListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index 68ce6f5a18..5929a0c08a 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -3353,8 +3353,7 @@ namespace http2_tests { let headersSent: boolean = response.headersSent; response.setTimeout(0, () => {}); - response.createPushResponse(outgoingHeaders); - response.createPushResponse(outgoingHeaders, (err: Error) => {}); + response.createPushResponse(outgoingHeaders, (err: Error | null, res: http2.Http2ServerResponse) => {}); response.writeContinue(); response.writeHead(200); From f56bf1addfdffcdddec0916b4ea31fab9ed1fbf2 Mon Sep 17 00:00:00 2001 From: Alessandro Vergani <alessandro.vergani@gmail.com> Date: Tue, 17 Oct 2017 17:38:53 +0200 Subject: [PATCH 410/433] Fix no-void-expression (#20631) --- types/duplexer3/duplexer3-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/duplexer3/duplexer3-tests.ts b/types/duplexer3/duplexer3-tests.ts index 557437597c..c540828d5d 100644 --- a/types/duplexer3/duplexer3-tests.ts +++ b/types/duplexer3/duplexer3-tests.ts @@ -6,7 +6,7 @@ const readable = new stream.Readable({objectMode: true}); writable._write = (input, encoding, done) => { if (readable.push(input)) { - return done(); + done(); } else { readable.once('drain', <(...args: any[]) => void> done); } From bb318dc9bce0a0f1d8a3a47822915db1c8a828f8 Mon Sep 17 00:00:00 2001 From: Florian Wagner <f_wagner@me.com> Date: Tue, 17 Oct 2017 17:39:06 +0200 Subject: [PATCH 411/433] Remove flqw (myself) as an author (#20618) --- types/loglevel/index.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/types/loglevel/index.d.ts b/types/loglevel/index.d.ts index c32bdf52a0..da58c45483 100644 --- a/types/loglevel/index.d.ts +++ b/types/loglevel/index.d.ts @@ -1,7 +1,6 @@ // Type definitions for loglevel 1.5 // Project: https://github.com/pimterry/loglevel // Definitions by: Stefan Profanter <https://github.com/Pro> -// Florian Wagner <https://github.com/flqw> // Gabor Szmetanko <https://github.com/szmeti> // Christian Rackerseder <https://github.com/screendriver> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped From 7c4d884431b273488678d1a260bc79c9bc05ca94 Mon Sep 17 00:00:00 2001 From: madmaw <chris.glover@gmail.com> Date: Wed, 18 Oct 2017 02:48:33 +1100 Subject: [PATCH 412/433] fixed some typos and missing properties in CannonJS definitions (#20599) --- types/cannon/index.d.ts | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/types/cannon/index.d.ts b/types/cannon/index.d.ts index 45e005d53d..8516d968dd 100644 --- a/types/cannon/index.d.ts +++ b/types/cannon/index.d.ts @@ -428,7 +428,7 @@ declare module CANNON { angularVelocity?: Vec3; quaternion?: Quaternion; mass?: number; - material?: number; + material?: Material; type?: number; linearDamping?: number; angularDamping?: number; @@ -478,7 +478,7 @@ declare module CANNON { interpolatedQuaternion: Quaternion; shapes: Shape[]; shapeOffsets: any[]; - shapeOrentiations: any[]; + shapeOrientations: any[]; inertia: Vec3; invInertia: Vec3; invInertiaWorld: Mat3; @@ -735,7 +735,7 @@ declare module CANNON { vertices: Vec3[]; worldVertices: Vec3[]; worldVerticesNeedsUpdate: boolean; - faces: number[]; + faces: number[][]; faceNormals: Vec3[]; uniqueEdges: Vec3[]; @@ -776,7 +776,7 @@ declare module CANNON { export class Heightfield extends Shape { - data: number[]; + data: number[][]; maxValue: number; minValue: number; elementSize: number; @@ -930,7 +930,7 @@ declare module CANNON { } export class World extends EventTarget { - + iterations: number; dt: number; allowSleep: boolean; contacts: ContactEquation[]; @@ -992,6 +992,10 @@ declare module CANNON { } + export interface ICollisionEvent extends IBodyEvent { + contact: any; + } + } From 60b5c044651176f065082f979ecc82b98d64c9f2 Mon Sep 17 00:00:00 2001 From: Justin Sprigg <justin.sprigg@gmail.com> Date: Wed, 18 Oct 2017 02:49:41 +1100 Subject: [PATCH 413/433] Update @types/google-cloud__storage (#20602) The save method in the library uses a writeable stream. See https://nodejs.org/api/stream.html#stream_writable_end_chunk_encoding_callback. Also consider adding `any`. --- types/google-cloud__storage/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/google-cloud__storage/index.d.ts b/types/google-cloud__storage/index.d.ts index 55f3b0d3d2..544f2e095f 100644 --- a/types/google-cloud__storage/index.d.ts +++ b/types/google-cloud__storage/index.d.ts @@ -134,7 +134,7 @@ declare namespace Storage { makePublic(): Promise<[ApiResponse]>; move(destination: string | Bucket | File): Promise<[File, ApiResponse]>; name: string; - save(data: string, options?: WriteStreamOptions): Promise<void>; + save(data: string | Buffer, options?: WriteStreamOptions): Promise<void>; setEncryptionKey(encryptionKey: string | Buffer): File; setMetadata(metadata: FileMetadata): Promise<[ApiResponse]>; metadata?: FileMetadata; From e02343af702058313f4e9ce49f15e9f54f0ce959 Mon Sep 17 00:00:00 2001 From: damon-at-sportsbet <damon.smith@sportsbet.com.au> Date: Wed, 18 Oct 2017 02:50:27 +1100 Subject: [PATCH 414/433] @types/vis separated Node color into it's own interface and added it to the Node (#20603) * separated node color into it's own interface and added it to the node definition too. * tslint fixes --- types/vis/index.d.ts | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/types/vis/index.d.ts b/types/vis/index.d.ts index ee2c753129..dbb1d68647 100644 --- a/types/vis/index.d.ts +++ b/types/vis/index.d.ts @@ -1783,6 +1783,7 @@ export interface Node { fixed?: boolean; image?: string; shape?: string; + color?: string | Color; } export interface Edge { @@ -1848,6 +1849,22 @@ export interface Options { physics?: any; // http://visjs.org/docs/network/physics.html# } +export interface Color { + border?: string; + + background?: string; + + highlight?: string | { + border?: string; + background?: string; + }; + + hover?: string | { + border?: string; + background?: string; + }; +} + export interface NodeOptions { borderWidth?: number; @@ -1855,18 +1872,7 @@ export interface NodeOptions { brokenImage?: string; - color?: { - border?: string, - background?: string, - highlight?: string | { - border?: string, - background?: string, - }, - hover?: string | { - border?: string, - background?: string, - } - }; + color?: Color; fixed?: boolean | { x?: boolean, From 4787f17ca6938ced9c1d088fcac5a3f83b512d1c Mon Sep 17 00:00:00 2001 From: Ondrej Sevcik <ondrej.sev@gmail.com> Date: Tue, 17 Oct 2017 17:53:05 +0200 Subject: [PATCH 415/433] Puppeteer: Change page.url() return type (#20598) * Change page.url() return type According to docs frame.url() as well as page.url() returns just string, not promise. source: https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#frameurl * Increment version number * Increment version number to the latest puppeteer available * Set typings version to the latest released version --- types/puppeteer/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/puppeteer/index.d.ts b/types/puppeteer/index.d.ts index f9c5741805..708ad90d95 100644 --- a/types/puppeteer/index.d.ts +++ b/types/puppeteer/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for puppeteer 0.10 +// Type definitions for puppeteer 0.12 // Project: https://github.com/GoogleChrome/puppeteer#readme // Definitions by: Marvin Hagemeister <https://github.com/marvinhagemeister> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -240,7 +240,7 @@ export interface FrameBase { ...args: Array<object | ElementHandle> ): Promise<T>; title(): Promise<string>; - url(): Promise<string>; + url(): string; waitFor( // fn can be an abritary function // tslint:disable-next-line ban-types From 2149177050c53067c50dba88fbb99b98db119c05 Mon Sep 17 00:00:00 2001 From: CodeAnimal <codeanimal@outlook.com> Date: Tue, 17 Oct 2017 16:55:35 +0100 Subject: [PATCH 416/433] Add definitions for gen-readlines 0.1 (#20609) * Add definitions for genreadlines 0.1 * Add `"strictFunctionTypes"` to tsconfig.json * Update tsconfig.json Set `"strictFunctionTypes"` to `true` --- types/gen-readlines/gen-readlines-tests.ts | 25 ++++++++++++++++++++++ types/gen-readlines/index.d.ts | 18 ++++++++++++++++ types/gen-readlines/tsconfig.json | 24 +++++++++++++++++++++ types/gen-readlines/tslint.json | 1 + 4 files changed, 68 insertions(+) create mode 100644 types/gen-readlines/gen-readlines-tests.ts create mode 100644 types/gen-readlines/index.d.ts create mode 100644 types/gen-readlines/tsconfig.json create mode 100644 types/gen-readlines/tslint.json diff --git a/types/gen-readlines/gen-readlines-tests.ts b/types/gen-readlines/gen-readlines-tests.ts new file mode 100644 index 0000000000..4326c5d108 --- /dev/null +++ b/types/gen-readlines/gen-readlines-tests.ts @@ -0,0 +1,25 @@ +/// <reference types="node" /> + +import fs = require("fs"); +import readlines = require("gen-readlines"); + +const fd = fs.openSync('./somefile.txt', 'r'); +const stats = fs.fstatSync(fd); + +let str: string; + +for (const line of readlines(fd, stats.size)) { + str = line; + console.log(line.toString()); +} + +fs.closeSync(fd); + +fs.open('./test_data/hipster.txt', 'r', (err, fd) => { + fs.fstat(fd, (err, stats) => { + for (const line of readlines(fd, stats.size, 64 * 0x400, 0)) { + str = line; + console.log(line.toString()); + } + }); +}); diff --git a/types/gen-readlines/index.d.ts b/types/gen-readlines/index.d.ts new file mode 100644 index 0000000000..62b24c445a --- /dev/null +++ b/types/gen-readlines/index.d.ts @@ -0,0 +1,18 @@ +// Type definitions for gen-readlines 0.1 +// Project: https://github.com/neurosnap/gen-readlines#readme +// Definitions by: Peter Harris <https://github.com/CodeAnimal> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/** + * Generator based line reader + * + * @param fd The file descriptor + * @param filesize The size of the file in bytes + * @param bufferSize The size of the buffer in bytes, default: 64*1024 + * @param position The position where to start reading the file in bytes, default: 0 + * + * @returns The generator object, yeilding each line as a string + */ +declare function readlines(fd: number, filesize: number, bufferSize?: number, position?: number): IterableIterator<string>; + +export = readlines; diff --git a/types/gen-readlines/tsconfig.json b/types/gen-readlines/tsconfig.json new file mode 100644 index 0000000000..18d185012c --- /dev/null +++ b/types/gen-readlines/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes" : true + }, + "files": [ + "index.d.ts", + "gen-readlines-tests.ts" + ] +} diff --git a/types/gen-readlines/tslint.json b/types/gen-readlines/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/gen-readlines/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 14dd64b8cba36a0c35672049366670efb07b2cdf Mon Sep 17 00:00:00 2001 From: CodeAnimal <codeanimal@outlook.com> Date: Tue, 17 Oct 2017 17:02:32 +0100 Subject: [PATCH 417/433] Add csvrow 0.1 (#20614) * Add csvrow 0.1 definitions * Fix dtslint errors * add newline to end of index.d.ts * Update tsconfig.json Set `"strictFunctionTypes"` to `true` --- types/csvrow/csvrow-tests.ts | 10 ++++++++++ types/csvrow/index.d.ts | 29 +++++++++++++++++++++++++++++ types/csvrow/tsconfig.json | 23 +++++++++++++++++++++++ types/csvrow/tslint.json | 1 + 4 files changed, 63 insertions(+) create mode 100644 types/csvrow/csvrow-tests.ts create mode 100644 types/csvrow/index.d.ts create mode 100644 types/csvrow/tsconfig.json create mode 100644 types/csvrow/tslint.json diff --git a/types/csvrow/csvrow-tests.ts b/types/csvrow/csvrow-tests.ts new file mode 100644 index 0000000000..133eab5937 --- /dev/null +++ b/types/csvrow/csvrow-tests.ts @@ -0,0 +1,10 @@ +import csvrow = require("csvrow"); + +let row = "a,b,c"; +let columns: string[]; + +columns = csvrow.parse(row); + +row = csvrow.stringify(columns); + +row = csvrow.normalize(row); diff --git a/types/csvrow/index.d.ts b/types/csvrow/index.d.ts new file mode 100644 index 0000000000..53df54a249 --- /dev/null +++ b/types/csvrow/index.d.ts @@ -0,0 +1,29 @@ +// Type definitions for csvrow 0.1 +// Project: https://github.com/trentm/node-csvrow +// Definitions by: Peter Harris <https://github.com/codeanimal> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/** + * Parse a CSV row (i.e. a single row) into an array of strings. + * + * c.f. http://en.wikipedia.org/wiki/Comma-separated_values + * + * Limitations/Opinions: + * - don't support elements with line-breaks + * - leading a trailing spaces are trimmed, unless the entry is quoted + * + * @throws {TypeError} if the given CSV row is invalid + * + * @summary Parse a CSV row into an array of strings. + */ +export function parse(row: string): string[]; + +/** + * Serialize the given array to a CSV row. + */ +export function stringify(columns: string[]): string; + +/** + * Normalize the given CSV line. + */ +export function normalize(row: string): string; diff --git a/types/csvrow/tsconfig.json b/types/csvrow/tsconfig.json new file mode 100644 index 0000000000..7fc1637725 --- /dev/null +++ b/types/csvrow/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "strictFunctionTypes" : true + }, + "files": [ + "index.d.ts", + "csvrow-tests.ts" + ] +} diff --git a/types/csvrow/tslint.json b/types/csvrow/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/csvrow/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 9266e419ed585aab552a4e93bbf14b2c13eed4b7 Mon Sep 17 00:00:00 2001 From: Shenghan Gao <gaoshenghan199123@gmail.com> Date: Tue, 17 Oct 2017 09:06:08 -0700 Subject: [PATCH 418/433] fix export issue for cytoscape (#20616) --- types/cytoscape/cytoscape-tests.ts | 2 +- types/cytoscape/index.d.ts | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/types/cytoscape/cytoscape-tests.ts b/types/cytoscape/cytoscape-tests.ts index 827a9880d3..0b7bac436e 100644 --- a/types/cytoscape/cytoscape-tests.ts +++ b/types/cytoscape/cytoscape-tests.ts @@ -1,5 +1,5 @@ 'use strict'; -import { cytoscape } from 'cytoscape'; +import cytoscape = require('cytoscape'); const parentCSS = { 'padding-top': '10px', diff --git a/types/cytoscape/index.d.ts b/types/cytoscape/index.d.ts index 7b5a9a9dbc..3a618195d1 100644 --- a/types/cytoscape/index.d.ts +++ b/types/cytoscape/index.d.ts @@ -58,19 +58,18 @@ * A number of interfaces contain nothing as they server to collect interfaces. * */ -// export as namespace Cy -// export = cytoscape; +export = cytoscape; +export as namespace cytoscape; -export function cytoscape(options?: cytoscape.CytoscapeOptions): cytoscape.Core; -export function cytoscape(extensionName: string, foo: string, bar: any): cytoscape.Core; +declare function cytoscape(options?: cytoscape.CytoscapeOptions): cytoscape.Core; +declare function cytoscape(extensionName: string, foo: string, bar: any): cytoscape.Core; -export namespace cytoscape { +declare namespace cytoscape { interface Position { x: number; y: number; } - type HtmlElement = any; type CssStyleDeclaration = any; interface ElementDefinition { From bc2da03e918e8cd50cf9edb17b8e43c11d3880da Mon Sep 17 00:00:00 2001 From: Sergii Paryzhskyi <parizhskiy@gmail.com> Date: Tue, 17 Oct 2017 18:07:04 +0200 Subject: [PATCH 419/433] Define types for subtract method and add tests for it (#20617) --- types/date-arithmetic/date-arithmetic-tests.ts | 10 ++++++++++ types/date-arithmetic/index.d.ts | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/types/date-arithmetic/date-arithmetic-tests.ts b/types/date-arithmetic/date-arithmetic-tests.ts index 11e2dba3c6..509551dd92 100644 --- a/types/date-arithmetic/date-arithmetic-tests.ts +++ b/types/date-arithmetic/date-arithmetic-tests.ts @@ -9,3 +9,13 @@ dateArithmetic.add(new Date(2010, 7, 23), 2, 'month'); dateArithmetic.add(new Date(2010, 7, 23), 2, 'year'); dateArithmetic.add(new Date(2010, 7, 23), 2, 'decade'); dateArithmetic.add(new Date(2010, 7, 23), 2, 'century'); + +dateArithmetic.subtract(new Date(2010, 7, 30), 1, 'second'); +dateArithmetic.subtract(new Date(2010, 7, 29), 2, 'minutes'); +dateArithmetic.subtract(new Date(2010, 7, 28), 3, 'hours'); +dateArithmetic.subtract(new Date(2010, 7, 27), 4, 'day'); +dateArithmetic.subtract(new Date(2010, 7, 26), 5, 'week'); +dateArithmetic.subtract(new Date(2010, 7, 24), 6, 'month'); +dateArithmetic.subtract(new Date(2010, 7, 23), 7, 'year'); +dateArithmetic.subtract(new Date(2010, 7, 22), 8, 'decade'); +dateArithmetic.subtract(new Date(2010, 7, 21), 9, 'century'); diff --git a/types/date-arithmetic/index.d.ts b/types/date-arithmetic/index.d.ts index 813b408730..ad669fd523 100644 --- a/types/date-arithmetic/index.d.ts +++ b/types/date-arithmetic/index.d.ts @@ -7,8 +7,11 @@ type Unit = 'second' | 'minutes' | 'hours' | 'day' | 'week' | 'month' | 'year' | /** dateArithmetic Public Instance Methods */ interface dateArithmeticStatic { - /** Add specified amount of units to a provided date and return new date as a result */ + /** Add specified amount of units to a provided date and return new date as a result */ add(date: Date, num: number, unit: Unit): Date; + + /** Subtract specified amount of units from a provided date and return new date as a result */ + subtract(date: Date, num: number, unit: Unit): Date; } declare module 'dateArithmetic' { From ce9e109a99b10ed1235b53ed990b6088a4e9f531 Mon Sep 17 00:00:00 2001 From: Daniel Milbrandt <xiphe@xiphe.com> Date: Tue, 17 Oct 2017 18:15:27 +0200 Subject: [PATCH 420/433] added uuid v5 to uuidStatic List (#20634) You was not able to do " import {v5} from 'uuid' ", this will fix it --- types/uuid/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/uuid/index.d.ts b/types/uuid/index.d.ts index 75bc7e6661..cc4c1a1ef7 100644 --- a/types/uuid/index.d.ts +++ b/types/uuid/index.d.ts @@ -10,11 +10,12 @@ // because of the existing uuid-js npm types package being at 3.3.28, // meaning that `npm install @types/uuid` was installing the typings for uuid-js, not this -import { v1, v4 } from './interfaces'; +import { v1, v4, v5 } from './interfaces'; interface UuidStatic { v1: v1; v4: v4; + v5: v5; } declare const uuid: UuidStatic & v4; From fa63fd564a015b875e4dab8156078de99e2c0a08 Mon Sep 17 00:00:00 2001 From: Richard Silverton <silverton.richard@googlemail.com> Date: Tue, 17 Oct 2017 17:15:45 +0100 Subject: [PATCH 421/433] fix ReferenceOptions interface for Joi to include Hoek.reach options (#20635) --- types/joi/index.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types/joi/index.d.ts b/types/joi/index.d.ts index 1b4c3fcbaf..02ac767427 100644 --- a/types/joi/index.d.ts +++ b/types/joi/index.d.ts @@ -138,6 +138,9 @@ export interface WhenOptions { export interface ReferenceOptions { separator?: string; contextPrefix?: string; + default?: any; + strict?: boolean; + functions?: boolean; } export interface IPOptions { From 52f686b9db28db3028c0c3277b8a9be58a134967 Mon Sep 17 00:00:00 2001 From: Alessandro Vergani <alessandro.vergani@gmail.com> Date: Tue, 17 Oct 2017 18:16:06 +0200 Subject: [PATCH 422/433] Add lookup to dgram SocketOptions (#20636) --- types/node/index.d.ts | 2 ++ types/node/node-tests.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 2f9834e411..421803080d 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -2657,6 +2657,7 @@ declare module "net" { declare module "dgram" { import * as events from "events"; + import * as dns from "dns"; interface RemoteInfo { address: string; @@ -2683,6 +2684,7 @@ declare module "dgram" { reuseAddr?: boolean; recvBufferSize?: number; sendBufferSize?: number; + lookup?: (hostname: string, options: dns.LookupOneOptions, callback: (err: NodeJS.ErrnoException, address: string, family: number) => void) => void; } export function createSocket(type: SocketType, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index 5929a0c08a..9c6ca8d4d4 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -1375,6 +1375,7 @@ namespace dgram_tests { }); ds.send(new Buffer("hello"), 5000, "127.0.0.1"); ds.setMulticastInterface("127.0.0.1"); + ds = dgram.createSocket({ type: "udp4", reuseAddr: true, recvBufferSize: 1000, sendBufferSize: 1000, lookup: dns.lookup }); } { From d51849022778816836d9bbd81b3ed43edb801443 Mon Sep 17 00:00:00 2001 From: Alessandro Vergani <alessandro.vergani@gmail.com> Date: Tue, 17 Oct 2017 18:17:47 +0200 Subject: [PATCH 423/433] Add O_DSYNC flag (#20638) --- types/node/index.d.ts | 4 ++++ types/node/node-tests.ts | 1 + 2 files changed, 5 insertions(+) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 421803080d..143ae3177f 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -4190,6 +4190,9 @@ declare module "fs" { /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O. */ export const O_SYNC: number; + /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O with write operations waiting for data integrity. */ + export const O_DSYNC: number; + /** Constant for fs.open(). Flag indicating to open the symbolic link itself rather than the resource it is pointing to. */ export const O_SYMLINK: number; @@ -5735,6 +5738,7 @@ declare module "constants" { export var O_NOATIME: number; export var O_NOFOLLOW: number; export var O_SYNC: number; + export var O_DSYNC: number; export var O_SYMLINK: number; export var O_DIRECT: number; export var O_NONBLOCK: number; diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index 9c6ca8d4d4..1ec94db6b6 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -2937,6 +2937,7 @@ namespace constants_tests { num = constants.O_NOATIME; num = constants.O_NOFOLLOW; num = constants.O_SYNC; + num = constants.O_DSYNC; num = constants.O_DIRECT; num = constants.O_NONBLOCK; num = constants.S_IRWXU; From fdd6cc3a35c53f89f643b53827805b6fb21048c4 Mon Sep 17 00:00:00 2001 From: Leonard Thieu <leonard-thieu@users.noreply.github.com> Date: Tue, 17 Oct 2017 12:26:14 -0400 Subject: [PATCH 424/433] [jquery] `after()`, `append()`, `before()`, and `prepend()` can accept an array of JQuery (#20319) * [jquery] `after()`, `append()`, `before()`, and `prepend()` can accept an array of JQuery. * [jquery] Lint. * [jquery] Disable flaky tests. * [sharepoint] Lint. * [tinymce] Lint. * [ej.web.all] Lint. * [jquery] Fix unintended change to Callbacks. * [jquery] Fix test. --- types/jquery/index.d.ts | 17 ++--- types/jquery/jquery-tests.ts | 126 +++++++++++++++++------------------ types/jquery/tslint.json | 3 + 3 files changed, 75 insertions(+), 71 deletions(-) diff --git a/types/jquery/index.d.ts b/types/jquery/index.d.ts index f5947549b7..bac194ee78 100644 --- a/types/jquery/index.d.ts +++ b/types/jquery/index.d.ts @@ -3024,7 +3024,7 @@ interface JQuery<TElement extends Node = HTMLElement> extends Iterable<TElement> * @see {@link https://api.jquery.com/after/} * @since 1.0 */ - after(...contents: Array<JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node> | JQuery<JQuery.Node>>): this; + after(...contents: Array<JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node | JQuery<JQuery.Node>>>): this; /** * Insert content, specified by the parameter, after each element in the set of matched elements. * @@ -3036,7 +3036,7 @@ interface JQuery<TElement extends Node = HTMLElement> extends Iterable<TElement> * @since 1.4 * @since 1.10 */ - after(fn: (this: TElement, index: number, html: string) => JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node> | JQuery<JQuery.Node>): this; + after(fn: (this: TElement, index: number, html: string) => JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node | JQuery<JQuery.Node>>): this; /** * Register a handler to be called when Ajax requests complete. This is an AjaxEvent. * @@ -3140,7 +3140,7 @@ interface JQuery<TElement extends Node = HTMLElement> extends Iterable<TElement> * @see {@link https://api.jquery.com/append/} * @since 1.0 */ - append(...contents: Array<JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node> | JQuery<JQuery.Node>>): this; + append(...contents: Array<JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node | JQuery<JQuery.Node>>>): this; /** * Insert content, specified by the parameter, to the end of each element in the set of matched elements. * @@ -3151,7 +3151,7 @@ interface JQuery<TElement extends Node = HTMLElement> extends Iterable<TElement> * @see {@link https://api.jquery.com/append/} * @since 1.4 */ - append(fn: (this: TElement, index: number, html: string) => JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node> | JQuery<JQuery.Node>): this; + append(fn: (this: TElement, index: number, html: string) => JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node | JQuery<JQuery.Node>>): this; /** * Insert every element in the set of matched elements to the end of the target. * @@ -3198,7 +3198,7 @@ interface JQuery<TElement extends Node = HTMLElement> extends Iterable<TElement> * @see {@link https://api.jquery.com/before/} * @since 1.0 */ - before(...contents: Array<JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node> | JQuery<JQuery.Node>>): this; + before(...contents: Array<JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node | JQuery<JQuery.Node>>>): this; /** * Insert content, specified by the parameter, before each element in the set of matched elements. * @@ -3210,7 +3210,7 @@ interface JQuery<TElement extends Node = HTMLElement> extends Iterable<TElement> * @since 1.4 * @since 1.10 */ - before(fn: (this: TElement, index: number, html: string) => JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node> | JQuery<JQuery.Node>): this; + before(fn: (this: TElement, index: number, html: string) => JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node | JQuery<JQuery.Node>>): this; // [bind() overloads] https://github.com/jquery/api.jquery.com/issues/1048 /** * Attach a handler to an event for the elements. @@ -3894,6 +3894,7 @@ interface JQuery<TElement extends Node = HTMLElement> extends Iterable<TElement> * @since 1.0 * @since 1.4 */ + // HACK: The type parameter T is not used but ensures the 'event' callback parameter is typed correctly. hover<T>(handlerInOut: JQuery.EventHandler<TElement> | JQuery.EventHandlerBase<any, JQuery.Event<TElement>> | false, handlerOut?: JQuery.EventHandler<TElement> | JQuery.EventHandlerBase<any, JQuery.Event<TElement>> | false): this; /** @@ -4602,7 +4603,7 @@ interface JQuery<TElement extends Node = HTMLElement> extends Iterable<TElement> * @see {@link https://api.jquery.com/prepend/} * @since 1.0 */ - prepend(...contents: Array<JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node> | JQuery<JQuery.Node>>): this; + prepend(...contents: Array<JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node | JQuery<JQuery.Node>>>): this; /** * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements. * @@ -4613,7 +4614,7 @@ interface JQuery<TElement extends Node = HTMLElement> extends Iterable<TElement> * @see {@link https://api.jquery.com/prepend/} * @since 1.4 */ - prepend(fn: (this: TElement, index: number, html: string) => JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node> | JQuery<JQuery.Node>): this; + prepend(fn: (this: TElement, index: number, html: string) => JQuery.htmlString | JQuery.TypeOrArray<JQuery.Node | JQuery<JQuery.Node>>): this; /** * Insert every element in the set of matched elements to the beginning of the target. * diff --git a/types/jquery/jquery-tests.ts b/types/jquery/jquery-tests.ts index 99a10c6f45..32f26b1489 100644 --- a/types/jquery/jquery-tests.ts +++ b/types/jquery/jquery-tests.ts @@ -63,7 +63,7 @@ function JQueryStatic() { } function ajaxSettings() { - // $ExpectType JQuery.AjaxSettings + // $ExpectType AjaxSettings<any> $.ajaxSettings; } @@ -1659,8 +1659,8 @@ function JQueryStatic() { } function type() { - // $ExpectType "string" | "number" | "boolean" | "symbol" | "undefined" | "object" | "function" | "array" | "date" | "error" | "null" | "regexp" - $.type({}); + // // $ExpectType "string" | "number" | "boolean" | "symbol" | "undefined" | "object" | "function" | "array" | "date" | "error" | "null" | "regexp" + // $.type({}); } function unique() { @@ -2132,8 +2132,8 @@ function JQuery() { this; // $ExpectType string responseText; - // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" - textStatus; + // // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" + // textStatus; // $ExpectType jqXHR<any> jqXHR; }); @@ -2144,8 +2144,8 @@ function JQuery() { this; // $ExpectType string responseText; - // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" - textStatus; + // // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" + // textStatus; // $ExpectType jqXHR<any> jqXHR; }); @@ -2156,8 +2156,8 @@ function JQuery() { this; // $ExpectType string responseText; - // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" - textStatus; + // // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" + // textStatus; // $ExpectType jqXHR<any> jqXHR; }); @@ -5135,7 +5135,7 @@ function JQuery() { function manipulation() { function after() { // $ExpectType JQuery<HTMLElement> - $('p').after('<p></p>', new Element(), new Text(), $('p').contents(), [new Element(), new Text()]); + $('p').after('<p></p>', new Element(), new Text(), $('p').contents(), [new Element(), new Text(), $('p').contents()]); // $ExpectType JQuery<HTMLElement> $('p').after(function(index, html) { @@ -5173,18 +5173,6 @@ function JQuery() { return new Text(); }); - // $ExpectType JQuery<HTMLElement> - $('p').after(function(index, html) { - // $ExpectType HTMLElement - this; - // $ExpectType number - index; - // $ExpectType string - html; - - return [new Element(), new Text()]; - }); - // $ExpectType JQuery<HTMLElement> $('p').after(function(index, html) { // $ExpectType HTMLElement @@ -5196,11 +5184,23 @@ function JQuery() { return $('p').contents(); }); + + // $ExpectType JQuery<HTMLElement> + $('p').after(function(index, html) { + // $ExpectType HTMLElement + this; + // $ExpectType number + index; + // $ExpectType string + html; + + return [new Element(), new Text(), $('p').contents()]; + }); } function append() { // $ExpectType JQuery<HTMLElement> - $('p').append('<p></p>', new Element(), new Text(), $('p').contents(), [new Element(), new Text()]); + $('p').append('<p></p>', new Element(), new Text(), $('p').contents(), [new Element(), new Text(), $('p').contents()]); // $ExpectType JQuery<HTMLElement> $('p').append(function(index, html) { @@ -5238,18 +5238,6 @@ function JQuery() { return new Text(); }); - // $ExpectType JQuery<HTMLElement> - $('p').append(function(index, html) { - // $ExpectType HTMLElement - this; - // $ExpectType number - index; - // $ExpectType string - html; - - return [new Element(), new Text()]; - }); - // $ExpectType JQuery<HTMLElement> $('p').append(function(index, html) { // $ExpectType HTMLElement @@ -5264,11 +5252,23 @@ function JQuery() { // $ExpectType JQuery<HTMLElement> $('p').append($.parseHTML('<span>myTextNode <!-- myComment --></span>')); + + // $ExpectType JQuery<HTMLElement> + $('p').append(function(index, html) { + // $ExpectType HTMLElement + this; + // $ExpectType number + index; + // $ExpectType string + html; + + return [new Element(), new Text(), $('p').contents()]; + }); } function before() { // $ExpectType JQuery<HTMLElement> - $('p').before('<p></p>', new Element(), new Text(), $('p').contents(), [new Element(), new Text()]); + $('p').before('<p></p>', new Element(), new Text(), $('p').contents(), [new Element(), new Text(), $('p').contents()]); // $ExpectType JQuery<HTMLElement> $('p').before(function(index, html) { @@ -5315,7 +5315,7 @@ function JQuery() { // $ExpectType string html; - return [new Element(), new Text()]; + return $('p').contents(); }); // $ExpectType JQuery<HTMLElement> @@ -5327,13 +5327,13 @@ function JQuery() { // $ExpectType string html; - return $('p').contents(); + return [new Element(), new Text(), $('p').contents()]; }); } function prepend() { // $ExpectType JQuery<HTMLElement> - $('p').prepend('<p></p>', new Element(), new Text(), $('p').contents(), [new Element(), new Text()]); + $('p').prepend('<p></p>', new Element(), new Text(), $('p').contents(), [new Element(), new Text()], [new Element(), $('p').contents()]); // $ExpectType JQuery<HTMLElement> $('p').prepend(function(index, html) { @@ -5380,7 +5380,7 @@ function JQuery() { // $ExpectType string html; - return [new Element(), new Text()]; + return $('p').contents(); }); // $ExpectType JQuery<HTMLElement> @@ -5392,7 +5392,7 @@ function JQuery() { // $ExpectType string html; - return $('p').contents(); + return [new Element(), new Text(), $('p').contents()]; }); } @@ -6204,8 +6204,8 @@ function JQuery_AjaxSettings() { this; // $ExpectType jqXHR<any> jqXHR; - // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" - textStatus; + // // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" + // textStatus; }, contents: { mycustomtype: /mycustomtype/ @@ -6315,8 +6315,8 @@ function JQuery_AjaxSettings() { this; // $ExpectType jqXHR<any> jqXHR; - // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" - textStatus; + // // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" + // textStatus; }], contentType: false, data: 'myData', @@ -6524,22 +6524,22 @@ function JQuery_jqXHR() { $.ajax('/echo/json').always((data_jqXHR, textStatus, jqXHR_errorThrown) => { // $ExpectType any data_jqXHR; - // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" - textStatus; + // // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" + // textStatus; // $ExpectType string | jqXHR<any> jqXHR_errorThrown; }, [(data_jqXHR, textStatus, jqXHR_errorThrown) => { // $ExpectType any data_jqXHR; - // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" - textStatus; + // // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" + // textStatus; // $ExpectType string | jqXHR<any> jqXHR_errorThrown; }], (data_jqXHR, textStatus, jqXHR_errorThrown) => { // $ExpectType any data_jqXHR; - // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" - textStatus; + // // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" + // textStatus; // $ExpectType string | jqXHR<any> jqXHR_errorThrown; }); @@ -6548,15 +6548,15 @@ function JQuery_jqXHR() { $.ajax('/echo/json').always((data_jqXHR, textStatus, jqXHR_errorThrown) => { // $ExpectType any data_jqXHR; - // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" - textStatus; + // // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" + // textStatus; // $ExpectType string | jqXHR<any> jqXHR_errorThrown; }, [(data_jqXHR, textStatus, jqXHR_errorThrown) => { // $ExpectType any data_jqXHR; - // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" - textStatus; + // // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" + // textStatus; // $ExpectType string | jqXHR<any> jqXHR_errorThrown; }]); @@ -6565,15 +6565,15 @@ function JQuery_jqXHR() { $.ajax('/echo/json').always([(data_jqXHR, textStatus, jqXHR_errorThrown) => { // $ExpectType any data_jqXHR; - // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" - textStatus; + // // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" + // textStatus; // $ExpectType string | jqXHR<any> jqXHR_errorThrown; }], (data_jqXHR, textStatus, jqXHR_errorThrown) => { // $ExpectType any data_jqXHR; - // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" - textStatus; + // // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" + // textStatus; // $ExpectType string | jqXHR<any> jqXHR_errorThrown; }); @@ -6582,8 +6582,8 @@ function JQuery_jqXHR() { $.ajax('/echo/json').always((data_jqXHR, textStatus, jqXHR_errorThrown) => { // $ExpectType any data_jqXHR; - // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" - textStatus; + // // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" + // textStatus; // $ExpectType string | jqXHR<any> jqXHR_errorThrown; }); @@ -6592,8 +6592,8 @@ function JQuery_jqXHR() { $.ajax('/echo/json').always([(data_jqXHR, textStatus, jqXHR_errorThrown) => { // $ExpectType any data_jqXHR; - // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" - textStatus; + // // $ExpectType "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror" + // textStatus; // $ExpectType string | jqXHR<any> jqXHR_errorThrown; }]); diff --git a/types/jquery/tslint.json b/types/jquery/tslint.json index da57c7462f..24680d3efb 100644 --- a/types/jquery/tslint.json +++ b/types/jquery/tslint.json @@ -5,10 +5,13 @@ "await-promise": false, "ban-types": false, "callable-types": false, + "no-any-union": false, "no-boolean-literal-compare": false, + "no-declare-current-package": false, "no-empty-interface": false, "no-misused-new": false, "no-object-literal-type-assertion": false, + "no-unnecessary-generics": false, "no-unnecessary-qualifier": false, "no-unnecessary-type-assertion": false, "no-var-keyword": false, From 135425f6da083ca147050b9ca3676a3835e3828b Mon Sep 17 00:00:00 2001 From: totano <alessandro.lendaro@gmail.com> Date: Tue, 17 Oct 2017 19:13:28 +0200 Subject: [PATCH 425/433] @types/jest: added setTimeout method (#20610) * added setTimeout method * Update and rename index.d.ts to test * Rename test to index.ts * Update index.ts * Rename index.ts to index.d.ts * Update index.d.ts * Update jest-tests.ts * Update jest-tests.ts * Update jest-tests.ts * Update jest-tests.ts --- types/jest/index.d.ts | 5 +++++ types/jest/jest-tests.ts | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/types/jest/index.d.ts b/types/jest/index.d.ts index dec3b65be1..80afeab207 100644 --- a/types/jest/index.d.ts +++ b/types/jest/index.d.ts @@ -153,6 +153,11 @@ declare namespace jest { * for the specified module. */ function setMock<T>(moduleName: string, moduleExports: T): typeof jest; + /** + * Set the default timeout interval for tests and before/after hooks in milliseconds. + * Note: The default timeout interval is 5 seconds if this method is not called. + */ + function setTimeout(timeout: number): typeof jest; /** * Creates a mock function similar to jest.fn but also tracks calls to object[methodName] */ diff --git a/types/jest/jest-tests.ts b/types/jest/jest-tests.ts index a6d062a148..d2b4d95a0e 100644 --- a/types/jest/jest-tests.ts +++ b/types/jest/jest-tests.ts @@ -239,6 +239,17 @@ describe('Assymetric matchers', () => { }); }); +describe('setTimeout', () => { + it('works as expected', done => { + jest.setTimeout(1000); + + setTimeout(() => { + expect(true).toBeTruthy(); + done(); + }, 900); + }); +}); + describe('Extending extend', () => { it('works', () => { expect.extend({ From fac842126498758c553d23be1cbcb1bf3ddc1532 Mon Sep 17 00:00:00 2001 From: Piotr Roszatycki <piotr.roszatycki@gmail.com> Date: Tue, 17 Oct 2017 20:57:31 +0200 Subject: [PATCH 426/433] Type definitions for Nodemailer 4.1.3 (#20443) --- .../nodemailer-direct-transport/tsconfig.json | 5 + types/nodemailer-mailgun-transport/index.d.ts | 22 +- .../nodemailer-mailgun-transport-tests.ts | 3 +- .../nodemailer-pickup-transport/tsconfig.json | 5 + types/nodemailer-ses-transport/tsconfig.json | 5 + types/nodemailer-smtp-pool/tsconfig.json | 5 + types/nodemailer-smtp-transport/tsconfig.json | 5 + types/nodemailer-stub-transport/tsconfig.json | 5 + types/nodemailer/index.d.ts | 239 +-- types/nodemailer/lib/addressparser.d.ts | 24 + types/nodemailer/lib/base64.d.ts | 22 + types/nodemailer/lib/dkim.d.ts | 41 + types/nodemailer/lib/fetch/cookies.d.ts | 54 + types/nodemailer/lib/fetch/index.d.ts | 32 + types/nodemailer/lib/json-transport.d.ts | 45 + types/nodemailer/lib/mail-composer.d.ts | 25 + types/nodemailer/lib/mailer/index.d.ts | 214 +++ types/nodemailer/lib/mailer/mail-message.d.ts | 26 + types/nodemailer/lib/mime-funcs/index.d.ts | 87 ++ .../nodemailer/lib/mime-funcs/mime-types.d.ts | 2 + types/nodemailer/lib/mime-node.d.ts | 131 ++ types/nodemailer/lib/qp.d.ts | 23 + types/nodemailer/lib/sendmail-transport.d.ts | 49 + types/nodemailer/lib/ses-transport.d.ts | 84 + types/nodemailer/lib/shared.d.ts | 38 + types/nodemailer/lib/smtp-connection.d.ts | 202 +++ types/nodemailer/lib/smtp-pool.d.ts | 87 ++ types/nodemailer/lib/smtp-transport.d.ts | 80 + types/nodemailer/lib/stream-transport.d.ts | 52 + types/nodemailer/lib/well-known.d.ts | 6 + types/nodemailer/lib/xoauth2.d.ts | 104 ++ types/nodemailer/nodemailer-tests.ts | 1353 ++++++++++++++++- types/nodemailer/tsconfig.json | 24 +- types/nodemailer/tslint.json | 6 + types/nodemailer/v3/index.d.ts | 215 +++ types/nodemailer/v3/nodemailer-tests.ts | 71 + types/nodemailer/{ => v3}/package.json | 0 types/nodemailer/v3/tsconfig.json | 28 + 38 files changed, 3152 insertions(+), 267 deletions(-) create mode 100644 types/nodemailer/lib/addressparser.d.ts create mode 100644 types/nodemailer/lib/base64.d.ts create mode 100644 types/nodemailer/lib/dkim.d.ts create mode 100644 types/nodemailer/lib/fetch/cookies.d.ts create mode 100644 types/nodemailer/lib/fetch/index.d.ts create mode 100644 types/nodemailer/lib/json-transport.d.ts create mode 100644 types/nodemailer/lib/mail-composer.d.ts create mode 100644 types/nodemailer/lib/mailer/index.d.ts create mode 100644 types/nodemailer/lib/mailer/mail-message.d.ts create mode 100644 types/nodemailer/lib/mime-funcs/index.d.ts create mode 100644 types/nodemailer/lib/mime-funcs/mime-types.d.ts create mode 100644 types/nodemailer/lib/mime-node.d.ts create mode 100644 types/nodemailer/lib/qp.d.ts create mode 100644 types/nodemailer/lib/sendmail-transport.d.ts create mode 100644 types/nodemailer/lib/ses-transport.d.ts create mode 100644 types/nodemailer/lib/shared.d.ts create mode 100644 types/nodemailer/lib/smtp-connection.d.ts create mode 100644 types/nodemailer/lib/smtp-pool.d.ts create mode 100644 types/nodemailer/lib/smtp-transport.d.ts create mode 100644 types/nodemailer/lib/stream-transport.d.ts create mode 100644 types/nodemailer/lib/well-known.d.ts create mode 100644 types/nodemailer/lib/xoauth2.d.ts create mode 100644 types/nodemailer/tslint.json create mode 100644 types/nodemailer/v3/index.d.ts create mode 100644 types/nodemailer/v3/nodemailer-tests.ts rename types/nodemailer/{ => v3}/package.json (100%) create mode 100644 types/nodemailer/v3/tsconfig.json diff --git a/types/nodemailer-direct-transport/tsconfig.json b/types/nodemailer-direct-transport/tsconfig.json index 00d449ecd7..a86a4a088a 100644 --- a/types/nodemailer-direct-transport/tsconfig.json +++ b/types/nodemailer-direct-transport/tsconfig.json @@ -12,6 +12,11 @@ "typeRoots": [ "../" ], + "paths": { + "nodemailer": [ + "nodemailer/v3" + ] + }, "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/nodemailer-mailgun-transport/index.d.ts b/types/nodemailer-mailgun-transport/index.d.ts index 63db09ae29..71acb6691e 100644 --- a/types/nodemailer-mailgun-transport/index.d.ts +++ b/types/nodemailer-mailgun-transport/index.d.ts @@ -2,19 +2,33 @@ // Project: https://github.com/orliesaurus/nodemailer-mailgun-transport // Definitions by: Oto Ciulis <https://github.com/otociulis> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 import * as nodemailer from 'nodemailer'; +import Mail = require('nodemailer/lib/mailer'); +import MailMessage = require('nodemailer/lib/mailer/mail-message'); declare namespace mailgunTransport { - interface Options { - auth: AuthOptions; - } interface AuthOptions { api_key: string; domain?: string; } + + interface Options { + auth: AuthOptions; + } + + type MailOptions = Mail.Options; + + type Information = object; + + class MailgunTransport implements nodemailer.Transport { + name: string; + version: string; + send(mail: MailMessage, callback: (err: Error | null, info?: Information) => void): void; + } } -declare function mailgunTransport(options: mailgunTransport.Options): nodemailer.Transport; +declare function mailgunTransport(options: mailgunTransport.Options): mailgunTransport.MailgunTransport; export = mailgunTransport; diff --git a/types/nodemailer-mailgun-transport/nodemailer-mailgun-transport-tests.ts b/types/nodemailer-mailgun-transport/nodemailer-mailgun-transport-tests.ts index 20ab33766b..0980f43cbd 100644 --- a/types/nodemailer-mailgun-transport/nodemailer-mailgun-transport-tests.ts +++ b/types/nodemailer-mailgun-transport/nodemailer-mailgun-transport-tests.ts @@ -24,6 +24,7 @@ const mailOptions: nodemailer.SendMailOptions = { text: 'Hello world ✔', // plaintext body html: '<b>Hello world ✔</b>' // html body }; -transport.sendMail(mailOptions, (error: Error, info: nodemailer.SentMessageInfo): void => { + +transport.sendMail(mailOptions, (error: Error | null, info: nodemailer.SentMessageInfo): void => { // nothing }); diff --git a/types/nodemailer-pickup-transport/tsconfig.json b/types/nodemailer-pickup-transport/tsconfig.json index 777d450e29..913453977e 100644 --- a/types/nodemailer-pickup-transport/tsconfig.json +++ b/types/nodemailer-pickup-transport/tsconfig.json @@ -12,6 +12,11 @@ "typeRoots": [ "../" ], + "paths": { + "nodemailer": [ + "nodemailer/v3" + ] + }, "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/nodemailer-ses-transport/tsconfig.json b/types/nodemailer-ses-transport/tsconfig.json index 42f2bb9c76..bdaffbb222 100644 --- a/types/nodemailer-ses-transport/tsconfig.json +++ b/types/nodemailer-ses-transport/tsconfig.json @@ -13,6 +13,11 @@ "typeRoots": [ "../" ], + "paths": { + "nodemailer": [ + "nodemailer/v3" + ] + }, "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/nodemailer-smtp-pool/tsconfig.json b/types/nodemailer-smtp-pool/tsconfig.json index 26e5f2737f..63a47e4ce7 100644 --- a/types/nodemailer-smtp-pool/tsconfig.json +++ b/types/nodemailer-smtp-pool/tsconfig.json @@ -12,6 +12,11 @@ "typeRoots": [ "../" ], + "paths": { + "nodemailer": [ + "nodemailer/v3" + ] + }, "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/nodemailer-smtp-transport/tsconfig.json b/types/nodemailer-smtp-transport/tsconfig.json index c35d5cade4..4bce06278d 100644 --- a/types/nodemailer-smtp-transport/tsconfig.json +++ b/types/nodemailer-smtp-transport/tsconfig.json @@ -12,6 +12,11 @@ "typeRoots": [ "../" ], + "paths": { + "nodemailer": [ + "nodemailer/v3" + ] + }, "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/nodemailer-stub-transport/tsconfig.json b/types/nodemailer-stub-transport/tsconfig.json index 378719af41..c8fed1b487 100644 --- a/types/nodemailer-stub-transport/tsconfig.json +++ b/types/nodemailer-stub-transport/tsconfig.json @@ -12,6 +12,11 @@ "typeRoots": [ "../" ], + "paths": { + "nodemailer": [ + "nodemailer/v3" + ] + }, "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/types/nodemailer/index.d.ts b/types/nodemailer/index.d.ts index fb1c359625..da0605ddcf 100644 --- a/types/nodemailer/index.d.ts +++ b/types/nodemailer/index.d.ts @@ -1,215 +1,64 @@ -// Type definitions for Nodemailer 3.1.5 -// Project: https://github.com/andris9/Nodemailer +// Type definitions for Nodemailer 4.1 +// Project: https://github.com/nodemailer/nodemailer // Definitions by: Rogier Schouten <https://github.com/rogierschouten> +// Piotr Roszatycki <https://github.com/dex4er> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 /// <reference types="node" /> -import directTransport = require("nodemailer-direct-transport"); -import smtpTransport = require("nodemailer-smtp-transport"); -import sesTransport = require("nodemailer-ses-transport") +import JSONTransport = require('./lib/json-transport'); +import Mail = require('./lib/mailer'); +import MailMessage = require('./lib/mailer/mail-message'); +import SendmailTransport = require('./lib/sendmail-transport'); +import SESTransport = require('./lib/ses-transport'); +import SMTPPool = require('./lib/smtp-pool'); +import SMTPTransport = require('./lib/smtp-transport'); +import StreamTransport = require('./lib/stream-transport'); -/** - * Transporter plugin - */ -export interface Plugin { - (mail: SendMailOptions, callback?: (error: Error, info: SentMessageInfo) => void): void; -} +export type SendMailOptions = Mail.Options; -/** - * This is what you use to send mail - */ -export interface Transporter { - /** - * Send a mail with callback - */ - sendMail(mail: SendMailOptions, callback: (error: Error, info: SentMessageInfo) => void): void; +export type SentMessageInfo = any; - /** - * Send a mail - * return Promise - */ - sendMail(mail: SendMailOptions): Promise<SentMessageInfo>; +export type Transporter = Mail; - /** - * Attach a plugin. 'compile' and 'stream' plugins can be attached with use(plugin) method - * - * @param step is a string, either 'compile' or 'stream' thatd defines when the plugin should be hooked - * @param pluginFunc is a function that takes two arguments: the mail object and a callback function - */ - use(step: string, plugin: Plugin): void; +export interface Transport { + mailer?: Mail; - /** - * Verifies connection with server - */ - verify(callback: (error: Error, success?: boolean) => void): void; + name: string; + version: string; - /** - * Verifies connection with server - */ - verify(): Promise<void>; + send(mail: MailMessage, callback: (err: Error | null, info: SentMessageInfo) => void): void; + + verify?(callback: (err: Error | null, success: true) => void): void; + verify?(): Promise<true>; - /** - * Close all connections - */ close?(): void; } -/** - * Create a direct transporter - */ -export declare function createTransport(options?: directTransport.DirectOptions, defaults?: Object): Transporter; -/** - * Create an SMTP transporter - */ -export declare function createTransport(options?: smtpTransport.SmtpOptions, defaults?: Object): Transporter; -/** - * Create an SMTP transporter using a connection url - */ -export declare function createTransport(connectionUrl: string, defaults?: Object): Transporter; -/** - * Create an AWS SES transporter - */ -export declare function createTransport(options?: sesTransport.SesOptions, defaults?: Object): Transporter; -/** - * Create a transporter from a given implementation - */ -export declare function createTransport(transport: Transport, defaults?: Object): Transporter; -export interface AttachmentObject { - /** - * filename to be reported as the name of the attached file, use of unicode is allowed - */ - filename?: string; - /** - * optional content id for using inline images in HTML message source - */ - cid?: string; - /** - * Pathname or URL to use streaming - */ - path?: string; - /** - * String, Buffer or a Stream contents for the attachment - */ - content: string|Buffer|NodeJS.ReadableStream; - /** - * If set and content is string, then encodes the content to a Buffer using the specified encoding. Example values: base64, hex, 'binary' etc. Useful if you want to use binary attachments in a JSON formatted e-mail object. - */ - encoding?: string; - /** - * optional content type for the attachment, if not set will be derived from the filename property - */ - contentType?: string; - /** - * optional content disposition type for the attachment, defaults to 'attachment' - */ - contentDisposition?: string; +export interface TransportOptions { + component?: string; } -export interface SendMailOptions { - /** - * The e-mail address of the sender. All e-mail addresses can be plain 'sender@server.com' or formatted 'Sender Name <sender@server.com>', see here for details - */ - from?: string; - /** - * An e-mail address that will appear on the Sender: field - */ - sender?: string; - /** - * Comma separated list or an array of recipients e-mail addresses that will appear on the To: field - */ - to?: string|string[]; - /** - * Comma separated list or an array of recipients e-mail addresses that will appear on the Cc: field - */ - cc?: string|string[]; - /** - * Comma separated list or an array of recipients e-mail addresses that will appear on the Bcc: field - */ - bcc?: string|string[]; - /** - * An e-mail address that will appear on the Reply-To: field - */ - replyTo?: string; - /** - * The message-id this message is replying - */ - inReplyTo?: string; - /** - * Message-id list (an array or space separated string) - */ - references?: string|string[]; - /** - * The subject of the e-mail - */ - subject?: string; - /** - * The plaintext version of the message as an Unicode string, Buffer, Stream or an object {path: '...'} - */ - text?: string|Buffer|NodeJS.ReadableStream|AttachmentObject; - /** - * The HTML version of the message as an Unicode string, Buffer, Stream or an object {path: '...'} - */ - html?: string|Buffer|NodeJS.ReadableStream|AttachmentObject; - /** - * An object or array of additional header fields (e.g. {"X-Key-Name": "key value"} or [{key: "X-Key-Name", value: "val1"}, {key: "X-Key-Name", value: "val2"}]) - */ - headers?: any; - /** - * An array of attachment objects (see below for details) - */ - attachments?: AttachmentObject[]; - /** - * An array of alternative text contents (in addition to text and html parts) (see below for details) - */ - alternatives?: AttachmentObject[]; - /** - * optional Message-Id value, random value will be generated if not set - */ - messageId?: string; - /** - * optional Date value, current UTC string will be used if not set - */ - date?: Date; - /** - * optional transfer encoding for the textual parts (defaults to 'quoted-printable') - */ - encoding?: string; +export interface TestAccount { + user: string; + pass: string; + smtp: { host: string, port: number, secure: boolean }; + imap: { host: string, port: number, secure: boolean }; + pop3: { host: string, port: number, secure: boolean }; + web: string; } -export interface SentMessageInfo { - /** - * most transports should return the final Message-Id value used with this property - */ - messageId: string; - /** - * includes the envelope object for the message - */ - envelope: any; - /** - * is an array returned by SMTP transports (includes recipient addresses that were accepted by the server) - */ - accepted: string[]; - /** - * is an array returned by SMTP transports (includes recipient addresses that were rejected by the server) - */ - rejected: string[]; - /** - * is an array returned by Direct SMTP transport. Includes recipient addresses that were temporarily rejected together with the server response - */ - pending?: string[]; - /** - * is a string returned by SMTP transports and includes the last SMTP response from the server - */ - response: string; -} +export function createTransport(transport?: SMTPTransport | SMTPTransport.Options | string, defaults?: SMTPTransport.Options): Mail; +export function createTransport(transport: SMTPPool | SMTPPool.Options, defaults?: SMTPPool.Options): Mail; +export function createTransport(transport: SendmailTransport | SendmailTransport.Options, defaults?: SendmailTransport.Options): Mail; +export function createTransport(transport: StreamTransport | StreamTransport.Options, defaults?: StreamTransport.Options): Mail; +export function createTransport(transport: JSONTransport | JSONTransport.Options, defaults?: JSONTransport.Options): Mail; +export function createTransport(transport: SESTransport | SESTransport.Options, defaults?: SESTransport.Options): Mail; +export function createTransport(transport: Transport | TransportOptions, defaults?: TransportOptions): Mail; -/** - * This is what you implement to create a new transporter yourself - */ -export interface Transport { - name: string; - version: string; - send(mail: SendMailOptions, callback?: (error: Error, info: SentMessageInfo) => void): void; - close(): void; -} +export function createTestAccount(apiUrl: string, callback: (err: Error | null, testAccount: TestAccount) => void): void; +export function createTestAccount(callback: (err: Error | null, testAccount: TestAccount) => void): void; +export function createTestAccount(apiUrl?: string): Promise<TestAccount>; + +export function getTestMessageUrl(info: SESTransport.SentMessageInfo | SMTPTransport.SentMessageInfo): string | false; diff --git a/types/nodemailer/lib/addressparser.d.ts b/types/nodemailer/lib/addressparser.d.ts new file mode 100644 index 0000000000..4a6f2962cf --- /dev/null +++ b/types/nodemailer/lib/addressparser.d.ts @@ -0,0 +1,24 @@ +declare namespace addressparser { + interface Address { + name: string; + address: string; + } +} + +/** + * Parses structured e-mail addresses from an address field + * + * Example: + * + * 'Name <address@domain>' + * + * will be converted to + * + * [{name: 'Name', address: 'address@domain'}] + * + * @param {String} str Address field + * @return {Array} An array of address objects + */ +declare function addressparser(address: string): addressparser.Address; + +export = addressparser; diff --git a/types/nodemailer/lib/base64.d.ts b/types/nodemailer/lib/base64.d.ts new file mode 100644 index 0000000000..a49feefd2a --- /dev/null +++ b/types/nodemailer/lib/base64.d.ts @@ -0,0 +1,22 @@ +/// <reference types="node" /> + +import { Transform, TransformOptions } from 'stream'; + +/** Encodes a Buffer into a base64 encoded string */ +export function encode(buffer: Buffer | string): string; + +/** Adds soft line breaks to a base64 string */ +export function wrap(str: string, lineLength?: number): string; + +export interface EncoderOptions extends TransformOptions { + lineLength?: number | false; +} + +export class Encoder extends Transform { + options: TransformOptions; + + inputBytes: number; + outputBytes: number; + + constructor(options?: TransformOptions); +} diff --git a/types/nodemailer/lib/dkim.d.ts b/types/nodemailer/lib/dkim.d.ts new file mode 100644 index 0000000000..de445f9567 --- /dev/null +++ b/types/nodemailer/lib/dkim.d.ts @@ -0,0 +1,41 @@ +/// <reference types="node" /> + +declare namespace DKIM { + interface OptionalOptions { + /** optional location for cached messages. If not set then caching is not used. */ + cacheDir?: string | false; + /** optional size in bytes, if message is larger than this treshold it gets cached to disk (assuming cacheDir is set and writable). Defaults to 131072 (128 kB). */ + cacheTreshold?: number; + /** optional algorithm for the body hash, defaults to ‘sha256’ */ + hashAlgo?: string; + /** an optional colon separated list of header keys to sign (eg. message-id:date:from:to...') */ + headerFieldNames?: string; + /** optional colon separated list of header keys not to sign. This is useful if you want to sign all the relevant keys but your provider changes some values, ie Message-ID and Date. In this case you should use 'message-id:date' to prevent signing these values. */ + skipFields?: string; + } + + interface SingleKeyOptions extends OptionalOptions { + /** is the domain name to use in the signature */ + domainName: string; + /** is the DKIM key selector */ + keySelector: string; + /** is the private key for the selector in PEM format */ + privateKey: string | { key: string; passphrase: string }; + } + + interface MultipleKeysOptions extends OptionalOptions { + /** is an optional array of key objects (domainName, keySelector, privateKey) if you want to add more than one signature to the message. If this value is set then the default key values are ignored */ + keys: SingleKeyOptions[]; + } + + type Options = SingleKeyOptions | MultipleKeysOptions; +} + +declare class DKIM { + options: DKIM.Options; + keys: Array<string | { key: string; passphrase: string }>; + + constructor(options: DKIM.Options); +} + +export = DKIM; diff --git a/types/nodemailer/lib/fetch/cookies.d.ts b/types/nodemailer/lib/fetch/cookies.d.ts new file mode 100644 index 0000000000..e6a2cc2acf --- /dev/null +++ b/types/nodemailer/lib/fetch/cookies.d.ts @@ -0,0 +1,54 @@ +type s = number; + +declare namespace Cookies { + interface Cookie { + name: string; + value?: string; + expires?: Date; + path?: string; + domain?: string; + secure?: boolean; + httponly?: boolean; + } + + interface Options { + sessionTimeout?: s; + } +} + +/** Creates a biskviit cookie jar for managing cookie values in memory */ +declare class Cookies { + options: Cookies.Options; + cookies: Cookies.Cookie[]; + + constructor(options?: Cookies.Options); + + /** Stores a cookie string to the cookie storage */ + set(cookieStr: string, url: string): boolean; + + /** Returns cookie string for the 'Cookie:' header. */ + get(url: string): string; + + /** Lists all valied cookie objects for the specified URL */ + list(url: string): Cookies.Cookie[]; + + /** Parses cookie string from the 'Set-Cookie:' header */ + parse(cookieStr: string): Cookies.Cookie; + + /** Checks if a cookie object is valid for a specified URL */ + match(cookie: Cookies.Cookie, url: string): boolean; + + /** Adds (or updates/removes if needed) a cookie object to the cookie storage */ + add(cookie: Cookies.Cookie): boolean; + + /** Checks if two cookie objects are the same */ + compare(a: Cookies.Cookie, b: Cookies.Cookie): boolean; + + /** Checks if a cookie is expired */ + isExpired(cookie: Cookies.Cookie): boolean; + + /** Returns normalized cookie path for an URL path argument */ + getPath(pathname: string): string; +} + +export = Cookies; diff --git a/types/nodemailer/lib/fetch/index.d.ts b/types/nodemailer/lib/fetch/index.d.ts new file mode 100644 index 0000000000..8fc814c517 --- /dev/null +++ b/types/nodemailer/lib/fetch/index.d.ts @@ -0,0 +1,32 @@ +/// <reference types="node" /> + +type ms = number; + +import _Cookies = require('./cookies'); + +import { Writable } from 'stream'; +import * as tls from 'tls'; + +declare namespace fetch { + type Cookies = _Cookies; + + interface Options { + fetchRes?: Writable; + cookies?: Cookies; + cookie?: string; + redirects?: number; + maxRedirects?: number; + method?: string; + headers?: { [key: string]: string }; + userAgent?: string; + body?: Buffer | string | { [key: string]: string }; + contentType?: string | false; + tls?: tls.TlsOptions; + timeout?: ms; + allowErrorResponse?: boolean; + } +} + +declare function fetch(url: string, options?: fetch.Options): Writable; + +export = fetch; diff --git a/types/nodemailer/lib/json-transport.d.ts b/types/nodemailer/lib/json-transport.d.ts new file mode 100644 index 0000000000..f6792f4402 --- /dev/null +++ b/types/nodemailer/lib/json-transport.d.ts @@ -0,0 +1,45 @@ +/// <reference types="node" /> + +import { EventEmitter } from 'events'; + +import { Transport, TransportOptions } from '..'; + +import * as shared from './shared'; + +import Mail = require('./mailer'); +import MailMessage = require('./mailer/mail-message'); +import MimeNode = require('./mime-node'); + +declare namespace JSONTransport { + type MailOptions = Mail.Options; + + interface Options extends MailOptions, TransportOptions { + jsonTransport: true; + } + + interface SentMessageInfo { + /** an envelope object {from:‘address’, to:[‘address’]} */ + envelope: MimeNode.Envelope; + /** the Message-ID header value */ + messageId: string; + /** JSON string */ + message: string; + } +} + +declare class JSONTransport implements Transport { + options: JSONTransport.Options; + + logger: shared.Logger; + mailer: Mail; + + name: string; + version: string; + + constructor(options: JSONTransport.Options); + + /** Compiles a mailcomposer message and forwards it to handler that sends it */ + send(mail: MailMessage, callback: (err: Error | null, info: JSONTransport.SentMessageInfo) => void): void; +} + +export = JSONTransport; diff --git a/types/nodemailer/lib/mail-composer.d.ts b/types/nodemailer/lib/mail-composer.d.ts new file mode 100644 index 0000000000..71df8f796f --- /dev/null +++ b/types/nodemailer/lib/mail-composer.d.ts @@ -0,0 +1,25 @@ +/// <reference types="node" /> + +import { URL } from 'url'; + +import Mail = require('./mailer'); +import MimeNode = require('./mime-node'); + +/** Creates the object for composing a MimeNode instance out from the mail options */ +declare class MailComposer { + mail: Mail.Options; + message: MimeNode | false; + + constructor(mail: Mail.Options); + + /** Builds MimeNode instance */ + compile(): MimeNode; + + /** List all attachments. Resulting attachment objects can be used as input for MimeNode nodes */ + getAttachments(findRelated: boolean): Mail.Attachment[]; + + /** List alternatives. Resulting objects can be used as input for MimeNode nodes */ + getAlternatives(): Mail.Attachment[]; +} + +export = MailComposer; diff --git a/types/nodemailer/lib/mailer/index.d.ts b/types/nodemailer/lib/mailer/index.d.ts new file mode 100644 index 0000000000..f08c2d085d --- /dev/null +++ b/types/nodemailer/lib/mailer/index.d.ts @@ -0,0 +1,214 @@ +/// <reference types="node" /> + +import { EventEmitter } from 'events'; +import { Socket } from 'net'; +import { Readable } from 'stream'; +import { URL } from 'url'; + +import { SentMessageInfo, Transport, TransportOptions } from '../..'; +import * as shared from '../shared'; + +import DKIM = require('../dkim'); +import MailMessage = require('./mail-message'); +import MimeNode = require('../mime-node'); +import SMTPConnection = require('../smtp-connection'); +import XOAuth2 = require('../xoauth2'); + +declare namespace Mail { + type Headers = { [key: string]: string | string[] | { prepared: boolean, value: string } } | Array<{ key: string, value: string }>; + + type ListHeader = string | { url: string, comment: string }; + + interface ListHeaders { + [key: string]: ListHeader | ListHeader[] | ListHeader[][]; + } + + type TextEncoding = 'quoted-printable' | 'base64'; + + interface Address { + name: string; + address: string; + } + + interface AttachmentLike { + /** String, Buffer or a Stream contents for the attachmentent */ + content?: string | Buffer | Readable; + /** path to a file or an URL (data uris are allowed as well) if you want to stream the file instead of including it (better for larger attachments) */ + path?: string | URL; + } + + interface Attachment extends AttachmentLike { + /** filename to be reported as the name of the attached file, use of unicode is allowed. If you do not want to use a filename, set this value as false, otherwise a filename is generated automatically */ + filename?: string | false; + /** optional content id for using inline images in HTML message source. Using cid sets the default contentDisposition to 'inline' and moves the attachment into a multipart/related mime node, so use it only if you actually want to use this attachment as an embedded image */ + cid?: string; + /** If set and content is string, then encodes the content to a Buffer using the specified encoding. Example values: base64, hex, binary etc. Useful if you want to use binary attachments in a JSON formatted e-mail object */ + encoding?: string; + /** optional content type for the attachment, if not set will be derived from the filename property */ + contentType?: string; + /** optional transfer encoding for the attachment, if not set it will be derived from the contentType property. Example values: quoted-printable, base64 */ + contentTransferEncoding?: string; + /** optional content disposition type for the attachment, defaults to ‘attachment’ */ + contentDisposition?: string; + /** is an object of additional headers */ + headers?: Headers; + /** an optional value that overrides entire node content in the mime message. If used then all other options set for this node are ignored. */ + raw?: string | Buffer | Readable | AttachmentLike; + } + + interface IcalAttachment extends AttachmentLike { + /** optional method, case insensitive, defaults to ‘publish’. Other possible values would be ‘request’, ‘reply’, ‘cancel’ or any other valid calendar method listed in RFC5546. This should match the METHOD: value in calendar event file. */ + method?: string; + /** optional filename, defaults to ‘invite.ics’ */ + filename?: string | false; + /** is an alternative for content to load the calendar data from an URL */ + href?: string; + /** defines optional content encoding, eg. ‘base64’ or ‘hex’. This only applies if the content is a string. By default an unicode string is assumed. */ + encoding?: string; + } + + interface Connection { + connection: Socket; + } + + interface Envelope { + /** the first address gets used as MAIL FROM address in SMTP */ + from?: string; + /** addresses from this value get added to RCPT TO list */ + to?: string; + /** addresses from this value get added to RCPT TO list */ + cc?: string; + /** addresses from this value get added to RCPT TO list */ + bcc?: string; + } + + interface Options { + /** The e-mail address of the sender. All e-mail addresses can be plain 'sender@server.com' or formatted 'Sender Name <sender@server.com>' */ + from?: string | Address; + /** An e-mail address that will appear on the Sender: field */ + sender?: string | Address; + /** Comma separated list or an array of recipients e-mail addresses that will appear on the To: field */ + to?: string | Address | Array<string | Address>; + /** Comma separated list or an array of recipients e-mail addresses that will appear on the Cc: field */ + cc?: string | Address | Array<string | Address>; + /** Comma separated list or an array of recipients e-mail addresses that will appear on the Bcc: field */ + bcc?: string | Address | Array<string | Address>; + /** An e-mail address that will appear on the Reply-To: field */ + replyTo?: string | Address; + /** The message-id this message is replying */ + inReplyTo?: string | Address; + /** Message-id list (an array or space separated string) */ + references?: string | string[]; + /** The subject of the e-mail */ + subject?: string; + /** The plaintext version of the message */ + text?: string | Buffer | Readable | AttachmentLike; + /** The HTML version of the message */ + html?: string | Buffer | Readable | AttachmentLike; + /** Apple Watch specific HTML version of the message, same usage as with text and html */ + watchHtml?: string | Buffer | Readable | AttachmentLike; + /** iCalendar event, same usage as with text and html. Event method attribute defaults to ‘PUBLISH’ or define it yourself: {method: 'REQUEST', content: iCalString}. This value is added as an additional alternative to html or text. Only utf-8 content is allowed */ + icalEvent?: string | Buffer | Readable | IcalAttachment; + /** An object or array of additional header fields */ + headers?: Headers; + /** An object where key names are converted into list headers. List key help becomes List-Help header etc. */ + list?: ListHeaders; + /** An array of attachment objects */ + attachments?: Attachment[]; + /** An array of alternative text contents (in addition to text and html parts) */ + alternatives?: Attachment[]; + /** optional SMTP envelope, if auto generated envelope is not suitable */ + envelope?: Envelope | MimeNode.Envelope; + /** optional Message-Id value, random value will be generated if not set */ + messageId?: string; + /** optional Date value, current UTC string will be used if not set */ + date?: Date | string; + /** optional transfer encoding for the textual parts */ + encoding?: string; + /** if set then overwrites entire message output with this value. The value is not parsed, so you should still set address headers or the envelope value for the message to work */ + raw?: string | Buffer | Readable | AttachmentLike; + /** set explicitly which encoding to use for text parts (quoted-printable or base64). If not set then encoding is detected from text content (mostly ascii means quoted-printable, otherwise base64) */ + textEncoding?: TextEncoding; + /** if set to true then fails with an error when a node tries to load content from URL */ + disableUrlAccess?: boolean; + /** if set to true then fails with an error when a node tries to load content from a file */ + disableFileAccess?: boolean; + /** is an object with DKIM options */ + dkim?: DKIM.Options; + } + + type PluginFunction = (mail: MailMessage, callback: (err?: Error | null) => void) => void; +} + +/** Creates an object for exposing the Mail API */ +declare class Mail extends EventEmitter { + options: Mail.Options; + meta: Map<string, any>; + dkim: DKIM; + transporter: Transport; + logger: shared.Logger; + + /** Usage: typeof transporter.MailMessage */ + MailMessage: MailMessage; + + constructor(transporter: Transport, options: TransportOptions, defaults: TransportOptions); + + /** Closes all connections in the pool. If there is a message being sent, the connection is closed later */ + close(): void; + + /** Returns true if there are free slots in the queue */ + isIdle(): boolean; + + /** Verifies SMTP configuration */ + verify(callback: (err: Error | null, success: true) => void): void; + verify(): Promise<true>; + + use(step: string, plugin: Mail.PluginFunction): void; // TODO Plugin? + + /** Sends an email using the preselected transport object */ + sendMail(mailOptions: Mail.Options, callback: (err: Error | null, info: SentMessageInfo) => void): void; + sendMail(mailOptions: Mail.Options): Promise<SentMessageInfo>; + + getVersionString(): string; + + /** Sets up proxy handler for a Nodemailer object */ + setupProxy(proxyUrl: string): void; + + set(key: 'oauth2_provision_cb', value: (user: string, renew: boolean, callback: (err: Error | null, accessToken?: string, expires?: number) => void) => void): Map<string, any>; + set(key: 'proxy_handler_http' | 'proxy_handler_https' | 'proxy_handler_socks' | 'proxy_handler_socks5' | 'proxy_handler_socks4' | 'proxy_handler_socks4a', value: (proxy: URL, options: TransportOptions, callback: (err: Error | null, socketOptions?: { connection: Socket }) => void) => void): Map<string, any>; + set(key: string, value: any): Map<string, any>; + + get(key: 'oauth2_provision_cb'): (user: string, renew: boolean, callback: (err: Error | null, accessToken: string, expires: number) => void) => void; + get(key: 'proxy_handler_http' | 'proxy_handler_https' | 'proxy_handler_socks' | 'proxy_handler_socks5' | 'proxy_handler_socks4' | 'proxy_handler_socks4a'): (proxy: URL, options: TransportOptions, callback: (err: Error | null, socketOptions: { connection: Socket }) => void) => void; + get(key: string): any; + + addListener(event: 'error', listener: (err: Error) => void): this; + addListener(event: 'idle', listener: () => void): this; + addListener(event: 'token', listener: (token: XOAuth2.Token) => void): this; + + emit(event: 'error', error: Error): boolean; + emit(event: 'idle'): boolean; + emit(event: 'token', token: XOAuth2.Token): boolean; + + on(event: 'error', listener: (err: Error) => void): this; + on(event: 'idle', listener: () => void): this; + on(event: 'token', listener: (token: XOAuth2.Token) => void): this; + + once(event: 'error', listener: (err: Error) => void): this; + once(event: 'idle', listener: () => void): this; + once(event: 'token', listener: (token: XOAuth2.Token) => void): this; + + prependListener(event: 'error', listener: (err: Error) => void): this; + prependListener(event: 'idle', listener: () => void): this; + prependListener(event: 'end', listener: (token: XOAuth2.Token) => void): this; + + prependOnceListener(event: 'error', listener: (err: Error) => void): this; + prependOnceListener(event: 'idle', listener: () => void): this; + prependOnceListener(event: 'end', listener: (token: XOAuth2.Token) => void): this; + + listeners(event: 'error'): Array<(err: Error) => void>; + listeners(event: 'idle'): Array<() => void>; + listeners(event: 'end'): Array<(token: XOAuth2.Token) => void>; +} + +export = Mail; diff --git a/types/nodemailer/lib/mailer/mail-message.d.ts b/types/nodemailer/lib/mailer/mail-message.d.ts new file mode 100644 index 0000000000..78f9c5d23d --- /dev/null +++ b/types/nodemailer/lib/mailer/mail-message.d.ts @@ -0,0 +1,26 @@ +/// <reference types="node" /> + +import { Readable } from 'stream'; + +import Mail = require('.'); +import MimeNode = require('../mime-node'); + +declare class MailMessage { + mailer: Mail; + data: Mail.Options; + message: MimeNode; + + constructor(mailer: Mail, data: Mail.Options); + + resolveContent(data: object | any[], key: string | number, callback: (err: Error | null, value?: any) => any): Promise<any>; + + resolveAll(callback: (err?: Error | null, data?: Mail.Options) => void): void; + + setMailerHeader(): void; + + setPriorityHeaders(): void; + + setListHeaders(): void; +} + +export = MailMessage; diff --git a/types/nodemailer/lib/mime-funcs/index.d.ts b/types/nodemailer/lib/mime-funcs/index.d.ts new file mode 100644 index 0000000000..49fd09c2f2 --- /dev/null +++ b/types/nodemailer/lib/mime-funcs/index.d.ts @@ -0,0 +1,87 @@ +export interface HeaderValue { + value: string; + params?: { [key: string]: string }; +} + +export interface ParsedHeaderValue extends HeaderValue { + params: { [key: string]: string }; +} + +export interface ParsedHeaderParam { + key: string; + value: string; +} + +/** Checks if a value is plaintext string (uses only printable 7bit chars) */ +export function isPlainText(value: string): boolean; + +/** + * Checks if a multi line string containes lines longer than the selected value. + * + * Useful when detecting if a mail message needs any processing at all – + * if only plaintext characters are used and lines are short, then there is + * no need to encode the values in any way. If the value is plaintext but has + * longer lines then allowed, then use format=flowed + */ +export function hasLongerLines(str: string, lineLength: number): boolean; + +/** Encodes a string or an Buffer to an UTF-8 MIME Word (rfc2047) */ +export function encodeWord(data: Buffer | string, mimeWordEncoding?: 'Q' | 'B', maxLength?: number): string; + +/** Finds word sequences with non ascii text and converts these to mime words */ +export function encodeWords(value: string, mimeWordEncoding?: 'Q' | 'B', maxLength?: number): string; + +/** + * Joins parsed header value together as 'value; param1=value1; param2=value2' + * PS: We are following RFC 822 for the list of special characters that we need to keep in quotes. + * Refer: https://www.w3.org/Protocols/rfc1341/4_Content-Type.html + */ +export function buildHeaderValue(structured: HeaderValue): string; + +/** + * Encodes a string or an Buffer to an UTF-8 Parameter Value Continuation encoding (rfc2231) + * Useful for splitting long parameter values. + * + * For example + * ``` + * title="unicode string" + * ``` + * becomes + * ``` + * title*0*=utf-8''unicode + * title*1*=%20string + * ``` + */ +export function buildHeaderParam(key: string, data: Buffer | string, maxLength?: number): ParsedHeaderParam[]; + +/** + * Parses a header value with key=value arguments into a structured + * object. + * + * ``` + * parseHeaderValue('content-type: text/plain; CHARSET='UTF-8') -> + * { + * 'value': 'text/plain', + * 'params': { + * 'charset': 'UTF-8' + * } + * } + * ``` + */ +export function parseHeaderValue(str: string): ParsedHeaderValue; + +/** Returns file extension for a content type string. If no suitable extensions are found, 'bin' is used as the default extension */ +export function detectExtension(mimeType: string): string; + +/** Returns content type for a file extension. If no suitable content types are found, 'application/octet-stream' is used as the default content type */ +export function detectMimeType(extension: string): string; + +/** Folds long lines, useful for folding header lines (afterSpace=false) and flowed text (afterSpace=true) */ +export function foldLines(str: string, lineLength?: number, afterSpace?: boolean): string; + +/** Splits a mime encoded string. Needed for dividing mime words into smaller chunks */ +export function splitMimeEncodedString(str: string, maxlen?: number): string[]; + +export function encodeURICharComponent(chr: string): string; + +export function safeEncodeURIComponent(str: string): string; diff --git a/types/nodemailer/lib/mime-funcs/mime-types.d.ts b/types/nodemailer/lib/mime-funcs/mime-types.d.ts new file mode 100644 index 0000000000..7b9f9c529c --- /dev/null +++ b/types/nodemailer/lib/mime-funcs/mime-types.d.ts @@ -0,0 +1,2 @@ +export function detectMimeType(filename: string | false): string; +export function detectExtension(mimeType: string | false): string; diff --git a/types/nodemailer/lib/mime-node.d.ts b/types/nodemailer/lib/mime-node.d.ts new file mode 100644 index 0000000000..98eda91874 --- /dev/null +++ b/types/nodemailer/lib/mime-node.d.ts @@ -0,0 +1,131 @@ +/// <reference types="node" /> + +import { Readable, ReadableOptions, Transform } from 'stream'; + +import Mail = require('./mailer'); +import SMTPConnection = require('./smtp-connection'); + +declare namespace MimeNode { + interface Addresses { + from?: string[]; + sender?: string[]; + 'reply-to'?: string[]; + to?: string[]; + cc?: string[]; + bcc?: string[]; + } + + interface Envelope { + /** includes an address object or is set to false */ + from: string | false; + /** includes an array of address objects */ + to: string[]; + } + + interface Options { + /** root node for this tree */ + rootNode?: MimeNode; + /** immediate parent for this node */ + parentNode?: MimeNode; + /** filename for an attachment node */ + filename?: string; + /** shared part of the unique multipart boundary */ + baseBoundary?: string; + /** If true, do not exclude Bcc from the generated headers */ + keepBcc?: boolean; + /** either 'Q' (the default) or 'B' */ + textEncoding: 'B' | 'Q'; + } +} + +/** + * Creates a new mime tree node. Assumes 'multipart/*' as the content type + * if it is a branch, anything else counts as leaf. If rootNode is missing from + * the options, assumes this is the root. + */ +declare class MimeNode { + constructor(contentType: string, options: MimeNode.Options); + + /** Creates and appends a child node.Arguments provided are passed to MimeNode constructor */ + createChild(contentType: string, options: MimeNode.Options): MimeNode; + + /** Appends an existing node to the mime tree. Removes the node from an existing tree if needed */ + appendChild(childNode: MimeNode): MimeNode; + + /** Replaces current node with another node */ + replace(node: MimeNode): MimeNode; + + /** Removes current node from the mime tree */ + remove(): this; + + /** + * Sets a header value. If the value for selected key exists, it is overwritten. + * You can set multiple values as well by using [{key:'', value:''}] or + * {key: 'value'} as the first argument. + */ + setHeader(key: string, value: string): this; + setHeader(headers: { [key: string]: string } | Array<{ key: string, value: string }>): this; + + /** + * Adds a header value. If the value for selected key exists, the value is appended + * as a new field and old one is not touched. + * You can set multiple values as well by using [{key:'', value:''}] or + * {key: 'value'} as the first argument. + */ + addHeader(key: string, value: string): this; + addHeader(headers: { [key: string]: string } | Array<{ key: string, value: string }>): this; + + /** Retrieves the first mathcing value of a selected key */ + getHeader(key: string): string; + + /** + * Sets body content for current node. If the value is a string, charset is added automatically + * to Content-Type (if it is text/*). If the value is a Buffer, you need to specify + * the charset yourself + */ + setContent(content: string | Buffer | Readable): this; + + /** Generate the message and return it with a callback */ + build(callback: (err: Error | null, buf: Buffer) => void): void; + + getTransferEncoding(): string; + + /** Builds the header block for the mime node. Append \r\n\r\n before writing the content */ + buildHeaders(): string; + + /** + * Streams the rfc2822 message from the current node. If this is a root node, + * mandatory header fields are set if missing (Date, Message-Id, MIME-Version) + */ + createReadStream(options?: ReadableOptions): Readable; + + /** + * Appends a transform stream object to the transforms list. Final output + * is passed through this stream before exposing + */ + transform(transform: Transform): void; + + /** + * Appends a post process function. The functon is run after transforms and + * uses the following syntax + * + * processFunc(input) -> outputStream + */ + processFunc(processFunc: (outputStream: Readable) => Readable): void; + + stream(outputStream: Readable, options: ReadableOptions, done: (err?: Error | null) => void): void; + + /** Sets envelope to be used instead of the generated one */ + setEnvelope(envelope: Mail.Envelope): this; + + /** Generates and returns an object with parsed address fields */ + getAddresses(): MimeNode.Addresses; + + /** Generates and returns SMTP envelope with the sender address and a list of recipients addresses */ + getEnvelope(): MimeNode.Envelope; + + /** Sets pregenerated content that will be used as the output of this node */ + setRaw(raw: string | Buffer | Readable): this; +} + +export = MimeNode; diff --git a/types/nodemailer/lib/qp.d.ts b/types/nodemailer/lib/qp.d.ts new file mode 100644 index 0000000000..07236b30e2 --- /dev/null +++ b/types/nodemailer/lib/qp.d.ts @@ -0,0 +1,23 @@ +/// <reference types="node" /> + +import { Transform, TransformOptions } from 'stream'; + +/** Encodes a Buffer into a Quoted-Printable encoded string */ +export function encode(buffer: Buffer | string): string; + +/** Adds soft line breaks to a Quoted-Printable string */ +export function wrap(str: string, lineLength?: number): string; + +export interface EncoderOptions extends TransformOptions { + lineLength?: number | false; +} + +/** Creates a transform stream for encoding data to Quoted-Printable encoding */ +export class Encoder extends Transform { + options: TransformOptions; + + inputBytes: number; + outputBytes: number; + + constructor(options?: TransformOptions); +} diff --git a/types/nodemailer/lib/sendmail-transport.d.ts b/types/nodemailer/lib/sendmail-transport.d.ts new file mode 100644 index 0000000000..92e461b01b --- /dev/null +++ b/types/nodemailer/lib/sendmail-transport.d.ts @@ -0,0 +1,49 @@ +/// <reference types="node" /> + +import { EventEmitter } from 'events'; + +import { Transport, TransportOptions } from '..'; + +import * as shared from './shared'; + +import Mail = require('./mailer'); +import MailMessage = require('./mailer/mail-message'); +import MimeNode = require('./mime-node'); + +declare namespace SendmailTransport { + type MailOptions = Mail.Options; + + interface Options extends MailOptions, TransportOptions { + sendmail: true; + /** path to the sendmail command (defaults to ‘sendmail’) */ + path?: string; + /** either ‘windows’ or ‘unix’ (default). Forces all newlines in the output to either use Windows syntax <CR><LF> or Unix syntax <LF> */ + newline?: string; + /** an optional array of command line options to pass to the sendmail command (ie. ["-f", "foo@blurdybloop.com"]). This overrides all default arguments except for ’-i’ and recipient list so you need to make sure you have all required arguments set (ie. the ‘-f’ flag). */ + args?: string[]; + } + + interface SentMessageInfo { + envelope: MimeNode.Envelope; + messageId: string; + response: string; + } +} + +declare class SendmailTransport implements Transport { + options: SendmailTransport.Options; + logger: shared.Logger; + mailer: Mail; + name: string; + version: string; + path: string; + args: string[] | false; + winbreak: boolean; + + constructor(options: SendmailTransport.Options); + + /** Compiles a mailcomposer message and forwards it to handler that sends it */ + send(mail: MailMessage, callback: (err: Error | null, info: SendmailTransport.SentMessageInfo) => void): void; +} + +export = SendmailTransport; diff --git a/types/nodemailer/lib/ses-transport.d.ts b/types/nodemailer/lib/ses-transport.d.ts new file mode 100644 index 0000000000..ba6401888a --- /dev/null +++ b/types/nodemailer/lib/ses-transport.d.ts @@ -0,0 +1,84 @@ +/// <reference types="node" /> + +import { EventEmitter } from 'events'; + +import { Transport, TransportOptions } from '..'; + +import * as shared from './shared'; + +import Mail = require('./mailer'); +import MailMessage = require('./mailer/mail-message'); +import MimeNode = require('./mime-node'); + +declare namespace SESTransport { + interface MailOptions extends Mail.Options { + /** All keys are added to the SendRawEmail method options */ + ses?: object; + } + + interface Options extends MailOptions, TransportOptions { + /** is an option that expects an instantiated aws.SES object */ + SES: any; // aws-sdk.SES object + /** How many messages per second is allowed to be delivered to SES */ + maxConnections?: number; + /** How many parallel connections to allow towards SES */ + sendingRate?: number; + } + + interface SentMessageInfo { + /** an envelope object {from:‘address’, to:[‘address’]} */ + envelope: MimeNode.Envelope; + /** the Message-ID header value. This value is derived from the response of SES API, so it differs from the Message-ID values used in logging. */ + messageId: string; + response: string; + } +} + +declare class SESTransport extends EventEmitter implements Transport { + options: SESTransport.Options; + + logger: shared.Logger; + mailer: Mail; + + name: string; + version: string; + + ses: any; + + maxConnections: number; + connections: number; + sendingRate: number; + sendingRateTTL: number | null; + rateInterval: number; + rateMessages: Array<{ ts: number, pending: boolean }>; + pending: Array<{ mail: Mail; callback(err: Error | null, info: SESTransport.SentMessageInfo): void; }>; + idling: boolean; + + constructor(options: SESTransport.Options); + + /** Schedules a sending of a message */ + send(mail: MailMessage, callback: (err: Error | null, info: SESTransport.SentMessageInfo) => void): void; + + /** Returns true if there are free slots in the queue */ + isIdle(): boolean; + + /** Verifies SES configuration */ + verify(callback: (err: Error | null, success: true) => void): void; + verify(): Promise<true>; + + addListener(event: 'idle', listener: () => void): this; + + emit(event: 'idle'): boolean; + + on(event: 'idle', listener: () => void): this; + + once(event: 'idle', listener: () => void): this; + + prependListener(event: 'idle', listener: () => void): this; + + prependOnceListener(event: 'idle', listener: () => void): this; + + listeners(event: 'idle'): Array<() => void>; +} + +export = SESTransport; diff --git a/types/nodemailer/lib/shared.d.ts b/types/nodemailer/lib/shared.d.ts new file mode 100644 index 0000000000..adec552138 --- /dev/null +++ b/types/nodemailer/lib/shared.d.ts @@ -0,0 +1,38 @@ +/// <reference types="node" /> + +import SMTPConnection = require('./smtp-connection'); + +import * as stream from 'stream'; + +export type LoggerLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'fatal'; + +export interface Logger { + level(level: LoggerLevel): void; + trace(...params: any[]): void; + debug(...params: any[]): void; + info(...params: any[]): void; + warn(...params: any[]): void; + error(...params: any[]): void; + fatal(...params: any[]): void; +} + +/** Parses connection url to a structured configuration object */ +export function parseConnectionUrl(url: string): SMTPConnection.Options; +/** Returns a bunyan-compatible logger interface. Uses either provided logger or creates a default console logger */ +export function getLogger(options?: { [key: string]: any }, defaults?: { [key: string]: any }): Logger; +/** Wrapper for creating a callback than either resolves or rejects a promise based on input */ +export function callbackPromise(resolve: (...args: any[]) => void, reject: (err: Error) => void): () => void; +/** + * Resolves a String or a Buffer value for content value. Useful if the value + * is a Stream or a file or an URL. If the value is a Stream, overwrites + * the stream object with the resolved value (you can't stream a value twice). + * + * This is useful when you want to create a plugin that needs a content value, + * for example the `html` or `text` value as a String or a Buffer but not as + * a file path or an URL. + */ +export function resolveContent(data: object | any[], key: string | number, callback: (err: Error | null, value: Buffer | string) => void): void; +export function resolveContent(data: object | any[], key: string | number): Promise<Buffer | string>; +/** Copies properties from source objects to target objects */ +export function assign(target: object, ...sources: object[]): object; +export function encodeXText(str: string): string; diff --git a/types/nodemailer/lib/smtp-connection.d.ts b/types/nodemailer/lib/smtp-connection.d.ts new file mode 100644 index 0000000000..a2cb095210 --- /dev/null +++ b/types/nodemailer/lib/smtp-connection.d.ts @@ -0,0 +1,202 @@ +/// <reference types="node" /> + +import { EventEmitter } from 'events'; +import * as net from 'net'; +import { Writable } from 'stream'; +import * as tls from 'tls'; + +import * as shared from './shared'; + +import MimeNode = require('./mime-node'); +import XOAuth2 = require('./xoauth2'); + +type ms = number; + +declare namespace SMTPConnection { + interface Credentials { + /** the username */ + user: string; + /** then password */ + pass: string; + } + + type OAuth2 = XOAuth2.Options; + + interface AuthenticationTypeLogin extends Credentials { + /** indicates the authetication type, defaults to ‘login’, other option is ‘oauth2’ */ + type?: 'login' | 'Login' | 'LOGIN'; + } + + interface AuthenticationTypeOAuth2 extends OAuth2 { + /** indicates the authetication type, defaults to ‘login’, other option is ‘oauth2’ */ + type?: 'oauth2' | 'OAuth2' | 'OAUTH2'; + } + + type AuthenticationType = AuthenticationTypeLogin | AuthenticationTypeOAuth2; + + interface AuthenticationCredentials { + /** normal authentication object */ + credentials: Credentials; + } + + interface AuthenticationOAuth2 { + /** if set then forces smtp-connection to use XOAuth2 for authentication */ + oauth2: OAuth2; + } + + type DSNOption = 'NEVER' | 'SUCCESS' | 'FAILURE' | 'DELAY'; + + interface DSNOptions { + /** return either the full message ‘FULL’ or only headers ‘HDRS’ */ + ret?: 'Full' | 'HDRS'; + /** sender’s ‘envelope identifier’ for tracking */ + envid?: string; + /** when to send a DSN. Multiple options are OK - array or comma delimited. NEVER must appear by itself. */ + notify?: DSNOption | DSNOption[]; + /** original recipient */ + orcpt?: string; + } + + interface Envelope { + /** includes an address object or is set to false */ + from: string | false; + /** the recipient address or an array of addresses */ + to: string | string[]; + /** an optional value of the predicted size of the message in bytes. This value is used if the server supports the SIZE extension (RFC1870) */ + size?: number; + /** if true then inform the server that this message might contain bytes outside 7bit ascii range */ + use8BitMime?: boolean; + /** the dsn options */ + dsn?: DSNOptions; + } + + class SMTPError extends Error { + /** string code identifying the error, for example ‘EAUTH’ is returned when authentication */ + code: string; + /** the last response received from the server (if the error is caused by an error response from the server) */ + response: string; + /** the numeric response code of the response string (if available) */ + responseCode: string; + } + + interface SentMessageInfo { + /** an array of accepted recipient addresses. Normally this array should contain at least one address except when in LMTP mode. In this case the message itself might have succeeded but all recipients were rejected after sending the message. */ + accepted: string[]; + /** an array of rejected recipient addresses. This array includes both the addresses that were rejected before sending the message and addresses rejected after sending it if using LMTP */ + rejected: string[]; + /** if some recipients were rejected then this property holds an array of error objects for the rejected recipients */ + rejectedErrors?: SMTPError[]; + /** the last response received from the server */ + response: string; + } + + interface Options { + /** the hostname or IP address to connect to (defaults to ‘localhost’) */ + host?: string; + /** the port to connect to (defaults to 25 or 465) */ + port?: number; + /** defines authentication data */ + auth?: AuthenticationType; + /** defines if the connection should use SSL (if true) or not (if false) */ + secure?: boolean; + /** turns off STARTTLS support if true */ + ignoreTLS?: boolean; + /** forces the client to use STARTTLS. Returns an error if upgrading the connection is not possible or fails. */ + requireTLS?: boolean; + /** tries to use STARTTLS and continues normally if it fails */ + opportunisticTLS?: boolean; + /** optional hostname of the client, used for identifying to the server */ + name?: string; + /** the local interface to bind to for network connections */ + localAddress?: string; + /** how many milliseconds to wait for the connection to establish */ + connectionTimeout?: ms; + /** how many milliseconds to wait for the greeting after connection is established */ + greetingTimeout?: ms; + /** how many milliseconds of inactivity to allow */ + socketTimeout?: ms; + /** optional bunyan compatible logger instance. If set to true then logs to console. If value is not set or is false then nothing is logged */ + logger?: shared.Logger | boolean; + /** if set to true, then logs SMTP traffic without message content */ + transactionLog?: boolean; + /** if set to true, then logs SMTP traffic and message content, otherwise logs only transaction events */ + debug?: boolean; + /** defines preferred authentication method, e.g. ‘PLAIN’ */ + authMethod?: string; + /** defines additional options to be passed to the socket constructor, e.g. {rejectUnauthorized: true} */ + tls?: tls.ConnectionOptions; + /** initialized socket to use instead of creating a new one */ + socket?: net.Socket; + /** connected socket to use instead of creating and connecting a new one. If secure option is true, then socket is upgraded from plaintext to ciphertext */ + connection?: net.Socket; + } +} + +declare class SMTPConnection extends EventEmitter { + options: SMTPConnection.Options; + + logger: shared.Logger; + + id: string; + stage: 'init' | 'connected'; + + secureConnection: boolean; + alreadySecured: boolean; + + port: number; + host: string; + + name: string; + /** Expose version nr, just for the reference */ + version: string; + + /** If true, then the user is authenticated */ + authenticated: boolean; + /** If set to true, this instance is no longer active */ + destroyed: boolean; + /** Defines if the current connection is secure or not. If not, STARTTLS can be used if available */ + secure: boolean; + + lastServerResponse: string | false; + + /** The socket connecting to the server */ + _socket: net.Socket; + + constructor(options?: SMTPConnection.Options); + + /** Creates a connection to a SMTP server and sets up connection listener */ + connect(callback: () => void): void; + /** Sends QUIT */ + quit(): void; + /** Closes the connection to the server */ + close(): void; + /** Authenticate user */ + login(auth: SMTPConnection.AuthenticationCredentials | SMTPConnection.AuthenticationOAuth2 | SMTPConnection.Credentials, callback: (err: SMTPConnection.SMTPError | null) => void): void; + /** Sends a message */ + send(envelope: SMTPConnection.Envelope, message: string | Buffer | Writable, callback: (err: SMTPConnection.SMTPError | null, info: SMTPConnection.SentMessageInfo) => void): void; + /** Resets connection state */ + reset(callback: (err: Error | null) => void): void; + + addListener(event: 'connect' | 'end', listener: () => void): this; + addListener(event: 'error', listener: (err: SMTPConnection.SMTPError) => void): this; + + emit(event: 'connect' | 'end'): boolean; + emit(event: 'error', error: Error): boolean; + + on(event: 'connect' | 'end', listener: () => void): this; + on(event: 'error', listener: (err: SMTPConnection.SMTPError) => void): this; + + once(event: 'connect' | 'end', listener: () => void): this; + once(event: 'error', listener: (err: SMTPConnection.SMTPError) => void): this; + + prependListener(event: 'connect' | 'end', listener: () => void): this; + prependListener(event: 'error', listener: (err: SMTPConnection.SMTPError) => void): this; + + prependOnceListener(event: 'connect' | 'end', listener: () => void): this; + prependOnceListener(event: 'error', listener: (err: SMTPConnection.SMTPError) => void): this; + + listeners(event: 'connect' | 'end'): Array<() => void>; + listeners(event: 'error'): Array<(err: SMTPConnection.SMTPError) => void>; +} + +export = SMTPConnection; diff --git a/types/nodemailer/lib/smtp-pool.d.ts b/types/nodemailer/lib/smtp-pool.d.ts new file mode 100644 index 0000000000..af1441d8c8 --- /dev/null +++ b/types/nodemailer/lib/smtp-pool.d.ts @@ -0,0 +1,87 @@ +/// <reference types="node" /> + +import { EventEmitter } from 'events'; + +import { Transport, TransportOptions } from '..'; +import * as shared from './shared'; + +import Mail = require('./mailer'); +import MailMessage = require('./mailer/mail-message'); +import MimeNode = require('./mime-node'); +import SMTPConnection = require('./smtp-connection'); + +declare namespace SMTPPool { + interface MailOptions extends Mail.Options { + auth?: SMTPConnection.AuthenticationType; + dsn?: SMTPConnection.DSNOptions; + } + + interface Options extends MailOptions, TransportOptions, SMTPConnection.Options { + /** set to true to use pooled connections (defaults to false) instead of creating a new connection for every email */ + pool: true; + service?: string; + getSocket?(options: Options, callback: (err: Error | null, socketOptions: any) => void): void; // TODO http.ClientRequest? + url?: string; + /** the count of maximum simultaneous connections to make against the SMTP server (defaults to 5) */ + maxConnections?: number; + /** limits the message count to be sent using a single connection (defaults to 100). After maxMessages is reached the connection is dropped and a new one is created for the following messages */ + maxMessages?: number; + /** defines the time measuring period in milliseconds (defaults to 1000, ie. to 1 second) for rate limiting */ + rateDelta?: number; + /** limits the message count to be sent in rateDelta time. Once rateLimit is reached, sending is paused until the end of the measuring period. This limit is shared between connections, so if one connection uses up the limit, then other connections are paused as well. If rateLimit is not set then sending rate is not limited */ + rateLimit?: number; + } + + interface SentMessageInfo extends SMTPConnection.SentMessageInfo { + /** includes the envelope object for the message */ + envelope: MimeNode.Envelope; + /** most transports should return the final Message-Id value used with this property */ + messageId: string; + } +} + +declare class SMTPPool extends EventEmitter implements Transport { + options: SMTPPool.Options; + + mailer: Mail; + logger: shared.Logger; + + name: string; + version: string; + + idling: boolean; + + constructor(options: SMTPPool.Options | string); + + /** Placeholder function for creating proxy sockets. This method immediatelly returns without a socket */ + getSocket(options: SMTPPool.Options, callback: (err: Error | null, socketOptions: any) => void): void; + + /** Sends an e-mail using the selected settings */ + send(mail: MailMessage, callback: (err: Error | null, info: SMTPPool.SentMessageInfo) => void): void; + + /** Closes all connections in the pool. If there is a message being sent, the connection is closed later */ + close(): void; + + /** Returns true if there are free slots in the queue */ + isIdle(): boolean; + + /** Verifies SMTP configuration */ + verify(callback: (err: Error | null, success: true) => void): void; + verify(): Promise<true>; + + addListener(event: 'idle', listener: () => void): this; + + emit(event: 'idle'): boolean; + + on(event: 'idle', listener: () => void): this; + + once(event: 'idle', listener: () => void): this; + + prependListener(event: 'idle', listener: () => void): this; + + prependOnceListener(event: 'idle', listener: () => void): this; + + listeners(event: 'idle'): Array<() => void>; +} + +export = SMTPPool; diff --git a/types/nodemailer/lib/smtp-transport.d.ts b/types/nodemailer/lib/smtp-transport.d.ts new file mode 100644 index 0000000000..6302d495b8 --- /dev/null +++ b/types/nodemailer/lib/smtp-transport.d.ts @@ -0,0 +1,80 @@ +/// <reference types="node" /> + +import { EventEmitter } from 'events'; +import * as stream from 'stream'; + +import { Transport, TransportOptions } from '..'; +import * as shared from './shared'; + +import Mail = require('./mailer'); +import MailMessage = require('./mailer/mail-message'); +import MimeNode = require('./mime-node'); +import SMTPConnection = require('./smtp-connection'); +import XOAuth2 = require('./xoauth2'); + +declare namespace SMTPTransport { + interface AuthenticationTypeLogin { + type: 'LOGIN'; + user: string; + credentials: SMTPConnection.Credentials; + method: string | false; + } + + interface AuthenticationTypeOAuth2 { + type: 'OAUTH2'; + user: string; + oauth2: XOAuth2; + method: 'XOAUTH2'; + } + + type AuthenticationType = AuthenticationTypeLogin | AuthenticationTypeOAuth2; + + interface MailOptions extends Mail.Options { + auth?: SMTPConnection.AuthenticationType; + dsn?: SMTPConnection.DSNOptions; + } + + interface Options extends MailOptions, TransportOptions, SMTPConnection.Options { + service?: string; + getSocket?(options: Options, callback: (err: Error | null, socketOptions: any) => void): void; // TODO http.ClientRequest? + url?: string; + } + + interface SentMessageInfo { + /** includes the envelope object for the message */ + envelope: MimeNode.Envelope; + /** most transports should return the final Message-Id value used with this property */ + messageId: string; + } +} + +declare class SMTPTransport extends EventEmitter implements Transport { + options: SMTPTransport.Options; + + mailer: Mail; + logger: shared.Logger; + + name: string; + version: string; + + auth: SMTPTransport.AuthenticationType; + + constructor(options: SMTPTransport.Options | string); + + /** Placeholder function for creating proxy sockets. This method immediatelly returns without a socket */ + getSocket(options: SMTPTransport.Options, callback: (err: Error | null, socketOptions: object) => void): void; + + getAuth(authOpts: SMTPConnection.AuthenticationTypeLogin | SMTPConnection.AuthenticationTypeOAuth2): SMTPTransport.AuthenticationType; + + /** Sends an e-mail using the selected settings */ + send(mail: MailMessage, callback: (err: Error | null, info: SMTPTransport.SentMessageInfo) => void): void; + + /** Verifies SMTP configuration */ + verify(callback: (err: Error | null, success: true) => void): void; + verify(): Promise<true>; + + /** Releases resources */ + close(): void; +} + +export = SMTPTransport; diff --git a/types/nodemailer/lib/stream-transport.d.ts b/types/nodemailer/lib/stream-transport.d.ts new file mode 100644 index 0000000000..48c397911c --- /dev/null +++ b/types/nodemailer/lib/stream-transport.d.ts @@ -0,0 +1,52 @@ +/// <reference types="node" /> + +import { EventEmitter } from 'events'; +import { Readable } from 'stream'; + +import { Transport, TransportOptions } from '..'; + +import * as shared from './shared'; + +import Mail = require('./mailer'); +import MailMessage = require('./mailer/mail-message'); +import MimeNode = require('./mime-node'); + +declare namespace StreamTransport { + type MailOptions = Mail.Options; + + interface Options extends MailOptions, TransportOptions { + streamTransport: true; + /** if true, then returns the message as a Buffer object instead of a stream */ + buffer?: boolean; + /** either ‘windows’ or ‘unix’ (default). Forces all newlines in the output to either use Windows syntax <CR><LF> or Unix syntax <LF> */ + newline?: string; + } + + interface SentMessageInfo { + /** an envelope object {from:‘address’, to:[‘address’]} */ + envelope: MimeNode.Envelope; + /** the Message-ID header value */ + messageId: string; + /** either stream (default) of buffer depending on the options */ + message: Buffer | Readable; + } +} + +declare class StreamTransport implements Transport { + options: StreamTransport.Options; + + logger: shared.Logger; + mailer: Mail; + + name: string; + version: string; + + winbreak: boolean; + + constructor(options: StreamTransport.Options); + + /** Compiles a mailcomposer message and forwards it to handler that sends it */ + send(mail: MailMessage, callback: (err: Error | null, info: StreamTransport.SentMessageInfo) => void): void; +} + +export = StreamTransport; diff --git a/types/nodemailer/lib/well-known.d.ts b/types/nodemailer/lib/well-known.d.ts new file mode 100644 index 0000000000..2e4ae176d3 --- /dev/null +++ b/types/nodemailer/lib/well-known.d.ts @@ -0,0 +1,6 @@ +import SMTPConnection = require('./smtp-connection'); + +/** Resolves SMTP config for given key. Key can be a name (like 'Gmail'), alias (like 'Google Mail') or an email address (like 'test@googlemail.com'). */ +declare function wellKnown(key: string): SMTPConnection.Options | false; + +export = wellKnown; diff --git a/types/nodemailer/lib/xoauth2.d.ts b/types/nodemailer/lib/xoauth2.d.ts new file mode 100644 index 0000000000..689b8058fc --- /dev/null +++ b/types/nodemailer/lib/xoauth2.d.ts @@ -0,0 +1,104 @@ +/// <reference types="node" /> + +import * as http from 'http'; +import { Readable, Stream } from 'stream'; + +import * as shared from './shared'; + +type ms = number; +type s = number; + +declare namespace XOAuth2 { + interface Options { + /** User e-mail address */ + user?: string; + /** Client ID value */ + clientId?: string; + /** Client secret value */ + clientSecret?: string; + /** Refresh token for an user */ + refreshToken?: string; + /** Endpoint for token generation, defaults to 'https://accounts.google.com/o/oauth2/token' */ + accessUrl?: string; + /** An existing valid accessToken */ + accessToken?: string; + /** Private key for JSW */ + privateKey?: string | { key: string; passphrase: string; }; + /** Optional Access Token expire time in ms */ + expires?: ms; + /** Optional TTL for Access Token in seconds */ + timeout?: s; + /** Function to run when a new access token is required */ + provisionCallback?(user: string, renew: boolean, callback: (err: Error | null, accessToken: string, expires: number) => void): void; + } + + interface Token { + user: string; + accessToken: string; + expires: number; + } + + interface RequestParams { + customHeaders?: http.OutgoingHttpHeaders; + } +} + +declare class XOAuth2 extends Stream { + options: XOAuth2.Options; + logger: shared.Logger; + accessToken: string | false; + expires: number; + + constructor(options: XOAuth2.Options, logger: shared.Logger); + + /** Returns or generates (if previous has expired) a XOAuth2 token */ + getToken(renew: boolean, callback: (err: Error | null, accessToken: string) => void): void; + + /** Updates token values */ + updateToken(accessToken: string, timeout: s): XOAuth2.Token; + + /** Generates a new XOAuth2 token with the credentials provided at initialization */ + generateToken(callback: (err: Error | null, accessToken: string) => void): void; + + /** Converts an access_token and user id into a base64 encoded XOAuth2 token */ + buildXOAuth2Token(accessToken: string): string; + + /** + * Custom POST request handler. + * This is only needed to keep paths short in Windows – usually this module + * is a dependency of a dependency and if it tries to require something + * like the request module the paths get way too long to handle for Windows. + * As we do only a simple POST request we do not actually require complicated + * logic support (no redirects, no nothing) anyway. + */ + postRequest(url: string, payload: string | Buffer | Readable | { [key: string]: string }, params: XOAuth2.RequestParams, callback: (err: Error | null, buf: Buffer) => void): void; + + /** Encodes a buffer or a string into Base64url format */ + toBase64URL(data: Buffer | string): string; + + /** Creates a JSON Web Token signed with RS256 (SHA256 + RSA) */ + jwtSignRS256(payload: object): string; + + addListener(event: 'error', listener: (err: Error) => void): this; + addListener(event: 'token', listener: (token: XOAuth2.Token) => void): this; + + emit(event: 'error', error: Error): boolean; + emit(event: 'token', token: XOAuth2.Token): boolean; + + on(event: 'error', listener: (err: Error) => void): this; + on(event: 'token', listener: (token: XOAuth2.Token) => void): this; + + once(event: 'error', listener: (err: Error) => void): this; + once(event: 'token', listener: (token: XOAuth2.Token) => void): this; + + prependListener(event: 'error', listener: (err: Error) => void): this; + prependListener(event: 'end', listener: (token: XOAuth2.Token) => void): this; + + prependOnceListener(event: 'error', listener: (err: Error) => void): this; + prependOnceListener(event: 'end', listener: (token: XOAuth2.Token) => void): this; + + listeners(event: 'error'): Array<(err: Error) => void>; + listeners(event: 'end'): Array<(token: XOAuth2.Token) => void>; +} + +export = XOAuth2; diff --git a/types/nodemailer/nodemailer-tests.ts b/types/nodemailer/nodemailer-tests.ts index cd26579189..8baff03674 100644 --- a/types/nodemailer/nodemailer-tests.ts +++ b/types/nodemailer/nodemailer-tests.ts @@ -1,71 +1,1292 @@ -import * as nodemailer from 'nodemailer' -import * as AWS from 'aws-sdk' +/* tslint:disable:no-namespace prefer-template */ +import * as nodemailer from 'nodemailer'; -// create reusable transporter object using SMTP transport -var transporter: nodemailer.Transporter = nodemailer.createTransport({ - service: 'Gmail', - auth: { - user: 'gmail.user@gmail.com', - pass: 'userpass' +import addressparser = require('nodemailer/lib/addressparser'); +import base64 = require('nodemailer/lib/base64'); +import fetch = require('nodemailer/lib/fetch'); +import Cookies = require('nodemailer/lib/fetch/cookies'); +import JSONTransport = require('nodemailer/lib/json-transport'); +import Mail = require('nodemailer/lib/mailer'); +import MailComposer = require('nodemailer/lib/mail-composer'); +import MailMessage = require('nodemailer/lib/mailer/mail-message'); +import mimeFuncs = require('nodemailer/lib/mime-funcs'); +import mimeTypes = require('nodemailer/lib/mime-funcs/mime-types'); +import qp = require('nodemailer/lib/qp'); +import SendmailTransport = require('nodemailer/lib/sendmail-transport'); +import SESTransport = require('nodemailer/lib/ses-transport'); +import shared = require('nodemailer/lib/shared'); +import SMTPConnection = require('nodemailer/lib/smtp-connection'); +import SMTPPool = require('nodemailer/lib/smtp-pool'); +import SMTPTransport = require('nodemailer/lib/smtp-transport'); +import StreamTransport = require('nodemailer/lib/stream-transport'); +import wellKnown = require('nodemailer/lib/well-known'); +import XOAuth2 = require('nodemailer/lib/xoauth2'); + +import * as fs from 'fs'; +import * as stream from 'stream'; + +// mock aws-sdk +const aws = { + SES: class MockSES { + constructor(options?: object) { } + }, + config: { + loadFromPath: (path: string): void => { } } -}); - -// create reusable transporter object using SMTP connection url using default options -transporter = nodemailer.createTransport("smtps://gmail.user@gmail.com:userpass@gmail/?pool=true"); - -// create reusable transporter object using SMTP connection url and specify some options -transporter = nodemailer.createTransport("smtps://gmail.user@gmail.com:userpass@gmail/?pool=true", - { - from: 'sender@address', - headers: { - 'My-Awesome-Header': '123' - } - }); - -// create reusable transporter object using SES transport and set default values for mail options. -transporter = nodemailer.createTransport({ - SES: new AWS.SES() -}) -// create reusable transporter object using SMTP transport and set default values for mail options. -transporter = nodemailer.createTransport({ - SES: new AWS.SES() -}, { - from: 'sender@address', - headers: { - 'My-Awesome-Header': '123' - } -}) - -// create reusable transporter object using SMTP transport and set default values for mail options. -transporter = nodemailer.createTransport({ - service: 'Gmail', - auth: { - user: 'gmail.user@gmail.com', - pass: 'userpass' - } -}, { - from: 'sender@address', - headers: { - 'My-Awesome-Header': '123' - } -}); - -// setup e-mail data with unicode symbols -var mailOptions: nodemailer.SendMailOptions = { - from: 'Fred Foo ✔ <foo@blurdybloop.com>', // sender address - to: 'bar@blurdybloop.com, baz@blurdybloop.com', // list of receivers - subject: 'Hello ✔', // Subject line - text: 'Hello world ✔', // plaintext body - html: '<b>Hello world ✔</b>' // html body }; -// send mail with defined transport object -transporter.sendMail(mailOptions, (error: Error, info: nodemailer.SentMessageInfo): void => { - // nothing -}); +// 1. Nodemailer -// promise send mail without callback -transporter - .sendMail(mailOptions) - .then(info => info.messageId) - .catch(err => {}) \ No newline at end of file +namespace nodemailer_test { + // Generate test SMTP service account from ethereal.email + // Only needed if you don't have a real mail account for testing + nodemailer.createTestAccount((err, account) => { + if (err) { + console.log(err); + return; + } + // create reusable transporter object using the default SMTP transport + const transporter = nodemailer.createTransport({ + host: 'smtp.ethereal.email', + port: 587, + secure: false, // true for 465, false for other ports + auth: { + user: account.user, // generated ethereal user + pass: account.pass // generated ethereal password + } + }); + + // setup email data with unicode symbols + const mailOptions: Mail.Options = { + from: '"Fred Foo 👻" <foo@blurdybloop.com>', // sender address + to: 'bar@blurdybloop.com, baz@blurdybloop.com', // list of receivers + subject: 'Hello ✔', // Subject line + text: 'Hello world?', // plain text body + html: '<b>Hello world?</b>' // html body + }; + + // send mail with defined transport object + transporter.sendMail(mailOptions, (err, info: SMTPTransport.SentMessageInfo) => { + if (err) { + console.log(err); + return; + } + console.log('Message sent: %s', info.messageId); + // Preview only available when sending through an Ethereal account + console.log('Preview URL: %s', nodemailer.getTestMessageUrl(info)); + + // Message sent: <b658f8ca-6296-ccf4-8306-87d57a0b4321@blurdybloop.com> + // Preview URL: https://ethereal.email/message/WaQKMgKddxQDoou... + }); + }); +} + +// 3. Message configuration + +// Commmon fields + +namespace message_common_fields_test { + const message: Mail.Options = { + from: 'sender@server.com', + to: 'receiver@sender.com', + subject: 'Message title', + text: 'Plaintext version of the message', + html: '<p>HTML version of the message</p>' + }; +} + +// More advanced fields + +namespace message_more_advanced_fields_test { + const message: Mail.Options = { + headers: { + 'My-Custom-Header': 'header value' + }, + date: new Date('2000-01-01 00:00:00') + }; + + const htmlstream = fs.createReadStream('content.html'); + const transport = nodemailer.createTransport(); + transport.sendMail({ html: htmlstream }, (err) => { + if (err) { + // check if htmlstream is still open and close it to clean up + } + }); +} + +// 3. Attachments + +namespace message_attachments_test { + const message: Mail.Options = { + attachments: [ + { // utf-8 string as an attachment + filename: 'text1.txt', + content: 'hello world!' + }, + { // binary buffer as an attachment + filename: 'text2.txt', + content: new Buffer('hello world!', 'utf-8') + }, + { // file on disk as an attachment + filename: 'text3.txt', + path: '/path/to/file.txt' // stream this file + }, + { // filename and content type is derived from path + path: '/path/to/file.txt' + }, + { // stream as an attachment + filename: 'text4.txt', + content: fs.createReadStream('file.txt') + }, + { // define custom content type for the attachment + filename: 'text.bin', + content: 'hello world!', + contentType: 'text/plain' + }, + { // use URL as an attachment + filename: 'license.txt', + path: 'https://raw.github.com/nodemailer/nodemailer/master/LICENSE' + }, + { // encoded string as an attachment + filename: 'text1.txt', + content: 'aGVsbG8gd29ybGQh', + encoding: 'base64' + }, + { // data uri as an attachment + path: 'data:text/plain;base64,aGVsbG8gd29ybGQ=' + }, + { + // use pregenerated MIME node + raw: 'Content-Type: text/plain\r\n' + + 'Content-Disposition: attachment;\r\n' + + '\r\n' + + 'Hello world!' + } + ] + }; +} + +// 3. Alternatives + +namespace message_alternatives_test { + const message: Mail.Options = { + html: '<b>Hello world!</b>', + alternatives: [ + { + contentType: 'text/x-web-markdown', + content: '**Hello world!**' + } + ] + }; +} + +// 3. Address object + +namespace message_address_object_test { + const message: Mail.Options = { + to: 'foobar@blurdybloop.com, "Ноде Майлер" <bar@blurdybloop.com>, "Name, User" <baz@blurdybloop.com>', + cc: [ + 'foobar@blurdybloop.com', + '"Ноде Майлер" <bar@blurdybloop.com>', + '"Name, User" <baz@blurdybloop.com>' + ], + bcc: [ + 'foobar@blurdybloop.com', + { + name: 'Майлер, Ноде', + address: 'foobar@blurdybloop.com' + } + ] + }; +} + +// 3. Calendar events + +// Send a REQUEST event as a string + +namespace message_calendar_request_test { + const content = 'BEGIN:VCALENDAR\r\nPRODID:-//ACME/DesktopCalendar//EN\r\nMETHOD:REQUEST\r\n...'; + + const message: Mail.Options = { + from: 'sender@example.com', + to: 'recipient@example.com', + subject: 'Appointment', + text: 'Please see the attached appointment', + icalEvent: { + filename: 'invitation.ics', + method: 'request', + content + } + }; +} + +// Send a PUBLISH event from a file + +namespace message_calendar_publish_test { + const message: Mail.Options = { + from: 'sender@example.com', + to: 'recipient@example.com', + subject: 'Appointment', + text: 'Please see the attached appointment', + icalEvent: { + method: 'PUBLISH', + path: '/path/to/file' + } + }; +} + +// Send a CANCEL event from an URL + +namespace message_calendar_cancel_test { + const message: Mail.Options = { + from: 'sender@example.com', + to: 'recipient@example.com', + subject: 'Appointment', + text: 'Please see the attached appointment', + icalEvent: { + method: 'CANCEL', + href: 'http://www.example.com/events?event=123' + } + }; +} + +// 3. Embedded images + +namespace message_embedded_images_test { + const message: Mail.Options = { + html: 'Embedded image: <img src="cid:unique@nodemailer.com"/>', + attachments: [{ + filename: 'image.png', + path: '/path/to/file', + cid: 'unique@nodemailer.com' // same cid value as in the html img src + }] + }; +} + +// 3. List headers + +// Setup different List-* headers + +namespace message_list_headers_test { + const message: Mail.Options = { + from: 'sender@example.com', + to: 'recipient@example.com', + subject: 'List Message', + text: 'I hope no-one unsubscribes from this list!', + list: { + // List-Help: <mailto:admin@example.com?subject=help> + help: 'admin@example.com?subject=help', + // List-Unsubscribe: <http://example.com> (Comment) + unsubscribe: { + url: 'http://example.com', + comment: 'Comment' + }, + // List-Subscribe: <mailto:admin@example.com?subject=subscribe> + // List-Subscribe: <http://example.com> (Subscribe) + subscribe: [ + 'admin@example.com?subject=subscribe', + { + url: 'http://example.com', + comment: 'Subscribe' + } + ], + // List-Post: <http://example.com/post>, <mailto:admin@example.com?subject=post> (Post) + post: [ + [ + 'http://example.com/post', + { + url: 'admin@example.com?subject=post', + comment: 'Post' + } + ] + ] + } + }; +} + +// 3. Custom headers + +// Set custom headers + +namespace message_custom_headers_test { + const message: Mail.Options = { + headers: { + 'x-my-key': 'header value', + 'x-another-key': 'another value' + } + }; +} + +// Multiple rows with the same key + +namespace message_multiple_rows_with_the_same_key_test { + const message: Mail.Options = { + headers: { + 'x-my-key': [ + 'value for row 1', + 'value for row 2', + 'value for row 3' + ] + } + }; +} + +// Prepared headers + +namespace message_prepared_headers_test { + const message: Mail.Options = { + headers: { + 'x-processed': 'a really long header or value with non-ascii characters 👮', + 'x-unprocessed': { + prepared: true, + value: 'a really long header or value with non-ascii characters 👮' + } + } + }; +} + +// 3. Custom source + +// Use string as a message body + +namespace message_string_body_test { + const message: Mail.Options = { + envelope: { + from: 'sender@example.com', + to: ['recipient@example.com'] + }, + raw: `From: sender@example.com +To: recipient@example.com +Subject: test message + +Hello world!` + }; +} + +// Set EML file as message body + +namespace message_eml_file_test { + const message: Mail.Options = { + envelope: { + from: 'sender@example.com', + to: ['recipient@example.com'] + }, + raw: { + path: '/path/to/message.eml' + } + }; +} + +// Set string as attachment body + +namespace message_string_attachment_test { + const message: Mail.Options = { + from: 'sender@example.com', + to: 'recipient@example.com', + subject: 'Custom attachment', + attachments: [{ + raw: `Content-Type: text/plain +Content-Disposition: attachment + +Attached text file`}] + }; +} + +// 4. SMTP transport + +// Single connection + +namespace smtp_single_connection_test { + const smtpConfig: SMTPTransport.Options = { + host: 'smtp.example.com', + port: 587, + secure: false, // upgrade later with STARTTLS + auth: { + user: 'username', + pass: 'password' + } + }; + const transporter = nodemailer.createTransport(smtpConfig); +} + +// Pooled connection + +namespace smtp_pooled_connection_test { + const smtpConfig: SMTPPool.Options = { + pool: true, + host: 'smtp.example.com', + port: 465, + secure: true, // use TLS + auth: { + user: 'username', + pass: 'password' + } + }; + const transporter = nodemailer.createTransport(smtpConfig); +} + +// Allow self-signed certificates + +namespace smtp_self_signed_test { + const smtpConfig: SMTPTransport.Options = { + host: 'my.smtp.host', + port: 465, + secure: true, // use TLS + auth: { + user: 'username', + pass: 'pass' + }, + tls: { + // do not fail on invalid certs + rejectUnauthorized: false + } + }; + const transporter = nodemailer.createTransport(smtpConfig); +} + +// Verify SMTP connection configuration + +namespace smtp_verify_test { + const transporter = nodemailer.createTransport(); + transporter.verify((error, success) => { + if (error) { + console.log(error); + } else { + console.log('Server is ready to take our messages'); + } + }); +} + +// 4. SMTP envelope + +namespace smtp_envelope_test { + const message: Mail.Options = { + from: 'mailer@nodemailer.com', // listed in rfc822 message header + to: 'daemon@nodemailer.com', // listed in rfc822 message header + envelope: { + from: 'Daemon <deamon@nodemailer.com>', // used as MAIL FROM: address for SMTP + to: 'mailer@nodemailer.com, Mailer <mailer2@nodemailer.com>' // used as RCPT TO: address for SMTP + } + }; +} + +// 4. Pooled SMTP + +// transporter.close() + +namespace smtp_pool_close_test { + const transporter = nodemailer.createTransport({ pool: true }); + transporter.close(); +} + +// Event:‘idle’ + +namespace smtp_pool_idle_test { + const messages = [{ raw: 'list of messages' }]; + const transporter = nodemailer.createTransport({ pool: true }); + transporter.on('idle', () => { + // send next message from the pending queue + while (transporter.isIdle() && messages.length) { + transporter.sendMail(messages.shift()!); + } + }); +} + +// 4. Testing SMTP + +// Create a testing account on the fly + +namespace smtp_test_account_test { + nodemailer.createTestAccount((err, account) => { + if (!err) { + // create reusable transporter object using the default SMTP transport + const transporter = nodemailer.createTransport({ + host: 'smtp.ethereal.email', + port: 587, + secure: false, // true for 465, false for other ports + auth: { + user: account.user, // generated ethereal user + pass: account.pass // generated ethereal password + } + }); + } + }); +} + +// Use environment specific SMTP settings + +namespace smtp_info_test { + const transporter = nodemailer.createTransport(); + transporter.sendMail({}).then((info: SMTPTransport.SentMessageInfo) => { + console.log('Preview URL: ' + nodemailer.getTestMessageUrl(info)); + }); +} + +// 4. OAuth2 + +// Using custom token handling + +namespace oauth2_token_handling_test { + const transporter = nodemailer.createTransport(); + const userTokens: { [key: string]: string; } = {}; + transporter.set('oauth2_provision_cb', (user, renew, callback) => { + const accessToken = userTokens[user]; + if (!accessToken) { + callback(new Error('Unknown user')); + } else { + callback(null, accessToken); + } + }); +} + +// Token update notifications + +namespace oauth2_token_update_test { + const transporter = nodemailer.createTransport(); + transporter.on('token', token => { + console.log('A new access token was generated'); + console.log('User: %s', token.user); + console.log('Access Token: %s', token.accessToken); + console.log('Expires: %s', new Date(token.expires)); + }); +} + +// Authenticate using existing token + +namespace oauth2_existing_token_test { + const transporter = nodemailer.createTransport({ + host: 'smtp.gmail.com', + port: 465, + secure: true, + auth: { + type: 'OAuth2', + user: 'user@example.com', + accessToken: 'ya29.Xx_XX0xxxxx-xX0X0XxXXxXxXXXxX0x' + } + }); +} + +// Custom handler + +namespace oauth2_custom_handler_test { + const transporter = nodemailer.createTransport({ + host: 'smtp.gmail.com', + port: 465, + secure: true, + auth: { + type: 'OAuth2', + user: 'user@example.com' + } + }); + + const userTokens: { [key: string]: string; } = {}; + + transporter.set('oauth2_provision_cb', (user, renew, callback) => { + const accessToken = userTokens[user]; + if (!accessToken) { + callback(new Error('Unknown user')); + } else { + callback(null, accessToken); + } + }); +} + +// Set up 3LO authentication + +namespace oauth2_3lo_test { + const transporter = nodemailer.createTransport({ + host: 'smtp.gmail.com', + port: 465, + secure: true, + auth: { + type: 'OAuth2', + user: 'user@example.com', + clientId: '000000000000-xxx0.apps.googleusercontent.com', + clientSecret: 'XxxxxXXxX0xxxxxxxx0XXxX0', + refreshToken: '1/XXxXxsss-xxxXXXXXxXxx0XXXxxXXx0x00xxx', + accessToken: 'ya29.Xx_XX0xxxxx-xX0X0XxXXxXxXXXxX0x', + expires: 1484314697598 + } + }); +} + +// Set up 2LO authentication + +namespace oauth2_2lo_test { + const transporter = nodemailer.createTransport({ + host: 'smtp.gmail.com', + port: 465, + secure: true, + auth: { + type: 'OAuth2', + user: 'user@example.com', + serviceClient: '113600000000000000000', + privateKey: '-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBg...', + accessToken: 'ya29.Xx_XX0xxxxx-xX0X0XxXXxXxXXXxX0x', + expires: 1484314697598 + } + }); +} + +// Provide authentication details with message options + +namespace oauth2_message_options_test { + const transporter = nodemailer.createTransport({ + host: 'smtp.gmail.com', + port: 465, + secure: true, + auth: { + type: 'OAuth2', + clientId: '000000000000-xxx.apps.googleusercontent.com', + clientSecret: 'XxxxxXXxX0xxxxxxxx0XXxX0' + } + }); + + const auth: SMTPConnection.AuthenticationTypeOAuth2 = { + user: 'user@example.com', + refreshToken: '1/XXxXxsss-xxxXXXXXxXxx0XXXxxXXx0x00xxx', + accessToken: 'ya29.Xx_XX0xxxxx-xX0X0XxXXxXxXXXxX0x', + expires: 1484314697598 + }; + + const options: SMTPTransport.MailOptions = { + from: 'sender@example.com', + to: 'recipient@example.com', + subject: 'Message', + text: 'I hope this message gets through!', + auth: { + user: 'user@example.com', + refreshToken: '1/XXxXxsss-xxxXXXXXxXxx0XXXxxXXx0x00xxx', + accessToken: 'ya29.Xx_XX0xxxxx-xX0X0XxXXxXxXXXxX0x', + expires: 1484314697598 + } + }; + + transporter.sendMail(options); +} + +namespace oauth2_privision_cb_test { + const transporter = nodemailer.createTransport({ + host: 'smtp.gmail.com', + port: 465, + secure: true, + auth: { + type: 'OAuth2' + } + }); + + const userTokens: { [key: string]: string; } = {}; + + transporter.set('oauth2_provision_cb', (user, renew, callback) => { + const accessToken = userTokens[user]; + if (!accessToken) { + callback(new Error('Unknown user')); + } else { + callback(null, accessToken); + } + }); + + const options: SMTPTransport.MailOptions = { + from: 'sender@example.com', + to: 'recipient@example.com', + subject: 'Message', + text: 'I hope this message gets through!', + auth: { + user: 'user@example.com' + } + }; + + transporter.sendMail(options); +} + +// 5. Sendmail transport + +// Send a message using specific binary + +namespace sendmail_test { + const transporter = nodemailer.createTransport({ + sendmail: true, + newline: 'unix', + path: '/usr/sbin/sendmail' + }); + transporter.sendMail({ + from: 'sender@example.com', + to: 'recipient@example.com', + subject: 'Message', + text: 'I hope this message gets delivered!' + }, (err, info: SendmailTransport.SentMessageInfo) => { + if (!err) { + console.log(info.envelope); + console.log(info.messageId); + } + }); +} + +// 5. SES transport + +// Send a message using SES transport + +namespace ses_test { + // configure AWS SDK + aws.config.loadFromPath('config.json'); + + // create Nodemailer SES transporter + const transporter = nodemailer.createTransport({ + SES: new aws.SES({ + apiVersion: '2010-12-01' + }) + }); + + const options: SESTransport.MailOptions = { + from: 'sender@example.com', + to: 'recipient@example.com', + subject: 'Message', + text: 'I hope this message gets sent!', + ses: { // optional extra arguments for SendRawEmail + Tags: [{ + Name: 'tag name', + Value: 'tag value' + }] + } + }; + + // send some mail + transporter.sendMail(options, (err, info: SESTransport.SentMessageInfo) => { + if (!err) { + console.log(info.envelope); + console.log(info.messageId); + } + }); +} + +// 5. Stream transport + +// Stream a message with windows-style newlines + +namespace stream_test { + const transporter = nodemailer.createTransport({ + streamTransport: true, + newline: 'windows' + }); + transporter.sendMail({ + from: 'sender@example.com', + to: 'recipient@example.com', + subject: 'Message', + text: 'I hope this message gets streamed!' + }, (err, info: StreamTransport.SentMessageInfo) => { + if (!err) { + console.log(info.envelope); + console.log(info.messageId); + // if ('pipe' in info.message) { + if (info.message instanceof stream.Readable) { + info.message.pipe(process.stdout); + } + } + }); +} + +// Create a buffer with unix-style newlines + +namespace stream_buffer_unix_newlines_test { + const transporter = nodemailer.createTransport({ + streamTransport: true, + newline: 'unix', + buffer: true + }); + transporter.sendMail({ + from: 'sender@example.com', + to: 'recipient@example.com', + subject: 'Message', + text: 'I hope this message gets buffered!' + }, (err, info: StreamTransport.SentMessageInfo) => { + if (!err) { + console.log(info.envelope); + console.log(info.messageId); + console.log(info.message.toString()); + } + }); +} + +// Create a JSON encoded message object + +namespace json_test { + const transporter = nodemailer.createTransport({ + jsonTransport: true + }); + transporter.sendMail({ + from: 'sender@example.com', + to: 'recipient@example.com', + subject: 'Message', + text: 'I hope this message gets buffered!' + }, (err, info: JSONTransport.SentMessageInfo) => { + if (!err) { + console.log(info.envelope); + console.log(info.messageId); + console.log(info.message); // JSON string + } + }); +} + +// 6. Create plugins + +// 'compile' + +namespace plugin_compile_test { + const transporter = nodemailer.createTransport(); + + function plugin(mail: typeof transporter.MailMessage, callback: (err?: Error | null) => void) { + // if mail.data.html is a file or an url, it is returned as a Buffer + mail.resolveContent(mail.data, 'html', (err, html) => { + if (err) { + callback(err); + return; + } + console.log('HTML contents: %s', html.toString()); + callback(); + }); + } + + transporter.use('compile', (mail, callback) => { + if (!mail.data.text && mail.data.html && typeof mail.data.html === 'string') { + mail.data.text = mail.data.html.replace(/<[^>]*>/g, ' '); + } + callback(); + }); +} + +// 'stream' + +namespace plugin_stream_test { + const transformer: stream.Transform = new (require('stream').Transform)(); + + transformer._transform = function(chunk: Buffer, encoding, done) { + // replace all tabs with spaces in the stream chunk + for (let i = 0; i < chunk.length; i++) { + if (chunk[i] === 0x09) { + chunk[i] = 0x20; + } + } + this.push(chunk); + done(); + }; + + const transporter = nodemailer.createTransport(); + + transporter.use('stream', (mail, callback) => { + // apply output transformer to the raw message stream + mail.message.transform(transformer); + callback(); + }); + + transporter.use('stream', (mail, callback) => { + const addresses = mail.message.getAddresses(); + console.log('From: %s', JSON.stringify(addresses.from)); + console.log('To: %s', JSON.stringify(addresses.to)); + console.log('Cc: %s', JSON.stringify(addresses.cc)); + console.log('Bcc: %s', JSON.stringify(addresses.bcc)); + callback(); + }); +} + +// Transport Example + +namespace plugin_transport_example_test { + interface MailOptions extends Mail.Options { + mailOption?: 'foo'; + } + interface Options extends MailOptions, nodemailer.TransportOptions { + transportOptions: 'bar'; + } + interface SentMessageInfo { + SentMessageInfo: 'baz'; + } + + class Transport implements nodemailer.Transport { + name = 'minimal'; + version = '0.1.0'; + constructor(options: Options) { } + send(mail: MailMessage, callback: (err: Error | null, info: SentMessageInfo) => void): void { + const input = mail.message.createReadStream(); + input.pipe(process.stdout); + input.on('end', () => { + callback(null, { SentMessageInfo: 'baz' }); + }); + } + } + + const transporter = nodemailer.createTransport(new Transport({ + transportOptions: 'bar' + })); + + const options: MailOptions = { + from: 'sender', + to: 'receiver', + subject: 'hello', + text: 'hello world!', + mailOption: 'foo' + }; + + transporter.sendMail(options); +} + +// 7. https://nodemailer.com/dkim/ + +// Sign all messages + +namespace dkim_sign_all_test { + const opts: SMTPTransport.Options = { + host: 'smtp.example.com', + port: 465, + secure: true, + dkim: { + domainName: 'example.com', + keySelector: '2017', + privateKey: '-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBg...' + } + }; +} + +// Sign all messages with multiple keys + +namespace dkim_sign_multiple_keys_test { + const transporter = nodemailer.createTransport({ + host: 'smtp.example.com', + port: 465, + secure: true, + dkim: { + keys: [ + { + domainName: 'example.com', + keySelector: '2017', + privateKey: '-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBg...' + }, + { + domainName: 'example.com', + keySelector: '2016', + privateKey: '-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBg...' + } + ], + cacheDir: false + } + }); +} + +// Sign a specific message + +namespace dkim_sign_specific_message_test { + const transporter = nodemailer.createTransport({ + host: 'smtp.example.com', + port: 465, + secure: true + }); + const message: Mail.Options = { + from: 'sender@example.com', + to: 'recipient@example.com', + subject: 'Message', + text: 'I hope this message gets read!', + dkim: { + domainName: 'example.com', + keySelector: '2017', + privateKey: '-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBg...' + } + }; +} + +// Cache large messages for signing + +namespace dkim_cache_large_messages_test { + const transporter = nodemailer.createTransport({ + host: 'smtp.example.com', + port: 465, + secure: true, + dkim: { + domainName: 'example.com', + keySelector: '2017', + privateKey: '-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBg...', + cacheDir: '/tmp', + cacheTreshold: 100 * 1024 + } + }); +} + +// Do not sign specific header keys + +namespace dkim_specific_header_key_test { + const transporter = nodemailer.createTransport({ + host: 'smtp.example.com', + port: 465, + secure: true, + dkim: { + domainName: 'example.com', + keySelector: '2017', + privateKey: '-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBg...', + skipFields: 'message-id:date' + } + }); +} + +// 8. SMTP Connection + +// SMTP Connection + +namespace smtp_connection_test { + const connection = new SMTPConnection(); + connection.connect(() => { + connection.login({ user: 'user', pass: 'pass' }, (err) => { + if (err) throw err; + connection.send({ from: 'a@example.com', to: 'b@example.net' }, 'message', (err, info) => { + if (err) throw err; + console.log(info); + connection.reset(() => { + if (err) throw err; + connection.quit(); + connection.close(); + }); + }); + }); + }); +} + +// Mailcomposer + +// createReadStream + +namespace mailcomposer_createReadStream_test { + const mail = new MailComposer({ from: '...' }); + const stream = mail.compile().createReadStream(); + stream.pipe(process.stdout); +} + +// build + +namespace mailcomposer_build_test { + const mail = new MailComposer({ from: '...' }); + mail.compile().build((err, message) => { + process.stdout.write(message); + }); +} + +// addressparser + +namespace addressparser_test { + const input = 'andris@tr.ee'; + addressparser(input); +} + +// base64 + +namespace base64_test { + base64.encode('abcd= ÕÄÖÜ'); + + base64.encode(new Buffer([0x00, 0x01, 0x02, 0x20, 0x03])); +} + +// fetch + +namespace fetch_test { + fetch('http://localhost/'); + + fetch('http://localhost:/', { + allowErrorResponse: true, + method: 'post', + cookie: 'test=pest', + body: { + hello: 'world 😭', + another: 'value' + }, + timeout: 1000, + tls: { + rejectUnauthorized: true + } + }); +} + +// fetch/cookies + +namespace fetch_cookies_test { + const biskviit = new Cookies(); + + biskviit.getPath('/'); + + biskviit.isExpired({ + name: 'a', + value: 'b', + expires: new Date(Date.now() + 10000) + }); + + biskviit.compare( + { + name: 'zzz', + path: '/', + domain: 'example.com', + secure: false, + httponly: false + }, + { + name: 'zzz', + path: '/', + domain: 'example.com', + secure: false, + httponly: false + } + ); + + biskviit.add({ + name: 'zzz', + value: 'abc', + path: '/', + expires: new Date(Date.now() + 10000), + domain: 'example.com', + secure: false, + httponly: false + }); + + const cookie = { + name: 'zzz', + value: 'abc', + path: '/def/', + expires: new Date(Date.now() + 10000), + domain: 'example.com', + secure: false, + httponly: false + }; + + biskviit.match(cookie, 'http://example.com/def/'); + + biskviit.parse('theme=plain'); + + biskviit.list('https://www.foo.com'); + + biskviit.get('https://www.foo.com'); + + biskviit.set('theme=plain', 'https://foo.com/'); +} + +// mime-funcs + +namespace mime_funcs_test { + mimeFuncs.isPlainText('abc'); + + mimeFuncs.hasLongerLines('abc\ndef', 5); + + mimeFuncs.encodeWord('See on õhin test'); + mimeFuncs.encodeWord('See on õhin test', 'B'); + mimeFuncs.encodeWords('метель" вьюга', 'Q', 52); + mimeFuncs.encodeWords('Jõgeva Jõgeva Jõgeva mugeva Jõgeva Jõgeva Jõgeva Jõgeva Jõgeva', 'Q', 16); + mimeFuncs.encodeWords('õõõõõ õõõõõ õõõõõ mugeva õõõõõ õõõõõ õõõõõ õõõõõ Jõgeva', 'B', 30); + + mimeFuncs.buildHeaderParam('title', 'this is just a title', 500); + + const parsedHeader = mimeFuncs.parseHeaderValue('content-disposition: attachment; filename=filename'); + console.log(parsedHeader.params.filename); + + mimeFuncs.buildHeaderValue({ + value: 'test' + }); + + mimeFuncs.buildHeaderValue({ + value: 'test', + params: { + a: 'b' + } + }); + + mimeFuncs.foldLines('Testin command line', 76, true); + mimeFuncs.foldLines('Testin command line', 76); +} + +// mime-types + +namespace mime_types_test { + mimeTypes.detectExtension(false); + mimeTypes.detectExtension('unknown'); + + mimeTypes.detectMimeType(false); + mimeTypes.detectMimeType('unknown'); +} + +// qp + +namespace qp_test { + qp.encode('abcd= ÕÄÖÜ'); + + qp.encode(new Buffer([0x00, 0x01, 0x02, 0x20, 0x03])); +} + +// shared + +namespace shared_getLogger_test { + shared.getLogger({ + logger: false + }); + + shared.getLogger(); + + const options = shared.parseConnectionUrl('smtps://user:pass@localhost:123?tls.rejectUnauthorized=false&name=horizon'); + console.log(options.secure, options.auth!.user, options.tls!.rejectUnauthorized); +} + +namespace shared_resolveContent_string_test { + const mail = { + data: { + html: '<p>Tere, tere</p><p>vana kere!</p>\n' + } + }; + + shared.resolveContent(mail.data, 'html', (err, value) => { + if (!err) { + console.log(value); + } + }); + + shared.resolveContent(mail.data, 'html').then((value) => console.log(value)); +} + +namespace shared_resolveContent_buffer_test { + const mail = { + data: { + html: new Buffer('<p>Tere, tere</p><p>vana kere!</p>\n') + } + }; + + shared.resolveContent(mail.data, 'html', (err, value) => { + if (!err) { + console.log(value); + } + }); + + shared.resolveContent(mail.data, 'html').then((value) => console.log(value)); +} + +namespace shared_assing_test { + const target = { + a: 1, + b: 2, + c: 3 + }; + const arg1 = { + b: 5, + y: 66, + e: 33 + }; + + const arg2 = { + y: 17, + qq: 98 + }; + + shared.assign(target, arg1, arg2); +} + +namespace shared_encodeXText_test { + shared.encodeXText('teretere'); +} + +// well-known + +namespace well_known_test { + const options = wellKnown('Gmail'); + if (options) { + console.log(options.host, options.port, options.secure); + } +} diff --git a/types/nodemailer/tsconfig.json b/types/nodemailer/tsconfig.json index 412f3312eb..f2c1ffbbe8 100644 --- a/types/nodemailer/tsconfig.json +++ b/types/nodemailer/tsconfig.json @@ -6,8 +6,8 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": true, "strictFunctionTypes": true, + "strictNullChecks": true, "baseUrl": "../", "typeRoots": [ "../" @@ -18,6 +18,28 @@ }, "files": [ "index.d.ts", + "lib/addressparser.d.ts", + "lib/base64.d.ts", + "lib/dkim.d.ts", + "lib/fetch/index.d.ts", + "lib/fetch/cookies.d.ts", + "lib/json-transport.d.ts", + "lib/mail-composer.d.ts", + "lib/mailer/index.d.ts", + "lib/mailer/mail-message.d.ts", + "lib/mime-funcs/index.d.ts", + "lib/mime-funcs/mime-types.d.ts", + "lib/mime-node.d.ts", + "lib/qp.d.ts", + "lib/sendmail-transport.d.ts", + "lib/ses-transport.d.ts", + "lib/shared.d.ts", + "lib/smtp-connection.d.ts", + "lib/smtp-pool.d.ts", + "lib/smtp-transport.d.ts", + "lib/stream-transport.d.ts", + "lib/well-known.d.ts", + "lib/xoauth2.d.ts", "nodemailer-tests.ts" ] } \ No newline at end of file diff --git a/types/nodemailer/tslint.json b/types/nodemailer/tslint.json new file mode 100644 index 0000000000..64aace11d6 --- /dev/null +++ b/types/nodemailer/tslint.json @@ -0,0 +1,6 @@ +{ + "extends": "dtslint/dt.json", + "rules": { + "max-line-length": false + } +} diff --git a/types/nodemailer/v3/index.d.ts b/types/nodemailer/v3/index.d.ts new file mode 100644 index 0000000000..fb1c359625 --- /dev/null +++ b/types/nodemailer/v3/index.d.ts @@ -0,0 +1,215 @@ +// Type definitions for Nodemailer 3.1.5 +// Project: https://github.com/andris9/Nodemailer +// Definitions by: Rogier Schouten <https://github.com/rogierschouten> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// <reference types="node" /> + +import directTransport = require("nodemailer-direct-transport"); +import smtpTransport = require("nodemailer-smtp-transport"); +import sesTransport = require("nodemailer-ses-transport") + +/** + * Transporter plugin + */ +export interface Plugin { + (mail: SendMailOptions, callback?: (error: Error, info: SentMessageInfo) => void): void; +} + +/** + * This is what you use to send mail + */ +export interface Transporter { + /** + * Send a mail with callback + */ + sendMail(mail: SendMailOptions, callback: (error: Error, info: SentMessageInfo) => void): void; + + /** + * Send a mail + * return Promise + */ + sendMail(mail: SendMailOptions): Promise<SentMessageInfo>; + + /** + * Attach a plugin. 'compile' and 'stream' plugins can be attached with use(plugin) method + * + * @param step is a string, either 'compile' or 'stream' thatd defines when the plugin should be hooked + * @param pluginFunc is a function that takes two arguments: the mail object and a callback function + */ + use(step: string, plugin: Plugin): void; + + /** + * Verifies connection with server + */ + verify(callback: (error: Error, success?: boolean) => void): void; + + /** + * Verifies connection with server + */ + verify(): Promise<void>; + + /** + * Close all connections + */ + close?(): void; +} + +/** + * Create a direct transporter + */ +export declare function createTransport(options?: directTransport.DirectOptions, defaults?: Object): Transporter; +/** + * Create an SMTP transporter + */ +export declare function createTransport(options?: smtpTransport.SmtpOptions, defaults?: Object): Transporter; +/** + * Create an SMTP transporter using a connection url + */ +export declare function createTransport(connectionUrl: string, defaults?: Object): Transporter; +/** + * Create an AWS SES transporter + */ +export declare function createTransport(options?: sesTransport.SesOptions, defaults?: Object): Transporter; +/** + * Create a transporter from a given implementation + */ +export declare function createTransport(transport: Transport, defaults?: Object): Transporter; +export interface AttachmentObject { + /** + * filename to be reported as the name of the attached file, use of unicode is allowed + */ + filename?: string; + /** + * optional content id for using inline images in HTML message source + */ + cid?: string; + /** + * Pathname or URL to use streaming + */ + path?: string; + /** + * String, Buffer or a Stream contents for the attachment + */ + content: string|Buffer|NodeJS.ReadableStream; + /** + * If set and content is string, then encodes the content to a Buffer using the specified encoding. Example values: base64, hex, 'binary' etc. Useful if you want to use binary attachments in a JSON formatted e-mail object. + */ + encoding?: string; + /** + * optional content type for the attachment, if not set will be derived from the filename property + */ + contentType?: string; + /** + * optional content disposition type for the attachment, defaults to 'attachment' + */ + contentDisposition?: string; +} + +export interface SendMailOptions { + /** + * The e-mail address of the sender. All e-mail addresses can be plain 'sender@server.com' or formatted 'Sender Name <sender@server.com>', see here for details + */ + from?: string; + /** + * An e-mail address that will appear on the Sender: field + */ + sender?: string; + /** + * Comma separated list or an array of recipients e-mail addresses that will appear on the To: field + */ + to?: string|string[]; + /** + * Comma separated list or an array of recipients e-mail addresses that will appear on the Cc: field + */ + cc?: string|string[]; + /** + * Comma separated list or an array of recipients e-mail addresses that will appear on the Bcc: field + */ + bcc?: string|string[]; + /** + * An e-mail address that will appear on the Reply-To: field + */ + replyTo?: string; + /** + * The message-id this message is replying + */ + inReplyTo?: string; + /** + * Message-id list (an array or space separated string) + */ + references?: string|string[]; + /** + * The subject of the e-mail + */ + subject?: string; + /** + * The plaintext version of the message as an Unicode string, Buffer, Stream or an object {path: '...'} + */ + text?: string|Buffer|NodeJS.ReadableStream|AttachmentObject; + /** + * The HTML version of the message as an Unicode string, Buffer, Stream or an object {path: '...'} + */ + html?: string|Buffer|NodeJS.ReadableStream|AttachmentObject; + /** + * An object or array of additional header fields (e.g. {"X-Key-Name": "key value"} or [{key: "X-Key-Name", value: "val1"}, {key: "X-Key-Name", value: "val2"}]) + */ + headers?: any; + /** + * An array of attachment objects (see below for details) + */ + attachments?: AttachmentObject[]; + /** + * An array of alternative text contents (in addition to text and html parts) (see below for details) + */ + alternatives?: AttachmentObject[]; + /** + * optional Message-Id value, random value will be generated if not set + */ + messageId?: string; + /** + * optional Date value, current UTC string will be used if not set + */ + date?: Date; + /** + * optional transfer encoding for the textual parts (defaults to 'quoted-printable') + */ + encoding?: string; +} + +export interface SentMessageInfo { + /** + * most transports should return the final Message-Id value used with this property + */ + messageId: string; + /** + * includes the envelope object for the message + */ + envelope: any; + /** + * is an array returned by SMTP transports (includes recipient addresses that were accepted by the server) + */ + accepted: string[]; + /** + * is an array returned by SMTP transports (includes recipient addresses that were rejected by the server) + */ + rejected: string[]; + /** + * is an array returned by Direct SMTP transport. Includes recipient addresses that were temporarily rejected together with the server response + */ + pending?: string[]; + /** + * is a string returned by SMTP transports and includes the last SMTP response from the server + */ + response: string; +} + +/** + * This is what you implement to create a new transporter yourself + */ +export interface Transport { + name: string; + version: string; + send(mail: SendMailOptions, callback?: (error: Error, info: SentMessageInfo) => void): void; + close(): void; +} diff --git a/types/nodemailer/v3/nodemailer-tests.ts b/types/nodemailer/v3/nodemailer-tests.ts new file mode 100644 index 0000000000..cd26579189 --- /dev/null +++ b/types/nodemailer/v3/nodemailer-tests.ts @@ -0,0 +1,71 @@ +import * as nodemailer from 'nodemailer' +import * as AWS from 'aws-sdk' + +// create reusable transporter object using SMTP transport +var transporter: nodemailer.Transporter = nodemailer.createTransport({ + service: 'Gmail', + auth: { + user: 'gmail.user@gmail.com', + pass: 'userpass' + } +}); + +// create reusable transporter object using SMTP connection url using default options +transporter = nodemailer.createTransport("smtps://gmail.user@gmail.com:userpass@gmail/?pool=true"); + +// create reusable transporter object using SMTP connection url and specify some options +transporter = nodemailer.createTransport("smtps://gmail.user@gmail.com:userpass@gmail/?pool=true", + { + from: 'sender@address', + headers: { + 'My-Awesome-Header': '123' + } + }); + +// create reusable transporter object using SES transport and set default values for mail options. +transporter = nodemailer.createTransport({ + SES: new AWS.SES() +}) +// create reusable transporter object using SMTP transport and set default values for mail options. +transporter = nodemailer.createTransport({ + SES: new AWS.SES() +}, { + from: 'sender@address', + headers: { + 'My-Awesome-Header': '123' + } +}) + +// create reusable transporter object using SMTP transport and set default values for mail options. +transporter = nodemailer.createTransport({ + service: 'Gmail', + auth: { + user: 'gmail.user@gmail.com', + pass: 'userpass' + } +}, { + from: 'sender@address', + headers: { + 'My-Awesome-Header': '123' + } +}); + +// setup e-mail data with unicode symbols +var mailOptions: nodemailer.SendMailOptions = { + from: 'Fred Foo ✔ <foo@blurdybloop.com>', // sender address + to: 'bar@blurdybloop.com, baz@blurdybloop.com', // list of receivers + subject: 'Hello ✔', // Subject line + text: 'Hello world ✔', // plaintext body + html: '<b>Hello world ✔</b>' // html body +}; + +// send mail with defined transport object +transporter.sendMail(mailOptions, (error: Error, info: nodemailer.SentMessageInfo): void => { + // nothing +}); + +// promise send mail without callback +transporter + .sendMail(mailOptions) + .then(info => info.messageId) + .catch(err => {}) \ No newline at end of file diff --git a/types/nodemailer/package.json b/types/nodemailer/v3/package.json similarity index 100% rename from types/nodemailer/package.json rename to types/nodemailer/v3/package.json diff --git a/types/nodemailer/v3/tsconfig.json b/types/nodemailer/v3/tsconfig.json new file mode 100644 index 0000000000..4ebef6b8cf --- /dev/null +++ b/types/nodemailer/v3/tsconfig.json @@ -0,0 +1,28 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "baseUrl": "../../", + "typeRoots": [ + "../../" + ], + "paths": { + "nodemailer": [ + "nodemailer/v3" + ] + }, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "nodemailer-tests.ts" + ] +} \ No newline at end of file From f487a1c111ae2446bb502eef8f65aca3eb41b684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20Jedli=C4=8Dka?= <jedlicka.r@gmail.com> Date: Tue, 17 Oct 2017 20:58:39 +0200 Subject: [PATCH 427/433] [react] Fix `isValidElement` to accept `any` type (#20641) * [react] Fix `isValidElement` to accept `any` type * [react] Fix `isValidElement` method param type Change `object` parameter type from `any` to more explicit. --- types/react/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react/index.d.ts b/types/react/index.d.ts index 4b123ecd87..35feb8d0ab 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -256,7 +256,7 @@ declare namespace React { props?: Q, // should be Q & Attributes ...children: ReactNode[]): ReactElement<P>; - function isValidElement<P>(object: {}): object is ReactElement<P>; + function isValidElement<P>(object: {} | null | undefined): object is ReactElement<P>; const Children: ReactChildren; const version: string; From 43a26606027a45ff30ff7e17afd7577f97aab0d8 Mon Sep 17 00:00:00 2001 From: Jeff Kenney <jeffkenney@users.noreply.github.com> Date: Tue, 17 Oct 2017 12:00:46 -0700 Subject: [PATCH 428/433] Fix node url and http/https request types (#18766) * [node] url.format can take a string * [node] http.request / https.request can take a string * [node] reorder Url properties to match ordering in docs * [node] DRY out the Url and UrlObject types * [node] backport split Url / UrlObject types to v0 and v4 * remove 'any' union for UrlObject.query type --- types/node/index.d.ts | 36 +++++++++++--------------- types/node/node-tests.ts | 8 ++++++ types/node/v0/index.d.ts | 50 ++++++++++++++++++++++++------------- types/node/v0/node-tests.ts | 10 ++++++++ types/node/v4/index.d.ts | 23 ++++++++++------- types/node/v4/node-tests.ts | 6 +++++ types/node/v6/index.d.ts | 28 ++++++++------------- types/node/v6/node-tests.ts | 8 ++++++ types/node/v7/index.d.ts | 40 ++++++++++++----------------- types/node/v7/node-tests.ts | 8 ++++++ 10 files changed, 126 insertions(+), 91 deletions(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 143ae3177f..c8a62ba3b1 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -2171,37 +2171,29 @@ declare module "child_process" { } declare module "url" { - export interface Url { - href?: string; - protocol?: string; + export interface UrlObject { auth?: string; - hostname?: string; - port?: string; - host?: string; - pathname?: string; - search?: string; - query?: string | any; - slashes?: boolean; hash?: string; + host?: string; + hostname?: string; + href?: string; path?: string; + pathname?: string; + port?: string | number; + protocol?: string; + query?: string | { [key: string]: any; }; + search?: string; + slashes?: boolean; } - export interface UrlObject { - protocol?: string; - slashes?: boolean; - auth?: string; - host?: string; - hostname?: string; - port?: string | number; - pathname?: string; - search?: string; - query?: { [key: string]: any; }; - hash?: string; + export interface Url extends UrlObject { + port?: string; + query?: any; } export function parse(urlStr: string, parseQueryString?: boolean, slashesDenoteHost?: boolean): Url; export function format(URL: URL, options?: URLFormatOptions): string; - export function format(urlObject: UrlObject): string; + export function format(urlObject: UrlObject | string): string; export function resolve(from: string, to: string): string; export interface URLFormatOptions { diff --git a/types/node/node-tests.ts b/types/node/node-tests.ts index 1ec94db6b6..802e47db4e 100644 --- a/types/node/node-tests.ts +++ b/types/node/node-tests.ts @@ -541,6 +541,8 @@ namespace url_tests { { url.format(url.parse('http://www.example.com/xyz')); + url.format('http://www.example.com/xyz'); + // https://google.com/search?q=you're%20a%20lizard%2C%20gary url.format({ protocol: 'https', @@ -1295,6 +1297,10 @@ namespace http_tests { http.request({ agent: undefined }); } + { + http.request('http://www.example.com/xyz'); + } + { // Make sure .listen() and .close() return a Server instance http.createServer().listen(0).close().address(); @@ -1337,6 +1343,8 @@ namespace https_tests { https.request({ agent: undefined }); + + https.request('http://www.example.com/xyz'); } //////////////////////////////////////////////////// diff --git a/types/node/v0/index.d.ts b/types/node/v0/index.d.ts index 1b4585bd66..ccf2e5e207 100644 --- a/types/node/v0/index.d.ts +++ b/types/node/v0/index.d.ts @@ -462,6 +462,23 @@ declare module "http" { import * as net from "net"; import * as stream from "stream"; + export interface RequestOptions { + protocol?: string; + host?: string; + hostname?: string; + family?: number; + port?: number; + localAddress?: string; + socketPath?: string; + method?: string; + path?: string; + headers?: { [key: string]: any }; + auth?: string; + agent?: Agent | boolean; + keepAlive?: boolean; + keepAliveMsecs?: number; + } + export interface Server extends events.EventEmitter { listen(port: number, hostname?: string, backlog?: number, callback?: Function): Server; listen(port: number, hostname?: string, callback?: Function): Server; @@ -599,7 +616,7 @@ declare module "http" { }; export function createServer(requestListener?: (request: IncomingMessage, response: ServerResponse) =>void ): Server; export function createClient(port?: number, host?: string): any; - export function request(options: any, callback?: (res: IncomingMessage) => void): ClientRequest; + export function request(options: RequestOptions | string, callback?: (res: IncomingMessage) => void): ClientRequest; export function get(options: any, callback?: (res: IncomingMessage) => void): ClientRequest; export var globalAgent: Agent; } @@ -756,15 +773,7 @@ declare module "https" { SNICallback?: (servername: string) => any; } - export interface RequestOptions { - host?: string; - hostname?: string; - port?: number; - path?: string; - method?: string; - headers?: any; - auth?: string; - agent?: any; + export interface RequestOptions extends http.RequestOptions { pfx?: any; key?: any; passphrase?: string; @@ -784,7 +793,7 @@ declare module "https" { }; export interface Server extends tls.Server { } export function createServer(options: ServerOptions, requestListener?: Function): Server; - export function request(options: RequestOptions, callback?: (res: http.IncomingMessage) =>void ): http.ClientRequest; + export function request(options: RequestOptions | string, callback?: (res: http.IncomingMessage) =>void ): http.ClientRequest; export function get(options: RequestOptions, callback?: (res: http.IncomingMessage) =>void ): http.ClientRequest; export var globalAgent: Agent; } @@ -956,23 +965,28 @@ declare module "child_process" { } declare module "url" { - export interface Url { + export interface UrlObject { href?: string; protocol?: string; + slashes?: boolean; + host?: string; auth?: string; hostname?: string; - port?: string; - host?: string; + port?: string | number; pathname?: string; search?: string; - query?: any; // string | Object - slashes?: boolean; - hash?: string; path?: string; + query?: string | { [key: string]: any; }; + hash?: string; + } + + export interface Url extends UrlObject { + port?: string; + query?: any; } export function parse(urlStr: string, parseQueryString?: boolean , slashesDenoteHost?: boolean ): Url; - export function format(url: Url): string; + export function format(urlObject: UrlObject): string; export function resolve(from: string, to: string): string; } diff --git a/types/node/v0/node-tests.ts b/types/node/v0/node-tests.ts index 91e85f5a0c..8e2443b360 100644 --- a/types/node/v0/node-tests.ts +++ b/types/node/v0/node-tests.ts @@ -8,6 +8,7 @@ import * as util from "util"; import * as crypto from "crypto"; import * as tls from "tls"; import * as http from "http"; +import * as https from "https"; import * as net from "net"; import * as dgram from "dgram"; import * as querystring from "querystring"; @@ -250,6 +251,15 @@ namespace http_tests { }); var agent: http.Agent = http.globalAgent; + + http.request('http://www.example.com/xyz'); +} + +//////////////////////////////////////////////////// +/// Https tests : http://nodejs.org/api/https.html +//////////////////////////////////////////////////// +namespace https_tests { + https.request('http://www.example.com/xyz'); } //////////////////////////////////////////////////// diff --git a/types/node/v4/index.d.ts b/types/node/v4/index.d.ts index 959cc83545..d88db82da1 100644 --- a/types/node/v4/index.d.ts +++ b/types/node/v4/index.d.ts @@ -720,7 +720,7 @@ declare module "http" { }; export function createServer(requestListener?: (request: IncomingMessage, response: ServerResponse) =>void ): Server; export function createClient(port?: number, host?: string): any; - export function request(options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest; + export function request(options: RequestOptions | string, callback?: (res: IncomingMessage) => void): ClientRequest; export function get(options: any, callback?: (res: IncomingMessage) => void): ClientRequest; export var globalAgent: Agent; } @@ -946,7 +946,7 @@ declare module "https" { }; export interface Server extends tls.Server { } export function createServer(options: ServerOptions, requestListener?: Function): Server; - export function request(options: RequestOptions, callback?: (res: http.IncomingMessage) =>void ): http.ClientRequest; + export function request(options: RequestOptions | string, callback?: (res: http.IncomingMessage) =>void ): http.ClientRequest; export function get(options: RequestOptions, callback?: (res: http.IncomingMessage) =>void ): http.ClientRequest; export var globalAgent: Agent; } @@ -1236,23 +1236,28 @@ declare module "child_process" { } declare module "url" { - export interface Url { + export interface UrlObject { href?: string; protocol?: string; + slashes?: boolean; + host?: string; auth?: string; hostname?: string; - port?: string; - host?: string; + port?: string | number; pathname?: string; search?: string; - query?: string | any; - slashes?: boolean; - hash?: string; path?: string; + query?: string | { [key: string]: any; }; + hash?: string; + } + + export interface Url extends UrlObject { + port?: string; + query?: any; } export function parse(urlStr: string, parseQueryString?: boolean , slashesDenoteHost?: boolean ): Url; - export function format(url: Url): string; + export function format(urlObject: UrlObject): string; export function resolve(from: string, to: string): string; } diff --git a/types/node/v4/node-tests.ts b/types/node/v4/node-tests.ts index 30bdbdda0c..05b20806cd 100644 --- a/types/node/v4/node-tests.ts +++ b/types/node/v4/node-tests.ts @@ -483,6 +483,10 @@ namespace http_tests { http.request({ agent: undefined }); } + { + http.request('http://www.example.com/xyz'); + } + { // Make sure .listen() and .close() retuern a Server instance http.createServer().listen(0).close().address(); @@ -521,6 +525,8 @@ namespace https_tests { https.request({ agent: undefined }); + + https.request('http://www.example.com/xyz'); } //////////////////////////////////////////////////// diff --git a/types/node/v6/index.d.ts b/types/node/v6/index.d.ts index e89656eedf..8f73bab752 100644 --- a/types/node/v6/index.d.ts +++ b/types/node/v6/index.d.ts @@ -1802,36 +1802,28 @@ declare module "child_process" { } declare module "url" { - export interface Url { + export interface UrlObject { href?: string; protocol?: string; - auth?: string; - hostname?: string; - port?: string; - host?: string; - pathname?: string; - search?: string; - query?: string | any; slashes?: boolean; - hash?: string; - path?: string; - } - - export interface UrlObject { - protocol?: string; - slashes?: boolean; - auth?: string; host?: string; + auth?: string; hostname?: string; port?: string | number; pathname?: string; search?: string; - query?: { [key: string]: any; }; + path?: string; + query?: string | { [key: string]: any; }; hash?: string; } + export interface Url extends UrlObject { + port?: string; + query?: any; + } + export function parse(urlStr: string, parseQueryString?: boolean, slashesDenoteHost?: boolean): Url; - export function format(urlObject: UrlObject): string; + export function format(urlObject: UrlObject | string): string; export function resolve(from: string, to: string): string; } diff --git a/types/node/v6/node-tests.ts b/types/node/v6/node-tests.ts index 3607a5bec2..15c36ef058 100644 --- a/types/node/v6/node-tests.ts +++ b/types/node/v6/node-tests.ts @@ -441,6 +441,8 @@ namespace url_tests { { url.format(url.parse('http://www.example.com/xyz')); + url.format('http://www.example.com/xyz'); + // https://google.com/search?q=you're%20a%20lizard%2C%20gary url.format({ protocol: 'https', @@ -917,6 +919,10 @@ namespace http_tests { http.request({ agent: undefined }); } + { + http.request('http://www.example.com/xyz'); + } + { // Make sure .listen() and .close() retuern a Server instance http.createServer().listen(0).close().address(); @@ -955,6 +961,8 @@ namespace https_tests { https.request({ agent: undefined }); + + https.request('http://www.example.com/xyz'); } //////////////////////////////////////////////////// diff --git a/types/node/v7/index.d.ts b/types/node/v7/index.d.ts index 3a5994efbc..45df6015fe 100644 --- a/types/node/v7/index.d.ts +++ b/types/node/v7/index.d.ts @@ -816,7 +816,7 @@ declare module "http" { }; export function createServer(requestListener?: (request: IncomingMessage, response: ServerResponse) => void): Server; export function createClient(port?: number, host?: string): any; - export function request(options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest; + export function request(options: RequestOptions | string, callback?: (res: IncomingMessage) => void): ClientRequest; export function get(options: any, callback?: (res: IncomingMessage) => void): ClientRequest; export var globalAgent: Agent; } @@ -1419,7 +1419,7 @@ declare module "https" { }; export interface Server extends tls.Server { } export function createServer(options: ServerOptions, requestListener?: Function): Server; - export function request(options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; + export function request(options: RequestOptions | string, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; export function get(options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; export var globalAgent: Agent; } @@ -1869,37 +1869,29 @@ declare module "child_process" { } declare module "url" { - export interface Url { - href?: string; - protocol?: string; + export interface UrlObject { auth?: string; - hostname?: string; - port?: string; - host?: string; - pathname?: string; - search?: string; - query?: string | any; - slashes?: boolean; hash?: string; + host?: string; + hostname?: string; + href?: string; path?: string; + pathname?: string; + port?: string | number; + protocol?: string; + query?: string | { [key: string]: any; }; + search?: string; + slashes?: boolean; } - export interface UrlObject { - protocol?: string; - slashes?: boolean; - auth?: string; - host?: string; - hostname?: string; - port?: string | number; - pathname?: string; - search?: string; - query?: { [key: string]: any; }; - hash?: string; + export interface Url extends UrlObject { + port?: string; + query?: any; } export function parse(urlStr: string, parseQueryString?: boolean, slashesDenoteHost?: boolean): Url; export function format(URL: URL, options?: URLFormatOptions): string; - export function format(urlObject: UrlObject): string; + export function format(urlObject: UrlObject | string): string; export function resolve(from: string, to: string): string; export interface URLFormatOptions { diff --git a/types/node/v7/node-tests.ts b/types/node/v7/node-tests.ts index 860a4dc56b..f439a83213 100644 --- a/types/node/v7/node-tests.ts +++ b/types/node/v7/node-tests.ts @@ -442,6 +442,8 @@ namespace url_tests { { url.format(url.parse('http://www.example.com/xyz')); + url.format('http://www.example.com/xyz'); + // https://google.com/search?q=you're%20a%20lizard%2C%20gary url.format({ protocol: 'https', @@ -1014,6 +1016,10 @@ namespace http_tests { http.request({ agent: undefined }); } + { + http.request('http://www.example.com/xyz'); + } + { // Make sure .listen() and .close() retuern a Server instance http.createServer().listen(0).close().address(); @@ -1056,6 +1062,8 @@ namespace https_tests { https.request({ agent: undefined }); + + https.request('http://www.example.com/xyz'); } //////////////////////////////////////////////////// From f22d772d3ed1ecc718eb6f7a8f61a35f8308e70e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Burgd=C3=B6rfer?= <db@domachine.de> Date: Tue, 17 Oct 2017 21:54:44 +0200 Subject: [PATCH 429/433] Fix typo (#20652) --- types/nano/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/nano/index.d.ts b/types/nano/index.d.ts index 1c818dbb0a..788de4f241 100644 --- a/types/nano/index.d.ts +++ b/types/nano/index.d.ts @@ -345,7 +345,7 @@ declare namespace nano { } interface DocumentScopeFollowUpdatesParams { - inlucde_docs?: boolean; + include_docs?: boolean; since?: string; heartbeat?: number; feed?: "continuous"; From 2dfadabbb1fc1f6c34d7f818774e5187cb2cba03 Mon Sep 17 00:00:00 2001 From: moritz-h <moritz-h@users.noreply.github.com> Date: Tue, 17 Oct 2017 21:55:05 +0200 Subject: [PATCH 430/433] [jszip] fix typo (#20653) --- types/jszip/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/jszip/index.d.ts b/types/jszip/index.d.ts index 7ea6180080..0962f46ff8 100644 --- a/types/jszip/index.d.ts +++ b/types/jszip/index.d.ts @@ -28,7 +28,7 @@ interface InputByType { text: string; binarystring: string; array: number[]; - unit8array: Uint8Array; + uint8array: Uint8Array; arraybuffer: ArrayBuffer; blob: Blob; } @@ -38,7 +38,7 @@ interface OutputByType { text: string; binarystring: string; array: number[]; - unit8array: Uint8Array; + uint8array: Uint8Array; arraybuffer: ArrayBuffer; blob: Blob; nodebuffer: Buffer; From 4da771ecb4187d8d93af1d59a2156707772d135d Mon Sep 17 00:00:00 2001 From: Don Waldo <don.g.waldo@gmail.com> Date: Tue, 17 Oct 2017 14:56:32 -0500 Subject: [PATCH 431/433] #6930: Updates Dojox Charting definition module exports (#20654) * Fixes module definitions to uses import statement. * Removes unknown tsc compiler options strictFunctionTypes http://www.typescriptlang.org/docs/handbook/compiler-options.html * Puts back strictFunctionTypes flag Seems that the CI build fails unless this compiler flag is present, but doesn't seem to be representative of the current typescript options. The instructions say to run tsc, however it seems the flags may have changed between versions. The Travis CI output does not report the tsc version number being used. * Revert "Puts back strictFunctionTypes flag" This reverts commit aba384b0b3cbe904bd6632df8c152b09637022b0. * Revert "Revert "Puts back strictFunctionTypes flag"" This reverts commit 41cda05cc9baf07ea3551b2989d650c553606eb7. * Adds new line to end of file --- types/dojo/dojox.charting.d.ts | 163 +++++++++++++++++---------------- types/dojo/tsconfig.json | 3 +- 2 files changed, 84 insertions(+), 82 deletions(-) diff --git a/types/dojo/dojox.charting.d.ts b/types/dojo/dojox.charting.d.ts index 0f69eee3d4..d3336effd1 100644 --- a/types/dojo/dojox.charting.d.ts +++ b/types/dojo/dojox.charting.d.ts @@ -1,6 +1,7 @@ // Type definitions for Dojo v1.9 // Project: http://dojotoolkit.org // Definitions by: Michael Van Sickle <https://github.com/vansimke> +// Don Waldo <https://github.com/dgwaldo> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -13132,326 +13133,326 @@ declare namespace dojox { } declare module "dojox/charting/Chart3D" { - var exp: dojox.charting.Chart3D + import exp = dojox.charting.Chart3D export=exp; } declare module "dojox/charting/Chart2D" { - var exp: dojox.charting.Chart2D + import exp = dojox.charting.Chart2D export=exp; } declare module "dojox/charting/DataSeries" { - var exp: dojox.charting.DataSeries + import exp = dojox.charting.DataSeries export=exp; } declare module "dojox/charting/Chart" { - var exp: dojox.charting.Chart + import exp = dojox.charting.Chart export=exp; } declare module "dojox/charting/DataChart" { - var exp: dojox.charting.DataChart + import exp = dojox.charting.DataChart export=exp; } declare module "dojox/charting/Element" { - var exp: dojox.charting.Element + import exp = dojox.charting.Element export=exp; } declare module "dojox/charting/Series" { - var exp: dojox.charting.Series + import exp = dojox.charting.Series export=exp; } declare module "dojox/charting/StoreSeries" { - var exp: dojox.charting.StoreSeries + import exp = dojox.charting.StoreSeries export=exp; } declare module "dojox/charting/SimpleTheme" { - var exp: dojox.charting.SimpleTheme + import exp = dojox.charting.SimpleTheme export=exp; } declare module "dojox/charting/SimpleTheme.defaultMarkers" { - var exp: dojox.charting.SimpleTheme.defaultMarkers + import exp = dojox.charting.SimpleTheme.defaultMarkers export=exp; } declare module "dojox/charting/SimpleTheme.defaultTheme" { - var exp: dojox.charting.SimpleTheme.defaultTheme + import exp = dojox.charting.SimpleTheme.defaultTheme export=exp; } declare module "dojox/charting/Theme" { - var exp: dojox.charting.Theme + import exp = dojox.charting.Theme export=exp; } declare module "dojox/charting/Theme.defaultMarkers" { - var exp: dojox.charting.Theme.defaultMarkers + import exp = dojox.charting.Theme.defaultMarkers export=exp; } declare module "dojox/charting/Theme.defaultTheme" { - var exp: dojox.charting.Theme.defaultTheme + import exp = dojox.charting.Theme.defaultTheme export=exp; } declare module "dojox/charting/action2d/Base" { - var exp: dojox.charting.action2d.Base + import exp = dojox.charting.action2d.Base export=exp; } declare module "dojox/charting/action2d/ChartAction" { - var exp: dojox.charting.action2d.ChartAction + import exp = dojox.charting.action2d.ChartAction export=exp; } declare module "dojox/charting/action2d/_IndicatorElement" { - var exp: dojox.charting.action2d._IndicatorElement + import exp = dojox.charting.action2d._IndicatorElement export=exp; } declare module "dojox/charting/action2d/Highlight" { - var exp: dojox.charting.action2d.Highlight + import exp = dojox.charting.action2d.Highlight export=exp; } declare module "dojox/charting/action2d/Magnify" { - var exp: dojox.charting.action2d.Magnify + import exp = dojox.charting.action2d.Magnify export=exp; } declare module "dojox/charting/action2d/MouseZoomAndPan" { - var exp: dojox.charting.action2d.MouseZoomAndPan + import exp = dojox.charting.action2d.MouseZoomAndPan export=exp; } declare module "dojox/charting/action2d/MouseIndicator" { - var exp: dojox.charting.action2d.MouseIndicator + import exp = dojox.charting.action2d.MouseIndicator export=exp; } declare module "dojox/charting/action2d/MoveSlice" { - var exp: dojox.charting.action2d.MoveSlice + import exp = dojox.charting.action2d.MoveSlice export=exp; } declare module "dojox/charting/action2d/PlotAction" { - var exp: dojox.charting.action2d.PlotAction + import exp = dojox.charting.action2d.PlotAction export=exp; } declare module "dojox/charting/action2d/Tooltip" { - var exp: dojox.charting.action2d.Tooltip + import exp = dojox.charting.action2d.Tooltip export=exp; } declare module "dojox/charting/action2d/Shake" { - var exp: dojox.charting.action2d.Shake + import exp = dojox.charting.action2d.Shake export=exp; } declare module "dojox/charting/action2d/TouchZoomAndPan" { - var exp: dojox.charting.action2d.TouchZoomAndPan + import exp = dojox.charting.action2d.TouchZoomAndPan export=exp; } declare module "dojox/charting/action2d/TouchIndicator" { - var exp: dojox.charting.action2d.TouchIndicator + import exp = dojox.charting.action2d.TouchIndicator export=exp; } declare module "dojox/charting/axis2d/common" { - var exp: dojox.charting.axis2d.common + import exp = dojox.charting.axis2d.common export=exp; } declare module "dojox/charting/axis2d/common.createText" { - var exp: dojox.charting.axis2d.common.createText + import exp = dojox.charting.axis2d.common.createText export=exp; } declare module "dojox/charting/axis2d/Base" { - var exp: dojox.charting.axis2d.Base + import exp = dojox.charting.axis2d.Base export=exp; } declare module "dojox/charting/axis2d/Invisible" { - var exp: dojox.charting.axis2d.Invisible + import exp = dojox.charting.axis2d.Invisible export=exp; } declare module "dojox/charting/axis2d/Default" { - var exp: dojox.charting.axis2d.Default + import exp = dojox.charting.axis2d.Default export=exp; } declare module "dojox/charting/bidi/_bidiutils" { - var exp: dojox.charting.bidi._bidiutils + import exp = dojox.charting.bidi._bidiutils export=exp; } declare module "dojox/charting/bidi/Chart" { - var exp: dojox.charting.bidi.Chart + import exp = dojox.charting.bidi.Chart export=exp; } declare module "dojox/charting/bidi/Chart3D" { - var exp: dojox.charting.bidi.Chart3D + import exp = dojox.charting.bidi.Chart3D export=exp; } declare module "dojox/charting/bidi/action2d/Tooltip" { - var exp: dojox.charting.bidi.action2d.Tooltip + import exp = dojox.charting.bidi.action2d.Tooltip export=exp; } declare module "dojox/charting/bidi/action2d/ZoomAndPan" { - var exp: dojox.charting.bidi.action2d.ZoomAndPan + import exp = dojox.charting.bidi.action2d.ZoomAndPan export=exp; } declare module "dojox/charting/bidi/axis2d/Default" { - var exp: dojox.charting.bidi.axis2d.Default + import exp = dojox.charting.bidi.axis2d.Default export=exp; } declare module "dojox/charting/bidi/widget/Chart" { - var exp: dojox.charting.bidi.widget.Chart + import exp = dojox.charting.bidi.widget.Chart export=exp; } declare module "dojox/charting/bidi/widget/Legend" { - var exp: dojox.charting.bidi.widget.Legend + import exp = dojox.charting.bidi.widget.Legend export=exp; } declare module "dojox/charting/plot2d/common" { - var exp: dojox.charting.plot2d.common + import exp = dojox.charting.plot2d.common export=exp; } declare module "dojox/charting/plot2d/common.defaultStats" { - var exp: dojox.charting.plot2d.common.defaultStats + import exp = dojox.charting.plot2d.common.defaultStats export=exp; } declare module "dojox/charting/plot2d/commonStacked" { - var exp: dojox.charting.plot2d.commonStacked + import exp = dojox.charting.plot2d.commonStacked export=exp; } declare module "dojox/charting/plot2d/_PlotEvents" { - var exp: dojox.charting.plot2d._PlotEvents + import exp = dojox.charting.plot2d._PlotEvents export=exp; } declare module "dojox/charting/plot2d/Areas" { - var exp: dojox.charting.plot2d.Areas + import exp = dojox.charting.plot2d.Areas export=exp; } declare module "dojox/charting/plot2d/Bars" { - var exp: dojox.charting.plot2d.Bars + import exp = dojox.charting.plot2d.Bars export=exp; } declare module "dojox/charting/plot2d/Base" { - var exp: dojox.charting.plot2d.Base + import exp = dojox.charting.plot2d.Base export=exp; } declare module "dojox/charting/plot2d/Bubble" { - var exp: dojox.charting.plot2d.Bubble + import exp = dojox.charting.plot2d.Bubble export=exp; } declare module "dojox/charting/plot2d/CartesianBase" { - var exp: dojox.charting.plot2d.CartesianBase + import exp = dojox.charting.plot2d.CartesianBase export=exp; } declare module "dojox/charting/plot2d/Candlesticks" { - var exp: dojox.charting.plot2d.Candlesticks + import exp = dojox.charting.plot2d.Candlesticks export=exp; } declare module "dojox/charting/plot2d/ClusteredBars" { - var exp: dojox.charting.plot2d.ClusteredBars + import exp = dojox.charting.plot2d.ClusteredBars export=exp; } declare module "dojox/charting/plot2d/ClusteredColumns" { - var exp: dojox.charting.plot2d.ClusteredColumns + import exp = dojox.charting.plot2d.ClusteredColumns export=exp; } declare module "dojox/charting/plot2d/Columns" { - var exp: dojox.charting.plot2d.Columns + import exp = dojox.charting.plot2d.Columns export=exp; } declare module "dojox/charting/plot2d/Grid" { - var exp: dojox.charting.plot2d.Grid + import exp = dojox.charting.plot2d.Grid export=exp; } declare module "dojox/charting/plot2d/Default" { - var exp: dojox.charting.plot2d.Default + import exp = dojox.charting.plot2d.Default export=exp; } declare module "dojox/charting/plot2d/Indicator" { - var exp: dojox.charting.plot2d.Indicator + import exp = dojox.charting.plot2d.Indicator export=exp; } declare module "dojox/charting/plot2d/Lines" { - var exp: dojox.charting.plot2d.Lines + import exp = dojox.charting.plot2d.Lines export=exp; } declare module "dojox/charting/plot2d/Markers" { - var exp: dojox.charting.plot2d.Markers + import exp = dojox.charting.plot2d.Markers export=exp; } declare module "dojox/charting/plot2d/Pie" { - var exp: dojox.charting.plot2d.Pie + import exp = dojox.charting.plot2d.Pie export=exp; } declare module "dojox/charting/plot2d/MarkersOnly" { - var exp: dojox.charting.plot2d.MarkersOnly + import exp = dojox.charting.plot2d.MarkersOnly export=exp; } declare module "dojox/charting/plot2d/OHLC" { - var exp: dojox.charting.plot2d.OHLC + import exp = dojox.charting.plot2d.OHLC export=exp; } declare module "dojox/charting/plot2d/Scatter" { - var exp: dojox.charting.plot2d.Scatter + import exp = dojox.charting.plot2d.Scatter export=exp; } declare module "dojox/charting/plot2d/Stacked" { - var exp: dojox.charting.plot2d.Stacked + import exp = dojox.charting.plot2d.Stacked export=exp; } declare module "dojox/charting/plot2d/Spider" { - var exp: dojox.charting.plot2d.Spider + import exp = dojox.charting.plot2d.Spider export=exp; } declare module "dojox/charting/plot2d/StackedAreas" { - var exp: dojox.charting.plot2d.StackedAreas + import exp = dojox.charting.plot2d.StackedAreas export=exp; } declare module "dojox/charting/plot2d/StackedBars" { - var exp: dojox.charting.plot2d.StackedBars + import exp = dojox.charting.plot2d.StackedBars export=exp; } declare module "dojox/charting/plot2d/StackedColumns" { - var exp: dojox.charting.plot2d.StackedColumns + import exp = dojox.charting.plot2d.StackedColumns export=exp; } declare module "dojox/charting/plot2d/StackedLines" { - var exp: dojox.charting.plot2d.StackedLines + import exp = dojox.charting.plot2d.StackedLines export=exp; } declare module "dojox/charting/plot3d/Bars" { - var exp: dojox.charting.plot3d.Bars + import exp = dojox.charting.plot3d.Bars export=exp; } declare module "dojox/charting/plot3d/Base" { - var exp: dojox.charting.plot3d.Base + import exp = dojox.charting.plot3d.Base export=exp; } declare module "dojox/charting/plot3d/Cylinders" { - var exp: dojox.charting.plot3d.Cylinders + import exp = dojox.charting.plot3d.Cylinders export=exp; } declare module "dojox/charting/scaler/common" { - var exp: dojox.charting.scaler.common + import exp = dojox.charting.scaler.common export=exp; } declare module "dojox/charting/scaler/primitive" { - var exp: dojox.charting.scaler.primitive + import exp = dojox.charting.scaler.primitive export=exp; } declare module "dojox/charting/scaler/linear" { - var exp: dojox.charting.scaler.linear + import exp = dojox.charting.scaler.linear export=exp; } declare module "dojox/charting/themes/common" { - var exp: dojox.charting.themes.common + import exp = dojox.charting.themes.common export=exp; } declare module "dojox/charting/themes/gradientGenerator" { - var exp: dojox.charting.themes.gradientGenerator + import exp = dojox.charting.themes.gradientGenerator export=exp; } declare module "dojox/charting/themes/PlotKit/base" { - var exp: dojox.charting.themes.PlotKit.base + import exp = dojox.charting.themes.PlotKit.base export=exp; } declare module "dojox/charting/widget/Chart2D" { - var exp: dojox.charting.widget.Chart2D + import exp = dojox.charting.widget.Chart2D export=exp; } declare module "dojox/charting/widget/Chart" { - var exp: dojox.charting.widget.Chart + import exp = dojox.charting.widget.Chart export=exp; } declare module "dojox/charting/widget/Legend" { - var exp: dojox.charting.widget.Legend + import exp = dojox.charting.widget.Legend export=exp; } declare module "dojox/charting/widget/SelectableLegend" { - var exp: dojox.charting.widget.SelectableLegend + import exp = dojox.charting.widget.SelectableLegend export=exp; } diff --git a/types/dojo/tsconfig.json b/types/dojo/tsconfig.json index 983ded2a9c..140f764554 100644 --- a/types/dojo/tsconfig.json +++ b/types/dojo/tsconfig.json @@ -83,4 +83,5 @@ "dojox.widget.d.ts", "dojox.xml.d.ts" ] -} \ No newline at end of file +} + From 9046b7c12aec2121ffe88fc7528ff440e471b434 Mon Sep 17 00:00:00 2001 From: Matt Rollins <Sicilica@users.noreply.github.com> Date: Tue, 17 Oct 2017 13:57:44 -0600 Subject: [PATCH 432/433] local-dynamo types (#20655) --- types/local-dynamo/index.d.ts | 20 ++++++++++++++++++++ types/local-dynamo/local-dynamo-tests.ts | 18 ++++++++++++++++++ types/local-dynamo/tsconfig.json | 23 +++++++++++++++++++++++ types/local-dynamo/tslint.json | 1 + 4 files changed, 62 insertions(+) create mode 100644 types/local-dynamo/index.d.ts create mode 100644 types/local-dynamo/local-dynamo-tests.ts create mode 100644 types/local-dynamo/tsconfig.json create mode 100644 types/local-dynamo/tslint.json diff --git a/types/local-dynamo/index.d.ts b/types/local-dynamo/index.d.ts new file mode 100644 index 0000000000..3ceb1d35bf --- /dev/null +++ b/types/local-dynamo/index.d.ts @@ -0,0 +1,20 @@ +// Type definitions for local-dynamo 0.5 +// Project: https://github.com/Medium/local-dynamo +// Definitions by: Matt Rollins <https://github.com/Sicilica> +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// <reference types="node"/> + +import { ChildProcess } from 'child_process'; + +export interface Options { + port: number; + dir?: string; + heap?: string; + detached?: boolean; + stdio?: string; + cors?: string|string[]; + sharedDb?: boolean; +} + +export function launch(options?: Options|string, port?: number): ChildProcess; diff --git a/types/local-dynamo/local-dynamo-tests.ts b/types/local-dynamo/local-dynamo-tests.ts new file mode 100644 index 0000000000..18bc22187a --- /dev/null +++ b/types/local-dynamo/local-dynamo-tests.ts @@ -0,0 +1,18 @@ +import * as localDynamo from 'local-dynamo'; + +// From launch_test.js +localDynamo.launch({ + port: 8676, + heap: '512m', + stdio: 'pipe' +}); +localDynamo.launch({ + port: 8676, + sharedDb: true, + stdio: 'pipe' +}); +localDynamo.launch({ + port: 8676, + cors: 'medium.com', + stdio: 'pipe' +}); diff --git a/types/local-dynamo/tsconfig.json b/types/local-dynamo/tsconfig.json new file mode 100644 index 0000000000..fe3803ac8c --- /dev/null +++ b/types/local-dynamo/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictFunctionTypes": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "local-dynamo-tests.ts" + ] +} diff --git a/types/local-dynamo/tslint.json b/types/local-dynamo/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/local-dynamo/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" } From 05ac46f9a9307d43e082b7cec4b32f40df3a3b58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martynas=20Kunig=C4=97lis?= <martynas@ignitenet.com> Date: Tue, 17 Oct 2017 23:06:34 +0300 Subject: [PATCH 433/433] knex: allow calling .join() with a closure as the second argument (#20434) * Allow calling .join() with a closure as the second argument that takes the JoinClause as its first argument, not just a function w/o arguments with the JoinClause passed as this. * Call signature corrected per comment from @andy-ms, one of the tests updated accordingly. * Got rid of the this-only overload per comment from @andy-ms. --- types/knex/index.d.ts | 2 +- types/knex/knex-tests.ts | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/types/knex/index.d.ts b/types/knex/index.d.ts index 926e3b84db..3399c5aa52 100644 --- a/types/knex/index.d.ts +++ b/types/knex/index.d.ts @@ -179,7 +179,7 @@ declare namespace Knex { interface Join { (raw: Raw): QueryBuilder; - (tableName: TableName, clause: (this: JoinClause) => void): QueryBuilder; + (tableName: TableName, clause: (this: JoinClause, join: JoinClause) => void): QueryBuilder; (tableName: TableName, columns: { [key: string]: string | number | Raw }): QueryBuilder; (tableName: TableName, raw: Raw): QueryBuilder; (tableName: TableName, column1: string, column2: string): QueryBuilder; diff --git a/types/knex/knex-tests.ts b/types/knex/knex-tests.ts index c3d2981d9c..4c0ef8a209 100644 --- a/types/knex/knex-tests.ts +++ b/types/knex/knex-tests.ts @@ -228,6 +228,19 @@ knex.select('*').from('users').join('accounts', function() { this.on('accounts.id', '=', 'users.account_id').orOn('accounts.owner_id', '=', 'users.id') }); +knex.select('*').from('users').join('accounts', function(join: Knex.JoinClause) { + if (this !== join) { + throw new Error("join() callback call semantics wrong"); + } + this.on('accounts.id', '=', 'users.account_id').orOn('accounts.owner_id', '=', 'users.id'); + join.on('accounts.id', '=', 'users.account_id').orOn('accounts.owner_id', '=', 'users.id'); +}); + + +knex.select('*').from('users').join('accounts', (join: Knex.JoinClause) => { + join.on('accounts.id', '=', 'users.account_id').orOn('accounts.owner_id', '=', 'users.id') +}); + knex.select('*').from('users').join('accounts', 'accounts.type', knex.raw('?', ['admin'])); knex.raw('select * from users where id = :user_id', { user_id: 1 }); @@ -240,12 +253,20 @@ knex('users').innerJoin('accounts', function() { this.on('accounts.id', '=', 'users.account_id').orOn('accounts.owner_id', '=', 'users.id') }); +knex('users').innerJoin('accounts', (join: Knex.JoinClause) => { + join.on('accounts.id', '=', 'users.account_id').orOn('accounts.owner_id', '=', 'users.id'); +}); + knex.select('*').from('users').leftJoin('accounts', 'users.id', 'accounts.user_id'); knex.select('*').from('users').leftJoin('accounts', function() { this.on('accounts.id', '=', 'users.account_id').orOn('accounts.owner_id', '=', 'users.id') }); +knex.select('*').from('users').leftJoin('accounts', (join: Knex.JoinClause) => { + join.on('accounts.id', '=', 'users.account_id').orOn('accounts.owner_id', '=', 'users.id') +}); + knex.select('*').from('users').leftOuterJoin('accounts', 'users.id', 'accounts.user_id'); knex.select('*').from('users').leftOuterJoin('accounts', function() { @@ -258,6 +279,10 @@ knex.select('*').from('users').rightJoin('accounts', function() { this.on('accounts.id', '=', 'users.account_id').orOn('accounts.owner_id', '=', 'users.id') }); +knex.select('*').from('users').rightJoin('accounts', (join: Knex.JoinClause) => { + join.on('accounts.id', '=', 'users.account_id').orOn('accounts.owner_id', '=', 'users.id') +}); + knex.select('*').from('users').rightOuterJoin('accounts', 'users.id', 'accounts.user_id'); knex.select('*').from('users').rightOuterJoin('accounts', function() { @@ -270,12 +295,20 @@ knex.select('*').from('users').outerJoin('accounts', function() { this.on('accounts.id', '=', 'users.account_id').orOn('accounts.owner_id', '=', 'users.id') }); +knex.select('*').from('users').outerJoin('accounts', (join: Knex.JoinClause) => { + join.on('accounts.id', '=', 'users.account_id').orOn('accounts.owner_id', '=', 'users.id') +}); + knex.select('*').from('users').fullOuterJoin('accounts', 'users.id', 'accounts.user_id'); knex.select('*').from('users').fullOuterJoin('accounts', function() { this.on('accounts.id', '=', 'users.account_id').orOn('accounts.owner_id', '=', 'users.id') }); +knex.select('*').from('users').fullOuterJoin('accounts', (join: Knex.JoinClause) => { + join.on('accounts.id', '=', 'users.account_id').orOn('accounts.owner_id', '=', 'users.id') +}); + knex.select('*').from('users').crossJoin('accounts', 'users.id', 'accounts.user_id'); knex.select('*').from('accounts').joinRaw('natural full join table1').where('id', 1);